@everymatrix/casino-header-controller 1.62.0 → 1.62.1
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/{CasinoHamburgerMenu-DG16kRnn.js → CasinoHamburgerMenu-B9IAH_YY.js} +955 -935
- package/components/CasinoHamburgerMenu-C8cGdz4v.cjs +21 -0
- package/components/{CasinoHamburgerMenu-Brszz5aE.js → CasinoHamburgerMenu-DRGz0x_i.js} +996 -976
- package/components/{CasinoHeaderController-Bi_PsLNo.js → CasinoHeaderController-B-BPTjQx.js} +805 -805
- package/components/{CasinoHeaderController-D-uj7JRv.js → CasinoHeaderController-CPWk1rYN.js} +834 -834
- package/components/CasinoHeaderController-CRKRbnS1.cjs +13 -0
- package/components/{CasinoSlider-BGcfG7tc.js → CasinoSlider-BYM8xAjw.js} +160 -161
- package/components/CasinoSlider-EyNMAsDA.cjs +1 -0
- package/components/{CasinoSlider-CbwSfQ5U.js → CasinoSlider-gdJBiwPv.js} +229 -230
- package/components/PlayerAccountBalanceModal-Btw6JVum.cjs +13 -0
- package/components/PlayerAccountBalanceModal-C6gNwaoU.js +1539 -0
- package/components/PlayerAccountBalanceModal-CtjDziPg.js +1510 -0
- package/components/{PlayerDeposit-DT3FMmq_.js → PlayerDeposit-B1mR9g-U.js} +65 -65
- package/components/PlayerDeposit-t-UG_1zf.cjs +1 -0
- package/components/{PlayerDeposit-LOugiTzl.js → PlayerDeposit-zkOb7jg5.js} +65 -65
- package/es2015/casino-header-controller.cjs +1 -1
- package/es2015/casino-header-controller.js +1 -1
- package/esnext/casino-header-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/app-globals-0f993ce5-D-kw1sls.js +5 -0
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
- package/stencil/index-1ef3a64c-BKQuom7L.js +556 -0
- package/stencil/index-1ef3a64c-CA6VYINb.cjs +1 -0
- package/stencil/index-1ef3a64c-CMTTH4QO.js +572 -0
- package/stencil/{user-deposit-withdrawal-BgHQVwjl.js → user-deposit-withdrawal-CIdBBp4F.js} +2 -2
- package/stencil/{user-deposit-withdrawal-CiSGImrn.js → user-deposit-withdrawal-XUfhzxqt.js} +2 -2
- package/stencil/user-deposit-withdrawal-jRWOVoij.cjs +59 -0
- package/components/CasinoHamburgerMenu-CenXHDyi.cjs +0 -21
- package/components/CasinoHeaderController-Bz4z7_4A.cjs +0 -13
- package/components/CasinoSlider-AbmiO3mA.cjs +0 -1
- package/components/PlayerAccountBalanceModal-CRsCp5RM.js +0 -1510
- package/components/PlayerAccountBalanceModal-CxtwbrSo.cjs +0 -13
- package/components/PlayerAccountBalanceModal-LJoITUi6.js +0 -1539
- package/components/PlayerDeposit-kURepYtp.cjs +0 -1
- package/stencil/app-globals-0f993ce5-B6nNHmA4.js +0 -7
- package/stencil/app-globals-0f993ce5-DgOnOgxM.cjs +0 -1
- package/stencil/index-1ef3a64c-BaxDlNn6.cjs +0 -1
- package/stencil/index-1ef3a64c-D9Ku4GpR.js +0 -572
- package/stencil/index-1ef3a64c-ROy2EAIH.js +0 -556
- package/stencil/index-b7bbd57e-BoAFccAK.js +0 -550
- package/stencil/index-b7bbd57e-BuEw0j7w.js +0 -534
- package/stencil/index-b7bbd57e-ClcNZKHr.cjs +0 -1
- package/stencil/ui-image-38c3c15f-6EDRvUAC.cjs +0 -1
- package/stencil/ui-image-38c3c15f-BkLbeFkW.js +0 -39
- package/stencil/ui-image-38c3c15f-Xqn6sg2a.js +0 -39
- package/stencil/ui-image-CE5QS3zc.js +0 -29
- package/stencil/ui-image-CjqRfQLV.js +0 -11
- package/stencil/ui-image-kleliRLi.cjs +0 -1
- package/stencil/user-deposit-withdrawal-BFFp7sgO.cjs +0 -59
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoHamburgerMenu-CenXHDyi.cjs");function E(s,t){e.addMessages(s,t)}function H(s){e.$locale.set(s)}const L={en:{titleDeposit:"Deposit",loading:"Loading, please wait ..."},"zh-hk":{titleDeposit:"訂金",loading:"加載請稍候…"},fr:{titleDeposit:"Dépôt",loading:"Chargement, veuillez patienter ..."},tr:{titleDeposit:"PARA YATIR",loading:"Yükleniyor ..."},ro:{titleDeposit:"Depunere",loading:"Se încarcă..."},es:{titleDeposit:"Deposita",loading:"Cargando ..."},pt:{titleDeposit:"Depósito",loading:"Carregando, por favor espere ..."},hr:{titleDeposit:"Uplata",loading:"Učitavanje"},"pt-br":{titleDeposit:"Depositar",Loading:"Carregando, por favor espere..."},"es-mx":{titleDeposit:"Depositar",Loading:"Cargando, por favor espere..."}};function W(s){e.append_styles(s,"svelte-lvm6lo","button{font-family:var(--emw--button-typography)}input,select,option{font-family:inherit}.DepositWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%;height:var(--dynamic-height)}.DepositWrapper.DepositWrapperMobile{padding:20px 15px;max-width:unset;height:var(--dynamic-height)}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.DepositTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.DepositTitleMobile{font-size:var(--emw--size-standard, 16px)}.DepositTitleNone{display:none}.DepositIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 20px)}")}function j(s){let t,a,o,n,c,m,d,p,f,l,r=s[4]("titleDeposit")+"",u,w,D;return{c(){t=e.element("div"),a=e.svg_element("svg"),o=e.svg_element("defs"),n=e.svg_element("style"),c=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),m=e.svg_element("g"),d=e.svg_element("g"),p=e.svg_element("path"),f=e.space(),l=e.element("h2"),u=e.text(r),e.attr(p,"class","aaa"),e.attr(p,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(p,"transform","translate(15 15) rotate(180)"),e.attr(d,"transform","translate(20 158)"),e.attr(m,"transform","translate(-20 -158)"),e.attr(a,"xmlns","http://www.w3.org/2000/svg"),e.attr(a,"width","15"),e.attr(a,"height","15"),e.attr(a,"viewBox","0 0 15 15"),e.attr(l,"class","DepositTitleMobile"),e.attr(t,"class","MenuReturnButton")},m(g,h){e.insert(g,t,h),e.append(t,a),e.append(a,o),e.append(o,n),e.append(n,c),e.append(a,m),e.append(m,d),e.append(d,p),e.append(t,f),e.append(t,l),e.append(l,u),w||(D=e.listen(t,"click",s[18]),w=!0)},p(g,h){h&16&&r!==(r=g[4]("titleDeposit")+"")&&e.set_data(u,r)},d(g){g&&e.detach(t),w=!1,D()}}}function z(s){let t,a,o;return{c(){t=e.element("div"),a=e.element("iframe"),e.src_url_equal(a.src,o=s[3])||e.attr(a,"src",o),e.attr(a,"title","Deposit Iframe"),e.attr(t,"class","DepositIframeWrapper")},m(n,c){e.insert(n,t,c),e.append(t,a)},p(n,c){c&8&&!e.src_url_equal(a.src,o=n[3])&&e.attr(a,"src",o)},d(n){n&&e.detach(t)}}}function G(s){let t,a=s[4]("loading")+"",o;return{c(){t=e.element("p"),o=e.text(a)},m(n,c){e.insert(n,t,c),e.append(t,o)},p(n,c){c&16&&a!==(a=n[4]("loading")+"")&&e.set_data(o,a)},d(n){n&&e.detach(t)}}}function q(s){let t,a,o,n=s[4]("titleDeposit")+"",c,m,d=s[5]&&j(s);function p(r,u){return r[1]?G:z}let f=p(s),l=f(s);return{c(){t=e.element("div"),d&&d.c(),a=e.space(),o=e.element("h2"),c=e.text(n),m=e.space(),l.c(),e.attr(o,"class","DepositTitle "+(s[5]?"DepositTitleNone":"")),e.attr(t,"class","DepositWrapper "+(s[5]?"DepositWrapperMobile":"")),e.set_style(t,"--dynamic-height",s[2])},m(r,u){e.insert(r,t,u),d&&d.m(t,null),e.append(t,a),e.append(t,o),e.append(o,c),e.append(t,m),l.m(t,null),s[19](t)},p(r,[u]){r[5]&&d.p(r,u),u&16&&n!==(n=r[4]("titleDeposit")+"")&&e.set_data(c,n),f===(f=p(r))&&l?l.p(r,u):(l.d(1),l=f(r),l&&(l.c(),l.m(t,null))),u&4&&e.set_style(t,"--dynamic-height",r[2])},i:e.noop,o:e.noop,d(r){r&&e.detach(t),d&&d.d(),l.d(),s[19](null)}}}function N(s,t,a){let o,n;e.component_subscribe(s,e.$format,i=>a(4,n=i));let{endpoint:c=""}=t,{session:m=""}=t,{playerid:d=""}=t,{lang:p="en"}=t,{hasdefaultamount:f=""}=t,{clientstyling:l=""}=t,{clientstylingurl:r=""}=t,{translationurl:u=""}=t,{currency:w=""}=t,{mbsource:D}=t,{shortcashierenabled:g="false"}=t,h,B=window.navigator.userAgent,v=e.getDevice(B)!=="PC",M=!0,k,C,_=0,S="";const P=()=>{fetch(u).then(y=>y.json()).then(y=>{Object.keys(y).forEach(b=>{E(b,y[b])})}).catch(y=>{console.log(y)})};Object.keys(L).forEach(i=>{E(i,L[i])});const x=()=>{window.postMessage({type:"GoToPreviousRoute",isMobile:v},window.location.href)},T=i=>{if(i.data){switch(i.data.type){case"ProfileDetailsData":a(7,w=i.data.profileDetails.currency);break}switch(i.data["MMFE:setQuickDepositHeight"]&&a(2,k=i.data["MMFE:setQuickDepositHeight"].toString()+"px"),i.data["MMFE:openFullCashier"]==="true"&&(window.postMessage({type:"GoToDeposit"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href)),i.data.redirect){case"mm-hc-casino":window.postMessage({type:"GoToCasino"},window.location.href);break;case"mm-hc-sports":window.postMessage({type:"GoToSports"},window.location.href);break;case"mm-hc-contact":window.postMessage({type:"GoToCustomerSupport"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href);break;case"mm-hc-back-to-merchant":window.postMessage({type:"GoToHomepage"},window.location.href);break;case"mm-wm-hc-init-deposit":window.postMessage({type:"RedirectWithdrawDepositCloseModal"},window.location.href);break;case"mm-wm-hc-init-deposit-quick":window.postMessage({type:"CloseShortCashier"},window.location.href);break}}},I=()=>{let i=new URL(`${c}/v1/player/${d}/hostedcashier/initializedeposit?showBonusSelectionInput=true`);if(i.searchParams.append("language",p),o&&i.searchParams.append("isShortCashier",g),f)switch(w){case"USD":_=.4;break;case"CDF":_=1e3;break}let y={method:"POST",headers:{"X-SessionId":m,currency:w||"EUR",amount:_,cashierMode:"Default",IsShortCashier:g,accept:"application/json"}};fetch(i.href,y).then(b=>b.json()).then(b=>{a(1,M=!1),a(3,S=b.CashierUrl)},b=>{console.error(b)})},U=()=>{H(p)};e.onMount(()=>(window.addEventListener("message",T,!1),()=>{window.emMessageBus&&C&&C.unsubscribe(),window.removeEventListener("message",T)}));const A=()=>x();function F(i){e.binding_callbacks[i?"unshift":"push"](()=>{h=i,a(0,h)})}return s.$$set=i=>{"endpoint"in i&&a(8,c=i.endpoint),"session"in i&&a(9,m=i.session),"playerid"in i&&a(10,d=i.playerid),"lang"in i&&a(11,p=i.lang),"hasdefaultamount"in i&&a(12,f=i.hasdefaultamount),"clientstyling"in i&&a(13,l=i.clientstyling),"clientstylingurl"in i&&a(14,r=i.clientstylingurl),"translationurl"in i&&a(15,u=i.translationurl),"currency"in i&&a(7,w=i.currency),"mbsource"in i&&a(16,D=i.mbsource),"shortcashierenabled"in i&&a(17,g=i.shortcashierenabled)},s.$$.update=()=>{s.$$.dirty&2048&&p&&U(),s.$$.dirty&131072&&(o=g.toLocaleLowerCase()==="true"),s.$$.dirty&8193&&l&&h&&e.setClientStyling(h,l),s.$$.dirty&16385&&r&&h&&e.setClientStylingURL(h,r),s.$$.dirty&65537&&D&&h&&e.setStreamStyling(h,`${D}.Style`),s.$$.dirty&32768&&u&&P(),s.$$.dirty&135040&&m&&d&&c&&w&&p&&g&&I()},[h,M,k,S,n,v,x,w,c,m,d,p,f,l,r,u,D,g,A,F]}class R extends e.SvelteComponent{constructor(t){super(),e.init(this,t,N,q,e.safe_not_equal,{endpoint:8,session:9,playerid:10,lang:11,hasdefaultamount:12,clientstyling:13,clientstylingurl:14,translationurl:15,currency:7,mbsource:16,shortcashierenabled:17},W)}get endpoint(){return this.$$.ctx[8]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[9]}set session(t){this.$$set({session:t}),e.flush()}get playerid(){return this.$$.ctx[10]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[11]}set lang(t){this.$$set({lang:t}),e.flush()}get hasdefaultamount(){return this.$$.ctx[12]}set hasdefaultamount(t){this.$$set({hasdefaultamount:t}),e.flush()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[15]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get currency(){return this.$$.ctx[7]}set currency(t){this.$$set({currency:t}),e.flush()}get mbsource(){return this.$$.ctx[16]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get shortcashierenabled(){return this.$$.ctx[17]}set shortcashierenabled(t){this.$$set({shortcashierenabled:t}),e.flush()}}e.create_custom_element(R,{endpoint:{},session:{},playerid:{},lang:{},hasdefaultamount:{},clientstyling:{},clientstylingurl:{},translationurl:{},currency:{},mbsource:{},shortcashierenabled:{}},[],[],!0);exports.default=R;
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";const l=()=>{},s=()=>{};exports.globalScripts=s;exports.globalScripts$1=l;
|
@@ -1 +0,0 @@
|
|
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",ee={allRenderFn:!0,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,cmpDidLoad:!0,cmpDidRender:!1,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 be=Object.defineProperty,Ee=(e,t)=>{for(var n in t)be(e,n,{get:t[n],enumerable:!0})},H=new WeakMap,k=e=>H.get(e),ke=(e,t)=>H.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"]=[],H.set(e,n)},G=(e,t)=>t in e,w=(e,t)=>(0,console.error)(e,t),I=new Map,Te=(e,t,n)=>{const s=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$;if(!r)return;const o=I.get(r);if(o)return o[s];{const l=i=>(I.set(r,i),i[s]);switch(r){case"user-deposit-withdrawal":return Promise.resolve().then(()=>require("./user-deposit-withdrawal-BFFp7sgO.cjs")).then(l,w)}}return import(`./${r}.entry.js`).then(l=>(I.set(r,l),l[s]),w)},O=new Map,xe="{visibility:hidden}.hydrated{visibility:inherit}",te="slot-fb{display:contents}slot-fb[hidden]{display:none}",C=typeof window!="undefined"?window:{},S=C.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})(),U=!1,X=[],re=[],Pe=(e,t)=>n=>{e.push(n),U||(U=!0,h.$flags$&4?B(D):h.raf(D))},Q=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){w(n)}e.length=0},D=()=>{Q(X),Q(re),(U=X.length>0)&&h.raf(D)},B=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,F=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={};Ee(Ce,{err:()=>le,map:()=>Ie,ok:()=>R,unwrap:()=>Ue,unwrapErr:()=>De});var R=e=>({isOk:!0,isErr:!1,value:e}),le=e=>({isOk:!1,isErr:!0,value:e});function Ie(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then(s=>R(s)):R(n)}if(e.isErr){const n=e.value;return le(n)}throw"should never get here"}var Ue=e=>{if(e.isOk)return e.value;throw e.value},De=e=>{if(e.isErr)return e.value;throw e.value},b=(e,t="")=>()=>{},Re=(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"&&!F(s))&&(s=String(s)),o&&l?i[i.length-1].$text$+=s:i.push(o?z(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=z(e,null);return c.$attrs$=t,i.length>0&&(c.$children$=i),c.$key$=r,c},z=(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&&!F(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=O.get(e);Le&&n?(s=s||new CSSStyleSheet,typeof s=="string"?s=t:s.replaceSync(t)):s=t,O.set(e,s)},qe=(e,t,n)=>{var s;const r=ie(t),o=O.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),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},Me=e=>{const t=e.$cmpMeta$,n=e.$hostElement$,s=t.$flags$,r=b("attachStyles",t.$tagName$),o=qe(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);s&10&&(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=G(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):G(C,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=F(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))}}},We=/\s/,Z=e=>e?e.split(We):[],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 N(Object.keys(r)))l in o||K(s,l,r[l],void 0,n,t.$flags$);for(const l of N(Object.keys(o)))K(s,l,r[l],o[l],n,t.$flags$)};function N(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var A,q,fe=!1,y=!1,j=(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&&ee.slotRelocation&&r.$flags$&2?"slot-fb":r.$tag$),y&&r.$tag$==="foreignObject"&&(y=!1),$e(null,r,y),je(A)&&l["s-si"]!==A&&l.classList.add(l["s-si"]=A),r.$children$)for(o=0;o<r.$children$.length;++o)i=j(e,r,o),i&&l.appendChild(i);r.$tag$==="svg"?y=!1:l.tagName==="foreignObject"&&(y=!0)}return l["s-hn"]=q,l},de=(e,t,n,s,r,o)=>{let l=e,i;for(l.shadowRoot&&l.tagName===q&&(l=l.shadowRoot);r<=o;++r)s[r]&&(i=j(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=j(t&&t[l],n,i):(T(m,u,r),t[i]=void 0,v=m.$elm$),u=s[++l]):(v=j(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)):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),Qe=(e,t,n=!1)=>{const s=e.$hostElement$,r=e.$cmpMeta$,o=e.$vnode$||z(null,null),l=ze(t)?t:ae(null,null,t);if(q=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))},M=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ve(e,e.$ancestorComponent$),Ae(()=>Ye(e,t))},Ye=(e,t)=>{const n=e.$hostElement$,s=b("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=W(r,"componentWillLoad")),s(),Je(o,()=>Ze(e,r,t))},Je=(e,t)=>Ke(e)?e.then(t).catch(n=>{console.error(n),t()}):t(),Ke=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Ze=(e,t,n)=>L(exports,null,function*(){var s;const r=e.$hostElement$,o=b("update",e.$cmpMeta$.$tagName$),l=r["s-rc"];n&&Me(e);const i=b("render",e.$cmpMeta$.$tagName$);Ne(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)}}),Ne=(e,t,n,s)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,Qe(e,t,s)}catch(r){w(r,e.$hostElement$)}return null},Ve=e=>{const t=e.$cmpMeta$.$tagName$,n=e.$hostElement$,s=b("postUpdate",t),r=e.$lazyInstance$,o=e.$ancestorComponent$;e.$flags$&64?s():(e.$flags$|=64,ge(n),W(r,"componentDidLoad"),s(),e.$onReadyResolve$(n),o||he()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&B(()=>M(e,!1)),e.$flags$&=-517},he=e=>{ge(S.documentElement),B(()=>Be(C,"appload",{detail:{namespace:Se}}))},W=(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=ee.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&&M(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 $=Re();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=b("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(!O.has(c)){const $=b("registerStyles",n.$tagName$);Fe(c,a,!!(n.$flags$&1)),$()}}}const o=t.$ancestorComponent$,l=()=>M(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=b("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()}},V=e=>{W(e,"disconnectedCallback")},lt=e=>L(exports,null,function*(){if(!(h.$flags$&1)){const t=k(e);t!=null&&t.$lazyInstance$?V(t.$lazyInstance$):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>V(t.$lazyInstance$))}}),at=(e,t={})=>{var n;const s=b(),r=[],o=t.exclude||[],l=C.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(E){if(super(E),this.hasRegisteredEventListeners=!1,E=this,we(E,g),g.$flags$&1){if(!E.shadowRoot)E.attachShadow({mode:"open"});else if(E.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${g.$tagName$}! Mode is set to ${E.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;
|
@@ -1,572 +0,0 @@
|
|
1
|
-
var L = (e, t, n) => new Promise((s, r) => {
|
2
|
-
var o = (a) => {
|
3
|
-
try {
|
4
|
-
i(n.next(a));
|
5
|
-
} catch (c) {
|
6
|
-
r(c);
|
7
|
-
}
|
8
|
-
}, l = (a) => {
|
9
|
-
try {
|
10
|
-
i(n.throw(a));
|
11
|
-
} catch (c) {
|
12
|
-
r(c);
|
13
|
-
}
|
14
|
-
}, i = (a) => a.done ? s(a.value) : Promise.resolve(a.value).then(o, l);
|
15
|
-
i((n = n.apply(e, t)).next());
|
16
|
-
});
|
17
|
-
const ge = "user-deposit-withdrawal", ee = (
|
18
|
-
/* user-deposit-withdrawal */
|
19
|
-
{ allRenderFn: !0, appendChildSlotFix: !1, asyncLoading: !0, asyncQueue: !1, attachStyles: !0, cloneNodeFix: !1, cmpDidLoad: !0, cmpDidRender: !1, 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 }
|
20
|
-
);
|
21
|
-
var ye = Object.defineProperty, me = (e, t) => {
|
22
|
-
for (var n in t)
|
23
|
-
ye(e, n, { get: t[n], enumerable: !0 });
|
24
|
-
}, H = /* @__PURE__ */ new WeakMap(), k = (e) => H.get(e), at = (e, t) => H.set(t.$lazyInstance$ = e, t), Se = (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"] = [], H.set(e, n);
|
32
|
-
}, G = (e, t) => t in e, w = (e, t) => (0, console.error)(e, t), U = /* @__PURE__ */ new Map(), be = (e, t, n) => {
|
33
|
-
const s = e.$tagName$.replace(/-/g, "_"), r = e.$lazyBundleId$;
|
34
|
-
if (!r)
|
35
|
-
return;
|
36
|
-
const o = U.get(r);
|
37
|
-
if (o)
|
38
|
-
return o[s];
|
39
|
-
{
|
40
|
-
const l = (i) => (U.set(r, i), i[s]);
|
41
|
-
switch (r) {
|
42
|
-
case "user-deposit-withdrawal":
|
43
|
-
return import(
|
44
|
-
/* webpackMode: "lazy" */
|
45
|
-
"./user-deposit-withdrawal-CiSGImrn.js"
|
46
|
-
).then(l, w);
|
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) => (U.set(r, l), l[s]), w);
|
56
|
-
}, O = /* @__PURE__ */ new Map(), Ee = "{visibility:hidden}.hydrated{visibility:inherit}", te = "slot-fb{display:contents}slot-fb[hidden]{display:none}", C = typeof window != "undefined" ? window : {}, S = C.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
|
-
}, ke = (e) => Promise.resolve(e), we = /* @__PURE__ */ (() => {
|
65
|
-
try {
|
66
|
-
return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
|
67
|
-
} catch (e) {
|
68
|
-
}
|
69
|
-
return !1;
|
70
|
-
})(), I = !1, X = [], se = [], xe = (e, t) => (n) => {
|
71
|
-
e.push(n), I || (I = !0, h.$flags$ & 4 ? B(D) : h.raf(D));
|
72
|
-
}, Q = (e) => {
|
73
|
-
for (let t = 0; t < e.length; t++)
|
74
|
-
try {
|
75
|
-
e[t](performance.now());
|
76
|
-
} catch (n) {
|
77
|
-
w(n);
|
78
|
-
}
|
79
|
-
e.length = 0;
|
80
|
-
}, D = () => {
|
81
|
-
Q(X), Q(se), (I = X.length > 0) && h.raf(D);
|
82
|
-
}, B = (e) => ke().then(e), Te = /* @__PURE__ */ xe(se), Y = {}, Le = "http://www.w3.org/2000/svg", Pe = "http://www.w3.org/1999/xhtml", Ae = (e) => e != null, F = (e) => (e = typeof e, e === "object" || e === "function");
|
83
|
-
function re(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 _e = {};
|
88
|
-
me(_e, {
|
89
|
-
err: () => ne,
|
90
|
-
map: () => Oe,
|
91
|
-
ok: () => R,
|
92
|
-
unwrap: () => je,
|
93
|
-
unwrapErr: () => Ce
|
94
|
-
});
|
95
|
-
var R = (e) => ({
|
96
|
-
isOk: !0,
|
97
|
-
isErr: !1,
|
98
|
-
value: e
|
99
|
-
}), ne = (e) => ({
|
100
|
-
isOk: !1,
|
101
|
-
isErr: !0,
|
102
|
-
value: e
|
103
|
-
});
|
104
|
-
function Oe(e, t) {
|
105
|
-
if (e.isOk) {
|
106
|
-
const n = t(e.value);
|
107
|
-
return n instanceof Promise ? n.then((s) => R(s)) : R(n);
|
108
|
-
}
|
109
|
-
if (e.isErr) {
|
110
|
-
const n = e.value;
|
111
|
-
return ne(n);
|
112
|
-
}
|
113
|
-
throw "should never get here";
|
114
|
-
}
|
115
|
-
var je = (e) => {
|
116
|
-
if (e.isOk)
|
117
|
-
return e.value;
|
118
|
-
throw e.value;
|
119
|
-
}, Ce = (e) => {
|
120
|
-
if (e.isErr)
|
121
|
-
return e.value;
|
122
|
-
throw e.value;
|
123
|
-
}, b = (e, t = "") => () => {
|
124
|
-
}, Ue = (e, t) => () => {
|
125
|
-
}, Ie = (e, t, ...n) => {
|
126
|
-
let s = null, r = null, o = !1, l = !1;
|
127
|
-
const i = [], a = ($) => {
|
128
|
-
for (let f = 0; f < $.length; f++)
|
129
|
-
s = $[f], Array.isArray(s) ? a(s) : s != null && typeof s != "boolean" && ((o = typeof e != "function" && !F(s)) && (s = String(s)), o && l ? i[i.length - 1].$text$ += s : i.push(o ? z(null, s) : s), l = o);
|
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 = z(e, null);
|
139
|
-
return c.$attrs$ = t, i.length > 0 && (c.$children$ = i), c.$key$ = r, c;
|
140
|
-
}, z = (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
|
-
}, De = {}, Re = (e) => e && e.$tag$ === De, ze = (e, t) => e != null && !F(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 1 ? String(e) : e : e, He = (e, t, n) => {
|
150
|
-
const s = h.ce(t, n);
|
151
|
-
return e.dispatchEvent(s), s;
|
152
|
-
}, J = /* @__PURE__ */ new WeakMap(), Be = (e, t, n) => {
|
153
|
-
let s = O.get(e);
|
154
|
-
we && n ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = t : s.replaceSync(t)) : s = t, O.set(e, s);
|
155
|
-
}, Fe = (e, t, n) => {
|
156
|
-
var s;
|
157
|
-
const r = le(t), o = O.get(r);
|
158
|
-
if (e = e.nodeType === 11 ? e : S, o)
|
159
|
-
if (typeof o == "string") {
|
160
|
-
e = e.head || e;
|
161
|
-
let l = J.get(e), i;
|
162
|
-
if (l || J.set(e, l = /* @__PURE__ */ new Set()), !l.has(r)) {
|
163
|
-
{
|
164
|
-
i = S.createElement("style"), i.innerHTML = o;
|
165
|
-
const a = (s = h.$nonce$) != null ? s : re(S);
|
166
|
-
a != null && i.setAttribute("nonce", a), e.insertBefore(i, e.querySelector("link"));
|
167
|
-
}
|
168
|
-
t.$flags$ & 4 && (i.innerHTML += te), l && l.add(r);
|
169
|
-
}
|
170
|
-
} else
|
171
|
-
e.adoptedStyleSheets.includes(o) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, o]);
|
172
|
-
return r;
|
173
|
-
}, qe = (e) => {
|
174
|
-
const t = e.$cmpMeta$, n = e.$hostElement$, s = t.$flags$, r = b("attachStyles", t.$tagName$), o = Fe(
|
175
|
-
n.shadowRoot ? n.shadowRoot : n.getRootNode(),
|
176
|
-
t
|
177
|
-
);
|
178
|
-
s & 10 && (n["s-sc"] = o, n.classList.add(o + "-h")), r();
|
179
|
-
}, le = (e, t) => "sc-" + e.$tagName$, K = (e, t, n, s, r, o) => {
|
180
|
-
if (n !== s) {
|
181
|
-
let l = G(e, t), i = t.toLowerCase();
|
182
|
-
if (t === "class") {
|
183
|
-
const a = e.classList, c = Z(n), $ = Z(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) : G(C, i) ? t = i.slice(2) : t = i[2] + t.slice(3), n || s) {
|
195
|
-
const a = t.endsWith(ae);
|
196
|
-
t = t.replace(We, ""), n && h.rel(e, t, n, a), s && h.ael(e, t, s, a);
|
197
|
-
}
|
198
|
-
} else {
|
199
|
-
const a = F(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 || o & 4 || r) && !a && (s = s === !0 ? "" : s, e.setAttribute(t, s));
|
211
|
-
}
|
212
|
-
}
|
213
|
-
}, Me = /\s/, Z = (e) => e ? e.split(Me) : [], ae = "Capture", We = new RegExp(ae + "$"), oe = (e, t, n) => {
|
214
|
-
const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, r = e && e.$attrs$ || Y, o = t.$attrs$ || Y;
|
215
|
-
for (const l of N(Object.keys(r)))
|
216
|
-
l in o || K(s, l, r[l], void 0, n, t.$flags$);
|
217
|
-
for (const l of N(Object.keys(o)))
|
218
|
-
K(s, l, r[l], o[l], n, t.$flags$);
|
219
|
-
};
|
220
|
-
function N(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 A, q, ie = !1, y = !1, j = (e, t, n, s) => {
|
230
|
-
const r = t.$children$[n];
|
231
|
-
let o = 0, l, i;
|
232
|
-
if (r.$text$ !== null)
|
233
|
-
l = r.$elm$ = S.createTextNode(r.$text$);
|
234
|
-
else {
|
235
|
-
if (y || (y = r.$tag$ === "svg"), l = r.$elm$ = S.createElementNS(
|
236
|
-
y ? Le : Pe,
|
237
|
-
!ie && ee.slotRelocation && r.$flags$ & 2 ? "slot-fb" : r.$tag$
|
238
|
-
), y && r.$tag$ === "foreignObject" && (y = !1), oe(null, r, y), Ae(A) && l["s-si"] !== A && l.classList.add(l["s-si"] = A), r.$children$)
|
239
|
-
for (o = 0; o < r.$children$.length; ++o)
|
240
|
-
i = j(e, r, o), i && l.appendChild(i);
|
241
|
-
r.$tag$ === "svg" ? y = !1 : l.tagName === "foreignObject" && (y = !0);
|
242
|
-
}
|
243
|
-
return l["s-hn"] = q, l;
|
244
|
-
}, ce = (e, t, n, s, r, o) => {
|
245
|
-
let l = e, i;
|
246
|
-
for (l.shadowRoot && l.tagName === q && (l = l.shadowRoot); r <= o; ++r)
|
247
|
-
s[r] && (i = j(null, n, r), i && (s[r].$elm$ = i, _(l, i, t)));
|
248
|
-
}, $e = (e, t, n) => {
|
249
|
-
for (let s = t; s <= n; ++s) {
|
250
|
-
const r = e[s];
|
251
|
-
if (r) {
|
252
|
-
const o = r.$elm$;
|
253
|
-
fe(r), o && o.remove();
|
254
|
-
}
|
255
|
-
}
|
256
|
-
}, Ge = (e, t, n, s, r = !1) => {
|
257
|
-
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;
|
258
|
-
for (; o <= c && l <= d; )
|
259
|
-
if ($ == null)
|
260
|
-
$ = t[++o];
|
261
|
-
else if (f == null)
|
262
|
-
f = t[--c];
|
263
|
-
else if (u == null)
|
264
|
-
u = s[++l];
|
265
|
-
else if (p == null)
|
266
|
-
p = s[--d];
|
267
|
-
else if (P($, u, r))
|
268
|
-
x($, u, r), $ = t[++o], u = s[++l];
|
269
|
-
else if (P(f, p, r))
|
270
|
-
x(f, p, r), f = t[--c], p = s[--d];
|
271
|
-
else if (P($, p, r))
|
272
|
-
x($, p, r), _(e, $.$elm$, f.$elm$.nextSibling), $ = t[++o], p = s[--d];
|
273
|
-
else if (P(f, u, r))
|
274
|
-
x(f, u, r), _(e, f.$elm$, $.$elm$), f = t[--c], u = s[++l];
|
275
|
-
else {
|
276
|
-
for (i = -1, a = o; a <= c; ++a)
|
277
|
-
if (t[a] && t[a].$key$ !== null && t[a].$key$ === u.$key$) {
|
278
|
-
i = a;
|
279
|
-
break;
|
280
|
-
}
|
281
|
-
i >= 0 ? (m = t[i], m.$tag$ !== u.$tag$ ? v = j(t && t[l], n, i) : (x(m, u, r), t[i] = void 0, v = m.$elm$), u = s[++l]) : (v = j(t && t[l], n, l), u = s[++l]), v && _($.$elm$.parentNode, v, $.$elm$);
|
282
|
-
}
|
283
|
-
o > c ? ce(
|
284
|
-
e,
|
285
|
-
s[d + 1] == null ? null : s[d + 1].$elm$,
|
286
|
-
n,
|
287
|
-
s,
|
288
|
-
l,
|
289
|
-
d
|
290
|
-
) : l > d && $e(t, o, c);
|
291
|
-
}, P = (e, t, n = !1) => e.$tag$ === t.$tag$ ? n ? !0 : e.$key$ === t.$key$ : !1, x = (e, t, n = !1) => {
|
292
|
-
const s = t.$elm$ = e.$elm$, r = e.$children$, o = t.$children$, l = t.$tag$, i = t.$text$;
|
293
|
-
i === null ? (y = l === "svg" ? !0 : l === "foreignObject" ? !1 : y, oe(e, t, y), r !== null && o !== null ? Ge(s, r, t, o, n) : o !== null ? (e.$text$ !== null && (s.textContent = ""), ce(s, null, t, o, 0, o.length - 1)) : r !== null && $e(r, 0, r.length - 1), y && l === "svg" && (y = !1)) : e.$text$ !== i && (s.data = i);
|
294
|
-
}, fe = (e) => {
|
295
|
-
e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(fe);
|
296
|
-
}, _ = (e, t, n) => e == null ? void 0 : e.insertBefore(t, n), Xe = (e, t, n = !1) => {
|
297
|
-
const s = e.$hostElement$, r = e.$cmpMeta$, o = e.$vnode$ || z(null, null), l = Re(t) ? t : Ie(null, null, t);
|
298
|
-
if (q = s.tagName, r.$attrsToReflect$ && (l.$attrs$ = l.$attrs$ || {}, r.$attrsToReflect$.map(
|
299
|
-
([i, a]) => l.$attrs$[a] = s[i]
|
300
|
-
)), n && l.$attrs$)
|
301
|
-
for (const i of Object.keys(l.$attrs$))
|
302
|
-
s.hasAttribute(i) && !["key", "ref", "style", "class"].includes(i) && (l.$attrs$[i] = s[i]);
|
303
|
-
l.$tag$ = null, l.$flags$ |= 4, e.$vnode$ = l, l.$elm$ = o.$elm$ = s.shadowRoot || s, A = s["s-sc"], ie = (r.$flags$ & 1) !== 0, x(o, l, n);
|
304
|
-
}, de = (e, t) => {
|
305
|
-
t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((n) => e.$onRenderResolve$ = n));
|
306
|
-
}, M = (e, t) => {
|
307
|
-
if (e.$flags$ |= 16, e.$flags$ & 4) {
|
308
|
-
e.$flags$ |= 512;
|
309
|
-
return;
|
310
|
-
}
|
311
|
-
return de(e, e.$ancestorComponent$), Te(() => Qe(e, t));
|
312
|
-
}, Qe = (e, t) => {
|
313
|
-
const n = e.$hostElement$, s = b("scheduleUpdate", e.$cmpMeta$.$tagName$), r = e.$lazyInstance$;
|
314
|
-
if (!r)
|
315
|
-
throw new Error(
|
316
|
-
`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`
|
317
|
-
);
|
318
|
-
let o;
|
319
|
-
return t && (o = W(r, "componentWillLoad")), s(), Ye(o, () => Ke(e, r, t));
|
320
|
-
}, Ye = (e, t) => Je(e) ? e.then(t).catch((n) => {
|
321
|
-
console.error(n), t();
|
322
|
-
}) : t(), Je = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Ke = (e, t, n) => L(void 0, null, function* () {
|
323
|
-
var s;
|
324
|
-
const r = e.$hostElement$, o = b("update", e.$cmpMeta$.$tagName$), l = r["s-rc"];
|
325
|
-
n && qe(e);
|
326
|
-
const i = b("render", e.$cmpMeta$.$tagName$);
|
327
|
-
Ze(e, t, r, n), l && (l.map((a) => a()), r["s-rc"] = void 0), i(), o();
|
328
|
-
{
|
329
|
-
const a = (s = r["s-p"]) != null ? s : [], c = () => Ne(e);
|
330
|
-
a.length === 0 ? c() : (Promise.all(a).then(c), e.$flags$ |= 4, a.length = 0);
|
331
|
-
}
|
332
|
-
}), Ze = (e, t, n, s) => {
|
333
|
-
try {
|
334
|
-
t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, Xe(e, t, s);
|
335
|
-
} catch (r) {
|
336
|
-
w(r, e.$hostElement$);
|
337
|
-
}
|
338
|
-
return null;
|
339
|
-
}, Ne = (e) => {
|
340
|
-
const t = e.$cmpMeta$.$tagName$, n = e.$hostElement$, s = b("postUpdate", t), r = e.$lazyInstance$, o = e.$ancestorComponent$;
|
341
|
-
e.$flags$ & 64 ? s() : (e.$flags$ |= 64, pe(n), W(r, "componentDidLoad"), s(), e.$onReadyResolve$(n), o || ue()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && B(() => M(e, !1)), e.$flags$ &= -517;
|
342
|
-
}, ue = (e) => {
|
343
|
-
pe(S.documentElement), B(() => He(C, "appload", { detail: { namespace: ge } }));
|
344
|
-
}, W = (e, t, n) => {
|
345
|
-
if (e && e[t])
|
346
|
-
try {
|
347
|
-
return e[t](n);
|
348
|
-
} catch (s) {
|
349
|
-
w(s);
|
350
|
-
}
|
351
|
-
}, pe = (e) => {
|
352
|
-
var t;
|
353
|
-
return e.classList.add((t = ee.hydratedSelectorName) != null ? t : "hydrated");
|
354
|
-
}, Ve = (e, t) => k(e).$instanceValues$.get(t), et = (e, t, n, s) => {
|
355
|
-
const r = k(e);
|
356
|
-
if (!r)
|
357
|
-
throw new Error(
|
358
|
-
`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).`
|
359
|
-
);
|
360
|
-
const o = r.$hostElement$, l = r.$instanceValues$.get(t), i = r.$flags$, a = r.$lazyInstance$;
|
361
|
-
n = ze(n, s.$members$[t][0]);
|
362
|
-
const c = Number.isNaN(l) && Number.isNaN(n), $ = n !== l && !c;
|
363
|
-
if ((!(i & 8) || l === void 0) && $ && (r.$instanceValues$.set(t, n), a)) {
|
364
|
-
if (s.$watchers$ && i & 128) {
|
365
|
-
const f = s.$watchers$[t];
|
366
|
-
f && f.map((d) => {
|
367
|
-
try {
|
368
|
-
a[d](n, l, t);
|
369
|
-
} catch (u) {
|
370
|
-
w(u, o);
|
371
|
-
}
|
372
|
-
});
|
373
|
-
}
|
374
|
-
(i & 18) === 2 && M(r, !1);
|
375
|
-
}
|
376
|
-
}, ve = (e, t, n) => {
|
377
|
-
var s, r;
|
378
|
-
const o = e.prototype;
|
379
|
-
if (t.$members$ || t.$watchers$ || e.watchers) {
|
380
|
-
e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
|
381
|
-
const l = Object.entries((s = t.$members$) != null ? s : {});
|
382
|
-
if (l.map(([i, [a]]) => {
|
383
|
-
(a & 31 || n & 2 && a & 32) && Object.defineProperty(o, i, {
|
384
|
-
get() {
|
385
|
-
return Ve(this, i);
|
386
|
-
},
|
387
|
-
set(c) {
|
388
|
-
et(this, i, c, t);
|
389
|
-
},
|
390
|
-
configurable: !0,
|
391
|
-
enumerable: !0
|
392
|
-
});
|
393
|
-
}), n & 1) {
|
394
|
-
const i = /* @__PURE__ */ new Map();
|
395
|
-
o.attributeChangedCallback = function(a, c, $) {
|
396
|
-
h.jmp(() => {
|
397
|
-
var f;
|
398
|
-
const d = i.get(a);
|
399
|
-
if (this.hasOwnProperty(d))
|
400
|
-
$ = this[d], delete this[d];
|
401
|
-
else {
|
402
|
-
if (o.hasOwnProperty(d) && typeof this[d] == "number" && this[d] == $)
|
403
|
-
return;
|
404
|
-
if (d == null) {
|
405
|
-
const u = k(this), p = u == null ? void 0 : u.$flags$;
|
406
|
-
if (p && !(p & 8) && p & 128 && $ !== c) {
|
407
|
-
const v = u.$lazyInstance$, m = (f = t.$watchers$) == null ? void 0 : f[a];
|
408
|
-
m == null || m.forEach((g) => {
|
409
|
-
v[g] != null && v[g].call(v, $, c, a);
|
410
|
-
});
|
411
|
-
}
|
412
|
-
return;
|
413
|
-
}
|
414
|
-
}
|
415
|
-
this[d] = $ === null && typeof this[d] == "boolean" ? !1 : $;
|
416
|
-
});
|
417
|
-
}, e.observedAttributes = Array.from(
|
418
|
-
/* @__PURE__ */ new Set([
|
419
|
-
...Object.keys((r = t.$watchers$) != null ? r : {}),
|
420
|
-
...l.filter(
|
421
|
-
([a, c]) => c[0] & 15
|
422
|
-
/* HasAttribute */
|
423
|
-
).map(([a, c]) => {
|
424
|
-
var $;
|
425
|
-
const f = c[1] || a;
|
426
|
-
return i.set(f, a), c[0] & 512 && (($ = t.$attrsToReflect$) == null || $.push([a, f])), f;
|
427
|
-
})
|
428
|
-
])
|
429
|
-
);
|
430
|
-
}
|
431
|
-
}
|
432
|
-
return e;
|
433
|
-
}, tt = (e, t, n, s) => L(void 0, null, function* () {
|
434
|
-
let r;
|
435
|
-
if (!(t.$flags$ & 32)) {
|
436
|
-
if (t.$flags$ |= 32, n.$lazyBundleId$) {
|
437
|
-
const a = be(n);
|
438
|
-
if (a && "then" in a) {
|
439
|
-
const $ = Ue();
|
440
|
-
r = yield a, $();
|
441
|
-
} else
|
442
|
-
r = a;
|
443
|
-
if (!r)
|
444
|
-
throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);
|
445
|
-
r.isProxied || (n.$watchers$ = r.watchers, ve(
|
446
|
-
r,
|
447
|
-
n,
|
448
|
-
2
|
449
|
-
/* proxyState */
|
450
|
-
), r.isProxied = !0);
|
451
|
-
const c = b("createInstance", n.$tagName$);
|
452
|
-
t.$flags$ |= 8;
|
453
|
-
try {
|
454
|
-
new r(t);
|
455
|
-
} catch ($) {
|
456
|
-
w($);
|
457
|
-
}
|
458
|
-
t.$flags$ &= -9, t.$flags$ |= 128, c();
|
459
|
-
} else {
|
460
|
-
r = e.constructor;
|
461
|
-
const a = e.localName;
|
462
|
-
customElements.whenDefined(a).then(
|
463
|
-
() => t.$flags$ |= 128
|
464
|
-
/* isWatchReady */
|
465
|
-
);
|
466
|
-
}
|
467
|
-
if (r && r.style) {
|
468
|
-
let a;
|
469
|
-
typeof r.style == "string" && (a = r.style);
|
470
|
-
const c = le(n);
|
471
|
-
if (!O.has(c)) {
|
472
|
-
const $ = b("registerStyles", n.$tagName$);
|
473
|
-
Be(c, a, !!(n.$flags$ & 1)), $();
|
474
|
-
}
|
475
|
-
}
|
476
|
-
}
|
477
|
-
const o = t.$ancestorComponent$, l = () => M(t, !0);
|
478
|
-
o && o["s-rc"] ? o["s-rc"].push(l) : l();
|
479
|
-
}), st = (e) => {
|
480
|
-
}, rt = (e) => {
|
481
|
-
if (!(h.$flags$ & 1)) {
|
482
|
-
const t = k(e), n = t.$cmpMeta$, s = b("connectedCallback", n.$tagName$);
|
483
|
-
if (t.$flags$ & 1)
|
484
|
-
t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => st());
|
485
|
-
else {
|
486
|
-
t.$flags$ |= 1;
|
487
|
-
{
|
488
|
-
let r = e;
|
489
|
-
for (; r = r.parentNode || r.host; )
|
490
|
-
if (r["s-p"]) {
|
491
|
-
de(t, t.$ancestorComponent$ = r);
|
492
|
-
break;
|
493
|
-
}
|
494
|
-
}
|
495
|
-
n.$members$ && Object.entries(n.$members$).map(([r, [o]]) => {
|
496
|
-
if (o & 31 && e.hasOwnProperty(r)) {
|
497
|
-
const l = e[r];
|
498
|
-
delete e[r], e[r] = l;
|
499
|
-
}
|
500
|
-
}), tt(e, t, n);
|
501
|
-
}
|
502
|
-
s();
|
503
|
-
}
|
504
|
-
}, V = (e) => {
|
505
|
-
W(e, "disconnectedCallback");
|
506
|
-
}, nt = (e) => L(void 0, null, function* () {
|
507
|
-
if (!(h.$flags$ & 1)) {
|
508
|
-
const t = k(e);
|
509
|
-
t != null && t.$lazyInstance$ ? V(t.$lazyInstance$) : t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => V(t.$lazyInstance$));
|
510
|
-
}
|
511
|
-
}), ot = (e, t = {}) => {
|
512
|
-
var n;
|
513
|
-
const s = b(), r = [], o = t.exclude || [], l = C.customElements, i = S.head, a = /* @__PURE__ */ i.querySelector("meta[charset]"), c = /* @__PURE__ */ S.createElement("style"), $ = [];
|
514
|
-
let f, d = !0;
|
515
|
-
Object.assign(h, t), h.$resourcesUrl$ = new URL(t.resourcesUrl || "./", S.baseURI).href;
|
516
|
-
let u = !1;
|
517
|
-
if (e.map((p) => {
|
518
|
-
p[1].map((v) => {
|
519
|
-
var m;
|
520
|
-
const g = {
|
521
|
-
$flags$: v[0],
|
522
|
-
$tagName$: v[1],
|
523
|
-
$members$: v[2],
|
524
|
-
$listeners$: v[3]
|
525
|
-
};
|
526
|
-
g.$flags$ & 4 && (u = !0), g.$members$ = v[2], g.$attrsToReflect$ = [], g.$watchers$ = (m = v[4]) != null ? m : {};
|
527
|
-
const T = g.$tagName$, he = class extends HTMLElement {
|
528
|
-
// StencilLazyHost
|
529
|
-
constructor(E) {
|
530
|
-
if (super(E), this.hasRegisteredEventListeners = !1, E = this, Se(E, g), g.$flags$ & 1) {
|
531
|
-
if (!E.shadowRoot)
|
532
|
-
E.attachShadow({ mode: "open" });
|
533
|
-
else if (E.shadowRoot.mode !== "open")
|
534
|
-
throw new Error(
|
535
|
-
`Unable to re-use existing shadow root for ${g.$tagName$}! Mode is set to ${E.shadowRoot.mode} but Stencil only supports open shadow roots.`
|
536
|
-
);
|
537
|
-
}
|
538
|
-
}
|
539
|
-
connectedCallback() {
|
540
|
-
k(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), f && (clearTimeout(f), f = null), d ? $.push(this) : h.jmp(() => rt(this));
|
541
|
-
}
|
542
|
-
disconnectedCallback() {
|
543
|
-
h.jmp(() => nt(this));
|
544
|
-
}
|
545
|
-
componentOnReady() {
|
546
|
-
return k(this).$onReadyPromise$;
|
547
|
-
}
|
548
|
-
};
|
549
|
-
g.$lazyBundleId$ = p[0], !o.includes(T) && !l.get(T) && (r.push(T), l.define(
|
550
|
-
T,
|
551
|
-
ve(
|
552
|
-
he,
|
553
|
-
g,
|
554
|
-
1
|
555
|
-
/* isElementConstructor */
|
556
|
-
)
|
557
|
-
));
|
558
|
-
});
|
559
|
-
}), r.length > 0 && (u && (c.textContent += te), c.textContent += r.sort() + Ee, c.innerHTML.length)) {
|
560
|
-
c.setAttribute("data-styles", "");
|
561
|
-
const p = (n = h.$nonce$) != null ? n : re(S);
|
562
|
-
p != null && c.setAttribute("nonce", p), i.insertBefore(c, a ? a.nextSibling : i.firstChild);
|
563
|
-
}
|
564
|
-
d = !1, $.length ? $.map((p) => p.connectedCallback()) : h.jmp(() => f = setTimeout(ue, 30)), s();
|
565
|
-
};
|
566
|
-
export {
|
567
|
-
De as H,
|
568
|
-
ot as b,
|
569
|
-
Ie as h,
|
570
|
-
ke as p,
|
571
|
-
at as r
|
572
|
-
};
|