@everymatrix/casino-hamburger-menu-nd 1.63.1 → 1.63.3
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/{CasinoHamburgerMenuNd-oMc3wnX6.js → CasinoHamburgerMenuNd-BCuPOU9H.js} +262 -262
- package/components/{CasinoHamburgerMenuNd-CcxwBxY-.js → CasinoHamburgerMenuNd-BxCVz4vK.js} +290 -290
- package/components/{CasinoHamburgerMenuNd-MV75rtp9.cjs → CasinoHamburgerMenuNd-DR_PkeAM.cjs} +4 -4
- package/es2015/casino-hamburger-menu-nd.cjs +1 -1
- package/es2015/casino-hamburger-menu-nd.js +1 -1
- package/esnext/casino-hamburger-menu-nd.js +1 -1
- package/package.json +1 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var dn = Object.defineProperty, mn = Object.defineProperties;
|
|
2
|
+
var gn = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var Pt = Object.getOwnPropertySymbols;
|
|
4
4
|
var bn = Object.prototype.hasOwnProperty, vn = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var Ze = (e, t, r) => t in e ?
|
|
5
|
+
var Ze = (e, t, r) => t in e ? dn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bt = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
7
|
bn.call(t, r) && Ze(e, r, t[r]);
|
|
8
8
|
if (Pt)
|
|
9
9
|
for (var r of Pt(t))
|
|
10
10
|
vn.call(t, r) && Ze(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
}, Lt = (e, t) =>
|
|
12
|
+
}, Lt = (e, t) => mn(e, gn(t));
|
|
13
13
|
var V = (e, t, r) => (Ze(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
14
|
var It = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (u) => {
|
|
@@ -35,7 +35,7 @@ function _r(e) {
|
|
|
35
35
|
function Ct() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
38
|
+
function de(e) {
|
|
39
39
|
e.forEach(_r);
|
|
40
40
|
}
|
|
41
41
|
function yt(e) {
|
|
@@ -118,13 +118,13 @@ function wr() {
|
|
|
118
118
|
function re(e, t, r, n) {
|
|
119
119
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
120
120
|
}
|
|
121
|
-
function
|
|
121
|
+
function m(e, t, r) {
|
|
122
122
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
123
123
|
}
|
|
124
124
|
function Sn(e) {
|
|
125
125
|
return Array.from(e.childNodes);
|
|
126
126
|
}
|
|
127
|
-
function
|
|
127
|
+
function me(e, t) {
|
|
128
128
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
129
129
|
t);
|
|
130
130
|
}
|
|
@@ -205,7 +205,7 @@ function D() {
|
|
|
205
205
|
}
|
|
206
206
|
function Bn(e) {
|
|
207
207
|
if (e.fragment !== null) {
|
|
208
|
-
e.update(),
|
|
208
|
+
e.update(), de(e.before_update);
|
|
209
209
|
const t = e.dirty;
|
|
210
210
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
|
|
211
211
|
}
|
|
@@ -218,19 +218,19 @@ const In = /* @__PURE__ */ new Set();
|
|
|
218
218
|
function Cn(e, t) {
|
|
219
219
|
e && e.i && (In.delete(e), e.i(t));
|
|
220
220
|
}
|
|
221
|
-
function
|
|
221
|
+
function q(e) {
|
|
222
222
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
223
223
|
}
|
|
224
224
|
function Nn(e, t, r) {
|
|
225
225
|
const { fragment: n, after_update: i } = e.$$;
|
|
226
226
|
n && n.m(t, r), Re(() => {
|
|
227
227
|
const o = e.$$.on_mount.map(_r).filter(yt);
|
|
228
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
228
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : de(o), e.$$.on_mount = [];
|
|
229
229
|
}), i.forEach(Re);
|
|
230
230
|
}
|
|
231
231
|
function Rn(e, t) {
|
|
232
232
|
const r = e.$$;
|
|
233
|
-
r.fragment !== null && (Ln(r.after_update),
|
|
233
|
+
r.fragment !== null && (Ln(r.after_update), de(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
234
234
|
}
|
|
235
235
|
function Un(e, t) {
|
|
236
236
|
e.$$.dirty[0] === -1 && (ue.push(e), Pn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
@@ -261,10 +261,10 @@ function Fn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
261
261
|
};
|
|
262
262
|
a && a(l.root);
|
|
263
263
|
let h = !1;
|
|
264
|
-
if (l.ctx = r ? r(e, t.props || {}, (c, f, ...
|
|
265
|
-
const
|
|
266
|
-
return l.ctx && i(l.ctx[c], l.ctx[c] =
|
|
267
|
-
}) : [], l.update(), h = !0,
|
|
264
|
+
if (l.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
|
|
265
|
+
const g = d.length ? d[0] : f;
|
|
266
|
+
return l.ctx && i(l.ctx[c], l.ctx[c] = g) && (!l.skip_bound && l.bound[c] && l.bound[c](g), h && Un(e, c)), f;
|
|
267
|
+
}) : [], l.update(), h = !0, de(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
|
268
268
|
if (t.hydrate) {
|
|
269
269
|
const c = Sn(t.target);
|
|
270
270
|
l.fragment && l.fragment.l(c), c.forEach(I);
|
|
@@ -319,7 +319,7 @@ typeof HTMLElement == "function" && (Sr = class extends HTMLElement {
|
|
|
319
319
|
let a;
|
|
320
320
|
return {
|
|
321
321
|
c: function() {
|
|
322
|
-
a = y("slot"), o !== "default" &&
|
|
322
|
+
a = y("slot"), o !== "default" && m(a, "name", o);
|
|
323
323
|
},
|
|
324
324
|
/**
|
|
325
325
|
* @param {HTMLElement} target
|
|
@@ -573,7 +573,7 @@ function st(e, t, r) {
|
|
|
573
573
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
574
574
|
return e.concat(o || t);
|
|
575
575
|
}
|
|
576
|
-
function
|
|
576
|
+
function Y(e) {
|
|
577
577
|
return typeof e == "function";
|
|
578
578
|
}
|
|
579
579
|
function Hr(e) {
|
|
@@ -582,7 +582,7 @@ function Hr(e) {
|
|
|
582
582
|
}, r = e(t);
|
|
583
583
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
584
584
|
}
|
|
585
|
-
var
|
|
585
|
+
var Ye = Hr(function(e) {
|
|
586
586
|
return function(r) {
|
|
587
587
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
588
588
|
` + r.map(function(n, i) {
|
|
@@ -626,29 +626,29 @@ var ke = function() {
|
|
|
626
626
|
else
|
|
627
627
|
a.remove(this);
|
|
628
628
|
var h = this.initialTeardown;
|
|
629
|
-
if (
|
|
629
|
+
if (Y(h))
|
|
630
630
|
try {
|
|
631
631
|
h();
|
|
632
632
|
} catch (b) {
|
|
633
|
-
o = b instanceof
|
|
633
|
+
o = b instanceof Ye ? b.errors : [b];
|
|
634
634
|
}
|
|
635
635
|
var c = this._finalizers;
|
|
636
636
|
if (c) {
|
|
637
637
|
this._finalizers = null;
|
|
638
638
|
try {
|
|
639
|
-
for (var f = ot(c),
|
|
640
|
-
var
|
|
639
|
+
for (var f = ot(c), d = f.next(); !d.done; d = f.next()) {
|
|
640
|
+
var g = d.value;
|
|
641
641
|
try {
|
|
642
|
-
Dt(
|
|
642
|
+
Dt(g);
|
|
643
643
|
} catch (b) {
|
|
644
|
-
o = o != null ? o : [], b instanceof
|
|
644
|
+
o = o != null ? o : [], b instanceof Ye ? o = st(st([], at(o)), at(b.errors)) : o.push(b);
|
|
645
645
|
}
|
|
646
646
|
}
|
|
647
647
|
} catch (b) {
|
|
648
648
|
n = { error: b };
|
|
649
649
|
} finally {
|
|
650
650
|
try {
|
|
651
|
-
|
|
651
|
+
d && !d.done && (i = f.return) && i.call(f);
|
|
652
652
|
} finally {
|
|
653
653
|
if (n)
|
|
654
654
|
throw n.error;
|
|
@@ -656,7 +656,7 @@ var ke = function() {
|
|
|
656
656
|
}
|
|
657
657
|
}
|
|
658
658
|
if (o)
|
|
659
|
-
throw new
|
|
659
|
+
throw new Ye(o);
|
|
660
660
|
}
|
|
661
661
|
}, e.prototype.add = function(t) {
|
|
662
662
|
var r;
|
|
@@ -689,10 +689,10 @@ var ke = function() {
|
|
|
689
689
|
}(), e;
|
|
690
690
|
}(), Tr = ke.EMPTY;
|
|
691
691
|
function Or(e) {
|
|
692
|
-
return e instanceof ke || e && "closed" in e &&
|
|
692
|
+
return e instanceof ke || e && "closed" in e && Y(e.remove) && Y(e.add) && Y(e.unsubscribe);
|
|
693
693
|
}
|
|
694
694
|
function Dt(e) {
|
|
695
|
-
|
|
695
|
+
Y(e) ? e() : e.unsubscribe();
|
|
696
696
|
}
|
|
697
697
|
var $n = {
|
|
698
698
|
Promise: void 0
|
|
@@ -783,7 +783,7 @@ var Ar = function(e) {
|
|
|
783
783
|
He(t, e);
|
|
784
784
|
function t(r, n, i) {
|
|
785
785
|
var o = e.call(this) || this, a;
|
|
786
|
-
return
|
|
786
|
+
return Y(r) || !r ? a = {
|
|
787
787
|
next: r != null ? r : void 0,
|
|
788
788
|
error: n != null ? n : void 0,
|
|
789
789
|
complete: i != null ? i : void 0
|
|
@@ -808,7 +808,7 @@ var zn = {
|
|
|
808
808
|
function Qn(e) {
|
|
809
809
|
return e;
|
|
810
810
|
}
|
|
811
|
-
function
|
|
811
|
+
function Yn(e) {
|
|
812
812
|
return e.length === 0 ? Qn : e.length === 1 ? e[0] : function(r) {
|
|
813
813
|
return e.reduce(function(n, i) {
|
|
814
814
|
return i(n);
|
|
@@ -823,7 +823,7 @@ var Gt = function() {
|
|
|
823
823
|
var r = new e();
|
|
824
824
|
return r.source = this, r.operator = t, r;
|
|
825
825
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
826
|
-
var i = this, o =
|
|
826
|
+
var i = this, o = Jn(t) ? t : new lt(t, r, n);
|
|
827
827
|
return Le(function() {
|
|
828
828
|
var a = i, s = a.operator, u = a.source;
|
|
829
829
|
o.add(s ? s.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -858,7 +858,7 @@ var Gt = function() {
|
|
|
858
858
|
}, e.prototype.pipe = function() {
|
|
859
859
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
860
860
|
t[r] = arguments[r];
|
|
861
|
-
return
|
|
861
|
+
return Yn(t)(this);
|
|
862
862
|
}, e.prototype.toPromise = function(t) {
|
|
863
863
|
var r = this;
|
|
864
864
|
return t = $t(t), new t(function(n, i) {
|
|
@@ -879,11 +879,11 @@ function $t(e) {
|
|
|
879
879
|
var t;
|
|
880
880
|
return (t = e != null ? e : $n.Promise) !== null && t !== void 0 ? t : Promise;
|
|
881
881
|
}
|
|
882
|
-
function
|
|
883
|
-
return e &&
|
|
882
|
+
function qn(e) {
|
|
883
|
+
return e && Y(e.next) && Y(e.error) && Y(e.complete);
|
|
884
884
|
}
|
|
885
|
-
function
|
|
886
|
-
return e && e instanceof Ar ||
|
|
885
|
+
function Jn(e) {
|
|
886
|
+
return e && e instanceof Ar || qn(e) && Or(e);
|
|
887
887
|
}
|
|
888
888
|
var Kn = Hr(function(e) {
|
|
889
889
|
return function() {
|
|
@@ -1055,7 +1055,7 @@ function Ge(e, t = $) {
|
|
|
1055
1055
|
}
|
|
1056
1056
|
return { set: i, update: o, subscribe: a };
|
|
1057
1057
|
}
|
|
1058
|
-
function
|
|
1058
|
+
function ge(e, t, r) {
|
|
1059
1059
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1060
1060
|
if (!i.every(Boolean))
|
|
1061
1061
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -1068,11 +1068,11 @@ function me(e, t, r) {
|
|
|
1068
1068
|
if (h)
|
|
1069
1069
|
return;
|
|
1070
1070
|
c();
|
|
1071
|
-
const
|
|
1072
|
-
o ? a(
|
|
1073
|
-
},
|
|
1074
|
-
(
|
|
1075
|
-
|
|
1071
|
+
const g = t(n ? l[0] : l, a, s);
|
|
1072
|
+
o ? a(g) : c = yt(g) ? g : $;
|
|
1073
|
+
}, d = i.map(
|
|
1074
|
+
(g, b) => Er(
|
|
1075
|
+
g,
|
|
1076
1076
|
(w) => {
|
|
1077
1077
|
l[b] = w, h &= ~(1 << b), u && f();
|
|
1078
1078
|
},
|
|
@@ -1082,7 +1082,7 @@ function me(e, t, r) {
|
|
|
1082
1082
|
)
|
|
1083
1083
|
);
|
|
1084
1084
|
return u = !0, f(), function() {
|
|
1085
|
-
|
|
1085
|
+
de(d), c(), u = !1;
|
|
1086
1086
|
};
|
|
1087
1087
|
});
|
|
1088
1088
|
}
|
|
@@ -1120,13 +1120,13 @@ function fi(e, t) {
|
|
|
1120
1120
|
var r = t.customMerge(e);
|
|
1121
1121
|
return typeof r == "function" ? r : he;
|
|
1122
1122
|
}
|
|
1123
|
-
function
|
|
1123
|
+
function pi(e) {
|
|
1124
1124
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1125
1125
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1126
1126
|
}) : [];
|
|
1127
1127
|
}
|
|
1128
1128
|
function Xt(e) {
|
|
1129
|
-
return Object.keys(e).concat(
|
|
1129
|
+
return Object.keys(e).concat(pi(e));
|
|
1130
1130
|
}
|
|
1131
1131
|
function Br(e, t) {
|
|
1132
1132
|
try {
|
|
@@ -1135,21 +1135,21 @@ function Br(e, t) {
|
|
|
1135
1135
|
return !1;
|
|
1136
1136
|
}
|
|
1137
1137
|
}
|
|
1138
|
-
function
|
|
1138
|
+
function di(e, t) {
|
|
1139
1139
|
return Br(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1140
1140
|
}
|
|
1141
|
-
function
|
|
1141
|
+
function mi(e, t, r) {
|
|
1142
1142
|
var n = {};
|
|
1143
1143
|
return r.isMergeableObject(e) && Xt(e).forEach(function(i) {
|
|
1144
1144
|
n[i] = Ee(e[i], r);
|
|
1145
1145
|
}), Xt(t).forEach(function(i) {
|
|
1146
|
-
|
|
1146
|
+
di(e, i) || (Br(e, i) && r.isMergeableObject(t[i]) ? n[i] = fi(i, r)(e[i], t[i], r) : n[i] = Ee(t[i], r));
|
|
1147
1147
|
}), n;
|
|
1148
1148
|
}
|
|
1149
1149
|
function he(e, t, r) {
|
|
1150
1150
|
r = r || {}, r.arrayMerge = r.arrayMerge || ci, r.isMergeableObject = r.isMergeableObject || ii, r.cloneUnlessOtherwiseSpecified = Ee;
|
|
1151
1151
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1152
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1152
|
+
return o ? n ? r.arrayMerge(e, t, r) : mi(e, t, r) : Ee(t, r);
|
|
1153
1153
|
}
|
|
1154
1154
|
he.all = function(t, r) {
|
|
1155
1155
|
if (!Array.isArray(t))
|
|
@@ -1158,7 +1158,7 @@ he.all = function(t, r) {
|
|
|
1158
1158
|
return he(n, i, r);
|
|
1159
1159
|
}, {});
|
|
1160
1160
|
};
|
|
1161
|
-
var
|
|
1161
|
+
var gi = he, bi = gi;
|
|
1162
1162
|
const vi = /* @__PURE__ */ ni(bi);
|
|
1163
1163
|
var ht = function(e, t) {
|
|
1164
1164
|
return ht = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
@@ -1196,13 +1196,13 @@ function yi(e, t) {
|
|
|
1196
1196
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1197
1197
|
return r;
|
|
1198
1198
|
}
|
|
1199
|
-
function
|
|
1199
|
+
function qe(e, t, r) {
|
|
1200
1200
|
if (r || arguments.length === 2)
|
|
1201
1201
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1202
1202
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1203
1203
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
1204
1204
|
}
|
|
1205
|
-
function
|
|
1205
|
+
function Je(e, t) {
|
|
1206
1206
|
var r = t && t.cache ? t.cache : Ti, n = t && t.serializer ? t.serializer : Si, i = t && t.strategy ? t.strategy : Ei;
|
|
1207
1207
|
return i(e, {
|
|
1208
1208
|
cache: r,
|
|
@@ -1490,7 +1490,7 @@ function Ni(e) {
|
|
|
1490
1490
|
}
|
|
1491
1491
|
return t;
|
|
1492
1492
|
}
|
|
1493
|
-
function
|
|
1493
|
+
function Yt(e) {
|
|
1494
1494
|
var t = {}, r = Wr(e);
|
|
1495
1495
|
return r || t;
|
|
1496
1496
|
}
|
|
@@ -1530,12 +1530,12 @@ function Ri(e) {
|
|
|
1530
1530
|
continue;
|
|
1531
1531
|
case "scientific":
|
|
1532
1532
|
t = M(M(M({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
|
|
1533
|
-
return M(M({}, u),
|
|
1533
|
+
return M(M({}, u), Yt(l));
|
|
1534
1534
|
}, {}));
|
|
1535
1535
|
continue;
|
|
1536
1536
|
case "engineering":
|
|
1537
1537
|
t = M(M(M({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
|
|
1538
|
-
return M(M({}, u),
|
|
1538
|
+
return M(M({}, u), Yt(l));
|
|
1539
1539
|
}, {}));
|
|
1540
1540
|
continue;
|
|
1541
1541
|
case "notation-simple":
|
|
@@ -1580,13 +1580,13 @@ function Ri(e) {
|
|
|
1580
1580
|
case "integer-width":
|
|
1581
1581
|
if (i.options.length > 1)
|
|
1582
1582
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1583
|
-
i.options[0].replace(Ci, function(u, l, h, c, f,
|
|
1583
|
+
i.options[0].replace(Ci, function(u, l, h, c, f, d) {
|
|
1584
1584
|
if (l)
|
|
1585
1585
|
t.minimumIntegerDigits = h.length;
|
|
1586
1586
|
else {
|
|
1587
1587
|
if (c && f)
|
|
1588
1588
|
throw new Error("We currently do not support maximum integer digits");
|
|
1589
|
-
if (
|
|
1589
|
+
if (d)
|
|
1590
1590
|
throw new Error("We currently do not support exact integer digits");
|
|
1591
1591
|
}
|
|
1592
1592
|
return "";
|
|
@@ -1600,8 +1600,8 @@ function Ri(e) {
|
|
|
1600
1600
|
if (Zt.test(i.stem)) {
|
|
1601
1601
|
if (i.options.length > 1)
|
|
1602
1602
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1603
|
-
i.stem.replace(Zt, function(u, l, h, c, f,
|
|
1604
|
-
return h === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f &&
|
|
1603
|
+
i.stem.replace(Zt, function(u, l, h, c, f, d) {
|
|
1604
|
+
return h === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
|
1605
1605
|
});
|
|
1606
1606
|
var o = i.options[0];
|
|
1607
1607
|
o === "w" ? t = M(M({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = M(M({}, t), Qt(o)));
|
|
@@ -3084,7 +3084,7 @@ try {
|
|
|
3084
3084
|
} catch (e) {
|
|
3085
3085
|
ft = !1;
|
|
3086
3086
|
}
|
|
3087
|
-
var
|
|
3087
|
+
var qt = Gi ? (
|
|
3088
3088
|
// Native
|
|
3089
3089
|
function(t, r, n) {
|
|
3090
3090
|
return t.startsWith(r, n);
|
|
@@ -3094,7 +3094,7 @@ var Jt = Gi ? (
|
|
|
3094
3094
|
function(t, r, n) {
|
|
3095
3095
|
return t.slice(n, n + r.length) === r;
|
|
3096
3096
|
}
|
|
3097
|
-
),
|
|
3097
|
+
), pt = $i ? String.fromCodePoint : (
|
|
3098
3098
|
// IE11
|
|
3099
3099
|
function() {
|
|
3100
3100
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3106,7 +3106,7 @@ var Jt = Gi ? (
|
|
|
3106
3106
|
}
|
|
3107
3107
|
return n;
|
|
3108
3108
|
}
|
|
3109
|
-
),
|
|
3109
|
+
), Jt = (
|
|
3110
3110
|
// native
|
|
3111
3111
|
ji ? Object.fromEntries : (
|
|
3112
3112
|
// Ponyfill
|
|
@@ -3132,7 +3132,7 @@ var Jt = Gi ? (
|
|
|
3132
3132
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3133
3133
|
}
|
|
3134
3134
|
}
|
|
3135
|
-
),
|
|
3135
|
+
), Yi = Vi ? (
|
|
3136
3136
|
// Native
|
|
3137
3137
|
function(t) {
|
|
3138
3138
|
return t.trimStart();
|
|
@@ -3142,7 +3142,7 @@ var Jt = Gi ? (
|
|
|
3142
3142
|
function(t) {
|
|
3143
3143
|
return t.replace(Di, "");
|
|
3144
3144
|
}
|
|
3145
|
-
),
|
|
3145
|
+
), qi = Xi ? (
|
|
3146
3146
|
// Native
|
|
3147
3147
|
function(t) {
|
|
3148
3148
|
return t.trimEnd();
|
|
@@ -3156,26 +3156,26 @@ var Jt = Gi ? (
|
|
|
3156
3156
|
function Xr(e, t) {
|
|
3157
3157
|
return new RegExp(e, t);
|
|
3158
3158
|
}
|
|
3159
|
-
var
|
|
3159
|
+
var dt;
|
|
3160
3160
|
if (ft) {
|
|
3161
3161
|
var Kt = Xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3162
|
-
|
|
3162
|
+
dt = function(t, r) {
|
|
3163
3163
|
var n;
|
|
3164
3164
|
Kt.lastIndex = r;
|
|
3165
3165
|
var i = Kt.exec(t);
|
|
3166
3166
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3167
3167
|
};
|
|
3168
3168
|
} else
|
|
3169
|
-
|
|
3169
|
+
dt = function(t, r) {
|
|
3170
3170
|
for (var n = []; ; ) {
|
|
3171
3171
|
var i = Vr(t, r);
|
|
3172
3172
|
if (i === void 0 || zr(i) || to(i))
|
|
3173
3173
|
break;
|
|
3174
3174
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3175
3175
|
}
|
|
3176
|
-
return
|
|
3176
|
+
return pt.apply(void 0, n);
|
|
3177
3177
|
};
|
|
3178
|
-
var
|
|
3178
|
+
var Ji = (
|
|
3179
3179
|
/** @class */
|
|
3180
3180
|
function() {
|
|
3181
3181
|
function e(t, r) {
|
|
@@ -3206,7 +3206,7 @@ var Yi = (
|
|
|
3206
3206
|
if (n)
|
|
3207
3207
|
break;
|
|
3208
3208
|
return this.error(_.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
|
|
3209
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3209
|
+
} else if (o === 60 && !this.ignoreTag && mt(this.peek() || 0)) {
|
|
3210
3210
|
var a = this.parseTag(t, r);
|
|
3211
3211
|
if (a.err)
|
|
3212
3212
|
return a;
|
|
@@ -3239,7 +3239,7 @@ var Yi = (
|
|
|
3239
3239
|
return o;
|
|
3240
3240
|
var a = o.val, s = this.clonePosition();
|
|
3241
3241
|
if (this.bumpIf("</")) {
|
|
3242
|
-
if (this.isEOF() || !
|
|
3242
|
+
if (this.isEOF() || !mt(this.char()))
|
|
3243
3243
|
return this.error(_.INVALID_TAG, E(s, this.clonePosition()));
|
|
3244
3244
|
var u = this.clonePosition(), l = this.parseTagName();
|
|
3245
3245
|
return i !== l ? this.error(_.UNMATCHED_CLOSING_TAG, E(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3320,12 +3320,12 @@ var Yi = (
|
|
|
3320
3320
|
r.push(n);
|
|
3321
3321
|
this.bump();
|
|
3322
3322
|
}
|
|
3323
|
-
return
|
|
3323
|
+
return pt.apply(void 0, r);
|
|
3324
3324
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3325
3325
|
if (this.isEOF())
|
|
3326
3326
|
return null;
|
|
3327
3327
|
var n = this.char();
|
|
3328
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3328
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), pt(n));
|
|
3329
3329
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3330
3330
|
var n = this.clonePosition();
|
|
3331
3331
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3354,7 +3354,7 @@ var Yi = (
|
|
|
3354
3354
|
return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
|
|
3355
3355
|
}
|
|
3356
3356
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3357
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3357
|
+
var t = this.clonePosition(), r = this.offset(), n = dt(this.message, r), i = r + n.length;
|
|
3358
3358
|
this.bumpTo(i);
|
|
3359
3359
|
var o = this.clonePosition(), a = E(t, o);
|
|
3360
3360
|
return { value: n, location: a };
|
|
@@ -3373,18 +3373,18 @@ var Yi = (
|
|
|
3373
3373
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3374
3374
|
if (c.err)
|
|
3375
3375
|
return c;
|
|
3376
|
-
var f =
|
|
3376
|
+
var f = qi(c.val);
|
|
3377
3377
|
if (f.length === 0)
|
|
3378
3378
|
return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
|
|
3379
|
-
var
|
|
3380
|
-
l = { style: f, styleLocation:
|
|
3379
|
+
var d = E(h, this.clonePosition());
|
|
3380
|
+
l = { style: f, styleLocation: d };
|
|
3381
3381
|
}
|
|
3382
|
-
var
|
|
3383
|
-
if (
|
|
3384
|
-
return
|
|
3382
|
+
var g = this.tryParseArgumentClose(i);
|
|
3383
|
+
if (g.err)
|
|
3384
|
+
return g;
|
|
3385
3385
|
var b = E(i, this.clonePosition());
|
|
3386
|
-
if (l &&
|
|
3387
|
-
var w =
|
|
3386
|
+
if (l && qt(l == null ? void 0 : l.style, "::", 0)) {
|
|
3387
|
+
var w = Yi(l.style.slice(2));
|
|
3388
3388
|
if (s === "number") {
|
|
3389
3389
|
var c = this.parseNumberSkeletonFromString(w, l.styleLocation);
|
|
3390
3390
|
return c.err ? c : {
|
|
@@ -3438,15 +3438,15 @@ var Yi = (
|
|
|
3438
3438
|
var X = this.tryParsePluralOrSelectOptions(t, s, r, G);
|
|
3439
3439
|
if (X.err)
|
|
3440
3440
|
return X;
|
|
3441
|
-
var
|
|
3442
|
-
if (
|
|
3443
|
-
return
|
|
3441
|
+
var g = this.tryParseArgumentClose(i);
|
|
3442
|
+
if (g.err)
|
|
3443
|
+
return g;
|
|
3444
3444
|
var Z = E(i, this.clonePosition());
|
|
3445
3445
|
return s === "select" ? {
|
|
3446
3446
|
val: {
|
|
3447
3447
|
type: T.select,
|
|
3448
3448
|
value: n,
|
|
3449
|
-
options:
|
|
3449
|
+
options: Jt(X.val),
|
|
3450
3450
|
location: Z
|
|
3451
3451
|
},
|
|
3452
3452
|
err: null
|
|
@@ -3454,7 +3454,7 @@ var Yi = (
|
|
|
3454
3454
|
val: {
|
|
3455
3455
|
type: T.plural,
|
|
3456
3456
|
value: n,
|
|
3457
|
-
options:
|
|
3457
|
+
options: Jt(X.val),
|
|
3458
3458
|
offset: C,
|
|
3459
3459
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3460
3460
|
location: Z
|
|
@@ -3533,20 +3533,20 @@ var Yi = (
|
|
|
3533
3533
|
if (u.has(l))
|
|
3534
3534
|
return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3535
3535
|
l === "other" && (a = !0), this.bumpSpace();
|
|
3536
|
-
var
|
|
3536
|
+
var d = this.clonePosition();
|
|
3537
3537
|
if (!this.bumpIf("{"))
|
|
3538
3538
|
return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, E(this.clonePosition(), this.clonePosition()));
|
|
3539
|
-
var
|
|
3540
|
-
if (
|
|
3541
|
-
return
|
|
3542
|
-
var b = this.tryParseArgumentClose(
|
|
3539
|
+
var g = this.parseMessage(t + 1, r, n);
|
|
3540
|
+
if (g.err)
|
|
3541
|
+
return g;
|
|
3542
|
+
var b = this.tryParseArgumentClose(d);
|
|
3543
3543
|
if (b.err)
|
|
3544
3544
|
return b;
|
|
3545
3545
|
s.push([
|
|
3546
3546
|
l,
|
|
3547
3547
|
{
|
|
3548
|
-
value:
|
|
3549
|
-
location: E(
|
|
3548
|
+
value: g.val,
|
|
3549
|
+
location: E(d, this.clonePosition())
|
|
3550
3550
|
}
|
|
3551
3551
|
]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
|
|
3552
3552
|
}
|
|
@@ -3596,7 +3596,7 @@ var Yi = (
|
|
|
3596
3596
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3597
3597
|
}
|
|
3598
3598
|
}, e.prototype.bumpIf = function(t) {
|
|
3599
|
-
if (
|
|
3599
|
+
if (qt(this.message, t, this.offset())) {
|
|
3600
3600
|
for (var r = 0; r < t.length; r++)
|
|
3601
3601
|
this.bump();
|
|
3602
3602
|
return !0;
|
|
@@ -3628,11 +3628,11 @@ var Yi = (
|
|
|
3628
3628
|
}, e;
|
|
3629
3629
|
}()
|
|
3630
3630
|
);
|
|
3631
|
-
function
|
|
3631
|
+
function mt(e) {
|
|
3632
3632
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3633
3633
|
}
|
|
3634
3634
|
function Ki(e) {
|
|
3635
|
-
return
|
|
3635
|
+
return mt(e) || e === 47;
|
|
3636
3636
|
}
|
|
3637
3637
|
function eo(e) {
|
|
3638
3638
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
|
@@ -3643,23 +3643,23 @@ function zr(e) {
|
|
|
3643
3643
|
function to(e) {
|
|
3644
3644
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
|
3645
3645
|
}
|
|
3646
|
-
function
|
|
3646
|
+
function gt(e) {
|
|
3647
3647
|
e.forEach(function(t) {
|
|
3648
3648
|
if (delete t.location, Ur(t) || Fr(t))
|
|
3649
3649
|
for (var r in t.options)
|
|
3650
|
-
delete t.options[r].location,
|
|
3650
|
+
delete t.options[r].location, gt(t.options[r].value);
|
|
3651
3651
|
else
|
|
3652
|
-
Cr(t) && kr(t.style) || (Nr(t) || Rr(t)) && ct(t.style) ? delete t.style.location : Dr(t) &&
|
|
3652
|
+
Cr(t) && kr(t.style) || (Nr(t) || Rr(t)) && ct(t.style) ? delete t.style.location : Dr(t) && gt(t.children);
|
|
3653
3653
|
});
|
|
3654
3654
|
}
|
|
3655
3655
|
function ro(e, t) {
|
|
3656
3656
|
t === void 0 && (t = {}), t = Ue({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3657
|
-
var r = new
|
|
3657
|
+
var r = new Ji(e, t).parse();
|
|
3658
3658
|
if (r.err) {
|
|
3659
3659
|
var n = SyntaxError(_[r.err.kind]);
|
|
3660
3660
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3661
3661
|
}
|
|
3662
|
-
return t != null && t.captureLocation ||
|
|
3662
|
+
return t != null && t.captureLocation || gt(r.val), r.val;
|
|
3663
3663
|
}
|
|
3664
3664
|
var fe;
|
|
3665
3665
|
(function(e) {
|
|
@@ -3753,34 +3753,34 @@ function Ie(e, t, r, n, i, o, a) {
|
|
|
3753
3753
|
continue;
|
|
3754
3754
|
}
|
|
3755
3755
|
if (Nr(h)) {
|
|
3756
|
-
var
|
|
3756
|
+
var d = typeof h.style == "string" ? n.date[h.style] : ct(h.style) ? h.style.parsedOptions : void 0;
|
|
3757
3757
|
s.push({
|
|
3758
3758
|
type: k.literal,
|
|
3759
|
-
value: r.getDateTimeFormat(t,
|
|
3759
|
+
value: r.getDateTimeFormat(t, d).format(f)
|
|
3760
3760
|
});
|
|
3761
3761
|
continue;
|
|
3762
3762
|
}
|
|
3763
3763
|
if (Rr(h)) {
|
|
3764
|
-
var
|
|
3764
|
+
var d = typeof h.style == "string" ? n.time[h.style] : ct(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3765
3765
|
s.push({
|
|
3766
3766
|
type: k.literal,
|
|
3767
|
-
value: r.getDateTimeFormat(t,
|
|
3767
|
+
value: r.getDateTimeFormat(t, d).format(f)
|
|
3768
3768
|
});
|
|
3769
3769
|
continue;
|
|
3770
3770
|
}
|
|
3771
3771
|
if (Cr(h)) {
|
|
3772
|
-
var
|
|
3773
|
-
|
|
3772
|
+
var d = typeof h.style == "string" ? n.number[h.style] : kr(h.style) ? h.style.parsedOptions : void 0;
|
|
3773
|
+
d && d.scale && (f = f * (d.scale || 1)), s.push({
|
|
3774
3774
|
type: k.literal,
|
|
3775
|
-
value: r.getNumberFormat(t,
|
|
3775
|
+
value: r.getNumberFormat(t, d).format(f)
|
|
3776
3776
|
});
|
|
3777
3777
|
continue;
|
|
3778
3778
|
}
|
|
3779
3779
|
if (Dr(h)) {
|
|
3780
|
-
var
|
|
3780
|
+
var g = h.children, b = h.value, w = i[b];
|
|
3781
3781
|
if (!ao(w))
|
|
3782
3782
|
throw new no(b, "function", a);
|
|
3783
|
-
var H = Ie(
|
|
3783
|
+
var H = Ie(g, t, r, n, i, o), L = w(H.map(function(C) {
|
|
3784
3784
|
return C.value;
|
|
3785
3785
|
}));
|
|
3786
3786
|
Array.isArray(L) || (L = [L]), s.push.apply(s, L.map(function(C) {
|
|
@@ -3845,26 +3845,26 @@ function lo(e) {
|
|
|
3845
3845
|
dateTime: {},
|
|
3846
3846
|
pluralRules: {}
|
|
3847
3847
|
}), {
|
|
3848
|
-
getNumberFormat:
|
|
3848
|
+
getNumberFormat: Je(function() {
|
|
3849
3849
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3850
3850
|
r[n] = arguments[n];
|
|
3851
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3851
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, qe([void 0], r, !1)))();
|
|
3852
3852
|
}, {
|
|
3853
3853
|
cache: tt(e.number),
|
|
3854
3854
|
strategy: Ke.variadic
|
|
3855
3855
|
}),
|
|
3856
|
-
getDateTimeFormat:
|
|
3856
|
+
getDateTimeFormat: Je(function() {
|
|
3857
3857
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3858
3858
|
r[n] = arguments[n];
|
|
3859
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3859
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, qe([void 0], r, !1)))();
|
|
3860
3860
|
}, {
|
|
3861
3861
|
cache: tt(e.dateTime),
|
|
3862
3862
|
strategy: Ke.variadic
|
|
3863
3863
|
}),
|
|
3864
|
-
getPluralRules:
|
|
3864
|
+
getPluralRules: Je(function() {
|
|
3865
3865
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3866
3866
|
r[n] = arguments[n];
|
|
3867
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3867
|
+
return new ((t = Intl.PluralRules).bind.apply(t, qe([void 0], r, !1)))();
|
|
3868
3868
|
}, {
|
|
3869
3869
|
cache: tt(e.pluralRules),
|
|
3870
3870
|
strategy: Ke.variadic
|
|
@@ -4011,7 +4011,7 @@ const K = {}, fo = (e, t, r) => r && (t in K || (K[t] = {}), e in K[t] || (K[t][
|
|
|
4011
4011
|
return K[t][e];
|
|
4012
4012
|
const r = We(t);
|
|
4013
4013
|
for (let n = 0; n < r.length; n++) {
|
|
4014
|
-
const i = r[n], o =
|
|
4014
|
+
const i = r[n], o = mo(i, e);
|
|
4015
4015
|
if (o)
|
|
4016
4016
|
return fo(e, t, o);
|
|
4017
4017
|
}
|
|
@@ -4024,13 +4024,13 @@ function po(e) {
|
|
|
4024
4024
|
function Qr(e) {
|
|
4025
4025
|
return e in _t;
|
|
4026
4026
|
}
|
|
4027
|
-
function
|
|
4027
|
+
function mo(e, t) {
|
|
4028
4028
|
if (!Qr(e))
|
|
4029
4029
|
return null;
|
|
4030
4030
|
const r = po(e);
|
|
4031
4031
|
return co(r, t);
|
|
4032
4032
|
}
|
|
4033
|
-
function
|
|
4033
|
+
function go(e) {
|
|
4034
4034
|
if (e == null)
|
|
4035
4035
|
return;
|
|
4036
4036
|
const t = We(e);
|
|
@@ -4040,10 +4040,10 @@ function mo(e) {
|
|
|
4040
4040
|
return n;
|
|
4041
4041
|
}
|
|
4042
4042
|
}
|
|
4043
|
-
function
|
|
4043
|
+
function Yr(e, ...t) {
|
|
4044
4044
|
delete K[e], Te.update((r) => (r[e] = vi.all([r[e] || {}, ...t]), r));
|
|
4045
4045
|
}
|
|
4046
|
-
|
|
4046
|
+
ge(
|
|
4047
4047
|
[Te],
|
|
4048
4048
|
([e]) => Object.keys(e)
|
|
4049
4049
|
);
|
|
@@ -4052,12 +4052,12 @@ const Ce = {};
|
|
|
4052
4052
|
function bo(e, t) {
|
|
4053
4053
|
Ce[e].delete(t), Ce[e].size === 0 && delete Ce[e];
|
|
4054
4054
|
}
|
|
4055
|
-
function
|
|
4055
|
+
function qr(e) {
|
|
4056
4056
|
return Ce[e];
|
|
4057
4057
|
}
|
|
4058
4058
|
function vo(e) {
|
|
4059
4059
|
return We(e).map((t) => {
|
|
4060
|
-
const r =
|
|
4060
|
+
const r = qr(t);
|
|
4061
4061
|
return [t, r ? [...r] : []];
|
|
4062
4062
|
}).filter(([, t]) => t.length > 0);
|
|
4063
4063
|
}
|
|
@@ -4065,17 +4065,17 @@ function bt(e) {
|
|
|
4065
4065
|
return e == null ? !1 : We(e).some(
|
|
4066
4066
|
(t) => {
|
|
4067
4067
|
var r;
|
|
4068
|
-
return (r =
|
|
4068
|
+
return (r = qr(t)) == null ? void 0 : r.size;
|
|
4069
4069
|
}
|
|
4070
4070
|
);
|
|
4071
4071
|
}
|
|
4072
4072
|
function yo(e, t) {
|
|
4073
4073
|
return Promise.all(
|
|
4074
4074
|
t.map((n) => (bo(e, n), n().then((i) => i.default || i)))
|
|
4075
|
-
).then((n) =>
|
|
4075
|
+
).then((n) => Yr(e, ...n));
|
|
4076
4076
|
}
|
|
4077
4077
|
const ye = {};
|
|
4078
|
-
function
|
|
4078
|
+
function Jr(e) {
|
|
4079
4079
|
if (!bt(e))
|
|
4080
4080
|
return e in ye ? ye[e] : Promise.resolve();
|
|
4081
4081
|
const t = vo(e);
|
|
@@ -4085,7 +4085,7 @@ function Yr(e) {
|
|
|
4085
4085
|
)
|
|
4086
4086
|
).then(() => {
|
|
4087
4087
|
if (bt(e))
|
|
4088
|
-
return
|
|
4088
|
+
return Jr(e);
|
|
4089
4089
|
delete ye[e];
|
|
4090
4090
|
}), ye[e];
|
|
4091
4091
|
}
|
|
@@ -4126,7 +4126,7 @@ const _o = {
|
|
|
4126
4126
|
handleMissingMessage: void 0,
|
|
4127
4127
|
ignoreTag: !0
|
|
4128
4128
|
}, Eo = xo;
|
|
4129
|
-
function
|
|
4129
|
+
function pe() {
|
|
4130
4130
|
return Eo;
|
|
4131
4131
|
}
|
|
4132
4132
|
const rt = Ge(!1);
|
|
@@ -4143,7 +4143,7 @@ const Fe = Ge(null);
|
|
|
4143
4143
|
function nr(e) {
|
|
4144
4144
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4145
4145
|
}
|
|
4146
|
-
function We(e, t =
|
|
4146
|
+
function We(e, t = pe().fallbackLocale) {
|
|
4147
4147
|
const r = nr(e);
|
|
4148
4148
|
return t ? [.../* @__PURE__ */ new Set([...r, ...nr(t)])] : r;
|
|
4149
4149
|
}
|
|
@@ -4154,13 +4154,13 @@ Fe.subscribe((e) => {
|
|
|
4154
4154
|
vt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4155
4155
|
});
|
|
4156
4156
|
const Po = (e) => {
|
|
4157
|
-
if (e &&
|
|
4158
|
-
const { loadingDelay: t } =
|
|
4157
|
+
if (e && go(e) && bt(e)) {
|
|
4158
|
+
const { loadingDelay: t } = pe();
|
|
4159
4159
|
let r;
|
|
4160
4160
|
return typeof window != "undefined" && ne() != null && t ? r = window.setTimeout(
|
|
4161
4161
|
() => rt.set(!0),
|
|
4162
4162
|
t
|
|
4163
|
-
) : rt.set(!0),
|
|
4163
|
+
) : rt.set(!0), Jr(e).then(() => {
|
|
4164
4164
|
Fe.set(e);
|
|
4165
4165
|
}).finally(() => {
|
|
4166
4166
|
clearTimeout(r), rt.set(!1);
|
|
@@ -4193,7 +4193,7 @@ var Bo = Object.defineProperty, De = Object.getOwnPropertySymbols, Kr = Object.p
|
|
|
4193
4193
|
return r;
|
|
4194
4194
|
};
|
|
4195
4195
|
const we = (e, t) => {
|
|
4196
|
-
const { formats: r } =
|
|
4196
|
+
const { formats: r } = pe();
|
|
4197
4197
|
if (e in r && t in r[e])
|
|
4198
4198
|
return r[e][t];
|
|
4199
4199
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
@@ -4243,8 +4243,8 @@ const we = (e, t) => {
|
|
|
4243
4243
|
return Co(xt({ locale: r }, n));
|
|
4244
4244
|
}, Fo = Ve(
|
|
4245
4245
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4246
|
-
(e, t = ne()) => new ho(e, t,
|
|
4247
|
-
ignoreTag:
|
|
4246
|
+
(e, t = ne()) => new ho(e, t, pe().formats, {
|
|
4247
|
+
ignoreTag: pe().ignoreTag
|
|
4248
4248
|
})
|
|
4249
4249
|
), Do = (e, t = {}) => {
|
|
4250
4250
|
var r, n, i, o;
|
|
@@ -4261,7 +4261,7 @@ const we = (e, t) => {
|
|
|
4261
4261
|
);
|
|
4262
4262
|
let h = Zr(e, u);
|
|
4263
4263
|
if (!h)
|
|
4264
|
-
h = (o = (i = (n = (r =
|
|
4264
|
+
h = (o = (i = (n = (r = pe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
|
|
4265
4265
|
else if (typeof h != "string")
|
|
4266
4266
|
return console.warn(
|
|
4267
4267
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4278,11 +4278,11 @@ const we = (e, t) => {
|
|
|
4278
4278
|
);
|
|
4279
4279
|
}
|
|
4280
4280
|
return c;
|
|
4281
|
-
}, ko = (e, t) => Uo(t).format(e), Go = (e, t) => Ro(t).format(e), $o = (e, t) => No(t).format(e), jo = (e, t = ne()) => Zr(e, t), Wo =
|
|
4282
|
-
|
|
4283
|
-
|
|
4284
|
-
|
|
4285
|
-
|
|
4281
|
+
}, ko = (e, t) => Uo(t).format(e), Go = (e, t) => Ro(t).format(e), $o = (e, t) => No(t).format(e), jo = (e, t = ne()) => Zr(e, t), Wo = ge([be, Te], () => Do);
|
|
4282
|
+
ge([be], () => ko);
|
|
4283
|
+
ge([be], () => Go);
|
|
4284
|
+
ge([be], () => $o);
|
|
4285
|
+
ge([be, Te], () => jo);
|
|
4286
4286
|
window.emWidgets = { topic: ti };
|
|
4287
4287
|
const Vo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), Xo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4288
4288
|
function zo(e, t) {
|
|
@@ -4309,9 +4309,9 @@ function Qo(e, t, r) {
|
|
|
4309
4309
|
}
|
|
4310
4310
|
}
|
|
4311
4311
|
function or(e, t) {
|
|
4312
|
-
|
|
4312
|
+
Yr(e, t);
|
|
4313
4313
|
}
|
|
4314
|
-
function
|
|
4314
|
+
function Yo(e) {
|
|
4315
4315
|
be.set(e);
|
|
4316
4316
|
}
|
|
4317
4317
|
const ar = {
|
|
@@ -4349,8 +4349,8 @@ const ar = {
|
|
|
4349
4349
|
language: "Select Language"
|
|
4350
4350
|
}
|
|
4351
4351
|
};
|
|
4352
|
-
function
|
|
4353
|
-
xn(e, "svelte-
|
|
4352
|
+
function qo(e) {
|
|
4353
|
+
xn(e, "svelte-gihysk", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.Skeleton{animation:skeleton-loading 0.6s linear infinite alternate}@keyframes skeleton-loading{0%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.2) 0%, rgba(0, 61, 93, 0.2) 100%)}12%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.225) 0%, rgba(0, 61, 93, 0.225) 100%)}25%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.25) 0%, rgba(0, 61, 93, 0.25) 100%)}33%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.275) 0%, rgba(0, 61, 93, 0.275) 100%)}50%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.3) 0%, rgba(0, 61, 93, 0.3) 100%)}63%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.325) 0%, rgba(0, 61, 93, 0.325) 100%)}75%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.35) 0%, rgba(0, 61, 93, 0.35) 100%)}88%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.375) 0%, rgba(0, 61, 93, 0.375) 100%)}100%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.4) 0%, rgba(0, 61, 93, 0.4) 100%)}}@keyframes increaseTransparency{0%{opacity:0}25%{opacity:0.25}75%{opacity:0.75}100%{opacity:1}}@keyframes decreaseTransparency{100%{opacity:1}75%{opacity:0.75}25%{opacity:0.25}0%{opacity:0}}@keyframes growWidthPercent{from{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes growWidth{from{transform:translateY(0)}to{transform:translateY(0)}}@keyframes decreaseWidth{from{transform:translateX(1)}to{transform:translateX(0)}}.NavIcon{width:30px;height:28px;position:relative;margin:3px auto;transform:rotate(0deg);transition:transform 0.2s ease-in-out;cursor:pointer}.NavIcon span{display:block;position:absolute;height:3px;width:100%;background:#ffffff;border-radius:9px;opacity:1;left:0;transform:rotate(0deg);transition:transform 0.2s ease-in-out, opacity 0.2s ease-in-out}.NavIcon span:nth-child(1){top:0px;width:80%}.NavIcon span:nth-child(2){top:9px}.NavIcon span:nth-child(3){top:18px}.NavIcon.Open span:nth-child(1){top:9px;width:100%;transform:rotate(135deg);transition:transform 0.3s ease-in-out}.NavIcon.Open span:nth-child(2){opacity:0;left:-60px}.NavIcon.Open span:nth-child(3){top:9px;transform:rotate(-135deg);transition:transform 0.3s ease-in-out}.SelectedOption{display:flex;align-items:center;justify-content:center}.SelectedOption .TriangleActive,.SelectedOption .TriangleInactive{display:block;margin:0 0 0 10px;transform:rotateX(0deg);transition:transform 0.2s ease-in-out}.SelectedOption .TriangleActive svg,.SelectedOption .TriangleInactive svg{margin:-2px 0px;fill:white}.SelectedOption .TriangleActive{transform:rotateX(180deg);transition:transform 0.2s ease-in-out}.SelectedOption .TriangleActive:hover{transform:rotateX(180deg);transition:transform 0.2s ease-in-out}.FlagIcon>img{width:20px;height:14px;margin-right:8px;border-radius:2px}.LanguageSelector{padding:5px 0;margin-bottom:0;display:flex;justify-content:space-between;background:linear-gradient(90deg, rgba(35, 178, 78, 0.9) 0%, rgba(0, 61, 93, 0.9) 100%);transition:transform 0.2s linear}.LanguageSelector span{display:inline;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));opacity:0.8;padding:5px 0;display:flex;align-items:center;gap:15px;font-size:14px}.LanguageSelector:active{transition:all 0.2s ease}.LanguageSelector:active span{transition:all 0.1s linear;opacity:1}.LanguageSelector.Open{box-shadow:inset 0 -3.25em 0 0 var(--emw--color-primary)}.LanguageSelector .LanguageSelectorTitle{margin:0 20px}.LanguageSelector .LanguageDropdown{margin-right:16px;display:inline-block}.LanguageSelector .OptionList{position:absolute;background:linear-gradient(90deg, rgba(35, 178, 78, 0.1) 0%, rgba(0, 61, 93, 0.1) 100%);min-width:180px;z-index:1;overflow-y:auto;display:flex;flex-direction:column-reverse;bottom:44px;left:0;gap:5px;padding-bottom:5px;width:100%;height:0px;transition:transform 0.2s linear}.LanguageSelector .OptionList.Open{transition:transform 0.2s linear;height:auto;background-color:var(--emw--color-background-secondary, #000000);overflow:auto}.LanguageSelector .OptionList .LanguageOption{display:flex;border:2px solid #22B04E;border-radius:13px;align-items:center;opacity:0.2;height:0px;background:linear-gradient(90deg, rgba(35, 178, 78, 0.2) 0%, rgba(0, 61, 93, 0.2) 100%);margin:0 5px;transition:transform 0.3s linear}.LanguageSelector .OptionList .LanguageOption.Open{height:50px;opacity:1;padding:10px 5px}.LanguageSelector .OptionList .LanguageOption:active,.LanguageSelector .OptionList .LanguageOption:hover{background:linear-gradient(90deg, rgb(35, 178, 78) 0%, rgb(0, 61, 93) 100%);transform:scale(1.03);transition:transform 0.2s ease-in-out}.LanguageSelector .OptionList .LanguageOption:active span,.LanguageSelector .OptionList .LanguageOption:hover span{color:black}.ItemLanguage{height:34px;width:100%;text-align:left;line-height:34px;background:transparent;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));border:none}.ItemLanguage option{color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A))}.HamburgerModalWindow{display:flex;align-items:flex-start;position:fixed;width:100%;height:100%;z-index:100;z-index:999999;top:0;left:0;background-color:rgba(0, 0, 0, 0.85);animation:increaseTransparency 0.2s ease-in forwards}.HamburgerModalWindow>span{opacity:0}.HamburgerModalWindow .HamburgerModalContainer{max-width:992px;position:relative;background:var(--emw--header-color-secondary-menu-bg, var(--emw--color-background-secondary, rgb(0, 0, 0)));display:flex;flex-direction:column;justify-content:space-between;height:100%;padding:0;border-top:0;border-radius:0;overflow-x:hidden;overflow-y:scroll}.HamburgerModalWindow .HamburgerModalContainer.ActiveHamburgerMenu{animation:growWidth 0.2s forwards;transform-origin:left;will-change:transform}.HamburgerModalWindow .HamburgerModalContainer.Closing{animation:decreaseWidth 0.2s backwards;transform-origin:right;animation-fill-mode:backwards;will-change:transform}.HamburgerModalWindow .HamburgerModalContainer .Separator{width:100%;height:5px;background:rgb(0, 0, 0);background:linear-gradient(90deg, rgb(13, 78, 2) 0%, rgb(35, 172, 77) 50%, rgb(13, 78, 2) 100%);z-index:3}.HamburgerModalWindow .ModalCloseBtn{position:relative;top:25px;width:30px;height:30px;opacity:1;margin-left:7px;margin-right:9px;cursor:pointer}.HamburgerModalWindow .ModalCloseBtn .NavIcon .Open{width:90vw}.HamburgerModalWindow .ModalCloseBtn svg{width:20px;height:20px;padding:2px}.HamburgerModalWindow .HamburgerPrimaryMenu,.HamburgerModalWindow .HamburgerSecondaryMenu{font-size:12px;display:flex;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));transform-origin:left;transform:scaleX(0);animation:growWidthPercent 0.2s both;animation-delay:0.1s}.HamburgerModalWindow .HamburgerPrimaryMenu li,.HamburgerModalWindow .HamburgerSecondaryMenu li{transition:transform 150ms ease-in-out, opacity 150ms ease-in-out}.HamburgerModalWindow .HamburgerPrimaryMenu img,.HamburgerModalWindow .HamburgerSecondaryMenu img{max-width:40px}.HamburgerModalWindow .HamburgerPrimaryMenu{background:var(--emw--header-color-menu-bg, var(--emw--color-background-secondary, #000000));white-space:nowrap;overflow-x:scroll;list-style:none;width:90vw;text-transform:uppercase;font-size:11px;transition:all 0.2s}.HamburgerModalWindow .HamburgerPrimaryMenu>li{max-width:125px;padding:14px 25px;display:inline-block}.HamburgerModalWindow .HamburgerPrimaryMenu>li:active{transform:scale(1.1)}.HamburgerModalWindow .HamburgerPrimaryMenu>li.ActiveItem{background:var(--emw--header-color-primary, var(--emw--color-primary, #22B04F));color:black}.HamburgerModalWindow .HamburgerPrimaryMenu .Loading{width:150px;height:86px;margin:0 2px}.HamburgerModalWindow .HamburgerPrimaryMenu .HamburgerItemContainer{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px}.HamburgerModalWindow .HamburgerSecondaryMenu{margin-top:10px;list-style:none;height:85%;overflow:auto;width:90vw;display:flex;flex-direction:column}.HamburgerModalWindow .HamburgerSecondaryMenu.Overlay{opacity:0.5;transition:opacity 0.2s ease-in-out}.HamburgerModalWindow .HamburgerSecondaryMenu li{padding:15px;display:flex;align-items:center;gap:15px;transition:transform 0.2s linear}.HamburgerModalWindow .HamburgerSecondaryMenu li:active{background-color:var(--emw--color-primary);transform:scale(1.1)}.HamburgerModalWindow .HamburgerSecondaryMenu li a{text-decoration:none;display:flex;align-items:center;gap:15px;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));font-size:14px}.HamburgerModalWindow .HamburgerSecondaryMenu li:not(:last-child){border-bottom:1px solid var(--emw--color-gray-300, #58586B)}.HamburgerModalWindow .HamburgerSecondaryMenu li:active a{color:var(--emw--color-primary, #22B04F)}.FlagIcon{margin-left:12px}.NoFlag{width:88%;margin:0 20px}");
|
|
4354
4354
|
}
|
|
4355
4355
|
function sr(e, t, r) {
|
|
4356
4356
|
const n = e.slice();
|
|
@@ -4364,7 +4364,7 @@ function lr(e, t, r) {
|
|
|
4364
4364
|
const n = e.slice();
|
|
4365
4365
|
return n[60] = t[r], n;
|
|
4366
4366
|
}
|
|
4367
|
-
function
|
|
4367
|
+
function Jo(e, t, r) {
|
|
4368
4368
|
const n = e.slice();
|
|
4369
4369
|
return n[66] = t[r], n;
|
|
4370
4370
|
}
|
|
@@ -4373,41 +4373,41 @@ function hr(e, t, r) {
|
|
|
4373
4373
|
return n[63] = t[r], n;
|
|
4374
4374
|
}
|
|
4375
4375
|
function cr(e) {
|
|
4376
|
-
let t, r, n, i, o, a, s, u, l, h, c, f,
|
|
4376
|
+
let t, r, n, i, o, a, s, u, l, h, c, f, d, g, b, w, H, L, P, G, C, X, Z;
|
|
4377
4377
|
function ie(x, R) {
|
|
4378
4378
|
return (
|
|
4379
4379
|
/*HamburgerMenuItems*/
|
|
4380
4380
|
x[4].length > 0 ? ea : Ko
|
|
4381
4381
|
);
|
|
4382
4382
|
}
|
|
4383
|
-
let
|
|
4383
|
+
let J = ie(e), N = J(e), j = q(
|
|
4384
4384
|
/*activeMenuItemChildren*/
|
|
4385
4385
|
e[6]
|
|
4386
4386
|
), O = [];
|
|
4387
4387
|
for (let x = 0; x < j.length; x += 1)
|
|
4388
|
-
O[x] =
|
|
4388
|
+
O[x] = mr(lr(e, j, x));
|
|
4389
4389
|
let B = (
|
|
4390
4390
|
/*languagesArray*/
|
|
4391
|
-
e[9].length > 1 &&
|
|
4391
|
+
e[9].length > 1 && gr(e)
|
|
4392
4392
|
);
|
|
4393
4393
|
return {
|
|
4394
4394
|
c() {
|
|
4395
4395
|
t = y("div"), r = y("div"), n = y("ul"), N.c(), i = U(), o = y("div"), a = U(), s = y("ul");
|
|
4396
4396
|
for (let x = 0; x < O.length; x += 1)
|
|
4397
4397
|
O[x].c();
|
|
4398
|
-
l = U(), B && B.c(), c = U(), f = y("span"),
|
|
4399
|
-
(e[10] ? "Overlay" : "")),
|
|
4398
|
+
l = U(), B && B.c(), c = U(), f = y("span"), d = y("div"), g = y("span"), b = U(), w = y("span"), H = U(), L = y("span"), m(n, "class", "HamburgerPrimaryMenu"), m(o, "class", "Separator"), m(s, "class", u = "HamburgerSecondaryMenu " + /*isOptionsListVisible*/
|
|
4399
|
+
(e[10] ? "Overlay" : "")), m(r, "class", h = "HamburgerModalContainer " + /*modalIsOpen*/
|
|
4400
4400
|
(e[7] ? "ActiveHamburgerMenu" : "") + " " + /*isClosing*/
|
|
4401
|
-
(e[12] ? "Closing" : "")),
|
|
4402
|
-
e[13] ? "" : "Open")),
|
|
4403
|
-
e[7] ? "ModalCloseBtn" : ""),
|
|
4401
|
+
(e[12] ? "Closing" : "")), m(d, "class", P = "NavIcon " + (/*navIconClosing*/
|
|
4402
|
+
e[13] ? "" : "Open")), m(f, "class", G = /*modalIsOpen*/
|
|
4403
|
+
e[7] ? "ModalCloseBtn" : ""), m(f, "role", "button"), m(t, "class", C = "HamburgerModalWindow " + /*isClosing*/
|
|
4404
4404
|
(e[12] ? " Closing" : ""));
|
|
4405
4405
|
},
|
|
4406
4406
|
m(x, R) {
|
|
4407
4407
|
F(x, t, R), v(t, r), v(r, n), N.m(n, null), v(r, i), v(r, o), v(r, a), v(r, s);
|
|
4408
4408
|
for (let S = 0; S < O.length; S += 1)
|
|
4409
4409
|
O[S] && O[S].m(s, null);
|
|
4410
|
-
v(r, l), B && B.m(r, null), v(t, c), v(t, f), v(f,
|
|
4410
|
+
v(r, l), B && B.m(r, null), v(t, c), v(t, f), v(f, d), v(d, g), v(d, b), v(d, w), v(d, H), v(d, L), e[40](t), X || (Z = re(
|
|
4411
4411
|
f,
|
|
4412
4412
|
"click",
|
|
4413
4413
|
/*close*/
|
|
@@ -4415,16 +4415,16 @@ function cr(e) {
|
|
|
4415
4415
|
), X = !0);
|
|
4416
4416
|
},
|
|
4417
4417
|
p(x, R) {
|
|
4418
|
-
if (
|
|
4418
|
+
if (J === (J = ie(x)) && N ? N.p(x, R) : (N.d(1), N = J(x), N && (N.c(), N.m(n, null))), R[0] & /*handleClick, activeMenuItemChildren*/
|
|
4419
4419
|
262208) {
|
|
4420
|
-
j =
|
|
4420
|
+
j = q(
|
|
4421
4421
|
/*activeMenuItemChildren*/
|
|
4422
4422
|
x[6]
|
|
4423
4423
|
);
|
|
4424
4424
|
let S;
|
|
4425
4425
|
for (S = 0; S < j.length; S += 1) {
|
|
4426
4426
|
const W = lr(x, j, S);
|
|
4427
|
-
O[S] ? O[S].p(W, R) : (O[S] =
|
|
4427
|
+
O[S] ? O[S].p(W, R) : (O[S] = mr(W), O[S].c(), O[S].m(s, null));
|
|
4428
4428
|
}
|
|
4429
4429
|
for (; S < O.length; S += 1)
|
|
4430
4430
|
O[S].d(1);
|
|
@@ -4432,17 +4432,17 @@ function cr(e) {
|
|
|
4432
4432
|
}
|
|
4433
4433
|
R[0] & /*isOptionsListVisible*/
|
|
4434
4434
|
1024 && u !== (u = "HamburgerSecondaryMenu " + /*isOptionsListVisible*/
|
|
4435
|
-
(x[10] ? "Overlay" : "")) &&
|
|
4436
|
-
x[9].length > 1 ? B ? B.p(x, R) : (B =
|
|
4435
|
+
(x[10] ? "Overlay" : "")) && m(s, "class", u), /*languagesArray*/
|
|
4436
|
+
x[9].length > 1 ? B ? B.p(x, R) : (B = gr(x), B.c(), B.m(r, null)) : B && (B.d(1), B = null), R[0] & /*modalIsOpen, isClosing*/
|
|
4437
4437
|
4224 && h !== (h = "HamburgerModalContainer " + /*modalIsOpen*/
|
|
4438
4438
|
(x[7] ? "ActiveHamburgerMenu" : "") + " " + /*isClosing*/
|
|
4439
|
-
(x[12] ? "Closing" : "")) &&
|
|
4439
|
+
(x[12] ? "Closing" : "")) && m(r, "class", h), R[0] & /*navIconClosing*/
|
|
4440
4440
|
8192 && P !== (P = "NavIcon " + (/*navIconClosing*/
|
|
4441
|
-
x[13] ? "" : "Open")) &&
|
|
4441
|
+
x[13] ? "" : "Open")) && m(d, "class", P), R[0] & /*modalIsOpen*/
|
|
4442
4442
|
128 && G !== (G = /*modalIsOpen*/
|
|
4443
|
-
x[7] ? "ModalCloseBtn" : "") &&
|
|
4443
|
+
x[7] ? "ModalCloseBtn" : "") && m(f, "class", G), R[0] & /*isClosing*/
|
|
4444
4444
|
4096 && C !== (C = "HamburgerModalWindow " + /*isClosing*/
|
|
4445
|
-
(x[12] ? " Closing" : "")) &&
|
|
4445
|
+
(x[12] ? " Closing" : "")) && m(t, "class", C);
|
|
4446
4446
|
},
|
|
4447
4447
|
d(x) {
|
|
4448
4448
|
x && I(t), N.d(), Se(O, x), B && B.d(), e[40](null), X = !1, Z();
|
|
@@ -4450,9 +4450,9 @@ function cr(e) {
|
|
|
4450
4450
|
};
|
|
4451
4451
|
}
|
|
4452
4452
|
function Ko(e) {
|
|
4453
|
-
let t, r =
|
|
4453
|
+
let t, r = q(new Array(5)), n = [];
|
|
4454
4454
|
for (let i = 0; i < r.length; i += 1)
|
|
4455
|
-
n[i] = ta(
|
|
4455
|
+
n[i] = ta(Jo(e, r, i));
|
|
4456
4456
|
return {
|
|
4457
4457
|
c() {
|
|
4458
4458
|
for (let i = 0; i < n.length; i += 1)
|
|
@@ -4471,12 +4471,12 @@ function Ko(e) {
|
|
|
4471
4471
|
};
|
|
4472
4472
|
}
|
|
4473
4473
|
function ea(e) {
|
|
4474
|
-
let t, r =
|
|
4474
|
+
let t, r = q(
|
|
4475
4475
|
/*HamburgerMenuItems*/
|
|
4476
4476
|
e[4]
|
|
4477
4477
|
), n = [];
|
|
4478
4478
|
for (let i = 0; i < r.length; i += 1)
|
|
4479
|
-
n[i] =
|
|
4479
|
+
n[i] = pr(hr(e, r, i));
|
|
4480
4480
|
return {
|
|
4481
4481
|
c() {
|
|
4482
4482
|
for (let i = 0; i < n.length; i += 1)
|
|
@@ -4491,14 +4491,14 @@ function ea(e) {
|
|
|
4491
4491
|
p(i, o) {
|
|
4492
4492
|
if (o[0] & /*activeMenuItemId, HamburgerMenuItems, changeMenu*/
|
|
4493
4493
|
131120) {
|
|
4494
|
-
r =
|
|
4494
|
+
r = q(
|
|
4495
4495
|
/*HamburgerMenuItems*/
|
|
4496
4496
|
i[4]
|
|
4497
4497
|
);
|
|
4498
4498
|
let a;
|
|
4499
4499
|
for (a = 0; a < r.length; a += 1) {
|
|
4500
4500
|
const s = hr(i, r, a);
|
|
4501
|
-
n[a] ? n[a].p(s, o) : (n[a] =
|
|
4501
|
+
n[a] ? n[a].p(s, o) : (n[a] = pr(s), n[a].c(), n[a].m(t.parentNode, t));
|
|
4502
4502
|
}
|
|
4503
4503
|
for (; a < n.length; a += 1)
|
|
4504
4504
|
n[a].d(1);
|
|
@@ -4514,7 +4514,7 @@ function ta(e) {
|
|
|
4514
4514
|
let t;
|
|
4515
4515
|
return {
|
|
4516
4516
|
c() {
|
|
4517
|
-
t = y("div"), t.innerHTML = "",
|
|
4517
|
+
t = y("div"), t.innerHTML = "", m(t, "class", "Loading Skeleton");
|
|
4518
4518
|
},
|
|
4519
4519
|
m(r, n) {
|
|
4520
4520
|
F(r, t, n);
|
|
@@ -4530,7 +4530,7 @@ function fr(e) {
|
|
|
4530
4530
|
return {
|
|
4531
4531
|
c() {
|
|
4532
4532
|
t = y("img"), ee(t.src, r = /*mainItem*/
|
|
4533
|
-
e[63].img) ||
|
|
4533
|
+
e[63].img) || m(t, "src", r), m(t, "alt", "menu icon");
|
|
4534
4534
|
},
|
|
4535
4535
|
m(n, i) {
|
|
4536
4536
|
F(n, t, i);
|
|
@@ -4538,21 +4538,21 @@ function fr(e) {
|
|
|
4538
4538
|
p(n, i) {
|
|
4539
4539
|
i[0] & /*HamburgerMenuItems*/
|
|
4540
4540
|
16 && !ee(t.src, r = /*mainItem*/
|
|
4541
|
-
n[63].img) &&
|
|
4541
|
+
n[63].img) && m(t, "src", r);
|
|
4542
4542
|
},
|
|
4543
4543
|
d(n) {
|
|
4544
4544
|
n && I(t);
|
|
4545
4545
|
}
|
|
4546
4546
|
};
|
|
4547
4547
|
}
|
|
4548
|
-
function
|
|
4549
|
-
var
|
|
4548
|
+
function pr(e) {
|
|
4549
|
+
var d;
|
|
4550
4550
|
let t, r, n, i, o = (
|
|
4551
4551
|
/*mainItem*/
|
|
4552
4552
|
e[63].label + ""
|
|
4553
4553
|
), a, s, u, l, h, c = (
|
|
4554
4554
|
/*mainItem*/
|
|
4555
|
-
((
|
|
4555
|
+
((d = e[63]) == null ? void 0 : d.img) && fr(e)
|
|
4556
4556
|
);
|
|
4557
4557
|
function f() {
|
|
4558
4558
|
return (
|
|
@@ -4565,34 +4565,34 @@ function dr(e) {
|
|
|
4565
4565
|
}
|
|
4566
4566
|
return {
|
|
4567
4567
|
c() {
|
|
4568
|
-
t = y("li"), r = y("div"), c && c.c(), n = U(), i = y("p"), a = te(o), s = U(),
|
|
4568
|
+
t = y("li"), r = y("div"), c && c.c(), n = U(), i = y("p"), a = te(o), s = U(), m(r, "class", "HamburgerItemContainer"), m(t, "class", u = /*activeMenuItemId*/
|
|
4569
4569
|
e[5] === /*mainItem*/
|
|
4570
4570
|
e[63].id ? "ActiveItem" : "");
|
|
4571
4571
|
},
|
|
4572
|
-
m(
|
|
4573
|
-
F(
|
|
4572
|
+
m(g, b) {
|
|
4573
|
+
F(g, t, b), v(t, r), c && c.m(r, null), v(r, n), v(r, i), v(i, a), v(t, s), l || (h = re(t, "click", f), l = !0);
|
|
4574
4574
|
},
|
|
4575
|
-
p(
|
|
4575
|
+
p(g, b) {
|
|
4576
4576
|
var w;
|
|
4577
|
-
e =
|
|
4577
|
+
e = g, /*mainItem*/
|
|
4578
4578
|
(w = e[63]) != null && w.img ? c ? c.p(e, b) : (c = fr(e), c.c(), c.m(r, n)) : c && (c.d(1), c = null), b[0] & /*HamburgerMenuItems*/
|
|
4579
4579
|
16 && o !== (o = /*mainItem*/
|
|
4580
|
-
e[63].label + "") &&
|
|
4580
|
+
e[63].label + "") && me(a, o), b[0] & /*activeMenuItemId, HamburgerMenuItems*/
|
|
4581
4581
|
48 && u !== (u = /*activeMenuItemId*/
|
|
4582
4582
|
e[5] === /*mainItem*/
|
|
4583
|
-
e[63].id ? "ActiveItem" : "") &&
|
|
4583
|
+
e[63].id ? "ActiveItem" : "") && m(t, "class", u);
|
|
4584
4584
|
},
|
|
4585
|
-
d(
|
|
4586
|
-
|
|
4585
|
+
d(g) {
|
|
4586
|
+
g && I(t), c && c.d(), l = !1, h();
|
|
4587
4587
|
}
|
|
4588
4588
|
};
|
|
4589
4589
|
}
|
|
4590
|
-
function
|
|
4590
|
+
function dr(e) {
|
|
4591
4591
|
let t, r;
|
|
4592
4592
|
return {
|
|
4593
4593
|
c() {
|
|
4594
4594
|
t = y("img"), ee(t.src, r = /*secondaryItem*/
|
|
4595
|
-
e[60].img) ||
|
|
4595
|
+
e[60].img) || m(t, "src", r), m(t, "alt", "menu icon");
|
|
4596
4596
|
},
|
|
4597
4597
|
m(n, i) {
|
|
4598
4598
|
F(n, t, i);
|
|
@@ -4600,21 +4600,21 @@ function pr(e) {
|
|
|
4600
4600
|
p(n, i) {
|
|
4601
4601
|
i[0] & /*activeMenuItemChildren*/
|
|
4602
4602
|
64 && !ee(t.src, r = /*secondaryItem*/
|
|
4603
|
-
n[60].img) &&
|
|
4603
|
+
n[60].img) && m(t, "src", r);
|
|
4604
4604
|
},
|
|
4605
4605
|
d(n) {
|
|
4606
4606
|
n && I(t);
|
|
4607
4607
|
}
|
|
4608
4608
|
};
|
|
4609
4609
|
}
|
|
4610
|
-
function
|
|
4610
|
+
function mr(e) {
|
|
4611
4611
|
var c;
|
|
4612
4612
|
let t, r, n, i = (
|
|
4613
4613
|
/*secondaryItem*/
|
|
4614
4614
|
e[60].label + ""
|
|
4615
4615
|
), o, a, s, u, l = (
|
|
4616
4616
|
/*secondaryItem*/
|
|
4617
|
-
((c = e[60]) == null ? void 0 : c.img) &&
|
|
4617
|
+
((c = e[60]) == null ? void 0 : c.img) && dr(e)
|
|
4618
4618
|
);
|
|
4619
4619
|
function h(...f) {
|
|
4620
4620
|
return (
|
|
@@ -4630,27 +4630,27 @@ function gr(e) {
|
|
|
4630
4630
|
c() {
|
|
4631
4631
|
t = y("li"), l && l.c(), r = U(), n = y("p"), o = te(i), a = U();
|
|
4632
4632
|
},
|
|
4633
|
-
m(f,
|
|
4634
|
-
F(f, t,
|
|
4633
|
+
m(f, d) {
|
|
4634
|
+
F(f, t, d), l && l.m(t, null), v(t, r), v(t, n), v(n, o), v(t, a), s || (u = re(t, "click", h), s = !0);
|
|
4635
4635
|
},
|
|
4636
|
-
p(f,
|
|
4637
|
-
var
|
|
4636
|
+
p(f, d) {
|
|
4637
|
+
var g;
|
|
4638
4638
|
e = f, /*secondaryItem*/
|
|
4639
|
-
(
|
|
4639
|
+
(g = e[60]) != null && g.img ? l ? l.p(e, d) : (l = dr(e), l.c(), l.m(t, r)) : l && (l.d(1), l = null), d[0] & /*activeMenuItemChildren*/
|
|
4640
4640
|
64 && i !== (i = /*secondaryItem*/
|
|
4641
|
-
e[60].label + "") &&
|
|
4641
|
+
e[60].label + "") && me(o, i);
|
|
4642
4642
|
},
|
|
4643
4643
|
d(f) {
|
|
4644
4644
|
f && I(t), l && l.d(), s = !1, u();
|
|
4645
4645
|
}
|
|
4646
4646
|
};
|
|
4647
4647
|
}
|
|
4648
|
-
function
|
|
4648
|
+
function gr(e) {
|
|
4649
4649
|
let t, r, n = (
|
|
4650
4650
|
/*$_*/
|
|
4651
4651
|
e[15]("language") + ""
|
|
4652
4652
|
), i, o, a, s, u;
|
|
4653
|
-
function l(f,
|
|
4653
|
+
function l(f, d) {
|
|
4654
4654
|
return (
|
|
4655
4655
|
/*countryflaghamburger*/
|
|
4656
4656
|
f[0] !== "true" ? na : ra
|
|
@@ -4659,23 +4659,23 @@ function mr(e) {
|
|
|
4659
4659
|
let h = l(e), c = h(e);
|
|
4660
4660
|
return {
|
|
4661
4661
|
c() {
|
|
4662
|
-
t = y("div"), r = y("span"), i = te(n), o = U(), c.c(),
|
|
4662
|
+
t = y("div"), r = y("span"), i = te(n), o = U(), c.c(), m(r, "class", "LanguageSelectorTitle"), m(t, "class", a = "LanguageSelector " + /*isOptionsListVisible*/
|
|
4663
4663
|
(e[10] ? "Open" : ""));
|
|
4664
4664
|
},
|
|
4665
|
-
m(f,
|
|
4666
|
-
F(f, t,
|
|
4665
|
+
m(f, d) {
|
|
4666
|
+
F(f, t, d), v(t, r), v(r, i), v(t, o), c.m(t, null), s || (u = re(
|
|
4667
4667
|
t,
|
|
4668
4668
|
"click",
|
|
4669
4669
|
/*toggleLanguageDropdown*/
|
|
4670
4670
|
e[21]
|
|
4671
4671
|
), s = !0);
|
|
4672
4672
|
},
|
|
4673
|
-
p(f,
|
|
4674
|
-
|
|
4673
|
+
p(f, d) {
|
|
4674
|
+
d[0] & /*$_*/
|
|
4675
4675
|
32768 && n !== (n = /*$_*/
|
|
4676
|
-
f[15]("language") + "") &&
|
|
4676
|
+
f[15]("language") + "") && me(i, n), h === (h = l(f)) && c ? c.p(f, d) : (c.d(1), c = h(f), c && (c.c(), c.m(t, null))), d[0] & /*isOptionsListVisible*/
|
|
4677
4677
|
1024 && a !== (a = "LanguageSelector " + /*isOptionsListVisible*/
|
|
4678
|
-
(f[10] ? "Open" : "")) &&
|
|
4678
|
+
(f[10] ? "Open" : "")) && m(t, "class", a);
|
|
4679
4679
|
},
|
|
4680
4680
|
d(f) {
|
|
4681
4681
|
f && I(t), c.d(), s = !1, u();
|
|
@@ -4686,21 +4686,21 @@ function ra(e) {
|
|
|
4686
4686
|
let t, r, n, i, o, a, s, u = (
|
|
4687
4687
|
/*selectedLanguage*/
|
|
4688
4688
|
e[14].slice(-2) + ""
|
|
4689
|
-
), l, h, c, f,
|
|
4689
|
+
), l, h, c, f, d, g, b, w = (
|
|
4690
4690
|
/*isOptionsListVisible*/
|
|
4691
4691
|
e[10] && br(e)
|
|
4692
4692
|
);
|
|
4693
4693
|
return {
|
|
4694
4694
|
c() {
|
|
4695
|
-
t = y("div"), r = y("div"), n = y("span"), i = y("img"), a = U(), s = y("span"), l = te(u), h = U(), c = y("span"), f = Nt("svg"),
|
|
4695
|
+
t = y("div"), r = y("div"), n = y("span"), i = y("img"), a = U(), s = y("span"), l = te(u), h = U(), c = y("span"), f = Nt("svg"), d = Nt("path"), b = U(), w && w.c(), ee(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
|
|
4696
4696
|
e[22](
|
|
4697
4697
|
/*selectedLanguage*/
|
|
4698
4698
|
e[14]
|
|
4699
|
-
)}.svg`) ||
|
|
4700
|
-
(e[10] ? "TriangleActive" : "")),
|
|
4699
|
+
)}.svg`) || m(i, "src", o), m(n, "class", "FlagIcon"), m(s, "class", "LanguageName"), m(d, "id", "arrow"), m(d, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), m(d, "transform", "translate(-274.511 -441.088)"), m(d, "fill", "#d1d1d1"), m(f, "xmlns", "http://www.w3.org/2000/svg"), m(f, "width", "14"), m(f, "height", "6.835"), m(f, "viewBox", "0 0 14 6.835"), m(c, "class", g = "TriangleInactive " + /*isOptionsListVisible*/
|
|
4700
|
+
(e[10] ? "TriangleActive" : "")), m(r, "class", "SelectedOption Item ItemLanguage"), m(t, "class", "LanguageDropdown");
|
|
4701
4701
|
},
|
|
4702
4702
|
m(H, L) {
|
|
4703
|
-
F(H, t, L), v(t, r), v(r, n), v(n, i), v(r, a), v(r, s), v(s, l), v(r, h), v(r, c), v(c, f), v(f,
|
|
4703
|
+
F(H, t, L), v(t, r), v(r, n), v(n, i), v(r, a), v(r, s), v(s, l), v(r, h), v(r, c), v(c, f), v(f, d), v(t, b), w && w.m(t, null);
|
|
4704
4704
|
},
|
|
4705
4705
|
p(H, L) {
|
|
4706
4706
|
L[0] & /*selectedLanguage, languagesArray*/
|
|
@@ -4708,11 +4708,11 @@ function ra(e) {
|
|
|
4708
4708
|
H[22](
|
|
4709
4709
|
/*selectedLanguage*/
|
|
4710
4710
|
H[14]
|
|
4711
|
-
)}.svg`) &&
|
|
4711
|
+
)}.svg`) && m(i, "src", o), L[0] & /*selectedLanguage*/
|
|
4712
4712
|
16384 && u !== (u = /*selectedLanguage*/
|
|
4713
|
-
H[14].slice(-2) + "") &&
|
|
4714
|
-
1024 &&
|
|
4715
|
-
(H[10] ? "TriangleActive" : "")) &&
|
|
4713
|
+
H[14].slice(-2) + "") && me(l, u), L[0] & /*isOptionsListVisible*/
|
|
4714
|
+
1024 && g !== (g = "TriangleInactive " + /*isOptionsListVisible*/
|
|
4715
|
+
(H[10] ? "TriangleActive" : "")) && m(c, "class", g), /*isOptionsListVisible*/
|
|
4716
4716
|
H[10] ? w ? w.p(H, L) : (w = br(H), w.c(), w.m(t, null)) : w && (w.d(1), w = null);
|
|
4717
4717
|
},
|
|
4718
4718
|
d(H) {
|
|
@@ -4721,7 +4721,7 @@ function ra(e) {
|
|
|
4721
4721
|
};
|
|
4722
4722
|
}
|
|
4723
4723
|
function na(e) {
|
|
4724
|
-
let t, r, n, i =
|
|
4724
|
+
let t, r, n, i = q(
|
|
4725
4725
|
/*languagesArray*/
|
|
4726
4726
|
e[9]
|
|
4727
4727
|
), o = [];
|
|
@@ -4732,7 +4732,7 @@ function na(e) {
|
|
|
4732
4732
|
t = y("select");
|
|
4733
4733
|
for (let a = 0; a < o.length; a += 1)
|
|
4734
4734
|
o[a].c();
|
|
4735
|
-
|
|
4735
|
+
m(t, "class", "Item ItemLanguage NoFlag"), /*selectedLanguage*/
|
|
4736
4736
|
e[14] === void 0 && Re(() => (
|
|
4737
4737
|
/*select_change_handler*/
|
|
4738
4738
|
e[37].call(t)
|
|
@@ -4765,7 +4765,7 @@ function na(e) {
|
|
|
4765
4765
|
p(a, s) {
|
|
4766
4766
|
if (s[0] & /*languagesArray*/
|
|
4767
4767
|
512) {
|
|
4768
|
-
i =
|
|
4768
|
+
i = q(
|
|
4769
4769
|
/*languagesArray*/
|
|
4770
4770
|
a[9]
|
|
4771
4771
|
);
|
|
@@ -4786,12 +4786,12 @@ function na(e) {
|
|
|
4786
4786
|
);
|
|
4787
4787
|
},
|
|
4788
4788
|
d(a) {
|
|
4789
|
-
a && I(t), Se(o, a), r = !1,
|
|
4789
|
+
a && I(t), Se(o, a), r = !1, de(n);
|
|
4790
4790
|
}
|
|
4791
4791
|
};
|
|
4792
4792
|
}
|
|
4793
4793
|
function br(e) {
|
|
4794
|
-
let t, r, n =
|
|
4794
|
+
let t, r, n = q(
|
|
4795
4795
|
/*languagesArray*/
|
|
4796
4796
|
e[9]
|
|
4797
4797
|
), i = [];
|
|
@@ -4802,7 +4802,7 @@ function br(e) {
|
|
|
4802
4802
|
t = y("div");
|
|
4803
4803
|
for (let o = 0; o < i.length; o += 1)
|
|
4804
4804
|
i[o].c();
|
|
4805
|
-
|
|
4805
|
+
m(t, "class", r = "OptionList " + /*languageListOpen*/
|
|
4806
4806
|
(e[11] ? "Open" : ""));
|
|
4807
4807
|
},
|
|
4808
4808
|
m(o, a) {
|
|
@@ -4813,7 +4813,7 @@ function br(e) {
|
|
|
4813
4813
|
p(o, a) {
|
|
4814
4814
|
if (a[0] & /*languageListOpen, selectLanguage, languagesArray, determineFlag*/
|
|
4815
4815
|
5245440) {
|
|
4816
|
-
n =
|
|
4816
|
+
n = q(
|
|
4817
4817
|
/*languagesArray*/
|
|
4818
4818
|
o[9]
|
|
4819
4819
|
);
|
|
@@ -4828,7 +4828,7 @@ function br(e) {
|
|
|
4828
4828
|
}
|
|
4829
4829
|
a[0] & /*languageListOpen*/
|
|
4830
4830
|
2048 && r !== (r = "OptionList " + /*languageListOpen*/
|
|
4831
|
-
(o[11] ? "Open" : "")) &&
|
|
4831
|
+
(o[11] ? "Open" : "")) && m(t, "class", r);
|
|
4832
4832
|
},
|
|
4833
4833
|
d(o) {
|
|
4834
4834
|
o && I(t), Se(i, o);
|
|
@@ -4840,7 +4840,7 @@ function vr(e) {
|
|
|
4840
4840
|
/*operatorLanguage*/
|
|
4841
4841
|
e[57] + ""
|
|
4842
4842
|
), u, l, h, c, f;
|
|
4843
|
-
function
|
|
4843
|
+
function d() {
|
|
4844
4844
|
return (
|
|
4845
4845
|
/*click_handler_2*/
|
|
4846
4846
|
e[39](
|
|
@@ -4855,26 +4855,26 @@ function vr(e) {
|
|
|
4855
4855
|
e[22](
|
|
4856
4856
|
/*operatorLanguage*/
|
|
4857
4857
|
e[57]
|
|
4858
|
-
)}.svg`) ||
|
|
4858
|
+
)}.svg`) || m(n, "src", i), m(r, "class", "FlagIcon"), m(a, "class", "LanguageName"), m(t, "class", h = "LanguageOption " + /*languageListOpen*/
|
|
4859
4859
|
(e[11] ? "Open" : ""));
|
|
4860
4860
|
},
|
|
4861
|
-
m(
|
|
4862
|
-
F(
|
|
4861
|
+
m(g, b) {
|
|
4862
|
+
F(g, t, b), v(t, r), v(r, n), v(t, o), v(t, a), v(a, u), v(t, l), c || (f = re(t, "click", d), c = !0);
|
|
4863
4863
|
},
|
|
4864
|
-
p(
|
|
4865
|
-
e =
|
|
4864
|
+
p(g, b) {
|
|
4865
|
+
e = g, b[0] & /*languagesArray*/
|
|
4866
4866
|
512 && !ee(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
|
|
4867
4867
|
e[22](
|
|
4868
4868
|
/*operatorLanguage*/
|
|
4869
4869
|
e[57]
|
|
4870
|
-
)}.svg`) &&
|
|
4870
|
+
)}.svg`) && m(n, "src", i), b[0] & /*languagesArray*/
|
|
4871
4871
|
512 && s !== (s = /*operatorLanguage*/
|
|
4872
|
-
e[57] + "") &&
|
|
4872
|
+
e[57] + "") && me(u, s), b[0] & /*languageListOpen*/
|
|
4873
4873
|
2048 && h !== (h = "LanguageOption " + /*languageListOpen*/
|
|
4874
|
-
(e[11] ? "Open" : "")) &&
|
|
4874
|
+
(e[11] ? "Open" : "")) && m(t, "class", h);
|
|
4875
4875
|
},
|
|
4876
|
-
d(
|
|
4877
|
-
|
|
4876
|
+
d(g) {
|
|
4877
|
+
g && I(t), c = !1, f();
|
|
4878
4878
|
}
|
|
4879
4879
|
};
|
|
4880
4880
|
}
|
|
@@ -4894,7 +4894,7 @@ function yr(e) {
|
|
|
4894
4894
|
p(o, a) {
|
|
4895
4895
|
a[0] & /*languagesArray*/
|
|
4896
4896
|
512 && r !== (r = /*lang*/
|
|
4897
|
-
o[1].slice(-2) + "") &&
|
|
4897
|
+
o[1].slice(-2) + "") && me(n, r), a[0] & /*languagesArray*/
|
|
4898
4898
|
512 && i !== (i = /*lang*/
|
|
4899
4899
|
o[1]) && (t.__value = i, Rt(t, t.__value));
|
|
4900
4900
|
},
|
|
@@ -4928,30 +4928,30 @@ function ia(e) {
|
|
|
4928
4928
|
}
|
|
4929
4929
|
function oa(e, t, r) {
|
|
4930
4930
|
let n;
|
|
4931
|
-
_n(e, Wo, (
|
|
4932
|
-
let { menuitemsurl: i = "" } = t, { cmsendpoint: o } = t, { cmsenv: a = "stage" } = t, { userroles: s } = t, { lang: u = "en" } = t, { activecategory: l = "" } = t, { languageslist: h = "" } = t, { translationurl: c = "" } = t, { mbsource: f } = t, { clientstyling:
|
|
4931
|
+
_n(e, Wo, (p) => r(15, n = p));
|
|
4932
|
+
let { menuitemsurl: i = "" } = t, { cmsendpoint: o } = t, { cmsenv: a = "stage" } = t, { userroles: s } = t, { lang: u = "en" } = t, { activecategory: l = "" } = t, { languageslist: h = "" } = t, { translationurl: c = "" } = t, { mbsource: f } = t, { clientstyling: d = "" } = t, { clientstylingurl: g = "" } = t, { customlocaleidentifier: b = "" } = t, { countryflaghamburger: w = "" } = t, H, L = window.navigator.userAgent, P = [], G, C = "", X = [], Z = !1, ie = !1, J = !0, N = [], j = !1, O = !1, B = !1, x = !1, R = !0, S, W = "", Q;
|
|
4933
4933
|
const tn = () => {
|
|
4934
|
-
fetch(c).then((
|
|
4935
|
-
Object.keys(
|
|
4936
|
-
or(A,
|
|
4934
|
+
fetch(c).then((p) => p.json()).then((p) => {
|
|
4935
|
+
Object.keys(p).forEach((A) => {
|
|
4936
|
+
or(A, p[A]);
|
|
4937
4937
|
});
|
|
4938
|
-
}).catch((
|
|
4939
|
-
console.log(
|
|
4938
|
+
}).catch((p) => {
|
|
4939
|
+
console.log(p);
|
|
4940
4940
|
});
|
|
4941
4941
|
};
|
|
4942
|
-
Object.keys(ar).forEach((
|
|
4943
|
-
or(
|
|
4942
|
+
Object.keys(ar).forEach((p) => {
|
|
4943
|
+
or(p, ar[p]);
|
|
4944
4944
|
});
|
|
4945
4945
|
const Xe = () => {
|
|
4946
4946
|
S = new URL(`${o}/${W.toLowerCase()}/hamburger-menu`);
|
|
4947
|
-
let
|
|
4948
|
-
|
|
4947
|
+
let p = Xo(L);
|
|
4948
|
+
p && (p === "PC" ? S.searchParams.append("device", "dk") : S.searchParams.append("device", "mtWeb")), S.searchParams.append("env", a), S.searchParams.append("language", W.toLowerCase()), S.searchParams.append("userRoles", s);
|
|
4949
4949
|
}, Et = () => {
|
|
4950
4950
|
r(12, x = !0), r(13, R = !0), r(10, O = !1), r(11, B = !1), setTimeout(
|
|
4951
4951
|
() => {
|
|
4952
4952
|
r(8, ie = !1), r(7, Z = !1);
|
|
4953
4953
|
},
|
|
4954
|
-
|
|
4954
|
+
200
|
|
4955
4955
|
), window.postMessage(
|
|
4956
4956
|
{
|
|
4957
4957
|
type: "CloseHamburgerMenu",
|
|
@@ -4959,46 +4959,46 @@ function oa(e, t, r) {
|
|
|
4959
4959
|
},
|
|
4960
4960
|
window.location.href
|
|
4961
4961
|
);
|
|
4962
|
-
}, wt = (
|
|
4963
|
-
|
|
4962
|
+
}, wt = (p) => {
|
|
4963
|
+
p.data.type === "OpenHamburgerMenuModal" && (window.postMessage({ type: "DisableScroll" }, window.location.href), r(12, x = !1), setTimeout(
|
|
4964
4964
|
() => {
|
|
4965
4965
|
r(13, R = !1);
|
|
4966
4966
|
},
|
|
4967
4967
|
125
|
|
4968
|
-
), r(8, ie = !0), r(7, Z = !0), Xe(), Ht(S)),
|
|
4969
|
-
}, Oe = (
|
|
4970
|
-
r(5, C =
|
|
4968
|
+
), r(8, ie = !0), r(7, Z = !0), Xe(), Ht(S)), p.data.type === "LanguageChanged" && (j = !0, Xe(), Ht(S));
|
|
4969
|
+
}, Oe = (p, A) => {
|
|
4970
|
+
r(5, C = p), r(6, X = A || []), typeof gtag == "function" && gtag("event", "ChangeMenu", {
|
|
4971
4971
|
context: "HamburgerMenu",
|
|
4972
4972
|
menuItem: `${C}`
|
|
4973
4973
|
});
|
|
4974
4974
|
}, St = () => {
|
|
4975
|
-
let
|
|
4975
|
+
let p = P.filter((A) => {
|
|
4976
4976
|
var Mt;
|
|
4977
4977
|
let oe = !1;
|
|
4978
|
-
return (Mt = A.children) == null || Mt.forEach((
|
|
4979
|
-
|
|
4978
|
+
return (Mt = A.children) == null || Mt.forEach((pn) => {
|
|
4979
|
+
pn.path.includes(l) && (oe = !0);
|
|
4980
4980
|
}), oe;
|
|
4981
4981
|
});
|
|
4982
|
-
|
|
4983
|
-
}, Ht = (
|
|
4984
|
-
G && !j || Tt(
|
|
4985
|
-
}, Tt = (
|
|
4986
|
-
fetch(
|
|
4982
|
+
p.length > 0 ? Oe(p[0].id, p[0].children) : Oe(P[0].id, P[0].children);
|
|
4983
|
+
}, Ht = (p) => {
|
|
4984
|
+
G && !j || Tt(p);
|
|
4985
|
+
}, Tt = (p) => {
|
|
4986
|
+
fetch(p).then((A) => A.json()).then(
|
|
4987
4987
|
(A) => {
|
|
4988
|
-
r(4, P = A.filter((oe) => (oe == null ? void 0 : oe.type) !== "banner")), St(), r(34,
|
|
4988
|
+
r(4, P = A.filter((oe) => (oe == null ? void 0 : oe.type) !== "banner")), St(), r(34, J = !1), G = A, j = !1;
|
|
4989
4989
|
},
|
|
4990
4990
|
(A) => {
|
|
4991
4991
|
console.error(A);
|
|
4992
4992
|
}
|
|
4993
4993
|
);
|
|
4994
4994
|
};
|
|
4995
|
-
let Ot = (
|
|
4995
|
+
let Ot = (p) => {
|
|
4996
4996
|
window.postMessage(
|
|
4997
4997
|
{
|
|
4998
4998
|
type: "NavigateTo",
|
|
4999
|
-
path:
|
|
5000
|
-
externalLink:
|
|
5001
|
-
target:
|
|
4999
|
+
path: p.path,
|
|
5000
|
+
externalLink: p.externalLink || !1,
|
|
5001
|
+
target: p.attrs.target || null
|
|
5002
5002
|
},
|
|
5003
5003
|
window.location.href
|
|
5004
5004
|
), Et();
|
|
@@ -5012,9 +5012,9 @@ function oa(e, t, r) {
|
|
|
5012
5012
|
window.location.href
|
|
5013
5013
|
);
|
|
5014
5014
|
}, rn = () => {
|
|
5015
|
-
|
|
5016
|
-
}, At = (
|
|
5017
|
-
r(14, W =
|
|
5015
|
+
Yo(u), Xe(), j && Tt(S), r(9, N = h.replace(/ /g, "").split(",")), r(9, N = N.map((p) => p.toUpperCase())), r(14, W = u.toUpperCase());
|
|
5016
|
+
}, At = (p) => {
|
|
5017
|
+
r(14, W = p), setTimeout(
|
|
5018
5018
|
() => {
|
|
5019
5019
|
r(11, B = !1);
|
|
5020
5020
|
},
|
|
@@ -5035,44 +5035,44 @@ function oa(e, t, r) {
|
|
|
5035
5035
|
() => {
|
|
5036
5036
|
r(11, B = !0);
|
|
5037
5037
|
},
|
|
5038
|
-
|
|
5038
|
+
300
|
|
5039
5039
|
));
|
|
5040
|
-
}, on = (
|
|
5041
|
-
let A =
|
|
5040
|
+
}, on = (p) => {
|
|
5041
|
+
let A = p ? p.slice(-2) : W.slice(-2);
|
|
5042
5042
|
return b && (A = b.includes(A.toLowerCase()) ? b.slice(-2) : A), A == "EN" ? "GB" : A.toUpperCase();
|
|
5043
5043
|
};
|
|
5044
5044
|
An(() => (window.addEventListener("message", wt, !1), Vo(L), () => {
|
|
5045
5045
|
window.removeEventListener("message", wt);
|
|
5046
5046
|
}));
|
|
5047
|
-
const an = (
|
|
5048
|
-
Ot(
|
|
5047
|
+
const an = (p) => Oe(p.id, p.children), sn = (p, A) => {
|
|
5048
|
+
Ot(p), A.preventDefault();
|
|
5049
5049
|
};
|
|
5050
5050
|
function un() {
|
|
5051
5051
|
W = Hn(this), r(14, W), r(9, N);
|
|
5052
5052
|
}
|
|
5053
|
-
const ln = () => ze(), hn = (
|
|
5054
|
-
function cn(
|
|
5055
|
-
Ne[
|
|
5056
|
-
H =
|
|
5053
|
+
const ln = () => ze(), hn = (p) => At(p);
|
|
5054
|
+
function cn(p) {
|
|
5055
|
+
Ne[p ? "unshift" : "push"](() => {
|
|
5056
|
+
H = p, r(3, H);
|
|
5057
5057
|
});
|
|
5058
5058
|
}
|
|
5059
|
-
function fn(
|
|
5060
|
-
Ne[
|
|
5061
|
-
Q =
|
|
5059
|
+
function fn(p) {
|
|
5060
|
+
Ne[p ? "unshift" : "push"](() => {
|
|
5061
|
+
Q = p, r(2, Q);
|
|
5062
5062
|
});
|
|
5063
5063
|
}
|
|
5064
|
-
return e.$$set = (
|
|
5065
|
-
"menuitemsurl" in
|
|
5064
|
+
return e.$$set = (p) => {
|
|
5065
|
+
"menuitemsurl" in p && r(23, i = p.menuitemsurl), "cmsendpoint" in p && r(24, o = p.cmsendpoint), "cmsenv" in p && r(25, a = p.cmsenv), "userroles" in p && r(26, s = p.userroles), "lang" in p && r(1, u = p.lang), "activecategory" in p && r(27, l = p.activecategory), "languageslist" in p && r(28, h = p.languageslist), "translationurl" in p && r(29, c = p.translationurl), "mbsource" in p && r(30, f = p.mbsource), "clientstyling" in p && r(31, d = p.clientstyling), "clientstylingurl" in p && r(32, g = p.clientstylingurl), "customlocaleidentifier" in p && r(33, b = p.customlocaleidentifier), "countryflaghamburger" in p && r(0, w = p.countryflaghamburger);
|
|
5066
5066
|
}, e.$$.update = () => {
|
|
5067
5067
|
e.$$.dirty[0] & /*cmsendpoint, cmsenv, lang, languageslist*/
|
|
5068
5068
|
318767106 && o && a && u && h && rn(), e.$$.dirty[0] & /*activecategory*/
|
|
5069
5069
|
134217728 | e.$$.dirty[1] & /*isLoading*/
|
|
5070
|
-
8 && l && !
|
|
5070
|
+
8 && l && !J && St(), e.$$.dirty[0] & /*translationurl*/
|
|
5071
5071
|
536870912 && c && tn(), e.$$.dirty[0] & /*customStylingContainer*/
|
|
5072
5072
|
4 | e.$$.dirty[1] & /*clientstyling*/
|
|
5073
|
-
1 &&
|
|
5073
|
+
1 && d && Q && zo(Q, d), e.$$.dirty[0] & /*customStylingContainer*/
|
|
5074
5074
|
4 | e.$$.dirty[1] & /*clientstylingurl*/
|
|
5075
|
-
2 &&
|
|
5075
|
+
2 && g && Q && Zo(Q, g), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5076
5076
|
1073741828 && f && Q && Qo(Q, `${f}.Style`);
|
|
5077
5077
|
}, [
|
|
5078
5078
|
w,
|
|
@@ -5106,10 +5106,10 @@ function oa(e, t, r) {
|
|
|
5106
5106
|
h,
|
|
5107
5107
|
c,
|
|
5108
5108
|
f,
|
|
5109
|
-
|
|
5110
|
-
|
|
5109
|
+
d,
|
|
5110
|
+
g,
|
|
5111
5111
|
b,
|
|
5112
|
-
|
|
5112
|
+
J,
|
|
5113
5113
|
an,
|
|
5114
5114
|
sn,
|
|
5115
5115
|
un,
|
|
@@ -5142,7 +5142,7 @@ class aa extends kn {
|
|
|
5142
5142
|
customlocaleidentifier: 33,
|
|
5143
5143
|
countryflaghamburger: 0
|
|
5144
5144
|
},
|
|
5145
|
-
|
|
5145
|
+
qo,
|
|
5146
5146
|
[-1, -1, -1]
|
|
5147
5147
|
);
|
|
5148
5148
|
}
|