@everymatrix/player-account-controller 1.71.1 → 1.72.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/{GeneralLogout-B0VQOyp8.js → GeneralLogout-CYE3twI-.js} +934 -913
- package/components/{GeneralLogout-DRrs7YUm.js → GeneralLogout-CgxHUYZx.js} +874 -853
- package/components/GeneralLogout-Dzu2Sl-x.cjs +21 -0
- package/components/PlayerAccountBettingHistory-B0IsJ01N.js +328 -0
- package/components/PlayerAccountBettingHistory-BXBMy618.js +329 -0
- package/components/PlayerAccountBettingHistory-BtDZukYI.cjs +1 -0
- package/components/{PlayerAccountBiometrics-989PbzNq.js → PlayerAccountBiometrics-CCk_4MyI.js} +22 -22
- package/components/{PlayerAccountBiometrics-BYO39i9p.cjs → PlayerAccountBiometrics-CEEVheLt.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-BbEIrHI6.js → PlayerAccountBiometrics-DrmVF6dX.js} +22 -22
- package/components/{PlayerAccountClosure-BBFEOrul.js → PlayerAccountClosure-B_xwOPds.js} +17 -17
- package/components/{PlayerAccountClosure-DC11KouS.cjs → PlayerAccountClosure-DoZ91aH2.cjs} +1 -1
- package/components/{PlayerAccountClosure-BUzQEnPq.js → PlayerAccountClosure-UwL_V2IO.js} +17 -17
- package/components/PlayerAccountController-BoNq7g_6.cjs +1 -0
- package/components/{PlayerAccountController-BTxJpu4C.js → PlayerAccountController-CqAFUuWU.js} +664 -604
- package/components/{PlayerAccountController-BBY1eza_.js → PlayerAccountController-DOrj81a0.js} +661 -601
- package/components/{PlayerAccountGamingLimits-CBpMsM8Z.js → PlayerAccountGamingLimits-B0QALjVi.js} +127 -127
- package/components/{PlayerAccountGamingLimits-DD_Xvlpx.cjs → PlayerAccountGamingLimits-BIXEO8qU.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-Bk0EXznK.js → PlayerAccountGamingLimits-C11On8aq.js} +127 -127
- package/components/{PlayerAccountGamingLimitsConfirmationModal-5YMmAQlc.js → PlayerAccountGamingLimitsConfirmationModal-57Q5qtf8.js} +30 -30
- package/components/{PlayerAccountGamingLimitsConfirmationModal-B5DdL-Qq.cjs → PlayerAccountGamingLimitsConfirmationModal-CVJUvbSC.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-DayIeAhM.js → PlayerAccountGamingLimitsConfirmationModal-CztJ5DKd.js} +30 -30
- package/components/{PlayerAccountGamingLimitsGroupEdit-CmsApDIS.js → PlayerAccountGamingLimitsGroupEdit-C40tSY9Z.js} +55 -57
- package/components/{PlayerAccountGamingLimitsGroupEdit-6QL1n5iL.js → PlayerAccountGamingLimitsGroupEdit-CoayAtf0.js} +55 -57
- package/components/PlayerAccountGamingLimitsGroupEdit-Crtmu06d.cjs +2 -0
- package/components/{PlayerAccountGamingLimitsHistory2-D088X_TM.js → PlayerAccountGamingLimitsHistory2-BLK-Rk6N.js} +48 -48
- package/components/{PlayerAccountGamingLimitsHistory2-DWWqB8Fw.js → PlayerAccountGamingLimitsHistory2-Br4h7_eS.js} +46 -46
- package/components/{PlayerAccountGamingLimitsHistory2-_1kGjygb.cjs → PlayerAccountGamingLimitsHistory2-CreFMkf_.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-CV-3DIxV.cjs → PlayerAccountGamingLimitsInfoCard-COS0sgRr.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-DS6v29qm.js → PlayerAccountGamingLimitsInfoCard-D5Vpi7Gd.js} +83 -83
- package/components/{PlayerAccountGamingLimitsInfoCard-CHsxYYfO.js → PlayerAccountGamingLimitsInfoCard-blI001Nx.js} +83 -83
- package/components/{PlayerAccountGamingLimitsPage2Gm16-BJDhlpPC.js → PlayerAccountGamingLimitsPage2Gm16-BAQqtUjc.js} +131 -131
- package/components/{PlayerAccountGamingLimitsPage2Gm16-C0Dx6InH.js → PlayerAccountGamingLimitsPage2Gm16-Cov3S01u.js} +127 -127
- package/components/{PlayerAccountGamingLimitsPage2Gm16-vX1K2yKK.cjs → PlayerAccountGamingLimitsPage2Gm16-Dpo-wqo-.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-DySvpnhJ.cjs → PlayerAccountGamingLimitsPopup-CmNqLNxB.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-DeOWwk-L.js → PlayerAccountGamingLimitsPopup-DTb6cpuT.js} +42 -42
- package/components/{PlayerAccountGamingLimitsPopup-Dox89ALX.js → PlayerAccountGamingLimitsPopup-Dz9ROowj.js} +42 -42
- package/components/{PlayerAccountGamingLimitsWrapper2-OQlLWMOB.cjs → PlayerAccountGamingLimitsWrapper2-B0QUbGaJ.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-BWD0TwHO.js → PlayerAccountGamingLimitsWrapper2-CeTGUdpp.js} +36 -36
- package/components/{PlayerAccountGamingLimitsWrapper2-BZO3-swb.js → PlayerAccountGamingLimitsWrapper2-LAdy0FnH.js} +36 -36
- package/components/{PlayerAccountGeneralConfirmationModal-DjEvyfLy.cjs → PlayerAccountGeneralConfirmationModal-DHEkFez0.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-D_4csutn.js → PlayerAccountGeneralConfirmationModal-DbBEBukz.js} +32 -32
- package/components/{PlayerAccountGeneralConfirmationModal-v2SilW7s.js → PlayerAccountGeneralConfirmationModal-DzZ3ym_J.js} +32 -32
- package/components/{PlayerAccountMenu-Bqz0aTF9.js → PlayerAccountMenu-T7u8nYfI.js} +32 -32
- package/components/{PlayerAccountMenu-fW4OjslX.cjs → PlayerAccountMenu-_Le7yvP5.cjs} +1 -1
- package/components/{PlayerAccountMenu-DfZ0KdMV.js → PlayerAccountMenu-_Qnpkznr.js} +29 -29
- package/components/{PlayerAccountModal-BMB4P21h.js → PlayerAccountModal-Cbpkb5P6.js} +42 -42
- package/components/{PlayerAccountModal-qMBtzz8T.js → PlayerAccountModal-Co5a_OZZ.js} +42 -42
- package/components/{PlayerAccountModal--0zxODF3.cjs → PlayerAccountModal-SsGlrcmj.cjs} +1 -1
- package/components/{PlayerAccountNotifications-DEokeaby.js → PlayerAccountNotifications-B0Nsdovh.js} +120 -120
- package/components/{PlayerAccountNotifications-dsfZhiiz.js → PlayerAccountNotifications-BeabE333.js} +35 -35
- package/components/{PlayerAccountNotifications-DL6whSl1.cjs → PlayerAccountNotifications-aQgcZXcD.cjs} +1 -1
- package/components/{PlayerAccountProductRestriction-CoLHLqmO.cjs → PlayerAccountProductRestriction-DAWRutx-.cjs} +2325 -412
- package/components/{PlayerAccountProductRestriction-CWVVSi8x.js → PlayerAccountProductRestriction-DvqI77xo.js} +9093 -4046
- package/components/{PlayerAccountProductRestriction-CUMqaF1v.js → PlayerAccountProductRestriction-Vl7EIMfJ.js} +9071 -4024
- package/components/{PlayerAccountSelfExclusion-DGkPy7y6.js → PlayerAccountSelfExclusion-BUoFSg8L.js} +514 -517
- package/components/{PlayerAccountSelfExclusion-yOxYX2u7.cjs → PlayerAccountSelfExclusion-CC2VhBEv.cjs} +75 -75
- package/components/{PlayerAccountSelfExclusion-tq30Qh8A.js → PlayerAccountSelfExclusion-Dq7G7DeK.js} +113 -116
- package/components/{PlayerAccountTimeout-D1MDOMKP.js → PlayerAccountTimeout-Brl7HCpJ.js} +75 -75
- package/components/{PlayerAccountTimeout-B0Cq943z.cjs → PlayerAccountTimeout-BuNhODT0.cjs} +1 -1
- package/components/{PlayerAccountTimeout-D54zlI59.js → PlayerAccountTimeout-o11NOFXb.js} +75 -75
- package/components/PlayerAccountTransactionsHistory-BBn9XxCH.cjs +4 -0
- package/components/{PlayerAccountTransactionsHistory-Dcpjukrx.js → PlayerAccountTransactionsHistory-DMr6unVm.js} +904 -794
- package/components/{PlayerAccountTransactionsHistory-BH0sftnp.js → PlayerAccountTransactionsHistory-Dm5dcrFj.js} +808 -758
- package/components/{PlayerActiveBonuses-A_DTddPa.js → PlayerActiveBonuses-CaQNGq0m.js} +55 -55
- package/components/{PlayerActiveBonuses-B-c41WnQ.js → PlayerActiveBonuses-DX872Zcz.js} +48 -48
- package/components/{PlayerActiveBonuses-dQOuytPa.cjs → PlayerActiveBonuses-Dpef1XJD.cjs} +1 -1
- package/components/{PlayerBonusCard-BZXqOzco.cjs → PlayerBonusCard-7dIqFpfg.cjs} +1 -1
- package/components/{PlayerBonusCard-MaVyRkKh.js → PlayerBonusCard-Cu5bJlh_.js} +81 -81
- package/components/{PlayerBonusCard-BOGjlIcY.js → PlayerBonusCard-ZY8S04oT.js} +81 -81
- package/components/{PlayerBonusHistory-jZkPl5bD.js → PlayerBonusHistory-CNQrPTXb.js} +33 -33
- package/components/{PlayerBonusHistory-CmOldup0.cjs → PlayerBonusHistory-D7tVCTah.cjs} +1 -1
- package/components/{PlayerBonusHistory-BVzfQOF4.js → PlayerBonusHistory-IbQagu8m.js} +33 -33
- package/components/{PlayerChangePassword-r4m8kv9p.js → PlayerChangePassword-C2ZoKuCq.js} +66 -66
- package/components/{PlayerChangePassword-D2Cjc71i.js → PlayerChangePassword-ChwKfBC6.js} +66 -66
- package/components/{PlayerChangePassword-CG0yyj8N.cjs → PlayerChangePassword-LgjKzYU1.cjs} +1 -1
- package/components/{PlayerDeposit-BzJtaOjD.js → PlayerDeposit-BPZ5wCAZ.js} +80 -80
- package/components/PlayerDeposit-Dzg8Ltb1.cjs +1 -0
- package/components/{PlayerDeposit-ORwoEnPn.js → PlayerDeposit-VLcz0tQH.js} +80 -80
- package/components/PlayerGamingHistory-BBZLzVSS.js +1112 -0
- package/components/PlayerGamingHistory-CGte8rt6.cjs +1 -0
- package/components/PlayerGamingHistory-DI45HNlI.js +1100 -0
- package/components/{PlayerPendingWithdrawals-CrNEhXdS.cjs → PlayerPendingWithdrawals-BMwtFNQT.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-CoPeWe82.js → PlayerPendingWithdrawals-DeNKdUgJ.js} +26 -26
- package/components/{PlayerPendingWithdrawals-DErieGhw.js → PlayerPendingWithdrawals-go7okUzL.js} +26 -26
- package/components/{PlayerProfileInfo-uo5Nv4Pa.js → PlayerProfileInfo-C8q-cLYa.js} +66 -66
- package/components/{PlayerProfileInfo-Ba0P3Lmq.cjs → PlayerProfileInfo-DFw4ourA.cjs} +1 -1
- package/components/{PlayerProfileInfo-Bks0ayNb.js → PlayerProfileInfo-bwbHpI6M.js} +66 -66
- package/components/{PlayerRealityCheck-CwbP2nPJ.js → PlayerRealityCheck-BGNjgzIq.js} +44 -44
- package/components/{PlayerRealityCheck-mdL-U276.js → PlayerRealityCheck-C2w5S2fe.js} +43 -43
- package/components/{PlayerRealityCheck-CC8qTWId.cjs → PlayerRealityCheck-Dr_ZpTwE.cjs} +1 -1
- package/components/{PlayerTransactionHistory-CPYk3YFO.cjs → PlayerTransactionHistory-4VtQqLAc.cjs} +1 -1
- package/components/{PlayerTransactionHistory-BGf7fWPX.js → PlayerTransactionHistory-A-aVfyoc.js} +19 -19
- package/components/{PlayerTransactionHistory-Dz4JXQLP.js → PlayerTransactionHistory-BFV_XJw9.js} +19 -19
- package/components/{PlayerWithdrawal-9DnL98EG.cjs → PlayerWithdrawal-BMLgaRLc.cjs} +1 -1
- package/components/{PlayerWithdrawal-C50d3wfA.js → PlayerWithdrawal-B_wQZI_t.js} +19 -19
- package/components/{PlayerWithdrawal-DVd5ZFGK.js → PlayerWithdrawal-CTttZqLr.js} +19 -19
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/{checkbox-group-input_15-COX7DlDn.js → checkbox-group-input_15-OwR3eXhS.js} +9745 -4702
- package/stencil/{checkbox-group-input_15-DpaVaugQ.js → checkbox-group-input_15-Vwz1wSzH.js} +9741 -4698
- package/stencil/checkbox-group-input_15-rrNwAy0j.cjs +7796 -0
- package/stencil/index-13661b98-CmRNR-rV.js +595 -0
- package/stencil/index-13661b98-D5aIg_pY.cjs +1 -0
- package/stencil/index-13661b98-DhWvmFjk.js +611 -0
- package/stencil/index-1ef3a64c-B5I86vac.js +572 -0
- package/stencil/index-1ef3a64c-DqUPq8OL.js +556 -0
- package/stencil/index-1ef3a64c-uiTzpR-U.cjs +1 -0
- package/stencil/index-7c5e707a-2AC9SnQ7.js +616 -0
- package/stencil/index-7c5e707a-BM4sfR0h.js +643 -0
- package/stencil/index-7c5e707a-Cw-c3Bke.cjs +1 -0
- package/stencil/{index-9c0f6c58-z4XuR4dm.js → index-9c0f6c58-BB5opCt9.js} +197 -197
- package/stencil/index-9c0f6c58-DmOKHEVq.cjs +1 -0
- package/stencil/index-9c0f6c58-bxjYqwOi.js +576 -0
- package/stencil/index-b2193545-DQUvHUpa.cjs +1 -0
- package/stencil/index-b2193545-DoYU_tL8.js +503 -0
- package/stencil/index-b2193545-_I2wisuY.js +519 -0
- package/stencil/{pam-change-password-CY5-Aktx.js → pam-change-password-B4zuIndQ.js} +1 -1
- package/stencil/{pam-change-password-CgkH4Jiz.cjs → pam-change-password-CV0uMtXO.cjs} +1 -1
- package/stencil/{pam-change-password-DjPvltNj.js → pam-change-password-dEbTDKG0.js} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-CfFEjP0U.js → pam-change-password-f4a1e7e7-BdbrsvWx.js} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-G-vVNocT.js → pam-change-password-f4a1e7e7-CNFdEoO5.js} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-BqDw0WzC.cjs → pam-change-password-f4a1e7e7-DAXvLl_6.cjs} +1 -1
- package/stencil/{player-kyc-verification-BbcCYuiR.js → player-kyc-verification-CMAkNiAB.js} +1 -1
- package/stencil/{player-kyc-verification-BEPum-yT.cjs → player-kyc-verification-DYcPWwfi.cjs} +1 -1
- package/stencil/{player-kyc-verification-Ca4iu4IA.js → player-kyc-verification-p2WFnKBp.js} +1 -1
- package/stencil/{ui-skeleton-CnxOhYAT.js → ui-skeleton-C_FDz0NJ.js} +2 -2
- package/stencil/{ui-skeleton-Bez-iF-R.cjs → ui-skeleton-GEqIXVxo.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-Bl0_r9TX.js → ui-skeleton-ae35c6f2-BreM325l.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-D37mmp9J.cjs → ui-skeleton-ae35c6f2-CeNpgiKf.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-CXRVKjq-.js → ui-skeleton-ae35c6f2-e6Wte4qi.js} +1 -1
- package/stencil/{ui-skeleton-CScGJdv_.js → ui-skeleton-mkMdvWYI.js} +2 -2
- package/stencil/{user-deposit-withdrawal-B8kjiJ18.js → user-deposit-withdrawal-BjmaGgRK.js} +1 -1
- package/stencil/{user-deposit-withdrawal-DZhlyIWQ.js → user-deposit-withdrawal-D6SDVw3h.js} +1 -1
- package/stencil/{user-deposit-withdrawal-D2eMp5tL.cjs → user-deposit-withdrawal-Du59X_-y.cjs} +1 -1
- package/stencil/{user-transaction-history-B1ZWITFg.js → user-transaction-history-7_yFZr3w.js} +1 -3
- package/stencil/user-transaction-history-DZZT2rYX.cjs +1 -0
- package/stencil/{user-transaction-history-lKr2wNoI.js → user-transaction-history-Dpd_aKdj.js} +1 -3
- package/components/GeneralLogout-CwfC_imT.cjs +0 -21
- package/components/PlayerAccountBettingHistory-CbA15BLO.cjs +0 -1
- package/components/PlayerAccountBettingHistory-DGi2VOi2.js +0 -329
- package/components/PlayerAccountBettingHistory-DvdfSyU5.js +0 -328
- package/components/PlayerAccountController-BO2-8qzx.cjs +0 -1
- package/components/PlayerAccountGamingLimitsGroupEdit-DrD_b8jP.cjs +0 -2
- package/components/PlayerAccountTransactionsHistory-DML86Ru-.cjs +0 -1
- package/components/PlayerDeposit-XDLH1XV-.cjs +0 -1
- package/components/PlayerGamingHistory-DGnLixnA.js +0 -1041
- package/components/PlayerGamingHistory-JHdAKfaf.js +0 -1029
- package/components/PlayerGamingHistory-SuFKYHl5.cjs +0 -1
- package/stencil/checkbox-group-input_15-CfJS-1ti.cjs +0 -5883
- package/stencil/index-13661b98-BDzather.js +0 -611
- package/stencil/index-13661b98-ChlFIQCB.cjs +0 -1
- package/stencil/index-13661b98-xRNcnGsM.js +0 -595
- package/stencil/index-1ef3a64c-B56pWkNP.js +0 -572
- package/stencil/index-1ef3a64c-drXhqjaW.cjs +0 -1
- package/stencil/index-1ef3a64c-fwHj5L8t.js +0 -556
- package/stencil/index-7c5e707a-CU3H8HVf.js +0 -616
- package/stencil/index-7c5e707a-DIWlFBom.js +0 -643
- package/stencil/index-7c5e707a-DS22ns-5.cjs +0 -1
- package/stencil/index-9c0f6c58-B8OJoZ2G.js +0 -576
- package/stencil/index-9c0f6c58-CEOt4FET.cjs +0 -1
- package/stencil/index-b2193545-BekNYO1T.js +0 -519
- package/stencil/index-b2193545-BteAUmdh.cjs +0 -1
- package/stencil/index-b2193545-DfDFpDFs.js +0 -503
- package/stencil/user-transaction-history-3DGGL9dd.cjs +0 -1
|
@@ -1,503 +0,0 @@
|
|
|
1
|
-
const ce = "ui-skeleton", U = (
|
|
2
|
-
/* ui-skeleton */
|
|
3
|
-
{ allRenderFn: !0, appendChildSlotFix: !1, asyncLoading: !0, asyncQueue: !1, attachStyles: !0, cloneNodeFix: !1, cmpDidLoad: !1, cmpDidRender: !1, cmpDidUnload: !1, cmpDidUpdate: !1, cmpShouldUpdate: !1, cmpWillLoad: !1, cmpWillRender: !1, cmpWillUpdate: !1, connectedCallback: !1, constructableCSS: !0, cssAnnotations: !0, devTools: !1, disconnectedCallback: !1, element: !1, event: !1, experimentalScopedSlotChanges: !1, experimentalSlotFixes: !1, formAssociated: !1, hasRenderFn: !0, hostListener: !1, hostListenerTarget: !1, hostListenerTargetBody: !1, hostListenerTargetDocument: !1, hostListenerTargetParent: !1, hostListenerTargetWindow: !1, hotModuleReplacement: !1, hydrateClientSide: !1, hydrateServerSide: !1, hydratedAttribute: !1, hydratedClass: !0, hydratedSelectorName: "hydrated", initializeNextTick: !1, invisiblePrehydration: !0, isDebug: !1, isDev: !1, isTesting: !1, lazyLoad: !0, lifecycle: !1, lifecycleDOMEvents: !1, member: !0, method: !1, mode: !1, observeAttribute: !0, profile: !1, prop: !0, propBoolean: !0, propMutable: !1, propNumber: !0, propString: !0, reflect: !1, scoped: !1, scopedSlotTextContentFix: !1, scriptDataOpts: !1, shadowDelegatesFocus: !1, shadowDom: !1, slot: !1, slotChildNodesFix: !1, slotRelocation: !1, state: !1, style: !0, svg: !1, taskQueue: !0, transformTagName: !1, updatable: !0, vdomAttribute: !0, vdomClass: !0, vdomFunctional: !1, vdomKey: !0, vdomListener: !1, vdomPropOrAttr: !1, vdomRef: !1, vdomRender: !0, vdomStyle: !1, vdomText: !0, vdomXlink: !1, watchCallback: !0 }
|
|
4
|
-
);
|
|
5
|
-
var $e = Object.defineProperty, fe = (e, t) => {
|
|
6
|
-
for (var r in t)
|
|
7
|
-
$e(e, r, { get: t[r], enumerable: !0 });
|
|
8
|
-
}, D = /* @__PURE__ */ new WeakMap(), b = (e) => D.get(e), Ke = (e, t) => D.set(t.$lazyInstance$ = e, t), ue = (e, t) => {
|
|
9
|
-
const r = {
|
|
10
|
-
$flags$: 0,
|
|
11
|
-
$hostElement$: e,
|
|
12
|
-
$cmpMeta$: t,
|
|
13
|
-
$instanceValues$: /* @__PURE__ */ new Map()
|
|
14
|
-
};
|
|
15
|
-
return r.$onReadyPromise$ = new Promise((n) => r.$onReadyResolve$ = n), e["s-p"] = [], e["s-rc"] = [], D.set(e, r);
|
|
16
|
-
}, w = (e, t) => (0, console.error)(e, t), O = /* @__PURE__ */ new Map(), de = (e, t, r) => {
|
|
17
|
-
const n = e.$tagName$.replace(/-/g, "_"), s = e.$lazyBundleId$;
|
|
18
|
-
if (!s)
|
|
19
|
-
return;
|
|
20
|
-
const a = O.get(s);
|
|
21
|
-
if (a)
|
|
22
|
-
return a[n];
|
|
23
|
-
{
|
|
24
|
-
const l = (o) => (O.set(s, o), o[n]);
|
|
25
|
-
switch (s) {
|
|
26
|
-
case "ui-skeleton":
|
|
27
|
-
return import(
|
|
28
|
-
/* webpackMode: "lazy" */
|
|
29
|
-
"./ui-skeleton-CScGJdv_.js"
|
|
30
|
-
).then(l, w);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
return import(
|
|
34
|
-
/* @vite-ignore */
|
|
35
|
-
/* webpackInclude: /\.entry\.js$/ */
|
|
36
|
-
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
37
|
-
/* webpackMode: "lazy" */
|
|
38
|
-
`./${s}.entry.js`
|
|
39
|
-
).then((l) => (O.set(s, l), l[n]), w);
|
|
40
|
-
}, L = /* @__PURE__ */ new Map(), me = "{visibility:hidden}.hydrated{visibility:inherit}", G = "slot-fb{display:contents}slot-fb[hidden]{display:none}", B = typeof window < "u" ? window : {}, y = B.document || { head: {} }, p = {
|
|
41
|
-
$flags$: 0,
|
|
42
|
-
$resourcesUrl$: "",
|
|
43
|
-
jmp: (e) => e(),
|
|
44
|
-
raf: (e) => requestAnimationFrame(e),
|
|
45
|
-
ael: (e, t, r, n) => e.addEventListener(t, r, n),
|
|
46
|
-
rel: (e, t, r, n) => e.removeEventListener(t, r, n),
|
|
47
|
-
ce: (e, t) => new CustomEvent(e, t)
|
|
48
|
-
}, ve = U.shadowDom, pe = (e) => Promise.resolve(e), he = /* @__PURE__ */ (() => {
|
|
49
|
-
try {
|
|
50
|
-
return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
|
|
51
|
-
} catch {
|
|
52
|
-
}
|
|
53
|
-
return !1;
|
|
54
|
-
})(), _ = !1, z = [], J = [], ge = (e, t) => (r) => {
|
|
55
|
-
e.push(r), _ || (_ = !0, p.$flags$ & 4 ? H(j) : p.raf(j));
|
|
56
|
-
}, F = (e) => {
|
|
57
|
-
for (let t = 0; t < e.length; t++)
|
|
58
|
-
try {
|
|
59
|
-
e[t](performance.now());
|
|
60
|
-
} catch (r) {
|
|
61
|
-
w(r);
|
|
62
|
-
}
|
|
63
|
-
e.length = 0;
|
|
64
|
-
}, j = () => {
|
|
65
|
-
F(z), F(J), (_ = z.length > 0) && p.raf(j);
|
|
66
|
-
}, H = (e) => pe().then(e), ye = /* @__PURE__ */ ge(J), q = {}, K = (e) => (e = typeof e, e === "object" || e === "function");
|
|
67
|
-
function R(e) {
|
|
68
|
-
var t, r, n;
|
|
69
|
-
return (n = (r = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : r.getAttribute("content")) != null ? n : void 0;
|
|
70
|
-
}
|
|
71
|
-
var Se = {};
|
|
72
|
-
fe(Se, {
|
|
73
|
-
err: () => X,
|
|
74
|
-
map: () => be,
|
|
75
|
-
ok: () => N,
|
|
76
|
-
unwrap: () => ke,
|
|
77
|
-
unwrapErr: () => we
|
|
78
|
-
});
|
|
79
|
-
var N = (e) => ({
|
|
80
|
-
isOk: !0,
|
|
81
|
-
isErr: !1,
|
|
82
|
-
value: e
|
|
83
|
-
}), X = (e) => ({
|
|
84
|
-
isOk: !1,
|
|
85
|
-
isErr: !0,
|
|
86
|
-
value: e
|
|
87
|
-
});
|
|
88
|
-
function be(e, t) {
|
|
89
|
-
if (e.isOk) {
|
|
90
|
-
const r = t(e.value);
|
|
91
|
-
return r instanceof Promise ? r.then((n) => N(n)) : N(r);
|
|
92
|
-
}
|
|
93
|
-
if (e.isErr) {
|
|
94
|
-
const r = e.value;
|
|
95
|
-
return X(r);
|
|
96
|
-
}
|
|
97
|
-
throw "should never get here";
|
|
98
|
-
}
|
|
99
|
-
var ke = (e) => {
|
|
100
|
-
if (e.isOk)
|
|
101
|
-
return e.value;
|
|
102
|
-
throw e.value;
|
|
103
|
-
}, we = (e) => {
|
|
104
|
-
if (e.isErr)
|
|
105
|
-
return e.value;
|
|
106
|
-
throw e.value;
|
|
107
|
-
}, S = (e, t = "") => () => {
|
|
108
|
-
}, Ee = (e, t) => () => {
|
|
109
|
-
}, xe = (e, t, ...r) => {
|
|
110
|
-
let n = null, s = null, a = !1, l = !1;
|
|
111
|
-
const o = [], i = ($) => {
|
|
112
|
-
for (let f = 0; f < $.length; f++)
|
|
113
|
-
n = $[f], Array.isArray(n) ? i(n) : n != null && typeof n != "boolean" && ((a = typeof e != "function" && !K(n)) && (n = String(n)), a && l ? o[o.length - 1].$text$ += n : o.push(a ? C(null, n) : n), l = a);
|
|
114
|
-
};
|
|
115
|
-
if (i(r), t) {
|
|
116
|
-
t.key && (s = t.key);
|
|
117
|
-
{
|
|
118
|
-
const $ = t.className || t.class;
|
|
119
|
-
$ && (t.class = typeof $ != "object" ? $ : Object.keys($).filter((f) => $[f]).join(" "));
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
const c = C(e, null);
|
|
123
|
-
return c.$attrs$ = t, o.length > 0 && (c.$children$ = o), c.$key$ = s, c;
|
|
124
|
-
}, C = (e, t) => {
|
|
125
|
-
const r = {
|
|
126
|
-
$flags$: 0,
|
|
127
|
-
$tag$: e,
|
|
128
|
-
$text$: t,
|
|
129
|
-
$elm$: null,
|
|
130
|
-
$children$: null
|
|
131
|
-
};
|
|
132
|
-
return r.$attrs$ = null, r.$key$ = null, r;
|
|
133
|
-
}, Te = {}, Le = (e) => e && e.$tag$ === Te, Pe = (e, t) => e != null && !K(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, Ae = (e, t, r) => {
|
|
134
|
-
const n = p.ce(t, r);
|
|
135
|
-
return e.dispatchEvent(n), n;
|
|
136
|
-
}, W = /* @__PURE__ */ new WeakMap(), Oe = (e, t, r) => {
|
|
137
|
-
let n = L.get(e);
|
|
138
|
-
he && r ? (n = n || new CSSStyleSheet(), typeof n == "string" ? n = t : n.replaceSync(t)) : n = t, L.set(e, n);
|
|
139
|
-
}, _e = (e, t, r) => {
|
|
140
|
-
var n;
|
|
141
|
-
const s = Z(t), a = L.get(s);
|
|
142
|
-
if (e = e.nodeType === 11 ? e : y, a)
|
|
143
|
-
if (typeof a == "string") {
|
|
144
|
-
e = e.head || e;
|
|
145
|
-
let l = W.get(e), o;
|
|
146
|
-
if (l || W.set(e, l = /* @__PURE__ */ new Set()), !l.has(s)) {
|
|
147
|
-
{
|
|
148
|
-
o = y.createElement("style"), o.innerHTML = a;
|
|
149
|
-
const i = (n = p.$nonce$) != null ? n : R(y);
|
|
150
|
-
i != null && o.setAttribute("nonce", i), e.insertBefore(o, e.querySelector("link"));
|
|
151
|
-
}
|
|
152
|
-
t.$flags$ & 4 && (o.innerHTML += G), l && l.add(s);
|
|
153
|
-
}
|
|
154
|
-
} else
|
|
155
|
-
e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
|
|
156
|
-
return s;
|
|
157
|
-
}, je = (e) => {
|
|
158
|
-
const t = e.$cmpMeta$, r = e.$hostElement$, n = S("attachStyles", t.$tagName$);
|
|
159
|
-
_e(
|
|
160
|
-
r.getRootNode(),
|
|
161
|
-
t
|
|
162
|
-
), n();
|
|
163
|
-
}, Z = (e, t) => "sc-" + e.$tagName$, M = (e, t, r, n, s, a) => {
|
|
164
|
-
if (r !== n && (t.toLowerCase(), t === "class")) {
|
|
165
|
-
const l = e.classList, o = Q(r), i = Q(n);
|
|
166
|
-
l.remove(...o.filter((c) => c && !i.includes(c))), l.add(...i.filter((c) => c && !o.includes(c)));
|
|
167
|
-
}
|
|
168
|
-
}, Ne = /\s/, Q = (e) => e ? e.split(Ne) : [], V = (e, t, r) => {
|
|
169
|
-
const n = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, s = e && e.$attrs$ || q, a = t.$attrs$ || q;
|
|
170
|
-
for (const l of Y(Object.keys(s)))
|
|
171
|
-
l in a || M(n, l, s[l], void 0);
|
|
172
|
-
for (const l of Y(Object.keys(a)))
|
|
173
|
-
M(n, l, s[l], a[l]);
|
|
174
|
-
};
|
|
175
|
-
function Y(e) {
|
|
176
|
-
return e.includes("ref") ? (
|
|
177
|
-
// we need to sort these to ensure that `'ref'` is the last attr
|
|
178
|
-
[...e.filter((t) => t !== "ref"), "ref"]
|
|
179
|
-
) : (
|
|
180
|
-
// no need to sort, return the original array
|
|
181
|
-
e
|
|
182
|
-
);
|
|
183
|
-
}
|
|
184
|
-
var ee, te = !1, P = (e, t, r, n) => {
|
|
185
|
-
const s = t.$children$[r];
|
|
186
|
-
let a = 0, l, o;
|
|
187
|
-
if (s.$text$ !== null)
|
|
188
|
-
l = s.$elm$ = y.createTextNode(s.$text$);
|
|
189
|
-
else if (l = s.$elm$ = y.createElement(
|
|
190
|
-
!te && U.slotRelocation && s.$flags$ & 2 ? "slot-fb" : s.$tag$
|
|
191
|
-
), V(null, s), s.$children$)
|
|
192
|
-
for (a = 0; a < s.$children$.length; ++a)
|
|
193
|
-
o = P(e, s, a), o && l.appendChild(o);
|
|
194
|
-
return l["s-hn"] = ee, l;
|
|
195
|
-
}, se = (e, t, r, n, s, a) => {
|
|
196
|
-
let l = e, o;
|
|
197
|
-
for (; s <= a; ++s)
|
|
198
|
-
n[s] && (o = P(null, r, s), o && (n[s].$elm$ = o, T(l, o, t)));
|
|
199
|
-
}, ne = (e, t, r) => {
|
|
200
|
-
for (let n = t; n <= r; ++n) {
|
|
201
|
-
const s = e[n];
|
|
202
|
-
if (s) {
|
|
203
|
-
const a = s.$elm$;
|
|
204
|
-
a && a.remove();
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
}, Ce = (e, t, r, n, s = !1) => {
|
|
208
|
-
let a = 0, l = 0, o = 0, i = 0, c = t.length - 1, $ = t[0], f = t[c], u = n.length - 1, d = n[0], m = n[u], v, h;
|
|
209
|
-
for (; a <= c && l <= u; )
|
|
210
|
-
if ($ == null)
|
|
211
|
-
$ = t[++a];
|
|
212
|
-
else if (f == null)
|
|
213
|
-
f = t[--c];
|
|
214
|
-
else if (d == null)
|
|
215
|
-
d = n[++l];
|
|
216
|
-
else if (m == null)
|
|
217
|
-
m = n[--u];
|
|
218
|
-
else if (x($, d, s))
|
|
219
|
-
k($, d, s), $ = t[++a], d = n[++l];
|
|
220
|
-
else if (x(f, m, s))
|
|
221
|
-
k(f, m, s), f = t[--c], m = n[--u];
|
|
222
|
-
else if (x($, m, s))
|
|
223
|
-
k($, m, s), T(e, $.$elm$, f.$elm$.nextSibling), $ = t[++a], m = n[--u];
|
|
224
|
-
else if (x(f, d, s))
|
|
225
|
-
k(f, d, s), T(e, f.$elm$, $.$elm$), f = t[--c], d = n[++l];
|
|
226
|
-
else {
|
|
227
|
-
for (o = -1, i = a; i <= c; ++i)
|
|
228
|
-
if (t[i] && t[i].$key$ !== null && t[i].$key$ === d.$key$) {
|
|
229
|
-
o = i;
|
|
230
|
-
break;
|
|
231
|
-
}
|
|
232
|
-
o >= 0 ? (h = t[o], h.$tag$ !== d.$tag$ ? v = P(t && t[l], r, o) : (k(h, d, s), t[o] = void 0, v = h.$elm$), d = n[++l]) : (v = P(t && t[l], r, l), d = n[++l]), v && T($.$elm$.parentNode, v, $.$elm$);
|
|
233
|
-
}
|
|
234
|
-
a > c ? se(
|
|
235
|
-
e,
|
|
236
|
-
n[u + 1] == null ? null : n[u + 1].$elm$,
|
|
237
|
-
r,
|
|
238
|
-
n,
|
|
239
|
-
l,
|
|
240
|
-
u
|
|
241
|
-
) : l > u && ne(t, a, c);
|
|
242
|
-
}, x = (e, t, r = !1) => e.$tag$ === t.$tag$ ? r ? !0 : e.$key$ === t.$key$ : !1, k = (e, t, r = !1) => {
|
|
243
|
-
const n = t.$elm$ = e.$elm$, s = e.$children$, a = t.$children$, l = t.$text$;
|
|
244
|
-
l === null ? (V(e, t), s !== null && a !== null ? Ce(n, s, t, a, r) : a !== null ? (e.$text$ !== null && (n.textContent = ""), se(n, null, t, a, 0, a.length - 1)) : s !== null && ne(s, 0, s.length - 1)) : e.$text$ !== l && (n.data = l);
|
|
245
|
-
}, T = (e, t, r) => e?.insertBefore(t, r), Ue = (e, t, r = !1) => {
|
|
246
|
-
const n = e.$hostElement$, s = e.$vnode$ || C(null, null), a = Le(t) ? t : xe(null, null, t);
|
|
247
|
-
if (ee = n.tagName, r && a.$attrs$)
|
|
248
|
-
for (const l of Object.keys(a.$attrs$))
|
|
249
|
-
n.hasAttribute(l) && !["key", "ref", "style", "class"].includes(l) && (a.$attrs$[l] = n[l]);
|
|
250
|
-
a.$tag$ = null, a.$flags$ |= 4, e.$vnode$ = a, a.$elm$ = s.$elm$ = n, te = ve, k(s, a, r);
|
|
251
|
-
}, re = (e, t) => {
|
|
252
|
-
t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((r) => e.$onRenderResolve$ = r));
|
|
253
|
-
}, I = (e, t) => {
|
|
254
|
-
if (e.$flags$ |= 16, e.$flags$ & 4) {
|
|
255
|
-
e.$flags$ |= 512;
|
|
256
|
-
return;
|
|
257
|
-
}
|
|
258
|
-
return re(e, e.$ancestorComponent$), ye(() => De(e, t));
|
|
259
|
-
}, De = (e, t) => {
|
|
260
|
-
const r = e.$hostElement$, n = S("scheduleUpdate", e.$cmpMeta$.$tagName$), s = e.$lazyInstance$;
|
|
261
|
-
if (!s)
|
|
262
|
-
throw new Error(
|
|
263
|
-
`Can't render component <${r.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`
|
|
264
|
-
);
|
|
265
|
-
let a;
|
|
266
|
-
return n(), Be(a, () => Ie(e, s, t));
|
|
267
|
-
}, Be = (e, t) => He(e) ? e.then(t).catch((r) => {
|
|
268
|
-
console.error(r), t();
|
|
269
|
-
}) : t(), He = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Ie = async (e, t, r) => {
|
|
270
|
-
var n;
|
|
271
|
-
const s = e.$hostElement$, a = S("update", e.$cmpMeta$.$tagName$), l = s["s-rc"];
|
|
272
|
-
r && je(e);
|
|
273
|
-
const o = S("render", e.$cmpMeta$.$tagName$);
|
|
274
|
-
ze(e, t, s, r), l && (l.map((i) => i()), s["s-rc"] = void 0), o(), a();
|
|
275
|
-
{
|
|
276
|
-
const i = (n = s["s-p"]) != null ? n : [], c = () => Fe(e);
|
|
277
|
-
i.length === 0 ? c() : (Promise.all(i).then(c), e.$flags$ |= 4, i.length = 0);
|
|
278
|
-
}
|
|
279
|
-
}, ze = (e, t, r, n) => {
|
|
280
|
-
try {
|
|
281
|
-
t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, Ue(e, t, n);
|
|
282
|
-
} catch (s) {
|
|
283
|
-
w(s, e.$hostElement$);
|
|
284
|
-
}
|
|
285
|
-
return null;
|
|
286
|
-
}, Fe = (e) => {
|
|
287
|
-
const t = e.$cmpMeta$.$tagName$, r = e.$hostElement$, n = S("postUpdate", t), s = e.$ancestorComponent$;
|
|
288
|
-
e.$flags$ & 64 ? n() : (e.$flags$ |= 64, ae(r), n(), e.$onReadyResolve$(r), s || le()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && H(() => I(e, !1)), e.$flags$ &= -517;
|
|
289
|
-
}, le = (e) => {
|
|
290
|
-
ae(y.documentElement), H(() => Ae(B, "appload", { detail: { namespace: ce } }));
|
|
291
|
-
}, ae = (e) => {
|
|
292
|
-
var t;
|
|
293
|
-
return e.classList.add((t = U.hydratedSelectorName) != null ? t : "hydrated");
|
|
294
|
-
}, qe = (e, t) => b(e).$instanceValues$.get(t), We = (e, t, r, n) => {
|
|
295
|
-
const s = b(e);
|
|
296
|
-
if (!s)
|
|
297
|
-
throw new Error(
|
|
298
|
-
`Couldn't find host element for "${n.$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).`
|
|
299
|
-
);
|
|
300
|
-
const a = s.$hostElement$, l = s.$instanceValues$.get(t), o = s.$flags$, i = s.$lazyInstance$;
|
|
301
|
-
r = Pe(r, n.$members$[t][0]);
|
|
302
|
-
const c = Number.isNaN(l) && Number.isNaN(r), $ = r !== l && !c;
|
|
303
|
-
if ((!(o & 8) || l === void 0) && $ && (s.$instanceValues$.set(t, r), i)) {
|
|
304
|
-
if (n.$watchers$ && o & 128) {
|
|
305
|
-
const f = n.$watchers$[t];
|
|
306
|
-
f && f.map((u) => {
|
|
307
|
-
try {
|
|
308
|
-
i[u](r, l, t);
|
|
309
|
-
} catch (d) {
|
|
310
|
-
w(d, a);
|
|
311
|
-
}
|
|
312
|
-
});
|
|
313
|
-
}
|
|
314
|
-
(o & 18) === 2 && I(s, !1);
|
|
315
|
-
}
|
|
316
|
-
}, oe = (e, t, r) => {
|
|
317
|
-
var n, s;
|
|
318
|
-
const a = e.prototype;
|
|
319
|
-
if (t.$members$ || t.$watchers$ || e.watchers) {
|
|
320
|
-
e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
|
|
321
|
-
const l = Object.entries((n = t.$members$) != null ? n : {});
|
|
322
|
-
if (l.map(([o, [i]]) => {
|
|
323
|
-
(i & 31 || r & 2 && i & 32) && Object.defineProperty(a, o, {
|
|
324
|
-
get() {
|
|
325
|
-
return qe(this, o);
|
|
326
|
-
},
|
|
327
|
-
set(c) {
|
|
328
|
-
We(this, o, c, t);
|
|
329
|
-
},
|
|
330
|
-
configurable: !0,
|
|
331
|
-
enumerable: !0
|
|
332
|
-
});
|
|
333
|
-
}), r & 1) {
|
|
334
|
-
const o = /* @__PURE__ */ new Map();
|
|
335
|
-
a.attributeChangedCallback = function(i, c, $) {
|
|
336
|
-
p.jmp(() => {
|
|
337
|
-
var f;
|
|
338
|
-
const u = o.get(i);
|
|
339
|
-
if (this.hasOwnProperty(u))
|
|
340
|
-
$ = this[u], delete this[u];
|
|
341
|
-
else {
|
|
342
|
-
if (a.hasOwnProperty(u) && typeof this[u] == "number" && this[u] == $)
|
|
343
|
-
return;
|
|
344
|
-
if (u == null) {
|
|
345
|
-
const d = b(this), m = d?.$flags$;
|
|
346
|
-
if (m && !(m & 8) && m & 128 && $ !== c) {
|
|
347
|
-
const v = d.$lazyInstance$, h = (f = t.$watchers$) == null ? void 0 : f[i];
|
|
348
|
-
h?.forEach((g) => {
|
|
349
|
-
v[g] != null && v[g].call(v, $, c, i);
|
|
350
|
-
});
|
|
351
|
-
}
|
|
352
|
-
return;
|
|
353
|
-
}
|
|
354
|
-
}
|
|
355
|
-
this[u] = $ === null && typeof this[u] == "boolean" ? !1 : $;
|
|
356
|
-
});
|
|
357
|
-
}, e.observedAttributes = Array.from(
|
|
358
|
-
/* @__PURE__ */ new Set([
|
|
359
|
-
...Object.keys((s = t.$watchers$) != null ? s : {}),
|
|
360
|
-
...l.filter(
|
|
361
|
-
([i, c]) => c[0] & 15
|
|
362
|
-
/* HasAttribute */
|
|
363
|
-
).map(([i, c]) => {
|
|
364
|
-
const $ = c[1] || i;
|
|
365
|
-
return o.set($, i), $;
|
|
366
|
-
})
|
|
367
|
-
])
|
|
368
|
-
);
|
|
369
|
-
}
|
|
370
|
-
}
|
|
371
|
-
return e;
|
|
372
|
-
}, Me = async (e, t, r, n) => {
|
|
373
|
-
let s;
|
|
374
|
-
if (!(t.$flags$ & 32)) {
|
|
375
|
-
if (t.$flags$ |= 32, r.$lazyBundleId$) {
|
|
376
|
-
const i = de(r);
|
|
377
|
-
if (i && "then" in i) {
|
|
378
|
-
const $ = Ee();
|
|
379
|
-
s = await i, $();
|
|
380
|
-
} else
|
|
381
|
-
s = i;
|
|
382
|
-
if (!s)
|
|
383
|
-
throw new Error(`Constructor for "${r.$tagName$}#${t.$modeName$}" was not found`);
|
|
384
|
-
s.isProxied || (r.$watchers$ = s.watchers, oe(
|
|
385
|
-
s,
|
|
386
|
-
r,
|
|
387
|
-
2
|
|
388
|
-
/* proxyState */
|
|
389
|
-
), s.isProxied = !0);
|
|
390
|
-
const c = S("createInstance", r.$tagName$);
|
|
391
|
-
t.$flags$ |= 8;
|
|
392
|
-
try {
|
|
393
|
-
new s(t);
|
|
394
|
-
} catch ($) {
|
|
395
|
-
w($);
|
|
396
|
-
}
|
|
397
|
-
t.$flags$ &= -9, t.$flags$ |= 128, c();
|
|
398
|
-
} else {
|
|
399
|
-
s = e.constructor;
|
|
400
|
-
const i = e.localName;
|
|
401
|
-
customElements.whenDefined(i).then(
|
|
402
|
-
() => t.$flags$ |= 128
|
|
403
|
-
/* isWatchReady */
|
|
404
|
-
);
|
|
405
|
-
}
|
|
406
|
-
if (s && s.style) {
|
|
407
|
-
let i;
|
|
408
|
-
typeof s.style == "string" && (i = s.style);
|
|
409
|
-
const c = Z(r);
|
|
410
|
-
if (!L.has(c)) {
|
|
411
|
-
const $ = S("registerStyles", r.$tagName$);
|
|
412
|
-
Oe(c, i, !!(r.$flags$ & 1)), $();
|
|
413
|
-
}
|
|
414
|
-
}
|
|
415
|
-
}
|
|
416
|
-
const a = t.$ancestorComponent$, l = () => I(t, !0);
|
|
417
|
-
a && a["s-rc"] ? a["s-rc"].push(l) : l();
|
|
418
|
-
}, Qe = (e) => {
|
|
419
|
-
}, Ye = (e) => {
|
|
420
|
-
if (!(p.$flags$ & 1)) {
|
|
421
|
-
const t = b(e), r = t.$cmpMeta$, n = S("connectedCallback", r.$tagName$);
|
|
422
|
-
if (t.$flags$ & 1)
|
|
423
|
-
t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => Qe());
|
|
424
|
-
else {
|
|
425
|
-
t.$flags$ |= 1;
|
|
426
|
-
{
|
|
427
|
-
let s = e;
|
|
428
|
-
for (; s = s.parentNode || s.host; )
|
|
429
|
-
if (s["s-p"]) {
|
|
430
|
-
re(t, t.$ancestorComponent$ = s);
|
|
431
|
-
break;
|
|
432
|
-
}
|
|
433
|
-
}
|
|
434
|
-
r.$members$ && Object.entries(r.$members$).map(([s, [a]]) => {
|
|
435
|
-
if (a & 31 && e.hasOwnProperty(s)) {
|
|
436
|
-
const l = e[s];
|
|
437
|
-
delete e[s], e[s] = l;
|
|
438
|
-
}
|
|
439
|
-
}), Me(e, t, r);
|
|
440
|
-
}
|
|
441
|
-
n();
|
|
442
|
-
}
|
|
443
|
-
}, Ge = (e) => {
|
|
444
|
-
}, Je = async (e) => {
|
|
445
|
-
if (!(p.$flags$ & 1)) {
|
|
446
|
-
const t = b(e);
|
|
447
|
-
t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => Ge());
|
|
448
|
-
}
|
|
449
|
-
}, Re = (e, t = {}) => {
|
|
450
|
-
var r;
|
|
451
|
-
const n = S(), s = [], a = t.exclude || [], l = B.customElements, o = y.head, i = /* @__PURE__ */ o.querySelector("meta[charset]"), c = /* @__PURE__ */ y.createElement("style"), $ = [];
|
|
452
|
-
let f, u = !0;
|
|
453
|
-
Object.assign(p, t), p.$resourcesUrl$ = new URL(t.resourcesUrl || "./", y.baseURI).href;
|
|
454
|
-
let d = !1;
|
|
455
|
-
if (e.map((m) => {
|
|
456
|
-
m[1].map((v) => {
|
|
457
|
-
var h;
|
|
458
|
-
const g = {
|
|
459
|
-
$flags$: v[0],
|
|
460
|
-
$tagName$: v[1],
|
|
461
|
-
$members$: v[2],
|
|
462
|
-
$listeners$: v[3]
|
|
463
|
-
};
|
|
464
|
-
g.$flags$ & 4 && (d = !0), g.$members$ = v[2], g.$watchers$ = (h = v[4]) != null ? h : {};
|
|
465
|
-
const E = g.$tagName$, ie = class extends HTMLElement {
|
|
466
|
-
// StencilLazyHost
|
|
467
|
-
constructor(A) {
|
|
468
|
-
super(A), this.hasRegisteredEventListeners = !1, A = this, ue(A, g);
|
|
469
|
-
}
|
|
470
|
-
connectedCallback() {
|
|
471
|
-
b(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), f && (clearTimeout(f), f = null), u ? $.push(this) : p.jmp(() => Ye(this));
|
|
472
|
-
}
|
|
473
|
-
disconnectedCallback() {
|
|
474
|
-
p.jmp(() => Je(this));
|
|
475
|
-
}
|
|
476
|
-
componentOnReady() {
|
|
477
|
-
return b(this).$onReadyPromise$;
|
|
478
|
-
}
|
|
479
|
-
};
|
|
480
|
-
g.$lazyBundleId$ = m[0], !a.includes(E) && !l.get(E) && (s.push(E), l.define(
|
|
481
|
-
E,
|
|
482
|
-
oe(
|
|
483
|
-
ie,
|
|
484
|
-
g,
|
|
485
|
-
1
|
|
486
|
-
/* isElementConstructor */
|
|
487
|
-
)
|
|
488
|
-
));
|
|
489
|
-
});
|
|
490
|
-
}), s.length > 0 && (d && (c.textContent += G), c.textContent += s.sort() + me, c.innerHTML.length)) {
|
|
491
|
-
c.setAttribute("data-styles", "");
|
|
492
|
-
const m = (r = p.$nonce$) != null ? r : R(y);
|
|
493
|
-
m != null && c.setAttribute("nonce", m), o.insertBefore(c, i ? i.nextSibling : o.firstChild);
|
|
494
|
-
}
|
|
495
|
-
u = !1, $.length ? $.map((m) => m.connectedCallback()) : p.jmp(() => f = setTimeout(le, 30)), n();
|
|
496
|
-
};
|
|
497
|
-
export {
|
|
498
|
-
Te as H,
|
|
499
|
-
Re as b,
|
|
500
|
-
xe as h,
|
|
501
|
-
pe as p,
|
|
502
|
-
Ke as r
|
|
503
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var U=(e,t,a)=>new Promise((n,r)=>{var i=l=>{try{d(a.next(l))}catch(h){r(h)}},o=l=>{try{d(a.throw(l))}catch(h){r(h)}},d=l=>l.done?n(l.value):Promise.resolve(l.value).then(i,o);d((a=a.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index-7c5e707a-DS22ns-5.cjs"),ot=require("./app-globals-0f993ce5-DgYhdguE.cjs");var q=typeof document!="undefined"?document.currentScript:null,st=()=>{const e=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:q&&q.tagName.toUpperCase()==="SCRIPT"&&q.src||new URL("stencil/user-transaction-history-3DGGL9dd.cjs",document.baseURI).href,t={};return e!==""&&(t.resourcesUrl=new URL(".",e).href),s.promiseResolve(t)};st().then(e=>U(exports,null,function*(){return yield ot.globalScripts$4(),s.bootstrapLazy([["user-transaction-history",[[1,"user-transaction-history",{endpoint:[513],session:[513],language:[513],userId:[513,"user-id"],translationUrl:[513,"translation-url"],mobile:[516],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],mbSource:[513,"mb-source"],dateFormat:[513,"date-format"],page:[32],pageSize:[32],showMobileFilter:[32],to:[32],from:[32],type:[32],transactions:[32],showLoader:[32]},[[9,"resize","getComponentHeight"]],{page:["watchMultiple"],type:["watchMultiple"],session:["watchMultiple"],userId:["watchMultiple"],pageSize:["watchMultiple"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],showMobileFilter:["getComponentHeight"]}]]]],e)}));const lt={en:{deposit:"Deposit",withdrawals:"Withdrawals",show:"Show",from:"From",to:"To",filter:"Filter",transactionId:"Transaction ID",date:"Date",amount:"Amount",productType:"Product Type",status:"Status",noData:"There are no account activities"},hr:{deposit:"Uplate",withdrawals:"Isplate",show:"Prikaži",from:"Od",to:"Do",filter:"Filter",transactionId:"ID transakcije",date:"Datum",amount:"Iznos",productType:"Vrsta proizvoda",status:"Status",noData:"Nema aktivnosti na računu"}};class u{constructor(){}static loadCustomTranslations(t){return U(this,null,function*(){try{const a=yield fetch(t,{headers:{"Content-Type":"application/json"}});if(!a.ok){const r=yield a.text();throw new Error(r)}const n=yield a.json();u.updateTranslations(n)}catch(a){console.error(`Failed to load translations ${t}. ${a.message}`)}})}static translate(t,a){var n,r;const i=u.getAvaliableLanguages(a);return((r=(n=u.customTranslation)===null||n===void 0?void 0:n[i.customLanguage])===null||r===void 0?void 0:r[t])||u.defaultTranslation[i.predefinedLanguage][t]}static getAvaliableLanguages(t){var a;const n=!((a=u.customLanguages)===null||a===void 0)&&a.includes(t)?t:u.defaultLanguage;return{predefinedLanguage:u.supportedLanguages.includes(t)?t:u.defaultLanguage,customLanguage:n}}static updateTranslations(t){u.customLanguages=Array.from(new Set([...u.supportedLanguages,...Object.keys(t).map(a=>a.toLowerCase())])),u.customTranslation=t}}u.defaultLanguage="en";u.supportedLanguages=["en"];u.defaultTranslation=lt;const dt=()=>s.h("div",{class:"loader"},s.h("div",null),s.h("div",null),s.h("div",null),s.h("div",null),s.h("div",null),s.h("div",null),s.h("div",null),s.h("div",null),s.h("div",null),s.h("div",null),s.h("div",null),s.h("div",null));function Y(e){"@babel/helpers - typeof";return Y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Y(e)}function v(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function ut(e){return v(1,arguments),e instanceof Date||Y(e)==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function y(e){v(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||Y(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console!="undefined"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function ct(e){if(v(1,arguments),!ut(e)&&typeof e!="number")return!1;var t=y(e);return!isNaN(Number(t))}function k(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function ht(e,t){v(2,arguments);var a=y(e).getTime(),n=k(t);return new Date(a+n)}function ft(e,t){v(2,arguments);var a=k(t);return ht(e,-a)}var mt=864e5;function gt(e){v(1,arguments);var t=y(e),a=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var n=t.getTime(),r=a-n;return Math.floor(r/mt)+1}function L(e){v(1,arguments);var t=1,a=y(e),n=a.getUTCDay(),r=(n<t?7:0)+n-t;return a.setUTCDate(a.getUTCDate()-r),a.setUTCHours(0,0,0,0),a}function V(e){v(1,arguments);var t=y(e),a=t.getUTCFullYear(),n=new Date(0);n.setUTCFullYear(a+1,0,4),n.setUTCHours(0,0,0,0);var r=L(n),i=new Date(0);i.setUTCFullYear(a,0,4),i.setUTCHours(0,0,0,0);var o=L(i);return t.getTime()>=r.getTime()?a+1:t.getTime()>=o.getTime()?a:a-1}function vt(e){v(1,arguments);var t=V(e),a=new Date(0);a.setUTCFullYear(t,0,4),a.setUTCHours(0,0,0,0);var n=L(a);return n}var pt=6048e5;function bt(e){v(1,arguments);var t=y(e),a=L(t).getTime()-vt(t).getTime();return Math.round(a/pt)+1}var wt={};function $(){return wt}function B(e,t){var a,n,r,i,o,d,l,h;v(1,arguments);var m=$(),f=k((a=(n=(r=(i=t==null?void 0:t.weekStartsOn)!==null&&i!==void 0?i:t==null||(o=t.locale)===null||o===void 0||(d=o.options)===null||d===void 0?void 0:d.weekStartsOn)!==null&&r!==void 0?r:m.weekStartsOn)!==null&&n!==void 0?n:(l=m.locale)===null||l===void 0||(h=l.options)===null||h===void 0?void 0:h.weekStartsOn)!==null&&a!==void 0?a:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var p=y(e),g=p.getUTCDay(),w=(g<f?7:0)+g-f;return p.setUTCDate(p.getUTCDate()-w),p.setUTCHours(0,0,0,0),p}function J(e,t){var a,n,r,i,o,d,l,h;v(1,arguments);var m=y(e),f=m.getUTCFullYear(),p=$(),g=k((a=(n=(r=(i=t==null?void 0:t.firstWeekContainsDate)!==null&&i!==void 0?i:t==null||(o=t.locale)===null||o===void 0||(d=o.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&r!==void 0?r:p.firstWeekContainsDate)!==null&&n!==void 0?n:(l=p.locale)===null||l===void 0||(h=l.options)===null||h===void 0?void 0:h.firstWeekContainsDate)!==null&&a!==void 0?a:1);if(!(g>=1&&g<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var w=new Date(0);w.setUTCFullYear(f+1,0,g),w.setUTCHours(0,0,0,0);var D=B(w,t),C=new Date(0);C.setUTCFullYear(f,0,g),C.setUTCHours(0,0,0,0);var N=B(C,t);return m.getTime()>=D.getTime()?f+1:m.getTime()>=N.getTime()?f:f-1}function yt(e,t){var a,n,r,i,o,d,l,h;v(1,arguments);var m=$(),f=k((a=(n=(r=(i=t==null?void 0:t.firstWeekContainsDate)!==null&&i!==void 0?i:t==null||(o=t.locale)===null||o===void 0||(d=o.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&r!==void 0?r:m.firstWeekContainsDate)!==null&&n!==void 0?n:(l=m.locale)===null||l===void 0||(h=l.options)===null||h===void 0?void 0:h.firstWeekContainsDate)!==null&&a!==void 0?a:1),p=J(e,t),g=new Date(0);g.setUTCFullYear(p,0,f),g.setUTCHours(0,0,0,0);var w=B(g,t);return w}var xt=6048e5;function Tt(e,t){v(1,arguments);var a=y(e),n=B(a,t).getTime()-yt(a,t).getTime();return Math.round(n/xt)+1}function c(e,t){for(var a=e<0?"-":"",n=Math.abs(e).toString();n.length<t;)n="0"+n;return a+n}var Ct={y:function(t,a){var n=t.getUTCFullYear(),r=n>0?n:1-n;return c(a==="yy"?r%100:r,a.length)},M:function(t,a){var n=t.getUTCMonth();return a==="M"?String(n+1):c(n+1,2)},d:function(t,a){return c(t.getUTCDate(),a.length)},a:function(t,a){var n=t.getUTCHours()/12>=1?"pm":"am";switch(a){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h:function(t,a){return c(t.getUTCHours()%12||12,a.length)},H:function(t,a){return c(t.getUTCHours(),a.length)},m:function(t,a){return c(t.getUTCMinutes(),a.length)},s:function(t,a){return c(t.getUTCSeconds(),a.length)},S:function(t,a){var n=a.length,r=t.getUTCMilliseconds(),i=Math.floor(r*Math.pow(10,n-3));return c(i,a.length)}};const T=Ct;var M={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},St={G:function(t,a,n){var r=t.getUTCFullYear()>0?1:0;switch(a){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(t,a,n){if(a==="yo"){var r=t.getUTCFullYear(),i=r>0?r:1-r;return n.ordinalNumber(i,{unit:"year"})}return T.y(t,a)},Y:function(t,a,n,r){var i=J(t,r),o=i>0?i:1-i;if(a==="YY"){var d=o%100;return c(d,2)}return a==="Yo"?n.ordinalNumber(o,{unit:"year"}):c(o,a.length)},R:function(t,a){var n=V(t);return c(n,a.length)},u:function(t,a){var n=t.getUTCFullYear();return c(n,a.length)},Q:function(t,a,n){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(a){case"Q":return String(r);case"QQ":return c(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(t,a,n){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(a){case"q":return String(r);case"qq":return c(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(t,a,n){var r=t.getUTCMonth();switch(a){case"M":case"MM":return T.M(t,a);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(t,a,n){var r=t.getUTCMonth();switch(a){case"L":return String(r+1);case"LL":return c(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(t,a,n,r){var i=Tt(t,r);return a==="wo"?n.ordinalNumber(i,{unit:"week"}):c(i,a.length)},I:function(t,a,n){var r=bt(t);return a==="Io"?n.ordinalNumber(r,{unit:"week"}):c(r,a.length)},d:function(t,a,n){return a==="do"?n.ordinalNumber(t.getUTCDate(),{unit:"date"}):T.d(t,a)},D:function(t,a,n){var r=gt(t);return a==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):c(r,a.length)},E:function(t,a,n){var r=t.getUTCDay();switch(a){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(t,a,n,r){var i=t.getUTCDay(),o=(i-r.weekStartsOn+8)%7||7;switch(a){case"e":return String(o);case"ee":return c(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});case"eeee":default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(t,a,n,r){var i=t.getUTCDay(),o=(i-r.weekStartsOn+8)%7||7;switch(a){case"c":return String(o);case"cc":return c(o,a.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});case"cccc":default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(t,a,n){var r=t.getUTCDay(),i=r===0?7:r;switch(a){case"i":return String(i);case"ii":return c(i,a.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(t,a,n){var r=t.getUTCHours(),i=r/12>=1?"pm":"am";switch(a){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(t,a,n){var r=t.getUTCHours(),i;switch(r===12?i=M.noon:r===0?i=M.midnight:i=r/12>=1?"pm":"am",a){case"b":case"bb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(t,a,n){var r=t.getUTCHours(),i;switch(r>=17?i=M.evening:r>=12?i=M.afternoon:r>=4?i=M.morning:i=M.night,a){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(t,a,n){if(a==="ho"){var r=t.getUTCHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return T.h(t,a)},H:function(t,a,n){return a==="Ho"?n.ordinalNumber(t.getUTCHours(),{unit:"hour"}):T.H(t,a)},K:function(t,a,n){var r=t.getUTCHours()%12;return a==="Ko"?n.ordinalNumber(r,{unit:"hour"}):c(r,a.length)},k:function(t,a,n){var r=t.getUTCHours();return r===0&&(r=24),a==="ko"?n.ordinalNumber(r,{unit:"hour"}):c(r,a.length)},m:function(t,a,n){return a==="mo"?n.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):T.m(t,a)},s:function(t,a,n){return a==="so"?n.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):T.s(t,a)},S:function(t,a){return T.S(t,a)},X:function(t,a,n,r){var i=r._originalDate||t,o=i.getTimezoneOffset();if(o===0)return"Z";switch(a){case"X":return z(o);case"XXXX":case"XX":return S(o);case"XXXXX":case"XXX":default:return S(o,":")}},x:function(t,a,n,r){var i=r._originalDate||t,o=i.getTimezoneOffset();switch(a){case"x":return z(o);case"xxxx":case"xx":return S(o);case"xxxxx":case"xxx":default:return S(o,":")}},O:function(t,a,n,r){var i=r._originalDate||t,o=i.getTimezoneOffset();switch(a){case"O":case"OO":case"OOO":return"GMT"+j(o,":");case"OOOO":default:return"GMT"+S(o,":")}},z:function(t,a,n,r){var i=r._originalDate||t,o=i.getTimezoneOffset();switch(a){case"z":case"zz":case"zzz":return"GMT"+j(o,":");case"zzzz":default:return"GMT"+S(o,":")}},t:function(t,a,n,r){var i=r._originalDate||t,o=Math.floor(i.getTime()/1e3);return c(o,a.length)},T:function(t,a,n,r){var i=r._originalDate||t,o=i.getTime();return c(o,a.length)}};function j(e,t){var a=e>0?"-":"+",n=Math.abs(e),r=Math.floor(n/60),i=n%60;if(i===0)return a+String(r);var o=t;return a+String(r)+o+c(i,2)}function z(e,t){if(e%60===0){var a=e>0?"-":"+";return a+c(Math.abs(e)/60,2)}return S(e,t)}function S(e,t){var a=t||"",n=e>0?"-":"+",r=Math.abs(e),i=c(Math.floor(r/60),2),o=c(r%60,2);return n+i+a+o}const kt=St;var A=function(t,a){switch(t){case"P":return a.date({width:"short"});case"PP":return a.date({width:"medium"});case"PPP":return a.date({width:"long"});case"PPPP":default:return a.date({width:"full"})}},K=function(t,a){switch(t){case"p":return a.time({width:"short"});case"pp":return a.time({width:"medium"});case"ppp":return a.time({width:"long"});case"pppp":default:return a.time({width:"full"})}},Mt=function(t,a){var n=t.match(/(P+)(p+)?/)||[],r=n[1],i=n[2];if(!i)return A(t,a);var o;switch(r){case"P":o=a.dateTime({width:"short"});break;case"PP":o=a.dateTime({width:"medium"});break;case"PPP":o=a.dateTime({width:"long"});break;case"PPPP":default:o=a.dateTime({width:"full"});break}return o.replace("{{date}}",A(r,a)).replace("{{time}}",K(i,a))},Dt={p:K,P:Mt};const Pt=Dt;function Ot(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}var Ut=["D","DD"],Wt=["YY","YYYY"];function Ft(e){return Ut.indexOf(e)!==-1}function _t(e){return Wt.indexOf(e)!==-1}function Q(e,t,a){if(e==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(a,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(a,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(a,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(a,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var Et={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Yt=function(t,a,n){var r,i=Et[t];return typeof i=="string"?r=i:a===1?r=i.one:r=i.other.replace("{{count}}",a.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};const Lt=Yt;function R(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=t.width?String(t.width):e.defaultWidth,n=e.formats[a]||e.formats[e.defaultWidth];return n}}var Bt={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},$t={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Nt={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Ht={date:R({formats:Bt,defaultWidth:"full"}),time:R({formats:$t,defaultWidth:"full"}),dateTime:R({formats:Nt,defaultWidth:"full"})};const It=Ht;var qt={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Rt=function(t,a,n,r){return qt[t]};const jt=Rt;function W(e){return function(t,a){var n=a!=null&&a.context?String(a.context):"standalone",r;if(n==="formatting"&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,o=a!=null&&a.width?String(a.width):i;r=e.formattingValues[o]||e.formattingValues[i]}else{var d=e.defaultWidth,l=a!=null&&a.width?String(a.width):e.defaultWidth;r=e.values[l]||e.values[d]}var h=e.argumentCallback?e.argumentCallback(t):t;return r[h]}}var zt={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},At={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Qt={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Xt={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Gt={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Vt={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Jt=function(t,a){var n=Number(t),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},Kt={ordinalNumber:Jt,era:W({values:zt,defaultWidth:"wide"}),quarter:W({values:At,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:W({values:Qt,defaultWidth:"wide"}),day:W({values:Xt,defaultWidth:"wide"}),dayPeriod:W({values:Gt,defaultWidth:"wide",formattingValues:Vt,defaultFormattingWidth:"wide"})};const Zt=Kt;function F(e){return function(t){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=a.width,r=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],i=t.match(r);if(!i)return null;var o=i[0],d=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(d)?ee(d,function(f){return f.test(o)}):te(d,function(f){return f.test(o)}),h;h=e.valueCallback?e.valueCallback(l):l,h=a.valueCallback?a.valueCallback(h):h;var m=t.slice(o.length);return{value:h,rest:m}}}function te(e,t){for(var a in e)if(e.hasOwnProperty(a)&&t(e[a]))return a}function ee(e,t){for(var a=0;a<e.length;a++)if(t(e[a]))return a}function ae(e){return function(t){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.match(e.matchPattern);if(!n)return null;var r=n[0],i=t.match(e.parsePattern);if(!i)return null;var o=e.valueCallback?e.valueCallback(i[0]):i[0];o=a.valueCallback?a.valueCallback(o):o;var d=t.slice(r.length);return{value:o,rest:d}}}var ne=/^(\d+)(th|st|nd|rd)?/i,re=/\d+/i,ie={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},oe={any:[/^b/i,/^(a|c)/i]},se={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},le={any:[/1/i,/2/i,/3/i,/4/i]},de={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},ue={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},ce={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},he={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},fe={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},me={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},ge={ordinalNumber:ae({matchPattern:ne,parsePattern:re,valueCallback:function(t){return parseInt(t,10)}}),era:F({matchPatterns:ie,defaultMatchWidth:"wide",parsePatterns:oe,defaultParseWidth:"any"}),quarter:F({matchPatterns:se,defaultMatchWidth:"wide",parsePatterns:le,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:F({matchPatterns:de,defaultMatchWidth:"wide",parsePatterns:ue,defaultParseWidth:"any"}),day:F({matchPatterns:ce,defaultMatchWidth:"wide",parsePatterns:he,defaultParseWidth:"any"}),dayPeriod:F({matchPatterns:fe,defaultMatchWidth:"any",parsePatterns:me,defaultParseWidth:"any"})};const ve=ge;var pe={code:"en-US",formatDistance:Lt,formatLong:It,formatRelative:jt,localize:Zt,match:ve,options:{weekStartsOn:0,firstWeekContainsDate:1}};const be=pe;var we=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,ye=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,xe=/^'([^]*?)'?$/,Te=/''/g,Ce=/[a-zA-Z]/;function Se(e,t,a){var n,r,i,o,d,l,h,m,f,p,g,w,D,C;v(2,arguments);var N=String(t),P=$(),O=(n=(r=void 0)!==null&&r!==void 0?r:P.locale)!==null&&n!==void 0?n:be,H=k((i=(o=(d=(l=void 0)!==null&&l!==void 0?l:void 0)!==null&&d!==void 0?d:P.firstWeekContainsDate)!==null&&o!==void 0?o:(h=P.locale)===null||h===void 0||(m=h.options)===null||m===void 0?void 0:m.firstWeekContainsDate)!==null&&i!==void 0?i:1);if(!(H>=1&&H<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var I=k((f=(p=(g=(w=void 0)!==null&&w!==void 0?w:void 0)!==null&&g!==void 0?g:P.weekStartsOn)!==null&&p!==void 0?p:(D=P.locale)===null||D===void 0||(C=D.options)===null||C===void 0?void 0:C.weekStartsOn)!==null&&f!==void 0?f:0);if(!(I>=0&&I<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!O.localize)throw new RangeError("locale must contain localize property");if(!O.formatLong)throw new RangeError("locale must contain formatLong property");var _=y(e);if(!ct(_))throw new RangeError("Invalid time value");var at=Ot(_),nt=ft(_,at),rt={firstWeekContainsDate:H,weekStartsOn:I,locale:O,_originalDate:_},it=N.match(ye).map(function(b){var x=b[0];if(x==="p"||x==="P"){var E=Pt[x];return E(b,O.formatLong)}return b}).join("").match(we).map(function(b){if(b==="''")return"'";var x=b[0];if(x==="'")return ke(b);var E=kt[x];if(E)return _t(b)&&Q(b,t,String(e)),Ft(b)&&Q(b,t,String(e)),E(nt,b,O.localize,rt);if(x.match(Ce))throw new RangeError("Format string contains an unescaped latin alphabet character `"+x+"`");return b}).join("");return it}function ke(e){var t=e.match(xe);return t?t[1].replace(Te,"'"):e}class Z{constructor(){}static dateToFormatedString(t,a){const n=a?Se(t,a):t.toLocaleDateString("en-gb"),r=t.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit",hour12:!1});return`${n}, ${r}`}}class tt{constructor(){}static format(t,a){let n=`${a} ${t}`;try{n=new Intl.NumberFormat("en-US",{style:"currency",currency:t}).format(a)}catch(r){}return n}}const Me=e=>s.h("div",{class:"data-transaction"},s.h("p",null,e.productType),s.h("p",{class:"text-style text-style-status"},s.h("span",{class:e.status.toLowerCase()},e.status)),s.h("p",{class:"date"},e.transId," | ",Z.dateToFormatedString(new Date(e.created),e.dateformat)),s.h("p",{class:"text-style"},tt.format(e.currency,e.realAmount)," ")),De=e=>s.h("div",{class:"page-size"},s.h("span",null,u.translate("show",e.language)),e.pageSizes.map(t=>s.h("button",{class:e.currentPageSize===t?"active":"",onClick:()=>e.changePageSize(t)},t))),Pe=({from:e,to:t,applyFilters:a,language:n})=>{let r,i;const o=()=>{e=r.value},d=()=>{t=i.value};return s.h("div",{class:"period"},s.h("div",{class:"period-content"},s.h("div",{class:"date-input"},s.h("vaadin-date-picker",{value:e,ref:l=>r=l,label:u.translate("from",n),onChange:o})),s.h("span",null,s.h("svg",{width:"24px",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},s.h("path",{d:"m21 11.75c0-.414-.336-.75-.75-.75h-16.5c-.414 0-.75.336-.75.75s.336.75.75.75h16.5c.414 0 .75-.336.75-.75z","fill-rule":"nonzero",fill:"#5d687b"}))),s.h("div",{class:"date-input"},s.h("vaadin-date-picker",{value:t,ref:l=>i=l,label:u.translate("to",n),onChange:d})),s.h("button",{class:"filter-btn",onClick:()=>a(e,t)},u.translate("filter",n))))},Oe=({source:e,language:t,dateformat:a})=>{const n=[{name:u.translate("transactionId",t)},{name:u.translate("date",t)},{name:u.translate("amount",t)},{name:u.translate("productType",t)},{name:u.translate("status",t)}];return s.h("table",null,s.h("thead",null,s.h("tr",null,n.map(r=>s.h("th",null,r.name)))),s.h("tbody",null,e.map(r=>s.h("tr",null,s.h("td",null,r.transId),s.h("td",null,Z.dateToFormatedString(new Date(r.created),a)),s.h("td",null,tt.format(r.currency,r.realAmount)," "),s.h("td",null,r.productType),s.h("td",null,s.h("span",{class:r.status.toLowerCase()},r.status))))))};function X(e,t){if(e){const a=document.createElement("style");a.innerHTML=t,e.appendChild(a)}}function G(e,t){const a=new URL(t);fetch(a.href).then(n=>n.text()).then(n=>{const r=document.createElement("style");r.innerHTML=n,e&&e.appendChild(r)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function Ue(e,t,a){if(window.emMessageBus){const n=document.createElement("style");window.emMessageBus.subscribe(t,r=>{n.innerHTML=r,e&&e.appendChild(n)})}}const We=':host{--activeButtonBackground:#7ec51e;--activeButtonFont:#002149;--hoverBackground:#ffffff;--background:#e4e6e8;--success:#7ac345;--heightScrollableContainer:400px;--borderColor:#d3d3d3;--borderColorButton:#c4c4c4;--textColor:#002554;--textColorHover:#7ac345;--errorColor:#c23b21;--loaderColor:#7ac345;--headerTableBackground:#cdcdcd;--borderTable:#dedede;--shadowBorderTable:#f1f1f1;--backgroundTable:#ffffff;font-family:Roboto, Arial, sans-serif;font-size:14px;color:var(--textColor);display:block;background-color:var(--background)}:host .wrapper{height:100%;padding:1rem}:host .types{display:flex;width:100%;gap:5px}:host .transaction-type{background:inherit;font-weight:600;padding:0.6rem 1.6rem;border:1px solid #6c757d;cursor:pointer}:host .transaction-type:hover{color:var(--activeButtonBackground);border-color:var(--activeButtonBackground);background:var(--hoverBackground)}:host .clicked{background-color:var(--activeButtonBackground);border-color:var(--activeButtonBackground)}:host .types-mobile{justify-content:center;margin-bottom:15px}:host .types-desktop{justify-content:flex-end;margin-bottom:3rem}:host .page-size{display:flex;width:100%;justify-content:flex-end;align-items:center}:host .page-size button{background:transparent;border:none;cursor:pointer;margin:0.4rem;width:2rem;height:2rem}:host .page-size button:hover{color:var(--textColorHover)}:host .page-size button.active{background:var(--activeButtonBackground);color:var(--textColor);font-weight:600;border-radius:0.4rem}:host .period{display:flex;width:100%;align-items:flex-end;justify-content:center;gap:10px;background:#f0f0f0;border-bottom:2px solid #e9e9e9;padding:1.6rem 0 0;margin-bottom:4rem}@media (max-width: 801px){:host .period{margin-bottom:0;flex-direction:column;align-items:stretch;width:auto;padding:1.4rem 2.8rem;box-shadow:0 4px 5px 0 rgba(90, 90, 90, 0.24)}}:host .period .range{color:var(--errorColor)}:host .period .filter-btn{height:40px;background:transparent;border:0.1rem solid var(--borderColorButton);min-width:12rem;max-width:17rem;cursor:pointer}@media (max-width: 801px){:host .period .filter-btn{max-width:none;min-width:none;margin-top:1rem}}:host .period .filter-btn:hover{border:none;background:var(--hoverBackground)}:host .period .duet-date__input{padding:7px 60px 7px 7px}:host .period+button{padding:9px 15px}:host .period-content{display:flex;flex-direction:row;width:100%;justify-content:center;align-items:flex-end;margin:0 auto 1.6rem}@media (max-width: 801px){:host .period-content{flex-direction:column;align-items:stretch}}:host .period-content span{height:40px;display:flex;align-items:center;justify-content:center}@media (max-width: 801px){:host .period-content span{display:none}}:host .period-content .filter-btn{margin-left:60px}@media (max-width: 801px){:host .period-content .filter-btn{margin-left:0}}:host .period-content .date-input{padding:0 4px}@media (max-width: 801px){:host .period-content .date-input{width:auto}:host .period-content .date-input:first-child{margin-bottom:0.5rem}}:host .period-content .date-input label{display:inline-block;margin-bottom:0.9rem}:host .period-content .date-input input{border:0.1rem solid var(--borderColor);box-sizing:border-box;border-radius:0.2rem}:host .pagination{display:flex;width:100%;justify-content:center;margin-top:1.5rem}:host .pagination button{cursor:pointer;border:none;background-color:var(--activeButtonBackground);color:#fff;opacity:0.5;padding:7px 12px}:host .pagination button:hover{opacity:1}:host .pagination button:focus{opacity:1}:host button.active{color:var(--activeButtonFont);background-color:var(--activeButtonBackground)}.mobile-filter-button{display:flex;justify-content:center;align-items:center;width:100%;height:2.8rem;background:inherit;border:1px solid var(--borderColorButton)}.mobile-filter-button img{height:50%;margin-right:0.5rem}.noData{display:flex;align-items:center;box-shadow:0 0.4rem 0.4rem rgba(0, 0, 0, 0.25);padding:1.1rem;border-radius:0.6rem}.noData span{margin-left:0.5rem}.table{height:var(--heightScrollableContainer);overflow-y:auto}.table .mobile-table{height:100%}.data-transaction{border-bottom:1px solid var(--borderColor);background-color:var(--hoverBackground);padding:0 20px;display:grid;grid-template-columns:repeat(2, 1fr)}.data-transaction .text-style-status{font-weight:600}.data-transaction .text-style-status .success{color:var(--success)}.data-transaction .text-style-status .error{color:var(--errorColor)}.data-transaction .text-style{text-align:end}.data-transaction .date{font-size:12px;display:flex;align-items:center}.loader{display:inline-block;position:absolute;width:80px;height:80px;top:calc(50% - 40px);left:calc(50% - 40px);z-index:100}.loader::before{content:"";position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(255, 255, 255, 0.6)}.loader div{position:absolute;width:6px;height:6px;background:var(--loaderColor);border-radius:50%;animation:loader 1.2s linear infinite}.loader div:nth-child(1){animation-delay:0s;top:37px;left:66px}.loader div:nth-child(2){animation-delay:-0.1s;top:22px;left:62px}.loader div:nth-child(3){animation-delay:-0.2s;top:11px;left:52px}.loader div:nth-child(4){animation-delay:-0.3s;top:7px;left:37px}.loader div:nth-child(5){animation-delay:-0.4s;top:11px;left:22px}.loader div:nth-child(6){animation-delay:-0.5s;top:22px;left:11px}.loader div:nth-child(7){animation-delay:-0.6s;top:37px;left:7px}.loader div:nth-child(8){animation-delay:-0.7s;top:52px;left:11px}.loader div:nth-child(9){animation-delay:-0.8s;top:62px;left:22px}.loader div:nth-child(10){animation-delay:-0.9s;top:66px;left:37px}.loader div:nth-child(11){animation-delay:-1s;top:62px;left:52px}.loader div:nth-child(12){animation-delay:-1.1s;top:52px;left:62px}@keyframes loader{0%,20%,80%,100%{transform:scale(1)}50%{transform:scale(1.5)}}.table thead th{position:sticky;top:0}table{border-collapse:collapse;width:100%}table th{padding:14px 24px;text-align:left;font-weight:600;color:var(--textColor);background:var(--headerTableBackground)}table td{padding:1rem 1.7rem;box-shadow:0 -1px 0 0 var(--shadowBorderTable) inset;border-bottom:0.1rem solid var(--borderTable);text-align:left;color:var(--textColor)}table tbody{background:var(--backgroundTable)}table .success{color:var(--success)}table .error{color:var(--errorColor)}vaadin-date-picker{min-width:320px}@media (max-width: 1261px){vaadin-date-picker{width:auto;min-width:auto}}@media (max-width: 801px){vaadin-date-picker{width:100%}}',Fe=We,et=class{constructor(e){s.registerInstance(this,e),this.pageSizes=[10,25,50],this.pagination=null,this.endpoint=void 0,this.session=void 0,this.language=u.defaultLanguage,this.userId=void 0,this.translationUrl=void 0,this.mobile=!1,this.clientStyling=null,this.clientStylingUrl=null,this.mbSource=void 0,this.dateFormat="",this.page=0,this.pageSize=this.pageSizes[0],this.showMobileFilter=!1,this.to=void 0,this.from=void 0,this.type="0",this.transactions=void 0,this.showLoader=!0}watchMultiple(){this.loadTransactions()}handleClientStylingChange(e,t){e!=t&&X(this.stylingContainer,this.clientStyling)}handleClientStylingUrlChange(e,t){e!=t&&this.clientStylingUrl&&G(this.stylingContainer,this.clientStylingUrl)}componentWillLoad(){return U(this,null,function*(){this.translationUrl&&(yield u.loadCustomTranslations(this.translationUrl)),this.loadTransactions()})}componentDidLoad(){this.stylingContainer&&(window.emMessageBus!=null?Ue(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&X(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&G(this.stylingContainer,this.clientStylingUrl)))}componentDidRender(){this.getComponentHeight()}getComponentHeight(){var e;if(this.mobile){let t=this.el.getBoundingClientRect().height-((e=this.el.shadowRoot.querySelector(".table"))===null||e===void 0?void 0:e.getBoundingClientRect().y);this.el.style.setProperty("--heightScrollableContainer",t+"px")}}setHeightTableProperty(){let e=this.getComponentHeight();this.el.style.setProperty("--heightScrollableContainer",e+"px")}changeTransactionsType(e){this.type=e}changePageSize(e){this.pageSize=e}prev(){var e;!((e=this.pagination)===null||e===void 0)&&e.previous&&this.page--}next(){var e;!((e=this.pagination)===null||e===void 0)&&e.next&&this.page++}applyFilters(e,t){this.from=e?new Date(e).toISOString():null,this.to=t?new Date(t).toISOString():null,this.loadTransactions()}showFilter(){this.showMobileFilter=!this.showMobileFilter}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe()}render(){var e;const t=s.getAssetPath("../assets/filter.svg"),a=s.getAssetPath("../assets/warning.svg");return s.h(s.Host,{key:"7346a5fe57d7bc3df7b3eb88f1a175b1bb4fed10"},this.showLoader?s.h(dt,null):"",s.h("div",{key:"f58cb9c38d88702255a3f63731c152f79cc7c071",class:"wrapper",ref:n=>this.stylingContainer=n},s.h("div",{key:"ff79d6a34f9e4615fecd81f12cec228e567317b3",class:{"types types-mobile":this.mobile,"types types-desktop":!this.mobile}},s.h("button",{key:"6c89c781087a854edb143e84fd684b72a6a5f8c1",class:"transaction-type "+(this.type==="0"?"clicked":""),onClick:()=>this.changeTransactionsType("0")},u.translate("deposit",this.language)),s.h("button",{key:"15d1f9c89a1ffdfcbc0d8e5ebf375bcd2129e2aa",class:"transaction-type "+(this.type==="1"?"clicked":""),onClick:()=>this.changeTransactionsType("1")},u.translate("withdrawals",this.language))),this.mobile?"":s.h(De,{language:this.language,pageSizes:this.pageSizes,currentPageSize:this.pageSize,changePageSize:n=>this.changePageSize(n)}),this.mobile?s.h("button",{class:"mobile-filter-button",onClick:()=>this.showFilter()},s.h("img",{src:t,alt:"Filter"}),u.translate("filter",this.language)):"",!this.mobile||this.showMobileFilter&&this.mobile?s.h(Pe,{language:this.language,applyFilters:(n,r)=>this.applyFilters(n,r)}):"",((e=this.transactions)===null||e===void 0?void 0:e.length)>0?s.h("div",{class:"table"},this.mobile?s.h("div",{class:"mobile-table"},this.transactions.map(n=>s.h(Me,Object.assign({},n,{dateformat:this.dateFormat})))):s.h(Oe,{source:this.transactions,language:this.language,dateformat:this.dateFormat})):s.h("div",{class:"noData"},s.h("img",{src:a,alt:"Warning"}),s.h("span",null,u.translate("noData",this.language))),s.h("div",{key:"5a0b142e2a02e0a24263a6b66ad36762c3934712",class:"pagination"},s.h("button",{key:"2dcc9efdc61ed362e4845da8088bd5de458bab0f",onClick:()=>this.prev()},"<"),s.h("button",{key:"acd4dfb619f6220bcbc9da932c6accf0e34c7df0",onClick:()=>this.next()},">"))))}loadTransactions(){return U(this,null,function*(){this.showLoader=!0;try{const e=`${this.endpoint}/v1/player/${this.userId}/transactions/banking?${this.getParams()}`,t=yield fetch(e,{headers:{"X-Sessionid":this.session,"Content-Type":"application/json"}});if(!t.ok){const n=yield t.text();throw new Error(n)}const a=yield t.json();this.pagination=a.pagination,this.transactions=a.transactions}catch(e){console.error(e)}finally{this.showLoader=!1}})}getParams(){var e,t;const a=new Date,n=(this.page*this.pageSize).toString(),r=(e=this.from)!==null&&e!==void 0?e:new Date(a.getFullYear(),a.getMonth(),1).toISOString(),i=(t=this.to)!==null&&t!==void 0?t:new Date(a.getFullYear(),a.getMonth()+1,0).toISOString();return`offset=${n}&endDate=${i}&startDate=${r}&type=${this.type}&limit=${this.pageSize}`}static get assetsDirs(){return["../assets"]}get el(){return s.getElement(this)}static get watchers(){return{page:["watchMultiple"],type:["watchMultiple"],session:["watchMultiple"],userId:["watchMultiple"],pageSize:["watchMultiple"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],showMobileFilter:["getComponentHeight"]}}};et.style=Fe;exports.user_transaction_history=et;
|