@everymatrix/casino-header-controller 1.46.1 → 1.47.1
Sign up to get free protection for your applications and to get access to all the features.
- package/components/{CasinoHamburgerMenu-BLnwex5I.js → CasinoHamburgerMenu-CmCkLB4F.js} +40 -45
- package/components/{CasinoHamburgerMenu-B0MV4RSB.cjs → CasinoHamburgerMenu-D6xfwroF.cjs} +4 -4
- package/components/{CasinoHeaderController-BVr_q9Vp.js → CasinoHeaderController-DAO7jv0Y.js} +717 -716
- package/components/CasinoHeaderController-DxmP4ePL.cjs +13 -0
- package/components/{CasinoSlider-Cnzis9s1.cjs → CasinoSlider-CFjBjxHs.cjs} +1 -1
- package/components/{CasinoSlider-C4IgBaEw.js → CasinoSlider-DcdD-Py4.js} +33 -33
- package/components/{PlayerAccountBalanceModal-3z_EZKxf.js → PlayerAccountBalanceModal-D_7mxRRa.js} +74 -74
- package/components/{PlayerAccountBalanceModal-HFQ5gcqb.cjs → PlayerAccountBalanceModal-PHlPdidE.cjs} +1 -1
- package/components/{PlayerDeposit-DvSu-Mhc.cjs → PlayerDeposit-DFlkKPaF.cjs} +1 -1
- package/components/{PlayerDeposit-BF-HVwV0.js → PlayerDeposit-DivG_9y4.js} +33 -33
- package/es2015/casino-header-controller.cjs +1 -1
- package/es2015/casino-header-controller.js +1 -1
- package/package.json +3 -2
- package/stencil/app-globals-0f993ce5-D-kw1sls.js +5 -0
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
- package/stencil/index-04d3e726-Bk7opmvq.cjs +1 -0
- package/stencil/index-04d3e726-Dp8kKTwx.js +580 -0
- package/stencil/user-deposit-withdrawal-BiyOoXm8.js +242 -0
- package/stencil/user-deposit-withdrawal-CsuWz3w0.cjs +59 -0
- package/components/CasinoHeaderController-BNRLOF6n.cjs +0 -13
@@ -1,11 +1,11 @@
|
|
1
|
-
import { b as X, $ as Z, S as J, i as K, f as D, c as $, s as ee, d as te,
|
2
|
-
function
|
1
|
+
import { b as X, $ as Z, S as J, i as K, f as D, c as $, s as ee, d as te, g as _, e as E, t as C, u as d, M as I, j as S, v as p, x as L, n as P, k as T, l as ie, E as ae, o as se, A as M, w as ne, p as re, F as j, D as oe } from "./CasinoHamburgerMenu-CmCkLB4F.js";
|
2
|
+
function W(a, e) {
|
3
3
|
X(a, e);
|
4
4
|
}
|
5
5
|
function le(a) {
|
6
6
|
Z.set(a);
|
7
7
|
}
|
8
|
-
const
|
8
|
+
const z = {
|
9
9
|
en: {
|
10
10
|
titleDeposit: "Deposit",
|
11
11
|
loading: "Loading, please wait ..."
|
@@ -57,20 +57,20 @@ function de(a) {
|
|
57
57
|
), h, b, v;
|
58
58
|
return {
|
59
59
|
c() {
|
60
|
-
e = _("div"), i = M("svg"), r = M("defs"), s = M("style"), l =
|
60
|
+
e = _("div"), i = M("svg"), r = M("defs"), s = M("style"), l = C(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), m = M("g"), c = M("g"), u = M("path"), y = E(), o = _("h2"), h = C(n), d(u, "class", "aaa"), d(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), d(u, "transform", "translate(15 15) rotate(180)"), d(c, "transform", "translate(20 158)"), d(m, "transform", "translate(-20 -158)"), d(i, "xmlns", "http://www.w3.org/2000/svg"), d(i, "width", "15"), d(i, "height", "15"), d(i, "viewBox", "0 0 15 15"), d(o, "class", "DepositTitleMobile"), d(e, "class", "MenuReturnButton");
|
61
61
|
},
|
62
|
-
m(g,
|
63
|
-
S(g, e,
|
62
|
+
m(g, k) {
|
63
|
+
S(g, e, k), p(e, i), p(i, r), p(r, s), p(s, l), p(i, m), p(m, c), p(c, u), p(e, y), p(e, o), p(o, h), b || (v = ne(
|
64
64
|
e,
|
65
65
|
"click",
|
66
66
|
/*click_handler*/
|
67
67
|
a[17]
|
68
68
|
), b = !0);
|
69
69
|
},
|
70
|
-
p(g,
|
71
|
-
|
70
|
+
p(g, k) {
|
71
|
+
k & /*$_*/
|
72
72
|
16 && n !== (n = /*$_*/
|
73
|
-
g[4]("titleDeposit") + "") &&
|
73
|
+
g[4]("titleDeposit") + "") && L(h, n);
|
74
74
|
},
|
75
75
|
d(g) {
|
76
76
|
g && T(e), b = !1, v();
|
@@ -81,7 +81,7 @@ function he(a) {
|
|
81
81
|
let e, i, r;
|
82
82
|
return {
|
83
83
|
c() {
|
84
|
-
e = _("div"), i = _("iframe"),
|
84
|
+
e = _("div"), i = _("iframe"), j(i.src, r = /*iframeUrl*/
|
85
85
|
a[3]) || d(i, "src", r), d(i, "title", "Deposit Iframe"), d(e, "class", "DepositIframeWrapper");
|
86
86
|
},
|
87
87
|
m(s, l) {
|
@@ -89,7 +89,7 @@ function he(a) {
|
|
89
89
|
},
|
90
90
|
p(s, l) {
|
91
91
|
l & /*iframeUrl*/
|
92
|
-
8 && !
|
92
|
+
8 && !j(i.src, r = /*iframeUrl*/
|
93
93
|
s[3]) && d(i, "src", r);
|
94
94
|
},
|
95
95
|
d(s) {
|
@@ -104,7 +104,7 @@ function pe(a) {
|
|
104
104
|
), r;
|
105
105
|
return {
|
106
106
|
c() {
|
107
|
-
e = _("p"), r =
|
107
|
+
e = _("p"), r = C(i);
|
108
108
|
},
|
109
109
|
m(s, l) {
|
110
110
|
S(s, e, l), p(e, r);
|
@@ -112,7 +112,7 @@ function pe(a) {
|
|
112
112
|
p(s, l) {
|
113
113
|
l & /*$_*/
|
114
114
|
16 && i !== (i = /*$_*/
|
115
|
-
s[4]("loading") + "") &&
|
115
|
+
s[4]("loading") + "") && L(r, i);
|
116
116
|
},
|
117
117
|
d(s) {
|
118
118
|
s && T(e);
|
@@ -136,9 +136,9 @@ function ue(a) {
|
|
136
136
|
let y = u(a), o = y(a);
|
137
137
|
return {
|
138
138
|
c() {
|
139
|
-
e = _("div"), c && c.c(), i =
|
139
|
+
e = _("div"), c && c.c(), i = E(), r = _("h2"), l = C(s), m = E(), o.c(), d(r, "class", "DepositTitle " + /*isMobile*/
|
140
140
|
(a[5] ? "DepositTitleNone" : "")), d(e, "class", "DepositWrapper " + /*isMobile*/
|
141
|
-
(a[5] ? "DepositWrapperMobile" : "")),
|
141
|
+
(a[5] ? "DepositWrapperMobile" : "")), I(
|
142
142
|
e,
|
143
143
|
"--dynamic-height",
|
144
144
|
/*dynamicHeight*/
|
@@ -152,16 +152,16 @@ function ue(a) {
|
|
152
152
|
/*isMobile*/
|
153
153
|
n[5] && c.p(n, h), h & /*$_*/
|
154
154
|
16 && s !== (s = /*$_*/
|
155
|
-
n[4]("titleDeposit") + "") &&
|
156
|
-
4 &&
|
155
|
+
n[4]("titleDeposit") + "") && L(l, s), y === (y = u(n)) && o ? o.p(n, h) : (o.d(1), o = y(n), o && (o.c(), o.m(e, null))), h & /*dynamicHeight*/
|
156
|
+
4 && I(
|
157
157
|
e,
|
158
158
|
"--dynamic-height",
|
159
159
|
/*dynamicHeight*/
|
160
160
|
n[2]
|
161
161
|
);
|
162
162
|
},
|
163
|
-
i:
|
164
|
-
o:
|
163
|
+
i: P,
|
164
|
+
o: P,
|
165
165
|
d(n) {
|
166
166
|
n && T(e), c && c.d(), o.d(), a[18](null);
|
167
167
|
}
|
@@ -170,22 +170,22 @@ function ue(a) {
|
|
170
170
|
function ge(a, e, i) {
|
171
171
|
let r, s;
|
172
172
|
ie(a, oe, (t) => i(4, s = t));
|
173
|
-
let { endpoint: l = "" } = e, { session: m = "" } = e, { playerid: c = "" } = e, { lang: u = "en" } = e, { hasdefaultamount: y = "" } = e, { clientstyling: o = "" } = e, { clientstylingurl: n = "" } = e, { translationurl: h = "" } = e, { playercurrency: b = "" } = e, { shortcashierenabled: v = "false" } = e, g,
|
173
|
+
let { endpoint: l = "" } = e, { session: m = "" } = e, { playerid: c = "" } = e, { lang: u = "en" } = e, { hasdefaultamount: y = "" } = e, { clientstyling: o = "" } = e, { clientstylingurl: n = "" } = e, { translationurl: h = "" } = e, { playercurrency: b = "" } = e, { shortcashierenabled: v = "false" } = e, g, k = window.navigator.userAgent, R = ae(k) !== "PC", B = !0, F, x = 0, U = "";
|
174
174
|
const G = () => {
|
175
175
|
fetch(h).then((w) => w.json()).then((w) => {
|
176
176
|
Object.keys(w).forEach((f) => {
|
177
|
-
|
177
|
+
W(f, w[f]);
|
178
178
|
});
|
179
179
|
}).catch((w) => {
|
180
180
|
console.log(w);
|
181
181
|
});
|
182
182
|
};
|
183
|
-
Object.keys(
|
184
|
-
|
183
|
+
Object.keys(z).forEach((t) => {
|
184
|
+
W(t, z[t]);
|
185
185
|
});
|
186
|
-
const
|
186
|
+
const A = () => {
|
187
187
|
window.postMessage({ type: "GoToPreviousRoute", isMobile: R }, window.location.href);
|
188
|
-
},
|
188
|
+
}, H = (t) => {
|
189
189
|
if (t.data) {
|
190
190
|
switch (t.data.type) {
|
191
191
|
case "ProfileDetailsData":
|
@@ -248,9 +248,9 @@ function ge(a, e, i) {
|
|
248
248
|
console.error(f);
|
249
249
|
}
|
250
250
|
);
|
251
|
-
}, q = () => {
|
252
|
-
le(u);
|
253
251
|
}, O = () => {
|
252
|
+
le(u);
|
253
|
+
}, q = () => {
|
254
254
|
let t = document.createElement("style");
|
255
255
|
t.innerHTML = o, g.appendChild(t);
|
256
256
|
}, Q = () => {
|
@@ -264,10 +264,10 @@ function ge(a, e, i) {
|
|
264
264
|
);
|
265
265
|
});
|
266
266
|
};
|
267
|
-
se(() => (window.addEventListener("message",
|
268
|
-
window.removeEventListener("message",
|
267
|
+
se(() => (window.addEventListener("message", H, !1), () => {
|
268
|
+
window.removeEventListener("message", H);
|
269
269
|
}));
|
270
|
-
const Y = () =>
|
270
|
+
const Y = () => A();
|
271
271
|
function V(t) {
|
272
272
|
re[t ? "unshift" : "push"](() => {
|
273
273
|
g = t, i(0, g);
|
@@ -277,10 +277,10 @@ function ge(a, e, i) {
|
|
277
277
|
"endpoint" in t && i(8, l = t.endpoint), "session" in t && i(9, m = t.session), "playerid" in t && i(10, c = t.playerid), "lang" in t && i(11, u = t.lang), "hasdefaultamount" in t && i(12, y = t.hasdefaultamount), "clientstyling" in t && i(13, o = t.clientstyling), "clientstylingurl" in t && i(14, n = t.clientstylingurl), "translationurl" in t && i(15, h = t.translationurl), "playercurrency" in t && i(7, b = t.playercurrency), "shortcashierenabled" in t && i(16, v = t.shortcashierenabled);
|
278
278
|
}, a.$$.update = () => {
|
279
279
|
a.$$.dirty & /*lang*/
|
280
|
-
2048 && u &&
|
280
|
+
2048 && u && O(), a.$$.dirty & /*shortcashierenabled*/
|
281
281
|
65536 && (r = v.toLocaleLowerCase() === "true"), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
282
282
|
16385 && n && g && Q(), a.$$.dirty & /*clientstyling, customStylingContainer*/
|
283
|
-
8193 && o && g &&
|
283
|
+
8193 && o && g && q(), a.$$.dirty & /*translationurl*/
|
284
284
|
32768 && h && G(), a.$$.dirty & /*session, playerid, endpoint, playercurrency, lang, shortcashierenabled*/
|
285
285
|
69504 && m && c && l && b && u && v && N();
|
286
286
|
}, [
|
@@ -290,7 +290,7 @@ function ge(a, e, i) {
|
|
290
290
|
U,
|
291
291
|
s,
|
292
292
|
R,
|
293
|
-
|
293
|
+
A,
|
294
294
|
b,
|
295
295
|
l,
|
296
296
|
m,
|
@@ -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/CasinoHeaderController-
|
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/CasinoHeaderController-DxmP4ePL.cjs")).then(({default:t})=>{!customElements.get("casino-header-controller")&&customElements.define("casino-header-controller",t.element)})}
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
10
10
|
}
|
11
11
|
};
|
12
12
|
};
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoHeaderController-
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoHeaderController-DAO7jv0Y.js").then(({ default: t }) => {
|
14
14
|
!customElements.get("casino-header-controller") && customElements.define("casino-header-controller", t.element);
|
15
15
|
});
|
16
16
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@everymatrix/casino-header-controller",
|
3
|
-
"version": "1.
|
3
|
+
"version": "1.47.1",
|
4
4
|
"type": "module",
|
5
5
|
"main": "es2015/casino-header-controller.cjs",
|
6
6
|
"module": "es2015/casino-header-controller.js",
|
@@ -13,7 +13,8 @@
|
|
13
13
|
},
|
14
14
|
"files": [
|
15
15
|
"es2015/",
|
16
|
-
"components"
|
16
|
+
"components",
|
17
|
+
"stencil"
|
17
18
|
],
|
18
19
|
"publishConfig": {
|
19
20
|
"access": "public"
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";const s=()=>{};exports.globalScripts=s;
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";var L=(e,t,n)=>new Promise((s,r)=>{var o=a=>{try{i(n.next(a))}catch(c){r(c)}},l=a=>{try{i(n.throw(a))}catch(c){r(c)}},i=a=>a.done?s(a.value):Promise.resolve(a.value).then(o,l);i((n=n.apply(e,t)).next())});const Se="user-deposit-withdrawal",O={allRenderFn:!0,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,cmpDidLoad:!0,cmpDidRender:!0,cmpDidUnload:!1,cmpDidUpdate:!1,cmpShouldUpdate:!1,cmpWillLoad:!0,cmpWillRender:!1,cmpWillUpdate:!1,connectedCallback:!1,constructableCSS:!0,cssAnnotations:!0,devTools:!1,disconnectedCallback:!0,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:!1,propString:!0,reflect:!0,scoped:!1,scopedSlotTextContentFix:!1,scriptDataOpts:!1,shadowDelegatesFocus:!1,shadowDom:!0,slot:!1,slotChildNodesFix:!1,slotRelocation:!1,state:!0,style:!0,svg:!0,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 Ee=Object.defineProperty,be=(e,t)=>{for(var n in t)Ee(e,n,{get:t[n],enumerable:!0})},F=new WeakMap,k=e=>F.get(e),ke=(e,t)=>F.set(t.$lazyInstance$=e,t),we=(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"]=[],F.set(e,n)},X=(e,t)=>t in e,w=(e,t)=>(0,console.error)(e,t),R=new Map,Te=(e,t,n)=>{const s=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$;if(!r)return;const o=R.get(r);if(o)return o[s];{const l=i=>(R.set(r,i),i[s]);switch(r){case"user-deposit-withdrawal":return Promise.resolve().then(()=>require("./user-deposit-withdrawal-CsuWz3w0.cjs")).then(l,w)}}return import(`./${r}.entry.js`).then(l=>(R.set(r,l),l[s]),w)},j=new Map,xe="{visibility:hidden}.hydrated{visibility:inherit}",te="slot-fb{display:contents}slot-fb[hidden]{display:none}",I=typeof window!="undefined"?window:{},S=I.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)},se=e=>Promise.resolve(e),Le=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),D=!1,N=[],re=[],Pe=(e,t)=>n=>{e.push(n),D||(D=!0,h.$flags$&4?q(z):h.raf(z))},Q=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){w(n)}e.length=0},z=()=>{Q(N),Q(re),(D=N.length>0)&&h.raf(z)},q=e=>se().then(e),Ae=Pe(re),Y={},_e="http://www.w3.org/2000/svg",Oe="http://www.w3.org/1999/xhtml",je=e=>e!=null,W=e=>(e=typeof e,e==="object"||e==="function");function ne(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 Ce={};be(Ce,{err:()=>le,map:()=>Ue,ok:()=>H,unwrap:()=>Ie,unwrapErr:()=>Re});var H=e=>({isOk:!0,isErr:!1,value:e}),le=e=>({isOk:!1,isErr:!0,value:e});function Ue(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then(s=>H(s)):H(n)}if(e.isErr){const n=e.value;return le(n)}throw"should never get here"}var Ie=e=>{if(e.isOk)return e.value;throw e.value},Re=e=>{if(e.isErr)return e.value;throw e.value},E=(e,t="")=>()=>{},De=(e,t)=>()=>{},ae=(e,t,...n)=>{let s=null,r=null,o=!1,l=!1;const i=[],a=$=>{for(let f=0;f<$.length;f++)s=$[f],Array.isArray(s)?a(s):s!=null&&typeof s!="boolean"&&((o=typeof e!="function"&&!W(s))&&(s=String(s)),o&&l?i[i.length-1].$text$+=s:i.push(o?B(null,s):s),l=o)};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=B(e,null);return c.$attrs$=t,i.length>0&&(c.$children$=i),c.$key$=r,c},B=(e,t)=>{const n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return n.$attrs$=null,n.$key$=null,n},oe={},ze=e=>e&&e.$tag$===oe,He=(e,t)=>e!=null&&!W(e)?t&4?e==="false"?!1:e===""||!!e:t&1?String(e):e:e,Be=(e,t,n)=>{const s=h.ce(t,n);return e.dispatchEvent(s),s},J=new WeakMap,Fe=(e,t,n)=>{let s=j.get(e);Le&&n?(s=s||new CSSStyleSheet,typeof s=="string"?s=t:s.replaceSync(t)):s=t,j.set(e,s)},qe=(e,t,n)=>{var s;const r=ie(t),o=j.get(r);if(e=e.nodeType===11?e:S,o)if(typeof o=="string"){e=e.head||e;let l=J.get(e),i;if(l||J.set(e,l=new Set),!l.has(r)){{i=S.createElement("style"),i.innerHTML=o;const a=(s=h.$nonce$)!=null?s:ne(S);a!=null&&i.setAttribute("nonce",a),(!(t.$flags$&1)||t.$flags$&1&&e.nodeName!=="HEAD")&&e.insertBefore(i,e.querySelector("link"))}t.$flags$&4&&(i.innerHTML+=te),l&&l.add(r)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]);return r},We=e=>{const t=e.$cmpMeta$,n=e.$hostElement$,s=t.$flags$,r=E("attachStyles",t.$tagName$),o=qe(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);s&10&&s&2&&(n["s-sc"]=o,n.classList.add(o+"-h")),r()},ie=(e,t)=>"sc-"+e.$tagName$,K=(e,t,n,s,r,o)=>{if(n!==s){let l=X(e,t),i=t.toLowerCase();if(t==="class"){const a=e.classList,c=Z(n),$=Z(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):X(I,i)?t=i.slice(2):t=i[2]+t.slice(3),n||s){const a=t.endsWith(ce);t=t.replace(Ge,""),n&&h.rel(e,t,n,a),s&&h.ael(e,t,s,a)}}else{const a=W(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||o&4||r)&&!a&&(s=s===!0?"":s,e.setAttribute(t,s))}}},Me=/\s/,Z=e=>e?e.split(Me):[],ce="Capture",Ge=new RegExp(ce+"$"),$e=(e,t,n)=>{const s=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||Y,o=t.$attrs$||Y;for(const l of V(Object.keys(r)))l in o||K(s,l,r[l],void 0,n,t.$flags$);for(const l of V(Object.keys(o)))K(s,l,r[l],o[l],n,t.$flags$)};function V(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var A,M,fe=!1,y=!1,C=(e,t,n,s)=>{const r=t.$children$[n];let o=0,l,i;if(r.$text$!==null)l=r.$elm$=S.createTextNode(r.$text$);else{if(y||(y=r.$tag$==="svg"),l=r.$elm$=S.createElementNS(y?_e:Oe,!fe&&O.slotRelocation&&r.$flags$&2?"slot-fb":r.$tag$),y&&r.$tag$==="foreignObject"&&(y=!1),$e(null,r,y),!!l.getRootNode().querySelector("body")&&O.scoped&&je(A)&&l["s-si"]!==A&&l.classList.add(l["s-si"]=A),r.$children$)for(o=0;o<r.$children$.length;++o)i=C(e,r,o),i&&l.appendChild(i);r.$tag$==="svg"?y=!1:l.tagName==="foreignObject"&&(y=!0)}return l["s-hn"]=M,l},de=(e,t,n,s,r,o)=>{let l=e,i;for(l.shadowRoot&&l.tagName===M&&(l=l.shadowRoot);r<=o;++r)s[r]&&(i=C(null,n,r),i&&(s[r].$elm$=i,_(l,i,t)))},ue=(e,t,n)=>{for(let s=t;s<=n;++s){const r=e[s];if(r){const o=r.$elm$;pe(r),o&&o.remove()}}},Xe=(e,t,n,s,r=!1)=>{let o=0,l=0,i=0,a=0,c=t.length-1,$=t[0],f=t[c],d=s.length-1,u=s[0],p=s[d],v,m;for(;o<=c&&l<=d;)if($==null)$=t[++o];else if(f==null)f=t[--c];else if(u==null)u=s[++l];else if(p==null)p=s[--d];else if(P($,u,r))T($,u,r),$=t[++o],u=s[++l];else if(P(f,p,r))T(f,p,r),f=t[--c],p=s[--d];else if(P($,p,r))T($,p,r),_(e,$.$elm$,f.$elm$.nextSibling),$=t[++o],p=s[--d];else if(P(f,u,r))T(f,u,r),_(e,f.$elm$,$.$elm$),f=t[--c],u=s[++l];else{for(i=-1,a=o;a<=c;++a)if(t[a]&&t[a].$key$!==null&&t[a].$key$===u.$key$){i=a;break}i>=0?(m=t[i],m.$tag$!==u.$tag$?v=C(t&&t[l],n,i):(T(m,u,r),t[i]=void 0,v=m.$elm$),u=s[++l]):(v=C(t&&t[l],n,l),u=s[++l]),v&&_($.$elm$.parentNode,v,$.$elm$)}o>c?de(e,s[d+1]==null?null:s[d+1].$elm$,n,s,l,d):l>d&&ue(t,o,c)},P=(e,t,n=!1)=>e.$tag$===t.$tag$?n?!0:e.$key$===t.$key$:!1,T=(e,t,n=!1)=>{const s=t.$elm$=e.$elm$,r=e.$children$,o=t.$children$,l=t.$tag$,i=t.$text$;i===null?(y=l==="svg"?!0:l==="foreignObject"?!1:y,$e(e,t,y),r!==null&&o!==null?Xe(s,r,t,o,n):o!==null?(e.$text$!==null&&(s.textContent=""),de(s,null,t,o,0,o.length-1)):!n&&O.updatable&&r!==null&&ue(r,0,r.length-1),y&&l==="svg"&&(y=!1)):e.$text$!==i&&(s.data=i)},pe=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(pe)},_=(e,t,n)=>e==null?void 0:e.insertBefore(t,n),Ne=(e,t,n=!1)=>{const s=e.$hostElement$,r=e.$cmpMeta$,o=e.$vnode$||B(null,null),l=ze(t)?t:ae(null,null,t);if(M=s.tagName,r.$attrsToReflect$&&(l.$attrs$=l.$attrs$||{},r.$attrsToReflect$.map(([i,a])=>l.$attrs$[a]=s[i])),n&&l.$attrs$)for(const i of Object.keys(l.$attrs$))s.hasAttribute(i)&&!["key","ref","style","class"].includes(i)&&(l.$attrs$[i]=s[i]);l.$tag$=null,l.$flags$|=4,e.$vnode$=l,l.$elm$=o.$elm$=s.shadowRoot||s,A=s["s-sc"],fe=(r.$flags$&1)!==0,T(o,l,n)},ve=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(n=>e.$onRenderResolve$=n))},G=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ve(e,e.$ancestorComponent$),Ae(()=>Qe(e,t))},Qe=(e,t)=>{const n=e.$hostElement$,s=E("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 o;return t&&(o=U(r,"componentWillLoad")),s(),Ye(o,()=>Ke(e,r,t))},Ye=(e,t)=>Je(e)?e.then(t).catch(n=>{console.error(n),t()}):t(),Je=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Ke=(e,t,n)=>L(exports,null,function*(){var s;const r=e.$hostElement$,o=E("update",e.$cmpMeta$.$tagName$),l=r["s-rc"];n&&We(e);const i=E("render",e.$cmpMeta$.$tagName$);Ze(e,t,r,n),l&&(l.map(a=>a()),r["s-rc"]=void 0),i(),o();{const a=(s=r["s-p"])!=null?s:[],c=()=>Ve(e);a.length===0?c():(Promise.all(a).then(c),e.$flags$|=4,a.length=0)}}),Ze=(e,t,n,s)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,Ne(e,t,s)}catch(r){w(r,e.$hostElement$)}return null},Ve=e=>{const t=e.$cmpMeta$.$tagName$,n=e.$hostElement$,s=E("postUpdate",t),r=e.$lazyInstance$,o=e.$ancestorComponent$;U(r,"componentDidRender"),e.$flags$&64?s():(e.$flags$|=64,ge(n),U(r,"componentDidLoad"),s(),e.$onReadyResolve$(n),o||he()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&q(()=>G(e,!1)),e.$flags$&=-517},he=e=>{ge(S.documentElement),q(()=>Be(I,"appload",{detail:{namespace:Se}}))},U=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(s){w(s)}},ge=e=>{var t;return e.classList.add((t=O.hydratedSelectorName)!=null?t:"hydrated")},et=(e,t)=>k(e).$instanceValues$.get(t),tt=(e,t,n,s)=>{const r=k(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 o=r.$hostElement$,l=r.$instanceValues$.get(t),i=r.$flags$,a=r.$lazyInstance$;n=He(n,s.$members$[t][0]);const c=Number.isNaN(l)&&Number.isNaN(n),$=n!==l&&!c;if((!(i&8)||l===void 0)&&$&&(r.$instanceValues$.set(t,n),a)){if(s.$watchers$&&i&128){const f=s.$watchers$[t];f&&f.map(d=>{try{a[d](n,l,t)}catch(u){w(u,o)}})}(i&18)===2&&G(r,!1)}},ye=(e,t,n)=>{var s,r;const o=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(([i,[a]])=>{(a&31||n&2&&a&32)&&Object.defineProperty(o,i,{get(){return et(this,i)},set(c){tt(this,i,c,t)},configurable:!0,enumerable:!0})}),n&1){const i=new Map;o.attributeChangedCallback=function(a,c,$){h.jmp(()=>{var f;const d=i.get(a);if(this.hasOwnProperty(d))$=this[d],delete this[d];else{if(o.hasOwnProperty(d)&&typeof this[d]=="number"&&this[d]==$)return;if(d==null){const u=k(this),p=u==null?void 0:u.$flags$;if(p&&!(p&8)&&p&128&&$!==c){const v=u.$lazyInstance$,m=(f=t.$watchers$)==null?void 0:f[a];m==null||m.forEach(g=>{v[g]!=null&&v[g].call(v,$,c,a)})}return}}this[d]=$===null&&typeof this[d]=="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])=>{var $;const f=c[1]||a;return i.set(f,a),c[0]&512&&(($=t.$attrsToReflect$)==null||$.push([a,f])),f})]))}}return e},st=(e,t,n,s)=>L(exports,null,function*(){let r;if(!(t.$flags$&32)){if(t.$flags$|=32,n.$lazyBundleId$){const a=Te(n);if(a&&"then"in a){const $=De();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,ye(r,n,2),r.isProxied=!0);const c=E("createInstance",n.$tagName$);t.$flags$|=8;try{new r(t)}catch($){w($)}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=ie(n);if(!j.has(c)){const $=E("registerStyles",n.$tagName$);Fe(c,a,!!(n.$flags$&1)),$()}}}const o=t.$ancestorComponent$,l=()=>G(t,!0);o&&o["s-rc"]?o["s-rc"].push(l):l()}),rt=e=>{},nt=e=>{if(!(h.$flags$&1)){const t=k(e),n=t.$cmpMeta$,s=E("connectedCallback",n.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>rt());else{t.$flags$|=1;{let r=e;for(;r=r.parentNode||r.host;)if(r["s-p"]){ve(t,t.$ancestorComponent$=r);break}}n.$members$&&Object.entries(n.$members$).map(([r,[o]])=>{if(o&31&&e.hasOwnProperty(r)){const l=e[r];delete e[r],e[r]=l}}),st(e,t,n)}s()}},ee=e=>{U(e,"disconnectedCallback")},lt=e=>L(exports,null,function*(){if(!(h.$flags$&1)){const t=k(e);t!=null&&t.$lazyInstance$?ee(t.$lazyInstance$):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>ee(t.$lazyInstance$))}}),at=(e,t={})=>{var n;const s=E(),r=[],o=t.exclude||[],l=I.customElements,i=S.head,a=i.querySelector("meta[charset]"),c=S.createElement("style"),$=[];let f,d=!0;Object.assign(h,t),h.$resourcesUrl$=new URL(t.resourcesUrl||"./",S.baseURI).href;let u=!1;if(e.map(p=>{p[1].map(v=>{var m;const g={$flags$:v[0],$tagName$:v[1],$members$:v[2],$listeners$:v[3]};g.$flags$&4&&(u=!0),g.$members$=v[2],g.$attrsToReflect$=[],g.$watchers$=(m=v[4])!=null?m:{};const x=g.$tagName$,me=class extends HTMLElement{constructor(b){if(super(b),this.hasRegisteredEventListeners=!1,b=this,we(b,g),g.$flags$&1){if(!b.shadowRoot)b.attachShadow({mode:"open"});else if(b.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${g.$tagName$}! Mode is set to ${b.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){k(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),d?$.push(this):h.jmp(()=>nt(this))}disconnectedCallback(){h.jmp(()=>lt(this))}componentOnReady(){return k(this).$onReadyPromise$}};g.$lazyBundleId$=p[0],!o.includes(x)&&!l.get(x)&&(r.push(x),l.define(x,ye(me,g,1)))})}),r.length>0&&(u&&(c.textContent+=te),c.textContent+=r.sort()+xe,c.innerHTML.length)){c.setAttribute("data-styles","");const p=(n=h.$nonce$)!=null?n:ne(S);p!=null&&c.setAttribute("nonce",p),i.insertBefore(c,a?a.nextSibling:i.firstChild)}d=!1,$.length?$.map(p=>p.connectedCallback()):h.jmp(()=>f=setTimeout(he,30)),s()};exports.Host=oe;exports.bootstrapLazy=at;exports.h=ae;exports.promiseResolve=se;exports.registerInstance=ke;
|