@everymatrix/prize-engine-history 0.4.114 → 0.4.116

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.
@@ -1,4 +1,4 @@
1
- "use strict";var hn=Object.defineProperty,cn=Object.defineProperties;var fn=Object.getOwnPropertyDescriptors;var It=Object.getOwnPropertySymbols;var dn=Object.prototype.hasOwnProperty,mn=Object.prototype.propertyIsEnumerable;var rt=(e,t,r)=>t in e?hn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,pe=(e,t)=>{for(var r in t||(t={}))dn.call(t,r)&&rt(e,r,t[r]);if(It)for(var r of It(t))mn.call(t,r)&&rt(e,r,t[r]);return e},Nt=(e,t)=>cn(e,fn(t));var D=(e,t,r)=>(rt(e,typeof t!="symbol"?t+"":t,r),r);var j=(e,t,r)=>new Promise((n,i)=>{var a=l=>{try{s(r.next(l))}catch(u){i(u)}},o=l=>{try{s(r.throw(l))}catch(u){i(u)}},s=l=>l.done?n(l.value):Promise.resolve(l.value).then(a,o);s((r=r.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../stencil/ui-skeleton-aZT0Suei.cjs");function L(){}const yr=e=>e;function _r(e){return e()}function Dt(){return Object.create(null)}function Te(e){e.forEach(_r)}function Ye(e){return typeof e=="function"}function wr(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let Me;function $e(e,t){return e===t?!0:(Me||(Me=document.createElement("a")),Me.href=t,e===Me.href)}function pn(e){return Object.keys(e).length===0}function xr(e,...t){if(e==null){for(const n of t)n(void 0);return L}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function vn(e,t,r){e.$$.on_destroy.push(xr(t,r))}const Er=typeof window!="undefined";let gn=Er?()=>window.performance.now():()=>Date.now(),Ct=Er?e=>requestAnimationFrame(e):L;const ie=new Set;function Sr(e){ie.forEach(t=>{t.c(e)||(ie.delete(t),t.f())}),ie.size!==0&&Ct(Sr)}function bn(e){let t;return ie.size===0&&Ct(Sr),{promise:new Promise(r=>{ie.add(t={c:e,f:r})}),abort(){ie.delete(t)}}}function O(e,t){e.appendChild(t)}function yn(e,t,r){const n=Mt(e);if(!n.getElementById(t)){const i=H("style");i.id=t,i.textContent=r,Tr(n,i)}}function Mt(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function _n(e){const t=H("style");return t.textContent="/* empty */",Tr(Mt(e),t),t.sheet}function Tr(e,t){return O(e.head||e,t),t.sheet}function U(e,t,r){e.insertBefore(t,r||null)}function N(e){e.parentNode&&e.parentNode.removeChild(e)}function Xe(e,t){for(let r=0;r<e.length;r+=1)e[r]&&e[r].d(t)}function H(e){return document.createElement(e)}function ce(e){return document.createTextNode(e)}function V(){return ce(" ")}function wn(){return ce("")}function S(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function $t(e,t,r){const n=t.toLowerCase();n in e?e[n]=typeof e[n]=="boolean"&&r===""?!0:r:t in e?e[t]=typeof e[t]=="boolean"&&r===""?!0:r:S(e,t,r)}function xn(e){return Array.from(e.childNodes)}function ze(e,t){t=""+t,e.data!==t&&(e.data=t)}function Or(e,t,r){e.classList.toggle(t,!!r)}function En(e,t,{bubbles:r=!1,cancelable:n=!1}={}){return new CustomEvent(e,{detail:t,bubbles:r,cancelable:n})}function Sn(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}const Ue=new Map;let Re=0;function Tn(e){let t=5381,r=e.length;for(;r--;)t=(t<<5)-t^e.charCodeAt(r);return t>>>0}function On(e,t){const r={stylesheet:_n(t),rules:{}};return Ue.set(e,r),r}function Pn(e,t,r,n,i,a,o,s=0){const l=16.666/n;let u=`{
1
+ "use strict";var hn=Object.defineProperty,cn=Object.defineProperties;var fn=Object.getOwnPropertyDescriptors;var It=Object.getOwnPropertySymbols;var dn=Object.prototype.hasOwnProperty,mn=Object.prototype.propertyIsEnumerable;var rt=(e,t,r)=>t in e?hn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,pe=(e,t)=>{for(var r in t||(t={}))dn.call(t,r)&&rt(e,r,t[r]);if(It)for(var r of It(t))mn.call(t,r)&&rt(e,r,t[r]);return e},Nt=(e,t)=>cn(e,fn(t));var D=(e,t,r)=>(rt(e,typeof t!="symbol"?t+"":t,r),r);var j=(e,t,r)=>new Promise((n,i)=>{var a=l=>{try{s(r.next(l))}catch(u){i(u)}},o=l=>{try{s(r.throw(l))}catch(u){i(u)}},s=l=>l.done?n(l.value):Promise.resolve(l.value).then(a,o);s((r=r.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../stencil/ui-skeleton-BreIU6e5.cjs");function L(){}const yr=e=>e;function _r(e){return e()}function Dt(){return Object.create(null)}function Te(e){e.forEach(_r)}function Ye(e){return typeof e=="function"}function wr(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let Me;function $e(e,t){return e===t?!0:(Me||(Me=document.createElement("a")),Me.href=t,e===Me.href)}function pn(e){return Object.keys(e).length===0}function xr(e,...t){if(e==null){for(const n of t)n(void 0);return L}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function vn(e,t,r){e.$$.on_destroy.push(xr(t,r))}const Er=typeof window!="undefined";let gn=Er?()=>window.performance.now():()=>Date.now(),Ct=Er?e=>requestAnimationFrame(e):L;const ie=new Set;function Sr(e){ie.forEach(t=>{t.c(e)||(ie.delete(t),t.f())}),ie.size!==0&&Ct(Sr)}function bn(e){let t;return ie.size===0&&Ct(Sr),{promise:new Promise(r=>{ie.add(t={c:e,f:r})}),abort(){ie.delete(t)}}}function O(e,t){e.appendChild(t)}function yn(e,t,r){const n=Mt(e);if(!n.getElementById(t)){const i=H("style");i.id=t,i.textContent=r,Tr(n,i)}}function Mt(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function _n(e){const t=H("style");return t.textContent="/* empty */",Tr(Mt(e),t),t.sheet}function Tr(e,t){return O(e.head||e,t),t.sheet}function U(e,t,r){e.insertBefore(t,r||null)}function N(e){e.parentNode&&e.parentNode.removeChild(e)}function Xe(e,t){for(let r=0;r<e.length;r+=1)e[r]&&e[r].d(t)}function H(e){return document.createElement(e)}function ce(e){return document.createTextNode(e)}function V(){return ce(" ")}function wn(){return ce("")}function S(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function $t(e,t,r){const n=t.toLowerCase();n in e?e[n]=typeof e[n]=="boolean"&&r===""?!0:r:t in e?e[t]=typeof e[t]=="boolean"&&r===""?!0:r:S(e,t,r)}function xn(e){return Array.from(e.childNodes)}function ze(e,t){t=""+t,e.data!==t&&(e.data=t)}function Or(e,t,r){e.classList.toggle(t,!!r)}function En(e,t,{bubbles:r=!1,cancelable:n=!1}={}){return new CustomEvent(e,{detail:t,bubbles:r,cancelable:n})}function Sn(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}const Ue=new Map;let Re=0;function Tn(e){let t=5381,r=e.length;for(;r--;)t=(t<<5)-t^e.charCodeAt(r);return t>>>0}function On(e,t){const r={stylesheet:_n(t),rules:{}};return Ue.set(e,r),r}function Pn(e,t,r,n,i,a,o,s=0){const l=16.666/n;let u=`{
2
2
  `;for(let g=0;g<=1;g+=l){const b=t+(r-t)*a(g);u+=g*100+`%{${o(b,1-b)}}
3
3
  `}const h=u+`100% {${o(r,1-r)}}
4
4
  }`,c=`__svelte_${Tn(h)}_${s}`,f=Mt(e),{stylesheet:d,rules:m}=Ue.get(f)||On(f,e);m[c]||(m[c]=!0,d.insertRule(`@keyframes ${c} ${h}`,d.cssRules.length));const p=e.style.animation||"";return e.style.animation=`${p?`${p}, `:""}${c} ${n}ms linear ${i}ms 1 both`,Re+=1,c}function Ut(e,t){const r=(e.style.animation||"").split(", "),n=r.filter(t?a=>a.indexOf(t)<0:a=>a.indexOf("__svelte")===-1),i=r.length-n.length;i&&(e.style.animation=n.join(", "),Re-=i,Re||Hn())}function Hn(){Ct(()=>{Re||(Ue.forEach(e=>{const{ownerNode:t}=e.stylesheet;t&&N(t)}),Ue.clear())})}let we;function _e(e){we=e}function Cn(){if(!we)throw new Error("Function called outside component initialization");return we}function Mn(e){Cn().$$.on_mount.push(e)}const re=[],ft=[];let ae=[];const Rt=[],An=Promise.resolve();let dt=!1;function Bn(){dt||(dt=!0,An.then(R))}function xe(e){ae.push(e)}const nt=new Set;let K=0;function R(){if(K!==0)return;const e=we;do{try{for(;K<re.length;){const t=re[K];K++,_e(t),Ln(t.$$)}}catch(t){throw re.length=0,K=0,t}for(_e(null),re.length=0,K=0;ft.length;)ft.pop()();for(let t=0;t<ae.length;t+=1){const r=ae[t];nt.has(r)||(nt.add(r),r())}ae.length=0}while(re.length);for(;Rt.length;)Rt.pop()();dt=!1,nt.clear(),_e(e)}function Ln(e){if(e.fragment!==null){e.update(),Te(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(xe)}}function In(e){const t=[],r=[];ae.forEach(n=>e.indexOf(n)===-1?t.push(n):r.push(n)),r.forEach(n=>n()),ae=t}let ve;function Nn(){return ve||(ve=Promise.resolve(),ve.then(()=>{ve=null})),ve}function kt(e,t,r){e.dispatchEvent(En(`intro${r}`))}const Dn=new Set;function $n(e,t){e&&e.i&&(Dn.delete(e),e.i(t))}const Un={duration:0};function Rn(e,t,r){const n={direction:"in"};let i=t(e,r,n),a=!1,o,s,l=0;function u(){o&&Ut(e,o)}function h(){const{delay:f=0,duration:d=300,easing:m=yr,tick:p=L,css:g}=i||Un;g&&(o=Pn(e,0,1,d,f,m,g,l++)),p(0,1);const b=gn()+f,w=b+d;s&&s.abort(),a=!0,xe(()=>kt(e,!0,"start")),s=bn(v=>{if(a){if(v>=w)return p(1,0),kt(e,!0,"end"),u(),a=!1;if(v>=b){const P=m((v-b)/d);p(P,1-P)}}return a})}let c=!1;return{start(){c||(c=!0,Ut(e),Ye(i)?(i=i(n),Nn().then(h)):h())},invalidate(){c=!1},end(){a&&(u(),a=!1)}}}function oe(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function kn(e,t,r){const{fragment:n,after_update:i}=e.$$;n&&n.m(t,r),xe(()=>{const a=e.$$.on_mount.map(_r).filter(Ye);e.$$.on_destroy?e.$$.on_destroy.push(...a):Te(a),e.$$.on_mount=[]}),i.forEach(xe)}function Fn(e,t){const r=e.$$;r.fragment!==null&&(In(r.after_update),Te(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function Gn(e,t){e.$$.dirty[0]===-1&&(re.push(e),Bn(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function jn(e,t,r,n,i,a,o=null,s=[-1]){const l=we;_e(e);const u=e.$$={fragment:null,ctx:[],props:a,update:L,not_equal:i,bound:Dt(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:Dt(),dirty:s,skip_bound:!1,root:t.target||l.$$.root};o&&o(u.root);let h=!1;if(u.ctx=r?r(e,t.props||{},(c,f,...d)=>{const m=d.length?d[0]:f;return u.ctx&&i(u.ctx[c],u.ctx[c]=m)&&(!u.skip_bound&&u.bound[c]&&u.bound[c](m),h&&Gn(e,c)),f}):[],u.update(),h=!0,Te(u.before_update),u.fragment=n?n(u.ctx):!1,t.target){if(t.hydrate){const c=xn(t.target);u.fragment&&u.fragment.l(c),c.forEach(N)}else u.fragment&&u.fragment.c();t.intro&&$n(e.$$.fragment),kn(e,t.target,t.anchor),R()}_e(l)}let Pr;typeof HTMLElement=="function"&&(Pr=class extends HTMLElement{constructor(t,r,n){super();D(this,"$$ctor");D(this,"$$s");D(this,"$$c");D(this,"$$cn",!1);D(this,"$$d",{});D(this,"$$r",!1);D(this,"$$p_d",{});D(this,"$$l",{});D(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=r,n&&this.attachShadow({mode:"open"})}addEventListener(t,r,n){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(r),this.$$c){const i=this.$$c.$on(t,r);this.$$l_u.set(r,i)}super.addEventListener(t,r,n)}removeEventListener(t,r,n){if(super.removeEventListener(t,r,n),this.$$c){const i=this.$$l_u.get(r);i&&(i(),this.$$l_u.delete(r))}}connectedCallback(){return j(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(a){return()=>{let o;return{c:function(){o=H("slot"),a!=="default"&&S(o,"name",a)},m:function(u,h){U(u,o,h)},d:function(u){u&&N(o)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=Sn(this);for(const a of this.$$s)a in n&&(r[a]=[t(a)]);for(const a of this.attributes){const o=this.$$g_p(a.name);o in this.$$d||(this.$$d[o]=Le(o,a.value,this.$$p_d,"toProp"))}for(const a in this.$$p_d)!(a in this.$$d)&&this[a]!==void 0&&(this.$$d[a]=this[a],delete this[a]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:Nt(pe({},this.$$d),{$$slots:r,$$scope:{ctx:[]}})});const i=()=>{this.$$r=!0;for(const a in this.$$p_d)if(this.$$d[a]=this.$$c.$$.ctx[this.$$c.$$.props[a]],this.$$p_d[a].reflect){const o=Le(a,this.$$d[a],this.$$p_d,"toAttribute");o==null?this.removeAttribute(this.$$p_d[a].attribute||a):this.setAttribute(this.$$p_d[a].attribute||a,o)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const a in this.$$l)for(const o of this.$$l[a]){const s=this.$$c.$on(a,o);this.$$l_u.set(o,s)}this.$$l={}}})}attributeChangedCallback(t,r,n){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=Le(t,n,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(r=>this.$$p_d[r].attribute===t||!this.$$p_d[r].attribute&&r.toLowerCase()===t)||t}});function Le(e,t,r,n){var a;const i=(a=r[e])==null?void 0:a.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Wn(e,t,r,n,i,a){let o=class extends Pr{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(s=>(t[s].attribute||s).toLowerCase())}};return Object.keys(t).forEach(s=>{Object.defineProperty(o.prototype,s,{get(){return this.$$c&&s in this.$$c?this.$$c[s]:this.$$d[s]},set(l){var u;l=Le(s,l,t),this.$$d[s]=l,(u=this.$$c)==null||u.$set({[s]:l})}})}),n.forEach(s=>{Object.defineProperty(o.prototype,s,{get(){var l;return(l=this.$$c)==null?void 0:l[s]}})}),e.element=o,o}class Vn{constructor(){D(this,"$$");D(this,"$$set")}$destroy(){Fn(this,1),this.$destroy=L}$on(t,r){if(!Ye(r))return L;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(r),()=>{const i=n.indexOf(r);i!==-1&&n.splice(i,1)}}$set(t){this.$$set&&!pn(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Yn="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Yn);function Xn(e,{delay:t=0,duration:r=400,easing:n=yr}={}){const i=+getComputedStyle(e).opacity;return{delay:t,duration:r,easing:n,css:a=>`opacity: ${a*i}`}}const ne="__WIDGET_GLOBAL_STYLE_CACHE__";function zn(e,t){if(e){const r=document.createElement("style");r.innerHTML=t,e.appendChild(r)}}function qn(e,t){if(!e||!t)return;const r=new URL(t);fetch(r.href).then(n=>n.text()).then(n=>{const i=document.createElement("style");i.innerHTML=n,e&&e.appendChild(i)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function Qn(e,t,r,n=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!n)return r=Zn(e,t),r;window[ne]||(window[ne]={}),r=Jn(e,t);const a=r.unsubscribe.bind(r),o=()=>{if(window[ne][t]){const s=window[ne][t];s.refCount>1?s.refCount=s.refCount-1:delete window[ne][t]}a()};return r.unsubscribe=o,r}function Zn(e,t){const r=document.createElement("style");return window.emMessageBus.subscribe(t,n=>{e&&(r.innerHTML=n,e.appendChild(r))})}function Jn(e,t){return window.emMessageBus.subscribe(t,r=>{if(!e)return;const n=e.getRootNode(),i=window[ne];let a=i[t]&&i[t].sheet;a?i[t].refCount=i[t].refCount+1:(a=new CSSStyleSheet,a.replaceSync(r),i[t]={sheet:a,refCount:1});const o=n.adoptedStyleSheets||[];o.includes(a)||(n.adoptedStyleSheets=[...o,a])})}/*! *****************************************************************************
@@ -27,7 +27,7 @@ var j = (e, t, r) => new Promise((n, i) => {
27
27
  }, s = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(a, o);
28
28
  s((r = r.apply(e, t)).next());
29
29
  });
30
- import "../stencil/ui-skeleton-C7JH5ymf.js";
30
+ import "../stencil/ui-skeleton-xXZA3rYO.js";
31
31
  function L() {
32
32
  }
33
33
  const yr = (e) => e;
@@ -1,4 +1,4 @@
1
- import "../stencil/ui-skeleton-B9VBo72p.js";
1
+ import "../stencil/ui-skeleton-W50o8tfg.js";
2
2
  function M() {
3
3
  }
4
4
  const lr = (e) => e;
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PrizeEngineHistory-BcV_6RAv.cjs")).then(({default:t})=>{!customElements.get("prize-engine-history")&&customElements.define("prize-engine-history",t.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PrizeEngineHistory-3xtMrxl1.cjs")).then(({default:t})=>{!customElements.get("prize-engine-history")&&customElements.define("prize-engine-history",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/PrizeEngineHistory-B16gHz7j.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/PrizeEngineHistory-CivDmhAK.js").then(({ default: t }) => {
14
14
  !customElements.get("prize-engine-history") && customElements.define("prize-engine-history", t.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { P as s } from "../components/PrizeEngineHistory-D7JEi-67.js";
1
+ import { P as s } from "../components/PrizeEngineHistory-DqFDCGGn.js";
2
2
  function i(t) {
3
3
  return function(...n) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/prize-engine-history",
3
- "version": "0.4.114",
3
+ "version": "0.4.116",
4
4
  "type": "module",
5
5
  "main": "esnext/prize-engine-history.js",
6
6
  "module": "esnext/prize-engine-history.js",
@@ -0,0 +1 @@
1
+ "use strict";var P=(e,t,s)=>new Promise((r,n)=>{var a=i=>{try{o(s.next(i))}catch($){n($)}},l=i=>{try{o(s.throw(i))}catch($){n($)}},o=i=>i.done?r(i.value):Promise.resolve(i.value).then(a,l);o((s=s.apply(e,t)).next())});const ue="ui-skeleton",fe={hydratedSelectorName:"hydrated"};var de=Object.defineProperty,me=(e,t)=>{for(var s in t)de(e,s,{get:t[s],enumerable:!0})},U=new WeakMap,b=e=>U.get(e),ve=(e,t)=>U.set(t.$lazyInstance$=e,t),ge=(e,t)=>{const s={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return s.$onReadyPromise$=new Promise(r=>s.$onReadyResolve$=r),e["s-p"]=[],e["s-rc"]=[],U.set(e,s)},E=(e,t)=>(0,console.error)(e,t),O=new Map,he=(e,t,s)=>{const r=e.$tagName$.replace(/-/g,"_"),n=e.$lazyBundleId$;if(!n)return;const a=O.get(n);if(a)return a[r];{const l=o=>(O.set(n,o),o[r]);switch(n){case"ui-skeleton":return Promise.resolve().then(()=>require("./ui-skeleton-BreIU6e5.cjs")).then(l,E)}}return import(`./${n}.entry.js`).then(l=>(O.set(n,l),l[r]),E)},L=new Map,pe="{visibility:hidden}.hydrated{visibility:inherit}",J="slot-fb{display:contents}slot-fb[hidden]{display:none}",B=typeof window!="undefined"?window:{},y=B.document||{head:{}},g={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,r)=>e.addEventListener(t,s,r),rel:(e,t,s,r)=>e.removeEventListener(t,s,r),ce:(e,t)=>new CustomEvent(e,t)},K=e=>Promise.resolve(e),ye=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),A=!1,C=[],Q=[],Se=(e,t)=>s=>{e.push(s),A||(A=!0,g.$flags$&4?z(I):g.raf(I))},D=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){E(s)}e.length=0},I=()=>{D(C),D(Q),(A=C.length>0)&&g.raf(I)},z=e=>K().then(e),be=Se(Q),F={},X=e=>(e=typeof e,e==="object"||e==="function");function Z(e){var t,s,r;return(r=(s=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:s.getAttribute("content"))!=null?r:void 0}var ke={};me(ke,{err:()=>R,map:()=>Ee,ok:()=>H,unwrap:()=>we,unwrapErr:()=>Pe});var H=e=>({isOk:!0,isErr:!1,value:e}),R=e=>({isOk:!1,isErr:!0,value:e});function Ee(e,t){if(e.isOk){const s=t(e.value);return s instanceof Promise?s.then(r=>H(r)):H(s)}if(e.isErr){const s=e.value;return R(s)}throw"should never get here"}var we=e=>{if(e.isOk)return e.value;throw e.value},Pe=e=>{if(e.isErr)return e.value;throw e.value},S=(e,t="")=>()=>{},xe=(e,t)=>()=>{},V=(e,t,...s)=>{let r=null,n=null,a=!1,l=!1;const o=[],i=c=>{for(let u=0;u<c.length;u++)r=c[u],Array.isArray(r)?i(r):r!=null&&typeof r!="boolean"&&((a=typeof e!="function"&&!X(r))&&(r=String(r)),a&&l?o[o.length-1].$text$+=r:o.push(a?N(null,r):r),l=a)};if(i(s),t){t.key&&(n=t.key);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter(u=>c[u]).join(" "))}}const $=N(e,null);return $.$attrs$=t,o.length>0&&($.$children$=o),$.$key$=n,$},N=(e,t)=>{const s={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return s.$attrs$=null,s.$key$=null,s},ee={},Te=e=>e&&e.$tag$===ee,Le=(e,t)=>e!=null&&!X(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,_e=(e,t,s)=>{const r=g.ce(t,s);return e.dispatchEvent(r),r},M=new WeakMap,je=(e,t,s)=>{let r=L.get(e);ye&&s?(r=r||new CSSStyleSheet,typeof r=="string"?r=t:r.replaceSync(t)):r=t,L.set(e,r)},Oe=(e,t,s)=>{var r;const n=te(t),a=L.get(n);if(e=e.nodeType===11?e:y,a)if(typeof a=="string"){e=e.head||e;let l=M.get(e),o;if(l||M.set(e,l=new Set),!l.has(n)){{o=y.createElement("style"),o.innerHTML=a;const i=(r=g.$nonce$)!=null?r:Z(y);i!=null&&o.setAttribute("nonce",i),e.insertBefore(o,e.querySelector("link"))}t.$flags$&4&&(o.innerHTML+=J),l&&l.add(n)}}else e.adoptedStyleSheets.includes(a)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,a]);return n},Ae=e=>{const t=e.$cmpMeta$,s=e.$hostElement$,r=S("attachStyles",t.$tagName$);Oe(s.getRootNode(),t),r()},te=(e,t)=>"sc-"+e.$tagName$,W=(e,t,s,r,n,a)=>{if(s!==r&&(t.toLowerCase(),t==="class")){const l=e.classList,o=Y(s),i=Y(r);l.remove(...o.filter($=>$&&!i.includes($))),l.add(...i.filter($=>$&&!o.includes($)))}},Ie=/\s/,Y=e=>e?e.split(Ie):[],ne=(e,t,s)=>{const r=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,n=e&&e.$attrs$||F,a=t.$attrs$||F;for(const l of G(Object.keys(n)))l in a||W(r,l,n[l],void 0);for(const l of G(Object.keys(a)))W(r,l,n[l],a[l])};function G(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var se,_=(e,t,s,r)=>{const n=t.$children$[s];let a=0,l,o;if(n.$text$!==null)l=n.$elm$=y.createTextNode(n.$text$);else if(l=n.$elm$=y.createElement(n.$tag$),ne(null,n),n.$children$)for(a=0;a<n.$children$.length;++a)o=_(e,n,a),o&&l.appendChild(o);return l["s-hn"]=se,l},re=(e,t,s,r,n,a)=>{let l=e,o;for(;n<=a;++n)r[n]&&(o=_(null,s,n),o&&(r[n].$elm$=o,T(l,o,t)))},le=(e,t,s)=>{for(let r=t;r<=s;++r){const n=e[r];if(n){const a=n.$elm$;a&&a.remove()}}},He=(e,t,s,r,n=!1)=>{let a=0,l=0,o=0,i=0,$=t.length-1,c=t[0],u=t[$],f=r.length-1,d=r[0],m=r[f],v,h;for(;a<=$&&l<=f;)if(c==null)c=t[++a];else if(u==null)u=t[--$];else if(d==null)d=r[++l];else if(m==null)m=r[--f];else if(x(c,d,n))k(c,d,n),c=t[++a],d=r[++l];else if(x(u,m,n))k(u,m,n),u=t[--$],m=r[--f];else if(x(c,m,n))k(c,m,n),T(e,c.$elm$,u.$elm$.nextSibling),c=t[++a],m=r[--f];else if(x(u,d,n))k(u,d,n),T(e,u.$elm$,c.$elm$),u=t[--$],d=r[++l];else{for(o=-1,i=a;i<=$;++i)if(t[i]&&t[i].$key$!==null&&t[i].$key$===d.$key$){o=i;break}o>=0?(h=t[o],h.$tag$!==d.$tag$?v=_(t&&t[l],s,o):(k(h,d,n),t[o]=void 0,v=h.$elm$),d=r[++l]):(v=_(t&&t[l],s,l),d=r[++l]),v&&T(c.$elm$.parentNode,v,c.$elm$)}a>$?re(e,r[f+1]==null?null:r[f+1].$elm$,s,r,l,f):l>f&&le(t,a,$)},x=(e,t,s=!1)=>e.$tag$===t.$tag$?s?!0:e.$key$===t.$key$:!1,k=(e,t,s=!1)=>{const r=t.$elm$=e.$elm$,n=e.$children$,a=t.$children$,l=t.$text$;l===null?(ne(e,t),n!==null&&a!==null?He(r,n,t,a,s):a!==null?(e.$text$!==null&&(r.textContent=""),re(r,null,t,a,0,a.length-1)):n!==null&&le(n,0,n.length-1)):e.$text$!==l&&(r.data=l)},T=(e,t,s)=>e==null?void 0:e.insertBefore(t,s),Ne=(e,t,s=!1)=>{const r=e.$hostElement$,n=e.$vnode$||N(null,null),a=Te(t)?t:V(null,null,t);if(se=r.tagName,s&&a.$attrs$)for(const l of Object.keys(a.$attrs$))r.hasAttribute(l)&&!["key","ref","style","class"].includes(l)&&(a.$attrs$[l]=r[l]);a.$tag$=null,a.$flags$|=4,e.$vnode$=a,a.$elm$=n.$elm$=r,k(n,a,s)},ae=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(s=>e.$onRenderResolve$=s))},q=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ae(e,e.$ancestorComponent$),be(()=>Ue(e,t))},Ue=(e,t)=>{const s=e.$hostElement$,r=S("scheduleUpdate",e.$cmpMeta$.$tagName$),n=e.$lazyInstance$;if(!n)throw new Error(`Can't render component <${s.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 a;return r(),Be(a,()=>qe(e,n,t))},Be=(e,t)=>ze(e)?e.then(t).catch(s=>{console.error(s),t()}):t(),ze=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",qe=(e,t,s)=>P(exports,null,function*(){var r;const n=e.$hostElement$,a=S("update",e.$cmpMeta$.$tagName$),l=n["s-rc"];s&&Ae(e);const o=S("render",e.$cmpMeta$.$tagName$);Ce(e,t,n,s),l&&(l.map(i=>i()),n["s-rc"]=void 0),o(),a();{const i=(r=n["s-p"])!=null?r:[],$=()=>De(e);i.length===0?$():(Promise.all(i).then($),e.$flags$|=4,i.length=0)}}),Ce=(e,t,s,r)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,Ne(e,t,r)}catch(n){E(n,e.$hostElement$)}return null},De=e=>{const t=e.$cmpMeta$.$tagName$,s=e.$hostElement$,r=S("postUpdate",t),n=e.$ancestorComponent$;e.$flags$&64?r():(e.$flags$|=64,oe(s),r(),e.$onReadyResolve$(s),n||ie()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&z(()=>q(e,!1)),e.$flags$&=-517},ie=e=>{oe(y.documentElement),z(()=>_e(B,"appload",{detail:{namespace:ue}}))},oe=e=>{var t;return e.classList.add((t=fe.hydratedSelectorName)!=null?t:"hydrated")},Fe=(e,t)=>b(e).$instanceValues$.get(t),Me=(e,t,s,r)=>{const n=b(e);if(!n)throw new Error(`Couldn't find host element for "${r.$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/ionic-team/stencil/issues/5457).`);const a=n.$hostElement$,l=n.$instanceValues$.get(t),o=n.$flags$,i=n.$lazyInstance$;s=Le(s,r.$members$[t][0]);const $=Number.isNaN(l)&&Number.isNaN(s),c=s!==l&&!$;if((!(o&8)||l===void 0)&&c&&(n.$instanceValues$.set(t,s),i)){if(r.$watchers$&&o&128){const u=r.$watchers$[t];u&&u.map(f=>{try{i[f](s,l,t)}catch(d){E(d,a)}})}(o&18)===2&&q(n,!1)}},$e=(e,t,s)=>{var r,n;const a=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((r=t.$members$)!=null?r:{});if(l.map(([o,[i]])=>{(i&31||s&2&&i&32)&&Object.defineProperty(a,o,{get(){return Fe(this,o)},set($){Me(this,o,$,t)},configurable:!0,enumerable:!0})}),s&1){const o=new Map;a.attributeChangedCallback=function(i,$,c){g.jmp(()=>{var u;const f=o.get(i);if(this.hasOwnProperty(f))c=this[f],delete this[f];else{if(a.hasOwnProperty(f)&&typeof this[f]=="number"&&this[f]==c)return;if(f==null){const d=b(this),m=d==null?void 0:d.$flags$;if(m&&!(m&8)&&m&128&&c!==$){const v=d.$lazyInstance$,h=(u=t.$watchers$)==null?void 0:u[i];h==null||h.forEach(p=>{v[p]!=null&&v[p].call(v,c,$,i)})}return}}this[f]=c===null&&typeof this[f]=="boolean"?!1:c})},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.$watchers$)!=null?n:{}),...l.filter(([i,$])=>$[0]&15).map(([i,$])=>{const c=$[1]||i;return o.set(c,i),c})]))}}return e},We=(e,t,s,r)=>P(exports,null,function*(){let n;if(!(t.$flags$&32)){if(t.$flags$|=32,s.$lazyBundleId$){const i=he(s);if(i&&"then"in i){const c=xe();n=yield i,c()}else n=i;if(!n)throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);n.isProxied||(s.$watchers$=n.watchers,$e(n,s,2),n.isProxied=!0);const $=S("createInstance",s.$tagName$);t.$flags$|=8;try{new n(t)}catch(c){E(c)}t.$flags$&=-9,t.$flags$|=128,$()}else{n=e.constructor;const i=e.localName;customElements.whenDefined(i).then(()=>t.$flags$|=128)}if(n&&n.style){let i;typeof n.style=="string"&&(i=n.style);const $=te(s);if(!L.has($)){const c=S("registerStyles",s.$tagName$);je($,i,!!(s.$flags$&1)),c()}}}const a=t.$ancestorComponent$,l=()=>q(t,!0);a&&a["s-rc"]?a["s-rc"].push(l):l()}),Ye=e=>{},Ge=e=>{if(!(g.$flags$&1)){const t=b(e),s=t.$cmpMeta$,r=S("connectedCallback",s.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Ye());else{t.$flags$|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){ae(t,t.$ancestorComponent$=n);break}}s.$members$&&Object.entries(s.$members$).map(([n,[a]])=>{if(a&31&&e.hasOwnProperty(n)){const l=e[n];delete e[n],e[n]=l}}),We(e,t,s)}r()}},Je=e=>{},Ke=e=>P(exports,null,function*(){if(!(g.$flags$&1)){const t=b(e);t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Je())}}),Qe=(e,t={})=>{var s;const r=S(),n=[],a=t.exclude||[],l=B.customElements,o=y.head,i=o.querySelector("meta[charset]"),$=y.createElement("style"),c=[];let u,f=!0;Object.assign(g,t),g.$resourcesUrl$=new URL(t.resourcesUrl||"./",y.baseURI).href;let d=!1;if(e.map(m=>{m[1].map(v=>{var h;const p={$flags$:v[0],$tagName$:v[1],$members$:v[2],$listeners$:v[3]};p.$flags$&4&&(d=!0),p.$members$=v[2],p.$watchers$=(h=v[4])!=null?h:{};const w=p.$tagName$,ce=class extends HTMLElement{constructor(j){super(j),this.hasRegisteredEventListeners=!1,j=this,ge(j,p)}connectedCallback(){b(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),u&&(clearTimeout(u),u=null),f?c.push(this):g.jmp(()=>Ge(this))}disconnectedCallback(){g.jmp(()=>Ke(this))}componentOnReady(){return b(this).$onReadyPromise$}};p.$lazyBundleId$=m[0],!a.includes(w)&&!l.get(w)&&(n.push(w),l.define(w,$e(ce,p,1)))})}),n.length>0&&(d&&($.textContent+=J),$.textContent+=n.sort()+pe,$.innerHTML.length)){$.setAttribute("data-styles","");const m=(s=g.$nonce$)!=null?s:Z(y);m!=null&&$.setAttribute("nonce",m),o.insertBefore($,i?i.nextSibling:o.firstChild)}f=!1,c.length?c.map(m=>m.connectedCallback()):g.jmp(()=>u=setTimeout(ie,30)),r()};exports.Host=ee;exports.bootstrapLazy=Qe;exports.h=V;exports.promiseResolve=K;exports.registerInstance=ve;
@@ -0,0 +1,519 @@
1
+ var x = (e, t, s) => new Promise((r, n) => {
2
+ var a = (i) => {
3
+ try {
4
+ o(s.next(i));
5
+ } catch ($) {
6
+ n($);
7
+ }
8
+ }, l = (i) => {
9
+ try {
10
+ o(s.throw(i));
11
+ } catch ($) {
12
+ n($);
13
+ }
14
+ }, o = (i) => i.done ? r(i.value) : Promise.resolve(i.value).then(a, l);
15
+ o((s = s.apply(e, t)).next());
16
+ });
17
+ const oe = "ui-skeleton", $e = (
18
+ /* ui-skeleton */
19
+ { hydratedSelectorName: "hydrated" }
20
+ );
21
+ var ce = Object.defineProperty, ue = (e, t) => {
22
+ for (var s in t)
23
+ ce(e, s, { get: t[s], enumerable: !0 });
24
+ }, U = /* @__PURE__ */ new WeakMap(), b = (e) => U.get(e), Qe = (e, t) => U.set(t.$lazyInstance$ = e, t), fe = (e, t) => {
25
+ const s = {
26
+ $flags$: 0,
27
+ $hostElement$: e,
28
+ $cmpMeta$: t,
29
+ $instanceValues$: /* @__PURE__ */ new Map()
30
+ };
31
+ return s.$onReadyPromise$ = new Promise((r) => s.$onReadyResolve$ = r), e["s-p"] = [], e["s-rc"] = [], U.set(e, s);
32
+ }, E = (e, t) => (0, console.error)(e, t), O = /* @__PURE__ */ new Map(), de = (e, t, s) => {
33
+ const r = e.$tagName$.replace(/-/g, "_"), n = e.$lazyBundleId$;
34
+ if (!n)
35
+ return;
36
+ const a = O.get(n);
37
+ if (a)
38
+ return a[r];
39
+ {
40
+ const l = (o) => (O.set(n, o), o[r]);
41
+ switch (n) {
42
+ case "ui-skeleton":
43
+ return import(
44
+ /* webpackMode: "lazy" */
45
+ "./ui-skeleton-xXZA3rYO.js"
46
+ ).then(l, E);
47
+ }
48
+ }
49
+ return import(
50
+ /* @vite-ignore */
51
+ /* webpackInclude: /\.entry\.js$/ */
52
+ /* webpackExclude: /\.system\.entry\.js$/ */
53
+ /* webpackMode: "lazy" */
54
+ `./${n}.entry.js`
55
+ ).then((l) => (O.set(n, l), l[r]), E);
56
+ }, _ = /* @__PURE__ */ new Map(), me = "{visibility:hidden}.hydrated{visibility:inherit}", J = "slot-fb{display:contents}slot-fb[hidden]{display:none}", B = typeof window != "undefined" ? window : {}, y = B.document || { head: {} }, g = {
57
+ $flags$: 0,
58
+ $resourcesUrl$: "",
59
+ jmp: (e) => e(),
60
+ raf: (e) => requestAnimationFrame(e),
61
+ ael: (e, t, s, r) => e.addEventListener(t, s, r),
62
+ rel: (e, t, s, r) => e.removeEventListener(t, s, r),
63
+ ce: (e, t) => new CustomEvent(e, t)
64
+ }, ve = (e) => Promise.resolve(e), ge = /* @__PURE__ */ (() => {
65
+ try {
66
+ return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
67
+ } catch (e) {
68
+ }
69
+ return !1;
70
+ })(), A = !1, C = [], K = [], he = (e, t) => (s) => {
71
+ e.push(s), A || (A = !0, g.$flags$ & 4 ? z(H) : g.raf(H));
72
+ }, D = (e) => {
73
+ for (let t = 0; t < e.length; t++)
74
+ try {
75
+ e[t](performance.now());
76
+ } catch (s) {
77
+ E(s);
78
+ }
79
+ e.length = 0;
80
+ }, H = () => {
81
+ D(C), D(K), (A = C.length > 0) && g.raf(H);
82
+ }, z = (e) => ve().then(e), pe = /* @__PURE__ */ he(K), F = {}, Q = (e) => (e = typeof e, e === "object" || e === "function");
83
+ function X(e) {
84
+ var t, s, r;
85
+ return (r = (s = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : s.getAttribute("content")) != null ? r : void 0;
86
+ }
87
+ var ye = {};
88
+ ue(ye, {
89
+ err: () => Z,
90
+ map: () => Se,
91
+ ok: () => I,
92
+ unwrap: () => be,
93
+ unwrapErr: () => ke
94
+ });
95
+ var I = (e) => ({
96
+ isOk: !0,
97
+ isErr: !1,
98
+ value: e
99
+ }), Z = (e) => ({
100
+ isOk: !1,
101
+ isErr: !0,
102
+ value: e
103
+ });
104
+ function Se(e, t) {
105
+ if (e.isOk) {
106
+ const s = t(e.value);
107
+ return s instanceof Promise ? s.then((r) => I(r)) : I(s);
108
+ }
109
+ if (e.isErr) {
110
+ const s = e.value;
111
+ return Z(s);
112
+ }
113
+ throw "should never get here";
114
+ }
115
+ var be = (e) => {
116
+ if (e.isOk)
117
+ return e.value;
118
+ throw e.value;
119
+ }, ke = (e) => {
120
+ if (e.isErr)
121
+ return e.value;
122
+ throw e.value;
123
+ }, S = (e, t = "") => () => {
124
+ }, Ee = (e, t) => () => {
125
+ }, we = (e, t, ...s) => {
126
+ let r = null, n = null, a = !1, l = !1;
127
+ const o = [], i = (c) => {
128
+ for (let u = 0; u < c.length; u++)
129
+ r = c[u], Array.isArray(r) ? i(r) : r != null && typeof r != "boolean" && ((a = typeof e != "function" && !Q(r)) && (r = String(r)), a && l ? o[o.length - 1].$text$ += r : o.push(a ? N(null, r) : r), l = a);
130
+ };
131
+ if (i(s), t) {
132
+ t.key && (n = t.key);
133
+ {
134
+ const c = t.className || t.class;
135
+ c && (t.class = typeof c != "object" ? c : Object.keys(c).filter((u) => c[u]).join(" "));
136
+ }
137
+ }
138
+ const $ = N(e, null);
139
+ return $.$attrs$ = t, o.length > 0 && ($.$children$ = o), $.$key$ = n, $;
140
+ }, N = (e, t) => {
141
+ const s = {
142
+ $flags$: 0,
143
+ $tag$: e,
144
+ $text$: t,
145
+ $elm$: null,
146
+ $children$: null
147
+ };
148
+ return s.$attrs$ = null, s.$key$ = null, s;
149
+ }, xe = {}, Pe = (e) => e && e.$tag$ === xe, Te = (e, t) => e != null && !Q(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, _e = (e, t, s) => {
150
+ const r = g.ce(t, s);
151
+ return e.dispatchEvent(r), r;
152
+ }, M = /* @__PURE__ */ new WeakMap(), je = (e, t, s) => {
153
+ let r = _.get(e);
154
+ ge && s ? (r = r || new CSSStyleSheet(), typeof r == "string" ? r = t : r.replaceSync(t)) : r = t, _.set(e, r);
155
+ }, Le = (e, t, s) => {
156
+ var r;
157
+ const n = R(t), a = _.get(n);
158
+ if (e = e.nodeType === 11 ? e : y, a)
159
+ if (typeof a == "string") {
160
+ e = e.head || e;
161
+ let l = M.get(e), o;
162
+ if (l || M.set(e, l = /* @__PURE__ */ new Set()), !l.has(n)) {
163
+ {
164
+ o = y.createElement("style"), o.innerHTML = a;
165
+ const i = (r = g.$nonce$) != null ? r : X(y);
166
+ i != null && o.setAttribute("nonce", i), e.insertBefore(o, e.querySelector("link"));
167
+ }
168
+ t.$flags$ & 4 && (o.innerHTML += J), l && l.add(n);
169
+ }
170
+ } else
171
+ e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
172
+ return n;
173
+ }, Oe = (e) => {
174
+ const t = e.$cmpMeta$, s = e.$hostElement$, r = S("attachStyles", t.$tagName$);
175
+ Le(
176
+ s.getRootNode(),
177
+ t
178
+ ), r();
179
+ }, R = (e, t) => "sc-" + e.$tagName$, W = (e, t, s, r, n, a) => {
180
+ if (s !== r && (t.toLowerCase(), t === "class")) {
181
+ const l = e.classList, o = Y(s), i = Y(r);
182
+ l.remove(...o.filter(($) => $ && !i.includes($))), l.add(...i.filter(($) => $ && !o.includes($)));
183
+ }
184
+ }, Ae = /\s/, Y = (e) => e ? e.split(Ae) : [], V = (e, t, s) => {
185
+ const r = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, n = e && e.$attrs$ || F, a = t.$attrs$ || F;
186
+ for (const l of G(Object.keys(n)))
187
+ l in a || W(r, l, n[l], void 0);
188
+ for (const l of G(Object.keys(a)))
189
+ W(r, l, n[l], a[l]);
190
+ };
191
+ function G(e) {
192
+ return e.includes("ref") ? (
193
+ // we need to sort these to ensure that `'ref'` is the last attr
194
+ [...e.filter((t) => t !== "ref"), "ref"]
195
+ ) : (
196
+ // no need to sort, return the original array
197
+ e
198
+ );
199
+ }
200
+ var ee, j = (e, t, s, r) => {
201
+ const n = t.$children$[s];
202
+ let a = 0, l, o;
203
+ if (n.$text$ !== null)
204
+ l = n.$elm$ = y.createTextNode(n.$text$);
205
+ else if (l = n.$elm$ = y.createElement(
206
+ n.$tag$
207
+ ), V(null, n), n.$children$)
208
+ for (a = 0; a < n.$children$.length; ++a)
209
+ o = j(e, n, a), o && l.appendChild(o);
210
+ return l["s-hn"] = ee, l;
211
+ }, te = (e, t, s, r, n, a) => {
212
+ let l = e, o;
213
+ for (; n <= a; ++n)
214
+ r[n] && (o = j(null, s, n), o && (r[n].$elm$ = o, T(l, o, t)));
215
+ }, ne = (e, t, s) => {
216
+ for (let r = t; r <= s; ++r) {
217
+ const n = e[r];
218
+ if (n) {
219
+ const a = n.$elm$;
220
+ a && a.remove();
221
+ }
222
+ }
223
+ }, He = (e, t, s, r, n = !1) => {
224
+ let a = 0, l = 0, o = 0, i = 0, $ = t.length - 1, c = t[0], u = t[$], f = r.length - 1, d = r[0], m = r[f], v, h;
225
+ for (; a <= $ && l <= f; )
226
+ if (c == null)
227
+ c = t[++a];
228
+ else if (u == null)
229
+ u = t[--$];
230
+ else if (d == null)
231
+ d = r[++l];
232
+ else if (m == null)
233
+ m = r[--f];
234
+ else if (P(c, d, n))
235
+ k(c, d, n), c = t[++a], d = r[++l];
236
+ else if (P(u, m, n))
237
+ k(u, m, n), u = t[--$], m = r[--f];
238
+ else if (P(c, m, n))
239
+ k(c, m, n), T(e, c.$elm$, u.$elm$.nextSibling), c = t[++a], m = r[--f];
240
+ else if (P(u, d, n))
241
+ k(u, d, n), T(e, u.$elm$, c.$elm$), u = t[--$], d = r[++l];
242
+ else {
243
+ for (o = -1, i = a; i <= $; ++i)
244
+ if (t[i] && t[i].$key$ !== null && t[i].$key$ === d.$key$) {
245
+ o = i;
246
+ break;
247
+ }
248
+ o >= 0 ? (h = t[o], h.$tag$ !== d.$tag$ ? v = j(t && t[l], s, o) : (k(h, d, n), t[o] = void 0, v = h.$elm$), d = r[++l]) : (v = j(t && t[l], s, l), d = r[++l]), v && T(c.$elm$.parentNode, v, c.$elm$);
249
+ }
250
+ a > $ ? te(
251
+ e,
252
+ r[f + 1] == null ? null : r[f + 1].$elm$,
253
+ s,
254
+ r,
255
+ l,
256
+ f
257
+ ) : l > f && ne(t, a, $);
258
+ }, P = (e, t, s = !1) => e.$tag$ === t.$tag$ ? s ? !0 : e.$key$ === t.$key$ : !1, k = (e, t, s = !1) => {
259
+ const r = t.$elm$ = e.$elm$, n = e.$children$, a = t.$children$, l = t.$text$;
260
+ l === null ? (V(e, t), n !== null && a !== null ? He(r, n, t, a, s) : a !== null ? (e.$text$ !== null && (r.textContent = ""), te(r, null, t, a, 0, a.length - 1)) : n !== null && ne(n, 0, n.length - 1)) : e.$text$ !== l && (r.data = l);
261
+ }, T = (e, t, s) => e == null ? void 0 : e.insertBefore(t, s), Ie = (e, t, s = !1) => {
262
+ const r = e.$hostElement$, n = e.$vnode$ || N(null, null), a = Pe(t) ? t : we(null, null, t);
263
+ if (ee = r.tagName, s && a.$attrs$)
264
+ for (const l of Object.keys(a.$attrs$))
265
+ r.hasAttribute(l) && !["key", "ref", "style", "class"].includes(l) && (a.$attrs$[l] = r[l]);
266
+ a.$tag$ = null, a.$flags$ |= 4, e.$vnode$ = a, a.$elm$ = n.$elm$ = r, k(n, a, s);
267
+ }, se = (e, t) => {
268
+ t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((s) => e.$onRenderResolve$ = s));
269
+ }, q = (e, t) => {
270
+ if (e.$flags$ |= 16, e.$flags$ & 4) {
271
+ e.$flags$ |= 512;
272
+ return;
273
+ }
274
+ return se(e, e.$ancestorComponent$), pe(() => Ne(e, t));
275
+ }, Ne = (e, t) => {
276
+ const s = e.$hostElement$, r = S("scheduleUpdate", e.$cmpMeta$.$tagName$), n = e.$lazyInstance$;
277
+ if (!n)
278
+ throw new Error(
279
+ `Can't render component <${s.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`
280
+ );
281
+ let a;
282
+ return r(), Ue(a, () => ze(e, n, t));
283
+ }, Ue = (e, t) => Be(e) ? e.then(t).catch((s) => {
284
+ console.error(s), t();
285
+ }) : t(), Be = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", ze = (e, t, s) => x(void 0, null, function* () {
286
+ var r;
287
+ const n = e.$hostElement$, a = S("update", e.$cmpMeta$.$tagName$), l = n["s-rc"];
288
+ s && Oe(e);
289
+ const o = S("render", e.$cmpMeta$.$tagName$);
290
+ qe(e, t, n, s), l && (l.map((i) => i()), n["s-rc"] = void 0), o(), a();
291
+ {
292
+ const i = (r = n["s-p"]) != null ? r : [], $ = () => Ce(e);
293
+ i.length === 0 ? $() : (Promise.all(i).then($), e.$flags$ |= 4, i.length = 0);
294
+ }
295
+ }), qe = (e, t, s, r) => {
296
+ try {
297
+ t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, Ie(e, t, r);
298
+ } catch (n) {
299
+ E(n, e.$hostElement$);
300
+ }
301
+ return null;
302
+ }, Ce = (e) => {
303
+ const t = e.$cmpMeta$.$tagName$, s = e.$hostElement$, r = S("postUpdate", t), n = e.$ancestorComponent$;
304
+ e.$flags$ & 64 ? r() : (e.$flags$ |= 64, le(s), r(), e.$onReadyResolve$(s), n || re()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && z(() => q(e, !1)), e.$flags$ &= -517;
305
+ }, re = (e) => {
306
+ le(y.documentElement), z(() => _e(B, "appload", { detail: { namespace: oe } }));
307
+ }, le = (e) => {
308
+ var t;
309
+ return e.classList.add((t = $e.hydratedSelectorName) != null ? t : "hydrated");
310
+ }, De = (e, t) => b(e).$instanceValues$.get(t), Fe = (e, t, s, r) => {
311
+ const n = b(e);
312
+ if (!n)
313
+ throw new Error(
314
+ `Couldn't find host element for "${r.$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/ionic-team/stencil/issues/5457).`
315
+ );
316
+ const a = n.$hostElement$, l = n.$instanceValues$.get(t), o = n.$flags$, i = n.$lazyInstance$;
317
+ s = Te(s, r.$members$[t][0]);
318
+ const $ = Number.isNaN(l) && Number.isNaN(s), c = s !== l && !$;
319
+ if ((!(o & 8) || l === void 0) && c && (n.$instanceValues$.set(t, s), i)) {
320
+ if (r.$watchers$ && o & 128) {
321
+ const u = r.$watchers$[t];
322
+ u && u.map((f) => {
323
+ try {
324
+ i[f](s, l, t);
325
+ } catch (d) {
326
+ E(d, a);
327
+ }
328
+ });
329
+ }
330
+ (o & 18) === 2 && q(n, !1);
331
+ }
332
+ }, ae = (e, t, s) => {
333
+ var r, n;
334
+ const a = e.prototype;
335
+ if (t.$members$ || t.$watchers$ || e.watchers) {
336
+ e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
337
+ const l = Object.entries((r = t.$members$) != null ? r : {});
338
+ if (l.map(([o, [i]]) => {
339
+ (i & 31 || s & 2 && i & 32) && Object.defineProperty(a, o, {
340
+ get() {
341
+ return De(this, o);
342
+ },
343
+ set($) {
344
+ Fe(this, o, $, t);
345
+ },
346
+ configurable: !0,
347
+ enumerable: !0
348
+ });
349
+ }), s & 1) {
350
+ const o = /* @__PURE__ */ new Map();
351
+ a.attributeChangedCallback = function(i, $, c) {
352
+ g.jmp(() => {
353
+ var u;
354
+ const f = o.get(i);
355
+ if (this.hasOwnProperty(f))
356
+ c = this[f], delete this[f];
357
+ else {
358
+ if (a.hasOwnProperty(f) && typeof this[f] == "number" && this[f] == c)
359
+ return;
360
+ if (f == null) {
361
+ const d = b(this), m = d == null ? void 0 : d.$flags$;
362
+ if (m && !(m & 8) && m & 128 && c !== $) {
363
+ const v = d.$lazyInstance$, h = (u = t.$watchers$) == null ? void 0 : u[i];
364
+ h == null || h.forEach((p) => {
365
+ v[p] != null && v[p].call(v, c, $, i);
366
+ });
367
+ }
368
+ return;
369
+ }
370
+ }
371
+ this[f] = c === null && typeof this[f] == "boolean" ? !1 : c;
372
+ });
373
+ }, e.observedAttributes = Array.from(
374
+ /* @__PURE__ */ new Set([
375
+ ...Object.keys((n = t.$watchers$) != null ? n : {}),
376
+ ...l.filter(
377
+ ([i, $]) => $[0] & 15
378
+ /* HasAttribute */
379
+ ).map(([i, $]) => {
380
+ const c = $[1] || i;
381
+ return o.set(c, i), c;
382
+ })
383
+ ])
384
+ );
385
+ }
386
+ }
387
+ return e;
388
+ }, Me = (e, t, s, r) => x(void 0, null, function* () {
389
+ let n;
390
+ if (!(t.$flags$ & 32)) {
391
+ if (t.$flags$ |= 32, s.$lazyBundleId$) {
392
+ const i = de(s);
393
+ if (i && "then" in i) {
394
+ const c = Ee();
395
+ n = yield i, c();
396
+ } else
397
+ n = i;
398
+ if (!n)
399
+ throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);
400
+ n.isProxied || (s.$watchers$ = n.watchers, ae(
401
+ n,
402
+ s,
403
+ 2
404
+ /* proxyState */
405
+ ), n.isProxied = !0);
406
+ const $ = S("createInstance", s.$tagName$);
407
+ t.$flags$ |= 8;
408
+ try {
409
+ new n(t);
410
+ } catch (c) {
411
+ E(c);
412
+ }
413
+ t.$flags$ &= -9, t.$flags$ |= 128, $();
414
+ } else {
415
+ n = e.constructor;
416
+ const i = e.localName;
417
+ customElements.whenDefined(i).then(
418
+ () => t.$flags$ |= 128
419
+ /* isWatchReady */
420
+ );
421
+ }
422
+ if (n && n.style) {
423
+ let i;
424
+ typeof n.style == "string" && (i = n.style);
425
+ const $ = R(s);
426
+ if (!_.has($)) {
427
+ const c = S("registerStyles", s.$tagName$);
428
+ je($, i, !!(s.$flags$ & 1)), c();
429
+ }
430
+ }
431
+ }
432
+ const a = t.$ancestorComponent$, l = () => q(t, !0);
433
+ a && a["s-rc"] ? a["s-rc"].push(l) : l();
434
+ }), We = (e) => {
435
+ }, Ye = (e) => {
436
+ if (!(g.$flags$ & 1)) {
437
+ const t = b(e), s = t.$cmpMeta$, r = S("connectedCallback", s.$tagName$);
438
+ if (t.$flags$ & 1)
439
+ t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => We());
440
+ else {
441
+ t.$flags$ |= 1;
442
+ {
443
+ let n = e;
444
+ for (; n = n.parentNode || n.host; )
445
+ if (n["s-p"]) {
446
+ se(t, t.$ancestorComponent$ = n);
447
+ break;
448
+ }
449
+ }
450
+ s.$members$ && Object.entries(s.$members$).map(([n, [a]]) => {
451
+ if (a & 31 && e.hasOwnProperty(n)) {
452
+ const l = e[n];
453
+ delete e[n], e[n] = l;
454
+ }
455
+ }), Me(e, t, s);
456
+ }
457
+ r();
458
+ }
459
+ }, Ge = (e) => {
460
+ }, Je = (e) => x(void 0, null, function* () {
461
+ if (!(g.$flags$ & 1)) {
462
+ const t = b(e);
463
+ t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => Ge());
464
+ }
465
+ }), Xe = (e, t = {}) => {
466
+ var s;
467
+ const r = S(), n = [], a = t.exclude || [], l = B.customElements, o = y.head, i = /* @__PURE__ */ o.querySelector("meta[charset]"), $ = /* @__PURE__ */ y.createElement("style"), c = [];
468
+ let u, f = !0;
469
+ Object.assign(g, t), g.$resourcesUrl$ = new URL(t.resourcesUrl || "./", y.baseURI).href;
470
+ let d = !1;
471
+ if (e.map((m) => {
472
+ m[1].map((v) => {
473
+ var h;
474
+ const p = {
475
+ $flags$: v[0],
476
+ $tagName$: v[1],
477
+ $members$: v[2],
478
+ $listeners$: v[3]
479
+ };
480
+ p.$flags$ & 4 && (d = !0), p.$members$ = v[2], p.$watchers$ = (h = v[4]) != null ? h : {};
481
+ const w = p.$tagName$, ie = class extends HTMLElement {
482
+ // StencilLazyHost
483
+ constructor(L) {
484
+ super(L), this.hasRegisteredEventListeners = !1, L = this, fe(L, p);
485
+ }
486
+ connectedCallback() {
487
+ b(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), u && (clearTimeout(u), u = null), f ? c.push(this) : g.jmp(() => Ye(this));
488
+ }
489
+ disconnectedCallback() {
490
+ g.jmp(() => Je(this));
491
+ }
492
+ componentOnReady() {
493
+ return b(this).$onReadyPromise$;
494
+ }
495
+ };
496
+ p.$lazyBundleId$ = m[0], !a.includes(w) && !l.get(w) && (n.push(w), l.define(
497
+ w,
498
+ ae(
499
+ ie,
500
+ p,
501
+ 1
502
+ /* isElementConstructor */
503
+ )
504
+ ));
505
+ });
506
+ }), n.length > 0 && (d && ($.textContent += J), $.textContent += n.sort() + me, $.innerHTML.length)) {
507
+ $.setAttribute("data-styles", "");
508
+ const m = (s = g.$nonce$) != null ? s : X(y);
509
+ m != null && $.setAttribute("nonce", m), o.insertBefore($, i ? i.nextSibling : o.firstChild);
510
+ }
511
+ f = !1, c.length ? c.map((m) => m.connectedCallback()) : g.jmp(() => u = setTimeout(re, 30)), r();
512
+ };
513
+ export {
514
+ xe as H,
515
+ Xe as b,
516
+ we as h,
517
+ ve as p,
518
+ Qe as r
519
+ };