@everymatrix/cashier-page 1.76.0 → 1.76.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.
Files changed (84) hide show
  1. package/components/CashierError-BEeh6TaY.cjs +21 -0
  2. package/components/{CashierError-C-zeMshr.js → CashierError-CyV-JySM.js} +960 -926
  3. package/components/{CashierError-DW5fJt8u.js → CashierError-Dc34a9CC.js} +945 -911
  4. package/components/{CashierHeader-DO8Jda8y.js → CashierHeader-BCdG7bez.js} +94 -94
  5. package/components/CashierHeader-DGEWiZlt.cjs +1 -0
  6. package/components/{CashierHeader-BvRhx3QL.js → CashierHeader-DLG8WfO6.js} +96 -96
  7. package/components/{CashierIframeRedirect-tAMQ7K0U.cjs → CashierIframeRedirect-CkRri0IY.cjs} +1 -1
  8. package/components/{CashierIframeRedirect-DaYR4ZSu.js → CashierIframeRedirect-CnEM1gDh.js} +32 -32
  9. package/components/{CashierIframeRedirect-BeOg9j9R.js → CashierIframeRedirect-Dk2xegfN.js} +22 -22
  10. package/components/{CashierMethodDetails-3jy1FDno.js → CashierMethodDetails-B7K0QBeJ.js} +2856 -2640
  11. package/components/{CashierMethodDetails-D1Rbykqx.js → CashierMethodDetails-BoS6MlUx.js} +2800 -2584
  12. package/components/CashierMethodDetails-bl4ScKF1.cjs +86 -0
  13. package/components/{CashierMethodsList-LrhQVCu_.js → CashierMethodsList-CRFPceug.js} +78 -78
  14. package/components/{CashierMethodsList-CscGn4Gv.cjs → CashierMethodsList-DY3MlNFY.cjs} +1 -1
  15. package/components/{CashierMethodsList-B2qR503A.js → CashierMethodsList-DhR3GOR6.js} +72 -72
  16. package/components/CashierModal-Cd446Ova.cjs +1 -0
  17. package/components/CashierModal-CzXlonwB.js +249 -0
  18. package/components/CashierModal-DO7QbZLa.js +249 -0
  19. package/components/{CashierNotifications-BD7efj1m.js → CashierNotifications-BJvuSaMv.js} +32 -32
  20. package/components/{CashierNotifications-BRJ9mXv_.cjs → CashierNotifications-BdzVIY--.cjs} +1 -1
  21. package/components/{CashierNotifications-CUz6gwXF.js → CashierNotifications-DVtcZTJB.js} +32 -32
  22. package/components/{CashierPage-Db8ZicVP.js → CashierPage-B0lu-4i9.js} +808 -1186
  23. package/components/{CashierPage-CW6lgArf.js → CashierPage-BrEwgGiY.js} +808 -1186
  24. package/components/{CashierPage-BbXHTH84.cjs → CashierPage-Cuva9Y9y.cjs} +1 -1
  25. package/components/{CashierReceiptPage-Cf5pCh8Z.cjs → CashierReceiptPage-D0NlK-Nf.cjs} +1 -1
  26. package/components/{CashierReceiptPage-Br9U1RfK.js → CashierReceiptPage-DZJjgSBw.js} +90 -90
  27. package/components/{CashierReceiptPage-CBbzq7O6.js → CashierReceiptPage-DvKEi_ba.js} +114 -114
  28. package/components/{CashierSessionExpirationModal-BZLQ4F3T.js → CashierSessionExpirationModal-B_Y3Xi95.js} +228 -219
  29. package/components/CashierSessionExpirationModal-CBFaRe-x.cjs +2 -0
  30. package/components/{CashierSessionExpirationModal-B8lZyvQF.js → CashierSessionExpirationModal-XdME6XUb.js} +229 -220
  31. package/components/{CashierSpinner-u67Lmpn1.js → CashierSpinner-DGvMA7TT.js} +15 -15
  32. package/components/{CashierSpinner-B3kDZ7DD.cjs → CashierSpinner-DtxnAuCX.cjs} +1 -1
  33. package/components/{CashierSpinner-CWDfPPKy.js → CashierSpinner-nxLopx6S.js} +16 -16
  34. package/components/{CashierTransactionHistory-C81J2b3z.js → CashierTransactionHistory-Bv4k6sdm.js} +116 -116
  35. package/components/{CashierTransactionHistory-BmG7XPkF.js → CashierTransactionHistory-D9cuJwNg.js} +73 -73
  36. package/components/{CashierTransactionHistory-DVJeMS7y.cjs → CashierTransactionHistory-tuj8kYsP.cjs} +1 -1
  37. package/components/CashierVerifications-3sSSv6ir.js +647 -0
  38. package/components/CashierVerifications-cWStjKKK.js +643 -0
  39. package/components/CashierVerifications-lbOEU8Wv.cjs +1 -0
  40. package/components/{TxnStatusIcon-DlBt7swO.cjs → TxnStatusIcon-BnYqfnba.cjs} +1 -1
  41. package/components/{TxnStatusIcon-Degz9oJQ.js → TxnStatusIcon-Cz9gvTZb.js} +23 -23
  42. package/components/{TxnStatusIcon-DK8gf5Ec.js → TxnStatusIcon-_w4gDvXk.js} +19 -19
  43. package/components/{TxnTypeIcons-Cjawm9IS.js → TxnTypeIcons-BoTS7N4H.js} +14 -14
  44. package/components/{TxnTypeIcons-DH1CxqvE.cjs → TxnTypeIcons-BpU4tRqc.cjs} +1 -1
  45. package/components/{TxnTypeIcons-DdfELKt3.js → TxnTypeIcons-UBC4VGlN.js} +14 -14
  46. package/es2015/cashier-page.cjs +1 -1
  47. package/es2015/cashier-page.js +1 -1
  48. package/esnext/cashier-page.js +1 -1
  49. package/package.json +1 -1
  50. package/stencil/index-97d17652-BgKdDb-e.cjs +1 -0
  51. package/stencil/{index-97d17652--F7PvMq9.js → index-97d17652-C7V2DWFg.js} +176 -176
  52. package/stencil/{index-97d17652-CCFHkzJw.js → index-97d17652-DIpvPU9H.js} +187 -187
  53. package/stencil/index-b2193545-9IBTGq1X.cjs +1 -0
  54. package/stencil/index-b2193545-B5WVVmva.js +519 -0
  55. package/stencil/index-b2193545-CfiRkmy3.js +503 -0
  56. package/stencil/{ui-image-ByEXiBzx.cjs → ui-image-CNNeJmP0.cjs} +1 -1
  57. package/stencil/{ui-image-DIEeZy5u.js → ui-image-DCPAt25-.js} +1 -1
  58. package/stencil/{ui-image-BWJXFWH1.js → ui-image-am9MgSQ8.js} +1 -1
  59. package/stencil/{ui-image-b7b48fe5-ByRuJtdE.js → ui-image-b7b48fe5-B-k0kWgx.js} +1 -1
  60. package/stencil/{ui-image-b7b48fe5-D6iig_uN.js → ui-image-b7b48fe5-D8-wEkoZ.js} +1 -1
  61. package/stencil/{ui-image-b7b48fe5-DG83WzAo.cjs → ui-image-b7b48fe5-yceZ9WkN.cjs} +1 -1
  62. package/stencil/{ui-image_2-Bm97-wkj.js → ui-image_2-CzFe50WB.js} +2 -2
  63. package/stencil/{ui-image_2-DdFjzzNO.cjs → ui-image_2-Ha_4GYwN.cjs} +1 -1
  64. package/stencil/{ui-image_2-qO3reSlr.js → ui-image_2-z5LhXZY2.js} +2 -2
  65. package/stencil/{ui-skeleton-9boHSjtG.js → ui-skeleton-D1L4lwNZ.js} +2 -2
  66. package/stencil/{ui-skeleton-DgAs7VA3.cjs → ui-skeleton-D6had8uT.cjs} +1 -1
  67. package/stencil/{ui-skeleton-ae35c6f2-8tYGV8SR.js → ui-skeleton-ae35c6f2-Biyf8F-y.js} +1 -1
  68. package/stencil/{ui-skeleton-ae35c6f2-IN_dPA5_.js → ui-skeleton-ae35c6f2-CzSGP5Of.js} +1 -1
  69. package/stencil/{ui-skeleton-ae35c6f2-DLHrpWJM.cjs → ui-skeleton-ae35c6f2-DSTcB-py.cjs} +1 -1
  70. package/stencil/{ui-skeleton-4-zrLsIW.js → ui-skeleton-vQGsM2TX.js} +2 -2
  71. package/components/CashierError-Do2yNrqx.cjs +0 -8
  72. package/components/CashierHeader-b4lqjMMD.cjs +0 -1
  73. package/components/CashierMethodDetails-BccXMt8_.cjs +0 -99
  74. package/components/CashierModal-BU4NlVMY.js +0 -229
  75. package/components/CashierModal-CVXS5J4T.cjs +0 -1
  76. package/components/CashierModal-DvL5giYo.js +0 -229
  77. package/components/CashierSessionExpirationModal-CqZBSAuZ.cjs +0 -2
  78. package/components/CashierVerifications-BluIxyAW.js +0 -595
  79. package/components/CashierVerifications-DMMGPuTt.js +0 -599
  80. package/components/CashierVerifications-DbTUG014.cjs +0 -1
  81. package/stencil/index-97d17652-BhLhk_xz.cjs +0 -1
  82. package/stencil/index-b2193545-BoSqyMpB.js +0 -519
  83. package/stencil/index-b2193545-D4dOaNlR.js +0 -503
  84. package/stencil/index-b2193545-DGHOe8n4.cjs +0 -1
