@everymatrix/player-account-controller 1.86.5 → 1.86.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerAccountController-B0hqoPkx.js → PlayerAccountController-B-FbF6lv.js} +1 -1
- package/components/{PlayerAccountController-CtKX05xg.cjs → PlayerAccountController-B3ne-M4k.cjs} +1 -1
- package/components/{PlayerAccountController-CNVC5ehr.js → PlayerAccountController-BzdrbAss.js} +1 -1
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/{checkbox-group-input_16-RYO1eLMo.js → checkbox-group-input_16-C1vqXw8b.js} +673 -611
- package/stencil/{checkbox-group-input_16-BC4v8R1S.js → checkbox-group-input_16-ClY7SdkF.js} +673 -611
- package/stencil/{checkbox-group-input_16-JIjNKsjV.cjs → checkbox-group-input_16-ZIVqyYuv.cjs} +17 -17
- package/stencil/{index-c666b6e6-Byhd6hcm.js → index-c666b6e6-BXZV2FH8.js} +1 -1
- package/stencil/{index-c666b6e6-CF6tkxHf.cjs → index-c666b6e6-CDB6yjQD.cjs} +1 -1
- package/stencil/{index-c666b6e6-Do6y6LKI.js → index-c666b6e6-CHzdeNVa.js} +1 -1
- package/stencil/{pam-change-password-6b535bd5-CeXNndIG.cjs → pam-change-password-6b535bd5-DlpHOrh6.cjs} +1 -1
- package/stencil/{pam-change-password-6b535bd5-CRmngfXe.js → pam-change-password-6b535bd5-RlY6sJwz.js} +1 -1
- package/stencil/{pam-change-password-6b535bd5-BQRVBjrK.js → pam-change-password-6b535bd5-eMVVbYY4.js} +1 -1
- package/stencil/pam-change-password-B-UeKPRd.js +25 -0
- package/stencil/pam-change-password-C_TPveWy.cjs +1 -0
- package/stencil/pam-change-password-Dq-iapq1.js +7 -0
- package/stencil/pam-change-password-D00SLeAW.js +0 -25
- package/stencil/pam-change-password-DYLwctX0.cjs +0 -1
- package/stencil/pam-change-password-DjJxocc2.js +0 -7
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as Z, c as
|
|
2
|
-
import { P as a_ } from "./pam-change-password-6b535bd5-
|
|
1
|
+
import { r as Z, c as A, h as u, g as Dt, H as Co } from "./index-c666b6e6-CHzdeNVa.js";
|
|
2
|
+
import { P as a_ } from "./pam-change-password-6b535bd5-RlY6sJwz.js";
|
|
3
3
|
const Ds = "en", ko = {
|
|
4
4
|
en: {
|
|
5
5
|
dateError: "The selected date should be between {min} and {max}",
|
|
@@ -184,7 +184,7 @@ const Ds = "en", ko = {
|
|
|
184
184
|
});
|
|
185
185
|
}), le = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxMiAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iNiIgY3k9IjYiIHI9IjUuNSIgc3Ryb2tlPSIjOTc5Nzk3Ii8+CjxyZWN0IHg9IjUiIHk9IjUiIHdpZHRoPSIyIiBoZWlnaHQ9IjUiIGZpbGw9IiM5Nzk3OTciLz4KPGNpcmNsZSBjeD0iNiIgY3k9IjMiIHI9IjEiIGZpbGw9IiM5Nzk3OTciLz4KPC9zdmc+Cg==", Vs = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}vaadin-checkbox-group{margin-top:5px;margin-left:40px}.checkboxgroup{font-family:"Roboto";font-style:normal;font-size:15px}.checkboxgroup__wrapper{position:relative}.checkboxgroup__wrapper--flex{display:flex;gap:5px;align-content:flex-start}.checkboxgroup__wrapper--relative{position:relative;display:inline}.checkboxgroup__input{vertical-align:baseline}.checkboxgroup__input[indeterminate]::part(checkbox)::after,.checkboxgroup__input[indeterminate]::part(checkbox),.checkboxgroup__input[checked]::part(checkbox){background-color:var(--emw--login-color-primary, var(--emw--color-primary, #22B04E))}.checkboxgroup__label{font-style:inherit;font-family:inherit;font-weight:400;font-size:16px;color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;padding-left:10px;vertical-align:baseline}.checkboxgroup__label-text{font-size:16px}.checkboxgroup__label a{color:var(--emw--login-color-primary, var(--emw--color-primary, #22B04E))}.checkboxgroup__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.checkboxgroup__tooltip-icon{width:16px;height:auto}.checkboxgroup__tooltip{position:absolute;top:0;right:0;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.checkboxgroup__tooltip.visible{opacity:1}.checkbox__input::part(checkbox){background-color:var(--emw--color-white, #FFFFFF);transform:scale(0.8, 0.8);border-radius:var(--emw--border-radius-small, 2px);box-shadow:0 0px 0px 2px var(--emw--color-gray, #7a7a7a)}.checkbox__input[indeterminate]::part(checkbox),.checkbox__input[checked]::part(checkbox){background-color:var(--emw--login-color-primary, var(--emw--color-primary, #22B04E));box-shadow:none}', Ms = Vs, zs = class {
|
|
186
186
|
constructor(i) {
|
|
187
|
-
Z(this, i), this.sendValidityState =
|
|
187
|
+
Z(this, i), this.sendValidityState = A(this, "sendValidityState"), this.sendInputValue = A(this, "sendInputValue"), this.value = null, this.setClientStyling = () => {
|
|
188
188
|
let e = document.createElement("style");
|
|
189
189
|
e.innerHTML = this.clientStyling, this.stylingContainer.prepend(e);
|
|
190
190
|
}, this.name = void 0, this.displayName = void 0, this.defaultValue = "", this.autofilled = void 0, this.tooltip = void 0, this.options = void 0, this.validation = void 0, this.language = void 0, this.emitValue = void 0, this.clientStyling = "", this.errorMessage = void 0, this.isValid = void 0, this.limitStylingAppends = !1, this.showTooltip = !1, this.selectedValues = [], this.showCheckboxes = !1;
|
|
@@ -240,7 +240,7 @@ const Ds = "en", ko = {
|
|
|
240
240
|
} }, this.options.map((i) => u("vaadin-checkbox", { class: "checkbox__input", name: i.name, value: i.name, label: i.displayName }))));
|
|
241
241
|
}
|
|
242
242
|
get element() {
|
|
243
|
-
return
|
|
243
|
+
return Dt(this);
|
|
244
244
|
}
|
|
245
245
|
static get watchers() {
|
|
246
246
|
return {
|
|
@@ -254,7 +254,7 @@ const Ds = "en", ko = {
|
|
|
254
254
|
zs.style = Ms;
|
|
255
255
|
const Ns = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.checkbox{font-family:"Roboto";font-style:normal;font-size:15px}.checkbox__wrapper{display:flex;gap:10px;position:relative;align-items:baseline}.checkbox__wrapper--relative{position:relative}.checkbox__input[indeterminate]::part(checkbox)::after,.checkbox__input[indeterminate]::part(checkbox),.checkbox__input[checked]::part(checkbox){background-color:var(--emw--login-color-primary, var(--emw--color-primary, #22B04E))}.checkbox__label{font-style:inherit;font-family:inherit;font-weight:400;font-size:16px;color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;padding:0px;vertical-align:baseline}.checkbox__label a{color:var(--emw--login-color-primary, var(--emw--color-primary, #22B04E))}.checkbox__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.checkbox__tooltip-icon{width:16px;height:auto}.checkbox__tooltip{position:absolute;top:0;right:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.checkbox__tooltip.visible{opacity:1}.checkbox__input::part(checkbox){background-color:var(--emw--color-white, #FFFFFF);transform:scale(0.8, 0.8);border-radius:var(--emw--border-radius-small, 2px);box-shadow:0 0px 0px 2px var(--emw--color-gray, #7a7a7a)}.checkbox__input::part(required-indicator)::after{content:"*"}.checkbox__input[indeterminate]::part(checkbox),.checkbox__input[checked]::part(checkbox){background-color:var(--emw--login-color-primary, var(--emw--color-primary, #22B04E));box-shadow:none}', Ls = Ns, Rs = class {
|
|
256
256
|
constructor(i) {
|
|
257
|
-
Z(this, i), this.sendValidityState =
|
|
257
|
+
Z(this, i), this.sendValidityState = A(this, "sendValidityState"), this.sendInputValue = A(this, "sendInputValue"), this.value = "", this.setClientStyling = () => {
|
|
258
258
|
let e = document.createElement("style");
|
|
259
259
|
e.innerHTML = this.clientStyling, this.stylingContainer.prepend(e);
|
|
260
260
|
}, this.name = void 0, this.displayName = void 0, this.defaultValue = "", this.autofilled = void 0, this.tooltip = void 0, this.validation = void 0, this.language = void 0, this.emitValue = void 0, this.clientStyling = "", this.errorMessage = void 0, this.isValid = void 0, this.limitStylingAppends = !1, this.showTooltip = !1;
|
|
@@ -349,7 +349,7 @@ function $s(i, e) {
|
|
|
349
349
|
var t = q(i).getTime(), r = te(e);
|
|
350
350
|
return new Date(t + r);
|
|
351
351
|
}
|
|
352
|
-
function
|
|
352
|
+
function So(i, e) {
|
|
353
353
|
F(2, arguments);
|
|
354
354
|
var t = te(e);
|
|
355
355
|
return $s(i, -t);
|
|
@@ -367,7 +367,7 @@ function Ge(i) {
|
|
|
367
367
|
var e = 1, t = q(i), r = t.getUTCDay(), a = (r < e ? 7 : 0) + r - e;
|
|
368
368
|
return t.setUTCDate(t.getUTCDate() - a), t.setUTCHours(0, 0, 0, 0), t;
|
|
369
369
|
}
|
|
370
|
-
function
|
|
370
|
+
function Io(i) {
|
|
371
371
|
F(1, arguments);
|
|
372
372
|
var e = q(i), t = e.getUTCFullYear(), r = /* @__PURE__ */ new Date(0);
|
|
373
373
|
r.setUTCFullYear(t + 1, 0, 4), r.setUTCHours(0, 0, 0, 0);
|
|
@@ -378,7 +378,7 @@ function So(i) {
|
|
|
378
378
|
}
|
|
379
379
|
function Us(i) {
|
|
380
380
|
F(1, arguments);
|
|
381
|
-
var e =
|
|
381
|
+
var e = Io(i), t = /* @__PURE__ */ new Date(0);
|
|
382
382
|
t.setUTCFullYear(e, 0, 4), t.setUTCHours(0, 0, 0, 0);
|
|
383
383
|
var r = Ge(t);
|
|
384
384
|
return r;
|
|
@@ -410,10 +410,10 @@ function wr(i, e) {
|
|
|
410
410
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
411
411
|
var y = /* @__PURE__ */ new Date(0);
|
|
412
412
|
y.setUTCFullYear(c + 1, 0, m), y.setUTCHours(0, 0, 0, 0);
|
|
413
|
-
var N = Ve(y, e),
|
|
414
|
-
|
|
415
|
-
var
|
|
416
|
-
return h.getTime() >= N.getTime() ? c + 1 : h.getTime() >=
|
|
413
|
+
var N = Ve(y, e), O = /* @__PURE__ */ new Date(0);
|
|
414
|
+
O.setUTCFullYear(c, 0, m), O.setUTCHours(0, 0, 0, 0);
|
|
415
|
+
var V = Ve(O, e);
|
|
416
|
+
return h.getTime() >= N.getTime() ? c + 1 : h.getTime() >= V.getTime() ? c : c - 1;
|
|
417
417
|
}
|
|
418
418
|
function Ws(i, e) {
|
|
419
419
|
var t, r, a, o, n, s, l, d;
|
|
@@ -429,7 +429,7 @@ function Po(i, e) {
|
|
|
429
429
|
var t = q(i), r = Ve(t, e).getTime() - Ws(t, e).getTime();
|
|
430
430
|
return Math.round(r / Ys) + 1;
|
|
431
431
|
}
|
|
432
|
-
function
|
|
432
|
+
function M(i, e) {
|
|
433
433
|
for (var t = i < 0 ? "-" : "", r = Math.abs(i).toString(); r.length < e; )
|
|
434
434
|
r = "0" + r;
|
|
435
435
|
return t + r;
|
|
@@ -438,16 +438,16 @@ var Gs = {
|
|
|
438
438
|
// Year
|
|
439
439
|
y: function(e, t) {
|
|
440
440
|
var r = e.getUTCFullYear(), a = r > 0 ? r : 1 - r;
|
|
441
|
-
return
|
|
441
|
+
return M(t === "yy" ? a % 100 : a, t.length);
|
|
442
442
|
},
|
|
443
443
|
// Month
|
|
444
444
|
M: function(e, t) {
|
|
445
445
|
var r = e.getUTCMonth();
|
|
446
|
-
return t === "M" ? String(r + 1) :
|
|
446
|
+
return t === "M" ? String(r + 1) : M(r + 1, 2);
|
|
447
447
|
},
|
|
448
448
|
// Day of the month
|
|
449
449
|
d: function(e, t) {
|
|
450
|
-
return
|
|
450
|
+
return M(e.getUTCDate(), t.length);
|
|
451
451
|
},
|
|
452
452
|
// AM or PM
|
|
453
453
|
a: function(e, t) {
|
|
@@ -467,24 +467,24 @@ var Gs = {
|
|
|
467
467
|
},
|
|
468
468
|
// Hour [1-12]
|
|
469
469
|
h: function(e, t) {
|
|
470
|
-
return
|
|
470
|
+
return M(e.getUTCHours() % 12 || 12, t.length);
|
|
471
471
|
},
|
|
472
472
|
// Hour [0-23]
|
|
473
473
|
H: function(e, t) {
|
|
474
|
-
return
|
|
474
|
+
return M(e.getUTCHours(), t.length);
|
|
475
475
|
},
|
|
476
476
|
// Minute
|
|
477
477
|
m: function(e, t) {
|
|
478
|
-
return
|
|
478
|
+
return M(e.getUTCMinutes(), t.length);
|
|
479
479
|
},
|
|
480
480
|
// Second
|
|
481
481
|
s: function(e, t) {
|
|
482
|
-
return
|
|
482
|
+
return M(e.getUTCSeconds(), t.length);
|
|
483
483
|
},
|
|
484
484
|
// Fraction of second
|
|
485
485
|
S: function(e, t) {
|
|
486
486
|
var r = t.length, a = e.getUTCMilliseconds(), o = Math.floor(a * Math.pow(10, r - 3));
|
|
487
|
-
return
|
|
487
|
+
return M(o, t.length);
|
|
488
488
|
}
|
|
489
489
|
};
|
|
490
490
|
const xe = Gs;
|
|
@@ -532,16 +532,16 @@ var Fe = {
|
|
|
532
532
|
var o = wr(e, a), n = o > 0 ? o : 1 - o;
|
|
533
533
|
if (t === "YY") {
|
|
534
534
|
var s = n % 100;
|
|
535
|
-
return
|
|
535
|
+
return M(s, 2);
|
|
536
536
|
}
|
|
537
537
|
return t === "Yo" ? r.ordinalNumber(n, {
|
|
538
538
|
unit: "year"
|
|
539
|
-
}) :
|
|
539
|
+
}) : M(n, t.length);
|
|
540
540
|
},
|
|
541
541
|
// ISO week-numbering year
|
|
542
542
|
R: function(e, t) {
|
|
543
|
-
var r =
|
|
544
|
-
return
|
|
543
|
+
var r = Io(e);
|
|
544
|
+
return M(r, t.length);
|
|
545
545
|
},
|
|
546
546
|
// Extended year. This is a single number designating the year of this calendar system.
|
|
547
547
|
// The main difference between `y` and `u` localizers are B.C. years:
|
|
@@ -554,7 +554,7 @@ var Fe = {
|
|
|
554
554
|
// while `uu` pads single digit years to 2 characters and returns other years unchanged.
|
|
555
555
|
u: function(e, t) {
|
|
556
556
|
var r = e.getUTCFullYear();
|
|
557
|
-
return
|
|
557
|
+
return M(r, t.length);
|
|
558
558
|
},
|
|
559
559
|
// Quarter
|
|
560
560
|
Q: function(e, t, r) {
|
|
@@ -563,7 +563,7 @@ var Fe = {
|
|
|
563
563
|
case "Q":
|
|
564
564
|
return String(a);
|
|
565
565
|
case "QQ":
|
|
566
|
-
return
|
|
566
|
+
return M(a, 2);
|
|
567
567
|
case "Qo":
|
|
568
568
|
return r.ordinalNumber(a, {
|
|
569
569
|
unit: "quarter"
|
|
@@ -593,7 +593,7 @@ var Fe = {
|
|
|
593
593
|
case "q":
|
|
594
594
|
return String(a);
|
|
595
595
|
case "qq":
|
|
596
|
-
return
|
|
596
|
+
return M(a, 2);
|
|
597
597
|
case "qo":
|
|
598
598
|
return r.ordinalNumber(a, {
|
|
599
599
|
unit: "quarter"
|
|
@@ -652,7 +652,7 @@ var Fe = {
|
|
|
652
652
|
case "L":
|
|
653
653
|
return String(a + 1);
|
|
654
654
|
case "LL":
|
|
655
|
-
return
|
|
655
|
+
return M(a + 1, 2);
|
|
656
656
|
case "Lo":
|
|
657
657
|
return r.ordinalNumber(a + 1, {
|
|
658
658
|
unit: "month"
|
|
@@ -680,14 +680,14 @@ var Fe = {
|
|
|
680
680
|
var o = Po(e, a);
|
|
681
681
|
return t === "wo" ? r.ordinalNumber(o, {
|
|
682
682
|
unit: "week"
|
|
683
|
-
}) :
|
|
683
|
+
}) : M(o, t.length);
|
|
684
684
|
},
|
|
685
685
|
// ISO week of year
|
|
686
686
|
I: function(e, t, r) {
|
|
687
687
|
var a = To(e);
|
|
688
688
|
return t === "Io" ? r.ordinalNumber(a, {
|
|
689
689
|
unit: "week"
|
|
690
|
-
}) :
|
|
690
|
+
}) : M(a, t.length);
|
|
691
691
|
},
|
|
692
692
|
// Day of the month
|
|
693
693
|
d: function(e, t, r) {
|
|
@@ -700,7 +700,7 @@ var Fe = {
|
|
|
700
700
|
var a = Bs(e);
|
|
701
701
|
return t === "Do" ? r.ordinalNumber(a, {
|
|
702
702
|
unit: "dayOfYear"
|
|
703
|
-
}) :
|
|
703
|
+
}) : M(a, t.length);
|
|
704
704
|
},
|
|
705
705
|
// Day of week
|
|
706
706
|
E: function(e, t, r) {
|
|
@@ -738,7 +738,7 @@ var Fe = {
|
|
|
738
738
|
case "e":
|
|
739
739
|
return String(n);
|
|
740
740
|
case "ee":
|
|
741
|
-
return
|
|
741
|
+
return M(n, 2);
|
|
742
742
|
case "eo":
|
|
743
743
|
return r.ordinalNumber(n, {
|
|
744
744
|
unit: "day"
|
|
@@ -773,7 +773,7 @@ var Fe = {
|
|
|
773
773
|
case "c":
|
|
774
774
|
return String(n);
|
|
775
775
|
case "cc":
|
|
776
|
-
return
|
|
776
|
+
return M(n, t.length);
|
|
777
777
|
case "co":
|
|
778
778
|
return r.ordinalNumber(n, {
|
|
779
779
|
unit: "day"
|
|
@@ -808,7 +808,7 @@ var Fe = {
|
|
|
808
808
|
case "i":
|
|
809
809
|
return String(o);
|
|
810
810
|
case "ii":
|
|
811
|
-
return
|
|
811
|
+
return M(o, t.length);
|
|
812
812
|
case "io":
|
|
813
813
|
return r.ordinalNumber(o, {
|
|
814
814
|
unit: "day"
|
|
@@ -937,14 +937,14 @@ var Fe = {
|
|
|
937
937
|
var a = e.getUTCHours() % 12;
|
|
938
938
|
return t === "Ko" ? r.ordinalNumber(a, {
|
|
939
939
|
unit: "hour"
|
|
940
|
-
}) :
|
|
940
|
+
}) : M(a, t.length);
|
|
941
941
|
},
|
|
942
942
|
// Hour [1-24]
|
|
943
943
|
k: function(e, t, r) {
|
|
944
944
|
var a = e.getUTCHours();
|
|
945
945
|
return a === 0 && (a = 24), t === "ko" ? r.ordinalNumber(a, {
|
|
946
946
|
unit: "hour"
|
|
947
|
-
}) :
|
|
947
|
+
}) : M(a, t.length);
|
|
948
948
|
},
|
|
949
949
|
// Minute
|
|
950
950
|
m: function(e, t, r) {
|
|
@@ -1023,12 +1023,12 @@ var Fe = {
|
|
|
1023
1023
|
// Seconds timestamp
|
|
1024
1024
|
t: function(e, t, r, a) {
|
|
1025
1025
|
var o = a._originalDate || e, n = Math.floor(o.getTime() / 1e3);
|
|
1026
|
-
return
|
|
1026
|
+
return M(n, t.length);
|
|
1027
1027
|
},
|
|
1028
1028
|
// Milliseconds timestamp
|
|
1029
1029
|
T: function(e, t, r, a) {
|
|
1030
1030
|
var o = a._originalDate || e, n = o.getTime();
|
|
1031
|
-
return
|
|
1031
|
+
return M(n, t.length);
|
|
1032
1032
|
}
|
|
1033
1033
|
};
|
|
1034
1034
|
function fa(i, e) {
|
|
@@ -1036,17 +1036,17 @@ function fa(i, e) {
|
|
|
1036
1036
|
if (o === 0)
|
|
1037
1037
|
return t + String(a);
|
|
1038
1038
|
var n = e;
|
|
1039
|
-
return t + String(a) + n +
|
|
1039
|
+
return t + String(a) + n + M(o, 2);
|
|
1040
1040
|
}
|
|
1041
1041
|
function _a(i, e) {
|
|
1042
1042
|
if (i % 60 === 0) {
|
|
1043
1043
|
var t = i > 0 ? "-" : "+";
|
|
1044
|
-
return t +
|
|
1044
|
+
return t + M(Math.abs(i) / 60, 2);
|
|
1045
1045
|
}
|
|
1046
1046
|
return Pe(i, e);
|
|
1047
1047
|
}
|
|
1048
1048
|
function Pe(i, e) {
|
|
1049
|
-
var t = e || "", r = i > 0 ? "-" : "+", a = Math.abs(i), o =
|
|
1049
|
+
var t = e || "", r = i > 0 ? "-" : "+", a = Math.abs(i), o = M(Math.floor(a / 60), 2), n = M(a % 60, 2);
|
|
1050
1050
|
return r + o + t + n;
|
|
1051
1051
|
}
|
|
1052
1052
|
const Xs = Ks;
|
|
@@ -1123,7 +1123,7 @@ var va = function(e, t) {
|
|
|
1123
1123
|
p: Ao,
|
|
1124
1124
|
P: Qs
|
|
1125
1125
|
};
|
|
1126
|
-
const
|
|
1126
|
+
const Gi = Js;
|
|
1127
1127
|
function Do(i) {
|
|
1128
1128
|
var e = new Date(Date.UTC(i.getFullYear(), i.getMonth(), i.getDate(), i.getHours(), i.getMinutes(), i.getSeconds(), i.getMilliseconds()));
|
|
1129
1129
|
return e.setUTCFullYear(i.getFullYear()), i.getTime() - e.getTime();
|
|
@@ -1135,7 +1135,7 @@ function Oo(i) {
|
|
|
1135
1135
|
function Vo(i) {
|
|
1136
1136
|
return el.indexOf(i) !== -1;
|
|
1137
1137
|
}
|
|
1138
|
-
function
|
|
1138
|
+
function ei(i, e, t) {
|
|
1139
1139
|
if (i === "YYYY")
|
|
1140
1140
|
throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e, "`) for formatting years to the input `").concat(t, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
|
|
1141
1141
|
if (i === "YY")
|
|
@@ -1212,7 +1212,7 @@ var tl = {
|
|
|
1212
1212
|
return typeof o == "string" ? a = o : t === 1 ? a = o.one : a = o.other.replace("{{count}}", t.toString()), r != null && r.addSuffix ? r.comparison && r.comparison > 0 ? "in " + a : a + " ago" : a;
|
|
1213
1213
|
};
|
|
1214
1214
|
const rl = il;
|
|
1215
|
-
function
|
|
1215
|
+
function Oi(i) {
|
|
1216
1216
|
return function() {
|
|
1217
1217
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.width ? String(e.width) : i.defaultWidth, r = i.formats[t] || i.formats[i.defaultWidth];
|
|
1218
1218
|
return r;
|
|
@@ -1234,15 +1234,15 @@ var al = {
|
|
|
1234
1234
|
medium: "{{date}}, {{time}}",
|
|
1235
1235
|
short: "{{date}}, {{time}}"
|
|
1236
1236
|
}, sl = {
|
|
1237
|
-
date:
|
|
1237
|
+
date: Oi({
|
|
1238
1238
|
formats: al,
|
|
1239
1239
|
defaultWidth: "full"
|
|
1240
1240
|
}),
|
|
1241
|
-
time:
|
|
1241
|
+
time: Oi({
|
|
1242
1242
|
formats: ol,
|
|
1243
1243
|
defaultWidth: "full"
|
|
1244
1244
|
}),
|
|
1245
|
-
dateTime:
|
|
1245
|
+
dateTime: Oi({
|
|
1246
1246
|
formats: nl,
|
|
1247
1247
|
defaultWidth: "full"
|
|
1248
1248
|
})
|
|
@@ -1438,11 +1438,11 @@ function Cl(i) {
|
|
|
1438
1438
|
};
|
|
1439
1439
|
};
|
|
1440
1440
|
}
|
|
1441
|
-
var kl = /^(\d+)(th|st|nd|rd)?/i, El = /\d+/i,
|
|
1441
|
+
var kl = /^(\d+)(th|st|nd|rd)?/i, El = /\d+/i, Sl = {
|
|
1442
1442
|
narrow: /^(b|a)/i,
|
|
1443
1443
|
abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
|
|
1444
1444
|
wide: /^(before christ|before common era|anno domini|common era)/i
|
|
1445
|
-
},
|
|
1445
|
+
}, Il = {
|
|
1446
1446
|
any: [/^b/i, /^(a|c)/i]
|
|
1447
1447
|
}, Tl = {
|
|
1448
1448
|
narrow: /^[1234]/i,
|
|
@@ -1488,9 +1488,9 @@ var kl = /^(\d+)(th|st|nd|rd)?/i, El = /\d+/i, Il = {
|
|
|
1488
1488
|
}
|
|
1489
1489
|
}),
|
|
1490
1490
|
era: lt({
|
|
1491
|
-
matchPatterns:
|
|
1491
|
+
matchPatterns: Sl,
|
|
1492
1492
|
defaultMatchWidth: "wide",
|
|
1493
|
-
parsePatterns:
|
|
1493
|
+
parsePatterns: Il,
|
|
1494
1494
|
defaultParseWidth: "any"
|
|
1495
1495
|
}),
|
|
1496
1496
|
quarter: lt({
|
|
@@ -1537,12 +1537,12 @@ var Rl = {
|
|
|
1537
1537
|
const Mo = Rl;
|
|
1538
1538
|
var Fl = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, $l = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Hl = /^'([^]*?)'?$/, Bl = /''/g, Ul = /[a-zA-Z]/;
|
|
1539
1539
|
function ga(i, e, t) {
|
|
1540
|
-
var r, a, o, n, s, l, d, h, c, p, m, y, N,
|
|
1540
|
+
var r, a, o, n, s, l, d, h, c, p, m, y, N, O;
|
|
1541
1541
|
F(2, arguments);
|
|
1542
|
-
var
|
|
1542
|
+
var V = String(e), T = Ze(), j = (r = (a = void 0) !== null && a !== void 0 ? a : T.locale) !== null && r !== void 0 ? r : Mo, W = te((o = (n = (s = (l = void 0) !== null && l !== void 0 ? l : void 0) !== null && s !== void 0 ? s : T.firstWeekContainsDate) !== null && n !== void 0 ? n : (d = T.locale) === null || d === void 0 || (h = d.options) === null || h === void 0 ? void 0 : h.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
|
|
1543
1543
|
if (!(W >= 1 && W <= 7))
|
|
1544
1544
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
1545
|
-
var de = te((c = (p = (m = (y = void 0) !== null && y !== void 0 ? y : void 0) !== null && m !== void 0 ? m : T.weekStartsOn) !== null && p !== void 0 ? p : (N = T.locale) === null || N === void 0 || (
|
|
1545
|
+
var de = te((c = (p = (m = (y = void 0) !== null && y !== void 0 ? y : void 0) !== null && m !== void 0 ? m : T.weekStartsOn) !== null && p !== void 0 ? p : (N = T.locale) === null || N === void 0 || (O = N.options) === null || O === void 0 ? void 0 : O.weekStartsOn) !== null && c !== void 0 ? c : 0);
|
|
1546
1546
|
if (!(de >= 0 && de <= 6))
|
|
1547
1547
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
1548
1548
|
if (!j.localize)
|
|
@@ -1552,16 +1552,16 @@ function ga(i, e, t) {
|
|
|
1552
1552
|
var we = q(i);
|
|
1553
1553
|
if (!Eo(we))
|
|
1554
1554
|
throw new RangeError("Invalid time value");
|
|
1555
|
-
var rt = Do(we), at =
|
|
1555
|
+
var rt = Do(we), at = So(we, rt), ot = {
|
|
1556
1556
|
firstWeekContainsDate: W,
|
|
1557
1557
|
weekStartsOn: de,
|
|
1558
1558
|
locale: j,
|
|
1559
1559
|
_originalDate: we
|
|
1560
|
-
},
|
|
1560
|
+
}, Pi = V.match($l).map(function(K) {
|
|
1561
1561
|
var ie = K[0];
|
|
1562
1562
|
if (ie === "p" || ie === "P") {
|
|
1563
|
-
var
|
|
1564
|
-
return
|
|
1563
|
+
var Ie = Gi[ie];
|
|
1564
|
+
return Ie(K, j.formatLong);
|
|
1565
1565
|
}
|
|
1566
1566
|
return K;
|
|
1567
1567
|
}).join("").match(Fl).map(function(K) {
|
|
@@ -1570,14 +1570,14 @@ function ga(i, e, t) {
|
|
|
1570
1570
|
var ie = K[0];
|
|
1571
1571
|
if (ie === "'")
|
|
1572
1572
|
return ql(K);
|
|
1573
|
-
var
|
|
1574
|
-
if (
|
|
1575
|
-
return Vo(K) &&
|
|
1573
|
+
var Ie = Xs[ie];
|
|
1574
|
+
if (Ie)
|
|
1575
|
+
return Vo(K) && ei(K, e, String(i)), Oo(K) && ei(K, e, String(i)), Ie(at, K, j.localize, ot);
|
|
1576
1576
|
if (ie.match(Ul))
|
|
1577
1577
|
throw new RangeError("Format string contains an unescaped latin alphabet character `" + ie + "`");
|
|
1578
1578
|
return K;
|
|
1579
1579
|
}).join("");
|
|
1580
|
-
return
|
|
1580
|
+
return Pi;
|
|
1581
1581
|
}
|
|
1582
1582
|
function ql(i) {
|
|
1583
1583
|
var e = i.match(Hl);
|
|
@@ -1657,12 +1657,12 @@ function v(i) {
|
|
|
1657
1657
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1658
1658
|
return i;
|
|
1659
1659
|
}
|
|
1660
|
-
function
|
|
1661
|
-
return
|
|
1660
|
+
function Ki(i, e) {
|
|
1661
|
+
return Ki = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, r) {
|
|
1662
1662
|
return t.__proto__ = r, t;
|
|
1663
|
-
},
|
|
1663
|
+
}, Ki(i, e);
|
|
1664
1664
|
}
|
|
1665
|
-
function
|
|
1665
|
+
function S(i, e) {
|
|
1666
1666
|
if (typeof e != "function" && e !== null)
|
|
1667
1667
|
throw new TypeError("Super expression must either be null or a function");
|
|
1668
1668
|
i.prototype = Object.create(e && e.prototype, {
|
|
@@ -1673,12 +1673,12 @@ function I(i, e) {
|
|
|
1673
1673
|
}
|
|
1674
1674
|
}), Object.defineProperty(i, "prototype", {
|
|
1675
1675
|
writable: !1
|
|
1676
|
-
}), e &&
|
|
1676
|
+
}), e && Ki(i, e);
|
|
1677
1677
|
}
|
|
1678
|
-
function
|
|
1679
|
-
return
|
|
1678
|
+
function ti(i) {
|
|
1679
|
+
return ti = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(e) {
|
|
1680
1680
|
return e.__proto__ || Object.getPrototypeOf(e);
|
|
1681
|
-
},
|
|
1681
|
+
}, ti(i);
|
|
1682
1682
|
}
|
|
1683
1683
|
function zo() {
|
|
1684
1684
|
try {
|
|
@@ -1697,12 +1697,12 @@ function Yl(i, e) {
|
|
|
1697
1697
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
1698
1698
|
return v(i);
|
|
1699
1699
|
}
|
|
1700
|
-
function
|
|
1700
|
+
function I(i) {
|
|
1701
1701
|
var e = zo();
|
|
1702
1702
|
return function() {
|
|
1703
|
-
var t, r =
|
|
1703
|
+
var t, r = ti(i);
|
|
1704
1704
|
if (e) {
|
|
1705
|
-
var a =
|
|
1705
|
+
var a = ti(this).constructor;
|
|
1706
1706
|
t = Reflect.construct(r, arguments, a);
|
|
1707
1707
|
} else
|
|
1708
1708
|
t = r.apply(this, arguments);
|
|
@@ -1759,8 +1759,8 @@ var Xl = 10, Lo = /* @__PURE__ */ function() {
|
|
|
1759
1759
|
}
|
|
1760
1760
|
}]), i;
|
|
1761
1761
|
}(), Ql = /* @__PURE__ */ function(i) {
|
|
1762
|
-
|
|
1763
|
-
var e =
|
|
1762
|
+
S(t, i);
|
|
1763
|
+
var e = I(t);
|
|
1764
1764
|
function t(r, a, o, n, s) {
|
|
1765
1765
|
var l;
|
|
1766
1766
|
return x(this, t), l = e.call(this), l.value = r, l.validateValue = a, l.setValue = o, l.priority = n, s && (l.subPriority = s), l;
|
|
@@ -1777,8 +1777,8 @@ var Xl = 10, Lo = /* @__PURE__ */ function() {
|
|
|
1777
1777
|
}
|
|
1778
1778
|
}]), t;
|
|
1779
1779
|
}(Lo), Jl = /* @__PURE__ */ function(i) {
|
|
1780
|
-
|
|
1781
|
-
var e =
|
|
1780
|
+
S(t, i);
|
|
1781
|
+
var e = I(t);
|
|
1782
1782
|
function t() {
|
|
1783
1783
|
var r;
|
|
1784
1784
|
x(this, t);
|
|
@@ -1795,7 +1795,7 @@ var Xl = 10, Lo = /* @__PURE__ */ function() {
|
|
|
1795
1795
|
return n.setFullYear(a.getUTCFullYear(), a.getUTCMonth(), a.getUTCDate()), n.setHours(a.getUTCHours(), a.getUTCMinutes(), a.getUTCSeconds(), a.getUTCMilliseconds()), n;
|
|
1796
1796
|
}
|
|
1797
1797
|
}]), t;
|
|
1798
|
-
}(Lo),
|
|
1798
|
+
}(Lo), D = /* @__PURE__ */ function() {
|
|
1799
1799
|
function i() {
|
|
1800
1800
|
x(this, i), _(this, "incompatibleTokens", void 0), _(this, "priority", void 0), _(this, "subPriority", void 0);
|
|
1801
1801
|
}
|
|
@@ -1815,8 +1815,8 @@ var Xl = 10, Lo = /* @__PURE__ */ function() {
|
|
|
1815
1815
|
}
|
|
1816
1816
|
}]), i;
|
|
1817
1817
|
}(), Zl = /* @__PURE__ */ function(i) {
|
|
1818
|
-
|
|
1819
|
-
var e =
|
|
1818
|
+
S(t, i);
|
|
1819
|
+
var e = I(t);
|
|
1820
1820
|
function t() {
|
|
1821
1821
|
var r;
|
|
1822
1822
|
x(this, t);
|
|
@@ -1857,7 +1857,7 @@ var Xl = 10, Lo = /* @__PURE__ */ function() {
|
|
|
1857
1857
|
return o.era = n, a.setUTCFullYear(n, 0, 1), a.setUTCHours(0, 0, 0, 0), a;
|
|
1858
1858
|
}
|
|
1859
1859
|
}]), t;
|
|
1860
|
-
}(
|
|
1860
|
+
}(D), ed = 6e4, td = 36e5, id = 1e3, H = {
|
|
1861
1861
|
month: /^(1[0-2]|0?\d)/,
|
|
1862
1862
|
// 0 to 12
|
|
1863
1863
|
date: /^(3[0-1]|[0-2]?\d)/,
|
|
@@ -1947,7 +1947,7 @@ function $(i, e) {
|
|
|
1947
1947
|
return R(new RegExp("^\\d{1," + i + "}"), e);
|
|
1948
1948
|
}
|
|
1949
1949
|
}
|
|
1950
|
-
function
|
|
1950
|
+
function ii(i, e) {
|
|
1951
1951
|
switch (i) {
|
|
1952
1952
|
case 1:
|
|
1953
1953
|
return R(H.singleDigitSigned, e);
|
|
@@ -1992,8 +1992,8 @@ function $o(i) {
|
|
|
1992
1992
|
return i % 400 === 0 || i % 4 === 0 && i % 100 !== 0;
|
|
1993
1993
|
}
|
|
1994
1994
|
var rd = /* @__PURE__ */ function(i) {
|
|
1995
|
-
|
|
1996
|
-
var e =
|
|
1995
|
+
S(t, i);
|
|
1996
|
+
var e = I(t);
|
|
1997
1997
|
function t() {
|
|
1998
1998
|
var r;
|
|
1999
1999
|
x(this, t);
|
|
@@ -2038,9 +2038,9 @@ var rd = /* @__PURE__ */ function(i) {
|
|
|
2038
2038
|
return a.setUTCFullYear(d, 0, 1), a.setUTCHours(0, 0, 0, 0), a;
|
|
2039
2039
|
}
|
|
2040
2040
|
}]), t;
|
|
2041
|
-
}(
|
|
2042
|
-
|
|
2043
|
-
var e =
|
|
2041
|
+
}(D), ad = /* @__PURE__ */ function(i) {
|
|
2042
|
+
S(t, i);
|
|
2043
|
+
var e = I(t);
|
|
2044
2044
|
function t() {
|
|
2045
2045
|
var r;
|
|
2046
2046
|
x(this, t);
|
|
@@ -2085,9 +2085,9 @@ var rd = /* @__PURE__ */ function(i) {
|
|
|
2085
2085
|
return a.setUTCFullYear(h, 0, s.firstWeekContainsDate), a.setUTCHours(0, 0, 0, 0), Ve(a, s);
|
|
2086
2086
|
}
|
|
2087
2087
|
}]), t;
|
|
2088
|
-
}(
|
|
2089
|
-
|
|
2090
|
-
var e =
|
|
2088
|
+
}(D), od = /* @__PURE__ */ function(i) {
|
|
2089
|
+
S(t, i);
|
|
2090
|
+
var e = I(t);
|
|
2091
2091
|
function t() {
|
|
2092
2092
|
var r;
|
|
2093
2093
|
x(this, t);
|
|
@@ -2098,7 +2098,7 @@ var rd = /* @__PURE__ */ function(i) {
|
|
|
2098
2098
|
return C(t, [{
|
|
2099
2099
|
key: "parse",
|
|
2100
2100
|
value: function(a, o) {
|
|
2101
|
-
return
|
|
2101
|
+
return ii(o === "R" ? 4 : o.length, a);
|
|
2102
2102
|
}
|
|
2103
2103
|
}, {
|
|
2104
2104
|
key: "set",
|
|
@@ -2107,9 +2107,9 @@ var rd = /* @__PURE__ */ function(i) {
|
|
|
2107
2107
|
return s.setUTCFullYear(n, 0, 4), s.setUTCHours(0, 0, 0, 0), Ge(s);
|
|
2108
2108
|
}
|
|
2109
2109
|
}]), t;
|
|
2110
|
-
}(
|
|
2111
|
-
|
|
2112
|
-
var e =
|
|
2110
|
+
}(D), nd = /* @__PURE__ */ function(i) {
|
|
2111
|
+
S(t, i);
|
|
2112
|
+
var e = I(t);
|
|
2113
2113
|
function t() {
|
|
2114
2114
|
var r;
|
|
2115
2115
|
x(this, t);
|
|
@@ -2120,7 +2120,7 @@ var rd = /* @__PURE__ */ function(i) {
|
|
|
2120
2120
|
return C(t, [{
|
|
2121
2121
|
key: "parse",
|
|
2122
2122
|
value: function(a, o) {
|
|
2123
|
-
return
|
|
2123
|
+
return ii(o === "u" ? 4 : o.length, a);
|
|
2124
2124
|
}
|
|
2125
2125
|
}, {
|
|
2126
2126
|
key: "set",
|
|
@@ -2128,9 +2128,9 @@ var rd = /* @__PURE__ */ function(i) {
|
|
|
2128
2128
|
return a.setUTCFullYear(n, 0, 1), a.setUTCHours(0, 0, 0, 0), a;
|
|
2129
2129
|
}
|
|
2130
2130
|
}]), t;
|
|
2131
|
-
}(
|
|
2132
|
-
|
|
2133
|
-
var e =
|
|
2131
|
+
}(D), sd = /* @__PURE__ */ function(i) {
|
|
2132
|
+
S(t, i);
|
|
2133
|
+
var e = I(t);
|
|
2134
2134
|
function t() {
|
|
2135
2135
|
var r;
|
|
2136
2136
|
x(this, t);
|
|
@@ -2187,9 +2187,9 @@ var rd = /* @__PURE__ */ function(i) {
|
|
|
2187
2187
|
return a.setUTCMonth((n - 1) * 3, 1), a.setUTCHours(0, 0, 0, 0), a;
|
|
2188
2188
|
}
|
|
2189
2189
|
}]), t;
|
|
2190
|
-
}(
|
|
2191
|
-
|
|
2192
|
-
var e =
|
|
2190
|
+
}(D), ld = /* @__PURE__ */ function(i) {
|
|
2191
|
+
S(t, i);
|
|
2192
|
+
var e = I(t);
|
|
2193
2193
|
function t() {
|
|
2194
2194
|
var r;
|
|
2195
2195
|
x(this, t);
|
|
@@ -2246,9 +2246,9 @@ var rd = /* @__PURE__ */ function(i) {
|
|
|
2246
2246
|
return a.setUTCMonth((n - 1) * 3, 1), a.setUTCHours(0, 0, 0, 0), a;
|
|
2247
2247
|
}
|
|
2248
2248
|
}]), t;
|
|
2249
|
-
}(
|
|
2250
|
-
|
|
2251
|
-
var e =
|
|
2249
|
+
}(D), dd = /* @__PURE__ */ function(i) {
|
|
2250
|
+
S(t, i);
|
|
2251
|
+
var e = I(t);
|
|
2252
2252
|
function t() {
|
|
2253
2253
|
var r;
|
|
2254
2254
|
x(this, t);
|
|
@@ -2309,9 +2309,9 @@ var rd = /* @__PURE__ */ function(i) {
|
|
|
2309
2309
|
return a.setUTCMonth(n, 1), a.setUTCHours(0, 0, 0, 0), a;
|
|
2310
2310
|
}
|
|
2311
2311
|
}]), t;
|
|
2312
|
-
}(
|
|
2313
|
-
|
|
2314
|
-
var e =
|
|
2312
|
+
}(D), hd = /* @__PURE__ */ function(i) {
|
|
2313
|
+
S(t, i);
|
|
2314
|
+
var e = I(t);
|
|
2315
2315
|
function t() {
|
|
2316
2316
|
var r;
|
|
2317
2317
|
x(this, t);
|
|
@@ -2372,15 +2372,15 @@ var rd = /* @__PURE__ */ function(i) {
|
|
|
2372
2372
|
return a.setUTCMonth(n, 1), a.setUTCHours(0, 0, 0, 0), a;
|
|
2373
2373
|
}
|
|
2374
2374
|
}]), t;
|
|
2375
|
-
}(
|
|
2375
|
+
}(D);
|
|
2376
2376
|
function cd(i, e, t) {
|
|
2377
2377
|
F(2, arguments);
|
|
2378
2378
|
var r = q(i), a = te(e), o = Po(r, t) - a;
|
|
2379
2379
|
return r.setUTCDate(r.getUTCDate() - o * 7), r;
|
|
2380
2380
|
}
|
|
2381
2381
|
var ud = /* @__PURE__ */ function(i) {
|
|
2382
|
-
|
|
2383
|
-
var e =
|
|
2382
|
+
S(t, i);
|
|
2383
|
+
var e = I(t);
|
|
2384
2384
|
function t() {
|
|
2385
2385
|
var r;
|
|
2386
2386
|
x(this, t);
|
|
@@ -2413,15 +2413,15 @@ var ud = /* @__PURE__ */ function(i) {
|
|
|
2413
2413
|
return Ve(cd(a, n, s), s);
|
|
2414
2414
|
}
|
|
2415
2415
|
}]), t;
|
|
2416
|
-
}(
|
|
2416
|
+
}(D);
|
|
2417
2417
|
function pd(i, e) {
|
|
2418
2418
|
F(2, arguments);
|
|
2419
2419
|
var t = q(i), r = te(e), a = To(t) - r;
|
|
2420
2420
|
return t.setUTCDate(t.getUTCDate() - a * 7), t;
|
|
2421
2421
|
}
|
|
2422
2422
|
var md = /* @__PURE__ */ function(i) {
|
|
2423
|
-
|
|
2424
|
-
var e =
|
|
2423
|
+
S(t, i);
|
|
2424
|
+
var e = I(t);
|
|
2425
2425
|
function t() {
|
|
2426
2426
|
var r;
|
|
2427
2427
|
x(this, t);
|
|
@@ -2454,9 +2454,9 @@ var md = /* @__PURE__ */ function(i) {
|
|
|
2454
2454
|
return Ge(pd(a, n));
|
|
2455
2455
|
}
|
|
2456
2456
|
}]), t;
|
|
2457
|
-
}(
|
|
2458
|
-
|
|
2459
|
-
var e =
|
|
2457
|
+
}(D), fd = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], _d = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], vd = /* @__PURE__ */ function(i) {
|
|
2458
|
+
S(t, i);
|
|
2459
|
+
var e = I(t);
|
|
2460
2460
|
function t() {
|
|
2461
2461
|
var r;
|
|
2462
2462
|
x(this, t);
|
|
@@ -2490,9 +2490,9 @@ var md = /* @__PURE__ */ function(i) {
|
|
|
2490
2490
|
return a.setUTCDate(n), a.setUTCHours(0, 0, 0, 0), a;
|
|
2491
2491
|
}
|
|
2492
2492
|
}]), t;
|
|
2493
|
-
}(
|
|
2494
|
-
|
|
2495
|
-
var e =
|
|
2493
|
+
}(D), gd = /* @__PURE__ */ function(i) {
|
|
2494
|
+
S(t, i);
|
|
2495
|
+
var e = I(t);
|
|
2496
2496
|
function t() {
|
|
2497
2497
|
var r;
|
|
2498
2498
|
x(this, t);
|
|
@@ -2527,19 +2527,19 @@ var md = /* @__PURE__ */ function(i) {
|
|
|
2527
2527
|
return a.setUTCMonth(0, n), a.setUTCHours(0, 0, 0, 0), a;
|
|
2528
2528
|
}
|
|
2529
2529
|
}]), t;
|
|
2530
|
-
}(
|
|
2530
|
+
}(D);
|
|
2531
2531
|
function Cr(i, e, t) {
|
|
2532
2532
|
var r, a, o, n, s, l, d, h;
|
|
2533
2533
|
F(2, arguments);
|
|
2534
2534
|
var c = Ze(), p = te((r = (a = (o = (n = t == null ? void 0 : t.weekStartsOn) !== null && n !== void 0 ? n : t == null || (s = t.locale) === null || s === void 0 || (l = s.options) === null || l === void 0 ? void 0 : l.weekStartsOn) !== null && o !== void 0 ? o : c.weekStartsOn) !== null && a !== void 0 ? a : (d = c.locale) === null || d === void 0 || (h = d.options) === null || h === void 0 ? void 0 : h.weekStartsOn) !== null && r !== void 0 ? r : 0);
|
|
2535
2535
|
if (!(p >= 0 && p <= 6))
|
|
2536
2536
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
2537
|
-
var m = q(i), y = te(e), N = m.getUTCDay(),
|
|
2537
|
+
var m = q(i), y = te(e), N = m.getUTCDay(), O = y % 7, V = (O + 7) % 7, T = (V < p ? 7 : 0) + y - N;
|
|
2538
2538
|
return m.setUTCDate(m.getUTCDate() + T), m;
|
|
2539
2539
|
}
|
|
2540
2540
|
var bd = /* @__PURE__ */ function(i) {
|
|
2541
|
-
|
|
2542
|
-
var e =
|
|
2541
|
+
S(t, i);
|
|
2542
|
+
var e = I(t);
|
|
2543
2543
|
function t() {
|
|
2544
2544
|
var r;
|
|
2545
2545
|
x(this, t);
|
|
@@ -2605,9 +2605,9 @@ var bd = /* @__PURE__ */ function(i) {
|
|
|
2605
2605
|
return a = Cr(a, n, s), a.setUTCHours(0, 0, 0, 0), a;
|
|
2606
2606
|
}
|
|
2607
2607
|
}]), t;
|
|
2608
|
-
}(
|
|
2609
|
-
|
|
2610
|
-
var e =
|
|
2608
|
+
}(D), yd = /* @__PURE__ */ function(i) {
|
|
2609
|
+
S(t, i);
|
|
2610
|
+
var e = I(t);
|
|
2611
2611
|
function t() {
|
|
2612
2612
|
var r;
|
|
2613
2613
|
x(this, t);
|
|
@@ -2682,9 +2682,9 @@ var bd = /* @__PURE__ */ function(i) {
|
|
|
2682
2682
|
return a = Cr(a, n, s), a.setUTCHours(0, 0, 0, 0), a;
|
|
2683
2683
|
}
|
|
2684
2684
|
}]), t;
|
|
2685
|
-
}(
|
|
2686
|
-
|
|
2687
|
-
var e =
|
|
2685
|
+
}(D), wd = /* @__PURE__ */ function(i) {
|
|
2686
|
+
S(t, i);
|
|
2687
|
+
var e = I(t);
|
|
2688
2688
|
function t() {
|
|
2689
2689
|
var r;
|
|
2690
2690
|
x(this, t);
|
|
@@ -2759,7 +2759,7 @@ var bd = /* @__PURE__ */ function(i) {
|
|
|
2759
2759
|
return a = Cr(a, n, s), a.setUTCHours(0, 0, 0, 0), a;
|
|
2760
2760
|
}
|
|
2761
2761
|
}]), t;
|
|
2762
|
-
}(
|
|
2762
|
+
}(D);
|
|
2763
2763
|
function xd(i, e) {
|
|
2764
2764
|
F(2, arguments);
|
|
2765
2765
|
var t = te(e);
|
|
@@ -2768,8 +2768,8 @@ function xd(i, e) {
|
|
|
2768
2768
|
return a.setUTCDate(a.getUTCDate() + l), a;
|
|
2769
2769
|
}
|
|
2770
2770
|
var Cd = /* @__PURE__ */ function(i) {
|
|
2771
|
-
|
|
2772
|
-
var e =
|
|
2771
|
+
S(t, i);
|
|
2772
|
+
var e = I(t);
|
|
2773
2773
|
function t() {
|
|
2774
2774
|
var r;
|
|
2775
2775
|
x(this, t);
|
|
@@ -2843,9 +2843,9 @@ var Cd = /* @__PURE__ */ function(i) {
|
|
|
2843
2843
|
return a = xd(a, n), a.setUTCHours(0, 0, 0, 0), a;
|
|
2844
2844
|
}
|
|
2845
2845
|
}]), t;
|
|
2846
|
-
}(
|
|
2847
|
-
|
|
2848
|
-
var e =
|
|
2846
|
+
}(D), kd = /* @__PURE__ */ function(i) {
|
|
2847
|
+
S(t, i);
|
|
2848
|
+
var e = I(t);
|
|
2849
2849
|
function t() {
|
|
2850
2850
|
var r;
|
|
2851
2851
|
x(this, t);
|
|
@@ -2892,9 +2892,9 @@ var Cd = /* @__PURE__ */ function(i) {
|
|
|
2892
2892
|
return a.setUTCHours(xr(n), 0, 0, 0), a;
|
|
2893
2893
|
}
|
|
2894
2894
|
}]), t;
|
|
2895
|
-
}(
|
|
2896
|
-
|
|
2897
|
-
var e =
|
|
2895
|
+
}(D), Ed = /* @__PURE__ */ function(i) {
|
|
2896
|
+
S(t, i);
|
|
2897
|
+
var e = I(t);
|
|
2898
2898
|
function t() {
|
|
2899
2899
|
var r;
|
|
2900
2900
|
x(this, t);
|
|
@@ -2941,9 +2941,9 @@ var Cd = /* @__PURE__ */ function(i) {
|
|
|
2941
2941
|
return a.setUTCHours(xr(n), 0, 0, 0), a;
|
|
2942
2942
|
}
|
|
2943
2943
|
}]), t;
|
|
2944
|
-
}(
|
|
2945
|
-
|
|
2946
|
-
var e =
|
|
2944
|
+
}(D), Sd = /* @__PURE__ */ function(i) {
|
|
2945
|
+
S(t, i);
|
|
2946
|
+
var e = I(t);
|
|
2947
2947
|
function t() {
|
|
2948
2948
|
var r;
|
|
2949
2949
|
x(this, t);
|
|
@@ -2990,9 +2990,9 @@ var Cd = /* @__PURE__ */ function(i) {
|
|
|
2990
2990
|
return a.setUTCHours(xr(n), 0, 0, 0), a;
|
|
2991
2991
|
}
|
|
2992
2992
|
}]), t;
|
|
2993
|
-
}(
|
|
2994
|
-
|
|
2995
|
-
var e =
|
|
2993
|
+
}(D), Id = /* @__PURE__ */ function(i) {
|
|
2994
|
+
S(t, i);
|
|
2995
|
+
var e = I(t);
|
|
2996
2996
|
function t() {
|
|
2997
2997
|
var r;
|
|
2998
2998
|
x(this, t);
|
|
@@ -3026,9 +3026,9 @@ var Cd = /* @__PURE__ */ function(i) {
|
|
|
3026
3026
|
return s && n < 12 ? a.setUTCHours(n + 12, 0, 0, 0) : !s && n === 12 ? a.setUTCHours(0, 0, 0, 0) : a.setUTCHours(n, 0, 0, 0), a;
|
|
3027
3027
|
}
|
|
3028
3028
|
}]), t;
|
|
3029
|
-
}(
|
|
3030
|
-
|
|
3031
|
-
var e =
|
|
3029
|
+
}(D), Td = /* @__PURE__ */ function(i) {
|
|
3030
|
+
S(t, i);
|
|
3031
|
+
var e = I(t);
|
|
3032
3032
|
function t() {
|
|
3033
3033
|
var r;
|
|
3034
3034
|
x(this, t);
|
|
@@ -3061,9 +3061,9 @@ var Cd = /* @__PURE__ */ function(i) {
|
|
|
3061
3061
|
return a.setUTCHours(n, 0, 0, 0), a;
|
|
3062
3062
|
}
|
|
3063
3063
|
}]), t;
|
|
3064
|
-
}(
|
|
3065
|
-
|
|
3066
|
-
var e =
|
|
3064
|
+
}(D), Pd = /* @__PURE__ */ function(i) {
|
|
3065
|
+
S(t, i);
|
|
3066
|
+
var e = I(t);
|
|
3067
3067
|
function t() {
|
|
3068
3068
|
var r;
|
|
3069
3069
|
x(this, t);
|
|
@@ -3097,9 +3097,9 @@ var Cd = /* @__PURE__ */ function(i) {
|
|
|
3097
3097
|
return s && n < 12 ? a.setUTCHours(n + 12, 0, 0, 0) : a.setUTCHours(n, 0, 0, 0), a;
|
|
3098
3098
|
}
|
|
3099
3099
|
}]), t;
|
|
3100
|
-
}(
|
|
3101
|
-
|
|
3102
|
-
var e =
|
|
3100
|
+
}(D), Ad = /* @__PURE__ */ function(i) {
|
|
3101
|
+
S(t, i);
|
|
3102
|
+
var e = I(t);
|
|
3103
3103
|
function t() {
|
|
3104
3104
|
var r;
|
|
3105
3105
|
x(this, t);
|
|
@@ -3133,9 +3133,9 @@ var Cd = /* @__PURE__ */ function(i) {
|
|
|
3133
3133
|
return a.setUTCHours(s, 0, 0, 0), a;
|
|
3134
3134
|
}
|
|
3135
3135
|
}]), t;
|
|
3136
|
-
}(
|
|
3137
|
-
|
|
3138
|
-
var e =
|
|
3136
|
+
}(D), Dd = /* @__PURE__ */ function(i) {
|
|
3137
|
+
S(t, i);
|
|
3138
|
+
var e = I(t);
|
|
3139
3139
|
function t() {
|
|
3140
3140
|
var r;
|
|
3141
3141
|
x(this, t);
|
|
@@ -3168,9 +3168,9 @@ var Cd = /* @__PURE__ */ function(i) {
|
|
|
3168
3168
|
return a.setUTCMinutes(n, 0, 0), a;
|
|
3169
3169
|
}
|
|
3170
3170
|
}]), t;
|
|
3171
|
-
}(
|
|
3172
|
-
|
|
3173
|
-
var e =
|
|
3171
|
+
}(D), Od = /* @__PURE__ */ function(i) {
|
|
3172
|
+
S(t, i);
|
|
3173
|
+
var e = I(t);
|
|
3174
3174
|
function t() {
|
|
3175
3175
|
var r;
|
|
3176
3176
|
x(this, t);
|
|
@@ -3203,9 +3203,9 @@ var Cd = /* @__PURE__ */ function(i) {
|
|
|
3203
3203
|
return a.setUTCSeconds(n, 0), a;
|
|
3204
3204
|
}
|
|
3205
3205
|
}]), t;
|
|
3206
|
-
}(
|
|
3207
|
-
|
|
3208
|
-
var e =
|
|
3206
|
+
}(D), Vd = /* @__PURE__ */ function(i) {
|
|
3207
|
+
S(t, i);
|
|
3208
|
+
var e = I(t);
|
|
3209
3209
|
function t() {
|
|
3210
3210
|
var r;
|
|
3211
3211
|
x(this, t);
|
|
@@ -3227,9 +3227,9 @@ var Cd = /* @__PURE__ */ function(i) {
|
|
|
3227
3227
|
return a.setUTCMilliseconds(n), a;
|
|
3228
3228
|
}
|
|
3229
3229
|
}]), t;
|
|
3230
|
-
}(
|
|
3231
|
-
|
|
3232
|
-
var e =
|
|
3230
|
+
}(D), Md = /* @__PURE__ */ function(i) {
|
|
3231
|
+
S(t, i);
|
|
3232
|
+
var e = I(t);
|
|
3233
3233
|
function t() {
|
|
3234
3234
|
var r;
|
|
3235
3235
|
x(this, t);
|
|
@@ -3260,9 +3260,9 @@ var Cd = /* @__PURE__ */ function(i) {
|
|
|
3260
3260
|
return o.timestampIsSet ? a : new Date(a.getTime() - n);
|
|
3261
3261
|
}
|
|
3262
3262
|
}]), t;
|
|
3263
|
-
}(
|
|
3264
|
-
|
|
3265
|
-
var e =
|
|
3263
|
+
}(D), zd = /* @__PURE__ */ function(i) {
|
|
3264
|
+
S(t, i);
|
|
3265
|
+
var e = I(t);
|
|
3266
3266
|
function t() {
|
|
3267
3267
|
var r;
|
|
3268
3268
|
x(this, t);
|
|
@@ -3293,9 +3293,9 @@ var Cd = /* @__PURE__ */ function(i) {
|
|
|
3293
3293
|
return o.timestampIsSet ? a : new Date(a.getTime() - n);
|
|
3294
3294
|
}
|
|
3295
3295
|
}]), t;
|
|
3296
|
-
}(
|
|
3297
|
-
|
|
3298
|
-
var e =
|
|
3296
|
+
}(D), Nd = /* @__PURE__ */ function(i) {
|
|
3297
|
+
S(t, i);
|
|
3298
|
+
var e = I(t);
|
|
3299
3299
|
function t() {
|
|
3300
3300
|
var r;
|
|
3301
3301
|
x(this, t);
|
|
@@ -3316,9 +3316,9 @@ var Cd = /* @__PURE__ */ function(i) {
|
|
|
3316
3316
|
}];
|
|
3317
3317
|
}
|
|
3318
3318
|
}]), t;
|
|
3319
|
-
}(
|
|
3320
|
-
|
|
3321
|
-
var e =
|
|
3319
|
+
}(D), Ld = /* @__PURE__ */ function(i) {
|
|
3320
|
+
S(t, i);
|
|
3321
|
+
var e = I(t);
|
|
3322
3322
|
function t() {
|
|
3323
3323
|
var r;
|
|
3324
3324
|
x(this, t);
|
|
@@ -3339,7 +3339,7 @@ var Cd = /* @__PURE__ */ function(i) {
|
|
|
3339
3339
|
}];
|
|
3340
3340
|
}
|
|
3341
3341
|
}]), t;
|
|
3342
|
-
}(
|
|
3342
|
+
}(D), Rd = {
|
|
3343
3343
|
G: new Zl(),
|
|
3344
3344
|
y: new rd(),
|
|
3345
3345
|
Y: new ad(),
|
|
@@ -3359,8 +3359,8 @@ var Cd = /* @__PURE__ */ function(i) {
|
|
|
3359
3359
|
i: new Cd(),
|
|
3360
3360
|
a: new kd(),
|
|
3361
3361
|
b: new Ed(),
|
|
3362
|
-
B: new
|
|
3363
|
-
h: new
|
|
3362
|
+
B: new Sd(),
|
|
3363
|
+
h: new Id(),
|
|
3364
3364
|
H: new Td(),
|
|
3365
3365
|
K: new Pd(),
|
|
3366
3366
|
k: new Ad(),
|
|
@@ -3373,7 +3373,7 @@ var Cd = /* @__PURE__ */ function(i) {
|
|
|
3373
3373
|
T: new Ld()
|
|
3374
3374
|
}, Fd = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, $d = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Hd = /^'([^]*?)'?$/, Bd = /''/g, Ud = /\S/, qd = /[a-zA-Z]/;
|
|
3375
3375
|
function He(i, e, t, r) {
|
|
3376
|
-
var a, o, n, s, l, d, h, c, p, m, y, N,
|
|
3376
|
+
var a, o, n, s, l, d, h, c, p, m, y, N, O, V;
|
|
3377
3377
|
F(3, arguments);
|
|
3378
3378
|
var T = String(i), j = String(e), W = Ze(), de = (a = (o = void 0) !== null && o !== void 0 ? o : W.locale) !== null && a !== void 0 ? a : Mo;
|
|
3379
3379
|
if (!de.match)
|
|
@@ -3381,7 +3381,7 @@ function He(i, e, t, r) {
|
|
|
3381
3381
|
var we = te((n = (s = (l = (d = void 0) !== null && d !== void 0 ? d : void 0) !== null && l !== void 0 ? l : W.firstWeekContainsDate) !== null && s !== void 0 ? s : (h = W.locale) === null || h === void 0 || (c = h.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && n !== void 0 ? n : 1);
|
|
3382
3382
|
if (!(we >= 1 && we <= 7))
|
|
3383
3383
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
3384
|
-
var rt = te((p = (m = (y = (N = void 0) !== null && N !== void 0 ? N : void 0) !== null && y !== void 0 ? y : W.weekStartsOn) !== null && m !== void 0 ? m : (
|
|
3384
|
+
var rt = te((p = (m = (y = (N = void 0) !== null && N !== void 0 ? N : void 0) !== null && y !== void 0 ? y : W.weekStartsOn) !== null && m !== void 0 ? m : (O = W.locale) === null || O === void 0 || (V = O.options) === null || V === void 0 ? void 0 : V.weekStartsOn) !== null && p !== void 0 ? p : 0);
|
|
3385
3385
|
if (!(rt >= 0 && rt <= 6))
|
|
3386
3386
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
3387
3387
|
if (j === "")
|
|
@@ -3390,39 +3390,39 @@ function He(i, e, t, r) {
|
|
|
3390
3390
|
firstWeekContainsDate: we,
|
|
3391
3391
|
weekStartsOn: rt,
|
|
3392
3392
|
locale: de
|
|
3393
|
-
}, ot = [new Jl()],
|
|
3393
|
+
}, ot = [new Jl()], Pi = j.match($d).map(function(Y) {
|
|
3394
3394
|
var L = Y[0];
|
|
3395
|
-
if (L in
|
|
3396
|
-
var se =
|
|
3395
|
+
if (L in Gi) {
|
|
3396
|
+
var se = Gi[L];
|
|
3397
3397
|
return se(Y, de.formatLong);
|
|
3398
3398
|
}
|
|
3399
3399
|
return Y;
|
|
3400
|
-
}).join("").match(Fd), K = [], ie = ya(
|
|
3400
|
+
}).join("").match(Fd), K = [], ie = ya(Pi), Ie;
|
|
3401
3401
|
try {
|
|
3402
3402
|
var Ps = function() {
|
|
3403
|
-
var L =
|
|
3404
|
-
!(r != null && r.useAdditionalWeekYearTokens) && Vo(L) &&
|
|
3405
|
-
var se = L[0],
|
|
3406
|
-
if (
|
|
3407
|
-
var ua =
|
|
3403
|
+
var L = Ie.value;
|
|
3404
|
+
!(r != null && r.useAdditionalWeekYearTokens) && Vo(L) && ei(L, j, i), !(r != null && r.useAdditionalDayOfYearTokens) && Oo(L) && ei(L, j, i);
|
|
3405
|
+
var se = L[0], Bt = Rd[se];
|
|
3406
|
+
if (Bt) {
|
|
3407
|
+
var ua = Bt.incompatibleTokens;
|
|
3408
3408
|
if (Array.isArray(ua)) {
|
|
3409
3409
|
var pa = K.find(function(ma) {
|
|
3410
3410
|
return ua.includes(ma.token) || ma.token === se;
|
|
3411
3411
|
});
|
|
3412
3412
|
if (pa)
|
|
3413
3413
|
throw new RangeError("The format string mustn't contain `".concat(pa.fullToken, "` and `").concat(L, "` at the same time"));
|
|
3414
|
-
} else if (
|
|
3414
|
+
} else if (Bt.incompatibleTokens === "*" && K.length > 0)
|
|
3415
3415
|
throw new RangeError("The format string mustn't contain `".concat(L, "` and any other token at the same time"));
|
|
3416
3416
|
K.push({
|
|
3417
3417
|
token: se,
|
|
3418
3418
|
fullToken: L
|
|
3419
3419
|
});
|
|
3420
|
-
var
|
|
3421
|
-
if (!
|
|
3420
|
+
var Di = Bt.run(T, L, de.match, at);
|
|
3421
|
+
if (!Di)
|
|
3422
3422
|
return {
|
|
3423
3423
|
v: /* @__PURE__ */ new Date(NaN)
|
|
3424
3424
|
};
|
|
3425
|
-
ot.push(
|
|
3425
|
+
ot.push(Di.setter), T = Di.rest;
|
|
3426
3426
|
} else {
|
|
3427
3427
|
if (se.match(qd))
|
|
3428
3428
|
throw new RangeError("Format string contains an unescaped latin alphabet character `" + se + "`");
|
|
@@ -3434,7 +3434,7 @@ function He(i, e, t, r) {
|
|
|
3434
3434
|
};
|
|
3435
3435
|
}
|
|
3436
3436
|
};
|
|
3437
|
-
for (ie.s(); !(
|
|
3437
|
+
for (ie.s(); !(Ie = ie.n()).done; ) {
|
|
3438
3438
|
var la = Ps();
|
|
3439
3439
|
if (be(la) === "object")
|
|
3440
3440
|
return la.v;
|
|
@@ -3460,22 +3460,22 @@ function He(i, e, t, r) {
|
|
|
3460
3460
|
});
|
|
3461
3461
|
}).map(function(Y) {
|
|
3462
3462
|
return Y[0];
|
|
3463
|
-
}),
|
|
3464
|
-
if (isNaN(
|
|
3463
|
+
}), Ai = q(t);
|
|
3464
|
+
if (isNaN(Ai.getTime()))
|
|
3465
3465
|
return /* @__PURE__ */ new Date(NaN);
|
|
3466
|
-
var nt =
|
|
3466
|
+
var nt = So(Ai, Do(Ai)), da = {}, $t = ya(As), ha;
|
|
3467
3467
|
try {
|
|
3468
|
-
for (
|
|
3468
|
+
for ($t.s(); !(ha = $t.n()).done; ) {
|
|
3469
3469
|
var ca = ha.value;
|
|
3470
3470
|
if (!ca.validate(nt, at))
|
|
3471
3471
|
return /* @__PURE__ */ new Date(NaN);
|
|
3472
|
-
var
|
|
3473
|
-
Array.isArray(
|
|
3472
|
+
var Ht = ca.set(nt, da, at);
|
|
3473
|
+
Array.isArray(Ht) ? (nt = Ht[0], Wl(da, Ht[1])) : nt = Ht;
|
|
3474
3474
|
}
|
|
3475
3475
|
} catch (Y) {
|
|
3476
|
-
|
|
3476
|
+
$t.e(Y);
|
|
3477
3477
|
} finally {
|
|
3478
|
-
|
|
3478
|
+
$t.f();
|
|
3479
3479
|
}
|
|
3480
3480
|
return nt;
|
|
3481
3481
|
}
|
|
@@ -3497,7 +3497,7 @@ function Ca(i, e, t) {
|
|
|
3497
3497
|
}
|
|
3498
3498
|
const Wd = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.date{font-family:"Roboto";font-style:normal}.date__wrapper{position:relative;width:100%;display:flex;flex-direction:column;gap:5px;height:100%}.date__wrapper--autofilled{pointer-events:none}.date__wrapper--autofilled .date__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.date__wrapper--autofilled .date__input::part(input-field){color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.date__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.date__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #22B04E));margin-left:2px}.date__input{border:none;width:inherit;position:relative}.date__input[focused]::part(input-field){border-color:var(--emw--login-color-primary, var(--emw--color-primary, #22B04E))}.date__input[invalid]::part(input-field){border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.date__input::part(input-field){border-radius:4px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));font-family:inherit;font-style:normal;font-size:16px;font-weight:300;line-height:1.5;padding:0;height:44px}.date__input>input{padding:5px 15px}.date__input::part(toggle-button){position:relative;right:10px}.date__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.date__tooltip-icon{position:absolute;right:0;bottom:10px}.date__tooltip{position:absolute;bottom:35px;right:10px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.date__tooltip.visible{opacity:1}', Yd = Wd, Gd = class {
|
|
3499
3499
|
constructor(i) {
|
|
3500
|
-
Z(this, i), this.sendValidityState =
|
|
3500
|
+
Z(this, i), this.sendValidityState = A(this, "sendValidityState"), this.sendInputValue = A(this, "sendInputValue"), this.touched = !1, this.formatDate = (e) => {
|
|
3501
3501
|
const { year: t, month: r, day: a } = e, o = new Date(t, r, a);
|
|
3502
3502
|
return ga(o, this.dateFormat);
|
|
3503
3503
|
}, this.parseDate = (e) => {
|
|
@@ -3576,7 +3576,7 @@ const Wd = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.date{
|
|
|
3576
3576
|
return this.touched && (i = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), u("div", { key: "d9757eb7eea257167da12612f51f6665d6ac058e", class: `date__wrapper ${this.autofilled ? "date__wrapper--autofilled" : ""} ${this.name}__input`, ref: (e) => this.stylingContainer = e }, u("label", { key: "8339c9f27e74f2e1a98d11efea7eb05a9681e83e", class: `date__label ${this.validation.mandatory ? "date__label--required" : ""}}`, htmlFor: `${this.name}__input` }, this.displayName, " ", this.validation.mandatory ? "*" : ""), u("vaadin-date-picker", { key: "513692d0858a9f409e02bd515700e3e9e0eaa1fb", id: `${this.name}__input`, type: "date", class: `date__input ${i}`, value: this.defaultValue, readOnly: this.autofilled, placeholder: `${this.placeholder}`, required: this.validation.mandatory, max: this.validation.max, min: this.validation.min, onChange: (e) => this.handleInput(e) }), u("small", { key: "19be9854df1adc1c6581e00a3593bcf16d7e2146", class: "date__error-message" }, this.errorMessage), this.tooltip && u("img", { key: "f38abc61046c33c56a9efc3907dbd184b8e8352e", class: "date__tooltip-icon", src: le, alt: "", ref: (e) => this.tooltipIconReference = e, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip());
|
|
3577
3577
|
}
|
|
3578
3578
|
get element() {
|
|
3579
|
-
return
|
|
3579
|
+
return Dt(this);
|
|
3580
3580
|
}
|
|
3581
3581
|
static get watchers() {
|
|
3582
3582
|
return {
|
|
@@ -3589,7 +3589,7 @@ const Wd = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.date{
|
|
|
3589
3589
|
Gd.style = Yd;
|
|
3590
3590
|
const Kd = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.email{font-family:"Roboto";font-style:normal}.email__wrapper{position:relative;width:100%}.email__wrapper--autofilled{pointer-events:none}.email__wrapper--autofilled .email__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.email__wrapper--autofilled .email__input{color:var(--emw--color-black, #000000)}.email__wrapper--flex{display:flex;gap:5px}.email__wrapper--relative{position:relative}.email__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.email__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #22B04E));margin-left:2px}.email__input{font-family:inherit;border-radius:4px;width:100%;height:40px;border:2px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);border-radius:5px;box-sizing:border-box;font-size:16px;font-weight:300;line-height:1.5;padding:10px}.email__input:focus{outline-color:var(--emw--login-color-primary, var(--emw--color-primary, #22B04E))}.email__input--invalid{border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.email__input::placeholder{color:var(--emw--color-gray-150, #828282)}.email__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.email__tooltip-icon{width:16px;height:auto}.email__tooltip{position:absolute;top:0;left:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.email__tooltip.visible{opacity:1}', Xd = Kd, Qd = class {
|
|
3591
3591
|
constructor(i) {
|
|
3592
|
-
Z(this, i), this.sendValidityState =
|
|
3592
|
+
Z(this, i), this.sendValidityState = A(this, "sendValidityState"), this.sendInputValue = A(this, "sendInputValue"), this.validationPattern = "", this.touched = !1, this.handleInput = (e) => {
|
|
3593
3593
|
this.value = e.target.value, this.touched = !0, this.debounceTime && clearTimeout(this.debounceTime), this.debounceTime = setTimeout(() => {
|
|
3594
3594
|
this.isValid = this.setValidity(), this.errorMessage = this.setErrorMessage(), this.emitValueHandler(!0);
|
|
3595
3595
|
}, 500);
|
|
@@ -3670,14 +3670,14 @@ const Kd = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.email
|
|
|
3670
3670
|
}
|
|
3671
3671
|
};
|
|
3672
3672
|
Qd.style = Xd;
|
|
3673
|
-
var Jd = Object.defineProperty, Zd = Object.defineProperties, eh = Object.getOwnPropertyDescriptors, ka = Object.getOwnPropertySymbols, th = Object.prototype.hasOwnProperty, ih = Object.prototype.propertyIsEnumerable,
|
|
3673
|
+
var Jd = Object.defineProperty, Zd = Object.defineProperties, eh = Object.getOwnPropertyDescriptors, ka = Object.getOwnPropertySymbols, th = Object.prototype.hasOwnProperty, ih = Object.prototype.propertyIsEnumerable, Xi = (i, e, t) => e in i ? Jd(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, ri = (i, e) => {
|
|
3674
3674
|
for (var t in e || (e = {}))
|
|
3675
|
-
th.call(e, t) &&
|
|
3675
|
+
th.call(e, t) && Xi(i, t, e[t]);
|
|
3676
3676
|
if (ka)
|
|
3677
3677
|
for (var t of ka(e))
|
|
3678
|
-
ih.call(e, t) &&
|
|
3678
|
+
ih.call(e, t) && Xi(i, t, e[t]);
|
|
3679
3679
|
return i;
|
|
3680
|
-
}, Ho = (i, e) => Zd(i, eh(e)), Q = (i, e, t) => (
|
|
3680
|
+
}, Ho = (i, e) => Zd(i, eh(e)), Q = (i, e, t) => (Xi(i, typeof e != "symbol" ? e + "" : e, t), t), ai = (i, e, t) => new Promise((r, a) => {
|
|
3681
3681
|
var o = (l) => {
|
|
3682
3682
|
try {
|
|
3683
3683
|
s(t.next(l));
|
|
@@ -3726,8 +3726,8 @@ w(rh);
|
|
|
3726
3726
|
* Copyright 2019 Google LLC
|
|
3727
3727
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3728
3728
|
*/
|
|
3729
|
-
const
|
|
3730
|
-
let
|
|
3729
|
+
const Qt = globalThis, kr = Qt.ShadowRoot && (Qt.ShadyCSS === void 0 || Qt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Er = Symbol(), Ea = /* @__PURE__ */ new WeakMap();
|
|
3730
|
+
let Sr = class {
|
|
3731
3731
|
constructor(i, e, t) {
|
|
3732
3732
|
if (this._$cssResult$ = !0, t !== Er)
|
|
3733
3733
|
throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
@@ -3746,7 +3746,7 @@ let Ir = class {
|
|
|
3746
3746
|
return this.cssText;
|
|
3747
3747
|
}
|
|
3748
3748
|
};
|
|
3749
|
-
const ah = (i) => new
|
|
3749
|
+
const ah = (i) => new Sr(typeof i == "string" ? i : i + "", void 0, Er), f = (i, ...e) => {
|
|
3750
3750
|
const t = i.length === 1 ? i[0] : e.reduce((r, a, o) => r + ((n) => {
|
|
3751
3751
|
if (n._$cssResult$ === !0)
|
|
3752
3752
|
return n.cssText;
|
|
@@ -3754,16 +3754,16 @@ const ah = (i) => new Ir(typeof i == "string" ? i : i + "", void 0, Er), f = (i,
|
|
|
3754
3754
|
return n;
|
|
3755
3755
|
throw Error("Value passed to 'css' function must be a 'css' function result: " + n + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
|
3756
3756
|
})(a) + i[o + 1], i[0]);
|
|
3757
|
-
return new
|
|
3757
|
+
return new Sr(t, i, Er);
|
|
3758
3758
|
}, Bo = (i, e) => {
|
|
3759
3759
|
if (kr)
|
|
3760
3760
|
i.adoptedStyleSheets = e.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet);
|
|
3761
3761
|
else
|
|
3762
3762
|
for (const t of e) {
|
|
3763
|
-
const r = document.createElement("style"), a =
|
|
3763
|
+
const r = document.createElement("style"), a = Qt.litNonce;
|
|
3764
3764
|
a !== void 0 && r.setAttribute("nonce", a), r.textContent = t.cssText, i.appendChild(r);
|
|
3765
3765
|
}
|
|
3766
|
-
},
|
|
3766
|
+
}, Sa = kr ? (i) => i : (i) => i instanceof CSSStyleSheet ? ((e) => {
|
|
3767
3767
|
let t = "";
|
|
3768
3768
|
for (const r of e.cssRules)
|
|
3769
3769
|
t += r.cssText;
|
|
@@ -3774,7 +3774,7 @@ const ah = (i) => new Ir(typeof i == "string" ? i : i + "", void 0, Er), f = (i,
|
|
|
3774
3774
|
* Copyright 2017 Google LLC
|
|
3775
3775
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3776
3776
|
*/
|
|
3777
|
-
const { is: oh, defineProperty: nh, getOwnPropertyDescriptor: sh, getOwnPropertyNames: lh, getOwnPropertySymbols: dh, getPrototypeOf: hh } = Object, Ke = globalThis,
|
|
3777
|
+
const { is: oh, defineProperty: nh, getOwnPropertyDescriptor: sh, getOwnPropertyNames: lh, getOwnPropertySymbols: dh, getPrototypeOf: hh } = Object, Ke = globalThis, Ia = Ke.trustedTypes, ch = Ia ? Ia.emptyScript : "", Ta = Ke.reactiveElementPolyfillSupport, vt = (i, e) => i, Qi = { toAttribute(i, e) {
|
|
3778
3778
|
switch (e) {
|
|
3779
3779
|
case Boolean:
|
|
3780
3780
|
i = i ? ch : null;
|
|
@@ -3802,7 +3802,7 @@ const { is: oh, defineProperty: nh, getOwnPropertyDescriptor: sh, getOwnProperty
|
|
|
3802
3802
|
}
|
|
3803
3803
|
}
|
|
3804
3804
|
return t;
|
|
3805
|
-
} }, Uo = (i, e) => !oh(i, e), Pa = { attribute: !0, type: String, converter:
|
|
3805
|
+
} }, Uo = (i, e) => !oh(i, e), Pa = { attribute: !0, type: String, converter: Qi, reflect: !1, useDefault: !1, hasChanged: Uo };
|
|
3806
3806
|
Symbol.metadata != null || (Symbol.metadata = Symbol("metadata")), Ke.litPropertyMetadata != null || (Ke.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
3807
3807
|
class Be extends HTMLElement {
|
|
3808
3808
|
static addInitializer(e) {
|
|
@@ -3867,9 +3867,9 @@ class Be extends HTMLElement {
|
|
|
3867
3867
|
if (Array.isArray(e)) {
|
|
3868
3868
|
const r = new Set(e.flat(1 / 0).reverse());
|
|
3869
3869
|
for (const a of r)
|
|
3870
|
-
t.unshift(
|
|
3870
|
+
t.unshift(Sa(a));
|
|
3871
3871
|
} else
|
|
3872
|
-
e !== void 0 && t.push(
|
|
3872
|
+
e !== void 0 && t.push(Sa(e));
|
|
3873
3873
|
return t;
|
|
3874
3874
|
}
|
|
3875
3875
|
static _$Eu(e, t) {
|
|
@@ -3925,7 +3925,7 @@ class Be extends HTMLElement {
|
|
|
3925
3925
|
var r;
|
|
3926
3926
|
const a = this.constructor.elementProperties.get(e), o = this.constructor._$Eu(e, a);
|
|
3927
3927
|
if (o !== void 0 && a.reflect === !0) {
|
|
3928
|
-
const n = (((r = a.converter) == null ? void 0 : r.toAttribute) !== void 0 ? a.converter :
|
|
3928
|
+
const n = (((r = a.converter) == null ? void 0 : r.toAttribute) !== void 0 ? a.converter : Qi).toAttribute(t, a.type);
|
|
3929
3929
|
this._$Em = e, n == null ? this.removeAttribute(o) : this.setAttribute(o, n), this._$Em = null;
|
|
3930
3930
|
}
|
|
3931
3931
|
}
|
|
@@ -3933,7 +3933,7 @@ class Be extends HTMLElement {
|
|
|
3933
3933
|
var r, a, o;
|
|
3934
3934
|
const n = this.constructor, s = n._$Eh.get(e);
|
|
3935
3935
|
if (s !== void 0 && this._$Em !== s) {
|
|
3936
|
-
const l = n.getPropertyOptions(s), d = typeof l.converter == "function" ? { fromAttribute: l.converter } : ((r = l.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? l.converter :
|
|
3936
|
+
const l = n.getPropertyOptions(s), d = typeof l.converter == "function" ? { fromAttribute: l.converter } : ((r = l.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? l.converter : Qi;
|
|
3937
3937
|
this._$Em = s;
|
|
3938
3938
|
const h = d.fromAttribute(t, l.type);
|
|
3939
3939
|
this[s] = (o = h != null ? h : (a = this._$Ej) == null ? void 0 : a.get(s)) != null ? o : h, this._$Em = null;
|
|
@@ -3954,7 +3954,7 @@ class Be extends HTMLElement {
|
|
|
3954
3954
|
r && !((s = this._$Ej) != null ? s : this._$Ej = /* @__PURE__ */ new Map()).has(e) && (this._$Ej.set(e, (l = n != null ? n : t) != null ? l : this[e]), o !== !0 || n !== void 0) || (this._$AL.has(e) || (this.hasUpdated || r || (t = void 0), this._$AL.set(e, t)), a === !0 && this._$Em !== e && ((d = this._$Eq) != null ? d : this._$Eq = /* @__PURE__ */ new Set()).add(e));
|
|
3955
3955
|
}
|
|
3956
3956
|
_$EP() {
|
|
3957
|
-
return
|
|
3957
|
+
return ai(this, null, function* () {
|
|
3958
3958
|
this.isUpdatePending = !0;
|
|
3959
3959
|
try {
|
|
3960
3960
|
yield this._$ES;
|
|
@@ -4033,11 +4033,11 @@ Be.elementStyles = [], Be.shadowRootOptions = { mode: "open" }, Be[vt("elementPr
|
|
|
4033
4033
|
* Copyright 2017 Google LLC
|
|
4034
4034
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
4035
4035
|
*/
|
|
4036
|
-
const
|
|
4037
|
-
\f\r]`, dt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Oa = /-->/g, Va = />/g, Te = RegExp(`>|${
|
|
4036
|
+
const oi = globalThis, ni = oi.trustedTypes, Da = ni ? ni.createPolicy("lit-html", { createHTML: (i) => i }) : void 0, qo = "$lit$", Ce = `lit$${Math.random().toFixed(9).slice(2)}$`, jo = "?" + Ce, uh = `<${jo}>`, Me = document, bt = () => Me.createComment(""), yt = (i) => i === null || typeof i != "object" && typeof i != "function", Ir = Array.isArray, ph = (i) => Ir(i) || typeof (i == null ? void 0 : i[Symbol.iterator]) == "function", Vi = `[
|
|
4037
|
+
\f\r]`, dt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Oa = /-->/g, Va = />/g, Te = RegExp(`>|${Vi}(?:([^\\s"'>=/]+)(${Vi}*=${Vi}*(?:[^
|
|
4038
4038
|
\f\r"'\`<>=]|("|')|))|$)`, "g"), Ma = /'/g, za = /"/g, Wo = /^(?:script|style|textarea|title)$/i, Xe = Symbol.for("lit-noChange"), G = Symbol.for("lit-nothing"), Na = /* @__PURE__ */ new WeakMap(), Ae = Me.createTreeWalker(Me, 129);
|
|
4039
4039
|
function Yo(i, e) {
|
|
4040
|
-
if (!
|
|
4040
|
+
if (!Ir(i) || !i.hasOwnProperty("raw"))
|
|
4041
4041
|
throw Error("invalid template strings array");
|
|
4042
4042
|
return Da !== void 0 ? Da.createHTML(e) : e;
|
|
4043
4043
|
}
|
|
@@ -4070,13 +4070,13 @@ class wt {
|
|
|
4070
4070
|
for (const c of a.getAttributeNames())
|
|
4071
4071
|
if (c.endsWith(qo)) {
|
|
4072
4072
|
const p = h[n++], m = a.getAttribute(c).split(Ce), y = /([.?@])?(.*)/.exec(p);
|
|
4073
|
-
l.push({ type: 1, index: o, name: y[2], strings: m, ctor: y[1] === "." ? _h : y[1] === "?" ? vh : y[1] === "@" ? gh :
|
|
4073
|
+
l.push({ type: 1, index: o, name: y[2], strings: m, ctor: y[1] === "." ? _h : y[1] === "?" ? vh : y[1] === "@" ? gh : _i }), a.removeAttribute(c);
|
|
4074
4074
|
} else
|
|
4075
4075
|
c.startsWith(Ce) && (l.push({ type: 6, index: o }), a.removeAttribute(c));
|
|
4076
4076
|
if (Wo.test(a.tagName)) {
|
|
4077
4077
|
const c = a.textContent.split(Ce), p = c.length - 1;
|
|
4078
4078
|
if (p > 0) {
|
|
4079
|
-
a.textContent =
|
|
4079
|
+
a.textContent = ni ? ni.emptyScript : "";
|
|
4080
4080
|
for (let m = 0; m < p; m++)
|
|
4081
4081
|
a.append(c[m], bt()), Ae.nextNode(), l.push({ type: 2, index: ++o });
|
|
4082
4082
|
a.append(c[p], bt());
|
|
@@ -4124,7 +4124,7 @@ class fh {
|
|
|
4124
4124
|
for (; d !== void 0; ) {
|
|
4125
4125
|
if (s === d.index) {
|
|
4126
4126
|
let h;
|
|
4127
|
-
d.type === 2 ? h = new
|
|
4127
|
+
d.type === 2 ? h = new Ot(n, n.nextSibling, this, e) : d.type === 1 ? h = new d.ctor(n, d.name, d.strings, this, e) : d.type === 6 && (h = new bh(n, this, e)), this._$AV.push(h), d = a[++l];
|
|
4128
4128
|
}
|
|
4129
4129
|
s !== (d == null ? void 0 : d.index) && (n = Ae.nextNode(), s++);
|
|
4130
4130
|
}
|
|
@@ -4136,7 +4136,7 @@ class fh {
|
|
|
4136
4136
|
r !== void 0 && (r.strings !== void 0 ? (r._$AI(e, r, t), t += r.strings.length - 2) : r._$AI(e[t])), t++;
|
|
4137
4137
|
}
|
|
4138
4138
|
}
|
|
4139
|
-
class
|
|
4139
|
+
class Ot {
|
|
4140
4140
|
get _$AU() {
|
|
4141
4141
|
var e, t;
|
|
4142
4142
|
return (t = (e = this._$AM) == null ? void 0 : e._$AU) != null ? t : this._$Cv;
|
|
@@ -4183,11 +4183,11 @@ class Dt {
|
|
|
4183
4183
|
return t === void 0 && Na.set(e.strings, t = new wt(e)), t;
|
|
4184
4184
|
}
|
|
4185
4185
|
k(e) {
|
|
4186
|
-
|
|
4186
|
+
Ir(this._$AH) || (this._$AH = [], this._$AR());
|
|
4187
4187
|
const t = this._$AH;
|
|
4188
4188
|
let r, a = 0;
|
|
4189
4189
|
for (const o of e)
|
|
4190
|
-
a === t.length ? t.push(r = new
|
|
4190
|
+
a === t.length ? t.push(r = new Ot(this.O(bt()), this.O(bt()), this, this.options)) : r = t[a], r._$AI(o), a++;
|
|
4191
4191
|
a < t.length && (this._$AR(r && r._$AB.nextSibling, a), t.length = a);
|
|
4192
4192
|
}
|
|
4193
4193
|
_$AR(e = this._$AA.nextSibling, t) {
|
|
@@ -4202,7 +4202,7 @@ class Dt {
|
|
|
4202
4202
|
this._$AM === void 0 && (this._$Cv = e, (t = this._$AP) == null || t.call(this, e));
|
|
4203
4203
|
}
|
|
4204
4204
|
}
|
|
4205
|
-
class
|
|
4205
|
+
class _i {
|
|
4206
4206
|
get tagName() {
|
|
4207
4207
|
return this.element.tagName;
|
|
4208
4208
|
}
|
|
@@ -4229,7 +4229,7 @@ class fi {
|
|
|
4229
4229
|
e === G ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e != null ? e : "");
|
|
4230
4230
|
}
|
|
4231
4231
|
}
|
|
4232
|
-
class _h extends
|
|
4232
|
+
class _h extends _i {
|
|
4233
4233
|
constructor() {
|
|
4234
4234
|
super(...arguments), this.type = 3;
|
|
4235
4235
|
}
|
|
@@ -4237,7 +4237,7 @@ class _h extends fi {
|
|
|
4237
4237
|
this.element[this.name] = e === G ? void 0 : e;
|
|
4238
4238
|
}
|
|
4239
4239
|
}
|
|
4240
|
-
class vh extends
|
|
4240
|
+
class vh extends _i {
|
|
4241
4241
|
constructor() {
|
|
4242
4242
|
super(...arguments), this.type = 4;
|
|
4243
4243
|
}
|
|
@@ -4245,7 +4245,7 @@ class vh extends fi {
|
|
|
4245
4245
|
this.element.toggleAttribute(this.name, !!e && e !== G);
|
|
4246
4246
|
}
|
|
4247
4247
|
}
|
|
4248
|
-
class gh extends
|
|
4248
|
+
class gh extends _i {
|
|
4249
4249
|
constructor(e, t, r, a, o) {
|
|
4250
4250
|
super(e, t, r, a, o), this.type = 5;
|
|
4251
4251
|
}
|
|
@@ -4272,16 +4272,16 @@ class bh {
|
|
|
4272
4272
|
Qe(this, e);
|
|
4273
4273
|
}
|
|
4274
4274
|
}
|
|
4275
|
-
const La =
|
|
4275
|
+
const La = oi.litHtmlPolyfillSupport;
|
|
4276
4276
|
var Ra;
|
|
4277
|
-
La == null || La(wt,
|
|
4277
|
+
La == null || La(wt, Ot), ((Ra = oi.litHtmlVersions) != null ? Ra : oi.litHtmlVersions = []).push("3.3.1");
|
|
4278
4278
|
const Go = (i, e, t) => {
|
|
4279
4279
|
var r, a;
|
|
4280
4280
|
const o = (r = t == null ? void 0 : t.renderBefore) != null ? r : e;
|
|
4281
4281
|
let n = o._$litPart$;
|
|
4282
4282
|
if (n === void 0) {
|
|
4283
4283
|
const s = (a = t == null ? void 0 : t.renderBefore) != null ? a : null;
|
|
4284
|
-
o._$litPart$ = n = new
|
|
4284
|
+
o._$litPart$ = n = new Ot(e.insertBefore(bt(), s), s, void 0, t != null ? t : {});
|
|
4285
4285
|
}
|
|
4286
4286
|
return n._$AI(i), n;
|
|
4287
4287
|
};
|
|
@@ -4327,7 +4327,7 @@ var Ha;
|
|
|
4327
4327
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
4328
4328
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
4329
4329
|
*/
|
|
4330
|
-
const
|
|
4330
|
+
const vi = (i) => class extends i {
|
|
4331
4331
|
static get properties() {
|
|
4332
4332
|
return { _theme: { type: String, readOnly: !0 } };
|
|
4333
4333
|
}
|
|
@@ -4343,7 +4343,7 @@ const _i = (i) => class extends i {
|
|
|
4343
4343
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
4344
4344
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
4345
4345
|
*/
|
|
4346
|
-
const Ko = [],
|
|
4346
|
+
const Ko = [], Ji = /* @__PURE__ */ new Set(), Tr = /* @__PURE__ */ new Set();
|
|
4347
4347
|
function Xo(i) {
|
|
4348
4348
|
return i && Object.prototype.hasOwnProperty.call(i, "__themes");
|
|
4349
4349
|
}
|
|
@@ -4351,7 +4351,7 @@ function yh(i) {
|
|
|
4351
4351
|
return Xo(customElements.get(i));
|
|
4352
4352
|
}
|
|
4353
4353
|
function wh(i = []) {
|
|
4354
|
-
return [i].flat(1 / 0).filter((e) => e instanceof
|
|
4354
|
+
return [i].flat(1 / 0).filter((e) => e instanceof Sr ? !0 : (console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."), !1));
|
|
4355
4355
|
}
|
|
4356
4356
|
function Qo(i, e) {
|
|
4357
4357
|
return (i || "").split(" ").some((t) => new RegExp(`^${t.split("*").join(".*")}$`, "u").test(e));
|
|
@@ -4360,10 +4360,10 @@ function Jo(i) {
|
|
|
4360
4360
|
return i.map((e) => e.cssText).join(`
|
|
4361
4361
|
`);
|
|
4362
4362
|
}
|
|
4363
|
-
const
|
|
4363
|
+
const si = "vaadin-themable-mixin-style";
|
|
4364
4364
|
function xh(i, e) {
|
|
4365
4365
|
const t = document.createElement("style");
|
|
4366
|
-
t.id =
|
|
4366
|
+
t.id = si, t.textContent = Jo(i), e.content.appendChild(t);
|
|
4367
4367
|
}
|
|
4368
4368
|
function Ch(i) {
|
|
4369
4369
|
if (!i.shadowRoot)
|
|
@@ -4372,14 +4372,14 @@ function Ch(i) {
|
|
|
4372
4372
|
if (i instanceof Ue)
|
|
4373
4373
|
[...i.shadowRoot.querySelectorAll("style")].forEach((t) => t.remove()), Bo(i.shadowRoot, e.elementStyles);
|
|
4374
4374
|
else {
|
|
4375
|
-
const t = i.shadowRoot.getElementById(
|
|
4376
|
-
t.textContent = r.content.getElementById(
|
|
4375
|
+
const t = i.shadowRoot.getElementById(si), r = e.prototype._template;
|
|
4376
|
+
t.textContent = r.content.getElementById(si).textContent;
|
|
4377
4377
|
}
|
|
4378
4378
|
}
|
|
4379
4379
|
function kh(i) {
|
|
4380
|
-
|
|
4380
|
+
Ji.forEach((e) => {
|
|
4381
4381
|
const t = e.deref();
|
|
4382
|
-
t instanceof i ? Ch(t) : t ||
|
|
4382
|
+
t instanceof i ? Ch(t) : t || Ji.delete(e);
|
|
4383
4383
|
});
|
|
4384
4384
|
}
|
|
4385
4385
|
function Zo(i) {
|
|
@@ -4387,7 +4387,7 @@ function Zo(i) {
|
|
|
4387
4387
|
i.elementStyles = i.finalizeStyles(i.styles);
|
|
4388
4388
|
else {
|
|
4389
4389
|
const e = i.prototype._template;
|
|
4390
|
-
e.content.getElementById(
|
|
4390
|
+
e.content.getElementById(si).textContent = Jo(i.getStylesForThis());
|
|
4391
4391
|
}
|
|
4392
4392
|
Tr.forEach((e) => {
|
|
4393
4393
|
const t = customElements.get(e);
|
|
@@ -4406,27 +4406,27 @@ function g(i, e, t = {}) {
|
|
|
4406
4406
|
}
|
|
4407
4407
|
});
|
|
4408
4408
|
}
|
|
4409
|
-
function
|
|
4409
|
+
function Zi() {
|
|
4410
4410
|
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() : Ko;
|
|
4411
4411
|
}
|
|
4412
|
-
function
|
|
4412
|
+
function Sh(i = "") {
|
|
4413
4413
|
let e = 0;
|
|
4414
4414
|
return i.startsWith("lumo-") || i.startsWith("material-") ? e = 1 : i.startsWith("vaadin-") && (e = 2), e;
|
|
4415
4415
|
}
|
|
4416
4416
|
function en(i) {
|
|
4417
4417
|
const e = [];
|
|
4418
4418
|
return i.include && [].concat(i.include).forEach((t) => {
|
|
4419
|
-
const r =
|
|
4419
|
+
const r = Zi().find((a) => a.moduleId === t);
|
|
4420
4420
|
r ? e.push(...en(r), ...r.styles) : console.warn(`Included moduleId ${t} not found in style registry`);
|
|
4421
4421
|
}, i.styles), e;
|
|
4422
4422
|
}
|
|
4423
|
-
function
|
|
4424
|
-
const e = `${i}-default-theme`, t =
|
|
4425
|
-
return t.length > 0 ? t :
|
|
4423
|
+
function Ih(i) {
|
|
4424
|
+
const e = `${i}-default-theme`, t = Zi().filter((r) => r.moduleId !== e && Qo(r.themeFor, i)).map((r) => Ho(ri({}, r), { styles: [...en(r), ...r.styles], includePriority: Sh(r.moduleId) })).sort((r, a) => a.includePriority - r.includePriority);
|
|
4425
|
+
return t.length > 0 ? t : Zi().filter((r) => r.moduleId === e);
|
|
4426
4426
|
}
|
|
4427
|
-
const z = (i) => class extends
|
|
4427
|
+
const z = (i) => class extends vi(i) {
|
|
4428
4428
|
constructor() {
|
|
4429
|
-
super(),
|
|
4429
|
+
super(), Ji.add(new WeakRef(this));
|
|
4430
4430
|
}
|
|
4431
4431
|
static finalize() {
|
|
4432
4432
|
if (super.finalize(), this.is && Tr.add(this.is), this.elementStyles)
|
|
@@ -4440,7 +4440,7 @@ const z = (i) => class extends _i(i) {
|
|
|
4440
4440
|
}
|
|
4441
4441
|
static getStylesForThis() {
|
|
4442
4442
|
const e = i.__themes || [], t = Object.getPrototypeOf(this.prototype), r = (t ? t.constructor.__themes : []) || [];
|
|
4443
|
-
this.__themes = [...e, ...r, ...
|
|
4443
|
+
this.__themes = [...e, ...r, ...Ih(this.is)];
|
|
4444
4444
|
const a = this.__themes.flatMap((o) => o.styles);
|
|
4445
4445
|
return a.filter((o, n) => n === a.lastIndexOf(o));
|
|
4446
4446
|
}
|
|
@@ -5335,19 +5335,19 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
5335
5335
|
Code distributed by Google as part of the polymer project is also
|
|
5336
5336
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
5337
5337
|
*/
|
|
5338
|
-
let Lh = /(url\()([^)]*)(\))/g, Rh = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/,
|
|
5338
|
+
let Lh = /(url\()([^)]*)(\))/g, Rh = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, Ut, re;
|
|
5339
5339
|
function gt(i, e) {
|
|
5340
5340
|
if (i && Rh.test(i) || i === "//")
|
|
5341
5341
|
return i;
|
|
5342
|
-
if (
|
|
5343
|
-
|
|
5342
|
+
if (Ut === void 0) {
|
|
5343
|
+
Ut = !1;
|
|
5344
5344
|
try {
|
|
5345
5345
|
const t = new URL("b", "http://a");
|
|
5346
|
-
t.pathname = "c%20d",
|
|
5346
|
+
t.pathname = "c%20d", Ut = t.href === "http://a/c%20d";
|
|
5347
5347
|
} catch (t) {
|
|
5348
5348
|
}
|
|
5349
5349
|
}
|
|
5350
|
-
if (e || (e = document.baseURI || window.location.href),
|
|
5350
|
+
if (e || (e = document.baseURI || window.location.href), Ut)
|
|
5351
5351
|
try {
|
|
5352
5352
|
return new URL(i, e).href;
|
|
5353
5353
|
} catch (t) {
|
|
@@ -5382,7 +5382,7 @@ const tn = !window.ShadyDOM || !window.ShadyDOM.inUse, Fh = tn && "adoptedStyleS
|
|
|
5382
5382
|
return !1;
|
|
5383
5383
|
}
|
|
5384
5384
|
})();
|
|
5385
|
-
let $h = window.Polymer && window.Polymer.rootPath || Ar(document.baseURI || window.location.href),
|
|
5385
|
+
let $h = window.Polymer && window.Polymer.rootPath || Ar(document.baseURI || window.location.href), li = window.Polymer && window.Polymer.sanitizeDOMValue || void 0, di = window.Polymer && window.Polymer.strictTemplatePolicy || !1, Hh = window.Polymer && window.Polymer.allowTemplateFromDomModule || !1, rn = window.Polymer && window.Polymer.legacyOptimizations || !1, an = window.Polymer && window.Polymer.legacyWarnings || !1, Bh = window.Polymer && window.Polymer.syncInitialRender || !1, er = window.Polymer && window.Polymer.legacyUndefined || !1, Uh = window.Polymer && window.Polymer.orderedComputed || !1, Ba = window.Polymer && window.Polymer.removeNestedTemplates || !1, qh = window.Polymer && window.Polymer.fastDomIf || !1, Ua = window.Polymer && window.Polymer.suppressTemplateNotifications || !1, jh = window.Polymer && window.Polymer.useAdoptedStyleSheetsWithBuiltCSS || !1;
|
|
5386
5386
|
/**
|
|
5387
5387
|
@license
|
|
5388
5388
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -5453,7 +5453,7 @@ class Ct extends HTMLElement {
|
|
|
5453
5453
|
}
|
|
5454
5454
|
register(e) {
|
|
5455
5455
|
if (e = e || this.id, e) {
|
|
5456
|
-
if (
|
|
5456
|
+
if (di && ja(e) !== void 0)
|
|
5457
5457
|
throw qa(e, null), new Error(`strictTemplatePolicy: dom-module ${e} re-registered`);
|
|
5458
5458
|
this.id = e, qa(e, this), Yh(this);
|
|
5459
5459
|
}
|
|
@@ -5549,7 +5549,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
5549
5549
|
Code distributed by Google as part of the polymer project is also
|
|
5550
5550
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
5551
5551
|
*/
|
|
5552
|
-
function
|
|
5552
|
+
function tr(i) {
|
|
5553
5553
|
return i.indexOf(".") >= 0;
|
|
5554
5554
|
}
|
|
5555
5555
|
function ze(i) {
|
|
@@ -5615,12 +5615,12 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
5615
5615
|
Code distributed by Google as part of the polymer project is also
|
|
5616
5616
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
5617
5617
|
*/
|
|
5618
|
-
const
|
|
5618
|
+
const hi = {}, ec = /-[a-z]/g, tc = /([A-Z])/g;
|
|
5619
5619
|
function cn(i) {
|
|
5620
|
-
return
|
|
5620
|
+
return hi[i] || (hi[i] = i.indexOf("-") < 0 ? i : i.replace(ec, (e) => e[1].toUpperCase()));
|
|
5621
5621
|
}
|
|
5622
|
-
function
|
|
5623
|
-
return
|
|
5622
|
+
function gi(i) {
|
|
5623
|
+
return hi[i] || (hi[i] = i.replace(tc, "-$1").toLowerCase());
|
|
5624
5624
|
}
|
|
5625
5625
|
/**
|
|
5626
5626
|
@license
|
|
@@ -5631,10 +5631,10 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
5631
5631
|
Code distributed by Google as part of the polymer project is also
|
|
5632
5632
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
5633
5633
|
*/
|
|
5634
|
-
let ic = 0, un = 0, qe = [], rc = 0,
|
|
5634
|
+
let ic = 0, un = 0, qe = [], rc = 0, ir = !1, pn = document.createTextNode("");
|
|
5635
5635
|
new window.MutationObserver(ac).observe(pn, { characterData: !0 });
|
|
5636
5636
|
function ac() {
|
|
5637
|
-
|
|
5637
|
+
ir = !1;
|
|
5638
5638
|
const i = qe.length;
|
|
5639
5639
|
for (let e = 0; e < i; e++) {
|
|
5640
5640
|
let t = qe[e];
|
|
@@ -5660,7 +5660,7 @@ const oc = { after(i) {
|
|
|
5660
5660
|
}, cancel(i) {
|
|
5661
5661
|
window.clearTimeout(i);
|
|
5662
5662
|
} }, mn = { run(i) {
|
|
5663
|
-
return
|
|
5663
|
+
return ir || (ir = !0, pn.textContent = rc++), qe.push(i), ic++;
|
|
5664
5664
|
}, cancel(i) {
|
|
5665
5665
|
const e = i - un;
|
|
5666
5666
|
if (e >= 0) {
|
|
@@ -5800,12 +5800,12 @@ Code distributed by Google as part of the polymer project is also
|
|
|
5800
5800
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
5801
5801
|
*/
|
|
5802
5802
|
const _n = {};
|
|
5803
|
-
let
|
|
5804
|
-
for (;
|
|
5805
|
-
let i = Object.getOwnPropertyNames(
|
|
5803
|
+
let qt = HTMLElement.prototype;
|
|
5804
|
+
for (; qt; ) {
|
|
5805
|
+
let i = Object.getOwnPropertyNames(qt);
|
|
5806
5806
|
for (let e = 0; e < i.length; e++)
|
|
5807
5807
|
_n[i[e]] = !0;
|
|
5808
|
-
|
|
5808
|
+
qt = Object.getPrototypeOf(qt);
|
|
5809
5809
|
}
|
|
5810
5810
|
const sc = window.trustedTypes ? (i) => trustedTypes.isHTML(i) || trustedTypes.isScript(i) || trustedTypes.isScriptURL(i) : () => !1;
|
|
5811
5811
|
function lc(i, e) {
|
|
@@ -5823,7 +5823,7 @@ const dc = U((i) => {
|
|
|
5823
5823
|
this.prototype._createPropertyAccessor(cn(a[o]));
|
|
5824
5824
|
}
|
|
5825
5825
|
static attributeNameForProperty(a) {
|
|
5826
|
-
return
|
|
5826
|
+
return gi(a);
|
|
5827
5827
|
}
|
|
5828
5828
|
_initializeProperties() {
|
|
5829
5829
|
this.__dataProto && (this._initializeProtoProperties(this.__dataProto), this.__dataProto = null), super._initializeProperties();
|
|
@@ -6047,9 +6047,9 @@ const bc = U((i) => {
|
|
|
6047
6047
|
* Google as part of the polymer project is also subject to an additional IP
|
|
6048
6048
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6049
6049
|
*/
|
|
6050
|
-
let
|
|
6051
|
-
const
|
|
6052
|
-
function
|
|
6050
|
+
let St = 0;
|
|
6051
|
+
const It = [], P = { COMPUTE: "__computeEffects", REFLECT: "__reflectEffects", NOTIFY: "__notifyEffects", PROPAGATE: "__propagateEffects", OBSERVE: "__observeEffects", READ_ONLY: "__readOnly" }, gn = "__computeInfo", yc = /[A-Z]/;
|
|
6052
|
+
function Mi(i, e, t) {
|
|
6053
6053
|
let r = i[e];
|
|
6054
6054
|
if (!r)
|
|
6055
6055
|
r = i[e] = {};
|
|
@@ -6064,7 +6064,7 @@ function Vi(i, e, t) {
|
|
|
6064
6064
|
function ft(i, e, t, r, a, o) {
|
|
6065
6065
|
if (e) {
|
|
6066
6066
|
let n = !1;
|
|
6067
|
-
const s =
|
|
6067
|
+
const s = St++;
|
|
6068
6068
|
for (let l in t) {
|
|
6069
6069
|
let d = a ? ze(l) : l, h = e[d];
|
|
6070
6070
|
if (h)
|
|
@@ -6094,7 +6094,7 @@ function Qa(i, e, t, r, a) {
|
|
|
6094
6094
|
o ? o.call(i, i.__data[n], r[n]) : a.dynamicFn || console.warn("observer method `" + a.method + "` not defined");
|
|
6095
6095
|
}
|
|
6096
6096
|
function xc(i, e, t, r, a) {
|
|
6097
|
-
let o = i[P.NOTIFY], n, s =
|
|
6097
|
+
let o = i[P.NOTIFY], n, s = St++;
|
|
6098
6098
|
for (let d in e)
|
|
6099
6099
|
e[d] && (o && wc(i, o, s, d, t, r, a) || a && Cc(i, d, t)) && (n = !0);
|
|
6100
6100
|
let l;
|
|
@@ -6103,7 +6103,7 @@ function xc(i, e, t, r, a) {
|
|
|
6103
6103
|
function Cc(i, e, t) {
|
|
6104
6104
|
let r = ze(e);
|
|
6105
6105
|
if (r !== e) {
|
|
6106
|
-
let a =
|
|
6106
|
+
let a = gi(r) + "-changed";
|
|
6107
6107
|
return bn(i, a, t[e], e), !0;
|
|
6108
6108
|
}
|
|
6109
6109
|
return !1;
|
|
@@ -6120,15 +6120,15 @@ function Ec(i, e, t, r, a) {
|
|
|
6120
6120
|
let o, n = i.detail, s = n && n.path;
|
|
6121
6121
|
s ? (r = Et(t, r, s), o = n && n.value) : o = i.currentTarget[t], o = a ? !o : o, (!e[P.READ_ONLY] || !e[P.READ_ONLY][r]) && e._setPendingPropertyOrPath(r, o, !0, !!s) && (!n || !n.queueProperty) && e._invalidateProperties();
|
|
6122
6122
|
}
|
|
6123
|
-
function
|
|
6123
|
+
function Sc(i, e, t, r, a) {
|
|
6124
6124
|
let o = i.__data[e];
|
|
6125
|
-
|
|
6125
|
+
li && (o = li(o, a.attrName, "attribute", i)), i._propertyToAttribute(e, a.attrName, o);
|
|
6126
6126
|
}
|
|
6127
|
-
function
|
|
6127
|
+
function Ic(i, e, t, r) {
|
|
6128
6128
|
let a = i[P.COMPUTE];
|
|
6129
6129
|
if (a)
|
|
6130
6130
|
if (Uh) {
|
|
6131
|
-
|
|
6131
|
+
St++;
|
|
6132
6132
|
const o = Pc(i), n = [];
|
|
6133
6133
|
for (let l in e)
|
|
6134
6134
|
Ja(l, a, n, o, r);
|
|
@@ -6161,7 +6161,7 @@ const Tc = (i, e, t) => {
|
|
|
6161
6161
|
if (n)
|
|
6162
6162
|
for (let s = 0; s < n.length; s++) {
|
|
6163
6163
|
const l = n[s];
|
|
6164
|
-
l.info.lastRun !==
|
|
6164
|
+
l.info.lastRun !== St && (!a || Or(i, l.trigger)) && (l.info.lastRun = St, Tc(l.info, t, r));
|
|
6165
6165
|
}
|
|
6166
6166
|
};
|
|
6167
6167
|
function Pc(i) {
|
|
@@ -6194,8 +6194,8 @@ function Ac(i) {
|
|
|
6194
6194
|
return { counts: t, ready: a, total: o };
|
|
6195
6195
|
}
|
|
6196
6196
|
function yn(i, e, t, r, a) {
|
|
6197
|
-
let o =
|
|
6198
|
-
if (o ===
|
|
6197
|
+
let o = rr(i, e, t, r, a);
|
|
6198
|
+
if (o === It)
|
|
6199
6199
|
return !1;
|
|
6200
6200
|
let n = a.methodInfo;
|
|
6201
6201
|
return i.__dataHasAccessor && i.__dataHasAccessor[n] ? i._setPendingProperty(n, o, !0) : (i[n] = o, !1);
|
|
@@ -6210,12 +6210,12 @@ function Dc(i, e, t) {
|
|
|
6210
6210
|
}
|
|
6211
6211
|
}
|
|
6212
6212
|
}
|
|
6213
|
-
function
|
|
6213
|
+
function zi(i, e, t, r, a, o, n) {
|
|
6214
6214
|
t.bindings = t.bindings || [];
|
|
6215
6215
|
let s = { kind: r, target: a, parts: o, literal: n, isCompound: o.length !== 1 };
|
|
6216
6216
|
if (t.bindings.push(s), Nc(s)) {
|
|
6217
6217
|
let { event: d, negate: h } = s.parts[0];
|
|
6218
|
-
s.listenerEvent = d ||
|
|
6218
|
+
s.listenerEvent = d || gi(a) + "-changed", s.listenerNegate = h;
|
|
6219
6219
|
}
|
|
6220
6220
|
let l = e.nodeInfoList.length;
|
|
6221
6221
|
for (let d = 0; d < s.parts.length; d++) {
|
|
@@ -6242,11 +6242,11 @@ function Vc(i, e, t, r, a, o, n) {
|
|
|
6242
6242
|
e = Et(d.source, l.target, e), s._setPendingPropertyOrPath(e, h, !1, !0) && i._enqueueClient(s);
|
|
6243
6243
|
} else {
|
|
6244
6244
|
let h = a.evaluator._evaluateBinding(i, d, e, t, r, o);
|
|
6245
|
-
h !==
|
|
6245
|
+
h !== It && Mc(i, s, l, d, h);
|
|
6246
6246
|
}
|
|
6247
6247
|
}
|
|
6248
6248
|
function Mc(i, e, t, r, a) {
|
|
6249
|
-
if (a = zc(e, a, t, r),
|
|
6249
|
+
if (a = zc(e, a, t, r), li && (a = li(a, t.target, t.kind, e)), t.kind == "attribute")
|
|
6250
6250
|
i._valueToNodeAttribute(e, a, t.target);
|
|
6251
6251
|
else {
|
|
6252
6252
|
let o = t.target;
|
|
@@ -6300,11 +6300,11 @@ function Za(i, e, t, r, a, o) {
|
|
|
6300
6300
|
l.literal || i._addPropertyEffect(l.rootProperty, t, { fn: r, info: n, trigger: l });
|
|
6301
6301
|
return o && i._addPropertyEffect(e.methodName, t, { fn: r, info: n }), n;
|
|
6302
6302
|
}
|
|
6303
|
-
function
|
|
6303
|
+
function rr(i, e, t, r, a) {
|
|
6304
6304
|
let o = i._methodHost || i, n = o[a.methodName];
|
|
6305
6305
|
if (n) {
|
|
6306
6306
|
let s = i._marshalArgs(a.args, e, t);
|
|
6307
|
-
return s ===
|
|
6307
|
+
return s === It ? It : n.apply(o, s);
|
|
6308
6308
|
} else
|
|
6309
6309
|
a.dynamicFn || console.warn("method `" + a.methodName + "` not defined");
|
|
6310
6310
|
}
|
|
@@ -6317,7 +6317,7 @@ function io(i) {
|
|
|
6317
6317
|
}
|
|
6318
6318
|
return e;
|
|
6319
6319
|
}
|
|
6320
|
-
function
|
|
6320
|
+
function Ni(i) {
|
|
6321
6321
|
let e = i.match(/([^\s]+?)\(([\s\S]*)\)/);
|
|
6322
6322
|
if (e) {
|
|
6323
6323
|
let t = { methodName: e[1], static: !0, args: $c };
|
|
@@ -6346,7 +6346,7 @@ function xn(i) {
|
|
|
6346
6346
|
t.value = Number(e), t.literal = !0;
|
|
6347
6347
|
break;
|
|
6348
6348
|
}
|
|
6349
|
-
return t.literal || (t.rootProperty = ze(e), t.structured =
|
|
6349
|
+
return t.literal || (t.rootProperty = ze(e), t.structured = tr(e), t.structured && (t.wildcard = e.slice(-2) == ".*", t.wildcard && (t.name = e.slice(0, -2)))), t;
|
|
6350
6350
|
}
|
|
6351
6351
|
function ro(i, e, t) {
|
|
6352
6352
|
let r = ee(i, t);
|
|
@@ -6354,7 +6354,7 @@ function ro(i, e, t) {
|
|
|
6354
6354
|
}
|
|
6355
6355
|
function Cn(i, e, t, r) {
|
|
6356
6356
|
const a = { indexSplices: r };
|
|
6357
|
-
|
|
6357
|
+
er && !i._overrideLegacyUndefined && (e.splices = a), i.notifyPath(t + ".splices", a), i.notifyPath(t + ".length", e.length), er && !i._overrideLegacyUndefined && (a.indexSplices = []);
|
|
6358
6358
|
}
|
|
6359
6359
|
function ht(i, e, t, r, a, o) {
|
|
6360
6360
|
Cn(i, e, t, [{ index: r, addedCount: a, removed: o, object: e, type: "splice" }]);
|
|
@@ -6390,11 +6390,11 @@ const Vr = U((i) => {
|
|
|
6390
6390
|
}
|
|
6391
6391
|
_addPropertyEffect(a, o, n) {
|
|
6392
6392
|
this._createPropertyAccessor(a, o == P.READ_ONLY);
|
|
6393
|
-
let s =
|
|
6393
|
+
let s = Mi(this, o, !0)[a];
|
|
6394
6394
|
s || (s = this[o][a] = []), s.push(n);
|
|
6395
6395
|
}
|
|
6396
6396
|
_removePropertyEffect(a, o, n) {
|
|
6397
|
-
let s =
|
|
6397
|
+
let s = Mi(this, o, !0)[a], l = s.indexOf(n);
|
|
6398
6398
|
l >= 0 && s.splice(l, 1);
|
|
6399
6399
|
}
|
|
6400
6400
|
_hasPropertyEffect(a, o) {
|
|
@@ -6433,7 +6433,7 @@ const Vr = U((i) => {
|
|
|
6433
6433
|
(n !== a[o] || typeof n == "object") && (o === "className" && (a = X(a)), a[o] = n);
|
|
6434
6434
|
}
|
|
6435
6435
|
_setPendingProperty(a, o, n) {
|
|
6436
|
-
let s = this.__dataHasPaths &&
|
|
6436
|
+
let s = this.__dataHasPaths && tr(a), l = s ? this.__dataTemp : this.__data;
|
|
6437
6437
|
return this._shouldPropertyChange(a, o, l[a]) ? (this.__dataPending || (this.__dataPending = {}, this.__dataOld = {}), a in this.__dataOld || (this.__dataOld[a] = this.__data[a]), s ? this.__dataTemp[a] = o : this.__data[a] = o, this.__dataPending[a] = o, (s || this[P.NOTIFY] && this[P.NOTIFY][a]) && (this.__dataToNotify = this.__dataToNotify || {}, this.__dataToNotify[a] = n), !0) : !1;
|
|
6438
6438
|
}
|
|
6439
6439
|
_setProperty(a, o) {
|
|
@@ -6473,7 +6473,7 @@ const Vr = U((i) => {
|
|
|
6473
6473
|
let s = this.__dataHasPaths;
|
|
6474
6474
|
this.__dataHasPaths = !1;
|
|
6475
6475
|
let l;
|
|
6476
|
-
|
|
6476
|
+
Ic(this, o, n, s), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(o, n, s), this._flushClients(), ft(this, this[P.REFLECT], o, n, s), ft(this, this[P.OBSERVE], o, n, s), l && xc(this, l, o, n, s), this.__dataCounter == 1 && (this.__dataTemp = {});
|
|
6477
6477
|
}
|
|
6478
6478
|
_propagatePropertyChanges(a, o, n) {
|
|
6479
6479
|
this[P.PROPAGATE] && ft(this, this[P.PROPAGATE], a, o, n), this.__templateInfo && this._runEffectsForTemplate(this.__templateInfo, a, o, n);
|
|
@@ -6543,24 +6543,24 @@ const Vr = U((i) => {
|
|
|
6543
6543
|
this._addPropertyEffect(a, P.OBSERVE, { fn: Qa, info: s, trigger: { name: a } }), n && this._addPropertyEffect(o, P.OBSERVE, { fn: Qa, info: s, trigger: { name: o } });
|
|
6544
6544
|
}
|
|
6545
6545
|
_createMethodObserver(a, o) {
|
|
6546
|
-
let n =
|
|
6546
|
+
let n = Ni(a);
|
|
6547
6547
|
if (!n)
|
|
6548
6548
|
throw new Error("Malformed observer expression '" + a + "'");
|
|
6549
|
-
Za(this, n, P.OBSERVE,
|
|
6549
|
+
Za(this, n, P.OBSERVE, rr, null, o);
|
|
6550
6550
|
}
|
|
6551
6551
|
_createNotifyingProperty(a) {
|
|
6552
|
-
this._addPropertyEffect(a, P.NOTIFY, { fn: kc, info: { eventName:
|
|
6552
|
+
this._addPropertyEffect(a, P.NOTIFY, { fn: kc, info: { eventName: gi(a) + "-changed", property: a } });
|
|
6553
6553
|
}
|
|
6554
6554
|
_createReflectedProperty(a) {
|
|
6555
6555
|
let o = this.constructor.attributeNameForProperty(a);
|
|
6556
|
-
o[0] === "-" ? console.warn("Property " + a + " cannot be reflected to attribute " + o + ' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.') : this._addPropertyEffect(a, P.REFLECT, { fn:
|
|
6556
|
+
o[0] === "-" ? console.warn("Property " + a + " cannot be reflected to attribute " + o + ' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.') : this._addPropertyEffect(a, P.REFLECT, { fn: Sc, info: { attrName: o } });
|
|
6557
6557
|
}
|
|
6558
6558
|
_createComputedProperty(a, o, n) {
|
|
6559
|
-
let s =
|
|
6559
|
+
let s = Ni(o);
|
|
6560
6560
|
if (!s)
|
|
6561
6561
|
throw new Error("Malformed computed expression '" + o + "'");
|
|
6562
6562
|
const l = Za(this, s, P.COMPUTE, yn, a, n);
|
|
6563
|
-
|
|
6563
|
+
Mi(this, gn)[a] = l;
|
|
6564
6564
|
}
|
|
6565
6565
|
_marshalArgs(a, o, n) {
|
|
6566
6566
|
const s = this.__data, l = [];
|
|
@@ -6568,12 +6568,12 @@ const Vr = U((i) => {
|
|
|
6568
6568
|
let { name: c, structured: p, wildcard: m, value: y, literal: N } = a[d];
|
|
6569
6569
|
if (!N)
|
|
6570
6570
|
if (m) {
|
|
6571
|
-
const
|
|
6572
|
-
y = { path:
|
|
6571
|
+
const O = kt(c, o), V = ro(s, n, O ? o : c);
|
|
6572
|
+
y = { path: O ? o : c, value: V, base: O ? ee(s, c) : V };
|
|
6573
6573
|
} else
|
|
6574
6574
|
y = p ? ro(s, n, c) : s[c];
|
|
6575
|
-
if (
|
|
6576
|
-
return
|
|
6575
|
+
if (er && !this._overrideLegacyUndefined && y === void 0 && a.length > 1)
|
|
6576
|
+
return It;
|
|
6577
6577
|
l[d] = y;
|
|
6578
6578
|
}
|
|
6579
6579
|
return l;
|
|
@@ -6647,7 +6647,7 @@ const Vr = U((i) => {
|
|
|
6647
6647
|
let s = e._parseTemplateNode.call(this, a, o, n);
|
|
6648
6648
|
if (a.nodeType === Node.TEXT_NODE) {
|
|
6649
6649
|
let l = this._parseBindings(a.textContent, o);
|
|
6650
|
-
l && (a.textContent = io(l) || " ",
|
|
6650
|
+
l && (a.textContent = io(l) || " ", zi(this, o, n, "text", "textContent", l), s = !0);
|
|
6651
6651
|
}
|
|
6652
6652
|
return s;
|
|
6653
6653
|
}
|
|
@@ -6657,7 +6657,7 @@ const Vr = U((i) => {
|
|
|
6657
6657
|
let h = s, c = "property";
|
|
6658
6658
|
yc.test(s) ? c = "attribute" : s[s.length - 1] == "$" && (s = s.slice(0, -1), c = "attribute");
|
|
6659
6659
|
let p = io(d);
|
|
6660
|
-
return p && c == "attribute" && (s == "class" && a.hasAttribute("class") && (p += " " + a.getAttribute(s)), a.setAttribute(s, p)), c == "attribute" && h == "disable-upgrade$" && a.setAttribute(s, ""), a.localName === "input" && h === "value" && a.setAttribute(h, ""), a.removeAttribute(h), c === "property" && (s = cn(s)),
|
|
6660
|
+
return p && c == "attribute" && (s == "class" && a.hasAttribute("class") && (p += " " + a.getAttribute(s)), a.setAttribute(s, p)), c == "attribute" && h == "disable-upgrade$" && a.setAttribute(s, ""), a.localName === "input" && h === "value" && a.setAttribute(h, ""), a.removeAttribute(h), c === "property" && (s = cn(s)), zi(this, o, n, c, s, d, p), !0;
|
|
6661
6661
|
} else
|
|
6662
6662
|
return e._parseTemplateNodeAttribute.call(this, a, o, n, s, l);
|
|
6663
6663
|
}
|
|
@@ -6672,7 +6672,7 @@ const Vr = U((i) => {
|
|
|
6672
6672
|
let m = "{";
|
|
6673
6673
|
for (let y in p) {
|
|
6674
6674
|
let N = [{ mode: m, source: y, dependencies: [y], hostProp: !0 }];
|
|
6675
|
-
|
|
6675
|
+
zi(this, o, n, "property", "_host_" + y, N);
|
|
6676
6676
|
}
|
|
6677
6677
|
}
|
|
6678
6678
|
return s;
|
|
@@ -6683,18 +6683,18 @@ const Vr = U((i) => {
|
|
|
6683
6683
|
l.index > s && n.push({ literal: a.slice(s, l.index) });
|
|
6684
6684
|
let d = l[1][0], h = !!l[2], c = l[3].trim(), p = !1, m = "", y = -1;
|
|
6685
6685
|
d == "{" && (y = c.indexOf("::")) > 0 && (m = c.substring(y + 2), c = c.substring(0, y), p = !0);
|
|
6686
|
-
let N =
|
|
6686
|
+
let N = Ni(c), O = [];
|
|
6687
6687
|
if (N) {
|
|
6688
|
-
let { args:
|
|
6689
|
-
for (let W = 0; W <
|
|
6690
|
-
let de =
|
|
6691
|
-
de.literal ||
|
|
6688
|
+
let { args: V, methodName: T } = N;
|
|
6689
|
+
for (let W = 0; W < V.length; W++) {
|
|
6690
|
+
let de = V[W];
|
|
6691
|
+
de.literal || O.push(de);
|
|
6692
6692
|
}
|
|
6693
6693
|
let j = o.dynamicFns;
|
|
6694
|
-
(j && j[T] || N.static) && (
|
|
6694
|
+
(j && j[T] || N.static) && (O.push(T), N.dynamicFn = !0);
|
|
6695
6695
|
} else
|
|
6696
|
-
|
|
6697
|
-
n.push({ source: c, mode: d, negate: h, customEvent: p, signature: N, dependencies:
|
|
6696
|
+
O.push(c);
|
|
6697
|
+
n.push({ source: c, mode: d, negate: h, customEvent: p, signature: N, dependencies: O, event: m }), s = to.lastIndex;
|
|
6698
6698
|
}
|
|
6699
6699
|
if (s && s < a.length) {
|
|
6700
6700
|
let d = a.substring(s);
|
|
@@ -6704,7 +6704,7 @@ const Vr = U((i) => {
|
|
|
6704
6704
|
}
|
|
6705
6705
|
static _evaluateBinding(a, o, n, s, l, d) {
|
|
6706
6706
|
let h;
|
|
6707
|
-
return o.signature ? h =
|
|
6707
|
+
return o.signature ? h = rr(a, n, s, l, o.signature) : n != o.source ? h = ee(a, o.source) : d && tr(n) ? h = ee(a, n) : h = a.__data[n], o.negate && (h = !h), h;
|
|
6708
6708
|
}
|
|
6709
6709
|
}
|
|
6710
6710
|
return t;
|
|
@@ -6826,14 +6826,14 @@ const iu = "3.5.2", ao = window.ShadyCSS && window.ShadyCSS.cssBuild, ru = U((i)
|
|
|
6826
6826
|
function o(l, d, h, c) {
|
|
6827
6827
|
if (!ao) {
|
|
6828
6828
|
const p = d.content.querySelectorAll("style"), m = sn(d), y = Jh(h), N = d.content.firstElementChild;
|
|
6829
|
-
for (let
|
|
6830
|
-
let T = y[
|
|
6829
|
+
for (let V = 0; V < y.length; V++) {
|
|
6830
|
+
let T = y[V];
|
|
6831
6831
|
T.textContent = l._processStyleText(T.textContent, c), d.content.insertBefore(T, N);
|
|
6832
6832
|
}
|
|
6833
|
-
let
|
|
6834
|
-
for (let
|
|
6835
|
-
let T = m[
|
|
6836
|
-
j !== T ? (T = T.cloneNode(!0), j.parentNode.insertBefore(T, j)) :
|
|
6833
|
+
let O = 0;
|
|
6834
|
+
for (let V = 0; V < m.length; V++) {
|
|
6835
|
+
let T = m[V], j = p[O];
|
|
6836
|
+
j !== T ? (T = T.cloneNode(!0), j.parentNode.insertBefore(T, j)) : O++, T.textContent = l._processStyleText(T.textContent, c);
|
|
6837
6837
|
}
|
|
6838
6838
|
}
|
|
6839
6839
|
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(d, h), jh && ao && Fh) {
|
|
@@ -6848,7 +6848,7 @@ const iu = "3.5.2", ao = window.ShadyCSS && window.ShadyCSS.cssBuild, ru = U((i)
|
|
|
6848
6848
|
}
|
|
6849
6849
|
function n(l) {
|
|
6850
6850
|
let d = null;
|
|
6851
|
-
if (l && (!
|
|
6851
|
+
if (l && (!di || Hh) && (d = Ct.import(l, "template"), di && !d))
|
|
6852
6852
|
throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);
|
|
6853
6853
|
return d;
|
|
6854
6854
|
}
|
|
@@ -6967,7 +6967,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
6967
6967
|
const oo = window.trustedTypes && trustedTypes.createPolicy("polymer-html-literal", { createHTML: (i) => i });
|
|
6968
6968
|
class kn {
|
|
6969
6969
|
constructor(e, t) {
|
|
6970
|
-
|
|
6970
|
+
Sn(e, t);
|
|
6971
6971
|
const r = t.reduce((a, o, n) => a + En(o) + e[n + 1], e[0]);
|
|
6972
6972
|
this.value = r.toString();
|
|
6973
6973
|
}
|
|
@@ -6988,11 +6988,11 @@ function au(i) {
|
|
|
6988
6988
|
throw new Error(`non-template value passed to Polymer's html function: ${i}`);
|
|
6989
6989
|
}
|
|
6990
6990
|
const k = function(i, ...e) {
|
|
6991
|
-
|
|
6991
|
+
Sn(i, e);
|
|
6992
6992
|
const t = document.createElement("template");
|
|
6993
6993
|
let r = e.reduce((a, o, n) => a + au(o) + i[n + 1], i[0]);
|
|
6994
6994
|
return oo && (r = oo.createHTML(r)), t.innerHTML = r, t;
|
|
6995
|
-
},
|
|
6995
|
+
}, Sn = (i, e) => {
|
|
6996
6996
|
if (!Array.isArray(i) || !Array.isArray(i.raw) || e.length !== i.length - 1)
|
|
6997
6997
|
throw new TypeError("Invalid call to the html template tag");
|
|
6998
6998
|
};
|
|
@@ -7005,16 +7005,16 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
7005
7005
|
Code distributed by Google as part of the polymer project is also
|
|
7006
7006
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7007
7007
|
*/
|
|
7008
|
-
const E = ru(HTMLElement), ou = /\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i,
|
|
7008
|
+
const E = ru(HTMLElement), ou = /\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i, Jt = window.Vaadin && window.Vaadin.Flow && window.Vaadin.Flow.clients;
|
|
7009
7009
|
function nu() {
|
|
7010
7010
|
function i() {
|
|
7011
7011
|
return !0;
|
|
7012
7012
|
}
|
|
7013
|
-
return
|
|
7013
|
+
return In(i);
|
|
7014
7014
|
}
|
|
7015
7015
|
function su() {
|
|
7016
7016
|
try {
|
|
7017
|
-
return lu() ? !0 : du() ?
|
|
7017
|
+
return lu() ? !0 : du() ? Jt ? !hu() : !nu() : !1;
|
|
7018
7018
|
} catch (i) {
|
|
7019
7019
|
return !1;
|
|
7020
7020
|
}
|
|
@@ -7026,9 +7026,9 @@ function du() {
|
|
|
7026
7026
|
return ["localhost", "127.0.0.1"].indexOf(window.location.hostname) >= 0;
|
|
7027
7027
|
}
|
|
7028
7028
|
function hu() {
|
|
7029
|
-
return !!(
|
|
7029
|
+
return !!(Jt && Object.keys(Jt).map((i) => Jt[i]).filter((i) => i.productionMode).length > 0);
|
|
7030
7030
|
}
|
|
7031
|
-
function
|
|
7031
|
+
function In(i, e) {
|
|
7032
7032
|
if (typeof i != "function")
|
|
7033
7033
|
return;
|
|
7034
7034
|
const t = ou.exec(i.toString());
|
|
@@ -7043,7 +7043,7 @@ function Sn(i, e) {
|
|
|
7043
7043
|
window.Vaadin = window.Vaadin || {};
|
|
7044
7044
|
const no = function(i, e) {
|
|
7045
7045
|
if (window.Vaadin.developmentMode)
|
|
7046
|
-
return
|
|
7046
|
+
return In(i, e);
|
|
7047
7047
|
};
|
|
7048
7048
|
window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode = su());
|
|
7049
7049
|
function cu() {
|
|
@@ -7542,9 +7542,9 @@ const uu = function() {
|
|
|
7542
7542
|
*/
|
|
7543
7543
|
let so = 0, Tn = 0;
|
|
7544
7544
|
const je = [];
|
|
7545
|
-
let
|
|
7545
|
+
let ar = !1;
|
|
7546
7546
|
function pu() {
|
|
7547
|
-
|
|
7547
|
+
ar = !1;
|
|
7548
7548
|
const i = je.length;
|
|
7549
7549
|
for (let e = 0; e < i; e++) {
|
|
7550
7550
|
const t = je[e];
|
|
@@ -7577,8 +7577,8 @@ const ke = { after(i) {
|
|
|
7577
7577
|
return window.requestIdleCallback ? window.requestIdleCallback(i) : window.setTimeout(i, 16);
|
|
7578
7578
|
}, cancel(i) {
|
|
7579
7579
|
window.cancelIdleCallback ? window.cancelIdleCallback(i) : window.clearTimeout(i);
|
|
7580
|
-
} },
|
|
7581
|
-
|
|
7580
|
+
} }, ci = { run(i) {
|
|
7581
|
+
ar || (ar = !0, queueMicrotask(() => pu())), je.push(i);
|
|
7582
7582
|
const e = so;
|
|
7583
7583
|
return so += 1, e;
|
|
7584
7584
|
}, cancel(i) {
|
|
@@ -7599,9 +7599,9 @@ Code distributed by Google as part of the polymer project is also
|
|
|
7599
7599
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7600
7600
|
*/
|
|
7601
7601
|
const Pt = /* @__PURE__ */ new Set();
|
|
7602
|
-
let ae = class
|
|
7602
|
+
let ae = class or {
|
|
7603
7603
|
static debounce(e, t, r) {
|
|
7604
|
-
return e instanceof
|
|
7604
|
+
return e instanceof or ? e._cancelAsync() : e = new or(), e.setConfig(t, r), e;
|
|
7605
7605
|
}
|
|
7606
7606
|
constructor() {
|
|
7607
7607
|
this._asyncModule = null, this._callback = null, this._timer = null;
|
|
@@ -7651,16 +7651,16 @@ const _t = () => {
|
|
|
7651
7651
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7652
7652
|
*/
|
|
7653
7653
|
const fe = [];
|
|
7654
|
-
function
|
|
7654
|
+
function nr(i, e, t = i.getAttribute("dir")) {
|
|
7655
7655
|
e ? i.setAttribute("dir", e) : t != null && i.removeAttribute("dir");
|
|
7656
7656
|
}
|
|
7657
|
-
function
|
|
7657
|
+
function sr() {
|
|
7658
7658
|
return document.documentElement.getAttribute("dir");
|
|
7659
7659
|
}
|
|
7660
7660
|
function fu() {
|
|
7661
|
-
const i =
|
|
7661
|
+
const i = sr();
|
|
7662
7662
|
fe.forEach((e) => {
|
|
7663
|
-
|
|
7663
|
+
nr(e, i);
|
|
7664
7664
|
});
|
|
7665
7665
|
}
|
|
7666
7666
|
const _u = new MutationObserver(fu);
|
|
@@ -7673,13 +7673,13 @@ const oe = (i) => class extends i {
|
|
|
7673
7673
|
return this.getAttribute("dir") === "rtl";
|
|
7674
7674
|
}
|
|
7675
7675
|
connectedCallback() {
|
|
7676
|
-
super.connectedCallback(), (!this.hasAttribute("dir") || this.__restoreSubscription) && (this.__subscribe(),
|
|
7676
|
+
super.connectedCallback(), (!this.hasAttribute("dir") || this.__restoreSubscription) && (this.__subscribe(), nr(this, sr(), null));
|
|
7677
7677
|
}
|
|
7678
7678
|
attributeChangedCallback(e, t, r) {
|
|
7679
7679
|
if (super.attributeChangedCallback(e, t, r), e !== "dir")
|
|
7680
7680
|
return;
|
|
7681
|
-
const a =
|
|
7682
|
-
o || n ? (this.__subscribe(),
|
|
7681
|
+
const a = sr(), o = r === a && fe.indexOf(this) === -1, n = !r && t && fe.indexOf(this) === -1;
|
|
7682
|
+
o || n ? (this.__subscribe(), nr(this, a, r)) : r !== a && t === a && this.__unsubscribe();
|
|
7683
7683
|
}
|
|
7684
7684
|
disconnectedCallback() {
|
|
7685
7685
|
super.disconnectedCallback(), this.__restoreSubscription = fe.includes(this), this.__unsubscribe();
|
|
@@ -7708,14 +7708,14 @@ window.Vaadin.developmentModeCallback || (window.Vaadin.developmentModeCallback
|
|
|
7708
7708
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"] = function() {
|
|
7709
7709
|
uu();
|
|
7710
7710
|
};
|
|
7711
|
-
let
|
|
7711
|
+
let Li;
|
|
7712
7712
|
const lo = /* @__PURE__ */ new Set(), ne = (i) => class extends oe(i) {
|
|
7713
7713
|
static finalize() {
|
|
7714
7714
|
super.finalize();
|
|
7715
7715
|
const { is: e } = this;
|
|
7716
|
-
e && !lo.has(e) && (window.Vaadin.registrations.push(this), lo.add(e), window.Vaadin.developmentModeCallback && (
|
|
7716
|
+
e && !lo.has(e) && (window.Vaadin.registrations.push(this), lo.add(e), window.Vaadin.developmentModeCallback && (Li = ae.debounce(Li, Pn, () => {
|
|
7717
7717
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]();
|
|
7718
|
-
}), An(
|
|
7718
|
+
}), An(Li)));
|
|
7719
7719
|
}
|
|
7720
7720
|
constructor() {
|
|
7721
7721
|
super(), document.doctype === null && console.warn('Vaadin components require the "standards mode" declaration. Please add <!DOCTYPE html> to the HTML document.');
|
|
@@ -7753,12 +7753,12 @@ function Dn(i) {
|
|
|
7753
7753
|
function Mr(i) {
|
|
7754
7754
|
return i ? new Set(i.split(" ")) : /* @__PURE__ */ new Set();
|
|
7755
7755
|
}
|
|
7756
|
-
function
|
|
7756
|
+
function bi(i) {
|
|
7757
7757
|
return i ? [...i].join(" ") : "";
|
|
7758
7758
|
}
|
|
7759
7759
|
function On(i, e, t) {
|
|
7760
7760
|
const r = Mr(i.getAttribute(e));
|
|
7761
|
-
r.add(t), i.setAttribute(e,
|
|
7761
|
+
r.add(t), i.setAttribute(e, bi(r));
|
|
7762
7762
|
}
|
|
7763
7763
|
function gu(i, e, t) {
|
|
7764
7764
|
const r = Mr(i.getAttribute(e));
|
|
@@ -7766,7 +7766,7 @@ function gu(i, e, t) {
|
|
|
7766
7766
|
i.removeAttribute(e);
|
|
7767
7767
|
return;
|
|
7768
7768
|
}
|
|
7769
|
-
i.setAttribute(e,
|
|
7769
|
+
i.setAttribute(e, bi(r));
|
|
7770
7770
|
}
|
|
7771
7771
|
function bu(i) {
|
|
7772
7772
|
return i.nodeType === Node.TEXT_NODE && i.textContent.trim() === "";
|
|
@@ -7812,7 +7812,7 @@ class zr {
|
|
|
7812
7812
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7813
7813
|
*/
|
|
7814
7814
|
let yu = 0;
|
|
7815
|
-
function
|
|
7815
|
+
function Vt() {
|
|
7816
7816
|
return yu++;
|
|
7817
7817
|
}
|
|
7818
7818
|
/**
|
|
@@ -7822,7 +7822,7 @@ function Ot() {
|
|
|
7822
7822
|
*/
|
|
7823
7823
|
class J extends EventTarget {
|
|
7824
7824
|
static generateId(e, t = "default") {
|
|
7825
|
-
return `${t}-${e.localName}-${
|
|
7825
|
+
return `${t}-${e.localName}-${Vt()}`;
|
|
7826
7826
|
}
|
|
7827
7827
|
constructor(e, t, r, a = {}) {
|
|
7828
7828
|
super();
|
|
@@ -7944,7 +7944,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
7944
7944
|
Code distributed by Google as part of the polymer project is also
|
|
7945
7945
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7946
7946
|
*/
|
|
7947
|
-
const wu = (i) => i, Vn = typeof document.head.style.touchAction == "string",
|
|
7947
|
+
const wu = (i) => i, Vn = typeof document.head.style.touchAction == "string", lr = "__polymerGestures", Ri = "__polymerGesturesHandled", dr = "__polymerGesturesTouchAction", ho = 25, co = 5, xu = 2, Cu = ["mousedown", "mousemove", "mouseup", "click"], ku = [0, 1, 4, 2], Eu = function() {
|
|
7948
7948
|
try {
|
|
7949
7949
|
return new MouseEvent("test", { buttons: 1 }).buttons === 1;
|
|
7950
7950
|
} catch (i) {
|
|
@@ -7962,7 +7962,7 @@ function Mn(i) {
|
|
|
7962
7962
|
} catch (i) {
|
|
7963
7963
|
}
|
|
7964
7964
|
})();
|
|
7965
|
-
const
|
|
7965
|
+
const Su = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), Iu = { button: !0, command: !0, fieldset: !0, input: !0, keygen: !0, optgroup: !0, option: !0, select: !0, textarea: !0 };
|
|
7966
7966
|
function Oe(i) {
|
|
7967
7967
|
const e = i.type;
|
|
7968
7968
|
if (!Mn(e))
|
|
@@ -7990,8 +7990,8 @@ function Pu(i) {
|
|
|
7990
7990
|
let e = "auto";
|
|
7991
7991
|
const t = Nn(i);
|
|
7992
7992
|
for (let r = 0, a; r < t.length; r++)
|
|
7993
|
-
if (a = t[r], a[
|
|
7994
|
-
e = a[
|
|
7993
|
+
if (a = t[r], a[dr]) {
|
|
7994
|
+
e = a[dr];
|
|
7995
7995
|
break;
|
|
7996
7996
|
}
|
|
7997
7997
|
return e;
|
|
@@ -8018,19 +8018,19 @@ function Ee(i) {
|
|
|
8018
8018
|
return e.length > 0 ? e[0] : i.target;
|
|
8019
8019
|
}
|
|
8020
8020
|
function Du(i) {
|
|
8021
|
-
const e = i.type, t = i.currentTarget[
|
|
8021
|
+
const e = i.type, t = i.currentTarget[lr];
|
|
8022
8022
|
if (!t)
|
|
8023
8023
|
return;
|
|
8024
8024
|
const r = t[e];
|
|
8025
8025
|
if (!r)
|
|
8026
8026
|
return;
|
|
8027
|
-
if (!i[
|
|
8027
|
+
if (!i[Ri] && (i[Ri] = {}, e.startsWith("touch"))) {
|
|
8028
8028
|
const o = i.changedTouches[0];
|
|
8029
8029
|
if (e === "touchstart" && i.touches.length === 1 && (_e.touch.id = o.identifier), _e.touch.id !== o.identifier)
|
|
8030
8030
|
return;
|
|
8031
8031
|
Vn || (e === "touchstart" || e === "touchmove") && Ou(i);
|
|
8032
8032
|
}
|
|
8033
|
-
const a = i[
|
|
8033
|
+
const a = i[Ri];
|
|
8034
8034
|
if (!a.skip) {
|
|
8035
8035
|
for (let o = 0, n; o < De.length; o++)
|
|
8036
8036
|
n = De[o], r[n.name] && !a[n.name] && n.flow && n.flow.start.indexOf(i.type) > -1 && n.reset && n.reset();
|
|
@@ -8049,7 +8049,7 @@ function Ou(i) {
|
|
|
8049
8049
|
const r = Pu(i);
|
|
8050
8050
|
let a = !1;
|
|
8051
8051
|
const o = Math.abs(_e.touch.x - e.clientX), n = Math.abs(_e.touch.y - e.clientY);
|
|
8052
|
-
i.cancelable && (r === "none" ? a = !0 : r === "pan-x" ? a = n > o : r === "pan-y" && (a = o > n)), a ? i.preventDefault() :
|
|
8052
|
+
i.cancelable && (r === "none" ? a = !0 : r === "pan-x" ? a = n > o : r === "pan-y" && (a = o > n)), a ? i.preventDefault() : ui("track");
|
|
8053
8053
|
}
|
|
8054
8054
|
}
|
|
8055
8055
|
function ce(i, e, t) {
|
|
@@ -8057,10 +8057,10 @@ function ce(i, e, t) {
|
|
|
8057
8057
|
}
|
|
8058
8058
|
function Vu(i, e, t) {
|
|
8059
8059
|
const r = Nr[e], a = r.deps, o = r.name;
|
|
8060
|
-
let n = i[
|
|
8061
|
-
n || (i[
|
|
8060
|
+
let n = i[lr];
|
|
8061
|
+
n || (i[lr] = n = {});
|
|
8062
8062
|
for (let s = 0, l, d; s < a.length; s++)
|
|
8063
|
-
l = a[s], !(
|
|
8063
|
+
l = a[s], !(Su && Mn(l) && l !== "click") && (d = n[l], d || (n[l] = d = { _count: 0 }), d._count === 0 && i.addEventListener(l, Du, void 0), d[o] = (d[o] || 0) + 1, d._count = (d._count || 0) + 1);
|
|
8064
8064
|
i.addEventListener(e, t), r.touchAction && Ln(i, r.touchAction);
|
|
8065
8065
|
}
|
|
8066
8066
|
function Lr(i) {
|
|
@@ -8078,9 +8078,9 @@ function Mu(i) {
|
|
|
8078
8078
|
return null;
|
|
8079
8079
|
}
|
|
8080
8080
|
function Ln(i, e) {
|
|
8081
|
-
Vn && i instanceof HTMLElement &&
|
|
8081
|
+
Vn && i instanceof HTMLElement && ci.run(() => {
|
|
8082
8082
|
i.style.touchAction = e;
|
|
8083
|
-
}), i[
|
|
8083
|
+
}), i[dr] = e;
|
|
8084
8084
|
}
|
|
8085
8085
|
function Rr(i, e, t) {
|
|
8086
8086
|
const r = new Event(e, { bubbles: !0, cancelable: !0, composed: !0 });
|
|
@@ -8089,7 +8089,7 @@ function Rr(i, e, t) {
|
|
|
8089
8089
|
a && a.preventDefault && a.preventDefault();
|
|
8090
8090
|
}
|
|
8091
8091
|
}
|
|
8092
|
-
function
|
|
8092
|
+
function ui(i) {
|
|
8093
8093
|
const e = Mu(i);
|
|
8094
8094
|
e.info && (e.info.prevent = !0);
|
|
8095
8095
|
}
|
|
@@ -8111,7 +8111,7 @@ Lr({ name: "downup", deps: ["mousedown", "touchstart", "touchend"], flow: { star
|
|
|
8111
8111
|
} });
|
|
8112
8112
|
function ut(i, e, t, r) {
|
|
8113
8113
|
e && Rr(e, i, { x: t.clientX, y: t.clientY, sourceEvent: t, preventer: r, prevent(a) {
|
|
8114
|
-
return
|
|
8114
|
+
return ui(a);
|
|
8115
8115
|
} });
|
|
8116
8116
|
}
|
|
8117
8117
|
Lr({ name: "track", touchAction: "none", deps: ["mousedown", "touchstart", "touchmove", "touchend"], flow: { start: ["mousedown", "touchstart"], end: ["mouseup", "touchend"] }, emits: ["track"], info: { x: 0, y: 0, state: "start", started: !1, moves: [], addMove(i) {
|
|
@@ -8123,7 +8123,7 @@ Lr({ name: "track", touchAction: "none", deps: ["mousedown", "touchstart", "touc
|
|
|
8123
8123
|
return;
|
|
8124
8124
|
const e = Ee(i), t = this, r = (o) => {
|
|
8125
8125
|
const n = o.clientX, s = o.clientY;
|
|
8126
|
-
uo(t.info, n, s) && (t.info.state = t.info.started ? o.type === "mouseup" ? "end" : "track" : "start", t.info.state === "start" &&
|
|
8126
|
+
uo(t.info, n, s) && (t.info.state = t.info.started ? o.type === "mouseup" ? "end" : "track" : "start", t.info.state === "start" && ui("tap"), t.info.addMove({ x: n, y: s }), Oe(o) || (t.info.state = "end", We(t.info)), e && Fi(t.info, e, o), t.info.started = !0);
|
|
8127
8127
|
}, a = (o) => {
|
|
8128
8128
|
t.info.started && r(o), We(t.info);
|
|
8129
8129
|
};
|
|
@@ -8133,10 +8133,10 @@ Lr({ name: "track", touchAction: "none", deps: ["mousedown", "touchstart", "touc
|
|
|
8133
8133
|
this.info.x = e.clientX, this.info.y = e.clientY;
|
|
8134
8134
|
}, touchmove(i) {
|
|
8135
8135
|
const e = Ee(i), t = i.changedTouches[0], r = t.clientX, a = t.clientY;
|
|
8136
|
-
uo(this.info, r, a) && (this.info.state === "start" &&
|
|
8136
|
+
uo(this.info, r, a) && (this.info.state === "start" && ui("tap"), this.info.addMove({ x: r, y: a }), Fi(this.info, e, t), this.info.state = "track", this.info.started = !0);
|
|
8137
8137
|
}, touchend(i) {
|
|
8138
8138
|
const e = Ee(i), t = i.changedTouches[0];
|
|
8139
|
-
this.info.started && (this.info.state = "end", this.info.addMove({ x: t.clientX, y: t.clientY }),
|
|
8139
|
+
this.info.started && (this.info.state = "end", this.info.addMove({ x: t.clientX, y: t.clientY }), Fi(this.info, e, t));
|
|
8140
8140
|
} });
|
|
8141
8141
|
function uo(i, e, t) {
|
|
8142
8142
|
if (i.prevent)
|
|
@@ -8146,7 +8146,7 @@ function uo(i, e, t) {
|
|
|
8146
8146
|
const r = Math.abs(i.x - e), a = Math.abs(i.y - t);
|
|
8147
8147
|
return r >= co || a >= co;
|
|
8148
8148
|
}
|
|
8149
|
-
function
|
|
8149
|
+
function Fi(i, e, t) {
|
|
8150
8150
|
if (!e)
|
|
8151
8151
|
return;
|
|
8152
8152
|
const r = i.moves[i.moves.length - 2], a = i.moves[i.moves.length - 1], o = a.x - i.x, n = a.y - i.y;
|
|
@@ -8169,7 +8169,7 @@ Lr({ name: "tap", deps: ["mousedown", "click", "touchstart", "touchend"], flow:
|
|
|
8169
8169
|
} });
|
|
8170
8170
|
function po(i, e, t) {
|
|
8171
8171
|
const r = Math.abs(e.clientX - i.x), a = Math.abs(e.clientY - i.y), o = Ee(t || e);
|
|
8172
|
-
!o ||
|
|
8172
|
+
!o || Iu[o.localName] && o.hasAttribute("disabled") || (isNaN(r) || isNaN(a) || r <= ho && a <= ho || Tu(e)) && (i.prevent || Rr(o, "tap", { x: e.clientX, y: e.clientY, sourceEvent: e, preventer: t }));
|
|
8173
8173
|
}
|
|
8174
8174
|
/**
|
|
8175
8175
|
* @license
|
|
@@ -8263,13 +8263,13 @@ window.addEventListener("keydown", () => {
|
|
|
8263
8263
|
window.addEventListener("mousedown", () => {
|
|
8264
8264
|
$r = !1;
|
|
8265
8265
|
}, { capture: !0 });
|
|
8266
|
-
function
|
|
8266
|
+
function hr() {
|
|
8267
8267
|
let i = document.activeElement || document.body;
|
|
8268
8268
|
for (; i.shadowRoot && i.shadowRoot.activeElement; )
|
|
8269
8269
|
i = i.shadowRoot.activeElement;
|
|
8270
8270
|
return i;
|
|
8271
8271
|
}
|
|
8272
|
-
function
|
|
8272
|
+
function yi() {
|
|
8273
8273
|
return $r;
|
|
8274
8274
|
}
|
|
8275
8275
|
function Rn(i) {
|
|
@@ -8289,14 +8289,14 @@ function Nu(i, e) {
|
|
|
8289
8289
|
zu(i[0], e[0]) ? t.push(e.shift()) : t.push(i.shift());
|
|
8290
8290
|
return t.concat(i, e);
|
|
8291
8291
|
}
|
|
8292
|
-
function
|
|
8292
|
+
function cr(i) {
|
|
8293
8293
|
const e = i.length;
|
|
8294
8294
|
if (e < 2)
|
|
8295
8295
|
return i;
|
|
8296
|
-
const t = Math.ceil(e / 2), r =
|
|
8296
|
+
const t = Math.ceil(e / 2), r = cr(i.slice(0, t)), a = cr(i.slice(t));
|
|
8297
8297
|
return Nu(r, a);
|
|
8298
8298
|
}
|
|
8299
|
-
function
|
|
8299
|
+
function ur(i) {
|
|
8300
8300
|
return i.offsetParent === null && i.clientWidth === 0 && i.clientHeight === 0 ? !0 : Rn(i);
|
|
8301
8301
|
}
|
|
8302
8302
|
function Hr(i) {
|
|
@@ -8324,7 +8324,7 @@ function Fn(i, e) {
|
|
|
8324
8324
|
}
|
|
8325
8325
|
function Ru(i) {
|
|
8326
8326
|
const e = [];
|
|
8327
|
-
return Fn(i, e) ?
|
|
8327
|
+
return Fn(i, e) ? cr(e) : e;
|
|
8328
8328
|
}
|
|
8329
8329
|
/**
|
|
8330
8330
|
* @license
|
|
@@ -8333,7 +8333,7 @@ function Ru(i) {
|
|
|
8333
8333
|
*/
|
|
8334
8334
|
const Le = U((i) => class extends i {
|
|
8335
8335
|
get _keyboardActive() {
|
|
8336
|
-
return
|
|
8336
|
+
return yi();
|
|
8337
8337
|
}
|
|
8338
8338
|
ready() {
|
|
8339
8339
|
this.addEventListener("focusin", (e) => {
|
|
@@ -8376,7 +8376,7 @@ const $n = (i) => class extends tt(i) {
|
|
|
8376
8376
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8377
8377
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8378
8378
|
*/
|
|
8379
|
-
const
|
|
8379
|
+
const wi = U((i) => class extends Le($n(i)) {
|
|
8380
8380
|
static get properties() {
|
|
8381
8381
|
return { autofocus: { type: Boolean }, focusElement: { type: Object, readOnly: !0, observer: "_focusElementChanged" }, _lastTabIndex: { value: 0 } };
|
|
8382
8382
|
}
|
|
@@ -8487,7 +8487,7 @@ const Ur = U((i) => class extends i {
|
|
|
8487
8487
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8488
8488
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8489
8489
|
*/
|
|
8490
|
-
const
|
|
8490
|
+
const Mt = U((i) => class extends i {
|
|
8491
8491
|
static get properties() {
|
|
8492
8492
|
return { inputElement: { type: Object, readOnly: !0, observer: "_inputElementChanged" }, type: { type: String, readOnly: !0 }, value: { type: String, value: "", observer: "_valueChanged", notify: !0, sync: !0 }, _hasInputValue: { type: Boolean, value: !1, observer: "_hasInputValueChanged" } };
|
|
8493
8493
|
}
|
|
@@ -8549,7 +8549,7 @@ const Vt = U((i) => class extends i {
|
|
|
8549
8549
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8550
8550
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8551
8551
|
*/
|
|
8552
|
-
const Fu = U((i) => class extends Ur(tt(
|
|
8552
|
+
const Fu = U((i) => class extends Ur(tt(Mt(i))) {
|
|
8553
8553
|
static get properties() {
|
|
8554
8554
|
return { checked: { type: Boolean, value: !1, notify: !0, reflectToAttribute: !0 } };
|
|
8555
8555
|
}
|
|
@@ -8569,9 +8569,9 @@ const Fu = U((i) => class extends Ur(tt(Vt(i))) {
|
|
|
8569
8569
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
8570
8570
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8571
8571
|
*/
|
|
8572
|
-
const
|
|
8572
|
+
const $i = /* @__PURE__ */ new Map();
|
|
8573
8573
|
function qr(i) {
|
|
8574
|
-
return
|
|
8574
|
+
return $i.has(i) || $i.set(i, /* @__PURE__ */ new WeakMap()), $i.get(i);
|
|
8575
8575
|
}
|
|
8576
8576
|
function Hn(i, e) {
|
|
8577
8577
|
i && i.removeAttribute(e);
|
|
@@ -8589,7 +8589,7 @@ function $u(i, e) {
|
|
|
8589
8589
|
if (!i || !e)
|
|
8590
8590
|
return;
|
|
8591
8591
|
const t = qr(e), r = t.get(i);
|
|
8592
|
-
!r || r.size === 0 ? i.removeAttribute(e) : On(i, e,
|
|
8592
|
+
!r || r.size === 0 ? i.removeAttribute(e) : On(i, e, bi(r)), t.delete(i);
|
|
8593
8593
|
}
|
|
8594
8594
|
function Ye(i, e, t = { newId: null, oldId: null, fromUser: !1 }) {
|
|
8595
8595
|
if (!i || !e)
|
|
@@ -8600,7 +8600,7 @@ function Ye(i, e, t = { newId: null, oldId: null, fromUser: !1 }) {
|
|
|
8600
8600
|
return;
|
|
8601
8601
|
}
|
|
8602
8602
|
o && (s ? r || n.delete(i) : Bn(i, e), Hn(i, e)), gu(i, e, a);
|
|
8603
|
-
const l = r ||
|
|
8603
|
+
const l = r || bi(s);
|
|
8604
8604
|
l && On(i, e, l);
|
|
8605
8605
|
}
|
|
8606
8606
|
function Hu(i, e) {
|
|
@@ -8686,12 +8686,12 @@ he.style.position = "fixed";
|
|
|
8686
8686
|
he.style.clip = "rect(0px, 0px, 0px, 0px)";
|
|
8687
8687
|
he.setAttribute("aria-live", "polite");
|
|
8688
8688
|
document.body.appendChild(he);
|
|
8689
|
-
let
|
|
8690
|
-
function
|
|
8689
|
+
let jt;
|
|
8690
|
+
function Zt(i, e = {}) {
|
|
8691
8691
|
const t = e.mode || "polite", r = e.timeout === void 0 ? 150 : e.timeout;
|
|
8692
|
-
t === "alert" ? (he.removeAttribute("aria-live"), he.removeAttribute("role"),
|
|
8692
|
+
t === "alert" ? (he.removeAttribute("aria-live"), he.removeAttribute("role"), jt = ae.debounce(jt, Tt, () => {
|
|
8693
8693
|
he.setAttribute("role", "alert");
|
|
8694
|
-
})) : (
|
|
8694
|
+
})) : (jt && jt.cancel(), he.removeAttribute("role"), he.setAttribute("aria-live", t)), he.textContent = "", setTimeout(() => {
|
|
8695
8695
|
he.textContent = i;
|
|
8696
8696
|
}, r);
|
|
8697
8697
|
}
|
|
@@ -8702,7 +8702,7 @@ function Jt(i, e = {}) {
|
|
|
8702
8702
|
*/
|
|
8703
8703
|
class jr extends J {
|
|
8704
8704
|
constructor(e, t, r, a = {}) {
|
|
8705
|
-
super(e, t, r, Ho(
|
|
8705
|
+
super(e, t, r, Ho(ri({}, a), { useUniqueId: !0 }));
|
|
8706
8706
|
}
|
|
8707
8707
|
initCustomNode(e) {
|
|
8708
8708
|
this.__updateNodeId(e), this.__notifyChange(e);
|
|
@@ -8768,7 +8768,7 @@ class Uu extends jr {
|
|
|
8768
8768
|
}
|
|
8769
8769
|
updateDefaultNode(e) {
|
|
8770
8770
|
const { errorMessage: t, invalid: r } = this, a = !!(r && t && t.trim() !== "");
|
|
8771
|
-
e && (e.textContent = a ? t : "", e.hidden = !a, a &&
|
|
8771
|
+
e && (e.textContent = a ? t : "", e.hidden = !a, a && Zt(t, { mode: "assertive" })), super.updateDefaultNode(e);
|
|
8772
8772
|
}
|
|
8773
8773
|
}
|
|
8774
8774
|
/**
|
|
@@ -8880,7 +8880,7 @@ const Wr = U((i) => class extends i {
|
|
|
8880
8880
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8881
8881
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8882
8882
|
*/
|
|
8883
|
-
const
|
|
8883
|
+
const xi = (i) => class extends Wr(ju(me(i))) {
|
|
8884
8884
|
static get properties() {
|
|
8885
8885
|
return { ariaTarget: { type: Object, observer: "_ariaTargetChanged" }, errorMessage: { type: String, observer: "_errorMessageChanged" }, helperText: { type: String, observer: "_helperTextChanged" }, accessibleName: { type: String, observer: "_accessibleNameChanged" }, accessibleNameRef: { type: String, observer: "_accessibleNameRefChanged" } };
|
|
8886
8886
|
}
|
|
@@ -8946,7 +8946,7 @@ const wi = (i) => class extends Wr(ju(me(i))) {
|
|
|
8946
8946
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8947
8947
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8948
8948
|
*/
|
|
8949
|
-
class
|
|
8949
|
+
class zt extends J {
|
|
8950
8950
|
constructor(e, t, r = {}) {
|
|
8951
8951
|
const { uniqueIdPrefix: a } = r;
|
|
8952
8952
|
super(e, "input", "input", { initializer: (o, n) => {
|
|
@@ -8959,7 +8959,7 @@ class Mt extends J {
|
|
|
8959
8959
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8960
8960
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8961
8961
|
*/
|
|
8962
|
-
class
|
|
8962
|
+
class Nt {
|
|
8963
8963
|
constructor(e, t) {
|
|
8964
8964
|
this.input = e, this.__preventDuplicateLabelClick = this.__preventDuplicateLabelClick.bind(this), t.addEventListener("slot-content-changed", (r) => {
|
|
8965
8965
|
this.__initLabel(r.detail.node);
|
|
@@ -8980,7 +8980,7 @@ class zt {
|
|
|
8980
8980
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
8981
8981
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8982
8982
|
*/
|
|
8983
|
-
const Wu = (i) => class extends
|
|
8983
|
+
const Wu = (i) => class extends xi(Fu(wi(Fr(i)))) {
|
|
8984
8984
|
static get properties() {
|
|
8985
8985
|
return { indeterminate: { type: Boolean, notify: !0, value: !1, reflectToAttribute: !0 }, name: { type: String, value: "" }, readonly: { type: Boolean, value: !1, reflectToAttribute: !0 }, tabindex: { type: Number, value: 0, reflectToAttribute: !0 } };
|
|
8986
8986
|
}
|
|
@@ -8997,9 +8997,9 @@ const Wu = (i) => class extends wi(Fu(yi(Fr(i)))) {
|
|
|
8997
8997
|
super(), this._setType("checkbox"), this._boundOnInputClick = this._onInputClick.bind(this), this.value = "on";
|
|
8998
8998
|
}
|
|
8999
8999
|
ready() {
|
|
9000
|
-
super.ready(), this.addController(new
|
|
9000
|
+
super.ready(), this.addController(new zt(this, (e) => {
|
|
9001
9001
|
this._setInputElement(e), this._setFocusElement(e), this.stateTarget = e, this.ariaTarget = e;
|
|
9002
|
-
})), this.addController(new
|
|
9002
|
+
})), this.addController(new Nt(this.inputElement, this._labelController)), this._createMethodObserver("_checkedChanged(checked)");
|
|
9003
9003
|
}
|
|
9004
9004
|
_shouldSetActive(e) {
|
|
9005
9005
|
return this.readonly || e.target.localName === "a" || e.target === this._helperNode || e.target === this._errorNode ? !1 : super._shouldSetActive(e);
|
|
@@ -9394,7 +9394,7 @@ g("vaadin-checkbox-group", [Yr, qn, Ku], { moduleId: "lumo-checkbox-group" });
|
|
|
9394
9394
|
* Copyright (c) 2018 - 2024 Vaadin Ltd.
|
|
9395
9395
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9396
9396
|
*/
|
|
9397
|
-
const Xu = (i) => class extends
|
|
9397
|
+
const Xu = (i) => class extends xi(Le(tt(i))) {
|
|
9398
9398
|
static get properties() {
|
|
9399
9399
|
return { value: { type: Array, value: () => [], notify: !0, sync: !0, observer: "__valueChanged" }, readonly: { type: Boolean, value: !1, reflectToAttribute: !0, observer: "__readonlyChanged" } };
|
|
9400
9400
|
}
|
|
@@ -9619,7 +9619,7 @@ g("", it, { moduleId: "lumo-overlay" });
|
|
|
9619
9619
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
9620
9620
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9621
9621
|
*/
|
|
9622
|
-
const
|
|
9622
|
+
const Ci = f`
|
|
9623
9623
|
:host([opening]),
|
|
9624
9624
|
:host([closing]) {
|
|
9625
9625
|
animation: 0.14s lumo-overlay-dummy-animation;
|
|
@@ -9650,7 +9650,7 @@ const xi = f`
|
|
|
9650
9650
|
}
|
|
9651
9651
|
}
|
|
9652
9652
|
`;
|
|
9653
|
-
g("",
|
|
9653
|
+
g("", Ci, { moduleId: "lumo-menu-overlay-core" });
|
|
9654
9654
|
const Zu = f`
|
|
9655
9655
|
/* Small viewport (bottom sheet) styles */
|
|
9656
9656
|
/* Use direct media queries instead of the state attributes ([phone] and [fullscreen]) provided by the elements */
|
|
@@ -9713,7 +9713,7 @@ const Zu = f`
|
|
|
9713
9713
|
transform: translateY(150%);
|
|
9714
9714
|
}
|
|
9715
9715
|
}
|
|
9716
|
-
`, Gr = [it,
|
|
9716
|
+
`, Gr = [it, Ci, Zu];
|
|
9717
9717
|
g("", Gr, { moduleId: "lumo-menu-overlay" });
|
|
9718
9718
|
const ep = f`
|
|
9719
9719
|
[part='overlay'] {
|
|
@@ -10851,7 +10851,7 @@ w(Wn);
|
|
|
10851
10851
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
10852
10852
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10853
10853
|
*/
|
|
10854
|
-
const
|
|
10854
|
+
const Lt = f`
|
|
10855
10855
|
:host {
|
|
10856
10856
|
z-index: 200;
|
|
10857
10857
|
position: fixed;
|
|
@@ -10920,10 +10920,10 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
10920
10920
|
Code distributed by Google as part of the polymer project is also
|
|
10921
10921
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10922
10922
|
*/
|
|
10923
|
-
let
|
|
10923
|
+
let pr = !1, op = [], Yn = [];
|
|
10924
10924
|
function np() {
|
|
10925
|
-
|
|
10926
|
-
|
|
10925
|
+
pr = !0, requestAnimationFrame(function() {
|
|
10926
|
+
pr = !1, sp(op), setTimeout(function() {
|
|
10927
10927
|
lp(Yn);
|
|
10928
10928
|
});
|
|
10929
10929
|
});
|
|
@@ -10947,18 +10947,18 @@ function Gn(i) {
|
|
|
10947
10947
|
}
|
|
10948
10948
|
}
|
|
10949
10949
|
function Xr(i, e, t) {
|
|
10950
|
-
|
|
10950
|
+
pr || np(), Yn.push([i, e, t]);
|
|
10951
10951
|
}
|
|
10952
10952
|
/**
|
|
10953
10953
|
* @license
|
|
10954
10954
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
10955
10955
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10956
10956
|
*/
|
|
10957
|
-
const
|
|
10958
|
-
|
|
10959
|
-
|
|
10960
|
-
|
|
10961
|
-
const hp =
|
|
10957
|
+
const ki = (i) => i.test(navigator.userAgent), mr = (i) => i.test(navigator.platform), dp = (i) => i.test(navigator.vendor);
|
|
10958
|
+
ki(/Android/u);
|
|
10959
|
+
ki(/Chrome/u) && dp(/Google Inc/u);
|
|
10960
|
+
ki(/Firefox/u);
|
|
10961
|
+
const hp = mr(/^iPad/u) || mr(/^Mac/u) && navigator.maxTouchPoints > 1, cp = mr(/^iPhone/u), Qr = cp || hp, up = ki(/^((?!chrome|android).)*safari/iu), fr = (() => {
|
|
10962
10962
|
try {
|
|
10963
10963
|
return document.createEvent("TouchEvent"), !0;
|
|
10964
10964
|
} catch (i) {
|
|
@@ -10970,23 +10970,23 @@ const hp = pr(/^iPad/u) || pr(/^Mac/u) && navigator.maxTouchPoints > 1, cp = pr(
|
|
|
10970
10970
|
* Copyright (c) 2017 Anton Korzunov
|
|
10971
10971
|
* SPDX-License-Identifier: MIT
|
|
10972
10972
|
*/
|
|
10973
|
-
let $e = /* @__PURE__ */ new WeakMap(),
|
|
10974
|
-
const mo = (i) => i && i.nodeType === Node.ELEMENT_NODE,
|
|
10973
|
+
let $e = /* @__PURE__ */ new WeakMap(), Wt = /* @__PURE__ */ new WeakMap(), Yt = {}, Hi = 0;
|
|
10974
|
+
const mo = (i) => i && i.nodeType === Node.ELEMENT_NODE, Bi = (...i) => {
|
|
10975
10975
|
console.error(`Error: ${i.join(" ")}. Skip setting aria-hidden.`);
|
|
10976
10976
|
}, pp = (i, e) => mo(i) ? e.map((t) => {
|
|
10977
10977
|
if (!mo(t))
|
|
10978
|
-
return
|
|
10978
|
+
return Bi(t, "is not a valid element"), null;
|
|
10979
10979
|
let r = t;
|
|
10980
10980
|
for (; r && r !== i; ) {
|
|
10981
10981
|
if (i.contains(r))
|
|
10982
10982
|
return t;
|
|
10983
10983
|
r = r.getRootNode().host;
|
|
10984
10984
|
}
|
|
10985
|
-
return
|
|
10986
|
-
}).filter((t) => !!t) : (
|
|
10985
|
+
return Bi(t, "is not contained inside", i), null;
|
|
10986
|
+
}).filter((t) => !!t) : (Bi(i, "is not a valid element"), []), mp = (i, e, t, r) => {
|
|
10987
10987
|
const a = pp(e, Array.isArray(i) ? i : [i]);
|
|
10988
|
-
|
|
10989
|
-
const o =
|
|
10988
|
+
Yt[t] || (Yt[t] = /* @__PURE__ */ new WeakMap());
|
|
10989
|
+
const o = Yt[t], n = [], s = /* @__PURE__ */ new Set(), l = new Set(a), d = (c) => {
|
|
10990
10990
|
if (!c || s.has(c))
|
|
10991
10991
|
return;
|
|
10992
10992
|
s.add(c);
|
|
@@ -11003,16 +11003,16 @@ const mo = (i) => i && i.nodeType === Node.ELEMENT_NODE, Hi = (...i) => {
|
|
|
11003
11003
|
if (s.has(m))
|
|
11004
11004
|
h(m);
|
|
11005
11005
|
else {
|
|
11006
|
-
const y = m.getAttribute(r), N = y !== null && y !== "false",
|
|
11007
|
-
$e.set(m,
|
|
11006
|
+
const y = m.getAttribute(r), N = y !== null && y !== "false", O = ($e.get(m) || 0) + 1, V = (o.get(m) || 0) + 1;
|
|
11007
|
+
$e.set(m, O), o.set(m, V), n.push(m), O === 1 && N && Wt.set(m, !0), V === 1 && m.setAttribute(t, "true"), N || m.setAttribute(r, "true");
|
|
11008
11008
|
}
|
|
11009
11009
|
});
|
|
11010
11010
|
};
|
|
11011
|
-
return h(e), s.clear(),
|
|
11011
|
+
return h(e), s.clear(), Hi += 1, () => {
|
|
11012
11012
|
n.forEach((c) => {
|
|
11013
11013
|
const p = $e.get(c) - 1, m = o.get(c) - 1;
|
|
11014
|
-
$e.set(c, p), o.set(c, m), p || (
|
|
11015
|
-
}),
|
|
11014
|
+
$e.set(c, p), o.set(c, m), p || (Wt.has(c) ? Wt.delete(c) : c.removeAttribute(r)), m || c.removeAttribute(t);
|
|
11015
|
+
}), Hi -= 1, Hi || ($e = /* @__PURE__ */ new WeakMap(), $e = /* @__PURE__ */ new WeakMap(), Wt = /* @__PURE__ */ new WeakMap(), Yt = {});
|
|
11016
11016
|
};
|
|
11017
11017
|
}, Kn = (i, e = document.body, t = "data-aria-hidden") => {
|
|
11018
11018
|
const r = Array.from(Array.isArray(i) ? i : [i]);
|
|
@@ -11042,14 +11042,14 @@ class fp {
|
|
|
11042
11042
|
*/
|
|
11043
11043
|
class _p {
|
|
11044
11044
|
saveFocus(e) {
|
|
11045
|
-
this.focusNode = e ||
|
|
11045
|
+
this.focusNode = e || hr();
|
|
11046
11046
|
}
|
|
11047
11047
|
restoreFocus(e) {
|
|
11048
11048
|
const t = this.focusNode;
|
|
11049
11049
|
if (!t)
|
|
11050
11050
|
return;
|
|
11051
11051
|
const r = e ? e.preventScroll : !1;
|
|
11052
|
-
|
|
11052
|
+
hr() === document.body ? setTimeout(() => t.focus({ preventScroll: r })) : t.focus({ preventScroll: r }), this.focusNode = null;
|
|
11053
11053
|
}
|
|
11054
11054
|
}
|
|
11055
11055
|
/**
|
|
@@ -11057,7 +11057,7 @@ class _p {
|
|
|
11057
11057
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
11058
11058
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11059
11059
|
*/
|
|
11060
|
-
const
|
|
11060
|
+
const Ui = [];
|
|
11061
11061
|
class vp {
|
|
11062
11062
|
constructor(e) {
|
|
11063
11063
|
this.host = e, this.__trapNode = null, this.__onKeyDown = this.__onKeyDown.bind(this);
|
|
@@ -11078,13 +11078,13 @@ class vp {
|
|
|
11078
11078
|
trapFocus(e) {
|
|
11079
11079
|
if (this.__trapNode = e, this.__focusableElements.length === 0)
|
|
11080
11080
|
throw this.__trapNode = null, new Error("The trap node should have at least one focusable descendant or be focusable itself.");
|
|
11081
|
-
|
|
11081
|
+
Ui.push(this), this.__focusedElementIndex === -1 && this.__focusableElements[0].focus();
|
|
11082
11082
|
}
|
|
11083
11083
|
releaseFocus() {
|
|
11084
|
-
this.__trapNode = null,
|
|
11084
|
+
this.__trapNode = null, Ui.pop();
|
|
11085
11085
|
}
|
|
11086
11086
|
__onKeyDown(e) {
|
|
11087
|
-
if (this.__trapNode && this === Array.from(
|
|
11087
|
+
if (this.__trapNode && this === Array.from(Ui).pop() && e.key === "Tab") {
|
|
11088
11088
|
e.preventDefault();
|
|
11089
11089
|
const t = e.shiftKey;
|
|
11090
11090
|
this.__focusNextElement(t);
|
|
@@ -11112,7 +11112,7 @@ const gp = (i) => class extends me(i) {
|
|
|
11112
11112
|
}
|
|
11113
11113
|
_resetFocus() {
|
|
11114
11114
|
if (this.focusTrap && (this.__ariaModalController.close(), this.__focusTrapController.releaseFocus()), this.restoreFocusOnClose && this._shouldRestoreFocus()) {
|
|
11115
|
-
const e = !
|
|
11115
|
+
const e = !yi();
|
|
11116
11116
|
this.__focusRestorationController.restoreFocus({ preventScroll: e });
|
|
11117
11117
|
}
|
|
11118
11118
|
}
|
|
@@ -11123,7 +11123,7 @@ const gp = (i) => class extends me(i) {
|
|
|
11123
11123
|
this.focusTrap && (this.__ariaModalController.showModal(), this.__focusTrapController.trapFocus(this.$.overlay));
|
|
11124
11124
|
}
|
|
11125
11125
|
_shouldRestoreFocus() {
|
|
11126
|
-
const e =
|
|
11126
|
+
const e = hr();
|
|
11127
11127
|
return e === document.body || this._deepContains(e);
|
|
11128
11128
|
}
|
|
11129
11129
|
_deepContains(e) {
|
|
@@ -11141,7 +11141,7 @@ const gp = (i) => class extends me(i) {
|
|
|
11141
11141
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
11142
11142
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11143
11143
|
*/
|
|
11144
|
-
const Xn = () => Array.from(document.body.children).filter((i) => i instanceof HTMLElement && i._hasOverlayStackMixin && !i.hasAttribute("closing")).sort((i, e) => i.__zIndex - e.__zIndex || 0),
|
|
11144
|
+
const Xn = () => Array.from(document.body.children).filter((i) => i instanceof HTMLElement && i._hasOverlayStackMixin && !i.hasAttribute("closing")).sort((i, e) => i.__zIndex - e.__zIndex || 0), _r = () => Xn().filter((i) => i.$.overlay), bp = (i) => i === _r().pop(), Qn = (i) => class extends i {
|
|
11145
11145
|
constructor() {
|
|
11146
11146
|
super(), this._hasOverlayStackMixin = !0;
|
|
11147
11147
|
}
|
|
@@ -11154,13 +11154,13 @@ const Xn = () => Array.from(document.body.children).filter((i) => i instanceof H
|
|
|
11154
11154
|
t && (e = t.__zIndex + 1), this.style.zIndex = e, this.__zIndex = e || parseFloat(getComputedStyle(this).zIndex);
|
|
11155
11155
|
}
|
|
11156
11156
|
_enterModalState() {
|
|
11157
|
-
document.body.style.pointerEvents !== "none" && (this._previousDocumentPointerEvents = document.body.style.pointerEvents, document.body.style.pointerEvents = "none"),
|
|
11157
|
+
document.body.style.pointerEvents !== "none" && (this._previousDocumentPointerEvents = document.body.style.pointerEvents, document.body.style.pointerEvents = "none"), _r().forEach((e) => {
|
|
11158
11158
|
e !== this && (e.$.overlay.style.pointerEvents = "none");
|
|
11159
11159
|
});
|
|
11160
11160
|
}
|
|
11161
11161
|
_exitModalState() {
|
|
11162
11162
|
this._previousDocumentPointerEvents !== void 0 && (document.body.style.pointerEvents = this._previousDocumentPointerEvents, delete this._previousDocumentPointerEvents);
|
|
11163
|
-
const e =
|
|
11163
|
+
const e = _r();
|
|
11164
11164
|
let t;
|
|
11165
11165
|
for (; (t = e.pop()) && !(t !== this && (t.$.overlay.style.removeProperty("pointer-events"), !t.modeless)); )
|
|
11166
11166
|
;
|
|
@@ -11171,7 +11171,7 @@ const Xn = () => Array.from(document.body.children).filter((i) => i instanceof H
|
|
|
11171
11171
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
11172
11172
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11173
11173
|
*/
|
|
11174
|
-
const
|
|
11174
|
+
const Rt = (i) => class extends gp(Qn(i)) {
|
|
11175
11175
|
static get properties() {
|
|
11176
11176
|
return { opened: { type: Boolean, notify: !0, observer: "_openedChanged", reflectToAttribute: !0 }, owner: { type: Object }, model: { type: Object }, renderer: { type: Object }, modeless: { type: Boolean, value: !1, reflectToAttribute: !0, observer: "_modelessChanged" }, hidden: { type: Boolean, reflectToAttribute: !0, observer: "_hiddenChanged" }, withBackdrop: { type: Boolean, value: !1, reflectToAttribute: !0 } };
|
|
11177
11177
|
}
|
|
@@ -11312,18 +11312,18 @@ function yp(i, e) {
|
|
|
11312
11312
|
const { left: l, top: d, width: h, height: c } = i.getBoundingClientRect();
|
|
11313
11313
|
if (n || e(), !h || !c)
|
|
11314
11314
|
return;
|
|
11315
|
-
const p = Math.floor(d), m = Math.floor(r.clientWidth - (l + h)), y = Math.floor(r.clientHeight - (d + c)), N = Math.floor(l),
|
|
11316
|
-
let
|
|
11315
|
+
const p = Math.floor(d), m = Math.floor(r.clientWidth - (l + h)), y = Math.floor(r.clientHeight - (d + c)), N = Math.floor(l), O = { rootMargin: `${-p}px ${-m}px ${-y}px ${-N}px`, threshold: Math.max(0, Math.min(1, s)) || 1 };
|
|
11316
|
+
let V = !0;
|
|
11317
11317
|
function T(j) {
|
|
11318
11318
|
let W = j[0].intersectionRatio;
|
|
11319
11319
|
if (W !== s) {
|
|
11320
|
-
if (!
|
|
11320
|
+
if (!V)
|
|
11321
11321
|
return o();
|
|
11322
11322
|
W === 0 && (W = 1e-7), o(!1, W);
|
|
11323
11323
|
}
|
|
11324
|
-
|
|
11324
|
+
V = !1;
|
|
11325
11325
|
}
|
|
11326
|
-
t = new IntersectionObserver(T,
|
|
11326
|
+
t = new IntersectionObserver(T, O), t.observe(i);
|
|
11327
11327
|
}
|
|
11328
11328
|
return o(!0), a;
|
|
11329
11329
|
}
|
|
@@ -11332,7 +11332,7 @@ function yp(i, e) {
|
|
|
11332
11332
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
11333
11333
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11334
11334
|
*/
|
|
11335
|
-
const
|
|
11335
|
+
const qi = { start: "top", end: "bottom" }, ji = { start: "left", end: "right" }, fo = new ResizeObserver((i) => {
|
|
11336
11336
|
setTimeout(() => {
|
|
11337
11337
|
i.forEach((e) => {
|
|
11338
11338
|
e.target.__overlay && e.target.__overlay._updatePosition();
|
|
@@ -11392,20 +11392,20 @@ const Ui = { start: "top", end: "bottom" }, qi = { start: "left", end: "right" }
|
|
|
11392
11392
|
this.style.justifyContent = t ? "flex-start" : "flex-end";
|
|
11393
11393
|
const r = this.__isRTL, a = this.__shouldAlignStartHorizontally(e, r), o = !r && a || r && !a;
|
|
11394
11394
|
this.style.alignItems = o ? "flex-start" : "flex-end";
|
|
11395
|
-
const n = this.getBoundingClientRect(), s = this.__calculatePositionInOneDimension(e, n, this.noVerticalOverlap,
|
|
11395
|
+
const n = this.getBoundingClientRect(), s = this.__calculatePositionInOneDimension(e, n, this.noVerticalOverlap, qi, this, t), l = this.__calculatePositionInOneDimension(e, n, this.noHorizontalOverlap, ji, this, a);
|
|
11396
11396
|
Object.assign(this.style, s, l), this.toggleAttribute("bottom-aligned", !t), this.toggleAttribute("top-aligned", t), this.toggleAttribute("end-aligned", !o), this.toggleAttribute("start-aligned", o);
|
|
11397
11397
|
}
|
|
11398
11398
|
__shouldAlignStartHorizontally(e, t) {
|
|
11399
11399
|
const r = Math.max(this.__oldContentWidth || 0, this.$.overlay.offsetWidth);
|
|
11400
11400
|
this.__oldContentWidth = this.$.overlay.offsetWidth;
|
|
11401
11401
|
const a = Math.min(window.innerWidth, document.documentElement.clientWidth), o = !t && this.horizontalAlign === "start" || t && this.horizontalAlign === "end";
|
|
11402
|
-
return this.__shouldAlignStart(e, r, a, this.__margins, o, this.noHorizontalOverlap,
|
|
11402
|
+
return this.__shouldAlignStart(e, r, a, this.__margins, o, this.noHorizontalOverlap, ji);
|
|
11403
11403
|
}
|
|
11404
11404
|
__shouldAlignStartVertically(e) {
|
|
11405
11405
|
const t = this.requiredVerticalSpace || Math.max(this.__oldContentHeight || 0, this.$.overlay.offsetHeight);
|
|
11406
11406
|
this.__oldContentHeight = this.$.overlay.offsetHeight;
|
|
11407
11407
|
const r = Math.min(window.innerHeight, document.documentElement.clientHeight), a = this.verticalAlign === "top";
|
|
11408
|
-
return this.__shouldAlignStart(e, t, r, this.__margins, a, this.noVerticalOverlap,
|
|
11408
|
+
return this.__shouldAlignStart(e, t, r, this.__margins, a, this.noVerticalOverlap, qi);
|
|
11409
11409
|
}
|
|
11410
11410
|
__shouldAlignStart(e, t, r, a, o, n, s) {
|
|
11411
11411
|
const l = r - e[n ? s.end : s.start] - a[s.end], d = e[n ? s.start : s.end] - a[s.start], h = o ? l : d, c = h > (o ? d : l) || h > t;
|
|
@@ -11414,7 +11414,7 @@ const Ui = { start: "top", end: "bottom" }, qi = { start: "left", end: "right" }
|
|
|
11414
11414
|
__adjustBottomProperty(e, t, r) {
|
|
11415
11415
|
let a;
|
|
11416
11416
|
if (e === t.end) {
|
|
11417
|
-
if (t.end ===
|
|
11417
|
+
if (t.end === qi.end) {
|
|
11418
11418
|
const o = Math.min(window.innerHeight, document.documentElement.clientHeight);
|
|
11419
11419
|
if (r > o && this.__oldViewportHeight) {
|
|
11420
11420
|
const n = this.__oldViewportHeight - o;
|
|
@@ -11422,7 +11422,7 @@ const Ui = { start: "top", end: "bottom" }, qi = { start: "left", end: "right" }
|
|
|
11422
11422
|
}
|
|
11423
11423
|
this.__oldViewportHeight = o;
|
|
11424
11424
|
}
|
|
11425
|
-
if (t.end ===
|
|
11425
|
+
if (t.end === ji.end) {
|
|
11426
11426
|
const o = Math.min(window.innerWidth, document.documentElement.clientWidth);
|
|
11427
11427
|
if (r > o && this.__oldViewportWidth) {
|
|
11428
11428
|
const n = this.__oldViewportWidth - o;
|
|
@@ -11443,7 +11443,7 @@ const Ui = { start: "top", end: "bottom" }, qi = { start: "left", end: "right" }
|
|
|
11443
11443
|
* Copyright (c) 2015 - 2024 Vaadin Ltd.
|
|
11444
11444
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11445
11445
|
*/
|
|
11446
|
-
const wp = (i) => class extends Jr(
|
|
11446
|
+
const wp = (i) => class extends Jr(Rt(i)) {
|
|
11447
11447
|
_shouldCloseOnOutsideClick(e) {
|
|
11448
11448
|
return !e.composedPath().includes(this.positionTarget);
|
|
11449
11449
|
}
|
|
@@ -11477,7 +11477,7 @@ const xp = f`
|
|
|
11477
11477
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11478
11478
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11479
11479
|
*/
|
|
11480
|
-
g("vaadin-date-picker-overlay", [
|
|
11480
|
+
g("vaadin-date-picker-overlay", [Lt, xp], { moduleId: "vaadin-date-picker-overlay-styles" });
|
|
11481
11481
|
class Cp extends wp(oe(z(E))) {
|
|
11482
11482
|
static get is() {
|
|
11483
11483
|
return "vaadin-date-picker-overlay";
|
|
@@ -11615,7 +11615,7 @@ w(Ep);
|
|
|
11615
11615
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11616
11616
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11617
11617
|
*/
|
|
11618
|
-
function
|
|
11618
|
+
function Sp(i) {
|
|
11619
11619
|
let e = i.getDay();
|
|
11620
11620
|
e === 0 && (e = 7);
|
|
11621
11621
|
const t = 4 - e, r = new Date(i.getTime() + t * 24 * 3600 * 1e3), a = new Date(0, 0);
|
|
@@ -11623,11 +11623,11 @@ function Ip(i) {
|
|
|
11623
11623
|
const o = r.getTime() - a.getTime(), n = Math.round(o / (24 * 3600 * 1e3));
|
|
11624
11624
|
return Math.floor(n / 7 + 1);
|
|
11625
11625
|
}
|
|
11626
|
-
function
|
|
11626
|
+
function vr(i) {
|
|
11627
11627
|
const e = new Date(i);
|
|
11628
11628
|
return e.setHours(0, 0, 0, 0), e;
|
|
11629
11629
|
}
|
|
11630
|
-
function ge(i, e, t =
|
|
11630
|
+
function ge(i, e, t = vr) {
|
|
11631
11631
|
return i instanceof Date && e instanceof Date && t(i).getTime() === t(e).getTime();
|
|
11632
11632
|
}
|
|
11633
11633
|
function ea(i) {
|
|
@@ -11655,7 +11655,7 @@ function es(i) {
|
|
|
11655
11655
|
const e = /* @__PURE__ */ new Date(), t = new Date(e);
|
|
11656
11656
|
return t.setDate(1), t.setMonth(parseInt(i) + e.getMonth()), t;
|
|
11657
11657
|
}
|
|
11658
|
-
function
|
|
11658
|
+
function Ip(i, e, t = 0, r = 1) {
|
|
11659
11659
|
if (e > 99)
|
|
11660
11660
|
throw new Error("The provided year cannot have more than 2 digits.");
|
|
11661
11661
|
if (e < 0)
|
|
@@ -11689,7 +11689,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
11689
11689
|
Code distributed by Google as part of the polymer project is also
|
|
11690
11690
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
11691
11691
|
*/
|
|
11692
|
-
class
|
|
11692
|
+
class pi {
|
|
11693
11693
|
constructor() {
|
|
11694
11694
|
this._asyncModule = null, this._callback = null, this._timer = null;
|
|
11695
11695
|
}
|
|
@@ -11711,7 +11711,7 @@ class ui {
|
|
|
11711
11711
|
return this._timer != null;
|
|
11712
11712
|
}
|
|
11713
11713
|
static debounce(e, t, r) {
|
|
11714
|
-
return e instanceof
|
|
11714
|
+
return e instanceof pi ? e._cancelAsync() : e = new pi(), e.setConfig(t, r), e;
|
|
11715
11715
|
}
|
|
11716
11716
|
}
|
|
11717
11717
|
let At = /* @__PURE__ */ new Set();
|
|
@@ -11881,7 +11881,7 @@ class is extends HTMLElement {
|
|
|
11881
11881
|
for (let r = 0; r < this.bufferSize; r++) {
|
|
11882
11882
|
const a = document.createElement("div");
|
|
11883
11883
|
a.style.height = `${this.itemHeight}px`, a.instance = {};
|
|
11884
|
-
const o = `vaadin-infinite-scroller-item-content-${
|
|
11884
|
+
const o = `vaadin-infinite-scroller-item-content-${Vt()}`, n = document.createElement("slot");
|
|
11885
11885
|
n.setAttribute("name", o), n._itemWrapper = a, t.appendChild(n), a.setAttribute("slot", o), this.appendChild(a), this._isVisible(a, e) && this._ensureStampedInstance(a);
|
|
11886
11886
|
}
|
|
11887
11887
|
}), requestAnimationFrame(() => {
|
|
@@ -12090,14 +12090,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
12090
12090
|
Code distributed by Google as part of the polymer project is also
|
|
12091
12091
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
12092
12092
|
*/
|
|
12093
|
-
let
|
|
12094
|
-
function
|
|
12095
|
-
return
|
|
12093
|
+
let gr = null;
|
|
12094
|
+
function br() {
|
|
12095
|
+
return gr;
|
|
12096
12096
|
}
|
|
12097
|
-
|
|
12098
|
-
const os = Vr(
|
|
12097
|
+
br.prototype = Object.create(HTMLTemplateElement.prototype, { constructor: { value: br, writable: !0 } });
|
|
12098
|
+
const os = Vr(br), Lp = ra(os);
|
|
12099
12099
|
function Rp(i, e) {
|
|
12100
|
-
|
|
12100
|
+
gr = i, Object.setPrototypeOf(i, e.prototype), new e(), gr = null;
|
|
12101
12101
|
}
|
|
12102
12102
|
const Fp = Vr(class {
|
|
12103
12103
|
});
|
|
@@ -12179,7 +12179,7 @@ function _o(i) {
|
|
|
12179
12179
|
}
|
|
12180
12180
|
function Bp(i, e, t) {
|
|
12181
12181
|
let r = t.mutableData ? Hp : aa;
|
|
12182
|
-
|
|
12182
|
+
yr.mixin && (r = yr.mixin(r));
|
|
12183
12183
|
let a = class extends r {
|
|
12184
12184
|
};
|
|
12185
12185
|
return a.prototype.__templatizeOptions = t, a.prototype._bindTemplate(i), jp(a, i, e, t), a;
|
|
@@ -12245,8 +12245,8 @@ function Yp() {
|
|
|
12245
12245
|
i.__dataHost._setPendingPropertyOrPath("_host_" + e, t[e], !0, !0);
|
|
12246
12246
|
};
|
|
12247
12247
|
}
|
|
12248
|
-
function
|
|
12249
|
-
if (
|
|
12248
|
+
function yr(i, e, t) {
|
|
12249
|
+
if (di && !_o(i))
|
|
12250
12250
|
throw new Error("strictTemplatePolicy: template owner not trusted");
|
|
12251
12251
|
if (t = t || {}, i.__templatizeOwner)
|
|
12252
12252
|
throw new Error("A <template> can only be templatized once");
|
|
@@ -12361,7 +12361,7 @@ class go extends Qp {
|
|
|
12361
12361
|
return a.observe(this, { childList: !0 }), !1;
|
|
12362
12362
|
}
|
|
12363
12363
|
let r = {};
|
|
12364
|
-
r[this.as] = !0, r[this.indexAs] = !0, r[this.itemsIndexAs] = !0, this.__ctor =
|
|
12364
|
+
r[this.as] = !0, r[this.indexAs] = !0, r[this.itemsIndexAs] = !0, this.__ctor = yr(t, this, { mutableData: this.mutableData, parentModel: !0, instanceProps: r, forwardHostProp: function(a, o) {
|
|
12365
12365
|
let n = this.__instances;
|
|
12366
12366
|
for (let s = 0, l; s < n.length && (l = n[s]); s++)
|
|
12367
12367
|
l.forwardHostProp(a, o);
|
|
@@ -12415,7 +12415,7 @@ class go extends Qp {
|
|
|
12415
12415
|
this.items && !Array.isArray(this.items) && console.warn("dom-repeat expected array for `items`, found", this.items), this.__handleItemPath(e.path, e.value) || (e.path === "items" && (this.__itemsArrayChanged = !0), this.__debounceRender(this.__render));
|
|
12416
12416
|
}
|
|
12417
12417
|
__debounceRender(e, t = 0) {
|
|
12418
|
-
this.__renderDebouncer =
|
|
12418
|
+
this.__renderDebouncer = pi.debounce(this.__renderDebouncer, t > 0 ? oc.after(t) : mn, e.bind(this)), Ap(this.__renderDebouncer);
|
|
12419
12419
|
}
|
|
12420
12420
|
render() {
|
|
12421
12421
|
this.__debounceRender(this.__render), ta();
|
|
@@ -12596,7 +12596,7 @@ const Jp = (i) => class extends Le(i) {
|
|
|
12596
12596
|
}
|
|
12597
12597
|
__getWeekNumber(e) {
|
|
12598
12598
|
const t = e.reduce((r, a) => !r && a ? a : r);
|
|
12599
|
-
return
|
|
12599
|
+
return Sp(t);
|
|
12600
12600
|
}
|
|
12601
12601
|
__getDayAriaLabel(e) {
|
|
12602
12602
|
if (!e)
|
|
@@ -12732,7 +12732,7 @@ class em extends Jp(z(E)) {
|
|
|
12732
12732
|
e && t && t.firstDayOfWeek === 1 ? this.setAttribute("week-numbers", "") : this.removeAttribute("week-numbers");
|
|
12733
12733
|
}
|
|
12734
12734
|
__getDatePart(e, t, r, a, o, n) {
|
|
12735
|
-
const s = ["date"], l = e >
|
|
12735
|
+
const s = ["date"], l = e > vr(/* @__PURE__ */ new Date()), d = e < vr(/* @__PURE__ */ new Date());
|
|
12736
12736
|
return this.__isDayDisabled(e, a, o, n) && s.push("disabled"), this.__isDayFocused(e, t) && s.push("focused"), this.__isDaySelected(e, r) && s.push("selected"), this._isToday(e) && s.push("today"), d && s.push("past"), l && s.push("future"), s.join(" ");
|
|
12737
12737
|
}
|
|
12738
12738
|
__isDayFocused(e, t) {
|
|
@@ -13102,13 +13102,13 @@ const tm = (i) => class extends i {
|
|
|
13102
13102
|
}
|
|
13103
13103
|
}
|
|
13104
13104
|
focusDate(e, t) {
|
|
13105
|
-
return
|
|
13105
|
+
return ai(this, null, function* () {
|
|
13106
13106
|
const r = e || this.selectedDate || this.initialPosition || /* @__PURE__ */ new Date();
|
|
13107
13107
|
this.focusedDate = r, t || (this._focusedMonthDate = r.getDate()), yield this.focusDateElement(!1);
|
|
13108
13108
|
});
|
|
13109
13109
|
}
|
|
13110
13110
|
focusDateElement(e = !0) {
|
|
13111
|
-
return
|
|
13111
|
+
return ai(this, null, function* () {
|
|
13112
13112
|
this.__pendingDateFocus = this.focusedDate, this.calendars.length || (yield new Promise((t) => {
|
|
13113
13113
|
Xr(this, () => {
|
|
13114
13114
|
ta(), t();
|
|
@@ -13258,9 +13258,9 @@ w(rm);
|
|
|
13258
13258
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13259
13259
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13260
13260
|
*/
|
|
13261
|
-
const
|
|
13261
|
+
const Wi = /* @__PURE__ */ new WeakMap();
|
|
13262
13262
|
function am(i) {
|
|
13263
|
-
return
|
|
13263
|
+
return Wi.has(i) || Wi.set(i, /* @__PURE__ */ new Set()), Wi.get(i);
|
|
13264
13264
|
}
|
|
13265
13265
|
function om(i, e) {
|
|
13266
13266
|
const t = document.createElement("style");
|
|
@@ -13285,7 +13285,7 @@ const ns = U((i) => class extends i {
|
|
|
13285
13285
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13286
13286
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13287
13287
|
*/
|
|
13288
|
-
const nm = (i) => class extends
|
|
13288
|
+
const nm = (i) => class extends Mt(Ne(i)) {
|
|
13289
13289
|
static get properties() {
|
|
13290
13290
|
return { clearButtonVisible: { type: Boolean, reflectToAttribute: !0, value: !1 } };
|
|
13291
13291
|
}
|
|
@@ -13299,7 +13299,7 @@ const nm = (i) => class extends Vt(Ne(i)) {
|
|
|
13299
13299
|
e.preventDefault(), this._onClearAction();
|
|
13300
13300
|
}
|
|
13301
13301
|
_onClearButtonMouseDown(e) {
|
|
13302
|
-
e.preventDefault(),
|
|
13302
|
+
e.preventDefault(), fr || this.inputElement.focus();
|
|
13303
13303
|
}
|
|
13304
13304
|
_onEscape(e) {
|
|
13305
13305
|
super._onEscape(e), this.clearButtonVisible && this.value && !this.readonly && (e.stopPropagation(), this._onClearAction());
|
|
@@ -13313,7 +13313,7 @@ const nm = (i) => class extends Vt(Ne(i)) {
|
|
|
13313
13313
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13314
13314
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13315
13315
|
*/
|
|
13316
|
-
const na = U((i) => class extends Ur(Wr(
|
|
13316
|
+
const na = U((i) => class extends Ur(Wr(Mt(i))) {
|
|
13317
13317
|
static get constraints() {
|
|
13318
13318
|
return ["required"];
|
|
13319
13319
|
}
|
|
@@ -13350,7 +13350,7 @@ const na = U((i) => class extends Ur(Wr(Vt(i))) {
|
|
|
13350
13350
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13351
13351
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13352
13352
|
*/
|
|
13353
|
-
const
|
|
13353
|
+
const Ei = (i) => class extends ns(wi(na(xi(nm(Ne(i)))))) {
|
|
13354
13354
|
static get properties() {
|
|
13355
13355
|
return { allowedCharPattern: { type: String, observer: "_allowedCharPatternChanged" }, autoselect: { type: Boolean, value: !1 }, name: { type: String, reflectToAttribute: !0 }, placeholder: { type: String, reflectToAttribute: !0 }, readonly: { type: Boolean, value: !1, reflectToAttribute: !0 }, title: { type: String, reflectToAttribute: !0 } };
|
|
13356
13356
|
}
|
|
@@ -13493,13 +13493,13 @@ const ls = f`
|
|
|
13493
13493
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
13494
13494
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13495
13495
|
*/
|
|
13496
|
-
const
|
|
13496
|
+
const Si = [ss, ls, sm];
|
|
13497
13497
|
/**
|
|
13498
13498
|
* @license
|
|
13499
13499
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
13500
13500
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13501
13501
|
*/
|
|
13502
|
-
const
|
|
13502
|
+
const Ft = (i) => class extends i {
|
|
13503
13503
|
static get properties() {
|
|
13504
13504
|
return { overlayClass: { type: String }, _overlayElement: { type: Object } };
|
|
13505
13505
|
}
|
|
@@ -13538,7 +13538,7 @@ class ds {
|
|
|
13538
13538
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
13539
13539
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13540
13540
|
*/
|
|
13541
|
-
const lm = (i) => class extends
|
|
13541
|
+
const lm = (i) => class extends Ft(me(wi(na(Ne(i))))) {
|
|
13542
13542
|
static get properties() {
|
|
13543
13543
|
return { _selectedDate: { type: Object, sync: !0 }, _focusedDate: { type: Object, sync: !0 }, value: { type: String, notify: !0, value: "", sync: !0 }, initialPosition: String, opened: { type: Boolean, reflectToAttribute: !0, notify: !0, observer: "_openedChanged", sync: !0 }, autoOpenDisabled: Boolean, showWeekNumbers: { type: Boolean, value: !1, sync: !0 }, _fullscreen: { type: Boolean, value: !1, sync: !0 }, _fullscreenMediaQuery: { value: "(max-width: 450px), (max-height: 450px)" }, i18n: { type: Object, sync: !0, value: () => ({ monthNames: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], weekdays: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], weekdaysShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], firstDayOfWeek: 0, today: "Today", cancel: "Cancel", referenceDate: "", formatDate(e) {
|
|
13544
13544
|
const t = String(e.year).replace(/\d+/u, (r) => "0000".substr(r.length) + r);
|
|
@@ -13549,7 +13549,7 @@ const lm = (i) => class extends Rt(me(yi(na(Ne(i))))) {
|
|
|
13549
13549
|
if (t.length === 3) {
|
|
13550
13550
|
if (o = parseInt(t[0]) - 1, a = parseInt(t[1]), n = parseInt(t[2]), t[2].length < 3 && n >= 0) {
|
|
13551
13551
|
const s = this.referenceDate ? pt(this.referenceDate) : /* @__PURE__ */ new Date();
|
|
13552
|
-
n =
|
|
13552
|
+
n = Ip(s, n, o, a);
|
|
13553
13553
|
}
|
|
13554
13554
|
} else
|
|
13555
13555
|
t.length === 2 ? (o = parseInt(t[0]) - 1, a = parseInt(t[1])) : t.length === 1 && (a = parseInt(t[0]));
|
|
@@ -13582,7 +13582,7 @@ const lm = (i) => class extends Rt(me(yi(na(Ne(i))))) {
|
|
|
13582
13582
|
return !this._inputElementValue || this.__parseDate(this._inputElementValue) ? "" : this._inputElementValue;
|
|
13583
13583
|
}
|
|
13584
13584
|
_onFocus(e) {
|
|
13585
|
-
super._onFocus(e), this._noInput && !
|
|
13585
|
+
super._onFocus(e), this._noInput && !yi() && e.target.blur();
|
|
13586
13586
|
}
|
|
13587
13587
|
_onBlur(e) {
|
|
13588
13588
|
super._onBlur(e), this.opened || (this.__commitParsedOrFocusedDate(), document.hasFocus() && this.validate());
|
|
@@ -13814,8 +13814,8 @@ const dm = f`
|
|
|
13814
13814
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
13815
13815
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13816
13816
|
*/
|
|
13817
|
-
g("vaadin-date-picker", [
|
|
13818
|
-
class hm extends lm(
|
|
13817
|
+
g("vaadin-date-picker", [Si, dm], { moduleId: "vaadin-date-picker-styles" });
|
|
13818
|
+
class hm extends lm(Ei(z(ne(E)))) {
|
|
13819
13819
|
static get is() {
|
|
13820
13820
|
return "vaadin-date-picker";
|
|
13821
13821
|
}
|
|
@@ -13868,9 +13868,9 @@ class hm extends lm(ki(z(ne(E)))) {
|
|
|
13868
13868
|
return this.$.clearButton;
|
|
13869
13869
|
}
|
|
13870
13870
|
ready() {
|
|
13871
|
-
super.ready(), this.addController(new
|
|
13871
|
+
super.ready(), this.addController(new zt(this, (e) => {
|
|
13872
13872
|
this._setInputElement(e), this._setFocusElement(e), this.stateTarget = e, this.ariaTarget = e;
|
|
13873
|
-
}, { uniqueIdPrefix: "search-input" })), this.addController(new
|
|
13873
|
+
}, { uniqueIdPrefix: "search-input" })), this.addController(new Nt(this.inputElement, this._labelController)), this._tooltipController = new ye(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));
|
|
13874
13874
|
}
|
|
13875
13875
|
_onVaadinOverlayClose(e) {
|
|
13876
13876
|
e.detail.sourceEvent && e.detail.sourceEvent.composedPath().includes(this) && e.preventDefault();
|
|
@@ -13894,7 +13894,7 @@ g("vaadin-text-field", Re, { moduleId: "lumo-text-field-styles" });
|
|
|
13894
13894
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13895
13895
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13896
13896
|
*/
|
|
13897
|
-
const cm = (i) => class extends
|
|
13897
|
+
const cm = (i) => class extends Ei(i) {
|
|
13898
13898
|
static get properties() {
|
|
13899
13899
|
return { autocomplete: { type: String }, autocorrect: { type: String }, autocapitalize: { type: String, reflectToAttribute: !0 } };
|
|
13900
13900
|
}
|
|
@@ -13942,9 +13942,9 @@ const um = (i) => class extends cm(i) {
|
|
|
13942
13942
|
return this.$.clearButton;
|
|
13943
13943
|
}
|
|
13944
13944
|
ready() {
|
|
13945
|
-
super.ready(), this.addController(new
|
|
13945
|
+
super.ready(), this.addController(new zt(this, (e) => {
|
|
13946
13946
|
this._setInputElement(e), this._setFocusElement(e), this.stateTarget = e, this.ariaTarget = e;
|
|
13947
|
-
})), this.addController(new
|
|
13947
|
+
})), this.addController(new Nt(this.inputElement, this._labelController));
|
|
13948
13948
|
}
|
|
13949
13949
|
};
|
|
13950
13950
|
/**
|
|
@@ -13952,7 +13952,7 @@ const um = (i) => class extends cm(i) {
|
|
|
13952
13952
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
13953
13953
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13954
13954
|
*/
|
|
13955
|
-
g("vaadin-text-field",
|
|
13955
|
+
g("vaadin-text-field", Si, { moduleId: "vaadin-text-field-styles" });
|
|
13956
13956
|
class hs extends um(z(ne(E))) {
|
|
13957
13957
|
static get is() {
|
|
13958
13958
|
return "vaadin-text-field";
|
|
@@ -14062,7 +14062,7 @@ w(fm);
|
|
|
14062
14062
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14063
14063
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14064
14064
|
*/
|
|
14065
|
-
const _m = (i) => class extends ns(tt(Le(
|
|
14065
|
+
const _m = (i) => class extends ns(tt(Le(Mt(i)))) {
|
|
14066
14066
|
static get properties() {
|
|
14067
14067
|
return { revealButtonHidden: { type: Boolean, observer: "_revealButtonHiddenChanged", value: !1 }, passwordVisible: { type: Boolean, value: !1, reflectToAttribute: !0, observer: "_passwordVisibleChanged", readOnly: !0 }, i18n: { type: Object, value: () => ({ reveal: "Show password" }) } };
|
|
14068
14068
|
}
|
|
@@ -14146,18 +14146,18 @@ const vm = k`
|
|
|
14146
14146
|
<slot name="reveal"></slot>
|
|
14147
14147
|
</div>
|
|
14148
14148
|
`;
|
|
14149
|
-
let
|
|
14149
|
+
let Gt;
|
|
14150
14150
|
class gm extends _m(hs) {
|
|
14151
14151
|
static get is() {
|
|
14152
14152
|
return "vaadin-password-field";
|
|
14153
14153
|
}
|
|
14154
14154
|
static get template() {
|
|
14155
|
-
if (!
|
|
14156
|
-
|
|
14155
|
+
if (!Gt) {
|
|
14156
|
+
Gt = super.template.cloneNode(!0);
|
|
14157
14157
|
const e = vm.content.querySelector('[part="reveal-button"]');
|
|
14158
|
-
|
|
14158
|
+
Gt.content.querySelector('[part="input-field"]').appendChild(e);
|
|
14159
14159
|
}
|
|
14160
|
-
return
|
|
14160
|
+
return Gt;
|
|
14161
14161
|
}
|
|
14162
14162
|
}
|
|
14163
14163
|
w(gm);
|
|
@@ -14338,7 +14338,7 @@ const us = f`
|
|
|
14338
14338
|
margin-inline: auto 0;
|
|
14339
14339
|
}
|
|
14340
14340
|
`;
|
|
14341
|
-
g("vaadin-combo-box-overlay", [it,
|
|
14341
|
+
g("vaadin-combo-box-overlay", [it, Ci, ps, us, ms, f`
|
|
14342
14342
|
:host {
|
|
14343
14343
|
--_vaadin-combo-box-items-container-border-width: var(--lumo-space-xs);
|
|
14344
14344
|
--_vaadin-combo-box-items-container-border-style: solid;
|
|
@@ -14464,8 +14464,8 @@ const wm = f`
|
|
|
14464
14464
|
height: 100%;
|
|
14465
14465
|
}
|
|
14466
14466
|
`;
|
|
14467
|
-
g("vaadin-combo-box-overlay", [
|
|
14468
|
-
class xm extends _s(
|
|
14467
|
+
g("vaadin-combo-box-overlay", [Lt, wm], { moduleId: "vaadin-combo-box-overlay-styles" });
|
|
14468
|
+
class xm extends _s(Rt(oe(z(E)))) {
|
|
14469
14469
|
static get is() {
|
|
14470
14470
|
return "vaadin-combo-box-overlay";
|
|
14471
14471
|
}
|
|
@@ -14485,7 +14485,7 @@ w(xm);
|
|
|
14485
14485
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
14486
14486
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14487
14487
|
*/
|
|
14488
|
-
function
|
|
14488
|
+
function mi(i, e) {
|
|
14489
14489
|
return i.split(".").reduce((t, r) => t ? t[r] : void 0, e);
|
|
14490
14490
|
}
|
|
14491
14491
|
/**
|
|
@@ -14559,7 +14559,7 @@ const bo = navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u), Cm
|
|
|
14559
14559
|
this._virtualStart += r, this._physicalStart += r, this._physicalTop = Math.min(Math.floor(this._virtualStart) * this._physicalAverage, this._scrollPosition), this._update();
|
|
14560
14560
|
} else if (this._physicalCount > 0) {
|
|
14561
14561
|
const r = this._getReusables(t);
|
|
14562
|
-
t ? (this._physicalTop = r.physicalTop, this._virtualStart += r.indexes.length, this._physicalStart += r.indexes.length) : (this._virtualStart -= r.indexes.length, this._physicalStart -= r.indexes.length), this._update(r.indexes, t ? null : r.indexes), this._debounce("_increasePoolIfNeeded", this._increasePoolIfNeeded.bind(this, 0),
|
|
14562
|
+
t ? (this._physicalTop = r.physicalTop, this._virtualStart += r.indexes.length, this._physicalStart += r.indexes.length) : (this._virtualStart -= r.indexes.length, this._physicalStart -= r.indexes.length), this._update(r.indexes, t ? null : r.indexes), this._debounce("_increasePoolIfNeeded", this._increasePoolIfNeeded.bind(this, 0), ci);
|
|
14563
14563
|
}
|
|
14564
14564
|
}, _getReusables(i) {
|
|
14565
14565
|
let e, t, r;
|
|
@@ -14599,7 +14599,7 @@ const bo = navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u), Cm
|
|
|
14599
14599
|
this._physicalSizes.push(0);
|
|
14600
14600
|
this._physicalCount += e, this._physicalStart > this._physicalEnd && this._isIndexRendered(this._focusedVirtualIndex) && this._getPhysicalIndex(this._focusedVirtualIndex) < this._physicalEnd && (this._physicalStart += e), this._update(), this._templateCost = (window.performance.now() - r) / e, t = Math.round(this._physicalCount * 0.5);
|
|
14601
14601
|
}
|
|
14602
|
-
this._virtualEnd >= this._virtualCount - 1 || t === 0 || (this._isClientFull() ? this._physicalSize < this._optPhysicalSize && this._debounce("_increasePoolIfNeeded", this._increasePoolIfNeeded.bind(this, this._clamp(Math.round(50 / this._templateCost), 1, t)), Pn) : this._debounce("_increasePoolIfNeeded", this._increasePoolIfNeeded.bind(this, t),
|
|
14602
|
+
this._virtualEnd >= this._virtualCount - 1 || t === 0 || (this._isClientFull() ? this._physicalSize < this._optPhysicalSize && this._debounce("_increasePoolIfNeeded", this._increasePoolIfNeeded.bind(this, this._clamp(Math.round(50 / this._templateCost), 1, t)), Pn) : this._debounce("_increasePoolIfNeeded", this._increasePoolIfNeeded.bind(this, t), ci));
|
|
14603
14603
|
}
|
|
14604
14604
|
}, _render() {
|
|
14605
14605
|
if (!(!this.isAttached || !this._isVisible))
|
|
@@ -14675,7 +14675,7 @@ const bo = navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u), Cm
|
|
|
14675
14675
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14676
14676
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14677
14677
|
*/
|
|
14678
|
-
const Em = 1e5,
|
|
14678
|
+
const Em = 1e5, Yi = 1e3;
|
|
14679
14679
|
class vs {
|
|
14680
14680
|
constructor({ createElements: e, updateElement: t, scrollTarget: r, scrollContainer: a, elementsContainer: o, reorderElements: n }) {
|
|
14681
14681
|
this.isAttached = !0, this._vidxOffset = 0, this.createElements = e, this.updateElement = t, this.scrollTarget = r, this.scrollContainer = a, this.elementsContainer = o || a, this.reorderElements = n, this._maxPages = 1.3, this.__placeholderHeight = 200, this.__elementHeightQueue = Array(10), this.timeouts = { SCROLL_REORDER: 500, IGNORE_WHEEL: 500, FIX_INVALID_ITEM_POSITIONING: 100 }, this.__resizeObserver = new ResizeObserver(() => this._resizeHandler()), getComputedStyle(this.scrollTarget).overflow === "visible" && (this.scrollTarget.style.overflow = "auto"), getComputedStyle(this.scrollContainer).position === "static" && (this.scrollContainer.style.position = "relative"), this.__resizeObserver.observe(this.scrollTarget), this.scrollTarget.addEventListener("scroll", () => this._scrollHandler()), new ResizeObserver(([{ contentRect: s }]) => {
|
|
@@ -14710,7 +14710,7 @@ class vs {
|
|
|
14710
14710
|
delete this.__pendingScrollToIndex, this._physicalCount <= 3 && this.flush(), e = this._clamp(e, 0, this.size - 1);
|
|
14711
14711
|
const t = this.__getVisibleElements().length;
|
|
14712
14712
|
let r = Math.floor(e / this.size * this._virtualCount);
|
|
14713
|
-
this._virtualCount - r < t ? (r = this._virtualCount - (this.size - e), this._vidxOffset = this._maxVirtualIndexOffset) : r < t ? e <
|
|
14713
|
+
this._virtualCount - r < t ? (r = this._virtualCount - (this.size - e), this._vidxOffset = this._maxVirtualIndexOffset) : r < t ? e < Yi ? (r = e, this._vidxOffset = 0) : (r = Yi, this._vidxOffset = e - r) : this._vidxOffset = e - r, this.__skipNextVirtualIndexAdjust = !0, super.scrollToIndex(r), this.adjustedFirstVisibleIndex !== e && this._scrollTop < this._maxScrollTop && !this.grid && (this._scrollTop -= this.__getIndexScrollOffset(e) || 0), this._scrollHandler(), this.__hasPlaceholders() && (this.__pendingScrollToIndex = e);
|
|
14714
14714
|
}
|
|
14715
14715
|
flush() {
|
|
14716
14716
|
this.scrollTarget.offsetHeight !== 0 && (this._resizeHandler(), _t(), this._scrollHandler(), this.__fixInvalidItemPositioningDebouncer && this.__fixInvalidItemPositioningDebouncer.flush(), this.__scrollReorderDebouncer && this.__scrollReorderDebouncer.flush(), this.__debouncerWheelAnimationFrame && this.__debouncerWheelAnimationFrame.flush());
|
|
@@ -14768,7 +14768,7 @@ class vs {
|
|
|
14768
14768
|
const a = this.__getIndexScrollOffset(t);
|
|
14769
14769
|
r !== void 0 && a !== void 0 && (this._scrollTop += r - a);
|
|
14770
14770
|
}
|
|
14771
|
-
this.__preventElementUpdates = !1, this._isVisible || this._assignModels(), this.elementsContainer.children.length || requestAnimationFrame(() => this._resizeHandler()), this._resizeHandler(), _t(), this._debounce("_update", this._update,
|
|
14771
|
+
this.__preventElementUpdates = !1, this._isVisible || this._assignModels(), this.elementsContainer.children.length || requestAnimationFrame(() => this._resizeHandler()), this._resizeHandler(), _t(), this._debounce("_update", this._update, ci);
|
|
14772
14772
|
}
|
|
14773
14773
|
get _scrollTop() {
|
|
14774
14774
|
return this.scrollTarget.scrollTop;
|
|
@@ -14940,13 +14940,13 @@ class vs {
|
|
|
14940
14940
|
const r = this._scrollTop / (this.scrollTarget.scrollHeight - this.scrollTarget.clientHeight);
|
|
14941
14941
|
this._vidxOffset = Math.round(r * t);
|
|
14942
14942
|
} else {
|
|
14943
|
-
const r = this._vidxOffset, a =
|
|
14943
|
+
const r = this._vidxOffset, a = Yi, o = 100;
|
|
14944
14944
|
this._scrollTop === 0 ? (this._vidxOffset = 0, r !== this._vidxOffset && super.scrollToIndex(0)) : this.firstVisibleIndex < a && this._vidxOffset > 0 && (this._vidxOffset -= Math.min(this._vidxOffset, o), super.scrollToIndex(this.firstVisibleIndex + (r - this._vidxOffset))), this._scrollTop >= this._maxScrollTop && this._maxScrollTop > 0 ? (this._vidxOffset = t, r !== this._vidxOffset && super.scrollToIndex(this._virtualCount - 1)) : this.firstVisibleIndex > this._virtualCount - a && this._vidxOffset < t && (this._vidxOffset += Math.min(t - this._vidxOffset, o), super.scrollToIndex(this.firstVisibleIndex - (this._vidxOffset - r)));
|
|
14945
14945
|
}
|
|
14946
14946
|
}
|
|
14947
14947
|
}
|
|
14948
14948
|
Object.setPrototypeOf(vs.prototype, km);
|
|
14949
|
-
class
|
|
14949
|
+
class Sm {
|
|
14950
14950
|
constructor(e) {
|
|
14951
14951
|
this.__adapter = new vs(e);
|
|
14952
14952
|
}
|
|
@@ -14977,7 +14977,7 @@ class Im {
|
|
|
14977
14977
|
* Copyright (c) 2015 - 2024 Vaadin Ltd.
|
|
14978
14978
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14979
14979
|
*/
|
|
14980
|
-
const
|
|
14980
|
+
const Se = class {
|
|
14981
14981
|
toString() {
|
|
14982
14982
|
return "";
|
|
14983
14983
|
}
|
|
@@ -15002,7 +15002,7 @@ const gs = (i) => class extends i {
|
|
|
15002
15002
|
return this._cachedViewportTotalPaddingBottom;
|
|
15003
15003
|
}
|
|
15004
15004
|
ready() {
|
|
15005
|
-
super.ready(), this.setAttribute("role", "listbox"), this.id = `${this.localName}-${
|
|
15005
|
+
super.ready(), this.setAttribute("role", "listbox"), this.id = `${this.localName}-${Vt()}`, this.__hostTagName = this.constructor.is.replace("-scroller", ""), this.addEventListener("click", (e) => e.stopPropagation()), this.__patchWheelOverScrolling();
|
|
15006
15006
|
}
|
|
15007
15007
|
requestContentUpdate() {
|
|
15008
15008
|
this.__virtualizer && (this.items && (this.__virtualizer.size = this.items.length), this.opened && this.__virtualizer.update());
|
|
@@ -15020,10 +15020,10 @@ const gs = (i) => class extends i {
|
|
|
15020
15020
|
s > 0 && (this.scrollTop += s);
|
|
15021
15021
|
}
|
|
15022
15022
|
_isItemSelected(e, t, r) {
|
|
15023
|
-
return e instanceof
|
|
15023
|
+
return e instanceof Se ? !1 : r && e !== void 0 && t !== void 0 ? mi(r, e) === mi(r, t) : e === t;
|
|
15024
15024
|
}
|
|
15025
15025
|
__initVirtualizer() {
|
|
15026
|
-
this.__virtualizer = new
|
|
15026
|
+
this.__virtualizer = new Sm({ createElements: this.__createElements.bind(this), updateElement: this._updateElement.bind(this), elementsContainer: this, scrollTarget: this, scrollContainer: this.$.selector, reorderElements: !0 });
|
|
15027
15027
|
}
|
|
15028
15028
|
__itemsChanged(e) {
|
|
15029
15029
|
e && this.__virtualizer && this.requestContentUpdate();
|
|
@@ -15054,7 +15054,7 @@ const gs = (i) => class extends i {
|
|
|
15054
15054
|
}
|
|
15055
15055
|
_updateElement(e, t) {
|
|
15056
15056
|
const r = this.items[t], a = this.focusedIndex, o = this._isItemSelected(r, this.selectedItem, this.itemIdPath);
|
|
15057
|
-
e.setProperties({ item: r, index: t, label: this.getItemLabel(r), selected: o, renderer: this.renderer, focused: !this.loading && a === t }), typeof this.itemClassNameGenerator == "function" ? e.className = this.itemClassNameGenerator(r) : e.className !== "" && (e.className = ""), e.performUpdate && !e.hasUpdated && e.performUpdate(), e.id = `${this.__hostTagName}-item-${t}`, e.setAttribute("role", t !== void 0 ? "option" : !1), e.setAttribute("aria-selected", o.toString()), e.setAttribute("aria-posinset", t + 1), e.setAttribute("aria-setsize", this.items.length), this.theme ? e.setAttribute("theme", this.theme) : e.removeAttribute("theme"), r instanceof
|
|
15057
|
+
e.setProperties({ item: r, index: t, label: this.getItemLabel(r), selected: o, renderer: this.renderer, focused: !this.loading && a === t }), typeof this.itemClassNameGenerator == "function" ? e.className = this.itemClassNameGenerator(r) : e.className !== "" && (e.className = ""), e.performUpdate && !e.hasUpdated && e.performUpdate(), e.id = `${this.__hostTagName}-item-${t}`, e.setAttribute("role", t !== void 0 ? "option" : !1), e.setAttribute("aria-selected", o.toString()), e.setAttribute("aria-posinset", t + 1), e.setAttribute("aria-setsize", this.items.length), this.theme ? e.setAttribute("theme", this.theme) : e.removeAttribute("theme"), r instanceof Se && this.__requestItemByIndex(t);
|
|
15058
15058
|
}
|
|
15059
15059
|
__onItemClick(e) {
|
|
15060
15060
|
this.dispatchEvent(new CustomEvent("selection-changed", { detail: { item: e.currentTarget.item } }));
|
|
@@ -15079,7 +15079,7 @@ const gs = (i) => class extends i {
|
|
|
15079
15079
|
* Copyright (c) 2015 - 2024 Vaadin Ltd.
|
|
15080
15080
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15081
15081
|
*/
|
|
15082
|
-
class
|
|
15082
|
+
class Im extends gs(E) {
|
|
15083
15083
|
static get is() {
|
|
15084
15084
|
return "vaadin-combo-box-scroller";
|
|
15085
15085
|
}
|
|
@@ -15114,7 +15114,7 @@ class Sm extends gs(E) {
|
|
|
15114
15114
|
`;
|
|
15115
15115
|
}
|
|
15116
15116
|
}
|
|
15117
|
-
w(
|
|
15117
|
+
w(Im);
|
|
15118
15118
|
/**
|
|
15119
15119
|
* @license
|
|
15120
15120
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
@@ -15136,14 +15136,14 @@ const Tm = (i) => class extends na(i) {
|
|
|
15136
15136
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
15137
15137
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15138
15138
|
*/
|
|
15139
|
-
function
|
|
15139
|
+
function fi(i, e, t = 0) {
|
|
15140
15140
|
let r = e;
|
|
15141
15141
|
for (const a of i.subCaches) {
|
|
15142
15142
|
const o = a.parentCacheIndex;
|
|
15143
15143
|
if (r <= o)
|
|
15144
15144
|
break;
|
|
15145
15145
|
if (r <= o + a.flatSize)
|
|
15146
|
-
return
|
|
15146
|
+
return fi(a, r - o - 1, t + 1);
|
|
15147
15147
|
r -= a.flatSize;
|
|
15148
15148
|
}
|
|
15149
15149
|
return { cache: i, item: i.items[r], index: r, page: Math.floor(r / i.pageSize), level: t };
|
|
@@ -15237,12 +15237,12 @@ class sa {
|
|
|
15237
15237
|
}
|
|
15238
15238
|
getItemForIndex(e) {
|
|
15239
15239
|
console.warn("<vaadin-grid> The `getItemForIndex` method of ItemCache is deprecated and will be removed in Vaadin 25.");
|
|
15240
|
-
const { item: t } =
|
|
15240
|
+
const { item: t } = fi(this, e);
|
|
15241
15241
|
return t;
|
|
15242
15242
|
}
|
|
15243
15243
|
getCacheAndIndex(e) {
|
|
15244
15244
|
console.warn("<vaadin-grid> The `getCacheAndIndex` method of ItemCache is deprecated and will be removed in Vaadin 25.");
|
|
15245
|
-
const { cache: t, index: r } =
|
|
15245
|
+
const { cache: t, index: r } = fi(this, e);
|
|
15246
15246
|
return { cache: t, scaledIndex: r };
|
|
15247
15247
|
}
|
|
15248
15248
|
updateSize() {
|
|
@@ -15292,7 +15292,7 @@ class Pm extends EventTarget {
|
|
|
15292
15292
|
this.rootCache = this.__createRootCache(this.rootCache.size);
|
|
15293
15293
|
}
|
|
15294
15294
|
getFlatIndexContext(e) {
|
|
15295
|
-
return
|
|
15295
|
+
return fi(this.rootCache, e);
|
|
15296
15296
|
}
|
|
15297
15297
|
getItemContext(e) {
|
|
15298
15298
|
return bs({ getItemId: this.getItemId }, this.rootCache, e);
|
|
@@ -15321,7 +15321,7 @@ class Pm extends EventTarget {
|
|
|
15321
15321
|
if (!this.dataProvider || e.pendingRequests[t])
|
|
15322
15322
|
return;
|
|
15323
15323
|
let r = { page: t, pageSize: this.pageSize, parentItem: e.parentItem };
|
|
15324
|
-
this.dataProviderParams && (r =
|
|
15324
|
+
this.dataProviderParams && (r = ri(ri({}, r), this.dataProviderParams()));
|
|
15325
15325
|
const a = (o, n) => {
|
|
15326
15326
|
e.pendingRequests[t] === a && (n !== void 0 ? e.size = n : r.parentItem && (e.size = o.length), e.setPage(t, o), this.recalculateFlatSize(), this.dispatchEvent(new CustomEvent("page-received")), delete e.pendingRequests[t], this.dispatchEvent(new CustomEvent("page-loaded")));
|
|
15327
15327
|
};
|
|
@@ -15344,7 +15344,7 @@ const ws = (i) => class extends i {
|
|
|
15344
15344
|
return ["_dataProviderFilterChanged(filter)", "_warnDataProviderValue(dataProvider, value)", "_ensureFirstPage(opened)"];
|
|
15345
15345
|
}
|
|
15346
15346
|
constructor() {
|
|
15347
|
-
super(), this.__dataProviderController = new Pm(this, { placeholder: new
|
|
15347
|
+
super(), this.__dataProviderController = new Pm(this, { placeholder: new Se(), isPlaceholder: (e) => e instanceof Se, dataProviderParams: () => ({ filter: this.filter }) }), this.__dataProviderController.addEventListener("page-requested", this.__onDataProviderPageRequested.bind(this)), this.__dataProviderController.addEventListener("page-loaded", this.__onDataProviderPageLoaded.bind(this));
|
|
15348
15348
|
}
|
|
15349
15349
|
ready() {
|
|
15350
15350
|
super.ready(), this._scroller.addEventListener("index-requested", (e) => {
|
|
@@ -15419,7 +15419,7 @@ const ws = (i) => class extends i {
|
|
|
15419
15419
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
15420
15420
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15421
15421
|
*/
|
|
15422
|
-
function
|
|
15422
|
+
function Ti(i) {
|
|
15423
15423
|
if (window.Vaadin && window.Vaadin.templateRendererCallback) {
|
|
15424
15424
|
window.Vaadin.templateRendererCallback(i);
|
|
15425
15425
|
return;
|
|
@@ -15435,9 +15435,9 @@ function wo(i) {
|
|
|
15435
15435
|
return i != null;
|
|
15436
15436
|
}
|
|
15437
15437
|
function xo(i, e) {
|
|
15438
|
-
return i.findIndex((t) => t instanceof
|
|
15438
|
+
return i.findIndex((t) => t instanceof Se ? !1 : e(t));
|
|
15439
15439
|
}
|
|
15440
|
-
const xs = (i) => class extends
|
|
15440
|
+
const xs = (i) => class extends Ft(me(Wr(Le(Ne(Mt(tt(i))))))) {
|
|
15441
15441
|
static get properties() {
|
|
15442
15442
|
return { opened: { type: Boolean, notify: !0, value: !1, reflectToAttribute: !0, sync: !0, observer: "_openedChanged" }, autoOpenDisabled: { type: Boolean, sync: !0 }, readonly: { type: Boolean, value: !1, reflectToAttribute: !0 }, renderer: { type: Object, sync: !0 }, items: { type: Array, sync: !0, observer: "_itemsChanged" }, allowCustomValue: { type: Boolean, value: !1 }, filteredItems: { type: Array, observer: "_filteredItemsChanged", sync: !0 }, _lastCommittedValue: String, loading: { type: Boolean, value: !1, reflectToAttribute: !0, sync: !0 }, _focusedIndex: { type: Number, observer: "_focusedIndexChanged", value: -1, sync: !0 }, filter: { type: String, value: "", notify: !0, sync: !0 }, selectedItem: { type: Object, notify: !0, sync: !0 }, itemClassNameGenerator: { type: Object }, itemLabelPath: { type: String, value: "label", observer: "_itemLabelPathChanged", sync: !0 }, itemValuePath: { type: String, value: "value", sync: !0 }, itemIdPath: { type: String, sync: !0 }, _toggleElement: { type: Object, observer: "_toggleElementChanged" }, _dropdownItems: { type: Array, sync: !0 }, _closeOnBlurIsPrevented: Boolean, _scroller: { type: Object, sync: !0 }, _overlayOpened: { type: Boolean, sync: !0, observer: "_overlayOpenedChanged" }, __keepOverlayOpened: { type: Boolean, sync: !0 } };
|
|
15443
15443
|
}
|
|
@@ -15465,7 +15465,7 @@ const xs = (i) => class extends Rt(me(Wr(Le(Ne(Vt(tt(i))))))) {
|
|
|
15465
15465
|
this._overlayElement.bringToFront();
|
|
15466
15466
|
});
|
|
15467
15467
|
};
|
|
15468
|
-
this.addEventListener("mousedown", e), this.addEventListener("touchstart", e),
|
|
15468
|
+
this.addEventListener("mousedown", e), this.addEventListener("touchstart", e), Ti(this), this.addController(new ds(this));
|
|
15469
15469
|
}
|
|
15470
15470
|
disconnectedCallback() {
|
|
15471
15471
|
super.disconnectedCallback(), this.close();
|
|
@@ -15530,7 +15530,7 @@ const xs = (i) => class extends Rt(me(Wr(Le(Ne(Vt(tt(i))))))) {
|
|
|
15530
15530
|
_openedChanged(e, t) {
|
|
15531
15531
|
if (t === void 0)
|
|
15532
15532
|
return;
|
|
15533
|
-
e ? !this._isInputFocused() && !
|
|
15533
|
+
e ? !this._isInputFocused() && !fr && this.inputElement && this.inputElement.focus() : this._onClosed();
|
|
15534
15534
|
const r = this._nativeInput;
|
|
15535
15535
|
r && (r.setAttribute("aria-expanded", !!e), e ? r.setAttribute("aria-controls", this._scroller.id) : r.removeAttribute("aria-controls"));
|
|
15536
15536
|
}
|
|
@@ -15559,11 +15559,11 @@ const xs = (i) => class extends Rt(me(Wr(Le(Ne(Vt(tt(i))))))) {
|
|
|
15559
15559
|
super._onKeyDown(e), e.key === "ArrowDown" ? (this._onArrowDown(), e.preventDefault()) : e.key === "ArrowUp" && (this._onArrowUp(), e.preventDefault());
|
|
15560
15560
|
}
|
|
15561
15561
|
_getItemLabel(e) {
|
|
15562
|
-
let t = e && this.itemLabelPath ?
|
|
15562
|
+
let t = e && this.itemLabelPath ? mi(this.itemLabelPath, e) : void 0;
|
|
15563
15563
|
return t == null && (t = e ? e.toString() : ""), t;
|
|
15564
15564
|
}
|
|
15565
15565
|
_getItemValue(e) {
|
|
15566
|
-
let t = e && this.itemValuePath ?
|
|
15566
|
+
let t = e && this.itemValuePath ? mi(this.itemValuePath, e) : void 0;
|
|
15567
15567
|
return t === void 0 && (t = e ? e.toString() : ""), t;
|
|
15568
15568
|
}
|
|
15569
15569
|
_onArrowDown() {
|
|
@@ -15622,7 +15622,7 @@ const xs = (i) => class extends Rt(me(Wr(Le(Ne(Vt(tt(i))))))) {
|
|
|
15622
15622
|
}
|
|
15623
15623
|
_toggleElementChanged(e) {
|
|
15624
15624
|
e && (e.addEventListener("mousedown", (t) => t.preventDefault()), e.addEventListener("click", () => {
|
|
15625
|
-
|
|
15625
|
+
fr && !this._isInputFocused() && document.activeElement.blur();
|
|
15626
15626
|
}));
|
|
15627
15627
|
}
|
|
15628
15628
|
_onClearAction() {
|
|
@@ -15729,7 +15729,7 @@ const xs = (i) => class extends Rt(me(Wr(Le(Ne(Vt(tt(i))))))) {
|
|
|
15729
15729
|
return !e || !t ? -1 : xo(e, (r) => this._getItemLabel(r).toString().toLowerCase() === t.toString().toLowerCase());
|
|
15730
15730
|
}
|
|
15731
15731
|
_overlaySelectedItemChanged(e) {
|
|
15732
|
-
e.stopPropagation(), !(e.detail.item instanceof
|
|
15732
|
+
e.stopPropagation(), !(e.detail.item instanceof Se) && this.opened && (this._focusedIndex = this.filteredItems.indexOf(e.detail.item), this.close());
|
|
15733
15733
|
}
|
|
15734
15734
|
_setFocused(e) {
|
|
15735
15735
|
if (super._setFocused(e), !e && !this.readonly && !this._closeOnBlurIsPrevented) {
|
|
@@ -15737,7 +15737,7 @@ const xs = (i) => class extends Rt(me(Wr(Le(Ne(Vt(tt(i))))))) {
|
|
|
15737
15737
|
delete this._lastCustomValue;
|
|
15738
15738
|
return;
|
|
15739
15739
|
}
|
|
15740
|
-
if (
|
|
15740
|
+
if (yi()) {
|
|
15741
15741
|
this._closeOrCommit();
|
|
15742
15742
|
return;
|
|
15743
15743
|
}
|
|
@@ -15756,8 +15756,8 @@ const xs = (i) => class extends Rt(me(Wr(Le(Ne(Vt(tt(i))))))) {
|
|
|
15756
15756
|
* Copyright (c) 2015 - 2024 Vaadin Ltd.
|
|
15757
15757
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15758
15758
|
*/
|
|
15759
|
-
g("vaadin-combo-box",
|
|
15760
|
-
class Am extends ws(xs(Tm(
|
|
15759
|
+
g("vaadin-combo-box", Si, { moduleId: "vaadin-combo-box-styles" });
|
|
15760
|
+
class Am extends ws(xs(Tm(Ei(z(ne(E)))))) {
|
|
15761
15761
|
static get is() {
|
|
15762
15762
|
return "vaadin-combo-box";
|
|
15763
15763
|
}
|
|
@@ -15816,9 +15816,9 @@ class Am extends ws(xs(Tm(ki(z(ne(E)))))) {
|
|
|
15816
15816
|
return this.$.clearButton;
|
|
15817
15817
|
}
|
|
15818
15818
|
ready() {
|
|
15819
|
-
super.ready(), this.addController(new
|
|
15819
|
+
super.ready(), this.addController(new zt(this, (e) => {
|
|
15820
15820
|
this._setInputElement(e), this._setFocusElement(e), this.stateTarget = e, this.ariaTarget = e;
|
|
15821
|
-
})), this.addController(new
|
|
15821
|
+
})), this.addController(new Nt(this.inputElement, this._labelController)), this._tooltipController = new ye(this), this.addController(this._tooltipController), this._tooltipController.setPosition("top"), this._tooltipController.setAriaTarget(this.inputElement), this._tooltipController.setShouldShow((e) => !e.opened), this._positionTarget = this.shadowRoot.querySelector('[part="input-field"]'), this._toggleElement = this.$.toggleButton;
|
|
15822
15822
|
}
|
|
15823
15823
|
_onClearButtonClick(e) {
|
|
15824
15824
|
e.stopPropagation(), super._onClearButtonClick(e);
|
|
@@ -15939,7 +15939,7 @@ const Om = f`
|
|
|
15939
15939
|
}
|
|
15940
15940
|
`;
|
|
15941
15941
|
g("vaadin-multi-select-combo-box-item", [Ii, cs, Om], { moduleId: "lumo-multi-select-combo-box-item" });
|
|
15942
|
-
g("vaadin-multi-select-combo-box-overlay", [it,
|
|
15942
|
+
g("vaadin-multi-select-combo-box-overlay", [it, Ci, ps, us, ms, f`
|
|
15943
15943
|
:host {
|
|
15944
15944
|
--_vaadin-multi-select-combo-box-items-container-border-width: var(--lumo-space-xs);
|
|
15945
15945
|
--_vaadin-multi-select-combo-box-items-container-border-style: solid;
|
|
@@ -16070,18 +16070,18 @@ g("vaadin-multi-select-combo-box-container", f`
|
|
|
16070
16070
|
flex-wrap: wrap;
|
|
16071
16071
|
}
|
|
16072
16072
|
`, { moduleId: "vaadin-multi-select-combo-box-container-styles" });
|
|
16073
|
-
let
|
|
16073
|
+
let Kt;
|
|
16074
16074
|
class zm extends Wn {
|
|
16075
16075
|
static get is() {
|
|
16076
16076
|
return "vaadin-multi-select-combo-box-container";
|
|
16077
16077
|
}
|
|
16078
16078
|
static get template() {
|
|
16079
|
-
if (!
|
|
16080
|
-
|
|
16081
|
-
const e =
|
|
16079
|
+
if (!Kt) {
|
|
16080
|
+
Kt = super.template.cloneNode(!0);
|
|
16081
|
+
const e = Kt.content, t = e.querySelectorAll("slot"), r = document.createElement("div");
|
|
16082
16082
|
r.setAttribute("id", "wrapper"), e.insertBefore(r, t[2]), r.appendChild(t[0]), r.appendChild(t[1]);
|
|
16083
16083
|
}
|
|
16084
|
-
return
|
|
16084
|
+
return Kt;
|
|
16085
16085
|
}
|
|
16086
16086
|
static get properties() {
|
|
16087
16087
|
return { autoExpandVertically: { type: Boolean, reflectToAttribute: !0 } };
|
|
@@ -16135,8 +16135,8 @@ const Lm = f`
|
|
|
16135
16135
|
height: 100%;
|
|
16136
16136
|
}
|
|
16137
16137
|
`;
|
|
16138
|
-
g("vaadin-multi-select-combo-box-overlay", [
|
|
16139
|
-
class Rm extends _s(
|
|
16138
|
+
g("vaadin-multi-select-combo-box-overlay", [Lt, Lm], { moduleId: "vaadin-multi-select-combo-box-overlay-styles" });
|
|
16139
|
+
class Rm extends _s(Rt(oe(z(E)))) {
|
|
16140
16140
|
static get is() {
|
|
16141
16141
|
return "vaadin-multi-select-combo-box-overlay";
|
|
16142
16142
|
}
|
|
@@ -16194,7 +16194,7 @@ class Fm extends gs(E) {
|
|
|
16194
16194
|
super.ready(), this.setAttribute("aria-multiselectable", "true");
|
|
16195
16195
|
}
|
|
16196
16196
|
_isItemSelected(e, t, r) {
|
|
16197
|
-
return e instanceof
|
|
16197
|
+
return e instanceof Se || this.owner.readonly ? !1 : this.owner._findIndex(e, this.owner.selectedItems, r) > -1;
|
|
16198
16198
|
}
|
|
16199
16199
|
_updateElement(e, t) {
|
|
16200
16200
|
super._updateElement(e, t), e.toggleAttribute("readonly", this.owner.readonly);
|
|
@@ -16326,7 +16326,7 @@ class $m extends ws(xs(z(E))) {
|
|
|
16326
16326
|
super._detectAndDispatchChange();
|
|
16327
16327
|
}
|
|
16328
16328
|
_overlaySelectedItemChanged(e) {
|
|
16329
|
-
e.stopPropagation(), !this.readonly && (e.detail.item instanceof
|
|
16329
|
+
e.stopPropagation(), !this.readonly && (e.detail.item instanceof Se || this.opened && (this.lastFilter = this.filter, this.dispatchEvent(new CustomEvent("combo-box-item-selected", { detail: { item: e.detail.item } }))));
|
|
16330
16330
|
}
|
|
16331
16331
|
_shouldFetchData() {
|
|
16332
16332
|
return this.readonly ? !1 : super._shouldFetchData();
|
|
@@ -16344,7 +16344,7 @@ w($m);
|
|
|
16344
16344
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
16345
16345
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
16346
16346
|
*/
|
|
16347
|
-
const
|
|
16347
|
+
const Xt = new ResizeObserver((i) => {
|
|
16348
16348
|
setTimeout(() => {
|
|
16349
16349
|
i.forEach((e) => {
|
|
16350
16350
|
e.target.resizables ? e.target.resizables.forEach((t) => {
|
|
@@ -16357,17 +16357,17 @@ const Kt = new ResizeObserver((i) => {
|
|
|
16357
16357
|
return !1;
|
|
16358
16358
|
}
|
|
16359
16359
|
connectedCallback() {
|
|
16360
|
-
if (super.connectedCallback(),
|
|
16360
|
+
if (super.connectedCallback(), Xt.observe(this), this._observeParent) {
|
|
16361
16361
|
const e = this.parentNode instanceof ShadowRoot ? this.parentNode.host : this.parentNode;
|
|
16362
|
-
e.resizables || (e.resizables = /* @__PURE__ */ new Set(),
|
|
16362
|
+
e.resizables || (e.resizables = /* @__PURE__ */ new Set(), Xt.observe(e)), e.resizables.add(this), this.__parent = e;
|
|
16363
16363
|
}
|
|
16364
16364
|
}
|
|
16365
16365
|
disconnectedCallback() {
|
|
16366
|
-
super.disconnectedCallback(),
|
|
16366
|
+
super.disconnectedCallback(), Xt.unobserve(this);
|
|
16367
16367
|
const e = this.__parent;
|
|
16368
16368
|
if (this._observeParent && e) {
|
|
16369
16369
|
const t = e.resizables;
|
|
16370
|
-
t && (t.delete(this), t.size === 0 &&
|
|
16370
|
+
t && (t.delete(this), t.size === 0 && Xt.unobserve(e)), this.__parent = null;
|
|
16371
16371
|
}
|
|
16372
16372
|
}
|
|
16373
16373
|
_onResize(e) {
|
|
@@ -16417,8 +16417,8 @@ const Hm = f`
|
|
|
16417
16417
|
width: auto;
|
|
16418
16418
|
}
|
|
16419
16419
|
`;
|
|
16420
|
-
g("vaadin-multi-select-combo-box", [
|
|
16421
|
-
class Bm extends Cs(
|
|
16420
|
+
g("vaadin-multi-select-combo-box", [Si, Hm], { moduleId: "vaadin-multi-select-combo-box-styles" });
|
|
16421
|
+
class Bm extends Cs(Ei(z(ne(E)))) {
|
|
16422
16422
|
static get is() {
|
|
16423
16423
|
return "vaadin-multi-select-combo-box";
|
|
16424
16424
|
}
|
|
@@ -16521,17 +16521,17 @@ class Bm extends Cs(ki(z(ne(E)))) {
|
|
|
16521
16521
|
return this.selectedItems && this.selectedItems.length > 0;
|
|
16522
16522
|
}
|
|
16523
16523
|
ready() {
|
|
16524
|
-
super.ready(), this.addController(new
|
|
16524
|
+
super.ready(), this.addController(new zt(this, (e) => {
|
|
16525
16525
|
this._setInputElement(e), this._setFocusElement(e), this.stateTarget = e, this.ariaTarget = e;
|
|
16526
|
-
})), this.addController(new
|
|
16526
|
+
})), this.addController(new Nt(this.inputElement, this._labelController)), this._tooltipController = new ye(this), this.addController(this._tooltipController), this._tooltipController.setPosition("top"), this._tooltipController.setAriaTarget(this.inputElement), this._tooltipController.setShouldShow((e) => !e.opened), this._inputField = this.shadowRoot.querySelector('[part="input-field"]'), this._overflowController = new J(this, "overflow", "vaadin-multi-select-combo-box-chip", { initializer: (e) => {
|
|
16527
16527
|
e.addEventListener("mousedown", (t) => this._preventBlur(t)), this._overflow = e;
|
|
16528
|
-
} }), this.addController(this._overflowController), this.__updateChips(),
|
|
16528
|
+
} }), this.addController(this._overflowController), this.__updateChips(), Ti(this);
|
|
16529
16529
|
}
|
|
16530
16530
|
checkValidity() {
|
|
16531
16531
|
return this.required && !this.readonly ? this._hasValue : !0;
|
|
16532
16532
|
}
|
|
16533
16533
|
clear() {
|
|
16534
|
-
this.__updateSelection([]),
|
|
16534
|
+
this.__updateSelection([]), Zt(this.i18n.cleared);
|
|
16535
16535
|
}
|
|
16536
16536
|
clearCache() {
|
|
16537
16537
|
this.$ && this.$.comboBox && this.$.comboBox.clearCache();
|
|
@@ -16614,7 +16614,7 @@ class Bm extends Cs(ki(z(ne(E)))) {
|
|
|
16614
16614
|
}
|
|
16615
16615
|
__announceItem(e, t, r) {
|
|
16616
16616
|
const a = t ? "selected" : "deselected", o = this.i18n.total.replace("{count}", r || 0);
|
|
16617
|
-
|
|
16617
|
+
Zt(`${e} ${this.i18n[a]} ${o}`);
|
|
16618
16618
|
}
|
|
16619
16619
|
__removeItem(e) {
|
|
16620
16620
|
const t = [...this.selectedItems];
|
|
@@ -16764,7 +16764,7 @@ class Bm extends Cs(ki(z(ne(E)))) {
|
|
|
16764
16764
|
a.toggleAttribute("focused", o === e);
|
|
16765
16765
|
}), e > -1) {
|
|
16766
16766
|
const a = r[e].item, o = this._getItemLabel(a);
|
|
16767
|
-
|
|
16767
|
+
Zt(`${o} ${this.i18n.focused}`);
|
|
16768
16768
|
}
|
|
16769
16769
|
}
|
|
16770
16770
|
}
|
|
@@ -17137,7 +17137,7 @@ class jm extends z(E) {
|
|
|
17137
17137
|
super.ready(), this.setAttribute("role", "alert"), this.setAttribute("aria-live", "polite");
|
|
17138
17138
|
}
|
|
17139
17139
|
}
|
|
17140
|
-
class ve extends
|
|
17140
|
+
class ve extends Ft(vi(ne(E))) {
|
|
17141
17141
|
static get template() {
|
|
17142
17142
|
return k`
|
|
17143
17143
|
<style>
|
|
@@ -17177,7 +17177,7 @@ class ve extends Rt(_i(ne(E))) {
|
|
|
17177
17177
|
return this._overlayElement;
|
|
17178
17178
|
}
|
|
17179
17179
|
ready() {
|
|
17180
|
-
super.ready(), this._overlayElement = this.shadowRoot.querySelector("vaadin-notification-card"),
|
|
17180
|
+
super.ready(), this._overlayElement = this.shadowRoot.querySelector("vaadin-notification-card"), Ti(this);
|
|
17181
17181
|
}
|
|
17182
17182
|
disconnectedCallback() {
|
|
17183
17183
|
super.disconnectedCallback(), queueMicrotask(() => {
|
|
@@ -17441,7 +17441,7 @@ w(Gm);
|
|
|
17441
17441
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
17442
17442
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
17443
17443
|
*/
|
|
17444
|
-
function
|
|
17444
|
+
function Ss(i, e) {
|
|
17445
17445
|
const { scrollLeft: t } = i;
|
|
17446
17446
|
return e !== "rtl" ? t : i.scrollWidth - i.clientWidth + t;
|
|
17447
17447
|
}
|
|
@@ -17463,7 +17463,7 @@ const Xm = (i) => class extends Ne(i) {
|
|
|
17463
17463
|
focus() {
|
|
17464
17464
|
const e = this._getItems();
|
|
17465
17465
|
if (Array.isArray(e)) {
|
|
17466
|
-
const t = this._getAvailableIndex(e, 0, null, (r) => !
|
|
17466
|
+
const t = this._getAvailableIndex(e, 0, null, (r) => !ur(r));
|
|
17467
17467
|
t >= 0 && this._focus(t);
|
|
17468
17468
|
}
|
|
17469
17469
|
}
|
|
@@ -17476,7 +17476,7 @@ const Xm = (i) => class extends Ne(i) {
|
|
|
17476
17476
|
const { key: t } = e, r = this._getItems() || [], a = r.indexOf(this.focused);
|
|
17477
17477
|
let o, n;
|
|
17478
17478
|
const s = !this._vertical && this.getAttribute("dir") === "rtl" ? -1 : 1;
|
|
17479
|
-
this.__isPrevKey(t) ? (n = -s, o = a - s) : this.__isNextKey(t) ? (n = s, o = a + s) : t === "Home" ? (n = 1, o = 0) : t === "End" && (n = -1, o = r.length - 1), o = this._getAvailableIndex(r, o, n, (l) => !
|
|
17479
|
+
this.__isPrevKey(t) ? (n = -s, o = a - s) : this.__isNextKey(t) ? (n = s, o = a + s) : t === "Home" ? (n = 1, o = 0) : t === "End" && (n = -1, o = r.length - 1), o = this._getAvailableIndex(r, o, n, (l) => !ur(l)), o >= 0 && (e.preventDefault(), this._focus(o, !0));
|
|
17480
17480
|
}
|
|
17481
17481
|
__isPrevKey(e) {
|
|
17482
17482
|
return this._vertical ? e === "ArrowUp" : e === "ArrowLeft";
|
|
@@ -17511,7 +17511,7 @@ const Xm = (i) => class extends Ne(i) {
|
|
|
17511
17511
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
17512
17512
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
17513
17513
|
*/
|
|
17514
|
-
const
|
|
17514
|
+
const Is = (i) => class extends Xm(i) {
|
|
17515
17515
|
static get properties() {
|
|
17516
17516
|
return { disabled: { type: Boolean, value: !1, reflectToAttribute: !0 }, selected: { type: Number, reflectToAttribute: !0, notify: !0 }, orientation: { type: String, reflectToAttribute: !0, value: "" }, items: { type: Array, readOnly: !0, notify: !0 }, _searchBuf: { type: String, value: "" } };
|
|
17517
17517
|
}
|
|
@@ -17529,7 +17529,7 @@ const Ss = (i) => class extends Xm(i) {
|
|
|
17529
17529
|
}
|
|
17530
17530
|
focus() {
|
|
17531
17531
|
this._observer && this._observer.flush();
|
|
17532
|
-
const e = Array.isArray(this.items) ? this.items : [], t = this._getAvailableIndex(e, 0, null, (r) => r.tabIndex === 0 && !
|
|
17532
|
+
const e = Array.isArray(this.items) ? this.items : [], t = this._getAvailableIndex(e, 0, null, (r) => r.tabIndex === 0 && !ur(r));
|
|
17533
17533
|
t >= 0 ? this._focus(t) : super.focus();
|
|
17534
17534
|
}
|
|
17535
17535
|
ready() {
|
|
@@ -17611,7 +17611,7 @@ const Ss = (i) => class extends Xm(i) {
|
|
|
17611
17611
|
if (this._vertical)
|
|
17612
17612
|
this._scrollerElement.scrollTop += e;
|
|
17613
17613
|
else {
|
|
17614
|
-
const t = this.getAttribute("dir") || "ltr", r =
|
|
17614
|
+
const t = this.getAttribute("dir") || "ltr", r = Ss(this._scrollerElement, t) + e;
|
|
17615
17615
|
Km(this._scrollerElement, t, r);
|
|
17616
17616
|
}
|
|
17617
17617
|
}
|
|
@@ -17621,7 +17621,7 @@ const Ss = (i) => class extends Xm(i) {
|
|
|
17621
17621
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
17622
17622
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
17623
17623
|
*/
|
|
17624
|
-
class Qm extends
|
|
17624
|
+
class Qm extends Is(z(oe(me(E)))) {
|
|
17625
17625
|
static get is() {
|
|
17626
17626
|
return "vaadin-select-list-box";
|
|
17627
17627
|
}
|
|
@@ -17664,7 +17664,7 @@ w(Qm);
|
|
|
17664
17664
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
17665
17665
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
17666
17666
|
*/
|
|
17667
|
-
const Jm = (i) => class extends Jr(
|
|
17667
|
+
const Jm = (i) => class extends Jr(Rt(oe(i))) {
|
|
17668
17668
|
static get observers() {
|
|
17669
17669
|
return ["_updateOverlayWidth(opened, owner)"];
|
|
17670
17670
|
}
|
|
@@ -17702,7 +17702,7 @@ const Zm = f`
|
|
|
17702
17702
|
}
|
|
17703
17703
|
}
|
|
17704
17704
|
`;
|
|
17705
|
-
g("vaadin-select-overlay", [
|
|
17705
|
+
g("vaadin-select-overlay", [Lt, Zm], { moduleId: "vaadin-select-overlay-styles" });
|
|
17706
17706
|
class ef extends Jm(z(E)) {
|
|
17707
17707
|
static get is() {
|
|
17708
17708
|
return "vaadin-select-overlay";
|
|
@@ -17834,7 +17834,7 @@ class of extends J {
|
|
|
17834
17834
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
17835
17835
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
17836
17836
|
*/
|
|
17837
|
-
const nf = (i) => class extends
|
|
17837
|
+
const nf = (i) => class extends Ft(wi(Ur(Ne(xi(i))))) {
|
|
17838
17838
|
static get properties() {
|
|
17839
17839
|
return { items: { type: Array, observer: "__itemsChanged" }, opened: { type: Boolean, value: !1, notify: !0, reflectToAttribute: !0, sync: !0 }, renderer: { type: Object }, value: { type: String, value: "", notify: !0, observer: "_valueChanged" }, name: { type: String }, placeholder: { type: String }, readonly: { type: Boolean, value: !1, reflectToAttribute: !0 }, noVerticalOverlap: { type: Boolean, value: !1 }, _phone: Boolean, _phoneMediaQuery: { value: "(max-width: 450px), (max-height: 450px)" }, _inputContainer: Object, _items: Object };
|
|
17840
17840
|
}
|
|
@@ -17845,7 +17845,7 @@ const nf = (i) => class extends Rt(yi(Ur(Ne(wi(i))))) {
|
|
|
17845
17845
|
return ["_updateAriaExpanded(opened, focusElement)", "_updateSelectedItem(value, _items, placeholder)", "_openedChanged(opened, _overlayElement, _inputContainer)"];
|
|
17846
17846
|
}
|
|
17847
17847
|
constructor() {
|
|
17848
|
-
super(), this._itemId = `value-${this.localName}-${
|
|
17848
|
+
super(), this._itemId = `value-${this.localName}-${Vt()}`, this._srLabelController = new Un(this), this._srLabelController.slotName = "sr-label";
|
|
17849
17849
|
}
|
|
17850
17850
|
disconnectedCallback() {
|
|
17851
17851
|
super.disconnectedCallback(), this.opened = !1;
|
|
@@ -17992,7 +17992,7 @@ const nf = (i) => class extends Rt(yi(Ur(Ne(wi(i))))) {
|
|
|
17992
17992
|
});
|
|
17993
17993
|
}
|
|
17994
17994
|
__dispatchChange() {
|
|
17995
|
-
return
|
|
17995
|
+
return ai(this, null, function* () {
|
|
17996
17996
|
this.updateComplete && (yield this.updateComplete), this.validate(), this.dispatchEvent(new CustomEvent("change", { bubbles: !0 })), this.__dispatchChangePending = !1;
|
|
17997
17997
|
});
|
|
17998
17998
|
}
|
|
@@ -18067,7 +18067,7 @@ class sf extends nf(ne(z(E))) {
|
|
|
18067
18067
|
return ["_rendererChanged(renderer, _overlayElement)"];
|
|
18068
18068
|
}
|
|
18069
18069
|
ready() {
|
|
18070
|
-
super.ready(),
|
|
18070
|
+
super.ready(), Ti(this);
|
|
18071
18071
|
}
|
|
18072
18072
|
_rendererChanged(e, t) {
|
|
18073
18073
|
t && (t.renderer = e || this.__defaultRenderer, this.requestContentUpdate());
|
|
@@ -18484,8 +18484,8 @@ const cf = f`
|
|
|
18484
18484
|
* Copyright (c) 2018 - 2024 Vaadin Ltd.
|
|
18485
18485
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
18486
18486
|
*/
|
|
18487
|
-
g("vaadin-confirm-dialog-overlay", [
|
|
18488
|
-
class uf extends
|
|
18487
|
+
g("vaadin-confirm-dialog-overlay", [Lt, df, cf], { moduleId: "vaadin-confirm-dialog-overlay-styles" });
|
|
18488
|
+
class uf extends Rt(oe(z(E))) {
|
|
18489
18489
|
static get is() {
|
|
18490
18490
|
return "vaadin-confirm-dialog-overlay";
|
|
18491
18491
|
}
|
|
@@ -18518,7 +18518,7 @@ class uf extends Lt(oe(z(E))) {
|
|
|
18518
18518
|
}
|
|
18519
18519
|
}
|
|
18520
18520
|
w(uf);
|
|
18521
|
-
class pf extends hf(lf(
|
|
18521
|
+
class pf extends hf(lf(Ft(vi(E)))) {
|
|
18522
18522
|
static get is() {
|
|
18523
18523
|
return "vaadin-confirm-dialog-dialog";
|
|
18524
18524
|
}
|
|
@@ -18572,7 +18572,7 @@ const mf = (i) => class extends i {
|
|
|
18572
18572
|
} }), this.addController(this._headerController), this._messageController = new J(this, "", "div", { multiple: !0, observe: !1, initializer: (e) => {
|
|
18573
18573
|
const t = document.createElement("div");
|
|
18574
18574
|
t.style.display = "contents";
|
|
18575
|
-
const r = `confirm-dialog-message-${
|
|
18575
|
+
const r = `confirm-dialog-message-${Vt()}`;
|
|
18576
18576
|
t.id = r, this.appendChild(t), t.appendChild(e), this._messageNodes = [...this._messageNodes, t];
|
|
18577
18577
|
} }), this.addController(this._messageController), this._cancelController = new J(this, "cancel-button", "vaadin-button", { initializer: (e) => {
|
|
18578
18578
|
this.__setupSlottedButton("cancel", e);
|
|
@@ -18646,7 +18646,7 @@ const mf = (i) => class extends i {
|
|
|
18646
18646
|
* Copyright (c) 2018 - 2024 Vaadin Ltd.
|
|
18647
18647
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
18648
18648
|
*/
|
|
18649
|
-
class ff extends mf(ne(
|
|
18649
|
+
class ff extends mf(ne(vi(me(E)))) {
|
|
18650
18650
|
static get template() {
|
|
18651
18651
|
return k`
|
|
18652
18652
|
<style>
|
|
@@ -19226,7 +19226,7 @@ g("vaadin-tabs", f`
|
|
|
19226
19226
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
19227
19227
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
19228
19228
|
*/
|
|
19229
|
-
const bf = (i) => class extends Cs(
|
|
19229
|
+
const bf = (i) => class extends Cs(Is(i)) {
|
|
19230
19230
|
static get properties() {
|
|
19231
19231
|
return { orientation: { value: "horizontal", type: String, reflectToAttribute: !0, sync: !0 }, selected: { value: 0, type: Number } };
|
|
19232
19232
|
}
|
|
@@ -19295,7 +19295,7 @@ const bf = (i) => class extends Cs(Ss(i)) {
|
|
|
19295
19295
|
return window.getComputedStyle(t).opacity === "0" ? 0 : t.clientWidth;
|
|
19296
19296
|
}
|
|
19297
19297
|
_updateOverflow() {
|
|
19298
|
-
const e = this._vertical ? this._scrollerElement.scrollTop :
|
|
19298
|
+
const e = this._vertical ? this._scrollerElement.scrollTop : Ss(this._scrollerElement, this.getAttribute("dir")), t = this._vertical ? this._scrollerElement.scrollHeight : this._scrollerElement.scrollWidth;
|
|
19299
19299
|
let r = Math.floor(e) > 1 ? "start" : "";
|
|
19300
19300
|
Math.ceil(e) < Math.ceil(t - this._scrollOffset) && (r += " end"), this.__direction === 1 && (r = r.replace(/start|end/giu, (a) => a === "start" ? "end" : "start")), r ? this.setAttribute("overflow", r.trim()) : this.removeAttribute("overflow");
|
|
19301
19301
|
}
|
|
@@ -19407,13 +19407,42 @@ class wf extends bf(ne(z(E))) {
|
|
|
19407
19407
|
w(wf);
|
|
19408
19408
|
const xf = ":host{display:block;height:100%}", Cf = xf, kf = class {
|
|
19409
19409
|
constructor(i) {
|
|
19410
|
-
Z(this, i), this.
|
|
19410
|
+
Z(this, i), this.registrationWidgetLoaded = A(this, "registrationWidgetLoaded"), this.setClientStyling = () => {
|
|
19411
|
+
let e = document.createElement("style");
|
|
19412
|
+
e.innerHTML = this.clientStyling, this.host.shadowRoot.prepend(e);
|
|
19413
|
+
}, this.setStreamStyling = (e) => {
|
|
19414
|
+
if (window.emMessageBus) {
|
|
19415
|
+
const t = document.createElement("style");
|
|
19416
|
+
this.stylingSubscription = window.emMessageBus.subscribe(e, (r) => {
|
|
19417
|
+
t.innerHTML = r, this.clientStyling = r, this.host.shadowRoot.prepend(t);
|
|
19418
|
+
});
|
|
19419
|
+
}
|
|
19420
|
+
}, this.setClientStylingURL = () => {
|
|
19421
|
+
let e = new URL(this.clientStylingUrl), t = document.createElement("style");
|
|
19422
|
+
fetch(e.href).then((r) => r.text()).then((r) => {
|
|
19423
|
+
t.innerHTML = r, this.clientStyling = r, setTimeout(() => {
|
|
19424
|
+
this.host.shadowRoot.prepend(t);
|
|
19425
|
+
}, 1);
|
|
19426
|
+
});
|
|
19427
|
+
}, this.handleClick = (e) => {
|
|
19411
19428
|
this.emitOnClick && (e.stopPropagation(), window.postMessage({ type: `registration${this.name}Clicked` }, window.location.href));
|
|
19412
|
-
}, this.type = "text", this.name = void 0, this.displayName = void 0, this.placeholder = void 0, this.action = void 0, this.validation = void 0, this.options = void 0, this.language = void 0, this.autofilled = void 0, this.tooltip = void 0, this.defaultValue = void 0, this.emitValue = void 0, this.isDuplicateInput = void 0, this.hidePasswordComplexity = !1, this.noValidation = !1, this.clientStyling = "", this.dateFormat = void 0, this.translationUrl = "", this.emitOnClick = !1, this.twofaDestination = void 0, this.twofaResendIntervalSeconds = 60, this.haspostalcodelookup = void 0, this.postalcodelength = void 0, this.addresses = [], this.ignoreCountry = !1;
|
|
19429
|
+
}, this.type = "text", this.name = void 0, this.displayName = void 0, this.placeholder = void 0, this.action = void 0, this.validation = void 0, this.options = void 0, this.language = void 0, this.autofilled = void 0, this.tooltip = void 0, this.defaultValue = void 0, this.emitValue = void 0, this.isDuplicateInput = void 0, this.hidePasswordComplexity = !1, this.noValidation = !1, this.clientStyling = "", this.clientStylingUrl = "", this.dateFormat = void 0, this.translationUrl = "", this.emitOnClick = !1, this.twofaDestination = void 0, this.twofaResendIntervalSeconds = 60, this.haspostalcodelookup = void 0, this.postalcodelength = void 0, this.addresses = [], this.ignoreCountry = !1, this.mbSource = void 0, this.limitStylingAppends = !1;
|
|
19430
|
+
}
|
|
19431
|
+
handleStylingChange(i, e) {
|
|
19432
|
+
i !== e && this.setClientStyling();
|
|
19433
|
+
}
|
|
19434
|
+
handleStylingUrlChange(i, e) {
|
|
19435
|
+
i !== e && this.setClientStylingURL();
|
|
19413
19436
|
}
|
|
19414
19437
|
connectedCallback() {
|
|
19415
19438
|
this.translationUrl && Os(this.translationUrl);
|
|
19416
19439
|
}
|
|
19440
|
+
disconnectedCallback() {
|
|
19441
|
+
this.stylingSubscription && this.stylingSubscription.unsubscribe();
|
|
19442
|
+
}
|
|
19443
|
+
componentDidLoad() {
|
|
19444
|
+
this.registrationWidgetLoaded.emit(), window.postMessage({ type: "registrationWidgetLoaded" }, window.location.href), !this.limitStylingAppends && this.host && (window.emMessageBus != null ? this.setStreamStyling(`${this.mbSource}.Style`) : (this.clientStyling && this.setClientStyling(), this.clientStylingUrl && this.setClientStylingURL(), this.limitStylingAppends = !0));
|
|
19445
|
+
}
|
|
19417
19446
|
renderInput() {
|
|
19418
19447
|
var i;
|
|
19419
19448
|
switch ((i = this.type) === null || i === void 0 ? void 0 : i.toLowerCase()) {
|
|
@@ -19440,19 +19469,28 @@ const xf = ":host{display:block;height:100%}", Cf = xf, kf = class {
|
|
|
19440
19469
|
case "dropdown":
|
|
19441
19470
|
return u("select-input", { name: this.name, action: this.action, defaultValue: this.defaultValue, displayName: this.displayName, options: this.options, validation: this.validation, emitValue: this.emitValue, autofilled: this.autofilled, language: this.language, "client-styling": this.clientStyling, tooltip: this.tooltip, placeholder: this.placeholder });
|
|
19442
19471
|
case "twofa":
|
|
19443
|
-
return u("twofa-input", { name: this.name, displayName: this.displayName, validation: this.validation, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling, tooltip: this.tooltip, destination: this.twofaDestination, "resend-interval-seconds": this.twofaResendIntervalSeconds });
|
|
19472
|
+
return u("twofa-input", { name: this.name, displayName: this.displayName, validation: this.validation, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling, tooltip: this.tooltip, destination: this.twofaDestination, "resend-interval-seconds": this.twofaResendIntervalSeconds, "mb-source": this.mbSource });
|
|
19444
19473
|
default:
|
|
19445
19474
|
return u("p", null, "The ", this.type, " input type is not valid");
|
|
19446
19475
|
}
|
|
19447
19476
|
}
|
|
19448
19477
|
render() {
|
|
19449
|
-
return u(Co, { key: "
|
|
19478
|
+
return u(Co, { key: "134ef4b9ef8814a9b77c5db5b5085b0fe4e79c92", class: `general-input--${this.name}`, onClick: this.handleClick }, this.renderInput());
|
|
19479
|
+
}
|
|
19480
|
+
get host() {
|
|
19481
|
+
return Dt(this);
|
|
19482
|
+
}
|
|
19483
|
+
static get watchers() {
|
|
19484
|
+
return {
|
|
19485
|
+
clientStyling: ["handleStylingChange"],
|
|
19486
|
+
clientStylingUrl: ["handleStylingUrlChange"]
|
|
19487
|
+
};
|
|
19450
19488
|
}
|
|
19451
19489
|
};
|
|
19452
19490
|
kf.style = Cf;
|
|
19453
|
-
const Ef = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.number{font-family:"Roboto";font-style:normal}.number__wrapper{position:relative;width:100%}.number__wrapper--autofilled{pointer-events:none}.number__wrapper--autofilled .number__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.number__wrapper--autofilled .number__input{color:var(--emw--color-black, #000000)}.number__wrapper--flex{display:flex;gap:5px}.number__wrapper--relative{position:relative}.number__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.number__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #22B04E));margin-left:2px}.number__input{font-family:inherit;border-radius:5px;width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px;position:relative;-moz-appearance:textfield;}.number__input:focus{outline-color:#3E3E3E}.number__input::-webkit-outer-spin-button,.number__input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.number__input--invalid{border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.number__input::placeholder{color:#979797}.number__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.number__tooltip-icon{width:16px;height:auto}.number__tooltip{position:absolute;top:0;left:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.number__tooltip.visible{opacity:1}',
|
|
19491
|
+
const Ef = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.number{font-family:"Roboto";font-style:normal}.number__wrapper{position:relative;width:100%}.number__wrapper--autofilled{pointer-events:none}.number__wrapper--autofilled .number__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.number__wrapper--autofilled .number__input{color:var(--emw--color-black, #000000)}.number__wrapper--flex{display:flex;gap:5px}.number__wrapper--relative{position:relative}.number__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.number__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #22B04E));margin-left:2px}.number__input{font-family:inherit;border-radius:5px;width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px;position:relative;-moz-appearance:textfield;}.number__input:focus{outline-color:#3E3E3E}.number__input::-webkit-outer-spin-button,.number__input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.number__input--invalid{border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.number__input::placeholder{color:#979797}.number__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.number__tooltip-icon{width:16px;height:auto}.number__tooltip{position:absolute;top:0;left:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.number__tooltip.visible{opacity:1}', Sf = Ef, If = class {
|
|
19454
19492
|
constructor(i) {
|
|
19455
|
-
Z(this, i), this.sendValidityState =
|
|
19493
|
+
Z(this, i), this.sendValidityState = A(this, "sendValidityState"), this.sendInputValue = A(this, "sendInputValue"), this.validationPattern = "", this.touched = !1, this.handleInput = (e) => {
|
|
19456
19494
|
this.value = e.target.value, this.touched = !0, this.debounceTime && clearTimeout(this.debounceTime), this.debounceTime = setTimeout(() => {
|
|
19457
19495
|
this.isValid = this.setValidity(), this.errorMessage = this.setErrorMessage(), this.emitValueHandler(!0);
|
|
19458
19496
|
}, 500);
|
|
@@ -19525,7 +19563,7 @@ const Ef = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.numbe
|
|
|
19525
19563
|
};
|
|
19526
19564
|
}
|
|
19527
19565
|
};
|
|
19528
|
-
|
|
19566
|
+
If.style = Sf;
|
|
19529
19567
|
const Tf = `*,
|
|
19530
19568
|
*::before,
|
|
19531
19569
|
*::after {
|
|
@@ -19720,7 +19758,7 @@ const Tf = `*,
|
|
|
19720
19758
|
opacity: 1;
|
|
19721
19759
|
}`, Pf = Tf, Af = class {
|
|
19722
19760
|
constructor(i) {
|
|
19723
|
-
Z(this, i), this.sendOriginalValidityState =
|
|
19761
|
+
Z(this, i), this.sendOriginalValidityState = A(this, "sendOriginalValidityState"), this.sendValidityState = A(this, "sendValidityState"), this.sendInputValue = A(this, "sendInputValue"), this.touched = !1, this.originalValid = !1, this.validationPattern = "", this.duplicateInputValue = null, this.handleInput = (e) => {
|
|
19724
19762
|
this.value = e.target.value, this.calculateComplexity(this.value), this.showPopup = !0, this.touched = !0, this.debounceTime && clearTimeout(this.debounceTime), this.debounceTime = setTimeout(() => {
|
|
19725
19763
|
this.isValid = this.setValidity(), this.errorMessage = this.setErrorMessage(), this.emitValueHandler(!0);
|
|
19726
19764
|
}, 500);
|
|
@@ -19825,7 +19863,7 @@ const Tf = `*,
|
|
|
19825
19863
|
return this.touched && (i = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), u("div", { key: "db7a6a87af3de451485c603a2f28f25806838d20", class: `password__wrapper ${this.autofilled ? "password__wrapper--autofilled" : ""} ${this.name}__input`, ref: (e) => this.stylingContainer = e }, u("div", { key: "146ace196e1343f778232c0e2ff07556c0a09e1e", class: "password__wrapper--flex" }, u("label", { key: "0d0cb672dfc7a43535a299b45752f43a87f73760", class: `password__label ${this.validation.mandatory ? "password__label--required" : ""}`, htmlFor: `${this.name}__input` }, this.displayName), u("div", { key: "1eac72dfdadd0f50bd2db6b0fc44320dd2f287bf", class: "password__wrapper--relative" }, this.tooltip && u("img", { key: "bb327b9a403c1fc5628c4ba2da8d1a2b62888db5", class: "password__tooltip-icon", src: le, alt: "", ref: (e) => this.tooltipIconReference = e, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), u("vaadin-password-field", { key: "7962f122d1bfb0ac0a5176a743e1224dccba4910", type: "password", id: `${this.name}__input`, class: `password__input ${i}`, name: this.name, readOnly: this.autofilled, value: this.defaultValue, required: this.validation.mandatory, maxlength: this.validation.maxLength, minlength: this.validation.minLength, pattern: this.validationPattern, placeholder: `${this.placeholder}`, onInput: this.handleInput, onBlur: this.handleBlur, onFocus: this.handleFocus }), !this.noValidation && u("small", { key: "efadfea8911ba72161aef495d1fb5857f14a319b", class: "password__error-message" }, this.errorMessage), this.passwordComplexity && this.showPopup && !this.hidePasswordComplexity && !this.isDuplicateInput && this.renderComplexityPopup());
|
|
19826
19864
|
}
|
|
19827
19865
|
get element() {
|
|
19828
|
-
return
|
|
19866
|
+
return Dt(this);
|
|
19829
19867
|
}
|
|
19830
19868
|
static get watchers() {
|
|
19831
19869
|
return {
|
|
@@ -19839,7 +19877,7 @@ const Tf = `*,
|
|
|
19839
19877
|
Af.style = Pf;
|
|
19840
19878
|
const Df = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.text{font-family:"Roboto";font-style:normal}.text__wrapper{position:relative;width:100%;display:flex;flex-direction:column;gap:5px}.text__wrapper--autofilled{pointer-events:none}.text__wrapper--autofilled .text__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.text__wrapper--autofilled .text__input::part(input-field){color:var(--emw--color-black, #000000)}.text__wrapper--flex{display:flex;gap:5px}.text__wrapper--relative{position:relative}.text__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.text__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #22B04E));margin-left:2px}.text__input{font-family:inherit;width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);background-color:var(--emw--color-white, #FFFFFF);color:var(--emw--color-black, #000000);border-radius:5px;font-size:16px;font-weight:300;line-height:1.5;padding:5px 15px}.text__input:focus{border:1px solid var(--emw--login-color-primary, var(--emw--color-primary, #22B04E))}.text__input--invalid{border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.text__input::placeholder{color:var(--emw--color-gray-150, #828282)}.text__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.text__tooltip-icon{width:16px;height:auto}.text__tooltip{position:absolute;top:0;left:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.text__tooltip.visible{opacity:1}.input__text-wrapper{position:relative}.input__addresses-container{position:relative;left:0;width:100%;background:var(--emw--color-white);border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:8px;box-shadow:0 4px 12px rgba(0, 0, 0, 0.1);max-height:200px;overflow-y:auto;z-index:999;margin-top:4px}.input__addresses-container .options{padding:4px 0}.input__addresses-container .option{padding:8px 12px;cursor:pointer;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6);font-size:14px;line-height:1.4;transition:background-color 0.2s ease;color:var(--emw--registration-gray-800, #333)}.input__addresses-container .option:last-child{border-bottom:none}.input__addresses-container .option:hover{background-color:var(--emw--registration-lightgray-100, #f8f9fa)}.input__addresses-container .option:active{background-color:var(--emw--registration-lightgray-200, #e9ecef)}.input__addresses-container::-webkit-scrollbar{width:6px}.input__addresses-container::-webkit-scrollbar-track{background:var(--emw--registration-lightgray-150, #f1f1f1);border-radius:3px}.input__addresses-container::-webkit-scrollbar-thumb{background:var(--emw--registration-lightgray-300, #c1c1c1);border-radius:3px}.input__addresses-container::-webkit-scrollbar-thumb:hover{background:var(--emw--registration-lightgray-400, #a8a8a8)}.postalcode__no-results-message{color:var(--emw--color-error, var(--emw--color-red, #ed0909));margin-top:10px}.address__manual-input-msg{text-decoration:underline;margin-top:10px;cursor:pointer;transition:opacity 0.3s ease}.address__manual-input-msg:active{opacity:0.7}.postalcode__loading-spinner{display:flex;align-items:center;gap:8px;padding:12px;color:var(--emw--registration-gray-600, #666);border:1px solid var(--emw--color-gray-100, #E6E6E6);border-top:none;background-color:var(--emw--registration-lightgray-50, #f9f9f9)}.loading-spinner{width:14px;height:14px;border:2px solid var(--emw--color-gray-100, #E6E6E6);border-top:2px solid var(--emw--registration-gray-600, #666);border-radius:50%;animation:spin 0.8s linear infinite}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.pulse-border{border:1px solid var(--emw--registration-red-600, #cc4c4c);animation:pulse 0.5s ease-in-out 2 forwards}@keyframes pulse{0%{border-color:var(--emw--registration-red-600, #cc4c4c)}50%{border-color:var(--emw--registration-red-400, #e57373)}100%{border-color:var(--emw--color-gray-100, #E6E6E6)}}', Of = Df, Vf = class {
|
|
19841
19879
|
constructor(i) {
|
|
19842
|
-
Z(this, i), this.sendAddressValue =
|
|
19880
|
+
Z(this, i), this.sendAddressValue = A(this, "sendAddressValue"), this.sendValidityState = A(this, "sendValidityState"), this.sendInputValue = A(this, "sendInputValue"), this.value = "", this.validationPattern = "", this.hasManualAddressBeenTriggered = !1, this.touched = !1, this.maxPostalCodeLength = "10", this.handleInput = (e) => {
|
|
19843
19881
|
const r = e.target.value.toUpperCase();
|
|
19844
19882
|
this.value = r, this.touched = !0, this.currentPostalCode = r, this.showNoResultsMessage = !1, this.inputReference && (this.inputReference.value = r), this.value.length < this.postalcodelength && (this.openAddressDropdown = !1, this.isFetchingAddresses = !1), (this.value === "" || this.value.length < 1) && (this.openAddressDropdown = !1, this.isFetchingAddresses = !1), this.debounceTime && clearTimeout(this.debounceTime), this.debounceTime = setTimeout(() => {
|
|
19845
19883
|
this.value.length >= this.postalcodelength && (sessionStorage.setItem("currentPostalCode", this.value), this.showNoResultsMessage = !1, this.addresses && this.addresses.length > 0 && (this.openAddressDropdown = !0));
|
|
@@ -19994,7 +20032,7 @@ const Df = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.text{
|
|
|
19994
20032
|
Vf.style = Of;
|
|
19995
20033
|
const Mf = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.radio__fieldset{border:none;position:relative}.radio__wrapper{display:flex;gap:5px}.radio__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.radio__tooltip-icon{position:absolute;right:0;bottom:10px}.radio__tooltip{position:absolute;bottom:35px;right:10px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.radio__tooltip.visible{opacity:1}", zf = Mf, Nf = class {
|
|
19996
20034
|
constructor(i) {
|
|
19997
|
-
Z(this, i), this.sendInputValue =
|
|
20035
|
+
Z(this, i), this.sendInputValue = A(this, "sendInputValue"), this.sendValidityState = A(this, "sendValidityState"), this.setClientStyling = () => {
|
|
19998
20036
|
let e = document.createElement("style");
|
|
19999
20037
|
e.innerHTML = this.clientStyling, this.stylingContainer.prepend(e);
|
|
20000
20038
|
}, this.name = void 0, this.displayName = void 0, this.optionsGroup = void 0, this.validation = void 0, this.tooltip = void 0, this.language = void 0, this.emitValue = void 0, this.clientStyling = "", this.errorMessage = void 0, this.isValid = void 0, this.limitStylingAppends = !1, this.showTooltip = !1;
|
|
@@ -20048,7 +20086,7 @@ const Mf = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.radio
|
|
|
20048
20086
|
Nf.style = zf;
|
|
20049
20087
|
const Lf = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}:host{height:100%;--_invalid-hover-highlight:transparent;--vaadin-input-field-invalid-hover-highlight:transparent}vaadin-combo-box>input{background-color:var(--emw--color-white, #FFFFFF);color:var(--emw--registration-typography, var(--emw--color-black, #000000));font-weight:300;font-size:16px;-webkit-font-smoothing:initial;}.select{font-family:"Roboto";font-style:normal}.select__wrapper{position:relative;width:100%;display:flex;flex-direction:column;gap:5px}.select__wrapper--autofilled{pointer-events:none}.select__wrapper--autofilled .select__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.select__wrapper--autofilled .select__input::part(input-field){color:var(--emw--color-black, #000000)}.select__wrapper--flex{display:flex;gap:5px}.select__wrapper--relative{position:relative}.select__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.select__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #22B04E));margin-left:2px}.select__input{border:none;width:inherit;position:relative}.select__input[focused]:not(.text__input--invalid)::part(input-field){border-color:var(--emw--login-color-primary, var(--emw--color-primary, #22B04E))}.select__input[invalid]::part(input-field){border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.select__input vaadin-date-picker-overlay-content>vaadin-button{color:var(--emw--color-black, #000000)}.select__input::part(input-field){border-radius:4px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);font-family:inherit;font-style:normal;font-size:16px;font-weight:300;line-height:1.5;padding:5px 15px;height:44px}.select__input::part(toggle-button){position:relative;right:10px}.select__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.select__tooltip-icon{width:16px;height:auto}.select__tooltip{position:absolute;top:0;left:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.select__tooltip.visible{opacity:1}', Rf = Lf, Ff = class {
|
|
20050
20088
|
constructor(i) {
|
|
20051
|
-
Z(this, i), this.sendValidityState =
|
|
20089
|
+
Z(this, i), this.sendValidityState = A(this, "sendValidityState"), this.sendInputValue = A(this, "sendInputValue"), this.touched = !1, this.handleComboChange = (e) => {
|
|
20052
20090
|
this.touched = !0;
|
|
20053
20091
|
const t = e.target.value, r = this.options.find((a) => a.value.toLowerCase() === t.toLowerCase());
|
|
20054
20092
|
r ? this.value = r.value : this.value = t, this.isValid = this.setValidity(), this.errorMessage = this.setErrorMessage(), this.emitValueHandler(!0);
|
|
@@ -20149,7 +20187,7 @@ const Lf = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}:host{
|
|
|
20149
20187
|
Ff.style = Rf;
|
|
20150
20188
|
const $f = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.tel{font-family:"Roboto";font-style:normal}.tel__wrapper{position:relative;width:100%;display:flex;flex-direction:column;gap:5px}.tel__wrapper--autofilled{pointer-events:none}.tel__wrapper--autofilled .tel__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.tel__wrapper--autofilled .tel__input::part(input-field){color:var(--emw--color-black, #000000)}.tel__wrapper--flex{width:inherit;display:flex;align-items:center;border-radius:4px;border:1px solid var(--emw--color-gray-100, #E6E6E6);background-color:var(--emw--color-white, #FFFFFF);overflow:hidden;padding-left:4px}.tel__wrapper--flex:focus-within{border-color:var(--emw--login-color-primary, var(--emw--color-primary, #22B04E))}.tel__wrapper--flex-label{display:flex;gap:5px}.tel__wrapper--flex--relative{position:relative}.tel__wrapper .text__input--invalid{border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.tel__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.tel__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #22B04E));margin-left:2px}.tel__prefix{--vaadin-field-default-width:90px}.tel__prefix[focus]{outline:none}.tel__prefix::part(input-field){height:100%;border-radius:0 5px 5px 0;background-color:var(--emw--color-white, #FFFFFF);color:var(--emw--color-black, #000000);font-family:inherit;font-style:normal;font-weight:300;font-size:16px;line-height:1.5;border:none;border-right:2px solid #DDE0EE;border-image-source:linear-gradient(to bottom, rgba(221, 224, 238, 0) 25%, rgb(221, 224, 238) 25%, rgb(221, 224, 238) 75%, rgba(221, 224, 238, 0) 75%);border-image-slice:1;border-image-repeat:round}.tel__prefix::part(input-field):hover{background-color:var(--emw--color-white, #FFFFFF)}.tel__input{font-family:inherit;border-radius:5px;width:100%;color:var(--emw--registration-typography, var(--emw--color-black, #000000));background-color:var(--emw--color-white, #FFFFFF);border:none;width:inherit;position:relative;font-size:16px;font-weight:300;line-height:1.5;padding:5px 15px;height:42px;-moz-appearance:textfield;}.tel__input:focus{outline:none}.tel__input::-webkit-outer-spin-button,.tel__input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.tel__input::placeholder{color:var(--emw--color-gray-150, #979797)}.tel__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.tel__tooltip-icon{width:16px;height:auto}.tel__tooltip{position:absolute;top:0;left:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.tel__tooltip.visible{opacity:1}', Hf = $f, Bf = class {
|
|
20151
20189
|
constructor(i) {
|
|
20152
|
-
Z(this, i), this.sendValidityState =
|
|
20190
|
+
Z(this, i), this.sendValidityState = A(this, "sendValidityState"), this.sendInputValue = A(this, "sendInputValue"), this.validationPattern = "", this.touched = !1, this.handleInput = (e) => {
|
|
20153
20191
|
this.setPhoneValue(e.target.value), this.value = { prefix: this.prefixValue, phone: this.phoneValue }, this.touched = !0, this.debounceTime && clearTimeout(this.debounceTime), this.debounceTime = setTimeout(() => {
|
|
20154
20192
|
this.isValid = this.setValidity(), this.errorMessage = this.setErrorMessage(), this.emitValueHandler(!0);
|
|
20155
20193
|
}, 500);
|
|
@@ -20254,7 +20292,7 @@ const $f = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.tel{f
|
|
|
20254
20292
|
Bf.style = Hf;
|
|
20255
20293
|
const Uf = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.text{font-family:"Roboto";font-style:normal}.text__wrapper{position:relative;width:100%;display:flex;flex-direction:column;gap:5px}.text__wrapper--autofilled{pointer-events:none}.text__wrapper--autofilled .text__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.text__wrapper--autofilled .text__input::part(input-field){color:var(--emw--color-black, #000000)}.text__wrapper--flex{display:flex;gap:5px}.text__wrapper--relative{position:relative}.text__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.text__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #22B04E));margin-left:2px}.text__input{font-family:inherit;width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);background-color:var(--emw--color-white, #FFFFFF);color:var(--emw--color-black, #000000);border-radius:5px;font-size:16px;font-weight:300;line-height:1.5;padding:5px 15px}.text__input:focus{border:1px solid var(--emw--login-color-primary, var(--emw--color-primary, #22B04E))}.text__input--invalid{border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.text__input::placeholder{color:var(--emw--color-gray-150, #828282)}.text__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.text__tooltip-icon{width:16px;height:auto}.text__tooltip{position:absolute;top:0;left:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.text__tooltip.visible{opacity:1}.pulse-border{border:1px solid var(--emw--registration-red-600, #cc4c4c);animation:pulse 0.5s ease-in-out 2 forwards}@keyframes pulse{0%{border-color:var(--emw--registration-red-600, #cc4c4c)}50%{border-color:var(--emw--registration-red-400, #e57373)}100%{border-color:var(--emw--color-gray-100, #E6E6E6)}}', qf = Uf, jf = class {
|
|
20256
20294
|
constructor(i) {
|
|
20257
|
-
Z(this, i), this.sendValidityState =
|
|
20295
|
+
Z(this, i), this.sendValidityState = A(this, "sendValidityState"), this.sendInputValue = A(this, "sendInputValue"), this.value = "", this.validationPattern = "", this.duplicateInputValue = null, this.postalcodelength = 5, this.touched = !1, this.handleInput = (e) => {
|
|
20258
20296
|
this.value = e.target.value, this.touched = !0, this.debounceTime && clearTimeout(this.debounceTime), this.debounceTime = setTimeout(() => {
|
|
20259
20297
|
this.isValid = this.setValidity(), this.errorMessage = this.setErrorMessage(), this.validityStateHandler({ valid: this.isValid, name: this.name }), this.emitValueHandler(!0);
|
|
20260
20298
|
}, 500);
|
|
@@ -20360,7 +20398,7 @@ const Uf = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.text{
|
|
|
20360
20398
|
jf.style = qf;
|
|
20361
20399
|
const Wf = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.togglecheckbox{font-family:"Roboto";font-style:normal;font-size:15px}.togglecheckbox__wrapper{position:relative}.togglecheckbox__wrapper--flex{display:flex;gap:10px;align-items:baseline}.togglecheckbox__wrapper--relative{position:relative;display:inline}.togglecheckbox__input{transform:scale(1.307, 1.307);margin-left:2px;accent-color:var(--emw--login-color-primary, var(--emw--color-primary, #22B04E))}.togglecheckbox__label{font-style:inherit;font-family:inherit;font-weight:400;font-size:16px;color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;cursor:pointer;padding:0}.togglecheckbox__label-text{font-size:16px}.togglecheckbox__label a{color:var(--emw--login-color-primary, var(--emw--color-primary, #22B04E))}.togglecheckbox__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.togglecheckbox__tooltip-icon{width:16px;height:auto}.togglecheckbox__tooltip{position:absolute;top:0;right:0;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.togglecheckbox__tooltip.visible{opacity:1}.togglecheckbox__fields-wrapper{margin-top:40px;display:flex;flex-direction:column;gap:40px}.hidden{display:none}', Yf = Wf, Gf = class {
|
|
20362
20400
|
constructor(i) {
|
|
20363
|
-
Z(this, i), this.sendValidityState =
|
|
20401
|
+
Z(this, i), this.sendValidityState = A(this, "sendValidityState"), this.sendInputValue = A(this, "sendInputValue"), this.callBackObject = {}, this.subFieldsObject = {}, this.value = "", this.handleRevealField = (e, t) => {
|
|
20364
20402
|
e.stopPropagation(), window.postMessage({ type: `registration${t}Clicked` }, window.location.href);
|
|
20365
20403
|
}, this.setClientStyling = () => {
|
|
20366
20404
|
let e = document.createElement("style");
|
|
@@ -20423,8 +20461,15 @@ const Wf = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.toggl
|
|
|
20423
20461
|
Gf.style = Yf;
|
|
20424
20462
|
const Kf = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.twofa{display:flex;flex-direction:column;gap:10px}.twofa__description{display:flex;flex-direction:column;gap:10px;align-items:center;justify-content:center}.twofa__error-message{text-align:center;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.twofa__input-wrapper{display:flex;justify-content:center}.twofa__input-wrapper input{width:35px;height:35px;padding:10px;text-align:center;border-radius:var(--emw--border-radius-small, 5px);margin-left:5px;margin-right:5px;border:2px solid var(--emw--otp-border-color, #55525c);font-weight:var(--emw-font-weight-bold, 800);outline:none;transition:all 0.1s}.twofa__input-wrapper input:focus{border:2px solid var(--emw--color-primary, #22B04E);box-shadow:0 0 2px 2px var(--emw--color-primary, #22B04E)}.twofa__button-wrapper{justify-content:center;text-align:center}.twofa__button-wrapper button{border:none;background:none;font-weight:var(--emw-font-weight-bold, 800);color:var(--emw--color-primary, #22B04E);cursor:pointer}", Xf = Kf, Qf = class {
|
|
20425
20463
|
constructor(i) {
|
|
20426
|
-
Z(this, i), this.sendValidityState =
|
|
20464
|
+
Z(this, i), this.registrationWidgetLoaded = A(this, "registrationWidgetLoaded"), this.sendValidityState = A(this, "sendValidityState"), this.sendInputValue = A(this, "sendInputValue"), this.resendCode = A(this, "resendCode"), this.validationPattern = "", this.stylingContainer = null, this.tooltipReference = null, this.tooltipIconReference = null, this.inputRefs = [], this.containerRef = null, this.resendInterval = null, this.resendCodeHandler = () => {
|
|
20427
20465
|
this.triggerResendInterval(), this.resendCode.emit();
|
|
20466
|
+
}, this.setClientStylingURL = () => {
|
|
20467
|
+
let e = new URL(this.clientStylingUrl), t = document.createElement("style");
|
|
20468
|
+
fetch(e.href).then((r) => r.text()).then((r) => {
|
|
20469
|
+
t.innerHTML = r, this.clientStyling = r, setTimeout(() => {
|
|
20470
|
+
this.host.shadowRoot.prepend(t);
|
|
20471
|
+
}, 1);
|
|
20472
|
+
});
|
|
20428
20473
|
}, this.setInputRef = (e, t) => {
|
|
20429
20474
|
e && (this.inputRefs[t] = e);
|
|
20430
20475
|
}, this.setContainerRef = (e) => {
|
|
@@ -20447,7 +20492,14 @@ const Kf = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.twofa
|
|
|
20447
20492
|
}, this.setClientStyling = () => {
|
|
20448
20493
|
let e = document.createElement("style");
|
|
20449
20494
|
e.innerHTML = this.clientStyling, this.stylingContainer.prepend(e);
|
|
20450
|
-
}, this.
|
|
20495
|
+
}, this.setStreamStyling = (e) => {
|
|
20496
|
+
if (window.emMessageBus) {
|
|
20497
|
+
const t = document.createElement("style");
|
|
20498
|
+
this.stylingSubscription = window.emMessageBus.subscribe(e, (r) => {
|
|
20499
|
+
t.innerHTML = r, this.clientStyling = r, this.host.shadowRoot.prepend(t);
|
|
20500
|
+
});
|
|
20501
|
+
}
|
|
20502
|
+
}, this.name = "", this.displayName = "", this.placeholder = "", this.validation = void 0, this.tooltip = "", this.language = "en", this.emitValue = !0, this.destination = "", this.resendIntervalSeconds = 60, this.clientStyling = "", this.clientStylingUrl = "", this.mbSource = void 0, this.limitStylingAppends = !1, this.isValid = !1, this.isResendButtonAvailable = !0, this.showTooltip = !1, this.errorMessage = "", this.code = [], this.resendIntervalSecondsLeft = this.resendIntervalSeconds;
|
|
20451
20503
|
}
|
|
20452
20504
|
handleStylingChange(i, e) {
|
|
20453
20505
|
i !== e && this.setClientStyling();
|
|
@@ -20458,6 +20510,9 @@ const Kf = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.twofa
|
|
|
20458
20510
|
emitValueHandler(i) {
|
|
20459
20511
|
i == !0 && this.isValid && this.valueHandler({ name: this.name, value: this.code.join("") });
|
|
20460
20512
|
}
|
|
20513
|
+
handleStylingUrlChange(i, e) {
|
|
20514
|
+
i !== e && this.setClientStylingURL();
|
|
20515
|
+
}
|
|
20461
20516
|
validityStateHandler(i) {
|
|
20462
20517
|
this.sendValidityState.emit(i);
|
|
20463
20518
|
}
|
|
@@ -20471,11 +20526,14 @@ const Kf = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.twofa
|
|
|
20471
20526
|
connectedCallback() {
|
|
20472
20527
|
this.validationPattern = this.setPattern(), this.code = new Array(this.validation.maxLength).fill("");
|
|
20473
20528
|
}
|
|
20529
|
+
disconnectedCallback() {
|
|
20530
|
+
this.stylingSubscription && this.stylingSubscription.unsubscribe();
|
|
20531
|
+
}
|
|
20474
20532
|
componentDidRender() {
|
|
20475
20533
|
!this.limitStylingAppends && this.stylingContainer && (this.clientStyling && this.setClientStyling(), this.limitStylingAppends = !0);
|
|
20476
20534
|
}
|
|
20477
20535
|
componentDidLoad() {
|
|
20478
|
-
this.setValidity();
|
|
20536
|
+
this.setValidity(), this.registrationWidgetLoaded.emit(), window.postMessage({ type: "registrationWidgetLoaded" }, window.location.href), !this.limitStylingAppends && this.host && (window.emMessageBus != null ? this.setStreamStyling(`${this.mbSource}.Style`) : (this.clientStyling && this.setClientStyling(), this.clientStylingUrl && this.setClientStylingURL(), this.limitStylingAppends = !0));
|
|
20479
20537
|
}
|
|
20480
20538
|
handleKeyDown(i, e) {
|
|
20481
20539
|
if (i.key === "Backspace") {
|
|
@@ -20520,13 +20578,17 @@ const Kf = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.twofa
|
|
|
20520
20578
|
return this.showTooltip ? u("div", { class: `text__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (i) => this.tooltipReference = i, innerHTML: this.tooltip }) : null;
|
|
20521
20579
|
}
|
|
20522
20580
|
render() {
|
|
20523
|
-
return u("div", { key: "
|
|
20581
|
+
return u("div", { key: "45f0c8c7d88898a5474bff460ce962e8bb1e8634", class: "twofa", ref: (i) => this.stylingContainer = i }, u("div", { key: "b40e81587ad9c7b67c112c8867104e761db7e3bc", class: "twofa__error-message" }, u("p", { key: "760c694f6f71f040e85f81a67d3d41524c23130f" }, this.errorMessage)), u("div", { key: "2b437a5108e3989d2ddf596dc4a97d2071448154", class: "twofa__description", innerHTML: b("twofaDescription", this.language, { values: { destination: this.destination } }) }), u("div", { key: "84df3ebbe4077ba8462c08cc7956349ec4a55b79", class: "twofa__input-wrapper", ref: this.setContainerRef }, this.code.map((i, e) => u("input", { key: e, ref: (t) => this.setInputRef(t, e), id: `otp-input-${e}`, type: "text", maxLength: 2, value: i, onInput: (t) => this.handleInput(t, e), onKeyDown: (t) => this.handleKeyDown(t, e), onPaste: (t) => this.handlePaste(t) }))), u("div", { key: "abdf6e2a3ff7ef6436b59206c40ada5305543db3", class: "twofa__button-wrapper" }, u("p", { key: "e0859c58e48741eb379fbcaf23519bb90404489b", class: "twofa__resend-message" }, b("twofaResendMessage", this.language)), u("button", { key: "89aa3a93a9b97029fd315450892cef5edd5d5294", class: "twofa__resend-button", onClick: this.resendCodeHandler, disabled: !this.isResendButtonAvailable }, this.isResendButtonAvailable ? b("twofaResendButton", this.language) : this.formatTime())));
|
|
20582
|
+
}
|
|
20583
|
+
get host() {
|
|
20584
|
+
return Dt(this);
|
|
20524
20585
|
}
|
|
20525
20586
|
static get watchers() {
|
|
20526
20587
|
return {
|
|
20527
20588
|
clientStyling: ["handleStylingChange"],
|
|
20528
20589
|
isValid: ["validityChanged"],
|
|
20529
|
-
emitValue: ["emitValueHandler"]
|
|
20590
|
+
emitValue: ["emitValueHandler"],
|
|
20591
|
+
clientStylingUrl: ["handleStylingUrlChange"]
|
|
20530
20592
|
};
|
|
20531
20593
|
}
|
|
20532
20594
|
};
|
|
@@ -20688,7 +20750,7 @@ export {
|
|
|
20688
20750
|
Gd as date_input,
|
|
20689
20751
|
Qd as email_input,
|
|
20690
20752
|
kf as general_input,
|
|
20691
|
-
|
|
20753
|
+
If as number_input,
|
|
20692
20754
|
a_ as pam_change_password,
|
|
20693
20755
|
Af as password_input,
|
|
20694
20756
|
Vf as postalcode_input,
|