@everymatrix/player-account-self-exclusion 1.49.2 → 1.50.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerAccountSelfExclusion-CBlffr4x.cjs → PlayerAccountSelfExclusion-1Yi0iV9o.cjs} +557 -79
- package/components/{PlayerAccountSelfExclusion-CcdnsgeG.js → PlayerAccountSelfExclusion-DET8Llh6.js} +948 -463
- package/es2015/player-account-self-exclusion.cjs +1 -1
- package/es2015/player-account-self-exclusion.js +1 -1
- package/package.json +1 -1
package/components/{PlayerAccountSelfExclusion-CcdnsgeG.js → PlayerAccountSelfExclusion-DET8Llh6.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var ol = Object.defineProperty, il = Object.defineProperties;
|
|
2
|
+
var sl = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var $i = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var Gr = (t, r, e) => r in t ?
|
|
4
|
+
var nl = Object.prototype.hasOwnProperty, al = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Gr = (t, r, e) => r in t ? ol(t, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[r] = e, or = (t, r) => {
|
|
6
6
|
for (var e in r || (r = {}))
|
|
7
|
-
|
|
7
|
+
nl.call(r, e) && Gr(t, e, r[e]);
|
|
8
8
|
if ($i)
|
|
9
9
|
for (var e of $i(r))
|
|
10
|
-
|
|
10
|
+
al.call(r, e) && Gr(t, e, r[e]);
|
|
11
11
|
return t;
|
|
12
|
-
}, ir = (t, r) =>
|
|
12
|
+
}, ir = (t, r) => il(t, sl(r));
|
|
13
13
|
var _e = (t, r, e) => Gr(t, typeof r != "symbol" ? r + "" : r, e);
|
|
14
14
|
var St = (t, r, e) => new Promise((o, i) => {
|
|
15
15
|
var s = (l) => {
|
|
@@ -44,7 +44,7 @@ function ni(t) {
|
|
|
44
44
|
function en(t, r) {
|
|
45
45
|
return t != t ? r == r : t !== r || t && typeof t == "object" || typeof t == "function";
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function ll(t) {
|
|
48
48
|
return Object.keys(t).length === 0;
|
|
49
49
|
}
|
|
50
50
|
function tn(t, ...r) {
|
|
@@ -56,20 +56,20 @@ function tn(t, ...r) {
|
|
|
56
56
|
const e = t.subscribe(...r);
|
|
57
57
|
return e.unsubscribe ? () => e.unsubscribe() : e;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function ul(t, r, e) {
|
|
60
60
|
t.$$.on_destroy.push(tn(r, e));
|
|
61
61
|
}
|
|
62
62
|
function b(t, r) {
|
|
63
63
|
t.appendChild(r);
|
|
64
64
|
}
|
|
65
|
-
function
|
|
66
|
-
const o =
|
|
65
|
+
function cl(t, r, e) {
|
|
66
|
+
const o = hl(t);
|
|
67
67
|
if (!o.getElementById(r)) {
|
|
68
68
|
const i = N("style");
|
|
69
|
-
i.id = r, i.textContent = e,
|
|
69
|
+
i.id = r, i.textContent = e, dl(o, i);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function hl(t) {
|
|
73
73
|
if (!t) return document;
|
|
74
74
|
const r = t.getRootNode ? t.getRootNode() : t.ownerDocument;
|
|
75
75
|
return r && /** @type {ShadowRoot} */
|
|
@@ -78,7 +78,7 @@ function dl(t) {
|
|
|
78
78
|
r
|
|
79
79
|
) : t.ownerDocument;
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function dl(t, r) {
|
|
82
82
|
return b(
|
|
83
83
|
/** @type {Document} */
|
|
84
84
|
t.head || t,
|
|
@@ -91,7 +91,7 @@ function $e(t, r, e) {
|
|
|
91
91
|
function De(t) {
|
|
92
92
|
t.parentNode && t.parentNode.removeChild(t);
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function pl(t, r) {
|
|
95
95
|
for (let e = 0; e < t.length; e += 1)
|
|
96
96
|
t[e] && t[e].d(r);
|
|
97
97
|
}
|
|
@@ -117,7 +117,7 @@ function Ze(t, r, e) {
|
|
|
117
117
|
const o = r.toLowerCase();
|
|
118
118
|
o in t ? t[o] = typeof t[o] == "boolean" && e === "" ? !0 : e : r in t ? t[r] = typeof t[r] == "boolean" && e === "" ? !0 : e : T(t, r, e);
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function fl(t) {
|
|
121
121
|
return Array.from(t.childNodes);
|
|
122
122
|
}
|
|
123
123
|
function oe(t, r) {
|
|
@@ -127,7 +127,7 @@ function oe(t, r) {
|
|
|
127
127
|
function Qe(t, r, e) {
|
|
128
128
|
t.classList.toggle(r, !!e);
|
|
129
129
|
}
|
|
130
|
-
function
|
|
130
|
+
function ml(t) {
|
|
131
131
|
const r = {};
|
|
132
132
|
return t.childNodes.forEach(
|
|
133
133
|
/** @param {Element} node */
|
|
@@ -140,19 +140,19 @@ let Lt;
|
|
|
140
140
|
function It(t) {
|
|
141
141
|
Lt = t;
|
|
142
142
|
}
|
|
143
|
-
function
|
|
143
|
+
function _l() {
|
|
144
144
|
if (!Lt) throw new Error("Function called outside component initialization");
|
|
145
145
|
return Lt;
|
|
146
146
|
}
|
|
147
|
-
function
|
|
148
|
-
|
|
147
|
+
function gl(t) {
|
|
148
|
+
_l().$$.on_mount.push(t);
|
|
149
149
|
}
|
|
150
150
|
const ot = [], vr = [];
|
|
151
151
|
let st = [];
|
|
152
|
-
const Bi = [],
|
|
152
|
+
const Bi = [], bl = /* @__PURE__ */ Promise.resolve();
|
|
153
153
|
let Eo = !1;
|
|
154
|
-
function
|
|
155
|
-
Eo || (Eo = !0,
|
|
154
|
+
function yl() {
|
|
155
|
+
Eo || (Eo = !0, bl.then(we));
|
|
156
156
|
}
|
|
157
157
|
function So(t) {
|
|
158
158
|
st.push(t);
|
|
@@ -167,7 +167,7 @@ function we() {
|
|
|
167
167
|
try {
|
|
168
168
|
for (; et < ot.length; ) {
|
|
169
169
|
const r = ot[et];
|
|
170
|
-
et++, It(r),
|
|
170
|
+
et++, It(r), vl(r.$$);
|
|
171
171
|
}
|
|
172
172
|
} catch (r) {
|
|
173
173
|
throw ot.length = 0, et = 0, r;
|
|
@@ -183,39 +183,39 @@ function we() {
|
|
|
183
183
|
Bi.pop()();
|
|
184
184
|
Eo = !1, Wr.clear(), It(t);
|
|
185
185
|
}
|
|
186
|
-
function
|
|
186
|
+
function vl(t) {
|
|
187
187
|
if (t.fragment !== null) {
|
|
188
188
|
t.update(), gt(t.before_update);
|
|
189
189
|
const r = t.dirty;
|
|
190
190
|
t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, r), t.after_update.forEach(So);
|
|
191
191
|
}
|
|
192
192
|
}
|
|
193
|
-
function
|
|
193
|
+
function xl(t) {
|
|
194
194
|
const r = [], e = [];
|
|
195
195
|
st.forEach((o) => t.indexOf(o) === -1 ? r.push(o) : e.push(o)), e.forEach((o) => o()), st = r;
|
|
196
196
|
}
|
|
197
|
-
const
|
|
198
|
-
function
|
|
199
|
-
t && t.i && (
|
|
197
|
+
const wl = /* @__PURE__ */ new Set();
|
|
198
|
+
function El(t, r) {
|
|
199
|
+
t && t.i && (wl.delete(t), t.i(r));
|
|
200
200
|
}
|
|
201
201
|
function zi(t) {
|
|
202
202
|
return (t == null ? void 0 : t.length) !== void 0 ? t : Array.from(t);
|
|
203
203
|
}
|
|
204
|
-
function
|
|
204
|
+
function Sl(t, r, e) {
|
|
205
205
|
const { fragment: o, after_update: i } = t.$$;
|
|
206
206
|
o && o.m(r, e), So(() => {
|
|
207
207
|
const s = t.$$.on_mount.map(Qs).filter(ni);
|
|
208
208
|
t.$$.on_destroy ? t.$$.on_destroy.push(...s) : gt(s), t.$$.on_mount = [];
|
|
209
209
|
}), i.forEach(So);
|
|
210
210
|
}
|
|
211
|
-
function
|
|
211
|
+
function Al(t, r) {
|
|
212
212
|
const e = t.$$;
|
|
213
|
-
e.fragment !== null && (
|
|
213
|
+
e.fragment !== null && (xl(e.after_update), gt(e.on_destroy), e.fragment && e.fragment.d(r), e.on_destroy = e.fragment = null, e.ctx = []);
|
|
214
214
|
}
|
|
215
|
-
function
|
|
216
|
-
t.$$.dirty[0] === -1 && (ot.push(t),
|
|
215
|
+
function Cl(t, r) {
|
|
216
|
+
t.$$.dirty[0] === -1 && (ot.push(t), yl(), t.$$.dirty.fill(0)), t.$$.dirty[r / 31 | 0] |= 1 << r % 31;
|
|
217
217
|
}
|
|
218
|
-
function
|
|
218
|
+
function Tl(t, r, e, o, i, s, n = null, a = [-1]) {
|
|
219
219
|
const l = Lt;
|
|
220
220
|
It(t);
|
|
221
221
|
const u = t.$$ = {
|
|
@@ -243,14 +243,14 @@ function Pl(t, r, e, o, i, s, n = null, a = [-1]) {
|
|
|
243
243
|
let c = !1;
|
|
244
244
|
if (u.ctx = e ? e(t, r.props || {}, (h, d, ...p) => {
|
|
245
245
|
const f = p.length ? p[0] : d;
|
|
246
|
-
return u.ctx && i(u.ctx[h], u.ctx[h] = f) && (!u.skip_bound && u.bound[h] && u.bound[h](f), c &&
|
|
246
|
+
return u.ctx && i(u.ctx[h], u.ctx[h] = f) && (!u.skip_bound && u.bound[h] && u.bound[h](f), c && Cl(t, h)), d;
|
|
247
247
|
}) : [], u.update(), c = !0, gt(u.before_update), u.fragment = o ? o(u.ctx) : !1, r.target) {
|
|
248
248
|
if (r.hydrate) {
|
|
249
|
-
const h =
|
|
249
|
+
const h = fl(r.target);
|
|
250
250
|
u.fragment && u.fragment.l(h), h.forEach(De);
|
|
251
251
|
} else
|
|
252
252
|
u.fragment && u.fragment.c();
|
|
253
|
-
r.intro &&
|
|
253
|
+
r.intro && El(t.$$.fragment), Sl(t, r.target, r.anchor), we();
|
|
254
254
|
}
|
|
255
255
|
It(l);
|
|
256
256
|
}
|
|
@@ -316,7 +316,7 @@ typeof HTMLElement == "function" && (rn = class extends HTMLElement {
|
|
|
316
316
|
};
|
|
317
317
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
318
318
|
return;
|
|
319
|
-
const e = {}, o =
|
|
319
|
+
const e = {}, o = ml(this);
|
|
320
320
|
for (const s of this.$$s)
|
|
321
321
|
s in o && (e[s] = [r(s)]);
|
|
322
322
|
for (const s of this.attributes) {
|
|
@@ -405,7 +405,7 @@ function hr(t, r, e, o) {
|
|
|
405
405
|
return r;
|
|
406
406
|
}
|
|
407
407
|
}
|
|
408
|
-
function
|
|
408
|
+
function Pl(t, r, e, o, i, s) {
|
|
409
409
|
let n = class extends rn {
|
|
410
410
|
constructor() {
|
|
411
411
|
super(t, e, i), this.$$p_d = r;
|
|
@@ -436,7 +436,7 @@ function Dl(t, r, e, o, i, s) {
|
|
|
436
436
|
}), t.element = /** @type {any} */
|
|
437
437
|
n, n;
|
|
438
438
|
}
|
|
439
|
-
class
|
|
439
|
+
class Dl {
|
|
440
440
|
constructor() {
|
|
441
441
|
/**
|
|
442
442
|
* ### PRIVATE API
|
|
@@ -457,7 +457,7 @@ class kl {
|
|
|
457
457
|
}
|
|
458
458
|
/** @returns {void} */
|
|
459
459
|
$destroy() {
|
|
460
|
-
|
|
460
|
+
Al(this, 1), this.$destroy = be;
|
|
461
461
|
}
|
|
462
462
|
/**
|
|
463
463
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -479,11 +479,11 @@ class kl {
|
|
|
479
479
|
* @returns {void}
|
|
480
480
|
*/
|
|
481
481
|
$set(r) {
|
|
482
|
-
this.$$set && !
|
|
482
|
+
this.$$set && !ll(r) && (this.$$.skip_bound = !0, this.$$set(r), this.$$.skip_bound = !1);
|
|
483
483
|
}
|
|
484
484
|
}
|
|
485
|
-
const
|
|
486
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
485
|
+
const kl = "4";
|
|
486
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(kl);
|
|
487
487
|
var Ao = function(t, r) {
|
|
488
488
|
return Ao = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, o) {
|
|
489
489
|
e.__proto__ = o;
|
|
@@ -509,7 +509,7 @@ var B = function() {
|
|
|
509
509
|
return r;
|
|
510
510
|
}, B.apply(this, arguments);
|
|
511
511
|
};
|
|
512
|
-
function
|
|
512
|
+
function Ol(t, r) {
|
|
513
513
|
var e = {};
|
|
514
514
|
for (var o in t) Object.prototype.hasOwnProperty.call(t, o) && r.indexOf(o) < 0 && (e[o] = t[o]);
|
|
515
515
|
if (t != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -674,20 +674,19 @@ var an = {
|
|
|
674
674
|
Promise: void 0,
|
|
675
675
|
useDeprecatedSynchronousErrorHandling: !1,
|
|
676
676
|
useDeprecatedNextContext: !1
|
|
677
|
-
},
|
|
677
|
+
}, Ml = {
|
|
678
678
|
setTimeout: function(t, r) {
|
|
679
679
|
for (var e = [], o = 2; o < arguments.length; o++)
|
|
680
680
|
e[o - 2] = arguments[o];
|
|
681
681
|
return setTimeout.apply(void 0, nt([t, r], To(e)));
|
|
682
682
|
},
|
|
683
683
|
clearTimeout: function(t) {
|
|
684
|
-
|
|
685
|
-
return ((r == null ? void 0 : r.clearTimeout) || clearTimeout)(t);
|
|
684
|
+
return clearTimeout(t);
|
|
686
685
|
},
|
|
687
686
|
delegate: void 0
|
|
688
687
|
};
|
|
689
688
|
function Il(t) {
|
|
690
|
-
|
|
689
|
+
Ml.setTimeout(function() {
|
|
691
690
|
throw t;
|
|
692
691
|
});
|
|
693
692
|
}
|
|
@@ -696,7 +695,7 @@ function Ri() {
|
|
|
696
695
|
function dr(t) {
|
|
697
696
|
t();
|
|
698
697
|
}
|
|
699
|
-
var
|
|
698
|
+
var ln = function(t) {
|
|
700
699
|
ke(r, t);
|
|
701
700
|
function r(e) {
|
|
702
701
|
var o = t.call(this) || this;
|
|
@@ -785,7 +784,7 @@ var Ll = function() {
|
|
|
785
784
|
return s.destination = new Ll(n), s;
|
|
786
785
|
}
|
|
787
786
|
return r;
|
|
788
|
-
}(
|
|
787
|
+
}(ln);
|
|
789
788
|
function sr(t) {
|
|
790
789
|
Il(t);
|
|
791
790
|
}
|
|
@@ -878,13 +877,13 @@ function Rl(t) {
|
|
|
878
877
|
return t && Te(t.next) && Te(t.error) && Te(t.complete);
|
|
879
878
|
}
|
|
880
879
|
function Ul(t) {
|
|
881
|
-
return t && t instanceof
|
|
880
|
+
return t && t instanceof ln || Rl(t) && nn(t);
|
|
882
881
|
}
|
|
883
882
|
var jl = on(function(t) {
|
|
884
883
|
return function() {
|
|
885
884
|
t(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
886
885
|
};
|
|
887
|
-
}),
|
|
886
|
+
}), un = function(t) {
|
|
888
887
|
ke(r, t);
|
|
889
888
|
function r() {
|
|
890
889
|
var e = t.call(this) || this;
|
|
@@ -982,15 +981,15 @@ var jl = on(function(t) {
|
|
|
982
981
|
var o, i;
|
|
983
982
|
return (i = (o = this.source) === null || o === void 0 ? void 0 : o.subscribe(e)) !== null && i !== void 0 ? i : sn;
|
|
984
983
|
}, r;
|
|
985
|
-
}(
|
|
984
|
+
}(un), cn = {
|
|
986
985
|
now: function() {
|
|
987
|
-
return (
|
|
986
|
+
return (cn.delegate || Date).now();
|
|
988
987
|
},
|
|
989
988
|
delegate: void 0
|
|
990
989
|
}, Vl = function(t) {
|
|
991
990
|
ke(r, t);
|
|
992
991
|
function r(e, o, i) {
|
|
993
|
-
e === void 0 && (e = 1 / 0), o === void 0 && (o = 1 / 0), i === void 0 && (i =
|
|
992
|
+
e === void 0 && (e = 1 / 0), o === void 0 && (o = 1 / 0), i === void 0 && (i = cn);
|
|
994
993
|
var s = t.call(this) || this;
|
|
995
994
|
return s._bufferSize = e, s._windowTime = o, s._timestampProvider = i, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = o === 1 / 0, s._bufferSize = Math.max(1, e), s._windowTime = Math.max(1, o), s;
|
|
996
995
|
}
|
|
@@ -1010,7 +1009,7 @@ var jl = on(function(t) {
|
|
|
1010
1009
|
u && s.splice(0, u + 1);
|
|
1011
1010
|
}
|
|
1012
1011
|
}, r;
|
|
1013
|
-
}(
|
|
1012
|
+
}(un);
|
|
1014
1013
|
const Yi = [], Gi = {}, Yl = (t, r = 0) => {
|
|
1015
1014
|
if (Yi.indexOf(t) == -1) {
|
|
1016
1015
|
const e = new Vl(r);
|
|
@@ -1081,7 +1080,7 @@ function bt(t, r, e) {
|
|
|
1081
1080
|
});
|
|
1082
1081
|
}
|
|
1083
1082
|
var Wl = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
|
|
1084
|
-
function
|
|
1083
|
+
function hn(t) {
|
|
1085
1084
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
1086
1085
|
}
|
|
1087
1086
|
var ql = function(r) {
|
|
@@ -1123,7 +1122,7 @@ function ou(t) {
|
|
|
1123
1122
|
function Wi(t) {
|
|
1124
1123
|
return Object.keys(t).concat(ou(t));
|
|
1125
1124
|
}
|
|
1126
|
-
function
|
|
1125
|
+
function dn(t, r) {
|
|
1127
1126
|
try {
|
|
1128
1127
|
return r in t;
|
|
1129
1128
|
} catch (e) {
|
|
@@ -1131,14 +1130,14 @@ function pn(t, r) {
|
|
|
1131
1130
|
}
|
|
1132
1131
|
}
|
|
1133
1132
|
function iu(t, r) {
|
|
1134
|
-
return
|
|
1133
|
+
return dn(t, r) && !(Object.hasOwnProperty.call(t, r) && Object.propertyIsEnumerable.call(t, r));
|
|
1135
1134
|
}
|
|
1136
1135
|
function su(t, r, e) {
|
|
1137
1136
|
var o = {};
|
|
1138
1137
|
return e.isMergeableObject(t) && Wi(t).forEach(function(i) {
|
|
1139
1138
|
o[i] = $t(t[i], e);
|
|
1140
1139
|
}), Wi(r).forEach(function(i) {
|
|
1141
|
-
iu(t, i) || (
|
|
1140
|
+
iu(t, i) || (dn(t, i) && e.isMergeableObject(r[i]) ? o[i] = ru(i, e)(t[i], r[i], e) : o[i] = $t(r[i], e));
|
|
1142
1141
|
}), o;
|
|
1143
1142
|
}
|
|
1144
1143
|
function ct(t, r, e) {
|
|
@@ -1154,8 +1153,58 @@ ct.all = function(r, e) {
|
|
|
1154
1153
|
}, {});
|
|
1155
1154
|
};
|
|
1156
1155
|
var nu = ct, au = nu;
|
|
1157
|
-
const lu = /* @__PURE__ */
|
|
1158
|
-
|
|
1156
|
+
const lu = /* @__PURE__ */ hn(au);
|
|
1157
|
+
function Kr(t, r) {
|
|
1158
|
+
var e = r && r.cache ? r.cache : fu, o = r && r.serializer ? r.serializer : pu, i = r && r.strategy ? r.strategy : cu;
|
|
1159
|
+
return i(t, {
|
|
1160
|
+
cache: e,
|
|
1161
|
+
serializer: o
|
|
1162
|
+
});
|
|
1163
|
+
}
|
|
1164
|
+
function uu(t) {
|
|
1165
|
+
return t == null || typeof t == "number" || typeof t == "boolean";
|
|
1166
|
+
}
|
|
1167
|
+
function pn(t, r, e, o) {
|
|
1168
|
+
var i = uu(o) ? o : e(o), s = r.get(i);
|
|
1169
|
+
return typeof s == "undefined" && (s = t.call(this, o), r.set(i, s)), s;
|
|
1170
|
+
}
|
|
1171
|
+
function fn(t, r, e) {
|
|
1172
|
+
var o = Array.prototype.slice.call(arguments, 3), i = e(o), s = r.get(i);
|
|
1173
|
+
return typeof s == "undefined" && (s = t.apply(this, o), r.set(i, s)), s;
|
|
1174
|
+
}
|
|
1175
|
+
function ai(t, r, e, o, i) {
|
|
1176
|
+
return e.bind(r, t, o, i);
|
|
1177
|
+
}
|
|
1178
|
+
function cu(t, r) {
|
|
1179
|
+
var e = t.length === 1 ? pn : fn;
|
|
1180
|
+
return ai(t, this, e, r.cache.create(), r.serializer);
|
|
1181
|
+
}
|
|
1182
|
+
function hu(t, r) {
|
|
1183
|
+
return ai(t, this, fn, r.cache.create(), r.serializer);
|
|
1184
|
+
}
|
|
1185
|
+
function du(t, r) {
|
|
1186
|
+
return ai(t, this, pn, r.cache.create(), r.serializer);
|
|
1187
|
+
}
|
|
1188
|
+
var pu = function() {
|
|
1189
|
+
return JSON.stringify(arguments);
|
|
1190
|
+
};
|
|
1191
|
+
function li() {
|
|
1192
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1193
|
+
}
|
|
1194
|
+
li.prototype.get = function(t) {
|
|
1195
|
+
return this.cache[t];
|
|
1196
|
+
};
|
|
1197
|
+
li.prototype.set = function(t, r) {
|
|
1198
|
+
this.cache[t] = r;
|
|
1199
|
+
};
|
|
1200
|
+
var fu = {
|
|
1201
|
+
create: function() {
|
|
1202
|
+
return new li();
|
|
1203
|
+
}
|
|
1204
|
+
}, Jr = {
|
|
1205
|
+
variadic: hu,
|
|
1206
|
+
monadic: du
|
|
1207
|
+
}, I;
|
|
1159
1208
|
(function(t) {
|
|
1160
1209
|
t[t.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", t[t.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", t[t.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", t[t.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", t[t.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", t[t.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", t[t.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", t[t.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", t[t.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", t[t.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", t[t.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", t[t.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", t[t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", t[t.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", t[t.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", t[t.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", t[t.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", t[t.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", t[t.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", t[t.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", t[t.INVALID_TAG = 23] = "INVALID_TAG", t[t.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", t[t.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", t[t.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
|
|
1161
1210
|
})(I || (I = {}));
|
|
@@ -1170,40 +1219,40 @@ var ht;
|
|
|
1170
1219
|
function qi(t) {
|
|
1171
1220
|
return t.type === Y.literal;
|
|
1172
1221
|
}
|
|
1173
|
-
function
|
|
1222
|
+
function mu(t) {
|
|
1174
1223
|
return t.type === Y.argument;
|
|
1175
1224
|
}
|
|
1176
|
-
function
|
|
1225
|
+
function mn(t) {
|
|
1177
1226
|
return t.type === Y.number;
|
|
1178
1227
|
}
|
|
1179
|
-
function
|
|
1228
|
+
function _n(t) {
|
|
1180
1229
|
return t.type === Y.date;
|
|
1181
1230
|
}
|
|
1182
|
-
function
|
|
1231
|
+
function gn(t) {
|
|
1183
1232
|
return t.type === Y.time;
|
|
1184
1233
|
}
|
|
1185
|
-
function
|
|
1234
|
+
function bn(t) {
|
|
1186
1235
|
return t.type === Y.select;
|
|
1187
1236
|
}
|
|
1188
|
-
function
|
|
1237
|
+
function yn(t) {
|
|
1189
1238
|
return t.type === Y.plural;
|
|
1190
1239
|
}
|
|
1191
|
-
function
|
|
1240
|
+
function _u(t) {
|
|
1192
1241
|
return t.type === Y.pound;
|
|
1193
1242
|
}
|
|
1194
|
-
function
|
|
1243
|
+
function vn(t) {
|
|
1195
1244
|
return t.type === Y.tag;
|
|
1196
1245
|
}
|
|
1197
|
-
function
|
|
1246
|
+
function xn(t) {
|
|
1198
1247
|
return !!(t && typeof t == "object" && t.type === ht.number);
|
|
1199
1248
|
}
|
|
1200
1249
|
function ko(t) {
|
|
1201
1250
|
return !!(t && typeof t == "object" && t.type === ht.dateTime);
|
|
1202
1251
|
}
|
|
1203
|
-
var
|
|
1204
|
-
function
|
|
1252
|
+
var wn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, gu = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
1253
|
+
function bu(t) {
|
|
1205
1254
|
var r = {};
|
|
1206
|
-
return t.replace(
|
|
1255
|
+
return t.replace(gu, function(e) {
|
|
1207
1256
|
var o = e.length;
|
|
1208
1257
|
switch (e[0]) {
|
|
1209
1258
|
case "G":
|
|
@@ -1292,11 +1341,11 @@ function du(t) {
|
|
|
1292
1341
|
return "";
|
|
1293
1342
|
}), r;
|
|
1294
1343
|
}
|
|
1295
|
-
var
|
|
1296
|
-
function
|
|
1344
|
+
var yu = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1345
|
+
function vu(t) {
|
|
1297
1346
|
if (t.length === 0)
|
|
1298
1347
|
throw new Error("Number skeleton cannot be empty");
|
|
1299
|
-
for (var r = t.split(
|
|
1348
|
+
for (var r = t.split(yu).filter(function(d) {
|
|
1300
1349
|
return d.length > 0;
|
|
1301
1350
|
}), e = [], o = 0, i = r; o < i.length; o++) {
|
|
1302
1351
|
var s = i[o], n = s.split("/");
|
|
@@ -1311,17 +1360,17 @@ function fu(t) {
|
|
|
1311
1360
|
}
|
|
1312
1361
|
return e;
|
|
1313
1362
|
}
|
|
1314
|
-
function
|
|
1363
|
+
function xu(t) {
|
|
1315
1364
|
return t.replace(/^(.*?)-/, "");
|
|
1316
1365
|
}
|
|
1317
|
-
var Xi = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,
|
|
1366
|
+
var Xi = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, En = /^(@+)?(\+|#+)?[rs]?$/g, wu = /(\*)(0+)|(#+)(0+)|(0+)/g, Sn = /^(0+)$/;
|
|
1318
1367
|
function Ki(t) {
|
|
1319
1368
|
var r = {};
|
|
1320
|
-
return t[t.length - 1] === "r" ? r.roundingPriority = "morePrecision" : t[t.length - 1] === "s" && (r.roundingPriority = "lessPrecision"), t.replace(
|
|
1369
|
+
return t[t.length - 1] === "r" ? r.roundingPriority = "morePrecision" : t[t.length - 1] === "s" && (r.roundingPriority = "lessPrecision"), t.replace(En, function(e, o, i) {
|
|
1321
1370
|
return typeof i != "string" ? (r.minimumSignificantDigits = o.length, r.maximumSignificantDigits = o.length) : i === "+" ? r.minimumSignificantDigits = o.length : o[0] === "#" ? r.maximumSignificantDigits = o.length : (r.minimumSignificantDigits = o.length, r.maximumSignificantDigits = o.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1322
1371
|
}), r;
|
|
1323
1372
|
}
|
|
1324
|
-
function
|
|
1373
|
+
function An(t) {
|
|
1325
1374
|
switch (t) {
|
|
1326
1375
|
case "sign-auto":
|
|
1327
1376
|
return {
|
|
@@ -1361,7 +1410,7 @@ function Sn(t) {
|
|
|
1361
1410
|
};
|
|
1362
1411
|
}
|
|
1363
1412
|
}
|
|
1364
|
-
function
|
|
1413
|
+
function Eu(t) {
|
|
1365
1414
|
var r;
|
|
1366
1415
|
if (t[0] === "E" && t[1] === "E" ? (r = {
|
|
1367
1416
|
notation: "engineering"
|
|
@@ -1369,17 +1418,17 @@ function gu(t) {
|
|
|
1369
1418
|
notation: "scientific"
|
|
1370
1419
|
}, t = t.slice(1)), r) {
|
|
1371
1420
|
var e = t.slice(0, 2);
|
|
1372
|
-
if (e === "+!" ? (r.signDisplay = "always", t = t.slice(2)) : e === "+?" && (r.signDisplay = "exceptZero", t = t.slice(2)), !
|
|
1421
|
+
if (e === "+!" ? (r.signDisplay = "always", t = t.slice(2)) : e === "+?" && (r.signDisplay = "exceptZero", t = t.slice(2)), !Sn.test(t))
|
|
1373
1422
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1374
1423
|
r.minimumIntegerDigits = t.length;
|
|
1375
1424
|
}
|
|
1376
1425
|
return r;
|
|
1377
1426
|
}
|
|
1378
1427
|
function Ji(t) {
|
|
1379
|
-
var r = {}, e =
|
|
1428
|
+
var r = {}, e = An(t);
|
|
1380
1429
|
return e || r;
|
|
1381
1430
|
}
|
|
1382
|
-
function
|
|
1431
|
+
function Su(t) {
|
|
1383
1432
|
for (var r = {}, e = 0, o = t; e < o.length; e++) {
|
|
1384
1433
|
var i = o[e];
|
|
1385
1434
|
switch (i.stem) {
|
|
@@ -1403,7 +1452,7 @@ function bu(t) {
|
|
|
1403
1452
|
continue;
|
|
1404
1453
|
case "measure-unit":
|
|
1405
1454
|
case "unit":
|
|
1406
|
-
r.style = "unit", r.unit =
|
|
1455
|
+
r.style = "unit", r.unit = xu(i.options[0]);
|
|
1407
1456
|
continue;
|
|
1408
1457
|
case "compact-short":
|
|
1409
1458
|
case "K":
|
|
@@ -1465,7 +1514,7 @@ function bu(t) {
|
|
|
1465
1514
|
case "integer-width":
|
|
1466
1515
|
if (i.options.length > 1)
|
|
1467
1516
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1468
|
-
i.options[0].replace(
|
|
1517
|
+
i.options[0].replace(wu, function(l, u, c, h, d, p) {
|
|
1469
1518
|
if (u)
|
|
1470
1519
|
r.minimumIntegerDigits = c.length;
|
|
1471
1520
|
else {
|
|
@@ -1478,7 +1527,7 @@ function bu(t) {
|
|
|
1478
1527
|
});
|
|
1479
1528
|
continue;
|
|
1480
1529
|
}
|
|
1481
|
-
if (
|
|
1530
|
+
if (Sn.test(i.stem)) {
|
|
1482
1531
|
r.minimumIntegerDigits = i.stem.length;
|
|
1483
1532
|
continue;
|
|
1484
1533
|
}
|
|
@@ -1492,13 +1541,13 @@ function bu(t) {
|
|
|
1492
1541
|
s === "w" ? r = B(B({}, r), { trailingZeroDisplay: "stripIfInteger" }) : s && (r = B(B({}, r), Ki(s)));
|
|
1493
1542
|
continue;
|
|
1494
1543
|
}
|
|
1495
|
-
if (
|
|
1544
|
+
if (En.test(i.stem)) {
|
|
1496
1545
|
r = B(B({}, r), Ki(i.stem));
|
|
1497
1546
|
continue;
|
|
1498
1547
|
}
|
|
1499
|
-
var n =
|
|
1548
|
+
var n = An(i.stem);
|
|
1500
1549
|
n && (r = B(B({}, r), n));
|
|
1501
|
-
var a =
|
|
1550
|
+
var a = Eu(i.stem);
|
|
1502
1551
|
a && (r = B(B({}, r), a));
|
|
1503
1552
|
}
|
|
1504
1553
|
return r;
|
|
@@ -1508,6 +1557,12 @@ var nr = {
|
|
|
1508
1557
|
"H",
|
|
1509
1558
|
"h"
|
|
1510
1559
|
],
|
|
1560
|
+
419: [
|
|
1561
|
+
"h",
|
|
1562
|
+
"H",
|
|
1563
|
+
"hB",
|
|
1564
|
+
"hb"
|
|
1565
|
+
],
|
|
1511
1566
|
AC: [
|
|
1512
1567
|
"H",
|
|
1513
1568
|
"h",
|
|
@@ -1556,8 +1611,8 @@ var nr = {
|
|
|
1556
1611
|
"hB"
|
|
1557
1612
|
],
|
|
1558
1613
|
AR: [
|
|
1559
|
-
"H",
|
|
1560
1614
|
"h",
|
|
1615
|
+
"H",
|
|
1561
1616
|
"hB",
|
|
1562
1617
|
"hb"
|
|
1563
1618
|
],
|
|
@@ -1647,9 +1702,9 @@ var nr = {
|
|
|
1647
1702
|
"H"
|
|
1648
1703
|
],
|
|
1649
1704
|
BO: [
|
|
1705
|
+
"h",
|
|
1650
1706
|
"H",
|
|
1651
1707
|
"hB",
|
|
1652
|
-
"h",
|
|
1653
1708
|
"hb"
|
|
1654
1709
|
],
|
|
1655
1710
|
BQ: [
|
|
@@ -1726,8 +1781,8 @@ var nr = {
|
|
|
1726
1781
|
"hB"
|
|
1727
1782
|
],
|
|
1728
1783
|
CL: [
|
|
1729
|
-
"H",
|
|
1730
1784
|
"h",
|
|
1785
|
+
"H",
|
|
1731
1786
|
"hB",
|
|
1732
1787
|
"hb"
|
|
1733
1788
|
],
|
|
@@ -1752,14 +1807,14 @@ var nr = {
|
|
|
1752
1807
|
"H"
|
|
1753
1808
|
],
|
|
1754
1809
|
CR: [
|
|
1755
|
-
"H",
|
|
1756
1810
|
"h",
|
|
1811
|
+
"H",
|
|
1757
1812
|
"hB",
|
|
1758
1813
|
"hb"
|
|
1759
1814
|
],
|
|
1760
1815
|
CU: [
|
|
1761
|
-
"H",
|
|
1762
1816
|
"h",
|
|
1817
|
+
"H",
|
|
1763
1818
|
"hB",
|
|
1764
1819
|
"hb"
|
|
1765
1820
|
],
|
|
@@ -1828,9 +1883,9 @@ var nr = {
|
|
|
1828
1883
|
"hb"
|
|
1829
1884
|
],
|
|
1830
1885
|
EC: [
|
|
1886
|
+
"h",
|
|
1831
1887
|
"H",
|
|
1832
1888
|
"hB",
|
|
1833
|
-
"h",
|
|
1834
1889
|
"hb"
|
|
1835
1890
|
],
|
|
1836
1891
|
EE: [
|
|
@@ -1966,8 +2021,8 @@ var nr = {
|
|
|
1966
2021
|
"hB"
|
|
1967
2022
|
],
|
|
1968
2023
|
GT: [
|
|
1969
|
-
"H",
|
|
1970
2024
|
"h",
|
|
2025
|
+
"H",
|
|
1971
2026
|
"hB",
|
|
1972
2027
|
"hb"
|
|
1973
2028
|
],
|
|
@@ -1994,8 +2049,8 @@ var nr = {
|
|
|
1994
2049
|
"H"
|
|
1995
2050
|
],
|
|
1996
2051
|
HN: [
|
|
1997
|
-
"H",
|
|
1998
2052
|
"h",
|
|
2053
|
+
"H",
|
|
1999
2054
|
"hB",
|
|
2000
2055
|
"hb"
|
|
2001
2056
|
],
|
|
@@ -2309,8 +2364,8 @@ var nr = {
|
|
|
2309
2364
|
"hB"
|
|
2310
2365
|
],
|
|
2311
2366
|
MX: [
|
|
2312
|
-
"H",
|
|
2313
2367
|
"h",
|
|
2368
|
+
"H",
|
|
2314
2369
|
"hB",
|
|
2315
2370
|
"hb"
|
|
2316
2371
|
],
|
|
@@ -2350,8 +2405,8 @@ var nr = {
|
|
|
2350
2405
|
"hB"
|
|
2351
2406
|
],
|
|
2352
2407
|
NI: [
|
|
2353
|
-
"H",
|
|
2354
2408
|
"h",
|
|
2409
|
+
"H",
|
|
2355
2410
|
"hB",
|
|
2356
2411
|
"hb"
|
|
2357
2412
|
],
|
|
@@ -2399,9 +2454,9 @@ var nr = {
|
|
|
2399
2454
|
"hb"
|
|
2400
2455
|
],
|
|
2401
2456
|
PE: [
|
|
2457
|
+
"h",
|
|
2402
2458
|
"H",
|
|
2403
2459
|
"hB",
|
|
2404
|
-
"h",
|
|
2405
2460
|
"hb"
|
|
2406
2461
|
],
|
|
2407
2462
|
PF: [
|
|
@@ -2459,8 +2514,8 @@ var nr = {
|
|
|
2459
2514
|
"H"
|
|
2460
2515
|
],
|
|
2461
2516
|
PY: [
|
|
2462
|
-
"H",
|
|
2463
2517
|
"h",
|
|
2518
|
+
"H",
|
|
2464
2519
|
"hB",
|
|
2465
2520
|
"hb"
|
|
2466
2521
|
],
|
|
@@ -2573,8 +2628,8 @@ var nr = {
|
|
|
2573
2628
|
"hB"
|
|
2574
2629
|
],
|
|
2575
2630
|
SV: [
|
|
2576
|
-
"H",
|
|
2577
2631
|
"h",
|
|
2632
|
+
"H",
|
|
2578
2633
|
"hB",
|
|
2579
2634
|
"hb"
|
|
2580
2635
|
],
|
|
@@ -2696,8 +2751,8 @@ var nr = {
|
|
|
2696
2751
|
"hB"
|
|
2697
2752
|
],
|
|
2698
2753
|
UY: [
|
|
2699
|
-
"H",
|
|
2700
2754
|
"h",
|
|
2755
|
+
"H",
|
|
2701
2756
|
"hB",
|
|
2702
2757
|
"hb"
|
|
2703
2758
|
],
|
|
@@ -2805,37 +2860,37 @@ var nr = {
|
|
|
2805
2860
|
"H",
|
|
2806
2861
|
"hB"
|
|
2807
2862
|
],
|
|
2808
|
-
"
|
|
2809
|
-
"H",
|
|
2863
|
+
"en-HK": [
|
|
2810
2864
|
"h",
|
|
2811
|
-
"
|
|
2812
|
-
"
|
|
2865
|
+
"hb",
|
|
2866
|
+
"H",
|
|
2867
|
+
"hB"
|
|
2813
2868
|
],
|
|
2814
|
-
"
|
|
2869
|
+
"en-IL": [
|
|
2815
2870
|
"H",
|
|
2816
2871
|
"h",
|
|
2817
|
-
"
|
|
2818
|
-
"
|
|
2872
|
+
"hb",
|
|
2873
|
+
"hB"
|
|
2819
2874
|
],
|
|
2820
|
-
"
|
|
2821
|
-
"H",
|
|
2875
|
+
"en-MY": [
|
|
2822
2876
|
"h",
|
|
2823
|
-
"
|
|
2824
|
-
"
|
|
2877
|
+
"hb",
|
|
2878
|
+
"H",
|
|
2879
|
+
"hB"
|
|
2825
2880
|
],
|
|
2826
|
-
"es-
|
|
2881
|
+
"es-BR": [
|
|
2827
2882
|
"H",
|
|
2828
2883
|
"h",
|
|
2829
2884
|
"hB",
|
|
2830
2885
|
"hb"
|
|
2831
2886
|
],
|
|
2832
|
-
"es-
|
|
2887
|
+
"es-ES": [
|
|
2833
2888
|
"H",
|
|
2834
2889
|
"h",
|
|
2835
2890
|
"hB",
|
|
2836
2891
|
"hb"
|
|
2837
2892
|
],
|
|
2838
|
-
"es-
|
|
2893
|
+
"es-GQ": [
|
|
2839
2894
|
"H",
|
|
2840
2895
|
"h",
|
|
2841
2896
|
"hB",
|
|
@@ -2912,13 +2967,13 @@ var nr = {
|
|
|
2912
2967
|
"h"
|
|
2913
2968
|
]
|
|
2914
2969
|
};
|
|
2915
|
-
function
|
|
2970
|
+
function Au(t, r) {
|
|
2916
2971
|
for (var e = "", o = 0; o < t.length; o++) {
|
|
2917
2972
|
var i = t.charAt(o);
|
|
2918
2973
|
if (i === "j") {
|
|
2919
2974
|
for (var s = 0; o + 1 < t.length && t.charAt(o + 1) === i; )
|
|
2920
2975
|
s++, o++;
|
|
2921
|
-
var n = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u =
|
|
2976
|
+
var n = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Cu(r);
|
|
2922
2977
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2923
2978
|
e += l;
|
|
2924
2979
|
for (; n-- > 0; )
|
|
@@ -2927,7 +2982,7 @@ function yu(t, r) {
|
|
|
2927
2982
|
}
|
|
2928
2983
|
return e;
|
|
2929
2984
|
}
|
|
2930
|
-
function
|
|
2985
|
+
function Cu(t) {
|
|
2931
2986
|
var r = t.hourCycle;
|
|
2932
2987
|
if (r === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2933
2988
|
t.hourCycles && // @ts-ignore
|
|
@@ -2949,20 +3004,20 @@ function vu(t) {
|
|
|
2949
3004
|
var i = nr[o || ""] || nr[e || ""] || nr["".concat(e, "-001")] || nr["001"];
|
|
2950
3005
|
return i[0];
|
|
2951
3006
|
}
|
|
2952
|
-
var
|
|
3007
|
+
var Zr, Tu = new RegExp("^".concat(wn.source, "*")), Pu = new RegExp("".concat(wn.source, "*$"));
|
|
2953
3008
|
function L(t, r) {
|
|
2954
3009
|
return { start: t, end: r };
|
|
2955
3010
|
}
|
|
2956
|
-
var
|
|
3011
|
+
var Du = !!String.prototype.startsWith && "_a".startsWith("a", 1), ku = !!String.fromCodePoint, Ou = !!Object.fromEntries, Mu = !!String.prototype.codePointAt, Iu = !!String.prototype.trimStart, Nu = !!String.prototype.trimEnd, Lu = !!Number.isSafeInteger, $u = Lu ? Number.isSafeInteger : function(t) {
|
|
2957
3012
|
return typeof t == "number" && isFinite(t) && Math.floor(t) === t && Math.abs(t) <= 9007199254740991;
|
|
2958
3013
|
}, Oo = !0;
|
|
2959
3014
|
try {
|
|
2960
|
-
var
|
|
2961
|
-
Oo = ((
|
|
3015
|
+
var Hu = Tn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3016
|
+
Oo = ((Zr = Hu.exec("a")) === null || Zr === void 0 ? void 0 : Zr[0]) === "a";
|
|
2962
3017
|
} catch (t) {
|
|
2963
3018
|
Oo = !1;
|
|
2964
3019
|
}
|
|
2965
|
-
var Zi =
|
|
3020
|
+
var Zi = Du ? (
|
|
2966
3021
|
// Native
|
|
2967
3022
|
function(r, e, o) {
|
|
2968
3023
|
return r.startsWith(e, o);
|
|
@@ -2972,7 +3027,7 @@ var Zi = Eu ? (
|
|
|
2972
3027
|
function(r, e, o) {
|
|
2973
3028
|
return r.slice(o, o + e.length) === e;
|
|
2974
3029
|
}
|
|
2975
|
-
), Mo =
|
|
3030
|
+
), Mo = ku ? String.fromCodePoint : (
|
|
2976
3031
|
// IE11
|
|
2977
3032
|
function() {
|
|
2978
3033
|
for (var r = [], e = 0; e < arguments.length; e++)
|
|
@@ -2986,7 +3041,7 @@ var Zi = Eu ? (
|
|
|
2986
3041
|
}
|
|
2987
3042
|
), Qi = (
|
|
2988
3043
|
// native
|
|
2989
|
-
|
|
3044
|
+
Ou ? Object.fromEntries : (
|
|
2990
3045
|
// Ponyfill
|
|
2991
3046
|
function(r) {
|
|
2992
3047
|
for (var e = {}, o = 0, i = r; o < i.length; o++) {
|
|
@@ -2996,7 +3051,7 @@ var Zi = Eu ? (
|
|
|
2996
3051
|
return e;
|
|
2997
3052
|
}
|
|
2998
3053
|
)
|
|
2999
|
-
),
|
|
3054
|
+
), Cn = Mu ? (
|
|
3000
3055
|
// Native
|
|
3001
3056
|
function(r, e) {
|
|
3002
3057
|
return r.codePointAt(e);
|
|
@@ -3010,7 +3065,7 @@ var Zi = Eu ? (
|
|
|
3010
3065
|
return i < 55296 || i > 56319 || e + 1 === o || (s = r.charCodeAt(e + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
3011
3066
|
}
|
|
3012
3067
|
}
|
|
3013
|
-
),
|
|
3068
|
+
), Bu = Iu ? (
|
|
3014
3069
|
// Native
|
|
3015
3070
|
function(r) {
|
|
3016
3071
|
return r.trimStart();
|
|
@@ -3018,9 +3073,9 @@ var Zi = Eu ? (
|
|
|
3018
3073
|
) : (
|
|
3019
3074
|
// Ponyfill
|
|
3020
3075
|
function(r) {
|
|
3021
|
-
return r.replace(
|
|
3076
|
+
return r.replace(Tu, "");
|
|
3022
3077
|
}
|
|
3023
|
-
),
|
|
3078
|
+
), zu = Nu ? (
|
|
3024
3079
|
// Native
|
|
3025
3080
|
function(r) {
|
|
3026
3081
|
return r.trimEnd();
|
|
@@ -3028,15 +3083,15 @@ var Zi = Eu ? (
|
|
|
3028
3083
|
) : (
|
|
3029
3084
|
// Ponyfill
|
|
3030
3085
|
function(r) {
|
|
3031
|
-
return r.replace(
|
|
3086
|
+
return r.replace(Pu, "");
|
|
3032
3087
|
}
|
|
3033
3088
|
);
|
|
3034
|
-
function
|
|
3089
|
+
function Tn(t, r) {
|
|
3035
3090
|
return new RegExp(t, r);
|
|
3036
3091
|
}
|
|
3037
3092
|
var Io;
|
|
3038
3093
|
if (Oo) {
|
|
3039
|
-
var es =
|
|
3094
|
+
var es = Tn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3040
3095
|
Io = function(r, e) {
|
|
3041
3096
|
var o;
|
|
3042
3097
|
es.lastIndex = e;
|
|
@@ -3046,14 +3101,14 @@ if (Oo) {
|
|
|
3046
3101
|
} else
|
|
3047
3102
|
Io = function(r, e) {
|
|
3048
3103
|
for (var o = []; ; ) {
|
|
3049
|
-
var i =
|
|
3050
|
-
if (i === void 0 ||
|
|
3104
|
+
var i = Cn(r, e);
|
|
3105
|
+
if (i === void 0 || Pn(i) || ju(i))
|
|
3051
3106
|
break;
|
|
3052
3107
|
o.push(i), e += i >= 65536 ? 2 : 1;
|
|
3053
3108
|
}
|
|
3054
3109
|
return Mo.apply(void 0, o);
|
|
3055
3110
|
};
|
|
3056
|
-
var
|
|
3111
|
+
var Fu = (
|
|
3057
3112
|
/** @class */
|
|
3058
3113
|
function() {
|
|
3059
3114
|
function t(r, e) {
|
|
@@ -3135,7 +3190,7 @@ var Nu = (
|
|
|
3135
3190
|
return this.error(I.INVALID_TAG, L(o, this.clonePosition()));
|
|
3136
3191
|
}, t.prototype.parseTagName = function() {
|
|
3137
3192
|
var r = this.offset();
|
|
3138
|
-
for (this.bump(); !this.isEOF() &&
|
|
3193
|
+
for (this.bump(); !this.isEOF() && Uu(this.char()); )
|
|
3139
3194
|
this.bump();
|
|
3140
3195
|
return this.message.slice(r, this.offset());
|
|
3141
3196
|
}, t.prototype.parseLiteral = function(r, e) {
|
|
@@ -3164,7 +3219,7 @@ var Nu = (
|
|
|
3164
3219
|
};
|
|
3165
3220
|
}, t.prototype.tryParseLeftAngleBracket = function() {
|
|
3166
3221
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3167
|
-
!
|
|
3222
|
+
!Ru(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3168
3223
|
}, t.prototype.tryParseQuote = function(r) {
|
|
3169
3224
|
if (this.isEOF() || this.char() !== 39)
|
|
3170
3225
|
return null;
|
|
@@ -3251,7 +3306,7 @@ var Nu = (
|
|
|
3251
3306
|
var c = this.clonePosition(), h = this.parseSimpleArgStyleIfPossible();
|
|
3252
3307
|
if (h.err)
|
|
3253
3308
|
return h;
|
|
3254
|
-
var d =
|
|
3309
|
+
var d = zu(h.val);
|
|
3255
3310
|
if (d.length === 0)
|
|
3256
3311
|
return this.error(I.EXPECT_ARGUMENT_STYLE, L(this.clonePosition(), this.clonePosition()));
|
|
3257
3312
|
var p = L(c, this.clonePosition());
|
|
@@ -3262,7 +3317,7 @@ var Nu = (
|
|
|
3262
3317
|
return f;
|
|
3263
3318
|
var v = L(i, this.clonePosition());
|
|
3264
3319
|
if (u && Zi(u == null ? void 0 : u.style, "::", 0)) {
|
|
3265
|
-
var P =
|
|
3320
|
+
var P = Bu(u.style.slice(2));
|
|
3266
3321
|
if (a === "number") {
|
|
3267
3322
|
var h = this.parseNumberSkeletonFromString(P, u.styleLocation);
|
|
3268
3323
|
return h.err ? h : {
|
|
@@ -3273,12 +3328,12 @@ var Nu = (
|
|
|
3273
3328
|
if (P.length === 0)
|
|
3274
3329
|
return this.error(I.EXPECT_DATE_TIME_SKELETON, v);
|
|
3275
3330
|
var D = P;
|
|
3276
|
-
this.locale && (D =
|
|
3331
|
+
this.locale && (D = Au(P, this.locale));
|
|
3277
3332
|
var d = {
|
|
3278
3333
|
type: ht.dateTime,
|
|
3279
3334
|
pattern: D,
|
|
3280
3335
|
location: u.styleLocation,
|
|
3281
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3336
|
+
parsedOptions: this.shouldParseSkeletons ? bu(D) : {}
|
|
3282
3337
|
}, O = a === "date" ? Y.date : Y.time;
|
|
3283
3338
|
return {
|
|
3284
3339
|
val: { type: O, value: o, location: v, style: d },
|
|
@@ -3383,7 +3438,7 @@ var Nu = (
|
|
|
3383
3438
|
}, t.prototype.parseNumberSkeletonFromString = function(r, e) {
|
|
3384
3439
|
var o = [];
|
|
3385
3440
|
try {
|
|
3386
|
-
o =
|
|
3441
|
+
o = vu(r);
|
|
3387
3442
|
} catch (i) {
|
|
3388
3443
|
return this.error(I.INVALID_NUMBER_SKELETON, e);
|
|
3389
3444
|
}
|
|
@@ -3392,7 +3447,7 @@ var Nu = (
|
|
|
3392
3447
|
type: ht.number,
|
|
3393
3448
|
tokens: o,
|
|
3394
3449
|
location: e,
|
|
3395
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3450
|
+
parsedOptions: this.shouldParseSkeletons ? Su(o) : {}
|
|
3396
3451
|
},
|
|
3397
3452
|
err: null
|
|
3398
3453
|
};
|
|
@@ -3440,7 +3495,7 @@ var Nu = (
|
|
|
3440
3495
|
break;
|
|
3441
3496
|
}
|
|
3442
3497
|
var l = L(i, this.clonePosition());
|
|
3443
|
-
return s ? (n *= o,
|
|
3498
|
+
return s ? (n *= o, $u(n) ? { val: n, err: null } : this.error(e, l)) : this.error(r, l);
|
|
3444
3499
|
}, t.prototype.offset = function() {
|
|
3445
3500
|
return this.position.offset;
|
|
3446
3501
|
}, t.prototype.isEOF = function() {
|
|
@@ -3455,7 +3510,7 @@ var Nu = (
|
|
|
3455
3510
|
var r = this.position.offset;
|
|
3456
3511
|
if (r >= this.message.length)
|
|
3457
3512
|
throw Error("out of bound");
|
|
3458
|
-
var e =
|
|
3513
|
+
var e = Cn(this.message, r);
|
|
3459
3514
|
if (e === void 0)
|
|
3460
3515
|
throw Error("Offset ".concat(r, " is at invalid UTF-16 code unit boundary"));
|
|
3461
3516
|
return e;
|
|
@@ -3496,7 +3551,7 @@ var Nu = (
|
|
|
3496
3551
|
break;
|
|
3497
3552
|
}
|
|
3498
3553
|
}, t.prototype.bumpSpace = function() {
|
|
3499
|
-
for (; !this.isEOF() &&
|
|
3554
|
+
for (; !this.isEOF() && Pn(this.char()); )
|
|
3500
3555
|
this.bump();
|
|
3501
3556
|
}, t.prototype.peek = function() {
|
|
3502
3557
|
if (this.isEOF())
|
|
@@ -3509,86 +3564,36 @@ var Nu = (
|
|
|
3509
3564
|
function No(t) {
|
|
3510
3565
|
return t >= 97 && t <= 122 || t >= 65 && t <= 90;
|
|
3511
3566
|
}
|
|
3512
|
-
function
|
|
3567
|
+
function Ru(t) {
|
|
3513
3568
|
return No(t) || t === 47;
|
|
3514
3569
|
}
|
|
3515
|
-
function
|
|
3570
|
+
function Uu(t) {
|
|
3516
3571
|
return t === 45 || t === 46 || t >= 48 && t <= 57 || t === 95 || t >= 97 && t <= 122 || t >= 65 && t <= 90 || t == 183 || t >= 192 && t <= 214 || t >= 216 && t <= 246 || t >= 248 && t <= 893 || t >= 895 && t <= 8191 || t >= 8204 && t <= 8205 || t >= 8255 && t <= 8256 || t >= 8304 && t <= 8591 || t >= 11264 && t <= 12271 || t >= 12289 && t <= 55295 || t >= 63744 && t <= 64975 || t >= 65008 && t <= 65533 || t >= 65536 && t <= 983039;
|
|
3517
3572
|
}
|
|
3518
|
-
function
|
|
3573
|
+
function Pn(t) {
|
|
3519
3574
|
return t >= 9 && t <= 13 || t === 32 || t === 133 || t >= 8206 && t <= 8207 || t === 8232 || t === 8233;
|
|
3520
3575
|
}
|
|
3521
|
-
function
|
|
3576
|
+
function ju(t) {
|
|
3522
3577
|
return t >= 33 && t <= 35 || t === 36 || t >= 37 && t <= 39 || t === 40 || t === 41 || t === 42 || t === 43 || t === 44 || t === 45 || t >= 46 && t <= 47 || t >= 58 && t <= 59 || t >= 60 && t <= 62 || t >= 63 && t <= 64 || t === 91 || t === 92 || t === 93 || t === 94 || t === 96 || t === 123 || t === 124 || t === 125 || t === 126 || t === 161 || t >= 162 && t <= 165 || t === 166 || t === 167 || t === 169 || t === 171 || t === 172 || t === 174 || t === 176 || t === 177 || t === 182 || t === 187 || t === 191 || t === 215 || t === 247 || t >= 8208 && t <= 8213 || t >= 8214 && t <= 8215 || t === 8216 || t === 8217 || t === 8218 || t >= 8219 && t <= 8220 || t === 8221 || t === 8222 || t === 8223 || t >= 8224 && t <= 8231 || t >= 8240 && t <= 8248 || t === 8249 || t === 8250 || t >= 8251 && t <= 8254 || t >= 8257 && t <= 8259 || t === 8260 || t === 8261 || t === 8262 || t >= 8263 && t <= 8273 || t === 8274 || t === 8275 || t >= 8277 && t <= 8286 || t >= 8592 && t <= 8596 || t >= 8597 && t <= 8601 || t >= 8602 && t <= 8603 || t >= 8604 && t <= 8607 || t === 8608 || t >= 8609 && t <= 8610 || t === 8611 || t >= 8612 && t <= 8613 || t === 8614 || t >= 8615 && t <= 8621 || t === 8622 || t >= 8623 && t <= 8653 || t >= 8654 && t <= 8655 || t >= 8656 && t <= 8657 || t === 8658 || t === 8659 || t === 8660 || t >= 8661 && t <= 8691 || t >= 8692 && t <= 8959 || t >= 8960 && t <= 8967 || t === 8968 || t === 8969 || t === 8970 || t === 8971 || t >= 8972 && t <= 8991 || t >= 8992 && t <= 8993 || t >= 8994 && t <= 9e3 || t === 9001 || t === 9002 || t >= 9003 && t <= 9083 || t === 9084 || t >= 9085 && t <= 9114 || t >= 9115 && t <= 9139 || t >= 9140 && t <= 9179 || t >= 9180 && t <= 9185 || t >= 9186 && t <= 9254 || t >= 9255 && t <= 9279 || t >= 9280 && t <= 9290 || t >= 9291 && t <= 9311 || t >= 9472 && t <= 9654 || t === 9655 || t >= 9656 && t <= 9664 || t === 9665 || t >= 9666 && t <= 9719 || t >= 9720 && t <= 9727 || t >= 9728 && t <= 9838 || t === 9839 || t >= 9840 && t <= 10087 || t === 10088 || t === 10089 || t === 10090 || t === 10091 || t === 10092 || t === 10093 || t === 10094 || t === 10095 || t === 10096 || t === 10097 || t === 10098 || t === 10099 || t === 10100 || t === 10101 || t >= 10132 && t <= 10175 || t >= 10176 && t <= 10180 || t === 10181 || t === 10182 || t >= 10183 && t <= 10213 || t === 10214 || t === 10215 || t === 10216 || t === 10217 || t === 10218 || t === 10219 || t === 10220 || t === 10221 || t === 10222 || t === 10223 || t >= 10224 && t <= 10239 || t >= 10240 && t <= 10495 || t >= 10496 && t <= 10626 || t === 10627 || t === 10628 || t === 10629 || t === 10630 || t === 10631 || t === 10632 || t === 10633 || t === 10634 || t === 10635 || t === 10636 || t === 10637 || t === 10638 || t === 10639 || t === 10640 || t === 10641 || t === 10642 || t === 10643 || t === 10644 || t === 10645 || t === 10646 || t === 10647 || t === 10648 || t >= 10649 && t <= 10711 || t === 10712 || t === 10713 || t === 10714 || t === 10715 || t >= 10716 && t <= 10747 || t === 10748 || t === 10749 || t >= 10750 && t <= 11007 || t >= 11008 && t <= 11055 || t >= 11056 && t <= 11076 || t >= 11077 && t <= 11078 || t >= 11079 && t <= 11084 || t >= 11085 && t <= 11123 || t >= 11124 && t <= 11125 || t >= 11126 && t <= 11157 || t === 11158 || t >= 11159 && t <= 11263 || t >= 11776 && t <= 11777 || t === 11778 || t === 11779 || t === 11780 || t === 11781 || t >= 11782 && t <= 11784 || t === 11785 || t === 11786 || t === 11787 || t === 11788 || t === 11789 || t >= 11790 && t <= 11798 || t === 11799 || t >= 11800 && t <= 11801 || t === 11802 || t === 11803 || t === 11804 || t === 11805 || t >= 11806 && t <= 11807 || t === 11808 || t === 11809 || t === 11810 || t === 11811 || t === 11812 || t === 11813 || t === 11814 || t === 11815 || t === 11816 || t === 11817 || t >= 11818 && t <= 11822 || t === 11823 || t >= 11824 && t <= 11833 || t >= 11834 && t <= 11835 || t >= 11836 && t <= 11839 || t === 11840 || t === 11841 || t === 11842 || t >= 11843 && t <= 11855 || t >= 11856 && t <= 11857 || t === 11858 || t >= 11859 && t <= 11903 || t >= 12289 && t <= 12291 || t === 12296 || t === 12297 || t === 12298 || t === 12299 || t === 12300 || t === 12301 || t === 12302 || t === 12303 || t === 12304 || t === 12305 || t >= 12306 && t <= 12307 || t === 12308 || t === 12309 || t === 12310 || t === 12311 || t === 12312 || t === 12313 || t === 12314 || t === 12315 || t === 12316 || t === 12317 || t >= 12318 && t <= 12319 || t === 12320 || t === 12336 || t === 64830 || t === 64831 || t >= 65093 && t <= 65094;
|
|
3523
3578
|
}
|
|
3524
3579
|
function Lo(t) {
|
|
3525
3580
|
t.forEach(function(r) {
|
|
3526
|
-
if (delete r.location,
|
|
3581
|
+
if (delete r.location, bn(r) || yn(r))
|
|
3527
3582
|
for (var e in r.options)
|
|
3528
3583
|
delete r.options[e].location, Lo(r.options[e].value);
|
|
3529
|
-
else
|
|
3584
|
+
else mn(r) && xn(r.style) || (_n(r) || gn(r)) && ko(r.style) ? delete r.style.location : vn(r) && Lo(r.children);
|
|
3530
3585
|
});
|
|
3531
3586
|
}
|
|
3532
|
-
function
|
|
3587
|
+
function Vu(t, r) {
|
|
3533
3588
|
r === void 0 && (r = {}), r = B({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, r);
|
|
3534
|
-
var e = new
|
|
3589
|
+
var e = new Fu(t, r).parse();
|
|
3535
3590
|
if (e.err) {
|
|
3536
3591
|
var o = SyntaxError(I[e.err.kind]);
|
|
3537
3592
|
throw o.location = e.err.location, o.originalMessage = e.err.message, o;
|
|
3538
3593
|
}
|
|
3539
3594
|
return r != null && r.captureLocation || Lo(e.val), e.val;
|
|
3540
3595
|
}
|
|
3541
|
-
|
|
3542
|
-
var e = r && r.cache ? r.cache : Vu, o = r && r.serializer ? r.serializer : ju, i = r && r.strategy ? r.strategy : Fu;
|
|
3543
|
-
return i(t, {
|
|
3544
|
-
cache: e,
|
|
3545
|
-
serializer: o
|
|
3546
|
-
});
|
|
3547
|
-
}
|
|
3548
|
-
function zu(t) {
|
|
3549
|
-
return t == null || typeof t == "number" || typeof t == "boolean";
|
|
3550
|
-
}
|
|
3551
|
-
function Pn(t, r, e, o) {
|
|
3552
|
-
var i = zu(o) ? o : e(o), s = r.get(i);
|
|
3553
|
-
return typeof s == "undefined" && (s = t.call(this, o), r.set(i, s)), s;
|
|
3554
|
-
}
|
|
3555
|
-
function Dn(t, r, e) {
|
|
3556
|
-
var o = Array.prototype.slice.call(arguments, 3), i = e(o), s = r.get(i);
|
|
3557
|
-
return typeof s == "undefined" && (s = t.apply(this, o), r.set(i, s)), s;
|
|
3558
|
-
}
|
|
3559
|
-
function ai(t, r, e, o, i) {
|
|
3560
|
-
return e.bind(r, t, o, i);
|
|
3561
|
-
}
|
|
3562
|
-
function Fu(t, r) {
|
|
3563
|
-
var e = t.length === 1 ? Pn : Dn;
|
|
3564
|
-
return ai(t, this, e, r.cache.create(), r.serializer);
|
|
3565
|
-
}
|
|
3566
|
-
function Ru(t, r) {
|
|
3567
|
-
return ai(t, this, Dn, r.cache.create(), r.serializer);
|
|
3568
|
-
}
|
|
3569
|
-
function Uu(t, r) {
|
|
3570
|
-
return ai(t, this, Pn, r.cache.create(), r.serializer);
|
|
3571
|
-
}
|
|
3572
|
-
var ju = function() {
|
|
3573
|
-
return JSON.stringify(arguments);
|
|
3574
|
-
};
|
|
3575
|
-
function li() {
|
|
3576
|
-
this.cache = /* @__PURE__ */ Object.create(null);
|
|
3577
|
-
}
|
|
3578
|
-
li.prototype.get = function(t) {
|
|
3579
|
-
return this.cache[t];
|
|
3580
|
-
};
|
|
3581
|
-
li.prototype.set = function(t, r) {
|
|
3582
|
-
this.cache[t] = r;
|
|
3583
|
-
};
|
|
3584
|
-
var Vu = {
|
|
3585
|
-
create: function() {
|
|
3586
|
-
return new li();
|
|
3587
|
-
}
|
|
3588
|
-
}, Zr = {
|
|
3589
|
-
variadic: Ru,
|
|
3590
|
-
monadic: Uu
|
|
3591
|
-
}, dt;
|
|
3596
|
+
var dt;
|
|
3592
3597
|
(function(t) {
|
|
3593
3598
|
t.MISSING_VALUE = "MISSING_VALUE", t.INVALID_VALUE = "INVALID_VALUE", t.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3594
3599
|
})(dt || (dt = {}));
|
|
@@ -3661,7 +3666,7 @@ function pr(t, r, e, o, i, s, n) {
|
|
|
3661
3666
|
});
|
|
3662
3667
|
continue;
|
|
3663
3668
|
}
|
|
3664
|
-
if (
|
|
3669
|
+
if (_u(c)) {
|
|
3665
3670
|
typeof s == "number" && a.push({
|
|
3666
3671
|
type: ne.literal,
|
|
3667
3672
|
value: e.getNumberFormat(r).format(s)
|
|
@@ -3672,14 +3677,14 @@ function pr(t, r, e, o, i, s, n) {
|
|
|
3672
3677
|
if (!(i && h in i))
|
|
3673
3678
|
throw new Gu(h, n);
|
|
3674
3679
|
var d = i[h];
|
|
3675
|
-
if (
|
|
3680
|
+
if (mu(c)) {
|
|
3676
3681
|
(!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
|
|
3677
3682
|
type: typeof d == "string" ? ne.literal : ne.object,
|
|
3678
3683
|
value: d
|
|
3679
3684
|
});
|
|
3680
3685
|
continue;
|
|
3681
3686
|
}
|
|
3682
|
-
if (
|
|
3687
|
+
if (_n(c)) {
|
|
3683
3688
|
var p = typeof c.style == "string" ? o.date[c.style] : ko(c.style) ? c.style.parsedOptions : void 0;
|
|
3684
3689
|
a.push({
|
|
3685
3690
|
type: ne.literal,
|
|
@@ -3687,7 +3692,7 @@ function pr(t, r, e, o, i, s, n) {
|
|
|
3687
3692
|
});
|
|
3688
3693
|
continue;
|
|
3689
3694
|
}
|
|
3690
|
-
if (
|
|
3695
|
+
if (gn(c)) {
|
|
3691
3696
|
var p = typeof c.style == "string" ? o.time[c.style] : ko(c.style) ? c.style.parsedOptions : o.time.medium;
|
|
3692
3697
|
a.push({
|
|
3693
3698
|
type: ne.literal,
|
|
@@ -3695,15 +3700,15 @@ function pr(t, r, e, o, i, s, n) {
|
|
|
3695
3700
|
});
|
|
3696
3701
|
continue;
|
|
3697
3702
|
}
|
|
3698
|
-
if (
|
|
3699
|
-
var p = typeof c.style == "string" ? o.number[c.style] :
|
|
3703
|
+
if (mn(c)) {
|
|
3704
|
+
var p = typeof c.style == "string" ? o.number[c.style] : xn(c.style) ? c.style.parsedOptions : void 0;
|
|
3700
3705
|
p && p.scale && (d = d * (p.scale || 1)), a.push({
|
|
3701
3706
|
type: ne.literal,
|
|
3702
3707
|
value: e.getNumberFormat(r, p).format(d)
|
|
3703
3708
|
});
|
|
3704
3709
|
continue;
|
|
3705
3710
|
}
|
|
3706
|
-
if (
|
|
3711
|
+
if (vn(c)) {
|
|
3707
3712
|
var f = c.children, v = c.value, P = i[v];
|
|
3708
3713
|
if (!qu(P))
|
|
3709
3714
|
throw new Yu(v, "function", n);
|
|
@@ -3717,14 +3722,14 @@ function pr(t, r, e, o, i, s, n) {
|
|
|
3717
3722
|
};
|
|
3718
3723
|
}));
|
|
3719
3724
|
}
|
|
3720
|
-
if (
|
|
3725
|
+
if (bn(c)) {
|
|
3721
3726
|
var F = c.options[d] || c.options.other;
|
|
3722
3727
|
if (!F)
|
|
3723
3728
|
throw new ts(c.value, d, Object.keys(c.options), n);
|
|
3724
3729
|
a.push.apply(a, pr(F.value, r, e, o, i));
|
|
3725
3730
|
continue;
|
|
3726
3731
|
}
|
|
3727
|
-
if (
|
|
3732
|
+
if (yn(c)) {
|
|
3728
3733
|
var F = c.options["=".concat(d)];
|
|
3729
3734
|
if (!F) {
|
|
3730
3735
|
if (!Intl.PluralRules)
|
|
@@ -3772,29 +3777,29 @@ function Ju(t) {
|
|
|
3772
3777
|
dateTime: {},
|
|
3773
3778
|
pluralRules: {}
|
|
3774
3779
|
}), {
|
|
3775
|
-
getNumberFormat:
|
|
3780
|
+
getNumberFormat: Kr(function() {
|
|
3776
3781
|
for (var r, e = [], o = 0; o < arguments.length; o++)
|
|
3777
3782
|
e[o] = arguments[o];
|
|
3778
3783
|
return new ((r = Intl.NumberFormat).bind.apply(r, nt([void 0], e, !1)))();
|
|
3779
3784
|
}, {
|
|
3780
3785
|
cache: Qr(t.number),
|
|
3781
|
-
strategy:
|
|
3786
|
+
strategy: Jr.variadic
|
|
3782
3787
|
}),
|
|
3783
|
-
getDateTimeFormat:
|
|
3788
|
+
getDateTimeFormat: Kr(function() {
|
|
3784
3789
|
for (var r, e = [], o = 0; o < arguments.length; o++)
|
|
3785
3790
|
e[o] = arguments[o];
|
|
3786
3791
|
return new ((r = Intl.DateTimeFormat).bind.apply(r, nt([void 0], e, !1)))();
|
|
3787
3792
|
}, {
|
|
3788
3793
|
cache: Qr(t.dateTime),
|
|
3789
|
-
strategy:
|
|
3794
|
+
strategy: Jr.variadic
|
|
3790
3795
|
}),
|
|
3791
|
-
getPluralRules:
|
|
3796
|
+
getPluralRules: Kr(function() {
|
|
3792
3797
|
for (var r, e = [], o = 0; o < arguments.length; o++)
|
|
3793
3798
|
e[o] = arguments[o];
|
|
3794
3799
|
return new ((r = Intl.PluralRules).bind.apply(r, nt([void 0], e, !1)))();
|
|
3795
3800
|
}, {
|
|
3796
3801
|
cache: Qr(t.pluralRules),
|
|
3797
|
-
strategy:
|
|
3802
|
+
strategy: Jr.variadic
|
|
3798
3803
|
})
|
|
3799
3804
|
};
|
|
3800
3805
|
}
|
|
@@ -3802,8 +3807,9 @@ var Zu = (
|
|
|
3802
3807
|
/** @class */
|
|
3803
3808
|
function() {
|
|
3804
3809
|
function t(r, e, o, i) {
|
|
3810
|
+
e === void 0 && (e = t.defaultLocale);
|
|
3805
3811
|
var s = this;
|
|
3806
|
-
if (
|
|
3812
|
+
if (this.formatterCache = {
|
|
3807
3813
|
number: {},
|
|
3808
3814
|
dateTime: {},
|
|
3809
3815
|
pluralRules: {}
|
|
@@ -3829,7 +3835,7 @@ var Zu = (
|
|
|
3829
3835
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3830
3836
|
var n = i || {};
|
|
3831
3837
|
n.formatters;
|
|
3832
|
-
var a =
|
|
3838
|
+
var a = Ol(n, ["formatters"]);
|
|
3833
3839
|
this.ast = t.__parse(r, B(B({}, a), { locale: this.resolvedLocale }));
|
|
3834
3840
|
} else
|
|
3835
3841
|
this.ast = r;
|
|
@@ -3848,7 +3854,7 @@ var Zu = (
|
|
|
3848
3854
|
var e = Intl.NumberFormat.supportedLocalesOf(r);
|
|
3849
3855
|
return e.length > 0 ? new Intl.Locale(e[0]) : new Intl.Locale(typeof r == "string" ? r : r[0]);
|
|
3850
3856
|
}
|
|
3851
|
-
}, t.__parse =
|
|
3857
|
+
}, t.__parse = Vu, t.formats = {
|
|
3852
3858
|
number: {
|
|
3853
3859
|
integer: {
|
|
3854
3860
|
maximumFractionDigits: 0
|
|
@@ -3930,7 +3936,7 @@ function Qu(t, r) {
|
|
|
3930
3936
|
o = void 0;
|
|
3931
3937
|
return o;
|
|
3932
3938
|
}
|
|
3933
|
-
const Ne = {}, ec = (t, r, e) => e && (r in Ne || (Ne[r] = {}), t in Ne[r] || (Ne[r][t] = e), e),
|
|
3939
|
+
const Ne = {}, ec = (t, r, e) => e && (r in Ne || (Ne[r] = {}), t in Ne[r] || (Ne[r][t] = e), e), Dn = (t, r) => {
|
|
3934
3940
|
if (r == null)
|
|
3935
3941
|
return;
|
|
3936
3942
|
if (r in Ne && t in Ne[r])
|
|
@@ -3947,11 +3953,11 @@ const Xt = Mr({});
|
|
|
3947
3953
|
function tc(t) {
|
|
3948
3954
|
return ui[t] || null;
|
|
3949
3955
|
}
|
|
3950
|
-
function
|
|
3956
|
+
function kn(t) {
|
|
3951
3957
|
return t in ui;
|
|
3952
3958
|
}
|
|
3953
3959
|
function rc(t, r) {
|
|
3954
|
-
if (!
|
|
3960
|
+
if (!kn(t))
|
|
3955
3961
|
return null;
|
|
3956
3962
|
const e = tc(t);
|
|
3957
3963
|
return Qu(e, r);
|
|
@@ -3962,11 +3968,11 @@ function oc(t) {
|
|
|
3962
3968
|
const r = Nr(t);
|
|
3963
3969
|
for (let e = 0; e < r.length; e++) {
|
|
3964
3970
|
const o = r[e];
|
|
3965
|
-
if (
|
|
3971
|
+
if (kn(o))
|
|
3966
3972
|
return o;
|
|
3967
3973
|
}
|
|
3968
3974
|
}
|
|
3969
|
-
function
|
|
3975
|
+
function On(t, ...r) {
|
|
3970
3976
|
delete Ne[t], Xt.update((e) => (e[t] = lu.all([e[t] || {}, ...r]), e));
|
|
3971
3977
|
}
|
|
3972
3978
|
bt(
|
|
@@ -3978,12 +3984,12 @@ const fr = {};
|
|
|
3978
3984
|
function ic(t, r) {
|
|
3979
3985
|
fr[t].delete(r), fr[t].size === 0 && delete fr[t];
|
|
3980
3986
|
}
|
|
3981
|
-
function
|
|
3987
|
+
function Mn(t) {
|
|
3982
3988
|
return fr[t];
|
|
3983
3989
|
}
|
|
3984
3990
|
function sc(t) {
|
|
3985
3991
|
return Nr(t).map((r) => {
|
|
3986
|
-
const e =
|
|
3992
|
+
const e = Mn(r);
|
|
3987
3993
|
return [r, e ? [...e] : []];
|
|
3988
3994
|
}).filter(([, r]) => r.length > 0);
|
|
3989
3995
|
}
|
|
@@ -3991,17 +3997,17 @@ function $o(t) {
|
|
|
3991
3997
|
return t == null ? !1 : Nr(t).some(
|
|
3992
3998
|
(r) => {
|
|
3993
3999
|
var e;
|
|
3994
|
-
return (e =
|
|
4000
|
+
return (e = Mn(r)) == null ? void 0 : e.size;
|
|
3995
4001
|
}
|
|
3996
4002
|
);
|
|
3997
4003
|
}
|
|
3998
4004
|
function nc(t, r) {
|
|
3999
4005
|
return Promise.all(
|
|
4000
4006
|
r.map((o) => (ic(t, o), o().then((i) => i.default || i)))
|
|
4001
|
-
).then((o) =>
|
|
4007
|
+
).then((o) => On(t, ...o));
|
|
4002
4008
|
}
|
|
4003
4009
|
const At = {};
|
|
4004
|
-
function
|
|
4010
|
+
function In(t) {
|
|
4005
4011
|
if (!$o(t))
|
|
4006
4012
|
return t in At ? At[t] : Promise.resolve();
|
|
4007
4013
|
const r = sc(t);
|
|
@@ -4011,7 +4017,7 @@ function Nn(t) {
|
|
|
4011
4017
|
)
|
|
4012
4018
|
).then(() => {
|
|
4013
4019
|
if ($o(t))
|
|
4014
|
-
return
|
|
4020
|
+
return In(t);
|
|
4015
4021
|
delete At[t];
|
|
4016
4022
|
}), At[t];
|
|
4017
4023
|
}
|
|
@@ -4086,7 +4092,7 @@ const gc = (t) => {
|
|
|
4086
4092
|
return typeof window != "undefined" && We() != null && r ? e = window.setTimeout(
|
|
4087
4093
|
() => eo.set(!0),
|
|
4088
4094
|
r
|
|
4089
|
-
) : eo.set(!0),
|
|
4095
|
+
) : eo.set(!0), In(t).then(() => {
|
|
4090
4096
|
xr.set(t);
|
|
4091
4097
|
}).finally(() => {
|
|
4092
4098
|
clearTimeout(e), eo.set(!1);
|
|
@@ -4102,20 +4108,20 @@ const gc = (t) => {
|
|
|
4102
4108
|
return i in r ? r[i] : r[i] = t(o);
|
|
4103
4109
|
};
|
|
4104
4110
|
};
|
|
4105
|
-
var bc = Object.defineProperty, wr = Object.getOwnPropertySymbols,
|
|
4111
|
+
var bc = Object.defineProperty, wr = Object.getOwnPropertySymbols, Nn = Object.prototype.hasOwnProperty, Ln = Object.prototype.propertyIsEnumerable, ss = (t, r, e) => r in t ? bc(t, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[r] = e, ci = (t, r) => {
|
|
4106
4112
|
for (var e in r || (r = {}))
|
|
4107
|
-
|
|
4113
|
+
Nn.call(r, e) && ss(t, e, r[e]);
|
|
4108
4114
|
if (wr)
|
|
4109
4115
|
for (var e of wr(r))
|
|
4110
|
-
|
|
4116
|
+
Ln.call(r, e) && ss(t, e, r[e]);
|
|
4111
4117
|
return t;
|
|
4112
4118
|
}, vt = (t, r) => {
|
|
4113
4119
|
var e = {};
|
|
4114
4120
|
for (var o in t)
|
|
4115
|
-
|
|
4121
|
+
Nn.call(t, o) && r.indexOf(o) < 0 && (e[o] = t[o]);
|
|
4116
4122
|
if (t != null && wr)
|
|
4117
4123
|
for (var o of wr(t))
|
|
4118
|
-
r.indexOf(o) < 0 &&
|
|
4124
|
+
r.indexOf(o) < 0 && Ln.call(t, o) && (e[o] = t[o]);
|
|
4119
4125
|
return e;
|
|
4120
4126
|
};
|
|
4121
4127
|
const Ht = (t, r) => {
|
|
@@ -4185,7 +4191,7 @@ const Ht = (t, r) => {
|
|
|
4185
4191
|
throw new Error(
|
|
4186
4192
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4187
4193
|
);
|
|
4188
|
-
let c =
|
|
4194
|
+
let c = Dn(t, l);
|
|
4189
4195
|
if (!c)
|
|
4190
4196
|
c = (s = (i = (o = (e = pt()).handleMissingMessage) == null ? void 0 : o.call(e, { locale: l, id: t, defaultValue: u })) != null ? i : u) != null ? s : t;
|
|
4191
4197
|
else if (typeof c != "string")
|
|
@@ -4204,14 +4210,14 @@ const Ht = (t, r) => {
|
|
|
4204
4210
|
);
|
|
4205
4211
|
}
|
|
4206
4212
|
return h;
|
|
4207
|
-
}, Tc = (t, r) => Sc(r).format(t), Pc = (t, r) => Ec(r).format(t), Dc = (t, r) => wc(r).format(t), kc = (t, r = We()) =>
|
|
4213
|
+
}, Tc = (t, r) => Sc(r).format(t), Pc = (t, r) => Ec(r).format(t), Dc = (t, r) => wc(r).format(t), kc = (t, r = We()) => Dn(t, r), Oc = bt([yt, Xt], () => Cc);
|
|
4208
4214
|
bt([yt], () => Tc);
|
|
4209
4215
|
bt([yt], () => Pc);
|
|
4210
4216
|
bt([yt], () => Dc);
|
|
4211
4217
|
bt([yt, Xt], () => kc);
|
|
4212
4218
|
window.emWidgets = { topic: Yl };
|
|
4213
4219
|
const Mc = (t) => t.toLowerCase().match(/android/i) ? "Android" : t.toLowerCase().match(/iphone/i) ? "iPhone" : t.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4214
|
-
var
|
|
4220
|
+
var $n = { exports: {} };
|
|
4215
4221
|
(function(t, r) {
|
|
4216
4222
|
(function(e, o) {
|
|
4217
4223
|
t.exports = o();
|
|
@@ -4486,11 +4492,11 @@ var Hn = { exports: {} };
|
|
|
4486
4492
|
return j(1e3 * w);
|
|
4487
4493
|
}, j.en = W[q], j.Ls = W, j.p = {}, j;
|
|
4488
4494
|
});
|
|
4489
|
-
})(
|
|
4490
|
-
var Ic =
|
|
4491
|
-
const to = /* @__PURE__ */
|
|
4495
|
+
})($n);
|
|
4496
|
+
var Ic = $n.exports;
|
|
4497
|
+
const to = /* @__PURE__ */ hn(Ic);
|
|
4492
4498
|
function ns(t, r) {
|
|
4493
|
-
|
|
4499
|
+
On(t, r);
|
|
4494
4500
|
}
|
|
4495
4501
|
function Nc(t) {
|
|
4496
4502
|
yt.set(t);
|
|
@@ -4832,7 +4838,7 @@ const Er = window, cs = Er.trustedTypes, Bc = cs ? cs.emptyScript : "", hs = Er.
|
|
|
4832
4838
|
}
|
|
4833
4839
|
}
|
|
4834
4840
|
return e;
|
|
4835
|
-
} },
|
|
4841
|
+
} }, Hn = (t, r) => r !== t && (r == r || t == t), oo = { attribute: !0, type: String, converter: Bo, reflect: !1, hasChanged: Hn }, zo = "finalized";
|
|
4836
4842
|
let it = class extends HTMLElement {
|
|
4837
4843
|
constructor() {
|
|
4838
4844
|
super(), this._$Ei = /* @__PURE__ */ new Map(), this.isUpdatePending = !1, this.hasUpdated = !1, this._$El = null, this._$Eu();
|
|
@@ -4947,7 +4953,7 @@ let it = class extends HTMLElement {
|
|
|
4947
4953
|
}
|
|
4948
4954
|
requestUpdate(r, e, o) {
|
|
4949
4955
|
let i = !0;
|
|
4950
|
-
r !== void 0 && (((o = o || this.constructor.getPropertyOptions(r)).hasChanged ||
|
|
4956
|
+
r !== void 0 && (((o = o || this.constructor.getPropertyOptions(r)).hasChanged || Hn)(this[r], e) ? (this._$AL.has(r) || this._$AL.set(r, e), o.reflect === !0 && this._$El !== r && (this._$EC === void 0 && (this._$EC = /* @__PURE__ */ new Map()), this._$EC.set(r, o))) : i = !1), !this.isUpdatePending && i && (this._$E_ = this._$Ej());
|
|
4951
4957
|
}
|
|
4952
4958
|
_$Ej() {
|
|
4953
4959
|
return St(this, null, function* () {
|
|
@@ -5016,10 +5022,10 @@ it[zo] = !0, it.elementProperties = /* @__PURE__ */ new Map(), it.elementStyles
|
|
|
5016
5022
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
5017
5023
|
*/
|
|
5018
5024
|
var io;
|
|
5019
|
-
const Sr = window, ft = Sr.trustedTypes, ds = ft ? ft.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, Fo = "$lit$", Ie = `lit$${(Math.random() + "").slice(9)}$`,
|
|
5025
|
+
const Sr = window, ft = Sr.trustedTypes, ds = ft ? ft.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, Fo = "$lit$", Ie = `lit$${(Math.random() + "").slice(9)}$`, Bn = "?" + Ie, zc = `<${Bn}>`, Ge = document, Bt = () => Ge.createComment(""), zt = (t) => t === null || typeof t != "object" && typeof t != "function", zn = Array.isArray, Fc = (t) => zn(t) || typeof (t == null ? void 0 : t[Symbol.iterator]) == "function", so = `[
|
|
5020
5026
|
\f\r]`, Ct = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ps = /-->/g, fs = />/g, Re = RegExp(`>|${so}(?:([^\\s"'>=/]+)(${so}*=${so}*(?:[^
|
|
5021
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), ms = /'/g, _s = /"/g,
|
|
5022
|
-
function
|
|
5027
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), ms = /'/g, _s = /"/g, Fn = /^(?:script|style|textarea|title)$/i, mt = Symbol.for("lit-noChange"), te = Symbol.for("lit-nothing"), gs = /* @__PURE__ */ new WeakMap(), Ue = Ge.createTreeWalker(Ge, 129, null, !1);
|
|
5028
|
+
function Rn(t, r) {
|
|
5023
5029
|
if (!Array.isArray(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
5024
5030
|
return ds !== void 0 ? ds.createHTML(r) : r;
|
|
5025
5031
|
}
|
|
@@ -5029,11 +5035,11 @@ const Rc = (t, r) => {
|
|
|
5029
5035
|
for (let a = 0; a < e; a++) {
|
|
5030
5036
|
const l = t[a];
|
|
5031
5037
|
let u, c, h = -1, d = 0;
|
|
5032
|
-
for (; d < l.length && (n.lastIndex = d, c = n.exec(l), c !== null); ) d = n.lastIndex, n === Ct ? c[1] === "!--" ? n = ps : c[1] !== void 0 ? n = fs : c[2] !== void 0 ? (
|
|
5038
|
+
for (; d < l.length && (n.lastIndex = d, c = n.exec(l), c !== null); ) d = n.lastIndex, n === Ct ? c[1] === "!--" ? n = ps : c[1] !== void 0 ? n = fs : c[2] !== void 0 ? (Fn.test(c[2]) && (i = RegExp("</" + c[2], "g")), n = Re) : c[3] !== void 0 && (n = Re) : n === Re ? c[0] === ">" ? (n = i != null ? i : Ct, h = -1) : c[1] === void 0 ? h = -2 : (h = n.lastIndex - c[2].length, u = c[1], n = c[3] === void 0 ? Re : c[3] === '"' ? _s : ms) : n === _s || n === ms ? n = Re : n === ps || n === fs ? n = Ct : (n = Re, i = void 0);
|
|
5033
5039
|
const p = n === Re && t[a + 1].startsWith("/>") ? " " : "";
|
|
5034
5040
|
s += n === Ct ? l + zc : h >= 0 ? (o.push(u), l.slice(0, h) + Fo + l.slice(h) + Ie + p) : l + Ie + (h === -2 ? (o.push(void 0), a) : p);
|
|
5035
5041
|
}
|
|
5036
|
-
return [
|
|
5042
|
+
return [Rn(t, s + (t[e] || "<?>") + (r === 2 ? "</svg>" : "")), o];
|
|
5037
5043
|
};
|
|
5038
5044
|
class Ft {
|
|
5039
5045
|
constructor({ strings: r, _$litType$: e }, o) {
|
|
@@ -5058,7 +5064,7 @@ class Ft {
|
|
|
5058
5064
|
}
|
|
5059
5065
|
for (const d of h) i.removeAttribute(d);
|
|
5060
5066
|
}
|
|
5061
|
-
if (
|
|
5067
|
+
if (Fn.test(i.tagName)) {
|
|
5062
5068
|
const h = i.textContent.split(Ie), d = h.length - 1;
|
|
5063
5069
|
if (d > 0) {
|
|
5064
5070
|
i.textContent = ft ? ft.emptyScript : "";
|
|
@@ -5066,7 +5072,7 @@ class Ft {
|
|
|
5066
5072
|
i.append(h[d], Bt());
|
|
5067
5073
|
}
|
|
5068
5074
|
}
|
|
5069
|
-
} else if (i.nodeType === 8) if (i.data ===
|
|
5075
|
+
} else if (i.nodeType === 8) if (i.data === Bn) l.push({ type: 2, index: s });
|
|
5070
5076
|
else {
|
|
5071
5077
|
let h = -1;
|
|
5072
5078
|
for (; (h = i.data.indexOf(Ie, h + 1)) !== -1; ) l.push({ type: 7, index: s }), h += Ie.length - 1;
|
|
@@ -5149,7 +5155,7 @@ class Kt {
|
|
|
5149
5155
|
}
|
|
5150
5156
|
g(r) {
|
|
5151
5157
|
var e;
|
|
5152
|
-
const { values: o, _$litType$: i } = r, s = typeof i == "number" ? this._$AC(r) : (i.el === void 0 && (i.el = Ft.createElement(
|
|
5158
|
+
const { values: o, _$litType$: i } = r, s = typeof i == "number" ? this._$AC(r) : (i.el === void 0 && (i.el = Ft.createElement(Rn(i.h, i.h[0]), this.options)), i);
|
|
5153
5159
|
if (((e = this._$AH) === null || e === void 0 ? void 0 : e._$AD) === s) this._$AH.v(o);
|
|
5154
5160
|
else {
|
|
5155
5161
|
const n = new Uc(s, this), a = n.u(this.options);
|
|
@@ -5161,7 +5167,7 @@ class Kt {
|
|
|
5161
5167
|
return e === void 0 && gs.set(r.strings, e = new Ft(r)), e;
|
|
5162
5168
|
}
|
|
5163
5169
|
T(r) {
|
|
5164
|
-
|
|
5170
|
+
zn(this._$AH) || (this._$AH = [], this._$AR());
|
|
5165
5171
|
const e = this._$AH;
|
|
5166
5172
|
let o, i = 0;
|
|
5167
5173
|
for (const s of r) i === e.length ? e.push(o = new Kt(this.k(Bt()), this.k(Bt()), this, this.options)) : o = e[i], o._$AI(s), i++;
|
|
@@ -5338,12 +5344,12 @@ const Xc = (t) => class extends t {
|
|
|
5338
5344
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
5339
5345
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5340
5346
|
*/
|
|
5341
|
-
const
|
|
5342
|
-
function
|
|
5347
|
+
const Un = [];
|
|
5348
|
+
function jn(t) {
|
|
5343
5349
|
return t && Object.prototype.hasOwnProperty.call(t, "__themes");
|
|
5344
5350
|
}
|
|
5345
5351
|
function Kc(t) {
|
|
5346
|
-
return
|
|
5352
|
+
return jn(customElements.get(t));
|
|
5347
5353
|
}
|
|
5348
5354
|
function Jc(t = []) {
|
|
5349
5355
|
return [t].flat(1 / 0).filter((r) => r instanceof pi ? !0 : (console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."), !1));
|
|
@@ -5352,7 +5358,7 @@ function G(t, r, e = {}) {
|
|
|
5352
5358
|
t && Kc(t) && console.warn(`The custom element definition for "${t}"
|
|
5353
5359
|
was finalized before a style module was registered.
|
|
5354
5360
|
Make sure to add component specific style modules before
|
|
5355
|
-
importing the corresponding custom element.`), r = Jc(r), window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.registerStyles(t, r, e) :
|
|
5361
|
+
importing the corresponding custom element.`), r = Jc(r), window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.registerStyles(t, r, e) : Un.push({
|
|
5356
5362
|
themeFor: t,
|
|
5357
5363
|
styles: r,
|
|
5358
5364
|
include: e.include,
|
|
@@ -5360,7 +5366,7 @@ function G(t, r, e = {}) {
|
|
|
5360
5366
|
});
|
|
5361
5367
|
}
|
|
5362
5368
|
function Ro() {
|
|
5363
|
-
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() :
|
|
5369
|
+
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() : Un;
|
|
5364
5370
|
}
|
|
5365
5371
|
function Zc(t, r) {
|
|
5366
5372
|
return (t || "").split(" ").some((e) => new RegExp(`^${e.split("*").join(".*")}$`, "u").test(r));
|
|
@@ -5369,11 +5375,11 @@ function Qc(t = "") {
|
|
|
5369
5375
|
let r = 0;
|
|
5370
5376
|
return t.startsWith("lumo-") || t.startsWith("material-") ? r = 1 : t.startsWith("vaadin-") && (r = 2), r;
|
|
5371
5377
|
}
|
|
5372
|
-
function
|
|
5378
|
+
function Vn(t) {
|
|
5373
5379
|
const r = [];
|
|
5374
5380
|
return t.include && [].concat(t.include).forEach((e) => {
|
|
5375
5381
|
const o = Ro().find((i) => i.moduleId === e);
|
|
5376
|
-
o ? r.push(...
|
|
5382
|
+
o ? r.push(...Vn(o), ...o.styles) : console.warn(`Included moduleId ${e} not found in style registry`);
|
|
5377
5383
|
}, t.styles), r;
|
|
5378
5384
|
}
|
|
5379
5385
|
function eh(t, r) {
|
|
@@ -5384,7 +5390,7 @@ function eh(t, r) {
|
|
|
5384
5390
|
function th(t) {
|
|
5385
5391
|
const r = `${t}-default-theme`, e = Ro().filter((o) => o.moduleId !== r && Zc(o.themeFor, t)).map((o) => ir(or({}, o), {
|
|
5386
5392
|
// Prepend styles from included themes
|
|
5387
|
-
styles: [...
|
|
5393
|
+
styles: [...Vn(o), ...o.styles],
|
|
5388
5394
|
// Map moduleId to includePriority
|
|
5389
5395
|
includePriority: Qc(o.moduleId)
|
|
5390
5396
|
})).sort((o, i) => i.includePriority - o.includePriority);
|
|
@@ -5399,7 +5405,7 @@ const qe = (t) => class extends Xc(t) {
|
|
|
5399
5405
|
if (super.finalize(), this.elementStyles)
|
|
5400
5406
|
return;
|
|
5401
5407
|
const e = this.prototype._template;
|
|
5402
|
-
!e ||
|
|
5408
|
+
!e || jn(this) || eh(this.getStylesForThis(), e);
|
|
5403
5409
|
}
|
|
5404
5410
|
/**
|
|
5405
5411
|
* Covers LitElement based component styling
|
|
@@ -6046,9 +6052,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6046
6052
|
Code distributed by Google as part of the polymer project is also
|
|
6047
6053
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6048
6054
|
*/
|
|
6049
|
-
const
|
|
6055
|
+
const Yn = !window.ShadyDOM || !window.ShadyDOM.inUse;
|
|
6050
6056
|
!window.ShadyCSS || window.ShadyCSS.nativeCss;
|
|
6051
|
-
const ch =
|
|
6057
|
+
const ch = Yn && "adoptedStyleSheets" in Document.prototype && "replaceSync" in CSSStyleSheet.prototype && // Since spec may change, feature detect exact API we need
|
|
6052
6058
|
(() => {
|
|
6053
6059
|
try {
|
|
6054
6060
|
const t = new CSSStyleSheet();
|
|
@@ -6061,7 +6067,7 @@ const ch = Gn && "adoptedStyleSheets" in Document.prototype && "replaceSync" in
|
|
|
6061
6067
|
})();
|
|
6062
6068
|
let hh = window.Polymer && window.Polymer.rootPath || _i(document.baseURI || window.location.href), Ar = window.Polymer && window.Polymer.sanitizeDOMValue || void 0;
|
|
6063
6069
|
window.Polymer && window.Polymer.setPassiveTouchGestures;
|
|
6064
|
-
let Cr = window.Polymer && window.Polymer.strictTemplatePolicy || !1, dh = window.Polymer && window.Polymer.allowTemplateFromDomModule || !1,
|
|
6070
|
+
let Cr = window.Polymer && window.Polymer.strictTemplatePolicy || !1, dh = window.Polymer && window.Polymer.allowTemplateFromDomModule || !1, Gn = window.Polymer && window.Polymer.legacyOptimizations || !1, Wn = window.Polymer && window.Polymer.legacyWarnings || !1, ph = window.Polymer && window.Polymer.syncInitialRender || !1, Uo = window.Polymer && window.Polymer.legacyUndefined || !1, fh = window.Polymer && window.Polymer.orderedComputed || !1, vs = window.Polymer && window.Polymer.removeNestedTemplates || !1, mh = window.Polymer && window.Polymer.fastDomIf || !1, xs = window.Polymer && window.Polymer.suppressTemplateNotifications || !1;
|
|
6065
6071
|
window.Polymer && window.Polymer.legacyNoObservedAttributes;
|
|
6066
6072
|
let _h = window.Polymer && window.Polymer.useAdoptedStyleSheetsWithBuiltCSS || !1;
|
|
6067
6073
|
/**
|
|
@@ -6111,12 +6117,12 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6111
6117
|
Code distributed by Google as part of the polymer project is also
|
|
6112
6118
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6113
6119
|
*/
|
|
6114
|
-
let gi = {},
|
|
6120
|
+
let gi = {}, qn = {};
|
|
6115
6121
|
function ws(t, r) {
|
|
6116
|
-
gi[t] =
|
|
6122
|
+
gi[t] = qn[t.toLowerCase()] = r;
|
|
6117
6123
|
}
|
|
6118
6124
|
function Es(t) {
|
|
6119
|
-
return gi[t] ||
|
|
6125
|
+
return gi[t] || qn[t.toLowerCase()];
|
|
6120
6126
|
}
|
|
6121
6127
|
function bh(t) {
|
|
6122
6128
|
t.querySelector("style") && console.warn("dom-module %s has style outside template", t.id);
|
|
@@ -6205,7 +6211,7 @@ Code distributed by Google as part of the polymer project is also
|
|
|
6205
6211
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6206
6212
|
*/
|
|
6207
6213
|
const yh = "link[rel=import][type~=css]", vh = "include", Ss = "shady-unscoped";
|
|
6208
|
-
function
|
|
6214
|
+
function Xn(t) {
|
|
6209
6215
|
return (
|
|
6210
6216
|
/** @type {?DomModule} */
|
|
6211
6217
|
Rt.import(t)
|
|
@@ -6226,17 +6232,17 @@ function xh(t) {
|
|
|
6226
6232
|
return e;
|
|
6227
6233
|
}
|
|
6228
6234
|
function wh(t) {
|
|
6229
|
-
const r =
|
|
6235
|
+
const r = Xn(t);
|
|
6230
6236
|
if (!r)
|
|
6231
6237
|
return console.warn("Could not find style data in module named", t), [];
|
|
6232
6238
|
if (r._styles === void 0) {
|
|
6233
6239
|
const e = [];
|
|
6234
|
-
e.push(...
|
|
6240
|
+
e.push(...Jn(r));
|
|
6235
6241
|
const o = (
|
|
6236
6242
|
/** @type {?HTMLTemplateElement} */
|
|
6237
6243
|
r.querySelector("template")
|
|
6238
6244
|
);
|
|
6239
|
-
o && e.push(...
|
|
6245
|
+
o && e.push(...Kn(
|
|
6240
6246
|
o,
|
|
6241
6247
|
/** @type {templateWithAssetPath} */
|
|
6242
6248
|
r.assetpath
|
|
@@ -6244,7 +6250,7 @@ function wh(t) {
|
|
|
6244
6250
|
}
|
|
6245
6251
|
return r._styles;
|
|
6246
6252
|
}
|
|
6247
|
-
function
|
|
6253
|
+
function Kn(t, r) {
|
|
6248
6254
|
if (!t._styles) {
|
|
6249
6255
|
const e = [], o = t.content.querySelectorAll("style");
|
|
6250
6256
|
for (let i = 0; i < o.length; i++) {
|
|
@@ -6262,10 +6268,10 @@ function Jn(t, r) {
|
|
|
6262
6268
|
return t._styles;
|
|
6263
6269
|
}
|
|
6264
6270
|
function Eh(t) {
|
|
6265
|
-
let r =
|
|
6266
|
-
return r ?
|
|
6271
|
+
let r = Xn(t);
|
|
6272
|
+
return r ? Jn(r) : [];
|
|
6267
6273
|
}
|
|
6268
|
-
function
|
|
6274
|
+
function Jn(t) {
|
|
6269
6275
|
const r = [], e = t.querySelectorAll(yh);
|
|
6270
6276
|
for (let o = 0; o < e.length; o++) {
|
|
6271
6277
|
let i = e[o];
|
|
@@ -6306,7 +6312,7 @@ function Xe(t) {
|
|
|
6306
6312
|
let r = t.indexOf(".");
|
|
6307
6313
|
return r === -1 ? t : t.slice(0, r);
|
|
6308
6314
|
}
|
|
6309
|
-
function
|
|
6315
|
+
function Zn(t, r) {
|
|
6310
6316
|
return t.indexOf(r + ".") === 0;
|
|
6311
6317
|
}
|
|
6312
6318
|
function Ut(t, r) {
|
|
@@ -6316,7 +6322,7 @@ function jt(t, r, e) {
|
|
|
6316
6322
|
return r + e.slice(t.length);
|
|
6317
6323
|
}
|
|
6318
6324
|
function Sh(t, r) {
|
|
6319
|
-
return t === r ||
|
|
6325
|
+
return t === r || Zn(t, r) || Ut(t, r);
|
|
6320
6326
|
}
|
|
6321
6327
|
function Ot(t) {
|
|
6322
6328
|
if (Array.isArray(t)) {
|
|
@@ -6330,11 +6336,11 @@ function Ot(t) {
|
|
|
6330
6336
|
} else
|
|
6331
6337
|
return t;
|
|
6332
6338
|
}
|
|
6333
|
-
function
|
|
6339
|
+
function Qn(t) {
|
|
6334
6340
|
return Array.isArray(t) ? Ot(t).split(".") : t.toString().split(".");
|
|
6335
6341
|
}
|
|
6336
6342
|
function ce(t, r, e) {
|
|
6337
|
-
let o = t, i =
|
|
6343
|
+
let o = t, i = Qn(r);
|
|
6338
6344
|
for (let s = 0; s < i.length; s++) {
|
|
6339
6345
|
if (!o)
|
|
6340
6346
|
return;
|
|
@@ -6344,7 +6350,7 @@ function ce(t, r, e) {
|
|
|
6344
6350
|
return e && (e.path = i.join(".")), o;
|
|
6345
6351
|
}
|
|
6346
6352
|
function Cs(t, r, e) {
|
|
6347
|
-
let o = t, i =
|
|
6353
|
+
let o = t, i = Qn(r), s = i[i.length - 1];
|
|
6348
6354
|
if (i.length > 1) {
|
|
6349
6355
|
for (let n = 0; n < i.length - 1; n++) {
|
|
6350
6356
|
let a = i[n];
|
|
@@ -6366,7 +6372,7 @@ Code distributed by Google as part of the polymer project is also
|
|
|
6366
6372
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6367
6373
|
*/
|
|
6368
6374
|
const Tr = {}, Ah = /-[a-z]/g, Ch = /([A-Z])/g;
|
|
6369
|
-
function
|
|
6375
|
+
function ea(t) {
|
|
6370
6376
|
return Tr[t] || (Tr[t] = t.indexOf("-") < 0 ? t : t.replace(
|
|
6371
6377
|
Ah,
|
|
6372
6378
|
(r) => r[1].toUpperCase()
|
|
@@ -6384,8 +6390,8 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6384
6390
|
Code distributed by Google as part of the polymer project is also
|
|
6385
6391
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6386
6392
|
*/
|
|
6387
|
-
let Th = 0,
|
|
6388
|
-
new window.MutationObserver(Dh).observe(
|
|
6393
|
+
let Th = 0, ta = 0, at = [], Ph = 0, Vo = !1, ra = document.createTextNode("");
|
|
6394
|
+
new window.MutationObserver(Dh).observe(ra, { characterData: !0 });
|
|
6389
6395
|
function Dh() {
|
|
6390
6396
|
Vo = !1;
|
|
6391
6397
|
const t = at.length;
|
|
@@ -6400,7 +6406,7 @@ function Dh() {
|
|
|
6400
6406
|
});
|
|
6401
6407
|
}
|
|
6402
6408
|
}
|
|
6403
|
-
at.splice(0, t),
|
|
6409
|
+
at.splice(0, t), ta += t;
|
|
6404
6410
|
}
|
|
6405
6411
|
const kh = {
|
|
6406
6412
|
/**
|
|
@@ -6442,7 +6448,7 @@ const kh = {
|
|
|
6442
6448
|
cancel(t) {
|
|
6443
6449
|
window.clearTimeout(t);
|
|
6444
6450
|
}
|
|
6445
|
-
},
|
|
6451
|
+
}, oa = {
|
|
6446
6452
|
/**
|
|
6447
6453
|
* Enqueues a function called at microtask timing.
|
|
6448
6454
|
*
|
|
@@ -6451,7 +6457,7 @@ const kh = {
|
|
|
6451
6457
|
* @return {number} Handle used for canceling task
|
|
6452
6458
|
*/
|
|
6453
6459
|
run(t) {
|
|
6454
|
-
return Vo || (Vo = !0,
|
|
6460
|
+
return Vo || (Vo = !0, ra.textContent = Ph++), at.push(t), Th++;
|
|
6455
6461
|
},
|
|
6456
6462
|
/**
|
|
6457
6463
|
* Cancels a previously enqueued `microTask` callback.
|
|
@@ -6461,7 +6467,7 @@ const kh = {
|
|
|
6461
6467
|
* @return {void}
|
|
6462
6468
|
*/
|
|
6463
6469
|
cancel(t) {
|
|
6464
|
-
const r = t -
|
|
6470
|
+
const r = t - ta;
|
|
6465
6471
|
if (r >= 0) {
|
|
6466
6472
|
if (!at[r])
|
|
6467
6473
|
throw new Error("invalid async handle: " + t);
|
|
@@ -6478,7 +6484,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6478
6484
|
Code distributed by Google as part of the polymer project is also
|
|
6479
6485
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6480
6486
|
*/
|
|
6481
|
-
const Oh =
|
|
6487
|
+
const Oh = oa, ia = Q(
|
|
6482
6488
|
/**
|
|
6483
6489
|
* @template T
|
|
6484
6490
|
* @param {function(new:T)} superClass Class to apply mixin to.
|
|
@@ -6914,23 +6920,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6914
6920
|
Code distributed by Google as part of the polymer project is also
|
|
6915
6921
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6916
6922
|
*/
|
|
6917
|
-
const
|
|
6923
|
+
const sa = {};
|
|
6918
6924
|
let lr = HTMLElement.prototype;
|
|
6919
6925
|
for (; lr; ) {
|
|
6920
6926
|
let t = Object.getOwnPropertyNames(lr);
|
|
6921
6927
|
for (let r = 0; r < t.length; r++)
|
|
6922
|
-
|
|
6928
|
+
sa[t[r]] = !0;
|
|
6923
6929
|
lr = Object.getPrototypeOf(lr);
|
|
6924
6930
|
}
|
|
6925
6931
|
const Mh = window.trustedTypes ? (t) => trustedTypes.isHTML(t) || trustedTypes.isScript(t) || trustedTypes.isScriptURL(t) : () => !1;
|
|
6926
6932
|
function Ih(t, r) {
|
|
6927
|
-
if (!
|
|
6933
|
+
if (!sa[r]) {
|
|
6928
6934
|
let e = t[r];
|
|
6929
6935
|
e !== void 0 && (t.__data ? t._setPendingProperty(r, e) : (t.__dataProto ? t.hasOwnProperty(JSCompiler_renameProperty("__dataProto", t)) || (t.__dataProto = Object.create(t.__dataProto)) : t.__dataProto = {}, t.__dataProto[r] = e));
|
|
6930
6936
|
}
|
|
6931
6937
|
}
|
|
6932
6938
|
const Nh = Q((t) => {
|
|
6933
|
-
const r =
|
|
6939
|
+
const r = ia(t);
|
|
6934
6940
|
class e extends r {
|
|
6935
6941
|
/**
|
|
6936
6942
|
* Generates property accessors for all attributes in the standard
|
|
@@ -6948,7 +6954,7 @@ const Nh = Q((t) => {
|
|
|
6948
6954
|
this.observedAttributes
|
|
6949
6955
|
);
|
|
6950
6956
|
for (let s = 0; s < i.length; s++)
|
|
6951
|
-
this.prototype._createPropertyAccessor(
|
|
6957
|
+
this.prototype._createPropertyAccessor(ea(i[s]));
|
|
6952
6958
|
}
|
|
6953
6959
|
/**
|
|
6954
6960
|
* Returns an attribute name that corresponds to the given property.
|
|
@@ -7187,8 +7193,8 @@ function zh(t) {
|
|
|
7187
7193
|
}
|
|
7188
7194
|
return t;
|
|
7189
7195
|
}
|
|
7190
|
-
function
|
|
7191
|
-
let e = r.parentInfo &&
|
|
7196
|
+
function na(t, r) {
|
|
7197
|
+
let e = r.parentInfo && na(t, r.parentInfo);
|
|
7192
7198
|
if (e) {
|
|
7193
7199
|
for (let o = e.firstChild, i = 0; o; o = o.nextSibling)
|
|
7194
7200
|
if (r.parentIndex === i++)
|
|
@@ -7492,7 +7498,7 @@ const Vh = Q(
|
|
|
7492
7498
|
let l = a.nodeList = new Array(s.length);
|
|
7493
7499
|
a.$ = {};
|
|
7494
7500
|
for (let u = 0, c = s.length, h; u < c && (h = s[u]); u++) {
|
|
7495
|
-
let d = l[u] =
|
|
7501
|
+
let d = l[u] = na(a, h);
|
|
7496
7502
|
Fh(this, a.$, d, h), Uh(this, d, h, i), Rh(this, d, h);
|
|
7497
7503
|
}
|
|
7498
7504
|
return a = /** @type {!StampedTemplate} */
|
|
@@ -7564,7 +7570,7 @@ const Yt = [], H = {
|
|
|
7564
7570
|
PROPAGATE: "__propagateEffects",
|
|
7565
7571
|
OBSERVE: "__observeEffects",
|
|
7566
7572
|
READ_ONLY: "__readOnly"
|
|
7567
|
-
},
|
|
7573
|
+
}, aa = "__computeInfo", Yh = /[A-Z]/;
|
|
7568
7574
|
function lo(t, r, e) {
|
|
7569
7575
|
let o = t[r];
|
|
7570
7576
|
if (!o)
|
|
@@ -7604,7 +7610,7 @@ function bi(t, r) {
|
|
|
7604
7610
|
/** @type {string} */
|
|
7605
7611
|
r.name
|
|
7606
7612
|
);
|
|
7607
|
-
return e == t || !!(r.structured &&
|
|
7613
|
+
return e == t || !!(r.structured && Zn(e, t)) || !!(r.wildcard && Ut(e, t));
|
|
7608
7614
|
} else
|
|
7609
7615
|
return !0;
|
|
7610
7616
|
}
|
|
@@ -7623,11 +7629,11 @@ function qh(t, r, e) {
|
|
|
7623
7629
|
let o = Xe(r);
|
|
7624
7630
|
if (o !== r) {
|
|
7625
7631
|
let i = Br(o) + "-changed";
|
|
7626
|
-
return
|
|
7632
|
+
return la(t, i, e[r], r), !0;
|
|
7627
7633
|
}
|
|
7628
7634
|
return !1;
|
|
7629
7635
|
}
|
|
7630
|
-
function
|
|
7636
|
+
function la(t, r, e, o) {
|
|
7631
7637
|
let i = {
|
|
7632
7638
|
value: e,
|
|
7633
7639
|
queueProperty: !0
|
|
@@ -7639,7 +7645,7 @@ function ua(t, r, e, o) {
|
|
|
7639
7645
|
}
|
|
7640
7646
|
function Xh(t, r, e, o, i, s) {
|
|
7641
7647
|
let a = (s ? Xe(r) : r) != r ? r : null, l = a ? ce(t, a) : t.__data[r];
|
|
7642
|
-
a && l === void 0 && (l = e[r]),
|
|
7648
|
+
a && l === void 0 && (l = e[r]), la(t, i.eventName, l, a);
|
|
7643
7649
|
}
|
|
7644
7650
|
function Kh(t, r, e, o, i) {
|
|
7645
7651
|
let s, n = (
|
|
@@ -7668,7 +7674,7 @@ function Zh(t, r, e, o) {
|
|
|
7668
7674
|
ks(l, i, n, s, o);
|
|
7669
7675
|
let a;
|
|
7670
7676
|
for (; a = n.shift(); )
|
|
7671
|
-
|
|
7677
|
+
ua(t, "", r, e, a) && ks(a.methodInfo, i, n, s, o);
|
|
7672
7678
|
Object.assign(
|
|
7673
7679
|
/** @type {!Object} */
|
|
7674
7680
|
e,
|
|
@@ -7734,7 +7740,7 @@ function ed(t) {
|
|
|
7734
7740
|
return r;
|
|
7735
7741
|
}
|
|
7736
7742
|
function td(t) {
|
|
7737
|
-
const r = t[
|
|
7743
|
+
const r = t[aa], e = {}, o = t[H.COMPUTE], i = [];
|
|
7738
7744
|
let s = 0;
|
|
7739
7745
|
for (let n in r) {
|
|
7740
7746
|
const a = r[n];
|
|
@@ -7744,7 +7750,7 @@ function td(t) {
|
|
|
7744
7750
|
r[n] || i.push(n);
|
|
7745
7751
|
return { counts: e, ready: i, total: s };
|
|
7746
7752
|
}
|
|
7747
|
-
function
|
|
7753
|
+
function ua(t, r, e, o, i) {
|
|
7748
7754
|
let s = Yo(t, r, e, o, i);
|
|
7749
7755
|
if (s === Yt)
|
|
7750
7756
|
return !1;
|
|
@@ -7782,7 +7788,7 @@ function od(t, r, e, o, i) {
|
|
|
7782
7788
|
let s = o.dependencies, n = { index: i, binding: e, part: o, evaluator: t };
|
|
7783
7789
|
for (let a = 0; a < s.length; a++) {
|
|
7784
7790
|
let l = s[a];
|
|
7785
|
-
typeof l == "string" && (l =
|
|
7791
|
+
typeof l == "string" && (l = ha(l), l.wildcard = !0), t._addTemplatePropertyEffect(r, l.rootProperty, {
|
|
7786
7792
|
fn: id,
|
|
7787
7793
|
info: n,
|
|
7788
7794
|
trigger: l
|
|
@@ -7879,7 +7885,7 @@ function Yo(t, r, e, o, i) {
|
|
|
7879
7885
|
return a === Yt ? Yt : n.apply(s, a);
|
|
7880
7886
|
} else i.dynamicFn || console.warn("method `" + i.methodName + "` not defined");
|
|
7881
7887
|
}
|
|
7882
|
-
const hd = [],
|
|
7888
|
+
const hd = [], ca = "(?:[a-zA-Z_$][\\w.:$\\-*]*)", dd = "(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)", pd = "(?:'(?:[^'\\\\]|\\\\.)*')", fd = '(?:"(?:[^"\\\\]|\\\\.)*")', md = "(?:" + pd + "|" + fd + ")", Ms = "(?:(" + ca + "|" + dd + "|" + md + ")\\s*)", _d = "(?:" + Ms + "(?:,\\s*" + Ms + ")*)", gd = "(?:\\(\\s*(?:" + _d + "?)\\)\\s*)", bd = "(" + ca + "\\s*" + gd + "?)", yd = "(\\[\\[|{{)\\s*", vd = "(?:]]|}})", xd = "(?:(!)\\s*)?", wd = yd + xd + bd + vd, Is = new RegExp(wd, "g");
|
|
7883
7889
|
function Ns(t) {
|
|
7884
7890
|
let r = "";
|
|
7885
7891
|
for (let e = 0; e < t.length; e++) {
|
|
@@ -7902,11 +7908,11 @@ function co(t) {
|
|
|
7902
7908
|
}
|
|
7903
7909
|
function Ed(t, r) {
|
|
7904
7910
|
return r.args = t.map(function(e) {
|
|
7905
|
-
let o =
|
|
7911
|
+
let o = ha(e);
|
|
7906
7912
|
return o.literal || (r.static = !1), o;
|
|
7907
7913
|
}, this), r;
|
|
7908
7914
|
}
|
|
7909
|
-
function
|
|
7915
|
+
function ha(t) {
|
|
7910
7916
|
let r = t.trim().replace(/,/g, ",").replace(/\\(.)/g, "$1"), e = {
|
|
7911
7917
|
name: r,
|
|
7912
7918
|
value: "",
|
|
@@ -7927,12 +7933,12 @@ function Ls(t, r, e) {
|
|
|
7927
7933
|
let o = ce(t, e);
|
|
7928
7934
|
return o === void 0 && (o = r[e]), o;
|
|
7929
7935
|
}
|
|
7930
|
-
function
|
|
7936
|
+
function da(t, r, e, o) {
|
|
7931
7937
|
const i = { indexSplices: o };
|
|
7932
7938
|
Uo && !t._overrideLegacyUndefined && (r.splices = i), t.notifyPath(e + ".splices", i), t.notifyPath(e + ".length", r.length), Uo && !t._overrideLegacyUndefined && (i.indexSplices = []);
|
|
7933
7939
|
}
|
|
7934
7940
|
function Tt(t, r, e, o, i, s) {
|
|
7935
|
-
|
|
7941
|
+
da(t, r, e, [{
|
|
7936
7942
|
index: o,
|
|
7937
7943
|
addedCount: i,
|
|
7938
7944
|
removed: s,
|
|
@@ -8445,7 +8451,7 @@ const yi = Q((t) => {
|
|
|
8445
8451
|
/** @type {Array} */
|
|
8446
8452
|
ce(this, i, n)
|
|
8447
8453
|
);
|
|
8448
|
-
|
|
8454
|
+
da(this, a, n.path, s);
|
|
8449
8455
|
}
|
|
8450
8456
|
/**
|
|
8451
8457
|
* Convenience method for reading a value from a path.
|
|
@@ -8757,8 +8763,8 @@ const yi = Q((t) => {
|
|
|
8757
8763
|
let a = co(s);
|
|
8758
8764
|
if (!a)
|
|
8759
8765
|
throw new Error("Malformed computed expression '" + s + "'");
|
|
8760
|
-
const l = Os(this, a, H.COMPUTE,
|
|
8761
|
-
lo(this,
|
|
8766
|
+
const l = Os(this, a, H.COMPUTE, ua, i, n);
|
|
8767
|
+
lo(this, aa)[i] = l;
|
|
8762
8768
|
}
|
|
8763
8769
|
/**
|
|
8764
8770
|
* Gather the argument values for a method specified in the provided array
|
|
@@ -9145,7 +9151,7 @@ const yi = Q((t) => {
|
|
|
9145
9151
|
let c = a, h = "property";
|
|
9146
9152
|
Yh.test(a) ? h = "attribute" : a[a.length - 1] == "$" && (a = a.slice(0, -1), h = "attribute");
|
|
9147
9153
|
let d = Ns(u);
|
|
9148
|
-
return d && h == "attribute" && (a == "class" && i.hasAttribute("class") && (d += " " + i.getAttribute(a)), i.setAttribute(a, d)), h == "attribute" && c == "disable-upgrade$" && i.setAttribute(a, ""), i.localName === "input" && c === "value" && i.setAttribute(c, ""), i.removeAttribute(c), h === "property" && (a =
|
|
9154
|
+
return d && h == "attribute" && (a == "class" && i.hasAttribute("class") && (d += " " + i.getAttribute(a)), i.setAttribute(a, d)), h == "attribute" && c == "disable-upgrade$" && i.setAttribute(a, ""), i.localName === "input" && c === "value" && i.setAttribute(c, ""), i.removeAttribute(c), h === "property" && (a = ea(a)), uo(this, s, n, h, a, u, d), !0;
|
|
9149
9155
|
} else
|
|
9150
9156
|
return r._parseTemplateNodeAttribute.call(
|
|
9151
9157
|
this,
|
|
@@ -9320,7 +9326,7 @@ function Ad(t) {
|
|
|
9320
9326
|
return r;
|
|
9321
9327
|
}
|
|
9322
9328
|
const Cd = Q((t) => {
|
|
9323
|
-
const r =
|
|
9329
|
+
const r = ia(t);
|
|
9324
9330
|
function e(s) {
|
|
9325
9331
|
const n = Object.getPrototypeOf(s);
|
|
9326
9332
|
return n.prototype instanceof i ? (
|
|
@@ -9470,7 +9476,7 @@ const Cd = Q((t) => {
|
|
|
9470
9476
|
* Google as part of the polymer project is also subject to an additional IP
|
|
9471
9477
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
9472
9478
|
*/
|
|
9473
|
-
const Td = "3.5.
|
|
9479
|
+
const Td = "3.5.2", $s = window.ShadyCSS && window.ShadyCSS.cssBuild, Pd = Q((t) => {
|
|
9474
9480
|
const r = Cd(yi(t));
|
|
9475
9481
|
function e(l) {
|
|
9476
9482
|
if (!l.hasOwnProperty(
|
|
@@ -9500,7 +9506,7 @@ const Td = "3.5.1", $s = window.ShadyCSS && window.ShadyCSS.cssBuild, Pd = Q((t)
|
|
|
9500
9506
|
}
|
|
9501
9507
|
function s(l, u, c, h) {
|
|
9502
9508
|
if (!$s) {
|
|
9503
|
-
const d = u.content.querySelectorAll("style"), p =
|
|
9509
|
+
const d = u.content.querySelectorAll("style"), p = Kn(u), f = Eh(c), v = u.content.firstElementChild;
|
|
9504
9510
|
for (let D = 0; D < f.length; D++) {
|
|
9505
9511
|
let O = f[D];
|
|
9506
9512
|
O.textContent = l._processStyleText(O.textContent, h), u.content.insertBefore(O, v);
|
|
@@ -9556,7 +9562,7 @@ const Td = "3.5.1", $s = window.ShadyCSS && window.ShadyCSS.cssBuild, Pd = Q((t)
|
|
|
9556
9562
|
/** @type {PolymerElementConstructor} */
|
|
9557
9563
|
this.template
|
|
9558
9564
|
);
|
|
9559
|
-
u && (typeof u == "string" ? (console.error("template getter must return HTMLTemplateElement"), u = null) :
|
|
9565
|
+
u && (typeof u == "string" ? (console.error("template getter must return HTMLTemplateElement"), u = null) : Gn || (u = u.cloneNode(!0))), this.prototype._template = u;
|
|
9560
9566
|
}
|
|
9561
9567
|
/**
|
|
9562
9568
|
* Override of PropertiesChanged createProperties to create accessors
|
|
@@ -9922,7 +9928,7 @@ const Td = "3.5.1", $s = window.ShadyCSS && window.ShadyCSS.cssBuild, Pd = Q((t)
|
|
|
9922
9928
|
* @nocollapse
|
|
9923
9929
|
*/
|
|
9924
9930
|
static _addTemplatePropertyEffect(u, c, h) {
|
|
9925
|
-
return
|
|
9931
|
+
return Wn && !(c in this._properties) && // Methods used in templates with no dependencies (or only literal
|
|
9926
9932
|
// dependencies) become accessors with template effects; ignore these
|
|
9927
9933
|
!(h.info.part.signature && h.info.part.signature.static) && // Warnings for bindings added to nested templates are handled by
|
|
9928
9934
|
// templatizer so ignore both the host-to-template bindings
|
|
@@ -9948,15 +9954,15 @@ Code distributed by Google as part of the polymer project is also
|
|
|
9948
9954
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
9949
9955
|
*/
|
|
9950
9956
|
const Hs = window.trustedTypes && trustedTypes.createPolicy("polymer-html-literal", { createHTML: (t) => t });
|
|
9951
|
-
class
|
|
9957
|
+
class pa {
|
|
9952
9958
|
/**
|
|
9953
9959
|
* @param {!ITemplateArray} strings Constant parts of tagged template literal
|
|
9954
9960
|
* @param {!Array<*>} values Variable parts of tagged template literal
|
|
9955
9961
|
*/
|
|
9956
9962
|
constructor(r, e) {
|
|
9957
|
-
|
|
9963
|
+
ma(r, e);
|
|
9958
9964
|
const o = e.reduce(
|
|
9959
|
-
(i, s, n) => i +
|
|
9965
|
+
(i, s, n) => i + fa(s) + r[n + 1],
|
|
9960
9966
|
r[0]
|
|
9961
9967
|
);
|
|
9962
9968
|
this.value = o.toString();
|
|
@@ -9969,8 +9975,8 @@ class fa {
|
|
|
9969
9975
|
return this.value;
|
|
9970
9976
|
}
|
|
9971
9977
|
}
|
|
9972
|
-
function
|
|
9973
|
-
if (t instanceof
|
|
9978
|
+
function fa(t) {
|
|
9979
|
+
if (t instanceof pa)
|
|
9974
9980
|
return (
|
|
9975
9981
|
/** @type {!LiteralString} */
|
|
9976
9982
|
t.value
|
|
@@ -9985,14 +9991,14 @@ function Dd(t) {
|
|
|
9985
9991
|
/** @type {!HTMLTemplateElement } */
|
|
9986
9992
|
t.innerHTML
|
|
9987
9993
|
);
|
|
9988
|
-
if (t instanceof
|
|
9989
|
-
return
|
|
9994
|
+
if (t instanceof pa)
|
|
9995
|
+
return fa(t);
|
|
9990
9996
|
throw new Error(
|
|
9991
9997
|
`non-template value passed to Polymer's html function: ${t}`
|
|
9992
9998
|
);
|
|
9993
9999
|
}
|
|
9994
10000
|
const Ke = function(r, ...e) {
|
|
9995
|
-
|
|
10001
|
+
ma(r, e);
|
|
9996
10002
|
const o = (
|
|
9997
10003
|
/** @type {!HTMLTemplateElement} */
|
|
9998
10004
|
document.createElement("template")
|
|
@@ -10002,7 +10008,7 @@ const Ke = function(r, ...e) {
|
|
|
10002
10008
|
r[0]
|
|
10003
10009
|
);
|
|
10004
10010
|
return Hs && (i = Hs.createHTML(i)), o.innerHTML = i, o;
|
|
10005
|
-
},
|
|
10011
|
+
}, ma = (t, r) => {
|
|
10006
10012
|
if (!Array.isArray(t) || !Array.isArray(t.raw) || r.length !== t.length - 1)
|
|
10007
10013
|
throw new TypeError("Invalid call to the html template tag");
|
|
10008
10014
|
};
|
|
@@ -10643,7 +10649,7 @@ xt("typography-props", zd);
|
|
|
10643
10649
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
10644
10650
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10645
10651
|
*/
|
|
10646
|
-
const
|
|
10652
|
+
const _a = C`
|
|
10647
10653
|
:host {
|
|
10648
10654
|
top: var(--lumo-space-m);
|
|
10649
10655
|
right: var(--lumo-space-m);
|
|
@@ -10707,13 +10713,13 @@ const ga = C`
|
|
|
10707
10713
|
}
|
|
10708
10714
|
}
|
|
10709
10715
|
`;
|
|
10710
|
-
G("",
|
|
10716
|
+
G("", _a, { moduleId: "lumo-overlay" });
|
|
10711
10717
|
/**
|
|
10712
10718
|
* @license
|
|
10713
10719
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
10714
10720
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10715
10721
|
*/
|
|
10716
|
-
const
|
|
10722
|
+
const ga = C`
|
|
10717
10723
|
:host([opening]),
|
|
10718
10724
|
:host([closing]) {
|
|
10719
10725
|
animation: 0.14s lumo-overlay-dummy-animation;
|
|
@@ -10744,7 +10750,7 @@ const ba = C`
|
|
|
10744
10750
|
}
|
|
10745
10751
|
}
|
|
10746
10752
|
`;
|
|
10747
|
-
G("",
|
|
10753
|
+
G("", ga, { moduleId: "lumo-menu-overlay-core" });
|
|
10748
10754
|
const Rd = C`
|
|
10749
10755
|
/* Small viewport (bottom sheet) styles */
|
|
10750
10756
|
/* Use direct media queries instead of the state attributes ([phone] and [fullscreen]) provided by the elements */
|
|
@@ -10807,8 +10813,8 @@ const Rd = C`
|
|
|
10807
10813
|
transform: translateY(150%);
|
|
10808
10814
|
}
|
|
10809
10815
|
}
|
|
10810
|
-
`,
|
|
10811
|
-
G("",
|
|
10816
|
+
`, ba = [_a, ga, Rd];
|
|
10817
|
+
G("", ba, { moduleId: "lumo-menu-overlay" });
|
|
10812
10818
|
const Ud = C`
|
|
10813
10819
|
[part='overlay'] {
|
|
10814
10820
|
/*
|
|
@@ -10858,7 +10864,7 @@ const Ud = C`
|
|
|
10858
10864
|
}
|
|
10859
10865
|
}
|
|
10860
10866
|
`;
|
|
10861
|
-
G("vaadin-date-picker-overlay", [
|
|
10867
|
+
G("vaadin-date-picker-overlay", [ba, Ud], {
|
|
10862
10868
|
moduleId: "lumo-date-picker-overlay"
|
|
10863
10869
|
});
|
|
10864
10870
|
/**
|
|
@@ -11585,7 +11591,7 @@ function Qd() {
|
|
|
11585
11591
|
function t() {
|
|
11586
11592
|
return !0;
|
|
11587
11593
|
}
|
|
11588
|
-
return
|
|
11594
|
+
return ya(t);
|
|
11589
11595
|
}
|
|
11590
11596
|
function ep() {
|
|
11591
11597
|
try {
|
|
@@ -11603,7 +11609,7 @@ function rp() {
|
|
|
11603
11609
|
function op() {
|
|
11604
11610
|
return !!(gr && Object.keys(gr).map((r) => gr[r]).filter((r) => r.productionMode).length > 0);
|
|
11605
11611
|
}
|
|
11606
|
-
function
|
|
11612
|
+
function ya(t, r) {
|
|
11607
11613
|
if (typeof t != "function")
|
|
11608
11614
|
return;
|
|
11609
11615
|
const e = Zd.exec(t.toString());
|
|
@@ -11618,10 +11624,489 @@ function va(t, r) {
|
|
|
11618
11624
|
window.Vaadin = window.Vaadin || {};
|
|
11619
11625
|
const Bs = function(t, r) {
|
|
11620
11626
|
if (window.Vaadin.developmentMode)
|
|
11621
|
-
return
|
|
11627
|
+
return ya(t, r);
|
|
11622
11628
|
};
|
|
11623
11629
|
window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode = ep());
|
|
11624
11630
|
function ip() {
|
|
11631
|
+
/*! vaadin-dev-mode:start
|
|
11632
|
+
(function () {
|
|
11633
|
+
'use strict';
|
|
11634
|
+
|
|
11635
|
+
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) {
|
|
11636
|
+
return typeof obj;
|
|
11637
|
+
} : function (obj) {
|
|
11638
|
+
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
11639
|
+
};
|
|
11640
|
+
|
|
11641
|
+
var classCallCheck = function (instance, Constructor) {
|
|
11642
|
+
if (!(instance instanceof Constructor)) {
|
|
11643
|
+
throw new TypeError("Cannot call a class as a function");
|
|
11644
|
+
}
|
|
11645
|
+
};
|
|
11646
|
+
|
|
11647
|
+
var createClass = function () {
|
|
11648
|
+
function defineProperties(target, props) {
|
|
11649
|
+
for (var i = 0; i < props.length; i++) {
|
|
11650
|
+
var descriptor = props[i];
|
|
11651
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
11652
|
+
descriptor.configurable = true;
|
|
11653
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
11654
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
|
11655
|
+
}
|
|
11656
|
+
}
|
|
11657
|
+
|
|
11658
|
+
return function (Constructor, protoProps, staticProps) {
|
|
11659
|
+
if (protoProps) defineProperties(Constructor.prototype, protoProps);
|
|
11660
|
+
if (staticProps) defineProperties(Constructor, staticProps);
|
|
11661
|
+
return Constructor;
|
|
11662
|
+
};
|
|
11663
|
+
}();
|
|
11664
|
+
|
|
11665
|
+
var getPolymerVersion = function getPolymerVersion() {
|
|
11666
|
+
return window.Polymer && window.Polymer.version;
|
|
11667
|
+
};
|
|
11668
|
+
|
|
11669
|
+
var StatisticsGatherer = function () {
|
|
11670
|
+
function StatisticsGatherer(logger) {
|
|
11671
|
+
classCallCheck(this, StatisticsGatherer);
|
|
11672
|
+
|
|
11673
|
+
this.now = new Date().getTime();
|
|
11674
|
+
this.logger = logger;
|
|
11675
|
+
}
|
|
11676
|
+
|
|
11677
|
+
createClass(StatisticsGatherer, [{
|
|
11678
|
+
key: 'frameworkVersionDetectors',
|
|
11679
|
+
value: function frameworkVersionDetectors() {
|
|
11680
|
+
return {
|
|
11681
|
+
'Flow': function Flow() {
|
|
11682
|
+
if (window.Vaadin && window.Vaadin.Flow && window.Vaadin.Flow.clients) {
|
|
11683
|
+
var flowVersions = Object.keys(window.Vaadin.Flow.clients).map(function (key) {
|
|
11684
|
+
return window.Vaadin.Flow.clients[key];
|
|
11685
|
+
}).filter(function (client) {
|
|
11686
|
+
return client.getVersionInfo;
|
|
11687
|
+
}).map(function (client) {
|
|
11688
|
+
return client.getVersionInfo().flow;
|
|
11689
|
+
});
|
|
11690
|
+
if (flowVersions.length > 0) {
|
|
11691
|
+
return flowVersions[0];
|
|
11692
|
+
}
|
|
11693
|
+
}
|
|
11694
|
+
},
|
|
11695
|
+
'Vaadin Framework': function VaadinFramework() {
|
|
11696
|
+
if (window.vaadin && window.vaadin.clients) {
|
|
11697
|
+
var frameworkVersions = Object.values(window.vaadin.clients).filter(function (client) {
|
|
11698
|
+
return client.getVersionInfo;
|
|
11699
|
+
}).map(function (client) {
|
|
11700
|
+
return client.getVersionInfo().vaadinVersion;
|
|
11701
|
+
});
|
|
11702
|
+
if (frameworkVersions.length > 0) {
|
|
11703
|
+
return frameworkVersions[0];
|
|
11704
|
+
}
|
|
11705
|
+
}
|
|
11706
|
+
},
|
|
11707
|
+
'AngularJs': function AngularJs() {
|
|
11708
|
+
if (window.angular && window.angular.version && window.angular.version) {
|
|
11709
|
+
return window.angular.version.full;
|
|
11710
|
+
}
|
|
11711
|
+
},
|
|
11712
|
+
'Angular': function Angular() {
|
|
11713
|
+
if (window.ng) {
|
|
11714
|
+
var tags = document.querySelectorAll("[ng-version]");
|
|
11715
|
+
if (tags.length > 0) {
|
|
11716
|
+
return tags[0].getAttribute("ng-version");
|
|
11717
|
+
}
|
|
11718
|
+
return "Unknown";
|
|
11719
|
+
}
|
|
11720
|
+
},
|
|
11721
|
+
'Backbone.js': function BackboneJs() {
|
|
11722
|
+
if (window.Backbone) {
|
|
11723
|
+
return window.Backbone.VERSION;
|
|
11724
|
+
}
|
|
11725
|
+
},
|
|
11726
|
+
'React': function React() {
|
|
11727
|
+
var reactSelector = '[data-reactroot], [data-reactid]';
|
|
11728
|
+
if (!!document.querySelector(reactSelector)) {
|
|
11729
|
+
// React does not publish the version by default
|
|
11730
|
+
return "unknown";
|
|
11731
|
+
}
|
|
11732
|
+
},
|
|
11733
|
+
'Ember': function Ember() {
|
|
11734
|
+
if (window.Em && window.Em.VERSION) {
|
|
11735
|
+
return window.Em.VERSION;
|
|
11736
|
+
} else if (window.Ember && window.Ember.VERSION) {
|
|
11737
|
+
return window.Ember.VERSION;
|
|
11738
|
+
}
|
|
11739
|
+
},
|
|
11740
|
+
'jQuery': function (_jQuery) {
|
|
11741
|
+
function jQuery() {
|
|
11742
|
+
return _jQuery.apply(this, arguments);
|
|
11743
|
+
}
|
|
11744
|
+
|
|
11745
|
+
jQuery.toString = function () {
|
|
11746
|
+
return _jQuery.toString();
|
|
11747
|
+
};
|
|
11748
|
+
|
|
11749
|
+
return jQuery;
|
|
11750
|
+
}(function () {
|
|
11751
|
+
if (typeof jQuery === 'function' && jQuery.prototype.jquery !== undefined) {
|
|
11752
|
+
return jQuery.prototype.jquery;
|
|
11753
|
+
}
|
|
11754
|
+
}),
|
|
11755
|
+
'Polymer': function Polymer() {
|
|
11756
|
+
var version = getPolymerVersion();
|
|
11757
|
+
if (version) {
|
|
11758
|
+
return version;
|
|
11759
|
+
}
|
|
11760
|
+
},
|
|
11761
|
+
'LitElement': function LitElement() {
|
|
11762
|
+
var version = window.litElementVersions && window.litElementVersions[0];
|
|
11763
|
+
if (version) {
|
|
11764
|
+
return version;
|
|
11765
|
+
}
|
|
11766
|
+
},
|
|
11767
|
+
'LitHtml': function LitHtml() {
|
|
11768
|
+
var version = window.litHtmlVersions && window.litHtmlVersions[0];
|
|
11769
|
+
if (version) {
|
|
11770
|
+
return version;
|
|
11771
|
+
}
|
|
11772
|
+
},
|
|
11773
|
+
'Vue.js': function VueJs() {
|
|
11774
|
+
if (window.Vue) {
|
|
11775
|
+
return window.Vue.version;
|
|
11776
|
+
}
|
|
11777
|
+
}
|
|
11778
|
+
};
|
|
11779
|
+
}
|
|
11780
|
+
}, {
|
|
11781
|
+
key: 'getUsedVaadinElements',
|
|
11782
|
+
value: function getUsedVaadinElements(elements) {
|
|
11783
|
+
var version = getPolymerVersion();
|
|
11784
|
+
var elementClasses = void 0;
|
|
11785
|
+
// NOTE: In case you edit the code here, YOU MUST UPDATE any statistics reporting code in Flow.
|
|
11786
|
+
// Check all locations calling the method getEntries() in
|
|
11787
|
+
// https://github.com/vaadin/flow/blob/master/flow-server/src/main/java/com/vaadin/flow/internal/UsageStatistics.java#L106
|
|
11788
|
+
// Currently it is only used by BootstrapHandler.
|
|
11789
|
+
if (version && version.indexOf('2') === 0) {
|
|
11790
|
+
// Polymer 2: components classes are stored in window.Vaadin
|
|
11791
|
+
elementClasses = Object.keys(window.Vaadin).map(function (c) {
|
|
11792
|
+
return window.Vaadin[c];
|
|
11793
|
+
}).filter(function (c) {
|
|
11794
|
+
return c.is;
|
|
11795
|
+
});
|
|
11796
|
+
} else {
|
|
11797
|
+
// Polymer 3: components classes are stored in window.Vaadin.registrations
|
|
11798
|
+
elementClasses = window.Vaadin.registrations || [];
|
|
11799
|
+
}
|
|
11800
|
+
elementClasses.forEach(function (klass) {
|
|
11801
|
+
var version = klass.version ? klass.version : "0.0.0";
|
|
11802
|
+
elements[klass.is] = { version: version };
|
|
11803
|
+
});
|
|
11804
|
+
}
|
|
11805
|
+
}, {
|
|
11806
|
+
key: 'getUsedVaadinThemes',
|
|
11807
|
+
value: function getUsedVaadinThemes(themes) {
|
|
11808
|
+
['Lumo', 'Material'].forEach(function (themeName) {
|
|
11809
|
+
var theme;
|
|
11810
|
+
var version = getPolymerVersion();
|
|
11811
|
+
if (version && version.indexOf('2') === 0) {
|
|
11812
|
+
// Polymer 2: themes are stored in window.Vaadin
|
|
11813
|
+
theme = window.Vaadin[themeName];
|
|
11814
|
+
} else {
|
|
11815
|
+
// Polymer 3: themes are stored in custom element registry
|
|
11816
|
+
theme = customElements.get('vaadin-' + themeName.toLowerCase() + '-styles');
|
|
11817
|
+
}
|
|
11818
|
+
if (theme && theme.version) {
|
|
11819
|
+
themes[themeName] = { version: theme.version };
|
|
11820
|
+
}
|
|
11821
|
+
});
|
|
11822
|
+
}
|
|
11823
|
+
}, {
|
|
11824
|
+
key: 'getFrameworks',
|
|
11825
|
+
value: function getFrameworks(frameworks) {
|
|
11826
|
+
var detectors = this.frameworkVersionDetectors();
|
|
11827
|
+
Object.keys(detectors).forEach(function (framework) {
|
|
11828
|
+
var detector = detectors[framework];
|
|
11829
|
+
try {
|
|
11830
|
+
var version = detector();
|
|
11831
|
+
if (version) {
|
|
11832
|
+
frameworks[framework] = { version: version };
|
|
11833
|
+
}
|
|
11834
|
+
} catch (e) {}
|
|
11835
|
+
});
|
|
11836
|
+
}
|
|
11837
|
+
}, {
|
|
11838
|
+
key: 'gather',
|
|
11839
|
+
value: function gather(storage) {
|
|
11840
|
+
var storedStats = storage.read();
|
|
11841
|
+
var gatheredStats = {};
|
|
11842
|
+
var types = ["elements", "frameworks", "themes"];
|
|
11843
|
+
|
|
11844
|
+
types.forEach(function (type) {
|
|
11845
|
+
gatheredStats[type] = {};
|
|
11846
|
+
if (!storedStats[type]) {
|
|
11847
|
+
storedStats[type] = {};
|
|
11848
|
+
}
|
|
11849
|
+
});
|
|
11850
|
+
|
|
11851
|
+
var previousStats = JSON.stringify(storedStats);
|
|
11852
|
+
|
|
11853
|
+
this.getUsedVaadinElements(gatheredStats.elements);
|
|
11854
|
+
this.getFrameworks(gatheredStats.frameworks);
|
|
11855
|
+
this.getUsedVaadinThemes(gatheredStats.themes);
|
|
11856
|
+
|
|
11857
|
+
var now = this.now;
|
|
11858
|
+
types.forEach(function (type) {
|
|
11859
|
+
var keys = Object.keys(gatheredStats[type]);
|
|
11860
|
+
keys.forEach(function (key) {
|
|
11861
|
+
if (!storedStats[type][key] || _typeof(storedStats[type][key]) != _typeof({})) {
|
|
11862
|
+
storedStats[type][key] = { firstUsed: now };
|
|
11863
|
+
}
|
|
11864
|
+
// Discards any previously logged version number
|
|
11865
|
+
storedStats[type][key].version = gatheredStats[type][key].version;
|
|
11866
|
+
storedStats[type][key].lastUsed = now;
|
|
11867
|
+
});
|
|
11868
|
+
});
|
|
11869
|
+
|
|
11870
|
+
var newStats = JSON.stringify(storedStats);
|
|
11871
|
+
storage.write(newStats);
|
|
11872
|
+
if (newStats != previousStats && Object.keys(storedStats).length > 0) {
|
|
11873
|
+
this.logger.debug("New stats: " + newStats);
|
|
11874
|
+
}
|
|
11875
|
+
}
|
|
11876
|
+
}]);
|
|
11877
|
+
return StatisticsGatherer;
|
|
11878
|
+
}();
|
|
11879
|
+
|
|
11880
|
+
var StatisticsStorage = function () {
|
|
11881
|
+
function StatisticsStorage(key) {
|
|
11882
|
+
classCallCheck(this, StatisticsStorage);
|
|
11883
|
+
|
|
11884
|
+
this.key = key;
|
|
11885
|
+
}
|
|
11886
|
+
|
|
11887
|
+
createClass(StatisticsStorage, [{
|
|
11888
|
+
key: 'read',
|
|
11889
|
+
value: function read() {
|
|
11890
|
+
var localStorageStatsString = localStorage.getItem(this.key);
|
|
11891
|
+
try {
|
|
11892
|
+
return JSON.parse(localStorageStatsString ? localStorageStatsString : '{}');
|
|
11893
|
+
} catch (e) {
|
|
11894
|
+
return {};
|
|
11895
|
+
}
|
|
11896
|
+
}
|
|
11897
|
+
}, {
|
|
11898
|
+
key: 'write',
|
|
11899
|
+
value: function write(data) {
|
|
11900
|
+
localStorage.setItem(this.key, data);
|
|
11901
|
+
}
|
|
11902
|
+
}, {
|
|
11903
|
+
key: 'clear',
|
|
11904
|
+
value: function clear() {
|
|
11905
|
+
localStorage.removeItem(this.key);
|
|
11906
|
+
}
|
|
11907
|
+
}, {
|
|
11908
|
+
key: 'isEmpty',
|
|
11909
|
+
value: function isEmpty() {
|
|
11910
|
+
var storedStats = this.read();
|
|
11911
|
+
var empty = true;
|
|
11912
|
+
Object.keys(storedStats).forEach(function (key) {
|
|
11913
|
+
if (Object.keys(storedStats[key]).length > 0) {
|
|
11914
|
+
empty = false;
|
|
11915
|
+
}
|
|
11916
|
+
});
|
|
11917
|
+
|
|
11918
|
+
return empty;
|
|
11919
|
+
}
|
|
11920
|
+
}]);
|
|
11921
|
+
return StatisticsStorage;
|
|
11922
|
+
}();
|
|
11923
|
+
|
|
11924
|
+
var StatisticsSender = function () {
|
|
11925
|
+
function StatisticsSender(url, logger) {
|
|
11926
|
+
classCallCheck(this, StatisticsSender);
|
|
11927
|
+
|
|
11928
|
+
this.url = url;
|
|
11929
|
+
this.logger = logger;
|
|
11930
|
+
}
|
|
11931
|
+
|
|
11932
|
+
createClass(StatisticsSender, [{
|
|
11933
|
+
key: 'send',
|
|
11934
|
+
value: function send(data, errorHandler) {
|
|
11935
|
+
var logger = this.logger;
|
|
11936
|
+
|
|
11937
|
+
if (navigator.onLine === false) {
|
|
11938
|
+
logger.debug("Offline, can't send");
|
|
11939
|
+
errorHandler();
|
|
11940
|
+
return;
|
|
11941
|
+
}
|
|
11942
|
+
logger.debug("Sending data to " + this.url);
|
|
11943
|
+
|
|
11944
|
+
var req = new XMLHttpRequest();
|
|
11945
|
+
req.withCredentials = true;
|
|
11946
|
+
req.addEventListener("load", function () {
|
|
11947
|
+
// Stats sent, nothing more to do
|
|
11948
|
+
logger.debug("Response: " + req.responseText);
|
|
11949
|
+
});
|
|
11950
|
+
req.addEventListener("error", function () {
|
|
11951
|
+
logger.debug("Send failed");
|
|
11952
|
+
errorHandler();
|
|
11953
|
+
});
|
|
11954
|
+
req.addEventListener("abort", function () {
|
|
11955
|
+
logger.debug("Send aborted");
|
|
11956
|
+
errorHandler();
|
|
11957
|
+
});
|
|
11958
|
+
req.open("POST", this.url);
|
|
11959
|
+
req.setRequestHeader("Content-Type", "application/json");
|
|
11960
|
+
req.send(data);
|
|
11961
|
+
}
|
|
11962
|
+
}]);
|
|
11963
|
+
return StatisticsSender;
|
|
11964
|
+
}();
|
|
11965
|
+
|
|
11966
|
+
var StatisticsLogger = function () {
|
|
11967
|
+
function StatisticsLogger(id) {
|
|
11968
|
+
classCallCheck(this, StatisticsLogger);
|
|
11969
|
+
|
|
11970
|
+
this.id = id;
|
|
11971
|
+
}
|
|
11972
|
+
|
|
11973
|
+
createClass(StatisticsLogger, [{
|
|
11974
|
+
key: '_isDebug',
|
|
11975
|
+
value: function _isDebug() {
|
|
11976
|
+
return localStorage.getItem("vaadin." + this.id + ".debug");
|
|
11977
|
+
}
|
|
11978
|
+
}, {
|
|
11979
|
+
key: 'debug',
|
|
11980
|
+
value: function debug(msg) {
|
|
11981
|
+
if (this._isDebug()) {
|
|
11982
|
+
console.info(this.id + ": " + msg);
|
|
11983
|
+
}
|
|
11984
|
+
}
|
|
11985
|
+
}]);
|
|
11986
|
+
return StatisticsLogger;
|
|
11987
|
+
}();
|
|
11988
|
+
|
|
11989
|
+
var UsageStatistics = function () {
|
|
11990
|
+
function UsageStatistics() {
|
|
11991
|
+
classCallCheck(this, UsageStatistics);
|
|
11992
|
+
|
|
11993
|
+
this.now = new Date();
|
|
11994
|
+
this.timeNow = this.now.getTime();
|
|
11995
|
+
this.gatherDelay = 10; // Delay between loading this file and gathering stats
|
|
11996
|
+
this.initialDelay = 24 * 60 * 60;
|
|
11997
|
+
|
|
11998
|
+
this.logger = new StatisticsLogger("statistics");
|
|
11999
|
+
this.storage = new StatisticsStorage("vaadin.statistics.basket");
|
|
12000
|
+
this.gatherer = new StatisticsGatherer(this.logger);
|
|
12001
|
+
this.sender = new StatisticsSender("https://tools.vaadin.com/usage-stats/submit", this.logger);
|
|
12002
|
+
}
|
|
12003
|
+
|
|
12004
|
+
createClass(UsageStatistics, [{
|
|
12005
|
+
key: 'maybeGatherAndSend',
|
|
12006
|
+
value: function maybeGatherAndSend() {
|
|
12007
|
+
var _this = this;
|
|
12008
|
+
|
|
12009
|
+
if (localStorage.getItem(UsageStatistics.optOutKey)) {
|
|
12010
|
+
return;
|
|
12011
|
+
}
|
|
12012
|
+
this.gatherer.gather(this.storage);
|
|
12013
|
+
setTimeout(function () {
|
|
12014
|
+
_this.maybeSend();
|
|
12015
|
+
}, this.gatherDelay * 1000);
|
|
12016
|
+
}
|
|
12017
|
+
}, {
|
|
12018
|
+
key: 'lottery',
|
|
12019
|
+
value: function lottery() {
|
|
12020
|
+
return true;
|
|
12021
|
+
}
|
|
12022
|
+
}, {
|
|
12023
|
+
key: 'currentMonth',
|
|
12024
|
+
value: function currentMonth() {
|
|
12025
|
+
return this.now.getYear() * 12 + this.now.getMonth();
|
|
12026
|
+
}
|
|
12027
|
+
}, {
|
|
12028
|
+
key: 'maybeSend',
|
|
12029
|
+
value: function maybeSend() {
|
|
12030
|
+
var firstUse = Number(localStorage.getItem(UsageStatistics.firstUseKey));
|
|
12031
|
+
var monthProcessed = Number(localStorage.getItem(UsageStatistics.monthProcessedKey));
|
|
12032
|
+
|
|
12033
|
+
if (!firstUse) {
|
|
12034
|
+
// Use a grace period to avoid interfering with tests, incognito mode etc
|
|
12035
|
+
firstUse = this.timeNow;
|
|
12036
|
+
localStorage.setItem(UsageStatistics.firstUseKey, firstUse);
|
|
12037
|
+
}
|
|
12038
|
+
|
|
12039
|
+
if (this.timeNow < firstUse + this.initialDelay * 1000) {
|
|
12040
|
+
this.logger.debug("No statistics will be sent until the initial delay of " + this.initialDelay + "s has passed");
|
|
12041
|
+
return;
|
|
12042
|
+
}
|
|
12043
|
+
if (this.currentMonth() <= monthProcessed) {
|
|
12044
|
+
this.logger.debug("This month has already been processed");
|
|
12045
|
+
return;
|
|
12046
|
+
}
|
|
12047
|
+
localStorage.setItem(UsageStatistics.monthProcessedKey, this.currentMonth());
|
|
12048
|
+
// Use random sampling
|
|
12049
|
+
if (this.lottery()) {
|
|
12050
|
+
this.logger.debug("Congratulations, we have a winner!");
|
|
12051
|
+
} else {
|
|
12052
|
+
this.logger.debug("Sorry, no stats from you this time");
|
|
12053
|
+
return;
|
|
12054
|
+
}
|
|
12055
|
+
|
|
12056
|
+
this.send();
|
|
12057
|
+
}
|
|
12058
|
+
}, {
|
|
12059
|
+
key: 'send',
|
|
12060
|
+
value: function send() {
|
|
12061
|
+
// Ensure we have the latest data
|
|
12062
|
+
this.gatherer.gather(this.storage);
|
|
12063
|
+
|
|
12064
|
+
// Read, send and clean up
|
|
12065
|
+
var data = this.storage.read();
|
|
12066
|
+
data["firstUse"] = Number(localStorage.getItem(UsageStatistics.firstUseKey));
|
|
12067
|
+
data["usageStatisticsVersion"] = UsageStatistics.version;
|
|
12068
|
+
var info = 'This request contains usage statistics gathered from the application running in development mode. \n\nStatistics gathering is automatically disabled and excluded from production builds.\n\nFor details and to opt-out, see https://github.com/vaadin/vaadin-usage-statistics.\n\n\n\n';
|
|
12069
|
+
var self = this;
|
|
12070
|
+
this.sender.send(info + JSON.stringify(data), function () {
|
|
12071
|
+
// Revert the 'month processed' flag
|
|
12072
|
+
localStorage.setItem(UsageStatistics.monthProcessedKey, self.currentMonth() - 1);
|
|
12073
|
+
});
|
|
12074
|
+
}
|
|
12075
|
+
}], [{
|
|
12076
|
+
key: 'version',
|
|
12077
|
+
get: function get$1() {
|
|
12078
|
+
return '2.1.2';
|
|
12079
|
+
}
|
|
12080
|
+
}, {
|
|
12081
|
+
key: 'firstUseKey',
|
|
12082
|
+
get: function get$1() {
|
|
12083
|
+
return 'vaadin.statistics.firstuse';
|
|
12084
|
+
}
|
|
12085
|
+
}, {
|
|
12086
|
+
key: 'monthProcessedKey',
|
|
12087
|
+
get: function get$1() {
|
|
12088
|
+
return 'vaadin.statistics.monthProcessed';
|
|
12089
|
+
}
|
|
12090
|
+
}, {
|
|
12091
|
+
key: 'optOutKey',
|
|
12092
|
+
get: function get$1() {
|
|
12093
|
+
return 'vaadin.statistics.optout';
|
|
12094
|
+
}
|
|
12095
|
+
}]);
|
|
12096
|
+
return UsageStatistics;
|
|
12097
|
+
}();
|
|
12098
|
+
|
|
12099
|
+
try {
|
|
12100
|
+
window.Vaadin = window.Vaadin || {};
|
|
12101
|
+
window.Vaadin.usageStatsChecker = window.Vaadin.usageStatsChecker || new UsageStatistics();
|
|
12102
|
+
window.Vaadin.usageStatsChecker.maybeGatherAndSend();
|
|
12103
|
+
} catch (e) {
|
|
12104
|
+
// Intentionally ignored as this is not a problem in the app being developed
|
|
12105
|
+
}
|
|
12106
|
+
|
|
12107
|
+
}());
|
|
12108
|
+
|
|
12109
|
+
vaadin-dev-mode:end **/
|
|
11625
12110
|
}
|
|
11626
12111
|
const sp = function() {
|
|
11627
12112
|
if (typeof Bs == "function")
|
|
@@ -11636,7 +12121,7 @@ const sp = function() {
|
|
|
11636
12121
|
* Code distributed by Google as part of the polymer project is also
|
|
11637
12122
|
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
11638
12123
|
*/
|
|
11639
|
-
let zs = 0,
|
|
12124
|
+
let zs = 0, va = 0;
|
|
11640
12125
|
const lt = [];
|
|
11641
12126
|
let qo = !1;
|
|
11642
12127
|
function np() {
|
|
@@ -11653,7 +12138,7 @@ function np() {
|
|
|
11653
12138
|
});
|
|
11654
12139
|
}
|
|
11655
12140
|
}
|
|
11656
|
-
lt.splice(0, t),
|
|
12141
|
+
lt.splice(0, t), va += t;
|
|
11657
12142
|
}
|
|
11658
12143
|
const Pr = {
|
|
11659
12144
|
/**
|
|
@@ -11737,7 +12222,7 @@ const Pr = {
|
|
|
11737
12222
|
* @return {void}
|
|
11738
12223
|
*/
|
|
11739
12224
|
cancel(t) {
|
|
11740
|
-
const r = t -
|
|
12225
|
+
const r = t - va;
|
|
11741
12226
|
if (r >= 0) {
|
|
11742
12227
|
if (!lt[r])
|
|
11743
12228
|
throw new Error(`invalid async handle: ${t}`);
|
|
@@ -11861,7 +12346,7 @@ window.Vaadin.developmentModeCallback["vaadin-usage-statistics"] = function() {
|
|
|
11861
12346
|
sp();
|
|
11862
12347
|
};
|
|
11863
12348
|
let ho;
|
|
11864
|
-
const Fs = /* @__PURE__ */ new Set(),
|
|
12349
|
+
const Fs = /* @__PURE__ */ new Set(), xa = (t) => class extends zr(t) {
|
|
11865
12350
|
static get version() {
|
|
11866
12351
|
return "24.2.9";
|
|
11867
12352
|
}
|
|
@@ -11909,7 +12394,7 @@ function vi(t) {
|
|
|
11909
12394
|
function Fr(t) {
|
|
11910
12395
|
return t ? [...t].join(" ") : "";
|
|
11911
12396
|
}
|
|
11912
|
-
function
|
|
12397
|
+
function wa(t, r, e) {
|
|
11913
12398
|
const o = vi(t.getAttribute(r));
|
|
11914
12399
|
o.add(e), t.setAttribute(r, Fr(o));
|
|
11915
12400
|
}
|
|
@@ -11980,7 +12465,7 @@ class pp {
|
|
|
11980
12465
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11981
12466
|
*/
|
|
11982
12467
|
let fp = 0;
|
|
11983
|
-
function
|
|
12468
|
+
function Ea() {
|
|
11984
12469
|
return fp++;
|
|
11985
12470
|
}
|
|
11986
12471
|
/**
|
|
@@ -11998,7 +12483,7 @@ class je extends EventTarget {
|
|
|
11998
12483
|
* @protected
|
|
11999
12484
|
*/
|
|
12000
12485
|
static generateId(r, e) {
|
|
12001
|
-
return `${e || "default"}-${r.localName}-${
|
|
12486
|
+
return `${e || "default"}-${r.localName}-${Ea()}`;
|
|
12002
12487
|
}
|
|
12003
12488
|
constructor(r, e, o, i = {}) {
|
|
12004
12489
|
super();
|
|
@@ -12105,7 +12590,7 @@ class je extends EventTarget {
|
|
|
12105
12590
|
* Copyright (c) 2022 - 2023 Vaadin Ltd.
|
|
12106
12591
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12107
12592
|
*/
|
|
12108
|
-
class
|
|
12593
|
+
class Sa extends je {
|
|
12109
12594
|
constructor(r) {
|
|
12110
12595
|
super(r, "tooltip"), this.setTarget(r);
|
|
12111
12596
|
}
|
|
@@ -12299,13 +12784,13 @@ const gp = !1, bp = (t) => t, xi = typeof document.head.style.touchAction == "st
|
|
|
12299
12784
|
function wi(t) {
|
|
12300
12785
|
return vp.indexOf(t) > -1;
|
|
12301
12786
|
}
|
|
12302
|
-
let
|
|
12787
|
+
let Aa = !1;
|
|
12303
12788
|
(function() {
|
|
12304
12789
|
try {
|
|
12305
12790
|
const t = Object.defineProperty({}, "passive", {
|
|
12306
12791
|
// eslint-disable-next-line getter-return
|
|
12307
12792
|
get() {
|
|
12308
|
-
|
|
12793
|
+
Aa = !0;
|
|
12309
12794
|
}
|
|
12310
12795
|
});
|
|
12311
12796
|
window.addEventListener("test", null, t), window.removeEventListener("test", null, t);
|
|
@@ -12313,7 +12798,7 @@ let Ca = !1;
|
|
|
12313
12798
|
}
|
|
12314
12799
|
})();
|
|
12315
12800
|
function Ep(t) {
|
|
12316
|
-
if (!(wi(t) || t === "touchend") && xi &&
|
|
12801
|
+
if (!(wi(t) || t === "touchend") && xi && Aa && gp)
|
|
12317
12802
|
return { passive: !0 };
|
|
12318
12803
|
}
|
|
12319
12804
|
const Sp = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), Ap = {
|
|
@@ -12367,7 +12852,7 @@ const Ae = {
|
|
|
12367
12852
|
};
|
|
12368
12853
|
function Tp(t) {
|
|
12369
12854
|
let r = "auto";
|
|
12370
|
-
const e =
|
|
12855
|
+
const e = Ta(t);
|
|
12371
12856
|
for (let o = 0, i; o < e.length; o++)
|
|
12372
12857
|
if (i = e[o], i[Zo]) {
|
|
12373
12858
|
r = i[Zo];
|
|
@@ -12375,13 +12860,13 @@ function Tp(t) {
|
|
|
12375
12860
|
}
|
|
12376
12861
|
return r;
|
|
12377
12862
|
}
|
|
12378
|
-
function
|
|
12863
|
+
function Ca(t, r, e) {
|
|
12379
12864
|
t.movefn = r, t.upfn = e, document.addEventListener("mousemove", r), document.addEventListener("mouseup", e);
|
|
12380
12865
|
}
|
|
12381
12866
|
function ut(t) {
|
|
12382
12867
|
document.removeEventListener("mousemove", t.movefn), document.removeEventListener("mouseup", t.upfn), t.movefn = null, t.upfn = null;
|
|
12383
12868
|
}
|
|
12384
|
-
const
|
|
12869
|
+
const Ta = window.ShadyDOM && window.ShadyDOM.noPatch ? window.ShadyDOM.composedPath : (t) => t.composedPath && t.composedPath() || [], Ei = {}, Ve = [];
|
|
12385
12870
|
function Pp(t, r) {
|
|
12386
12871
|
let e = document.elementFromPoint(t, r), o = e;
|
|
12387
12872
|
for (; o && o.shadowRoot && !window.ShadyDOM; ) {
|
|
@@ -12393,7 +12878,7 @@ function Pp(t, r) {
|
|
|
12393
12878
|
return e;
|
|
12394
12879
|
}
|
|
12395
12880
|
function Le(t) {
|
|
12396
|
-
const r =
|
|
12881
|
+
const r = Ta(
|
|
12397
12882
|
/** @type {?Event} */
|
|
12398
12883
|
t
|
|
12399
12884
|
);
|
|
@@ -12443,7 +12928,7 @@ function Op(t, r, e) {
|
|
|
12443
12928
|
n || (t[Jo] = n = {});
|
|
12444
12929
|
for (let a = 0, l, u; a < i.length; a++)
|
|
12445
12930
|
l = i[a], !(Sp && wi(l) && l !== "click") && (u = n[l], u || (n[l] = u = { _count: 0 }), u._count === 0 && t.addEventListener(l, Dp, Ep(l)), u[s] = (u[s] || 0) + 1, u._count = (u._count || 0) + 1);
|
|
12446
|
-
t.addEventListener(r, e), o.touchAction &&
|
|
12931
|
+
t.addEventListener(r, e), o.touchAction && Pa(t, o.touchAction);
|
|
12447
12932
|
}
|
|
12448
12933
|
function Si(t) {
|
|
12449
12934
|
Ve.push(t), t.emits.forEach((r) => {
|
|
@@ -12459,7 +12944,7 @@ function Mp(t) {
|
|
|
12459
12944
|
}
|
|
12460
12945
|
return null;
|
|
12461
12946
|
}
|
|
12462
|
-
function
|
|
12947
|
+
function Pa(t, r) {
|
|
12463
12948
|
xi && t instanceof HTMLElement && lp.run(() => {
|
|
12464
12949
|
t.style.touchAction = r;
|
|
12465
12950
|
}), t[Zo] = r;
|
|
@@ -12510,7 +12995,7 @@ Si({
|
|
|
12510
12995
|
}, i = (s) => {
|
|
12511
12996
|
Ye(s) && Dt("up", r, s), ut(e.info);
|
|
12512
12997
|
};
|
|
12513
|
-
|
|
12998
|
+
Ca(this.info, o, i), Dt("down", r, t);
|
|
12514
12999
|
},
|
|
12515
13000
|
/**
|
|
12516
13001
|
* @this {GestureRecognizer}
|
|
@@ -12584,7 +13069,7 @@ Si({
|
|
|
12584
13069
|
}, i = (s) => {
|
|
12585
13070
|
e.info.started && o(s), ut(e.info);
|
|
12586
13071
|
};
|
|
12587
|
-
|
|
13072
|
+
Ca(this.info, o, i), this.info.x = t.clientX, this.info.y = t.clientY;
|
|
12588
13073
|
},
|
|
12589
13074
|
/**
|
|
12590
13075
|
* @this {GestureRecognizer}
|
|
@@ -12712,7 +13197,7 @@ function Vs(t, r, e) {
|
|
|
12712
13197
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
12713
13198
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12714
13199
|
*/
|
|
12715
|
-
const
|
|
13200
|
+
const Da = Q(
|
|
12716
13201
|
(t) => class extends t {
|
|
12717
13202
|
static get properties() {
|
|
12718
13203
|
return {
|
|
@@ -12819,7 +13304,7 @@ const Rr = Q(
|
|
|
12819
13304
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
12820
13305
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12821
13306
|
*/
|
|
12822
|
-
const Ip = (t) => class extends
|
|
13307
|
+
const Ip = (t) => class extends Da(Rr(t)) {
|
|
12823
13308
|
/**
|
|
12824
13309
|
* An array of activation keys.
|
|
12825
13310
|
*
|
|
@@ -12942,7 +13427,7 @@ function Fp(t) {
|
|
|
12942
13427
|
const r = t.getAttribute("tabindex") || 0;
|
|
12943
13428
|
return Number(r);
|
|
12944
13429
|
}
|
|
12945
|
-
function
|
|
13430
|
+
function ka(t, r) {
|
|
12946
13431
|
if (t.nodeType !== Node.ELEMENT_NODE || Lp(t))
|
|
12947
13432
|
return !1;
|
|
12948
13433
|
const e = (
|
|
@@ -12953,12 +13438,12 @@ function Oa(t, r) {
|
|
|
12953
13438
|
o >= 0 && r.push(e);
|
|
12954
13439
|
let s = [];
|
|
12955
13440
|
return e.localName === "slot" ? s = e.assignedNodes({ flatten: !0 }) : s = (e.shadowRoot || e).children, [...s].forEach((n) => {
|
|
12956
|
-
i =
|
|
13441
|
+
i = ka(n, r) || i;
|
|
12957
13442
|
}), i;
|
|
12958
13443
|
}
|
|
12959
13444
|
function Rp(t) {
|
|
12960
13445
|
const r = [];
|
|
12961
|
-
return
|
|
13446
|
+
return ka(t, r) ? ei(r) : r;
|
|
12962
13447
|
}
|
|
12963
13448
|
/**
|
|
12964
13449
|
* @license
|
|
@@ -13022,7 +13507,7 @@ const Ti = Q(
|
|
|
13022
13507
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
13023
13508
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13024
13509
|
*/
|
|
13025
|
-
const
|
|
13510
|
+
const Oa = (t) => class extends Da(t) {
|
|
13026
13511
|
static get properties() {
|
|
13027
13512
|
return {
|
|
13028
13513
|
/**
|
|
@@ -13073,7 +13558,7 @@ const Ma = (t) => class extends ka(t) {
|
|
|
13073
13558
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
13074
13559
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13075
13560
|
*/
|
|
13076
|
-
const Up = (t) => class extends Ip(
|
|
13561
|
+
const Up = (t) => class extends Ip(Oa(Ti(t))) {
|
|
13077
13562
|
static get properties() {
|
|
13078
13563
|
return {
|
|
13079
13564
|
/**
|
|
@@ -13129,7 +13614,7 @@ const Up = (t) => class extends Ip(Ma(Ti(t))) {
|
|
|
13129
13614
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13130
13615
|
*/
|
|
13131
13616
|
G("vaadin-button", mp, { moduleId: "vaadin-button-styles" });
|
|
13132
|
-
class jp extends Up(
|
|
13617
|
+
class jp extends Up(xa(qe(wt(He)))) {
|
|
13133
13618
|
static get is() {
|
|
13134
13619
|
return "vaadin-button";
|
|
13135
13620
|
}
|
|
@@ -13138,7 +13623,7 @@ class jp extends Up(wa(qe(wt(He)))) {
|
|
|
13138
13623
|
}
|
|
13139
13624
|
/** @protected */
|
|
13140
13625
|
ready() {
|
|
13141
|
-
super.ready(), this._tooltipController = new
|
|
13626
|
+
super.ready(), this._tooltipController = new Sa(this), this.addController(this._tooltipController);
|
|
13142
13627
|
}
|
|
13143
13628
|
}
|
|
13144
13629
|
ge(jp);
|
|
@@ -13471,8 +13956,8 @@ G(
|
|
|
13471
13956
|
`,
|
|
13472
13957
|
{ moduleId: "lumo-month-calendar" }
|
|
13473
13958
|
);
|
|
13474
|
-
const
|
|
13475
|
-
|
|
13959
|
+
const Ma = document.createElement("template");
|
|
13960
|
+
Ma.innerHTML = `
|
|
13476
13961
|
<style>
|
|
13477
13962
|
@keyframes vaadin-date-picker-month-calendar-focus-date {
|
|
13478
13963
|
50% {
|
|
@@ -13481,7 +13966,7 @@ Ia.innerHTML = `
|
|
|
13481
13966
|
}
|
|
13482
13967
|
</style>
|
|
13483
13968
|
`;
|
|
13484
|
-
document.head.appendChild(
|
|
13969
|
+
document.head.appendChild(Ma.content);
|
|
13485
13970
|
/**
|
|
13486
13971
|
* @license
|
|
13487
13972
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
@@ -13547,7 +14032,7 @@ xt("font-icons", Vp);
|
|
|
13547
14032
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
13548
14033
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13549
14034
|
*/
|
|
13550
|
-
const
|
|
14035
|
+
const Ia = C`
|
|
13551
14036
|
[part$='button'] {
|
|
13552
14037
|
flex: none;
|
|
13553
14038
|
width: 1em;
|
|
@@ -13575,7 +14060,7 @@ const Na = C`
|
|
|
13575
14060
|
display: block;
|
|
13576
14061
|
}
|
|
13577
14062
|
`;
|
|
13578
|
-
G("",
|
|
14063
|
+
G("", Ia, { moduleId: "lumo-field-button" });
|
|
13579
14064
|
/**
|
|
13580
14065
|
* @license
|
|
13581
14066
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
@@ -13638,7 +14123,7 @@ const Yp = C`
|
|
|
13638
14123
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
13639
14124
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13640
14125
|
*/
|
|
13641
|
-
const
|
|
14126
|
+
const Na = C`
|
|
13642
14127
|
[part='label'] {
|
|
13643
14128
|
align-self: flex-start;
|
|
13644
14129
|
color: var(--lumo-secondary-text-color);
|
|
@@ -13735,7 +14220,7 @@ const La = C`
|
|
|
13735
14220
|
margin-right: calc(var(--lumo-border-radius-m) / 4);
|
|
13736
14221
|
}
|
|
13737
14222
|
`;
|
|
13738
|
-
G("",
|
|
14223
|
+
G("", Na, { moduleId: "lumo-required-field" });
|
|
13739
14224
|
/**
|
|
13740
14225
|
* @license
|
|
13741
14226
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
@@ -13875,8 +14360,8 @@ const Gp = C`
|
|
|
13875
14360
|
[part='clear-button']::before {
|
|
13876
14361
|
content: var(--lumo-icons-cross);
|
|
13877
14362
|
}
|
|
13878
|
-
`,
|
|
13879
|
-
G("",
|
|
14363
|
+
`, La = [Na, Ia, Yp, Gp];
|
|
14364
|
+
G("", La, {
|
|
13880
14365
|
moduleId: "lumo-input-field-shared-styles"
|
|
13881
14366
|
});
|
|
13882
14367
|
const Wp = C`
|
|
@@ -13906,7 +14391,7 @@ const Wp = C`
|
|
|
13906
14391
|
--_lumo-text-field-overflow-mask-image: none;
|
|
13907
14392
|
}
|
|
13908
14393
|
`;
|
|
13909
|
-
G("vaadin-date-picker", [
|
|
14394
|
+
G("vaadin-date-picker", [La, Wp], { moduleId: "lumo-date-picker" });
|
|
13910
14395
|
/**
|
|
13911
14396
|
@license
|
|
13912
14397
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -13916,23 +14401,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
13916
14401
|
Code distributed by Google as part of the polymer project is also
|
|
13917
14402
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
13918
14403
|
*/
|
|
13919
|
-
let ti = !1, qp = [],
|
|
14404
|
+
let ti = !1, qp = [], $a = [];
|
|
13920
14405
|
function Xp() {
|
|
13921
14406
|
ti = !0, requestAnimationFrame(function() {
|
|
13922
14407
|
ti = !1, Kp(qp), setTimeout(function() {
|
|
13923
|
-
Jp(
|
|
14408
|
+
Jp($a);
|
|
13924
14409
|
});
|
|
13925
14410
|
});
|
|
13926
14411
|
}
|
|
13927
14412
|
function Kp(t) {
|
|
13928
14413
|
for (; t.length; )
|
|
13929
|
-
|
|
14414
|
+
Ha(t.shift());
|
|
13930
14415
|
}
|
|
13931
14416
|
function Jp(t) {
|
|
13932
14417
|
for (let r = 0, e = t.length; r < e; r++)
|
|
13933
|
-
|
|
14418
|
+
Ha(t.shift());
|
|
13934
14419
|
}
|
|
13935
|
-
function
|
|
14420
|
+
function Ha(t) {
|
|
13936
14421
|
const r = t[0], e = t[1], o = t[2];
|
|
13937
14422
|
try {
|
|
13938
14423
|
e.apply(r, o);
|
|
@@ -13942,8 +14427,8 @@ function Ba(t) {
|
|
|
13942
14427
|
});
|
|
13943
14428
|
}
|
|
13944
14429
|
}
|
|
13945
|
-
function
|
|
13946
|
-
ti || Xp(),
|
|
14430
|
+
function Ba(t, r, e) {
|
|
14431
|
+
ti || Xp(), $a.push([t, r, e]);
|
|
13947
14432
|
}
|
|
13948
14433
|
/**
|
|
13949
14434
|
* @license
|
|
@@ -13953,7 +14438,7 @@ function za(t, r, e) {
|
|
|
13953
14438
|
const Ur = (t) => t.test(navigator.userAgent), ri = (t) => t.test(navigator.platform), Zp = (t) => t.test(navigator.vendor);
|
|
13954
14439
|
Ur(/Android/u);
|
|
13955
14440
|
Ur(/Chrome/u) && Zp(/Google Inc/u);
|
|
13956
|
-
const Qp = Ur(/Firefox/u), ef = ri(/^iPad/u) || ri(/^Mac/u) && navigator.maxTouchPoints > 1, tf = ri(/^iPhone/u),
|
|
14441
|
+
const Qp = Ur(/Firefox/u), ef = ri(/^iPad/u) || ri(/^Mac/u) && navigator.maxTouchPoints > 1, tf = ri(/^iPhone/u), za = tf || ef;
|
|
13957
14442
|
Ur(/^((?!chrome|android).)*safari/iu);
|
|
13958
14443
|
const rf = (() => {
|
|
13959
14444
|
try {
|
|
@@ -14011,7 +14496,7 @@ const Ys = (t) => t && t.nodeType === Node.ELEMENT_NODE, _o = (...t) => {
|
|
|
14011
14496
|
rt.set(h, d), s.set(h, p), d || (ur.has(h) ? ur.delete(h) : h.removeAttribute(o)), p || h.removeAttribute(e);
|
|
14012
14497
|
}), mo -= 1, mo || (rt = /* @__PURE__ */ new WeakMap(), rt = /* @__PURE__ */ new WeakMap(), ur = /* @__PURE__ */ new WeakMap(), cr = {});
|
|
14013
14498
|
};
|
|
14014
|
-
},
|
|
14499
|
+
}, Fa = (t, r = document.body, e = "data-aria-hidden") => {
|
|
14015
14500
|
const o = Array.from(Array.isArray(t) ? t : [t]);
|
|
14016
14501
|
return r && o.push(...Array.from(r.querySelectorAll("[aria-live]"))), sf(o, r, e, "aria-hidden");
|
|
14017
14502
|
};
|
|
@@ -14036,7 +14521,7 @@ class nf {
|
|
|
14036
14521
|
*/
|
|
14037
14522
|
showModal() {
|
|
14038
14523
|
const r = this.callback();
|
|
14039
|
-
this.__showOthers =
|
|
14524
|
+
this.__showOthers = Fa(r);
|
|
14040
14525
|
}
|
|
14041
14526
|
/**
|
|
14042
14527
|
* Remove `aria-hidden` from other elements unless there are any other
|
|
@@ -14386,7 +14871,7 @@ const df = (t) => class extends uf(hf(t)) {
|
|
|
14386
14871
|
return ["_rendererOrDataChanged(renderer, owner, model, opened)"];
|
|
14387
14872
|
}
|
|
14388
14873
|
constructor() {
|
|
14389
|
-
super(), this._boundMouseDownListener = this._mouseDownListener.bind(this), this._boundMouseUpListener = this._mouseUpListener.bind(this), this._boundOutsideClickListener = this._outsideClickListener.bind(this), this._boundKeydownListener = this._keydownListener.bind(this),
|
|
14874
|
+
super(), this._boundMouseDownListener = this._mouseDownListener.bind(this), this._boundMouseUpListener = this._mouseUpListener.bind(this), this._boundOutsideClickListener = this._outsideClickListener.bind(this), this._boundKeydownListener = this._keydownListener.bind(this), za && (this._boundIosResizeListener = () => this._detectIosNavbar());
|
|
14390
14875
|
}
|
|
14391
14876
|
/** @protected */
|
|
14392
14877
|
ready() {
|
|
@@ -14454,7 +14939,7 @@ const df = (t) => class extends uf(hf(t)) {
|
|
|
14454
14939
|
}
|
|
14455
14940
|
/** @private */
|
|
14456
14941
|
_openedChanged(e, o) {
|
|
14457
|
-
e ? (this._saveFocus(), this._animatedOpening(),
|
|
14942
|
+
e ? (this._saveFocus(), this._animatedOpening(), Ba(this, () => {
|
|
14458
14943
|
this._trapFocus();
|
|
14459
14944
|
const i = new CustomEvent("vaadin-overlay-open", { bubbles: !0 });
|
|
14460
14945
|
this.dispatchEvent(i);
|
|
@@ -14936,7 +15421,7 @@ function Pe(t, r) {
|
|
|
14936
15421
|
function Wt(t, r, e) {
|
|
14937
15422
|
return (!r || t >= r) && (!e || t <= e);
|
|
14938
15423
|
}
|
|
14939
|
-
function
|
|
15424
|
+
function Ra(t, r) {
|
|
14940
15425
|
return r.filter((e) => e !== void 0).reduce((e, o) => {
|
|
14941
15426
|
if (!o)
|
|
14942
15427
|
return e;
|
|
@@ -14946,14 +15431,14 @@ function Ua(t, r) {
|
|
|
14946
15431
|
return i < s ? o : e;
|
|
14947
15432
|
});
|
|
14948
15433
|
}
|
|
14949
|
-
function
|
|
15434
|
+
function Ua(t) {
|
|
14950
15435
|
return {
|
|
14951
15436
|
day: t.getDate(),
|
|
14952
15437
|
month: t.getMonth(),
|
|
14953
15438
|
year: t.getFullYear()
|
|
14954
15439
|
};
|
|
14955
15440
|
}
|
|
14956
|
-
function
|
|
15441
|
+
function ja(t) {
|
|
14957
15442
|
const r = /* @__PURE__ */ new Date(), e = new Date(r);
|
|
14958
15443
|
return e.setDate(1), e.setMonth(parseInt(t) + r.getMonth()), e;
|
|
14959
15444
|
}
|
|
@@ -14977,8 +15462,8 @@ function kt(t) {
|
|
|
14977
15462
|
* Copyright (c) 2016 - 2023 Vaadin Ltd.
|
|
14978
15463
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14979
15464
|
*/
|
|
14980
|
-
const
|
|
14981
|
-
|
|
15465
|
+
const Va = document.createElement("template");
|
|
15466
|
+
Va.innerHTML = `
|
|
14982
15467
|
<style>
|
|
14983
15468
|
:host {
|
|
14984
15469
|
display: block;
|
|
@@ -15029,9 +15514,9 @@ Ya.innerHTML = `
|
|
|
15029
15514
|
<div id="fullHeight"></div>
|
|
15030
15515
|
</div>
|
|
15031
15516
|
`;
|
|
15032
|
-
class
|
|
15517
|
+
class Ya extends HTMLElement {
|
|
15033
15518
|
constructor() {
|
|
15034
|
-
super(), this.attachShadow({ mode: "open" }).appendChild(
|
|
15519
|
+
super(), this.attachShadow({ mode: "open" }).appendChild(Va.content.cloneNode(!0)), this.bufferSize = 20, this._initialScroll = 5e5, this._initialIndex = 0, this._activated = !1;
|
|
15035
15520
|
}
|
|
15036
15521
|
/**
|
|
15037
15522
|
* @return {boolean}
|
|
@@ -15147,7 +15632,7 @@ class Ga extends HTMLElement {
|
|
|
15147
15632
|
for (let o = 0; o < this.bufferSize; o++) {
|
|
15148
15633
|
const i = document.createElement("div");
|
|
15149
15634
|
i.style.height = `${this.itemHeight}px`, i.instance = {};
|
|
15150
|
-
const s = `vaadin-infinite-scroller-item-content-${
|
|
15635
|
+
const s = `vaadin-infinite-scroller-item-content-${Ea()}`, n = document.createElement("slot");
|
|
15151
15636
|
n.setAttribute("name", s), n._itemWrapper = i, e.appendChild(n), i.setAttribute("slot", s), this.appendChild(i), this._isVisible(i, r) && this._ensureStampedInstance(i);
|
|
15152
15637
|
}
|
|
15153
15638
|
}), requestAnimationFrame(() => {
|
|
@@ -15188,8 +15673,8 @@ class Ga extends HTMLElement {
|
|
|
15188
15673
|
* Copyright (c) 2016 - 2023 Vaadin Ltd.
|
|
15189
15674
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15190
15675
|
*/
|
|
15191
|
-
const
|
|
15192
|
-
|
|
15676
|
+
const Ga = document.createElement("template");
|
|
15677
|
+
Ga.innerHTML = `
|
|
15193
15678
|
<style>
|
|
15194
15679
|
:host {
|
|
15195
15680
|
--vaadin-infinite-scroller-item-height: 270px;
|
|
@@ -15202,12 +15687,12 @@ Wa.innerHTML = `
|
|
|
15202
15687
|
}
|
|
15203
15688
|
</style>
|
|
15204
15689
|
`;
|
|
15205
|
-
class yf extends
|
|
15690
|
+
class yf extends Ya {
|
|
15206
15691
|
static get is() {
|
|
15207
15692
|
return "vaadin-date-picker-month-scroller";
|
|
15208
15693
|
}
|
|
15209
15694
|
constructor() {
|
|
15210
|
-
super(), this.bufferSize = 3, this.shadowRoot.appendChild(
|
|
15695
|
+
super(), this.bufferSize = 3, this.shadowRoot.appendChild(Ga.content.cloneNode(!0));
|
|
15211
15696
|
}
|
|
15212
15697
|
/**
|
|
15213
15698
|
* @protected
|
|
@@ -15223,7 +15708,7 @@ class yf extends Ga {
|
|
|
15223
15708
|
* @override
|
|
15224
15709
|
*/
|
|
15225
15710
|
_updateElement(r, e) {
|
|
15226
|
-
r.month =
|
|
15711
|
+
r.month = ja(e);
|
|
15227
15712
|
}
|
|
15228
15713
|
}
|
|
15229
15714
|
ge(yf);
|
|
@@ -15232,8 +15717,8 @@ ge(yf);
|
|
|
15232
15717
|
* Copyright (c) 2016 - 2023 Vaadin Ltd.
|
|
15233
15718
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15234
15719
|
*/
|
|
15235
|
-
const
|
|
15236
|
-
|
|
15720
|
+
const Wa = document.createElement("template");
|
|
15721
|
+
Wa.innerHTML = `
|
|
15237
15722
|
<style>
|
|
15238
15723
|
:host {
|
|
15239
15724
|
--vaadin-infinite-scroller-item-height: 80px;
|
|
@@ -15268,12 +15753,12 @@ qa.innerHTML = `
|
|
|
15268
15753
|
}
|
|
15269
15754
|
</style>
|
|
15270
15755
|
`;
|
|
15271
|
-
class vf extends
|
|
15756
|
+
class vf extends Ya {
|
|
15272
15757
|
static get is() {
|
|
15273
15758
|
return "vaadin-date-picker-year-scroller";
|
|
15274
15759
|
}
|
|
15275
15760
|
constructor() {
|
|
15276
|
-
super(), this.bufferSize = 12, this.shadowRoot.appendChild(
|
|
15761
|
+
super(), this.bufferSize = 12, this.shadowRoot.appendChild(Wa.content.cloneNode(!0));
|
|
15277
15762
|
}
|
|
15278
15763
|
/**
|
|
15279
15764
|
* @protected
|
|
@@ -15434,7 +15919,7 @@ ii.prototype = Object.create(HTMLTemplateElement.prototype, {
|
|
|
15434
15919
|
writable: !0
|
|
15435
15920
|
}
|
|
15436
15921
|
});
|
|
15437
|
-
const
|
|
15922
|
+
const qa = yi(ii), Ef = Di(qa);
|
|
15438
15923
|
function Sf(t, r) {
|
|
15439
15924
|
oi = t, Object.setPrototypeOf(t, r.prototype), new r(), oi = null;
|
|
15440
15925
|
}
|
|
@@ -15603,7 +16088,7 @@ function Df(t, r, e, o) {
|
|
|
15603
16088
|
let n = r.templatizeTemplateClass;
|
|
15604
16089
|
if (!n) {
|
|
15605
16090
|
if (s) {
|
|
15606
|
-
let l = e.mutableData ? Ef :
|
|
16091
|
+
let l = e.mutableData ? Ef : qa;
|
|
15607
16092
|
class u extends l {
|
|
15608
16093
|
}
|
|
15609
16094
|
n = r.templatizeTemplateClass = u;
|
|
@@ -15620,7 +16105,7 @@ function Df(t, r, e, o) {
|
|
|
15620
16105
|
n.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE,
|
|
15621
16106
|
{ fn: kf(l, i) }
|
|
15622
16107
|
), n.prototype._createNotifyingProperty("_host_" + l);
|
|
15623
|
-
|
|
16108
|
+
Wn && o && Nf(r, e, o);
|
|
15624
16109
|
}
|
|
15625
16110
|
if (t.__dataProto && Object.assign(t.__data, t.__dataProto), s)
|
|
15626
16111
|
Sf(t, n), t.__dataTemp = {}, t.__dataPending = null, t.__dataOld = null, t._enableProperties();
|
|
@@ -15846,7 +16331,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
15846
16331
|
Code distributed by Google as part of the polymer project is also
|
|
15847
16332
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
15848
16333
|
*/
|
|
15849
|
-
const
|
|
16334
|
+
const Xa = function() {
|
|
15850
16335
|
let t, r;
|
|
15851
16336
|
do
|
|
15852
16337
|
t = window.ShadyDOM && ShadyDOM.flush(), window.ShadyCSS && window.ShadyCSS.ScopingShim && window.ShadyCSS.ScopingShim.flush(), r = Hf();
|
|
@@ -15863,7 +16348,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
15863
16348
|
*/
|
|
15864
16349
|
let qs = !1;
|
|
15865
16350
|
function Bf() {
|
|
15866
|
-
if (
|
|
16351
|
+
if (Gn && !Yn) {
|
|
15867
16352
|
if (!qs) {
|
|
15868
16353
|
qs = !0;
|
|
15869
16354
|
const t = document.createElement("style");
|
|
@@ -16167,7 +16652,7 @@ class Xs extends zf {
|
|
|
16167
16652
|
__debounceRender(r, e = 0) {
|
|
16168
16653
|
this.__renderDebouncer = kr.debounce(
|
|
16169
16654
|
this.__renderDebouncer,
|
|
16170
|
-
e > 0 ? kh.after(e) :
|
|
16655
|
+
e > 0 ? kh.after(e) : oa,
|
|
16171
16656
|
r.bind(this)
|
|
16172
16657
|
), $f(this.__renderDebouncer);
|
|
16173
16658
|
}
|
|
@@ -16180,7 +16665,7 @@ class Xs extends zf {
|
|
|
16180
16665
|
* @return {void}
|
|
16181
16666
|
*/
|
|
16182
16667
|
render() {
|
|
16183
|
-
this.__debounceRender(this.__render),
|
|
16668
|
+
this.__debounceRender(this.__render), Xa();
|
|
16184
16669
|
}
|
|
16185
16670
|
__render() {
|
|
16186
16671
|
if (!this.__ensureTemplatized())
|
|
@@ -16704,7 +17189,7 @@ ge(Uf);
|
|
|
16704
17189
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
16705
17190
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
16706
17191
|
*/
|
|
16707
|
-
class
|
|
17192
|
+
class Ka {
|
|
16708
17193
|
constructor(r, e) {
|
|
16709
17194
|
this.query = r, this.callback = e, this._boundQueryHandler = this._queryHandler.bind(this);
|
|
16710
17195
|
}
|
|
@@ -16850,7 +17335,7 @@ const jf = (t) => class extends t {
|
|
|
16850
17335
|
}
|
|
16851
17336
|
/** @protected */
|
|
16852
17337
|
_addListeners() {
|
|
16853
|
-
|
|
17338
|
+
Pa(this.$.scrollers, "pan-y"), Ee(this.$.scrollers, "track", this._track.bind(this)), Ee(this.shadowRoot.querySelector('[part="clear-button"]'), "tap", this._clear.bind(this)), Ee(this.shadowRoot.querySelector('[part="toggle-button"]'), "tap", this._cancel.bind(this)), Ee(
|
|
16854
17339
|
this.shadowRoot.querySelector('[part="years-toggle-button"]'),
|
|
16855
17340
|
"tap",
|
|
16856
17341
|
this._toggleYearScroller.bind(this)
|
|
@@ -16859,7 +17344,7 @@ const jf = (t) => class extends t {
|
|
|
16859
17344
|
/** @protected */
|
|
16860
17345
|
_initControllers() {
|
|
16861
17346
|
this.addController(
|
|
16862
|
-
new
|
|
17347
|
+
new Ka(this._desktopMediaQuery, (e) => {
|
|
16863
17348
|
this._desktopMode = e;
|
|
16864
17349
|
})
|
|
16865
17350
|
), this.addController(
|
|
@@ -17051,7 +17536,7 @@ const jf = (t) => class extends t {
|
|
|
17051
17536
|
}
|
|
17052
17537
|
/** @protected */
|
|
17053
17538
|
_formatDisplayed(e, o, i) {
|
|
17054
|
-
return e && o && typeof o.formatDate == "function" ? o.formatDate(
|
|
17539
|
+
return e && o && typeof o.formatDate == "function" ? o.formatDate(Ua(e)) : i;
|
|
17055
17540
|
}
|
|
17056
17541
|
/** @private */
|
|
17057
17542
|
_onTodayTap() {
|
|
@@ -17168,7 +17653,7 @@ const jf = (t) => class extends t {
|
|
|
17168
17653
|
}
|
|
17169
17654
|
/** @private */
|
|
17170
17655
|
_yearAfterXMonths(e) {
|
|
17171
|
-
return
|
|
17656
|
+
return ja(e).getFullYear();
|
|
17172
17657
|
}
|
|
17173
17658
|
/** @private */
|
|
17174
17659
|
_differenceInMonths(e, o) {
|
|
@@ -17276,15 +17761,15 @@ const jf = (t) => class extends t {
|
|
|
17276
17761
|
focusDateElement(e = !0) {
|
|
17277
17762
|
return St(this, null, function* () {
|
|
17278
17763
|
this.__pendingDateFocus = this.focusedDate, this.calendars.length || (yield new Promise((o) => {
|
|
17279
|
-
|
|
17280
|
-
|
|
17764
|
+
Ba(this, () => {
|
|
17765
|
+
Xa(), o();
|
|
17281
17766
|
});
|
|
17282
17767
|
})), e && this.revealDate(this.focusedDate), this._revealPromise && (yield this._revealPromise), this.__tryFocusDate();
|
|
17283
17768
|
});
|
|
17284
17769
|
}
|
|
17285
17770
|
/** @private */
|
|
17286
17771
|
_focusClosestDate(e) {
|
|
17287
|
-
this.focusDate(
|
|
17772
|
+
this.focusDate(Ra(e, [this.minDate, this.maxDate]));
|
|
17288
17773
|
}
|
|
17289
17774
|
/** @private */
|
|
17290
17775
|
_focusAllowedDate(e, o, i) {
|
|
@@ -17440,8 +17925,8 @@ ge(Yf);
|
|
|
17440
17925
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
17441
17926
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
17442
17927
|
*/
|
|
17443
|
-
const
|
|
17444
|
-
(t) => class extends Ti(
|
|
17928
|
+
const Ja = Q(
|
|
17929
|
+
(t) => class extends Ti(Oa(t)) {
|
|
17445
17930
|
static get properties() {
|
|
17446
17931
|
return {
|
|
17447
17932
|
/**
|
|
@@ -17632,7 +18117,7 @@ const qf = Q(
|
|
|
17632
18117
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
17633
18118
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
17634
18119
|
*/
|
|
17635
|
-
const
|
|
18120
|
+
const Za = Q(
|
|
17636
18121
|
(t) => class extends t {
|
|
17637
18122
|
static get properties() {
|
|
17638
18123
|
return {
|
|
@@ -17836,7 +18321,7 @@ const Qa = Q(
|
|
|
17836
18321
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
17837
18322
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
17838
18323
|
*/
|
|
17839
|
-
const Xf = (t) => class extends
|
|
18324
|
+
const Xf = (t) => class extends Za(Rr(t)) {
|
|
17840
18325
|
static get properties() {
|
|
17841
18326
|
return {
|
|
17842
18327
|
/**
|
|
@@ -17915,10 +18400,10 @@ const xo = /* @__PURE__ */ new Map();
|
|
|
17915
18400
|
function ki(t) {
|
|
17916
18401
|
return xo.has(t) || xo.set(t, /* @__PURE__ */ new WeakMap()), xo.get(t);
|
|
17917
18402
|
}
|
|
17918
|
-
function
|
|
18403
|
+
function Qa(t, r) {
|
|
17919
18404
|
t && t.removeAttribute(r);
|
|
17920
18405
|
}
|
|
17921
|
-
function
|
|
18406
|
+
function el(t, r) {
|
|
17922
18407
|
if (!t || !r)
|
|
17923
18408
|
return;
|
|
17924
18409
|
const e = ki(r);
|
|
@@ -17931,7 +18416,7 @@ function Kf(t, r) {
|
|
|
17931
18416
|
if (!t || !r)
|
|
17932
18417
|
return;
|
|
17933
18418
|
const e = ki(r), o = e.get(t);
|
|
17934
|
-
!o || o.size === 0 ? t.removeAttribute(r) :
|
|
18419
|
+
!o || o.size === 0 ? t.removeAttribute(r) : wa(t, r, Fr(o)), e.delete(t);
|
|
17935
18420
|
}
|
|
17936
18421
|
function wo(t, r, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
17937
18422
|
if (!t || !r)
|
|
@@ -17941,12 +18426,12 @@ function wo(t, r, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
|
17941
18426
|
i && a.delete(i), o && a.add(o);
|
|
17942
18427
|
return;
|
|
17943
18428
|
}
|
|
17944
|
-
s && (a ? o || n.delete(t) :
|
|
18429
|
+
s && (a ? o || n.delete(t) : el(t, r), Qa(t, r)), hp(t, r, i);
|
|
17945
18430
|
const l = o || Fr(a);
|
|
17946
|
-
l &&
|
|
18431
|
+
l && wa(t, r, l);
|
|
17947
18432
|
}
|
|
17948
18433
|
function Jf(t, r) {
|
|
17949
|
-
|
|
18434
|
+
el(t, r), Qa(t, r);
|
|
17950
18435
|
}
|
|
17951
18436
|
/**
|
|
17952
18437
|
* @license
|
|
@@ -18414,7 +18899,7 @@ const rm = Q(
|
|
|
18414
18899
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
18415
18900
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
18416
18901
|
*/
|
|
18417
|
-
const
|
|
18902
|
+
const tl = Q(
|
|
18418
18903
|
(t) => class extends t {
|
|
18419
18904
|
static get properties() {
|
|
18420
18905
|
return {
|
|
@@ -18486,7 +18971,7 @@ const rl = Q(
|
|
|
18486
18971
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
18487
18972
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
18488
18973
|
*/
|
|
18489
|
-
const om = (t) => class extends
|
|
18974
|
+
const om = (t) => class extends tl(rm(wt(t))) {
|
|
18490
18975
|
static get properties() {
|
|
18491
18976
|
return {
|
|
18492
18977
|
/**
|
|
@@ -18708,8 +19193,8 @@ const im = Q(
|
|
|
18708
19193
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
18709
19194
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
18710
19195
|
*/
|
|
18711
|
-
const
|
|
18712
|
-
(t) => class extends im(
|
|
19196
|
+
const rl = Q(
|
|
19197
|
+
(t) => class extends im(tl(Za(t))) {
|
|
18713
19198
|
/**
|
|
18714
19199
|
* An array of attributes which participate in the input validation.
|
|
18715
19200
|
* Changing these attributes will cause the input to re-validate.
|
|
@@ -18794,7 +19279,7 @@ const ol = Q(
|
|
|
18794
19279
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
18795
19280
|
*/
|
|
18796
19281
|
const sm = (t) => class extends qf(
|
|
18797
|
-
|
|
19282
|
+
Ja(rl(om(Xf(Rr(t)))))
|
|
18798
19283
|
) {
|
|
18799
19284
|
static get properties() {
|
|
18800
19285
|
return {
|
|
@@ -19174,7 +19659,7 @@ class pm {
|
|
|
19174
19659
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
19175
19660
|
*/
|
|
19176
19661
|
const fm = (t) => class extends dm(
|
|
19177
|
-
wt(
|
|
19662
|
+
wt(Ja(rl(Rr(t))))
|
|
19178
19663
|
) {
|
|
19179
19664
|
static get properties() {
|
|
19180
19665
|
return {
|
|
@@ -19442,7 +19927,7 @@ const fm = (t) => class extends dm(
|
|
|
19442
19927
|
/** @private */
|
|
19443
19928
|
_ios: {
|
|
19444
19929
|
type: Boolean,
|
|
19445
|
-
value:
|
|
19930
|
+
value: za
|
|
19446
19931
|
},
|
|
19447
19932
|
/** @private */
|
|
19448
19933
|
_focusOverlayOnOpen: Boolean,
|
|
@@ -19533,7 +20018,7 @@ const fm = (t) => class extends dm(
|
|
|
19533
20018
|
/** @protected */
|
|
19534
20019
|
ready() {
|
|
19535
20020
|
super.ready(), this.addEventListener("click", this._boundOnClick), this.addController(
|
|
19536
|
-
new
|
|
20021
|
+
new Ka(this._fullscreenMediaQuery, (o) => {
|
|
19537
20022
|
this._fullscreen = o;
|
|
19538
20023
|
})
|
|
19539
20024
|
), this.addController(new pm(this));
|
|
@@ -19590,7 +20075,7 @@ const fm = (t) => class extends dm(
|
|
|
19590
20075
|
*/
|
|
19591
20076
|
__formatDate(e) {
|
|
19592
20077
|
if (this.i18n.formatDate)
|
|
19593
|
-
return this.i18n.formatDate(
|
|
20078
|
+
return this.i18n.formatDate(Ua(e));
|
|
19594
20079
|
}
|
|
19595
20080
|
/**
|
|
19596
20081
|
* Returns true if the current input value satisfies all constraints (if any)
|
|
@@ -19748,12 +20233,12 @@ const fm = (t) => class extends dm(
|
|
|
19748
20233
|
const s = this._nativeInput;
|
|
19749
20234
|
this._noInput && s && (s.blur(), this._overlayContent.focusDateElement());
|
|
19750
20235
|
const n = this._noInput ? e : [s, e];
|
|
19751
|
-
this.__showOthers =
|
|
20236
|
+
this.__showOthers = Fa(n);
|
|
19752
20237
|
}
|
|
19753
20238
|
/** @private */
|
|
19754
20239
|
_getInitialPosition() {
|
|
19755
20240
|
const e = kt(this.initialPosition), o = this._selectedDate || this._overlayContent.initialPosition || e || /* @__PURE__ */ new Date();
|
|
19756
|
-
return e || Wt(o, this._minDate, this._maxDate) ? o :
|
|
20241
|
+
return e || Wt(o, this._minDate, this._maxDate) ? o : Ra(o, [this._minDate, this._maxDate]);
|
|
19757
20242
|
}
|
|
19758
20243
|
/** @private */
|
|
19759
20244
|
_selectParsedOrFocusedDate() {
|
|
@@ -19927,7 +20412,7 @@ const mm = C`
|
|
|
19927
20412
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
19928
20413
|
*/
|
|
19929
20414
|
G("vaadin-date-picker", [hm, mm], { moduleId: "vaadin-date-picker-styles" });
|
|
19930
|
-
class _m extends fm(sm(qe(
|
|
20415
|
+
class _m extends fm(sm(qe(xa(He)))) {
|
|
19931
20416
|
static get is() {
|
|
19932
20417
|
return "vaadin-date-picker";
|
|
19933
20418
|
}
|
|
@@ -19990,7 +20475,7 @@ class _m extends fm(sm(qe(wa(He)))) {
|
|
|
19990
20475
|
new nm(this, (e) => {
|
|
19991
20476
|
this._setInputElement(e), this._setFocusElement(e), this.stateTarget = e, this.ariaTarget = e;
|
|
19992
20477
|
})
|
|
19993
|
-
), this.addController(new am(this.inputElement, this._labelController)), this._tooltipController = new
|
|
20478
|
+
), this.addController(new am(this.inputElement, this._labelController)), this._tooltipController = new Sa(this), this.addController(this._tooltipController), this._tooltipController.setPosition("top"), this._tooltipController.setAriaTarget(this.inputElement), this._tooltipController.setShouldShow((e) => !e.opened), this.shadowRoot.querySelector('[part="toggle-button"]').addEventListener("mousedown", (e) => e.preventDefault()), this.$.overlay.addEventListener("vaadin-overlay-close", this._onVaadinOverlayClose.bind(this));
|
|
19994
20479
|
}
|
|
19995
20480
|
/** @private */
|
|
19996
20481
|
_onVaadinOverlayClose(r) {
|
|
@@ -20008,7 +20493,7 @@ class _m extends fm(sm(qe(wa(He)))) {
|
|
|
20008
20493
|
}
|
|
20009
20494
|
ge(_m);
|
|
20010
20495
|
function gm(t) {
|
|
20011
|
-
|
|
20496
|
+
cl(t, "svelte-7bocol", '.PlayerSelfExclusionTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.PlayerSelfExclusionTitleMobile{font-size:var(--emw--font-size-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerSelfExclusionTitleNone{display:none}.SelfExclusionWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px;border-radius:20px;max-width:760px}.SelfExclusionWrapper.SelfExclusionWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--color-gray-300, #58586B);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.SelfExclusionTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weight-bold, 700)}.SelfExclusionTitle.SelfExclusionTitleMobile{font-size:var(--emw--font-size-large, 20px)}.SelfExclusionDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.SelfExclusionDescription.SelfExclusionDescriptionMobile{font-size:var(--emw--font-size-x-small, 12px);line-height:19px}.SelfExclusionDescription .SelfExclusionDescriptionText a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionConfigWrapper{width:50%;height:100%;position:relative;margin-bottom:var(--emw--spacing-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-radius:var(--emw--border-radius-medium, 20px);cursor:pointer}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px)}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel .SelfExclusionConfigIcon{width:15px;height:15px;fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));transform:rotateZ(-90deg);transition:all 0.5s ease-in-out}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel p{margin:0;font-family:inherit}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel .SelfExclusionConfigIcon.active{transform:rotateZ(0deg)}.SelfExclusionConfigWrapper .SelfExclusionDropDown{max-height:0px;overflow:hidden;box-sizing:border-box;transition:all 0.5s ease-in-out;opacity:0;color:var(--emw--color-gray-300, #58586B);background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:0px 0px var(--emw--border-radius-medium, 20px) var(--emw--border-radius-medium, 20px)}.SelfExclusionConfigWrapper .SelfExclusionDropDown div{padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px);font-size:var(--emw--font-size-x-small, 12px);border-top:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));transition:all 0.5s ease-in-out;font-family:inherit}.SelfExclusionConfigWrapper .SelfExclusionDropDown div:hover{color:var(--emw--color-white, #FFFFFF);background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionConfigWrapper .SelfExclusionDropDown.active{max-height:300px;opacity:1}.SelfExclusionConfigWrapper.SelfExclusionConfigWrapperMobile{width:100%;font-size:var(--emw--font-size-x-small, 12px)}.SelfExclusionConfigWrapper.SelfExclusionConfigWrapperMobile .SelfExclusionConfigLabel .SelfExclusionConfigIcon{width:10px;height:10px}.SelfExclusionDateWrapper{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:16px;position:relative;width:50%}.SelfExclusionDateWrapper label{font-size:var(--emw--font-size-small, 14px);font-weight:300;padding-bottom:5px}.SelfExclusionDateWrapper .SelfExclusionDateInstructions{font-size:var(--emw--font-size-small, 12px);font-weight:300;padding-bottom:5px;line-height:18px}.SelfExclusionDateWrapper .SelfExclusionDateInstructions strong{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionDateWrapper input{font-family:inherit;width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:var(--emw--size-standard, 16px);line-height:18px}.SelfExclusionDateWrapper.SelfExclusionDateWrapperMobile{width:100%}.SelfExclusionRadioWrapper{display:block;position:relative;padding:4px 0 0 0;margin-bottom:16px;font-size:var(--emw--size-standard, 16px);user-select:none;line-height:18px}.SelfExclusionRadioWrapper label{font-size:var(--emw--size-standard, 16px);cursor:pointer;padding-left:35px}.SelfExclusionRadioWrapper input{font-family:inherit;position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SelfExclusionRadioWrapper .Checkmark{position:absolute;top:0;left:0;height:25px;width:25px;background-color:var(--emw--color-gray-100, #E6E6E6);border-radius:50%}.SelfExclusionRadioWrapper input:checked~.Checkmark{background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionRadioWrapper .Checkmark:after{content:"";position:absolute;display:none;left:9px;top:5px;width:5px;height:10px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.SelfExclusionRadioWrapper input:checked~.Checkmark:after{display:block}.SelfExclusionRadioWrapper.SelfExclusionRadioWrapperMobile label{font-family:inherit;font-size:var(--emw--font-size-x-small, 12px)}.SelfExclusionActionButtons{margin-top:40px;width:50%}.SelfExclusionActionButtons .SelfExclusionSave{font-family:var(--emw--button-typography);border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-gray-150, #828282) 80%, black 20%), var(--emw--color-gray-150, #828282), color-mix(in srgb, var(--emw--color-gray-150, #828282) 80%, white 30%));border:2px solid var(--emw--color-black, #000000);border-radius:50px;padding:30px 0;font-size:var(--emw--font-size-large, 20px);color:var(--emw--button-text-color, #FFFFFF)}.SelfExclusionActionButtons .SelfExclusionSave.active{cursor:pointer;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924)}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile{width:100%;grid-template-columns:1fr 1fr}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile .SelfExclusionSave{height:40px;font-size:var(--emw--font-size-small, 14px);padding:20px 0}');
|
|
20012
20497
|
}
|
|
20013
20498
|
function Ks(t, r, e) {
|
|
20014
20499
|
const o = t.slice();
|
|
@@ -20430,13 +20915,13 @@ function wm(t) {
|
|
|
20430
20915
|
i: be,
|
|
20431
20916
|
o: be,
|
|
20432
20917
|
d(S) {
|
|
20433
|
-
S && De(r), Fe && Fe.d(),
|
|
20918
|
+
S && De(r), Fe && Fe.d(), pl(se, S), ue && ue.d(), xe.d(), t[30](null), Yr = !1, gt(Ii);
|
|
20434
20919
|
}
|
|
20435
20920
|
};
|
|
20436
20921
|
}
|
|
20437
20922
|
function Em(t, r, e) {
|
|
20438
20923
|
let o;
|
|
20439
|
-
|
|
20924
|
+
ul(t, Oc, (y) => e(14, o = y));
|
|
20440
20925
|
let { endpoint: i = "", lang: s = "en", operator: n = "Everymatrix", supportemail: a = "", termsconditionslink: l = "", clientstyling: u = "", clientstylingurl: c = "", translationurl: h = "" } = r, d, p, f = [], v = window.navigator.userAgent, P, D, O = "", F = "", K = "selectAPeriod", q = Mc(v) !== "PC", W = !1, ae = !1, ye = !1, pe = !1;
|
|
20441
20926
|
const j = () => {
|
|
20442
20927
|
fetch(h).then((V) => V.json()).then((V) => {
|
|
@@ -20488,7 +20973,7 @@ function Em(t, r, e) {
|
|
|
20488
20973
|
y.preventDefault(), window.postMessage(
|
|
20489
20974
|
{
|
|
20490
20975
|
type: "SetSelfExclusion",
|
|
20491
|
-
|
|
20976
|
+
selfExclusionPeriod: K,
|
|
20492
20977
|
selfExclusionExpiryDate: O
|
|
20493
20978
|
},
|
|
20494
20979
|
window.location.href
|
|
@@ -20519,7 +21004,7 @@ function Em(t, r, e) {
|
|
|
20519
21004
|
);
|
|
20520
21005
|
});
|
|
20521
21006
|
};
|
|
20522
|
-
|
|
21007
|
+
gl(() => () => {
|
|
20523
21008
|
p.removeEventListener("change", x);
|
|
20524
21009
|
});
|
|
20525
21010
|
const z = () => {
|
|
@@ -20580,9 +21065,9 @@ function Em(t, r, e) {
|
|
|
20580
21065
|
me
|
|
20581
21066
|
];
|
|
20582
21067
|
}
|
|
20583
|
-
class Sm extends
|
|
21068
|
+
class Sm extends Dl {
|
|
20584
21069
|
constructor(r) {
|
|
20585
|
-
super(),
|
|
21070
|
+
super(), Tl(
|
|
20586
21071
|
this,
|
|
20587
21072
|
r,
|
|
20588
21073
|
Em,
|
|
@@ -20651,7 +21136,7 @@ class Sm extends kl {
|
|
|
20651
21136
|
this.$$set({ translationurl: r }), we();
|
|
20652
21137
|
}
|
|
20653
21138
|
}
|
|
20654
|
-
|
|
21139
|
+
Pl(Sm, { endpoint: {}, lang: {}, operator: {}, supportemail: {}, termsconditionslink: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
20655
21140
|
export {
|
|
20656
21141
|
Sm as default
|
|
20657
21142
|
};
|