@everymatrix/player-account-controller 1.74.2 → 1.74.4
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/{PlayerAccountController-CuSu4yPu.js → PlayerAccountController-B47r10OB.js} +323 -293
- package/components/PlayerAccountController-DGK3dgIb.cjs +1 -0
- package/components/{PlayerAccountController-DQlrRIb4.js → PlayerAccountController-OkqLzDKb.js} +324 -294
- package/components/{PlayerAccountProductRestriction-CrX42K5t.js → PlayerAccountProductRestriction-BrbHcAfU.js} +1805 -1743
- package/components/{PlayerAccountProductRestriction-BooFlgXw.js → PlayerAccountProductRestriction-CLG0mXNs.js} +1844 -1782
- package/components/{PlayerAccountProductRestriction-AAK9uBJW.cjs → PlayerAccountProductRestriction-nQ_8_MV1.cjs} +251 -251
- package/components/{PlayerAccountSelfExclusion-DQ-4bxAj.cjs → PlayerAccountSelfExclusion---HyNqaB.cjs} +32 -32
- package/components/{PlayerAccountSelfExclusion-DhZreZr1.js → PlayerAccountSelfExclusion-CxHNtxAD.js} +532 -511
- package/components/{PlayerAccountSelfExclusion-BtNYjY8J.js → PlayerAccountSelfExclusion-DLQ-HVLx.js} +466 -445
- package/components/{PlayerAccountTimeout-CHpJvfPI.cjs → PlayerAccountTimeout-B98Pp_88.cjs} +1 -1
- package/components/{PlayerAccountTimeout-Dozc16V1.js → PlayerAccountTimeout-BiuDm_C7.js} +2 -2
- package/components/{PlayerAccountTimeout-DzDkP5j2.js → PlayerAccountTimeout-BwriD4ZF.js} +2 -2
- package/components/PlayerAccountTransactionsHistory-CKkc0h_L.js +1950 -0
- package/components/PlayerAccountTransactionsHistory-D1eLaVcc.cjs +4 -0
- package/components/PlayerAccountTransactionsHistory-DJuFj0z7.js +1919 -0
- package/components/{PlayerBonusHistory-DlQnpPjy.js → PlayerBonusHistory-BtsC9ZN8.js} +1 -1
- package/components/{PlayerBonusHistory-qXyytjxK.js → PlayerBonusHistory-DdcyUG-1.js} +1 -1
- package/components/{PlayerBonusHistory-BFQwHuVP.cjs → PlayerBonusHistory-l9JKc1SI.cjs} +1 -1
- package/components/{PlayerGamingHistory-DVC3hSBK.js → PlayerGamingHistory-CgSvSixH.js} +1 -1
- package/components/{PlayerGamingHistory-Db8SvXdu.cjs → PlayerGamingHistory-DrygiT7t.cjs} +1 -1
- package/components/{PlayerGamingHistory-A-34JfM3.js → PlayerGamingHistory-GxtuAObW.js} +1 -1
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-9c0f6c58-Bv8IBM1p.js → index-9c0f6c58-8sXzcKbt.js} +1 -1
- package/stencil/{index-9c0f6c58-zsW8QQHO.cjs → index-9c0f6c58-CbFwvYJ1.cjs} +1 -1
- package/stencil/{index-9c0f6c58-DLLdeaWe.js → index-9c0f6c58-DH5Ki39B.js} +1 -1
- package/stencil/{player-kyc-verification-DJDR-AK_.js → player-kyc-verification-BJuBsd7A.js} +71 -71
- package/stencil/player-kyc-verification-DW2tWbg_.cjs +181 -0
- package/stencil/{player-kyc-verification-CEsLhoEl.js → player-kyc-verification-u-XUlDen.js} +11 -11
- package/components/PlayerAccountController-zcUcE3eO.cjs +0 -1
- package/components/PlayerAccountTransactionsHistory-1XrpbIoG.js +0 -1890
- package/components/PlayerAccountTransactionsHistory-CVcAHeMT.cjs +0 -4
- package/components/PlayerAccountTransactionsHistory-PgkRt7_X.js +0 -1859
- package/stencil/player-kyc-verification--Oo2H-oo.cjs +0 -181
package/components/{PlayerAccountSelfExclusion-DhZreZr1.js → PlayerAccountSelfExclusion-CxHNtxAD.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
var Br = Object.defineProperty, Hr = Object.defineProperties;
|
|
2
|
-
var
|
|
2
|
+
var Yr = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var uo = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
4
|
+
var $r = Object.prototype.hasOwnProperty, jr = Object.prototype.propertyIsEnumerable;
|
|
5
5
|
var ho = (o, t, e) => t in o ? Br(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e, Ct = (o, t) => {
|
|
6
6
|
for (var e in t || (t = {}))
|
|
7
|
-
|
|
7
|
+
$r.call(t, e) && ho(o, e, t[e]);
|
|
8
8
|
if (uo)
|
|
9
9
|
for (var e of uo(t))
|
|
10
10
|
jr.call(t, e) && ho(o, e, t[e]);
|
|
11
11
|
return o;
|
|
12
|
-
},
|
|
12
|
+
}, Pt = (o, t) => Hr(o, Yr(t));
|
|
13
13
|
var st = (o, t, e) => new Promise((i, s) => {
|
|
14
14
|
var r = (l) => {
|
|
15
15
|
try {
|
|
@@ -27,7 +27,7 @@ var st = (o, t, e) => new Promise((i, s) => {
|
|
|
27
27
|
a((e = e.apply(o, t)).next());
|
|
28
28
|
});
|
|
29
29
|
import { a5 as Vr, a6 as Ur, a as Wr, $ as qr, S as Kr, i as Gr, f as ie, c as Jr, s as Xr, b as Zr, e as w, k as de, o as mi, p as he, q as Qr, u as en, v as tn, w as on, x as sn, z as po, A as rn, O as fo, d as O, t as ne, y as Ee, g as E, j as Ue, l as f, m as Nt, n as ue, P as nn, r as an, h as S, Z as Jt, B as ln } from "./GeneralLogout-Dd4n6Kp2.js";
|
|
30
|
-
import { d as xe } from "./PlayerAccountProductRestriction-
|
|
30
|
+
import { d as xe } from "./PlayerAccountProductRestriction-CLG0mXNs.js";
|
|
31
31
|
import "../stencil/ui-skeleton-CnxOhYAT.js";
|
|
32
32
|
import "./PlayerAccountGamingLimitsGroupEdit-CrgfBvua.js";
|
|
33
33
|
/**
|
|
@@ -68,7 +68,7 @@ be(cn);
|
|
|
68
68
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
69
69
|
*/
|
|
70
70
|
const It = globalThis, Bi = It.ShadowRoot && (It.ShadyCSS === void 0 || It.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Hi = Symbol(), mo = /* @__PURE__ */ new WeakMap();
|
|
71
|
-
let
|
|
71
|
+
let Yi = class {
|
|
72
72
|
constructor(t, e, i) {
|
|
73
73
|
if (this._$cssResult$ = !0, i !== Hi)
|
|
74
74
|
throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
@@ -87,7 +87,7 @@ let $i = class {
|
|
|
87
87
|
return this.cssText;
|
|
88
88
|
}
|
|
89
89
|
};
|
|
90
|
-
const un = (o) => new
|
|
90
|
+
const un = (o) => new Yi(typeof o == "string" ? o : o + "", void 0, Hi), P = (o, ...t) => {
|
|
91
91
|
const e = o.length === 1 ? o[0] : t.reduce((i, s, r) => i + ((n) => {
|
|
92
92
|
if (n._$cssResult$ === !0)
|
|
93
93
|
return n.cssText;
|
|
@@ -95,7 +95,7 @@ const un = (o) => new $i(typeof o == "string" ? o : o + "", void 0, Hi), k = (o,
|
|
|
95
95
|
return n;
|
|
96
96
|
throw Error("Value passed to 'css' function must be a 'css' function result: " + n + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
|
97
97
|
})(s) + o[r + 1], o[0]);
|
|
98
|
-
return new
|
|
98
|
+
return new Yi(e, o, Hi);
|
|
99
99
|
}, hs = (o, t) => {
|
|
100
100
|
if (Bi)
|
|
101
101
|
o.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
@@ -372,11 +372,11 @@ qe.elementStyles = [], qe.shadowRootOptions = { mode: "open" }, qe[ht("elementPr
|
|
|
372
372
|
* Copyright 2017 Google LLC
|
|
373
373
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
374
374
|
*/
|
|
375
|
-
const pt = globalThis, zt = pt.trustedTypes, vo = zt ? zt.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, fs = "$lit$", De = `lit$${Math.random().toFixed(9).slice(2)}$`, ms = "?" + De, bn = `<${ms}>`,
|
|
375
|
+
const pt = globalThis, zt = pt.trustedTypes, vo = zt ? zt.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, fs = "$lit$", De = `lit$${Math.random().toFixed(9).slice(2)}$`, ms = "?" + De, bn = `<${ms}>`, Ye = document, mt = () => Ye.createComment(""), _t = (o) => o === null || typeof o != "object" && typeof o != "function", $i = Array.isArray, vn = (o) => $i(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", Zt = `[
|
|
376
376
|
\f\r]`, rt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, yo = /-->/g, xo = />/g, ze = RegExp(`>|${Zt}(?:([^\\s"'>=/]+)(${Zt}*=${Zt}*(?:[^
|
|
377
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), wo = /'/g, Eo = /"/g, _s = /^(?:script|style|textarea|title)$/i, Ze = Symbol.for("lit-noChange"), W = Symbol.for("lit-nothing"), So = /* @__PURE__ */ new WeakMap(), Le =
|
|
377
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), wo = /'/g, Eo = /"/g, _s = /^(?:script|style|textarea|title)$/i, Ze = Symbol.for("lit-noChange"), W = Symbol.for("lit-nothing"), So = /* @__PURE__ */ new WeakMap(), Le = Ye.createTreeWalker(Ye, 129);
|
|
378
378
|
function gs(o, t) {
|
|
379
|
-
if (
|
|
379
|
+
if (!$i(o) || !o.hasOwnProperty("raw"))
|
|
380
380
|
throw Error("invalid template strings array");
|
|
381
381
|
return vo !== void 0 ? vo.createHTML(t) : t;
|
|
382
382
|
}
|
|
@@ -408,8 +408,8 @@ class gt {
|
|
|
408
408
|
if (s.hasAttributes())
|
|
409
409
|
for (const d of s.getAttributeNames())
|
|
410
410
|
if (d.endsWith(fs)) {
|
|
411
|
-
const h = u[n++], m = s.getAttribute(d).split(De),
|
|
412
|
-
l.push({ type: 1, index: r, name:
|
|
411
|
+
const h = u[n++], m = s.getAttribute(d).split(De), b = /([.?@])?(.*)/.exec(h);
|
|
412
|
+
l.push({ type: 1, index: r, name: b[2], strings: m, ctor: b[1] === "." ? wn : b[1] === "?" ? En : b[1] === "@" ? Sn : Vt }), s.removeAttribute(d);
|
|
413
413
|
} else
|
|
414
414
|
d.startsWith(De) && (l.push({ type: 6, index: r }), s.removeAttribute(d));
|
|
415
415
|
if (_s.test(s.tagName)) {
|
|
@@ -433,7 +433,7 @@ class gt {
|
|
|
433
433
|
}
|
|
434
434
|
}
|
|
435
435
|
static createElement(t, e) {
|
|
436
|
-
const i =
|
|
436
|
+
const i = Ye.createElement("template");
|
|
437
437
|
return i.innerHTML = t, i;
|
|
438
438
|
}
|
|
439
439
|
}
|
|
@@ -457,7 +457,7 @@ class xn {
|
|
|
457
457
|
}
|
|
458
458
|
u(t) {
|
|
459
459
|
var c;
|
|
460
|
-
const { el: { content: e }, parts: i } = this._$AD, s = ((c = t == null ? void 0 : t.creationScope) != null ? c :
|
|
460
|
+
const { el: { content: e }, parts: i } = this._$AD, s = ((c = t == null ? void 0 : t.creationScope) != null ? c : Ye).importNode(e, !0);
|
|
461
461
|
Le.currentNode = s;
|
|
462
462
|
let r = Le.nextNode(), n = 0, a = 0, l = i[0];
|
|
463
463
|
for (; l !== void 0; ) {
|
|
@@ -467,7 +467,7 @@ class xn {
|
|
|
467
467
|
}
|
|
468
468
|
n !== (l == null ? void 0 : l.index) && (r = Le.nextNode(), n++);
|
|
469
469
|
}
|
|
470
|
-
return Le.currentNode =
|
|
470
|
+
return Le.currentNode = Ye, s;
|
|
471
471
|
}
|
|
472
472
|
p(t) {
|
|
473
473
|
let e = 0;
|
|
@@ -505,7 +505,7 @@ class St {
|
|
|
505
505
|
this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
|
|
506
506
|
}
|
|
507
507
|
_(t) {
|
|
508
|
-
this._$AH !== W && _t(this._$AH) ? this._$AA.nextSibling.data = t : this.T(
|
|
508
|
+
this._$AH !== W && _t(this._$AH) ? this._$AA.nextSibling.data = t : this.T(Ye.createTextNode(t)), this._$AH = t;
|
|
509
509
|
}
|
|
510
510
|
$(t) {
|
|
511
511
|
var r;
|
|
@@ -522,7 +522,7 @@ class St {
|
|
|
522
522
|
return e === void 0 && So.set(t.strings, e = new gt(t)), e;
|
|
523
523
|
}
|
|
524
524
|
k(t) {
|
|
525
|
-
|
|
525
|
+
$i(this._$AH) || (this._$AH = [], this._$AR());
|
|
526
526
|
const e = this._$AH;
|
|
527
527
|
let i, s = 0;
|
|
528
528
|
for (const r of t)
|
|
@@ -665,7 +665,7 @@ var ds;
|
|
|
665
665
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
666
666
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
667
667
|
*/
|
|
668
|
-
const
|
|
668
|
+
const Pn = (o) => class extends o {
|
|
669
669
|
static get properties() {
|
|
670
670
|
return {
|
|
671
671
|
/**
|
|
@@ -708,11 +708,11 @@ const bs = [], gi = /* @__PURE__ */ new Set(), ji = /* @__PURE__ */ new Set();
|
|
|
708
708
|
function vs(o) {
|
|
709
709
|
return o && Object.prototype.hasOwnProperty.call(o, "__themes");
|
|
710
710
|
}
|
|
711
|
-
function
|
|
711
|
+
function kn(o) {
|
|
712
712
|
return vs(customElements.get(o));
|
|
713
713
|
}
|
|
714
714
|
function Dn(o = []) {
|
|
715
|
-
return [o].flat(1 / 0).filter((t) => t instanceof
|
|
715
|
+
return [o].flat(1 / 0).filter((t) => t instanceof Yi ? !0 : (console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."), !1));
|
|
716
716
|
}
|
|
717
717
|
function ys(o, t) {
|
|
718
718
|
return (o || "").split(" ").some((e) => new RegExp(`^${e.split("*").join(".*")}$`, "u").test(t));
|
|
@@ -768,7 +768,7 @@ function L(o, t, e = {}) {
|
|
|
768
768
|
include: e.include,
|
|
769
769
|
moduleId: e.moduleId
|
|
770
770
|
}), o && ji.forEach((i) => {
|
|
771
|
-
if (ys(o, i) &&
|
|
771
|
+
if (ys(o, i) && kn(i)) {
|
|
772
772
|
const s = customElements.get(i);
|
|
773
773
|
In(s, t) ? console.warn(`Registering styles that already exist for ${i}`) : (!window.Vaadin || !window.Vaadin.suppressPostFinalizeStylesWarning) && console.warn(
|
|
774
774
|
`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".`
|
|
@@ -791,7 +791,7 @@ function Es(o) {
|
|
|
791
791
|
}, o.styles), t;
|
|
792
792
|
}
|
|
793
793
|
function Nn(o) {
|
|
794
|
-
const t = `${o}-default-theme`, e = bi().filter((i) => i.moduleId !== t && ys(i.themeFor, o)).map((i) =>
|
|
794
|
+
const t = `${o}-default-theme`, e = bi().filter((i) => i.moduleId !== t && ys(i.themeFor, o)).map((i) => Pt(Ct({}, i), {
|
|
795
795
|
// Prepend styles from included themes
|
|
796
796
|
styles: [...Es(i), ...i.styles],
|
|
797
797
|
// Map moduleId to includePriority
|
|
@@ -799,7 +799,7 @@ function Nn(o) {
|
|
|
799
799
|
})).sort((i, s) => s.includePriority - i.includePriority);
|
|
800
800
|
return e.length > 0 ? e : bi().filter((i) => i.moduleId === t);
|
|
801
801
|
}
|
|
802
|
-
const
|
|
802
|
+
const $e = (o) => class extends Pn(o) {
|
|
803
803
|
constructor() {
|
|
804
804
|
super(), gi.add(new WeakRef(this));
|
|
805
805
|
}
|
|
@@ -851,7 +851,7 @@ const zn = (o, ...t) => {
|
|
|
851
851
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
852
852
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
853
853
|
*/
|
|
854
|
-
const Ln =
|
|
854
|
+
const Ln = P`
|
|
855
855
|
:host {
|
|
856
856
|
--lumo-size-xs: 1.625rem;
|
|
857
857
|
--lumo-size-s: 1.875rem;
|
|
@@ -873,7 +873,7 @@ it("sizing-props", Ln);
|
|
|
873
873
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
874
874
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
875
875
|
*/
|
|
876
|
-
const Rn =
|
|
876
|
+
const Rn = P`
|
|
877
877
|
:host {
|
|
878
878
|
/* Square */
|
|
879
879
|
--lumo-space-xs: 0.25rem;
|
|
@@ -903,7 +903,7 @@ it("spacing-props", Rn);
|
|
|
903
903
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
904
904
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
905
905
|
*/
|
|
906
|
-
const Bn =
|
|
906
|
+
const Bn = P`
|
|
907
907
|
:host {
|
|
908
908
|
/* Border radius */
|
|
909
909
|
--lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
|
|
@@ -921,7 +921,7 @@ const Bn = k`
|
|
|
921
921
|
--lumo-clickable-cursor: default;
|
|
922
922
|
}
|
|
923
923
|
`;
|
|
924
|
-
|
|
924
|
+
P`
|
|
925
925
|
html {
|
|
926
926
|
/* Button */
|
|
927
927
|
--vaadin-button-background: var(--lumo-contrast-5pct);
|
|
@@ -1011,7 +1011,7 @@ it("style-props", Bn);
|
|
|
1011
1011
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1012
1012
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1013
1013
|
*/
|
|
1014
|
-
const Hn =
|
|
1014
|
+
const Hn = P`
|
|
1015
1015
|
:host {
|
|
1016
1016
|
/* Base (background) */
|
|
1017
1017
|
--lumo-base-color: #fff;
|
|
@@ -1098,7 +1098,7 @@ const Hn = k`
|
|
|
1098
1098
|
}
|
|
1099
1099
|
`;
|
|
1100
1100
|
it("color-props", Hn);
|
|
1101
|
-
const
|
|
1101
|
+
const Yn = P`
|
|
1102
1102
|
[theme~='dark'] {
|
|
1103
1103
|
/* Base (background) */
|
|
1104
1104
|
--lumo-base-color: hsl(214, 35%, 21%);
|
|
@@ -1217,13 +1217,13 @@ const $n = k`
|
|
|
1217
1217
|
background: transparent;
|
|
1218
1218
|
}
|
|
1219
1219
|
`;
|
|
1220
|
-
L("",
|
|
1220
|
+
L("", Yn, { moduleId: "lumo-color" });
|
|
1221
1221
|
/**
|
|
1222
1222
|
* @license
|
|
1223
1223
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1224
1224
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1225
1225
|
*/
|
|
1226
|
-
const
|
|
1226
|
+
const $n = P`
|
|
1227
1227
|
:host {
|
|
1228
1228
|
/* prettier-ignore */
|
|
1229
1229
|
--lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
@@ -1243,7 +1243,7 @@ const Yn = k`
|
|
|
1243
1243
|
--lumo-line-height-s: 1.375;
|
|
1244
1244
|
--lumo-line-height-m: 1.625;
|
|
1245
1245
|
}
|
|
1246
|
-
`, jn =
|
|
1246
|
+
`, jn = P`
|
|
1247
1247
|
body,
|
|
1248
1248
|
:host {
|
|
1249
1249
|
font-family: var(--lumo-font-family);
|
|
@@ -1337,13 +1337,13 @@ const Yn = k`
|
|
|
1337
1337
|
}
|
|
1338
1338
|
`;
|
|
1339
1339
|
L("", jn, { moduleId: "lumo-typography" });
|
|
1340
|
-
it("typography-props",
|
|
1340
|
+
it("typography-props", $n);
|
|
1341
1341
|
/**
|
|
1342
1342
|
* @license
|
|
1343
1343
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1344
1344
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1345
1345
|
*/
|
|
1346
|
-
const Ss =
|
|
1346
|
+
const Ss = P`
|
|
1347
1347
|
:host {
|
|
1348
1348
|
top: var(--lumo-space-m);
|
|
1349
1349
|
right: var(--lumo-space-m);
|
|
@@ -1415,7 +1415,7 @@ L("", Ss, { moduleId: "lumo-overlay" });
|
|
|
1415
1415
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1416
1416
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1417
1417
|
*/
|
|
1418
|
-
const As =
|
|
1418
|
+
const As = P`
|
|
1419
1419
|
:host([opening]),
|
|
1420
1420
|
:host([closing]) {
|
|
1421
1421
|
animation: 0.14s lumo-overlay-dummy-animation;
|
|
@@ -1447,7 +1447,7 @@ const As = k`
|
|
|
1447
1447
|
}
|
|
1448
1448
|
`;
|
|
1449
1449
|
L("", As, { moduleId: "lumo-menu-overlay-core" });
|
|
1450
|
-
const Vn =
|
|
1450
|
+
const Vn = P`
|
|
1451
1451
|
/* Small viewport (bottom sheet) styles */
|
|
1452
1452
|
/* Use direct media queries instead of the state attributes ([phone] and [fullscreen]) provided by the elements */
|
|
1453
1453
|
@media (max-width: 450px), (max-height: 450px) {
|
|
@@ -1511,7 +1511,7 @@ const Vn = k`
|
|
|
1511
1511
|
}
|
|
1512
1512
|
`, Cs = [Ss, As, Vn];
|
|
1513
1513
|
L("", Cs, { moduleId: "lumo-menu-overlay" });
|
|
1514
|
-
const Un =
|
|
1514
|
+
const Un = P`
|
|
1515
1515
|
[part='overlay'] {
|
|
1516
1516
|
/*
|
|
1517
1517
|
Width:
|
|
@@ -1560,7 +1560,7 @@ const Un = k`
|
|
|
1560
1560
|
L("vaadin-date-picker-overlay", [Cs, Un], {
|
|
1561
1561
|
moduleId: "lumo-date-picker-overlay"
|
|
1562
1562
|
});
|
|
1563
|
-
const Wn =
|
|
1563
|
+
const Wn = P`
|
|
1564
1564
|
:host {
|
|
1565
1565
|
/* Sizing */
|
|
1566
1566
|
--lumo-button-size: var(--lumo-size-m);
|
|
@@ -1840,7 +1840,7 @@ const Wn = k`
|
|
|
1840
1840
|
L("vaadin-button", Wn, { moduleId: "lumo-button" });
|
|
1841
1841
|
L(
|
|
1842
1842
|
"vaadin-date-picker-year",
|
|
1843
|
-
|
|
1843
|
+
P`
|
|
1844
1844
|
:host([current]) [part='year-number'] {
|
|
1845
1845
|
color: var(--lumo-primary-text-color);
|
|
1846
1846
|
}
|
|
@@ -1869,7 +1869,7 @@ L(
|
|
|
1869
1869
|
);
|
|
1870
1870
|
L(
|
|
1871
1871
|
"vaadin-date-picker-overlay-content",
|
|
1872
|
-
|
|
1872
|
+
P`
|
|
1873
1873
|
:host {
|
|
1874
1874
|
position: relative;
|
|
1875
1875
|
/* Background for the year scroller, placed here as we are using a mask image on the actual years part */
|
|
@@ -2024,7 +2024,7 @@ L(
|
|
|
2024
2024
|
);
|
|
2025
2025
|
L(
|
|
2026
2026
|
"vaadin-month-calendar",
|
|
2027
|
-
|
|
2027
|
+
P`
|
|
2028
2028
|
:host {
|
|
2029
2029
|
-moz-user-select: none;
|
|
2030
2030
|
-webkit-user-select: none;
|
|
@@ -2176,7 +2176,7 @@ L(
|
|
|
2176
2176
|
);
|
|
2177
2177
|
L(
|
|
2178
2178
|
"vaadin-input-container",
|
|
2179
|
-
|
|
2179
|
+
P`
|
|
2180
2180
|
:host {
|
|
2181
2181
|
background: var(--_background);
|
|
2182
2182
|
padding: 0 calc(0.375em + var(--_input-container-radius) / 4 - 1px);
|
|
@@ -2362,7 +2362,7 @@ L(
|
|
|
2362
2362
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2363
2363
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2364
2364
|
*/
|
|
2365
|
-
const qn =
|
|
2365
|
+
const qn = P`
|
|
2366
2366
|
@font-face {
|
|
2367
2367
|
font-family: 'lumo-icons';
|
|
2368
2368
|
src: url(data:application/font-woff;charset=utf-8;base64,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)
|
|
@@ -2422,7 +2422,7 @@ it("font-icons", qn);
|
|
|
2422
2422
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2423
2423
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2424
2424
|
*/
|
|
2425
|
-
const
|
|
2425
|
+
const Ps = P`
|
|
2426
2426
|
[part$='button'] {
|
|
2427
2427
|
flex: none;
|
|
2428
2428
|
width: 1em;
|
|
@@ -2450,13 +2450,13 @@ const ks = k`
|
|
|
2450
2450
|
display: block;
|
|
2451
2451
|
}
|
|
2452
2452
|
`;
|
|
2453
|
-
L("",
|
|
2453
|
+
L("", Ps, { moduleId: "lumo-field-button" });
|
|
2454
2454
|
/**
|
|
2455
2455
|
* @license
|
|
2456
2456
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2457
2457
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2458
2458
|
*/
|
|
2459
|
-
const Kn =
|
|
2459
|
+
const Kn = P`
|
|
2460
2460
|
:host {
|
|
2461
2461
|
--_helper-spacing: var(--vaadin-input-field-helper-spacing, 0.4em);
|
|
2462
2462
|
}
|
|
@@ -2518,7 +2518,7 @@ const Kn = k`
|
|
|
2518
2518
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2519
2519
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2520
2520
|
*/
|
|
2521
|
-
const
|
|
2521
|
+
const ks = P`
|
|
2522
2522
|
[part='label'] {
|
|
2523
2523
|
align-self: flex-start;
|
|
2524
2524
|
color: var(--vaadin-input-field-label-color, var(--lumo-secondary-text-color));
|
|
@@ -2631,13 +2631,13 @@ const Ps = k`
|
|
|
2631
2631
|
margin-right: calc(var(--lumo-border-radius-m) / 4);
|
|
2632
2632
|
}
|
|
2633
2633
|
`;
|
|
2634
|
-
L("",
|
|
2634
|
+
L("", ks, { moduleId: "lumo-required-field" });
|
|
2635
2635
|
/**
|
|
2636
2636
|
* @license
|
|
2637
2637
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2638
2638
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2639
2639
|
*/
|
|
2640
|
-
const Gn =
|
|
2640
|
+
const Gn = P`
|
|
2641
2641
|
:host {
|
|
2642
2642
|
--lumo-text-field-size: var(--lumo-size-m);
|
|
2643
2643
|
color: var(--vaadin-input-field-value-color, var(--lumo-body-text-color));
|
|
@@ -2768,11 +2768,11 @@ const Gn = k`
|
|
|
2768
2768
|
[part='clear-button']::before {
|
|
2769
2769
|
content: var(--lumo-icons-cross);
|
|
2770
2770
|
}
|
|
2771
|
-
`, Ds = [
|
|
2771
|
+
`, Ds = [ks, Ps, Kn, Gn];
|
|
2772
2772
|
L("", Ds, {
|
|
2773
2773
|
moduleId: "lumo-input-field-shared-styles"
|
|
2774
2774
|
});
|
|
2775
|
-
const Jn =
|
|
2775
|
+
const Jn = P`
|
|
2776
2776
|
[part='toggle-button']::before {
|
|
2777
2777
|
content: var(--lumo-icons-calendar);
|
|
2778
2778
|
}
|
|
@@ -2817,19 +2817,19 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2817
2817
|
Code distributed by Google as part of the polymer project is also
|
|
2818
2818
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2819
2819
|
*/
|
|
2820
|
-
let Xn = /(url\()([^)]*)(\))/g, Zn = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/,
|
|
2820
|
+
let Xn = /(url\()([^)]*)(\))/g, Zn = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, kt, ce;
|
|
2821
2821
|
function ft(o, t) {
|
|
2822
2822
|
if (o && Zn.test(o) || o === "//")
|
|
2823
2823
|
return o;
|
|
2824
|
-
if (
|
|
2825
|
-
|
|
2824
|
+
if (kt === void 0) {
|
|
2825
|
+
kt = !1;
|
|
2826
2826
|
try {
|
|
2827
2827
|
const e = new URL("b", "http://a");
|
|
2828
|
-
e.pathname = "c%20d",
|
|
2828
|
+
e.pathname = "c%20d", kt = e.href === "http://a/c%20d";
|
|
2829
2829
|
} catch (e) {
|
|
2830
2830
|
}
|
|
2831
2831
|
}
|
|
2832
|
-
if (t || (t = document.baseURI || window.location.href),
|
|
2832
|
+
if (t || (t = document.baseURI || window.location.href), kt)
|
|
2833
2833
|
try {
|
|
2834
2834
|
return new URL(o, t).href;
|
|
2835
2835
|
} catch (e) {
|
|
@@ -2920,10 +2920,10 @@ Code distributed by Google as part of the polymer project is also
|
|
|
2920
2920
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2921
2921
|
*/
|
|
2922
2922
|
let Wi = {}, Is = {};
|
|
2923
|
-
function
|
|
2923
|
+
function Po(o, t) {
|
|
2924
2924
|
Wi[o] = Is[o.toLowerCase()] = t;
|
|
2925
2925
|
}
|
|
2926
|
-
function
|
|
2926
|
+
function ko(o) {
|
|
2927
2927
|
return Wi[o] || Is[o.toLowerCase()];
|
|
2928
2928
|
}
|
|
2929
2929
|
function aa(o) {
|
|
@@ -2947,7 +2947,7 @@ class bt extends HTMLElement {
|
|
|
2947
2947
|
*/
|
|
2948
2948
|
static import(t, e) {
|
|
2949
2949
|
if (t) {
|
|
2950
|
-
let i =
|
|
2950
|
+
let i = ko(t);
|
|
2951
2951
|
return i && e ? i.querySelector(e) : i;
|
|
2952
2952
|
}
|
|
2953
2953
|
return null;
|
|
@@ -2995,9 +2995,9 @@ class bt extends HTMLElement {
|
|
|
2995
2995
|
*/
|
|
2996
2996
|
register(t) {
|
|
2997
2997
|
if (t = t || this.id, t) {
|
|
2998
|
-
if (Bt &&
|
|
2999
|
-
throw
|
|
3000
|
-
this.id = t,
|
|
2998
|
+
if (Bt && ko(t) !== void 0)
|
|
2999
|
+
throw Po(t, null), new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);
|
|
3000
|
+
this.id = t, Po(t, this), aa(this);
|
|
3001
3001
|
}
|
|
3002
3002
|
}
|
|
3003
3003
|
}
|
|
@@ -3193,8 +3193,8 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3193
3193
|
Code distributed by Google as part of the polymer project is also
|
|
3194
3194
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3195
3195
|
*/
|
|
3196
|
-
let _a = 0, Hs = 0, Ge = [], ga = 0, xi = !1,
|
|
3197
|
-
new window.MutationObserver(ba).observe(
|
|
3196
|
+
let _a = 0, Hs = 0, Ge = [], ga = 0, xi = !1, Ys = document.createTextNode("");
|
|
3197
|
+
new window.MutationObserver(ba).observe(Ys, { characterData: !0 });
|
|
3198
3198
|
function ba() {
|
|
3199
3199
|
xi = !1;
|
|
3200
3200
|
const o = Ge.length;
|
|
@@ -3251,7 +3251,7 @@ const va = {
|
|
|
3251
3251
|
cancel(o) {
|
|
3252
3252
|
window.clearTimeout(o);
|
|
3253
3253
|
}
|
|
3254
|
-
},
|
|
3254
|
+
}, $s = {
|
|
3255
3255
|
/**
|
|
3256
3256
|
* Enqueues a function called at microtask timing.
|
|
3257
3257
|
*
|
|
@@ -3260,7 +3260,7 @@ const va = {
|
|
|
3260
3260
|
* @return {number} Handle used for canceling task
|
|
3261
3261
|
*/
|
|
3262
3262
|
run(o) {
|
|
3263
|
-
return xi || (xi = !0,
|
|
3263
|
+
return xi || (xi = !0, Ys.textContent = ga++), Ge.push(o), _a++;
|
|
3264
3264
|
},
|
|
3265
3265
|
/**
|
|
3266
3266
|
* Cancels a previously enqueued `microTask` callback.
|
|
@@ -3287,7 +3287,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3287
3287
|
Code distributed by Google as part of the polymer project is also
|
|
3288
3288
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3289
3289
|
*/
|
|
3290
|
-
const ya =
|
|
3290
|
+
const ya = $s, js = U(
|
|
3291
3291
|
/**
|
|
3292
3292
|
* @template T
|
|
3293
3293
|
* @param {function(new:T)} superClass Class to apply mixin to.
|
|
@@ -3966,7 +3966,7 @@ function Aa() {
|
|
|
3966
3966
|
function Ca(o) {
|
|
3967
3967
|
Aa() && o.localName === "textarea" && o.placeholder && o.placeholder === o.textContent && (o.textContent = null);
|
|
3968
3968
|
}
|
|
3969
|
-
const
|
|
3969
|
+
const Pa = (() => {
|
|
3970
3970
|
const o = window.trustedTypes && window.trustedTypes.createPolicy(
|
|
3971
3971
|
"polymer-template-event-attribute-policy",
|
|
3972
3972
|
{
|
|
@@ -3985,13 +3985,13 @@ const ka = (() => {
|
|
|
3985
3985
|
t.setAttribute(i, s);
|
|
3986
3986
|
};
|
|
3987
3987
|
})();
|
|
3988
|
-
function
|
|
3988
|
+
function ka(o) {
|
|
3989
3989
|
let t = o.getAttribute("is");
|
|
3990
3990
|
if (t && Sa[t]) {
|
|
3991
3991
|
let e = o;
|
|
3992
3992
|
for (e.removeAttribute("is"), o = e.ownerDocument.createElement(t), e.parentNode.replaceChild(o, e), o.appendChild(e); e.attributes.length; ) {
|
|
3993
3993
|
const { name: i } = e.attributes[0];
|
|
3994
|
-
|
|
3994
|
+
Pa(o, e, i), e.removeAttribute(i);
|
|
3995
3995
|
}
|
|
3996
3996
|
}
|
|
3997
3997
|
return o;
|
|
@@ -4166,7 +4166,7 @@ const Ia = U(
|
|
|
4166
4166
|
static _parseTemplateChildNodes(i, s, r) {
|
|
4167
4167
|
if (!(i.localName === "script" || i.localName === "style"))
|
|
4168
4168
|
for (let n = i.firstChild, a = 0, l; n; n = l) {
|
|
4169
|
-
if (n.localName == "template" && (n =
|
|
4169
|
+
if (n.localName == "template" && (n = ka(n)), l = n.nextSibling, n.nodeType === Node.TEXT_NODE) {
|
|
4170
4170
|
let u = l;
|
|
4171
4171
|
for (; u && u.nodeType === Node.TEXT_NODE; )
|
|
4172
4172
|
n.textContent += u.textContent, l = u.nextSibling, i.removeChild(u), u = l;
|
|
@@ -4366,7 +4366,7 @@ const Ia = U(
|
|
|
4366
4366
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
4367
4367
|
*/
|
|
4368
4368
|
let xt = 0;
|
|
4369
|
-
const wt = [],
|
|
4369
|
+
const wt = [], k = {
|
|
4370
4370
|
COMPUTE: "__computeEffects",
|
|
4371
4371
|
REFLECT: "__reflectEffects",
|
|
4372
4372
|
NOTIFY: "__notifyEffects",
|
|
@@ -4422,7 +4422,7 @@ function Fo(o, t, e, i, s) {
|
|
|
4422
4422
|
r ? r.call(o, o.__data[n], i[n]) : s.dynamicFn || console.warn("observer method `" + s.method + "` not defined");
|
|
4423
4423
|
}
|
|
4424
4424
|
function za(o, t, e, i, s) {
|
|
4425
|
-
let r = o[
|
|
4425
|
+
let r = o[k.NOTIFY], n, a = xt++;
|
|
4426
4426
|
for (let c in t)
|
|
4427
4427
|
t[c] && (r && Na(o, r, a, c, e, i, s) || s && La(o, c, e)) && (n = !0);
|
|
4428
4428
|
let l;
|
|
@@ -4455,7 +4455,7 @@ function Ba(o, t, e, i, s) {
|
|
|
4455
4455
|
/** @type {Object} */
|
|
4456
4456
|
o.detail
|
|
4457
4457
|
), a = n && n.path;
|
|
4458
|
-
a ? (i = yt(e, i, a), r = n && n.value) : r = o.currentTarget[e], r = s ? !r : r, (!t[
|
|
4458
|
+
a ? (i = yt(e, i, a), r = n && n.value) : r = o.currentTarget[e], r = s ? !r : r, (!t[k.READ_ONLY] || !t[k.READ_ONLY][i]) && t._setPendingPropertyOrPath(i, r, !0, !!a) && (!n || !n.queueProperty) && t._invalidateProperties();
|
|
4459
4459
|
}
|
|
4460
4460
|
function Ha(o, t, e, i, s) {
|
|
4461
4461
|
let r = o.__data[t];
|
|
@@ -4467,8 +4467,8 @@ function Ha(o, t, e, i, s) {
|
|
|
4467
4467
|
o
|
|
4468
4468
|
)), o._propertyToAttribute(t, s.attrName, r);
|
|
4469
4469
|
}
|
|
4470
|
-
function
|
|
4471
|
-
let s = o[
|
|
4470
|
+
function Ya(o, t, e, i) {
|
|
4471
|
+
let s = o[k.COMPUTE];
|
|
4472
4472
|
if (s)
|
|
4473
4473
|
if (oa) {
|
|
4474
4474
|
xt++;
|
|
@@ -4501,7 +4501,7 @@ function $a(o, t, e, i) {
|
|
|
4501
4501
|
), r = o.__dataPending, o.__dataPending = null;
|
|
4502
4502
|
}
|
|
4503
4503
|
}
|
|
4504
|
-
const
|
|
4504
|
+
const $a = (o, t, e) => {
|
|
4505
4505
|
let i = 0, s = t.length - 1, r = -1;
|
|
4506
4506
|
for (; i <= s; ) {
|
|
4507
4507
|
const n = i + s >> 1, a = e.get(t[n].methodInfo) - e.get(o.methodInfo);
|
|
@@ -4520,14 +4520,14 @@ const Ya = (o, t, e) => {
|
|
|
4520
4520
|
if (n)
|
|
4521
4521
|
for (let a = 0; a < n.length; a++) {
|
|
4522
4522
|
const l = n[a];
|
|
4523
|
-
l.info.lastRun !== xt && (!s || qi(o, l.trigger)) && (l.info.lastRun = xt,
|
|
4523
|
+
l.info.lastRun !== xt && (!s || qi(o, l.trigger)) && (l.info.lastRun = xt, $a(l.info, e, i));
|
|
4524
4524
|
}
|
|
4525
4525
|
};
|
|
4526
4526
|
function ja(o) {
|
|
4527
4527
|
let t = o.constructor.__orderedComputedDeps;
|
|
4528
4528
|
if (!t) {
|
|
4529
4529
|
t = /* @__PURE__ */ new Map();
|
|
4530
|
-
const e = o[
|
|
4530
|
+
const e = o[k.COMPUTE];
|
|
4531
4531
|
let { counts: i, ready: s, total: r } = Va(o), n;
|
|
4532
4532
|
for (; n = s.shift(); ) {
|
|
4533
4533
|
t.set(n, t.size);
|
|
@@ -4543,7 +4543,7 @@ function ja(o) {
|
|
|
4543
4543
|
return t;
|
|
4544
4544
|
}
|
|
4545
4545
|
function Va(o) {
|
|
4546
|
-
const t = o[Ws], e = {}, i = o[
|
|
4546
|
+
const t = o[Ws], e = {}, i = o[k.COMPUTE], s = [];
|
|
4547
4547
|
let r = 0;
|
|
4548
4548
|
for (let n in t) {
|
|
4549
4549
|
const a = t[n];
|
|
@@ -4619,7 +4619,7 @@ function Ka(o, t, e, i, s) {
|
|
|
4619
4619
|
);
|
|
4620
4620
|
else {
|
|
4621
4621
|
let r = e.target;
|
|
4622
|
-
t.__isPropertyEffectsClient && t.__dataHasAccessor && t.__dataHasAccessor[r] ? (!t[
|
|
4622
|
+
t.__isPropertyEffectsClient && t.__dataHasAccessor && t.__dataHasAccessor[r] ? (!t[k.READ_ONLY] || !t[k.READ_ONLY][r]) && t._setPendingProperty(r, s) && o._enqueueClient(t) : o._setUnmanagedPropertyToNode(t, r, s);
|
|
4623
4623
|
}
|
|
4624
4624
|
}
|
|
4625
4625
|
function Ga(o, t, e, i) {
|
|
@@ -4760,7 +4760,7 @@ const Ki = U((o) => {
|
|
|
4760
4760
|
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;
|
|
4761
4761
|
}
|
|
4762
4762
|
get PROPERTY_EFFECT_TYPES() {
|
|
4763
|
-
return
|
|
4763
|
+
return k;
|
|
4764
4764
|
}
|
|
4765
4765
|
/**
|
|
4766
4766
|
* @override
|
|
@@ -4796,7 +4796,7 @@ const Ki = U((o) => {
|
|
|
4796
4796
|
* @return {void}
|
|
4797
4797
|
*/
|
|
4798
4798
|
_initializeInstanceProperties(s) {
|
|
4799
|
-
let r = this[
|
|
4799
|
+
let r = this[k.READ_ONLY];
|
|
4800
4800
|
for (let n in s)
|
|
4801
4801
|
(!r || !r[n]) && (this.__dataPending = this.__dataPending || {}, this.__dataOld = this.__dataOld || {}, this.__data[n] = this.__dataPending[n] = s[n]);
|
|
4802
4802
|
}
|
|
@@ -4814,7 +4814,7 @@ const Ki = U((o) => {
|
|
|
4814
4814
|
* @protected
|
|
4815
4815
|
*/
|
|
4816
4816
|
_addPropertyEffect(s, r, n) {
|
|
4817
|
-
this._createPropertyAccessor(s, r ==
|
|
4817
|
+
this._createPropertyAccessor(s, r == k.READ_ONLY);
|
|
4818
4818
|
let a = ti(this, r, !0)[s];
|
|
4819
4819
|
a || (a = this[r][s] = []), a.push(n);
|
|
4820
4820
|
}
|
|
@@ -4857,7 +4857,7 @@ const Ki = U((o) => {
|
|
|
4857
4857
|
* @protected
|
|
4858
4858
|
*/
|
|
4859
4859
|
_hasReadOnlyEffect(s) {
|
|
4860
|
-
return this._hasPropertyEffect(s,
|
|
4860
|
+
return this._hasPropertyEffect(s, k.READ_ONLY);
|
|
4861
4861
|
}
|
|
4862
4862
|
/**
|
|
4863
4863
|
* Returns whether the current prototype/instance has a "notify"
|
|
@@ -4870,7 +4870,7 @@ const Ki = U((o) => {
|
|
|
4870
4870
|
* @protected
|
|
4871
4871
|
*/
|
|
4872
4872
|
_hasNotifyEffect(s) {
|
|
4873
|
-
return this._hasPropertyEffect(s,
|
|
4873
|
+
return this._hasPropertyEffect(s, k.NOTIFY);
|
|
4874
4874
|
}
|
|
4875
4875
|
/**
|
|
4876
4876
|
* Returns whether the current prototype/instance has a "reflect to
|
|
@@ -4883,7 +4883,7 @@ const Ki = U((o) => {
|
|
|
4883
4883
|
* @protected
|
|
4884
4884
|
*/
|
|
4885
4885
|
_hasReflectEffect(s) {
|
|
4886
|
-
return this._hasPropertyEffect(s,
|
|
4886
|
+
return this._hasPropertyEffect(s, k.REFLECT);
|
|
4887
4887
|
}
|
|
4888
4888
|
/**
|
|
4889
4889
|
* Returns whether the current prototype/instance has a "computed"
|
|
@@ -4896,7 +4896,7 @@ const Ki = U((o) => {
|
|
|
4896
4896
|
* @protected
|
|
4897
4897
|
*/
|
|
4898
4898
|
_hasComputedEffect(s) {
|
|
4899
|
-
return this._hasPropertyEffect(s,
|
|
4899
|
+
return this._hasPropertyEffect(s, k.COMPUTE);
|
|
4900
4900
|
}
|
|
4901
4901
|
// Runtime ----------------------------------------
|
|
4902
4902
|
/**
|
|
@@ -5023,7 +5023,7 @@ const Ki = U((o) => {
|
|
|
5023
5023
|
*/
|
|
5024
5024
|
_setPendingProperty(s, r, n) {
|
|
5025
5025
|
let a = this.__dataHasPaths && yi(s), l = a ? this.__dataTemp : this.__data;
|
|
5026
|
-
return this._shouldPropertyChange(s, r, l[s]) ? (this.__dataPending || (this.__dataPending = {}, this.__dataOld = {}), s in this.__dataOld || (this.__dataOld[s] = this.__data[s]), a ? this.__dataTemp[s] = r : this.__data[s] = r, this.__dataPending[s] = r, (a || this[
|
|
5026
|
+
return this._shouldPropertyChange(s, r, l[s]) ? (this.__dataPending || (this.__dataPending = {}, this.__dataOld = {}), s in this.__dataOld || (this.__dataOld[s] = this.__data[s]), a ? this.__dataTemp[s] = r : this.__data[s] = r, this.__dataPending[s] = r, (a || this[k.NOTIFY] && this[k.NOTIFY][s]) && (this.__dataToNotify = this.__dataToNotify || {}, this.__dataToNotify[s] = n), !0) : !1;
|
|
5027
5027
|
}
|
|
5028
5028
|
/**
|
|
5029
5029
|
* Overrides base implementation to ensure all accessors set `shouldNotify`
|
|
@@ -5125,7 +5125,7 @@ const Ki = U((o) => {
|
|
|
5125
5125
|
*/
|
|
5126
5126
|
setProperties(s, r) {
|
|
5127
5127
|
for (let n in s)
|
|
5128
|
-
(r || !this[
|
|
5128
|
+
(r || !this[k.READ_ONLY] || !this[k.READ_ONLY][n]) && this._setPendingPropertyOrPath(n, s[n], !0);
|
|
5129
5129
|
this._invalidateProperties();
|
|
5130
5130
|
}
|
|
5131
5131
|
/**
|
|
@@ -5158,7 +5158,7 @@ const Ki = U((o) => {
|
|
|
5158
5158
|
let a = this.__dataHasPaths;
|
|
5159
5159
|
this.__dataHasPaths = !1;
|
|
5160
5160
|
let l;
|
|
5161
|
-
|
|
5161
|
+
Ya(this, r, n, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(r, n, a), this._flushClients(), dt(this, this[k.REFLECT], r, n, a), dt(this, this[k.OBSERVE], r, n, a), l && za(this, l, r, n, a), this.__dataCounter == 1 && (this.__dataTemp = {});
|
|
5162
5162
|
}
|
|
5163
5163
|
/**
|
|
5164
5164
|
* Called to propagate any property changes to stamped template nodes
|
|
@@ -5172,7 +5172,7 @@ const Ki = U((o) => {
|
|
|
5172
5172
|
* @protected
|
|
5173
5173
|
*/
|
|
5174
5174
|
_propagatePropertyChanges(s, r, n) {
|
|
5175
|
-
this[
|
|
5175
|
+
this[k.PROPAGATE] && dt(this, this[k.PROPAGATE], s, r, n), this.__templateInfo && this._runEffectsForTemplate(this.__templateInfo, s, r, n);
|
|
5176
5176
|
}
|
|
5177
5177
|
_runEffectsForTemplate(s, r, n, a) {
|
|
5178
5178
|
const l = (c, u) => {
|
|
@@ -5303,7 +5303,7 @@ const Ki = U((o) => {
|
|
|
5303
5303
|
* @public
|
|
5304
5304
|
*/
|
|
5305
5305
|
set(s, r, n) {
|
|
5306
|
-
n ? Mo(n, s, r) : (!this[
|
|
5306
|
+
n ? Mo(n, s, r) : (!this[k.READ_ONLY] || !this[k.READ_ONLY][
|
|
5307
5307
|
/** @type {string} */
|
|
5308
5308
|
s
|
|
5309
5309
|
]) && this._setPendingPropertyOrPath(s, r, !0) && this._invalidateProperties();
|
|
@@ -5458,7 +5458,7 @@ const Ki = U((o) => {
|
|
|
5458
5458
|
* @protected
|
|
5459
5459
|
*/
|
|
5460
5460
|
_createReadOnlyProperty(s, r) {
|
|
5461
|
-
this._addPropertyEffect(s,
|
|
5461
|
+
this._addPropertyEffect(s, k.READ_ONLY), r && (this["_set" + pl(s)] = /** @this {PropertyEffects} */
|
|
5462
5462
|
function(n) {
|
|
5463
5463
|
this._setProperty(s, n);
|
|
5464
5464
|
});
|
|
@@ -5479,14 +5479,14 @@ const Ki = U((o) => {
|
|
|
5479
5479
|
*/
|
|
5480
5480
|
_createPropertyObserver(s, r, n) {
|
|
5481
5481
|
let a = { property: s, method: r, dynamicFn: !!n };
|
|
5482
|
-
this._addPropertyEffect(s,
|
|
5482
|
+
this._addPropertyEffect(s, k.OBSERVE, {
|
|
5483
5483
|
fn: Fo,
|
|
5484
5484
|
info: a,
|
|
5485
5485
|
trigger: { name: s }
|
|
5486
5486
|
}), n && this._addPropertyEffect(
|
|
5487
5487
|
/** @type {string} */
|
|
5488
5488
|
r,
|
|
5489
|
-
|
|
5489
|
+
k.OBSERVE,
|
|
5490
5490
|
{
|
|
5491
5491
|
fn: Fo,
|
|
5492
5492
|
info: a,
|
|
@@ -5510,7 +5510,7 @@ const Ki = U((o) => {
|
|
|
5510
5510
|
let n = oi(s);
|
|
5511
5511
|
if (!n)
|
|
5512
5512
|
throw new Error("Malformed observer expression '" + s + "'");
|
|
5513
|
-
zo(this, n,
|
|
5513
|
+
zo(this, n, k.OBSERVE, wi, null, r);
|
|
5514
5514
|
}
|
|
5515
5515
|
/**
|
|
5516
5516
|
* Equivalent to static `createNotifyingProperty` API but can be called on
|
|
@@ -5523,7 +5523,7 @@ const Ki = U((o) => {
|
|
|
5523
5523
|
* @protected
|
|
5524
5524
|
*/
|
|
5525
5525
|
_createNotifyingProperty(s) {
|
|
5526
|
-
this._addPropertyEffect(s,
|
|
5526
|
+
this._addPropertyEffect(s, k.NOTIFY, {
|
|
5527
5527
|
fn: Ra,
|
|
5528
5528
|
info: {
|
|
5529
5529
|
eventName: Ut(s) + "-changed",
|
|
@@ -5544,7 +5544,7 @@ const Ki = U((o) => {
|
|
|
5544
5544
|
*/
|
|
5545
5545
|
_createReflectedProperty(s) {
|
|
5546
5546
|
let r = this.constructor.attributeNameForProperty(s);
|
|
5547
|
-
r[0] === "-" ? console.warn("Property " + s + " cannot be reflected to attribute " + r + ' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.') : this._addPropertyEffect(s,
|
|
5547
|
+
r[0] === "-" ? console.warn("Property " + s + " cannot be reflected to attribute " + r + ' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.') : this._addPropertyEffect(s, k.REFLECT, {
|
|
5548
5548
|
fn: Ha,
|
|
5549
5549
|
info: {
|
|
5550
5550
|
attrName: r
|
|
@@ -5568,7 +5568,7 @@ const Ki = U((o) => {
|
|
|
5568
5568
|
let a = oi(r);
|
|
5569
5569
|
if (!a)
|
|
5570
5570
|
throw new Error("Malformed computed expression '" + r + "'");
|
|
5571
|
-
const l = zo(this, a,
|
|
5571
|
+
const l = zo(this, a, k.COMPUTE, Ks, s, n);
|
|
5572
5572
|
ti(this, Ws)[s] = l;
|
|
5573
5573
|
}
|
|
5574
5574
|
/**
|
|
@@ -5587,20 +5587,20 @@ const Ki = U((o) => {
|
|
|
5587
5587
|
_marshalArgs(s, r, n) {
|
|
5588
5588
|
const a = this.__data, l = [];
|
|
5589
5589
|
for (let c = 0, u = s.length; c < u; c++) {
|
|
5590
|
-
let { name: d, structured: h, wildcard: m, value:
|
|
5590
|
+
let { name: d, structured: h, wildcard: m, value: b, literal: p } = s[c];
|
|
5591
5591
|
if (!p)
|
|
5592
5592
|
if (m) {
|
|
5593
|
-
const
|
|
5594
|
-
|
|
5595
|
-
path:
|
|
5593
|
+
const g = vt(d, r), y = Ho(a, n, g ? r : d);
|
|
5594
|
+
b = {
|
|
5595
|
+
path: g ? r : d,
|
|
5596
5596
|
value: y,
|
|
5597
|
-
base:
|
|
5597
|
+
base: g ? re(a, d) : y
|
|
5598
5598
|
};
|
|
5599
5599
|
} else
|
|
5600
|
-
|
|
5601
|
-
if (vi && !this._overrideLegacyUndefined &&
|
|
5600
|
+
b = h ? Ho(a, n, d) : a[d];
|
|
5601
|
+
if (vi && !this._overrideLegacyUndefined && b === void 0 && s.length > 1)
|
|
5602
5602
|
return wt;
|
|
5603
|
-
l[c] =
|
|
5603
|
+
l[c] = b;
|
|
5604
5604
|
}
|
|
5605
5605
|
return l;
|
|
5606
5606
|
}
|
|
@@ -5995,9 +5995,9 @@ const Ki = U((o) => {
|
|
|
5995
5995
|
h && (r.hostProps = Object.assign(r.hostProps || {}, h), Ao || (n.parentInfo.noted = !0));
|
|
5996
5996
|
else {
|
|
5997
5997
|
let m = "{";
|
|
5998
|
-
for (let
|
|
5999
|
-
let p = [{ mode: m, source:
|
|
6000
|
-
ii(this, r, n, "property", "_host_" +
|
|
5998
|
+
for (let b in h) {
|
|
5999
|
+
let p = [{ mode: m, source: b, dependencies: [b], hostProp: !0 }];
|
|
6000
|
+
ii(this, r, n, "property", "_host_" + b, p);
|
|
6001
6001
|
}
|
|
6002
6002
|
}
|
|
6003
6003
|
return a;
|
|
@@ -6051,26 +6051,26 @@ const Ki = U((o) => {
|
|
|
6051
6051
|
let n = [], a = 0, l;
|
|
6052
6052
|
for (; (l = Ro.exec(s)) !== null; ) {
|
|
6053
6053
|
l.index > a && n.push({ literal: s.slice(a, l.index) });
|
|
6054
|
-
let c = l[1][0], u = !!l[2], d = l[3].trim(), h = !1, m = "",
|
|
6055
|
-
c == "{" && (
|
|
6056
|
-
let p = oi(d),
|
|
6054
|
+
let c = l[1][0], u = !!l[2], d = l[3].trim(), h = !1, m = "", b = -1;
|
|
6055
|
+
c == "{" && (b = d.indexOf("::")) > 0 && (m = d.substring(b + 2), d = d.substring(0, b), h = !0);
|
|
6056
|
+
let p = oi(d), g = [];
|
|
6057
6057
|
if (p) {
|
|
6058
6058
|
let { args: y, methodName: v } = p;
|
|
6059
6059
|
for (let A = 0; A < y.length; A++) {
|
|
6060
6060
|
let D = y[A];
|
|
6061
|
-
D.literal ||
|
|
6061
|
+
D.literal || g.push(D);
|
|
6062
6062
|
}
|
|
6063
6063
|
let C = r.dynamicFns;
|
|
6064
|
-
(C && C[v] || p.static) && (
|
|
6064
|
+
(C && C[v] || p.static) && (g.push(v), p.dynamicFn = !0);
|
|
6065
6065
|
} else
|
|
6066
|
-
|
|
6066
|
+
g.push(d);
|
|
6067
6067
|
n.push({
|
|
6068
6068
|
source: d,
|
|
6069
6069
|
mode: c,
|
|
6070
6070
|
negate: u,
|
|
6071
6071
|
customEvent: h,
|
|
6072
6072
|
signature: p,
|
|
6073
|
-
dependencies:
|
|
6073
|
+
dependencies: g,
|
|
6074
6074
|
event: m
|
|
6075
6075
|
}), a = Ro.lastIndex;
|
|
6076
6076
|
}
|
|
@@ -6281,7 +6281,7 @@ const ml = U((o) => {
|
|
|
6281
6281
|
* Google as part of the polymer project is also subject to an additional IP
|
|
6282
6282
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6283
6283
|
*/
|
|
6284
|
-
const _l = "3.5.2",
|
|
6284
|
+
const _l = "3.5.2", Yo = window.ShadyCSS && window.ShadyCSS.cssBuild, gl = U((o) => {
|
|
6285
6285
|
const t = ml(Ki(o));
|
|
6286
6286
|
function e(l) {
|
|
6287
6287
|
if (!l.hasOwnProperty(
|
|
@@ -6310,24 +6310,24 @@ const _l = "3.5.2", $o = window.ShadyCSS && window.ShadyCSS.cssBuild, gl = U((o)
|
|
|
6310
6310
|
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);
|
|
6311
6311
|
}
|
|
6312
6312
|
function r(l, c, u, d) {
|
|
6313
|
-
if (
|
|
6314
|
-
const h = c.content.querySelectorAll("style"), m = Ns(c),
|
|
6315
|
-
for (let y = 0; y <
|
|
6316
|
-
let v =
|
|
6313
|
+
if (!Yo) {
|
|
6314
|
+
const h = c.content.querySelectorAll("style"), m = Ns(c), b = ha(u), p = c.content.firstElementChild;
|
|
6315
|
+
for (let y = 0; y < b.length; y++) {
|
|
6316
|
+
let v = b[y];
|
|
6317
6317
|
v.textContent = l._processStyleText(v.textContent, d), c.content.insertBefore(v, p);
|
|
6318
6318
|
}
|
|
6319
|
-
let
|
|
6319
|
+
let g = 0;
|
|
6320
6320
|
for (let y = 0; y < m.length; y++) {
|
|
6321
|
-
let v = m[y], C = h[
|
|
6322
|
-
C !== v ? (v = v.cloneNode(!0), C.parentNode.insertBefore(v, C)) :
|
|
6321
|
+
let v = m[y], C = h[g];
|
|
6322
|
+
C !== v ? (v = v.cloneNode(!0), C.parentNode.insertBefore(v, C)) : g++, v.textContent = l._processStyleText(v.textContent, d);
|
|
6323
6323
|
}
|
|
6324
6324
|
}
|
|
6325
|
-
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(c, u), ra &&
|
|
6325
|
+
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(c, u), ra && Yo && Qn) {
|
|
6326
6326
|
const h = c.content.querySelectorAll("style");
|
|
6327
6327
|
if (h) {
|
|
6328
6328
|
let m = "";
|
|
6329
|
-
Array.from(h).forEach((
|
|
6330
|
-
m +=
|
|
6329
|
+
Array.from(h).forEach((b) => {
|
|
6330
|
+
m += b.textContent, b.parentNode.removeChild(b);
|
|
6331
6331
|
}), l._styleSheet = new CSSStyleSheet(), l._styleSheet.replaceSync(m);
|
|
6332
6332
|
}
|
|
6333
6333
|
}
|
|
@@ -6758,7 +6758,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6758
6758
|
Code distributed by Google as part of the polymer project is also
|
|
6759
6759
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6760
6760
|
*/
|
|
6761
|
-
const
|
|
6761
|
+
const $o = window.trustedTypes && trustedTypes.createPolicy("polymer-html-literal", { createHTML: (o) => o });
|
|
6762
6762
|
class Zs {
|
|
6763
6763
|
/**
|
|
6764
6764
|
* @param {!ITemplateArray} strings Constant parts of tagged template literal
|
|
@@ -6812,7 +6812,7 @@ const Ve = function(t, ...e) {
|
|
|
6812
6812
|
(r, n, a) => r + bl(n) + t[a + 1],
|
|
6813
6813
|
t[0]
|
|
6814
6814
|
);
|
|
6815
|
-
return
|
|
6815
|
+
return $o && (s = $o.createHTML(s)), i.innerHTML = s, i;
|
|
6816
6816
|
}, er = (o, t) => {
|
|
6817
6817
|
if (!Array.isArray(o) || !Array.isArray(o.raw) || t.length !== o.length - 1)
|
|
6818
6818
|
throw new TypeError("Invalid call to the html template tag");
|
|
@@ -6948,7 +6948,7 @@ const xl = (o) => class extends o {
|
|
|
6948
6948
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
6949
6949
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6950
6950
|
*/
|
|
6951
|
-
const wl =
|
|
6951
|
+
const wl = P`
|
|
6952
6952
|
:host {
|
|
6953
6953
|
display: flex;
|
|
6954
6954
|
align-items: center;
|
|
@@ -7020,7 +7020,7 @@ const wl = k`
|
|
|
7020
7020
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7021
7021
|
*/
|
|
7022
7022
|
L("vaadin-input-container", wl, { moduleId: "vaadin-input-container-styles" });
|
|
7023
|
-
class El extends xl(
|
|
7023
|
+
class El extends xl($e(Wt(Oe))) {
|
|
7024
7024
|
static get is() {
|
|
7025
7025
|
return "vaadin-input-container";
|
|
7026
7026
|
}
|
|
@@ -7038,7 +7038,7 @@ be(El);
|
|
|
7038
7038
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7039
7039
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7040
7040
|
*/
|
|
7041
|
-
const Sl =
|
|
7041
|
+
const Sl = P`
|
|
7042
7042
|
:host {
|
|
7043
7043
|
z-index: 200;
|
|
7044
7044
|
position: fixed;
|
|
@@ -7138,7 +7138,7 @@ function Cl(o, t) {
|
|
|
7138
7138
|
const e = Math.max(o.tabIndex, 0), i = Math.max(t.tabIndex, 0);
|
|
7139
7139
|
return e === 0 || i === 0 ? i > e : e > i;
|
|
7140
7140
|
}
|
|
7141
|
-
function
|
|
7141
|
+
function Pl(o, t) {
|
|
7142
7142
|
const e = [];
|
|
7143
7143
|
for (; o.length > 0 && t.length > 0; )
|
|
7144
7144
|
Cl(o[0], t[0]) ? e.push(t.shift()) : e.push(o.shift());
|
|
@@ -7149,12 +7149,12 @@ function Ci(o) {
|
|
|
7149
7149
|
if (t < 2)
|
|
7150
7150
|
return o;
|
|
7151
7151
|
const e = Math.ceil(t / 2), i = Ci(o.slice(0, e)), s = Ci(o.slice(e));
|
|
7152
|
-
return
|
|
7152
|
+
return Pl(i, s);
|
|
7153
7153
|
}
|
|
7154
7154
|
function tr(o) {
|
|
7155
7155
|
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]");
|
|
7156
7156
|
}
|
|
7157
|
-
function
|
|
7157
|
+
function kl(o) {
|
|
7158
7158
|
return o.getRootNode().activeElement === o;
|
|
7159
7159
|
}
|
|
7160
7160
|
function Dl(o) {
|
|
@@ -7190,10 +7190,10 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
7190
7190
|
Code distributed by Google as part of the polymer project is also
|
|
7191
7191
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7192
7192
|
*/
|
|
7193
|
-
let
|
|
7193
|
+
let Pi = !1, Ml = [], or = [];
|
|
7194
7194
|
function Ol() {
|
|
7195
|
-
|
|
7196
|
-
|
|
7195
|
+
Pi = !0, requestAnimationFrame(function() {
|
|
7196
|
+
Pi = !1, Il(Ml), setTimeout(function() {
|
|
7197
7197
|
Fl(or);
|
|
7198
7198
|
});
|
|
7199
7199
|
});
|
|
@@ -7217,18 +7217,18 @@ function sr(o) {
|
|
|
7217
7217
|
}
|
|
7218
7218
|
}
|
|
7219
7219
|
function rr(o, t, e) {
|
|
7220
|
-
|
|
7220
|
+
Pi || Ol(), or.push([o, t, e]);
|
|
7221
7221
|
}
|
|
7222
7222
|
/**
|
|
7223
7223
|
* @license
|
|
7224
7224
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7225
7225
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7226
7226
|
*/
|
|
7227
|
-
const qt = (o) => o.test(navigator.userAgent),
|
|
7227
|
+
const qt = (o) => o.test(navigator.userAgent), ki = (o) => o.test(navigator.platform), Nl = (o) => o.test(navigator.vendor);
|
|
7228
7228
|
qt(/Android/u);
|
|
7229
7229
|
qt(/Chrome/u) && Nl(/Google Inc/u);
|
|
7230
7230
|
qt(/Firefox/u);
|
|
7231
|
-
const zl =
|
|
7231
|
+
const zl = ki(/^iPad/u) || ki(/^Mac/u) && navigator.maxTouchPoints > 1, Ll = ki(/^iPhone/u), nr = Ll || zl;
|
|
7232
7232
|
qt(/^((?!chrome|android).)*safari/iu);
|
|
7233
7233
|
const Rl = (() => {
|
|
7234
7234
|
try {
|
|
@@ -7270,13 +7270,13 @@ const jo = (o) => o && o.nodeType === Node.ELEMENT_NODE, ri = (...o) => {
|
|
|
7270
7270
|
if (!d || l.has(d))
|
|
7271
7271
|
return;
|
|
7272
7272
|
const h = d.shadowRoot;
|
|
7273
|
-
(h ? [...d.children, ...h.children] : [...d.children]).forEach((
|
|
7274
|
-
if (!["template", "script", "style"].includes(
|
|
7275
|
-
if (a.has(
|
|
7276
|
-
u(
|
|
7273
|
+
(h ? [...d.children, ...h.children] : [...d.children]).forEach((b) => {
|
|
7274
|
+
if (!["template", "script", "style"].includes(b.localName))
|
|
7275
|
+
if (a.has(b))
|
|
7276
|
+
u(b);
|
|
7277
7277
|
else {
|
|
7278
|
-
const p =
|
|
7279
|
-
We.set(
|
|
7278
|
+
const p = b.getAttribute(i), g = p !== null && p !== "false", y = (We.get(b) || 0) + 1, v = (r.get(b) || 0) + 1;
|
|
7279
|
+
We.set(b, y), r.set(b, v), n.push(b), y === 1 && g && Tt.set(b, !0), v === 1 && b.setAttribute(e, "true"), g || b.setAttribute(i, "true");
|
|
7280
7280
|
}
|
|
7281
7281
|
});
|
|
7282
7282
|
};
|
|
@@ -7295,7 +7295,7 @@ const jo = (o) => o && o.nodeType === Node.ELEMENT_NODE, ri = (...o) => {
|
|
|
7295
7295
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7296
7296
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7297
7297
|
*/
|
|
7298
|
-
class
|
|
7298
|
+
class Yl {
|
|
7299
7299
|
/**
|
|
7300
7300
|
* @param {HTMLElement} host
|
|
7301
7301
|
*/
|
|
@@ -7326,7 +7326,7 @@ class $l {
|
|
|
7326
7326
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7327
7327
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7328
7328
|
*/
|
|
7329
|
-
class
|
|
7329
|
+
class $l {
|
|
7330
7330
|
/**
|
|
7331
7331
|
* Saves the given node as a target for restoring focus to
|
|
7332
7332
|
* when `restoreFocus()` is called. If no node is provided,
|
|
@@ -7378,7 +7378,7 @@ class jl {
|
|
|
7378
7378
|
*/
|
|
7379
7379
|
get __focusedElementIndex() {
|
|
7380
7380
|
const t = this.__focusableElements;
|
|
7381
|
-
return t.indexOf(t.filter(
|
|
7381
|
+
return t.indexOf(t.filter(kl).pop());
|
|
7382
7382
|
}
|
|
7383
7383
|
hostConnected() {
|
|
7384
7384
|
document.addEventListener("keydown", this.__onKeyDown);
|
|
@@ -7522,7 +7522,7 @@ const Vl = (o) => class extends ot(o) {
|
|
|
7522
7522
|
};
|
|
7523
7523
|
}
|
|
7524
7524
|
constructor() {
|
|
7525
|
-
super(), this.__ariaModalController = new
|
|
7525
|
+
super(), this.__ariaModalController = new Yl(this), this.__focusTrapController = new jl(this), this.__focusRestorationController = new $l();
|
|
7526
7526
|
}
|
|
7527
7527
|
/** @protected */
|
|
7528
7528
|
ready() {
|
|
@@ -7956,8 +7956,8 @@ function Xl(o, t) {
|
|
|
7956
7956
|
const { left: l, top: c, width: u, height: d } = o.getBoundingClientRect();
|
|
7957
7957
|
if (n || t(), !u || !d)
|
|
7958
7958
|
return;
|
|
7959
|
-
const h = Math.floor(c), m = Math.floor(i.clientWidth - (l + u)),
|
|
7960
|
-
rootMargin: `${-h}px ${-m}px ${-
|
|
7959
|
+
const h = Math.floor(c), m = Math.floor(i.clientWidth - (l + u)), b = Math.floor(i.clientHeight - (c + d)), p = Math.floor(l), y = {
|
|
7960
|
+
rootMargin: `${-h}px ${-m}px ${-b}px ${-p}px`,
|
|
7961
7961
|
threshold: Math.max(0, Math.min(1, a)) || 1
|
|
7962
7962
|
};
|
|
7963
7963
|
let v = !0;
|
|
@@ -8251,7 +8251,7 @@ const Ql = (o) => class extends Zl(ql(o)) {
|
|
|
8251
8251
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
8252
8252
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8253
8253
|
*/
|
|
8254
|
-
const ec =
|
|
8254
|
+
const ec = P`
|
|
8255
8255
|
[part='overlay'] {
|
|
8256
8256
|
display: flex;
|
|
8257
8257
|
flex: auto;
|
|
@@ -8275,7 +8275,7 @@ const ec = k`
|
|
|
8275
8275
|
L("vaadin-date-picker-overlay", [Sl, ec], {
|
|
8276
8276
|
moduleId: "vaadin-date-picker-overlay-styles"
|
|
8277
8277
|
});
|
|
8278
|
-
class tc extends Ql(Wt(
|
|
8278
|
+
class tc extends Ql(Wt($e(Oe))) {
|
|
8279
8279
|
static get is() {
|
|
8280
8280
|
return "vaadin-date-picker-overlay";
|
|
8281
8281
|
}
|
|
@@ -8845,7 +8845,7 @@ function uc() {
|
|
|
8845
8845
|
}
|
|
8846
8846
|
Je.splice(0, o), dr += o;
|
|
8847
8847
|
}
|
|
8848
|
-
const
|
|
8848
|
+
const Yt = {
|
|
8849
8849
|
/**
|
|
8850
8850
|
* Returns a sub-module with the async interface providing the provided
|
|
8851
8851
|
* delay.
|
|
@@ -9369,7 +9369,7 @@ class fr extends Re {
|
|
|
9369
9369
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
9370
9370
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9371
9371
|
*/
|
|
9372
|
-
const gc =
|
|
9372
|
+
const gc = P`
|
|
9373
9373
|
:host {
|
|
9374
9374
|
display: inline-block;
|
|
9375
9375
|
position: relative;
|
|
@@ -9479,7 +9479,7 @@ function Ac(o) {
|
|
|
9479
9479
|
if (!(Qi(o) || o === "touchend") && Zi && mr && vc)
|
|
9480
9480
|
return { passive: !0 };
|
|
9481
9481
|
}
|
|
9482
|
-
const Cc = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u),
|
|
9482
|
+
const Cc = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), Pc = {
|
|
9483
9483
|
button: !0,
|
|
9484
9484
|
command: !0,
|
|
9485
9485
|
fieldset: !0,
|
|
@@ -9500,7 +9500,7 @@ function He(o) {
|
|
|
9500
9500
|
}
|
|
9501
9501
|
return (o.button === void 0 ? 0 : o.button) === 0;
|
|
9502
9502
|
}
|
|
9503
|
-
function
|
|
9503
|
+
function kc(o) {
|
|
9504
9504
|
if (o.type === "click") {
|
|
9505
9505
|
if (o.detail === 0)
|
|
9506
9506
|
return !0;
|
|
@@ -9594,7 +9594,7 @@ function Oc(o) {
|
|
|
9594
9594
|
const i = Dc(o);
|
|
9595
9595
|
let s = !1;
|
|
9596
9596
|
const r = Math.abs(we.touch.x - t.clientX), n = Math.abs(we.touch.y - t.clientY);
|
|
9597
|
-
o.cancelable && (i === "none" ? s = !0 : i === "pan-x" ? s = n > r : i === "pan-y" && (s = r > n)), s ? o.preventDefault() :
|
|
9597
|
+
o.cancelable && (i === "none" ? s = !0 : i === "pan-x" ? s = n > r : i === "pan-y" && (s = r > n)), s ? o.preventDefault() : $t("track");
|
|
9598
9598
|
}
|
|
9599
9599
|
}
|
|
9600
9600
|
function ge(o, t, e) {
|
|
@@ -9637,7 +9637,7 @@ function io(o, t, e) {
|
|
|
9637
9637
|
s && s.preventDefault && s.preventDefault();
|
|
9638
9638
|
}
|
|
9639
9639
|
}
|
|
9640
|
-
function
|
|
9640
|
+
function $t(o) {
|
|
9641
9641
|
const t = Fc(o);
|
|
9642
9642
|
t.info && (t.info.prevent = !0);
|
|
9643
9643
|
}
|
|
@@ -9699,7 +9699,7 @@ function lt(o, t, e, i) {
|
|
|
9699
9699
|
sourceEvent: e,
|
|
9700
9700
|
preventer: i,
|
|
9701
9701
|
prevent(s) {
|
|
9702
|
-
return
|
|
9702
|
+
return $t(s);
|
|
9703
9703
|
}
|
|
9704
9704
|
});
|
|
9705
9705
|
}
|
|
@@ -9743,7 +9743,7 @@ to({
|
|
|
9743
9743
|
return;
|
|
9744
9744
|
const t = Me(o), e = this, i = (r) => {
|
|
9745
9745
|
const n = r.clientX, a = r.clientY;
|
|
9746
|
-
Jo(e.info, n, a) && (e.info.state = e.info.started ? r.type === "mouseup" ? "end" : "track" : "start", e.info.state === "start" &&
|
|
9746
|
+
Jo(e.info, n, a) && (e.info.state = e.info.started ? r.type === "mouseup" ? "end" : "track" : "start", e.info.state === "start" && $t("tap"), e.info.addMove({ x: n, y: a }), He(r) || (e.info.state = "end", Xe(e.info)), t && di(e.info, t, r), e.info.started = !0);
|
|
9747
9747
|
}, s = (r) => {
|
|
9748
9748
|
e.info.started && i(r), Xe(e.info);
|
|
9749
9749
|
};
|
|
@@ -9765,7 +9765,7 @@ to({
|
|
|
9765
9765
|
*/
|
|
9766
9766
|
touchmove(o) {
|
|
9767
9767
|
const t = Me(o), e = o.changedTouches[0], i = e.clientX, s = e.clientY;
|
|
9768
|
-
Jo(this.info, i, s) && (this.info.state === "start" &&
|
|
9768
|
+
Jo(this.info, i, s) && (this.info.state === "start" && $t("tap"), this.info.addMove({ x: i, y: s }), di(this.info, t, e), this.info.state = "track", this.info.started = !0);
|
|
9769
9769
|
},
|
|
9770
9770
|
/**
|
|
9771
9771
|
* @this {GestureRecognizer}
|
|
@@ -9860,10 +9860,10 @@ to({
|
|
|
9860
9860
|
});
|
|
9861
9861
|
function Xo(o, t, e) {
|
|
9862
9862
|
const i = Math.abs(t.clientX - o.x), s = Math.abs(t.clientY - o.y), r = Me(e || t);
|
|
9863
|
-
!r ||
|
|
9863
|
+
!r || Pc[
|
|
9864
9864
|
/** @type {!HTMLElement} */
|
|
9865
9865
|
r.localName
|
|
9866
|
-
] && r.hasAttribute("disabled") || (isNaN(i) || isNaN(s) || i <= Ko && s <= Ko ||
|
|
9866
|
+
] && r.hasAttribute("disabled") || (isNaN(i) || isNaN(s) || i <= Ko && s <= Ko || kc(t)) && (o.prevent || io(r, "tap", {
|
|
9867
9867
|
x: t.clientX,
|
|
9868
9868
|
y: t.clientY,
|
|
9869
9869
|
sourceEvent: t,
|
|
@@ -10209,7 +10209,7 @@ const zc = (o) => class extends Nc(yr(oo(o))) {
|
|
|
10209
10209
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10210
10210
|
*/
|
|
10211
10211
|
L("vaadin-button", gc, { moduleId: "vaadin-button-styles" });
|
|
10212
|
-
class Lc extends zc(hr(
|
|
10212
|
+
class Lc extends zc(hr($e(ot(Oe)))) {
|
|
10213
10213
|
static get is() {
|
|
10214
10214
|
return "vaadin-button";
|
|
10215
10215
|
}
|
|
@@ -10293,7 +10293,7 @@ function Hc(o) {
|
|
|
10293
10293
|
const r = e + t(s, i), n = t(o.month + 1), a = t(o.day);
|
|
10294
10294
|
return [r, n, a].join("-");
|
|
10295
10295
|
}
|
|
10296
|
-
function
|
|
10296
|
+
function Yc(o) {
|
|
10297
10297
|
return o instanceof Date ? Hc({
|
|
10298
10298
|
year: o.getFullYear(),
|
|
10299
10299
|
month: o.getMonth(),
|
|
@@ -10401,7 +10401,7 @@ class jt {
|
|
|
10401
10401
|
}
|
|
10402
10402
|
}
|
|
10403
10403
|
let Et = /* @__PURE__ */ new Set();
|
|
10404
|
-
const
|
|
10404
|
+
const $c = function(o) {
|
|
10405
10405
|
Et.add(o);
|
|
10406
10406
|
}, jc = function() {
|
|
10407
10407
|
const o = !!Et.size;
|
|
@@ -10585,7 +10585,7 @@ class Sr extends HTMLElement {
|
|
|
10585
10585
|
const t = this.$.scroller.scrollTop;
|
|
10586
10586
|
(t < this._bufferHeight || t > this._initialScroll * 2 - this._bufferHeight) && (this._initialIndex = ~~this.position, this._reset());
|
|
10587
10587
|
const e = this.itemHeight + this.bufferOffset, i = t > this._buffers[1].translateY + e, s = t < this._buffers[0].translateY + e;
|
|
10588
|
-
(i || s) && (this._translateBuffer(s), this._updateClones()), this._preventScrollEvent || (this.dispatchEvent(new CustomEvent("custom-scroll", { bubbles: !1, composed: !0 })), this._mayHaveMomentum = !0), this._preventScrollEvent = !1, this._debouncerScrollFinish = et.debounce(this._debouncerScrollFinish,
|
|
10588
|
+
(i || s) && (this._translateBuffer(s), this._updateClones()), this._preventScrollEvent || (this.dispatchEvent(new CustomEvent("custom-scroll", { bubbles: !1, composed: !0 })), this._mayHaveMomentum = !0), this._preventScrollEvent = !1, this._debouncerScrollFinish = et.debounce(this._debouncerScrollFinish, Yt.after(200), () => {
|
|
10589
10589
|
const r = this.$.scroller.getBoundingClientRect();
|
|
10590
10590
|
!this._isVisible(this._buffers[0], r) && !this._isVisible(this._buffers[1], r) && (this.position = this.position);
|
|
10591
10591
|
});
|
|
@@ -10594,7 +10594,7 @@ class Sr extends HTMLElement {
|
|
|
10594
10594
|
_reset() {
|
|
10595
10595
|
this._scrollDisabled = !0, this.$.scroller.scrollTop = this._initialScroll, this._buffers[0].translateY = this._initialScroll - this._bufferHeight, this._buffers[1].translateY = this._initialScroll, this._buffers.forEach((t) => {
|
|
10596
10596
|
t.style.transform = `translate3d(0, ${t.translateY}px, 0)`;
|
|
10597
|
-
}), this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones(!0), this._debouncerUpdateClones = et.debounce(this._debouncerUpdateClones,
|
|
10597
|
+
}), this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones(!0), this._debouncerUpdateClones = et.debounce(this._debouncerUpdateClones, Yt.after(200), () => {
|
|
10598
10598
|
this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones();
|
|
10599
10599
|
}), this._scrollDisabled = !1;
|
|
10600
10600
|
}
|
|
@@ -10787,7 +10787,7 @@ const Wc = (o) => class extends o {
|
|
|
10787
10787
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10788
10788
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10789
10789
|
*/
|
|
10790
|
-
class qc extends
|
|
10790
|
+
class qc extends $e(Wc(Oe)) {
|
|
10791
10791
|
static get is() {
|
|
10792
10792
|
return "vaadin-date-picker-year";
|
|
10793
10793
|
}
|
|
@@ -10901,7 +10901,7 @@ Li.prototype = Object.create(HTMLTemplateElement.prototype, {
|
|
|
10901
10901
|
writable: !0
|
|
10902
10902
|
}
|
|
10903
10903
|
});
|
|
10904
|
-
const
|
|
10904
|
+
const Pr = Ki(Li), Gc = ao(Pr);
|
|
10905
10905
|
function Jc(o, t) {
|
|
10906
10906
|
zi = o, Object.setPrototypeOf(o, t.prototype), new t(), zi = null;
|
|
10907
10907
|
}
|
|
@@ -11071,7 +11071,7 @@ function tu(o, t, e, i) {
|
|
|
11071
11071
|
let n = t.templatizeTemplateClass;
|
|
11072
11072
|
if (!n) {
|
|
11073
11073
|
if (r) {
|
|
11074
|
-
let l = e.mutableData ? Gc :
|
|
11074
|
+
let l = e.mutableData ? Gc : Pr;
|
|
11075
11075
|
class c extends l {
|
|
11076
11076
|
}
|
|
11077
11077
|
n = t.templatizeTemplateClass = c;
|
|
@@ -11505,9 +11505,9 @@ class es extends cu {
|
|
|
11505
11505
|
__debounceRender(t, e = 0) {
|
|
11506
11506
|
this.__renderDebouncer = jt.debounce(
|
|
11507
11507
|
this.__renderDebouncer,
|
|
11508
|
-
e > 0 ? va.after(e) :
|
|
11508
|
+
e > 0 ? va.after(e) : $s,
|
|
11509
11509
|
t.bind(this)
|
|
11510
|
-
),
|
|
11510
|
+
), $c(this.__renderDebouncer);
|
|
11511
11511
|
}
|
|
11512
11512
|
/**
|
|
11513
11513
|
* Forces the element to render its content. Normally rendering is
|
|
@@ -11874,7 +11874,7 @@ const uu = (o) => class extends oo(o) {
|
|
|
11874
11874
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11875
11875
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11876
11876
|
*/
|
|
11877
|
-
const du =
|
|
11877
|
+
const du = P`
|
|
11878
11878
|
:host {
|
|
11879
11879
|
display: block;
|
|
11880
11880
|
}
|
|
@@ -11939,7 +11939,7 @@ const du = k`
|
|
|
11939
11939
|
L("vaadin-month-calendar", du, {
|
|
11940
11940
|
moduleId: "vaadin-month-calendar-styles"
|
|
11941
11941
|
});
|
|
11942
|
-
class hu extends uu(
|
|
11942
|
+
class hu extends uu($e(Oe)) {
|
|
11943
11943
|
static get template() {
|
|
11944
11944
|
return Ve`
|
|
11945
11945
|
<div part="month-header" id="month-header" aria-hidden="true">[[_getTitle(month, i18n)]]</div>
|
|
@@ -12053,7 +12053,7 @@ be(hu);
|
|
|
12053
12053
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
12054
12054
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12055
12055
|
*/
|
|
12056
|
-
class
|
|
12056
|
+
class kr {
|
|
12057
12057
|
constructor(t, e) {
|
|
12058
12058
|
this.query = t, this.callback = e, this._boundQueryHandler = this._queryHandler.bind(this);
|
|
12059
12059
|
}
|
|
@@ -12218,7 +12218,7 @@ const pu = (o) => class extends o {
|
|
|
12218
12218
|
/** @protected */
|
|
12219
12219
|
_initControllers() {
|
|
12220
12220
|
this.addController(
|
|
12221
|
-
new
|
|
12221
|
+
new kr(this._desktopMediaQuery, (e) => {
|
|
12222
12222
|
this._desktopMode = e;
|
|
12223
12223
|
})
|
|
12224
12224
|
), this.addController(
|
|
@@ -12404,7 +12404,7 @@ const pu = (o) => class extends o {
|
|
|
12404
12404
|
}
|
|
12405
12405
|
/** @private */
|
|
12406
12406
|
_doIgnoreTaps() {
|
|
12407
|
-
this._ignoreTaps = !0, this._debouncer = et.debounce(this._debouncer,
|
|
12407
|
+
this._ignoreTaps = !0, this._debouncer = et.debounce(this._debouncer, Yt.after(300), () => {
|
|
12408
12408
|
this._ignoreTaps = !1;
|
|
12409
12409
|
});
|
|
12410
12410
|
}
|
|
@@ -12694,7 +12694,7 @@ const pu = (o) => class extends o {
|
|
|
12694
12694
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12695
12695
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12696
12696
|
*/
|
|
12697
|
-
const fu =
|
|
12697
|
+
const fu = P`
|
|
12698
12698
|
:host {
|
|
12699
12699
|
display: flex;
|
|
12700
12700
|
flex-direction: column;
|
|
@@ -12764,7 +12764,7 @@ L("vaadin-date-picker-overlay-content", fu, {
|
|
|
12764
12764
|
moduleId: "vaadin-date-picker-overlay-content-styles"
|
|
12765
12765
|
});
|
|
12766
12766
|
class mu extends pu(
|
|
12767
|
-
ot(
|
|
12767
|
+
ot($e(Wt(Oe)))
|
|
12768
12768
|
) {
|
|
12769
12769
|
static get template() {
|
|
12770
12770
|
return Ve`
|
|
@@ -13450,7 +13450,7 @@ function Eu(o, t = {}) {
|
|
|
13450
13450
|
*/
|
|
13451
13451
|
class co extends Re {
|
|
13452
13452
|
constructor(t, e, i, s = {}) {
|
|
13453
|
-
super(t, e, i,
|
|
13453
|
+
super(t, e, i, Pt(Ct({}, s), { useUniqueId: !0 }));
|
|
13454
13454
|
}
|
|
13455
13455
|
/**
|
|
13456
13456
|
* Override to initialize the newly added custom node.
|
|
@@ -13753,7 +13753,7 @@ class Cu extends co {
|
|
|
13753
13753
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13754
13754
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13755
13755
|
*/
|
|
13756
|
-
const
|
|
13756
|
+
const Pu = U(
|
|
13757
13757
|
(o) => class extends ot(o) {
|
|
13758
13758
|
static get properties() {
|
|
13759
13759
|
return {
|
|
@@ -13868,7 +13868,7 @@ const Ir = U(
|
|
|
13868
13868
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13869
13869
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13870
13870
|
*/
|
|
13871
|
-
const
|
|
13871
|
+
const ku = (o) => class extends Ir(Pu(ot(o))) {
|
|
13872
13872
|
static get properties() {
|
|
13873
13873
|
return {
|
|
13874
13874
|
/**
|
|
@@ -14176,7 +14176,7 @@ const Fr = U(
|
|
|
14176
14176
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14177
14177
|
*/
|
|
14178
14178
|
const Tu = (o) => class extends bu(
|
|
14179
|
-
Dr(Fr(
|
|
14179
|
+
Dr(Fr(ku(vu(Gt(o)))))
|
|
14180
14180
|
) {
|
|
14181
14181
|
static get properties() {
|
|
14182
14182
|
return {
|
|
@@ -14308,7 +14308,7 @@ const Tu = (o) => class extends bu(
|
|
|
14308
14308
|
}
|
|
14309
14309
|
/** @protected */
|
|
14310
14310
|
_markInputPrevented() {
|
|
14311
|
-
this.setAttribute("input-prevented", ""), this._preventInputDebouncer = et.debounce(this._preventInputDebouncer,
|
|
14311
|
+
this.setAttribute("input-prevented", ""), this._preventInputDebouncer = et.debounce(this._preventInputDebouncer, Yt.after(200), () => {
|
|
14312
14312
|
this.removeAttribute("input-prevented");
|
|
14313
14313
|
});
|
|
14314
14314
|
}
|
|
@@ -14412,7 +14412,7 @@ class Ou {
|
|
|
14412
14412
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14413
14413
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14414
14414
|
*/
|
|
14415
|
-
const Iu =
|
|
14415
|
+
const Iu = P`
|
|
14416
14416
|
[part='clear-button'] {
|
|
14417
14417
|
display: none;
|
|
14418
14418
|
cursor: default;
|
|
@@ -14431,7 +14431,7 @@ const Iu = k`
|
|
|
14431
14431
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14432
14432
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14433
14433
|
*/
|
|
14434
|
-
const Fu =
|
|
14434
|
+
const Fu = P`
|
|
14435
14435
|
:host {
|
|
14436
14436
|
display: inline-flex;
|
|
14437
14437
|
outline: none;
|
|
@@ -14471,7 +14471,7 @@ const Fu = k`
|
|
|
14471
14471
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14472
14472
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14473
14473
|
*/
|
|
14474
|
-
const Nu =
|
|
14474
|
+
const Nu = P`
|
|
14475
14475
|
[class$='container'] {
|
|
14476
14476
|
display: flex;
|
|
14477
14477
|
flex-direction: column;
|
|
@@ -14937,7 +14937,7 @@ const Bu = (o) => class extends Lu(
|
|
|
14937
14937
|
/** @protected */
|
|
14938
14938
|
ready() {
|
|
14939
14939
|
super.ready(), this.addEventListener("click", this._boundOnClick), this.addController(
|
|
14940
|
-
new
|
|
14940
|
+
new kr(this._fullscreenMediaQuery, (i) => {
|
|
14941
14941
|
this._fullscreen = i;
|
|
14942
14942
|
})
|
|
14943
14943
|
), this.addController(new Ru(this));
|
|
@@ -15098,7 +15098,7 @@ const Bu = (o) => class extends Lu(
|
|
|
15098
15098
|
}
|
|
15099
15099
|
/** @private */
|
|
15100
15100
|
_formatISO(e) {
|
|
15101
|
-
return
|
|
15101
|
+
return Yc(e);
|
|
15102
15102
|
}
|
|
15103
15103
|
/** @protected */
|
|
15104
15104
|
_inputElementChanged(e) {
|
|
@@ -15330,7 +15330,7 @@ const Bu = (o) => class extends Lu(
|
|
|
15330
15330
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
15331
15331
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15332
15332
|
*/
|
|
15333
|
-
const Hu =
|
|
15333
|
+
const Hu = P`
|
|
15334
15334
|
:host([opened]) {
|
|
15335
15335
|
pointer-events: auto;
|
|
15336
15336
|
}
|
|
@@ -15350,7 +15350,7 @@ const Hu = k`
|
|
|
15350
15350
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15351
15351
|
*/
|
|
15352
15352
|
L("vaadin-date-picker", [zu, Hu], { moduleId: "vaadin-date-picker-styles" });
|
|
15353
|
-
class
|
|
15353
|
+
class Yu extends Bu(Tu($e(hr(Oe)))) {
|
|
15354
15354
|
static get is() {
|
|
15355
15355
|
return "vaadin-date-picker";
|
|
15356
15356
|
}
|
|
@@ -15438,7 +15438,7 @@ class $u extends Bu(Tu(Ye(hr(Oe)))) {
|
|
|
15438
15438
|
super._openedChanged(t), this.$.overlay.positionTarget = this.shadowRoot.querySelector('[part="input-field"]'), this.$.overlay.noVerticalOverlap = !0;
|
|
15439
15439
|
}
|
|
15440
15440
|
}
|
|
15441
|
-
be(
|
|
15441
|
+
be(Yu);
|
|
15442
15442
|
var Nr = { exports: {} };
|
|
15443
15443
|
(function(o, t) {
|
|
15444
15444
|
(function(e, i) {
|
|
@@ -15447,29 +15447,29 @@ var Nr = { exports: {} };
|
|
|
15447
15447
|
var e = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, i = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, s = /\d\d/, r = /\d\d?/, n = /\d*[^-_:/,()\s\d]+/, a = {}, l = function(p) {
|
|
15448
15448
|
return (p = +p) + (p > 68 ? 1900 : 2e3);
|
|
15449
15449
|
}, c = function(p) {
|
|
15450
|
-
return function(
|
|
15451
|
-
this[p] = +
|
|
15450
|
+
return function(g) {
|
|
15451
|
+
this[p] = +g;
|
|
15452
15452
|
};
|
|
15453
15453
|
}, u = [/[+-]\d\d:?(\d\d)?|Z/, function(p) {
|
|
15454
|
-
(this.zone || (this.zone = {})).offset = function(
|
|
15455
|
-
if (!
|
|
15454
|
+
(this.zone || (this.zone = {})).offset = function(g) {
|
|
15455
|
+
if (!g || g === "Z")
|
|
15456
15456
|
return 0;
|
|
15457
|
-
var y =
|
|
15457
|
+
var y = g.match(/([+-]|\d\d)/g), v = 60 * y[1] + (+y[2] || 0);
|
|
15458
15458
|
return v === 0 ? 0 : y[0] === "+" ? -v : v;
|
|
15459
15459
|
}(p);
|
|
15460
15460
|
}], d = function(p) {
|
|
15461
|
-
var
|
|
15462
|
-
return
|
|
15463
|
-
}, h = function(p,
|
|
15461
|
+
var g = a[p];
|
|
15462
|
+
return g && (g.indexOf ? g : g.s.concat(g.f));
|
|
15463
|
+
}, h = function(p, g) {
|
|
15464
15464
|
var y, v = a.meridiem;
|
|
15465
15465
|
if (v) {
|
|
15466
15466
|
for (var C = 1; C <= 24; C += 1)
|
|
15467
|
-
if (p.indexOf(v(C, 0,
|
|
15467
|
+
if (p.indexOf(v(C, 0, g)) > -1) {
|
|
15468
15468
|
y = C > 12;
|
|
15469
15469
|
break;
|
|
15470
15470
|
}
|
|
15471
15471
|
} else
|
|
15472
|
-
y = p === (
|
|
15472
|
+
y = p === (g ? "pm" : "PM");
|
|
15473
15473
|
return y;
|
|
15474
15474
|
}, m = { A: [n, function(p) {
|
|
15475
15475
|
this.afternoon = h(p, !1);
|
|
@@ -15482,86 +15482,86 @@ var Nr = { exports: {} };
|
|
|
15482
15482
|
}], SSS: [/\d{3}/, function(p) {
|
|
15483
15483
|
this.milliseconds = +p;
|
|
15484
15484
|
}], s: [r, c("seconds")], ss: [r, c("seconds")], m: [r, c("minutes")], mm: [r, c("minutes")], H: [r, c("hours")], h: [r, c("hours")], HH: [r, c("hours")], hh: [r, c("hours")], D: [r, c("day")], DD: [s, c("day")], Do: [n, function(p) {
|
|
15485
|
-
var
|
|
15486
|
-
if (this.day = y[0],
|
|
15485
|
+
var g = a.ordinal, y = p.match(/\d+/);
|
|
15486
|
+
if (this.day = y[0], g)
|
|
15487
15487
|
for (var v = 1; v <= 31; v += 1)
|
|
15488
|
-
|
|
15488
|
+
g(v).replace(/\[|\]/g, "") === p && (this.day = v);
|
|
15489
15489
|
}], M: [r, c("month")], MM: [s, c("month")], MMM: [n, function(p) {
|
|
15490
|
-
var
|
|
15490
|
+
var g = d("months"), y = (d("monthsShort") || g.map(function(v) {
|
|
15491
15491
|
return v.slice(0, 3);
|
|
15492
15492
|
})).indexOf(p) + 1;
|
|
15493
15493
|
if (y < 1)
|
|
15494
15494
|
throw new Error();
|
|
15495
15495
|
this.month = y % 12 || y;
|
|
15496
15496
|
}], MMMM: [n, function(p) {
|
|
15497
|
-
var
|
|
15498
|
-
if (
|
|
15497
|
+
var g = d("months").indexOf(p) + 1;
|
|
15498
|
+
if (g < 1)
|
|
15499
15499
|
throw new Error();
|
|
15500
|
-
this.month =
|
|
15500
|
+
this.month = g % 12 || g;
|
|
15501
15501
|
}], Y: [/[+-]?\d+/, c("year")], YY: [s, function(p) {
|
|
15502
15502
|
this.year = l(p);
|
|
15503
15503
|
}], YYYY: [/\d{4}/, c("year")], Z: u, ZZ: u };
|
|
15504
|
-
function
|
|
15505
|
-
var
|
|
15506
|
-
|
|
15507
|
-
for (var v = (p =
|
|
15504
|
+
function b(p) {
|
|
15505
|
+
var g, y;
|
|
15506
|
+
g = p, y = a && a.formats;
|
|
15507
|
+
for (var v = (p = g.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(B, T, I) {
|
|
15508
15508
|
var F = I && I.toUpperCase();
|
|
15509
|
-
return T || y[I] || e[I] || y[F].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(
|
|
15509
|
+
return T || y[I] || e[I] || y[F].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(Z, H, ae) {
|
|
15510
15510
|
return H || ae.slice(1);
|
|
15511
15511
|
});
|
|
15512
15512
|
})).match(i), C = v.length, A = 0; A < C; A += 1) {
|
|
15513
|
-
var D = v[A], X = m[D], R = X && X[0],
|
|
15514
|
-
v[A] =
|
|
15513
|
+
var D = v[A], X = m[D], R = X && X[0], $ = X && X[1];
|
|
15514
|
+
v[A] = $ ? { regex: R, parser: $ } : D.replace(/^\[|\]$/g, "");
|
|
15515
15515
|
}
|
|
15516
15516
|
return function(B) {
|
|
15517
15517
|
for (var T = {}, I = 0, F = 0; I < C; I += 1) {
|
|
15518
|
-
var
|
|
15519
|
-
if (typeof
|
|
15520
|
-
F +=
|
|
15518
|
+
var Z = v[I];
|
|
15519
|
+
if (typeof Z == "string")
|
|
15520
|
+
F += Z.length;
|
|
15521
15521
|
else {
|
|
15522
|
-
var H =
|
|
15522
|
+
var H = Z.regex, ae = Z.parser, pe = B.slice(F), q = H.exec(pe)[0];
|
|
15523
15523
|
ae.call(T, q), B = B.replace(q, "");
|
|
15524
15524
|
}
|
|
15525
15525
|
}
|
|
15526
15526
|
return function(ee) {
|
|
15527
15527
|
var j = ee.afternoon;
|
|
15528
15528
|
if (j !== void 0) {
|
|
15529
|
-
var
|
|
15530
|
-
j ?
|
|
15529
|
+
var Y = ee.hours;
|
|
15530
|
+
j ? Y < 12 && (ee.hours += 12) : Y === 12 && (ee.hours = 0), delete ee.afternoon;
|
|
15531
15531
|
}
|
|
15532
15532
|
}(T), T;
|
|
15533
15533
|
};
|
|
15534
15534
|
}
|
|
15535
|
-
return function(p,
|
|
15535
|
+
return function(p, g, y) {
|
|
15536
15536
|
y.p.customParseFormat = !0, p && p.parseTwoDigitYear && (l = p.parseTwoDigitYear);
|
|
15537
|
-
var v =
|
|
15537
|
+
var v = g.prototype, C = v.parse;
|
|
15538
15538
|
v.parse = function(A) {
|
|
15539
15539
|
var D = A.date, X = A.utc, R = A.args;
|
|
15540
15540
|
this.$u = X;
|
|
15541
|
-
var
|
|
15542
|
-
if (typeof
|
|
15541
|
+
var $ = R[1];
|
|
15542
|
+
if (typeof $ == "string") {
|
|
15543
15543
|
var B = R[2] === !0, T = R[3] === !0, I = B || T, F = R[2];
|
|
15544
15544
|
T && (F = R[2]), a = this.$locale(), !B && F && (a = y.Ls[F]), this.$d = function(pe, q, ee) {
|
|
15545
15545
|
try {
|
|
15546
15546
|
if (["x", "X"].indexOf(q) > -1)
|
|
15547
15547
|
return new Date((q === "X" ? 1e3 : 1) * pe);
|
|
15548
|
-
var j =
|
|
15549
|
-
|
|
15550
|
-
var ve = Ae || 0, fe = Ce || 0,
|
|
15551
|
-
return
|
|
15548
|
+
var j = b(q)(pe), Y = j.year, te = j.month, _e = j.day, Ae = j.hours, Ce = j.minutes, Fe = j.seconds, Pe = j.milliseconds, ke = j.zone, oe = /* @__PURE__ */ new Date(), se = _e || (Y || te ? 1 : oe.getDate()), N = Y || oe.getFullYear(), z = 0;
|
|
15549
|
+
Y && !te || (z = te > 0 ? te - 1 : oe.getMonth());
|
|
15550
|
+
var ve = Ae || 0, fe = Ce || 0, Q = Fe || 0, le = Pe || 0;
|
|
15551
|
+
return ke ? new Date(Date.UTC(N, z, se, ve, fe, Q, le + 60 * ke.offset * 1e3)) : ee ? new Date(Date.UTC(N, z, se, ve, fe, Q, le)) : new Date(N, z, se, ve, fe, Q, le);
|
|
15552
15552
|
} catch (x) {
|
|
15553
15553
|
return /* @__PURE__ */ new Date("");
|
|
15554
15554
|
}
|
|
15555
|
-
}(D,
|
|
15556
|
-
} else if (
|
|
15557
|
-
for (var
|
|
15558
|
-
R[1] =
|
|
15555
|
+
}(D, $, X), this.init(), F && F !== !0 && (this.$L = this.locale(F).$L), I && D != this.format($) && (this.$d = /* @__PURE__ */ new Date("")), a = {};
|
|
15556
|
+
} else if ($ instanceof Array)
|
|
15557
|
+
for (var Z = $.length, H = 1; H <= Z; H += 1) {
|
|
15558
|
+
R[1] = $[H - 1];
|
|
15559
15559
|
var ae = y.apply(this, R);
|
|
15560
15560
|
if (ae.isValid()) {
|
|
15561
15561
|
this.$d = ae.$d, this.$L = ae.$L, this.init();
|
|
15562
15562
|
break;
|
|
15563
15563
|
}
|
|
15564
|
-
H ===
|
|
15564
|
+
H === Z && (this.$d = /* @__PURE__ */ new Date(""));
|
|
15565
15565
|
}
|
|
15566
15566
|
else
|
|
15567
15567
|
C.call(this, A);
|
|
@@ -15569,8 +15569,8 @@ var Nr = { exports: {} };
|
|
|
15569
15569
|
};
|
|
15570
15570
|
});
|
|
15571
15571
|
})(Nr);
|
|
15572
|
-
var
|
|
15573
|
-
const ju = /* @__PURE__ */ Ur(
|
|
15572
|
+
var $u = Nr.exports;
|
|
15573
|
+
const ju = /* @__PURE__ */ Ur($u);
|
|
15574
15574
|
function ts(o, t) {
|
|
15575
15575
|
Wr(o, t);
|
|
15576
15576
|
}
|
|
@@ -15963,100 +15963,100 @@ function os(o, t, e) {
|
|
|
15963
15963
|
function Wu(o) {
|
|
15964
15964
|
let t, e, i, s, r = (
|
|
15965
15965
|
/*$_*/
|
|
15966
|
-
o[
|
|
15966
|
+
o[21]("titleSelfExclusion") + ""
|
|
15967
15967
|
), n, a, l, c, u = (
|
|
15968
15968
|
/*$_*/
|
|
15969
|
-
o[
|
|
15969
|
+
o[21]("selfExclusionText", {
|
|
15970
15970
|
values: {
|
|
15971
15971
|
operatorname: (
|
|
15972
15972
|
/*operator*/
|
|
15973
|
-
o[
|
|
15973
|
+
o[2]
|
|
15974
15974
|
),
|
|
15975
15975
|
baseurl: (
|
|
15976
15976
|
/*baseurl*/
|
|
15977
|
-
o[
|
|
15977
|
+
o[4]
|
|
15978
15978
|
),
|
|
15979
15979
|
lang: (
|
|
15980
15980
|
/*lang*/
|
|
15981
|
-
o[
|
|
15981
|
+
o[1]
|
|
15982
15982
|
)
|
|
15983
15983
|
}
|
|
15984
15984
|
}) + ""
|
|
15985
15985
|
), d, h, m = (
|
|
15986
15986
|
/*$_*/
|
|
15987
|
-
o[
|
|
15988
|
-
),
|
|
15987
|
+
o[21]("selfExclusionEmailText") + ""
|
|
15988
|
+
), b, p, g, y, v, C, A, D, X, R = (
|
|
15989
15989
|
/*$_*/
|
|
15990
|
-
o[
|
|
15991
|
-
o[
|
|
15992
|
-
),
|
|
15990
|
+
o[21](`${/*selectedPeriodKey*/
|
|
15991
|
+
o[14]}`) + ""
|
|
15992
|
+
), $, B, T, I, F, Z, H, ae, pe, q, ee, j, Y, te = (
|
|
15993
15993
|
/*$_*/
|
|
15994
|
-
o[
|
|
15995
|
-
), _e, Ae, Ce, Fe,
|
|
15994
|
+
o[21]("save") + ""
|
|
15995
|
+
), _e, Ae, Ce, Fe, Pe, ke, oe = (
|
|
15996
15996
|
/*isMobile*/
|
|
15997
|
-
o[
|
|
15997
|
+
o[23] && Ku(o)
|
|
15998
15998
|
), se = fo(
|
|
15999
15999
|
/*selfExclusionPeriods*/
|
|
16000
|
-
o[
|
|
16000
|
+
o[10]
|
|
16001
16001
|
), N = [];
|
|
16002
16002
|
for (let x = 0; x < se.length; x += 1)
|
|
16003
16003
|
N[x] = ss(os(o, se, x));
|
|
16004
16004
|
let z = (
|
|
16005
16005
|
/*isUntilDate*/
|
|
16006
|
-
o[
|
|
16006
|
+
o[17] && rs(o)
|
|
16007
16007
|
);
|
|
16008
16008
|
function ve(x, M) {
|
|
16009
16009
|
return (
|
|
16010
16010
|
/*isPermanentSelfExclusion*/
|
|
16011
|
-
x[
|
|
16011
|
+
x[16] ? Xu : (
|
|
16012
16012
|
/*isDateSelected*/
|
|
16013
|
-
x[
|
|
16013
|
+
x[18] ? Gu : Ju
|
|
16014
16014
|
)
|
|
16015
16015
|
);
|
|
16016
16016
|
}
|
|
16017
|
-
let fe = ve(o),
|
|
16017
|
+
let fe = ve(o), Q = fe(o), le = (
|
|
16018
16018
|
/*showConfirmationModal*/
|
|
16019
|
-
o[
|
|
16019
|
+
o[24] && Zu(o)
|
|
16020
16020
|
);
|
|
16021
16021
|
return {
|
|
16022
16022
|
c() {
|
|
16023
|
-
t = w("div"), e = w("form"), oe && oe.c(), i = O(), s = w("h2"), n = ne(r), a = O(), l = w("div"), c = w("p"), d = O(), h = w("p"),
|
|
16023
|
+
t = w("div"), e = w("form"), oe && oe.c(), i = O(), s = w("h2"), n = ne(r), a = O(), l = w("div"), c = w("p"), d = O(), h = w("p"), b = ne(m), p = O(), g = w("a"), y = ne(
|
|
16024
16024
|
/*supportemail*/
|
|
16025
|
-
o[
|
|
16026
|
-
), C = O(), A = w("div"), D = w("div"), X = w("p"),
|
|
16025
|
+
o[3]
|
|
16026
|
+
), C = O(), A = w("div"), D = w("div"), X = w("p"), $ = ne(R), B = O(), T = Ee("svg"), I = Ee("g"), F = Ee("path"), Z = O(), H = w("div");
|
|
16027
16027
|
for (let x = 0; x < N.length; x += 1)
|
|
16028
16028
|
N[x].c();
|
|
16029
|
-
ae = O(), z && z.c(), pe = O(), q = w("div"),
|
|
16030
|
-
(o[
|
|
16031
|
-
o[
|
|
16032
|
-
(o[
|
|
16029
|
+
ae = O(), z && z.c(), pe = O(), q = w("div"), Q.c(), ee = O(), j = w("div"), Y = w("button"), _e = ne(te), Fe = O(), le && le.c(), E(s, "class", "PlayerSelfExclusionTitle " + /*isMobile*/
|
|
16030
|
+
(o[23] ? "PlayerSelfExclusionTitleNone" : "")), E(c, "class", "SelfExclusionDescriptionText"), E(g, "href", v = "mailto:" + /*supportemail*/
|
|
16031
|
+
o[3]), E(h, "class", "SelfExclusionDescriptionText"), E(l, "class", "SelfExclusionDescription " + /*isMobile*/
|
|
16032
|
+
(o[23] ? "SelfExclusionDescriptionMobile" : "")), E(F, "d", "M 90 24.25 c 0 -0.896 -0.342 -1.792 -1.025 -2.475 c -1.366 -1.367 -3.583 -1.367 -4.949 0 L 45 60.8 L 5.975 21.775 c -1.367 -1.367 -3.583 -1.367 -4.95 0 c -1.366 1.367 -1.366 3.583 0 4.95 l 41.5 41.5 c 1.366 1.367 3.583 1.367 4.949 0 l 41.5 -41.5 C 89.658 26.042 90 25.146 90 24.25 z"), E(F, "stroke-linecap", "round"), E(T, "xmlns", "http://www.w3.org/2000/svg"), E(T, "xmlns:xlink", "http://www.w3.org/1999/xlink"), E(T, "version", "1.1"), E(T, "viewBox", "0 0 100 100"), E(T, "xml:space", "preserve"), E(T, "class", "SelfExclusionConfigIcon"), Ue(
|
|
16033
16033
|
T,
|
|
16034
16034
|
"active",
|
|
16035
16035
|
/*isPeriodDropDownToggled*/
|
|
16036
|
-
o[
|
|
16036
|
+
o[19]
|
|
16037
16037
|
), E(D, "class", "SelfExclusionConfigLabel"), E(H, "class", "SelfExclusionDropDown"), Ue(
|
|
16038
16038
|
H,
|
|
16039
16039
|
"active",
|
|
16040
16040
|
/*isPeriodDropDownToggled*/
|
|
16041
|
-
o[
|
|
16041
|
+
o[19]
|
|
16042
16042
|
), E(A, "class", "SelfExclusionConfigWrapper " + /*isMobile*/
|
|
16043
|
-
(o[
|
|
16043
|
+
(o[23] ? "SelfExclusionConfigWrapperMobile" : "")), Ue(
|
|
16044
16044
|
A,
|
|
16045
16045
|
"active",
|
|
16046
16046
|
/*isPeriodDropDownToggled*/
|
|
16047
|
-
o[
|
|
16047
|
+
o[19]
|
|
16048
16048
|
), E(q, "class", "SelfExclusionDescription " + /*isMobile*/
|
|
16049
|
-
(o[
|
|
16050
|
-
(o[
|
|
16051
|
-
o[
|
|
16052
|
-
(o[
|
|
16053
|
-
(o[
|
|
16049
|
+
(o[23] ? "SelfExclusionDescriptionMobile" : "")), E(Y, "class", Ae = "SelfExclusionSave " + /*isDateSelected*/
|
|
16050
|
+
(o[18] ? "active" : "")), Y.disabled = Ce = !/*isDateSelected*/
|
|
16051
|
+
o[18], E(j, "class", "SelfExclusionActionButtons " + /*isMobile*/
|
|
16052
|
+
(o[23] ? "SelfExclusionActionButtonsMobile" : "")), E(e, "class", "SelfExclusionWrapper " + /*isMobile*/
|
|
16053
|
+
(o[23] ? "SelfExclusionWrapperMobile" : "")), E(t, "class", "SelfExclusionContainer");
|
|
16054
16054
|
},
|
|
16055
16055
|
m(x, M) {
|
|
16056
|
-
de(x, t, M), f(t, e), oe && oe.m(e, null), f(e, i), f(e, s), f(s, n), f(e, a), f(e, l), f(l, c), c.innerHTML = u, f(l, d), f(l, h), f(h,
|
|
16056
|
+
de(x, t, M), f(t, e), oe && oe.m(e, null), f(e, i), f(e, s), f(s, n), f(e, a), f(e, l), f(l, c), c.innerHTML = u, f(l, d), f(l, h), f(h, b), f(h, p), f(h, g), f(g, y), f(e, C), f(e, A), f(A, D), f(D, X), f(X, $), f(D, B), f(D, T), f(T, I), f(I, F), f(A, Z), f(A, H);
|
|
16057
16057
|
for (let V = 0; V < N.length; V += 1)
|
|
16058
16058
|
N[V] && N[V].m(H, null);
|
|
16059
|
-
f(e, ae), z && z.m(e, null), f(e, pe), f(e, q),
|
|
16059
|
+
f(e, ae), z && z.m(e, null), f(e, pe), f(e, q), Q.m(q, null), f(e, ee), f(e, j), f(j, Y), f(Y, _e), f(t, Fe), le && le.m(t, null), Pe || (ke = [
|
|
16060
16060
|
Nt(
|
|
16061
16061
|
D,
|
|
16062
16062
|
"click",
|
|
@@ -16064,59 +16064,59 @@ function Wu(o) {
|
|
|
16064
16064
|
o[37]
|
|
16065
16065
|
),
|
|
16066
16066
|
Nt(
|
|
16067
|
-
|
|
16067
|
+
Y,
|
|
16068
16068
|
"click",
|
|
16069
16069
|
/*click_handler_3*/
|
|
16070
16070
|
o[40]
|
|
16071
16071
|
)
|
|
16072
|
-
],
|
|
16072
|
+
], Pe = !0);
|
|
16073
16073
|
},
|
|
16074
16074
|
p(x, M) {
|
|
16075
16075
|
if (
|
|
16076
16076
|
/*isMobile*/
|
|
16077
|
-
x[
|
|
16078
|
-
|
|
16079
|
-
x[
|
|
16080
|
-
|
|
16081
|
-
x[
|
|
16077
|
+
x[23] && oe.p(x, M), M[0] & /*$_*/
|
|
16078
|
+
2097152 && r !== (r = /*$_*/
|
|
16079
|
+
x[21]("titleSelfExclusion") + "") && ue(n, r), M[0] & /*$_, operator, baseurl, lang*/
|
|
16080
|
+
2097174 && u !== (u = /*$_*/
|
|
16081
|
+
x[21]("selfExclusionText", {
|
|
16082
16082
|
values: {
|
|
16083
16083
|
operatorname: (
|
|
16084
16084
|
/*operator*/
|
|
16085
|
-
x[
|
|
16085
|
+
x[2]
|
|
16086
16086
|
),
|
|
16087
16087
|
baseurl: (
|
|
16088
16088
|
/*baseurl*/
|
|
16089
|
-
x[
|
|
16089
|
+
x[4]
|
|
16090
16090
|
),
|
|
16091
16091
|
lang: (
|
|
16092
16092
|
/*lang*/
|
|
16093
|
-
x[
|
|
16093
|
+
x[1]
|
|
16094
16094
|
)
|
|
16095
16095
|
}
|
|
16096
16096
|
}) + "") && (c.innerHTML = u), M[0] & /*$_*/
|
|
16097
|
-
|
|
16098
|
-
x[
|
|
16099
|
-
|
|
16097
|
+
2097152 && m !== (m = /*$_*/
|
|
16098
|
+
x[21]("selfExclusionEmailText") + "") && ue(b, m), M[0] & /*supportemail*/
|
|
16099
|
+
8 && ue(
|
|
16100
16100
|
y,
|
|
16101
16101
|
/*supportemail*/
|
|
16102
|
-
x[
|
|
16102
|
+
x[3]
|
|
16103
16103
|
), M[0] & /*supportemail*/
|
|
16104
|
-
|
|
16105
|
-
x[
|
|
16106
|
-
|
|
16107
|
-
x[
|
|
16108
|
-
x[
|
|
16109
|
-
|
|
16104
|
+
8 && v !== (v = "mailto:" + /*supportemail*/
|
|
16105
|
+
x[3]) && E(g, "href", v), M[0] & /*$_, selectedPeriodKey*/
|
|
16106
|
+
2113536 && R !== (R = /*$_*/
|
|
16107
|
+
x[21](`${/*selectedPeriodKey*/
|
|
16108
|
+
x[14]}`) + "") && ue($, R), M[0] & /*isPeriodDropDownToggled*/
|
|
16109
|
+
524288 && Ue(
|
|
16110
16110
|
T,
|
|
16111
16111
|
"active",
|
|
16112
16112
|
/*isPeriodDropDownToggled*/
|
|
16113
|
-
x[
|
|
16113
|
+
x[19]
|
|
16114
16114
|
), M[0] & /*selectPeriod, selfExclusionPeriods, $_*/
|
|
16115
|
-
|
|
16115
|
+
69207040
|
|
16116
16116
|
) {
|
|
16117
16117
|
se = fo(
|
|
16118
16118
|
/*selfExclusionPeriods*/
|
|
16119
|
-
x[
|
|
16119
|
+
x[10]
|
|
16120
16120
|
);
|
|
16121
16121
|
let V;
|
|
16122
16122
|
for (V = 0; V < se.length; V += 1) {
|
|
@@ -16128,127 +16128,127 @@ function Wu(o) {
|
|
|
16128
16128
|
N.length = se.length;
|
|
16129
16129
|
}
|
|
16130
16130
|
M[0] & /*isPeriodDropDownToggled*/
|
|
16131
|
-
|
|
16131
|
+
524288 && Ue(
|
|
16132
16132
|
H,
|
|
16133
16133
|
"active",
|
|
16134
16134
|
/*isPeriodDropDownToggled*/
|
|
16135
|
-
x[
|
|
16135
|
+
x[19]
|
|
16136
16136
|
), M[0] & /*isPeriodDropDownToggled*/
|
|
16137
|
-
|
|
16137
|
+
524288 && Ue(
|
|
16138
16138
|
A,
|
|
16139
16139
|
"active",
|
|
16140
16140
|
/*isPeriodDropDownToggled*/
|
|
16141
|
-
x[
|
|
16141
|
+
x[19]
|
|
16142
16142
|
), /*isUntilDate*/
|
|
16143
|
-
x[
|
|
16144
|
-
|
|
16145
|
-
x[
|
|
16146
|
-
|
|
16147
|
-
(x[
|
|
16148
|
-
|
|
16149
|
-
x[
|
|
16150
|
-
x[
|
|
16143
|
+
x[17] ? z ? z.p(x, M) : (z = rs(x), z.c(), z.m(e, pe)) : z && (z.d(1), z = null), fe === (fe = ve(x)) && Q ? Q.p(x, M) : (Q.d(1), Q = fe(x), Q && (Q.c(), Q.m(q, null))), M[0] & /*$_*/
|
|
16144
|
+
2097152 && te !== (te = /*$_*/
|
|
16145
|
+
x[21]("save") + "") && ue(_e, te), M[0] & /*isDateSelected*/
|
|
16146
|
+
262144 && Ae !== (Ae = "SelfExclusionSave " + /*isDateSelected*/
|
|
16147
|
+
(x[18] ? "active" : "")) && E(Y, "class", Ae), M[0] & /*isDateSelected*/
|
|
16148
|
+
262144 && Ce !== (Ce = !/*isDateSelected*/
|
|
16149
|
+
x[18]) && (Y.disabled = Ce), /*showConfirmationModal*/
|
|
16150
|
+
x[24] && le.p(x, M);
|
|
16151
16151
|
},
|
|
16152
16152
|
d(x) {
|
|
16153
|
-
x && he(t), oe && oe.d(), nn(N, x), z && z.d(),
|
|
16153
|
+
x && he(t), oe && oe.d(), nn(N, x), z && z.d(), Q.d(), le && le.d(), Pe = !1, an(ke);
|
|
16154
16154
|
}
|
|
16155
16155
|
};
|
|
16156
16156
|
}
|
|
16157
16157
|
function qu(o) {
|
|
16158
|
-
let t, e, i, s, r, n, a, l, c, u, d, h, m,
|
|
16158
|
+
let t, e, i, s, r, n, a, l, c, u, d, h, m, b, p, g, y, v, C, A, D;
|
|
16159
16159
|
function X(B, T) {
|
|
16160
16160
|
return (
|
|
16161
16161
|
/*isMobile*/
|
|
16162
|
-
B[
|
|
16162
|
+
B[23] ? ed : Qu
|
|
16163
16163
|
);
|
|
16164
16164
|
}
|
|
16165
|
-
let
|
|
16165
|
+
let $ = X(o)(o);
|
|
16166
16166
|
return {
|
|
16167
16167
|
c() {
|
|
16168
|
-
t = w("div"), e = w("div"),
|
|
16168
|
+
t = w("div"), e = w("div"), $.c(), i = O(), s = w("div"), r = w("ui-skeleton"), n = O(), a = w("div"), l = O(), c = w("ui-skeleton"), u = O(), d = w("div"), h = O(), m = w("div"), b = w("ui-skeleton"), p = O(), g = w("div"), y = O(), v = w("ui-skeleton"), C = O(), A = w("div"), D = w("ui-skeleton"), S(r, "structure", "text"), S(
|
|
16169
16169
|
r,
|
|
16170
16170
|
"height",
|
|
16171
16171
|
/*isMobile*/
|
|
16172
|
-
o[
|
|
16172
|
+
o[23] ? "15px" : "20px"
|
|
16173
16173
|
), S(r, "rows", "6"), S(r, "width", "100%"), Jt(
|
|
16174
16174
|
a,
|
|
16175
16175
|
"height",
|
|
16176
16176
|
/*isMobile*/
|
|
16177
|
-
o[
|
|
16177
|
+
o[23] ? "10px" : "20px"
|
|
16178
16178
|
), S(c, "structure", "text"), S(
|
|
16179
16179
|
c,
|
|
16180
16180
|
"height",
|
|
16181
16181
|
/*isMobile*/
|
|
16182
|
-
o[
|
|
16183
|
-
), S(c, "width", "30%"), Jt(d, "height", "10px"), E(s, "class", "SelfExclusionDescription"), S(
|
|
16184
|
-
|
|
16182
|
+
o[23] ? "15px" : "20px"
|
|
16183
|
+
), S(c, "width", "30%"), Jt(d, "height", "10px"), E(s, "class", "SelfExclusionDescription"), S(b, "structure", "rectangle"), S(
|
|
16184
|
+
b,
|
|
16185
16185
|
"width",
|
|
16186
16186
|
/*isMobile*/
|
|
16187
|
-
o[
|
|
16187
|
+
o[23] ? "100%" : "50%"
|
|
16188
16188
|
), S(
|
|
16189
|
-
|
|
16189
|
+
b,
|
|
16190
16190
|
"height",
|
|
16191
16191
|
/*isMobile*/
|
|
16192
|
-
o[
|
|
16192
|
+
o[23] ? "30px" : "44px"
|
|
16193
16193
|
), Jt(
|
|
16194
|
-
|
|
16194
|
+
g,
|
|
16195
16195
|
"height",
|
|
16196
16196
|
/*isMobile*/
|
|
16197
|
-
o[
|
|
16197
|
+
o[23] ? "15px" : "20px"
|
|
16198
16198
|
), S(v, "structure", "text"), S(
|
|
16199
16199
|
v,
|
|
16200
16200
|
"height",
|
|
16201
16201
|
/*isMobile*/
|
|
16202
|
-
o[
|
|
16202
|
+
o[23] ? "15px" : "20px"
|
|
16203
16203
|
), S(v, "width", "30%"), E(m, "class", "SelfExclusionConfig"), S(D, "structure", "rectangle"), S(D, "width", "100%"), S(
|
|
16204
16204
|
D,
|
|
16205
16205
|
"height",
|
|
16206
16206
|
/*isMobile*/
|
|
16207
|
-
o[
|
|
16207
|
+
o[23] ? "35px" : "50px"
|
|
16208
16208
|
), E(A, "class", "SelfExclusionActionButtons " + /*isMobile*/
|
|
16209
|
-
(o[
|
|
16210
|
-
(o[
|
|
16209
|
+
(o[23] ? "SelfExclusionActionButtonsMobile" : "")), E(e, "class", "SelfExclusionWrapper " + /*isMobile*/
|
|
16210
|
+
(o[23] ? "SelfExclusionWrapperMobile" : "")), E(t, "class", "SelfExclusionContainer");
|
|
16211
16211
|
},
|
|
16212
16212
|
m(B, T) {
|
|
16213
|
-
de(B, t, T), f(t, e),
|
|
16213
|
+
de(B, t, T), f(t, e), $.m(e, null), f(e, i), f(e, s), f(s, r), f(s, n), f(s, a), f(s, l), f(s, c), f(s, u), f(s, d), f(e, h), f(e, m), f(m, b), f(m, p), f(m, g), f(m, y), f(m, v), f(e, C), f(e, A), f(A, D);
|
|
16214
16214
|
},
|
|
16215
16215
|
p: mi,
|
|
16216
16216
|
d(B) {
|
|
16217
|
-
B && he(t),
|
|
16217
|
+
B && he(t), $.d();
|
|
16218
16218
|
}
|
|
16219
16219
|
};
|
|
16220
16220
|
}
|
|
16221
16221
|
function Ku(o) {
|
|
16222
16222
|
let t, e, i, s, r, n, a, l, c, u, d = (
|
|
16223
16223
|
/*$_*/
|
|
16224
|
-
o[
|
|
16225
|
-
), h, m,
|
|
16224
|
+
o[21]("titleSelfExclusion") + ""
|
|
16225
|
+
), h, m, b;
|
|
16226
16226
|
return {
|
|
16227
16227
|
c() {
|
|
16228
16228
|
t = w("div"), e = Ee("svg"), i = Ee("defs"), s = Ee("style"), r = ne(".aaa{fill:var(--emw--color-primary, #22B04E);}"), n = Ee("g"), a = Ee("g"), l = Ee("path"), c = O(), u = w("h2"), h = ne(d), E(l, "class", "aaa"), E(l, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), E(l, "transform", "translate(15 15) rotate(180)"), E(a, "transform", "translate(20 158)"), E(n, "transform", "translate(-20 -158)"), E(e, "xmlns", "http://www.w3.org/2000/svg"), E(e, "width", "15"), E(e, "height", "15"), E(e, "viewBox", "0 0 15 15"), E(u, "class", "PlayerSelfExclusionTitleMobile"), E(t, "class", "MenuReturnButton");
|
|
16229
16229
|
},
|
|
16230
|
-
m(p,
|
|
16231
|
-
de(p, t,
|
|
16230
|
+
m(p, g) {
|
|
16231
|
+
de(p, t, g), f(t, e), f(e, i), f(i, s), f(s, r), f(e, n), f(n, a), f(a, l), f(t, c), f(t, u), f(u, h), m || (b = Nt(
|
|
16232
16232
|
t,
|
|
16233
16233
|
"click",
|
|
16234
16234
|
/*click_handler*/
|
|
16235
16235
|
o[36]
|
|
16236
16236
|
), m = !0);
|
|
16237
16237
|
},
|
|
16238
|
-
p(p,
|
|
16239
|
-
|
|
16240
|
-
|
|
16241
|
-
p[
|
|
16238
|
+
p(p, g) {
|
|
16239
|
+
g[0] & /*$_*/
|
|
16240
|
+
2097152 && d !== (d = /*$_*/
|
|
16241
|
+
p[21]("titleSelfExclusion") + "") && ue(h, d);
|
|
16242
16242
|
},
|
|
16243
16243
|
d(p) {
|
|
16244
|
-
p && he(t), m = !1,
|
|
16244
|
+
p && he(t), m = !1, b();
|
|
16245
16245
|
}
|
|
16246
16246
|
};
|
|
16247
16247
|
}
|
|
16248
16248
|
function ss(o) {
|
|
16249
16249
|
let t, e = (
|
|
16250
16250
|
/*$_*/
|
|
16251
|
-
o[
|
|
16251
|
+
o[21](`${/*period*/
|
|
16252
16252
|
o[56].key}`) + ""
|
|
16253
16253
|
), i, s, r;
|
|
16254
16254
|
function n() {
|
|
@@ -16269,8 +16269,8 @@ function ss(o) {
|
|
|
16269
16269
|
},
|
|
16270
16270
|
p(a, l) {
|
|
16271
16271
|
o = a, l[0] & /*$_, selfExclusionPeriods*/
|
|
16272
|
-
|
|
16273
|
-
o[
|
|
16272
|
+
2098176 && e !== (e = /*$_*/
|
|
16273
|
+
o[21](`${/*period*/
|
|
16274
16274
|
o[56].key}`) + "") && ue(i, e);
|
|
16275
16275
|
},
|
|
16276
16276
|
d(a) {
|
|
@@ -16281,60 +16281,60 @@ function ss(o) {
|
|
|
16281
16281
|
function rs(o) {
|
|
16282
16282
|
let t, e, i = (
|
|
16283
16283
|
/*$_*/
|
|
16284
|
-
o[
|
|
16284
|
+
o[21]("duration") + ""
|
|
16285
16285
|
), s, r, n, a = (
|
|
16286
16286
|
/*$_*/
|
|
16287
|
-
o[
|
|
16288
|
-
), l, c, u, d, h, m,
|
|
16287
|
+
o[21]("dateInstructions") + ""
|
|
16288
|
+
), l, c, u, d, h, m, b;
|
|
16289
16289
|
return {
|
|
16290
16290
|
c() {
|
|
16291
16291
|
t = w("div"), e = w("label"), s = ne(i), r = O(), n = w("span"), l = ne(a), c = O(), u = w("strong"), d = ne(
|
|
16292
16292
|
/*validDateformat*/
|
|
16293
|
-
o[
|
|
16294
|
-
), h = w("strong"), m = O(),
|
|
16295
|
-
|
|
16293
|
+
o[22]
|
|
16294
|
+
), h = w("strong"), m = O(), b = w("vaadin-date-picker"), E(e, "for", "SelfExclusionDate"), E(n, "class", "SelfExclusionDateInstructions"), S(
|
|
16295
|
+
b,
|
|
16296
16296
|
"min",
|
|
16297
16297
|
/*minDate*/
|
|
16298
|
-
o[
|
|
16298
|
+
o[11]
|
|
16299
16299
|
), S(
|
|
16300
|
-
|
|
16300
|
+
b,
|
|
16301
16301
|
"max",
|
|
16302
16302
|
/*maxDate*/
|
|
16303
|
-
o[
|
|
16303
|
+
o[12]
|
|
16304
16304
|
), S(
|
|
16305
|
-
|
|
16305
|
+
b,
|
|
16306
16306
|
"value",
|
|
16307
16307
|
/*selfExclusionExpiryDate*/
|
|
16308
|
-
o[
|
|
16308
|
+
o[13]
|
|
16309
16309
|
), E(t, "class", "SelfExclusionDateWrapper " + /*isMobile*/
|
|
16310
|
-
(o[
|
|
16310
|
+
(o[23] ? "SelfExclusionDateWrapperMobile" : ""));
|
|
16311
16311
|
},
|
|
16312
|
-
m(p,
|
|
16313
|
-
de(p, t,
|
|
16312
|
+
m(p, g) {
|
|
16313
|
+
de(p, t, g), f(t, e), f(e, s), f(t, r), f(t, n), f(n, l), f(n, c), f(n, u), f(u, d), f(u, h), f(t, m), f(t, b), o[39](b);
|
|
16314
16314
|
},
|
|
16315
|
-
p(p,
|
|
16316
|
-
|
|
16317
|
-
|
|
16318
|
-
p[
|
|
16319
|
-
|
|
16320
|
-
p[
|
|
16321
|
-
|
|
16322
|
-
|
|
16315
|
+
p(p, g) {
|
|
16316
|
+
g[0] & /*$_*/
|
|
16317
|
+
2097152 && i !== (i = /*$_*/
|
|
16318
|
+
p[21]("duration") + "") && ue(s, i), g[0] & /*$_*/
|
|
16319
|
+
2097152 && a !== (a = /*$_*/
|
|
16320
|
+
p[21]("dateInstructions") + "") && ue(l, a), g[0] & /*minDate*/
|
|
16321
|
+
2048 && S(
|
|
16322
|
+
b,
|
|
16323
16323
|
"min",
|
|
16324
16324
|
/*minDate*/
|
|
16325
|
-
p[10]
|
|
16326
|
-
), _[0] & /*maxDate*/
|
|
16327
|
-
2048 && S(
|
|
16328
|
-
g,
|
|
16329
|
-
"max",
|
|
16330
|
-
/*maxDate*/
|
|
16331
16325
|
p[11]
|
|
16332
|
-
),
|
|
16326
|
+
), g[0] & /*maxDate*/
|
|
16333
16327
|
4096 && S(
|
|
16334
|
-
|
|
16328
|
+
b,
|
|
16329
|
+
"max",
|
|
16330
|
+
/*maxDate*/
|
|
16331
|
+
p[12]
|
|
16332
|
+
), g[0] & /*selfExclusionExpiryDate*/
|
|
16333
|
+
8192 && S(
|
|
16334
|
+
b,
|
|
16335
16335
|
"value",
|
|
16336
16336
|
/*selfExclusionExpiryDate*/
|
|
16337
|
-
p[
|
|
16337
|
+
p[13]
|
|
16338
16338
|
);
|
|
16339
16339
|
},
|
|
16340
16340
|
d(p) {
|
|
@@ -16345,14 +16345,14 @@ function rs(o) {
|
|
|
16345
16345
|
function Gu(o) {
|
|
16346
16346
|
let t, e, i = (
|
|
16347
16347
|
/*$_*/
|
|
16348
|
-
o[
|
|
16348
|
+
o[21]("temporarySelfExclusion", {
|
|
16349
16349
|
values: {
|
|
16350
16350
|
date: xe(
|
|
16351
16351
|
/*selfExclusionExpiryDate*/
|
|
16352
|
-
o[
|
|
16352
|
+
o[13]
|
|
16353
16353
|
).format(
|
|
16354
16354
|
/*validDateformat*/
|
|
16355
|
-
o[
|
|
16355
|
+
o[22]
|
|
16356
16356
|
)
|
|
16357
16357
|
}
|
|
16358
16358
|
}) + ""
|
|
@@ -16366,15 +16366,15 @@ function Gu(o) {
|
|
|
16366
16366
|
},
|
|
16367
16367
|
p(r, n) {
|
|
16368
16368
|
n[0] & /*$_, selfExclusionExpiryDate*/
|
|
16369
|
-
|
|
16370
|
-
r[
|
|
16369
|
+
2105344 && i !== (i = /*$_*/
|
|
16370
|
+
r[21]("temporarySelfExclusion", {
|
|
16371
16371
|
values: {
|
|
16372
16372
|
date: xe(
|
|
16373
16373
|
/*selfExclusionExpiryDate*/
|
|
16374
|
-
r[
|
|
16374
|
+
r[13]
|
|
16375
16375
|
).format(
|
|
16376
16376
|
/*validDateformat*/
|
|
16377
|
-
r[
|
|
16377
|
+
r[22]
|
|
16378
16378
|
)
|
|
16379
16379
|
}
|
|
16380
16380
|
}) + "") && ue(s, i);
|
|
@@ -16387,7 +16387,7 @@ function Gu(o) {
|
|
|
16387
16387
|
function Ju(o) {
|
|
16388
16388
|
let t, e, i = (
|
|
16389
16389
|
/*$_*/
|
|
16390
|
-
o[
|
|
16390
|
+
o[21]("noPeriodSelected") + ""
|
|
16391
16391
|
), s;
|
|
16392
16392
|
return {
|
|
16393
16393
|
c() {
|
|
@@ -16398,8 +16398,8 @@ function Ju(o) {
|
|
|
16398
16398
|
},
|
|
16399
16399
|
p(r, n) {
|
|
16400
16400
|
n[0] & /*$_*/
|
|
16401
|
-
|
|
16402
|
-
r[
|
|
16401
|
+
2097152 && i !== (i = /*$_*/
|
|
16402
|
+
r[21]("noPeriodSelected") + "") && ue(s, i);
|
|
16403
16403
|
},
|
|
16404
16404
|
d(r) {
|
|
16405
16405
|
r && he(t);
|
|
@@ -16409,7 +16409,7 @@ function Ju(o) {
|
|
|
16409
16409
|
function Xu(o) {
|
|
16410
16410
|
let t, e, i = (
|
|
16411
16411
|
/*$_*/
|
|
16412
|
-
o[
|
|
16412
|
+
o[21]("permanentSelfExclusion") + ""
|
|
16413
16413
|
), s;
|
|
16414
16414
|
return {
|
|
16415
16415
|
c() {
|
|
@@ -16420,8 +16420,8 @@ function Xu(o) {
|
|
|
16420
16420
|
},
|
|
16421
16421
|
p(r, n) {
|
|
16422
16422
|
n[0] & /*$_*/
|
|
16423
|
-
|
|
16424
|
-
r[
|
|
16423
|
+
2097152 && i !== (i = /*$_*/
|
|
16424
|
+
r[21]("permanentSelfExclusion") + "") && ue(s, i);
|
|
16425
16425
|
},
|
|
16426
16426
|
d(r) {
|
|
16427
16427
|
r && he(t);
|
|
@@ -16429,88 +16429,109 @@ function Xu(o) {
|
|
|
16429
16429
|
};
|
|
16430
16430
|
}
|
|
16431
16431
|
function Zu(o) {
|
|
16432
|
-
let t, e, i;
|
|
16432
|
+
let t, e, i, s;
|
|
16433
16433
|
return {
|
|
16434
16434
|
c() {
|
|
16435
16435
|
t = w("player-account-modal"), e = w("player-account-general-confirmation-modal"), S(e, "modaltitle", i = /*$_*/
|
|
16436
|
-
o[
|
|
16436
|
+
o[21]("confirmationModalTitle")), S(
|
|
16437
16437
|
e,
|
|
16438
16438
|
"modaltext",
|
|
16439
16439
|
/*confirmationModalText*/
|
|
16440
|
-
o[
|
|
16441
|
-
), S(e, "hascancelbutton", !1), S(e, "modalconfirmevent",
|
|
16440
|
+
o[15]
|
|
16441
|
+
), S(e, "hascancelbutton", !1), S(e, "modalconfirmevent", s = {
|
|
16442
|
+
type: "setSelfExclusion",
|
|
16443
|
+
userid: (
|
|
16444
|
+
/*userid*/
|
|
16445
|
+
o[0]
|
|
16446
|
+
),
|
|
16447
|
+
selectedPeriodKey: (
|
|
16448
|
+
/*selectedPeriodKey*/
|
|
16449
|
+
o[14]
|
|
16450
|
+
)
|
|
16451
|
+
}), S(
|
|
16442
16452
|
e,
|
|
16443
16453
|
"mbsource",
|
|
16444
16454
|
/*mbsource*/
|
|
16445
|
-
o[
|
|
16455
|
+
o[7]
|
|
16446
16456
|
), S(
|
|
16447
16457
|
e,
|
|
16448
16458
|
"lang",
|
|
16449
16459
|
/*lang*/
|
|
16450
|
-
o[
|
|
16460
|
+
o[1]
|
|
16451
16461
|
), S(
|
|
16452
16462
|
t,
|
|
16453
16463
|
"clientstyling",
|
|
16454
16464
|
/*clientstyling*/
|
|
16455
|
-
o[
|
|
16465
|
+
o[5]
|
|
16456
16466
|
), S(
|
|
16457
16467
|
t,
|
|
16458
16468
|
"clientstylingurl",
|
|
16459
16469
|
/*clientstylingurl*/
|
|
16460
|
-
o[
|
|
16470
|
+
o[6]
|
|
16461
16471
|
), S(
|
|
16462
16472
|
t,
|
|
16463
16473
|
"mbsource",
|
|
16464
16474
|
/*mbsource*/
|
|
16465
|
-
o[
|
|
16475
|
+
o[7]
|
|
16466
16476
|
), S(t, "showmodaleventname", "ShowSelfExclusionConfirmationModal");
|
|
16467
16477
|
},
|
|
16468
|
-
m(
|
|
16469
|
-
de(
|
|
16478
|
+
m(r, n) {
|
|
16479
|
+
de(r, t, n), f(t, e);
|
|
16470
16480
|
},
|
|
16471
|
-
p(
|
|
16472
|
-
|
|
16473
|
-
|
|
16474
|
-
|
|
16475
|
-
|
|
16481
|
+
p(r, n) {
|
|
16482
|
+
n[0] & /*$_*/
|
|
16483
|
+
2097152 && i !== (i = /*$_*/
|
|
16484
|
+
r[21]("confirmationModalTitle")) && S(e, "modaltitle", i), n[0] & /*confirmationModalText*/
|
|
16485
|
+
32768 && S(
|
|
16476
16486
|
e,
|
|
16477
16487
|
"modaltext",
|
|
16478
16488
|
/*confirmationModalText*/
|
|
16479
|
-
|
|
16480
|
-
),
|
|
16481
|
-
|
|
16489
|
+
r[15]
|
|
16490
|
+
), n[0] & /*userid, selectedPeriodKey*/
|
|
16491
|
+
16385 && s !== (s = {
|
|
16492
|
+
type: "setSelfExclusion",
|
|
16493
|
+
userid: (
|
|
16494
|
+
/*userid*/
|
|
16495
|
+
r[0]
|
|
16496
|
+
),
|
|
16497
|
+
selectedPeriodKey: (
|
|
16498
|
+
/*selectedPeriodKey*/
|
|
16499
|
+
r[14]
|
|
16500
|
+
)
|
|
16501
|
+
}) && S(e, "modalconfirmevent", s), n[0] & /*mbsource*/
|
|
16502
|
+
128 && S(
|
|
16482
16503
|
e,
|
|
16483
16504
|
"mbsource",
|
|
16484
16505
|
/*mbsource*/
|
|
16485
|
-
|
|
16486
|
-
),
|
|
16487
|
-
|
|
16506
|
+
r[7]
|
|
16507
|
+
), n[0] & /*lang*/
|
|
16508
|
+
2 && S(
|
|
16488
16509
|
e,
|
|
16489
16510
|
"lang",
|
|
16490
16511
|
/*lang*/
|
|
16491
|
-
|
|
16492
|
-
),
|
|
16493
|
-
|
|
16512
|
+
r[1]
|
|
16513
|
+
), n[0] & /*clientstyling*/
|
|
16514
|
+
32 && S(
|
|
16494
16515
|
t,
|
|
16495
16516
|
"clientstyling",
|
|
16496
16517
|
/*clientstyling*/
|
|
16497
|
-
|
|
16498
|
-
),
|
|
16499
|
-
|
|
16518
|
+
r[5]
|
|
16519
|
+
), n[0] & /*clientstylingurl*/
|
|
16520
|
+
64 && S(
|
|
16500
16521
|
t,
|
|
16501
16522
|
"clientstylingurl",
|
|
16502
16523
|
/*clientstylingurl*/
|
|
16503
|
-
|
|
16504
|
-
),
|
|
16505
|
-
|
|
16524
|
+
r[6]
|
|
16525
|
+
), n[0] & /*mbsource*/
|
|
16526
|
+
128 && S(
|
|
16506
16527
|
t,
|
|
16507
16528
|
"mbsource",
|
|
16508
16529
|
/*mbsource*/
|
|
16509
|
-
|
|
16530
|
+
r[7]
|
|
16510
16531
|
);
|
|
16511
16532
|
},
|
|
16512
|
-
d(
|
|
16513
|
-
|
|
16533
|
+
d(r) {
|
|
16534
|
+
r && he(t);
|
|
16514
16535
|
}
|
|
16515
16536
|
};
|
|
16516
16537
|
}
|
|
@@ -16547,7 +16568,7 @@ function td(o) {
|
|
|
16547
16568
|
function e(r, n) {
|
|
16548
16569
|
return (
|
|
16549
16570
|
/*skeletonLoading*/
|
|
16550
|
-
r[
|
|
16571
|
+
r[20] ? qu : Wu
|
|
16551
16572
|
);
|
|
16552
16573
|
}
|
|
16553
16574
|
let i = e(o), s = i(o);
|
|
@@ -16570,8 +16591,8 @@ function td(o) {
|
|
|
16570
16591
|
}
|
|
16571
16592
|
function id(o, t, e) {
|
|
16572
16593
|
let i;
|
|
16573
|
-
Qr(o, ln, (
|
|
16574
|
-
let { endpoint: s = "", session: r = "", userid: n = "", lang: a = "en", gmversion: l = "", operator: c = "Everymatrix", supportemail: u = "", baseurl: d = "", clientstyling: h = "", clientstylingurl: m = "", mbsource:
|
|
16594
|
+
Qr(o, ln, (_) => e(21, i = _)), xe.extend(ju);
|
|
16595
|
+
let { endpoint: s = "", session: r = "", userid: n = "", lang: a = "en", gmversion: l = "", operator: c = "Everymatrix", supportemail: u = "", baseurl: d = "", clientstyling: h = "", clientstylingurl: m = "", mbsource: b, translationurl: p = "", hasconfirmationmodal: g = "false", dateformat: y = "DD/MM/YYYY", sendnotificationemail: v = "false" } = t, C, A, D = [], X = {}, R = y.toUpperCase(), $ = window.navigator.userAgent, B, T, I = "", F = "", Z = "selectAPeriod", H = "", ae = "", pe = en($) !== "PC", q = !1, ee = !1, j = !1, Y = !1, te = g === "true", _e = !0;
|
|
16575
16596
|
const Ae = () => {
|
|
16576
16597
|
fetch(p).then((K) => K.json()).then((K) => {
|
|
16577
16598
|
Object.keys(K).forEach((G) => {
|
|
@@ -16581,19 +16602,19 @@ function id(o, t, e) {
|
|
|
16581
16602
|
console.log(K);
|
|
16582
16603
|
});
|
|
16583
16604
|
};
|
|
16584
|
-
Object.keys(is).forEach((
|
|
16585
|
-
ts(
|
|
16605
|
+
Object.keys(is).forEach((_) => {
|
|
16606
|
+
ts(_, is[_]);
|
|
16586
16607
|
});
|
|
16587
16608
|
const Ce = () => {
|
|
16588
|
-
let
|
|
16589
|
-
fetch(
|
|
16609
|
+
let _ = new URL(`${s}/v1/player/selfExclusionSettings`);
|
|
16610
|
+
fetch(_, {
|
|
16590
16611
|
method: "GET",
|
|
16591
16612
|
headers: {
|
|
16592
16613
|
"Content-Type": "application/json",
|
|
16593
16614
|
Accept: "application/json"
|
|
16594
16615
|
}
|
|
16595
|
-
}).then((G) =>
|
|
16596
|
-
e(
|
|
16616
|
+
}).then((G) => Pe(G)).then((G) => {
|
|
16617
|
+
e(10, D = G.periods);
|
|
16597
16618
|
}).catch((G) => {
|
|
16598
16619
|
console.log(G), window.postMessage(
|
|
16599
16620
|
{
|
|
@@ -16603,56 +16624,56 @@ function id(o, t, e) {
|
|
|
16603
16624
|
window.location.href
|
|
16604
16625
|
);
|
|
16605
16626
|
}).finally(() => {
|
|
16606
|
-
e(
|
|
16627
|
+
e(20, _e = !1);
|
|
16607
16628
|
});
|
|
16608
|
-
}, Fe = (
|
|
16609
|
-
|
|
16610
|
-
},
|
|
16629
|
+
}, Fe = (_) => {
|
|
16630
|
+
_.data.type === "setSelfExclusion" && (e(0, n = _.data.userid), e(14, Z = _.data.selectedPeriodKey), z());
|
|
16631
|
+
}, Pe = (_) => st(this, null, function* () {
|
|
16611
16632
|
var K;
|
|
16612
|
-
if (!
|
|
16613
|
-
X = yield
|
|
16633
|
+
if (!_.ok) {
|
|
16634
|
+
X = yield _.json(), ae = (K = X.thirdPartyResponse) == null ? void 0 : K.errorCode;
|
|
16614
16635
|
const G = i(ae || "generalError");
|
|
16615
16636
|
throw new Error(G);
|
|
16616
16637
|
}
|
|
16617
|
-
return
|
|
16618
|
-
}),
|
|
16619
|
-
e(
|
|
16620
|
-
}, oe = (
|
|
16621
|
-
switch (F =
|
|
16638
|
+
return _.json();
|
|
16639
|
+
}), ke = () => {
|
|
16640
|
+
e(19, Y = !Y);
|
|
16641
|
+
}, oe = (_) => {
|
|
16642
|
+
switch (F = _.text, e(14, Z = _.key), e(18, j = !0), e(19, Y = !1), e(16, q = !1), e(17, ee = !1), F) {
|
|
16622
16643
|
case "Until":
|
|
16623
|
-
e(
|
|
16644
|
+
e(17, ee = !0), e(11, B = xe().add(6, "months").format("YYYY-MM-DD")), e(12, T = xe().add(5, "years").format("YYYY-MM-DD")), e(13, I = B);
|
|
16624
16645
|
break;
|
|
16625
16646
|
case "Permanent":
|
|
16626
|
-
e(
|
|
16647
|
+
e(16, q = !q);
|
|
16627
16648
|
break;
|
|
16628
16649
|
default:
|
|
16629
16650
|
const [K, G] = F.split(" "), Ne = G.includes("Day") ? "days" : G.includes("Month") ? "months" : G.includes("Year") ? "years" : null;
|
|
16630
16651
|
if (!Ne)
|
|
16631
16652
|
return;
|
|
16632
|
-
e(
|
|
16653
|
+
e(13, I = xe().add(Number(K), Ne).format("YYYY-MM-DD"));
|
|
16633
16654
|
break;
|
|
16634
16655
|
}
|
|
16635
16656
|
te && se();
|
|
16636
16657
|
}, se = () => {
|
|
16637
16658
|
if (!te || !F || !I) {
|
|
16638
|
-
e(
|
|
16659
|
+
e(15, H = "");
|
|
16639
16660
|
return;
|
|
16640
16661
|
}
|
|
16641
|
-
e(
|
|
16662
|
+
e(15, H = ee ? i("confirmationModalTextUntilSelfExclusion", {
|
|
16642
16663
|
values: {
|
|
16643
16664
|
date: xe(I).format(R)
|
|
16644
16665
|
}
|
|
16645
16666
|
}) : i("confirmationModalTextPeriodSelfExclusion", { values: { period: i(F) } }));
|
|
16646
|
-
}, N = (
|
|
16647
|
-
|
|
16667
|
+
}, N = (_) => {
|
|
16668
|
+
_.preventDefault(), te ? (se(), window.postMessage(
|
|
16648
16669
|
{
|
|
16649
16670
|
type: "ShowSelfExclusionConfirmationModal"
|
|
16650
16671
|
},
|
|
16651
16672
|
window.location.href
|
|
16652
16673
|
)) : z();
|
|
16653
16674
|
}, z = () => {
|
|
16654
|
-
e(
|
|
16655
|
-
const
|
|
16675
|
+
e(20, _e = !0);
|
|
16676
|
+
const _ = new URL(`${s}/v2/player/${n}/limits${l === "gm16" ? "/session" : ""}`), G = {
|
|
16656
16677
|
method: "PUT",
|
|
16657
16678
|
headers: {
|
|
16658
16679
|
"X-SessionID": r,
|
|
@@ -16661,14 +16682,14 @@ function id(o, t, e) {
|
|
|
16661
16682
|
},
|
|
16662
16683
|
body: JSON.stringify({
|
|
16663
16684
|
selfExclusion: {
|
|
16664
|
-
period:
|
|
16685
|
+
period: Z,
|
|
16665
16686
|
expiryDate: I,
|
|
16666
16687
|
selfExclusionReason: "UserRequest",
|
|
16667
16688
|
sendNotificationEmail: v === "true"
|
|
16668
16689
|
}
|
|
16669
16690
|
})
|
|
16670
16691
|
};
|
|
16671
|
-
fetch(
|
|
16692
|
+
fetch(_.href, G).then((Ne) => Pe(Ne)).then((Ne) => {
|
|
16672
16693
|
window.postMessage(
|
|
16673
16694
|
{
|
|
16674
16695
|
type: "WidgetNotification",
|
|
@@ -16691,7 +16712,7 @@ function id(o, t, e) {
|
|
|
16691
16712
|
window.location.href
|
|
16692
16713
|
);
|
|
16693
16714
|
}).finally(() => {
|
|
16694
|
-
e(
|
|
16715
|
+
e(20, _e = !1);
|
|
16695
16716
|
});
|
|
16696
16717
|
}, ve = () => {
|
|
16697
16718
|
window.postMessage(
|
|
@@ -16701,15 +16722,15 @@ function id(o, t, e) {
|
|
|
16701
16722
|
},
|
|
16702
16723
|
window.location.href
|
|
16703
16724
|
);
|
|
16704
|
-
}, fe = (
|
|
16705
|
-
e(
|
|
16706
|
-
},
|
|
16725
|
+
}, fe = (_) => {
|
|
16726
|
+
e(13, I = _.target.value);
|
|
16727
|
+
}, Q = () => {
|
|
16707
16728
|
A.addEventListener("change", fe, !1), e(
|
|
16708
|
-
|
|
16709
|
-
A.i18n =
|
|
16710
|
-
formatDate: (
|
|
16711
|
-
parseDate: (
|
|
16712
|
-
const K = xe(
|
|
16729
|
+
9,
|
|
16730
|
+
A.i18n = Pt(Ct({}, A.i18n), {
|
|
16731
|
+
formatDate: (_) => xe(new Date(_.year, _.month, _.day)).format(R),
|
|
16732
|
+
parseDate: (_) => {
|
|
16733
|
+
const K = xe(_, R);
|
|
16713
16734
|
return {
|
|
16714
16735
|
year: K.year(),
|
|
16715
16736
|
month: K.month(),
|
|
@@ -16725,65 +16746,65 @@ function id(o, t, e) {
|
|
|
16725
16746
|
}));
|
|
16726
16747
|
const le = () => {
|
|
16727
16748
|
Vu(a);
|
|
16728
|
-
}, x = () => ve(), M = () =>
|
|
16729
|
-
function At(
|
|
16730
|
-
po[
|
|
16731
|
-
A =
|
|
16749
|
+
}, x = () => ve(), M = () => ke(), V = (_) => oe(_);
|
|
16750
|
+
function At(_) {
|
|
16751
|
+
po[_ ? "unshift" : "push"](() => {
|
|
16752
|
+
A = _, e(9, A);
|
|
16732
16753
|
});
|
|
16733
16754
|
}
|
|
16734
|
-
const Lr = (
|
|
16735
|
-
function Rr(
|
|
16736
|
-
po[
|
|
16737
|
-
C =
|
|
16755
|
+
const Lr = (_) => N(_);
|
|
16756
|
+
function Rr(_) {
|
|
16757
|
+
po[_ ? "unshift" : "push"](() => {
|
|
16758
|
+
C = _, e(8, C);
|
|
16738
16759
|
});
|
|
16739
16760
|
}
|
|
16740
|
-
return o.$$set = (
|
|
16741
|
-
"endpoint" in
|
|
16761
|
+
return o.$$set = (_) => {
|
|
16762
|
+
"endpoint" in _ && e(29, s = _.endpoint), "session" in _ && e(30, r = _.session), "userid" in _ && e(0, n = _.userid), "lang" in _ && e(1, a = _.lang), "gmversion" in _ && e(31, l = _.gmversion), "operator" in _ && e(2, c = _.operator), "supportemail" in _ && e(3, u = _.supportemail), "baseurl" in _ && e(4, d = _.baseurl), "clientstyling" in _ && e(5, h = _.clientstyling), "clientstylingurl" in _ && e(6, m = _.clientstylingurl), "mbsource" in _ && e(7, b = _.mbsource), "translationurl" in _ && e(32, p = _.translationurl), "hasconfirmationmodal" in _ && e(33, g = _.hasconfirmationmodal), "dateformat" in _ && e(34, y = _.dateformat), "sendnotificationemail" in _ && e(35, v = _.sendnotificationemail);
|
|
16742
16763
|
}, o.$$.update = () => {
|
|
16743
16764
|
o.$$.dirty[0] & /*lang*/
|
|
16744
|
-
|
|
16745
|
-
|
|
16765
|
+
2 && a && le(), o.$$.dirty[0] & /*endpoint, session, userid*/
|
|
16766
|
+
1610612737 | o.$$.dirty[1] & /*gmversion*/
|
|
16746
16767
|
1 && s && r && n && l && Ce(), o.$$.dirty[0] & /*calendar*/
|
|
16747
|
-
|
|
16748
|
-
|
|
16749
|
-
|
|
16750
|
-
|
|
16768
|
+
512 && A && Q(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
16769
|
+
288 && h && C && rn(C, h), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
16770
|
+
320 && m && C && on(C, m), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
16771
|
+
384 && b && C && sn(C, `${b}.Style`), o.$$.dirty[1] & /*translationurl*/
|
|
16751
16772
|
2 && p && Ae();
|
|
16752
16773
|
}, te && se(), [
|
|
16774
|
+
n,
|
|
16753
16775
|
a,
|
|
16754
16776
|
c,
|
|
16755
16777
|
u,
|
|
16756
16778
|
d,
|
|
16757
16779
|
h,
|
|
16758
16780
|
m,
|
|
16759
|
-
|
|
16781
|
+
b,
|
|
16760
16782
|
C,
|
|
16761
16783
|
A,
|
|
16762
16784
|
D,
|
|
16763
16785
|
B,
|
|
16764
16786
|
T,
|
|
16765
16787
|
I,
|
|
16766
|
-
|
|
16788
|
+
Z,
|
|
16767
16789
|
H,
|
|
16768
16790
|
q,
|
|
16769
16791
|
ee,
|
|
16770
16792
|
j,
|
|
16771
|
-
|
|
16793
|
+
Y,
|
|
16772
16794
|
_e,
|
|
16773
16795
|
i,
|
|
16774
16796
|
R,
|
|
16775
16797
|
pe,
|
|
16776
16798
|
te,
|
|
16777
|
-
|
|
16799
|
+
ke,
|
|
16778
16800
|
oe,
|
|
16779
16801
|
N,
|
|
16780
16802
|
ve,
|
|
16781
16803
|
s,
|
|
16782
16804
|
r,
|
|
16783
|
-
n,
|
|
16784
16805
|
l,
|
|
16785
16806
|
p,
|
|
16786
|
-
|
|
16807
|
+
g,
|
|
16787
16808
|
y,
|
|
16788
16809
|
v,
|
|
16789
16810
|
x,
|
|
@@ -16803,17 +16824,17 @@ class zr extends Kr {
|
|
|
16803
16824
|
td,
|
|
16804
16825
|
Xr,
|
|
16805
16826
|
{
|
|
16806
|
-
endpoint:
|
|
16807
|
-
session:
|
|
16808
|
-
userid:
|
|
16809
|
-
lang:
|
|
16827
|
+
endpoint: 29,
|
|
16828
|
+
session: 30,
|
|
16829
|
+
userid: 0,
|
|
16830
|
+
lang: 1,
|
|
16810
16831
|
gmversion: 31,
|
|
16811
|
-
operator:
|
|
16812
|
-
supportemail:
|
|
16813
|
-
baseurl:
|
|
16814
|
-
clientstyling:
|
|
16815
|
-
clientstylingurl:
|
|
16816
|
-
mbsource:
|
|
16832
|
+
operator: 2,
|
|
16833
|
+
supportemail: 3,
|
|
16834
|
+
baseurl: 4,
|
|
16835
|
+
clientstyling: 5,
|
|
16836
|
+
clientstylingurl: 6,
|
|
16837
|
+
mbsource: 7,
|
|
16817
16838
|
translationurl: 32,
|
|
16818
16839
|
hasconfirmationmodal: 33,
|
|
16819
16840
|
dateformat: 34,
|
|
@@ -16824,25 +16845,25 @@ class zr extends Kr {
|
|
|
16824
16845
|
);
|
|
16825
16846
|
}
|
|
16826
16847
|
get endpoint() {
|
|
16827
|
-
return this.$$.ctx[
|
|
16848
|
+
return this.$$.ctx[29];
|
|
16828
16849
|
}
|
|
16829
16850
|
set endpoint(t) {
|
|
16830
16851
|
this.$$set({ endpoint: t }), ie();
|
|
16831
16852
|
}
|
|
16832
16853
|
get session() {
|
|
16833
|
-
return this.$$.ctx[
|
|
16854
|
+
return this.$$.ctx[30];
|
|
16834
16855
|
}
|
|
16835
16856
|
set session(t) {
|
|
16836
16857
|
this.$$set({ session: t }), ie();
|
|
16837
16858
|
}
|
|
16838
16859
|
get userid() {
|
|
16839
|
-
return this.$$.ctx[
|
|
16860
|
+
return this.$$.ctx[0];
|
|
16840
16861
|
}
|
|
16841
16862
|
set userid(t) {
|
|
16842
16863
|
this.$$set({ userid: t }), ie();
|
|
16843
16864
|
}
|
|
16844
16865
|
get lang() {
|
|
16845
|
-
return this.$$.ctx[
|
|
16866
|
+
return this.$$.ctx[1];
|
|
16846
16867
|
}
|
|
16847
16868
|
set lang(t) {
|
|
16848
16869
|
this.$$set({ lang: t }), ie();
|
|
@@ -16854,37 +16875,37 @@ class zr extends Kr {
|
|
|
16854
16875
|
this.$$set({ gmversion: t }), ie();
|
|
16855
16876
|
}
|
|
16856
16877
|
get operator() {
|
|
16857
|
-
return this.$$.ctx[
|
|
16878
|
+
return this.$$.ctx[2];
|
|
16858
16879
|
}
|
|
16859
16880
|
set operator(t) {
|
|
16860
16881
|
this.$$set({ operator: t }), ie();
|
|
16861
16882
|
}
|
|
16862
16883
|
get supportemail() {
|
|
16863
|
-
return this.$$.ctx[
|
|
16884
|
+
return this.$$.ctx[3];
|
|
16864
16885
|
}
|
|
16865
16886
|
set supportemail(t) {
|
|
16866
16887
|
this.$$set({ supportemail: t }), ie();
|
|
16867
16888
|
}
|
|
16868
16889
|
get baseurl() {
|
|
16869
|
-
return this.$$.ctx[
|
|
16890
|
+
return this.$$.ctx[4];
|
|
16870
16891
|
}
|
|
16871
16892
|
set baseurl(t) {
|
|
16872
16893
|
this.$$set({ baseurl: t }), ie();
|
|
16873
16894
|
}
|
|
16874
16895
|
get clientstyling() {
|
|
16875
|
-
return this.$$.ctx[
|
|
16896
|
+
return this.$$.ctx[5];
|
|
16876
16897
|
}
|
|
16877
16898
|
set clientstyling(t) {
|
|
16878
16899
|
this.$$set({ clientstyling: t }), ie();
|
|
16879
16900
|
}
|
|
16880
16901
|
get clientstylingurl() {
|
|
16881
|
-
return this.$$.ctx[
|
|
16902
|
+
return this.$$.ctx[6];
|
|
16882
16903
|
}
|
|
16883
16904
|
set clientstylingurl(t) {
|
|
16884
16905
|
this.$$set({ clientstylingurl: t }), ie();
|
|
16885
16906
|
}
|
|
16886
16907
|
get mbsource() {
|
|
16887
|
-
return this.$$.ctx[
|
|
16908
|
+
return this.$$.ctx[7];
|
|
16888
16909
|
}
|
|
16889
16910
|
set mbsource(t) {
|
|
16890
16911
|
this.$$set({ mbsource: t }), ie();
|
|
@@ -16915,11 +16936,11 @@ class zr extends Kr {
|
|
|
16915
16936
|
}
|
|
16916
16937
|
}
|
|
16917
16938
|
Jr(zr, { endpoint: {}, session: {}, userid: {}, lang: {}, gmversion: {}, operator: {}, supportemail: {}, baseurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, hasconfirmationmodal: {}, dateformat: {}, sendnotificationemail: {} }, [], [], !0);
|
|
16918
|
-
const
|
|
16939
|
+
const $d = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16919
16940
|
__proto__: null,
|
|
16920
16941
|
default: zr
|
|
16921
16942
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
16922
16943
|
export {
|
|
16923
16944
|
ju as C,
|
|
16924
|
-
|
|
16945
|
+
$d as P
|
|
16925
16946
|
};
|