@@ -1 +0,0 @@
1
- "use strict";var x=(e,t,n)=>new Promise((s,r)=>{var i=a=>{try{$(n.next(a))}catch(o){r(o)}},l=a=>{try{$(n.throw(a))}catch(o){r(o)}},$=a=>a.done?s(a.value):Promise.resolve(a.value).then(i,l);$((n=n.apply(e,t)).next())});const ge="ui-image",he={hydratedSelectorName:"hydrated"};var pe=Object.defineProperty,ye=(e,t)=>{for(var n in t)pe(e,n,{get:t[n],enumerable:!0})},B=new WeakMap,E=e=>B.get(e),me=(e,t)=>B.set(t.$lazyInstance$=e,t),Se=(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)},D=(e,t)=>t in e,k=(e,t)=>(0,console.error)(e,t),w=new Map,Ee=(e,t,n)=>{const s=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$;if(!r)return;const i=w.get(r);if(i)return i[s];{const l=$=>(w.set(r,$),$[s]);switch(r){case"ui-image_2":return Promise.resolve().then(()=>require("./ui-image_2-DdFjzzNO.cjs")).then(l,k)}}return import(`./${r}.entry.js`).then(l=>(w.set(r,l),l[s]),k)},A=new Map,ke="{visibility:hidden}.hydrated{visibility:inherit}",Q="slot-fb{display:contents}slot-fb[hidden]{display:none}",j=typeof window!="undefined"?window:{},m=j.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)},Z=e=>Promise.resolve(e),be=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),I=!1,W=[],R=[],Pe=(e,t)=>n=>{e.push(n),I||(I=!0,h.$flags$&4?C(U):h.raf(U))},M=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){k(n)}e.length=0},U=()=>{M(W),M(R),(I=W.length>0)&&h.raf(U)},C=e=>Z().then(e),xe=Pe(R),G={},q=e=>(e=typeof e,e==="object"||e==="function");function N(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 Te={};ye(Te,{err:()=>V,map:()=>_e,ok:()=>H,unwrap:()=>Ae,unwrapErr:()=>Le});var H=e=>({isOk:!0,isErr:!1,value:e}),V=e=>({isOk:!1,isErr:!0,value:e});function _e(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 V(n)}throw"should never get here"}var Ae=e=>{if(e.isOk)return e.value;throw e.value},Le=e=>{if(e.isErr)return e.value;throw e.value},S=(e,t="")=>()=>{},je=(e,t)=>()=>{},ee=(e,t,...n)=>{let s=null,r=null,i=!1,l=!1;const $=[],a=c=>{for(let f=0;f<c.length;f++)s=c[f],Array.isArray(s)?a(s):s!=null&&typeof s!="boolean"&&((i=typeof e!="function"&&!q(s))&&(s=String(s)),i&&l?$[$.length-1].$text$+=s:$.push(i?z(null,s):s),l=i)};if(a(n),t){t.key&&(r=t.key);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter(f=>c[f]).join(" "))}}const o=z(e,null);return o.$attrs$=t,$.length>0&&(o.$children$=$),o.$key$=r,o},z=(e,t)=>{const n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return n.$attrs$=null,n.$key$=null,n},te={},Oe=e=>e&&e.$tag$===te,we=(e,t)=>e!=null&&!q(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,Ie=e=>E(e).$hostElement$,Ue=(e,t,n)=>{const s=h.ce(t,n);return e.dispatchEvent(s),s},X=new WeakMap,He=(e,t,n)=>{let s=A.get(e);be&&n?(s=s||new CSSStyleSheet,typeof s=="string"?s=t:s.replaceSync(t)):s=t,A.set(e,s)},ze=(e,t,n)=>{var s;const r=se(t),i=A.get(r);if(e=e.nodeType===11?e:m,i)if(typeof i=="string"){e=e.head||e;let l=X.get(e),$;if(l||X.set(e,l=new Set),!l.has(r)){{$=m.createElement("style"),$.innerHTML=i;const a=(s=h.$nonce$)!=null?s:N(m);a!=null&&$.setAttribute("nonce",a),e.insertBefore($,e.querySelector("link"))}t.$flags$&4&&($.innerHTML+=Q),l&&l.add(r)}}else e.adoptedStyleSheets.includes(i)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,i]);return r},Be=e=>{const t=e.$cmpMeta$,n=e.$hostElement$,s=S("attachStyles",t.$tagName$);ze(n.getRootNode(),t),s()},se=(e,t)=>"sc-"+e.$tagName$,Y=(e,t,n,s,r,i)=>{if(n!==s){let l=D(e,t),$=t.toLowerCase();if(t==="class"){const a=e.classList,o=J(n),c=J(s);a.remove(...o.filter(f=>f&&!c.includes(f))),a.add(...c.filter(f=>f&&!o.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):D(j,$)?t=$.slice(2):t=$[2]+t.slice(3),n||s){const a=t.endsWith(ne);t=t.replace(qe,""),n&&h.rel(e,t,n,a),s&&h.ael(e,t,s,a)}}else{const a=q(s);if((l||a&&s!==null)&&!r)try{if(e.tagName.includes("-"))e[t]=s;else{const o=s==null?"":s;t==="list"?l=!1:(n==null||e[t]!=o)&&(e[t]=o)}}catch(o){}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))}}},Ce=/\s/,J=e=>e?e.split(Ce):[],ne="Capture",qe=new RegExp(ne+"$"),re=(e,t,n)=>{const s=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||G,i=t.$attrs$||G;for(const l of K(Object.keys(r)))l in i||Y(s,l,r[l],void 0,n,t.$flags$);for(const l of K(Object.keys(i)))Y(s,l,r[l],i[l],n,t.$flags$)};function K(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var le,ae=!1,L=(e,t,n,s)=>{const r=t.$children$[n];let i=0,l,$;if(r.$text$!==null)l=r.$elm$=m.createTextNode(r.$text$);else if(l=r.$elm$=m.createElement(r.$tag$),re(null,r,ae),r.$children$)for(i=0;i<r.$children$.length;++i)$=L(e,r,i),$&&l.appendChild($);return l["s-hn"]=le,l},ie=(e,t,n,s,r,i)=>{let l=e,$;for(;r<=i;++r)s[r]&&($=L(null,n,r),$&&(s[r].$elm$=$,_(l,$,t)))},$e=(e,t,n)=>{for(let s=t;s<=n;++s){const r=e[s];if(r){const i=r.$elm$;oe(r),i&&i.remove()}}},Fe=(e,t,n,s,r=!1)=>{let i=0,l=0,$=0,a=0,o=t.length-1,c=t[0],f=t[o],u=s.length-1,d=s[0],v=s[u],g,p;for(;i<=o&&l<=u;)if(c==null)c=t[++i];else if(f==null)f=t[--o];else if(d==null)d=s[++l];else if(v==null)v=s[--u];else if(T(c,d,r))b(c,d,r),c=t[++i],d=s[++l];else if(T(f,v,r))b(f,v,r),f=t[--o],v=s[--u];else if(T(c,v,r))b(c,v,r),_(e,c.$elm$,f.$elm$.nextSibling),c=t[++i],v=s[--u];else if(T(f,d,r))b(f,d,r),_(e,f.$elm$,c.$elm$),f=t[--o],d=s[++l];else{for($=-1,a=i;a<=o;++a)if(t[a]&&t[a].$key$!==null&&t[a].$key$===d.$key$){$=a;break}$>=0?(p=t[$],p.$tag$!==d.$tag$?g=L(t&&t[l],n,$):(b(p,d,r),t[$]=void 0,g=p.$elm$),d=s[++l]):(g=L(t&&t[l],n,l),d=s[++l]),g&&_(c.$elm$.parentNode,g,c.$elm$)}i>o?ie(e,s[u+1]==null?null:s[u+1].$elm$,n,s,l,u):l>u&&$e(t,i,o)},T=(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?(re(e,t,ae),r!==null&&i!==null?Fe(s,r,t,i,n):i!==null?(e.$text$!==null&&(s.textContent=""),ie(s,null,t,i,0,i.length-1)):r!==null&&$e(r,0,r.length-1)):e.$text$!==l&&(s.data=l)},oe=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(oe)},_=(e,t,n)=>e==null?void 0:e.insertBefore(t,n),De=(e,t,n=!1)=>{const s=e.$hostElement$,r=e.$vnode$||z(null,null),i=Oe(t)?t:ee(null,null,t);if(le=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,b(r,i,n)},ce=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(n=>e.$onRenderResolve$=n))},F=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ce(e,e.$ancestorComponent$),xe(()=>We(e,t))},We=(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(),Me(i,()=>Xe(e,r,t))},Me=(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",Xe=(e,t,n)=>x(exports,null,function*(){var s;const r=e.$hostElement$,i=S("update",e.$cmpMeta$.$tagName$),l=r["s-rc"];n&&Be(e);const $=S("render",e.$cmpMeta$.$tagName$);Ye(e,t,r,n),l&&(l.map(a=>a()),r["s-rc"]=void 0),$(),i();{const a=(s=r["s-p"])!=null?s:[],o=()=>Je(e);a.length===0?o():(Promise.all(a).then(o),e.$flags$|=4,a.length=0)}}),Ye=(e,t,n,s)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,De(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,ue(n),Ke(r,"componentDidLoad"),s(),e.$onReadyResolve$(n),i||fe()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&C(()=>F(e,!1)),e.$flags$&=-517},fe=e=>{ue(m.documentElement),C(()=>Ue(j,"appload",{detail:{namespace:ge}}))},Ke=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(s){k(s)}},ue=e=>{var t;return e.classList.add((t=he.hydratedSelectorName)!=null?t:"hydrated")},Qe=(e,t)=>E(e).$instanceValues$.get(t),Ze=(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),$=r.$flags$,a=r.$lazyInstance$;n=we(n,s.$members$[t][0]);const o=Number.isNaN(l)&&Number.isNaN(n),c=n!==l&&!o;if((!($&8)||l===void 0)&&c&&(r.$instanceValues$.set(t,n),a)){if(s.$watchers$&&$&128){const f=s.$watchers$[t];f&&f.map(u=>{try{a[u](n,l,t)}catch(d){k(d,i)}})}($&18)===2&&F(r,!1)}},de=(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(([$,[a]])=>{(a&31||n&2&&a&32)&&Object.defineProperty(i,$,{get(){return Qe(this,$)},set(o){Ze(this,$,o,t)},configurable:!0,enumerable:!0})}),n&1){const $=new Map;i.attributeChangedCallback=function(a,o,c){h.jmp(()=>{var f;const u=$.get(a);if(this.hasOwnProperty(u))c=this[u],delete this[u];else{if(i.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==c)return;if(u==null){const d=E(this),v=d==null?void 0:d.$flags$;if(v&&!(v&8)&&v&128&&c!==o){const g=d.$lazyInstance$,p=(f=t.$watchers$)==null?void 0:f[a];p==null||p.forEach(y=>{g[y]!=null&&g[y].call(g,c,o,a)})}return}}this[u]=c===null&&typeof this[u]=="boolean"?!1:c})},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.$watchers$)!=null?r:{}),...l.filter(([a,o])=>o[0]&15).map(([a,o])=>{const c=o[1]||a;return $.set(c,a),c})]))}}return e},Re=(e,t,n,s)=>x(exports,null,function*(){let r;if(!(t.$flags$&32)){if(t.$flags$|=32,n.$lazyBundleId$){const a=Ee(n);if(a&&"then"in a){const c=je();r=yield a,c()}else r=a;if(!r)throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);r.isProxied||(n.$watchers$=r.watchers,de(r,n,2),r.isProxied=!0);const o=S("createInstance",n.$tagName$);t.$flags$|=8;try{new r(t)}catch(c){k(c)}t.$flags$&=-9,t.$flags$|=128,o()}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 o=se(n);if(!A.has(o)){const c=S("registerStyles",n.$tagName$);He(o,a,!!(n.$flags$&1)),c()}}}const i=t.$ancestorComponent$,l=()=>F(t,!0);i&&i["s-rc"]?i["s-rc"].push(l):l()}),Ne=e=>{},Ve=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(()=>Ne());else{t.$flags$|=1;{let r=e;for(;r=r.parentNode||r.host;)if(r["s-p"]){ce(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}}),Re(e,t,n)}s()}},et=e=>{},tt=e=>x(exports,null,function*(){if(!(h.$flags$&1)){const t=E(e);t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>et())}}),st=(e,t={})=>{var n;const s=S(),r=[],i=t.exclude||[],l=j.customElements,$=m.head,a=$.querySelector("meta[charset]"),o=m.createElement("style"),c=[];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(g=>{var p;const y={$flags$:g[0],$tagName$:g[1],$members$:g[2],$listeners$:g[3]};y.$flags$&4&&(d=!0),y.$members$=g[2],y.$watchers$=(p=g[4])!=null?p:{};const P=y.$tagName$,ve=class extends HTMLElement{constructor(O){super(O),this.hasRegisteredEventListeners=!1,O=this,Se(O,y)}connectedCallback(){E(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),u?c.push(this):h.jmp(()=>Ve(this))}disconnectedCallback(){h.jmp(()=>tt(this))}componentOnReady(){return E(this).$onReadyPromise$}};y.$lazyBundleId$=v[0],!i.includes(P)&&!l.get(P)&&(r.push(P),l.define(P,de(ve,y,1)))})}),r.length>0&&(d&&(o.textContent+=Q),o.textContent+=r.sort()+ke,o.innerHTML.length)){o.setAttribute("data-styles","");const v=(n=h.$nonce$)!=null?n:N(m);v!=null&&o.setAttribute("nonce",v),$.insertBefore(o,a?a.nextSibling:$.firstChild)}u=!1,c.length?c.map(v=>v.connectedCallback()):h.jmp(()=>f=setTimeout(fe,30)),s()};exports.Host=te;exports.bootstrapLazy=st;exports.getElement=Ie;exports.h=ee;exports.promiseResolve=Z;exports.registerInstance=me;
@@ -1,519 +0,0 @@
1
- var x = (e, t, s) => new Promise((r, n) => {
2
- var a = (i) => {
3
- try {
4
- o(s.next(i));
5
- } catch ($) {
6
- n($);
7
- }
8
- }, l = (i) => {
9
- try {
10
- o(s.throw(i));
11
- } catch ($) {
12
- n($);
13
- }
14
- }, o = (i) => i.done ? r(i.value) : Promise.resolve(i.value).then(a, l);
15
- o((s = s.apply(e, t)).next());
16
- });
17
- const oe = "ui-skeleton", $e = (
18
- /* ui-skeleton */
19
- { hydratedSelectorName: "hydrated" }
20
- );
21
- var ce = Object.defineProperty, ue = (e, t) => {
22
- for (var s in t)
23
- ce(e, s, { get: t[s], enumerable: !0 });
24
- }, U = /* @__PURE__ */ new WeakMap(), b = (e) => U.get(e), Qe = (e, t) => U.set(t.$lazyInstance$ = e, t), fe = (e, t) => {
25
- const s = {
26
- $flags$: 0,
27
- $hostElement$: e,
28
- $cmpMeta$: t,
29
- $instanceValues$: /* @__PURE__ */ new Map()
30
- };
31
- return s.$onReadyPromise$ = new Promise((r) => s.$onReadyResolve$ = r), e["s-p"] = [], e["s-rc"] = [], U.set(e, s);
32
- }, E = (e, t) => (0, console.error)(e, t), O = /* @__PURE__ */ new Map(), de = (e, t, s) => {
33
- const r = e.$tagName$.replace(/-/g, "_"), n = e.$lazyBundleId$;
34
- if (!n)
35
- return;
36
- const a = O.get(n);
37
- if (a)
38
- return a[r];
39
- {
40
- const l = (o) => (O.set(n, o), o[r]);
41
- switch (n) {
42
- case "ui-skeleton":
43
- return import(
44
- /* webpackMode: "lazy" */
45
- "./ui-skeleton-9boHSjtG.js"
46
- ).then(l, E);
47
- }
48
- }
49
- return import(
50
- /* @vite-ignore */
51
- /* webpackInclude: /\.entry\.js$/ */
52
- /* webpackExclude: /\.system\.entry\.js$/ */
53
- /* webpackMode: "lazy" */
54
- `./${n}.entry.js`
55
- ).then((l) => (O.set(n, l), l[r]), E);
56
- }, _ = /* @__PURE__ */ new Map(), me = "{visibility:hidden}.hydrated{visibility:inherit}", J = "slot-fb{display:contents}slot-fb[hidden]{display:none}", B = typeof window != "undefined" ? window : {}, y = B.document || { head: {} }, g = {
57
- $flags$: 0,
58
- $resourcesUrl$: "",
59
- jmp: (e) => e(),
60
- raf: (e) => requestAnimationFrame(e),
61
- ael: (e, t, s, r) => e.addEventListener(t, s, r),
62
- rel: (e, t, s, r) => e.removeEventListener(t, s, r),
63
- ce: (e, t) => new CustomEvent(e, t)
64
- }, ve = (e) => Promise.resolve(e), ge = /* @__PURE__ */ (() => {
65
- try {
66
- return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
67
- } catch (e) {
68
- }
69
- return !1;
70
- })(), A = !1, C = [], K = [], he = (e, t) => (s) => {
71
- e.push(s), A || (A = !0, g.$flags$ & 4 ? z(H) : g.raf(H));
72
- }, D = (e) => {
73
- for (let t = 0; t < e.length; t++)
74
- try {
75
- e[t](performance.now());
76
- } catch (s) {
77
- E(s);
78
- }
79
- e.length = 0;
80
- }, H = () => {
81
- D(C), D(K), (A = C.length > 0) && g.raf(H);
82
- }, z = (e) => ve().then(e), pe = /* @__PURE__ */ he(K), F = {}, Q = (e) => (e = typeof e, e === "object" || e === "function");
83
- function X(e) {
84
- var t, s, r;
85
- return (r = (s = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : s.getAttribute("content")) != null ? r : void 0;
86
- }
87
- var ye = {};
88
- ue(ye, {
89
- err: () => Z,
90
- map: () => Se,
91
- ok: () => I,
92
- unwrap: () => be,
93
- unwrapErr: () => ke
94
- });
95
- var I = (e) => ({
96
- isOk: !0,
97
- isErr: !1,
98
- value: e
99
- }), Z = (e) => ({
100
- isOk: !1,
101
- isErr: !0,
102
- value: e
103
- });
104
- function Se(e, t) {
105
- if (e.isOk) {
106
- const s = t(e.value);
107
- return s instanceof Promise ? s.then((r) => I(r)) : I(s);
108
- }
109
- if (e.isErr) {
110
- const s = e.value;
111
- return Z(s);
112
- }
113
- throw "should never get here";
114
- }
115
- var be = (e) => {
116
- if (e.isOk)
117
- return e.value;
118
- throw e.value;
119
- }, ke = (e) => {
120
- if (e.isErr)
121
- return e.value;
122
- throw e.value;
123
- }, S = (e, t = "") => () => {
124
- }, Ee = (e, t) => () => {
125
- }, we = (e, t, ...s) => {
126
- let r = null, n = null, a = !1, l = !1;
127
- const o = [], i = (c) => {
128
- for (let u = 0; u < c.length; u++)
129
- r = c[u], Array.isArray(r) ? i(r) : r != null && typeof r != "boolean" && ((a = typeof e != "function" && !Q(r)) && (r = String(r)), a && l ? o[o.length - 1].$text$ += r : o.push(a ? N(null, r) : r), l = a);
130
- };
131
- if (i(s), t) {
132
- t.key && (n = t.key);
133
- {
134
- const c = t.className || t.class;
135
- c && (t.class = typeof c != "object" ? c : Object.keys(c).filter((u) => c[u]).join(" "));
136
- }
137
- }
138
- const $ = N(e, null);
139
- return $.$attrs$ = t, o.length > 0 && ($.$children$ = o), $.$key$ = n, $;
140
- }, N = (e, t) => {
141
- const s = {
142
- $flags$: 0,
143
- $tag$: e,
144
- $text$: t,
145
- $elm$: null,
146
- $children$: null
147
- };
148
- return s.$attrs$ = null, s.$key$ = null, s;
149
- }, xe = {}, Pe = (e) => e && e.$tag$ === xe, Te = (e, t) => e != null && !Q(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, _e = (e, t, s) => {
150
- const r = g.ce(t, s);
151
- return e.dispatchEvent(r), r;
152
- }, M = /* @__PURE__ */ new WeakMap(), je = (e, t, s) => {
153
- let r = _.get(e);
154
- ge && s ? (r = r || new CSSStyleSheet(), typeof r == "string" ? r = t : r.replaceSync(t)) : r = t, _.set(e, r);
155
- }, Le = (e, t, s) => {
156
- var r;
157
- const n = R(t), a = _.get(n);
158
- if (e = e.nodeType === 11 ? e : y, a)
159
- if (typeof a == "string") {
160
- e = e.head || e;
161
- let l = M.get(e), o;
162
- if (l || M.set(e, l = /* @__PURE__ */ new Set()), !l.has(n)) {
163
- {
164
- o = y.createElement("style"), o.innerHTML = a;
165
- const i = (r = g.$nonce$) != null ? r : X(y);
166
- i != null && o.setAttribute("nonce", i), e.insertBefore(o, e.querySelector("link"));
167
- }
168
- t.$flags$ & 4 && (o.innerHTML += J), l && l.add(n);
169
- }
170
- } else
171
- e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
172
- return n;
173
- }, Oe = (e) => {
174
- const t = e.$cmpMeta$, s = e.$hostElement$, r = S("attachStyles", t.$tagName$);
175
- Le(
176
- s.getRootNode(),
177
- t
178
- ), r();
179
- }, R = (e, t) => "sc-" + e.$tagName$, W = (e, t, s, r, n, a) => {
180
- if (s !== r && (t.toLowerCase(), t === "class")) {
181
- const l = e.classList, o = Y(s), i = Y(r);
182
- l.remove(...o.filter(($) => $ && !i.includes($))), l.add(...i.filter(($) => $ && !o.includes($)));
183
- }
184
- }, Ae = /\s/, Y = (e) => e ? e.split(Ae) : [], V = (e, t, s) => {
185
- const r = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, n = e && e.$attrs$ || F, a = t.$attrs$ || F;
186
- for (const l of G(Object.keys(n)))
187
- l in a || W(r, l, n[l], void 0);
188
- for (const l of G(Object.keys(a)))
189
- W(r, l, n[l], a[l]);
190
- };
191
- function G(e) {
192
- return e.includes("ref") ? (
193
- // we need to sort these to ensure that `'ref'` is the last attr
194
- [...e.filter((t) => t !== "ref"), "ref"]
195
- ) : (
196
- // no need to sort, return the original array
197
- e
198
- );
199
- }
200
- var ee, j = (e, t, s, r) => {
201
- const n = t.$children$[s];
202
- let a = 0, l, o;
203
- if (n.$text$ !== null)
204
- l = n.$elm$ = y.createTextNode(n.$text$);
205
- else if (l = n.$elm$ = y.createElement(
206
- n.$tag$
207
- ), V(null, n), n.$children$)
208
- for (a = 0; a < n.$children$.length; ++a)
209
- o = j(e, n, a), o && l.appendChild(o);
210
- return l["s-hn"] = ee, l;
211
- }, te = (e, t, s, r, n, a) => {
212
- let l = e, o;
213
- for (; n <= a; ++n)
214
- r[n] && (o = j(null, s, n), o && (r[n].$elm$ = o, T(l, o, t)));
215
- }, ne = (e, t, s) => {
216
- for (let r = t; r <= s; ++r) {
217
- const n = e[r];
218
- if (n) {
219
- const a = n.$elm$;
220
- a && a.remove();
221
- }
222
- }
223
- }, He = (e, t, s, r, n = !1) => {
224
- let a = 0, l = 0, o = 0, i = 0, $ = t.length - 1, c = t[0], u = t[$], f = r.length - 1, d = r[0], m = r[f], v, h;
225
- for (; a <= $ && l <= f; )
226
- if (c == null)
227
- c = t[++a];
228
- else if (u == null)
229
- u = t[--$];
230
- else if (d == null)
231
- d = r[++l];
232
- else if (m == null)
233
- m = r[--f];
234
- else if (P(c, d, n))
235
- k(c, d, n), c = t[++a], d = r[++l];
236
- else if (P(u, m, n))
237
- k(u, m, n), u = t[--$], m = r[--f];
238
- else if (P(c, m, n))
239
- k(c, m, n), T(e, c.$elm$, u.$elm$.nextSibling), c = t[++a], m = r[--f];
240
- else if (P(u, d, n))
241
- k(u, d, n), T(e, u.$elm$, c.$elm$), u = t[--$], d = r[++l];
242
- else {
243
- for (o = -1, i = a; i <= $; ++i)
244
- if (t[i] && t[i].$key$ !== null && t[i].$key$ === d.$key$) {
245
- o = i;
246
- break;
247
- }
248
- o >= 0 ? (h = t[o], h.$tag$ !== d.$tag$ ? v = j(t && t[l], s, o) : (k(h, d, n), t[o] = void 0, v = h.$elm$), d = r[++l]) : (v = j(t && t[l], s, l), d = r[++l]), v && T(c.$elm$.parentNode, v, c.$elm$);
249
- }
250
- a > $ ? te(
251
- e,
252
- r[f + 1] == null ? null : r[f + 1].$elm$,
253
- s,
254
- r,
255
- l,
256
- f
257
- ) : l > f && ne(t, a, $);
258
- }, P = (e, t, s = !1) => e.$tag$ === t.$tag$ ? s ? !0 : e.$key$ === t.$key$ : !1, k = (e, t, s = !1) => {
259
- const r = t.$elm$ = e.$elm$, n = e.$children$, a = t.$children$, l = t.$text$;
260
- l === null ? (V(e, t), n !== null && a !== null ? He(r, n, t, a, s) : a !== null ? (e.$text$ !== null && (r.textContent = ""), te(r, null, t, a, 0, a.length - 1)) : n !== null && ne(n, 0, n.length - 1)) : e.$text$ !== l && (r.data = l);
261
- }, T = (e, t, s) => e == null ? void 0 : e.insertBefore(t, s), Ie = (e, t, s = !1) => {
262
- const r = e.$hostElement$, n = e.$vnode$ || N(null, null), a = Pe(t) ? t : we(null, null, t);
263
- if (ee = r.tagName, s && a.$attrs$)
264
- for (const l of Object.keys(a.$attrs$))
265
- r.hasAttribute(l) && !["key", "ref", "style", "class"].includes(l) && (a.$attrs$[l] = r[l]);
266
- a.$tag$ = null, a.$flags$ |= 4, e.$vnode$ = a, a.$elm$ = n.$elm$ = r, k(n, a, s);
267
- }, se = (e, t) => {
268
- t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((s) => e.$onRenderResolve$ = s));
269
- }, q = (e, t) => {
270
- if (e.$flags$ |= 16, e.$flags$ & 4) {
271
- e.$flags$ |= 512;
272
- return;
273
- }
274
- return se(e, e.$ancestorComponent$), pe(() => Ne(e, t));
275
- }, Ne = (e, t) => {
276
- const s = e.$hostElement$, r = S("scheduleUpdate", e.$cmpMeta$.$tagName$), n = e.$lazyInstance$;
277
- if (!n)
278
- throw new Error(
279
- `Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`
280
- );
281
- let a;
282
- return r(), Ue(a, () => ze(e, n, t));
283
- }, Ue = (e, t) => Be(e) ? e.then(t).catch((s) => {
284
- console.error(s), t();
285
- }) : t(), Be = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", ze = (e, t, s) => x(void 0, null, function* () {
286
- var r;
287
- const n = e.$hostElement$, a = S("update", e.$cmpMeta$.$tagName$), l = n["s-rc"];
288
- s && Oe(e);
289
- const o = S("render", e.$cmpMeta$.$tagName$);
290
- qe(e, t, n, s), l && (l.map((i) => i()), n["s-rc"] = void 0), o(), a();
291
- {
292
- const i = (r = n["s-p"]) != null ? r : [], $ = () => Ce(e);
293
- i.length === 0 ? $() : (Promise.all(i).then($), e.$flags$ |= 4, i.length = 0);
294
- }
295
- }), qe = (e, t, s, r) => {
296
- try {
297
- t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, Ie(e, t, r);
298
- } catch (n) {
299
- E(n, e.$hostElement$);
300
- }
301
- return null;
302
- }, Ce = (e) => {
303
- const t = e.$cmpMeta$.$tagName$, s = e.$hostElement$, r = S("postUpdate", t), n = e.$ancestorComponent$;
304
- e.$flags$ & 64 ? r() : (e.$flags$ |= 64, le(s), r(), e.$onReadyResolve$(s), n || re()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && z(() => q(e, !1)), e.$flags$ &= -517;
305
- }, re = (e) => {
306
- le(y.documentElement), z(() => _e(B, "appload", { detail: { namespace: oe } }));
307
- }, le = (e) => {
308
- var t;
309
- return e.classList.add((t = $e.hydratedSelectorName) != null ? t : "hydrated");
310
- }, De = (e, t) => b(e).$instanceValues$.get(t), Fe = (e, t, s, r) => {
311
- const n = b(e);
312
- if (!n)
313
- throw new Error(
314
- `Couldn't find host element for "${r.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`
315
- );
316
- const a = n.$hostElement$, l = n.$instanceValues$.get(t), o = n.$flags$, i = n.$lazyInstance$;
317
- s = Te(s, r.$members$[t][0]);
318
- const $ = Number.isNaN(l) && Number.isNaN(s), c = s !== l && !$;
319
- if ((!(o & 8) || l === void 0) && c && (n.$instanceValues$.set(t, s), i)) {
320
- if (r.$watchers$ && o & 128) {
321
- const u = r.$watchers$[t];
322
- u && u.map((f) => {
323
- try {
324
- i[f](s, l, t);
325
- } catch (d) {
326
- E(d, a);
327
- }
328
- });
329
- }
330
- (o & 18) === 2 && q(n, !1);
331
- }
332
- }, ae = (e, t, s) => {
333
- var r, n;
334
- const a = e.prototype;
335
- if (t.$members$ || t.$watchers$ || e.watchers) {
336
- e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
337
- const l = Object.entries((r = t.$members$) != null ? r : {});
338
- if (l.map(([o, [i]]) => {
339
- (i & 31 || s & 2 && i & 32) && Object.defineProperty(a, o, {
340
- get() {
341
- return De(this, o);
342
- },
343
- set($) {
344
- Fe(this, o, $, t);
345
- },
346
- configurable: !0,
347
- enumerable: !0
348
- });
349
- }), s & 1) {
350
- const o = /* @__PURE__ */ new Map();
351
- a.attributeChangedCallback = function(i, $, c) {
352
- g.jmp(() => {
353
- var u;
354
- const f = o.get(i);
355
- if (this.hasOwnProperty(f))
356
- c = this[f], delete this[f];
357
- else {
358
- if (a.hasOwnProperty(f) && typeof this[f] == "number" && this[f] == c)
359
- return;
360
- if (f == null) {
361
- const d = b(this), m = d == null ? void 0 : d.$flags$;
362
- if (m && !(m & 8) && m & 128 && c !== $) {
363
- const v = d.$lazyInstance$, h = (u = t.$watchers$) == null ? void 0 : u[i];
364
- h == null || h.forEach((p) => {
365
- v[p] != null && v[p].call(v, c, $, i);
366
- });
367
- }
368
- return;
369
- }
370
- }
371
- this[f] = c === null && typeof this[f] == "boolean" ? !1 : c;
372
- });
373
- }, e.observedAttributes = Array.from(
374
- /* @__PURE__ */ new Set([
375
- ...Object.keys((n = t.$watchers$) != null ? n : {}),
376
- ...l.filter(
377
- ([i, $]) => $[0] & 15
378
- /* HasAttribute */
379
- ).map(([i, $]) => {
380
- const c = $[1] || i;
381
- return o.set(c, i), c;
382
- })
383
- ])
384
- );
385
- }
386
- }
387
- return e;
388
- }, Me = (e, t, s, r) => x(void 0, null, function* () {
389
- let n;
390
- if (!(t.$flags$ & 32)) {
391
- if (t.$flags$ |= 32, s.$lazyBundleId$) {
392
- const i = de(s);
393
- if (i && "then" in i) {
394
- const c = Ee();
395
- n = yield i, c();
396
- } else
397
- n = i;
398
- if (!n)
399
- throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);
400
- n.isProxied || (s.$watchers$ = n.watchers, ae(
401
- n,
402
- s,
403
- 2
404
- /* proxyState */
405
- ), n.isProxied = !0);
406
- const $ = S("createInstance", s.$tagName$);
407
- t.$flags$ |= 8;
408
- try {
409
- new n(t);
410
- } catch (c) {
411
- E(c);
412
- }
413
- t.$flags$ &= -9, t.$flags$ |= 128, $();
414
- } else {
415
- n = e.constructor;
416
- const i = e.localName;
417
- customElements.whenDefined(i).then(
418
- () => t.$flags$ |= 128
419
- /* isWatchReady */
420
- );
421
- }
422
- if (n && n.style) {
423
- let i;
424
- typeof n.style == "string" && (i = n.style);
425
- const $ = R(s);
426
- if (!_.has($)) {
427
- const c = S("registerStyles", s.$tagName$);
428
- je($, i, !!(s.$flags$ & 1)), c();
429
- }
430
- }
431
- }
432
- const a = t.$ancestorComponent$, l = () => q(t, !0);
433
- a && a["s-rc"] ? a["s-rc"].push(l) : l();
434
- }), We = (e) => {
435
- }, Ye = (e) => {
436
- if (!(g.$flags$ & 1)) {
437
- const t = b(e), s = t.$cmpMeta$, r = S("connectedCallback", s.$tagName$);
438
- if (t.$flags$ & 1)
439
- t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => We());
440
- else {
441
- t.$flags$ |= 1;
442
- {
443
- let n = e;
444
- for (; n = n.parentNode || n.host; )
445
- if (n["s-p"]) {
446
- se(t, t.$ancestorComponent$ = n);
447
- break;
448
- }
449
- }
450
- s.$members$ && Object.entries(s.$members$).map(([n, [a]]) => {
451
- if (a & 31 && e.hasOwnProperty(n)) {
452
- const l = e[n];
453
- delete e[n], e[n] = l;
454
- }
455
- }), Me(e, t, s);
456
- }
457
- r();
458
- }
459
- }, Ge = (e) => {
460
- }, Je = (e) => x(void 0, null, function* () {
461
- if (!(g.$flags$ & 1)) {
462
- const t = b(e);
463
- t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => Ge());
464
- }
465
- }), Xe = (e, t = {}) => {
466
- var s;
467
- const r = S(), n = [], a = t.exclude || [], l = B.customElements, o = y.head, i = /* @__PURE__ */ o.querySelector("meta[charset]"), $ = /* @__PURE__ */ y.createElement("style"), c = [];
468
- let u, f = !0;
469
- Object.assign(g, t), g.$resourcesUrl$ = new URL(t.resourcesUrl || "./", y.baseURI).href;
470
- let d = !1;
471
- if (e.map((m) => {
472
- m[1].map((v) => {
473
- var h;
474
- const p = {
475
- $flags$: v[0],
476
- $tagName$: v[1],
477
- $members$: v[2],
478
- $listeners$: v[3]
479
- };
480
- p.$flags$ & 4 && (d = !0), p.$members$ = v[2], p.$watchers$ = (h = v[4]) != null ? h : {};
481
- const w = p.$tagName$, ie = class extends HTMLElement {
482
- // StencilLazyHost
483
- constructor(L) {
484
- super(L), this.hasRegisteredEventListeners = !1, L = this, fe(L, p);
485
- }
486
- connectedCallback() {
487
- b(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), u && (clearTimeout(u), u = null), f ? c.push(this) : g.jmp(() => Ye(this));
488
- }
489
- disconnectedCallback() {
490
- g.jmp(() => Je(this));
491
- }
492
- componentOnReady() {
493
- return b(this).$onReadyPromise$;
494
- }
495
- };
496
- p.$lazyBundleId$ = m[0], !a.includes(w) && !l.get(w) && (n.push(w), l.define(
497
- w,
498
- ae(
499
- ie,
500
- p,
501
- 1
502
- /* isElementConstructor */
503
- )
504
- ));
505
- });
506
- }), n.length > 0 && (d && ($.textContent += J), $.textContent += n.sort() + me, $.innerHTML.length)) {
507
- $.setAttribute("data-styles", "");
508
- const m = (s = g.$nonce$) != null ? s : X(y);
509
- m != null && $.setAttribute("nonce", m), o.insertBefore($, i ? i.nextSibling : o.firstChild);
510
- }
511
- f = !1, c.length ? c.map((m) => m.connectedCallback()) : g.jmp(() => u = setTimeout(re, 30)), r();
512
- };
513
- export {
514
- xe as H,
515
- Xe as b,
516
- we as h,
517
- ve as p,
518
- Qe as r
519
- };