vue-spear-tip 0.5.21 → 0.5.22
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/dist/.vite/manifest.json +37 -37
- package/dist/{Button-BsyAkwI4.cjs → Button-BGHALdZm.cjs} +1 -1
- package/dist/{Button-D7Qnedx4.js → Button-CCvy-cy_.js} +1 -1
- package/dist/{CodeHighlight-CsL_-VPg.cjs → CodeHighlight-C35U05E2.cjs} +1 -1
- package/dist/{CodeHighlight-BR51DfYR.js → CodeHighlight-th8_Yxdg.js} +1 -1
- package/dist/{DateField-DPDpfhfy.js → DateField-2X17prqy.js} +2 -2
- package/dist/{DateField-HT8ugca4.cjs → DateField-CqvX2C4r.cjs} +1 -1
- package/dist/{FieldComponent.vue_vue_type_script_lang-x1KgzKHr.cjs → FieldComponent.vue_vue_type_script_lang-BsagC47A.cjs} +1 -1
- package/dist/{FieldComponent.vue_vue_type_script_lang-BYq38Had.js → FieldComponent.vue_vue_type_script_lang-doAG-SHI.js} +1 -1
- package/dist/{FilesArea-DkQyEtk9.cjs → FilesArea-BJOZroeG.cjs} +1 -1
- package/dist/{FilesArea-CcXoi5UY.js → FilesArea-BwyHkqOV.js} +2 -2
- package/dist/{Scrollbar-Dr76VrNq.js → Scrollbar-BNrJnrNd.js} +1 -1
- package/dist/{Scrollbar-CMit0yAX.cjs → Scrollbar-Nh8PrA7U.cjs} +1 -1
- package/dist/{SelectField-DmBcTq0Y.cjs → SelectField-B12PuiuH.cjs} +2 -2
- package/dist/{SelectField-XBspwBC6.js → SelectField-Dc7OzO0a.js} +11 -11
- package/dist/{StringField-DDG5_e5O.js → StringField-BReWU9a3.js} +2 -2
- package/dist/{StringField-DO9JogeG.cjs → StringField-CFWsCaBO.cjs} +1 -1
- package/dist/{SwitchField-BtwwuiLa.cjs → SwitchField-DEFP2JIL.cjs} +1 -1
- package/dist/{SwitchField-B1fRr692.js → SwitchField-gG22KtSx.js} +2 -2
- package/dist/{Tabs-DFlsXjJD.cjs → Tabs-DA-hMEnD.cjs} +1 -1
- package/dist/{Tabs-DR_tkoGS.js → Tabs-DWHQAU96.js} +1 -1
- package/dist/{TextField-Dl0J6VOU.js → TextField-HMJ9gBFi.js} +2 -2
- package/dist/{TextField-Brbqd4g1.cjs → TextField-xYgH3sbg.cjs} +1 -1
- package/dist/{index-BbcNgwWy.cjs → index-OLIPwsTz.cjs} +2 -2
- package/dist/{index-BfGl0dSS.js → index-SCGYUD41.js} +473 -467
- package/dist/replaceable/FieldComponent.vue +4 -0
- package/dist/vue-spear-tip.cjs.js +1 -1
- package/dist/vue-spear-tip.es.js +1 -1
- package/docs/index.html +1 -1
- package/docs/static/{Button-DGqZ9zCY.js → Button-BChbxctm.js} +1 -1
- package/docs/static/{CodeHighlight-DRj80VIM.js → CodeHighlight-BIr_DhoA.js} +1 -1
- package/docs/static/{DateField-C6opq1eQ.js → DateField-BWQfUdXQ.js} +1 -1
- package/docs/static/{FieldComponent.vue_vue_type_script_lang-DO-YwttE.js → FieldComponent.vue_vue_type_script_lang-BQ3HqhNB.js} +1 -1
- package/docs/static/{FilesArea-CsmriGY9.js → FilesArea-CtfpjC2W.js} +1 -1
- package/docs/static/{NoSymbolIcon-DQdB4x0O.js → NoSymbolIcon-BCd2LQDd.js} +1 -1
- package/docs/static/{Scrollbar-Bu-XpWpS.js → Scrollbar-BsPNzhdW.js} +1 -1
- package/docs/static/{SelectField-BdlLyWlb.js → SelectField-CytEKVed.js} +2 -2
- package/docs/static/{StringField-Cltn4NHE.js → StringField-BWDIGven.js} +1 -1
- package/docs/static/{SwitchField-DSV32Cmi.js → SwitchField-CBp0C5l7.js} +1 -1
- package/docs/static/{Tabs-NGejgxPX.js → Tabs-BRAn2Nwi.js} +1 -1
- package/docs/static/{TextField-DscA-sQf.js → TextField-BPSVsCNm.js} +1 -1
- package/docs/static/index-C0632Xro.js +2 -0
- package/docs/static/{main-DSxgLdL7.js → main-DiGis_dK.js} +8 -8
- package/package.json +1 -1
- package/docs/static/index-C7IOCZuw.js +0 -2
|
@@ -5,9 +5,9 @@ var Ba = (t) => {
|
|
|
5
5
|
var r = (t, e) => $l(t, "name", { value: e, configurable: !0 });
|
|
6
6
|
var oi = (t, e, n) => e.has(t) || Ba("Cannot " + n);
|
|
7
7
|
var it = (t, e, n) => (oi(t, e, "read from private field"), n ? n.call(t) : e.get(t)), dr = (t, e, n) => e.has(t) ? Ba("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, n), pr = (t, e, n, o) => (oi(t, e, "write to private field"), o ? o.call(t, n) : e.set(t, n), n), Tt = (t, e, n) => (oi(t, e, "access private method"), n);
|
|
8
|
-
import { defineComponent as Vl, getCurrentInstance as Fl, reactive as
|
|
8
|
+
import { defineComponent as Vl, getCurrentInstance as Fl, reactive as Mi, isRef as ii, computed as lt, watchEffect as Yl, watchPostEffect as _l, watchSyncEffect as Hl, nextTick as si, watch as eo, toRef as zl, onMounted as Ul, onBeforeUpdate as Zl, onBeforeUnmount as Ll, onErrorCaptured as ql, onRenderTracked as Wl, onRenderTriggered as Gl, onUpdated as Xl, onUnmounted as Kl, onBeforeMount as Jl, ref as fo, defineAsyncComponent as le } from "vue";
|
|
9
9
|
function At(t, e, n, o, i) {
|
|
10
|
-
return
|
|
10
|
+
return Te(e, ((s, c) => {
|
|
11
11
|
const h = s[c];
|
|
12
12
|
if (h === void 0)
|
|
13
13
|
throw new TypeError(Ss(c));
|
|
@@ -15,13 +15,13 @@ function At(t, e, n, o, i) {
|
|
|
15
15
|
})(t, e), n, o, i);
|
|
16
16
|
}
|
|
17
17
|
r(At, "clampProp");
|
|
18
|
-
function
|
|
18
|
+
function Te(t, e, n, o, i, s) {
|
|
19
19
|
const c = Cr(e, n, o);
|
|
20
20
|
if (i && e !== c)
|
|
21
21
|
throw new RangeError(ku(t, e, n, o, s));
|
|
22
22
|
return c;
|
|
23
23
|
}
|
|
24
|
-
r(
|
|
24
|
+
r(Te, "clampEntity");
|
|
25
25
|
function Pt(t) {
|
|
26
26
|
return t !== null && /object|function/.test(typeof t);
|
|
27
27
|
}
|
|
@@ -43,7 +43,7 @@ function Tr(t) {
|
|
|
43
43
|
}
|
|
44
44
|
r(Tr, "r");
|
|
45
45
|
function Nn(t, e) {
|
|
46
|
-
return
|
|
46
|
+
return Ce(((n) => ({
|
|
47
47
|
value: n,
|
|
48
48
|
configurable: 1,
|
|
49
49
|
writable: !e
|
|
@@ -51,13 +51,13 @@ function Nn(t, e) {
|
|
|
51
51
|
}
|
|
52
52
|
r(Nn, "n");
|
|
53
53
|
function Ql(t) {
|
|
54
|
-
return
|
|
54
|
+
return Ce(((e) => ({
|
|
55
55
|
get: e,
|
|
56
56
|
configurable: 1
|
|
57
57
|
})), t);
|
|
58
58
|
}
|
|
59
59
|
r(Ql, "t");
|
|
60
|
-
function
|
|
60
|
+
function xi(t) {
|
|
61
61
|
return {
|
|
62
62
|
[Symbol.toStringTag]: {
|
|
63
63
|
value: t,
|
|
@@ -65,7 +65,7 @@ function Mi(t) {
|
|
|
65
65
|
}
|
|
66
66
|
};
|
|
67
67
|
}
|
|
68
|
-
r(
|
|
68
|
+
r(xi, "o");
|
|
69
69
|
function Fn(t, e) {
|
|
70
70
|
const n = {};
|
|
71
71
|
let o = t.length;
|
|
@@ -74,13 +74,13 @@ function Fn(t, e) {
|
|
|
74
74
|
return n;
|
|
75
75
|
}
|
|
76
76
|
r(Fn, "zipProps");
|
|
77
|
-
function
|
|
77
|
+
function Ce(t, e, n) {
|
|
78
78
|
const o = {};
|
|
79
79
|
for (const i in e)
|
|
80
80
|
o[i] = t(e[i], i, n);
|
|
81
81
|
return o;
|
|
82
82
|
}
|
|
83
|
-
r(
|
|
83
|
+
r(Ce, "e");
|
|
84
84
|
function Bo(t, e, n) {
|
|
85
85
|
const o = {};
|
|
86
86
|
for (let i = 0; i < e.length; i++) {
|
|
@@ -135,10 +135,10 @@ function Oa(t) {
|
|
|
135
135
|
return t[0].toUpperCase() + t.substring(1);
|
|
136
136
|
}
|
|
137
137
|
r(Oa, "capitalize");
|
|
138
|
-
function
|
|
138
|
+
function xr(t) {
|
|
139
139
|
return t.slice().sort();
|
|
140
140
|
}
|
|
141
|
-
r(
|
|
141
|
+
r(xr, "sortStrings");
|
|
142
142
|
function ho(t, e) {
|
|
143
143
|
return String(e).padStart(t, "0");
|
|
144
144
|
}
|
|
@@ -151,10 +151,10 @@ function Cr(t, e, n) {
|
|
|
151
151
|
return Math.min(Math.max(t, e), n);
|
|
152
152
|
}
|
|
153
153
|
r(Cr, "clampNumber");
|
|
154
|
-
function
|
|
154
|
+
function we(t, e) {
|
|
155
155
|
return [Math.floor(t / e), br(t, e)];
|
|
156
156
|
}
|
|
157
|
-
r(
|
|
157
|
+
r(we, "divModFloor");
|
|
158
158
|
function br(t, e) {
|
|
159
159
|
return (t % e + e) % e;
|
|
160
160
|
}
|
|
@@ -201,7 +201,7 @@ function tf(t) {
|
|
|
201
201
|
r(tf, "d");
|
|
202
202
|
function ef(t) {
|
|
203
203
|
if (t !== void 0)
|
|
204
|
-
return
|
|
204
|
+
return ve(t);
|
|
205
205
|
}
|
|
206
206
|
r(ef, "P");
|
|
207
207
|
function mc(t) {
|
|
@@ -209,10 +209,10 @@ function mc(t) {
|
|
|
209
209
|
return Ai(t);
|
|
210
210
|
}
|
|
211
211
|
r(mc, "S");
|
|
212
|
-
function
|
|
212
|
+
function ve(t) {
|
|
213
213
|
return wc(Ai(t));
|
|
214
214
|
}
|
|
215
|
-
r(
|
|
215
|
+
r(ve, "h");
|
|
216
216
|
function Ai(t) {
|
|
217
217
|
return vc(hd(t));
|
|
218
218
|
}
|
|
@@ -281,10 +281,10 @@ function ji(t, e) {
|
|
|
281
281
|
return vc(bc(t, e), e);
|
|
282
282
|
}
|
|
283
283
|
r(ji, "toStrictInteger");
|
|
284
|
-
function
|
|
284
|
+
function Ma(t, e) {
|
|
285
285
|
return wc(kt(t, e), e);
|
|
286
286
|
}
|
|
287
|
-
r(
|
|
287
|
+
r(Ma, "toPositiveInteger");
|
|
288
288
|
function $i(t, e) {
|
|
289
289
|
let [n, o] = _e(e, X), i = t + n;
|
|
290
290
|
const s = Math.sign(i);
|
|
@@ -295,10 +295,10 @@ function jn(t, e, n = 1) {
|
|
|
295
295
|
return $i(t[0] + e[0] * n, t[1] + e[1] * n);
|
|
296
296
|
}
|
|
297
297
|
r(jn, "addBigNanos");
|
|
298
|
-
function
|
|
298
|
+
function dn(t, e) {
|
|
299
299
|
return $i(t[0], t[1] + e);
|
|
300
300
|
}
|
|
301
|
-
r(
|
|
301
|
+
r(dn, "moveBigNano");
|
|
302
302
|
function se(t, e) {
|
|
303
303
|
return jn(e, t, -1);
|
|
304
304
|
}
|
|
@@ -326,7 +326,7 @@ function ae(t, e = 1, n) {
|
|
|
326
326
|
return o * (X / e) + (s + (n ? c / e : 0));
|
|
327
327
|
}
|
|
328
328
|
r(ae, "bigNanoToNumber");
|
|
329
|
-
function Fi(t, e, n =
|
|
329
|
+
function Fi(t, e, n = we) {
|
|
330
330
|
const [o, i] = t, [s, c] = n(i, e);
|
|
331
331
|
return [o * (X / e) + s, c];
|
|
332
332
|
}
|
|
@@ -345,32 +345,32 @@ function Lt(t) {
|
|
|
345
345
|
r(Lt, "checkIsoDateInBounds");
|
|
346
346
|
function Nt(t) {
|
|
347
347
|
const e = At(t, "isoYear", Or, Pr, 1), n = e === Or ? 1 : e === Pr ? -1 : 0;
|
|
348
|
-
return n &&
|
|
348
|
+
return n && fe(pt({
|
|
349
349
|
...t,
|
|
350
350
|
isoDay: t.isoDay + n,
|
|
351
351
|
isoNanosecond: t.isoNanosecond - n
|
|
352
352
|
})), t;
|
|
353
353
|
}
|
|
354
354
|
r(Nt, "checkIsoDateTimeInBounds");
|
|
355
|
-
function
|
|
355
|
+
function fe(t) {
|
|
356
356
|
if (!t || yc(t, bd, wd))
|
|
357
357
|
throw new RangeError(Je);
|
|
358
358
|
return t;
|
|
359
359
|
}
|
|
360
|
-
r(
|
|
360
|
+
r(fe, "checkEpochNanoInBounds");
|
|
361
361
|
function He(t) {
|
|
362
362
|
return pc(t, 5, Kt)[1];
|
|
363
363
|
}
|
|
364
364
|
r(He, "isoTimeFieldsToNano");
|
|
365
|
-
function
|
|
366
|
-
const [e, n] =
|
|
365
|
+
function Mo(t) {
|
|
366
|
+
const [e, n] = we(t, X);
|
|
367
367
|
return [Oo(n, 5, Kt), e];
|
|
368
368
|
}
|
|
369
|
-
r(
|
|
370
|
-
function
|
|
369
|
+
r(Mo, "nanoToIsoTimeAndDay");
|
|
370
|
+
function xa(t) {
|
|
371
371
|
return Fi(t, ie);
|
|
372
372
|
}
|
|
373
|
-
r(
|
|
373
|
+
r(xa, "epochNanoToSecMod");
|
|
374
374
|
function Et(t) {
|
|
375
375
|
return Yn(t.isoYear, t.isoMonth, t.isoDay, t.isoHour, t.isoMinute, t.isoSecond, t.isoMillisecond);
|
|
376
376
|
}
|
|
@@ -384,8 +384,8 @@ function pt(t) {
|
|
|
384
384
|
}
|
|
385
385
|
r(pt, "isoToEpochNano");
|
|
386
386
|
function _i(t, e) {
|
|
387
|
-
const [n, o] =
|
|
388
|
-
return
|
|
387
|
+
const [n, o] = Mo(He(t) - e);
|
|
388
|
+
return fe(pt({
|
|
389
389
|
...t,
|
|
390
390
|
isoDay: t.isoDay + o,
|
|
391
391
|
...n
|
|
@@ -408,17 +408,17 @@ function Tc(t, e = 1, n = 1, o = 0, i = 0, s = 0, c = 0) {
|
|
|
408
408
|
}
|
|
409
409
|
r(Tc, "isoToLegacyDate");
|
|
410
410
|
function _n(t, e) {
|
|
411
|
-
let [n, o] =
|
|
411
|
+
let [n, o] = dn(t, e);
|
|
412
412
|
o < 0 && (o += X, n -= 1);
|
|
413
|
-
const [i, s] =
|
|
414
|
-
return
|
|
413
|
+
const [i, s] = we(o, Ee), [c, h] = we(s, Vr);
|
|
414
|
+
return xo(n * Rt + i, c, h);
|
|
415
415
|
}
|
|
416
416
|
r(_n, "epochNanoToIso");
|
|
417
|
-
function
|
|
417
|
+
function xo(t, e = 0, n = 0) {
|
|
418
418
|
const o = Math.ceil(Math.max(0, Math.abs(t) - Ns) / Rt) * Math.sign(t), i = new Date(t - o * Rt);
|
|
419
419
|
return Fn(Ko, [i.getUTCFullYear(), i.getUTCMonth() + 1, i.getUTCDate() + o, i.getUTCHours(), i.getUTCMinutes(), i.getUTCSeconds(), i.getUTCMilliseconds(), e, n]);
|
|
420
420
|
}
|
|
421
|
-
r(
|
|
421
|
+
r(xo, "epochMilliToIso");
|
|
422
422
|
function Hi(t, e) {
|
|
423
423
|
if (e < -Ns)
|
|
424
424
|
throw new RangeError(Je);
|
|
@@ -481,13 +481,13 @@ function nf(t) {
|
|
|
481
481
|
}
|
|
482
482
|
r(nf, "computeJapaneseEraParts");
|
|
483
483
|
function Do(t) {
|
|
484
|
-
return
|
|
484
|
+
return gn(t), Hn(t, 1), t;
|
|
485
485
|
}
|
|
486
486
|
r(Do, "checkIsoDateTimeFields");
|
|
487
|
-
function
|
|
487
|
+
function gn(t) {
|
|
488
488
|
return Oc(t, 1), t;
|
|
489
489
|
}
|
|
490
|
-
r(
|
|
490
|
+
r(gn, "checkIsoDateFields");
|
|
491
491
|
function Da(t) {
|
|
492
492
|
return hc(As, t, Oc(t));
|
|
493
493
|
}
|
|
@@ -510,13 +510,13 @@ function q(t) {
|
|
|
510
510
|
}
|
|
511
511
|
r(q, "mt");
|
|
512
512
|
function Ao(t, e = 0) {
|
|
513
|
-
t =
|
|
513
|
+
t = he(t);
|
|
514
514
|
const n = Gu(t), o = Ad(t, e);
|
|
515
515
|
return [Wu(t), o, n];
|
|
516
516
|
}
|
|
517
517
|
r(Ao, "je");
|
|
518
518
|
function zn(t, e, n, o = 9, i = 0, s = 4) {
|
|
519
|
-
e =
|
|
519
|
+
e = he(e);
|
|
520
520
|
let c = qu(e, o, i), h = qi(e), f = _r(e, s);
|
|
521
521
|
const d = Yr(e, o, i, 1);
|
|
522
522
|
return c == null ? c = Math.max(n, d) : Ac(c, d), h = Wi(h, d, 1), t && (f = ((w) => w < 4 ? (w + 2) % 4 : w)(f)), [c, d, h, f];
|
|
@@ -530,15 +530,15 @@ function Io(t, e = 6, n) {
|
|
|
530
530
|
}
|
|
531
531
|
r(Io, "refineRoundingOptions");
|
|
532
532
|
function Zi(t) {
|
|
533
|
-
return js(
|
|
533
|
+
return js(he(t));
|
|
534
534
|
}
|
|
535
535
|
r(Zi, "refineDateDisplayOptions");
|
|
536
|
-
function
|
|
537
|
-
return Li(
|
|
536
|
+
function Mc(t, e) {
|
|
537
|
+
return Li(he(t), e);
|
|
538
538
|
}
|
|
539
|
-
r(
|
|
539
|
+
r(Mc, "refineTimeDisplayOptions");
|
|
540
540
|
function rf(t) {
|
|
541
|
-
const e = Ro(t, pi), n = Le(pi,
|
|
541
|
+
const e = Ro(t, pi), n = Le(pi, xd, e, 0);
|
|
542
542
|
if (!n)
|
|
543
543
|
throw new RangeError(Ke(pi, n));
|
|
544
544
|
return n;
|
|
@@ -546,13 +546,13 @@ function rf(t) {
|
|
|
546
546
|
r(rf, "Me");
|
|
547
547
|
function Li(t, e = 4) {
|
|
548
548
|
const n = Dc(t);
|
|
549
|
-
return [_r(t, 4), ...
|
|
549
|
+
return [_r(t, 4), ...xc(Yr(t, e), n)];
|
|
550
550
|
}
|
|
551
551
|
r(Li, "refineTimeDisplayTuple");
|
|
552
|
-
function
|
|
552
|
+
function xc(t, e) {
|
|
553
553
|
return t != null ? [ce[t], t < 4 ? 9 - 3 * t : -1] : [e === void 0 ? 1 : 10 ** (9 - e), e];
|
|
554
554
|
}
|
|
555
|
-
r(
|
|
555
|
+
r(xc, "refineSmallestUnitAndSubsecDigits");
|
|
556
556
|
function qi(t) {
|
|
557
557
|
const e = t[yr];
|
|
558
558
|
return e === void 0 ? 1 : kt(e, yr);
|
|
@@ -562,10 +562,10 @@ function Wi(t, e, n, o) {
|
|
|
562
562
|
const i = o ? X : ce[e + 1];
|
|
563
563
|
if (i) {
|
|
564
564
|
const s = ce[e];
|
|
565
|
-
if (i % ((t =
|
|
565
|
+
if (i % ((t = Te(yr, t, 1, i / s - (o ? 0 : 1), 1)) * s))
|
|
566
566
|
throw new RangeError(Ke(yr, t));
|
|
567
567
|
} else
|
|
568
|
-
t =
|
|
568
|
+
t = Te(yr, t, 1, n ? 10 ** 9 : 1, 1);
|
|
569
569
|
return t;
|
|
570
570
|
}
|
|
571
571
|
r(Wi, "refineRoundingInc");
|
|
@@ -577,15 +577,15 @@ function Dc(t) {
|
|
|
577
577
|
return;
|
|
578
578
|
throw new RangeError(Ke(di, e));
|
|
579
579
|
}
|
|
580
|
-
e =
|
|
580
|
+
e = Te(di, Math.floor(e), 0, 9, 1);
|
|
581
581
|
}
|
|
582
582
|
return e;
|
|
583
583
|
}
|
|
584
584
|
r(Dc, "refineSubsecDigits");
|
|
585
|
-
function
|
|
585
|
+
function he(t) {
|
|
586
586
|
return t === void 0 ? {} : Dr(t);
|
|
587
587
|
}
|
|
588
|
-
r(
|
|
588
|
+
r(he, "normalizeOptions");
|
|
589
589
|
function Ro(t, e) {
|
|
590
590
|
return typeof t == "string" ? {
|
|
591
591
|
[e]: t
|
|
@@ -607,7 +607,7 @@ function Gi(t, e, n = 9, o = 0, i) {
|
|
|
607
607
|
let c = wi[s];
|
|
608
608
|
if (c === void 0 && (c = md[s]), c === void 0)
|
|
609
609
|
throw new RangeError(Bu(t, s, wi));
|
|
610
|
-
return
|
|
610
|
+
return Te(t, c, o, n, 1, ks), c;
|
|
611
611
|
}
|
|
612
612
|
r(Gi, "refineUnitOption");
|
|
613
613
|
function Le(t, e, n, o = 0) {
|
|
@@ -673,18 +673,18 @@ function go(t, e = t.calendar) {
|
|
|
673
673
|
};
|
|
674
674
|
}
|
|
675
675
|
r(go, "createPlainMonthDaySlots");
|
|
676
|
-
function
|
|
676
|
+
function de(t) {
|
|
677
677
|
return {
|
|
678
678
|
branding: Fs,
|
|
679
679
|
...Wt(zu, t)
|
|
680
680
|
};
|
|
681
681
|
}
|
|
682
|
-
r(
|
|
682
|
+
r(de, "St");
|
|
683
683
|
function ht(t) {
|
|
684
684
|
return {
|
|
685
685
|
branding: _s,
|
|
686
686
|
sign: qe(t),
|
|
687
|
-
...Wt(
|
|
687
|
+
...Wt(Ms, t)
|
|
688
688
|
};
|
|
689
689
|
}
|
|
690
690
|
r(ht, "Oe");
|
|
@@ -704,9 +704,9 @@ function Ic(t) {
|
|
|
704
704
|
}
|
|
705
705
|
r(Ic, "extractEpochNano");
|
|
706
706
|
function sf(t, e, n, o, i) {
|
|
707
|
-
const s =
|
|
708
|
-
const k = D((
|
|
709
|
-
let b = Dd(
|
|
707
|
+
const s = pn(o), [c, h] = ((M, D) => {
|
|
708
|
+
const k = D((M = Ro(M, Ti))[Zu]);
|
|
709
|
+
let b = Dd(M);
|
|
710
710
|
return b = gc(Ti, b), [b, k];
|
|
711
711
|
})(i, t), f = Math.max(c, s);
|
|
712
712
|
if (!h && Er(f, h))
|
|
@@ -718,9 +718,9 @@ function sf(t, e, n, o, i) {
|
|
|
718
718
|
const [d, w, y] = Yo(e, n, h), l = is(y), v = _o(y), p = ss(y), g = v(w, d, o);
|
|
719
719
|
$n(h) || (Nt(d), Nt(g));
|
|
720
720
|
const T = p(w, d, g, c);
|
|
721
|
-
return Er(c, h) ? Aa(T, c) : ((
|
|
722
|
-
const W = qe(
|
|
723
|
-
return
|
|
721
|
+
return Er(c, h) ? Aa(T, c) : ((M, D, k, b, B, x, A) => {
|
|
722
|
+
const W = qe(M), [U, $t] = Ki(b, Ds(k, M), k, W, B, x, A), xt = Ji(D, U, $t);
|
|
723
|
+
return M[G[k]] + xt * W;
|
|
724
724
|
})(T, l(g), c, w, d, l, v);
|
|
725
725
|
}
|
|
726
726
|
r(sf, "J");
|
|
@@ -756,10 +756,10 @@ function cf(t, e, n) {
|
|
|
756
756
|
const d = t(i);
|
|
757
757
|
if (c === 6)
|
|
758
758
|
o = ((w, y, l, v) => {
|
|
759
|
-
const p = zt(l, y), [g, T] = w(p),
|
|
760
|
-
if (yc(
|
|
759
|
+
const p = zt(l, y), [g, T] = w(p), M = l.epochNanoseconds, D = Ue(y, g), k = Ue(y, T);
|
|
760
|
+
if (yc(M, D, k))
|
|
761
761
|
throw new RangeError(Wn);
|
|
762
|
-
return Vc(Ji(
|
|
762
|
+
return Vc(Ji(M, D, k), v) ? k : D;
|
|
763
763
|
})(jc, d, e, f);
|
|
764
764
|
else {
|
|
765
765
|
const w = d.R(o);
|
|
@@ -775,7 +775,7 @@ r(uf, "vt");
|
|
|
775
775
|
function lf(t, e) {
|
|
776
776
|
const [n, o, i] = Io(e, 5);
|
|
777
777
|
var s;
|
|
778
|
-
return
|
|
778
|
+
return de((s = i, Qi(t, Ar(n, o), s)[0]));
|
|
779
779
|
}
|
|
780
780
|
r(lf, "lt");
|
|
781
781
|
function ff(t, e) {
|
|
@@ -797,13 +797,13 @@ r(Rc, "roundDateTime");
|
|
|
797
797
|
function Nc(t, e, n) {
|
|
798
798
|
const [o, i] = Qi(t, e, n);
|
|
799
799
|
return Nt({
|
|
800
|
-
...
|
|
800
|
+
...vn(t, i),
|
|
801
801
|
...o
|
|
802
802
|
});
|
|
803
803
|
}
|
|
804
804
|
r(Nc, "roundDateTimeToNano");
|
|
805
805
|
function Qi(t, e, n) {
|
|
806
|
-
return
|
|
806
|
+
return Mo(ze(He(t), e, n));
|
|
807
807
|
}
|
|
808
808
|
r(Qi, "roundTimeToNano");
|
|
809
809
|
function vo(t) {
|
|
@@ -816,7 +816,7 @@ function Ar(t, e) {
|
|
|
816
816
|
r(Ar, "computeNanoInc");
|
|
817
817
|
function jc(t) {
|
|
818
818
|
const e = $c(t);
|
|
819
|
-
return [e,
|
|
819
|
+
return [e, vn(e, 1)];
|
|
820
820
|
}
|
|
821
821
|
r(jc, "computeDayInterval");
|
|
822
822
|
function $c(t) {
|
|
@@ -824,7 +824,7 @@ function $c(t) {
|
|
|
824
824
|
}
|
|
825
825
|
r($c, "computeDayFloor");
|
|
826
826
|
function df(t, e, n) {
|
|
827
|
-
const o = Math.min(
|
|
827
|
+
const o = Math.min(pn(t), 6);
|
|
828
828
|
return Zn(Vo(mt(t, o), e, n), o);
|
|
829
829
|
}
|
|
830
830
|
r(df, "roundDayTimeDurationByInc");
|
|
@@ -833,15 +833,15 @@ function jo(t, e, n, o, i, s, c, h, f, d) {
|
|
|
833
833
|
return t;
|
|
834
834
|
const w = Er(o, h) ? $n(h) && o < 6 && n >= 6 ? mf : pf : gf;
|
|
835
835
|
let [y, l, v] = w(t, e, n, o, i, s, c, h, f, d);
|
|
836
|
-
return v && o !== 7 && (y = ((p, g, T,
|
|
837
|
-
const
|
|
838
|
-
for (let A =
|
|
836
|
+
return v && o !== 7 && (y = ((p, g, T, M, D, k, b, B) => {
|
|
837
|
+
const x = qe(p);
|
|
838
|
+
for (let A = M + 1; A <= T; A++) {
|
|
839
839
|
if (A === 7 && T !== 7)
|
|
840
840
|
continue;
|
|
841
841
|
const W = Ds(A, p);
|
|
842
|
-
W[G[A]] +=
|
|
842
|
+
W[G[A]] += x;
|
|
843
843
|
const U = ae(se(b(B(D, k, W)), g));
|
|
844
|
-
if (U && Math.sign(U) !==
|
|
844
|
+
if (U && Math.sign(U) !== x)
|
|
845
845
|
break;
|
|
846
846
|
p = W;
|
|
847
847
|
}
|
|
@@ -860,7 +860,7 @@ r($o, "roundBigNano");
|
|
|
860
860
|
function Vo(t, e, n, o) {
|
|
861
861
|
let [i, s] = t;
|
|
862
862
|
o && s < 0 && (s += X, i -= 1);
|
|
863
|
-
const [c, h] =
|
|
863
|
+
const [c, h] = we(ze(s, e, n), X);
|
|
864
864
|
return $i(i + c, h);
|
|
865
865
|
}
|
|
866
866
|
r(Vo, "roundBigNanoByInc");
|
|
@@ -885,16 +885,16 @@ function mf(t, e, n, o, i, s, c, h, f, d) {
|
|
|
885
885
|
let v = ze(y, l, s);
|
|
886
886
|
const [p, g] = Ki(c, {
|
|
887
887
|
...t,
|
|
888
|
-
...
|
|
888
|
+
...xs
|
|
889
889
|
}, 6, w, h, f, d), T = v - ae(se(p, g));
|
|
890
|
-
let
|
|
891
|
-
T && Math.sign(T) !== w ? e =
|
|
890
|
+
let M = 0;
|
|
891
|
+
T && Math.sign(T) !== w ? e = dn(p, v) : (M += w, v = ze(T, l, s), e = dn(g, v));
|
|
892
892
|
const D = Ho(v);
|
|
893
893
|
return [{
|
|
894
894
|
...t,
|
|
895
895
|
...D,
|
|
896
|
-
days: t.days +
|
|
897
|
-
}, e, !!
|
|
896
|
+
days: t.days + M
|
|
897
|
+
}, e, !!M];
|
|
898
898
|
}
|
|
899
899
|
r(mf, "nudgeZonedTimeDuration");
|
|
900
900
|
function gf(t, e, n, o, i, s, c, h, f, d) {
|
|
@@ -905,37 +905,37 @@ function gf(t, e, n, o, i, s, c, h, f, d) {
|
|
|
905
905
|
});
|
|
906
906
|
const v = Po(t[y], i) * i;
|
|
907
907
|
l[y] = v;
|
|
908
|
-
const [p, g] = Ki(c, l, o, i * w, h, f, d), T = v + Ji(e, p, g) * w * i,
|
|
909
|
-
return l[y] =
|
|
908
|
+
const [p, g] = Ki(c, l, o, i * w, h, f, d), T = v + Ji(e, p, g) * w * i, M = ze(T, i, s), D = Math.sign(M - T) === w;
|
|
909
|
+
return l[y] = M, [l, D ? g : p, D];
|
|
910
910
|
}
|
|
911
911
|
r(gf, "nudgeRelativeDuration");
|
|
912
912
|
function Ia(t, e, n, o) {
|
|
913
913
|
const [i, s, c, h] = ((d) => {
|
|
914
|
-
const w = Li(d =
|
|
914
|
+
const w = Li(d = he(d));
|
|
915
915
|
return [d.timeZone, ...w];
|
|
916
916
|
})(o), f = i !== void 0;
|
|
917
917
|
return ((d, w, y, l, v, p) => {
|
|
918
918
|
y = Vo(y, v, l, 1);
|
|
919
919
|
const g = w.R(y);
|
|
920
920
|
return ts(_n(y, g), p) + (d ? Ir(vo(g)) : "Z");
|
|
921
|
-
})(f, e(f ? t(i) :
|
|
921
|
+
})(f, e(f ? t(i) : Tn), n.epochNanoseconds, s, c, h);
|
|
922
922
|
}
|
|
923
923
|
r(Ia, "ke");
|
|
924
924
|
function Ra(t, e, n) {
|
|
925
925
|
const [o, i, s, c, h, f] = ((d) => {
|
|
926
|
-
d =
|
|
926
|
+
d = he(d);
|
|
927
927
|
const w = js(d), y = Dc(d), l = Rd(d), v = _r(d, 4), p = Yr(d, 4);
|
|
928
|
-
return [w, Id(d), l, v, ...
|
|
928
|
+
return [w, Id(d), l, v, ...xc(p, y)];
|
|
929
929
|
})(n);
|
|
930
|
-
return ((d, w, y, l, v, p, g, T,
|
|
931
|
-
l = Vo(l,
|
|
930
|
+
return ((d, w, y, l, v, p, g, T, M, D) => {
|
|
931
|
+
l = Vo(l, M, T, 1);
|
|
932
932
|
const k = d(y).R(l);
|
|
933
933
|
return ts(_n(l, k), D) + Ir(vo(k), g) + ((b, B) => B !== 1 ? "[" + (B === 2 ? "!" : "") + b + "]" : "")(y, p) + es(w, v);
|
|
934
934
|
})(t, e.calendar, e.timeZone, e.epochNanoseconds, o, i, s, c, h, f);
|
|
935
935
|
}
|
|
936
936
|
r(Ra, "Fe");
|
|
937
937
|
function Na(t, e) {
|
|
938
|
-
const [n, o, i, s] = ((d) => (d =
|
|
938
|
+
const [n, o, i, s] = ((d) => (d = he(d), [js(d), ...Li(d)]))(e);
|
|
939
939
|
return c = t.calendar, h = n, f = s, ts(Nc(t, i, o), f) + es(c, h);
|
|
940
940
|
var c, h, f;
|
|
941
941
|
}
|
|
@@ -954,14 +954,14 @@ function Va(t, e) {
|
|
|
954
954
|
}
|
|
955
955
|
r(Va, "Jt");
|
|
956
956
|
function Fa(t, e) {
|
|
957
|
-
const [n, o, i] =
|
|
957
|
+
const [n, o, i] = Mc(e);
|
|
958
958
|
return s = i, _c(Qi(t, o, n)[0], s);
|
|
959
959
|
var s;
|
|
960
960
|
}
|
|
961
961
|
r(Fa, "ct");
|
|
962
962
|
function ai(t, e) {
|
|
963
|
-
const [n, o, i] =
|
|
964
|
-
return o > 1 &&
|
|
963
|
+
const [n, o, i] = Mc(e, 3);
|
|
964
|
+
return o > 1 && wn(t = {
|
|
965
965
|
...t,
|
|
966
966
|
...df(t, o, n)
|
|
967
967
|
}), ((s, c) => {
|
|
@@ -969,14 +969,14 @@ function ai(t, e) {
|
|
|
969
969
|
Zc(y);
|
|
970
970
|
const v = ns(l, c), p = c >= 0 || !h || v;
|
|
971
971
|
return (h < 0 ? "-" : "") + "P" + Ya({
|
|
972
|
-
Y:
|
|
973
|
-
M:
|
|
974
|
-
W:
|
|
975
|
-
D:
|
|
972
|
+
Y: hn(f.years),
|
|
973
|
+
M: hn(f.months),
|
|
974
|
+
W: hn(f.weeks),
|
|
975
|
+
D: hn(f.days)
|
|
976
976
|
}) + (d || w || y || p ? "T" + Ya({
|
|
977
|
-
H:
|
|
978
|
-
M:
|
|
979
|
-
S:
|
|
977
|
+
H: hn(d),
|
|
978
|
+
M: hn(w),
|
|
979
|
+
S: hn(y, p) + v
|
|
980
980
|
}) : "");
|
|
981
981
|
})(t, i);
|
|
982
982
|
}
|
|
@@ -1020,7 +1020,7 @@ r(_c, "formatIsoTimeFields");
|
|
|
1020
1020
|
function Ir(t, e = 0) {
|
|
1021
1021
|
if (e === 1)
|
|
1022
1022
|
return "";
|
|
1023
|
-
const [n, o] =
|
|
1023
|
+
const [n, o] = we(Math.abs(t), Xo), [i, s] = we(o, Go), [c, h] = we(s, ie);
|
|
1024
1024
|
return zc(t) + qt(n) + ":" + qt(i) + (c || h ? ":" + qt(c) + ns(h) : "");
|
|
1025
1025
|
}
|
|
1026
1026
|
r(Ir, "Se");
|
|
@@ -1041,12 +1041,12 @@ function zc(t) {
|
|
|
1041
1041
|
return t < 0 ? "-" : "+";
|
|
1042
1042
|
}
|
|
1043
1043
|
r(zc, "getSignStr");
|
|
1044
|
-
function
|
|
1044
|
+
function hn(t, e) {
|
|
1045
1045
|
return t || e ? t.toLocaleString("fullwide", {
|
|
1046
1046
|
useGrouping: 0
|
|
1047
1047
|
}) : "";
|
|
1048
1048
|
}
|
|
1049
|
-
r(
|
|
1049
|
+
r(hn, "formatDurationNumber");
|
|
1050
1050
|
function wf(t, e) {
|
|
1051
1051
|
const { epochNanoseconds: n } = t, o = (e.R ? e : e(t.timeZone)).R(n), i = _n(n, o);
|
|
1052
1052
|
return {
|
|
@@ -1086,12 +1086,12 @@ function Rr(t, e, n = 0, o = t.I(e)) {
|
|
|
1086
1086
|
if (o.length)
|
|
1087
1087
|
return o[n === 3 ? 1 : 0];
|
|
1088
1088
|
const i = pt(e), s = ((h, f) => {
|
|
1089
|
-
const d = h.R(
|
|
1089
|
+
const d = h.R(dn(f, -X));
|
|
1090
1090
|
return ((w) => {
|
|
1091
1091
|
if (w > X)
|
|
1092
1092
|
throw new RangeError(Kh);
|
|
1093
1093
|
return w;
|
|
1094
|
-
})(h.R(
|
|
1094
|
+
})(h.R(dn(f, X)) - d);
|
|
1095
1095
|
})(t, i), c = s * (n === 2 ? -1 : 1);
|
|
1096
1096
|
return (o = t.I(_n(i, c)))[n === 2 ? 0 : o.length - 1];
|
|
1097
1097
|
}
|
|
@@ -1100,12 +1100,12 @@ function Ue(t, e) {
|
|
|
1100
1100
|
const n = t.I(e);
|
|
1101
1101
|
if (n.length)
|
|
1102
1102
|
return n[0];
|
|
1103
|
-
const o =
|
|
1103
|
+
const o = dn(pt(e), -X);
|
|
1104
1104
|
return t.O(o, 1);
|
|
1105
1105
|
}
|
|
1106
1106
|
r(Ue, "getStartOfDayInstantFor");
|
|
1107
1107
|
function _a(t, e, n) {
|
|
1108
|
-
return Se(
|
|
1108
|
+
return Se(fe(jn(e.epochNanoseconds, ((o) => {
|
|
1109
1109
|
if (Lc(o))
|
|
1110
1110
|
throw new RangeError(nd);
|
|
1111
1111
|
return mt(o, 5);
|
|
@@ -1136,13 +1136,13 @@ function Za(t, e, n, o, i) {
|
|
|
1136
1136
|
e && (o = as(o)), o.sign < 0 && (h = c.P(h, {
|
|
1137
1137
|
...gt,
|
|
1138
1138
|
months: 1
|
|
1139
|
-
}), h =
|
|
1139
|
+
}), h = vn(h, -1));
|
|
1140
1140
|
const f = c.P(h, o, i);
|
|
1141
1141
|
return Sr(kr(c, f), s);
|
|
1142
1142
|
}
|
|
1143
1143
|
r(Za, "Gt");
|
|
1144
1144
|
function La(t, e, n) {
|
|
1145
|
-
return
|
|
1145
|
+
return de(Uc(e, t ? Ot(n) : n)[0]);
|
|
1146
1146
|
}
|
|
1147
1147
|
r(La, "at");
|
|
1148
1148
|
function rs(t, e, n, o, i) {
|
|
@@ -1153,14 +1153,14 @@ function rs(t, e, n, o, i) {
|
|
|
1153
1153
|
c = jn(Rr(t, {
|
|
1154
1154
|
...Fo(e, h, {
|
|
1155
1155
|
...o,
|
|
1156
|
-
...
|
|
1156
|
+
...xs
|
|
1157
1157
|
}, i),
|
|
1158
1158
|
...Wt(Kt, h)
|
|
1159
1159
|
}), s);
|
|
1160
1160
|
} else
|
|
1161
1161
|
c = jn(c, s), q(i);
|
|
1162
1162
|
return {
|
|
1163
|
-
epochNanoseconds:
|
|
1163
|
+
epochNanoseconds: fe(c)
|
|
1164
1164
|
};
|
|
1165
1165
|
}
|
|
1166
1166
|
r(rs, "moveZonedEpochs");
|
|
@@ -1169,7 +1169,7 @@ function os(t, e, n, o) {
|
|
|
1169
1169
|
return Nt({
|
|
1170
1170
|
...Fo(t, e, {
|
|
1171
1171
|
...n,
|
|
1172
|
-
...
|
|
1172
|
+
...xs,
|
|
1173
1173
|
days: n.days + s
|
|
1174
1174
|
}, o),
|
|
1175
1175
|
...i
|
|
@@ -1181,25 +1181,25 @@ function Fo(t, e, n, o) {
|
|
|
1181
1181
|
return t.P(e, n, o);
|
|
1182
1182
|
q(o);
|
|
1183
1183
|
const i = n.days + mt(n, 5)[0];
|
|
1184
|
-
return i ? Lt(
|
|
1184
|
+
return i ? Lt(vn(e, i)) : e;
|
|
1185
1185
|
}
|
|
1186
1186
|
r(Fo, "moveDate");
|
|
1187
1187
|
function kr(t, e, n = 1) {
|
|
1188
|
-
return
|
|
1188
|
+
return vn(e, n - t.day(e));
|
|
1189
1189
|
}
|
|
1190
1190
|
r(kr, "moveToDayOfMonthUnsafe");
|
|
1191
1191
|
function Uc(t, e) {
|
|
1192
|
-
const [n, o] = mt(e, 5), [i, s] =
|
|
1192
|
+
const [n, o] = mt(e, 5), [i, s] = Mo(He(t) + o);
|
|
1193
1193
|
return [i, n + s];
|
|
1194
1194
|
}
|
|
1195
1195
|
r(Uc, "moveTime");
|
|
1196
|
-
function
|
|
1196
|
+
function vn(t, e) {
|
|
1197
1197
|
return e ? {
|
|
1198
1198
|
...t,
|
|
1199
|
-
...
|
|
1199
|
+
...xo(Et(t) + e * Rt)
|
|
1200
1200
|
} : t;
|
|
1201
1201
|
}
|
|
1202
|
-
r(
|
|
1202
|
+
r(vn, "moveByDays");
|
|
1203
1203
|
function Yo(t, e, n) {
|
|
1204
1204
|
const o = t(n.calendar);
|
|
1205
1205
|
return $n(n) ? [n, o, e(n.timeZone)] : [{
|
|
@@ -1229,15 +1229,15 @@ function Er(t, e) {
|
|
|
1229
1229
|
}
|
|
1230
1230
|
r(Er, "isUniformUnit");
|
|
1231
1231
|
function qa(t, e, n, o, i, s, c) {
|
|
1232
|
-
const h = t(
|
|
1232
|
+
const h = t(he(c).relativeTo), f = Math.max(pn(i), pn(s));
|
|
1233
1233
|
if (Er(f, h))
|
|
1234
|
-
return ht(
|
|
1234
|
+
return ht(wn(((g, T, M, D) => {
|
|
1235
1235
|
const k = jn(mt(g), mt(T), D ? -1 : 1);
|
|
1236
1236
|
if (!Number.isFinite(k[0]))
|
|
1237
1237
|
throw new RangeError(Je);
|
|
1238
1238
|
return {
|
|
1239
1239
|
...gt,
|
|
1240
|
-
...Zn(k,
|
|
1240
|
+
...Zn(k, M)
|
|
1241
1241
|
};
|
|
1242
1242
|
})(i, s, f, o)));
|
|
1243
1243
|
if (!h)
|
|
@@ -1248,34 +1248,34 @@ function qa(t, e, n, o, i, s, c) {
|
|
|
1248
1248
|
}
|
|
1249
1249
|
r(qa, "E");
|
|
1250
1250
|
function bf(t, e, n, o, i) {
|
|
1251
|
-
const s =
|
|
1252
|
-
|
|
1253
|
-
let U = qu(
|
|
1254
|
-
const $t = W(
|
|
1255
|
-
let
|
|
1256
|
-
const Oe = _r(
|
|
1257
|
-
let st = Yr(
|
|
1251
|
+
const s = pn(o), [c, h, f, d, w] = ((x, A, W) => {
|
|
1252
|
+
x = Ro(x, To);
|
|
1253
|
+
let U = qu(x);
|
|
1254
|
+
const $t = W(x[Zu]);
|
|
1255
|
+
let xt = qi(x);
|
|
1256
|
+
const Oe = _r(x, 7);
|
|
1257
|
+
let st = Yr(x);
|
|
1258
1258
|
if (U === void 0 && st === void 0)
|
|
1259
1259
|
throw new RangeError(rd);
|
|
1260
|
-
if (st == null && (st = 0), U == null && (U = Math.max(st, A)), Ac(U, st),
|
|
1260
|
+
if (st == null && (st = 0), U == null && (U = Math.max(st, A)), Ac(U, st), xt = Wi(xt, st, 1), xt > 1 && st > 5 && U !== st)
|
|
1261
1261
|
throw new RangeError("For calendar units with roundingIncrement > 1, use largestUnit = smallestUnit");
|
|
1262
|
-
return [U, st,
|
|
1262
|
+
return [U, st, xt, Oe, $t];
|
|
1263
1263
|
})(i, s, t), y = Math.max(s, c);
|
|
1264
1264
|
if (!w && y <= 6)
|
|
1265
|
-
return ht(
|
|
1266
|
-
const
|
|
1265
|
+
return ht(wn(((x, A, W, U, $t) => {
|
|
1266
|
+
const xt = $o(mt(x), W, U, $t);
|
|
1267
1267
|
return {
|
|
1268
1268
|
...gt,
|
|
1269
|
-
...Zn(
|
|
1269
|
+
...Zn(xt, A)
|
|
1270
1270
|
};
|
|
1271
1271
|
})(o, c, h, f, d)));
|
|
1272
1272
|
if (!$n(w) && !o.sign)
|
|
1273
1273
|
return o;
|
|
1274
1274
|
if (!w)
|
|
1275
1275
|
throw new RangeError(Wo);
|
|
1276
|
-
const [l, v, p] = Yo(e, n, w), g = is(p), T = _o(p),
|
|
1276
|
+
const [l, v, p] = Yo(e, n, w), g = is(p), T = _o(p), M = ss(p), D = T(v, l, o);
|
|
1277
1277
|
$n(w) || (Nt(l), Nt(D));
|
|
1278
|
-
let k =
|
|
1278
|
+
let k = M(v, l, D, c);
|
|
1279
1279
|
const b = o.sign, B = qe(k);
|
|
1280
1280
|
if (b && B && b !== B)
|
|
1281
1281
|
throw new RangeError(Wn);
|
|
@@ -1314,12 +1314,12 @@ function qe(t, e = G) {
|
|
|
1314
1314
|
return n;
|
|
1315
1315
|
}
|
|
1316
1316
|
r(qe, "computeDurationSign");
|
|
1317
|
-
function
|
|
1317
|
+
function wn(t) {
|
|
1318
1318
|
for (const e of pd)
|
|
1319
|
-
|
|
1319
|
+
Te(e, t[e], -oc, oc, 1);
|
|
1320
1320
|
return Zc(ae(mt(t), ie)), t;
|
|
1321
1321
|
}
|
|
1322
|
-
r(
|
|
1322
|
+
r(wn, "checkDurationUnits");
|
|
1323
1323
|
function Zc(t) {
|
|
1324
1324
|
if (!Number.isSafeInteger(t))
|
|
1325
1325
|
throw new RangeError(td);
|
|
@@ -1344,13 +1344,13 @@ function Lc(t) {
|
|
|
1344
1344
|
return !!qe(t, Hu);
|
|
1345
1345
|
}
|
|
1346
1346
|
r(Lc, "durationHasDateParts");
|
|
1347
|
-
function
|
|
1347
|
+
function pn(t) {
|
|
1348
1348
|
let e = 9;
|
|
1349
1349
|
for (; e > 0 && !t[G[e]]; e--)
|
|
1350
1350
|
;
|
|
1351
1351
|
return e;
|
|
1352
1352
|
}
|
|
1353
|
-
r(
|
|
1353
|
+
r(pn, "getMaxDurationUnit");
|
|
1354
1354
|
function Cf(t, e) {
|
|
1355
1355
|
return [t, e];
|
|
1356
1356
|
}
|
|
@@ -1370,7 +1370,7 @@ function Sf(t) {
|
|
|
1370
1370
|
else {
|
|
1371
1371
|
if (!e.offset)
|
|
1372
1372
|
throw new RangeError(It(t));
|
|
1373
|
-
n =
|
|
1373
|
+
n = bn(e.offset);
|
|
1374
1374
|
}
|
|
1375
1375
|
return e.timeZone && hs(e.timeZone, 1), Se(_i(Do(e), n));
|
|
1376
1376
|
}
|
|
@@ -1380,7 +1380,7 @@ function kf(t) {
|
|
|
1380
1380
|
if (!e)
|
|
1381
1381
|
throw new RangeError(It(t));
|
|
1382
1382
|
if (e.timeZone)
|
|
1383
|
-
return qc(e, e.offset ?
|
|
1383
|
+
return qc(e, e.offset ? bn(e.offset) : void 0);
|
|
1384
1384
|
if (e.j)
|
|
1385
1385
|
throw new RangeError(It(t));
|
|
1386
1386
|
return Gc(e);
|
|
@@ -1390,17 +1390,17 @@ function Ef(t, e) {
|
|
|
1390
1390
|
const n = We(bt(t));
|
|
1391
1391
|
if (!n || !n.timeZone)
|
|
1392
1392
|
throw new RangeError(It(t));
|
|
1393
|
-
const { offset: o } = n, i = o ?
|
|
1393
|
+
const { offset: o } = n, i = o ? bn(o) : void 0, [, s, c] = Ao(e);
|
|
1394
1394
|
return qc(n, i, s, c);
|
|
1395
1395
|
}
|
|
1396
1396
|
r(Ef, "Ae");
|
|
1397
|
-
function
|
|
1397
|
+
function bn(t) {
|
|
1398
1398
|
const e = hs(t);
|
|
1399
1399
|
if (e === void 0)
|
|
1400
1400
|
throw new RangeError(It(t));
|
|
1401
1401
|
return e;
|
|
1402
1402
|
}
|
|
1403
|
-
r(
|
|
1403
|
+
r(bn, "parseOffsetNano");
|
|
1404
1404
|
function Bf(t) {
|
|
1405
1405
|
const e = We(bt(t));
|
|
1406
1406
|
if (!e || e.j)
|
|
@@ -1422,32 +1422,32 @@ function cs(t, e, n) {
|
|
|
1422
1422
|
...jt
|
|
1423
1423
|
}) : n && o.calendar === L && (o = {
|
|
1424
1424
|
...o,
|
|
1425
|
-
isoYear:
|
|
1425
|
+
isoYear: ye
|
|
1426
1426
|
}), ke(o.C ? Wc(o) : Gc(o));
|
|
1427
1427
|
}
|
|
1428
1428
|
r(cs, "de");
|
|
1429
1429
|
function Pf(t, e) {
|
|
1430
1430
|
const n = ls(bt(e));
|
|
1431
1431
|
if (n)
|
|
1432
|
-
return us(n), Sr(Yi(
|
|
1432
|
+
return us(n), Sr(Yi(gn(n)));
|
|
1433
1433
|
const o = cs(e, 1);
|
|
1434
1434
|
return Sr(kr(t(o.calendar), o));
|
|
1435
1435
|
}
|
|
1436
1436
|
r(Pf, "_t");
|
|
1437
1437
|
function us(t) {
|
|
1438
1438
|
if (t.calendar !== L)
|
|
1439
|
-
throw new RangeError(
|
|
1439
|
+
throw new RangeError(be(t.calendar));
|
|
1440
1440
|
}
|
|
1441
1441
|
r(us, "requireIsoCalendar");
|
|
1442
1442
|
function Of(t, e) {
|
|
1443
1443
|
const n = fs(bt(e));
|
|
1444
1444
|
if (n)
|
|
1445
|
-
return us(n), go(
|
|
1445
|
+
return us(n), go(gn(n));
|
|
1446
1446
|
const o = cs(e, 0, 1), { calendar: i } = o, s = t(i), [c, h, f] = s.v(o), [d, w] = s.q(c, h), [y, l] = s.G(d, w, f);
|
|
1447
1447
|
return go(Lt(s.V(y, l, f)), i);
|
|
1448
1448
|
}
|
|
1449
1449
|
r(Of, "xt");
|
|
1450
|
-
function
|
|
1450
|
+
function Mf(t) {
|
|
1451
1451
|
let e, n = ((o) => {
|
|
1452
1452
|
const i = zd.exec(o);
|
|
1453
1453
|
return i ? (zo(i[10]), Jc(i)) : void 0;
|
|
@@ -1458,29 +1458,29 @@ function xf(t) {
|
|
|
1458
1458
|
if (!n.C)
|
|
1459
1459
|
throw new RangeError(It(t));
|
|
1460
1460
|
if (n.j)
|
|
1461
|
-
throw new RangeError(
|
|
1461
|
+
throw new RangeError(be("Z"));
|
|
1462
1462
|
us(n);
|
|
1463
1463
|
}
|
|
1464
1464
|
if ((e = ls(t)) && Da(e))
|
|
1465
1465
|
throw new RangeError(It(t));
|
|
1466
1466
|
if ((e = fs(t)) && Da(e))
|
|
1467
1467
|
throw new RangeError(It(t));
|
|
1468
|
-
return
|
|
1468
|
+
return de(Hn(n, 1));
|
|
1469
1469
|
}
|
|
1470
|
-
r(
|
|
1471
|
-
function
|
|
1470
|
+
r(Mf, "ht");
|
|
1471
|
+
function xf(t) {
|
|
1472
1472
|
const e = ((n) => {
|
|
1473
1473
|
const o = Ld.exec(n);
|
|
1474
1474
|
return o ? ((i) => {
|
|
1475
1475
|
function s(w, y, l) {
|
|
1476
1476
|
let v = 0, p = 0;
|
|
1477
|
-
if (l && ([v, f] =
|
|
1477
|
+
if (l && ([v, f] = we(f, ce[l])), w !== void 0) {
|
|
1478
1478
|
if (h)
|
|
1479
|
-
throw new RangeError(
|
|
1479
|
+
throw new RangeError(be(w));
|
|
1480
1480
|
p = ((g) => {
|
|
1481
1481
|
const T = parseInt(g);
|
|
1482
1482
|
if (!Number.isFinite(T))
|
|
1483
|
-
throw new RangeError(
|
|
1483
|
+
throw new RangeError(be(g));
|
|
1484
1484
|
return T;
|
|
1485
1485
|
})(w), c = 1, y && (f = ds(y) * (ce[l] / ie), h = 1);
|
|
1486
1486
|
}
|
|
@@ -1498,9 +1498,9 @@ function Mf(t) {
|
|
|
1498
1498
|
})(bt(t));
|
|
1499
1499
|
if (!e)
|
|
1500
1500
|
throw new RangeError(It(t));
|
|
1501
|
-
return ht(
|
|
1501
|
+
return ht(wn(e));
|
|
1502
1502
|
}
|
|
1503
|
-
r(
|
|
1503
|
+
r(xf, "R");
|
|
1504
1504
|
function Df(t) {
|
|
1505
1505
|
const e = We(t) || ls(t) || fs(t);
|
|
1506
1506
|
return e ? e.calendar : t;
|
|
@@ -1508,7 +1508,7 @@ function Df(t) {
|
|
|
1508
1508
|
r(Df, "f");
|
|
1509
1509
|
function Af(t) {
|
|
1510
1510
|
const e = We(t);
|
|
1511
|
-
return e && (e.timeZone || e.j &&
|
|
1511
|
+
return e && (e.timeZone || e.j && Tn || e.offset) || t;
|
|
1512
1512
|
}
|
|
1513
1513
|
r(Af, "Z");
|
|
1514
1514
|
function qc(t, e, n = 0, o = 0) {
|
|
@@ -1522,7 +1522,7 @@ function Wc(t) {
|
|
|
1522
1522
|
}
|
|
1523
1523
|
r(Wc, "finalizeDateTime");
|
|
1524
1524
|
function Gc(t) {
|
|
1525
|
-
return Xc(Lt(
|
|
1525
|
+
return Xc(Lt(gn(t)));
|
|
1526
1526
|
}
|
|
1527
1527
|
r(Gc, "finalizeDate");
|
|
1528
1528
|
function Xc(t) {
|
|
@@ -1562,7 +1562,7 @@ r(ls, "parseYearMonthOnly");
|
|
|
1562
1562
|
function fs(t) {
|
|
1563
1563
|
const e = _d.exec(t);
|
|
1564
1564
|
return e ? ((n) => ({
|
|
1565
|
-
isoYear:
|
|
1565
|
+
isoYear: ye,
|
|
1566
1566
|
isoMonth: parseInt(n[1]),
|
|
1567
1567
|
isoDay: parseInt(n[2]),
|
|
1568
1568
|
...zo(n[3])
|
|
@@ -1574,7 +1574,7 @@ function hs(t, e) {
|
|
|
1574
1574
|
return n ? ((o, i) => {
|
|
1575
1575
|
const s = o[4] || o[5];
|
|
1576
1576
|
if (i && s)
|
|
1577
|
-
throw new RangeError(
|
|
1577
|
+
throw new RangeError(be(s));
|
|
1578
1578
|
return ((c) => {
|
|
1579
1579
|
if (Math.abs(c) >= X)
|
|
1580
1580
|
throw new RangeError(Xh);
|
|
@@ -1586,14 +1586,14 @@ r(hs, "parseOffsetNanoMaybe");
|
|
|
1586
1586
|
function Kc(t) {
|
|
1587
1587
|
const e = ps(t[1]), n = parseInt(t[2] || t[3]);
|
|
1588
1588
|
if (e < 0 && !n)
|
|
1589
|
-
throw new RangeError(
|
|
1589
|
+
throw new RangeError(be(-0));
|
|
1590
1590
|
return e * n;
|
|
1591
1591
|
}
|
|
1592
1592
|
r(Kc, "organizeIsoYearParts");
|
|
1593
1593
|
function Jc(t) {
|
|
1594
1594
|
const e = An(t[3]);
|
|
1595
1595
|
return {
|
|
1596
|
-
...
|
|
1596
|
+
...Mo(ds(t[4] || ""))[0],
|
|
1597
1597
|
isoHour: An(t[1]),
|
|
1598
1598
|
isoMinute: An(t[2]),
|
|
1599
1599
|
isoSecond: e === 60 ? 59 : e
|
|
@@ -1609,15 +1609,15 @@ function zo(t) {
|
|
|
1609
1609
|
if (d === "u-ca")
|
|
1610
1610
|
o.push(f), e || (e = h);
|
|
1611
1611
|
else if (h || /[A-Z]/.test(d))
|
|
1612
|
-
throw new RangeError(
|
|
1612
|
+
throw new RangeError(be(i));
|
|
1613
1613
|
} else {
|
|
1614
1614
|
if (n)
|
|
1615
|
-
throw new RangeError(
|
|
1615
|
+
throw new RangeError(be(i));
|
|
1616
1616
|
n = f;
|
|
1617
1617
|
}
|
|
1618
1618
|
return "";
|
|
1619
1619
|
})), o.length > 1 && e)
|
|
1620
|
-
throw new RangeError(
|
|
1620
|
+
throw new RangeError(be(t));
|
|
1621
1621
|
return {
|
|
1622
1622
|
timeZone: n,
|
|
1623
1623
|
calendar: o[0] || L
|
|
@@ -1648,21 +1648,21 @@ function ms(t) {
|
|
|
1648
1648
|
const e = gs(t);
|
|
1649
1649
|
return typeof e == "number" ? Ir(e) : e ? ((n) => {
|
|
1650
1650
|
if (Gd.test(n))
|
|
1651
|
-
throw new RangeError(
|
|
1651
|
+
throw new RangeError(xu(n));
|
|
1652
1652
|
if (Wd.test(n))
|
|
1653
1653
|
throw new RangeError(Gh);
|
|
1654
1654
|
return n.toLowerCase().split("/").map(((o, i) => (o.length <= 3 || /\d/.test(o)) && !/etc|yap/.test(o) ? o.toUpperCase() : o.replace(/baja|dumont|[a-z]+/g, ((s, c) => s.length <= 2 && !i || s === "in" || s === "chat" ? s.toUpperCase() : s.length > 2 || !c ? Oa(s).replace(/island|noronha|murdo|rivadavia|urville/, Oa) : s)))).join("/");
|
|
1655
|
-
})(t) :
|
|
1655
|
+
})(t) : Tn;
|
|
1656
1656
|
}
|
|
1657
1657
|
r(ms, "M");
|
|
1658
1658
|
function Ga(t) {
|
|
1659
1659
|
const e = gs(t);
|
|
1660
|
-
return typeof e == "number" ? e : e ? e.resolvedOptions().timeZone :
|
|
1660
|
+
return typeof e == "number" ? e : e ? e.resolvedOptions().timeZone : Tn;
|
|
1661
1661
|
}
|
|
1662
1662
|
r(Ga, "getTimeZoneAtomic");
|
|
1663
1663
|
function gs(t) {
|
|
1664
1664
|
const e = hs(t = t.toUpperCase(), 1);
|
|
1665
|
-
return e !== void 0 ? e : t !==
|
|
1665
|
+
return e !== void 0 ? e : t !== Tn ? qd(t) : void 0;
|
|
1666
1666
|
}
|
|
1667
1667
|
r(gs, "getTimeZoneEssence");
|
|
1668
1668
|
function Qc(t, e) {
|
|
@@ -1674,7 +1674,7 @@ function tu(t, e) {
|
|
|
1674
1674
|
}
|
|
1675
1675
|
r(tu, "Be");
|
|
1676
1676
|
function Rf(t, e, n, o, i, s) {
|
|
1677
|
-
const c = t(
|
|
1677
|
+
const c = t(he(s).relativeTo), h = Math.max(pn(o), pn(i));
|
|
1678
1678
|
if (hc(G, o, i))
|
|
1679
1679
|
return 0;
|
|
1680
1680
|
if (Er(h, c))
|
|
@@ -1746,10 +1746,10 @@ function Ka(t, e, n, o, i, s) {
|
|
|
1746
1746
|
if (h < 6)
|
|
1747
1747
|
p = Uo(y, l, h, f, d, w);
|
|
1748
1748
|
else {
|
|
1749
|
-
const g = e(((
|
|
1750
|
-
if (!nu(
|
|
1749
|
+
const g = e(((M, D) => {
|
|
1750
|
+
if (!nu(M, D))
|
|
1751
1751
|
throw new RangeError(Du);
|
|
1752
|
-
return
|
|
1752
|
+
return M;
|
|
1753
1753
|
})(o.timeZone, i.timeZone)), T = t(c);
|
|
1754
1754
|
p = ou(T, g, o, i, v, h, s), p = jo(p, l, h, f, d, w, T, o, Ic, Z(rs, g));
|
|
1755
1755
|
}
|
|
@@ -1822,19 +1822,19 @@ function ou(t, e, n, o, i, s, c) {
|
|
|
1822
1822
|
const [h, f, d] = ((l, v, p, g) => {
|
|
1823
1823
|
function T() {
|
|
1824
1824
|
return A = {
|
|
1825
|
-
...
|
|
1825
|
+
...vn(k, B++ * -g),
|
|
1826
1826
|
...D
|
|
1827
1827
|
}, W = Rr(l, A), _t(b, W) === -g;
|
|
1828
1828
|
}
|
|
1829
1829
|
r(T, "updateMid");
|
|
1830
|
-
const
|
|
1830
|
+
const M = zt(v, l), D = Wt(Kt, M), k = zt(p, l), b = p.epochNanoseconds;
|
|
1831
1831
|
let B = 0;
|
|
1832
|
-
const
|
|
1832
|
+
const x = ws(M, k);
|
|
1833
1833
|
let A, W;
|
|
1834
|
-
if (Math.sign(
|
|
1834
|
+
if (Math.sign(x) === -g && B++, T() && (g === -1 || T()))
|
|
1835
1835
|
throw new RangeError(Wn);
|
|
1836
1836
|
const U = ae(se(W, b));
|
|
1837
|
-
return [
|
|
1837
|
+
return [M, A, U];
|
|
1838
1838
|
})(e, n, o, i);
|
|
1839
1839
|
var w, y;
|
|
1840
1840
|
return {
|
|
@@ -1849,7 +1849,7 @@ r(ou, "diffZonedEpochsBig");
|
|
|
1849
1849
|
function iu(t, e, n, o, i, s) {
|
|
1850
1850
|
const [c, h, f] = ((d, w, y) => {
|
|
1851
1851
|
let l = w, v = ws(d, w);
|
|
1852
|
-
return Math.sign(v) === -y && (l =
|
|
1852
|
+
return Math.sign(v) === -y && (l = vn(w, -y), v += X * y), [d, l, v];
|
|
1853
1853
|
})(e, n, o);
|
|
1854
1854
|
return {
|
|
1855
1855
|
...t.N(c, h, i, s),
|
|
@@ -1885,7 +1885,7 @@ function ws(t, e) {
|
|
|
1885
1885
|
r(ws, "diffTimes");
|
|
1886
1886
|
function Lo(t, e) {
|
|
1887
1887
|
if (t !== e)
|
|
1888
|
-
throw new RangeError(
|
|
1888
|
+
throw new RangeError(Mu);
|
|
1889
1889
|
return t;
|
|
1890
1890
|
}
|
|
1891
1891
|
r(Lo, "getCommonCalendarId");
|
|
@@ -1934,7 +1934,7 @@ function fu(t) {
|
|
|
1934
1934
|
}
|
|
1935
1935
|
r(fu, "getCalendarLeapMonthMeta");
|
|
1936
1936
|
function hu(t) {
|
|
1937
|
-
return
|
|
1937
|
+
return mn(t.id || L);
|
|
1938
1938
|
}
|
|
1939
1939
|
r(hu, "getCalendarIdBase");
|
|
1940
1940
|
function Uf(t) {
|
|
@@ -1946,7 +1946,7 @@ function Uf(t) {
|
|
|
1946
1946
|
}))(Hi(n, i), o);
|
|
1947
1947
|
}
|
|
1948
1948
|
r(e, "epochMilliToIntlFields");
|
|
1949
|
-
const n = Zs(t), o =
|
|
1949
|
+
const n = Zs(t), o = mn(t);
|
|
1950
1950
|
return {
|
|
1951
1951
|
id: t,
|
|
1952
1952
|
h: Zf(e),
|
|
@@ -2053,17 +2053,17 @@ r(jr, "Mt");
|
|
|
2053
2053
|
function qo(t) {
|
|
2054
2054
|
if ((t = t.toLowerCase()) !== L && t !== Gn) {
|
|
2055
2055
|
const e = Zs(t).resolvedOptions().calendar;
|
|
2056
|
-
if (
|
|
2056
|
+
if (mn(t) !== mn(e))
|
|
2057
2057
|
throw new RangeError(Ou(t));
|
|
2058
2058
|
return e;
|
|
2059
2059
|
}
|
|
2060
2060
|
return t;
|
|
2061
2061
|
}
|
|
2062
2062
|
r(qo, "u");
|
|
2063
|
-
function
|
|
2063
|
+
function mn(t) {
|
|
2064
2064
|
return t === "islamicc" && (t = "islamic"), t.split("-")[0];
|
|
2065
2065
|
}
|
|
2066
|
-
r(
|
|
2066
|
+
r(mn, "computeCalendarIdBase");
|
|
2067
2067
|
function vu(t, e) {
|
|
2068
2068
|
return (n) => n === L ? t : n === Gn || n === Ze ? Object.assign(Object.create(t), {
|
|
2069
2069
|
id: n
|
|
@@ -2078,7 +2078,7 @@ function qf(t, e, n, o) {
|
|
|
2078
2078
|
epochNanoseconds: Un(e(h), {
|
|
2079
2079
|
...s,
|
|
2080
2080
|
...c
|
|
2081
|
-
}, i.offset !== void 0 ?
|
|
2081
|
+
}, i.offset !== void 0 ? bn(i.offset) : void 0),
|
|
2082
2082
|
timeZone: h
|
|
2083
2083
|
};
|
|
2084
2084
|
}
|
|
@@ -2093,7 +2093,7 @@ function Wf(t, e, n, o, i, s) {
|
|
|
2093
2093
|
return Gt(Un(e(h), {
|
|
2094
2094
|
...y,
|
|
2095
2095
|
...l
|
|
2096
|
-
}, c.offset !== void 0 ?
|
|
2096
|
+
}, c.offset !== void 0 ? bn(c.offset) : void 0, d, w), h, o);
|
|
2097
2097
|
}
|
|
2098
2098
|
r(Wf, "Ne");
|
|
2099
2099
|
function Gf(t, e, n) {
|
|
@@ -2116,16 +2116,16 @@ function Kf(t, e, n, o) {
|
|
|
2116
2116
|
r(Kf, "Xt");
|
|
2117
2117
|
function Jf(t, e, n, o) {
|
|
2118
2118
|
const i = Ge(t, n, Pe, Fr);
|
|
2119
|
-
return e && i.month !== void 0 && i.monthCode === void 0 && i.year === void 0 && (i.year =
|
|
2119
|
+
return e && i.month !== void 0 && i.monthCode === void 0 && i.year === void 0 && (i.year = ye), t._(i, o);
|
|
2120
2120
|
}
|
|
2121
2121
|
r(Jf, "Rt");
|
|
2122
2122
|
function Qf(t, e) {
|
|
2123
|
-
return
|
|
2123
|
+
return de($r(Ht(t, bi, [], 1), q(e)));
|
|
2124
2124
|
}
|
|
2125
2125
|
r(Qf, "Tt");
|
|
2126
2126
|
function th(t) {
|
|
2127
|
-
const e = Ht(t,
|
|
2128
|
-
return ht(
|
|
2127
|
+
const e = Ht(t, Ms);
|
|
2128
|
+
return ht(wn({
|
|
2129
2129
|
...gt,
|
|
2130
2130
|
...e
|
|
2131
2131
|
}));
|
|
@@ -2166,8 +2166,8 @@ function $r(t, e) {
|
|
|
2166
2166
|
}
|
|
2167
2167
|
r($r, "refineTimeBag");
|
|
2168
2168
|
function eh(t, e, n, o, i) {
|
|
2169
|
-
const { calendar: s, timeZone: c } = n, h = t(s), f = e(c), d = [...h.fields(Pe), ...Nu].sort(), w = ((
|
|
2170
|
-
const D = zt(
|
|
2169
|
+
const { calendar: s, timeZone: c } = n, h = t(s), f = e(c), d = [...h.fields(Pe), ...Nu].sort(), w = ((M) => {
|
|
2170
|
+
const D = zt(M, _), k = Ir(D.offsetNanoseconds), b = Qo(M.calendar), [B, x, A] = b.v(D), [W, U] = b.q(B, x), $t = Nr(W, U);
|
|
2171
2171
|
return {
|
|
2172
2172
|
...ip(D),
|
|
2173
2173
|
year: B,
|
|
@@ -2182,7 +2182,7 @@ function eh(t, e, n, o, i) {
|
|
|
2182
2182
|
return Gt(Un(f, {
|
|
2183
2183
|
...h.F(l, No(p)),
|
|
2184
2184
|
...Hn(Ls(v), p)
|
|
2185
|
-
},
|
|
2185
|
+
}, bn(v.offset), g, T), c, s);
|
|
2186
2186
|
}
|
|
2187
2187
|
r(eh, "De");
|
|
2188
2188
|
function nh(t, e, n, o) {
|
|
@@ -2234,16 +2234,16 @@ function ih(t, e, n, o) {
|
|
|
2234
2234
|
}
|
|
2235
2235
|
r(ih, "Et");
|
|
2236
2236
|
function sh(t, e, n) {
|
|
2237
|
-
return
|
|
2237
|
+
return de(((o, i, s) => $r({
|
|
2238
2238
|
...Wt(bi, o),
|
|
2239
2239
|
...Ht(i, bi)
|
|
2240
2240
|
}, q(s)))(t, e, n));
|
|
2241
2241
|
}
|
|
2242
2242
|
r(sh, "rt");
|
|
2243
2243
|
function ah(t, e) {
|
|
2244
|
-
return ht((n = t, o = e,
|
|
2244
|
+
return ht((n = t, o = e, wn({
|
|
2245
2245
|
...n,
|
|
2246
|
-
...Ht(o,
|
|
2246
|
+
...Ht(o, Ms)
|
|
2247
2247
|
})));
|
|
2248
2248
|
var n, o;
|
|
2249
2249
|
}
|
|
@@ -2306,7 +2306,7 @@ function io(t, e, n, o) {
|
|
|
2306
2306
|
i = c, o = 1;
|
|
2307
2307
|
} else if (i === void 0)
|
|
2308
2308
|
throw new TypeError(Pu);
|
|
2309
|
-
return
|
|
2309
|
+
return Te("month", i, 1, t.B(n), o);
|
|
2310
2310
|
}
|
|
2311
2311
|
r(io, "refineMonth");
|
|
2312
2312
|
function ui(t, e, n, o, i) {
|
|
@@ -2333,19 +2333,19 @@ function bu(t) {
|
|
|
2333
2333
|
}
|
|
2334
2334
|
r(bu, "computeDateEssentials");
|
|
2335
2335
|
function ch(t) {
|
|
2336
|
-
return Se(
|
|
2336
|
+
return Se(fe(Vi(Ni(t))));
|
|
2337
2337
|
}
|
|
2338
2338
|
r(ch, "qe");
|
|
2339
2339
|
function uh(t, e, n, o, i = L) {
|
|
2340
|
-
return Gt(
|
|
2340
|
+
return Gt(fe(Vi(Ni(n))), e(o), t(i));
|
|
2341
2341
|
}
|
|
2342
2342
|
r(uh, "ye");
|
|
2343
2343
|
function lh(t, e, n, o, i = 0, s = 0, c = 0, h = 0, f = 0, d = 0, w = L) {
|
|
2344
|
-
return Xt(Nt(Do(
|
|
2344
|
+
return Xt(Nt(Do(Ce(kt, Fn(Ko, [e, n, o, i, s, c, h, f, d])))), t(w));
|
|
2345
2345
|
}
|
|
2346
2346
|
r(lh, "Zt");
|
|
2347
2347
|
function fh(t, e, n, o, i = L) {
|
|
2348
|
-
return ke(Lt(
|
|
2348
|
+
return ke(Lt(gn(Ce(kt, {
|
|
2349
2349
|
isoYear: e,
|
|
2350
2350
|
isoMonth: n,
|
|
2351
2351
|
isoDay: o
|
|
@@ -2354,16 +2354,16 @@ function fh(t, e, n, o, i = L) {
|
|
|
2354
2354
|
r(fh, "ue");
|
|
2355
2355
|
function hh(t, e, n, o = L, i = 1) {
|
|
2356
2356
|
const s = kt(e), c = kt(n), h = t(o);
|
|
2357
|
-
return Sr(Yi(
|
|
2357
|
+
return Sr(Yi(gn({
|
|
2358
2358
|
isoYear: s,
|
|
2359
2359
|
isoMonth: c,
|
|
2360
2360
|
isoDay: kt(i)
|
|
2361
2361
|
})), h);
|
|
2362
2362
|
}
|
|
2363
2363
|
r(hh, "Qt");
|
|
2364
|
-
function dh(t, e, n, o = L, i =
|
|
2364
|
+
function dh(t, e, n, o = L, i = ye) {
|
|
2365
2365
|
const s = kt(e), c = kt(n), h = t(o);
|
|
2366
|
-
return go(Lt(
|
|
2366
|
+
return go(Lt(gn({
|
|
2367
2367
|
isoYear: kt(i),
|
|
2368
2368
|
isoMonth: s,
|
|
2369
2369
|
isoDay: c
|
|
@@ -2371,11 +2371,11 @@ function dh(t, e, n, o = L, i = be) {
|
|
|
2371
2371
|
}
|
|
2372
2372
|
r(dh, "kt");
|
|
2373
2373
|
function ph(t = 0, e = 0, n = 0, o = 0, i = 0, s = 0) {
|
|
2374
|
-
return
|
|
2374
|
+
return de(Hn(Ce(kt, Fn(Kt, [t, e, n, o, i, s])), 1));
|
|
2375
2375
|
}
|
|
2376
2376
|
r(ph, "ut");
|
|
2377
2377
|
function mh(t = 0, e = 0, n = 0, o = 0, i = 0, s = 0, c = 0, h = 0, f = 0, d = 0) {
|
|
2378
|
-
return ht(
|
|
2378
|
+
return ht(wn(Ce(ji, Fn(G, [t, e, n, o, i, s, c, h, f, d]))));
|
|
2379
2379
|
}
|
|
2380
2380
|
r(mh, "j");
|
|
2381
2381
|
function gh(t, e, n = L) {
|
|
@@ -2395,15 +2395,15 @@ function Tu(t, e) {
|
|
|
2395
2395
|
}
|
|
2396
2396
|
r(Tu, "fe");
|
|
2397
2397
|
function Cu(t, e) {
|
|
2398
|
-
return
|
|
2398
|
+
return de(zt(e, t));
|
|
2399
2399
|
}
|
|
2400
2400
|
r(Cu, "dt");
|
|
2401
2401
|
function wh(t, e, n, o) {
|
|
2402
2402
|
const i = ((s, c, h, f) => {
|
|
2403
|
-
const d = ((w) => Gu(
|
|
2403
|
+
const d = ((w) => Gu(he(w)))(f);
|
|
2404
2404
|
return Rr(s(c), h, d);
|
|
2405
2405
|
})(t, n, e, o);
|
|
2406
|
-
return Gt(
|
|
2406
|
+
return Gt(fe(i), n, e.calendar);
|
|
2407
2407
|
}
|
|
2408
2408
|
r(wh, "bt");
|
|
2409
2409
|
function bh(t, e, n, o, i) {
|
|
@@ -2448,14 +2448,14 @@ function kh(t, e, n, o) {
|
|
|
2448
2448
|
}
|
|
2449
2449
|
r(kh, "Vt");
|
|
2450
2450
|
function Eh(t) {
|
|
2451
|
-
return Se(
|
|
2451
|
+
return Se(fe(po(ji(t), Ee)));
|
|
2452
2452
|
}
|
|
2453
2453
|
r(Eh, "$e");
|
|
2454
2454
|
function Bh(t) {
|
|
2455
|
-
return Se(
|
|
2455
|
+
return Se(fe(Vi(Ni(t))));
|
|
2456
2456
|
}
|
|
2457
2457
|
r(Bh, "He");
|
|
2458
|
-
function
|
|
2458
|
+
function yn(t, e, n) {
|
|
2459
2459
|
const o = new Set(n);
|
|
2460
2460
|
return (i, s) => {
|
|
2461
2461
|
const c = n && Pa(i, n);
|
|
@@ -2472,10 +2472,10 @@ function wn(t, e, n) {
|
|
|
2472
2472
|
...i
|
|
2473
2473
|
};
|
|
2474
2474
|
}
|
|
2475
|
-
return n && (i.timeZone =
|
|
2475
|
+
return n && (i.timeZone = Tn, ["full", "long"].includes(i.J) && (i.J = "medium")), i;
|
|
2476
2476
|
};
|
|
2477
2477
|
}
|
|
2478
|
-
r(
|
|
2478
|
+
r(yn, "createOptionsTransformer");
|
|
2479
2479
|
function Xe(t, e = Su, n = 0) {
|
|
2480
2480
|
const [o, , , i] = t;
|
|
2481
2481
|
return (s, c = kp, ...h) => {
|
|
@@ -2497,7 +2497,7 @@ function Ph(t, e, n) {
|
|
|
2497
2497
|
const [, o, i] = t;
|
|
2498
2498
|
return n.map(((s) => (s.calendar && ((c, h, f) => {
|
|
2499
2499
|
if ((f || c !== L) && c !== h)
|
|
2500
|
-
throw new RangeError(
|
|
2500
|
+
throw new RangeError(Mu);
|
|
2501
2501
|
})(s.calendar, e.calendar, i), o(s, e))));
|
|
2502
2502
|
}
|
|
2503
2503
|
r(Ph, "toEpochMillis");
|
|
@@ -2510,13 +2510,13 @@ function Oh(t, e, n) {
|
|
|
2510
2510
|
return c = n ? Un(i, s, s.offsetNanoseconds, 2) : Ue(i, s), Gt(c, o, e.calendar);
|
|
2511
2511
|
}
|
|
2512
2512
|
r(Oh, "ge");
|
|
2513
|
-
function
|
|
2513
|
+
function Mh(t, e = jt) {
|
|
2514
2514
|
return Xt(Nt({
|
|
2515
2515
|
...t,
|
|
2516
2516
|
...e
|
|
2517
2517
|
}));
|
|
2518
2518
|
}
|
|
2519
|
-
r(
|
|
2519
|
+
r(Mh, "Ot");
|
|
2520
2520
|
function Cs(t, e) {
|
|
2521
2521
|
return {
|
|
2522
2522
|
...t,
|
|
@@ -2524,13 +2524,13 @@ function Cs(t, e) {
|
|
|
2524
2524
|
};
|
|
2525
2525
|
}
|
|
2526
2526
|
r(Cs, "pt");
|
|
2527
|
-
function
|
|
2527
|
+
function xh(t, e) {
|
|
2528
2528
|
return {
|
|
2529
2529
|
...t,
|
|
2530
2530
|
timeZone: e
|
|
2531
2531
|
};
|
|
2532
2532
|
}
|
|
2533
|
-
r(
|
|
2533
|
+
r(xh, "Pe");
|
|
2534
2534
|
function fi(t) {
|
|
2535
2535
|
const e = gi();
|
|
2536
2536
|
return _n(e, t.R(e));
|
|
@@ -2544,7 +2544,7 @@ function mr() {
|
|
|
2544
2544
|
return sc || (sc = new Fe().resolvedOptions().timeZone);
|
|
2545
2545
|
}
|
|
2546
2546
|
r(mr, "Ue");
|
|
2547
|
-
const Dh = /* @__PURE__ */ r((t, e) => `Non-integer ${t}: ${e}`, "expectedInteger"), Ah = /* @__PURE__ */ r((t, e) => `Non-positive ${t}: ${e}`, "expectedPositive"), Ih = /* @__PURE__ */ r((t, e) => `Non-finite ${t}: ${e}`, "expectedFinite"), Rh = /* @__PURE__ */ r((t) => `Cannot convert bigint to ${t}`, "forbiddenBigIntToNumber"), Nh = /* @__PURE__ */ r((t) => `Invalid bigint: ${t}`, "invalidBigInt"), jh = "Cannot convert Symbol to string", $h = "Invalid object", ku = /* @__PURE__ */ r((t, e, n, o, i) => i ? ku(t, i[e], i[n], i[o]) : Ke(t, e) + `; must be between ${n}-${o}`, "numberOutOfRange"), Ke = /* @__PURE__ */ r((t, e) => `Invalid ${t}: ${e}`, "invalidEntity"), Ss = /* @__PURE__ */ r((t) => `Missing ${t}`, "missingField"), Vh = /* @__PURE__ */ r((t) => `Invalid field ${t}`, "forbiddenField"), Fh = /* @__PURE__ */ r((t) => `Duplicate field ${t}`, "duplicateFields"), Eu = /* @__PURE__ */ r((t) => "No valid fields: " + t.join(), "noValidFields"), Yh = "Invalid bag", Bu = /* @__PURE__ */ r((t, e, n) => Ke(t, e) + "; must be " + Object.keys(n).join(), "invalidChoice"), _h = "Cannot use valueOf", vi = "Invalid calling context", Hh = "Forbidden era/eraYear", zh = "Mismatching era/eraYear", Uh = "Mismatching year/eraYear", Zh = /* @__PURE__ */ r((t) => `Invalid era: ${t}`, "invalidEra"), Lh = /* @__PURE__ */ r((t) => "Missing year" + (t ? "/era/eraYear" : ""), "missingYear"), qh = /* @__PURE__ */ r((t) => `Invalid monthCode: ${t}`, "invalidMonthCode"), Wh = "Mismatching month/monthCode", Pu = "Missing month/monthCode", gr = "Invalid leap month", Wn = "Invalid protocol results", Ou = /* @__PURE__ */ r((t) => Ke("Calendar", t), "c"),
|
|
2547
|
+
const Dh = /* @__PURE__ */ r((t, e) => `Non-integer ${t}: ${e}`, "expectedInteger"), Ah = /* @__PURE__ */ r((t, e) => `Non-positive ${t}: ${e}`, "expectedPositive"), Ih = /* @__PURE__ */ r((t, e) => `Non-finite ${t}: ${e}`, "expectedFinite"), Rh = /* @__PURE__ */ r((t) => `Cannot convert bigint to ${t}`, "forbiddenBigIntToNumber"), Nh = /* @__PURE__ */ r((t) => `Invalid bigint: ${t}`, "invalidBigInt"), jh = "Cannot convert Symbol to string", $h = "Invalid object", ku = /* @__PURE__ */ r((t, e, n, o, i) => i ? ku(t, i[e], i[n], i[o]) : Ke(t, e) + `; must be between ${n}-${o}`, "numberOutOfRange"), Ke = /* @__PURE__ */ r((t, e) => `Invalid ${t}: ${e}`, "invalidEntity"), Ss = /* @__PURE__ */ r((t) => `Missing ${t}`, "missingField"), Vh = /* @__PURE__ */ r((t) => `Invalid field ${t}`, "forbiddenField"), Fh = /* @__PURE__ */ r((t) => `Duplicate field ${t}`, "duplicateFields"), Eu = /* @__PURE__ */ r((t) => "No valid fields: " + t.join(), "noValidFields"), Yh = "Invalid bag", Bu = /* @__PURE__ */ r((t, e, n) => Ke(t, e) + "; must be " + Object.keys(n).join(), "invalidChoice"), _h = "Cannot use valueOf", vi = "Invalid calling context", Hh = "Forbidden era/eraYear", zh = "Mismatching era/eraYear", Uh = "Mismatching year/eraYear", Zh = /* @__PURE__ */ r((t) => `Invalid era: ${t}`, "invalidEra"), Lh = /* @__PURE__ */ r((t) => "Missing year" + (t ? "/era/eraYear" : ""), "missingYear"), qh = /* @__PURE__ */ r((t) => `Invalid monthCode: ${t}`, "invalidMonthCode"), Wh = "Mismatching month/monthCode", Pu = "Missing month/monthCode", gr = "Invalid leap month", Wn = "Invalid protocol results", Ou = /* @__PURE__ */ r((t) => Ke("Calendar", t), "c"), Mu = "Mismatching Calendars", xu = /* @__PURE__ */ r((t) => Ke("TimeZone", t), "F"), Du = "Mismatching TimeZones", Gh = "Forbidden ICU TimeZone", Xh = "Out-of-bounds offset", Kh = "Out-of-bounds TimeZone gap", Jh = "Invalid TimeZone offset", Qh = "Ambiguous offset", Je = "Out-of-bounds date", td = "Out-of-bounds duration", ed = "Cannot mix duration signs", Wo = "Missing relativeTo", nd = "Cannot use large units", rd = "Required smallestUnit or largestUnit", od = "smallestUnit > largestUnit", It = /* @__PURE__ */ r((t) => `Cannot parse: ${t}`, "failedParse"), be = /* @__PURE__ */ r((t) => `Invalid substring: ${t}`, "invalidSubstring"), id = /* @__PURE__ */ r((t) => `Cannot format ${t}`, "rn"), hi = "Mismatching types for formatting", sd = "Cannot specify TimeZone", Au = /* @__PURE__ */ Z(Bo, ((t, e) => e)), Vn = /* @__PURE__ */ Z(Bo, ((t, e, n) => n)), qt = /* @__PURE__ */ Z(ho, 2), wi = {
|
|
2548
2548
|
nanosecond: 0,
|
|
2549
2549
|
microsecond: 1,
|
|
2550
2550
|
millisecond: 2,
|
|
@@ -2555,7 +2555,7 @@ const Dh = /* @__PURE__ */ r((t, e) => `Non-integer ${t}: ${e}`, "expectedIntege
|
|
|
2555
2555
|
week: 7,
|
|
2556
2556
|
month: 8,
|
|
2557
2557
|
year: 9
|
|
2558
|
-
}, ks = /* @__PURE__ */ Object.keys(wi), Rt = 864e5, Iu = 1e3, Vr = 1e3, Ee = 1e6, ie = 1e9, Go = 6e10, Xo = 36e11, X = 864e11, ce = [1, Vr, Ee, ie, Go, Xo, X], Be = /* @__PURE__ */ ks.slice(0, 6), bi = /* @__PURE__ */
|
|
2558
|
+
}, ks = /* @__PURE__ */ Object.keys(wi), Rt = 864e5, Iu = 1e3, Vr = 1e3, Ee = 1e6, ie = 1e9, Go = 6e10, Xo = 36e11, X = 864e11, ce = [1, Vr, Ee, ie, Go, Xo, X], Be = /* @__PURE__ */ ks.slice(0, 6), bi = /* @__PURE__ */ xr(Be), ad = ["offset"], Ru = ["timeZone"], Nu = /* @__PURE__ */ Be.concat(ad), ju = /* @__PURE__ */ Nu.concat(Ru), yi = ["era", "eraYear"], cd = /* @__PURE__ */ yi.concat(["year"]), Es = ["year"], Bs = ["monthCode"], Ps = /* @__PURE__ */ ["month"].concat(Bs), Fr = ["day"], Os = /* @__PURE__ */ Ps.concat(Es), $u = /* @__PURE__ */ Bs.concat(Es), Pe = /* @__PURE__ */ Fr.concat(Os), ud = /* @__PURE__ */ Fr.concat(Ps), Vu = /* @__PURE__ */ Fr.concat(Bs), Fu = /* @__PURE__ */ Vn(Be, 0), L = "iso8601", Gn = "gregory", Ze = "japanese", Yu = {
|
|
2559
2559
|
[Gn]: {
|
|
2560
2560
|
"gregory-inverse": -1,
|
|
2561
2561
|
gregory: 0
|
|
@@ -2618,7 +2618,7 @@ const Dh = /* @__PURE__ */ r((t, e) => `Non-integer ${t}: ${e}`, "expectedIntege
|
|
|
2618
2618
|
chinese: 13,
|
|
2619
2619
|
dangi: 13,
|
|
2620
2620
|
hebrew: -6
|
|
2621
|
-
}, bt = /* @__PURE__ */ Z(Ii, "string"), fd = /* @__PURE__ */ Z(Ii, "boolean"), hd = /* @__PURE__ */ Z(Ii, "number"), G = /* @__PURE__ */ ks.map(((t) => t + "s")),
|
|
2621
|
+
}, bt = /* @__PURE__ */ Z(Ii, "string"), fd = /* @__PURE__ */ Z(Ii, "boolean"), hd = /* @__PURE__ */ Z(Ii, "number"), G = /* @__PURE__ */ ks.map(((t) => t + "s")), Ms = /* @__PURE__ */ xr(G), dd = /* @__PURE__ */ G.slice(0, 6), Hu = /* @__PURE__ */ G.slice(6), pd = /* @__PURE__ */ Hu.slice(1), md = /* @__PURE__ */ Au(G), gt = /* @__PURE__ */ Vn(G, 0), xs = /* @__PURE__ */ Vn(dd, 0), Ds = /* @__PURE__ */ Z(dc, G), Kt = ["isoNanosecond", "isoMicrosecond", "isoMillisecond", "isoSecond", "isoMinute", "isoHour"], As = ["isoDay", "isoMonth", "isoYear"], Ko = /* @__PURE__ */ Kt.concat(As), Is = /* @__PURE__ */ xr(As), zu = /* @__PURE__ */ xr(Kt), gd = /* @__PURE__ */ xr(Ko), jt = /* @__PURE__ */ Vn(zu, 0), vd = /* @__PURE__ */ Z(dc, Ko), Rs = 1e8, Ns = Rs * Rt, wd = [Rs, 0], bd = [-Rs, 0], Pr = 275760, Or = -271821, Fe = Intl.DateTimeFormat, Uu = "en-GB", yd = 1970, ye = 1972, Ie = 12, Td = /* @__PURE__ */ Yn(1868, 9, 8), Cd = /* @__PURE__ */ Yt(nf, WeakMap), To = "smallestUnit", Ti = "unit", yr = "roundingIncrement", di = "fractionalSecondDigits", Zu = "relativeTo", pi = "direction", Lu = {
|
|
2622
2622
|
constrain: 0,
|
|
2623
2623
|
reject: 1
|
|
2624
2624
|
}, Sd = /* @__PURE__ */ Object.keys(Lu), kd = {
|
|
@@ -2643,7 +2643,7 @@ const Dh = /* @__PURE__ */ r((t, e) => `Non-integer ${t}: ${e}`, "expectedIntege
|
|
|
2643
2643
|
}, Od = {
|
|
2644
2644
|
auto: 0,
|
|
2645
2645
|
never: 1
|
|
2646
|
-
},
|
|
2646
|
+
}, Md = {
|
|
2647
2647
|
floor: 0,
|
|
2648
2648
|
halfFloor: 1,
|
|
2649
2649
|
ceil: 2,
|
|
@@ -2653,10 +2653,10 @@ const Dh = /* @__PURE__ */ r((t, e) => `Non-integer ${t}: ${e}`, "expectedIntege
|
|
|
2653
2653
|
expand: 6,
|
|
2654
2654
|
halfExpand: 7,
|
|
2655
2655
|
halfEven: 8
|
|
2656
|
-
},
|
|
2656
|
+
}, xd = {
|
|
2657
2657
|
previous: -1,
|
|
2658
2658
|
next: 1
|
|
2659
|
-
}, Yr = /* @__PURE__ */ Z(Gi, To), qu = /* @__PURE__ */ Z(Gi, "largestUnit"), Dd = /* @__PURE__ */ Z(Gi, Ti), Wu = /* @__PURE__ */ Z(Le, "overflow", Lu), Gu = /* @__PURE__ */ Z(Le, "disambiguation", kd), Ad = /* @__PURE__ */ Z(Le, "offset", Ed), js = /* @__PURE__ */ Z(Le, "calendarName", Bd), Id = /* @__PURE__ */ Z(Le, "timeZoneName", Pd), Rd = /* @__PURE__ */ Z(Le, "offset", Od), _r = /* @__PURE__ */ Z(Le, "roundingMode",
|
|
2659
|
+
}, Yr = /* @__PURE__ */ Z(Gi, To), qu = /* @__PURE__ */ Z(Gi, "largestUnit"), Dd = /* @__PURE__ */ Z(Gi, Ti), Wu = /* @__PURE__ */ Z(Le, "overflow", Lu), Gu = /* @__PURE__ */ Z(Le, "disambiguation", kd), Ad = /* @__PURE__ */ Z(Le, "offset", Ed), js = /* @__PURE__ */ Z(Le, "calendarName", Bd), Id = /* @__PURE__ */ Z(Le, "timeZoneName", Pd), Rd = /* @__PURE__ */ Z(Le, "offset", Od), _r = /* @__PURE__ */ Z(Le, "roundingMode", Md), $s = "PlainYearMonth", Vs = "PlainMonthDay", Hr = "PlainDate", Xn = "PlainDateTime", Fs = "PlainTime", Qe = "ZonedDateTime", Ys = "Instant", _s = "Duration", Nd = [Math.floor, (t) => no(t) ? Math.floor(t) : Math.round(t), Math.ceil, (t) => no(t) ? Math.ceil(t) : Math.round(t), Math.trunc, (t) => no(t) ? Math.trunc(t) || 0 : Math.round(t), (t) => t < 0 ? Math.floor(t) : Math.ceil(t), (t) => Math.sign(t) * Math.round(Math.abs(t)) || 0, (t) => no(t) ? (t = Math.trunc(t) || 0) + t % 2 : Math.round(t)], Tn = "UTC", co = 5184e3, jd = /* @__PURE__ */ mo(1847), $d = /* @__PURE__ */ mo(/* @__PURE__ */ (/* @__PURE__ */ new Date()).getUTCFullYear() + 10), Vd = /0+$/, zt = /* @__PURE__ */ Yt(wf, WeakMap), oc = 2 ** 32 - 1, _ = /* @__PURE__ */ Yt(((t) => {
|
|
2660
2660
|
const e = gs(t);
|
|
2661
2661
|
return typeof e == "object" ? new Si(e) : new Ci(e || 0);
|
|
2662
2662
|
})), aa = class aa {
|
|
@@ -2714,10 +2714,10 @@ const ca = class ca {
|
|
|
2714
2714
|
let [l, v] = Wa(y);
|
|
2715
2715
|
const p = co * w, g = w < 0 ? () => v > h || (h = y, 0) : () => l < f || (f = y, 0);
|
|
2716
2716
|
for (; g(); ) {
|
|
2717
|
-
const T = s(l),
|
|
2718
|
-
if (T !==
|
|
2717
|
+
const T = s(l), M = s(v);
|
|
2718
|
+
if (T !== M) {
|
|
2719
2719
|
const D = c(l, v);
|
|
2720
|
-
i(D, T,
|
|
2720
|
+
i(D, T, M);
|
|
2721
2721
|
const k = D[0];
|
|
2722
2722
|
if ((Ve(k, d) || 1) === w)
|
|
2723
2723
|
return k;
|
|
@@ -2732,15 +2732,15 @@ const ca = class ca {
|
|
|
2732
2732
|
})(e));
|
|
2733
2733
|
}
|
|
2734
2734
|
R(e) {
|
|
2735
|
-
return this.nn.rn(((n) =>
|
|
2735
|
+
return this.nn.rn(((n) => xa(n)[0])(e)) * ie;
|
|
2736
2736
|
}
|
|
2737
2737
|
I(e) {
|
|
2738
2738
|
const [n, o] = [mo((i = e).isoYear, i.isoMonth, i.isoDay, i.isoHour, i.isoMinute, i.isoSecond), i.isoMillisecond * Ee + i.isoMicrosecond * Vr + i.isoNanosecond];
|
|
2739
2739
|
var i;
|
|
2740
|
-
return this.nn.tn(n).map(((s) =>
|
|
2740
|
+
return this.nn.tn(n).map(((s) => fe(dn(po(s, ie), o))));
|
|
2741
2741
|
}
|
|
2742
2742
|
O(e, n) {
|
|
2743
|
-
const [o, i] =
|
|
2743
|
+
const [o, i] = xa(e), s = this.nn.O(o + (n > 0 || i ? 1 : 0), n);
|
|
2744
2744
|
if (s !== void 0)
|
|
2745
2745
|
return po(s, ie);
|
|
2746
2746
|
}
|
|
@@ -2758,7 +2758,7 @@ const Hs = "([+-])", uo = "(?:[.,](\\d{1,9}))?", Xu = `(?:(?:${Hs}(\\d{6}))|(\\d
|
|
|
2758
2758
|
second: "numeric"
|
|
2759
2759
|
}))), Wd = /^(AC|AE|AG|AR|AS|BE|BS|CA|CN|CS|CT|EA|EC|IE|IS|JS|MI|NE|NS|PL|PN|PR|PS|SS|VS)T$/, Gd = /[^\w\/:+-]+/, Xd = /^M(\d{2})(L?)$/, Kd = /* @__PURE__ */ Yt(Uf), Zs = /* @__PURE__ */ Yt(((t) => new Fe(Uu, {
|
|
2760
2760
|
calendar: t,
|
|
2761
|
-
timeZone:
|
|
2761
|
+
timeZone: Tn,
|
|
2762
2762
|
era: "short",
|
|
2763
2763
|
year: "numeric",
|
|
2764
2764
|
month: "short",
|
|
@@ -2771,10 +2771,10 @@ const Hs = "([+-])", uo = "(?:[.,](\\d{1,9}))?", Xu = `(?:(?:${Hs}(\\d{6}))|(\\d
|
|
|
2771
2771
|
i = ((d, w, y, l, v) => {
|
|
2772
2772
|
let [p, g, T] = d.v(w);
|
|
2773
2773
|
if (y) {
|
|
2774
|
-
const [
|
|
2775
|
-
p += y, g = bo(
|
|
2774
|
+
const [M, D] = d.q(p, g);
|
|
2775
|
+
p += y, g = bo(M, D, d.L(p)), g = Te("month", g, 1, d.B(p), v);
|
|
2776
2776
|
}
|
|
2777
|
-
return l && ([p, g] = d.un(p, g, l)), T =
|
|
2777
|
+
return l && ([p, g] = d.un(p, g, l)), T = Te("day", T, 1, d.U(p, g), v), d.p(p, g, T);
|
|
2778
2778
|
})(this, t, s, c, o);
|
|
2779
2779
|
else {
|
|
2780
2780
|
if (!h && !f)
|
|
@@ -2783,7 +2783,7 @@ const Hs = "([+-])", uo = "(?:[.,](\\d{1,9}))?", Xu = `(?:(?:${Hs}(\\d{6}))|(\\d
|
|
|
2783
2783
|
}
|
|
2784
2784
|
if (i === void 0)
|
|
2785
2785
|
throw new RangeError(Je);
|
|
2786
|
-
return i += (7 * h + f) * Rt, Lt(
|
|
2786
|
+
return i += (7 * h + f) * Rt, Lt(xo(i));
|
|
2787
2787
|
},
|
|
2788
2788
|
N(t, e, n) {
|
|
2789
2789
|
if (n <= 7) {
|
|
@@ -2802,23 +2802,23 @@ const Hs = "([+-])", uo = "(?:[.,](\\d{1,9}))?", Xu = `(?:(?:${Hs}(\\d{6}))|(\\d
|
|
|
2802
2802
|
}
|
|
2803
2803
|
const o = this.v(t), i = this.v(e);
|
|
2804
2804
|
let [s, c, h] = ((f, d, w, y, l, v, p) => {
|
|
2805
|
-
let g = l - d, T = v - w,
|
|
2805
|
+
let g = l - d, T = v - w, M = p - y;
|
|
2806
2806
|
if (g || T) {
|
|
2807
2807
|
const D = Math.sign(g || T);
|
|
2808
2808
|
let k = f.U(l, v), b = 0;
|
|
2809
|
-
if (Math.sign(
|
|
2809
|
+
if (Math.sign(M) === -D) {
|
|
2810
2810
|
const B = k;
|
|
2811
2811
|
[l, v] = f.un(l, v, -D), g = l - d, T = v - w, k = f.U(l, v), b = D < 0 ? -B : k;
|
|
2812
2812
|
}
|
|
2813
|
-
if (
|
|
2814
|
-
const [B,
|
|
2815
|
-
if (T = A - B || Number(W) - Number(
|
|
2813
|
+
if (M = p - Math.min(y, k) + b, g) {
|
|
2814
|
+
const [B, x] = f.q(d, w), [A, W] = f.q(l, v);
|
|
2815
|
+
if (T = A - B || Number(W) - Number(x), Math.sign(T) === -D) {
|
|
2816
2816
|
const U = D < 0 && -f.B(l);
|
|
2817
|
-
g = (l -= D) - d, T = v - bo(B,
|
|
2817
|
+
g = (l -= D) - d, T = v - bo(B, x, f.L(l)) + (U || f.B(l));
|
|
2818
2818
|
}
|
|
2819
2819
|
}
|
|
2820
2820
|
}
|
|
2821
|
-
return [g, T,
|
|
2821
|
+
return [g, T, M];
|
|
2822
2822
|
})(this, ...o, ...i);
|
|
2823
2823
|
return n === 8 && (c += this.cn(s, o[0]), s = 0), {
|
|
2824
2824
|
...gt,
|
|
@@ -2839,7 +2839,7 @@ const Hs = "([+-])", uo = "(?:[.,](\\d{1,9}))?", Xu = `(?:(?:${Hs}(\\d{6}))|(\\d
|
|
|
2839
2839
|
const n = q(e);
|
|
2840
2840
|
let o, i, s, c = t.eraYear !== void 0 || t.year !== void 0 ? ci(this, t) : void 0;
|
|
2841
2841
|
const h = !this.id;
|
|
2842
|
-
if (c === void 0 && h && (c =
|
|
2842
|
+
if (c === void 0 && h && (c = ye), c !== void 0) {
|
|
2843
2843
|
const y = io(this, t, c, n);
|
|
2844
2844
|
o = ui(this, t, y, c, n);
|
|
2845
2845
|
const l = this.L(c);
|
|
@@ -2848,16 +2848,16 @@ const Hs = "([+-])", uo = "(?:[.,](\\d{1,9}))?", Xu = `(?:(?:${Hs}(\\d{6}))|(\\d
|
|
|
2848
2848
|
if (t.monthCode === void 0)
|
|
2849
2849
|
throw new TypeError(Pu);
|
|
2850
2850
|
if ([i, s] = ys(t.monthCode), this.id && this.id !== Gn && this.id !== Ze)
|
|
2851
|
-
if (this.id &&
|
|
2851
|
+
if (this.id && mn(this.id) === "coptic" && n === 0) {
|
|
2852
2852
|
const y = s || i !== 13 ? 30 : 6;
|
|
2853
2853
|
o = t.day, o = Cr(o, 1, y);
|
|
2854
|
-
} else if (this.id &&
|
|
2854
|
+
} else if (this.id && mn(this.id) === "chinese" && n === 0) {
|
|
2855
2855
|
const y = !s || i !== 1 && i !== 9 && i !== 10 && i !== 11 && i !== 12 ? 30 : 29;
|
|
2856
2856
|
o = t.day, o = Cr(o, 1, y);
|
|
2857
2857
|
} else
|
|
2858
2858
|
o = t.day;
|
|
2859
2859
|
else
|
|
2860
|
-
o = ui(this, t, io(this, t,
|
|
2860
|
+
o = ui(this, t, io(this, t, ye, n), ye, n);
|
|
2861
2861
|
}
|
|
2862
2862
|
const f = this.G(i, s, o);
|
|
2863
2863
|
if (!f)
|
|
@@ -2934,7 +2934,7 @@ const Hs = "([+-])", uo = "(?:[.,](\\d{1,9}))?", Xu = `(?:(?:${Hs}(\\d{6}))|(\\d
|
|
|
2934
2934
|
q: Cc,
|
|
2935
2935
|
G(t, e) {
|
|
2936
2936
|
if (!e)
|
|
2937
|
-
return [
|
|
2937
|
+
return [ye, t];
|
|
2938
2938
|
},
|
|
2939
2939
|
sn: Ui,
|
|
2940
2940
|
L() {
|
|
@@ -2975,7 +2975,7 @@ const Hs = "([+-])", uo = "(?:[.,](\\d{1,9}))?", Xu = `(?:(?:${Hs}(\\d{6}))|(\\d
|
|
|
2975
2975
|
hn: gu,
|
|
2976
2976
|
q: mu,
|
|
2977
2977
|
G(t, e, n) {
|
|
2978
|
-
const o = this.id &&
|
|
2978
|
+
const o = this.id && mn(this.id) === "chinese" ? ((d, w, y) => {
|
|
2979
2979
|
if (w)
|
|
2980
2980
|
switch (d) {
|
|
2981
2981
|
case 1:
|
|
@@ -3004,7 +3004,7 @@ const Hs = "([+-])", uo = "(?:[.,](\\d{1,9}))?", Xu = `(?:(?:${Hs}(\\d{6}))|(\\d
|
|
|
3004
3004
|
return 1890;
|
|
3005
3005
|
}
|
|
3006
3006
|
return 1972;
|
|
3007
|
-
})(t, e, n) :
|
|
3007
|
+
})(t, e, n) : ye;
|
|
3008
3008
|
let [i, s, c] = yo.call(this, {
|
|
3009
3009
|
isoYear: o,
|
|
3010
3010
|
isoMonth: Ie,
|
|
@@ -3034,7 +3034,7 @@ const Hs = "([+-])", uo = "(?:[.,](\\d{1,9}))?", Xu = `(?:(?:${Hs}(\\d{6}))|(\\d
|
|
|
3034
3034
|
U: nc,
|
|
3035
3035
|
fn: ro,
|
|
3036
3036
|
V(t, e, n) {
|
|
3037
|
-
return
|
|
3037
|
+
return xo(Br.call(this, t, e, n));
|
|
3038
3038
|
},
|
|
3039
3039
|
p: Br,
|
|
3040
3040
|
un(t, e, n) {
|
|
@@ -3066,17 +3066,17 @@ const Hs = "([+-])", uo = "(?:[.,](\\d{1,9}))?", Xu = `(?:(?:${Hs}(\\d{6}))|(\\d
|
|
|
3066
3066
|
era: so,
|
|
3067
3067
|
eraYear: kt,
|
|
3068
3068
|
year: kt,
|
|
3069
|
-
month:
|
|
3069
|
+
month: Ma,
|
|
3070
3070
|
monthCode(t) {
|
|
3071
3071
|
const e = so(t);
|
|
3072
3072
|
return ys(e), e;
|
|
3073
3073
|
},
|
|
3074
|
-
day:
|
|
3074
|
+
day: Ma,
|
|
3075
3075
|
.../* @__PURE__ */ Vn(Be, kt),
|
|
3076
3076
|
.../* @__PURE__ */ Vn(G, ji),
|
|
3077
3077
|
offset(t) {
|
|
3078
3078
|
const e = so(t);
|
|
3079
|
-
return
|
|
3079
|
+
return bn(e), e;
|
|
3080
3080
|
}
|
|
3081
3081
|
}, Ls = /* @__PURE__ */ Z(fc, Be, Kt), ip = /* @__PURE__ */ Z(fc, Kt, Be), Ye = "numeric", zr = ["timeZoneName"], Qu = {
|
|
3082
3082
|
month: Ye,
|
|
@@ -3092,7 +3092,7 @@ const Hs = "([+-])", uo = "(?:[.,](\\d{1,9}))?", Xu = `(?:(?:${Hs}(\\d{6}))|(\\d
|
|
|
3092
3092
|
second: Ye
|
|
3093
3093
|
}, Xs = /* @__PURE__ */ Object.assign({}, Ws, Gs), sp = /* @__PURE__ */ Object.assign({}, Xs, {
|
|
3094
3094
|
timeZoneName: "short"
|
|
3095
|
-
}), ap = /* @__PURE__ */ Object.keys(qs), cp = /* @__PURE__ */ Object.keys(Qu), up = /* @__PURE__ */ Object.keys(Ws), lp = /* @__PURE__ */ Object.keys(Gs), Ks = ["dateStyle"], fp = /* @__PURE__ */ ap.concat(Ks), hp = /* @__PURE__ */ cp.concat(Ks), Js = /* @__PURE__ */ up.concat(Ks, ["weekday"]), Ur = /* @__PURE__ */ lp.concat(["dayPeriod", "timeStyle", "fractionalSecondDigits"]), Qs = /* @__PURE__ */ Js.concat(Ur), dp = /* @__PURE__ */ zr.concat(Ur), pp = /* @__PURE__ */ zr.concat(Js), mp = /* @__PURE__ */ zr.concat(["day", "weekday"], Ur), gp = /* @__PURE__ */ zr.concat(["year", "weekday"], Ur), vp = /* @__PURE__ */
|
|
3095
|
+
}), ap = /* @__PURE__ */ Object.keys(qs), cp = /* @__PURE__ */ Object.keys(Qu), up = /* @__PURE__ */ Object.keys(Ws), lp = /* @__PURE__ */ Object.keys(Gs), Ks = ["dateStyle"], fp = /* @__PURE__ */ ap.concat(Ks), hp = /* @__PURE__ */ cp.concat(Ks), Js = /* @__PURE__ */ up.concat(Ks, ["weekday"]), Ur = /* @__PURE__ */ lp.concat(["dayPeriod", "timeStyle", "fractionalSecondDigits"]), Qs = /* @__PURE__ */ Js.concat(Ur), dp = /* @__PURE__ */ zr.concat(Ur), pp = /* @__PURE__ */ zr.concat(Js), mp = /* @__PURE__ */ zr.concat(["day", "weekday"], Ur), gp = /* @__PURE__ */ zr.concat(["year", "weekday"], Ur), vp = /* @__PURE__ */ yn(Qs, Xs), wp = /* @__PURE__ */ yn(Qs, sp), bp = /* @__PURE__ */ yn(Qs, Xs, zr), yp = /* @__PURE__ */ yn(Js, Ws, dp), Tp = /* @__PURE__ */ yn(Ur, Gs, pp), Cp = /* @__PURE__ */ yn(fp, qs, mp), Sp = /* @__PURE__ */ yn(hp, Qu, gp), kp = {}, tl = new Fe(void 0, {
|
|
3096
3096
|
calendar: L
|
|
3097
3097
|
}).resolvedOptions().calendar === L, el = [vp, Xi], Ep = [wp, Xi, 0, (t, e) => {
|
|
3098
3098
|
const n = t.timeZone;
|
|
@@ -3115,15 +3115,15 @@ function tn(t, e, n, o, i) {
|
|
|
3115
3115
|
}
|
|
3116
3116
|
r(c, "bindMethod");
|
|
3117
3117
|
function h(f) {
|
|
3118
|
-
const d =
|
|
3118
|
+
const d = Mt(f);
|
|
3119
3119
|
if (!d || d.branding !== t)
|
|
3120
3120
|
throw new TypeError(vi);
|
|
3121
3121
|
return d;
|
|
3122
3122
|
}
|
|
3123
3123
|
return r(h, "getSpecificSlots"), Object.defineProperties(s.prototype, {
|
|
3124
|
-
...Ql(
|
|
3125
|
-
...Nn(
|
|
3126
|
-
...
|
|
3124
|
+
...Ql(Ce(c, n)),
|
|
3125
|
+
...Nn(Ce(c, o)),
|
|
3126
|
+
...xi("Temporal." + t)
|
|
3127
3127
|
}), Object.defineProperties(s, {
|
|
3128
3128
|
...Nn(i),
|
|
3129
3129
|
...Tr(t)
|
|
@@ -3134,7 +3134,7 @@ function tn(t, e, n, o, i) {
|
|
|
3134
3134
|
}
|
|
3135
3135
|
r(tn, "createSlotClass");
|
|
3136
3136
|
function Kn(t) {
|
|
3137
|
-
if (
|
|
3137
|
+
if (Mt(t) || t.calendar !== void 0 || t.timeZone !== void 0)
|
|
3138
3138
|
throw new TypeError(Yh);
|
|
3139
3139
|
return t;
|
|
3140
3140
|
}
|
|
@@ -3151,7 +3151,7 @@ function al(t) {
|
|
|
3151
3151
|
r(al, "extractCalendarIdFromBag");
|
|
3152
3152
|
function ti(t) {
|
|
3153
3153
|
if (Pt(t)) {
|
|
3154
|
-
const { calendar: e } =
|
|
3154
|
+
const { calendar: e } = Mt(t) || {};
|
|
3155
3155
|
if (!e)
|
|
3156
3156
|
throw new TypeError(Ou(t));
|
|
3157
3157
|
return e;
|
|
@@ -3175,9 +3175,9 @@ function en() {
|
|
|
3175
3175
|
r(en, "neverValueOf");
|
|
3176
3176
|
function Ft(t) {
|
|
3177
3177
|
if (Pt(t)) {
|
|
3178
|
-
const { timeZone: e } =
|
|
3178
|
+
const { timeZone: e } = Mt(t) || {};
|
|
3179
3179
|
if (!e)
|
|
3180
|
-
throw new TypeError(
|
|
3180
|
+
throw new TypeError(xu(t));
|
|
3181
3181
|
return e;
|
|
3182
3182
|
}
|
|
3183
3183
|
return ((e) => ms(Af(bt(e))))(t);
|
|
@@ -3185,16 +3185,16 @@ function Ft(t) {
|
|
|
3185
3185
|
r(Ft, "refineTimeZoneArg");
|
|
3186
3186
|
function ft(t) {
|
|
3187
3187
|
if (Pt(t)) {
|
|
3188
|
-
const e =
|
|
3188
|
+
const e = Mt(t);
|
|
3189
3189
|
return e && e.branding === _s ? e : th(t);
|
|
3190
3190
|
}
|
|
3191
|
-
return
|
|
3191
|
+
return xf(t);
|
|
3192
3192
|
}
|
|
3193
3193
|
r(ft, "toDurationSlots");
|
|
3194
3194
|
function vr(t) {
|
|
3195
3195
|
if (t !== void 0) {
|
|
3196
3196
|
if (Pt(t)) {
|
|
3197
|
-
const e =
|
|
3197
|
+
const e = Mt(t) || {};
|
|
3198
3198
|
switch (e.branding) {
|
|
3199
3199
|
case Qe:
|
|
3200
3200
|
case Hr:
|
|
@@ -3214,18 +3214,18 @@ function vr(t) {
|
|
|
3214
3214
|
r(vr, "refinePublicRelativeTo");
|
|
3215
3215
|
function Re(t, e) {
|
|
3216
3216
|
if (Pt(t)) {
|
|
3217
|
-
const o =
|
|
3217
|
+
const o = Mt(t) || {};
|
|
3218
3218
|
switch (o.branding) {
|
|
3219
3219
|
case Fs:
|
|
3220
3220
|
return q(e), o;
|
|
3221
3221
|
case Xn:
|
|
3222
|
-
return q(e),
|
|
3222
|
+
return q(e), de(o);
|
|
3223
3223
|
case Qe:
|
|
3224
3224
|
return q(e), Cu(_, o);
|
|
3225
3225
|
}
|
|
3226
3226
|
return Qf(t, e);
|
|
3227
3227
|
}
|
|
3228
|
-
const n =
|
|
3228
|
+
const n = Mf(t);
|
|
3229
3229
|
return q(e), n;
|
|
3230
3230
|
}
|
|
3231
3231
|
r(Re, "toPlainTimeSlots");
|
|
@@ -3235,7 +3235,7 @@ function ea(t) {
|
|
|
3235
3235
|
r(ea, "optionalToPlainTimeFields");
|
|
3236
3236
|
function Pn(t, e) {
|
|
3237
3237
|
if (Pt(t)) {
|
|
3238
|
-
const o =
|
|
3238
|
+
const o = Mt(t) || {};
|
|
3239
3239
|
switch (o.branding) {
|
|
3240
3240
|
case Xn:
|
|
3241
3241
|
return q(e), o;
|
|
@@ -3255,7 +3255,7 @@ function Pn(t, e) {
|
|
|
3255
3255
|
r(Pn, "toPlainDateTimeSlots");
|
|
3256
3256
|
function ac(t, e) {
|
|
3257
3257
|
if (Pt(t)) {
|
|
3258
|
-
const o =
|
|
3258
|
+
const o = Mt(t);
|
|
3259
3259
|
if (o && o.branding === Vs)
|
|
3260
3260
|
return q(e), o;
|
|
3261
3261
|
const i = al(t);
|
|
@@ -3267,16 +3267,16 @@ function ac(t, e) {
|
|
|
3267
3267
|
r(ac, "toPlainMonthDaySlots");
|
|
3268
3268
|
function On(t, e) {
|
|
3269
3269
|
if (Pt(t)) {
|
|
3270
|
-
const o =
|
|
3270
|
+
const o = Mt(t);
|
|
3271
3271
|
return o && o.branding === $s ? (q(e), o) : Kf($(Zr(t)), t, e);
|
|
3272
3272
|
}
|
|
3273
3273
|
const n = Pf($, t);
|
|
3274
3274
|
return q(e), n;
|
|
3275
3275
|
}
|
|
3276
3276
|
r(On, "toPlainYearMonthSlots");
|
|
3277
|
-
function
|
|
3277
|
+
function Mn(t, e) {
|
|
3278
3278
|
if (Pt(t)) {
|
|
3279
|
-
const o =
|
|
3279
|
+
const o = Mt(t) || {};
|
|
3280
3280
|
switch (o.branding) {
|
|
3281
3281
|
case Hr:
|
|
3282
3282
|
return q(e), o;
|
|
@@ -3290,10 +3290,10 @@ function xn(t, e) {
|
|
|
3290
3290
|
const n = cs(t);
|
|
3291
3291
|
return q(e), n;
|
|
3292
3292
|
}
|
|
3293
|
-
r(
|
|
3294
|
-
function
|
|
3293
|
+
r(Mn, "toPlainDateSlots");
|
|
3294
|
+
function xn(t, e) {
|
|
3295
3295
|
if (Pt(t)) {
|
|
3296
|
-
const n =
|
|
3296
|
+
const n = Mt(t);
|
|
3297
3297
|
if (n && n.branding === Qe)
|
|
3298
3298
|
return Ao(e), n;
|
|
3299
3299
|
const o = Zr(t);
|
|
@@ -3301,9 +3301,9 @@ function Mn(t, e) {
|
|
|
3301
3301
|
}
|
|
3302
3302
|
return Ef(t, e);
|
|
3303
3303
|
}
|
|
3304
|
-
r(
|
|
3304
|
+
r(xn, "toZonedDateTimeSlots");
|
|
3305
3305
|
function cc(t) {
|
|
3306
|
-
return
|
|
3306
|
+
return Ce(((e) => (n) => e(ki(n))), t);
|
|
3307
3307
|
}
|
|
3308
3308
|
r(cc, "adaptDateMethods");
|
|
3309
3309
|
function ki(t) {
|
|
@@ -3312,7 +3312,7 @@ function ki(t) {
|
|
|
3312
3312
|
r(ki, "slotsToIso");
|
|
3313
3313
|
function Dn(t) {
|
|
3314
3314
|
if (Pt(t)) {
|
|
3315
|
-
const e =
|
|
3315
|
+
const e = Mt(t);
|
|
3316
3316
|
if (e)
|
|
3317
3317
|
switch (e.branding) {
|
|
3318
3318
|
case Ys:
|
|
@@ -3331,7 +3331,7 @@ function Bp() {
|
|
|
3331
3331
|
r(t, "DateTimeFormatFunc");
|
|
3332
3332
|
function e(s, c = /* @__PURE__ */ Object.create(null)) {
|
|
3333
3333
|
So.set(this, ((h, f) => {
|
|
3334
|
-
const d = new Fe(h, f), w = d.resolvedOptions(), y = w.locale, l = Wt(Object.keys(f), w), v = Yt(
|
|
3334
|
+
const d = new Fe(h, f), w = d.resolvedOptions(), y = w.locale, l = Wt(Object.keys(f), w), v = Yt(Mp), p = /* @__PURE__ */ r((g, ...T) => {
|
|
3335
3335
|
if (g) {
|
|
3336
3336
|
if (T.length !== 2)
|
|
3337
3337
|
throw new TypeError(hi);
|
|
@@ -3340,15 +3340,15 @@ function Bp() {
|
|
|
3340
3340
|
throw new TypeError(hi);
|
|
3341
3341
|
}
|
|
3342
3342
|
g || T[0] !== void 0 || (T = []);
|
|
3343
|
-
const
|
|
3343
|
+
const M = T.map(((b) => Mt(b) || Number(b)));
|
|
3344
3344
|
let D, k = 0;
|
|
3345
|
-
for (const b of
|
|
3345
|
+
for (const b of M) {
|
|
3346
3346
|
const B = typeof b == "object" ? b.branding : void 0;
|
|
3347
3347
|
if (k++ && B !== D)
|
|
3348
3348
|
throw new TypeError(hi);
|
|
3349
3349
|
D = B;
|
|
3350
3350
|
}
|
|
3351
|
-
return D ? v(D)(y, l, ...
|
|
3351
|
+
return D ? v(D)(y, l, ...M) : [d, ...M];
|
|
3352
3352
|
}, "prepFormat");
|
|
3353
3353
|
return p.X = d, p;
|
|
3354
3354
|
})(s, c));
|
|
@@ -3379,33 +3379,33 @@ function Op(t) {
|
|
|
3379
3379
|
}), Tr(t));
|
|
3380
3380
|
}
|
|
3381
3381
|
r(Op, "createProxiedMethod");
|
|
3382
|
-
function
|
|
3382
|
+
function Mp(t) {
|
|
3383
3383
|
const e = Np[t];
|
|
3384
3384
|
if (!e)
|
|
3385
3385
|
throw new TypeError(id(t));
|
|
3386
3386
|
return Xe(e, Yt(Su), 1);
|
|
3387
3387
|
}
|
|
3388
|
-
r(
|
|
3389
|
-
const Co = /* @__PURE__ */ new WeakMap(),
|
|
3388
|
+
r(Mp, "createFormatPrepperForBranding");
|
|
3389
|
+
const Co = /* @__PURE__ */ new WeakMap(), Mt = /* @__PURE__ */ Co.get.bind(Co), uc = /* @__PURE__ */ Co.set.bind(Co), cl = {
|
|
3390
3390
|
era: tf,
|
|
3391
3391
|
eraYear: mc,
|
|
3392
3392
|
year: Ai,
|
|
3393
|
-
month:
|
|
3394
|
-
daysInMonth:
|
|
3395
|
-
daysInYear:
|
|
3393
|
+
month: ve,
|
|
3394
|
+
daysInMonth: ve,
|
|
3395
|
+
daysInYear: ve,
|
|
3396
3396
|
inLeapYear: fd,
|
|
3397
|
-
monthsInYear:
|
|
3397
|
+
monthsInYear: ve
|
|
3398
3398
|
}, na = {
|
|
3399
3399
|
monthCode: bt
|
|
3400
3400
|
}, ul = {
|
|
3401
|
-
day:
|
|
3402
|
-
},
|
|
3403
|
-
dayOfWeek:
|
|
3404
|
-
dayOfYear:
|
|
3401
|
+
day: ve
|
|
3402
|
+
}, xp = {
|
|
3403
|
+
dayOfWeek: ve,
|
|
3404
|
+
dayOfYear: ve,
|
|
3405
3405
|
weekOfYear: ef,
|
|
3406
3406
|
yearOfWeek: mc,
|
|
3407
|
-
daysInWeek:
|
|
3408
|
-
}, ra = /* @__PURE__ */ ta(/* @__PURE__ */ Object.assign({}, cl, na, ul,
|
|
3407
|
+
daysInWeek: ve
|
|
3408
|
+
}, ra = /* @__PURE__ */ ta(/* @__PURE__ */ Object.assign({}, cl, na, ul, xp)), Dp = /* @__PURE__ */ ta({
|
|
3409
3409
|
...cl,
|
|
3410
3410
|
...na
|
|
3411
3411
|
}), Ap = /* @__PURE__ */ ta({
|
|
@@ -3470,7 +3470,7 @@ const Co = /* @__PURE__ */ new WeakMap(), xt = /* @__PURE__ */ Co.get.bind(Co),
|
|
|
3470
3470
|
}, {
|
|
3471
3471
|
with: /* @__PURE__ */ r((t, e, n) => re(nh($, t, Kn(e), n)), "with"),
|
|
3472
3472
|
withCalendar: /* @__PURE__ */ r((t, e) => re(Cs(t, ti(e))), "withCalendar"),
|
|
3473
|
-
withPlainTime: /* @__PURE__ */ r((t, e) => re(
|
|
3473
|
+
withPlainTime: /* @__PURE__ */ r((t, e) => re(Mh(t, ea(e))), "withPlainTime"),
|
|
3474
3474
|
add: /* @__PURE__ */ r((t, e, n) => re(za($, 0, t, ft(e), n)), "add"),
|
|
3475
3475
|
subtract: /* @__PURE__ */ r((t, e, n) => re(za($, 1, t, ft(e), n)), "subtract"),
|
|
3476
3476
|
until: /* @__PURE__ */ r((t, e, n) => nt(Ja($, 0, t, Pn(e), n)), "until"),
|
|
@@ -3479,7 +3479,7 @@ const Co = /* @__PURE__ */ new WeakMap(), xt = /* @__PURE__ */ Co.get.bind(Co),
|
|
|
3479
3479
|
equals: /* @__PURE__ */ r((t, e) => $f(t, Pn(e)), "equals"),
|
|
3480
3480
|
toZonedDateTime: /* @__PURE__ */ r((t, e, n) => St(wh(_, t, Ft(e), n)), "toZonedDateTime"),
|
|
3481
3481
|
toPlainDate: /* @__PURE__ */ r((t) => oe(ke(t)), "toPlainDate"),
|
|
3482
|
-
toPlainTime: /* @__PURE__ */ r((t) => je(
|
|
3482
|
+
toPlainTime: /* @__PURE__ */ r((t) => je(de(t)), "toPlainTime"),
|
|
3483
3483
|
toLocaleString(t, e, n) {
|
|
3484
3484
|
const [o, i] = Vp(e, n, t);
|
|
3485
3485
|
return o.format(i);
|
|
@@ -3539,9 +3539,9 @@ const Co = /* @__PURE__ */ new WeakMap(), xt = /* @__PURE__ */ Co.get.bind(Co),
|
|
|
3539
3539
|
withCalendar: /* @__PURE__ */ r((t, e) => oe(Cs(t, ti(e))), "withCalendar"),
|
|
3540
3540
|
add: /* @__PURE__ */ r((t, e, n) => oe(Ua($, 0, t, ft(e), n)), "add"),
|
|
3541
3541
|
subtract: /* @__PURE__ */ r((t, e, n) => oe(Ua($, 1, t, ft(e), n)), "subtract"),
|
|
3542
|
-
until: /* @__PURE__ */ r((t, e, n) => nt(Qa($, 0, t,
|
|
3543
|
-
since: /* @__PURE__ */ r((t, e, n) => nt(Qa($, 1, t,
|
|
3544
|
-
equals: /* @__PURE__ */ r((t, e) => Vf(t,
|
|
3542
|
+
until: /* @__PURE__ */ r((t, e, n) => nt(Qa($, 0, t, Mn(e), n)), "until"),
|
|
3543
|
+
since: /* @__PURE__ */ r((t, e, n) => nt(Qa($, 1, t, Mn(e), n)), "since"),
|
|
3544
|
+
equals: /* @__PURE__ */ r((t, e) => Vf(t, Mn(e)), "equals"),
|
|
3545
3545
|
toZonedDateTime(t, e) {
|
|
3546
3546
|
const n = Pt(e) ? e : {
|
|
3547
3547
|
timeZone: e
|
|
@@ -3563,8 +3563,8 @@ const Co = /* @__PURE__ */ new WeakMap(), xt = /* @__PURE__ */ Co.get.bind(Co),
|
|
|
3563
3563
|
toJSON: /* @__PURE__ */ r((t) => ja(t), "toJSON"),
|
|
3564
3564
|
valueOf: en
|
|
3565
3565
|
}, {
|
|
3566
|
-
from: /* @__PURE__ */ r((t, e) => oe(
|
|
3567
|
-
compare: /* @__PURE__ */ r((t, e) => qn(
|
|
3566
|
+
from: /* @__PURE__ */ r((t, e) => oe(Mn(t, e)), "from"),
|
|
3567
|
+
compare: /* @__PURE__ */ r((t, e) => qn(Mn(t), Mn(e)), "compare")
|
|
3568
3568
|
}), [Wp, St] = tn(Qe, Z(uh, jr, If), {
|
|
3569
3569
|
...ll,
|
|
3570
3570
|
...Lr,
|
|
@@ -3577,15 +3577,15 @@ const Co = /* @__PURE__ */ new WeakMap(), xt = /* @__PURE__ */ Co.get.bind(Co),
|
|
|
3577
3577
|
}, {
|
|
3578
3578
|
with: /* @__PURE__ */ r((t, e, n) => St(eh($, _, t, Kn(e), n)), "with"),
|
|
3579
3579
|
withCalendar: /* @__PURE__ */ r((t, e) => St(Cs(t, ti(e))), "withCalendar"),
|
|
3580
|
-
withTimeZone: /* @__PURE__ */ r((t, e) => St(
|
|
3580
|
+
withTimeZone: /* @__PURE__ */ r((t, e) => St(xh(t, Ft(e))), "withTimeZone"),
|
|
3581
3581
|
withPlainTime: /* @__PURE__ */ r((t, e) => St(Oh(_, t, ea(e))), "withPlainTime"),
|
|
3582
3582
|
add: /* @__PURE__ */ r((t, e, n) => St(Ha($, _, 0, t, ft(e), n)), "add"),
|
|
3583
3583
|
subtract: /* @__PURE__ */ r((t, e, n) => St(Ha($, _, 1, t, ft(e), n)), "subtract"),
|
|
3584
|
-
until: /* @__PURE__ */ r((t, e, n) => nt(ht(Ka($, _, 0, t,
|
|
3585
|
-
since: /* @__PURE__ */ r((t, e, n) => nt(ht(Ka($, _, 1, t,
|
|
3584
|
+
until: /* @__PURE__ */ r((t, e, n) => nt(ht(Ka($, _, 0, t, xn(e), n))), "until"),
|
|
3585
|
+
since: /* @__PURE__ */ r((t, e, n) => nt(ht(Ka($, _, 1, t, xn(e), n))), "since"),
|
|
3586
3586
|
round: /* @__PURE__ */ r((t, e) => St(cf(_, t, e)), "round"),
|
|
3587
3587
|
startOfDay: /* @__PURE__ */ r((t) => St(hf(_, t)), "startOfDay"),
|
|
3588
|
-
equals: /* @__PURE__ */ r((t, e) => jf(t,
|
|
3588
|
+
equals: /* @__PURE__ */ r((t, e) => jf(t, xn(e)), "equals"),
|
|
3589
3589
|
toInstant: /* @__PURE__ */ r((t) => Ne(vh(t)), "toInstant"),
|
|
3590
3590
|
toPlainDateTime: /* @__PURE__ */ r((t) => re(yu(_, t)), "toPlainDateTime"),
|
|
3591
3591
|
toPlainDate: /* @__PURE__ */ r((t) => oe(Tu(_, t)), "toPlainDate"),
|
|
@@ -3605,8 +3605,8 @@ const Co = /* @__PURE__ */ new WeakMap(), xt = /* @__PURE__ */ Co.get.bind(Co),
|
|
|
3605
3605
|
}) : null;
|
|
3606
3606
|
}
|
|
3607
3607
|
}, {
|
|
3608
|
-
from: /* @__PURE__ */ r((t, e) => St(
|
|
3609
|
-
compare: /* @__PURE__ */ r((t, e) => tu(
|
|
3608
|
+
from: /* @__PURE__ */ r((t, e) => St(xn(t, e)), "from"),
|
|
3609
|
+
compare: /* @__PURE__ */ r((t, e) => tu(xn(t), xn(e)), "compare")
|
|
3610
3610
|
}), [Gp, Ne] = tn(Ys, ch, ll, {
|
|
3611
3611
|
add: /* @__PURE__ */ r((t, e) => Ne(_a(0, t, ft(e))), "add"),
|
|
3612
3612
|
subtract: /* @__PURE__ */ r((t, e) => Ne(_a(1, t, ft(e))), "subtract"),
|
|
@@ -3628,17 +3628,17 @@ const Co = /* @__PURE__ */ new WeakMap(), xt = /* @__PURE__ */ Co.get.bind(Co),
|
|
|
3628
3628
|
fromEpochNanoseconds: /* @__PURE__ */ r((t) => Ne(Bh(t)), "fromEpochNanoseconds"),
|
|
3629
3629
|
compare: /* @__PURE__ */ r((t, e) => Qc(Dn(t), Dn(e)), "compare")
|
|
3630
3630
|
}), Xp = /* @__PURE__ */ Object.defineProperties({}, {
|
|
3631
|
-
...
|
|
3631
|
+
...xi("Temporal.Now"),
|
|
3632
3632
|
...Nn({
|
|
3633
3633
|
timeZoneId: /* @__PURE__ */ r(() => mr(), "timeZoneId"),
|
|
3634
3634
|
instant: /* @__PURE__ */ r(() => Ne(Se(gi())), "instant"),
|
|
3635
3635
|
zonedDateTimeISO: /* @__PURE__ */ r((t = mr()) => St(Gt(gi(), Ft(t), L)), "zonedDateTimeISO"),
|
|
3636
3636
|
plainDateTimeISO: /* @__PURE__ */ r((t = mr()) => re(Xt(fi(_(Ft(t))), L)), "plainDateTimeISO"),
|
|
3637
3637
|
plainDateISO: /* @__PURE__ */ r((t = mr()) => oe(ke(fi(_(Ft(t))), L)), "plainDateISO"),
|
|
3638
|
-
plainTimeISO: /* @__PURE__ */ r((t = mr()) => je(
|
|
3638
|
+
plainTimeISO: /* @__PURE__ */ r((t = mr()) => je(de(fi(_(Ft(t))))), "plainTimeISO")
|
|
3639
3639
|
})
|
|
3640
|
-
}),
|
|
3641
|
-
...
|
|
3640
|
+
}), ge = /* @__PURE__ */ Object.defineProperties({}, {
|
|
3641
|
+
...xi("Temporal"),
|
|
3642
3642
|
...Nn({
|
|
3643
3643
|
PlainYearMonth: Lp,
|
|
3644
3644
|
PlainMonthDay: Zp,
|
|
@@ -3655,34 +3655,34 @@ Object.create(Intl), Nn({
|
|
|
3655
3655
|
DateTimeFormat: Kp
|
|
3656
3656
|
});
|
|
3657
3657
|
function fl(t, e) {
|
|
3658
|
-
if (t instanceof
|
|
3658
|
+
if (t instanceof ge.ZonedDateTime)
|
|
3659
3659
|
return t;
|
|
3660
3660
|
if (t instanceof Date)
|
|
3661
3661
|
return fl(t.getTime());
|
|
3662
|
-
if (e || (e = $VST.DTTZ ??
|
|
3663
|
-
return
|
|
3662
|
+
if (e || (e = $VST.DTTZ ?? ge.Now.timeZoneId()), e = e, typeof t == "number")
|
|
3663
|
+
return ge.Instant.fromEpochMilliseconds(t).toZonedDateTimeISO(e);
|
|
3664
3664
|
if (!t)
|
|
3665
|
-
return
|
|
3665
|
+
return ge.Now.zonedDateTimeISO(e);
|
|
3666
3666
|
try {
|
|
3667
3667
|
let n = "";
|
|
3668
3668
|
if (typeof t == "string")
|
|
3669
3669
|
try {
|
|
3670
|
-
return
|
|
3670
|
+
return ge.PlainDateTime.from(t).toZonedDateTime(e);
|
|
3671
3671
|
} catch {
|
|
3672
3672
|
n = t;
|
|
3673
3673
|
}
|
|
3674
3674
|
try {
|
|
3675
|
-
return
|
|
3675
|
+
return ge.Instant.from(t.includes(" ") ? t.replace(" ", "T") + "Z" : t).toZonedDateTimeISO(e);
|
|
3676
3676
|
} catch {
|
|
3677
3677
|
try {
|
|
3678
|
-
return
|
|
3678
|
+
return ge.PlainDate.from(t).toZonedDateTime(e);
|
|
3679
3679
|
} catch {
|
|
3680
3680
|
t.includes(" ") && (n = t.replace(" ", "T")), !n.includes(".") && !n.includes("Z") && !n.includes("+") && (n += ".000"), !n.endsWith("Z") && !/[+-]\d{2}(:?\d{2})?$/.test(n) && (n += "Z"), /[+-]\d{2}$/.test(n) && (n += ":00");
|
|
3681
3681
|
}
|
|
3682
|
-
return
|
|
3682
|
+
return ge.Instant.from(n).toZonedDateTimeISO(e);
|
|
3683
3683
|
}
|
|
3684
3684
|
} catch (n) {
|
|
3685
|
-
return console.error?.("Не удалось преобразовать строку в формат ISO 8601", n),
|
|
3685
|
+
return console.error?.("Не удалось преобразовать строку в формат ISO 8601", n), ge.Now.zonedDateTimeISO(e);
|
|
3686
3686
|
}
|
|
3687
3687
|
}
|
|
3688
3688
|
r(fl, "DT");
|
|
@@ -3744,9 +3744,9 @@ const ia = new Bi();
|
|
|
3744
3744
|
return z.hasOwnProperty("*") ? z["*"] : H;
|
|
3745
3745
|
}
|
|
3746
3746
|
r(c, "e");
|
|
3747
|
-
var h = "function", f = "undefined", d = "object", w = "string", y = "major", l = "model", v = "name", p = "type", g = "vendor", T = "version",
|
|
3747
|
+
var h = "function", f = "undefined", d = "object", w = "string", y = "major", l = "model", v = "name", p = "type", g = "vendor", T = "version", M = "architecture", D = "console", k = "mobile", b = "tablet", B = "smarttv", x = "wearable", A = "embedded", W = "Amazon", U = "Apple", $t = "ASUS", xt = "BlackBerry", Oe = "Browser", st = "Chrome", on = "Firefox", sn = "Google", Jn = "Honor", an = "Huawei", Me = "LG", Qn = "Microsoft", tr = "Motorola", xe = "Nvidia", Cn = "OnePlus", De = "Opera", er = "OPPO", Jt = "Samsung", qr = "Sharp", pe = "Sony", nr = "Xiaomi", Sn = "Zebra", Wr = "Facebook", kn = "Chromium OS", Gr = "Mac OS", Xr = " Browser", vt = /* @__PURE__ */ r(function(H) {
|
|
3748
3748
|
return H.toLowerCase();
|
|
3749
|
-
}, "K"), rr = { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" }, or = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [T, [v, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [T, [v, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [v, T], [/opios[\/ ]+([\w\.]+)/i], [T, [v, De + " Mini"]], [/\bop(?:rg)?x\/([\w\.]+)/i], [T, [v, De + " GX"]], [/\bopr\/([\w\.]+)/i], [T, [v, De]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [T, [v, "Baidu"]], [/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i], [T, [v, "Maxthon"]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i, /(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i, /(heytap|ovi|115)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [v, T], [/quark(?:pc)?\/([-\w\.]+)/i], [T, [v, "Quark"]], [/\bddg\/([\w\.]+)/i], [T, [v, "DuckDuckGo"]], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [T, [v, "UC" + Oe]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [T, [v, "WeChat"]], [/konqueror\/([\w\.]+)/i], [T, [v, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [T, [v, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [T, [v, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [T, [v, "Smart Lenovo " + Oe]], [/(avast|avg)\/([\w\.]+)/i], [[v, /(.+)/, "$1 Secure " + Oe], T], [/\bfocus\/([\w\.]+)/i], [T, [v, nn + " Focus"]], [/\bopt\/([\w\.]+)/i], [T, [v, De + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [T, [v, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [T, [v, "Dolphin"]], [/coast\/([\w\.]+)/i], [T, [v, De + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [T, [v, "MIUI" + Xr]], [/fxios\/([\w\.-]+)/i], [T, [v, nn]], [/\bqihoobrowser\/?([\w\.]*)/i], [T, [v, "360"]], [/\b(qq)\/([\w\.]+)/i], [[v, /(.+)/, "$1Browser"], T], [/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i], [[v, /(.+)/, "$1" + Xr], T], [/samsungbrowser\/([\w\.]+)/i], [T, [v, Jt + " Internet"]], [/metasr[\/ ]?([\d\.]+)/i], [T, [v, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[v, "Sogou Mobile"], T], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i], [v, T], [/(lbbrowser|rekonq)/i, /\[(linkedin)app\]/i], [v], [/ome\/([\w\.]+) \w* ?(iron) saf/i, /ome\/([\w\.]+).+qihu (360)[es]e/i], [T, v], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[v, Wr], T], [/(Klarna)\/([\w\.]+)/i, /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /(daum)apps[\/ ]([\w\.]+)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(alipay)client\/([\w\.]+)/i, /(twitter)(?:and| f.+e\/([\w\.]+))/i, /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i], [v, T], [/\bgsa\/([\w\.]+) .*safari\//i], [T, [v, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [T, [v, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [T, [v, st + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[v, st + " WebView"], T], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [T, [v, "Android " + Oe]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [v, T], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [T, [v, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [T, v], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [v, [T, c, { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }]], [/(webkit|khtml)\/([\w\.]+)/i], [v, T], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[v, "Netscape"], T], [/(wolvic|librewolf)\/([\w\.]+)/i], [v, T], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [T, [v, nn + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /\b(links) \(([\w\.]+)/i], [v, [T, /_/g, "."]], [/(cobalt)\/([\w\.]+)/i], [v, [T, /master.|lts./, ""]]], cpu: [[/\b((amd|x|x86[-_]?|wow|win)64)\b/i], [[x, "amd64"]], [/(ia32(?=;))/i, /\b((i[346]|x)86)(pc)?\b/i], [[x, "ia32"]], [/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i], [[x, "arm64"]], [/\b(arm(v[67])?ht?n?[fl]p?)\b/i], [[x, "armhf"]], [/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i], [[x, "arm"]], [/((ppc|powerpc)(64)?)( mac|;|\))/i], [[x, /ower/, "", vt]], [/ sun4\w[;\)]/i], [[x, "sparc"]], [/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i], [[x, vt]]], device: [[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i], [l, [g, Jt], [p, b]], [/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]((?!sm-[lr])[-\w]+)/i, /sec-(sgh\w+)/i], [l, [g, Jt], [p, k]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [l, [g, U], [p, k]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [l, [g, U], [p, b]], [/(macintosh);/i], [l, [g, U]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [l, [g, qr], [p, k]], [/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i], [l, [g, Jn], [p, b]], [/honor([-\w ]+)[;\)]/i], [l, [g, Jn], [p, k]], [/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i], [l, [g, on], [p, b]], [/(?:huawei)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [l, [g, on], [p, k]], [/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i, /\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i], [[l, /_/g, " "], [g, nr], [p, b]], [/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i, / ([\w ]+) miui\/v?\d/i], [[l, /_/g, " "], [g, nr], [p, k]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [l, [g, er], [p, k]], [/\b(opd2(\d{3}a?))(?: bui|\))/i], [l, [g, c, { OnePlus: ["304", "403", "203"], "*": er }], [p, b]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [l, [g, "Vivo"], [p, k]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [l, [g, "Realme"], [p, k]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [l, [g, tr], [p, k]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [l, [g, tr], [p, b]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [l, [g, xe], [p, b]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i, /\blg-?([\d\w]+) bui/i], [l, [g, xe], [p, k]], [/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i, /lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i], [l, [g, "Lenovo"], [p, b]], [/(nokia) (t[12][01])/i], [g, l, [p, b]], [/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i, /nokia[-_ ]?(([-\w\. ]*))/i], [[l, /_/g, " "], [p, k], [g, "Nokia"]], [/(pixel (c|tablet))\b/i], [l, [g, rn], [p, b]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [l, [g, rn], [p, k]], [/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i], [l, [g, de], [p, k]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[l, "Xperia Tablet"], [g, de], [p, b]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [l, [g, Cn], [p, k]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [l, [g, W], [p, b]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[l, /(.+)/g, "Fire Phone $1"], [g, W], [p, k]], [/(playbook);[-\w\),; ]+(rim)/i], [l, g, [p, b]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [l, [g, Mt], [p, k]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [l, [g, $t], [p, b]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [l, [g, $t], [p, k]], [/(nexus 9)/i], [l, [g, "HTC"], [p, b]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [g, [l, /_/g, " "], [p, k]], [/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i], [l, [g, "TCL"], [p, b]], [/(itel) ((\w+))/i], [[g, vt], l, [p, c, { tablet: ["p10001l", "w7001"], "*": "mobile" }]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [l, [g, "Acer"], [p, b]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [l, [g, "Meizu"], [p, k]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [l, [g, "Ulefone"], [p, k]], [/; (energy ?\w+)(?: bui|\))/i, /; energizer ([\w ]+)(?: bui|\))/i], [l, [g, "Energizer"], [p, k]], [/; cat (b35);/i, /; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i], [l, [g, "Cat"], [p, k]], [/((?:new )?andromax[\w- ]+)(?: bui|\))/i], [l, [g, "Smartfren"], [p, k]], [/droid.+; (a(?:015|06[35]|142p?))/i], [l, [g, "Nothing"], [p, k]], [/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i, /archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i], [l, [g, "Archos"], [p, b]], [/archos ([\w ]+)( b|\))/i, /; (ac[3-6]\d\w{2,8})( b|\))/i], [l, [g, "Archos"], [p, k]], [/(imo) (tab \w+)/i, /(infinix) (x1101b?)/i], [g, l, [p, b]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i, /; (hmd|imo) ([\w ]+?)(?: bui|\))/i, /(hp) ([\w ]+\w)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i, /(oppo) ?([\w ]+) bui/i], [g, l, [p, k]], [/(kobo)\s(ereader|touch)/i, /(hp).+(touchpad(?!.+tablet)|tablet)/i, /(kindle)\/([\w\.]+)/i, /(nook)[\w ]+build\/(\w+)/i, /(dell) (strea[kpr\d ]*[\dko])/i, /(le[- ]+pan)[- ]+(\w{1,9}) bui/i, /(trinity)[- ]*(t\d{3}) bui/i, /(gigaset)[- ]+(q\w{1,9}) bui/i, /(vodafone) ([\w ]+)(?:\)| bui)/i], [g, l, [p, b]], [/(surface duo)/i], [l, [g, Qn], [p, b]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [l, [g, "Fairphone"], [p, k]], [/(u304aa)/i], [l, [g, "AT&T"], [p, k]], [/\bsie-(\w*)/i], [l, [g, "Siemens"], [p, k]], [/\b(rct\w+) b/i], [l, [g, "RCA"], [p, b]], [/\b(venue[\d ]{2,7}) b/i], [l, [g, "Dell"], [p, b]], [/\b(q(?:mv|ta)\w+) b/i], [l, [g, "Verizon"], [p, b]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [l, [g, "Barnes & Noble"], [p, b]], [/\b(tm\d{3}\w+) b/i], [l, [g, "NuVision"], [p, b]], [/\b(k88) b/i], [l, [g, "ZTE"], [p, b]], [/\b(nx\d{3}j) b/i], [l, [g, "ZTE"], [p, k]], [/\b(gen\d{3}) b.+49h/i], [l, [g, "Swiss"], [p, k]], [/\b(zur\d{3}) b/i], [l, [g, "Swiss"], [p, b]], [/\b((zeki)?tb.*\b) b/i], [l, [g, "Zeki"], [p, b]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[g, "Dragon Touch"], l, [p, b]], [/\b(ns-?\w{0,9}) b/i], [l, [g, "Insignia"], [p, b]], [/\b((nxa|next)-?\w{0,9}) b/i], [l, [g, "NextBook"], [p, b]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[g, "Voice"], l, [p, k]], [/\b(lvtel\-)?(v1[12]) b/i], [[g, "LvTel"], l, [p, k]], [/\b(ph-1) /i], [l, [g, "Essential"], [p, k]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [l, [g, "Envizen"], [p, b]], [/\b(trio[-\w\. ]+) b/i], [l, [g, "MachSpeed"], [p, b]], [/\btu_(1491) b/i], [l, [g, "Rotor"], [p, b]], [/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i], [l, [g, Me], [p, b]], [/(sprint) (\w+)/i], [g, l, [p, k]], [/(kin\.[onetw]{3})/i], [[l, /\./g, " "], [g, Qn], [p, k]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [l, [g, Sn], [p, b]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [l, [g, Sn], [p, k]], [/smart-tv.+(samsung)/i], [g, [p, B]], [/hbbtv.+maple;(\d+)/i], [[l, /^/, "SmartTV"], [g, Jt], [p, B]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[g, xe], [p, B]], [/(apple) ?tv/i], [g, [l, U + " TV"], [p, B]], [/crkey/i], [[l, st + "cast"], [g, rn], [p, B]], [/droid.+aft(\w+)( bui|\))/i], [l, [g, W], [p, B]], [/(shield \w+ tv)/i], [l, [g, Me], [p, B]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [l, [g, qr], [p, B]], [/(bravia[\w ]+)( bui|\))/i], [l, [g, de], [p, B]], [/(mi(tv|box)-?\w+) bui/i], [l, [g, nr], [p, B]], [/Hbbtv.*(technisat) (.*);/i], [g, l, [p, B]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[g, i], [l, i], [p, B]], [/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i], [l, [p, B]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[p, B]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [g, l, [p, D]], [/droid.+; (shield)( bui|\))/i], [l, [g, Me], [p, D]], [/(playstation \w+)/i], [l, [g, de], [p, D]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [l, [g, Qn], [p, D]], [/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i], [l, [g, Jt], [p, M]], [/((pebble))app/i, /(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i], [g, l, [p, M]], [/(ow(?:19|20)?we?[1-3]{1,3})/i], [l, [g, er], [p, M]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [l, [g, U], [p, M]], [/(opwwe\d{3})/i], [l, [g, Cn], [p, M]], [/(moto 360)/i], [l, [g, tr], [p, M]], [/(smartwatch 3)/i], [l, [g, de], [p, M]], [/(g watch r)/i], [l, [g, xe], [p, M]], [/droid.+; (wt63?0{2,3})\)/i], [l, [g, Sn], [p, M]], [/droid.+; (glass) \d/i], [l, [g, rn], [p, M]], [/(pico) (4|neo3(?: link|pro)?)/i], [g, l, [p, M]], [/; (quest( \d| pro)?)/i], [l, [g, Wr], [p, M]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [g, [p, A]], [/(aeobc)\b/i], [l, [g, W], [p, A]], [/(homepod).+mac os/i], [l, [g, U], [p, A]], [/windows iot/i], [[p, A]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [l, [p, k]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [l, [p, b]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[p, b]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[p, k]], [/droid .+?; ([\w\. -]+)( bui|\))/i], [l, [g, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [T, [v, "EdgeHTML"]], [/(arkweb)\/([\w\.]+)/i], [v, T], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [T, [v, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [v, T], [/ladybird\//i], [[v, "LibWeb"]], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [T, v]], os: [[/microsoft (windows) (vista|xp)/i], [v, T], [/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i], [v, [T, c, rr]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[T, c, rr], [v, "Windows"]], [/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[T, /_/g, "."], [v, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[v, Gr], [T, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [T, v], [/(ubuntu) ([\w\.]+) like android/i], [[v, /(.+)/, "$1 Touch"], T], [/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i], [v, T], [/\(bb(10);/i], [T, [v, Mt]], [/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i], [T, [v, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [T, [v, nn + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [T, [v, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [T, [v, "watchOS"]], [/crkey\/([\d\.]+)/i], [T, [v, st + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[v, kn], T], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [v, T], [/(sunos) ?([\w\.\d]*)/i], [[v, "Solaris"], T], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [v, T]] }, rt = /* @__PURE__ */ r(function(H, z) {
|
|
3749
|
+
}, "K"), rr = { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" }, or = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [T, [v, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [T, [v, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [v, T], [/opios[\/ ]+([\w\.]+)/i], [T, [v, De + " Mini"]], [/\bop(?:rg)?x\/([\w\.]+)/i], [T, [v, De + " GX"]], [/\bopr\/([\w\.]+)/i], [T, [v, De]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [T, [v, "Baidu"]], [/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i], [T, [v, "Maxthon"]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i, /(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i, /(heytap|ovi|115)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [v, T], [/quark(?:pc)?\/([-\w\.]+)/i], [T, [v, "Quark"]], [/\bddg\/([\w\.]+)/i], [T, [v, "DuckDuckGo"]], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [T, [v, "UC" + Oe]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [T, [v, "WeChat"]], [/konqueror\/([\w\.]+)/i], [T, [v, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [T, [v, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [T, [v, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [T, [v, "Smart Lenovo " + Oe]], [/(avast|avg)\/([\w\.]+)/i], [[v, /(.+)/, "$1 Secure " + Oe], T], [/\bfocus\/([\w\.]+)/i], [T, [v, on + " Focus"]], [/\bopt\/([\w\.]+)/i], [T, [v, De + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [T, [v, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [T, [v, "Dolphin"]], [/coast\/([\w\.]+)/i], [T, [v, De + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [T, [v, "MIUI" + Xr]], [/fxios\/([\w\.-]+)/i], [T, [v, on]], [/\bqihoobrowser\/?([\w\.]*)/i], [T, [v, "360"]], [/\b(qq)\/([\w\.]+)/i], [[v, /(.+)/, "$1Browser"], T], [/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i], [[v, /(.+)/, "$1" + Xr], T], [/samsungbrowser\/([\w\.]+)/i], [T, [v, Jt + " Internet"]], [/metasr[\/ ]?([\d\.]+)/i], [T, [v, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[v, "Sogou Mobile"], T], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i], [v, T], [/(lbbrowser|rekonq)/i, /\[(linkedin)app\]/i], [v], [/ome\/([\w\.]+) \w* ?(iron) saf/i, /ome\/([\w\.]+).+qihu (360)[es]e/i], [T, v], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[v, Wr], T], [/(Klarna)\/([\w\.]+)/i, /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /(daum)apps[\/ ]([\w\.]+)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(alipay)client\/([\w\.]+)/i, /(twitter)(?:and| f.+e\/([\w\.]+))/i, /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i], [v, T], [/\bgsa\/([\w\.]+) .*safari\//i], [T, [v, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [T, [v, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [T, [v, st + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[v, st + " WebView"], T], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [T, [v, "Android " + Oe]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [v, T], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [T, [v, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [T, v], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [v, [T, c, { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }]], [/(webkit|khtml)\/([\w\.]+)/i], [v, T], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[v, "Netscape"], T], [/(wolvic|librewolf)\/([\w\.]+)/i], [v, T], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [T, [v, on + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /\b(links) \(([\w\.]+)/i], [v, [T, /_/g, "."]], [/(cobalt)\/([\w\.]+)/i], [v, [T, /master.|lts./, ""]]], cpu: [[/\b((amd|x|x86[-_]?|wow|win)64)\b/i], [[M, "amd64"]], [/(ia32(?=;))/i, /\b((i[346]|x)86)(pc)?\b/i], [[M, "ia32"]], [/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i], [[M, "arm64"]], [/\b(arm(v[67])?ht?n?[fl]p?)\b/i], [[M, "armhf"]], [/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i], [[M, "arm"]], [/((ppc|powerpc)(64)?)( mac|;|\))/i], [[M, /ower/, "", vt]], [/ sun4\w[;\)]/i], [[M, "sparc"]], [/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i], [[M, vt]]], device: [[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i], [l, [g, Jt], [p, b]], [/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]((?!sm-[lr])[-\w]+)/i, /sec-(sgh\w+)/i], [l, [g, Jt], [p, k]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [l, [g, U], [p, k]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [l, [g, U], [p, b]], [/(macintosh);/i], [l, [g, U]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [l, [g, qr], [p, k]], [/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i], [l, [g, Jn], [p, b]], [/honor([-\w ]+)[;\)]/i], [l, [g, Jn], [p, k]], [/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i], [l, [g, an], [p, b]], [/(?:huawei)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [l, [g, an], [p, k]], [/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i, /\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i], [[l, /_/g, " "], [g, nr], [p, b]], [/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i, / ([\w ]+) miui\/v?\d/i], [[l, /_/g, " "], [g, nr], [p, k]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [l, [g, er], [p, k]], [/\b(opd2(\d{3}a?))(?: bui|\))/i], [l, [g, c, { OnePlus: ["304", "403", "203"], "*": er }], [p, b]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [l, [g, "Vivo"], [p, k]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [l, [g, "Realme"], [p, k]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [l, [g, tr], [p, k]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [l, [g, tr], [p, b]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [l, [g, Me], [p, b]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i, /\blg-?([\d\w]+) bui/i], [l, [g, Me], [p, k]], [/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i, /lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i], [l, [g, "Lenovo"], [p, b]], [/(nokia) (t[12][01])/i], [g, l, [p, b]], [/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i, /nokia[-_ ]?(([-\w\. ]*))/i], [[l, /_/g, " "], [p, k], [g, "Nokia"]], [/(pixel (c|tablet))\b/i], [l, [g, sn], [p, b]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [l, [g, sn], [p, k]], [/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i], [l, [g, pe], [p, k]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[l, "Xperia Tablet"], [g, pe], [p, b]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [l, [g, Cn], [p, k]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [l, [g, W], [p, b]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[l, /(.+)/g, "Fire Phone $1"], [g, W], [p, k]], [/(playbook);[-\w\),; ]+(rim)/i], [l, g, [p, b]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [l, [g, xt], [p, k]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [l, [g, $t], [p, b]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [l, [g, $t], [p, k]], [/(nexus 9)/i], [l, [g, "HTC"], [p, b]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [g, [l, /_/g, " "], [p, k]], [/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i], [l, [g, "TCL"], [p, b]], [/(itel) ((\w+))/i], [[g, vt], l, [p, c, { tablet: ["p10001l", "w7001"], "*": "mobile" }]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [l, [g, "Acer"], [p, b]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [l, [g, "Meizu"], [p, k]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [l, [g, "Ulefone"], [p, k]], [/; (energy ?\w+)(?: bui|\))/i, /; energizer ([\w ]+)(?: bui|\))/i], [l, [g, "Energizer"], [p, k]], [/; cat (b35);/i, /; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i], [l, [g, "Cat"], [p, k]], [/((?:new )?andromax[\w- ]+)(?: bui|\))/i], [l, [g, "Smartfren"], [p, k]], [/droid.+; (a(?:015|06[35]|142p?))/i], [l, [g, "Nothing"], [p, k]], [/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i, /archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i], [l, [g, "Archos"], [p, b]], [/archos ([\w ]+)( b|\))/i, /; (ac[3-6]\d\w{2,8})( b|\))/i], [l, [g, "Archos"], [p, k]], [/(imo) (tab \w+)/i, /(infinix) (x1101b?)/i], [g, l, [p, b]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i, /; (hmd|imo) ([\w ]+?)(?: bui|\))/i, /(hp) ([\w ]+\w)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i, /(oppo) ?([\w ]+) bui/i], [g, l, [p, k]], [/(kobo)\s(ereader|touch)/i, /(hp).+(touchpad(?!.+tablet)|tablet)/i, /(kindle)\/([\w\.]+)/i, /(nook)[\w ]+build\/(\w+)/i, /(dell) (strea[kpr\d ]*[\dko])/i, /(le[- ]+pan)[- ]+(\w{1,9}) bui/i, /(trinity)[- ]*(t\d{3}) bui/i, /(gigaset)[- ]+(q\w{1,9}) bui/i, /(vodafone) ([\w ]+)(?:\)| bui)/i], [g, l, [p, b]], [/(surface duo)/i], [l, [g, Qn], [p, b]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [l, [g, "Fairphone"], [p, k]], [/(u304aa)/i], [l, [g, "AT&T"], [p, k]], [/\bsie-(\w*)/i], [l, [g, "Siemens"], [p, k]], [/\b(rct\w+) b/i], [l, [g, "RCA"], [p, b]], [/\b(venue[\d ]{2,7}) b/i], [l, [g, "Dell"], [p, b]], [/\b(q(?:mv|ta)\w+) b/i], [l, [g, "Verizon"], [p, b]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [l, [g, "Barnes & Noble"], [p, b]], [/\b(tm\d{3}\w+) b/i], [l, [g, "NuVision"], [p, b]], [/\b(k88) b/i], [l, [g, "ZTE"], [p, b]], [/\b(nx\d{3}j) b/i], [l, [g, "ZTE"], [p, k]], [/\b(gen\d{3}) b.+49h/i], [l, [g, "Swiss"], [p, k]], [/\b(zur\d{3}) b/i], [l, [g, "Swiss"], [p, b]], [/\b((zeki)?tb.*\b) b/i], [l, [g, "Zeki"], [p, b]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[g, "Dragon Touch"], l, [p, b]], [/\b(ns-?\w{0,9}) b/i], [l, [g, "Insignia"], [p, b]], [/\b((nxa|next)-?\w{0,9}) b/i], [l, [g, "NextBook"], [p, b]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[g, "Voice"], l, [p, k]], [/\b(lvtel\-)?(v1[12]) b/i], [[g, "LvTel"], l, [p, k]], [/\b(ph-1) /i], [l, [g, "Essential"], [p, k]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [l, [g, "Envizen"], [p, b]], [/\b(trio[-\w\. ]+) b/i], [l, [g, "MachSpeed"], [p, b]], [/\btu_(1491) b/i], [l, [g, "Rotor"], [p, b]], [/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i], [l, [g, xe], [p, b]], [/(sprint) (\w+)/i], [g, l, [p, k]], [/(kin\.[onetw]{3})/i], [[l, /\./g, " "], [g, Qn], [p, k]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [l, [g, Sn], [p, b]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [l, [g, Sn], [p, k]], [/smart-tv.+(samsung)/i], [g, [p, B]], [/hbbtv.+maple;(\d+)/i], [[l, /^/, "SmartTV"], [g, Jt], [p, B]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[g, Me], [p, B]], [/(apple) ?tv/i], [g, [l, U + " TV"], [p, B]], [/crkey/i], [[l, st + "cast"], [g, sn], [p, B]], [/droid.+aft(\w+)( bui|\))/i], [l, [g, W], [p, B]], [/(shield \w+ tv)/i], [l, [g, xe], [p, B]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [l, [g, qr], [p, B]], [/(bravia[\w ]+)( bui|\))/i], [l, [g, pe], [p, B]], [/(mi(tv|box)-?\w+) bui/i], [l, [g, nr], [p, B]], [/Hbbtv.*(technisat) (.*);/i], [g, l, [p, B]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[g, i], [l, i], [p, B]], [/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i], [l, [p, B]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[p, B]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [g, l, [p, D]], [/droid.+; (shield)( bui|\))/i], [l, [g, xe], [p, D]], [/(playstation \w+)/i], [l, [g, pe], [p, D]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [l, [g, Qn], [p, D]], [/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i], [l, [g, Jt], [p, x]], [/((pebble))app/i, /(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i], [g, l, [p, x]], [/(ow(?:19|20)?we?[1-3]{1,3})/i], [l, [g, er], [p, x]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [l, [g, U], [p, x]], [/(opwwe\d{3})/i], [l, [g, Cn], [p, x]], [/(moto 360)/i], [l, [g, tr], [p, x]], [/(smartwatch 3)/i], [l, [g, pe], [p, x]], [/(g watch r)/i], [l, [g, Me], [p, x]], [/droid.+; (wt63?0{2,3})\)/i], [l, [g, Sn], [p, x]], [/droid.+; (glass) \d/i], [l, [g, sn], [p, x]], [/(pico) (4|neo3(?: link|pro)?)/i], [g, l, [p, x]], [/; (quest( \d| pro)?)/i], [l, [g, Wr], [p, x]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [g, [p, A]], [/(aeobc)\b/i], [l, [g, W], [p, A]], [/(homepod).+mac os/i], [l, [g, U], [p, A]], [/windows iot/i], [[p, A]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [l, [p, k]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [l, [p, b]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[p, b]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[p, k]], [/droid .+?; ([\w\. -]+)( bui|\))/i], [l, [g, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [T, [v, "EdgeHTML"]], [/(arkweb)\/([\w\.]+)/i], [v, T], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [T, [v, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [v, T], [/ladybird\//i], [[v, "LibWeb"]], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [T, v]], os: [[/microsoft (windows) (vista|xp)/i], [v, T], [/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i], [v, [T, c, rr]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[T, c, rr], [v, "Windows"]], [/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[T, /_/g, "."], [v, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[v, Gr], [T, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [T, v], [/(ubuntu) ([\w\.]+) like android/i], [[v, /(.+)/, "$1 Touch"], T], [/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i], [v, T], [/\(bb(10);/i], [T, [v, xt]], [/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i], [T, [v, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [T, [v, on + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [T, [v, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [T, [v, "watchOS"]], [/crkey\/([\d\.]+)/i], [T, [v, st + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[v, kn], T], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [v, T], [/(sunos) ?([\w\.\d]*)/i], [[v, "Solaris"], T], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [v, T]] }, rt = /* @__PURE__ */ r(function(H, z) {
|
|
3750
3750
|
if (typeof H == d && (z = H, H = e), !(this instanceof rt)) return new rt(H, z).getResult();
|
|
3751
3751
|
var j = typeof t != f && t.navigator ? t.navigator : e, K = H || (j && j.userAgent ? j.userAgent : ""), F = j && j.userAgentData ? j.userAgentData : e, tt = z ? (function(R, ct) {
|
|
3752
3752
|
var Q, Qt = {};
|
|
@@ -3758,7 +3758,7 @@ const ia = new Bi();
|
|
|
3758
3758
|
return ct[v] = e, ct[T] = e, s.call(ct, K, tt.browser), ct[y] = typeof (R = ct[T]) == w ? R.replace(/[^\d\.]/g, "").split(".")[0] : e, ot && j && j.brave && typeof j.brave.isBrave == h && (ct[v] = "Brave"), ct;
|
|
3759
3759
|
}, this.getCPU = function() {
|
|
3760
3760
|
var R = {};
|
|
3761
|
-
return R[
|
|
3761
|
+
return R[M] = e, s.call(R, K, tt.cpu), R;
|
|
3762
3762
|
}, this.getDevice = function() {
|
|
3763
3763
|
var R = {};
|
|
3764
3764
|
return R[g] = e, R[l] = e, R[p] = e, s.call(R, K, tt.device), ot && !R[p] && F && F.mobile && (R[p] = k), ot && R[l] == "Macintosh" && j && typeof j.standalone != f && j.maxTouchPoints && 2 < j.maxTouchPoints && (R[l] = "iPad", R[p] = b), R;
|
|
@@ -3776,7 +3776,7 @@ const ia = new Bi();
|
|
|
3776
3776
|
return K = typeof R == w && 500 < R.length ? i(R, 500) : R, this;
|
|
3777
3777
|
}, this.setUA(K), this;
|
|
3778
3778
|
}, "J");
|
|
3779
|
-
rt.VERSION = "1.0.41", rt.BROWSER = n([v, T, y]), rt.CPU = n([
|
|
3779
|
+
rt.VERSION = "1.0.41", rt.BROWSER = n([v, T, y]), rt.CPU = n([M]), rt.DEVICE = n([l, g, p, D, k, B, b, x, A]), rt.ENGINE = rt.OS = n([v, T]), typeof exports != f ? (typeof module != f && module.exports && (exports = module.exports = rt), exports.UAParser = rt) : typeof define == h && define.amd ? define(function() {
|
|
3780
3780
|
return rt;
|
|
3781
3781
|
}) : typeof t != f && (t.UAParser = rt);
|
|
3782
3782
|
var at, Ut = typeof t != f && (t.jQuery || t.Zepto);
|
|
@@ -3790,14 +3790,14 @@ const ia = new Bi();
|
|
|
3790
3790
|
})(typeof window == "object" ? window : void 0);
|
|
3791
3791
|
const Jp = globalThis.UAParser;
|
|
3792
3792
|
delete globalThis.UAParser;
|
|
3793
|
-
var
|
|
3793
|
+
var Mr, ut, $e, dt, Ct;
|
|
3794
3794
|
const Eo = class Eo {
|
|
3795
3795
|
constructor() {
|
|
3796
3796
|
dr(this, dt);
|
|
3797
|
-
dr(this,
|
|
3797
|
+
dr(this, Mr);
|
|
3798
3798
|
dr(this, ut);
|
|
3799
3799
|
dr(this, $e, null);
|
|
3800
|
-
pr(this,
|
|
3800
|
+
pr(this, Mr, navigator.userAgent), pr(this, ut, new Jp(navigator.userAgent ?? "unknown").getResult()), pr(this, $e, this);
|
|
3801
3801
|
}
|
|
3802
3802
|
userAgentData() {
|
|
3803
3803
|
return { ...it(Tt(this, dt, Ct).call(this), ut) };
|
|
@@ -3839,8 +3839,8 @@ const Eo = class Eo {
|
|
|
3839
3839
|
return it(Tt(this, dt, Ct).call(this), ut).cpu.architecture ?? "unknown";
|
|
3840
3840
|
}
|
|
3841
3841
|
};
|
|
3842
|
-
|
|
3843
|
-
return (!it(this, $e) || it(it(this, $e),
|
|
3842
|
+
Mr = new WeakMap(), ut = new WeakMap(), $e = new WeakMap(), dt = new WeakSet(), Ct = /* @__PURE__ */ r(function() {
|
|
3843
|
+
return (!it(this, $e) || it(it(this, $e), Mr) != navigator.userAgent) && pr(this, $e, new Eo()), it(this, $e);
|
|
3844
3844
|
}, "#instance"), r(Eo, "DeviceInfo");
|
|
3845
3845
|
let Pi = Eo;
|
|
3846
3846
|
(function(t, e, n, o) {
|
|
@@ -3916,7 +3916,7 @@ let Pi = Eo;
|
|
|
3916
3916
|
return a.trim().split(/\s+/g);
|
|
3917
3917
|
}
|
|
3918
3918
|
r(T, "q");
|
|
3919
|
-
function
|
|
3919
|
+
function M(a, u, m) {
|
|
3920
3920
|
if (a.indexOf && !m) return a.indexOf(u);
|
|
3921
3921
|
for (var C = 0; C < a.length; ) {
|
|
3922
3922
|
if (m && a[C][m] == u || !m && a[C] === u) return C;
|
|
@@ -3924,7 +3924,7 @@ let Pi = Eo;
|
|
|
3924
3924
|
}
|
|
3925
3925
|
return -1;
|
|
3926
3926
|
}
|
|
3927
|
-
r(
|
|
3927
|
+
r(M, "r");
|
|
3928
3928
|
function D(a) {
|
|
3929
3929
|
return Array.prototype.slice.call(a, 0);
|
|
3930
3930
|
}
|
|
@@ -3932,7 +3932,7 @@ let Pi = Eo;
|
|
|
3932
3932
|
function k(a, u, m) {
|
|
3933
3933
|
for (var C = [], S = [], I = 0; I < a.length; ) {
|
|
3934
3934
|
var N = a[I][u];
|
|
3935
|
-
|
|
3935
|
+
M(S, N) < 0 && C.push(a[I]), S[I] = N, I++;
|
|
3936
3936
|
}
|
|
3937
3937
|
return C = C.sort(function(J, Zt) {
|
|
3938
3938
|
return J[u] > Zt[u];
|
|
@@ -3951,11 +3951,11 @@ let Pi = Eo;
|
|
|
3951
3951
|
return vl++;
|
|
3952
3952
|
}
|
|
3953
3953
|
r(B, "v");
|
|
3954
|
-
function
|
|
3954
|
+
function x(a) {
|
|
3955
3955
|
var u = a.ownerDocument || a;
|
|
3956
3956
|
return u.defaultView || u.parentWindow || t;
|
|
3957
3957
|
}
|
|
3958
|
-
r(
|
|
3958
|
+
r(x, "w");
|
|
3959
3959
|
function A(a, u) {
|
|
3960
3960
|
var m = this;
|
|
3961
3961
|
this.manager = a, this.callback = u, this.element = a.element, this.target = a.options.inputTarget, this.domHandler = function(C) {
|
|
@@ -3965,7 +3965,7 @@ let Pi = Eo;
|
|
|
3965
3965
|
r(A, "x");
|
|
3966
3966
|
function W(a) {
|
|
3967
3967
|
var u = a.options.inputClass;
|
|
3968
|
-
return new (u || (bl ? Cn : yl ? Jt : ma ?
|
|
3968
|
+
return new (u || (bl ? Cn : yl ? Jt : ma ? pe : xe))(a, U);
|
|
3969
3969
|
}
|
|
3970
3970
|
r(W, "y");
|
|
3971
3971
|
function U(a, u, m) {
|
|
@@ -3976,78 +3976,78 @@ let Pi = Eo;
|
|
|
3976
3976
|
function $t(a, u) {
|
|
3977
3977
|
var m = a.session, C = u.pointers, S = C.length;
|
|
3978
3978
|
m.firstInput || (m.firstInput = st(u)), S > 1 && !m.firstMultiple ? m.firstMultiple = st(u) : S === 1 && (m.firstMultiple = !1);
|
|
3979
|
-
var I = m.firstInput, N = m.firstMultiple, J = N ? N.center : I.center, Zt = u.center =
|
|
3980
|
-
u.timeStamp = ei(), u.deltaTime = u.timeStamp - I.timeStamp, u.angle =
|
|
3981
|
-
var Dt =
|
|
3982
|
-
u.overallVelocityX = Dt.x, u.overallVelocityY = Dt.y, u.overallVelocity =
|
|
3979
|
+
var I = m.firstInput, N = m.firstMultiple, J = N ? N.center : I.center, Zt = u.center = on(C);
|
|
3980
|
+
u.timeStamp = ei(), u.deltaTime = u.timeStamp - I.timeStamp, u.angle = Me(J, Zt), u.distance = an(J, Zt), xt(m, u), u.offsetDirection = Jn(u.deltaX, u.deltaY);
|
|
3981
|
+
var Dt = sn(u.deltaTime, u.deltaX, u.deltaY);
|
|
3982
|
+
u.overallVelocityX = Dt.x, u.overallVelocityY = Dt.y, u.overallVelocity = cn(Dt.x) > cn(Dt.y) ? Dt.x : Dt.y, u.scale = N ? tr(N.pointers, C) : 1, u.rotation = N ? Qn(N.pointers, C) : 0, u.maxPointers = m.prevInput ? u.pointers.length > m.prevInput.maxPointers ? u.pointers.length : m.prevInput.maxPointers : u.pointers.length, Oe(m, u);
|
|
3983
3983
|
var ne = a.element;
|
|
3984
3984
|
p(u.srcEvent.target, ne) && (ne = u.srcEvent.target), u.target = ne;
|
|
3985
3985
|
}
|
|
3986
3986
|
r($t, "A");
|
|
3987
|
-
function
|
|
3987
|
+
function xt(a, u) {
|
|
3988
3988
|
var m = u.center, C = a.offsetDelta || {}, S = a.prevDelta || {}, I = a.prevInput || {};
|
|
3989
3989
|
u.eventType !== wt && I.eventType !== et || (S = a.prevDelta = { x: I.deltaX || 0, y: I.deltaY || 0 }, C = a.offsetDelta = { x: m.x, y: m.y }), u.deltaX = S.x + (m.x - C.x), u.deltaY = S.y + (m.y - C.y);
|
|
3990
3990
|
}
|
|
3991
|
-
r(
|
|
3991
|
+
r(xt, "B");
|
|
3992
3992
|
function Oe(a, u) {
|
|
3993
3993
|
var m, C, S, I, N = a.lastInterval || u, J = u.timeStamp - N.timeStamp;
|
|
3994
3994
|
if (u.eventType != yt && (J > Sl || N.velocity === o)) {
|
|
3995
|
-
var Zt = u.deltaX - N.deltaX, Dt = u.deltaY - N.deltaY, ne =
|
|
3996
|
-
C = ne.x, S = ne.y, m =
|
|
3995
|
+
var Zt = u.deltaX - N.deltaX, Dt = u.deltaY - N.deltaY, ne = sn(J, Zt, Dt);
|
|
3996
|
+
C = ne.x, S = ne.y, m = cn(ne.x) > cn(ne.y) ? ne.x : ne.y, I = Jn(Zt, Dt), a.lastInterval = u;
|
|
3997
3997
|
} else m = N.velocity, C = N.velocityX, S = N.velocityY, I = N.direction;
|
|
3998
3998
|
u.velocity = m, u.velocityX = C, u.velocityY = S, u.direction = I;
|
|
3999
3999
|
}
|
|
4000
4000
|
r(Oe, "C");
|
|
4001
4001
|
function st(a) {
|
|
4002
4002
|
for (var u = [], m = 0; m < a.pointers.length; ) u[m] = { clientX: En(a.pointers[m].clientX), clientY: En(a.pointers[m].clientY) }, m++;
|
|
4003
|
-
return { timeStamp: ei(), pointers: u, center:
|
|
4003
|
+
return { timeStamp: ei(), pointers: u, center: on(u), deltaX: a.deltaX, deltaY: a.deltaY };
|
|
4004
4004
|
}
|
|
4005
4005
|
r(st, "D");
|
|
4006
|
-
function
|
|
4006
|
+
function on(a) {
|
|
4007
4007
|
var u = a.length;
|
|
4008
4008
|
if (u === 1) return { x: En(a[0].clientX), y: En(a[0].clientY) };
|
|
4009
4009
|
for (var m = 0, C = 0, S = 0; u > S; ) m += a[S].clientX, C += a[S].clientY, S++;
|
|
4010
4010
|
return { x: En(m / u), y: En(C / u) };
|
|
4011
4011
|
}
|
|
4012
|
-
r(
|
|
4013
|
-
function
|
|
4012
|
+
r(on, "E");
|
|
4013
|
+
function sn(a, u, m) {
|
|
4014
4014
|
return { x: u / a || 0, y: m / a || 0 };
|
|
4015
4015
|
}
|
|
4016
|
-
r(
|
|
4016
|
+
r(sn, "F");
|
|
4017
4017
|
function Jn(a, u) {
|
|
4018
|
-
return a === u ? Kr :
|
|
4018
|
+
return a === u ? Kr : cn(a) >= cn(u) ? 0 > a ? sr : ar : 0 > u ? cr : ur;
|
|
4019
4019
|
}
|
|
4020
4020
|
r(Jn, "G");
|
|
4021
|
-
function
|
|
4021
|
+
function an(a, u, m) {
|
|
4022
4022
|
m || (m = va);
|
|
4023
4023
|
var C = u[m[0]] - a[m[0]], S = u[m[1]] - a[m[1]];
|
|
4024
4024
|
return Math.sqrt(C * C + S * S);
|
|
4025
4025
|
}
|
|
4026
|
-
r(
|
|
4027
|
-
function
|
|
4026
|
+
r(an, "H");
|
|
4027
|
+
function Me(a, u, m) {
|
|
4028
4028
|
m || (m = va);
|
|
4029
4029
|
var C = u[m[0]] - a[m[0]], S = u[m[1]] - a[m[1]];
|
|
4030
4030
|
return 180 * Math.atan2(S, C) / Math.PI;
|
|
4031
4031
|
}
|
|
4032
|
-
r(
|
|
4032
|
+
r(Me, "I");
|
|
4033
4033
|
function Qn(a, u) {
|
|
4034
|
-
return
|
|
4034
|
+
return Me(u[1], u[0], Jr) + Me(a[1], a[0], Jr);
|
|
4035
4035
|
}
|
|
4036
4036
|
r(Qn, "J");
|
|
4037
4037
|
function tr(a, u) {
|
|
4038
|
-
return
|
|
4038
|
+
return an(u[0], u[1], Jr) / an(a[0], a[1], Jr);
|
|
4039
4039
|
}
|
|
4040
4040
|
r(tr, "K");
|
|
4041
|
-
function
|
|
4041
|
+
function xe() {
|
|
4042
4042
|
this.evEl = El, this.evWin = Bl, this.pressed = !1, A.apply(this, arguments);
|
|
4043
4043
|
}
|
|
4044
|
-
r(
|
|
4044
|
+
r(xe, "L");
|
|
4045
4045
|
function Cn() {
|
|
4046
4046
|
this.evEl = wa, this.evWin = ba, A.apply(this, arguments), this.store = this.manager.session.pointerEvents = [];
|
|
4047
4047
|
}
|
|
4048
4048
|
r(Cn, "M");
|
|
4049
4049
|
function De() {
|
|
4050
|
-
this.evTarget =
|
|
4050
|
+
this.evTarget = xl, this.evWin = Dl, this.started = !1, A.apply(this, arguments);
|
|
4051
4051
|
}
|
|
4052
4052
|
r(De, "N");
|
|
4053
4053
|
function er(a, u) {
|
|
@@ -4061,7 +4061,7 @@ let Pi = Eo;
|
|
|
4061
4061
|
r(Jt, "P");
|
|
4062
4062
|
function qr(a, u) {
|
|
4063
4063
|
var m = D(a.touches), C = this.targetIds;
|
|
4064
|
-
if (u & (wt |
|
|
4064
|
+
if (u & (wt | un) && m.length === 1) return C[m[0].identifier] = !0, [m, m];
|
|
4065
4065
|
var S, I, N = D(a.changedTouches), J = [], Zt = this.target;
|
|
4066
4066
|
if (I = m.filter(function(Dt) {
|
|
4067
4067
|
return p(Dt.target, Zt);
|
|
@@ -4070,12 +4070,12 @@ let Pi = Eo;
|
|
|
4070
4070
|
return J.length ? [k(I.concat(J), "identifier"), J] : void 0;
|
|
4071
4071
|
}
|
|
4072
4072
|
r(qr, "Q");
|
|
4073
|
-
function
|
|
4073
|
+
function pe() {
|
|
4074
4074
|
A.apply(this, arguments);
|
|
4075
4075
|
var a = d(this.handler, this);
|
|
4076
|
-
this.touch = new Jt(this.manager, a), this.mouse = new
|
|
4076
|
+
this.touch = new Jt(this.manager, a), this.mouse = new xe(this.manager, a), this.primaryTouch = null, this.lastTouches = [];
|
|
4077
4077
|
}
|
|
4078
|
-
r(
|
|
4078
|
+
r(pe, "R");
|
|
4079
4079
|
function nr(a, u) {
|
|
4080
4080
|
a & wt ? (this.primaryTouch = u.changedPointers[0].identifier, Sn.call(this, u)) : a & (et | yt) && Sn.call(this, u);
|
|
4081
4081
|
}
|
|
@@ -4106,9 +4106,9 @@ let Pi = Eo;
|
|
|
4106
4106
|
}
|
|
4107
4107
|
r(kn, "V");
|
|
4108
4108
|
function Gr(a) {
|
|
4109
|
-
if (g(a,
|
|
4109
|
+
if (g(a, fn)) return fn;
|
|
4110
4110
|
var u = g(a, lr), m = g(a, fr);
|
|
4111
|
-
return u && m ?
|
|
4111
|
+
return u && m ? fn : u || m ? u ? lr : fr : g(a, ri) ? ri : ka;
|
|
4112
4112
|
}
|
|
4113
4113
|
r(Gr, "W");
|
|
4114
4114
|
function Xr() {
|
|
@@ -4190,7 +4190,7 @@ let Pi = Eo;
|
|
|
4190
4190
|
m.initEvent(a, !0, !0), m.gesture = u, u.target.dispatchEvent(m);
|
|
4191
4191
|
}
|
|
4192
4192
|
r(ct, "ka");
|
|
4193
|
-
var Q, Qt = ["", "webkit", "Moz", "MS", "ms", "o"], pl = e.createElement("div"), ml = "function", En = Math.round,
|
|
4193
|
+
var Q, Qt = ["", "webkit", "Moz", "MS", "ms", "o"], pl = e.createElement("div"), ml = "function", En = Math.round, cn = Math.abs, ei = Date.now;
|
|
4194
4194
|
Q = typeof Object.assign != "function" ? function(a) {
|
|
4195
4195
|
if (a === o || a === null) throw new TypeError("Cannot convert undefined or null to object");
|
|
4196
4196
|
for (var u = Object(a), m = 1; m < arguments.length; m++) {
|
|
@@ -4204,38 +4204,38 @@ let Pi = Eo;
|
|
|
4204
4204
|
return a;
|
|
4205
4205
|
}, "extend", "Use `assign`."), gl = h(function(a, u) {
|
|
4206
4206
|
return pa(a, u, !0);
|
|
4207
|
-
}, "merge", "Use `assign`."), vl = 1, wl = /mobile|tablet|ip(ad|hone|od)|android/i, ma = "ontouchstart" in t, bl = b(t, "PointerEvent") !== o, yl = ma && wl.test(navigator.userAgent), ir = "touch", Tl = "pen", ni = "mouse", Cl = "kinect", Sl = 25, wt = 1,
|
|
4207
|
+
}, "merge", "Use `assign`."), vl = 1, wl = /mobile|tablet|ip(ad|hone|od)|android/i, ma = "ontouchstart" in t, bl = b(t, "PointerEvent") !== o, yl = ma && wl.test(navigator.userAgent), ir = "touch", Tl = "pen", ni = "mouse", Cl = "kinect", Sl = 25, wt = 1, un = 2, et = 4, yt = 8, Kr = 1, sr = 2, ar = 4, cr = 8, ur = 16, te = sr | ar, ln = cr | ur, ga = te | ln, va = ["x", "y"], Jr = ["clientX", "clientY"];
|
|
4208
4208
|
A.prototype = { handler: /* @__PURE__ */ r(function() {
|
|
4209
4209
|
}, "handler"), init: /* @__PURE__ */ r(function() {
|
|
4210
|
-
this.evEl && l(this.element, this.evEl, this.domHandler), this.evTarget && l(this.target, this.evTarget, this.domHandler), this.evWin && l(
|
|
4210
|
+
this.evEl && l(this.element, this.evEl, this.domHandler), this.evTarget && l(this.target, this.evTarget, this.domHandler), this.evWin && l(x(this.element), this.evWin, this.domHandler);
|
|
4211
4211
|
}, "init"), destroy: /* @__PURE__ */ r(function() {
|
|
4212
|
-
this.evEl && v(this.element, this.evEl, this.domHandler), this.evTarget && v(this.target, this.evTarget, this.domHandler), this.evWin && v(
|
|
4212
|
+
this.evEl && v(this.element, this.evEl, this.domHandler), this.evTarget && v(this.target, this.evTarget, this.domHandler), this.evWin && v(x(this.element), this.evWin, this.domHandler);
|
|
4213
4213
|
}, "destroy") };
|
|
4214
|
-
var kl = { mousedown: wt, mousemove:
|
|
4215
|
-
f(
|
|
4214
|
+
var kl = { mousedown: wt, mousemove: un, mouseup: et }, El = "mousedown", Bl = "mousemove mouseup";
|
|
4215
|
+
f(xe, A, { handler: /* @__PURE__ */ r(function(a) {
|
|
4216
4216
|
var u = kl[a.type];
|
|
4217
|
-
u & wt && a.button === 0 && (this.pressed = !0), u &
|
|
4217
|
+
u & wt && a.button === 0 && (this.pressed = !0), u & un && a.which !== 1 && (u = et), this.pressed && (u & et && (this.pressed = !1), this.callback(this.manager, u, { pointers: [a], changedPointers: [a], pointerType: ni, srcEvent: a }));
|
|
4218
4218
|
}, "handler") });
|
|
4219
|
-
var Pl = { pointerdown: wt, pointermove:
|
|
4219
|
+
var Pl = { pointerdown: wt, pointermove: un, pointerup: et, pointercancel: yt, pointerout: yt }, Ol = { 2: ir, 3: Tl, 4: ni, 5: Cl }, wa = "pointerdown", ba = "pointermove pointerup pointercancel";
|
|
4220
4220
|
t.MSPointerEvent && !t.PointerEvent && (wa = "MSPointerDown", ba = "MSPointerMove MSPointerUp MSPointerCancel"), f(Cn, A, { handler: /* @__PURE__ */ r(function(a) {
|
|
4221
|
-
var u = this.store, m = !1, C = a.type.toLowerCase().replace("ms", ""), S = Pl[C], I = Ol[a.pointerType] || a.pointerType, N = I == ir, J =
|
|
4221
|
+
var u = this.store, m = !1, C = a.type.toLowerCase().replace("ms", ""), S = Pl[C], I = Ol[a.pointerType] || a.pointerType, N = I == ir, J = M(u, a.pointerId, "pointerId");
|
|
4222
4222
|
S & wt && (a.button === 0 || N) ? 0 > J && (u.push(a), J = u.length - 1) : S & (et | yt) && (m = !0), 0 > J || (u[J] = a, this.callback(this.manager, S, { pointers: u, changedPointers: [a], pointerType: I, srcEvent: a }), m && u.splice(J, 1));
|
|
4223
4223
|
}, "handler") });
|
|
4224
|
-
var
|
|
4224
|
+
var Ml = { touchstart: wt, touchmove: un, touchend: et, touchcancel: yt }, xl = "touchstart", Dl = "touchstart touchmove touchend touchcancel";
|
|
4225
4225
|
f(De, A, { handler: /* @__PURE__ */ r(function(a) {
|
|
4226
|
-
var u =
|
|
4226
|
+
var u = Ml[a.type];
|
|
4227
4227
|
if (u === wt && (this.started = !0), this.started) {
|
|
4228
4228
|
var m = er.call(this, a, u);
|
|
4229
4229
|
u & (et | yt) && m[0].length - m[1].length === 0 && (this.started = !1), this.callback(this.manager, u, { pointers: m[0], changedPointers: m[1], pointerType: ir, srcEvent: a });
|
|
4230
4230
|
}
|
|
4231
4231
|
}, "handler") });
|
|
4232
|
-
var Al = { touchstart: wt, touchmove:
|
|
4232
|
+
var Al = { touchstart: wt, touchmove: un, touchend: et, touchcancel: yt }, Il = "touchstart touchmove touchend touchcancel";
|
|
4233
4233
|
f(Jt, A, { handler: /* @__PURE__ */ r(function(a) {
|
|
4234
4234
|
var u = Al[a.type], m = qr.call(this, a, u);
|
|
4235
4235
|
m && this.callback(this.manager, u, { pointers: m[0], changedPointers: m[1], pointerType: ir, srcEvent: a });
|
|
4236
4236
|
}, "handler") });
|
|
4237
4237
|
var Rl = 2500, ya = 25;
|
|
4238
|
-
f(
|
|
4238
|
+
f(pe, A, { handler: /* @__PURE__ */ r(function(a, u, m) {
|
|
4239
4239
|
var C = m.pointerType == ir, S = m.pointerType == ni;
|
|
4240
4240
|
if (!(S && m.sourceCapabilities && m.sourceCapabilities.firesTouchEvents)) {
|
|
4241
4241
|
if (C) nr.call(this, u, m);
|
|
@@ -4245,7 +4245,7 @@ let Pi = Eo;
|
|
|
4245
4245
|
}, "handler"), destroy: /* @__PURE__ */ r(function() {
|
|
4246
4246
|
this.touch.destroy(), this.mouse.destroy();
|
|
4247
4247
|
}, "destroy") });
|
|
4248
|
-
var Ta = b(pl.style, "touchAction"), Ca = Ta !== o, Sa = "compute", ka = "auto", ri = "manipulation",
|
|
4248
|
+
var Ta = b(pl.style, "touchAction"), Ca = Ta !== o, Sa = "compute", ka = "auto", ri = "manipulation", fn = "none", lr = "pan-x", fr = "pan-y", Qr = Xr();
|
|
4249
4249
|
kn.prototype = { set: /* @__PURE__ */ r(function(a) {
|
|
4250
4250
|
a == Sa && (a = this.compute()), Ca && this.manager.element.style && Qr[a] && (this.manager.element.style[Ta] = a), this.actions = a.toLowerCase().trim();
|
|
4251
4251
|
}, "set"), update: /* @__PURE__ */ r(function() {
|
|
@@ -4258,16 +4258,16 @@ let Pi = Eo;
|
|
|
4258
4258
|
}, "compute"), preventDefaults: /* @__PURE__ */ r(function(a) {
|
|
4259
4259
|
var u = a.srcEvent, m = a.offsetDirection;
|
|
4260
4260
|
if (this.manager.session.prevented) return void u.preventDefault();
|
|
4261
|
-
var C = this.actions, S = g(C,
|
|
4261
|
+
var C = this.actions, S = g(C, fn) && !Qr[fn], I = g(C, fr) && !Qr[fr], N = g(C, lr) && !Qr[lr];
|
|
4262
4262
|
if (S) {
|
|
4263
4263
|
var J = a.pointers.length === 1, Zt = a.distance < 2, Dt = a.deltaTime < 250;
|
|
4264
4264
|
if (J && Zt && Dt) return;
|
|
4265
4265
|
}
|
|
4266
|
-
return N && I ? void 0 : S || I && m & te || N && m &
|
|
4266
|
+
return N && I ? void 0 : S || I && m & te || N && m & ln ? this.preventSrc(u) : void 0;
|
|
4267
4267
|
}, "preventDefaults"), preventSrc: /* @__PURE__ */ r(function(a) {
|
|
4268
4268
|
this.manager.session.prevented = !0, a.preventDefault();
|
|
4269
4269
|
}, "preventSrc") };
|
|
4270
|
-
var to = 1, Vt = 2, Bn = 4, Ae = 8,
|
|
4270
|
+
var to = 1, Vt = 2, Bn = 4, Ae = 8, me = Ae, hr = 16, ee = 32;
|
|
4271
4271
|
vt.prototype = { defaults: {}, set: /* @__PURE__ */ r(function(a) {
|
|
4272
4272
|
return Q(this.options, a), this.manager && this.manager.touchAction.update(), this;
|
|
4273
4273
|
}, "set"), recognizeWith: /* @__PURE__ */ r(function(a) {
|
|
@@ -4279,11 +4279,11 @@ let Pi = Eo;
|
|
|
4279
4279
|
}, "dropRecognizeWith"), requireFailure: /* @__PURE__ */ r(function(a) {
|
|
4280
4280
|
if (s(a, "requireFailure", this)) return this;
|
|
4281
4281
|
var u = this.requireFail;
|
|
4282
|
-
return a = rt(a, this),
|
|
4282
|
+
return a = rt(a, this), M(u, a) === -1 && (u.push(a), a.requireFailure(this)), this;
|
|
4283
4283
|
}, "requireFailure"), dropRequireFailure: /* @__PURE__ */ r(function(a) {
|
|
4284
4284
|
if (s(a, "dropRequireFailure", this)) return this;
|
|
4285
4285
|
a = rt(a, this);
|
|
4286
|
-
var u =
|
|
4286
|
+
var u = M(this.requireFail, a);
|
|
4287
4287
|
return u > -1 && this.requireFail.splice(u, 1), this;
|
|
4288
4288
|
}, "dropRequireFailure"), hasRequireFailures: /* @__PURE__ */ r(function() {
|
|
4289
4289
|
return this.requireFail.length > 0;
|
|
@@ -4306,7 +4306,7 @@ let Pi = Eo;
|
|
|
4306
4306
|
return !0;
|
|
4307
4307
|
}, "canEmit"), recognize: /* @__PURE__ */ r(function(a) {
|
|
4308
4308
|
var u = Q({}, a);
|
|
4309
|
-
return w(this.options.enable, [this, u]) ? (this.state & (
|
|
4309
|
+
return w(this.options.enable, [this, u]) ? (this.state & (me | hr | ee) && (this.state = to), this.state = this.process(u), void (this.state & (Vt | Bn | Ae | hr) && this.tryEmit(u))) : (this.reset(), void (this.state = ee));
|
|
4310
4310
|
}, "recognize"), process: /* @__PURE__ */ r(function(a) {
|
|
4311
4311
|
}, "process"), getTouchAction: /* @__PURE__ */ r(function() {
|
|
4312
4312
|
}, "getTouchAction"), reset: /* @__PURE__ */ r(function() {
|
|
@@ -4318,7 +4318,7 @@ let Pi = Eo;
|
|
|
4318
4318
|
return C && (m & yt || !S) ? u | hr : C || S ? m & et ? u | Ae : u & Vt ? u | Bn : Vt : ee;
|
|
4319
4319
|
}, "process") }), f(Ut, at, { defaults: { event: "pan", threshold: 10, pointers: 1, direction: ga }, getTouchAction: /* @__PURE__ */ r(function() {
|
|
4320
4320
|
var a = this.options.direction, u = [];
|
|
4321
|
-
return a & te && u.push(fr), a &
|
|
4321
|
+
return a & te && u.push(fr), a & ln && u.push(lr), u;
|
|
4322
4322
|
}, "getTouchAction"), directionTest: /* @__PURE__ */ r(function(a) {
|
|
4323
4323
|
var u = this.options, m = !0, C = a.distance, S = a.direction, I = a.deltaX, N = a.deltaY;
|
|
4324
4324
|
return S & u.direction || (u.direction & te ? (S = I === 0 ? Kr : 0 > I ? sr : ar, m = I != this.pX, C = Math.abs(a.deltaX)) : (S = N === 0 ? Kr : 0 > N ? cr : ur, m = N != this.pY, C = Math.abs(a.deltaY))), a.direction = S, m && C > u.threshold && S & u.direction;
|
|
@@ -4329,7 +4329,7 @@ let Pi = Eo;
|
|
|
4329
4329
|
var u = or(a.direction);
|
|
4330
4330
|
u && (a.additionalEvent = this.options.event + u), this._super.emit.call(this, a);
|
|
4331
4331
|
}, "emit") }), f(H, at, { defaults: { event: "pinch", threshold: 0, pointers: 2 }, getTouchAction: /* @__PURE__ */ r(function() {
|
|
4332
|
-
return [
|
|
4332
|
+
return [fn];
|
|
4333
4333
|
}, "getTouchAction"), attrTest: /* @__PURE__ */ r(function(a) {
|
|
4334
4334
|
return this._super.attrTest.call(this, a) && (Math.abs(a.scale - 1) > this.options.threshold || this.state & Vt);
|
|
4335
4335
|
}, "attrTest"), emit: /* @__PURE__ */ r(function(a) {
|
|
@@ -4344,23 +4344,23 @@ let Pi = Eo;
|
|
|
4344
4344
|
var u = this.options, m = a.pointers.length === u.pointers, C = a.distance < u.threshold, S = a.deltaTime > u.time;
|
|
4345
4345
|
if (this._input = a, !C || !m || a.eventType & (et | yt) && !S) this.reset();
|
|
4346
4346
|
else if (a.eventType & wt) this.reset(), this._timer = i(function() {
|
|
4347
|
-
this.state =
|
|
4347
|
+
this.state = me, this.tryEmit();
|
|
4348
4348
|
}, u.time, this);
|
|
4349
|
-
else if (a.eventType & et) return
|
|
4349
|
+
else if (a.eventType & et) return me;
|
|
4350
4350
|
return ee;
|
|
4351
4351
|
}, "process"), reset: /* @__PURE__ */ r(function() {
|
|
4352
4352
|
clearTimeout(this._timer);
|
|
4353
4353
|
}, "reset"), emit: /* @__PURE__ */ r(function(a) {
|
|
4354
|
-
this.state ===
|
|
4354
|
+
this.state === me && (a && a.eventType & et ? this.manager.emit(this.options.event + "up", a) : (this._input.timeStamp = ei(), this.manager.emit(this.options.event, this._input)));
|
|
4355
4355
|
}, "emit") }), f(j, at, { defaults: { event: "rotate", threshold: 0, pointers: 2 }, getTouchAction: /* @__PURE__ */ r(function() {
|
|
4356
|
-
return [
|
|
4356
|
+
return [fn];
|
|
4357
4357
|
}, "getTouchAction"), attrTest: /* @__PURE__ */ r(function(a) {
|
|
4358
4358
|
return this._super.attrTest.call(this, a) && (Math.abs(a.rotation) > this.options.threshold || this.state & Vt);
|
|
4359
|
-
}, "attrTest") }), f(K, at, { defaults: { event: "swipe", threshold: 10, velocity: 0.3, direction: te |
|
|
4359
|
+
}, "attrTest") }), f(K, at, { defaults: { event: "swipe", threshold: 10, velocity: 0.3, direction: te | ln, pointers: 1 }, getTouchAction: /* @__PURE__ */ r(function() {
|
|
4360
4360
|
return Ut.prototype.getTouchAction.call(this);
|
|
4361
4361
|
}, "getTouchAction"), attrTest: /* @__PURE__ */ r(function(a) {
|
|
4362
4362
|
var u, m = this.options.direction;
|
|
4363
|
-
return m & (te |
|
|
4363
|
+
return m & (te | ln) ? u = a.overallVelocity : m & te ? u = a.overallVelocityX : m & ln && (u = a.overallVelocityY), this._super.attrTest.call(this, a) && m & a.offsetDirection && a.distance > this.options.threshold && a.maxPointers == this.options.pointers && cn(u) > this.options.velocity && a.eventType & et;
|
|
4364
4364
|
}, "attrTest"), emit: /* @__PURE__ */ r(function(a) {
|
|
4365
4365
|
var u = or(a.offsetDirection);
|
|
4366
4366
|
u && this.manager.emit(this.options.event + u, a), this.manager.emit(this.options.event, a);
|
|
@@ -4371,12 +4371,12 @@ let Pi = Eo;
|
|
|
4371
4371
|
if (this.reset(), a.eventType & wt && this.count === 0) return this.failTimeout();
|
|
4372
4372
|
if (C && S && m) {
|
|
4373
4373
|
if (a.eventType != et) return this.failTimeout();
|
|
4374
|
-
var I = this.pTime ? a.timeStamp - this.pTime < u.interval : !0, N = !this.pCenter ||
|
|
4374
|
+
var I = this.pTime ? a.timeStamp - this.pTime < u.interval : !0, N = !this.pCenter || an(this.pCenter, a.center) < u.posThreshold;
|
|
4375
4375
|
this.pTime = a.timeStamp, this.pCenter = a.center, N && I ? this.count += 1 : this.count = 1, this._input = a;
|
|
4376
4376
|
var J = this.count % u.taps;
|
|
4377
4377
|
if (J === 0) return this.hasRequireFailures() ? (this._timer = i(function() {
|
|
4378
|
-
this.state =
|
|
4379
|
-
}, u.interval, this), Vt) :
|
|
4378
|
+
this.state = me, this.tryEmit();
|
|
4379
|
+
}, u.interval, this), Vt) : me;
|
|
4380
4380
|
}
|
|
4381
4381
|
return ee;
|
|
4382
4382
|
}, "process"), failTimeout: /* @__PURE__ */ r(function() {
|
|
@@ -4386,7 +4386,7 @@ let Pi = Eo;
|
|
|
4386
4386
|
}, "failTimeout"), reset: /* @__PURE__ */ r(function() {
|
|
4387
4387
|
clearTimeout(this._timer);
|
|
4388
4388
|
}, "reset"), emit: /* @__PURE__ */ r(function() {
|
|
4389
|
-
this.state ==
|
|
4389
|
+
this.state == me && (this._input.tapCount = this.count, this.manager.emit(this.options.event, this._input));
|
|
4390
4390
|
}, "emit") }), tt.VERSION = "2.0.8", tt.defaults = { domEvents: !1, touchAction: Sa, enable: !0, inputTarget: null, inputClass: null, preset: [[j, { enable: !1 }], [H, { enable: !1 }, ["rotate"]], [K, { direction: te }], [Ut, { direction: te }, ["swipe"]], [F], [F, { event: "doubletap", taps: 2 }, ["tap"]], [z]], cssProps: { userSelect: "none", touchSelect: "none", touchCallout: "none", contentZooming: "none", userDrag: "none", tapHighlightColor: "rgba(0,0,0,0)" } };
|
|
4391
4391
|
var Nl = 1, Ea = 2;
|
|
4392
4392
|
ot.prototype = { set: /* @__PURE__ */ r(function(a) {
|
|
@@ -4398,7 +4398,7 @@ let Pi = Eo;
|
|
|
4398
4398
|
if (!u.stopped) {
|
|
4399
4399
|
this.touchAction.preventDefaults(a);
|
|
4400
4400
|
var m, C = this.recognizers, S = u.curRecognizer;
|
|
4401
|
-
(!S || S && S.state &
|
|
4401
|
+
(!S || S && S.state & me) && (S = u.curRecognizer = null);
|
|
4402
4402
|
for (var I = 0; I < C.length; ) m = C[I], u.stopped === Ea || S && m != S && !m.canRecognizeWith(S) ? m.reset() : m.recognize(a), !S && m.state & (Vt | Bn | Ae) && (S = u.curRecognizer = m), I++;
|
|
4403
4403
|
}
|
|
4404
4404
|
}, "recognize"), get: /* @__PURE__ */ r(function(a) {
|
|
@@ -4412,7 +4412,7 @@ let Pi = Eo;
|
|
|
4412
4412
|
}, "add"), remove: /* @__PURE__ */ r(function(a) {
|
|
4413
4413
|
if (s(a, "remove", this)) return this;
|
|
4414
4414
|
if (a = this.get(a)) {
|
|
4415
|
-
var u = this.recognizers, m =
|
|
4415
|
+
var u = this.recognizers, m = M(u, a);
|
|
4416
4416
|
m !== -1 && (u.splice(m, 1), this.touchAction.update());
|
|
4417
4417
|
}
|
|
4418
4418
|
return this;
|
|
@@ -4427,7 +4427,7 @@ let Pi = Eo;
|
|
|
4427
4427
|
if (a !== o) {
|
|
4428
4428
|
var m = this.handlers;
|
|
4429
4429
|
return c(T(a), function(C) {
|
|
4430
|
-
u ? m[C] && m[C].splice(
|
|
4430
|
+
u ? m[C] && m[C].splice(M(m[C], u), 1) : delete m[C];
|
|
4431
4431
|
}), this;
|
|
4432
4432
|
}
|
|
4433
4433
|
}, "off"), emit: /* @__PURE__ */ r(function(a, u) {
|
|
@@ -4441,7 +4441,7 @@ let Pi = Eo;
|
|
|
4441
4441
|
}
|
|
4442
4442
|
}, "emit"), destroy: /* @__PURE__ */ r(function() {
|
|
4443
4443
|
this.element && R(this, !1), this.handlers = {}, this.session = {}, this.input.destroy(), this.element = null;
|
|
4444
|
-
}, "destroy") }, Q(tt, { INPUT_START: wt, INPUT_MOVE:
|
|
4444
|
+
}, "destroy") }, Q(tt, { INPUT_START: wt, INPUT_MOVE: un, INPUT_END: et, INPUT_CANCEL: yt, STATE_POSSIBLE: to, STATE_BEGAN: Vt, STATE_CHANGED: Bn, STATE_ENDED: Ae, STATE_RECOGNIZED: me, STATE_CANCELLED: hr, STATE_FAILED: ee, DIRECTION_NONE: Kr, DIRECTION_LEFT: sr, DIRECTION_RIGHT: ar, DIRECTION_UP: cr, DIRECTION_DOWN: ur, DIRECTION_HORIZONTAL: te, DIRECTION_VERTICAL: ln, DIRECTION_ALL: ga, Manager: ot, Input: A, TouchAction: kn, TouchInput: Jt, MouseInput: xe, PointerEventInput: Cn, TouchMouseInput: pe, SingleTouchInput: De, Recognizer: vt, AttrRecognizer: at, Tap: F, Pan: Ut, Swipe: K, Pinch: H, Rotate: j, Press: z, on: l, off: v, each: c, merge: gl, extend: pa, assign: Q, inherit: f, bindFn: d, prefixed: b });
|
|
4445
4445
|
var jl = typeof t < "u" ? t : typeof self < "u" ? self : {};
|
|
4446
4446
|
jl.Hammer = tt, typeof define == "function" && define.amd ? define(function() {
|
|
4447
4447
|
return tt;
|
|
@@ -4674,44 +4674,44 @@ function lc(t, e) {
|
|
|
4674
4674
|
provide: { ...o.provideParent, ...o.provide },
|
|
4675
4675
|
emits: [.../* @__PURE__ */ new Set([...o.emitsParent || [], ...o.emits || [], "update:modelValue"])],
|
|
4676
4676
|
setup(s, c) {
|
|
4677
|
-
const h = Fl(), f = new t(), d =
|
|
4677
|
+
const h = Fl(), f = new t(), d = Mi(f), w = {}, y = rm(f), l = new Proxy({}, {
|
|
4678
4678
|
get(b, B) {
|
|
4679
4679
|
if (B in d) {
|
|
4680
|
-
const
|
|
4681
|
-
return ii(
|
|
4680
|
+
const x = d[B];
|
|
4681
|
+
return ii(x) ? x.value : x;
|
|
4682
4682
|
}
|
|
4683
4683
|
return h.proxy[B];
|
|
4684
4684
|
},
|
|
4685
|
-
set(b, B,
|
|
4685
|
+
set(b, B, x) {
|
|
4686
4686
|
if (B in d) {
|
|
4687
4687
|
const A = d[B];
|
|
4688
|
-
return ii(A) ? (A.value =
|
|
4688
|
+
return ii(A) ? (A.value = x, !0) : (d[B] = x, !0);
|
|
4689
4689
|
}
|
|
4690
|
-
return h.proxy[B] =
|
|
4690
|
+
return h.proxy[B] = x, !0;
|
|
4691
4691
|
}
|
|
4692
4692
|
});
|
|
4693
4693
|
for (const b in y)
|
|
4694
4694
|
typeof y[b]?.get == "function" && (n.computed[b] = !0, w[b] = lt(() => {
|
|
4695
|
-
const B = t.prototype,
|
|
4696
|
-
return
|
|
4695
|
+
const B = t.prototype, x = Object.getOwnPropertyDescriptor(B, b);
|
|
4696
|
+
return x && x.get ? x.get.call(l) : y[b].get.call(l);
|
|
4697
4697
|
}));
|
|
4698
4698
|
n.watchEffect && Array.isArray(n.watchEffect) && n.watchEffect.forEach((b) => {
|
|
4699
4699
|
const { methodName: B } = b;
|
|
4700
|
-
Yl((
|
|
4700
|
+
Yl((x) => {
|
|
4701
4701
|
const A = t.prototype[B];
|
|
4702
|
-
typeof A == "function" && A.call(l,
|
|
4702
|
+
typeof A == "function" && A.call(l, x);
|
|
4703
4703
|
});
|
|
4704
4704
|
}), n.watchPostEffect && Array.isArray(n.watchPostEffect) && n.watchPostEffect.forEach((b) => {
|
|
4705
4705
|
const { methodName: B } = b;
|
|
4706
|
-
_l((
|
|
4706
|
+
_l((x) => {
|
|
4707
4707
|
const A = t.prototype[B];
|
|
4708
|
-
typeof A == "function" && A.call(l,
|
|
4708
|
+
typeof A == "function" && A.call(l, x);
|
|
4709
4709
|
});
|
|
4710
4710
|
}), n.watchSyncEffect && Array.isArray(n.watchSyncEffect) && n.watchSyncEffect.forEach((b) => {
|
|
4711
4711
|
const { methodName: B } = b;
|
|
4712
|
-
Hl((
|
|
4712
|
+
Hl((x) => {
|
|
4713
4713
|
const A = t.prototype[B];
|
|
4714
|
-
typeof A == "function" && A.call(l,
|
|
4714
|
+
typeof A == "function" && A.call(l, x);
|
|
4715
4715
|
});
|
|
4716
4716
|
});
|
|
4717
4717
|
for (const b of hl)
|
|
@@ -4729,9 +4729,9 @@ function lc(t, e) {
|
|
|
4729
4729
|
computedKeys: g
|
|
4730
4730
|
};
|
|
4731
4731
|
f.setupParent && (p = { ...p, ...f.setupParent.call(l, s, c, d, T) ?? {} }), f.setup && (p = { ...p, ...f.setup.call(l, s, c, d, T) ?? {} }), v = { ...p };
|
|
4732
|
-
const
|
|
4733
|
-
v.isComputedProperty =
|
|
4734
|
-
const D = { isComputedProperty:
|
|
4732
|
+
const M = /* @__PURE__ */ r((b) => w?.[b] !== void 0 || !!(v?.[b] && v?.[b]?.effect && v?.[b]?.__v_isRef), "isComputedProperty");
|
|
4733
|
+
v.isComputedProperty = M;
|
|
4734
|
+
const D = { isComputedProperty: M };
|
|
4735
4735
|
for (const b in y)
|
|
4736
4736
|
typeof y[b].value == "function" && b !== "constructor" && (f[b] = D[b] = y[b].value.bind(l));
|
|
4737
4737
|
if (Object.assign(d, D), d.name = t.name, n.watch)
|
|
@@ -4739,9 +4739,9 @@ function lc(t, e) {
|
|
|
4739
4739
|
eo(
|
|
4740
4740
|
() => l?.[n.watch[b].propertyName],
|
|
4741
4741
|
// обработчик
|
|
4742
|
-
(B,
|
|
4742
|
+
(B, x) => {
|
|
4743
4743
|
const A = t.prototype[b];
|
|
4744
|
-
typeof A == "function" && A.call(l, B,
|
|
4744
|
+
typeof A == "function" && A.call(l, B, x);
|
|
4745
4745
|
},
|
|
4746
4746
|
{
|
|
4747
4747
|
immediate: n.watch[b].immediate,
|
|
@@ -4753,14 +4753,14 @@ function lc(t, e) {
|
|
|
4753
4753
|
}, { immediate: !0 }), eo(() => s?.modelValue, (b, B) => {
|
|
4754
4754
|
l.modelValue = b;
|
|
4755
4755
|
}, { immediate: !0 }), d.nextTick = (function(b, B = 1) {
|
|
4756
|
-
let
|
|
4756
|
+
let x = 0;
|
|
4757
4757
|
const A = /* @__PURE__ */ r(() => {
|
|
4758
|
-
|
|
4758
|
+
x++, x < B ? si(A) : typeof b == "function" && !(b instanceof Promise) && b.call(l);
|
|
4759
4759
|
}, "stepRunner");
|
|
4760
4760
|
si(A);
|
|
4761
4761
|
}).bind(l), eo(s, (function(b) {
|
|
4762
4762
|
for (const B in b)
|
|
4763
|
-
if (B in d && i?.[B] && d[B] !== b?.[B] && !n.computed?.[B] && !n.watch?.[B] && !
|
|
4763
|
+
if (B in d && i?.[B] && d[B] !== b?.[B] && !n.computed?.[B] && !n.watch?.[B] && !M(B) && ![
|
|
4764
4764
|
"provide",
|
|
4765
4765
|
"provideParent",
|
|
4766
4766
|
"inject",
|
|
@@ -4776,8 +4776,8 @@ function lc(t, e) {
|
|
|
4776
4776
|
if (B == "modelValue")
|
|
4777
4777
|
f[B] = b[B];
|
|
4778
4778
|
else {
|
|
4779
|
-
const
|
|
4780
|
-
ii(
|
|
4779
|
+
const x = d[B];
|
|
4780
|
+
ii(x) ? x.value = b[B] : d[B] = b[B], f[B] = b[B];
|
|
4781
4781
|
}
|
|
4782
4782
|
}).bind(l), { immediate: !0 });
|
|
4783
4783
|
let k = {};
|
|
@@ -4874,7 +4874,7 @@ const om = em, P = /* @__PURE__ */ r((t, ...e) => (n, o) => {
|
|
|
4874
4874
|
let s = [t, ...e];
|
|
4875
4875
|
i.props[o] = typeof t == "object" ? t : { type: s, ...s.includes("required") ? { required: !0 } : {} };
|
|
4876
4876
|
}, "Prop");
|
|
4877
|
-
function
|
|
4877
|
+
function nn(t, e, n) {
|
|
4878
4878
|
const o = typeof t == "string" || t === void 0 || typeof t == "object" && t.constructor === Object, i = /* @__PURE__ */ r((s, c) => {
|
|
4879
4879
|
const h = sa(s.constructor);
|
|
4880
4880
|
h.watch || (h.watch = []);
|
|
@@ -4887,7 +4887,7 @@ function yn(t, e, n) {
|
|
|
4887
4887
|
}, "decorator");
|
|
4888
4888
|
return o ? i : i(t, e);
|
|
4889
4889
|
}
|
|
4890
|
-
r(
|
|
4890
|
+
r(nn, "Watch");
|
|
4891
4891
|
const um = /* @__PURE__ */ r(function(t) {
|
|
4892
4892
|
return (e, n, o) => {
|
|
4893
4893
|
const i = sa(e.constructor);
|
|
@@ -4901,7 +4901,7 @@ let dl = (In = class extends ko {
|
|
|
4901
4901
|
constructor() {
|
|
4902
4902
|
if (super(), this.VST = globalThis.$VST, !this.VST.$reactive) {
|
|
4903
4903
|
const e = fo(window.innerWidth), n = fo(window.innerHeight), o = this.VST.device().osName()?.toLowerCase().includes("android"), i = this.VST.device().deviceVendor() == "Apple", s = /* @__PURE__ */ r(() => "ontouchstart" in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0, "hasTouchpad"), c = this.VST.device().osName()?.toLowerCase().includes("ios") || this.VST.device().deviceModel()?.toLowerCase().includes("iphone") || this.VST.device().browserEngine()?.toLowerCase().includes("safari") && this.VST.device().device() == "mobile";
|
|
4904
|
-
this.VST.$reactive =
|
|
4904
|
+
this.VST.$reactive = Mi({
|
|
4905
4905
|
locale: (Intl ? new Intl.DateTimeFormat()?.resolvedOptions?.()?.locale : navigator.language) || "en",
|
|
4906
4906
|
isMobile: lt(() => e.value < 768 || n.value < 768 && e.value < 1e3),
|
|
4907
4907
|
isMobileHorizontal: lt(() => n.value < e.value && n.value < 768 && e.value < 1e3),
|
|
@@ -5008,7 +5008,7 @@ const fa = class fa extends ko {
|
|
|
5008
5008
|
constructor() {
|
|
5009
5009
|
if (super(), this.VST = globalThis.$VST, !this.VST.$reactive) {
|
|
5010
5010
|
const e = fo(window.innerWidth), n = fo(window.innerHeight), o = this.VST.device().osName()?.toLowerCase().includes("android"), i = this.VST.device().deviceVendor() == "Apple", s = /* @__PURE__ */ r(() => "ontouchstart" in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0, "hasTouchpad"), c = this.VST.device().osName()?.toLowerCase().includes("ios") || this.VST.device().deviceModel()?.toLowerCase().includes("iphone") || this.VST.device().browserEngine()?.toLowerCase().includes("safari") && this.VST.device().device() == "mobile";
|
|
5011
|
-
this.VST.$reactive =
|
|
5011
|
+
this.VST.$reactive = Mi({
|
|
5012
5012
|
locale: (Intl ? new Intl.DateTimeFormat()?.resolvedOptions?.()?.locale : navigator.language) || "en",
|
|
5013
5013
|
isMobile: lt(() => e.value < 768 || n.value < 768 && e.value < 1e3),
|
|
5014
5014
|
isMobileHorizontal: lt(() => n.value < e.value && n.value < 768 && e.value < 1e3),
|
|
@@ -5344,24 +5344,24 @@ O([
|
|
|
5344
5344
|
E("design:type", Object)
|
|
5345
5345
|
], Y.prototype, "theme", void 0);
|
|
5346
5346
|
O([
|
|
5347
|
-
|
|
5347
|
+
nn,
|
|
5348
5348
|
E("design:type", Function),
|
|
5349
5349
|
E("design:paramtypes", []),
|
|
5350
5350
|
E("design:returntype", void 0)
|
|
5351
5351
|
], Y.prototype, "watchTheme", null);
|
|
5352
5352
|
O([
|
|
5353
|
-
|
|
5353
|
+
nn("title", !1, !0),
|
|
5354
5354
|
E("design:type", Function),
|
|
5355
5355
|
E("design:paramtypes", [String]),
|
|
5356
5356
|
E("design:returntype", void 0)
|
|
5357
5357
|
], Y.prototype, "onTitleChanged", null);
|
|
5358
5358
|
O([
|
|
5359
|
-
|
|
5359
|
+
nn("disabled"),
|
|
5360
5360
|
E("design:type", Function),
|
|
5361
5361
|
E("design:paramtypes", [Boolean]),
|
|
5362
5362
|
E("design:returntype", void 0)
|
|
5363
5363
|
], Y.prototype, "onDisabledChanged", null);
|
|
5364
|
-
const fm =
|
|
5364
|
+
const fm = le(() => import("./Button-CCvy-cy_.js")), ha = class ha extends dl {
|
|
5365
5365
|
emits = [
|
|
5366
5366
|
"click",
|
|
5367
5367
|
"touchstart",
|
|
@@ -5608,25 +5608,25 @@ O([
|
|
|
5608
5608
|
E("design:type", Object)
|
|
5609
5609
|
], V.prototype, "theme", void 0);
|
|
5610
5610
|
O([
|
|
5611
|
-
|
|
5611
|
+
nn,
|
|
5612
5612
|
E("design:type", Function),
|
|
5613
5613
|
E("design:paramtypes", []),
|
|
5614
5614
|
E("design:returntype", void 0)
|
|
5615
5615
|
], V.prototype, "watchTheme", null);
|
|
5616
5616
|
O([
|
|
5617
|
-
|
|
5617
|
+
nn("title", !1, !0),
|
|
5618
5618
|
E("design:type", Function),
|
|
5619
5619
|
E("design:paramtypes", [String]),
|
|
5620
5620
|
E("design:returntype", void 0)
|
|
5621
5621
|
], V.prototype, "onTitleChanged", null);
|
|
5622
5622
|
O([
|
|
5623
|
-
|
|
5623
|
+
nn("disabled"),
|
|
5624
5624
|
E("design:type", Function),
|
|
5625
5625
|
E("design:paramtypes", [Boolean]),
|
|
5626
5626
|
E("design:returntype", void 0)
|
|
5627
5627
|
], V.prototype, "onDisabledChanged", null);
|
|
5628
|
-
const hm =
|
|
5629
|
-
var im = Object.defineProperty, sm = Object.getOwnPropertyDescriptor,
|
|
5628
|
+
const hm = le(() => import("./Tabs-DWHQAU96.js")), dm = le(() => import("./Scrollbar-BNrJnrNd.js")), pm = le(() => import("./SelectField-Dc7OzO0a.js")), mm = le(() => import("./StringField-BReWU9a3.js")), gm = le(() => import("./SwitchField-gG22KtSx.js")), vm = le(() => import("./TextField-HMJ9gBFi.js")), wm = le(() => import("./FilesArea-BwyHkqOV.js")), bm = le(() => import("./DateField-2X17prqy.js"));
|
|
5629
|
+
var im = Object.defineProperty, sm = Object.getOwnPropertyDescriptor, rn = /* @__PURE__ */ r((t, e, n, o) => {
|
|
5630
5630
|
for (var i = o > 1 ? void 0 : o ? sm(e, n) : e, s = t.length - 1, c; s >= 0; s--)
|
|
5631
5631
|
(c = t[s]) && (i = (o ? c(e, n, i) : c(i)) || i);
|
|
5632
5632
|
return o && i && im(e, n, i), i;
|
|
@@ -5655,6 +5655,9 @@ const da = class da extends dl {
|
|
|
5655
5655
|
watchValue(e) {
|
|
5656
5656
|
this.onValueChange(e);
|
|
5657
5657
|
}
|
|
5658
|
+
watchModelValue(e) {
|
|
5659
|
+
this.setValue(e);
|
|
5660
|
+
}
|
|
5658
5661
|
getValue() {
|
|
5659
5662
|
return this.value;
|
|
5660
5663
|
}
|
|
@@ -5663,37 +5666,40 @@ const da = class da extends dl {
|
|
|
5663
5666
|
}
|
|
5664
5667
|
};
|
|
5665
5668
|
r(da, "FieldComponent");
|
|
5666
|
-
let
|
|
5667
|
-
|
|
5669
|
+
let ue = da;
|
|
5670
|
+
rn([
|
|
5668
5671
|
P(String, Number, Array, Object, Boolean, null)
|
|
5669
|
-
],
|
|
5670
|
-
|
|
5672
|
+
], ue.prototype, "inputValue", 2);
|
|
5673
|
+
rn([
|
|
5671
5674
|
P(String, Number, Array, Object, Boolean, null)
|
|
5672
|
-
],
|
|
5673
|
-
|
|
5675
|
+
], ue.prototype, "modelValue", 2);
|
|
5676
|
+
rn([
|
|
5674
5677
|
P(String, Number, Array, Object, Boolean)
|
|
5675
|
-
],
|
|
5676
|
-
|
|
5678
|
+
], ue.prototype, "default", 2);
|
|
5679
|
+
rn([
|
|
5677
5680
|
P(Boolean)
|
|
5678
|
-
],
|
|
5679
|
-
|
|
5681
|
+
], ue.prototype, "disabled", 2);
|
|
5682
|
+
rn([
|
|
5680
5683
|
P(String)
|
|
5681
|
-
],
|
|
5682
|
-
|
|
5684
|
+
], ue.prototype, "size", 2);
|
|
5685
|
+
rn([
|
|
5683
5686
|
P(String, Object)
|
|
5684
|
-
],
|
|
5685
|
-
|
|
5686
|
-
|
|
5687
|
-
],
|
|
5688
|
-
|
|
5687
|
+
], ue.prototype, "placeholder", 2);
|
|
5688
|
+
rn([
|
|
5689
|
+
nn({ deep: !0 })
|
|
5690
|
+
], ue.prototype, "watchValue", 1);
|
|
5691
|
+
rn([
|
|
5692
|
+
nn({ deep: !0 })
|
|
5693
|
+
], ue.prototype, "watchModelValue", 1);
|
|
5694
|
+
const ym = le(() => import("./CodeHighlight-th8_Yxdg.js"));
|
|
5689
5695
|
export {
|
|
5690
5696
|
Y as B,
|
|
5691
5697
|
um as C,
|
|
5692
|
-
|
|
5698
|
+
ue as F,
|
|
5693
5699
|
P,
|
|
5694
5700
|
lm as V,
|
|
5695
|
-
|
|
5696
|
-
|
|
5701
|
+
nn as W,
|
|
5702
|
+
ge as X,
|
|
5697
5703
|
dl as a,
|
|
5698
5704
|
dm as b,
|
|
5699
5705
|
mm as c,
|