1import{a as q,j as ce}from"./chunk-RNQ7BUHW.js";var o={allRenderFn:!1,element:!0,event:!0,hasRenderFn:!0,hostListener:!0,hostListenerTargetWindow:!0,hostListenerTargetDocument:!0,hostListenerTargetBody:!0,hostListenerTargetParent:!1,hostListenerTarget:!0,member:!0,method:!0,mode:!0,observeAttribute:!0,prop:!0,propMutable:!0,reflect:!0,scoped:!0,shadowDom:!0,slot:!0,cssAnnotations:!0,state:!0,style:!0,formAssociated:!1,svg:!0,updatable:!0,vdomAttribute:!0,vdomXlink:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomRef:!0,vdomPropOrAttr:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,propChangeCallback:!0,taskQueue:!0,hotModuleReplacement:!1,isDebug:!1,isDev:!1,isTesting:!1,hydrateServerSide:!1,hydrateClientSide:!1,lifecycleDOMEvents:!1,lazyLoad:!1,profile:!1,slotRelocation:!0,appendChildSlotFix:!1,cloneNodeFix:!1,hydratedAttribute:!1,hydratedClass:!0,scriptDataOpts:!1,scopedSlotTextContentFix:!1,shadowDomShim:!1,slotChildNodesFix:!1,invisiblePrehydration:!0,propBoolean:!0,propNumber:!0,propString:!0,constructableCSS:!0,devTools:!1,shadowDelegatesFocus:!0,shadowSlotAssignmentManual:!1,initializeNextTick:!1,asyncLoading:!0,asyncQueue:!1,transformTagName:!1,attachStyles:!0,experimentalSlotFixes:!1};var de="app";var fe="";var fr={isDev:!!o.isDev,isBrowser:!0,isServer:!1,isTesting:!!o.isTesting},$s="http://www.w3.org/2000/svg",us="http://www.w3.org/1999/xhtml",kt=(e=>(e.Undefined="undefined",e.Null="null",e.String="string",e.Number="number",e.SpecialNumber="number",e.Boolean="boolean",e.BigInt="bigint",e))(kt||{}),Ot=(e=>(e.Array="array",e.Date="date",e.Map="map",e.Object="object",e.RegularExpression="regexp",e.Set="set",e.Channel="channel",e.Symbol="symbol",e))(Ot||{}),Be="type",we="value",Pe="serialized:";function Bt(e,t,s){let n=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==n;){let r=Object.getOwnPropertyDescriptor(e,t);if(r&&(!s||r.get))return r;e=Object.getPrototypeOf(e)}}var ps=(e,t)=>{var s;let n=t.$cmpMeta$;Object.entries((s=n.$members$)!=null?s:{}).map(([i,[a]])=>{if((o.state||o.prop)&&(a&31||a&32)){let l=e[i],d=Bt(Object.getPrototypeOf(e),i,!0)||Object.getOwnPropertyDescriptor(e,i);d&&Object.defineProperty(e,i,{get(){return d.get.call(this)},set(c){d.set.call(this,c)},configurable:!0,enumerable:!0}),t.$instanceValues$.has(i)?e[i]=t.$instanceValues$.get(i):l!==void 0&&(e[i]=l)}})},E=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()};var hs=(e,t)=>{let s={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map,$serializerValues$:new Map};o.isDev&&(s.$renderCount$=0),o.method&&o.lazyLoad&&(s.$onInstancePromise$=new Promise(r=>s.$onInstanceResolve$=r)),o.asyncLoading&&(s.$onReadyPromise$=new Promise(r=>s.$onReadyResolve$=r),e["s-p"]=[],e["s-rc"]=[]),o.lazyLoad&&(s.$fetchedCbList$=[]);let n=s;return e.__stencil__getHostRef=()=>n,!o.lazyLoad&&t.$flags$&512&&(o.state||o.prop)&&ps(e,s),n},ct=(e,t)=>t in e,gs,O=(e,t)=>(gs||console.error)(e,t),wt=o.isTesting?["STENCIL:"]:["%cstencil","color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"],ve=(...e)=>console.error(...wt,...e),ee=(...e)=>console.warn(...wt,...e);var dt=new Map;var vs=(e,t,s)=>{let n=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$;if(o.isDev&&typeof r!="string"){ve("Trying to lazily load component <".concat(e.$tagName$,'> with style mode "').concat(t.$modeName$,'", but it does not exist.'));return}else if(!r)return;let i=o.hotModuleReplacement?!1:dt.get(r);if(i)return i[n];return import("./".concat(r,".entry.js").concat(o.hotModuleReplacement&&s?"?s-hmr="+s:"")).then(a=>(o.hotModuleReplacement||dt.set(r,a),a[n]),a=>{O(a,t.$hostElement$)})},me=new Map,zt=[];var ms=()=>!1,ys="r",Ss="o",Fe="s",bs="t",_s="c",te="s-id",Q="sty-id",ft="c-id";var Ls="slot-fb{display:contents}slot-fb[hidden]{display:none}",$t="http://www.w3.org/1999/xlink",xs=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],v=typeof window<"u"?window:{},mr=v.HTMLElement||class{},y={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,n)=>e.addEventListener(t,s,n),rel:(e,t,s,n)=>e.removeEventListener(t,s,n),ce:(e,t)=>new CustomEvent(e,t)},yr=e=>{Object.assign(y,e)},G=o.shadowDom,Cs=(()=>{var e;let t=!1;try{(e=v.document)==null||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch(s){}return t})(),Ds=e=>Promise.resolve(e),re=o.constructableCSS?(()=>
1{try{return v.document.adoptedStyleSheets?(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"):!1}catch(e){}return!1})():!1,Me=re?!!v.document&&Object.getOwnPropertyDescriptor(v.document.adoptedStyleSheets,"length").writable:!1,ze=0,ye=!1,pe=[],F=[],Ne=[],Nt=(e,t)=>s=>{e.push(s),ye||(ye=!0,t&&y.$flags$&4?Ae(Se):y.raf(Se))},ut=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){O(s)}e.length=0},pt=(e,t)=>{let s=0,n=0;for(;s<e.length&&(n=performance.now())<t;)try{e[s++](n)}catch(r){O(r)}s===e.length?e.length=0:s!==0&&e.splice(0,s)},Se=()=>{if(o.asyncQueue&&ze++,ut(pe),o.asyncQueue){let e=(y.$flags$&6)===2?performance.now()+14*Math.ceil(ze*.1):1/0;pt(F,e),pt(Ne,e),F.length>0&&(Ne.push(...F),F.length=0),(ye=pe.length+F.length+Ne.length>0)?y.raf(Se):ze=0}else ut(F),(ye=pe.length>0)&&y.raf(Se)},Ae=e=>Ds().then(e),Sr=Nt(pe,!1),Ut=Nt(F,!0),br=e=>{let t=new URL(e,y.$resourcesUrl$);return t.origin!==v.location.origin?t.href:t.pathname};function As(e){if(!e||!re)return;let t=new CSSStyleSheet;return t.replaceSync(e),t}var V,Is="sc-global";function Es(e){var t;let s={mode:"open"};o.shadowDelegatesFocus&&(s.delegatesFocus=!!(e.$flags$&16)),o.shadowSlotAssignmentManual&&e.$flags$&1024&&(s.slotAssignment="manual");let n=this.attachShadow(s);if(V===void 0&&(V=(t=As(fe))!=null?t:null),V)Me?n.adoptedStyleSheets.push(V):n.adoptedStyleSheets=[...n.adoptedStyleSheets,V];else if(fe&&!re){let r=document.createElement("style");r.innerHTML=fe,o.hotModuleReplacement&&r.setAttribute(Q,Is),n.prepend(r)}}var Ie=e=>{let t=D(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&oe(t,e.tagName).forEach(n=>{n.nodeType===1&&n.tagName==="SLOT-FB"&&(tt(n,Z(n),!1).length?n.hidden=!0:n.hidden=!1)});let s=0;for(s=0;s<t.length;s++){let n=t[s];n.nodeType===1&&D(n,"childNodes").length&&Ie(n)}},se=e=>{let t=[];for(let s=0;s<e.length;s++){let n=e[s]["s-nr"]||void 0;n&&n.isConnected&&t.push(n)}return t};function oe(e,t,s){let n=0,r=[],i;for(;n<e.length;n++){if(i=e[n],i["s-sr"]&&(!t||i["s-hn"]===t)&&(s===void 0||Z(i)===s)&&(r.push(i),typeof s<"u"))return r;r=[...r,...oe(i.childNodes,t,s)]}return r}var tt=(e,t,s=!0)=>{let n=[];(s&&e["s-sr"]||!e["s-sr"])&&n.push(e);let r=e;for(;r=r.nextSibling;)Z(r)===t&&(s||!r["s-sr"])&&n.push(r);return n},ht=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t?!0:t==="",Ee=(e,t,s,n)=>{if(e["s-ol"]&&e["s-ol"].isConnected)return;let r=document.createTextNode("");if(r["s-nr"]=e,!t["s-cr"]||!t["s-cr"].parentNode)return;let i=t["s-cr"].parentNode,a=s?D(i,"prepend"):D(i,"appendChild");if(o.hydrateClientSide&&typeof n<"u"){r["s-oo"]=n;let l=D(i,"childNodes"),d=[r];l.forEach(c=>{c["s-nr"]&&d.push(c)}),d.sort((c,f)=>!c["s-oo"]||c["s-oo"]<(f["s-oo"]||0)?-1:!f["s-oo"]||f["s-oo"]<c["s-oo"]?1:0),d.forEach(c=>a.call(i,c))}else a.call(i,r);e["s-ol"]=r,e["s-sh"]=t["s-hn"]},Z=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function jt(e){if(e.assignedElements||e.assignedNodes||!e["s-sr"])return;let t=s=>function(n){let r=[],i=this["s-sn"];n!=null&&n.flatten&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");let a=this["s-cr"].parentElement;return(a.__childNodes?a.childNodes:se(a.childNodes)).forEach(d=>{i===Z(d)&&r.push(d)}),s?r.filter(d=>d.nodeType===1):r}.bind(e);e.assignedElements=t(!0),e.assignedNodes=t(!1)}function Te(e){e.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}function st(e,t){var s;if(t=t||((s=e["s-ol"])==null?void 0:s.parentElement),!t)return{slotNode:null,slotName:""};let n=e["s-sn"]=Z(e)||"",r=D(t,"childNodes");return{slotNode:oe(r,t.tagName,n)[0],slotName:n}}var Ts=e=>{We(e),Ht(e),Os(e),ks(e),Ns(e),Bs(e),ws(e),zs(e),Pt(e),Ft(e),Rs(e)},We=e=>{if(e.__cloneNode)return;let t=e.__cloneNode=e.cloneNode;e.cloneNode=function(s){let n=this,r=o.shadowDom?n.shadowRoot&&G:!1,i=t.call(n,r?s:!1);
1if(o.slot&&!r&&s){let a=0,l,d,c=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si","s-rf","s-scs"],f=this.__childNodes||this.childNodes;for(;a<f.length;a++)l=f[a]["s-nr"],d=c.every(u=>!f[a][u]),l&&(o.appendChildSlotFix&&i.__appendChild?i.__appendChild(l.cloneNode(!0)):i.appendChild(l.cloneNode(!0))),d&&i.appendChild(f[a].cloneNode(!0))}return i}},Ht=e=>{e.__appendChild||(e.__appendChild=e.appendChild,e.appendChild=function(t){let{slotName:s,slotNode:n}=st(t,this);if(n){Ee(t,n);let r=tt(n,s),i=r[r.length-1],a=D(i,"parentNode"),l=D(a,"insertBefore")(t,i.nextSibling);return Te(n),Ie(this),l}return this.__appendChild(t)})},Rs=e=>{e.__removeChild||(e.__removeChild=e.removeChild,e.removeChild=function(t){if(t&&typeof t["s-sn"]<"u"){let s=this.__childNodes||this.childNodes;if(oe(s,this.tagName,t["s-sn"])&&t.isConnected){t.remove(),Ie(this);return}}return this.__removeChild(t)})},ks=e=>{e.__prepend||(e.__prepend=e.prepend,e.prepend=function(...t){t.forEach(s=>{typeof s=="string"&&(s=this.ownerDocument.createTextNode(s));let n=(s["s-sn"]=Z(s))||"",r=D(this,"childNodes"),i=oe(r,this.tagName,n)[0];if(i){Ee(s,i,!0);let l=tt(i,n)[0],d=D(l,"parentNode"),c=D(d,"insertBefore")(s,D(l,"nextSibling"));return Te(i),c}return s.nodeType===1&&s.getAttribute("slot")&&(s.hidden=!0),e.__prepend(s)})})},Os=e=>{e.__append||(e.__append=e.append,e.append=function(...t){t.forEach(s=>{typeof s=="string"&&(s=this.ownerDocument.createTextNode(s)),this.appendChild(s)})})},Bs=e=>{if(e.__insertAdjacentHTML)return;let t=e.insertAdjacentHTML;e.insertAdjacentHTML=function(s,n){if(s!=="afterbegin"&&s!=="beforeend")return t.call(this,s,n);let r=this.ownerDocument.createElement("_"),i;if(r.innerHTML=n,s==="afterbegin")for(;i=r.firstChild;)this.prepend(i);else if(s==="beforeend")for(;i=r.firstChild;)this.append(i)}},ws=e=>{e.insertAdjacentText=function(t,s){this.insertAdjacentHTML(t,s)}},zs=e=>{if(e.__insertBefore)return;let t=e;t.__insertBefore||(t.__insertBefore=e.insertBefore,e.insertBefore=function(s,n){let{slotName:r,slotNode:i}=st(s,this),a=this.__childNodes?this.childNodes:se(this.childNodes);if(i){let d=!1;if(a.forEach(c=>{if(c===n||n===null){if(d=!0,n===null||r!==n["s-sn"]){this.appendChild(s);return}if(r===n["s-sn"]){Ee(s,i);let f=D(n,"parentNode");D(f,"insertBefore")(s,n),Te(i)}return}}),d)return s}let l=n==null?void 0:n.__parentNode;return l&&!this.isSameNode(l)?this.appendChild(s):this.__insertBefore(s,n)})},Ns=e=>{if(e.__insertAdjacentElement)return;let t=e.insertAdjacentElement;e.insertAdjacentElement=function(s,n){return s!=="afterbegin"&&s!=="beforeend"?t.call(this,s,n):s==="afterbegin"?(this.prepend(n),n):(s==="beforeend"&&this.append(n),n)}},Pt=e=>{w("textContent",e),Object.defineProperty(e,"textContent",{get:function(){let t="";return(this.__childNodes?this.childNodes:se(this.childNodes)).forEach(n=>t+=n.textContent||""),t},set:function(t){(this.__childNodes?this.childNodes:se(this.childNodes)).forEach(n=>{n["s-ol"]&&n["s-ol"].remove(),n.remove()}),this.insertAdjacentHTML("beforeend",t)}})},Ft=e=>{class t extends Array{item(n){return this[n]}}w("children",e),Object.defineProperty(e,"children",{get(){return this.childNodes.filter(s=>s.nodeType===1)}}),Object.defineProperty(e,"childElementCount",{get(){return this.children.length}}),w("firstChild",e),Object.defineProperty(e,"firstChild",{get(){return this.childNodes[0]}}),w("lastChild",e),Object.defineProperty(e,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]}}),w("childNodes",e),Object.defineProperty(e,"childNodes",{get(){let s=new t;return s.push(...se(this.__childNodes)),s}})},Us=e=>{!e||e.__nextSibling!==void 0||!globalThis.Node||(js(e),Ps(e),Mt(e),e.nodeType===Node.ELEMENT_NODE&&(Hs(e),Fs(e)))},js=e=>{!e||e.__nextSibling||(w("nextSibling",e),Object.defineProperty(e,"nextSibling",{get:function(){var t;let s=(t=this["s-ol"])==null?void 0:t.parentNode.childNodes,n=s==null?void 0:s.indexOf(this);return s&&n>-1?s[n+1]:this.__nextSibling}}))},Hs=e=>{!e||e.__nextElementSibling||(w("nextElementSibling",e),Object.defineProperty(e,"nextElementSibling",{get:function(){var t;let s=(t=this["s-ol"])==null?void 0:t.parentNode.children,n=s==null?void 0:s.indexOf(this);return s&&n>-1?s[n+1]:this.__nextElementSibling}}))},Ps=e=>{!e||e.__previousSibling||(w("previousSibling",e),Object.defineProperty(e,"previousSibling",{get:function(){var t;let s=(t=this["s-ol"])==null?void 0:t.parentNode.childNodes,n=s==null?void 0:s.indexOf(this);return s&&n>-1?s[n-1]:this.__previousSibling}}))},Fs=e=>{!e||e.__previousElementSibling||(w("previousElementSibling",e),Object.defineProperty(e,"previousElementSibling",{get:function(){var t;let s=(t=this["s-ol"])==null?void 0:t.parentNode.children,n=s==null?void 0:s.indexOf(this);return s&&n>-1?s[n-1]:this.__previousElementSibling}}))},Mt=e=>{!e||e.__parentNode||(w("parentNode",e),Object.defineProperty(e,"parentNode",{get:function(){var t;return((t=this["s-ol"])==null?void 0:t.parentNode)||this.__parentNode},set:function(t){this.__parentNode=t}}))},Ms=["children","nextElementSibling","previousElementSibling"],Ws=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function w(e,t){if(!globalThis.Node||!globalThis.Element)return;let s;Ms.includes(e)?s=Object.getOwnPropertyDescriptor(Element.prototype,e):Ws.includes(e)&&(s=Object.getOwnPropertyDescriptor(Node.prototype,e)),s||(s=Object.getOwnPropertyDescriptor(t,e)),s&&Object.defineProperty(t,"__"+e,s)}function D(e,t){if("__"+t in e){let s=e["__"+t];return typeof s!="function"?s:s.bind(e)}else return typeof e[t]!="function"?e[t]:e[t].bind(e)}var qs=0,j=(e,t="")=>{if(o.profile&&performance.mark){let s="st:".concat(e,":").concat(t,":").concat(qs++);return performance.mark(s),()=>performance.measure("[Stencil] ".concat(e,"() <").concat(t,">"),s)}else return()=>{}},Ks=(e,t)=>o.profile&&performance.mark?(performance.getEntriesByName(e,"mark").length===0&&performance.mark(e),()=>{performance.getEntriesByName(t,"measure").length===0&&performance.measure(t,e)}):()=>{};function Qs(e){var t,s,n;return(n=(s=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:s.getAttribute("content"))!=null?n:void 0}var P=new WeakMap,Wt=(e,t,s)=>{let n=me.get(e);re&&s?(n=n||new CSSStyleSheet,typeof n=="string"?n=t:n.replaceSync(t)):n=t,me.set(e,n)},qe=(e,t,s)=>{var n,r,i;let a=Re(t,s),l=me.get(a);if(!o.attachStyles||!v.document)return a;
1if(e=e.nodeType===11?e:v.document,l){if(typeof l=="string"){e=e.head||e;let d=P.get(e),c;d||P.set(e,d=new Set);let f=(o.hydrateClientSide||o.hotModuleReplacement)&&e.querySelector("[".concat(Q,'="').concat(a,'"]'));if(f)f.textContent=l;else if(!d.has(a)){c=v.document.createElement("style"),c.textContent=l;let u=(n=y.$nonce$)!=null?n:Qs(v.document);if(u!=null&&c.setAttribute("nonce",u),(o.hydrateServerSide||o.hotModuleReplacement)&&(t.$flags$&2||t.$flags$&128||t.$flags$&1)&&c.setAttribute(Q,a),!(t.$flags$&1))if(e.nodeName==="HEAD"){let $=e.querySelectorAll("link[rel=preconnect]"),h=$.length>0?$[$.length-1].nextSibling:e.querySelector("style");e.insertBefore(c,(h==null?void 0:h.parentNode)===e?h:null)}else if("host"in e)if(re){let $=(r=e.defaultView)!=null?r:e.ownerDocument.defaultView,h=new $.CSSStyleSheet;h.replaceSync(l),Me?e.adoptedStyleSheets.unshift(h):e.adoptedStyleSheets=[h,...e.adoptedStyleSheets]}else{let $=e.querySelector("style");$&&!o.hotModuleReplacement?$.textContent=l+$.textContent:e.prepend(c)}else e.append(c);t.$flags$&1&&e.insertBefore(c,null),t.$flags$&4&&(c.textContent+=Ls),d&&d.add(a)}}else if(o.constructableCSS){let d=P.get(e);if(d||P.set(e,d=new Set),!d.has(a)){let c=(i=e.defaultView)!=null?i:e.ownerDocument.defaultView,f;if(l.constructor===c.CSSStyleSheet)f=l;else{f=new c.CSSStyleSheet;for(let u=0;u<l.cssRules.length;u++)f.insertRule(l.cssRules[u].cssText,u)}if(Me?e.adoptedStyleSheets.push(f):e.adoptedStyleSheets=[...e.adoptedStyleSheets,f],d.add(a),o.hydrateClientSide&&"host"in e){let u=e.querySelector("[".concat(Q,'="').concat(a,'"]'));u&&Ut(()=>u.remove())}}}}return a},Xs=e=>{let t=e.$cmpMeta$,s=e.$hostElement$,n=t.$flags$,r=j("attachStyles",t.$tagName$),i=qe(o.shadowDom&&G&&s.shadowRoot?s.shadowRoot:s.getRootNode(),t,e.$modeName$);(o.shadowDom||o.scoped)&&o.cssAnnotations&&n&10&&(s["s-sc"]=i,s.classList.add(i+"-h")),r()},Re=(e,t)=>"sc-"+(o.mode&&t&&e.$flags$&32?e.$tagName$+"-"+t:e.$tagName$),Ys=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),Gs=()=>{if(!v.document)return;let e=v.document.querySelectorAll("[".concat(Q,"]")),t=0;for(;t<e.length;t++)Wt(e[t].getAttribute(Q),Ys(e[t].innerHTML),!0)},Js=e=>e!=null&&e!==void 0,nt=e=>(e=typeof e,e==="object"||e==="function"),qt=(e,t,...s)=>{typeof e=="string"&&(e=ds(e));let n=null,r=null,i=null,a=!1,l=!1,d=[],c=u=>{for(let $=0;$<u.length;$++)n=u[$],Array.isArray(n)?c(n):n!=null&&typeof n!="boolean"&&((a=typeof e!="function"&&!nt(n))?n=String(n):o.isDev&&typeof e!="function"&&n.$flags$===void 0&&ve("vNode passed as children has unexpected type.\nMake sure it's using the correct h() function.\nEmpty objects can also be the cause, look for JSX comments that became objects."),a&&l?d[d.length-1].$text$+=n:d.push(a?J(null,n):n),l=a)};if(c(s),t&&(o.isDev&&e==="input"&&tn(t),o.vdomKey&&t.key&&(r=t.key),o.slotRelocation&&t.name&&(i=t.name),o.vdomClass)){let u=t.className||t.class;u&&(t.class=typeof u!="object"?u:Object.keys(u).filter($=>u[$]).join(" "))}if(o.isDev&&d.some(Ke)&&ve("The <Host> must be the single root component. Make sure:\n- You are NOT using hostData() and <Host> in the same component.\n- <Host> is used once, and it's the single root component of the render() function."),o.vdomFunctional&&typeof e=="function")return e(t===null?{}:t,d,Vs);let f=J(e,null);return f.$attrs$=t,d.length>0&&(f.$children$=d),o.vdomKey&&(f.$key$=r),o.slotRelocation&&(f.$name$=i),f},J=(e,t)=>
1{let s={$flags$:0,$tag$:e,$text$:t!=null?t:null,$elm$:null,$children$:null};return o.vdomAttribute&&(s.$attrs$=null),o.vdomKey&&(s.$key$=null),o.slotRelocation&&(s.$name$=null),s},Zs={},Ke=e=>e&&e.$tag$===Zs,Vs={forEach:(e,t)=>e.map(gt).forEach(t),map:(e,t)=>e.map(gt).map(t).map(en)},gt=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),en=e=>{if(typeof e.vtag=="function"){let s=q({},e.vattrs);return e.vkey&&(s.key=e.vkey),e.vname&&(s.name=e.vname),qt(e.vtag,s,...e.vchildren||[])}let t=J(e.vtag,e.vtext);return t.$attrs$=e.vattrs,t.$children$=e.vchildren,t.$key$=e.vkey,t.$name$=e.vname,t},tn=e=>{let t=Object.keys(e),s=t.indexOf("value");if(s===-1)return;let n=t.indexOf("type"),r=t.indexOf("min"),i=t.indexOf("max"),a=t.indexOf("step");(s<n||s<r||s<i||s<a)&&ee('The "value" prop of <input> should be set after "min", "max", "type" and "step"')},sn=(e,t,s,n)=>{var r,i,a,l;let d=j("hydrateClient",t),c=e.shadowRoot,f=[],u=[],$=[],h=o.shadowDom&&c?[]:null,p=J(t,null);p.$elm$=e;let g;if(o.scoped){let L=n.$cmpMeta$;L&&L.$flags$&10&&e["s-sc"]?(g=e["s-sc"],e.classList.add(g+"-h")):e["s-sc"]&&delete e["s-sc"]}v.document&&(!y.$orgLocNodes$||!y.$orgLocNodes$.size)&&Xe(v.document.body,y.$orgLocNodes$=new Map),e[te]=s,e.removeAttribute(te),n.$vnode$=Qe(p,f,u,h,e,e,s,$);let x=0,A=f.length,m;for(x;x<A;x++){m=f[x];let L=m.$hostId$+"."+m.$nodeId$,T=y.$orgLocNodes$.get(L),C=m.$elm$;if(!c)C["s-hn"]=ds(t).toUpperCase(),m.$tag$==="slot"&&(C["s-cr"]=e["s-cr"]);else if((r=m.$tag$)!=null&&r.toString().includes("-")&&m.$tag$!=="slot-fb"&&!m.$elm$.shadowRoot){let ae=E(m.$elm$);if(ae){let fs=Re(ae.$cmpMeta$,o.mode?m.$elm$.getAttribute("s-mode"):void 0),at=v.document.querySelector('style[sty-id="'.concat(fs,'"]'));at&&h.unshift(at.cloneNode(!0))}}m.$tag$==="slot"&&(m.$name$=m.$elm$["s-sn"]||m.$elm$.name||null,m.$children$?(m.$flags$|=2,m.$elm$.childNodes.length||m.$children$.forEach(ae=>{m.$elm$.appendChild(ae.$elm$)})):m.$flags$|=1),T&&T.isConnected&&(T.parentElement.shadowRoot&&T["s-en"]===""&&T.parentNode.insertBefore(C,T.nextSibling),T.parentNode.removeChild(T),c||(C["s-oo"]=parseInt(m.$nodeId$))),T&&!T["s-id"]&&y.$orgLocNodes$.delete(L)}let R=[],S=$.length,b=0,H,z,le,_,Oe=0;for(b;b<S;b++)if(H=$[b],!(!H||!H.length))for(le=H.length,z=0,z;z<le;z++){if(_=H[z],R[_.hostId]||(R[_.hostId]=y.$orgLocNodes$.get(_.hostId)),!R[_.hostId])continue;let L=R[_.hostId];L.shadowRoot&&_.node.parentElement!==L&&L.insertBefore(_.node,(a=(i=H[z-1])==null?void 0:i.node)==null?void 0:a.nextSibling),(!L.shadowRoot||!c)&&(_.slot["s-cr"]||(_.slot["s-cr"]=L["s-cr"],!_.slot["s-cr"]&&L.shadowRoot?_.slot["s-cr"]=L:_.slot["s-cr"]=(L.__childNodes||L.childNodes)[0]),Ee(_.node,_.slot,!1,_.node["s-oo"]||Oe),(l=_.node.parentElement)!=null&&l.shadowRoot&&_.node.getAttribute&&_.node.getAttribute("slot")&&_.node.removeAttribute("slot"),o.experimentalSlotFixes&&Us(_.node)),Oe=(_.node["s-oo"]||Oe)+1}if(o.scoped&&g&&u.length&&u.forEach(L=>{L.$elm$.parentElement.classList.add(g+"-s")}),o.shadowDom&&c&&!c.childNodes.length){let L=0,T=h.length;if(T){for(L;L<T;L++){let C=h[L];C&&c.appendChild(C)}Array.from(e.childNodes).forEach(C=>{typeof C["s-en"]!="string"&&typeof C["s-sn"]!="string"&&(C.nodeType===1&&C.slot&&C.hidden?C.removeAttribute("hidden"):C.nodeType===8&&!C.nodeValue&&C.parentNode.removeChild(C))})}}n.$hostElement$=e,d()},Qe=(e,t,s,n,r,i,a,l=[])=>{let d,c,f,u,$=r["s-sc"];if(i.nodeType===1){if(d=i.getAttribute(ft),d&&(c=d.split("."),c[0]===a||c[0]==="0")){f=vt({$flags$:0,$hostId$:c[0],$nodeId$:c[1],$depth$:c[2],$index$:c[3],$tag$:i.tagName.toLowerCase(),$elm$:i,$attrs$:{class:i.className||""}}),t.push(f),i.removeAttribute(ft),e.$children$||(e.$children$=[]),o.scoped&&$&&c[0]===a&&(i["s-si"]=$,f.$attrs$.class+=" "+$);let p=f.$elm$.getAttribute("s-sn");typeof p=="string"&&(f.$tag$==="slot-fb"&&(mt(p,c[2],f,i,e,t,s,n,l),o.scoped&&$&&i.classList.add($)),f.$elm$["s-sn"]=p,f.$elm$.removeAttribute("s-sn")),f.$index$!==void 0&&(e.$children$[f.$index$]=f),e=f,n&&f.$depth$==="0"&&(n[f.$index$]=f.$elm$)}if(i.shadowRoot)for(u=i.shadowRoot.childNodes.length-1;u>=0;u--)Qe(e,t,s,n,r,i.shadowRoot.childNodes[u],a,l);let h=i.__childNodes||i.childNodes;for(u=h.length-1;u>=0;u--)Qe(e,t,s,n,r,h[u],a,l)}else if(i.nodeType===8){if(c=i.nodeValue.split("."),c[1]===a||c[1]==="0"){if(d=c[0],f=vt({$hostId$:c[1],$nodeId$:c[2],$depth$:c[3],$index$:c[4]||"0",$elm$:i,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null}),d===bs)f.$elm$=St(i,3),f.$elm$&&f.$elm$.nodeType===3&&(f.$text$=f.$elm$.textContent,t.push(f),i.remove(),a===f.$hostId$&&(e.$children$||(e.$children$=[]),e.$children$[f.$index$]=f),n&&f.$depth$==="0"&&(n[f.$index$]=f.$elm$));else if(d===_s)f.$elm$=St(i,8),f.$elm$&&f.$elm$.nodeType===8&&(t.push(f),i.remove());else if(f.$hostId$===a)if(d===Fe){let h=i["s-sn"]=c[5]||"";mt(h,c[2],f,i,e,t,s,n,l)}else d===ys&&(o.shadowDom&&n?i.remove():o.slotRelocation&&(r["s-cr"]=i,i["s-cn"]=!0))}}else if(e&&e.$tag$==="style"){let h=J(null,i.textContent);h.$elm$=i,h.$index$="0",e.$children$=[h]}return e},Xe=(e,t)=>{if(e.nodeType===1){let s=e[te]||e.getAttribute(te);s&&t.set(s,e);let n=0;if(e.shadowRoot)for(;n<e.shadowRoot.childNodes.length;n++)Xe(e.shadowRoot.childNodes[n],t);let r=e.__childNodes||e.childNodes;for(n=0;n<r.length;n++)Xe(r[n],t)}else if(e.nodeType===8){let s=e.nodeValue.split(".");s[0]===Ss&&(t.set(s[1]+"."+s[2],e),e.nodeValue="",e["s-en"]=s[3])}},vt=e=>q(q({},{$flags$:0,$hostId$:null,$nodeId$:null,$depth$:null,$index$:"0",$elm$:null,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null}),e);function mt(e,t,s,n,r,i,a,l,d){n["s-sr"]=!0,s.$name$=e||null,s.$tag$="slot";let c=r!=null&&r.$elm$?r.$elm$["s-id"]||r.$elm$.getAttribute("s-id"):"";if(o.shadowDom&&l&&v.document){let f=s.$elm$=v.document.createElement(s.$tag$);s.$name$&&s.$elm$.setAttribute("name",e),r.$elm$.shadowRoot&&c&&c!==s.$hostId$?D(r.$elm$,"insertBefore")(f,D(r.$elm$,"children")[0]):D(D(n,"parentNode"),"insertBefore")(f,n),yt(d,t,e,n,s.$hostId$),n.remove(),s.$depth$==="0"&&(l[s.$index$]=s.$elm$)}else{let f=s.$elm$,u=c&&c!==s.$hostId$&&r.$elm$.shadowRoot;yt(d,t,e,n,u?c:s.$hostId$),jt(n),u&&r.$elm$.insertBefore(f,r.$elm$.children[0])}i.push(s),a.push(s),r.$children$||(r.$children$=[]),r.$children$[s.$index$]=s}var yt=(e,t,s,n,r)=>{var i,a;let l=n.nextSibling;if(e[t]=e[t]||[],!(!l||(i=l.nodeValue)!=null&&i.startsWith(Fe+".")))do l&&((l.getAttribute&&l.getAttribute("slot")||l["s-sn"])===s||s===""&&!l["s-sn"]&&(!l.getAttribute||!l.getAttribute("slot"))&&(l.nodeType===8||l.nodeType===3))&&(l["s-sn"]=s,e[t].push({slot:n,node:l,hostId:r})),l=l==null?void 0:l.nextSibling;while(l&&!((a=l.nodeValue)!=null&&a.startsWith(Fe+".")))},St=(e,t)=>
1{let s=e;do s=s.nextSibling;while(s&&(s.nodeType!==t||!s.nodeValue));return s},Kt=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");var nn=e=>{let t=[],s=0;return e=e.replace(/(\[\s*part~=\s*("[^"]*"|'[^']*')\s*\])/g,(i,a)=>{let l="__part-".concat(s,"__");return t.push(a),s++,l}),e=e.replace(/(\[[^\]]*\])/g,(i,a)=>{let l="__ph-".concat(s,"__");return t.push(a),s++,l}),{content:e.replace(/(:nth-[-\w]+)(\([^)]+\))/g,(i,a,l)=>{let d="__ph-".concat(s,"__");return t.push(l),s++,a+d}),placeholders:t}},rn=(e,t)=>(t=t.replace(/__part-(\d+)__/g,(s,n)=>e[+n]),t.replace(/__ph-(\d+)__/g,(s,n)=>e[+n])),ie="-shadowcsshost",Qt="-shadowcssslotted",Xt="-shadowcsscontext",rt=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",on=new RegExp("("+ie+rt,"gim"),ln=new RegExp("("+Xt+rt,"gim"),an=new RegExp("("+Qt+rt,"gim"),W=ie+"-no-combinator",cn=/-shadowcsshost-no-combinator([^\s]*)/,dn=[/::shadow/g,/::content/g],fn=/__part-(\d+)__/g,$n="([>\\s~+[.,{:][\\s\\S]*)?$",he=/-shadowcsshost/gim,Ue=e=>{let t=Kt(e);return new RegExp("(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?".concat(t,"))(").concat(t,"\\b)"),"g")},un=/\/\*\s*[\s\S]*?\*\//g,pn=e=>e.replace(un,""),hn=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g,gn=e=>e.match(hn)||[],vn=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,mn=/([{}])/g,yn=/(^.*?[^\\])??((:+)(.*)|$)/,Sn="{",bn="}",be="%BLOCK%",_e=(e,t)=>{let s=_n(e),n=0;return s.escapedString.replace(vn,(...r)=>{let i=r[2],a="",l=r[4],d="";l&&l.startsWith("{"+be)&&(a=s.blocks[n++],l=l.substring(be.length+1),d="{");let f=t({selector:i,content:a});return"".concat(r[1]).concat(f.selector).concat(r[3]).concat(d).concat(f.content).concat(l)})},_n=e=>{let t=e.split(mn),s=[],n=[],r=0,i=[];for(let l=0;l<t.length;l++){let d=t[l];d===bn&&r--,r>0?i.push(d):(i.length>0&&(n.push(i.join("")),s.push(be),i=[]),s.push(d)),d===Sn&&r++}return i.length>0&&(n.push(i.join("")),s.push(be)),{escapedString:s.join(""),blocks:n}},Ln=e=>{let t=[];e=e.replace(/@supports\s+selector\s*\(\s*([^)]*)\s*\)/g,(i,a)=>{let l="__supports_".concat(t.length,"__");return t.push(a),"@supports selector(".concat(l,")")});let s=Ue("::slotted"),n=Ue(":host"),r=Ue(":host-context");return e=e.replace(r,"$1".concat(Xt)).replace(n,"$1".concat(ie)).replace(s,"$1".concat(Qt)),t.forEach((i,a)=>{e=e.replace("__supports_".concat(a,"__"),i)}),e},Yt=(e,t,s)=>e.replace(t,(...n)=>{if(n[2]){let r=n[2].split(","),i=[];for(let a=0;a<r.length;a++){let l=r[a].trim();if(!l)break;i.push(s(W,l,n[3]))}return i.join(",")}else return W+n[3]}),Gt=(e,t,s)=>e+t.replace(ie,"")+s,xn=e=>Yt(e,on,Gt),Cn=(e,t,s)=>t.indexOf(ie)>-1?Gt(e,t,s):e+t+s+", "+t+" "+e+s,Dn=(e,t)=>{let s="."+t+" > ",n=[];return e=e.replace(an,(...r)=>{if(r[2]){let i=r[2].trim(),a=r[3],l=s+i+a,d="";for(let u=r[4]-1;u>=0;u--){let $=r[5][u];if($==="}"||$===",")break;d=$+d}let c=(d+l).trim(),f="".concat(d.trimEnd()).concat(l.trim()).trim();if(c!==f){let u="".concat(f,", ").concat(c);n.push({orgSelector:c,updatedSelector:u})}return l}else return W+r[3]}),{selectors:n,cssText:e}},An=e=>Yt(e,ln,Cn),In=e=>dn.reduce((t,s)=>t.replace(s," "),e),En=e=>{let t=/\[/g,s=/\]/g;return e=e.replace(t,"\\[").replace(s,"\\]"),new RegExp("^("+e+")"+$n,"m")},Tn=(e,t)=>!En(t).test(e),Jt=(e,t)=>e.replace(yn,(s,n="",r,i="",a="")=>n+t+i+a),Rn=(e,t,s)=>{if(he.lastIndex=0,he.test(e)){let n=".".concat(s);return e.replace(cn,(r,i)=>Jt(i,n)).replace(he,n+" ")}return t+" "+e},kn=(e,t,s)=>{let n=/\[is=([^\]]*)\]/g;t=t.replace(n,(p,...g)=>g[0]);let r="."+t,i=p=>{let g=p.trim();if(!g)return"";if(p.indexOf(W)>-1)g=Rn(p,t,s);else{let x=p.replace(he,"");x.length>0&&(g=Jt(x,r))}return g},a=nn(e);e=a.content;let l="",d=0,c,f=/( |>|\+|~(?!=))(?=(?:[^()]*\([^()]*\))*[^()]*$)\s*/g,$=!(e.indexOf(W)>-1);for(;(c=f.exec(e))!==null;){let p=c[1],g=e.slice(d,c.index).trim();$=$||g.indexOf(W)>-1;let x=$?i(g):g;l+="".concat(x," ").concat(p," "),d=f.lastIndex}let h=e.substring(d);return $=!h.match(fn)&&($||h.indexOf(W)>-1),l+=$?i(h):h,rn(a.placeholders,l)},On=(e,t,s,n)=>e.split(",").map(r=>n&&r.indexOf("."+n)>-1?r.trim():Tn(r,t)?kn(r,t,s).trim():r.trim()).join(", "),Zt=(e,t,s,n,r)=>_e(e,i=>{let a=i.selector,l=i.content;return i.selector[0]!=="@"?a=On(i.selector,t,s,n):(i.selector.startsWith("@media")||i.selector.startsWith("@supports")||i.selector.startsWith("@page")||i.selector.startsWith("@document"))&&(l=Zt(i.content,t,s,n,r)),{selector:a.replace(/\s{2,}/g," ").trim(),content:l}}),Bn=(e,t,s,n,r)=>{e=Ln(e),e=xn(e),e=An(e);let i=Dn(e,n);return e=i.cssText,e=In(e),t&&(e=Zt(e,t,s,n,r)),e=je(e,s),e=e.replace(/>\s*\*\s+([^{, ]+)/gm," $1 "),{cssText:e.trim(),slottedSelectors:i.selectors.map(a=>({orgSelector:je(a.orgSelector,s),updatedSelector:je(a.updatedSelector,s)}))}},je=(e,t)=>e.replace(/-shadowcsshost-no-combinator/g,".".concat(t)),Vt=e=>{let t=/([^\s,{][^,{]*?)::part\(\s*([^)]+?)\s*\)((?:[:.][^,{]*)*)
1/g;return _e(e,s=>{if(s.selector[0]==="@")return s;let n=s.selector.split(",").map(r=>{let i=[r.trim()],a;for(;(a=t.exec(r))!==null;){let l=a[1].trimEnd(),d=a[2].trim().split(/\s+/),c=a[3]||"",f=d.flatMap($=>s.selector.includes('[part~="'.concat($,'"]'))?[]:['[part~="'.concat($,'"]')]).join(""),u="".concat(l," ").concat(f).concat(c);f&&u!==r.trim()&&i.push(u)}return i.join(", ")});return s.selector=n.join(", "),s})},wn=(e,t,s)=>{let n=t+"-h",r=t+"-s",i=gn(e);e=pn(e);let a=[];if(s){let d=c=>{let f="/*!@___".concat(a.length,"___*/"),u="/*!@".concat(c.selector,"*/");return a.push({placeholder:f,comment:u}),c.selector=f+c.selector,c};e=_e(e,c=>c.selector[0]!=="@"?d(c):((c.selector.startsWith("@media")||c.selector.startsWith("@supports")||c.selector.startsWith("@page")||c.selector.startsWith("@document"))&&(c.content=_e(c.content,d)),c))}let l=Bn(e,t,n,r,s);return e=[l.cssText,...i].join("\n"),s&&a.forEach(({placeholder:d,comment:c})=>{e=e.replace(d,c)}),l.slottedSelectors.forEach(d=>{let c=new RegExp(Kt(d.orgSelector)+"(?=\\s*[,{]|$)","g");e=e.replace(c,d.updatedSelector)}),e=Vt(e),e},zn=e=>zt.map(t=>t(e)).find(t=>!!t),Or=e=>zt.push(e),Br=e=>{var t;return(t=E(e))==null?void 0:t.$modeName$},ot=e=>{if(!e)return;let t=Object.keys(e);if(t.length===0)return;let s=!1;for(let r of t){if(s)break;for(let i of e[r])if(typeof i=="string"){s=!0;break}}if(!s)return e;let n={};for(let r of t)n[r]=e[r].map(i=>typeof i=="string"?{[i]:0}:i);return n},Nn=class M{static fromLocalValue(t){let s=t[Be],n=we in t?t[we]:void 0;switch(s){case"string":return n;case"boolean":return n;case"bigint":return BigInt(n);case"undefined":return;case"null":return null;case"number":return n==="NaN"?NaN:n==="-0"?-0:n==="Infinity"?1/0:n==="-Infinity"?-1/0:n;case"array":return n.map(c=>M.fromLocalValue(c));case"date":return new Date(n);case"map":let r=new Map;for(let[c,f]of n){let u=typeof c=="object"&&c!==null?M.fromLocalValue(c):c,$=M.fromLocalValue(f);r.set(u,$)}return r;case"object":let i={};for(let[c,f]of n)i[c]=M.fromLocalValue(f);return i;case"regexp":let{pattern:a,flags:l}=n;return new RegExp(a,l);case"set":let d=new Set;for(let c of n)d.add(M.fromLocalValue(c));return d;case"symbol":return Symbol(n);default:throw new Error("Unsupported type: ".concat(s))}}static fromLocalValueArray(t){return t.map(s=>M.fromLocalValue(s))}static isLocalValueObject(t){if(typeof t!="object"||t===null||!t.hasOwnProperty(Be))return!1;let s=t[Be];return Object.values(q(q({},kt),Ot)).includes(s)?s!=="null"&&s!=="undefined"?t.hasOwnProperty(we):!0:!1}};function Un(e){let t=atob(e),s=new Uint8Array(t.length);for(let n=0;n<t.length;n++)s[n]=t.charCodeAt(n);return new TextDecoder().decode(s)}function jn(e){return typeof e!="string"||!e.startsWith(Pe)?e:Nn.fromLocalValue(JSON.parse(Un(e.slice(Pe.length))))}var Ye=(e,t,s)=>(o.hydrateClientSide||o.hydrateServerSide)&&typeof e=="string"&&e.startsWith(Pe)?(e=jn(e),e):e!=null&&!nt(e)?o.propBoolean&&t&4?o.formAssociated&&s&&typeof e=="string"?e===""||!!e:e==="false"?!1:e===""||!!e:o.propNumber&&t&2?typeof e=="string"?parseFloat(e):typeof e=="number"?e:NaN:o.propString&&t&1?String(e):e:e,Hn=e=>{var t;return o.lazyLoad?(t=E(e))==null?void 0:t.$hostElement$:e},Pr=(e,t,s)=>{let n=Hn(e);return{emit:r=>(o.isDev&&!n.isConnected&&ee('The "'.concat(t,'" event was emitted, but the dispatcher node is no longer connected to the dom.')),it(n,t,{bubbles:!!(s&4),composed:!!(s&2),cancelable:!!(s&1),detail:r}))}},it=(e,t,s)=>{let n=y.ce(t,s);return e.dispatchEvent(n),n},bt=(e,t,s,n,r,i,a)=>{if(s===n)return;let l=ct(e,t),d=t.toLowerCase();if(o.vdomClass&&t==="class"){let c=e.classList,f=_t(s),u=_t(n);if(o.hydrateClientSide&&(e["s-si"]||e["s-sc"])&&a){let $=e["s-sc"]||e["s-si"];u.push($),f.forEach(h=>{h.startsWith($)&&u.push(h)}),u=[...new Set(u)].filter(h=>h),c.add(...u)}else c.remove(...f.filter($=>$&&!u.includes($))),c.add(...u.filter($=>$&&!f.includes($)))}else if(o.vdomStyle&&t==="style"){if(o.updatable)for(let c in s)(!n||n[c]==null)&&(!o.hydrateServerSide&&c.includes("-")?e.style.removeProperty(c):e.style[c]="");for(let c in n)(!s||n[c]!==s[c])&&(!o.hydrateServerSide&&c.includes("-")?e.style.setProperty(c,n[c]):e.style[c]=n[c])}
1else if(!(o.vdomKey&&t==="key")){if(o.vdomRef&&t==="ref")n&&Wn(n,e);else if(o.vdomListener&&(o.lazyLoad?!l:!e.__lookupSetter__(t))&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):ct(v,d)?t=d.slice(2):t=d[2]+t.slice(3),s||n){let c=t.endsWith(es);t=t.replace(Fn,""),s&&y.rel(e,t,s,c),n&&y.ael(e,t,n,c)}}else if(o.vdomPropOrAttr&&t[0]==="a"&&t.startsWith("attr:")){let c=t.slice(5),f;if(o.member){let u=E(e);if(u&&u.$cmpMeta$&&u.$cmpMeta$.$members$){let $=u.$cmpMeta$.$members$[c];$&&$[1]&&(f=$[1])}}f||(f=c.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),n==null||n===!1?(n!==!1||e.getAttribute(f)==="")&&e.removeAttribute(f):e.setAttribute(f,n===!0?"":n);return}else if(o.vdomPropOrAttr&&t[0]==="p"&&t.startsWith("prop:")){let c=t.slice(5);try{e[c]=n}catch(f){}return}else if(o.vdomPropOrAttr){let c=nt(n);if((l||c&&n!==null)&&!r)try{if(e.tagName.includes("-"))e[t]!==n&&(e[t]=n);else{let u=n==null?"":n;t==="list"?l=!1:(s==null||e[t]!==u)&&(typeof e.__lookupSetter__(t)=="function"?e[t]=u:e.setAttribute(t,u))}}catch(u){}let f=!1;o.vdomXlink&&d!==(d=d.replace(/^xlink\:?/,""))&&(t=d,f=!0),n==null||n===!1?(n!==!1||e.getAttribute(t)==="")&&(o.vdomXlink&&f?e.removeAttributeNS($t,t):e.removeAttribute(t)):(!l||i&4||r)&&!c&&e.nodeType===1&&(n=n===!0?"":n,o.vdomXlink&&f?e.setAttributeNS($t,t,n):e.setAttribute(t,n))}}},Pn=/\s/,_t=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),!e||typeof e!="string"?[]:e.split(Pn)),es="Capture",Fn=new RegExp(es+"$"),Ge=(e,t,s,n)=>{let r=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,i=e&&e.$attrs$||{},a=t.$attrs$||{};if(o.updatable)for(let l of Lt(Object.keys(i)))l in a||bt(r,l,i[l],void 0,s,t.$flags$,n);for(let l of Lt(Object.keys(a)))bt(r,l,i[l],a[l],s,t.$flags$,n)};function Lt(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var ge,Le,U,X=!1,xe=!1,ke=!1,I=!1,Je=[],Ze=[],Ce=(e,t,s)=>{var n;let r=t.$children$[s],i=0,a,l,d;if(o.slotRelocation&&!X&&(ke=!0,r.$tag$==="slot"&&(r.$flags$|=r.$children$?2:1)),o.isDev&&r.$elm$&&ve("The JSX ".concat(r.$text$!==null?'"'.concat(r.$text$,'" text'):'"'.concat(r.$tag$,'" element')," node should not be shared within the same renderer. The renderer caches element lookups in order to improve performance. However, a side effect from this is that the exact same JSX node should not be reused. For more information please see https://stenciljs.com/docs/templating-jsx#avoid-shared-jsx-nodes")),o.vdomText&&r.$text$!=null)a=r.$elm$=v.document.createTextNode(r.$text$);else if(o.slotRelocation&&r.$flags$&1)a=r.$elm$=o.isDebug||o.hydrateServerSide?Kn(r):v.document.createTextNode(""),o.vdomAttribute&&Ge(null,r,I);else{if(o.svg&&!I&&(I=r.$tag$==="svg"),!v.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(a=r.$elm$=o.svg?v.document.createElementNS(I?$s:us,!X&&o.slotRelocation&&r.$flags$&2?"slot-fb":r.$tag$):v.document.createElement(!X&&o.slotRelocation&&r.$flags$&2?"slot-fb":r.$tag$),o.svg&&I&&r.$tag$==="foreignObject"&&(I=!1),o.vdomAttribute&&Ge(null,r,I),(o.scoped||o.hydrateServerSide)&&Js(ge)&&a["s-si"]!==ge&&a.classList.add(a["s-si"]=ge),r.$children$){let c=r.$tag$==="template"?a.content:a;for(i=0;i<r.$children$.length;++i)l=Ce(e,r,i),l&&c.appendChild(l)}o.svg&&(r.$tag$==="svg"?I=!1:a.tagName==="foreignObject"&&(I=!0))}return a["s-hn"]=U,o.slotRelocation&&r.$flags$&3&&(a["s-sr"]=!0,a["s-cr"]=Le,a["s-sn"]=r.$name$||"",a["s-rf"]=(n=r.$attrs$)==null?void 0:n.ref,jt(a),d=e&&e.$children$&&e.$children$[s],d&&d.$tag$===r.$tag$&&e.$elm$&&ts(e.$elm$),(o.scoped||o.hydrateServerSide)&&is(Le,a,t.$elm$,e==null?void 0:e.$elm$)),a},ts=e=>{y.$flags$|=1;let t=e.closest(U.toLowerCase());if(t!=null){let s=Array.from(t.__childNodes||t.childNodes).find(r=>r["s-cr"]),n=Array.from(e.__childNodes||e.childNodes);for(let r of s?n.reverse():n)r["s-sh"]!=null&&(k(t,r,s!=null?s:null),r["s-sh"]=void 0,ke=!0)}y.$flags$&=-2},De=(e,t)=>{y.$flags$|=1;let s=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let n=e;for(;n=n.nextSibling;)n&&n["s-sn"]===e["s-sn"]&&n["s-sh"]===U&&s.push(n)}for(let n=s.length-1;n>=0;n--){let r=s[n];r["s-hn"]!==U&&r["s-ol"]&&(k(ne(r).parentNode,r,ne(r)),r["s-ol"].remove(),r["s-ol"]=void 0,r["s-sh"]=void 0,ke=!0),t&&De(r,t)}y.$flags$&=-2},ss=(e,t,s,n,r,i)=>{let a=o.slotRelocation&&e["s-cr"]&&e["s-cr"].parentNode||e,l;for(o.shadowDom&&a.shadowRoot&&a.tagName===U&&(a=a.shadowRoot),s.$tag$==="template"&&(a=a.content);r<=i;++r)n[r]&&(l=Ce(null,s,r),l&&(n[r].$elm$=l,k(a,l,o.slotRelocation?ne(t):t)))},ns=(e,t,s)=>{for(let n=t;n<=s;++n){let r=e[n];if(r){let i=r.$elm$;os(r),i&&(o.slotRelocation&&(xe=!0,i["s-ol"]?i["s-ol"].remove():De(i,!0)),i.remove())}}},Mn=(e,t,s,n,r=!1)=>{let i=0,a=0,l=0,d=0,c=t.length-1,f=t[0],u=t[c],$=n.length-1,h=n[0],p=n[$],g,x,A=s.$tag$==="template"?e.content:e;for(;i<=c&&a<=$;)if(f==null)f=t[++i];else if(u==null)u=t[--c];else if(h==null)h=n[++a];else if(p==null)p=n[--$];else if($e(f,h,r))K(f,h,r),f=t[++i],h=n[++a];else if($e(u,p,r))K(u,p,r),u=t[--c],p=n[--$];else if($e(f,p,r))o.slotRelocation&&(f.$tag$==="slot"||p.$tag$==="slot")&&De(f.$elm$.parentNode,!1),K(f,p,r),k(A,f.$elm$,u.$elm$.nextSibling),f=t[++i],p=n[--$];else if($e(u,h,r))o.slotRelocation&&(f.$tag$==="slot"||p.$tag$==="slot")&&De(u.$elm$.parentNode,!1),K(u,h,r),k(A,u.$elm$,f.$elm$),u=t[--c],h=n[++a];else{if(l=-1,o.vdomKey){for(d=i;d<=c;++d)if(t[d]&&t[d].$key$!==null&&t[d].$key$===h.$key$){l=d;break}}o.vdomKey&&l>=0?(x=t[l],x.$tag$!==h.$tag$?g=Ce(t&&t[a],s,l):(K(x,h,r),t[l]=void 0,g=x.$elm$),h=n[++a]):(g=Ce(t&&t[a],s,a),h=n[++a]),g&&(o.slotRelocation?k(ne(f.$elm$).parentNode,g,ne(f.$elm$)):k(f.$elm$.parentNode,g,f.$elm$))}i>c?ss(e,n[$+1]==null?null:n[$+1].$elm$,s,n,a,$):o.updatable&&a>$&&ns(t,i,c)},$e=(e,t,s=!1)=>e.$tag$===t.$tag$?o.slotRelocation&&e.$tag$==="slot"?e.$name$===t.$name$:o.vdomKey&&!s?e.$key$===t.$key$:(s&&!e.$key$&&t.$key$&&(e.$key$=t.$key$),!0):!1,ne=e=>e&&e["s-ol"]||e,K=(e,t,s=!1)=>{let n=t.$elm$=e.$elm$,r=e.$children$,i=t.$children$,a=t.$tag$,l=t.$text$,d;!o.vdomText||l==null?(o.svg&&(I=a==="svg"?!0:a==="foreignObject"?!1:I),(o.vdomAttribute||o.reflect)&&(o.slot&&a==="slot"&&!X&&e.$name$!==t.$name$&&(t.$elm$["s-sn"]=t.$name$||"",ts(t.$elm$.parentElement)),Ge(e,t,I,s)),o.updatable&&r!==null&&i!==null?Mn(n,r,t,i,s):i!==null?(o.updatable&&o.vdomText&&e.$text$!==null&&(n.textContent=""),ss(n,null,t,i,0,i.length-1)):!s&&o.updatable&&r!==null?ns(r,0,r.length-1):o.hydrateClientSide&&s&&o.updatable&&r!==null&&i===null&&(t.$children$=r),o.svg&&I&&a==="svg"&&(I=!1)):o.vdomText&&o.slotRelocation&&(d=n["s-cr"])?d.parentNode.textContent=l:o.vdomText&&e.$text$!==l&&(n.data=l)},N=[],rs=e=>{let t,s,n,r=e.__childNodes||e.childNodes;for(let i of r){if(i["s-sr"]&&(t=i["s-cr"])&&t.parentNode){s=t.parentNode.__childNodes||t.parentNode.childNodes;let a=i["s-sn"];for(n=s.length-1;n>=0;n--)if(t=s[n],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==i["s-hn"]&&(!t["s-sh"]||t["s-sh"]!==i["s-hn"]))if(ht(t,a)){let l=N.find(d=>d.$nodeToRelocate$===t);xe=!0,t["s-sn"]=t["s-sn"]||a,l?(l.$nodeToRelocate$["s-sh"]=i["s-hn"],l.$slotRefNode$=i):(t["s-sh"]=i["s-hn"],N.push({$slotRefNode$:i,$nodeToRelocate$:t})),t["s-sr"]&&N.map(d=>{ht(d.$nodeToRelocate$,t["s-sn"])&&(l=N.find(c=>c.$nodeToRelocate$===t),l&&!d.$slotRefNode$&&(d.$slotRefNode$=l.$slotRefNode$))})}else N.some(l=>l.$nodeToRelocate$===t)||N.push({$nodeToRelocate$:t})}i.nodeType===1&&rs(i)}},os=e=>{o.vdomRef&&(e.$attrs$&&e.$attrs$.ref&&Je.push(()=>e.$attrs$.ref(null)),e.$children$&&e.$children$.map(os))},Wn=(e,t)=>{o.vdomRef&&Ze.push(()=>e(t))},qn=()=>
1{o.vdomRef&&(Je.forEach(e=>e()),Je.length=0,Ze.forEach(e=>e()),Ze.length=0)},k=(e,t,s,n)=>{if(o.slotRelocation){if(o.scoped&&typeof t["s-sn"]=="string"&&t["s-sr"]&&t["s-cr"])is(t["s-cr"],t,e,t.parentElement);else if(typeof t["s-sn"]=="string"){o.experimentalSlotFixes&&e.getRootNode().nodeType!==11&&Mt(t),e.insertBefore(t,s);let{slotNode:r}=st(t);return r&&!n&&Te(r),t}}return e.__insertBefore?e.__insertBefore(t,s):e==null?void 0:e.insertBefore(t,s)};function is(e,t,s,n){var r,i;let a;if(e&&typeof t["s-sn"]=="string"&&t["s-sr"]&&e.parentNode&&e.parentNode["s-sc"]&&(a=t["s-si"]||e.parentNode["s-sc"])){let l=t["s-sn"],d=t["s-hn"];if((r=s.classList)==null||r.add(a+"-s"),n&&((i=n.classList)!=null&&i.contains(a+"-s"))){let c=(n.__childNodes||n.childNodes)[0],f=!1;for(;c;){if(c["s-sn"]!==l&&c["s-hn"]===d&&c["s-sr"]){f=!0;break}c=c.nextSibling}f||n.classList.remove(a+"-s")}}}var xt=(e,t,s=!1)=>{var n,r,i,a,l;let d=e.$hostElement$,c=e.$cmpMeta$,f=e.$vnode$||J(null,null),$=Ke(t)?t:qt(null,null,t);if(U=d.tagName,o.isDev&&Array.isArray(t)&&t.some(Ke))throw new Error('The <Host> must be the single root component.\nLooks like the render() function of "'.concat(U.toLowerCase(),'" is returning an array that contains the <Host>.\n\nThe render() function should look like this instead:\n\nrender() {\n // Do not return an array\n return (\n <Host>{content}</Host>\n );\n}\n '));if(o.reflect&&c.$attrsToReflect$&&($.$attrs$=$.$attrs$||{},c.$attrsToReflect$.forEach(([h,p])=>{o.serializer&&e.$serializerValues$.has(h)?$.$attrs$[p]=e.$serializerValues$.get(h):$.$attrs$[p]=d[h]})),s&&$.$attrs$)for(let h of Object.keys($.$attrs$))d.hasAttribute(h)&&!["key","ref","style","class"].includes(h)&&($.$attrs$[h]=d[h]);if($.$tag$=null,$.$flags$|=4,e.$vnode$=$,$.$elm$=f.$elm$=o.shadowDom&&d.shadowRoot||d,(o.scoped||o.shadowDom)&&(ge=d["s-sc"]),X=G&&!!(c.$flags$&1)&&!(c.$flags$&128),o.slotRelocation&&(Le=d["s-cr"],xe=!1),K(f,$,s),o.slotRelocation){if(y.$flags$|=1,ke){rs($.$elm$);for(let h of N){let p=h.$nodeToRelocate$;if(!p["s-ol"]&&v.document){let g=o.isDebug||o.hydrateServerSide?Qn(p):v.document.createTextNode("");g["s-nr"]=p,k(p.parentNode,p["s-ol"]=g,p,s)}}for(let h of N){let p=h.$nodeToRelocate$,g=h.$slotRefNode$;if(p.nodeType===1&&s&&(p["s-ih"]=(n=p.hidden)!=null?n:!1),g){let x=g.parentNode,A=g.nextSibling;if(!o.hydrateServerSide&&A&&A.nodeType===1){let S=(r=p["s-ol"])==null?void 0:r.previousSibling;for(;S;){let b=(i=S["s-nr"])!=null?i:null;if(b&&b["s-sn"]===p["s-sn"]&&x===(b.__parentNode||b.parentNode)){for(b=b.nextSibling;b===p||b!=null&&b["s-sr"];)b=b==null?void 0:b.nextSibling;if(!b||!b["s-nr"]){A=b;break}}S=S.previousSibling}}let m=p.__parentNode||p.parentNode,R=p.__nextSibling||p.nextSibling;if((!A&&x!==m||R!==A)&&p!==A){if(k(x,p,A,s),p.nodeType===8&&p.nodeValue.startsWith("s-nt-")){let S=v.document.createTextNode(p.nodeValue.replace(/^s-nt-/,""));S["s-hn"]=p["s-hn"],S["s-sn"]=p["s-sn"],S["s-sh"]=p["s-sh"],S["s-sr"]=p["s-sr"],S["s-ol"]=p["s-ol"],S["s-ol"]["s-nr"]=S,k(p.parentNode,S,p,s),p.parentNode.removeChild(p)}p.nodeType===1&&p.tagName!=="SLOT-FB"&&(p.hidden=(a=p["s-ih"])!=null?a:!1)}p&&typeof g["s-rf"]=="function"&&g["s-rf"](g)}else p.nodeType===1&&(p.hidden=!0)}}xe&&Ie($.$elm$),y.$flags$&=-2,N.length=0}if(o.slotRelocation&&!X&&!(c.$flags$&1)&&d["s-cr"]){let h=$.$elm$.__childNodes||$.$elm$.childNodes;for(let p of h)if(p["s-hn"]!==U&&!p["s-sh"]){if(s&&p["s-ih"]==null&&(p["s-ih"]=(l=p.hidden)!=null?l:!1),p.nodeType===1)p.hidden=!0;else if(p.nodeType===3&&p.nodeValue.trim()){let g=v.document.createComment("s-nt-"+p.nodeValue);g["s-sn"]=p["s-sn"],k(p.parentNode,g,p,s),p.parentNode.removeChild(p)}}}Le=void 0,qn()},Kn=e=>{var t;return(t=v.document)==null?void 0:t.createComment("<slot".concat(e.$name$?' name="'+e.$name$+'"':"","> (host=").concat(U.toLowerCase(),")"))},Qn=e=>{var t;return(t=v.document)==null?void 0:t.createComment("org-location for "+(e.localName?"<".concat(e.localName,"> (host=").concat(e["s-hn"],")"):"[".concat(e.textContent,"]")))},ls=(e,t)=>{if(o.asyncLoading&&t&&!e.$onRenderResolve$&&t["s-p"]){let s=t["s-p"].push(new Promise(n=>e.$onRenderResolve$=()=>{t["s-p"].splice(s-1,1),n()}))}},lt=(e,t)=>{if(o.taskQueue&&o.updatable&&(e.$flags$|=16),o.asyncLoading&&e.$flags$&4){e.$flags$|=512;return}ls(e,e.$ancestorComponent$);let s=()=>Xn(e,t);if(t){queueMicrotask(()=>{s()});return}return o.taskQueue?Ut(s):s()},Xn=(e,t)=>{let s=e.$hostElement$,n=j("scheduleUpdate",e.$cmpMeta$.$tagName$),r=o.lazyLoad?e.$lazyInstance$:s;if(!r)throw new Error("Can't render component <".concat(s.tagName.toLowerCase()," />
1 with invalid Stencil runtime! Make sure this imported component is compiled with a `externalRuntime: true` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime"));let i;return t?(o.lazyLoad&&(o.slotRelocation&&e.$deferredConnectedCallback$&&(e.$deferredConnectedCallback$=!1,B(r,"connectedCallback",void 0,s)),o.hostListener&&(e.$flags$|=256,e.$queuedListeners$&&(e.$queuedListeners$.map(([a,l])=>B(r,a,l,s)),e.$queuedListeners$=void 0)),e.$fetchedCbList$.length&&e.$fetchedCbList$.forEach(a=>a(s))),Y(s,"componentWillLoad"),i=B(r,"componentWillLoad",void 0,s)):(Y(s,"componentWillUpdate"),i=B(r,"componentWillUpdate",void 0,s)),Y(s,"componentWillRender"),i=Ct(i,()=>B(r,"componentWillRender",void 0,s)),n(),Ct(i,()=>Gn(e,r,t))},Ct=(e,t)=>Yn(e)?e.then(t).catch(s=>{console.error(s),t()}):t(),Yn=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Gn=(e,t,s)=>ce(void 0,null,function*(){var n;let r=e.$hostElement$,i=j("update",e.$cmpMeta$.$tagName$),a=r["s-rc"];o.style&&s&&Xs(e);let l=j("render",e.$cmpMeta$.$tagName$);if(o.isDev&&(e.$flags$|=1024),o.hydrateServerSide?yield At(e,t,r,s):At(e,t,r,s),o.isDev&&(e.$renderCount$=e.$renderCount$===void 0?1:e.$renderCount$+1,e.$flags$&=-1025),o.hydrateServerSide)try{as(r),s&&(e.$cmpMeta$.$flags$&1?r["s-en"]="":e.$cmpMeta$.$flags$&2&&(r["s-en"]="c"))}catch(d){O(d,r)}if(o.asyncLoading&&a&&(a.map(d=>d()),r["s-rc"]=void 0),l(),i(),o.asyncLoading){let d=(n=r["s-p"])!=null?n:[],c=()=>It(e);d.length===0?c():(Promise.all(d).then(c).catch(c),e.$flags$|=4,d.length=0)}else It(e)}),Dt=null,At=(e,t,s,n)=>{let r=!!o.allRenderFn,i=!!o.lazyLoad,a=!!o.taskQueue,l=!!o.updatable;try{if(Dt=t,t=(r||t.render)&&t.render(),l&&a&&(e.$flags$&=-17),(l||i)&&(e.$flags$|=2),o.hasRenderFn||o.reflect)if(o.vdomRender||o.reflect){if(o.hydrateServerSide)return Promise.resolve(t).then(d=>xt(e,d,n));xt(e,t,n)}else{let d=s.shadowRoot;e.$cmpMeta$.$flags$&1?d.textContent=t:s.textContent=t}}catch(d){O(d,e.$hostElement$)}return Dt=null,null};var It=e=>{let t=e.$cmpMeta$.$tagName$,s=e.$hostElement$,n=j("postUpdate",t),r=o.lazyLoad?e.$lazyInstance$:s,i=e.$ancestorComponent$;o.isDev&&(e.$flags$|=1024),B(r,"componentDidRender",void 0,s),o.isDev&&(e.$flags$&=-1025),Y(s,"componentDidRender"),e.$flags$&64?(o.isDev&&(e.$flags$|=1024),B(r,"componentDidUpdate",void 0,s),o.isDev&&(e.$flags$&=-1025),Y(s,"componentDidUpdate"),n()):(e.$flags$|=64,o.asyncLoading&&o.cssAnnotations&&Zn(s),o.isDev&&(e.$flags$|=2048),B(r,"componentDidLoad",void 0,s),o.isDev&&(e.$flags$&=-2049),Y(s,"componentDidLoad"),n(),o.asyncLoading&&(e.$onReadyResolve$(s),i||Jn(t))),o.method&&o.lazyLoad&&e.$onInstanceResolve$(s),o.asyncLoading&&(e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&Ae(()=>lt(e,!1)),e.$flags$&=-517)};var Jn=e=>{var t;o.asyncQueue&&(y.$flags$|=2),Ae(()=>it(v,"appload",{detail:{namespace:de}})),o.hydrateClientSide&&(t=y.$orgLocNodes$)!=null&&t.size&&y.$orgLocNodes$.clear(),o.profile&&performance.measure&&performance.measure("[Stencil] ".concat(de," initial load (by ").concat(e,")"),"st:app:start")},B=(e,t,s,n)=>{if(e&&e[t])try{return e[t](s)}catch(r){O(r,n)}},Y=(e,t)=>{o.lifecycleDOMEvents&&it(e,"stencil_"+t,{bubbles:!0,composed:!0,detail:{namespace:de}})},Zn=e=>{var t,s;return o.hydratedClass?e.classList.add((t=o.hydratedSelectorName)!=null?t:"hydrated"):o.hydratedAttribute?e.setAttribute((s=o.hydratedSelectorName)!=null?s:"hydrated",""):void 0},as=e=>{let t=e.children;if(t!=null)for(let s=0,n=t.length;s<n;s++){let r=t[s];typeof r.connectedCallback=="function"&&r.connectedCallback(),as(r)}},Et=(e,t)=>E(e).$instanceValues$.get(t),ue=(e,t,s,n)=>{let r=E(e);if(!r)return;if(o.lazyLoad&&!r)throw new Error("Couldn't find host element for \"".concat(n.$tagName$,'" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stencil
1js/core/issues/5457).'));if(o.serializer&&r.$serializerValues$.has(t)&&r.$serializerValues$.get(t)===s)return;let i=o.lazyLoad?r.$hostElement$:e,a=r.$instanceValues$.get(t),l=r.$flags$,d=o.lazyLoad?r.$lazyInstance$:i;s=Ye(s,n.$members$[t][0],o.formAssociated&&!!(n.$flags$&64));let c=Number.isNaN(a)&&Number.isNaN(s),f=s!==a&&!c;if((!o.lazyLoad||!(l&8)||a===void 0)&&f){if(r.$instanceValues$.set(t,s),o.serializer&&o.reflect&&n.$attrsToReflect$&&n.$serializers$&&n.$serializers$[t]){let u=$=>{let h=s;for(let p of n.$serializers$[t]){let[[g]]=Object.entries(p);h=$[g](h,t)}r.$serializerValues$.set(t,h)};d?u(d):r.$fetchedCbList$.push(()=>{u(r.$lazyInstance$)})}if(o.isDev&&(r.$flags$&1024?ee('The state/prop "'.concat(t,'" changed during rendering. This can potentially lead to infinite-loops and other bugs.'),"\nElement",i,"\nNew value",s,"\nOld value",a):r.$flags$&2048&&ee('The state/prop "'.concat(t,'" changed during "componentDidLoad()", this triggers extra re-renders, try to setup on "componentWillLoad()"'),"\nElement",i,"\nNew value",s,"\nOld value",a)),o.propChangeCallback&&n.$watchers$){let u=n.$watchers$[t];u&&u.map($=>{try{let[[h,p]]=Object.entries($);(l&128||p&1)&&(d?d[h](s,a,t):r.$fetchedCbList$.push(()=>{r.$lazyInstance$[h](s,a,t)}))}catch(h){O(h,i)}})}if(o.updatable&&l&2){if(d.componentShouldUpdate&&d.componentShouldUpdate(s,a,t)===!1&&!(l&16))return;l&16||lt(r,!1)}}},cs=(e,t,s)=>{var n,r;let i=e.prototype;if(o.isTesting){if(i.__stencilAugmented)return;i.__stencilAugmented=!0}if(o.formAssociated&&t.$flags$&64&&s&1&&xs.forEach(a=>{let l=i[a];Object.defineProperty(i,a,{value(...d){var c;let f=E(this),u=o.lazyLoad?f==null?void 0:f.$lazyInstance$:this;if(!u)(c=f==null?void 0:f.$onReadyPromise$)==null||c.then($=>{let h=$[a];typeof h=="function"&&h.call($,...d)});else{let $=o.lazyLoad?u[a]:l;typeof $=="function"&&$.call(u,...d)}}})}),o.member&&t.$members$||o.propChangeCallback){o.propChangeCallback&&(e.watchers&&!t.$watchers$&&(t.$watchers$=ot(e.watchers)),e.deserializers&&!t.$deserializers$&&(t.$deserializers$=e.deserializers),e.serializers&&!t.$serializers$&&(t.$serializers$=e.serializers));let a=Object.entries((n=t.$members$)!=null?n:{});if(a.map(([l,[d]])=>{if((o.prop||o.state)&&(d&31||(!o.lazyLoad||s&2)&&d&32)){let{get:c,set:f}=Bt(i,l)||{};c&&(t.$members$[l][0]|=2048),f&&(t.$members$[l][0]|=4096),(s&1||!c)&&Object.defineProperty(i,l,{get(){if(o.lazyLoad){if(!(t.$members$[l][0]&2048))return Et(this,l);let u=E(this),$=u?u.$lazyInstance$:i;return $?$[l]:void 0}if(!o.lazyLoad)return c?c.apply(this):Et(this,l)},configurable:!0,enumerable:!0}),Object.defineProperty(i,l,{set(u){let $=E(this);if($){if(o.isDev&&!(s&1)&&!(t.$members$[l][0]&4096)&&($&&$.$flags$&8)===0&&d&31&&!(d&1024)&&ee('@Prop() "'.concat(l,'" on <').concat(t.$tagName$,"> is immutable but was modified from within the component.\nMore information: https://stenciljs.com/docs/properties#prop-mutability")),f){typeof(d&32?this[l]:$.$hostElement$[l])>"u"&&$.$instanceValues$.get(l)&&(u=$.$instanceValues$.get(l)),f.apply(this,[Ye(u,d,o.formAssociated&&!!(t.$flags$&64))]),u=d&32?this[l]:$.$hostElement$[l],ue(this,l,u,t);return}if(!o.lazyLoad){ue(this,l,u,t);return}if(o.lazyLoad){if(!(s&1)||!(t.$members$[l][0]&4096)){ue(this,l,u,t),s&1&&!$.$lazyInstance$&&$.$fetchedCbList$.push(()=>{t.$members$[l][0]&4096&&$.$lazyInstance$[l]!==$.$instanceValues$.get(l)&&($.$lazyInstance$[l]=u)});return}let h=()=>{let p=$.$lazyInstance$[l];!$.$instanceValues$.get(l)&&p&&$.$instanceValues$.set(l,p),$.$lazyInstance$[l]=Ye(u,d,o.formAssociated&&!!(t.$flags$&64)),ue(this,l,$.$lazyInstance$[l],t)};$.$lazyInstance$?h():$.$fetchedCbList$.push(()=>{h()})}}}})}else o.lazyLoad&&o.method&&s&1&&d&64&&Object.defineProperty(i,l,{value(...c){var f;let u=E(this);return(f=u==null?void 0:u.$onInstancePromise$)==null?void 0:f.then(()=>{var $;return($=u.$lazyInstance$)==null?void 0:$[l](...c)})}})}),o.observeAttribute&&(!o.lazyLoad||s&1)){let l=new Map;i.attributeChangedCallback=function(d,c,f){y.jmp(()=>{var u;let $=l.get(d),h=E(this);if(o.serializer&&h.$serializerValues$.has($)&&h.$serializerValues$.get($)===f)return;if(this.hasOwnProperty($)&&o.lazyLoad&&(f=this[$],delete this[$]),o.deserializer&&t.$de
1serializers$&&t.$deserializers$[$]){let m=(R,S)=>{let b=S==null?void 0:S[R](f,$);b!==this[$]&&(this[$]=b)};for(let R of t.$deserializers$[$]){let[[S]]=Object.entries(R);o.lazyLoad?h.$lazyInstance$?m(S,h.$lazyInstance$):h.$fetchedCbList$.push(()=>{m(S,h.$lazyInstance$)}):m(S,this)}return}else{if(i.hasOwnProperty($)&&typeof this[$]=="number"&&this[$]==f)return;if($==null){let m=h==null?void 0:h.$flags$;if(h&&m&&!(m&8)&&f!==c){let R=o.lazyLoad?h.$hostElement$:this,S=o.lazyLoad?h.$lazyInstance$:R,b=(u=t.$watchers$)==null?void 0:u[d];b==null||b.forEach(H=>{let[[z,le]]=Object.entries(H);S[z]!=null&&(m&128||le&1)&&S[z].call(S,f,c,d)})}return}}let p=a.find(([m])=>m===$),g=p&&p[1][0]&4,x=g&&f===null&&this[$]===void 0;g&&(f=!(f===null||f==="false"));let A=Object.getOwnPropertyDescriptor(i,$);!x&&f!=this[$]&&(!A.get||A.set)&&(this[$]=f)})},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.$watchers$)!=null?r:{}),...a.filter(([d,c])=>c[0]&31).map(([d,c])=>{var f;let u=c[1]||d;return l.set(u,d),o.reflect&&c[0]&512&&((f=t.$attrsToReflect$)==null||f.push([d,u])),u})]))}}return e},Tt=(e,t,s,n)=>ce(void 0,null,function*(){let r;try{if(!(t.$flags$&32)){t.$flags$|=32;let l=s.$lazyBundleId$;if(o.lazyLoad&&l){let d=vs(s,t,n);if(d&&"then"in d){let u=Ks("st:load:".concat(s.$tagName$,":").concat(t.$modeName$),"[Stencil] Load module for <".concat(s.$tagName$,">"));r=yield d,u()}else r=d;if(!r)throw new Error('Constructor for "'.concat(s.$tagName$,"#").concat(t.$modeName$,'" was not found'));o.member&&!r.isProxied&&(o.propChangeCallback&&(s.$watchers$=ot(r.watchers),s.$serializers$=r.serializers,s.$deserializers$=r.deserializers),cs(r,s,2),r.isProxied=!0);let c=j("createInstance",s.$tagName$);o.member&&(t.$flags$|=8);try{new r(t)}catch(u){O(u,e)}o.member&&(t.$flags$&=-9),o.propChangeCallback&&(t.$flags$|=128),c(),o.slotRelocation&&s.$flags$&4?t.$deferredConnectedCallback$=!0:Ve(t.$lazyInstance$,e)}else{r=e.constructor;let d=e.localName;customElements.whenDefined(d).then(()=>t.$flags$|=128)}if(o.style&&r&&r.style){let d;typeof r.style=="string"?d=r.style:o.mode&&typeof r.style!="string"&&(t.$modeName$=zn(e),t.$modeName$&&(d=r.style[t.$modeName$]),o.hydrateServerSide&&t.$modeName$&&e.setAttribute("s-mode",t.$modeName$));let c=Re(s,t.$modeName$);if(!me.has(c)||o.hotModuleReplacement&&n){let f=j("registerStyles",s.$tagName$);o.hydrateServerSide&&o.shadowDom&&(s.$flags$&128?d=wn(d,c,!0):ms()&&(d=Vt(d))),Wt(c,d,!!(s.$flags$&1)),f()}}}let i=t.$ancestorComponent$,a=()=>lt(t,!0);o.asyncLoading&&i&&i["s-rc"]?i["s-rc"].push(a):a()}catch(i){O(i,e),o.asyncLoading&&t.$onRenderResolve$&&(t.$onRenderResolve$(),t.$onRenderResolve$=void 0),o.asyncLoading&&t.$onReadyResolve$&&t.$onReadyResolve$(e)}}),Ve=(e,t)=>{o.lazyLoad&&B(e,"connectedCallback",void 0,t)},Vn=e=>{if(!(y.$flags$&1)){let t=E(e);if(!t)return;let s=t.$cmpMeta$,n=j("connectedCallback",s.$tagName$);if(o.hostListenerTargetParent&&et(e,t,s.$listeners$,!0),t.$flags$&1)et(e,t,s.$listeners$,!1),t!=null&&t.$lazyInstance$?Ve(t.$lazyInstance$,e):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Ve(t.$lazyInstance$,e));else{t.$flags$|=1;let r;if(o.hydrateClientSide&&(r=e.getAttribute(te),r)){if(o.shadowDom&&G&&s.$flags$&1){let i=o.mode?qe(e.shadowRoot,s,e.getAttribute("s-mode")):qe(e.shadowRoot,s);e.classList.remove(i+"-h",i+"-s")}else if(o.scoped&&s.$flags$&2){let i=Re(s,o.mode?e.getAttribute("s-mode"):void 0);e["s-sc"]=i}sn(e,s.$tagName$,r,t)}if(o.slotRelocation&&!r&&(o.hydrateServerSide||(o.slot||o.shadowDom)&&s.$flags$&12)&&er(e),o.asyncLoading){let i=e;for(;i=i.parentNode||i.host;)if(o.hydrateClientSide&&i.nodeType===1&&i.hasAttribute("s-id")&&i["s-p"]||i["s-p"]){ls(t,t.$ancestorComponent$=i);break}}o.prop&&!o.hydrateServerSide&&s.$members$&&Object.entries(s.$members$).map(([i,[a]])=>{if(a&31&&Object.prototype.hasOwnProperty.call(e,i)){let l=e[i];delete e[i],e[i]=l}}),o.initializeNextTick?Ae(()=>Tt(e,t,s)):Tt(e,t,s)}n()}},er=e=>{if(!v.document)return;let t=e["s-cr"]=v.document.createComment(o.isDebug?"content-ref (host=".concat(e.localName,")"):"");t["s-cn"]=!0,k(e,t,e.firstChild)},He=(e,t)=>{o.lazyLoad&&B(e,"disconnectedCallback",void 0,t||e)},tr=e=>ce(void 0,null,function*(){if(!(y.$flags$&1)){let t=E(e);o.hostListener&&t!=null&&t.$rmListeners$&&(t.$rmListeners$.map(s=>s()),t.$rmListeners$=void 0),o.lazyLoad?t!=null&&t.$lazyInstance$?He(t.$lazyInstance$,e):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>He(t.$lazyInstance$,e)):He(e)}P.has(e)&&P.delete(e),e.shadowRoot&&P.has(e.shadowRoot)&&P.delete(e.shadowRoot)});var Kr=(e,t)=>
1{let s={$flags$:t[0],$tagName$:t[1]};try{o.member&&(s.$members$=t[2]),o.hostListener&&(s.$listeners$=t[3]),o.propChangeCallback&&(s.$watchers$=ot(e.$watchers$),s.$deserializers$=e.$deserializers$,s.$serializers$=e.$serializers$),o.reflect&&(s.$attrsToReflect$=[]),o.shadowDom&&!G&&s.$flags$&1&&(s.$flags$|=8),!(s.$flags$&1)&&s.$flags$&256?o.experimentalSlotFixes?Ts(e.prototype):(o.slotChildNodesFix&&Ft(e.prototype),o.cloneNodeFix&&We(e.prototype),o.appendChildSlotFix&&Ht(e.prototype),o.scopedSlotTextContentFix&&s.$flags$&2&&Pt(e.prototype)):o.cloneNodeFix&&We(e.prototype),o.hydrateClientSide&&o.shadowDom&&Gs();let n=e.prototype.connectedCallback,r=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){hs(this,s)},connectedCallback(){if(!this.__hasHostListenerAttached){let i=E(this);if(!i)return;et(this,i,s.$listeners$,!1),this.__hasHostListenerAttached=!0}Vn(this),n&&n.call(this)},disconnectedCallback(){tr(this),r&&r.call(this)},__attachShadow(){if(G){if(!this.shadowRoot)Es.call(this,s);else if(this.shadowRoot.mode!=="open")throw new Error("Unable to re-use existing shadow root for ".concat(s.$tagName$,"! Mode is set to ").concat(this.shadowRoot.mode," but Stencil only supports open shadow roots."))}else this.shadowRoot=this}}),Object.defineProperty(e,"is",{value:s.$tagName$,configurable:!0}),cs(e,s,3)}catch(n){return O(n),e}};var et=(e,t,s,n)=>{o.hostListener&&s&&v.document&&(o.hostListenerTargetParent&&(n?s=s.filter(([r])=>r&32):s=s.filter(([r])=>!(r&32))),s.map(([r,i,a])=>{let l=o.hostListenerTarget?nr(v.document,e,r):e,d=sr(t,a),c=rr(r);y.ael(l,i,d,c),(t.$rmListeners$=t.$rmListeners$||[]).push(()=>y.rel(l,i,d,c))}))},sr=(e,t)=>s=>{var n;try{o.lazyLoad?e.$flags$&256?(n=e.$lazyInstance$)==null||n[t](s):(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,s]):e.$hostElement$[t](s)}catch(r){O(r,e.$hostElement$)}},nr=(e,t,s)=>o.hostListenerTargetDocument&&s&4?e:o.hostListenerTargetWindow&&s&8?v:o.hostListenerTargetBody&&s&16?e.body:o.hostListenerTargetParent&&s&32&&t.parentElement?t.parentElement:t,rr=e=>Cs?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0,Yr=o.lazyLoad?class{}:globalThis.HTMLElement||class{};var Rt=void 0;function ds(e){return Rt?Rt(e):e}export{fr as a,mr as b,yr as c,Sr as d,Ut as e,br as f,qt as g,Zs as h,Or as i,Br as j,Pr as k,Kr as l}; 2/*! Bundled license information: 3 4@stencil/core/internal/client/index.js: 5 (*!__STENCIL_STATIC_IMPORT_SWITCH__*) 6 7@stencil/core/internal/client/index.js: 8 (** 9 * @license 10 * Copyright Google Inc. All Rights Reserved. 11 * 12 * Use of this source code is governed by an MIT-style license that can be 13 * found in the LICENSE file at https://angular.io/license 14 * 15 * This file is a port of shadowCSS from `webcomponents.js` to TypeScript. 16 * https://github.com/webcomponents/webcomponentsjs/blob/4efecd7e0e/src/ShadowCSS/ShadowCSS.js 17 * https://github.com/angular/angular/blob/master/packages/compiler/src/shadow_css.ts 18 *) 19*/
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.