@everymatrix/casino-tournaments-thumbnail-controller 1.86.2 → 1.86.3
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/components/{CasinoTournamentsThumbnail-J7Of-3j4.js → CasinoTournamentsThumbnail-BQPDlD-6.js} +665 -633
- package/components/CasinoTournamentsThumbnail-CSDNBS1u.cjs +18 -0
- package/components/{CasinoTournamentsThumbnail-Cm8ygS_j.js → CasinoTournamentsThumbnail-b84P5LC-.js} +668 -636
- package/components/CasinoTournamentsThumbnailController-B5oA7xOB.cjs +3 -0
- package/components/{CasinoTournamentsThumbnailController-yXv_8aa_.js → CasinoTournamentsThumbnailController-CHXnZMEK.js} +566 -615
- package/components/{CasinoTournamentsThumbnailController-DGTv-6Vg.js → CasinoTournamentsThumbnailController-Dk5ObYFQ.js} +522 -571
- package/components/{CasinoTournamentsThumbnailDuration-DMSfakAi.js → CasinoTournamentsThumbnailDuration-BRCX2YcD.js} +65 -65
- package/components/{CasinoTournamentsThumbnailDuration-IvKEkgj7.cjs → CasinoTournamentsThumbnailDuration-BmsYPOji.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailDuration-ShCMXlPG.js → CasinoTournamentsThumbnailDuration-DesoRPY7.js} +65 -65
- package/components/{CasinoTournamentsThumbnailGamesSlider-l7mPDvzQ.js → CasinoTournamentsThumbnailGamesSlider-BumjreGL.js} +88 -88
- package/components/{CasinoTournamentsThumbnailGamesSlider-C9n0GZT3.js → CasinoTournamentsThumbnailGamesSlider-CuFhSsUz.js} +88 -88
- package/components/{CasinoTournamentsThumbnailGamesSlider-HEUEl0MK.cjs → CasinoTournamentsThumbnailGamesSlider-DsUSEf8W.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailPrizes-CEvbFf9m.js → CasinoTournamentsThumbnailPrizes-BrDPw5rZ.js} +85 -85
- package/components/{CasinoTournamentsThumbnailPrizes-Ctx2j7e2.js → CasinoTournamentsThumbnailPrizes-CReAnTE_.js} +85 -85
- package/components/{CasinoTournamentsThumbnailPrizes-BRbgsA4Y.cjs → CasinoTournamentsThumbnailPrizes-DMD910A-.cjs} +1 -1
- package/es2015/casino-tournaments-thumbnail-controller.cjs +1 -1
- package/es2015/casino-tournaments-thumbnail-controller.js +1 -1
- package/esnext/casino-tournaments-thumbnail-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/index-97d17652-DvplcHtm.js +558 -0
- package/stencil/index-97d17652-ILzgTtTR.cjs +1 -0
- package/stencil/index-97d17652-p-iQtjus.js +542 -0
- package/stencil/index-b2193545-RI3PckwN.js +503 -0
- package/stencil/index-b2193545-qC7jkIQW.cjs +1 -0
- package/stencil/index-b2193545-w9rTFozR.js +519 -0
- package/stencil/{ui-image-O0NdjWCu.js → ui-image-2Wo8bNh1.js} +1 -1
- package/stencil/{ui-image-DUHLTRXs.cjs → ui-image-83gG286t.cjs} +1 -1
- package/stencil/{ui-image-Cs_BBOYl.js → ui-image-DLoBAw4w.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-BKRtoUuG.js → ui-image-b7b48fe5-CBB2FKRZ.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-MC0x5ZQd.cjs → ui-image-b7b48fe5-DjCO-ZF4.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-HA45CrsG.js → ui-image-b7b48fe5-rCWcyktd.js} +1 -1
- package/stencil/{ui-image_2-CmVho0dS.js → ui-image_2-BESQEo1l.js} +2 -2
- package/stencil/{ui-image_2-Daq38JGa.js → ui-image_2-BfZmduAK.js} +2 -2
- package/stencil/{ui-image_2-CyqE6j_W.cjs → ui-image_2-ZFidgTXM.cjs} +1 -1
- package/stencil/{ui-skeleton-i9jZ615T.js → ui-skeleton-BOZjVV7m.js} +2 -2
- package/stencil/{ui-skeleton-Yn79cPkz.js → ui-skeleton-Czz99elh.js} +2 -2
- package/stencil/{ui-skeleton-ed169f8f-UdVwF_E9.js → ui-skeleton-ed169f8f-DTd-f9E3.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-BRUG1h6n.cjs → ui-skeleton-ed169f8f-DiR5y84l.cjs} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-B-SERL0D.js → ui-skeleton-ed169f8f-F5Pn7BxE.js} +1 -1
- package/stencil/{ui-skeleton-B0E7XBJC.cjs → ui-skeleton-hbyf6ZV-.cjs} +1 -1
- package/components/CasinoTournamentsThumbnail-DgXXegVa.cjs +0 -5
- package/components/CasinoTournamentsThumbnailController-DD3a1bpc.cjs +0 -16
- package/stencil/index-97d17652-B6BYeRne.js +0 -542
- package/stencil/index-97d17652-BOr4KAqq.js +0 -558
- package/stencil/index-97d17652-zTl06Vn9.cjs +0 -1
- package/stencil/index-b2193545-BpG2toSK.js +0 -503
- package/stencil/index-b2193545-DfeVnolx.cjs +0 -1
- package/stencil/index-b2193545-DuA2iMSm.js +0 -519
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsThumbnail-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsThumbnail-CSDNBS1u.cjs");function _(l,t){e.addMessages(l,t)}const y={en:{prizes:"Prizes",noprizes:"No available prizes",place:"place"},hr:{prizes:"Nagrade",noprizes:"Nema dostupnih nagrada",place:"mjesto"},"zh-hk":{prizes:"獎品",noprizes:"沒有可用的獎品",place:"位置"},fr:{prizes:"Prix",noprizes:"Aucun prix disponible",place:"place"},ro:{prizes:"Premii",noprizes:"Nu sunt disponibile premii",place:"poziție"},tr:{prizes:"Ödüller",noprizes:"Mevcut ödül yok",place:"yer"},el:{prizes:"Έπαθλα",noprizes:"Μη διαθέσιμα έπαθλα",place:"θέση"},es:{prizes:"Premios",noprizes:"No hay premios disponibles",place:"lugar"},hu:{prizes:"Nyeremények",noprizes:"Nincs elérhető nyeremény",place:"helyezés"},pt:{prizes:"Prêmios",noprizes:"Não há prêmios disponíveis",place:"place"},"en-us":{prizes:"Prizes",noprizes:"No available prizes",place:"place"}};function k(l){e.append_styles(l,"svelte-1bsrm1d","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}span{color:var(--emw--color-gray-100, #E6E6E6)}.TournamentPrizes{font-size:11px;margin-left:20px;margin-right:20px;display:flex;gap:5px}.PrizesTitle{padding-top:8px}.Prizes{padding-left:20px;flex-wrap:wrap;display:flex;gap:20px;width:100%;min-height:50px;padding-top:8px}.Prize{flex-grow:1;color:var(--emw--color-gray-300, #58586B)}.Prize.Prize0 span{color:#FECF00}.Prize.Prize1 span{color:#D9B206}.Prize.Prize2 span{color:#9B8007}.Prize p{color:var(--emw--color-white, #FFFFFF)}")}function P(l,t,n){const i=l.slice();return i[12]=t[n],i[14]=n,i}function b(l){let t,n=e.ensure_array_like(l[1]),i=[];for(let r=0;r<n.length;r+=1)i[r]=T(P(l,n,r));let a=null;return n.length||(a=v(l)),{c(){t=e.element("div");for(let r=0;r<i.length;r+=1)i[r].c();a&&a.c(),e.attr(t,"class","Prizes"),e.attr(t,"part","Prizes")},m(r,c){e.insert(r,t,c);for(let s=0;s<i.length;s+=1)i[s]&&i[s].m(t,null);a&&a.m(t,null)},p(r,c){if(c&6){n=e.ensure_array_like(r[1]);let s;for(s=0;s<n.length;s+=1){const d=P(r,n,s);i[s]?i[s].p(d,c):(i[s]=T(d),i[s].c(),i[s].m(t,null))}for(;s<i.length;s+=1)i[s].d(1);i.length=n.length,!n.length&&a?a.p(r,c):n.length?a&&(a.d(1),a=null):(a=v(r),a.c(),a.m(t,null))}},d(r){r&&e.detach(t),e.destroy_each(i,r),a&&a.d()}}}function v(l){let t,n=l[2]("noprizes")+"",i;return{c(){t=e.element("p"),i=e.text(n)},m(a,r){e.insert(a,t,r),e.append(t,i)},p(a,r){r&4&&n!==(n=a[2]("noprizes")+"")&&e.set_data(i,n)},d(a){a&&e.detach(t)}}}function T(l){let t,n,i,a=(l[12].count>1?`${l[12].rank}~${l[12].rank+l[12].count-1}`:l[12].rank)+"",r,c,s=l[2]("place")+"",d,p,u=l[12].name+"",f,g;return{c(){t=e.element("div"),n=e.element("p"),i=e.element("span"),r=e.text(a),c=e.space(),d=e.text(s),p=e.text(": "),f=e.text(u),g=e.space(),e.attr(i,"class","PrizeRank"),e.attr(i,"part","PrizeRank"),e.attr(n,"class","PrizeText"),e.attr(n,"part","PrizeText"),e.attr(t,"class","Prize Prize"+l[14]),e.attr(t,"part","Prize Prize"+l[14])},m(m,o){e.insert(m,t,o),e.append(t,n),e.append(n,i),e.append(i,r),e.append(n,c),e.append(n,d),e.append(n,p),e.append(n,f),e.append(t,g)},p(m,o){o&2&&a!==(a=(m[12].count>1?`${m[12].rank}~${m[12].rank+m[12].count-1}`:m[12].rank)+"")&&e.set_data(r,a),o&4&&s!==(s=m[2]("place")+"")&&e.set_data(d,s),o&2&&u!==(u=m[12].name+"")&&e.set_data(f,u)},d(m){m&&e.detach(t)}}}function S(l){let t,n,i,a,r,c=l[2]("prizes")+"",s,d,p=l[1]&&b(l);return{c(){t=e.element("div"),n=e.element("div"),i=e.element("span"),i.innerHTML='<svg part="TournamentPrizesSvg" xmlns="http://www.w3.org/2000/svg" width="30" height="27.454" viewBox="0 0 30 27.454"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" part="a TournamentPrizesSvgA" d="M35.84,12.887a1.023,1.023,0,0,0-.853-.481h-5.2l.242-1.456a1.023,1.023,0,0,0-1.023-1.19H12.977a1.023,1.023,0,0,0-1.023,1.19l.242,1.456H7.022a1.023,1.023,0,0,0-.921,1.47l2.967,6.077a6.48,6.48,0,0,0,5.163,3.581,7.227,7.227,0,0,0,3.7,3.963v2.667h-.426a3.525,3.525,0,1,0,0,7.049H24.5a3.525,3.525,0,1,0,0-7.049h-.426V27.5a7.227,7.227,0,0,0,3.7-3.963,6.48,6.48,0,0,0,5.167-3.581L35.9,13.876a1.023,1.023,0,0,0-.058-.989ZM10.914,19.05l-2.241-4.6h3.891l1.153,6.916A4.406,4.406,0,0,1,10.914,19.05ZM25.977,33.687A1.477,1.477,0,0,1,24.5,35.164H17.509a1.478,1.478,0,0,1,0-2.957H24.5A1.48,1.48,0,0,1,25.977,33.687Zm-3.949-3.526H19.982V28.094a6.729,6.729,0,0,0,2.046,0Zm4.123-8.383a5.218,5.218,0,0,1-10.293,0L14.184,11.8H27.826ZM31.1,19.05a4.406,4.406,0,0,1-2.8,2.309l1.153-6.916h3.891Z" transform="translate(-5.999 -9.76)"></path></svg>',a=e.space(),r=e.element("p"),s=e.text(c),d=e.space(),p&&p.c(),e.attr(i,"class","TournamentPrizesIconWrapper"),e.attr(i,"part","TournamentPrizesIconWrapper"),e.attr(r,"class","PrizesTitle"),e.attr(r,"part","PrizesTitle"),e.attr(n,"class","TournamentPrizesIconSection"),e.attr(n,"part","TournamentPrizesIconSection"),e.attr(t,"class","TournamentPrizes"),e.attr(t,"part","TournamentPrizes")},m(u,f){e.insert(u,t,f),e.append(t,n),e.append(n,i),e.append(n,a),e.append(n,r),e.append(r,s),e.append(t,d),p&&p.m(t,null),l[8](t)},p(u,[f]){f&4&&c!==(c=u[2]("prizes")+"")&&e.set_data(s,c),u[1]?p?p.p(u,f):(p=b(u),p.c(),p.m(t,null)):p&&(p.d(1),p=null)},i:e.noop,o:e.noop,d(u){u&&e.detach(t),p&&p.d(),l[8](null)}}}function F(l,t,n){let i;e.component_subscribe(l,e.$format,o=>n(2,i=o));let{tourid:a=""}=t,{clientstyling:r=""}=t,{clientstylingurl:c=""}=t,{translationurl:s=""}=t,{mbsource:d}=t,p,u;const f=()=>{fetch(s).then(h=>h.json()).then(h=>{Object.keys(h).forEach(z=>{_(z,h[z])})}).catch(h=>{console.log(h)})};Object.keys(y).forEach(o=>{_(o,y[o])});const g=o=>{o.data&&o.data.type==`TournamentPrizes_${a}`&&n(1,u=o.data.prizes)};e.onMount(()=>(window.postMessage({type:"TournamentThumbnailMounted"},window.location.href),window.addEventListener("message",g,!1),()=>{window.removeEventListener("message",g)}));function m(o){e.binding_callbacks[o?"unshift":"push"](()=>{p=o,n(0,p)})}return l.$$set=o=>{"tourid"in o&&n(3,a=o.tourid),"clientstyling"in o&&n(4,r=o.clientstyling),"clientstylingurl"in o&&n(5,c=o.clientstylingurl),"translationurl"in o&&n(6,s=o.translationurl),"mbsource"in o&&n(7,d=o.mbsource)},l.$$.update=()=>{l.$$.dirty&17&&r&&p&&e.setClientStyling(p,r),l.$$.dirty&33&&c&&p&&e.setClientStylingURL(p,c),l.$$.dirty&129&&d&&p&&e.setStreamStyling(p,`${d}.Style`),l.$$.dirty&64&&s&&f()},[p,u,i,a,r,c,s,d,m]}class w extends e.SvelteComponent{constructor(t){super(),e.init(this,t,F,S,e.safe_not_equal,{tourid:3,clientstyling:4,clientstylingurl:5,translationurl:6,mbsource:7},k)}get tourid(){return this.$$.ctx[3]}set tourid(t){this.$$set({tourid:t}),e.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[6]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[7]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(w,{tourid:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},[],[],!0);exports.default=w;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoTournamentsThumbnailController-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoTournamentsThumbnailController-B5oA7xOB.cjs")).then(e=>e.CasinoTournamentsThumbnailController_ce).then(({default:e})=>{!customElements.get("casino-tournaments-thumbnail-controller")&&customElements.define("casino-tournaments-thumbnail-controller",e.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoTournamentsThumbnailController-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoTournamentsThumbnailController-CHXnZMEK.js").then((e) => e.C).then(
|
|
14
14
|
({ default: e }) => {
|
|
15
15
|
!customElements.get("casino-tournaments-thumbnail-controller") && customElements.define(
|
|
16
16
|
"casino-tournaments-thumbnail-controller",
|
package/package.json
CHANGED
|
@@ -0,0 +1,558 @@
|
|
|
1
|
+
var T = (e, t, n) => new Promise((s, r) => {
|
|
2
|
+
var i = (a) => {
|
|
3
|
+
try {
|
|
4
|
+
o(n.next(a));
|
|
5
|
+
} catch (c) {
|
|
6
|
+
r(c);
|
|
7
|
+
}
|
|
8
|
+
}, l = (a) => {
|
|
9
|
+
try {
|
|
10
|
+
o(n.throw(a));
|
|
11
|
+
} catch (c) {
|
|
12
|
+
r(c);
|
|
13
|
+
}
|
|
14
|
+
}, o = (a) => a.done ? s(a.value) : Promise.resolve(a.value).then(i, l);
|
|
15
|
+
o((n = n.apply(e, t)).next());
|
|
16
|
+
});
|
|
17
|
+
const pe = "ui-image", B = (
|
|
18
|
+
/* ui-image */
|
|
19
|
+
{ allRenderFn: !0, appendChildSlotFix: !1, asyncLoading: !0, asyncQueue: !1, attachStyles: !0, cloneNodeFix: !1, cmpDidLoad: !0, cmpDidRender: !1, cmpDidUnload: !1, cmpDidUpdate: !1, cmpShouldUpdate: !1, cmpWillLoad: !1, cmpWillRender: !1, cmpWillUpdate: !1, connectedCallback: !1, constructableCSS: !0, cssAnnotations: !0, devTools: !1, disconnectedCallback: !1, element: !1, event: !1, experimentalScopedSlotChanges: !1, experimentalSlotFixes: !1, formAssociated: !1, hasRenderFn: !0, hostListener: !1, hostListenerTarget: !1, hostListenerTargetBody: !1, hostListenerTargetDocument: !1, hostListenerTargetParent: !1, hostListenerTargetWindow: !1, hotModuleReplacement: !1, hydrateClientSide: !1, hydrateServerSide: !1, hydratedAttribute: !1, hydratedClass: !0, hydratedSelectorName: "hydrated", initializeNextTick: !1, invisiblePrehydration: !0, isDebug: !1, isDev: !1, isTesting: !1, lazyLoad: !0, lifecycle: !0, lifecycleDOMEvents: !1, member: !0, method: !1, mode: !1, observeAttribute: !0, profile: !1, prop: !0, propBoolean: !0, propMutable: !1, propNumber: !0, propString: !0, reflect: !1, scoped: !1, scopedSlotTextContentFix: !1, scriptDataOpts: !1, shadowDelegatesFocus: !1, shadowDom: !1, slot: !1, slotChildNodesFix: !1, slotRelocation: !1, state: !0, style: !0, svg: !1, taskQueue: !0, transformTagName: !1, updatable: !0, vdomAttribute: !0, vdomClass: !0, vdomFunctional: !1, vdomKey: !0, vdomListener: !0, vdomPropOrAttr: !0, vdomRef: !0, vdomRender: !0, vdomStyle: !0, vdomText: !0, vdomXlink: !1, watchCallback: !0 }
|
|
20
|
+
);
|
|
21
|
+
var ve = Object.defineProperty, he = (e, t) => {
|
|
22
|
+
for (var n in t)
|
|
23
|
+
ve(e, n, { get: t[n], enumerable: !0 });
|
|
24
|
+
}, F = /* @__PURE__ */ new WeakMap(), E = (e) => F.get(e), nt = (e, t) => F.set(t.$lazyInstance$ = e, t), ge = (e, t) => {
|
|
25
|
+
const n = {
|
|
26
|
+
$flags$: 0,
|
|
27
|
+
$hostElement$: e,
|
|
28
|
+
$cmpMeta$: t,
|
|
29
|
+
$instanceValues$: /* @__PURE__ */ new Map()
|
|
30
|
+
};
|
|
31
|
+
return n.$onReadyPromise$ = new Promise((s) => n.$onReadyResolve$ = s), e["s-p"] = [], e["s-rc"] = [], F.set(e, n);
|
|
32
|
+
}, W = (e, t) => t in e, k = (e, t) => (0, console.error)(e, t), C = /* @__PURE__ */ new Map(), ye = (e, t, n) => {
|
|
33
|
+
const s = e.$tagName$.replace(/-/g, "_"), r = e.$lazyBundleId$;
|
|
34
|
+
if (!r)
|
|
35
|
+
return;
|
|
36
|
+
const i = C.get(r);
|
|
37
|
+
if (i)
|
|
38
|
+
return i[s];
|
|
39
|
+
{
|
|
40
|
+
const l = (o) => (C.set(r, o), o[s]);
|
|
41
|
+
switch (r) {
|
|
42
|
+
case "ui-image_2":
|
|
43
|
+
return import(
|
|
44
|
+
/* webpackMode: "lazy" */
|
|
45
|
+
"./ui-image_2-BfZmduAK.js"
|
|
46
|
+
).then(l, k);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
return import(
|
|
50
|
+
/* @vite-ignore */
|
|
51
|
+
/* webpackInclude: /\.entry\.js$/ */
|
|
52
|
+
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
53
|
+
/* webpackMode: "lazy" */
|
|
54
|
+
`./${r}.entry.js`
|
|
55
|
+
).then((l) => (C.set(r, l), l[s]), k);
|
|
56
|
+
}, A = /* @__PURE__ */ new Map(), me = "{visibility:hidden}.hydrated{visibility:inherit}", K = "slot-fb{display:contents}slot-fb[hidden]{display:none}", _ = typeof window != "undefined" ? window : {}, m = _.document || { head: {} }, h = {
|
|
57
|
+
$flags$: 0,
|
|
58
|
+
$resourcesUrl$: "",
|
|
59
|
+
jmp: (e) => e(),
|
|
60
|
+
raf: (e) => requestAnimationFrame(e),
|
|
61
|
+
ael: (e, t, n, s) => e.addEventListener(t, n, s),
|
|
62
|
+
rel: (e, t, n, s) => e.removeEventListener(t, n, s),
|
|
63
|
+
ce: (e, t) => new CustomEvent(e, t)
|
|
64
|
+
}, Se = B.shadowDom, Ee = (e) => Promise.resolve(e), ke = /* @__PURE__ */ (() => {
|
|
65
|
+
try {
|
|
66
|
+
return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
|
|
67
|
+
} catch (e) {
|
|
68
|
+
}
|
|
69
|
+
return !1;
|
|
70
|
+
})(), j = !1, M = [], Z = [], be = (e, t) => (n) => {
|
|
71
|
+
e.push(n), j || (j = !0, h.$flags$ & 4 ? H(U) : h.raf(U));
|
|
72
|
+
}, R = (e) => {
|
|
73
|
+
for (let t = 0; t < e.length; t++)
|
|
74
|
+
try {
|
|
75
|
+
e[t](performance.now());
|
|
76
|
+
} catch (n) {
|
|
77
|
+
k(n);
|
|
78
|
+
}
|
|
79
|
+
e.length = 0;
|
|
80
|
+
}, U = () => {
|
|
81
|
+
R(M), R(Z), (j = M.length > 0) && h.raf(U);
|
|
82
|
+
}, H = (e) => Ee().then(e), xe = /* @__PURE__ */ be(Z), X = {}, z = (e) => (e = typeof e, e === "object" || e === "function");
|
|
83
|
+
function N(e) {
|
|
84
|
+
var t, n, s;
|
|
85
|
+
return (s = (n = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : n.getAttribute("content")) != null ? s : void 0;
|
|
86
|
+
}
|
|
87
|
+
var Te = {};
|
|
88
|
+
he(Te, {
|
|
89
|
+
err: () => V,
|
|
90
|
+
map: () => Pe,
|
|
91
|
+
ok: () => D,
|
|
92
|
+
unwrap: () => Le,
|
|
93
|
+
unwrapErr: () => Ae
|
|
94
|
+
});
|
|
95
|
+
var D = (e) => ({
|
|
96
|
+
isOk: !0,
|
|
97
|
+
isErr: !1,
|
|
98
|
+
value: e
|
|
99
|
+
}), V = (e) => ({
|
|
100
|
+
isOk: !1,
|
|
101
|
+
isErr: !0,
|
|
102
|
+
value: e
|
|
103
|
+
});
|
|
104
|
+
function Pe(e, t) {
|
|
105
|
+
if (e.isOk) {
|
|
106
|
+
const n = t(e.value);
|
|
107
|
+
return n instanceof Promise ? n.then((s) => D(s)) : D(n);
|
|
108
|
+
}
|
|
109
|
+
if (e.isErr) {
|
|
110
|
+
const n = e.value;
|
|
111
|
+
return V(n);
|
|
112
|
+
}
|
|
113
|
+
throw "should never get here";
|
|
114
|
+
}
|
|
115
|
+
var Le = (e) => {
|
|
116
|
+
if (e.isOk)
|
|
117
|
+
return e.value;
|
|
118
|
+
throw e.value;
|
|
119
|
+
}, Ae = (e) => {
|
|
120
|
+
if (e.isErr)
|
|
121
|
+
return e.value;
|
|
122
|
+
throw e.value;
|
|
123
|
+
}, S = (e, t = "") => () => {
|
|
124
|
+
}, we = (e, t) => () => {
|
|
125
|
+
}, _e = (e, t, ...n) => {
|
|
126
|
+
let s = null, r = null, i = !1, l = !1;
|
|
127
|
+
const o = [], a = ($) => {
|
|
128
|
+
for (let f = 0; f < $.length; f++)
|
|
129
|
+
s = $[f], Array.isArray(s) ? a(s) : s != null && typeof s != "boolean" && ((i = typeof e != "function" && !z(s)) && (s = String(s)), i && l ? o[o.length - 1].$text$ += s : o.push(i ? I(null, s) : s), l = i);
|
|
130
|
+
};
|
|
131
|
+
if (a(n), t) {
|
|
132
|
+
t.key && (r = t.key);
|
|
133
|
+
{
|
|
134
|
+
const $ = t.className || t.class;
|
|
135
|
+
$ && (t.class = typeof $ != "object" ? $ : Object.keys($).filter((f) => $[f]).join(" "));
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
const c = I(e, null);
|
|
139
|
+
return c.$attrs$ = t, o.length > 0 && (c.$children$ = o), c.$key$ = r, c;
|
|
140
|
+
}, I = (e, t) => {
|
|
141
|
+
const n = {
|
|
142
|
+
$flags$: 0,
|
|
143
|
+
$tag$: e,
|
|
144
|
+
$text$: t,
|
|
145
|
+
$elm$: null,
|
|
146
|
+
$children$: null
|
|
147
|
+
};
|
|
148
|
+
return n.$attrs$ = null, n.$key$ = null, n;
|
|
149
|
+
}, Oe = {}, Ce = (e) => e && e.$tag$ === Oe, je = (e, t) => e != null && !z(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, rt = (e) => E(e).$hostElement$, Ue = (e, t, n) => {
|
|
150
|
+
const s = h.ce(t, n);
|
|
151
|
+
return e.dispatchEvent(s), s;
|
|
152
|
+
}, G = /* @__PURE__ */ new WeakMap(), De = (e, t, n) => {
|
|
153
|
+
let s = A.get(e);
|
|
154
|
+
ke && n ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = t : s.replaceSync(t)) : s = t, A.set(e, s);
|
|
155
|
+
}, Ie = (e, t, n) => {
|
|
156
|
+
var s;
|
|
157
|
+
const r = ee(t), i = A.get(r);
|
|
158
|
+
if (e = e.nodeType === 11 ? e : m, i)
|
|
159
|
+
if (typeof i == "string") {
|
|
160
|
+
e = e.head || e;
|
|
161
|
+
let l = G.get(e), o;
|
|
162
|
+
if (l || G.set(e, l = /* @__PURE__ */ new Set()), !l.has(r)) {
|
|
163
|
+
{
|
|
164
|
+
o = m.createElement("style"), o.innerHTML = i;
|
|
165
|
+
const a = (s = h.$nonce$) != null ? s : N(m);
|
|
166
|
+
a != null && o.setAttribute("nonce", a), e.insertBefore(o, e.querySelector("link"));
|
|
167
|
+
}
|
|
168
|
+
t.$flags$ & 4 && (o.innerHTML += K), l && l.add(r);
|
|
169
|
+
}
|
|
170
|
+
} else
|
|
171
|
+
e.adoptedStyleSheets.includes(i) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, i]);
|
|
172
|
+
return r;
|
|
173
|
+
}, Be = (e) => {
|
|
174
|
+
const t = e.$cmpMeta$, n = e.$hostElement$, s = S("attachStyles", t.$tagName$);
|
|
175
|
+
Ie(
|
|
176
|
+
n.getRootNode(),
|
|
177
|
+
t
|
|
178
|
+
), s();
|
|
179
|
+
}, ee = (e, t) => "sc-" + e.$tagName$, Q = (e, t, n, s, r, i) => {
|
|
180
|
+
if (n !== s) {
|
|
181
|
+
let l = W(e, t), o = t.toLowerCase();
|
|
182
|
+
if (t === "class") {
|
|
183
|
+
const a = e.classList, c = Y(n), $ = Y(s);
|
|
184
|
+
a.remove(...c.filter((f) => f && !$.includes(f))), a.add(...$.filter((f) => f && !c.includes(f)));
|
|
185
|
+
} else if (t === "style") {
|
|
186
|
+
for (const a in n)
|
|
187
|
+
(!s || s[a] == null) && (a.includes("-") ? e.style.removeProperty(a) : e.style[a] = "");
|
|
188
|
+
for (const a in s)
|
|
189
|
+
(!n || s[a] !== n[a]) && (a.includes("-") ? e.style.setProperty(a, s[a]) : e.style[a] = s[a]);
|
|
190
|
+
} else if (t !== "key")
|
|
191
|
+
if (t === "ref")
|
|
192
|
+
s && s(e);
|
|
193
|
+
else if (!l && t[0] === "o" && t[1] === "n") {
|
|
194
|
+
if (t[2] === "-" ? t = t.slice(3) : W(_, o) ? t = o.slice(2) : t = o[2] + t.slice(3), n || s) {
|
|
195
|
+
const a = t.endsWith(te);
|
|
196
|
+
t = t.replace(He, ""), n && h.rel(e, t, n, a), s && h.ael(e, t, s, a);
|
|
197
|
+
}
|
|
198
|
+
} else {
|
|
199
|
+
const a = z(s);
|
|
200
|
+
if ((l || a && s !== null) && !r)
|
|
201
|
+
try {
|
|
202
|
+
if (e.tagName.includes("-"))
|
|
203
|
+
e[t] = s;
|
|
204
|
+
else {
|
|
205
|
+
const c = s == null ? "" : s;
|
|
206
|
+
t === "list" ? l = !1 : (n == null || e[t] != c) && (e[t] = c);
|
|
207
|
+
}
|
|
208
|
+
} catch (c) {
|
|
209
|
+
}
|
|
210
|
+
s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!l || i & 4 || r) && !a && (s = s === !0 ? "" : s, e.setAttribute(t, s));
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
}, Fe = /\s/, Y = (e) => e ? e.split(Fe) : [], te = "Capture", He = new RegExp(te + "$"), se = (e, t, n) => {
|
|
214
|
+
const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, r = e && e.$attrs$ || X, i = t.$attrs$ || X;
|
|
215
|
+
for (const l of J(Object.keys(r)))
|
|
216
|
+
l in i || Q(s, l, r[l], void 0, n, t.$flags$);
|
|
217
|
+
for (const l of J(Object.keys(i)))
|
|
218
|
+
Q(s, l, r[l], i[l], n, t.$flags$);
|
|
219
|
+
};
|
|
220
|
+
function J(e) {
|
|
221
|
+
return e.includes("ref") ? (
|
|
222
|
+
// we need to sort these to ensure that `'ref'` is the last attr
|
|
223
|
+
[...e.filter((t) => t !== "ref"), "ref"]
|
|
224
|
+
) : (
|
|
225
|
+
// no need to sort, return the original array
|
|
226
|
+
e
|
|
227
|
+
);
|
|
228
|
+
}
|
|
229
|
+
var ne, re = !1, le = !1, w = (e, t, n, s) => {
|
|
230
|
+
const r = t.$children$[n];
|
|
231
|
+
let i = 0, l, o;
|
|
232
|
+
if (r.$text$ !== null)
|
|
233
|
+
l = r.$elm$ = m.createTextNode(r.$text$);
|
|
234
|
+
else if (l = r.$elm$ = m.createElement(
|
|
235
|
+
!re && B.slotRelocation && r.$flags$ & 2 ? "slot-fb" : r.$tag$
|
|
236
|
+
), se(null, r, le), r.$children$)
|
|
237
|
+
for (i = 0; i < r.$children$.length; ++i)
|
|
238
|
+
o = w(e, r, i), o && l.appendChild(o);
|
|
239
|
+
return l["s-hn"] = ne, l;
|
|
240
|
+
}, ae = (e, t, n, s, r, i) => {
|
|
241
|
+
let l = e, o;
|
|
242
|
+
for (; r <= i; ++r)
|
|
243
|
+
s[r] && (o = w(null, n, r), o && (s[r].$elm$ = o, L(l, o, t)));
|
|
244
|
+
}, ie = (e, t, n) => {
|
|
245
|
+
for (let s = t; s <= n; ++s) {
|
|
246
|
+
const r = e[s];
|
|
247
|
+
if (r) {
|
|
248
|
+
const i = r.$elm$;
|
|
249
|
+
oe(r), i && i.remove();
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
}, ze = (e, t, n, s, r = !1) => {
|
|
253
|
+
let i = 0, l = 0, o = 0, a = 0, c = t.length - 1, $ = t[0], f = t[c], u = s.length - 1, d = s[0], p = s[u], v, g;
|
|
254
|
+
for (; i <= c && l <= u; )
|
|
255
|
+
if ($ == null)
|
|
256
|
+
$ = t[++i];
|
|
257
|
+
else if (f == null)
|
|
258
|
+
f = t[--c];
|
|
259
|
+
else if (d == null)
|
|
260
|
+
d = s[++l];
|
|
261
|
+
else if (p == null)
|
|
262
|
+
p = s[--u];
|
|
263
|
+
else if (P($, d, r))
|
|
264
|
+
b($, d, r), $ = t[++i], d = s[++l];
|
|
265
|
+
else if (P(f, p, r))
|
|
266
|
+
b(f, p, r), f = t[--c], p = s[--u];
|
|
267
|
+
else if (P($, p, r))
|
|
268
|
+
b($, p, r), L(e, $.$elm$, f.$elm$.nextSibling), $ = t[++i], p = s[--u];
|
|
269
|
+
else if (P(f, d, r))
|
|
270
|
+
b(f, d, r), L(e, f.$elm$, $.$elm$), f = t[--c], d = s[++l];
|
|
271
|
+
else {
|
|
272
|
+
for (o = -1, a = i; a <= c; ++a)
|
|
273
|
+
if (t[a] && t[a].$key$ !== null && t[a].$key$ === d.$key$) {
|
|
274
|
+
o = a;
|
|
275
|
+
break;
|
|
276
|
+
}
|
|
277
|
+
o >= 0 ? (g = t[o], g.$tag$ !== d.$tag$ ? v = w(t && t[l], n, o) : (b(g, d, r), t[o] = void 0, v = g.$elm$), d = s[++l]) : (v = w(t && t[l], n, l), d = s[++l]), v && L($.$elm$.parentNode, v, $.$elm$);
|
|
278
|
+
}
|
|
279
|
+
i > c ? ae(
|
|
280
|
+
e,
|
|
281
|
+
s[u + 1] == null ? null : s[u + 1].$elm$,
|
|
282
|
+
n,
|
|
283
|
+
s,
|
|
284
|
+
l,
|
|
285
|
+
u
|
|
286
|
+
) : l > u && ie(t, i, c);
|
|
287
|
+
}, P = (e, t, n = !1) => e.$tag$ === t.$tag$ ? n ? !0 : e.$key$ === t.$key$ : !1, b = (e, t, n = !1) => {
|
|
288
|
+
const s = t.$elm$ = e.$elm$, r = e.$children$, i = t.$children$, l = t.$text$;
|
|
289
|
+
l === null ? (se(e, t, le), r !== null && i !== null ? ze(s, r, t, i, n) : i !== null ? (e.$text$ !== null && (s.textContent = ""), ae(s, null, t, i, 0, i.length - 1)) : r !== null && ie(r, 0, r.length - 1)) : e.$text$ !== l && (s.data = l);
|
|
290
|
+
}, oe = (e) => {
|
|
291
|
+
e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(oe);
|
|
292
|
+
}, L = (e, t, n) => e == null ? void 0 : e.insertBefore(t, n), qe = (e, t, n = !1) => {
|
|
293
|
+
const s = e.$hostElement$, r = e.$vnode$ || I(null, null), i = Ce(t) ? t : _e(null, null, t);
|
|
294
|
+
if (ne = s.tagName, n && i.$attrs$)
|
|
295
|
+
for (const l of Object.keys(i.$attrs$))
|
|
296
|
+
s.hasAttribute(l) && !["key", "ref", "style", "class"].includes(l) && (i.$attrs$[l] = s[l]);
|
|
297
|
+
i.$tag$ = null, i.$flags$ |= 4, e.$vnode$ = i, i.$elm$ = r.$elm$ = s, re = Se, b(r, i, n);
|
|
298
|
+
}, ce = (e, t) => {
|
|
299
|
+
t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((n) => e.$onRenderResolve$ = n));
|
|
300
|
+
}, q = (e, t) => {
|
|
301
|
+
if (e.$flags$ |= 16, e.$flags$ & 4) {
|
|
302
|
+
e.$flags$ |= 512;
|
|
303
|
+
return;
|
|
304
|
+
}
|
|
305
|
+
return ce(e, e.$ancestorComponent$), xe(() => We(e, t));
|
|
306
|
+
}, We = (e, t) => {
|
|
307
|
+
const n = e.$hostElement$, s = S("scheduleUpdate", e.$cmpMeta$.$tagName$), r = e.$lazyInstance$;
|
|
308
|
+
if (!r)
|
|
309
|
+
throw new Error(
|
|
310
|
+
`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`
|
|
311
|
+
);
|
|
312
|
+
let i;
|
|
313
|
+
return s(), Me(i, () => Xe(e, r, t));
|
|
314
|
+
}, Me = (e, t) => Re(e) ? e.then(t).catch((n) => {
|
|
315
|
+
console.error(n), t();
|
|
316
|
+
}) : t(), Re = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Xe = (e, t, n) => T(void 0, null, function* () {
|
|
317
|
+
var s;
|
|
318
|
+
const r = e.$hostElement$, i = S("update", e.$cmpMeta$.$tagName$), l = r["s-rc"];
|
|
319
|
+
n && Be(e);
|
|
320
|
+
const o = S("render", e.$cmpMeta$.$tagName$);
|
|
321
|
+
Ge(e, t, r, n), l && (l.map((a) => a()), r["s-rc"] = void 0), o(), i();
|
|
322
|
+
{
|
|
323
|
+
const a = (s = r["s-p"]) != null ? s : [], c = () => Qe(e);
|
|
324
|
+
a.length === 0 ? c() : (Promise.all(a).then(c), e.$flags$ |= 4, a.length = 0);
|
|
325
|
+
}
|
|
326
|
+
}), Ge = (e, t, n, s) => {
|
|
327
|
+
try {
|
|
328
|
+
t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, qe(e, t, s);
|
|
329
|
+
} catch (r) {
|
|
330
|
+
k(r, e.$hostElement$);
|
|
331
|
+
}
|
|
332
|
+
return null;
|
|
333
|
+
}, Qe = (e) => {
|
|
334
|
+
const t = e.$cmpMeta$.$tagName$, n = e.$hostElement$, s = S("postUpdate", t), r = e.$lazyInstance$, i = e.$ancestorComponent$;
|
|
335
|
+
e.$flags$ & 64 ? s() : (e.$flags$ |= 64, fe(n), Ye(r, "componentDidLoad"), s(), e.$onReadyResolve$(n), i || $e()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && H(() => q(e, !1)), e.$flags$ &= -517;
|
|
336
|
+
}, $e = (e) => {
|
|
337
|
+
fe(m.documentElement), H(() => Ue(_, "appload", { detail: { namespace: pe } }));
|
|
338
|
+
}, Ye = (e, t, n) => {
|
|
339
|
+
if (e && e[t])
|
|
340
|
+
try {
|
|
341
|
+
return e[t](n);
|
|
342
|
+
} catch (s) {
|
|
343
|
+
k(s);
|
|
344
|
+
}
|
|
345
|
+
}, fe = (e) => {
|
|
346
|
+
var t;
|
|
347
|
+
return e.classList.add((t = B.hydratedSelectorName) != null ? t : "hydrated");
|
|
348
|
+
}, Je = (e, t) => E(e).$instanceValues$.get(t), Ke = (e, t, n, s) => {
|
|
349
|
+
const r = E(e);
|
|
350
|
+
if (!r)
|
|
351
|
+
throw new Error(
|
|
352
|
+
`Couldn't find host element for "${s.$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).`
|
|
353
|
+
);
|
|
354
|
+
const i = r.$hostElement$, l = r.$instanceValues$.get(t), o = r.$flags$, a = r.$lazyInstance$;
|
|
355
|
+
n = je(n, s.$members$[t][0]);
|
|
356
|
+
const c = Number.isNaN(l) && Number.isNaN(n), $ = n !== l && !c;
|
|
357
|
+
if ((!(o & 8) || l === void 0) && $ && (r.$instanceValues$.set(t, n), a)) {
|
|
358
|
+
if (s.$watchers$ && o & 128) {
|
|
359
|
+
const f = s.$watchers$[t];
|
|
360
|
+
f && f.map((u) => {
|
|
361
|
+
try {
|
|
362
|
+
a[u](n, l, t);
|
|
363
|
+
} catch (d) {
|
|
364
|
+
k(d, i);
|
|
365
|
+
}
|
|
366
|
+
});
|
|
367
|
+
}
|
|
368
|
+
(o & 18) === 2 && q(r, !1);
|
|
369
|
+
}
|
|
370
|
+
}, ue = (e, t, n) => {
|
|
371
|
+
var s, r;
|
|
372
|
+
const i = e.prototype;
|
|
373
|
+
if (t.$members$ || t.$watchers$ || e.watchers) {
|
|
374
|
+
e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
|
|
375
|
+
const l = Object.entries((s = t.$members$) != null ? s : {});
|
|
376
|
+
if (l.map(([o, [a]]) => {
|
|
377
|
+
(a & 31 || n & 2 && a & 32) && Object.defineProperty(i, o, {
|
|
378
|
+
get() {
|
|
379
|
+
return Je(this, o);
|
|
380
|
+
},
|
|
381
|
+
set(c) {
|
|
382
|
+
Ke(this, o, c, t);
|
|
383
|
+
},
|
|
384
|
+
configurable: !0,
|
|
385
|
+
enumerable: !0
|
|
386
|
+
});
|
|
387
|
+
}), n & 1) {
|
|
388
|
+
const o = /* @__PURE__ */ new Map();
|
|
389
|
+
i.attributeChangedCallback = function(a, c, $) {
|
|
390
|
+
h.jmp(() => {
|
|
391
|
+
var f;
|
|
392
|
+
const u = o.get(a);
|
|
393
|
+
if (this.hasOwnProperty(u))
|
|
394
|
+
$ = this[u], delete this[u];
|
|
395
|
+
else {
|
|
396
|
+
if (i.hasOwnProperty(u) && typeof this[u] == "number" && this[u] == $)
|
|
397
|
+
return;
|
|
398
|
+
if (u == null) {
|
|
399
|
+
const d = E(this), p = d == null ? void 0 : d.$flags$;
|
|
400
|
+
if (p && !(p & 8) && p & 128 && $ !== c) {
|
|
401
|
+
const v = d.$lazyInstance$, g = (f = t.$watchers$) == null ? void 0 : f[a];
|
|
402
|
+
g == null || g.forEach((y) => {
|
|
403
|
+
v[y] != null && v[y].call(v, $, c, a);
|
|
404
|
+
});
|
|
405
|
+
}
|
|
406
|
+
return;
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
this[u] = $ === null && typeof this[u] == "boolean" ? !1 : $;
|
|
410
|
+
});
|
|
411
|
+
}, e.observedAttributes = Array.from(
|
|
412
|
+
/* @__PURE__ */ new Set([
|
|
413
|
+
...Object.keys((r = t.$watchers$) != null ? r : {}),
|
|
414
|
+
...l.filter(
|
|
415
|
+
([a, c]) => c[0] & 15
|
|
416
|
+
/* HasAttribute */
|
|
417
|
+
).map(([a, c]) => {
|
|
418
|
+
const $ = c[1] || a;
|
|
419
|
+
return o.set($, a), $;
|
|
420
|
+
})
|
|
421
|
+
])
|
|
422
|
+
);
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
return e;
|
|
426
|
+
}, Ze = (e, t, n, s) => T(void 0, null, function* () {
|
|
427
|
+
let r;
|
|
428
|
+
if (!(t.$flags$ & 32)) {
|
|
429
|
+
if (t.$flags$ |= 32, n.$lazyBundleId$) {
|
|
430
|
+
const a = ye(n);
|
|
431
|
+
if (a && "then" in a) {
|
|
432
|
+
const $ = we();
|
|
433
|
+
r = yield a, $();
|
|
434
|
+
} else
|
|
435
|
+
r = a;
|
|
436
|
+
if (!r)
|
|
437
|
+
throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);
|
|
438
|
+
r.isProxied || (n.$watchers$ = r.watchers, ue(
|
|
439
|
+
r,
|
|
440
|
+
n,
|
|
441
|
+
2
|
|
442
|
+
/* proxyState */
|
|
443
|
+
), r.isProxied = !0);
|
|
444
|
+
const c = S("createInstance", n.$tagName$);
|
|
445
|
+
t.$flags$ |= 8;
|
|
446
|
+
try {
|
|
447
|
+
new r(t);
|
|
448
|
+
} catch ($) {
|
|
449
|
+
k($);
|
|
450
|
+
}
|
|
451
|
+
t.$flags$ &= -9, t.$flags$ |= 128, c();
|
|
452
|
+
} else {
|
|
453
|
+
r = e.constructor;
|
|
454
|
+
const a = e.localName;
|
|
455
|
+
customElements.whenDefined(a).then(
|
|
456
|
+
() => t.$flags$ |= 128
|
|
457
|
+
/* isWatchReady */
|
|
458
|
+
);
|
|
459
|
+
}
|
|
460
|
+
if (r && r.style) {
|
|
461
|
+
let a;
|
|
462
|
+
typeof r.style == "string" && (a = r.style);
|
|
463
|
+
const c = ee(n);
|
|
464
|
+
if (!A.has(c)) {
|
|
465
|
+
const $ = S("registerStyles", n.$tagName$);
|
|
466
|
+
De(c, a, !!(n.$flags$ & 1)), $();
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
const i = t.$ancestorComponent$, l = () => q(t, !0);
|
|
471
|
+
i && i["s-rc"] ? i["s-rc"].push(l) : l();
|
|
472
|
+
}), Ne = (e) => {
|
|
473
|
+
}, Ve = (e) => {
|
|
474
|
+
if (!(h.$flags$ & 1)) {
|
|
475
|
+
const t = E(e), n = t.$cmpMeta$, s = S("connectedCallback", n.$tagName$);
|
|
476
|
+
if (t.$flags$ & 1)
|
|
477
|
+
t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => Ne());
|
|
478
|
+
else {
|
|
479
|
+
t.$flags$ |= 1;
|
|
480
|
+
{
|
|
481
|
+
let r = e;
|
|
482
|
+
for (; r = r.parentNode || r.host; )
|
|
483
|
+
if (r["s-p"]) {
|
|
484
|
+
ce(t, t.$ancestorComponent$ = r);
|
|
485
|
+
break;
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
n.$members$ && Object.entries(n.$members$).map(([r, [i]]) => {
|
|
489
|
+
if (i & 31 && e.hasOwnProperty(r)) {
|
|
490
|
+
const l = e[r];
|
|
491
|
+
delete e[r], e[r] = l;
|
|
492
|
+
}
|
|
493
|
+
}), Ze(e, t, n);
|
|
494
|
+
}
|
|
495
|
+
s();
|
|
496
|
+
}
|
|
497
|
+
}, et = (e) => {
|
|
498
|
+
}, tt = (e) => T(void 0, null, function* () {
|
|
499
|
+
if (!(h.$flags$ & 1)) {
|
|
500
|
+
const t = E(e);
|
|
501
|
+
t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => et());
|
|
502
|
+
}
|
|
503
|
+
}), lt = (e, t = {}) => {
|
|
504
|
+
var n;
|
|
505
|
+
const s = S(), r = [], i = t.exclude || [], l = _.customElements, o = m.head, a = /* @__PURE__ */ o.querySelector("meta[charset]"), c = /* @__PURE__ */ m.createElement("style"), $ = [];
|
|
506
|
+
let f, u = !0;
|
|
507
|
+
Object.assign(h, t), h.$resourcesUrl$ = new URL(t.resourcesUrl || "./", m.baseURI).href;
|
|
508
|
+
let d = !1;
|
|
509
|
+
if (e.map((p) => {
|
|
510
|
+
p[1].map((v) => {
|
|
511
|
+
var g;
|
|
512
|
+
const y = {
|
|
513
|
+
$flags$: v[0],
|
|
514
|
+
$tagName$: v[1],
|
|
515
|
+
$members$: v[2],
|
|
516
|
+
$listeners$: v[3]
|
|
517
|
+
};
|
|
518
|
+
y.$flags$ & 4 && (d = !0), y.$members$ = v[2], y.$watchers$ = (g = v[4]) != null ? g : {};
|
|
519
|
+
const x = y.$tagName$, de = class extends HTMLElement {
|
|
520
|
+
// StencilLazyHost
|
|
521
|
+
constructor(O) {
|
|
522
|
+
super(O), this.hasRegisteredEventListeners = !1, O = this, ge(O, y);
|
|
523
|
+
}
|
|
524
|
+
connectedCallback() {
|
|
525
|
+
E(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), f && (clearTimeout(f), f = null), u ? $.push(this) : h.jmp(() => Ve(this));
|
|
526
|
+
}
|
|
527
|
+
disconnectedCallback() {
|
|
528
|
+
h.jmp(() => tt(this));
|
|
529
|
+
}
|
|
530
|
+
componentOnReady() {
|
|
531
|
+
return E(this).$onReadyPromise$;
|
|
532
|
+
}
|
|
533
|
+
};
|
|
534
|
+
y.$lazyBundleId$ = p[0], !i.includes(x) && !l.get(x) && (r.push(x), l.define(
|
|
535
|
+
x,
|
|
536
|
+
ue(
|
|
537
|
+
de,
|
|
538
|
+
y,
|
|
539
|
+
1
|
|
540
|
+
/* isElementConstructor */
|
|
541
|
+
)
|
|
542
|
+
));
|
|
543
|
+
});
|
|
544
|
+
}), r.length > 0 && (d && (c.textContent += K), c.textContent += r.sort() + me, c.innerHTML.length)) {
|
|
545
|
+
c.setAttribute("data-styles", "");
|
|
546
|
+
const p = (n = h.$nonce$) != null ? n : N(m);
|
|
547
|
+
p != null && c.setAttribute("nonce", p), o.insertBefore(c, a ? a.nextSibling : o.firstChild);
|
|
548
|
+
}
|
|
549
|
+
u = !1, $.length ? $.map((p) => p.connectedCallback()) : h.jmp(() => f = setTimeout($e, 30)), s();
|
|
550
|
+
};
|
|
551
|
+
export {
|
|
552
|
+
Oe as H,
|
|
553
|
+
lt as b,
|
|
554
|
+
rt as g,
|
|
555
|
+
_e as h,
|
|
556
|
+
Ee as p,
|
|
557
|
+
nt as r
|
|
558
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var T=(e,t,n)=>new Promise((s,r)=>{var i=a=>{try{o(n.next(a))}catch(c){r(c)}},l=a=>{try{o(n.throw(a))}catch(c){r(c)}},o=a=>a.done?s(a.value):Promise.resolve(a.value).then(i,l);o((n=n.apply(e,t)).next())});const ge="ui-image",z={allRenderFn:!0,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,cmpDidLoad:!0,cmpDidRender:!1,cmpDidUnload:!1,cmpDidUpdate:!1,cmpShouldUpdate:!1,cmpWillLoad:!1,cmpWillRender:!1,cmpWillUpdate:!1,connectedCallback:!1,constructableCSS:!0,cssAnnotations:!0,devTools:!1,disconnectedCallback:!1,element:!1,event:!1,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!1,hostListenerTarget:!1,hostListenerTargetBody:!1,hostListenerTargetDocument:!1,hostListenerTargetParent:!1,hostListenerTargetWindow:!1,hotModuleReplacement:!1,hydrateClientSide:!1,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",initializeNextTick:!1,invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!0,lifecycle:!0,lifecycleDOMEvents:!1,member:!0,method:!1,mode:!1,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!0,propMutable:!1,propNumber:!0,propString:!0,reflect:!1,scoped:!1,scopedSlotTextContentFix:!1,scriptDataOpts:!1,shadowDelegatesFocus:!1,shadowDom:!1,slot:!1,slotChildNodesFix:!1,slotRelocation:!1,state:!0,style:!0,svg:!1,taskQueue:!0,transformTagName:!1,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!1,vdomKey:!0,vdomListener:!0,vdomPropOrAttr:!0,vdomRef:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,vdomXlink:!1,watchCallback:!0};var ye=Object.defineProperty,me=(e,t)=>{for(var n in t)ye(e,n,{get:t[n],enumerable:!0})},B=new WeakMap,E=e=>B.get(e),Se=(e,t)=>B.set(t.$lazyInstance$=e,t),Ee=(e,t)=>{const n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return n.$onReadyPromise$=new Promise(s=>n.$onReadyResolve$=s),e["s-p"]=[],e["s-rc"]=[],B.set(e,n)},W=(e,t)=>t in e,k=(e,t)=>(0,console.error)(e,t),C=new Map,ke=(e,t,n)=>{const s=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$;if(!r)return;const i=C.get(r);if(i)return i[s];{const l=o=>(C.set(r,o),o[s]);switch(r){case"ui-image_2":return Promise.resolve().then(()=>require("./ui-image_2-ZFidgTXM.cjs")).then(l,k)}}return import(`./${r}.entry.js`).then(l=>(C.set(r,l),l[s]),k)},A=new Map,be="{visibility:hidden}.hydrated{visibility:inherit}",K="slot-fb{display:contents}slot-fb[hidden]{display:none}",_=typeof window!="undefined"?window:{},m=_.document||{head:{}},h={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s),ce:(e,t)=>new CustomEvent(e,t)},xe=z.shadowDom,Z=e=>Promise.resolve(e),Te=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),j=!1,M=[],N=[],Pe=(e,t)=>n=>{e.push(n),j||(j=!0,h.$flags$&4?F(U):h.raf(U))},R=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){k(n)}e.length=0},U=()=>{R(M),R(N),(j=M.length>0)&&h.raf(U)},F=e=>Z().then(e),Le=Pe(N),X={},H=e=>(e=typeof e,e==="object"||e==="function");function V(e){var t,n,s;return(s=(n=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?s:void 0}var Ae={};me(Ae,{err:()=>ee,map:()=>we,ok:()=>I,unwrap:()=>_e,unwrapErr:()=>Oe});var I=e=>({isOk:!0,isErr:!1,value:e}),ee=e=>({isOk:!1,isErr:!0,value:e});function we(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then(s=>I(s)):I(n)}if(e.isErr){const n=e.value;return ee(n)}throw"should never get here"}var _e=e=>{if(e.isOk)return e.value;throw e.value},Oe=e=>{if(e.isErr)return e.value;throw e.value},S=(e,t="")=>()=>{},Ce=(e,t)=>()=>{},te=(e,t,...n)=>{let s=null,r=null,i=!1,l=!1;const o=[],a=$=>{for(let f=0;f<$.length;f++)s=$[f],Array.isArray(s)?a(s):s!=null&&typeof s!="boolean"&&((i=typeof e!="function"&&!H(s))&&(s=String(s)),i&&l?o[o.length-1].$text$+=s:o.push(i?D(null,s):s),l=i)};if(a(n),t){t.key&&(r=t.key);{const $=t.className||t.class;$&&(t.class=typeof $!="object"?$:Object.keys($).filter(f=>$[f]).join(" "))}}const c=D(e,null);return c.$attrs$=t,o.length>0&&(c.$children$=o),c.$key$=r,c},D=(e,t)=>{const n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return n.$attrs$=null,n.$key$=null,n},se={},je=e=>e&&e.$tag$===se,Ue=(e,t)=>e!=null&&!H(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,Ie=e=>E(e).$hostElement$,De=(e,t,n)=>{const s=h.ce(t,n);return e.dispatchEvent(s),s},G=new WeakMap,ze=(e,t,n)=>{let s=A.get(e);Te&&n?(s=s||new CSSStyleSheet,typeof s=="string"?s=t:s.replaceSync(t)):s=t,A.set(e,s)},Be=(e,t,n)=>{var s;const r=ne(t),i=A.get(r);if(e=e.nodeType===11?e:m,i)if(typeof i=="string"){e=e.head||e;let l=G.get(e),o;if(l||G.set(e,l=new Set),!l.has(r)){{o=m.createElement("style"),o.innerHTML=i;const a=(s=h.$nonce$)!=null?s:V(m);a!=null&&o.setAttribute("nonce",a),e.insertBefore(o,e.querySelector("link"))}t.$flags$&4&&(o.innerHTML+=K),l&&l.add(r)}}else e.adoptedStyleSheets.includes(i)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,i]);return r},Fe=e=>{const t=e.$cmpMeta$,n=e.$hostElement$,s=S("attachStyles",t.$tagName$);Be(n.getRootNode(),t),s()},ne=(e,t)=>"sc-"+e.$tagName$,Q=(e,t,n,s,r,i)=>{if(n!==s){let l=W(e,t),o=t.toLowerCase();if(t==="class"){const a=e.classList,c=Y(n),$=Y(s);a.remove(...c.filter(f=>f&&!$.includes(f))),a.add(...$.filter(f=>f&&!c.includes(f)))}else if(t==="style"){for(const a in n)(!s||s[a]==null)&&(a.includes("-")?e.style.removeProperty(a):e.style[a]="");for(const a in s)(!n||s[a]!==n[a])&&(a.includes("-")?e.style.setProperty(a,s[a]):e.style[a]=s[a])}else if(t!=="key")if(t==="ref")s&&s(e);else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):W(_,o)?t=o.slice(2):t=o[2]+t.slice(3),n||s){const a=t.endsWith(re);t=t.replace(qe,""),n&&h.rel(e,t,n,a),s&&h.ael(e,t,s,a)}}else{const a=H(s);if((l||a&&s!==null)&&!r)try{if(e.tagName.includes("-"))e[t]=s;else{const c=s==null?"":s;t==="list"?l=!1:(n==null||e[t]!=c)&&(e[t]=c)}}catch(c){}s==null||s===!1?(s!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!l||i&4||r)&&!a&&(s=s===!0?"":s,e.setAttribute(t,s))}}},He=/\s/,Y=e=>e?e.split(He):[],re="Capture",qe=new RegExp(re+"$"),le=(e,t,n)=>{const s=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||X,i=t.$attrs$||X;for(const l of J(Object.keys(r)))l in i||Q(s,l,r[l],void 0,n,t.$flags$);for(const l of J(Object.keys(i)))Q(s,l,r[l],i[l],n,t.$flags$)};function J(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var ae,ie=!1,oe=!1,w=(e,t,n,s)=>{const r=t.$children$[n];let i=0,l,o;if(r.$text$!==null)l=r.$elm$=m.createTextNode(r.$text$);else if(l=r.$elm$=m.createElement(!ie&&z.slotRelocation&&r.$flags$&2?"slot-fb":r.$tag$),le(null,r,oe),r.$children$)for(i=0;i<r.$children$.length;++i)o=w(e,r,i),o&&l.appendChild(o);return l["s-hn"]=ae,l},ce=(e,t,n,s,r,i)=>{let l=e,o;for(;r<=i;++r)s[r]&&(o=w(null,n,r),o&&(s[r].$elm$=o,L(l,o,t)))},$e=(e,t,n)=>{for(let s=t;s<=n;++s){const r=e[s];if(r){const i=r.$elm$;fe(r),i&&i.remove()}}},We=(e,t,n,s,r=!1)=>{let i=0,l=0,o=0,a=0,c=t.length-1,$=t[0],f=t[c],u=s.length-1,d=s[0],v=s[u],p,g;for(;i<=c&&l<=u;)if($==null)$=t[++i];else if(f==null)f=t[--c];else if(d==null)d=s[++l];else if(v==null)v=s[--u];else if(P($,d,r))b($,d,r),$=t[++i],d=s[++l];else if(P(f,v,r))b(f,v,r),f=t[--c],v=s[--u];else if(P($,v,r))b($,v,r),L(e,$.$elm$,f.$elm$.nextSibling),$=t[++i],v=s[--u];else if(P(f,d,r))b(f,d,r),L(e,f.$elm$,$.$elm$),f=t[--c],d=s[++l];else{for(o=-1,a=i;a<=c;++a)if(t[a]&&t[a].$key$!==null&&t[a].$key$===d.$key$){o=a;break}o>=0?(g=t[o],g.$tag$!==d.$tag$?p=w(t&&t[l],n,o):(b(g,d,r),t[o]=void 0,p=g.$elm$),d=s[++l]):(p=w(t&&t[l],n,l),d=s[++l]),p&&L($.$elm$.parentNode,p,$.$elm$)}i>c?ce(e,s[u+1]==null?null:s[u+1].$elm$,n,s,l,u):l>u&&$e(t,i,c)},P=(e,t,n=!1)=>e.$tag$===t.$tag$?n?!0:e.$key$===t.$key$:!1,b=(e,t,n=!1)=>{const s=t.$elm$=e.$elm$,r=e.$children$,i=t.$children$,l=t.$text$;l===null?(le(e,t,oe),r!==null&&i!==null?We(s,r,t,i,n):i!==null?(e.$text$!==null&&(s.textContent=""),ce(s,null,t,i,0,i.length-1)):r!==null&&$e(r,0,r.length-1)):e.$text$!==l&&(s.data=l)},fe=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(fe)},L=(e,t,n)=>e==null?void 0:e.insertBefore(t,n),Me=(e,t,n=!1)=>{const s=e.$hostElement$,r=e.$vnode$||D(null,null),i=je(t)?t:te(null,null,t);if(ae=s.tagName,n&&i.$attrs$)for(const l of Object.keys(i.$attrs$))s.hasAttribute(l)&&!["key","ref","style","class"].includes(l)&&(i.$attrs$[l]=s[l]);i.$tag$=null,i.$flags$|=4,e.$vnode$=i,i.$elm$=r.$elm$=s,ie=xe,b(r,i,n)},ue=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(n=>e.$onRenderResolve$=n))},q=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ue(e,e.$ancestorComponent$),Le(()=>Re(e,t))},Re=(e,t)=>{const n=e.$hostElement$,s=S("scheduleUpdate",e.$cmpMeta$.$tagName$),r=e.$lazyInstance$;if(!r)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;return s(),Xe(i,()=>Qe(e,r,t))},Xe=(e,t)=>Ge(e)?e.then(t).catch(n=>{console.error(n),t()}):t(),Ge=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Qe=(e,t,n)=>T(exports,null,function*(){var s;const r=e.$hostElement$,i=S("update",e.$cmpMeta$.$tagName$),l=r["s-rc"];n&&Fe(e);const o=S("render",e.$cmpMeta$.$tagName$);Ye(e,t,r,n),l&&(l.map(a=>a()),r["s-rc"]=void 0),o(),i();{const a=(s=r["s-p"])!=null?s:[],c=()=>Je(e);a.length===0?c():(Promise.all(a).then(c),e.$flags$|=4,a.length=0)}}),Ye=(e,t,n,s)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,Me(e,t,s)}catch(r){k(r,e.$hostElement$)}return null},Je=e=>{const t=e.$cmpMeta$.$tagName$,n=e.$hostElement$,s=S("postUpdate",t),r=e.$lazyInstance$,i=e.$ancestorComponent$;e.$flags$&64?s():(e.$flags$|=64,ve(n),Ke(r,"componentDidLoad"),s(),e.$onReadyResolve$(n),i||de()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&F(()=>q(e,!1)),e.$flags$&=-517},de=e=>{ve(m.documentElement),F(()=>De(_,"appload",{detail:{namespace:ge}}))},Ke=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(s){k(s)}},ve=e=>{var t;return e.classList.add((t=z.hydratedSelectorName)!=null?t:"hydrated")},Ze=(e,t)=>E(e).$instanceValues$.get(t),Ne=(e,t,n,s)=>{const r=E(e);if(!r)throw new Error(`Couldn't find host element for "${s.$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 i=r.$hostElement$,l=r.$instanceValues$.get(t),o=r.$flags$,a=r.$lazyInstance$;n=Ue(n,s.$members$[t][0]);const c=Number.isNaN(l)&&Number.isNaN(n),$=n!==l&&!c;if((!(o&8)||l===void 0)&&$&&(r.$instanceValues$.set(t,n),a)){if(s.$watchers$&&o&128){const f=s.$watchers$[t];f&&f.map(u=>{try{a[u](n,l,t)}catch(d){k(d,i)}})}(o&18)===2&&q(r,!1)}},pe=(e,t,n)=>{var s,r;const i=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((s=t.$members$)!=null?s:{});if(l.map(([o,[a]])=>{(a&31||n&2&&a&32)&&Object.defineProperty(i,o,{get(){return Ze(this,o)},set(c){Ne(this,o,c,t)},configurable:!0,enumerable:!0})}),n&1){const o=new Map;i.attributeChangedCallback=function(a,c,$){h.jmp(()=>{var f;const u=o.get(a);if(this.hasOwnProperty(u))$=this[u],delete this[u];else{if(i.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==$)return;if(u==null){const d=E(this),v=d==null?void 0:d.$flags$;if(v&&!(v&8)&&v&128&&$!==c){const p=d.$lazyInstance$,g=(f=t.$watchers$)==null?void 0:f[a];g==null||g.forEach(y=>{p[y]!=null&&p[y].call(p,$,c,a)})}return}}this[u]=$===null&&typeof this[u]=="boolean"?!1:$})},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.$watchers$)!=null?r:{}),...l.filter(([a,c])=>c[0]&15).map(([a,c])=>{const $=c[1]||a;return o.set($,a),$})]))}}return e},Ve=(e,t,n,s)=>T(exports,null,function*(){let r;if(!(t.$flags$&32)){if(t.$flags$|=32,n.$lazyBundleId$){const a=ke(n);if(a&&"then"in a){const $=Ce();r=yield a,$()}else r=a;if(!r)throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);r.isProxied||(n.$watchers$=r.watchers,pe(r,n,2),r.isProxied=!0);const c=S("createInstance",n.$tagName$);t.$flags$|=8;try{new r(t)}catch($){k($)}t.$flags$&=-9,t.$flags$|=128,c()}else{r=e.constructor;const a=e.localName;customElements.whenDefined(a).then(()=>t.$flags$|=128)}if(r&&r.style){let a;typeof r.style=="string"&&(a=r.style);const c=ne(n);if(!A.has(c)){const $=S("registerStyles",n.$tagName$);ze(c,a,!!(n.$flags$&1)),$()}}}const i=t.$ancestorComponent$,l=()=>q(t,!0);i&&i["s-rc"]?i["s-rc"].push(l):l()}),et=e=>{},tt=e=>{if(!(h.$flags$&1)){const t=E(e),n=t.$cmpMeta$,s=S("connectedCallback",n.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>et());else{t.$flags$|=1;{let r=e;for(;r=r.parentNode||r.host;)if(r["s-p"]){ue(t,t.$ancestorComponent$=r);break}}n.$members$&&Object.entries(n.$members$).map(([r,[i]])=>{if(i&31&&e.hasOwnProperty(r)){const l=e[r];delete e[r],e[r]=l}}),Ve(e,t,n)}s()}},st=e=>{},nt=e=>T(exports,null,function*(){if(!(h.$flags$&1)){const t=E(e);t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>st())}}),rt=(e,t={})=>{var n;const s=S(),r=[],i=t.exclude||[],l=_.customElements,o=m.head,a=o.querySelector("meta[charset]"),c=m.createElement("style"),$=[];let f,u=!0;Object.assign(h,t),h.$resourcesUrl$=new URL(t.resourcesUrl||"./",m.baseURI).href;let d=!1;if(e.map(v=>{v[1].map(p=>{var g;const y={$flags$:p[0],$tagName$:p[1],$members$:p[2],$listeners$:p[3]};y.$flags$&4&&(d=!0),y.$members$=p[2],y.$watchers$=(g=p[4])!=null?g:{};const x=y.$tagName$,he=class extends HTMLElement{constructor(O){super(O),this.hasRegisteredEventListeners=!1,O=this,Ee(O,y)}connectedCallback(){E(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),u?$.push(this):h.jmp(()=>tt(this))}disconnectedCallback(){h.jmp(()=>nt(this))}componentOnReady(){return E(this).$onReadyPromise$}};y.$lazyBundleId$=v[0],!i.includes(x)&&!l.get(x)&&(r.push(x),l.define(x,pe(he,y,1)))})}),r.length>0&&(d&&(c.textContent+=K),c.textContent+=r.sort()+be,c.innerHTML.length)){c.setAttribute("data-styles","");const v=(n=h.$nonce$)!=null?n:V(m);v!=null&&c.setAttribute("nonce",v),o.insertBefore(c,a?a.nextSibling:o.firstChild)}u=!1,$.length?$.map(v=>v.connectedCallback()):h.jmp(()=>f=setTimeout(de,30)),s()};exports.Host=se;exports.bootstrapLazy=rt;exports.getElement=Ie;exports.h=te;exports.promiseResolve=Z;exports.registerInstance=Se;
|