@everymatrix/player-account-controller-nd 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-D_LZ6noj.js → GeneralLogout-C6SVgUtg.js} +853 -874
- package/components/GeneralLogout-CwfC_imT.cjs +21 -0
- package/components/{GeneralLogout-PryurO1h.js → GeneralLogout-DfKsCxwv.js} +913 -934
- package/components/PlayerAccountBettingHistory-BLjgCtrb.js +329 -0
- package/components/PlayerAccountBettingHistory-CbA15BLO.cjs +1 -0
- package/components/PlayerAccountBettingHistory-CnZ39Cya.js +328 -0
- package/components/{PlayerAccountBiometrics-CEEVheLt.cjs → PlayerAccountBiometrics-BYO39i9p.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-CtLvJg_Q.js → PlayerAccountBiometrics-DkdsS2L0.js} +22 -22
- package/components/{PlayerAccountBiometrics-DIkqSnzX.js → PlayerAccountBiometrics-Kq_RsCQX.js} +22 -22
- package/components/{PlayerAccountClosureNd-7SyXUtdN.js → PlayerAccountClosureNd-BGyveR6u.js} +17 -17
- package/components/{PlayerAccountClosureNd-WqmFJkpU.cjs → PlayerAccountClosureNd-BVMVyN-i.cjs} +1 -1
- package/components/{PlayerAccountClosureNd-Byw-X8Sr.js → PlayerAccountClosureNd-DgRwmKhw.js} +17 -17
- package/components/{PlayerAccountControllerNd-DiYk8bzy.js → PlayerAccountControllerNd-AmwhyuAJ.js} +324 -324
- package/components/{PlayerAccountControllerNd-CwaeOSde.cjs → PlayerAccountControllerNd-B3hwM3tO.cjs} +1 -1
- package/components/{PlayerAccountControllerNd-CdfGI1SH.js → PlayerAccountControllerNd-DrZIwrcP.js} +322 -322
- package/components/{PlayerAccountGamingLimits-BIXEO8qU.cjs → PlayerAccountGamingLimits-DD_Xvlpx.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-Bj6iDB2S.js → PlayerAccountGamingLimits-DGBdF8wr.js} +127 -127
- package/components/{PlayerAccountGamingLimits-DxoR6Rl0.js → PlayerAccountGamingLimits-wCgrJnLI.js} +127 -127
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CVJUvbSC.cjs → PlayerAccountGamingLimitsConfirmationModal-B5DdL-Qq.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BzaZH1VM.js → PlayerAccountGamingLimitsConfirmationModal-Bhw66Tfe.js} +30 -30
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CxFJV4Qq.js → PlayerAccountGamingLimitsConfirmationModal-Dvenc_fN.js} +30 -30
- package/components/{PlayerAccountGamingLimitsGroupEdit-5Xl-352p.js → PlayerAccountGamingLimitsGroupEdit-B2r6jahF.js} +57 -55
- package/components/{PlayerAccountGamingLimitsGroupEdit-CYeY3dwe.js → PlayerAccountGamingLimitsGroupEdit-B5K6NQck.js} +57 -55
- package/components/PlayerAccountGamingLimitsGroupEdit-DrD_b8jP.cjs +2 -0
- package/components/{PlayerAccountGamingLimitsHistory2Nd-p3iqTl1u.js → PlayerAccountGamingLimitsHistory2Nd-BYhgU7A1.js} +199 -199
- package/components/{PlayerAccountGamingLimitsHistory2Nd-DrMT268T.js → PlayerAccountGamingLimitsHistory2Nd-D6VhX20D.js} +192 -192
- package/components/{PlayerAccountGamingLimitsHistory2Nd-juZ45FBC.cjs → PlayerAccountGamingLimitsHistory2Nd-DFtdC_JJ.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-COS0sgRr.cjs → PlayerAccountGamingLimitsInfoCard-CV-3DIxV.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-B-8AhoxC.js → PlayerAccountGamingLimitsInfoCard-Du4leiEi.js} +83 -83
- package/components/{PlayerAccountGamingLimitsInfoCard-DSLO6bv_.js → PlayerAccountGamingLimitsInfoCard-_4DnaPCJ.js} +83 -83
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-CNEarh24.js → PlayerAccountGamingLimitsPage2Gm16Nd-CUb4P6CK.js} +206 -206
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-Bcf8Z04l.js → PlayerAccountGamingLimitsPage2Gm16Nd-D93kFTBu.js} +187 -187
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-CEeTJ8Id.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-gKuQQbeq.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-B5CoTG_T.js → PlayerAccountGamingLimitsPopup-CBf5w2kb.js} +42 -42
- package/components/{PlayerAccountGamingLimitsPopup-CzDFUbRs.js → PlayerAccountGamingLimitsPopup-DS9FtNcO.js} +42 -42
- package/components/{PlayerAccountGamingLimitsPopup-CmNqLNxB.cjs → PlayerAccountGamingLimitsPopup-DySvpnhJ.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-OZ4__LSM.js → PlayerAccountGamingLimitsWrapper2Nd-BVEh3MOb.js} +36 -36
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-BA9kwsSe.cjs → PlayerAccountGamingLimitsWrapper2Nd-BydDxiYB.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-4Y2uzCxt.js → PlayerAccountGamingLimitsWrapper2Nd-DexMABpv.js} +36 -36
- package/components/{PlayerAccountGeneralConfirmationModal-BBveBuYk.js → PlayerAccountGeneralConfirmationModal-CVJBEg6r.js} +32 -32
- package/components/{PlayerAccountGeneralConfirmationModal-DFj-HuBM.js → PlayerAccountGeneralConfirmationModal-C_vpaSjC.js} +32 -32
- package/components/{PlayerAccountGeneralConfirmationModal-DHEkFez0.cjs → PlayerAccountGeneralConfirmationModal-DjEvyfLy.cjs} +1 -1
- package/components/{PlayerAccountMenuNd-DxU1mHZX.js → PlayerAccountMenuNd-BbFwjvUZ.js} +32 -32
- package/components/{PlayerAccountMenuNd-A0VS-bqc.js → PlayerAccountMenuNd-VfTLDcJ7.js} +29 -29
- package/components/{PlayerAccountMenuNd-DUUt9VRH.cjs → PlayerAccountMenuNd-ldM69TpJ.cjs} +1 -1
- package/components/{PlayerAccountModal-SsGlrcmj.cjs → PlayerAccountModal--0zxODF3.cjs} +1 -1
- package/components/{PlayerAccountModal-DHs1T-B4.js → PlayerAccountModal-CGYPes0F.js} +42 -42
- package/components/{PlayerAccountModal-iZqtQZF3.js → PlayerAccountModal-VzSk1pK3.js} +42 -42
- package/components/{PlayerAccountNotifications-aQgcZXcD.cjs → PlayerAccountNotifications-DL6whSl1.cjs} +1 -1
- package/components/{PlayerAccountNotifications-DlfjoTaZ.js → PlayerAccountNotifications-DouFF_cH.js} +120 -120
- package/components/{PlayerAccountNotifications-DfxnKiF_.js → PlayerAccountNotifications-pfmvSgjr.js} +35 -35
- package/components/{PlayerAccountProductRestriction-Bo8RstAq.js → PlayerAccountProductRestriction-B1kRUzkM.js} +2314 -2312
- package/components/{PlayerAccountProductRestriction-hEkChQnB.js → PlayerAccountProductRestriction-BvJ92iNo.js} +2328 -2326
- package/components/{PlayerAccountProductRestriction-BiiJjJv1.cjs → PlayerAccountProductRestriction-CoLHLqmO.cjs} +233 -233
- package/components/{PlayerAccountSelfExclusionNd-BM0uuQ_R.js → PlayerAccountSelfExclusionNd-BDyJ-i_j.js} +991 -911
- package/components/{PlayerAccountSelfExclusionNd-DIZ9IAuu.js → PlayerAccountSelfExclusionNd-C8-416-Q.js} +654 -574
- package/components/{PlayerAccountSelfExclusionNd-exVecYLr.cjs → PlayerAccountSelfExclusionNd-Exo6wC1W.cjs} +81 -81
- package/components/{PlayerAccountTimeout-BG_XwF9S.cjs → PlayerAccountTimeout-DBhk18ig.cjs} +1 -1
- package/components/{PlayerAccountTimeout-CbCgtPFQ.js → PlayerAccountTimeout-IFDsWgbD.js} +75 -75
- package/components/{PlayerAccountTimeout-X15-Nspy.js → PlayerAccountTimeout-kNUGg8Ce.js} +75 -75
- package/components/{PlayerAccountTransactionsHistory-D9VuHD09.js → PlayerAccountTransactionsHistory-BxpJPf7w.js} +59 -59
- package/components/{PlayerAccountTransactionsHistory-CgiiI8DD.cjs → PlayerAccountTransactionsHistory-C-FsvVmp.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-B7pz2TCR.js → PlayerAccountTransactionsHistory-CVPkK1ej.js} +59 -59
- package/components/{PlayerActiveBonuses-sQ7BsovQ.js → PlayerActiveBonuses-BH94Auve.js} +55 -55
- package/components/{PlayerActiveBonuses-DIapJ49L.js → PlayerActiveBonuses-D5dvyrmb.js} +48 -48
- package/components/{PlayerActiveBonuses-Dpef1XJD.cjs → PlayerActiveBonuses-dQOuytPa.cjs} +1 -1
- package/components/{PlayerBonusCard-7dIqFpfg.cjs → PlayerBonusCard-BZXqOzco.cjs} +1 -1
- package/components/{PlayerBonusCard-BAMVrPsC.js → PlayerBonusCard-BtDUZxTL.js} +81 -81
- package/components/{PlayerBonusCard-faBE6xxD.js → PlayerBonusCard-UJVwReBr.js} +81 -81
- package/components/{PlayerBonusHistory-BUDZiu-P.js → PlayerBonusHistory-C6KCSJx8.js} +33 -33
- package/components/{PlayerBonusHistory-ppwY60rv.cjs → PlayerBonusHistory-CmOldup0.cjs} +1 -1
- package/components/{PlayerBonusHistory-DqRPaMr-.js → PlayerBonusHistory-DSfHVxbN.js} +33 -33
- package/components/{PlayerChangePasswordNd-B0yPdyGM.js → PlayerChangePasswordNd-CiPj5e6I.js} +71 -71
- package/components/{PlayerChangePasswordNd-B0W5bdN2.js → PlayerChangePasswordNd-DgBk0TZ3.js} +71 -71
- package/components/{PlayerChangePasswordNd-DEzeq-CF.cjs → PlayerChangePasswordNd-JxsnlpId.cjs} +1 -1
- package/components/{PlayerDeposit-N7o3ip4d.js → PlayerDeposit-BMWzlG2-.js} +80 -80
- package/components/PlayerDeposit-XDLH1XV-.cjs +1 -0
- package/components/{PlayerDeposit-CHnzNVZy.js → PlayerDeposit-yFis4xl0.js} +80 -80
- package/components/{PlayerGamingHistory-Bm1BREq3.js → PlayerGamingHistory-BaPQwYES.js} +97 -97
- package/components/{PlayerGamingHistory-DXsCLoa_.js → PlayerGamingHistory-CmTDguMl.js} +88 -88
- package/components/{PlayerGamingHistory-Hs5LWwEP.cjs → PlayerGamingHistory-SuFKYHl5.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-BMwtFNQT.cjs → PlayerPendingWithdrawals-CrNEhXdS.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-B2WyLuNV.js → PlayerPendingWithdrawals-DXDpNvc0.js} +26 -26
- package/components/{PlayerPendingWithdrawals-CRRuYNXr.js → PlayerPendingWithdrawals-bL-txpqs.js} +26 -26
- package/components/{PlayerProfileInfo-DFw4ourA.cjs → PlayerProfileInfo-Ba0P3Lmq.cjs} +1 -1
- package/components/{PlayerProfileInfo-Cxaujp_D.js → PlayerProfileInfo-Co9ZbzUD.js} +66 -66
- package/components/{PlayerProfileInfo-DuQngBLo.js → PlayerProfileInfo-DoeTXAq7.js} +66 -66
- package/components/{PlayerRealityCheck-Bfazo0qy.js → PlayerRealityCheck-BJLzlVUt.js} +44 -44
- package/components/{PlayerRealityCheck-Dr_ZpTwE.cjs → PlayerRealityCheck-CC8qTWId.cjs} +1 -1
- package/components/{PlayerRealityCheck-BMeUmSDr.js → PlayerRealityCheck-DbAjDSQR.js} +43 -43
- package/components/{PlayerTransactionHistory-BQlWb-B9.js → PlayerTransactionHistory-BwMVf693.js} +19 -19
- package/components/{PlayerTransactionHistory-4VtQqLAc.cjs → PlayerTransactionHistory-CPYk3YFO.cjs} +1 -1
- package/components/{PlayerTransactionHistory-DyBRNwAw.js → PlayerTransactionHistory-CjiTH9aE.js} +19 -19
- package/components/{PlayerWithdrawal-BMLgaRLc.cjs → PlayerWithdrawal-9DnL98EG.cjs} +1 -1
- package/components/{PlayerWithdrawal-C6_CSTeL.js → PlayerWithdrawal-BE8JBn_B.js} +19 -19
- package/components/{PlayerWithdrawal-CgR0BwqA.js → PlayerWithdrawal-JE73Z0UZ.js} +19 -19
- package/es2015/player-account-controller-nd.cjs +1 -1
- package/es2015/player-account-controller-nd.js +1 -1
- package/esnext/player-account-controller-nd.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-BtDZukYI.cjs +0 -1
- package/components/PlayerAccountBettingHistory-BzAXq1xX.js +0 -329
- package/components/PlayerAccountBettingHistory-CwTEYOIN.js +0 -328
- 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
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { a4 as
|
|
2
|
-
import { d as Ee } 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 te, c as Mr, s as Or, b as Ir, e as w, k as ae, o as ci, p as le, q as Fr, u as Nr, v as zr, w as Lr, x as Rr, z as ro, A as Br, O as no, d as I, t as ne, y as Ae, F as Hr, g as E, h as Ue, l as f, m as Mt, n as de, P as $r, r as Yr, j as S, Y as qt, B as jr } from "./GeneralLogout-C6SVgUtg.js";
|
|
2
|
+
import { d as Ee } from "./PlayerAccountProductRestriction-B1kRUzkM.js";
|
|
3
|
+
import "../stencil/ui-skeleton-CScGJdv_.js";
|
|
4
|
+
import "./PlayerAccountGamingLimitsGroupEdit-B2r6jahF.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;
|
|
@@ -39,10 +39,10 @@ be(Vr);
|
|
|
39
39
|
* Copyright 2019 Google LLC
|
|
40
40
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
41
41
|
*/
|
|
42
|
-
const Dt = globalThis, Ii = Dt.ShadowRoot && (Dt.ShadyCSS === void 0 || Dt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype,
|
|
43
|
-
let
|
|
42
|
+
const Dt = globalThis, Ii = Dt.ShadowRoot && (Dt.ShadyCSS === void 0 || Dt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Fi = Symbol(), ao = /* @__PURE__ */ new WeakMap();
|
|
43
|
+
let Ni = class {
|
|
44
44
|
constructor(t, e, i) {
|
|
45
|
-
if (this._$cssResult$ = !0, i !==
|
|
45
|
+
if (this._$cssResult$ = !0, i !== Fi)
|
|
46
46
|
throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
47
47
|
this.cssText = t, this.t = e;
|
|
48
48
|
}
|
|
@@ -59,7 +59,7 @@ let zi = class {
|
|
|
59
59
|
return this.cssText;
|
|
60
60
|
}
|
|
61
61
|
};
|
|
62
|
-
const Ur = (o) => new
|
|
62
|
+
const Ur = (o) => new Ni(typeof o == "string" ? o : o + "", void 0, Fi), 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 Ur = (o) => new zi(typeof o == "string" ? o : o + "", void 0, Ni), 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 Ni(e, o, Fi);
|
|
71
71
|
}, Qo = (o, t) => {
|
|
72
72
|
if (Ii)
|
|
73
73
|
o.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
@@ -87,7 +87,7 @@ const Ur = (o) => new zi(typeof o == "string" ? o : o + "", void 0, Ni), P = (o,
|
|
|
87
87
|
* Copyright 2017 Google LLC
|
|
88
88
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
89
89
|
*/
|
|
90
|
-
const { is: Wr, defineProperty: qr, getOwnPropertyDescriptor: Kr, getOwnPropertyNames: Gr, getOwnPropertySymbols: Jr, getPrototypeOf: Xr } = Object, Ht = globalThis, co = Ht.trustedTypes, Zr = co ? co.emptyScript : "", Qr = Ht.reactiveElementPolyfillSupport,
|
|
90
|
+
const { is: Wr, defineProperty: qr, getOwnPropertyDescriptor: Kr, getOwnPropertyNames: Gr, getOwnPropertySymbols: Jr, getPrototypeOf: Xr } = Object, Ht = globalThis, co = Ht.trustedTypes, Zr = co ? co.emptyScript : "", Qr = Ht.reactiveElementPolyfillSupport, dt = (o, t) => o, ui = { toAttribute(o, t) {
|
|
91
91
|
switch (t) {
|
|
92
92
|
case Boolean:
|
|
93
93
|
o = o ? Zr : null;
|
|
@@ -115,7 +115,7 @@ const { is: Wr, defineProperty: qr, getOwnPropertyDescriptor: Kr, getOwnProperty
|
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
return e;
|
|
118
|
-
} }, es = (o, t) => !Wr(o, t), uo = { attribute: !0, type: String, converter:
|
|
118
|
+
} }, es = (o, t) => !Wr(o, t), uo = { attribute: !0, type: String, converter: ui, reflect: !1, hasChanged: es };
|
|
119
119
|
Symbol.metadata ??= Symbol("metadata"), Ht.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
|
|
120
120
|
class qe extends HTMLElement {
|
|
121
121
|
static addInitializer(t) {
|
|
@@ -125,7 +125,7 @@ class qe extends HTMLElement {
|
|
|
125
125
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
126
126
|
}
|
|
127
127
|
static createProperty(t, e = uo) {
|
|
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 && qr(this.prototype, t, s);
|
|
131
131
|
}
|
|
@@ -136,24 +136,26 @@ class qe 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) ?? uo;
|
|
146
148
|
}
|
|
147
149
|
static _$Ei() {
|
|
148
|
-
if (this.hasOwnProperty(
|
|
150
|
+
if (this.hasOwnProperty(dt("elementProperties")))
|
|
149
151
|
return;
|
|
150
152
|
const t = Xr(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(dt("finalized")))
|
|
155
157
|
return;
|
|
156
|
-
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(
|
|
158
|
+
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(dt("properties"))) {
|
|
157
159
|
const e = this.properties, i = [...Gr(e), ...Jr(e)];
|
|
158
160
|
for (const s of i)
|
|
159
161
|
this.createProperty(s, e[s]);
|
|
@@ -219,33 +221,32 @@ class qe 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
|
-
const r = (i.converter?.toAttribute !== void 0 ? i.converter :
|
|
227
|
+
const r = (i.converter?.toAttribute !== void 0 ? i.converter : ui).toAttribute(e, i.type);
|
|
226
228
|
this._$Em = t, r == null ? this.removeAttribute(s) : this.setAttribute(s, r), this._$Em = null;
|
|
227
229
|
}
|
|
228
230
|
}
|
|
229
231
|
_$AK(t, e) {
|
|
230
232
|
const i = this.constructor, s = i._$Eh.get(t);
|
|
231
233
|
if (s !== void 0 && this._$Em !== s) {
|
|
232
|
-
const r = i.getPropertyOptions(s), n = typeof r.converter == "function" ? { fromAttribute: r.converter } : r.converter?.fromAttribute !== void 0 ? r.converter :
|
|
233
|
-
this._$Em = s, this[s] = n.fromAttribute(e, r.type)
|
|
234
|
+
const r = i.getPropertyOptions(s), n = typeof r.converter == "function" ? { fromAttribute: r.converter } : r.converter?.fromAttribute !== void 0 ? r.converter : ui;
|
|
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 ?? es)(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 ?? es)(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 qe 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 qe 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,21 +300,21 @@ class qe 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
|
-
qe.elementStyles = [], qe.shadowRootOptions = { mode: "open" }, qe[
|
|
310
|
+
qe.elementStyles = [], qe.shadowRootOptions = { mode: "open" }, qe[dt("elementProperties")] = /* @__PURE__ */ new Map(), qe[dt("finalized")] = /* @__PURE__ */ new Map(), Qr?.({ ReactiveElement: qe }), (Ht.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]`, st = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, po = /-->/g, fo = />/g,
|
|
316
|
+
const zi = globalThis, Ot = zi.trustedTypes, ho = Ot ? Ot.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, ts = "$lit$", Me = `lit$${Math.random().toFixed(9).slice(2)}$`, is = "?" + Me, en = `<${is}>`, $e = document, pt = () => $e.createComment(""), ft = (o) => o === null || typeof o != "object" && typeof o != "function", Li = Array.isArray, tn = (o) => Li(o) || typeof o?.[Symbol.iterator] == "function", Kt = `[
|
|
317
|
+
\f\r]`, st = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, po = /-->/g, fo = />/g, ze = RegExp(`>|${Kt}(?:([^\\s"'>=/]+)(${Kt}*=${Kt}*(?:[^
|
|
319
318
|
\f\r"'\`<>=]|("|')|))|$)`, "g"), mo = /'/g, _o = /"/g, os = /^(?:script|style|textarea|title)$/i, Ze = Symbol.for("lit-noChange"), W = Symbol.for("lit-nothing"), go = /* @__PURE__ */ new WeakMap(), Le = $e.createTreeWalker($e, 129);
|
|
320
319
|
function ss(o, t) {
|
|
321
320
|
if (!Li(o) || !o.hasOwnProperty("raw"))
|
|
@@ -327,11 +326,11 @@ const on = (o, t) => {
|
|
|
327
326
|
let s, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = st;
|
|
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 === st ?
|
|
333
|
-
const m = n ===
|
|
334
|
-
r += n === st ? l + en :
|
|
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 === st ? u[1] === "!--" ? n = po : u[1] !== void 0 ? n = fo : u[2] !== void 0 ? (os.test(u[2]) && (s = RegExp("</" + u[2], "g")), n = ze) : u[3] !== void 0 && (n = ze) : n === ze ? u[0] === ">" ? (n = s ?? st, d = -1) : u[1] === void 0 ? d = -2 : (d = n.lastIndex - u[2].length, c = u[1], n = u[3] === void 0 ? ze : u[3] === '"' ? _o : mo) : n === _o || n === mo ? n = ze : n === po || n === fo ? n = st : (n = ze, s = void 0);
|
|
332
|
+
const m = n === ze && o[a + 1].startsWith("/>") ? " " : "";
|
|
333
|
+
r += n === st ? l + en : d >= 0 ? (i.push(c), l.slice(0, d) + ts + l.slice(d) + Me + m) : l + Me + (d === -2 ? a : m);
|
|
335
334
|
}
|
|
336
335
|
return [ss(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
|
|
337
336
|
};
|
|
@@ -340,36 +339,36 @@ class mt {
|
|
|
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,
|
|
342
|
+
const a = t.length - 1, l = this.parts, [c, u] = on(t, e);
|
|
344
343
|
if (this.el = mt.createElement(c, i), Le.currentNode = this.el.content, e === 2 || e === 3) {
|
|
345
|
-
const
|
|
346
|
-
|
|
344
|
+
const d = this.el.content.firstChild;
|
|
345
|
+
d.replaceWith(...d.childNodes);
|
|
347
346
|
}
|
|
348
347
|
for (; (s = Le.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] === "." ? rn : g[1] === "?" ? nn : g[1] === "@" ? an : $t }), s.removeAttribute(
|
|
350
|
+
for (const d of s.getAttributeNames())
|
|
351
|
+
if (d.endsWith(ts)) {
|
|
352
|
+
const h = u[n++], m = s.getAttribute(d).split(Me), g = /([.?@])?(.*)/.exec(h);
|
|
353
|
+
l.push({ type: 1, index: r, name: g[2], strings: m, ctor: g[1] === "." ? rn : g[1] === "?" ? nn : g[1] === "@" ? an : $t }), s.removeAttribute(d);
|
|
355
354
|
} else
|
|
356
|
-
|
|
355
|
+
d.startsWith(Me) && (l.push({ type: 6, index: r }), s.removeAttribute(d));
|
|
357
356
|
if (os.test(s.tagName)) {
|
|
358
|
-
const
|
|
357
|
+
const d = s.textContent.split(Me), h = d.length - 1;
|
|
359
358
|
if (h > 0) {
|
|
360
359
|
s.textContent = Ot ? Ot.emptyScript : "";
|
|
361
360
|
for (let m = 0; m < h; m++)
|
|
362
|
-
s.append(
|
|
363
|
-
s.append(
|
|
361
|
+
s.append(d[m], pt()), Le.nextNode(), l.push({ type: 2, index: ++r });
|
|
362
|
+
s.append(d[h], pt());
|
|
364
363
|
}
|
|
365
364
|
}
|
|
366
365
|
} else if (s.nodeType === 8)
|
|
367
366
|
if (s.data === is)
|
|
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(Me, d + 1)) !== -1; )
|
|
371
|
+
l.push({ type: 7, index: r }), d += Me.length - 1;
|
|
373
372
|
}
|
|
374
373
|
r++;
|
|
375
374
|
}
|
|
@@ -544,9 +543,9 @@ class ln {
|
|
|
544
543
|
Qe(this, t);
|
|
545
544
|
}
|
|
546
545
|
}
|
|
547
|
-
const cn =
|
|
548
|
-
cn?.(mt, wt), (
|
|
549
|
-
const
|
|
546
|
+
const cn = zi.litHtmlPolyfillSupport;
|
|
547
|
+
cn?.(mt, wt), (zi.litHtmlVersions ??= []).push("3.2.1");
|
|
548
|
+
const un = (o, t, e) => {
|
|
550
549
|
const i = e?.renderBefore ?? t;
|
|
551
550
|
let s = i._$litPart$;
|
|
552
551
|
if (s === void 0) {
|
|
@@ -560,7 +559,6 @@ const dn = (o, t, e) => {
|
|
|
560
559
|
* Copyright 2017 Google LLC
|
|
561
560
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
562
561
|
*/
|
|
563
|
-
const Ri = globalThis;
|
|
564
562
|
class Ke extends qe {
|
|
565
563
|
constructor() {
|
|
566
564
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
@@ -571,7 +569,7 @@ class Ke extends qe {
|
|
|
571
569
|
}
|
|
572
570
|
update(t) {
|
|
573
571
|
const e = this.render();
|
|
574
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do =
|
|
572
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = un(e, this.renderRoot, this.renderOptions);
|
|
575
573
|
}
|
|
576
574
|
connectedCallback() {
|
|
577
575
|
super.connectedCallback(), this._$Do?.setConnected(!0);
|
|
@@ -583,10 +581,10 @@ class Ke extends qe {
|
|
|
583
581
|
return Ze;
|
|
584
582
|
}
|
|
585
583
|
}
|
|
586
|
-
Ke._$litElement$ = !0, Ke.finalized = !0,
|
|
587
|
-
const
|
|
588
|
-
|
|
589
|
-
(
|
|
584
|
+
Ke._$litElement$ = !0, Ke.finalized = !0, globalThis.litElementHydrateSupport?.({ LitElement: Ke });
|
|
585
|
+
const dn = globalThis.litElementPolyfillSupport;
|
|
586
|
+
dn?.({ LitElement: Ke });
|
|
587
|
+
(globalThis.litElementVersions ??= []).push("4.1.1");
|
|
590
588
|
/**
|
|
591
589
|
* @license
|
|
592
590
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -631,7 +629,7 @@ const hn = (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 rs = [],
|
|
632
|
+
const rs = [], di = /* @__PURE__ */ new Set(), Ri = /* @__PURE__ */ new Set();
|
|
635
633
|
function ns(o) {
|
|
636
634
|
return o && Object.prototype.hasOwnProperty.call(o, "__themes");
|
|
637
635
|
}
|
|
@@ -639,7 +637,7 @@ function pn(o) {
|
|
|
639
637
|
return ns(customElements.get(o));
|
|
640
638
|
}
|
|
641
639
|
function fn(o = []) {
|
|
642
|
-
return [o].flat(1 / 0).filter((t) => t instanceof
|
|
640
|
+
return [o].flat(1 / 0).filter((t) => t instanceof Ni ? !0 : (console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."), !1));
|
|
643
641
|
}
|
|
644
642
|
function as(o, t) {
|
|
645
643
|
return (o || "").split(" ").some((e) => new RegExp(`^${e.split("*").join(".*")}$`, "u").test(t));
|
|
@@ -665,9 +663,9 @@ function _n(o) {
|
|
|
665
663
|
}
|
|
666
664
|
}
|
|
667
665
|
function gn(o) {
|
|
668
|
-
|
|
666
|
+
di.forEach((t) => {
|
|
669
667
|
const e = t.deref();
|
|
670
|
-
e instanceof o ? _n(e) : e ||
|
|
668
|
+
e instanceof o ? _n(e) : e || di.delete(t);
|
|
671
669
|
});
|
|
672
670
|
}
|
|
673
671
|
function cs(o) {
|
|
@@ -677,7 +675,7 @@ function cs(o) {
|
|
|
677
675
|
const t = o.prototype._template;
|
|
678
676
|
t.content.getElementById(It).textContent = ls(o.getStylesForThis());
|
|
679
677
|
}
|
|
680
|
-
|
|
678
|
+
Ri.forEach((t) => {
|
|
681
679
|
const e = customElements.get(t);
|
|
682
680
|
e !== o && e.prototype instanceof o && cs(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 && Ri.forEach((i) => {
|
|
698
696
|
if (as(o, i) && pn(i)) {
|
|
699
697
|
const s = customElements.get(i);
|
|
700
698
|
bn(s, t) ? console.warn(`Registering styles that already exist for ${i}`) : (!window.Vaadin || !window.Vaadin.suppressPostFinalizeStylesWarning) && console.warn(
|
|
@@ -710,18 +708,18 @@ function vn(o = "") {
|
|
|
710
708
|
let t = 0;
|
|
711
709
|
return o.startsWith("lumo-") || o.startsWith("material-") ? t = 1 : o.startsWith("vaadin-") && (t = 2), t;
|
|
712
710
|
}
|
|
713
|
-
function
|
|
711
|
+
function us(o) {
|
|
714
712
|
const t = [];
|
|
715
713
|
return o.include && [].concat(o.include).forEach((e) => {
|
|
716
714
|
const i = hi().find((s) => s.moduleId === e);
|
|
717
|
-
i ? t.push(...
|
|
715
|
+
i ? t.push(...us(i), ...i.styles) : console.warn(`Included moduleId ${e} not found in style registry`);
|
|
718
716
|
}, o.styles), t;
|
|
719
717
|
}
|
|
720
718
|
function yn(o) {
|
|
721
719
|
const t = `${o}-default-theme`, e = hi().filter((i) => i.moduleId !== t && as(i.themeFor, o)).map((i) => ({
|
|
722
720
|
...i,
|
|
723
721
|
// Prepend styles from included themes
|
|
724
|
-
styles: [...
|
|
722
|
+
styles: [...us(i), ...i.styles],
|
|
725
723
|
// Map moduleId to includePriority
|
|
726
724
|
includePriority: vn(i.moduleId)
|
|
727
725
|
})).sort((i, s) => s.includePriority - i.includePriority);
|
|
@@ -729,14 +727,14 @@ function yn(o) {
|
|
|
729
727
|
}
|
|
730
728
|
const Ye = (o) => class extends hn(o) {
|
|
731
729
|
constructor() {
|
|
732
|
-
super(),
|
|
730
|
+
super(), di.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 && Ri.add(this.is), this.elementStyles)
|
|
740
738
|
return;
|
|
741
739
|
const e = this.prototype._template;
|
|
742
740
|
!e || ns(this) || mn(this.getStylesForThis(), e);
|
|
@@ -939,7 +937,7 @@ it("style-props", Sn);
|
|
|
939
937
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
940
938
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
941
939
|
*/
|
|
942
|
-
const
|
|
940
|
+
const An = P`
|
|
943
941
|
:host {
|
|
944
942
|
/* Base (background) */
|
|
945
943
|
--lumo-base-color: #fff;
|
|
@@ -1025,8 +1023,8 @@ const Cn = P`
|
|
|
1025
1023
|
}
|
|
1026
1024
|
}
|
|
1027
1025
|
`;
|
|
1028
|
-
it("color-props",
|
|
1029
|
-
const
|
|
1026
|
+
it("color-props", An);
|
|
1027
|
+
const Cn = P`
|
|
1030
1028
|
[theme~='dark'] {
|
|
1031
1029
|
/* Base (background) */
|
|
1032
1030
|
--lumo-base-color: hsl(214, 35%, 21%);
|
|
@@ -1145,7 +1143,7 @@ const An = P`
|
|
|
1145
1143
|
background: transparent;
|
|
1146
1144
|
}
|
|
1147
1145
|
`;
|
|
1148
|
-
L("",
|
|
1146
|
+
L("", Cn, { moduleId: "lumo-color" });
|
|
1149
1147
|
/**
|
|
1150
1148
|
* @license
|
|
1151
1149
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -1271,7 +1269,7 @@ it("typography-props", Pn);
|
|
|
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 ds = P`
|
|
1275
1273
|
:host {
|
|
1276
1274
|
top: var(--lumo-space-m);
|
|
1277
1275
|
right: var(--lumo-space-m);
|
|
@@ -1337,7 +1335,7 @@ const us = P`
|
|
|
1337
1335
|
}
|
|
1338
1336
|
}
|
|
1339
1337
|
`;
|
|
1340
|
-
L("",
|
|
1338
|
+
L("", ds, { moduleId: "lumo-overlay" });
|
|
1341
1339
|
/**
|
|
1342
1340
|
* @license
|
|
1343
1341
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -1437,7 +1435,7 @@ const Dn = P`
|
|
|
1437
1435
|
transform: translateY(150%);
|
|
1438
1436
|
}
|
|
1439
1437
|
}
|
|
1440
|
-
`, ps = [
|
|
1438
|
+
`, ps = [ds, hs, Dn];
|
|
1441
1439
|
L("", ps, { moduleId: "lumo-menu-overlay" });
|
|
1442
1440
|
const Tn = P`
|
|
1443
1441
|
[part='overlay'] {
|
|
@@ -2565,7 +2563,7 @@ L("", ms, { moduleId: "lumo-required-field" });
|
|
|
2565
2563
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2566
2564
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2567
2565
|
*/
|
|
2568
|
-
const
|
|
2566
|
+
const Fn = P`
|
|
2569
2567
|
:host {
|
|
2570
2568
|
--lumo-text-field-size: var(--lumo-size-m);
|
|
2571
2569
|
color: var(--vaadin-input-field-value-color, var(--lumo-body-text-color));
|
|
@@ -2696,11 +2694,11 @@ const Nn = P`
|
|
|
2696
2694
|
[part='clear-button']::before {
|
|
2697
2695
|
content: var(--lumo-icons-cross);
|
|
2698
2696
|
}
|
|
2699
|
-
`, _s = [ms, fs, In,
|
|
2697
|
+
`, _s = [ms, fs, In, Fn];
|
|
2700
2698
|
L("", _s, {
|
|
2701
2699
|
moduleId: "lumo-input-field-shared-styles"
|
|
2702
2700
|
});
|
|
2703
|
-
const
|
|
2701
|
+
const Nn = P`
|
|
2704
2702
|
[part='toggle-button']::before {
|
|
2705
2703
|
content: var(--lumo-icons-calendar);
|
|
2706
2704
|
}
|
|
@@ -2723,7 +2721,7 @@ const zn = P`
|
|
|
2723
2721
|
--_lumo-text-field-overflow-mask-image: none;
|
|
2724
2722
|
}
|
|
2725
2723
|
`;
|
|
2726
|
-
L("vaadin-date-picker", [_s,
|
|
2724
|
+
L("vaadin-date-picker", [_s, Nn], { moduleId: "lumo-date-picker" });
|
|
2727
2725
|
/**
|
|
2728
2726
|
@license
|
|
2729
2727
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -2745,7 +2743,7 @@ 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
|
|
2746
|
+
let zn = /(url\()([^)]*)(\))/g, Ln = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, St, ue;
|
|
2749
2747
|
function ht(o, t) {
|
|
2750
2748
|
if (o && Ln.test(o) || o === "//")
|
|
2751
2749
|
return o;
|
|
@@ -2763,14 +2761,14 @@ function ht(o, t) {
|
|
|
2763
2761
|
} catch {
|
|
2764
2762
|
return o;
|
|
2765
2763
|
}
|
|
2766
|
-
return
|
|
2764
|
+
return ue || (ue = document.implementation.createHTMLDocument("temp"), ue.base = ue.createElement("base"), ue.head.appendChild(ue.base), ue.anchor = ue.createElement("a"), ue.body.appendChild(ue.anchor)), ue.base.href = t, ue.anchor.href = o, ue.anchor.href || o;
|
|
2767
2765
|
}
|
|
2768
|
-
function
|
|
2769
|
-
return o.replace(
|
|
2766
|
+
function Bi(o, t) {
|
|
2767
|
+
return o.replace(zn, function(e, i, s, r) {
|
|
2770
2768
|
return i + "'" + ht(s.replace(/["']/g, ""), t) + "'" + r;
|
|
2771
2769
|
});
|
|
2772
2770
|
}
|
|
2773
|
-
function
|
|
2771
|
+
function Hi(o) {
|
|
2774
2772
|
return o.substring(0, o.lastIndexOf("/") + 1);
|
|
2775
2773
|
}
|
|
2776
2774
|
/**
|
|
@@ -2795,9 +2793,9 @@ const Rn = gs && "adoptedStyleSheets" in Document.prototype && "replaceSync" in
|
|
|
2795
2793
|
return !1;
|
|
2796
2794
|
}
|
|
2797
2795
|
})();
|
|
2798
|
-
let Bn = window.Polymer && window.Polymer.rootPath ||
|
|
2796
|
+
let Bn = window.Polymer && window.Polymer.rootPath || Hi(document.baseURI || window.location.href), Ft = window.Polymer && window.Polymer.sanitizeDOMValue || void 0;
|
|
2799
2797
|
window.Polymer && window.Polymer.setPassiveTouchGestures;
|
|
2800
|
-
let
|
|
2798
|
+
let Nt = window.Polymer && window.Polymer.strictTemplatePolicy || !1, Hn = window.Polymer && window.Polymer.allowTemplateFromDomModule || !1, bs = window.Polymer && window.Polymer.legacyOptimizations || !1, vs = window.Polymer && window.Polymer.legacyWarnings || !1, $n = window.Polymer && window.Polymer.syncInitialRender || !1, pi = window.Polymer && window.Polymer.legacyUndefined || !1, Yn = window.Polymer && window.Polymer.orderedComputed || !1, bo = window.Polymer && window.Polymer.removeNestedTemplates || !1, jn = window.Polymer && window.Polymer.fastDomIf || !1, vo = window.Polymer && window.Polymer.suppressTemplateNotifications || !1;
|
|
2801
2799
|
window.Polymer && window.Polymer.legacyNoObservedAttributes;
|
|
2802
2800
|
let Vn = 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 $i = {}, ys = {};
|
|
2851
2849
|
function yo(o, t) {
|
|
2852
|
-
|
|
2850
|
+
$i[o] = ys[o.toLowerCase()] = t;
|
|
2853
2851
|
}
|
|
2854
2852
|
function xo(o) {
|
|
2855
|
-
return
|
|
2853
|
+
return $i[o] || ys[o.toLowerCase()];
|
|
2856
2854
|
}
|
|
2857
2855
|
function Wn(o) {
|
|
2858
2856
|
o.querySelector("style") && console.warn("dom-module %s has style outside template", o.id);
|
|
@@ -2910,7 +2908,7 @@ class _t extends HTMLElement {
|
|
|
2910
2908
|
this.getAttribute("assetpath") || "",
|
|
2911
2909
|
t.baseURI
|
|
2912
2910
|
);
|
|
2913
|
-
this.__assetpath =
|
|
2911
|
+
this.__assetpath = Hi(e);
|
|
2914
2912
|
}
|
|
2915
2913
|
return this.__assetpath;
|
|
2916
2914
|
}
|
|
@@ -2923,13 +2921,13 @@ class _t extends HTMLElement {
|
|
|
2923
2921
|
*/
|
|
2924
2922
|
register(t) {
|
|
2925
2923
|
if (t = t || this.id, t) {
|
|
2926
|
-
if (
|
|
2924
|
+
if (Nt && xo(t) !== void 0)
|
|
2927
2925
|
throw yo(t, null), new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);
|
|
2928
2926
|
this.id = t, yo(t, this), Wn(this);
|
|
2929
2927
|
}
|
|
2930
2928
|
}
|
|
2931
2929
|
}
|
|
2932
|
-
_t.prototype.modules =
|
|
2930
|
+
_t.prototype.modules = $i;
|
|
2933
2931
|
customElements.define("dom-module", _t);
|
|
2934
2932
|
/**
|
|
2935
2933
|
@license
|
|
@@ -2949,7 +2947,7 @@ function xs(o) {
|
|
|
2949
2947
|
}
|
|
2950
2948
|
function Eo(o) {
|
|
2951
2949
|
let t = o.body ? o.body : o;
|
|
2952
|
-
const e =
|
|
2950
|
+
const e = Bi(
|
|
2953
2951
|
t.textContent,
|
|
2954
2952
|
o.baseURI
|
|
2955
2953
|
), i = document.createElement("style");
|
|
@@ -2987,7 +2985,7 @@ function ws(o, t) {
|
|
|
2987
2985
|
let r = i[s], n = r.getAttribute(Kn);
|
|
2988
2986
|
n && e.push(...Gn(n).filter(function(a, l, c) {
|
|
2989
2987
|
return c.indexOf(a) === l;
|
|
2990
|
-
})), t && (r.textContent =
|
|
2988
|
+
})), t && (r.textContent = Bi(
|
|
2991
2989
|
r.textContent,
|
|
2992
2990
|
/** @type {string} */
|
|
2993
2991
|
t
|
|
@@ -3067,11 +3065,11 @@ function ct(o) {
|
|
|
3067
3065
|
} else
|
|
3068
3066
|
return o;
|
|
3069
3067
|
}
|
|
3070
|
-
function
|
|
3068
|
+
function As(o) {
|
|
3071
3069
|
return Array.isArray(o) ? ct(o).split(".") : o.toString().split(".");
|
|
3072
3070
|
}
|
|
3073
3071
|
function re(o, t, e) {
|
|
3074
|
-
let i = o, s =
|
|
3072
|
+
let i = o, s = As(t);
|
|
3075
3073
|
for (let r = 0; r < s.length; r++) {
|
|
3076
3074
|
if (!i)
|
|
3077
3075
|
return;
|
|
@@ -3081,7 +3079,7 @@ function re(o, t, e) {
|
|
|
3081
3079
|
return e && (e.path = s.join(".")), i;
|
|
3082
3080
|
}
|
|
3083
3081
|
function So(o, t, e) {
|
|
3084
|
-
let i = o, s =
|
|
3082
|
+
let i = o, s = As(t), r = s[s.length - 1];
|
|
3085
3083
|
if (s.length > 1) {
|
|
3086
3084
|
for (let n = 0; n < s.length - 1; n++) {
|
|
3087
3085
|
let a = s[n];
|
|
@@ -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 zt = {}, Qn = /-[a-z]/g, ea = /([A-Z])/g;
|
|
3104
|
+
function Cs(o) {
|
|
3105
|
+
return zt[o] || (zt[o] = o.indexOf("-") < 0 ? o : o.replace(
|
|
3108
3106
|
Qn,
|
|
3109
3107
|
(t) => t[1].toUpperCase()
|
|
3110
3108
|
));
|
|
3111
3109
|
}
|
|
3112
3110
|
function Yt(o) {
|
|
3113
|
-
return
|
|
3111
|
+
return zt[o] || (zt[o] = o.replace(ea, "-$1").toLowerCase());
|
|
3114
3112
|
}
|
|
3115
3113
|
/**
|
|
3116
3114
|
@license
|
|
@@ -3652,12 +3650,12 @@ Code distributed by Google as part of the polymer project is also
|
|
|
3652
3650
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3653
3651
|
*/
|
|
3654
3652
|
const Ms = {};
|
|
3655
|
-
let
|
|
3656
|
-
for (;
|
|
3657
|
-
let o = Object.getOwnPropertyNames(
|
|
3653
|
+
let At = HTMLElement.prototype;
|
|
3654
|
+
for (; At; ) {
|
|
3655
|
+
let o = Object.getOwnPropertyNames(At);
|
|
3658
3656
|
for (let t = 0; t < o.length; t++)
|
|
3659
3657
|
Ms[o[t]] = !0;
|
|
3660
|
-
|
|
3658
|
+
At = Object.getPrototypeOf(At);
|
|
3661
3659
|
}
|
|
3662
3660
|
const na = window.trustedTypes ? (o) => trustedTypes.isHTML(o) || trustedTypes.isScript(o) || trustedTypes.isScriptURL(o) : () => !1;
|
|
3663
3661
|
function aa(o, t) {
|
|
@@ -3685,7 +3683,7 @@ const la = V((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(Cs(s[r]));
|
|
3689
3687
|
}
|
|
3690
3688
|
/**
|
|
3691
3689
|
* Returns an attribute name that corresponds to the given property.
|
|
@@ -3882,17 +3880,17 @@ const ca = {
|
|
|
3882
3880
|
"dom-if": !0,
|
|
3883
3881
|
"dom-repeat": !0
|
|
3884
3882
|
};
|
|
3885
|
-
let
|
|
3886
|
-
function
|
|
3887
|
-
if (!
|
|
3888
|
-
|
|
3883
|
+
let Ao = !1, Co = !1;
|
|
3884
|
+
function ua() {
|
|
3885
|
+
if (!Ao) {
|
|
3886
|
+
Ao = !0;
|
|
3889
3887
|
const o = document.createElement("textarea");
|
|
3890
|
-
o.placeholder = "a",
|
|
3888
|
+
o.placeholder = "a", Co = o.placeholder === o.textContent;
|
|
3891
3889
|
}
|
|
3892
|
-
return
|
|
3890
|
+
return Co;
|
|
3893
3891
|
}
|
|
3894
|
-
function
|
|
3895
|
-
|
|
3892
|
+
function da(o) {
|
|
3893
|
+
ua() && o.localName === "textarea" && o.placeholder && o.placeholder === o.textContent && (o.textContent = null);
|
|
3896
3894
|
}
|
|
3897
3895
|
const ha = (() => {
|
|
3898
3896
|
const o = window.trustedTypes && window.trustedTypes.createPolicy(
|
|
@@ -4076,7 +4074,7 @@ const ba = V(
|
|
|
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), da(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 ba = V(
|
|
|
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 = pa(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 ba = V(
|
|
|
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] = Os(a,
|
|
4233
|
-
fa(this, a.$, h,
|
|
4229
|
+
for (let c = 0, u = r.length, d; c < u && (d = r[c]); c++) {
|
|
4230
|
+
let h = l[c] = Os(a, d);
|
|
4231
|
+
fa(this, a.$, h, d), _a(this, h, d, s), ma(this, h, d);
|
|
4234
4232
|
}
|
|
4235
4233
|
return a = /** @type {!StampedTemplate} */
|
|
4236
4234
|
a, a;
|
|
@@ -4314,28 +4312,28 @@ function Gt(o, t, e) {
|
|
|
4314
4312
|
}
|
|
4315
4313
|
return i;
|
|
4316
4314
|
}
|
|
4317
|
-
function
|
|
4315
|
+
function ut(o, t, e, i, s, r) {
|
|
4318
4316
|
if (t) {
|
|
4319
4317
|
let n = !1;
|
|
4320
4318
|
const a = vt++;
|
|
4321
4319
|
for (let l in e) {
|
|
4322
|
-
let c = s ? je(l) : l,
|
|
4323
|
-
if (
|
|
4324
|
-
for (let
|
|
4325
|
-
(!m.info || m.info.lastRun !== a) && (!s ||
|
|
4320
|
+
let c = s ? je(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 || Yi(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 ya(o, t, e, i, s, r, n, a) {
|
|
4332
|
-
let l = !1, c = n ? je(i) : i,
|
|
4333
|
-
if (
|
|
4334
|
-
for (let
|
|
4335
|
-
(!m.info || m.info.lastRun !== e) && (!n ||
|
|
4330
|
+
let l = !1, c = n ? je(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 || Yi(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 Yi(o, t) {
|
|
4339
4337
|
if (t) {
|
|
4340
4338
|
let e = (
|
|
4341
4339
|
/** @type {string} */
|
|
@@ -4360,11 +4358,11 @@ function wa(o, t, e) {
|
|
|
4360
4358
|
let i = je(t);
|
|
4361
4359
|
if (i !== t) {
|
|
4362
4360
|
let s = Yt(i) + "-changed";
|
|
4363
|
-
return
|
|
4361
|
+
return Fs(o, s, e[t], t), !0;
|
|
4364
4362
|
}
|
|
4365
4363
|
return !1;
|
|
4366
4364
|
}
|
|
4367
|
-
function
|
|
4365
|
+
function Fs(o, t, e, i) {
|
|
4368
4366
|
let s = {
|
|
4369
4367
|
value: e,
|
|
4370
4368
|
queueProperty: !0
|
|
@@ -4376,7 +4374,7 @@ function Ns(o, t, e, i) {
|
|
|
4376
4374
|
}
|
|
4377
4375
|
function Ea(o, t, e, i, s, r) {
|
|
4378
4376
|
let a = (r ? je(t) : t) != t ? t : null, l = a ? re(o, a) : o.__data[t];
|
|
4379
|
-
a && l === void 0 && (l = e[t]),
|
|
4377
|
+
a && l === void 0 && (l = e[t]), Fs(o, s.eventName, l, a);
|
|
4380
4378
|
}
|
|
4381
4379
|
function Sa(o, t, e, i, s) {
|
|
4382
4380
|
let r, n = (
|
|
@@ -4385,9 +4383,9 @@ function Sa(o, t, e, i, s) {
|
|
|
4385
4383
|
), a = n && n.path;
|
|
4386
4384
|
a ? (i = bt(e, i, a), r = n && n.value) : r = o.currentTarget[e], r = s ? !r : r, (!t[D.READ_ONLY] || !t[D.READ_ONLY][i]) && t._setPendingPropertyOrPath(i, r, !0, !!a) && (!n || !n.queueProperty) && t._invalidateProperties();
|
|
4387
4385
|
}
|
|
4388
|
-
function
|
|
4386
|
+
function Aa(o, t, e, i, s) {
|
|
4389
4387
|
let r = o.__data[t];
|
|
4390
|
-
|
|
4388
|
+
Ft && (r = Ft(
|
|
4391
4389
|
r,
|
|
4392
4390
|
s.attrName,
|
|
4393
4391
|
"attribute",
|
|
@@ -4395,7 +4393,7 @@ function Ca(o, t, e, i, s) {
|
|
|
4395
4393
|
o
|
|
4396
4394
|
)), o._propertyToAttribute(t, s.attrName, r);
|
|
4397
4395
|
}
|
|
4398
|
-
function
|
|
4396
|
+
function Ca(o, t, e, i) {
|
|
4399
4397
|
let s = o[D.COMPUTE];
|
|
4400
4398
|
if (s)
|
|
4401
4399
|
if (Yn) {
|
|
@@ -4405,7 +4403,7 @@ function Aa(o, t, e, i) {
|
|
|
4405
4403
|
ko(l, s, n, r, i);
|
|
4406
4404
|
let a;
|
|
4407
4405
|
for (; a = n.shift(); )
|
|
4408
|
-
|
|
4406
|
+
Ns(o, "", t, e, a) && ko(a.methodInfo, s, n, r, i);
|
|
4409
4407
|
Object.assign(
|
|
4410
4408
|
/** @type {!Object} */
|
|
4411
4409
|
e,
|
|
@@ -4417,7 +4415,7 @@ function Aa(o, t, e, i) {
|
|
|
4417
4415
|
), o.__dataPending = null;
|
|
4418
4416
|
} else {
|
|
4419
4417
|
let r = t;
|
|
4420
|
-
for (;
|
|
4418
|
+
for (; ut(o, s, r, e, i); )
|
|
4421
4419
|
Object.assign(
|
|
4422
4420
|
/** @type {!Object} */
|
|
4423
4421
|
e,
|
|
@@ -4448,7 +4446,7 @@ const Pa = (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 !== vt && (!s ||
|
|
4449
|
+
l.info.lastRun !== vt && (!s || Yi(o, l.trigger)) && (l.info.lastRun = vt, Pa(l.info, e, i));
|
|
4452
4450
|
}
|
|
4453
4451
|
};
|
|
4454
4452
|
function ka(o) {
|
|
@@ -4481,7 +4479,7 @@ function Da(o) {
|
|
|
4481
4479
|
t[n] || s.push(n);
|
|
4482
4480
|
return { counts: e, ready: s, total: r };
|
|
4483
4481
|
}
|
|
4484
|
-
function
|
|
4482
|
+
function Ns(o, t, e, i, s) {
|
|
4485
4483
|
let r = _i(o, t, e, i, s);
|
|
4486
4484
|
if (r === yt)
|
|
4487
4485
|
return !1;
|
|
@@ -4501,14 +4499,14 @@ function Ta(o, t, e) {
|
|
|
4501
4499
|
function Jt(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 || Yt(s) + "-changed", a.listenerNegate =
|
|
4502
|
+
if (e.bindings.push(a), Na(a)) {
|
|
4503
|
+
let { event: c, negate: u } = a.parts[0];
|
|
4504
|
+
a.listenerEvent = c || Yt(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, Ma(o, t, a, u, l);
|
|
4512
4510
|
}
|
|
4513
4511
|
}
|
|
4514
4512
|
function Ma(o, t, e, i, s) {
|
|
@@ -4530,15 +4528,15 @@ function Ma(o, t, e, i, s) {
|
|
|
4530
4528
|
function Oa(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 = bt(c.source, l.target, t), a._setPendingPropertyOrPath(t,
|
|
4531
|
+
let u = e[t];
|
|
4532
|
+
t = bt(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 !== yt && Ia(o, a, l, c, u);
|
|
4538
4536
|
}
|
|
4539
4537
|
}
|
|
4540
4538
|
function Ia(o, t, e, i, s) {
|
|
4541
|
-
if (s =
|
|
4539
|
+
if (s = Fa(t, s, e, i), Ft && (s = Ft(s, e.target, e.kind, t)), e.kind == "attribute")
|
|
4542
4540
|
o._valueToNodeAttribute(
|
|
4543
4541
|
/** @type {Element} */
|
|
4544
4542
|
t,
|
|
@@ -4550,17 +4548,17 @@ function Ia(o, t, e, i, s) {
|
|
|
4550
4548
|
t.__isPropertyEffectsClient && t.__dataHasAccessor && t.__dataHasAccessor[r] ? (!t[D.READ_ONLY] || !t[D.READ_ONLY][r]) && t._setPendingProperty(r, s) && o._enqueueClient(t) : o._setUnmanagedPropertyToNode(t, r, s);
|
|
4551
4549
|
}
|
|
4552
4550
|
}
|
|
4553
|
-
function
|
|
4551
|
+
function Fa(o, t, e, i) {
|
|
4554
4552
|
if (e.isCompound) {
|
|
4555
4553
|
let s = o.__dataCompoundStorage[e.target];
|
|
4556
4554
|
s[i.compoundIndex] = t, t = s.join("");
|
|
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 Na(o) {
|
|
4561
4559
|
return !!o.target && o.kind != "attribute" && o.kind != "text" && !o.isCompound && o.parts[0].mode === "{";
|
|
4562
4560
|
}
|
|
4563
|
-
function
|
|
4561
|
+
function za(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++) {
|
|
@@ -4617,7 +4615,7 @@ function _i(o, t, e, i, s) {
|
|
|
4617
4615
|
} else
|
|
4618
4616
|
s.dynamicFn || console.warn("method `" + s.methodName + "` not defined");
|
|
4619
4617
|
}
|
|
4620
|
-
const Ba = [],
|
|
4618
|
+
const Ba = [], zs = "(?:[a-zA-Z_$][\\w.:$\\-*]*)", Ha = "(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)", $a = "(?:'(?:[^'\\\\]|\\\\.)*')", Ya = '(?:"(?:[^"\\\\]|\\\\.)*")', ja = "(?:" + $a + "|" + Ya + ")", To = "(?:(" + zs + "|" + Ha + "|" + ja + ")\\s*)", Va = "(?:" + To + "(?:,\\s*" + To + ")*)", Ua = "(?:\\(\\s*(?:" + Va + "?)\\)\\s*)", Wa = "(" + zs + "\\s*" + Ua + "?)", qa = "(\\[\\[|{{)\\s*", Ka = "(?:]]|}})", Ga = "(?:(!)\\s*)?", Ja = qa + Ga + Wa + Ka, Mo = new RegExp(Ja, "g");
|
|
4621
4619
|
function Oo(o) {
|
|
4622
4620
|
let t = "";
|
|
4623
4621
|
for (let e = 0; e < o.length; e++) {
|
|
@@ -4681,7 +4679,7 @@ function rt(o, t, e, i, s, r) {
|
|
|
4681
4679
|
function Za(o) {
|
|
4682
4680
|
return o[0].toUpperCase() + o.substring(1);
|
|
4683
4681
|
}
|
|
4684
|
-
const
|
|
4682
|
+
const ji = V((o) => {
|
|
4685
4683
|
const t = ba(la(o));
|
|
4686
4684
|
class e extends t {
|
|
4687
4685
|
constructor() {
|
|
@@ -5086,7 +5084,7 @@ const Vi = V((o) => {
|
|
|
5086
5084
|
let a = this.__dataHasPaths;
|
|
5087
5085
|
this.__dataHasPaths = !1;
|
|
5088
5086
|
let l;
|
|
5089
|
-
|
|
5087
|
+
Ca(this, r, n, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(r, n, a), this._flushClients(), ut(this, this[D.REFLECT], r, n, a), ut(this, this[D.OBSERVE], r, n, a), l && xa(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
|
|
@@ -5100,20 +5098,20 @@ const Vi = V((o) => {
|
|
|
5100
5098
|
* @protected
|
|
5101
5099
|
*/
|
|
5102
5100
|
_propagatePropertyChanges(s, r, n) {
|
|
5103
|
-
this[D.PROPAGATE] &&
|
|
5101
|
+
this[D.PROPAGATE] && ut(this, this[D.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,
|
|
5107
|
-
|
|
5104
|
+
const l = (c, u) => {
|
|
5105
|
+
ut(
|
|
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 Vi = V((o) => {
|
|
|
5303
5301
|
re(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) && rt(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.
|
|
@@ -5473,7 +5471,7 @@ const Vi = V((o) => {
|
|
|
5473
5471
|
_createReflectedProperty(s) {
|
|
5474
5472
|
let r = this.constructor.attributeNameForProperty(s);
|
|
5475
5473
|
r[0] === "-" ? console.warn("Property " + s + " cannot be reflected to attribute " + r + ' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.') : this._addPropertyEffect(s, D.REFLECT, {
|
|
5476
|
-
fn:
|
|
5474
|
+
fn: Aa,
|
|
5477
5475
|
info: {
|
|
5478
5476
|
attrName: r
|
|
5479
5477
|
}
|
|
@@ -5496,7 +5494,7 @@ const Vi = V((o) => {
|
|
|
5496
5494
|
let a = Xt(r);
|
|
5497
5495
|
if (!a)
|
|
5498
5496
|
throw new Error("Malformed computed expression '" + r + "'");
|
|
5499
|
-
const l = Do(this, a, D.COMPUTE,
|
|
5497
|
+
const l = Do(this, a, D.COMPUTE, Ns, s, n);
|
|
5500
5498
|
Gt(this, Is)[s] = l;
|
|
5501
5499
|
}
|
|
5502
5500
|
/**
|
|
@@ -5514,18 +5512,18 @@ const Vi = V((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 _ = gt(
|
|
5519
|
+
const _ = gt(d, r), y = Io(a, n, _ ? r : d);
|
|
5522
5520
|
g = {
|
|
5523
|
-
path: _ ? r :
|
|
5521
|
+
path: _ ? r : d,
|
|
5524
5522
|
value: y,
|
|
5525
|
-
base: _ ? re(a,
|
|
5523
|
+
base: _ ? re(a, d) : y
|
|
5526
5524
|
};
|
|
5527
5525
|
} else
|
|
5528
|
-
g = h ? Io(a, n,
|
|
5526
|
+
g = h ? Io(a, n, d) : a[d];
|
|
5529
5527
|
if (pi && !this._overrideLegacyUndefined && g === void 0 && s.length > 1)
|
|
5530
5528
|
return yt;
|
|
5531
5529
|
l[c] = g;
|
|
@@ -5808,7 +5806,7 @@ const Vi = V((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, za(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 Vi = V((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 Vi = V((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
|
-
va.test(a) ?
|
|
5882
|
+
let u = a, d = "property";
|
|
5883
|
+
va.test(a) ? d = "attribute" : a[a.length - 1] == "$" && (a = a.slice(0, -1), d = "attribute");
|
|
5886
5884
|
let h = Oo(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 = Cs(a)), Jt(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 Vi = V((o) => {
|
|
|
5916
5914
|
r,
|
|
5917
5915
|
n
|
|
5918
5916
|
);
|
|
5919
|
-
const l = s.parentNode, c = n.templateInfo,
|
|
5920
|
-
bo && (
|
|
5917
|
+
const l = s.parentNode, c = n.templateInfo, u = l.localName === "dom-if", d = l.localName === "dom-repeat";
|
|
5918
|
+
bo && (u || d) && (l.removeChild(s), n = n.parentInfo, n.templateInfo = c, n.noted = !0, a = !1);
|
|
5921
5919
|
let h = c.hostProps;
|
|
5922
|
-
if (jn &&
|
|
5920
|
+
if (jn && u)
|
|
5923
5921
|
h && (r.hostProps = Object.assign(r.hostProps || {}, h), bo || (n.parentInfo.noted = !0));
|
|
5924
5922
|
else {
|
|
5925
5923
|
let m = "{";
|
|
@@ -5979,23 +5977,23 @@ const Vi = V((o) => {
|
|
|
5979
5977
|
let n = [], a = 0, l;
|
|
5980
5978
|
for (; (l = Mo.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 = Xt(
|
|
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 = Xt(d), _ = [];
|
|
5985
5983
|
if (p) {
|
|
5986
5984
|
let { args: y, methodName: v } = p;
|
|
5987
|
-
for (let
|
|
5988
|
-
let k = y[
|
|
5985
|
+
for (let A = 0; A < y.length; A++) {
|
|
5986
|
+
let k = y[A];
|
|
5989
5987
|
k.literal || _.push(k);
|
|
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 Vi = V((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 = _i(s, n, a, l, r.signature) : n != r.source ? u = re(s, r.source) : c && fi(n) ? u = re(s, n) : u = s.__data[n], r.negate && (u = !u), u;
|
|
6031
6029
|
}
|
|
6032
6030
|
}
|
|
6033
6031
|
return e;
|
|
@@ -6209,17 +6207,17 @@ const el = V((o) => {
|
|
|
6209
6207
|
* Google as part of the polymer project is also subject to an additional IP
|
|
6210
6208
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6211
6209
|
*/
|
|
6212
|
-
const tl = "3.5.2",
|
|
6213
|
-
const t = el(
|
|
6210
|
+
const tl = "3.5.2", Fo = window.ShadyCSS && window.ShadyCSS.cssBuild, il = V((o) => {
|
|
6211
|
+
const t = el(ji(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 tl = "3.5.2", No = window.ShadyCSS && window.ShadyCSS.cssBuild, il = V((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,
|
|
6241
|
-
if (!
|
|
6242
|
-
const h = c.content.querySelectorAll("style"), m = ws(c), g = Xn(
|
|
6238
|
+
function r(l, c, u, d) {
|
|
6239
|
+
if (!Fo) {
|
|
6240
|
+
const h = c.content.querySelectorAll("style"), m = ws(c), g = Xn(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), Vn && Fo && Rn) {
|
|
6254
6252
|
const h = c.content.querySelectorAll("style");
|
|
6255
6253
|
if (h) {
|
|
6256
6254
|
let m = "";
|
|
@@ -6262,8 +6260,8 @@ const tl = "3.5.2", No = window.ShadyCSS && window.ShadyCSS.cssBuild, il = V((o)
|
|
|
6262
6260
|
}
|
|
6263
6261
|
function n(l) {
|
|
6264
6262
|
let c = null;
|
|
6265
|
-
if (l && (!
|
|
6266
|
-
_t.import(l, "template"),
|
|
6263
|
+
if (l && (!Nt || Hn) && (c = /** @type {?HTMLTemplateElement} */
|
|
6264
|
+
_t.import(l, "template"), Nt && !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 tl = "3.5.2", No = window.ShadyCSS && window.ShadyCSS.cssBuild, il = V((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 tl = "3.5.2", No = window.ShadyCSS && window.ShadyCSS.cssBuild, il = V((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 tl = "3.5.2", No = window.ShadyCSS && window.ShadyCSS.cssBuild, il = V((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 = Hi(c.url);
|
|
6436
6434
|
else {
|
|
6437
|
-
const
|
|
6435
|
+
const u = _t.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 tl = "3.5.2", No = window.ShadyCSS && window.ShadyCSS.cssBuild, il = V((o)
|
|
|
6468
6466
|
), super._initializeProperties(), this.rootPath = Bn, 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 tl = "3.5.2", No = window.ShadyCSS && window.ShadyCSS.cssBuild, il = V((o)
|
|
|
6496
6494
|
* @protected
|
|
6497
6495
|
* @nocollapse
|
|
6498
6496
|
*/
|
|
6499
|
-
static _processStyleText(c,
|
|
6500
|
-
return
|
|
6497
|
+
static _processStyleText(c, u) {
|
|
6498
|
+
return Bi(c, u);
|
|
6501
6499
|
}
|
|
6502
6500
|
/**
|
|
6503
6501
|
* Configures an element `proto` to function with a given `template`.
|
|
@@ -6510,11 +6508,11 @@ const tl = "3.5.2", No = window.ShadyCSS && window.ShadyCSS.cssBuild, il = V((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 ? ht(d) : "";
|
|
6515
|
+
r(this, u, c, h), this.prototype._bindTemplate(u);
|
|
6518
6516
|
}
|
|
6519
6517
|
}
|
|
6520
6518
|
/**
|
|
@@ -6574,9 +6572,9 @@ const tl = "3.5.2", No = window.ShadyCSS && window.ShadyCSS.cssBuild, il = V((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])), $n && 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 tl = "3.5.2", No = window.ShadyCSS && window.ShadyCSS.cssBuild, il = V((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 = ht(this.importPath)), ht(c, u);
|
|
6629
6627
|
}
|
|
6630
6628
|
/**
|
|
6631
6629
|
* Overrides `PropertyEffects` to add map of dynamic functions on
|
|
@@ -6640,12 +6638,12 @@ const tl = "3.5.2", No = window.ShadyCSS && window.ShadyCSS.cssBuild, il = V((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 tl = "3.5.2", No = window.ShadyCSS && window.ShadyCSS.cssBuild, il = V((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 vs && !(
|
|
6661
|
+
static _addTemplatePropertyEffect(c, u, d) {
|
|
6662
|
+
return vs && !(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 No = window.trustedTypes && trustedTypes.createPolicy("polymer-html-literal", { createHTML: (o) => o });
|
|
6690
6688
|
class Bs {
|
|
6691
6689
|
/**
|
|
6692
6690
|
* @param {!ITemplateArray} strings Constant parts of tagged template literal
|
|
@@ -6740,7 +6738,7 @@ const Ve = function(t, ...e) {
|
|
|
6740
6738
|
(r, n, a) => r + ol(n) + t[a + 1],
|
|
6741
6739
|
t[0]
|
|
6742
6740
|
);
|
|
6743
|
-
return
|
|
6741
|
+
return No && (s = No.createHTML(s)), i.innerHTML = s, i;
|
|
6744
6742
|
}, $s = (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 cl = 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 Vi = !1;
|
|
7035
7033
|
window.addEventListener(
|
|
7036
7034
|
"keydown",
|
|
7037
7035
|
() => {
|
|
7038
|
-
|
|
7036
|
+
Vi = !0;
|
|
7039
7037
|
},
|
|
7040
7038
|
{ capture: !0 }
|
|
7041
7039
|
);
|
|
7042
7040
|
window.addEventListener(
|
|
7043
7041
|
"mousedown",
|
|
7044
7042
|
() => {
|
|
7045
|
-
|
|
7043
|
+
Vi = !1;
|
|
7046
7044
|
},
|
|
7047
7045
|
{ capture: !0 }
|
|
7048
7046
|
);
|
|
@@ -7052,24 +7050,24 @@ function vi() {
|
|
|
7052
7050
|
o = o.shadowRoot.activeElement;
|
|
7053
7051
|
return o;
|
|
7054
7052
|
}
|
|
7055
|
-
function
|
|
7056
|
-
return
|
|
7053
|
+
function Ui() {
|
|
7054
|
+
return Vi;
|
|
7057
7055
|
}
|
|
7058
|
-
function
|
|
7056
|
+
function ul(o) {
|
|
7059
7057
|
const t = o.style;
|
|
7060
7058
|
if (t.visibility === "hidden" || t.display === "none")
|
|
7061
7059
|
return !0;
|
|
7062
7060
|
const e = window.getComputedStyle(o);
|
|
7063
7061
|
return e.visibility === "hidden" || e.display === "none";
|
|
7064
7062
|
}
|
|
7065
|
-
function
|
|
7063
|
+
function dl(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
7067
|
function hl(o, t) {
|
|
7070
7068
|
const e = [];
|
|
7071
7069
|
for (; o.length > 0 && t.length > 0; )
|
|
7072
|
-
|
|
7070
|
+
dl(o[0], t[0]) ? e.push(t.shift()) : e.push(o.shift());
|
|
7073
7071
|
return e.concat(o, t);
|
|
7074
7072
|
}
|
|
7075
7073
|
function yi(o) {
|
|
@@ -7092,7 +7090,7 @@ function fl(o) {
|
|
|
7092
7090
|
return Number(t);
|
|
7093
7091
|
}
|
|
7094
7092
|
function js(o, t) {
|
|
7095
|
-
if (o.nodeType !== Node.ELEMENT_NODE ||
|
|
7093
|
+
if (o.nodeType !== Node.ELEMENT_NODE || ul(o))
|
|
7096
7094
|
return !1;
|
|
7097
7095
|
const e = (
|
|
7098
7096
|
/** @type {HTMLElement} */
|
|
@@ -7170,11 +7168,11 @@ const El = (() => {
|
|
|
7170
7168
|
* Copyright (c) 2017 Anton Korzunov
|
|
7171
7169
|
* SPDX-License-Identifier: MIT
|
|
7172
7170
|
*/
|
|
7173
|
-
let We = /* @__PURE__ */ new WeakMap(),
|
|
7174
|
-
const
|
|
7171
|
+
let We = /* @__PURE__ */ new WeakMap(), Ct = /* @__PURE__ */ new WeakMap(), Pt = {}, Zt = 0;
|
|
7172
|
+
const zo = (o) => o && o.nodeType === Node.ELEMENT_NODE, Qt = (...o) => {
|
|
7175
7173
|
console.error(`Error: ${o.join(" ")}. Skip setting aria-hidden.`);
|
|
7176
|
-
}, Sl = (o, t) =>
|
|
7177
|
-
if (!
|
|
7174
|
+
}, Sl = (o, t) => zo(o) ? t.map((e) => {
|
|
7175
|
+
if (!zo(e))
|
|
7178
7176
|
return Qt(e, "is not a valid element"), null;
|
|
7179
7177
|
let i = e;
|
|
7180
7178
|
for (; i && i !== o; ) {
|
|
@@ -7183,47 +7181,47 @@ const Fo = (o) => o && o.nodeType === Node.ELEMENT_NODE, Qt = (...o) => {
|
|
|
7183
7181
|
i = i.getRootNode().host;
|
|
7184
7182
|
}
|
|
7185
7183
|
return Qt(e, "is not contained inside", o), null;
|
|
7186
|
-
}).filter((e) => !!e) : (Qt(o, "is not a valid element"), []),
|
|
7184
|
+
}).filter((e) => !!e) : (Qt(o, "is not a valid element"), []), Al = (o, t, e, i) => {
|
|
7187
7185
|
const s = Sl(t, Array.isArray(o) ? o : [o]);
|
|
7188
7186
|
Pt[e] || (Pt[e] = /* @__PURE__ */ new WeakMap());
|
|
7189
|
-
const r = Pt[e], n = [], a = /* @__PURE__ */ new Set(), l = new Set(s), c = (
|
|
7190
|
-
if (!
|
|
7187
|
+
const r = Pt[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 = (We.get(g) || 0) + 1, v = (r.get(g) || 0) + 1;
|
|
7207
|
-
We.set(g, y), r.set(g, v), n.push(g), y === 1 && _ &&
|
|
7205
|
+
We.set(g, y), r.set(g, v), n.push(g), y === 1 && _ && Ct.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 = We.get(
|
|
7214
|
-
We.set(
|
|
7215
|
-
}), Zt -= 1, Zt || (We = /* @__PURE__ */ new WeakMap(), We = /* @__PURE__ */ new WeakMap(),
|
|
7209
|
+
return u(t), a.clear(), Zt += 1, () => {
|
|
7210
|
+
n.forEach((d) => {
|
|
7211
|
+
const h = We.get(d) - 1, m = r.get(d) - 1;
|
|
7212
|
+
We.set(d, h), r.set(d, m), h || (Ct.has(d) ? Ct.delete(d) : d.removeAttribute(i)), m || d.removeAttribute(e);
|
|
7213
|
+
}), Zt -= 1, Zt || (We = /* @__PURE__ */ new WeakMap(), We = /* @__PURE__ */ new WeakMap(), Ct = /* @__PURE__ */ new WeakMap(), Pt = {});
|
|
7216
7214
|
};
|
|
7217
7215
|
}, Ks = (o, t = document.body, e = "data-aria-hidden") => {
|
|
7218
7216
|
const i = Array.from(Array.isArray(o) ? o : [o]);
|
|
7219
|
-
return t && i.push(...Array.from(t.querySelectorAll("[aria-live]"))),
|
|
7217
|
+
return t && i.push(...Array.from(t.querySelectorAll("[aria-live]"))), Al(i, t, e, "aria-hidden");
|
|
7220
7218
|
};
|
|
7221
7219
|
/**
|
|
7222
7220
|
* @license
|
|
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 Cl {
|
|
7227
7225
|
/**
|
|
7228
7226
|
* @param {HTMLElement} host
|
|
7229
7227
|
*/
|
|
@@ -7450,7 +7448,7 @@ const Dl = (o) => class extends ot(o) {
|
|
|
7450
7448
|
};
|
|
7451
7449
|
}
|
|
7452
7450
|
constructor() {
|
|
7453
|
-
super(), this.__ariaModalController = new
|
|
7451
|
+
super(), this.__ariaModalController = new Cl(this), this.__focusTrapController = new kl(this), this.__focusRestorationController = new Pl();
|
|
7454
7452
|
}
|
|
7455
7453
|
/** @protected */
|
|
7456
7454
|
ready() {
|
|
@@ -7463,7 +7461,7 @@ const Dl = (o) => class extends ot(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 = !Ui();
|
|
7467
7465
|
this.__focusRestorationController.restoreFocus({ preventScroll: e });
|
|
7468
7466
|
}
|
|
7469
7467
|
}
|
|
@@ -7847,25 +7845,25 @@ function Il(o) {
|
|
|
7847
7845
|
}
|
|
7848
7846
|
return t;
|
|
7849
7847
|
}
|
|
7850
|
-
function
|
|
7848
|
+
function Wi(o) {
|
|
7851
7849
|
return o ? new Set(o.split(" ")) : /* @__PURE__ */ new Set();
|
|
7852
7850
|
}
|
|
7853
7851
|
function Ut(o) {
|
|
7854
7852
|
return o ? [...o].join(" ") : "";
|
|
7855
7853
|
}
|
|
7856
7854
|
function Js(o, t, e) {
|
|
7857
|
-
const i =
|
|
7855
|
+
const i = Wi(o.getAttribute(t));
|
|
7858
7856
|
i.add(e), o.setAttribute(t, Ut(i));
|
|
7859
7857
|
}
|
|
7860
|
-
function
|
|
7861
|
-
const i =
|
|
7858
|
+
function Fl(o, t, e) {
|
|
7859
|
+
const i = Wi(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, Ut(i));
|
|
7867
7865
|
}
|
|
7868
|
-
function
|
|
7866
|
+
function Nl(o) {
|
|
7869
7867
|
return o.nodeType === Node.TEXT_NODE && o.textContent.trim() === "";
|
|
7870
7868
|
}
|
|
7871
7869
|
/**
|
|
@@ -7873,7 +7871,7 @@ function zl(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 zl(o, t) {
|
|
7877
7875
|
let e = null;
|
|
7878
7876
|
const i = document.documentElement;
|
|
7879
7877
|
function s() {
|
|
@@ -7881,16 +7879,16 @@ function Fl(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 k =
|
|
7890
|
+
function C(A) {
|
|
7891
|
+
let k = A[0].intersectionRatio;
|
|
7894
7892
|
if (k !== a) {
|
|
7895
7893
|
if (!v)
|
|
7896
7894
|
return r();
|
|
@@ -7898,7 +7896,7 @@ function Fl(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
|
}
|
|
@@ -8020,7 +8018,7 @@ const ti = {
|
|
|
8020
8018
|
__addUpdatePositionEventListeners() {
|
|
8021
8019
|
window.visualViewport.addEventListener("resize", this._updatePosition), window.visualViewport.addEventListener("scroll", this.__onScroll, !0), this.__positionTargetAncestorRootNodes = Il(this.positionTarget), this.__positionTargetAncestorRootNodes.forEach((e) => {
|
|
8022
8020
|
e.addEventListener("scroll", this.__onScroll, !0);
|
|
8023
|
-
}), this.positionTarget && (this.__observePositionTargetMove =
|
|
8021
|
+
}), this.positionTarget && (this.__observePositionTargetMove = zl(this.positionTarget, () => {
|
|
8024
8022
|
this._updatePosition();
|
|
8025
8023
|
}));
|
|
8026
8024
|
}
|
|
@@ -8105,7 +8103,7 @@ const ti = {
|
|
|
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 ti = {
|
|
|
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]: ""
|
|
@@ -8893,8 +8891,8 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
8893
8891
|
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
|
-
const
|
|
8897
|
-
let et = class
|
|
8894
|
+
const Ai = /* @__PURE__ */ new Set();
|
|
8895
|
+
let et = class Ci {
|
|
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 et = class Ai {
|
|
|
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 Ci ? t._cancelAsync() : t = new Ci(), t.setConfig(e, i), t;
|
|
8934
8932
|
}
|
|
8935
8933
|
constructor() {
|
|
8936
8934
|
this._asyncModule = null, this._callback = null, this._timer = null;
|
|
@@ -8946,7 +8944,7 @@ let et = class Ai {
|
|
|
8946
8944
|
*/
|
|
8947
8945
|
setConfig(t, e) {
|
|
8948
8946
|
this._asyncModule = t, this._callback = e, this._timer = this._asyncModule.run(() => {
|
|
8949
|
-
this._timer = null,
|
|
8947
|
+
this._timer = null, Ai.delete(this), this._callback();
|
|
8950
8948
|
});
|
|
8951
8949
|
}
|
|
8952
8950
|
/**
|
|
@@ -8955,7 +8953,7 @@ let et = class Ai {
|
|
|
8955
8953
|
* @return {void}
|
|
8956
8954
|
*/
|
|
8957
8955
|
cancel() {
|
|
8958
|
-
this.isActive() && (this._cancelAsync(),
|
|
8956
|
+
this.isActive() && (this._cancelAsync(), Ai.delete(this));
|
|
8959
8957
|
}
|
|
8960
8958
|
/**
|
|
8961
8959
|
* Cancels a debouncer's async callback.
|
|
@@ -8986,7 +8984,7 @@ let et = class Ai {
|
|
|
8986
8984
|
}
|
|
8987
8985
|
};
|
|
8988
8986
|
function Ql(o) {
|
|
8989
|
-
|
|
8987
|
+
Ai.add(o);
|
|
8990
8988
|
}
|
|
8991
8989
|
/**
|
|
8992
8990
|
* @license
|
|
@@ -9182,7 +9180,7 @@ class Re 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 ec(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) => !Nl(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 sc = (o) => o,
|
|
9381
|
+
const sc = !1, rc = (o) => o, qi = typeof document.head.style.touchAction == "string", Pi = "__polymerGestures", si = "__polymerGesturesHandled", ki = "__polymerGesturesTouchAction", $o = 25, Yo = 5, nc = 2, ac = ["mousedown", "mousemove", "mouseup", "click"], lc = [0, 1, 4, 2], cc = function() {
|
|
9384
9382
|
try {
|
|
9385
9383
|
return new MouseEvent("test", { buttons: 1 }).buttons === 1;
|
|
9386
9384
|
} catch {
|
|
@@ -9388,25 +9386,26 @@ const sc = (o) => o, ir = typeof document.head.style.touchAction == "string", Pi
|
|
|
9388
9386
|
}
|
|
9389
9387
|
}();
|
|
9390
9388
|
function Ki(o) {
|
|
9391
|
-
return
|
|
9389
|
+
return ac.indexOf(o) > -1;
|
|
9392
9390
|
}
|
|
9393
|
-
let
|
|
9391
|
+
let ir = !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
|
+
ir = !0;
|
|
9400
9398
|
}
|
|
9401
9399
|
});
|
|
9402
9400
|
window.addEventListener("test", null, o), window.removeEventListener("test", null, o);
|
|
9403
9401
|
} catch {
|
|
9404
9402
|
}
|
|
9405
9403
|
})();
|
|
9406
|
-
function
|
|
9407
|
-
Ki(o)
|
|
9404
|
+
function uc(o) {
|
|
9405
|
+
if (!(Ki(o) || o === "touchend") && qi && ir && sc)
|
|
9406
|
+
return { passive: !0 };
|
|
9408
9407
|
}
|
|
9409
|
-
const
|
|
9408
|
+
const dc = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), hc = {
|
|
9410
9409
|
button: !0,
|
|
9411
9410
|
command: !0,
|
|
9412
9411
|
fieldset: !0,
|
|
@@ -9423,7 +9422,7 @@ function He(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 && !cc && (i = lc[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 pc(o) {
|
|
|
9444
9443
|
return !1;
|
|
9445
9444
|
}
|
|
9446
9445
|
const Se = {
|
|
9446
|
+
mouse: {
|
|
9447
|
+
target: null,
|
|
9448
|
+
mouseIgnoreJob: null
|
|
9449
|
+
},
|
|
9447
9450
|
touch: {
|
|
9448
9451
|
x: 0,
|
|
9449
9452
|
y: 0,
|
|
@@ -9496,7 +9499,7 @@ function _c(o) {
|
|
|
9496
9499
|
const n = o.changedTouches[0];
|
|
9497
9500
|
if (t === "touchstart" && o.touches.length === 1 && (Se.touch.id = n.identifier), Se.touch.id !== n.identifier)
|
|
9498
9501
|
return;
|
|
9499
|
-
|
|
9502
|
+
qi || (t === "touchstart" || t === "touchmove") && gc(o);
|
|
9500
9503
|
}
|
|
9501
9504
|
const r = o[si];
|
|
9502
9505
|
if (!r.skip) {
|
|
@@ -9528,7 +9531,7 @@ function bc(o, t, e) {
|
|
|
9528
9531
|
let n = o[Pi];
|
|
9529
9532
|
n || (o[Pi] = n = {});
|
|
9530
9533
|
for (let a = 0, l, c; a < s.length; a++)
|
|
9531
|
-
l = s[a], !(
|
|
9534
|
+
l = s[a], !(dc && Ki(l) && l !== "click") && (c = n[l], c || (n[l] = c = { _count: 0 }), c._count === 0 && o.addEventListener(l, _c, uc(l)), c[r] = (c[r] || 0) + 1, c._count = (c._count || 0) + 1);
|
|
9532
9535
|
o.addEventListener(t, e), i.touchAction && rr(o, i.touchAction);
|
|
9533
9536
|
}
|
|
9534
9537
|
function Ji(o) {
|
|
@@ -9546,13 +9549,13 @@ function vc(o) {
|
|
|
9546
9549
|
return null;
|
|
9547
9550
|
}
|
|
9548
9551
|
function rr(o, t) {
|
|
9549
|
-
|
|
9552
|
+
qi && o instanceof HTMLElement && Zl.run(() => {
|
|
9550
9553
|
o.style.touchAction = t;
|
|
9551
9554
|
}), o[ki] = t;
|
|
9552
9555
|
}
|
|
9553
9556
|
function Xi(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, rc(
|
|
9556
9559
|
/** @type {!Node} */
|
|
9557
9560
|
o
|
|
9558
9561
|
).dispatchEvent(i), i.defaultPrevented) {
|
|
@@ -9643,7 +9646,7 @@ Ji({
|
|
|
9643
9646
|
moves: [],
|
|
9644
9647
|
/** @this {GestureInfo} */
|
|
9645
9648
|
addMove(o) {
|
|
9646
|
-
this.moves.length >
|
|
9649
|
+
this.moves.length > nc && this.moves.shift(), this.moves.push(o);
|
|
9647
9650
|
},
|
|
9648
9651
|
movefn: null,
|
|
9649
9652
|
upfn: null,
|
|
@@ -9975,7 +9978,7 @@ const Zi = V(
|
|
|
9975
9978
|
* @return {boolean}
|
|
9976
9979
|
*/
|
|
9977
9980
|
get _keyboardActive() {
|
|
9978
|
-
return
|
|
9981
|
+
return Ui();
|
|
9979
9982
|
}
|
|
9980
9983
|
/** @protected */
|
|
9981
9984
|
ready() {
|
|
@@ -10162,7 +10165,7 @@ function Di(o) {
|
|
|
10162
10165
|
const t = new Date(o);
|
|
10163
10166
|
return t.setHours(0, 0, 0, 0), t;
|
|
10164
10167
|
}
|
|
10165
|
-
function
|
|
10168
|
+
function Ce(o, t, e = Di) {
|
|
10166
10169
|
return o instanceof Date && t instanceof Date && e(o).getTime() === e(t).getTime();
|
|
10167
10170
|
}
|
|
10168
10171
|
function Qi(o) {
|
|
@@ -10209,15 +10212,15 @@ function lt(o) {
|
|
|
10209
10212
|
const e = new Date(0, 0);
|
|
10210
10213
|
return e.setFullYear(parseInt(t[1], 10)), e.setMonth(parseInt(t[2], 10) - 1), e.setDate(parseInt(t[3], 10)), e;
|
|
10211
10214
|
}
|
|
10212
|
-
function
|
|
10215
|
+
function Ac(o) {
|
|
10213
10216
|
const t = (l, c = "00") => (c + l).substr((c + l).length - c.length);
|
|
10214
10217
|
let e = "", i = "0000", s = o.year;
|
|
10215
10218
|
s < 0 ? (s = -s, e = "-", i = "000000") : o.year >= 1e4 && (e = "+", i = "000000");
|
|
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
|
|
10220
|
-
return o instanceof Date ?
|
|
10222
|
+
function Cc(o) {
|
|
10223
|
+
return o instanceof Date ? Ac({
|
|
10221
10224
|
year: o.getFullYear(),
|
|
10222
10225
|
month: o.getMonth(),
|
|
10223
10226
|
day: o.getDate()
|
|
@@ -10358,8 +10361,8 @@ const eo = function() {
|
|
|
10358
10361
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10359
10362
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10360
10363
|
*/
|
|
10361
|
-
const
|
|
10362
|
-
|
|
10364
|
+
const ur = document.createElement("template");
|
|
10365
|
+
ur.innerHTML = `
|
|
10363
10366
|
<style>
|
|
10364
10367
|
:host {
|
|
10365
10368
|
display: block;
|
|
@@ -10410,9 +10413,9 @@ dr.innerHTML = `
|
|
|
10410
10413
|
<div id="fullHeight"></div>
|
|
10411
10414
|
</div>
|
|
10412
10415
|
`;
|
|
10413
|
-
class
|
|
10416
|
+
class dr extends HTMLElement {
|
|
10414
10417
|
constructor() {
|
|
10415
|
-
super(), this.attachShadow({ mode: "open" }).appendChild(
|
|
10418
|
+
super(), this.attachShadow({ mode: "open" }).appendChild(ur.content.cloneNode(!0)), this.bufferSize = 20, this._initialScroll = 5e5, this._initialIndex = 0, this._activated = !1;
|
|
10416
10419
|
}
|
|
10417
10420
|
/**
|
|
10418
10421
|
* @return {boolean}
|
|
@@ -10583,7 +10586,7 @@ hr.innerHTML = `
|
|
|
10583
10586
|
}
|
|
10584
10587
|
</style>
|
|
10585
10588
|
`;
|
|
10586
|
-
class Dc extends
|
|
10589
|
+
class Dc extends dr {
|
|
10587
10590
|
static get is() {
|
|
10588
10591
|
return "vaadin-date-picker-month-scroller";
|
|
10589
10592
|
}
|
|
@@ -10649,7 +10652,7 @@ pr.innerHTML = `
|
|
|
10649
10652
|
}
|
|
10650
10653
|
</style>
|
|
10651
10654
|
`;
|
|
10652
|
-
class Tc extends
|
|
10655
|
+
class Tc extends dr {
|
|
10653
10656
|
static get is() {
|
|
10654
10657
|
return "vaadin-date-picker-year-scroller";
|
|
10655
10658
|
}
|
|
@@ -10824,11 +10827,11 @@ Mi.prototype = Object.create(HTMLTemplateElement.prototype, {
|
|
|
10824
10827
|
writable: !0
|
|
10825
10828
|
}
|
|
10826
10829
|
});
|
|
10827
|
-
const fr =
|
|
10828
|
-
function
|
|
10830
|
+
const fr = ji(Mi), Fc = io(fr);
|
|
10831
|
+
function Nc(o, t) {
|
|
10829
10832
|
Ti = o, Object.setPrototypeOf(o, t.prototype), new t(), Ti = null;
|
|
10830
10833
|
}
|
|
10831
|
-
const
|
|
10834
|
+
const zc = ji(class {
|
|
10832
10835
|
});
|
|
10833
10836
|
function Lc(o, t) {
|
|
10834
10837
|
for (let e = 0; e < t.length; e++) {
|
|
@@ -10848,7 +10851,7 @@ function Lc(o, t) {
|
|
|
10848
10851
|
i.__hideTemplateChildren__ = o, i._showHideChildren && i._showHideChildren(o);
|
|
10849
10852
|
}
|
|
10850
10853
|
}
|
|
10851
|
-
class
|
|
10854
|
+
class Fe extends zc {
|
|
10852
10855
|
constructor(t) {
|
|
10853
10856
|
super(), this._configureProperties(t), this.root = this._stampTemplate(this.__dataHost);
|
|
10854
10857
|
let e = [];
|
|
@@ -10965,23 +10968,23 @@ class Ne extends Fc {
|
|
|
10965
10968
|
return !0;
|
|
10966
10969
|
}
|
|
10967
10970
|
}
|
|
10968
|
-
|
|
10969
|
-
|
|
10970
|
-
|
|
10971
|
-
|
|
10972
|
-
|
|
10971
|
+
Fe.prototype.__dataHost;
|
|
10972
|
+
Fe.prototype.__templatizeOptions;
|
|
10973
|
+
Fe.prototype._methodHost;
|
|
10974
|
+
Fe.prototype.__templatizeOwner;
|
|
10975
|
+
Fe.prototype.__hostProps;
|
|
10973
10976
|
const Rc = io(
|
|
10974
10977
|
// This cast shouldn't be neccessary, but Closure doesn't understand that
|
|
10975
10978
|
// TemplateInstanceBase is a constructor function.
|
|
10976
10979
|
/** @type {function(new:TemplateInstanceBase)} */
|
|
10977
|
-
|
|
10980
|
+
Fe
|
|
10978
10981
|
);
|
|
10979
10982
|
function Uo(o) {
|
|
10980
10983
|
let t = o.__dataHost;
|
|
10981
10984
|
return t && t._methodHost || t;
|
|
10982
10985
|
}
|
|
10983
10986
|
function Bc(o, t, e) {
|
|
10984
|
-
let i = e.mutableData ? Rc :
|
|
10987
|
+
let i = e.mutableData ? Rc : Fe;
|
|
10985
10988
|
Oi.mixin && (i = Oi.mixin(i));
|
|
10986
10989
|
let s = class extends i {
|
|
10987
10990
|
};
|
|
@@ -10994,7 +10997,7 @@ function Hc(o, t, e, i) {
|
|
|
10994
10997
|
let n = t.templatizeTemplateClass;
|
|
10995
10998
|
if (!n) {
|
|
10996
10999
|
if (r) {
|
|
10997
|
-
let l = e.mutableData ?
|
|
11000
|
+
let l = e.mutableData ? Fc : fr;
|
|
10998
11001
|
class c extends l {
|
|
10999
11002
|
}
|
|
11000
11003
|
n = t.templatizeTemplateClass = c;
|
|
@@ -11014,7 +11017,7 @@ function Hc(o, t, e, i) {
|
|
|
11014
11017
|
vs && i && Uc(t, e, i);
|
|
11015
11018
|
}
|
|
11016
11019
|
if (o.__dataProto && Object.assign(o.__data, o.__dataProto), r)
|
|
11017
|
-
|
|
11020
|
+
Nc(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,13 +11073,13 @@ function Vc() {
|
|
|
11070
11073
|
};
|
|
11071
11074
|
}
|
|
11072
11075
|
function Oi(o, t, e) {
|
|
11073
|
-
if (
|
|
11076
|
+
if (Nt && !Uo(o))
|
|
11074
11077
|
throw new Error("strictTemplatePolicy: template owner not trusted");
|
|
11075
11078
|
if (e = /** @type {!TemplatizeOptions} */
|
|
11076
11079
|
e || {}, o.__templatizeOwner)
|
|
11077
11080
|
throw new Error("A <template> can only be templatized once");
|
|
11078
11081
|
o.__templatizeOwner = t;
|
|
11079
|
-
let s = (t ? t.constructor :
|
|
11082
|
+
let s = (t ? t.constructor : Fe)._parseTemplate(o), r = s.templatizeInstanceClass;
|
|
11080
11083
|
r || (r = Bc(o, s, e), s.templatizeInstanceClass = r);
|
|
11081
11084
|
const n = Uo(o);
|
|
11082
11085
|
Hc(o, s, e, n);
|
|
@@ -11691,7 +11694,7 @@ const Gc = (o) => class extends Zi(o) {
|
|
|
11691
11694
|
return ["__focusedDateChanged(focusedDate, _days)"];
|
|
11692
11695
|
}
|
|
11693
11696
|
get focusableDateElement() {
|
|
11694
|
-
return [...this.shadowRoot.querySelectorAll("[part~=date]")].find((e) =>
|
|
11697
|
+
return [...this.shadowRoot.querySelectorAll("[part~=date]")].find((e) => Ce(e.date, this.focusedDate));
|
|
11695
11698
|
}
|
|
11696
11699
|
/** @protected */
|
|
11697
11700
|
ready() {
|
|
@@ -11732,14 +11735,14 @@ const Gc = (o) => class extends Zi(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 */
|
|
11741
11744
|
__focusedDateChanged(e, i) {
|
|
11742
|
-
Array.isArray(i) && i.some((s) =>
|
|
11745
|
+
Array.isArray(i) && i.some((s) => Ce(s, e)) ? this.removeAttribute("aria-hidden") : this.setAttribute("aria-hidden", "true");
|
|
11743
11746
|
}
|
|
11744
11747
|
/** @protected */
|
|
11745
11748
|
_getDate(e) {
|
|
@@ -11751,7 +11754,7 @@ const Gc = (o) => class extends Zi(o) {
|
|
|
11751
11754
|
}
|
|
11752
11755
|
/** @protected */
|
|
11753
11756
|
_isToday(e) {
|
|
11754
|
-
return
|
|
11757
|
+
return Ce(/* @__PURE__ */ new Date(), e);
|
|
11755
11758
|
}
|
|
11756
11759
|
/** @protected */
|
|
11757
11760
|
_getDays(e, i) {
|
|
@@ -11945,11 +11948,11 @@ class Xc extends Gc(Ye(Ie)) {
|
|
|
11945
11948
|
}
|
|
11946
11949
|
/** @private */
|
|
11947
11950
|
__isDayFocused(t, e) {
|
|
11948
|
-
return
|
|
11951
|
+
return Ce(t, e);
|
|
11949
11952
|
}
|
|
11950
11953
|
/** @private */
|
|
11951
11954
|
__isDaySelected(t, e) {
|
|
11952
|
-
return
|
|
11955
|
+
return Ce(t, e);
|
|
11953
11956
|
}
|
|
11954
11957
|
/** @private */
|
|
11955
11958
|
__getDayAriaSelected(t, e) {
|
|
@@ -12228,9 +12231,9 @@ const Zc = (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 */
|
|
@@ -12366,19 +12369,19 @@ const Zc = (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", {
|
|
@@ -12474,7 +12477,7 @@ const Zc = (o) => class extends o {
|
|
|
12474
12477
|
}
|
|
12475
12478
|
/** @private */
|
|
12476
12479
|
__toggleDate(e) {
|
|
12477
|
-
|
|
12480
|
+
Ce(e, this.selectedDate) ? (this._clear(), this.focusedDate = e) : this._selectDate(e);
|
|
12478
12481
|
}
|
|
12479
12482
|
/** @private */
|
|
12480
12483
|
__onMonthCalendarKeyDown(e) {
|
|
@@ -12546,7 +12549,7 @@ const Zc = (o) => class extends o {
|
|
|
12546
12549
|
__tryFocusDate() {
|
|
12547
12550
|
if (this.__pendingDateFocus) {
|
|
12548
12551
|
const i = this.focusableDateElement;
|
|
12549
|
-
i &&
|
|
12552
|
+
i && Ce(i.date, this.__pendingDateFocus) && (delete this.__pendingDateFocus, i.focus());
|
|
12550
12553
|
}
|
|
12551
12554
|
}
|
|
12552
12555
|
async focusDate(e, i) {
|
|
@@ -12682,7 +12685,7 @@ const Qc = P`
|
|
|
12682
12685
|
L("vaadin-date-picker-overlay-content", Qc, {
|
|
12683
12686
|
moduleId: "vaadin-date-picker-overlay-content-styles"
|
|
12684
12687
|
});
|
|
12685
|
-
class
|
|
12688
|
+
class eu extends Zc(
|
|
12686
12689
|
ot(Ye(jt(Ie)))
|
|
12687
12690
|
) {
|
|
12688
12691
|
static get template() {
|
|
@@ -12716,7 +12719,7 @@ class ed extends Zc(
|
|
|
12716
12719
|
super.ready(), this.setAttribute("role", "dialog"), this._addListeners(), this._initControllers();
|
|
12717
12720
|
}
|
|
12718
12721
|
}
|
|
12719
|
-
be(
|
|
12722
|
+
be(eu);
|
|
12720
12723
|
/**
|
|
12721
12724
|
* @license
|
|
12722
12725
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
@@ -12880,14 +12883,14 @@ const _r = V(
|
|
|
12880
12883
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12881
12884
|
*/
|
|
12882
12885
|
const ni = /* @__PURE__ */ new WeakMap();
|
|
12883
|
-
function
|
|
12886
|
+
function tu(o) {
|
|
12884
12887
|
return ni.has(o) || ni.set(o, /* @__PURE__ */ new Set()), ni.get(o);
|
|
12885
12888
|
}
|
|
12886
|
-
function
|
|
12889
|
+
function iu(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 ou = V(
|
|
12891
12894
|
(o) => class extends o {
|
|
12892
12895
|
/**
|
|
12893
12896
|
* List of styles to insert into root.
|
|
@@ -12902,9 +12905,9 @@ const od = V(
|
|
|
12902
12905
|
}
|
|
12903
12906
|
/** @private */
|
|
12904
12907
|
__applySlotStyles() {
|
|
12905
|
-
const e = this.getRootNode(), i =
|
|
12908
|
+
const e = this.getRootNode(), i = tu(e);
|
|
12906
12909
|
this.slotStyles.forEach((s) => {
|
|
12907
|
-
i.has(s) || (
|
|
12910
|
+
i.has(s) || (iu(s, e), i.add(s));
|
|
12908
12911
|
});
|
|
12909
12912
|
}
|
|
12910
12913
|
}
|
|
@@ -13118,7 +13121,7 @@ const gr = V(
|
|
|
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 su = (o) => class extends gr(Wt(o)) {
|
|
13122
13125
|
static get properties() {
|
|
13123
13126
|
return {
|
|
13124
13127
|
/**
|
|
@@ -13206,11 +13209,11 @@ function vr(o, t) {
|
|
|
13206
13209
|
const e = oo(t);
|
|
13207
13210
|
if (e.has(o))
|
|
13208
13211
|
return;
|
|
13209
|
-
const i =
|
|
13212
|
+
const i = Wi(o.getAttribute(t));
|
|
13210
13213
|
e.set(o, new Set(i));
|
|
13211
13214
|
}
|
|
13212
|
-
function
|
|
13213
|
-
if (!o)
|
|
13215
|
+
function ru(o, t) {
|
|
13216
|
+
if (!o || !t)
|
|
13214
13217
|
return;
|
|
13215
13218
|
const e = oo(t), i = e.get(o);
|
|
13216
13219
|
!i || i.size === 0 ? o.removeAttribute(t) : Js(o, t, Ut(i)), e.delete(o);
|
|
@@ -13223,11 +13226,11 @@ function li(o, t, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
|
13223
13226
|
s && a.delete(s), i && a.add(i);
|
|
13224
13227
|
return;
|
|
13225
13228
|
}
|
|
13226
|
-
r && (a ? i || n.delete(o) : vr(o, t), br(o, t)),
|
|
13229
|
+
r && (a ? i || n.delete(o) : vr(o, t), br(o, t)), Fl(o, t, s);
|
|
13227
13230
|
const l = i || Ut(a);
|
|
13228
13231
|
l && Js(o, t, l);
|
|
13229
13232
|
}
|
|
13230
|
-
function
|
|
13233
|
+
function nu(o, t) {
|
|
13231
13234
|
vr(o, t), br(o, t);
|
|
13232
13235
|
}
|
|
13233
13236
|
/**
|
|
@@ -13235,7 +13238,7 @@ function nd(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 au {
|
|
13239
13242
|
constructor(t) {
|
|
13240
13243
|
this.host = t, this.__required = !1;
|
|
13241
13244
|
}
|
|
@@ -13308,7 +13311,7 @@ class ad {
|
|
|
13308
13311
|
* @private
|
|
13309
13312
|
* */
|
|
13310
13313
|
__setAriaLabelToAttribute(t) {
|
|
13311
|
-
this.__target && (t ? (
|
|
13314
|
+
this.__target && (t ? (nu(this.__target, "aria-labelledby"), this.__target.setAttribute("aria-label", t)) : this.__label && (ru(this.__target, "aria-labelledby"), this.__target.removeAttribute("aria-label")));
|
|
13312
13315
|
}
|
|
13313
13316
|
/**
|
|
13314
13317
|
* @param {string | null | undefined} labelId
|
|
@@ -13354,7 +13357,7 @@ pe.style.clip = "rect(0px, 0px, 0px, 0px)";
|
|
|
13354
13357
|
pe.setAttribute("aria-live", "polite");
|
|
13355
13358
|
document.body.appendChild(pe);
|
|
13356
13359
|
let kt;
|
|
13357
|
-
function
|
|
13360
|
+
function lu(o, t = {}) {
|
|
13358
13361
|
const e = t.mode || "polite", i = t.timeout === void 0 ? 150 : t.timeout;
|
|
13359
13362
|
e === "alert" ? (pe.removeAttribute("aria-live"), pe.removeAttribute("role"), kt = et.debounce(kt, Jl, () => {
|
|
13360
13363
|
pe.setAttribute("role", "alert");
|
|
@@ -13482,7 +13485,7 @@ class so extends Re {
|
|
|
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 cu extends so {
|
|
13486
13489
|
constructor(t) {
|
|
13487
13490
|
super(t, "error-message", "div");
|
|
13488
13491
|
}
|
|
@@ -13556,7 +13559,7 @@ class cd extends so {
|
|
|
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 && lu(e, { mode: "assertive" })), super.updateDefaultNode(t);
|
|
13560
13563
|
}
|
|
13561
13564
|
}
|
|
13562
13565
|
/**
|
|
@@ -13564,7 +13567,7 @@ class cd extends so {
|
|
|
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 uu extends so {
|
|
13568
13571
|
constructor(t) {
|
|
13569
13572
|
super(t, "helper", null);
|
|
13570
13573
|
}
|
|
@@ -13619,7 +13622,7 @@ class dd extends so {
|
|
|
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 du extends so {
|
|
13623
13626
|
constructor(t) {
|
|
13624
13627
|
super(t, "label", "label");
|
|
13625
13628
|
}
|
|
@@ -13672,7 +13675,7 @@ class ud extends so {
|
|
|
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 hu = V(
|
|
13676
13679
|
(o) => class extends ot(o) {
|
|
13677
13680
|
static get properties() {
|
|
13678
13681
|
return {
|
|
@@ -13687,7 +13690,7 @@ const hd = V(
|
|
|
13687
13690
|
};
|
|
13688
13691
|
}
|
|
13689
13692
|
constructor() {
|
|
13690
|
-
super(), this._labelController = new
|
|
13693
|
+
super(), this._labelController = new du(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 yr = V(
|
|
|
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 pu = (o) => class extends yr(hu(ot(o))) {
|
|
13791
13794
|
static get properties() {
|
|
13792
13795
|
return {
|
|
13793
13796
|
/**
|
|
@@ -13837,7 +13840,7 @@ const pd = (o) => class extends yr(hd(ot(o))) {
|
|
|
13837
13840
|
return ["_invalidChanged(invalid)", "_requiredChanged(required)"];
|
|
13838
13841
|
}
|
|
13839
13842
|
constructor() {
|
|
13840
|
-
super(), this._fieldAriaController = new
|
|
13843
|
+
super(), this._fieldAriaController = new au(this), this._helperController = new uu(this), this._errorController = new cu(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 pd = (o) => class extends yr(hd(ot(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 fu = V(
|
|
13932
13935
|
(o) => class extends o {
|
|
13933
13936
|
static get properties() {
|
|
13934
13937
|
return {
|
|
@@ -14010,7 +14013,7 @@ const fd = V(
|
|
|
14010
14013
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14011
14014
|
*/
|
|
14012
14015
|
const xr = V(
|
|
14013
|
-
(o) => class extends
|
|
14016
|
+
(o) => class extends fu(yr(gr(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 xr = V(
|
|
|
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
|
-
_r(xr(
|
|
14100
|
+
const mu = (o) => class extends ou(
|
|
14101
|
+
_r(xr(pu(su(Wt(o)))))
|
|
14099
14102
|
) {
|
|
14100
14103
|
static get properties() {
|
|
14101
14104
|
return {
|
|
@@ -14281,7 +14284,7 @@ const md = (o) => class extends od(
|
|
|
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 _u extends Re {
|
|
14285
14288
|
constructor(t, e, i = {}) {
|
|
14286
14289
|
const { uniqueIdPrefix: s } = i;
|
|
14287
14290
|
super(t, "input", "input", {
|
|
@@ -14298,7 +14301,7 @@ class _d extends Re {
|
|
|
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 gu {
|
|
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 gd {
|
|
|
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 bu = P`
|
|
14335
14338
|
[part='clear-button'] {
|
|
14336
14339
|
display: none;
|
|
14337
14340
|
cursor: default;
|
|
@@ -14350,7 +14353,7 @@ const bd = 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 vu = P`
|
|
14354
14357
|
:host {
|
|
14355
14358
|
display: inline-flex;
|
|
14356
14359
|
outline: none;
|
|
@@ -14390,7 +14393,7 @@ const vd = 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 yu = P`
|
|
14394
14397
|
[class$='container'] {
|
|
14395
14398
|
display: flex;
|
|
14396
14399
|
flex-direction: column;
|
|
@@ -14404,13 +14407,13 @@ const yd = 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 xu = [vu, yu, bu];
|
|
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 wu = (o) => class extends o {
|
|
14414
14417
|
static get properties() {
|
|
14415
14418
|
return {
|
|
14416
14419
|
/**
|
|
@@ -14457,7 +14460,7 @@ const wd = (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 Eu {
|
|
14461
14464
|
/**
|
|
14462
14465
|
* @param {{ inputElement?: HTMLElement; opened: boolean } & HTMLElement} host
|
|
14463
14466
|
*/
|
|
@@ -14476,7 +14479,7 @@ class Ed {
|
|
|
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 Su = (o) => class extends wu(
|
|
14480
14483
|
ot(_r(xr(Wt(o))))
|
|
14481
14484
|
) {
|
|
14482
14485
|
static get properties() {
|
|
@@ -14844,7 +14847,7 @@ const Sd = (o) => class extends wd(
|
|
|
14844
14847
|
* @protected
|
|
14845
14848
|
*/
|
|
14846
14849
|
_onFocus(e) {
|
|
14847
|
-
super._onFocus(e), this._noInput && !
|
|
14850
|
+
super._onFocus(e), this._noInput && !Ui() && e.target.blur();
|
|
14848
14851
|
}
|
|
14849
14852
|
/**
|
|
14850
14853
|
* Override an event listener from `DelegateFocusMixin`
|
|
@@ -14859,7 +14862,7 @@ const Sd = (o) => class extends wd(
|
|
|
14859
14862
|
new mr(this._fullscreenMediaQuery, (i) => {
|
|
14860
14863
|
this._fullscreen = i;
|
|
14861
14864
|
})
|
|
14862
|
-
), this.addController(new
|
|
14865
|
+
), this.addController(new Eu(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 Sd = (o) => class extends wd(
|
|
|
15017
15020
|
}
|
|
15018
15021
|
/** @private */
|
|
15019
15022
|
_formatISO(e) {
|
|
15020
|
-
return
|
|
15023
|
+
return Cc(e);
|
|
15021
15024
|
}
|
|
15022
15025
|
/** @protected */
|
|
15023
15026
|
_inputElementChanged(e) {
|
|
@@ -15053,12 +15056,12 @@ const Sd = (o) => class extends wd(
|
|
|
15053
15056
|
this.value = i;
|
|
15054
15057
|
return;
|
|
15055
15058
|
}
|
|
15056
|
-
e ?
|
|
15059
|
+
e ? Ce(this._selectedDate, s) || (this._selectedDate = s, i !== void 0 && this.validate()) : this._selectedDate = null, this.__keepCommittedValue || (this.__committedValue = this.value, this.__committedUnparsableValue = ""), this._toggleHasValue(this._hasValue);
|
|
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) {
|
|
@@ -15221,7 +15224,7 @@ const Sd = (o) => class extends wd(
|
|
|
15221
15224
|
_onInput() {
|
|
15222
15225
|
if (!this.opened && this._inputElementValue && !this.autoOpenDisabled && this.open(), this._inputElementValue) {
|
|
15223
15226
|
const e = this.__parseDate(this._inputElementValue);
|
|
15224
|
-
e && (this._ignoreFocusedDateChange = !0,
|
|
15227
|
+
e && (this._ignoreFocusedDateChange = !0, Ce(e, this._focusedDate) || (this._focusedDate = e), this._ignoreFocusedDateChange = !1);
|
|
15225
15228
|
}
|
|
15226
15229
|
}
|
|
15227
15230
|
/** @private */
|
|
@@ -15249,7 +15252,7 @@ const Sd = (o) => class extends wd(
|
|
|
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 Au = P`
|
|
15253
15256
|
:host([opened]) {
|
|
15254
15257
|
pointer-events: auto;
|
|
15255
15258
|
}
|
|
@@ -15268,8 +15271,8 @@ const Cd = 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", [xu, Au], { moduleId: "vaadin-date-picker-styles" });
|
|
15275
|
+
class Cu extends Su(mu(Ye(Qs(Ie)))) {
|
|
15273
15276
|
static get is() {
|
|
15274
15277
|
return "vaadin-date-picker";
|
|
15275
15278
|
}
|
|
@@ -15329,7 +15332,7 @@ class Ad extends Sd(md(Ye(Qs(Ie)))) {
|
|
|
15329
15332
|
/** @protected */
|
|
15330
15333
|
ready() {
|
|
15331
15334
|
super.ready(), this.addController(
|
|
15332
|
-
new
|
|
15335
|
+
new _u(
|
|
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 Ad extends Sd(md(Ye(Qs(Ie)))) {
|
|
|
15341
15344
|
uniqueIdPrefix: "search-input"
|
|
15342
15345
|
}
|
|
15343
15346
|
)
|
|
15344
|
-
), this.addController(new
|
|
15347
|
+
), this.addController(new gu(this.inputElement, this._labelController)), this._tooltipController = new tr(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 Ad extends Sd(md(Ye(Qs(Ie)))) {
|
|
|
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(Cu);
|
|
15361
15364
|
var wr = { exports: {} };
|
|
15362
15365
|
(function(o, t) {
|
|
15363
15366
|
(function(e, i) {
|
|
@@ -15369,22 +15372,22 @@ var wr = { 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 wr = { 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
|
-
for (var v = (p = _.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(R, T,
|
|
15427
|
-
var
|
|
15428
|
-
return T || y[
|
|
15429
|
+
for (var v = (p = _.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(R, T, F) {
|
|
15430
|
+
var N = F && F.toUpperCase();
|
|
15431
|
+
return T || y[F] || e[F] || y[N].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(X, B, ie) {
|
|
15429
15432
|
return B || ie.slice(1);
|
|
15430
15433
|
});
|
|
15431
|
-
})).match(i),
|
|
15432
|
-
var k = v[
|
|
15433
|
-
v[
|
|
15434
|
+
})).match(i), C = v.length, A = 0; A < C; A += 1) {
|
|
15435
|
+
var k = v[A], G = m[k], U = G && G[0], $ = G && G[1];
|
|
15436
|
+
v[A] = $ ? { regex: U, parser: $ } : k.replace(/^\[|\]$/g, "");
|
|
15434
15437
|
}
|
|
15435
15438
|
return function(R) {
|
|
15436
|
-
for (var T = {},
|
|
15437
|
-
var X = v[
|
|
15439
|
+
for (var T = {}, F = 0, N = 0; F < C; F += 1) {
|
|
15440
|
+
var X = v[F];
|
|
15438
15441
|
if (typeof X == "string")
|
|
15439
|
-
|
|
15442
|
+
N += X.length;
|
|
15440
15443
|
else {
|
|
15441
|
-
var B = X.regex, ie = X.parser, he = R.slice(
|
|
15444
|
+
var B = X.regex, ie = X.parser, he = R.slice(N), q = B.exec(he)[0];
|
|
15442
15445
|
ie.call(T, q), R = R.replace(q, "");
|
|
15443
15446
|
}
|
|
15444
15447
|
}
|
|
@@ -15453,25 +15456,25 @@ var wr = { 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 k =
|
|
15459
|
+
var v = _.prototype, C = v.parse;
|
|
15460
|
+
v.parse = function(A) {
|
|
15461
|
+
var k = A.date, G = A.utc, U = A.args;
|
|
15459
15462
|
this.$u = G;
|
|
15460
15463
|
var $ = U[1];
|
|
15461
15464
|
if (typeof $ == "string") {
|
|
15462
|
-
var R = U[2] === !0, T = U[3] === !0,
|
|
15463
|
-
T && (
|
|
15465
|
+
var R = U[2] === !0, T = U[3] === !0, F = R || T, N = U[2];
|
|
15466
|
+
T && (N = U[2]), a = this.$locale(), !R && N && (a = y.Ls[N]), this.$d = function(he, q, Z) {
|
|
15464
15467
|
try {
|
|
15465
15468
|
if (["x", "X"].indexOf(q) > -1)
|
|
15466
15469
|
return new Date((q === "X" ? 1e3 : 1) * he);
|
|
15467
15470
|
var Y = g(q)(he), H = Y.year, Q = Y.month, fe = Y.day, Pe = Y.hours, ke = Y.minutes, De = Y.seconds, Te = Y.milliseconds, ve = Y.zone, ye = /* @__PURE__ */ new Date(), ee = fe || (H || Q ? 1 : ye.getDate()), ce = H || ye.getFullYear(), O = 0;
|
|
15468
15471
|
H && !Q || (O = Q > 0 ? Q - 1 : ye.getMonth());
|
|
15469
|
-
var
|
|
15470
|
-
return ve ? new Date(Date.UTC(ce, O, ee,
|
|
15472
|
+
var z = Pe || 0, xe = ke || 0, me = De || 0, J = Te || 0;
|
|
15473
|
+
return ve ? new Date(Date.UTC(ce, O, ee, z, xe, me, J + 60 * ve.offset * 1e3)) : Z ? new Date(Date.UTC(ce, O, ee, z, xe, me, J)) : new Date(ce, O, ee, z, xe, me, J);
|
|
15471
15474
|
} catch {
|
|
15472
15475
|
return /* @__PURE__ */ new Date("");
|
|
15473
15476
|
}
|
|
15474
|
-
}(k, $, G), this.init(),
|
|
15477
|
+
}(k, $, G), this.init(), N && N !== !0 && (this.$L = this.locale(N).$L), F && k != this.format($) && (this.$d = /* @__PURE__ */ new Date("")), a = {};
|
|
15475
15478
|
} else if ($ instanceof Array)
|
|
15476
15479
|
for (var X = $.length, B = 1; B <= X; B += 1) {
|
|
15477
15480
|
U[1] = $[B - 1];
|
|
@@ -15483,17 +15486,17 @@ var wr = { exports: {} };
|
|
|
15483
15486
|
B === 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
|
})(wr);
|
|
15491
|
-
var
|
|
15492
|
-
const
|
|
15494
|
+
var Pu = wr.exports;
|
|
15495
|
+
const ku = /* @__PURE__ */ Cr(Pu);
|
|
15493
15496
|
function Ko(o, t) {
|
|
15494
15497
|
Pr(o, t);
|
|
15495
15498
|
}
|
|
15496
|
-
function
|
|
15499
|
+
function Du(o) {
|
|
15497
15500
|
kr.set(o);
|
|
15498
15501
|
}
|
|
15499
15502
|
const Go = {
|
|
@@ -15510,7 +15513,14 @@ const Go = {
|
|
|
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 Go = {
|
|
|
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 Go = {
|
|
|
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 Go = {
|
|
|
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 Go = {
|
|
|
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 Go = {
|
|
|
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 Go = {
|
|
|
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 Go = {
|
|
|
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 Go = {
|
|
|
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 Go = {
|
|
|
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 Go = {
|
|
|
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 Go = {
|
|
|
15795
15875
|
InvalidSession: "Oturum süresi doldu."
|
|
15796
15876
|
}
|
|
15797
15877
|
};
|
|
15798
|
-
function
|
|
15799
|
-
|
|
15878
|
+
function Tu(o) {
|
|
15879
|
+
Ir(o, "svelte-gvegix", '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{border-radius:var(--emw--border-radius-medium, 10px);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:var(--emw--border-radius-medium, 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 p{font-size:16px}.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}.SelfExclusionDescription p{font-size:16px}.SelfExclusionDescription a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}@container (max-width: 768px){.SelfExclusionDescription{font-size:var(--emw--font-size-x-small, 12px);line-height:19px;min-height:230px}}.SelfExclusionConfigWrapper{width:50%;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:20px 0;font-size:var(--emw--font-size-large, 20px);color:var(--emw--button-text-color, #FFFFFF);cursor:pointer;border:none}.SelfExclusionActionButtons .SelfExclusionSave:hover{filter:brightness(0.9)}.SelfExclusionActionButtons .SelfExclusionSave:disabled{opacity:0.5;cursor:default}.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 Jo(o, t, e) {
|
|
15802
15882
|
const i = o.slice();
|
|
15803
15883
|
return i[56] = t[e], i;
|
|
15804
15884
|
}
|
|
15805
|
-
function
|
|
15885
|
+
function Mu(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 Md(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, k, G, U = (
|
|
15831
15911
|
/*$_*/
|
|
15832
15912
|
o[20](`${/*selectedPeriodKey*/
|
|
15833
15913
|
o[13]}`) + ""
|
|
15834
|
-
), $, R, T,
|
|
15914
|
+
), $, R, T, F, N, X, B, ie, he, q, Z, Y, H, Q = (
|
|
15835
15915
|
/*$_*/
|
|
15836
15916
|
o[20]("save") + ""
|
|
15837
15917
|
), fe, Pe, ke, De, Te, ve, ye, ee = (
|
|
15838
15918
|
/*isMobile*/
|
|
15839
|
-
o[22] &&
|
|
15919
|
+
o[22] && Iu(o)
|
|
15840
15920
|
), ce = no(
|
|
15841
15921
|
/*selfExclusionPeriods*/
|
|
15842
15922
|
o[9]
|
|
15843
15923
|
), O = [];
|
|
15844
15924
|
for (let x = 0; x < ce.length; x += 1)
|
|
15845
15925
|
O[x] = Xo(Jo(o, ce, x));
|
|
15846
|
-
let
|
|
15926
|
+
let z = (
|
|
15847
15927
|
/*isUntilDate*/
|
|
15848
15928
|
o[16] && Zo(o)
|
|
15849
15929
|
);
|
|
15850
15930
|
function xe(x, M) {
|
|
15851
15931
|
return (
|
|
15852
15932
|
/*isPermanentSelfExclusion*/
|
|
15853
|
-
x[15] ?
|
|
15933
|
+
x[15] ? zu : (
|
|
15854
15934
|
/*isDateSelected*/
|
|
15855
|
-
x[17] ?
|
|
15935
|
+
x[17] ? Fu : Nu
|
|
15856
15936
|
)
|
|
15857
15937
|
);
|
|
15858
15938
|
}
|
|
15859
15939
|
let me = xe(o), J = me(o), _e = (
|
|
15860
15940
|
/*showConfirmationModal*/
|
|
15861
|
-
o[23] &&
|
|
15941
|
+
o[23] && Lu(o)
|
|
15862
15942
|
);
|
|
15863
15943
|
return {
|
|
15864
15944
|
c() {
|
|
15865
|
-
t = w("div"), e = w("form"), ee && ee.c(), i = I(), s = w("h2"), n = ne(r), a = I(), l = w("div"), c = w("p"),
|
|
15945
|
+
t = w("div"), e = w("form"), ee && ee.c(), i = I(), s = w("h2"), n = ne(r), a = I(), l = w("div"), c = w("p"), d = I(), h = w("p"), g = ne(m), p = I(), _ = w("a"), y = ne(
|
|
15866
15946
|
/*supportemail*/
|
|
15867
15947
|
o[2]
|
|
15868
|
-
),
|
|
15948
|
+
), C = I(), A = w("div"), k = w("div"), G = w("p"), $ = ne(U), R = I(), T = Ae("svg"), F = Ae("g"), N = Ae("path"), X = I(), B = w("div");
|
|
15869
15949
|
for (let x = 0; x < O.length; x += 1)
|
|
15870
15950
|
O[x].c();
|
|
15871
|
-
ie = I(),
|
|
15951
|
+
ie = I(), z && z.c(), he = I(), q = w("div"), J.c(), Z = I(), Y = w("div"), H = w("button"), fe = ne(Q), De = I(), _e && _e.c(), Te = Hr(), 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(N, "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(N, "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"), Ue(
|
|
15875
15955
|
T,
|
|
15876
15956
|
"active",
|
|
15877
15957
|
/*isPeriodDropDownToggled*/
|
|
@@ -15881,9 +15961,9 @@ function Md(o) {
|
|
|
15881
15961
|
"active",
|
|
15882
15962
|
/*isPeriodDropDownToggled*/
|
|
15883
15963
|
o[18]
|
|
15884
|
-
), E(
|
|
15964
|
+
), E(A, "class", "SelfExclusionConfigWrapper " + /*isMobile*/
|
|
15885
15965
|
(o[22] ? "SelfExclusionConfigWrapperMobile" : "")), Ue(
|
|
15886
|
-
|
|
15966
|
+
A,
|
|
15887
15967
|
"active",
|
|
15888
15968
|
/*isPeriodDropDownToggled*/
|
|
15889
15969
|
o[18]
|
|
@@ -15895,10 +15975,10 @@ function Md(o) {
|
|
|
15895
15975
|
(o[22] ? "SelfExclusionWrapperMobile" : "")), E(t, "class", "SelfExclusionContainer");
|
|
15896
15976
|
},
|
|
15897
15977
|
m(x, M) {
|
|
15898
|
-
|
|
15978
|
+
ae(x, t, M), f(t, e), ee && ee.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, k), f(k, G), f(G, $), f(k, R), f(k, T), f(T, F), f(F, N), f(A, X), f(A, B);
|
|
15899
15979
|
for (let j = 0; j < O.length; j += 1)
|
|
15900
15980
|
O[j] && O[j].m(B, null);
|
|
15901
|
-
f(e, ie),
|
|
15981
|
+
f(e, ie), z && z.m(e, null), f(e, he), f(e, q), J.m(q, null), f(e, Z), f(e, Y), f(Y, H), f(H, fe), ae(x, De, M), _e && _e.m(x, M), ae(x, Te, M), ve || (ye = [
|
|
15902
15982
|
Mt(
|
|
15903
15983
|
k,
|
|
15904
15984
|
"click",
|
|
@@ -15918,8 +15998,8 @@ function Md(o) {
|
|
|
15918
15998
|
/*isMobile*/
|
|
15919
15999
|
x[22] && ee.p(x, M), M[0] & /*$_*/
|
|
15920
16000
|
1048576 && r !== (r = /*$_*/
|
|
15921
|
-
x[20]("titleSelfExclusion") + "") &&
|
|
15922
|
-
1048587 &&
|
|
16001
|
+
x[20]("titleSelfExclusion") + "") && de(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 Md(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") + "") && de(g, m), M[0] & /*supportemail*/
|
|
16021
|
+
4 && de(
|
|
15942
16022
|
y,
|
|
15943
16023
|
/*supportemail*/
|
|
15944
16024
|
x[2]
|
|
@@ -15947,7 +16027,7 @@ function Md(o) {
|
|
|
15947
16027
|
x[2]) && E(_, "href", v), M[0] & /*$_, selectedPeriodKey*/
|
|
15948
16028
|
1056768 && U !== (U = /*$_*/
|
|
15949
16029
|
x[20](`${/*selectedPeriodKey*/
|
|
15950
|
-
x[13]}`) + "") &&
|
|
16030
|
+
x[13]}`) + "") && de($, U), M[0] & /*isPeriodDropDownToggled*/
|
|
15951
16031
|
262144 && Ue(
|
|
15952
16032
|
T,
|
|
15953
16033
|
"active",
|
|
@@ -15977,14 +16057,14 @@ function Md(o) {
|
|
|
15977
16057
|
x[18]
|
|
15978
16058
|
), M[0] & /*isPeriodDropDownToggled*/
|
|
15979
16059
|
262144 && Ue(
|
|
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 = Zo(x), z.c(), z.m(e, he)) : z && (z.d(1), z = null), me === (me = xe(x)) && J ? J.p(x, M) : (J.d(1), J = me(x), J && (J.c(), J.m(q, null))), M[0] & /*$_*/
|
|
15986
16066
|
1048576 && Q !== (Q = /*$_*/
|
|
15987
|
-
x[20]("save") + "") &&
|
|
16067
|
+
x[20]("save") + "") && de(fe, Q), M[0] & /*isDateSelected*/
|
|
15988
16068
|
131072 && Pe !== (Pe = "SelfExclusionSave " + /*isDateSelected*/
|
|
15989
16069
|
(x[17] ? "active" : "")) && E(H, "class", Pe), M[0] & /*isDateSelected*/
|
|
15990
16070
|
131072 && ke !== (ke = !/*isDateSelected*/
|
|
@@ -15992,22 +16072,22 @@ function Md(o) {
|
|
|
15992
16072
|
x[23] && _e.p(x, M);
|
|
15993
16073
|
},
|
|
15994
16074
|
d(x) {
|
|
15995
|
-
x && (
|
|
16075
|
+
x && (le(t), le(De), le(Te)), ee && ee.d(), $r(O, x), z && z.d(), J.d(), _e && _e.d(x), ve = !1, Yr(ye);
|
|
15996
16076
|
}
|
|
15997
16077
|
};
|
|
15998
16078
|
}
|
|
15999
|
-
function
|
|
16000
|
-
let t, e, i, s, r, n, a, l, c,
|
|
16079
|
+
function Ou(o) {
|
|
16080
|
+
let t, e, i, s, r, n, a, l, c, u, d, h, m, g, p, _, y, v, C, A, k;
|
|
16001
16081
|
function G(R, T) {
|
|
16002
16082
|
return (
|
|
16003
16083
|
/*isMobile*/
|
|
16004
|
-
R[22] ?
|
|
16084
|
+
R[22] ? Bu : Ru
|
|
16005
16085
|
);
|
|
16006
16086
|
}
|
|
16007
16087
|
let $ = G(o)(o);
|
|
16008
16088
|
return {
|
|
16009
16089
|
c() {
|
|
16010
|
-
t = w("div"), e = w("div"), $.c(), i = I(), s = w("div"), r = w("ui-skeleton"), n = I(), a = w("div"), l = I(), c = w("ui-skeleton"),
|
|
16090
|
+
t = w("div"), e = w("div"), $.c(), i = I(), s = w("div"), r = w("ui-skeleton"), n = I(), a = w("div"), l = I(), c = w("ui-skeleton"), u = I(), d = w("div"), h = I(), m = w("div"), g = w("ui-skeleton"), p = I(), _ = w("div"), y = I(), v = w("ui-skeleton"), C = I(), A = w("div"), k = w("ui-skeleton"), S(r, "structure", "text"), S(
|
|
16011
16091
|
r,
|
|
16012
16092
|
"height",
|
|
16013
16093
|
/*isMobile*/
|
|
@@ -16032,7 +16112,7 @@ function Od(o) {
|
|
|
16032
16112
|
"height",
|
|
16033
16113
|
/*isMobile*/
|
|
16034
16114
|
o[22] ? "15px" : "20px"
|
|
16035
|
-
), S(c, "width", "30%"), qt(
|
|
16115
|
+
), S(c, "width", "30%"), qt(d, "height", "10px"), E(s, "class", "SelfExclusionDescription"), S(g, "structure", "rectangle"), S(
|
|
16036
16116
|
g,
|
|
16037
16117
|
"width",
|
|
16038
16118
|
/*isMobile*/
|
|
@@ -16057,30 +16137,30 @@ function Od(o) {
|
|
|
16057
16137
|
"height",
|
|
16058
16138
|
/*isMobile*/
|
|
16059
16139
|
o[22] ? "35px" : "50px"
|
|
16060
|
-
), E(
|
|
16140
|
+
), E(A, "class", "SelfExclusionActionButtons " + /*isMobile*/
|
|
16061
16141
|
(o[22] ? "SelfExclusionActionButtonsMobile" : "")), E(e, "class", "SelfExclusionWrapper " + /*isMobile*/
|
|
16062
16142
|
(o[22] ? "SelfExclusionWrapperMobile" : "")), E(t, "class", "SelfExclusionContainer");
|
|
16063
16143
|
},
|
|
16064
16144
|
m(R, T) {
|
|
16065
|
-
|
|
16145
|
+
ae(R, t, T), f(t, e), $.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, k);
|
|
16066
16146
|
},
|
|
16067
16147
|
p: ci,
|
|
16068
16148
|
d(R) {
|
|
16069
|
-
R &&
|
|
16149
|
+
R && le(t), $.d();
|
|
16070
16150
|
}
|
|
16071
16151
|
};
|
|
16072
16152
|
}
|
|
16073
|
-
function
|
|
16074
|
-
let t, e, i, s, r, n, a, l, c,
|
|
16153
|
+
function Iu(o) {
|
|
16154
|
+
let t, e, i, s, r, n, a, l, c, u, d = (
|
|
16075
16155
|
/*$_*/
|
|
16076
16156
|
o[20]("titleSelfExclusion") + ""
|
|
16077
16157
|
), h, m, g;
|
|
16078
16158
|
return {
|
|
16079
16159
|
c() {
|
|
16080
|
-
t = w("div"), e =
|
|
16160
|
+
t = w("div"), e = Ae("svg"), i = Ae("defs"), s = Ae("style"), r = ne(".aaa{fill:var(--emw--color-primary, #22B04E);}"), n = Ae("g"), a = Ae("g"), l = Ae("path"), c = I(), u = w("h2"), h = ne(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");
|
|
16081
16161
|
},
|
|
16082
16162
|
m(p, _) {
|
|
16083
|
-
|
|
16163
|
+
ae(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 = Mt(
|
|
16084
16164
|
t,
|
|
16085
16165
|
"click",
|
|
16086
16166
|
/*click_handler*/
|
|
@@ -16089,11 +16169,11 @@ function Id(o) {
|
|
|
16089
16169
|
},
|
|
16090
16170
|
p(p, _) {
|
|
16091
16171
|
_[0] & /*$_*/
|
|
16092
|
-
1048576 &&
|
|
16093
|
-
p[20]("titleSelfExclusion") + "") &&
|
|
16172
|
+
1048576 && d !== (d = /*$_*/
|
|
16173
|
+
p[20]("titleSelfExclusion") + "") && de(h, d);
|
|
16094
16174
|
},
|
|
16095
16175
|
d(p) {
|
|
16096
|
-
p &&
|
|
16176
|
+
p && le(t), m = !1, g();
|
|
16097
16177
|
}
|
|
16098
16178
|
};
|
|
16099
16179
|
}
|
|
@@ -16117,16 +16197,16 @@ function Xo(o) {
|
|
|
16117
16197
|
t = w("div"), i = ne(e);
|
|
16118
16198
|
},
|
|
16119
16199
|
m(a, l) {
|
|
16120
|
-
|
|
16200
|
+
ae(a, t, l), f(t, i), s || (r = Mt(t, "click", n), s = !0);
|
|
16121
16201
|
},
|
|
16122
16202
|
p(a, l) {
|
|
16123
16203
|
o = a, l[0] & /*$_, selfExclusionPeriods*/
|
|
16124
16204
|
1049088 && e !== (e = /*$_*/
|
|
16125
16205
|
o[20](`${/*period*/
|
|
16126
|
-
o[56].key}`) + "") &&
|
|
16206
|
+
o[56].key}`) + "") && de(i, e);
|
|
16127
16207
|
},
|
|
16128
16208
|
d(a) {
|
|
16129
|
-
a &&
|
|
16209
|
+
a && le(t), s = !1, r();
|
|
16130
16210
|
}
|
|
16131
16211
|
};
|
|
16132
16212
|
}
|
|
@@ -16137,10 +16217,10 @@ function Zo(o) {
|
|
|
16137
16217
|
), s, r, n, a = (
|
|
16138
16218
|
/*$_*/
|
|
16139
16219
|
o[20]("dateInstructions") + ""
|
|
16140
|
-
), l, c,
|
|
16220
|
+
), l, c, u, d, h, m, g;
|
|
16141
16221
|
return {
|
|
16142
16222
|
c() {
|
|
16143
|
-
t = w("div"), e = w("label"), s = ne(i), r = I(), n = w("span"), l = ne(a), c = I(),
|
|
16223
|
+
t = w("div"), e = w("label"), s = ne(i), r = I(), n = w("span"), l = ne(a), c = I(), u = w("strong"), d = ne(
|
|
16144
16224
|
/*validDateformat*/
|
|
16145
16225
|
o[21]
|
|
16146
16226
|
), h = w("strong"), m = I(), g = w("vaadin-date-picker"), E(e, "for", "SelfExclusionDate"), E(n, "class", "SelfExclusionDateInstructions"), S(
|
|
@@ -16162,14 +16242,14 @@ function Zo(o) {
|
|
|
16162
16242
|
(o[22] ? "SelfExclusionDateWrapperMobile" : ""));
|
|
16163
16243
|
},
|
|
16164
16244
|
m(p, _) {
|
|
16165
|
-
|
|
16245
|
+
ae(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);
|
|
16166
16246
|
},
|
|
16167
16247
|
p(p, _) {
|
|
16168
16248
|
_[0] & /*$_*/
|
|
16169
16249
|
1048576 && i !== (i = /*$_*/
|
|
16170
|
-
p[20]("duration") + "") &&
|
|
16250
|
+
p[20]("duration") + "") && de(s, i), _[0] & /*$_*/
|
|
16171
16251
|
1048576 && a !== (a = /*$_*/
|
|
16172
|
-
p[20]("dateInstructions") + "") &&
|
|
16252
|
+
p[20]("dateInstructions") + "") && de(l, a), _[0] & /*minDate*/
|
|
16173
16253
|
1024 && S(
|
|
16174
16254
|
g,
|
|
16175
16255
|
"min",
|
|
@@ -16190,11 +16270,11 @@ function Zo(o) {
|
|
|
16190
16270
|
);
|
|
16191
16271
|
},
|
|
16192
16272
|
d(p) {
|
|
16193
|
-
p &&
|
|
16273
|
+
p && le(t), o[39](null);
|
|
16194
16274
|
}
|
|
16195
16275
|
};
|
|
16196
16276
|
}
|
|
16197
|
-
function
|
|
16277
|
+
function Fu(o) {
|
|
16198
16278
|
let t, e, i = (
|
|
16199
16279
|
/*$_*/
|
|
16200
16280
|
o[20]("temporarySelfExclusion", {
|
|
@@ -16214,7 +16294,7 @@ function Nd(o) {
|
|
|
16214
16294
|
t = w("p"), e = w("strong"), s = ne(i), E(t, "class", "SelfExclusionDescriptionText");
|
|
16215
16295
|
},
|
|
16216
16296
|
m(r, n) {
|
|
16217
|
-
|
|
16297
|
+
ae(r, t, n), f(t, e), f(e, s);
|
|
16218
16298
|
},
|
|
16219
16299
|
p(r, n) {
|
|
16220
16300
|
n[0] & /*$_, selfExclusionExpiryDate*/
|
|
@@ -16229,14 +16309,14 @@ function Nd(o) {
|
|
|
16229
16309
|
r[21]
|
|
16230
16310
|
)
|
|
16231
16311
|
}
|
|
16232
|
-
}) + "") &&
|
|
16312
|
+
}) + "") && de(s, i);
|
|
16233
16313
|
},
|
|
16234
16314
|
d(r) {
|
|
16235
|
-
r &&
|
|
16315
|
+
r && le(t);
|
|
16236
16316
|
}
|
|
16237
16317
|
};
|
|
16238
16318
|
}
|
|
16239
|
-
function
|
|
16319
|
+
function Nu(o) {
|
|
16240
16320
|
let t, e, i = (
|
|
16241
16321
|
/*$_*/
|
|
16242
16322
|
o[20]("noPeriodSelected") + ""
|
|
@@ -16246,19 +16326,19 @@ function zd(o) {
|
|
|
16246
16326
|
t = w("p"), e = w("strong"), s = ne(i), E(t, "class", "SelfExclusionDescriptionText");
|
|
16247
16327
|
},
|
|
16248
16328
|
m(r, n) {
|
|
16249
|
-
|
|
16329
|
+
ae(r, t, n), f(t, e), f(e, s);
|
|
16250
16330
|
},
|
|
16251
16331
|
p(r, n) {
|
|
16252
16332
|
n[0] & /*$_*/
|
|
16253
16333
|
1048576 && i !== (i = /*$_*/
|
|
16254
|
-
r[20]("noPeriodSelected") + "") &&
|
|
16334
|
+
r[20]("noPeriodSelected") + "") && de(s, i);
|
|
16255
16335
|
},
|
|
16256
16336
|
d(r) {
|
|
16257
|
-
r &&
|
|
16337
|
+
r && le(t);
|
|
16258
16338
|
}
|
|
16259
16339
|
};
|
|
16260
16340
|
}
|
|
16261
|
-
function
|
|
16341
|
+
function zu(o) {
|
|
16262
16342
|
let t, e, i = (
|
|
16263
16343
|
/*$_*/
|
|
16264
16344
|
o[20]("permanentSelfExclusion") + ""
|
|
@@ -16268,19 +16348,19 @@ function Fd(o) {
|
|
|
16268
16348
|
t = w("p"), e = w("strong"), s = ne(i), E(t, "class", "SelfExclusionDescriptionText");
|
|
16269
16349
|
},
|
|
16270
16350
|
m(r, n) {
|
|
16271
|
-
|
|
16351
|
+
ae(r, t, n), f(t, e), f(e, s);
|
|
16272
16352
|
},
|
|
16273
16353
|
p(r, n) {
|
|
16274
16354
|
n[0] & /*$_*/
|
|
16275
16355
|
1048576 && i !== (i = /*$_*/
|
|
16276
|
-
r[20]("permanentSelfExclusion") + "") &&
|
|
16356
|
+
r[20]("permanentSelfExclusion") + "") && de(s, i);
|
|
16277
16357
|
},
|
|
16278
16358
|
d(r) {
|
|
16279
|
-
r &&
|
|
16359
|
+
r && le(t);
|
|
16280
16360
|
}
|
|
16281
16361
|
};
|
|
16282
16362
|
}
|
|
16283
|
-
function
|
|
16363
|
+
function Lu(o) {
|
|
16284
16364
|
let t, e, i;
|
|
16285
16365
|
return {
|
|
16286
16366
|
c() {
|
|
@@ -16318,7 +16398,7 @@ function Ld(o) {
|
|
|
16318
16398
|
), S(t, "showmodaleventname", "ShowSelfExclusionConfirmationModal");
|
|
16319
16399
|
},
|
|
16320
16400
|
m(s, r) {
|
|
16321
|
-
|
|
16401
|
+
ae(s, t, r), f(t, e);
|
|
16322
16402
|
},
|
|
16323
16403
|
p(s, r) {
|
|
16324
16404
|
r[0] & /*$_*/
|
|
@@ -16362,44 +16442,44 @@ function Ld(o) {
|
|
|
16362
16442
|
);
|
|
16363
16443
|
},
|
|
16364
16444
|
d(s) {
|
|
16365
|
-
s &&
|
|
16445
|
+
s && le(t);
|
|
16366
16446
|
}
|
|
16367
16447
|
};
|
|
16368
16448
|
}
|
|
16369
|
-
function
|
|
16449
|
+
function Ru(o) {
|
|
16370
16450
|
let t;
|
|
16371
16451
|
return {
|
|
16372
16452
|
c() {
|
|
16373
16453
|
t = w("ui-skeleton"), S(t, "structure", "title"), S(t, "width", "100px"), S(t, "margin-top", "20px"), S(t, "margin-bottom", "20px");
|
|
16374
16454
|
},
|
|
16375
16455
|
m(e, i) {
|
|
16376
|
-
|
|
16456
|
+
ae(e, t, i);
|
|
16377
16457
|
},
|
|
16378
16458
|
d(e) {
|
|
16379
|
-
e &&
|
|
16459
|
+
e && le(t);
|
|
16380
16460
|
}
|
|
16381
16461
|
};
|
|
16382
16462
|
}
|
|
16383
|
-
function
|
|
16463
|
+
function Bu(o) {
|
|
16384
16464
|
let t;
|
|
16385
16465
|
return {
|
|
16386
16466
|
c() {
|
|
16387
16467
|
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");
|
|
16388
16468
|
},
|
|
16389
16469
|
m(e, i) {
|
|
16390
|
-
|
|
16470
|
+
ae(e, t, i);
|
|
16391
16471
|
},
|
|
16392
16472
|
d(e) {
|
|
16393
|
-
e &&
|
|
16473
|
+
e && le(t);
|
|
16394
16474
|
}
|
|
16395
16475
|
};
|
|
16396
16476
|
}
|
|
16397
|
-
function
|
|
16477
|
+
function Hu(o) {
|
|
16398
16478
|
let t;
|
|
16399
16479
|
function e(r, n) {
|
|
16400
16480
|
return (
|
|
16401
16481
|
/*skeletonLoading*/
|
|
16402
|
-
r[19] ?
|
|
16482
|
+
r[19] ? Ou : Mu
|
|
16403
16483
|
);
|
|
16404
16484
|
}
|
|
16405
16485
|
let i = e(o), s = i(o);
|
|
@@ -16408,7 +16488,7 @@ function Hd(o) {
|
|
|
16408
16488
|
t = w("div"), s.c();
|
|
16409
16489
|
},
|
|
16410
16490
|
m(r, n) {
|
|
16411
|
-
|
|
16491
|
+
ae(r, t, n), s.m(t, null), o[41](t);
|
|
16412
16492
|
},
|
|
16413
16493
|
p(r, n) {
|
|
16414
16494
|
i === (i = e(r)) && s ? s.p(r, n) : (s.d(1), s = i(r), s && (s.c(), s.m(t, null)));
|
|
@@ -16416,14 +16496,14 @@ function Hd(o) {
|
|
|
16416
16496
|
i: ci,
|
|
16417
16497
|
o: ci,
|
|
16418
16498
|
d(r) {
|
|
16419
|
-
r &&
|
|
16499
|
+
r && le(t), s.d(), o[41](null);
|
|
16420
16500
|
}
|
|
16421
16501
|
};
|
|
16422
16502
|
}
|
|
16423
|
-
function $
|
|
16503
|
+
function $u(o, t, e) {
|
|
16424
16504
|
let i;
|
|
16425
|
-
|
|
16426
|
-
let { endpoint: s = "", session: r = "", userid: n = "", lang: a = "en", gmversion: l = "", operator: c = "Everymatrix", supportemail:
|
|
16505
|
+
Fr(o, jr, (b) => e(20, i = b)), Ee.extend(ku);
|
|
16506
|
+
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, k = y.toUpperCase(), G = [], U = {}, $ = window.navigator.userAgent, R, T, F = "", N = "", X = "selectAPeriod", B = "", ie = "", he = Nr($) !== "PC", q = !1, Z = !1, Y = !1, H = !1, Q = _ === "true", fe = !0;
|
|
16427
16507
|
const Pe = () => {
|
|
16428
16508
|
fetch(p).then((oe) => oe.json()).then((oe) => {
|
|
16429
16509
|
Object.keys(oe).forEach((se) => {
|
|
@@ -16470,31 +16550,31 @@ function $d(o, t, e) {
|
|
|
16470
16550
|
}, ve = () => {
|
|
16471
16551
|
e(18, H = !H);
|
|
16472
16552
|
}, ye = (b) => {
|
|
16473
|
-
switch (
|
|
16553
|
+
switch (N = b.text, e(13, X = b.key), e(17, Y = !0), e(18, H = !1), e(15, q = !1), e(16, Z = !1), N) {
|
|
16474
16554
|
case "Until":
|
|
16475
|
-
e(16, Z = !0), e(10, R = Ee().add(6, "M").format("YYYY-MM-DD")), e(11, T = Ee().add(5, "y").format("YYYY-MM-DD")), e(12,
|
|
16555
|
+
e(16, Z = !0), e(10, R = Ee().add(6, "M").format("YYYY-MM-DD")), e(11, T = Ee().add(5, "y").format("YYYY-MM-DD")), e(12, F = R);
|
|
16476
16556
|
break;
|
|
16477
16557
|
case "Permanent":
|
|
16478
16558
|
e(15, q = !q);
|
|
16479
16559
|
break;
|
|
16480
16560
|
default:
|
|
16481
|
-
const [oe, se] =
|
|
16482
|
-
if (!
|
|
16561
|
+
const [oe, se] = N.split(" "), Ne = se.includes("Day") ? "days" : se.includes("Month") ? "months" : se.includes("Year") ? "years" : null;
|
|
16562
|
+
if (!Ne)
|
|
16483
16563
|
return;
|
|
16484
|
-
e(12,
|
|
16564
|
+
e(12, F = Ee().add(Number(oe), Ne).format("YYYY-MM-DD"));
|
|
16485
16565
|
break;
|
|
16486
16566
|
}
|
|
16487
16567
|
Q && ee();
|
|
16488
16568
|
}, ee = () => {
|
|
16489
|
-
if (!Q || !
|
|
16569
|
+
if (!Q || !N || !F) {
|
|
16490
16570
|
e(14, B = "");
|
|
16491
16571
|
return;
|
|
16492
16572
|
}
|
|
16493
16573
|
e(14, B = Z ? i("confirmationModalTextUntilSelfExclusion", {
|
|
16494
16574
|
values: {
|
|
16495
|
-
date: Ee(
|
|
16575
|
+
date: Ee(F).format(k)
|
|
16496
16576
|
}
|
|
16497
|
-
}) : i("confirmationModalTextPeriodSelfExclusion", { values: { period: i(
|
|
16577
|
+
}) : i("confirmationModalTextPeriodSelfExclusion", { values: { period: i(N) } }));
|
|
16498
16578
|
}, ce = (b) => {
|
|
16499
16579
|
b.preventDefault(), Q ? (ee(), window.postMessage(
|
|
16500
16580
|
{
|
|
@@ -16514,13 +16594,13 @@ function $d(o, t, e) {
|
|
|
16514
16594
|
body: JSON.stringify({
|
|
16515
16595
|
selfExclusion: {
|
|
16516
16596
|
period: X,
|
|
16517
|
-
expiryDate:
|
|
16597
|
+
expiryDate: F,
|
|
16518
16598
|
selfExclusionReason: "UserRequest",
|
|
16519
16599
|
sendNotificationEmail: v === "true"
|
|
16520
16600
|
}
|
|
16521
16601
|
})
|
|
16522
16602
|
};
|
|
16523
|
-
fetch(b.href, se).then((
|
|
16603
|
+
fetch(b.href, se).then((Ne) => Te(Ne)).then((Ne) => {
|
|
16524
16604
|
window.postMessage(
|
|
16525
16605
|
{
|
|
16526
16606
|
type: "WidgetNotification",
|
|
@@ -16531,8 +16611,8 @@ function $d(o, t, e) {
|
|
|
16531
16611
|
},
|
|
16532
16612
|
window.location.href
|
|
16533
16613
|
), window.postMessage({ type: "LogoutSuccessfull" }, window.location.href);
|
|
16534
|
-
}).catch((
|
|
16535
|
-
console.error(i("errorSelfExclusionCall"),
|
|
16614
|
+
}).catch((Ne) => {
|
|
16615
|
+
console.error(i("errorSelfExclusionCall"), Ne), window.postMessage(
|
|
16536
16616
|
{
|
|
16537
16617
|
type: "WidgetNotification",
|
|
16538
16618
|
data: {
|
|
@@ -16545,7 +16625,7 @@ function $d(o, t, e) {
|
|
|
16545
16625
|
}).finally(() => {
|
|
16546
16626
|
e(19, fe = !1);
|
|
16547
16627
|
});
|
|
16548
|
-
},
|
|
16628
|
+
}, z = () => {
|
|
16549
16629
|
window.postMessage(
|
|
16550
16630
|
{
|
|
16551
16631
|
type: "PlayerAccountMenuActive",
|
|
@@ -16554,12 +16634,12 @@ function $d(o, t, e) {
|
|
|
16554
16634
|
window.location.href
|
|
16555
16635
|
);
|
|
16556
16636
|
}, xe = (b) => {
|
|
16557
|
-
e(12,
|
|
16637
|
+
e(12, F = b.target.value);
|
|
16558
16638
|
}, me = () => {
|
|
16559
|
-
|
|
16639
|
+
A.addEventListener("change", xe, !1), e(
|
|
16560
16640
|
8,
|
|
16561
|
-
|
|
16562
|
-
...
|
|
16641
|
+
A.i18n = {
|
|
16642
|
+
...A.i18n,
|
|
16563
16643
|
formatDate: (b) => Ee(new Date(b.year, b.month, b.day)).format(k),
|
|
16564
16644
|
parseDate: (b) => {
|
|
16565
16645
|
const oe = Ee(b, k);
|
|
@@ -16570,52 +16650,52 @@ function $d(o, t, e) {
|
|
|
16570
16650
|
};
|
|
16571
16651
|
}
|
|
16572
16652
|
},
|
|
16573
|
-
|
|
16653
|
+
A
|
|
16574
16654
|
);
|
|
16575
16655
|
};
|
|
16576
16656
|
zr(() => (window.addEventListener("message", De, !1), () => {
|
|
16577
|
-
|
|
16657
|
+
A.removeEventListener("change", xe), window.removeEventListener("message", De);
|
|
16578
16658
|
}));
|
|
16579
16659
|
const J = () => {
|
|
16580
|
-
|
|
16581
|
-
}, _e = () =>
|
|
16660
|
+
Du(a);
|
|
16661
|
+
}, _e = () => z(), x = () => ve(), M = (b) => ye(b);
|
|
16582
16662
|
function j(b) {
|
|
16583
16663
|
ro[b ? "unshift" : "push"](() => {
|
|
16584
|
-
|
|
16664
|
+
A = b, e(8, A);
|
|
16585
16665
|
});
|
|
16586
16666
|
}
|
|
16587
16667
|
const Et = (b) => ce(b);
|
|
16588
16668
|
function Sr(b) {
|
|
16589
16669
|
ro[b ? "unshift" : "push"](() => {
|
|
16590
|
-
|
|
16670
|
+
C = b, e(7, C);
|
|
16591
16671
|
});
|
|
16592
16672
|
}
|
|
16593
16673
|
return o.$$set = (b) => {
|
|
16594
|
-
"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,
|
|
16674
|
+
"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);
|
|
16595
16675
|
}, o.$$.update = () => {
|
|
16596
16676
|
o.$$.dirty[0] & /*lang*/
|
|
16597
16677
|
1 && a && J(), o.$$.dirty[0] & /*endpoint, session, userid*/
|
|
16598
16678
|
1879048192 | o.$$.dirty[1] & /*gmversion*/
|
|
16599
16679
|
1 && s && r && n && l && ke(), o.$$.dirty[0] & /*calendar*/
|
|
16600
|
-
256 &&
|
|
16601
|
-
144 && h &&
|
|
16602
|
-
160 && m &&
|
|
16603
|
-
192 && g &&
|
|
16680
|
+
256 && A && me(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
16681
|
+
144 && h && C && Br(C, h), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
16682
|
+
160 && m && C && Lr(C, m), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
16683
|
+
192 && g && C && Rr(C, `${g}.Style`), o.$$.dirty[1] & /*translationurl*/
|
|
16604
16684
|
2 && p && Pe();
|
|
16605
16685
|
}, Q && ee(), [
|
|
16606
16686
|
a,
|
|
16607
16687
|
c,
|
|
16608
|
-
d,
|
|
16609
16688
|
u,
|
|
16689
|
+
d,
|
|
16610
16690
|
h,
|
|
16611
16691
|
m,
|
|
16612
16692
|
g,
|
|
16613
|
-
A,
|
|
16614
16693
|
C,
|
|
16694
|
+
A,
|
|
16615
16695
|
G,
|
|
16616
16696
|
R,
|
|
16617
16697
|
T,
|
|
16618
|
-
|
|
16698
|
+
F,
|
|
16619
16699
|
X,
|
|
16620
16700
|
B,
|
|
16621
16701
|
q,
|
|
@@ -16630,7 +16710,7 @@ function $d(o, t, e) {
|
|
|
16630
16710
|
ve,
|
|
16631
16711
|
ye,
|
|
16632
16712
|
ce,
|
|
16633
|
-
|
|
16713
|
+
z,
|
|
16634
16714
|
s,
|
|
16635
16715
|
r,
|
|
16636
16716
|
n,
|
|
@@ -16652,9 +16732,9 @@ class Er extends Dr {
|
|
|
16652
16732
|
super(), Tr(
|
|
16653
16733
|
this,
|
|
16654
16734
|
t,
|
|
16655
|
-
$
|
|
16656
|
-
|
|
16657
|
-
|
|
16735
|
+
$u,
|
|
16736
|
+
Hu,
|
|
16737
|
+
Or,
|
|
16658
16738
|
{
|
|
16659
16739
|
endpoint: 28,
|
|
16660
16740
|
session: 29,
|
|
@@ -16672,7 +16752,7 @@ class Er extends Dr {
|
|
|
16672
16752
|
dateformat: 34,
|
|
16673
16753
|
sendnotificationemail: 35
|
|
16674
16754
|
},
|
|
16675
|
-
|
|
16755
|
+
Tu,
|
|
16676
16756
|
[-1, -1]
|
|
16677
16757
|
);
|
|
16678
16758
|
}
|
|
@@ -16767,12 +16847,12 @@ class Er extends Dr {
|
|
|
16767
16847
|
this.$$set({ sendnotificationemail: t }), te();
|
|
16768
16848
|
}
|
|
16769
16849
|
}
|
|
16770
|
-
|
|
16771
|
-
const
|
|
16850
|
+
Mr(Er, { endpoint: {}, session: {}, userid: {}, lang: {}, gmversion: {}, operator: {}, supportemail: {}, baseurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, hasconfirmationmodal: {}, dateformat: {}, sendnotificationemail: {} }, [], [], !0);
|
|
16851
|
+
const Cd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16772
16852
|
__proto__: null,
|
|
16773
16853
|
default: Er
|
|
16774
16854
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
16775
16855
|
export {
|
|
16776
|
-
|
|
16777
|
-
|
|
16856
|
+
ku as C,
|
|
16857
|
+
Cd as P
|
|
16778
16858
|
};
|