text: let t,n,e=0,l=!1;const o="undefined"!=typeof window?window:{},s=o.document||{head:{}},c={t:0,l:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,n,e,l)=>t.addEventListener(n,e,l),rel:(t,n,e,l)=>t.removeEventListener(n,e,l)},r=(()=>!!s.head.attachShadow)(),i=(()=>{try{return new CSSStyleSheet,!0}catch(t){}return!1})(),a=new WeakMap,u=t=>a.get(t),f=(t,n)=>a.set(n.o=t,n),p=t=>console.error(t),d=new Map,m=new Map,w=[],$=[],h=[],y=(t,n)=>e=>{t.push(e),l||(l=!0,n&&4&c.t?j(_):c.raf(_))},b=(t,n)=>{let e=0,l=0;for(;e<t.length&&(l=performance.now())<n;)try{t[e++](l)}catch(o){p(o)}e===t.length?t.length=0:0!==e&&t.splice(0,e)},_=()=>{e++,(t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(n){p(n)}t.length=0})(w);const t=2==(6&c.t)?performance.now()+10*Math.ceil(e*(1/22)):1/0;b($,t),b(h,t),$.length>0&&(h.push(...$),$.length=0),(l=w.length+$.length+h.length>0)?c.raf(_):e=0},j=t=>Promise.resolve().then(t),g=y($,!0),S={},v=t=>"object"==(t=typeof t)||"function"===t,M=()=>o.CSS&&o.CSS.supports&&o.CSS.supports("color","var(--c)")?Promise.resolve():__sc_import_ionicons("./p-d8631f0b.js").then(()=>{c.s=o.__stencil_cssshim}),R=async()=>{c.s=o.__stencil_cssshim;const t=new RegExp("/ionicons(\\.esm)?\\.js($|\\?|#)"),n=Array.from(s.querySelectorAll("script")).find(n=>t.test(n.src)||"ionicons"===n.getAttribute("data-stencil-namespace")),e=n["data-opts"];{const t=new URL(".",new URL(n.getAttribute("data-resources-url")||n.src,o.location.href));return U(t.href,n),window.customElements||await __sc_import_ionicons("./p-3b66a627.js"),Object.assign(Object.assign({},e),{resourcesUrl:t.href})}},U=(t,n)=>{const e=(()=>`__sc_import_${"ionicons".replace(/\s|-/g,"_")}`)();try{o[e]=new Function("w",`return import(w);//${Math.random()}`)}catch(l){const c=new Map;o[e]=l=>{const r=new URL(l,t).href;let i=c.get(r);if(!i){const t=s.createElement("script");t.type="module",t.crossOrigin=n.crossOrigin,t.src=URL.createObjectURL(new Blob([`import * as m from '${r}'; window.${e}.m = m;`],{type:"application/javascript"})),i=new Promise(n=>{t.onload=()=>{n(o[e].m),t.remove()}}),c.set(r,i),s.head.appendChild(t)}return i}}},k=new WeakMap,O=t=>"sc-"+t,L=(t,n,...e)=>{let l=null,o=!1,s=!1,c=[];const r=n=>{for(let e=0;e<n.length;e++)l=n[e],Array.isArray(l)?r(l):null!=l&&"boolean"!=typeof l&&((o="function"!=typeof t&&!v(l))&&(l=String(l)),o&&s?c[c.length-1].i+=l:c.push(o?C(null,l):l),s=o)};if(r(e),n){const t=n.className||n.class;t&&(n.class="object"!=typeof t?t:Object.keys(t).filter(n=>t[n]).join(" "))}const i=C(t,null);return i.u=n,c.length>0&&(i.p=c),i},C=(t,n)=>({t:0,$:t,i:n,h:null,p:null,u:null}),P={},x=(t,n,e,l,o,s)=>{if(e===l)return;let c=((t,n)=>n in t)(t,n);if(n.toLowerCase(),"class"===n){const n=t.classList,o=E(e),s=E(l);n.remove(...o.filter(t=>t&&!s.includes(t))),n.add(...s.filter(t=>t&&!o.includes(t)))}else{const i=v(l);if((c||i&&null!==l)&&!o)try{if(t.tagName.includes("-"))t[n]=l;else{let o=null==l?"":l;"list"===n?c=!1:null!=e&&t[n]==o||(t[n]=o)}}catch(r){}null==l||!1===l?t.removeAttribute(n):(!c||4&s||o)&&!i&&t.setAttribute(n,l=!0===l?"":l)}},A=/\s/,E=t=>t?t.split(A):[],T=(t,n,e,l)=>{const o=11===n.h.nodeType&&n.h.host?n.h.host:n.h,s=t&&t.u||S,c=n.u||S;for(l in s)l in c||x(o,l,s[l],void 0,e,n.t);for(l in c)x(o,l,s[l],c[l],e,n.t)},F=(n,e,l)=>{let o,c,r=e.p[l],i=0;if(null!==r.i)o=r.h=s.createTextNode(r.i);else if(o=r.h=s.createElement(r.$),T(null,r,!1),(t=>null!=t)(t)&&o["s-si"]!==t&&o.classList.add(o["s-si"]=t),r.p)for(i=0;i<r.p.length;++i)(c=F(n,r,i))&&o.appendChild(c);return o},H=(t,e,l,o,s,c)=>{let r,i=t;for(i.shadowRoot&&i.tagName===n&&(i=i.shadowRoot);s<=c;++s)o[s]&&(r=F(null,l,s))&&(o[s].h=r,i.insertBefore(r,e))},W=(t,n,e,l)=>{for(;n<=e;++n)(l=t[n])&&l.h.remove()},q=(t,n)=>t.$===n.$,B=(t,n)=>{const e=n.h=t.h,l=t.p,o=n.p;null===n.i?(T(t,n,!1),null!==l&&null!==o?((t,n,e,l)=>{let o,s=0,c=0,r=n.length-1,i=n[0],a=n[r],u=l.length-1,f=l[0],p=l[u];for(;s<=r&&c<=u;)null==i?i=n[++s]:null==a?a=n[--r]:null==f?f=l[++c]:null==p?p=l[--u]:q(i,f)?(B(i,f),i=n[++s],f=l[++c]):q(a,p)?(B(a,p),a=n[--r],p=l[--u]):q(i,p)?(B(i,p),t.insertBefore(i.h,a.h.nextSibling),i=n[++s],p=l[--u]):q(a,f)?(B(a,f),t.insertBefore(a.h,i.h),a=n[--r],f=l[++c]):(o=F(n&&n[c],e,c),f=l[++c],o&&i.h.parentNode.insertBefore(o,i.h));s>r?H(t,null==l[u+1]?null:l[u+1].h,e,l,c,u):c>u&&W(n,s,r)})(e,l,n,o):null!==o?(null!==t.i&&(e.textContent=""),H(e,null,n,o,0,o.length-1)):null!==l&&W(l,0,l.length-1)):t.i!==n.i&&(e.data=n.i)},N=(t,n)=>{n&&!t._&&n["s-p"].push(new Promise(n=>t._=n))},V=(t,n,e,l)=>{if(n.t|=16,4&n.t)return void(n.t|=512);const o=n.o,s=()=>z(t,n,e,o,l);return N(n,n.j),K(void 0,()=>g(s))},z=(e,l,o,c,i)=>{const a=e["s-rc"];i&&((t,n)=>{const e=((t,n)=>{let e=O(n.g),l=m.get(e);if(t=11===t.nodeType?t:s,l)if("string"==typeof l){let n,o=k.get(t=t.head||t);o||k.set(t,o=new Set),o.has(e)||((n=s.createElement("style")).innerHTML=l,t.insertBefore(n,t.querySelector("link")),o&&o.add(e))}else t.adoptedStyleSheets.includes(l)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,l]);return e})(r&&t.shadowRoot?t.shadowRoot:t.getRootNode(),n);10&n.t&&(t["s-sc"]=e,t.classList.add(e+"-h"))})(e,o),((e,l,o,s)=>{n=e.tagName;const c=l.S||C(null,null),r=(t=>t&&t.$===P)(s)?s:L(null,null,s);o.v&&(r.u=r.u||{},o.v.forEach(([t,n])=>r.u[n]=e[t])),r.$=null,r.t|=4,l.S=r,r.h=c.h=e.shadowRoot||e,t=e["s-sc"],B(c,r)})(e,l,o,D(c)),l.t&=-17,l.t|=2,a&&(a.forEach(t=>t()),e["s-rc"]=void 0);{const t=e["s-p"],n=()=>G(e,l,o);0===t.length?n():(Promise.all(t).then(n),l.t|=4,t.length=0)}},D=t=>{try{t=t.render()}catch(n){p(n)}return t},G=(t,n,e)=>{const l=n.j;64&n.t||(n.t|=64,t.classList.add("hydrated"),n.M(t),l||I()),n._&&(n._(),n._=void 0),512&n.t&&j(()=>V(t,n,e,!1)),n.t&=-517},I=()=>{s.documentElement.classList.add("hydrated"),c.t|=2},J=(t,n,e)=>{if(t&&t[n])try{return t[n](e)}catch(l){p(l)}},K=(t,n)=>t&&t.then?t.then(n):n(),Q=(t,n,e)=>{if(n.R){t.watchers&&(n.U=t.watchers);const l=Object.entries(n.R),o=t.prototype;if(l.forEach(([t,[l]])=>{(31&l||2&e&&32&l)&&Object.defineProperty(o,t,{get(){return((t,n)=>u(t).k.get(n))(this,t)},set(e){((t,n,e,l)=>{const o=u(this),s=o.O,c=o.k.get(n),r=o.t,i=o.o;if(!((e=((t,n)=>null==t||v(t)?t:4&n?"false"!==t&&(""===t||!!t):1&n?String(t):t)(e,l.R[n][0]))===c||8&r&&void 0!==c)&&(o.k.set(n,e),i)){if(l.U&&128&r){const t=l.U[n];t&&t.forEach(t=>{try{i[t](e,c,n)}catch(l){p(l)}})}2==(18&r)&&V(s,o,l,!1)}})(0,t,e,n)},configurable:!0,enumerable:!0})}),1&e){const e=new Map;o.attributeChangedCallback=function(t,n,l){c.jmp(()=>{const n=e.get(t);this[n]=(null!==l||"boolean"!=typeof this[n])&&l})},t.observedAttributes=l.filter(([t,n])=>15&n[0]).map(([t,l])=>{const o=l[1]||t;return e.set(o,t),512&l[0]&&n.v.push([t,o]),o})}}return t},X=t=>{J(t,"connectedCallback")},Y=(t,n={})=>{const e=[],l=n.exclude||[],f=s.head,w=o.customElements,$=f.querySelector("meta[charset]"),h=s.createElement("style"),y=[];let b,_=!0;Object.assign(c,n),c.l=new URL(n.resourcesUrl||"./",s.baseURI).href,n.syncQueue&&(c.t|=4),t.forEach(t=>t[1].forEach(n=>{const o={t:n[0],g:n[1],R:n[2],L:n[3]};o.R=n[2],o.v=[],o.U={},!r&&1&o.t&&(o.t|=8);const s=o.g,f=class extends HTMLElement{constructor(t){super(t),(t=>{const n={t:0,O:t,k:new Map};n.C=new Promise(t=>n.M=t),t["s-p"]=[],t["s-rc"]=[],a.set(t,n)})(t=this),1&o.t&&(r?t.attachShadow({mode:"open"}):"shadowRoot"in t||(t.shadowRoot=t))}connectedCallback(){b&&(clearTimeout(b),b=null),_?y.push(this):c.jmp(()=>((t,n)=>{if(0==(1&c.t)){const e=()=>{},l=u(t);if(!(1&l.t)){l.t|=1;{let n=t;for(;n=n.parentNode||n.host;)if(n["s-p"]){N(l,l.j=n);break}}n.R&&Object.entries(n.R).forEach(([n,[e]])=>{if(31&e&&t.hasOwnProperty(n)){const e=t[n];delete t[n],t[n]=e}}),j(()=>(async(t,n,e,l,o)=>{if(0==(32&n.t)){n.t|=32;{if((o=(t=>{const n=t.g.replace(/-/g,"_"),e=t.P,l=d.get(e);return l?l[n]:__sc_import_ionicons(`./${e}.entry.js`).then(t=>(d.set(e,t),t[n]),p)})(e)).then){const t=()=>{};o=await o,t()}o.isProxied||(e.U=o.watchers,Q(o,e,2),o.isProxied=!0);const t=()=>{};n.t|=8;try{new o(n)}catch(r){p(r)}n.t&=-9,n.t|=128,t(),X(n.o)}const t=O(e.g);if(!m.has(t)&&o.style){const n=()=>{};let l=o.style;8&e.t&&(l=await __sc_import_ionicons("./p-affe7c09.js").then(n=>n.scopeCss(l,t,!1))),((t,n,e)=>{let l=m.get(t);i&&e?(l=l||new CSSStyleSheet).replace(n):l=n,m.set(t,l)})(t,l,!!(1&e.t)),n()}}const s=n.j,c=()=>V(t,n,e,!0);s&&s["s-rc"]?s["s-rc"].push(c):c()})(t,l,n))}X(l.o),e()}})(this,o))}disconnectedCallback(){c.jmp(()=>(()=>{0==(1&c.t)&&J(u(this).o,"disconnectedCallback")})())}forceUpdate(){((t,n)=>{{const e=u(t);e.O.isConnected&&2==(18&e.t)&&V(t,e,n,!1)}})(this,o)}componentOnReady(){return u(this).C}};o.P=t[0],l.includes(s)||w.get(s)||(e.push(s),w.define(s,Q(f,o,1)))})),h.innerHTML=e+"{visibility:hidden}.hydrated{visibility:inherit}",h.setAttribute("data-styles",""),f.insertBefore(h,$?$.nextSibling:f.firstChild),_=!1,y.length>0?y.forEach(t=>t.connectedCallback()):c.jmp(()=>b=setTimeout(I,30,"timeout"))},Z=t=>{const n=new URL(t,c.l);return n.origin!==o.location.origin?n.href:n.pathname},tt=t=>u(t).O;export{P as H,M as a,Y as b,tt as c,Z as g,L as h,R as p,f as r};