@devschile/chucao 1.7.0 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -12
- package/dist/chucao/chucao.css +1 -1
- package/dist/chucao/chucao.esm.js +1 -1
- package/dist/chucao/index.esm.js +1 -1
- package/dist/chucao/index.esm.js.map +1 -1
- package/dist/chucao/{p-9a614e82.entry.js → p-13ab5f9a.entry.js} +2 -2
- package/dist/chucao/{p-053d58a4.entry.js → p-1cc7042e.entry.js} +2 -2
- package/dist/chucao/{p-c598f978.entry.js → p-23c5220b.entry.js} +2 -2
- package/dist/chucao/p-2d7e81b2.entry.js +2 -0
- package/dist/chucao/p-2d7e81b2.entry.js.map +1 -0
- package/dist/chucao/p-421cda05.entry.js +2 -0
- package/dist/chucao/{p-0305f2eb.entry.js.map → p-421cda05.entry.js.map} +1 -1
- package/dist/chucao/p-Bvah_WQV.js +3 -0
- package/dist/chucao/p-Bvah_WQV.js.map +1 -0
- package/dist/chucao/{p-ad3206a2.entry.js → p-c16b18b7.entry.js} +2 -2
- package/dist/chucao/p-cbb2b478.entry.js +2 -0
- package/dist/chucao/p-cbb2b478.entry.js.map +1 -0
- package/dist/chucao/{p-20492b73.entry.js → p-cfb6db53.entry.js} +2 -2
- package/dist/chucao/{p-488c7838.entry.js → p-df73f786.entry.js} +2 -2
- package/dist/chucao/{p-fe8e9537.entry.js → p-e8fe65bb.entry.js} +2 -2
- package/dist/cjs/ch-accordion.cjs.entry.js +1 -1
- package/dist/cjs/ch-alert_8.cjs.entry.js +4 -4
- package/dist/cjs/ch-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/ch-divider.cjs.entry.js +1 -1
- package/dist/cjs/ch-link.cjs.entry.js +1 -1
- package/dist/cjs/ch-modal.cjs.entry.js +167 -0
- package/dist/cjs/ch-modal.cjs.entry.js.map +1 -0
- package/dist/cjs/ch-radio.cjs.entry.js +1 -1
- package/dist/cjs/ch-tabs.cjs.entry.js +1 -1
- package/dist/cjs/ch-textarea.cjs.entry.js +2 -2
- package/dist/cjs/ch-tooltip.cjs.entry.js +82 -0
- package/dist/cjs/ch-tooltip.cjs.entry.js.map +1 -0
- package/dist/cjs/chucao.cjs.js +2 -2
- package/dist/cjs/{index-ls4U227d.js → index-DMeDkSQU.js} +148 -5
- package/dist/cjs/index-DMeDkSQU.js.map +1 -0
- package/dist/cjs/index.cjs.js +5 -0
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/ch-card/ch-card.js +1 -1
- package/dist/collection/components/ch-checkbox/ch-checkbox.js +1 -1
- package/dist/collection/components/ch-input/ch-input.js +1 -1
- package/dist/collection/components/ch-modal/ch-modal.css +69 -0
- package/dist/collection/components/ch-modal/ch-modal.js +278 -0
- package/dist/collection/components/ch-modal/ch-modal.js.map +1 -0
- package/dist/collection/components/ch-switch/ch-switch.js +1 -1
- package/dist/collection/components/ch-textarea/ch-textarea.js +1 -1
- package/dist/collection/components/ch-tooltip/ch-tooltip.css +100 -0
- package/dist/collection/components/ch-tooltip/ch-tooltip.js +168 -0
- package/dist/collection/components/ch-tooltip/ch-tooltip.js.map +1 -0
- package/dist/collection/tokens/tokens.js +4 -0
- package/dist/collection/tokens/tokens.js.map +1 -1
- package/dist/collection/tokens/types.js.map +1 -1
- package/dist/components/ch-accordion.js +1 -1
- package/dist/components/ch-alert.js +1 -1
- package/dist/components/ch-badge.js +1 -1
- package/dist/components/ch-button.js +1 -1
- package/dist/components/ch-card.js +1 -1
- package/dist/components/ch-checkbox.js +1 -1
- package/dist/components/ch-divider.js +1 -1
- package/dist/components/ch-input.js +1 -1
- package/dist/components/ch-link.js +1 -1
- package/dist/components/ch-modal.d.ts +11 -0
- package/dist/components/ch-modal.js +2 -0
- package/dist/components/ch-modal.js.map +1 -0
- package/dist/components/ch-radio.js +1 -1
- package/dist/components/ch-select.js +1 -1
- package/dist/components/ch-spinner.js +1 -1
- package/dist/components/ch-switch.js +1 -1
- package/dist/components/ch-tabs.js +1 -1
- package/dist/components/ch-textarea.js +1 -1
- package/dist/components/ch-tooltip.d.ts +11 -0
- package/dist/components/ch-tooltip.js +2 -0
- package/dist/components/ch-tooltip.js.map +1 -0
- package/dist/components/index.js +1 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/p-hyy-cLgi.js +2 -0
- package/dist/components/p-hyy-cLgi.js.map +1 -0
- package/dist/esm/ch-accordion.entry.js +1 -1
- package/dist/esm/ch-alert_8.entry.js +4 -4
- package/dist/esm/ch-checkbox.entry.js +2 -2
- package/dist/esm/ch-divider.entry.js +1 -1
- package/dist/esm/ch-link.entry.js +1 -1
- package/dist/esm/ch-modal.entry.js +165 -0
- package/dist/esm/ch-modal.entry.js.map +1 -0
- package/dist/esm/ch-radio.entry.js +1 -1
- package/dist/esm/ch-tabs.entry.js +1 -1
- package/dist/esm/ch-textarea.entry.js +2 -2
- package/dist/esm/ch-tooltip.entry.js +80 -0
- package/dist/esm/ch-tooltip.entry.js.map +1 -0
- package/dist/esm/chucao.js +3 -3
- package/dist/esm/{index-pfWAsOzE.js → index-Bvah_WQV.js} +148 -6
- package/dist/esm/index-Bvah_WQV.js.map +1 -0
- package/dist/esm/index.js +5 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/types/components/ch-modal/ch-modal.d.ts +67 -0
- package/dist/types/components/ch-tooltip/ch-tooltip.d.ts +47 -0
- package/dist/types/components.d.ts +216 -0
- package/dist/types/tokens/tokens.d.ts +4 -0
- package/dist/types/tokens/types.d.ts +1 -1
- package/dist-react/components.d.ts +10 -1
- package/dist-react/components.js +21 -0
- package/dist-react/components.ts +31 -1
- package/dist-vue/index.d.ts +2 -0
- package/dist-vue/index.js +15 -0
- package/dist-vue/index.ts +19 -0
- package/hydrate/index.js +409 -8
- package/hydrate/index.mjs +409 -8
- package/package.json +1 -1
- package/dist/chucao/p-0305f2eb.entry.js +0 -2
- package/dist/chucao/p-pfWAsOzE.js +0 -3
- package/dist/chucao/p-pfWAsOzE.js.map +0 -1
- package/dist/cjs/index-ls4U227d.js.map +0 -1
- package/dist/components/p-ONE3uKkF.js +0 -2
- package/dist/components/p-ONE3uKkF.js.map +0 -1
- package/dist/esm/index-pfWAsOzE.js.map +0 -1
- /package/dist/chucao/{p-9a614e82.entry.js.map → p-13ab5f9a.entry.js.map} +0 -0
- /package/dist/chucao/{p-053d58a4.entry.js.map → p-1cc7042e.entry.js.map} +0 -0
- /package/dist/chucao/{p-c598f978.entry.js.map → p-23c5220b.entry.js.map} +0 -0
- /package/dist/chucao/{p-ad3206a2.entry.js.map → p-c16b18b7.entry.js.map} +0 -0
- /package/dist/chucao/{p-20492b73.entry.js.map → p-cfb6db53.entry.js.map} +0 -0
- /package/dist/chucao/{p-488c7838.entry.js.map → p-df73f786.entry.js.map} +0 -0
- /package/dist/chucao/{p-fe8e9537.entry.js.map → p-e8fe65bb.entry.js.map} +0 -0
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
const e="chucao";const t={hotModuleReplacement:false,lazyLoad:true,prop:true,propChangeCallback:false,updatable:true};const n=()=>{};const r=":root{--color-background-base:#100a1c;--color-background-top-glow:#201e40;--color-background-bottom-glow:#261226;--color-surface-default:rgba(32, 30, 64, 0.6);--color-surface-hover:rgba(45, 212, 191, 0.08);--color-border-default:rgba(255, 255, 255, 0.08);--color-border-hover:rgba(45, 212, 191, 0.3);--color-accent-default:#2dd4bf;--color-accent-hover:#5ee8d4;--color-accent-text:#06210f;--color-status-positive:#4ade80;--color-status-positive-background:rgba(34, 197, 94, 0.18);--color-status-warning:#f87171;--color-status-warning-background:rgba(248, 113, 113, 0.15);--color-text-primary:#ffffff;--color-text-secondary:rgba(255, 255, 255, 0.55);--color-brand-huemul-dark:#85422b;--color-brand-huemul-light:#b45b38;--color-brand-stroke:#1d1d1b;--typography-body:Fira Sans, Droid Sans, Helvetica Neue, sans-serif;--typography-heading:Inconsolata, monospace;--typography-size-xs:0.68rem;--typography-size-sm:0.85rem;--typography-size-md:1rem;--typography-size-lg:1.25rem;--typography-size-xl:1.5rem;--typography-weight-regular:400;--typography-weight-semibold:600;--typography-weight-bold:700;--typography-tracking-badge:0.03em;--spacing-2xs:0.18rem;--spacing-xs:0.25rem;--spacing-sm:0.35rem;--spacing-md:0.5rem;--spacing-lg:0.6rem;--spacing-xl:0.8rem;--spacing-2xl:1rem;--spacing-3xl:1.25rem;--spacing-4xl:1.35rem;--spacing-5xl:1.5rem;--spacing-6xl:2rem;--spacing-shift:2px;--spacing-elevate:1px;--radius-sm:6px;--radius-md:8px;--radius-pill:999px;--border-width:1px;--border-accent-bar:3px;--shadow-focus-ring:0 0 0 3px rgba(45, 212, 191, 0.12);--shadow-card-hover:0 4px 20px rgba(45, 212, 191, 0.06);--effect-blur:10px;--duration-fast:150ms;--duration-normal:200ms;--duration-spin:800ms;--easing-default:ease;--easing-linear:linear;--focus-outline-width:2px;--focus-outline-offset:2px;--opacity-disabled:0.5;--z-index-base:0;--z-index-dropdown:100;--z-index-modal:1000;--layout-max-width:68rem}@font-face{font-family:'Fira Sans';font-style:normal;font-weight:400;font-display:swap;src:url('https://static.devschile.cl/chucao/fonts/fira-sans-latin-400-normal.woff2') format('woff2')}@font-face{font-family:'Fira Sans';font-style:normal;font-weight:600;font-display:swap;src:url('https://static.devschile.cl/chucao/fonts/fira-sans-latin-600-normal.woff2') format('woff2')}@font-face{font-family:'Fira Sans';font-style:normal;font-weight:700;font-display:swap;src:url('https://static.devschile.cl/chucao/fonts/fira-sans-latin-700-normal.woff2') format('woff2')}@font-face{font-family:'Inconsolata';font-style:normal;font-weight:400;font-display:swap;src:url('https://static.devschile.cl/chucao/fonts/inconsolata-latin-400-normal.woff2') format('woff2')}:root{--bg:var(--color-background-base);--bg-gradient:radial-gradient(50% 30% ellipse at center top, var(--color-background-top-glow) 0%, rgba(0, 0, 0, 0) 100%),\n radial-gradient(60% 50% ellipse at center bottom, var(--color-background-bottom-glow) 0%, var(--color-background-base) 100%);--surface:var(--color-surface-default);--surface-hover:var(--color-surface-hover);--border:var(--color-border-default);--border-hover:var(--color-border-hover);--text:var(--color-text-primary);--text-muted:var(--color-text-secondary);--accent:var(--color-accent-default);--accent-hover:var(--color-accent-hover);--font-body:var(--typography-body);--font-heading:var(--typography-heading);--radius:var(--radius-sm)}body{font-family:var(--font-body)}.ch-container{width:100%;max-width:var(--layout-max-width);margin-inline:auto}.ch-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0}.ch-flex{display:flex}.ch-flex-col{display:flex;flex-direction:column}.ch-items-center{align-items:center}.ch-justify-center{justify-content:center}.ch-justify-between{justify-content:space-between}.ch-gap-sm{gap:var(--spacing-md)}.ch-gap-md{gap:var(--spacing-2xl)}.ch-text-center{text-align:center}.ch-text-primary{color:var(--text)}.ch-text-muted{color:var(--text-muted)}.ch-text-accent{color:var(--accent)}.ch-heading{font-family:var(--font-heading)}";var o=(e=>{e["Undefined"]="undefined";e["Null"]="null";e["String"]="string";e["Number"]="number";e["SpecialNumber"]="number";e["Boolean"]="boolean";e["BigInt"]="bigint";return e})(o||{});var i=(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";return e})(i||{});var s="type";var l="value";var a="serialized:";function c(e,t,n){const r=typeof HTMLElement!=="undefined"?HTMLElement.prototype:null;while(e&&e!==r){const r=Object.getOwnPropertyDescriptor(e,t);if(r&&(!n||r.get))return r;e=Object.getPrototypeOf(e)}return void 0}var f=(e,t)=>{var n;const r=t.t;const o=Object.entries((n=r.o)!=null?n:{});o.map((([n,[r]])=>{if(r&31||r&32){const r=e[n];const o=c(Object.getPrototypeOf(e),n,true)||Object.getOwnPropertyDescriptor(e,n);if(o){Object.defineProperty(e,n,{get(){return o.get.call(this)},set(e){o.set.call(this,e)},configurable:true,enumerable:true})}if(t.i.has(n)){e[n]=t.i.get(n)}else if(r!==void 0){e[n]=r}}}))};var u=e=>{if(e.__stencil__getHostRef){return e.__stencil__getHostRef()}return void 0};var d=(e,n)=>{if(!n)return;e.__stencil__getHostRef=()=>n;n.l=e;if(n.t.u&512&&t.prop){f(e,n)}};var v=(e,t)=>{const n={u:0,$hostElement$:e,t,i:new Map,v:new Map};{n.p=new Promise((e=>n.h=e));e["s-p"]=[];e["s-rc"]=[]}{n.m=[]}const r=n;e.__stencil__getHostRef=()=>r;return r};var p=(e,t)=>t in e;var h=(e,t)=>(0,console.error)(e,t);var m=new Map;var y=new Map;var g=(e,t,n)=>{var r;const o=e.$.replace(/-/g,"_");const i=e.S;if(!i){return void 0}const s=m.get(i);if(s){return s[o]}const l=(r=y.get(i))!=null?r:0;const a=[l>0?`s-retry=${l}`:"",""].filter(Boolean).join("&");
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import(`./${i}.entry.js${a?"?"+a:""}`).then((e=>{{y.delete(i);m.set(i,e)}return e[o]}),(e=>{y.set(i,l+1);h(e,t.$hostElement$)}))};var b=new Map;var $="r";var w="o";var x="s";var S="t";var j="c";var k="s-id";var O="sty-id";var C="c-id";var I="slot-fb{display:contents}slot-fb[hidden]{display:none}";var M=3;var N=1e3;var E=typeof window!=="undefined"?window:{};var z={u:0,j:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,r)=>e.addEventListener(t,n,r),rel:(e,t,n,r)=>e.removeEventListener(t,n,r),ce:(e,t)=>new CustomEvent(e,t)};var L=e=>Promise.resolve(e);var A=(()=>{try{if(!E.document.adoptedStyleSheets){return false}new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false})();var D=A?(()=>!!E.document&&Object.getOwnPropertyDescriptor(E.document.adoptedStyleSheets,"length").writable)():false;var R=false;var U=[];var F=[];var T=()=>{var e;return((e=E.document)==null?void 0:e.hidden)?_(V):z.raf(V)};var H=(e,t)=>n=>{e.push(n);if(!R){R=true;if(t&&z.u&4){_(V)}else{T()}}};var P=e=>{for(let t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){h(e)}}e.length=0};var V=()=>{P(U);{P(F);if(R=U.length>0){T()}}};var _=e=>L().then(e);var B=H(F,true);function W(e){if(!A)return void 0;const t=new CSSStyleSheet;t.replaceSync(e);return t}var q;function Y(e){var t;const n={mode:"open"};const o=this.attachShadow(n);if(q===void 0)q=(t=W(r))!=null?t:null;if(q){if(D){o.adoptedStyleSheets.push(q)}else{o.adoptedStyleSheets=[...o.adoptedStyleSheets,q]}}else if(!A){const e=document.createElement("style");e.innerHTML=r;o.prepend(e)}}var G=e=>{const t=[];for(let n=0;n<e.length;n++){const r=e[n]["s-nr"]||void 0;if(r&&r.isConnected){t.push(r)}}return t};var J=(e,t,n,r)=>{if(e["s-ol"]&&e["s-ol"].isConnected){return}const o=document.createTextNode("");o["s-nr"]=e;if(!t["s-cr"]||!t["s-cr"].parentNode)return;const i=t["s-cr"].parentNode;const s=Q(i,"appendChild");if(typeof r!=="undefined"){o["s-oo"]=r;const e=Q(i,"childNodes");const t=[o];e.forEach((e=>{if(e["s-nr"])t.push(e)}));t.sort(((e,t)=>{if(!e["s-oo"]||e["s-oo"]<(t["s-oo"]||0))return-1;else if(!t["s-oo"]||t["s-oo"]<e["s-oo"])return 1;return 0}));t.forEach((e=>s.call(i,e)))}else{s.call(i,o)}e["s-ol"]=o;e["s-sh"]=t["s-hn"]};var Z=e=>typeof e["s-sn"]==="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function K(e){if(e.assignedElements||e.assignedNodes||!e["s-sr"])return;const t=t=>function(e){const n=[];const r=this["s-sn"];if(e==null?void 0:e.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 `)}const o=this["s-cr"].parentElement;const i=o.__childNodes?o.childNodes:G(o.childNodes);i.forEach((e=>{if(r===Z(e)){n.push(e)}}));if(t){return n.filter((e=>e.nodeType===1))}return n}.bind(e);e.assignedElements=t(true);e.assignedNodes=t(false)}function Q(e,t){if("__"+t in e){const n=e["__"+t];if(typeof n!=="function")return n;return n.bind(e)}else{if(typeof e[t]!=="function")return e[t];return e[t].bind(e)}}var X=(e,t="")=>{{return()=>{}}};var ee=(e,t)=>{{return()=>{}}};function te(e){var t,n,r;return(r=(n=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?r:void 0}var ne=new WeakMap;var re=(e,t,n)=>{let r=b.get(e);if(A&&n){r=r||new CSSStyleSheet;if(typeof r==="string"){r=t}else{r.replaceSync(t)}}else{r=t}b.set(e,r)};var oe=(e,t,n)=>{var r,o,i;const s=se(t);const l=b.get(s);if(!E.document){return s}e=e.nodeType===11?e:E.document;if(l){if(typeof l==="string"){e=e.head||e;let n=ne.get(e);let i;if(!n){ne.set(e,n=new Set)}const a=e.querySelector(`[${O}="${s}"]`);if(a){a.textContent=l}else if(!n.has(s)){i=E.document.createElement("style");i.textContent=l;const a=(r=z.k)!=null?r:te(E.document);if(a!=null){i.setAttribute("nonce",a)}if(!(t.u&1)){if(e.nodeName==="HEAD"){const t=e.querySelectorAll("link[rel=preconnect]");const n=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(i,(n==null?void 0:n.parentNode)===e?n:null)}else if("host"in e){if(A){const t=(o=e.defaultView)!=null?o:e.ownerDocument.defaultView;const n=new t.CSSStyleSheet;n.replaceSync(l);if(D){e.adoptedStyleSheets.unshift(n)}else{e.adoptedStyleSheets=[n,...e.adoptedStyleSheets]}}else{const t=e.querySelector("style");if(t&&true){t.textContent=l+t.textContent}else{e.prepend(i)}}}else{e.append(i)}}if(t.u&1){e.insertBefore(i,null)}if(t.u&4){i.textContent+=I}if(n){n.add(s)}}}else{let t=ne.get(e);if(!t){ne.set(e,t=new Set)}if(!t.has(s)){const n=(i=e.defaultView)!=null?i:e.ownerDocument.defaultView;let r;if(l.constructor===n.CSSStyleSheet){r=l}else{r=new n.CSSStyleSheet;for(let e=0;e<l.cssRules.length;e++){r.insertRule(l.cssRules[e].cssText,e)}}if(D){e.adoptedStyleSheets.push(r)}else{e.adoptedStyleSheets=[...e.adoptedStyleSheets,r]}t.add(s);if("host"in e){const t=e.querySelector(`[${O}="${s}"]`);if(t){B((()=>t.remove()))}}}}}return s};var ie=e=>{const t=e.t;const n=e.$hostElement$;const r=t.u;const o=X("attachStyles",t.$);const i=oe(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);if(r&10){n["s-sc"]=i;n.classList.add(i+"-h")}o()};var se=(e,t)=>"sc-"+e.$;var le=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{");var ae=()=>{if(!E.document){return}const e=E.document.querySelectorAll(`[${O}]`);let t=0;for(;t<e.length;t++){re(e[t].getAttribute(O),le(e[t].innerHTML),true)}};var ce=e=>{e=typeof e;return e==="object"||e==="function"};var fe=(e,t,...n)=>{if(typeof e==="string"){e=gt(e)}let r=null;let o=null;let i=false;let s=false;const l=[];const a=t=>{for(let n=0;n<t.length;n++){r=t[n];if(Array.isArray(r)){a(r)}else if(r!=null&&typeof r!=="boolean"){if(i=typeof e!=="function"&&!ce(r)){r=String(r)}else if(typeof e!=="function"&&r.u===void 0){{h("Invalid vNode child")}continue}if(i&&s){l[l.length-1].O+=r}else{l.push(i?ue(null,r):r)}s=i}}};a(n);if(t){if(t.key){o=t.key}{const e=t.className||t.class;if(e){t.class=typeof e!=="object"?e:Object.keys(e).filter((t=>e[t])).join(" ")}}}const c=ue(e,null);c.C=t;if(l.length>0){c.I=l}{c.M=o}return c};var ue=(e,t)=>{const n={u:0,N:e,O:t!=null?t:null,L:null,I:null};{n.C=null}{n.M=null}return n};var de={};var ve=e=>e&&e.N===de;var pe=(e,t,n,r)=>{var o,i,s,l;const a=X("hydrateClient",t);const c=e.shadowRoot;const f=[];const d=[];const v=[];const p=c?[]:null;const h=ue(t,null);h.L=e;if(E.document&&(!z.A||!z.A.size)){me(E.document.body,z.A=new Map)}e[k]=n;e.removeAttribute(k);r.D=he(h,f,d,p,e,e,n,v);let m=0;const y=f.length;let g;for(m;m<y;m++){g=f[m];const n=g.R+"."+g.U;const r=z.A.get(n);const i=g.L;if(!c){i["s-hn"]=gt(t).toUpperCase();if(g.N==="slot"){i["s-cr"]=e["s-cr"]}}else if(((o=g.N)==null?void 0:o.toString().includes("-"))&&g.N!=="slot-fb"&&!g.L.shadowRoot){const e=u(g.L);if(e){const t=se(e.t);const n=E.document.querySelector(`style[sty-id="${t}"]`);if(n){p.unshift(n.cloneNode(true))}}}if(g.N==="slot"){g.F=g.L["s-sn"]||g.L["name"]||null;if(g.I){g.u|=2;if(!g.L.childNodes.length){g.I.forEach((e=>{g.L.appendChild(e.L)}))}}else{g.u|=1}}if(r&&r.isConnected){if(r.parentElement.shadowRoot&&r["s-en"]===""){r.parentNode.insertBefore(i,r.nextSibling)}r.parentNode.removeChild(r);if(!c){i["s-oo"]=parseInt(g.U)}}if(r&&!r["s-id"]){z.A.delete(n)}}const b=[];const $=v.length;let w=0;let x;let S;let j;let O;let C=0;for(w;w<$;w++){x=v[w];if(!x||!x.length)continue;j=x.length;S=0;for(S;S<j;S++){O=x[S];if(!b[O.hostId]){b[O.hostId]=z.A.get(O.hostId)}if(!b[O.hostId])continue;const e=b[O.hostId];if(e.shadowRoot&&O.node.parentElement!==e){e.insertBefore(O.node,(s=(i=x[S-1])==null?void 0:i.node)==null?void 0:s.nextSibling)}if(!e.shadowRoot||!c){if(!O.slot["s-cr"]){O.slot["s-cr"]=e["s-cr"];if(!O.slot["s-cr"]&&e.shadowRoot){O.slot["s-cr"]=e}else{O.slot["s-cr"]=(e.__childNodes||e.childNodes)[0]}}J(O.node,O.slot,false,O.node["s-oo"]||C);if(((l=O.node.parentElement)==null?void 0:l.shadowRoot)&&O.node["getAttribute"]&&O.node.getAttribute("slot")){O.node.removeAttribute("slot")}}C=(O.node["s-oo"]||C)+1}}if(c&&!c.childNodes.length){let t=0;const n=p.length;if(n){for(t;t<n;t++){const e=p[t];if(e){c.appendChild(e)}}Array.from(e.childNodes).forEach((e=>{if(typeof e["s-en"]!=="string"&&typeof e["s-sn"]!=="string"){if(e.nodeType===1&&e.slot&&e.hidden){e.removeAttribute("hidden")}else if(e.nodeType===8&&!e.nodeValue){e.parentNode.removeChild(e)}}}))}}r.$hostElement$=e;a()};var he=(e,t,n,r,o,i,s,l=[])=>{let a;let c;let f;let u;if(i.nodeType===1){a=i.getAttribute(C);if(a){c=a.split(".");if(c[0]===s||c[0]==="0"){f=ye({u:0,R:c[0],U:c[1],T:c[2],H:c[3],N:i.tagName.toLowerCase(),L:i,C:{class:i.className||""}});t.push(f);i.removeAttribute(C);if(!e.I){e.I=[]}const o=f.L.getAttribute("s-sn");if(typeof o==="string"){if(f.N==="slot-fb"){ge(o,c[2],f,i,e,t,n,r,l)}f.L["s-sn"]=o;f.L.removeAttribute("s-sn")}if(f.H!==void 0){e.I[f.H]=f}e=f;if(r&&f.T==="0"){r[f.H]=f.L}}}if(i.shadowRoot){for(u=i.shadowRoot.childNodes.length-1;u>=0;u--){he(e,t,n,r,o,i.shadowRoot.childNodes[u],s,l)}}const d=i.__childNodes||i.childNodes;for(u=d.length-1;u>=0;u--){he(e,t,n,r,o,d[u],s,l)}}else if(i.nodeType===8){c=i.nodeValue.split(".");if(c[1]===s||c[1]==="0"){a=c[0];f=ye({R:c[1],U:c[2],T:c[3],H:c[4]||"0",L:i,C:null,I:null,M:null,F:null,N:null,O:null});if(a===S){f.L=$e(i,3);if(f.L&&f.L.nodeType===3){f.O=f.L.textContent;t.push(f);i.remove();if(s===f.R){if(!e.I){e.I=[]}e.I[f.H]=f}if(r&&f.T==="0"){r[f.H]=f.L}}}else if(a===j){f.L=$e(i,8);if(f.L&&f.L.nodeType===8){t.push(f);i.remove()}}else if(f.R===s){if(a===x){const o=i["s-sn"]=c[5]||"";ge(o,c[2],f,i,e,t,n,r,l)}else if(a===$){if(r){i.remove()}}}}}else if(e&&e.N==="style"){const t=ue(null,i.textContent);t.L=i;t.H="0";e.I=[t]}return e};var me=(e,t)=>{if(e.nodeType===1){const n=e[k]||e.getAttribute(k);if(n){t.set(n,e)}let r=0;if(e.shadowRoot){for(;r<e.shadowRoot.childNodes.length;r++){me(e.shadowRoot.childNodes[r],t)}}const o=e.__childNodes||e.childNodes;for(r=0;r<o.length;r++){me(o[r],t)}}else if(e.nodeType===8){const n=e.nodeValue.split(".");if(n[0]===w){t.set(n[1]+"."+n[2],e);e.nodeValue="";e["s-en"]=n[3]}}};var ye=e=>{const t={u:0,R:null,U:null,T:null,H:"0",L:null,C:null,I:null,M:null,F:null,N:null,O:null};return{...t,...e}};function ge(e,t,n,r,o,i,s,l,a){r["s-sr"]=true;n.F=e||null;n.N="slot";const c=(o==null?void 0:o.L)?o.L["s-id"]||o.L.getAttribute("s-id"):"";if(l&&E.document){const i=n.L=E.document.createElement(n.N);if(n.F){n.L.setAttribute("name",e)}if(o.L.shadowRoot&&c&&c!==n.R){Q(o.L,"insertBefore")(i,Q(o.L,"children")[0])}else{Q(Q(r,"parentNode"),"insertBefore")(i,r)}be(a,t,e,r,n.R);r.remove();if(n.T==="0"){l[n.H]=n.L}}else{const i=n.L;const s=c&&c!==n.R&&o.L.shadowRoot;be(a,t,e,r,s?c:n.R);K(r);if(s){o.L.insertBefore(i,o.L.children[0])}}i.push(n);s.push(n);if(!o.I){o.I=[]}o.I[n.H]=n}var be=(e,t,n,r,o)=>{var i,s;let l=r.nextSibling;e[t]=e[t]||[];if(!l||((i=l.nodeValue)==null?void 0:i.startsWith(x+".")))return;do{if(l&&((l["getAttribute"]&&l.getAttribute("slot")||l["s-sn"])===n||n===""&&!l["s-sn"]&&(!l["getAttribute"]||!l.getAttribute("slot"))&&(l.nodeType===8||l.nodeType===3))){l["s-sn"]=n;e[t].push({slot:r,node:l,hostId:o})}l=l==null?void 0:l.nextSibling}while(l&&!((s=l.nodeValue)==null?void 0:s.startsWith(x+".")))};var $e=(e,t)=>{let n=e;do{n=n.nextSibling}while(n&&(n.nodeType!==t||!n.nodeValue));return n};var we=class e{static fromLocalValue(t){const n=t[s];const r=l in t?t[l]:void 0;switch(n){case"string":return r;case"boolean":return r;case"bigint":return BigInt(r);case"undefined":return void 0;case"null":return null;case"number":if(r==="NaN")return NaN;if(r==="-0")return-0;if(r==="Infinity")return Infinity;if(r==="-Infinity")return-Infinity;return r;case"array":return r.map((t=>e.fromLocalValue(t)));case"date":return new Date(r);case"map":const t=new Map;for(const[n,o]of r){const r=typeof n==="object"&&n!==null?e.fromLocalValue(n):n;const i=e.fromLocalValue(o);t.set(r,i)}return t;case"object":const o={};for(const[t,n]of r){o[t]=e.fromLocalValue(n)}return o;case"regexp":const{pattern:i,flags:s}=r;return new RegExp(i,s);case"set":const l=new Set;for(const t of r){l.add(e.fromLocalValue(t))}return l;case"symbol":return Symbol(r);default:throw new Error(`Unsupported type: ${n}`)}}static fromLocalValueArray(t){return t.map((t=>e.fromLocalValue(t)))}static isLocalValueObject(e){if(typeof e!=="object"||e===null){return false}if(!e.hasOwnProperty(s)){return false}const t=e[s];const n=Object.values({...o,...i}).includes(t);if(!n){return false}if(t!=="null"&&t!=="undefined"){return e.hasOwnProperty(l)}return true}};function xe(e){const t=atob(e);const n=new Uint8Array(t.length);for(let e=0;e<t.length;e++){n[e]=t.charCodeAt(e)}return(new TextDecoder).decode(n)}function Se(e){if(typeof e!=="string"||!e.startsWith(a)){return e}return we.fromLocalValue(JSON.parse(xe(e.slice(a.length))))}var je=(e,t,n)=>{if(typeof e==="string"&&e.startsWith(a)){e=Se(e);return e}if(e!=null&&!ce(e)){if(t&4){{return e==="false"?false:e===""||!!e}}if(t&2){return typeof e==="string"?parseFloat(e):typeof e==="number"?e:NaN}if(t&1){return String(e)}return e}return e};var ke=e=>{var t;return(t=u(e))==null?void 0:t.$hostElement$};var Oe=(e,t,n)=>{const r=ke(e);return{emit:e=>Ce(r,t,{bubbles:true,composed:true,cancelable:true,detail:e})}};var Ce=(e,t,n)=>{const r=z.ce(t,n);e.dispatchEvent(r);return r};var Ie=(e,t,n,r,o,i,s)=>{if(n===r){return}let l=p(e,t);let a=t.toLowerCase();if(t==="class"){const t=e.classList;const o=Ne(n);let i=Ne(r);if((e["s-si"]||e["s-sc"])&&s){const n=e["s-sc"]||e["s-si"];i.push(n);o.forEach((e=>{if(e.startsWith(n))i.push(e)}));i=[...new Set(i)].filter((e=>e));t.add(...i)}else{t.remove(...o.filter((e=>e&&!i.includes(e))));t.add(...i.filter((e=>e&&!o.includes(e))))}}else if(t==="key");else if(t==="ref"){if(r){Ge(r,e)}}else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(p(E,a)){t=a.slice(2)}else{t=a[2]+t.slice(3)}if(n||r){const o=t.endsWith(Ee);t=t.replace(ze,"");if(n){z.rel(e,t,n,o)}if(r){z.ael(e,t,r,o)}}}else if(t[0]==="a"&&t.startsWith("attr:")){const n=t.slice(5);let o;{const t=u(e);if(t&&t.t&&t.t.o){const e=t.t.o[n];if(e&&e[1]){o=e[1]}}}if(!o){o=n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}if(r==null||r===false){if(r!==false||e.getAttribute(o)===""){e.removeAttribute(o)}}else{e.setAttribute(o,r===true?"":r)}return}else if(t[0]==="p"&&t.startsWith("prop:")){const n=t.slice(5);try{e[n]=r}catch(e){}return}else{const s=ce(r);if((l||s&&r!==null)&&!o){try{if(!e.tagName.includes("-")){const o=r==null?"":r;if(t==="list"){l=false}else if(n==null||e[t]!==o){if(typeof e.__lookupSetter__(t)==="function"){e[t]=o}else{e.setAttribute(t,o)}}}else if(e[t]!==r){e[t]=r}}catch(e){}}if(r==null||r===false){if(r!==false||e.getAttribute(t)===""){{e.removeAttribute(t)}}}else if((!l||i&4||o)&&!s&&e.nodeType===1){r=r===true?"":r;{e.setAttribute(t,r)}}}};var Me=/\s/;var Ne=e=>{if(typeof e==="object"&&e&&"baseVal"in e){e=e.baseVal}if(!e||typeof e!=="string"){return[]}return e.split(Me)};var Ee="Capture";var ze=new RegExp(Ee+"$");var Le=(e,t,n,r)=>{const o=t.L.nodeType===11&&t.L.host?t.L.host:t.L;const i=e&&e.C||{};const s=t.C||{};{for(const e of Ae(Object.keys(i))){if(!(e in s)){Ie(o,e,i[e],void 0,n,t.u,r)}}}for(const e of Ae(Object.keys(s))){Ie(o,e,i[e],s[e],n,t.u,r)}};function Ae(e){return e.includes("ref")?[...e.filter((e=>e!=="ref")),"ref"]:e}var De;var Re=false;var Ue=false;var Fe=[];var Te=[];var He=(e,t,n)=>{const r=t.I[n];let o=0;let i;let s;if(r.O!=null){i=r.L=E.document.createTextNode(r.O)}else{if(!E.document){throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.")}i=r.L=E.document.createElement(r.N);{Le(null,r,Ue)}if(r.I){const t=r.N==="template"?i.content:i;for(o=0;o<r.I.length;++o){s=He(e,r,o);if(s){t.appendChild(s)}}}}i["s-hn"]=De;return i};var Pe=e=>{z.u|=1;const t=e.closest(De.toLowerCase());if(t!=null){const n=Array.from(t.__childNodes||t.childNodes).find((e=>e["s-cr"]));const r=Array.from(e.__childNodes||e.childNodes);for(const e of n?r.reverse():r){if(e["s-sh"]!=null){Ze(t,e,n!=null?n:null);e["s-sh"]=void 0}}}z.u&=-2};var Ve=(e,t,n,r,o,i)=>{let s=e;let l;if(s.shadowRoot&&s.tagName===De){s=s.shadowRoot}if(n.N==="template"){s=s.content}for(;o<=i;++o){if(r[o]){l=He(null,n,o);if(l){r[o].L=l;Ze(s,l,t)}}}};var _e=(e,t,n)=>{for(let r=t;r<=n;++r){const t=e[r];if(t){const e=t.L;Ye(t);if(e){e.remove()}}}};var Be=(e,t,n,r,o=false)=>{let i=0;let s=0;let l=0;let a=0;let c=t.length-1;let f=t[0];let u=t[c];let d=r.length-1;let v=r[0];let p=r[d];let h;let m;const y=n.N==="template"?e.content:e;while(i<=c&&s<=d){if(f==null){f=t[++i]}else if(u==null){u=t[--c]}else if(v==null){v=r[++s]}else if(p==null){p=r[--d]}else if(We(f,v,o)){qe(f,v,o);f=t[++i];v=r[++s]}else if(We(u,p,o)){qe(u,p,o);u=t[--c];p=r[--d]}else if(We(f,p,o)){qe(f,p,o);Ze(y,f.L,u.L.nextSibling);f=t[++i];p=r[--d]}else if(We(u,v,o)){qe(u,v,o);Ze(y,u.L,f.L);u=t[--c];v=r[++s]}else{l=-1;{for(a=i;a<=c;++a){if(t[a]&&t[a].M!==null&&t[a].M===v.M){l=a;break}}}if(l>=0){m=t[l];if(m.N!==v.N){h=He(t&&t[s],n,l)}else{qe(m,v,o);t[l]=void 0;h=m.L}v=r[++s]}else{h=He(t&&t[s],n,s);v=r[++s]}if(h){{Ze(f.L.parentNode,h,f.L)}}}}if(i>c){Ve(e,r[d+1]==null?null:r[d+1].L,n,r,s,d)}else if(s>d){_e(t,i,c)}};var We=(e,t,n=false)=>{if(e.N===t.N){if(!n){return e.M===t.M}if(n&&!e.M&&t.M){e.M=t.M}return true}return false};var qe=(e,n,r=false)=>{const o=n.L=e.L;const i=e.I;const s=n.I;const l=n.N;const a=n.O;if(a==null){{if(l==="slot"&&!Re){if(e.F!==n.F){n.L["s-sn"]=n.F||"";Pe(n.L.parentElement)}}Le(e,n,Ue,r)}if(i!==null&&s!==null){Be(o,i,n,s,r)}else if(s!==null){if(e.O!==null){o.textContent=""}Ve(o,null,n,s,0,s.length-1)}else if(!r&&t.updatable&&i!==null){_e(i,0,i.length-1)}else if(r&&t.updatable&&i!==null&&s===null){n.I=i}}else if(e.O!==a){o.data=a}};var Ye=e=>{{if(e.C&&e.C.ref){Fe.push((()=>e.C.ref(null)))}e.I&&e.I.map(Ye)}};var Ge=(e,t)=>{{Te.push((()=>e(t)))}};var Je=()=>{{Fe.forEach((e=>e()));Fe.length=0;Te.forEach((e=>e()));Te.length=0}};var Ze=(e,t,n,r)=>{if(e.__insertBefore){return e.__insertBefore(t,n)}else{return e==null?void 0:e.insertBefore(t,n)}};var Ke=(e,t,n=false)=>{const r=e.$hostElement$;const o=e.t;const i=e.D||ue(null,null);const s=ve(t);const l=s?t:fe(null,null,t);De=r.tagName;if(n&&l.C){for(const e of Object.keys(l.C)){if(r.hasAttribute(e)&&!["key","ref","style","class"].includes(e)){l.C[e]=r[e]}}}l.N=null;l.u|=4;e.D=l;l.L=i.L=r.shadowRoot||r;Re=!!(o.u&1)&&!(o.u&128);qe(i,l,n);Je()};var Qe=(e,t)=>{if(t&&!e.P&&t["s-p"]){const n=t["s-p"].push(new Promise((r=>e.P=()=>{t["s-p"].splice(n-1,1);r()})))}};var Xe=(e,t)=>{{e.u|=16}if(e.u&4){e.u|=512;return}Qe(e,e.V);const n=()=>et(e,t);if(t){queueMicrotask((()=>{n()}));return}return B(n)};var et=(e,t)=>{const n=e.$hostElement$;const r=X("scheduleUpdate",e.t.$);const o=e.l;if(!o){throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> 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;if(t){{if(e.m.length){e.m.forEach((e=>e(n)))}}i=lt(o,"componentWillLoad",void 0,n)}else{i=lt(o,"componentWillUpdate",void 0,n)}i=tt(i,(()=>lt(o,"componentWillRender",void 0,n)));r();return tt(i,(()=>rt(e,o,t)))};var tt=(e,t)=>nt(e)?e.then(t).catch((e=>{console.error(e);t()})):t();var nt=e=>e instanceof Promise||e&&e.then&&typeof e.then==="function";var rt=async(e,t,n)=>{var r;const o=e.$hostElement$;const i=X("update",e.t.$);const s=o["s-rc"];if(n){ie(e)}const l=X("render",e.t.$);{ot(e,t,o,n)}if(s){s.map((e=>e()));o["s-rc"]=void 0}l();i();{const t=(r=o["s-p"])!=null?r:[];const n=()=>it(e);if(t.length===0){n()}else{Promise.all(t).then(n).catch(n);e.u|=4;t.length=0}}};var ot=(e,t,n,r)=>{try{t=t.render();{e.u&=-17}{e.u|=2}{{{Ke(e,t,r)}}}}catch(t){h(t,e.$hostElement$)}return null};var it=e=>{const t=e.t.$;const n=e.$hostElement$;const r=X("postUpdate",t);const o=e.l;const i=e.V;lt(o,"componentDidRender",void 0,n);if(!(e.u&64)){e.u|=64;lt(o,"componentDidLoad",void 0,n);r();{e.h(n);if(!i){st()}}}else{lt(o,"componentDidUpdate",void 0,n);r()}{if(e.P){e.P();e.P=void 0}if(e.u&512){_((()=>Xe(e,false)))}e.u&=-517}};var st=t=>{var n;_((()=>Ce(E,"appload",{detail:{namespace:e}})));{if((n=z.A)==null?void 0:n.size){z.A.clear()}}};var lt=(e,t,n,r)=>{if(e&&e[t]){try{return e[t](n)}catch(e){h(e,r)}}return void 0};var at=(e,t)=>u(e).i.get(t);var ct=(e,t,n,r)=>{const o=u(e);if(!o){return}if(!o){throw new Error(`Couldn't find host element for "${r.$}" 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/stenciljs/core/issues/5457).`)}const i=o.i.get(t);const s=o.u;const l=o.l;n=je(n,r.o[t][0]);const a=Number.isNaN(i)&&Number.isNaN(n);const c=n!==i&&!a;if((!(s&8)||i===void 0)&&c){o.i.set(t,n);if(s&2){if(l.componentShouldUpdate){const e=l.componentShouldUpdate(n,i,t);if(e===false&&!(s&16)){return}}if(!(s&16)){Xe(o,false)}}}};var ft=(e,n,r)=>{var o,i;const s=e.prototype;if(n.o||t.propChangeCallback){const l=Object.entries((o=n.o)!=null?o:{});l.map((([e,[t]])=>{if(t&31||r&2&&t&32){const{get:o,set:i}=c(s,e)||{};if(o)n.o[e][0]|=2048;if(i)n.o[e][0]|=4096;if(r&1||!o){Object.defineProperty(s,e,{get(){{if((n.o[e][0]&2048)===0){return at(this,e)}const t=u(this);const r=t?t.l:s;if(!r)return;return r[e]}},configurable:true,enumerable:true})}Object.defineProperty(s,e,{set(o){const s=u(this);if(!s){return}if(i){const r=t&32?this[e]:s.$hostElement$[e];if(typeof r==="undefined"&&s.i.get(e)){o=s.i.get(e)}i.apply(this,[je(o,t)]);o=t&32?this[e]:s.$hostElement$[e];ct(this,e,o,n);return}{if((r&1)===0||(n.o[e][0]&4096)===0){ct(this,e,o,n);if(r&1&&!s.l){s.m.push((()=>{if(n.o[e][0]&4096&&s.l[e]!==s.i.get(e)){s.l[e]=o}}))}return}const i=()=>{const r=s.l[e];if(!s.i.get(e)&&r){s.i.set(e,r)}s.l[e]=je(o,t);ct(this,e,s.l[e],n)};if(s.l){i()}else{s.m.push((()=>{i()}))}}}})}}));if(r&1){const r=new Map;s.attributeChangedCallback=function(e,o,i){z.jmp((()=>{var a;const c=r.get(e);const f=u(this);if(this.hasOwnProperty(c)&&t.lazyLoad){i=this[c];delete this[c]}if(s.hasOwnProperty(c)&&typeof this[c]==="number"&&this[c]==i){return}else if(c==null){const t=f==null?void 0:f.u;if(f&&t&&!(t&8)&&i!==o){const r=f.l;const s=(a=n._)==null?void 0:a[e];s==null?void 0:s.forEach((n=>{const[[s,l]]=Object.entries(n);if(r[s]!=null&&(t&128||l&1)){r[s].call(r,i,o,e)}}))}return}const d=l.find((([e])=>e===c));const v=d&&d[1][0]&4;const p=v&&i===null&&this[c]===void 0;if(v){i=i===null||i==="false"?false:true}const h=Object.getOwnPropertyDescriptor(s,c);if(!p&&i!=this[c]&&(!h.get||!!h.set)){this[c]=i}}))};e.observedAttributes=Array.from(new Set([...Object.keys((i=n._)!=null?i:{}),...l.filter((([e,t])=>t[0]&31)).map((([e,t])=>{const n=t[1]||e;r.set(n,e);return n}))]))}}return e};var ut=async(e,n,r,o)=>{var i;let s;try{if((n.u&32)===0){n.u|=32;n.u&=-1025;const o=r.S;if(o){const t=g(r,n);if(t&&"then"in t){const e=ee();s=await t;e()}else{s=t}if(!s){n.u&=-33;n.B=((i=n.B)!=null?i:0)+1;if(n.B<M){n.u|=1024}throw new Error(`Constructor for "${r.$}#${n.W}" was not found`)}if(!s.isProxied){ft(s,r,2);s.isProxied=true}const o=X("createInstance",r.$);{n.u|=8}try{new s(n)}catch(t){h(t,e)}{n.u&=-9}o();{dt(n.l,e)}}else{s=e.constructor;const t=e.localName;customElements.whenDefined(t).then((()=>n.u|=128))}if(s&&s.style){let e;if(typeof s.style==="string"){e=s.style}const n=se(r);if(!b.has(n)||t.hotModuleReplacement){const t=X("registerStyles",r.$);re(n,e,!!(r.u&1));t()}}}const o=n.V;const l=()=>Xe(n,true);if(o&&o["s-rc"]){o["s-rc"].push(l)}else{l()}}catch(t){h(t,e);if(n.P){n.P();n.P=void 0}if(n.h&&!(n.u&1024)){n.h(e)}}};var dt=(e,t)=>{{lt(e,"connectedCallback",void 0,t)}};var vt=e=>{if((z.u&1)===0){const t=u(e);if(!t){return}const n=t.t;const r=X("connectedCallback",n.$);if(!(t.u&1)){t.u|=1;let r;{r=e.getAttribute(k);if(r){if(n.u&1){const t=oe(e.shadowRoot,n);e.classList.remove(t+"-h",t+"-s")}pe(e,n.$,r,t)}}{let n=e;while(n=n.parentNode||n.host){if(n.nodeType===1&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){Qe(t,t.V=n);break}}}if(n.o){Object.entries(n.o).map((([t,[n]])=>{if(n&31&&Object.prototype.hasOwnProperty.call(e,t)){const n=e[t];delete e[t];e[t]=n}}))}{ut(e,t,n)}}else{if(t==null?void 0:t.l){dt(t.l,e)}else if(t.u&1024){setTimeout((()=>ut(e,t,n)),N)}else if(t==null?void 0:t.p){t.p.then((()=>dt(t.l,e)))}}r()}};var pt=(e,t)=>{{lt(e,"disconnectedCallback",void 0,t||e)}};var ht=async e=>{if((z.u&1)===0){const t=u(e);if(t==null?void 0:t.l){pt(t.l,e)}else if(t==null?void 0:t.p){t.p.then((()=>pt(t.l,e)))}}if(ne.has(e)){ne.delete(e)}if(e.shadowRoot&&ne.has(e.shadowRoot)){ne.delete(e.shadowRoot)}};var mt=(e,t={})=>{var n;if(!E.document){console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");return}const r=X();const o=[];const i=t.exclude||[];const s=E.customElements;const l=E.document.head;const a=l.querySelector("meta[charset]");const c=E.document.createElement("style");const f=[];let d;let p=true;Object.assign(z,t);z.j=new URL(t.resourcesUrl||"./",E.document.baseURI).href;{z.u|=2}{ae()}e.map((e=>{e[1].map((t=>{const n={u:t[0],$:t[1],o:t[2],q:t[3]};{n.o=t[2]}const r=gt(n.$);const l=class extends HTMLElement{["s-p"];["s-rc"];hasRegisteredEventListeners=false;constructor(e){super(e);e=this;v(e,n);if(n.u&1){{if(!e.shadowRoot){Y.call(e,n)}else{if(e.shadowRoot.mode!=="open"){throw new Error(`Unable to re-use existing shadow root for ${n.$}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}}}}connectedCallback(){const e=u(this);if(!e){return}if(!this.hasRegisteredEventListeners){this.hasRegisteredEventListeners=true}if(d){clearTimeout(d);d=null}if(p){f.push(this)}else{z.jmp((()=>vt(this)))}}disconnectedCallback(){z.jmp((()=>ht(this)));_((()=>{var e;const t=u(this);if(!t){return}const n=f.findIndex((e=>e===this));if(n>-1){f.splice(n,1)}if(((e=t==null?void 0:t.D)==null?void 0:e.L)instanceof Node&&!t.D.L.isConnected){delete t.D.L}}))}componentOnReady(){var e;return(e=u(this))==null?void 0:e.p}};n.S=e[0];if(!i.includes(r)&&!s.get(r)){o.push(r);s.define(r,ft(l,n,1))}}))}));if(o.length>0){if(c.innerHTML.length){c.setAttribute("data-styles","");const e=(n=z.k)!=null?n:te(E.document);if(e!=null){c.setAttribute("nonce",e)}l.insertBefore(c,a?a.nextSibling:l.firstChild)}}p=false;if(f.length){f.map((e=>e.connectedCallback()))}else{{z.jmp((()=>d=setTimeout(st,30)))}}r()};var yt=e=>z.k=e;function gt(e){return e}export{de as H,mt as b,Oe as c,n as g,fe as h,L as p,d as r,yt as s};
|
|
3
|
-
//# sourceMappingURL=p-pfWAsOzE.js.map
|