@everymatrix/player-account-controller 1.70.1 → 1.71.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{GeneralLogout-CYE3twI-.js → GeneralLogout-B0VQOyp8.js} +913 -934
- package/components/GeneralLogout-CwfC_imT.cjs +21 -0
- package/components/{GeneralLogout-CgxHUYZx.js → GeneralLogout-DRrs7YUm.js} +853 -874
- package/components/PlayerAccountBettingHistory-CbA15BLO.cjs +1 -0
- package/components/PlayerAccountBettingHistory-DGi2VOi2.js +329 -0
- package/components/PlayerAccountBettingHistory-DvdfSyU5.js +328 -0
- package/components/{PlayerAccountBiometrics-DrmVF6dX.js → PlayerAccountBiometrics-989PbzNq.js} +22 -22
- package/components/{PlayerAccountBiometrics-CEEVheLt.cjs → PlayerAccountBiometrics-BYO39i9p.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-CCk_4MyI.js → PlayerAccountBiometrics-BbEIrHI6.js} +22 -22
- package/components/{PlayerAccountClosure-B_xwOPds.js → PlayerAccountClosure-BBFEOrul.js} +17 -17
- package/components/{PlayerAccountClosure-UwL_V2IO.js → PlayerAccountClosure-BUzQEnPq.js} +17 -17
- package/components/{PlayerAccountClosure-DoZ91aH2.cjs → PlayerAccountClosure-DC11KouS.cjs} +1 -1
- package/components/{PlayerAccountController-DHLtX3XO.js → PlayerAccountController-BBY1eza_.js} +659 -625
- package/components/{PlayerAccountController-CMyW_1-T.cjs → PlayerAccountController-BO2-8qzx.cjs} +1 -1
- package/components/{PlayerAccountController-BXYtygsP.js → PlayerAccountController-BTxJpu4C.js} +661 -627
- package/components/{PlayerAccountGamingLimits-C11On8aq.js → PlayerAccountGamingLimits-Bk0EXznK.js} +127 -127
- package/components/{PlayerAccountGamingLimits-B0QALjVi.js → PlayerAccountGamingLimits-CBpMsM8Z.js} +127 -127
- package/components/{PlayerAccountGamingLimits-BIXEO8qU.cjs → PlayerAccountGamingLimits-DD_Xvlpx.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-57Q5qtf8.js → PlayerAccountGamingLimitsConfirmationModal-5YMmAQlc.js} +30 -30
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CVJUvbSC.cjs → PlayerAccountGamingLimitsConfirmationModal-B5DdL-Qq.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CztJ5DKd.js → PlayerAccountGamingLimitsConfirmationModal-DayIeAhM.js} +30 -30
- package/components/{PlayerAccountGamingLimitsGroupEdit-CoayAtf0.js → PlayerAccountGamingLimitsGroupEdit-6QL1n5iL.js} +57 -55
- package/components/{PlayerAccountGamingLimitsGroupEdit-C40tSY9Z.js → PlayerAccountGamingLimitsGroupEdit-CmsApDIS.js} +57 -55
- package/components/PlayerAccountGamingLimitsGroupEdit-DrD_b8jP.cjs +2 -0
- package/components/{PlayerAccountGamingLimitsHistory2-BLK-Rk6N.js → PlayerAccountGamingLimitsHistory2-D088X_TM.js} +48 -48
- package/components/{PlayerAccountGamingLimitsHistory2-Br4h7_eS.js → PlayerAccountGamingLimitsHistory2-DWWqB8Fw.js} +46 -46
- package/components/{PlayerAccountGamingLimitsHistory2-CreFMkf_.cjs → PlayerAccountGamingLimitsHistory2-_1kGjygb.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-blI001Nx.js → PlayerAccountGamingLimitsInfoCard-CHsxYYfO.js} +83 -83
- package/components/{PlayerAccountGamingLimitsInfoCard-COS0sgRr.cjs → PlayerAccountGamingLimitsInfoCard-CV-3DIxV.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-D5Vpi7Gd.js → PlayerAccountGamingLimitsInfoCard-DS6v29qm.js} +83 -83
- package/components/{PlayerAccountGamingLimitsPage2Gm16-BAQqtUjc.js → PlayerAccountGamingLimitsPage2Gm16-BJDhlpPC.js} +131 -131
- package/components/{PlayerAccountGamingLimitsPage2Gm16-Cov3S01u.js → PlayerAccountGamingLimitsPage2Gm16-C0Dx6InH.js} +127 -127
- package/components/{PlayerAccountGamingLimitsPage2Gm16-Dpo-wqo-.cjs → PlayerAccountGamingLimitsPage2Gm16-vX1K2yKK.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-DTb6cpuT.js → PlayerAccountGamingLimitsPopup-DeOWwk-L.js} +42 -42
- package/components/{PlayerAccountGamingLimitsPopup-Dz9ROowj.js → PlayerAccountGamingLimitsPopup-Dox89ALX.js} +42 -42
- package/components/{PlayerAccountGamingLimitsPopup-CmNqLNxB.cjs → PlayerAccountGamingLimitsPopup-DySvpnhJ.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-CeTGUdpp.js → PlayerAccountGamingLimitsWrapper2-BWD0TwHO.js} +36 -36
- package/components/{PlayerAccountGamingLimitsWrapper2-LAdy0FnH.js → PlayerAccountGamingLimitsWrapper2-BZO3-swb.js} +36 -36
- package/components/{PlayerAccountGamingLimitsWrapper2-B0QUbGaJ.cjs → PlayerAccountGamingLimitsWrapper2-OQlLWMOB.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-DbBEBukz.js → PlayerAccountGeneralConfirmationModal-D_4csutn.js} +32 -32
- package/components/{PlayerAccountGeneralConfirmationModal-DHEkFez0.cjs → PlayerAccountGeneralConfirmationModal-DjEvyfLy.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-DzZ3ym_J.js → PlayerAccountGeneralConfirmationModal-v2SilW7s.js} +32 -32
- package/components/{PlayerAccountMenu-T7u8nYfI.js → PlayerAccountMenu-Bqz0aTF9.js} +32 -32
- package/components/{PlayerAccountMenu-_Qnpkznr.js → PlayerAccountMenu-DfZ0KdMV.js} +29 -29
- package/components/{PlayerAccountMenu-_Le7yvP5.cjs → PlayerAccountMenu-fW4OjslX.cjs} +1 -1
- package/components/{PlayerAccountModal-SsGlrcmj.cjs → PlayerAccountModal--0zxODF3.cjs} +1 -1
- package/components/{PlayerAccountModal-Cbpkb5P6.js → PlayerAccountModal-BMB4P21h.js} +42 -42
- package/components/{PlayerAccountModal-Co5a_OZZ.js → PlayerAccountModal-qMBtzz8T.js} +42 -42
- package/components/{PlayerAccountNotifications-B0Nsdovh.js → PlayerAccountNotifications-DEokeaby.js} +120 -120
- package/components/{PlayerAccountNotifications-aQgcZXcD.cjs → PlayerAccountNotifications-DL6whSl1.cjs} +1 -1
- package/components/{PlayerAccountNotifications-BeabE333.js → PlayerAccountNotifications-dsfZhiiz.js} +35 -35
- package/components/{PlayerAccountProductRestriction-BLkXP0pX.js → PlayerAccountProductRestriction-CUMqaF1v.js} +2314 -2312
- package/components/{PlayerAccountProductRestriction-4IgUKLLe.js → PlayerAccountProductRestriction-CWVVSi8x.js} +2328 -2326
- package/components/{PlayerAccountProductRestriction-BiiJjJv1.cjs → PlayerAccountProductRestriction-CoLHLqmO.cjs} +233 -233
- package/components/{PlayerAccountSelfExclusion-C65zyQu1.js → PlayerAccountSelfExclusion-DGkPy7y6.js} +540 -537
- package/components/{PlayerAccountSelfExclusion-CJHCaxBb.js → PlayerAccountSelfExclusion-tq30Qh8A.js} +139 -136
- package/components/{PlayerAccountSelfExclusion-BgMjbGLs.cjs → PlayerAccountSelfExclusion-yOxYX2u7.cjs} +75 -75
- package/components/PlayerAccountTimeout-B0Cq943z.cjs +1 -0
- package/components/{PlayerAccountTimeout-DUBkD9d2.js → PlayerAccountTimeout-D1MDOMKP.js} +122 -122
- package/components/{PlayerAccountTimeout-npDnQAdR.js → PlayerAccountTimeout-D54zlI59.js} +122 -122
- package/components/{PlayerAccountTransactionsHistory-D5v-reW0.js → PlayerAccountTransactionsHistory-BH0sftnp.js} +59 -59
- package/components/{PlayerAccountTransactionsHistory-BQH631zi.cjs → PlayerAccountTransactionsHistory-DML86Ru-.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-DnLoeUPl.js → PlayerAccountTransactionsHistory-Dcpjukrx.js} +59 -59
- package/components/{PlayerActiveBonuses-CaQNGq0m.js → PlayerActiveBonuses-A_DTddPa.js} +55 -55
- package/components/{PlayerActiveBonuses-DX872Zcz.js → PlayerActiveBonuses-B-c41WnQ.js} +48 -48
- package/components/{PlayerActiveBonuses-Dpef1XJD.cjs → PlayerActiveBonuses-dQOuytPa.cjs} +1 -1
- package/components/{PlayerBonusCard-Cu5bJlh_.js → PlayerBonusCard-BOGjlIcY.js} +81 -81
- package/components/{PlayerBonusCard-7dIqFpfg.cjs → PlayerBonusCard-BZXqOzco.cjs} +1 -1
- package/components/{PlayerBonusCard-ZY8S04oT.js → PlayerBonusCard-MaVyRkKh.js} +81 -81
- package/components/{PlayerBonusHistory-DqsmaMeU.js → PlayerBonusHistory-BVzfQOF4.js} +33 -33
- package/components/{PlayerBonusHistory-ppwY60rv.cjs → PlayerBonusHistory-CmOldup0.cjs} +1 -1
- package/components/{PlayerBonusHistory-BOE5Bgah.js → PlayerBonusHistory-jZkPl5bD.js} +33 -33
- package/components/{PlayerChangePassword-LgjKzYU1.cjs → PlayerChangePassword-CG0yyj8N.cjs} +1 -1
- package/components/{PlayerChangePassword-ChwKfBC6.js → PlayerChangePassword-D2Cjc71i.js} +66 -66
- package/components/{PlayerChangePassword-C2ZoKuCq.js → PlayerChangePassword-r4m8kv9p.js} +66 -66
- package/components/{PlayerDeposit-VLcz0tQH.js → PlayerDeposit-BzJtaOjD.js} +80 -80
- package/components/{PlayerDeposit-BPZ5wCAZ.js → PlayerDeposit-ORwoEnPn.js} +80 -80
- package/components/PlayerDeposit-XDLH1XV-.cjs +1 -0
- package/components/{PlayerGamingHistory-ShE-DHwW.js → PlayerGamingHistory-DGnLixnA.js} +97 -97
- package/components/{PlayerGamingHistory-DaYcMM-N.js → PlayerGamingHistory-JHdAKfaf.js} +88 -88
- package/components/{PlayerGamingHistory-Hs5LWwEP.cjs → PlayerGamingHistory-SuFKYHl5.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-DeNKdUgJ.js → PlayerPendingWithdrawals-CoPeWe82.js} +26 -26
- package/components/{PlayerPendingWithdrawals-BMwtFNQT.cjs → PlayerPendingWithdrawals-CrNEhXdS.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-go7okUzL.js → PlayerPendingWithdrawals-DErieGhw.js} +26 -26
- package/components/{PlayerProfileInfo-DFw4ourA.cjs → PlayerProfileInfo-Ba0P3Lmq.cjs} +1 -1
- package/components/{PlayerProfileInfo-bwbHpI6M.js → PlayerProfileInfo-Bks0ayNb.js} +66 -66
- package/components/{PlayerProfileInfo-C8q-cLYa.js → PlayerProfileInfo-uo5Nv4Pa.js} +66 -66
- package/components/{PlayerRealityCheck-Dr_ZpTwE.cjs → PlayerRealityCheck-CC8qTWId.cjs} +1 -1
- package/components/{PlayerRealityCheck-BGNjgzIq.js → PlayerRealityCheck-CwbP2nPJ.js} +44 -44
- package/components/{PlayerRealityCheck-C2w5S2fe.js → PlayerRealityCheck-mdL-U276.js} +43 -43
- package/components/{PlayerTransactionHistory-A-aVfyoc.js → PlayerTransactionHistory-BGf7fWPX.js} +19 -19
- package/components/{PlayerTransactionHistory-4VtQqLAc.cjs → PlayerTransactionHistory-CPYk3YFO.cjs} +1 -1
- package/components/{PlayerTransactionHistory-BFV_XJw9.js → PlayerTransactionHistory-Dz4JXQLP.js} +19 -19
- package/components/{PlayerWithdrawal-BMLgaRLc.cjs → PlayerWithdrawal-9DnL98EG.cjs} +1 -1
- package/components/{PlayerWithdrawal-B_wQZI_t.js → PlayerWithdrawal-C50d3wfA.js} +19 -19
- package/components/{PlayerWithdrawal-CTttZqLr.js → PlayerWithdrawal-DVd5ZFGK.js} +19 -19
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/{checkbox-group-input_15-DV3L45BU.js → checkbox-group-input_15-COX7DlDn.js} +2292 -2286
- package/stencil/{checkbox-group-input_15-CfJ8hwGl.cjs → checkbox-group-input_15-CfJS-1ti.cjs} +239 -239
- package/stencil/{checkbox-group-input_15-Nrj9GHCK.js → checkbox-group-input_15-DpaVaugQ.js} +2289 -2283
- package/stencil/index-13661b98-BDzather.js +611 -0
- package/stencil/index-13661b98-ChlFIQCB.cjs +1 -0
- package/stencil/index-13661b98-xRNcnGsM.js +595 -0
- package/stencil/index-1ef3a64c-B56pWkNP.js +572 -0
- package/stencil/index-1ef3a64c-drXhqjaW.cjs +1 -0
- package/stencil/index-1ef3a64c-fwHj5L8t.js +556 -0
- package/stencil/index-7c5e707a-CU3H8HVf.js +616 -0
- package/stencil/index-7c5e707a-DIWlFBom.js +643 -0
- package/stencil/index-7c5e707a-DS22ns-5.cjs +1 -0
- package/stencil/index-9c0f6c58-B8OJoZ2G.js +576 -0
- package/stencil/index-9c0f6c58-CEOt4FET.cjs +1 -0
- package/stencil/{index-9c0f6c58-BB5opCt9.js → index-9c0f6c58-z4XuR4dm.js} +197 -197
- package/stencil/index-b2193545-BekNYO1T.js +519 -0
- package/stencil/index-b2193545-BteAUmdh.cjs +1 -0
- package/stencil/index-b2193545-DfDFpDFs.js +503 -0
- package/stencil/{pam-change-password-B5GD5Hl4.js → pam-change-password-CY5-Aktx.js} +1 -1
- package/stencil/{pam-change-password-ubzmglA0.cjs → pam-change-password-CgkH4Jiz.cjs} +1 -1
- package/stencil/{pam-change-password-DMG1L_LG.js → pam-change-password-DjPvltNj.js} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-CHySnF1q.cjs → pam-change-password-f4a1e7e7-BqDw0WzC.cjs} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-DCoikg7H.js → pam-change-password-f4a1e7e7-CfFEjP0U.js} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-C1ItXOg5.js → pam-change-password-f4a1e7e7-G-vVNocT.js} +1 -1
- package/stencil/{player-kyc-verification-DYcPWwfi.cjs → player-kyc-verification-BEPum-yT.cjs} +1 -1
- package/stencil/{player-kyc-verification-CMAkNiAB.js → player-kyc-verification-BbcCYuiR.js} +1 -1
- package/stencil/{player-kyc-verification-p2WFnKBp.js → player-kyc-verification-Ca4iu4IA.js} +1 -1
- package/stencil/{ui-skeleton-GEqIXVxo.cjs → ui-skeleton-Bez-iF-R.cjs} +1 -1
- package/stencil/{ui-skeleton-mkMdvWYI.js → ui-skeleton-CScGJdv_.js} +2 -2
- package/stencil/{ui-skeleton-C_FDz0NJ.js → ui-skeleton-CnxOhYAT.js} +2 -2
- package/stencil/{ui-skeleton-ae35c6f2-BreM325l.js → ui-skeleton-ae35c6f2-Bl0_r9TX.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-e6Wte4qi.js → ui-skeleton-ae35c6f2-CXRVKjq-.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-CeNpgiKf.cjs → ui-skeleton-ae35c6f2-D37mmp9J.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-BjmaGgRK.js → user-deposit-withdrawal-B8kjiJ18.js} +1 -1
- package/stencil/{user-deposit-withdrawal-Du59X_-y.cjs → user-deposit-withdrawal-D2eMp5tL.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-D6SDVw3h.js → user-deposit-withdrawal-DZhlyIWQ.js} +1 -1
- package/stencil/user-transaction-history-3DGGL9dd.cjs +1 -0
- package/stencil/{user-transaction-history-7_yFZr3w.js → user-transaction-history-B1ZWITFg.js} +3 -1
- package/stencil/{user-transaction-history-Dpd_aKdj.js → user-transaction-history-lKr2wNoI.js} +3 -1
- package/components/GeneralLogout-Dzu2Sl-x.cjs +0 -21
- package/components/PlayerAccountBettingHistory-B0IsJ01N.js +0 -328
- package/components/PlayerAccountBettingHistory-BXBMy618.js +0 -329
- package/components/PlayerAccountBettingHistory-BtDZukYI.cjs +0 -1
- package/components/PlayerAccountGamingLimitsGroupEdit-Crtmu06d.cjs +0 -2
- package/components/PlayerAccountTimeout-4Aa1s5jR.cjs +0 -1
- package/components/PlayerDeposit-Dzg8Ltb1.cjs +0 -1
- package/stencil/index-13661b98-BCPnsSSE.js +0 -611
- package/stencil/index-13661b98-BUI3AeLv.cjs +0 -1
- package/stencil/index-13661b98-DffousLf.js +0 -595
- package/stencil/index-1ef3a64c-B5I86vac.js +0 -572
- package/stencil/index-1ef3a64c-DqUPq8OL.js +0 -556
- package/stencil/index-1ef3a64c-uiTzpR-U.cjs +0 -1
- package/stencil/index-7c5e707a-2AC9SnQ7.js +0 -616
- package/stencil/index-7c5e707a-BM4sfR0h.js +0 -643
- package/stencil/index-7c5e707a-Cw-c3Bke.cjs +0 -1
- package/stencil/index-9c0f6c58-DmOKHEVq.cjs +0 -1
- package/stencil/index-9c0f6c58-bxjYqwOi.js +0 -576
- package/stencil/index-b2193545-DQUvHUpa.cjs +0 -1
- package/stencil/index-b2193545-DoYU_tL8.js +0 -503
- package/stencil/index-b2193545-_I2wisuY.js +0 -519
- package/stencil/user-transaction-history-DZZT2rYX.cjs +0 -1
package/components/{PlayerAccountSelfExclusion-C65zyQu1.js → PlayerAccountSelfExclusion-DGkPy7y6.js}
RENAMED
|
@@ -2,15 +2,15 @@ var Br = Object.defineProperty, Hr = Object.defineProperties;
|
|
|
2
2
|
var $r = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var uo = Object.getOwnPropertySymbols;
|
|
4
4
|
var Yr = Object.prototype.hasOwnProperty, jr = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var ho = (o, t, e) => t in o ? Br(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e,
|
|
5
|
+
var ho = (o, t, e) => t in o ? Br(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e, Ct = (o, t) => {
|
|
6
6
|
for (var e in t || (t = {}))
|
|
7
7
|
Yr.call(t, e) && ho(o, e, t[e]);
|
|
8
8
|
if (uo)
|
|
9
9
|
for (var e of uo(t))
|
|
10
10
|
jr.call(t, e) && ho(o, e, t[e]);
|
|
11
11
|
return o;
|
|
12
|
-
},
|
|
13
|
-
var
|
|
12
|
+
}, Pt = (o, t) => Hr(o, $r(t));
|
|
13
|
+
var st = (o, t, e) => new Promise((i, s) => {
|
|
14
14
|
var r = (l) => {
|
|
15
15
|
try {
|
|
16
16
|
a(e.next(l));
|
|
@@ -26,16 +26,16 @@ var rt = (o, t, e) => new Promise((i, s) => {
|
|
|
26
26
|
}, a = (l) => l.done ? i(l.value) : Promise.resolve(l.value).then(r, n);
|
|
27
27
|
a((e = e.apply(o, t)).next());
|
|
28
28
|
});
|
|
29
|
-
import { a4 as Vr, a5 as Ur, a as Wr, $ as qr, S as Kr, i as Gr,
|
|
30
|
-
import { d as xe } from "./PlayerAccountProductRestriction-
|
|
31
|
-
import "../stencil/ui-skeleton-
|
|
32
|
-
import "./PlayerAccountGamingLimitsGroupEdit-
|
|
29
|
+
import { a4 as Vr, a5 as Ur, a as Wr, $ as qr, S as Kr, i as Gr, f as ee, c as Jr, s as Xr, b as Zr, e as w, k as de, o as mi, p as he, q as Qr, u as en, v as tn, w as on, x as sn, z as po, A as rn, O as fo, d as O, t as ae, y as Ee, g as E, h as Ue, l as f, m as Nt, n as ue, P as nn, r as an, j as S, Z as Jt, B as ln } from "./GeneralLogout-B0VQOyp8.js";
|
|
30
|
+
import { d as xe } from "./PlayerAccountProductRestriction-CWVVSi8x.js";
|
|
31
|
+
import "../stencil/ui-skeleton-CnxOhYAT.js";
|
|
32
|
+
import "./PlayerAccountGamingLimitsGroupEdit-CmsApDIS.js";
|
|
33
33
|
/**
|
|
34
34
|
* @license
|
|
35
35
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
36
36
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
37
37
|
*/
|
|
38
|
-
function be(o, t = "24.5.
|
|
38
|
+
function be(o, t = "24.5.10") {
|
|
39
39
|
Object.defineProperty(o, "version", {
|
|
40
40
|
get() {
|
|
41
41
|
return t;
|
|
@@ -67,17 +67,17 @@ be(cn);
|
|
|
67
67
|
* Copyright 2019 Google LLC
|
|
68
68
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
69
69
|
*/
|
|
70
|
-
const
|
|
71
|
-
let
|
|
70
|
+
const It = globalThis, Bi = It.ShadowRoot && (It.ShadyCSS === void 0 || It.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Hi = Symbol(), mo = /* @__PURE__ */ new WeakMap();
|
|
71
|
+
let $i = class {
|
|
72
72
|
constructor(t, e, i) {
|
|
73
|
-
if (this._$cssResult$ = !0, i !==
|
|
73
|
+
if (this._$cssResult$ = !0, i !== Hi)
|
|
74
74
|
throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
75
75
|
this.cssText = t, this.t = e;
|
|
76
76
|
}
|
|
77
77
|
get styleSheet() {
|
|
78
78
|
let t = this.o;
|
|
79
79
|
const e = this.t;
|
|
80
|
-
if (
|
|
80
|
+
if (Bi && t === void 0) {
|
|
81
81
|
const i = e !== void 0 && e.length === 1;
|
|
82
82
|
i && (t = mo.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && mo.set(e, t));
|
|
83
83
|
}
|
|
@@ -87,7 +87,7 @@ let Yi = class {
|
|
|
87
87
|
return this.cssText;
|
|
88
88
|
}
|
|
89
89
|
};
|
|
90
|
-
const un = (o) => new
|
|
90
|
+
const un = (o) => new $i(typeof o == "string" ? o : o + "", void 0, Hi), P = (o, ...t) => {
|
|
91
91
|
const e = o.length === 1 ? o[0] : t.reduce((i, s, r) => i + ((n) => {
|
|
92
92
|
if (n._$cssResult$ === !0)
|
|
93
93
|
return n.cssText;
|
|
@@ -95,16 +95,16 @@ const un = (o) => new Yi(typeof o == "string" ? o : o + "", void 0, $i), P = (o,
|
|
|
95
95
|
return n;
|
|
96
96
|
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.");
|
|
97
97
|
})(s) + o[r + 1], o[0]);
|
|
98
|
-
return new
|
|
98
|
+
return new $i(e, o, Hi);
|
|
99
99
|
}, hs = (o, t) => {
|
|
100
|
-
if (
|
|
100
|
+
if (Bi)
|
|
101
101
|
o.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
102
102
|
else
|
|
103
103
|
for (const e of t) {
|
|
104
|
-
const i = document.createElement("style"), s =
|
|
104
|
+
const i = document.createElement("style"), s = It.litNonce;
|
|
105
105
|
s !== void 0 && i.setAttribute("nonce", s), i.textContent = e.cssText, o.appendChild(i);
|
|
106
106
|
}
|
|
107
|
-
}, _o =
|
|
107
|
+
}, _o = Bi ? (o) => o : (o) => o instanceof CSSStyleSheet ? ((t) => {
|
|
108
108
|
let e = "";
|
|
109
109
|
for (const i of t.cssRules)
|
|
110
110
|
e += i.cssText;
|
|
@@ -115,7 +115,7 @@ const un = (o) => new Yi(typeof o == "string" ? o : o + "", void 0, $i), P = (o,
|
|
|
115
115
|
* Copyright 2017 Google LLC
|
|
116
116
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
117
117
|
*/
|
|
118
|
-
const { is: dn, defineProperty: hn, getOwnPropertyDescriptor: pn, getOwnPropertyNames: fn, getOwnPropertySymbols: mn, getPrototypeOf: _n } = Object, Te = globalThis, go = Te.trustedTypes, gn = go ? go.emptyScript : "",
|
|
118
|
+
const { is: dn, defineProperty: hn, getOwnPropertyDescriptor: pn, getOwnPropertyNames: fn, getOwnPropertySymbols: mn, getPrototypeOf: _n } = Object, Te = globalThis, go = Te.trustedTypes, gn = go ? go.emptyScript : "", Xt = Te.reactiveElementPolyfillSupport, ht = (o, t) => o, _i = { toAttribute(o, t) {
|
|
119
119
|
switch (t) {
|
|
120
120
|
case Boolean:
|
|
121
121
|
o = o ? gn : null;
|
|
@@ -143,10 +143,10 @@ const { is: dn, defineProperty: hn, getOwnPropertyDescriptor: pn, getOwnProperty
|
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
145
|
return e;
|
|
146
|
-
} }, ps = (o, t) => !dn(o, t), bo = { attribute: !0, type: String, converter:
|
|
146
|
+
} }, ps = (o, t) => !dn(o, t), bo = { attribute: !0, type: String, converter: _i, reflect: !1, hasChanged: ps };
|
|
147
147
|
var ns, as;
|
|
148
148
|
(ns = Symbol.metadata) != null || (Symbol.metadata = Symbol("metadata")), (as = Te.litPropertyMetadata) != null || (Te.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
149
|
-
class
|
|
149
|
+
class qe extends HTMLElement {
|
|
150
150
|
static addInitializer(t) {
|
|
151
151
|
var e;
|
|
152
152
|
this._$Ei(), ((e = this.l) != null ? e : this.l = []).push(t);
|
|
@@ -155,7 +155,7 @@ class Ke extends HTMLElement {
|
|
|
155
155
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
156
156
|
}
|
|
157
157
|
static createProperty(t, e = bo) {
|
|
158
|
-
if (e.state && (e.attribute = !1), this._$Ei(), this.
|
|
158
|
+
if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
|
|
159
159
|
const i = Symbol(), s = this.getPropertyDescriptor(t, i, e);
|
|
160
160
|
s !== void 0 && hn(this.prototype, t, s);
|
|
161
161
|
}
|
|
@@ -167,9 +167,11 @@ class Ke extends HTMLElement {
|
|
|
167
167
|
}, set(a) {
|
|
168
168
|
this[e] = a;
|
|
169
169
|
} };
|
|
170
|
-
return { get
|
|
170
|
+
return { get() {
|
|
171
|
+
return s == null ? void 0 : s.call(this);
|
|
172
|
+
}, set(a) {
|
|
171
173
|
const l = s == null ? void 0 : s.call(this);
|
|
172
|
-
r
|
|
174
|
+
r.call(this, a), this.requestUpdate(t, l, i);
|
|
173
175
|
}, configurable: !0, enumerable: !0 };
|
|
174
176
|
}
|
|
175
177
|
static getPropertyOptions(t) {
|
|
@@ -177,15 +179,15 @@ class Ke extends HTMLElement {
|
|
|
177
179
|
return (e = this.elementProperties.get(t)) != null ? e : bo;
|
|
178
180
|
}
|
|
179
181
|
static _$Ei() {
|
|
180
|
-
if (this.hasOwnProperty(
|
|
182
|
+
if (this.hasOwnProperty(ht("elementProperties")))
|
|
181
183
|
return;
|
|
182
184
|
const t = _n(this);
|
|
183
185
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
184
186
|
}
|
|
185
187
|
static finalize() {
|
|
186
|
-
if (this.hasOwnProperty(
|
|
188
|
+
if (this.hasOwnProperty(ht("finalized")))
|
|
187
189
|
return;
|
|
188
|
-
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(
|
|
190
|
+
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(ht("properties"))) {
|
|
189
191
|
const e = this.properties, i = [...fn(e), ...mn(e)];
|
|
190
192
|
for (const s of i)
|
|
191
193
|
this.createProperty(s, e[s]);
|
|
@@ -263,38 +265,37 @@ class Ke extends HTMLElement {
|
|
|
263
265
|
attributeChangedCallback(t, e, i) {
|
|
264
266
|
this._$AK(t, i);
|
|
265
267
|
}
|
|
266
|
-
_$
|
|
268
|
+
_$EC(t, e) {
|
|
267
269
|
var r;
|
|
268
270
|
const i = this.constructor.elementProperties.get(t), s = this.constructor._$Eu(t, i);
|
|
269
271
|
if (s !== void 0 && i.reflect === !0) {
|
|
270
|
-
const n = (((r = i.converter) == null ? void 0 : r.toAttribute) !== void 0 ? i.converter :
|
|
272
|
+
const n = (((r = i.converter) == null ? void 0 : r.toAttribute) !== void 0 ? i.converter : _i).toAttribute(e, i.type);
|
|
271
273
|
this._$Em = t, n == null ? this.removeAttribute(s) : this.setAttribute(s, n), this._$Em = null;
|
|
272
274
|
}
|
|
273
275
|
}
|
|
274
276
|
_$AK(t, e) {
|
|
275
|
-
var r
|
|
277
|
+
var r;
|
|
276
278
|
const i = this.constructor, s = i._$Eh.get(t);
|
|
277
279
|
if (s !== void 0 && this._$Em !== s) {
|
|
278
|
-
const
|
|
279
|
-
this._$Em = s, this[s] =
|
|
280
|
+
const n = i.getPropertyOptions(s), a = typeof n.converter == "function" ? { fromAttribute: n.converter } : ((r = n.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? n.converter : _i;
|
|
281
|
+
this._$Em = s, this[s] = a.fromAttribute(e, n.type), this._$Em = null;
|
|
280
282
|
}
|
|
281
283
|
}
|
|
282
284
|
requestUpdate(t, e, i) {
|
|
283
|
-
var s
|
|
285
|
+
var s;
|
|
284
286
|
if (t !== void 0) {
|
|
285
|
-
|
|
286
|
-
if (i != null || (i = n.getPropertyOptions(t)), !(((s = i.hasChanged) != null ? s : ps)(a, e) || i.useDefault && i.reflect && a === ((r = this._$Ej) == null ? void 0 : r.get(t)) && !this.hasAttribute(n._$Eu(t, i))))
|
|
287
|
+
if (i != null || (i = this.constructor.getPropertyOptions(t)), !((s = i.hasChanged) != null ? s : ps)(this[t], e))
|
|
287
288
|
return;
|
|
288
|
-
this.
|
|
289
|
+
this.P(t, e, i);
|
|
289
290
|
}
|
|
290
|
-
this.isUpdatePending === !1 && (this._$ES = this._$
|
|
291
|
+
this.isUpdatePending === !1 && (this._$ES = this._$ET());
|
|
291
292
|
}
|
|
292
|
-
|
|
293
|
-
var
|
|
294
|
-
|
|
293
|
+
P(t, e, i) {
|
|
294
|
+
var s;
|
|
295
|
+
this._$AL.has(t) || this._$AL.set(t, e), i.reflect === !0 && this._$Em !== t && ((s = this._$Ej) != null ? s : this._$Ej = /* @__PURE__ */ new Set()).add(t);
|
|
295
296
|
}
|
|
296
|
-
_$
|
|
297
|
-
return
|
|
297
|
+
_$ET() {
|
|
298
|
+
return st(this, null, function* () {
|
|
298
299
|
this.isUpdatePending = !0;
|
|
299
300
|
try {
|
|
300
301
|
yield this._$ES;
|
|
@@ -320,10 +321,8 @@ class Ke extends HTMLElement {
|
|
|
320
321
|
}
|
|
321
322
|
const r = this.constructor.elementProperties;
|
|
322
323
|
if (r.size > 0)
|
|
323
|
-
for (const [n, a] of r)
|
|
324
|
-
|
|
325
|
-
l !== !0 || this._$AL.has(n) || c === void 0 || this.C(n, void 0, a, c);
|
|
326
|
-
}
|
|
324
|
+
for (const [n, a] of r)
|
|
325
|
+
a.wrapped !== !0 || this._$AL.has(n) || this[n] === void 0 || this.P(n, this[n], a);
|
|
327
326
|
}
|
|
328
327
|
let t = !1;
|
|
329
328
|
const e = this._$AL;
|
|
@@ -331,9 +330,9 @@ class Ke extends HTMLElement {
|
|
|
331
330
|
t = this.shouldUpdate(e), t ? (this.willUpdate(e), (s = this._$EO) == null || s.forEach((r) => {
|
|
332
331
|
var n;
|
|
333
332
|
return (n = r.hostUpdate) == null ? void 0 : n.call(r);
|
|
334
|
-
}), this.update(e)) : this._$
|
|
333
|
+
}), this.update(e)) : this._$EU();
|
|
335
334
|
} catch (r) {
|
|
336
|
-
throw t = !1, this._$
|
|
335
|
+
throw t = !1, this._$EU(), r;
|
|
337
336
|
}
|
|
338
337
|
t && this._$AE(e);
|
|
339
338
|
}
|
|
@@ -346,7 +345,7 @@ class Ke extends HTMLElement {
|
|
|
346
345
|
return (s = i.hostUpdated) == null ? void 0 : s.call(i);
|
|
347
346
|
}), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
|
|
348
347
|
}
|
|
349
|
-
_$
|
|
348
|
+
_$EU() {
|
|
350
349
|
this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
|
|
351
350
|
}
|
|
352
351
|
get updateComplete() {
|
|
@@ -359,7 +358,7 @@ class Ke extends HTMLElement {
|
|
|
359
358
|
return !0;
|
|
360
359
|
}
|
|
361
360
|
update(t) {
|
|
362
|
-
this._$
|
|
361
|
+
this._$Ej && (this._$Ej = this._$Ej.forEach((e) => this._$EC(e, this[e]))), this._$EU();
|
|
363
362
|
}
|
|
364
363
|
updated(t) {
|
|
365
364
|
}
|
|
@@ -367,40 +366,40 @@ class Ke extends HTMLElement {
|
|
|
367
366
|
}
|
|
368
367
|
}
|
|
369
368
|
var ls;
|
|
370
|
-
|
|
369
|
+
qe.elementStyles = [], qe.shadowRootOptions = { mode: "open" }, qe[ht("elementProperties")] = /* @__PURE__ */ new Map(), qe[ht("finalized")] = /* @__PURE__ */ new Map(), Xt == null || Xt({ ReactiveElement: qe }), ((ls = Te.reactiveElementVersions) != null ? ls : Te.reactiveElementVersions = []).push("2.0.4");
|
|
371
370
|
/**
|
|
372
371
|
* @license
|
|
373
372
|
* Copyright 2017 Google LLC
|
|
374
373
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
375
374
|
*/
|
|
376
|
-
const
|
|
377
|
-
\f\r]`,
|
|
378
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), wo = /'/g, Eo = /"/g, _s = /^(?:script|style|textarea|title)$/i,
|
|
375
|
+
const pt = globalThis, zt = pt.trustedTypes, vo = zt ? zt.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, fs = "$lit$", De = `lit$${Math.random().toFixed(9).slice(2)}$`, ms = "?" + De, bn = `<${ms}>`, $e = document, mt = () => $e.createComment(""), _t = (o) => o === null || typeof o != "object" && typeof o != "function", Yi = Array.isArray, vn = (o) => Yi(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", Zt = `[
|
|
376
|
+
\f\r]`, rt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, yo = /-->/g, xo = />/g, ze = RegExp(`>|${Zt}(?:([^\\s"'>=/]+)(${Zt}*=${Zt}*(?:[^
|
|
377
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), wo = /'/g, Eo = /"/g, _s = /^(?:script|style|textarea|title)$/i, Ze = Symbol.for("lit-noChange"), W = Symbol.for("lit-nothing"), So = /* @__PURE__ */ new WeakMap(), Le = $e.createTreeWalker($e, 129);
|
|
379
378
|
function gs(o, t) {
|
|
380
|
-
if (!
|
|
379
|
+
if (!Yi(o) || !o.hasOwnProperty("raw"))
|
|
381
380
|
throw Error("invalid template strings array");
|
|
382
381
|
return vo !== void 0 ? vo.createHTML(t) : t;
|
|
383
382
|
}
|
|
384
383
|
const yn = (o, t) => {
|
|
385
384
|
const e = o.length - 1, i = [];
|
|
386
|
-
let s, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n =
|
|
385
|
+
let s, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = rt;
|
|
387
386
|
for (let a = 0; a < e; a++) {
|
|
388
387
|
const l = o[a];
|
|
389
388
|
let c, u, d = -1, h = 0;
|
|
390
389
|
for (; h < l.length && (n.lastIndex = h, u = n.exec(l), u !== null); )
|
|
391
|
-
h = n.lastIndex, n ===
|
|
390
|
+
h = n.lastIndex, n === rt ? u[1] === "!--" ? n = yo : u[1] !== void 0 ? n = xo : u[2] !== void 0 ? (_s.test(u[2]) && (s = RegExp("</" + u[2], "g")), n = ze) : u[3] !== void 0 && (n = ze) : n === ze ? u[0] === ">" ? (n = s != null ? s : rt, 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] === '"' ? Eo : wo) : n === Eo || n === wo ? n = ze : n === yo || n === xo ? n = rt : (n = ze, s = void 0);
|
|
392
391
|
const m = n === ze && o[a + 1].startsWith("/>") ? " " : "";
|
|
393
|
-
r += n ===
|
|
392
|
+
r += n === rt ? l + bn : d >= 0 ? (i.push(c), l.slice(0, d) + fs + l.slice(d) + De + m) : l + De + (d === -2 ? a : m);
|
|
394
393
|
}
|
|
395
394
|
return [gs(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
|
|
396
395
|
};
|
|
397
|
-
class
|
|
396
|
+
class gt {
|
|
398
397
|
constructor({ strings: t, _$litType$: e }, i) {
|
|
399
398
|
let s;
|
|
400
399
|
this.parts = [];
|
|
401
400
|
let r = 0, n = 0;
|
|
402
401
|
const a = t.length - 1, l = this.parts, [c, u] = yn(t, e);
|
|
403
|
-
if (this.el =
|
|
402
|
+
if (this.el = gt.createElement(c, i), Le.currentNode = this.el.content, e === 2 || e === 3) {
|
|
404
403
|
const d = this.el.content.firstChild;
|
|
405
404
|
d.replaceWith(...d.childNodes);
|
|
406
405
|
}
|
|
@@ -410,16 +409,16 @@ class bt {
|
|
|
410
409
|
for (const d of s.getAttributeNames())
|
|
411
410
|
if (d.endsWith(fs)) {
|
|
412
411
|
const h = u[n++], m = s.getAttribute(d).split(De), g = /([.?@])?(.*)/.exec(h);
|
|
413
|
-
l.push({ type: 1, index: r, name: g[2], strings: m, ctor: g[1] === "." ? wn : g[1] === "?" ? En : g[1] === "@" ? Sn :
|
|
412
|
+
l.push({ type: 1, index: r, name: g[2], strings: m, ctor: g[1] === "." ? wn : g[1] === "?" ? En : g[1] === "@" ? Sn : Vt }), s.removeAttribute(d);
|
|
414
413
|
} else
|
|
415
414
|
d.startsWith(De) && (l.push({ type: 6, index: r }), s.removeAttribute(d));
|
|
416
415
|
if (_s.test(s.tagName)) {
|
|
417
416
|
const d = s.textContent.split(De), h = d.length - 1;
|
|
418
417
|
if (h > 0) {
|
|
419
|
-
s.textContent =
|
|
418
|
+
s.textContent = zt ? zt.emptyScript : "";
|
|
420
419
|
for (let m = 0; m < h; m++)
|
|
421
|
-
s.append(d[m],
|
|
422
|
-
s.append(d[h],
|
|
420
|
+
s.append(d[m], mt()), Le.nextNode(), l.push({ type: 2, index: ++r });
|
|
421
|
+
s.append(d[h], mt());
|
|
423
422
|
}
|
|
424
423
|
}
|
|
425
424
|
} else if (s.nodeType === 8)
|
|
@@ -434,17 +433,17 @@ class bt {
|
|
|
434
433
|
}
|
|
435
434
|
}
|
|
436
435
|
static createElement(t, e) {
|
|
437
|
-
const i =
|
|
436
|
+
const i = $e.createElement("template");
|
|
438
437
|
return i.innerHTML = t, i;
|
|
439
438
|
}
|
|
440
439
|
}
|
|
441
|
-
function
|
|
440
|
+
function Qe(o, t, e = o, i) {
|
|
442
441
|
var n, a, l;
|
|
443
|
-
if (t ===
|
|
442
|
+
if (t === Ze)
|
|
444
443
|
return t;
|
|
445
444
|
let s = i !== void 0 ? (n = e._$Co) == null ? void 0 : n[i] : e._$Cl;
|
|
446
|
-
const r =
|
|
447
|
-
return (s == null ? void 0 : s.constructor) !== r && ((a = s == null ? void 0 : s._$AO) == null || a.call(s, !1), r === void 0 ? s = void 0 : (s = new r(o), s._$AT(o, e, i)), i !== void 0 ? ((l = e._$Co) != null ? l : e._$Co = [])[i] = s : e._$Cl = s), s !== void 0 && (t =
|
|
445
|
+
const r = _t(t) ? void 0 : t._$litDirective$;
|
|
446
|
+
return (s == null ? void 0 : s.constructor) !== r && ((a = s == null ? void 0 : s._$AO) == null || a.call(s, !1), r === void 0 ? s = void 0 : (s = new r(o), s._$AT(o, e, i)), i !== void 0 ? ((l = e._$Co) != null ? l : e._$Co = [])[i] = s : e._$Cl = s), s !== void 0 && (t = Qe(o, s._$AS(o, t.values), s, i)), t;
|
|
448
447
|
}
|
|
449
448
|
class xn {
|
|
450
449
|
constructor(t, e) {
|
|
@@ -458,17 +457,17 @@ class xn {
|
|
|
458
457
|
}
|
|
459
458
|
u(t) {
|
|
460
459
|
var c;
|
|
461
|
-
const { el: { content: e }, parts: i } = this._$AD, s = ((c = t == null ? void 0 : t.creationScope) != null ? c :
|
|
460
|
+
const { el: { content: e }, parts: i } = this._$AD, s = ((c = t == null ? void 0 : t.creationScope) != null ? c : $e).importNode(e, !0);
|
|
462
461
|
Le.currentNode = s;
|
|
463
462
|
let r = Le.nextNode(), n = 0, a = 0, l = i[0];
|
|
464
463
|
for (; l !== void 0; ) {
|
|
465
464
|
if (n === l.index) {
|
|
466
465
|
let u;
|
|
467
|
-
l.type === 2 ? u = new
|
|
466
|
+
l.type === 2 ? u = new St(r, r.nextSibling, this, t) : l.type === 1 ? u = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (u = new An(r, this, t)), this._$AV.push(u), l = i[++a];
|
|
468
467
|
}
|
|
469
468
|
n !== (l == null ? void 0 : l.index) && (r = Le.nextNode(), n++);
|
|
470
469
|
}
|
|
471
|
-
return Le.currentNode =
|
|
470
|
+
return Le.currentNode = $e, s;
|
|
472
471
|
}
|
|
473
472
|
p(t) {
|
|
474
473
|
let e = 0;
|
|
@@ -476,7 +475,7 @@ class xn {
|
|
|
476
475
|
i !== void 0 && (i.strings !== void 0 ? (i._$AI(t, i, e), e += i.strings.length - 2) : i._$AI(t[e])), e++;
|
|
477
476
|
}
|
|
478
477
|
}
|
|
479
|
-
class
|
|
478
|
+
class St {
|
|
480
479
|
get _$AU() {
|
|
481
480
|
var t, e;
|
|
482
481
|
return (e = (t = this._$AM) == null ? void 0 : t._$AU) != null ? e : this._$Cv;
|
|
@@ -497,7 +496,7 @@ class At {
|
|
|
497
496
|
return this._$AB;
|
|
498
497
|
}
|
|
499
498
|
_$AI(t, e = this) {
|
|
500
|
-
t =
|
|
499
|
+
t = Qe(this, t, e), _t(t) ? t === W || t == null || t === "" ? (this._$AH !== W && this._$AR(), this._$AH = W) : t !== this._$AH && t !== Ze && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : vn(t) ? this.k(t) : this._(t);
|
|
501
500
|
}
|
|
502
501
|
O(t) {
|
|
503
502
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -506,11 +505,11 @@ class At {
|
|
|
506
505
|
this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
|
|
507
506
|
}
|
|
508
507
|
_(t) {
|
|
509
|
-
this._$AH !== W &&
|
|
508
|
+
this._$AH !== W && _t(this._$AH) ? this._$AA.nextSibling.data = t : this.T($e.createTextNode(t)), this._$AH = t;
|
|
510
509
|
}
|
|
511
510
|
$(t) {
|
|
512
511
|
var r;
|
|
513
|
-
const { values: e, _$litType$: i } = t, s = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el =
|
|
512
|
+
const { values: e, _$litType$: i } = t, s = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = gt.createElement(gs(i.h, i.h[0]), this.options)), i);
|
|
514
513
|
if (((r = this._$AH) == null ? void 0 : r._$AD) === s)
|
|
515
514
|
this._$AH.p(e);
|
|
516
515
|
else {
|
|
@@ -520,14 +519,14 @@ class At {
|
|
|
520
519
|
}
|
|
521
520
|
_$AC(t) {
|
|
522
521
|
let e = So.get(t.strings);
|
|
523
|
-
return e === void 0 && So.set(t.strings, e = new
|
|
522
|
+
return e === void 0 && So.set(t.strings, e = new gt(t)), e;
|
|
524
523
|
}
|
|
525
524
|
k(t) {
|
|
526
|
-
|
|
525
|
+
Yi(this._$AH) || (this._$AH = [], this._$AR());
|
|
527
526
|
const e = this._$AH;
|
|
528
527
|
let i, s = 0;
|
|
529
528
|
for (const r of t)
|
|
530
|
-
s === e.length ? e.push(i = new
|
|
529
|
+
s === e.length ? e.push(i = new St(this.O(mt()), this.O(mt()), this, this.options)) : i = e[s], i._$AI(r), s++;
|
|
531
530
|
s < e.length && (this._$AR(i && i._$AB.nextSibling, s), e.length = s);
|
|
532
531
|
}
|
|
533
532
|
_$AR(t = this._$AA.nextSibling, e) {
|
|
@@ -542,7 +541,7 @@ class At {
|
|
|
542
541
|
this._$AM === void 0 && (this._$Cv = t, (e = this._$AP) == null || e.call(this, t));
|
|
543
542
|
}
|
|
544
543
|
}
|
|
545
|
-
class
|
|
544
|
+
class Vt {
|
|
546
545
|
get tagName() {
|
|
547
546
|
return this.element.tagName;
|
|
548
547
|
}
|
|
@@ -556,12 +555,12 @@ class Ut {
|
|
|
556
555
|
const r = this.strings;
|
|
557
556
|
let n = !1;
|
|
558
557
|
if (r === void 0)
|
|
559
|
-
t =
|
|
558
|
+
t = Qe(this, t, e, 0), n = !_t(t) || t !== this._$AH && t !== Ze, n && (this._$AH = t);
|
|
560
559
|
else {
|
|
561
560
|
const a = t;
|
|
562
561
|
let l, c;
|
|
563
562
|
for (t = r[0], l = 0; l < r.length - 1; l++)
|
|
564
|
-
c =
|
|
563
|
+
c = Qe(this, a[i + l], e, l), c === Ze && (c = this._$AH[l]), n || (n = !_t(c) || c !== this._$AH[l]), c === W ? t = W : t !== W && (t += (c != null ? c : "") + r[l + 1]), this._$AH[l] = c;
|
|
565
564
|
}
|
|
566
565
|
n && !s && this.j(t);
|
|
567
566
|
}
|
|
@@ -569,7 +568,7 @@ class Ut {
|
|
|
569
568
|
t === W ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t != null ? t : "");
|
|
570
569
|
}
|
|
571
570
|
}
|
|
572
|
-
class wn extends
|
|
571
|
+
class wn extends Vt {
|
|
573
572
|
constructor() {
|
|
574
573
|
super(...arguments), this.type = 3;
|
|
575
574
|
}
|
|
@@ -577,7 +576,7 @@ class wn extends Ut {
|
|
|
577
576
|
this.element[this.name] = t === W ? void 0 : t;
|
|
578
577
|
}
|
|
579
578
|
}
|
|
580
|
-
class En extends
|
|
579
|
+
class En extends Vt {
|
|
581
580
|
constructor() {
|
|
582
581
|
super(...arguments), this.type = 4;
|
|
583
582
|
}
|
|
@@ -585,13 +584,13 @@ class En extends Ut {
|
|
|
585
584
|
this.element.toggleAttribute(this.name, !!t && t !== W);
|
|
586
585
|
}
|
|
587
586
|
}
|
|
588
|
-
class Sn extends
|
|
587
|
+
class Sn extends Vt {
|
|
589
588
|
constructor(t, e, i, s, r) {
|
|
590
589
|
super(t, e, i, s, r), this.type = 5;
|
|
591
590
|
}
|
|
592
591
|
_$AI(t, e = this) {
|
|
593
592
|
var n;
|
|
594
|
-
if ((t = (n =
|
|
593
|
+
if ((t = (n = Qe(this, t, e, 0)) != null ? n : W) === Ze)
|
|
595
594
|
return;
|
|
596
595
|
const i = this._$AH, s = t === W && i !== W || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, r = t !== W && (i === W || s);
|
|
597
596
|
s && this.element.removeEventListener(this.name, this, i), r && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
|
@@ -609,19 +608,19 @@ class An {
|
|
|
609
608
|
return this._$AM._$AU;
|
|
610
609
|
}
|
|
611
610
|
_$AI(t) {
|
|
612
|
-
|
|
611
|
+
Qe(this, t);
|
|
613
612
|
}
|
|
614
613
|
}
|
|
615
|
-
const
|
|
614
|
+
const Qt = pt.litHtmlPolyfillSupport;
|
|
616
615
|
var cs;
|
|
617
|
-
|
|
616
|
+
Qt == null || Qt(gt, St), ((cs = pt.litHtmlVersions) != null ? cs : pt.litHtmlVersions = []).push("3.2.1");
|
|
618
617
|
const Cn = (o, t, e) => {
|
|
619
618
|
var r, n;
|
|
620
619
|
const i = (r = e == null ? void 0 : e.renderBefore) != null ? r : t;
|
|
621
620
|
let s = i._$litPart$;
|
|
622
621
|
if (s === void 0) {
|
|
623
622
|
const a = (n = e == null ? void 0 : e.renderBefore) != null ? n : null;
|
|
624
|
-
i._$litPart$ = s = new
|
|
623
|
+
i._$litPart$ = s = new St(t.insertBefore(mt(), a), a, void 0, e != null ? e : {});
|
|
625
624
|
}
|
|
626
625
|
return s._$AI(o), s;
|
|
627
626
|
};
|
|
@@ -630,8 +629,7 @@ const Cn = (o, t, e) => {
|
|
|
630
629
|
* Copyright 2017 Google LLC
|
|
631
630
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
632
631
|
*/
|
|
633
|
-
|
|
634
|
-
class Ge extends Ke {
|
|
632
|
+
class Ke extends qe {
|
|
635
633
|
constructor() {
|
|
636
634
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
637
635
|
}
|
|
@@ -653,15 +651,15 @@ class Ge extends Ke {
|
|
|
653
651
|
super.disconnectedCallback(), (t = this._$Do) == null || t.setConnected(!1);
|
|
654
652
|
}
|
|
655
653
|
render() {
|
|
656
|
-
return
|
|
654
|
+
return Ze;
|
|
657
655
|
}
|
|
658
656
|
}
|
|
659
657
|
var us;
|
|
660
|
-
|
|
661
|
-
const
|
|
662
|
-
|
|
658
|
+
Ke._$litElement$ = !0, Ke.finalized = !0, (us = globalThis.litElementHydrateSupport) == null || us.call(globalThis, { LitElement: Ke });
|
|
659
|
+
const ei = globalThis.litElementPolyfillSupport;
|
|
660
|
+
ei == null || ei({ LitElement: Ke });
|
|
663
661
|
var ds;
|
|
664
|
-
((ds =
|
|
662
|
+
((ds = globalThis.litElementVersions) != null ? ds : globalThis.litElementVersions = []).push("4.1.1");
|
|
665
663
|
/**
|
|
666
664
|
* @license
|
|
667
665
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -706,7 +704,7 @@ const Pn = (o) => class extends o {
|
|
|
706
704
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
707
705
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
708
706
|
*/
|
|
709
|
-
const bs = [],
|
|
707
|
+
const bs = [], gi = /* @__PURE__ */ new Set(), ji = /* @__PURE__ */ new Set();
|
|
710
708
|
function vs(o) {
|
|
711
709
|
return o && Object.prototype.hasOwnProperty.call(o, "__themes");
|
|
712
710
|
}
|
|
@@ -714,7 +712,7 @@ function kn(o) {
|
|
|
714
712
|
return vs(customElements.get(o));
|
|
715
713
|
}
|
|
716
714
|
function Dn(o = []) {
|
|
717
|
-
return [o].flat(1 / 0).filter((t) => t instanceof
|
|
715
|
+
return [o].flat(1 / 0).filter((t) => t instanceof $i ? !0 : (console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."), !1));
|
|
718
716
|
}
|
|
719
717
|
function ys(o, t) {
|
|
720
718
|
return (o || "").split(" ").some((e) => new RegExp(`^${e.split("*").join(".*")}$`, "u").test(t));
|
|
@@ -723,36 +721,36 @@ function xs(o) {
|
|
|
723
721
|
return o.map((t) => t.cssText).join(`
|
|
724
722
|
`);
|
|
725
723
|
}
|
|
726
|
-
const
|
|
724
|
+
const Lt = "vaadin-themable-mixin-style";
|
|
727
725
|
function Tn(o, t) {
|
|
728
726
|
const e = document.createElement("style");
|
|
729
|
-
e.id =
|
|
727
|
+
e.id = Lt, e.textContent = xs(o), t.content.appendChild(e);
|
|
730
728
|
}
|
|
731
729
|
function Mn(o) {
|
|
732
730
|
if (!o.shadowRoot)
|
|
733
731
|
return;
|
|
734
732
|
const t = o.constructor;
|
|
735
|
-
if (o instanceof
|
|
733
|
+
if (o instanceof Ke)
|
|
736
734
|
[...o.shadowRoot.querySelectorAll("style")].forEach((e) => e.remove()), hs(o.shadowRoot, t.elementStyles);
|
|
737
735
|
else {
|
|
738
|
-
const e = o.shadowRoot.getElementById(
|
|
739
|
-
e.textContent = i.content.getElementById(
|
|
736
|
+
const e = o.shadowRoot.getElementById(Lt), i = t.prototype._template;
|
|
737
|
+
e.textContent = i.content.getElementById(Lt).textContent;
|
|
740
738
|
}
|
|
741
739
|
}
|
|
742
740
|
function On(o) {
|
|
743
|
-
|
|
741
|
+
gi.forEach((t) => {
|
|
744
742
|
const e = t.deref();
|
|
745
|
-
e instanceof o ? Mn(e) : e ||
|
|
743
|
+
e instanceof o ? Mn(e) : e || gi.delete(t);
|
|
746
744
|
});
|
|
747
745
|
}
|
|
748
746
|
function ws(o) {
|
|
749
|
-
if (o.prototype instanceof
|
|
747
|
+
if (o.prototype instanceof Ke)
|
|
750
748
|
o.elementStyles = o.finalizeStyles(o.styles);
|
|
751
749
|
else {
|
|
752
750
|
const t = o.prototype._template;
|
|
753
|
-
t.content.getElementById(
|
|
751
|
+
t.content.getElementById(Lt).textContent = xs(o.getStylesForThis());
|
|
754
752
|
}
|
|
755
|
-
|
|
753
|
+
ji.forEach((t) => {
|
|
756
754
|
const e = customElements.get(t);
|
|
757
755
|
e !== o && e.prototype instanceof o && ws(e);
|
|
758
756
|
});
|
|
@@ -769,7 +767,7 @@ function L(o, t, e = {}) {
|
|
|
769
767
|
styles: t,
|
|
770
768
|
include: e.include,
|
|
771
769
|
moduleId: e.moduleId
|
|
772
|
-
}), o &&
|
|
770
|
+
}), o && ji.forEach((i) => {
|
|
773
771
|
if (ys(o, i) && kn(i)) {
|
|
774
772
|
const s = customElements.get(i);
|
|
775
773
|
In(s, t) ? console.warn(`Registering styles that already exist for ${i}`) : (!window.Vaadin || !window.Vaadin.suppressPostFinalizeStylesWarning) && console.warn(
|
|
@@ -778,7 +776,7 @@ function L(o, t, e = {}) {
|
|
|
778
776
|
}
|
|
779
777
|
});
|
|
780
778
|
}
|
|
781
|
-
function
|
|
779
|
+
function bi() {
|
|
782
780
|
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() : bs;
|
|
783
781
|
}
|
|
784
782
|
function Fn(o = "") {
|
|
@@ -788,29 +786,29 @@ function Fn(o = "") {
|
|
|
788
786
|
function Es(o) {
|
|
789
787
|
const t = [];
|
|
790
788
|
return o.include && [].concat(o.include).forEach((e) => {
|
|
791
|
-
const i =
|
|
789
|
+
const i = bi().find((s) => s.moduleId === e);
|
|
792
790
|
i ? t.push(...Es(i), ...i.styles) : console.warn(`Included moduleId ${e} not found in style registry`);
|
|
793
791
|
}, o.styles), t;
|
|
794
792
|
}
|
|
795
793
|
function Nn(o) {
|
|
796
|
-
const t = `${o}-default-theme`, e =
|
|
794
|
+
const t = `${o}-default-theme`, e = bi().filter((i) => i.moduleId !== t && ys(i.themeFor, o)).map((i) => Pt(Ct({}, i), {
|
|
797
795
|
// Prepend styles from included themes
|
|
798
796
|
styles: [...Es(i), ...i.styles],
|
|
799
797
|
// Map moduleId to includePriority
|
|
800
798
|
includePriority: Fn(i.moduleId)
|
|
801
799
|
})).sort((i, s) => s.includePriority - i.includePriority);
|
|
802
|
-
return e.length > 0 ? e :
|
|
800
|
+
return e.length > 0 ? e : bi().filter((i) => i.moduleId === t);
|
|
803
801
|
}
|
|
804
|
-
const
|
|
802
|
+
const Ye = (o) => class extends Pn(o) {
|
|
805
803
|
constructor() {
|
|
806
|
-
super(),
|
|
804
|
+
super(), gi.add(new WeakRef(this));
|
|
807
805
|
}
|
|
808
806
|
/**
|
|
809
807
|
* Covers PolymerElement based component styling
|
|
810
808
|
* @protected
|
|
811
809
|
*/
|
|
812
810
|
static finalize() {
|
|
813
|
-
if (super.finalize(), this.is &&
|
|
811
|
+
if (super.finalize(), this.is && ji.add(this.is), this.elementStyles)
|
|
814
812
|
return;
|
|
815
813
|
const e = this.prototype._template;
|
|
816
814
|
!e || vs(this) || Tn(this.getStylesForThis(), e);
|
|
@@ -845,7 +843,7 @@ const zn = (o, ...t) => {
|
|
|
845
843
|
const e = document.createElement("style");
|
|
846
844
|
e.id = o, e.textContent = t.map((i) => i.toString()).join(`
|
|
847
845
|
`).replace(":host", "html"), document.head.insertAdjacentElement("afterbegin", e);
|
|
848
|
-
},
|
|
846
|
+
}, it = (o, ...t) => {
|
|
849
847
|
zn(`lumo-${o}`, t);
|
|
850
848
|
};
|
|
851
849
|
/**
|
|
@@ -869,7 +867,7 @@ const Ln = P`
|
|
|
869
867
|
--lumo-icon-size: var(--lumo-icon-size-m);
|
|
870
868
|
}
|
|
871
869
|
`;
|
|
872
|
-
|
|
870
|
+
it("sizing-props", Ln);
|
|
873
871
|
/**
|
|
874
872
|
* @license
|
|
875
873
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -899,7 +897,7 @@ const Rn = P`
|
|
|
899
897
|
--lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
|
|
900
898
|
}
|
|
901
899
|
`;
|
|
902
|
-
|
|
900
|
+
it("spacing-props", Rn);
|
|
903
901
|
/**
|
|
904
902
|
* @license
|
|
905
903
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -1007,7 +1005,7 @@ P`
|
|
|
1007
1005
|
--vaadin-input-field-value-font-weight: 500;
|
|
1008
1006
|
}
|
|
1009
1007
|
`;
|
|
1010
|
-
|
|
1008
|
+
it("style-props", Bn);
|
|
1011
1009
|
/**
|
|
1012
1010
|
* @license
|
|
1013
1011
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -1099,7 +1097,7 @@ const Hn = P`
|
|
|
1099
1097
|
}
|
|
1100
1098
|
}
|
|
1101
1099
|
`;
|
|
1102
|
-
|
|
1100
|
+
it("color-props", Hn);
|
|
1103
1101
|
const $n = P`
|
|
1104
1102
|
[theme~='dark'] {
|
|
1105
1103
|
/* Base (background) */
|
|
@@ -1339,7 +1337,7 @@ const Yn = P`
|
|
|
1339
1337
|
}
|
|
1340
1338
|
`;
|
|
1341
1339
|
L("", jn, { moduleId: "lumo-typography" });
|
|
1342
|
-
|
|
1340
|
+
it("typography-props", Yn);
|
|
1343
1341
|
/**
|
|
1344
1342
|
* @license
|
|
1345
1343
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -2418,7 +2416,7 @@ const qn = P`
|
|
|
2418
2416
|
--lumo-icons-user: '\\ea2a';
|
|
2419
2417
|
}
|
|
2420
2418
|
`;
|
|
2421
|
-
|
|
2419
|
+
it("font-icons", qn);
|
|
2422
2420
|
/**
|
|
2423
2421
|
* @license
|
|
2424
2422
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -2819,19 +2817,19 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2819
2817
|
Code distributed by Google as part of the polymer project is also
|
|
2820
2818
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2821
2819
|
*/
|
|
2822
|
-
let Xn = /(url\()([^)]*)(\))/g, Zn = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/,
|
|
2823
|
-
function
|
|
2820
|
+
let Xn = /(url\()([^)]*)(\))/g, Zn = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, kt, ce;
|
|
2821
|
+
function ft(o, t) {
|
|
2824
2822
|
if (o && Zn.test(o) || o === "//")
|
|
2825
2823
|
return o;
|
|
2826
|
-
if (
|
|
2827
|
-
|
|
2824
|
+
if (kt === void 0) {
|
|
2825
|
+
kt = !1;
|
|
2828
2826
|
try {
|
|
2829
2827
|
const e = new URL("b", "http://a");
|
|
2830
|
-
e.pathname = "c%20d",
|
|
2828
|
+
e.pathname = "c%20d", kt = e.href === "http://a/c%20d";
|
|
2831
2829
|
} catch (e) {
|
|
2832
2830
|
}
|
|
2833
2831
|
}
|
|
2834
|
-
if (t || (t = document.baseURI || window.location.href),
|
|
2832
|
+
if (t || (t = document.baseURI || window.location.href), kt)
|
|
2835
2833
|
try {
|
|
2836
2834
|
return new URL(o, t).href;
|
|
2837
2835
|
} catch (e) {
|
|
@@ -2839,12 +2837,12 @@ function mt(o, t) {
|
|
|
2839
2837
|
}
|
|
2840
2838
|
return ce || (ce = document.implementation.createHTMLDocument("temp"), ce.base = ce.createElement("base"), ce.head.appendChild(ce.base), ce.anchor = ce.createElement("a"), ce.body.appendChild(ce.anchor)), ce.base.href = t, ce.anchor.href = o, ce.anchor.href || o;
|
|
2841
2839
|
}
|
|
2842
|
-
function
|
|
2840
|
+
function Vi(o, t) {
|
|
2843
2841
|
return o.replace(Xn, function(e, i, s, r) {
|
|
2844
|
-
return i + "'" +
|
|
2842
|
+
return i + "'" + ft(s.replace(/["']/g, ""), t) + "'" + r;
|
|
2845
2843
|
});
|
|
2846
2844
|
}
|
|
2847
|
-
function
|
|
2845
|
+
function Ui(o) {
|
|
2848
2846
|
return o.substring(0, o.lastIndexOf("/") + 1);
|
|
2849
2847
|
}
|
|
2850
2848
|
/**
|
|
@@ -2869,9 +2867,9 @@ const Qn = Ts && "adoptedStyleSheets" in Document.prototype && "replaceSync" in
|
|
|
2869
2867
|
return !1;
|
|
2870
2868
|
}
|
|
2871
2869
|
})();
|
|
2872
|
-
let ea = window.Polymer && window.Polymer.rootPath ||
|
|
2870
|
+
let ea = window.Polymer && window.Polymer.rootPath || Ui(document.baseURI || window.location.href), Rt = window.Polymer && window.Polymer.sanitizeDOMValue || void 0;
|
|
2873
2871
|
window.Polymer && window.Polymer.setPassiveTouchGestures;
|
|
2874
|
-
let
|
|
2872
|
+
let Bt = window.Polymer && window.Polymer.strictTemplatePolicy || !1, ta = window.Polymer && window.Polymer.allowTemplateFromDomModule || !1, Ms = window.Polymer && window.Polymer.legacyOptimizations || !1, Os = window.Polymer && window.Polymer.legacyWarnings || !1, ia = window.Polymer && window.Polymer.syncInitialRender || !1, vi = window.Polymer && window.Polymer.legacyUndefined || !1, oa = window.Polymer && window.Polymer.orderedComputed || !1, Ao = window.Polymer && window.Polymer.removeNestedTemplates || !1, sa = window.Polymer && window.Polymer.fastDomIf || !1, Co = window.Polymer && window.Polymer.suppressTemplateNotifications || !1;
|
|
2875
2873
|
window.Polymer && window.Polymer.legacyNoObservedAttributes;
|
|
2876
2874
|
let ra = window.Polymer && window.Polymer.useAdoptedStyleSheetsWithBuiltCSS || !1;
|
|
2877
2875
|
/**
|
|
@@ -2921,17 +2919,17 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2921
2919
|
Code distributed by Google as part of the polymer project is also
|
|
2922
2920
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2923
2921
|
*/
|
|
2924
|
-
let
|
|
2922
|
+
let Wi = {}, Is = {};
|
|
2925
2923
|
function Po(o, t) {
|
|
2926
|
-
|
|
2924
|
+
Wi[o] = Is[o.toLowerCase()] = t;
|
|
2927
2925
|
}
|
|
2928
2926
|
function ko(o) {
|
|
2929
|
-
return
|
|
2927
|
+
return Wi[o] || Is[o.toLowerCase()];
|
|
2930
2928
|
}
|
|
2931
2929
|
function aa(o) {
|
|
2932
2930
|
o.querySelector("style") && console.warn("dom-module %s has style outside template", o.id);
|
|
2933
2931
|
}
|
|
2934
|
-
class
|
|
2932
|
+
class bt extends HTMLElement {
|
|
2935
2933
|
/** @override */
|
|
2936
2934
|
static get observedAttributes() {
|
|
2937
2935
|
return ["id"];
|
|
@@ -2980,11 +2978,11 @@ class vt extends HTMLElement {
|
|
|
2980
2978
|
*/
|
|
2981
2979
|
get assetpath() {
|
|
2982
2980
|
if (!this.__assetpath) {
|
|
2983
|
-
const t = window.HTMLImports && HTMLImports.importForElement ? HTMLImports.importForElement(this) || document : this.ownerDocument, e =
|
|
2981
|
+
const t = window.HTMLImports && HTMLImports.importForElement ? HTMLImports.importForElement(this) || document : this.ownerDocument, e = ft(
|
|
2984
2982
|
this.getAttribute("assetpath") || "",
|
|
2985
2983
|
t.baseURI
|
|
2986
2984
|
);
|
|
2987
|
-
this.__assetpath =
|
|
2985
|
+
this.__assetpath = Ui(e);
|
|
2988
2986
|
}
|
|
2989
2987
|
return this.__assetpath;
|
|
2990
2988
|
}
|
|
@@ -2997,14 +2995,14 @@ class vt extends HTMLElement {
|
|
|
2997
2995
|
*/
|
|
2998
2996
|
register(t) {
|
|
2999
2997
|
if (t = t || this.id, t) {
|
|
3000
|
-
if (
|
|
2998
|
+
if (Bt && ko(t) !== void 0)
|
|
3001
2999
|
throw Po(t, null), new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);
|
|
3002
3000
|
this.id = t, Po(t, this), aa(this);
|
|
3003
3001
|
}
|
|
3004
3002
|
}
|
|
3005
3003
|
}
|
|
3006
|
-
|
|
3007
|
-
customElements.define("dom-module",
|
|
3004
|
+
bt.prototype.modules = Wi;
|
|
3005
|
+
customElements.define("dom-module", bt);
|
|
3008
3006
|
/**
|
|
3009
3007
|
@license
|
|
3010
3008
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -3018,12 +3016,12 @@ const la = "link[rel=import][type~=css]", ca = "include", Do = "shady-unscoped";
|
|
|
3018
3016
|
function Fs(o) {
|
|
3019
3017
|
return (
|
|
3020
3018
|
/** @type {?DomModule} */
|
|
3021
|
-
|
|
3019
|
+
bt.import(o)
|
|
3022
3020
|
);
|
|
3023
3021
|
}
|
|
3024
3022
|
function To(o) {
|
|
3025
3023
|
let t = o.body ? o.body : o;
|
|
3026
|
-
const e =
|
|
3024
|
+
const e = Vi(
|
|
3027
3025
|
t.textContent,
|
|
3028
3026
|
o.baseURI
|
|
3029
3027
|
), i = document.createElement("style");
|
|
@@ -3061,7 +3059,7 @@ function Ns(o, t) {
|
|
|
3061
3059
|
let r = i[s], n = r.getAttribute(ca);
|
|
3062
3060
|
n && e.push(...ua(n).filter(function(a, l, c) {
|
|
3063
3061
|
return c.indexOf(a) === l;
|
|
3064
|
-
})), t && (r.textContent =
|
|
3062
|
+
})), t && (r.textContent = Vi(
|
|
3065
3063
|
r.textContent,
|
|
3066
3064
|
/** @type {string} */
|
|
3067
3065
|
t
|
|
@@ -3110,26 +3108,26 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3110
3108
|
Code distributed by Google as part of the polymer project is also
|
|
3111
3109
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3112
3110
|
*/
|
|
3113
|
-
function
|
|
3111
|
+
function yi(o) {
|
|
3114
3112
|
return o.indexOf(".") >= 0;
|
|
3115
3113
|
}
|
|
3116
|
-
function
|
|
3114
|
+
function je(o) {
|
|
3117
3115
|
let t = o.indexOf(".");
|
|
3118
3116
|
return t === -1 ? o : o.slice(0, t);
|
|
3119
3117
|
}
|
|
3120
3118
|
function Ls(o, t) {
|
|
3121
3119
|
return o.indexOf(t + ".") === 0;
|
|
3122
3120
|
}
|
|
3123
|
-
function
|
|
3121
|
+
function vt(o, t) {
|
|
3124
3122
|
return t.indexOf(o + ".") === 0;
|
|
3125
3123
|
}
|
|
3126
|
-
function
|
|
3124
|
+
function yt(o, t, e) {
|
|
3127
3125
|
return t + e.slice(o.length);
|
|
3128
3126
|
}
|
|
3129
3127
|
function pa(o, t) {
|
|
3130
|
-
return o === t || Ls(o, t) ||
|
|
3128
|
+
return o === t || Ls(o, t) || vt(o, t);
|
|
3131
3129
|
}
|
|
3132
|
-
function
|
|
3130
|
+
function ut(o) {
|
|
3133
3131
|
if (Array.isArray(o)) {
|
|
3134
3132
|
let t = [];
|
|
3135
3133
|
for (let e = 0; e < o.length; e++) {
|
|
@@ -3142,7 +3140,7 @@ function dt(o) {
|
|
|
3142
3140
|
return o;
|
|
3143
3141
|
}
|
|
3144
3142
|
function Rs(o) {
|
|
3145
|
-
return Array.isArray(o) ?
|
|
3143
|
+
return Array.isArray(o) ? ut(o).split(".") : o.toString().split(".");
|
|
3146
3144
|
}
|
|
3147
3145
|
function ne(o, t, e) {
|
|
3148
3146
|
let i = o, s = Rs(t);
|
|
@@ -3176,15 +3174,15 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3176
3174
|
Code distributed by Google as part of the polymer project is also
|
|
3177
3175
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3178
3176
|
*/
|
|
3179
|
-
const
|
|
3177
|
+
const Ht = {}, fa = /-[a-z]/g, ma = /([A-Z])/g;
|
|
3180
3178
|
function Bs(o) {
|
|
3181
|
-
return
|
|
3179
|
+
return Ht[o] || (Ht[o] = o.indexOf("-") < 0 ? o : o.replace(
|
|
3182
3180
|
fa,
|
|
3183
3181
|
(t) => t[1].toUpperCase()
|
|
3184
3182
|
));
|
|
3185
3183
|
}
|
|
3186
|
-
function
|
|
3187
|
-
return
|
|
3184
|
+
function Ut(o) {
|
|
3185
|
+
return Ht[o] || (Ht[o] = o.replace(ma, "-$1").toLowerCase());
|
|
3188
3186
|
}
|
|
3189
3187
|
/**
|
|
3190
3188
|
@license
|
|
@@ -3195,13 +3193,13 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3195
3193
|
Code distributed by Google as part of the polymer project is also
|
|
3196
3194
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3197
3195
|
*/
|
|
3198
|
-
let _a = 0, Hs = 0,
|
|
3196
|
+
let _a = 0, Hs = 0, Ge = [], ga = 0, xi = !1, $s = document.createTextNode("");
|
|
3199
3197
|
new window.MutationObserver(ba).observe($s, { characterData: !0 });
|
|
3200
3198
|
function ba() {
|
|
3201
|
-
|
|
3202
|
-
const o =
|
|
3199
|
+
xi = !1;
|
|
3200
|
+
const o = Ge.length;
|
|
3203
3201
|
for (let t = 0; t < o; t++) {
|
|
3204
|
-
let e =
|
|
3202
|
+
let e = Ge[t];
|
|
3205
3203
|
if (e)
|
|
3206
3204
|
try {
|
|
3207
3205
|
e();
|
|
@@ -3211,7 +3209,7 @@ function ba() {
|
|
|
3211
3209
|
});
|
|
3212
3210
|
}
|
|
3213
3211
|
}
|
|
3214
|
-
|
|
3212
|
+
Ge.splice(0, o), Hs += o;
|
|
3215
3213
|
}
|
|
3216
3214
|
const va = {
|
|
3217
3215
|
/**
|
|
@@ -3262,7 +3260,7 @@ const va = {
|
|
|
3262
3260
|
* @return {number} Handle used for canceling task
|
|
3263
3261
|
*/
|
|
3264
3262
|
run(o) {
|
|
3265
|
-
return
|
|
3263
|
+
return xi || (xi = !0, $s.textContent = ga++), Ge.push(o), _a++;
|
|
3266
3264
|
},
|
|
3267
3265
|
/**
|
|
3268
3266
|
* Cancels a previously enqueued `microTask` callback.
|
|
@@ -3274,9 +3272,9 @@ const va = {
|
|
|
3274
3272
|
cancel(o) {
|
|
3275
3273
|
const t = o - Hs;
|
|
3276
3274
|
if (t >= 0) {
|
|
3277
|
-
if (!
|
|
3275
|
+
if (!Ge[t])
|
|
3278
3276
|
throw new Error("invalid async handle: " + o);
|
|
3279
|
-
|
|
3277
|
+
Ge[t] = null;
|
|
3280
3278
|
}
|
|
3281
3279
|
}
|
|
3282
3280
|
};
|
|
@@ -3726,12 +3724,12 @@ Code distributed by Google as part of the polymer project is also
|
|
|
3726
3724
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3727
3725
|
*/
|
|
3728
3726
|
const Vs = {};
|
|
3729
|
-
let
|
|
3730
|
-
for (;
|
|
3731
|
-
let o = Object.getOwnPropertyNames(
|
|
3727
|
+
let Dt = HTMLElement.prototype;
|
|
3728
|
+
for (; Dt; ) {
|
|
3729
|
+
let o = Object.getOwnPropertyNames(Dt);
|
|
3732
3730
|
for (let t = 0; t < o.length; t++)
|
|
3733
3731
|
Vs[o[t]] = !0;
|
|
3734
|
-
|
|
3732
|
+
Dt = Object.getPrototypeOf(Dt);
|
|
3735
3733
|
}
|
|
3736
3734
|
const xa = window.trustedTypes ? (o) => trustedTypes.isHTML(o) || trustedTypes.isScript(o) || trustedTypes.isScriptURL(o) : () => !1;
|
|
3737
3735
|
function wa(o, t) {
|
|
@@ -3771,7 +3769,7 @@ const Ea = U((o) => {
|
|
|
3771
3769
|
* @nocollapse
|
|
3772
3770
|
*/
|
|
3773
3771
|
static attributeNameForProperty(s) {
|
|
3774
|
-
return
|
|
3772
|
+
return Ut(s);
|
|
3775
3773
|
}
|
|
3776
3774
|
/**
|
|
3777
3775
|
* Overrides PropertiesChanged implementation to initialize values for
|
|
@@ -4367,8 +4365,8 @@ const Ia = U(
|
|
|
4367
4365
|
* Google as part of the polymer project is also subject to an additional IP
|
|
4368
4366
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
4369
4367
|
*/
|
|
4370
|
-
let
|
|
4371
|
-
const
|
|
4368
|
+
let xt = 0;
|
|
4369
|
+
const wt = [], k = {
|
|
4372
4370
|
COMPUTE: "__computeEffects",
|
|
4373
4371
|
REFLECT: "__reflectEffects",
|
|
4374
4372
|
NOTIFY: "__notifyEffects",
|
|
@@ -4376,7 +4374,7 @@ const Et = [], k = {
|
|
|
4376
4374
|
OBSERVE: "__observeEffects",
|
|
4377
4375
|
READ_ONLY: "__readOnly"
|
|
4378
4376
|
}, Ws = "__computeInfo", Fa = /[A-Z]/;
|
|
4379
|
-
function
|
|
4377
|
+
function ti(o, t, e) {
|
|
4380
4378
|
let i = o[t];
|
|
4381
4379
|
if (!i)
|
|
4382
4380
|
i = o[t] = {};
|
|
@@ -4388,34 +4386,34 @@ function ii(o, t, e) {
|
|
|
4388
4386
|
}
|
|
4389
4387
|
return i;
|
|
4390
4388
|
}
|
|
4391
|
-
function
|
|
4389
|
+
function dt(o, t, e, i, s, r) {
|
|
4392
4390
|
if (t) {
|
|
4393
4391
|
let n = !1;
|
|
4394
|
-
const a =
|
|
4392
|
+
const a = xt++;
|
|
4395
4393
|
for (let l in e) {
|
|
4396
|
-
let c = s ?
|
|
4394
|
+
let c = s ? je(l) : l, u = t[c];
|
|
4397
4395
|
if (u)
|
|
4398
4396
|
for (let d = 0, h = u.length, m; d < h && (m = u[d]); d++)
|
|
4399
|
-
(!m.info || m.info.lastRun !== a) && (!s ||
|
|
4397
|
+
(!m.info || m.info.lastRun !== a) && (!s || qi(l, m.trigger)) && (m.info && (m.info.lastRun = a), m.fn(o, l, e, i, m.info, s, r), n = !0);
|
|
4400
4398
|
}
|
|
4401
4399
|
return n;
|
|
4402
4400
|
}
|
|
4403
4401
|
return !1;
|
|
4404
4402
|
}
|
|
4405
4403
|
function Na(o, t, e, i, s, r, n, a) {
|
|
4406
|
-
let l = !1, c = n ?
|
|
4404
|
+
let l = !1, c = n ? je(i) : i, u = t[c];
|
|
4407
4405
|
if (u)
|
|
4408
4406
|
for (let d = 0, h = u.length, m; d < h && (m = u[d]); d++)
|
|
4409
|
-
(!m.info || m.info.lastRun !== e) && (!n ||
|
|
4407
|
+
(!m.info || m.info.lastRun !== e) && (!n || qi(i, m.trigger)) && (m.info && (m.info.lastRun = e), m.fn(o, i, s, r, m.info, n, a), l = !0);
|
|
4410
4408
|
return l;
|
|
4411
4409
|
}
|
|
4412
|
-
function
|
|
4410
|
+
function qi(o, t) {
|
|
4413
4411
|
if (t) {
|
|
4414
4412
|
let e = (
|
|
4415
4413
|
/** @type {string} */
|
|
4416
4414
|
t.name
|
|
4417
4415
|
);
|
|
4418
|
-
return e == o || !!(t.structured && Ls(e, o)) || !!(t.wildcard &&
|
|
4416
|
+
return e == o || !!(t.structured && Ls(e, o)) || !!(t.wildcard && vt(e, o));
|
|
4419
4417
|
} else
|
|
4420
4418
|
return !0;
|
|
4421
4419
|
}
|
|
@@ -4424,16 +4422,16 @@ function Fo(o, t, e, i, s) {
|
|
|
4424
4422
|
r ? r.call(o, o.__data[n], i[n]) : s.dynamicFn || console.warn("observer method `" + s.method + "` not defined");
|
|
4425
4423
|
}
|
|
4426
4424
|
function za(o, t, e, i, s) {
|
|
4427
|
-
let r = o[k.NOTIFY], n, a =
|
|
4425
|
+
let r = o[k.NOTIFY], n, a = xt++;
|
|
4428
4426
|
for (let c in t)
|
|
4429
4427
|
t[c] && (r && Na(o, r, a, c, e, i, s) || s && La(o, c, e)) && (n = !0);
|
|
4430
4428
|
let l;
|
|
4431
4429
|
n && (l = o.__dataHost) && l._invalidateProperties && l._invalidateProperties();
|
|
4432
4430
|
}
|
|
4433
4431
|
function La(o, t, e) {
|
|
4434
|
-
let i =
|
|
4432
|
+
let i = je(t);
|
|
4435
4433
|
if (i !== t) {
|
|
4436
|
-
let s =
|
|
4434
|
+
let s = Ut(i) + "-changed";
|
|
4437
4435
|
return qs(o, s, e[t], t), !0;
|
|
4438
4436
|
}
|
|
4439
4437
|
return !1;
|
|
@@ -4449,7 +4447,7 @@ function qs(o, t, e, i) {
|
|
|
4449
4447
|
).dispatchEvent(new CustomEvent(t, { detail: s }));
|
|
4450
4448
|
}
|
|
4451
4449
|
function Ra(o, t, e, i, s, r) {
|
|
4452
|
-
let a = (r ?
|
|
4450
|
+
let a = (r ? je(t) : t) != t ? t : null, l = a ? ne(o, a) : o.__data[t];
|
|
4453
4451
|
a && l === void 0 && (l = e[t]), qs(o, s.eventName, l, a);
|
|
4454
4452
|
}
|
|
4455
4453
|
function Ba(o, t, e, i, s) {
|
|
@@ -4457,11 +4455,11 @@ function Ba(o, t, e, i, s) {
|
|
|
4457
4455
|
/** @type {Object} */
|
|
4458
4456
|
o.detail
|
|
4459
4457
|
), a = n && n.path;
|
|
4460
|
-
a ? (i =
|
|
4458
|
+
a ? (i = yt(e, i, a), r = n && n.value) : r = o.currentTarget[e], r = s ? !r : r, (!t[k.READ_ONLY] || !t[k.READ_ONLY][i]) && t._setPendingPropertyOrPath(i, r, !0, !!a) && (!n || !n.queueProperty) && t._invalidateProperties();
|
|
4461
4459
|
}
|
|
4462
4460
|
function Ha(o, t, e, i, s) {
|
|
4463
4461
|
let r = o.__data[t];
|
|
4464
|
-
|
|
4462
|
+
Rt && (r = Rt(
|
|
4465
4463
|
r,
|
|
4466
4464
|
s.attrName,
|
|
4467
4465
|
"attribute",
|
|
@@ -4473,7 +4471,7 @@ function $a(o, t, e, i) {
|
|
|
4473
4471
|
let s = o[k.COMPUTE];
|
|
4474
4472
|
if (s)
|
|
4475
4473
|
if (oa) {
|
|
4476
|
-
|
|
4474
|
+
xt++;
|
|
4477
4475
|
const r = ja(o), n = [];
|
|
4478
4476
|
for (let l in t)
|
|
4479
4477
|
No(l, s, n, r, i);
|
|
@@ -4491,7 +4489,7 @@ function $a(o, t, e, i) {
|
|
|
4491
4489
|
), o.__dataPending = null;
|
|
4492
4490
|
} else {
|
|
4493
4491
|
let r = t;
|
|
4494
|
-
for (;
|
|
4492
|
+
for (; dt(o, s, r, e, i); )
|
|
4495
4493
|
Object.assign(
|
|
4496
4494
|
/** @type {!Object} */
|
|
4497
4495
|
e,
|
|
@@ -4518,11 +4516,11 @@ const Ya = (o, t, e) => {
|
|
|
4518
4516
|
}
|
|
4519
4517
|
r < 0 && (r = s + 1), t.splice(r, 0, o);
|
|
4520
4518
|
}, No = (o, t, e, i, s) => {
|
|
4521
|
-
const r = s ?
|
|
4519
|
+
const r = s ? je(o) : o, n = t[r];
|
|
4522
4520
|
if (n)
|
|
4523
4521
|
for (let a = 0; a < n.length; a++) {
|
|
4524
4522
|
const l = n[a];
|
|
4525
|
-
l.info.lastRun !==
|
|
4523
|
+
l.info.lastRun !== xt && (!s || qi(o, l.trigger)) && (l.info.lastRun = xt, Ya(l.info, e, i));
|
|
4526
4524
|
}
|
|
4527
4525
|
};
|
|
4528
4526
|
function ja(o) {
|
|
@@ -4556,8 +4554,8 @@ function Va(o) {
|
|
|
4556
4554
|
return { counts: e, ready: s, total: r };
|
|
4557
4555
|
}
|
|
4558
4556
|
function Ks(o, t, e, i, s) {
|
|
4559
|
-
let r =
|
|
4560
|
-
if (r ===
|
|
4557
|
+
let r = wi(o, t, e, i, s);
|
|
4558
|
+
if (r === wt)
|
|
4561
4559
|
return !1;
|
|
4562
4560
|
let n = s.methodInfo;
|
|
4563
4561
|
return o.__dataHasAccessor && o.__dataHasAccessor[n] ? o._setPendingProperty(n, r, !0) : (o[n] = r, !1);
|
|
@@ -4568,16 +4566,16 @@ function Ua(o, t, e) {
|
|
|
4568
4566
|
let s;
|
|
4569
4567
|
for (let r in i) {
|
|
4570
4568
|
let n = i[r];
|
|
4571
|
-
|
|
4569
|
+
vt(r, t) ? (s = yt(r, n, t), o._setPendingPropertyOrPath(s, e, !0, !0)) : vt(n, t) && (s = yt(n, r, t), o._setPendingPropertyOrPath(s, e, !0, !0));
|
|
4572
4570
|
}
|
|
4573
4571
|
}
|
|
4574
4572
|
}
|
|
4575
|
-
function
|
|
4573
|
+
function ii(o, t, e, i, s, r, n) {
|
|
4576
4574
|
e.bindings = e.bindings || [];
|
|
4577
4575
|
let a = { kind: i, target: s, parts: r, literal: n, isCompound: r.length !== 1 };
|
|
4578
4576
|
if (e.bindings.push(a), Ja(a)) {
|
|
4579
4577
|
let { event: c, negate: u } = a.parts[0];
|
|
4580
|
-
a.listenerEvent = c ||
|
|
4578
|
+
a.listenerEvent = c || Ut(s) + "-changed", a.listenerNegate = u;
|
|
4581
4579
|
}
|
|
4582
4580
|
let l = t.nodeInfoList.length;
|
|
4583
4581
|
for (let c = 0; c < a.parts.length; c++) {
|
|
@@ -4605,14 +4603,14 @@ function qa(o, t, e, i, s, r, n) {
|
|
|
4605
4603
|
let a = n[s.index], l = s.binding, c = s.part;
|
|
4606
4604
|
if (r && c.source && t.length > c.source.length && l.kind == "property" && !l.isCompound && a.__isPropertyEffectsClient && a.__dataHasAccessor && a.__dataHasAccessor[l.target]) {
|
|
4607
4605
|
let u = e[t];
|
|
4608
|
-
t =
|
|
4606
|
+
t = yt(c.source, l.target, t), a._setPendingPropertyOrPath(t, u, !1, !0) && o._enqueueClient(a);
|
|
4609
4607
|
} else {
|
|
4610
4608
|
let u = s.evaluator._evaluateBinding(o, c, t, e, i, r);
|
|
4611
|
-
u !==
|
|
4609
|
+
u !== wt && Ka(o, a, l, c, u);
|
|
4612
4610
|
}
|
|
4613
4611
|
}
|
|
4614
4612
|
function Ka(o, t, e, i, s) {
|
|
4615
|
-
if (s = Ga(t, s, e, i),
|
|
4613
|
+
if (s = Ga(t, s, e, i), Rt && (s = Rt(s, e.target, e.kind, t)), e.kind == "attribute")
|
|
4616
4614
|
o._valueToNodeAttribute(
|
|
4617
4615
|
/** @type {Element} */
|
|
4618
4616
|
t,
|
|
@@ -4683,11 +4681,11 @@ function zo(o, t, e, i, s, r) {
|
|
|
4683
4681
|
info: n
|
|
4684
4682
|
}), n;
|
|
4685
4683
|
}
|
|
4686
|
-
function
|
|
4684
|
+
function wi(o, t, e, i, s) {
|
|
4687
4685
|
let r = o._methodHost || o, n = r[s.methodName];
|
|
4688
4686
|
if (n) {
|
|
4689
4687
|
let a = o._marshalArgs(s.args, t, e);
|
|
4690
|
-
return a ===
|
|
4688
|
+
return a === wt ? wt : n.apply(r, a);
|
|
4691
4689
|
} else
|
|
4692
4690
|
s.dynamicFn || console.warn("method `" + s.methodName + "` not defined");
|
|
4693
4691
|
}
|
|
@@ -4700,7 +4698,7 @@ function Bo(o) {
|
|
|
4700
4698
|
}
|
|
4701
4699
|
return t;
|
|
4702
4700
|
}
|
|
4703
|
-
function
|
|
4701
|
+
function oi(o) {
|
|
4704
4702
|
let t = o.match(/([^\s]+?)\(([\s\S]*)\)/);
|
|
4705
4703
|
if (t) {
|
|
4706
4704
|
let i = { methodName: t[1], static: !0, args: el };
|
|
@@ -4733,7 +4731,7 @@ function Js(o) {
|
|
|
4733
4731
|
e.value = Number(t), e.literal = !0;
|
|
4734
4732
|
break;
|
|
4735
4733
|
}
|
|
4736
|
-
return e.literal || (e.rootProperty =
|
|
4734
|
+
return e.literal || (e.rootProperty = je(t), e.structured = yi(t), e.structured && (e.wildcard = t.slice(-2) == ".*", e.wildcard && (e.name = t.slice(0, -2)))), e;
|
|
4737
4735
|
}
|
|
4738
4736
|
function Ho(o, t, e) {
|
|
4739
4737
|
let i = ne(o, e);
|
|
@@ -4741,9 +4739,9 @@ function Ho(o, t, e) {
|
|
|
4741
4739
|
}
|
|
4742
4740
|
function Xs(o, t, e, i) {
|
|
4743
4741
|
const s = { indexSplices: i };
|
|
4744
|
-
|
|
4742
|
+
vi && !o._overrideLegacyUndefined && (t.splices = s), o.notifyPath(e + ".splices", s), o.notifyPath(e + ".length", t.length), vi && !o._overrideLegacyUndefined && (s.indexSplices = []);
|
|
4745
4743
|
}
|
|
4746
|
-
function
|
|
4744
|
+
function nt(o, t, e, i, s, r) {
|
|
4747
4745
|
Xs(o, t, e, [{
|
|
4748
4746
|
index: i,
|
|
4749
4747
|
addedCount: s,
|
|
@@ -4755,7 +4753,7 @@ function at(o, t, e, i, s, r) {
|
|
|
4755
4753
|
function pl(o) {
|
|
4756
4754
|
return o[0].toUpperCase() + o.substring(1);
|
|
4757
4755
|
}
|
|
4758
|
-
const
|
|
4756
|
+
const Ki = U((o) => {
|
|
4759
4757
|
const t = Ia(Ea(o));
|
|
4760
4758
|
class e extends t {
|
|
4761
4759
|
constructor() {
|
|
@@ -4772,8 +4770,8 @@ const Gi = U((o) => {
|
|
|
4772
4770
|
super._initializeProperties(), this._registerHost(), this.__dataClientsReady = !1, this.__dataPendingClients = null, this.__dataToNotify = null, this.__dataLinkedPaths = null, this.__dataHasPaths = !1, this.__dataCompoundStorage = this.__dataCompoundStorage || null, this.__dataHost = this.__dataHost || null, this.__dataTemp = {}, this.__dataClientsInitialized = !1;
|
|
4773
4771
|
}
|
|
4774
4772
|
_registerHost() {
|
|
4775
|
-
if (
|
|
4776
|
-
let s =
|
|
4773
|
+
if (at.length) {
|
|
4774
|
+
let s = at[at.length - 1];
|
|
4777
4775
|
s._enqueueClient(this), this.__dataHost = s;
|
|
4778
4776
|
}
|
|
4779
4777
|
}
|
|
@@ -4817,7 +4815,7 @@ const Gi = U((o) => {
|
|
|
4817
4815
|
*/
|
|
4818
4816
|
_addPropertyEffect(s, r, n) {
|
|
4819
4817
|
this._createPropertyAccessor(s, r == k.READ_ONLY);
|
|
4820
|
-
let a =
|
|
4818
|
+
let a = ti(this, r, !0)[s];
|
|
4821
4819
|
a || (a = this[r][s] = []), a.push(n);
|
|
4822
4820
|
}
|
|
4823
4821
|
/**
|
|
@@ -4830,7 +4828,7 @@ const Gi = U((o) => {
|
|
|
4830
4828
|
* @return {void}
|
|
4831
4829
|
*/
|
|
4832
4830
|
_removePropertyEffect(s, r, n) {
|
|
4833
|
-
let a =
|
|
4831
|
+
let a = ti(this, r, !0)[s], l = a.indexOf(n);
|
|
4834
4832
|
l >= 0 && a.splice(l, 1);
|
|
4835
4833
|
}
|
|
4836
4834
|
/**
|
|
@@ -4931,7 +4929,7 @@ const Gi = U((o) => {
|
|
|
4931
4929
|
* @protected
|
|
4932
4930
|
*/
|
|
4933
4931
|
_setPendingPropertyOrPath(s, r, n, a) {
|
|
4934
|
-
if (a ||
|
|
4932
|
+
if (a || je(Array.isArray(s) ? s[0] : s) !== s) {
|
|
4935
4933
|
if (!a) {
|
|
4936
4934
|
let l = ne(this, s);
|
|
4937
4935
|
if (s = /** @type {string} */
|
|
@@ -5024,7 +5022,7 @@ const Gi = U((o) => {
|
|
|
5024
5022
|
* @return {boolean} Returns true if the property changed
|
|
5025
5023
|
*/
|
|
5026
5024
|
_setPendingProperty(s, r, n) {
|
|
5027
|
-
let a = this.__dataHasPaths &&
|
|
5025
|
+
let a = this.__dataHasPaths && yi(s), l = a ? this.__dataTemp : this.__data;
|
|
5028
5026
|
return this._shouldPropertyChange(s, r, l[s]) ? (this.__dataPending || (this.__dataPending = {}, this.__dataOld = {}), s in this.__dataOld || (this.__dataOld[s] = this.__data[s]), a ? this.__dataTemp[s] = r : this.__data[s] = r, this.__dataPending[s] = r, (a || this[k.NOTIFY] && this[k.NOTIFY][s]) && (this.__dataToNotify = this.__dataToNotify || {}, this.__dataToNotify[s] = n), !0) : !1;
|
|
5029
5027
|
}
|
|
5030
5028
|
/**
|
|
@@ -5160,7 +5158,7 @@ const Gi = U((o) => {
|
|
|
5160
5158
|
let a = this.__dataHasPaths;
|
|
5161
5159
|
this.__dataHasPaths = !1;
|
|
5162
5160
|
let l;
|
|
5163
|
-
$a(this, r, n, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(r, n, a), this._flushClients(),
|
|
5161
|
+
$a(this, r, n, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(r, n, a), this._flushClients(), dt(this, this[k.REFLECT], r, n, a), dt(this, this[k.OBSERVE], r, n, a), l && za(this, l, r, n, a), this.__dataCounter == 1 && (this.__dataTemp = {});
|
|
5164
5162
|
}
|
|
5165
5163
|
/**
|
|
5166
5164
|
* Called to propagate any property changes to stamped template nodes
|
|
@@ -5174,11 +5172,11 @@ const Gi = U((o) => {
|
|
|
5174
5172
|
* @protected
|
|
5175
5173
|
*/
|
|
5176
5174
|
_propagatePropertyChanges(s, r, n) {
|
|
5177
|
-
this[k.PROPAGATE] &&
|
|
5175
|
+
this[k.PROPAGATE] && dt(this, this[k.PROPAGATE], s, r, n), this.__templateInfo && this._runEffectsForTemplate(this.__templateInfo, s, r, n);
|
|
5178
5176
|
}
|
|
5179
5177
|
_runEffectsForTemplate(s, r, n, a) {
|
|
5180
5178
|
const l = (c, u) => {
|
|
5181
|
-
|
|
5179
|
+
dt(
|
|
5182
5180
|
this,
|
|
5183
5181
|
s.propertyEffects,
|
|
5184
5182
|
c,
|
|
@@ -5202,7 +5200,7 @@ const Gi = U((o) => {
|
|
|
5202
5200
|
* @public
|
|
5203
5201
|
*/
|
|
5204
5202
|
linkPaths(s, r) {
|
|
5205
|
-
s =
|
|
5203
|
+
s = ut(s), r = ut(r), this.__dataLinkedPaths = this.__dataLinkedPaths || {}, this.__dataLinkedPaths[s] = r;
|
|
5206
5204
|
}
|
|
5207
5205
|
/**
|
|
5208
5206
|
* Removes a data path alias previously established with `_linkPaths`.
|
|
@@ -5216,7 +5214,7 @@ const Gi = U((o) => {
|
|
|
5216
5214
|
* @public
|
|
5217
5215
|
*/
|
|
5218
5216
|
unlinkPaths(s) {
|
|
5219
|
-
s =
|
|
5217
|
+
s = ut(s), this.__dataLinkedPaths && delete this.__dataLinkedPaths[s];
|
|
5220
5218
|
}
|
|
5221
5219
|
/**
|
|
5222
5220
|
* Notify that an array has changed.
|
|
@@ -5330,7 +5328,7 @@ const Gi = U((o) => {
|
|
|
5330
5328
|
/** @type {Array}*/
|
|
5331
5329
|
ne(this, s, n)
|
|
5332
5330
|
), l = a.length, c = a.push(...r);
|
|
5333
|
-
return r.length &&
|
|
5331
|
+
return r.length && nt(this, a, n.path, l, r.length, []), c;
|
|
5334
5332
|
}
|
|
5335
5333
|
/**
|
|
5336
5334
|
* Removes an item from the end of array at the path specified.
|
|
@@ -5351,7 +5349,7 @@ const Gi = U((o) => {
|
|
|
5351
5349
|
/** @type {Array} */
|
|
5352
5350
|
ne(this, s, r)
|
|
5353
5351
|
), a = !!n.length, l = n.pop();
|
|
5354
|
-
return a &&
|
|
5352
|
+
return a && nt(this, n, r.path, n.length, 0, [l]), l;
|
|
5355
5353
|
}
|
|
5356
5354
|
/**
|
|
5357
5355
|
* Starting from the start index specified, removes 0 or more items
|
|
@@ -5378,7 +5376,7 @@ const Gi = U((o) => {
|
|
|
5378
5376
|
);
|
|
5379
5377
|
r < 0 ? r = c.length - Math.floor(-r) : r && (r = Math.floor(r));
|
|
5380
5378
|
let u;
|
|
5381
|
-
return arguments.length === 2 ? u = c.splice(r) : u = c.splice(r, n, ...a), (a.length || u.length) &&
|
|
5379
|
+
return arguments.length === 2 ? u = c.splice(r) : u = c.splice(r, n, ...a), (a.length || u.length) && nt(this, c, l.path, r, a.length, u), u;
|
|
5382
5380
|
}
|
|
5383
5381
|
/**
|
|
5384
5382
|
* Removes an item from the beginning of array at the path specified.
|
|
@@ -5399,7 +5397,7 @@ const Gi = U((o) => {
|
|
|
5399
5397
|
/** @type {Array} */
|
|
5400
5398
|
ne(this, s, r)
|
|
5401
5399
|
), a = !!n.length, l = n.shift();
|
|
5402
|
-
return a &&
|
|
5400
|
+
return a && nt(this, n, r.path, 0, 0, [l]), l;
|
|
5403
5401
|
}
|
|
5404
5402
|
/**
|
|
5405
5403
|
* Adds items onto the beginning of the array at the path specified.
|
|
@@ -5421,7 +5419,7 @@ const Gi = U((o) => {
|
|
|
5421
5419
|
/** @type {Array} */
|
|
5422
5420
|
ne(this, s, n)
|
|
5423
5421
|
), l = a.unshift(...r);
|
|
5424
|
-
return r.length &&
|
|
5422
|
+
return r.length && nt(this, a, n.path, 0, r.length, []), l;
|
|
5425
5423
|
}
|
|
5426
5424
|
/**
|
|
5427
5425
|
* Notify that a path has changed.
|
|
@@ -5443,7 +5441,7 @@ const Gi = U((o) => {
|
|
|
5443
5441
|
let a = { path: "" };
|
|
5444
5442
|
r = ne(this, s, a), n = a.path;
|
|
5445
5443
|
} else
|
|
5446
|
-
Array.isArray(s) ? n =
|
|
5444
|
+
Array.isArray(s) ? n = ut(s) : n = /** @type{string} */
|
|
5447
5445
|
s;
|
|
5448
5446
|
this._setPendingPropertyOrPath(n, r, !0, !0) && this._invalidateProperties();
|
|
5449
5447
|
}
|
|
@@ -5509,10 +5507,10 @@ const Gi = U((o) => {
|
|
|
5509
5507
|
* @protected
|
|
5510
5508
|
*/
|
|
5511
5509
|
_createMethodObserver(s, r) {
|
|
5512
|
-
let n =
|
|
5510
|
+
let n = oi(s);
|
|
5513
5511
|
if (!n)
|
|
5514
5512
|
throw new Error("Malformed observer expression '" + s + "'");
|
|
5515
|
-
zo(this, n, k.OBSERVE,
|
|
5513
|
+
zo(this, n, k.OBSERVE, wi, null, r);
|
|
5516
5514
|
}
|
|
5517
5515
|
/**
|
|
5518
5516
|
* Equivalent to static `createNotifyingProperty` API but can be called on
|
|
@@ -5528,7 +5526,7 @@ const Gi = U((o) => {
|
|
|
5528
5526
|
this._addPropertyEffect(s, k.NOTIFY, {
|
|
5529
5527
|
fn: Ra,
|
|
5530
5528
|
info: {
|
|
5531
|
-
eventName:
|
|
5529
|
+
eventName: Ut(s) + "-changed",
|
|
5532
5530
|
property: s
|
|
5533
5531
|
}
|
|
5534
5532
|
});
|
|
@@ -5567,11 +5565,11 @@ const Gi = U((o) => {
|
|
|
5567
5565
|
* @protected
|
|
5568
5566
|
*/
|
|
5569
5567
|
_createComputedProperty(s, r, n) {
|
|
5570
|
-
let a =
|
|
5568
|
+
let a = oi(r);
|
|
5571
5569
|
if (!a)
|
|
5572
5570
|
throw new Error("Malformed computed expression '" + r + "'");
|
|
5573
5571
|
const l = zo(this, a, k.COMPUTE, Ks, s, n);
|
|
5574
|
-
|
|
5572
|
+
ti(this, Ws)[s] = l;
|
|
5575
5573
|
}
|
|
5576
5574
|
/**
|
|
5577
5575
|
* Gather the argument values for a method specified in the provided array
|
|
@@ -5592,7 +5590,7 @@ const Gi = U((o) => {
|
|
|
5592
5590
|
let { name: d, structured: h, wildcard: m, value: g, literal: p } = s[c];
|
|
5593
5591
|
if (!p)
|
|
5594
5592
|
if (m) {
|
|
5595
|
-
const _ =
|
|
5593
|
+
const _ = vt(d, r), y = Ho(a, n, _ ? r : d);
|
|
5596
5594
|
g = {
|
|
5597
5595
|
path: _ ? r : d,
|
|
5598
5596
|
value: y,
|
|
@@ -5600,8 +5598,8 @@ const Gi = U((o) => {
|
|
|
5600
5598
|
};
|
|
5601
5599
|
} else
|
|
5602
5600
|
g = h ? Ho(a, n, d) : a[d];
|
|
5603
|
-
if (
|
|
5604
|
-
return
|
|
5601
|
+
if (vi && !this._overrideLegacyUndefined && g === void 0 && s.length > 1)
|
|
5602
|
+
return wt;
|
|
5605
5603
|
l[c] = g;
|
|
5606
5604
|
}
|
|
5607
5605
|
return l;
|
|
@@ -5875,9 +5873,9 @@ const Gi = U((o) => {
|
|
|
5875
5873
|
*/
|
|
5876
5874
|
_stampTemplate(s, r) {
|
|
5877
5875
|
r = r || /** @type {!TemplateInfo} */
|
|
5878
|
-
this._bindTemplate(s, !0),
|
|
5876
|
+
this._bindTemplate(s, !0), at.push(this);
|
|
5879
5877
|
let n = super._stampTemplate(s, r);
|
|
5880
|
-
if (
|
|
5878
|
+
if (at.pop(), r.nodeList = n.nodeList, !r.wasPreBound) {
|
|
5881
5879
|
let a = r.childNodes = [];
|
|
5882
5880
|
for (let l = n.firstChild; l; l = l.nextSibling)
|
|
5883
5881
|
a.push(l);
|
|
@@ -5929,7 +5927,7 @@ const Gi = U((o) => {
|
|
|
5929
5927
|
);
|
|
5930
5928
|
if (s.nodeType === Node.TEXT_NODE) {
|
|
5931
5929
|
let l = this._parseBindings(s.textContent, r);
|
|
5932
|
-
l && (s.textContent = Bo(l) || " ",
|
|
5930
|
+
l && (s.textContent = Bo(l) || " ", ii(this, r, n, "text", "textContent", l), a = !0);
|
|
5933
5931
|
}
|
|
5934
5932
|
return a;
|
|
5935
5933
|
}
|
|
@@ -5958,7 +5956,7 @@ const Gi = U((o) => {
|
|
|
5958
5956
|
let u = a, d = "property";
|
|
5959
5957
|
Fa.test(a) ? d = "attribute" : a[a.length - 1] == "$" && (a = a.slice(0, -1), d = "attribute");
|
|
5960
5958
|
let h = Bo(c);
|
|
5961
|
-
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 = Bs(a)),
|
|
5959
|
+
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 = Bs(a)), ii(this, r, n, d, a, c, h), !0;
|
|
5962
5960
|
} else
|
|
5963
5961
|
return t._parseTemplateNodeAttribute.call(
|
|
5964
5962
|
this,
|
|
@@ -5999,7 +5997,7 @@ const Gi = U((o) => {
|
|
|
5999
5997
|
let m = "{";
|
|
6000
5998
|
for (let g in h) {
|
|
6001
5999
|
let p = [{ mode: m, source: g, dependencies: [g], hostProp: !0 }];
|
|
6002
|
-
|
|
6000
|
+
ii(this, r, n, "property", "_host_" + g, p);
|
|
6003
6001
|
}
|
|
6004
6002
|
}
|
|
6005
6003
|
return a;
|
|
@@ -6055,7 +6053,7 @@ const Gi = U((o) => {
|
|
|
6055
6053
|
l.index > a && n.push({ literal: s.slice(a, l.index) });
|
|
6056
6054
|
let c = l[1][0], u = !!l[2], d = l[3].trim(), h = !1, m = "", g = -1;
|
|
6057
6055
|
c == "{" && (g = d.indexOf("::")) > 0 && (m = d.substring(g + 2), d = d.substring(0, g), h = !0);
|
|
6058
|
-
let p =
|
|
6056
|
+
let p = oi(d), _ = [];
|
|
6059
6057
|
if (p) {
|
|
6060
6058
|
let { args: y, methodName: v } = p;
|
|
6061
6059
|
for (let A = 0; A < y.length; A++) {
|
|
@@ -6101,11 +6099,11 @@ const Gi = U((o) => {
|
|
|
6101
6099
|
*/
|
|
6102
6100
|
static _evaluateBinding(s, r, n, a, l, c) {
|
|
6103
6101
|
let u;
|
|
6104
|
-
return r.signature ? u =
|
|
6102
|
+
return r.signature ? u = wi(s, n, a, l, r.signature) : n != r.source ? u = ne(s, r.source) : c && yi(n) ? u = ne(s, n) : u = s.__data[n], r.negate && (u = !u), u;
|
|
6105
6103
|
}
|
|
6106
6104
|
}
|
|
6107
6105
|
return e;
|
|
6108
|
-
}),
|
|
6106
|
+
}), at = [];
|
|
6109
6107
|
/**
|
|
6110
6108
|
@license
|
|
6111
6109
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -6284,7 +6282,7 @@ const ml = U((o) => {
|
|
|
6284
6282
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6285
6283
|
*/
|
|
6286
6284
|
const _l = "3.5.2", $o = window.ShadyCSS && window.ShadyCSS.cssBuild, gl = U((o) => {
|
|
6287
|
-
const t = ml(
|
|
6285
|
+
const t = ml(Ki(o));
|
|
6288
6286
|
function e(l) {
|
|
6289
6287
|
if (!l.hasOwnProperty(
|
|
6290
6288
|
JSCompiler_renameProperty("__propertyDefaults", l)
|
|
@@ -6336,8 +6334,8 @@ const _l = "3.5.2", $o = window.ShadyCSS && window.ShadyCSS.cssBuild, gl = U((o)
|
|
|
6336
6334
|
}
|
|
6337
6335
|
function n(l) {
|
|
6338
6336
|
let c = null;
|
|
6339
|
-
if (l && (!
|
|
6340
|
-
|
|
6337
|
+
if (l && (!Bt || ta) && (c = /** @type {?HTMLTemplateElement} */
|
|
6338
|
+
bt.import(l, "template"), Bt && !c))
|
|
6341
6339
|
throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);
|
|
6342
6340
|
return c;
|
|
6343
6341
|
}
|
|
@@ -6506,9 +6504,9 @@ const _l = "3.5.2", $o = window.ShadyCSS && window.ShadyCSS.cssBuild, gl = U((o)
|
|
|
6506
6504
|
if (!this.hasOwnProperty(JSCompiler_renameProperty("_importPath", this))) {
|
|
6507
6505
|
const c = this.importMeta;
|
|
6508
6506
|
if (c)
|
|
6509
|
-
this._importPath =
|
|
6507
|
+
this._importPath = Ui(c.url);
|
|
6510
6508
|
else {
|
|
6511
|
-
const u =
|
|
6509
|
+
const u = bt.import(
|
|
6512
6510
|
/** @type {PolymerElementConstructor} */
|
|
6513
6511
|
this.is
|
|
6514
6512
|
);
|
|
@@ -6571,7 +6569,7 @@ const _l = "3.5.2", $o = window.ShadyCSS && window.ShadyCSS.cssBuild, gl = U((o)
|
|
|
6571
6569
|
* @nocollapse
|
|
6572
6570
|
*/
|
|
6573
6571
|
static _processStyleText(c, u) {
|
|
6574
|
-
return
|
|
6572
|
+
return Vi(c, u);
|
|
6575
6573
|
}
|
|
6576
6574
|
/**
|
|
6577
6575
|
* Configures an element `proto` to function with a given `template`.
|
|
@@ -6587,7 +6585,7 @@ const _l = "3.5.2", $o = window.ShadyCSS && window.ShadyCSS.cssBuild, gl = U((o)
|
|
|
6587
6585
|
const u = this.prototype._template;
|
|
6588
6586
|
if (u && !u.__polymerFinalized) {
|
|
6589
6587
|
u.__polymerFinalized = !0;
|
|
6590
|
-
const d = this.importPath, h = d ?
|
|
6588
|
+
const d = this.importPath, h = d ? ft(d) : "";
|
|
6591
6589
|
r(this, u, c, h), this.prototype._bindTemplate(u);
|
|
6592
6590
|
}
|
|
6593
6591
|
}
|
|
@@ -6699,7 +6697,7 @@ const _l = "3.5.2", $o = window.ShadyCSS && window.ShadyCSS.cssBuild, gl = U((o)
|
|
|
6699
6697
|
* @return {string} Rewritten URL relative to base
|
|
6700
6698
|
*/
|
|
6701
6699
|
resolveUrl(c, u) {
|
|
6702
|
-
return !u && this.importPath && (u =
|
|
6700
|
+
return !u && this.importPath && (u = ft(this.importPath)), ft(c, u);
|
|
6703
6701
|
}
|
|
6704
6702
|
/**
|
|
6705
6703
|
* Overrides `PropertyEffects` to add map of dynamic functions on
|
|
@@ -6804,7 +6802,7 @@ function bl(o) {
|
|
|
6804
6802
|
`non-template value passed to Polymer's html function: ${o}`
|
|
6805
6803
|
);
|
|
6806
6804
|
}
|
|
6807
|
-
const
|
|
6805
|
+
const Ve = function(t, ...e) {
|
|
6808
6806
|
er(t, e);
|
|
6809
6807
|
const i = (
|
|
6810
6808
|
/** @type {!HTMLTemplateElement} */
|
|
@@ -6835,21 +6833,21 @@ const Oe = gl(HTMLElement);
|
|
|
6835
6833
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6836
6834
|
*/
|
|
6837
6835
|
const ye = [];
|
|
6838
|
-
function
|
|
6836
|
+
function Ei(o, t, e = o.getAttribute("dir")) {
|
|
6839
6837
|
t ? o.setAttribute("dir", t) : e != null && o.removeAttribute("dir");
|
|
6840
6838
|
}
|
|
6841
|
-
function
|
|
6839
|
+
function Si() {
|
|
6842
6840
|
return document.documentElement.getAttribute("dir");
|
|
6843
6841
|
}
|
|
6844
6842
|
function vl() {
|
|
6845
|
-
const o =
|
|
6843
|
+
const o = Si();
|
|
6846
6844
|
ye.forEach((t) => {
|
|
6847
|
-
|
|
6845
|
+
Ei(t, o);
|
|
6848
6846
|
});
|
|
6849
6847
|
}
|
|
6850
6848
|
const yl = new MutationObserver(vl);
|
|
6851
6849
|
yl.observe(document.documentElement, { attributes: !0, attributeFilter: ["dir"] });
|
|
6852
|
-
const
|
|
6850
|
+
const Wt = (o) => class extends o {
|
|
6853
6851
|
static get properties() {
|
|
6854
6852
|
return {
|
|
6855
6853
|
/**
|
|
@@ -6875,14 +6873,14 @@ const qt = (o) => class extends o {
|
|
|
6875
6873
|
}
|
|
6876
6874
|
/** @protected */
|
|
6877
6875
|
connectedCallback() {
|
|
6878
|
-
super.connectedCallback(), (!this.hasAttribute("dir") || this.__restoreSubscription) && (this.__subscribe(),
|
|
6876
|
+
super.connectedCallback(), (!this.hasAttribute("dir") || this.__restoreSubscription) && (this.__subscribe(), Ei(this, Si(), null));
|
|
6879
6877
|
}
|
|
6880
6878
|
/** @protected */
|
|
6881
6879
|
attributeChangedCallback(e, i, s) {
|
|
6882
6880
|
if (super.attributeChangedCallback(e, i, s), e !== "dir")
|
|
6883
6881
|
return;
|
|
6884
|
-
const r =
|
|
6885
|
-
n || a ? (this.__subscribe(),
|
|
6882
|
+
const r = Si(), n = s === r && ye.indexOf(this) === -1, a = !s && i && ye.indexOf(this) === -1;
|
|
6883
|
+
n || a ? (this.__subscribe(), Ei(this, r, s)) : s !== r && i === r && this.__unsubscribe();
|
|
6886
6884
|
}
|
|
6887
6885
|
/** @protected */
|
|
6888
6886
|
disconnectedCallback() {
|
|
@@ -7022,12 +7020,12 @@ const wl = P`
|
|
|
7022
7020
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7023
7021
|
*/
|
|
7024
7022
|
L("vaadin-input-container", wl, { moduleId: "vaadin-input-container-styles" });
|
|
7025
|
-
class El extends xl(
|
|
7023
|
+
class El extends xl(Ye(Wt(Oe))) {
|
|
7026
7024
|
static get is() {
|
|
7027
7025
|
return "vaadin-input-container";
|
|
7028
7026
|
}
|
|
7029
7027
|
static get template() {
|
|
7030
|
-
return
|
|
7028
|
+
return Ve`
|
|
7031
7029
|
<slot name="prefix"></slot>
|
|
7032
7030
|
<slot></slot>
|
|
7033
7031
|
<slot name="suffix"></slot>
|
|
@@ -7105,29 +7103,29 @@ const Sl = P`
|
|
|
7105
7103
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7106
7104
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7107
7105
|
*/
|
|
7108
|
-
let
|
|
7106
|
+
let Gi = !1;
|
|
7109
7107
|
window.addEventListener(
|
|
7110
7108
|
"keydown",
|
|
7111
7109
|
() => {
|
|
7112
|
-
|
|
7110
|
+
Gi = !0;
|
|
7113
7111
|
},
|
|
7114
7112
|
{ capture: !0 }
|
|
7115
7113
|
);
|
|
7116
7114
|
window.addEventListener(
|
|
7117
7115
|
"mousedown",
|
|
7118
7116
|
() => {
|
|
7119
|
-
|
|
7117
|
+
Gi = !1;
|
|
7120
7118
|
},
|
|
7121
7119
|
{ capture: !0 }
|
|
7122
7120
|
);
|
|
7123
|
-
function
|
|
7121
|
+
function Ai() {
|
|
7124
7122
|
let o = document.activeElement || document.body;
|
|
7125
7123
|
for (; o.shadowRoot && o.shadowRoot.activeElement; )
|
|
7126
7124
|
o = o.shadowRoot.activeElement;
|
|
7127
7125
|
return o;
|
|
7128
7126
|
}
|
|
7129
|
-
function
|
|
7130
|
-
return
|
|
7127
|
+
function Ji() {
|
|
7128
|
+
return Gi;
|
|
7131
7129
|
}
|
|
7132
7130
|
function Al(o) {
|
|
7133
7131
|
const t = o.style;
|
|
@@ -7146,11 +7144,11 @@ function Pl(o, t) {
|
|
|
7146
7144
|
Cl(o[0], t[0]) ? e.push(t.shift()) : e.push(o.shift());
|
|
7147
7145
|
return e.concat(o, t);
|
|
7148
7146
|
}
|
|
7149
|
-
function
|
|
7147
|
+
function Ci(o) {
|
|
7150
7148
|
const t = o.length;
|
|
7151
7149
|
if (t < 2)
|
|
7152
7150
|
return o;
|
|
7153
|
-
const e = Math.ceil(t / 2), i =
|
|
7151
|
+
const e = Math.ceil(t / 2), i = Ci(o.slice(0, e)), s = Ci(o.slice(e));
|
|
7154
7152
|
return Pl(i, s);
|
|
7155
7153
|
}
|
|
7156
7154
|
function tr(o) {
|
|
@@ -7181,7 +7179,7 @@ function ir(o, t) {
|
|
|
7181
7179
|
}
|
|
7182
7180
|
function Tl(o) {
|
|
7183
7181
|
const t = [];
|
|
7184
|
-
return ir(o, t) ?
|
|
7182
|
+
return ir(o, t) ? Ci(t) : t;
|
|
7185
7183
|
}
|
|
7186
7184
|
/**
|
|
7187
7185
|
@license
|
|
@@ -7192,10 +7190,10 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
7192
7190
|
Code distributed by Google as part of the polymer project is also
|
|
7193
7191
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7194
7192
|
*/
|
|
7195
|
-
let
|
|
7193
|
+
let Pi = !1, Ml = [], or = [];
|
|
7196
7194
|
function Ol() {
|
|
7197
|
-
|
|
7198
|
-
|
|
7195
|
+
Pi = !0, requestAnimationFrame(function() {
|
|
7196
|
+
Pi = !1, Il(Ml), setTimeout(function() {
|
|
7199
7197
|
Fl(or);
|
|
7200
7198
|
});
|
|
7201
7199
|
});
|
|
@@ -7219,19 +7217,19 @@ function sr(o) {
|
|
|
7219
7217
|
}
|
|
7220
7218
|
}
|
|
7221
7219
|
function rr(o, t, e) {
|
|
7222
|
-
|
|
7220
|
+
Pi || Ol(), or.push([o, t, e]);
|
|
7223
7221
|
}
|
|
7224
7222
|
/**
|
|
7225
7223
|
* @license
|
|
7226
7224
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7227
7225
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7228
7226
|
*/
|
|
7229
|
-
const
|
|
7230
|
-
|
|
7231
|
-
|
|
7232
|
-
|
|
7233
|
-
const zl =
|
|
7234
|
-
|
|
7227
|
+
const qt = (o) => o.test(navigator.userAgent), ki = (o) => o.test(navigator.platform), Nl = (o) => o.test(navigator.vendor);
|
|
7228
|
+
qt(/Android/u);
|
|
7229
|
+
qt(/Chrome/u) && Nl(/Google Inc/u);
|
|
7230
|
+
qt(/Firefox/u);
|
|
7231
|
+
const zl = ki(/^iPad/u) || ki(/^Mac/u) && navigator.maxTouchPoints > 1, Ll = ki(/^iPhone/u), nr = Ll || zl;
|
|
7232
|
+
qt(/^((?!chrome|android).)*safari/iu);
|
|
7235
7233
|
const Rl = (() => {
|
|
7236
7234
|
try {
|
|
7237
7235
|
return document.createEvent("TouchEvent"), !0;
|
|
@@ -7244,23 +7242,23 @@ const Rl = (() => {
|
|
|
7244
7242
|
* Copyright (c) 2017 Anton Korzunov
|
|
7245
7243
|
* SPDX-License-Identifier: MIT
|
|
7246
7244
|
*/
|
|
7247
|
-
let
|
|
7248
|
-
const jo = (o) => o && o.nodeType === Node.ELEMENT_NODE,
|
|
7245
|
+
let We = /* @__PURE__ */ new WeakMap(), Tt = /* @__PURE__ */ new WeakMap(), Mt = {}, si = 0;
|
|
7246
|
+
const jo = (o) => o && o.nodeType === Node.ELEMENT_NODE, ri = (...o) => {
|
|
7249
7247
|
console.error(`Error: ${o.join(" ")}. Skip setting aria-hidden.`);
|
|
7250
7248
|
}, Bl = (o, t) => jo(o) ? t.map((e) => {
|
|
7251
7249
|
if (!jo(e))
|
|
7252
|
-
return
|
|
7250
|
+
return ri(e, "is not a valid element"), null;
|
|
7253
7251
|
let i = e;
|
|
7254
7252
|
for (; i && i !== o; ) {
|
|
7255
7253
|
if (o.contains(i))
|
|
7256
7254
|
return e;
|
|
7257
7255
|
i = i.getRootNode().host;
|
|
7258
7256
|
}
|
|
7259
|
-
return
|
|
7260
|
-
}).filter((e) => !!e) : (
|
|
7257
|
+
return ri(e, "is not contained inside", o), null;
|
|
7258
|
+
}).filter((e) => !!e) : (ri(o, "is not a valid element"), []), Hl = (o, t, e, i) => {
|
|
7261
7259
|
const s = Bl(t, Array.isArray(o) ? o : [o]);
|
|
7262
|
-
|
|
7263
|
-
const r =
|
|
7260
|
+
Mt[e] || (Mt[e] = /* @__PURE__ */ new WeakMap());
|
|
7261
|
+
const r = Mt[e], n = [], a = /* @__PURE__ */ new Set(), l = new Set(s), c = (d) => {
|
|
7264
7262
|
if (!d || a.has(d))
|
|
7265
7263
|
return;
|
|
7266
7264
|
a.add(d);
|
|
@@ -7277,16 +7275,16 @@ const jo = (o) => o && o.nodeType === Node.ELEMENT_NODE, ni = (...o) => {
|
|
|
7277
7275
|
if (a.has(g))
|
|
7278
7276
|
u(g);
|
|
7279
7277
|
else {
|
|
7280
|
-
const p = g.getAttribute(i), _ = p !== null && p !== "false", y = (
|
|
7281
|
-
|
|
7278
|
+
const p = g.getAttribute(i), _ = p !== null && p !== "false", y = (We.get(g) || 0) + 1, v = (r.get(g) || 0) + 1;
|
|
7279
|
+
We.set(g, y), r.set(g, v), n.push(g), y === 1 && _ && Tt.set(g, !0), v === 1 && g.setAttribute(e, "true"), _ || g.setAttribute(i, "true");
|
|
7282
7280
|
}
|
|
7283
7281
|
});
|
|
7284
7282
|
};
|
|
7285
|
-
return u(t), a.clear(),
|
|
7283
|
+
return u(t), a.clear(), si += 1, () => {
|
|
7286
7284
|
n.forEach((d) => {
|
|
7287
|
-
const h =
|
|
7288
|
-
|
|
7289
|
-
}),
|
|
7285
|
+
const h = We.get(d) - 1, m = r.get(d) - 1;
|
|
7286
|
+
We.set(d, h), r.set(d, m), h || (Tt.has(d) ? Tt.delete(d) : d.removeAttribute(i)), m || d.removeAttribute(e);
|
|
7287
|
+
}), si -= 1, si || (We = /* @__PURE__ */ new WeakMap(), We = /* @__PURE__ */ new WeakMap(), Tt = /* @__PURE__ */ new WeakMap(), Mt = {});
|
|
7290
7288
|
};
|
|
7291
7289
|
}, ar = (o, t = document.body, e = "data-aria-hidden") => {
|
|
7292
7290
|
const i = Array.from(Array.isArray(o) ? o : [o]);
|
|
@@ -7337,7 +7335,7 @@ class Yl {
|
|
|
7337
7335
|
* @param {Node | null | undefined} focusNode
|
|
7338
7336
|
*/
|
|
7339
7337
|
saveFocus(t) {
|
|
7340
|
-
this.focusNode = t ||
|
|
7338
|
+
this.focusNode = t || Ai();
|
|
7341
7339
|
}
|
|
7342
7340
|
/**
|
|
7343
7341
|
* Restores focus to the target node that was saved previously with `saveFocus()`.
|
|
@@ -7347,7 +7345,7 @@ class Yl {
|
|
|
7347
7345
|
if (!e)
|
|
7348
7346
|
return;
|
|
7349
7347
|
const i = t ? t.preventScroll : !1;
|
|
7350
|
-
|
|
7348
|
+
Ai() === document.body ? setTimeout(() => e.focus({ preventScroll: i })) : e.focus({ preventScroll: i }), this.focusNode = null;
|
|
7351
7349
|
}
|
|
7352
7350
|
}
|
|
7353
7351
|
/**
|
|
@@ -7355,7 +7353,7 @@ class Yl {
|
|
|
7355
7353
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7356
7354
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7357
7355
|
*/
|
|
7358
|
-
const
|
|
7356
|
+
const ni = [];
|
|
7359
7357
|
class jl {
|
|
7360
7358
|
/**
|
|
7361
7359
|
* @param {HTMLElement} host
|
|
@@ -7405,14 +7403,14 @@ class jl {
|
|
|
7405
7403
|
trapFocus(t) {
|
|
7406
7404
|
if (this.__trapNode = t, this.__focusableElements.length === 0)
|
|
7407
7405
|
throw this.__trapNode = null, new Error("The trap node should have at least one focusable descendant or be focusable itself.");
|
|
7408
|
-
|
|
7406
|
+
ni.push(this), this.__focusedElementIndex === -1 && this.__focusableElements[0].focus();
|
|
7409
7407
|
}
|
|
7410
7408
|
/**
|
|
7411
7409
|
* Deactivates the focus trap set with the `.trapFocus()` method
|
|
7412
7410
|
* so that it becomes possible to tab outside the trap node.
|
|
7413
7411
|
*/
|
|
7414
7412
|
releaseFocus() {
|
|
7415
|
-
this.__trapNode = null,
|
|
7413
|
+
this.__trapNode = null, ni.pop();
|
|
7416
7414
|
}
|
|
7417
7415
|
/**
|
|
7418
7416
|
* A `keydown` event handler that manages tabbing navigation when the trap is enabled.
|
|
@@ -7426,7 +7424,7 @@ class jl {
|
|
|
7426
7424
|
* @private
|
|
7427
7425
|
*/
|
|
7428
7426
|
__onKeyDown(t) {
|
|
7429
|
-
if (this.__trapNode && this === Array.from(
|
|
7427
|
+
if (this.__trapNode && this === Array.from(ni).pop() && t.key === "Tab") {
|
|
7430
7428
|
t.preventDefault();
|
|
7431
7429
|
const e = t.shiftKey;
|
|
7432
7430
|
this.__focusNextElement(e);
|
|
@@ -7453,7 +7451,7 @@ class jl {
|
|
|
7453
7451
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7454
7452
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7455
7453
|
*/
|
|
7456
|
-
const
|
|
7454
|
+
const ot = U((o) => typeof o.prototype.addController == "function" ? o : class extends o {
|
|
7457
7455
|
constructor() {
|
|
7458
7456
|
super(), this.__controllers = /* @__PURE__ */ new Set();
|
|
7459
7457
|
}
|
|
@@ -7493,7 +7491,7 @@ const st = U((o) => typeof o.prototype.addController == "function" ? o : class e
|
|
|
7493
7491
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7494
7492
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7495
7493
|
*/
|
|
7496
|
-
const Vl = (o) => class extends
|
|
7494
|
+
const Vl = (o) => class extends ot(o) {
|
|
7497
7495
|
static get properties() {
|
|
7498
7496
|
return {
|
|
7499
7497
|
/**
|
|
@@ -7537,7 +7535,7 @@ const Vl = (o) => class extends st(o) {
|
|
|
7537
7535
|
*/
|
|
7538
7536
|
_resetFocus() {
|
|
7539
7537
|
if (this.focusTrap && (this.__ariaModalController.close(), this.__focusTrapController.releaseFocus()), this.restoreFocusOnClose && this._shouldRestoreFocus()) {
|
|
7540
|
-
const e = !
|
|
7538
|
+
const e = !Ji();
|
|
7541
7539
|
this.__focusRestorationController.restoreFocus({ preventScroll: e });
|
|
7542
7540
|
}
|
|
7543
7541
|
}
|
|
@@ -7569,7 +7567,7 @@ const Vl = (o) => class extends st(o) {
|
|
|
7569
7567
|
* @return {boolean}
|
|
7570
7568
|
*/
|
|
7571
7569
|
_shouldRestoreFocus() {
|
|
7572
|
-
const e =
|
|
7570
|
+
const e = Ai();
|
|
7573
7571
|
return e === document.body || this._deepContains(e);
|
|
7574
7572
|
}
|
|
7575
7573
|
/**
|
|
@@ -7595,7 +7593,7 @@ const Vl = (o) => class extends st(o) {
|
|
|
7595
7593
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7596
7594
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7597
7595
|
*/
|
|
7598
|
-
const lr = () => Array.from(document.body.children).filter((o) => o instanceof HTMLElement && o._hasOverlayStackMixin && !o.hasAttribute("closing")).sort((o, t) => o.__zIndex - t.__zIndex || 0),
|
|
7596
|
+
const lr = () => Array.from(document.body.children).filter((o) => o instanceof HTMLElement && o._hasOverlayStackMixin && !o.hasAttribute("closing")).sort((o, t) => o.__zIndex - t.__zIndex || 0), Di = () => lr().filter((o) => o.$.overlay), Ul = (o) => o === Di().pop(), Wl = (o) => class extends o {
|
|
7599
7597
|
constructor() {
|
|
7600
7598
|
super(), this._hasOverlayStackMixin = !0;
|
|
7601
7599
|
}
|
|
@@ -7618,14 +7616,14 @@ const lr = () => Array.from(document.body.children).filter((o) => o instanceof H
|
|
|
7618
7616
|
}
|
|
7619
7617
|
/** @protected */
|
|
7620
7618
|
_enterModalState() {
|
|
7621
|
-
document.body.style.pointerEvents !== "none" && (this._previousDocumentPointerEvents = document.body.style.pointerEvents, document.body.style.pointerEvents = "none"),
|
|
7619
|
+
document.body.style.pointerEvents !== "none" && (this._previousDocumentPointerEvents = document.body.style.pointerEvents, document.body.style.pointerEvents = "none"), Di().forEach((e) => {
|
|
7622
7620
|
e !== this && (e.$.overlay.style.pointerEvents = "none");
|
|
7623
7621
|
});
|
|
7624
7622
|
}
|
|
7625
7623
|
/** @protected */
|
|
7626
7624
|
_exitModalState() {
|
|
7627
7625
|
this._previousDocumentPointerEvents !== void 0 && (document.body.style.pointerEvents = this._previousDocumentPointerEvents, delete this._previousDocumentPointerEvents);
|
|
7628
|
-
const e =
|
|
7626
|
+
const e = Di();
|
|
7629
7627
|
let i;
|
|
7630
7628
|
for (; (i = e.pop()) && !(i !== this && (i.$.overlay.style.removeProperty("pointer-events"), !i.modeless)); )
|
|
7631
7629
|
;
|
|
@@ -7921,23 +7919,23 @@ function Kl(o) {
|
|
|
7921
7919
|
}
|
|
7922
7920
|
return t;
|
|
7923
7921
|
}
|
|
7924
|
-
function
|
|
7922
|
+
function Xi(o) {
|
|
7925
7923
|
return o ? new Set(o.split(" ")) : /* @__PURE__ */ new Set();
|
|
7926
7924
|
}
|
|
7927
|
-
function
|
|
7925
|
+
function Kt(o) {
|
|
7928
7926
|
return o ? [...o].join(" ") : "";
|
|
7929
7927
|
}
|
|
7930
7928
|
function cr(o, t, e) {
|
|
7931
|
-
const i =
|
|
7932
|
-
i.add(e), o.setAttribute(t,
|
|
7929
|
+
const i = Xi(o.getAttribute(t));
|
|
7930
|
+
i.add(e), o.setAttribute(t, Kt(i));
|
|
7933
7931
|
}
|
|
7934
7932
|
function Gl(o, t, e) {
|
|
7935
|
-
const i =
|
|
7933
|
+
const i = Xi(o.getAttribute(t));
|
|
7936
7934
|
if (i.delete(e), i.size === 0) {
|
|
7937
7935
|
o.removeAttribute(t);
|
|
7938
7936
|
return;
|
|
7939
7937
|
}
|
|
7940
|
-
o.setAttribute(t,
|
|
7938
|
+
o.setAttribute(t, Kt(i));
|
|
7941
7939
|
}
|
|
7942
7940
|
function Jl(o) {
|
|
7943
7941
|
return o.nodeType === Node.TEXT_NODE && o.textContent.trim() === "";
|
|
@@ -7981,10 +7979,10 @@ function Xl(o, t) {
|
|
|
7981
7979
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7982
7980
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7983
7981
|
*/
|
|
7984
|
-
const
|
|
7982
|
+
const ai = {
|
|
7985
7983
|
start: "top",
|
|
7986
7984
|
end: "bottom"
|
|
7987
|
-
},
|
|
7985
|
+
}, li = {
|
|
7988
7986
|
start: "left",
|
|
7989
7987
|
end: "right"
|
|
7990
7988
|
}, Vo = new ResizeObserver((o) => {
|
|
@@ -8136,14 +8134,14 @@ const li = {
|
|
|
8136
8134
|
e,
|
|
8137
8135
|
a,
|
|
8138
8136
|
this.noVerticalOverlap,
|
|
8139
|
-
|
|
8137
|
+
ai,
|
|
8140
8138
|
this,
|
|
8141
8139
|
i
|
|
8142
8140
|
), c = this.__calculatePositionInOneDimension(
|
|
8143
8141
|
e,
|
|
8144
8142
|
a,
|
|
8145
8143
|
this.noHorizontalOverlap,
|
|
8146
|
-
|
|
8144
|
+
li,
|
|
8147
8145
|
this,
|
|
8148
8146
|
r
|
|
8149
8147
|
);
|
|
@@ -8160,7 +8158,7 @@ const li = {
|
|
|
8160
8158
|
this.__margins,
|
|
8161
8159
|
n,
|
|
8162
8160
|
this.noHorizontalOverlap,
|
|
8163
|
-
|
|
8161
|
+
li
|
|
8164
8162
|
);
|
|
8165
8163
|
}
|
|
8166
8164
|
__shouldAlignStartVertically(e) {
|
|
@@ -8174,7 +8172,7 @@ const li = {
|
|
|
8174
8172
|
this.__margins,
|
|
8175
8173
|
r,
|
|
8176
8174
|
this.noVerticalOverlap,
|
|
8177
|
-
|
|
8175
|
+
ai
|
|
8178
8176
|
);
|
|
8179
8177
|
}
|
|
8180
8178
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
@@ -8191,7 +8189,7 @@ const li = {
|
|
|
8191
8189
|
__adjustBottomProperty(e, i, s) {
|
|
8192
8190
|
let r;
|
|
8193
8191
|
if (e === i.end) {
|
|
8194
|
-
if (i.end ===
|
|
8192
|
+
if (i.end === ai.end) {
|
|
8195
8193
|
const n = Math.min(window.innerHeight, document.documentElement.clientHeight);
|
|
8196
8194
|
if (s > n && this.__oldViewportHeight) {
|
|
8197
8195
|
const a = this.__oldViewportHeight - n;
|
|
@@ -8199,7 +8197,7 @@ const li = {
|
|
|
8199
8197
|
}
|
|
8200
8198
|
this.__oldViewportHeight = n;
|
|
8201
8199
|
}
|
|
8202
|
-
if (i.end ===
|
|
8200
|
+
if (i.end === li.end) {
|
|
8203
8201
|
const n = Math.min(window.innerWidth, document.documentElement.clientWidth);
|
|
8204
8202
|
if (s > n && this.__oldViewportWidth) {
|
|
8205
8203
|
const a = this.__oldViewportWidth - n;
|
|
@@ -8277,12 +8275,12 @@ const ec = P`
|
|
|
8277
8275
|
L("vaadin-date-picker-overlay", [Sl, ec], {
|
|
8278
8276
|
moduleId: "vaadin-date-picker-overlay-styles"
|
|
8279
8277
|
});
|
|
8280
|
-
class tc extends Ql(
|
|
8278
|
+
class tc extends Ql(Wt(Ye(Oe))) {
|
|
8281
8279
|
static get is() {
|
|
8282
8280
|
return "vaadin-date-picker-overlay";
|
|
8283
8281
|
}
|
|
8284
8282
|
static get template() {
|
|
8285
|
-
return
|
|
8283
|
+
return Ve`
|
|
8286
8284
|
<div id="backdrop" part="backdrop" hidden$="[[!withBackdrop]]"></div>
|
|
8287
8285
|
<div part="overlay" id="overlay">
|
|
8288
8286
|
<div part="content" id="content">
|
|
@@ -8293,7 +8291,7 @@ class tc extends Ql(qt(je(Oe))) {
|
|
|
8293
8291
|
}
|
|
8294
8292
|
}
|
|
8295
8293
|
be(tc);
|
|
8296
|
-
const ic = /\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i,
|
|
8294
|
+
const ic = /\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i, Ft = window.Vaadin && window.Vaadin.Flow && window.Vaadin.Flow.clients;
|
|
8297
8295
|
function oc() {
|
|
8298
8296
|
function o() {
|
|
8299
8297
|
return !0;
|
|
@@ -8302,7 +8300,7 @@ function oc() {
|
|
|
8302
8300
|
}
|
|
8303
8301
|
function sc() {
|
|
8304
8302
|
try {
|
|
8305
|
-
return rc() ? !0 : nc() ?
|
|
8303
|
+
return rc() ? !0 : nc() ? Ft ? !ac() : !oc() : !1;
|
|
8306
8304
|
} catch (o) {
|
|
8307
8305
|
return !1;
|
|
8308
8306
|
}
|
|
@@ -8314,7 +8312,7 @@ function nc() {
|
|
|
8314
8312
|
return ["localhost", "127.0.0.1"].indexOf(window.location.hostname) >= 0;
|
|
8315
8313
|
}
|
|
8316
8314
|
function ac() {
|
|
8317
|
-
return !!(
|
|
8315
|
+
return !!(Ft && Object.keys(Ft).map((t) => Ft[t]).filter((t) => t.productionMode).length > 0);
|
|
8318
8316
|
}
|
|
8319
8317
|
function ur(o, t) {
|
|
8320
8318
|
if (typeof o != "function")
|
|
@@ -8829,13 +8827,13 @@ const cc = function() {
|
|
|
8829
8827
|
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
8830
8828
|
*/
|
|
8831
8829
|
let Wo = 0, dr = 0;
|
|
8832
|
-
const
|
|
8833
|
-
let
|
|
8830
|
+
const Je = [];
|
|
8831
|
+
let Ti = !1;
|
|
8834
8832
|
function uc() {
|
|
8835
|
-
|
|
8836
|
-
const o =
|
|
8833
|
+
Ti = !1;
|
|
8834
|
+
const o = Je.length;
|
|
8837
8835
|
for (let t = 0; t < o; t++) {
|
|
8838
|
-
const e =
|
|
8836
|
+
const e = Je[t];
|
|
8839
8837
|
if (e)
|
|
8840
8838
|
try {
|
|
8841
8839
|
e();
|
|
@@ -8845,9 +8843,9 @@ function uc() {
|
|
|
8845
8843
|
});
|
|
8846
8844
|
}
|
|
8847
8845
|
}
|
|
8848
|
-
|
|
8846
|
+
Je.splice(0, o), dr += o;
|
|
8849
8847
|
}
|
|
8850
|
-
const
|
|
8848
|
+
const $t = {
|
|
8851
8849
|
/**
|
|
8852
8850
|
* Returns a sub-module with the async interface providing the provided
|
|
8853
8851
|
* delay.
|
|
@@ -8938,7 +8936,7 @@ const Yt = {
|
|
|
8938
8936
|
* @return {number} Handle used for canceling task
|
|
8939
8937
|
*/
|
|
8940
8938
|
run(o) {
|
|
8941
|
-
|
|
8939
|
+
Ti || (Ti = !0, queueMicrotask(() => uc())), Je.push(o);
|
|
8942
8940
|
const t = Wo;
|
|
8943
8941
|
return Wo += 1, t;
|
|
8944
8942
|
},
|
|
@@ -8952,9 +8950,9 @@ const Yt = {
|
|
|
8952
8950
|
cancel(o) {
|
|
8953
8951
|
const t = o - dr;
|
|
8954
8952
|
if (t >= 0) {
|
|
8955
|
-
if (!
|
|
8953
|
+
if (!Je[t])
|
|
8956
8954
|
throw new Error(`invalid async handle: ${o}`);
|
|
8957
|
-
|
|
8955
|
+
Je[t] = null;
|
|
8958
8956
|
}
|
|
8959
8957
|
}
|
|
8960
8958
|
};
|
|
@@ -8967,8 +8965,8 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
8967
8965
|
Code distributed by Google as part of the polymer project is also
|
|
8968
8966
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
8969
8967
|
*/
|
|
8970
|
-
const
|
|
8971
|
-
let
|
|
8968
|
+
const Mi = /* @__PURE__ */ new Set();
|
|
8969
|
+
let et = class Oi {
|
|
8972
8970
|
/**
|
|
8973
8971
|
* Creates a debouncer if no debouncer is passed as a parameter
|
|
8974
8972
|
* or it cancels an active debouncer otherwise. The following
|
|
@@ -9004,7 +9002,7 @@ let tt = class Ii {
|
|
|
9004
9002
|
* @return {!Debouncer} Returns a debouncer object.
|
|
9005
9003
|
*/
|
|
9006
9004
|
static debounce(t, e, i) {
|
|
9007
|
-
return t instanceof
|
|
9005
|
+
return t instanceof Oi ? t._cancelAsync() : t = new Oi(), t.setConfig(e, i), t;
|
|
9008
9006
|
}
|
|
9009
9007
|
constructor() {
|
|
9010
9008
|
this._asyncModule = null, this._callback = null, this._timer = null;
|
|
@@ -9020,7 +9018,7 @@ let tt = class Ii {
|
|
|
9020
9018
|
*/
|
|
9021
9019
|
setConfig(t, e) {
|
|
9022
9020
|
this._asyncModule = t, this._callback = e, this._timer = this._asyncModule.run(() => {
|
|
9023
|
-
this._timer = null,
|
|
9021
|
+
this._timer = null, Mi.delete(this), this._callback();
|
|
9024
9022
|
});
|
|
9025
9023
|
}
|
|
9026
9024
|
/**
|
|
@@ -9029,7 +9027,7 @@ let tt = class Ii {
|
|
|
9029
9027
|
* @return {void}
|
|
9030
9028
|
*/
|
|
9031
9029
|
cancel() {
|
|
9032
|
-
this.isActive() && (this._cancelAsync(),
|
|
9030
|
+
this.isActive() && (this._cancelAsync(), Mi.delete(this));
|
|
9033
9031
|
}
|
|
9034
9032
|
/**
|
|
9035
9033
|
* Cancels a debouncer's async callback.
|
|
@@ -9060,7 +9058,7 @@ let tt = class Ii {
|
|
|
9060
9058
|
}
|
|
9061
9059
|
};
|
|
9062
9060
|
function fc(o) {
|
|
9063
|
-
|
|
9061
|
+
Mi.add(o);
|
|
9064
9062
|
}
|
|
9065
9063
|
/**
|
|
9066
9064
|
* @license
|
|
@@ -9073,15 +9071,15 @@ window.Vaadin.developmentModeCallback || (window.Vaadin.developmentModeCallback
|
|
|
9073
9071
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"] = function() {
|
|
9074
9072
|
cc();
|
|
9075
9073
|
};
|
|
9076
|
-
let
|
|
9077
|
-
const qo = /* @__PURE__ */ new Set(), hr = (o) => class extends
|
|
9074
|
+
let ci;
|
|
9075
|
+
const qo = /* @__PURE__ */ new Set(), hr = (o) => class extends Wt(o) {
|
|
9078
9076
|
/** @protected */
|
|
9079
9077
|
static finalize() {
|
|
9080
9078
|
super.finalize();
|
|
9081
9079
|
const { is: e } = this;
|
|
9082
|
-
e && !qo.has(e) && (window.Vaadin.registrations.push(this), qo.add(e), window.Vaadin.developmentModeCallback && (
|
|
9080
|
+
e && !qo.has(e) && (window.Vaadin.registrations.push(this), qo.add(e), window.Vaadin.developmentModeCallback && (ci = et.debounce(ci, hc, () => {
|
|
9083
9081
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]();
|
|
9084
|
-
}), fc(
|
|
9082
|
+
}), fc(ci)));
|
|
9085
9083
|
}
|
|
9086
9084
|
constructor() {
|
|
9087
9085
|
super(), document.doctype === null && console.warn(
|
|
@@ -9454,7 +9452,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
9454
9452
|
Code distributed by Google as part of the polymer project is also
|
|
9455
9453
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
9456
9454
|
*/
|
|
9457
|
-
const vc = (o) => o,
|
|
9455
|
+
const vc = !1, yc = (o) => o, Zi = typeof document.head.style.touchAction == "string", Ii = "__polymerGestures", ui = "__polymerGesturesHandled", Fi = "__polymerGesturesTouchAction", Ko = 25, Go = 5, xc = 2, wc = ["mousedown", "mousemove", "mouseup", "click"], Ec = [0, 1, 4, 2], Sc = function() {
|
|
9458
9456
|
try {
|
|
9459
9457
|
return new MouseEvent("test", { buttons: 1 }).buttons === 1;
|
|
9460
9458
|
} catch (o) {
|
|
@@ -9462,15 +9460,15 @@ const vc = (o) => o, mr = typeof document.head.style.touchAction == "string", Fi
|
|
|
9462
9460
|
}
|
|
9463
9461
|
}();
|
|
9464
9462
|
function Qi(o) {
|
|
9465
|
-
return
|
|
9463
|
+
return wc.indexOf(o) > -1;
|
|
9466
9464
|
}
|
|
9467
|
-
let
|
|
9465
|
+
let mr = !1;
|
|
9468
9466
|
(function() {
|
|
9469
9467
|
try {
|
|
9470
9468
|
const o = Object.defineProperty({}, "passive", {
|
|
9471
9469
|
// eslint-disable-next-line getter-return
|
|
9472
9470
|
get() {
|
|
9473
|
-
|
|
9471
|
+
mr = !0;
|
|
9474
9472
|
}
|
|
9475
9473
|
});
|
|
9476
9474
|
window.addEventListener("test", null, o), window.removeEventListener("test", null, o);
|
|
@@ -9478,7 +9476,8 @@ let Sc = !1;
|
|
|
9478
9476
|
}
|
|
9479
9477
|
})();
|
|
9480
9478
|
function Ac(o) {
|
|
9481
|
-
Qi(o)
|
|
9479
|
+
if (!(Qi(o) || o === "touchend") && Zi && mr && vc)
|
|
9480
|
+
return { passive: !0 };
|
|
9482
9481
|
}
|
|
9483
9482
|
const Cc = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), Pc = {
|
|
9484
9483
|
button: !0,
|
|
@@ -9491,13 +9490,13 @@ const Cc = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), Pc = {
|
|
|
9491
9490
|
select: !0,
|
|
9492
9491
|
textarea: !0
|
|
9493
9492
|
};
|
|
9494
|
-
function
|
|
9493
|
+
function He(o) {
|
|
9495
9494
|
const t = o.type;
|
|
9496
9495
|
if (!Qi(t))
|
|
9497
9496
|
return !1;
|
|
9498
9497
|
if (t === "mousemove") {
|
|
9499
9498
|
let i = o.buttons === void 0 ? 1 : o.buttons;
|
|
9500
|
-
return o instanceof window.MouseEvent && !
|
|
9499
|
+
return o instanceof window.MouseEvent && !Sc && (i = Ec[o.which] || 0), !!(i & 1);
|
|
9501
9500
|
}
|
|
9502
9501
|
return (o.button === void 0 ? 0 : o.button) === 0;
|
|
9503
9502
|
}
|
|
@@ -9518,6 +9517,10 @@ function kc(o) {
|
|
|
9518
9517
|
return !1;
|
|
9519
9518
|
}
|
|
9520
9519
|
const we = {
|
|
9520
|
+
mouse: {
|
|
9521
|
+
target: null,
|
|
9522
|
+
mouseIgnoreJob: null
|
|
9523
|
+
},
|
|
9521
9524
|
touch: {
|
|
9522
9525
|
x: 0,
|
|
9523
9526
|
y: 0,
|
|
@@ -9529,8 +9532,8 @@ function Dc(o) {
|
|
|
9529
9532
|
let t = "auto";
|
|
9530
9533
|
const e = gr(o);
|
|
9531
9534
|
for (let i = 0, s; i < e.length; i++)
|
|
9532
|
-
if (s = e[i], s[
|
|
9533
|
-
t = s[
|
|
9535
|
+
if (s = e[i], s[Fi]) {
|
|
9536
|
+
t = s[Fi];
|
|
9534
9537
|
break;
|
|
9535
9538
|
}
|
|
9536
9539
|
return t;
|
|
@@ -9538,7 +9541,7 @@ function Dc(o) {
|
|
|
9538
9541
|
function _r(o, t, e) {
|
|
9539
9542
|
o.movefn = t, o.upfn = e, document.addEventListener("mousemove", t), document.addEventListener("mouseup", e);
|
|
9540
9543
|
}
|
|
9541
|
-
function
|
|
9544
|
+
function Xe(o) {
|
|
9542
9545
|
document.removeEventListener("mousemove", o.movefn), document.removeEventListener("mouseup", o.upfn), o.movefn = null, o.upfn = null;
|
|
9543
9546
|
}
|
|
9544
9547
|
const gr = window.ShadyDOM && window.ShadyDOM.noPatch ? window.ShadyDOM.composedPath : (o) => o.composedPath && o.composedPath() || [], eo = {}, Be = [];
|
|
@@ -9560,19 +9563,19 @@ function Me(o) {
|
|
|
9560
9563
|
return t.length > 0 ? t[0] : o.target;
|
|
9561
9564
|
}
|
|
9562
9565
|
function Mc(o) {
|
|
9563
|
-
const t = o.type, i = o.currentTarget[
|
|
9566
|
+
const t = o.type, i = o.currentTarget[Ii];
|
|
9564
9567
|
if (!i)
|
|
9565
9568
|
return;
|
|
9566
9569
|
const s = i[t];
|
|
9567
9570
|
if (!s)
|
|
9568
9571
|
return;
|
|
9569
|
-
if (!o[
|
|
9572
|
+
if (!o[ui] && (o[ui] = {}, t.startsWith("touch"))) {
|
|
9570
9573
|
const n = o.changedTouches[0];
|
|
9571
9574
|
if (t === "touchstart" && o.touches.length === 1 && (we.touch.id = n.identifier), we.touch.id !== n.identifier)
|
|
9572
9575
|
return;
|
|
9573
|
-
|
|
9576
|
+
Zi || (t === "touchstart" || t === "touchmove") && Oc(o);
|
|
9574
9577
|
}
|
|
9575
|
-
const r = o[
|
|
9578
|
+
const r = o[ui];
|
|
9576
9579
|
if (!r.skip) {
|
|
9577
9580
|
for (let n = 0, a; n < Be.length; n++)
|
|
9578
9581
|
a = Be[n], s[a.name] && !r[a.name] && a.flow && a.flow.start.indexOf(o.type) > -1 && a.reset && a.reset();
|
|
@@ -9591,7 +9594,7 @@ function Oc(o) {
|
|
|
9591
9594
|
const i = Dc(o);
|
|
9592
9595
|
let s = !1;
|
|
9593
9596
|
const r = Math.abs(we.touch.x - t.clientX), n = Math.abs(we.touch.y - t.clientY);
|
|
9594
|
-
o.cancelable && (i === "none" ? s = !0 : i === "pan-x" ? s = n > r : i === "pan-y" && (s = r > n)), s ? o.preventDefault() :
|
|
9597
|
+
o.cancelable && (i === "none" ? s = !0 : i === "pan-x" ? s = n > r : i === "pan-y" && (s = r > n)), s ? o.preventDefault() : Yt("track");
|
|
9595
9598
|
}
|
|
9596
9599
|
}
|
|
9597
9600
|
function ge(o, t, e) {
|
|
@@ -9599,8 +9602,8 @@ function ge(o, t, e) {
|
|
|
9599
9602
|
}
|
|
9600
9603
|
function Ic(o, t, e) {
|
|
9601
9604
|
const i = eo[t], s = i.deps, r = i.name;
|
|
9602
|
-
let n = o[
|
|
9603
|
-
n || (o[
|
|
9605
|
+
let n = o[Ii];
|
|
9606
|
+
n || (o[Ii] = n = {});
|
|
9604
9607
|
for (let a = 0, l, c; a < s.length; a++)
|
|
9605
9608
|
l = s[a], !(Cc && Qi(l) && l !== "click") && (c = n[l], c || (n[l] = c = { _count: 0 }), c._count === 0 && o.addEventListener(l, Mc, Ac(l)), c[r] = (c[r] || 0) + 1, c._count = (c._count || 0) + 1);
|
|
9606
9609
|
o.addEventListener(t, e), i.touchAction && br(o, i.touchAction);
|
|
@@ -9620,13 +9623,13 @@ function Fc(o) {
|
|
|
9620
9623
|
return null;
|
|
9621
9624
|
}
|
|
9622
9625
|
function br(o, t) {
|
|
9623
|
-
|
|
9626
|
+
Zi && o instanceof HTMLElement && pc.run(() => {
|
|
9624
9627
|
o.style.touchAction = t;
|
|
9625
|
-
}), o[
|
|
9628
|
+
}), o[Fi] = t;
|
|
9626
9629
|
}
|
|
9627
9630
|
function io(o, t, e) {
|
|
9628
9631
|
const i = new Event(t, { bubbles: !0, cancelable: !0, composed: !0 });
|
|
9629
|
-
if (i.detail = e,
|
|
9632
|
+
if (i.detail = e, yc(
|
|
9630
9633
|
/** @type {!Node} */
|
|
9631
9634
|
o
|
|
9632
9635
|
).dispatchEvent(i), i.defaultPrevented) {
|
|
@@ -9634,7 +9637,7 @@ function io(o, t, e) {
|
|
|
9634
9637
|
s && s.preventDefault && s.preventDefault();
|
|
9635
9638
|
}
|
|
9636
9639
|
}
|
|
9637
|
-
function
|
|
9640
|
+
function Yt(o) {
|
|
9638
9641
|
const t = Fc(o);
|
|
9639
9642
|
t.info && (t.info.prevent = !0);
|
|
9640
9643
|
}
|
|
@@ -9655,7 +9658,7 @@ to({
|
|
|
9655
9658
|
* @return {void}
|
|
9656
9659
|
*/
|
|
9657
9660
|
reset() {
|
|
9658
|
-
|
|
9661
|
+
Xe(this.info);
|
|
9659
9662
|
},
|
|
9660
9663
|
/**
|
|
9661
9664
|
* @this {GestureRecognizer}
|
|
@@ -9663,14 +9666,14 @@ to({
|
|
|
9663
9666
|
* @return {void}
|
|
9664
9667
|
*/
|
|
9665
9668
|
mousedown(o) {
|
|
9666
|
-
if (
|
|
9669
|
+
if (!He(o))
|
|
9667
9670
|
return;
|
|
9668
9671
|
const t = Me(o), e = this, i = (r) => {
|
|
9669
|
-
|
|
9672
|
+
He(r) || (lt("up", t, r), Xe(e.info));
|
|
9670
9673
|
}, s = (r) => {
|
|
9671
|
-
|
|
9674
|
+
He(r) && lt("up", t, r), Xe(e.info);
|
|
9672
9675
|
};
|
|
9673
|
-
_r(this.info, i, s),
|
|
9676
|
+
_r(this.info, i, s), lt("down", t, o);
|
|
9674
9677
|
},
|
|
9675
9678
|
/**
|
|
9676
9679
|
* @this {GestureRecognizer}
|
|
@@ -9678,7 +9681,7 @@ to({
|
|
|
9678
9681
|
* @return {void}
|
|
9679
9682
|
*/
|
|
9680
9683
|
touchstart(o) {
|
|
9681
|
-
|
|
9684
|
+
lt("down", Me(o), o.changedTouches[0], o);
|
|
9682
9685
|
},
|
|
9683
9686
|
/**
|
|
9684
9687
|
* @this {GestureRecognizer}
|
|
@@ -9686,17 +9689,17 @@ to({
|
|
|
9686
9689
|
* @return {void}
|
|
9687
9690
|
*/
|
|
9688
9691
|
touchend(o) {
|
|
9689
|
-
|
|
9692
|
+
lt("up", Me(o), o.changedTouches[0], o);
|
|
9690
9693
|
}
|
|
9691
9694
|
});
|
|
9692
|
-
function
|
|
9695
|
+
function lt(o, t, e, i) {
|
|
9693
9696
|
t && io(t, o, {
|
|
9694
9697
|
x: e.clientX,
|
|
9695
9698
|
y: e.clientY,
|
|
9696
9699
|
sourceEvent: e,
|
|
9697
9700
|
preventer: i,
|
|
9698
9701
|
prevent(s) {
|
|
9699
|
-
return
|
|
9702
|
+
return Yt(s);
|
|
9700
9703
|
}
|
|
9701
9704
|
});
|
|
9702
9705
|
}
|
|
@@ -9717,7 +9720,7 @@ to({
|
|
|
9717
9720
|
moves: [],
|
|
9718
9721
|
/** @this {GestureInfo} */
|
|
9719
9722
|
addMove(o) {
|
|
9720
|
-
this.moves.length >
|
|
9723
|
+
this.moves.length > xc && this.moves.shift(), this.moves.push(o);
|
|
9721
9724
|
},
|
|
9722
9725
|
movefn: null,
|
|
9723
9726
|
upfn: null,
|
|
@@ -9728,7 +9731,7 @@ to({
|
|
|
9728
9731
|
* @return {void}
|
|
9729
9732
|
*/
|
|
9730
9733
|
reset() {
|
|
9731
|
-
this.info.state = "start", this.info.started = !1, this.info.moves = [], this.info.x = 0, this.info.y = 0, this.info.prevent = !1,
|
|
9734
|
+
this.info.state = "start", this.info.started = !1, this.info.moves = [], this.info.x = 0, this.info.y = 0, this.info.prevent = !1, Xe(this.info);
|
|
9732
9735
|
},
|
|
9733
9736
|
/**
|
|
9734
9737
|
* @this {GestureRecognizer}
|
|
@@ -9736,13 +9739,13 @@ to({
|
|
|
9736
9739
|
* @return {void}
|
|
9737
9740
|
*/
|
|
9738
9741
|
mousedown(o) {
|
|
9739
|
-
if (
|
|
9742
|
+
if (!He(o))
|
|
9740
9743
|
return;
|
|
9741
9744
|
const t = Me(o), e = this, i = (r) => {
|
|
9742
9745
|
const n = r.clientX, a = r.clientY;
|
|
9743
|
-
Jo(e.info, n, a) && (e.info.state = e.info.started ? r.type === "mouseup" ? "end" : "track" : "start", e.info.state === "start" &&
|
|
9746
|
+
Jo(e.info, n, a) && (e.info.state = e.info.started ? r.type === "mouseup" ? "end" : "track" : "start", e.info.state === "start" && Yt("tap"), e.info.addMove({ x: n, y: a }), He(r) || (e.info.state = "end", Xe(e.info)), t && di(e.info, t, r), e.info.started = !0);
|
|
9744
9747
|
}, s = (r) => {
|
|
9745
|
-
e.info.started && i(r),
|
|
9748
|
+
e.info.started && i(r), Xe(e.info);
|
|
9746
9749
|
};
|
|
9747
9750
|
_r(this.info, i, s), this.info.x = o.clientX, this.info.y = o.clientY;
|
|
9748
9751
|
},
|
|
@@ -9762,7 +9765,7 @@ to({
|
|
|
9762
9765
|
*/
|
|
9763
9766
|
touchmove(o) {
|
|
9764
9767
|
const t = Me(o), e = o.changedTouches[0], i = e.clientX, s = e.clientY;
|
|
9765
|
-
Jo(this.info, i, s) && (this.info.state === "start" &&
|
|
9768
|
+
Jo(this.info, i, s) && (this.info.state === "start" && Yt("tap"), this.info.addMove({ x: i, y: s }), di(this.info, t, e), this.info.state = "track", this.info.started = !0);
|
|
9766
9769
|
},
|
|
9767
9770
|
/**
|
|
9768
9771
|
* @this {GestureRecognizer}
|
|
@@ -9771,7 +9774,7 @@ to({
|
|
|
9771
9774
|
*/
|
|
9772
9775
|
touchend(o) {
|
|
9773
9776
|
const t = Me(o), e = o.changedTouches[0];
|
|
9774
|
-
this.info.started && (this.info.state = "end", this.info.addMove({ x: e.clientX, y: e.clientY }),
|
|
9777
|
+
this.info.started && (this.info.state = "end", this.info.addMove({ x: e.clientX, y: e.clientY }), di(this.info, t, e));
|
|
9775
9778
|
}
|
|
9776
9779
|
});
|
|
9777
9780
|
function Jo(o, t, e) {
|
|
@@ -9782,7 +9785,7 @@ function Jo(o, t, e) {
|
|
|
9782
9785
|
const i = Math.abs(o.x - t), s = Math.abs(o.y - e);
|
|
9783
9786
|
return i >= Go || s >= Go;
|
|
9784
9787
|
}
|
|
9785
|
-
function
|
|
9788
|
+
function di(o, t, e) {
|
|
9786
9789
|
if (!t)
|
|
9787
9790
|
return;
|
|
9788
9791
|
const i = o.moves[o.moves.length - 2], s = o.moves[o.moves.length - 1], r = s.x - o.x, n = s.y - o.y;
|
|
@@ -9827,7 +9830,7 @@ to({
|
|
|
9827
9830
|
* @return {void}
|
|
9828
9831
|
*/
|
|
9829
9832
|
mousedown(o) {
|
|
9830
|
-
|
|
9833
|
+
He(o) && (this.info.x = o.clientX, this.info.y = o.clientY);
|
|
9831
9834
|
},
|
|
9832
9835
|
/**
|
|
9833
9836
|
* @this {GestureRecognizer}
|
|
@@ -9835,7 +9838,7 @@ to({
|
|
|
9835
9838
|
* @return {void}
|
|
9836
9839
|
*/
|
|
9837
9840
|
click(o) {
|
|
9838
|
-
|
|
9841
|
+
He(o) && Xo(this.info, o);
|
|
9839
9842
|
},
|
|
9840
9843
|
/**
|
|
9841
9844
|
* @this {GestureRecognizer}
|
|
@@ -9917,7 +9920,7 @@ const vr = U(
|
|
|
9917
9920
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9918
9921
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9919
9922
|
*/
|
|
9920
|
-
const
|
|
9923
|
+
const Gt = U(
|
|
9921
9924
|
(o) => class extends o {
|
|
9922
9925
|
/** @protected */
|
|
9923
9926
|
ready() {
|
|
@@ -9979,7 +9982,7 @@ const Jt = U(
|
|
|
9979
9982
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9980
9983
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9981
9984
|
*/
|
|
9982
|
-
const Nc = (o) => class extends vr(
|
|
9985
|
+
const Nc = (o) => class extends vr(Gt(o)) {
|
|
9983
9986
|
/**
|
|
9984
9987
|
* An array of activation keys.
|
|
9985
9988
|
*
|
|
@@ -10049,7 +10052,7 @@ const oo = U(
|
|
|
10049
10052
|
* @return {boolean}
|
|
10050
10053
|
*/
|
|
10051
10054
|
get _keyboardActive() {
|
|
10052
|
-
return
|
|
10055
|
+
return Ji();
|
|
10053
10056
|
}
|
|
10054
10057
|
/** @protected */
|
|
10055
10058
|
ready() {
|
|
@@ -10206,12 +10209,12 @@ const zc = (o) => class extends Nc(yr(oo(o))) {
|
|
|
10206
10209
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10207
10210
|
*/
|
|
10208
10211
|
L("vaadin-button", gc, { moduleId: "vaadin-button-styles" });
|
|
10209
|
-
class Lc extends zc(hr(
|
|
10212
|
+
class Lc extends zc(hr(Ye(ot(Oe)))) {
|
|
10210
10213
|
static get is() {
|
|
10211
10214
|
return "vaadin-button";
|
|
10212
10215
|
}
|
|
10213
10216
|
static get template() {
|
|
10214
|
-
return bc(
|
|
10217
|
+
return bc(Ve);
|
|
10215
10218
|
}
|
|
10216
10219
|
/** @protected */
|
|
10217
10220
|
ready() {
|
|
@@ -10232,11 +10235,11 @@ function Rc(o) {
|
|
|
10232
10235
|
const r = i.getTime() - s.getTime(), n = Math.round(r / (24 * 3600 * 1e3));
|
|
10233
10236
|
return Math.floor(n / 7 + 1);
|
|
10234
10237
|
}
|
|
10235
|
-
function
|
|
10238
|
+
function Ni(o) {
|
|
10236
10239
|
const t = new Date(o);
|
|
10237
10240
|
return t.setHours(0, 0, 0, 0), t;
|
|
10238
10241
|
}
|
|
10239
|
-
function Se(o, t, e =
|
|
10242
|
+
function Se(o, t, e = Ni) {
|
|
10240
10243
|
return o instanceof Date && t instanceof Date && e(o).getTime() === e(t).getTime();
|
|
10241
10244
|
}
|
|
10242
10245
|
function so(o) {
|
|
@@ -10246,7 +10249,7 @@ function so(o) {
|
|
|
10246
10249
|
year: o.getFullYear()
|
|
10247
10250
|
};
|
|
10248
10251
|
}
|
|
10249
|
-
function
|
|
10252
|
+
function tt(o, t, e, i) {
|
|
10250
10253
|
let s = !1;
|
|
10251
10254
|
if (typeof i == "function" && o) {
|
|
10252
10255
|
const r = so(o);
|
|
@@ -10276,7 +10279,7 @@ function Bc(o, t, e = 0, i = 1) {
|
|
|
10276
10279
|
let s = t + Math.floor(o.getFullYear() / 100) * 100;
|
|
10277
10280
|
return o < new Date(s - 50, e, i) ? s -= 100 : o > new Date(s + 50, e, i) && (s += 100), s;
|
|
10278
10281
|
}
|
|
10279
|
-
function
|
|
10282
|
+
function ct(o) {
|
|
10280
10283
|
const t = /^([-+]\d{1}|\d{2,4}|[-+]\d{6})-(\d{1,2})-(\d{1,2})$/u.exec(o);
|
|
10281
10284
|
if (!t)
|
|
10282
10285
|
return;
|
|
@@ -10306,7 +10309,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
10306
10309
|
Code distributed by Google as part of the polymer project is also
|
|
10307
10310
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10308
10311
|
*/
|
|
10309
|
-
class
|
|
10312
|
+
class jt {
|
|
10310
10313
|
constructor() {
|
|
10311
10314
|
this._asyncModule = null, this._callback = null, this._timer = null;
|
|
10312
10315
|
}
|
|
@@ -10321,7 +10324,7 @@ class Vt {
|
|
|
10321
10324
|
*/
|
|
10322
10325
|
setConfig(t, e) {
|
|
10323
10326
|
this._asyncModule = t, this._callback = e, this._timer = this._asyncModule.run(() => {
|
|
10324
|
-
this._timer = null,
|
|
10327
|
+
this._timer = null, Et.delete(this), this._callback();
|
|
10325
10328
|
});
|
|
10326
10329
|
}
|
|
10327
10330
|
/**
|
|
@@ -10330,7 +10333,7 @@ class Vt {
|
|
|
10330
10333
|
* @return {void}
|
|
10331
10334
|
*/
|
|
10332
10335
|
cancel() {
|
|
10333
|
-
this.isActive() && (this._cancelAsync(),
|
|
10336
|
+
this.isActive() && (this._cancelAsync(), Et.delete(this));
|
|
10334
10337
|
}
|
|
10335
10338
|
/**
|
|
10336
10339
|
* Cancels a debouncer's async callback.
|
|
@@ -10394,15 +10397,15 @@ class Vt {
|
|
|
10394
10397
|
* @return {!Debouncer} Returns a debouncer object.
|
|
10395
10398
|
*/
|
|
10396
10399
|
static debounce(t, e, i) {
|
|
10397
|
-
return t instanceof
|
|
10400
|
+
return t instanceof jt ? t._cancelAsync() : t = new jt(), t.setConfig(e, i), t;
|
|
10398
10401
|
}
|
|
10399
10402
|
}
|
|
10400
|
-
let
|
|
10403
|
+
let Et = /* @__PURE__ */ new Set();
|
|
10401
10404
|
const Yc = function(o) {
|
|
10402
|
-
|
|
10405
|
+
Et.add(o);
|
|
10403
10406
|
}, jc = function() {
|
|
10404
|
-
const o = !!
|
|
10405
|
-
return
|
|
10407
|
+
const o = !!Et.size;
|
|
10408
|
+
return Et.forEach((t) => {
|
|
10406
10409
|
try {
|
|
10407
10410
|
t.flush();
|
|
10408
10411
|
} catch (e) {
|
|
@@ -10582,7 +10585,7 @@ class Sr extends HTMLElement {
|
|
|
10582
10585
|
const t = this.$.scroller.scrollTop;
|
|
10583
10586
|
(t < this._bufferHeight || t > this._initialScroll * 2 - this._bufferHeight) && (this._initialIndex = ~~this.position, this._reset());
|
|
10584
10587
|
const e = this.itemHeight + this.bufferOffset, i = t > this._buffers[1].translateY + e, s = t < this._buffers[0].translateY + e;
|
|
10585
|
-
(i || s) && (this._translateBuffer(s), this._updateClones()), this._preventScrollEvent || (this.dispatchEvent(new CustomEvent("custom-scroll", { bubbles: !1, composed: !0 })), this._mayHaveMomentum = !0), this._preventScrollEvent = !1, this._debouncerScrollFinish =
|
|
10588
|
+
(i || s) && (this._translateBuffer(s), this._updateClones()), this._preventScrollEvent || (this.dispatchEvent(new CustomEvent("custom-scroll", { bubbles: !1, composed: !0 })), this._mayHaveMomentum = !0), this._preventScrollEvent = !1, this._debouncerScrollFinish = et.debounce(this._debouncerScrollFinish, $t.after(200), () => {
|
|
10586
10589
|
const r = this.$.scroller.getBoundingClientRect();
|
|
10587
10590
|
!this._isVisible(this._buffers[0], r) && !this._isVisible(this._buffers[1], r) && (this.position = this.position);
|
|
10588
10591
|
});
|
|
@@ -10591,7 +10594,7 @@ class Sr extends HTMLElement {
|
|
|
10591
10594
|
_reset() {
|
|
10592
10595
|
this._scrollDisabled = !0, this.$.scroller.scrollTop = this._initialScroll, this._buffers[0].translateY = this._initialScroll - this._bufferHeight, this._buffers[1].translateY = this._initialScroll, this._buffers.forEach((t) => {
|
|
10593
10596
|
t.style.transform = `translate3d(0, ${t.translateY}px, 0)`;
|
|
10594
|
-
}), this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones(!0), this._debouncerUpdateClones =
|
|
10597
|
+
}), this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones(!0), this._debouncerUpdateClones = et.debounce(this._debouncerUpdateClones, $t.after(200), () => {
|
|
10595
10598
|
this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones();
|
|
10596
10599
|
}), this._scrollDisabled = !1;
|
|
10597
10600
|
}
|
|
@@ -10784,12 +10787,12 @@ const Wc = (o) => class extends o {
|
|
|
10784
10787
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10785
10788
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10786
10789
|
*/
|
|
10787
|
-
class qc extends
|
|
10790
|
+
class qc extends Ye(Wc(Oe)) {
|
|
10788
10791
|
static get is() {
|
|
10789
10792
|
return "vaadin-date-picker-year";
|
|
10790
10793
|
}
|
|
10791
10794
|
static get template() {
|
|
10792
|
-
return
|
|
10795
|
+
return Ve`
|
|
10793
10796
|
<style>
|
|
10794
10797
|
:host {
|
|
10795
10798
|
display: block;
|
|
@@ -10888,21 +10891,21 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
10888
10891
|
Code distributed by Google as part of the polymer project is also
|
|
10889
10892
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10890
10893
|
*/
|
|
10891
|
-
let
|
|
10892
|
-
function
|
|
10893
|
-
return
|
|
10894
|
+
let zi = null;
|
|
10895
|
+
function Li() {
|
|
10896
|
+
return zi;
|
|
10894
10897
|
}
|
|
10895
|
-
|
|
10898
|
+
Li.prototype = Object.create(HTMLTemplateElement.prototype, {
|
|
10896
10899
|
constructor: {
|
|
10897
|
-
value:
|
|
10900
|
+
value: Li,
|
|
10898
10901
|
writable: !0
|
|
10899
10902
|
}
|
|
10900
10903
|
});
|
|
10901
|
-
const Pr =
|
|
10904
|
+
const Pr = Ki(Li), Gc = ao(Pr);
|
|
10902
10905
|
function Jc(o, t) {
|
|
10903
|
-
|
|
10906
|
+
zi = o, Object.setPrototypeOf(o, t.prototype), new t(), zi = null;
|
|
10904
10907
|
}
|
|
10905
|
-
const Xc =
|
|
10908
|
+
const Xc = Ki(class {
|
|
10906
10909
|
});
|
|
10907
10910
|
function Zc(o, t) {
|
|
10908
10911
|
for (let e = 0; e < t.length; e++) {
|
|
@@ -11056,7 +11059,7 @@ function Zo(o) {
|
|
|
11056
11059
|
}
|
|
11057
11060
|
function eu(o, t, e) {
|
|
11058
11061
|
let i = e.mutableData ? Qc : Ie;
|
|
11059
|
-
|
|
11062
|
+
Ri.mixin && (i = Ri.mixin(i));
|
|
11060
11063
|
let s = class extends i {
|
|
11061
11064
|
};
|
|
11062
11065
|
return s.prototype.__templatizeOptions = e, s.prototype._bindTemplate(o), ou(s, o, t, e), s;
|
|
@@ -11143,8 +11146,8 @@ function ru() {
|
|
|
11143
11146
|
t.__dataHost._setPendingPropertyOrPath("_host_" + e, i[e], !0, !0);
|
|
11144
11147
|
};
|
|
11145
11148
|
}
|
|
11146
|
-
function
|
|
11147
|
-
if (
|
|
11149
|
+
function Ri(o, t, e) {
|
|
11150
|
+
if (Bt && !Zo(o))
|
|
11148
11151
|
throw new Error("strictTemplatePolicy: template owner not trusted");
|
|
11149
11152
|
if (e = /** @type {!TemplatizeOptions} */
|
|
11150
11153
|
e || {}, o.__templatizeOwner)
|
|
@@ -11425,7 +11428,7 @@ class es extends cu {
|
|
|
11425
11428
|
return s.observe(this, { childList: !0 }), !1;
|
|
11426
11429
|
}
|
|
11427
11430
|
let i = {};
|
|
11428
|
-
i[this.as] = !0, i[this.indexAs] = !0, i[this.itemsIndexAs] = !0, this.__ctor =
|
|
11431
|
+
i[this.as] = !0, i[this.indexAs] = !0, i[this.itemsIndexAs] = !0, this.__ctor = Ri(e, this, {
|
|
11429
11432
|
mutableData: this.mutableData,
|
|
11430
11433
|
parentModel: !0,
|
|
11431
11434
|
instanceProps: i,
|
|
@@ -11449,7 +11452,7 @@ class es extends cu {
|
|
|
11449
11452
|
if (pa(this.as, r)) {
|
|
11450
11453
|
let a = s[this.itemsIndexAs];
|
|
11451
11454
|
r == this.as && (this.items[a] = n);
|
|
11452
|
-
let l =
|
|
11455
|
+
let l = yt(this.as, `${JSCompiler_renameProperty("items", this)}.${a}`, r);
|
|
11453
11456
|
this.notifyPath(l, n);
|
|
11454
11457
|
}
|
|
11455
11458
|
}
|
|
@@ -11500,7 +11503,7 @@ class es extends cu {
|
|
|
11500
11503
|
* @param {number=} delay Delay in ms to debounce by.
|
|
11501
11504
|
*/
|
|
11502
11505
|
__debounceRender(t, e = 0) {
|
|
11503
|
-
this.__renderDebouncer =
|
|
11506
|
+
this.__renderDebouncer = jt.debounce(
|
|
11504
11507
|
this.__renderDebouncer,
|
|
11505
11508
|
e > 0 ? va.after(e) : Ys,
|
|
11506
11509
|
t.bind(this)
|
|
@@ -11779,7 +11782,7 @@ const uu = (o) => class extends oo(o) {
|
|
|
11779
11782
|
const r = new Date(0, 0);
|
|
11780
11783
|
r.setFullYear(e.getFullYear()), r.setMonth(e.getMonth()), r.setDate(1);
|
|
11781
11784
|
const n = new Date(0, 0);
|
|
11782
|
-
return n.setFullYear(e.getFullYear()), n.setMonth(e.getMonth() + 1), n.setDate(0), i && s && i.getMonth() === s.getMonth() && i.getMonth() === e.getMonth() && s.getDate() - i.getDate() >= 0 ? !1 : !
|
|
11785
|
+
return n.setFullYear(e.getFullYear()), n.setMonth(e.getMonth() + 1), n.setDate(0), i && s && i.getMonth() === s.getMonth() && i.getMonth() === e.getMonth() && s.getDate() - i.getDate() >= 0 ? !1 : !tt(r, i, s) && !tt(n, i, s);
|
|
11783
11786
|
}
|
|
11784
11787
|
/** @protected */
|
|
11785
11788
|
_getTitle(e, i) {
|
|
@@ -11936,9 +11939,9 @@ const du = P`
|
|
|
11936
11939
|
L("vaadin-month-calendar", du, {
|
|
11937
11940
|
moduleId: "vaadin-month-calendar-styles"
|
|
11938
11941
|
});
|
|
11939
|
-
class hu extends uu(
|
|
11942
|
+
class hu extends uu(Ye(Oe)) {
|
|
11940
11943
|
static get template() {
|
|
11941
|
-
return
|
|
11944
|
+
return Ve`
|
|
11942
11945
|
<div part="month-header" id="month-header" aria-hidden="true">[[_getTitle(month, i18n)]]</div>
|
|
11943
11946
|
<table
|
|
11944
11947
|
id="monthGrid"
|
|
@@ -12014,7 +12017,7 @@ class hu extends uu(je(Oe)) {
|
|
|
12014
12017
|
/** @private */
|
|
12015
12018
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
12016
12019
|
__getDatePart(t, e, i, s, r, n) {
|
|
12017
|
-
const a = ["date"], l = t >
|
|
12020
|
+
const a = ["date"], l = t > Ni(/* @__PURE__ */ new Date()), c = t < Ni(/* @__PURE__ */ new Date());
|
|
12018
12021
|
return this.__isDayDisabled(t, s, r, n) && a.push("disabled"), this.__isDayFocused(t, e) && a.push("focused"), this.__isDaySelected(t, i) && a.push("selected"), this._isToday(t) && a.push("today"), c && a.push("past"), l && a.push("future"), a.join(" ");
|
|
12019
12022
|
}
|
|
12020
12023
|
/** @private */
|
|
@@ -12032,7 +12035,7 @@ class hu extends uu(je(Oe)) {
|
|
|
12032
12035
|
}
|
|
12033
12036
|
/** @private */
|
|
12034
12037
|
__isDayDisabled(t, e, i, s) {
|
|
12035
|
-
return !
|
|
12038
|
+
return !tt(t, e, i, s);
|
|
12036
12039
|
}
|
|
12037
12040
|
/** @private */
|
|
12038
12041
|
__getDayAriaDisabled(t, e, i, s) {
|
|
@@ -12401,7 +12404,7 @@ const pu = (o) => class extends o {
|
|
|
12401
12404
|
}
|
|
12402
12405
|
/** @private */
|
|
12403
12406
|
_doIgnoreTaps() {
|
|
12404
|
-
this._ignoreTaps = !0, this._debouncer =
|
|
12407
|
+
this._ignoreTaps = !0, this._debouncer = et.debounce(this._debouncer, $t.after(300), () => {
|
|
12405
12408
|
this._ignoreTaps = !1;
|
|
12406
12409
|
});
|
|
12407
12410
|
}
|
|
@@ -12624,13 +12627,13 @@ const pu = (o) => class extends o {
|
|
|
12624
12627
|
}
|
|
12625
12628
|
}
|
|
12626
12629
|
focusDate(e, i) {
|
|
12627
|
-
return
|
|
12630
|
+
return st(this, null, function* () {
|
|
12628
12631
|
const s = e || this.selectedDate || this.initialPosition || /* @__PURE__ */ new Date();
|
|
12629
12632
|
this.focusedDate = s, i || (this._focusedMonthDate = s.getDate()), yield this.focusDateElement(!1);
|
|
12630
12633
|
});
|
|
12631
12634
|
}
|
|
12632
12635
|
focusDateElement(e = !0) {
|
|
12633
|
-
return
|
|
12636
|
+
return st(this, null, function* () {
|
|
12634
12637
|
this.__pendingDateFocus = this.focusedDate, this.calendars.length || (yield new Promise((i) => {
|
|
12635
12638
|
rr(this, () => {
|
|
12636
12639
|
ro(), i();
|
|
@@ -12668,7 +12671,7 @@ const pu = (o) => class extends o {
|
|
|
12668
12671
|
}
|
|
12669
12672
|
/** @private */
|
|
12670
12673
|
_dateAllowed(e, i = this.minDate, s = this.maxDate, r = this.isDateDisabled) {
|
|
12671
|
-
return
|
|
12674
|
+
return tt(e, i, s, r);
|
|
12672
12675
|
}
|
|
12673
12676
|
/** @private */
|
|
12674
12677
|
_isTodayAllowed(e, i, s) {
|
|
@@ -12761,10 +12764,10 @@ L("vaadin-date-picker-overlay-content", fu, {
|
|
|
12761
12764
|
moduleId: "vaadin-date-picker-overlay-content-styles"
|
|
12762
12765
|
});
|
|
12763
12766
|
class mu extends pu(
|
|
12764
|
-
|
|
12767
|
+
ot(Ye(Wt(Oe)))
|
|
12765
12768
|
) {
|
|
12766
12769
|
static get template() {
|
|
12767
|
-
return
|
|
12770
|
+
return Ve`
|
|
12768
12771
|
<div part="overlay-header" on-touchend="_preventDefault" aria-hidden="true">
|
|
12769
12772
|
<div part="label">[[_formatDisplayed(selectedDate, i18n, label)]]</div>
|
|
12770
12773
|
<div part="clear-button" hidden$="[[!selectedDate]]"></div>
|
|
@@ -12957,9 +12960,9 @@ const Dr = U(
|
|
|
12957
12960
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
12958
12961
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12959
12962
|
*/
|
|
12960
|
-
const
|
|
12963
|
+
const hi = /* @__PURE__ */ new WeakMap();
|
|
12961
12964
|
function _u(o) {
|
|
12962
|
-
return
|
|
12965
|
+
return hi.has(o) || hi.set(o, /* @__PURE__ */ new Set()), hi.get(o);
|
|
12963
12966
|
}
|
|
12964
12967
|
function gu(o, t) {
|
|
12965
12968
|
const e = document.createElement("style");
|
|
@@ -13196,7 +13199,7 @@ const Tr = U(
|
|
|
13196
13199
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13197
13200
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13198
13201
|
*/
|
|
13199
|
-
const vu = (o) => class extends Tr(
|
|
13202
|
+
const vu = (o) => class extends Tr(Gt(o)) {
|
|
13200
13203
|
static get properties() {
|
|
13201
13204
|
return {
|
|
13202
13205
|
/**
|
|
@@ -13271,9 +13274,9 @@ const vu = (o) => class extends Tr(Jt(o)) {
|
|
|
13271
13274
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
13272
13275
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13273
13276
|
*/
|
|
13274
|
-
const
|
|
13277
|
+
const pi = /* @__PURE__ */ new Map();
|
|
13275
13278
|
function lo(o) {
|
|
13276
|
-
return
|
|
13279
|
+
return pi.has(o) || pi.set(o, /* @__PURE__ */ new WeakMap()), pi.get(o);
|
|
13277
13280
|
}
|
|
13278
13281
|
function Mr(o, t) {
|
|
13279
13282
|
o && o.removeAttribute(t);
|
|
@@ -13284,16 +13287,16 @@ function Or(o, t) {
|
|
|
13284
13287
|
const e = lo(t);
|
|
13285
13288
|
if (e.has(o))
|
|
13286
13289
|
return;
|
|
13287
|
-
const i =
|
|
13290
|
+
const i = Xi(o.getAttribute(t));
|
|
13288
13291
|
e.set(o, new Set(i));
|
|
13289
13292
|
}
|
|
13290
13293
|
function yu(o, t) {
|
|
13291
|
-
if (!o)
|
|
13294
|
+
if (!o || !t)
|
|
13292
13295
|
return;
|
|
13293
13296
|
const e = lo(t), i = e.get(o);
|
|
13294
|
-
!i || i.size === 0 ? o.removeAttribute(t) : cr(o, t,
|
|
13297
|
+
!i || i.size === 0 ? o.removeAttribute(t) : cr(o, t, Kt(i)), e.delete(o);
|
|
13295
13298
|
}
|
|
13296
|
-
function
|
|
13299
|
+
function fi(o, t, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
13297
13300
|
if (!o || !t)
|
|
13298
13301
|
return;
|
|
13299
13302
|
const { newId: i, oldId: s, fromUser: r } = e, n = lo(t), a = n.get(o);
|
|
@@ -13302,7 +13305,7 @@ function mi(o, t, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
|
13302
13305
|
return;
|
|
13303
13306
|
}
|
|
13304
13307
|
r && (a ? i || n.delete(o) : Or(o, t), Mr(o, t)), Gl(o, t, s);
|
|
13305
|
-
const l = i ||
|
|
13308
|
+
const l = i || Kt(a);
|
|
13306
13309
|
l && cr(o, t, l);
|
|
13307
13310
|
}
|
|
13308
13311
|
function xu(o, t) {
|
|
@@ -13395,7 +13398,7 @@ class wu {
|
|
|
13395
13398
|
* @private
|
|
13396
13399
|
*/
|
|
13397
13400
|
__setLabelIdToAriaAttribute(t, e, i) {
|
|
13398
|
-
|
|
13401
|
+
fi(this.__target, "aria-labelledby", { newId: t, oldId: e, fromUser: i });
|
|
13399
13402
|
}
|
|
13400
13403
|
/**
|
|
13401
13404
|
* @param {string | null | undefined} errorId
|
|
@@ -13403,7 +13406,7 @@ class wu {
|
|
|
13403
13406
|
* @private
|
|
13404
13407
|
*/
|
|
13405
13408
|
__setErrorIdToAriaAttribute(t, e) {
|
|
13406
|
-
|
|
13409
|
+
fi(this.__target, "aria-describedby", { newId: t, oldId: e, fromUser: !1 });
|
|
13407
13410
|
}
|
|
13408
13411
|
/**
|
|
13409
13412
|
* @param {string | null | undefined} helperId
|
|
@@ -13411,7 +13414,7 @@ class wu {
|
|
|
13411
13414
|
* @private
|
|
13412
13415
|
*/
|
|
13413
13416
|
__setHelperIdToAriaAttribute(t, e) {
|
|
13414
|
-
|
|
13417
|
+
fi(this.__target, "aria-describedby", { newId: t, oldId: e, fromUser: !1 });
|
|
13415
13418
|
}
|
|
13416
13419
|
/**
|
|
13417
13420
|
* @param {boolean} required
|
|
@@ -13431,12 +13434,12 @@ me.style.position = "fixed";
|
|
|
13431
13434
|
me.style.clip = "rect(0px, 0px, 0px, 0px)";
|
|
13432
13435
|
me.setAttribute("aria-live", "polite");
|
|
13433
13436
|
document.body.appendChild(me);
|
|
13434
|
-
let
|
|
13437
|
+
let Ot;
|
|
13435
13438
|
function Eu(o, t = {}) {
|
|
13436
13439
|
const e = t.mode || "polite", i = t.timeout === void 0 ? 150 : t.timeout;
|
|
13437
|
-
e === "alert" ? (me.removeAttribute("aria-live"), me.removeAttribute("role"),
|
|
13440
|
+
e === "alert" ? (me.removeAttribute("aria-live"), me.removeAttribute("role"), Ot = et.debounce(Ot, dc, () => {
|
|
13438
13441
|
me.setAttribute("role", "alert");
|
|
13439
|
-
})) : (
|
|
13442
|
+
})) : (Ot && Ot.cancel(), me.removeAttribute("role"), me.setAttribute("aria-live", e)), me.textContent = "", setTimeout(() => {
|
|
13440
13443
|
me.textContent = o;
|
|
13441
13444
|
}, i);
|
|
13442
13445
|
}
|
|
@@ -13447,7 +13450,7 @@ function Eu(o, t = {}) {
|
|
|
13447
13450
|
*/
|
|
13448
13451
|
class co extends Re {
|
|
13449
13452
|
constructor(t, e, i, s = {}) {
|
|
13450
|
-
super(t, e, i,
|
|
13453
|
+
super(t, e, i, Pt(Ct({}, s), { useUniqueId: !0 }));
|
|
13451
13454
|
}
|
|
13452
13455
|
/**
|
|
13453
13456
|
* Override to initialize the newly added custom node.
|
|
@@ -13751,7 +13754,7 @@ class Cu extends co {
|
|
|
13751
13754
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13752
13755
|
*/
|
|
13753
13756
|
const Pu = U(
|
|
13754
|
-
(o) => class extends
|
|
13757
|
+
(o) => class extends ot(o) {
|
|
13755
13758
|
static get properties() {
|
|
13756
13759
|
return {
|
|
13757
13760
|
/**
|
|
@@ -13865,7 +13868,7 @@ const Ir = U(
|
|
|
13865
13868
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13866
13869
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13867
13870
|
*/
|
|
13868
|
-
const ku = (o) => class extends Ir(Pu(
|
|
13871
|
+
const ku = (o) => class extends Ir(Pu(ot(o))) {
|
|
13869
13872
|
static get properties() {
|
|
13870
13873
|
return {
|
|
13871
13874
|
/**
|
|
@@ -14173,7 +14176,7 @@ const Fr = U(
|
|
|
14173
14176
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14174
14177
|
*/
|
|
14175
14178
|
const Tu = (o) => class extends bu(
|
|
14176
|
-
Dr(Fr(ku(vu(
|
|
14179
|
+
Dr(Fr(ku(vu(Gt(o)))))
|
|
14177
14180
|
) {
|
|
14178
14181
|
static get properties() {
|
|
14179
14182
|
return {
|
|
@@ -14305,7 +14308,7 @@ const Tu = (o) => class extends bu(
|
|
|
14305
14308
|
}
|
|
14306
14309
|
/** @protected */
|
|
14307
14310
|
_markInputPrevented() {
|
|
14308
|
-
this.setAttribute("input-prevented", ""), this._preventInputDebouncer =
|
|
14311
|
+
this.setAttribute("input-prevented", ""), this._preventInputDebouncer = et.debounce(this._preventInputDebouncer, $t.after(200), () => {
|
|
14309
14312
|
this.removeAttribute("input-prevented");
|
|
14310
14313
|
});
|
|
14311
14314
|
}
|
|
@@ -14555,7 +14558,7 @@ class Ru {
|
|
|
14555
14558
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14556
14559
|
*/
|
|
14557
14560
|
const Bu = (o) => class extends Lu(
|
|
14558
|
-
|
|
14561
|
+
ot(Dr(Fr(Gt(o))))
|
|
14559
14562
|
) {
|
|
14560
14563
|
static get properties() {
|
|
14561
14564
|
return {
|
|
@@ -14759,7 +14762,7 @@ const Bu = (o) => class extends Lu(
|
|
|
14759
14762
|
let r, n = s.getMonth(), a = s.getFullYear();
|
|
14760
14763
|
if (i.length === 3) {
|
|
14761
14764
|
if (n = parseInt(i[0]) - 1, r = parseInt(i[1]), a = parseInt(i[2]), i[2].length < 3 && a >= 0) {
|
|
14762
|
-
const l = this.referenceDate ?
|
|
14765
|
+
const l = this.referenceDate ? ct(this.referenceDate) : /* @__PURE__ */ new Date();
|
|
14763
14766
|
a = Bc(l, a, n, r);
|
|
14764
14767
|
}
|
|
14765
14768
|
} else
|
|
@@ -14922,7 +14925,7 @@ const Bu = (o) => class extends Lu(
|
|
|
14922
14925
|
* @protected
|
|
14923
14926
|
*/
|
|
14924
14927
|
_onFocus(e) {
|
|
14925
|
-
super._onFocus(e), this._noInput && !
|
|
14928
|
+
super._onFocus(e), this._noInput && !Ji() && e.target.blur();
|
|
14926
14929
|
}
|
|
14927
14930
|
/**
|
|
14928
14931
|
* Override an event listener from `DelegateFocusMixin`
|
|
@@ -14984,7 +14987,7 @@ const Bu = (o) => class extends Lu(
|
|
|
14984
14987
|
if (!this.i18n.parseDate)
|
|
14985
14988
|
return;
|
|
14986
14989
|
let i = this.i18n.parseDate(e);
|
|
14987
|
-
if (i && (i =
|
|
14990
|
+
if (i && (i = ct(`${i.year}-${i.month + 1}-${i.day}`)), i && !isNaN(i.getTime()))
|
|
14988
14991
|
return i;
|
|
14989
14992
|
}
|
|
14990
14993
|
/**
|
|
@@ -15003,7 +15006,7 @@ const Bu = (o) => class extends Lu(
|
|
|
15003
15006
|
* @return {boolean} True if the value is valid
|
|
15004
15007
|
*/
|
|
15005
15008
|
checkValidity() {
|
|
15006
|
-
const e = this._inputElementValue, i = !e || !!this._selectedDate && e === this.__formatDate(this._selectedDate), s = !this._selectedDate ||
|
|
15009
|
+
const e = this._inputElementValue, i = !e || !!this._selectedDate && e === this.__formatDate(this._selectedDate), s = !this._selectedDate || tt(this._selectedDate, this._minDate, this._maxDate, this.isDateDisabled);
|
|
15007
15010
|
let r = !0;
|
|
15008
15011
|
return this.inputElement && (this.inputElement.checkValidity ? r = this.inputElement.checkValidity() : this.inputElement.validate && (r = this.inputElement.validate())), i && s && r;
|
|
15009
15012
|
}
|
|
@@ -15126,7 +15129,7 @@ const Bu = (o) => class extends Lu(
|
|
|
15126
15129
|
* @override
|
|
15127
15130
|
*/
|
|
15128
15131
|
_valueChanged(e, i) {
|
|
15129
|
-
const s =
|
|
15132
|
+
const s = ct(e);
|
|
15130
15133
|
if (e && !s) {
|
|
15131
15134
|
this.value = i;
|
|
15132
15135
|
return;
|
|
@@ -15165,8 +15168,8 @@ const Bu = (o) => class extends Lu(
|
|
|
15165
15168
|
}
|
|
15166
15169
|
/** @private */
|
|
15167
15170
|
_getInitialPosition() {
|
|
15168
|
-
const e =
|
|
15169
|
-
return e ||
|
|
15171
|
+
const e = ct(this.initialPosition), i = this._selectedDate || this._overlayContent.initialPosition || e || /* @__PURE__ */ new Date();
|
|
15172
|
+
return e || tt(i, this._minDate, this._maxDate, this.isDateDisabled) ? i : this._minDate || this._maxDate ? xr(i, [this._minDate, this._maxDate]) : /* @__PURE__ */ new Date();
|
|
15170
15173
|
}
|
|
15171
15174
|
/**
|
|
15172
15175
|
* Tries to parse the input element's value as a date. If the input value
|
|
@@ -15304,7 +15307,7 @@ const Bu = (o) => class extends Lu(
|
|
|
15304
15307
|
}
|
|
15305
15308
|
/** @private */
|
|
15306
15309
|
__computeMinOrMaxDate(e) {
|
|
15307
|
-
return
|
|
15310
|
+
return ct(e);
|
|
15308
15311
|
}
|
|
15309
15312
|
/**
|
|
15310
15313
|
* Fired when the user commits a value change.
|
|
@@ -15347,12 +15350,12 @@ const Hu = P`
|
|
|
15347
15350
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15348
15351
|
*/
|
|
15349
15352
|
L("vaadin-date-picker", [zu, Hu], { moduleId: "vaadin-date-picker-styles" });
|
|
15350
|
-
class $u extends Bu(Tu(
|
|
15353
|
+
class $u extends Bu(Tu(Ye(hr(Oe)))) {
|
|
15351
15354
|
static get is() {
|
|
15352
15355
|
return "vaadin-date-picker";
|
|
15353
15356
|
}
|
|
15354
15357
|
static get template() {
|
|
15355
|
-
return
|
|
15358
|
+
return Ve`
|
|
15356
15359
|
<div class="vaadin-date-picker-container">
|
|
15357
15360
|
<div part="label">
|
|
15358
15361
|
<slot name="label"></slot>
|
|
@@ -15440,7 +15443,7 @@ var Nr = { exports: {} };
|
|
|
15440
15443
|
(function(o, t) {
|
|
15441
15444
|
(function(e, i) {
|
|
15442
15445
|
o.exports = i();
|
|
15443
|
-
})(
|
|
15446
|
+
})(Vr, function() {
|
|
15444
15447
|
var e = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, i = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, s = /\d\d/, r = /\d\d?/, n = /\d*[^-_:/,()\s\d]+/, a = {}, l = function(p) {
|
|
15445
15448
|
return (p = +p) + (p > 68 ? 1900 : 2e3);
|
|
15446
15449
|
}, c = function(p) {
|
|
@@ -15567,7 +15570,7 @@ var Nr = { exports: {} };
|
|
|
15567
15570
|
});
|
|
15568
15571
|
})(Nr);
|
|
15569
15572
|
var Yu = Nr.exports;
|
|
15570
|
-
const ju = /* @__PURE__ */
|
|
15573
|
+
const ju = /* @__PURE__ */ Ur(Yu);
|
|
15571
15574
|
function ts(o, t) {
|
|
15572
15575
|
Wr(o, t);
|
|
15573
15576
|
}
|
|
@@ -15603,8 +15606,8 @@ const is = {
|
|
|
15603
15606
|
SelfExclusionUntilSelectedDate: "Until",
|
|
15604
15607
|
confirmationModalTitle: "Confirmation",
|
|
15605
15608
|
selfExclusionSuccess: "Self exclusion active",
|
|
15606
|
-
|
|
15607
|
-
|
|
15609
|
+
confirmationModalTextPeriodSelfExclusion: "Are you sure you want to self-exclude for {period}?",
|
|
15610
|
+
confirmationModalTextUntilSelfExclusion: "Are you sure you want to self-exclude until {date}?",
|
|
15608
15611
|
errorSelfExclusionCall: "There was a problem while making the self exclusion request.",
|
|
15609
15612
|
generalError: "There was an error while fetching the self exclusion.",
|
|
15610
15613
|
InvalidSession: "The session is exipired."
|
|
@@ -15637,8 +15640,8 @@ const is = {
|
|
|
15637
15640
|
SelfExclusionUntilSelectedDate: "Until",
|
|
15638
15641
|
confirmationModalTitle: "Confirmation",
|
|
15639
15642
|
selfExclusionSuccess: "Self exclusion active",
|
|
15640
|
-
|
|
15641
|
-
|
|
15643
|
+
confirmationModalTextPeriodSelfExclusion: "Are you sure you want to self-exclude for {period}?",
|
|
15644
|
+
confirmationModalTextUntilSelfExclusion: "Are you sure you want to self-exclude until {date}?",
|
|
15642
15645
|
errorSelfExclusionCall: "There was a problem while making the self exclusion request.",
|
|
15643
15646
|
generalError: "There was an error while fetching the self exclusion.",
|
|
15644
15647
|
InvalidSession: "The session is exipired."
|
|
@@ -15671,8 +15674,8 @@ const is = {
|
|
|
15671
15674
|
SelfExclusionUntilSelectedDate: "直到",
|
|
15672
15675
|
selfExclusionSuccess: "自我排斥活躍",
|
|
15673
15676
|
confirmationModalTitle: "確認",
|
|
15674
|
-
|
|
15675
|
-
|
|
15677
|
+
confirmationModalTextPeriodSelfExclusion: "您確定要自我排除 {period} 嗎?",
|
|
15678
|
+
confirmationModalTextUntilSelfExclusion: "您確定要自我排除直到 {date} 嗎?",
|
|
15676
15679
|
generalError: "提取自我排除时发生错误。",
|
|
15677
15680
|
errorSelfExclusionCall: "发出自我排除请求时出现问题。",
|
|
15678
15681
|
InvalidSession: "会话已过期。"
|
|
@@ -15705,8 +15708,8 @@ const is = {
|
|
|
15705
15708
|
SelfExclusionUntilSelectedDate: "Jusqu'à",
|
|
15706
15709
|
selfExclusionSuccess: "Auto exclusion active",
|
|
15707
15710
|
confirmationModalTitle: "Confirmation",
|
|
15708
|
-
|
|
15709
|
-
|
|
15711
|
+
confirmationModalTextPeriodSelfExclusion: "Êtes-vous sûr de vouloir vous auto-exclure pour {period} ?",
|
|
15712
|
+
confirmationModalTextUntilSelfExclusion: "Êtes-vous sûr de vouloir vous auto-exclure jusqu'au {date} ?",
|
|
15710
15713
|
generalError: "Une erreur s'est produite lors de la récupération de l'auto-exclusion.",
|
|
15711
15714
|
errorSelfExclusionCall: "Un problème est survenu lors de la demande d'auto-exclusion.",
|
|
15712
15715
|
InvalidSession: "La session a expiré."
|
|
@@ -15739,8 +15742,8 @@ const is = {
|
|
|
15739
15742
|
SelfExclusionUntilSelectedDate: "Până la",
|
|
15740
15743
|
selfExclusionSuccess: "Auto-excludere activa",
|
|
15741
15744
|
confirmationModalTitle: "Confirmare",
|
|
15742
|
-
|
|
15743
|
-
|
|
15745
|
+
confirmationModalTextPeriodSelfExclusion: "Sunteți sigur că doriți să vă auto-excludeți pentru {period}?",
|
|
15746
|
+
confirmationModalTextUntilSelfExclusion: "Sunteți sigur că doriți să vă auto-excludeți până la {date}?",
|
|
15744
15747
|
generalError: "A apărut o eroare la preluarea auto-excluderii.",
|
|
15745
15748
|
errorSelfExclusionCall: "A apărut o problemă la efectuarea cererii de auto-excludere.",
|
|
15746
15749
|
InvalidSession: "Sesiunea a expirat."
|
|
@@ -15773,8 +15776,8 @@ const is = {
|
|
|
15773
15776
|
SelfExclusionUntilSelectedDate: "Hasta",
|
|
15774
15777
|
selfExclusionSuccess: "Auto Exclusión activa.",
|
|
15775
15778
|
confirmationModalTitle: "Confirmación",
|
|
15776
|
-
|
|
15777
|
-
|
|
15779
|
+
confirmationModalTextPeriodSelfExclusion: "¿Estás seguro de que deseas autoexcluirte por {period}?",
|
|
15780
|
+
confirmationModalTextUntilSelfExclusion: "¿Estás seguro de que deseas autoexcluirte hasta {date}?",
|
|
15778
15781
|
generalError: "Hubo un error al obtener la autoexclusión.",
|
|
15779
15782
|
errorSelfExclusionCall: "Hubo un problema al hacer la solicitud de autoexclusión.",
|
|
15780
15783
|
InvalidSession: "La sesión ha expirado."
|
|
@@ -15807,8 +15810,8 @@ const is = {
|
|
|
15807
15810
|
SelfExclusionUntilSelectedDate: "Até",
|
|
15808
15811
|
selfExclusionSuccess: "Autoexclusão ativa",
|
|
15809
15812
|
confirmationModalTitle: "Confirmação",
|
|
15810
|
-
|
|
15811
|
-
|
|
15813
|
+
confirmationModalTextPeriodSelfExclusion: "Tem a certeza de que deseja autoexcluir-se por {period}?",
|
|
15814
|
+
confirmationModalTextUntilSelfExclusion: "Tem a certeza de que deseja autoexcluir-se até {date}?",
|
|
15812
15815
|
generalError: "Ocorreu um erro ao buscar a autoexclusão.",
|
|
15813
15816
|
errorSelfExclusionCall: "Ocorreu um problema ao fazer a solicitação de autoexclusão.",
|
|
15814
15817
|
InvalidSession: "A sessão expirou."
|
|
@@ -15841,8 +15844,8 @@ const is = {
|
|
|
15841
15844
|
SelfExclusionUntilSelectedDate: "Do",
|
|
15842
15845
|
selfExclusionSuccess: "Aktivno samoisključivanje",
|
|
15843
15846
|
confirmationModalTitle: "Potvrda",
|
|
15844
|
-
|
|
15845
|
-
|
|
15847
|
+
confirmationModalTextPeriodSelfExclusion: "Jeste li sigurni da se želite samoisključiti na {period}?",
|
|
15848
|
+
confirmationModalTextUntilSelfExclusion: "Jeste li sigurni da se želite samoisključiti do {date}?",
|
|
15846
15849
|
generalError: "Došlo je do pogreške prilikom dohvaćanja samoisključenja.",
|
|
15847
15850
|
errorSelfExclusionCall: "Došlo je do problema prilikom slanja zahtjeva za samoisključenje.",
|
|
15848
15851
|
InvalidSession: "Sesija je istekla."
|
|
@@ -15875,8 +15878,8 @@ const is = {
|
|
|
15875
15878
|
SelfExclusionUntilSelectedDate: "Até",
|
|
15876
15879
|
selfExclusionSuccess: "Autoexclusão ativa",
|
|
15877
15880
|
confirmationModalTitle: "Confirmação",
|
|
15878
|
-
|
|
15879
|
-
|
|
15881
|
+
confirmationModalTextPeriodSelfExclusion: "Você tem certeza de que deseja se autoexcluir por {period}?",
|
|
15882
|
+
confirmationModalTextUntilSelfExclusion: "Você tem certeza de que deseja se autoexcluir até {date}?",
|
|
15880
15883
|
generalError: "Houve um erro ao buscar a autoexclusão.",
|
|
15881
15884
|
errorSelfExclusionCall: "Houve um problema ao fazer a solicitação de autoexclusão.",
|
|
15882
15885
|
InvalidSession: "A sessão expirou."
|
|
@@ -15909,8 +15912,8 @@ const is = {
|
|
|
15909
15912
|
SelfExclusionUntilSelectedDate: "Hasta",
|
|
15910
15913
|
selfExclusionSuccess: "Auto-exclusión activa",
|
|
15911
15914
|
confirmationModalTitle: "Confirmación",
|
|
15912
|
-
|
|
15913
|
-
|
|
15915
|
+
confirmationModalTextPeriodSelfExclusion: "¿Estás seguro de que deseas autoexcluirte por {period}?",
|
|
15916
|
+
confirmationModalTextUntilSelfExclusion: "¿Estás seguro de que deseas autoexcluirte hasta {date}?",
|
|
15914
15917
|
generalError: "Hubo un error al obtener la autoexclusión.",
|
|
15915
15918
|
errorSelfExclusionCall: "Hubo un problema al hacer la solicitud de autoexclusión.",
|
|
15916
15919
|
InvalidSession: "La sesión ha expirado."
|
|
@@ -15943,15 +15946,15 @@ const is = {
|
|
|
15943
15946
|
SelfExclusionUntilSelectedDate: "Tarihe kadar",
|
|
15944
15947
|
selfExclusionSuccess: "Kendini dışlama etkin",
|
|
15945
15948
|
confirmationModalTitle: "Onay",
|
|
15946
|
-
|
|
15947
|
-
|
|
15949
|
+
confirmationModalTextPeriodSelfExclusion: "{period} için kendinizi hariç tutmak istediğinizden emin misiniz?",
|
|
15950
|
+
confirmationModalTextUntilSelfExclusion: "{date} tarihine kadar kendinizi hariç tutmak istediğinizden emin misiniz?",
|
|
15948
15951
|
generalError: "Kendi kendini dışlama alınırken bir hata oluştu.",
|
|
15949
15952
|
errorSelfExclusionCall: "Kendi kendini dışlama isteği yapılırken bir sorun oluştu.",
|
|
15950
15953
|
InvalidSession: "Oturum süresi doldu."
|
|
15951
15954
|
}
|
|
15952
15955
|
};
|
|
15953
15956
|
function Uu(o) {
|
|
15954
|
-
|
|
15957
|
+
Zr(o, "svelte-st6cko", 'a{cursor:pointer;text-decoration:underline;font-weight:600}.PlayerSelfExclusionTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.PlayerSelfExclusionTitleMobile{font-size:var(--emw--font-size-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerSelfExclusionTitleNone{display:none}.SelfExclusionContainer{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));container-type:inline-size}.SelfExclusionContainer .SelfExclusionWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px;border-radius:10px;max-width:100%;min-height:500px;opacity:1;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.SelfExclusionContainer .SelfExclusionWrapper.SelfExclusionWrapperMobile{padding:20px 15px;max-width:unset;border-radius:0}.MenuReturnButton{color:var(--emw--color-gray-300, #58586B);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.SelfExclusionTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weight-bold, 700)}.SelfExclusionTitle.SelfExclusionTitleMobile{font-size:var(--emw--font-size-large, 20px)}.SelfExclusionNotification{color:var(--emw--color-gray-300, #58586B);line-height:24px}.SelfExclusionNotification.SelfExclusionDescriptionMobile{font-size:var(--emw--font-size-x-small, 12px);line-height:19px}.SelfExclusionNotification .SelfExclusionDescriptionText a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px;min-height:180px}@container (max-width: 768px){.SelfExclusionDescription{font-size:var(--emw--font-size-x-small, 12px);line-height:19px;min-height:230px}.SelfExclusionDescription .SelfExclusionDescriptionText a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}}.SelfExclusionConfigWrapper{width:50%;height:100%;position:relative;margin-bottom:var(--emw--spacing-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-radius:var(--emw--border-radius-medium, 10px);cursor:pointer}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px)}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel .SelfExclusionConfigIcon{width:15px;height:15px;fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));transform:rotateZ(-90deg);transition:all 0.5s ease-in-out}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel p{margin:0;font-family:inherit}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel .SelfExclusionConfigIcon.active{transform:rotateZ(0deg)}.SelfExclusionConfigWrapper .SelfExclusionDropDown{max-height:0px;overflow:hidden;box-sizing:border-box;transition:all 0.5s ease-in-out;opacity:0;color:var(--emw--color-gray-300, #58586B);background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:0px 0px var(--emw--border-radius-medium, 10px) var(--emw--border-radius-medium, 10px)}.SelfExclusionConfigWrapper .SelfExclusionDropDown div{padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px);font-size:var(--emw--font-size-x-small, 12px);border-top:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));transition:all 0.5s ease-in-out;font-family:inherit}.SelfExclusionConfigWrapper .SelfExclusionDropDown div:hover{color:var(--emw--color-white, #FFFFFF);background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionConfigWrapper .SelfExclusionDropDown.active{max-height:600px;opacity:1}.SelfExclusionConfigWrapper.SelfExclusionConfigWrapperMobile{width:100%;font-size:var(--emw--font-size-x-small, 12px)}.SelfExclusionConfigWrapper.SelfExclusionConfigWrapperMobile .SelfExclusionConfigLabel .SelfExclusionConfigIcon{width:10px;height:10px}.SelfExclusionDateWrapper{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:16px;position:relative;width:50%}.SelfExclusionDateWrapper label{font-size:var(--emw--font-size-small, 14px);font-weight:300;padding-bottom:5px}.SelfExclusionDateWrapper .SelfExclusionDateInstructions{font-size:var(--emw--font-size-small, 12px);font-weight:300;padding-bottom:5px;line-height:18px}.SelfExclusionDateWrapper .SelfExclusionDateInstructions strong{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionDateWrapper input{font-family:inherit;width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:var(--emw--size-standard, 16px);line-height:18px}.SelfExclusionDateWrapper.SelfExclusionDateWrapperMobile{width:100%}.SelfExclusionRadioWrapper{display:block;position:relative;padding:4px 0 0 0;margin-bottom:16px;font-size:var(--emw--size-standard, 16px);user-select:none;line-height:18px}.SelfExclusionRadioWrapper label{font-size:var(--emw--size-standard, 16px);cursor:pointer;padding-left:35px}.SelfExclusionRadioWrapper input{font-family:inherit;position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SelfExclusionRadioWrapper .Checkmark{position:absolute;top:0;left:0;height:25px;width:25px;background-color:var(--emw--color-gray-100, #E6E6E6);border-radius:50%}.SelfExclusionRadioWrapper input:checked~.Checkmark{background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionRadioWrapper .Checkmark:after{content:"";position:absolute;display:none;left:9px;top:5px;width:5px;height:10px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.SelfExclusionRadioWrapper input:checked~.Checkmark:after{display:block}.SelfExclusionRadioWrapper.SelfExclusionRadioWrapperMobile label{font-family:inherit;font-size:var(--emw--font-size-x-small, 12px)}.SelfExclusionActionButtons{margin-top:40px;width:50%}.SelfExclusionActionButtons .SelfExclusionSave{font-family:var(--emw--button-typography);border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;background:var(--emw--color-primary, #23B04E);border-radius:var(--emw--border-radius-medium, 10px);padding:30px 0;font-size:var(--emw--font-size-large, 20px);color:var(--emw--button-text-color, #FFFFFF)}.SelfExclusionActionButtons .SelfExclusionSave:hover{color:white;background:var(--emw--color-primary);opacity:0.6}.SelfExclusionActionButtons .SelfExclusionSave:active{background:var(--emw--color-primary);opacity:0.6}.SelfExclusionActionButtons .SelfExclusionSave.active{cursor:pointer;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924)}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile{width:100%;grid-template-columns:1fr 1fr}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile .SelfExclusionSave{height:40px;font-size:var(--emw--font-size-small, 14px);padding:20px 0}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}');
|
|
15955
15958
|
}
|
|
15956
15959
|
function os(o, t, e) {
|
|
15957
15960
|
const i = o.slice();
|
|
@@ -16026,18 +16029,18 @@ function Wu(o) {
|
|
|
16026
16029
|
te = O(), z && z.c(), pe = O(), q = w("div"), J.c(), Z = O(), j = w("div"), $ = w("button"), _e = ae(Q), Fe = O(), le && le.c(), E(s, "class", "PlayerSelfExclusionTitle " + /*isMobile*/
|
|
16027
16030
|
(o[22] ? "PlayerSelfExclusionTitleNone" : "")), E(c, "class", "SelfExclusionDescriptionText"), E(_, "href", v = "mailto:" + /*supportemail*/
|
|
16028
16031
|
o[2]), E(h, "class", "SelfExclusionDescriptionText"), E(l, "class", "SelfExclusionDescription " + /*isMobile*/
|
|
16029
|
-
(o[22] ? "SelfExclusionDescriptionMobile" : "")), E(F, "d", "M 90 24.25 c 0 -0.896 -0.342 -1.792 -1.025 -2.475 c -1.366 -1.367 -3.583 -1.367 -4.949 0 L 45 60.8 L 5.975 21.775 c -1.367 -1.367 -3.583 -1.367 -4.95 0 c -1.366 1.367 -1.366 3.583 0 4.95 l 41.5 41.5 c 1.366 1.367 3.583 1.367 4.949 0 l 41.5 -41.5 C 89.658 26.042 90 25.146 90 24.25 z"), E(F, "stroke-linecap", "round"), E(T, "xmlns", "http://www.w3.org/2000/svg"), E(T, "xmlns:xlink", "http://www.w3.org/1999/xlink"), E(T, "version", "1.1"), E(T, "viewBox", "0 0 100 100"), E(T, "xml:space", "preserve"), E(T, "class", "SelfExclusionConfigIcon"),
|
|
16032
|
+
(o[22] ? "SelfExclusionDescriptionMobile" : "")), E(F, "d", "M 90 24.25 c 0 -0.896 -0.342 -1.792 -1.025 -2.475 c -1.366 -1.367 -3.583 -1.367 -4.949 0 L 45 60.8 L 5.975 21.775 c -1.367 -1.367 -3.583 -1.367 -4.95 0 c -1.366 1.367 -1.366 3.583 0 4.95 l 41.5 41.5 c 1.366 1.367 3.583 1.367 4.949 0 l 41.5 -41.5 C 89.658 26.042 90 25.146 90 24.25 z"), E(F, "stroke-linecap", "round"), E(T, "xmlns", "http://www.w3.org/2000/svg"), E(T, "xmlns:xlink", "http://www.w3.org/1999/xlink"), E(T, "version", "1.1"), E(T, "viewBox", "0 0 100 100"), E(T, "xml:space", "preserve"), E(T, "class", "SelfExclusionConfigIcon"), Ue(
|
|
16030
16033
|
T,
|
|
16031
16034
|
"active",
|
|
16032
16035
|
/*isPeriodDropDownToggled*/
|
|
16033
16036
|
o[18]
|
|
16034
|
-
), E(D, "class", "SelfExclusionConfigLabel"), E(H, "class", "SelfExclusionDropDown"),
|
|
16037
|
+
), E(D, "class", "SelfExclusionConfigLabel"), E(H, "class", "SelfExclusionDropDown"), Ue(
|
|
16035
16038
|
H,
|
|
16036
16039
|
"active",
|
|
16037
16040
|
/*isPeriodDropDownToggled*/
|
|
16038
16041
|
o[18]
|
|
16039
16042
|
), E(A, "class", "SelfExclusionConfigWrapper " + /*isMobile*/
|
|
16040
|
-
(o[22] ? "SelfExclusionConfigWrapperMobile" : "")),
|
|
16043
|
+
(o[22] ? "SelfExclusionConfigWrapperMobile" : "")), Ue(
|
|
16041
16044
|
A,
|
|
16042
16045
|
"active",
|
|
16043
16046
|
/*isPeriodDropDownToggled*/
|
|
@@ -16050,17 +16053,17 @@ function Wu(o) {
|
|
|
16050
16053
|
(o[22] ? "SelfExclusionWrapperMobile" : "")), E(t, "class", "SelfExclusionContainer");
|
|
16051
16054
|
},
|
|
16052
16055
|
m(x, M) {
|
|
16053
|
-
|
|
16056
|
+
de(x, t, M), f(t, e), ie && ie.m(e, null), f(e, i), f(e, s), f(s, n), f(e, a), f(e, l), f(l, c), c.innerHTML = u, f(l, d), f(l, h), f(h, g), f(h, p), f(h, _), f(_, y), f(e, C), f(e, A), f(A, D), f(D, G), f(G, Y), f(D, B), f(D, T), f(T, I), f(I, F), f(A, X), f(A, H);
|
|
16054
16057
|
for (let V = 0; V < N.length; V += 1)
|
|
16055
16058
|
N[V] && N[V].m(H, null);
|
|
16056
16059
|
f(e, te), z && z.m(e, null), f(e, pe), f(e, q), J.m(q, null), f(e, Z), f(e, j), f(j, $), f($, _e), f(t, Fe), le && le.m(t, null), Pe || (ke = [
|
|
16057
|
-
|
|
16060
|
+
Nt(
|
|
16058
16061
|
D,
|
|
16059
16062
|
"click",
|
|
16060
16063
|
/*click_handler_1*/
|
|
16061
16064
|
o[37]
|
|
16062
16065
|
),
|
|
16063
|
-
|
|
16066
|
+
Nt(
|
|
16064
16067
|
$,
|
|
16065
16068
|
"click",
|
|
16066
16069
|
/*click_handler_3*/
|
|
@@ -16103,7 +16106,7 @@ function Wu(o) {
|
|
|
16103
16106
|
1056768 && R !== (R = /*$_*/
|
|
16104
16107
|
x[20](`${/*selectedPeriodKey*/
|
|
16105
16108
|
x[13]}`) + "") && ue(Y, R), M[0] & /*isPeriodDropDownToggled*/
|
|
16106
|
-
262144 &&
|
|
16109
|
+
262144 && Ue(
|
|
16107
16110
|
T,
|
|
16108
16111
|
"active",
|
|
16109
16112
|
/*isPeriodDropDownToggled*/
|
|
@@ -16117,21 +16120,21 @@ function Wu(o) {
|
|
|
16117
16120
|
);
|
|
16118
16121
|
let V;
|
|
16119
16122
|
for (V = 0; V < oe.length; V += 1) {
|
|
16120
|
-
const
|
|
16121
|
-
N[V] ? N[V].p(
|
|
16123
|
+
const At = os(x, oe, V);
|
|
16124
|
+
N[V] ? N[V].p(At, M) : (N[V] = ss(At), N[V].c(), N[V].m(H, null));
|
|
16122
16125
|
}
|
|
16123
16126
|
for (; V < N.length; V += 1)
|
|
16124
16127
|
N[V].d(1);
|
|
16125
16128
|
N.length = oe.length;
|
|
16126
16129
|
}
|
|
16127
16130
|
M[0] & /*isPeriodDropDownToggled*/
|
|
16128
|
-
262144 &&
|
|
16131
|
+
262144 && Ue(
|
|
16129
16132
|
H,
|
|
16130
16133
|
"active",
|
|
16131
16134
|
/*isPeriodDropDownToggled*/
|
|
16132
16135
|
x[18]
|
|
16133
16136
|
), M[0] & /*isPeriodDropDownToggled*/
|
|
16134
|
-
262144 &&
|
|
16137
|
+
262144 && Ue(
|
|
16135
16138
|
A,
|
|
16136
16139
|
"active",
|
|
16137
16140
|
/*isPeriodDropDownToggled*/
|
|
@@ -16147,7 +16150,7 @@ function Wu(o) {
|
|
|
16147
16150
|
x[23] && le.p(x, M);
|
|
16148
16151
|
},
|
|
16149
16152
|
d(x) {
|
|
16150
|
-
x &&
|
|
16153
|
+
x && he(t), ie && ie.d(), nn(N, x), z && z.d(), J.d(), le && le.d(), Pe = !1, an(ke);
|
|
16151
16154
|
}
|
|
16152
16155
|
};
|
|
16153
16156
|
}
|
|
@@ -16167,7 +16170,7 @@ function qu(o) {
|
|
|
16167
16170
|
"height",
|
|
16168
16171
|
/*isMobile*/
|
|
16169
16172
|
o[22] ? "15px" : "20px"
|
|
16170
|
-
), S(r, "rows", "6"), S(r, "width", "100%"),
|
|
16173
|
+
), S(r, "rows", "6"), S(r, "width", "100%"), Jt(
|
|
16171
16174
|
a,
|
|
16172
16175
|
"height",
|
|
16173
16176
|
/*isMobile*/
|
|
@@ -16177,7 +16180,7 @@ function qu(o) {
|
|
|
16177
16180
|
"height",
|
|
16178
16181
|
/*isMobile*/
|
|
16179
16182
|
o[22] ? "15px" : "20px"
|
|
16180
|
-
), S(c, "width", "30%"),
|
|
16183
|
+
), S(c, "width", "30%"), Jt(d, "height", "10px"), E(s, "class", "SelfExclusionDescription"), S(g, "structure", "rectangle"), S(
|
|
16181
16184
|
g,
|
|
16182
16185
|
"width",
|
|
16183
16186
|
/*isMobile*/
|
|
@@ -16187,7 +16190,7 @@ function qu(o) {
|
|
|
16187
16190
|
"height",
|
|
16188
16191
|
/*isMobile*/
|
|
16189
16192
|
o[22] ? "30px" : "44px"
|
|
16190
|
-
),
|
|
16193
|
+
), Jt(
|
|
16191
16194
|
_,
|
|
16192
16195
|
"height",
|
|
16193
16196
|
/*isMobile*/
|
|
@@ -16207,11 +16210,11 @@ function qu(o) {
|
|
|
16207
16210
|
(o[22] ? "SelfExclusionWrapperMobile" : "")), E(t, "class", "SelfExclusionContainer");
|
|
16208
16211
|
},
|
|
16209
16212
|
m(B, T) {
|
|
16210
|
-
|
|
16213
|
+
de(B, t, T), f(t, e), Y.m(e, null), f(e, i), f(e, s), f(s, r), f(s, n), f(s, a), f(s, l), f(s, c), f(s, u), f(s, d), f(e, h), f(e, m), f(m, g), f(m, p), f(m, _), f(m, y), f(m, v), f(e, C), f(e, A), f(A, D);
|
|
16211
16214
|
},
|
|
16212
|
-
p:
|
|
16215
|
+
p: mi,
|
|
16213
16216
|
d(B) {
|
|
16214
|
-
B &&
|
|
16217
|
+
B && he(t), Y.d();
|
|
16215
16218
|
}
|
|
16216
16219
|
};
|
|
16217
16220
|
}
|
|
@@ -16225,7 +16228,7 @@ function Ku(o) {
|
|
|
16225
16228
|
t = w("div"), e = Ee("svg"), i = Ee("defs"), s = Ee("style"), r = ae(".aaa{fill:var(--emw--color-primary, #22B04E);}"), n = Ee("g"), a = Ee("g"), l = Ee("path"), c = O(), u = w("h2"), h = ae(d), E(l, "class", "aaa"), E(l, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), E(l, "transform", "translate(15 15) rotate(180)"), E(a, "transform", "translate(20 158)"), E(n, "transform", "translate(-20 -158)"), E(e, "xmlns", "http://www.w3.org/2000/svg"), E(e, "width", "15"), E(e, "height", "15"), E(e, "viewBox", "0 0 15 15"), E(u, "class", "PlayerSelfExclusionTitleMobile"), E(t, "class", "MenuReturnButton");
|
|
16226
16229
|
},
|
|
16227
16230
|
m(p, _) {
|
|
16228
|
-
|
|
16231
|
+
de(p, t, _), f(t, e), f(e, i), f(i, s), f(s, r), f(e, n), f(n, a), f(a, l), f(t, c), f(t, u), f(u, h), m || (g = Nt(
|
|
16229
16232
|
t,
|
|
16230
16233
|
"click",
|
|
16231
16234
|
/*click_handler*/
|
|
@@ -16238,7 +16241,7 @@ function Ku(o) {
|
|
|
16238
16241
|
p[20]("titleSelfExclusion") + "") && ue(h, d);
|
|
16239
16242
|
},
|
|
16240
16243
|
d(p) {
|
|
16241
|
-
p &&
|
|
16244
|
+
p && he(t), m = !1, g();
|
|
16242
16245
|
}
|
|
16243
16246
|
};
|
|
16244
16247
|
}
|
|
@@ -16262,7 +16265,7 @@ function ss(o) {
|
|
|
16262
16265
|
t = w("div"), i = ae(e);
|
|
16263
16266
|
},
|
|
16264
16267
|
m(a, l) {
|
|
16265
|
-
|
|
16268
|
+
de(a, t, l), f(t, i), s || (r = Nt(t, "click", n), s = !0);
|
|
16266
16269
|
},
|
|
16267
16270
|
p(a, l) {
|
|
16268
16271
|
o = a, l[0] & /*$_, selfExclusionPeriods*/
|
|
@@ -16271,7 +16274,7 @@ function ss(o) {
|
|
|
16271
16274
|
o[56].key}`) + "") && ue(i, e);
|
|
16272
16275
|
},
|
|
16273
16276
|
d(a) {
|
|
16274
|
-
a &&
|
|
16277
|
+
a && he(t), s = !1, r();
|
|
16275
16278
|
}
|
|
16276
16279
|
};
|
|
16277
16280
|
}
|
|
@@ -16307,7 +16310,7 @@ function rs(o) {
|
|
|
16307
16310
|
(o[22] ? "SelfExclusionDateWrapperMobile" : ""));
|
|
16308
16311
|
},
|
|
16309
16312
|
m(p, _) {
|
|
16310
|
-
|
|
16313
|
+
de(p, t, _), f(t, e), f(e, s), f(t, r), f(t, n), f(n, l), f(n, c), f(n, u), f(u, d), f(u, h), f(t, m), f(t, g), o[39](g);
|
|
16311
16314
|
},
|
|
16312
16315
|
p(p, _) {
|
|
16313
16316
|
_[0] & /*$_*/
|
|
@@ -16335,7 +16338,7 @@ function rs(o) {
|
|
|
16335
16338
|
);
|
|
16336
16339
|
},
|
|
16337
16340
|
d(p) {
|
|
16338
|
-
p &&
|
|
16341
|
+
p && he(t), o[39](null);
|
|
16339
16342
|
}
|
|
16340
16343
|
};
|
|
16341
16344
|
}
|
|
@@ -16359,7 +16362,7 @@ function Gu(o) {
|
|
|
16359
16362
|
t = w("p"), e = w("strong"), s = ae(i), E(t, "class", "SelfExclusionDescriptionText");
|
|
16360
16363
|
},
|
|
16361
16364
|
m(r, n) {
|
|
16362
|
-
|
|
16365
|
+
de(r, t, n), f(t, e), f(e, s);
|
|
16363
16366
|
},
|
|
16364
16367
|
p(r, n) {
|
|
16365
16368
|
n[0] & /*$_, selfExclusionExpiryDate*/
|
|
@@ -16377,7 +16380,7 @@ function Gu(o) {
|
|
|
16377
16380
|
}) + "") && ue(s, i);
|
|
16378
16381
|
},
|
|
16379
16382
|
d(r) {
|
|
16380
|
-
r &&
|
|
16383
|
+
r && he(t);
|
|
16381
16384
|
}
|
|
16382
16385
|
};
|
|
16383
16386
|
}
|
|
@@ -16391,7 +16394,7 @@ function Ju(o) {
|
|
|
16391
16394
|
t = w("p"), e = w("strong"), s = ae(i), E(t, "class", "SelfExclusionDescriptionText");
|
|
16392
16395
|
},
|
|
16393
16396
|
m(r, n) {
|
|
16394
|
-
|
|
16397
|
+
de(r, t, n), f(t, e), f(e, s);
|
|
16395
16398
|
},
|
|
16396
16399
|
p(r, n) {
|
|
16397
16400
|
n[0] & /*$_*/
|
|
@@ -16399,7 +16402,7 @@ function Ju(o) {
|
|
|
16399
16402
|
r[20]("noPeriodSelected") + "") && ue(s, i);
|
|
16400
16403
|
},
|
|
16401
16404
|
d(r) {
|
|
16402
|
-
r &&
|
|
16405
|
+
r && he(t);
|
|
16403
16406
|
}
|
|
16404
16407
|
};
|
|
16405
16408
|
}
|
|
@@ -16413,7 +16416,7 @@ function Xu(o) {
|
|
|
16413
16416
|
t = w("p"), e = w("strong"), s = ae(i), E(t, "class", "SelfExclusionDescriptionText");
|
|
16414
16417
|
},
|
|
16415
16418
|
m(r, n) {
|
|
16416
|
-
|
|
16419
|
+
de(r, t, n), f(t, e), f(e, s);
|
|
16417
16420
|
},
|
|
16418
16421
|
p(r, n) {
|
|
16419
16422
|
n[0] & /*$_*/
|
|
@@ -16421,7 +16424,7 @@ function Xu(o) {
|
|
|
16421
16424
|
r[20]("permanentSelfExclusion") + "") && ue(s, i);
|
|
16422
16425
|
},
|
|
16423
16426
|
d(r) {
|
|
16424
|
-
r &&
|
|
16427
|
+
r && he(t);
|
|
16425
16428
|
}
|
|
16426
16429
|
};
|
|
16427
16430
|
}
|
|
@@ -16463,7 +16466,7 @@ function Zu(o) {
|
|
|
16463
16466
|
), S(t, "showmodaleventname", "ShowSelfExclusionConfirmationModal");
|
|
16464
16467
|
},
|
|
16465
16468
|
m(s, r) {
|
|
16466
|
-
|
|
16469
|
+
de(s, t, r), f(t, e);
|
|
16467
16470
|
},
|
|
16468
16471
|
p(s, r) {
|
|
16469
16472
|
r[0] & /*$_*/
|
|
@@ -16507,7 +16510,7 @@ function Zu(o) {
|
|
|
16507
16510
|
);
|
|
16508
16511
|
},
|
|
16509
16512
|
d(s) {
|
|
16510
|
-
s &&
|
|
16513
|
+
s && he(t);
|
|
16511
16514
|
}
|
|
16512
16515
|
};
|
|
16513
16516
|
}
|
|
@@ -16518,10 +16521,10 @@ function Qu(o) {
|
|
|
16518
16521
|
t = w("ui-skeleton"), S(t, "structure", "title"), S(t, "width", "100px"), S(t, "margin-top", "20px"), S(t, "margin-bottom", "20px");
|
|
16519
16522
|
},
|
|
16520
16523
|
m(e, i) {
|
|
16521
|
-
|
|
16524
|
+
de(e, t, i);
|
|
16522
16525
|
},
|
|
16523
16526
|
d(e) {
|
|
16524
|
-
e &&
|
|
16527
|
+
e && he(t);
|
|
16525
16528
|
}
|
|
16526
16529
|
};
|
|
16527
16530
|
}
|
|
@@ -16532,10 +16535,10 @@ function ed(o) {
|
|
|
16532
16535
|
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");
|
|
16533
16536
|
},
|
|
16534
16537
|
m(e, i) {
|
|
16535
|
-
|
|
16538
|
+
de(e, t, i);
|
|
16536
16539
|
},
|
|
16537
16540
|
d(e) {
|
|
16538
|
-
e &&
|
|
16541
|
+
e && he(t);
|
|
16539
16542
|
}
|
|
16540
16543
|
};
|
|
16541
16544
|
}
|
|
@@ -16553,22 +16556,22 @@ function td(o) {
|
|
|
16553
16556
|
t = w("div"), s.c();
|
|
16554
16557
|
},
|
|
16555
16558
|
m(r, n) {
|
|
16556
|
-
|
|
16559
|
+
de(r, t, n), s.m(t, null), o[41](t);
|
|
16557
16560
|
},
|
|
16558
16561
|
p(r, n) {
|
|
16559
16562
|
i === (i = e(r)) && s ? s.p(r, n) : (s.d(1), s = i(r), s && (s.c(), s.m(t, null)));
|
|
16560
16563
|
},
|
|
16561
|
-
i:
|
|
16562
|
-
o:
|
|
16564
|
+
i: mi,
|
|
16565
|
+
o: mi,
|
|
16563
16566
|
d(r) {
|
|
16564
|
-
r &&
|
|
16567
|
+
r && he(t), s.d(), o[41](null);
|
|
16565
16568
|
}
|
|
16566
16569
|
};
|
|
16567
16570
|
}
|
|
16568
16571
|
function id(o, t, e) {
|
|
16569
16572
|
let i;
|
|
16570
|
-
|
|
16571
|
-
let { endpoint: s = "", session: r = "", userid: n = "", lang: a = "en", gmversion: l = "", operator: c = "Everymatrix", supportemail: u = "", baseurl: d = "", clientstyling: h = "", clientstylingurl: m = "", mbsource: g, translationurl: p = "", hasconfirmationmodal: _ = "false", dateformat: y = "DD/MM/YYYY", sendnotificationemail: v = "false" } = t, C, A, D = [], G = {}, R = y.toUpperCase(), Y = window.navigator.userAgent, B, T, I = "", F = "", X = "selectAPeriod", H = "", te = "", pe =
|
|
16573
|
+
Qr(o, ln, (b) => e(20, i = b)), xe.extend(ju);
|
|
16574
|
+
let { endpoint: s = "", session: r = "", userid: n = "", lang: a = "en", gmversion: l = "", operator: c = "Everymatrix", supportemail: u = "", baseurl: d = "", clientstyling: h = "", clientstylingurl: m = "", mbsource: g, translationurl: p = "", hasconfirmationmodal: _ = "false", dateformat: y = "DD/MM/YYYY", sendnotificationemail: v = "false" } = t, C, A, D = [], G = {}, R = y.toUpperCase(), Y = window.navigator.userAgent, B, T, I = "", F = "", X = "selectAPeriod", H = "", te = "", pe = en(Y) !== "PC", q = !1, Z = !1, j = !1, $ = !1, Q = _ === "true", _e = !0;
|
|
16572
16575
|
const Ae = () => {
|
|
16573
16576
|
fetch(p).then((se) => se.json()).then((se) => {
|
|
16574
16577
|
Object.keys(se).forEach((re) => {
|
|
@@ -16598,7 +16601,7 @@ function id(o, t, e) {
|
|
|
16598
16601
|
});
|
|
16599
16602
|
}, Fe = (b) => {
|
|
16600
16603
|
b.data.type === "setSelfExclusion" && z();
|
|
16601
|
-
}, Pe = (b) =>
|
|
16604
|
+
}, Pe = (b) => st(this, null, function* () {
|
|
16602
16605
|
if (b.status >= 300)
|
|
16603
16606
|
G = yield b.json(), te = G.thirdPartyResponse.errorCode, console.error(i(te || "generalError")), window.postMessage(
|
|
16604
16607
|
{
|
|
@@ -16703,7 +16706,7 @@ function id(o, t, e) {
|
|
|
16703
16706
|
}, J = () => {
|
|
16704
16707
|
A.addEventListener("change", fe, !1), e(
|
|
16705
16708
|
8,
|
|
16706
|
-
A.i18n =
|
|
16709
|
+
A.i18n = Pt(Ct({}, A.i18n), {
|
|
16707
16710
|
formatDate: (b) => xe(new Date(b.year, b.month, b.day)).format(R),
|
|
16708
16711
|
parseDate: (b) => {
|
|
16709
16712
|
const se = xe(b, R);
|
|
@@ -16717,13 +16720,13 @@ function id(o, t, e) {
|
|
|
16717
16720
|
A
|
|
16718
16721
|
);
|
|
16719
16722
|
};
|
|
16720
|
-
|
|
16723
|
+
tn(() => (window.addEventListener("message", Fe, !1), () => {
|
|
16721
16724
|
A.removeEventListener("change", fe), window.removeEventListener("message", Fe);
|
|
16722
16725
|
}));
|
|
16723
16726
|
const le = () => {
|
|
16724
16727
|
Vu(a);
|
|
16725
16728
|
}, x = () => ve(), M = () => ke(), V = (b) => ie(b);
|
|
16726
|
-
function
|
|
16729
|
+
function At(b) {
|
|
16727
16730
|
po[b ? "unshift" : "push"](() => {
|
|
16728
16731
|
A = b, e(8, A);
|
|
16729
16732
|
});
|
|
@@ -16742,9 +16745,9 @@ function id(o, t, e) {
|
|
|
16742
16745
|
1879048192 | o.$$.dirty[1] & /*gmversion*/
|
|
16743
16746
|
1 && s && r && n && l && Ce(), o.$$.dirty[0] & /*calendar*/
|
|
16744
16747
|
256 && A && J(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
16745
|
-
144 && h && C &&
|
|
16746
|
-
160 && m && C &&
|
|
16747
|
-
192 && g && C &&
|
|
16748
|
+
144 && h && C && rn(C, h), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
16749
|
+
160 && m && C && on(C, m), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
16750
|
+
192 && g && C && sn(C, `${g}.Style`), o.$$.dirty[1] & /*translationurl*/
|
|
16748
16751
|
2 && p && Ae();
|
|
16749
16752
|
}, Q && oe(), [
|
|
16750
16753
|
a,
|
|
@@ -16786,7 +16789,7 @@ function id(o, t, e) {
|
|
|
16786
16789
|
x,
|
|
16787
16790
|
M,
|
|
16788
16791
|
V,
|
|
16789
|
-
|
|
16792
|
+
At,
|
|
16790
16793
|
Lr,
|
|
16791
16794
|
Rr
|
|
16792
16795
|
];
|
|
@@ -16798,7 +16801,7 @@ class zr extends Kr {
|
|
|
16798
16801
|
t,
|
|
16799
16802
|
id,
|
|
16800
16803
|
td,
|
|
16801
|
-
|
|
16804
|
+
Xr,
|
|
16802
16805
|
{
|
|
16803
16806
|
endpoint: 28,
|
|
16804
16807
|
session: 29,
|
|
@@ -16911,7 +16914,7 @@ class zr extends Kr {
|
|
|
16911
16914
|
this.$$set({ sendnotificationemail: t }), ee();
|
|
16912
16915
|
}
|
|
16913
16916
|
}
|
|
16914
|
-
|
|
16917
|
+
Jr(zr, { endpoint: {}, session: {}, userid: {}, lang: {}, gmversion: {}, operator: {}, supportemail: {}, baseurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, hasconfirmationmodal: {}, dateformat: {}, sendnotificationemail: {} }, [], [], !0);
|
|
16915
16918
|
const Yd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16916
16919
|
__proto__: null,
|
|
16917
16920
|
default: zr
|