@oslokommune/punkt-react 12.27.1 → 12.27.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/punkt-react.es.js +768 -769
- package/dist/punkt-react.umd.js +71 -71
- package/package.json +3 -3
package/dist/punkt-react.es.js
CHANGED
|
@@ -74,12 +74,12 @@ function CO() {
|
|
|
74
74
|
if (TE) return _v;
|
|
75
75
|
TE = 1;
|
|
76
76
|
var n = un, r = Symbol.for("react.element"), o = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, f = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
77
|
-
function v(
|
|
77
|
+
function v(D, C, _) {
|
|
78
78
|
var N, P = {}, R = null, B = null;
|
|
79
79
|
_ !== void 0 && (R = "" + _), C.key !== void 0 && (R = "" + C.key), C.ref !== void 0 && (B = C.ref);
|
|
80
80
|
for (N in C) u.call(C, N) && !g.hasOwnProperty(N) && (P[N] = C[N]);
|
|
81
|
-
if (
|
|
82
|
-
return { $$typeof: r, type:
|
|
81
|
+
if (D && D.defaultProps) for (N in C = D.defaultProps, C) P[N] === void 0 && (P[N] = C[N]);
|
|
82
|
+
return { $$typeof: r, type: D, key: R, ref: B, props: P, _owner: f.current };
|
|
83
83
|
}
|
|
84
84
|
return _v.Fragment = o, _v.jsx = v, _v.jsxs = v, _v;
|
|
85
85
|
}
|
|
@@ -96,7 +96,7 @@ var Tv = {};
|
|
|
96
96
|
var AE;
|
|
97
97
|
function EO() {
|
|
98
98
|
return AE || (AE = 1, process.env.NODE_ENV !== "production" && function() {
|
|
99
|
-
var n = un, r = Symbol.for("react.element"), o = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), f = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), v = Symbol.for("react.provider"),
|
|
99
|
+
var n = un, r = Symbol.for("react.element"), o = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), f = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), v = Symbol.for("react.provider"), D = Symbol.for("react.context"), C = Symbol.for("react.forward_ref"), _ = Symbol.for("react.suspense"), N = Symbol.for("react.suspense_list"), P = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), B = Symbol.for("react.offscreen"), M = Symbol.iterator, V = "@@iterator";
|
|
100
100
|
function H(W) {
|
|
101
101
|
if (W === null || typeof W != "object")
|
|
102
102
|
return null;
|
|
@@ -124,7 +124,7 @@ function EO() {
|
|
|
124
124
|
var te = !1, U = !1, re = !1, oe = !1, Te = !1, ye;
|
|
125
125
|
ye = Symbol.for("react.module.reference");
|
|
126
126
|
function qe(W) {
|
|
127
|
-
return !!(typeof W == "string" || typeof W == "function" || W === u || W === g || Te || W === f || W === _ || W === N || oe || W === B || te || U || re || typeof W == "object" && W !== null && (W.$$typeof === R || W.$$typeof === P || W.$$typeof === v || W.$$typeof ===
|
|
127
|
+
return !!(typeof W == "string" || typeof W == "function" || W === u || W === g || Te || W === f || W === _ || W === N || oe || W === B || te || U || re || typeof W == "object" && W !== null && (W.$$typeof === R || W.$$typeof === P || W.$$typeof === v || W.$$typeof === D || W.$$typeof === C || // This needs to include all possible module reference object
|
|
128
128
|
// types supported by any Flight configuration anywhere since
|
|
129
129
|
// we don't know which Flight build this will end up being used
|
|
130
130
|
// with.
|
|
@@ -163,7 +163,7 @@ function EO() {
|
|
|
163
163
|
}
|
|
164
164
|
if (typeof W == "object")
|
|
165
165
|
switch (W.$$typeof) {
|
|
166
|
-
case
|
|
166
|
+
case D:
|
|
167
167
|
var Ne = W;
|
|
168
168
|
return We(Ne) + ".Consumer";
|
|
169
169
|
case v:
|
|
@@ -707,20 +707,20 @@ const BU = _r(
|
|
|
707
707
|
*/
|
|
708
708
|
const _O = /* @__PURE__ */ new Set(["children", "localName", "ref", "style", "className"]), FE = /* @__PURE__ */ new WeakMap(), NE = (n, r, o, u, f) => {
|
|
709
709
|
const g = f == null ? void 0 : f[r];
|
|
710
|
-
g === void 0 ? (n[r] = o, o == null && r in HTMLElement.prototype && n.removeAttribute(r)) : o !== u && ((v,
|
|
710
|
+
g === void 0 ? (n[r] = o, o == null && r in HTMLElement.prototype && n.removeAttribute(r)) : o !== u && ((v, D, C) => {
|
|
711
711
|
let _ = FE.get(v);
|
|
712
712
|
_ === void 0 && FE.set(v, _ = /* @__PURE__ */ new Map());
|
|
713
|
-
let N = _.get(
|
|
714
|
-
C !== void 0 ? N === void 0 ? (_.set(
|
|
713
|
+
let N = _.get(D);
|
|
714
|
+
C !== void 0 ? N === void 0 ? (_.set(D, N = { handleEvent: C }), v.addEventListener(D, N)) : N.handleEvent = C : N !== void 0 && (_.delete(D), v.removeEventListener(D, N));
|
|
715
715
|
})(n, g, o);
|
|
716
716
|
}, Hi = ({ react: n, tagName: r, elementClass: o, events: u, displayName: f }) => {
|
|
717
|
-
const g = new Set(Object.keys(u ?? {})), v = n.forwardRef((
|
|
717
|
+
const g = new Set(Object.keys(u ?? {})), v = n.forwardRef((D, C) => {
|
|
718
718
|
const _ = n.useRef(/* @__PURE__ */ new Map()), N = n.useRef(null), P = {}, R = {};
|
|
719
|
-
for (const [B, M] of Object.entries(
|
|
719
|
+
for (const [B, M] of Object.entries(D)) _O.has(B) ? P[B === "className" ? "class" : B] = M : g.has(B) || B in o.prototype ? R[B] = M : P[B] = M;
|
|
720
720
|
return n.useLayoutEffect(() => {
|
|
721
721
|
if (N.current === null) return;
|
|
722
722
|
const B = /* @__PURE__ */ new Map();
|
|
723
|
-
for (const M in R) NE(N.current, M,
|
|
723
|
+
for (const M in R) NE(N.current, M, D[M], _.current.get(M), u), _.current.delete(M), B.set(M, D[M]);
|
|
724
724
|
for (const [M, V] of _.current) NE(N.current, M, void 0, V, u);
|
|
725
725
|
_.current = B;
|
|
726
726
|
}), n.useLayoutEffect(() => {
|
|
@@ -747,12 +747,12 @@ function CT(n, r) {
|
|
|
747
747
|
const ET = (n, r) => {
|
|
748
748
|
const o = n.length - 1, u = [];
|
|
749
749
|
let f, g = r === 2 ? "<svg>" : r === 3 ? "<math>" : "", v = Av;
|
|
750
|
-
for (let
|
|
751
|
-
const C = n[
|
|
750
|
+
for (let D = 0; D < o; D++) {
|
|
751
|
+
const C = n[D];
|
|
752
752
|
let _, N, P = -1, R = 0;
|
|
753
753
|
for (; R < C.length && (v.lastIndex = R, N = v.exec(C), N !== null); ) R = v.lastIndex, v === Av ? N[1] === "!--" ? v = PE : N[1] !== void 0 ? v = RE : N[2] !== void 0 ? (xT.test(N[2]) && (f = RegExp("</" + N[2], "g")), v = Df) : N[3] !== void 0 && (v = Df) : v === Df ? N[0] === ">" ? (v = f ?? Av, P = -1) : N[1] === void 0 ? P = -2 : (P = v.lastIndex - N[2].length, _ = N[1], v = N[3] === void 0 ? Df : N[3] === '"' ? LE : OE) : v === LE || v === OE ? v = Df : v === PE || v === RE ? v = Av : (v = Df, f = void 0);
|
|
754
|
-
const B = v === Df && n[
|
|
755
|
-
g += v === Av ? C + TO : P >= 0 ? (u.push(_), C.slice(0, P) + lD + C.slice(P) + Ec + B) : C + Ec + (P === -2 ?
|
|
754
|
+
const B = v === Df && n[D + 1].startsWith("/>") ? " " : "";
|
|
755
|
+
g += v === Av ? C + TO : P >= 0 ? (u.push(_), C.slice(0, P) + lD + C.slice(P) + Ec + B) : C + Ec + (P === -2 ? D : B);
|
|
756
756
|
}
|
|
757
757
|
return [CT(n, g + (n[o] || "<?>") + (r === 2 ? "</svg>" : r === 3 ? "</math>" : "")), u];
|
|
758
758
|
};
|
|
@@ -761,12 +761,12 @@ class Jv {
|
|
|
761
761
|
let f;
|
|
762
762
|
this.parts = [];
|
|
763
763
|
let g = 0, v = 0;
|
|
764
|
-
const
|
|
764
|
+
const D = r.length - 1, C = this.parts, [_, N] = ET(r, o);
|
|
765
765
|
if (this.el = Jv.createElement(_, u), Nf.currentNode = this.el.content, o === 2 || o === 3) {
|
|
766
766
|
const P = this.el.content.firstChild;
|
|
767
767
|
P.replaceWith(...P.childNodes);
|
|
768
768
|
}
|
|
769
|
-
for (; (f = Nf.nextNode()) !== null && C.length <
|
|
769
|
+
for (; (f = Nf.nextNode()) !== null && C.length < D; ) {
|
|
770
770
|
if (f.nodeType === 1) {
|
|
771
771
|
if (f.hasAttributes()) for (const P of f.getAttributeNames()) if (P.endsWith(lD)) {
|
|
772
772
|
const R = N[v++], B = f.getAttribute(P).split(Ec), M = /([.?@])?(.*)/.exec(R);
|
|
@@ -797,8 +797,8 @@ function Rf(n, r, o = n, u) {
|
|
|
797
797
|
var f, g;
|
|
798
798
|
if (r === Oo) return r;
|
|
799
799
|
let v = u !== void 0 ? (f = o._$Co) == null ? void 0 : f[u] : o._$Cl;
|
|
800
|
-
const
|
|
801
|
-
return (v == null ? void 0 : v.constructor) !==
|
|
800
|
+
const D = Xv(r) ? void 0 : r._$litDirective$;
|
|
801
|
+
return (v == null ? void 0 : v.constructor) !== D && ((g = v == null ? void 0 : v._$AO) == null || g.call(v, !1), D === void 0 ? v = void 0 : (v = new D(n), v._$AT(n, o, u)), u !== void 0 ? (o._$Co ?? (o._$Co = []))[u] = v : o._$Cl = v), v !== void 0 && (r = Rf(n, v._$AS(n, r.values), v, u)), r;
|
|
802
802
|
}
|
|
803
803
|
class _T {
|
|
804
804
|
constructor(r, o) {
|
|
@@ -813,11 +813,11 @@ class _T {
|
|
|
813
813
|
u(r) {
|
|
814
814
|
const { el: { content: o }, parts: u } = this._$AD, f = ((r == null ? void 0 : r.creationScope) ?? Pf).importNode(o, !0);
|
|
815
815
|
Nf.currentNode = f;
|
|
816
|
-
let g = Nf.nextNode(), v = 0,
|
|
816
|
+
let g = Nf.nextNode(), v = 0, D = 0, C = u[0];
|
|
817
817
|
for (; C !== void 0; ) {
|
|
818
818
|
if (v === C.index) {
|
|
819
819
|
let _;
|
|
820
|
-
C.type === 2 ? _ = new jm(g, g.nextSibling, this, r) : C.type === 1 ? _ = new C.ctor(g, C.name, C.strings, this, r) : C.type === 6 && (_ = new NT(g, this, r)), this._$AV.push(_), C = u[++
|
|
820
|
+
C.type === 2 ? _ = new jm(g, g.nextSibling, this, r) : C.type === 1 ? _ = new C.ctor(g, C.name, C.strings, this, r) : C.type === 6 && (_ = new NT(g, this, r)), this._$AV.push(_), C = u[++D];
|
|
821
821
|
}
|
|
822
822
|
v !== (C == null ? void 0 : C.index) && (g = Nf.nextNode(), v++);
|
|
823
823
|
}
|
|
@@ -864,8 +864,8 @@ class jm {
|
|
|
864
864
|
const { values: u, _$litType$: f } = r, g = typeof f == "number" ? this._$AC(r) : (f.el === void 0 && (f.el = Jv.createElement(CT(f.h, f.h[0]), this.options)), f);
|
|
865
865
|
if (((o = this._$AH) == null ? void 0 : o._$AD) === g) this._$AH.p(u);
|
|
866
866
|
else {
|
|
867
|
-
const v = new _T(g, this),
|
|
868
|
-
v.p(u), this.T(
|
|
867
|
+
const v = new _T(g, this), D = v.u(this.options);
|
|
868
|
+
v.p(u), this.T(D), this._$AH = v;
|
|
869
869
|
}
|
|
870
870
|
}
|
|
871
871
|
_$AC(r) {
|
|
@@ -906,9 +906,9 @@ class sy {
|
|
|
906
906
|
let v = !1;
|
|
907
907
|
if (g === void 0) r = Rf(this, r, o, 0), v = !Xv(r) || r !== this._$AH && r !== Oo, v && (this._$AH = r);
|
|
908
908
|
else {
|
|
909
|
-
const
|
|
909
|
+
const D = r;
|
|
910
910
|
let C, _;
|
|
911
|
-
for (r = g[0], C = 0; C < g.length - 1; C++) _ = Rf(this,
|
|
911
|
+
for (r = g[0], C = 0; C < g.length - 1; C++) _ = Rf(this, D[u + C], o, C), _ === Oo && (_ = this._$AH[C]), v || (v = !Xv(_) || _ !== this._$AH[C]), _ === kt ? r = kt : r !== kt && (r += (_ ?? "") + g[C + 1]), this._$AH[C] = _;
|
|
912
912
|
}
|
|
913
913
|
v && !f && this.j(r);
|
|
914
914
|
}
|
|
@@ -1092,8 +1092,8 @@ class Cm extends HTMLElement {
|
|
|
1092
1092
|
return { get() {
|
|
1093
1093
|
return f == null ? void 0 : f.call(this);
|
|
1094
1094
|
}, set(v) {
|
|
1095
|
-
const
|
|
1096
|
-
g.call(this, v), this.requestUpdate(r,
|
|
1095
|
+
const D = f == null ? void 0 : f.call(this);
|
|
1096
|
+
g.call(this, v), this.requestUpdate(r, D, u);
|
|
1097
1097
|
}, configurable: !0, enumerable: !0 };
|
|
1098
1098
|
}
|
|
1099
1099
|
static getPropertyOptions(r) {
|
|
@@ -1189,8 +1189,8 @@ class Cm extends HTMLElement {
|
|
|
1189
1189
|
var u;
|
|
1190
1190
|
const f = this.constructor, g = f._$Eh.get(r);
|
|
1191
1191
|
if (g !== void 0 && this._$Em !== g) {
|
|
1192
|
-
const v = f.getPropertyOptions(g),
|
|
1193
|
-
this._$Em = g, this[g] =
|
|
1192
|
+
const v = f.getPropertyOptions(g), D = typeof v.converter == "function" ? { fromAttribute: v.converter } : ((u = v.converter) == null ? void 0 : u.fromAttribute) !== void 0 ? v.converter : O0;
|
|
1193
|
+
this._$Em = g, this[g] = D.fromAttribute(o, v.type), this._$Em = null;
|
|
1194
1194
|
}
|
|
1195
1195
|
}
|
|
1196
1196
|
requestUpdate(r, o, u) {
|
|
@@ -1279,18 +1279,18 @@ const UO = { attribute: !0, type: String, converter: O0, reflect: !1, hasChanged
|
|
|
1279
1279
|
let g = globalThis.litPropertyMetadata.get(f);
|
|
1280
1280
|
if (g === void 0 && globalThis.litPropertyMetadata.set(f, g = /* @__PURE__ */ new Map()), g.set(o.name, n), u === "accessor") {
|
|
1281
1281
|
const { name: v } = o;
|
|
1282
|
-
return { set(
|
|
1282
|
+
return { set(D) {
|
|
1283
1283
|
const C = r.get.call(this);
|
|
1284
|
-
r.set.call(this,
|
|
1285
|
-
}, init(
|
|
1286
|
-
return
|
|
1284
|
+
r.set.call(this, D), this.requestUpdate(v, C, n);
|
|
1285
|
+
}, init(D) {
|
|
1286
|
+
return D !== void 0 && this.P(v, void 0, n), D;
|
|
1287
1287
|
} };
|
|
1288
1288
|
}
|
|
1289
1289
|
if (u === "setter") {
|
|
1290
1290
|
const { name: v } = o;
|
|
1291
|
-
return function(
|
|
1291
|
+
return function(D) {
|
|
1292
1292
|
const C = this[v];
|
|
1293
|
-
r.call(this,
|
|
1293
|
+
r.call(this, D), this.requestUpdate(v, C, n);
|
|
1294
1294
|
};
|
|
1295
1295
|
}
|
|
1296
1296
|
throw Error("Unsupported decorator location: " + u);
|
|
@@ -1350,7 +1350,7 @@ var VE;
|
|
|
1350
1350
|
function qO() {
|
|
1351
1351
|
if (VE) return fn;
|
|
1352
1352
|
VE = 1;
|
|
1353
|
-
var n = Symbol.for("react.element"), r = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), u = Symbol.for("react.strict_mode"), f = Symbol.for("react.profiler"), g = Symbol.for("react.provider"), v = Symbol.for("react.context"),
|
|
1353
|
+
var n = Symbol.for("react.element"), r = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), u = Symbol.for("react.strict_mode"), f = Symbol.for("react.profiler"), g = Symbol.for("react.provider"), v = Symbol.for("react.context"), D = Symbol.for("react.forward_ref"), C = Symbol.for("react.suspense"), _ = Symbol.for("react.memo"), N = Symbol.for("react.lazy"), P = Symbol.iterator;
|
|
1354
1354
|
function R(G) {
|
|
1355
1355
|
return G === null || typeof G != "object" ? null : (G = P && G[P] || G["@@iterator"], typeof G == "function" ? G : null);
|
|
1356
1356
|
}
|
|
@@ -1497,7 +1497,7 @@ function qO() {
|
|
|
1497
1497
|
}, fn.createRef = function() {
|
|
1498
1498
|
return { current: null };
|
|
1499
1499
|
}, fn.forwardRef = function(G) {
|
|
1500
|
-
return { $$typeof:
|
|
1500
|
+
return { $$typeof: D, render: G };
|
|
1501
1501
|
}, fn.isValidElement = qe, fn.lazy = function(G) {
|
|
1502
1502
|
return { $$typeof: N, _payload: { _status: -1, _result: G }, _init: Pe };
|
|
1503
1503
|
}, fn.memo = function(G, ce) {
|
|
@@ -1557,7 +1557,7 @@ function WO() {
|
|
|
1557
1557
|
return YE || (YE = 1, function(n, r) {
|
|
1558
1558
|
process.env.NODE_ENV !== "production" && function() {
|
|
1559
1559
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
|
1560
|
-
var o = "18.3.1", u = Symbol.for("react.element"), f = Symbol.for("react.portal"), g = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"),
|
|
1560
|
+
var o = "18.3.1", u = Symbol.for("react.element"), f = Symbol.for("react.portal"), g = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), D = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), _ = Symbol.for("react.context"), N = Symbol.for("react.forward_ref"), P = Symbol.for("react.suspense"), R = Symbol.for("react.suspense_list"), B = Symbol.for("react.memo"), M = Symbol.for("react.lazy"), V = Symbol.for("react.offscreen"), H = Symbol.iterator, ge = "@@iterator";
|
|
1561
1561
|
function K(F) {
|
|
1562
1562
|
if (F === null || typeof F != "object")
|
|
1563
1563
|
return null;
|
|
@@ -1780,7 +1780,7 @@ function WO() {
|
|
|
1780
1780
|
return "Fragment";
|
|
1781
1781
|
case f:
|
|
1782
1782
|
return "Portal";
|
|
1783
|
-
case
|
|
1783
|
+
case D:
|
|
1784
1784
|
return "Profiler";
|
|
1785
1785
|
case v:
|
|
1786
1786
|
return "StrictMode";
|
|
@@ -2222,7 +2222,7 @@ Your code should look like:
|
|
|
2222
2222
|
var ai;
|
|
2223
2223
|
ai = Symbol.for("react.module.reference");
|
|
2224
2224
|
function W(F) {
|
|
2225
|
-
return !!(typeof F == "string" || typeof F == "function" || F === g || F ===
|
|
2225
|
+
return !!(typeof F == "string" || typeof F == "function" || F === g || F === D || $e || F === v || F === P || F === R || Fe || F === V || qe || nt || We || typeof F == "object" && F !== null && (F.$$typeof === M || F.$$typeof === B || F.$$typeof === C || F.$$typeof === _ || F.$$typeof === N || // This needs to include all possible module reference object
|
|
2226
2226
|
// types supported by any Flight configuration anywhere since
|
|
2227
2227
|
// we don't know which Flight build this will end up being used
|
|
2228
2228
|
// with.
|
|
@@ -2807,7 +2807,7 @@ Check the top-level render call using <` + pe + ">.");
|
|
|
2807
2807
|
toArray: Cl,
|
|
2808
2808
|
only: wi
|
|
2809
2809
|
};
|
|
2810
|
-
r.Children = Zi, r.Component = lt, r.Fragment = g, r.Profiler =
|
|
2810
|
+
r.Children = Zi, r.Component = lt, r.Fragment = g, r.Profiler = D, r.PureComponent = Ot, r.StrictMode = v, r.Suspense = P, r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Ke, r.act = Uo, r.cloneElement = Pl, r.createContext = ti, r.createElement = Vs, r.createFactory = Fu, r.createRef = Tn, r.forwardRef = fo, r.isValidElement = jn, r.lazy = ri, r.memo = Ne, r.startTransition = Au, r.unstable_act = Uo, r.useCallback = On, r.useContext = Dt, r.useDebugValue = Xt, r.useDeferredValue = ma, r.useEffect = Wt, r.useId = Vt, r.useImperativeHandle = Dr, r.useInsertionEffect = Tr, r.useLayoutEffect = Rn, r.useMemo = ra, r.useReducer = Zt, r.useRef = Ft, r.useState = nn, r.useSyncExternalStore = Di, r.useTransition = zr, r.version = o, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
|
|
2811
2811
|
}();
|
|
2812
2812
|
}(C0, C0.exports)), C0.exports;
|
|
2813
2813
|
}
|
|
@@ -2864,9 +2864,9 @@ function VO() {
|
|
|
2864
2864
|
return g.now();
|
|
2865
2865
|
};
|
|
2866
2866
|
} else {
|
|
2867
|
-
var v = Date,
|
|
2867
|
+
var v = Date, D = v.now();
|
|
2868
2868
|
n.unstable_now = function() {
|
|
2869
|
-
return v.now() -
|
|
2869
|
+
return v.now() - D;
|
|
2870
2870
|
};
|
|
2871
2871
|
}
|
|
2872
2872
|
var C = [], _ = [], N = 1, P = null, R = 3, B = !1, M = !1, V = !1, H = typeof setTimeout == "function" ? setTimeout : null, ge = typeof clearTimeout == "function" ? clearTimeout : null, K = typeof setImmediate < "u" ? setImmediate : null;
|
|
@@ -3043,7 +3043,7 @@ function YO() {
|
|
|
3043
3043
|
var r = !1, o = !1, u = 5;
|
|
3044
3044
|
function f(Ae, Xe) {
|
|
3045
3045
|
var rt = Ae.length;
|
|
3046
|
-
Ae.push(Xe),
|
|
3046
|
+
Ae.push(Xe), D(Ae, Xe, rt);
|
|
3047
3047
|
}
|
|
3048
3048
|
function g(Ae) {
|
|
3049
3049
|
return Ae.length === 0 ? null : Ae[0];
|
|
@@ -3054,7 +3054,7 @@ function YO() {
|
|
|
3054
3054
|
var Xe = Ae[0], rt = Ae.pop();
|
|
3055
3055
|
return rt !== Xe && (Ae[0] = rt, C(Ae, rt, 0)), Xe;
|
|
3056
3056
|
}
|
|
3057
|
-
function
|
|
3057
|
+
function D(Ae, Xe, rt) {
|
|
3058
3058
|
for (var zt = rt; zt > 0; ) {
|
|
3059
3059
|
var bn = zt - 1 >>> 1, jn = Ae[bn];
|
|
3060
3060
|
if (_(jn, Xe) > 0)
|
|
@@ -3325,7 +3325,7 @@ function GO() {
|
|
|
3325
3325
|
function v(a, i) {
|
|
3326
3326
|
for (f[a] = i, a = 0; a < i.length; a++) u.add(i[a]);
|
|
3327
3327
|
}
|
|
3328
|
-
var
|
|
3328
|
+
var D = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"), C = Object.prototype.hasOwnProperty, _ = /^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/, N = {}, P = {};
|
|
3329
3329
|
function R(a) {
|
|
3330
3330
|
return C.call(P, a) ? !0 : C.call(N, a) ? !1 : _.test(a) ? P[a] = !0 : (N[a] = !0, !1);
|
|
3331
3331
|
}
|
|
@@ -3356,8 +3356,8 @@ function GO() {
|
|
|
3356
3356
|
}
|
|
3357
3357
|
return !1;
|
|
3358
3358
|
}
|
|
3359
|
-
function V(a, i, c, m, k,
|
|
3360
|
-
this.acceptsBooleans = i === 2 || i === 3 || i === 4, this.attributeName = m, this.attributeNamespace = k, this.mustUseProperty = c, this.propertyName = a, this.type = i, this.sanitizeURL =
|
|
3359
|
+
function V(a, i, c, m, k, S, $) {
|
|
3360
|
+
this.acceptsBooleans = i === 2 || i === 3 || i === 4, this.attributeName = m, this.attributeNamespace = k, this.mustUseProperty = c, this.propertyName = a, this.type = i, this.sanitizeURL = S, this.removeEmptyString = $;
|
|
3361
3361
|
}
|
|
3362
3362
|
var H = {};
|
|
3363
3363
|
"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a) {
|
|
@@ -3457,12 +3457,12 @@ function GO() {
|
|
|
3457
3457
|
} catch (he) {
|
|
3458
3458
|
if (he && m && typeof he.stack == "string") {
|
|
3459
3459
|
for (var k = he.stack.split(`
|
|
3460
|
-
`),
|
|
3461
|
-
`), $ = k.length - 1, z =
|
|
3462
|
-
for (; 1 <= $ && 0 <= z; $--, z--) if (k[$] !==
|
|
3460
|
+
`), S = m.stack.split(`
|
|
3461
|
+
`), $ = k.length - 1, z = S.length - 1; 1 <= $ && 0 <= z && k[$] !== S[z]; ) z--;
|
|
3462
|
+
for (; 1 <= $ && 0 <= z; $--, z--) if (k[$] !== S[z]) {
|
|
3463
3463
|
if ($ !== 1 || z !== 1)
|
|
3464
3464
|
do
|
|
3465
|
-
if ($--, z--, 0 > z || k[$] !==
|
|
3465
|
+
if ($--, z--, 0 > z || k[$] !== S[z]) {
|
|
3466
3466
|
var Q = `
|
|
3467
3467
|
` + k[$].replace(" at new ", " at ");
|
|
3468
3468
|
return a.displayName && Q.includes("<anonymous>") && (Q = Q.replace("<anonymous>", a.displayName)), Q;
|
|
@@ -3605,11 +3605,11 @@ function GO() {
|
|
|
3605
3605
|
function an(a) {
|
|
3606
3606
|
var i = Ot(a) ? "checked" : "value", c = Object.getOwnPropertyDescriptor(a.constructor.prototype, i), m = "" + a[i];
|
|
3607
3607
|
if (!a.hasOwnProperty(i) && typeof c < "u" && typeof c.get == "function" && typeof c.set == "function") {
|
|
3608
|
-
var k = c.get,
|
|
3608
|
+
var k = c.get, S = c.set;
|
|
3609
3609
|
return Object.defineProperty(a, i, { configurable: !0, get: function() {
|
|
3610
3610
|
return k.call(this);
|
|
3611
3611
|
}, set: function($) {
|
|
3612
|
-
m = "" + $,
|
|
3612
|
+
m = "" + $, S.call(this, $);
|
|
3613
3613
|
} }), Object.defineProperty(a, i, { enumerable: c.enumerable }), { getValue: function() {
|
|
3614
3614
|
return m;
|
|
3615
3615
|
}, setValue: function($) {
|
|
@@ -3900,7 +3900,7 @@ function GO() {
|
|
|
3900
3900
|
return c;
|
|
3901
3901
|
}
|
|
3902
3902
|
var po = !1;
|
|
3903
|
-
if (
|
|
3903
|
+
if (D) try {
|
|
3904
3904
|
var ni = {};
|
|
3905
3905
|
Object.defineProperty(ni, "passive", { get: function() {
|
|
3906
3906
|
po = !0;
|
|
@@ -3908,7 +3908,7 @@ function GO() {
|
|
|
3908
3908
|
} catch {
|
|
3909
3909
|
po = !1;
|
|
3910
3910
|
}
|
|
3911
|
-
function Vi(a, i, c, m, k,
|
|
3911
|
+
function Vi(a, i, c, m, k, S, $, z, Q) {
|
|
3912
3912
|
var he = Array.prototype.slice.call(arguments, 3);
|
|
3913
3913
|
try {
|
|
3914
3914
|
i.apply(c, he);
|
|
@@ -3919,10 +3919,10 @@ function GO() {
|
|
|
3919
3919
|
var na = !1, ri = null, fo = !1, ai = null, W = { onError: function(a) {
|
|
3920
3920
|
na = !0, ri = a;
|
|
3921
3921
|
} };
|
|
3922
|
-
function Ne(a, i, c, m, k,
|
|
3922
|
+
function Ne(a, i, c, m, k, S, $, z, Q) {
|
|
3923
3923
|
na = !1, ri = null, Vi.apply(W, arguments);
|
|
3924
3924
|
}
|
|
3925
|
-
function Ie(a, i, c, m, k,
|
|
3925
|
+
function Ie(a, i, c, m, k, S, $, z, Q) {
|
|
3926
3926
|
if (Ne.apply(this, arguments), na) {
|
|
3927
3927
|
if (na) {
|
|
3928
3928
|
var he = ri;
|
|
@@ -3961,43 +3961,43 @@ function GO() {
|
|
|
3961
3961
|
for (var c = a, m = i; ; ) {
|
|
3962
3962
|
var k = c.return;
|
|
3963
3963
|
if (k === null) break;
|
|
3964
|
-
var
|
|
3965
|
-
if (
|
|
3964
|
+
var S = k.alternate;
|
|
3965
|
+
if (S === null) {
|
|
3966
3966
|
if (m = k.return, m !== null) {
|
|
3967
3967
|
c = m;
|
|
3968
3968
|
continue;
|
|
3969
3969
|
}
|
|
3970
3970
|
break;
|
|
3971
3971
|
}
|
|
3972
|
-
if (k.child ===
|
|
3973
|
-
for (
|
|
3974
|
-
if (
|
|
3975
|
-
if (
|
|
3976
|
-
|
|
3972
|
+
if (k.child === S.child) {
|
|
3973
|
+
for (S = k.child; S; ) {
|
|
3974
|
+
if (S === c) return Zt(k), a;
|
|
3975
|
+
if (S === m) return Zt(k), i;
|
|
3976
|
+
S = S.sibling;
|
|
3977
3977
|
}
|
|
3978
3978
|
throw Error(o(188));
|
|
3979
3979
|
}
|
|
3980
|
-
if (c.return !== m.return) c = k, m =
|
|
3980
|
+
if (c.return !== m.return) c = k, m = S;
|
|
3981
3981
|
else {
|
|
3982
3982
|
for (var $ = !1, z = k.child; z; ) {
|
|
3983
3983
|
if (z === c) {
|
|
3984
|
-
$ = !0, c = k, m =
|
|
3984
|
+
$ = !0, c = k, m = S;
|
|
3985
3985
|
break;
|
|
3986
3986
|
}
|
|
3987
3987
|
if (z === m) {
|
|
3988
|
-
$ = !0, m = k, c =
|
|
3988
|
+
$ = !0, m = k, c = S;
|
|
3989
3989
|
break;
|
|
3990
3990
|
}
|
|
3991
3991
|
z = z.sibling;
|
|
3992
3992
|
}
|
|
3993
3993
|
if (!$) {
|
|
3994
|
-
for (z =
|
|
3994
|
+
for (z = S.child; z; ) {
|
|
3995
3995
|
if (z === c) {
|
|
3996
|
-
$ = !0, c =
|
|
3996
|
+
$ = !0, c = S, m = k;
|
|
3997
3997
|
break;
|
|
3998
3998
|
}
|
|
3999
3999
|
if (z === m) {
|
|
4000
|
-
$ = !0, m =
|
|
4000
|
+
$ = !0, m = S, c = k;
|
|
4001
4001
|
break;
|
|
4002
4002
|
}
|
|
4003
4003
|
z = z.sibling;
|
|
@@ -4086,13 +4086,13 @@ function GO() {
|
|
|
4086
4086
|
function ga(a, i) {
|
|
4087
4087
|
var c = a.pendingLanes;
|
|
4088
4088
|
if (c === 0) return 0;
|
|
4089
|
-
var m = 0, k = a.suspendedLanes,
|
|
4089
|
+
var m = 0, k = a.suspendedLanes, S = a.pingedLanes, $ = c & 268435455;
|
|
4090
4090
|
if ($ !== 0) {
|
|
4091
4091
|
var z = $ & ~k;
|
|
4092
|
-
z !== 0 ? m = ii(z) : (
|
|
4093
|
-
} else $ = c & ~k, $ !== 0 ? m = ii($) :
|
|
4092
|
+
z !== 0 ? m = ii(z) : (S &= $, S !== 0 && (m = ii(S)));
|
|
4093
|
+
} else $ = c & ~k, $ !== 0 ? m = ii($) : S !== 0 && (m = ii(S));
|
|
4094
4094
|
if (m === 0) return 0;
|
|
4095
|
-
if (i !== 0 && i !== m && !(i & k) && (k = m & -m,
|
|
4095
|
+
if (i !== 0 && i !== m && !(i & k) && (k = m & -m, S = i & -i, k >= S || k === 16 && (S & 4194240) !== 0)) return i;
|
|
4096
4096
|
if (m & 4 && (m |= c & 16), i = a.entangledLanes, i !== 0) for (a = a.entanglements, i &= m; 0 < i; ) c = 31 - Gr(i), k = 1 << c, m |= a[c], i &= ~k;
|
|
4097
4097
|
return m;
|
|
4098
4098
|
}
|
|
@@ -4138,9 +4138,9 @@ function GO() {
|
|
|
4138
4138
|
}
|
|
4139
4139
|
}
|
|
4140
4140
|
function ss(a, i) {
|
|
4141
|
-
for (var c = a.suspendedLanes, m = a.pingedLanes, k = a.expirationTimes,
|
|
4142
|
-
var $ = 31 - Gr(
|
|
4143
|
-
Q === -1 ? (!(z & c) || z & m) && (k[$] = Mo(z, i)) : Q <= i && (a.expiredLanes |= z),
|
|
4141
|
+
for (var c = a.suspendedLanes, m = a.pingedLanes, k = a.expirationTimes, S = a.pendingLanes; 0 < S; ) {
|
|
4142
|
+
var $ = 31 - Gr(S), z = 1 << $, Q = k[$];
|
|
4143
|
+
Q === -1 ? (!(z & c) || z & m) && (k[$] = Mo(z, i)) : Q <= i && (a.expiredLanes |= z), S &= ~z;
|
|
4144
4144
|
}
|
|
4145
4145
|
}
|
|
4146
4146
|
function ls(a) {
|
|
@@ -4162,8 +4162,8 @@ function GO() {
|
|
|
4162
4162
|
a.pendingLanes = i, a.suspendedLanes = 0, a.pingedLanes = 0, a.expiredLanes &= i, a.mutableReadLanes &= i, a.entangledLanes &= i, i = a.entanglements;
|
|
4163
4163
|
var m = a.eventTimes;
|
|
4164
4164
|
for (a = a.expirationTimes; 0 < c; ) {
|
|
4165
|
-
var k = 31 - Gr(c),
|
|
4166
|
-
i[k] = 0, m[k] = -1, a[k] = -1, c &= ~
|
|
4165
|
+
var k = 31 - Gr(c), S = 1 << k;
|
|
4166
|
+
i[k] = 0, m[k] = -1, a[k] = -1, c &= ~S;
|
|
4167
4167
|
}
|
|
4168
4168
|
}
|
|
4169
4169
|
function ho(a, i) {
|
|
@@ -4201,8 +4201,8 @@ function GO() {
|
|
|
4201
4201
|
In.delete(i.pointerId);
|
|
4202
4202
|
}
|
|
4203
4203
|
}
|
|
4204
|
-
function Rr(a, i, c, m, k,
|
|
4205
|
-
return a === null || a.nativeEvent !==
|
|
4204
|
+
function Rr(a, i, c, m, k, S) {
|
|
4205
|
+
return a === null || a.nativeEvent !== S ? (a = { blockedOn: i, domEventName: c, eventSystemFlags: m, nativeEvent: S, targetContainers: [k] }, i !== null && (i = Wu(i), i !== null && Gi(i)), a) : (a.eventSystemFlags |= m, i = a.targetContainers, k !== null && i.indexOf(k) === -1 && i.push(k), a);
|
|
4206
4206
|
}
|
|
4207
4207
|
function Ki(a, i, c, m, k) {
|
|
4208
4208
|
switch (i) {
|
|
@@ -4213,10 +4213,10 @@ function GO() {
|
|
|
4213
4213
|
case "mouseover":
|
|
4214
4214
|
return va = Rr(va, a, i, c, m, k), !0;
|
|
4215
4215
|
case "pointerover":
|
|
4216
|
-
var
|
|
4217
|
-
return Qi.set(
|
|
4216
|
+
var S = k.pointerId;
|
|
4217
|
+
return Qi.set(S, Rr(Qi.get(S) || null, a, i, c, m, k)), !0;
|
|
4218
4218
|
case "gotpointercapture":
|
|
4219
|
-
return
|
|
4219
|
+
return S = k.pointerId, In.set(S, Rr(In.get(S) || null, a, i, c, m, k)), !0;
|
|
4220
4220
|
}
|
|
4221
4221
|
return !1;
|
|
4222
4222
|
}
|
|
@@ -4278,21 +4278,21 @@ function GO() {
|
|
|
4278
4278
|
}
|
|
4279
4279
|
var Uo = te.ReactCurrentBatchConfig, xi = !0;
|
|
4280
4280
|
function $l(a, i, c, m) {
|
|
4281
|
-
var k = kn,
|
|
4281
|
+
var k = kn, S = Uo.transition;
|
|
4282
4282
|
Uo.transition = null;
|
|
4283
4283
|
try {
|
|
4284
4284
|
kn = 1, Ho(a, i, c, m);
|
|
4285
4285
|
} finally {
|
|
4286
|
-
kn = k, Uo.transition =
|
|
4286
|
+
kn = k, Uo.transition = S;
|
|
4287
4287
|
}
|
|
4288
4288
|
}
|
|
4289
4289
|
function ds(a, i, c, m) {
|
|
4290
|
-
var k = kn,
|
|
4290
|
+
var k = kn, S = Uo.transition;
|
|
4291
4291
|
Uo.transition = null;
|
|
4292
4292
|
try {
|
|
4293
4293
|
kn = 4, Ho(a, i, c, m);
|
|
4294
4294
|
} finally {
|
|
4295
|
-
kn = k, Uo.transition =
|
|
4295
|
+
kn = k, Uo.transition = S;
|
|
4296
4296
|
}
|
|
4297
4297
|
}
|
|
4298
4298
|
function Ho(a, i, c, m) {
|
|
@@ -4302,9 +4302,9 @@ function GO() {
|
|
|
4302
4302
|
else if (Ki(k, a, i, c, m)) m.stopPropagation();
|
|
4303
4303
|
else if (Ra(a, m), i & 4 && -1 < Mc.indexOf(a)) {
|
|
4304
4304
|
for (; k !== null; ) {
|
|
4305
|
-
var
|
|
4306
|
-
if (
|
|
4307
|
-
k =
|
|
4305
|
+
var S = Wu(k);
|
|
4306
|
+
if (S !== null && qs(S), S = Pl(a, i, c, m), S === null && Kc(a, i, m, Vs, c), S === k) break;
|
|
4307
|
+
k = S;
|
|
4308
4308
|
}
|
|
4309
4309
|
k !== null && m.stopPropagation();
|
|
4310
4310
|
} else Kc(a, i, m, null, c);
|
|
@@ -4417,10 +4417,10 @@ function GO() {
|
|
|
4417
4417
|
var Zi = null, F = null, q = null;
|
|
4418
4418
|
function pe() {
|
|
4419
4419
|
if (q) return q;
|
|
4420
|
-
var a, i = F, c = i.length, m, k = "value" in Zi ? Zi.value : Zi.textContent,
|
|
4420
|
+
var a, i = F, c = i.length, m, k = "value" in Zi ? Zi.value : Zi.textContent, S = k.length;
|
|
4421
4421
|
for (a = 0; a < c && i[a] === k[a]; a++) ;
|
|
4422
4422
|
var $ = c - a;
|
|
4423
|
-
for (m = 1; m <= $ && i[c - m] === k[
|
|
4423
|
+
for (m = 1; m <= $ && i[c - m] === k[S - m]; m++) ;
|
|
4424
4424
|
return q = k.slice(a, 1 < m ? 1 - m : void 0);
|
|
4425
4425
|
}
|
|
4426
4426
|
function we(a) {
|
|
@@ -4434,10 +4434,10 @@ function GO() {
|
|
|
4434
4434
|
return !1;
|
|
4435
4435
|
}
|
|
4436
4436
|
function Je(a) {
|
|
4437
|
-
function i(c, m, k,
|
|
4438
|
-
this._reactName = c, this._targetInst = k, this.type = m, this.nativeEvent =
|
|
4439
|
-
for (var z in a) a.hasOwnProperty(z) && (c = a[z], this[z] = c ? c(
|
|
4440
|
-
return this.isDefaultPrevented = (
|
|
4437
|
+
function i(c, m, k, S, $) {
|
|
4438
|
+
this._reactName = c, this._targetInst = k, this.type = m, this.nativeEvent = S, this.target = $, this.currentTarget = null;
|
|
4439
|
+
for (var z in a) a.hasOwnProperty(z) && (c = a[z], this[z] = c ? c(S) : S[z]);
|
|
4440
|
+
return this.isDefaultPrevented = (S.defaultPrevented != null ? S.defaultPrevented : S.returnValue === !1) ? Ue : Rt, this.isPropagationStopped = Rt, this;
|
|
4441
4441
|
}
|
|
4442
4442
|
return Ce(i.prototype, { preventDefault: function() {
|
|
4443
4443
|
this.defaultPrevented = !0;
|
|
@@ -4538,9 +4538,9 @@ function GO() {
|
|
|
4538
4538
|
},
|
|
4539
4539
|
deltaZ: 0,
|
|
4540
4540
|
deltaMode: 0
|
|
4541
|
-
}), ba = Je(ya), or = [9, 13, 27, 32], ka =
|
|
4542
|
-
|
|
4543
|
-
var qc =
|
|
4541
|
+
}), ba = Je(ya), or = [9, 13, 27, 32], ka = D && "CompositionEvent" in window, go = null;
|
|
4542
|
+
D && "documentMode" in document && (go = document.documentMode);
|
|
4543
|
+
var qc = D && "TextEvent" in window && !go, Pu = D && (!ka || go && 8 < go && 11 >= go), Il = " ", Yf = !1;
|
|
4544
4544
|
function Wc(a, i) {
|
|
4545
4545
|
switch (a) {
|
|
4546
4546
|
case "keyup":
|
|
@@ -4608,9 +4608,9 @@ function GO() {
|
|
|
4608
4608
|
if (a === "change") return i;
|
|
4609
4609
|
}
|
|
4610
4610
|
var wp = !1;
|
|
4611
|
-
if (
|
|
4611
|
+
if (D) {
|
|
4612
4612
|
var Dp;
|
|
4613
|
-
if (
|
|
4613
|
+
if (D) {
|
|
4614
4614
|
var Sp = "oninput" in document;
|
|
4615
4615
|
if (!Sp) {
|
|
4616
4616
|
var Zf = document.createElement("div");
|
|
@@ -4708,20 +4708,20 @@ function GO() {
|
|
|
4708
4708
|
if (i = m.start, a = m.end, a === void 0 && (a = i), "selectionStart" in c) c.selectionStart = i, c.selectionEnd = Math.min(a, c.value.length);
|
|
4709
4709
|
else if (a = (i = c.ownerDocument || document) && i.defaultView || window, a.getSelection) {
|
|
4710
4710
|
a = a.getSelection();
|
|
4711
|
-
var k = c.textContent.length,
|
|
4712
|
-
m = m.end === void 0 ?
|
|
4711
|
+
var k = c.textContent.length, S = Math.min(m.start, k);
|
|
4712
|
+
m = m.end === void 0 ? S : Math.min(m.end, k), !a.extend && S > m && (k = m, m = S, S = k), k = nh(c, S);
|
|
4713
4713
|
var $ = nh(
|
|
4714
4714
|
c,
|
|
4715
4715
|
m
|
|
4716
4716
|
);
|
|
4717
|
-
k && $ && (a.rangeCount !== 1 || a.anchorNode !== k.node || a.anchorOffset !== k.offset || a.focusNode !== $.node || a.focusOffset !== $.offset) && (i = i.createRange(), i.setStart(k.node, k.offset), a.removeAllRanges(),
|
|
4717
|
+
k && $ && (a.rangeCount !== 1 || a.anchorNode !== k.node || a.anchorOffset !== k.offset || a.focusNode !== $.node || a.focusOffset !== $.offset) && (i = i.createRange(), i.setStart(k.node, k.offset), a.removeAllRanges(), S > m ? (a.addRange(i), a.extend($.node, $.offset)) : (i.setEnd($.node, $.offset), a.addRange(i)));
|
|
4718
4718
|
}
|
|
4719
4719
|
}
|
|
4720
4720
|
for (i = [], a = c; a = a.parentNode; ) a.nodeType === 1 && i.push({ element: a, left: a.scrollLeft, top: a.scrollTop });
|
|
4721
4721
|
for (typeof c.focus == "function" && c.focus(), c = 0; c < i.length; c++) a = i[c], a.element.scrollLeft = a.left, a.element.scrollTop = a.top;
|
|
4722
4722
|
}
|
|
4723
4723
|
}
|
|
4724
|
-
var rh =
|
|
4724
|
+
var rh = D && "documentMode" in document && 11 >= document.documentMode, Ji = null, zl = null, Gs = null, Ul = !1;
|
|
4725
4725
|
function ah(a, i, c) {
|
|
4726
4726
|
var m = c.window === c ? c.document : c.nodeType === 9 ? c : c.ownerDocument;
|
|
4727
4727
|
Ul || Ji == null || Ji !== en(m) || (m = Ji, "selectionStart" in m && Wo(m) ? m = { start: m.selectionStart, end: m.selectionEnd } : (m = (m.ownerDocument && m.ownerDocument.defaultView || window).getSelection(), m = { anchorNode: m.anchorNode, anchorOffset: m.anchorOffset, focusNode: m.focusNode, focusOffset: m.focusOffset }), Gs && hs(Gs, m) || (Gs = m, m = Uu(zl, "onSelect"), 0 < m.length && (i = new tn("onSelect", "select", null, i, c), a.push({ event: i, listeners: m }), i.target = Ji)));
|
|
@@ -4731,7 +4731,7 @@ function GO() {
|
|
|
4731
4731
|
return c[a.toLowerCase()] = i.toLowerCase(), c["Webkit" + a] = "webkit" + i, c["Moz" + a] = "moz" + i, c;
|
|
4732
4732
|
}
|
|
4733
4733
|
var ms = { animationend: Hl("Animation", "AnimationEnd"), animationiteration: Hl("Animation", "AnimationIteration"), animationstart: Hl("Animation", "AnimationStart"), transitionend: Hl("Transition", "TransitionEnd") }, Ou = {}, Cp = {};
|
|
4734
|
-
|
|
4734
|
+
D && (Cp = document.createElement("div").style, "AnimationEvent" in window || (delete ms.animationend.animation, delete ms.animationiteration.animation, delete ms.animationstart.animation), "TransitionEvent" in window || delete ms.transitionend.transition);
|
|
4735
4735
|
function Ur(a) {
|
|
4736
4736
|
if (Ou[a]) return Ou[a];
|
|
4737
4737
|
if (!ms[a]) return a;
|
|
@@ -4759,15 +4759,15 @@ function GO() {
|
|
|
4759
4759
|
var m = a[c], k = m.event;
|
|
4760
4760
|
m = m.listeners;
|
|
4761
4761
|
e: {
|
|
4762
|
-
var
|
|
4762
|
+
var S = void 0;
|
|
4763
4763
|
if (i) for (var $ = m.length - 1; 0 <= $; $--) {
|
|
4764
4764
|
var z = m[$], Q = z.instance, he = z.currentTarget;
|
|
4765
|
-
if (z = z.listener, Q !==
|
|
4766
|
-
oh(k, z, he),
|
|
4765
|
+
if (z = z.listener, Q !== S && k.isPropagationStopped()) break e;
|
|
4766
|
+
oh(k, z, he), S = Q;
|
|
4767
4767
|
}
|
|
4768
4768
|
else for ($ = 0; $ < m.length; $++) {
|
|
4769
|
-
if (z = m[$], Q = z.instance, he = z.currentTarget, z = z.listener, Q !==
|
|
4770
|
-
oh(k, z, he),
|
|
4769
|
+
if (z = m[$], Q = z.instance, he = z.currentTarget, z = z.listener, Q !== S && k.isPropagationStopped()) break e;
|
|
4770
|
+
oh(k, z, he), S = Q;
|
|
4771
4771
|
}
|
|
4772
4772
|
}
|
|
4773
4773
|
}
|
|
@@ -4807,7 +4807,7 @@ function GO() {
|
|
|
4807
4807
|
c = k.bind(null, i, c, a), k = void 0, !po || i !== "touchstart" && i !== "touchmove" && i !== "wheel" || (k = !0), m ? k !== void 0 ? a.addEventListener(i, c, { capture: !0, passive: k }) : a.addEventListener(i, c, !0) : k !== void 0 ? a.addEventListener(i, c, { passive: k }) : a.addEventListener(i, c, !1);
|
|
4808
4808
|
}
|
|
4809
4809
|
function Kc(a, i, c, m, k) {
|
|
4810
|
-
var
|
|
4810
|
+
var S = m;
|
|
4811
4811
|
if (!(i & 1) && !(i & 2) && m !== null) e: for (; ; ) {
|
|
4812
4812
|
if (m === null) return;
|
|
4813
4813
|
var $ = m.tag;
|
|
@@ -4822,7 +4822,7 @@ function GO() {
|
|
|
4822
4822
|
for (; z !== null; ) {
|
|
4823
4823
|
if ($ = _i(z), $ === null) return;
|
|
4824
4824
|
if (Q = $.tag, Q === 5 || Q === 6) {
|
|
4825
|
-
m =
|
|
4825
|
+
m = S = $;
|
|
4826
4826
|
continue e;
|
|
4827
4827
|
}
|
|
4828
4828
|
z = z.parentNode;
|
|
@@ -4831,7 +4831,7 @@ function GO() {
|
|
|
4831
4831
|
m = m.return;
|
|
4832
4832
|
}
|
|
4833
4833
|
ti(function() {
|
|
4834
|
-
var he =
|
|
4834
|
+
var he = S, Oe = Pr(c), je = [];
|
|
4835
4835
|
e: {
|
|
4836
4836
|
var Le = _p.get(a);
|
|
4837
4837
|
if (Le !== void 0) {
|
|
@@ -5001,8 +5001,8 @@ function GO() {
|
|
|
5001
5001
|
}
|
|
5002
5002
|
function Uu(a, i) {
|
|
5003
5003
|
for (var c = i + "Capture", m = []; a !== null; ) {
|
|
5004
|
-
var k = a,
|
|
5005
|
-
k.tag === 5 &&
|
|
5004
|
+
var k = a, S = k.stateNode;
|
|
5005
|
+
k.tag === 5 && S !== null && (k = S, S = hr(a, c), S != null && m.unshift(zu(a, S, k)), S = hr(a, i), S != null && m.push(zu(a, S, k))), a = a.return;
|
|
5006
5006
|
}
|
|
5007
5007
|
return m;
|
|
5008
5008
|
}
|
|
@@ -5014,10 +5014,10 @@ function GO() {
|
|
|
5014
5014
|
return a || null;
|
|
5015
5015
|
}
|
|
5016
5016
|
function Zc(a, i, c, m, k) {
|
|
5017
|
-
for (var
|
|
5017
|
+
for (var S = i._reactName, $ = []; c !== null && c !== m; ) {
|
|
5018
5018
|
var z = c, Q = z.alternate, he = z.stateNode;
|
|
5019
5019
|
if (Q !== null && Q === m) break;
|
|
5020
|
-
z.tag === 5 && he !== null && (z = he, k ? (Q = hr(c,
|
|
5020
|
+
z.tag === 5 && he !== null && (z = he, k ? (Q = hr(c, S), Q != null && $.unshift(zu(c, Q, z))) : k || (Q = hr(c, S), Q != null && $.push(zu(c, Q, z)))), c = c.return;
|
|
5021
5021
|
}
|
|
5022
5022
|
$.length !== 0 && a.push({ event: i, listeners: $ });
|
|
5023
5023
|
}
|
|
@@ -5125,8 +5125,8 @@ function GO() {
|
|
|
5125
5125
|
if (!c) return Ti;
|
|
5126
5126
|
var m = a.stateNode;
|
|
5127
5127
|
if (m && m.__reactInternalMemoizedUnmaskedChildContext === i) return m.__reactInternalMemoizedMaskedChildContext;
|
|
5128
|
-
var k = {},
|
|
5129
|
-
for (
|
|
5128
|
+
var k = {}, S;
|
|
5129
|
+
for (S in c) k[S] = i[S];
|
|
5130
5130
|
return m && (a = a.stateNode, a.__reactInternalMemoizedUnmaskedChildContext = i, a.__reactInternalMemoizedMaskedChildContext = k), k;
|
|
5131
5131
|
}
|
|
5132
5132
|
function sr(a) {
|
|
@@ -5192,11 +5192,11 @@ function GO() {
|
|
|
5192
5192
|
a = Ma;
|
|
5193
5193
|
var k = 32 - Gr(m) - 1;
|
|
5194
5194
|
m &= ~(1 << k), c += 1;
|
|
5195
|
-
var
|
|
5196
|
-
if (30 <
|
|
5195
|
+
var S = 32 - Gr(i) + k;
|
|
5196
|
+
if (30 < S) {
|
|
5197
5197
|
var $ = k - k % 5;
|
|
5198
|
-
|
|
5199
|
-
} else Qr = 1 <<
|
|
5198
|
+
S = (m & (1 << $) - 1).toString(32), m >>= $, k -= $, Qr = 1 << 32 - Gr(i) + k | c << k | m, Ma = S + a;
|
|
5199
|
+
} else Qr = 1 << S | c << k | m, Ma = a;
|
|
5200
5200
|
}
|
|
5201
5201
|
function el(a) {
|
|
5202
5202
|
a.return !== null && (za(a, 1), Pp(a, 1, 0));
|
|
@@ -5294,11 +5294,11 @@ function GO() {
|
|
|
5294
5294
|
var m = c.stateNode;
|
|
5295
5295
|
}
|
|
5296
5296
|
if (!m) throw Error(o(147, a));
|
|
5297
|
-
var k = m,
|
|
5298
|
-
return i !== null && i.ref !== null && typeof i.ref == "function" && i.ref._stringRef ===
|
|
5297
|
+
var k = m, S = "" + a;
|
|
5298
|
+
return i !== null && i.ref !== null && typeof i.ref == "function" && i.ref._stringRef === S ? i.ref : (i = function($) {
|
|
5299
5299
|
var z = k.refs;
|
|
5300
|
-
$ === null ? delete z[
|
|
5301
|
-
}, i._stringRef =
|
|
5300
|
+
$ === null ? delete z[S] : z[S] = $;
|
|
5301
|
+
}, i._stringRef = S, i);
|
|
5302
5302
|
}
|
|
5303
5303
|
if (typeof a != "string") throw Error(o(284));
|
|
5304
5304
|
if (!c._owner) throw Error(o(290, a));
|
|
@@ -5331,7 +5331,7 @@ function GO() {
|
|
|
5331
5331
|
function k(ie, ee) {
|
|
5332
5332
|
return ie = ou(ie, ee), ie.index = 0, ie.sibling = null, ie;
|
|
5333
5333
|
}
|
|
5334
|
-
function
|
|
5334
|
+
function S(ie, ee, ue) {
|
|
5335
5335
|
return ie.index = ue, a ? (ue = ie.alternate, ue !== null ? (ue = ue.index, ue < ee ? (ie.flags |= 2, ee) : ue) : (ie.flags |= 2, ee)) : (ie.flags |= 1048576, ee);
|
|
5336
5336
|
}
|
|
5337
5337
|
function $(ie) {
|
|
@@ -5414,14 +5414,14 @@ function GO() {
|
|
|
5414
5414
|
Tt === null && (Tt = ua);
|
|
5415
5415
|
break;
|
|
5416
5416
|
}
|
|
5417
|
-
a && Tt && xn.alternate === null && i(ie, Tt), ee =
|
|
5417
|
+
a && Tt && xn.alternate === null && i(ie, Tt), ee = S(xn, ee, It), yt === null ? xt = xn : yt.sibling = xn, yt = xn, Tt = ua;
|
|
5418
5418
|
}
|
|
5419
5419
|
if (It === ue.length) return c(ie, Tt), Wn && za(ie, It), xt;
|
|
5420
5420
|
if (Tt === null) {
|
|
5421
|
-
for (; It < ue.length; It++) Tt = je(ie, ue[It], He), Tt !== null && (ee =
|
|
5421
|
+
for (; It < ue.length; It++) Tt = je(ie, ue[It], He), Tt !== null && (ee = S(Tt, ee, It), yt === null ? xt = Tt : yt.sibling = Tt, yt = Tt);
|
|
5422
5422
|
return Wn && za(ie, It), xt;
|
|
5423
5423
|
}
|
|
5424
|
-
for (Tt = m(ie, Tt); It < ue.length; It++) ua = ct(Tt, ie, It, ue[It], He), ua !== null && (a && ua.alternate !== null && Tt.delete(ua.key === null ? It : ua.key), ee =
|
|
5424
|
+
for (Tt = m(ie, Tt); It < ue.length; It++) ua = ct(Tt, ie, It, ue[It], He), ua !== null && (a && ua.alternate !== null && Tt.delete(ua.key === null ? It : ua.key), ee = S(ua, ee, It), yt === null ? xt = ua : yt.sibling = ua, yt = ua);
|
|
5425
5425
|
return a && Tt.forEach(function(su) {
|
|
5426
5426
|
return i(ie, su);
|
|
5427
5427
|
}), Wn && za(ie, It), xt;
|
|
@@ -5437,17 +5437,17 @@ function GO() {
|
|
|
5437
5437
|
Tt === null && (Tt = ua);
|
|
5438
5438
|
break;
|
|
5439
5439
|
}
|
|
5440
|
-
a && Tt && su.alternate === null && i(ie, Tt), ee =
|
|
5440
|
+
a && Tt && su.alternate === null && i(ie, Tt), ee = S(su, ee, It), yt === null ? xt = su : yt.sibling = su, yt = su, Tt = ua;
|
|
5441
5441
|
}
|
|
5442
5442
|
if (xn.done) return c(
|
|
5443
5443
|
ie,
|
|
5444
5444
|
Tt
|
|
5445
5445
|
), Wn && za(ie, It), xt;
|
|
5446
5446
|
if (Tt === null) {
|
|
5447
|
-
for (; !xn.done; It++, xn = ue.next()) xn = je(ie, xn.value, He), xn !== null && (ee =
|
|
5447
|
+
for (; !xn.done; It++, xn = ue.next()) xn = je(ie, xn.value, He), xn !== null && (ee = S(xn, ee, It), yt === null ? xt = xn : yt.sibling = xn, yt = xn);
|
|
5448
5448
|
return Wn && za(ie, It), xt;
|
|
5449
5449
|
}
|
|
5450
|
-
for (Tt = m(ie, Tt); !xn.done; It++, xn = ue.next()) xn = ct(Tt, ie, It, xn.value, He), xn !== null && (a && xn.alternate !== null && Tt.delete(xn.key === null ? It : xn.key), ee =
|
|
5450
|
+
for (Tt = m(ie, Tt); !xn.done; It++, xn = ue.next()) xn = ct(Tt, ie, It, xn.value, He), xn !== null && (a && xn.alternate !== null && Tt.delete(xn.key === null ? It : xn.key), ee = S(xn, ee, It), yt === null ? xt = xn : yt.sibling = xn, yt = xn);
|
|
5451
5451
|
return a && Tt.forEach(function(kk) {
|
|
5452
5452
|
return i(ie, kk);
|
|
5453
5453
|
}), Wn && za(ie, It), xt;
|
|
@@ -5571,15 +5571,15 @@ function GO() {
|
|
|
5571
5571
|
function dh(a, i) {
|
|
5572
5572
|
var c = a.updateQueue, m = a.alternate;
|
|
5573
5573
|
if (m !== null && (m = m.updateQueue, c === m)) {
|
|
5574
|
-
var k = null,
|
|
5574
|
+
var k = null, S = null;
|
|
5575
5575
|
if (c = c.firstBaseUpdate, c !== null) {
|
|
5576
5576
|
do {
|
|
5577
5577
|
var $ = { eventTime: c.eventTime, lane: c.lane, tag: c.tag, payload: c.payload, callback: c.callback, next: null };
|
|
5578
|
-
|
|
5578
|
+
S === null ? k = S = $ : S = S.next = $, c = c.next;
|
|
5579
5579
|
} while (c !== null);
|
|
5580
|
-
|
|
5581
|
-
} else k =
|
|
5582
|
-
c = { baseState: m.baseState, firstBaseUpdate: k, lastBaseUpdate:
|
|
5580
|
+
S === null ? k = S = i : S = S.next = i;
|
|
5581
|
+
} else k = S = i;
|
|
5582
|
+
c = { baseState: m.baseState, firstBaseUpdate: k, lastBaseUpdate: S, shared: m.shared, effects: m.effects }, a.updateQueue = c;
|
|
5583
5583
|
return;
|
|
5584
5584
|
}
|
|
5585
5585
|
a = c.lastBaseUpdate, a === null ? c.firstBaseUpdate = i : a.next = i, c.lastBaseUpdate = i;
|
|
@@ -5587,17 +5587,17 @@ function GO() {
|
|
|
5587
5587
|
function Zl(a, i, c, m) {
|
|
5588
5588
|
var k = a.updateQueue;
|
|
5589
5589
|
Ds = !1;
|
|
5590
|
-
var
|
|
5590
|
+
var S = k.firstBaseUpdate, $ = k.lastBaseUpdate, z = k.shared.pending;
|
|
5591
5591
|
if (z !== null) {
|
|
5592
5592
|
k.shared.pending = null;
|
|
5593
5593
|
var Q = z, he = Q.next;
|
|
5594
|
-
Q.next = null, $ === null ?
|
|
5594
|
+
Q.next = null, $ === null ? S = he : $.next = he, $ = Q;
|
|
5595
5595
|
var Oe = a.alternate;
|
|
5596
5596
|
Oe !== null && (Oe = Oe.updateQueue, z = Oe.lastBaseUpdate, z !== $ && (z === null ? Oe.firstBaseUpdate = he : z.next = he, Oe.lastBaseUpdate = Q));
|
|
5597
5597
|
}
|
|
5598
|
-
if (
|
|
5598
|
+
if (S !== null) {
|
|
5599
5599
|
var je = k.baseState;
|
|
5600
|
-
$ = 0, Oe = he = Q = null, z =
|
|
5600
|
+
$ = 0, Oe = he = Q = null, z = S;
|
|
5601
5601
|
do {
|
|
5602
5602
|
var Le = z.lane, ct = z.eventTime;
|
|
5603
5603
|
if ((m & Le) === Le) {
|
|
@@ -5641,7 +5641,7 @@ function GO() {
|
|
|
5641
5641
|
do
|
|
5642
5642
|
$ |= k.lane, k = k.next;
|
|
5643
5643
|
while (k !== i);
|
|
5644
|
-
} else
|
|
5644
|
+
} else S === null && (k.shared.lanes = 0);
|
|
5645
5645
|
ol |= $, a.lanes = $, a.memoizedState = je;
|
|
5646
5646
|
}
|
|
5647
5647
|
}
|
|
@@ -5716,12 +5716,12 @@ function GO() {
|
|
|
5716
5716
|
for (var c = 0; c < i.length && c < a.length; c++) if (!aa(a[c], i[c])) return !1;
|
|
5717
5717
|
return !0;
|
|
5718
5718
|
}
|
|
5719
|
-
function De(a, i, c, m, k,
|
|
5720
|
-
if (h =
|
|
5721
|
-
|
|
5719
|
+
function De(a, i, c, m, k, S) {
|
|
5720
|
+
if (h = S, b = i, i.memoizedState = null, i.updateQueue = null, i.lanes = 0, pd.current = a === null || a.memoizedState === null ? ik : dr, a = c(m, k), X) {
|
|
5721
|
+
S = 0;
|
|
5722
5722
|
do {
|
|
5723
|
-
if (X = !1, ke = 0, 25 <=
|
|
5724
|
-
|
|
5723
|
+
if (X = !1, ke = 0, 25 <= S) throw Error(o(301));
|
|
5724
|
+
S += 1, A = x = null, i.updateQueue = null, pd.current = Dh, a = c(m, k);
|
|
5725
5725
|
} while (X);
|
|
5726
5726
|
}
|
|
5727
5727
|
if (pd.current = qa, i = x !== null && x.next !== null, h = 0, A = x = b = null, I = !1, i) throw Error(o(300));
|
|
@@ -5755,17 +5755,17 @@ function GO() {
|
|
|
5755
5755
|
var i = Yt(), c = i.queue;
|
|
5756
5756
|
if (c === null) throw Error(o(311));
|
|
5757
5757
|
c.lastRenderedReducer = a;
|
|
5758
|
-
var m = x, k = m.baseQueue,
|
|
5759
|
-
if (
|
|
5758
|
+
var m = x, k = m.baseQueue, S = c.pending;
|
|
5759
|
+
if (S !== null) {
|
|
5760
5760
|
if (k !== null) {
|
|
5761
5761
|
var $ = k.next;
|
|
5762
|
-
k.next =
|
|
5762
|
+
k.next = S.next, S.next = $;
|
|
5763
5763
|
}
|
|
5764
|
-
m.baseQueue = k =
|
|
5764
|
+
m.baseQueue = k = S, c.pending = null;
|
|
5765
5765
|
}
|
|
5766
5766
|
if (k !== null) {
|
|
5767
|
-
|
|
5768
|
-
var z = $ = null, Q = null, he =
|
|
5767
|
+
S = k.next, m = m.baseState;
|
|
5768
|
+
var z = $ = null, Q = null, he = S;
|
|
5769
5769
|
do {
|
|
5770
5770
|
var Oe = he.lane;
|
|
5771
5771
|
if ((h & Oe) === Oe) Q !== null && (Q = Q.next = { lane: 0, action: he.action, hasEagerState: he.hasEagerState, eagerState: he.eagerState, next: null }), m = he.hasEagerState ? he.eagerState : a(m, he.action);
|
|
@@ -5780,13 +5780,13 @@ function GO() {
|
|
|
5780
5780
|
Q === null ? (z = Q = je, $ = m) : Q = Q.next = je, b.lanes |= Oe, ol |= Oe;
|
|
5781
5781
|
}
|
|
5782
5782
|
he = he.next;
|
|
5783
|
-
} while (he !== null && he !==
|
|
5783
|
+
} while (he !== null && he !== S);
|
|
5784
5784
|
Q === null ? $ = m : Q.next = z, aa(m, i.memoizedState) || (Li = !0), i.memoizedState = m, i.baseState = $, i.baseQueue = Q, c.lastRenderedState = m;
|
|
5785
5785
|
}
|
|
5786
5786
|
if (a = c.interleaved, a !== null) {
|
|
5787
5787
|
k = a;
|
|
5788
5788
|
do
|
|
5789
|
-
|
|
5789
|
+
S = k.lane, b.lanes |= S, ol |= S, k = k.next;
|
|
5790
5790
|
while (k !== a);
|
|
5791
5791
|
} else k === null && (c.lanes = 0);
|
|
5792
5792
|
return [i.memoizedState, c.dispatch];
|
|
@@ -5795,22 +5795,22 @@ function GO() {
|
|
|
5795
5795
|
var i = Yt(), c = i.queue;
|
|
5796
5796
|
if (c === null) throw Error(o(311));
|
|
5797
5797
|
c.lastRenderedReducer = a;
|
|
5798
|
-
var m = c.dispatch, k = c.pending,
|
|
5798
|
+
var m = c.dispatch, k = c.pending, S = i.memoizedState;
|
|
5799
5799
|
if (k !== null) {
|
|
5800
5800
|
c.pending = null;
|
|
5801
5801
|
var $ = k = k.next;
|
|
5802
5802
|
do
|
|
5803
|
-
|
|
5803
|
+
S = a(S, $.action), $ = $.next;
|
|
5804
5804
|
while ($ !== k);
|
|
5805
|
-
aa(
|
|
5805
|
+
aa(S, i.memoizedState) || (Li = !0), i.memoizedState = S, i.baseQueue === null && (i.baseState = S), c.lastRenderedState = S;
|
|
5806
5806
|
}
|
|
5807
|
-
return [
|
|
5807
|
+
return [S, m];
|
|
5808
5808
|
}
|
|
5809
5809
|
function ft() {
|
|
5810
5810
|
}
|
|
5811
5811
|
function Ht(a, i) {
|
|
5812
|
-
var c = b, m = Yt(), k = i(),
|
|
5813
|
-
if (
|
|
5812
|
+
var c = b, m = Yt(), k = i(), S = !aa(m.memoizedState, k);
|
|
5813
|
+
if (S && (m.memoizedState = k, Li = !0), m = m.queue, zp(Hr.bind(null, c, m, a), [a]), m.getSnapshot !== i || S || A !== null && A.memoizedState.tag & 1) {
|
|
5814
5814
|
if (c.flags |= 2048, xs(9, gr.bind(null, c, m, k, i), void 0, null), xr === null) throw Error(o(349));
|
|
5815
5815
|
h & 30 || cr(c, i, k);
|
|
5816
5816
|
}
|
|
@@ -5858,15 +5858,15 @@ function GO() {
|
|
|
5858
5858
|
function md(a, i, c, m) {
|
|
5859
5859
|
var k = Yt();
|
|
5860
5860
|
m = m === void 0 ? null : m;
|
|
5861
|
-
var
|
|
5861
|
+
var S = void 0;
|
|
5862
5862
|
if (x !== null) {
|
|
5863
5863
|
var $ = x.memoizedState;
|
|
5864
|
-
if (
|
|
5865
|
-
k.memoizedState = xs(i, c,
|
|
5864
|
+
if (S = $.destroy, m !== null && ot(m, $.deps)) {
|
|
5865
|
+
k.memoizedState = xs(i, c, S, m);
|
|
5866
5866
|
return;
|
|
5867
5867
|
}
|
|
5868
5868
|
}
|
|
5869
|
-
b.flags |= a, k.memoizedState = xs(1 | i, c,
|
|
5869
|
+
b.flags |= a, k.memoizedState = xs(1 | i, c, S, m);
|
|
5870
5870
|
}
|
|
5871
5871
|
function hh(a, i) {
|
|
5872
5872
|
return hd(8390656, 8, a, i);
|
|
@@ -5934,9 +5934,9 @@ function GO() {
|
|
|
5934
5934
|
var m = qr(a), k = { lane: m, action: c, hasEagerState: !1, eagerState: null, next: null };
|
|
5935
5935
|
if (rg(a)) vd(i, k);
|
|
5936
5936
|
else {
|
|
5937
|
-
var
|
|
5938
|
-
if (a.lanes === 0 && (
|
|
5939
|
-
var $ = i.lastRenderedState, z =
|
|
5937
|
+
var S = a.alternate;
|
|
5938
|
+
if (a.lanes === 0 && (S === null || S.lanes === 0) && (S = i.lastRenderedReducer, S !== null)) try {
|
|
5939
|
+
var $ = i.lastRenderedState, z = S($, c);
|
|
5940
5940
|
if (k.hasEagerState = !0, k.eagerState = z, aa(z, $)) {
|
|
5941
5941
|
var Q = i.interleaved;
|
|
5942
5942
|
Q === null ? (k.next = k, Ar(i)) : (k.next = Q.next, Q.next = k), i.interleaved = k;
|
|
@@ -6001,13 +6001,13 @@ function GO() {
|
|
|
6001
6001
|
h & 30 || cr(m, i, c);
|
|
6002
6002
|
}
|
|
6003
6003
|
k.memoizedState = c;
|
|
6004
|
-
var
|
|
6005
|
-
return k.queue =
|
|
6004
|
+
var S = { value: c, getSnapshot: i };
|
|
6005
|
+
return k.queue = S, hh(Hr.bind(
|
|
6006
6006
|
null,
|
|
6007
6007
|
m,
|
|
6008
|
-
|
|
6008
|
+
S,
|
|
6009
6009
|
a
|
|
6010
|
-
), [a]), m.flags |= 2048, xs(9, gr.bind(null, m,
|
|
6010
|
+
), [a]), m.flags |= 2048, xs(9, gr.bind(null, m, S, c, i), void 0, null), c;
|
|
6011
6011
|
}, useId: function() {
|
|
6012
6012
|
var a = Me(), i = xr.identifierPrefix;
|
|
6013
6013
|
if (Wn) {
|
|
@@ -6066,23 +6066,23 @@ function GO() {
|
|
|
6066
6066
|
return (a = a._reactInternals) ? Dt(a) === a : !1;
|
|
6067
6067
|
}, enqueueSetState: function(a, i, c) {
|
|
6068
6068
|
a = a._reactInternals;
|
|
6069
|
-
var m = Ga(), k = qr(a),
|
|
6070
|
-
|
|
6069
|
+
var m = Ga(), k = qr(a), S = Ha(m, k);
|
|
6070
|
+
S.payload = i, c != null && (S.callback = c), i = Ss(a, S, k), i !== null && (Qa(i, a, k, m), sd(i, a, k));
|
|
6071
6071
|
}, enqueueReplaceState: function(a, i, c) {
|
|
6072
6072
|
a = a._reactInternals;
|
|
6073
|
-
var m = Ga(), k = qr(a),
|
|
6074
|
-
|
|
6073
|
+
var m = Ga(), k = qr(a), S = Ha(m, k);
|
|
6074
|
+
S.tag = 1, S.payload = i, c != null && (S.callback = c), i = Ss(a, S, k), i !== null && (Qa(i, a, k, m), sd(i, a, k));
|
|
6075
6075
|
}, enqueueForceUpdate: function(a, i) {
|
|
6076
6076
|
a = a._reactInternals;
|
|
6077
6077
|
var c = Ga(), m = qr(a), k = Ha(c, m);
|
|
6078
6078
|
k.tag = 2, i != null && (k.callback = i), i = Ss(a, k, m), i !== null && (Qa(i, a, m, c), sd(i, a, m));
|
|
6079
6079
|
} };
|
|
6080
|
-
function my(a, i, c, m, k,
|
|
6081
|
-
return a = a.stateNode, typeof a.shouldComponentUpdate == "function" ? a.shouldComponentUpdate(m,
|
|
6080
|
+
function my(a, i, c, m, k, S, $) {
|
|
6081
|
+
return a = a.stateNode, typeof a.shouldComponentUpdate == "function" ? a.shouldComponentUpdate(m, S, $) : i.prototype && i.prototype.isPureReactComponent ? !hs(c, m) || !hs(k, S) : !0;
|
|
6082
6082
|
}
|
|
6083
6083
|
function gy(a, i, c) {
|
|
6084
|
-
var m = !1, k = Ti,
|
|
6085
|
-
return typeof
|
|
6084
|
+
var m = !1, k = Ti, S = i.contextType;
|
|
6085
|
+
return typeof S == "object" && S !== null ? S = Ri(S) : (k = sr(i) ? La : At.current, m = i.contextTypes, S = (m = m != null) ? Ai(a, k) : Ti), i = new i(c, S), a.memoizedState = i.state !== null && i.state !== void 0 ? i.state : null, i.updater = tc, a.stateNode = i, i._reactInternals = a, m && (a = a.stateNode, a.__reactInternalMemoizedUnmaskedChildContext = k, a.__reactInternalMemoizedMaskedChildContext = S), i;
|
|
6086
6086
|
}
|
|
6087
6087
|
function vy(a, i, c, m) {
|
|
6088
6088
|
a = i.state, typeof i.componentWillReceiveProps == "function" && i.componentWillReceiveProps(c, m), typeof i.UNSAFE_componentWillReceiveProps == "function" && i.UNSAFE_componentWillReceiveProps(c, m), i.state !== a && tc.enqueueReplaceState(i, i.state, null);
|
|
@@ -6090,8 +6090,8 @@ function GO() {
|
|
|
6090
6090
|
function ag(a, i, c, m) {
|
|
6091
6091
|
var k = a.stateNode;
|
|
6092
6092
|
k.props = c, k.state = a.memoizedState, k.refs = {}, od(a);
|
|
6093
|
-
var
|
|
6094
|
-
typeof
|
|
6093
|
+
var S = i.contextType;
|
|
6094
|
+
typeof S == "object" && S !== null ? k.context = Ri(S) : (S = sr(i) ? La : At.current, k.context = Ai(a, S)), k.state = a.memoizedState, S = i.getDerivedStateFromProps, typeof S == "function" && (ec(a, i, S, c), k.state = a.memoizedState), typeof i.getDerivedStateFromProps == "function" || typeof k.getSnapshotBeforeUpdate == "function" || typeof k.UNSAFE_componentWillMount != "function" && typeof k.componentWillMount != "function" || (i = k.state, typeof k.componentWillMount == "function" && k.componentWillMount(), typeof k.UNSAFE_componentWillMount == "function" && k.UNSAFE_componentWillMount(), i !== k.state && tc.enqueueReplaceState(k, k.state, null), Zl(a, c, k, m), k.state = a.memoizedState), typeof k.componentDidMount == "function" && (a.flags |= 4194308);
|
|
6095
6095
|
}
|
|
6096
6096
|
function tu(a, i) {
|
|
6097
6097
|
try {
|
|
@@ -6100,10 +6100,10 @@ function GO() {
|
|
|
6100
6100
|
c += ut(m), m = m.return;
|
|
6101
6101
|
while (m);
|
|
6102
6102
|
var k = c;
|
|
6103
|
-
} catch (
|
|
6103
|
+
} catch (S) {
|
|
6104
6104
|
k = `
|
|
6105
|
-
Error generating stack: ` +
|
|
6106
|
-
` +
|
|
6105
|
+
Error generating stack: ` + S.message + `
|
|
6106
|
+
` + S.stack;
|
|
6107
6107
|
}
|
|
6108
6108
|
return { value: a, source: i, stack: k, digest: null };
|
|
6109
6109
|
}
|
|
@@ -6138,8 +6138,8 @@ Error generating stack: ` + D.message + `
|
|
|
6138
6138
|
Hp(a, i);
|
|
6139
6139
|
};
|
|
6140
6140
|
}
|
|
6141
|
-
var
|
|
6142
|
-
return
|
|
6141
|
+
var S = a.stateNode;
|
|
6142
|
+
return S !== null && typeof S.componentDidCatch == "function" && (c.callback = function() {
|
|
6143
6143
|
Hp(a, i), typeof m != "function" && (_s === null ? _s = /* @__PURE__ */ new Set([this]) : _s.add(this));
|
|
6144
6144
|
var $ = i.stack;
|
|
6145
6145
|
this.componentDidCatch(i.value, { componentStack: $ !== null ? $ : "" });
|
|
@@ -6171,36 +6171,36 @@ Error generating stack: ` + D.message + `
|
|
|
6171
6171
|
}
|
|
6172
6172
|
function yd(a, i, c, m, k) {
|
|
6173
6173
|
c = c.render;
|
|
6174
|
-
var
|
|
6175
|
-
return wo(i, k), m = De(a, i, c, m,
|
|
6174
|
+
var S = i.ref;
|
|
6175
|
+
return wo(i, k), m = De(a, i, c, m, S, k), c = _t(), a !== null && !Li ? (i.updateQueue = a.updateQueue, i.flags &= -2053, a.lanes &= ~k, Da(a, i, k)) : (Wn && c && el(i), i.flags |= 1, Br(a, i, m, k), i.child);
|
|
6176
6176
|
}
|
|
6177
6177
|
function nu(a, i, c, m, k) {
|
|
6178
6178
|
if (a === null) {
|
|
6179
|
-
var
|
|
6180
|
-
return typeof
|
|
6179
|
+
var S = c.type;
|
|
6180
|
+
return typeof S == "function" && !xg(S) && S.defaultProps === void 0 && c.compare === null && c.defaultProps === void 0 ? (i.tag = 15, i.type = S, Sh(a, i, S, m, k)) : (a = Bh(c.type, null, m, i, i.mode, k), a.ref = i.ref, a.return = i, i.child = a);
|
|
6181
6181
|
}
|
|
6182
|
-
if (
|
|
6183
|
-
var $ =
|
|
6182
|
+
if (S = a.child, !(a.lanes & k)) {
|
|
6183
|
+
var $ = S.memoizedProps;
|
|
6184
6184
|
if (c = c.compare, c = c !== null ? c : hs, c($, m) && a.ref === i.ref) return Da(a, i, k);
|
|
6185
6185
|
}
|
|
6186
|
-
return i.flags |= 1, a = ou(
|
|
6186
|
+
return i.flags |= 1, a = ou(S, m), a.ref = i.ref, a.return = i, i.child = a;
|
|
6187
6187
|
}
|
|
6188
6188
|
function Sh(a, i, c, m, k) {
|
|
6189
6189
|
if (a !== null) {
|
|
6190
|
-
var
|
|
6191
|
-
if (hs(
|
|
6190
|
+
var S = a.memoizedProps;
|
|
6191
|
+
if (hs(S, m) && a.ref === i.ref) if (Li = !1, i.pendingProps = m = S, (a.lanes & k) !== 0) a.flags & 131072 && (Li = !0);
|
|
6192
6192
|
else return i.lanes = a.lanes, Da(a, i, k);
|
|
6193
6193
|
}
|
|
6194
6194
|
return Gt(a, i, c, m, k);
|
|
6195
6195
|
}
|
|
6196
6196
|
function Bi(a, i, c) {
|
|
6197
|
-
var m = i.pendingProps, k = m.children,
|
|
6197
|
+
var m = i.pendingProps, k = m.children, S = a !== null ? a.memoizedState : null;
|
|
6198
6198
|
if (m.mode === "hidden") if (!(i.mode & 1)) i.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, pn(xd, ro), ro |= c;
|
|
6199
6199
|
else {
|
|
6200
|
-
if (!(c & 1073741824)) return a =
|
|
6201
|
-
i.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, m =
|
|
6200
|
+
if (!(c & 1073741824)) return a = S !== null ? S.baseLanes | c : c, i.lanes = i.childLanes = 1073741824, i.memoizedState = { baseLanes: a, cachePool: null, transitions: null }, i.updateQueue = null, pn(xd, ro), ro |= a, null;
|
|
6201
|
+
i.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, m = S !== null ? S.baseLanes : c, pn(xd, ro), ro |= m;
|
|
6202
6202
|
}
|
|
6203
|
-
else
|
|
6203
|
+
else S !== null ? (m = S.baseLanes | c, i.memoizedState = null) : m = c, pn(xd, ro), ro |= m;
|
|
6204
6204
|
return Br(a, i, k, c), i.child;
|
|
6205
6205
|
}
|
|
6206
6206
|
function nc(a, i) {
|
|
@@ -6208,14 +6208,14 @@ Error generating stack: ` + D.message + `
|
|
|
6208
6208
|
(a === null && c !== null || a !== null && a.ref !== c) && (i.flags |= 512, i.flags |= 2097152);
|
|
6209
6209
|
}
|
|
6210
6210
|
function Gt(a, i, c, m, k) {
|
|
6211
|
-
var
|
|
6212
|
-
return
|
|
6211
|
+
var S = sr(c) ? La : At.current;
|
|
6212
|
+
return S = Ai(i, S), wo(i, k), c = De(a, i, c, m, S, k), m = _t(), a !== null && !Li ? (i.updateQueue = a.updateQueue, i.flags &= -2053, a.lanes &= ~k, Da(a, i, k)) : (Wn && m && el(i), i.flags |= 1, Br(a, i, c, k), i.child);
|
|
6213
6213
|
}
|
|
6214
6214
|
function Wp(a, i, c, m, k) {
|
|
6215
6215
|
if (sr(c)) {
|
|
6216
|
-
var
|
|
6216
|
+
var S = !0;
|
|
6217
6217
|
ed(i);
|
|
6218
|
-
} else
|
|
6218
|
+
} else S = !1;
|
|
6219
6219
|
if (wo(i, k), i.stateNode === null) Wa(a, i), gy(i, c, m), ag(i, c, m, k), m = !0;
|
|
6220
6220
|
else if (a === null) {
|
|
6221
6221
|
var $ = i.stateNode, z = i.memoizedProps;
|
|
@@ -6233,15 +6233,15 @@ Error generating stack: ` + D.message + `
|
|
|
6233
6233
|
var vt = i.memoizedState;
|
|
6234
6234
|
z !== je || Le !== vt || br.current || Ds ? (typeof ct == "function" && (ec(i, c, ct, m), vt = i.memoizedState), (he = Ds || my(i, c, he, m, Le, vt, Q) || !1) ? (Oe || typeof $.UNSAFE_componentWillUpdate != "function" && typeof $.componentWillUpdate != "function" || (typeof $.componentWillUpdate == "function" && $.componentWillUpdate(m, vt, Q), typeof $.UNSAFE_componentWillUpdate == "function" && $.UNSAFE_componentWillUpdate(m, vt, Q)), typeof $.componentDidUpdate == "function" && (i.flags |= 4), typeof $.getSnapshotBeforeUpdate == "function" && (i.flags |= 1024)) : (typeof $.componentDidUpdate != "function" || z === a.memoizedProps && Le === a.memoizedState || (i.flags |= 4), typeof $.getSnapshotBeforeUpdate != "function" || z === a.memoizedProps && Le === a.memoizedState || (i.flags |= 1024), i.memoizedProps = m, i.memoizedState = vt), $.props = m, $.state = vt, $.context = Q, m = he) : (typeof $.componentDidUpdate != "function" || z === a.memoizedProps && Le === a.memoizedState || (i.flags |= 4), typeof $.getSnapshotBeforeUpdate != "function" || z === a.memoizedProps && Le === a.memoizedState || (i.flags |= 1024), m = !1);
|
|
6235
6235
|
}
|
|
6236
|
-
return xh(a, i, c, m,
|
|
6236
|
+
return xh(a, i, c, m, S, k);
|
|
6237
6237
|
}
|
|
6238
|
-
function xh(a, i, c, m, k,
|
|
6238
|
+
function xh(a, i, c, m, k, S) {
|
|
6239
6239
|
nc(a, i);
|
|
6240
6240
|
var $ = (i.flags & 128) !== 0;
|
|
6241
|
-
if (!m && !$) return k && Zs(i, c, !1), Da(a, i,
|
|
6241
|
+
if (!m && !$) return k && Zs(i, c, !1), Da(a, i, S);
|
|
6242
6242
|
m = i.stateNode, Dy.current = i;
|
|
6243
6243
|
var z = $ && typeof c.getDerivedStateFromError != "function" ? null : m.render();
|
|
6244
|
-
return i.flags |= 1, a !== null && $ ? (i.child = Ql(i, a.child, null,
|
|
6244
|
+
return i.flags |= 1, a !== null && $ ? (i.child = Ql(i, a.child, null, S), i.child = Ql(i, null, z, S)) : Br(a, i, z, S), i.memoizedState = m.state, k && Zs(i, c, !0), i.child;
|
|
6245
6245
|
}
|
|
6246
6246
|
function Sy(a) {
|
|
6247
6247
|
var i = a.stateNode;
|
|
@@ -6255,16 +6255,16 @@ Error generating stack: ` + D.message + `
|
|
|
6255
6255
|
return { baseLanes: a, cachePool: null, transitions: null };
|
|
6256
6256
|
}
|
|
6257
6257
|
function lg(a, i, c) {
|
|
6258
|
-
var m = i.pendingProps, k = ur.current,
|
|
6259
|
-
if ((z = $) || (z = a !== null && a.memoizedState === null ? !1 : (k & 2) !== 0), z ? (
|
|
6260
|
-
return nd(i), a = i.memoizedState, a !== null && (a = a.dehydrated, a !== null) ? (i.mode & 1 ? a.data === "$!" ? i.lanes = 8 : i.lanes = 1073741824 : i.lanes = 1, null) : ($ = m.children, a = m.fallback,
|
|
6258
|
+
var m = i.pendingProps, k = ur.current, S = !1, $ = (i.flags & 128) !== 0, z;
|
|
6259
|
+
if ((z = $) || (z = a !== null && a.memoizedState === null ? !1 : (k & 2) !== 0), z ? (S = !0, i.flags &= -129) : (a === null || a.memoizedState !== null) && (k |= 1), pn(ur, k & 1), a === null)
|
|
6260
|
+
return nd(i), a = i.memoizedState, a !== null && (a = a.dehydrated, a !== null) ? (i.mode & 1 ? a.data === "$!" ? i.lanes = 8 : i.lanes = 1073741824 : i.lanes = 1, null) : ($ = m.children, a = m.fallback, S ? (m = i.mode, S = i.child, $ = { mode: "hidden", children: $ }, !(m & 1) && S !== null ? (S.childLanes = 0, S.pendingProps = $) : S = ef($, m, 0, null), a = dc(a, m, c, null), S.return = i, a.return = i, S.sibling = a, i.child = S, i.child.memoizedState = sg(c), i.memoizedState = rc, a) : ug(i, $));
|
|
6261
6261
|
if (k = a.memoizedState, k !== null && (z = k.dehydrated, z !== null)) return ok(a, i, $, m, z, k, c);
|
|
6262
|
-
if (
|
|
6263
|
-
|
|
6262
|
+
if (S) {
|
|
6263
|
+
S = m.fallback, $ = i.mode, k = a.child, z = k.sibling;
|
|
6264
6264
|
var Q = { mode: "hidden", children: m.children };
|
|
6265
|
-
return !($ & 1) && i.child !== k ? (m = i.child, m.childLanes = 0, m.pendingProps = Q, i.deletions = null) : (m = ou(k, Q), m.subtreeFlags = k.subtreeFlags & 14680064), z !== null ?
|
|
6265
|
+
return !($ & 1) && i.child !== k ? (m = i.child, m.childLanes = 0, m.pendingProps = Q, i.deletions = null) : (m = ou(k, Q), m.subtreeFlags = k.subtreeFlags & 14680064), z !== null ? S = ou(z, S) : (S = dc(S, $, c, null), S.flags |= 2), S.return = i, m.return = i, m.sibling = S, i.child = m, m = S, S = i.child, $ = a.child.memoizedState, $ = $ === null ? sg(c) : { baseLanes: $.baseLanes | c, cachePool: null, transitions: $.transitions }, S.memoizedState = $, S.childLanes = a.childLanes & ~c, i.memoizedState = rc, m;
|
|
6266
6266
|
}
|
|
6267
|
-
return
|
|
6267
|
+
return S = a.child, a = S.sibling, m = ou(S, { mode: "visible", children: m.children }), !(i.mode & 1) && (m.lanes = c), m.return = i, m.sibling = null, a !== null && (c = i.deletions, c === null ? (i.deletions = [a], i.flags |= 16) : c.push(a)), i.child = m, i.memoizedState = null, m;
|
|
6268
6268
|
}
|
|
6269
6269
|
function ug(a, i) {
|
|
6270
6270
|
return i = ef({ mode: "visible", children: i }, a.mode, 0, null), i.return = a, a.child = i;
|
|
@@ -6272,13 +6272,13 @@ Error generating stack: ` + D.message + `
|
|
|
6272
6272
|
function bd(a, i, c, m) {
|
|
6273
6273
|
return m !== null && rd(m), Ql(i, a.child, null, c), a = ug(i, i.pendingProps.children), a.flags |= 2, i.memoizedState = null, a;
|
|
6274
6274
|
}
|
|
6275
|
-
function ok(a, i, c, m, k,
|
|
6275
|
+
function ok(a, i, c, m, k, S, $) {
|
|
6276
6276
|
if (c)
|
|
6277
|
-
return i.flags & 256 ? (i.flags &= -257, m = ig(Error(o(422))), bd(a, i, $, m)) : i.memoizedState !== null ? (i.child = a.child, i.flags |= 128, null) : (
|
|
6277
|
+
return i.flags & 256 ? (i.flags &= -257, m = ig(Error(o(422))), bd(a, i, $, m)) : i.memoizedState !== null ? (i.child = a.child, i.flags |= 128, null) : (S = m.fallback, k = i.mode, m = ef({ mode: "visible", children: m.children }, k, 0, null), S = dc(S, k, $, null), S.flags |= 2, m.return = i, S.return = i, m.sibling = S, i.child = m, i.mode & 1 && Ql(i, a.child, null, $), i.child.memoizedState = sg($), i.memoizedState = rc, S);
|
|
6278
6278
|
if (!(i.mode & 1)) return bd(a, i, $, null);
|
|
6279
6279
|
if (k.data === "$!") {
|
|
6280
6280
|
if (m = k.nextSibling && k.nextSibling.dataset, m) var z = m.dgst;
|
|
6281
|
-
return m = z,
|
|
6281
|
+
return m = z, S = Error(o(419)), m = ig(S, m, void 0), bd(a, i, $, m);
|
|
6282
6282
|
}
|
|
6283
6283
|
if (z = ($ & a.childLanes) !== 0, Li || z) {
|
|
6284
6284
|
if (m = xr, m !== null) {
|
|
@@ -6318,11 +6318,11 @@ Error generating stack: ` + D.message + `
|
|
|
6318
6318
|
default:
|
|
6319
6319
|
k = 0;
|
|
6320
6320
|
}
|
|
6321
|
-
k = k & (m.suspendedLanes | $) ? 0 : k, k !== 0 && k !==
|
|
6321
|
+
k = k & (m.suspendedLanes | $) ? 0 : k, k !== 0 && k !== S.retryLane && (S.retryLane = k, Do(a, k), Qa(m, a, k, -1));
|
|
6322
6322
|
}
|
|
6323
6323
|
return wg(), m = ig(Error(o(421))), bd(a, i, $, m);
|
|
6324
6324
|
}
|
|
6325
|
-
return k.data === "$?" ? (i.flags |= 128, i.child = a.child, i = pk.bind(null, a), k._reactRetry = i, null) : (a =
|
|
6325
|
+
return k.data === "$?" ? (i.flags |= 128, i.child = a.child, i = pk.bind(null, a), k._reactRetry = i, null) : (a = S.treeContext, gn = Oa(k.nextSibling), ui = i, Wn = !0, $i = null, a !== null && (ia[oa++] = Qr, ia[oa++] = Ma, ia[oa++] = Ni, Qr = a.id, Ma = a.overflow, Ni = i), i = ug(i, m.children), i.flags |= 4096, i);
|
|
6326
6326
|
}
|
|
6327
6327
|
function cg(a, i, c) {
|
|
6328
6328
|
a.lanes |= i;
|
|
@@ -6330,11 +6330,11 @@ Error generating stack: ` + D.message + `
|
|
|
6330
6330
|
m !== null && (m.lanes |= i), Ip(a.return, i, c);
|
|
6331
6331
|
}
|
|
6332
6332
|
function Eh(a, i, c, m, k) {
|
|
6333
|
-
var
|
|
6334
|
-
|
|
6333
|
+
var S = a.memoizedState;
|
|
6334
|
+
S === null ? a.memoizedState = { isBackwards: i, rendering: null, renderingStartTime: 0, last: m, tail: c, tailMode: k } : (S.isBackwards = i, S.rendering = null, S.renderingStartTime = 0, S.last = m, S.tail = c, S.tailMode = k);
|
|
6335
6335
|
}
|
|
6336
6336
|
function dg(a, i, c) {
|
|
6337
|
-
var m = i.pendingProps, k = m.revealOrder,
|
|
6337
|
+
var m = i.pendingProps, k = m.revealOrder, S = m.tail;
|
|
6338
6338
|
if (Br(a, i, m.children, c), m = ur.current, m & 2) m = m & 1 | 2, i.flags |= 128;
|
|
6339
6339
|
else {
|
|
6340
6340
|
if (a !== null && a.flags & 128) e: for (a = i.child; a !== null; ) {
|
|
@@ -6357,7 +6357,7 @@ Error generating stack: ` + D.message + `
|
|
|
6357
6357
|
else switch (k) {
|
|
6358
6358
|
case "forwards":
|
|
6359
6359
|
for (c = i.child, k = null; c !== null; ) a = c.alternate, a !== null && cd(a) === null && (k = c), c = c.sibling;
|
|
6360
|
-
c = k, c === null ? (k = i.child, i.child = null) : (k = c.sibling, c.sibling = null), Eh(i, !1, k, c,
|
|
6360
|
+
c = k, c === null ? (k = i.child, i.child = null) : (k = c.sibling, c.sibling = null), Eh(i, !1, k, c, S);
|
|
6361
6361
|
break;
|
|
6362
6362
|
case "backwards":
|
|
6363
6363
|
for (c = null, k = i.child, i.child = null; k !== null; ) {
|
|
@@ -6367,7 +6367,7 @@ Error generating stack: ` + D.message + `
|
|
|
6367
6367
|
}
|
|
6368
6368
|
a = k.sibling, k.sibling = c, c = k, k = a;
|
|
6369
6369
|
}
|
|
6370
|
-
Eh(i, !0, c, null,
|
|
6370
|
+
Eh(i, !0, c, null, S);
|
|
6371
6371
|
break;
|
|
6372
6372
|
case "together":
|
|
6373
6373
|
Eh(i, !1, null, null, void 0);
|
|
@@ -6445,16 +6445,16 @@ Error generating stack: ` + D.message + `
|
|
|
6445
6445
|
var k = a.memoizedProps;
|
|
6446
6446
|
if (k !== m) {
|
|
6447
6447
|
a = i.stateNode, nl(no.current);
|
|
6448
|
-
var
|
|
6448
|
+
var S = null;
|
|
6449
6449
|
switch (c) {
|
|
6450
6450
|
case "input":
|
|
6451
|
-
k = it(a, k), m = it(a, m),
|
|
6451
|
+
k = it(a, k), m = it(a, m), S = [];
|
|
6452
6452
|
break;
|
|
6453
6453
|
case "select":
|
|
6454
|
-
k = Ce({}, k, { value: void 0 }), m = Ce({}, m, { value: void 0 }),
|
|
6454
|
+
k = Ce({}, k, { value: void 0 }), m = Ce({}, m, { value: void 0 }), S = [];
|
|
6455
6455
|
break;
|
|
6456
6456
|
case "textarea":
|
|
6457
|
-
k = tr(a, k), m = tr(a, m),
|
|
6457
|
+
k = tr(a, k), m = tr(a, m), S = [];
|
|
6458
6458
|
break;
|
|
6459
6459
|
default:
|
|
6460
6460
|
typeof k.onClick != "function" && typeof m.onClick == "function" && (a.onclick = qu);
|
|
@@ -6465,20 +6465,20 @@ Error generating stack: ` + D.message + `
|
|
|
6465
6465
|
for (he in k) if (!m.hasOwnProperty(he) && k.hasOwnProperty(he) && k[he] != null) if (he === "style") {
|
|
6466
6466
|
var z = k[he];
|
|
6467
6467
|
for ($ in z) z.hasOwnProperty($) && (c || (c = {}), c[$] = "");
|
|
6468
|
-
} else he !== "dangerouslySetInnerHTML" && he !== "children" && he !== "suppressContentEditableWarning" && he !== "suppressHydrationWarning" && he !== "autoFocus" && (f.hasOwnProperty(he) ?
|
|
6468
|
+
} else he !== "dangerouslySetInnerHTML" && he !== "children" && he !== "suppressContentEditableWarning" && he !== "suppressHydrationWarning" && he !== "autoFocus" && (f.hasOwnProperty(he) ? S || (S = []) : (S = S || []).push(he, null));
|
|
6469
6469
|
for (he in m) {
|
|
6470
6470
|
var Q = m[he];
|
|
6471
6471
|
if (z = k != null ? k[he] : void 0, m.hasOwnProperty(he) && Q !== z && (Q != null || z != null)) if (he === "style") if (z) {
|
|
6472
6472
|
for ($ in z) !z.hasOwnProperty($) || Q && Q.hasOwnProperty($) || (c || (c = {}), c[$] = "");
|
|
6473
6473
|
for ($ in Q) Q.hasOwnProperty($) && z[$] !== Q[$] && (c || (c = {}), c[$] = Q[$]);
|
|
6474
|
-
} else c || (
|
|
6474
|
+
} else c || (S || (S = []), S.push(
|
|
6475
6475
|
he,
|
|
6476
6476
|
c
|
|
6477
6477
|
)), c = Q;
|
|
6478
|
-
else he === "dangerouslySetInnerHTML" ? (Q = Q ? Q.__html : void 0, z = z ? z.__html : void 0, Q != null && z !== Q && (
|
|
6478
|
+
else he === "dangerouslySetInnerHTML" ? (Q = Q ? Q.__html : void 0, z = z ? z.__html : void 0, Q != null && z !== Q && (S = S || []).push(he, Q)) : he === "children" ? typeof Q != "string" && typeof Q != "number" || (S = S || []).push(he, "" + Q) : he !== "suppressContentEditableWarning" && he !== "suppressHydrationWarning" && (f.hasOwnProperty(he) ? (Q != null && he === "onScroll" && Mn("scroll", a), S || z === Q || (S = [])) : (S = S || []).push(he, Q));
|
|
6479
6479
|
}
|
|
6480
|
-
c && (
|
|
6481
|
-
var he =
|
|
6480
|
+
c && (S = S || []).push("style", c);
|
|
6481
|
+
var he = S;
|
|
6482
6482
|
(i.updateQueue = he) && (i.flags |= 4);
|
|
6483
6483
|
}
|
|
6484
6484
|
}, Kr = function(a, i, c, m) {
|
|
@@ -6532,8 +6532,8 @@ Error generating stack: ` + D.message + `
|
|
|
6532
6532
|
}
|
|
6533
6533
|
if (a = nl(no.current), Gu(i)) {
|
|
6534
6534
|
m = i.stateNode, c = i.type;
|
|
6535
|
-
var
|
|
6536
|
-
switch (m[to] = i, m[bo] =
|
|
6535
|
+
var S = i.memoizedProps;
|
|
6536
|
+
switch (m[to] = i, m[bo] = S, a = (i.mode & 1) !== 0, c) {
|
|
6537
6537
|
case "dialog":
|
|
6538
6538
|
Mn("cancel", m), Mn("close", m);
|
|
6539
6539
|
break;
|
|
@@ -6561,18 +6561,18 @@ Error generating stack: ` + D.message + `
|
|
|
6561
6561
|
Mn("toggle", m);
|
|
6562
6562
|
break;
|
|
6563
6563
|
case "input":
|
|
6564
|
-
Pn(m,
|
|
6564
|
+
Pn(m, S), Mn("invalid", m);
|
|
6565
6565
|
break;
|
|
6566
6566
|
case "select":
|
|
6567
|
-
m._wrapperState = { wasMultiple: !!
|
|
6567
|
+
m._wrapperState = { wasMultiple: !!S.multiple }, Mn("invalid", m);
|
|
6568
6568
|
break;
|
|
6569
6569
|
case "textarea":
|
|
6570
|
-
Mr(m,
|
|
6570
|
+
Mr(m, S), Mn("invalid", m);
|
|
6571
6571
|
}
|
|
6572
|
-
nr(c,
|
|
6573
|
-
for (var $ in
|
|
6574
|
-
var z =
|
|
6575
|
-
$ === "children" ? typeof z == "string" ? m.textContent !== z && (
|
|
6572
|
+
nr(c, S), k = null;
|
|
6573
|
+
for (var $ in S) if (S.hasOwnProperty($)) {
|
|
6574
|
+
var z = S[$];
|
|
6575
|
+
$ === "children" ? typeof z == "string" ? m.textContent !== z && (S.suppressHydrationWarning !== !0 && Hu(m.textContent, z, a), k = ["children", z]) : typeof z == "number" && m.textContent !== "" + z && (S.suppressHydrationWarning !== !0 && Hu(
|
|
6576
6576
|
m.textContent,
|
|
6577
6577
|
z,
|
|
6578
6578
|
a
|
|
@@ -6580,7 +6580,7 @@ Error generating stack: ` + D.message + `
|
|
|
6580
6580
|
}
|
|
6581
6581
|
switch (c) {
|
|
6582
6582
|
case "input":
|
|
6583
|
-
Tn(m), Kt(m,
|
|
6583
|
+
Tn(m), Kt(m, S, !0);
|
|
6584
6584
|
break;
|
|
6585
6585
|
case "textarea":
|
|
6586
6586
|
Tn(m), Z(m);
|
|
@@ -6589,7 +6589,7 @@ Error generating stack: ` + D.message + `
|
|
|
6589
6589
|
case "option":
|
|
6590
6590
|
break;
|
|
6591
6591
|
default:
|
|
6592
|
-
typeof
|
|
6592
|
+
typeof S.onClick == "function" && (m.onclick = qu);
|
|
6593
6593
|
}
|
|
6594
6594
|
m = k, i.updateQueue = m, m !== null && (i.flags |= 4);
|
|
6595
6595
|
} else {
|
|
@@ -6639,9 +6639,9 @@ Error generating stack: ` + D.message + `
|
|
|
6639
6639
|
k = m;
|
|
6640
6640
|
}
|
|
6641
6641
|
nr(c, k), z = k;
|
|
6642
|
-
for (
|
|
6643
|
-
var Q = z[
|
|
6644
|
-
|
|
6642
|
+
for (S in z) if (z.hasOwnProperty(S)) {
|
|
6643
|
+
var Q = z[S];
|
|
6644
|
+
S === "style" ? bn(a, Q) : S === "dangerouslySetInnerHTML" ? (Q = Q ? Q.__html : void 0, Q != null && Bt(a, Q)) : S === "children" ? typeof Q == "string" ? (c !== "textarea" || Q !== "") && Ae(a, Q) : typeof Q == "number" && Ae(a, "" + Q) : S !== "suppressContentEditableWarning" && S !== "suppressHydrationWarning" && S !== "autoFocus" && (f.hasOwnProperty(S) ? Q != null && S === "onScroll" && Mn("scroll", a) : Q != null && Y(a, S, Q, $));
|
|
6645
6645
|
}
|
|
6646
6646
|
switch (c) {
|
|
6647
6647
|
case "input":
|
|
@@ -6654,7 +6654,7 @@ Error generating stack: ` + D.message + `
|
|
|
6654
6654
|
m.value != null && a.setAttribute("value", "" + Pt(m.value));
|
|
6655
6655
|
break;
|
|
6656
6656
|
case "select":
|
|
6657
|
-
a.multiple = !!m.multiple,
|
|
6657
|
+
a.multiple = !!m.multiple, S = m.value, S != null ? wr(a, !!m.multiple, S, !1) : m.defaultValue != null && wr(
|
|
6658
6658
|
a,
|
|
6659
6659
|
!!m.multiple,
|
|
6660
6660
|
m.defaultValue,
|
|
@@ -6688,29 +6688,29 @@ Error generating stack: ` + D.message + `
|
|
|
6688
6688
|
else {
|
|
6689
6689
|
if (typeof m != "string" && i.stateNode === null) throw Error(o(166));
|
|
6690
6690
|
if (c = nl(Jl.current), nl(no.current), Gu(i)) {
|
|
6691
|
-
if (m = i.stateNode, c = i.memoizedProps, m[to] = i, (
|
|
6691
|
+
if (m = i.stateNode, c = i.memoizedProps, m[to] = i, (S = m.nodeValue !== c) && (a = ui, a !== null)) switch (a.tag) {
|
|
6692
6692
|
case 3:
|
|
6693
6693
|
Hu(m.nodeValue, c, (a.mode & 1) !== 0);
|
|
6694
6694
|
break;
|
|
6695
6695
|
case 5:
|
|
6696
6696
|
a.memoizedProps.suppressHydrationWarning !== !0 && Hu(m.nodeValue, c, (a.mode & 1) !== 0);
|
|
6697
6697
|
}
|
|
6698
|
-
|
|
6698
|
+
S && (i.flags |= 4);
|
|
6699
6699
|
} else m = (c.nodeType === 9 ? c : c.ownerDocument).createTextNode(m), m[to] = i, i.stateNode = m;
|
|
6700
6700
|
}
|
|
6701
6701
|
return Va(i), null;
|
|
6702
6702
|
case 13:
|
|
6703
6703
|
if (Dn(ur), m = i.memoizedState, a === null || a.memoizedState !== null && a.memoizedState.dehydrated !== null) {
|
|
6704
|
-
if (Wn && gn !== null && i.mode & 1 && !(i.flags & 128)) Lp(), mr(), i.flags |= 98560,
|
|
6705
|
-
else if (
|
|
6704
|
+
if (Wn && gn !== null && i.mode & 1 && !(i.flags & 128)) Lp(), mr(), i.flags |= 98560, S = !1;
|
|
6705
|
+
else if (S = Gu(i), m !== null && m.dehydrated !== null) {
|
|
6706
6706
|
if (a === null) {
|
|
6707
|
-
if (!
|
|
6708
|
-
if (
|
|
6709
|
-
|
|
6707
|
+
if (!S) throw Error(o(318));
|
|
6708
|
+
if (S = i.memoizedState, S = S !== null ? S.dehydrated : null, !S) throw Error(o(317));
|
|
6709
|
+
S[to] = i;
|
|
6710
6710
|
} else mr(), !(i.flags & 128) && (i.memoizedState = null), i.flags |= 4;
|
|
6711
|
-
Va(i),
|
|
6712
|
-
} else $i !== null && (Jp($i), $i = null),
|
|
6713
|
-
if (!
|
|
6711
|
+
Va(i), S = !1;
|
|
6712
|
+
} else $i !== null && (Jp($i), $i = null), S = !0;
|
|
6713
|
+
if (!S) return i.flags & 65536 ? i : null;
|
|
6714
6714
|
}
|
|
6715
6715
|
return i.flags & 128 ? (i.lanes = c, i) : (m = m !== null, m !== (a !== null && a.memoizedState !== null) && m && (i.child.flags |= 8192, i.mode & 1 && (a === null || ur.current & 1 ? Xr === 0 && (Xr = 3) : wg())), i.updateQueue !== null && (i.flags |= 4), Va(i), null);
|
|
6716
6716
|
case 4:
|
|
@@ -6720,25 +6720,25 @@ Error generating stack: ` + D.message + `
|
|
|
6720
6720
|
case 17:
|
|
6721
6721
|
return sr(i.type) && Fi(), Va(i), null;
|
|
6722
6722
|
case 19:
|
|
6723
|
-
if (Dn(ur),
|
|
6724
|
-
if (m = (i.flags & 128) !== 0, $ =
|
|
6723
|
+
if (Dn(ur), S = i.memoizedState, S === null) return Va(i), null;
|
|
6724
|
+
if (m = (i.flags & 128) !== 0, $ = S.rendering, $ === null) if (m) Yp(S, !1);
|
|
6725
6725
|
else {
|
|
6726
6726
|
if (Xr !== 0 || a !== null && a.flags & 128) for (a = i.child; a !== null; ) {
|
|
6727
6727
|
if ($ = cd(a), $ !== null) {
|
|
6728
|
-
for (i.flags |= 128, Yp(
|
|
6728
|
+
for (i.flags |= 128, Yp(S, !1), m = $.updateQueue, m !== null && (i.updateQueue = m, i.flags |= 4), i.subtreeFlags = 0, m = c, c = i.child; c !== null; ) S = c, a = m, S.flags &= 14680066, $ = S.alternate, $ === null ? (S.childLanes = 0, S.lanes = a, S.child = null, S.subtreeFlags = 0, S.memoizedProps = null, S.memoizedState = null, S.updateQueue = null, S.dependencies = null, S.stateNode = null) : (S.childLanes = $.childLanes, S.lanes = $.lanes, S.child = $.child, S.subtreeFlags = 0, S.deletions = null, S.memoizedProps = $.memoizedProps, S.memoizedState = $.memoizedState, S.updateQueue = $.updateQueue, S.type = $.type, a = $.dependencies, S.dependencies = a === null ? null : { lanes: a.lanes, firstContext: a.firstContext }), c = c.sibling;
|
|
6729
6729
|
return pn(ur, ur.current & 1 | 2), i.child;
|
|
6730
6730
|
}
|
|
6731
6731
|
a = a.sibling;
|
|
6732
6732
|
}
|
|
6733
|
-
|
|
6733
|
+
S.tail !== null && Xt() > Ed && (i.flags |= 128, m = !0, Yp(S, !1), i.lanes = 4194304);
|
|
6734
6734
|
}
|
|
6735
6735
|
else {
|
|
6736
6736
|
if (!m) if (a = cd($), a !== null) {
|
|
6737
|
-
if (i.flags |= 128, m = !0, c = a.updateQueue, c !== null && (i.updateQueue = c, i.flags |= 4), Yp(
|
|
6738
|
-
} else 2 * Xt() -
|
|
6739
|
-
|
|
6737
|
+
if (i.flags |= 128, m = !0, c = a.updateQueue, c !== null && (i.updateQueue = c, i.flags |= 4), Yp(S, !0), S.tail === null && S.tailMode === "hidden" && !$.alternate && !Wn) return Va(i), null;
|
|
6738
|
+
} else 2 * Xt() - S.renderingStartTime > Ed && c !== 1073741824 && (i.flags |= 128, m = !0, Yp(S, !1), i.lanes = 4194304);
|
|
6739
|
+
S.isBackwards ? ($.sibling = i.child, i.child = $) : (c = S.last, c !== null ? c.sibling = $ : i.child = $, S.last = $);
|
|
6740
6740
|
}
|
|
6741
|
-
return
|
|
6741
|
+
return S.tail !== null ? (i = S.tail, S.rendering = i, S.tail = i.sibling, S.renderingStartTime = Xt(), i.sibling = null, c = ur.current, pn(ur, m ? c & 1 | 2 : c & 1), i) : (Va(i), null);
|
|
6742
6742
|
case 22:
|
|
6743
6743
|
case 23:
|
|
6744
6744
|
return kg(), m = i.memoizedState !== null, a !== null && a.memoizedState !== null !== m && (i.flags |= 8192), m && i.mode & 1 ? ro & 1073741824 && (Va(i), i.subtreeFlags & 6 && (i.flags |= 8192)) : Va(i), null;
|
|
@@ -6804,21 +6804,21 @@ Error generating stack: ` + D.message + `
|
|
|
6804
6804
|
var m = c.getSelection && c.getSelection();
|
|
6805
6805
|
if (m && m.rangeCount !== 0) {
|
|
6806
6806
|
c = m.anchorNode;
|
|
6807
|
-
var k = m.anchorOffset,
|
|
6807
|
+
var k = m.anchorOffset, S = m.focusNode;
|
|
6808
6808
|
m = m.focusOffset;
|
|
6809
6809
|
try {
|
|
6810
|
-
c.nodeType,
|
|
6810
|
+
c.nodeType, S.nodeType;
|
|
6811
6811
|
} catch {
|
|
6812
6812
|
c = null;
|
|
6813
6813
|
break e;
|
|
6814
6814
|
}
|
|
6815
6815
|
var $ = 0, z = -1, Q = -1, he = 0, Oe = 0, je = a, Le = null;
|
|
6816
6816
|
t: for (; ; ) {
|
|
6817
|
-
for (var ct; je !== c || k !== 0 && je.nodeType !== 3 || (z = $ + k), je !==
|
|
6817
|
+
for (var ct; je !== c || k !== 0 && je.nodeType !== 3 || (z = $ + k), je !== S || m !== 0 && je.nodeType !== 3 || (Q = $ + m), je.nodeType === 3 && ($ += je.nodeValue.length), (ct = je.firstChild) !== null; )
|
|
6818
6818
|
Le = je, je = ct;
|
|
6819
6819
|
for (; ; ) {
|
|
6820
6820
|
if (je === a) break t;
|
|
6821
|
-
if (Le === c && ++he === k && (z = $), Le ===
|
|
6821
|
+
if (Le === c && ++he === k && (z = $), Le === S && ++Oe === m && (Q = $), (ct = je.nextSibling) !== null) break;
|
|
6822
6822
|
je = Le, Le = je.parentNode;
|
|
6823
6823
|
}
|
|
6824
6824
|
je = ct;
|
|
@@ -6873,8 +6873,8 @@ Error generating stack: ` + D.message + `
|
|
|
6873
6873
|
var k = m = m.next;
|
|
6874
6874
|
do {
|
|
6875
6875
|
if ((k.tag & a) === a) {
|
|
6876
|
-
var
|
|
6877
|
-
k.destroy = void 0,
|
|
6876
|
+
var S = k.destroy;
|
|
6877
|
+
k.destroy = void 0, S !== void 0 && _h(i, c, S);
|
|
6878
6878
|
}
|
|
6879
6879
|
k = k.next;
|
|
6880
6880
|
} while (k !== m);
|
|
@@ -6965,8 +6965,8 @@ Error generating stack: ` + D.message + `
|
|
|
6965
6965
|
if (!Zr && (m = c.updateQueue, m !== null && (m = m.lastEffect, m !== null))) {
|
|
6966
6966
|
k = m = m.next;
|
|
6967
6967
|
do {
|
|
6968
|
-
var
|
|
6969
|
-
|
|
6968
|
+
var S = k, $ = S.destroy;
|
|
6969
|
+
S = S.tag, $ !== void 0 && (S & 2 || S & 4) && _h(c, i, $), k = k.next;
|
|
6970
6970
|
} while (k !== m);
|
|
6971
6971
|
}
|
|
6972
6972
|
xo(a, i, c);
|
|
@@ -7005,7 +7005,7 @@ Error generating stack: ` + D.message + `
|
|
|
7005
7005
|
if (c !== null) for (var m = 0; m < c.length; m++) {
|
|
7006
7006
|
var k = c[m];
|
|
7007
7007
|
try {
|
|
7008
|
-
var
|
|
7008
|
+
var S = a, $ = i, z = $;
|
|
7009
7009
|
e: for (; z !== null; ) {
|
|
7010
7010
|
switch (z.tag) {
|
|
7011
7011
|
case 5:
|
|
@@ -7021,7 +7021,7 @@ Error generating stack: ` + D.message + `
|
|
|
7021
7021
|
z = z.return;
|
|
7022
7022
|
}
|
|
7023
7023
|
if (kr === null) throw Error(o(160));
|
|
7024
|
-
Dd(
|
|
7024
|
+
Dd(S, $, k), kr = null, sa = !1;
|
|
7025
7025
|
var Q = k.alternate;
|
|
7026
7026
|
Q !== null && (Q.return = null), k.return = null;
|
|
7027
7027
|
} catch (he) {
|
|
@@ -7063,33 +7063,33 @@ Error generating stack: ` + D.message + `
|
|
|
7063
7063
|
}
|
|
7064
7064
|
}
|
|
7065
7065
|
if (m & 4 && (k = a.stateNode, k != null)) {
|
|
7066
|
-
var
|
|
7066
|
+
var S = a.memoizedProps, $ = c !== null ? c.memoizedProps : S, z = a.type, Q = a.updateQueue;
|
|
7067
7067
|
if (a.updateQueue = null, Q !== null) try {
|
|
7068
|
-
z === "input" &&
|
|
7069
|
-
var he = rr(z,
|
|
7068
|
+
z === "input" && S.type === "radio" && S.name != null && Mt(k, S), rr(z, $);
|
|
7069
|
+
var he = rr(z, S);
|
|
7070
7070
|
for ($ = 0; $ < Q.length; $ += 2) {
|
|
7071
7071
|
var Oe = Q[$], je = Q[$ + 1];
|
|
7072
7072
|
Oe === "style" ? bn(k, je) : Oe === "dangerouslySetInnerHTML" ? Bt(k, je) : Oe === "children" ? Ae(k, je) : Y(k, Oe, je, he);
|
|
7073
7073
|
}
|
|
7074
7074
|
switch (z) {
|
|
7075
7075
|
case "input":
|
|
7076
|
-
Qt(k,
|
|
7076
|
+
Qt(k, S);
|
|
7077
7077
|
break;
|
|
7078
7078
|
case "textarea":
|
|
7079
|
-
be(k,
|
|
7079
|
+
be(k, S);
|
|
7080
7080
|
break;
|
|
7081
7081
|
case "select":
|
|
7082
7082
|
var Le = k._wrapperState.wasMultiple;
|
|
7083
|
-
k._wrapperState.wasMultiple = !!
|
|
7084
|
-
var ct =
|
|
7085
|
-
ct != null ? wr(k, !!
|
|
7083
|
+
k._wrapperState.wasMultiple = !!S.multiple;
|
|
7084
|
+
var ct = S.value;
|
|
7085
|
+
ct != null ? wr(k, !!S.multiple, ct, !1) : Le !== !!S.multiple && (S.defaultValue != null ? wr(
|
|
7086
7086
|
k,
|
|
7087
|
-
!!
|
|
7088
|
-
|
|
7087
|
+
!!S.multiple,
|
|
7088
|
+
S.defaultValue,
|
|
7089
7089
|
!0
|
|
7090
|
-
) : wr(k, !!
|
|
7090
|
+
) : wr(k, !!S.multiple, S.multiple ? [] : "", !1));
|
|
7091
7091
|
}
|
|
7092
|
-
k[bo] =
|
|
7092
|
+
k[bo] = S;
|
|
7093
7093
|
} catch (wt) {
|
|
7094
7094
|
Nr(a, a.return, wt);
|
|
7095
7095
|
}
|
|
@@ -7098,9 +7098,9 @@ Error generating stack: ` + D.message + `
|
|
|
7098
7098
|
case 6:
|
|
7099
7099
|
if (Xo(i, a), Es(a), m & 4) {
|
|
7100
7100
|
if (a.stateNode === null) throw Error(o(162));
|
|
7101
|
-
k = a.stateNode,
|
|
7101
|
+
k = a.stateNode, S = a.memoizedProps;
|
|
7102
7102
|
try {
|
|
7103
|
-
k.nodeValue =
|
|
7103
|
+
k.nodeValue = S;
|
|
7104
7104
|
} catch (wt) {
|
|
7105
7105
|
Nr(a, a.return, wt);
|
|
7106
7106
|
}
|
|
@@ -7117,7 +7117,7 @@ Error generating stack: ` + D.message + `
|
|
|
7117
7117
|
Xo(i, a), Es(a);
|
|
7118
7118
|
break;
|
|
7119
7119
|
case 13:
|
|
7120
|
-
Xo(i, a), Es(a), k = a.child, k.flags & 8192 && (
|
|
7120
|
+
Xo(i, a), Es(a), k = a.child, k.flags & 8192 && (S = k.memoizedState !== null, k.stateNode.isHidden = S, !S || k.alternate !== null && k.alternate.memoizedState !== null || (vg = Xt())), m & 4 && il(a);
|
|
7121
7121
|
break;
|
|
7122
7122
|
case 22:
|
|
7123
7123
|
if (Oe = c !== null && c.memoizedState !== null, a.mode & 1 ? (Zr = (he = Zr) || Oe, Xo(i, a), Zr = he) : Xo(i, a), Es(a), m & 8192) {
|
|
@@ -7160,7 +7160,7 @@ Error generating stack: ` + D.message + `
|
|
|
7160
7160
|
if (Oe === null) {
|
|
7161
7161
|
Oe = je;
|
|
7162
7162
|
try {
|
|
7163
|
-
k = je.stateNode, he ? (
|
|
7163
|
+
k = je.stateNode, he ? (S = k.style, typeof S.setProperty == "function" ? S.setProperty("display", "none", "important") : S.display = "none") : (z = je.stateNode, Q = je.memoizedProps.style, $ = Q != null && Q.hasOwnProperty("display") ? Q.display : null, z.style.display = zt("display", $));
|
|
7164
7164
|
} catch (wt) {
|
|
7165
7165
|
Nr(a, a.return, wt);
|
|
7166
7166
|
}
|
|
@@ -7214,8 +7214,8 @@ Error generating stack: ` + D.message + `
|
|
|
7214
7214
|
case 5:
|
|
7215
7215
|
var k = m.stateNode;
|
|
7216
7216
|
m.flags & 32 && (Ae(k, ""), m.flags &= -33);
|
|
7217
|
-
var
|
|
7218
|
-
Cs(a,
|
|
7217
|
+
var S = Th(a);
|
|
7218
|
+
Cs(a, S, k);
|
|
7219
7219
|
break;
|
|
7220
7220
|
case 3:
|
|
7221
7221
|
case 4:
|
|
@@ -7237,7 +7237,7 @@ Error generating stack: ` + D.message + `
|
|
|
7237
7237
|
}
|
|
7238
7238
|
function Sd(a, i, c) {
|
|
7239
7239
|
for (var m = (a.mode & 1) !== 0; ht !== null; ) {
|
|
7240
|
-
var k = ht,
|
|
7240
|
+
var k = ht, S = k.child;
|
|
7241
7241
|
if (k.tag === 22 && m) {
|
|
7242
7242
|
var $ = k.memoizedState !== null || Gp;
|
|
7243
7243
|
if (!$) {
|
|
@@ -7245,11 +7245,11 @@ Error generating stack: ` + D.message + `
|
|
|
7245
7245
|
z = Gp;
|
|
7246
7246
|
var he = Zr;
|
|
7247
7247
|
if (Gp = $, (Zr = Q) && !he) for (ht = k; ht !== null; ) $ = ht, Q = $.child, $.tag === 22 && $.memoizedState !== null ? Ny(k) : Q !== null ? (Q.return = $, ht = Q) : Ny(k);
|
|
7248
|
-
for (;
|
|
7248
|
+
for (; S !== null; ) ht = S, Sd(S), S = S.sibling;
|
|
7249
7249
|
ht = k, Gp = z, Zr = he;
|
|
7250
7250
|
}
|
|
7251
7251
|
Fy(a);
|
|
7252
|
-
} else k.subtreeFlags & 8772 &&
|
|
7252
|
+
} else k.subtreeFlags & 8772 && S !== null ? (S.return = k, ht = S) : Fy(a);
|
|
7253
7253
|
}
|
|
7254
7254
|
}
|
|
7255
7255
|
function Fy(a) {
|
|
@@ -7271,8 +7271,8 @@ Error generating stack: ` + D.message + `
|
|
|
7271
7271
|
var k = i.elementType === i.type ? c.memoizedProps : Oi(i.type, c.memoizedProps);
|
|
7272
7272
|
m.componentDidUpdate(k, c.memoizedState, m.__reactInternalSnapshotBeforeUpdate);
|
|
7273
7273
|
}
|
|
7274
|
-
var
|
|
7275
|
-
|
|
7274
|
+
var S = i.updateQueue;
|
|
7275
|
+
S !== null && ph(i, S, m);
|
|
7276
7276
|
break;
|
|
7277
7277
|
case 3:
|
|
7278
7278
|
var $ = i.updateQueue;
|
|
@@ -7388,11 +7388,11 @@ Error generating stack: ` + D.message + `
|
|
|
7388
7388
|
Nr(i, k, Q);
|
|
7389
7389
|
}
|
|
7390
7390
|
}
|
|
7391
|
-
var
|
|
7391
|
+
var S = i.return;
|
|
7392
7392
|
try {
|
|
7393
7393
|
fg(i);
|
|
7394
7394
|
} catch (Q) {
|
|
7395
|
-
Nr(i,
|
|
7395
|
+
Nr(i, S, Q);
|
|
7396
7396
|
}
|
|
7397
7397
|
break;
|
|
7398
7398
|
case 5:
|
|
@@ -7471,7 +7471,7 @@ Error generating stack: ` + D.message + `
|
|
|
7471
7471
|
i = m;
|
|
7472
7472
|
var k = cn;
|
|
7473
7473
|
cn |= 2;
|
|
7474
|
-
var
|
|
7474
|
+
var S = Rh();
|
|
7475
7475
|
(xr !== a || la !== i) && (sl = null, Ed = Xt() + 500, uc(a, i));
|
|
7476
7476
|
do
|
|
7477
7477
|
try {
|
|
@@ -7481,13 +7481,13 @@ Error generating stack: ` + D.message + `
|
|
|
7481
7481
|
Py(a, z);
|
|
7482
7482
|
}
|
|
7483
7483
|
while (!0);
|
|
7484
|
-
Ua(), Zp.current =
|
|
7484
|
+
Ua(), Zp.current = S, cn = k, Fr !== null ? i = 0 : (xr = null, la = 0, i = Xr);
|
|
7485
7485
|
}
|
|
7486
7486
|
if (i !== 0) {
|
|
7487
7487
|
if (i === 2 && (k = ls(a), k !== 0 && (m = k, i = yg(a, k))), i === 1) throw c = Xp, uc(a, 0), Co(a, m), Ka(a, Xt()), c;
|
|
7488
7488
|
if (i === 6) Co(a, m);
|
|
7489
7489
|
else {
|
|
7490
|
-
if (k = a.current.alternate, !(m & 30) && !bg(k) && (i = Oh(a, m), i === 2 && (
|
|
7490
|
+
if (k = a.current.alternate, !(m & 30) && !bg(k) && (i = Oh(a, m), i === 2 && (S = ls(a), S !== 0 && (m = S, i = yg(a, S))), i === 1)) throw c = Xp, uc(a, 0), Co(a, m), Ka(a, Xt()), c;
|
|
7491
7491
|
switch (a.finishedWork = k, a.finishedLanes = m, i) {
|
|
7492
7492
|
case 0:
|
|
7493
7493
|
case 1:
|
|
@@ -7511,7 +7511,7 @@ Error generating stack: ` + D.message + `
|
|
|
7511
7511
|
if (Co(a, m), (m & 4194240) === m) break;
|
|
7512
7512
|
for (i = a.eventTimes, k = -1; 0 < m; ) {
|
|
7513
7513
|
var $ = 31 - Gr(m);
|
|
7514
|
-
|
|
7514
|
+
S = 1 << $, $ = i[$], $ > k && (k = $), m &= ~S;
|
|
7515
7515
|
}
|
|
7516
7516
|
if (m = k, m = Xt() - m, m = (120 > m ? 120 : 480 > m ? 480 : 1080 > m ? 1080 : 1920 > m ? 1920 : 3e3 > m ? 3e3 : 4320 > m ? 4320 : 1960 * Ah(m / 1960)) - m, 10 < m) {
|
|
7517
7517
|
a.timeoutHandle = si(cc.bind(null, a, ci, sl), m);
|
|
@@ -7541,10 +7541,10 @@ Error generating stack: ` + D.message + `
|
|
|
7541
7541
|
if (i.flags & 16384) {
|
|
7542
7542
|
var c = i.updateQueue;
|
|
7543
7543
|
if (c !== null && (c = c.stores, c !== null)) for (var m = 0; m < c.length; m++) {
|
|
7544
|
-
var k = c[m],
|
|
7544
|
+
var k = c[m], S = k.getSnapshot;
|
|
7545
7545
|
k = k.value;
|
|
7546
7546
|
try {
|
|
7547
|
-
if (!aa(
|
|
7547
|
+
if (!aa(S(), k)) return !1;
|
|
7548
7548
|
} catch {
|
|
7549
7549
|
return !1;
|
|
7550
7550
|
}
|
|
@@ -7641,10 +7641,10 @@ Error generating stack: ` + D.message + `
|
|
|
7641
7641
|
if (xr = a, Fr = a = ou(a.current, null), la = ro = i, Xr = 0, Xp = null, Cd = Fh = ol = 0, ci = ic = null, tl !== null) {
|
|
7642
7642
|
for (i = 0; i < tl.length; i++) if (c = tl[i], m = c.interleaved, m !== null) {
|
|
7643
7643
|
c.interleaved = null;
|
|
7644
|
-
var k = m.next,
|
|
7645
|
-
if (
|
|
7646
|
-
var $ =
|
|
7647
|
-
|
|
7644
|
+
var k = m.next, S = c.pending;
|
|
7645
|
+
if (S !== null) {
|
|
7646
|
+
var $ = S.next;
|
|
7647
|
+
S.next = k, m.next = $;
|
|
7648
7648
|
}
|
|
7649
7649
|
c.pending = m;
|
|
7650
7650
|
}
|
|
@@ -7668,7 +7668,7 @@ Error generating stack: ` + D.message + `
|
|
|
7668
7668
|
break;
|
|
7669
7669
|
}
|
|
7670
7670
|
e: {
|
|
7671
|
-
var
|
|
7671
|
+
var S = a, $ = c.return, z = c, Q = i;
|
|
7672
7672
|
if (i = la, z.flags |= 32768, Q !== null && typeof Q == "object" && typeof Q.then == "function") {
|
|
7673
7673
|
var he = Q, Oe = z, je = Oe.tag;
|
|
7674
7674
|
if (!(Oe.mode & 1) && (je === 0 || je === 11 || je === 15)) {
|
|
@@ -7677,7 +7677,7 @@ Error generating stack: ` + D.message + `
|
|
|
7677
7677
|
}
|
|
7678
7678
|
var ct = wy($);
|
|
7679
7679
|
if (ct !== null) {
|
|
7680
|
-
ct.flags &= -257, og(ct, $, z,
|
|
7680
|
+
ct.flags &= -257, og(ct, $, z, S, i), ct.mode & 1 && qp(S, he, i), i = ct, Q = he;
|
|
7681
7681
|
var vt = i.updateQueue;
|
|
7682
7682
|
if (vt === null) {
|
|
7683
7683
|
var wt = /* @__PURE__ */ new Set();
|
|
@@ -7686,7 +7686,7 @@ Error generating stack: ` + D.message + `
|
|
|
7686
7686
|
break e;
|
|
7687
7687
|
} else {
|
|
7688
7688
|
if (!(i & 1)) {
|
|
7689
|
-
qp(
|
|
7689
|
+
qp(S, he, i), wg();
|
|
7690
7690
|
break e;
|
|
7691
7691
|
}
|
|
7692
7692
|
Q = Error(o(426));
|
|
@@ -7694,30 +7694,30 @@ Error generating stack: ` + D.message + `
|
|
|
7694
7694
|
} else if (Wn && z.mode & 1) {
|
|
7695
7695
|
var jr = wy($);
|
|
7696
7696
|
if (jr !== null) {
|
|
7697
|
-
!(jr.flags & 65536) && (jr.flags |= 256), og(jr, $, z,
|
|
7697
|
+
!(jr.flags & 65536) && (jr.flags |= 256), og(jr, $, z, S, i), rd(tu(Q, z));
|
|
7698
7698
|
break e;
|
|
7699
7699
|
}
|
|
7700
7700
|
}
|
|
7701
|
-
|
|
7701
|
+
S = Q = tu(Q, z), Xr !== 4 && (Xr = 2), ic === null ? ic = [S] : ic.push(S), S = $;
|
|
7702
7702
|
do {
|
|
7703
|
-
switch (
|
|
7703
|
+
switch (S.tag) {
|
|
7704
7704
|
case 3:
|
|
7705
|
-
|
|
7706
|
-
var ie = by(
|
|
7707
|
-
dh(
|
|
7705
|
+
S.flags |= 65536, i &= -i, S.lanes |= i;
|
|
7706
|
+
var ie = by(S, Q, i);
|
|
7707
|
+
dh(S, ie);
|
|
7708
7708
|
break e;
|
|
7709
7709
|
case 1:
|
|
7710
7710
|
z = Q;
|
|
7711
|
-
var ee =
|
|
7712
|
-
if (!(
|
|
7713
|
-
|
|
7714
|
-
var He = ky(
|
|
7715
|
-
dh(
|
|
7711
|
+
var ee = S.type, ue = S.stateNode;
|
|
7712
|
+
if (!(S.flags & 128) && (typeof ee.getDerivedStateFromError == "function" || ue !== null && typeof ue.componentDidCatch == "function" && (_s === null || !_s.has(ue)))) {
|
|
7713
|
+
S.flags |= 65536, i &= -i, S.lanes |= i;
|
|
7714
|
+
var He = ky(S, z, i);
|
|
7715
|
+
dh(S, He);
|
|
7716
7716
|
break e;
|
|
7717
7717
|
}
|
|
7718
7718
|
}
|
|
7719
|
-
|
|
7720
|
-
} while (
|
|
7719
|
+
S = S.return;
|
|
7720
|
+
} while (S !== null);
|
|
7721
7721
|
}
|
|
7722
7722
|
Dg(c);
|
|
7723
7723
|
} catch (xt) {
|
|
@@ -7805,19 +7805,19 @@ Error generating stack: ` + D.message + `
|
|
|
7805
7805
|
if (c === null) return null;
|
|
7806
7806
|
if (a.finishedWork = null, a.finishedLanes = 0, c === a.current) throw Error(o(177));
|
|
7807
7807
|
a.callbackNode = null, a.callbackPriority = 0;
|
|
7808
|
-
var
|
|
7809
|
-
if (cp(a,
|
|
7808
|
+
var S = c.lanes | c.childLanes;
|
|
7809
|
+
if (cp(a, S), a === xr && (Fr = xr = null, la = 0), !(c.subtreeFlags & 2064) && !(c.flags & 2064) || ru || (ru = !0, Sg(Di, function() {
|
|
7810
7810
|
return Fd(), null;
|
|
7811
|
-
})),
|
|
7812
|
-
|
|
7811
|
+
})), S = (c.flags & 15990) !== 0, c.subtreeFlags & 15990 || S) {
|
|
7812
|
+
S = Ya.transition, Ya.transition = null;
|
|
7813
7813
|
var $ = kn;
|
|
7814
7814
|
kn = 1;
|
|
7815
7815
|
var z = cn;
|
|
7816
|
-
cn |= 4, gg.current = null, Ey(a, c), Ty(c, a), Gc(ys), xi = !!Jc, ys = Jc = null, a.current = c, Ay(c), Dr(), cn = z, kn = $, Ya.transition =
|
|
7816
|
+
cn |= 4, gg.current = null, Ey(a, c), Ty(c, a), Gc(ys), xi = !!Jc, ys = Jc = null, a.current = c, Ay(c), Dr(), cn = z, kn = $, Ya.transition = S;
|
|
7817
7817
|
} else a.current = c;
|
|
7818
|
-
if (ru && (ru = !1, au = a, $h = k),
|
|
7818
|
+
if (ru && (ru = !1, au = a, $h = k), S = a.pendingLanes, S === 0 && (_s = null), _l(c.stateNode), Ka(a, Xt()), i !== null) for (m = a.onRecoverableError, c = 0; c < i.length; c++) k = i[c], m(k.value, { componentStack: k.stack, digest: k.digest });
|
|
7819
7819
|
if (Nh) throw Nh = !1, a = oc, oc = null, a;
|
|
7820
|
-
return $h & 1 && a.tag !== 0 && Fd(),
|
|
7820
|
+
return $h & 1 && a.tag !== 0 && Fd(), S = a.pendingLanes, S & 1 ? a === Ph ? _d++ : (_d = 0, Ph = a) : _d = 0, ja(), null;
|
|
7821
7821
|
}
|
|
7822
7822
|
function Fd() {
|
|
7823
7823
|
if (au !== null) {
|
|
@@ -7828,9 +7828,9 @@ Error generating stack: ` + D.message + `
|
|
|
7828
7828
|
if (a = au, au = null, $h = 0, cn & 6) throw Error(o(331));
|
|
7829
7829
|
var k = cn;
|
|
7830
7830
|
for (cn |= 4, ht = a.current; ht !== null; ) {
|
|
7831
|
-
var
|
|
7831
|
+
var S = ht, $ = S.child;
|
|
7832
7832
|
if (ht.flags & 16) {
|
|
7833
|
-
var z =
|
|
7833
|
+
var z = S.deletions;
|
|
7834
7834
|
if (z !== null) {
|
|
7835
7835
|
for (var Q = 0; Q < z.length; Q++) {
|
|
7836
7836
|
var he = z[Q];
|
|
@@ -7840,7 +7840,7 @@ Error generating stack: ` + D.message + `
|
|
|
7840
7840
|
case 0:
|
|
7841
7841
|
case 11:
|
|
7842
7842
|
case 15:
|
|
7843
|
-
Qp(8, Oe,
|
|
7843
|
+
Qp(8, Oe, S);
|
|
7844
7844
|
}
|
|
7845
7845
|
var je = Oe.child;
|
|
7846
7846
|
if (je !== null) je.return = Oe, ht = je;
|
|
@@ -7859,7 +7859,7 @@ Error generating stack: ` + D.message + `
|
|
|
7859
7859
|
}
|
|
7860
7860
|
}
|
|
7861
7861
|
}
|
|
7862
|
-
var vt =
|
|
7862
|
+
var vt = S.alternate;
|
|
7863
7863
|
if (vt !== null) {
|
|
7864
7864
|
var wt = vt.child;
|
|
7865
7865
|
if (wt !== null) {
|
|
@@ -7870,23 +7870,23 @@ Error generating stack: ` + D.message + `
|
|
|
7870
7870
|
} while (wt !== null);
|
|
7871
7871
|
}
|
|
7872
7872
|
}
|
|
7873
|
-
ht =
|
|
7873
|
+
ht = S;
|
|
7874
7874
|
}
|
|
7875
7875
|
}
|
|
7876
|
-
if (
|
|
7876
|
+
if (S.subtreeFlags & 2064 && $ !== null) $.return = S, ht = $;
|
|
7877
7877
|
else e: for (; ht !== null; ) {
|
|
7878
|
-
if (
|
|
7878
|
+
if (S = ht, S.flags & 2048) switch (S.tag) {
|
|
7879
7879
|
case 0:
|
|
7880
7880
|
case 11:
|
|
7881
7881
|
case 15:
|
|
7882
|
-
Qp(9,
|
|
7882
|
+
Qp(9, S, S.return);
|
|
7883
7883
|
}
|
|
7884
|
-
var ie =
|
|
7884
|
+
var ie = S.sibling;
|
|
7885
7885
|
if (ie !== null) {
|
|
7886
|
-
ie.return =
|
|
7886
|
+
ie.return = S.return, ht = ie;
|
|
7887
7887
|
break e;
|
|
7888
7888
|
}
|
|
7889
|
-
ht =
|
|
7889
|
+
ht = S.return;
|
|
7890
7890
|
}
|
|
7891
7891
|
}
|
|
7892
7892
|
var ee = a.current;
|
|
@@ -7991,8 +7991,8 @@ Error generating stack: ` + D.message + `
|
|
|
7991
7991
|
Wa(a, i), a = i.pendingProps;
|
|
7992
7992
|
var k = Ai(i, At.current);
|
|
7993
7993
|
wo(i, c), k = De(null, i, m, a, k, c);
|
|
7994
|
-
var
|
|
7995
|
-
return i.flags |= 1, typeof k == "object" && k !== null && typeof k.render == "function" && k.$$typeof === void 0 ? (i.tag = 1, i.memoizedState = null, i.updateQueue = null, sr(m) ? (
|
|
7994
|
+
var S = _t();
|
|
7995
|
+
return i.flags |= 1, typeof k == "object" && k !== null && typeof k.render == "function" && k.$$typeof === void 0 ? (i.tag = 1, i.memoizedState = null, i.updateQueue = null, sr(m) ? (S = !0, ed(i)) : S = !1, i.memoizedState = k.state !== null && k.state !== void 0 ? k.state : null, od(i), k.updater = tc, i.stateNode = k, k._reactInternals = i, ag(i, m, a, c), i = xh(null, i, m, !0, S, c)) : (i.tag = 0, Wn && S && el(i), Br(null, i, k, c), i = i.child), i;
|
|
7996
7996
|
case 16:
|
|
7997
7997
|
m = i.elementType;
|
|
7998
7998
|
e: {
|
|
@@ -8024,9 +8024,9 @@ Error generating stack: ` + D.message + `
|
|
|
8024
8024
|
case 3:
|
|
8025
8025
|
e: {
|
|
8026
8026
|
if (Sy(i), a === null) throw Error(o(387));
|
|
8027
|
-
m = i.pendingProps,
|
|
8027
|
+
m = i.pendingProps, S = i.memoizedState, k = S.element, Kl(a, i), Zl(i, m, null, c);
|
|
8028
8028
|
var $ = i.memoizedState;
|
|
8029
|
-
if (m = $.element,
|
|
8029
|
+
if (m = $.element, S.isDehydrated) if (S = { element: m, isDehydrated: !1, cache: $.cache, pendingSuspenseBoundaries: $.pendingSuspenseBoundaries, transitions: $.transitions }, i.updateQueue.baseState = S, i.memoizedState = S, i.flags & 256) {
|
|
8030
8030
|
k = tu(Error(o(423)), i), i = Ch(a, i, m, c, k);
|
|
8031
8031
|
break e;
|
|
8032
8032
|
} else if (m !== k) {
|
|
@@ -8044,7 +8044,7 @@ Error generating stack: ` + D.message + `
|
|
|
8044
8044
|
}
|
|
8045
8045
|
return i;
|
|
8046
8046
|
case 5:
|
|
8047
|
-
return Zu(i), a === null && nd(i), m = i.type, k = i.pendingProps,
|
|
8047
|
+
return Zu(i), a === null && nd(i), m = i.type, k = i.pendingProps, S = a !== null ? a.memoizedProps : null, $ = k.children, Wl(m, k) ? $ = null : S !== null && Wl(m, S) && (i.flags |= 32), nc(a, i), Br(a, i, $, c), i.child;
|
|
8048
8048
|
case 6:
|
|
8049
8049
|
return a === null && nd(i), null;
|
|
8050
8050
|
case 13:
|
|
@@ -8061,28 +8061,28 @@ Error generating stack: ` + D.message + `
|
|
|
8061
8061
|
return Br(a, i, i.pendingProps.children, c), i.child;
|
|
8062
8062
|
case 10:
|
|
8063
8063
|
e: {
|
|
8064
|
-
if (m = i.type._context, k = i.pendingProps,
|
|
8065
|
-
if (
|
|
8064
|
+
if (m = i.type._context, k = i.pendingProps, S = i.memoizedProps, $ = k.value, pn(ko, m._currentValue), m._currentValue = $, S !== null) if (aa(S.value, $)) {
|
|
8065
|
+
if (S.children === k.children && !br.current) {
|
|
8066
8066
|
i = Da(a, i, c);
|
|
8067
8067
|
break e;
|
|
8068
8068
|
}
|
|
8069
|
-
} else for (
|
|
8070
|
-
var z =
|
|
8069
|
+
} else for (S = i.child, S !== null && (S.return = i); S !== null; ) {
|
|
8070
|
+
var z = S.dependencies;
|
|
8071
8071
|
if (z !== null) {
|
|
8072
|
-
$ =
|
|
8072
|
+
$ = S.child;
|
|
8073
8073
|
for (var Q = z.firstContext; Q !== null; ) {
|
|
8074
8074
|
if (Q.context === m) {
|
|
8075
|
-
if (
|
|
8075
|
+
if (S.tag === 1) {
|
|
8076
8076
|
Q = Ha(-1, c & -c), Q.tag = 2;
|
|
8077
|
-
var he =
|
|
8077
|
+
var he = S.updateQueue;
|
|
8078
8078
|
if (he !== null) {
|
|
8079
8079
|
he = he.shared;
|
|
8080
8080
|
var Oe = he.pending;
|
|
8081
8081
|
Oe === null ? Q.next = Q : (Q.next = Oe.next, Oe.next = Q), he.pending = Q;
|
|
8082
8082
|
}
|
|
8083
8083
|
}
|
|
8084
|
-
|
|
8085
|
-
|
|
8084
|
+
S.lanes |= c, Q = S.alternate, Q !== null && (Q.lanes |= c), Ip(
|
|
8085
|
+
S.return,
|
|
8086
8086
|
c,
|
|
8087
8087
|
i
|
|
8088
8088
|
), z.lanes |= c;
|
|
@@ -8090,24 +8090,24 @@ Error generating stack: ` + D.message + `
|
|
|
8090
8090
|
}
|
|
8091
8091
|
Q = Q.next;
|
|
8092
8092
|
}
|
|
8093
|
-
} else if (
|
|
8094
|
-
else if (
|
|
8095
|
-
if ($ =
|
|
8096
|
-
$.lanes |= c, z = $.alternate, z !== null && (z.lanes |= c), Ip($, c, i), $ =
|
|
8097
|
-
} else $ =
|
|
8098
|
-
if ($ !== null) $.return =
|
|
8099
|
-
else for ($ =
|
|
8093
|
+
} else if (S.tag === 10) $ = S.type === i.type ? null : S.child;
|
|
8094
|
+
else if (S.tag === 18) {
|
|
8095
|
+
if ($ = S.return, $ === null) throw Error(o(341));
|
|
8096
|
+
$.lanes |= c, z = $.alternate, z !== null && (z.lanes |= c), Ip($, c, i), $ = S.sibling;
|
|
8097
|
+
} else $ = S.child;
|
|
8098
|
+
if ($ !== null) $.return = S;
|
|
8099
|
+
else for ($ = S; $ !== null; ) {
|
|
8100
8100
|
if ($ === i) {
|
|
8101
8101
|
$ = null;
|
|
8102
8102
|
break;
|
|
8103
8103
|
}
|
|
8104
|
-
if (
|
|
8105
|
-
|
|
8104
|
+
if (S = $.sibling, S !== null) {
|
|
8105
|
+
S.return = $.return, $ = S;
|
|
8106
8106
|
break;
|
|
8107
8107
|
}
|
|
8108
8108
|
$ = $.return;
|
|
8109
8109
|
}
|
|
8110
|
-
|
|
8110
|
+
S = $;
|
|
8111
8111
|
}
|
|
8112
8112
|
Br(a, i, k.children, c), i = i.child;
|
|
8113
8113
|
}
|
|
@@ -8151,24 +8151,24 @@ Error generating stack: ` + D.message + `
|
|
|
8151
8151
|
var c = a.alternate;
|
|
8152
8152
|
return c === null ? (c = Eo(a.tag, i, a.key, a.mode), c.elementType = a.elementType, c.type = a.type, c.stateNode = a.stateNode, c.alternate = a, a.alternate = c) : (c.pendingProps = i, c.type = a.type, c.flags = 0, c.subtreeFlags = 0, c.deletions = null), c.flags = a.flags & 14680064, c.childLanes = a.childLanes, c.lanes = a.lanes, c.child = a.child, c.memoizedProps = a.memoizedProps, c.memoizedState = a.memoizedState, c.updateQueue = a.updateQueue, i = a.dependencies, c.dependencies = i === null ? null : { lanes: i.lanes, firstContext: i.firstContext }, c.sibling = a.sibling, c.index = a.index, c.ref = a.ref, c;
|
|
8153
8153
|
}
|
|
8154
|
-
function Bh(a, i, c, m, k,
|
|
8154
|
+
function Bh(a, i, c, m, k, S) {
|
|
8155
8155
|
var $ = 2;
|
|
8156
8156
|
if (m = a, typeof a == "function") xg(a) && ($ = 1);
|
|
8157
8157
|
else if (typeof a == "string") $ = 5;
|
|
8158
8158
|
else e: switch (a) {
|
|
8159
8159
|
case oe:
|
|
8160
|
-
return dc(c.children, k,
|
|
8160
|
+
return dc(c.children, k, S, i);
|
|
8161
8161
|
case Te:
|
|
8162
8162
|
$ = 8, k |= 8;
|
|
8163
8163
|
break;
|
|
8164
8164
|
case ye:
|
|
8165
|
-
return a = Eo(12, c, i, k | 2), a.elementType = ye, a.lanes =
|
|
8165
|
+
return a = Eo(12, c, i, k | 2), a.elementType = ye, a.lanes = S, a;
|
|
8166
8166
|
case Fe:
|
|
8167
|
-
return a = Eo(13, c, i, k), a.elementType = Fe, a.lanes =
|
|
8167
|
+
return a = Eo(13, c, i, k), a.elementType = Fe, a.lanes = S, a;
|
|
8168
8168
|
case $e:
|
|
8169
|
-
return a = Eo(19, c, i, k), a.elementType = $e, a.lanes =
|
|
8169
|
+
return a = Eo(19, c, i, k), a.elementType = $e, a.lanes = S, a;
|
|
8170
8170
|
case Be:
|
|
8171
|
-
return ef(c, k,
|
|
8171
|
+
return ef(c, k, S, i);
|
|
8172
8172
|
default:
|
|
8173
8173
|
if (typeof a == "object" && a !== null) switch (a.$$typeof) {
|
|
8174
8174
|
case qe:
|
|
@@ -8189,7 +8189,7 @@ Error generating stack: ` + D.message + `
|
|
|
8189
8189
|
}
|
|
8190
8190
|
throw Error(o(130, a == null ? a : typeof a, ""));
|
|
8191
8191
|
}
|
|
8192
|
-
return i = Eo($, c, i, k), i.elementType = a, i.type = m, i.lanes =
|
|
8192
|
+
return i = Eo($, c, i, k), i.elementType = a, i.type = m, i.lanes = S, i;
|
|
8193
8193
|
}
|
|
8194
8194
|
function dc(a, i, c, m) {
|
|
8195
8195
|
return a = Eo(7, a, m, i), a.lanes = c, a;
|
|
@@ -8206,8 +8206,8 @@ Error generating stack: ` + D.message + `
|
|
|
8206
8206
|
function gk(a, i, c, m, k) {
|
|
8207
8207
|
this.tag = i, this.containerInfo = a, this.finishedWork = this.pingCache = this.current = this.pendingChildren = null, this.timeoutHandle = -1, this.callbackNode = this.pendingContext = this.context = null, this.callbackPriority = 0, this.eventTimes = Hs(0), this.expirationTimes = Hs(-1), this.entangledLanes = this.finishedLanes = this.mutableReadLanes = this.expiredLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0, this.entanglements = Hs(0), this.identifierPrefix = m, this.onRecoverableError = k, this.mutableSourceEagerHydrationData = null;
|
|
8208
8208
|
}
|
|
8209
|
-
function jh(a, i, c, m, k,
|
|
8210
|
-
return a = new gk(a, i, c, z, Q), i === 1 ? (i = 1,
|
|
8209
|
+
function jh(a, i, c, m, k, S, $, z, Q) {
|
|
8210
|
+
return a = new gk(a, i, c, z, Q), i === 1 ? (i = 1, S === !0 && (i |= 8)) : i = 0, S = Eo(3, null, null, i), a.current = S, S.stateNode = a, S.memoizedState = { element: m, isDehydrated: c, cache: null, transitions: null, pendingSuspenseBoundaries: null }, od(S), a;
|
|
8211
8211
|
}
|
|
8212
8212
|
function By(a, i, c) {
|
|
8213
8213
|
var m = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
|
|
@@ -8240,12 +8240,12 @@ Error generating stack: ` + D.message + `
|
|
|
8240
8240
|
}
|
|
8241
8241
|
return i;
|
|
8242
8242
|
}
|
|
8243
|
-
function jy(a, i, c, m, k,
|
|
8244
|
-
return a = jh(c, m, !0, a, k,
|
|
8243
|
+
function jy(a, i, c, m, k, S, $, z, Q) {
|
|
8244
|
+
return a = jh(c, m, !0, a, k, S, $, z, Q), a.context = Cg(null), c = a.current, m = Ga(), k = qr(c), S = Ha(m, k), S.callback = i ?? null, Ss(c, S, k), a.current.lanes = k, oi(a, k, m), Ka(a, m), a;
|
|
8245
8245
|
}
|
|
8246
8246
|
function nf(a, i, c, m) {
|
|
8247
|
-
var k = i.current,
|
|
8248
|
-
return c = Cg(c), i.context === null ? i.context = c : i.pendingContext = c, i = Ha(
|
|
8247
|
+
var k = i.current, S = Ga(), $ = qr(k);
|
|
8248
|
+
return c = Cg(c), i.context === null ? i.context = c : i.pendingContext = c, i = Ha(S, $), i.payload = { element: a }, m = m === void 0 ? null : m, m !== null && (i.callback = m), a = Ss(k, i, $), a !== null && (Qa(a, k, $, S), sd(a, k, $)), $;
|
|
8249
8249
|
}
|
|
8250
8250
|
function Ih(a) {
|
|
8251
8251
|
if (a = a.current, !a.child) return null;
|
|
@@ -8310,10 +8310,10 @@ Error generating stack: ` + D.message + `
|
|
|
8310
8310
|
function vk(a, i, c, m, k) {
|
|
8311
8311
|
if (k) {
|
|
8312
8312
|
if (typeof m == "function") {
|
|
8313
|
-
var
|
|
8313
|
+
var S = m;
|
|
8314
8314
|
m = function() {
|
|
8315
8315
|
var he = Ih($);
|
|
8316
|
-
|
|
8316
|
+
S.call(he);
|
|
8317
8317
|
};
|
|
8318
8318
|
}
|
|
8319
8319
|
var $ = jy(i, m, a, 0, null, !1, !1, "", zy);
|
|
@@ -8333,9 +8333,9 @@ Error generating stack: ` + D.message + `
|
|
|
8333
8333
|
}), Q;
|
|
8334
8334
|
}
|
|
8335
8335
|
function Uh(a, i, c, m, k) {
|
|
8336
|
-
var
|
|
8337
|
-
if (
|
|
8338
|
-
var $ =
|
|
8336
|
+
var S = c._reactRootContainer;
|
|
8337
|
+
if (S) {
|
|
8338
|
+
var $ = S;
|
|
8339
8339
|
if (typeof k == "function") {
|
|
8340
8340
|
var z = k;
|
|
8341
8341
|
k = function() {
|
|
@@ -8446,8 +8446,8 @@ Error generating stack: ` + D.message + `
|
|
|
8446
8446
|
return Uh(null, a, i, !0, c);
|
|
8447
8447
|
}, $o.hydrateRoot = function(a, i, c) {
|
|
8448
8448
|
if (!Tg(a)) throw Error(o(405));
|
|
8449
|
-
var m = c != null && c.hydratedSources || null, k = !1,
|
|
8450
|
-
if (c != null && (c.unstable_strictMode === !0 && (k = !0), c.identifierPrefix !== void 0 && (
|
|
8449
|
+
var m = c != null && c.hydratedSources || null, k = !1, S = "", $ = _g;
|
|
8450
|
+
if (c != null && (c.unstable_strictMode === !0 && (k = !0), c.identifierPrefix !== void 0 && (S = c.identifierPrefix), c.onRecoverableError !== void 0 && ($ = c.onRecoverableError)), i = jy(i, null, a, 1, c ?? null, k, !1, S, $), a[Qo] = i.current, ql(a), m) for (a = 0; a < m.length; a++) c = m[a], k = c._getVersion, k = k(c._source), i.mutableSourceEagerHydrationData == null ? i.mutableSourceEagerHydrationData = [c, k] : i.mutableSourceEagerHydrationData.push(
|
|
8451
8451
|
c,
|
|
8452
8452
|
k
|
|
8453
8453
|
);
|
|
@@ -8490,17 +8490,17 @@ function QO() {
|
|
|
8490
8490
|
if (!u) {
|
|
8491
8491
|
for (var t = arguments.length, s = new Array(t > 1 ? t - 1 : 0), l = 1; l < t; l++)
|
|
8492
8492
|
s[l - 1] = arguments[l];
|
|
8493
|
-
|
|
8493
|
+
D("warn", e, s);
|
|
8494
8494
|
}
|
|
8495
8495
|
}
|
|
8496
8496
|
function v(e) {
|
|
8497
8497
|
if (!u) {
|
|
8498
8498
|
for (var t = arguments.length, s = new Array(t > 1 ? t - 1 : 0), l = 1; l < t; l++)
|
|
8499
8499
|
s[l - 1] = arguments[l];
|
|
8500
|
-
|
|
8500
|
+
D("error", e, s);
|
|
8501
8501
|
}
|
|
8502
8502
|
}
|
|
8503
|
-
function
|
|
8503
|
+
function D(e, t, s) {
|
|
8504
8504
|
{
|
|
8505
8505
|
var l = o.ReactDebugCurrentFrame, p = l.getStackAddendum();
|
|
8506
8506
|
p !== "" && (t += "%s", s = s.concat([p]));
|
|
@@ -12612,9 +12612,9 @@ Check the render method of \`` + e + "`." : "";
|
|
|
12612
12612
|
}
|
|
12613
12613
|
function k(e) {
|
|
12614
12614
|
var t = [];
|
|
12615
|
-
a(t, c, e, Qc(e)), Xc(
|
|
12615
|
+
a(t, c, e, Qc(e)), Xc(S, t);
|
|
12616
12616
|
}
|
|
12617
|
-
function
|
|
12617
|
+
function S(e) {
|
|
12618
12618
|
iS(e, 0);
|
|
12619
12619
|
}
|
|
12620
12620
|
function $(e) {
|
|
@@ -21959,7 +21959,7 @@ const KO = (n) => {
|
|
|
21959
21959
|
};
|
|
21960
21960
|
(function() {
|
|
21961
21961
|
(function(n) {
|
|
21962
|
-
const r = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), u = /* @__PURE__ */ new WeakMap(), f = /* @__PURE__ */ new WeakMap(), g = /* @__PURE__ */ new WeakMap(), v = /* @__PURE__ */ new WeakMap(),
|
|
21962
|
+
const r = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), u = /* @__PURE__ */ new WeakMap(), f = /* @__PURE__ */ new WeakMap(), g = /* @__PURE__ */ new WeakMap(), v = /* @__PURE__ */ new WeakMap(), D = /* @__PURE__ */ new WeakMap(), C = /* @__PURE__ */ new WeakMap(), _ = /* @__PURE__ */ new WeakMap(), N = /* @__PURE__ */ new WeakMap(), P = /* @__PURE__ */ new WeakMap(), R = /* @__PURE__ */ new WeakMap(), B = /* @__PURE__ */ new WeakMap(), M = /* @__PURE__ */ new WeakMap(), V = /* @__PURE__ */ new WeakMap(), H = {
|
|
21963
21963
|
ariaAtomic: "aria-atomic",
|
|
21964
21964
|
ariaAutoComplete: "aria-autocomplete",
|
|
21965
21965
|
ariaBusy: "aria-busy",
|
|
@@ -22068,7 +22068,7 @@ const KO = (n) => {
|
|
|
22068
22068
|
Ae.localName === "fieldset" && ((Xe = U.observe) === null || Xe === void 0 || Xe.call(U, Ae, te), Y(Ae, !0));
|
|
22069
22069
|
}), Bt.forEach((Ae) => {
|
|
22070
22070
|
const Xe = f.get(Ae);
|
|
22071
|
-
Xe && u.get(Xe) && nt(Xe),
|
|
22071
|
+
Xe && u.get(Xe) && nt(Xe), D.has(Ae) && D.get(Ae).disconnect();
|
|
22072
22072
|
});
|
|
22073
22073
|
});
|
|
22074
22074
|
}
|
|
@@ -22414,7 +22414,7 @@ const KO = (n) => {
|
|
|
22414
22414
|
const St = fe.apply(this, Ee);
|
|
22415
22415
|
if (P.set(this, St), ut()) {
|
|
22416
22416
|
const Bt = new MutationObserver(re);
|
|
22417
|
-
window.ShadyDOM ? Bt.observe(this, ye) : Bt.observe(St, ye),
|
|
22417
|
+
window.ShadyDOM ? Bt.observe(this, ye) : Bt.observe(St, ye), D.set(this, Bt);
|
|
22418
22418
|
}
|
|
22419
22419
|
return St;
|
|
22420
22420
|
};
|
|
@@ -22599,13 +22599,13 @@ const { I: oL } = FO, IT = (n) => n.strings === void 0, r_ = () => document.crea
|
|
|
22599
22599
|
var u;
|
|
22600
22600
|
const f = n._$AA.parentNode, g = r === void 0 ? n._$AB : r._$AA;
|
|
22601
22601
|
if (o === void 0) {
|
|
22602
|
-
const v = f.insertBefore(r_(), g),
|
|
22603
|
-
o = new oL(v,
|
|
22602
|
+
const v = f.insertBefore(r_(), g), D = f.insertBefore(r_(), g);
|
|
22603
|
+
o = new oL(v, D, n, n.options);
|
|
22604
22604
|
} else {
|
|
22605
|
-
const v = o._$AB.nextSibling,
|
|
22605
|
+
const v = o._$AB.nextSibling, D = o._$AM, C = D !== n;
|
|
22606
22606
|
if (C) {
|
|
22607
22607
|
let _;
|
|
22608
|
-
(u = o._$AQ) == null || u.call(o, n), o._$AM = n, o._$AP !== void 0 && (_ = n._$AU) !==
|
|
22608
|
+
(u = o._$AQ) == null || u.call(o, n), o._$AM = n, o._$AP !== void 0 && (_ = n._$AU) !== D._$AU && o._$AP(_);
|
|
22609
22609
|
}
|
|
22610
22610
|
if (v !== g || C) {
|
|
22611
22611
|
let _ = o._$AA;
|
|
@@ -22977,7 +22977,7 @@ function V0() {
|
|
|
22977
22977
|
}
|
|
22978
22978
|
function ty(n, r) {
|
|
22979
22979
|
var o, u, f, g;
|
|
22980
|
-
const v = V0(),
|
|
22980
|
+
const v = V0(), D = (r == null ? void 0 : r.weekStartsOn) ?? ((u = (o = r == null ? void 0 : r.locale) == null ? void 0 : o.options) == null ? void 0 : u.weekStartsOn) ?? v.weekStartsOn ?? ((g = (f = v.locale) == null ? void 0 : f.options) == null ? void 0 : g.weekStartsOn) ?? 0, C = jo(n, r == null ? void 0 : r.in), _ = C.getDay(), N = (_ < D ? 7 : 0) + _ - D;
|
|
22981
22981
|
return C.setDate(C.getDate() - N), C.setHours(0, 0, 0, 0), C;
|
|
22982
22982
|
}
|
|
22983
22983
|
function j0(n, r) {
|
|
@@ -22988,8 +22988,8 @@ function HT(n, r) {
|
|
|
22988
22988
|
f.setFullYear(u + 1, 0, 4), f.setHours(0, 0, 0, 0);
|
|
22989
22989
|
const g = j0(f), v = Sl(o, 0);
|
|
22990
22990
|
v.setFullYear(u, 0, 4), v.setHours(0, 0, 0, 0);
|
|
22991
|
-
const
|
|
22992
|
-
return o.getTime() >= g.getTime() ? u + 1 : o.getTime() >=
|
|
22991
|
+
const D = j0(v);
|
|
22992
|
+
return o.getTime() >= g.getTime() ? u + 1 : o.getTime() >= D.getTime() ? u : u - 1;
|
|
22993
22993
|
}
|
|
22994
22994
|
function o_(n) {
|
|
22995
22995
|
const r = jo(n), o = new Date(
|
|
@@ -23021,8 +23021,8 @@ function AL(n, r, o) {
|
|
|
23021
23021
|
void 0,
|
|
23022
23022
|
n,
|
|
23023
23023
|
r
|
|
23024
|
-
), g = s_(u), v = s_(f),
|
|
23025
|
-
return Math.round((
|
|
23024
|
+
), g = s_(u), v = s_(f), D = +g - o_(g), C = +v - o_(v);
|
|
23025
|
+
return Math.round((D - C) / CL);
|
|
23026
23026
|
}
|
|
23027
23027
|
function FL(n, r) {
|
|
23028
23028
|
const o = HT(n), u = Sl(n, 0);
|
|
@@ -23043,10 +23043,10 @@ function bw(n, r) {
|
|
|
23043
23043
|
let f = +o > +u;
|
|
23044
23044
|
const g = f ? +o : +u, v = f ? u : o;
|
|
23045
23045
|
v.setHours(0, 0, 0, 0);
|
|
23046
|
-
let
|
|
23046
|
+
let D = 1;
|
|
23047
23047
|
const C = [];
|
|
23048
23048
|
for (; +v <= g; )
|
|
23049
|
-
C.push(Sl(o, v)), v.setDate(v.getDate() +
|
|
23049
|
+
C.push(Sl(o, v)), v.setDate(v.getDate() + D), v.setHours(0, 0, 0, 0);
|
|
23050
23050
|
return f ? C.reverse() : C;
|
|
23051
23051
|
}
|
|
23052
23052
|
function RL(n, r) {
|
|
@@ -23167,11 +23167,11 @@ function Nv(n) {
|
|
|
23167
23167
|
const u = o != null && o.context ? String(o.context) : "standalone";
|
|
23168
23168
|
let f;
|
|
23169
23169
|
if (u === "formatting" && n.formattingValues) {
|
|
23170
|
-
const v = n.defaultFormattingWidth || n.defaultWidth,
|
|
23171
|
-
f = n.formattingValues[
|
|
23170
|
+
const v = n.defaultFormattingWidth || n.defaultWidth, D = o != null && o.width ? String(o.width) : v;
|
|
23171
|
+
f = n.formattingValues[D] || n.formattingValues[v];
|
|
23172
23172
|
} else {
|
|
23173
|
-
const v = n.defaultWidth,
|
|
23174
|
-
f = n.values[
|
|
23173
|
+
const v = n.defaultWidth, D = o != null && o.width ? String(o.width) : n.defaultWidth;
|
|
23174
|
+
f = n.values[D] || n.values[v];
|
|
23175
23175
|
}
|
|
23176
23176
|
const g = n.argumentCallback ? n.argumentCallback(r) : r;
|
|
23177
23177
|
return f[g];
|
|
@@ -23333,9 +23333,9 @@ function $v(n) {
|
|
|
23333
23333
|
const u = o.width, f = u && n.matchPatterns[u] || n.matchPatterns[n.defaultMatchWidth], g = r.match(f);
|
|
23334
23334
|
if (!g)
|
|
23335
23335
|
return null;
|
|
23336
|
-
const v = g[0],
|
|
23336
|
+
const v = g[0], D = u && n.parsePatterns[u] || n.parsePatterns[n.defaultParseWidth], C = Array.isArray(D) ? XL(D, (P) => P.test(v)) : (
|
|
23337
23337
|
// [TODO] -- I challenge you to fix the type
|
|
23338
|
-
ZL(
|
|
23338
|
+
ZL(D, (P) => P.test(v))
|
|
23339
23339
|
);
|
|
23340
23340
|
let _;
|
|
23341
23341
|
_ = n.valueCallback ? n.valueCallback(C) : C, _ = o.valueCallback ? (
|
|
@@ -23364,8 +23364,8 @@ function JL(n) {
|
|
|
23364
23364
|
if (!g) return null;
|
|
23365
23365
|
let v = n.valueCallback ? n.valueCallback(g[0]) : g[0];
|
|
23366
23366
|
v = o.valueCallback ? o.valueCallback(v) : v;
|
|
23367
|
-
const
|
|
23368
|
-
return { value: v, rest:
|
|
23367
|
+
const D = r.slice(f.length);
|
|
23368
|
+
return { value: v, rest: D };
|
|
23369
23369
|
};
|
|
23370
23370
|
}
|
|
23371
23371
|
const eB = /^(\d+)(th|st|nd|rd)?/i, tB = /\d+/i, nB = {
|
|
@@ -23494,17 +23494,17 @@ function mB(n, r) {
|
|
|
23494
23494
|
}
|
|
23495
23495
|
function WT(n, r) {
|
|
23496
23496
|
var o, u, f, g;
|
|
23497
|
-
const v = jo(n, r == null ? void 0 : r.in),
|
|
23498
|
-
N.setFullYear(
|
|
23497
|
+
const v = jo(n, r == null ? void 0 : r.in), D = v.getFullYear(), C = V0(), _ = (r == null ? void 0 : r.firstWeekContainsDate) ?? ((u = (o = r == null ? void 0 : r.locale) == null ? void 0 : o.options) == null ? void 0 : u.firstWeekContainsDate) ?? C.firstWeekContainsDate ?? ((g = (f = C.locale) == null ? void 0 : f.options) == null ? void 0 : g.firstWeekContainsDate) ?? 1, N = Sl((r == null ? void 0 : r.in) || n, 0);
|
|
23498
|
+
N.setFullYear(D + 1, 0, _), N.setHours(0, 0, 0, 0);
|
|
23499
23499
|
const P = ty(N, r), R = Sl((r == null ? void 0 : r.in) || n, 0);
|
|
23500
|
-
R.setFullYear(
|
|
23500
|
+
R.setFullYear(D, 0, _), R.setHours(0, 0, 0, 0);
|
|
23501
23501
|
const B = ty(R, r);
|
|
23502
|
-
return +v >= +P ?
|
|
23502
|
+
return +v >= +P ? D + 1 : +v >= +B ? D : D - 1;
|
|
23503
23503
|
}
|
|
23504
23504
|
function gB(n, r) {
|
|
23505
23505
|
var o, u, f, g;
|
|
23506
|
-
const v = V0(),
|
|
23507
|
-
return _.setFullYear(C, 0,
|
|
23506
|
+
const v = V0(), D = (r == null ? void 0 : r.firstWeekContainsDate) ?? ((u = (o = r == null ? void 0 : r.locale) == null ? void 0 : o.options) == null ? void 0 : u.firstWeekContainsDate) ?? v.firstWeekContainsDate ?? ((g = (f = v.locale) == null ? void 0 : f.options) == null ? void 0 : g.firstWeekContainsDate) ?? 1, C = WT(n, r), _ = Sl((r == null ? void 0 : r.in) || n, 0);
|
|
23507
|
+
return _.setFullYear(C, 0, D), _.setHours(0, 0, 0, 0), ty(_, r);
|
|
23508
23508
|
}
|
|
23509
23509
|
function VT(n, r) {
|
|
23510
23510
|
const o = jo(n, r == null ? void 0 : r.in), u = +ty(o, r) - +gB(o, r);
|
|
@@ -24141,7 +24141,7 @@ function CB(n, r, o) {
|
|
|
24141
24141
|
const EB = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, _B = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, TB = /^'([^]*?)'?$/, AB = /''/g, FB = /[a-zA-Z]/;
|
|
24142
24142
|
function NB(n, r, o) {
|
|
24143
24143
|
var u, f, g, v;
|
|
24144
|
-
const
|
|
24144
|
+
const D = V0(), C = D.locale ?? fB, _ = D.firstWeekContainsDate ?? ((f = (u = D.locale) == null ? void 0 : u.options) == null ? void 0 : f.firstWeekContainsDate) ?? 1, N = D.weekStartsOn ?? ((v = (g = D.locale) == null ? void 0 : g.options) == null ? void 0 : v.weekStartsOn) ?? 0, P = jo(n, void 0);
|
|
24145
24145
|
if (!$L(P))
|
|
24146
24146
|
throw new RangeError("Invalid time value");
|
|
24147
24147
|
let R = r.match(_B).map((M) => {
|
|
@@ -24258,9 +24258,9 @@ function GT(n) {
|
|
|
24258
24258
|
o.setUTCHours(o.getUTCHours() - 1);
|
|
24259
24259
|
const u = -(/* @__PURE__ */ new Date(+n)).getTimezoneOffset(), f = -(/* @__PURE__ */ new Date(+o)).getTimezoneOffset(), g = u - f, v = Date.prototype.getHours.apply(n) !== n.internal.getUTCHours();
|
|
24260
24260
|
g && v && n.internal.setUTCMinutes(n.internal.getUTCMinutes() + g);
|
|
24261
|
-
const
|
|
24262
|
-
|
|
24263
|
-
const C = Gv(n.timeZone, n), _ = -(/* @__PURE__ */ new Date(+n)).getTimezoneOffset() - C, N = C !== r, P = _ -
|
|
24261
|
+
const D = u - r;
|
|
24262
|
+
D && Date.prototype.setUTCMinutes.call(n, Date.prototype.getUTCMinutes.call(n) + D);
|
|
24263
|
+
const C = Gv(n.timeZone, n), _ = -(/* @__PURE__ */ new Date(+n)).getTimezoneOffset() - C, N = C !== r, P = _ - D;
|
|
24264
24264
|
if (N && P) {
|
|
24265
24265
|
Date.prototype.setUTCMinutes.call(n, Date.prototype.getUTCMinutes.call(n) + P);
|
|
24266
24266
|
const R = Gv(n.timeZone, n), B = C - R;
|
|
@@ -24507,18 +24507,18 @@ let er = class extends qi {
|
|
|
24507
24507
|
if (((u = r.target) == null ? void 0 : u.nodeName) === "INPUT" || ((f = r.target) == null ? void 0 : f.nodeName) === "SELECT" || ((g = r.target) == null ? void 0 : g.nodeName) === "BUTTON") return;
|
|
24508
24508
|
r.preventDefault(), this.focusedDate || this.focusOnCurrentDate();
|
|
24509
24509
|
const v = this.focusedDate ? da(this.focusedDate) : Zd(this.year, this.month, 1);
|
|
24510
|
-
let
|
|
24511
|
-
if (
|
|
24512
|
-
let C = this.querySelector(`div[data-date="${Za(
|
|
24510
|
+
let D = yw(v, o);
|
|
24511
|
+
if (D) {
|
|
24512
|
+
let C = this.querySelector(`div[data-date="${Za(D)}"]`);
|
|
24513
24513
|
if (C instanceof HTMLDivElement) {
|
|
24514
24514
|
if (C.dataset.disabled) {
|
|
24515
|
-
|
|
24516
|
-
let _ = this.querySelector(`div[data-date="${Za(
|
|
24515
|
+
D = yw(D, o);
|
|
24516
|
+
let _ = this.querySelector(`div[data-date="${Za(D)}"]`);
|
|
24517
24517
|
for (; _ && _ instanceof HTMLDivElement && _.dataset.disabled; )
|
|
24518
|
-
|
|
24518
|
+
D = yw(D, o), _ = this.querySelector(`div[data-date="${Za(D)}"]`);
|
|
24519
24519
|
C = _;
|
|
24520
24520
|
}
|
|
24521
|
-
C instanceof HTMLDivElement && !C.dataset.disabled && (this.focusedDate = Za(
|
|
24521
|
+
C instanceof HTMLDivElement && !C.dataset.disabled && (this.focusedDate = Za(D), C.focus());
|
|
24522
24522
|
}
|
|
24523
24523
|
}
|
|
24524
24524
|
}
|
|
@@ -24634,10 +24634,10 @@ let er = class extends qi {
|
|
|
24634
24634
|
}
|
|
24635
24635
|
renderDayView(r, o, u) {
|
|
24636
24636
|
var f;
|
|
24637
|
-
const g = Zd(this.year, this.month, r), v = Za(g),
|
|
24637
|
+
const g = Zd(this.year, this.month, r), v = Za(g), D = v === Za(o), C = this.selected.includes(v), _ = BB(g), N = this.isExcluded(u, g) || !C && this.multiple && this.maxMultiple > 0 && this.selected.length >= this.maxMultiple, P = this.focusedDate ? this.focusedDate === v && !N ? "0" : "-1" : !N && this.tabIndexSet === 0 || this.tabIndexSet === r ? "0" : "-1";
|
|
24638
24638
|
P === "0" && (this.tabIndexSet = r), this.selectableDates.push({ currentDateISO: v, isDisabled: N, tabindex: P });
|
|
24639
24639
|
const R = {
|
|
24640
|
-
"pkt-cal-today":
|
|
24640
|
+
"pkt-cal-today": D,
|
|
24641
24641
|
"pkt-cal-selected": C,
|
|
24642
24642
|
"pkt-cal-in-range": this.inRange[v],
|
|
24643
24643
|
"pkt-cal-excluded": this.isExcluded(u, g),
|
|
@@ -24670,7 +24670,7 @@ let er = class extends qi {
|
|
|
24670
24670
|
</td>`;
|
|
24671
24671
|
}
|
|
24672
24672
|
renderCalendarBody() {
|
|
24673
|
-
const r = da(), o = Zd(this.year, this.month, 1), u = Zd(this.year, this.month + 1, 0), f = (o.getDay() + 6) % 7, g = u.getDate(), v = Math.ceil((g + f) / 7),
|
|
24673
|
+
const r = da(), o = Zd(this.year, this.month, 1), u = Zd(this.year, this.month + 1, 0), f = (o.getDay() + 6) % 7, g = u.getDate(), v = Math.ceil((g + f) / 7), D = Zd(this.year, this.month, 0).getDate();
|
|
24674
24674
|
let C = 1;
|
|
24675
24675
|
this.week = VT(Zd(this.year, this.month, 1));
|
|
24676
24676
|
const _ = [];
|
|
@@ -24679,7 +24679,7 @@ let er = class extends qi {
|
|
|
24679
24679
|
this.weeknumbers && P.push(Qe`<td class="pkt-cal-week">${this.week}</td>`), this.week++;
|
|
24680
24680
|
for (let R = 1; R < 8; R++)
|
|
24681
24681
|
if (N === 0 && R < f + 1) {
|
|
24682
|
-
const B =
|
|
24682
|
+
const B = D - (f - R);
|
|
24683
24683
|
P.push(
|
|
24684
24684
|
Qe`<td class="pkt-cal-other">
|
|
24685
24685
|
<div
|
|
@@ -25363,12 +25363,12 @@ let yn = class extends qi {
|
|
|
25363
25363
|
return !0;
|
|
25364
25364
|
}
|
|
25365
25365
|
manageValidity(r) {
|
|
25366
|
-
var o, u, f, g, v,
|
|
25366
|
+
var o, u, f, g, v, D, C, _;
|
|
25367
25367
|
r && (this.required && !this.value ? this.internals.setValidity({ valueMissing: !0 }, kl.forms.messages.required, r) : (o = r.validity) != null && o.typeMismatch || (u = r.validity) != null && u.badInput ? this.internals.setValidity({ typeMismatch: !0 }, kl.forms.messages.invalid, r) : (f = r.validity) != null && f.patternMismatch ? this.internals.setValidity(
|
|
25368
25368
|
{ patternMismatch: !0 },
|
|
25369
25369
|
kl.forms.messages.invalidPattern,
|
|
25370
25370
|
r
|
|
25371
|
-
) : (g = r.validity) != null && g.tooShort || this.minlength && this.minlength > 0 && this.value.length < this.minlength ? this.internals.setValidity({ tooShort: !0 }, kl.forms.messages.tooShort, r) : (v = r.validity) != null && v.tooLong || this.maxlength && this.maxlength > 0 && this.value.length > this.maxlength ? this.internals.setValidity({ tooLong: !0 }, kl.forms.messages.tooLong, r) : (
|
|
25371
|
+
) : (g = r.validity) != null && g.tooShort || this.minlength && this.minlength > 0 && this.value.length < this.minlength ? this.internals.setValidity({ tooShort: !0 }, kl.forms.messages.tooShort, r) : (v = r.validity) != null && v.tooLong || this.maxlength && this.maxlength > 0 && this.value.length > this.maxlength ? this.internals.setValidity({ tooLong: !0 }, kl.forms.messages.tooLong, r) : (D = r.validity) != null && D.rangeUnderflow ? this.internals.setValidity(
|
|
25372
25372
|
{ rangeUnderflow: !0 },
|
|
25373
25373
|
kl.forms.messages.rangeUnderflow,
|
|
25374
25374
|
r
|
|
@@ -25631,7 +25631,7 @@ let $r = class extends qi {
|
|
|
25631
25631
|
"pkt-inputwrapper__legend": this.hasFieldset
|
|
25632
25632
|
}, g = this.ariaDescribedby ? this.ariaDescribedby : this.helptext ? `${this.forId}-helptext` : kt, v = () => this.optionalTag || this.requiredTag ? Qe`<span class=${$n(o)}
|
|
25633
25633
|
>${this.optionalTag ? this.optionalText : this.requiredTag ? this.requiredText : kt}</span
|
|
25634
|
-
>` : kt,
|
|
25634
|
+
>` : kt, D = () => this.useWrapper ? this.hasFieldset ? Qe`<legend class="pkt-inputwrapper__legend" id="${this.forId}-label">
|
|
25635
25635
|
${this.label} ${v()}
|
|
25636
25636
|
</legend>` : u ? Qe`<h2>${this.label} ${v()}</h2>` : Qe`<span>${this.label} ${v()}</span>` : Qe`<label
|
|
25637
25637
|
for="${this.forId}"
|
|
@@ -25665,7 +25665,7 @@ let $r = class extends qi {
|
|
|
25665
25665
|
<pkt-icon name="alert-error" class="pkt-alert__icon"></pkt-icon>
|
|
25666
25666
|
<div class="pkt-alert__text">${E0(this.errorMessage)}</div>
|
|
25667
25667
|
</div>` : kt, P = () => Qe`
|
|
25668
|
-
${
|
|
25668
|
+
${D()} ${C()}
|
|
25669
25669
|
${u ? Qe`<label for="${this.forId}" class="pkt-sr-only" aria-describedby="${g}"
|
|
25670
25670
|
>${this.label}</label
|
|
25671
25671
|
>` : kt}
|
|
@@ -25776,7 +25776,7 @@ const y_ = (n, r, o) => {
|
|
|
25776
25776
|
o === void 0 ? o = r : r !== void 0 && (u = r);
|
|
25777
25777
|
const f = [], g = [];
|
|
25778
25778
|
let v = 0;
|
|
25779
|
-
for (const
|
|
25779
|
+
for (const D of n) f[v] = u ? u(D, v) : v, g[v] = o(D, v), v++;
|
|
25780
25780
|
return { values: g, keys: f };
|
|
25781
25781
|
}
|
|
25782
25782
|
render(n, r, o) {
|
|
@@ -25785,15 +25785,15 @@ const y_ = (n, r, o) => {
|
|
|
25785
25785
|
update(n, [r, o, u]) {
|
|
25786
25786
|
const f = lL(n), { values: g, keys: v } = this.dt(r, o, u);
|
|
25787
25787
|
if (!Array.isArray(f)) return this.ut = v, g;
|
|
25788
|
-
const
|
|
25788
|
+
const D = this.ut ?? (this.ut = []), C = [];
|
|
25789
25789
|
let _, N, P = 0, R = f.length - 1, B = 0, M = g.length - 1;
|
|
25790
25790
|
for (; P <= R && B <= M; ) if (f[P] === null) P++;
|
|
25791
25791
|
else if (f[R] === null) R--;
|
|
25792
|
-
else if (
|
|
25793
|
-
else if (
|
|
25794
|
-
else if (
|
|
25795
|
-
else if (
|
|
25796
|
-
else if (_ === void 0 && (_ = y_(v, B, M), N = y_(
|
|
25792
|
+
else if (D[P] === v[B]) C[B] = Sf(f[P], g[B]), P++, B++;
|
|
25793
|
+
else if (D[R] === v[M]) C[M] = Sf(f[R], g[M]), R--, M--;
|
|
25794
|
+
else if (D[P] === v[M]) C[M] = Sf(f[P], g[M]), Fv(n, C[M + 1], f[P]), P++, M--;
|
|
25795
|
+
else if (D[R] === v[B]) C[B] = Sf(f[R], g[B]), Fv(n, f[P], f[R]), R--, B++;
|
|
25796
|
+
else if (_ === void 0 && (_ = y_(v, B, M), N = y_(D, P, R)), _.has(D[P])) if (_.has(D[R])) {
|
|
25797
25797
|
const V = N.get(v[B]), H = V !== void 0 ? f[V] : null;
|
|
25798
25798
|
if (H === null) {
|
|
25799
25799
|
const ge = Fv(n, f[P]);
|
|
@@ -26163,8 +26163,8 @@ let Vr = class extends yn {
|
|
|
26163
26163
|
this.strings.forms.messages.rangeOverflow,
|
|
26164
26164
|
o.target
|
|
26165
26165
|
);
|
|
26166
|
-
const
|
|
26167
|
-
|
|
26166
|
+
const D = ww(o.target.value);
|
|
26167
|
+
D && this._value[1] !== Za(D) && ((g = (f = this.calRef) == null ? void 0 : f.value) == null || g.handleDateSelect(D));
|
|
26168
26168
|
}
|
|
26169
26169
|
}}
|
|
26170
26170
|
@change=${(o) => {
|
|
@@ -26718,11 +26718,12 @@ let Du = class extends qi {
|
|
|
26718
26718
|
constructor() {
|
|
26719
26719
|
super(), this.headingText = "", this.removePadding = !1, this.hideCloseButton = xw.props.hideCloseButton.default, this.closeOnBackdropClick = xw.props.closeOnBackdropClick.default, this.closeButtonSkin = "blue", this.size = xw.props.size.default, this.defaultSlot = pr(), this.dialogRef = pr(), this._isOpen = !1, this.close = (r, o = !1) => {
|
|
26720
26720
|
var u;
|
|
26721
|
-
|
|
26721
|
+
if (!this._isOpen) return;
|
|
26722
|
+
this._isOpen = !1, document.body.classList.remove("pkt-modal--open");
|
|
26722
26723
|
const f = document.activeElement;
|
|
26723
26724
|
f && !this.isElementInViewport(f) && f.scrollIntoView({ behavior: "smooth", block: "nearest" }), this.dispatchEvent(
|
|
26724
26725
|
new CustomEvent("close", { detail: { origin: r }, bubbles: !0, composed: !0 })
|
|
26725
|
-
),
|
|
26726
|
+
), o || (u = this.dialogRef.value) == null || u.close(), this.requestUpdate();
|
|
26726
26727
|
}, this.showModal = (r) => {
|
|
26727
26728
|
var o;
|
|
26728
26729
|
this._isOpen = !0, (o = this.dialogRef.value) == null || o.showModal();
|
|
@@ -26736,12 +26737,10 @@ let Du = class extends qi {
|
|
|
26736
26737
|
}, this.slotController = new Bo(this, this.defaultSlot), this._isOpen = !1;
|
|
26737
26738
|
}
|
|
26738
26739
|
async connectedCallback() {
|
|
26739
|
-
|
|
26740
|
-
super.connectedCallback(), document.addEventListener("keydown", this.handleKeyDown.bind(this)), document.addEventListener("click", this.handleBackdropClick.bind(this)), (r = this.dialogRef.value) == null || r.addEventListener("submit", (o) => this.close(o, !0));
|
|
26740
|
+
super.connectedCallback(), document.addEventListener("keydown", this.handleKeyDown), document.addEventListener("click", this.handleBackdropClick);
|
|
26741
26741
|
}
|
|
26742
26742
|
disconnectedCallback() {
|
|
26743
|
-
|
|
26744
|
-
super.disconnectedCallback(), document.removeEventListener("keydown", this.handleKeyDown.bind(this)), document.removeEventListener("click", this.handleBackdropClick.bind(this)), (r = this.dialogRef.value) == null || r.removeEventListener("submit", (o) => this.close(o, !0));
|
|
26743
|
+
super.disconnectedCallback(), document.removeEventListener("keydown", this.handleKeyDown), document.removeEventListener("click", this.handleBackdropClick);
|
|
26745
26744
|
}
|
|
26746
26745
|
// P R I V A T E M E T H O D S
|
|
26747
26746
|
handleKeyDown(r) {
|
|
@@ -26779,10 +26778,10 @@ let Du = class extends qi {
|
|
|
26779
26778
|
return Qe`
|
|
26780
26779
|
<dialog
|
|
26781
26780
|
class=${$n(r)}
|
|
26782
|
-
aria-modal=${this._isOpen}
|
|
26783
26781
|
${Kn(this.dialogRef)}
|
|
26784
26782
|
aria-labelledby="pkt-modal__headingText"
|
|
26785
26783
|
aria-describedby="pkt-modal__content"
|
|
26784
|
+
@close=${(D) => this.close(D, !0)}
|
|
26786
26785
|
>
|
|
26787
26786
|
<div class="pkt-modal__header">
|
|
26788
26787
|
<div class="pkt-modal__header-background"></div>
|
|
@@ -26791,7 +26790,7 @@ let Du = class extends qi {
|
|
|
26791
26790
|
</h1>` : kt}
|
|
26792
26791
|
${this.hideCloseButton ? kt : Qe`<div class="${$n(g)}">
|
|
26793
26792
|
<button
|
|
26794
|
-
@click=${(
|
|
26793
|
+
@click=${(D) => this.close(D)}
|
|
26795
26794
|
class=${$n(v)}
|
|
26796
26795
|
aria-label="close"
|
|
26797
26796
|
>
|
|
@@ -26887,7 +26886,7 @@ let ea = class extends qi {
|
|
|
26887
26886
|
}), v = $n({
|
|
26888
26887
|
"pkt-progressbar__title": !0,
|
|
26889
26888
|
"pkt-progressbar__title-center": this.titlePosition === "center"
|
|
26890
|
-
}),
|
|
26889
|
+
}), D = $n({
|
|
26891
26890
|
"pkt-progressbar__status": !0,
|
|
26892
26891
|
"pkt-progressbar__status--center": this.statusPlacement === "center"
|
|
26893
26892
|
}), C = $n({
|
|
@@ -26909,7 +26908,7 @@ let ea = class extends qi {
|
|
|
26909
26908
|
<div class=${g}></div>
|
|
26910
26909
|
</div>
|
|
26911
26910
|
|
|
26912
|
-
${n ? Qe`<div class=${
|
|
26911
|
+
${n ? Qe`<div class=${D}>
|
|
26913
26912
|
<span class=${C} ${Kn(this.labelRef)}>
|
|
26914
26913
|
${this.statusType === "percentage" ? `${u}%` : f}
|
|
26915
26914
|
</span>
|
|
@@ -27546,8 +27545,8 @@ var ZT = { exports: {} };
|
|
|
27546
27545
|
var r = {}.hasOwnProperty;
|
|
27547
27546
|
function o() {
|
|
27548
27547
|
for (var g = "", v = 0; v < arguments.length; v++) {
|
|
27549
|
-
var
|
|
27550
|
-
|
|
27548
|
+
var D = arguments[v];
|
|
27549
|
+
D && (g = f(g, u(D)));
|
|
27551
27550
|
}
|
|
27552
27551
|
return g;
|
|
27553
27552
|
}
|
|
@@ -27561,8 +27560,8 @@ var ZT = { exports: {} };
|
|
|
27561
27560
|
if (g.toString !== Object.prototype.toString && !g.toString.toString().includes("[native code]"))
|
|
27562
27561
|
return g.toString();
|
|
27563
27562
|
var v = "";
|
|
27564
|
-
for (var
|
|
27565
|
-
r.call(g,
|
|
27563
|
+
for (var D in g)
|
|
27564
|
+
r.call(g, D) && g[D] && (v = f(v, D));
|
|
27566
27565
|
return v;
|
|
27567
27566
|
}
|
|
27568
27567
|
function f(g, v) {
|
|
@@ -27574,7 +27573,7 @@ var ZT = { exports: {} };
|
|
|
27574
27573
|
var nI = ZT.exports;
|
|
27575
27574
|
const js = /* @__PURE__ */ W0(nI), aH = _r(
|
|
27576
27575
|
({ title: n, className: r, children: o, toggleProps: u, defaultOpen: f = !1, id: g }, v) => {
|
|
27577
|
-
const [
|
|
27576
|
+
const [D, C] = ku(f), _ = u ? u.isOpen : D, N = (B) => B ?? void 0, P = (B, M) => {
|
|
27578
27577
|
B.preventDefault(), u !== void 0 && u.onToggleClick(B, M), C(!_);
|
|
27579
27578
|
}, R = js(r, "pkt-accordion-item");
|
|
27580
27579
|
return /* @__PURE__ */ O.jsxs(
|
|
@@ -27583,7 +27582,7 @@ const js = /* @__PURE__ */ W0(nI), aH = _r(
|
|
|
27583
27582
|
className: R,
|
|
27584
27583
|
ref: v,
|
|
27585
27584
|
id: g,
|
|
27586
|
-
open: N(u ? u.isOpen :
|
|
27585
|
+
open: N(u ? u.isOpen : D),
|
|
27587
27586
|
children: [
|
|
27588
27587
|
/* @__PURE__ */ O.jsxs(
|
|
27589
27588
|
"summary",
|
|
@@ -27616,10 +27615,10 @@ const js = /* @__PURE__ */ W0(nI), aH = _r(
|
|
|
27616
27615
|
aI.displayName = "PktAlert";
|
|
27617
27616
|
const iI = _r(
|
|
27618
27617
|
({ href: n, text: r, onClick: o, className: u, ...f }, g) => {
|
|
27619
|
-
const v = [u, "pkt-back-link"].filter(Boolean).join(" "),
|
|
27618
|
+
const v = [u, "pkt-back-link"].filter(Boolean).join(" "), D = (C) => {
|
|
27620
27619
|
o && o(C);
|
|
27621
27620
|
};
|
|
27622
|
-
return /* @__PURE__ */ O.jsx("nav", { ref: g, className: v, "aria-label": "Gå tilbake et steg", children: /* @__PURE__ */ O.jsxs("a", { href: n || "/", className: "pkt-link pkt-link--icon-left", onClick:
|
|
27621
|
+
return /* @__PURE__ */ O.jsx("nav", { ref: g, className: v, "aria-label": "Gå tilbake et steg", children: /* @__PURE__ */ O.jsxs("a", { href: n || "/", className: "pkt-link pkt-link--icon-left", onClick: D, ...f, children: [
|
|
27623
27622
|
/* @__PURE__ */ O.jsx(
|
|
27624
27623
|
Un,
|
|
27625
27624
|
{
|
|
@@ -27635,8 +27634,8 @@ const iI = _r(
|
|
|
27635
27634
|
iI.displayName = "PktBackLink";
|
|
27636
27635
|
const iH = _r(
|
|
27637
27636
|
({ breadcrumbs: n, navigationType: r, className: o, ...u }, f) => {
|
|
27638
|
-
const g = n.slice(0, 4), v = g[g.length - 2],
|
|
27639
|
-
return /* @__PURE__ */ O.jsxs("nav", { ref: f, "aria-label": "brødsmulemeny", className:
|
|
27637
|
+
const g = n.slice(0, 4), v = g[g.length - 2], D = [o, "pkt-breadcrumbs"].filter(Boolean).join(" ");
|
|
27638
|
+
return /* @__PURE__ */ O.jsxs("nav", { ref: f, "aria-label": "brødsmulemeny", className: D, children: [
|
|
27640
27639
|
/* @__PURE__ */ O.jsx("ol", { className: "pkt-breadcrumbs__list pkt-breadcrumbs--desktop", children: g.map((C, _) => /* @__PURE__ */ O.jsx("li", { className: "pkt-breadcrumbs__item", children: _ === g.length - 1 ? /* @__PURE__ */ O.jsx("span", { className: "pkt-breadcrumbs__label", "aria-current": "true", children: /* @__PURE__ */ O.jsx("span", { className: "pkt-breadcrumbs__text", children: C.text }) }) : r === "router" ? /* @__PURE__ */ O.jsxs(
|
|
27641
27640
|
_E,
|
|
27642
27641
|
{
|
|
@@ -27678,7 +27677,7 @@ const iH = _r(
|
|
|
27678
27677
|
size: f = "medium",
|
|
27679
27678
|
skin: g = "primary",
|
|
27680
27679
|
type: v = "button",
|
|
27681
|
-
variant:
|
|
27680
|
+
variant: D = "label-only",
|
|
27682
27681
|
state: C,
|
|
27683
27682
|
color: _,
|
|
27684
27683
|
isLoading: N = !1,
|
|
@@ -27689,7 +27688,7 @@ const iH = _r(
|
|
|
27689
27688
|
"pkt-btn",
|
|
27690
27689
|
f && `pkt-btn--${f}`,
|
|
27691
27690
|
g && `pkt-btn--${g}`,
|
|
27692
|
-
|
|
27691
|
+
D && `pkt-btn--${D}`,
|
|
27693
27692
|
_ && `pkt-btn--${_}`,
|
|
27694
27693
|
N && "pkt-btn--active",
|
|
27695
27694
|
C && `pkt-btn--${C}`
|
|
@@ -27703,9 +27702,9 @@ const iH = _r(
|
|
|
27703
27702
|
path: "https://punkt-cdn.oslo.kommune.no/12.27/animations/"
|
|
27704
27703
|
}
|
|
27705
27704
|
),
|
|
27706
|
-
|
|
27705
|
+
D !== "label-only" && /* @__PURE__ */ O.jsx(Un, { className: "pkt-btn__icon", name: o }),
|
|
27707
27706
|
/* @__PURE__ */ O.jsx("span", { className: "pkt-btn__text", children: n }),
|
|
27708
|
-
|
|
27707
|
+
D === "icons-right-and-left" && /* @__PURE__ */ O.jsx(Un, { className: "pkt-btn__icon", name: u })
|
|
27709
27708
|
] });
|
|
27710
27709
|
}
|
|
27711
27710
|
);
|
|
@@ -27729,7 +27728,7 @@ const fD = _r(
|
|
|
27729
27728
|
labelPosition: f = "right",
|
|
27730
27729
|
hideLabel: g = !1,
|
|
27731
27730
|
checkHelptext: v,
|
|
27732
|
-
hasError:
|
|
27731
|
+
hasError: D = !1,
|
|
27733
27732
|
isSwitch: C = !1,
|
|
27734
27733
|
className: _,
|
|
27735
27734
|
...N
|
|
@@ -27748,7 +27747,7 @@ const fD = _r(
|
|
|
27748
27747
|
"input",
|
|
27749
27748
|
{
|
|
27750
27749
|
ref: P,
|
|
27751
|
-
className: `pkt-input-check__input-checkbox ${
|
|
27750
|
+
className: `pkt-input-check__input-checkbox ${D ? "pkt-input-check__input-checkbox--error" : ""}`,
|
|
27752
27751
|
type: "checkbox",
|
|
27753
27752
|
role: C ? "switch" : "checkbox",
|
|
27754
27753
|
id: n,
|
|
@@ -27792,8 +27791,8 @@ const oH = ({
|
|
|
27792
27791
|
tilgjengelighetLink: v = "https://www.oslo.kommune.no/tilgjengelighet/"
|
|
27793
27792
|
}) => {
|
|
27794
27793
|
var C, _;
|
|
27795
|
-
const
|
|
27796
|
-
return /* @__PURE__ */ O.jsx("footer", { className:
|
|
27794
|
+
const D = [u, "pkt-footer"].filter(Boolean).join(" ");
|
|
27795
|
+
return /* @__PURE__ */ O.jsx("footer", { className: D, "data-mode": "dark", children: /* @__PURE__ */ O.jsxs("div", { className: "pkt-footer__container", children: [
|
|
27797
27796
|
/* @__PURE__ */ O.jsxs("div", { className: "pkt-grid pkt-grid--rowgap-size-32 pkt-grid--gap-size-16", children: [
|
|
27798
27797
|
/* @__PURE__ */ O.jsxs("div", { className: "pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up", children: [
|
|
27799
27798
|
/* @__PURE__ */ O.jsx("h2", { className: "pkt-footer__title", children: n.title }),
|
|
@@ -27898,7 +27897,7 @@ const oH = ({
|
|
|
27898
27897
|
}) => {
|
|
27899
27898
|
const g = [f, "pkt-footer-simple"].filter(Boolean).join(" ");
|
|
27900
27899
|
return /* @__PURE__ */ O.jsx("footer", { className: g, "data-mode": "dark", children: /* @__PURE__ */ O.jsx("div", { className: "pkt-footer-simple__container", children: /* @__PURE__ */ O.jsxs("ul", { className: "pkt-footer-simple__list", children: [
|
|
27901
|
-
n.map((v,
|
|
27900
|
+
n.map((v, D) => /* @__PURE__ */ O.jsx("li", { className: "pkt-footer-simple__list-item", children: /* @__PURE__ */ O.jsxs(
|
|
27902
27901
|
"a",
|
|
27903
27902
|
{
|
|
27904
27903
|
className: `pkt-footer-simple__link ${v.external ? " pkt-link--external" : ""}`,
|
|
@@ -27910,7 +27909,7 @@ const oH = ({
|
|
|
27910
27909
|
v.text
|
|
27911
27910
|
]
|
|
27912
27911
|
}
|
|
27913
|
-
) },
|
|
27912
|
+
) }, D)),
|
|
27914
27913
|
/* @__PURE__ */ O.jsx("li", { className: "pkt-footer-simple__list-item", children: /* @__PURE__ */ O.jsxs(
|
|
27915
27914
|
"a",
|
|
27916
27915
|
{
|
|
@@ -27947,7 +27946,7 @@ const oH = ({
|
|
|
27947
27946
|
scrollToHide: f = !0,
|
|
27948
27947
|
user: g,
|
|
27949
27948
|
userMenu: v,
|
|
27950
|
-
representing:
|
|
27949
|
+
representing: D,
|
|
27951
27950
|
userOptions: C,
|
|
27952
27951
|
userMenuFooter: _,
|
|
27953
27952
|
canChangeRepresentation: N = !0,
|
|
@@ -28033,7 +28032,7 @@ const oH = ({
|
|
|
28033
28032
|
children: "Meny"
|
|
28034
28033
|
}
|
|
28035
28034
|
) }),
|
|
28036
|
-
(g ||
|
|
28035
|
+
(g || D) && /* @__PURE__ */ O.jsxs(
|
|
28037
28036
|
"li",
|
|
28038
28037
|
{
|
|
28039
28038
|
"data-testid": "usermenu",
|
|
@@ -28051,8 +28050,8 @@ const oH = ({
|
|
|
28051
28050
|
onClick: nt,
|
|
28052
28051
|
children: [
|
|
28053
28052
|
/* @__PURE__ */ O.jsx(Un, { name: "user", className: "pkt-btn__icon" }),
|
|
28054
|
-
/* @__PURE__ */ O.jsx("span", { className: "pkt-header__user-fullname", translate: "no", children: (
|
|
28055
|
-
/* @__PURE__ */ O.jsx("span", { className: "pkt-header__user-shortname", translate: "no", children: (
|
|
28053
|
+
/* @__PURE__ */ O.jsx("span", { className: "pkt-header__user-fullname", translate: "no", children: (D == null ? void 0 : D.name) || (g == null ? void 0 : g.name) }),
|
|
28054
|
+
/* @__PURE__ */ O.jsx("span", { className: "pkt-header__user-shortname", translate: "no", children: (D == null ? void 0 : D.shortname) || (g == null ? void 0 : g.shortname) }),
|
|
28056
28055
|
/* @__PURE__ */ O.jsx(Un, { name: "chevron-thin-down", className: "pkt-btn--closed" }),
|
|
28057
28056
|
/* @__PURE__ */ O.jsx(Un, { name: "chevron-thin-up", className: "pkt-btn--open" })
|
|
28058
28057
|
]
|
|
@@ -28074,13 +28073,13 @@ const oH = ({
|
|
|
28074
28073
|
$e.iconName && /* @__PURE__ */ O.jsx(Un, { name: $e.iconName, className: "pkt-link__icon" }),
|
|
28075
28074
|
$e.title
|
|
28076
28075
|
] }) }, `userMenu-${Ke}`)) }) }),
|
|
28077
|
-
(
|
|
28078
|
-
|
|
28076
|
+
(D || N) && /* @__PURE__ */ O.jsxs("li", { children: [
|
|
28077
|
+
D && /* @__PURE__ */ O.jsxs(O.Fragment, { children: [
|
|
28079
28078
|
/* @__PURE__ */ O.jsx("div", { className: "pkt-user-menu__label", children: "Representerer" }),
|
|
28080
|
-
/* @__PURE__ */ O.jsx("div", { className: "pkt-user-menu__name", translate: "no", children:
|
|
28081
|
-
|
|
28079
|
+
/* @__PURE__ */ O.jsx("div", { className: "pkt-user-menu__name", translate: "no", children: D.name }),
|
|
28080
|
+
D.orgNumber && /* @__PURE__ */ O.jsxs("div", { className: "pkt-user-menu__org-number", children: [
|
|
28082
28081
|
"Org.nr. ",
|
|
28083
|
-
|
|
28082
|
+
D.orgNumber
|
|
28084
28083
|
] })
|
|
28085
28084
|
] }),
|
|
28086
28085
|
/* @__PURE__ */ O.jsx("ul", { className: "pkt-list mt-size-16", children: N && /* @__PURE__ */ O.jsx("li", { children: /* @__PURE__ */ O.jsxs("button", { className: "pkt-link-button pkt-link", onClick: V, children: [
|
|
@@ -28188,7 +28187,7 @@ const yI = _r(
|
|
|
28188
28187
|
isLoading: f = !0,
|
|
28189
28188
|
variant: g = "rainbow",
|
|
28190
28189
|
delay: v = 0,
|
|
28191
|
-
children:
|
|
28190
|
+
children: D,
|
|
28192
28191
|
...C
|
|
28193
28192
|
}, _) => {
|
|
28194
28193
|
const N = `pkt-loader pkt-loader--${o}`, [P, R] = ku(!(v > 0));
|
|
@@ -28213,7 +28212,7 @@ const yI = _r(
|
|
|
28213
28212
|
}
|
|
28214
28213
|
),
|
|
28215
28214
|
r && /* @__PURE__ */ O.jsx("p", { children: r })
|
|
28216
|
-
] }) : null }) :
|
|
28215
|
+
] }) : null }) : D
|
|
28217
28216
|
}
|
|
28218
28217
|
);
|
|
28219
28218
|
}
|
|
@@ -28265,7 +28264,7 @@ var JT = {}, M0 = ep && ep.__assign || function() {
|
|
|
28265
28264
|
}, xI = ep && ep.__spreadArrays || function() {
|
|
28266
28265
|
for (var n = 0, r = 0, o = arguments.length; r < o; r++) n += arguments[r].length;
|
|
28267
28266
|
for (var u = Array(n), f = 0, r = 0; r < o; r++)
|
|
28268
|
-
for (var g = arguments[r], v = 0,
|
|
28267
|
+
for (var g = arguments[r], v = 0, D = g.length; v < D; v++, f++)
|
|
28269
28268
|
u[f] = g[v];
|
|
28270
28269
|
return u;
|
|
28271
28270
|
};
|
|
@@ -28319,11 +28318,11 @@ function T0(n, r, o) {
|
|
|
28319
28318
|
if (n.length === 0)
|
|
28320
28319
|
return "[]";
|
|
28321
28320
|
Pv.push(n);
|
|
28322
|
-
var
|
|
28321
|
+
var D = "[" + g.newLine + n.map(function(_, N) {
|
|
28323
28322
|
var P = n.length - 1 === N ? g.newLine : "," + g.newLineOrSpace, R = T0(_, f, o + f.indent);
|
|
28324
28323
|
return f.transform && (R = f.transform(n, N, R)), g.indent + R + P;
|
|
28325
28324
|
}).join("") + g.pad + "]";
|
|
28326
|
-
return Pv.pop(), v(
|
|
28325
|
+
return Pv.pop(), v(D);
|
|
28327
28326
|
}
|
|
28328
28327
|
if (CI(n)) {
|
|
28329
28328
|
var C = xI(Object.keys(n), _I(n));
|
|
@@ -28332,11 +28331,11 @@ function T0(n, r, o) {
|
|
|
28332
28331
|
})), C.length === 0)
|
|
28333
28332
|
return "{}";
|
|
28334
28333
|
Pv.push(n);
|
|
28335
|
-
var
|
|
28334
|
+
var D = "{" + g.newLine + C.map(function(N, P) {
|
|
28336
28335
|
var R = C.length - 1 === P ? g.newLine : "," + g.newLineOrSpace, B = typeof N == "symbol", M = !B && /^[a-z$_][a-z$_0-9]*$/i.test(N.toString()), V = B || M ? N : T0(N, f), H = T0(n[N], f, o + f.indent);
|
|
28337
28336
|
return f.transform && (H = f.transform(n, N, H)), g.indent + String(V) + ": " + H + R;
|
|
28338
28337
|
}).join("") + g.pad + "}";
|
|
28339
|
-
return Pv.pop(), v(
|
|
28338
|
+
return Pv.pop(), v(D);
|
|
28340
28339
|
}
|
|
28341
28340
|
return n = String(n).replace(/[\r\n]/g, function(_) {
|
|
28342
28341
|
return _ === `
|
|
@@ -28357,7 +28356,7 @@ var w_;
|
|
|
28357
28356
|
function AI() {
|
|
28358
28357
|
if (w_) return Gn;
|
|
28359
28358
|
w_ = 1;
|
|
28360
|
-
var n = Symbol.for("react.element"), r = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), u = Symbol.for("react.strict_mode"), f = Symbol.for("react.profiler"), g = Symbol.for("react.provider"), v = Symbol.for("react.context"),
|
|
28359
|
+
var n = Symbol.for("react.element"), r = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), u = Symbol.for("react.strict_mode"), f = Symbol.for("react.profiler"), g = Symbol.for("react.provider"), v = Symbol.for("react.context"), D = Symbol.for("react.server_context"), C = Symbol.for("react.forward_ref"), _ = Symbol.for("react.suspense"), N = Symbol.for("react.suspense_list"), P = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), B = Symbol.for("react.offscreen"), M;
|
|
28361
28360
|
M = Symbol.for("react.module.reference");
|
|
28362
28361
|
function V(H) {
|
|
28363
28362
|
if (typeof H == "object" && H !== null) {
|
|
@@ -28373,7 +28372,7 @@ function AI() {
|
|
|
28373
28372
|
return H;
|
|
28374
28373
|
default:
|
|
28375
28374
|
switch (H = H && H.$$typeof, H) {
|
|
28376
|
-
case
|
|
28375
|
+
case D:
|
|
28377
28376
|
case v:
|
|
28378
28377
|
case C:
|
|
28379
28378
|
case R:
|
|
@@ -28434,10 +28433,10 @@ var Qn = {};
|
|
|
28434
28433
|
var D_;
|
|
28435
28434
|
function FI() {
|
|
28436
28435
|
return D_ || (D_ = 1, process.env.NODE_ENV !== "production" && function() {
|
|
28437
|
-
var n = !1, r = !1, o = !1, u = !1, f = !1, g = Symbol.for("react.element"), v = Symbol.for("react.portal"),
|
|
28436
|
+
var n = !1, r = !1, o = !1, u = !1, f = !1, g = Symbol.for("react.element"), v = Symbol.for("react.portal"), D = Symbol.for("react.fragment"), C = Symbol.for("react.strict_mode"), _ = Symbol.for("react.profiler"), N = Symbol.for("react.provider"), P = Symbol.for("react.context"), R = Symbol.for("react.server_context"), B = Symbol.for("react.forward_ref"), M = Symbol.for("react.suspense"), V = Symbol.for("react.suspense_list"), H = Symbol.for("react.memo"), ge = Symbol.for("react.lazy"), K = Symbol.for("react.offscreen"), Y;
|
|
28438
28437
|
Y = Symbol.for("react.module.reference");
|
|
28439
28438
|
function te(it) {
|
|
28440
|
-
return !!(typeof it == "string" || typeof it == "function" || it ===
|
|
28439
|
+
return !!(typeof it == "string" || typeof it == "function" || it === D || it === _ || f || it === C || it === M || it === V || u || it === K || n || r || o || typeof it == "object" && it !== null && (it.$$typeof === ge || it.$$typeof === H || it.$$typeof === N || it.$$typeof === P || it.$$typeof === B || // This needs to include all possible module reference object
|
|
28441
28440
|
// types supported by any Flight configuration anywhere since
|
|
28442
28441
|
// we don't know which Flight build this will end up being used
|
|
28443
28442
|
// with.
|
|
@@ -28450,7 +28449,7 @@ function FI() {
|
|
|
28450
28449
|
case g:
|
|
28451
28450
|
var Mt = it.type;
|
|
28452
28451
|
switch (Mt) {
|
|
28453
|
-
case
|
|
28452
|
+
case D:
|
|
28454
28453
|
case _:
|
|
28455
28454
|
case C:
|
|
28456
28455
|
case M:
|
|
@@ -28475,7 +28474,7 @@ function FI() {
|
|
|
28475
28474
|
}
|
|
28476
28475
|
}
|
|
28477
28476
|
}
|
|
28478
|
-
var re = P, oe = N, Te = g, ye = B, qe =
|
|
28477
|
+
var re = P, oe = N, Te = g, ye = B, qe = D, nt = ge, We = H, Fe = v, $e = _, Ke = C, Pe = M, Be = V, ve = !1, Re = !1;
|
|
28479
28478
|
function Ce(it) {
|
|
28480
28479
|
return ve || (ve = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
28481
28480
|
}
|
|
@@ -28495,7 +28494,7 @@ function FI() {
|
|
|
28495
28494
|
return U(it) === B;
|
|
28496
28495
|
}
|
|
28497
28496
|
function gt(it) {
|
|
28498
|
-
return U(it) ===
|
|
28497
|
+
return U(it) === D;
|
|
28499
28498
|
}
|
|
28500
28499
|
function at(it) {
|
|
28501
28500
|
return U(it) === ge;
|
|
@@ -28651,12 +28650,12 @@ var eA = function(r) {
|
|
|
28651
28650
|
throw new Error("react-element-to-jsx-string: Expected a React.Element, got `".concat(ny(r), "`"));
|
|
28652
28651
|
var g = f(r), v = C_(r.props, x_);
|
|
28653
28652
|
r.ref !== null && (v.ref = r.ref);
|
|
28654
|
-
var
|
|
28655
|
-
typeof
|
|
28653
|
+
var D = r.key;
|
|
28654
|
+
typeof D == "string" && D.search(/^\./) && (v.key = D);
|
|
28656
28655
|
var C = C_(r.type.defaultProps || {}, x_), _ = un.Children.toArray(r.props.children).filter(UI).map(function(N) {
|
|
28657
28656
|
return n(N, o);
|
|
28658
28657
|
});
|
|
28659
|
-
return II && r.type === sD ? jI(
|
|
28658
|
+
return II && r.type === sD ? jI(D, _) : BI(g, v, C, _);
|
|
28660
28659
|
};
|
|
28661
28660
|
function HI() {
|
|
28662
28661
|
}
|
|
@@ -28670,8 +28669,8 @@ var qI = function(r) {
|
|
|
28670
28669
|
return u(!f && u === E_ ? HI : n);
|
|
28671
28670
|
}, WI = function(n, r, o, u) {
|
|
28672
28671
|
var f = OI(n), g = TI(f, {
|
|
28673
|
-
transform: function(
|
|
28674
|
-
var N =
|
|
28672
|
+
transform: function(D, C, _) {
|
|
28673
|
+
var N = D[C];
|
|
28675
28674
|
return N && /* @__PURE__ */ Hv(N) ? G0(hD(N, u), !0, o, u) : typeof N == "function" ? nA(N, u) : _;
|
|
28676
28675
|
}
|
|
28677
28676
|
});
|
|
@@ -28689,10 +28688,10 @@ var qI = function(r) {
|
|
|
28689
28688
|
return g ? "{Symbol('".concat(g, "')}") : "{Symbol()}";
|
|
28690
28689
|
}
|
|
28691
28690
|
return typeof r == "function" ? "{".concat(nA(r, f), "}") : /* @__PURE__ */ Hv(r) ? "{".concat(G0(hD(r, f), !0, u, f), "}") : r instanceof Date ? isNaN(r.valueOf()) ? "{new Date(NaN)}" : '{new Date("'.concat(r.toISOString(), '")}') : SI(r) || Array.isArray(r) ? "{".concat(WI(r, o, u, f), "}") : "{".concat(String(r), "}");
|
|
28692
|
-
}, GI = function(n, r, o, u, f, g, v,
|
|
28691
|
+
}, GI = function(n, r, o, u, f, g, v, D) {
|
|
28693
28692
|
if (!r && !u)
|
|
28694
28693
|
throw new Error('The prop "'.concat(n, '" has no value and no default: could not be formatted'));
|
|
28695
|
-
var C = r ? o : f, _ =
|
|
28694
|
+
var C = r ? o : f, _ = D.useBooleanShorthandSyntax, N = D.tabStop, P = YI(C, g, v, D), R = " ", B = `
|
|
28696
28695
|
`.concat(_c(v + 1, N)), M = P.includes(`
|
|
28697
28696
|
`);
|
|
28698
28697
|
return _ && P === "{false}" && !u ? (R = "", B = "") : _ && P === "{true}" ? (R += "".concat(n), B += "".concat(n)) : (R += "".concat(n, "=").concat(P), B += "".concat(n, "=").concat(P)), {
|
|
@@ -28723,8 +28722,8 @@ function XI(n, r) {
|
|
|
28723
28722
|
var JI = function(r, o, u, f, g) {
|
|
28724
28723
|
var v = g.tabStop;
|
|
28725
28724
|
return r.type === "string" ? o.split(`
|
|
28726
|
-
`).map(function(
|
|
28727
|
-
return C === 0 ?
|
|
28725
|
+
`).map(function(D, C) {
|
|
28726
|
+
return C === 0 ? D : "".concat(_c(f, v)).concat(D);
|
|
28728
28727
|
}).join(`
|
|
28729
28728
|
`) : o;
|
|
28730
28729
|
}, e4 = function(r, o, u) {
|
|
@@ -28738,10 +28737,10 @@ var JI = function(r, o, u, f, g) {
|
|
|
28738
28737
|
};
|
|
28739
28738
|
}, rA = function(r, o, u, f, g) {
|
|
28740
28739
|
return g ? _c(u, f).length + o.length > g : r.length > 1;
|
|
28741
|
-
}, n4 = function(r, o, u, f, g, v,
|
|
28742
|
-
return (rA(r, o, g, v,
|
|
28740
|
+
}, n4 = function(r, o, u, f, g, v, D) {
|
|
28741
|
+
return (rA(r, o, g, v, D) || u) && !f;
|
|
28743
28742
|
}, aA = function(n, r, o, u) {
|
|
28744
|
-
var f = n.type, g = n.displayName, v = g === void 0 ? "" : g,
|
|
28743
|
+
var f = n.type, g = n.displayName, v = g === void 0 ? "" : g, D = n.childrens, C = n.props, _ = C === void 0 ? {} : C, N = n.defaultProps, P = N === void 0 ? {} : N;
|
|
28745
28744
|
if (f !== "ReactElement")
|
|
28746
28745
|
throw new Error('The "formatReactElementNode" function could only format node of type "ReactElement". Given: '.concat(f));
|
|
28747
28746
|
var R = u.filterProps, B = u.maxInlineAttributesLineLength, M = u.showDefaultProps, V = u.sortProps, H = u.tabStop, ge = "<".concat(v), K = ge, Y = ge, te = !1, U = [], re = XI(_, R);
|
|
@@ -28759,10 +28758,10 @@ var JI = function(r, o, u, f, g) {
|
|
|
28759
28758
|
var qe = GI(ye, Object.keys(_).includes(ye), _[ye], Object.keys(P).includes(ye), P[ye], r, o, u), nt = qe.attributeFormattedInline, We = qe.attributeFormattedMultiline, Fe = qe.isMultilineAttribute;
|
|
28760
28759
|
Fe && (te = !0), K += nt, Y += We;
|
|
28761
28760
|
}), Y += `
|
|
28762
|
-
`.concat(_c(o, H)), n4(oe, K, te, r, o, H, B) ? ge = Y : ge = K,
|
|
28761
|
+
`.concat(_c(o, H)), n4(oe, K, te, r, o, H, B) ? ge = Y : ge = K, D && D.length > 0) {
|
|
28763
28762
|
var Te = o + 1;
|
|
28764
28763
|
ge += ">", r || (ge += `
|
|
28765
|
-
`, ge += _c(Te, H)), ge +=
|
|
28764
|
+
`, ge += _c(Te, H)), ge += D.reduce(QI, []).map(e4(r, Te, u)).join(r ? "" : `
|
|
28766
28765
|
`.concat(_c(Te, H))), r || (ge += `
|
|
28767
28766
|
`, ge += _c(Te - 1, H)), ge += "</".concat(v, ">");
|
|
28768
28767
|
} else
|
|
@@ -28789,8 +28788,8 @@ var JI = function(r, o, u, f, g) {
|
|
|
28789
28788
|
var f = n.type, g = n.key, v = n.childrens;
|
|
28790
28789
|
if (f !== "ReactFragment")
|
|
28791
28790
|
throw new Error('The "formatReactFragmentNode" function could only format node of type "ReactFragment". Given: '.concat(f));
|
|
28792
|
-
var
|
|
28793
|
-
return
|
|
28791
|
+
var D = u.useFragmentShortSyntax, C;
|
|
28792
|
+
return D ? o4(n) || i4(n) ? C = __ : C = r4 : C = __, aA(a4(C, g, v), r, o, u);
|
|
28794
28793
|
}, l4 = ["<", ">", "{", "}"], u4 = function(r) {
|
|
28795
28794
|
return l4.some(function(o) {
|
|
28796
28795
|
return r.includes(o);
|
|
@@ -28813,7 +28812,7 @@ var JI = function(r, o, u, f, g) {
|
|
|
28813
28812
|
}, p4 = function(n, r) {
|
|
28814
28813
|
return G0(n, !1, 0, r);
|
|
28815
28814
|
}, f4 = function(r) {
|
|
28816
|
-
var o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, u = o.filterProps, f = u === void 0 ? [] : u, g = o.showDefaultProps, v = g === void 0 ? !0 : g,
|
|
28815
|
+
var o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, u = o.filterProps, f = u === void 0 ? [] : u, g = o.showDefaultProps, v = g === void 0 ? !0 : g, D = o.showFunctions, C = D === void 0 ? !1 : D, _ = o.functionValue, N = o.tabStop, P = N === void 0 ? 2 : N, R = o.useBooleanShorthandSyntax, B = R === void 0 ? !0 : R, M = o.useFragmentShortSyntax, V = M === void 0 ? !0 : M, H = o.sortProps, ge = H === void 0 ? !0 : H, K = o.maxInlineAttributesLineLength, Y = o.displayName;
|
|
28817
28816
|
if (!r)
|
|
28818
28817
|
throw new Error("react-element-to-jsx-string: Expected a ReactElement");
|
|
28819
28818
|
var te = {
|
|
@@ -28869,9 +28868,9 @@ var lA, uA, S4 = b4(() => {
|
|
|
28869
28868
|
}
|
|
28870
28869
|
return K.default = V, ge && ge.set(V, K), K;
|
|
28871
28870
|
}
|
|
28872
|
-
var g = o.default, v = (V, H) => (ge) => V(H(ge)),
|
|
28871
|
+
var g = o.default, v = (V, H) => (ge) => V(H(ge)), D;
|
|
28873
28872
|
function C(V) {
|
|
28874
|
-
return V ? (
|
|
28873
|
+
return V ? (D != null || (D = (0, o.createColors)(!0)), D) : g;
|
|
28875
28874
|
}
|
|
28876
28875
|
var _ = !1;
|
|
28877
28876
|
function N(V) {
|
|
@@ -28942,10 +28941,10 @@ sp.prototype = { diff: function(n, r) {
|
|
|
28942
28941
|
}, 0), !0) : Y;
|
|
28943
28942
|
}
|
|
28944
28943
|
n = this.castInput(n), r = this.castInput(r), n = this.removeEmpty(this.tokenize(n)), r = this.removeEmpty(this.tokenize(r));
|
|
28945
|
-
var
|
|
28944
|
+
var D = r.length, C = n.length, _ = 1, N = D + C;
|
|
28946
28945
|
u.maxEditLength && (N = Math.min(N, u.maxEditLength));
|
|
28947
28946
|
var P = (o = u.timeout) !== null && o !== void 0 ? o : 1 / 0, R = Date.now() + P, B = [{ oldPos: -1, lastComponent: void 0 }], M = this.extractCommon(B[0], r, n, 0);
|
|
28948
|
-
if (B[0].oldPos + 1 >= C && M + 1 >=
|
|
28947
|
+
if (B[0].oldPos + 1 >= C && M + 1 >= D) return v([{ value: this.join(r), count: r.length }]);
|
|
28949
28948
|
var V = -1 / 0, H = 1 / 0;
|
|
28950
28949
|
function ge() {
|
|
28951
28950
|
for (var Y = Math.max(V, -_); Y <= Math.min(H, _); Y += 2) {
|
|
@@ -28954,15 +28953,15 @@ sp.prototype = { diff: function(n, r) {
|
|
|
28954
28953
|
var oe = !1;
|
|
28955
28954
|
if (re) {
|
|
28956
28955
|
var Te = re.oldPos - Y;
|
|
28957
|
-
oe = re && 0 <= Te && Te <
|
|
28956
|
+
oe = re && 0 <= Te && Te < D;
|
|
28958
28957
|
}
|
|
28959
28958
|
var ye = U && U.oldPos + 1 < C;
|
|
28960
28959
|
if (!oe && !ye) {
|
|
28961
28960
|
B[Y] = void 0;
|
|
28962
28961
|
continue;
|
|
28963
28962
|
}
|
|
28964
|
-
if (!ye || oe && U.oldPos + 1 < re.oldPos ? te = g.addToPath(re, !0, void 0, 0) : te = g.addToPath(U, void 0, !0, 1), M = g.extractCommon(te, r, n, Y), te.oldPos + 1 >= C && M + 1 >=
|
|
28965
|
-
B[Y] = te, te.oldPos + 1 >= C && (H = Math.min(H, Y - 1)), M + 1 >=
|
|
28963
|
+
if (!ye || oe && U.oldPos + 1 < re.oldPos ? te = g.addToPath(re, !0, void 0, 0) : te = g.addToPath(U, void 0, !0, 1), M = g.extractCommon(te, r, n, Y), te.oldPos + 1 >= C && M + 1 >= D) return v(T4(g, te.lastComponent, r, n, g.useLongestToken));
|
|
28964
|
+
B[Y] = te, te.oldPos + 1 >= C && (H = Math.min(H, Y - 1)), M + 1 >= D && (V = Math.max(V, Y + 1));
|
|
28966
28965
|
}
|
|
28967
28966
|
_++;
|
|
28968
28967
|
}
|
|
@@ -28980,8 +28979,8 @@ sp.prototype = { diff: function(n, r) {
|
|
|
28980
28979
|
var f = n.lastComponent;
|
|
28981
28980
|
return f && f.added === r && f.removed === o ? { oldPos: n.oldPos + u, lastComponent: { count: f.count + 1, added: r, removed: o, previousComponent: f.previousComponent } } : { oldPos: n.oldPos + u, lastComponent: { count: 1, added: r, removed: o, previousComponent: f } };
|
|
28982
28981
|
}, extractCommon: function(n, r, o, u) {
|
|
28983
|
-
for (var f = r.length, g = o.length, v = n.oldPos,
|
|
28984
|
-
return C && (n.lastComponent = { count: C, previousComponent: n.lastComponent }), n.oldPos = v,
|
|
28982
|
+
for (var f = r.length, g = o.length, v = n.oldPos, D = v - u, C = 0; D + 1 < f && v + 1 < g && this.equals(r[D + 1], o[v + 1]); ) D++, v++, C++;
|
|
28983
|
+
return C && (n.lastComponent = { count: C, previousComponent: n.lastComponent }), n.oldPos = v, D;
|
|
28985
28984
|
}, equals: function(n, r) {
|
|
28986
28985
|
return this.options.comparator ? this.options.comparator(n, r) : n === r || this.options.ignoreCase && n.toLowerCase() === r.toLowerCase();
|
|
28987
28986
|
}, removeEmpty: function(n) {
|
|
@@ -28997,12 +28996,12 @@ sp.prototype = { diff: function(n, r) {
|
|
|
28997
28996
|
function T4(n, r, o, u, f) {
|
|
28998
28997
|
for (var g = [], v; r; ) g.push(r), v = r.previousComponent, delete r.previousComponent, r = v;
|
|
28999
28998
|
g.reverse();
|
|
29000
|
-
for (var
|
|
29001
|
-
var P = g[
|
|
28999
|
+
for (var D = 0, C = g.length, _ = 0, N = 0; D < C; D++) {
|
|
29000
|
+
var P = g[D];
|
|
29002
29001
|
if (P.removed) {
|
|
29003
|
-
if (P.value = n.join(u.slice(N, N + P.count)), N += P.count,
|
|
29004
|
-
var R = g[
|
|
29005
|
-
g[
|
|
29002
|
+
if (P.value = n.join(u.slice(N, N + P.count)), N += P.count, D && g[D - 1].added) {
|
|
29003
|
+
var R = g[D - 1];
|
|
29004
|
+
g[D - 1] = g[D], g[D] = R;
|
|
29006
29005
|
}
|
|
29007
29006
|
} else {
|
|
29008
29007
|
if (!P.added && f) {
|
|
@@ -29077,9 +29076,9 @@ function Hw(n, r, o, u, f) {
|
|
|
29077
29076
|
}
|
|
29078
29077
|
if (n && n.toJSON && (n = n.toJSON()), A0(n) === "object" && n !== null) {
|
|
29079
29078
|
r.push(n), v = {}, o.push(v);
|
|
29080
|
-
var
|
|
29081
|
-
for (C in n) n.hasOwnProperty(C) &&
|
|
29082
|
-
for (
|
|
29079
|
+
var D = [], C;
|
|
29080
|
+
for (C in n) n.hasOwnProperty(C) && D.push(C);
|
|
29081
|
+
for (D.sort(), g = 0; g < D.length; g += 1) C = D[g], v[C] = Hw(n[C], r, o, u, C);
|
|
29083
29082
|
r.pop(), o.pop();
|
|
29084
29083
|
} else v = n;
|
|
29085
29084
|
return v;
|
|
@@ -29176,15 +29175,15 @@ function I4(n, r, o, u) {
|
|
|
29176
29175
|
if ((r == null ? void 0 : r(g)) !== !1) switch (v) {
|
|
29177
29176
|
case Nc:
|
|
29178
29177
|
case xu: {
|
|
29179
|
-
let
|
|
29180
|
-
for (let C =
|
|
29178
|
+
let D = v === Nc ? g : g.parts;
|
|
29179
|
+
for (let C = D.length, _ = C - 1; _ >= 0; --_) f.push(D[_]);
|
|
29181
29180
|
break;
|
|
29182
29181
|
}
|
|
29183
29182
|
case as:
|
|
29184
29183
|
f.push(g.flatContents, g.breakContents);
|
|
29185
29184
|
break;
|
|
29186
29185
|
case Lo:
|
|
29187
|
-
if (u && g.expandedStates) for (let
|
|
29186
|
+
if (u && g.expandedStates) for (let D = g.expandedStates.length, C = D - 1; C >= 0; --C) f.push(g.expandedStates[C]);
|
|
29188
29187
|
else f.push(g.contents);
|
|
29189
29188
|
break;
|
|
29190
29189
|
case Oc:
|
|
@@ -29275,7 +29274,7 @@ function Cc(n) {
|
|
|
29275
29274
|
function X4(n) {
|
|
29276
29275
|
let r = /* @__PURE__ */ Object.create(null), o = /* @__PURE__ */ new Set();
|
|
29277
29276
|
return u(Cc(n));
|
|
29278
|
-
function u(g, v,
|
|
29277
|
+
function u(g, v, D) {
|
|
29279
29278
|
var C, _;
|
|
29280
29279
|
if (typeof g == "string") return JSON.stringify(g);
|
|
29281
29280
|
if (Array.isArray(g)) {
|
|
@@ -29283,10 +29282,10 @@ function X4(n) {
|
|
|
29283
29282
|
return N.length === 1 ? N[0] : `[${N.join(", ")}]`;
|
|
29284
29283
|
}
|
|
29285
29284
|
if (g.type === ki) {
|
|
29286
|
-
let N = ((C =
|
|
29285
|
+
let N = ((C = D == null ? void 0 : D[v + 1]) == null ? void 0 : C.type) === Is;
|
|
29287
29286
|
return g.literal ? N ? "literalline" : "literallineWithoutBreakParent" : g.hard ? N ? "hardline" : "hardlineWithoutBreakParent" : g.soft ? "softline" : "line";
|
|
29288
29287
|
}
|
|
29289
|
-
if (g.type === Is) return ((_ =
|
|
29288
|
+
if (g.type === Is) return ((_ = D == null ? void 0 : D[v - 1]) == null ? void 0 : _.type) === ki && D[v - 1].hard ? void 0 : "breakParent";
|
|
29290
29289
|
if (g.type === Lc) return "trim";
|
|
29291
29290
|
if (g.type === Rc) return "indent(" + u(g.contents) + ")";
|
|
29292
29291
|
if (g.type === Oc) return g.n === Number.NEGATIVE_INFINITY ? "dedentToRoot(" + u(g.contents) + ")" : g.n < 0 ? "dedent(" + u(g.contents) + ")" : g.n.type === "root" ? "markAsRoot(" + u(g.contents) + ")" : "align(" + JSON.stringify(g.n) + ", " + u(g.contents) + ")";
|
|
@@ -29313,8 +29312,8 @@ function X4(n) {
|
|
|
29313
29312
|
if (typeof g != "symbol") return JSON.stringify(String(g));
|
|
29314
29313
|
if (g in r) return r[g];
|
|
29315
29314
|
let v = g.description || "symbol";
|
|
29316
|
-
for (let
|
|
29317
|
-
let C = v + (
|
|
29315
|
+
for (let D = 0; ; D++) {
|
|
29316
|
+
let C = v + (D > 0 ? ` #${D}` : "");
|
|
29318
29317
|
if (!o.has(C)) return o.add(C), r[g] = `Symbol.for(${JSON.stringify(C)})`;
|
|
29319
29318
|
}
|
|
29320
29319
|
}
|
|
@@ -29359,8 +29358,8 @@ function ek(n, r) {
|
|
|
29359
29358
|
case as:
|
|
29360
29359
|
return r({ ...g, breakContents: u(g.breakContents), flatContents: u(g.flatContents) });
|
|
29361
29360
|
case Lo: {
|
|
29362
|
-
let { expandedStates: v, contents:
|
|
29363
|
-
return v ? (v = v.map(u),
|
|
29361
|
+
let { expandedStates: v, contents: D } = g;
|
|
29362
|
+
return v ? (v = v.map(u), D = v[0]) : D = u(D), r({ ...g, contents: D, expandedStates: v });
|
|
29364
29363
|
}
|
|
29365
29364
|
case Oc:
|
|
29366
29365
|
case Rc:
|
|
@@ -29384,8 +29383,8 @@ function wD(n, r, o) {
|
|
|
29384
29383
|
let u = o, f = !1;
|
|
29385
29384
|
function g(v) {
|
|
29386
29385
|
if (f) return !1;
|
|
29387
|
-
let
|
|
29388
|
-
|
|
29386
|
+
let D = r(v);
|
|
29387
|
+
D !== void 0 && (f = !0, u = D);
|
|
29389
29388
|
}
|
|
29390
29389
|
return yD(n, g), u;
|
|
29391
29390
|
}
|
|
@@ -29529,7 +29528,7 @@ function vM(n, r, o) {
|
|
|
29529
29528
|
return r === Number.NEGATIVE_INFINITY ? n.root || SA() : r < 0 ? Vw(n, { type: "dedent" }, o) : r ? r.type === "root" ? { ...n, root: n } : Vw(n, { type: typeof r == "string" ? "stringAlign" : "numberAlign", n: r }, o) : n;
|
|
29530
29529
|
}
|
|
29531
29530
|
function Vw(n, r, o) {
|
|
29532
|
-
let u = r.type === "dedent" ? n.queue.slice(0, -1) : [...n.queue, r], f = "", g = 0, v = 0,
|
|
29531
|
+
let u = r.type === "dedent" ? n.queue.slice(0, -1) : [...n.queue, r], f = "", g = 0, v = 0, D = 0;
|
|
29533
29532
|
for (let M of u) switch (M.type) {
|
|
29534
29533
|
case "indent":
|
|
29535
29534
|
N(), o.useTabs ? C(1) : _(o.tabWidth);
|
|
@@ -29538,7 +29537,7 @@ function Vw(n, r, o) {
|
|
|
29538
29537
|
N(), f += M.n, g += M.n.length;
|
|
29539
29538
|
break;
|
|
29540
29539
|
case "numberAlign":
|
|
29541
|
-
v += 1,
|
|
29540
|
+
v += 1, D += M.n;
|
|
29542
29541
|
break;
|
|
29543
29542
|
default:
|
|
29544
29543
|
throw new Error(`Unexpected type '${M.type}'`);
|
|
@@ -29557,10 +29556,10 @@ function Vw(n, r, o) {
|
|
|
29557
29556
|
v > 0 && C(v), B();
|
|
29558
29557
|
}
|
|
29559
29558
|
function R() {
|
|
29560
|
-
|
|
29559
|
+
D > 0 && _(D), B();
|
|
29561
29560
|
}
|
|
29562
29561
|
function B() {
|
|
29563
|
-
v = 0,
|
|
29562
|
+
v = 0, D = 0;
|
|
29564
29563
|
}
|
|
29565
29564
|
}
|
|
29566
29565
|
function Yw(n) {
|
|
@@ -29585,14 +29584,14 @@ function Yw(n) {
|
|
|
29585
29584
|
}
|
|
29586
29585
|
function w0(n, r, o, u, f, g) {
|
|
29587
29586
|
if (o === Number.POSITIVE_INFINITY) return !0;
|
|
29588
|
-
let v = r.length,
|
|
29587
|
+
let v = r.length, D = [n], C = [];
|
|
29589
29588
|
for (; o >= 0; ) {
|
|
29590
|
-
if (
|
|
29589
|
+
if (D.length === 0) {
|
|
29591
29590
|
if (v === 0) return !0;
|
|
29592
|
-
|
|
29591
|
+
D.push(r[--v]);
|
|
29593
29592
|
continue;
|
|
29594
29593
|
}
|
|
29595
|
-
let { mode: _, doc: N } =
|
|
29594
|
+
let { mode: _, doc: N } = D.pop(), P = qf(N);
|
|
29596
29595
|
switch (P) {
|
|
29597
29596
|
case Uf:
|
|
29598
29597
|
C.push(N), o -= kD(N);
|
|
@@ -29600,14 +29599,14 @@ function w0(n, r, o, u, f, g) {
|
|
|
29600
29599
|
case Nc:
|
|
29601
29600
|
case xu: {
|
|
29602
29601
|
let R = P === Nc ? N : N.parts;
|
|
29603
|
-
for (let B = R.length - 1; B >= 0; B--)
|
|
29602
|
+
for (let B = R.length - 1; B >= 0; B--) D.push({ mode: _, doc: R[B] });
|
|
29604
29603
|
break;
|
|
29605
29604
|
}
|
|
29606
29605
|
case Rc:
|
|
29607
29606
|
case Oc:
|
|
29608
29607
|
case Bc:
|
|
29609
29608
|
case Cu:
|
|
29610
|
-
|
|
29609
|
+
D.push({ mode: _, doc: N.contents });
|
|
29611
29610
|
break;
|
|
29612
29611
|
case Lc:
|
|
29613
29612
|
o += Yw(C);
|
|
@@ -29615,12 +29614,12 @@ function w0(n, r, o, u, f, g) {
|
|
|
29615
29614
|
case Lo: {
|
|
29616
29615
|
if (g && N.break) return !1;
|
|
29617
29616
|
let R = N.break ? Ro : _, B = N.expandedStates && R === Ro ? Xa(!1, N.expandedStates, -1) : N.contents;
|
|
29618
|
-
|
|
29617
|
+
D.push({ mode: R, doc: B });
|
|
29619
29618
|
break;
|
|
29620
29619
|
}
|
|
29621
29620
|
case as: {
|
|
29622
29621
|
let R = (N.groupId ? f[N.groupId] || bu : _) === Ro ? N.breakContents : N.flatContents;
|
|
29623
|
-
R &&
|
|
29622
|
+
R && D.push({ mode: _, doc: R });
|
|
29624
29623
|
break;
|
|
29625
29624
|
}
|
|
29626
29625
|
case ki:
|
|
@@ -29638,7 +29637,7 @@ function w0(n, r, o, u, f, g) {
|
|
|
29638
29637
|
return !1;
|
|
29639
29638
|
}
|
|
29640
29639
|
function tk(n, r) {
|
|
29641
|
-
let o = {}, u = r.printWidth, f = vD(r.endOfLine), g = 0, v = [{ ind: SA(), mode: Ro, doc: n }],
|
|
29640
|
+
let o = {}, u = r.printWidth, f = vD(r.endOfLine), g = 0, v = [{ ind: SA(), mode: Ro, doc: n }], D = [], C = !1, _ = [], N = 0;
|
|
29642
29641
|
for (lM(n); v.length > 0; ) {
|
|
29643
29642
|
let { ind: R, mode: B, doc: M } = v.pop();
|
|
29644
29643
|
switch (qf(M)) {
|
|
@@ -29646,7 +29645,7 @@ function tk(n, r) {
|
|
|
29646
29645
|
let V = f !== `
|
|
29647
29646
|
` ? X0(!1, M, `
|
|
29648
29647
|
`, f) : M;
|
|
29649
|
-
|
|
29648
|
+
D.push(V), v.length > 0 && (g += kD(V));
|
|
29650
29649
|
break;
|
|
29651
29650
|
}
|
|
29652
29651
|
case Nc:
|
|
@@ -29654,7 +29653,7 @@ function tk(n, r) {
|
|
|
29654
29653
|
break;
|
|
29655
29654
|
case Hf:
|
|
29656
29655
|
if (N >= 2) throw new Error("There are too many 'cursor' in doc.");
|
|
29657
|
-
|
|
29656
|
+
D.push(Kv), N++;
|
|
29658
29657
|
break;
|
|
29659
29658
|
case Rc:
|
|
29660
29659
|
v.push({ ind: gM(R, r), mode: B, doc: M.contents });
|
|
@@ -29663,7 +29662,7 @@ function tk(n, r) {
|
|
|
29663
29662
|
v.push({ ind: vM(R, M.n, r), mode: B, doc: M.contents });
|
|
29664
29663
|
break;
|
|
29665
29664
|
case Lc:
|
|
29666
|
-
g -= Yw(
|
|
29665
|
+
g -= Yw(D);
|
|
29667
29666
|
break;
|
|
29668
29667
|
case Lo:
|
|
29669
29668
|
switch (B) {
|
|
@@ -29739,7 +29738,7 @@ function tk(n, r) {
|
|
|
29739
29738
|
case bu:
|
|
29740
29739
|
if (M.hard) C = !0;
|
|
29741
29740
|
else {
|
|
29742
|
-
M.soft || (
|
|
29741
|
+
M.soft || (D.push(" "), g += 1);
|
|
29743
29742
|
break;
|
|
29744
29743
|
}
|
|
29745
29744
|
case Ro:
|
|
@@ -29747,7 +29746,7 @@ function tk(n, r) {
|
|
|
29747
29746
|
v.push({ ind: R, mode: B, doc: M }, ..._.reverse()), _.length = 0;
|
|
29748
29747
|
break;
|
|
29749
29748
|
}
|
|
29750
|
-
M.literal ? R.root ? (
|
|
29749
|
+
M.literal ? R.root ? (D.push(f, R.root.value), g = R.root.length) : (D.push(f), g = 0) : (g -= Yw(D), D.push(f + R.value), g = R.length);
|
|
29751
29750
|
break;
|
|
29752
29751
|
}
|
|
29753
29752
|
break;
|
|
@@ -29761,12 +29760,12 @@ function tk(n, r) {
|
|
|
29761
29760
|
}
|
|
29762
29761
|
v.length === 0 && _.length > 0 && (v.push(..._.reverse()), _.length = 0);
|
|
29763
29762
|
}
|
|
29764
|
-
let P =
|
|
29763
|
+
let P = D.indexOf(Kv);
|
|
29765
29764
|
if (P !== -1) {
|
|
29766
|
-
let R =
|
|
29765
|
+
let R = D.indexOf(Kv, P + 1), B = D.slice(0, P).join(""), M = D.slice(P + 1, R).join(""), V = D.slice(R + 1).join("");
|
|
29767
29766
|
return { formatted: B + M + V, cursorNodeStart: B.length, cursorNodeText: M };
|
|
29768
29767
|
}
|
|
29769
|
-
return { formatted:
|
|
29768
|
+
return { formatted: D.join("") };
|
|
29770
29769
|
}
|
|
29771
29770
|
function yM(n, r, o = 0) {
|
|
29772
29771
|
let u = 0;
|
|
@@ -29909,7 +29908,7 @@ function* CA(n, r) {
|
|
|
29909
29908
|
let { getVisitorKeys: o, filter: u = () => !0 } = r, f = (g) => DM(g) && u(g);
|
|
29910
29909
|
for (let g of o(n)) {
|
|
29911
29910
|
let v = n[g];
|
|
29912
|
-
if (Array.isArray(v)) for (let
|
|
29911
|
+
if (Array.isArray(v)) for (let D of v) f(D) && (yield D);
|
|
29913
29912
|
else f(v) && (yield v);
|
|
29914
29913
|
}
|
|
29915
29914
|
}
|
|
@@ -29926,10 +29925,10 @@ function cy(n) {
|
|
|
29926
29925
|
if (o === !1) return !1;
|
|
29927
29926
|
let { length: g } = r, v = o;
|
|
29928
29927
|
for (; v >= 0 && v < g; ) {
|
|
29929
|
-
let
|
|
29928
|
+
let D = r.charAt(v);
|
|
29930
29929
|
if (n instanceof RegExp) {
|
|
29931
|
-
if (!n.test(
|
|
29932
|
-
} else if (!n.includes(
|
|
29930
|
+
if (!n.test(D)) return v;
|
|
29931
|
+
} else if (!n.includes(D)) return v;
|
|
29933
29932
|
f ? v-- : v++;
|
|
29934
29933
|
}
|
|
29935
29934
|
return v === -1 || v === g ? v : !1;
|
|
@@ -29988,19 +29987,19 @@ function xD(n, r) {
|
|
|
29988
29987
|
if (Cw.has(n)) return Cw.get(n);
|
|
29989
29988
|
let { printer: { getCommentChildNodes: o, canAttachComment: u, getVisitorKeys: f }, locStart: g, locEnd: v } = r;
|
|
29990
29989
|
if (!u) return [];
|
|
29991
|
-
let
|
|
29992
|
-
return
|
|
29990
|
+
let D = ((o == null ? void 0 : o(n, r)) ?? [...CA(n, { getVisitorKeys: nk(f) })]).flatMap((C) => u(C) ? [C] : xD(C, r));
|
|
29991
|
+
return D.sort((C, _) => g(C) - g(_) || v(C) - v(_)), Cw.set(n, D), D;
|
|
29993
29992
|
}
|
|
29994
29993
|
function AA(n, r, o, u) {
|
|
29995
|
-
let { locStart: f, locEnd: g } = o, v = f(r),
|
|
29994
|
+
let { locStart: f, locEnd: g } = o, v = f(r), D = g(r), C = xD(n, o), _, N, P = 0, R = C.length;
|
|
29996
29995
|
for (; P < R; ) {
|
|
29997
29996
|
let B = P + R >> 1, M = C[B], V = f(M), H = g(M);
|
|
29998
|
-
if (V <= v &&
|
|
29997
|
+
if (V <= v && D <= H) return AA(M, r, o, M);
|
|
29999
29998
|
if (H <= v) {
|
|
30000
29999
|
_ = M, P = B + 1;
|
|
30001
30000
|
continue;
|
|
30002
30001
|
}
|
|
30003
|
-
if (
|
|
30002
|
+
if (D <= V) {
|
|
30004
30003
|
N = M, R = B;
|
|
30005
30004
|
continue;
|
|
30006
30005
|
}
|
|
@@ -30016,7 +30015,7 @@ var Ew = () => !1;
|
|
|
30016
30015
|
function $M(n, r) {
|
|
30017
30016
|
let { comments: o } = n;
|
|
30018
30017
|
if (delete n.comments, !TM(o) || !r.printer.canAttachComment) return;
|
|
30019
|
-
let u = [], { locStart: f, locEnd: g, printer: { experimentalFeatures: { avoidAstMutation: v = !1 } = {}, handleComments:
|
|
30018
|
+
let u = [], { locStart: f, locEnd: g, printer: { experimentalFeatures: { avoidAstMutation: v = !1 } = {}, handleComments: D = {} }, originalText: C } = r, { ownLine: _ = Ew, endOfLine: N = Ew, remaining: P = Ew } = D, R = o.map((B, M) => ({ ...AA(n, B, r), comment: B, text: C, options: r, ast: n, isLastComment: o.length - 1 === M }));
|
|
30020
30019
|
for (let [B, M] of R.entries()) {
|
|
30021
30020
|
let { comment: V, precedingNode: H, enclosingNode: ge, followingNode: K, text: Y, options: te, ast: U, isLastComment: re } = M;
|
|
30022
30021
|
if (te.parser === "json" || te.parser === "json5" || te.parser === "jsonc" || te.parser === "__js_expression" || te.parser === "__ts_expression" || te.parser === "__vue_expression" || te.parser === "__vue_ts_expression") {
|
|
@@ -30041,20 +30040,20 @@ function $M(n, r) {
|
|
|
30041
30040
|
}
|
|
30042
30041
|
var FA = (n) => !/[\S\n\u2028\u2029]/u.test(n);
|
|
30043
30042
|
function PM(n, r, o, u) {
|
|
30044
|
-
let { comment: f, precedingNode: g } = o[u], { locStart: v, locEnd:
|
|
30043
|
+
let { comment: f, precedingNode: g } = o[u], { locStart: v, locEnd: D } = r, C = v(f);
|
|
30045
30044
|
if (g) for (let _ = u - 1; _ >= 0; _--) {
|
|
30046
30045
|
let { comment: N, precedingNode: P } = o[_];
|
|
30047
|
-
if (P !== g || !FA(n.slice(
|
|
30046
|
+
if (P !== g || !FA(n.slice(D(N), C))) break;
|
|
30048
30047
|
C = v(N);
|
|
30049
30048
|
}
|
|
30050
30049
|
return Jd(n, C, { backwards: !0 });
|
|
30051
30050
|
}
|
|
30052
30051
|
function RM(n, r, o, u) {
|
|
30053
|
-
let { comment: f, followingNode: g } = o[u], { locStart: v, locEnd:
|
|
30052
|
+
let { comment: f, followingNode: g } = o[u], { locStart: v, locEnd: D } = r, C = D(f);
|
|
30054
30053
|
if (g) for (let _ = u + 1; _ < o.length; _++) {
|
|
30055
30054
|
let { comment: N, followingNode: P } = o[_];
|
|
30056
30055
|
if (P !== g || !FA(n.slice(C, v(N)))) break;
|
|
30057
|
-
C =
|
|
30056
|
+
C = D(N);
|
|
30058
30057
|
}
|
|
30059
30058
|
return Jd(n, C);
|
|
30060
30059
|
}
|
|
@@ -30062,12 +30061,12 @@ function P_(n, r) {
|
|
|
30062
30061
|
var o, u;
|
|
30063
30062
|
let f = n.length;
|
|
30064
30063
|
if (f === 0) return;
|
|
30065
|
-
let { precedingNode: g, followingNode: v } = n[0],
|
|
30064
|
+
let { precedingNode: g, followingNode: v } = n[0], D = r.locStart(v), C;
|
|
30066
30065
|
for (C = f; C > 0; --C) {
|
|
30067
30066
|
let { comment: _, precedingNode: N, followingNode: P } = n[C - 1];
|
|
30068
30067
|
Qw.strictEqual(N, g), Qw.strictEqual(P, v);
|
|
30069
|
-
let R = r.originalText.slice(r.locEnd(_),
|
|
30070
|
-
if (((u = (o = r.printer).isGap) == null ? void 0 : u.call(o, R, r)) ?? /^[\s(]*$/u.test(R))
|
|
30068
|
+
let R = r.originalText.slice(r.locEnd(_), D);
|
|
30069
|
+
if (((u = (o = r.printer).isGap) == null ? void 0 : u.call(o, R, r)) ?? /^[\s(]*$/u.test(R)) D = r.locStart(_);
|
|
30071
30070
|
else break;
|
|
30072
30071
|
}
|
|
30073
30072
|
for (let [_, { comment: N }] of n.entries()) _ < C ? Tm(g, N) : _m(v, N);
|
|
@@ -30092,9 +30091,9 @@ function NA(n, r) {
|
|
|
30092
30091
|
}
|
|
30093
30092
|
function LM(n, r) {
|
|
30094
30093
|
var o;
|
|
30095
|
-
let u = n.node, f = [NA(n, r)], { printer: g, originalText: v, locStart:
|
|
30094
|
+
let u = n.node, f = [NA(n, r)], { printer: g, originalText: v, locStart: D, locEnd: C } = r;
|
|
30096
30095
|
if ((o = g.isBlockComment) != null && o.call(g, u)) {
|
|
30097
|
-
let N = Jd(v, C(u)) ? Jd(v,
|
|
30096
|
+
let N = Jd(v, C(u)) ? Jd(v, D(u), { backwards: !0 }) ? $f : vA : " ";
|
|
30098
30097
|
f.push(N);
|
|
30099
30098
|
} else f.push($f);
|
|
30100
30099
|
let _ = Bf(v, ip(v, C(u)));
|
|
@@ -30102,9 +30101,9 @@ function LM(n, r) {
|
|
|
30102
30101
|
}
|
|
30103
30102
|
function BM(n, r, o) {
|
|
30104
30103
|
var u;
|
|
30105
|
-
let f = n.node, g = NA(n, r), { printer: v, originalText:
|
|
30106
|
-
if (o != null && o.hasLineSuffix && !(o != null && o.isBlock) || Jd(
|
|
30107
|
-
let N = CD(
|
|
30104
|
+
let f = n.node, g = NA(n, r), { printer: v, originalText: D, locStart: C } = r, _ = (u = v.isBlockComment) == null ? void 0 : u.call(v, f);
|
|
30105
|
+
if (o != null && o.hasLineSuffix && !(o != null && o.isBlock) || Jd(D, C(f), { backwards: !0 })) {
|
|
30106
|
+
let N = CD(D, C(f));
|
|
30108
30107
|
return { doc: qw([$f, N ? $f : "", g]), isBlock: _, hasLineSuffix: !0 };
|
|
30109
30108
|
}
|
|
30110
30109
|
return !_ || o != null && o.hasLineSuffix ? { doc: [qw([" ", g]), J0], isBlock: _, hasLineSuffix: !0 } : { doc: [" ", g], isBlock: _, hasLineSuffix: !1 };
|
|
@@ -30113,12 +30112,12 @@ function jM(n, r) {
|
|
|
30113
30112
|
let o = n.node;
|
|
30114
30113
|
if (!o) return {};
|
|
30115
30114
|
let u = r[Symbol.for("printedComments")];
|
|
30116
|
-
if ((o.comments || []).filter((
|
|
30115
|
+
if ((o.comments || []).filter((D) => !u.has(D)).length === 0) return { leading: "", trailing: "" };
|
|
30117
30116
|
let f = [], g = [], v;
|
|
30118
30117
|
return n.each(() => {
|
|
30119
|
-
let
|
|
30120
|
-
if (u != null && u.has(
|
|
30121
|
-
let { leading: C, trailing: _ } =
|
|
30118
|
+
let D = n.node;
|
|
30119
|
+
if (u != null && u.has(D)) return;
|
|
30120
|
+
let { leading: C, trailing: _ } = D;
|
|
30122
30121
|
C ? f.push(LM(n, r)) : _ && (v = BM(n, r, v), g.push(v.doc));
|
|
30123
30122
|
}, "comments"), { leading: f, trailing: g };
|
|
30124
30123
|
}
|
|
@@ -30161,8 +30160,8 @@ function* UM(n, r, o) {
|
|
|
30161
30160
|
for (let f of r) if (f.parsers) {
|
|
30162
30161
|
for (let g of f.parsers) if (!u.has(g)) {
|
|
30163
30162
|
u.add(g);
|
|
30164
|
-
let v = o.find((C) => C.parsers && Object.prototype.hasOwnProperty.call(C.parsers, g)),
|
|
30165
|
-
v != null && v.name && (
|
|
30163
|
+
let v = o.find((C) => C.parsers && Object.prototype.hasOwnProperty.call(C.parsers, g)), D = f.name;
|
|
30164
|
+
v != null && v.name && (D += ` (plugin: ${v.name})`), yield { value: g, description: D };
|
|
30166
30165
|
}
|
|
30167
30166
|
}
|
|
30168
30167
|
}
|
|
@@ -30224,13 +30223,13 @@ function KM(n, r) {
|
|
|
30224
30223
|
let g = 0;
|
|
30225
30224
|
for (; g < u && n.charCodeAt(g) === r.charCodeAt(g); ) g++;
|
|
30226
30225
|
if (u -= g, f -= g, u === 0) return f;
|
|
30227
|
-
let v,
|
|
30226
|
+
let v, D, C, _, N = 0, P = 0;
|
|
30228
30227
|
for (; N < u; ) M_[N] = n.charCodeAt(g + N), Tw[N] = ++N;
|
|
30229
|
-
for (; P < f; ) for (v = r.charCodeAt(g + P), C = P++,
|
|
30230
|
-
return
|
|
30228
|
+
for (; P < f; ) for (v = r.charCodeAt(g + P), C = P++, D = P, N = 0; N < u; N++) _ = v === M_[N] ? C : C + 1, C = Tw[N], D = Tw[N] = C > D ? _ > D ? D + 1 : _ : _ > C ? C + 1 : _;
|
|
30229
|
+
return D;
|
|
30231
30230
|
}
|
|
30232
30231
|
var BA = (n, r, { descriptor: o, logger: u, schemas: f }) => {
|
|
30233
|
-
let g = [`Ignored unknown option ${I_.default.yellow(o.pair({ key: n, value: r }))}.`], v = Object.keys(f).sort().find((
|
|
30232
|
+
let g = [`Ignored unknown option ${I_.default.yellow(o.pair({ key: n, value: r }))}.`], v = Object.keys(f).sort().find((D) => KM(n, D) < 3);
|
|
30234
30233
|
v && g.push(`Did you mean ${I_.default.blue(o.key(v))}?`), u.warn(g.join(" "));
|
|
30235
30234
|
}, ZM = ["default", "expected", "validate", "deprecated", "forward", "redirect", "overlap", "preprocess", "postprocess"];
|
|
30236
30235
|
function XM(n, r) {
|
|
@@ -30466,9 +30465,9 @@ var p8 = class extends lp {
|
|
|
30466
30465
|
}
|
|
30467
30466
|
}, m8 = Am, g8 = BA, v8 = QM, y8 = GM, b8 = class {
|
|
30468
30467
|
constructor(n, r) {
|
|
30469
|
-
let { logger: o = console, loggerPrintWidth: u = 80, descriptor: f = m8, unknown: g = g8, invalid: v = v8, deprecated:
|
|
30468
|
+
let { logger: o = console, loggerPrintWidth: u = 80, descriptor: f = m8, unknown: g = g8, invalid: v = v8, deprecated: D = y8, missing: C = () => !1, required: _ = () => !1, preprocess: N = (R) => R, postprocess: P = () => N0 } = r || {};
|
|
30470
30469
|
this._utils = { descriptor: f, logger: o || { warn: () => {
|
|
30471
|
-
} }, loggerPrintWidth: u, schemas: a8(n, "name"), normalizeDefaultResult: U_, normalizeExpectedResult: jA, normalizeDeprecatedResult: q_, normalizeForwardResult: Kw, normalizeRedirectResult: V_, normalizeValidateResult: H_ }, this._unknownHandler = g, this._invalidHandler = c8(v), this._deprecatedHandler =
|
|
30470
|
+
} }, loggerPrintWidth: u, schemas: a8(n, "name"), normalizeDefaultResult: U_, normalizeExpectedResult: jA, normalizeDeprecatedResult: q_, normalizeForwardResult: Kw, normalizeRedirectResult: V_, normalizeValidateResult: H_ }, this._unknownHandler = g, this._invalidHandler = c8(v), this._deprecatedHandler = D, this._identifyMissing = (R, B) => !(R in B) || C(R, B), this._identifyRequired = _, this._preprocess = N, this._postprocess = P, this.cleanHistory();
|
|
30472
30471
|
}
|
|
30473
30472
|
cleanHistory() {
|
|
30474
30473
|
this._hasDeprecationWarned = o8();
|
|
@@ -30491,20 +30490,20 @@ var p8 = class extends lp {
|
|
|
30491
30490
|
u();
|
|
30492
30491
|
for (let f of Object.keys(this._utils.schemas)) {
|
|
30493
30492
|
if (!(f in r)) continue;
|
|
30494
|
-
let g = this._utils.schemas[f], v = r[f],
|
|
30495
|
-
|
|
30493
|
+
let g = this._utils.schemas[f], v = r[f], D = g.postprocess(v, this._utils);
|
|
30494
|
+
D !== N0 && (this._applyValidation(D, f, g), r[f] = D);
|
|
30496
30495
|
}
|
|
30497
30496
|
return this._applyPostprocess(r), this._applyRequiredCheck(r), r;
|
|
30498
30497
|
}
|
|
30499
30498
|
_applyNormalization(n, r) {
|
|
30500
30499
|
let o = [], { knownKeys: u, unknownKeys: f } = this._partitionOptionKeys(n);
|
|
30501
30500
|
for (let g of u) {
|
|
30502
|
-
let v = this._utils.schemas[g],
|
|
30503
|
-
this._applyValidation(
|
|
30501
|
+
let v = this._utils.schemas[g], D = v.preprocess(n[g], this._utils);
|
|
30502
|
+
this._applyValidation(D, g, v);
|
|
30504
30503
|
let C = ({ from: P, to: R }) => {
|
|
30505
30504
|
o.push(typeof R == "string" ? { [R]: P } : { [R.key]: R.value });
|
|
30506
30505
|
}, _ = ({ value: P, redirectTo: R }) => {
|
|
30507
|
-
let B = q_(v.deprecated(P, this._utils),
|
|
30506
|
+
let B = q_(v.deprecated(P, this._utils), D, !0);
|
|
30508
30507
|
if (B !== !1) if (B === !0) this._hasDeprecationWarned(g) || this._utils.logger.warn(this._deprecatedHandler(g, R, this._utils));
|
|
30509
30508
|
else for (let { value: M } of B) {
|
|
30510
30509
|
let V = { key: g, value: M };
|
|
@@ -30514,8 +30513,8 @@ var p8 = class extends lp {
|
|
|
30514
30513
|
}
|
|
30515
30514
|
}
|
|
30516
30515
|
};
|
|
30517
|
-
Kw(v.forward(
|
|
30518
|
-
let N = V_(v.redirect(
|
|
30516
|
+
Kw(v.forward(D, this._utils), D).forEach(C);
|
|
30517
|
+
let N = V_(v.redirect(D, this._utils), D);
|
|
30519
30518
|
if (N.redirect.forEach(C), "remain" in N) {
|
|
30520
30519
|
let P = N.remain;
|
|
30521
30520
|
r[g] = g in r ? v.overlap(r[g], P, this._utils) : P, _({ value: P });
|
|
@@ -30524,8 +30523,8 @@ var p8 = class extends lp {
|
|
|
30524
30523
|
}
|
|
30525
30524
|
for (let g of f) {
|
|
30526
30525
|
let v = n[g];
|
|
30527
|
-
this._applyUnknownHandler(g, v, r, (
|
|
30528
|
-
o.push({ [
|
|
30526
|
+
this._applyUnknownHandler(g, v, r, (D, C) => {
|
|
30527
|
+
o.push({ [D]: C });
|
|
30529
30528
|
});
|
|
30530
30529
|
}
|
|
30531
30530
|
return o;
|
|
@@ -30561,9 +30560,9 @@ var p8 = class extends lp {
|
|
|
30561
30560
|
}
|
|
30562
30561
|
for (let f of u) {
|
|
30563
30562
|
let g = r.override[f];
|
|
30564
|
-
this._applyUnknownHandler(f, g, n, (v,
|
|
30563
|
+
this._applyUnknownHandler(f, g, n, (v, D) => {
|
|
30565
30564
|
let C = this._utils.schemas[v];
|
|
30566
|
-
this._applyValidation(
|
|
30565
|
+
this._applyValidation(D, v, C), n[v] = D;
|
|
30567
30566
|
});
|
|
30568
30567
|
}
|
|
30569
30568
|
}
|
|
@@ -30575,10 +30574,10 @@ function k8(n, r, { logger: o = !1, isCLI: u = !1, passThrough: f = !1, FlagSche
|
|
|
30575
30574
|
if (!g) throw new Error("'FlagSchema' option is required.");
|
|
30576
30575
|
if (!v) throw new Error("'descriptor' option is required.");
|
|
30577
30576
|
} else v = Am;
|
|
30578
|
-
let
|
|
30577
|
+
let D = f ? Array.isArray(f) ? (R, B) => f.includes(R) ? { [R]: B } : void 0 : (R, B) => ({ [R]: B }) : (R, B, M) => {
|
|
30579
30578
|
let { _: V, ...H } = M.schemas;
|
|
30580
30579
|
return BA(R, B, { ...M, schemas: H });
|
|
30581
|
-
}, C = w8(r, { isCLI: u, FlagSchema: g }), _ = new b8(C, { logger: o, unknown:
|
|
30580
|
+
}, C = w8(r, { isCLI: u, FlagSchema: g }), _ = new b8(C, { logger: o, unknown: D, descriptor: v }), N = o !== !1;
|
|
30582
30581
|
N && Aw && (_._hasDeprecationWarned = Aw);
|
|
30583
30582
|
let P = _.normalize(n);
|
|
30584
30583
|
return N && (Aw = _._hasDeprecationWarned), P;
|
|
@@ -30590,7 +30589,7 @@ function w8(n, { isCLI: r, FlagSchema: o }) {
|
|
|
30590
30589
|
return u;
|
|
30591
30590
|
}
|
|
30592
30591
|
function D8(n, { isCLI: r, optionInfos: o, FlagSchema: u }) {
|
|
30593
|
-
let { name: f } = n, g = { name: f }, v,
|
|
30592
|
+
let { name: f } = n, g = { name: f }, v, D = {};
|
|
30594
30593
|
switch (n.type) {
|
|
30595
30594
|
case "int":
|
|
30596
30595
|
v = h8, r && (g.preprocess = Number);
|
|
@@ -30613,11 +30612,11 @@ function D8(n, { isCLI: r, optionInfos: o, FlagSchema: u }) {
|
|
|
30613
30612
|
default:
|
|
30614
30613
|
throw new Error(`Unexpected type ${n.type}`);
|
|
30615
30614
|
}
|
|
30616
|
-
if (n.exception ? g.validate = (C, _, N) => n.exception(C) || _.validate(C, N) : g.validate = (C, _, N) => C === void 0 || _.validate(C, N), n.redirect && (
|
|
30615
|
+
if (n.exception ? g.validate = (C, _, N) => n.exception(C) || _.validate(C, N) : g.validate = (C, _, N) => C === void 0 || _.validate(C, N), n.redirect && (D.redirect = (C) => C ? { to: typeof n.redirect == "string" ? n.redirect : { key: n.redirect.option, value: n.redirect.value } } : void 0), n.deprecated && (D.deprecated = !0), r && !n.array) {
|
|
30617
30616
|
let C = g.preprocess || ((_) => _);
|
|
30618
30617
|
g.preprocess = (_, N, P) => N.preprocess(C(Array.isArray(_) ? Xa(!1, _, -1) : _), P);
|
|
30619
30618
|
}
|
|
30620
|
-
return n.array ? n8.create({ ...r ? { preprocess: (C) => Array.isArray(C) ? C : [C] } : {}, ...
|
|
30619
|
+
return n.array ? n8.create({ ...r ? { preprocess: (C) => Array.isArray(C) ? C : [C] } : {}, ...D, valueSchema: v.create(g) }) : v.create({ ...g, ...D });
|
|
30621
30620
|
}
|
|
30622
30621
|
var S8 = k8, x8 = (n, r, o) => {
|
|
30623
30622
|
if (!(n && r == null)) {
|
|
@@ -30661,9 +30660,9 @@ async function _8(n, r = {}) {
|
|
|
30661
30660
|
if (!u.parser) if (u.filepath) {
|
|
30662
30661
|
if (u.parser = YM(u, { physicalFile: u.filepath }), !u.parser) throw new R_(`No parser could be inferred for file "${u.filepath}".`);
|
|
30663
30662
|
} else throw new R_("No parser and no file path given, couldn't infer a parser.");
|
|
30664
|
-
let f = PA({ plugins: n.plugins, showDeprecated: !0 }).options, g = { ...G_, ...Object.fromEntries(f.filter((R) => R.default !== void 0).map((R) => [R.name, R.default])) }, v = MA(u.plugins, u.parser),
|
|
30665
|
-
u.astFormat =
|
|
30666
|
-
let C = (o = v.printers) != null && o[
|
|
30663
|
+
let f = PA({ plugins: n.plugins, showDeprecated: !0 }).options, g = { ...G_, ...Object.fromEntries(f.filter((R) => R.default !== void 0).map((R) => [R.name, R.default])) }, v = MA(u.plugins, u.parser), D = await UA(v, u.parser);
|
|
30664
|
+
u.astFormat = D.astFormat, u.locEnd = D.locEnd, u.locStart = D.locStart;
|
|
30665
|
+
let C = (o = v.printers) != null && o[D.astFormat] ? v : C8(u.plugins, D.astFormat), _ = await E8(C, D.astFormat);
|
|
30667
30666
|
u.printer = _;
|
|
30668
30667
|
let N = C.defaultOptions ? Object.fromEntries(Object.entries(C.defaultOptions).filter(([, R]) => R !== void 0)) : {}, P = { ...g, ...N };
|
|
30669
30668
|
for (let [R, B] of Object.entries(P)) (u[R] === null || u[R] === void 0) && (u[R] = B);
|
|
@@ -30692,7 +30691,7 @@ function F8(n, r) {
|
|
|
30692
30691
|
}
|
|
30693
30692
|
var dy = A8;
|
|
30694
30693
|
async function N8(n, r, o, u, f) {
|
|
30695
|
-
let { embeddedLanguageFormatting: g, printer: { embed: v, hasPrettierIgnore:
|
|
30694
|
+
let { embeddedLanguageFormatting: g, printer: { embed: v, hasPrettierIgnore: D = () => !1, getVisitorKeys: C } } = o;
|
|
30696
30695
|
if (!v || g !== "auto") return;
|
|
30697
30696
|
if (v.length > 2) throw new Error("printer.embed has too many parameters. The API changed in Prettier v3. Please update your plugin. See https://prettier.io/docs/en/plugins.html#optional-embed");
|
|
30698
30697
|
let _ = nk(v.getVisitorKeys ?? C), N = [];
|
|
@@ -30711,7 +30710,7 @@ async function N8(n, r, o, u, f) {
|
|
|
30711
30710
|
}
|
|
30712
30711
|
function B() {
|
|
30713
30712
|
let { node: M } = n;
|
|
30714
|
-
if (M === null || typeof M != "object" ||
|
|
30713
|
+
if (M === null || typeof M != "object" || D(n)) return;
|
|
30715
30714
|
for (let H of _(M)) Array.isArray(M[H]) ? n.each(B, H) : n.call(B, H);
|
|
30716
30715
|
let V = v(n, o);
|
|
30717
30716
|
if (V) {
|
|
@@ -30728,7 +30727,7 @@ async function $8(n, r, o, u) {
|
|
|
30728
30727
|
return wA(v);
|
|
30729
30728
|
}
|
|
30730
30729
|
function P8(n, r) {
|
|
30731
|
-
let { originalText: o, [Symbol.for("comments")]: u, locStart: f, locEnd: g, [Symbol.for("printedComments")]: v } = r, { node:
|
|
30730
|
+
let { originalText: o, [Symbol.for("comments")]: u, locStart: f, locEnd: g, [Symbol.for("printedComments")]: v } = r, { node: D } = n, C = f(D), _ = g(D);
|
|
30732
30731
|
for (let N of u) f(N) >= C && g(N) <= _ && v.add(N);
|
|
30733
30732
|
return o.slice(C, _);
|
|
30734
30733
|
}
|
|
@@ -30740,9 +30739,9 @@ async function rk(n, r) {
|
|
|
30740
30739
|
let g = await Q_(u, r, v, void 0, f);
|
|
30741
30740
|
return MM(r), g;
|
|
30742
30741
|
function v(C, _) {
|
|
30743
|
-
return C === void 0 || C === u ?
|
|
30742
|
+
return C === void 0 || C === u ? D(_) : Array.isArray(C) ? u.call(() => D(_), ...C) : u.call(() => D(_), C);
|
|
30744
30743
|
}
|
|
30745
|
-
function
|
|
30744
|
+
function D(C) {
|
|
30746
30745
|
let _ = u.node;
|
|
30747
30746
|
if (_ == null) return "";
|
|
30748
30747
|
let N = _ && typeof _ == "object" && C === void 0;
|
|
@@ -30753,8 +30752,8 @@ async function rk(n, r) {
|
|
|
30753
30752
|
}
|
|
30754
30753
|
function Q_(n, r, o, u, f) {
|
|
30755
30754
|
var g;
|
|
30756
|
-
let { node: v } = n, { printer:
|
|
30757
|
-
return (g =
|
|
30755
|
+
let { node: v } = n, { printer: D } = r, C;
|
|
30756
|
+
return (g = D.hasPrettierIgnore) != null && g.call(D, n) ? C = R8(n, r) : f.has(v) ? C = f.get(v) : C = D.print(n, r, o, u), v === r.cursorNode && (C = DA(C, (_) => [Ww, _, Ww])), D.printComment && (!D.willPrintOwnComments || !D.willPrintOwnComments(n, r)) && (C = IM(n, C, r)), C;
|
|
30758
30757
|
}
|
|
30759
30758
|
async function HA(n, r) {
|
|
30760
30759
|
let o = n.comments ?? [];
|
|
@@ -30763,9 +30762,9 @@ async function HA(n, r) {
|
|
|
30763
30762
|
return n = u ? await u(n, r) : n, { ast: n, comments: o };
|
|
30764
30763
|
}
|
|
30765
30764
|
function O8(n, r) {
|
|
30766
|
-
let { cursorOffset: o, locStart: u, locEnd: f } = r, g = nk(r.printer.getVisitorKeys), v = (C) => u(C) <= o && f(C) >= o,
|
|
30767
|
-
for (let C of SM(n, { getVisitorKeys: g, filter: v }))
|
|
30768
|
-
return
|
|
30765
|
+
let { cursorOffset: o, locStart: u, locEnd: f } = r, g = nk(r.printer.getVisitorKeys), v = (C) => u(C) <= o && f(C) >= o, D = n;
|
|
30766
|
+
for (let C of SM(n, { getVisitorKeys: g, filter: v })) D = C;
|
|
30767
|
+
return D;
|
|
30769
30768
|
}
|
|
30770
30769
|
var L8 = O8;
|
|
30771
30770
|
function B8(n, r) {
|
|
@@ -30773,12 +30772,12 @@ function B8(n, r) {
|
|
|
30773
30772
|
if (!o) return n;
|
|
30774
30773
|
let f = nk(u), g = o.ignoredProperties ?? /* @__PURE__ */ new Set();
|
|
30775
30774
|
return v(n);
|
|
30776
|
-
function v(
|
|
30777
|
-
if (!(
|
|
30778
|
-
if (Array.isArray(
|
|
30779
|
-
let _ = {}, N = new Set(f(
|
|
30780
|
-
for (let R in
|
|
30781
|
-
let P = o(
|
|
30775
|
+
function v(D, C) {
|
|
30776
|
+
if (!(D !== null && typeof D == "object")) return D;
|
|
30777
|
+
if (Array.isArray(D)) return D.map((R) => v(R, C)).filter(Boolean);
|
|
30778
|
+
let _ = {}, N = new Set(f(D));
|
|
30779
|
+
for (let R in D) !Object.prototype.hasOwnProperty.call(D, R) || g.has(R) || (N.has(R) ? _[R] = v(D[R], D) : _[R] = D[R]);
|
|
30780
|
+
let P = o(D, _, C);
|
|
30782
30781
|
if (P !== null) return P ?? _;
|
|
30783
30782
|
}
|
|
30784
30783
|
}
|
|
@@ -30806,16 +30805,16 @@ function H8(n, r, { locStart: o, locEnd: u }) {
|
|
|
30806
30805
|
let v = o(n.node);
|
|
30807
30806
|
for (let C of K_(r.parentNodes)) if (o(C) >= v) g = C;
|
|
30808
30807
|
else break;
|
|
30809
|
-
let
|
|
30808
|
+
let D = u(r.node);
|
|
30810
30809
|
for (let C of K_(n.parentNodes)) {
|
|
30811
|
-
if (u(C) <=
|
|
30810
|
+
if (u(C) <= D) f = C;
|
|
30812
30811
|
else break;
|
|
30813
30812
|
if (f === g) break;
|
|
30814
30813
|
}
|
|
30815
30814
|
return { startNode: f, endNode: g };
|
|
30816
30815
|
}
|
|
30817
30816
|
function Zw(n, r, o, u, f = [], g) {
|
|
30818
|
-
let { locStart: v, locEnd:
|
|
30817
|
+
let { locStart: v, locEnd: D } = o, C = v(n), _ = D(n);
|
|
30819
30818
|
if (!(r > _ || r < C || g === "rangeEnd" && r === C || g === "rangeStart" && r === _)) {
|
|
30820
30819
|
for (let N of xD(n, o)) {
|
|
30821
30820
|
let P = Zw(N, r, o, u, [n, ...f], g);
|
|
@@ -30856,8 +30855,8 @@ function Z_(n, r, o) {
|
|
|
30856
30855
|
function V8(n, r, o) {
|
|
30857
30856
|
let { rangeStart: u, rangeEnd: f, locStart: g, locEnd: v } = r;
|
|
30858
30857
|
Qw.ok(f > u);
|
|
30859
|
-
let
|
|
30860
|
-
if (!C) for (u +=
|
|
30858
|
+
let D = n.slice(u, f).search(/\S/u), C = D === -1;
|
|
30859
|
+
if (!C) for (u += D; f > u && !/\S/u.test(n[f - 1]); --f) ;
|
|
30861
30860
|
let _ = Zw(o, u, r, (B, M) => Z_(r, B, M), [], "rangeStart"), N = C ? _ : Zw(o, f, r, (B) => Z_(r, B), [], "rangeEnd");
|
|
30862
30861
|
if (!_ || !N) return { rangeStart: 0, rangeEnd: 0 };
|
|
30863
30862
|
let P, R;
|
|
@@ -30879,23 +30878,23 @@ async function VA(n, r, o = 0) {
|
|
|
30879
30878
|
let C = v.formatted.trim();
|
|
30880
30879
|
v.cursorNodeStart !== void 0 && (v.cursorNodeStart -= v.formatted.indexOf(C)), v.formatted = C + vD(r.endOfLine);
|
|
30881
30880
|
}
|
|
30882
|
-
let
|
|
30881
|
+
let D = r[Symbol.for("comments")];
|
|
30883
30882
|
if (r.cursorOffset >= 0) {
|
|
30884
30883
|
let C, _, N, P, R;
|
|
30885
|
-
if (r.cursorNode && v.cursorNodeText ? (C = r.locStart(r.cursorNode), _ = f.slice(C, r.locEnd(r.cursorNode)), N = r.cursorOffset - C, P = v.cursorNodeStart, R = v.cursorNodeText) : (C = 0, _ = f, N = r.cursorOffset, P = 0, R = v.formatted), _ === R) return { formatted: v.formatted, cursorOffset: P + N, comments:
|
|
30884
|
+
if (r.cursorNode && v.cursorNodeText ? (C = r.locStart(r.cursorNode), _ = f.slice(C, r.locEnd(r.cursorNode)), N = r.cursorOffset - C, P = v.cursorNodeStart, R = v.cursorNodeText) : (C = 0, _ = f, N = r.cursorOffset, P = 0, R = v.formatted), _ === R) return { formatted: v.formatted, cursorOffset: P + N, comments: D };
|
|
30886
30885
|
let B = _.split("");
|
|
30887
30886
|
B.splice(N, 0, X_);
|
|
30888
30887
|
let M = R.split(""), V = $4(B, M), H = P;
|
|
30889
30888
|
for (let ge of V) if (ge.removed) {
|
|
30890
30889
|
if (ge.value.includes(X_)) break;
|
|
30891
30890
|
} else H += ge.count;
|
|
30892
|
-
return { formatted: v.formatted, cursorOffset: H, comments:
|
|
30891
|
+
return { formatted: v.formatted, cursorOffset: H, comments: D };
|
|
30893
30892
|
}
|
|
30894
|
-
return { formatted: v.formatted, cursorOffset: -1, comments:
|
|
30893
|
+
return { formatted: v.formatted, cursorOffset: -1, comments: D };
|
|
30895
30894
|
}
|
|
30896
30895
|
async function Y8(n, r) {
|
|
30897
|
-
let { ast: o, text: u } = await dy(n, r), { rangeStart: f, rangeEnd: g } = V8(u, r, o), v = u.slice(f, g),
|
|
30898
|
-
`, f) + 1), C = u.slice(
|
|
30896
|
+
let { ast: o, text: u } = await dy(n, r), { rangeStart: f, rangeEnd: g } = V8(u, r, o), v = u.slice(f, g), D = Math.min(f, u.lastIndexOf(`
|
|
30897
|
+
`, f) + 1), C = u.slice(D, f).match(/^\s*/u)[0], _ = DD(C, r.tabWidth), N = await VA(v, { ...r, rangeStart: 0, rangeEnd: Number.POSITIVE_INFINITY, cursorOffset: r.cursorOffset > f && r.cursorOffset <= g ? r.cursorOffset - f : -1, endOfLine: "lf" }, _), P = N.formatted.trimEnd(), { cursorOffset: R } = r;
|
|
30899
30898
|
R > g ? R += P.length - v.length : N.cursorOffset >= 0 && (R = N.cursorOffset + f);
|
|
30900
30899
|
let B = u.slice(0, f) + P + u.slice(g);
|
|
30901
30900
|
if (r.endOfLine !== "lf") {
|
|
@@ -30917,9 +30916,9 @@ function J_(n, r) {
|
|
|
30917
30916
|
function YA(n, r) {
|
|
30918
30917
|
let { cursorOffset: o, rangeStart: u, rangeEnd: f, endOfLine: g } = J_(n, r), v = n.charAt(0) === WA;
|
|
30919
30918
|
if (v && (n = n.slice(1), o--, u--, f--), g === "auto" && (g = P4(n)), n.includes("\r")) {
|
|
30920
|
-
let
|
|
30919
|
+
let D = (C) => pA(n.slice(0, Math.max(C, 0)), `\r
|
|
30921
30920
|
`);
|
|
30922
|
-
o -=
|
|
30921
|
+
o -= D(o), u -= D(u), f -= D(f), n = R4(n);
|
|
30923
30922
|
}
|
|
30924
30923
|
return { hasBOM: v, text: n, options: J_(n, { ...r, cursorOffset: o, rangeStart: u, rangeEnd: f, endOfLine: g }) };
|
|
30925
30924
|
}
|
|
@@ -31013,7 +31012,7 @@ function g6(n, r, o = {}) {
|
|
|
31013
31012
|
}
|
|
31014
31013
|
var v6 = g6;
|
|
31015
31014
|
function y6(n, r, o) {
|
|
31016
|
-
let u = r === '"' ? "'" : '"', f = X0(!1, n, /\\(.)|(["'])/gsu, (g, v,
|
|
31015
|
+
let u = r === '"' ? "'" : '"', f = X0(!1, n, /\\(.)|(["'])/gsu, (g, v, D) => v === u ? v : D === r ? "\\" + D : D || (o && /^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/u.test(v) ? v : "\\" + v));
|
|
31017
31016
|
return r + f + r;
|
|
31018
31017
|
}
|
|
31019
31018
|
var b6 = y6;
|
|
@@ -31060,13 +31059,13 @@ var _6 = Ff(PA, 0), T6 = { parse: Ff(G8), formatAST: Ff(Q8), formatDoc: Ff(K8),
|
|
|
31060
31059
|
})(function() {
|
|
31061
31060
|
var o = Object.defineProperty, u = Object.getOwnPropertyDescriptor, f = Object.getOwnPropertyNames, g = Object.prototype.hasOwnProperty, v = (d) => {
|
|
31062
31061
|
throw TypeError(d);
|
|
31063
|
-
},
|
|
31062
|
+
}, D = (d, h) => {
|
|
31064
31063
|
for (var b in h) o(d, b, { get: h[b], enumerable: !0 });
|
|
31065
31064
|
}, C = (d, h, b, x) => {
|
|
31066
31065
|
if (h && typeof h == "object" || typeof h == "function") for (let A of f(h)) !g.call(d, A) && A !== b && o(d, A, { get: () => h[A], enumerable: !(x = u(h, A)) || x.enumerable });
|
|
31067
31066
|
return d;
|
|
31068
31067
|
}, _ = (d) => C(o({}, "__esModule", { value: !0 }), d), N = (d, h, b) => h.has(d) || v("Cannot " + b), P = (d, h, b) => (N(d, h, "read from private field"), h.get(d)), R = (d, h, b) => h.has(d) ? v("Cannot add the same private member more than once") : h instanceof WeakSet ? h.add(d) : h.set(d, b), B = (d, h, b, x) => (N(d, h, "write to private field"), h.set(d, b), b), M = {};
|
|
31069
|
-
|
|
31068
|
+
D(M, { languages: () => Uu, options: () => eg, parsers: () => Xc, printers: () => pd });
|
|
31070
31069
|
var V = (d, h, b, x) => {
|
|
31071
31070
|
if (!(d && h == null)) return h.replaceAll ? h.replaceAll(b, x) : b.global ? h.replace(b, x) : h.split(b).join(x);
|
|
31072
31071
|
}, H = V, ge = "string", K = "array", Y = "cursor", te = "indent", U = "align", re = "trim", oe = "group", Te = "fill", ye = "if-break", qe = "indent-if-break", nt = "line-suffix", We = "line-suffix-boundary", Fe = "line", $e = "label", Ke = "break-parent", Pe = /* @__PURE__ */ new Set([Y, te, U, re, oe, Te, ye, qe, nt, We, Fe, $e, Ke]);
|
|
@@ -32285,7 +32284,7 @@ Expected it to be ${x}.`;
|
|
|
32285
32284
|
}
|
|
32286
32285
|
}
|
|
32287
32286
|
var Kc = { preprocess: ql, print: sh, insertPragma: Zm, massageAstNode: is, embed: Ml, getVisitorKeys: Qm }, zu = Kc, Uu = [{ linguistLanguageId: 146, name: "Angular", type: "markup", tmScope: "text.html.basic", aceMode: "html", codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", color: "#e34c26", aliases: ["xhtml"], extensions: [".component.html"], parsers: ["angular"], vscodeLanguageIds: ["html"], filenames: [] }, { linguistLanguageId: 146, name: "HTML", type: "markup", tmScope: "text.html.basic", aceMode: "html", codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", color: "#e34c26", aliases: ["xhtml"], extensions: [".html", ".hta", ".htm", ".html.hl", ".inc", ".xht", ".xhtml", ".mjml"], parsers: ["html"], vscodeLanguageIds: ["html"] }, { linguistLanguageId: 146, name: "Lightning Web Components", type: "markup", tmScope: "text.html.basic", aceMode: "html", codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", color: "#e34c26", aliases: ["xhtml"], extensions: [], parsers: ["lwc"], vscodeLanguageIds: ["html"], filenames: [] }, { linguistLanguageId: 391, name: "Vue", type: "markup", color: "#41b883", extensions: [".vue"], tmScope: "text.html.vue", aceMode: "html", parsers: ["vue"], vscodeLanguageIds: ["vue"] }], vs = { bracketSpacing: { category: "Common", type: "boolean", default: !0, description: "Print spaces between brackets.", oppositeDescription: "Do not print spaces between brackets." }, singleQuote: { category: "Common", type: "boolean", default: !1, description: "Use single quotes instead of double quotes." }, proseWrap: { category: "Common", type: "choice", default: "preserve", description: "How to wrap prose.", choices: [{ value: "always", description: "Wrap prose if it exceeds the print width." }, { value: "never", description: "Do not wrap prose." }, { value: "preserve", description: "Wrap prose as-is." }] }, bracketSameLine: { category: "Common", type: "boolean", default: !1, description: "Put > of opening tags on the last line instead of on a new line." }, singleAttributePerLine: { category: "Common", type: "boolean", default: !1, description: "Enforce single attribute per line in HTML, Vue and JSX." } }, Zc = "HTML", Tp = { bracketSameLine: vs.bracketSameLine, htmlWhitespaceSensitivity: { category: Zc, type: "choice", default: "css", description: "How to handle whitespaces in HTML.", choices: [{ value: "css", description: "Respect the default value of CSS display property." }, { value: "strict", description: "Whitespaces are considered sensitive." }, { value: "ignore", description: "Whitespaces are considered insensitive." }] }, singleAttributePerLine: vs.singleAttributePerLine, vueIndentScriptAndStyle: { category: Zc, type: "boolean", default: !1, description: "Indent script and style tags in Vue files." } }, eg = Tp, Xc = {};
|
|
32288
|
-
|
|
32287
|
+
D(Xc, { angular: () => cd, html: () => ur, lwc: () => Mp, vue: () => dd });
|
|
32289
32288
|
var Hu;
|
|
32290
32289
|
(function(d) {
|
|
32291
32290
|
d[d.Emulated = 0] = "Emulated", d[d.None = 2] = "None", d[d.ShadowDom = 3] = "ShadowDom";
|
|
@@ -33826,26 +33825,26 @@ function z6(n, r) {
|
|
|
33826
33825
|
};
|
|
33827
33826
|
}
|
|
33828
33827
|
function iF(n) {
|
|
33829
|
-
var r = n.node, o = n.stylesheet, u = n.style, f = u === void 0 ? {} : u, g = n.useInlineStyles, v = n.key,
|
|
33828
|
+
var r = n.node, o = n.stylesheet, u = n.style, f = u === void 0 ? {} : u, g = n.useInlineStyles, v = n.key, D = r.properties, C = r.type, _ = r.tagName, N = r.value;
|
|
33830
33829
|
if (C === "text")
|
|
33831
33830
|
return N;
|
|
33832
33831
|
if (_) {
|
|
33833
33832
|
var P = z6(o, g), R;
|
|
33834
33833
|
if (!g)
|
|
33835
|
-
R = Nm(Nm({},
|
|
33836
|
-
className: rT(
|
|
33834
|
+
R = Nm(Nm({}, D), {}, {
|
|
33835
|
+
className: rT(D.className)
|
|
33837
33836
|
});
|
|
33838
33837
|
else {
|
|
33839
33838
|
var B = Object.keys(o).reduce(function(ge, K) {
|
|
33840
33839
|
return K.split(".").forEach(function(Y) {
|
|
33841
33840
|
ge.includes(Y) || ge.push(Y);
|
|
33842
33841
|
}), ge;
|
|
33843
|
-
}, []), M =
|
|
33842
|
+
}, []), M = D.className && D.className.includes("token") ? ["token"] : [], V = D.className && M.concat(D.className.filter(function(ge) {
|
|
33844
33843
|
return !B.includes(ge);
|
|
33845
33844
|
}));
|
|
33846
|
-
R = Nm(Nm({},
|
|
33845
|
+
R = Nm(Nm({}, D), {}, {
|
|
33847
33846
|
className: rT(V) || void 0,
|
|
33848
|
-
style: M6(
|
|
33847
|
+
style: M6(D.className, Object.assign({}, D.style, f), o)
|
|
33849
33848
|
});
|
|
33850
33849
|
}
|
|
33851
33850
|
var H = P(r.children);
|
|
@@ -33900,14 +33899,14 @@ function Y6(n) {
|
|
|
33900
33899
|
var r = n.codeString, o = n.codeStyle, u = n.containerStyle, f = u === void 0 ? {
|
|
33901
33900
|
float: "left",
|
|
33902
33901
|
paddingRight: "10px"
|
|
33903
|
-
} : u, g = n.numberStyle, v = g === void 0 ? {} : g,
|
|
33902
|
+
} : u, g = n.numberStyle, v = g === void 0 ? {} : g, D = n.startingLineNumber;
|
|
33904
33903
|
return /* @__PURE__ */ un.createElement("code", {
|
|
33905
33904
|
style: Object.assign({}, o, f)
|
|
33906
33905
|
}, V6({
|
|
33907
33906
|
lines: r.replace(/\n$/, "").split(`
|
|
33908
33907
|
`),
|
|
33909
33908
|
style: v,
|
|
33910
|
-
startingLineNumber:
|
|
33909
|
+
startingLineNumber: D
|
|
33911
33910
|
}));
|
|
33912
33911
|
}
|
|
33913
33912
|
function G6(n) {
|
|
@@ -33939,7 +33938,7 @@ function sF(n, r, o) {
|
|
|
33939
33938
|
return g;
|
|
33940
33939
|
}
|
|
33941
33940
|
function $0(n) {
|
|
33942
|
-
var r = n.children, o = n.lineNumber, u = n.lineNumberStyle, f = n.largestLineNumber, g = n.showInlineLineNumbers, v = n.lineProps,
|
|
33941
|
+
var r = n.children, o = n.lineNumber, u = n.lineNumberStyle, f = n.largestLineNumber, g = n.showInlineLineNumbers, v = n.lineProps, D = v === void 0 ? {} : v, C = n.className, _ = C === void 0 ? [] : C, N = n.showLineNumbers, P = n.wrapLongLines, R = n.wrapLines, B = R === void 0 ? !1 : R, M = B ? Xd({}, typeof D == "function" ? D(o) : D) : {};
|
|
33943
33942
|
if (M.className = M.className ? [].concat(tD(M.className.trim().split(/\s+/)), tD(_)) : _, o && g) {
|
|
33944
33943
|
var V = sF(u, o, f);
|
|
33945
33944
|
r.unshift(oF(o, V));
|
|
@@ -33970,14 +33969,14 @@ function lF(n) {
|
|
|
33970
33969
|
}
|
|
33971
33970
|
return o;
|
|
33972
33971
|
}
|
|
33973
|
-
function Q6(n, r, o, u, f, g, v,
|
|
33972
|
+
function Q6(n, r, o, u, f, g, v, D, C) {
|
|
33974
33973
|
var _, N = lF(n.value), P = [], R = -1, B = 0;
|
|
33975
33974
|
function M(U, re) {
|
|
33976
33975
|
var oe = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];
|
|
33977
33976
|
return $0({
|
|
33978
33977
|
children: U,
|
|
33979
33978
|
lineNumber: re,
|
|
33980
|
-
lineNumberStyle:
|
|
33979
|
+
lineNumberStyle: D,
|
|
33981
33980
|
largestLineNumber: v,
|
|
33982
33981
|
showInlineLineNumbers: f,
|
|
33983
33982
|
lineProps: o,
|
|
@@ -33989,7 +33988,7 @@ function Q6(n, r, o, u, f, g, v, S, C) {
|
|
|
33989
33988
|
}
|
|
33990
33989
|
function V(U, re) {
|
|
33991
33990
|
if (u && re && f) {
|
|
33992
|
-
var oe = sF(
|
|
33991
|
+
var oe = sF(D, re, v);
|
|
33993
33992
|
U.unshift(oF(re, oe));
|
|
33994
33993
|
}
|
|
33995
33994
|
return U;
|
|
@@ -34085,9 +34084,9 @@ function Z6(n) {
|
|
|
34085
34084
|
}
|
|
34086
34085
|
function X6(n, r) {
|
|
34087
34086
|
return function(u) {
|
|
34088
|
-
var f = u.language, g = u.children, v = u.style,
|
|
34087
|
+
var f = u.language, g = u.children, v = u.style, D = v === void 0 ? r : v, C = u.customStyle, _ = C === void 0 ? {} : C, N = u.codeTagProps, P = N === void 0 ? {
|
|
34089
34088
|
className: f ? "language-".concat(f) : void 0,
|
|
34090
|
-
style: Xd(Xd({},
|
|
34089
|
+
style: Xd(Xd({}, D['code[class*="language-"]']), D['code[class*="language-'.concat(f, '"]')])
|
|
34091
34090
|
} : N, R = u.useInlineStyles, B = R === void 0 ? !0 : R, M = u.showLineNumbers, V = M === void 0 ? !1 : M, H = u.showInlineLineNumbers, ge = H === void 0 ? !0 : H, K = u.startingLineNumber, Y = K === void 0 ? 1 : K, te = u.lineNumberContainerStyle, U = u.lineNumberStyle, re = U === void 0 ? {} : U, oe = u.wrapLines, Te = u.wrapLongLines, ye = Te === void 0 ? !1 : Te, qe = u.lineProps, nt = qe === void 0 ? {} : qe, We = u.renderer, Fe = u.PreTag, $e = Fe === void 0 ? "pre" : Fe, Ke = u.CodeTag, Pe = Ke === void 0 ? "code" : Ke, Be = u.code, ve = Be === void 0 ? (Array.isArray(g) ? g[0] : g) || "" : Be, Re = u.astGenerator, Ce = N6(u, H6);
|
|
34092
34091
|
Re = Re || n;
|
|
34093
34092
|
var G = V ? /* @__PURE__ */ un.createElement(Y6, {
|
|
@@ -34096,7 +34095,7 @@ function X6(n, r) {
|
|
|
34096
34095
|
numberStyle: re,
|
|
34097
34096
|
startingLineNumber: Y,
|
|
34098
34097
|
codeString: ve
|
|
34099
|
-
}) : null, ce =
|
|
34098
|
+
}) : null, ce = D.hljs || D['pre[class*="language-"]'] || {
|
|
34100
34099
|
backgroundColor: "#fff"
|
|
34101
34100
|
}, mt = uF(Re) ? "hljs" : "prismjs", lt = B ? Object.assign({}, Ce, {
|
|
34102
34101
|
style: Object.assign({}, ce, _)
|
|
@@ -34127,7 +34126,7 @@ function X6(n, r) {
|
|
|
34127
34126
|
var Pt = at + Y, Ot = Q6(gt, oe, nt, V, ge, Y, Pt, re, ye);
|
|
34128
34127
|
return /* @__PURE__ */ un.createElement($e, lt, /* @__PURE__ */ un.createElement(Pe, P, !ge && G, We({
|
|
34129
34128
|
rows: Ot,
|
|
34130
|
-
stylesheet:
|
|
34129
|
+
stylesheet: D,
|
|
34131
34130
|
useInlineStyles: B
|
|
34132
34131
|
})));
|
|
34133
34132
|
};
|
|
@@ -34211,15 +34210,15 @@ function sT(n, r, o) {
|
|
|
34211
34210
|
}
|
|
34212
34211
|
var lT = ND, l5 = cF, u5 = mF, py = c5;
|
|
34213
34212
|
function c5(n) {
|
|
34214
|
-
var r = n.space, o = n.mustUseProperty || [], u = n.attributes || {}, f = n.properties, g = n.transform, v = {},
|
|
34213
|
+
var r = n.space, o = n.mustUseProperty || [], u = n.attributes || {}, f = n.properties, g = n.transform, v = {}, D = {}, C, _;
|
|
34215
34214
|
for (C in f)
|
|
34216
34215
|
_ = new u5(
|
|
34217
34216
|
C,
|
|
34218
34217
|
g(u, C),
|
|
34219
34218
|
f[C],
|
|
34220
34219
|
r
|
|
34221
|
-
), o.indexOf(C) !== -1 && (_.mustUseProperty = !0), v[C] = _,
|
|
34222
|
-
return new l5(v,
|
|
34220
|
+
), o.indexOf(C) !== -1 && (_.mustUseProperty = !0), v[C] = _, D[lT(C)] = C, D[lT(_.attribute)] = C;
|
|
34221
|
+
return new l5(v, D, r);
|
|
34223
34222
|
}
|
|
34224
34223
|
var d5 = py, p5 = d5({
|
|
34225
34224
|
space: "xlink",
|
|
@@ -34691,8 +34690,8 @@ function G5(n) {
|
|
|
34691
34690
|
}
|
|
34692
34691
|
var Q5 = K5, uT = /[#.]/g;
|
|
34693
34692
|
function K5(n, r) {
|
|
34694
|
-
for (var o = n || "", u = r || "div", f = {}, g = 0, v,
|
|
34695
|
-
uT.lastIndex = g, C = uT.exec(o), v = o.slice(g, C ? C.index : o.length), v && (
|
|
34693
|
+
for (var o = n || "", u = r || "div", f = {}, g = 0, v, D, C; g < o.length; )
|
|
34694
|
+
uT.lastIndex = g, C = uT.exec(o), v = o.slice(g, C ? C.index : o.length), v && (D ? D === "#" ? f.id = v : f.className ? f.className.push(v) : f.className = [v] : u = v, g += v.length), C && (D = C[0], g++);
|
|
34696
34695
|
return { type: "element", tagName: u, properties: f, children: [] };
|
|
34697
34696
|
}
|
|
34698
34697
|
var OD = {};
|
|
@@ -34723,16 +34722,16 @@ var r9 = z5, pT = ND, a9 = Q5, fT = OD.parse, hT = LD.parse, i9 = s9, o9 = {}.ha
|
|
|
34723
34722
|
function s9(n, r, o) {
|
|
34724
34723
|
var u = o ? p9(o) : null;
|
|
34725
34724
|
return f;
|
|
34726
|
-
function f(v,
|
|
34725
|
+
function f(v, D) {
|
|
34727
34726
|
var C = a9(v, r), _ = Array.prototype.slice.call(arguments, 2), N = C.tagName.toLowerCase(), P;
|
|
34728
|
-
if (C.tagName = u && o9.call(u, N) ? u[N] : N,
|
|
34729
|
-
for (P in
|
|
34730
|
-
g(C.properties, P,
|
|
34727
|
+
if (C.tagName = u && o9.call(u, N) ? u[N] : N, D && l9(D, C) && (_.unshift(D), D = null), D)
|
|
34728
|
+
for (P in D)
|
|
34729
|
+
g(C.properties, P, D[P]);
|
|
34731
34730
|
return bF(C.children, _), C.tagName === "template" && (C.content = { type: "root", children: C.children }, C.children = []), C;
|
|
34732
34731
|
}
|
|
34733
|
-
function g(v,
|
|
34732
|
+
function g(v, D, C) {
|
|
34734
34733
|
var _, N, P;
|
|
34735
|
-
C == null || C !== C || (_ = r9(n,
|
|
34734
|
+
C == null || C !== C || (_ = r9(n, D), N = _.property, P = C, typeof P == "string" && (_.spaceSeparated ? P = fT(P) : _.commaSeparated ? P = hT(P) : _.commaOrSpaceSeparated && (P = fT(hT(P).join(" ")))), N === "style" && typeof C != "string" && (P = d9(P)), N === "className" && v.className && (P = v.className.concat(P)), v[N] = c9(_, N, P));
|
|
34736
34735
|
}
|
|
34737
34736
|
}
|
|
34738
34737
|
function l9(n, r) {
|
|
@@ -34978,7 +34977,7 @@ function Wz(n, r) {
|
|
|
34978
34977
|
return (o.position.indent || o.position.start) && (o.indent = o.position.indent || [], o.position = o.position.start), Vz(n, o);
|
|
34979
34978
|
}
|
|
34980
34979
|
function Vz(n, r) {
|
|
34981
|
-
var o = r.additional, u = r.nonTerminated, f = r.text, g = r.reference, v = r.warning,
|
|
34980
|
+
var o = r.additional, u = r.nonTerminated, f = r.text, g = r.reference, v = r.warning, D = r.textContext, C = r.referenceContext, _ = r.warningContext, N = r.position, P = r.indent || [], R = n.length, B = 0, M = -1, V = N.column || 1, H = N.line || 1, ge = "", K = [], Y, te, U, re, oe, Te, ye, qe, nt, We, Fe, $e, Ke, Pe, Be, ve, Re, Ce, G;
|
|
34982
34981
|
for (typeof o == "string" && (o = o.charCodeAt(0)), ve = ce(), qe = v ? mt : Rz, B--, R++; ++B < R; )
|
|
34983
34982
|
if (oe === bT && (V = P[M] || 1), oe = n.charCodeAt(B), oe === kT) {
|
|
34984
34983
|
if (ye = n.charCodeAt(B + 1), ye === Oz || ye === bT || ye === Lz || ye === Bz || ye === kT || ye === Iz || ye !== ye || o && ye === o) {
|
|
@@ -35008,7 +35007,7 @@ function Vz(n, r) {
|
|
|
35008
35007
|
at.column += gt, at.offset += gt, v.call(_, up[ut], at, ut);
|
|
35009
35008
|
}
|
|
35010
35009
|
function lt() {
|
|
35011
|
-
ge && (K.push(ge), f && f.call(
|
|
35010
|
+
ge && (K.push(ge), f && f.call(D, ge, { start: ve, end: ce() }), ge = "");
|
|
35012
35011
|
}
|
|
35013
35012
|
}
|
|
35014
35013
|
function Yz(n) {
|
|
@@ -35029,7 +35028,7 @@ var AF = { exports: {} };
|
|
|
35029
35028
|
* @public
|
|
35030
35029
|
*/
|
|
35031
35030
|
var o = function(u) {
|
|
35032
|
-
var f = /(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i, g = 0, v = {},
|
|
35031
|
+
var f = /(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i, g = 0, v = {}, D = {
|
|
35033
35032
|
/**
|
|
35034
35033
|
* By default, Prism will attempt to highlight all code elements (by calling {@link Prism.highlightAll}) on the
|
|
35035
35034
|
* current page after the page finished loading. This might be a problem if e.g. you wanted to asynchronously load
|
|
@@ -35128,9 +35127,9 @@ var AF = { exports: {} };
|
|
|
35128
35127
|
clone: function K(Y, te) {
|
|
35129
35128
|
te = te || {};
|
|
35130
35129
|
var U, re;
|
|
35131
|
-
switch (
|
|
35130
|
+
switch (D.util.type(Y)) {
|
|
35132
35131
|
case "Object":
|
|
35133
|
-
if (re =
|
|
35132
|
+
if (re = D.util.objId(Y), te[re])
|
|
35134
35133
|
return te[re];
|
|
35135
35134
|
U = /** @type {Record<string, any>} */
|
|
35136
35135
|
{}, te[re] = U;
|
|
@@ -35141,7 +35140,7 @@ var AF = { exports: {} };
|
|
|
35141
35140
|
U
|
|
35142
35141
|
);
|
|
35143
35142
|
case "Array":
|
|
35144
|
-
return re =
|
|
35143
|
+
return re = D.util.objId(Y), te[re] ? te[re] : (U = [], te[re] = U, /** @type {Array} */
|
|
35145
35144
|
/** @type {any} */
|
|
35146
35145
|
Y.forEach(function(Te, ye) {
|
|
35147
35146
|
U[ye] = K(Te, te);
|
|
@@ -35281,7 +35280,7 @@ var AF = { exports: {} };
|
|
|
35281
35280
|
* });
|
|
35282
35281
|
*/
|
|
35283
35282
|
extend: function(K, Y) {
|
|
35284
|
-
var te =
|
|
35283
|
+
var te = D.util.clone(D.languages[K]);
|
|
35285
35284
|
for (var U in Y)
|
|
35286
35285
|
te[U] = Y[U];
|
|
35287
35286
|
return te;
|
|
@@ -35363,7 +35362,7 @@ var AF = { exports: {} };
|
|
|
35363
35362
|
*/
|
|
35364
35363
|
insertBefore: function(K, Y, te, U) {
|
|
35365
35364
|
U = U || /** @type {any} */
|
|
35366
|
-
|
|
35365
|
+
D.languages;
|
|
35367
35366
|
var re = U[K], oe = {};
|
|
35368
35367
|
for (var Te in re)
|
|
35369
35368
|
if (re.hasOwnProperty(Te)) {
|
|
@@ -35373,18 +35372,18 @@ var AF = { exports: {} };
|
|
|
35373
35372
|
te.hasOwnProperty(Te) || (oe[Te] = re[Te]);
|
|
35374
35373
|
}
|
|
35375
35374
|
var qe = U[K];
|
|
35376
|
-
return U[K] = oe,
|
|
35375
|
+
return U[K] = oe, D.languages.DFS(D.languages, function(nt, We) {
|
|
35377
35376
|
We === qe && nt != K && (this[nt] = oe);
|
|
35378
35377
|
}), oe;
|
|
35379
35378
|
},
|
|
35380
35379
|
// Traverse a language definition with Depth First Search
|
|
35381
35380
|
DFS: function K(Y, te, U, re) {
|
|
35382
35381
|
re = re || {};
|
|
35383
|
-
var oe =
|
|
35382
|
+
var oe = D.util.objId;
|
|
35384
35383
|
for (var Te in Y)
|
|
35385
35384
|
if (Y.hasOwnProperty(Te)) {
|
|
35386
35385
|
te.call(Y, Te, Y[Te], U || Te);
|
|
35387
|
-
var ye = Y[Te], qe =
|
|
35386
|
+
var ye = Y[Te], qe = D.util.type(ye);
|
|
35388
35387
|
qe === "Object" && !re[oe(ye)] ? (re[oe(ye)] = !0, K(ye, te, null, re)) : qe === "Array" && !re[oe(ye)] && (re[oe(ye)] = !0, K(ye, te, Te, re));
|
|
35389
35388
|
}
|
|
35390
35389
|
}
|
|
@@ -35403,7 +35402,7 @@ var AF = { exports: {} };
|
|
|
35403
35402
|
* @public
|
|
35404
35403
|
*/
|
|
35405
35404
|
highlightAll: function(K, Y) {
|
|
35406
|
-
|
|
35405
|
+
D.highlightAllUnder(document, K, Y);
|
|
35407
35406
|
},
|
|
35408
35407
|
/**
|
|
35409
35408
|
* Fetches all the descendants of `container` that have a `.language-xxxx` class and then calls
|
|
@@ -35426,9 +35425,9 @@ var AF = { exports: {} };
|
|
|
35426
35425
|
container: K,
|
|
35427
35426
|
selector: 'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'
|
|
35428
35427
|
};
|
|
35429
|
-
|
|
35428
|
+
D.hooks.run("before-highlightall", U), U.elements = Array.prototype.slice.apply(U.container.querySelectorAll(U.selector)), D.hooks.run("before-all-elements-highlight", U);
|
|
35430
35429
|
for (var re = 0, oe; oe = U.elements[re++]; )
|
|
35431
|
-
|
|
35430
|
+
D.highlightElement(oe, Y === !0, U.callback);
|
|
35432
35431
|
},
|
|
35433
35432
|
/**
|
|
35434
35433
|
* Highlights the code inside a single element.
|
|
@@ -35459,10 +35458,10 @@ var AF = { exports: {} };
|
|
|
35459
35458
|
* @public
|
|
35460
35459
|
*/
|
|
35461
35460
|
highlightElement: function(K, Y, te) {
|
|
35462
|
-
var U =
|
|
35463
|
-
|
|
35461
|
+
var U = D.util.getLanguage(K), re = D.languages[U];
|
|
35462
|
+
D.util.setLanguage(K, U);
|
|
35464
35463
|
var oe = K.parentElement;
|
|
35465
|
-
oe && oe.nodeName.toLowerCase() === "pre" &&
|
|
35464
|
+
oe && oe.nodeName.toLowerCase() === "pre" && D.util.setLanguage(oe, U);
|
|
35466
35465
|
var Te = K.textContent, ye = {
|
|
35467
35466
|
element: K,
|
|
35468
35467
|
language: U,
|
|
@@ -35470,18 +35469,18 @@ var AF = { exports: {} };
|
|
|
35470
35469
|
code: Te
|
|
35471
35470
|
};
|
|
35472
35471
|
function qe(We) {
|
|
35473
|
-
ye.highlightedCode = We,
|
|
35472
|
+
ye.highlightedCode = We, D.hooks.run("before-insert", ye), ye.element.innerHTML = ye.highlightedCode, D.hooks.run("after-highlight", ye), D.hooks.run("complete", ye), te && te.call(ye.element);
|
|
35474
35473
|
}
|
|
35475
|
-
if (
|
|
35476
|
-
|
|
35474
|
+
if (D.hooks.run("before-sanity-check", ye), oe = ye.element.parentElement, oe && oe.nodeName.toLowerCase() === "pre" && !oe.hasAttribute("tabindex") && oe.setAttribute("tabindex", "0"), !ye.code) {
|
|
35475
|
+
D.hooks.run("complete", ye), te && te.call(ye.element);
|
|
35477
35476
|
return;
|
|
35478
35477
|
}
|
|
35479
|
-
if (
|
|
35480
|
-
qe(
|
|
35478
|
+
if (D.hooks.run("before-highlight", ye), !ye.grammar) {
|
|
35479
|
+
qe(D.util.encode(ye.code));
|
|
35481
35480
|
return;
|
|
35482
35481
|
}
|
|
35483
35482
|
if (Y && u.Worker) {
|
|
35484
|
-
var nt = new Worker(
|
|
35483
|
+
var nt = new Worker(D.filename);
|
|
35485
35484
|
nt.onmessage = function(We) {
|
|
35486
35485
|
qe(We.data);
|
|
35487
35486
|
}, nt.postMessage(JSON.stringify({
|
|
@@ -35490,7 +35489,7 @@ var AF = { exports: {} };
|
|
|
35490
35489
|
immediateClose: !0
|
|
35491
35490
|
}));
|
|
35492
35491
|
} else
|
|
35493
|
-
qe(
|
|
35492
|
+
qe(D.highlight(ye.code, ye.grammar, ye.language));
|
|
35494
35493
|
},
|
|
35495
35494
|
/**
|
|
35496
35495
|
* Low-level function, only use if you know what you’re doing. It accepts a string of text as input
|
|
@@ -35518,9 +35517,9 @@ var AF = { exports: {} };
|
|
|
35518
35517
|
grammar: Y,
|
|
35519
35518
|
language: te
|
|
35520
35519
|
};
|
|
35521
|
-
if (
|
|
35520
|
+
if (D.hooks.run("before-tokenize", U), !U.grammar)
|
|
35522
35521
|
throw new Error('The language "' + U.language + '" has no grammar.');
|
|
35523
|
-
return U.tokens =
|
|
35522
|
+
return U.tokens = D.tokenize(U.code, U.grammar), D.hooks.run("after-tokenize", U), C.stringify(D.util.encode(U.tokens), U.language);
|
|
35524
35523
|
},
|
|
35525
35524
|
/**
|
|
35526
35525
|
* This is the heart of Prism, and the most low-level function you can use. It accepts a string of text as input
|
|
@@ -35576,7 +35575,7 @@ var AF = { exports: {} };
|
|
|
35576
35575
|
* @public
|
|
35577
35576
|
*/
|
|
35578
35577
|
add: function(K, Y) {
|
|
35579
|
-
var te =
|
|
35578
|
+
var te = D.hooks.all;
|
|
35580
35579
|
te[K] = te[K] || [], te[K].push(Y);
|
|
35581
35580
|
},
|
|
35582
35581
|
/**
|
|
@@ -35589,7 +35588,7 @@ var AF = { exports: {} };
|
|
|
35589
35588
|
* @public
|
|
35590
35589
|
*/
|
|
35591
35590
|
run: function(K, Y) {
|
|
35592
|
-
var te =
|
|
35591
|
+
var te = D.hooks.all[K];
|
|
35593
35592
|
if (!(!te || !te.length))
|
|
35594
35593
|
for (var U = 0, re; re = te[U++]; )
|
|
35595
35594
|
re(Y);
|
|
@@ -35597,7 +35596,7 @@ var AF = { exports: {} };
|
|
|
35597
35596
|
},
|
|
35598
35597
|
Token: C
|
|
35599
35598
|
};
|
|
35600
|
-
u.Prism =
|
|
35599
|
+
u.Prism = D;
|
|
35601
35600
|
function C(K, Y, te, U) {
|
|
35602
35601
|
this.type = K, this.content = Y, this.alias = te, this.length = (U || "").length | 0;
|
|
35603
35602
|
}
|
|
@@ -35618,7 +35617,7 @@ var AF = { exports: {} };
|
|
|
35618
35617
|
attributes: {},
|
|
35619
35618
|
language: te
|
|
35620
35619
|
}, oe = Y.alias;
|
|
35621
|
-
oe && (Array.isArray(oe) ? Array.prototype.push.apply(re.classes, oe) : re.classes.push(oe)),
|
|
35620
|
+
oe && (Array.isArray(oe) ? Array.prototype.push.apply(re.classes, oe) : re.classes.push(oe)), D.hooks.run("wrap", re);
|
|
35622
35621
|
var Te = "";
|
|
35623
35622
|
for (var ye in re.attributes)
|
|
35624
35623
|
Te += " " + ye + '="' + (re.attributes[ye] || "").replace(/"/g, """) + '"';
|
|
@@ -35669,7 +35668,7 @@ var AF = { exports: {} };
|
|
|
35669
35668
|
oe && an > oe.reach && (oe.reach = an);
|
|
35670
35669
|
var Tn = ve.prev;
|
|
35671
35670
|
Pt && (Tn = R(Y, Tn, Pt), Re += Pt.length), B(Y, Tn, G);
|
|
35672
|
-
var yr = new C(Te, We ?
|
|
35671
|
+
var yr = new C(Te, We ? D.tokenize(at, We) : at, Ke, at);
|
|
35673
35672
|
if (ve = R(Y, Tn, yr), Ot && R(Y, ve, Ot), G > 1) {
|
|
35674
35673
|
var en = {
|
|
35675
35674
|
cause: Te + "," + qe,
|
|
@@ -35701,20 +35700,20 @@ var AF = { exports: {} };
|
|
|
35701
35700
|
return Y;
|
|
35702
35701
|
}
|
|
35703
35702
|
if (!u.document)
|
|
35704
|
-
return u.addEventListener && (
|
|
35703
|
+
return u.addEventListener && (D.disableWorkerMessageHandler || u.addEventListener("message", function(K) {
|
|
35705
35704
|
var Y = JSON.parse(K.data), te = Y.language, U = Y.code, re = Y.immediateClose;
|
|
35706
|
-
u.postMessage(
|
|
35707
|
-
}, !1)),
|
|
35708
|
-
var V =
|
|
35709
|
-
V && (
|
|
35705
|
+
u.postMessage(D.highlight(U, D.languages[te], te)), re && u.close();
|
|
35706
|
+
}, !1)), D;
|
|
35707
|
+
var V = D.util.currentScript();
|
|
35708
|
+
V && (D.filename = V.src, V.hasAttribute("data-manual") && (D.manual = !0));
|
|
35710
35709
|
function H() {
|
|
35711
|
-
|
|
35710
|
+
D.manual || D.highlightAll();
|
|
35712
35711
|
}
|
|
35713
|
-
if (!
|
|
35712
|
+
if (!D.manual) {
|
|
35714
35713
|
var ge = document.readyState;
|
|
35715
35714
|
ge === "loading" || ge === "interactive" && V && V.defer ? document.addEventListener("DOMContentLoaded", H) : window.requestAnimationFrame ? window.requestAnimationFrame(H) : window.setTimeout(H, 16);
|
|
35716
35715
|
}
|
|
35717
|
-
return
|
|
35716
|
+
return D;
|
|
35718
35717
|
}(r);
|
|
35719
35718
|
n.exports && (n.exports = o), typeof ep < "u" && (ep.Prism = o);
|
|
35720
35719
|
})(AF);
|
|
@@ -36141,11 +36140,11 @@ function fy(n) {
|
|
|
36141
36140
|
pa.languages[n.displayName] === void 0 && n(pa);
|
|
36142
36141
|
}
|
|
36143
36142
|
function lU(n, r) {
|
|
36144
|
-
var o = pa.languages, u = n, f, g, v,
|
|
36143
|
+
var o = pa.languages, u = n, f, g, v, D;
|
|
36145
36144
|
r && (u = {}, u[n] = r);
|
|
36146
36145
|
for (f in u)
|
|
36147
|
-
for (g = u[f], g = typeof g == "string" ? [g] : g, v = g.length,
|
|
36148
|
-
o[g[
|
|
36146
|
+
for (g = u[f], g = typeof g == "string" ? [g] : g, v = g.length, D = -1; ++D < v; )
|
|
36147
|
+
o[g[D]] = o[f];
|
|
36149
36148
|
}
|
|
36150
36149
|
function uU(n, r) {
|
|
36151
36150
|
var o = FF.highlight, u;
|
|
@@ -36459,17 +36458,17 @@ function VD(n) {
|
|
|
36459
36458
|
},
|
|
36460
36459
|
r.languages.jsx.tag
|
|
36461
36460
|
);
|
|
36462
|
-
var
|
|
36463
|
-
return _ ? typeof _ == "string" ? _ : typeof _.content == "string" ? _.content : _.content.map(
|
|
36461
|
+
var D = function(_) {
|
|
36462
|
+
return _ ? typeof _ == "string" ? _ : typeof _.content == "string" ? _.content : _.content.map(D).join("") : "";
|
|
36464
36463
|
}, C = function(_) {
|
|
36465
36464
|
for (var N = [], P = 0; P < _.length; P++) {
|
|
36466
36465
|
var R = _[P], B = !1;
|
|
36467
|
-
if (typeof R != "string" && (R.type === "tag" && R.content[0] && R.content[0].type === "tag" ? R.content[0].content[0].content === "</" ? N.length > 0 && N[N.length - 1].tagName ===
|
|
36468
|
-
tagName:
|
|
36466
|
+
if (typeof R != "string" && (R.type === "tag" && R.content[0] && R.content[0].type === "tag" ? R.content[0].content[0].content === "</" ? N.length > 0 && N[N.length - 1].tagName === D(R.content[0].content[1]) && N.pop() : R.content[R.content.length - 1].content === "/>" || N.push({
|
|
36467
|
+
tagName: D(R.content[0].content[1]),
|
|
36469
36468
|
openedBraces: 0
|
|
36470
36469
|
}) : N.length > 0 && R.type === "punctuation" && R.content === "{" ? N[N.length - 1].openedBraces++ : N.length > 0 && N[N.length - 1].openedBraces > 0 && R.type === "punctuation" && R.content === "}" ? N[N.length - 1].openedBraces-- : B = !0), (B || typeof R == "string") && N.length > 0 && N[N.length - 1].openedBraces === 0) {
|
|
36471
|
-
var M =
|
|
36472
|
-
P < _.length - 1 && (typeof _[P + 1] == "string" || _[P + 1].type === "plain-text") && (M +=
|
|
36470
|
+
var M = D(R);
|
|
36471
|
+
P < _.length - 1 && (typeof _[P + 1] == "string" || _[P + 1].type === "plain-text") && (M += D(_[P + 1]), _.splice(P + 1, 1)), P > 0 && (typeof _[P - 1] == "string" || _[P - 1].type === "plain-text") && (M = D(_[P - 1]) + M, _.splice(P - 1, 1), P--), _[P] = new r.Token(
|
|
36473
36472
|
"plain-text",
|
|
36474
36473
|
M,
|
|
36475
36474
|
null,
|
|
@@ -36502,50 +36501,50 @@ const kU = _r(
|
|
|
36502
36501
|
DO(() => {
|
|
36503
36502
|
f.current = f.current.slice(0, r.length);
|
|
36504
36503
|
}, [r]);
|
|
36505
|
-
const g = (
|
|
36506
|
-
C.action && C.action(
|
|
36507
|
-
}, v = (
|
|
36504
|
+
const g = (D, C) => {
|
|
36505
|
+
C.action && C.action(D), o && o(D);
|
|
36506
|
+
}, v = (D, C) => {
|
|
36508
36507
|
var _, N;
|
|
36509
|
-
n && (C.code === "ArrowLeft" &&
|
|
36508
|
+
n && (C.code === "ArrowLeft" && D !== 0 && ((_ = f.current[D - 1]) == null || _.focus()), C.code === "ArrowRight" && D < r.length - 1 && ((N = f.current[D + 1]) == null || N.focus()), (C.code === "ArrowDown" || C.code === "Space") && g(D, r[D]));
|
|
36510
36509
|
};
|
|
36511
|
-
return /* @__PURE__ */ O.jsx("div", { className: "pkt-tabs", ref: u, children: /* @__PURE__ */ O.jsx("div", { className: "pkt-tabs__list", role: n ? "tablist" : "navigation", children: r.map((
|
|
36510
|
+
return /* @__PURE__ */ O.jsx("div", { className: "pkt-tabs", ref: u, children: /* @__PURE__ */ O.jsx("div", { className: "pkt-tabs__list", role: n ? "tablist" : "navigation", children: r.map((D, C) => /* @__PURE__ */ O.jsx(sD, { children: D.href ? /* @__PURE__ */ O.jsxs(
|
|
36512
36511
|
"a",
|
|
36513
36512
|
{
|
|
36514
|
-
"aria-selected": !!
|
|
36513
|
+
"aria-selected": !!D.active,
|
|
36515
36514
|
role: n ? "tab" : void 0,
|
|
36516
|
-
href:
|
|
36517
|
-
"aria-controls":
|
|
36518
|
-
className: `pkt-tabs__link ${
|
|
36515
|
+
href: D.href,
|
|
36516
|
+
"aria-controls": D.controls,
|
|
36517
|
+
className: `pkt-tabs__link ${D.active ? "active" : ""}`,
|
|
36519
36518
|
onKeyUp: (_) => v(C, _),
|
|
36520
|
-
onClick: () => g(C,
|
|
36521
|
-
tabIndex:
|
|
36519
|
+
onClick: () => g(C, D),
|
|
36520
|
+
tabIndex: D.active || !n ? void 0 : -1,
|
|
36522
36521
|
ref: (_) => {
|
|
36523
36522
|
f.current[C] = _;
|
|
36524
36523
|
},
|
|
36525
36524
|
children: [
|
|
36526
|
-
|
|
36527
|
-
|
|
36528
|
-
|
|
36525
|
+
D.icon && /* @__PURE__ */ O.jsx(Un, { name: D.icon, className: "pkt-icon--small" }),
|
|
36526
|
+
D.text,
|
|
36527
|
+
D.tag && /* @__PURE__ */ O.jsx(oy, { skin: D.tag.skin, size: "small", children: D.tag.text })
|
|
36529
36528
|
]
|
|
36530
36529
|
}
|
|
36531
36530
|
) : /* @__PURE__ */ O.jsxs(
|
|
36532
36531
|
"button",
|
|
36533
36532
|
{
|
|
36534
|
-
"aria-selected": !!
|
|
36533
|
+
"aria-selected": !!D.active,
|
|
36535
36534
|
role: n ? "tab" : void 0,
|
|
36536
36535
|
type: "button",
|
|
36537
|
-
"aria-controls":
|
|
36538
|
-
className: `pkt-tabs__button pkt-link-button ${
|
|
36536
|
+
"aria-controls": D.controls,
|
|
36537
|
+
className: `pkt-tabs__button pkt-link-button ${D.active ? "active" : ""}`,
|
|
36539
36538
|
onKeyUp: (_) => v(C, _),
|
|
36540
|
-
onClick: () => g(C,
|
|
36541
|
-
tabIndex:
|
|
36539
|
+
onClick: () => g(C, D),
|
|
36540
|
+
tabIndex: D.active || !n ? void 0 : -1,
|
|
36542
36541
|
ref: (_) => {
|
|
36543
36542
|
f.current[C] = _;
|
|
36544
36543
|
},
|
|
36545
36544
|
children: [
|
|
36546
|
-
|
|
36547
|
-
|
|
36548
|
-
|
|
36545
|
+
D.icon && /* @__PURE__ */ O.jsx(Un, { name: D.icon, className: "pkt-icon--small" }),
|
|
36546
|
+
D.text,
|
|
36547
|
+
D.tag && /* @__PURE__ */ O.jsx(oy, { skin: D.tag.skin, size: "small", children: D.tag.text })
|
|
36549
36548
|
]
|
|
36550
36549
|
},
|
|
36551
36550
|
"b-" + C
|
|
@@ -37640,7 +37639,7 @@ const xU = [
|
|
|
37640
37639
|
}, v = (_, N, P) => {
|
|
37641
37640
|
const R = [...o[n]];
|
|
37642
37641
|
R[_] = { ...R[_], [N]: P }, u(n, R);
|
|
37643
|
-
},
|
|
37642
|
+
}, D = () => {
|
|
37644
37643
|
const _ = [...o[n], {}];
|
|
37645
37644
|
u(n, _);
|
|
37646
37645
|
}, C = (_) => {
|
|
@@ -37765,7 +37764,7 @@ const xU = [
|
|
|
37765
37764
|
)),
|
|
37766
37765
|
/* @__PURE__ */ O.jsx(Lf, { onClick: () => C(N), children: "Fjern denne" })
|
|
37767
37766
|
] }) }, N)),
|
|
37768
|
-
/* @__PURE__ */ O.jsx(Lf, { onClick:
|
|
37767
|
+
/* @__PURE__ */ O.jsx(Lf, { onClick: D, children: "Legg til ny" })
|
|
37769
37768
|
] })) : /* @__PURE__ */ O.jsx(
|
|
37770
37769
|
q0,
|
|
37771
37770
|
{
|
|
@@ -37782,7 +37781,7 @@ const xU = [
|
|
|
37782
37781
|
iy.registerLanguage("jsx", yU);
|
|
37783
37782
|
const CU = ({ specs: n, children: r, fullWidth: o }) => {
|
|
37784
37783
|
var $e, Ke;
|
|
37785
|
-
const u = n.props && typeof n.props == "object" && !Array.isArray(n.props) ? Object.entries(n.props).reduce((Pe, [Be, ve]) => (typeof ve == "object" && !Array.isArray(ve) && ve.default !== void 0 && ve.default !== null && (ve.default === "false" && (ve.default = !1), ve.default === "true" && (ve.default = !0), Pe[Be] = ve.default), Pe), {}) : {}, [f, g] = ku(0), [v,
|
|
37784
|
+
const u = n.props && typeof n.props == "object" && !Array.isArray(n.props) ? Object.entries(n.props).reduce((Pe, [Be, ve]) => (typeof ve == "object" && !Array.isArray(ve) && ve.default !== void 0 && ve.default !== null && (ve.default === "false" && (ve.default = !1), ve.default === "true" && (ve.default = !0), Pe[Be] = ve.default), Pe), {}) : {}, [f, g] = ku(0), [v, D] = ku(u), [C, _] = ku("light"), [N, P] = ku(""), [R, B] = ku(""), [M, V] = ku(""), [H, ge] = ku("Rediger innhold"), [K, Y] = ku([
|
|
37786
37785
|
{
|
|
37787
37786
|
text: "Rediger",
|
|
37788
37787
|
icon: "adjust",
|
|
@@ -37860,9 +37859,9 @@ const CU = ({ specs: n, children: r, fullWidth: o }) => {
|
|
|
37860
37859
|
), Fe = (Pe, Be, ve = !1) => {
|
|
37861
37860
|
if (g(f + 1), !ve && (!Be || Be == "false")) {
|
|
37862
37861
|
const { [Pe]: Re, ...Ce } = v;
|
|
37863
|
-
|
|
37862
|
+
D(Ce);
|
|
37864
37863
|
} else
|
|
37865
|
-
|
|
37864
|
+
D((Re) => ({
|
|
37866
37865
|
...Re,
|
|
37867
37866
|
[Pe]: Be
|
|
37868
37867
|
}));
|
|
@@ -37963,7 +37962,7 @@ const cH = Hi({
|
|
|
37963
37962
|
label: f,
|
|
37964
37963
|
name: g,
|
|
37965
37964
|
placeholder: v = "Søk…",
|
|
37966
|
-
suggestions:
|
|
37965
|
+
suggestions: D,
|
|
37967
37966
|
value: C = "",
|
|
37968
37967
|
action: _,
|
|
37969
37968
|
method: N,
|
|
@@ -38022,7 +38021,7 @@ const cH = Hi({
|
|
|
38022
38021
|
)
|
|
38023
38022
|
] })
|
|
38024
38023
|
] }),
|
|
38025
|
-
|
|
38024
|
+
D && /* @__PURE__ */ O.jsx("ul", { id: `${u}-suggestions`, className: "pkt-searchinput__suggestions", "aria-live": "assertive", children: D.map((U, re) => /* @__PURE__ */ O.jsx("li", { children: un.createElement(
|
|
38026
38025
|
U.href ? "a" : U.onClick ? "button" : "div",
|
|
38027
38026
|
{
|
|
38028
38027
|
href: U.href,
|
|
@@ -38048,7 +38047,7 @@ const cH = Hi({
|
|
|
38048
38047
|
hideNonActiveStepsContent: f = !0,
|
|
38049
38048
|
orientation: g = "vertical",
|
|
38050
38049
|
...v
|
|
38051
|
-
},
|
|
38050
|
+
}, D) => {
|
|
38052
38051
|
const C = js(
|
|
38053
38052
|
r,
|
|
38054
38053
|
"pkt-stepper",
|
|
@@ -38059,7 +38058,7 @@ const cH = Hi({
|
|
|
38059
38058
|
"pkt-step--hideContent": f && P !== n
|
|
38060
38059
|
})
|
|
38061
38060
|
}) : N);
|
|
38062
|
-
return /* @__PURE__ */ O.jsx("ol", { "data-testid": "pkt-stepper", className: C, ref:
|
|
38061
|
+
return /* @__PURE__ */ O.jsx("ol", { "data-testid": "pkt-stepper", className: C, ref: D, ...v, children: _ });
|
|
38063
38062
|
}
|
|
38064
38063
|
), TU = /* @__PURE__ */ O.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", children: /* @__PURE__ */ O.jsx("circle", { cx: "12", cy: "12", r: "7", style: { fill: "var(--pkt-color-grays-grey-200, #CCC)" } }) }), AU = /* @__PURE__ */ O.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", children: [
|
|
38065
38064
|
/* @__PURE__ */ O.jsx("circle", { opacity: ".15", cx: "12", cy: "12", r: "12", fill: "#2A2859" }),
|