@everymatrix/player-account-controller 1.70.0 → 1.71.0
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-CYE3twI-.js → GeneralLogout-B0VQOyp8.js} +913 -934
- package/components/GeneralLogout-CwfC_imT.cjs +21 -0
- package/components/{GeneralLogout-CgxHUYZx.js → GeneralLogout-DRrs7YUm.js} +853 -874
- package/components/PlayerAccountBettingHistory-CbA15BLO.cjs +1 -0
- package/components/PlayerAccountBettingHistory-DGi2VOi2.js +329 -0
- package/components/PlayerAccountBettingHistory-DvdfSyU5.js +328 -0
- package/components/{PlayerAccountBiometrics-DrmVF6dX.js → PlayerAccountBiometrics-989PbzNq.js} +22 -22
- package/components/{PlayerAccountBiometrics-CEEVheLt.cjs → PlayerAccountBiometrics-BYO39i9p.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-CCk_4MyI.js → PlayerAccountBiometrics-BbEIrHI6.js} +22 -22
- package/components/{PlayerAccountClosure-B_xwOPds.js → PlayerAccountClosure-BBFEOrul.js} +17 -17
- package/components/{PlayerAccountClosure-UwL_V2IO.js → PlayerAccountClosure-BUzQEnPq.js} +17 -17
- package/components/{PlayerAccountClosure-DoZ91aH2.cjs → PlayerAccountClosure-DC11KouS.cjs} +1 -1
- package/components/{PlayerAccountController-BRsvfCew.js → PlayerAccountController-DICT_1Mq.js} +321 -321
- package/components/{PlayerAccountController-BVI65NyY.js → PlayerAccountController-DxP3Grn5.js} +316 -316
- package/components/PlayerAccountController-opn0Bqja.cjs +1 -0
- package/components/{PlayerAccountGamingLimits-C11On8aq.js → PlayerAccountGamingLimits-Bk0EXznK.js} +127 -127
- package/components/{PlayerAccountGamingLimits-B0QALjVi.js → PlayerAccountGamingLimits-CBpMsM8Z.js} +127 -127
- package/components/{PlayerAccountGamingLimits-BIXEO8qU.cjs → PlayerAccountGamingLimits-DD_Xvlpx.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-57Q5qtf8.js → PlayerAccountGamingLimitsConfirmationModal-5YMmAQlc.js} +30 -30
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CVJUvbSC.cjs → PlayerAccountGamingLimitsConfirmationModal-B5DdL-Qq.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CztJ5DKd.js → PlayerAccountGamingLimitsConfirmationModal-DayIeAhM.js} +30 -30
- package/components/{PlayerAccountGamingLimitsGroupEdit-CoayAtf0.js → PlayerAccountGamingLimitsGroupEdit-6QL1n5iL.js} +57 -55
- package/components/{PlayerAccountGamingLimitsGroupEdit-C40tSY9Z.js → PlayerAccountGamingLimitsGroupEdit-CmsApDIS.js} +57 -55
- package/components/PlayerAccountGamingLimitsGroupEdit-DrD_b8jP.cjs +2 -0
- package/components/{PlayerAccountGamingLimitsHistory2-BLK-Rk6N.js → PlayerAccountGamingLimitsHistory2-D088X_TM.js} +48 -48
- package/components/{PlayerAccountGamingLimitsHistory2-Br4h7_eS.js → PlayerAccountGamingLimitsHistory2-DWWqB8Fw.js} +46 -46
- package/components/{PlayerAccountGamingLimitsHistory2-CreFMkf_.cjs → PlayerAccountGamingLimitsHistory2-_1kGjygb.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-blI001Nx.js → PlayerAccountGamingLimitsInfoCard-CHsxYYfO.js} +83 -83
- package/components/{PlayerAccountGamingLimitsInfoCard-COS0sgRr.cjs → PlayerAccountGamingLimitsInfoCard-CV-3DIxV.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-D5Vpi7Gd.js → PlayerAccountGamingLimitsInfoCard-DS6v29qm.js} +83 -83
- package/components/{PlayerAccountGamingLimitsPage2Gm16-BAQqtUjc.js → PlayerAccountGamingLimitsPage2Gm16-BJDhlpPC.js} +131 -131
- package/components/{PlayerAccountGamingLimitsPage2Gm16-Cov3S01u.js → PlayerAccountGamingLimitsPage2Gm16-C0Dx6InH.js} +127 -127
- package/components/{PlayerAccountGamingLimitsPage2Gm16-Dpo-wqo-.cjs → PlayerAccountGamingLimitsPage2Gm16-vX1K2yKK.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-DTb6cpuT.js → PlayerAccountGamingLimitsPopup-DeOWwk-L.js} +42 -42
- package/components/{PlayerAccountGamingLimitsPopup-Dz9ROowj.js → PlayerAccountGamingLimitsPopup-Dox89ALX.js} +42 -42
- package/components/{PlayerAccountGamingLimitsPopup-CmNqLNxB.cjs → PlayerAccountGamingLimitsPopup-DySvpnhJ.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-CeTGUdpp.js → PlayerAccountGamingLimitsWrapper2-BWD0TwHO.js} +36 -36
- package/components/{PlayerAccountGamingLimitsWrapper2-LAdy0FnH.js → PlayerAccountGamingLimitsWrapper2-BZO3-swb.js} +36 -36
- package/components/{PlayerAccountGamingLimitsWrapper2-B0QUbGaJ.cjs → PlayerAccountGamingLimitsWrapper2-OQlLWMOB.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-DbBEBukz.js → PlayerAccountGeneralConfirmationModal-D_4csutn.js} +32 -32
- package/components/{PlayerAccountGeneralConfirmationModal-DHEkFez0.cjs → PlayerAccountGeneralConfirmationModal-DjEvyfLy.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-DzZ3ym_J.js → PlayerAccountGeneralConfirmationModal-v2SilW7s.js} +32 -32
- package/components/{PlayerAccountMenu-T7u8nYfI.js → PlayerAccountMenu-Bqz0aTF9.js} +32 -32
- package/components/{PlayerAccountMenu-_Qnpkznr.js → PlayerAccountMenu-DfZ0KdMV.js} +29 -29
- package/components/{PlayerAccountMenu-_Le7yvP5.cjs → PlayerAccountMenu-fW4OjslX.cjs} +1 -1
- package/components/{PlayerAccountModal-SsGlrcmj.cjs → PlayerAccountModal--0zxODF3.cjs} +1 -1
- package/components/{PlayerAccountModal-Cbpkb5P6.js → PlayerAccountModal-BMB4P21h.js} +42 -42
- package/components/{PlayerAccountModal-Co5a_OZZ.js → PlayerAccountModal-qMBtzz8T.js} +42 -42
- package/components/{PlayerAccountNotifications-B0Nsdovh.js → PlayerAccountNotifications-DEokeaby.js} +120 -120
- package/components/{PlayerAccountNotifications-aQgcZXcD.cjs → PlayerAccountNotifications-DL6whSl1.cjs} +1 -1
- package/components/{PlayerAccountNotifications-BeabE333.js → PlayerAccountNotifications-dsfZhiiz.js} +35 -35
- package/components/{PlayerAccountProductRestriction-BLkXP0pX.js → PlayerAccountProductRestriction-CUMqaF1v.js} +2314 -2312
- package/components/{PlayerAccountProductRestriction-4IgUKLLe.js → PlayerAccountProductRestriction-CWVVSi8x.js} +2328 -2326
- package/components/{PlayerAccountProductRestriction-BiiJjJv1.cjs → PlayerAccountProductRestriction-CoLHLqmO.cjs} +233 -233
- package/components/{PlayerAccountSelfExclusion-BdH1YfUH.js → PlayerAccountSelfExclusion-Bg6fMcuW.js} +987 -907
- package/components/{PlayerAccountSelfExclusion-aPMGQrTu.cjs → PlayerAccountSelfExclusion-C0pzhN8h.cjs} +80 -80
- package/components/{PlayerAccountSelfExclusion-CL4bEd37.js → PlayerAccountSelfExclusion-VeXWpNex.js} +658 -578
- package/components/{PlayerAccountTimeout-CNXL9TVu.js → PlayerAccountTimeout-CBkUYt_R.js} +75 -75
- package/components/{PlayerAccountTimeout-CJRir9eR.cjs → PlayerAccountTimeout-DxLd_9Bm.cjs} +1 -1
- package/components/{PlayerAccountTimeout-Cm_QTYSz.js → PlayerAccountTimeout-KFYdnWUq.js} +75 -75
- package/components/{PlayerAccountTransactionsHistory-C-xmag8z.cjs → PlayerAccountTransactionsHistory-522GR3Zn.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-D6QxHI6o.js → PlayerAccountTransactionsHistory-89-OFK31.js} +59 -59
- package/components/{PlayerAccountTransactionsHistory-DPpaRiaX.js → PlayerAccountTransactionsHistory-ILErgQeN.js} +59 -59
- package/components/{PlayerActiveBonuses-CaQNGq0m.js → PlayerActiveBonuses-A_DTddPa.js} +55 -55
- package/components/{PlayerActiveBonuses-DX872Zcz.js → PlayerActiveBonuses-B-c41WnQ.js} +48 -48
- package/components/{PlayerActiveBonuses-Dpef1XJD.cjs → PlayerActiveBonuses-dQOuytPa.cjs} +1 -1
- package/components/{PlayerBonusCard-Cu5bJlh_.js → PlayerBonusCard-BOGjlIcY.js} +81 -81
- package/components/{PlayerBonusCard-7dIqFpfg.cjs → PlayerBonusCard-BZXqOzco.cjs} +1 -1
- package/components/{PlayerBonusCard-ZY8S04oT.js → PlayerBonusCard-MaVyRkKh.js} +81 -81
- package/components/{PlayerBonusHistory-DqsmaMeU.js → PlayerBonusHistory-BVzfQOF4.js} +33 -33
- package/components/{PlayerBonusHistory-ppwY60rv.cjs → PlayerBonusHistory-CmOldup0.cjs} +1 -1
- package/components/{PlayerBonusHistory-BOE5Bgah.js → PlayerBonusHistory-jZkPl5bD.js} +33 -33
- package/components/{PlayerChangePassword-LgjKzYU1.cjs → PlayerChangePassword-CG0yyj8N.cjs} +1 -1
- package/components/{PlayerChangePassword-C2ZoKuCq.js → PlayerChangePassword-D2Cjc71i.js} +66 -66
- package/components/{PlayerChangePassword-ChwKfBC6.js → PlayerChangePassword-r4m8kv9p.js} +66 -66
- package/components/{PlayerDeposit-VLcz0tQH.js → PlayerDeposit-BzJtaOjD.js} +80 -80
- package/components/{PlayerDeposit-BPZ5wCAZ.js → PlayerDeposit-ORwoEnPn.js} +80 -80
- package/components/PlayerDeposit-XDLH1XV-.cjs +1 -0
- package/components/{PlayerGamingHistory-ShE-DHwW.js → PlayerGamingHistory-DGnLixnA.js} +97 -97
- package/components/{PlayerGamingHistory-DaYcMM-N.js → PlayerGamingHistory-JHdAKfaf.js} +88 -88
- package/components/{PlayerGamingHistory-Hs5LWwEP.cjs → PlayerGamingHistory-SuFKYHl5.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-DeNKdUgJ.js → PlayerPendingWithdrawals-CoPeWe82.js} +26 -26
- package/components/{PlayerPendingWithdrawals-BMwtFNQT.cjs → PlayerPendingWithdrawals-CrNEhXdS.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-go7okUzL.js → PlayerPendingWithdrawals-DErieGhw.js} +26 -26
- package/components/{PlayerProfileInfo-DFw4ourA.cjs → PlayerProfileInfo-Ba0P3Lmq.cjs} +1 -1
- package/components/{PlayerProfileInfo-bwbHpI6M.js → PlayerProfileInfo-Bks0ayNb.js} +66 -66
- package/components/{PlayerProfileInfo-C8q-cLYa.js → PlayerProfileInfo-uo5Nv4Pa.js} +66 -66
- package/components/{PlayerRealityCheck-Dr_ZpTwE.cjs → PlayerRealityCheck-CC8qTWId.cjs} +1 -1
- package/components/{PlayerRealityCheck-BGNjgzIq.js → PlayerRealityCheck-CwbP2nPJ.js} +44 -44
- package/components/{PlayerRealityCheck-C2w5S2fe.js → PlayerRealityCheck-mdL-U276.js} +43 -43
- package/components/{PlayerTransactionHistory-A-aVfyoc.js → PlayerTransactionHistory-BGf7fWPX.js} +19 -19
- package/components/{PlayerTransactionHistory-4VtQqLAc.cjs → PlayerTransactionHistory-CPYk3YFO.cjs} +1 -1
- package/components/{PlayerTransactionHistory-BFV_XJw9.js → PlayerTransactionHistory-Dz4JXQLP.js} +19 -19
- package/components/{PlayerWithdrawal-BMLgaRLc.cjs → PlayerWithdrawal-9DnL98EG.cjs} +1 -1
- package/components/{PlayerWithdrawal-B_wQZI_t.js → PlayerWithdrawal-C50d3wfA.js} +19 -19
- package/components/{PlayerWithdrawal-CTttZqLr.js → PlayerWithdrawal-DVd5ZFGK.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-DV3L45BU.js → checkbox-group-input_15-COX7DlDn.js} +2292 -2286
- package/stencil/{checkbox-group-input_15-CfJ8hwGl.cjs → checkbox-group-input_15-CfJS-1ti.cjs} +239 -239
- package/stencil/{checkbox-group-input_15-Nrj9GHCK.js → checkbox-group-input_15-DpaVaugQ.js} +2289 -2283
- package/stencil/index-13661b98-BDzather.js +611 -0
- package/stencil/index-13661b98-ChlFIQCB.cjs +1 -0
- package/stencil/index-13661b98-xRNcnGsM.js +595 -0
- package/stencil/index-1ef3a64c-B56pWkNP.js +572 -0
- package/stencil/index-1ef3a64c-drXhqjaW.cjs +1 -0
- package/stencil/index-1ef3a64c-fwHj5L8t.js +556 -0
- package/stencil/index-7c5e707a-CU3H8HVf.js +616 -0
- package/stencil/index-7c5e707a-DIWlFBom.js +643 -0
- package/stencil/index-7c5e707a-DS22ns-5.cjs +1 -0
- package/stencil/index-9c0f6c58-B8OJoZ2G.js +576 -0
- package/stencil/index-9c0f6c58-CEOt4FET.cjs +1 -0
- package/stencil/{index-9c0f6c58-BB5opCt9.js → index-9c0f6c58-z4XuR4dm.js} +197 -197
- package/stencil/index-b2193545-BekNYO1T.js +519 -0
- package/stencil/index-b2193545-BteAUmdh.cjs +1 -0
- package/stencil/index-b2193545-DfDFpDFs.js +503 -0
- package/stencil/{pam-change-password-B5GD5Hl4.js → pam-change-password-CY5-Aktx.js} +1 -1
- package/stencil/{pam-change-password-ubzmglA0.cjs → pam-change-password-CgkH4Jiz.cjs} +1 -1
- package/stencil/{pam-change-password-DMG1L_LG.js → pam-change-password-DjPvltNj.js} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-CHySnF1q.cjs → pam-change-password-f4a1e7e7-BqDw0WzC.cjs} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-DCoikg7H.js → pam-change-password-f4a1e7e7-CfFEjP0U.js} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-C1ItXOg5.js → pam-change-password-f4a1e7e7-G-vVNocT.js} +1 -1
- package/stencil/{player-kyc-verification-DYcPWwfi.cjs → player-kyc-verification-BEPum-yT.cjs} +1 -1
- package/stencil/{player-kyc-verification-CMAkNiAB.js → player-kyc-verification-BbcCYuiR.js} +1 -1
- package/stencil/{player-kyc-verification-p2WFnKBp.js → player-kyc-verification-Ca4iu4IA.js} +1 -1
- package/stencil/{ui-skeleton-GEqIXVxo.cjs → ui-skeleton-Bez-iF-R.cjs} +1 -1
- package/stencil/{ui-skeleton-mkMdvWYI.js → ui-skeleton-CScGJdv_.js} +2 -2
- package/stencil/{ui-skeleton-C_FDz0NJ.js → ui-skeleton-CnxOhYAT.js} +2 -2
- package/stencil/{ui-skeleton-ae35c6f2-BreM325l.js → ui-skeleton-ae35c6f2-Bl0_r9TX.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-e6Wte4qi.js → ui-skeleton-ae35c6f2-CXRVKjq-.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-CeNpgiKf.cjs → ui-skeleton-ae35c6f2-D37mmp9J.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-BjmaGgRK.js → user-deposit-withdrawal-B8kjiJ18.js} +1 -1
- package/stencil/{user-deposit-withdrawal-Du59X_-y.cjs → user-deposit-withdrawal-D2eMp5tL.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-D6SDVw3h.js → user-deposit-withdrawal-DZhlyIWQ.js} +1 -1
- package/stencil/user-transaction-history-3DGGL9dd.cjs +1 -0
- package/stencil/{user-transaction-history-7_yFZr3w.js → user-transaction-history-B1ZWITFg.js} +3 -1
- package/stencil/{user-transaction-history-Dpd_aKdj.js → user-transaction-history-lKr2wNoI.js} +3 -1
- package/components/GeneralLogout-Dzu2Sl-x.cjs +0 -21
- package/components/PlayerAccountBettingHistory-B0IsJ01N.js +0 -328
- package/components/PlayerAccountBettingHistory-BXBMy618.js +0 -329
- package/components/PlayerAccountBettingHistory-BtDZukYI.cjs +0 -1
- package/components/PlayerAccountController-BgXQNsvX.cjs +0 -1
- package/components/PlayerAccountGamingLimitsGroupEdit-Crtmu06d.cjs +0 -2
- package/components/PlayerDeposit-Dzg8Ltb1.cjs +0 -1
- package/stencil/index-13661b98-BCPnsSSE.js +0 -611
- package/stencil/index-13661b98-BUI3AeLv.cjs +0 -1
- package/stencil/index-13661b98-DffousLf.js +0 -595
- package/stencil/index-1ef3a64c-B5I86vac.js +0 -572
- package/stencil/index-1ef3a64c-DqUPq8OL.js +0 -556
- package/stencil/index-1ef3a64c-uiTzpR-U.cjs +0 -1
- package/stencil/index-7c5e707a-2AC9SnQ7.js +0 -616
- package/stencil/index-7c5e707a-BM4sfR0h.js +0 -643
- package/stencil/index-7c5e707a-Cw-c3Bke.cjs +0 -1
- package/stencil/index-9c0f6c58-DmOKHEVq.cjs +0 -1
- package/stencil/index-9c0f6c58-bxjYqwOi.js +0 -576
- package/stencil/index-b2193545-DQUvHUpa.cjs +0 -1
- package/stencil/index-b2193545-DoYU_tL8.js +0 -503
- package/stencil/index-b2193545-_I2wisuY.js +0 -519
- package/stencil/user-transaction-history-DZZT2rYX.cjs +0 -1
package/components/{PlayerAccountSelfExclusion-CL4bEd37.js → PlayerAccountSelfExclusion-VeXWpNex.js}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { a4 as
|
|
2
|
-
import { d as xe } from "./PlayerAccountProductRestriction-
|
|
3
|
-
import "../stencil/ui-skeleton-
|
|
4
|
-
import "./PlayerAccountGamingLimitsGroupEdit-
|
|
1
|
+
import { a4 as Ar, a5 as Cr, a as Pr, $ as kr, S as Dr, i as Tr, f as ee, c as Mr, s as Or, b as Ir, e as w, k as de, o as li, p as he, q as Fr, u as Nr, v as zr, w as Lr, x as Rr, z as so, A as Br, O as ro, d as O, t as ae, y as Ee, g as E, h as Ve, l as f, m as Tt, n as ue, P as Hr, r as $r, j as S, Z as Wt, B as Yr } from "./GeneralLogout-DRrs7YUm.js";
|
|
2
|
+
import { d as xe } from "./PlayerAccountProductRestriction-CUMqaF1v.js";
|
|
3
|
+
import "../stencil/ui-skeleton-CScGJdv_.js";
|
|
4
|
+
import "./PlayerAccountGamingLimitsGroupEdit-6QL1n5iL.js";
|
|
5
5
|
/**
|
|
6
6
|
* @license
|
|
7
7
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8
8
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9
9
|
*/
|
|
10
|
-
function be(o, t = "24.5.
|
|
10
|
+
function be(o, t = "24.5.10") {
|
|
11
11
|
Object.defineProperty(o, "version", {
|
|
12
12
|
get() {
|
|
13
13
|
return t;
|
|
@@ -40,7 +40,7 @@ be(jr);
|
|
|
40
40
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
41
41
|
*/
|
|
42
42
|
const kt = globalThis, Oi = kt.ShadowRoot && (kt.ShadyCSS === void 0 || kt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Ii = Symbol(), no = /* @__PURE__ */ new WeakMap();
|
|
43
|
-
let
|
|
43
|
+
let Fi = class {
|
|
44
44
|
constructor(t, e, i) {
|
|
45
45
|
if (this._$cssResult$ = !0, i !== Ii)
|
|
46
46
|
throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
@@ -59,7 +59,7 @@ let Ni = class {
|
|
|
59
59
|
return this.cssText;
|
|
60
60
|
}
|
|
61
61
|
};
|
|
62
|
-
const Vr = (o) => new
|
|
62
|
+
const Vr = (o) => new Fi(typeof o == "string" ? o : o + "", void 0, Ii), P = (o, ...t) => {
|
|
63
63
|
const e = o.length === 1 ? o[0] : t.reduce((i, s, r) => i + ((n) => {
|
|
64
64
|
if (n._$cssResult$ === !0)
|
|
65
65
|
return n.cssText;
|
|
@@ -67,7 +67,7 @@ const Vr = (o) => new Ni(typeof o == "string" ? o : o + "", void 0, Ii), P = (o,
|
|
|
67
67
|
return n;
|
|
68
68
|
throw Error("Value passed to 'css' function must be a 'css' function result: " + n + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
|
69
69
|
})(s) + o[r + 1], o[0]);
|
|
70
|
-
return new
|
|
70
|
+
return new Fi(e, o, Ii);
|
|
71
71
|
}, Zo = (o, t) => {
|
|
72
72
|
if (Oi)
|
|
73
73
|
o.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
@@ -87,7 +87,7 @@ const Vr = (o) => new Ni(typeof o == "string" ? o : o + "", void 0, Ii), P = (o,
|
|
|
87
87
|
* Copyright 2017 Google LLC
|
|
88
88
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
89
89
|
*/
|
|
90
|
-
const { is: Ur, defineProperty: Wr, getOwnPropertyDescriptor: qr, getOwnPropertyNames: Kr, getOwnPropertySymbols: Gr, getPrototypeOf: Jr } = Object, Bt = globalThis, lo = Bt.trustedTypes, Xr = lo ? lo.emptyScript : "", Zr = Bt.reactiveElementPolyfillSupport,
|
|
90
|
+
const { is: Ur, defineProperty: Wr, getOwnPropertyDescriptor: qr, getOwnPropertyNames: Kr, getOwnPropertySymbols: Gr, getPrototypeOf: Jr } = Object, Bt = globalThis, lo = Bt.trustedTypes, Xr = lo ? lo.emptyScript : "", Zr = Bt.reactiveElementPolyfillSupport, ut = (o, t) => o, ci = { toAttribute(o, t) {
|
|
91
91
|
switch (t) {
|
|
92
92
|
case Boolean:
|
|
93
93
|
o = o ? Xr : null;
|
|
@@ -115,7 +115,7 @@ const { is: Ur, defineProperty: Wr, getOwnPropertyDescriptor: qr, getOwnProperty
|
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
return e;
|
|
118
|
-
} }, Qo = (o, t) => !Ur(o, t), co = { attribute: !0, type: String, converter: ci, reflect: !1,
|
|
118
|
+
} }, Qo = (o, t) => !Ur(o, t), co = { attribute: !0, type: String, converter: ci, reflect: !1, hasChanged: Qo };
|
|
119
119
|
Symbol.metadata ??= Symbol("metadata"), Bt.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
|
|
120
120
|
class We extends HTMLElement {
|
|
121
121
|
static addInitializer(t) {
|
|
@@ -125,7 +125,7 @@ class We extends HTMLElement {
|
|
|
125
125
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
126
126
|
}
|
|
127
127
|
static createProperty(t, e = co) {
|
|
128
|
-
if (e.state && (e.attribute = !1), this._$Ei(), this.
|
|
128
|
+
if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
|
|
129
129
|
const i = Symbol(), s = this.getPropertyDescriptor(t, i, e);
|
|
130
130
|
s !== void 0 && Wr(this.prototype, t, s);
|
|
131
131
|
}
|
|
@@ -136,24 +136,26 @@ class We extends HTMLElement {
|
|
|
136
136
|
}, set(n) {
|
|
137
137
|
this[e] = n;
|
|
138
138
|
} };
|
|
139
|
-
return { get
|
|
139
|
+
return { get() {
|
|
140
|
+
return s?.call(this);
|
|
141
|
+
}, set(n) {
|
|
140
142
|
const a = s?.call(this);
|
|
141
|
-
r
|
|
143
|
+
r.call(this, n), this.requestUpdate(t, a, i);
|
|
142
144
|
}, configurable: !0, enumerable: !0 };
|
|
143
145
|
}
|
|
144
146
|
static getPropertyOptions(t) {
|
|
145
147
|
return this.elementProperties.get(t) ?? co;
|
|
146
148
|
}
|
|
147
149
|
static _$Ei() {
|
|
148
|
-
if (this.hasOwnProperty(
|
|
150
|
+
if (this.hasOwnProperty(ut("elementProperties")))
|
|
149
151
|
return;
|
|
150
152
|
const t = Jr(this);
|
|
151
153
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
152
154
|
}
|
|
153
155
|
static finalize() {
|
|
154
|
-
if (this.hasOwnProperty(
|
|
156
|
+
if (this.hasOwnProperty(ut("finalized")))
|
|
155
157
|
return;
|
|
156
|
-
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(
|
|
158
|
+
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(ut("properties"))) {
|
|
157
159
|
const e = this.properties, i = [...Kr(e), ...Gr(e)];
|
|
158
160
|
for (const s of i)
|
|
159
161
|
this.createProperty(s, e[s]);
|
|
@@ -219,7 +221,7 @@ class We extends HTMLElement {
|
|
|
219
221
|
attributeChangedCallback(t, e, i) {
|
|
220
222
|
this._$AK(t, i);
|
|
221
223
|
}
|
|
222
|
-
_$
|
|
224
|
+
_$EC(t, e) {
|
|
223
225
|
const i = this.constructor.elementProperties.get(t), s = this.constructor._$Eu(t, i);
|
|
224
226
|
if (s !== void 0 && i.reflect === !0) {
|
|
225
227
|
const r = (i.converter?.toAttribute !== void 0 ? i.converter : ci).toAttribute(e, i.type);
|
|
@@ -230,22 +232,21 @@ class We extends HTMLElement {
|
|
|
230
232
|
const i = this.constructor, s = i._$Eh.get(t);
|
|
231
233
|
if (s !== void 0 && this._$Em !== s) {
|
|
232
234
|
const r = i.getPropertyOptions(s), n = typeof r.converter == "function" ? { fromAttribute: r.converter } : r.converter?.fromAttribute !== void 0 ? r.converter : ci;
|
|
233
|
-
this._$Em = s, this[s] = n.fromAttribute(e, r.type)
|
|
235
|
+
this._$Em = s, this[s] = n.fromAttribute(e, r.type), this._$Em = null;
|
|
234
236
|
}
|
|
235
237
|
}
|
|
236
238
|
requestUpdate(t, e, i) {
|
|
237
239
|
if (t !== void 0) {
|
|
238
|
-
|
|
239
|
-
if (i ??= s.getPropertyOptions(t), !((i.hasChanged ?? Qo)(r, e) || i.useDefault && i.reflect && r === this._$Ej?.get(t) && !this.hasAttribute(s._$Eu(t, i))))
|
|
240
|
+
if (i ??= this.constructor.getPropertyOptions(t), !(i.hasChanged ?? Qo)(this[t], e))
|
|
240
241
|
return;
|
|
241
|
-
this.
|
|
242
|
+
this.P(t, e, i);
|
|
242
243
|
}
|
|
243
|
-
this.isUpdatePending === !1 && (this._$ES = this._$
|
|
244
|
+
this.isUpdatePending === !1 && (this._$ES = this._$ET());
|
|
244
245
|
}
|
|
245
|
-
|
|
246
|
-
|
|
246
|
+
P(t, e, i) {
|
|
247
|
+
this._$AL.has(t) || this._$AL.set(t, e), i.reflect === !0 && this._$Em !== t && (this._$Ej ??= /* @__PURE__ */ new Set()).add(t);
|
|
247
248
|
}
|
|
248
|
-
async _$
|
|
249
|
+
async _$ET() {
|
|
249
250
|
this.isUpdatePending = !0;
|
|
250
251
|
try {
|
|
251
252
|
await this._$ES;
|
|
@@ -269,17 +270,15 @@ class We extends HTMLElement {
|
|
|
269
270
|
}
|
|
270
271
|
const i = this.constructor.elementProperties;
|
|
271
272
|
if (i.size > 0)
|
|
272
|
-
for (const [s, r] of i)
|
|
273
|
-
|
|
274
|
-
n !== !0 || this._$AL.has(s) || a === void 0 || this.C(s, void 0, r, a);
|
|
275
|
-
}
|
|
273
|
+
for (const [s, r] of i)
|
|
274
|
+
r.wrapped !== !0 || this._$AL.has(s) || this[s] === void 0 || this.P(s, this[s], r);
|
|
276
275
|
}
|
|
277
276
|
let t = !1;
|
|
278
277
|
const e = this._$AL;
|
|
279
278
|
try {
|
|
280
|
-
t = this.shouldUpdate(e), t ? (this.willUpdate(e), this._$EO?.forEach((i) => i.hostUpdate?.()), this.update(e)) : this._$
|
|
279
|
+
t = this.shouldUpdate(e), t ? (this.willUpdate(e), this._$EO?.forEach((i) => i.hostUpdate?.()), this.update(e)) : this._$EU();
|
|
281
280
|
} catch (i) {
|
|
282
|
-
throw t = !1, this._$
|
|
281
|
+
throw t = !1, this._$EU(), i;
|
|
283
282
|
}
|
|
284
283
|
t && this._$AE(e);
|
|
285
284
|
}
|
|
@@ -288,7 +287,7 @@ class We extends HTMLElement {
|
|
|
288
287
|
_$AE(t) {
|
|
289
288
|
this._$EO?.forEach((e) => e.hostUpdated?.()), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
|
|
290
289
|
}
|
|
291
|
-
_$
|
|
290
|
+
_$EU() {
|
|
292
291
|
this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
|
|
293
292
|
}
|
|
294
293
|
get updateComplete() {
|
|
@@ -301,24 +300,24 @@ class We extends HTMLElement {
|
|
|
301
300
|
return !0;
|
|
302
301
|
}
|
|
303
302
|
update(t) {
|
|
304
|
-
this._$
|
|
303
|
+
this._$Ej &&= this._$Ej.forEach((e) => this._$EC(e, this[e])), this._$EU();
|
|
305
304
|
}
|
|
306
305
|
updated(t) {
|
|
307
306
|
}
|
|
308
307
|
firstUpdated(t) {
|
|
309
308
|
}
|
|
310
309
|
}
|
|
311
|
-
We.elementStyles = [], We.shadowRootOptions = { mode: "open" }, We[
|
|
310
|
+
We.elementStyles = [], We.shadowRootOptions = { mode: "open" }, We[ut("elementProperties")] = /* @__PURE__ */ new Map(), We[ut("finalized")] = /* @__PURE__ */ new Map(), Zr?.({ ReactiveElement: We }), (Bt.reactiveElementVersions ??= []).push("2.0.4");
|
|
312
311
|
/**
|
|
313
312
|
* @license
|
|
314
313
|
* Copyright 2017 Google LLC
|
|
315
314
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
316
315
|
*/
|
|
317
|
-
const
|
|
318
|
-
\f\r]`, ot = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ho = /-->/g, po = />/g,
|
|
319
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), fo = /'/g, mo = /"/g, is = /^(?:script|style|textarea|title)$/i, Xe = Symbol.for("lit-noChange"), W = Symbol.for("lit-nothing"), _o = /* @__PURE__ */ new WeakMap(),
|
|
316
|
+
const Ni = globalThis, Mt = Ni.trustedTypes, uo = Mt ? Mt.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, es = "$lit$", De = `lit$${Math.random().toFixed(9).slice(2)}$`, ts = "?" + De, Qr = `<${ts}>`, He = document, ht = () => He.createComment(""), pt = (o) => o === null || typeof o != "object" && typeof o != "function", zi = Array.isArray, en = (o) => zi(o) || typeof o?.[Symbol.iterator] == "function", qt = `[
|
|
317
|
+
\f\r]`, ot = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ho = /-->/g, po = />/g, Ne = RegExp(`>|${qt}(?:([^\\s"'>=/]+)(${qt}*=${qt}*(?:[^
|
|
318
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), fo = /'/g, mo = /"/g, is = /^(?:script|style|textarea|title)$/i, Xe = Symbol.for("lit-noChange"), W = Symbol.for("lit-nothing"), _o = /* @__PURE__ */ new WeakMap(), ze = He.createTreeWalker(He, 129);
|
|
320
319
|
function os(o, t) {
|
|
321
|
-
if (!
|
|
320
|
+
if (!zi(o) || !o.hasOwnProperty("raw"))
|
|
322
321
|
throw Error("invalid template strings array");
|
|
323
322
|
return uo !== void 0 ? uo.createHTML(t) : t;
|
|
324
323
|
}
|
|
@@ -327,11 +326,11 @@ const tn = (o, t) => {
|
|
|
327
326
|
let s, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = ot;
|
|
328
327
|
for (let a = 0; a < e; a++) {
|
|
329
328
|
const l = o[a];
|
|
330
|
-
let c,
|
|
331
|
-
for (; h < l.length && (n.lastIndex = h,
|
|
332
|
-
h = n.lastIndex, n === ot ?
|
|
333
|
-
const m = n ===
|
|
334
|
-
r += n === ot ? l + Qr :
|
|
329
|
+
let c, u, d = -1, h = 0;
|
|
330
|
+
for (; h < l.length && (n.lastIndex = h, u = n.exec(l), u !== null); )
|
|
331
|
+
h = n.lastIndex, n === ot ? u[1] === "!--" ? n = ho : u[1] !== void 0 ? n = po : u[2] !== void 0 ? (is.test(u[2]) && (s = RegExp("</" + u[2], "g")), n = Ne) : u[3] !== void 0 && (n = Ne) : n === Ne ? u[0] === ">" ? (n = s ?? ot, d = -1) : u[1] === void 0 ? d = -2 : (d = n.lastIndex - u[2].length, c = u[1], n = u[3] === void 0 ? Ne : u[3] === '"' ? mo : fo) : n === mo || n === fo ? n = Ne : n === ho || n === po ? n = ot : (n = Ne, s = void 0);
|
|
332
|
+
const m = n === Ne && o[a + 1].startsWith("/>") ? " " : "";
|
|
333
|
+
r += n === ot ? l + Qr : d >= 0 ? (i.push(c), l.slice(0, d) + es + l.slice(d) + De + m) : l + De + (d === -2 ? a : m);
|
|
335
334
|
}
|
|
336
335
|
return [os(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
|
|
337
336
|
};
|
|
@@ -340,36 +339,36 @@ class ft {
|
|
|
340
339
|
let s;
|
|
341
340
|
this.parts = [];
|
|
342
341
|
let r = 0, n = 0;
|
|
343
|
-
const a = t.length - 1, l = this.parts, [c,
|
|
344
|
-
if (this.el = ft.createElement(c, i),
|
|
345
|
-
const
|
|
346
|
-
|
|
342
|
+
const a = t.length - 1, l = this.parts, [c, u] = tn(t, e);
|
|
343
|
+
if (this.el = ft.createElement(c, i), ze.currentNode = this.el.content, e === 2 || e === 3) {
|
|
344
|
+
const d = this.el.content.firstChild;
|
|
345
|
+
d.replaceWith(...d.childNodes);
|
|
347
346
|
}
|
|
348
|
-
for (; (s =
|
|
347
|
+
for (; (s = ze.nextNode()) !== null && l.length < a; ) {
|
|
349
348
|
if (s.nodeType === 1) {
|
|
350
349
|
if (s.hasAttributes())
|
|
351
|
-
for (const
|
|
352
|
-
if (
|
|
353
|
-
const h =
|
|
354
|
-
l.push({ type: 1, index: r, name: g[2], strings: m, ctor: g[1] === "." ? sn : g[1] === "?" ? rn : g[1] === "@" ? nn : Ht }), s.removeAttribute(
|
|
350
|
+
for (const d of s.getAttributeNames())
|
|
351
|
+
if (d.endsWith(es)) {
|
|
352
|
+
const h = u[n++], m = s.getAttribute(d).split(De), g = /([.?@])?(.*)/.exec(h);
|
|
353
|
+
l.push({ type: 1, index: r, name: g[2], strings: m, ctor: g[1] === "." ? sn : g[1] === "?" ? rn : g[1] === "@" ? nn : Ht }), s.removeAttribute(d);
|
|
355
354
|
} else
|
|
356
|
-
|
|
355
|
+
d.startsWith(De) && (l.push({ type: 6, index: r }), s.removeAttribute(d));
|
|
357
356
|
if (is.test(s.tagName)) {
|
|
358
|
-
const
|
|
357
|
+
const d = s.textContent.split(De), h = d.length - 1;
|
|
359
358
|
if (h > 0) {
|
|
360
359
|
s.textContent = Mt ? Mt.emptyScript : "";
|
|
361
360
|
for (let m = 0; m < h; m++)
|
|
362
|
-
s.append(
|
|
363
|
-
s.append(
|
|
361
|
+
s.append(d[m], ht()), ze.nextNode(), l.push({ type: 2, index: ++r });
|
|
362
|
+
s.append(d[h], ht());
|
|
364
363
|
}
|
|
365
364
|
}
|
|
366
365
|
} else if (s.nodeType === 8)
|
|
367
366
|
if (s.data === ts)
|
|
368
367
|
l.push({ type: 2, index: r });
|
|
369
368
|
else {
|
|
370
|
-
let
|
|
371
|
-
for (; (
|
|
372
|
-
l.push({ type: 7, index: r }),
|
|
369
|
+
let d = -1;
|
|
370
|
+
for (; (d = s.data.indexOf(De, d + 1)) !== -1; )
|
|
371
|
+
l.push({ type: 7, index: r }), d += De.length - 1;
|
|
373
372
|
}
|
|
374
373
|
r++;
|
|
375
374
|
}
|
|
@@ -398,16 +397,16 @@ class on {
|
|
|
398
397
|
}
|
|
399
398
|
u(t) {
|
|
400
399
|
const { el: { content: e }, parts: i } = this._$AD, s = (t?.creationScope ?? He).importNode(e, !0);
|
|
401
|
-
|
|
402
|
-
let r =
|
|
400
|
+
ze.currentNode = s;
|
|
401
|
+
let r = ze.nextNode(), n = 0, a = 0, l = i[0];
|
|
403
402
|
for (; l !== void 0; ) {
|
|
404
403
|
if (n === l.index) {
|
|
405
404
|
let c;
|
|
406
405
|
l.type === 2 ? c = new xt(r, r.nextSibling, this, t) : l.type === 1 ? c = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (c = new an(r, this, t)), this._$AV.push(c), l = i[++a];
|
|
407
406
|
}
|
|
408
|
-
n !== l?.index && (r =
|
|
407
|
+
n !== l?.index && (r = ze.nextNode(), n++);
|
|
409
408
|
}
|
|
410
|
-
return
|
|
409
|
+
return ze.currentNode = He, s;
|
|
411
410
|
}
|
|
412
411
|
p(t) {
|
|
413
412
|
let e = 0;
|
|
@@ -459,7 +458,7 @@ class xt {
|
|
|
459
458
|
return e === void 0 && _o.set(t.strings, e = new ft(t)), e;
|
|
460
459
|
}
|
|
461
460
|
k(t) {
|
|
462
|
-
|
|
461
|
+
zi(this._$AH) || (this._$AH = [], this._$AR());
|
|
463
462
|
const e = this._$AH;
|
|
464
463
|
let i, s = 0;
|
|
465
464
|
for (const r of t)
|
|
@@ -544,8 +543,8 @@ class an {
|
|
|
544
543
|
Ze(this, t);
|
|
545
544
|
}
|
|
546
545
|
}
|
|
547
|
-
const ln =
|
|
548
|
-
ln?.(ft, xt), (
|
|
546
|
+
const ln = Ni.litHtmlPolyfillSupport;
|
|
547
|
+
ln?.(ft, xt), (Ni.litHtmlVersions ??= []).push("3.2.1");
|
|
549
548
|
const cn = (o, t, e) => {
|
|
550
549
|
const i = e?.renderBefore ?? t;
|
|
551
550
|
let s = i._$litPart$;
|
|
@@ -560,7 +559,6 @@ const cn = (o, t, e) => {
|
|
|
560
559
|
* Copyright 2017 Google LLC
|
|
561
560
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
562
561
|
*/
|
|
563
|
-
const Li = globalThis;
|
|
564
562
|
class qe extends We {
|
|
565
563
|
constructor() {
|
|
566
564
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
@@ -583,16 +581,16 @@ class qe extends We {
|
|
|
583
581
|
return Xe;
|
|
584
582
|
}
|
|
585
583
|
}
|
|
586
|
-
qe._$litElement$ = !0, qe.finalized = !0,
|
|
587
|
-
const
|
|
588
|
-
|
|
589
|
-
(
|
|
584
|
+
qe._$litElement$ = !0, qe.finalized = !0, globalThis.litElementHydrateSupport?.({ LitElement: qe });
|
|
585
|
+
const un = globalThis.litElementPolyfillSupport;
|
|
586
|
+
un?.({ LitElement: qe });
|
|
587
|
+
(globalThis.litElementVersions ??= []).push("4.1.1");
|
|
590
588
|
/**
|
|
591
589
|
* @license
|
|
592
590
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
593
591
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
594
592
|
*/
|
|
595
|
-
const
|
|
593
|
+
const dn = (o) => class extends o {
|
|
596
594
|
static get properties() {
|
|
597
595
|
return {
|
|
598
596
|
/**
|
|
@@ -631,7 +629,7 @@ const un = (o) => class extends o {
|
|
|
631
629
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
632
630
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
633
631
|
*/
|
|
634
|
-
const ss = [],
|
|
632
|
+
const ss = [], ui = /* @__PURE__ */ new Set(), Li = /* @__PURE__ */ new Set();
|
|
635
633
|
function rs(o) {
|
|
636
634
|
return o && Object.prototype.hasOwnProperty.call(o, "__themes");
|
|
637
635
|
}
|
|
@@ -639,7 +637,7 @@ function hn(o) {
|
|
|
639
637
|
return rs(customElements.get(o));
|
|
640
638
|
}
|
|
641
639
|
function pn(o = []) {
|
|
642
|
-
return [o].flat(1 / 0).filter((t) => t instanceof
|
|
640
|
+
return [o].flat(1 / 0).filter((t) => t instanceof Fi ? !0 : (console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."), !1));
|
|
643
641
|
}
|
|
644
642
|
function ns(o, t) {
|
|
645
643
|
return (o || "").split(" ").some((e) => new RegExp(`^${e.split("*").join(".*")}$`, "u").test(t));
|
|
@@ -665,9 +663,9 @@ function mn(o) {
|
|
|
665
663
|
}
|
|
666
664
|
}
|
|
667
665
|
function _n(o) {
|
|
668
|
-
|
|
666
|
+
ui.forEach((t) => {
|
|
669
667
|
const e = t.deref();
|
|
670
|
-
e instanceof o ? mn(e) : e ||
|
|
668
|
+
e instanceof o ? mn(e) : e || ui.delete(t);
|
|
671
669
|
});
|
|
672
670
|
}
|
|
673
671
|
function ls(o) {
|
|
@@ -677,7 +675,7 @@ function ls(o) {
|
|
|
677
675
|
const t = o.prototype._template;
|
|
678
676
|
t.content.getElementById(Ot).textContent = as(o.getStylesForThis());
|
|
679
677
|
}
|
|
680
|
-
|
|
678
|
+
Li.forEach((t) => {
|
|
681
679
|
const e = customElements.get(t);
|
|
682
680
|
e !== o && e.prototype instanceof o && ls(e);
|
|
683
681
|
});
|
|
@@ -694,7 +692,7 @@ function L(o, t, e = {}) {
|
|
|
694
692
|
styles: t,
|
|
695
693
|
include: e.include,
|
|
696
694
|
moduleId: e.moduleId
|
|
697
|
-
}), o &&
|
|
695
|
+
}), o && Li.forEach((i) => {
|
|
698
696
|
if (ns(o, i) && hn(i)) {
|
|
699
697
|
const s = customElements.get(i);
|
|
700
698
|
gn(s, t) ? console.warn(`Registering styles that already exist for ${i}`) : (!window.Vaadin || !window.Vaadin.suppressPostFinalizeStylesWarning) && console.warn(
|
|
@@ -703,7 +701,7 @@ function L(o, t, e = {}) {
|
|
|
703
701
|
}
|
|
704
702
|
});
|
|
705
703
|
}
|
|
706
|
-
function
|
|
704
|
+
function di() {
|
|
707
705
|
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() : ss;
|
|
708
706
|
}
|
|
709
707
|
function bn(o = "") {
|
|
@@ -713,30 +711,30 @@ function bn(o = "") {
|
|
|
713
711
|
function cs(o) {
|
|
714
712
|
const t = [];
|
|
715
713
|
return o.include && [].concat(o.include).forEach((e) => {
|
|
716
|
-
const i =
|
|
714
|
+
const i = di().find((s) => s.moduleId === e);
|
|
717
715
|
i ? t.push(...cs(i), ...i.styles) : console.warn(`Included moduleId ${e} not found in style registry`);
|
|
718
716
|
}, o.styles), t;
|
|
719
717
|
}
|
|
720
718
|
function vn(o) {
|
|
721
|
-
const t = `${o}-default-theme`, e =
|
|
719
|
+
const t = `${o}-default-theme`, e = di().filter((i) => i.moduleId !== t && ns(i.themeFor, o)).map((i) => ({
|
|
722
720
|
...i,
|
|
723
721
|
// Prepend styles from included themes
|
|
724
722
|
styles: [...cs(i), ...i.styles],
|
|
725
723
|
// Map moduleId to includePriority
|
|
726
724
|
includePriority: bn(i.moduleId)
|
|
727
725
|
})).sort((i, s) => s.includePriority - i.includePriority);
|
|
728
|
-
return e.length > 0 ? e :
|
|
726
|
+
return e.length > 0 ? e : di().filter((i) => i.moduleId === t);
|
|
729
727
|
}
|
|
730
|
-
const $e = (o) => class extends
|
|
728
|
+
const $e = (o) => class extends dn(o) {
|
|
731
729
|
constructor() {
|
|
732
|
-
super(),
|
|
730
|
+
super(), ui.add(new WeakRef(this));
|
|
733
731
|
}
|
|
734
732
|
/**
|
|
735
733
|
* Covers PolymerElement based component styling
|
|
736
734
|
* @protected
|
|
737
735
|
*/
|
|
738
736
|
static finalize() {
|
|
739
|
-
if (super.finalize(), this.is &&
|
|
737
|
+
if (super.finalize(), this.is && Li.add(this.is), this.elementStyles)
|
|
740
738
|
return;
|
|
741
739
|
const e = this.prototype._template;
|
|
742
740
|
!e || rs(this) || fn(this.getStylesForThis(), e);
|
|
@@ -1026,7 +1024,7 @@ const Sn = P`
|
|
|
1026
1024
|
}
|
|
1027
1025
|
`;
|
|
1028
1026
|
tt("color-props", Sn);
|
|
1029
|
-
const
|
|
1027
|
+
const An = P`
|
|
1030
1028
|
[theme~='dark'] {
|
|
1031
1029
|
/* Base (background) */
|
|
1032
1030
|
--lumo-base-color: hsl(214, 35%, 21%);
|
|
@@ -1145,13 +1143,13 @@ const Cn = P`
|
|
|
1145
1143
|
background: transparent;
|
|
1146
1144
|
}
|
|
1147
1145
|
`;
|
|
1148
|
-
L("",
|
|
1146
|
+
L("", An, { moduleId: "lumo-color" });
|
|
1149
1147
|
/**
|
|
1150
1148
|
* @license
|
|
1151
1149
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1152
1150
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1153
1151
|
*/
|
|
1154
|
-
const
|
|
1152
|
+
const Cn = P`
|
|
1155
1153
|
:host {
|
|
1156
1154
|
/* prettier-ignore */
|
|
1157
1155
|
--lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
@@ -1265,13 +1263,13 @@ const An = P`
|
|
|
1265
1263
|
}
|
|
1266
1264
|
`;
|
|
1267
1265
|
L("", Pn, { moduleId: "lumo-typography" });
|
|
1268
|
-
tt("typography-props",
|
|
1266
|
+
tt("typography-props", Cn);
|
|
1269
1267
|
/**
|
|
1270
1268
|
* @license
|
|
1271
1269
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1272
1270
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1273
1271
|
*/
|
|
1274
|
-
const
|
|
1272
|
+
const us = P`
|
|
1275
1273
|
:host {
|
|
1276
1274
|
top: var(--lumo-space-m);
|
|
1277
1275
|
right: var(--lumo-space-m);
|
|
@@ -1337,13 +1335,13 @@ const ds = P`
|
|
|
1337
1335
|
}
|
|
1338
1336
|
}
|
|
1339
1337
|
`;
|
|
1340
|
-
L("",
|
|
1338
|
+
L("", us, { moduleId: "lumo-overlay" });
|
|
1341
1339
|
/**
|
|
1342
1340
|
* @license
|
|
1343
1341
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1344
1342
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1345
1343
|
*/
|
|
1346
|
-
const
|
|
1344
|
+
const ds = P`
|
|
1347
1345
|
:host([opening]),
|
|
1348
1346
|
:host([closing]) {
|
|
1349
1347
|
animation: 0.14s lumo-overlay-dummy-animation;
|
|
@@ -1374,7 +1372,7 @@ const us = P`
|
|
|
1374
1372
|
}
|
|
1375
1373
|
}
|
|
1376
1374
|
`;
|
|
1377
|
-
L("",
|
|
1375
|
+
L("", ds, { moduleId: "lumo-menu-overlay-core" });
|
|
1378
1376
|
const kn = P`
|
|
1379
1377
|
/* Small viewport (bottom sheet) styles */
|
|
1380
1378
|
/* Use direct media queries instead of the state attributes ([phone] and [fullscreen]) provided by the elements */
|
|
@@ -1437,7 +1435,7 @@ const kn = P`
|
|
|
1437
1435
|
transform: translateY(150%);
|
|
1438
1436
|
}
|
|
1439
1437
|
}
|
|
1440
|
-
`, hs = [
|
|
1438
|
+
`, hs = [us, ds, kn];
|
|
1441
1439
|
L("", hs, { moduleId: "lumo-menu-overlay" });
|
|
1442
1440
|
const Dn = P`
|
|
1443
1441
|
[part='overlay'] {
|
|
@@ -2700,7 +2698,7 @@ const In = P`
|
|
|
2700
2698
|
L("", ms, {
|
|
2701
2699
|
moduleId: "lumo-input-field-shared-styles"
|
|
2702
2700
|
});
|
|
2703
|
-
const
|
|
2701
|
+
const Fn = P`
|
|
2704
2702
|
[part='toggle-button']::before {
|
|
2705
2703
|
content: var(--lumo-icons-calendar);
|
|
2706
2704
|
}
|
|
@@ -2723,7 +2721,7 @@ const Nn = P`
|
|
|
2723
2721
|
--_lumo-text-field-overflow-mask-image: none;
|
|
2724
2722
|
}
|
|
2725
2723
|
`;
|
|
2726
|
-
L("vaadin-date-picker", [ms,
|
|
2724
|
+
L("vaadin-date-picker", [ms, Fn], { moduleId: "lumo-date-picker" });
|
|
2727
2725
|
/**
|
|
2728
2726
|
@license
|
|
2729
2727
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -2745,9 +2743,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2745
2743
|
Code distributed by Google as part of the polymer project is also
|
|
2746
2744
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2747
2745
|
*/
|
|
2748
|
-
let
|
|
2749
|
-
function
|
|
2750
|
-
if (o &&
|
|
2746
|
+
let Nn = /(url\()([^)]*)(\))/g, zn = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, Et, ce;
|
|
2747
|
+
function dt(o, t) {
|
|
2748
|
+
if (o && zn.test(o) || o === "//")
|
|
2751
2749
|
return o;
|
|
2752
2750
|
if (Et === void 0) {
|
|
2753
2751
|
Et = !1;
|
|
@@ -2765,12 +2763,12 @@ function ut(o, t) {
|
|
|
2765
2763
|
}
|
|
2766
2764
|
return ce || (ce = document.implementation.createHTMLDocument("temp"), ce.base = ce.createElement("base"), ce.head.appendChild(ce.base), ce.anchor = ce.createElement("a"), ce.body.appendChild(ce.anchor)), ce.base.href = t, ce.anchor.href = o, ce.anchor.href || o;
|
|
2767
2765
|
}
|
|
2768
|
-
function
|
|
2769
|
-
return o.replace(
|
|
2770
|
-
return i + "'" +
|
|
2766
|
+
function Ri(o, t) {
|
|
2767
|
+
return o.replace(Nn, function(e, i, s, r) {
|
|
2768
|
+
return i + "'" + dt(s.replace(/["']/g, ""), t) + "'" + r;
|
|
2771
2769
|
});
|
|
2772
2770
|
}
|
|
2773
|
-
function
|
|
2771
|
+
function Bi(o) {
|
|
2774
2772
|
return o.substring(0, o.lastIndexOf("/") + 1);
|
|
2775
2773
|
}
|
|
2776
2774
|
/**
|
|
@@ -2795,9 +2793,9 @@ const Ln = _s && "adoptedStyleSheets" in Document.prototype && "replaceSync" in
|
|
|
2795
2793
|
return !1;
|
|
2796
2794
|
}
|
|
2797
2795
|
})();
|
|
2798
|
-
let Rn = window.Polymer && window.Polymer.rootPath ||
|
|
2796
|
+
let Rn = window.Polymer && window.Polymer.rootPath || Bi(document.baseURI || window.location.href), It = window.Polymer && window.Polymer.sanitizeDOMValue || void 0;
|
|
2799
2797
|
window.Polymer && window.Polymer.setPassiveTouchGestures;
|
|
2800
|
-
let
|
|
2798
|
+
let Ft = window.Polymer && window.Polymer.strictTemplatePolicy || !1, Bn = window.Polymer && window.Polymer.allowTemplateFromDomModule || !1, gs = window.Polymer && window.Polymer.legacyOptimizations || !1, bs = window.Polymer && window.Polymer.legacyWarnings || !1, Hn = window.Polymer && window.Polymer.syncInitialRender || !1, hi = window.Polymer && window.Polymer.legacyUndefined || !1, $n = window.Polymer && window.Polymer.orderedComputed || !1, go = window.Polymer && window.Polymer.removeNestedTemplates || !1, Yn = window.Polymer && window.Polymer.fastDomIf || !1, bo = window.Polymer && window.Polymer.suppressTemplateNotifications || !1;
|
|
2801
2799
|
window.Polymer && window.Polymer.legacyNoObservedAttributes;
|
|
2802
2800
|
let jn = window.Polymer && window.Polymer.useAdoptedStyleSheetsWithBuiltCSS || !1;
|
|
2803
2801
|
/**
|
|
@@ -2847,12 +2845,12 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2847
2845
|
Code distributed by Google as part of the polymer project is also
|
|
2848
2846
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2849
2847
|
*/
|
|
2850
|
-
let
|
|
2848
|
+
let Hi = {}, vs = {};
|
|
2851
2849
|
function vo(o, t) {
|
|
2852
|
-
|
|
2850
|
+
Hi[o] = vs[o.toLowerCase()] = t;
|
|
2853
2851
|
}
|
|
2854
2852
|
function yo(o) {
|
|
2855
|
-
return
|
|
2853
|
+
return Hi[o] || vs[o.toLowerCase()];
|
|
2856
2854
|
}
|
|
2857
2855
|
function Un(o) {
|
|
2858
2856
|
o.querySelector("style") && console.warn("dom-module %s has style outside template", o.id);
|
|
@@ -2906,11 +2904,11 @@ class mt extends HTMLElement {
|
|
|
2906
2904
|
*/
|
|
2907
2905
|
get assetpath() {
|
|
2908
2906
|
if (!this.__assetpath) {
|
|
2909
|
-
const t = window.HTMLImports && HTMLImports.importForElement ? HTMLImports.importForElement(this) || document : this.ownerDocument, e =
|
|
2907
|
+
const t = window.HTMLImports && HTMLImports.importForElement ? HTMLImports.importForElement(this) || document : this.ownerDocument, e = dt(
|
|
2910
2908
|
this.getAttribute("assetpath") || "",
|
|
2911
2909
|
t.baseURI
|
|
2912
2910
|
);
|
|
2913
|
-
this.__assetpath =
|
|
2911
|
+
this.__assetpath = Bi(e);
|
|
2914
2912
|
}
|
|
2915
2913
|
return this.__assetpath;
|
|
2916
2914
|
}
|
|
@@ -2923,13 +2921,13 @@ class mt extends HTMLElement {
|
|
|
2923
2921
|
*/
|
|
2924
2922
|
register(t) {
|
|
2925
2923
|
if (t = t || this.id, t) {
|
|
2926
|
-
if (
|
|
2924
|
+
if (Ft && yo(t) !== void 0)
|
|
2927
2925
|
throw vo(t, null), new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);
|
|
2928
2926
|
this.id = t, vo(t, this), Un(this);
|
|
2929
2927
|
}
|
|
2930
2928
|
}
|
|
2931
2929
|
}
|
|
2932
|
-
mt.prototype.modules =
|
|
2930
|
+
mt.prototype.modules = Hi;
|
|
2933
2931
|
customElements.define("dom-module", mt);
|
|
2934
2932
|
/**
|
|
2935
2933
|
@license
|
|
@@ -2949,7 +2947,7 @@ function ys(o) {
|
|
|
2949
2947
|
}
|
|
2950
2948
|
function wo(o) {
|
|
2951
2949
|
let t = o.body ? o.body : o;
|
|
2952
|
-
const e =
|
|
2950
|
+
const e = Ri(
|
|
2953
2951
|
t.textContent,
|
|
2954
2952
|
o.baseURI
|
|
2955
2953
|
), i = document.createElement("style");
|
|
@@ -2987,7 +2985,7 @@ function xs(o, t) {
|
|
|
2987
2985
|
let r = i[s], n = r.getAttribute(qn);
|
|
2988
2986
|
n && e.push(...Kn(n).filter(function(a, l, c) {
|
|
2989
2987
|
return c.indexOf(a) === l;
|
|
2990
|
-
})), t && (r.textContent =
|
|
2988
|
+
})), t && (r.textContent = Ri(
|
|
2991
2989
|
r.textContent,
|
|
2992
2990
|
/** @type {string} */
|
|
2993
2991
|
t
|
|
@@ -3102,15 +3100,15 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3102
3100
|
Code distributed by Google as part of the polymer project is also
|
|
3103
3101
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3104
3102
|
*/
|
|
3105
|
-
const
|
|
3106
|
-
function
|
|
3107
|
-
return
|
|
3103
|
+
const Nt = {}, Zn = /-[a-z]/g, Qn = /([A-Z])/g;
|
|
3104
|
+
function As(o) {
|
|
3105
|
+
return Nt[o] || (Nt[o] = o.indexOf("-") < 0 ? o : o.replace(
|
|
3108
3106
|
Zn,
|
|
3109
3107
|
(t) => t[1].toUpperCase()
|
|
3110
3108
|
));
|
|
3111
3109
|
}
|
|
3112
3110
|
function $t(o) {
|
|
3113
|
-
return
|
|
3111
|
+
return Nt[o] || (Nt[o] = o.replace(Qn, "-$1").toLowerCase());
|
|
3114
3112
|
}
|
|
3115
3113
|
/**
|
|
3116
3114
|
@license
|
|
@@ -3121,7 +3119,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3121
3119
|
Code distributed by Google as part of the polymer project is also
|
|
3122
3120
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3123
3121
|
*/
|
|
3124
|
-
let ea = 0,
|
|
3122
|
+
let ea = 0, Cs = 0, Ke = [], ta = 0, fi = !1, Ps = document.createTextNode("");
|
|
3125
3123
|
new window.MutationObserver(ia).observe(Ps, { characterData: !0 });
|
|
3126
3124
|
function ia() {
|
|
3127
3125
|
fi = !1;
|
|
@@ -3137,7 +3135,7 @@ function ia() {
|
|
|
3137
3135
|
});
|
|
3138
3136
|
}
|
|
3139
3137
|
}
|
|
3140
|
-
Ke.splice(0, o),
|
|
3138
|
+
Ke.splice(0, o), Cs += o;
|
|
3141
3139
|
}
|
|
3142
3140
|
const oa = {
|
|
3143
3141
|
/**
|
|
@@ -3198,7 +3196,7 @@ const oa = {
|
|
|
3198
3196
|
* @return {void}
|
|
3199
3197
|
*/
|
|
3200
3198
|
cancel(o) {
|
|
3201
|
-
const t = o -
|
|
3199
|
+
const t = o - Cs;
|
|
3202
3200
|
if (t >= 0) {
|
|
3203
3201
|
if (!Ke[t])
|
|
3204
3202
|
throw new Error("invalid async handle: " + o);
|
|
@@ -3685,7 +3683,7 @@ const aa = U((o) => {
|
|
|
3685
3683
|
this.observedAttributes
|
|
3686
3684
|
);
|
|
3687
3685
|
for (let r = 0; r < s.length; r++)
|
|
3688
|
-
this.prototype._createPropertyAccessor(
|
|
3686
|
+
this.prototype._createPropertyAccessor(As(s[r]));
|
|
3689
3687
|
}
|
|
3690
3688
|
/**
|
|
3691
3689
|
* Returns an attribute name that corresponds to the given property.
|
|
@@ -3882,19 +3880,19 @@ const la = {
|
|
|
3882
3880
|
"dom-if": !0,
|
|
3883
3881
|
"dom-repeat": !0
|
|
3884
3882
|
};
|
|
3885
|
-
let So = !1,
|
|
3883
|
+
let So = !1, Ao = !1;
|
|
3886
3884
|
function ca() {
|
|
3887
3885
|
if (!So) {
|
|
3888
3886
|
So = !0;
|
|
3889
3887
|
const o = document.createElement("textarea");
|
|
3890
|
-
o.placeholder = "a",
|
|
3888
|
+
o.placeholder = "a", Ao = o.placeholder === o.textContent;
|
|
3891
3889
|
}
|
|
3892
|
-
return
|
|
3890
|
+
return Ao;
|
|
3893
3891
|
}
|
|
3894
|
-
function
|
|
3892
|
+
function ua(o) {
|
|
3895
3893
|
ca() && o.localName === "textarea" && o.placeholder && o.placeholder === o.textContent && (o.textContent = null);
|
|
3896
3894
|
}
|
|
3897
|
-
const
|
|
3895
|
+
const da = (() => {
|
|
3898
3896
|
const o = window.trustedTypes && window.trustedTypes.createPolicy(
|
|
3899
3897
|
"polymer-template-event-attribute-policy",
|
|
3900
3898
|
{
|
|
@@ -3919,7 +3917,7 @@ function ha(o) {
|
|
|
3919
3917
|
let e = o;
|
|
3920
3918
|
for (e.removeAttribute("is"), o = e.ownerDocument.createElement(t), e.parentNode.replaceChild(o, e), o.appendChild(e); e.attributes.length; ) {
|
|
3921
3919
|
const { name: i } = e.attributes[0];
|
|
3922
|
-
|
|
3920
|
+
da(o, e, i), e.removeAttribute(i);
|
|
3923
3921
|
}
|
|
3924
3922
|
}
|
|
3925
3923
|
return o;
|
|
@@ -4076,7 +4074,7 @@ const ga = U(
|
|
|
4076
4074
|
/** @type {!HTMLTemplateElement} */
|
|
4077
4075
|
i
|
|
4078
4076
|
);
|
|
4079
|
-
return a.localName == "template" && !a.hasAttribute("preserve-content") ? n = this._parseTemplateNestedTemplate(a, s, r) || n : a.localName === "slot" && (s.hasInsertionPoint = !0),
|
|
4077
|
+
return a.localName == "template" && !a.hasAttribute("preserve-content") ? n = this._parseTemplateNestedTemplate(a, s, r) || n : a.localName === "slot" && (s.hasInsertionPoint = !0), ua(a), a.firstChild && this._parseTemplateChildNodes(a, s, r), a.hasAttributes && a.hasAttributes() && (n = this._parseTemplateNodeAttributes(a, s, r) || n), n || r.noted;
|
|
4080
4078
|
}
|
|
4081
4079
|
/**
|
|
4082
4080
|
* Parses template child nodes for the given root node.
|
|
@@ -4095,9 +4093,9 @@ const ga = U(
|
|
|
4095
4093
|
if (!(i.localName === "script" || i.localName === "style"))
|
|
4096
4094
|
for (let n = i.firstChild, a = 0, l; n; n = l) {
|
|
4097
4095
|
if (n.localName == "template" && (n = ha(n)), l = n.nextSibling, n.nodeType === Node.TEXT_NODE) {
|
|
4098
|
-
let
|
|
4099
|
-
for (;
|
|
4100
|
-
n.textContent +=
|
|
4096
|
+
let u = l;
|
|
4097
|
+
for (; u && u.nodeType === Node.TEXT_NODE; )
|
|
4098
|
+
n.textContent += u.textContent, l = u.nextSibling, i.removeChild(u), u = l;
|
|
4101
4099
|
if (s.stripWhiteSpace && !n.textContent.trim()) {
|
|
4102
4100
|
i.removeChild(n);
|
|
4103
4101
|
continue;
|
|
@@ -4228,9 +4226,9 @@ const ga = U(
|
|
|
4228
4226
|
a.__noInsertionPoint = !s.hasInsertionPoint;
|
|
4229
4227
|
let l = a.nodeList = new Array(r.length);
|
|
4230
4228
|
a.$ = {};
|
|
4231
|
-
for (let c = 0,
|
|
4232
|
-
let h = l[c] = Ms(a,
|
|
4233
|
-
pa(this, a.$, h,
|
|
4229
|
+
for (let c = 0, u = r.length, d; c < u && (d = r[c]); c++) {
|
|
4230
|
+
let h = l[c] = Ms(a, d);
|
|
4231
|
+
pa(this, a.$, h, d), ma(this, h, d, s), fa(this, h, d);
|
|
4234
4232
|
}
|
|
4235
4233
|
return a = /** @type {!StampedTemplate} */
|
|
4236
4234
|
a, a;
|
|
@@ -4319,23 +4317,23 @@ function ct(o, t, e, i, s, r) {
|
|
|
4319
4317
|
let n = !1;
|
|
4320
4318
|
const a = bt++;
|
|
4321
4319
|
for (let l in e) {
|
|
4322
|
-
let c = s ? Ye(l) : l,
|
|
4323
|
-
if (
|
|
4324
|
-
for (let
|
|
4325
|
-
(!m.info || m.info.lastRun !== a) && (!s ||
|
|
4320
|
+
let c = s ? Ye(l) : l, u = t[c];
|
|
4321
|
+
if (u)
|
|
4322
|
+
for (let d = 0, h = u.length, m; d < h && (m = u[d]); d++)
|
|
4323
|
+
(!m.info || m.info.lastRun !== a) && (!s || $i(l, m.trigger)) && (m.info && (m.info.lastRun = a), m.fn(o, l, e, i, m.info, s, r), n = !0);
|
|
4326
4324
|
}
|
|
4327
4325
|
return n;
|
|
4328
4326
|
}
|
|
4329
4327
|
return !1;
|
|
4330
4328
|
}
|
|
4331
4329
|
function va(o, t, e, i, s, r, n, a) {
|
|
4332
|
-
let l = !1, c = n ? Ye(i) : i,
|
|
4333
|
-
if (
|
|
4334
|
-
for (let
|
|
4335
|
-
(!m.info || m.info.lastRun !== e) && (!n ||
|
|
4330
|
+
let l = !1, c = n ? Ye(i) : i, u = t[c];
|
|
4331
|
+
if (u)
|
|
4332
|
+
for (let d = 0, h = u.length, m; d < h && (m = u[d]); d++)
|
|
4333
|
+
(!m.info || m.info.lastRun !== e) && (!n || $i(i, m.trigger)) && (m.info && (m.info.lastRun = e), m.fn(o, i, s, r, m.info, n, a), l = !0);
|
|
4336
4334
|
return l;
|
|
4337
4335
|
}
|
|
4338
|
-
function
|
|
4336
|
+
function $i(o, t) {
|
|
4339
4337
|
if (t) {
|
|
4340
4338
|
let e = (
|
|
4341
4339
|
/** @type {string} */
|
|
@@ -4345,7 +4343,7 @@ function Yi(o, t) {
|
|
|
4345
4343
|
} else
|
|
4346
4344
|
return !0;
|
|
4347
4345
|
}
|
|
4348
|
-
function
|
|
4346
|
+
function Co(o, t, e, i, s) {
|
|
4349
4347
|
let r = typeof s.method == "string" ? o[s.method] : s.method, n = s.property;
|
|
4350
4348
|
r ? r.call(o, o.__data[n], i[n]) : s.dynamicFn || console.warn("observer method `" + s.method + "` not defined");
|
|
4351
4349
|
}
|
|
@@ -4395,7 +4393,7 @@ function Sa(o, t, e, i, s) {
|
|
|
4395
4393
|
o
|
|
4396
4394
|
)), o._propertyToAttribute(t, s.attrName, r);
|
|
4397
4395
|
}
|
|
4398
|
-
function
|
|
4396
|
+
function Aa(o, t, e, i) {
|
|
4399
4397
|
let s = o[k.COMPUTE];
|
|
4400
4398
|
if (s)
|
|
4401
4399
|
if ($n) {
|
|
@@ -4405,7 +4403,7 @@ function Ca(o, t, e, i) {
|
|
|
4405
4403
|
Po(l, s, n, r, i);
|
|
4406
4404
|
let a;
|
|
4407
4405
|
for (; a = n.shift(); )
|
|
4408
|
-
|
|
4406
|
+
Fs(o, "", t, e, a) && Po(a.methodInfo, s, n, r, i);
|
|
4409
4407
|
Object.assign(
|
|
4410
4408
|
/** @type {!Object} */
|
|
4411
4409
|
e,
|
|
@@ -4429,7 +4427,7 @@ function Ca(o, t, e, i) {
|
|
|
4429
4427
|
), r = o.__dataPending, o.__dataPending = null;
|
|
4430
4428
|
}
|
|
4431
4429
|
}
|
|
4432
|
-
const
|
|
4430
|
+
const Ca = (o, t, e) => {
|
|
4433
4431
|
let i = 0, s = t.length - 1, r = -1;
|
|
4434
4432
|
for (; i <= s; ) {
|
|
4435
4433
|
const n = i + s >> 1, a = e.get(t[n].methodInfo) - e.get(o.methodInfo);
|
|
@@ -4448,7 +4446,7 @@ const Aa = (o, t, e) => {
|
|
|
4448
4446
|
if (n)
|
|
4449
4447
|
for (let a = 0; a < n.length; a++) {
|
|
4450
4448
|
const l = n[a];
|
|
4451
|
-
l.info.lastRun !== bt && (!s ||
|
|
4449
|
+
l.info.lastRun !== bt && (!s || $i(o, l.trigger)) && (l.info.lastRun = bt, Ca(l.info, e, i));
|
|
4452
4450
|
}
|
|
4453
4451
|
};
|
|
4454
4452
|
function Pa(o) {
|
|
@@ -4481,7 +4479,7 @@ function ka(o) {
|
|
|
4481
4479
|
t[n] || s.push(n);
|
|
4482
4480
|
return { counts: e, ready: s, total: r };
|
|
4483
4481
|
}
|
|
4484
|
-
function
|
|
4482
|
+
function Fs(o, t, e, i, s) {
|
|
4485
4483
|
let r = mi(o, t, e, i, s);
|
|
4486
4484
|
if (r === vt)
|
|
4487
4485
|
return !1;
|
|
@@ -4501,14 +4499,14 @@ function Da(o, t, e) {
|
|
|
4501
4499
|
function Gt(o, t, e, i, s, r, n) {
|
|
4502
4500
|
e.bindings = e.bindings || [];
|
|
4503
4501
|
let a = { kind: i, target: s, parts: r, literal: n, isCompound: r.length !== 1 };
|
|
4504
|
-
if (e.bindings.push(a),
|
|
4505
|
-
let { event: c, negate:
|
|
4506
|
-
a.listenerEvent = c || $t(s) + "-changed", a.listenerNegate =
|
|
4502
|
+
if (e.bindings.push(a), Fa(a)) {
|
|
4503
|
+
let { event: c, negate: u } = a.parts[0];
|
|
4504
|
+
a.listenerEvent = c || $t(s) + "-changed", a.listenerNegate = u;
|
|
4507
4505
|
}
|
|
4508
4506
|
let l = t.nodeInfoList.length;
|
|
4509
4507
|
for (let c = 0; c < a.parts.length; c++) {
|
|
4510
|
-
let
|
|
4511
|
-
|
|
4508
|
+
let u = a.parts[c];
|
|
4509
|
+
u.compoundIndex = c, Ta(o, t, a, u, l);
|
|
4512
4510
|
}
|
|
4513
4511
|
}
|
|
4514
4512
|
function Ta(o, t, e, i, s) {
|
|
@@ -4519,7 +4517,7 @@ function Ta(o, t, e, i, s) {
|
|
|
4519
4517
|
let r = i.dependencies, n = { index: s, binding: e, part: i, evaluator: o };
|
|
4520
4518
|
for (let a = 0; a < r.length; a++) {
|
|
4521
4519
|
let l = r[a];
|
|
4522
|
-
typeof l == "string" && (l =
|
|
4520
|
+
typeof l == "string" && (l = zs(l), l.wildcard = !0), o._addTemplatePropertyEffect(t, l.rootProperty, {
|
|
4523
4521
|
fn: Ma,
|
|
4524
4522
|
info: n,
|
|
4525
4523
|
trigger: l
|
|
@@ -4530,11 +4528,11 @@ function Ta(o, t, e, i, s) {
|
|
|
4530
4528
|
function Ma(o, t, e, i, s, r, n) {
|
|
4531
4529
|
let a = n[s.index], l = s.binding, c = s.part;
|
|
4532
4530
|
if (r && c.source && t.length > c.source.length && l.kind == "property" && !l.isCompound && a.__isPropertyEffectsClient && a.__dataHasAccessor && a.__dataHasAccessor[l.target]) {
|
|
4533
|
-
let
|
|
4534
|
-
t = gt(c.source, l.target, t), a._setPendingPropertyOrPath(t,
|
|
4531
|
+
let u = e[t];
|
|
4532
|
+
t = gt(c.source, l.target, t), a._setPendingPropertyOrPath(t, u, !1, !0) && o._enqueueClient(a);
|
|
4535
4533
|
} else {
|
|
4536
|
-
let
|
|
4537
|
-
|
|
4534
|
+
let u = s.evaluator._evaluateBinding(o, c, t, e, i, r);
|
|
4535
|
+
u !== vt && Oa(o, a, l, c, u);
|
|
4538
4536
|
}
|
|
4539
4537
|
}
|
|
4540
4538
|
function Oa(o, t, e, i, s) {
|
|
@@ -4557,10 +4555,10 @@ function Ia(o, t, e, i) {
|
|
|
4557
4555
|
}
|
|
4558
4556
|
return e.kind !== "attribute" && (e.target === "textContent" || e.target === "value" && (o.localName === "input" || o.localName === "textarea")) && (t = t ?? ""), t;
|
|
4559
4557
|
}
|
|
4560
|
-
function
|
|
4558
|
+
function Fa(o) {
|
|
4561
4559
|
return !!o.target && o.kind != "attribute" && o.kind != "text" && !o.isCompound && o.parts[0].mode === "{";
|
|
4562
4560
|
}
|
|
4563
|
-
function
|
|
4561
|
+
function Na(o, t) {
|
|
4564
4562
|
let { nodeList: e, nodeInfoList: i } = t;
|
|
4565
4563
|
if (i.length)
|
|
4566
4564
|
for (let s = 0; s < i.length; s++) {
|
|
@@ -4568,12 +4566,12 @@ function za(o, t) {
|
|
|
4568
4566
|
if (a)
|
|
4569
4567
|
for (let l = 0; l < a.length; l++) {
|
|
4570
4568
|
let c = a[l];
|
|
4571
|
-
|
|
4569
|
+
za(n, c), La(n, o, c);
|
|
4572
4570
|
}
|
|
4573
4571
|
n.__dataHost = o;
|
|
4574
4572
|
}
|
|
4575
4573
|
}
|
|
4576
|
-
function
|
|
4574
|
+
function za(o, t) {
|
|
4577
4575
|
if (t.isCompound) {
|
|
4578
4576
|
let e = o.__dataCompoundStorage || (o.__dataCompoundStorage = {}), i = t.parts, s = new Array(i.length);
|
|
4579
4577
|
for (let n = 0; n < i.length; n++)
|
|
@@ -4617,7 +4615,7 @@ function mi(o, t, e, i, s) {
|
|
|
4617
4615
|
} else
|
|
4618
4616
|
s.dynamicFn || console.warn("method `" + s.methodName + "` not defined");
|
|
4619
4617
|
}
|
|
4620
|
-
const Ra = [],
|
|
4618
|
+
const Ra = [], Ns = "(?:[a-zA-Z_$][\\w.:$\\-*]*)", Ba = "(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)", Ha = "(?:'(?:[^'\\\\]|\\\\.)*')", $a = '(?:"(?:[^"\\\\]|\\\\.)*")', Ya = "(?:" + Ha + "|" + $a + ")", Do = "(?:(" + Ns + "|" + Ba + "|" + Ya + ")\\s*)", ja = "(?:" + Do + "(?:,\\s*" + Do + ")*)", Va = "(?:\\(\\s*(?:" + ja + "?)\\)\\s*)", Ua = "(" + Ns + "\\s*" + Va + "?)", Wa = "(\\[\\[|{{)\\s*", qa = "(?:]]|}})", Ka = "(?:(!)\\s*)?", Ga = Wa + Ka + Ua + qa, To = new RegExp(Ga, "g");
|
|
4621
4619
|
function Mo(o) {
|
|
4622
4620
|
let t = "";
|
|
4623
4621
|
for (let e = 0; e < o.length; e++) {
|
|
@@ -4640,11 +4638,11 @@ function Jt(o) {
|
|
|
4640
4638
|
}
|
|
4641
4639
|
function Ja(o, t) {
|
|
4642
4640
|
return t.args = o.map(function(e) {
|
|
4643
|
-
let i =
|
|
4641
|
+
let i = zs(e);
|
|
4644
4642
|
return i.literal || (t.static = !1), i;
|
|
4645
4643
|
}, this), t;
|
|
4646
4644
|
}
|
|
4647
|
-
function
|
|
4645
|
+
function zs(o) {
|
|
4648
4646
|
let t = o.trim().replace(/,/g, ",").replace(/\\(.)/g, "$1"), e = {
|
|
4649
4647
|
name: t,
|
|
4650
4648
|
value: "",
|
|
@@ -4681,7 +4679,7 @@ function st(o, t, e, i, s, r) {
|
|
|
4681
4679
|
function Xa(o) {
|
|
4682
4680
|
return o[0].toUpperCase() + o.substring(1);
|
|
4683
4681
|
}
|
|
4684
|
-
const
|
|
4682
|
+
const Yi = U((o) => {
|
|
4685
4683
|
const t = ga(aa(o));
|
|
4686
4684
|
class e extends t {
|
|
4687
4685
|
constructor() {
|
|
@@ -5086,7 +5084,7 @@ const ji = U((o) => {
|
|
|
5086
5084
|
let a = this.__dataHasPaths;
|
|
5087
5085
|
this.__dataHasPaths = !1;
|
|
5088
5086
|
let l;
|
|
5089
|
-
|
|
5087
|
+
Aa(this, r, n, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(r, n, a), this._flushClients(), ct(this, this[k.REFLECT], r, n, a), ct(this, this[k.OBSERVE], r, n, a), l && ya(this, l, r, n, a), this.__dataCounter == 1 && (this.__dataTemp = {});
|
|
5090
5088
|
}
|
|
5091
5089
|
/**
|
|
5092
5090
|
* Called to propagate any property changes to stamped template nodes
|
|
@@ -5103,17 +5101,17 @@ const ji = U((o) => {
|
|
|
5103
5101
|
this[k.PROPAGATE] && ct(this, this[k.PROPAGATE], s, r, n), this.__templateInfo && this._runEffectsForTemplate(this.__templateInfo, s, r, n);
|
|
5104
5102
|
}
|
|
5105
5103
|
_runEffectsForTemplate(s, r, n, a) {
|
|
5106
|
-
const l = (c,
|
|
5104
|
+
const l = (c, u) => {
|
|
5107
5105
|
ct(
|
|
5108
5106
|
this,
|
|
5109
5107
|
s.propertyEffects,
|
|
5110
5108
|
c,
|
|
5111
5109
|
n,
|
|
5112
|
-
|
|
5110
|
+
u,
|
|
5113
5111
|
s.nodeList
|
|
5114
5112
|
);
|
|
5115
|
-
for (let
|
|
5116
|
-
this._runEffectsForTemplate(
|
|
5113
|
+
for (let d = s.firstChild; d; d = d.nextSibling)
|
|
5114
|
+
this._runEffectsForTemplate(d, c, n, u);
|
|
5117
5115
|
};
|
|
5118
5116
|
s.runEffects ? s.runEffects(l, r, a) : l(r, a);
|
|
5119
5117
|
}
|
|
@@ -5303,8 +5301,8 @@ const ji = U((o) => {
|
|
|
5303
5301
|
ne(this, s, l)
|
|
5304
5302
|
);
|
|
5305
5303
|
r < 0 ? r = c.length - Math.floor(-r) : r && (r = Math.floor(r));
|
|
5306
|
-
let
|
|
5307
|
-
return arguments.length === 2 ?
|
|
5304
|
+
let u;
|
|
5305
|
+
return arguments.length === 2 ? u = c.splice(r) : u = c.splice(r, n, ...a), (a.length || u.length) && st(this, c, l.path, r, a.length, u), u;
|
|
5308
5306
|
}
|
|
5309
5307
|
/**
|
|
5310
5308
|
* Removes an item from the beginning of array at the path specified.
|
|
@@ -5408,7 +5406,7 @@ const ji = U((o) => {
|
|
|
5408
5406
|
_createPropertyObserver(s, r, n) {
|
|
5409
5407
|
let a = { property: s, method: r, dynamicFn: !!n };
|
|
5410
5408
|
this._addPropertyEffect(s, k.OBSERVE, {
|
|
5411
|
-
fn:
|
|
5409
|
+
fn: Co,
|
|
5412
5410
|
info: a,
|
|
5413
5411
|
trigger: { name: s }
|
|
5414
5412
|
}), n && this._addPropertyEffect(
|
|
@@ -5416,7 +5414,7 @@ const ji = U((o) => {
|
|
|
5416
5414
|
r,
|
|
5417
5415
|
k.OBSERVE,
|
|
5418
5416
|
{
|
|
5419
|
-
fn:
|
|
5417
|
+
fn: Co,
|
|
5420
5418
|
info: a,
|
|
5421
5419
|
trigger: { name: r }
|
|
5422
5420
|
}
|
|
@@ -5496,7 +5494,7 @@ const ji = U((o) => {
|
|
|
5496
5494
|
let a = Jt(r);
|
|
5497
5495
|
if (!a)
|
|
5498
5496
|
throw new Error("Malformed computed expression '" + r + "'");
|
|
5499
|
-
const l = ko(this, a, k.COMPUTE,
|
|
5497
|
+
const l = ko(this, a, k.COMPUTE, Fs, s, n);
|
|
5500
5498
|
Kt(this, Os)[s] = l;
|
|
5501
5499
|
}
|
|
5502
5500
|
/**
|
|
@@ -5514,18 +5512,18 @@ const ji = U((o) => {
|
|
|
5514
5512
|
*/
|
|
5515
5513
|
_marshalArgs(s, r, n) {
|
|
5516
5514
|
const a = this.__data, l = [];
|
|
5517
|
-
for (let c = 0,
|
|
5518
|
-
let { name:
|
|
5515
|
+
for (let c = 0, u = s.length; c < u; c++) {
|
|
5516
|
+
let { name: d, structured: h, wildcard: m, value: g, literal: p } = s[c];
|
|
5519
5517
|
if (!p)
|
|
5520
5518
|
if (m) {
|
|
5521
|
-
const _ = _t(
|
|
5519
|
+
const _ = _t(d, r), y = Oo(a, n, _ ? r : d);
|
|
5522
5520
|
g = {
|
|
5523
|
-
path: _ ? r :
|
|
5521
|
+
path: _ ? r : d,
|
|
5524
5522
|
value: y,
|
|
5525
|
-
base: _ ? ne(a,
|
|
5523
|
+
base: _ ? ne(a, d) : y
|
|
5526
5524
|
};
|
|
5527
5525
|
} else
|
|
5528
|
-
g = h ? Oo(a, n,
|
|
5526
|
+
g = h ? Oo(a, n, d) : a[d];
|
|
5529
5527
|
if (hi && !this._overrideLegacyUndefined && g === void 0 && s.length > 1)
|
|
5530
5528
|
return vt;
|
|
5531
5529
|
l[c] = g;
|
|
@@ -5808,7 +5806,7 @@ const ji = U((o) => {
|
|
|
5808
5806
|
for (let l = n.firstChild; l; l = l.nextSibling)
|
|
5809
5807
|
a.push(l);
|
|
5810
5808
|
}
|
|
5811
|
-
return n.templateInfo = r,
|
|
5809
|
+
return n.templateInfo = r, Na(this, r), this.__dataClientsReady && (this._runEffectsForTemplate(r, this.__data, null, !1), this._flushClients()), n;
|
|
5812
5810
|
}
|
|
5813
5811
|
/**
|
|
5814
5812
|
* Removes and unbinds the nodes previously contained in the provided
|
|
@@ -5824,9 +5822,9 @@ const ji = U((o) => {
|
|
|
5824
5822
|
const r = s.templateInfo, { previousSibling: n, nextSibling: a, parent: l } = r;
|
|
5825
5823
|
n ? n.nextSibling = a : l && (l.firstChild = a), a ? a.previousSibling = n : l && (l.lastChild = n), r.nextSibling = r.previousSibling = null;
|
|
5826
5824
|
let c = r.childNodes;
|
|
5827
|
-
for (let
|
|
5828
|
-
let
|
|
5829
|
-
K(K(
|
|
5825
|
+
for (let u = 0; u < c.length; u++) {
|
|
5826
|
+
let d = c[u];
|
|
5827
|
+
K(K(d).parentNode).removeChild(d);
|
|
5830
5828
|
}
|
|
5831
5829
|
}
|
|
5832
5830
|
/**
|
|
@@ -5881,10 +5879,10 @@ const ji = U((o) => {
|
|
|
5881
5879
|
static _parseTemplateNodeAttribute(s, r, n, a, l) {
|
|
5882
5880
|
let c = this._parseBindings(l, r);
|
|
5883
5881
|
if (c) {
|
|
5884
|
-
let
|
|
5885
|
-
ba.test(a) ?
|
|
5882
|
+
let u = a, d = "property";
|
|
5883
|
+
ba.test(a) ? d = "attribute" : a[a.length - 1] == "$" && (a = a.slice(0, -1), d = "attribute");
|
|
5886
5884
|
let h = Mo(c);
|
|
5887
|
-
return h &&
|
|
5885
|
+
return h && d == "attribute" && (a == "class" && s.hasAttribute("class") && (h += " " + s.getAttribute(a)), s.setAttribute(a, h)), d == "attribute" && u == "disable-upgrade$" && s.setAttribute(a, ""), s.localName === "input" && u === "value" && s.setAttribute(u, ""), s.removeAttribute(u), d === "property" && (a = As(a)), Gt(this, r, n, d, a, c, h), !0;
|
|
5888
5886
|
} else
|
|
5889
5887
|
return t._parseTemplateNodeAttribute.call(
|
|
5890
5888
|
this,
|
|
@@ -5916,10 +5914,10 @@ const ji = U((o) => {
|
|
|
5916
5914
|
r,
|
|
5917
5915
|
n
|
|
5918
5916
|
);
|
|
5919
|
-
const l = s.parentNode, c = n.templateInfo,
|
|
5920
|
-
go && (
|
|
5917
|
+
const l = s.parentNode, c = n.templateInfo, u = l.localName === "dom-if", d = l.localName === "dom-repeat";
|
|
5918
|
+
go && (u || d) && (l.removeChild(s), n = n.parentInfo, n.templateInfo = c, n.noted = !0, a = !1);
|
|
5921
5919
|
let h = c.hostProps;
|
|
5922
|
-
if (Yn &&
|
|
5920
|
+
if (Yn && u)
|
|
5923
5921
|
h && (r.hostProps = Object.assign(r.hostProps || {}, h), go || (n.parentInfo.noted = !0));
|
|
5924
5922
|
else {
|
|
5925
5923
|
let m = "{";
|
|
@@ -5979,23 +5977,23 @@ const ji = U((o) => {
|
|
|
5979
5977
|
let n = [], a = 0, l;
|
|
5980
5978
|
for (; (l = To.exec(s)) !== null; ) {
|
|
5981
5979
|
l.index > a && n.push({ literal: s.slice(a, l.index) });
|
|
5982
|
-
let c = l[1][0],
|
|
5983
|
-
c == "{" && (g =
|
|
5984
|
-
let p = Jt(
|
|
5980
|
+
let c = l[1][0], u = !!l[2], d = l[3].trim(), h = !1, m = "", g = -1;
|
|
5981
|
+
c == "{" && (g = d.indexOf("::")) > 0 && (m = d.substring(g + 2), d = d.substring(0, g), h = !0);
|
|
5982
|
+
let p = Jt(d), _ = [];
|
|
5985
5983
|
if (p) {
|
|
5986
5984
|
let { args: y, methodName: v } = p;
|
|
5987
|
-
for (let
|
|
5988
|
-
let D = y[
|
|
5985
|
+
for (let A = 0; A < y.length; A++) {
|
|
5986
|
+
let D = y[A];
|
|
5989
5987
|
D.literal || _.push(D);
|
|
5990
5988
|
}
|
|
5991
|
-
let
|
|
5992
|
-
(
|
|
5989
|
+
let C = r.dynamicFns;
|
|
5990
|
+
(C && C[v] || p.static) && (_.push(v), p.dynamicFn = !0);
|
|
5993
5991
|
} else
|
|
5994
|
-
_.push(
|
|
5992
|
+
_.push(d);
|
|
5995
5993
|
n.push({
|
|
5996
|
-
source:
|
|
5994
|
+
source: d,
|
|
5997
5995
|
mode: c,
|
|
5998
|
-
negate:
|
|
5996
|
+
negate: u,
|
|
5999
5997
|
customEvent: h,
|
|
6000
5998
|
signature: p,
|
|
6001
5999
|
dependencies: _,
|
|
@@ -6026,8 +6024,8 @@ const ji = U((o) => {
|
|
|
6026
6024
|
* @nocollapse
|
|
6027
6025
|
*/
|
|
6028
6026
|
static _evaluateBinding(s, r, n, a, l, c) {
|
|
6029
|
-
let
|
|
6030
|
-
return r.signature ?
|
|
6027
|
+
let u;
|
|
6028
|
+
return r.signature ? u = mi(s, n, a, l, r.signature) : n != r.source ? u = ne(s, r.source) : c && pi(n) ? u = ne(s, n) : u = s.__data[n], r.negate && (u = !u), u;
|
|
6031
6029
|
}
|
|
6032
6030
|
}
|
|
6033
6031
|
return e;
|
|
@@ -6210,16 +6208,16 @@ const Qa = U((o) => {
|
|
|
6210
6208
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6211
6209
|
*/
|
|
6212
6210
|
const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = U((o) => {
|
|
6213
|
-
const t = Qa(
|
|
6211
|
+
const t = Qa(Yi(o));
|
|
6214
6212
|
function e(l) {
|
|
6215
6213
|
if (!l.hasOwnProperty(
|
|
6216
6214
|
JSCompiler_renameProperty("__propertyDefaults", l)
|
|
6217
6215
|
)) {
|
|
6218
6216
|
l.__propertyDefaults = null;
|
|
6219
6217
|
let c = l._properties;
|
|
6220
|
-
for (let
|
|
6221
|
-
let
|
|
6222
|
-
"value" in
|
|
6218
|
+
for (let u in c) {
|
|
6219
|
+
let d = c[u];
|
|
6220
|
+
"value" in d && (l.__propertyDefaults = l.__propertyDefaults || {}, l.__propertyDefaults[u] = d);
|
|
6223
6221
|
}
|
|
6224
6222
|
}
|
|
6225
6223
|
return l.__propertyDefaults;
|
|
@@ -6234,23 +6232,23 @@ const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = U((o)
|
|
|
6234
6232
|
l.observers
|
|
6235
6233
|
) : null), l.__ownObservers;
|
|
6236
6234
|
}
|
|
6237
|
-
function s(l, c,
|
|
6238
|
-
|
|
6235
|
+
function s(l, c, u, d) {
|
|
6236
|
+
u.computed && (u.readOnly = !0), u.computed && (l._hasReadOnlyEffect(c) ? console.warn(`Cannot redefine computed property '${c}'.`) : l._createComputedProperty(c, u.computed, d)), u.readOnly && !l._hasReadOnlyEffect(c) ? l._createReadOnlyProperty(c, !u.computed) : u.readOnly === !1 && l._hasReadOnlyEffect(c) && console.warn(`Cannot make readOnly property '${c}' non-readOnly.`), u.reflectToAttribute && !l._hasReflectEffect(c) ? l._createReflectedProperty(c) : u.reflectToAttribute === !1 && l._hasReflectEffect(c) && console.warn(`Cannot make reflected property '${c}' non-reflected.`), u.notify && !l._hasNotifyEffect(c) ? l._createNotifyingProperty(c) : u.notify === !1 && l._hasNotifyEffect(c) && console.warn(`Cannot make notify property '${c}' non-notify.`), u.observer && l._createPropertyObserver(c, u.observer, d[u.observer]), l._addPropertyToAttributeMap(c);
|
|
6239
6237
|
}
|
|
6240
|
-
function r(l, c,
|
|
6238
|
+
function r(l, c, u, d) {
|
|
6241
6239
|
if (!Io) {
|
|
6242
|
-
const h = c.content.querySelectorAll("style"), m = xs(c), g = Jn(
|
|
6240
|
+
const h = c.content.querySelectorAll("style"), m = xs(c), g = Jn(u), p = c.content.firstElementChild;
|
|
6243
6241
|
for (let y = 0; y < g.length; y++) {
|
|
6244
6242
|
let v = g[y];
|
|
6245
|
-
v.textContent = l._processStyleText(v.textContent,
|
|
6243
|
+
v.textContent = l._processStyleText(v.textContent, d), c.content.insertBefore(v, p);
|
|
6246
6244
|
}
|
|
6247
6245
|
let _ = 0;
|
|
6248
6246
|
for (let y = 0; y < m.length; y++) {
|
|
6249
|
-
let v = m[y],
|
|
6250
|
-
|
|
6247
|
+
let v = m[y], C = h[_];
|
|
6248
|
+
C !== v ? (v = v.cloneNode(!0), C.parentNode.insertBefore(v, C)) : _++, v.textContent = l._processStyleText(v.textContent, d);
|
|
6251
6249
|
}
|
|
6252
6250
|
}
|
|
6253
|
-
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(c,
|
|
6251
|
+
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(c, u), jn && Io && Ln) {
|
|
6254
6252
|
const h = c.content.querySelectorAll("style");
|
|
6255
6253
|
if (h) {
|
|
6256
6254
|
let m = "";
|
|
@@ -6262,8 +6260,8 @@ const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = U((o)
|
|
|
6262
6260
|
}
|
|
6263
6261
|
function n(l) {
|
|
6264
6262
|
let c = null;
|
|
6265
|
-
if (l && (!
|
|
6266
|
-
mt.import(l, "template"),
|
|
6263
|
+
if (l && (!Ft || Bn) && (c = /** @type {?HTMLTemplateElement} */
|
|
6264
|
+
mt.import(l, "template"), Ft && !c))
|
|
6267
6265
|
throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);
|
|
6268
6266
|
return c;
|
|
6269
6267
|
}
|
|
@@ -6306,12 +6304,12 @@ const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = U((o)
|
|
|
6306
6304
|
* @nocollapse
|
|
6307
6305
|
*/
|
|
6308
6306
|
static createProperties(c) {
|
|
6309
|
-
for (let
|
|
6307
|
+
for (let u in c)
|
|
6310
6308
|
s(
|
|
6311
6309
|
/** @type {?} */
|
|
6312
6310
|
this.prototype,
|
|
6313
|
-
|
|
6314
|
-
c[
|
|
6311
|
+
u,
|
|
6312
|
+
c[u],
|
|
6315
6313
|
c
|
|
6316
6314
|
);
|
|
6317
6315
|
}
|
|
@@ -6327,10 +6325,10 @@ const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = U((o)
|
|
|
6327
6325
|
* @protected
|
|
6328
6326
|
* @nocollapse
|
|
6329
6327
|
*/
|
|
6330
|
-
static createObservers(c,
|
|
6331
|
-
const
|
|
6328
|
+
static createObservers(c, u) {
|
|
6329
|
+
const d = this.prototype;
|
|
6332
6330
|
for (let h = 0; h < c.length; h++)
|
|
6333
|
-
|
|
6331
|
+
d._createMethodObserver(c[h], u);
|
|
6334
6332
|
}
|
|
6335
6333
|
/**
|
|
6336
6334
|
* Returns the template that will be stamped into this element's shadow root.
|
|
@@ -6432,13 +6430,13 @@ const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = U((o)
|
|
|
6432
6430
|
if (!this.hasOwnProperty(JSCompiler_renameProperty("_importPath", this))) {
|
|
6433
6431
|
const c = this.importMeta;
|
|
6434
6432
|
if (c)
|
|
6435
|
-
this._importPath =
|
|
6433
|
+
this._importPath = Bi(c.url);
|
|
6436
6434
|
else {
|
|
6437
|
-
const
|
|
6435
|
+
const u = mt.import(
|
|
6438
6436
|
/** @type {PolymerElementConstructor} */
|
|
6439
6437
|
this.is
|
|
6440
6438
|
);
|
|
6441
|
-
this._importPath =
|
|
6439
|
+
this._importPath = u && u.assetpath || Object.getPrototypeOf(
|
|
6442
6440
|
/** @type {PolymerElementConstructor}*/
|
|
6443
6441
|
this.prototype
|
|
6444
6442
|
).constructor.importPath;
|
|
@@ -6468,11 +6466,11 @@ const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = U((o)
|
|
|
6468
6466
|
), super._initializeProperties(), this.rootPath = Rn, this.importPath = this.constructor.importPath;
|
|
6469
6467
|
let c = e(this.constructor);
|
|
6470
6468
|
if (c)
|
|
6471
|
-
for (let
|
|
6472
|
-
let
|
|
6473
|
-
if (this._canApplyPropertyDefault(
|
|
6474
|
-
let h = typeof
|
|
6475
|
-
this._hasAccessor(
|
|
6469
|
+
for (let u in c) {
|
|
6470
|
+
let d = c[u];
|
|
6471
|
+
if (this._canApplyPropertyDefault(u)) {
|
|
6472
|
+
let h = typeof d.value == "function" ? d.value.call(this) : d.value;
|
|
6473
|
+
this._hasAccessor(u) ? this._setPendingProperty(u, h, !0) : this[u] = h;
|
|
6476
6474
|
}
|
|
6477
6475
|
}
|
|
6478
6476
|
}
|
|
@@ -6496,8 +6494,8 @@ const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = U((o)
|
|
|
6496
6494
|
* @protected
|
|
6497
6495
|
* @nocollapse
|
|
6498
6496
|
*/
|
|
6499
|
-
static _processStyleText(c,
|
|
6500
|
-
return
|
|
6497
|
+
static _processStyleText(c, u) {
|
|
6498
|
+
return Ri(c, u);
|
|
6501
6499
|
}
|
|
6502
6500
|
/**
|
|
6503
6501
|
* Configures an element `proto` to function with a given `template`.
|
|
@@ -6510,11 +6508,11 @@ const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = U((o)
|
|
|
6510
6508
|
* @nocollapse
|
|
6511
6509
|
*/
|
|
6512
6510
|
static _finalizeTemplate(c) {
|
|
6513
|
-
const
|
|
6514
|
-
if (
|
|
6515
|
-
|
|
6516
|
-
const
|
|
6517
|
-
r(this,
|
|
6511
|
+
const u = this.prototype._template;
|
|
6512
|
+
if (u && !u.__polymerFinalized) {
|
|
6513
|
+
u.__polymerFinalized = !0;
|
|
6514
|
+
const d = this.importPath, h = d ? dt(d) : "";
|
|
6515
|
+
r(this, u, c, h), this.prototype._bindTemplate(u);
|
|
6518
6516
|
}
|
|
6519
6517
|
}
|
|
6520
6518
|
/**
|
|
@@ -6574,9 +6572,9 @@ const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = U((o)
|
|
|
6574
6572
|
* @return {ShadowRoot} node to which the dom has been attached.
|
|
6575
6573
|
*/
|
|
6576
6574
|
_attachDom(c) {
|
|
6577
|
-
const
|
|
6578
|
-
if (
|
|
6579
|
-
return c ? (
|
|
6575
|
+
const u = K(this);
|
|
6576
|
+
if (u.attachShadow)
|
|
6577
|
+
return c ? (u.shadowRoot || (u.attachShadow({ mode: "open", shadyUpgradeFragment: c }), u.shadowRoot.appendChild(c), this.constructor._styleSheet && (u.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])), Hn && window.ShadyDOM && window.ShadyDOM.flushInitial(u.shadowRoot), u.shadowRoot) : null;
|
|
6580
6578
|
throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.");
|
|
6581
6579
|
}
|
|
6582
6580
|
/**
|
|
@@ -6624,8 +6622,8 @@ const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = U((o)
|
|
|
6624
6622
|
* to the element's `importPath`
|
|
6625
6623
|
* @return {string} Rewritten URL relative to base
|
|
6626
6624
|
*/
|
|
6627
|
-
resolveUrl(c,
|
|
6628
|
-
return !
|
|
6625
|
+
resolveUrl(c, u) {
|
|
6626
|
+
return !u && this.importPath && (u = dt(this.importPath)), dt(c, u);
|
|
6629
6627
|
}
|
|
6630
6628
|
/**
|
|
6631
6629
|
* Overrides `PropertyEffects` to add map of dynamic functions on
|
|
@@ -6640,12 +6638,12 @@ const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = U((o)
|
|
|
6640
6638
|
* @suppress {missingProperties} Interfaces in closure do not inherit statics, but classes do
|
|
6641
6639
|
* @nocollapse
|
|
6642
6640
|
*/
|
|
6643
|
-
static _parseTemplateContent(c,
|
|
6644
|
-
return
|
|
6641
|
+
static _parseTemplateContent(c, u, d) {
|
|
6642
|
+
return u.dynamicFns = u.dynamicFns || this._properties, t._parseTemplateContent.call(
|
|
6645
6643
|
this,
|
|
6646
6644
|
c,
|
|
6647
|
-
|
|
6648
|
-
|
|
6645
|
+
u,
|
|
6646
|
+
d
|
|
6649
6647
|
);
|
|
6650
6648
|
}
|
|
6651
6649
|
/**
|
|
@@ -6660,18 +6658,18 @@ const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = U((o)
|
|
|
6660
6658
|
* @suppress {missingProperties} Interfaces in closure do not inherit statics, but classes do
|
|
6661
6659
|
* @nocollapse
|
|
6662
6660
|
*/
|
|
6663
|
-
static _addTemplatePropertyEffect(c,
|
|
6664
|
-
return bs && !(
|
|
6661
|
+
static _addTemplatePropertyEffect(c, u, d) {
|
|
6662
|
+
return bs && !(u in this._properties) && // Methods used in templates with no dependencies (or only literal
|
|
6665
6663
|
// dependencies) become accessors with template effects; ignore these
|
|
6666
|
-
!(
|
|
6664
|
+
!(d.info.part.signature && d.info.part.signature.static) && // Warnings for bindings added to nested templates are handled by
|
|
6667
6665
|
// templatizer so ignore both the host-to-template bindings
|
|
6668
6666
|
// (`hostProp`) and TemplateInstance-to-child bindings
|
|
6669
6667
|
// (`nestedTemplate`)
|
|
6670
|
-
!
|
|
6668
|
+
!d.info.part.hostProp && !c.nestedTemplate && console.warn(`Property '${u}' used in template but not declared in 'properties'; attribute will not be observed.`), t._addTemplatePropertyEffect.call(
|
|
6671
6669
|
this,
|
|
6672
6670
|
c,
|
|
6673
|
-
|
|
6674
|
-
|
|
6671
|
+
u,
|
|
6672
|
+
d
|
|
6675
6673
|
);
|
|
6676
6674
|
}
|
|
6677
6675
|
}
|
|
@@ -6686,7 +6684,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6686
6684
|
Code distributed by Google as part of the polymer project is also
|
|
6687
6685
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6688
6686
|
*/
|
|
6689
|
-
const
|
|
6687
|
+
const Fo = window.trustedTypes && trustedTypes.createPolicy("polymer-html-literal", { createHTML: (o) => o });
|
|
6690
6688
|
class Rs {
|
|
6691
6689
|
/**
|
|
6692
6690
|
* @param {!ITemplateArray} strings Constant parts of tagged template literal
|
|
@@ -6740,7 +6738,7 @@ const je = function(t, ...e) {
|
|
|
6740
6738
|
(r, n, a) => r + il(n) + t[a + 1],
|
|
6741
6739
|
t[0]
|
|
6742
6740
|
);
|
|
6743
|
-
return
|
|
6741
|
+
return Fo && (s = Fo.createHTML(s)), i.innerHTML = s, i;
|
|
6744
6742
|
}, Hs = (o, t) => {
|
|
6745
6743
|
if (!Array.isArray(o) || !Array.isArray(o.raw) || t.length !== o.length - 1)
|
|
6746
6744
|
throw new TypeError("Invalid call to the html template tag");
|
|
@@ -7031,18 +7029,18 @@ const ll = P`
|
|
|
7031
7029
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7032
7030
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7033
7031
|
*/
|
|
7034
|
-
let
|
|
7032
|
+
let ji = !1;
|
|
7035
7033
|
window.addEventListener(
|
|
7036
7034
|
"keydown",
|
|
7037
7035
|
() => {
|
|
7038
|
-
|
|
7036
|
+
ji = !0;
|
|
7039
7037
|
},
|
|
7040
7038
|
{ capture: !0 }
|
|
7041
7039
|
);
|
|
7042
7040
|
window.addEventListener(
|
|
7043
7041
|
"mousedown",
|
|
7044
7042
|
() => {
|
|
7045
|
-
|
|
7043
|
+
ji = !1;
|
|
7046
7044
|
},
|
|
7047
7045
|
{ capture: !0 }
|
|
7048
7046
|
);
|
|
@@ -7052,8 +7050,8 @@ function bi() {
|
|
|
7052
7050
|
o = o.shadowRoot.activeElement;
|
|
7053
7051
|
return o;
|
|
7054
7052
|
}
|
|
7055
|
-
function
|
|
7056
|
-
return
|
|
7053
|
+
function Vi() {
|
|
7054
|
+
return ji;
|
|
7057
7055
|
}
|
|
7058
7056
|
function cl(o) {
|
|
7059
7057
|
const t = o.style;
|
|
@@ -7062,14 +7060,14 @@ function cl(o) {
|
|
|
7062
7060
|
const e = window.getComputedStyle(o);
|
|
7063
7061
|
return e.visibility === "hidden" || e.display === "none";
|
|
7064
7062
|
}
|
|
7065
|
-
function
|
|
7063
|
+
function ul(o, t) {
|
|
7066
7064
|
const e = Math.max(o.tabIndex, 0), i = Math.max(t.tabIndex, 0);
|
|
7067
7065
|
return e === 0 || i === 0 ? i > e : e > i;
|
|
7068
7066
|
}
|
|
7069
|
-
function
|
|
7067
|
+
function dl(o, t) {
|
|
7070
7068
|
const e = [];
|
|
7071
7069
|
for (; o.length > 0 && t.length > 0; )
|
|
7072
|
-
|
|
7070
|
+
ul(o[0], t[0]) ? e.push(t.shift()) : e.push(o.shift());
|
|
7073
7071
|
return e.concat(o, t);
|
|
7074
7072
|
}
|
|
7075
7073
|
function vi(o) {
|
|
@@ -7077,7 +7075,7 @@ function vi(o) {
|
|
|
7077
7075
|
if (t < 2)
|
|
7078
7076
|
return o;
|
|
7079
7077
|
const e = Math.ceil(t / 2), i = vi(o.slice(0, e)), s = vi(o.slice(e));
|
|
7080
|
-
return
|
|
7078
|
+
return dl(i, s);
|
|
7081
7079
|
}
|
|
7082
7080
|
function $s(o) {
|
|
7083
7081
|
return o.matches('[tabindex="-1"]') ? !1 : o.matches("input, select, textarea, button, object") ? o.matches(":not([disabled])") : o.matches("a[href], area[href], iframe, [tabindex], [contentEditable]");
|
|
@@ -7170,11 +7168,11 @@ const wl = (() => {
|
|
|
7170
7168
|
* Copyright (c) 2017 Anton Korzunov
|
|
7171
7169
|
* SPDX-License-Identifier: MIT
|
|
7172
7170
|
*/
|
|
7173
|
-
let Ue = /* @__PURE__ */ new WeakMap(),
|
|
7174
|
-
const
|
|
7171
|
+
let Ue = /* @__PURE__ */ new WeakMap(), At = /* @__PURE__ */ new WeakMap(), Ct = {}, Xt = 0;
|
|
7172
|
+
const No = (o) => o && o.nodeType === Node.ELEMENT_NODE, Zt = (...o) => {
|
|
7175
7173
|
console.error(`Error: ${o.join(" ")}. Skip setting aria-hidden.`);
|
|
7176
|
-
}, El = (o, t) =>
|
|
7177
|
-
if (!
|
|
7174
|
+
}, El = (o, t) => No(o) ? t.map((e) => {
|
|
7175
|
+
if (!No(e))
|
|
7178
7176
|
return Zt(e, "is not a valid element"), null;
|
|
7179
7177
|
let i = e;
|
|
7180
7178
|
for (; i && i !== o; ) {
|
|
@@ -7185,34 +7183,34 @@ const zo = (o) => o && o.nodeType === Node.ELEMENT_NODE, Zt = (...o) => {
|
|
|
7185
7183
|
return Zt(e, "is not contained inside", o), null;
|
|
7186
7184
|
}).filter((e) => !!e) : (Zt(o, "is not a valid element"), []), Sl = (o, t, e, i) => {
|
|
7187
7185
|
const s = El(t, Array.isArray(o) ? o : [o]);
|
|
7188
|
-
|
|
7189
|
-
const r =
|
|
7190
|
-
if (!
|
|
7186
|
+
Ct[e] || (Ct[e] = /* @__PURE__ */ new WeakMap());
|
|
7187
|
+
const r = Ct[e], n = [], a = /* @__PURE__ */ new Set(), l = new Set(s), c = (d) => {
|
|
7188
|
+
if (!d || a.has(d))
|
|
7191
7189
|
return;
|
|
7192
|
-
a.add(
|
|
7193
|
-
const h =
|
|
7194
|
-
h && c(h), c(
|
|
7190
|
+
a.add(d);
|
|
7191
|
+
const h = d.assignedSlot;
|
|
7192
|
+
h && c(h), c(d.parentNode || d.host);
|
|
7195
7193
|
};
|
|
7196
7194
|
s.forEach(c);
|
|
7197
|
-
const
|
|
7198
|
-
if (!
|
|
7195
|
+
const u = (d) => {
|
|
7196
|
+
if (!d || l.has(d))
|
|
7199
7197
|
return;
|
|
7200
|
-
const h =
|
|
7201
|
-
(h ? [...
|
|
7198
|
+
const h = d.shadowRoot;
|
|
7199
|
+
(h ? [...d.children, ...h.children] : [...d.children]).forEach((g) => {
|
|
7202
7200
|
if (!["template", "script", "style"].includes(g.localName))
|
|
7203
7201
|
if (a.has(g))
|
|
7204
|
-
|
|
7202
|
+
u(g);
|
|
7205
7203
|
else {
|
|
7206
7204
|
const p = g.getAttribute(i), _ = p !== null && p !== "false", y = (Ue.get(g) || 0) + 1, v = (r.get(g) || 0) + 1;
|
|
7207
|
-
Ue.set(g, y), r.set(g, v), n.push(g), y === 1 && _ &&
|
|
7205
|
+
Ue.set(g, y), r.set(g, v), n.push(g), y === 1 && _ && At.set(g, !0), v === 1 && g.setAttribute(e, "true"), _ || g.setAttribute(i, "true");
|
|
7208
7206
|
}
|
|
7209
7207
|
});
|
|
7210
7208
|
};
|
|
7211
|
-
return
|
|
7212
|
-
n.forEach((
|
|
7213
|
-
const h = Ue.get(
|
|
7214
|
-
Ue.set(
|
|
7215
|
-
}), Xt -= 1, Xt || (Ue = /* @__PURE__ */ new WeakMap(), Ue = /* @__PURE__ */ new WeakMap(),
|
|
7209
|
+
return u(t), a.clear(), Xt += 1, () => {
|
|
7210
|
+
n.forEach((d) => {
|
|
7211
|
+
const h = Ue.get(d) - 1, m = r.get(d) - 1;
|
|
7212
|
+
Ue.set(d, h), r.set(d, m), h || (At.has(d) ? At.delete(d) : d.removeAttribute(i)), m || d.removeAttribute(e);
|
|
7213
|
+
}), Xt -= 1, Xt || (Ue = /* @__PURE__ */ new WeakMap(), Ue = /* @__PURE__ */ new WeakMap(), At = /* @__PURE__ */ new WeakMap(), Ct = {});
|
|
7216
7214
|
};
|
|
7217
7215
|
}, qs = (o, t = document.body, e = "data-aria-hidden") => {
|
|
7218
7216
|
const i = Array.from(Array.isArray(o) ? o : [o]);
|
|
@@ -7223,7 +7221,7 @@ const zo = (o) => o && o.nodeType === Node.ELEMENT_NODE, Zt = (...o) => {
|
|
|
7223
7221
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7224
7222
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7225
7223
|
*/
|
|
7226
|
-
class
|
|
7224
|
+
class Al {
|
|
7227
7225
|
/**
|
|
7228
7226
|
* @param {HTMLElement} host
|
|
7229
7227
|
*/
|
|
@@ -7254,7 +7252,7 @@ class Cl {
|
|
|
7254
7252
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7255
7253
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7256
7254
|
*/
|
|
7257
|
-
class
|
|
7255
|
+
class Cl {
|
|
7258
7256
|
/**
|
|
7259
7257
|
* Saves the given node as a target for restoring focus to
|
|
7260
7258
|
* when `restoreFocus()` is called. If no node is provided,
|
|
@@ -7450,7 +7448,7 @@ const kl = (o) => class extends it(o) {
|
|
|
7450
7448
|
};
|
|
7451
7449
|
}
|
|
7452
7450
|
constructor() {
|
|
7453
|
-
super(), this.__ariaModalController = new
|
|
7451
|
+
super(), this.__ariaModalController = new Al(this), this.__focusTrapController = new Pl(this), this.__focusRestorationController = new Cl();
|
|
7454
7452
|
}
|
|
7455
7453
|
/** @protected */
|
|
7456
7454
|
ready() {
|
|
@@ -7463,7 +7461,7 @@ const kl = (o) => class extends it(o) {
|
|
|
7463
7461
|
*/
|
|
7464
7462
|
_resetFocus() {
|
|
7465
7463
|
if (this.focusTrap && (this.__ariaModalController.close(), this.__focusTrapController.releaseFocus()), this.restoreFocusOnClose && this._shouldRestoreFocus()) {
|
|
7466
|
-
const e = !
|
|
7464
|
+
const e = !Vi();
|
|
7467
7465
|
this.__focusRestorationController.restoreFocus({ preventScroll: e });
|
|
7468
7466
|
}
|
|
7469
7467
|
}
|
|
@@ -7847,25 +7845,25 @@ function Ol(o) {
|
|
|
7847
7845
|
}
|
|
7848
7846
|
return t;
|
|
7849
7847
|
}
|
|
7850
|
-
function
|
|
7848
|
+
function Ui(o) {
|
|
7851
7849
|
return o ? new Set(o.split(" ")) : /* @__PURE__ */ new Set();
|
|
7852
7850
|
}
|
|
7853
7851
|
function Vt(o) {
|
|
7854
7852
|
return o ? [...o].join(" ") : "";
|
|
7855
7853
|
}
|
|
7856
7854
|
function Gs(o, t, e) {
|
|
7857
|
-
const i =
|
|
7855
|
+
const i = Ui(o.getAttribute(t));
|
|
7858
7856
|
i.add(e), o.setAttribute(t, Vt(i));
|
|
7859
7857
|
}
|
|
7860
7858
|
function Il(o, t, e) {
|
|
7861
|
-
const i =
|
|
7859
|
+
const i = Ui(o.getAttribute(t));
|
|
7862
7860
|
if (i.delete(e), i.size === 0) {
|
|
7863
7861
|
o.removeAttribute(t);
|
|
7864
7862
|
return;
|
|
7865
7863
|
}
|
|
7866
7864
|
o.setAttribute(t, Vt(i));
|
|
7867
7865
|
}
|
|
7868
|
-
function
|
|
7866
|
+
function Fl(o) {
|
|
7869
7867
|
return o.nodeType === Node.TEXT_NODE && o.textContent.trim() === "";
|
|
7870
7868
|
}
|
|
7871
7869
|
/**
|
|
@@ -7873,7 +7871,7 @@ function Nl(o) {
|
|
|
7873
7871
|
* Copyright (c) 2024 Vaadin Ltd.
|
|
7874
7872
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7875
7873
|
*/
|
|
7876
|
-
function
|
|
7874
|
+
function Nl(o, t) {
|
|
7877
7875
|
let e = null;
|
|
7878
7876
|
const i = document.documentElement;
|
|
7879
7877
|
function s() {
|
|
@@ -7881,16 +7879,16 @@ function zl(o, t) {
|
|
|
7881
7879
|
}
|
|
7882
7880
|
function r(n = !1, a = 1) {
|
|
7883
7881
|
s();
|
|
7884
|
-
const { left: l, top: c, width:
|
|
7885
|
-
if (n || t(), !
|
|
7882
|
+
const { left: l, top: c, width: u, height: d } = o.getBoundingClientRect();
|
|
7883
|
+
if (n || t(), !u || !d)
|
|
7886
7884
|
return;
|
|
7887
|
-
const h = Math.floor(c), m = Math.floor(i.clientWidth - (l +
|
|
7885
|
+
const h = Math.floor(c), m = Math.floor(i.clientWidth - (l + u)), g = Math.floor(i.clientHeight - (c + d)), p = Math.floor(l), y = {
|
|
7888
7886
|
rootMargin: `${-h}px ${-m}px ${-g}px ${-p}px`,
|
|
7889
7887
|
threshold: Math.max(0, Math.min(1, a)) || 1
|
|
7890
7888
|
};
|
|
7891
7889
|
let v = !0;
|
|
7892
|
-
function A
|
|
7893
|
-
let D =
|
|
7890
|
+
function C(A) {
|
|
7891
|
+
let D = A[0].intersectionRatio;
|
|
7894
7892
|
if (D !== a) {
|
|
7895
7893
|
if (!v)
|
|
7896
7894
|
return r();
|
|
@@ -7898,7 +7896,7 @@ function zl(o, t) {
|
|
|
7898
7896
|
}
|
|
7899
7897
|
v = !1;
|
|
7900
7898
|
}
|
|
7901
|
-
e = new IntersectionObserver(
|
|
7899
|
+
e = new IntersectionObserver(C, y), e.observe(o);
|
|
7902
7900
|
}
|
|
7903
7901
|
return r(!0), s;
|
|
7904
7902
|
}
|
|
@@ -7913,13 +7911,13 @@ const ei = {
|
|
|
7913
7911
|
}, ti = {
|
|
7914
7912
|
start: "left",
|
|
7915
7913
|
end: "right"
|
|
7916
|
-
},
|
|
7914
|
+
}, zo = new ResizeObserver((o) => {
|
|
7917
7915
|
setTimeout(() => {
|
|
7918
7916
|
o.forEach((t) => {
|
|
7919
7917
|
t.target.__overlay && t.target.__overlay._updatePosition();
|
|
7920
7918
|
});
|
|
7921
7919
|
});
|
|
7922
|
-
}),
|
|
7920
|
+
}), zl = (o) => class extends o {
|
|
7923
7921
|
static get properties() {
|
|
7924
7922
|
return {
|
|
7925
7923
|
/**
|
|
@@ -8020,7 +8018,7 @@ const ei = {
|
|
|
8020
8018
|
__addUpdatePositionEventListeners() {
|
|
8021
8019
|
window.visualViewport.addEventListener("resize", this._updatePosition), window.visualViewport.addEventListener("scroll", this.__onScroll, !0), this.__positionTargetAncestorRootNodes = Ol(this.positionTarget), this.__positionTargetAncestorRootNodes.forEach((e) => {
|
|
8022
8020
|
e.addEventListener("scroll", this.__onScroll, !0);
|
|
8023
|
-
}), this.positionTarget && (this.__observePositionTargetMove =
|
|
8021
|
+
}), this.positionTarget && (this.__observePositionTargetMove = Nl(this.positionTarget, () => {
|
|
8024
8022
|
this._updatePosition();
|
|
8025
8023
|
}));
|
|
8026
8024
|
}
|
|
@@ -8032,7 +8030,7 @@ const ei = {
|
|
|
8032
8030
|
}
|
|
8033
8031
|
/** @private */
|
|
8034
8032
|
__overlayOpenedChanged(e, i) {
|
|
8035
|
-
if (this.__removeUpdatePositionEventListeners(), i && (i.__overlay = null,
|
|
8033
|
+
if (this.__removeUpdatePositionEventListeners(), i && (i.__overlay = null, zo.unobserve(i), e && (this.__addUpdatePositionEventListeners(), i.__overlay = this, zo.observe(i))), e) {
|
|
8036
8034
|
const s = getComputedStyle(this);
|
|
8037
8035
|
this.__margins || (this.__margins = {}, ["top", "bottom", "left", "right"].forEach((r) => {
|
|
8038
8036
|
this.__margins[r] = parseInt(s[r], 10);
|
|
@@ -8105,7 +8103,7 @@ const ei = {
|
|
|
8105
8103
|
}
|
|
8106
8104
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
8107
8105
|
__shouldAlignStart(e, i, s, r, n, a, l) {
|
|
8108
|
-
const c = s - e[a ? l.end : l.start] - r[l.end],
|
|
8106
|
+
const c = s - e[a ? l.end : l.start] - r[l.end], u = e[a ? l.start : l.end] - r[l.start], d = n ? c : u, m = d > (n ? u : c) || d > i;
|
|
8109
8107
|
return n === m;
|
|
8110
8108
|
}
|
|
8111
8109
|
/**
|
|
@@ -8142,7 +8140,7 @@ const ei = {
|
|
|
8142
8140
|
*/
|
|
8143
8141
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
8144
8142
|
__calculatePositionInOneDimension(e, i, s, r, n, a) {
|
|
8145
|
-
const l = a ? r.start : r.end, c = a ? r.end : r.start,
|
|
8143
|
+
const l = a ? r.start : r.end, c = a ? r.end : r.start, u = parseFloat(n.style[l] || getComputedStyle(n)[l]), d = this.__adjustBottomProperty(l, r, u), h = i[a ? r.start : r.end] - e[s === a ? r.end : r.start], m = d ? `${d}px` : `${u + h * (a ? -1 : 1)}px`;
|
|
8146
8144
|
return {
|
|
8147
8145
|
[l]: m,
|
|
8148
8146
|
[c]: ""
|
|
@@ -8154,7 +8152,7 @@ const ei = {
|
|
|
8154
8152
|
* Copyright (c) 2015 - 2024 Vaadin Ltd.
|
|
8155
8153
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8156
8154
|
*/
|
|
8157
|
-
const Ll = (o) => class extends
|
|
8155
|
+
const Ll = (o) => class extends zl(Ml(o)) {
|
|
8158
8156
|
/**
|
|
8159
8157
|
* Override method inherited from `OverlayMixin` to not close on input click.
|
|
8160
8158
|
* Needed to ignore date-picker's own input in the mousedown listener below.
|
|
@@ -8773,7 +8771,7 @@ function Kl() {
|
|
|
8773
8771
|
}
|
|
8774
8772
|
Ge.splice(0, o), Xs += o;
|
|
8775
8773
|
}
|
|
8776
|
-
const
|
|
8774
|
+
const zt = {
|
|
8777
8775
|
/**
|
|
8778
8776
|
* Returns a sub-module with the async interface providing the provided
|
|
8779
8777
|
* delay.
|
|
@@ -8894,7 +8892,7 @@ Code distributed by Google as part of the polymer project is also
|
|
|
8894
8892
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
8895
8893
|
*/
|
|
8896
8894
|
const Si = /* @__PURE__ */ new Set();
|
|
8897
|
-
let Qe = class
|
|
8895
|
+
let Qe = class Ai {
|
|
8898
8896
|
/**
|
|
8899
8897
|
* Creates a debouncer if no debouncer is passed as a parameter
|
|
8900
8898
|
* or it cancels an active debouncer otherwise. The following
|
|
@@ -8930,7 +8928,7 @@ let Qe = class Ci {
|
|
|
8930
8928
|
* @return {!Debouncer} Returns a debouncer object.
|
|
8931
8929
|
*/
|
|
8932
8930
|
static debounce(t, e, i) {
|
|
8933
|
-
return t instanceof
|
|
8931
|
+
return t instanceof Ai ? t._cancelAsync() : t = new Ai(), t.setConfig(e, i), t;
|
|
8934
8932
|
}
|
|
8935
8933
|
constructor() {
|
|
8936
8934
|
this._asyncModule = null, this._callback = null, this._timer = null;
|
|
@@ -9182,7 +9180,7 @@ class Le extends EventTarget {
|
|
|
9182
9180
|
observeSlot() {
|
|
9183
9181
|
const { slotName: t } = this, e = t === "" ? "slot:not([name])" : `slot[name=${t}]`, i = this.host.shadowRoot.querySelector(e);
|
|
9184
9182
|
this.__slotObserver = new Ql(i, ({ addedNodes: s, removedNodes: r }) => {
|
|
9185
|
-
const n = this.multiple ? this.nodes : [this.node], a = s.filter((l) => !
|
|
9183
|
+
const n = this.multiple ? this.nodes : [this.node], a = s.filter((l) => !Fl(l) && !n.includes(l));
|
|
9186
9184
|
r.length && (this.nodes = n.filter((l) => !r.includes(l)), r.forEach((l) => {
|
|
9187
9185
|
this.teardownNode(l);
|
|
9188
9186
|
})), a && a.length > 0 && (this.multiple ? (this.defaultNode && this.defaultNode.remove(), this.nodes = [...n, ...a].filter((l) => l !== this.defaultNode), a.forEach((l) => {
|
|
@@ -9380,7 +9378,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
9380
9378
|
Code distributed by Google as part of the polymer project is also
|
|
9381
9379
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
9382
9380
|
*/
|
|
9383
|
-
const oc = (o) => o,
|
|
9381
|
+
const oc = !1, sc = (o) => o, Wi = typeof document.head.style.touchAction == "string", Ci = "__polymerGestures", oi = "__polymerGesturesHandled", Pi = "__polymerGesturesTouchAction", Ho = 25, $o = 5, rc = 2, nc = ["mousedown", "mousemove", "mouseup", "click"], ac = [0, 1, 4, 2], lc = function() {
|
|
9384
9382
|
try {
|
|
9385
9383
|
return new MouseEvent("test", { buttons: 1 }).buttons === 1;
|
|
9386
9384
|
} catch {
|
|
@@ -9388,15 +9386,15 @@ const oc = (o) => o, tr = typeof document.head.style.touchAction == "string", Ai
|
|
|
9388
9386
|
}
|
|
9389
9387
|
}();
|
|
9390
9388
|
function qi(o) {
|
|
9391
|
-
return
|
|
9389
|
+
return nc.indexOf(o) > -1;
|
|
9392
9390
|
}
|
|
9393
|
-
let
|
|
9391
|
+
let tr = !1;
|
|
9394
9392
|
(function() {
|
|
9395
9393
|
try {
|
|
9396
9394
|
const o = Object.defineProperty({}, "passive", {
|
|
9397
9395
|
// eslint-disable-next-line getter-return
|
|
9398
9396
|
get() {
|
|
9399
|
-
|
|
9397
|
+
tr = !0;
|
|
9400
9398
|
}
|
|
9401
9399
|
});
|
|
9402
9400
|
window.addEventListener("test", null, o), window.removeEventListener("test", null, o);
|
|
@@ -9404,9 +9402,10 @@ let lc = !1;
|
|
|
9404
9402
|
}
|
|
9405
9403
|
})();
|
|
9406
9404
|
function cc(o) {
|
|
9407
|
-
qi(o)
|
|
9405
|
+
if (!(qi(o) || o === "touchend") && Wi && tr && oc)
|
|
9406
|
+
return { passive: !0 };
|
|
9408
9407
|
}
|
|
9409
|
-
const
|
|
9408
|
+
const uc = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), dc = {
|
|
9410
9409
|
button: !0,
|
|
9411
9410
|
command: !0,
|
|
9412
9411
|
fieldset: !0,
|
|
@@ -9423,7 +9422,7 @@ function Be(o) {
|
|
|
9423
9422
|
return !1;
|
|
9424
9423
|
if (t === "mousemove") {
|
|
9425
9424
|
let i = o.buttons === void 0 ? 1 : o.buttons;
|
|
9426
|
-
return o instanceof window.MouseEvent && !
|
|
9425
|
+
return o instanceof window.MouseEvent && !lc && (i = ac[o.which] || 0), !!(i & 1);
|
|
9427
9426
|
}
|
|
9428
9427
|
return (o.button === void 0 ? 0 : o.button) === 0;
|
|
9429
9428
|
}
|
|
@@ -9444,6 +9443,10 @@ function hc(o) {
|
|
|
9444
9443
|
return !1;
|
|
9445
9444
|
}
|
|
9446
9445
|
const we = {
|
|
9446
|
+
mouse: {
|
|
9447
|
+
target: null,
|
|
9448
|
+
mouseIgnoreJob: null
|
|
9449
|
+
},
|
|
9447
9450
|
touch: {
|
|
9448
9451
|
x: 0,
|
|
9449
9452
|
y: 0,
|
|
@@ -9486,7 +9489,7 @@ function Te(o) {
|
|
|
9486
9489
|
return t.length > 0 ? t[0] : o.target;
|
|
9487
9490
|
}
|
|
9488
9491
|
function mc(o) {
|
|
9489
|
-
const t = o.type, i = o.currentTarget[
|
|
9492
|
+
const t = o.type, i = o.currentTarget[Ci];
|
|
9490
9493
|
if (!i)
|
|
9491
9494
|
return;
|
|
9492
9495
|
const s = i[t];
|
|
@@ -9496,7 +9499,7 @@ function mc(o) {
|
|
|
9496
9499
|
const n = o.changedTouches[0];
|
|
9497
9500
|
if (t === "touchstart" && o.touches.length === 1 && (we.touch.id = n.identifier), we.touch.id !== n.identifier)
|
|
9498
9501
|
return;
|
|
9499
|
-
|
|
9502
|
+
Wi || (t === "touchstart" || t === "touchmove") && _c(o);
|
|
9500
9503
|
}
|
|
9501
9504
|
const r = o[oi];
|
|
9502
9505
|
if (!r.skip) {
|
|
@@ -9525,10 +9528,10 @@ function ge(o, t, e) {
|
|
|
9525
9528
|
}
|
|
9526
9529
|
function gc(o, t, e) {
|
|
9527
9530
|
const i = Ki[t], s = i.deps, r = i.name;
|
|
9528
|
-
let n = o[
|
|
9529
|
-
n || (o[
|
|
9531
|
+
let n = o[Ci];
|
|
9532
|
+
n || (o[Ci] = n = {});
|
|
9530
9533
|
for (let a = 0, l, c; a < s.length; a++)
|
|
9531
|
-
l = s[a], !(
|
|
9534
|
+
l = s[a], !(uc && qi(l) && l !== "click") && (c = n[l], c || (n[l] = c = { _count: 0 }), c._count === 0 && o.addEventListener(l, mc, cc(l)), c[r] = (c[r] || 0) + 1, c._count = (c._count || 0) + 1);
|
|
9532
9535
|
o.addEventListener(t, e), i.touchAction && sr(o, i.touchAction);
|
|
9533
9536
|
}
|
|
9534
9537
|
function Gi(o) {
|
|
@@ -9546,13 +9549,13 @@ function bc(o) {
|
|
|
9546
9549
|
return null;
|
|
9547
9550
|
}
|
|
9548
9551
|
function sr(o, t) {
|
|
9549
|
-
|
|
9552
|
+
Wi && o instanceof HTMLElement && Xl.run(() => {
|
|
9550
9553
|
o.style.touchAction = t;
|
|
9551
9554
|
}), o[Pi] = t;
|
|
9552
9555
|
}
|
|
9553
9556
|
function Ji(o, t, e) {
|
|
9554
9557
|
const i = new Event(t, { bubbles: !0, cancelable: !0, composed: !0 });
|
|
9555
|
-
if (i.detail = e,
|
|
9558
|
+
if (i.detail = e, sc(
|
|
9556
9559
|
/** @type {!Node} */
|
|
9557
9560
|
o
|
|
9558
9561
|
).dispatchEvent(i), i.defaultPrevented) {
|
|
@@ -9643,7 +9646,7 @@ Gi({
|
|
|
9643
9646
|
moves: [],
|
|
9644
9647
|
/** @this {GestureInfo} */
|
|
9645
9648
|
addMove(o) {
|
|
9646
|
-
this.moves.length >
|
|
9649
|
+
this.moves.length > rc && this.moves.shift(), this.moves.push(o);
|
|
9647
9650
|
},
|
|
9648
9651
|
movefn: null,
|
|
9649
9652
|
upfn: null,
|
|
@@ -9783,7 +9786,7 @@ Gi({
|
|
|
9783
9786
|
});
|
|
9784
9787
|
function jo(o, t, e) {
|
|
9785
9788
|
const i = Math.abs(t.clientX - o.x), s = Math.abs(t.clientY - o.y), r = Te(e || t);
|
|
9786
|
-
!r ||
|
|
9789
|
+
!r || dc[
|
|
9787
9790
|
/** @type {!HTMLElement} */
|
|
9788
9791
|
r.localName
|
|
9789
9792
|
] && r.hasAttribute("disabled") || (isNaN(i) || isNaN(s) || i <= Ho && s <= Ho || hc(t)) && (o.prevent || Ji(r, "tap", {
|
|
@@ -9975,7 +9978,7 @@ const Xi = U(
|
|
|
9975
9978
|
* @return {boolean}
|
|
9976
9979
|
*/
|
|
9977
9980
|
get _keyboardActive() {
|
|
9978
|
-
return
|
|
9981
|
+
return Vi();
|
|
9979
9982
|
}
|
|
9980
9983
|
/** @protected */
|
|
9981
9984
|
ready() {
|
|
@@ -10216,7 +10219,7 @@ function Sc(o) {
|
|
|
10216
10219
|
const r = e + t(s, i), n = t(o.month + 1), a = t(o.day);
|
|
10217
10220
|
return [r, n, a].join("-");
|
|
10218
10221
|
}
|
|
10219
|
-
function
|
|
10222
|
+
function Ac(o) {
|
|
10220
10223
|
return o instanceof Date ? Sc({
|
|
10221
10224
|
year: o.getFullYear(),
|
|
10222
10225
|
month: o.getMonth(),
|
|
@@ -10324,7 +10327,7 @@ class Rt {
|
|
|
10324
10327
|
}
|
|
10325
10328
|
}
|
|
10326
10329
|
let yt = /* @__PURE__ */ new Set();
|
|
10327
|
-
const
|
|
10330
|
+
const Cc = function(o) {
|
|
10328
10331
|
yt.add(o);
|
|
10329
10332
|
}, Pc = function() {
|
|
10330
10333
|
const o = !!yt.size;
|
|
@@ -10410,7 +10413,7 @@ cr.innerHTML = `
|
|
|
10410
10413
|
<div id="fullHeight"></div>
|
|
10411
10414
|
</div>
|
|
10412
10415
|
`;
|
|
10413
|
-
class
|
|
10416
|
+
class ur extends HTMLElement {
|
|
10414
10417
|
constructor() {
|
|
10415
10418
|
super(), this.attachShadow({ mode: "open" }).appendChild(cr.content.cloneNode(!0)), this.bufferSize = 20, this._initialScroll = 5e5, this._initialIndex = 0, this._activated = !1;
|
|
10416
10419
|
}
|
|
@@ -10508,7 +10511,7 @@ class dr extends HTMLElement {
|
|
|
10508
10511
|
const t = this.$.scroller.scrollTop;
|
|
10509
10512
|
(t < this._bufferHeight || t > this._initialScroll * 2 - this._bufferHeight) && (this._initialIndex = ~~this.position, this._reset());
|
|
10510
10513
|
const e = this.itemHeight + this.bufferOffset, i = t > this._buffers[1].translateY + e, s = t < this._buffers[0].translateY + e;
|
|
10511
|
-
(i || s) && (this._translateBuffer(s), this._updateClones()), this._preventScrollEvent || (this.dispatchEvent(new CustomEvent("custom-scroll", { bubbles: !1, composed: !0 })), this._mayHaveMomentum = !0), this._preventScrollEvent = !1, this._debouncerScrollFinish = Qe.debounce(this._debouncerScrollFinish,
|
|
10514
|
+
(i || s) && (this._translateBuffer(s), this._updateClones()), this._preventScrollEvent || (this.dispatchEvent(new CustomEvent("custom-scroll", { bubbles: !1, composed: !0 })), this._mayHaveMomentum = !0), this._preventScrollEvent = !1, this._debouncerScrollFinish = Qe.debounce(this._debouncerScrollFinish, zt.after(200), () => {
|
|
10512
10515
|
const r = this.$.scroller.getBoundingClientRect();
|
|
10513
10516
|
!this._isVisible(this._buffers[0], r) && !this._isVisible(this._buffers[1], r) && (this.position = this.position);
|
|
10514
10517
|
});
|
|
@@ -10517,7 +10520,7 @@ class dr extends HTMLElement {
|
|
|
10517
10520
|
_reset() {
|
|
10518
10521
|
this._scrollDisabled = !0, this.$.scroller.scrollTop = this._initialScroll, this._buffers[0].translateY = this._initialScroll - this._bufferHeight, this._buffers[1].translateY = this._initialScroll, this._buffers.forEach((t) => {
|
|
10519
10522
|
t.style.transform = `translate3d(0, ${t.translateY}px, 0)`;
|
|
10520
|
-
}), this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones(!0), this._debouncerUpdateClones = Qe.debounce(this._debouncerUpdateClones,
|
|
10523
|
+
}), this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones(!0), this._debouncerUpdateClones = Qe.debounce(this._debouncerUpdateClones, zt.after(200), () => {
|
|
10521
10524
|
this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones();
|
|
10522
10525
|
}), this._scrollDisabled = !1;
|
|
10523
10526
|
}
|
|
@@ -10569,8 +10572,8 @@ class dr extends HTMLElement {
|
|
|
10569
10572
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10570
10573
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10571
10574
|
*/
|
|
10572
|
-
const
|
|
10573
|
-
|
|
10575
|
+
const dr = document.createElement("template");
|
|
10576
|
+
dr.innerHTML = `
|
|
10574
10577
|
<style>
|
|
10575
10578
|
:host {
|
|
10576
10579
|
--vaadin-infinite-scroller-item-height: 270px;
|
|
@@ -10583,12 +10586,12 @@ ur.innerHTML = `
|
|
|
10583
10586
|
}
|
|
10584
10587
|
</style>
|
|
10585
10588
|
`;
|
|
10586
|
-
class kc extends
|
|
10589
|
+
class kc extends ur {
|
|
10587
10590
|
static get is() {
|
|
10588
10591
|
return "vaadin-date-picker-month-scroller";
|
|
10589
10592
|
}
|
|
10590
10593
|
constructor() {
|
|
10591
|
-
super(), this.bufferSize = 3, this.shadowRoot.appendChild(
|
|
10594
|
+
super(), this.bufferSize = 3, this.shadowRoot.appendChild(dr.content.cloneNode(!0));
|
|
10592
10595
|
}
|
|
10593
10596
|
/**
|
|
10594
10597
|
* @protected
|
|
@@ -10649,7 +10652,7 @@ hr.innerHTML = `
|
|
|
10649
10652
|
}
|
|
10650
10653
|
</style>
|
|
10651
10654
|
`;
|
|
10652
|
-
class Dc extends
|
|
10655
|
+
class Dc extends ur {
|
|
10653
10656
|
static get is() {
|
|
10654
10657
|
return "vaadin-date-picker-year-scroller";
|
|
10655
10658
|
}
|
|
@@ -10824,13 +10827,13 @@ Ti.prototype = Object.create(HTMLTemplateElement.prototype, {
|
|
|
10824
10827
|
writable: !0
|
|
10825
10828
|
}
|
|
10826
10829
|
});
|
|
10827
|
-
const pr =
|
|
10828
|
-
function
|
|
10830
|
+
const pr = Yi(Ti), Ic = to(pr);
|
|
10831
|
+
function Fc(o, t) {
|
|
10829
10832
|
Di = o, Object.setPrototypeOf(o, t.prototype), new t(), Di = null;
|
|
10830
10833
|
}
|
|
10831
|
-
const
|
|
10834
|
+
const Nc = Yi(class {
|
|
10832
10835
|
});
|
|
10833
|
-
function
|
|
10836
|
+
function zc(o, t) {
|
|
10834
10837
|
for (let e = 0; e < t.length; e++) {
|
|
10835
10838
|
let i = t[e];
|
|
10836
10839
|
if (!!o != !!i.__hideTemplateChildren__)
|
|
@@ -10848,7 +10851,7 @@ function Fc(o, t) {
|
|
|
10848
10851
|
i.__hideTemplateChildren__ = o, i._showHideChildren && i._showHideChildren(o);
|
|
10849
10852
|
}
|
|
10850
10853
|
}
|
|
10851
|
-
class Oe extends
|
|
10854
|
+
class Oe extends Nc {
|
|
10852
10855
|
constructor(t) {
|
|
10853
10856
|
super(), this._configureProperties(t), this.root = this._stampTemplate(this.__dataHost);
|
|
10854
10857
|
let e = [];
|
|
@@ -10917,7 +10920,7 @@ class Oe extends zc {
|
|
|
10917
10920
|
* @protected
|
|
10918
10921
|
*/
|
|
10919
10922
|
_showHideChildren(t) {
|
|
10920
|
-
|
|
10923
|
+
zc(t, this.children);
|
|
10921
10924
|
}
|
|
10922
10925
|
/**
|
|
10923
10926
|
* Overrides default property-effects implementation to intercept
|
|
@@ -11014,7 +11017,7 @@ function Bc(o, t, e, i) {
|
|
|
11014
11017
|
bs && i && Vc(t, e, i);
|
|
11015
11018
|
}
|
|
11016
11019
|
if (o.__dataProto && Object.assign(o.__data, o.__dataProto), r)
|
|
11017
|
-
|
|
11020
|
+
Fc(o, n), o.__dataTemp = {}, o.__dataPending = null, o.__dataOld = null, o._enableProperties();
|
|
11018
11021
|
else {
|
|
11019
11022
|
Object.setPrototypeOf(o, n.prototype);
|
|
11020
11023
|
const a = t.hostProps;
|
|
@@ -11070,7 +11073,7 @@ function jc() {
|
|
|
11070
11073
|
};
|
|
11071
11074
|
}
|
|
11072
11075
|
function Mi(o, t, e) {
|
|
11073
|
-
if (
|
|
11076
|
+
if (Ft && !Vo(o))
|
|
11074
11077
|
throw new Error("strictTemplatePolicy: template owner not trusted");
|
|
11075
11078
|
if (e = /** @type {!TemplatizeOptions} */
|
|
11076
11079
|
e || {}, o.__templatizeOwner)
|
|
@@ -11430,7 +11433,7 @@ class Wo extends qc {
|
|
|
11430
11433
|
this.__renderDebouncer,
|
|
11431
11434
|
e > 0 ? oa.after(e) : ks,
|
|
11432
11435
|
t.bind(this)
|
|
11433
|
-
),
|
|
11436
|
+
), Cc(this.__renderDebouncer);
|
|
11434
11437
|
}
|
|
11435
11438
|
/**
|
|
11436
11439
|
* Forces the element to render its content. Normally rendering is
|
|
@@ -11732,9 +11735,9 @@ const Kc = (o) => class extends Xi(o) {
|
|
|
11732
11735
|
if (e === void 0 || i === void 0)
|
|
11733
11736
|
return [];
|
|
11734
11737
|
const { weekdays: s, weekdaysShort: r, firstDayOfWeek: n } = e, a = this._applyFirstDayOfWeek(r, n);
|
|
11735
|
-
return this._applyFirstDayOfWeek(s, n).map((c,
|
|
11738
|
+
return this._applyFirstDayOfWeek(s, n).map((c, u) => ({
|
|
11736
11739
|
weekDay: c,
|
|
11737
|
-
weekDayShort: a[
|
|
11740
|
+
weekDayShort: a[u]
|
|
11738
11741
|
})).slice(0, 7);
|
|
11739
11742
|
}
|
|
11740
11743
|
/** @private */
|
|
@@ -12228,9 +12231,9 @@ const Xc = (o) => class extends o {
|
|
|
12228
12231
|
e && (e.textContent = i && i.today, e.disabled = !this._isTodayAllowed(s, r, n));
|
|
12229
12232
|
}
|
|
12230
12233
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
12231
|
-
__updateCalendars(e, i, s, r, n, a, l, c,
|
|
12234
|
+
__updateCalendars(e, i, s, r, n, a, l, c, u, d) {
|
|
12232
12235
|
e && e.length && e.forEach((h) => {
|
|
12233
|
-
h.i18n = i, h.minDate = s, h.maxDate = r, h.isDateDisabled =
|
|
12236
|
+
h.i18n = i, h.minDate = s, h.maxDate = r, h.isDateDisabled = d, h.focusedDate = a, h.selectedDate = n, h.showWeekNumbers = l, h.ignoreTaps = c, u ? h.setAttribute("theme", u) : h.removeAttribute("theme");
|
|
12234
12237
|
});
|
|
12235
12238
|
}
|
|
12236
12239
|
/** @private */
|
|
@@ -12327,7 +12330,7 @@ const Xc = (o) => class extends o {
|
|
|
12327
12330
|
}
|
|
12328
12331
|
/** @private */
|
|
12329
12332
|
_doIgnoreTaps() {
|
|
12330
|
-
this._ignoreTaps = !0, this._debouncer = Qe.debounce(this._debouncer,
|
|
12333
|
+
this._ignoreTaps = !0, this._debouncer = Qe.debounce(this._debouncer, zt.after(300), () => {
|
|
12331
12334
|
this._ignoreTaps = !1;
|
|
12332
12335
|
});
|
|
12333
12336
|
}
|
|
@@ -12366,19 +12369,19 @@ const Xc = (o) => class extends o {
|
|
|
12366
12369
|
this._revealPromise = new Promise((c) => {
|
|
12367
12370
|
s = c;
|
|
12368
12371
|
});
|
|
12369
|
-
const r = (c,
|
|
12372
|
+
const r = (c, u, d, h) => (c /= h / 2, c < 1 ? d / 2 * c * c + u : (c -= 1, -d / 2 * (c * (c - 2) - 1) + u));
|
|
12370
12373
|
let n = 0;
|
|
12371
12374
|
const a = this._monthScroller.position, l = (c) => {
|
|
12372
12375
|
n || (n = c);
|
|
12373
|
-
const
|
|
12374
|
-
if (
|
|
12375
|
-
const
|
|
12376
|
-
|
|
12376
|
+
const u = c - n;
|
|
12377
|
+
if (u < this.scrollDuration) {
|
|
12378
|
+
const d = r(
|
|
12379
|
+
u,
|
|
12377
12380
|
a,
|
|
12378
12381
|
this._targetPosition - a,
|
|
12379
12382
|
this.scrollDuration
|
|
12380
12383
|
);
|
|
12381
|
-
this._monthScroller.position =
|
|
12384
|
+
this._monthScroller.position = d, window.requestAnimationFrame(l);
|
|
12382
12385
|
} else
|
|
12383
12386
|
this.dispatchEvent(
|
|
12384
12387
|
new CustomEvent("scroll-animation-finished", {
|
|
@@ -12880,14 +12883,14 @@ const mr = U(
|
|
|
12880
12883
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12881
12884
|
*/
|
|
12882
12885
|
const ri = /* @__PURE__ */ new WeakMap();
|
|
12883
|
-
function
|
|
12886
|
+
function eu(o) {
|
|
12884
12887
|
return ri.has(o) || ri.set(o, /* @__PURE__ */ new Set()), ri.get(o);
|
|
12885
12888
|
}
|
|
12886
|
-
function
|
|
12889
|
+
function tu(o, t) {
|
|
12887
12890
|
const e = document.createElement("style");
|
|
12888
12891
|
e.textContent = o, t === document ? document.head.appendChild(e) : t.insertBefore(e, t.firstChild);
|
|
12889
12892
|
}
|
|
12890
|
-
const
|
|
12893
|
+
const iu = U(
|
|
12891
12894
|
(o) => class extends o {
|
|
12892
12895
|
/**
|
|
12893
12896
|
* List of styles to insert into root.
|
|
@@ -12902,9 +12905,9 @@ const id = U(
|
|
|
12902
12905
|
}
|
|
12903
12906
|
/** @private */
|
|
12904
12907
|
__applySlotStyles() {
|
|
12905
|
-
const e = this.getRootNode(), i =
|
|
12908
|
+
const e = this.getRootNode(), i = eu(e);
|
|
12906
12909
|
this.slotStyles.forEach((s) => {
|
|
12907
|
-
i.has(s) || (
|
|
12910
|
+
i.has(s) || (tu(s, e), i.add(s));
|
|
12908
12911
|
});
|
|
12909
12912
|
}
|
|
12910
12913
|
}
|
|
@@ -13118,7 +13121,7 @@ const _r = U(
|
|
|
13118
13121
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13119
13122
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13120
13123
|
*/
|
|
13121
|
-
const
|
|
13124
|
+
const ou = (o) => class extends _r(Ut(o)) {
|
|
13122
13125
|
static get properties() {
|
|
13123
13126
|
return {
|
|
13124
13127
|
/**
|
|
@@ -13206,11 +13209,11 @@ function br(o, t) {
|
|
|
13206
13209
|
const e = io(t);
|
|
13207
13210
|
if (e.has(o))
|
|
13208
13211
|
return;
|
|
13209
|
-
const i =
|
|
13212
|
+
const i = Ui(o.getAttribute(t));
|
|
13210
13213
|
e.set(o, new Set(i));
|
|
13211
13214
|
}
|
|
13212
|
-
function
|
|
13213
|
-
if (!o)
|
|
13215
|
+
function su(o, t) {
|
|
13216
|
+
if (!o || !t)
|
|
13214
13217
|
return;
|
|
13215
13218
|
const e = io(t), i = e.get(o);
|
|
13216
13219
|
!i || i.size === 0 ? o.removeAttribute(t) : Gs(o, t, Vt(i)), e.delete(o);
|
|
@@ -13227,7 +13230,7 @@ function ai(o, t, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
|
13227
13230
|
const l = i || Vt(a);
|
|
13228
13231
|
l && Gs(o, t, l);
|
|
13229
13232
|
}
|
|
13230
|
-
function
|
|
13233
|
+
function ru(o, t) {
|
|
13231
13234
|
br(o, t), gr(o, t);
|
|
13232
13235
|
}
|
|
13233
13236
|
/**
|
|
@@ -13235,7 +13238,7 @@ function rd(o, t) {
|
|
|
13235
13238
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13236
13239
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13237
13240
|
*/
|
|
13238
|
-
class
|
|
13241
|
+
class nu {
|
|
13239
13242
|
constructor(t) {
|
|
13240
13243
|
this.host = t, this.__required = !1;
|
|
13241
13244
|
}
|
|
@@ -13308,7 +13311,7 @@ class nd {
|
|
|
13308
13311
|
* @private
|
|
13309
13312
|
* */
|
|
13310
13313
|
__setAriaLabelToAttribute(t) {
|
|
13311
|
-
this.__target && (t ? (
|
|
13314
|
+
this.__target && (t ? (ru(this.__target, "aria-labelledby"), this.__target.setAttribute("aria-label", t)) : this.__label && (su(this.__target, "aria-labelledby"), this.__target.removeAttribute("aria-label")));
|
|
13312
13315
|
}
|
|
13313
13316
|
/**
|
|
13314
13317
|
* @param {string | null | undefined} labelId
|
|
@@ -13354,7 +13357,7 @@ me.style.clip = "rect(0px, 0px, 0px, 0px)";
|
|
|
13354
13357
|
me.setAttribute("aria-live", "polite");
|
|
13355
13358
|
document.body.appendChild(me);
|
|
13356
13359
|
let Pt;
|
|
13357
|
-
function
|
|
13360
|
+
function au(o, t = {}) {
|
|
13358
13361
|
const e = t.mode || "polite", i = t.timeout === void 0 ? 150 : t.timeout;
|
|
13359
13362
|
e === "alert" ? (me.removeAttribute("aria-live"), me.removeAttribute("role"), Pt = Qe.debounce(Pt, Gl, () => {
|
|
13360
13363
|
me.setAttribute("role", "alert");
|
|
@@ -13482,7 +13485,7 @@ class oo extends Le {
|
|
|
13482
13485
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13483
13486
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13484
13487
|
*/
|
|
13485
|
-
class
|
|
13488
|
+
class lu extends oo {
|
|
13486
13489
|
constructor(t) {
|
|
13487
13490
|
super(t, "error-message", "div");
|
|
13488
13491
|
}
|
|
@@ -13556,7 +13559,7 @@ class ld extends oo {
|
|
|
13556
13559
|
*/
|
|
13557
13560
|
updateDefaultNode(t) {
|
|
13558
13561
|
const { errorMessage: e, invalid: i } = this, s = !!(i && e && e.trim() !== "");
|
|
13559
|
-
t && (t.textContent = s ? e : "", t.hidden = !s, s &&
|
|
13562
|
+
t && (t.textContent = s ? e : "", t.hidden = !s, s && au(e, { mode: "assertive" })), super.updateDefaultNode(t);
|
|
13560
13563
|
}
|
|
13561
13564
|
}
|
|
13562
13565
|
/**
|
|
@@ -13564,7 +13567,7 @@ class ld extends oo {
|
|
|
13564
13567
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13565
13568
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13566
13569
|
*/
|
|
13567
|
-
class
|
|
13570
|
+
class cu extends oo {
|
|
13568
13571
|
constructor(t) {
|
|
13569
13572
|
super(t, "helper", null);
|
|
13570
13573
|
}
|
|
@@ -13619,7 +13622,7 @@ class cd extends oo {
|
|
|
13619
13622
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13620
13623
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13621
13624
|
*/
|
|
13622
|
-
class
|
|
13625
|
+
class uu extends oo {
|
|
13623
13626
|
constructor(t) {
|
|
13624
13627
|
super(t, "label", "label");
|
|
13625
13628
|
}
|
|
@@ -13672,7 +13675,7 @@ class dd extends oo {
|
|
|
13672
13675
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13673
13676
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13674
13677
|
*/
|
|
13675
|
-
const
|
|
13678
|
+
const du = U(
|
|
13676
13679
|
(o) => class extends it(o) {
|
|
13677
13680
|
static get properties() {
|
|
13678
13681
|
return {
|
|
@@ -13687,7 +13690,7 @@ const ud = U(
|
|
|
13687
13690
|
};
|
|
13688
13691
|
}
|
|
13689
13692
|
constructor() {
|
|
13690
|
-
super(), this._labelController = new
|
|
13693
|
+
super(), this._labelController = new uu(this), this._labelController.addEventListener("slot-content-changed", (e) => {
|
|
13691
13694
|
this.toggleAttribute("has-label", e.detail.hasContent);
|
|
13692
13695
|
});
|
|
13693
13696
|
}
|
|
@@ -13787,7 +13790,7 @@ const vr = U(
|
|
|
13787
13790
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13788
13791
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13789
13792
|
*/
|
|
13790
|
-
const
|
|
13793
|
+
const hu = (o) => class extends vr(du(it(o))) {
|
|
13791
13794
|
static get properties() {
|
|
13792
13795
|
return {
|
|
13793
13796
|
/**
|
|
@@ -13837,7 +13840,7 @@ const hd = (o) => class extends vr(ud(it(o))) {
|
|
|
13837
13840
|
return ["_invalidChanged(invalid)", "_requiredChanged(required)"];
|
|
13838
13841
|
}
|
|
13839
13842
|
constructor() {
|
|
13840
|
-
super(), this._fieldAriaController = new
|
|
13843
|
+
super(), this._fieldAriaController = new nu(this), this._helperController = new cu(this), this._errorController = new lu(this), this._errorController.addEventListener("slot-content-changed", (e) => {
|
|
13841
13844
|
this.toggleAttribute("has-error-message", e.detail.hasContent);
|
|
13842
13845
|
}), this._labelController.addEventListener("slot-content-changed", (e) => {
|
|
13843
13846
|
const { hasContent: i, node: s } = e.detail;
|
|
@@ -13928,7 +13931,7 @@ const hd = (o) => class extends vr(ud(it(o))) {
|
|
|
13928
13931
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13929
13932
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13930
13933
|
*/
|
|
13931
|
-
const
|
|
13934
|
+
const pu = U(
|
|
13932
13935
|
(o) => class extends o {
|
|
13933
13936
|
static get properties() {
|
|
13934
13937
|
return {
|
|
@@ -14010,7 +14013,7 @@ const pd = U(
|
|
|
14010
14013
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14011
14014
|
*/
|
|
14012
14015
|
const yr = U(
|
|
14013
|
-
(o) => class extends
|
|
14016
|
+
(o) => class extends pu(vr(_r(o))) {
|
|
14014
14017
|
/**
|
|
14015
14018
|
* An array of attributes which participate in the input validation.
|
|
14016
14019
|
* Changing these attributes will cause the input to re-validate.
|
|
@@ -14094,8 +14097,8 @@ const yr = U(
|
|
|
14094
14097
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14095
14098
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14096
14099
|
*/
|
|
14097
|
-
const
|
|
14098
|
-
mr(yr(
|
|
14100
|
+
const fu = (o) => class extends iu(
|
|
14101
|
+
mr(yr(hu(ou(Ut(o)))))
|
|
14099
14102
|
) {
|
|
14100
14103
|
static get properties() {
|
|
14101
14104
|
return {
|
|
@@ -14227,7 +14230,7 @@ const fd = (o) => class extends id(
|
|
|
14227
14230
|
}
|
|
14228
14231
|
/** @protected */
|
|
14229
14232
|
_markInputPrevented() {
|
|
14230
|
-
this.setAttribute("input-prevented", ""), this._preventInputDebouncer = Qe.debounce(this._preventInputDebouncer,
|
|
14233
|
+
this.setAttribute("input-prevented", ""), this._preventInputDebouncer = Qe.debounce(this._preventInputDebouncer, zt.after(200), () => {
|
|
14231
14234
|
this.removeAttribute("input-prevented");
|
|
14232
14235
|
});
|
|
14233
14236
|
}
|
|
@@ -14281,7 +14284,7 @@ const fd = (o) => class extends id(
|
|
|
14281
14284
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14282
14285
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14283
14286
|
*/
|
|
14284
|
-
class
|
|
14287
|
+
class mu extends Le {
|
|
14285
14288
|
constructor(t, e, i = {}) {
|
|
14286
14289
|
const { uniqueIdPrefix: s } = i;
|
|
14287
14290
|
super(t, "input", "input", {
|
|
@@ -14298,7 +14301,7 @@ class md extends Le {
|
|
|
14298
14301
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14299
14302
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14300
14303
|
*/
|
|
14301
|
-
class
|
|
14304
|
+
class _u {
|
|
14302
14305
|
constructor(t, e) {
|
|
14303
14306
|
this.input = t, this.__preventDuplicateLabelClick = this.__preventDuplicateLabelClick.bind(this), e.addEventListener("slot-content-changed", (i) => {
|
|
14304
14307
|
this.__initLabel(i.detail.node);
|
|
@@ -14331,7 +14334,7 @@ class _d {
|
|
|
14331
14334
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14332
14335
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14333
14336
|
*/
|
|
14334
|
-
const
|
|
14337
|
+
const gu = P`
|
|
14335
14338
|
[part='clear-button'] {
|
|
14336
14339
|
display: none;
|
|
14337
14340
|
cursor: default;
|
|
@@ -14350,7 +14353,7 @@ const gd = P`
|
|
|
14350
14353
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14351
14354
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14352
14355
|
*/
|
|
14353
|
-
const
|
|
14356
|
+
const bu = P`
|
|
14354
14357
|
:host {
|
|
14355
14358
|
display: inline-flex;
|
|
14356
14359
|
outline: none;
|
|
@@ -14390,7 +14393,7 @@ const bd = P`
|
|
|
14390
14393
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14391
14394
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14392
14395
|
*/
|
|
14393
|
-
const
|
|
14396
|
+
const vu = P`
|
|
14394
14397
|
[class$='container'] {
|
|
14395
14398
|
display: flex;
|
|
14396
14399
|
flex-direction: column;
|
|
@@ -14404,13 +14407,13 @@ const vd = P`
|
|
|
14404
14407
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14405
14408
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14406
14409
|
*/
|
|
14407
|
-
const
|
|
14410
|
+
const yu = [bu, vu, gu];
|
|
14408
14411
|
/**
|
|
14409
14412
|
* @license
|
|
14410
14413
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
14411
14414
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14412
14415
|
*/
|
|
14413
|
-
const
|
|
14416
|
+
const xu = (o) => class extends o {
|
|
14414
14417
|
static get properties() {
|
|
14415
14418
|
return {
|
|
14416
14419
|
/**
|
|
@@ -14457,7 +14460,7 @@ const xd = (o) => class extends o {
|
|
|
14457
14460
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14458
14461
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14459
14462
|
*/
|
|
14460
|
-
class
|
|
14463
|
+
class wu {
|
|
14461
14464
|
/**
|
|
14462
14465
|
* @param {{ inputElement?: HTMLElement; opened: boolean } & HTMLElement} host
|
|
14463
14466
|
*/
|
|
@@ -14476,7 +14479,7 @@ class wd {
|
|
|
14476
14479
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
14477
14480
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14478
14481
|
*/
|
|
14479
|
-
const
|
|
14482
|
+
const Eu = (o) => class extends xu(
|
|
14480
14483
|
it(mr(yr(Ut(o))))
|
|
14481
14484
|
) {
|
|
14482
14485
|
static get properties() {
|
|
@@ -14844,7 +14847,7 @@ const Ed = (o) => class extends xd(
|
|
|
14844
14847
|
* @protected
|
|
14845
14848
|
*/
|
|
14846
14849
|
_onFocus(e) {
|
|
14847
|
-
super._onFocus(e), this._noInput && !
|
|
14850
|
+
super._onFocus(e), this._noInput && !Vi() && e.target.blur();
|
|
14848
14851
|
}
|
|
14849
14852
|
/**
|
|
14850
14853
|
* Override an event listener from `DelegateFocusMixin`
|
|
@@ -14859,7 +14862,7 @@ const Ed = (o) => class extends xd(
|
|
|
14859
14862
|
new fr(this._fullscreenMediaQuery, (i) => {
|
|
14860
14863
|
this._fullscreen = i;
|
|
14861
14864
|
})
|
|
14862
|
-
), this.addController(new
|
|
14865
|
+
), this.addController(new wu(this));
|
|
14863
14866
|
const e = this.$.overlay;
|
|
14864
14867
|
this._overlayElement = e, e.renderer = this._boundOverlayRenderer, this.addEventListener("mousedown", () => this.__bringToFront()), this.addEventListener("touchstart", () => this.__bringToFront());
|
|
14865
14868
|
}
|
|
@@ -15017,7 +15020,7 @@ const Ed = (o) => class extends xd(
|
|
|
15017
15020
|
}
|
|
15018
15021
|
/** @private */
|
|
15019
15022
|
_formatISO(e) {
|
|
15020
|
-
return
|
|
15023
|
+
return Ac(e);
|
|
15021
15024
|
}
|
|
15022
15025
|
/** @protected */
|
|
15023
15026
|
_inputElementChanged(e) {
|
|
@@ -15057,8 +15060,8 @@ const Ed = (o) => class extends xd(
|
|
|
15057
15060
|
}
|
|
15058
15061
|
/** @private */
|
|
15059
15062
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
15060
|
-
__updateOverlayContent(e, i, s, r, n, a, l, c,
|
|
15061
|
-
e && (e.i18n = i, e.label = s, e.minDate = r, e.maxDate = n, e.focusedDate = a, e.selectedDate = l, e.showWeekNumbers = c, e.isDateDisabled =
|
|
15063
|
+
__updateOverlayContent(e, i, s, r, n, a, l, c, u) {
|
|
15064
|
+
e && (e.i18n = i, e.label = s, e.minDate = r, e.maxDate = n, e.focusedDate = a, e.selectedDate = l, e.showWeekNumbers = c, e.isDateDisabled = u);
|
|
15062
15065
|
}
|
|
15063
15066
|
/** @private */
|
|
15064
15067
|
__updateOverlayContentTheme(e, i) {
|
|
@@ -15249,7 +15252,7 @@ const Ed = (o) => class extends xd(
|
|
|
15249
15252
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
15250
15253
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15251
15254
|
*/
|
|
15252
|
-
const
|
|
15255
|
+
const Su = P`
|
|
15253
15256
|
:host([opened]) {
|
|
15254
15257
|
pointer-events: auto;
|
|
15255
15258
|
}
|
|
@@ -15268,8 +15271,8 @@ const Sd = P`
|
|
|
15268
15271
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
15269
15272
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15270
15273
|
*/
|
|
15271
|
-
L("vaadin-date-picker", [
|
|
15272
|
-
class
|
|
15274
|
+
L("vaadin-date-picker", [yu, Su], { moduleId: "vaadin-date-picker-styles" });
|
|
15275
|
+
class Au extends Eu(fu($e(Zs(Me)))) {
|
|
15273
15276
|
static get is() {
|
|
15274
15277
|
return "vaadin-date-picker";
|
|
15275
15278
|
}
|
|
@@ -15329,7 +15332,7 @@ class Cd extends Ed(fd($e(Zs(Me)))) {
|
|
|
15329
15332
|
/** @protected */
|
|
15330
15333
|
ready() {
|
|
15331
15334
|
super.ready(), this.addController(
|
|
15332
|
-
new
|
|
15335
|
+
new mu(
|
|
15333
15336
|
this,
|
|
15334
15337
|
(e) => {
|
|
15335
15338
|
this._setInputElement(e), this._setFocusElement(e), this.stateTarget = e, this.ariaTarget = e;
|
|
@@ -15341,7 +15344,7 @@ class Cd extends Ed(fd($e(Zs(Me)))) {
|
|
|
15341
15344
|
uniqueIdPrefix: "search-input"
|
|
15342
15345
|
}
|
|
15343
15346
|
)
|
|
15344
|
-
), this.addController(new
|
|
15347
|
+
), this.addController(new _u(this.inputElement, this._labelController)), this._tooltipController = new er(this), this.addController(this._tooltipController), this._tooltipController.setPosition("top"), this._tooltipController.setAriaTarget(this.inputElement), this._tooltipController.setShouldShow((e) => !e.opened), this.shadowRoot.querySelector('[part="toggle-button"]').addEventListener("mousedown", (e) => e.preventDefault()), this.$.overlay.addEventListener("vaadin-overlay-close", this._onVaadinOverlayClose.bind(this));
|
|
15345
15348
|
}
|
|
15346
15349
|
/** @private */
|
|
15347
15350
|
_onVaadinOverlayClose(t) {
|
|
@@ -15357,7 +15360,7 @@ class Cd extends Ed(fd($e(Zs(Me)))) {
|
|
|
15357
15360
|
super._openedChanged(t), this.$.overlay.positionTarget = this.shadowRoot.querySelector('[part="input-field"]'), this.$.overlay.noVerticalOverlap = !0;
|
|
15358
15361
|
}
|
|
15359
15362
|
}
|
|
15360
|
-
be(
|
|
15363
|
+
be(Au);
|
|
15361
15364
|
var xr = { exports: {} };
|
|
15362
15365
|
(function(o, t) {
|
|
15363
15366
|
(function(e, i) {
|
|
@@ -15369,22 +15372,22 @@ var xr = { exports: {} };
|
|
|
15369
15372
|
return function(_) {
|
|
15370
15373
|
this[p] = +_;
|
|
15371
15374
|
};
|
|
15372
|
-
},
|
|
15375
|
+
}, u = [/[+-]\d\d:?(\d\d)?|Z/, function(p) {
|
|
15373
15376
|
(this.zone || (this.zone = {})).offset = function(_) {
|
|
15374
15377
|
if (!_ || _ === "Z")
|
|
15375
15378
|
return 0;
|
|
15376
15379
|
var y = _.match(/([+-]|\d\d)/g), v = 60 * y[1] + (+y[2] || 0);
|
|
15377
15380
|
return v === 0 ? 0 : y[0] === "+" ? -v : v;
|
|
15378
15381
|
}(p);
|
|
15379
|
-
}],
|
|
15382
|
+
}], d = function(p) {
|
|
15380
15383
|
var _ = a[p];
|
|
15381
15384
|
return _ && (_.indexOf ? _ : _.s.concat(_.f));
|
|
15382
15385
|
}, h = function(p, _) {
|
|
15383
15386
|
var y, v = a.meridiem;
|
|
15384
15387
|
if (v) {
|
|
15385
|
-
for (var
|
|
15386
|
-
if (p.indexOf(v(
|
|
15387
|
-
y =
|
|
15388
|
+
for (var C = 1; C <= 24; C += 1)
|
|
15389
|
+
if (p.indexOf(v(C, 0, _)) > -1) {
|
|
15390
|
+
y = C > 12;
|
|
15388
15391
|
break;
|
|
15389
15392
|
}
|
|
15390
15393
|
} else
|
|
@@ -15406,39 +15409,39 @@ var xr = { exports: {} };
|
|
|
15406
15409
|
for (var v = 1; v <= 31; v += 1)
|
|
15407
15410
|
_(v).replace(/\[|\]/g, "") === p && (this.day = v);
|
|
15408
15411
|
}], M: [r, c("month")], MM: [s, c("month")], MMM: [n, function(p) {
|
|
15409
|
-
var _ =
|
|
15412
|
+
var _ = d("months"), y = (d("monthsShort") || _.map(function(v) {
|
|
15410
15413
|
return v.slice(0, 3);
|
|
15411
15414
|
})).indexOf(p) + 1;
|
|
15412
15415
|
if (y < 1)
|
|
15413
15416
|
throw new Error();
|
|
15414
15417
|
this.month = y % 12 || y;
|
|
15415
15418
|
}], MMMM: [n, function(p) {
|
|
15416
|
-
var _ =
|
|
15419
|
+
var _ = d("months").indexOf(p) + 1;
|
|
15417
15420
|
if (_ < 1)
|
|
15418
15421
|
throw new Error();
|
|
15419
15422
|
this.month = _ % 12 || _;
|
|
15420
15423
|
}], Y: [/[+-]?\d+/, c("year")], YY: [s, function(p) {
|
|
15421
15424
|
this.year = l(p);
|
|
15422
|
-
}], YYYY: [/\d{4}/, c("year")], Z:
|
|
15425
|
+
}], YYYY: [/\d{4}/, c("year")], Z: u, ZZ: u };
|
|
15423
15426
|
function g(p) {
|
|
15424
15427
|
var _, y;
|
|
15425
15428
|
_ = p, y = a && a.formats;
|
|
15426
15429
|
for (var v = (p = _.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(B, T, I) {
|
|
15427
|
-
var
|
|
15428
|
-
return T || y[I] || e[I] || y[
|
|
15430
|
+
var F = I && I.toUpperCase();
|
|
15431
|
+
return T || y[I] || e[I] || y[F].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(X, H, te) {
|
|
15429
15432
|
return H || te.slice(1);
|
|
15430
15433
|
});
|
|
15431
|
-
})).match(i),
|
|
15432
|
-
var D = v[
|
|
15433
|
-
v[
|
|
15434
|
+
})).match(i), C = v.length, A = 0; A < C; A += 1) {
|
|
15435
|
+
var D = v[A], G = m[D], R = G && G[0], Y = G && G[1];
|
|
15436
|
+
v[A] = Y ? { regex: R, parser: Y } : D.replace(/^\[|\]$/g, "");
|
|
15434
15437
|
}
|
|
15435
15438
|
return function(B) {
|
|
15436
|
-
for (var T = {}, I = 0,
|
|
15439
|
+
for (var T = {}, I = 0, F = 0; I < C; I += 1) {
|
|
15437
15440
|
var X = v[I];
|
|
15438
15441
|
if (typeof X == "string")
|
|
15439
|
-
|
|
15442
|
+
F += X.length;
|
|
15440
15443
|
else {
|
|
15441
|
-
var H = X.regex, te = X.parser, pe = B.slice(
|
|
15444
|
+
var H = X.regex, te = X.parser, pe = B.slice(F), q = H.exec(pe)[0];
|
|
15442
15445
|
te.call(T, q), B = B.replace(q, "");
|
|
15443
15446
|
}
|
|
15444
15447
|
}
|
|
@@ -15453,25 +15456,25 @@ var xr = { exports: {} };
|
|
|
15453
15456
|
}
|
|
15454
15457
|
return function(p, _, y) {
|
|
15455
15458
|
y.p.customParseFormat = !0, p && p.parseTwoDigitYear && (l = p.parseTwoDigitYear);
|
|
15456
|
-
var v = _.prototype,
|
|
15457
|
-
v.parse = function(
|
|
15458
|
-
var D =
|
|
15459
|
+
var v = _.prototype, C = v.parse;
|
|
15460
|
+
v.parse = function(A) {
|
|
15461
|
+
var D = A.date, G = A.utc, R = A.args;
|
|
15459
15462
|
this.$u = G;
|
|
15460
15463
|
var Y = R[1];
|
|
15461
15464
|
if (typeof Y == "string") {
|
|
15462
|
-
var B = R[2] === !0, T = R[3] === !0, I = B || T,
|
|
15463
|
-
T && (
|
|
15465
|
+
var B = R[2] === !0, T = R[3] === !0, I = B || T, F = R[2];
|
|
15466
|
+
T && (F = R[2]), a = this.$locale(), !B && F && (a = y.Ls[F]), this.$d = function(pe, q, Z) {
|
|
15464
15467
|
try {
|
|
15465
15468
|
if (["x", "X"].indexOf(q) > -1)
|
|
15466
15469
|
return new Date((q === "X" ? 1e3 : 1) * pe);
|
|
15467
|
-
var j = g(q)(pe), $ = j.year, Q = j.month, _e = j.day,
|
|
15468
|
-
$ && !Q || (
|
|
15469
|
-
var ve =
|
|
15470
|
-
return ke ? new Date(Date.UTC(
|
|
15470
|
+
var j = g(q)(pe), $ = j.year, Q = j.month, _e = j.day, Ae = j.hours, Ce = j.minutes, Ie = j.seconds, Pe = j.milliseconds, ke = j.zone, ie = /* @__PURE__ */ new Date(), oe = _e || ($ || Q ? 1 : ie.getDate()), N = $ || ie.getFullYear(), z = 0;
|
|
15471
|
+
$ && !Q || (z = Q > 0 ? Q - 1 : ie.getMonth());
|
|
15472
|
+
var ve = Ae || 0, fe = Ce || 0, J = Ie || 0, le = Pe || 0;
|
|
15473
|
+
return ke ? new Date(Date.UTC(N, z, oe, ve, fe, J, le + 60 * ke.offset * 1e3)) : Z ? new Date(Date.UTC(N, z, oe, ve, fe, J, le)) : new Date(N, z, oe, ve, fe, J, le);
|
|
15471
15474
|
} catch {
|
|
15472
15475
|
return /* @__PURE__ */ new Date("");
|
|
15473
15476
|
}
|
|
15474
|
-
}(D, Y, G), this.init(),
|
|
15477
|
+
}(D, Y, G), this.init(), F && F !== !0 && (this.$L = this.locale(F).$L), I && D != this.format(Y) && (this.$d = /* @__PURE__ */ new Date("")), a = {};
|
|
15475
15478
|
} else if (Y instanceof Array)
|
|
15476
15479
|
for (var X = Y.length, H = 1; H <= X; H += 1) {
|
|
15477
15480
|
R[1] = Y[H - 1];
|
|
@@ -15483,17 +15486,17 @@ var xr = { exports: {} };
|
|
|
15483
15486
|
H === X && (this.$d = /* @__PURE__ */ new Date(""));
|
|
15484
15487
|
}
|
|
15485
15488
|
else
|
|
15486
|
-
|
|
15489
|
+
C.call(this, A);
|
|
15487
15490
|
};
|
|
15488
15491
|
};
|
|
15489
15492
|
});
|
|
15490
15493
|
})(xr);
|
|
15491
|
-
var
|
|
15492
|
-
const
|
|
15494
|
+
var Cu = xr.exports;
|
|
15495
|
+
const Pu = /* @__PURE__ */ Cr(Cu);
|
|
15493
15496
|
function qo(o, t) {
|
|
15494
15497
|
Pr(o, t);
|
|
15495
15498
|
}
|
|
15496
|
-
function
|
|
15499
|
+
function ku(o) {
|
|
15497
15500
|
kr.set(o);
|
|
15498
15501
|
}
|
|
15499
15502
|
const Ko = {
|
|
@@ -15510,7 +15513,14 @@ const Ko = {
|
|
|
15510
15513
|
temporarySelfExclusion: "Your self-exclusion period will last until the {date} 23:59.",
|
|
15511
15514
|
permanentSelfExclusion: "Your self-exclusion period will be permanent.",
|
|
15512
15515
|
SelfExclusionFor30Days: "30 Days",
|
|
15516
|
+
SelfExclusionFor2Months: "2 Months",
|
|
15517
|
+
SelfExclusionFor3Months: "3 Months",
|
|
15513
15518
|
SelfExclusionFor6Months: "6 Months",
|
|
15519
|
+
SelfExclusionFor7Months: "7 Months",
|
|
15520
|
+
SelfExclusionFor8Months: "8 Months",
|
|
15521
|
+
SelfExclusionFor9Months: "9 Months",
|
|
15522
|
+
SelfExclusionFor10Months: "10 Months",
|
|
15523
|
+
SelfExclusionFor11Months: "11 Months",
|
|
15514
15524
|
SelfExclusionFor1Year: "1 Year",
|
|
15515
15525
|
SelfExclusionFor2Years: "2 Years",
|
|
15516
15526
|
SelfExclusionFor5Years: "5 Years",
|
|
@@ -15537,7 +15547,14 @@ const Ko = {
|
|
|
15537
15547
|
temporarySelfExclusion: "Your self-exclusion period will last until the {date} 23:59.",
|
|
15538
15548
|
permanentSelfExclusion: "Your self-exclusion period will be permanent.",
|
|
15539
15549
|
SelfExclusionFor30Days: "30 Days",
|
|
15550
|
+
SelfExclusionFor2Months: "2 Months",
|
|
15551
|
+
SelfExclusionFor3Months: "3 Months",
|
|
15540
15552
|
SelfExclusionFor6Months: "6 Months",
|
|
15553
|
+
SelfExclusionFor7Months: "7 Months",
|
|
15554
|
+
SelfExclusionFor8Months: "8 Months",
|
|
15555
|
+
SelfExclusionFor9Months: "9 Months",
|
|
15556
|
+
SelfExclusionFor10Months: "10 Months",
|
|
15557
|
+
SelfExclusionFor11Months: "11 Months",
|
|
15541
15558
|
SelfExclusionFor1Year: "1 Year",
|
|
15542
15559
|
SelfExclusionFor2Years: "2 Years",
|
|
15543
15560
|
SelfExclusionFor5Years: "5 Years",
|
|
@@ -15564,7 +15581,14 @@ const Ko = {
|
|
|
15564
15581
|
temporarySelfExclusion: "您的自我排除期將持續到 {date} 23:59。",
|
|
15565
15582
|
permanentSelfExclusion: "您的自我排除期將是永久性的。",
|
|
15566
15583
|
SelfExclusionFor30Days: "30天",
|
|
15584
|
+
SelfExclusionFor2Months: "2個月",
|
|
15585
|
+
SelfExclusionFor3Months: "3個月",
|
|
15567
15586
|
SelfExclusionFor6Months: "6個月",
|
|
15587
|
+
SelfExclusionFor7Months: "7個月",
|
|
15588
|
+
SelfExclusionFor8Months: "8個月",
|
|
15589
|
+
SelfExclusionFor9Months: "9個月",
|
|
15590
|
+
SelfExclusionFor10Months: "10個月",
|
|
15591
|
+
SelfExclusionFor11Months: "11個月",
|
|
15568
15592
|
SelfExclusionFor1Year: "1年",
|
|
15569
15593
|
SelfExclusionFor2Years: "2年",
|
|
15570
15594
|
SelfExclusionFor5Years: "5年",
|
|
@@ -15591,7 +15615,14 @@ const Ko = {
|
|
|
15591
15615
|
temporarySelfExclusion: "Votre période d'auto-exclusion durera jusqu'au {date} 23:59.",
|
|
15592
15616
|
permanentSelfExclusion: "Votre période d'auto-exclusion sera permanente.",
|
|
15593
15617
|
SelfExclusionFor30Days: "30 Jours",
|
|
15618
|
+
SelfExclusionFor2Months: "2 Mois",
|
|
15619
|
+
SelfExclusionFor3Months: "3 Mois",
|
|
15594
15620
|
SelfExclusionFor6Months: "6 Mois",
|
|
15621
|
+
SelfExclusionFor7Months: "7 Mois",
|
|
15622
|
+
SelfExclusionFor8Months: "8 Mois",
|
|
15623
|
+
SelfExclusionFor9Months: "9 Mois",
|
|
15624
|
+
SelfExclusionFor10Months: "10 Mois",
|
|
15625
|
+
SelfExclusionFor11Months: "11 Mois",
|
|
15595
15626
|
SelfExclusionFor1Year: "1 An",
|
|
15596
15627
|
SelfExclusionFor2Years: "2 Ans",
|
|
15597
15628
|
SelfExclusionFor5Years: "5 Ans",
|
|
@@ -15618,7 +15649,14 @@ const Ko = {
|
|
|
15618
15649
|
temporarySelfExclusion: "Perioada dvs. de auto-excludere va dura până la {date} 23:59.",
|
|
15619
15650
|
permanentSelfExclusion: "Perioada dvs. de auto-excludere va fi permanentă.",
|
|
15620
15651
|
SelfExclusionFor30Days: "30 de Zile",
|
|
15652
|
+
SelfExclusionFor2Months: "2 Luni",
|
|
15653
|
+
SelfExclusionFor3Months: "3 Luni",
|
|
15621
15654
|
SelfExclusionFor6Months: "6 Luni",
|
|
15655
|
+
SelfExclusionFor7Months: "7 Luni",
|
|
15656
|
+
SelfExclusionFor8Months: "8 Luni",
|
|
15657
|
+
SelfExclusionFor9Months: "9 Luni",
|
|
15658
|
+
SelfExclusionFor10Months: "10 Luni",
|
|
15659
|
+
SelfExclusionFor11Months: "11 Luni",
|
|
15622
15660
|
SelfExclusionFor1Year: "1 An",
|
|
15623
15661
|
SelfExclusionFor2Years: "2 Ani",
|
|
15624
15662
|
SelfExclusionFor5Years: "5 Ani",
|
|
@@ -15645,7 +15683,14 @@ const Ko = {
|
|
|
15645
15683
|
temporarySelfExclusion: "Su período de autoexclusión durará hasta el {date} a las 23:59.",
|
|
15646
15684
|
permanentSelfExclusion: "Su período de autoexclusión será permanente.",
|
|
15647
15685
|
SelfExclusionFor30Days: "30 Días",
|
|
15686
|
+
SelfExclusionFor2Months: "2 Meses",
|
|
15687
|
+
SelfExclusionFor3Months: "3 Meses",
|
|
15648
15688
|
SelfExclusionFor6Months: "6 Meses",
|
|
15689
|
+
SelfExclusionFor7Months: "7 Meses",
|
|
15690
|
+
SelfExclusionFor8Months: "8 Meses",
|
|
15691
|
+
SelfExclusionFor9Months: "9 Meses",
|
|
15692
|
+
SelfExclusionFor10Months: "10 Meses",
|
|
15693
|
+
SelfExclusionFor11Months: "11 Meses",
|
|
15649
15694
|
SelfExclusionFor1Year: "1 Año",
|
|
15650
15695
|
SelfExclusionFor2Years: "2 Años",
|
|
15651
15696
|
SelfExclusionFor5Years: "5 Años",
|
|
@@ -15672,7 +15717,14 @@ const Ko = {
|
|
|
15672
15717
|
temporarySelfExclusion: "O seu período de autoexclusão durará até às {date} 23:59.",
|
|
15673
15718
|
permanentSelfExclusion: "O seu período de autoexclusão será permanente.",
|
|
15674
15719
|
SelfExclusionFor30Days: "30 Dias",
|
|
15720
|
+
SelfExclusionFor2Months: "2 Meses",
|
|
15721
|
+
SelfExclusionFor3Months: "3 Meses",
|
|
15675
15722
|
SelfExclusionFor6Months: "6 Meses",
|
|
15723
|
+
SelfExclusionFor7Months: "7 Meses",
|
|
15724
|
+
SelfExclusionFor8Months: "8 Meses",
|
|
15725
|
+
SelfExclusionFor9Months: "9 Meses",
|
|
15726
|
+
SelfExclusionFor10Months: "10 Meses",
|
|
15727
|
+
SelfExclusionFor11Months: "11 Meses",
|
|
15676
15728
|
SelfExclusionFor1Year: "1 Ano",
|
|
15677
15729
|
SelfExclusionFor2Years: "2 Anos",
|
|
15678
15730
|
SelfExclusionFor5Years: "5 Anos",
|
|
@@ -15699,7 +15751,14 @@ const Ko = {
|
|
|
15699
15751
|
temporarySelfExclusion: "Vaše razdoblje samoisključenja trajat će do {date} 23:59.",
|
|
15700
15752
|
permanentSelfExclusion: "Vaše razdoblje samoisključenja bit će trajno.",
|
|
15701
15753
|
SelfExclusionFor30Days: "30 Dana",
|
|
15754
|
+
SelfExclusionFor2Months: "2 Mjeseca",
|
|
15755
|
+
SelfExclusionFor3Months: "3 Mjeseca",
|
|
15702
15756
|
SelfExclusionFor6Months: "6 Mjeseci",
|
|
15757
|
+
SelfExclusionFor7Months: "7 Mjeseci",
|
|
15758
|
+
SelfExclusionFor8Months: "8 Mjeseci",
|
|
15759
|
+
SelfExclusionFor9Months: "9 Mjeseci",
|
|
15760
|
+
SelfExclusionFor10Months: "10 Mjeseci",
|
|
15761
|
+
SelfExclusionFor11Months: "11 Mjeseci",
|
|
15703
15762
|
SelfExclusionFor1Year: "1 Godina",
|
|
15704
15763
|
SelfExclusionFor2Years: "2 Godina",
|
|
15705
15764
|
SelfExclusionFor5Years: "5 Godina",
|
|
@@ -15726,7 +15785,14 @@ const Ko = {
|
|
|
15726
15785
|
temporarySelfExclusion: "Seu período de autoexclusão durará até {date} às 23:59.",
|
|
15727
15786
|
permanentSelfExclusion: "Seu período de autoexclusão será permanente.",
|
|
15728
15787
|
SelfExclusionFor30Days: "30 Dias",
|
|
15788
|
+
SelfExclusionFor2Months: "2 Meses",
|
|
15789
|
+
SelfExclusionFor3Months: "3 Meses",
|
|
15729
15790
|
SelfExclusionFor6Months: "6 Meses",
|
|
15791
|
+
SelfExclusionFor7Months: "7 Meses",
|
|
15792
|
+
SelfExclusionFor8Months: "8 Meses",
|
|
15793
|
+
SelfExclusionFor9Months: "9 Meses",
|
|
15794
|
+
SelfExclusionFor10Months: "10 Meses",
|
|
15795
|
+
SelfExclusionFor11Months: "11 Meses",
|
|
15730
15796
|
SelfExclusionFor1Year: "1 Ano",
|
|
15731
15797
|
SelfExclusionFor2Years: "2 Anos",
|
|
15732
15798
|
SelfExclusionFor5Years: "5 Anos",
|
|
@@ -15753,7 +15819,14 @@ const Ko = {
|
|
|
15753
15819
|
temporarySelfExclusion: "Su período de autoexclusión durará hasta el {date} a las 23:59.",
|
|
15754
15820
|
permanentSelfExclusion: "Su período de autoexclusión será permanente.",
|
|
15755
15821
|
SelfExclusionFor30Days: "30 Días",
|
|
15822
|
+
SelfExclusionFor2Months: "2 Meses",
|
|
15823
|
+
SelfExclusionFor3Months: "3 Meses",
|
|
15756
15824
|
SelfExclusionFor6Months: "6 Meses",
|
|
15825
|
+
SelfExclusionFor7Months: "7 Meses",
|
|
15826
|
+
SelfExclusionFor8Months: "8 Meses",
|
|
15827
|
+
SelfExclusionFor9Months: "9 Meses",
|
|
15828
|
+
SelfExclusionFor10Months: "10 Meses",
|
|
15829
|
+
SelfExclusionFor11Months: "11 Meses",
|
|
15757
15830
|
SelfExclusionFor1Year: "1 Año",
|
|
15758
15831
|
SelfExclusionFor2Years: "2 Anos",
|
|
15759
15832
|
SelfExclusionFor5Years: "5 Años",
|
|
@@ -15780,7 +15853,14 @@ const Ko = {
|
|
|
15780
15853
|
temporarySelfExclusion: "Kendi kendini hariç tutma süreniz {date} saat 23:59'a kadar sürecektir.",
|
|
15781
15854
|
permanentSelfExclusion: "Kendi kendini hariç tutma süreniz kalıcı olacaktır.",
|
|
15782
15855
|
SelfExclusionFor30Days: "30 Gün",
|
|
15856
|
+
SelfExclusionFor2Months: "2 Ay",
|
|
15857
|
+
SelfExclusionFor3Months: "3 Ay",
|
|
15783
15858
|
SelfExclusionFor6Months: "6 Ay",
|
|
15859
|
+
SelfExclusionFor7Months: "7 Ay",
|
|
15860
|
+
SelfExclusionFor8Months: "8 Ay",
|
|
15861
|
+
SelfExclusionFor9Months: "9 Ay",
|
|
15862
|
+
SelfExclusionFor10Months: "10 Ay",
|
|
15863
|
+
SelfExclusionFor11Months: "11 Ay",
|
|
15784
15864
|
SelfExclusionFor1Year: "1 Yıl",
|
|
15785
15865
|
SelfExclusionFor2Years: "2 Yıl",
|
|
15786
15866
|
SelfExclusionFor5Years: "5 Yıl",
|
|
@@ -15795,18 +15875,18 @@ const Ko = {
|
|
|
15795
15875
|
InvalidSession: "Oturum süresi doldu."
|
|
15796
15876
|
}
|
|
15797
15877
|
};
|
|
15798
|
-
function
|
|
15799
|
-
|
|
15878
|
+
function Du(o) {
|
|
15879
|
+
Ir(o, "svelte-st6cko", 'a{cursor:pointer;text-decoration:underline;font-weight:600}.PlayerSelfExclusionTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.PlayerSelfExclusionTitleMobile{font-size:var(--emw--font-size-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerSelfExclusionTitleNone{display:none}.SelfExclusionContainer{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));container-type:inline-size}.SelfExclusionContainer .SelfExclusionWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px;border-radius:10px;max-width:100%;min-height:500px;opacity:1;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.SelfExclusionContainer .SelfExclusionWrapper.SelfExclusionWrapperMobile{padding:20px 15px;max-width:unset;border-radius:0}.MenuReturnButton{color:var(--emw--color-gray-300, #58586B);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.SelfExclusionTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weight-bold, 700)}.SelfExclusionTitle.SelfExclusionTitleMobile{font-size:var(--emw--font-size-large, 20px)}.SelfExclusionNotification{color:var(--emw--color-gray-300, #58586B);line-height:24px}.SelfExclusionNotification.SelfExclusionDescriptionMobile{font-size:var(--emw--font-size-x-small, 12px);line-height:19px}.SelfExclusionNotification .SelfExclusionDescriptionText a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px;min-height:180px}@container (max-width: 768px){.SelfExclusionDescription{font-size:var(--emw--font-size-x-small, 12px);line-height:19px;min-height:230px}.SelfExclusionDescription .SelfExclusionDescriptionText a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}}.SelfExclusionConfigWrapper{width:50%;height:100%;position:relative;margin-bottom:var(--emw--spacing-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-radius:var(--emw--border-radius-medium, 10px);cursor:pointer}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px)}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel .SelfExclusionConfigIcon{width:15px;height:15px;fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));transform:rotateZ(-90deg);transition:all 0.5s ease-in-out}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel p{margin:0;font-family:inherit}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel .SelfExclusionConfigIcon.active{transform:rotateZ(0deg)}.SelfExclusionConfigWrapper .SelfExclusionDropDown{max-height:0px;overflow:hidden;box-sizing:border-box;transition:all 0.5s ease-in-out;opacity:0;color:var(--emw--color-gray-300, #58586B);background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:0px 0px var(--emw--border-radius-medium, 10px) var(--emw--border-radius-medium, 10px)}.SelfExclusionConfigWrapper .SelfExclusionDropDown div{padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px);font-size:var(--emw--font-size-x-small, 12px);border-top:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));transition:all 0.5s ease-in-out;font-family:inherit}.SelfExclusionConfigWrapper .SelfExclusionDropDown div:hover{color:var(--emw--color-white, #FFFFFF);background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionConfigWrapper .SelfExclusionDropDown.active{max-height:600px;opacity:1}.SelfExclusionConfigWrapper.SelfExclusionConfigWrapperMobile{width:100%;font-size:var(--emw--font-size-x-small, 12px)}.SelfExclusionConfigWrapper.SelfExclusionConfigWrapperMobile .SelfExclusionConfigLabel .SelfExclusionConfigIcon{width:10px;height:10px}.SelfExclusionDateWrapper{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:16px;position:relative;width:50%}.SelfExclusionDateWrapper label{font-size:var(--emw--font-size-small, 14px);font-weight:300;padding-bottom:5px}.SelfExclusionDateWrapper .SelfExclusionDateInstructions{font-size:var(--emw--font-size-small, 12px);font-weight:300;padding-bottom:5px;line-height:18px}.SelfExclusionDateWrapper .SelfExclusionDateInstructions strong{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionDateWrapper input{font-family:inherit;width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:var(--emw--size-standard, 16px);line-height:18px}.SelfExclusionDateWrapper.SelfExclusionDateWrapperMobile{width:100%}.SelfExclusionRadioWrapper{display:block;position:relative;padding:4px 0 0 0;margin-bottom:16px;font-size:var(--emw--size-standard, 16px);user-select:none;line-height:18px}.SelfExclusionRadioWrapper label{font-size:var(--emw--size-standard, 16px);cursor:pointer;padding-left:35px}.SelfExclusionRadioWrapper input{font-family:inherit;position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SelfExclusionRadioWrapper .Checkmark{position:absolute;top:0;left:0;height:25px;width:25px;background-color:var(--emw--color-gray-100, #E6E6E6);border-radius:50%}.SelfExclusionRadioWrapper input:checked~.Checkmark{background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionRadioWrapper .Checkmark:after{content:"";position:absolute;display:none;left:9px;top:5px;width:5px;height:10px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.SelfExclusionRadioWrapper input:checked~.Checkmark:after{display:block}.SelfExclusionRadioWrapper.SelfExclusionRadioWrapperMobile label{font-family:inherit;font-size:var(--emw--font-size-x-small, 12px)}.SelfExclusionActionButtons{margin-top:40px;width:50%}.SelfExclusionActionButtons .SelfExclusionSave{font-family:var(--emw--button-typography);border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;background:var(--emw--color-primary, #23B04E);border-radius:var(--emw--border-radius-medium, 10px);padding:30px 0;font-size:var(--emw--font-size-large, 20px);color:var(--emw--button-text-color, #FFFFFF)}.SelfExclusionActionButtons .SelfExclusionSave:hover{color:white;background:var(--emw--color-primary);opacity:0.6}.SelfExclusionActionButtons .SelfExclusionSave:active{background:var(--emw--color-primary);opacity:0.6}.SelfExclusionActionButtons .SelfExclusionSave.active{cursor:pointer;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924)}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile{width:100%;grid-template-columns:1fr 1fr}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile .SelfExclusionSave{height:40px;font-size:var(--emw--font-size-small, 14px);padding:20px 0}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}');
|
|
15800
15880
|
}
|
|
15801
15881
|
function Go(o, t, e) {
|
|
15802
15882
|
const i = o.slice();
|
|
15803
15883
|
return i[56] = t[e], i;
|
|
15804
15884
|
}
|
|
15805
|
-
function
|
|
15885
|
+
function Tu(o) {
|
|
15806
15886
|
let t, e, i, s, r = (
|
|
15807
15887
|
/*$_*/
|
|
15808
15888
|
o[20]("titleSelfExclusion") + ""
|
|
15809
|
-
), n, a, l, c,
|
|
15889
|
+
), n, a, l, c, u = (
|
|
15810
15890
|
/*$_*/
|
|
15811
15891
|
o[20]("selfExclusionText", {
|
|
15812
15892
|
values: {
|
|
@@ -15824,54 +15904,54 @@ function Td(o) {
|
|
|
15824
15904
|
)
|
|
15825
15905
|
}
|
|
15826
15906
|
}) + ""
|
|
15827
|
-
),
|
|
15907
|
+
), d, h, m = (
|
|
15828
15908
|
/*$_*/
|
|
15829
15909
|
o[20]("selfExclusionEmailText") + ""
|
|
15830
|
-
), g, p, _, y, v,
|
|
15910
|
+
), g, p, _, y, v, C, A, D, G, R = (
|
|
15831
15911
|
/*$_*/
|
|
15832
15912
|
o[20](`${/*selectedPeriodKey*/
|
|
15833
15913
|
o[13]}`) + ""
|
|
15834
|
-
), Y, B, T, I,
|
|
15914
|
+
), Y, B, T, I, F, X, H, te, pe, q, Z, j, $, Q = (
|
|
15835
15915
|
/*$_*/
|
|
15836
15916
|
o[20]("save") + ""
|
|
15837
|
-
), _e,
|
|
15917
|
+
), _e, Ae, Ce, Ie, Pe, ke, ie = (
|
|
15838
15918
|
/*isMobile*/
|
|
15839
|
-
o[22] &&
|
|
15919
|
+
o[22] && Ou(o)
|
|
15840
15920
|
), oe = ro(
|
|
15841
15921
|
/*selfExclusionPeriods*/
|
|
15842
15922
|
o[9]
|
|
15843
|
-
),
|
|
15923
|
+
), N = [];
|
|
15844
15924
|
for (let x = 0; x < oe.length; x += 1)
|
|
15845
|
-
|
|
15846
|
-
let
|
|
15925
|
+
N[x] = Jo(Go(o, oe, x));
|
|
15926
|
+
let z = (
|
|
15847
15927
|
/*isUntilDate*/
|
|
15848
15928
|
o[16] && Xo(o)
|
|
15849
15929
|
);
|
|
15850
15930
|
function ve(x, M) {
|
|
15851
15931
|
return (
|
|
15852
15932
|
/*isPermanentSelfExclusion*/
|
|
15853
|
-
x[15] ?
|
|
15933
|
+
x[15] ? Nu : (
|
|
15854
15934
|
/*isDateSelected*/
|
|
15855
|
-
x[17] ?
|
|
15935
|
+
x[17] ? Iu : Fu
|
|
15856
15936
|
)
|
|
15857
15937
|
);
|
|
15858
15938
|
}
|
|
15859
15939
|
let fe = ve(o), J = fe(o), le = (
|
|
15860
15940
|
/*showConfirmationModal*/
|
|
15861
|
-
o[23] &&
|
|
15941
|
+
o[23] && zu(o)
|
|
15862
15942
|
);
|
|
15863
15943
|
return {
|
|
15864
15944
|
c() {
|
|
15865
|
-
t = w("div"), e = w("form"), ie && ie.c(), i = O(), s = w("h2"), n = ae(r), a = O(), l = w("div"), c = w("p"),
|
|
15945
|
+
t = w("div"), e = w("form"), ie && ie.c(), i = O(), s = w("h2"), n = ae(r), a = O(), l = w("div"), c = w("p"), d = O(), h = w("p"), g = ae(m), p = O(), _ = w("a"), y = ae(
|
|
15866
15946
|
/*supportemail*/
|
|
15867
15947
|
o[2]
|
|
15868
|
-
),
|
|
15869
|
-
for (let x = 0; x <
|
|
15870
|
-
|
|
15871
|
-
te = O(),
|
|
15948
|
+
), C = O(), A = w("div"), D = w("div"), G = w("p"), Y = ae(R), B = O(), T = Ee("svg"), I = Ee("g"), F = Ee("path"), X = O(), H = w("div");
|
|
15949
|
+
for (let x = 0; x < N.length; x += 1)
|
|
15950
|
+
N[x].c();
|
|
15951
|
+
te = O(), z && z.c(), pe = O(), q = w("div"), J.c(), Z = O(), j = w("div"), $ = w("button"), _e = ae(Q), Ie = O(), le && le.c(), E(s, "class", "PlayerSelfExclusionTitle " + /*isMobile*/
|
|
15872
15952
|
(o[22] ? "PlayerSelfExclusionTitleNone" : "")), E(c, "class", "SelfExclusionDescriptionText"), E(_, "href", v = "mailto:" + /*supportemail*/
|
|
15873
15953
|
o[2]), E(h, "class", "SelfExclusionDescriptionText"), E(l, "class", "SelfExclusionDescription " + /*isMobile*/
|
|
15874
|
-
(o[22] ? "SelfExclusionDescriptionMobile" : "")), E(
|
|
15954
|
+
(o[22] ? "SelfExclusionDescriptionMobile" : "")), E(F, "d", "M 90 24.25 c 0 -0.896 -0.342 -1.792 -1.025 -2.475 c -1.366 -1.367 -3.583 -1.367 -4.949 0 L 45 60.8 L 5.975 21.775 c -1.367 -1.367 -3.583 -1.367 -4.95 0 c -1.366 1.367 -1.366 3.583 0 4.95 l 41.5 41.5 c 1.366 1.367 3.583 1.367 4.949 0 l 41.5 -41.5 C 89.658 26.042 90 25.146 90 24.25 z"), E(F, "stroke-linecap", "round"), E(T, "xmlns", "http://www.w3.org/2000/svg"), E(T, "xmlns:xlink", "http://www.w3.org/1999/xlink"), E(T, "version", "1.1"), E(T, "viewBox", "0 0 100 100"), E(T, "xml:space", "preserve"), E(T, "class", "SelfExclusionConfigIcon"), Ve(
|
|
15875
15955
|
T,
|
|
15876
15956
|
"active",
|
|
15877
15957
|
/*isPeriodDropDownToggled*/
|
|
@@ -15881,24 +15961,24 @@ function Td(o) {
|
|
|
15881
15961
|
"active",
|
|
15882
15962
|
/*isPeriodDropDownToggled*/
|
|
15883
15963
|
o[18]
|
|
15884
|
-
), E(
|
|
15964
|
+
), E(A, "class", "SelfExclusionConfigWrapper " + /*isMobile*/
|
|
15885
15965
|
(o[22] ? "SelfExclusionConfigWrapperMobile" : "")), Ve(
|
|
15886
|
-
|
|
15966
|
+
A,
|
|
15887
15967
|
"active",
|
|
15888
15968
|
/*isPeriodDropDownToggled*/
|
|
15889
15969
|
o[18]
|
|
15890
15970
|
), E(q, "class", "SelfExclusionDescription " + /*isMobile*/
|
|
15891
|
-
(o[22] ? "SelfExclusionDescriptionMobile" : "")), E($, "class",
|
|
15892
|
-
(o[17] ? "active" : "")), $.disabled =
|
|
15971
|
+
(o[22] ? "SelfExclusionDescriptionMobile" : "")), E($, "class", Ae = "SelfExclusionSave " + /*isDateSelected*/
|
|
15972
|
+
(o[17] ? "active" : "")), $.disabled = Ce = !/*isDateSelected*/
|
|
15893
15973
|
o[17], E(j, "class", "SelfExclusionActionButtons " + /*isMobile*/
|
|
15894
15974
|
(o[22] ? "SelfExclusionActionButtonsMobile" : "")), E(e, "class", "SelfExclusionWrapper " + /*isMobile*/
|
|
15895
15975
|
(o[22] ? "SelfExclusionWrapperMobile" : "")), E(t, "class", "SelfExclusionContainer");
|
|
15896
15976
|
},
|
|
15897
15977
|
m(x, M) {
|
|
15898
|
-
|
|
15899
|
-
for (let V = 0; V <
|
|
15900
|
-
|
|
15901
|
-
f(e, te),
|
|
15978
|
+
de(x, t, M), f(t, e), ie && ie.m(e, null), f(e, i), f(e, s), f(s, n), f(e, a), f(e, l), f(l, c), c.innerHTML = u, f(l, d), f(l, h), f(h, g), f(h, p), f(h, _), f(_, y), f(e, C), f(e, A), f(A, D), f(D, G), f(G, Y), f(D, B), f(D, T), f(T, I), f(I, F), f(A, X), f(A, H);
|
|
15979
|
+
for (let V = 0; V < N.length; V += 1)
|
|
15980
|
+
N[V] && N[V].m(H, null);
|
|
15981
|
+
f(e, te), z && z.m(e, null), f(e, pe), f(e, q), J.m(q, null), f(e, Z), f(e, j), f(j, $), f($, _e), f(t, Ie), le && le.m(t, null), Pe || (ke = [
|
|
15902
15982
|
Tt(
|
|
15903
15983
|
D,
|
|
15904
15984
|
"click",
|
|
@@ -15918,8 +15998,8 @@ function Td(o) {
|
|
|
15918
15998
|
/*isMobile*/
|
|
15919
15999
|
x[22] && ie.p(x, M), M[0] & /*$_*/
|
|
15920
16000
|
1048576 && r !== (r = /*$_*/
|
|
15921
|
-
x[20]("titleSelfExclusion") + "") &&
|
|
15922
|
-
1048587 &&
|
|
16001
|
+
x[20]("titleSelfExclusion") + "") && ue(n, r), M[0] & /*$_, operator, baseurl, lang*/
|
|
16002
|
+
1048587 && u !== (u = /*$_*/
|
|
15923
16003
|
x[20]("selfExclusionText", {
|
|
15924
16004
|
values: {
|
|
15925
16005
|
operatorname: (
|
|
@@ -15935,10 +16015,10 @@ function Td(o) {
|
|
|
15935
16015
|
x[0]
|
|
15936
16016
|
)
|
|
15937
16017
|
}
|
|
15938
|
-
}) + "") && (c.innerHTML =
|
|
16018
|
+
}) + "") && (c.innerHTML = u), M[0] & /*$_*/
|
|
15939
16019
|
1048576 && m !== (m = /*$_*/
|
|
15940
|
-
x[20]("selfExclusionEmailText") + "") &&
|
|
15941
|
-
4 &&
|
|
16020
|
+
x[20]("selfExclusionEmailText") + "") && ue(g, m), M[0] & /*supportemail*/
|
|
16021
|
+
4 && ue(
|
|
15942
16022
|
y,
|
|
15943
16023
|
/*supportemail*/
|
|
15944
16024
|
x[2]
|
|
@@ -15947,7 +16027,7 @@ function Td(o) {
|
|
|
15947
16027
|
x[2]) && E(_, "href", v), M[0] & /*$_, selectedPeriodKey*/
|
|
15948
16028
|
1056768 && R !== (R = /*$_*/
|
|
15949
16029
|
x[20](`${/*selectedPeriodKey*/
|
|
15950
|
-
x[13]}`) + "") &&
|
|
16030
|
+
x[13]}`) + "") && ue(Y, R), M[0] & /*isPeriodDropDownToggled*/
|
|
15951
16031
|
262144 && Ve(
|
|
15952
16032
|
T,
|
|
15953
16033
|
"active",
|
|
@@ -15963,11 +16043,11 @@ function Td(o) {
|
|
|
15963
16043
|
let V;
|
|
15964
16044
|
for (V = 0; V < oe.length; V += 1) {
|
|
15965
16045
|
const wt = Go(x, oe, V);
|
|
15966
|
-
|
|
16046
|
+
N[V] ? N[V].p(wt, M) : (N[V] = Jo(wt), N[V].c(), N[V].m(H, null));
|
|
15967
16047
|
}
|
|
15968
|
-
for (; V <
|
|
15969
|
-
|
|
15970
|
-
|
|
16048
|
+
for (; V < N.length; V += 1)
|
|
16049
|
+
N[V].d(1);
|
|
16050
|
+
N.length = oe.length;
|
|
15971
16051
|
}
|
|
15972
16052
|
M[0] & /*isPeriodDropDownToggled*/
|
|
15973
16053
|
262144 && Ve(
|
|
@@ -15977,37 +16057,37 @@ function Td(o) {
|
|
|
15977
16057
|
x[18]
|
|
15978
16058
|
), M[0] & /*isPeriodDropDownToggled*/
|
|
15979
16059
|
262144 && Ve(
|
|
15980
|
-
|
|
16060
|
+
A,
|
|
15981
16061
|
"active",
|
|
15982
16062
|
/*isPeriodDropDownToggled*/
|
|
15983
16063
|
x[18]
|
|
15984
16064
|
), /*isUntilDate*/
|
|
15985
|
-
x[16] ?
|
|
16065
|
+
x[16] ? z ? z.p(x, M) : (z = Xo(x), z.c(), z.m(e, pe)) : z && (z.d(1), z = null), fe === (fe = ve(x)) && J ? J.p(x, M) : (J.d(1), J = fe(x), J && (J.c(), J.m(q, null))), M[0] & /*$_*/
|
|
15986
16066
|
1048576 && Q !== (Q = /*$_*/
|
|
15987
|
-
x[20]("save") + "") &&
|
|
15988
|
-
131072 &&
|
|
15989
|
-
(x[17] ? "active" : "")) && E($, "class",
|
|
15990
|
-
131072 &&
|
|
15991
|
-
x[17]) && ($.disabled =
|
|
16067
|
+
x[20]("save") + "") && ue(_e, Q), M[0] & /*isDateSelected*/
|
|
16068
|
+
131072 && Ae !== (Ae = "SelfExclusionSave " + /*isDateSelected*/
|
|
16069
|
+
(x[17] ? "active" : "")) && E($, "class", Ae), M[0] & /*isDateSelected*/
|
|
16070
|
+
131072 && Ce !== (Ce = !/*isDateSelected*/
|
|
16071
|
+
x[17]) && ($.disabled = Ce), /*showConfirmationModal*/
|
|
15992
16072
|
x[23] && le.p(x, M);
|
|
15993
16073
|
},
|
|
15994
16074
|
d(x) {
|
|
15995
|
-
x &&
|
|
16075
|
+
x && he(t), ie && ie.d(), Hr(N, x), z && z.d(), J.d(), le && le.d(), Pe = !1, $r(ke);
|
|
15996
16076
|
}
|
|
15997
16077
|
};
|
|
15998
16078
|
}
|
|
15999
|
-
function
|
|
16000
|
-
let t, e, i, s, r, n, a, l, c,
|
|
16079
|
+
function Mu(o) {
|
|
16080
|
+
let t, e, i, s, r, n, a, l, c, u, d, h, m, g, p, _, y, v, C, A, D;
|
|
16001
16081
|
function G(B, T) {
|
|
16002
16082
|
return (
|
|
16003
16083
|
/*isMobile*/
|
|
16004
|
-
B[22] ?
|
|
16084
|
+
B[22] ? Ru : Lu
|
|
16005
16085
|
);
|
|
16006
16086
|
}
|
|
16007
16087
|
let Y = G(o)(o);
|
|
16008
16088
|
return {
|
|
16009
16089
|
c() {
|
|
16010
|
-
t = w("div"), e = w("div"), Y.c(), i = O(), s = w("div"), r = w("ui-skeleton"), n = O(), a = w("div"), l = O(), c = w("ui-skeleton"),
|
|
16090
|
+
t = w("div"), e = w("div"), Y.c(), i = O(), s = w("div"), r = w("ui-skeleton"), n = O(), a = w("div"), l = O(), c = w("ui-skeleton"), u = O(), d = w("div"), h = O(), m = w("div"), g = w("ui-skeleton"), p = O(), _ = w("div"), y = O(), v = w("ui-skeleton"), C = O(), A = w("div"), D = w("ui-skeleton"), S(r, "structure", "text"), S(
|
|
16011
16091
|
r,
|
|
16012
16092
|
"height",
|
|
16013
16093
|
/*isMobile*/
|
|
@@ -16022,7 +16102,7 @@ function Md(o) {
|
|
|
16022
16102
|
"height",
|
|
16023
16103
|
/*isMobile*/
|
|
16024
16104
|
o[22] ? "15px" : "20px"
|
|
16025
|
-
), S(c, "width", "30%"), Wt(
|
|
16105
|
+
), S(c, "width", "30%"), Wt(d, "height", "10px"), E(s, "class", "SelfExclusionDescription"), S(g, "structure", "rectangle"), S(
|
|
16026
16106
|
g,
|
|
16027
16107
|
"width",
|
|
16028
16108
|
/*isMobile*/
|
|
@@ -16047,30 +16127,30 @@ function Md(o) {
|
|
|
16047
16127
|
"height",
|
|
16048
16128
|
/*isMobile*/
|
|
16049
16129
|
o[22] ? "35px" : "50px"
|
|
16050
|
-
), E(
|
|
16130
|
+
), E(A, "class", "SelfExclusionActionButtons " + /*isMobile*/
|
|
16051
16131
|
(o[22] ? "SelfExclusionActionButtonsMobile" : "")), E(e, "class", "SelfExclusionWrapper " + /*isMobile*/
|
|
16052
16132
|
(o[22] ? "SelfExclusionWrapperMobile" : "")), E(t, "class", "SelfExclusionContainer");
|
|
16053
16133
|
},
|
|
16054
16134
|
m(B, T) {
|
|
16055
|
-
|
|
16135
|
+
de(B, t, T), f(t, e), Y.m(e, null), f(e, i), f(e, s), f(s, r), f(s, n), f(s, a), f(s, l), f(s, c), f(s, u), f(s, d), f(e, h), f(e, m), f(m, g), f(m, p), f(m, _), f(m, y), f(m, v), f(e, C), f(e, A), f(A, D);
|
|
16056
16136
|
},
|
|
16057
16137
|
p: li,
|
|
16058
16138
|
d(B) {
|
|
16059
|
-
B &&
|
|
16139
|
+
B && he(t), Y.d();
|
|
16060
16140
|
}
|
|
16061
16141
|
};
|
|
16062
16142
|
}
|
|
16063
|
-
function
|
|
16064
|
-
let t, e, i, s, r, n, a, l, c,
|
|
16143
|
+
function Ou(o) {
|
|
16144
|
+
let t, e, i, s, r, n, a, l, c, u, d = (
|
|
16065
16145
|
/*$_*/
|
|
16066
16146
|
o[20]("titleSelfExclusion") + ""
|
|
16067
16147
|
), h, m, g;
|
|
16068
16148
|
return {
|
|
16069
16149
|
c() {
|
|
16070
|
-
t = w("div"), e = Ee("svg"), i = Ee("defs"), s = Ee("style"), r = ae(".aaa{fill:var(--emw--color-primary, #22B04E);}"), n = Ee("g"), a = Ee("g"), l = Ee("path"), c = O(),
|
|
16150
|
+
t = w("div"), e = Ee("svg"), i = Ee("defs"), s = Ee("style"), r = ae(".aaa{fill:var(--emw--color-primary, #22B04E);}"), n = Ee("g"), a = Ee("g"), l = Ee("path"), c = O(), u = w("h2"), h = ae(d), E(l, "class", "aaa"), E(l, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), E(l, "transform", "translate(15 15) rotate(180)"), E(a, "transform", "translate(20 158)"), E(n, "transform", "translate(-20 -158)"), E(e, "xmlns", "http://www.w3.org/2000/svg"), E(e, "width", "15"), E(e, "height", "15"), E(e, "viewBox", "0 0 15 15"), E(u, "class", "PlayerSelfExclusionTitleMobile"), E(t, "class", "MenuReturnButton");
|
|
16071
16151
|
},
|
|
16072
16152
|
m(p, _) {
|
|
16073
|
-
|
|
16153
|
+
de(p, t, _), f(t, e), f(e, i), f(i, s), f(s, r), f(e, n), f(n, a), f(a, l), f(t, c), f(t, u), f(u, h), m || (g = Tt(
|
|
16074
16154
|
t,
|
|
16075
16155
|
"click",
|
|
16076
16156
|
/*click_handler*/
|
|
@@ -16079,11 +16159,11 @@ function Od(o) {
|
|
|
16079
16159
|
},
|
|
16080
16160
|
p(p, _) {
|
|
16081
16161
|
_[0] & /*$_*/
|
|
16082
|
-
1048576 &&
|
|
16083
|
-
p[20]("titleSelfExclusion") + "") &&
|
|
16162
|
+
1048576 && d !== (d = /*$_*/
|
|
16163
|
+
p[20]("titleSelfExclusion") + "") && ue(h, d);
|
|
16084
16164
|
},
|
|
16085
16165
|
d(p) {
|
|
16086
|
-
p &&
|
|
16166
|
+
p && he(t), m = !1, g();
|
|
16087
16167
|
}
|
|
16088
16168
|
};
|
|
16089
16169
|
}
|
|
@@ -16107,16 +16187,16 @@ function Jo(o) {
|
|
|
16107
16187
|
t = w("div"), i = ae(e);
|
|
16108
16188
|
},
|
|
16109
16189
|
m(a, l) {
|
|
16110
|
-
|
|
16190
|
+
de(a, t, l), f(t, i), s || (r = Tt(t, "click", n), s = !0);
|
|
16111
16191
|
},
|
|
16112
16192
|
p(a, l) {
|
|
16113
16193
|
o = a, l[0] & /*$_, selfExclusionPeriods*/
|
|
16114
16194
|
1049088 && e !== (e = /*$_*/
|
|
16115
16195
|
o[20](`${/*period*/
|
|
16116
|
-
o[56].key}`) + "") &&
|
|
16196
|
+
o[56].key}`) + "") && ue(i, e);
|
|
16117
16197
|
},
|
|
16118
16198
|
d(a) {
|
|
16119
|
-
a &&
|
|
16199
|
+
a && he(t), s = !1, r();
|
|
16120
16200
|
}
|
|
16121
16201
|
};
|
|
16122
16202
|
}
|
|
@@ -16127,10 +16207,10 @@ function Xo(o) {
|
|
|
16127
16207
|
), s, r, n, a = (
|
|
16128
16208
|
/*$_*/
|
|
16129
16209
|
o[20]("dateInstructions") + ""
|
|
16130
|
-
), l, c,
|
|
16210
|
+
), l, c, u, d, h, m, g;
|
|
16131
16211
|
return {
|
|
16132
16212
|
c() {
|
|
16133
|
-
t = w("div"), e = w("label"), s = ae(i), r = O(), n = w("span"), l = ae(a), c = O(),
|
|
16213
|
+
t = w("div"), e = w("label"), s = ae(i), r = O(), n = w("span"), l = ae(a), c = O(), u = w("strong"), d = ae(
|
|
16134
16214
|
/*validDateformat*/
|
|
16135
16215
|
o[21]
|
|
16136
16216
|
), h = w("strong"), m = O(), g = w("vaadin-date-picker"), E(e, "for", "SelfExclusionDate"), E(n, "class", "SelfExclusionDateInstructions"), S(
|
|
@@ -16152,14 +16232,14 @@ function Xo(o) {
|
|
|
16152
16232
|
(o[22] ? "SelfExclusionDateWrapperMobile" : ""));
|
|
16153
16233
|
},
|
|
16154
16234
|
m(p, _) {
|
|
16155
|
-
|
|
16235
|
+
de(p, t, _), f(t, e), f(e, s), f(t, r), f(t, n), f(n, l), f(n, c), f(n, u), f(u, d), f(u, h), f(t, m), f(t, g), o[39](g);
|
|
16156
16236
|
},
|
|
16157
16237
|
p(p, _) {
|
|
16158
16238
|
_[0] & /*$_*/
|
|
16159
16239
|
1048576 && i !== (i = /*$_*/
|
|
16160
|
-
p[20]("duration") + "") &&
|
|
16240
|
+
p[20]("duration") + "") && ue(s, i), _[0] & /*$_*/
|
|
16161
16241
|
1048576 && a !== (a = /*$_*/
|
|
16162
|
-
p[20]("dateInstructions") + "") &&
|
|
16242
|
+
p[20]("dateInstructions") + "") && ue(l, a), _[0] & /*minDate*/
|
|
16163
16243
|
1024 && S(
|
|
16164
16244
|
g,
|
|
16165
16245
|
"min",
|
|
@@ -16180,11 +16260,11 @@ function Xo(o) {
|
|
|
16180
16260
|
);
|
|
16181
16261
|
},
|
|
16182
16262
|
d(p) {
|
|
16183
|
-
p &&
|
|
16263
|
+
p && he(t), o[39](null);
|
|
16184
16264
|
}
|
|
16185
16265
|
};
|
|
16186
16266
|
}
|
|
16187
|
-
function
|
|
16267
|
+
function Iu(o) {
|
|
16188
16268
|
let t, e, i = (
|
|
16189
16269
|
/*$_*/
|
|
16190
16270
|
o[20]("temporarySelfExclusion", {
|
|
@@ -16204,7 +16284,7 @@ function Id(o) {
|
|
|
16204
16284
|
t = w("p"), e = w("strong"), s = ae(i), E(t, "class", "SelfExclusionDescriptionText");
|
|
16205
16285
|
},
|
|
16206
16286
|
m(r, n) {
|
|
16207
|
-
|
|
16287
|
+
de(r, t, n), f(t, e), f(e, s);
|
|
16208
16288
|
},
|
|
16209
16289
|
p(r, n) {
|
|
16210
16290
|
n[0] & /*$_, selfExclusionExpiryDate*/
|
|
@@ -16219,14 +16299,14 @@ function Id(o) {
|
|
|
16219
16299
|
r[21]
|
|
16220
16300
|
)
|
|
16221
16301
|
}
|
|
16222
|
-
}) + "") &&
|
|
16302
|
+
}) + "") && ue(s, i);
|
|
16223
16303
|
},
|
|
16224
16304
|
d(r) {
|
|
16225
|
-
r &&
|
|
16305
|
+
r && he(t);
|
|
16226
16306
|
}
|
|
16227
16307
|
};
|
|
16228
16308
|
}
|
|
16229
|
-
function
|
|
16309
|
+
function Fu(o) {
|
|
16230
16310
|
let t, e, i = (
|
|
16231
16311
|
/*$_*/
|
|
16232
16312
|
o[20]("noPeriodSelected") + ""
|
|
@@ -16236,19 +16316,19 @@ function Nd(o) {
|
|
|
16236
16316
|
t = w("p"), e = w("strong"), s = ae(i), E(t, "class", "SelfExclusionDescriptionText");
|
|
16237
16317
|
},
|
|
16238
16318
|
m(r, n) {
|
|
16239
|
-
|
|
16319
|
+
de(r, t, n), f(t, e), f(e, s);
|
|
16240
16320
|
},
|
|
16241
16321
|
p(r, n) {
|
|
16242
16322
|
n[0] & /*$_*/
|
|
16243
16323
|
1048576 && i !== (i = /*$_*/
|
|
16244
|
-
r[20]("noPeriodSelected") + "") &&
|
|
16324
|
+
r[20]("noPeriodSelected") + "") && ue(s, i);
|
|
16245
16325
|
},
|
|
16246
16326
|
d(r) {
|
|
16247
|
-
r &&
|
|
16327
|
+
r && he(t);
|
|
16248
16328
|
}
|
|
16249
16329
|
};
|
|
16250
16330
|
}
|
|
16251
|
-
function
|
|
16331
|
+
function Nu(o) {
|
|
16252
16332
|
let t, e, i = (
|
|
16253
16333
|
/*$_*/
|
|
16254
16334
|
o[20]("permanentSelfExclusion") + ""
|
|
@@ -16258,19 +16338,19 @@ function zd(o) {
|
|
|
16258
16338
|
t = w("p"), e = w("strong"), s = ae(i), E(t, "class", "SelfExclusionDescriptionText");
|
|
16259
16339
|
},
|
|
16260
16340
|
m(r, n) {
|
|
16261
|
-
|
|
16341
|
+
de(r, t, n), f(t, e), f(e, s);
|
|
16262
16342
|
},
|
|
16263
16343
|
p(r, n) {
|
|
16264
16344
|
n[0] & /*$_*/
|
|
16265
16345
|
1048576 && i !== (i = /*$_*/
|
|
16266
|
-
r[20]("permanentSelfExclusion") + "") &&
|
|
16346
|
+
r[20]("permanentSelfExclusion") + "") && ue(s, i);
|
|
16267
16347
|
},
|
|
16268
16348
|
d(r) {
|
|
16269
|
-
r &&
|
|
16349
|
+
r && he(t);
|
|
16270
16350
|
}
|
|
16271
16351
|
};
|
|
16272
16352
|
}
|
|
16273
|
-
function
|
|
16353
|
+
function zu(o) {
|
|
16274
16354
|
let t, e, i;
|
|
16275
16355
|
return {
|
|
16276
16356
|
c() {
|
|
@@ -16308,7 +16388,7 @@ function Fd(o) {
|
|
|
16308
16388
|
), S(t, "showmodaleventname", "ShowSelfExclusionConfirmationModal");
|
|
16309
16389
|
},
|
|
16310
16390
|
m(s, r) {
|
|
16311
|
-
|
|
16391
|
+
de(s, t, r), f(t, e);
|
|
16312
16392
|
},
|
|
16313
16393
|
p(s, r) {
|
|
16314
16394
|
r[0] & /*$_*/
|
|
@@ -16352,44 +16432,44 @@ function Fd(o) {
|
|
|
16352
16432
|
);
|
|
16353
16433
|
},
|
|
16354
16434
|
d(s) {
|
|
16355
|
-
s &&
|
|
16435
|
+
s && he(t);
|
|
16356
16436
|
}
|
|
16357
16437
|
};
|
|
16358
16438
|
}
|
|
16359
|
-
function
|
|
16439
|
+
function Lu(o) {
|
|
16360
16440
|
let t;
|
|
16361
16441
|
return {
|
|
16362
16442
|
c() {
|
|
16363
16443
|
t = w("ui-skeleton"), S(t, "structure", "title"), S(t, "width", "100px"), S(t, "margin-top", "20px"), S(t, "margin-bottom", "20px");
|
|
16364
16444
|
},
|
|
16365
16445
|
m(e, i) {
|
|
16366
|
-
|
|
16446
|
+
de(e, t, i);
|
|
16367
16447
|
},
|
|
16368
16448
|
d(e) {
|
|
16369
|
-
e &&
|
|
16449
|
+
e && he(t);
|
|
16370
16450
|
}
|
|
16371
16451
|
};
|
|
16372
16452
|
}
|
|
16373
|
-
function
|
|
16453
|
+
function Ru(o) {
|
|
16374
16454
|
let t;
|
|
16375
16455
|
return {
|
|
16376
16456
|
c() {
|
|
16377
16457
|
t = w("div"), t.innerHTML = '<ui-skeleton structure="title" width="20px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton> <ui-skeleton structure="title" width="100px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton>', E(t, "class", "MenuReturnButton");
|
|
16378
16458
|
},
|
|
16379
16459
|
m(e, i) {
|
|
16380
|
-
|
|
16460
|
+
de(e, t, i);
|
|
16381
16461
|
},
|
|
16382
16462
|
d(e) {
|
|
16383
|
-
e &&
|
|
16463
|
+
e && he(t);
|
|
16384
16464
|
}
|
|
16385
16465
|
};
|
|
16386
16466
|
}
|
|
16387
|
-
function
|
|
16467
|
+
function Bu(o) {
|
|
16388
16468
|
let t;
|
|
16389
16469
|
function e(r, n) {
|
|
16390
16470
|
return (
|
|
16391
16471
|
/*skeletonLoading*/
|
|
16392
|
-
r[19] ?
|
|
16472
|
+
r[19] ? Mu : Tu
|
|
16393
16473
|
);
|
|
16394
16474
|
}
|
|
16395
16475
|
let i = e(o), s = i(o);
|
|
@@ -16398,7 +16478,7 @@ function Bd(o) {
|
|
|
16398
16478
|
t = w("div"), s.c();
|
|
16399
16479
|
},
|
|
16400
16480
|
m(r, n) {
|
|
16401
|
-
|
|
16481
|
+
de(r, t, n), s.m(t, null), o[41](t);
|
|
16402
16482
|
},
|
|
16403
16483
|
p(r, n) {
|
|
16404
16484
|
i === (i = e(r)) && s ? s.p(r, n) : (s.d(1), s = i(r), s && (s.c(), s.m(t, null)));
|
|
@@ -16406,15 +16486,15 @@ function Bd(o) {
|
|
|
16406
16486
|
i: li,
|
|
16407
16487
|
o: li,
|
|
16408
16488
|
d(r) {
|
|
16409
|
-
r &&
|
|
16489
|
+
r && he(t), s.d(), o[41](null);
|
|
16410
16490
|
}
|
|
16411
16491
|
};
|
|
16412
16492
|
}
|
|
16413
|
-
function
|
|
16493
|
+
function Hu(o, t, e) {
|
|
16414
16494
|
let i;
|
|
16415
|
-
|
|
16416
|
-
let { endpoint: s = "", session: r = "", userid: n = "", lang: a = "en", gmversion: l = "", operator: c = "Everymatrix", supportemail:
|
|
16417
|
-
const
|
|
16495
|
+
Fr(o, Yr, (b) => e(20, i = b)), xe.extend(Pu);
|
|
16496
|
+
let { endpoint: s = "", session: r = "", userid: n = "", lang: a = "en", gmversion: l = "", operator: c = "Everymatrix", supportemail: u = "", baseurl: d = "", clientstyling: h = "", clientstylingurl: m = "", mbsource: g, translationurl: p = "", hasconfirmationmodal: _ = "false", dateformat: y = "DD/MM/YYYY", sendnotificationemail: v = "false" } = t, C, A, D = [], G = {}, R = y.toUpperCase(), Y = window.navigator.userAgent, B, T, I = "", F = "", X = "selectAPeriod", H = "", te = "", pe = Nr(Y) !== "PC", q = !1, Z = !1, j = !1, $ = !1, Q = _ === "true", _e = !0;
|
|
16497
|
+
const Ae = () => {
|
|
16418
16498
|
fetch(p).then((se) => se.json()).then((se) => {
|
|
16419
16499
|
Object.keys(se).forEach((re) => {
|
|
16420
16500
|
qo(re, se[re]);
|
|
@@ -16426,7 +16506,7 @@ function Hd(o, t, e) {
|
|
|
16426
16506
|
Object.keys(Ko).forEach((b) => {
|
|
16427
16507
|
qo(b, Ko[b]);
|
|
16428
16508
|
});
|
|
16429
|
-
const
|
|
16509
|
+
const Ce = () => {
|
|
16430
16510
|
let b = new URL(`${s}/v1/player/selfExclusionSettings`);
|
|
16431
16511
|
fetch(b, {
|
|
16432
16512
|
method: "GET",
|
|
@@ -16442,7 +16522,7 @@ function Hd(o, t, e) {
|
|
|
16442
16522
|
e(19, _e = !1);
|
|
16443
16523
|
});
|
|
16444
16524
|
}, Ie = (b) => {
|
|
16445
|
-
b.data.type === "setSelfExclusion" &&
|
|
16525
|
+
b.data.type === "setSelfExclusion" && z();
|
|
16446
16526
|
}, Pe = async (b) => {
|
|
16447
16527
|
if (b.status >= 300)
|
|
16448
16528
|
G = await b.json(), te = G.thirdPartyResponse.errorCode, console.error(i(te || "generalError")), window.postMessage(
|
|
@@ -16460,7 +16540,7 @@ function Hd(o, t, e) {
|
|
|
16460
16540
|
}, ke = () => {
|
|
16461
16541
|
e(18, $ = !$);
|
|
16462
16542
|
}, ie = (b) => {
|
|
16463
|
-
switch (
|
|
16543
|
+
switch (F = b.text, e(13, X = b.key), e(17, j = !0), e(18, $ = !1), e(15, q = !1), e(16, Z = !1), F) {
|
|
16464
16544
|
case "Until":
|
|
16465
16545
|
e(16, Z = !0), e(10, B = xe().add(6, "months").format("YYYY-MM-DD")), e(11, T = xe().add(5, "years").format("YYYY-MM-DD")), e(12, I = B);
|
|
16466
16546
|
break;
|
|
@@ -16468,15 +16548,15 @@ function Hd(o, t, e) {
|
|
|
16468
16548
|
e(15, q = !q);
|
|
16469
16549
|
break;
|
|
16470
16550
|
default:
|
|
16471
|
-
const [se, re] =
|
|
16472
|
-
if (!
|
|
16551
|
+
const [se, re] = F.split(" "), Fe = re.includes("Day") ? "days" : re.includes("Month") ? "months" : re.includes("Year") ? "years" : null;
|
|
16552
|
+
if (!Fe)
|
|
16473
16553
|
return;
|
|
16474
|
-
e(12, I = xe().add(Number(se),
|
|
16554
|
+
e(12, I = xe().add(Number(se), Fe).format("YYYY-MM-DD"));
|
|
16475
16555
|
break;
|
|
16476
16556
|
}
|
|
16477
16557
|
Q && oe();
|
|
16478
16558
|
}, oe = () => {
|
|
16479
|
-
if (!Q || !
|
|
16559
|
+
if (!Q || !F || !I) {
|
|
16480
16560
|
e(14, H = "");
|
|
16481
16561
|
return;
|
|
16482
16562
|
}
|
|
@@ -16484,15 +16564,15 @@ function Hd(o, t, e) {
|
|
|
16484
16564
|
values: {
|
|
16485
16565
|
date: xe(I).format(R)
|
|
16486
16566
|
}
|
|
16487
|
-
}) : i("confirmationModalTextPeriodSelfExclusion", { values: { period: i(
|
|
16488
|
-
},
|
|
16567
|
+
}) : i("confirmationModalTextPeriodSelfExclusion", { values: { period: i(F) } }));
|
|
16568
|
+
}, N = (b) => {
|
|
16489
16569
|
b.preventDefault(), Q ? (oe(), window.postMessage(
|
|
16490
16570
|
{
|
|
16491
16571
|
type: "ShowSelfExclusionConfirmationModal"
|
|
16492
16572
|
},
|
|
16493
16573
|
window.location.href
|
|
16494
|
-
)) :
|
|
16495
|
-
},
|
|
16574
|
+
)) : z();
|
|
16575
|
+
}, z = () => {
|
|
16496
16576
|
e(19, _e = !0);
|
|
16497
16577
|
const b = new URL(`/v2/player/${n}/limits${l === "gm16" ? "/session" : ""}`, s), re = {
|
|
16498
16578
|
method: "PUT",
|
|
@@ -16510,7 +16590,7 @@ function Hd(o, t, e) {
|
|
|
16510
16590
|
}
|
|
16511
16591
|
})
|
|
16512
16592
|
};
|
|
16513
|
-
fetch(b.href, re).then((
|
|
16593
|
+
fetch(b.href, re).then((Fe) => Pe(Fe)).then((Fe) => {
|
|
16514
16594
|
window.postMessage(
|
|
16515
16595
|
{
|
|
16516
16596
|
type: "WidgetNotification",
|
|
@@ -16521,8 +16601,8 @@ function Hd(o, t, e) {
|
|
|
16521
16601
|
},
|
|
16522
16602
|
window.location.href
|
|
16523
16603
|
), window.postMessage({ type: "LogoutSuccessfull" }, window.location.href);
|
|
16524
|
-
}).catch((
|
|
16525
|
-
console.error(i("errorSelfExclusionCall"),
|
|
16604
|
+
}).catch((Fe) => {
|
|
16605
|
+
console.error(i("errorSelfExclusionCall"), Fe), window.postMessage(
|
|
16526
16606
|
{
|
|
16527
16607
|
type: "WidgetNotification",
|
|
16528
16608
|
data: {
|
|
@@ -16546,10 +16626,10 @@ function Hd(o, t, e) {
|
|
|
16546
16626
|
}, fe = (b) => {
|
|
16547
16627
|
e(12, I = b.target.value);
|
|
16548
16628
|
}, J = () => {
|
|
16549
|
-
|
|
16629
|
+
A.addEventListener("change", fe, !1), e(
|
|
16550
16630
|
8,
|
|
16551
|
-
|
|
16552
|
-
...
|
|
16631
|
+
A.i18n = {
|
|
16632
|
+
...A.i18n,
|
|
16553
16633
|
formatDate: (b) => xe(new Date(b.year, b.month, b.day)).format(R),
|
|
16554
16634
|
parseDate: (b) => {
|
|
16555
16635
|
const se = xe(b, R);
|
|
@@ -16560,48 +16640,48 @@ function Hd(o, t, e) {
|
|
|
16560
16640
|
};
|
|
16561
16641
|
}
|
|
16562
16642
|
},
|
|
16563
|
-
|
|
16643
|
+
A
|
|
16564
16644
|
);
|
|
16565
16645
|
};
|
|
16566
16646
|
zr(() => (window.addEventListener("message", Ie, !1), () => {
|
|
16567
|
-
|
|
16647
|
+
A.removeEventListener("change", fe), window.removeEventListener("message", Ie);
|
|
16568
16648
|
}));
|
|
16569
16649
|
const le = () => {
|
|
16570
|
-
|
|
16650
|
+
ku(a);
|
|
16571
16651
|
}, x = () => ve(), M = () => ke(), V = (b) => ie(b);
|
|
16572
16652
|
function wt(b) {
|
|
16573
16653
|
so[b ? "unshift" : "push"](() => {
|
|
16574
|
-
|
|
16654
|
+
A = b, e(8, A);
|
|
16575
16655
|
});
|
|
16576
16656
|
}
|
|
16577
|
-
const Er = (b) =>
|
|
16657
|
+
const Er = (b) => N(b);
|
|
16578
16658
|
function Sr(b) {
|
|
16579
16659
|
so[b ? "unshift" : "push"](() => {
|
|
16580
|
-
|
|
16660
|
+
C = b, e(7, C);
|
|
16581
16661
|
});
|
|
16582
16662
|
}
|
|
16583
16663
|
return o.$$set = (b) => {
|
|
16584
|
-
"endpoint" in b && e(28, s = b.endpoint), "session" in b && e(29, r = b.session), "userid" in b && e(30, n = b.userid), "lang" in b && e(0, a = b.lang), "gmversion" in b && e(31, l = b.gmversion), "operator" in b && e(1, c = b.operator), "supportemail" in b && e(2,
|
|
16664
|
+
"endpoint" in b && e(28, s = b.endpoint), "session" in b && e(29, r = b.session), "userid" in b && e(30, n = b.userid), "lang" in b && e(0, a = b.lang), "gmversion" in b && e(31, l = b.gmversion), "operator" in b && e(1, c = b.operator), "supportemail" in b && e(2, u = b.supportemail), "baseurl" in b && e(3, d = b.baseurl), "clientstyling" in b && e(4, h = b.clientstyling), "clientstylingurl" in b && e(5, m = b.clientstylingurl), "mbsource" in b && e(6, g = b.mbsource), "translationurl" in b && e(32, p = b.translationurl), "hasconfirmationmodal" in b && e(33, _ = b.hasconfirmationmodal), "dateformat" in b && e(34, y = b.dateformat), "sendnotificationemail" in b && e(35, v = b.sendnotificationemail);
|
|
16585
16665
|
}, o.$$.update = () => {
|
|
16586
16666
|
o.$$.dirty[0] & /*lang*/
|
|
16587
16667
|
1 && a && le(), o.$$.dirty[0] & /*endpoint, session, userid*/
|
|
16588
16668
|
1879048192 | o.$$.dirty[1] & /*gmversion*/
|
|
16589
|
-
1 && s && r && n && l &&
|
|
16590
|
-
256 &&
|
|
16591
|
-
144 && h &&
|
|
16592
|
-
160 && m &&
|
|
16593
|
-
192 && g &&
|
|
16594
|
-
2 && p &&
|
|
16669
|
+
1 && s && r && n && l && Ce(), o.$$.dirty[0] & /*calendar*/
|
|
16670
|
+
256 && A && J(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
16671
|
+
144 && h && C && Br(C, h), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
16672
|
+
160 && m && C && Lr(C, m), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
16673
|
+
192 && g && C && Rr(C, `${g}.Style`), o.$$.dirty[1] & /*translationurl*/
|
|
16674
|
+
2 && p && Ae();
|
|
16595
16675
|
}, Q && oe(), [
|
|
16596
16676
|
a,
|
|
16597
16677
|
c,
|
|
16598
|
-
d,
|
|
16599
16678
|
u,
|
|
16679
|
+
d,
|
|
16600
16680
|
h,
|
|
16601
16681
|
m,
|
|
16602
16682
|
g,
|
|
16603
|
-
A,
|
|
16604
16683
|
C,
|
|
16684
|
+
A,
|
|
16605
16685
|
D,
|
|
16606
16686
|
B,
|
|
16607
16687
|
T,
|
|
@@ -16619,7 +16699,7 @@ function Hd(o, t, e) {
|
|
|
16619
16699
|
Q,
|
|
16620
16700
|
ke,
|
|
16621
16701
|
ie,
|
|
16622
|
-
|
|
16702
|
+
N,
|
|
16623
16703
|
ve,
|
|
16624
16704
|
s,
|
|
16625
16705
|
r,
|
|
@@ -16642,9 +16722,9 @@ class wr extends Dr {
|
|
|
16642
16722
|
super(), Tr(
|
|
16643
16723
|
this,
|
|
16644
16724
|
t,
|
|
16645
|
-
|
|
16646
|
-
|
|
16647
|
-
|
|
16725
|
+
Hu,
|
|
16726
|
+
Bu,
|
|
16727
|
+
Or,
|
|
16648
16728
|
{
|
|
16649
16729
|
endpoint: 28,
|
|
16650
16730
|
session: 29,
|
|
@@ -16662,7 +16742,7 @@ class wr extends Dr {
|
|
|
16662
16742
|
dateformat: 34,
|
|
16663
16743
|
sendnotificationemail: 35
|
|
16664
16744
|
},
|
|
16665
|
-
|
|
16745
|
+
Du,
|
|
16666
16746
|
[-1, -1]
|
|
16667
16747
|
);
|
|
16668
16748
|
}
|
|
@@ -16757,12 +16837,12 @@ class wr extends Dr {
|
|
|
16757
16837
|
this.$$set({ sendnotificationemail: t }), ee();
|
|
16758
16838
|
}
|
|
16759
16839
|
}
|
|
16760
|
-
|
|
16761
|
-
const
|
|
16840
|
+
Mr(wr, { endpoint: {}, session: {}, userid: {}, lang: {}, gmversion: {}, operator: {}, supportemail: {}, baseurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, hasconfirmationmodal: {}, dateformat: {}, sendnotificationemail: {} }, [], [], !0);
|
|
16841
|
+
const Ad = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16762
16842
|
__proto__: null,
|
|
16763
16843
|
default: wr
|
|
16764
16844
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
16765
16845
|
export {
|
|
16766
|
-
|
|
16767
|
-
|
|
16846
|
+
Pu as C,
|
|
16847
|
+
Ad as P
|
|
16768
16848
|
};
|