@everymatrix/player-account-controller-nd 1.62.0 → 1.62.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-mKknRJlq.js → GeneralLogout-BTv2xgJd.js} +874 -853
- package/components/GeneralLogout-CG738i36.cjs +21 -0
- package/components/{GeneralLogout-D-SNAWMX.js → GeneralLogout-DwBcwupG.js} +934 -913
- package/components/{PlayerAccountBettingHistory-D5R8TtVb.js → PlayerAccountBettingHistory-BQDZnQJv.js} +127 -126
- package/components/PlayerAccountBettingHistory-BaUkbO2e.js +328 -0
- package/components/PlayerAccountBettingHistory-Lp_KBkg4.cjs +1 -0
- package/components/{PlayerAccountBiometrics-DvJlyQ8z.cjs → PlayerAccountBiometrics-CeKoZNyZ.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-Dke9scx2.js → PlayerAccountBiometrics-Dbhuxb19.js} +22 -22
- package/components/{PlayerAccountBiometrics-1g9245j6.js → PlayerAccountBiometrics-Dh74Qtn7.js} +22 -22
- package/components/{PlayerAccountClosureNd-CH8UCD0A.js → PlayerAccountClosureNd-RzZdy1X2.js} +17 -17
- package/components/{PlayerAccountClosureNd-B4GnQQHa.cjs → PlayerAccountClosureNd-W9p7zcbe.cjs} +1 -1
- package/components/{PlayerAccountClosureNd-DtDZNFDs.js → PlayerAccountClosureNd-iArH3zZZ.js} +17 -17
- package/components/{PlayerAccountControllerNd-BdF7tJjB.cjs → PlayerAccountControllerNd-DDNVYyWt.cjs} +1 -1
- package/components/{PlayerAccountControllerNd-0vYnuN11.js → PlayerAccountControllerNd-DsFtUK-L.js} +300 -300
- package/components/{PlayerAccountControllerNd-Dl53HnbV.js → PlayerAccountControllerNd-DxIJz73c.js} +302 -302
- package/components/{PlayerAccountGamingLimits-CPx-vfQw.js → PlayerAccountGamingLimits-BBHhkpWC.js} +81 -81
- package/components/{PlayerAccountGamingLimits-UmFJS4yG.cjs → PlayerAccountGamingLimits-T_6zt26G.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-geiSuCGE.js → PlayerAccountGamingLimits-vH684ale.js} +81 -81
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CIMWBU9F.js → PlayerAccountGamingLimitsConfirmationModal-BnEweLIY.js} +30 -30
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BTGWvZ_H.cjs → PlayerAccountGamingLimitsConfirmationModal-D4IU66Wc.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CJvAbSXA.js → PlayerAccountGamingLimitsConfirmationModal-DncSFVcn.js} +30 -30
- package/components/{PlayerAccountGamingLimitsGroupEdit-DWXrW8rz.cjs → PlayerAccountGamingLimitsGroupEdit-BQRjAEj3.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsGroupEdit-BBhaC0tE.js → PlayerAccountGamingLimitsGroupEdit-CLcyg1f7.js} +54 -54
- package/components/{PlayerAccountGamingLimitsGroupEdit-DxCKKvtt.js → PlayerAccountGamingLimitsGroupEdit-CUg555uP.js} +54 -54
- package/components/{PlayerAccountGamingLimitsHistory2Nd-CT3BWhmN.cjs → PlayerAccountGamingLimitsHistory2Nd-BQGrRCWJ.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2Nd-CYh5FnDV.js → PlayerAccountGamingLimitsHistory2Nd-BjyWFgbh.js} +80 -80
- package/components/{PlayerAccountGamingLimitsHistory2Nd-y1qwR7nl.js → PlayerAccountGamingLimitsHistory2Nd-Dnahi30S.js} +82 -82
- package/components/{PlayerAccountGamingLimitsInfoCard-Cc-JLiZF.js → PlayerAccountGamingLimitsInfoCard-C_enXawK.js} +83 -83
- package/components/{PlayerAccountGamingLimitsInfoCard-Dm9hSuFC.js → PlayerAccountGamingLimitsInfoCard-DAWoyE6Y.js} +83 -83
- package/components/{PlayerAccountGamingLimitsInfoCard-7dQquqQ4.cjs → PlayerAccountGamingLimitsInfoCard-DhUwJ_di.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-BOSiubNU.js → PlayerAccountGamingLimitsPage2Gm16Nd-CItiaWO4.js} +9 -9
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-jqrV54-Z.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-CcjVoGsA.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-pShvuCwK.js → PlayerAccountGamingLimitsPage2Gm16Nd-DuqE9Pkw.js} +9 -9
- package/components/{PlayerAccountGamingLimitsPopup-Bq6g8_Ex.cjs → PlayerAccountGamingLimitsPopup-BsJZk5nW.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-CLyTPF2L.js → PlayerAccountGamingLimitsPopup-Cmrpm7xg.js} +42 -42
- package/components/{PlayerAccountGamingLimitsPopup-DycV-u3W.js → PlayerAccountGamingLimitsPopup-DG8DCA7n.js} +42 -42
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-DyjjE7PE.js → PlayerAccountGamingLimitsWrapper2Nd-6FmlTMHY.js} +17 -17
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-DN_Z1qfZ.cjs → PlayerAccountGamingLimitsWrapper2Nd-CJNV_SoM.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-P_wjUM_e.js → PlayerAccountGamingLimitsWrapper2Nd-DXImP9Aw.js} +17 -17
- package/components/{PlayerAccountGeneralConfirmationModal-DoognqGf.cjs → PlayerAccountGeneralConfirmationModal-C855qGTP.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-4w5ypHAs.js → PlayerAccountGeneralConfirmationModal-CUpQq9mt.js} +34 -34
- package/components/{PlayerAccountGeneralConfirmationModal-u_yQVW36.js → PlayerAccountGeneralConfirmationModal-XmJMAUuW.js} +34 -34
- package/components/{PlayerAccountMenuNd-BdUbwkRC.js → PlayerAccountMenuNd-B7orxu9_.js} +29 -29
- package/components/{PlayerAccountMenuNd-DYq6-5E1.cjs → PlayerAccountMenuNd-E7P8KRxO.cjs} +1 -1
- package/components/{PlayerAccountMenuNd-QadC-Grv.js → PlayerAccountMenuNd-fsrRNaEx.js} +32 -32
- package/components/{PlayerAccountModal-zI2QLAL1.cjs → PlayerAccountModal-DISAz4QD.cjs} +1 -1
- package/components/{PlayerAccountModal-CJAW5eai.js → PlayerAccountModal-DSZm9b_J.js} +42 -42
- package/components/{PlayerAccountModal-DzIuV3KN.js → PlayerAccountModal-Dqlx4tKV.js} +42 -42
- package/components/{PlayerAccountNotifications-CGztykmG.js → PlayerAccountNotifications-Ccv15Pjf.js} +60 -61
- package/components/{PlayerAccountNotifications-EUP33bwS.js → PlayerAccountNotifications-CeyX2lOx.js} +58 -59
- package/components/PlayerAccountNotifications-DN4TPQQU.cjs +1 -0
- package/components/{PlayerAccountSelfExclusionNd-Dkyi4Q2x.js → PlayerAccountSelfExclusionNd--JbMhz8n.js} +783 -788
- package/components/{PlayerAccountSelfExclusionNd-yy1Ud0-u.js → PlayerAccountSelfExclusionNd-C3rsUt5E.js} +1689 -1694
- package/components/{PlayerAccountSelfExclusionNd-8PVzGTTw.cjs → PlayerAccountSelfExclusionNd-CrYM5oTU.cjs} +153 -153
- package/components/{PlayerAccountTimeout-CoW4G5DN.js → PlayerAccountTimeout-BJL3CfsU.js} +58 -58
- package/components/{PlayerAccountTimeout-CwtA0wGq.cjs → PlayerAccountTimeout-BUvC_yO8.cjs} +1 -1
- package/components/{PlayerAccountTimeout-BMw0JLoU.js → PlayerAccountTimeout-SoqN7bMq.js} +58 -58
- package/components/{PlayerActiveBonuses-BYyY-f1R.cjs → PlayerActiveBonuses-BMD0VJ2_.cjs} +1 -1
- package/components/{PlayerActiveBonuses-B21RFH6W.js → PlayerActiveBonuses-Btey4mu_.js} +73 -73
- package/components/{PlayerActiveBonuses-ZPlncnwp.js → PlayerActiveBonuses-DiAj4d61.js} +74 -74
- package/components/PlayerBonusCard-69HwaVge.cjs +1 -0
- package/components/{PlayerBonusCard-B13e0fyW.js → PlayerBonusCard-CJu1lKOw.js} +158 -159
- package/components/{PlayerBonusCard-DO7afQyl.js → PlayerBonusCard-D_Dnw9ZH.js} +158 -159
- package/components/{PlayerBonusHistory-CPRAnYEn.cjs → PlayerBonusHistory-BJEyVsie.cjs} +1 -1
- package/components/{PlayerBonusHistory-OuvyxqYe.js → PlayerBonusHistory-CDGRzY8q.js} +33 -33
- package/components/{PlayerBonusHistory-DxhjoDEt.js → PlayerBonusHistory-XlSopYvg.js} +33 -33
- package/components/{PlayerChangePassword-Dtr2n1Et.js → PlayerChangePassword-BpFdooht.js} +82 -82
- package/components/{PlayerChangePassword-awaQVsiP.cjs → PlayerChangePassword-CeUedW_1.cjs} +1 -1
- package/components/{PlayerChangePassword-Ddfah5-0.js → PlayerChangePassword-DCAPfPzU.js} +82 -82
- package/components/{PlayerDeposit-CqqQuB6-.js → PlayerDeposit-BlaUbOFE.js} +75 -75
- package/components/PlayerDeposit-BmunpkgB.cjs +1 -0
- package/components/{PlayerDeposit-DzJLjkJJ.js → PlayerDeposit-CICzsn3y.js} +75 -75
- package/components/{PlayerGamingHistory-CS7Mfu_1.cjs → PlayerGamingHistory-Bhdmeb-N.cjs} +1 -1
- package/components/{PlayerGamingHistory-DpVGmQq7.js → PlayerGamingHistory-C5gP-ris.js} +84 -84
- package/components/{PlayerGamingHistory-BOravz1q.js → PlayerGamingHistory-DDIZM40J.js} +74 -74
- package/components/{PlayerPendingWithdrawals-BXngse4L.js → PlayerPendingWithdrawals-BTEMyPpn.js} +26 -26
- package/components/{PlayerPendingWithdrawals-aaHugNLD.cjs → PlayerPendingWithdrawals-BdgNl6Vs.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-B5LftQI0.js → PlayerPendingWithdrawals-CIZkb_Lo.js} +26 -26
- package/components/{PlayerProfileInfo-AfctiBM2.cjs → PlayerProfileInfo-CGrlx6XJ.cjs} +1 -1
- package/components/{PlayerProfileInfo-DaEIOZ50.js → PlayerProfileInfo-tunQ_AFy.js} +60 -60
- package/components/{PlayerProfileInfo-DoFaM2xG.js → PlayerProfileInfo-xIbimgiF.js} +60 -60
- package/components/{PlayerRealityCheck-BzcyHDQ3.cjs → PlayerRealityCheck-BPjD8dSn.cjs} +1 -1
- package/components/{PlayerRealityCheck-D4UIiUnm.js → PlayerRealityCheck-CMS4zfEr.js} +33 -33
- package/components/{PlayerRealityCheck-DI56cucK.js → PlayerRealityCheck-DKtG-FwA.js} +33 -33
- package/components/{PlayerTransactionHistory-BdX1ph_m.js → PlayerTransactionHistory-D78rlE2i.js} +24 -24
- package/components/{PlayerTransactionHistory-Dff51WQG.cjs → PlayerTransactionHistory-D8WUTK8U.cjs} +1 -1
- package/components/{PlayerTransactionHistory-CQ3fEpfj.js → PlayerTransactionHistory-XQ_BjuGi.js} +24 -24
- package/components/{PlayerWithdrawal-8DAmymCW.js → PlayerWithdrawal-Dih0SjE2.js} +19 -19
- package/components/{PlayerWithdrawal-DdPBGufW.cjs → PlayerWithdrawal-g7alD3vj.cjs} +1 -1
- package/components/{PlayerWithdrawal-DvDjalE_.js → PlayerWithdrawal-mOfIFDcT.js} +19 -19
- package/es2015/player-account-controller-nd.cjs +1 -1
- package/es2015/player-account-controller-nd.js +1 -1
- package/esnext/player-account-controller-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/app-globals-0f993ce5-DgYhdguE.cjs +1 -0
- package/stencil/{app-globals-0f993ce5-Dab_DTBV.js → app-globals-0f993ce5-DzSE6TtH.js} +3 -5
- package/stencil/{checkbox-group-input_9-Z2MKRqTa.js → checkbox-group-input_9-BRv_piPJ.js} +11 -13
- package/stencil/checkbox-group-input_9-DCA5sbPo.cjs +2 -0
- package/stencil/{checkbox-group-input_9-ByOlN8T1.js → checkbox-group-input_9-bIi7h3_V.js} +11 -13
- package/stencil/{general-input-Hae0m9ND.js → general-input-CQs-v3_Y.js} +1243 -1249
- package/stencil/{general-input-BICEE8TF.cjs → general-input-DgKQ0KIf.cjs} +199 -199
- package/stencil/{general-input-Cbs_fuJv.js → general-input-OUKrtuTp.js} +1241 -1247
- package/stencil/index-1ef3a64c-C4-h3nXC.js +572 -0
- package/stencil/index-1ef3a64c-Cb8qLHe4.js +556 -0
- package/stencil/index-1ef3a64c-CzlpRJE7.cjs +1 -0
- package/stencil/index-7c5e707a-C9R6jYpt.js +616 -0
- package/stencil/index-7c5e707a-DvxqcEpc.js +643 -0
- package/stencil/index-7c5e707a-ESX_oqGB.cjs +1 -0
- package/stencil/index-9c0f6c58-D5txcAjr.js +549 -0
- package/stencil/index-9c0f6c58-DeCWAW-B.cjs +1 -0
- package/stencil/index-9c0f6c58-DeLVbTUg.js +576 -0
- package/stencil/index-9cd44522-C566YWys.js +626 -0
- package/stencil/index-9cd44522-Crt8CtBe.js +610 -0
- package/stencil/index-9cd44522-jv76DI6J.cjs +1 -0
- package/stencil/index-b2193545-CnMZ4-Ff.js +519 -0
- package/stencil/index-b2193545-Ct5AhxM8.cjs +1 -0
- package/stencil/index-b2193545-DePry399.js +503 -0
- package/stencil/{password-input_2-0tVmf9Va.js → password-input_2-C84wWI7v.js} +3 -3
- package/stencil/password-input_2-Cb1ahifk.cjs +193 -0
- package/stencil/{password-input_2-B5aWg7vh.js → password-input_2-DQO_Gwqq.js} +3 -3
- package/stencil/{player-change-password-gm2-039e300e-BMDnHtCW.cjs → player-change-password-gm2-039e300e-DIjTdjzy.cjs} +1 -1
- package/stencil/{player-change-password-gm2-039e300e-BqCRJ0OI.js → player-change-password-gm2-039e300e-mRLvAYzw.js} +1 -1
- package/stencil/{player-change-password-gm2-039e300e-BtDuTmYF.js → player-change-password-gm2-039e300e-s9osP-86.js} +1 -1
- package/stencil/{player-change-password-gm2-BC1K2F7n.js → player-change-password-gm2-DHnclYKw.js} +2 -2
- package/stencil/{player-change-password-gm2-DS5az_KG.cjs → player-change-password-gm2-DRIOay0t.cjs} +1 -1
- package/stencil/{player-change-password-gm2-DiEM63HW.js → player-change-password-gm2-nCHwkzVc.js} +2 -2
- package/stencil/player-kyc-verification-C0h2CP_Y.cjs +180 -0
- package/stencil/{player-kyc-verification_2-BdvRBF9L.js → player-kyc-verification-dmJNIHni.js} +39 -67
- package/stencil/{player-kyc-verification_2-B17znAZy.js → player-kyc-verification-z8R7nMzo.js} +28 -58
- package/stencil/{toggle-checkbox-input-BqVxrLPm.js → toggle-checkbox-input-Bh9dCfaE.js} +2 -2
- package/stencil/toggle-checkbox-input-CDg0DAAQ.cjs +1 -0
- package/stencil/{toggle-checkbox-input-DKIzGsYQ.js → toggle-checkbox-input-CFvMg26A.js} +2 -2
- package/stencil/{ui-skeleton-6d1c12ae-B0lzGcPW.js → ui-skeleton-1cb75d00-BI5A-j0y.js} +4 -4
- package/stencil/{ui-skeleton-6d1c12ae-Cw2SlQb_.cjs → ui-skeleton-1cb75d00-Batko5iK.cjs} +2 -2
- package/stencil/{ui-skeleton-6d1c12ae-Bn7U0R1W.js → ui-skeleton-1cb75d00-CwDKR1VD.js} +4 -4
- package/stencil/{ui-skeleton-Clmo2oUQ.js → ui-skeleton-C974aG7g.js} +3 -3
- package/stencil/{ui-skeleton-BZGtE_pj.js → ui-skeleton-DoX-UmRU.js} +5 -5
- package/stencil/{ui-skeleton-DtBGpyNr.cjs → ui-skeleton-t0bb1jH7.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-Bf-RYTF7.cjs → user-deposit-withdrawal-CBWlU3d2.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-CtPQxjHH.js → user-deposit-withdrawal-CE9oDw4W.js} +2 -2
- package/stencil/{user-deposit-withdrawal-N_Rrcutw.js → user-deposit-withdrawal-Dnqg2IvK.js} +2 -2
- package/stencil/{ui-image_2-BRZIuSu1.js → user-transaction-history-BAK7MHHa.js} +93 -121
- package/stencil/{ui-image_2-CKBb8XBa.js → user-transaction-history-DhQ6RqNc.js} +81 -111
- package/stencil/user-transaction-history-DiRXpfbN.cjs +1 -0
- package/components/GeneralLogout-BjsDUNrm.cjs +0 -21
- package/components/PlayerAccountBettingHistory-B65ODj4i.js +0 -329
- package/components/PlayerAccountBettingHistory-Bu3VS2Sg.cjs +0 -1
- package/components/PlayerAccountNotifications-D9mN6eKW.cjs +0 -1
- package/components/PlayerBonusCard-DQLlnVcy.cjs +0 -1
- package/components/PlayerDeposit-_oIOMh8l.cjs +0 -1
- package/stencil/app-globals-0f993ce5-BE38v2MW.cjs +0 -1
- package/stencil/checkbox-group-input_9-DVmGQbxk.cjs +0 -2
- package/stencil/index-1ef3a64c-CW9Jb4Nr.cjs +0 -1
- package/stencil/index-1ef3a64c-CvokNgAJ.js +0 -572
- package/stencil/index-1ef3a64c-DVdf4csw.js +0 -556
- package/stencil/index-21ba09dd-BSHxKLno.cjs +0 -1
- package/stencil/index-21ba09dd-C-CdzL2X.js +0 -616
- package/stencil/index-21ba09dd-C4H8b97G.js +0 -643
- package/stencil/index-34008883-D4JgG-UH.cjs +0 -1
- package/stencil/index-34008883-DiRFksj6.js +0 -577
- package/stencil/index-34008883-HqY7Srzu.js +0 -604
- package/stencil/index-9cd44522-Bk39Mpgz.js +0 -610
- package/stencil/index-9cd44522-CEWNaj7G.js +0 -626
- package/stencil/index-9cd44522-nMffx5wM.cjs +0 -1
- package/stencil/index-b2193545-C2O5zpMz.js +0 -503
- package/stencil/index-b2193545-CetOOG6c.cjs +0 -1
- package/stencil/index-b2193545-Cz_oXgAw.js +0 -519
- package/stencil/index-b7bbd57e-DDZIP4mE.cjs +0 -1
- package/stencil/index-b7bbd57e-DFGEAoV8.js +0 -534
- package/stencil/index-b7bbd57e-Df65SxFl.js +0 -550
- package/stencil/password-input_2-CRu0zESf.cjs +0 -193
- package/stencil/player-kyc-verification-BfHzkEOF.js +0 -7
- package/stencil/player-kyc-verification-BqUD44w7.cjs +0 -1
- package/stencil/player-kyc-verification-DIIkcjkH.js +0 -25
- package/stencil/player-kyc-verification_2-Dx4nmjvu.cjs +0 -180
- package/stencil/toggle-checkbox-input-B-kRXFjU.cjs +0 -1
- package/stencil/ui-image-38c3c15f-CC0sXcn0.cjs +0 -1
- package/stencil/ui-image-38c3c15f-CvZLpmW8.js +0 -39
- package/stencil/ui-image-38c3c15f-D_mVwqe0.js +0 -39
- package/stencil/ui-image-CVUFYT4z.js +0 -29
- package/stencil/ui-image-D5gJFvCC.js +0 -11
- package/stencil/ui-image-De8uxxRM.cjs +0 -1
- package/stencil/ui-image_2-DFkW49rO.cjs +0 -1
- package/stencil/user-transaction-history-C1jOEodw.cjs +0 -1
- package/stencil/user-transaction-history-DRDnjPf-.js +0 -25
- package/stencil/user-transaction-history-DylE0kbF.js +0 -7
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var zs = Object.defineProperty, Fs = Object.defineProperties;
|
|
2
|
+
var Ls = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var lo = Object.getOwnPropertySymbols;
|
|
4
|
+
var $s = Object.prototype.hasOwnProperty, Rs = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var co = (o, t, e) => t in o ? zs(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e, Wt = (o, t) => {
|
|
6
6
|
for (var e in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var e of
|
|
10
|
-
|
|
7
|
+
$s.call(t, e) && co(o, e, t[e]);
|
|
8
|
+
if (lo)
|
|
9
|
+
for (var e of lo(t))
|
|
10
|
+
Rs.call(t, e) && co(o, e, t[e]);
|
|
11
11
|
return o;
|
|
12
|
-
}, qt = (o, t) =>
|
|
12
|
+
}, qt = (o, t) => Fs(o, Ls(t));
|
|
13
13
|
var ot = (o, t, e) => new Promise((i, r) => {
|
|
14
14
|
var s = (l) => {
|
|
15
15
|
try {
|
|
@@ -26,14 +26,14 @@ var ot = (o, t, e) => new Promise((i, r) => {
|
|
|
26
26
|
}, a = (l) => l.done ? i(l.value) : Promise.resolve(l.value).then(s, n);
|
|
27
27
|
a((e = e.apply(o, t)).next());
|
|
28
28
|
});
|
|
29
|
-
import { a4 as
|
|
30
|
-
import "../stencil/ui-skeleton-
|
|
29
|
+
import { a4 as Bs, a5 as Hs, a as js, $ as Ys, S as Vs, i as Us, s as Ws, f as de, b as qs, n as fi, d as ae, g as le, j as A, p as Ks, q as Gs, u as Js, w as uo, h as m, k as U, e as k, Y as Kt, o as C, O as ho, P as Xs, r as Zs, c as me, t as Ve, l as Mt, m as pe, v as Ce, F as Qs, x as en, y as tn, z as on, A as rn, B as sn } from "./GeneralLogout-DwBcwupG.js";
|
|
30
|
+
import "../stencil/ui-skeleton-DoX-UmRU.js";
|
|
31
31
|
/**
|
|
32
32
|
* @license
|
|
33
33
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
34
34
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
35
35
|
*/
|
|
36
|
-
function ye(o, t = "24.5.
|
|
36
|
+
function ye(o, t = "24.5.12") {
|
|
37
37
|
Object.defineProperty(o, "version", {
|
|
38
38
|
get() {
|
|
39
39
|
return t;
|
|
@@ -54,18 +54,18 @@ function ye(o, t = "24.5.10") {
|
|
|
54
54
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
55
55
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
56
56
|
*/
|
|
57
|
-
class
|
|
57
|
+
class nn extends HTMLElement {
|
|
58
58
|
static get is() {
|
|
59
59
|
return "vaadin-lumo-styles";
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
ye(
|
|
62
|
+
ye(nn);
|
|
63
63
|
/**
|
|
64
64
|
* @license
|
|
65
65
|
* Copyright 2019 Google LLC
|
|
66
66
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
67
67
|
*/
|
|
68
|
-
const Dt = globalThis, $i = Dt.ShadowRoot && (Dt.ShadyCSS === void 0 || Dt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Ri = Symbol(),
|
|
68
|
+
const Dt = globalThis, $i = Dt.ShadowRoot && (Dt.ShadyCSS === void 0 || Dt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Ri = Symbol(), po = /* @__PURE__ */ new WeakMap();
|
|
69
69
|
let Bi = class {
|
|
70
70
|
constructor(t, e, i) {
|
|
71
71
|
if (this._$cssResult$ = !0, i !== Ri)
|
|
@@ -77,7 +77,7 @@ let Bi = class {
|
|
|
77
77
|
const e = this.t;
|
|
78
78
|
if ($i && t === void 0) {
|
|
79
79
|
const i = e !== void 0 && e.length === 1;
|
|
80
|
-
i && (t =
|
|
80
|
+
i && (t = po.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && po.set(e, t));
|
|
81
81
|
}
|
|
82
82
|
return t;
|
|
83
83
|
}
|
|
@@ -85,7 +85,7 @@ let Bi = class {
|
|
|
85
85
|
return this.cssText;
|
|
86
86
|
}
|
|
87
87
|
};
|
|
88
|
-
const
|
|
88
|
+
const an = (o) => new Bi(typeof o == "string" ? o : o + "", void 0, Ri), z = (o, ...t) => {
|
|
89
89
|
const e = o.length === 1 ? o[0] : t.reduce((i, r, s) => i + ((n) => {
|
|
90
90
|
if (n._$cssResult$ === !0)
|
|
91
91
|
return n.cssText;
|
|
@@ -94,7 +94,7 @@ const ln = (o) => new Bi(typeof o == "string" ? o : o + "", void 0, Ri), z = (o,
|
|
|
94
94
|
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.");
|
|
95
95
|
})(r) + o[s + 1], o[0]);
|
|
96
96
|
return new Bi(e, o, Ri);
|
|
97
|
-
},
|
|
97
|
+
}, ur = (o, t) => {
|
|
98
98
|
if ($i)
|
|
99
99
|
o.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
100
100
|
else
|
|
@@ -102,21 +102,21 @@ const ln = (o) => new Bi(typeof o == "string" ? o : o + "", void 0, Ri), z = (o,
|
|
|
102
102
|
const i = document.createElement("style"), r = Dt.litNonce;
|
|
103
103
|
r !== void 0 && i.setAttribute("nonce", r), i.textContent = e.cssText, o.appendChild(i);
|
|
104
104
|
}
|
|
105
|
-
},
|
|
105
|
+
}, fo = $i ? (o) => o : (o) => o instanceof CSSStyleSheet ? ((t) => {
|
|
106
106
|
let e = "";
|
|
107
107
|
for (const i of t.cssRules)
|
|
108
108
|
e += i.cssText;
|
|
109
|
-
return
|
|
109
|
+
return an(e);
|
|
110
110
|
})(o) : o;
|
|
111
111
|
/**
|
|
112
112
|
* @license
|
|
113
113
|
* Copyright 2017 Google LLC
|
|
114
114
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
115
115
|
*/
|
|
116
|
-
const { is:
|
|
116
|
+
const { is: ln, defineProperty: cn, getOwnPropertyDescriptor: un, getOwnPropertyNames: dn, getOwnPropertySymbols: hn, getPrototypeOf: pn } = Object, De = globalThis, mo = De.trustedTypes, fn = mo ? mo.emptyScript : "", Gt = De.reactiveElementPolyfillSupport, dt = (o, t) => o, mi = { toAttribute(o, t) {
|
|
117
117
|
switch (t) {
|
|
118
118
|
case Boolean:
|
|
119
|
-
o = o ?
|
|
119
|
+
o = o ? fn : null;
|
|
120
120
|
break;
|
|
121
121
|
case Object:
|
|
122
122
|
case Array:
|
|
@@ -141,9 +141,9 @@ const { is: cn, defineProperty: un, getOwnPropertyDescriptor: dn, getOwnProperty
|
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
return e;
|
|
144
|
-
} },
|
|
145
|
-
var
|
|
146
|
-
(
|
|
144
|
+
} }, dr = (o, t) => !ln(o, t), _o = { attribute: !0, type: String, converter: mi, reflect: !1, hasChanged: dr };
|
|
145
|
+
var rr, sr;
|
|
146
|
+
(rr = Symbol.metadata) != null || (Symbol.metadata = Symbol("metadata")), (sr = De.litPropertyMetadata) != null || (De.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
147
147
|
class We extends HTMLElement {
|
|
148
148
|
static addInitializer(t) {
|
|
149
149
|
var e;
|
|
@@ -152,15 +152,15 @@ class We extends HTMLElement {
|
|
|
152
152
|
static get observedAttributes() {
|
|
153
153
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
154
154
|
}
|
|
155
|
-
static createProperty(t, e =
|
|
155
|
+
static createProperty(t, e = _o) {
|
|
156
156
|
if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
|
|
157
157
|
const i = Symbol(), r = this.getPropertyDescriptor(t, i, e);
|
|
158
|
-
r !== void 0 &&
|
|
158
|
+
r !== void 0 && cn(this.prototype, t, r);
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
161
|
static getPropertyDescriptor(t, e, i) {
|
|
162
162
|
var n;
|
|
163
|
-
const { get: r, set: s } = (n =
|
|
163
|
+
const { get: r, set: s } = (n = un(this.prototype, t)) != null ? n : { get() {
|
|
164
164
|
return this[e];
|
|
165
165
|
}, set(a) {
|
|
166
166
|
this[e] = a;
|
|
@@ -174,19 +174,19 @@ class We extends HTMLElement {
|
|
|
174
174
|
}
|
|
175
175
|
static getPropertyOptions(t) {
|
|
176
176
|
var e;
|
|
177
|
-
return (e = this.elementProperties.get(t)) != null ? e :
|
|
177
|
+
return (e = this.elementProperties.get(t)) != null ? e : _o;
|
|
178
178
|
}
|
|
179
179
|
static _$Ei() {
|
|
180
180
|
if (this.hasOwnProperty(dt("elementProperties")))
|
|
181
181
|
return;
|
|
182
|
-
const t =
|
|
182
|
+
const t = pn(this);
|
|
183
183
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
184
184
|
}
|
|
185
185
|
static finalize() {
|
|
186
186
|
if (this.hasOwnProperty(dt("finalized")))
|
|
187
187
|
return;
|
|
188
188
|
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(dt("properties"))) {
|
|
189
|
-
const e = this.properties, i = [...
|
|
189
|
+
const e = this.properties, i = [...dn(e), ...hn(e)];
|
|
190
190
|
for (const r of i)
|
|
191
191
|
this.createProperty(r, e[r]);
|
|
192
192
|
}
|
|
@@ -209,9 +209,9 @@ class We extends HTMLElement {
|
|
|
209
209
|
if (Array.isArray(t)) {
|
|
210
210
|
const i = new Set(t.flat(1 / 0).reverse());
|
|
211
211
|
for (const r of i)
|
|
212
|
-
e.unshift(
|
|
212
|
+
e.unshift(fo(r));
|
|
213
213
|
} else
|
|
214
|
-
t !== void 0 && e.push(
|
|
214
|
+
t !== void 0 && e.push(fo(t));
|
|
215
215
|
return e;
|
|
216
216
|
}
|
|
217
217
|
static _$Eu(t, e) {
|
|
@@ -242,7 +242,7 @@ class We extends HTMLElement {
|
|
|
242
242
|
createRenderRoot() {
|
|
243
243
|
var e;
|
|
244
244
|
const t = (e = this.shadowRoot) != null ? e : this.attachShadow(this.constructor.shadowRootOptions);
|
|
245
|
-
return
|
|
245
|
+
return ur(t, this.constructor.elementStyles), t;
|
|
246
246
|
}
|
|
247
247
|
connectedCallback() {
|
|
248
248
|
var t, e;
|
|
@@ -282,7 +282,7 @@ class We extends HTMLElement {
|
|
|
282
282
|
requestUpdate(t, e, i) {
|
|
283
283
|
var r;
|
|
284
284
|
if (t !== void 0) {
|
|
285
|
-
if (i != null || (i = this.constructor.getPropertyOptions(t)), !((r = i.hasChanged) != null ? r :
|
|
285
|
+
if (i != null || (i = this.constructor.getPropertyOptions(t)), !((r = i.hasChanged) != null ? r : dr)(this[t], e))
|
|
286
286
|
return;
|
|
287
287
|
this.P(t, e, i);
|
|
288
288
|
}
|
|
@@ -363,40 +363,40 @@ class We extends HTMLElement {
|
|
|
363
363
|
firstUpdated(t) {
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
|
-
var
|
|
367
|
-
We.elementStyles = [], We.shadowRootOptions = { mode: "open" }, We[dt("elementProperties")] = /* @__PURE__ */ new Map(), We[dt("finalized")] = /* @__PURE__ */ new Map(), Gt == null || Gt({ ReactiveElement: We }), ((
|
|
366
|
+
var nr;
|
|
367
|
+
We.elementStyles = [], We.shadowRootOptions = { mode: "open" }, We[dt("elementProperties")] = /* @__PURE__ */ new Map(), We[dt("finalized")] = /* @__PURE__ */ new Map(), Gt == null || Gt({ ReactiveElement: We }), ((nr = De.reactiveElementVersions) != null ? nr : De.reactiveElementVersions = []).push("2.0.4");
|
|
368
368
|
/**
|
|
369
369
|
* @license
|
|
370
370
|
* Copyright 2017 Google LLC
|
|
371
371
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
372
372
|
*/
|
|
373
|
-
const ht = globalThis, Ot = ht.trustedTypes,
|
|
374
|
-
\f\r]`, rt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
|
|
375
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
|
376
|
-
function
|
|
373
|
+
const ht = globalThis, Ot = ht.trustedTypes, go = Ot ? Ot.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, hr = "$lit$", Pe = `lit$${Math.random().toFixed(9).slice(2)}$`, pr = "?" + Pe, mn = `<${pr}>`, Re = document, ft = () => Re.createComment(""), mt = (o) => o === null || typeof o != "object" && typeof o != "function", Hi = Array.isArray, _n = (o) => Hi(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", Jt = `[
|
|
374
|
+
\f\r]`, rt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, bo = /-->/g, vo = />/g, Ne = RegExp(`>|${Jt}(?:([^\\s"'>=/]+)(${Jt}*=${Jt}*(?:[^
|
|
375
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), yo = /'/g, xo = /"/g, fr = /^(?:script|style|textarea|title)$/i, Xe = Symbol.for("lit-noChange"), ee = Symbol.for("lit-nothing"), wo = /* @__PURE__ */ new WeakMap(), ze = Re.createTreeWalker(Re, 129);
|
|
376
|
+
function mr(o, t) {
|
|
377
377
|
if (!Hi(o) || !o.hasOwnProperty("raw"))
|
|
378
378
|
throw Error("invalid template strings array");
|
|
379
|
-
return
|
|
379
|
+
return go !== void 0 ? go.createHTML(t) : t;
|
|
380
380
|
}
|
|
381
|
-
const
|
|
381
|
+
const gn = (o, t) => {
|
|
382
382
|
const e = o.length - 1, i = [];
|
|
383
383
|
let r, s = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = rt;
|
|
384
384
|
for (let a = 0; a < e; a++) {
|
|
385
385
|
const l = o[a];
|
|
386
386
|
let c, u, d = -1, h = 0;
|
|
387
387
|
for (; h < l.length && (n.lastIndex = h, u = n.exec(l), u !== null); )
|
|
388
|
-
h = n.lastIndex, n === rt ? u[1] === "!--" ? n =
|
|
388
|
+
h = n.lastIndex, n === rt ? u[1] === "!--" ? n = bo : u[1] !== void 0 ? n = vo : u[2] !== void 0 ? (fr.test(u[2]) && (r = RegExp("</" + u[2], "g")), n = Ne) : u[3] !== void 0 && (n = Ne) : n === Ne ? u[0] === ">" ? (n = r != null ? r : rt, d = -1) : u[1] === void 0 ? d = -2 : (d = n.lastIndex - u[2].length, c = u[1], n = u[3] === void 0 ? Ne : u[3] === '"' ? xo : yo) : n === xo || n === yo ? n = Ne : n === bo || n === vo ? n = rt : (n = Ne, r = void 0);
|
|
389
389
|
const p = n === Ne && o[a + 1].startsWith("/>") ? " " : "";
|
|
390
|
-
s += n === rt ? l +
|
|
390
|
+
s += n === rt ? l + mn : d >= 0 ? (i.push(c), l.slice(0, d) + hr + l.slice(d) + Pe + p) : l + Pe + (d === -2 ? a : p);
|
|
391
391
|
}
|
|
392
|
-
return [
|
|
392
|
+
return [mr(o, s + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
|
|
393
393
|
};
|
|
394
394
|
class _t {
|
|
395
395
|
constructor({ strings: t, _$litType$: e }, i) {
|
|
396
396
|
let r;
|
|
397
397
|
this.parts = [];
|
|
398
398
|
let s = 0, n = 0;
|
|
399
|
-
const a = t.length - 1, l = this.parts, [c, u] =
|
|
399
|
+
const a = t.length - 1, l = this.parts, [c, u] = gn(t, e);
|
|
400
400
|
if (this.el = _t.createElement(c, i), ze.currentNode = this.el.content, e === 2 || e === 3) {
|
|
401
401
|
const d = this.el.content.firstChild;
|
|
402
402
|
d.replaceWith(...d.childNodes);
|
|
@@ -405,12 +405,12 @@ class _t {
|
|
|
405
405
|
if (r.nodeType === 1) {
|
|
406
406
|
if (r.hasAttributes())
|
|
407
407
|
for (const d of r.getAttributeNames())
|
|
408
|
-
if (d.endsWith(
|
|
408
|
+
if (d.endsWith(hr)) {
|
|
409
409
|
const h = u[n++], p = r.getAttribute(d).split(Pe), b = /([.?@])?(.*)/.exec(h);
|
|
410
|
-
l.push({ type: 1, index: s, name: b[2], strings: p, ctor: b[1] === "." ?
|
|
410
|
+
l.push({ type: 1, index: s, name: b[2], strings: p, ctor: b[1] === "." ? vn : b[1] === "?" ? yn : b[1] === "@" ? xn : Bt }), r.removeAttribute(d);
|
|
411
411
|
} else
|
|
412
412
|
d.startsWith(Pe) && (l.push({ type: 6, index: s }), r.removeAttribute(d));
|
|
413
|
-
if (
|
|
413
|
+
if (fr.test(r.tagName)) {
|
|
414
414
|
const d = r.textContent.split(Pe), h = d.length - 1;
|
|
415
415
|
if (h > 0) {
|
|
416
416
|
r.textContent = Ot ? Ot.emptyScript : "";
|
|
@@ -420,7 +420,7 @@ class _t {
|
|
|
420
420
|
}
|
|
421
421
|
}
|
|
422
422
|
} else if (r.nodeType === 8)
|
|
423
|
-
if (r.data ===
|
|
423
|
+
if (r.data === pr)
|
|
424
424
|
l.push({ type: 2, index: s });
|
|
425
425
|
else {
|
|
426
426
|
let d = -1;
|
|
@@ -443,7 +443,7 @@ function Ze(o, t, e = o, i) {
|
|
|
443
443
|
const s = mt(t) ? void 0 : t._$litDirective$;
|
|
444
444
|
return (r == null ? void 0 : r.constructor) !== s && ((a = r == null ? void 0 : r._$AO) == null || a.call(r, !1), s === void 0 ? r = void 0 : (r = new s(o), r._$AT(o, e, i)), i !== void 0 ? ((l = e._$Co) != null ? l : e._$Co = [])[i] = r : e._$Cl = r), r !== void 0 && (t = Ze(o, r._$AS(o, t.values), r, i)), t;
|
|
445
445
|
}
|
|
446
|
-
class
|
|
446
|
+
class bn {
|
|
447
447
|
constructor(t, e) {
|
|
448
448
|
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
|
|
449
449
|
}
|
|
@@ -461,7 +461,7 @@ class vn {
|
|
|
461
461
|
for (; l !== void 0; ) {
|
|
462
462
|
if (n === l.index) {
|
|
463
463
|
let u;
|
|
464
|
-
l.type === 2 ? u = new Et(s, s.nextSibling, this, t) : l.type === 1 ? u = new l.ctor(s, l.name, l.strings, this, t) : l.type === 6 && (u = new
|
|
464
|
+
l.type === 2 ? u = new Et(s, s.nextSibling, this, t) : l.type === 1 ? u = new l.ctor(s, l.name, l.strings, this, t) : l.type === 6 && (u = new wn(s, this, t)), this._$AV.push(u), l = i[++a];
|
|
465
465
|
}
|
|
466
466
|
n !== (l == null ? void 0 : l.index) && (s = ze.nextNode(), n++);
|
|
467
467
|
}
|
|
@@ -494,7 +494,7 @@ class Et {
|
|
|
494
494
|
return this._$AB;
|
|
495
495
|
}
|
|
496
496
|
_$AI(t, e = this) {
|
|
497
|
-
t = Ze(this, t, e), mt(t) ? t === ee || t == null || t === "" ? (this._$AH !== ee && this._$AR(), this._$AH = ee) : t !== this._$AH && t !== Xe && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) :
|
|
497
|
+
t = Ze(this, t, e), mt(t) ? t === ee || t == null || t === "" ? (this._$AH !== ee && this._$AR(), this._$AH = ee) : t !== this._$AH && t !== Xe && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : _n(t) ? this.k(t) : this._(t);
|
|
498
498
|
}
|
|
499
499
|
O(t) {
|
|
500
500
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -507,17 +507,17 @@ class Et {
|
|
|
507
507
|
}
|
|
508
508
|
$(t) {
|
|
509
509
|
var s;
|
|
510
|
-
const { values: e, _$litType$: i } = t, r = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = _t.createElement(
|
|
510
|
+
const { values: e, _$litType$: i } = t, r = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = _t.createElement(mr(i.h, i.h[0]), this.options)), i);
|
|
511
511
|
if (((s = this._$AH) == null ? void 0 : s._$AD) === r)
|
|
512
512
|
this._$AH.p(e);
|
|
513
513
|
else {
|
|
514
|
-
const n = new
|
|
514
|
+
const n = new bn(r, this), a = n.u(this.options);
|
|
515
515
|
n.p(e), this.T(a), this._$AH = n;
|
|
516
516
|
}
|
|
517
517
|
}
|
|
518
518
|
_$AC(t) {
|
|
519
|
-
let e =
|
|
520
|
-
return e === void 0 &&
|
|
519
|
+
let e = wo.get(t.strings);
|
|
520
|
+
return e === void 0 && wo.set(t.strings, e = new _t(t)), e;
|
|
521
521
|
}
|
|
522
522
|
k(t) {
|
|
523
523
|
Hi(this._$AH) || (this._$AH = [], this._$AR());
|
|
@@ -566,7 +566,7 @@ class Bt {
|
|
|
566
566
|
t === ee ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t != null ? t : "");
|
|
567
567
|
}
|
|
568
568
|
}
|
|
569
|
-
class
|
|
569
|
+
class vn extends Bt {
|
|
570
570
|
constructor() {
|
|
571
571
|
super(...arguments), this.type = 3;
|
|
572
572
|
}
|
|
@@ -574,7 +574,7 @@ class yn extends Bt {
|
|
|
574
574
|
this.element[this.name] = t === ee ? void 0 : t;
|
|
575
575
|
}
|
|
576
576
|
}
|
|
577
|
-
class
|
|
577
|
+
class yn extends Bt {
|
|
578
578
|
constructor() {
|
|
579
579
|
super(...arguments), this.type = 4;
|
|
580
580
|
}
|
|
@@ -582,7 +582,7 @@ class xn extends Bt {
|
|
|
582
582
|
this.element.toggleAttribute(this.name, !!t && t !== ee);
|
|
583
583
|
}
|
|
584
584
|
}
|
|
585
|
-
class
|
|
585
|
+
class xn extends Bt {
|
|
586
586
|
constructor(t, e, i, r, s) {
|
|
587
587
|
super(t, e, i, r, s), this.type = 5;
|
|
588
588
|
}
|
|
@@ -598,7 +598,7 @@ class wn extends Bt {
|
|
|
598
598
|
typeof this._$AH == "function" ? this._$AH.call((i = (e = this.options) == null ? void 0 : e.host) != null ? i : this.element, t) : this._$AH.handleEvent(t);
|
|
599
599
|
}
|
|
600
600
|
}
|
|
601
|
-
class
|
|
601
|
+
class wn {
|
|
602
602
|
constructor(t, e, i) {
|
|
603
603
|
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
|
|
604
604
|
}
|
|
@@ -610,9 +610,9 @@ class En {
|
|
|
610
610
|
}
|
|
611
611
|
}
|
|
612
612
|
const Xt = ht.litHtmlPolyfillSupport;
|
|
613
|
-
var
|
|
614
|
-
Xt == null || Xt(_t, Et), ((
|
|
615
|
-
const
|
|
613
|
+
var ar;
|
|
614
|
+
Xt == null || Xt(_t, Et), ((ar = ht.litHtmlVersions) != null ? ar : ht.litHtmlVersions = []).push("3.2.1");
|
|
615
|
+
const En = (o, t, e) => {
|
|
616
616
|
var s, n;
|
|
617
617
|
const i = (s = e == null ? void 0 : e.renderBefore) != null ? s : t;
|
|
618
618
|
let r = i._$litPart$;
|
|
@@ -638,7 +638,7 @@ class qe extends We {
|
|
|
638
638
|
}
|
|
639
639
|
update(t) {
|
|
640
640
|
const e = this.render();
|
|
641
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do =
|
|
641
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = En(e, this.renderRoot, this.renderOptions);
|
|
642
642
|
}
|
|
643
643
|
connectedCallback() {
|
|
644
644
|
var t;
|
|
@@ -652,18 +652,18 @@ class qe extends We {
|
|
|
652
652
|
return Xe;
|
|
653
653
|
}
|
|
654
654
|
}
|
|
655
|
-
var
|
|
656
|
-
qe._$litElement$ = !0, qe.finalized = !0, (
|
|
655
|
+
var lr;
|
|
656
|
+
qe._$litElement$ = !0, qe.finalized = !0, (lr = globalThis.litElementHydrateSupport) == null || lr.call(globalThis, { LitElement: qe });
|
|
657
657
|
const Zt = globalThis.litElementPolyfillSupport;
|
|
658
658
|
Zt == null || Zt({ LitElement: qe });
|
|
659
|
-
var
|
|
660
|
-
((
|
|
659
|
+
var cr;
|
|
660
|
+
((cr = globalThis.litElementVersions) != null ? cr : globalThis.litElementVersions = []).push("4.1.1");
|
|
661
661
|
/**
|
|
662
662
|
* @license
|
|
663
663
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
664
664
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
665
665
|
*/
|
|
666
|
-
const
|
|
666
|
+
const Sn = (o) => class extends o {
|
|
667
667
|
static get properties() {
|
|
668
668
|
return {
|
|
669
669
|
/**
|
|
@@ -702,102 +702,102 @@ const Cn = (o) => class extends o {
|
|
|
702
702
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
703
703
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
704
704
|
*/
|
|
705
|
-
const
|
|
706
|
-
function
|
|
705
|
+
const _r = [], _i = /* @__PURE__ */ new Set(), ji = /* @__PURE__ */ new Set();
|
|
706
|
+
function gr(o) {
|
|
707
707
|
return o && Object.prototype.hasOwnProperty.call(o, "__themes");
|
|
708
708
|
}
|
|
709
|
-
function
|
|
710
|
-
return
|
|
709
|
+
function Cn(o) {
|
|
710
|
+
return gr(customElements.get(o));
|
|
711
711
|
}
|
|
712
|
-
function
|
|
712
|
+
function An(o = []) {
|
|
713
713
|
return [o].flat(1 / 0).filter((t) => t instanceof Bi ? !0 : (console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."), !1));
|
|
714
714
|
}
|
|
715
|
-
function
|
|
715
|
+
function br(o, t) {
|
|
716
716
|
return (o || "").split(" ").some((e) => new RegExp(`^${e.split("*").join(".*")}$`, "u").test(t));
|
|
717
717
|
}
|
|
718
|
-
function
|
|
718
|
+
function vr(o) {
|
|
719
719
|
return o.map((t) => t.cssText).join(`
|
|
720
720
|
`);
|
|
721
721
|
}
|
|
722
722
|
const It = "vaadin-themable-mixin-style";
|
|
723
|
-
function
|
|
723
|
+
function kn(o, t) {
|
|
724
724
|
const e = document.createElement("style");
|
|
725
|
-
e.id = It, e.textContent =
|
|
725
|
+
e.id = It, e.textContent = vr(o), t.content.appendChild(e);
|
|
726
726
|
}
|
|
727
|
-
function
|
|
727
|
+
function Pn(o) {
|
|
728
728
|
if (!o.shadowRoot)
|
|
729
729
|
return;
|
|
730
730
|
const t = o.constructor;
|
|
731
731
|
if (o instanceof qe)
|
|
732
|
-
[...o.shadowRoot.querySelectorAll("style")].forEach((e) => e.remove()),
|
|
732
|
+
[...o.shadowRoot.querySelectorAll("style")].forEach((e) => e.remove()), ur(o.shadowRoot, t.elementStyles);
|
|
733
733
|
else {
|
|
734
734
|
const e = o.shadowRoot.getElementById(It), i = t.prototype._template;
|
|
735
735
|
e.textContent = i.content.getElementById(It).textContent;
|
|
736
736
|
}
|
|
737
737
|
}
|
|
738
|
-
function
|
|
738
|
+
function Dn(o) {
|
|
739
739
|
_i.forEach((t) => {
|
|
740
740
|
const e = t.deref();
|
|
741
|
-
e instanceof o ?
|
|
741
|
+
e instanceof o ? Pn(e) : e || _i.delete(t);
|
|
742
742
|
});
|
|
743
743
|
}
|
|
744
|
-
function
|
|
744
|
+
function yr(o) {
|
|
745
745
|
if (o.prototype instanceof qe)
|
|
746
746
|
o.elementStyles = o.finalizeStyles(o.styles);
|
|
747
747
|
else {
|
|
748
748
|
const t = o.prototype._template;
|
|
749
|
-
t.content.getElementById(It).textContent =
|
|
749
|
+
t.content.getElementById(It).textContent = vr(o.getStylesForThis());
|
|
750
750
|
}
|
|
751
751
|
ji.forEach((t) => {
|
|
752
752
|
const e = customElements.get(t);
|
|
753
|
-
e !== o && e.prototype instanceof o &&
|
|
753
|
+
e !== o && e.prototype instanceof o && yr(e);
|
|
754
754
|
});
|
|
755
755
|
}
|
|
756
|
-
function
|
|
756
|
+
function Tn(o, t) {
|
|
757
757
|
const e = o.__themes;
|
|
758
758
|
return !e || !t ? !1 : e.some(
|
|
759
759
|
(i) => i.styles.some((r) => t.some((s) => s.cssText === r.cssText))
|
|
760
760
|
);
|
|
761
761
|
}
|
|
762
762
|
function K(o, t, e = {}) {
|
|
763
|
-
t =
|
|
763
|
+
t = An(t), window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.registerStyles(o, t, e) : _r.push({
|
|
764
764
|
themeFor: o,
|
|
765
765
|
styles: t,
|
|
766
766
|
include: e.include,
|
|
767
767
|
moduleId: e.moduleId
|
|
768
768
|
}), o && ji.forEach((i) => {
|
|
769
|
-
if (
|
|
769
|
+
if (br(o, i) && Cn(i)) {
|
|
770
770
|
const r = customElements.get(i);
|
|
771
|
-
|
|
771
|
+
Tn(r, t) ? console.warn(`Registering styles that already exist for ${i}`) : (!window.Vaadin || !window.Vaadin.suppressPostFinalizeStylesWarning) && console.warn(
|
|
772
772
|
`The custom element definition for "${i}" was finalized before a style module was registered. Ideally, import component specific style modules before importing the corresponding custom element. This warning can be suppressed by setting "window.Vaadin.suppressPostFinalizeStylesWarning = true".`
|
|
773
|
-
),
|
|
773
|
+
), yr(r), Dn(r);
|
|
774
774
|
}
|
|
775
775
|
});
|
|
776
776
|
}
|
|
777
777
|
function gi() {
|
|
778
|
-
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() :
|
|
778
|
+
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() : _r;
|
|
779
779
|
}
|
|
780
|
-
function
|
|
780
|
+
function Mn(o = "") {
|
|
781
781
|
let t = 0;
|
|
782
782
|
return o.startsWith("lumo-") || o.startsWith("material-") ? t = 1 : o.startsWith("vaadin-") && (t = 2), t;
|
|
783
783
|
}
|
|
784
|
-
function
|
|
784
|
+
function xr(o) {
|
|
785
785
|
const t = [];
|
|
786
786
|
return o.include && [].concat(o.include).forEach((e) => {
|
|
787
787
|
const i = gi().find((r) => r.moduleId === e);
|
|
788
|
-
i ? t.push(...
|
|
788
|
+
i ? t.push(...xr(i), ...i.styles) : console.warn(`Included moduleId ${e} not found in style registry`);
|
|
789
789
|
}, o.styles), t;
|
|
790
790
|
}
|
|
791
|
-
function
|
|
792
|
-
const t = `${o}-default-theme`, e = gi().filter((i) => i.moduleId !== t &&
|
|
791
|
+
function On(o) {
|
|
792
|
+
const t = `${o}-default-theme`, e = gi().filter((i) => i.moduleId !== t && br(i.themeFor, o)).map((i) => qt(Wt({}, i), {
|
|
793
793
|
// Prepend styles from included themes
|
|
794
|
-
styles: [...
|
|
794
|
+
styles: [...xr(i), ...i.styles],
|
|
795
795
|
// Map moduleId to includePriority
|
|
796
|
-
includePriority:
|
|
796
|
+
includePriority: Mn(i.moduleId)
|
|
797
797
|
})).sort((i, r) => r.includePriority - i.includePriority);
|
|
798
798
|
return e.length > 0 ? e : gi().filter((i) => i.moduleId === t);
|
|
799
799
|
}
|
|
800
|
-
const Be = (o) => class extends
|
|
800
|
+
const Be = (o) => class extends Sn(o) {
|
|
801
801
|
constructor() {
|
|
802
802
|
super(), _i.add(new WeakRef(this));
|
|
803
803
|
}
|
|
@@ -809,7 +809,7 @@ const Be = (o) => class extends Cn(o) {
|
|
|
809
809
|
if (super.finalize(), this.is && ji.add(this.is), this.elementStyles)
|
|
810
810
|
return;
|
|
811
811
|
const e = this.prototype._template;
|
|
812
|
-
!e ||
|
|
812
|
+
!e || gr(this) || kn(this.getStylesForThis(), e);
|
|
813
813
|
}
|
|
814
814
|
/**
|
|
815
815
|
* Covers LitElement based component styling
|
|
@@ -827,7 +827,7 @@ const Be = (o) => class extends Cn(o) {
|
|
|
827
827
|
*/
|
|
828
828
|
static getStylesForThis() {
|
|
829
829
|
const e = o.__themes || [], i = Object.getPrototypeOf(this.prototype), r = (i ? i.constructor.__themes : []) || [];
|
|
830
|
-
this.__themes = [...e, ...r, ...
|
|
830
|
+
this.__themes = [...e, ...r, ...On(this.is)];
|
|
831
831
|
const s = this.__themes.flatMap((n) => n.styles);
|
|
832
832
|
return s.filter((n, a) => a === s.lastIndexOf(n));
|
|
833
833
|
}
|
|
@@ -837,19 +837,19 @@ const Be = (o) => class extends Cn(o) {
|
|
|
837
837
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
838
838
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
839
839
|
*/
|
|
840
|
-
const
|
|
840
|
+
const In = (o, ...t) => {
|
|
841
841
|
const e = document.createElement("style");
|
|
842
842
|
e.id = o, e.textContent = t.map((i) => i.toString()).join(`
|
|
843
843
|
`).replace(":host", "html"), document.head.insertAdjacentElement("afterbegin", e);
|
|
844
844
|
}, tt = (o, ...t) => {
|
|
845
|
-
|
|
845
|
+
In(`lumo-${o}`, t);
|
|
846
846
|
};
|
|
847
847
|
/**
|
|
848
848
|
* @license
|
|
849
849
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
850
850
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
851
851
|
*/
|
|
852
|
-
const
|
|
852
|
+
const Nn = z`
|
|
853
853
|
:host {
|
|
854
854
|
--lumo-size-xs: 1.625rem;
|
|
855
855
|
--lumo-size-s: 1.875rem;
|
|
@@ -865,13 +865,13 @@ const zn = z`
|
|
|
865
865
|
--lumo-icon-size: var(--lumo-icon-size-m);
|
|
866
866
|
}
|
|
867
867
|
`;
|
|
868
|
-
tt("sizing-props",
|
|
868
|
+
tt("sizing-props", Nn);
|
|
869
869
|
/**
|
|
870
870
|
* @license
|
|
871
871
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
872
872
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
873
873
|
*/
|
|
874
|
-
const
|
|
874
|
+
const zn = z`
|
|
875
875
|
:host {
|
|
876
876
|
/* Square */
|
|
877
877
|
--lumo-space-xs: 0.25rem;
|
|
@@ -895,13 +895,13 @@ const Fn = z`
|
|
|
895
895
|
--lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
|
|
896
896
|
}
|
|
897
897
|
`;
|
|
898
|
-
tt("spacing-props",
|
|
898
|
+
tt("spacing-props", zn);
|
|
899
899
|
/**
|
|
900
900
|
* @license
|
|
901
901
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
902
902
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
903
903
|
*/
|
|
904
|
-
const
|
|
904
|
+
const Fn = z`
|
|
905
905
|
:host {
|
|
906
906
|
/* Border radius */
|
|
907
907
|
--lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
|
|
@@ -1003,13 +1003,13 @@ z`
|
|
|
1003
1003
|
--vaadin-input-field-value-font-weight: 500;
|
|
1004
1004
|
}
|
|
1005
1005
|
`;
|
|
1006
|
-
tt("style-props",
|
|
1006
|
+
tt("style-props", Fn);
|
|
1007
1007
|
/**
|
|
1008
1008
|
* @license
|
|
1009
1009
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1010
1010
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1011
1011
|
*/
|
|
1012
|
-
const
|
|
1012
|
+
const Ln = z`
|
|
1013
1013
|
:host {
|
|
1014
1014
|
/* Base (background) */
|
|
1015
1015
|
--lumo-base-color: #fff;
|
|
@@ -1095,8 +1095,8 @@ const $n = z`
|
|
|
1095
1095
|
}
|
|
1096
1096
|
}
|
|
1097
1097
|
`;
|
|
1098
|
-
tt("color-props",
|
|
1099
|
-
const
|
|
1098
|
+
tt("color-props", Ln);
|
|
1099
|
+
const $n = z`
|
|
1100
1100
|
[theme~='dark'] {
|
|
1101
1101
|
/* Base (background) */
|
|
1102
1102
|
--lumo-base-color: hsl(214, 35%, 21%);
|
|
@@ -1215,13 +1215,13 @@ const Rn = z`
|
|
|
1215
1215
|
background: transparent;
|
|
1216
1216
|
}
|
|
1217
1217
|
`;
|
|
1218
|
-
K("",
|
|
1218
|
+
K("", $n, { moduleId: "lumo-color" });
|
|
1219
1219
|
/**
|
|
1220
1220
|
* @license
|
|
1221
1221
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1222
1222
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1223
1223
|
*/
|
|
1224
|
-
const
|
|
1224
|
+
const Rn = z`
|
|
1225
1225
|
:host {
|
|
1226
1226
|
/* prettier-ignore */
|
|
1227
1227
|
--lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
@@ -1241,7 +1241,7 @@ const Bn = z`
|
|
|
1241
1241
|
--lumo-line-height-s: 1.375;
|
|
1242
1242
|
--lumo-line-height-m: 1.625;
|
|
1243
1243
|
}
|
|
1244
|
-
`,
|
|
1244
|
+
`, Bn = z`
|
|
1245
1245
|
body,
|
|
1246
1246
|
:host {
|
|
1247
1247
|
font-family: var(--lumo-font-family);
|
|
@@ -1334,14 +1334,14 @@ const Bn = z`
|
|
|
1334
1334
|
border-right: 2px solid var(--lumo-contrast-30pct);
|
|
1335
1335
|
}
|
|
1336
1336
|
`;
|
|
1337
|
-
K("",
|
|
1338
|
-
tt("typography-props",
|
|
1337
|
+
K("", Bn, { moduleId: "lumo-typography" });
|
|
1338
|
+
tt("typography-props", Rn);
|
|
1339
1339
|
/**
|
|
1340
1340
|
* @license
|
|
1341
1341
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1342
1342
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1343
1343
|
*/
|
|
1344
|
-
const
|
|
1344
|
+
const wr = z`
|
|
1345
1345
|
:host {
|
|
1346
1346
|
top: var(--lumo-space-m);
|
|
1347
1347
|
right: var(--lumo-space-m);
|
|
@@ -1407,13 +1407,13 @@ const Er = z`
|
|
|
1407
1407
|
}
|
|
1408
1408
|
}
|
|
1409
1409
|
`;
|
|
1410
|
-
K("",
|
|
1410
|
+
K("", wr, { moduleId: "lumo-overlay" });
|
|
1411
1411
|
/**
|
|
1412
1412
|
* @license
|
|
1413
1413
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1414
1414
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1415
1415
|
*/
|
|
1416
|
-
const
|
|
1416
|
+
const Er = z`
|
|
1417
1417
|
:host([opening]),
|
|
1418
1418
|
:host([closing]) {
|
|
1419
1419
|
animation: 0.14s lumo-overlay-dummy-animation;
|
|
@@ -1444,8 +1444,8 @@ const Sr = z`
|
|
|
1444
1444
|
}
|
|
1445
1445
|
}
|
|
1446
1446
|
`;
|
|
1447
|
-
K("",
|
|
1448
|
-
const
|
|
1447
|
+
K("", Er, { moduleId: "lumo-menu-overlay-core" });
|
|
1448
|
+
const Hn = z`
|
|
1449
1449
|
/* Small viewport (bottom sheet) styles */
|
|
1450
1450
|
/* Use direct media queries instead of the state attributes ([phone] and [fullscreen]) provided by the elements */
|
|
1451
1451
|
@media (max-width: 450px), (max-height: 450px) {
|
|
@@ -1507,9 +1507,9 @@ const jn = z`
|
|
|
1507
1507
|
transform: translateY(150%);
|
|
1508
1508
|
}
|
|
1509
1509
|
}
|
|
1510
|
-
`,
|
|
1511
|
-
K("",
|
|
1512
|
-
const
|
|
1510
|
+
`, Sr = [wr, Er, Hn];
|
|
1511
|
+
K("", Sr, { moduleId: "lumo-menu-overlay" });
|
|
1512
|
+
const jn = z`
|
|
1513
1513
|
[part='overlay'] {
|
|
1514
1514
|
/*
|
|
1515
1515
|
Width:
|
|
@@ -1555,10 +1555,10 @@ const Yn = z`
|
|
|
1555
1555
|
}
|
|
1556
1556
|
}
|
|
1557
1557
|
`;
|
|
1558
|
-
K("vaadin-date-picker-overlay", [
|
|
1558
|
+
K("vaadin-date-picker-overlay", [Sr, jn], {
|
|
1559
1559
|
moduleId: "lumo-date-picker-overlay"
|
|
1560
1560
|
});
|
|
1561
|
-
const
|
|
1561
|
+
const Yn = z`
|
|
1562
1562
|
:host {
|
|
1563
1563
|
/* Sizing */
|
|
1564
1564
|
--lumo-button-size: var(--lumo-size-m);
|
|
@@ -1835,7 +1835,7 @@ const Vn = z`
|
|
|
1835
1835
|
margin-right: 0;
|
|
1836
1836
|
}
|
|
1837
1837
|
`;
|
|
1838
|
-
K("vaadin-button",
|
|
1838
|
+
K("vaadin-button", Yn, { moduleId: "lumo-button" });
|
|
1839
1839
|
K(
|
|
1840
1840
|
"vaadin-date-picker-year",
|
|
1841
1841
|
z`
|
|
@@ -2360,7 +2360,7 @@ K(
|
|
|
2360
2360
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2361
2361
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2362
2362
|
*/
|
|
2363
|
-
const
|
|
2363
|
+
const Vn = z`
|
|
2364
2364
|
@font-face {
|
|
2365
2365
|
font-family: 'lumo-icons';
|
|
2366
2366
|
src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABEgAAsAAAAAIjQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAQwAAAFZAIUuKY21hcAAAAYgAAAD4AAADrsCU8d5nbHlmAAACgAAAC2cAABeAWri7U2hlYWQAAA3oAAAAMAAAADZa/6SsaGhlYQAADhgAAAAdAAAAJAbpA35obXR4AAAOOAAAABAAAACspBAAAGxvY2EAAA5IAAAAWAAAAFh57oA4bWF4cAAADqAAAAAfAAAAIAFKAXBuYW1lAAAOwAAAATEAAAIuUUJZCHBvc3QAAA/0AAABKwAAAelm8SzVeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGS+yDiBgZWBgamKaQ8DA0MPhGZ8wGDIyAQUZWBlZsAKAtJcUxgcXjG+0mIO+p/FEMUcxDANKMwIkgMABn8MLQB4nO3SWW6DMABF0UtwCEnIPM/zhLK8LqhfXRybSP14XUYtHV9hGYQwQBNIo3cUIPkhQeM7rib1ekqnXg981XuC1qvy84lzojleh3puxL0hPjGjRU473teloEefAUNGjJkwZcacBUtWrNmwZceeA0dOnLlw5cadB09elPGhGf+j0NTI/65KfXerT6JhqKnpRKtgOpuqaTrtKjPUlqHmhto21I7pL6i6hlqY3q7qGWrfUAeGOjTUkaGODXViqFNDnRnq3FAXhro01JWhrg11Y6hbQ90Z6t5QD4Z6NNSToZ4N9WKoV0O9GerdUB+G+jTUl6GWRvkL24BkEXictVh9bFvVFb/nxvbz+7Rf/N6zHcd2bCfP+Wic1Z9N0jpNHCD9SNqqoVBgbQoMjY+pjA4hNnWa2pV1rHSIif0DGkyT2k10Kmu1Cag6huj4ZpqYBHSqJsTEJgZCG3TaVBFv595nO3ZIv4RIrPPuvefe884599zzO/cRF8G/tgn6CFFImNgkR0ggX8wlspbhSSWSdrC5ozd30s2dw5afzvgtyz9/zG9t1hV4RtF1pXolowvtzc2z6L2aYUQM45jKH9WDTvd1LRDoDASYWhfTzTyvboXz6uZX4ARX5wrF39y+HM2+CJ8d0pkyqBIqoze3D12ez4DrFoYzxI8dWwMrDlZ2DMqQAR9AROsJU+2smlTPaTTco52BVxXa2a2+I8vvqd2dVHm1LoPeTn/AZPRYGthDYOeZjBjKoFsVGulR3lGU95SeCK44oHU7MhWUGUKZDT3oSUcG2GWuh+EDDfUYA/jhIhl0TOsJNYSEu7mQmi3UzfXwZKA4BsVsHLXQYGgJW95qEtpJ1VcW9HiTriZBlFEqxsDjA09yCNUoQxxwd7KWSTt2y3GTKifkqHRCoWZc3m11Wa/dKdFgXD4kSYfkeJBKd8KMz7J8dZn/cGRCcLGDnA2Ge3bKzcvlnTDNthFWLH7Xt80ua5FMjA4WKelWv5Xo16vHuYzpRbJhhdVlftuRK0VlR27D9lu5TF0DPBi60OrHNO0AfP/uRWvhn/U3LXICE+nh+3IHPUJ8JE6GyBjZQLbjGchlrSgYngF8zyrIF4NJD3atUcgWsWunGN/UHX5B5/yg7uF87Nqp4Gf52F3gH73DjEZNRoqCKAr9giQJp5rGJABpiVE2htNhW9R8nw0jqYjCYcY4LIjwYNScf4WN06IZnZCEqsI4cFaQbo4Z1TsZBx40YhXkHOecaYE5oY37IIQ+iJJ+UsDYSun5MuRSBRZRUUhlY2DqOGajOR6zrSU/5My6l2DnusH1GQgnw5BZP7iuYM/ahcfQ7Z8y51ddfutvuwNqWQ0cBYr8fj0U0vsHpwerVaB2sWhXT2NExi2r1KUE2tUuVMnkepVQrxTmpQrZTG4iu8he8iPyM3KcPE/+RP5KPoE2CEAKclCBzXATxkYOtUY/o961PWRqsj0chRrHFBbtrjP9/P0ven5pcbRdpL94vfsy33e5+izuwz3nFLFPVNayPZx/jdG1fOChflFRvYzsW6L18efgLrSWIgvcqnGJYi4skO4xREURjbDuxKke5v0T3Mrzkt2fi31uyZlLLrqIpEuXXsMlgw442Jb0GAxjS1DM20kBoCzHLXm/jEm0IltdcvU0fEW24jgiwwRjVd9u4NJHcIyoHJcwvyVqgqj5hqBJ1ZWSJryh9p56UWhX1XbhRbW2ZopuZWsQd5y8mEQ8M+C6xjRYxZbDKWf5AgY+Qq/l6wSPk16zDFjowYuu+wjx13mfkxbyDDxadYT/LijZyI0THB+6yfLaWsRcO82zo9mWTNtpO18qlorZoIVMwSN40tky5DOQ1MCIAe24mvlsuwIIxPb10+uXDQ4uWz/9m3rj+ql7p6bufZARuPVq5tXtsn6KwfP8Jy0TeWOyNhUJN6mhX5rkUTtUppQWEMNTqEdaCGKFYKJaQrCE4JtDLYOlNEKmO5kBTPGY2A0N2sY3+dVlo1N9ycBsIGtOjQ2p/tlZvzo0ur4v6cOh8NTospB7U/X40KahoU3bGIH97dnwmtHlYffVG3R1YOwKM2vNhrPhCT5zk64sG53oS4b31aYjqe/B7+kQiXBN+b6h21hNUPMq29B8CU4elINdygMPKF1B+WBTG7Z9ZshpN/xwEuuDQZR+nuoo4CDaAiiwXmLpmukMQyPf/JMclqgL1ixZQ/nnP2VbdUODFGt2fgBvL123rlLYu/6A9ckb7F3K0/CyBMEu6aQoPscroCcacVehvyQyCZAsizsWWBkoLC+WAiWnOksLKaeuQDzGuqSk42aiYTiJ4zf9afl17SrqaTO1f+XlZAfIuYcq7/IqYMaMrksOJ6vHkOCPDq943xcCnHqVD9pHFRpMqSPXrIua1WNs+tOz1U+ciTCDpPk+c4QYJIHnYhxP/kVPAq+ahFpVhPcHp8qyarhiF+HsBU9Hrl+UZa876fbKipL0KqB6OdUveErgtOI97fZ63ae9SvWU6k2w1JfwqnUbHsYcFCJFrC/W12zIMMirWYEHxMPs6LGYSdkSZ5TsNP9PCpwnWC3HKZ1lydNjWHC2Mn3l6vL0dHn1ldP3LTSrX+vKrBqv7KmMr8p0SR6P1NqF63or6XRlIyO90f7+kf7+myOhvt4tq7f09oUiTc2/dycGgqFQcCDRLYmi1NL7fk0CknVMxEg/cdfs/TnpJMNkgqwj17B8beVazSrVbU4lG67IZYOCnWrYy3yBR9cyWcChywos3LJBEdhhFoAdYjiw0rLGm0xU5OzoGm5/ZfmHjVZpNNg6SznzGKDdwv2cCtVn6Eaxo12cfxLprpVtTcZ6hVx6dow7Yq7e8LXO8PY9Jgjoze9yCtU5FNbegcKkQMdCbt9au/te4Ebe0jkc0ukUL32eYnTpNs20h0KpUOhZPYwVcfhZnfdqeCvDfXiuCbAoYWcXERPc/mDQD3/hdF+wK4i/xv3kYfprIpAuMkk2kW3kdtS0kBIKpZwp8KxmsCyfM1MFzAss9LBkDxRyThiaqTLwKYKJVTwmWTudMyz+yks09346MDh4m72yOxCKrt1XMlQ1qPVlTEVVQ1ofdK/sCWjtZu9qGwZ8YZ9PPWlo1IV3eW3+U0aXblP39zrt+JPf6UhEQ1rUjNBULN+utyuaDNW34kpAVuSOeMTyWbSNWnooFu+QFNWQ4d/Ox4IPWx41fP/fB/Rjeoz08ezPA9TysMtmnOXfGN7Ui3xIYLDALrlDLOP09qtJuY2OeL0+QZXdRnR1nxRVBF/SOyKKPpcrn9mWzH4rH9IidE+PTNU2182+hOgSItrE1slByS24vaLvJpxOqe4Pduf3HJkZ+jLqUz9rRzB7p8gKcgWZwV1L8JtUS5Z2JxZSOCuBoMTQihMzLbCPA0KqGMAljRQjONklW/wjnXKy8vxT/Elvm3/KiMUMOoV0/vnDYlhec0SMKtt3/kKMyOt33tj2bqxQLsTjSGLl+EAsNhCnTyRGktW55EgCn/A4PlnWn+Mg8bgZrWqHxTbPwMuyy1u5YeZF2SUM7JRhddwRgiRuxpmgJmxn9ZW7XpcF3ViX/ar6ptRpGJ0S9Adg4qhb9sI3vbL7qNJV/y4i07t5TZBiho1imFoMz3gED+CtjYUxvP4SOxov4bFoNPg5aR1e+G4UgDPoedJTpogyCJ7oYvRqoVS0MQAy+CoNEdTDUjok5ZHZL/WtjV7rFj3PKQE3iKp7ou+rIxN3b9LB1dGjeT4cvKo3FrnWpYpuaFd/h3dtV8UeKN1Y9hpR3dt4p0H/zKuPQq0kZQUIIpuDfoiETsnIk+gCWMJZUXHtE8V9LkUc2TE8vOMbO4ax/MACabzyaGXc7u3FBr11ThBdB8SIeMAlCntG2KThHSPsaj2Dc9KNyY2a0KZ7ODaTHoRiFkeYz+shZBpCS4X6471KKKnuHd84edfk5F37d1XO5bbkcltu2ZLNbvnPXiUVAnVvprJrP+NObryjxrllS65md6Tm6wzFHRR4dY3QUUjb7MgxaIixU8hspi98fl/Xc+IB4iU66eCVL9YfAfahiSUt4TONS8x0D8W7u8vd3fGWx6OXlM/U1IoU/s61PGhpyXRFa3eReq2qG56lvmYtXavCC1iN7lbiBpWxXHU+cSlztVLVz0tVN600fVsLxaVDknhYioeoXP3t4lqV1r79MAw0GCI1FTL1YIGzPL1MMlJ9ZsN9P7lvA2yr9ZFUzwzPrVgxN/x/SS+chwB4nGNgZGBgAOLPrYdY4vltvjJwM78AijDUqG5oRND/XzNPZboF5HIwMIFEAU/lC+J4nGNgZGBgDvqfBSRfMAAB81QGRgZUoA0AVvYDbwAAAHicY2BgYGB+MTQwAM8EJo8AAAAAAE4AmgDoAQoBLAFOAXABmgHEAe4CGgKcAugEmgS8BNYE8gUOBSoFegXQBf4GRAZmBrYHGAeQCBgIUghqCP4JRgm+CdoKBAo+CoQKugr0C1QLmgvAeJxjYGRgYNBmTGEQZQABJiDmAkIGhv9gPgMAGJQBvAB4nG2RPU7DMBiG3/QP0UoIBGJh8QILavozdmRo9w7d09RpUzlx5LgVvQMn4BAcgoEzcAgOwVvzSZVQbcnf48fvFysJgGt8IcJxROiG9TgauODuj5ukG+EW+UG4jR4ehTv0Q+EunjER7uEWmk+IWpc0d3gVbuAKb8JN+nfhFvlDuI17fAp36L+Fu1jgR7iHp+jF7Arbz1Nb1nO93pnEncSJFtrVuS3VKB6e5EyX2iVer9TyoOr9eux9pjJnCzW1pdfGWFU5u9WpjzfeV5PBIBMfp7aAwQ4FLPrIkbKWqDHn+67pDRK4s4lzbsEux5qHvcIIMb/nueSMyTKkE3jWFdNLHLjW2PPmMa1Hxn3GjGW/wjT0HtOG09JU4WxLk9LH2ISuiv9twJn9y8fh9uIXI+BknAAAAHicbY7ZboMwEEW5CVBCSLrv+76kfJRjTwHFsdGAG+Xvy5JUfehIHp0rnxmNN/D6ir3/a4YBhvARIMQOIowQY4wEE0yxiz3s4wCHOMIxTnCKM5zjApe4wjVucIs73OMBj3jCM17wije84wMzfHqJ0EVmUkmmJo77oOmrHvfIRZbXsTCZplTZldlgb3TYGVHProwFs11t1A57tcON2rErR3PBqcwF1/6ctI6k0GSU4JHMSS6WghdJQ99sTbfuN7QLJ9vQ37dNrgyktnIxlDYLJNuqitpRbYWKFNuyDT6pog6oOYKHtKakeakqKjHXpPwlGRcsC+OqxLIiJpXqoqqDMreG2l5bv9Ri3TRX+c23DZna9WFFgmXuO6Ps1Jm/w6ErW8N3FbHn/QC444j0AA==)
|
|
@@ -2414,13 +2414,13 @@ const Un = z`
|
|
|
2414
2414
|
--lumo-icons-user: '\\ea2a';
|
|
2415
2415
|
}
|
|
2416
2416
|
`;
|
|
2417
|
-
tt("font-icons",
|
|
2417
|
+
tt("font-icons", Vn);
|
|
2418
2418
|
/**
|
|
2419
2419
|
* @license
|
|
2420
2420
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2421
2421
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2422
2422
|
*/
|
|
2423
|
-
const
|
|
2423
|
+
const Cr = z`
|
|
2424
2424
|
[part$='button'] {
|
|
2425
2425
|
flex: none;
|
|
2426
2426
|
width: 1em;
|
|
@@ -2448,13 +2448,13 @@ const Ar = z`
|
|
|
2448
2448
|
display: block;
|
|
2449
2449
|
}
|
|
2450
2450
|
`;
|
|
2451
|
-
K("",
|
|
2451
|
+
K("", Cr, { moduleId: "lumo-field-button" });
|
|
2452
2452
|
/**
|
|
2453
2453
|
* @license
|
|
2454
2454
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2455
2455
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2456
2456
|
*/
|
|
2457
|
-
const
|
|
2457
|
+
const Un = z`
|
|
2458
2458
|
:host {
|
|
2459
2459
|
--_helper-spacing: var(--vaadin-input-field-helper-spacing, 0.4em);
|
|
2460
2460
|
}
|
|
@@ -2516,7 +2516,7 @@ const Wn = z`
|
|
|
2516
2516
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2517
2517
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2518
2518
|
*/
|
|
2519
|
-
const
|
|
2519
|
+
const Ar = z`
|
|
2520
2520
|
[part='label'] {
|
|
2521
2521
|
align-self: flex-start;
|
|
2522
2522
|
color: var(--vaadin-input-field-label-color, var(--lumo-secondary-text-color));
|
|
@@ -2629,13 +2629,13 @@ const kr = z`
|
|
|
2629
2629
|
margin-right: calc(var(--lumo-border-radius-m) / 4);
|
|
2630
2630
|
}
|
|
2631
2631
|
`;
|
|
2632
|
-
K("",
|
|
2632
|
+
K("", Ar, { moduleId: "lumo-required-field" });
|
|
2633
2633
|
/**
|
|
2634
2634
|
* @license
|
|
2635
2635
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2636
2636
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2637
2637
|
*/
|
|
2638
|
-
const
|
|
2638
|
+
const Wn = z`
|
|
2639
2639
|
:host {
|
|
2640
2640
|
--lumo-text-field-size: var(--lumo-size-m);
|
|
2641
2641
|
color: var(--vaadin-input-field-value-color, var(--lumo-body-text-color));
|
|
@@ -2766,11 +2766,11 @@ const qn = z`
|
|
|
2766
2766
|
[part='clear-button']::before {
|
|
2767
2767
|
content: var(--lumo-icons-cross);
|
|
2768
2768
|
}
|
|
2769
|
-
`,
|
|
2770
|
-
K("",
|
|
2769
|
+
`, kr = [Ar, Cr, Un, Wn];
|
|
2770
|
+
K("", kr, {
|
|
2771
2771
|
moduleId: "lumo-input-field-shared-styles"
|
|
2772
2772
|
});
|
|
2773
|
-
const
|
|
2773
|
+
const qn = z`
|
|
2774
2774
|
[part='toggle-button']::before {
|
|
2775
2775
|
content: var(--lumo-icons-calendar);
|
|
2776
2776
|
}
|
|
@@ -2793,7 +2793,7 @@ const Kn = z`
|
|
|
2793
2793
|
--_lumo-text-field-overflow-mask-image: none;
|
|
2794
2794
|
}
|
|
2795
2795
|
`;
|
|
2796
|
-
K("vaadin-date-picker", [
|
|
2796
|
+
K("vaadin-date-picker", [kr, qn], { moduleId: "lumo-date-picker" });
|
|
2797
2797
|
/**
|
|
2798
2798
|
@license
|
|
2799
2799
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -2815,9 +2815,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2815
2815
|
Code distributed by Google as part of the polymer project is also
|
|
2816
2816
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2817
2817
|
*/
|
|
2818
|
-
let
|
|
2818
|
+
let Kn = /(url\()([^)]*)(\))/g, Gn = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, St, he;
|
|
2819
2819
|
function pt(o, t) {
|
|
2820
|
-
if (o &&
|
|
2820
|
+
if (o && Gn.test(o) || o === "//")
|
|
2821
2821
|
return o;
|
|
2822
2822
|
if (St === void 0) {
|
|
2823
2823
|
St = !1;
|
|
@@ -2836,7 +2836,7 @@ function pt(o, t) {
|
|
|
2836
2836
|
return he || (he = document.implementation.createHTMLDocument("temp"), he.base = he.createElement("base"), he.head.appendChild(he.base), he.anchor = he.createElement("a"), he.body.appendChild(he.anchor)), he.base.href = t, he.anchor.href = o, he.anchor.href || o;
|
|
2837
2837
|
}
|
|
2838
2838
|
function Yi(o, t) {
|
|
2839
|
-
return o.replace(
|
|
2839
|
+
return o.replace(Kn, function(e, i, r, s) {
|
|
2840
2840
|
return i + "'" + pt(r.replace(/["']/g, ""), t) + "'" + s;
|
|
2841
2841
|
});
|
|
2842
2842
|
}
|
|
@@ -2852,9 +2852,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2852
2852
|
Code distributed by Google as part of the polymer project is also
|
|
2853
2853
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2854
2854
|
*/
|
|
2855
|
-
const
|
|
2855
|
+
const Pr = !window.ShadyDOM || !window.ShadyDOM.inUse;
|
|
2856
2856
|
!window.ShadyCSS || window.ShadyCSS.nativeCss;
|
|
2857
|
-
const
|
|
2857
|
+
const Jn = Pr && "adoptedStyleSheets" in Document.prototype && "replaceSync" in CSSStyleSheet.prototype && // Since spec may change, feature detect exact API we need
|
|
2858
2858
|
(() => {
|
|
2859
2859
|
try {
|
|
2860
2860
|
const o = new CSSStyleSheet();
|
|
@@ -2865,11 +2865,11 @@ const Xn = Dr && "adoptedStyleSheets" in Document.prototype && "replaceSync" in
|
|
|
2865
2865
|
return !1;
|
|
2866
2866
|
}
|
|
2867
2867
|
})();
|
|
2868
|
-
let
|
|
2868
|
+
let Xn = window.Polymer && window.Polymer.rootPath || Vi(document.baseURI || window.location.href), Nt = window.Polymer && window.Polymer.sanitizeDOMValue || void 0;
|
|
2869
2869
|
window.Polymer && window.Polymer.setPassiveTouchGestures;
|
|
2870
|
-
let zt = window.Polymer && window.Polymer.strictTemplatePolicy || !1,
|
|
2870
|
+
let zt = window.Polymer && window.Polymer.strictTemplatePolicy || !1, Zn = window.Polymer && window.Polymer.allowTemplateFromDomModule || !1, Dr = window.Polymer && window.Polymer.legacyOptimizations || !1, Tr = window.Polymer && window.Polymer.legacyWarnings || !1, Qn = window.Polymer && window.Polymer.syncInitialRender || !1, bi = window.Polymer && window.Polymer.legacyUndefined || !1, ea = window.Polymer && window.Polymer.orderedComputed || !1, Eo = window.Polymer && window.Polymer.removeNestedTemplates || !1, ta = window.Polymer && window.Polymer.fastDomIf || !1, So = window.Polymer && window.Polymer.suppressTemplateNotifications || !1;
|
|
2871
2871
|
window.Polymer && window.Polymer.legacyNoObservedAttributes;
|
|
2872
|
-
let
|
|
2872
|
+
let ia = window.Polymer && window.Polymer.useAdoptedStyleSheetsWithBuiltCSS || !1;
|
|
2873
2873
|
/**
|
|
2874
2874
|
@license
|
|
2875
2875
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -2879,14 +2879,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2879
2879
|
Code distributed by Google as part of the polymer project is also
|
|
2880
2880
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2881
2881
|
*/
|
|
2882
|
-
let
|
|
2882
|
+
let oa = 0;
|
|
2883
2883
|
const Z = function(o) {
|
|
2884
2884
|
let t = (
|
|
2885
2885
|
/** @type {!MixinFunction} */
|
|
2886
2886
|
o.__mixinApplications
|
|
2887
2887
|
);
|
|
2888
2888
|
t || (t = /* @__PURE__ */ new WeakMap(), o.__mixinApplications = t);
|
|
2889
|
-
let e =
|
|
2889
|
+
let e = oa++;
|
|
2890
2890
|
function i(r) {
|
|
2891
2891
|
let s = (
|
|
2892
2892
|
/** @type {!MixinFunction} */
|
|
@@ -2917,14 +2917,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2917
2917
|
Code distributed by Google as part of the polymer project is also
|
|
2918
2918
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2919
2919
|
*/
|
|
2920
|
-
let Ui = {},
|
|
2921
|
-
function
|
|
2922
|
-
Ui[o] =
|
|
2920
|
+
let Ui = {}, Mr = {};
|
|
2921
|
+
function Co(o, t) {
|
|
2922
|
+
Ui[o] = Mr[o.toLowerCase()] = t;
|
|
2923
2923
|
}
|
|
2924
|
-
function
|
|
2925
|
-
return Ui[o] ||
|
|
2924
|
+
function Ao(o) {
|
|
2925
|
+
return Ui[o] || Mr[o.toLowerCase()];
|
|
2926
2926
|
}
|
|
2927
|
-
function
|
|
2927
|
+
function ra(o) {
|
|
2928
2928
|
o.querySelector("style") && console.warn("dom-module %s has style outside template", o.id);
|
|
2929
2929
|
}
|
|
2930
2930
|
class gt extends HTMLElement {
|
|
@@ -2945,7 +2945,7 @@ class gt extends HTMLElement {
|
|
|
2945
2945
|
*/
|
|
2946
2946
|
static import(t, e) {
|
|
2947
2947
|
if (t) {
|
|
2948
|
-
let i =
|
|
2948
|
+
let i = Ao(t);
|
|
2949
2949
|
return i && e ? i.querySelector(e) : i;
|
|
2950
2950
|
}
|
|
2951
2951
|
return null;
|
|
@@ -2993,9 +2993,9 @@ class gt extends HTMLElement {
|
|
|
2993
2993
|
*/
|
|
2994
2994
|
register(t) {
|
|
2995
2995
|
if (t = t || this.id, t) {
|
|
2996
|
-
if (zt &&
|
|
2997
|
-
throw
|
|
2998
|
-
this.id = t,
|
|
2996
|
+
if (zt && Ao(t) !== void 0)
|
|
2997
|
+
throw Co(t, null), new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);
|
|
2998
|
+
this.id = t, Co(t, this), ra(this);
|
|
2999
2999
|
}
|
|
3000
3000
|
}
|
|
3001
3001
|
}
|
|
@@ -3010,14 +3010,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3010
3010
|
Code distributed by Google as part of the polymer project is also
|
|
3011
3011
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3012
3012
|
*/
|
|
3013
|
-
const
|
|
3014
|
-
function
|
|
3013
|
+
const sa = "link[rel=import][type~=css]", na = "include", ko = "shady-unscoped";
|
|
3014
|
+
function Or(o) {
|
|
3015
3015
|
return (
|
|
3016
3016
|
/** @type {?DomModule} */
|
|
3017
3017
|
gt.import(o)
|
|
3018
3018
|
);
|
|
3019
3019
|
}
|
|
3020
|
-
function
|
|
3020
|
+
function Po(o) {
|
|
3021
3021
|
let t = o.body ? o.body : o;
|
|
3022
3022
|
const e = Yi(
|
|
3023
3023
|
t.textContent,
|
|
@@ -3025,24 +3025,24 @@ function Do(o) {
|
|
|
3025
3025
|
), i = document.createElement("style");
|
|
3026
3026
|
return i.textContent = e, i;
|
|
3027
3027
|
}
|
|
3028
|
-
function
|
|
3028
|
+
function aa(o) {
|
|
3029
3029
|
const t = o.trim().split(/\s+/), e = [];
|
|
3030
3030
|
for (let i = 0; i < t.length; i++)
|
|
3031
|
-
e.push(...
|
|
3031
|
+
e.push(...la(t[i]));
|
|
3032
3032
|
return e;
|
|
3033
3033
|
}
|
|
3034
|
-
function
|
|
3035
|
-
const t =
|
|
3034
|
+
function la(o) {
|
|
3035
|
+
const t = Or(o);
|
|
3036
3036
|
if (!t)
|
|
3037
3037
|
return console.warn("Could not find style data in module named", o), [];
|
|
3038
3038
|
if (t._styles === void 0) {
|
|
3039
3039
|
const e = [];
|
|
3040
|
-
e.push(...
|
|
3040
|
+
e.push(...Nr(t));
|
|
3041
3041
|
const i = (
|
|
3042
3042
|
/** @type {?HTMLTemplateElement} */
|
|
3043
3043
|
t.querySelector("template")
|
|
3044
3044
|
);
|
|
3045
|
-
i && e.push(...
|
|
3045
|
+
i && e.push(...Ir(
|
|
3046
3046
|
i,
|
|
3047
3047
|
/** @type {templateWithAssetPath} */
|
|
3048
3048
|
t.assetpath
|
|
@@ -3050,12 +3050,12 @@ function ca(o) {
|
|
|
3050
3050
|
}
|
|
3051
3051
|
return t._styles;
|
|
3052
3052
|
}
|
|
3053
|
-
function
|
|
3053
|
+
function Ir(o, t) {
|
|
3054
3054
|
if (!o._styles) {
|
|
3055
3055
|
const e = [], i = o.content.querySelectorAll("style");
|
|
3056
3056
|
for (let r = 0; r < i.length; r++) {
|
|
3057
|
-
let s = i[r], n = s.getAttribute(
|
|
3058
|
-
n && e.push(...
|
|
3057
|
+
let s = i[r], n = s.getAttribute(na);
|
|
3058
|
+
n && e.push(...aa(n).filter(function(a, l, c) {
|
|
3059
3059
|
return c.indexOf(a) === l;
|
|
3060
3060
|
})), t && (s.textContent = Yi(
|
|
3061
3061
|
s.textContent,
|
|
@@ -3067,21 +3067,21 @@ function Nr(o, t) {
|
|
|
3067
3067
|
}
|
|
3068
3068
|
return o._styles;
|
|
3069
3069
|
}
|
|
3070
|
-
function
|
|
3071
|
-
let t =
|
|
3072
|
-
return t ?
|
|
3070
|
+
function ca(o) {
|
|
3071
|
+
let t = Or(o);
|
|
3072
|
+
return t ? Nr(t) : [];
|
|
3073
3073
|
}
|
|
3074
|
-
function
|
|
3075
|
-
const t = [], e = o.querySelectorAll(
|
|
3074
|
+
function Nr(o) {
|
|
3075
|
+
const t = [], e = o.querySelectorAll(sa);
|
|
3076
3076
|
for (let i = 0; i < e.length; i++) {
|
|
3077
3077
|
let r = e[i];
|
|
3078
3078
|
if (r.import) {
|
|
3079
|
-
const s = r.import, n = r.hasAttribute(
|
|
3079
|
+
const s = r.import, n = r.hasAttribute(ko);
|
|
3080
3080
|
if (n && !s._unscopedStyle) {
|
|
3081
|
-
const a =
|
|
3082
|
-
a.setAttribute(
|
|
3081
|
+
const a = Po(s);
|
|
3082
|
+
a.setAttribute(ko, ""), s._unscopedStyle = a;
|
|
3083
3083
|
} else
|
|
3084
|
-
s._style || (s._style =
|
|
3084
|
+
s._style || (s._style = Po(s));
|
|
3085
3085
|
t.push(n ? s._unscopedStyle : s._style);
|
|
3086
3086
|
}
|
|
3087
3087
|
}
|
|
@@ -3113,7 +3113,7 @@ function He(o) {
|
|
|
3113
3113
|
let t = o.indexOf(".");
|
|
3114
3114
|
return t === -1 ? o : o.slice(0, t);
|
|
3115
3115
|
}
|
|
3116
|
-
function
|
|
3116
|
+
function zr(o, t) {
|
|
3117
3117
|
return o.indexOf(t + ".") === 0;
|
|
3118
3118
|
}
|
|
3119
3119
|
function bt(o, t) {
|
|
@@ -3122,8 +3122,8 @@ function bt(o, t) {
|
|
|
3122
3122
|
function vt(o, t, e) {
|
|
3123
3123
|
return t + e.slice(o.length);
|
|
3124
3124
|
}
|
|
3125
|
-
function
|
|
3126
|
-
return o === t ||
|
|
3125
|
+
function ua(o, t) {
|
|
3126
|
+
return o === t || zr(o, t) || bt(o, t);
|
|
3127
3127
|
}
|
|
3128
3128
|
function ct(o) {
|
|
3129
3129
|
if (Array.isArray(o)) {
|
|
@@ -3137,11 +3137,11 @@ function ct(o) {
|
|
|
3137
3137
|
} else
|
|
3138
3138
|
return o;
|
|
3139
3139
|
}
|
|
3140
|
-
function
|
|
3140
|
+
function Fr(o) {
|
|
3141
3141
|
return Array.isArray(o) ? ct(o).split(".") : o.toString().split(".");
|
|
3142
3142
|
}
|
|
3143
3143
|
function ne(o, t, e) {
|
|
3144
|
-
let i = o, r =
|
|
3144
|
+
let i = o, r = Fr(t);
|
|
3145
3145
|
for (let s = 0; s < r.length; s++) {
|
|
3146
3146
|
if (!i)
|
|
3147
3147
|
return;
|
|
@@ -3150,8 +3150,8 @@ function ne(o, t, e) {
|
|
|
3150
3150
|
}
|
|
3151
3151
|
return e && (e.path = r.join(".")), i;
|
|
3152
3152
|
}
|
|
3153
|
-
function
|
|
3154
|
-
let i = o, r =
|
|
3153
|
+
function Do(o, t, e) {
|
|
3154
|
+
let i = o, r = Fr(t), s = r[r.length - 1];
|
|
3155
3155
|
if (r.length > 1) {
|
|
3156
3156
|
for (let n = 0; n < r.length - 1; n++) {
|
|
3157
3157
|
let a = r[n];
|
|
@@ -3172,15 +3172,15 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3172
3172
|
Code distributed by Google as part of the polymer project is also
|
|
3173
3173
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3174
3174
|
*/
|
|
3175
|
-
const Ft = {},
|
|
3176
|
-
function
|
|
3175
|
+
const Ft = {}, da = /-[a-z]/g, ha = /([A-Z])/g;
|
|
3176
|
+
function Lr(o) {
|
|
3177
3177
|
return Ft[o] || (Ft[o] = o.indexOf("-") < 0 ? o : o.replace(
|
|
3178
|
-
|
|
3178
|
+
da,
|
|
3179
3179
|
(t) => t[1].toUpperCase()
|
|
3180
3180
|
));
|
|
3181
3181
|
}
|
|
3182
3182
|
function Ht(o) {
|
|
3183
|
-
return Ft[o] || (Ft[o] = o.replace(
|
|
3183
|
+
return Ft[o] || (Ft[o] = o.replace(ha, "-$1").toLowerCase());
|
|
3184
3184
|
}
|
|
3185
3185
|
/**
|
|
3186
3186
|
@license
|
|
@@ -3191,9 +3191,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3191
3191
|
Code distributed by Google as part of the polymer project is also
|
|
3192
3192
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3193
3193
|
*/
|
|
3194
|
-
let
|
|
3195
|
-
new window.MutationObserver(
|
|
3196
|
-
function
|
|
3194
|
+
let pa = 0, $r = 0, Ke = [], fa = 0, yi = !1, Rr = document.createTextNode("");
|
|
3195
|
+
new window.MutationObserver(ma).observe(Rr, { characterData: !0 });
|
|
3196
|
+
function ma() {
|
|
3197
3197
|
yi = !1;
|
|
3198
3198
|
const o = Ke.length;
|
|
3199
3199
|
for (let t = 0; t < o; t++) {
|
|
@@ -3207,9 +3207,9 @@ function _a() {
|
|
|
3207
3207
|
});
|
|
3208
3208
|
}
|
|
3209
3209
|
}
|
|
3210
|
-
Ke.splice(0, o),
|
|
3210
|
+
Ke.splice(0, o), $r += o;
|
|
3211
3211
|
}
|
|
3212
|
-
const
|
|
3212
|
+
const _a = {
|
|
3213
3213
|
/**
|
|
3214
3214
|
* Returns a sub-module with the async interface providing the provided
|
|
3215
3215
|
* delay.
|
|
@@ -3249,7 +3249,7 @@ const ga = {
|
|
|
3249
3249
|
cancel(o) {
|
|
3250
3250
|
window.clearTimeout(o);
|
|
3251
3251
|
}
|
|
3252
|
-
},
|
|
3252
|
+
}, Br = {
|
|
3253
3253
|
/**
|
|
3254
3254
|
* Enqueues a function called at microtask timing.
|
|
3255
3255
|
*
|
|
@@ -3258,7 +3258,7 @@ const ga = {
|
|
|
3258
3258
|
* @return {number} Handle used for canceling task
|
|
3259
3259
|
*/
|
|
3260
3260
|
run(o) {
|
|
3261
|
-
return yi || (yi = !0,
|
|
3261
|
+
return yi || (yi = !0, Rr.textContent = fa++), Ke.push(o), pa++;
|
|
3262
3262
|
},
|
|
3263
3263
|
/**
|
|
3264
3264
|
* Cancels a previously enqueued `microTask` callback.
|
|
@@ -3268,7 +3268,7 @@ const ga = {
|
|
|
3268
3268
|
* @return {void}
|
|
3269
3269
|
*/
|
|
3270
3270
|
cancel(o) {
|
|
3271
|
-
const t = o -
|
|
3271
|
+
const t = o - $r;
|
|
3272
3272
|
if (t >= 0) {
|
|
3273
3273
|
if (!Ke[t])
|
|
3274
3274
|
throw new Error("invalid async handle: " + o);
|
|
@@ -3285,7 +3285,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3285
3285
|
Code distributed by Google as part of the polymer project is also
|
|
3286
3286
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3287
3287
|
*/
|
|
3288
|
-
const
|
|
3288
|
+
const ga = Br, Hr = Z(
|
|
3289
3289
|
/**
|
|
3290
3290
|
* @template T
|
|
3291
3291
|
* @param {function(new:T)} superClass Class to apply mixin to.
|
|
@@ -3494,7 +3494,7 @@ const ba = Hr, jr = Z(
|
|
|
3494
3494
|
* @override
|
|
3495
3495
|
*/
|
|
3496
3496
|
_invalidateProperties() {
|
|
3497
|
-
!this.__dataInvalid && this.__dataReady && (this.__dataInvalid = !0,
|
|
3497
|
+
!this.__dataInvalid && this.__dataReady && (this.__dataInvalid = !0, ga.run(() => {
|
|
3498
3498
|
this.__dataInvalid && (this.__dataInvalid = !1, this._flushProperties());
|
|
3499
3499
|
}));
|
|
3500
3500
|
}
|
|
@@ -3721,23 +3721,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3721
3721
|
Code distributed by Google as part of the polymer project is also
|
|
3722
3722
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3723
3723
|
*/
|
|
3724
|
-
const
|
|
3724
|
+
const jr = {};
|
|
3725
3725
|
let Ct = HTMLElement.prototype;
|
|
3726
3726
|
for (; Ct; ) {
|
|
3727
3727
|
let o = Object.getOwnPropertyNames(Ct);
|
|
3728
3728
|
for (let t = 0; t < o.length; t++)
|
|
3729
|
-
|
|
3729
|
+
jr[o[t]] = !0;
|
|
3730
3730
|
Ct = Object.getPrototypeOf(Ct);
|
|
3731
3731
|
}
|
|
3732
|
-
const
|
|
3733
|
-
function
|
|
3734
|
-
if (!
|
|
3732
|
+
const ba = window.trustedTypes ? (o) => trustedTypes.isHTML(o) || trustedTypes.isScript(o) || trustedTypes.isScriptURL(o) : () => !1;
|
|
3733
|
+
function va(o, t) {
|
|
3734
|
+
if (!jr[t]) {
|
|
3735
3735
|
let e = o[t];
|
|
3736
3736
|
e !== void 0 && (o.__data ? o._setPendingProperty(t, e) : (o.__dataProto ? o.hasOwnProperty(JSCompiler_renameProperty("__dataProto", o)) || (o.__dataProto = Object.create(o.__dataProto)) : o.__dataProto = {}, o.__dataProto[t] = e));
|
|
3737
3737
|
}
|
|
3738
3738
|
}
|
|
3739
|
-
const
|
|
3740
|
-
const t =
|
|
3739
|
+
const ya = Z((o) => {
|
|
3740
|
+
const t = Hr(o);
|
|
3741
3741
|
class e extends t {
|
|
3742
3742
|
/**
|
|
3743
3743
|
* Generates property accessors for all attributes in the standard
|
|
@@ -3755,7 +3755,7 @@ const xa = Z((o) => {
|
|
|
3755
3755
|
this.observedAttributes
|
|
3756
3756
|
);
|
|
3757
3757
|
for (let s = 0; s < r.length; s++)
|
|
3758
|
-
this.prototype._createPropertyAccessor(
|
|
3758
|
+
this.prototype._createPropertyAccessor(Lr(r[s]));
|
|
3759
3759
|
}
|
|
3760
3760
|
/**
|
|
3761
3761
|
* Returns an attribute name that corresponds to the given property.
|
|
@@ -3832,7 +3832,7 @@ const xa = Z((o) => {
|
|
|
3832
3832
|
if (r instanceof Date)
|
|
3833
3833
|
return r.toString();
|
|
3834
3834
|
if (r) {
|
|
3835
|
-
if (
|
|
3835
|
+
if (ba(r))
|
|
3836
3836
|
return (
|
|
3837
3837
|
/** @type {?} */
|
|
3838
3838
|
r
|
|
@@ -3913,7 +3913,7 @@ const xa = Z((o) => {
|
|
|
3913
3913
|
* @override
|
|
3914
3914
|
*/
|
|
3915
3915
|
_definePropertyAccessor(r, s) {
|
|
3916
|
-
|
|
3916
|
+
va(this, r), super._definePropertyAccessor(r, s);
|
|
3917
3917
|
}
|
|
3918
3918
|
/**
|
|
3919
3919
|
* Returns true if this library created an accessor for the given property.
|
|
@@ -3948,23 +3948,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3948
3948
|
Code distributed by Google as part of the polymer project is also
|
|
3949
3949
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3950
3950
|
*/
|
|
3951
|
-
const
|
|
3951
|
+
const xa = {
|
|
3952
3952
|
"dom-if": !0,
|
|
3953
3953
|
"dom-repeat": !0
|
|
3954
3954
|
};
|
|
3955
|
-
let
|
|
3956
|
-
function
|
|
3957
|
-
if (!
|
|
3958
|
-
|
|
3955
|
+
let To = !1, Mo = !1;
|
|
3956
|
+
function wa() {
|
|
3957
|
+
if (!To) {
|
|
3958
|
+
To = !0;
|
|
3959
3959
|
const o = document.createElement("textarea");
|
|
3960
|
-
o.placeholder = "a",
|
|
3960
|
+
o.placeholder = "a", Mo = o.placeholder === o.textContent;
|
|
3961
3961
|
}
|
|
3962
|
-
return
|
|
3962
|
+
return Mo;
|
|
3963
3963
|
}
|
|
3964
|
-
function
|
|
3965
|
-
|
|
3964
|
+
function Ea(o) {
|
|
3965
|
+
wa() && o.localName === "textarea" && o.placeholder && o.placeholder === o.textContent && (o.textContent = null);
|
|
3966
3966
|
}
|
|
3967
|
-
const
|
|
3967
|
+
const Sa = (() => {
|
|
3968
3968
|
const o = window.trustedTypes && window.trustedTypes.createPolicy(
|
|
3969
3969
|
"polymer-template-event-attribute-policy",
|
|
3970
3970
|
{
|
|
@@ -3983,19 +3983,19 @@ const Ca = (() => {
|
|
|
3983
3983
|
t.setAttribute(i, r);
|
|
3984
3984
|
};
|
|
3985
3985
|
})();
|
|
3986
|
-
function
|
|
3986
|
+
function Ca(o) {
|
|
3987
3987
|
let t = o.getAttribute("is");
|
|
3988
|
-
if (t &&
|
|
3988
|
+
if (t && xa[t]) {
|
|
3989
3989
|
let e = o;
|
|
3990
3990
|
for (e.removeAttribute("is"), o = e.ownerDocument.createElement(t), e.parentNode.replaceChild(o, e), o.appendChild(e); e.attributes.length; ) {
|
|
3991
3991
|
const { name: i } = e.attributes[0];
|
|
3992
|
-
|
|
3992
|
+
Sa(o, e, i), e.removeAttribute(i);
|
|
3993
3993
|
}
|
|
3994
3994
|
}
|
|
3995
3995
|
return o;
|
|
3996
3996
|
}
|
|
3997
|
-
function
|
|
3998
|
-
let e = t.parentInfo &&
|
|
3997
|
+
function Yr(o, t) {
|
|
3998
|
+
let e = t.parentInfo && Yr(o, t.parentInfo);
|
|
3999
3999
|
if (e) {
|
|
4000
4000
|
for (let i = e.firstChild, r = 0; i; i = i.nextSibling)
|
|
4001
4001
|
if (t.parentIndex === r++)
|
|
@@ -4003,23 +4003,23 @@ function Vr(o, t) {
|
|
|
4003
4003
|
} else
|
|
4004
4004
|
return o;
|
|
4005
4005
|
}
|
|
4006
|
-
function
|
|
4006
|
+
function Aa(o, t, e, i) {
|
|
4007
4007
|
i.id && (t[i.id] = e);
|
|
4008
4008
|
}
|
|
4009
|
-
function
|
|
4009
|
+
function ka(o, t, e) {
|
|
4010
4010
|
if (e.events && e.events.length)
|
|
4011
4011
|
for (let i = 0, r = e.events, s; i < r.length && (s = r[i]); i++)
|
|
4012
4012
|
o._addMethodEventListenerToNode(t, s.name, s.value, o);
|
|
4013
4013
|
}
|
|
4014
|
-
function
|
|
4014
|
+
function Pa(o, t, e, i) {
|
|
4015
4015
|
e.templateInfo && (t._templateInfo = e.templateInfo, t._parentTemplateInfo = i);
|
|
4016
4016
|
}
|
|
4017
|
-
function
|
|
4017
|
+
function Da(o, t, e) {
|
|
4018
4018
|
return o = o._methodHost || o, function(r) {
|
|
4019
4019
|
o[e] ? o[e](r, r.detail) : console.warn("listener method `" + e + "` not defined");
|
|
4020
4020
|
};
|
|
4021
4021
|
}
|
|
4022
|
-
const
|
|
4022
|
+
const Ta = Z(
|
|
4023
4023
|
/**
|
|
4024
4024
|
* @template T
|
|
4025
4025
|
* @param {function(new:T)} superClass Class to apply mixin to.
|
|
@@ -4146,7 +4146,7 @@ const Ma = Z(
|
|
|
4146
4146
|
/** @type {!HTMLTemplateElement} */
|
|
4147
4147
|
i
|
|
4148
4148
|
);
|
|
4149
|
-
return a.localName == "template" && !a.hasAttribute("preserve-content") ? n = this._parseTemplateNestedTemplate(a, r, s) || n : a.localName === "slot" && (r.hasInsertionPoint = !0),
|
|
4149
|
+
return a.localName == "template" && !a.hasAttribute("preserve-content") ? n = this._parseTemplateNestedTemplate(a, r, s) || n : a.localName === "slot" && (r.hasInsertionPoint = !0), Ea(a), a.firstChild && this._parseTemplateChildNodes(a, r, s), a.hasAttributes && a.hasAttributes() && (n = this._parseTemplateNodeAttributes(a, r, s) || n), n || s.noted;
|
|
4150
4150
|
}
|
|
4151
4151
|
/**
|
|
4152
4152
|
* Parses template child nodes for the given root node.
|
|
@@ -4164,7 +4164,7 @@ const Ma = Z(
|
|
|
4164
4164
|
static _parseTemplateChildNodes(i, r, s) {
|
|
4165
4165
|
if (!(i.localName === "script" || i.localName === "style"))
|
|
4166
4166
|
for (let n = i.firstChild, a = 0, l; n; n = l) {
|
|
4167
|
-
if (n.localName == "template" && (n =
|
|
4167
|
+
if (n.localName == "template" && (n = Ca(n)), l = n.nextSibling, n.nodeType === Node.TEXT_NODE) {
|
|
4168
4168
|
let u = l;
|
|
4169
4169
|
for (; u && u.nodeType === Node.TEXT_NODE; )
|
|
4170
4170
|
n.textContent += u.textContent, l = u.nextSibling, i.removeChild(u), u = l;
|
|
@@ -4299,8 +4299,8 @@ const Ma = Z(
|
|
|
4299
4299
|
let l = a.nodeList = new Array(s.length);
|
|
4300
4300
|
a.$ = {};
|
|
4301
4301
|
for (let c = 0, u = s.length, d; c < u && (d = s[c]); c++) {
|
|
4302
|
-
let h = l[c] =
|
|
4303
|
-
|
|
4302
|
+
let h = l[c] = Yr(a, d);
|
|
4303
|
+
Aa(this, a.$, h, d), Pa(this, h, d, r), ka(this, h, d);
|
|
4304
4304
|
}
|
|
4305
4305
|
return a = /** @type {!StampedTemplate} */
|
|
4306
4306
|
a, a;
|
|
@@ -4321,7 +4321,7 @@ const Ma = Z(
|
|
|
4321
4321
|
*/
|
|
4322
4322
|
_addMethodEventListenerToNode(i, r, s, n) {
|
|
4323
4323
|
n = n || i;
|
|
4324
|
-
let a =
|
|
4324
|
+
let a = Da(n, r, s);
|
|
4325
4325
|
return this._addEventListenerToNode(i, r, a), a;
|
|
4326
4326
|
}
|
|
4327
4327
|
/**
|
|
@@ -4371,7 +4371,7 @@ const xt = [], F = {
|
|
|
4371
4371
|
PROPAGATE: "__propagateEffects",
|
|
4372
4372
|
OBSERVE: "__observeEffects",
|
|
4373
4373
|
READ_ONLY: "__readOnly"
|
|
4374
|
-
},
|
|
4374
|
+
}, Vr = "__computeInfo", Ma = /[A-Z]/;
|
|
4375
4375
|
function Qt(o, t, e) {
|
|
4376
4376
|
let i = o[t];
|
|
4377
4377
|
if (!i)
|
|
@@ -4398,7 +4398,7 @@ function ut(o, t, e, i, r, s) {
|
|
|
4398
4398
|
}
|
|
4399
4399
|
return !1;
|
|
4400
4400
|
}
|
|
4401
|
-
function
|
|
4401
|
+
function Oa(o, t, e, i, r, s, n, a) {
|
|
4402
4402
|
let l = !1, c = n ? He(i) : i, u = t[c];
|
|
4403
4403
|
if (u)
|
|
4404
4404
|
for (let d = 0, h = u.length, p; d < h && (p = u[d]); d++)
|
|
@@ -4411,30 +4411,30 @@ function Wi(o, t) {
|
|
|
4411
4411
|
/** @type {string} */
|
|
4412
4412
|
t.name
|
|
4413
4413
|
);
|
|
4414
|
-
return e == o || !!(t.structured &&
|
|
4414
|
+
return e == o || !!(t.structured && zr(e, o)) || !!(t.wildcard && bt(e, o));
|
|
4415
4415
|
} else
|
|
4416
4416
|
return !0;
|
|
4417
4417
|
}
|
|
4418
|
-
function
|
|
4418
|
+
function Oo(o, t, e, i, r) {
|
|
4419
4419
|
let s = typeof r.method == "string" ? o[r.method] : r.method, n = r.property;
|
|
4420
4420
|
s ? s.call(o, o.__data[n], i[n]) : r.dynamicFn || console.warn("observer method `" + r.method + "` not defined");
|
|
4421
4421
|
}
|
|
4422
|
-
function
|
|
4422
|
+
function Ia(o, t, e, i, r) {
|
|
4423
4423
|
let s = o[F.NOTIFY], n, a = yt++;
|
|
4424
4424
|
for (let c in t)
|
|
4425
|
-
t[c] && (s &&
|
|
4425
|
+
t[c] && (s && Oa(o, s, a, c, e, i, r) || r && Na(o, c, e)) && (n = !0);
|
|
4426
4426
|
let l;
|
|
4427
4427
|
n && (l = o.__dataHost) && l._invalidateProperties && l._invalidateProperties();
|
|
4428
4428
|
}
|
|
4429
|
-
function
|
|
4429
|
+
function Na(o, t, e) {
|
|
4430
4430
|
let i = He(t);
|
|
4431
4431
|
if (i !== t) {
|
|
4432
4432
|
let r = Ht(i) + "-changed";
|
|
4433
|
-
return
|
|
4433
|
+
return Ur(o, r, e[t], t), !0;
|
|
4434
4434
|
}
|
|
4435
4435
|
return !1;
|
|
4436
4436
|
}
|
|
4437
|
-
function
|
|
4437
|
+
function Ur(o, t, e, i) {
|
|
4438
4438
|
let r = {
|
|
4439
4439
|
value: e,
|
|
4440
4440
|
queueProperty: !0
|
|
@@ -4444,18 +4444,18 @@ function Wr(o, t, e, i) {
|
|
|
4444
4444
|
o
|
|
4445
4445
|
).dispatchEvent(new CustomEvent(t, { detail: r }));
|
|
4446
4446
|
}
|
|
4447
|
-
function
|
|
4447
|
+
function za(o, t, e, i, r, s) {
|
|
4448
4448
|
let a = (s ? He(t) : t) != t ? t : null, l = a ? ne(o, a) : o.__data[t];
|
|
4449
|
-
a && l === void 0 && (l = e[t]),
|
|
4449
|
+
a && l === void 0 && (l = e[t]), Ur(o, r.eventName, l, a);
|
|
4450
4450
|
}
|
|
4451
|
-
function
|
|
4451
|
+
function Fa(o, t, e, i, r) {
|
|
4452
4452
|
let s, n = (
|
|
4453
4453
|
/** @type {Object} */
|
|
4454
4454
|
o.detail
|
|
4455
4455
|
), a = n && n.path;
|
|
4456
4456
|
a ? (i = vt(e, i, a), s = n && n.value) : s = o.currentTarget[e], s = r ? !s : s, (!t[F.READ_ONLY] || !t[F.READ_ONLY][i]) && t._setPendingPropertyOrPath(i, s, !0, !!a) && (!n || !n.queueProperty) && t._invalidateProperties();
|
|
4457
4457
|
}
|
|
4458
|
-
function
|
|
4458
|
+
function La(o, t, e, i, r) {
|
|
4459
4459
|
let s = o.__data[t];
|
|
4460
4460
|
Nt && (s = Nt(
|
|
4461
4461
|
s,
|
|
@@ -4465,17 +4465,17 @@ function $a(o, t, e, i, r) {
|
|
|
4465
4465
|
o
|
|
4466
4466
|
)), o._propertyToAttribute(t, r.attrName, s);
|
|
4467
4467
|
}
|
|
4468
|
-
function
|
|
4468
|
+
function $a(o, t, e, i) {
|
|
4469
4469
|
let r = o[F.COMPUTE];
|
|
4470
4470
|
if (r)
|
|
4471
|
-
if (
|
|
4471
|
+
if (ea) {
|
|
4472
4472
|
yt++;
|
|
4473
|
-
const s =
|
|
4473
|
+
const s = Ba(o), n = [];
|
|
4474
4474
|
for (let l in t)
|
|
4475
|
-
|
|
4475
|
+
Io(l, r, n, s, i);
|
|
4476
4476
|
let a;
|
|
4477
4477
|
for (; a = n.shift(); )
|
|
4478
|
-
|
|
4478
|
+
Wr(o, "", t, e, a) && Io(a.methodInfo, r, n, s, i);
|
|
4479
4479
|
Object.assign(
|
|
4480
4480
|
/** @type {!Object} */
|
|
4481
4481
|
e,
|
|
@@ -4499,7 +4499,7 @@ function Ra(o, t, e, i) {
|
|
|
4499
4499
|
), s = o.__dataPending, o.__dataPending = null;
|
|
4500
4500
|
}
|
|
4501
4501
|
}
|
|
4502
|
-
const
|
|
4502
|
+
const Ra = (o, t, e) => {
|
|
4503
4503
|
let i = 0, r = t.length - 1, s = -1;
|
|
4504
4504
|
for (; i <= r; ) {
|
|
4505
4505
|
const n = i + r >> 1, a = e.get(t[n].methodInfo) - e.get(o.methodInfo);
|
|
@@ -4513,20 +4513,20 @@ const Ba = (o, t, e) => {
|
|
|
4513
4513
|
}
|
|
4514
4514
|
}
|
|
4515
4515
|
s < 0 && (s = r + 1), t.splice(s, 0, o);
|
|
4516
|
-
},
|
|
4516
|
+
}, Io = (o, t, e, i, r) => {
|
|
4517
4517
|
const s = r ? He(o) : o, n = t[s];
|
|
4518
4518
|
if (n)
|
|
4519
4519
|
for (let a = 0; a < n.length; a++) {
|
|
4520
4520
|
const l = n[a];
|
|
4521
|
-
l.info.lastRun !== yt && (!r || Wi(o, l.trigger)) && (l.info.lastRun = yt,
|
|
4521
|
+
l.info.lastRun !== yt && (!r || Wi(o, l.trigger)) && (l.info.lastRun = yt, Ra(l.info, e, i));
|
|
4522
4522
|
}
|
|
4523
4523
|
};
|
|
4524
|
-
function
|
|
4524
|
+
function Ba(o) {
|
|
4525
4525
|
let t = o.constructor.__orderedComputedDeps;
|
|
4526
4526
|
if (!t) {
|
|
4527
4527
|
t = /* @__PURE__ */ new Map();
|
|
4528
4528
|
const e = o[F.COMPUTE];
|
|
4529
|
-
let { counts: i, ready: r, total: s } =
|
|
4529
|
+
let { counts: i, ready: r, total: s } = Ha(o), n;
|
|
4530
4530
|
for (; n = r.shift(); ) {
|
|
4531
4531
|
t.set(n, t.size);
|
|
4532
4532
|
const a = e[n];
|
|
@@ -4540,8 +4540,8 @@ function Ha(o) {
|
|
|
4540
4540
|
}
|
|
4541
4541
|
return t;
|
|
4542
4542
|
}
|
|
4543
|
-
function
|
|
4544
|
-
const t = o[
|
|
4543
|
+
function Ha(o) {
|
|
4544
|
+
const t = o[Vr], e = {}, i = o[F.COMPUTE], r = [];
|
|
4545
4545
|
let s = 0;
|
|
4546
4546
|
for (let n in t) {
|
|
4547
4547
|
const a = t[n];
|
|
@@ -4551,14 +4551,14 @@ function ja(o) {
|
|
|
4551
4551
|
t[n] || r.push(n);
|
|
4552
4552
|
return { counts: e, ready: r, total: s };
|
|
4553
4553
|
}
|
|
4554
|
-
function
|
|
4554
|
+
function Wr(o, t, e, i, r) {
|
|
4555
4555
|
let s = xi(o, t, e, i, r);
|
|
4556
4556
|
if (s === xt)
|
|
4557
4557
|
return !1;
|
|
4558
4558
|
let n = r.methodInfo;
|
|
4559
4559
|
return o.__dataHasAccessor && o.__dataHasAccessor[n] ? o._setPendingProperty(n, s, !0) : (o[n] = s, !1);
|
|
4560
4560
|
}
|
|
4561
|
-
function
|
|
4561
|
+
function ja(o, t, e) {
|
|
4562
4562
|
let i = o.__dataLinkedPaths;
|
|
4563
4563
|
if (i) {
|
|
4564
4564
|
let r;
|
|
@@ -4571,17 +4571,17 @@ function Ya(o, t, e) {
|
|
|
4571
4571
|
function ei(o, t, e, i, r, s, n) {
|
|
4572
4572
|
e.bindings = e.bindings || [];
|
|
4573
4573
|
let a = { kind: i, target: r, parts: s, literal: n, isCompound: s.length !== 1 };
|
|
4574
|
-
if (e.bindings.push(a),
|
|
4574
|
+
if (e.bindings.push(a), qa(a)) {
|
|
4575
4575
|
let { event: c, negate: u } = a.parts[0];
|
|
4576
4576
|
a.listenerEvent = c || Ht(r) + "-changed", a.listenerNegate = u;
|
|
4577
4577
|
}
|
|
4578
4578
|
let l = t.nodeInfoList.length;
|
|
4579
4579
|
for (let c = 0; c < a.parts.length; c++) {
|
|
4580
4580
|
let u = a.parts[c];
|
|
4581
|
-
u.compoundIndex = c,
|
|
4581
|
+
u.compoundIndex = c, Ya(o, t, a, u, l);
|
|
4582
4582
|
}
|
|
4583
4583
|
}
|
|
4584
|
-
function
|
|
4584
|
+
function Ya(o, t, e, i, r) {
|
|
4585
4585
|
if (!i.literal)
|
|
4586
4586
|
if (e.kind === "attribute" && e.target[0] === "-")
|
|
4587
4587
|
console.warn("Cannot set attribute " + e.target + ' because "-" is not a valid attribute starting character');
|
|
@@ -4589,26 +4589,26 @@ function Va(o, t, e, i, r) {
|
|
|
4589
4589
|
let s = i.dependencies, n = { index: r, binding: e, part: i, evaluator: o };
|
|
4590
4590
|
for (let a = 0; a < s.length; a++) {
|
|
4591
4591
|
let l = s[a];
|
|
4592
|
-
typeof l == "string" && (l =
|
|
4593
|
-
fn:
|
|
4592
|
+
typeof l == "string" && (l = Kr(l), l.wildcard = !0), o._addTemplatePropertyEffect(t, l.rootProperty, {
|
|
4593
|
+
fn: Va,
|
|
4594
4594
|
info: n,
|
|
4595
4595
|
trigger: l
|
|
4596
4596
|
});
|
|
4597
4597
|
}
|
|
4598
4598
|
}
|
|
4599
4599
|
}
|
|
4600
|
-
function
|
|
4600
|
+
function Va(o, t, e, i, r, s, n) {
|
|
4601
4601
|
let a = n[r.index], l = r.binding, c = r.part;
|
|
4602
4602
|
if (s && c.source && t.length > c.source.length && l.kind == "property" && !l.isCompound && a.__isPropertyEffectsClient && a.__dataHasAccessor && a.__dataHasAccessor[l.target]) {
|
|
4603
4603
|
let u = e[t];
|
|
4604
4604
|
t = vt(c.source, l.target, t), a._setPendingPropertyOrPath(t, u, !1, !0) && o._enqueueClient(a);
|
|
4605
4605
|
} else {
|
|
4606
4606
|
let u = r.evaluator._evaluateBinding(o, c, t, e, i, s);
|
|
4607
|
-
u !== xt &&
|
|
4607
|
+
u !== xt && Ua(o, a, l, c, u);
|
|
4608
4608
|
}
|
|
4609
4609
|
}
|
|
4610
|
-
function
|
|
4611
|
-
if (r =
|
|
4610
|
+
function Ua(o, t, e, i, r) {
|
|
4611
|
+
if (r = Wa(t, r, e, i), Nt && (r = Nt(r, e.target, e.kind, t)), e.kind == "attribute")
|
|
4612
4612
|
o._valueToNodeAttribute(
|
|
4613
4613
|
/** @type {Element} */
|
|
4614
4614
|
t,
|
|
@@ -4620,17 +4620,17 @@ function Wa(o, t, e, i, r) {
|
|
|
4620
4620
|
t.__isPropertyEffectsClient && t.__dataHasAccessor && t.__dataHasAccessor[s] ? (!t[F.READ_ONLY] || !t[F.READ_ONLY][s]) && t._setPendingProperty(s, r) && o._enqueueClient(t) : o._setUnmanagedPropertyToNode(t, s, r);
|
|
4621
4621
|
}
|
|
4622
4622
|
}
|
|
4623
|
-
function
|
|
4623
|
+
function Wa(o, t, e, i) {
|
|
4624
4624
|
if (e.isCompound) {
|
|
4625
4625
|
let r = o.__dataCompoundStorage[e.target];
|
|
4626
4626
|
r[i.compoundIndex] = t, t = r.join("");
|
|
4627
4627
|
}
|
|
4628
4628
|
return e.kind !== "attribute" && (e.target === "textContent" || e.target === "value" && (o.localName === "input" || o.localName === "textarea")) && (t = t == null ? "" : t), t;
|
|
4629
4629
|
}
|
|
4630
|
-
function
|
|
4630
|
+
function qa(o) {
|
|
4631
4631
|
return !!o.target && o.kind != "attribute" && o.kind != "text" && !o.isCompound && o.parts[0].mode === "{";
|
|
4632
4632
|
}
|
|
4633
|
-
function
|
|
4633
|
+
function Ka(o, t) {
|
|
4634
4634
|
let { nodeList: e, nodeInfoList: i } = t;
|
|
4635
4635
|
if (i.length)
|
|
4636
4636
|
for (let r = 0; r < i.length; r++) {
|
|
@@ -4638,12 +4638,12 @@ function Ga(o, t) {
|
|
|
4638
4638
|
if (a)
|
|
4639
4639
|
for (let l = 0; l < a.length; l++) {
|
|
4640
4640
|
let c = a[l];
|
|
4641
|
-
|
|
4641
|
+
Ga(n, c), Ja(n, o, c);
|
|
4642
4642
|
}
|
|
4643
4643
|
n.__dataHost = o;
|
|
4644
4644
|
}
|
|
4645
4645
|
}
|
|
4646
|
-
function
|
|
4646
|
+
function Ga(o, t) {
|
|
4647
4647
|
if (t.isCompound) {
|
|
4648
4648
|
let e = o.__dataCompoundStorage || (o.__dataCompoundStorage = {}), i = t.parts, r = new Array(i.length);
|
|
4649
4649
|
for (let n = 0; n < i.length; n++)
|
|
@@ -4652,15 +4652,15 @@ function Ja(o, t) {
|
|
|
4652
4652
|
e[s] = r, t.literal && t.kind == "property" && (s === "className" && (o = ie(o)), o[s] = t.literal);
|
|
4653
4653
|
}
|
|
4654
4654
|
}
|
|
4655
|
-
function
|
|
4655
|
+
function Ja(o, t, e) {
|
|
4656
4656
|
if (e.listenerEvent) {
|
|
4657
4657
|
let i = e.parts[0];
|
|
4658
4658
|
o.addEventListener(e.listenerEvent, function(r) {
|
|
4659
|
-
|
|
4659
|
+
Fa(r, t, e.target, i.source, i.negate);
|
|
4660
4660
|
});
|
|
4661
4661
|
}
|
|
4662
4662
|
}
|
|
4663
|
-
function
|
|
4663
|
+
function No(o, t, e, i, r, s) {
|
|
4664
4664
|
s = t.static || s && (typeof s != "object" || s[t.methodName]);
|
|
4665
4665
|
let n = {
|
|
4666
4666
|
methodName: t.methodName,
|
|
@@ -4687,8 +4687,8 @@ function xi(o, t, e, i, r) {
|
|
|
4687
4687
|
} else
|
|
4688
4688
|
r.dynamicFn || console.warn("method `" + r.methodName + "` not defined");
|
|
4689
4689
|
}
|
|
4690
|
-
const
|
|
4691
|
-
function
|
|
4690
|
+
const Xa = [], qr = "(?:[a-zA-Z_$][\\w.:$\\-*]*)", Za = "(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)", Qa = "(?:'(?:[^'\\\\]|\\\\.)*')", el = '(?:"(?:[^"\\\\]|\\\\.)*")', tl = "(?:" + Qa + "|" + el + ")", zo = "(?:(" + qr + "|" + Za + "|" + tl + ")\\s*)", il = "(?:" + zo + "(?:,\\s*" + zo + ")*)", ol = "(?:\\(\\s*(?:" + il + "?)\\)\\s*)", rl = "(" + qr + "\\s*" + ol + "?)", sl = "(\\[\\[|{{)\\s*", nl = "(?:]]|}})", al = "(?:(!)\\s*)?", ll = sl + al + rl + nl, Fo = new RegExp(ll, "g");
|
|
4691
|
+
function Lo(o) {
|
|
4692
4692
|
let t = "";
|
|
4693
4693
|
for (let e = 0; e < o.length; e++) {
|
|
4694
4694
|
let i = o[e].literal;
|
|
@@ -4699,22 +4699,22 @@ function $o(o) {
|
|
|
4699
4699
|
function ti(o) {
|
|
4700
4700
|
let t = o.match(/([^\s]+?)\(([\s\S]*)\)/);
|
|
4701
4701
|
if (t) {
|
|
4702
|
-
let i = { methodName: t[1], static: !0, args:
|
|
4702
|
+
let i = { methodName: t[1], static: !0, args: Xa };
|
|
4703
4703
|
if (t[2].trim()) {
|
|
4704
4704
|
let r = t[2].replace(/\\,/g, ",").split(",");
|
|
4705
|
-
return
|
|
4705
|
+
return cl(r, i);
|
|
4706
4706
|
} else
|
|
4707
4707
|
return i;
|
|
4708
4708
|
}
|
|
4709
4709
|
return null;
|
|
4710
4710
|
}
|
|
4711
|
-
function
|
|
4711
|
+
function cl(o, t) {
|
|
4712
4712
|
return t.args = o.map(function(e) {
|
|
4713
|
-
let i =
|
|
4713
|
+
let i = Kr(e);
|
|
4714
4714
|
return i.literal || (t.static = !1), i;
|
|
4715
4715
|
}, this), t;
|
|
4716
4716
|
}
|
|
4717
|
-
function
|
|
4717
|
+
function Kr(o) {
|
|
4718
4718
|
let t = o.trim().replace(/,/g, ",").replace(/\\(.)/g, "$1"), e = {
|
|
4719
4719
|
name: t,
|
|
4720
4720
|
value: "",
|
|
@@ -4731,16 +4731,16 @@ function Gr(o) {
|
|
|
4731
4731
|
}
|
|
4732
4732
|
return e.literal || (e.rootProperty = He(t), e.structured = vi(t), e.structured && (e.wildcard = t.slice(-2) == ".*", e.wildcard && (e.name = t.slice(0, -2)))), e;
|
|
4733
4733
|
}
|
|
4734
|
-
function
|
|
4734
|
+
function $o(o, t, e) {
|
|
4735
4735
|
let i = ne(o, e);
|
|
4736
4736
|
return i === void 0 && (i = t[e]), i;
|
|
4737
4737
|
}
|
|
4738
|
-
function
|
|
4738
|
+
function Gr(o, t, e, i) {
|
|
4739
4739
|
const r = { indexSplices: i };
|
|
4740
4740
|
bi && !o._overrideLegacyUndefined && (t.splices = r), o.notifyPath(e + ".splices", r), o.notifyPath(e + ".length", t.length), bi && !o._overrideLegacyUndefined && (r.indexSplices = []);
|
|
4741
4741
|
}
|
|
4742
4742
|
function st(o, t, e, i, r, s) {
|
|
4743
|
-
|
|
4743
|
+
Gr(o, t, e, [{
|
|
4744
4744
|
index: i,
|
|
4745
4745
|
addedCount: r,
|
|
4746
4746
|
removed: s,
|
|
@@ -4748,11 +4748,11 @@ function st(o, t, e, i, r, s) {
|
|
|
4748
4748
|
type: "splice"
|
|
4749
4749
|
}]);
|
|
4750
4750
|
}
|
|
4751
|
-
function
|
|
4751
|
+
function ul(o) {
|
|
4752
4752
|
return o[0].toUpperCase() + o.substring(1);
|
|
4753
4753
|
}
|
|
4754
4754
|
const qi = Z((o) => {
|
|
4755
|
-
const t =
|
|
4755
|
+
const t = Ta(ya(o));
|
|
4756
4756
|
class e extends t {
|
|
4757
4757
|
constructor() {
|
|
4758
4758
|
super(), this.__isPropertyEffectsClient = !0, this.__dataClientsReady, this.__dataPendingClients, this.__dataToNotify, this.__dataLinkedPaths, this.__dataHasPaths, this.__dataCompoundStorage, this.__dataHost, this.__dataTemp, this.__dataClientsInitialized, this.__data, this.__dataPending, this.__dataOld, this.__computeEffects, this.__computeInfo, this.__reflectEffects, this.__notifyEffects, this.__propagateEffects, this.__observeEffects, this.__readOnly, this.__templateInfo, this._overrideLegacyUndefined;
|
|
@@ -4931,7 +4931,7 @@ const qi = Z((o) => {
|
|
|
4931
4931
|
if (!a) {
|
|
4932
4932
|
let l = ne(this, r);
|
|
4933
4933
|
if (r = /** @type {string} */
|
|
4934
|
-
|
|
4934
|
+
Do(this, r, s), !r || !super._shouldPropertyChange(r, s, l))
|
|
4935
4935
|
return !1;
|
|
4936
4936
|
}
|
|
4937
4937
|
if (this.__dataHasPaths = !0, this._setPendingProperty(
|
|
@@ -4940,7 +4940,7 @@ const qi = Z((o) => {
|
|
|
4940
4940
|
s,
|
|
4941
4941
|
n
|
|
4942
4942
|
))
|
|
4943
|
-
return
|
|
4943
|
+
return ja(
|
|
4944
4944
|
this,
|
|
4945
4945
|
/**@type{string}*/
|
|
4946
4946
|
r,
|
|
@@ -5156,7 +5156,7 @@ const qi = Z((o) => {
|
|
|
5156
5156
|
let a = this.__dataHasPaths;
|
|
5157
5157
|
this.__dataHasPaths = !1;
|
|
5158
5158
|
let l;
|
|
5159
|
-
|
|
5159
|
+
$a(this, s, n, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(s, n, a), this._flushClients(), ut(this, this[F.REFLECT], s, n, a), ut(this, this[F.OBSERVE], s, n, a), l && Ia(this, l, s, n, a), this.__dataCounter == 1 && (this.__dataTemp = {});
|
|
5160
5160
|
}
|
|
5161
5161
|
/**
|
|
5162
5162
|
* Called to propagate any property changes to stamped template nodes
|
|
@@ -5253,7 +5253,7 @@ const qi = Z((o) => {
|
|
|
5253
5253
|
/** @type {Array} */
|
|
5254
5254
|
ne(this, r, n)
|
|
5255
5255
|
);
|
|
5256
|
-
|
|
5256
|
+
Gr(this, a, n.path, s);
|
|
5257
5257
|
}
|
|
5258
5258
|
/**
|
|
5259
5259
|
* Convenience method for reading a value from a path.
|
|
@@ -5301,7 +5301,7 @@ const qi = Z((o) => {
|
|
|
5301
5301
|
* @public
|
|
5302
5302
|
*/
|
|
5303
5303
|
set(r, s, n) {
|
|
5304
|
-
n ?
|
|
5304
|
+
n ? Do(n, r, s) : (!this[F.READ_ONLY] || !this[F.READ_ONLY][
|
|
5305
5305
|
/** @type {string} */
|
|
5306
5306
|
r
|
|
5307
5307
|
]) && this._setPendingPropertyOrPath(r, s, !0) && this._invalidateProperties();
|
|
@@ -5456,7 +5456,7 @@ const qi = Z((o) => {
|
|
|
5456
5456
|
* @protected
|
|
5457
5457
|
*/
|
|
5458
5458
|
_createReadOnlyProperty(r, s) {
|
|
5459
|
-
this._addPropertyEffect(r, F.READ_ONLY), s && (this["_set" +
|
|
5459
|
+
this._addPropertyEffect(r, F.READ_ONLY), s && (this["_set" + ul(r)] = /** @this {PropertyEffects} */
|
|
5460
5460
|
function(n) {
|
|
5461
5461
|
this._setProperty(r, n);
|
|
5462
5462
|
});
|
|
@@ -5478,7 +5478,7 @@ const qi = Z((o) => {
|
|
|
5478
5478
|
_createPropertyObserver(r, s, n) {
|
|
5479
5479
|
let a = { property: r, method: s, dynamicFn: !!n };
|
|
5480
5480
|
this._addPropertyEffect(r, F.OBSERVE, {
|
|
5481
|
-
fn:
|
|
5481
|
+
fn: Oo,
|
|
5482
5482
|
info: a,
|
|
5483
5483
|
trigger: { name: r }
|
|
5484
5484
|
}), n && this._addPropertyEffect(
|
|
@@ -5486,7 +5486,7 @@ const qi = Z((o) => {
|
|
|
5486
5486
|
s,
|
|
5487
5487
|
F.OBSERVE,
|
|
5488
5488
|
{
|
|
5489
|
-
fn:
|
|
5489
|
+
fn: Oo,
|
|
5490
5490
|
info: a,
|
|
5491
5491
|
trigger: { name: s }
|
|
5492
5492
|
}
|
|
@@ -5508,7 +5508,7 @@ const qi = Z((o) => {
|
|
|
5508
5508
|
let n = ti(r);
|
|
5509
5509
|
if (!n)
|
|
5510
5510
|
throw new Error("Malformed observer expression '" + r + "'");
|
|
5511
|
-
|
|
5511
|
+
No(this, n, F.OBSERVE, xi, null, s);
|
|
5512
5512
|
}
|
|
5513
5513
|
/**
|
|
5514
5514
|
* Equivalent to static `createNotifyingProperty` API but can be called on
|
|
@@ -5522,7 +5522,7 @@ const qi = Z((o) => {
|
|
|
5522
5522
|
*/
|
|
5523
5523
|
_createNotifyingProperty(r) {
|
|
5524
5524
|
this._addPropertyEffect(r, F.NOTIFY, {
|
|
5525
|
-
fn:
|
|
5525
|
+
fn: za,
|
|
5526
5526
|
info: {
|
|
5527
5527
|
eventName: Ht(r) + "-changed",
|
|
5528
5528
|
property: r
|
|
@@ -5543,7 +5543,7 @@ const qi = Z((o) => {
|
|
|
5543
5543
|
_createReflectedProperty(r) {
|
|
5544
5544
|
let s = this.constructor.attributeNameForProperty(r);
|
|
5545
5545
|
s[0] === "-" ? console.warn("Property " + r + " cannot be reflected to attribute " + s + ' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.') : this._addPropertyEffect(r, F.REFLECT, {
|
|
5546
|
-
fn:
|
|
5546
|
+
fn: La,
|
|
5547
5547
|
info: {
|
|
5548
5548
|
attrName: s
|
|
5549
5549
|
}
|
|
@@ -5566,8 +5566,8 @@ const qi = Z((o) => {
|
|
|
5566
5566
|
let a = ti(s);
|
|
5567
5567
|
if (!a)
|
|
5568
5568
|
throw new Error("Malformed computed expression '" + s + "'");
|
|
5569
|
-
const l =
|
|
5570
|
-
Qt(this,
|
|
5569
|
+
const l = No(this, a, F.COMPUTE, Wr, r, n);
|
|
5570
|
+
Qt(this, Vr)[r] = l;
|
|
5571
5571
|
}
|
|
5572
5572
|
/**
|
|
5573
5573
|
* Gather the argument values for a method specified in the provided array
|
|
@@ -5588,14 +5588,14 @@ const qi = Z((o) => {
|
|
|
5588
5588
|
let { name: d, structured: h, wildcard: p, value: b, literal: M } = r[c];
|
|
5589
5589
|
if (!M)
|
|
5590
5590
|
if (p) {
|
|
5591
|
-
const I = bt(d, s), D =
|
|
5591
|
+
const I = bt(d, s), D = $o(a, n, I ? s : d);
|
|
5592
5592
|
b = {
|
|
5593
5593
|
path: I ? s : d,
|
|
5594
5594
|
value: D,
|
|
5595
5595
|
base: I ? ne(a, d) : D
|
|
5596
5596
|
};
|
|
5597
5597
|
} else
|
|
5598
|
-
b = h ?
|
|
5598
|
+
b = h ? $o(a, n, d) : a[d];
|
|
5599
5599
|
if (bi && !this._overrideLegacyUndefined && b === void 0 && r.length > 1)
|
|
5600
5600
|
return xt;
|
|
5601
5601
|
l[c] = b;
|
|
@@ -5878,7 +5878,7 @@ const qi = Z((o) => {
|
|
|
5878
5878
|
for (let l = n.firstChild; l; l = l.nextSibling)
|
|
5879
5879
|
a.push(l);
|
|
5880
5880
|
}
|
|
5881
|
-
return n.templateInfo = s,
|
|
5881
|
+
return n.templateInfo = s, Ka(this, s), this.__dataClientsReady && (this._runEffectsForTemplate(s, this.__data, null, !1), this._flushClients()), n;
|
|
5882
5882
|
}
|
|
5883
5883
|
/**
|
|
5884
5884
|
* Removes and unbinds the nodes previously contained in the provided
|
|
@@ -5925,7 +5925,7 @@ const qi = Z((o) => {
|
|
|
5925
5925
|
);
|
|
5926
5926
|
if (r.nodeType === Node.TEXT_NODE) {
|
|
5927
5927
|
let l = this._parseBindings(r.textContent, s);
|
|
5928
|
-
l && (r.textContent =
|
|
5928
|
+
l && (r.textContent = Lo(l) || " ", ei(this, s, n, "text", "textContent", l), a = !0);
|
|
5929
5929
|
}
|
|
5930
5930
|
return a;
|
|
5931
5931
|
}
|
|
@@ -5952,9 +5952,9 @@ const qi = Z((o) => {
|
|
|
5952
5952
|
let c = this._parseBindings(l, s);
|
|
5953
5953
|
if (c) {
|
|
5954
5954
|
let u = a, d = "property";
|
|
5955
|
-
|
|
5956
|
-
let h =
|
|
5957
|
-
return h && d == "attribute" && (a == "class" && r.hasAttribute("class") && (h += " " + r.getAttribute(a)), r.setAttribute(a, h)), d == "attribute" && u == "disable-upgrade$" && r.setAttribute(a, ""), r.localName === "input" && u === "value" && r.setAttribute(u, ""), r.removeAttribute(u), d === "property" && (a =
|
|
5955
|
+
Ma.test(a) ? d = "attribute" : a[a.length - 1] == "$" && (a = a.slice(0, -1), d = "attribute");
|
|
5956
|
+
let h = Lo(c);
|
|
5957
|
+
return h && d == "attribute" && (a == "class" && r.hasAttribute("class") && (h += " " + r.getAttribute(a)), r.setAttribute(a, h)), d == "attribute" && u == "disable-upgrade$" && r.setAttribute(a, ""), r.localName === "input" && u === "value" && r.setAttribute(u, ""), r.removeAttribute(u), d === "property" && (a = Lr(a)), ei(this, s, n, d, a, c, h), !0;
|
|
5958
5958
|
} else
|
|
5959
5959
|
return t._parseTemplateNodeAttribute.call(
|
|
5960
5960
|
this,
|
|
@@ -5987,10 +5987,10 @@ const qi = Z((o) => {
|
|
|
5987
5987
|
n
|
|
5988
5988
|
);
|
|
5989
5989
|
const l = r.parentNode, c = n.templateInfo, u = l.localName === "dom-if", d = l.localName === "dom-repeat";
|
|
5990
|
-
|
|
5990
|
+
Eo && (u || d) && (l.removeChild(r), n = n.parentInfo, n.templateInfo = c, n.noted = !0, a = !1);
|
|
5991
5991
|
let h = c.hostProps;
|
|
5992
|
-
if (
|
|
5993
|
-
h && (s.hostProps = Object.assign(s.hostProps || {}, h),
|
|
5992
|
+
if (ta && u)
|
|
5993
|
+
h && (s.hostProps = Object.assign(s.hostProps || {}, h), Eo || (n.parentInfo.noted = !0));
|
|
5994
5994
|
else {
|
|
5995
5995
|
let p = "{";
|
|
5996
5996
|
for (let b in h) {
|
|
@@ -6047,7 +6047,7 @@ const qi = Z((o) => {
|
|
|
6047
6047
|
*/
|
|
6048
6048
|
static _parseBindings(r, s) {
|
|
6049
6049
|
let n = [], a = 0, l;
|
|
6050
|
-
for (; (l =
|
|
6050
|
+
for (; (l = Fo.exec(r)) !== null; ) {
|
|
6051
6051
|
l.index > a && n.push({ literal: r.slice(a, l.index) });
|
|
6052
6052
|
let c = l[1][0], u = !!l[2], d = l[3].trim(), h = !1, p = "", b = -1;
|
|
6053
6053
|
c == "{" && (b = d.indexOf("::")) > 0 && (p = d.substring(b + 2), d = d.substring(0, b), h = !0);
|
|
@@ -6070,7 +6070,7 @@ const qi = Z((o) => {
|
|
|
6070
6070
|
signature: M,
|
|
6071
6071
|
dependencies: I,
|
|
6072
6072
|
event: p
|
|
6073
|
-
}), a =
|
|
6073
|
+
}), a = Fo.lastIndex;
|
|
6074
6074
|
}
|
|
6075
6075
|
if (a && a < r.length) {
|
|
6076
6076
|
let c = r.substring(a);
|
|
@@ -6120,7 +6120,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6120
6120
|
Code distributed by Google as part of the polymer project is also
|
|
6121
6121
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6122
6122
|
*/
|
|
6123
|
-
function
|
|
6123
|
+
function dl(o) {
|
|
6124
6124
|
const t = {};
|
|
6125
6125
|
for (let e in o) {
|
|
6126
6126
|
const i = o[e];
|
|
@@ -6128,8 +6128,8 @@ function hl(o) {
|
|
|
6128
6128
|
}
|
|
6129
6129
|
return t;
|
|
6130
6130
|
}
|
|
6131
|
-
const
|
|
6132
|
-
const t =
|
|
6131
|
+
const hl = Z((o) => {
|
|
6132
|
+
const t = Hr(o);
|
|
6133
6133
|
function e(s) {
|
|
6134
6134
|
const n = Object.getPrototypeOf(s);
|
|
6135
6135
|
return n.prototype instanceof r ? (
|
|
@@ -6142,7 +6142,7 @@ const pl = Z((o) => {
|
|
|
6142
6142
|
let n = null;
|
|
6143
6143
|
if (s.hasOwnProperty(JSCompiler_renameProperty("properties", s))) {
|
|
6144
6144
|
const a = s.properties;
|
|
6145
|
-
a && (n =
|
|
6145
|
+
a && (n = dl(a));
|
|
6146
6146
|
}
|
|
6147
6147
|
s.__ownProperties = n;
|
|
6148
6148
|
}
|
|
@@ -6279,8 +6279,8 @@ const pl = Z((o) => {
|
|
|
6279
6279
|
* Google as part of the polymer project is also subject to an additional IP
|
|
6280
6280
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6281
6281
|
*/
|
|
6282
|
-
const
|
|
6283
|
-
const t =
|
|
6282
|
+
const pl = "3.5.2", Ro = window.ShadyCSS && window.ShadyCSS.cssBuild, fl = Z((o) => {
|
|
6283
|
+
const t = hl(qi(o));
|
|
6284
6284
|
function e(l) {
|
|
6285
6285
|
if (!l.hasOwnProperty(
|
|
6286
6286
|
JSCompiler_renameProperty("__propertyDefaults", l)
|
|
@@ -6308,8 +6308,8 @@ const fl = "3.5.2", Bo = window.ShadyCSS && window.ShadyCSS.cssBuild, ml = Z((o)
|
|
|
6308
6308
|
u.computed && (u.readOnly = !0), u.computed && (l._hasReadOnlyEffect(c) ? console.warn(`Cannot redefine computed property '${c}'.`) : l._createComputedProperty(c, u.computed, d)), u.readOnly && !l._hasReadOnlyEffect(c) ? l._createReadOnlyProperty(c, !u.computed) : u.readOnly === !1 && l._hasReadOnlyEffect(c) && console.warn(`Cannot make readOnly property '${c}' non-readOnly.`), u.reflectToAttribute && !l._hasReflectEffect(c) ? l._createReflectedProperty(c) : u.reflectToAttribute === !1 && l._hasReflectEffect(c) && console.warn(`Cannot make reflected property '${c}' non-reflected.`), u.notify && !l._hasNotifyEffect(c) ? l._createNotifyingProperty(c) : u.notify === !1 && l._hasNotifyEffect(c) && console.warn(`Cannot make notify property '${c}' non-notify.`), u.observer && l._createPropertyObserver(c, u.observer, d[u.observer]), l._addPropertyToAttributeMap(c);
|
|
6309
6309
|
}
|
|
6310
6310
|
function s(l, c, u, d) {
|
|
6311
|
-
if (!
|
|
6312
|
-
const h = c.content.querySelectorAll("style"), p =
|
|
6311
|
+
if (!Ro) {
|
|
6312
|
+
const h = c.content.querySelectorAll("style"), p = Ir(c), b = ca(u), M = c.content.firstElementChild;
|
|
6313
6313
|
for (let D = 0; D < b.length; D++) {
|
|
6314
6314
|
let P = b[D];
|
|
6315
6315
|
P.textContent = l._processStyleText(P.textContent, d), c.content.insertBefore(P, M);
|
|
@@ -6320,7 +6320,7 @@ const fl = "3.5.2", Bo = window.ShadyCSS && window.ShadyCSS.cssBuild, ml = Z((o)
|
|
|
6320
6320
|
q !== P ? (P = P.cloneNode(!0), q.parentNode.insertBefore(P, q)) : I++, P.textContent = l._processStyleText(P.textContent, d);
|
|
6321
6321
|
}
|
|
6322
6322
|
}
|
|
6323
|
-
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(c, u),
|
|
6323
|
+
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(c, u), ia && Ro && Jn) {
|
|
6324
6324
|
const h = c.content.querySelectorAll("style");
|
|
6325
6325
|
if (h) {
|
|
6326
6326
|
let p = "";
|
|
@@ -6332,7 +6332,7 @@ const fl = "3.5.2", Bo = window.ShadyCSS && window.ShadyCSS.cssBuild, ml = Z((o)
|
|
|
6332
6332
|
}
|
|
6333
6333
|
function n(l) {
|
|
6334
6334
|
let c = null;
|
|
6335
|
-
if (l && (!zt ||
|
|
6335
|
+
if (l && (!zt || Zn) && (c = /** @type {?HTMLTemplateElement} */
|
|
6336
6336
|
gt.import(l, "template"), zt && !c))
|
|
6337
6337
|
throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);
|
|
6338
6338
|
return c;
|
|
@@ -6344,7 +6344,7 @@ const fl = "3.5.2", Bo = window.ShadyCSS && window.ShadyCSS.cssBuild, ml = Z((o)
|
|
|
6344
6344
|
* @nocollapse
|
|
6345
6345
|
*/
|
|
6346
6346
|
static get polymerElementVersion() {
|
|
6347
|
-
return
|
|
6347
|
+
return pl;
|
|
6348
6348
|
}
|
|
6349
6349
|
/**
|
|
6350
6350
|
* Override of PropertiesMixin _finalizeClass to create observers and
|
|
@@ -6365,7 +6365,7 @@ const fl = "3.5.2", Bo = window.ShadyCSS && window.ShadyCSS.cssBuild, ml = Z((o)
|
|
|
6365
6365
|
/** @type {PolymerElementConstructor} */
|
|
6366
6366
|
this.template
|
|
6367
6367
|
);
|
|
6368
|
-
c && (typeof c == "string" ? (console.error("template getter must return HTMLTemplateElement"), c = null) :
|
|
6368
|
+
c && (typeof c == "string" ? (console.error("template getter must return HTMLTemplateElement"), c = null) : Dr || (c = c.cloneNode(!0))), this.prototype._template = c;
|
|
6369
6369
|
}
|
|
6370
6370
|
/**
|
|
6371
6371
|
* Override of PropertiesChanged createProperties to create accessors
|
|
@@ -6535,7 +6535,7 @@ const fl = "3.5.2", Bo = window.ShadyCSS && window.ShadyCSS.cssBuild, ml = Z((o)
|
|
|
6535
6535
|
this.constructor.finalize(), this.constructor._finalizeTemplate(
|
|
6536
6536
|
/** @type {!HTMLElement} */
|
|
6537
6537
|
this.localName
|
|
6538
|
-
), super._initializeProperties(), this.rootPath =
|
|
6538
|
+
), super._initializeProperties(), this.rootPath = Xn, this.importPath = this.constructor.importPath;
|
|
6539
6539
|
let c = e(this.constructor);
|
|
6540
6540
|
if (c)
|
|
6541
6541
|
for (let u in c) {
|
|
@@ -6646,7 +6646,7 @@ const fl = "3.5.2", Bo = window.ShadyCSS && window.ShadyCSS.cssBuild, ml = Z((o)
|
|
|
6646
6646
|
_attachDom(c) {
|
|
6647
6647
|
const u = ie(this);
|
|
6648
6648
|
if (u.attachShadow)
|
|
6649
|
-
return c ? (u.shadowRoot || (u.attachShadow({ mode: "open", shadyUpgradeFragment: c }), u.shadowRoot.appendChild(c), this.constructor._styleSheet && (u.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])),
|
|
6649
|
+
return c ? (u.shadowRoot || (u.attachShadow({ mode: "open", shadyUpgradeFragment: c }), u.shadowRoot.appendChild(c), this.constructor._styleSheet && (u.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])), Qn && window.ShadyDOM && window.ShadyDOM.flushInitial(u.shadowRoot), u.shadowRoot) : null;
|
|
6650
6650
|
throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.");
|
|
6651
6651
|
}
|
|
6652
6652
|
/**
|
|
@@ -6731,7 +6731,7 @@ const fl = "3.5.2", Bo = window.ShadyCSS && window.ShadyCSS.cssBuild, ml = Z((o)
|
|
|
6731
6731
|
* @nocollapse
|
|
6732
6732
|
*/
|
|
6733
6733
|
static _addTemplatePropertyEffect(c, u, d) {
|
|
6734
|
-
return
|
|
6734
|
+
return Tr && !(u in this._properties) && // Methods used in templates with no dependencies (or only literal
|
|
6735
6735
|
// dependencies) become accessors with template effects; ignore these
|
|
6736
6736
|
!(d.info.part.signature && d.info.part.signature.static) && // Warnings for bindings added to nested templates are handled by
|
|
6737
6737
|
// templatizer so ignore both the host-to-template bindings
|
|
@@ -6756,16 +6756,16 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6756
6756
|
Code distributed by Google as part of the polymer project is also
|
|
6757
6757
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6758
6758
|
*/
|
|
6759
|
-
const
|
|
6760
|
-
class
|
|
6759
|
+
const Bo = window.trustedTypes && trustedTypes.createPolicy("polymer-html-literal", { createHTML: (o) => o });
|
|
6760
|
+
class Jr {
|
|
6761
6761
|
/**
|
|
6762
6762
|
* @param {!ITemplateArray} strings Constant parts of tagged template literal
|
|
6763
6763
|
* @param {!Array<*>} values Variable parts of tagged template literal
|
|
6764
6764
|
*/
|
|
6765
6765
|
constructor(t, e) {
|
|
6766
|
-
|
|
6766
|
+
Zr(t, e);
|
|
6767
6767
|
const i = e.reduce(
|
|
6768
|
-
(r, s, n) => r +
|
|
6768
|
+
(r, s, n) => r + Xr(s) + t[n + 1],
|
|
6769
6769
|
t[0]
|
|
6770
6770
|
);
|
|
6771
6771
|
this.value = i.toString();
|
|
@@ -6778,8 +6778,8 @@ class Xr {
|
|
|
6778
6778
|
return this.value;
|
|
6779
6779
|
}
|
|
6780
6780
|
}
|
|
6781
|
-
function
|
|
6782
|
-
if (o instanceof
|
|
6781
|
+
function Xr(o) {
|
|
6782
|
+
if (o instanceof Jr)
|
|
6783
6783
|
return (
|
|
6784
6784
|
/** @type {!LiteralString} */
|
|
6785
6785
|
o.value
|
|
@@ -6788,30 +6788,30 @@ function Zr(o) {
|
|
|
6788
6788
|
`non-literal value passed to Polymer's htmlLiteral function: ${o}`
|
|
6789
6789
|
);
|
|
6790
6790
|
}
|
|
6791
|
-
function
|
|
6791
|
+
function ml(o) {
|
|
6792
6792
|
if (o instanceof HTMLTemplateElement)
|
|
6793
6793
|
return (
|
|
6794
6794
|
/** @type {!HTMLTemplateElement } */
|
|
6795
6795
|
o.innerHTML
|
|
6796
6796
|
);
|
|
6797
|
-
if (o instanceof
|
|
6798
|
-
return
|
|
6797
|
+
if (o instanceof Jr)
|
|
6798
|
+
return Xr(o);
|
|
6799
6799
|
throw new Error(
|
|
6800
6800
|
`non-template value passed to Polymer's html function: ${o}`
|
|
6801
6801
|
);
|
|
6802
6802
|
}
|
|
6803
6803
|
const je = function(t, ...e) {
|
|
6804
|
-
|
|
6804
|
+
Zr(t, e);
|
|
6805
6805
|
const i = (
|
|
6806
6806
|
/** @type {!HTMLTemplateElement} */
|
|
6807
6807
|
document.createElement("template")
|
|
6808
6808
|
);
|
|
6809
6809
|
let r = e.reduce(
|
|
6810
|
-
(s, n, a) => s +
|
|
6810
|
+
(s, n, a) => s + ml(n) + t[a + 1],
|
|
6811
6811
|
t[0]
|
|
6812
6812
|
);
|
|
6813
|
-
return
|
|
6814
|
-
},
|
|
6813
|
+
return Bo && (r = Bo.createHTML(r)), i.innerHTML = r, i;
|
|
6814
|
+
}, Zr = (o, t) => {
|
|
6815
6815
|
if (!Array.isArray(o) || !Array.isArray(o.raw) || t.length !== o.length - 1)
|
|
6816
6816
|
throw new TypeError("Invalid call to the html template tag");
|
|
6817
6817
|
};
|
|
@@ -6824,7 +6824,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6824
6824
|
Code distributed by Google as part of the polymer project is also
|
|
6825
6825
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6826
6826
|
*/
|
|
6827
|
-
const Me =
|
|
6827
|
+
const Me = fl(HTMLElement);
|
|
6828
6828
|
/**
|
|
6829
6829
|
* @license
|
|
6830
6830
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
@@ -6837,14 +6837,14 @@ function wi(o, t, e = o.getAttribute("dir")) {
|
|
|
6837
6837
|
function Ei() {
|
|
6838
6838
|
return document.documentElement.getAttribute("dir");
|
|
6839
6839
|
}
|
|
6840
|
-
function
|
|
6840
|
+
function _l() {
|
|
6841
6841
|
const o = Ei();
|
|
6842
6842
|
Ee.forEach((t) => {
|
|
6843
6843
|
wi(t, o);
|
|
6844
6844
|
});
|
|
6845
6845
|
}
|
|
6846
|
-
const
|
|
6847
|
-
|
|
6846
|
+
const gl = new MutationObserver(_l);
|
|
6847
|
+
gl.observe(document.documentElement, { attributes: !0, attributeFilter: ["dir"] });
|
|
6848
6848
|
const jt = (o) => class extends o {
|
|
6849
6849
|
static get properties() {
|
|
6850
6850
|
return {
|
|
@@ -6906,7 +6906,7 @@ const jt = (o) => class extends o {
|
|
|
6906
6906
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
6907
6907
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6908
6908
|
*/
|
|
6909
|
-
const
|
|
6909
|
+
const bl = (o) => class extends o {
|
|
6910
6910
|
static get properties() {
|
|
6911
6911
|
return {
|
|
6912
6912
|
/**
|
|
@@ -6946,7 +6946,7 @@ const vl = (o) => class extends o {
|
|
|
6946
6946
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
6947
6947
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6948
6948
|
*/
|
|
6949
|
-
const
|
|
6949
|
+
const vl = z`
|
|
6950
6950
|
:host {
|
|
6951
6951
|
display: flex;
|
|
6952
6952
|
align-items: center;
|
|
@@ -7017,8 +7017,8 @@ const yl = z`
|
|
|
7017
7017
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7018
7018
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7019
7019
|
*/
|
|
7020
|
-
K("vaadin-input-container",
|
|
7021
|
-
class
|
|
7020
|
+
K("vaadin-input-container", vl, { moduleId: "vaadin-input-container-styles" });
|
|
7021
|
+
class yl extends bl(Be(jt(Me))) {
|
|
7022
7022
|
static get is() {
|
|
7023
7023
|
return "vaadin-input-container";
|
|
7024
7024
|
}
|
|
@@ -7030,13 +7030,13 @@ class xl extends vl(Be(jt(Me))) {
|
|
|
7030
7030
|
`;
|
|
7031
7031
|
}
|
|
7032
7032
|
}
|
|
7033
|
-
ye(
|
|
7033
|
+
ye(yl);
|
|
7034
7034
|
/**
|
|
7035
7035
|
* @license
|
|
7036
7036
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7037
7037
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7038
7038
|
*/
|
|
7039
|
-
const
|
|
7039
|
+
const xl = z`
|
|
7040
7040
|
:host {
|
|
7041
7041
|
z-index: 200;
|
|
7042
7042
|
position: fixed;
|
|
@@ -7125,21 +7125,21 @@ function Si() {
|
|
|
7125
7125
|
function Gi() {
|
|
7126
7126
|
return Ki;
|
|
7127
7127
|
}
|
|
7128
|
-
function
|
|
7128
|
+
function wl(o) {
|
|
7129
7129
|
const t = o.style;
|
|
7130
7130
|
if (t.visibility === "hidden" || t.display === "none")
|
|
7131
7131
|
return !0;
|
|
7132
7132
|
const e = window.getComputedStyle(o);
|
|
7133
7133
|
return e.visibility === "hidden" || e.display === "none";
|
|
7134
7134
|
}
|
|
7135
|
-
function
|
|
7135
|
+
function El(o, t) {
|
|
7136
7136
|
const e = Math.max(o.tabIndex, 0), i = Math.max(t.tabIndex, 0);
|
|
7137
7137
|
return e === 0 || i === 0 ? i > e : e > i;
|
|
7138
7138
|
}
|
|
7139
|
-
function
|
|
7139
|
+
function Sl(o, t) {
|
|
7140
7140
|
const e = [];
|
|
7141
7141
|
for (; o.length > 0 && t.length > 0; )
|
|
7142
|
-
|
|
7142
|
+
El(o[0], t[0]) ? e.push(t.shift()) : e.push(o.shift());
|
|
7143
7143
|
return e.concat(o, t);
|
|
7144
7144
|
}
|
|
7145
7145
|
function Ci(o) {
|
|
@@ -7147,37 +7147,37 @@ function Ci(o) {
|
|
|
7147
7147
|
if (t < 2)
|
|
7148
7148
|
return o;
|
|
7149
7149
|
const e = Math.ceil(t / 2), i = Ci(o.slice(0, e)), r = Ci(o.slice(e));
|
|
7150
|
-
return
|
|
7150
|
+
return Sl(i, r);
|
|
7151
7151
|
}
|
|
7152
|
-
function
|
|
7152
|
+
function Qr(o) {
|
|
7153
7153
|
return o.matches('[tabindex="-1"]') ? !1 : o.matches("input, select, textarea, button, object") ? o.matches(":not([disabled])") : o.matches("a[href], area[href], iframe, [tabindex], [contentEditable]");
|
|
7154
7154
|
}
|
|
7155
|
-
function
|
|
7155
|
+
function Cl(o) {
|
|
7156
7156
|
return o.getRootNode().activeElement === o;
|
|
7157
7157
|
}
|
|
7158
|
-
function
|
|
7159
|
-
if (!
|
|
7158
|
+
function Al(o) {
|
|
7159
|
+
if (!Qr(o))
|
|
7160
7160
|
return -1;
|
|
7161
7161
|
const t = o.getAttribute("tabindex") || 0;
|
|
7162
7162
|
return Number(t);
|
|
7163
7163
|
}
|
|
7164
|
-
function
|
|
7165
|
-
if (o.nodeType !== Node.ELEMENT_NODE ||
|
|
7164
|
+
function es(o, t) {
|
|
7165
|
+
if (o.nodeType !== Node.ELEMENT_NODE || wl(o))
|
|
7166
7166
|
return !1;
|
|
7167
7167
|
const e = (
|
|
7168
7168
|
/** @type {HTMLElement} */
|
|
7169
7169
|
o
|
|
7170
|
-
), i =
|
|
7170
|
+
), i = Al(e);
|
|
7171
7171
|
let r = i > 0;
|
|
7172
7172
|
i >= 0 && t.push(e);
|
|
7173
7173
|
let s = [];
|
|
7174
7174
|
return e.localName === "slot" ? s = e.assignedNodes({ flatten: !0 }) : s = (e.shadowRoot || e).children, [...s].forEach((n) => {
|
|
7175
|
-
r =
|
|
7175
|
+
r = es(n, t) || r;
|
|
7176
7176
|
}), r;
|
|
7177
7177
|
}
|
|
7178
|
-
function
|
|
7178
|
+
function kl(o) {
|
|
7179
7179
|
const t = [];
|
|
7180
|
-
return
|
|
7180
|
+
return es(o, t) ? Ci(t) : t;
|
|
7181
7181
|
}
|
|
7182
7182
|
/**
|
|
7183
7183
|
@license
|
|
@@ -7188,23 +7188,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
7188
7188
|
Code distributed by Google as part of the polymer project is also
|
|
7189
7189
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7190
7190
|
*/
|
|
7191
|
-
let Ai = !1,
|
|
7192
|
-
function
|
|
7191
|
+
let Ai = !1, Pl = [], ts = [];
|
|
7192
|
+
function Dl() {
|
|
7193
7193
|
Ai = !0, requestAnimationFrame(function() {
|
|
7194
|
-
Ai = !1,
|
|
7195
|
-
|
|
7194
|
+
Ai = !1, Tl(Pl), setTimeout(function() {
|
|
7195
|
+
Ml(ts);
|
|
7196
7196
|
});
|
|
7197
7197
|
});
|
|
7198
7198
|
}
|
|
7199
|
-
function
|
|
7199
|
+
function Tl(o) {
|
|
7200
7200
|
for (; o.length; )
|
|
7201
|
-
|
|
7201
|
+
is(o.shift());
|
|
7202
7202
|
}
|
|
7203
|
-
function
|
|
7203
|
+
function Ml(o) {
|
|
7204
7204
|
for (let t = 0, e = o.length; t < e; t++)
|
|
7205
|
-
|
|
7205
|
+
is(o.shift());
|
|
7206
7206
|
}
|
|
7207
|
-
function
|
|
7207
|
+
function is(o) {
|
|
7208
7208
|
const t = o[0], e = o[1], i = o[2];
|
|
7209
7209
|
try {
|
|
7210
7210
|
e.apply(t, i);
|
|
@@ -7214,21 +7214,21 @@ function os(o) {
|
|
|
7214
7214
|
});
|
|
7215
7215
|
}
|
|
7216
7216
|
}
|
|
7217
|
-
function
|
|
7218
|
-
Ai ||
|
|
7217
|
+
function os(o, t, e) {
|
|
7218
|
+
Ai || Dl(), ts.push([o, t, e]);
|
|
7219
7219
|
}
|
|
7220
7220
|
/**
|
|
7221
7221
|
* @license
|
|
7222
7222
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7223
7223
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7224
7224
|
*/
|
|
7225
|
-
const Yt = (o) => o.test(navigator.userAgent), ki = (o) => o.test(navigator.platform),
|
|
7225
|
+
const Yt = (o) => o.test(navigator.userAgent), ki = (o) => o.test(navigator.platform), Ol = (o) => o.test(navigator.vendor);
|
|
7226
7226
|
Yt(/Android/u);
|
|
7227
|
-
Yt(/Chrome/u) &&
|
|
7227
|
+
Yt(/Chrome/u) && Ol(/Google Inc/u);
|
|
7228
7228
|
Yt(/Firefox/u);
|
|
7229
|
-
const
|
|
7229
|
+
const Il = ki(/^iPad/u) || ki(/^Mac/u) && navigator.maxTouchPoints > 1, Nl = ki(/^iPhone/u), rs = Nl || Il;
|
|
7230
7230
|
Yt(/^((?!chrome|android).)*safari/iu);
|
|
7231
|
-
const
|
|
7231
|
+
const zl = (() => {
|
|
7232
7232
|
try {
|
|
7233
7233
|
return document.createEvent("TouchEvent"), !0;
|
|
7234
7234
|
} catch (o) {
|
|
@@ -7241,10 +7241,10 @@ const Fl = (() => {
|
|
|
7241
7241
|
* SPDX-License-Identifier: MIT
|
|
7242
7242
|
*/
|
|
7243
7243
|
let Ue = /* @__PURE__ */ new WeakMap(), At = /* @__PURE__ */ new WeakMap(), kt = {}, ii = 0;
|
|
7244
|
-
const
|
|
7244
|
+
const Ho = (o) => o && o.nodeType === Node.ELEMENT_NODE, oi = (...o) => {
|
|
7245
7245
|
console.error(`Error: ${o.join(" ")}. Skip setting aria-hidden.`);
|
|
7246
|
-
},
|
|
7247
|
-
if (!
|
|
7246
|
+
}, Fl = (o, t) => Ho(o) ? t.map((e) => {
|
|
7247
|
+
if (!Ho(e))
|
|
7248
7248
|
return oi(e, "is not a valid element"), null;
|
|
7249
7249
|
let i = e;
|
|
7250
7250
|
for (; i && i !== o; ) {
|
|
@@ -7253,8 +7253,8 @@ const jo = (o) => o && o.nodeType === Node.ELEMENT_NODE, oi = (...o) => {
|
|
|
7253
7253
|
i = i.getRootNode().host;
|
|
7254
7254
|
}
|
|
7255
7255
|
return oi(e, "is not contained inside", o), null;
|
|
7256
|
-
}).filter((e) => !!e) : (oi(o, "is not a valid element"), []),
|
|
7257
|
-
const r =
|
|
7256
|
+
}).filter((e) => !!e) : (oi(o, "is not a valid element"), []), Ll = (o, t, e, i) => {
|
|
7257
|
+
const r = Fl(t, Array.isArray(o) ? o : [o]);
|
|
7258
7258
|
kt[e] || (kt[e] = /* @__PURE__ */ new WeakMap());
|
|
7259
7259
|
const s = kt[e], n = [], a = /* @__PURE__ */ new Set(), l = new Set(r), c = (d) => {
|
|
7260
7260
|
if (!d || a.has(d))
|
|
@@ -7284,16 +7284,16 @@ const jo = (o) => o && o.nodeType === Node.ELEMENT_NODE, oi = (...o) => {
|
|
|
7284
7284
|
Ue.set(d, h), s.set(d, p), h || (At.has(d) ? At.delete(d) : d.removeAttribute(i)), p || d.removeAttribute(e);
|
|
7285
7285
|
}), ii -= 1, ii || (Ue = /* @__PURE__ */ new WeakMap(), Ue = /* @__PURE__ */ new WeakMap(), At = /* @__PURE__ */ new WeakMap(), kt = {});
|
|
7286
7286
|
};
|
|
7287
|
-
},
|
|
7287
|
+
}, ss = (o, t = document.body, e = "data-aria-hidden") => {
|
|
7288
7288
|
const i = Array.from(Array.isArray(o) ? o : [o]);
|
|
7289
|
-
return t && i.push(...Array.from(t.querySelectorAll("[aria-live]"))),
|
|
7289
|
+
return t && i.push(...Array.from(t.querySelectorAll("[aria-live]"))), Ll(i, t, e, "aria-hidden");
|
|
7290
7290
|
};
|
|
7291
7291
|
/**
|
|
7292
7292
|
* @license
|
|
7293
7293
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7294
7294
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7295
7295
|
*/
|
|
7296
|
-
class
|
|
7296
|
+
class $l {
|
|
7297
7297
|
/**
|
|
7298
7298
|
* @param {HTMLElement} host
|
|
7299
7299
|
*/
|
|
@@ -7309,7 +7309,7 @@ class Rl {
|
|
|
7309
7309
|
*/
|
|
7310
7310
|
showModal() {
|
|
7311
7311
|
const t = this.callback();
|
|
7312
|
-
this.__showOthers =
|
|
7312
|
+
this.__showOthers = ss(t);
|
|
7313
7313
|
}
|
|
7314
7314
|
/**
|
|
7315
7315
|
* Remove `aria-hidden` from other elements unless there are any other
|
|
@@ -7324,7 +7324,7 @@ class Rl {
|
|
|
7324
7324
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7325
7325
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7326
7326
|
*/
|
|
7327
|
-
class
|
|
7327
|
+
class Rl {
|
|
7328
7328
|
/**
|
|
7329
7329
|
* Saves the given node as a target for restoring focus to
|
|
7330
7330
|
* when `restoreFocus()` is called. If no node is provided,
|
|
@@ -7352,7 +7352,7 @@ class Bl {
|
|
|
7352
7352
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7353
7353
|
*/
|
|
7354
7354
|
const ri = [];
|
|
7355
|
-
class
|
|
7355
|
+
class Bl {
|
|
7356
7356
|
/**
|
|
7357
7357
|
* @param {HTMLElement} host
|
|
7358
7358
|
*/
|
|
@@ -7366,7 +7366,7 @@ class Hl {
|
|
|
7366
7366
|
* @private
|
|
7367
7367
|
*/
|
|
7368
7368
|
get __focusableElements() {
|
|
7369
|
-
return
|
|
7369
|
+
return kl(this.__trapNode);
|
|
7370
7370
|
}
|
|
7371
7371
|
/**
|
|
7372
7372
|
* The index of the element inside the trap node that currently has focus.
|
|
@@ -7376,7 +7376,7 @@ class Hl {
|
|
|
7376
7376
|
*/
|
|
7377
7377
|
get __focusedElementIndex() {
|
|
7378
7378
|
const t = this.__focusableElements;
|
|
7379
|
-
return t.indexOf(t.filter(
|
|
7379
|
+
return t.indexOf(t.filter(Cl).pop());
|
|
7380
7380
|
}
|
|
7381
7381
|
hostConnected() {
|
|
7382
7382
|
document.addEventListener("keydown", this.__onKeyDown);
|
|
@@ -7489,7 +7489,7 @@ const it = Z((o) => typeof o.prototype.addController == "function" ? o : class e
|
|
|
7489
7489
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7490
7490
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7491
7491
|
*/
|
|
7492
|
-
const
|
|
7492
|
+
const Hl = (o) => class extends it(o) {
|
|
7493
7493
|
static get properties() {
|
|
7494
7494
|
return {
|
|
7495
7495
|
/**
|
|
@@ -7520,7 +7520,7 @@ const jl = (o) => class extends it(o) {
|
|
|
7520
7520
|
};
|
|
7521
7521
|
}
|
|
7522
7522
|
constructor() {
|
|
7523
|
-
super(), this.__ariaModalController = new
|
|
7523
|
+
super(), this.__ariaModalController = new $l(this), this.__focusTrapController = new Bl(this), this.__focusRestorationController = new Rl();
|
|
7524
7524
|
}
|
|
7525
7525
|
/** @protected */
|
|
7526
7526
|
ready() {
|
|
@@ -7591,7 +7591,7 @@ const jl = (o) => class extends it(o) {
|
|
|
7591
7591
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7592
7592
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7593
7593
|
*/
|
|
7594
|
-
const
|
|
7594
|
+
const ns = () => Array.from(document.body.children).filter((o) => o instanceof HTMLElement && o._hasOverlayStackMixin && !o.hasAttribute("closing")).sort((o, t) => o.__zIndex - t.__zIndex || 0), Pi = () => ns().filter((o) => o.$.overlay), jl = (o) => o === Pi().pop(), Yl = (o) => class extends o {
|
|
7595
7595
|
constructor() {
|
|
7596
7596
|
super(), this._hasOverlayStackMixin = !0;
|
|
7597
7597
|
}
|
|
@@ -7602,14 +7602,14 @@ const as = () => Array.from(document.body.children).filter((o) => o instanceof H
|
|
|
7602
7602
|
* @protected
|
|
7603
7603
|
*/
|
|
7604
7604
|
get _last() {
|
|
7605
|
-
return
|
|
7605
|
+
return jl(this);
|
|
7606
7606
|
}
|
|
7607
7607
|
/**
|
|
7608
7608
|
* Brings the overlay as visually the frontmost one.
|
|
7609
7609
|
*/
|
|
7610
7610
|
bringToFront() {
|
|
7611
7611
|
let e = "";
|
|
7612
|
-
const i =
|
|
7612
|
+
const i = ns().filter((r) => r !== this).pop();
|
|
7613
7613
|
i && (e = i.__zIndex + 1), this.style.zIndex = e, this.__zIndex = e || parseFloat(getComputedStyle(this).zIndex);
|
|
7614
7614
|
}
|
|
7615
7615
|
/** @protected */
|
|
@@ -7632,7 +7632,7 @@ const as = () => Array.from(document.body.children).filter((o) => o instanceof H
|
|
|
7632
7632
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7633
7633
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7634
7634
|
*/
|
|
7635
|
-
const
|
|
7635
|
+
const Vl = (o) => class extends Hl(Yl(o)) {
|
|
7636
7636
|
static get properties() {
|
|
7637
7637
|
return {
|
|
7638
7638
|
/**
|
|
@@ -7705,7 +7705,7 @@ const Ul = (o) => class extends jl(Vl(o)) {
|
|
|
7705
7705
|
return ["_rendererOrDataChanged(renderer, owner, model, opened)"];
|
|
7706
7706
|
}
|
|
7707
7707
|
constructor() {
|
|
7708
|
-
super(), this._boundMouseDownListener = this._mouseDownListener.bind(this), this._boundMouseUpListener = this._mouseUpListener.bind(this), this._boundOutsideClickListener = this._outsideClickListener.bind(this), this._boundKeydownListener = this._keydownListener.bind(this),
|
|
7708
|
+
super(), this._boundMouseDownListener = this._mouseDownListener.bind(this), this._boundMouseUpListener = this._mouseUpListener.bind(this), this._boundOutsideClickListener = this._outsideClickListener.bind(this), this._boundKeydownListener = this._keydownListener.bind(this), rs && (this._boundIosResizeListener = () => this._detectIosNavbar());
|
|
7709
7709
|
}
|
|
7710
7710
|
/** @protected */
|
|
7711
7711
|
ready() {
|
|
@@ -7773,7 +7773,7 @@ const Ul = (o) => class extends jl(Vl(o)) {
|
|
|
7773
7773
|
}
|
|
7774
7774
|
/** @private */
|
|
7775
7775
|
_openedChanged(e, i) {
|
|
7776
|
-
e ? (this._saveFocus(), this._animatedOpening(),
|
|
7776
|
+
e ? (this._saveFocus(), this._animatedOpening(), os(this, () => {
|
|
7777
7777
|
this._trapFocus();
|
|
7778
7778
|
const r = new CustomEvent("vaadin-overlay-open", { bubbles: !0 });
|
|
7779
7779
|
this.dispatchEvent(r);
|
|
@@ -7898,7 +7898,7 @@ const Ul = (o) => class extends jl(Vl(o)) {
|
|
|
7898
7898
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7899
7899
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7900
7900
|
*/
|
|
7901
|
-
function
|
|
7901
|
+
function Ul(o) {
|
|
7902
7902
|
const t = [];
|
|
7903
7903
|
for (; o; ) {
|
|
7904
7904
|
if (o.nodeType === Node.DOCUMENT_NODE) {
|
|
@@ -7923,11 +7923,11 @@ function Ji(o) {
|
|
|
7923
7923
|
function Vt(o) {
|
|
7924
7924
|
return o ? [...o].join(" ") : "";
|
|
7925
7925
|
}
|
|
7926
|
-
function
|
|
7926
|
+
function as(o, t, e) {
|
|
7927
7927
|
const i = Ji(o.getAttribute(t));
|
|
7928
7928
|
i.add(e), o.setAttribute(t, Vt(i));
|
|
7929
7929
|
}
|
|
7930
|
-
function
|
|
7930
|
+
function Wl(o, t, e) {
|
|
7931
7931
|
const i = Ji(o.getAttribute(t));
|
|
7932
7932
|
if (i.delete(e), i.size === 0) {
|
|
7933
7933
|
o.removeAttribute(t);
|
|
@@ -7935,7 +7935,7 @@ function ql(o, t, e) {
|
|
|
7935
7935
|
}
|
|
7936
7936
|
o.setAttribute(t, Vt(i));
|
|
7937
7937
|
}
|
|
7938
|
-
function
|
|
7938
|
+
function ql(o) {
|
|
7939
7939
|
return o.nodeType === Node.TEXT_NODE && o.textContent.trim() === "";
|
|
7940
7940
|
}
|
|
7941
7941
|
/**
|
|
@@ -7943,7 +7943,7 @@ function Kl(o) {
|
|
|
7943
7943
|
* Copyright (c) 2024 Vaadin Ltd.
|
|
7944
7944
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7945
7945
|
*/
|
|
7946
|
-
function
|
|
7946
|
+
function Kl(o, t) {
|
|
7947
7947
|
let e = null;
|
|
7948
7948
|
const i = document.documentElement;
|
|
7949
7949
|
function r() {
|
|
@@ -7983,13 +7983,13 @@ const si = {
|
|
|
7983
7983
|
}, ni = {
|
|
7984
7984
|
start: "left",
|
|
7985
7985
|
end: "right"
|
|
7986
|
-
},
|
|
7986
|
+
}, jo = new ResizeObserver((o) => {
|
|
7987
7987
|
setTimeout(() => {
|
|
7988
7988
|
o.forEach((t) => {
|
|
7989
7989
|
t.target.__overlay && t.target.__overlay._updatePosition();
|
|
7990
7990
|
});
|
|
7991
7991
|
});
|
|
7992
|
-
}),
|
|
7992
|
+
}), Gl = (o) => class extends o {
|
|
7993
7993
|
static get properties() {
|
|
7994
7994
|
return {
|
|
7995
7995
|
/**
|
|
@@ -8088,9 +8088,9 @@ const si = {
|
|
|
8088
8088
|
}
|
|
8089
8089
|
/** @private */
|
|
8090
8090
|
__addUpdatePositionEventListeners() {
|
|
8091
|
-
window.visualViewport.addEventListener("resize", this._updatePosition), window.visualViewport.addEventListener("scroll", this.__onScroll, !0), this.__positionTargetAncestorRootNodes =
|
|
8091
|
+
window.visualViewport.addEventListener("resize", this._updatePosition), window.visualViewport.addEventListener("scroll", this.__onScroll, !0), this.__positionTargetAncestorRootNodes = Ul(this.positionTarget), this.__positionTargetAncestorRootNodes.forEach((e) => {
|
|
8092
8092
|
e.addEventListener("scroll", this.__onScroll, !0);
|
|
8093
|
-
}), this.positionTarget && (this.__observePositionTargetMove =
|
|
8093
|
+
}), this.positionTarget && (this.__observePositionTargetMove = Kl(this.positionTarget, () => {
|
|
8094
8094
|
this._updatePosition();
|
|
8095
8095
|
}));
|
|
8096
8096
|
}
|
|
@@ -8102,7 +8102,7 @@ const si = {
|
|
|
8102
8102
|
}
|
|
8103
8103
|
/** @private */
|
|
8104
8104
|
__overlayOpenedChanged(e, i) {
|
|
8105
|
-
if (this.__removeUpdatePositionEventListeners(), i && (i.__overlay = null,
|
|
8105
|
+
if (this.__removeUpdatePositionEventListeners(), i && (i.__overlay = null, jo.unobserve(i), e && (this.__addUpdatePositionEventListeners(), i.__overlay = this, jo.observe(i))), e) {
|
|
8106
8106
|
const r = getComputedStyle(this);
|
|
8107
8107
|
this.__margins || (this.__margins = {}, ["top", "bottom", "left", "right"].forEach((s) => {
|
|
8108
8108
|
this.__margins[s] = parseInt(r[s], 10);
|
|
@@ -8224,7 +8224,7 @@ const si = {
|
|
|
8224
8224
|
* Copyright (c) 2015 - 2024 Vaadin Ltd.
|
|
8225
8225
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8226
8226
|
*/
|
|
8227
|
-
const
|
|
8227
|
+
const Jl = (o) => class extends Gl(Vl(o)) {
|
|
8228
8228
|
/**
|
|
8229
8229
|
* Override method inherited from `OverlayMixin` to not close on input click.
|
|
8230
8230
|
* Needed to ignore date-picker's own input in the mousedown listener below.
|
|
@@ -8241,7 +8241,7 @@ const Xl = (o) => class extends Jl(Ul(o)) {
|
|
|
8241
8241
|
* @override
|
|
8242
8242
|
*/
|
|
8243
8243
|
_mouseDownListener(e) {
|
|
8244
|
-
super._mouseDownListener(e), this._shouldCloseOnOutsideClick(e) && !
|
|
8244
|
+
super._mouseDownListener(e), this._shouldCloseOnOutsideClick(e) && !Qr(e.composedPath()[0]) && e.preventDefault();
|
|
8245
8245
|
}
|
|
8246
8246
|
};
|
|
8247
8247
|
/**
|
|
@@ -8249,7 +8249,7 @@ const Xl = (o) => class extends Jl(Ul(o)) {
|
|
|
8249
8249
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
8250
8250
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8251
8251
|
*/
|
|
8252
|
-
const
|
|
8252
|
+
const Xl = z`
|
|
8253
8253
|
[part='overlay'] {
|
|
8254
8254
|
display: flex;
|
|
8255
8255
|
flex: auto;
|
|
@@ -8270,10 +8270,10 @@ const Zl = z`
|
|
|
8270
8270
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
8271
8271
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8272
8272
|
*/
|
|
8273
|
-
K("vaadin-date-picker-overlay", [
|
|
8273
|
+
K("vaadin-date-picker-overlay", [xl, Xl], {
|
|
8274
8274
|
moduleId: "vaadin-date-picker-overlay-styles"
|
|
8275
8275
|
});
|
|
8276
|
-
class
|
|
8276
|
+
class Zl extends Jl(jt(Be(Me))) {
|
|
8277
8277
|
static get is() {
|
|
8278
8278
|
return "vaadin-date-picker-overlay";
|
|
8279
8279
|
}
|
|
@@ -8288,34 +8288,34 @@ class Ql extends Xl(jt(Be(Me))) {
|
|
|
8288
8288
|
`;
|
|
8289
8289
|
}
|
|
8290
8290
|
}
|
|
8291
|
-
ye(
|
|
8292
|
-
const
|
|
8293
|
-
function
|
|
8291
|
+
ye(Zl);
|
|
8292
|
+
const Ql = /\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i, Tt = window.Vaadin && window.Vaadin.Flow && window.Vaadin.Flow.clients;
|
|
8293
|
+
function ec() {
|
|
8294
8294
|
function o() {
|
|
8295
8295
|
return !0;
|
|
8296
8296
|
}
|
|
8297
|
-
return
|
|
8297
|
+
return ls(o);
|
|
8298
8298
|
}
|
|
8299
|
-
function
|
|
8299
|
+
function tc() {
|
|
8300
8300
|
try {
|
|
8301
|
-
return
|
|
8301
|
+
return ic() ? !0 : oc() ? Tt ? !rc() : !ec() : !1;
|
|
8302
8302
|
} catch (o) {
|
|
8303
8303
|
return !1;
|
|
8304
8304
|
}
|
|
8305
8305
|
}
|
|
8306
|
-
function
|
|
8306
|
+
function ic() {
|
|
8307
8307
|
return localStorage.getItem("vaadin.developmentmode.force");
|
|
8308
8308
|
}
|
|
8309
|
-
function
|
|
8309
|
+
function oc() {
|
|
8310
8310
|
return ["localhost", "127.0.0.1"].indexOf(window.location.hostname) >= 0;
|
|
8311
8311
|
}
|
|
8312
|
-
function
|
|
8312
|
+
function rc() {
|
|
8313
8313
|
return !!(Tt && Object.keys(Tt).map((t) => Tt[t]).filter((t) => t.productionMode).length > 0);
|
|
8314
8314
|
}
|
|
8315
|
-
function
|
|
8315
|
+
function ls(o, t) {
|
|
8316
8316
|
if (typeof o != "function")
|
|
8317
8317
|
return;
|
|
8318
|
-
const e =
|
|
8318
|
+
const e = Ql.exec(o.toString());
|
|
8319
8319
|
if (e)
|
|
8320
8320
|
try {
|
|
8321
8321
|
o = new Function(e[1]);
|
|
@@ -8325,12 +8325,12 @@ function cs(o, t) {
|
|
|
8325
8325
|
return o(t);
|
|
8326
8326
|
}
|
|
8327
8327
|
window.Vaadin = window.Vaadin || {};
|
|
8328
|
-
const
|
|
8328
|
+
const Yo = function(o, t) {
|
|
8329
8329
|
if (window.Vaadin.developmentMode)
|
|
8330
|
-
return
|
|
8330
|
+
return ls(o, t);
|
|
8331
8331
|
};
|
|
8332
|
-
window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode =
|
|
8333
|
-
function
|
|
8332
|
+
window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode = tc());
|
|
8333
|
+
function sc() {
|
|
8334
8334
|
/*! vaadin-dev-mode:start
|
|
8335
8335
|
(function () {
|
|
8336
8336
|
'use strict';
|
|
@@ -8811,9 +8811,9 @@ function nc() {
|
|
|
8811
8811
|
|
|
8812
8812
|
vaadin-dev-mode:end **/
|
|
8813
8813
|
}
|
|
8814
|
-
const
|
|
8815
|
-
if (typeof
|
|
8816
|
-
return
|
|
8814
|
+
const nc = function() {
|
|
8815
|
+
if (typeof Yo == "function")
|
|
8816
|
+
return Yo(sc);
|
|
8817
8817
|
};
|
|
8818
8818
|
/**
|
|
8819
8819
|
* @license
|
|
@@ -8824,10 +8824,10 @@ const ac = function() {
|
|
|
8824
8824
|
* Code distributed by Google as part of the polymer project is also
|
|
8825
8825
|
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
8826
8826
|
*/
|
|
8827
|
-
let
|
|
8827
|
+
let Vo = 0, cs = 0;
|
|
8828
8828
|
const Ge = [];
|
|
8829
8829
|
let Di = !1;
|
|
8830
|
-
function
|
|
8830
|
+
function ac() {
|
|
8831
8831
|
Di = !1;
|
|
8832
8832
|
const o = Ge.length;
|
|
8833
8833
|
for (let t = 0; t < o; t++) {
|
|
@@ -8841,7 +8841,7 @@ function lc() {
|
|
|
8841
8841
|
});
|
|
8842
8842
|
}
|
|
8843
8843
|
}
|
|
8844
|
-
Ge.splice(0, o),
|
|
8844
|
+
Ge.splice(0, o), cs += o;
|
|
8845
8845
|
}
|
|
8846
8846
|
const Lt = {
|
|
8847
8847
|
/**
|
|
@@ -8883,7 +8883,7 @@ const Lt = {
|
|
|
8883
8883
|
cancel(o) {
|
|
8884
8884
|
window.clearTimeout(o);
|
|
8885
8885
|
}
|
|
8886
|
-
},
|
|
8886
|
+
}, lc = {
|
|
8887
8887
|
/**
|
|
8888
8888
|
* Enqueues a function called at `requestAnimationFrame` timing.
|
|
8889
8889
|
*
|
|
@@ -8904,7 +8904,7 @@ const Lt = {
|
|
|
8904
8904
|
cancel(o) {
|
|
8905
8905
|
window.cancelAnimationFrame(o);
|
|
8906
8906
|
}
|
|
8907
|
-
},
|
|
8907
|
+
}, cc = {
|
|
8908
8908
|
/**
|
|
8909
8909
|
* Enqueues a function called at `requestIdleCallback` timing.
|
|
8910
8910
|
*
|
|
@@ -8925,7 +8925,7 @@ const Lt = {
|
|
|
8925
8925
|
cancel(o) {
|
|
8926
8926
|
window.cancelIdleCallback ? window.cancelIdleCallback(o) : window.clearTimeout(o);
|
|
8927
8927
|
}
|
|
8928
|
-
},
|
|
8928
|
+
}, uc = {
|
|
8929
8929
|
/**
|
|
8930
8930
|
* Enqueues a function called at microtask timing.
|
|
8931
8931
|
*
|
|
@@ -8934,9 +8934,9 @@ const Lt = {
|
|
|
8934
8934
|
* @return {number} Handle used for canceling task
|
|
8935
8935
|
*/
|
|
8936
8936
|
run(o) {
|
|
8937
|
-
Di || (Di = !0, queueMicrotask(() =>
|
|
8938
|
-
const t =
|
|
8939
|
-
return
|
|
8937
|
+
Di || (Di = !0, queueMicrotask(() => ac())), Ge.push(o);
|
|
8938
|
+
const t = Vo;
|
|
8939
|
+
return Vo += 1, t;
|
|
8940
8940
|
},
|
|
8941
8941
|
/**
|
|
8942
8942
|
* Cancels a previously enqueued `microTask` callback.
|
|
@@ -8946,7 +8946,7 @@ const Lt = {
|
|
|
8946
8946
|
* @return {void}
|
|
8947
8947
|
*/
|
|
8948
8948
|
cancel(o) {
|
|
8949
|
-
const t = o -
|
|
8949
|
+
const t = o - cs;
|
|
8950
8950
|
if (t >= 0) {
|
|
8951
8951
|
if (!Ge[t])
|
|
8952
8952
|
throw new Error(`invalid async handle: ${o}`);
|
|
@@ -9055,7 +9055,7 @@ let Qe = class Mi {
|
|
|
9055
9055
|
return this._timer != null;
|
|
9056
9056
|
}
|
|
9057
9057
|
};
|
|
9058
|
-
function
|
|
9058
|
+
function dc(o) {
|
|
9059
9059
|
Ti.add(o);
|
|
9060
9060
|
}
|
|
9061
9061
|
/**
|
|
@@ -9067,17 +9067,17 @@ window.Vaadin || (window.Vaadin = {});
|
|
|
9067
9067
|
window.Vaadin.registrations || (window.Vaadin.registrations = []);
|
|
9068
9068
|
window.Vaadin.developmentModeCallback || (window.Vaadin.developmentModeCallback = {});
|
|
9069
9069
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"] = function() {
|
|
9070
|
-
|
|
9070
|
+
nc();
|
|
9071
9071
|
};
|
|
9072
9072
|
let ai;
|
|
9073
|
-
const
|
|
9073
|
+
const Uo = /* @__PURE__ */ new Set(), us = (o) => class extends jt(o) {
|
|
9074
9074
|
/** @protected */
|
|
9075
9075
|
static finalize() {
|
|
9076
9076
|
super.finalize();
|
|
9077
9077
|
const { is: e } = this;
|
|
9078
|
-
e && !
|
|
9078
|
+
e && !Uo.has(e) && (window.Vaadin.registrations.push(this), Uo.add(e), window.Vaadin.developmentModeCallback && (ai = Qe.debounce(ai, cc, () => {
|
|
9079
9079
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]();
|
|
9080
|
-
}),
|
|
9080
|
+
}), dc(ai)));
|
|
9081
9081
|
}
|
|
9082
9082
|
constructor() {
|
|
9083
9083
|
super(), document.doctype === null && console.warn(
|
|
@@ -9090,7 +9090,7 @@ const Wo = /* @__PURE__ */ new Set(), ds = (o) => class extends jt(o) {
|
|
|
9090
9090
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
9091
9091
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9092
9092
|
*/
|
|
9093
|
-
class
|
|
9093
|
+
class hc {
|
|
9094
9094
|
constructor(t, e) {
|
|
9095
9095
|
this.slot = t, this.callback = e, this._storedNodes = [], this._connected = !1, this._scheduled = !1, this._boundSchedule = () => {
|
|
9096
9096
|
this._schedule();
|
|
@@ -9140,9 +9140,9 @@ class pc {
|
|
|
9140
9140
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9141
9141
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9142
9142
|
*/
|
|
9143
|
-
let
|
|
9144
|
-
function
|
|
9145
|
-
return
|
|
9143
|
+
let pc = 0;
|
|
9144
|
+
function ds() {
|
|
9145
|
+
return pc++;
|
|
9146
9146
|
}
|
|
9147
9147
|
/**
|
|
9148
9148
|
* @license
|
|
@@ -9159,7 +9159,7 @@ class Fe extends EventTarget {
|
|
|
9159
9159
|
* @protected
|
|
9160
9160
|
*/
|
|
9161
9161
|
static generateId(t, e = "default") {
|
|
9162
|
-
return `${e}-${t.localName}-${
|
|
9162
|
+
return `${e}-${t.localName}-${ds()}`;
|
|
9163
9163
|
}
|
|
9164
9164
|
constructor(t, e, i, r = {}) {
|
|
9165
9165
|
super();
|
|
@@ -9251,8 +9251,8 @@ class Fe extends EventTarget {
|
|
|
9251
9251
|
*/
|
|
9252
9252
|
observeSlot() {
|
|
9253
9253
|
const { slotName: t } = this, e = t === "" ? "slot:not([name])" : `slot[name=${t}]`, i = this.host.shadowRoot.querySelector(e);
|
|
9254
|
-
this.__slotObserver = new
|
|
9255
|
-
const n = this.multiple ? this.nodes : [this.node], a = r.filter((l) => !
|
|
9254
|
+
this.__slotObserver = new hc(i, ({ addedNodes: r, removedNodes: s }) => {
|
|
9255
|
+
const n = this.multiple ? this.nodes : [this.node], a = r.filter((l) => !ql(l) && !n.includes(l));
|
|
9256
9256
|
s.length && (this.nodes = n.filter((l) => !s.includes(l)), s.forEach((l) => {
|
|
9257
9257
|
this.teardownNode(l);
|
|
9258
9258
|
})), a && a.length > 0 && (this.multiple ? (this.defaultNode && this.defaultNode.remove(), this.nodes = [...n, ...a].filter((l) => l !== this.defaultNode), a.forEach((l) => {
|
|
@@ -9266,7 +9266,7 @@ class Fe extends EventTarget {
|
|
|
9266
9266
|
* Copyright (c) 2022 - 2024 Vaadin Ltd.
|
|
9267
9267
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9268
9268
|
*/
|
|
9269
|
-
class
|
|
9269
|
+
class hs extends Fe {
|
|
9270
9270
|
constructor(t) {
|
|
9271
9271
|
super(t, "tooltip"), this.setTarget(t);
|
|
9272
9272
|
}
|
|
@@ -9367,7 +9367,7 @@ class ps extends Fe {
|
|
|
9367
9367
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
9368
9368
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9369
9369
|
*/
|
|
9370
|
-
const
|
|
9370
|
+
const fc = z`
|
|
9371
9371
|
:host {
|
|
9372
9372
|
display: inline-block;
|
|
9373
9373
|
position: relative;
|
|
@@ -9427,7 +9427,7 @@ const mc = z`
|
|
|
9427
9427
|
outline-color: GrayText;
|
|
9428
9428
|
}
|
|
9429
9429
|
}
|
|
9430
|
-
`,
|
|
9430
|
+
`, mc = (o) => o`
|
|
9431
9431
|
<div class="vaadin-button-container">
|
|
9432
9432
|
<span part="prefix" aria-hidden="true">
|
|
9433
9433
|
<slot name="prefix"></slot>
|
|
@@ -9450,34 +9450,33 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
9450
9450
|
Code distributed by Google as part of the polymer project is also
|
|
9451
9451
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
9452
9452
|
*/
|
|
9453
|
-
const
|
|
9453
|
+
const _c = (o) => o, ps = typeof document.head.style.touchAction == "string", Oi = "__polymerGestures", li = "__polymerGesturesHandled", Ii = "__polymerGesturesTouchAction", Wo = 25, qo = 5, gc = 2, bc = ["mousedown", "mousemove", "mouseup", "click"], vc = [0, 1, 4, 2], yc = function() {
|
|
9454
9454
|
try {
|
|
9455
9455
|
return new MouseEvent("test", { buttons: 1 }).buttons === 1;
|
|
9456
9456
|
} catch (o) {
|
|
9457
9457
|
return !1;
|
|
9458
9458
|
}
|
|
9459
9459
|
}();
|
|
9460
|
-
function
|
|
9461
|
-
return
|
|
9460
|
+
function Xi(o) {
|
|
9461
|
+
return bc.indexOf(o) > -1;
|
|
9462
9462
|
}
|
|
9463
|
-
let
|
|
9463
|
+
let xc = !1;
|
|
9464
9464
|
(function() {
|
|
9465
9465
|
try {
|
|
9466
9466
|
const o = Object.defineProperty({}, "passive", {
|
|
9467
9467
|
// eslint-disable-next-line getter-return
|
|
9468
9468
|
get() {
|
|
9469
|
-
|
|
9469
|
+
xc = !0;
|
|
9470
9470
|
}
|
|
9471
9471
|
});
|
|
9472
9472
|
window.addEventListener("test", null, o), window.removeEventListener("test", null, o);
|
|
9473
9473
|
} catch (o) {
|
|
9474
9474
|
}
|
|
9475
9475
|
})();
|
|
9476
|
-
function
|
|
9477
|
-
|
|
9478
|
-
return { passive: !0 };
|
|
9476
|
+
function wc(o) {
|
|
9477
|
+
Xi(o);
|
|
9479
9478
|
}
|
|
9480
|
-
const
|
|
9479
|
+
const Ec = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), Sc = {
|
|
9481
9480
|
button: !0,
|
|
9482
9481
|
command: !0,
|
|
9483
9482
|
fieldset: !0,
|
|
@@ -9490,15 +9489,15 @@ const Sc = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), Cc = {
|
|
|
9490
9489
|
};
|
|
9491
9490
|
function $e(o) {
|
|
9492
9491
|
const t = o.type;
|
|
9493
|
-
if (!
|
|
9492
|
+
if (!Xi(t))
|
|
9494
9493
|
return !1;
|
|
9495
9494
|
if (t === "mousemove") {
|
|
9496
9495
|
let i = o.buttons === void 0 ? 1 : o.buttons;
|
|
9497
|
-
return o instanceof window.MouseEvent && !
|
|
9496
|
+
return o instanceof window.MouseEvent && !yc && (i = vc[o.which] || 0), !!(i & 1);
|
|
9498
9497
|
}
|
|
9499
9498
|
return (o.button === void 0 ? 0 : o.button) === 0;
|
|
9500
9499
|
}
|
|
9501
|
-
function
|
|
9500
|
+
function Cc(o) {
|
|
9502
9501
|
if (o.type === "click") {
|
|
9503
9502
|
if (o.detail === 0)
|
|
9504
9503
|
return !0;
|
|
@@ -9515,10 +9514,6 @@ function Ac(o) {
|
|
|
9515
9514
|
return !1;
|
|
9516
9515
|
}
|
|
9517
9516
|
const Se = {
|
|
9518
|
-
mouse: {
|
|
9519
|
-
target: null,
|
|
9520
|
-
mouseIgnoreJob: null
|
|
9521
|
-
},
|
|
9522
9517
|
touch: {
|
|
9523
9518
|
x: 0,
|
|
9524
9519
|
y: 0,
|
|
@@ -9526,9 +9521,9 @@ const Se = {
|
|
|
9526
9521
|
scrollDecided: !1
|
|
9527
9522
|
}
|
|
9528
9523
|
};
|
|
9529
|
-
function
|
|
9524
|
+
function Ac(o) {
|
|
9530
9525
|
let t = "auto";
|
|
9531
|
-
const e =
|
|
9526
|
+
const e = ms(o);
|
|
9532
9527
|
for (let i = 0, r; i < e.length; i++)
|
|
9533
9528
|
if (r = e[i], r[Ii]) {
|
|
9534
9529
|
t = r[Ii];
|
|
@@ -9536,14 +9531,14 @@ function kc(o) {
|
|
|
9536
9531
|
}
|
|
9537
9532
|
return t;
|
|
9538
9533
|
}
|
|
9539
|
-
function
|
|
9534
|
+
function fs(o, t, e) {
|
|
9540
9535
|
o.movefn = t, o.upfn = e, document.addEventListener("mousemove", t), document.addEventListener("mouseup", e);
|
|
9541
9536
|
}
|
|
9542
9537
|
function Je(o) {
|
|
9543
9538
|
document.removeEventListener("mousemove", o.movefn), document.removeEventListener("mouseup", o.upfn), o.movefn = null, o.upfn = null;
|
|
9544
9539
|
}
|
|
9545
|
-
const
|
|
9546
|
-
function
|
|
9540
|
+
const ms = window.ShadyDOM && window.ShadyDOM.noPatch ? window.ShadyDOM.composedPath : (o) => o.composedPath && o.composedPath() || [], Zi = {}, Le = [];
|
|
9541
|
+
function kc(o, t) {
|
|
9547
9542
|
let e = document.elementFromPoint(o, t), i = e;
|
|
9548
9543
|
for (; i && i.shadowRoot && !window.ShadyDOM; ) {
|
|
9549
9544
|
const r = i;
|
|
@@ -9554,13 +9549,13 @@ function Pc(o, t) {
|
|
|
9554
9549
|
return e;
|
|
9555
9550
|
}
|
|
9556
9551
|
function Te(o) {
|
|
9557
|
-
const t =
|
|
9552
|
+
const t = ms(
|
|
9558
9553
|
/** @type {?Event} */
|
|
9559
9554
|
o
|
|
9560
9555
|
);
|
|
9561
9556
|
return t.length > 0 ? t[0] : o.target;
|
|
9562
9557
|
}
|
|
9563
|
-
function
|
|
9558
|
+
function Pc(o) {
|
|
9564
9559
|
const t = o.type, i = o.currentTarget[Oi];
|
|
9565
9560
|
if (!i)
|
|
9566
9561
|
return;
|
|
@@ -9571,7 +9566,7 @@ function Dc(o) {
|
|
|
9571
9566
|
const n = o.changedTouches[0];
|
|
9572
9567
|
if (t === "touchstart" && o.touches.length === 1 && (Se.touch.id = n.identifier), Se.touch.id !== n.identifier)
|
|
9573
9568
|
return;
|
|
9574
|
-
|
|
9569
|
+
ps || (t === "touchstart" || t === "touchmove") && Dc(o);
|
|
9575
9570
|
}
|
|
9576
9571
|
const s = o[li];
|
|
9577
9572
|
if (!s.skip) {
|
|
@@ -9581,7 +9576,7 @@ function Dc(o) {
|
|
|
9581
9576
|
a = Le[n], r[a.name] && !s[a.name] && (s[a.name] = !0, a[t](o));
|
|
9582
9577
|
}
|
|
9583
9578
|
}
|
|
9584
|
-
function
|
|
9579
|
+
function Dc(o) {
|
|
9585
9580
|
const t = o.changedTouches[0], e = o.type;
|
|
9586
9581
|
if (e === "touchstart")
|
|
9587
9582
|
Se.touch.x = t.clientX, Se.touch.y = t.clientY, Se.touch.scrollDecided = !1;
|
|
@@ -9589,29 +9584,29 @@ function Tc(o) {
|
|
|
9589
9584
|
if (Se.touch.scrollDecided)
|
|
9590
9585
|
return;
|
|
9591
9586
|
Se.touch.scrollDecided = !0;
|
|
9592
|
-
const i =
|
|
9587
|
+
const i = Ac(o);
|
|
9593
9588
|
let r = !1;
|
|
9594
9589
|
const s = Math.abs(Se.touch.x - t.clientX), n = Math.abs(Se.touch.y - t.clientY);
|
|
9595
9590
|
o.cancelable && (i === "none" ? r = !0 : i === "pan-x" ? r = n > s : i === "pan-y" && (r = s > n)), r ? o.preventDefault() : $t("track");
|
|
9596
9591
|
}
|
|
9597
9592
|
}
|
|
9598
9593
|
function ve(o, t, e) {
|
|
9599
|
-
return
|
|
9594
|
+
return Zi[t] ? (Tc(o, t, e), !0) : !1;
|
|
9600
9595
|
}
|
|
9601
|
-
function
|
|
9602
|
-
const i =
|
|
9596
|
+
function Tc(o, t, e) {
|
|
9597
|
+
const i = Zi[t], r = i.deps, s = i.name;
|
|
9603
9598
|
let n = o[Oi];
|
|
9604
9599
|
n || (o[Oi] = n = {});
|
|
9605
9600
|
for (let a = 0, l, c; a < r.length; a++)
|
|
9606
|
-
l = r[a], !(
|
|
9607
|
-
o.addEventListener(t, e), i.touchAction &&
|
|
9601
|
+
l = r[a], !(Ec && Xi(l) && l !== "click") && (c = n[l], c || (n[l] = c = { _count: 0 }), c._count === 0 && o.addEventListener(l, Pc, wc(l)), c[s] = (c[s] || 0) + 1, c._count = (c._count || 0) + 1);
|
|
9602
|
+
o.addEventListener(t, e), i.touchAction && _s(o, i.touchAction);
|
|
9608
9603
|
}
|
|
9609
|
-
function
|
|
9604
|
+
function Qi(o) {
|
|
9610
9605
|
Le.push(o), o.emits.forEach((t) => {
|
|
9611
|
-
|
|
9606
|
+
Zi[t] = o;
|
|
9612
9607
|
});
|
|
9613
9608
|
}
|
|
9614
|
-
function
|
|
9609
|
+
function Mc(o) {
|
|
9615
9610
|
for (let t = 0, e; t < Le.length; t++) {
|
|
9616
9611
|
e = Le[t];
|
|
9617
9612
|
for (let i = 0, r; i < e.emits.length; i++)
|
|
@@ -9620,14 +9615,14 @@ function Oc(o) {
|
|
|
9620
9615
|
}
|
|
9621
9616
|
return null;
|
|
9622
9617
|
}
|
|
9623
|
-
function
|
|
9624
|
-
|
|
9618
|
+
function _s(o, t) {
|
|
9619
|
+
ps && o instanceof HTMLElement && uc.run(() => {
|
|
9625
9620
|
o.style.touchAction = t;
|
|
9626
9621
|
}), o[Ii] = t;
|
|
9627
9622
|
}
|
|
9628
|
-
function
|
|
9623
|
+
function eo(o, t, e) {
|
|
9629
9624
|
const i = new Event(t, { bubbles: !0, cancelable: !0, composed: !0 });
|
|
9630
|
-
if (i.detail = e,
|
|
9625
|
+
if (i.detail = e, _c(
|
|
9631
9626
|
/** @type {!Node} */
|
|
9632
9627
|
o
|
|
9633
9628
|
).dispatchEvent(i), i.defaultPrevented) {
|
|
@@ -9636,10 +9631,10 @@ function to(o, t, e) {
|
|
|
9636
9631
|
}
|
|
9637
9632
|
}
|
|
9638
9633
|
function $t(o) {
|
|
9639
|
-
const t =
|
|
9634
|
+
const t = Mc(o);
|
|
9640
9635
|
t.info && (t.info.prevent = !0);
|
|
9641
9636
|
}
|
|
9642
|
-
|
|
9637
|
+
Qi({
|
|
9643
9638
|
name: "downup",
|
|
9644
9639
|
deps: ["mousedown", "touchstart", "touchend"],
|
|
9645
9640
|
flow: {
|
|
@@ -9671,7 +9666,7 @@ eo({
|
|
|
9671
9666
|
}, r = (s) => {
|
|
9672
9667
|
$e(s) && at("up", t, s), Je(e.info);
|
|
9673
9668
|
};
|
|
9674
|
-
|
|
9669
|
+
fs(this.info, i, r), at("down", t, o);
|
|
9675
9670
|
},
|
|
9676
9671
|
/**
|
|
9677
9672
|
* @this {GestureRecognizer}
|
|
@@ -9691,7 +9686,7 @@ eo({
|
|
|
9691
9686
|
}
|
|
9692
9687
|
});
|
|
9693
9688
|
function at(o, t, e, i) {
|
|
9694
|
-
t &&
|
|
9689
|
+
t && eo(t, o, {
|
|
9695
9690
|
x: e.clientX,
|
|
9696
9691
|
y: e.clientY,
|
|
9697
9692
|
sourceEvent: e,
|
|
@@ -9701,7 +9696,7 @@ function at(o, t, e, i) {
|
|
|
9701
9696
|
}
|
|
9702
9697
|
});
|
|
9703
9698
|
}
|
|
9704
|
-
|
|
9699
|
+
Qi({
|
|
9705
9700
|
name: "track",
|
|
9706
9701
|
touchAction: "none",
|
|
9707
9702
|
deps: ["mousedown", "touchstart", "touchmove", "touchend"],
|
|
@@ -9718,7 +9713,7 @@ eo({
|
|
|
9718
9713
|
moves: [],
|
|
9719
9714
|
/** @this {GestureInfo} */
|
|
9720
9715
|
addMove(o) {
|
|
9721
|
-
this.moves.length >
|
|
9716
|
+
this.moves.length > gc && this.moves.shift(), this.moves.push(o);
|
|
9722
9717
|
},
|
|
9723
9718
|
movefn: null,
|
|
9724
9719
|
upfn: null,
|
|
@@ -9741,11 +9736,11 @@ eo({
|
|
|
9741
9736
|
return;
|
|
9742
9737
|
const t = Te(o), e = this, i = (s) => {
|
|
9743
9738
|
const n = s.clientX, a = s.clientY;
|
|
9744
|
-
|
|
9739
|
+
Ko(e.info, n, a) && (e.info.state = e.info.started ? s.type === "mouseup" ? "end" : "track" : "start", e.info.state === "start" && $t("tap"), e.info.addMove({ x: n, y: a }), $e(s) || (e.info.state = "end", Je(e.info)), t && ci(e.info, t, s), e.info.started = !0);
|
|
9745
9740
|
}, r = (s) => {
|
|
9746
9741
|
e.info.started && i(s), Je(e.info);
|
|
9747
9742
|
};
|
|
9748
|
-
|
|
9743
|
+
fs(this.info, i, r), this.info.x = o.clientX, this.info.y = o.clientY;
|
|
9749
9744
|
},
|
|
9750
9745
|
/**
|
|
9751
9746
|
* @this {GestureRecognizer}
|
|
@@ -9763,7 +9758,7 @@ eo({
|
|
|
9763
9758
|
*/
|
|
9764
9759
|
touchmove(o) {
|
|
9765
9760
|
const t = Te(o), e = o.changedTouches[0], i = e.clientX, r = e.clientY;
|
|
9766
|
-
|
|
9761
|
+
Ko(this.info, i, r) && (this.info.state === "start" && $t("tap"), this.info.addMove({ x: i, y: r }), ci(this.info, t, e), this.info.state = "track", this.info.started = !0);
|
|
9767
9762
|
},
|
|
9768
9763
|
/**
|
|
9769
9764
|
* @this {GestureRecognizer}
|
|
@@ -9775,20 +9770,20 @@ eo({
|
|
|
9775
9770
|
this.info.started && (this.info.state = "end", this.info.addMove({ x: e.clientX, y: e.clientY }), ci(this.info, t, e));
|
|
9776
9771
|
}
|
|
9777
9772
|
});
|
|
9778
|
-
function
|
|
9773
|
+
function Ko(o, t, e) {
|
|
9779
9774
|
if (o.prevent)
|
|
9780
9775
|
return !1;
|
|
9781
9776
|
if (o.started)
|
|
9782
9777
|
return !0;
|
|
9783
9778
|
const i = Math.abs(o.x - t), r = Math.abs(o.y - e);
|
|
9784
|
-
return i >=
|
|
9779
|
+
return i >= qo || r >= qo;
|
|
9785
9780
|
}
|
|
9786
9781
|
function ci(o, t, e) {
|
|
9787
9782
|
if (!t)
|
|
9788
9783
|
return;
|
|
9789
9784
|
const i = o.moves[o.moves.length - 2], r = o.moves[o.moves.length - 1], s = r.x - o.x, n = r.y - o.y;
|
|
9790
9785
|
let a, l = 0;
|
|
9791
|
-
i && (a = r.x - i.x, l = r.y - i.y),
|
|
9786
|
+
i && (a = r.x - i.x, l = r.y - i.y), eo(t, "track", {
|
|
9792
9787
|
state: o.state,
|
|
9793
9788
|
x: e.clientX,
|
|
9794
9789
|
y: e.clientY,
|
|
@@ -9798,11 +9793,11 @@ function ci(o, t, e) {
|
|
|
9798
9793
|
ddy: l,
|
|
9799
9794
|
sourceEvent: e,
|
|
9800
9795
|
hover() {
|
|
9801
|
-
return
|
|
9796
|
+
return kc(e.clientX, e.clientY);
|
|
9802
9797
|
}
|
|
9803
9798
|
});
|
|
9804
9799
|
}
|
|
9805
|
-
|
|
9800
|
+
Qi({
|
|
9806
9801
|
name: "tap",
|
|
9807
9802
|
deps: ["mousedown", "click", "touchstart", "touchend"],
|
|
9808
9803
|
flow: {
|
|
@@ -9836,7 +9831,7 @@ eo({
|
|
|
9836
9831
|
* @return {void}
|
|
9837
9832
|
*/
|
|
9838
9833
|
click(o) {
|
|
9839
|
-
$e(o) &&
|
|
9834
|
+
$e(o) && Go(this.info, o);
|
|
9840
9835
|
},
|
|
9841
9836
|
/**
|
|
9842
9837
|
* @this {GestureRecognizer}
|
|
@@ -9853,15 +9848,15 @@ eo({
|
|
|
9853
9848
|
* @return {void}
|
|
9854
9849
|
*/
|
|
9855
9850
|
touchend(o) {
|
|
9856
|
-
|
|
9851
|
+
Go(this.info, o.changedTouches[0], o);
|
|
9857
9852
|
}
|
|
9858
9853
|
});
|
|
9859
|
-
function
|
|
9854
|
+
function Go(o, t, e) {
|
|
9860
9855
|
const i = Math.abs(t.clientX - o.x), r = Math.abs(t.clientY - o.y), s = Te(e || t);
|
|
9861
|
-
!s ||
|
|
9856
|
+
!s || Sc[
|
|
9862
9857
|
/** @type {!HTMLElement} */
|
|
9863
9858
|
s.localName
|
|
9864
|
-
] && s.hasAttribute("disabled") || (isNaN(i) || isNaN(r) || i <=
|
|
9859
|
+
] && s.hasAttribute("disabled") || (isNaN(i) || isNaN(r) || i <= Wo && r <= Wo || Cc(t)) && (o.prevent || eo(s, "tap", {
|
|
9865
9860
|
x: t.clientX,
|
|
9866
9861
|
y: t.clientY,
|
|
9867
9862
|
sourceEvent: t,
|
|
@@ -9873,7 +9868,7 @@ function Jo(o, t, e) {
|
|
|
9873
9868
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9874
9869
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9875
9870
|
*/
|
|
9876
|
-
const
|
|
9871
|
+
const gs = Z(
|
|
9877
9872
|
(o) => class extends o {
|
|
9878
9873
|
static get properties() {
|
|
9879
9874
|
return {
|
|
@@ -9980,7 +9975,7 @@ const Ut = Z(
|
|
|
9980
9975
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9981
9976
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9982
9977
|
*/
|
|
9983
|
-
const
|
|
9978
|
+
const Oc = (o) => class extends gs(Ut(o)) {
|
|
9984
9979
|
/**
|
|
9985
9980
|
* An array of activation keys.
|
|
9986
9981
|
*
|
|
@@ -10043,7 +10038,7 @@ const Ic = (o) => class extends bs(Ut(o)) {
|
|
|
10043
10038
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
10044
10039
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10045
10040
|
*/
|
|
10046
|
-
const
|
|
10041
|
+
const to = Z(
|
|
10047
10042
|
(o) => class extends o {
|
|
10048
10043
|
/**
|
|
10049
10044
|
* @protected
|
|
@@ -10100,7 +10095,7 @@ const io = Z(
|
|
|
10100
10095
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
10101
10096
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10102
10097
|
*/
|
|
10103
|
-
const
|
|
10098
|
+
const bs = (o) => class extends gs(o) {
|
|
10104
10099
|
static get properties() {
|
|
10105
10100
|
return {
|
|
10106
10101
|
/**
|
|
@@ -10151,7 +10146,7 @@ const vs = (o) => class extends bs(o) {
|
|
|
10151
10146
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
10152
10147
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10153
10148
|
*/
|
|
10154
|
-
const
|
|
10149
|
+
const Ic = (o) => class extends Oc(bs(to(o))) {
|
|
10155
10150
|
static get properties() {
|
|
10156
10151
|
return {
|
|
10157
10152
|
/**
|
|
@@ -10206,26 +10201,26 @@ const Nc = (o) => class extends Ic(vs(io(o))) {
|
|
|
10206
10201
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
10207
10202
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10208
10203
|
*/
|
|
10209
|
-
K("vaadin-button",
|
|
10210
|
-
class
|
|
10204
|
+
K("vaadin-button", fc, { moduleId: "vaadin-button-styles" });
|
|
10205
|
+
class Nc extends Ic(us(Be(it(Me)))) {
|
|
10211
10206
|
static get is() {
|
|
10212
10207
|
return "vaadin-button";
|
|
10213
10208
|
}
|
|
10214
10209
|
static get template() {
|
|
10215
|
-
return
|
|
10210
|
+
return mc(je);
|
|
10216
10211
|
}
|
|
10217
10212
|
/** @protected */
|
|
10218
10213
|
ready() {
|
|
10219
|
-
super.ready(), this._tooltipController = new
|
|
10214
|
+
super.ready(), this._tooltipController = new hs(this), this.addController(this._tooltipController);
|
|
10220
10215
|
}
|
|
10221
10216
|
}
|
|
10222
|
-
ye(
|
|
10217
|
+
ye(Nc);
|
|
10223
10218
|
/**
|
|
10224
10219
|
* @license
|
|
10225
10220
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10226
10221
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10227
10222
|
*/
|
|
10228
|
-
function
|
|
10223
|
+
function zc(o) {
|
|
10229
10224
|
let t = o.getDay();
|
|
10230
10225
|
t === 0 && (t = 7);
|
|
10231
10226
|
const e = 4 - t, i = new Date(o.getTime() + e * 24 * 3600 * 1e3), r = new Date(0, 0);
|
|
@@ -10240,7 +10235,7 @@ function Ni(o) {
|
|
|
10240
10235
|
function Ae(o, t, e = Ni) {
|
|
10241
10236
|
return o instanceof Date && t instanceof Date && e(o).getTime() === e(t).getTime();
|
|
10242
10237
|
}
|
|
10243
|
-
function
|
|
10238
|
+
function io(o) {
|
|
10244
10239
|
return {
|
|
10245
10240
|
day: o.getDate(),
|
|
10246
10241
|
month: o.getMonth(),
|
|
@@ -10250,12 +10245,12 @@ function oo(o) {
|
|
|
10250
10245
|
function et(o, t, e, i) {
|
|
10251
10246
|
let r = !1;
|
|
10252
10247
|
if (typeof i == "function" && o) {
|
|
10253
|
-
const s =
|
|
10248
|
+
const s = io(o);
|
|
10254
10249
|
r = i(s);
|
|
10255
10250
|
}
|
|
10256
10251
|
return (!t || o >= t) && (!e || o <= e) && !r;
|
|
10257
10252
|
}
|
|
10258
|
-
function
|
|
10253
|
+
function vs(o, t) {
|
|
10259
10254
|
return t.filter((e) => e !== void 0).reduce((e, i) => {
|
|
10260
10255
|
if (!i)
|
|
10261
10256
|
return e;
|
|
@@ -10265,11 +10260,11 @@ function ys(o, t) {
|
|
|
10265
10260
|
return r < s ? i : e;
|
|
10266
10261
|
});
|
|
10267
10262
|
}
|
|
10268
|
-
function
|
|
10263
|
+
function ys(o) {
|
|
10269
10264
|
const t = /* @__PURE__ */ new Date(), e = new Date(t);
|
|
10270
10265
|
return e.setDate(1), e.setMonth(parseInt(o) + t.getMonth()), e;
|
|
10271
10266
|
}
|
|
10272
|
-
function
|
|
10267
|
+
function Fc(o, t, e = 0, i = 1) {
|
|
10273
10268
|
if (t > 99)
|
|
10274
10269
|
throw new Error("The provided year cannot have more than 2 digits.");
|
|
10275
10270
|
if (t < 0)
|
|
@@ -10284,15 +10279,15 @@ function lt(o) {
|
|
|
10284
10279
|
const e = new Date(0, 0);
|
|
10285
10280
|
return e.setFullYear(parseInt(t[1], 10)), e.setMonth(parseInt(t[2], 10) - 1), e.setDate(parseInt(t[3], 10)), e;
|
|
10286
10281
|
}
|
|
10287
|
-
function
|
|
10282
|
+
function Lc(o) {
|
|
10288
10283
|
const t = (l, c = "00") => (c + l).substr((c + l).length - c.length);
|
|
10289
10284
|
let e = "", i = "0000", r = o.year;
|
|
10290
10285
|
r < 0 ? (r = -r, e = "-", i = "000000") : o.year >= 1e4 && (e = "+", i = "000000");
|
|
10291
10286
|
const s = e + t(r, i), n = t(o.month + 1), a = t(o.day);
|
|
10292
10287
|
return [s, n, a].join("-");
|
|
10293
10288
|
}
|
|
10294
|
-
function
|
|
10295
|
-
return o instanceof Date ?
|
|
10289
|
+
function $c(o) {
|
|
10290
|
+
return o instanceof Date ? Lc({
|
|
10296
10291
|
year: o.getFullYear(),
|
|
10297
10292
|
month: o.getMonth(),
|
|
10298
10293
|
day: o.getDate()
|
|
@@ -10399,9 +10394,9 @@ class Rt {
|
|
|
10399
10394
|
}
|
|
10400
10395
|
}
|
|
10401
10396
|
let wt = /* @__PURE__ */ new Set();
|
|
10402
|
-
const
|
|
10397
|
+
const Rc = function(o) {
|
|
10403
10398
|
wt.add(o);
|
|
10404
|
-
},
|
|
10399
|
+
}, Bc = function() {
|
|
10405
10400
|
const o = !!wt.size;
|
|
10406
10401
|
return wt.forEach((t) => {
|
|
10407
10402
|
try {
|
|
@@ -10422,10 +10417,10 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
10422
10417
|
Code distributed by Google as part of the polymer project is also
|
|
10423
10418
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10424
10419
|
*/
|
|
10425
|
-
const
|
|
10420
|
+
const oo = function() {
|
|
10426
10421
|
let o, t;
|
|
10427
10422
|
do
|
|
10428
|
-
o = window.ShadyDOM && ShadyDOM.flush(), window.ShadyCSS && window.ShadyCSS.ScopingShim && window.ShadyCSS.ScopingShim.flush(), t =
|
|
10423
|
+
o = window.ShadyDOM && ShadyDOM.flush(), window.ShadyCSS && window.ShadyCSS.ScopingShim && window.ShadyCSS.ScopingShim.flush(), t = Bc();
|
|
10429
10424
|
while (o || t);
|
|
10430
10425
|
};
|
|
10431
10426
|
/**
|
|
@@ -10433,8 +10428,8 @@ const ro = function() {
|
|
|
10433
10428
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10434
10429
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10435
10430
|
*/
|
|
10436
|
-
const
|
|
10437
|
-
|
|
10431
|
+
const xs = document.createElement("template");
|
|
10432
|
+
xs.innerHTML = `
|
|
10438
10433
|
<style>
|
|
10439
10434
|
:host {
|
|
10440
10435
|
display: block;
|
|
@@ -10485,9 +10480,9 @@ ws.innerHTML = `
|
|
|
10485
10480
|
<div id="fullHeight"></div>
|
|
10486
10481
|
</div>
|
|
10487
10482
|
`;
|
|
10488
|
-
class
|
|
10483
|
+
class ws extends HTMLElement {
|
|
10489
10484
|
constructor() {
|
|
10490
|
-
super(), this.attachShadow({ mode: "open" }).appendChild(
|
|
10485
|
+
super(), this.attachShadow({ mode: "open" }).appendChild(xs.content.cloneNode(!0)), this.bufferSize = 20, this._initialScroll = 5e5, this._initialIndex = 0, this._activated = !1;
|
|
10491
10486
|
}
|
|
10492
10487
|
/**
|
|
10493
10488
|
* @return {boolean}
|
|
@@ -10547,7 +10542,7 @@ class Es extends HTMLElement {
|
|
|
10547
10542
|
* waiting for the debouncer to resolve.
|
|
10548
10543
|
*/
|
|
10549
10544
|
forceUpdate() {
|
|
10550
|
-
this._debouncerScrollFinish && this._debouncerScrollFinish.flush(), this._debouncerUpdateClones && (this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones(), this._debouncerUpdateClones.cancel()),
|
|
10545
|
+
this._debouncerScrollFinish && this._debouncerScrollFinish.flush(), this._debouncerUpdateClones && (this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones(), this._debouncerUpdateClones.cancel()), oo();
|
|
10551
10546
|
}
|
|
10552
10547
|
/**
|
|
10553
10548
|
* @protected
|
|
@@ -10603,7 +10598,7 @@ class Es extends HTMLElement {
|
|
|
10603
10598
|
for (let i = 0; i < this.bufferSize; i++) {
|
|
10604
10599
|
const r = document.createElement("div");
|
|
10605
10600
|
r.style.height = `${this.itemHeight}px`, r.instance = {};
|
|
10606
|
-
const s = `vaadin-infinite-scroller-item-content-${
|
|
10601
|
+
const s = `vaadin-infinite-scroller-item-content-${ds()}`, n = document.createElement("slot");
|
|
10607
10602
|
n.setAttribute("name", s), n._itemWrapper = r, e.appendChild(n), r.setAttribute("slot", s), this.appendChild(r), this._isVisible(r, t) && this._ensureStampedInstance(r);
|
|
10608
10603
|
}
|
|
10609
10604
|
}), requestAnimationFrame(() => {
|
|
@@ -10644,8 +10639,8 @@ class Es extends HTMLElement {
|
|
|
10644
10639
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10645
10640
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10646
10641
|
*/
|
|
10647
|
-
const
|
|
10648
|
-
|
|
10642
|
+
const Es = document.createElement("template");
|
|
10643
|
+
Es.innerHTML = `
|
|
10649
10644
|
<style>
|
|
10650
10645
|
:host {
|
|
10651
10646
|
--vaadin-infinite-scroller-item-height: 270px;
|
|
@@ -10658,12 +10653,12 @@ Ss.innerHTML = `
|
|
|
10658
10653
|
}
|
|
10659
10654
|
</style>
|
|
10660
10655
|
`;
|
|
10661
|
-
class
|
|
10656
|
+
class Hc extends ws {
|
|
10662
10657
|
static get is() {
|
|
10663
10658
|
return "vaadin-date-picker-month-scroller";
|
|
10664
10659
|
}
|
|
10665
10660
|
constructor() {
|
|
10666
|
-
super(), this.bufferSize = 3, this.shadowRoot.appendChild(
|
|
10661
|
+
super(), this.bufferSize = 3, this.shadowRoot.appendChild(Es.content.cloneNode(!0));
|
|
10667
10662
|
}
|
|
10668
10663
|
/**
|
|
10669
10664
|
* @protected
|
|
@@ -10679,17 +10674,17 @@ class jc extends Es {
|
|
|
10679
10674
|
* @override
|
|
10680
10675
|
*/
|
|
10681
10676
|
_updateElement(t, e) {
|
|
10682
|
-
t.month =
|
|
10677
|
+
t.month = ys(e);
|
|
10683
10678
|
}
|
|
10684
10679
|
}
|
|
10685
|
-
ye(
|
|
10680
|
+
ye(Hc);
|
|
10686
10681
|
/**
|
|
10687
10682
|
* @license
|
|
10688
10683
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10689
10684
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10690
10685
|
*/
|
|
10691
|
-
const
|
|
10692
|
-
|
|
10686
|
+
const Ss = document.createElement("template");
|
|
10687
|
+
Ss.innerHTML = `
|
|
10693
10688
|
<style>
|
|
10694
10689
|
:host {
|
|
10695
10690
|
--vaadin-infinite-scroller-item-height: 80px;
|
|
@@ -10724,12 +10719,12 @@ Cs.innerHTML = `
|
|
|
10724
10719
|
}
|
|
10725
10720
|
</style>
|
|
10726
10721
|
`;
|
|
10727
|
-
class
|
|
10722
|
+
class jc extends ws {
|
|
10728
10723
|
static get is() {
|
|
10729
10724
|
return "vaadin-date-picker-year-scroller";
|
|
10730
10725
|
}
|
|
10731
10726
|
constructor() {
|
|
10732
|
-
super(), this.bufferSize = 12, this.shadowRoot.appendChild(
|
|
10727
|
+
super(), this.bufferSize = 12, this.shadowRoot.appendChild(Ss.content.cloneNode(!0));
|
|
10733
10728
|
}
|
|
10734
10729
|
/**
|
|
10735
10730
|
* @protected
|
|
@@ -10753,13 +10748,13 @@ class Yc extends Es {
|
|
|
10753
10748
|
return i.setFullYear(parseInt(t) + e.getFullYear()), i.getFullYear();
|
|
10754
10749
|
}
|
|
10755
10750
|
}
|
|
10756
|
-
ye(
|
|
10751
|
+
ye(jc);
|
|
10757
10752
|
/**
|
|
10758
10753
|
* @license
|
|
10759
10754
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10760
10755
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10761
10756
|
*/
|
|
10762
|
-
const
|
|
10757
|
+
const Yc = (o) => class extends o {
|
|
10763
10758
|
static get properties() {
|
|
10764
10759
|
return {
|
|
10765
10760
|
year: {
|
|
@@ -10785,7 +10780,7 @@ const Vc = (o) => class extends o {
|
|
|
10785
10780
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10786
10781
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10787
10782
|
*/
|
|
10788
|
-
class
|
|
10783
|
+
class Vc extends Be(Yc(Me)) {
|
|
10789
10784
|
static get is() {
|
|
10790
10785
|
return "vaadin-date-picker-year";
|
|
10791
10786
|
}
|
|
@@ -10802,7 +10797,7 @@ class Uc extends Be(Vc(Me)) {
|
|
|
10802
10797
|
`;
|
|
10803
10798
|
}
|
|
10804
10799
|
}
|
|
10805
|
-
ye(
|
|
10800
|
+
ye(Vc);
|
|
10806
10801
|
/**
|
|
10807
10802
|
@license
|
|
10808
10803
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -10812,13 +10807,13 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
10812
10807
|
Code distributed by Google as part of the polymer project is also
|
|
10813
10808
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10814
10809
|
*/
|
|
10815
|
-
function
|
|
10810
|
+
function ro(o, t, e, i, r) {
|
|
10816
10811
|
let s;
|
|
10817
10812
|
r && (s = typeof e == "object" && e !== null, s && (i = o.__dataTemp[t]));
|
|
10818
10813
|
let n = i !== e && (i === i || e === e);
|
|
10819
10814
|
return s && n && (o.__dataTemp[t] = e), n;
|
|
10820
10815
|
}
|
|
10821
|
-
const
|
|
10816
|
+
const so = Z((o) => {
|
|
10822
10817
|
class t extends o {
|
|
10823
10818
|
/**
|
|
10824
10819
|
* Overrides `PropertyEffects` to provide option for skipping
|
|
@@ -10838,11 +10833,11 @@ const no = Z((o) => {
|
|
|
10838
10833
|
* @protected
|
|
10839
10834
|
*/
|
|
10840
10835
|
_shouldPropertyChange(i, r, s) {
|
|
10841
|
-
return
|
|
10836
|
+
return ro(this, i, r, s, !0);
|
|
10842
10837
|
}
|
|
10843
10838
|
}
|
|
10844
10839
|
return t;
|
|
10845
|
-
}),
|
|
10840
|
+
}), Uc = Z((o) => {
|
|
10846
10841
|
class t extends o {
|
|
10847
10842
|
/** @nocollapse */
|
|
10848
10843
|
static get properties() {
|
|
@@ -10874,12 +10869,12 @@ const no = Z((o) => {
|
|
|
10874
10869
|
* @protected
|
|
10875
10870
|
*/
|
|
10876
10871
|
_shouldPropertyChange(i, r, s) {
|
|
10877
|
-
return
|
|
10872
|
+
return ro(this, i, r, s, this.mutableData);
|
|
10878
10873
|
}
|
|
10879
10874
|
}
|
|
10880
10875
|
return t;
|
|
10881
10876
|
});
|
|
10882
|
-
|
|
10877
|
+
so._mutablePropertyChange = ro;
|
|
10883
10878
|
/**
|
|
10884
10879
|
@license
|
|
10885
10880
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -10899,13 +10894,13 @@ Fi.prototype = Object.create(HTMLTemplateElement.prototype, {
|
|
|
10899
10894
|
writable: !0
|
|
10900
10895
|
}
|
|
10901
10896
|
});
|
|
10902
|
-
const
|
|
10903
|
-
function
|
|
10897
|
+
const Cs = qi(Fi), Wc = so(Cs);
|
|
10898
|
+
function qc(o, t) {
|
|
10904
10899
|
zi = o, Object.setPrototypeOf(o, t.prototype), new t(), zi = null;
|
|
10905
10900
|
}
|
|
10906
|
-
const
|
|
10901
|
+
const Kc = qi(class {
|
|
10907
10902
|
});
|
|
10908
|
-
function
|
|
10903
|
+
function Gc(o, t) {
|
|
10909
10904
|
for (let e = 0; e < t.length; e++) {
|
|
10910
10905
|
let i = t[e];
|
|
10911
10906
|
if (!!o != !!i.__hideTemplateChildren__)
|
|
@@ -10923,7 +10918,7 @@ function Jc(o, t) {
|
|
|
10923
10918
|
i.__hideTemplateChildren__ = o, i._showHideChildren && i._showHideChildren(o);
|
|
10924
10919
|
}
|
|
10925
10920
|
}
|
|
10926
|
-
class Oe extends
|
|
10921
|
+
class Oe extends Kc {
|
|
10927
10922
|
constructor(t) {
|
|
10928
10923
|
super(), this._configureProperties(t), this.root = this._stampTemplate(this.__dataHost);
|
|
10929
10924
|
let e = [];
|
|
@@ -10992,7 +10987,7 @@ class Oe extends Gc {
|
|
|
10992
10987
|
* @protected
|
|
10993
10988
|
*/
|
|
10994
10989
|
_showHideChildren(t) {
|
|
10995
|
-
|
|
10990
|
+
Gc(t, this.children);
|
|
10996
10991
|
}
|
|
10997
10992
|
/**
|
|
10998
10993
|
* Overrides default property-effects implementation to intercept
|
|
@@ -11045,31 +11040,31 @@ Oe.prototype.__templatizeOptions;
|
|
|
11045
11040
|
Oe.prototype._methodHost;
|
|
11046
11041
|
Oe.prototype.__templatizeOwner;
|
|
11047
11042
|
Oe.prototype.__hostProps;
|
|
11048
|
-
const
|
|
11043
|
+
const Jc = so(
|
|
11049
11044
|
// This cast shouldn't be neccessary, but Closure doesn't understand that
|
|
11050
11045
|
// TemplateInstanceBase is a constructor function.
|
|
11051
11046
|
/** @type {function(new:TemplateInstanceBase)} */
|
|
11052
11047
|
Oe
|
|
11053
11048
|
);
|
|
11054
|
-
function
|
|
11049
|
+
function Jo(o) {
|
|
11055
11050
|
let t = o.__dataHost;
|
|
11056
11051
|
return t && t._methodHost || t;
|
|
11057
11052
|
}
|
|
11058
|
-
function
|
|
11059
|
-
let i = e.mutableData ?
|
|
11053
|
+
function Xc(o, t, e) {
|
|
11054
|
+
let i = e.mutableData ? Jc : Oe;
|
|
11060
11055
|
Li.mixin && (i = Li.mixin(i));
|
|
11061
11056
|
let r = class extends i {
|
|
11062
11057
|
};
|
|
11063
|
-
return r.prototype.__templatizeOptions = e, r.prototype._bindTemplate(o),
|
|
11058
|
+
return r.prototype.__templatizeOptions = e, r.prototype._bindTemplate(o), eu(r, o, t, e), r;
|
|
11064
11059
|
}
|
|
11065
|
-
function
|
|
11060
|
+
function Zc(o, t, e, i) {
|
|
11066
11061
|
let r = e.forwardHostProp;
|
|
11067
11062
|
if (r && t.hasHostProps) {
|
|
11068
11063
|
const s = o.localName == "template";
|
|
11069
11064
|
let n = t.templatizeTemplateClass;
|
|
11070
11065
|
if (!n) {
|
|
11071
11066
|
if (s) {
|
|
11072
|
-
let l = e.mutableData ?
|
|
11067
|
+
let l = e.mutableData ? Wc : Cs;
|
|
11073
11068
|
class c extends l {
|
|
11074
11069
|
}
|
|
11075
11070
|
n = t.templatizeTemplateClass = c;
|
|
@@ -11084,12 +11079,12 @@ function Qc(o, t, e, i) {
|
|
|
11084
11079
|
n.prototype._addPropertyEffect(
|
|
11085
11080
|
"_host_" + l,
|
|
11086
11081
|
n.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE,
|
|
11087
|
-
{ fn:
|
|
11082
|
+
{ fn: Qc(l, r) }
|
|
11088
11083
|
), n.prototype._createNotifyingProperty("_host_" + l);
|
|
11089
|
-
|
|
11084
|
+
Tr && i && ou(t, e, i);
|
|
11090
11085
|
}
|
|
11091
11086
|
if (o.__dataProto && Object.assign(o.__data, o.__dataProto), s)
|
|
11092
|
-
|
|
11087
|
+
qc(o, n), o.__dataTemp = {}, o.__dataPending = null, o.__dataOld = null, o._enableProperties();
|
|
11093
11088
|
else {
|
|
11094
11089
|
Object.setPrototypeOf(o, n.prototype);
|
|
11095
11090
|
const a = t.hostProps;
|
|
@@ -11101,7 +11096,7 @@ function Qc(o, t, e, i) {
|
|
|
11101
11096
|
}
|
|
11102
11097
|
}
|
|
11103
11098
|
}
|
|
11104
|
-
function
|
|
11099
|
+
function Qc(o, t) {
|
|
11105
11100
|
return function(i, r, s) {
|
|
11106
11101
|
t.call(
|
|
11107
11102
|
i.__templatizeOwner,
|
|
@@ -11110,7 +11105,7 @@ function eu(o, t) {
|
|
|
11110
11105
|
);
|
|
11111
11106
|
};
|
|
11112
11107
|
}
|
|
11113
|
-
function
|
|
11108
|
+
function eu(o, t, e, i) {
|
|
11114
11109
|
let r = e.hostProps || {};
|
|
11115
11110
|
for (let s in i.instanceProps) {
|
|
11116
11111
|
delete r[s];
|
|
@@ -11118,7 +11113,7 @@ function tu(o, t, e, i) {
|
|
|
11118
11113
|
n && o.prototype._addPropertyEffect(
|
|
11119
11114
|
s,
|
|
11120
11115
|
o.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,
|
|
11121
|
-
{ fn:
|
|
11116
|
+
{ fn: tu(s, n) }
|
|
11122
11117
|
);
|
|
11123
11118
|
}
|
|
11124
11119
|
if (i.forwardHostProp && t.__dataHost)
|
|
@@ -11126,10 +11121,10 @@ function tu(o, t, e, i) {
|
|
|
11126
11121
|
e.hasHostProps || (e.hasHostProps = !0), o.prototype._addPropertyEffect(
|
|
11127
11122
|
s,
|
|
11128
11123
|
o.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,
|
|
11129
|
-
{ fn:
|
|
11124
|
+
{ fn: iu() }
|
|
11130
11125
|
);
|
|
11131
11126
|
}
|
|
11132
|
-
function
|
|
11127
|
+
function tu(o, t) {
|
|
11133
11128
|
return function(i, r, s) {
|
|
11134
11129
|
t.call(
|
|
11135
11130
|
i.__templatizeOwner,
|
|
@@ -11139,22 +11134,22 @@ function iu(o, t) {
|
|
|
11139
11134
|
);
|
|
11140
11135
|
};
|
|
11141
11136
|
}
|
|
11142
|
-
function
|
|
11137
|
+
function iu() {
|
|
11143
11138
|
return function(t, e, i) {
|
|
11144
11139
|
t.__dataHost._setPendingPropertyOrPath("_host_" + e, i[e], !0, !0);
|
|
11145
11140
|
};
|
|
11146
11141
|
}
|
|
11147
11142
|
function Li(o, t, e) {
|
|
11148
|
-
if (zt && !
|
|
11143
|
+
if (zt && !Jo(o))
|
|
11149
11144
|
throw new Error("strictTemplatePolicy: template owner not trusted");
|
|
11150
11145
|
if (e = /** @type {!TemplatizeOptions} */
|
|
11151
11146
|
e || {}, o.__templatizeOwner)
|
|
11152
11147
|
throw new Error("A <template> can only be templatized once");
|
|
11153
11148
|
o.__templatizeOwner = t;
|
|
11154
11149
|
let r = (t ? t.constructor : Oe)._parseTemplate(o), s = r.templatizeInstanceClass;
|
|
11155
|
-
s || (s =
|
|
11156
|
-
const n =
|
|
11157
|
-
|
|
11150
|
+
s || (s = Xc(o, r, e), r.templatizeInstanceClass = s);
|
|
11151
|
+
const n = Jo(o);
|
|
11152
|
+
Zc(o, r, e, n);
|
|
11158
11153
|
let a = class extends s {
|
|
11159
11154
|
};
|
|
11160
11155
|
return a.prototype._methodHost = n, a.prototype.__dataHost = /** @type {!DataTemplate} */
|
|
@@ -11162,7 +11157,7 @@ function Li(o, t, e) {
|
|
|
11162
11157
|
t, a.prototype.__hostProps = r.hostProps, a = /** @type {function(new:TemplateInstanceBase)} */
|
|
11163
11158
|
a, a;
|
|
11164
11159
|
}
|
|
11165
|
-
function
|
|
11160
|
+
function ou(o, t, e) {
|
|
11166
11161
|
const i = e.constructor._properties, { propertyEffects: r } = o, { instanceProps: s } = t;
|
|
11167
11162
|
for (let n in r)
|
|
11168
11163
|
if (!i[n] && !(s && s[n])) {
|
|
@@ -11176,7 +11171,7 @@ function ru(o, t, e) {
|
|
|
11176
11171
|
}
|
|
11177
11172
|
}
|
|
11178
11173
|
}
|
|
11179
|
-
function
|
|
11174
|
+
function ru(o, t) {
|
|
11180
11175
|
let e;
|
|
11181
11176
|
for (; t; )
|
|
11182
11177
|
if (e = t.__dataHost ? t : t.__templatizeInstance)
|
|
@@ -11197,11 +11192,11 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
11197
11192
|
Code distributed by Google as part of the polymer project is also
|
|
11198
11193
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
11199
11194
|
*/
|
|
11200
|
-
let
|
|
11201
|
-
function
|
|
11202
|
-
if (
|
|
11203
|
-
if (!
|
|
11204
|
-
|
|
11195
|
+
let Xo = !1;
|
|
11196
|
+
function su() {
|
|
11197
|
+
if (Dr && !Pr) {
|
|
11198
|
+
if (!Xo) {
|
|
11199
|
+
Xo = !0;
|
|
11205
11200
|
const o = document.createElement("style");
|
|
11206
11201
|
o.textContent = "dom-bind,dom-if,dom-repeat{display:none;}", document.head.appendChild(o);
|
|
11207
11202
|
}
|
|
@@ -11218,8 +11213,8 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
11218
11213
|
Code distributed by Google as part of the polymer project is also
|
|
11219
11214
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
11220
11215
|
*/
|
|
11221
|
-
const
|
|
11222
|
-
class
|
|
11216
|
+
const nu = Uc(Me);
|
|
11217
|
+
class Zo extends nu {
|
|
11223
11218
|
// Not needed to find template; can be removed once the analyzer
|
|
11224
11219
|
// can find the tag name from customElements.define call
|
|
11225
11220
|
static get is() {
|
|
@@ -11314,7 +11309,7 @@ class Qo extends au {
|
|
|
11314
11309
|
*/
|
|
11315
11310
|
renderedItemCount: {
|
|
11316
11311
|
type: Number,
|
|
11317
|
-
notify: !
|
|
11312
|
+
notify: !So,
|
|
11318
11313
|
readOnly: !0
|
|
11319
11314
|
},
|
|
11320
11315
|
/**
|
|
@@ -11397,7 +11392,7 @@ class Qo extends au {
|
|
|
11397
11392
|
* @return {void}
|
|
11398
11393
|
*/
|
|
11399
11394
|
connectedCallback() {
|
|
11400
|
-
if (super.connectedCallback(),
|
|
11395
|
+
if (super.connectedCallback(), su() || (this.style.display = "none"), this.__isDetached) {
|
|
11401
11396
|
this.__isDetached = !1;
|
|
11402
11397
|
let t = ie(ie(this).parentNode);
|
|
11403
11398
|
for (let e = 0; e < this.__instances.length; e++)
|
|
@@ -11447,7 +11442,7 @@ class Qo extends au {
|
|
|
11447
11442
|
* @param {*} value Value to notify
|
|
11448
11443
|
*/
|
|
11449
11444
|
notifyInstanceProp: function(r, s, n) {
|
|
11450
|
-
if (
|
|
11445
|
+
if (ua(this.as, s)) {
|
|
11451
11446
|
let a = r[this.itemsIndexAs];
|
|
11452
11447
|
s == this.as && (this.items[a] = n);
|
|
11453
11448
|
let l = vt(this.as, `${JSCompiler_renameProperty("items", this)}.${a}`, s);
|
|
@@ -11503,9 +11498,9 @@ class Qo extends au {
|
|
|
11503
11498
|
__debounceRender(t, e = 0) {
|
|
11504
11499
|
this.__renderDebouncer = Rt.debounce(
|
|
11505
11500
|
this.__renderDebouncer,
|
|
11506
|
-
e > 0 ?
|
|
11501
|
+
e > 0 ? _a.after(e) : Br,
|
|
11507
11502
|
t.bind(this)
|
|
11508
|
-
),
|
|
11503
|
+
), Rc(this.__renderDebouncer);
|
|
11509
11504
|
}
|
|
11510
11505
|
/**
|
|
11511
11506
|
* Forces the element to render its content. Normally rendering is
|
|
@@ -11516,7 +11511,7 @@ class Qo extends au {
|
|
|
11516
11511
|
* @return {void}
|
|
11517
11512
|
*/
|
|
11518
11513
|
render() {
|
|
11519
|
-
this.__debounceRender(this.__render),
|
|
11514
|
+
this.__debounceRender(this.__render), oo();
|
|
11520
11515
|
}
|
|
11521
11516
|
__render() {
|
|
11522
11517
|
if (!this.__ensureTemplatized())
|
|
@@ -11525,7 +11520,7 @@ class Qo extends au {
|
|
|
11525
11520
|
const e = this.__sortAndFilterItems(t), i = this.__calculateLimit(e.length);
|
|
11526
11521
|
this.__updateInstances(t, i, e), this.initialCount && (this.__shouldMeasureChunk || this.__shouldContinueChunking) && (cancelAnimationFrame(this.__chunkingId), this.__chunkingId = requestAnimationFrame(() => {
|
|
11527
11522
|
this.__chunkingId = null, this.__continueChunking();
|
|
11528
|
-
})), this._setRenderedItemCount(this.__instances.length), (!
|
|
11523
|
+
})), this._setRenderedItemCount(this.__instances.length), (!So || this.notifyDomChange) && this.dispatchEvent(new CustomEvent("dom-change", {
|
|
11529
11524
|
bubbles: !0,
|
|
11530
11525
|
composed: !0
|
|
11531
11526
|
}));
|
|
@@ -11665,16 +11660,16 @@ class Qo extends au {
|
|
|
11665
11660
|
* the element.
|
|
11666
11661
|
*/
|
|
11667
11662
|
modelForElement(t) {
|
|
11668
|
-
return
|
|
11663
|
+
return ru(this.template, t);
|
|
11669
11664
|
}
|
|
11670
11665
|
}
|
|
11671
|
-
customElements.define(
|
|
11666
|
+
customElements.define(Zo.is, Zo);
|
|
11672
11667
|
/**
|
|
11673
11668
|
* @license
|
|
11674
11669
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11675
11670
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11676
11671
|
*/
|
|
11677
|
-
const
|
|
11672
|
+
const au = (o) => class extends to(o) {
|
|
11678
11673
|
static get properties() {
|
|
11679
11674
|
return {
|
|
11680
11675
|
/**
|
|
@@ -11857,7 +11852,7 @@ const lu = (o) => class extends io(o) {
|
|
|
11857
11852
|
/** @protected */
|
|
11858
11853
|
__getWeekNumber(e) {
|
|
11859
11854
|
const i = e.reduce((r, s) => !r && s ? s : r);
|
|
11860
|
-
return
|
|
11855
|
+
return zc(i);
|
|
11861
11856
|
}
|
|
11862
11857
|
/** @protected */
|
|
11863
11858
|
__getDayAriaLabel(e) {
|
|
@@ -11872,7 +11867,7 @@ const lu = (o) => class extends io(o) {
|
|
|
11872
11867
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11873
11868
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11874
11869
|
*/
|
|
11875
|
-
const
|
|
11870
|
+
const lu = z`
|
|
11876
11871
|
:host {
|
|
11877
11872
|
display: block;
|
|
11878
11873
|
}
|
|
@@ -11934,10 +11929,10 @@ const cu = z`
|
|
|
11934
11929
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11935
11930
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11936
11931
|
*/
|
|
11937
|
-
K("vaadin-month-calendar",
|
|
11932
|
+
K("vaadin-month-calendar", lu, {
|
|
11938
11933
|
moduleId: "vaadin-month-calendar-styles"
|
|
11939
11934
|
});
|
|
11940
|
-
class
|
|
11935
|
+
class cu extends au(Be(Me)) {
|
|
11941
11936
|
static get template() {
|
|
11942
11937
|
return je`
|
|
11943
11938
|
<div part="month-header" id="month-header" aria-hidden="true">[[_getTitle(month, i18n)]]</div>
|
|
@@ -12045,13 +12040,13 @@ class uu extends lu(Be(Me)) {
|
|
|
12045
12040
|
return this.__isDayFocused(t, e) ? "0" : "-1";
|
|
12046
12041
|
}
|
|
12047
12042
|
}
|
|
12048
|
-
ye(
|
|
12043
|
+
ye(cu);
|
|
12049
12044
|
/**
|
|
12050
12045
|
* @license
|
|
12051
12046
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
12052
12047
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12053
12048
|
*/
|
|
12054
|
-
class
|
|
12049
|
+
class As {
|
|
12055
12050
|
constructor(t, e) {
|
|
12056
12051
|
this.query = t, this.callback = e, this._boundQueryHandler = this._queryHandler.bind(this);
|
|
12057
12052
|
}
|
|
@@ -12079,7 +12074,7 @@ class ks {
|
|
|
12079
12074
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12080
12075
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12081
12076
|
*/
|
|
12082
|
-
const
|
|
12077
|
+
const uu = (o) => class extends o {
|
|
12083
12078
|
static get properties() {
|
|
12084
12079
|
return {
|
|
12085
12080
|
scrollDuration: {
|
|
@@ -12207,7 +12202,7 @@ const du = (o) => class extends o {
|
|
|
12207
12202
|
}
|
|
12208
12203
|
/** @protected */
|
|
12209
12204
|
_addListeners() {
|
|
12210
|
-
|
|
12205
|
+
_s(this.$.scrollers, "pan-y"), ve(this.$.scrollers, "track", this._track.bind(this)), ve(this.shadowRoot.querySelector('[part="clear-button"]'), "tap", this._clear.bind(this)), ve(this.shadowRoot.querySelector('[part="toggle-button"]'), "tap", this._cancel.bind(this)), ve(
|
|
12211
12206
|
this.shadowRoot.querySelector('[part="years-toggle-button"]'),
|
|
12212
12207
|
"tap",
|
|
12213
12208
|
this._toggleYearScroller.bind(this)
|
|
@@ -12216,7 +12211,7 @@ const du = (o) => class extends o {
|
|
|
12216
12211
|
/** @protected */
|
|
12217
12212
|
_initControllers() {
|
|
12218
12213
|
this.addController(
|
|
12219
|
-
new
|
|
12214
|
+
new As(this._desktopMediaQuery, (e) => {
|
|
12220
12215
|
this._desktopMode = e;
|
|
12221
12216
|
})
|
|
12222
12217
|
), this.addController(
|
|
@@ -12408,7 +12403,7 @@ const du = (o) => class extends o {
|
|
|
12408
12403
|
}
|
|
12409
12404
|
/** @protected */
|
|
12410
12405
|
_formatDisplayed(e, i, r) {
|
|
12411
|
-
return e && i && typeof i.formatDate == "function" ? i.formatDate(
|
|
12406
|
+
return e && i && typeof i.formatDate == "function" ? i.formatDate(io(e)) : r;
|
|
12412
12407
|
}
|
|
12413
12408
|
/** @private */
|
|
12414
12409
|
_onTodayTap() {
|
|
@@ -12525,7 +12520,7 @@ const du = (o) => class extends o {
|
|
|
12525
12520
|
}
|
|
12526
12521
|
/** @private */
|
|
12527
12522
|
_yearAfterXMonths(e) {
|
|
12528
|
-
return
|
|
12523
|
+
return ys(e).getFullYear();
|
|
12529
12524
|
}
|
|
12530
12525
|
/** @private */
|
|
12531
12526
|
_differenceInMonths(e, i) {
|
|
@@ -12633,15 +12628,15 @@ const du = (o) => class extends o {
|
|
|
12633
12628
|
focusDateElement(e = !0) {
|
|
12634
12629
|
return ot(this, null, function* () {
|
|
12635
12630
|
this.__pendingDateFocus = this.focusedDate, this.calendars.length || (yield new Promise((i) => {
|
|
12636
|
-
|
|
12637
|
-
|
|
12631
|
+
os(this, () => {
|
|
12632
|
+
oo(), i();
|
|
12638
12633
|
});
|
|
12639
12634
|
})), e && this.revealDate(this.focusedDate), this._revealPromise && (yield this._revealPromise), this.__tryFocusDate();
|
|
12640
12635
|
});
|
|
12641
12636
|
}
|
|
12642
12637
|
/** @private */
|
|
12643
12638
|
_focusClosestDate(e) {
|
|
12644
|
-
this.focusDate(
|
|
12639
|
+
this.focusDate(vs(e, [this.minDate, this.maxDate]));
|
|
12645
12640
|
}
|
|
12646
12641
|
/** @private */
|
|
12647
12642
|
_focusAllowedDate(e, i, r) {
|
|
@@ -12692,7 +12687,7 @@ const du = (o) => class extends o {
|
|
|
12692
12687
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12693
12688
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12694
12689
|
*/
|
|
12695
|
-
const
|
|
12690
|
+
const du = z`
|
|
12696
12691
|
:host {
|
|
12697
12692
|
display: flex;
|
|
12698
12693
|
flex-direction: column;
|
|
@@ -12758,10 +12753,10 @@ const hu = z`
|
|
|
12758
12753
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12759
12754
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12760
12755
|
*/
|
|
12761
|
-
K("vaadin-date-picker-overlay-content",
|
|
12756
|
+
K("vaadin-date-picker-overlay-content", du, {
|
|
12762
12757
|
moduleId: "vaadin-date-picker-overlay-content-styles"
|
|
12763
12758
|
});
|
|
12764
|
-
class
|
|
12759
|
+
class hu extends uu(
|
|
12765
12760
|
it(Be(jt(Me)))
|
|
12766
12761
|
) {
|
|
12767
12762
|
static get template() {
|
|
@@ -12795,14 +12790,14 @@ class pu extends du(
|
|
|
12795
12790
|
super.ready(), this.setAttribute("role", "dialog"), this._addListeners(), this._initControllers();
|
|
12796
12791
|
}
|
|
12797
12792
|
}
|
|
12798
|
-
ye(
|
|
12793
|
+
ye(hu);
|
|
12799
12794
|
/**
|
|
12800
12795
|
* @license
|
|
12801
12796
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
12802
12797
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12803
12798
|
*/
|
|
12804
|
-
const
|
|
12805
|
-
(o) => class extends
|
|
12799
|
+
const ks = Z(
|
|
12800
|
+
(o) => class extends to(bs(o)) {
|
|
12806
12801
|
static get properties() {
|
|
12807
12802
|
return {
|
|
12808
12803
|
/**
|
|
@@ -12959,14 +12954,14 @@ const Ps = Z(
|
|
|
12959
12954
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12960
12955
|
*/
|
|
12961
12956
|
const ui = /* @__PURE__ */ new WeakMap();
|
|
12962
|
-
function
|
|
12957
|
+
function pu(o) {
|
|
12963
12958
|
return ui.has(o) || ui.set(o, /* @__PURE__ */ new Set()), ui.get(o);
|
|
12964
12959
|
}
|
|
12965
|
-
function
|
|
12960
|
+
function fu(o, t) {
|
|
12966
12961
|
const e = document.createElement("style");
|
|
12967
12962
|
e.textContent = o, t === document ? document.head.appendChild(e) : t.insertBefore(e, t.firstChild);
|
|
12968
12963
|
}
|
|
12969
|
-
const
|
|
12964
|
+
const mu = Z(
|
|
12970
12965
|
(o) => class extends o {
|
|
12971
12966
|
/**
|
|
12972
12967
|
* List of styles to insert into root.
|
|
@@ -12981,9 +12976,9 @@ const _u = Z(
|
|
|
12981
12976
|
}
|
|
12982
12977
|
/** @private */
|
|
12983
12978
|
__applySlotStyles() {
|
|
12984
|
-
const e = this.getRootNode(), i =
|
|
12979
|
+
const e = this.getRootNode(), i = pu(e);
|
|
12985
12980
|
this.slotStyles.forEach((r) => {
|
|
12986
|
-
i.has(r) || (
|
|
12981
|
+
i.has(r) || (fu(r, e), i.add(r));
|
|
12987
12982
|
});
|
|
12988
12983
|
}
|
|
12989
12984
|
}
|
|
@@ -12993,7 +12988,7 @@ const _u = Z(
|
|
|
12993
12988
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
12994
12989
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12995
12990
|
*/
|
|
12996
|
-
const
|
|
12991
|
+
const Ps = Z(
|
|
12997
12992
|
(o) => class extends o {
|
|
12998
12993
|
static get properties() {
|
|
12999
12994
|
return {
|
|
@@ -13197,7 +13192,7 @@ const Ds = Z(
|
|
|
13197
13192
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13198
13193
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13199
13194
|
*/
|
|
13200
|
-
const
|
|
13195
|
+
const _u = (o) => class extends Ps(Ut(o)) {
|
|
13201
13196
|
static get properties() {
|
|
13202
13197
|
return {
|
|
13203
13198
|
/**
|
|
@@ -13242,7 +13237,7 @@ const gu = (o) => class extends Ds(Ut(o)) {
|
|
|
13242
13237
|
* @protected
|
|
13243
13238
|
*/
|
|
13244
13239
|
_onClearButtonMouseDown(e) {
|
|
13245
|
-
e.preventDefault(),
|
|
13240
|
+
e.preventDefault(), zl || this.inputElement.focus();
|
|
13246
13241
|
}
|
|
13247
13242
|
/**
|
|
13248
13243
|
* Override an event listener inherited from `KeydownMixin` to clear on Esc.
|
|
@@ -13273,48 +13268,48 @@ const gu = (o) => class extends Ds(Ut(o)) {
|
|
|
13273
13268
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13274
13269
|
*/
|
|
13275
13270
|
const di = /* @__PURE__ */ new Map();
|
|
13276
|
-
function
|
|
13271
|
+
function no(o) {
|
|
13277
13272
|
return di.has(o) || di.set(o, /* @__PURE__ */ new WeakMap()), di.get(o);
|
|
13278
13273
|
}
|
|
13279
|
-
function
|
|
13274
|
+
function Ds(o, t) {
|
|
13280
13275
|
o && o.removeAttribute(t);
|
|
13281
13276
|
}
|
|
13282
|
-
function
|
|
13277
|
+
function Ts(o, t) {
|
|
13283
13278
|
if (!o || !t)
|
|
13284
13279
|
return;
|
|
13285
|
-
const e =
|
|
13280
|
+
const e = no(t);
|
|
13286
13281
|
if (e.has(o))
|
|
13287
13282
|
return;
|
|
13288
13283
|
const i = Ji(o.getAttribute(t));
|
|
13289
13284
|
e.set(o, new Set(i));
|
|
13290
13285
|
}
|
|
13291
|
-
function
|
|
13292
|
-
if (!o
|
|
13286
|
+
function gu(o, t) {
|
|
13287
|
+
if (!o)
|
|
13293
13288
|
return;
|
|
13294
|
-
const e =
|
|
13295
|
-
!i || i.size === 0 ? o.removeAttribute(t) :
|
|
13289
|
+
const e = no(t), i = e.get(o);
|
|
13290
|
+
!i || i.size === 0 ? o.removeAttribute(t) : as(o, t, Vt(i)), e.delete(o);
|
|
13296
13291
|
}
|
|
13297
13292
|
function hi(o, t, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
13298
13293
|
if (!o || !t)
|
|
13299
13294
|
return;
|
|
13300
|
-
const { newId: i, oldId: r, fromUser: s } = e, n =
|
|
13295
|
+
const { newId: i, oldId: r, fromUser: s } = e, n = no(t), a = n.get(o);
|
|
13301
13296
|
if (!s && a) {
|
|
13302
13297
|
r && a.delete(r), i && a.add(i);
|
|
13303
13298
|
return;
|
|
13304
13299
|
}
|
|
13305
|
-
s && (a ? i || n.delete(o) :
|
|
13300
|
+
s && (a ? i || n.delete(o) : Ts(o, t), Ds(o, t)), Wl(o, t, r);
|
|
13306
13301
|
const l = i || Vt(a);
|
|
13307
|
-
l &&
|
|
13302
|
+
l && as(o, t, l);
|
|
13308
13303
|
}
|
|
13309
|
-
function
|
|
13310
|
-
|
|
13304
|
+
function bu(o, t) {
|
|
13305
|
+
Ts(o, t), Ds(o, t);
|
|
13311
13306
|
}
|
|
13312
13307
|
/**
|
|
13313
13308
|
* @license
|
|
13314
13309
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13315
13310
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13316
13311
|
*/
|
|
13317
|
-
class
|
|
13312
|
+
class vu {
|
|
13318
13313
|
constructor(t) {
|
|
13319
13314
|
this.host = t, this.__required = !1;
|
|
13320
13315
|
}
|
|
@@ -13387,7 +13382,7 @@ class yu {
|
|
|
13387
13382
|
* @private
|
|
13388
13383
|
* */
|
|
13389
13384
|
__setAriaLabelToAttribute(t) {
|
|
13390
|
-
this.__target && (t ? (
|
|
13385
|
+
this.__target && (t ? (bu(this.__target, "aria-labelledby"), this.__target.setAttribute("aria-label", t)) : this.__label && (gu(this.__target, "aria-labelledby"), this.__target.removeAttribute("aria-label")));
|
|
13391
13386
|
}
|
|
13392
13387
|
/**
|
|
13393
13388
|
* @param {string | null | undefined} labelId
|
|
@@ -13433,9 +13428,9 @@ be.style.clip = "rect(0px, 0px, 0px, 0px)";
|
|
|
13433
13428
|
be.setAttribute("aria-live", "polite");
|
|
13434
13429
|
document.body.appendChild(be);
|
|
13435
13430
|
let Pt;
|
|
13436
|
-
function
|
|
13431
|
+
function yu(o, t = {}) {
|
|
13437
13432
|
const e = t.mode || "polite", i = t.timeout === void 0 ? 150 : t.timeout;
|
|
13438
|
-
e === "alert" ? (be.removeAttribute("aria-live"), be.removeAttribute("role"), Pt = Qe.debounce(Pt,
|
|
13433
|
+
e === "alert" ? (be.removeAttribute("aria-live"), be.removeAttribute("role"), Pt = Qe.debounce(Pt, lc, () => {
|
|
13439
13434
|
be.setAttribute("role", "alert");
|
|
13440
13435
|
})) : (Pt && Pt.cancel(), be.removeAttribute("role"), be.setAttribute("aria-live", e)), be.textContent = "", setTimeout(() => {
|
|
13441
13436
|
be.textContent = o;
|
|
@@ -13446,7 +13441,7 @@ function xu(o, t = {}) {
|
|
|
13446
13441
|
* Copyright (c) 2022 - 2024 Vaadin Ltd.
|
|
13447
13442
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13448
13443
|
*/
|
|
13449
|
-
class
|
|
13444
|
+
class ao extends Fe {
|
|
13450
13445
|
constructor(t, e, i, r = {}) {
|
|
13451
13446
|
super(t, e, i, qt(Wt({}, r), { useUniqueId: !0 }));
|
|
13452
13447
|
}
|
|
@@ -13561,7 +13556,7 @@ class lo extends Fe {
|
|
|
13561
13556
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13562
13557
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13563
13558
|
*/
|
|
13564
|
-
class
|
|
13559
|
+
class xu extends ao {
|
|
13565
13560
|
constructor(t) {
|
|
13566
13561
|
super(t, "error-message", "div");
|
|
13567
13562
|
}
|
|
@@ -13635,7 +13630,7 @@ class wu extends lo {
|
|
|
13635
13630
|
*/
|
|
13636
13631
|
updateDefaultNode(t) {
|
|
13637
13632
|
const { errorMessage: e, invalid: i } = this, r = !!(i && e && e.trim() !== "");
|
|
13638
|
-
t && (t.textContent = r ? e : "", t.hidden = !r, r &&
|
|
13633
|
+
t && (t.textContent = r ? e : "", t.hidden = !r, r && yu(e, { mode: "assertive" })), super.updateDefaultNode(t);
|
|
13639
13634
|
}
|
|
13640
13635
|
}
|
|
13641
13636
|
/**
|
|
@@ -13643,7 +13638,7 @@ class wu extends lo {
|
|
|
13643
13638
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13644
13639
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13645
13640
|
*/
|
|
13646
|
-
class
|
|
13641
|
+
class wu extends ao {
|
|
13647
13642
|
constructor(t) {
|
|
13648
13643
|
super(t, "helper", null);
|
|
13649
13644
|
}
|
|
@@ -13698,7 +13693,7 @@ class Eu extends lo {
|
|
|
13698
13693
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13699
13694
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13700
13695
|
*/
|
|
13701
|
-
class
|
|
13696
|
+
class Eu extends ao {
|
|
13702
13697
|
constructor(t) {
|
|
13703
13698
|
super(t, "label", "label");
|
|
13704
13699
|
}
|
|
@@ -13751,7 +13746,7 @@ class Su extends lo {
|
|
|
13751
13746
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13752
13747
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13753
13748
|
*/
|
|
13754
|
-
const
|
|
13749
|
+
const Su = Z(
|
|
13755
13750
|
(o) => class extends it(o) {
|
|
13756
13751
|
static get properties() {
|
|
13757
13752
|
return {
|
|
@@ -13766,7 +13761,7 @@ const Cu = Z(
|
|
|
13766
13761
|
};
|
|
13767
13762
|
}
|
|
13768
13763
|
constructor() {
|
|
13769
|
-
super(), this._labelController = new
|
|
13764
|
+
super(), this._labelController = new Eu(this), this._labelController.addEventListener("slot-content-changed", (e) => {
|
|
13770
13765
|
this.toggleAttribute("has-label", e.detail.hasContent);
|
|
13771
13766
|
});
|
|
13772
13767
|
}
|
|
@@ -13794,7 +13789,7 @@ const Cu = Z(
|
|
|
13794
13789
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13795
13790
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13796
13791
|
*/
|
|
13797
|
-
const
|
|
13792
|
+
const Ms = Z(
|
|
13798
13793
|
(o) => class extends o {
|
|
13799
13794
|
static get properties() {
|
|
13800
13795
|
return {
|
|
@@ -13866,7 +13861,7 @@ const Os = Z(
|
|
|
13866
13861
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13867
13862
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13868
13863
|
*/
|
|
13869
|
-
const
|
|
13864
|
+
const Cu = (o) => class extends Ms(Su(it(o))) {
|
|
13870
13865
|
static get properties() {
|
|
13871
13866
|
return {
|
|
13872
13867
|
/**
|
|
@@ -13916,7 +13911,7 @@ const Au = (o) => class extends Os(Cu(it(o))) {
|
|
|
13916
13911
|
return ["_invalidChanged(invalid)", "_requiredChanged(required)"];
|
|
13917
13912
|
}
|
|
13918
13913
|
constructor() {
|
|
13919
|
-
super(), this._fieldAriaController = new
|
|
13914
|
+
super(), this._fieldAriaController = new vu(this), this._helperController = new wu(this), this._errorController = new xu(this), this._errorController.addEventListener("slot-content-changed", (e) => {
|
|
13920
13915
|
this.toggleAttribute("has-error-message", e.detail.hasContent);
|
|
13921
13916
|
}), this._labelController.addEventListener("slot-content-changed", (e) => {
|
|
13922
13917
|
const { hasContent: i, node: r } = e.detail;
|
|
@@ -14007,7 +14002,7 @@ const Au = (o) => class extends Os(Cu(it(o))) {
|
|
|
14007
14002
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14008
14003
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14009
14004
|
*/
|
|
14010
|
-
const
|
|
14005
|
+
const Au = Z(
|
|
14011
14006
|
(o) => class extends o {
|
|
14012
14007
|
static get properties() {
|
|
14013
14008
|
return {
|
|
@@ -14088,8 +14083,8 @@ const ku = Z(
|
|
|
14088
14083
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14089
14084
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14090
14085
|
*/
|
|
14091
|
-
const
|
|
14092
|
-
(o) => class extends
|
|
14086
|
+
const Os = Z(
|
|
14087
|
+
(o) => class extends Au(Ms(Ps(o))) {
|
|
14093
14088
|
/**
|
|
14094
14089
|
* An array of attributes which participate in the input validation.
|
|
14095
14090
|
* Changing these attributes will cause the input to re-validate.
|
|
@@ -14173,8 +14168,8 @@ const Is = Z(
|
|
|
14173
14168
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14174
14169
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14175
14170
|
*/
|
|
14176
|
-
const
|
|
14177
|
-
|
|
14171
|
+
const ku = (o) => class extends mu(
|
|
14172
|
+
ks(Os(Cu(_u(Ut(o)))))
|
|
14178
14173
|
) {
|
|
14179
14174
|
static get properties() {
|
|
14180
14175
|
return {
|
|
@@ -14360,7 +14355,7 @@ const Pu = (o) => class extends _u(
|
|
|
14360
14355
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14361
14356
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14362
14357
|
*/
|
|
14363
|
-
class
|
|
14358
|
+
class Pu extends Fe {
|
|
14364
14359
|
constructor(t, e, i = {}) {
|
|
14365
14360
|
const { uniqueIdPrefix: r } = i;
|
|
14366
14361
|
super(t, "input", "input", {
|
|
@@ -14377,7 +14372,7 @@ class Du extends Fe {
|
|
|
14377
14372
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14378
14373
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14379
14374
|
*/
|
|
14380
|
-
class
|
|
14375
|
+
class Du {
|
|
14381
14376
|
constructor(t, e) {
|
|
14382
14377
|
this.input = t, this.__preventDuplicateLabelClick = this.__preventDuplicateLabelClick.bind(this), e.addEventListener("slot-content-changed", (i) => {
|
|
14383
14378
|
this.__initLabel(i.detail.node);
|
|
@@ -14410,7 +14405,7 @@ class Tu {
|
|
|
14410
14405
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14411
14406
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14412
14407
|
*/
|
|
14413
|
-
const
|
|
14408
|
+
const Tu = z`
|
|
14414
14409
|
[part='clear-button'] {
|
|
14415
14410
|
display: none;
|
|
14416
14411
|
cursor: default;
|
|
@@ -14429,7 +14424,7 @@ const Mu = z`
|
|
|
14429
14424
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14430
14425
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14431
14426
|
*/
|
|
14432
|
-
const
|
|
14427
|
+
const Mu = z`
|
|
14433
14428
|
:host {
|
|
14434
14429
|
display: inline-flex;
|
|
14435
14430
|
outline: none;
|
|
@@ -14469,7 +14464,7 @@ const Ou = z`
|
|
|
14469
14464
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14470
14465
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14471
14466
|
*/
|
|
14472
|
-
const
|
|
14467
|
+
const Ou = z`
|
|
14473
14468
|
[class$='container'] {
|
|
14474
14469
|
display: flex;
|
|
14475
14470
|
flex-direction: column;
|
|
@@ -14483,13 +14478,13 @@ const Iu = z`
|
|
|
14483
14478
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14484
14479
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14485
14480
|
*/
|
|
14486
|
-
const
|
|
14481
|
+
const Iu = [Mu, Ou, Tu];
|
|
14487
14482
|
/**
|
|
14488
14483
|
* @license
|
|
14489
14484
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
14490
14485
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14491
14486
|
*/
|
|
14492
|
-
const
|
|
14487
|
+
const Nu = (o) => class extends o {
|
|
14493
14488
|
static get properties() {
|
|
14494
14489
|
return {
|
|
14495
14490
|
/**
|
|
@@ -14536,7 +14531,7 @@ const zu = (o) => class extends o {
|
|
|
14536
14531
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14537
14532
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14538
14533
|
*/
|
|
14539
|
-
class
|
|
14534
|
+
class zu {
|
|
14540
14535
|
/**
|
|
14541
14536
|
* @param {{ inputElement?: HTMLElement; opened: boolean } & HTMLElement} host
|
|
14542
14537
|
*/
|
|
@@ -14555,8 +14550,8 @@ class Fu {
|
|
|
14555
14550
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
14556
14551
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14557
14552
|
*/
|
|
14558
|
-
const
|
|
14559
|
-
it(
|
|
14553
|
+
const Fu = (o) => class extends Nu(
|
|
14554
|
+
it(ks(Os(Ut(o))))
|
|
14560
14555
|
) {
|
|
14561
14556
|
static get properties() {
|
|
14562
14557
|
return {
|
|
@@ -14761,7 +14756,7 @@ const Lu = (o) => class extends zu(
|
|
|
14761
14756
|
if (i.length === 3) {
|
|
14762
14757
|
if (n = parseInt(i[0]) - 1, s = parseInt(i[1]), a = parseInt(i[2]), i[2].length < 3 && a >= 0) {
|
|
14763
14758
|
const l = this.referenceDate ? lt(this.referenceDate) : /* @__PURE__ */ new Date();
|
|
14764
|
-
a =
|
|
14759
|
+
a = Fc(l, a, n, s);
|
|
14765
14760
|
}
|
|
14766
14761
|
} else
|
|
14767
14762
|
i.length === 2 ? (n = parseInt(i[0]) - 1, s = parseInt(i[1])) : i.length === 1 && (s = parseInt(i[0]));
|
|
@@ -14835,7 +14830,7 @@ const Lu = (o) => class extends zu(
|
|
|
14835
14830
|
/** @private */
|
|
14836
14831
|
_ios: {
|
|
14837
14832
|
type: Boolean,
|
|
14838
|
-
value:
|
|
14833
|
+
value: rs
|
|
14839
14834
|
},
|
|
14840
14835
|
/** @private */
|
|
14841
14836
|
_focusOverlayOnOpen: Boolean,
|
|
@@ -14935,10 +14930,10 @@ const Lu = (o) => class extends zu(
|
|
|
14935
14930
|
/** @protected */
|
|
14936
14931
|
ready() {
|
|
14937
14932
|
super.ready(), this.addEventListener("click", this._boundOnClick), this.addController(
|
|
14938
|
-
new
|
|
14933
|
+
new As(this._fullscreenMediaQuery, (i) => {
|
|
14939
14934
|
this._fullscreen = i;
|
|
14940
14935
|
})
|
|
14941
|
-
), this.addController(new
|
|
14936
|
+
), this.addController(new zu(this));
|
|
14942
14937
|
const e = this.$.overlay;
|
|
14943
14938
|
this._overlayElement = e, e.renderer = this._boundOverlayRenderer, this.addEventListener("mousedown", () => this.__bringToFront()), this.addEventListener("touchstart", () => this.__bringToFront());
|
|
14944
14939
|
}
|
|
@@ -14994,7 +14989,7 @@ const Lu = (o) => class extends zu(
|
|
|
14994
14989
|
*/
|
|
14995
14990
|
__formatDate(e) {
|
|
14996
14991
|
if (this.i18n.formatDate)
|
|
14997
|
-
return this.i18n.formatDate(
|
|
14992
|
+
return this.i18n.formatDate(io(e));
|
|
14998
14993
|
}
|
|
14999
14994
|
/**
|
|
15000
14995
|
* Returns true if the current input value satisfies all constraints (if any)
|
|
@@ -15096,7 +15091,7 @@ const Lu = (o) => class extends zu(
|
|
|
15096
15091
|
}
|
|
15097
15092
|
/** @private */
|
|
15098
15093
|
_formatISO(e) {
|
|
15099
|
-
return
|
|
15094
|
+
return $c(e);
|
|
15100
15095
|
}
|
|
15101
15096
|
/** @protected */
|
|
15102
15097
|
_inputElementChanged(e) {
|
|
@@ -15162,12 +15157,12 @@ const Lu = (o) => class extends zu(
|
|
|
15162
15157
|
const s = this._nativeInput;
|
|
15163
15158
|
this._noInput && s && (s.blur(), this._overlayContent.focusDateElement());
|
|
15164
15159
|
const n = this._noInput ? e : [s, e];
|
|
15165
|
-
this.__showOthers =
|
|
15160
|
+
this.__showOthers = ss(n);
|
|
15166
15161
|
}
|
|
15167
15162
|
/** @private */
|
|
15168
15163
|
_getInitialPosition() {
|
|
15169
15164
|
const e = lt(this.initialPosition), i = this._selectedDate || this._overlayContent.initialPosition || e || /* @__PURE__ */ new Date();
|
|
15170
|
-
return e || et(i, this._minDate, this._maxDate, this.isDateDisabled) ? i : this._minDate || this._maxDate ?
|
|
15165
|
+
return e || et(i, this._minDate, this._maxDate, this.isDateDisabled) ? i : this._minDate || this._maxDate ? vs(i, [this._minDate, this._maxDate]) : /* @__PURE__ */ new Date();
|
|
15171
15166
|
}
|
|
15172
15167
|
/**
|
|
15173
15168
|
* Tries to parse the input element's value as a date. If the input value
|
|
@@ -15328,7 +15323,7 @@ const Lu = (o) => class extends zu(
|
|
|
15328
15323
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
15329
15324
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15330
15325
|
*/
|
|
15331
|
-
const
|
|
15326
|
+
const Lu = z`
|
|
15332
15327
|
:host([opened]) {
|
|
15333
15328
|
pointer-events: auto;
|
|
15334
15329
|
}
|
|
@@ -15347,8 +15342,8 @@ const $u = z`
|
|
|
15347
15342
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
15348
15343
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15349
15344
|
*/
|
|
15350
|
-
K("vaadin-date-picker", [
|
|
15351
|
-
class
|
|
15345
|
+
K("vaadin-date-picker", [Iu, Lu], { moduleId: "vaadin-date-picker-styles" });
|
|
15346
|
+
class $u extends Fu(ku(Be(us(Me)))) {
|
|
15352
15347
|
static get is() {
|
|
15353
15348
|
return "vaadin-date-picker";
|
|
15354
15349
|
}
|
|
@@ -15408,7 +15403,7 @@ class Ru extends Lu(Pu(Be(ds(Me)))) {
|
|
|
15408
15403
|
/** @protected */
|
|
15409
15404
|
ready() {
|
|
15410
15405
|
super.ready(), this.addController(
|
|
15411
|
-
new
|
|
15406
|
+
new Pu(
|
|
15412
15407
|
this,
|
|
15413
15408
|
(e) => {
|
|
15414
15409
|
this._setInputElement(e), this._setFocusElement(e), this.stateTarget = e, this.ariaTarget = e;
|
|
@@ -15420,7 +15415,7 @@ class Ru extends Lu(Pu(Be(ds(Me)))) {
|
|
|
15420
15415
|
uniqueIdPrefix: "search-input"
|
|
15421
15416
|
}
|
|
15422
15417
|
)
|
|
15423
|
-
), this.addController(new
|
|
15418
|
+
), this.addController(new Du(this.inputElement, this._labelController)), this._tooltipController = new hs(this), this.addController(this._tooltipController), this._tooltipController.setPosition("top"), this._tooltipController.setAriaTarget(this.inputElement), this._tooltipController.setShouldShow((e) => !e.opened), this.shadowRoot.querySelector('[part="toggle-button"]').addEventListener("mousedown", (e) => e.preventDefault()), this.$.overlay.addEventListener("vaadin-overlay-close", this._onVaadinOverlayClose.bind(this));
|
|
15424
15419
|
}
|
|
15425
15420
|
/** @private */
|
|
15426
15421
|
_onVaadinOverlayClose(t) {
|
|
@@ -15436,8 +15431,8 @@ class Ru extends Lu(Pu(Be(ds(Me)))) {
|
|
|
15436
15431
|
super._openedChanged(t), this.$.overlay.positionTarget = this.shadowRoot.querySelector('[part="input-field"]'), this.$.overlay.noVerticalOverlap = !0;
|
|
15437
15432
|
}
|
|
15438
15433
|
}
|
|
15439
|
-
ye(
|
|
15440
|
-
var
|
|
15434
|
+
ye($u);
|
|
15435
|
+
var Is = { exports: {} };
|
|
15441
15436
|
(function(o, t) {
|
|
15442
15437
|
(function(e, i) {
|
|
15443
15438
|
o.exports = i();
|
|
@@ -15726,16 +15721,16 @@ var Ns = { exports: {} };
|
|
|
15726
15721
|
return T(1e3 * x);
|
|
15727
15722
|
}, T.en = te[L], T.Ls = te, T.p = {}, T;
|
|
15728
15723
|
});
|
|
15729
|
-
})(
|
|
15730
|
-
var
|
|
15731
|
-
const pi = /* @__PURE__ */
|
|
15732
|
-
function
|
|
15733
|
-
|
|
15724
|
+
})(Is);
|
|
15725
|
+
var Ru = Is.exports;
|
|
15726
|
+
const pi = /* @__PURE__ */ Bs(Ru);
|
|
15727
|
+
function Qo(o, t) {
|
|
15728
|
+
js(o, t);
|
|
15734
15729
|
}
|
|
15735
|
-
function
|
|
15736
|
-
|
|
15730
|
+
function Bu(o) {
|
|
15731
|
+
Ys.set(o);
|
|
15737
15732
|
}
|
|
15738
|
-
const
|
|
15733
|
+
const er = {
|
|
15739
15734
|
en: {
|
|
15740
15735
|
titleSelfExclusion: "Self-Exclusion",
|
|
15741
15736
|
selfExclusionText: "<p>While self-excluded, access to your account will be entirely restricted.</br>Self-exclusion can only be lifted after the period that you selected has passed by communicating with Customer Support, which will be subject to review and a cooling-off period. </br> Alternatively, you can choose to take a 'time out' (a break of up to 6 weeks) from our services via the '<a href='{baseurl}/{lang}/account/timeout'>Time out</a>' option. </br> If you would prefer just to close your account, '<a href='{baseurl}/{lang}/account/account-closure'>Account Closure</a>' you can choose to do so via the option.</br> We'd recommend you also read our '<a href='{baseurl}/{lang}/page/responsible-gambling'>Responsible Gambling</a>' help pages for further advice should you need it.",
|
|
@@ -16023,14 +16018,14 @@ const tr = {
|
|
|
16023
16018
|
InvalidSession: "Oturum süresi doldu."
|
|
16024
16019
|
}
|
|
16025
16020
|
};
|
|
16026
|
-
function
|
|
16027
|
-
|
|
16021
|
+
function Hu(o) {
|
|
16022
|
+
qs(o, "svelte-m7h861", '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:20px;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%;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, 20px);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, 20px) var(--emw--border-radius-medium, 20px)}.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:300px;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-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-gray-150, #828282) 80%, black 20%), var(--emw--color-gray-150, #828282), color-mix(in srgb, var(--emw--color-gray-150, #828282) 80%, white 30%));border:2px solid var(--emw--color-black, #000000);border-radius:50px;padding:30px 0;font-size:var(--emw--font-size-large, 20px);color:var(--emw--button-text-color, #FFFFFF)}.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}}');
|
|
16028
16023
|
}
|
|
16029
|
-
function
|
|
16024
|
+
function tr(o, t, e) {
|
|
16030
16025
|
const i = o.slice();
|
|
16031
16026
|
return i[53] = t[e], i;
|
|
16032
16027
|
}
|
|
16033
|
-
function
|
|
16028
|
+
function ju(o) {
|
|
16034
16029
|
let t, e, i, r, s = (
|
|
16035
16030
|
/*$_*/
|
|
16036
16031
|
o[20]("titleSelfExclusion") + ""
|
|
@@ -16064,29 +16059,29 @@ function Yu(o) {
|
|
|
16064
16059
|
o[20]("save") + ""
|
|
16065
16060
|
), $, R, Y, X, ue, oe, ge, Q = (
|
|
16066
16061
|
/*isMobile*/
|
|
16067
|
-
o[21] &&
|
|
16068
|
-
), V =
|
|
16062
|
+
o[21] && Vu(o)
|
|
16063
|
+
), V = ho(
|
|
16069
16064
|
/*selfExclusionPeriods*/
|
|
16070
16065
|
o[9]
|
|
16071
16066
|
), B = [];
|
|
16072
16067
|
for (let S = 0; S < V.length; S += 1)
|
|
16073
|
-
B[S] =
|
|
16068
|
+
B[S] = ir(tr(o, V, S));
|
|
16074
16069
|
let W = (
|
|
16075
16070
|
/*isUntilDate*/
|
|
16076
|
-
o[16] &&
|
|
16071
|
+
o[16] && or(o)
|
|
16077
16072
|
);
|
|
16078
16073
|
function xe(S, H) {
|
|
16079
16074
|
return (
|
|
16080
16075
|
/*isPermanentSelfExclusion*/
|
|
16081
|
-
S[15] ?
|
|
16076
|
+
S[15] ? qu : (
|
|
16082
16077
|
/*isDateSelected*/
|
|
16083
|
-
S[17] ?
|
|
16078
|
+
S[17] ? Uu : Wu
|
|
16084
16079
|
)
|
|
16085
16080
|
);
|
|
16086
16081
|
}
|
|
16087
16082
|
let Ye = xe(o), fe = Ye(o), we = (
|
|
16088
16083
|
/*showConfirmationModal*/
|
|
16089
|
-
o[22] &&
|
|
16084
|
+
o[22] && Ku(o)
|
|
16090
16085
|
);
|
|
16091
16086
|
return {
|
|
16092
16087
|
c() {
|
|
@@ -16096,7 +16091,7 @@ function Yu(o) {
|
|
|
16096
16091
|
), q = U(), j = A("div"), L = A("div"), te = A("p"), G = pe(_e), J = U(), T = Ce("svg"), O = Ce("g"), ce = Ce("path"), ke = U(), x = A("div");
|
|
16097
16092
|
for (let S = 0; S < B.length; S += 1)
|
|
16098
16093
|
B[S].c();
|
|
16099
|
-
v = U(), W && W.c(), f = U(), y = A("div"), fe.c(), g = U(), E = A("div"), w = A("button"), $ = pe(N), X = U(), we && we.c(), ue =
|
|
16094
|
+
v = U(), W && W.c(), f = U(), y = A("div"), fe.c(), g = U(), E = A("div"), w = A("button"), $ = pe(N), X = U(), we && we.c(), ue = Qs(), C(r, "class", "PlayerSelfExclusionTitle " + /*isMobile*/
|
|
16100
16095
|
(o[21] ? "PlayerSelfExclusionTitleNone" : "")), C(c, "class", "SelfExclusionDescriptionText"), C(I, "href", P = "mailto:" + /*supportemail*/
|
|
16101
16096
|
o[2]), C(h, "class", "SelfExclusionDescriptionText"), C(l, "class", "SelfExclusionDescription " + /*isMobile*/
|
|
16102
16097
|
(o[21] ? "SelfExclusionDescriptionMobile" : "")), C(ce, "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"), C(ce, "stroke-linecap", "round"), C(T, "xmlns", "http://www.w3.org/2000/svg"), C(T, "xmlns:xlink", "http://www.w3.org/1999/xlink"), C(T, "version", "1.1"), C(T, "viewBox", "0 0 100 100"), C(T, "xml:space", "preserve"), C(T, "class", "SelfExclusionConfigIcon"), Ve(
|
|
@@ -16123,10 +16118,10 @@ function Yu(o) {
|
|
|
16123
16118
|
(o[21] ? "SelfExclusionWrapperMobile" : "")), C(t, "class", "SelfExclusionContainer");
|
|
16124
16119
|
},
|
|
16125
16120
|
m(S, H) {
|
|
16126
|
-
|
|
16121
|
+
le(S, t, H), m(t, e), Q && Q.m(e, null), m(e, i), m(e, r), m(r, n), m(e, a), m(e, l), m(l, c), c.innerHTML = u, m(l, d), m(l, h), m(h, b), m(h, M), m(h, I), m(I, D), m(e, q), m(e, j), m(j, L), m(L, te), m(te, G), m(L, J), m(L, T), m(T, O), m(O, ce), m(j, ke), m(j, x);
|
|
16127
16122
|
for (let _ = 0; _ < B.length; _ += 1)
|
|
16128
16123
|
B[_] && B[_].m(x, null);
|
|
16129
|
-
m(e, v), W && W.m(e, null), m(e, f), m(e, y), fe.m(y, null), m(e, g), m(e, E), m(E, w), m(w, $),
|
|
16124
|
+
m(e, v), W && W.m(e, null), m(e, f), m(e, y), fe.m(y, null), m(e, g), m(e, E), m(E, w), m(w, $), le(S, X, H), we && we.m(S, H), le(S, ue, H), oe || (ge = [
|
|
16130
16125
|
Mt(
|
|
16131
16126
|
L,
|
|
16132
16127
|
"click",
|
|
@@ -16184,14 +16179,14 @@ function Yu(o) {
|
|
|
16184
16179
|
), H[0] & /*selectPeriod, selfExclusionPeriods, $_*/
|
|
16185
16180
|
17826304
|
|
16186
16181
|
) {
|
|
16187
|
-
V =
|
|
16182
|
+
V = ho(
|
|
16188
16183
|
/*selfExclusionPeriods*/
|
|
16189
16184
|
S[9]
|
|
16190
16185
|
);
|
|
16191
16186
|
let _;
|
|
16192
16187
|
for (_ = 0; _ < V.length; _ += 1) {
|
|
16193
|
-
const re =
|
|
16194
|
-
B[_] ? B[_].p(re, H) : (B[_] =
|
|
16188
|
+
const re = tr(S, V, _);
|
|
16189
|
+
B[_] ? B[_].p(re, H) : (B[_] = ir(re), B[_].c(), B[_].m(x, null));
|
|
16195
16190
|
}
|
|
16196
16191
|
for (; _ < B.length; _ += 1)
|
|
16197
16192
|
B[_].d(1);
|
|
@@ -16210,7 +16205,7 @@ function Yu(o) {
|
|
|
16210
16205
|
/*isPeriodDropDownToggled*/
|
|
16211
16206
|
S[18]
|
|
16212
16207
|
), /*isUntilDate*/
|
|
16213
|
-
S[16] ? W ? W.p(S, H) : (W =
|
|
16208
|
+
S[16] ? W ? W.p(S, H) : (W = or(S), W.c(), W.m(e, f)) : W && (W.d(1), W = null), Ye === (Ye = xe(S)) && fe ? fe.p(S, H) : (fe.d(1), fe = Ye(S), fe && (fe.c(), fe.m(y, null))), H[0] & /*$_*/
|
|
16214
16209
|
1048576 && N !== (N = /*$_*/
|
|
16215
16210
|
S[20]("save") + "") && me($, N), H[0] & /*isDateSelected*/
|
|
16216
16211
|
131072 && R !== (R = "SelfExclusionSave " + /*isDateSelected*/
|
|
@@ -16220,16 +16215,16 @@ function Yu(o) {
|
|
|
16220
16215
|
S[22] && we.p(S, H);
|
|
16221
16216
|
},
|
|
16222
16217
|
d(S) {
|
|
16223
|
-
S && (
|
|
16218
|
+
S && (ae(t), ae(X), ae(ue)), Q && Q.d(), Xs(B, S), W && W.d(), fe.d(), we && we.d(S), oe = !1, Zs(ge);
|
|
16224
16219
|
}
|
|
16225
16220
|
};
|
|
16226
16221
|
}
|
|
16227
|
-
function
|
|
16222
|
+
function Yu(o) {
|
|
16228
16223
|
let t, e, i, r, s, n, a, l, c, u, d, h, p, b, M, I, D, P, q, j, L;
|
|
16229
16224
|
function te(J, T) {
|
|
16230
16225
|
return (
|
|
16231
16226
|
/*isMobile*/
|
|
16232
|
-
J[21] ?
|
|
16227
|
+
J[21] ? Ju : Gu
|
|
16233
16228
|
);
|
|
16234
16229
|
}
|
|
16235
16230
|
let G = te(o)(o);
|
|
@@ -16290,15 +16285,15 @@ function Vu(o) {
|
|
|
16290
16285
|
(o[21] ? "SelfExclusionWrapperMobile" : "")), C(t, "class", "SelfExclusionContainer");
|
|
16291
16286
|
},
|
|
16292
16287
|
m(J, T) {
|
|
16293
|
-
|
|
16288
|
+
le(J, t, T), m(t, e), G.m(e, null), m(e, i), m(e, r), m(r, s), m(r, n), m(r, a), m(r, l), m(r, c), m(r, u), m(r, d), m(e, h), m(e, p), m(p, b), m(p, M), m(p, I), m(p, D), m(p, P), m(e, q), m(e, j), m(j, L);
|
|
16294
16289
|
},
|
|
16295
16290
|
p: fi,
|
|
16296
16291
|
d(J) {
|
|
16297
|
-
J &&
|
|
16292
|
+
J && ae(t), G.d();
|
|
16298
16293
|
}
|
|
16299
16294
|
};
|
|
16300
16295
|
}
|
|
16301
|
-
function
|
|
16296
|
+
function Vu(o) {
|
|
16302
16297
|
let t, e, i, r, s, n, a, l, c, u, d = (
|
|
16303
16298
|
/*$_*/
|
|
16304
16299
|
o[20]("titleSelfExclusion") + ""
|
|
@@ -16308,7 +16303,7 @@ function Uu(o) {
|
|
|
16308
16303
|
t = A("div"), e = Ce("svg"), i = Ce("defs"), r = Ce("style"), s = pe(".aaa{fill:var(--emw--color-primary, #22B04E);}"), n = Ce("g"), a = Ce("g"), l = Ce("path"), c = U(), u = A("h2"), h = pe(d), C(l, "class", "aaa"), C(l, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), C(l, "transform", "translate(15 15) rotate(180)"), C(a, "transform", "translate(20 158)"), C(n, "transform", "translate(-20 -158)"), C(e, "xmlns", "http://www.w3.org/2000/svg"), C(e, "width", "15"), C(e, "height", "15"), C(e, "viewBox", "0 0 15 15"), C(u, "class", "PlayerSelfExclusionTitleMobile"), C(t, "class", "MenuReturnButton");
|
|
16309
16304
|
},
|
|
16310
16305
|
m(M, I) {
|
|
16311
|
-
|
|
16306
|
+
le(M, t, I), m(t, e), m(e, i), m(i, r), m(r, s), m(e, n), m(n, a), m(a, l), m(t, c), m(t, u), m(u, h), p || (b = Mt(
|
|
16312
16307
|
t,
|
|
16313
16308
|
"click",
|
|
16314
16309
|
/*click_handler*/
|
|
@@ -16321,11 +16316,11 @@ function Uu(o) {
|
|
|
16321
16316
|
M[20]("titleSelfExclusion") + "") && me(h, d);
|
|
16322
16317
|
},
|
|
16323
16318
|
d(M) {
|
|
16324
|
-
M &&
|
|
16319
|
+
M && ae(t), p = !1, b();
|
|
16325
16320
|
}
|
|
16326
16321
|
};
|
|
16327
16322
|
}
|
|
16328
|
-
function
|
|
16323
|
+
function ir(o) {
|
|
16329
16324
|
let t, e = (
|
|
16330
16325
|
/*$_*/
|
|
16331
16326
|
o[20](`${/*period*/
|
|
@@ -16345,7 +16340,7 @@ function or(o) {
|
|
|
16345
16340
|
t = A("div"), i = pe(e);
|
|
16346
16341
|
},
|
|
16347
16342
|
m(a, l) {
|
|
16348
|
-
|
|
16343
|
+
le(a, t, l), m(t, i), r || (s = Mt(t, "click", n), r = !0);
|
|
16349
16344
|
},
|
|
16350
16345
|
p(a, l) {
|
|
16351
16346
|
o = a, l[0] & /*$_, selfExclusionPeriods*/
|
|
@@ -16354,11 +16349,11 @@ function or(o) {
|
|
|
16354
16349
|
o[53].key}`) + "") && me(i, e);
|
|
16355
16350
|
},
|
|
16356
16351
|
d(a) {
|
|
16357
|
-
a &&
|
|
16352
|
+
a && ae(t), r = !1, s();
|
|
16358
16353
|
}
|
|
16359
16354
|
};
|
|
16360
16355
|
}
|
|
16361
|
-
function
|
|
16356
|
+
function or(o) {
|
|
16362
16357
|
let t, e, i = (
|
|
16363
16358
|
/*$_*/
|
|
16364
16359
|
o[20]("duration") + ""
|
|
@@ -16387,7 +16382,7 @@ function rr(o) {
|
|
|
16387
16382
|
(o[21] ? "SelfExclusionDateWrapperMobile" : ""));
|
|
16388
16383
|
},
|
|
16389
16384
|
m(p, b) {
|
|
16390
|
-
|
|
16385
|
+
le(p, t, b), m(t, e), m(e, r), m(t, s), m(t, n), m(n, l), m(n, c), m(n, u), m(t, d), m(t, h), o[36](h);
|
|
16391
16386
|
},
|
|
16392
16387
|
p(p, b) {
|
|
16393
16388
|
b[0] & /*$_*/
|
|
@@ -16415,11 +16410,11 @@ function rr(o) {
|
|
|
16415
16410
|
);
|
|
16416
16411
|
},
|
|
16417
16412
|
d(p) {
|
|
16418
|
-
p &&
|
|
16413
|
+
p && ae(t), o[36](null);
|
|
16419
16414
|
}
|
|
16420
16415
|
};
|
|
16421
16416
|
}
|
|
16422
|
-
function
|
|
16417
|
+
function Uu(o) {
|
|
16423
16418
|
let t, e, i = (
|
|
16424
16419
|
/*$_*/
|
|
16425
16420
|
o[20]("temporarySelfExclusion", {
|
|
@@ -16436,7 +16431,7 @@ function Wu(o) {
|
|
|
16436
16431
|
t = A("p"), e = A("strong"), r = pe(i), C(t, "class", "SelfExclusionDescriptionText");
|
|
16437
16432
|
},
|
|
16438
16433
|
m(s, n) {
|
|
16439
|
-
|
|
16434
|
+
le(s, t, n), m(t, e), m(e, r);
|
|
16440
16435
|
},
|
|
16441
16436
|
p(s, n) {
|
|
16442
16437
|
n[0] & /*$_, selfExclusionExpiryDate*/
|
|
@@ -16451,11 +16446,11 @@ function Wu(o) {
|
|
|
16451
16446
|
}) + "") && me(r, i);
|
|
16452
16447
|
},
|
|
16453
16448
|
d(s) {
|
|
16454
|
-
s &&
|
|
16449
|
+
s && ae(t);
|
|
16455
16450
|
}
|
|
16456
16451
|
};
|
|
16457
16452
|
}
|
|
16458
|
-
function
|
|
16453
|
+
function Wu(o) {
|
|
16459
16454
|
let t, e, i = (
|
|
16460
16455
|
/*$_*/
|
|
16461
16456
|
o[20]("noPeriodSelected") + ""
|
|
@@ -16465,7 +16460,7 @@ function qu(o) {
|
|
|
16465
16460
|
t = A("p"), e = A("strong"), r = pe(i), C(t, "class", "SelfExclusionDescriptionText");
|
|
16466
16461
|
},
|
|
16467
16462
|
m(s, n) {
|
|
16468
|
-
|
|
16463
|
+
le(s, t, n), m(t, e), m(e, r);
|
|
16469
16464
|
},
|
|
16470
16465
|
p(s, n) {
|
|
16471
16466
|
n[0] & /*$_*/
|
|
@@ -16473,11 +16468,11 @@ function qu(o) {
|
|
|
16473
16468
|
s[20]("noPeriodSelected") + "") && me(r, i);
|
|
16474
16469
|
},
|
|
16475
16470
|
d(s) {
|
|
16476
|
-
s &&
|
|
16471
|
+
s && ae(t);
|
|
16477
16472
|
}
|
|
16478
16473
|
};
|
|
16479
16474
|
}
|
|
16480
|
-
function
|
|
16475
|
+
function qu(o) {
|
|
16481
16476
|
let t, e, i = (
|
|
16482
16477
|
/*$_*/
|
|
16483
16478
|
o[20]("permanentSelfExclusion") + ""
|
|
@@ -16487,7 +16482,7 @@ function Ku(o) {
|
|
|
16487
16482
|
t = A("p"), e = A("strong"), r = pe(i), C(t, "class", "SelfExclusionDescriptionText");
|
|
16488
16483
|
},
|
|
16489
16484
|
m(s, n) {
|
|
16490
|
-
|
|
16485
|
+
le(s, t, n), m(t, e), m(e, r);
|
|
16491
16486
|
},
|
|
16492
16487
|
p(s, n) {
|
|
16493
16488
|
n[0] & /*$_*/
|
|
@@ -16495,11 +16490,11 @@ function Ku(o) {
|
|
|
16495
16490
|
s[20]("permanentSelfExclusion") + "") && me(r, i);
|
|
16496
16491
|
},
|
|
16497
16492
|
d(s) {
|
|
16498
|
-
s &&
|
|
16493
|
+
s && ae(t);
|
|
16499
16494
|
}
|
|
16500
16495
|
};
|
|
16501
16496
|
}
|
|
16502
|
-
function
|
|
16497
|
+
function Ku(o) {
|
|
16503
16498
|
let t, e, i;
|
|
16504
16499
|
return {
|
|
16505
16500
|
c() {
|
|
@@ -16537,7 +16532,7 @@ function Gu(o) {
|
|
|
16537
16532
|
), k(t, "showmodaleventname", "ShowSelfExclusionConfirmationModal");
|
|
16538
16533
|
},
|
|
16539
16534
|
m(r, s) {
|
|
16540
|
-
|
|
16535
|
+
le(r, t, s), m(t, e);
|
|
16541
16536
|
},
|
|
16542
16537
|
p(r, s) {
|
|
16543
16538
|
s[0] & /*$_*/
|
|
@@ -16581,44 +16576,44 @@ function Gu(o) {
|
|
|
16581
16576
|
);
|
|
16582
16577
|
},
|
|
16583
16578
|
d(r) {
|
|
16584
|
-
r &&
|
|
16579
|
+
r && ae(t);
|
|
16585
16580
|
}
|
|
16586
16581
|
};
|
|
16587
16582
|
}
|
|
16588
|
-
function
|
|
16583
|
+
function Gu(o) {
|
|
16589
16584
|
let t;
|
|
16590
16585
|
return {
|
|
16591
16586
|
c() {
|
|
16592
16587
|
t = A("ui-skeleton"), k(t, "structure", "title"), k(t, "width", "100px"), k(t, "margin-top", "20px"), k(t, "margin-bottom", "20px");
|
|
16593
16588
|
},
|
|
16594
16589
|
m(e, i) {
|
|
16595
|
-
|
|
16590
|
+
le(e, t, i);
|
|
16596
16591
|
},
|
|
16597
16592
|
d(e) {
|
|
16598
|
-
e &&
|
|
16593
|
+
e && ae(t);
|
|
16599
16594
|
}
|
|
16600
16595
|
};
|
|
16601
16596
|
}
|
|
16602
|
-
function
|
|
16597
|
+
function Ju(o) {
|
|
16603
16598
|
let t;
|
|
16604
16599
|
return {
|
|
16605
16600
|
c() {
|
|
16606
16601
|
t = A("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>', C(t, "class", "MenuReturnButton");
|
|
16607
16602
|
},
|
|
16608
16603
|
m(e, i) {
|
|
16609
|
-
|
|
16604
|
+
le(e, t, i);
|
|
16610
16605
|
},
|
|
16611
16606
|
d(e) {
|
|
16612
|
-
e &&
|
|
16607
|
+
e && ae(t);
|
|
16613
16608
|
}
|
|
16614
16609
|
};
|
|
16615
16610
|
}
|
|
16616
|
-
function
|
|
16611
|
+
function Xu(o) {
|
|
16617
16612
|
let t;
|
|
16618
16613
|
function e(s, n) {
|
|
16619
16614
|
return (
|
|
16620
16615
|
/*skeletonLoading*/
|
|
16621
|
-
s[19] ?
|
|
16616
|
+
s[19] ? Yu : ju
|
|
16622
16617
|
);
|
|
16623
16618
|
}
|
|
16624
16619
|
let i = e(o), r = i(o);
|
|
@@ -16627,7 +16622,7 @@ function Zu(o) {
|
|
|
16627
16622
|
t = A("div"), r.c();
|
|
16628
16623
|
},
|
|
16629
16624
|
m(s, n) {
|
|
16630
|
-
|
|
16625
|
+
le(s, t, n), r.m(t, null), o[38](t);
|
|
16631
16626
|
},
|
|
16632
16627
|
p(s, n) {
|
|
16633
16628
|
i === (i = e(s)) && r ? r.p(s, n) : (r.d(1), r = i(s), r && (r.c(), r.m(t, null)));
|
|
@@ -16635,25 +16630,25 @@ function Zu(o) {
|
|
|
16635
16630
|
i: fi,
|
|
16636
16631
|
o: fi,
|
|
16637
16632
|
d(s) {
|
|
16638
|
-
s &&
|
|
16633
|
+
s && ae(t), r.d(), o[38](null);
|
|
16639
16634
|
}
|
|
16640
16635
|
};
|
|
16641
16636
|
}
|
|
16642
|
-
function
|
|
16637
|
+
function Zu(o, t, e) {
|
|
16643
16638
|
let i;
|
|
16644
|
-
|
|
16645
|
-
let { endpoint: r = "", session: s = "", userid: n = "", lang: a = "en", gmversion: l = "", operator: c = "Everymatrix", supportemail: u = "", baseurl: d = "", clientstyling: h = "", clientstylingurl: p = "", mbsource: b, translationurl: M = "", hasconfirmationmodal: I = "false" } = t, D, P, q = [], j = {}, L = window.navigator.userAgent, te, _e, G = "", J = "", T = "selectAPeriod", O = "", ce = "", ke =
|
|
16639
|
+
Ks(o, sn, (_) => e(20, i = _));
|
|
16640
|
+
let { endpoint: r = "", session: s = "", userid: n = "", lang: a = "en", gmversion: l = "", operator: c = "Everymatrix", supportemail: u = "", baseurl: d = "", clientstyling: h = "", clientstylingurl: p = "", mbsource: b, translationurl: M = "", hasconfirmationmodal: I = "false" } = t, D, P, q = [], j = {}, L = window.navigator.userAgent, te, _e, G = "", J = "", T = "selectAPeriod", O = "", ce = "", ke = Gs(L) !== "PC", x = !1, v = !1, f = !1, y = !1, g = I === "true", E = !0;
|
|
16646
16641
|
const w = () => {
|
|
16647
16642
|
fetch(M).then((re) => re.json()).then((re) => {
|
|
16648
16643
|
Object.keys(re).forEach((se) => {
|
|
16649
|
-
|
|
16644
|
+
Qo(se, re[se]);
|
|
16650
16645
|
});
|
|
16651
16646
|
}).catch((re) => {
|
|
16652
16647
|
console.log(re);
|
|
16653
16648
|
});
|
|
16654
16649
|
};
|
|
16655
|
-
Object.keys(
|
|
16656
|
-
|
|
16650
|
+
Object.keys(er).forEach((_) => {
|
|
16651
|
+
Qo(_, er[_]);
|
|
16657
16652
|
});
|
|
16658
16653
|
const N = () => {
|
|
16659
16654
|
let _ = new URL(`${r}/v1/player/selfExclusionSettings`);
|
|
@@ -16774,20 +16769,20 @@ function Qu(o, t, e) {
|
|
|
16774
16769
|
}, B = () => {
|
|
16775
16770
|
P.addEventListener("change", V, !1);
|
|
16776
16771
|
};
|
|
16777
|
-
|
|
16772
|
+
Js(() => (window.addEventListener("message", $, !1), () => {
|
|
16778
16773
|
P.removeEventListener("change", V), window.removeEventListener("message", $);
|
|
16779
16774
|
}));
|
|
16780
16775
|
const W = () => {
|
|
16781
|
-
|
|
16776
|
+
Bu(a);
|
|
16782
16777
|
}, xe = () => Q(), Ye = () => Y(), fe = (_) => X(_);
|
|
16783
16778
|
function we(_) {
|
|
16784
|
-
|
|
16779
|
+
uo[_ ? "unshift" : "push"](() => {
|
|
16785
16780
|
P = _, e(8, P);
|
|
16786
16781
|
});
|
|
16787
16782
|
}
|
|
16788
16783
|
const S = (_) => oe(_);
|
|
16789
16784
|
function H(_) {
|
|
16790
|
-
|
|
16785
|
+
uo[_ ? "unshift" : "push"](() => {
|
|
16791
16786
|
D = _, e(7, D);
|
|
16792
16787
|
});
|
|
16793
16788
|
}
|
|
@@ -16798,9 +16793,9 @@ function Qu(o, t, e) {
|
|
|
16798
16793
|
1 && a && W(), o.$$.dirty[0] & /*endpoint, session, userid, gmversion*/
|
|
16799
16794
|
2013265920 && r && s && n && l && N(), o.$$.dirty[0] & /*calendar*/
|
|
16800
16795
|
256 && P && B(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
16801
|
-
144 && h && D &&
|
|
16802
|
-
160 && p && D &&
|
|
16803
|
-
192 && b && D &&
|
|
16796
|
+
144 && h && D && en(D, h), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
16797
|
+
160 && p && D && tn(D, p), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
16798
|
+
192 && b && D && on(D, `${b}.Style`), o.$$.dirty[1] & /*translationurl*/
|
|
16804
16799
|
1 && M && w();
|
|
16805
16800
|
}, g && ue(), [
|
|
16806
16801
|
a,
|
|
@@ -16844,14 +16839,14 @@ function Qu(o, t, e) {
|
|
|
16844
16839
|
H
|
|
16845
16840
|
];
|
|
16846
16841
|
}
|
|
16847
|
-
class
|
|
16842
|
+
class Ns extends Vs {
|
|
16848
16843
|
constructor(t) {
|
|
16849
|
-
super(),
|
|
16844
|
+
super(), Us(
|
|
16850
16845
|
this,
|
|
16851
16846
|
t,
|
|
16852
|
-
Qu,
|
|
16853
16847
|
Zu,
|
|
16854
|
-
|
|
16848
|
+
Xu,
|
|
16849
|
+
Ws,
|
|
16855
16850
|
{
|
|
16856
16851
|
endpoint: 27,
|
|
16857
16852
|
session: 28,
|
|
@@ -16867,7 +16862,7 @@ class zs extends Us {
|
|
|
16867
16862
|
translationurl: 31,
|
|
16868
16863
|
hasconfirmationmodal: 32
|
|
16869
16864
|
},
|
|
16870
|
-
|
|
16865
|
+
Hu,
|
|
16871
16866
|
[-1, -1]
|
|
16872
16867
|
);
|
|
16873
16868
|
}
|
|
@@ -16950,12 +16945,12 @@ class zs extends Us {
|
|
|
16950
16945
|
this.$$set({ hasconfirmationmodal: t }), de();
|
|
16951
16946
|
}
|
|
16952
16947
|
}
|
|
16953
|
-
|
|
16954
|
-
const
|
|
16948
|
+
rn(Ns, { endpoint: {}, session: {}, userid: {}, lang: {}, gmversion: {}, operator: {}, supportemail: {}, baseurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, hasconfirmationmodal: {} }, [], [], !0);
|
|
16949
|
+
const Fd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16955
16950
|
__proto__: null,
|
|
16956
|
-
default:
|
|
16951
|
+
default: Ns
|
|
16957
16952
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
16958
16953
|
export {
|
|
16959
|
-
|
|
16954
|
+
Fd as P,
|
|
16960
16955
|
pi as d
|
|
16961
16956
|
};
|