import{d as y,h as r,u as E,s as j,b,c as k,r as p,f as H,i as O,e as N,g as S,j as B}from"./solid.C2pQeiPA.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[t]="35ef9522-515b-4c83-867f-58ea61eaca2f",n._sentryDebugIdIdentifier="sentry-dbid-35ef9522-515b-4c83-867f-58ea61eaca2f")}catch{}})();const G=["allowfullscreen","async","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","hidden","indeterminate","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected"],V=new Set(["className","value","readOnly","formNoValidate","isMap","noModule","playsInline",...G]),q=new Set(["innerHTML","textContent","innerText","children"]),F=Object.assign(Object.create(null),{className:"class",htmlFor:"for"}),R=Object.assign(Object.create(null),{class:"className",formnovalidate:{$:"formNoValidate",BUTTON:1,INPUT:1},ismap:{$:"isMap",IMG:1},nomodule:{$:"noModule",SCRIPT:1},playsinline:{$:"playsInline",VIDEO:1},readonly:{$:"readOnly",INPUT:1,TEXTAREA:1}});function Y(n,t){const e=R[n];return typeof e=="object"?e[t]?e.$:void 0:e}const K=new Set(["beforeinput","click","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"]),U=new Set(["altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hkern","image","line","linearGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","set","stop","svg","switch","symbol","text","textPath","tref","tspan","use","view","vkern"]),X={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"};function W(n,t,e){let i=e.length,s=t.length,l=i,f=0,o=0,c=t[s-1].nextSibling,a=null;for(;fu-o){const _=t[f];for(;o{s=l,t===document?n():A(t,n(),t.firstChild?null:void 0,e)},i.owner),()=>{s(),t.textContent=""}}function ae(n,t,e){let i;const s=()=>{const f=document.createElement("template");return f.innerHTML=n,e?f.content.firstChild.firstChild:f.content.firstChild},l=t?()=>E(()=>document.importNode(i||(i=s()),!0)):()=>(i||(i=s())).cloneNode(!0);return l.cloneNode=l,l}function Q(n,t=window.document){const e=t[T]||(t[T]=new Set);for(let i=0,s=n.length;is.call(n,e[1],l))}else n.addEventListener(t,e)}function ee(n,t,e={}){const i=Object.keys(t||{}),s=Object.keys(e);let l,f;for(l=0,f=s.length;ls.children=m(n,t.children,s.children)),y(()=>t.ref&&t.ref(n)),y(()=>ie(n,t,e,!0,s,!0)),s}function ue(n,t,e){return E(()=>n(t,e))}function A(n,t,e,i){if(e!==void 0&&!i&&(i=[]),typeof t!="function")return m(n,t,i,e);y(s=>m(n,t(),s,e),i)}function ie(n,t,e,i,s={},l=!1){t||(t={});for(const f in s)if(!(f in t)){if(f==="children")continue;s[f]=L(n,f,null,s[f],e,l)}for(const f in t){if(f==="children")continue;const o=t[f];s[f]=L(n,f,o,s[f],e,l)}}function se(n,t,e={}){r.completed=globalThis._$HY.completed,r.events=globalThis._$HY.events,r.load=s=>globalThis._$HY.r[s],r.has=s=>s in globalThis._$HY.r,r.gather=s=>M(t,s),r.registry=new Map,r.context={id:e.renderId||"",count:0},M(t,e.renderId);const i=J(n,t,[...t.childNodes],e);return r.context=null,i}function oe(n){let t,e;return!r.context||!(t=r.registry.get(e=fe()))?n():(r.completed&&r.completed.add(t),r.registry.delete(e),t)}function he(n){let t=n,e=0,i=[];if(r.context)for(;t;){if(t.nodeType===8){const s=t.nodeValue;if(s==="$")e++;else if(s==="/"){if(e===0)return[t,i];e--}}i.push(t),t=t.nextSibling}return[t,i]}function ge(){r.events&&!r.events.queued&&(queueMicrotask(()=>{const{completed:n,events:t}=r;for(t.queued=!1;t.length;){const[e,i]=t[0];if(!n.has(e))return;I(i),t.shift()}}),r.events.queued=!0)}function le(n){return n.toLowerCase().replace(/-([a-z])/g,(t,e)=>e.toUpperCase())}function $(n,t,e){const i=t.trim().split(/\s+/);for(let s=0,l=i.length;s-1&&X[t.split(":")[0]];d?Z(n,d,t,e):x(n,F[t]||t,e)}return e}function I(n){const t=`$$${n.type}`;let e=n.composedPath&&n.composedPath()[0]||n.target;for(n.target!==e&&Object.defineProperty(n,"target",{configurable:!0,value:e}),Object.defineProperty(n,"currentTarget",{configurable:!0,get(){return e||document}}),r.registry&&!r.done&&(r.done=_$HY.done=!0);e;){const i=e[t];if(i&&!e.disabled){const s=e[`${t}Data`];if(s!==void 0?i.call(e,s,n):i.call(e,n),n.cancelBubble)return}e=e._$host||e.parentNode||e.host}}function m(n,t,e,i,s){if(r.context){!e&&(e=[...n.childNodes]);let o=[];for(let c=0;c{let o=t();for(;typeof o=="function";)o=o();e=m(n,o,e,i)}),()=>e;if(Array.isArray(t)){const o=[],c=e&&Array.isArray(e);if(C(o,t,e,s))return y(()=>e=m(n,o,e,i,!0)),()=>e;if(r.context){if(!o.length)return e;if(i===void 0)return[...n.childNodes];let a=o[0],u=[a];for(;(a=a.nextSibling)!==i;)u.push(a);return e=u}if(o.length===0){if(e=g(n,e,i),f)return e}else c?e.length===0?P(n,o,i):W(n,e,o):(e&&g(n),P(n,o));e=o}else if(t.nodeType){if(r.context&&t.parentNode)return e=f?[t]:t;if(Array.isArray(e)){if(f)return e=g(n,e,i,t);g(n,e,null,t)}else e==null||e===""||!n.firstChild?n.appendChild(t):n.replaceChild(t,n.firstChild);e=t}}return e}function C(n,t,e,i){let s=!1;for(let l=0,f=t.length;l=0;f--){const o=t[f];if(s!==o){const c=o.parentNode===n;!l&&!f?c?n.replaceChild(s,o):n.insertBefore(s,e):c&&o.remove()}else l=!0}}else n.insertBefore(s,e);return[s]}function M(n,t){const e=n.querySelectorAll("*[data-hk]");for(let i=0;i(B(),se(...n));function me(n){const{useShadow:t}=n,e=document.createTextNode(""),i=()=>n.mount||document.body,s=S();let l,f=!!r.context;return k(()=>{f&&(S().user=f=!1),l||(l=p(s,()=>b(()=>n.children)));const o=i();if(o instanceof HTMLHeadElement){const[c,a]=H(!1),u=()=>a(!0);O(d=>A(o,()=>c()?d():l(),null)),N(u)}else{const c=D(n.isSVG?"g":"div",n.isSVG),a=t&&c.attachShadow?c.attachShadow({mode:"open"}):c;Object.defineProperty(c,"_$host",{get(){return e.parentNode},configurable:!0}),A(a,l),o.appendChild(c),n.ref&&n.ref(c),N(()=>o.removeChild(c))}},void 0,{render:!f}),e}function we(n){const[t,e]=j(n,["component"]),i=b(()=>t.component);return b(()=>{const s=i();switch(typeof s){case"function":return E(()=>s(e));case"string":const l=U.has(s),f=r.context?oe():D(s,l);return ne(f,e,l),f}})}export{we as D,me as P,z as a,he as b,ee as c,ne as d,x as e,Q as f,oe as g,ye as h,A as i,J as j,v as k,te as l,ge as r,de as s,ae as t,ue as u}; //# sourceMappingURL=web.Bb1N--5L.js.map