@cimulate/copilot-widget 0.29.0 → 0.30.0
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.
|
@@ -104,16 +104,16 @@ function hx() {
|
|
|
104
104
|
D.constructor = F, _(D, A.prototype), D.isPureReactComponent = !0;
|
|
105
105
|
var G = Array.isArray, W = Object.prototype.hasOwnProperty, B = { current: null }, te = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
106
106
|
function be(R, Q, k) {
|
|
107
|
-
var Se,
|
|
108
|
-
if (Q != null) for (Se in Q.ref !== void 0 && (je = Q.ref), Q.key !== void 0 && (Oe = "" + Q.key), Q) W.call(Q, Se) && !te.hasOwnProperty(Se) && (
|
|
107
|
+
var Se, De = {}, Oe = null, je = null;
|
|
108
|
+
if (Q != null) for (Se in Q.ref !== void 0 && (je = Q.ref), Q.key !== void 0 && (Oe = "" + Q.key), Q) W.call(Q, Se) && !te.hasOwnProperty(Se) && (De[Se] = Q[Se]);
|
|
109
109
|
var ze = arguments.length - 2;
|
|
110
|
-
if (ze === 1)
|
|
110
|
+
if (ze === 1) De.children = k;
|
|
111
111
|
else if (1 < ze) {
|
|
112
112
|
for (var Ge = Array(ze), Et = 0; Et < ze; Et++) Ge[Et] = arguments[Et + 2];
|
|
113
|
-
|
|
113
|
+
De.children = Ge;
|
|
114
114
|
}
|
|
115
|
-
if (R && R.defaultProps) for (Se in ze = R.defaultProps, ze)
|
|
116
|
-
return { $$typeof: e, type: R, key: Oe, ref: je, props:
|
|
115
|
+
if (R && R.defaultProps) for (Se in ze = R.defaultProps, ze) De[Se] === void 0 && (De[Se] = ze[Se]);
|
|
116
|
+
return { $$typeof: e, type: R, key: Oe, ref: je, props: De, _owner: B.current };
|
|
117
117
|
}
|
|
118
118
|
function he(R, Q) {
|
|
119
119
|
return { $$typeof: e, type: R.type, key: Q, ref: R.ref, props: R.props, _owner: R._owner };
|
|
@@ -131,7 +131,7 @@ function hx() {
|
|
|
131
131
|
function ce(R, Q) {
|
|
132
132
|
return typeof R == "object" && R !== null && R.key != null ? le("" + R.key) : Q.toString(36);
|
|
133
133
|
}
|
|
134
|
-
function fe(R, Q, k, Se,
|
|
134
|
+
function fe(R, Q, k, Se, De) {
|
|
135
135
|
var Oe = typeof R;
|
|
136
136
|
(Oe === "undefined" || Oe === "boolean") && (R = null);
|
|
137
137
|
var je = !1;
|
|
@@ -148,23 +148,23 @@ function hx() {
|
|
|
148
148
|
je = !0;
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
|
-
if (je) return je = R,
|
|
151
|
+
if (je) return je = R, De = De(je), R = Se === "" ? "." + ce(je, 0) : Se, G(De) ? (k = "", R != null && (k = R.replace(de, "$&/") + "/"), fe(De, Q, k, "", function(Et) {
|
|
152
152
|
return Et;
|
|
153
|
-
})) :
|
|
153
|
+
})) : De != null && (H(De) && (De = he(De, k + (!De.key || je && je.key === De.key ? "" : ("" + De.key).replace(de, "$&/") + "/") + R)), Q.push(De)), 1;
|
|
154
154
|
if (je = 0, Se = Se === "" ? "." : Se + ":", G(R)) for (var ze = 0; ze < R.length; ze++) {
|
|
155
155
|
Oe = R[ze];
|
|
156
156
|
var Ge = Se + ce(Oe, ze);
|
|
157
|
-
je += fe(Oe, Q, k, Ge,
|
|
157
|
+
je += fe(Oe, Q, k, Ge, De);
|
|
158
158
|
}
|
|
159
|
-
else if (Ge = b(R), typeof Ge == "function") for (R = Ge.call(R), ze = 0; !(Oe = R.next()).done; ) Oe = Oe.value, Ge = Se + ce(Oe, ze++), je += fe(Oe, Q, k, Ge,
|
|
159
|
+
else if (Ge = b(R), typeof Ge == "function") for (R = Ge.call(R), ze = 0; !(Oe = R.next()).done; ) Oe = Oe.value, Ge = Se + ce(Oe, ze++), je += fe(Oe, Q, k, Ge, De);
|
|
160
160
|
else if (Oe === "object") throw Q = String(R), Error("Objects are not valid as a React child (found: " + (Q === "[object Object]" ? "object with keys {" + Object.keys(R).join(", ") + "}" : Q) + "). If you meant to render a collection of children, use an array instead.");
|
|
161
161
|
return je;
|
|
162
162
|
}
|
|
163
163
|
function Te(R, Q, k) {
|
|
164
164
|
if (R == null) return R;
|
|
165
|
-
var Se = [],
|
|
165
|
+
var Se = [], De = 0;
|
|
166
166
|
return fe(R, Se, "", "", function(Oe) {
|
|
167
|
-
return Q.call(k, Oe,
|
|
167
|
+
return Q.call(k, Oe, De++);
|
|
168
168
|
}), Se;
|
|
169
169
|
}
|
|
170
170
|
function xe(R) {
|
|
@@ -201,9 +201,9 @@ function hx() {
|
|
|
201
201
|
return R;
|
|
202
202
|
} }, Ve.Component = A, Ve.Fragment = n, Ve.Profiler = o, Ve.PureComponent = F, Ve.StrictMode = r, Ve.Suspense = f, Ve.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Z, Ve.act = x, Ve.cloneElement = function(R, Q, k) {
|
|
203
203
|
if (R == null) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + R + ".");
|
|
204
|
-
var Se = _({}, R.props),
|
|
204
|
+
var Se = _({}, R.props), De = R.key, Oe = R.ref, je = R._owner;
|
|
205
205
|
if (Q != null) {
|
|
206
|
-
if (Q.ref !== void 0 && (Oe = Q.ref, je = B.current), Q.key !== void 0 && (
|
|
206
|
+
if (Q.ref !== void 0 && (Oe = Q.ref, je = B.current), Q.key !== void 0 && (De = "" + Q.key), R.type && R.type.defaultProps) var ze = R.type.defaultProps;
|
|
207
207
|
for (Ge in Q) W.call(Q, Ge) && !te.hasOwnProperty(Ge) && (Se[Ge] = Q[Ge] === void 0 && ze !== void 0 ? ze[Ge] : Q[Ge]);
|
|
208
208
|
}
|
|
209
209
|
var Ge = arguments.length - 2;
|
|
@@ -213,7 +213,7 @@ function hx() {
|
|
|
213
213
|
for (var Et = 0; Et < Ge; Et++) ze[Et] = arguments[Et + 2];
|
|
214
214
|
Se.children = ze;
|
|
215
215
|
}
|
|
216
|
-
return { $$typeof: e, type: R.type, key:
|
|
216
|
+
return { $$typeof: e, type: R.type, key: De, ref: Oe, props: Se, _owner: je };
|
|
217
217
|
}, Ve.createContext = function(R) {
|
|
218
218
|
return R = { $$typeof: a, _currentValue: R, _currentValue2: R, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, R.Provider = { $$typeof: u, _context: R }, R.Consumer = R;
|
|
219
219
|
}, Ve.createElement = be, Ve.createFactory = function(R) {
|
|
@@ -4320,8 +4320,8 @@ const ET = (e) => {
|
|
|
4320
4320
|
const Z = m && (te === "stream" || te === "response");
|
|
4321
4321
|
if (m && (W || Z && fe)) {
|
|
4322
4322
|
const R = {};
|
|
4323
|
-
["status", "statusText", "headers"].forEach((
|
|
4324
|
-
R[
|
|
4323
|
+
["status", "statusText", "headers"].forEach((De) => {
|
|
4324
|
+
R[De] = $[De];
|
|
4325
4325
|
});
|
|
4326
4326
|
const Q = K.toFiniteNumber($.headers.get("content-length")), [k, Se] = W && v1(
|
|
4327
4327
|
Q,
|
|
@@ -4877,7 +4877,7 @@ var eo = Object.getPrototypeOf;
|
|
|
4877
4877
|
function to(e) {
|
|
4878
4878
|
return !!e && !!e[nt];
|
|
4879
4879
|
}
|
|
4880
|
-
function
|
|
4880
|
+
function Wr(e) {
|
|
4881
4881
|
var t;
|
|
4882
4882
|
return e ? AT(e) || Array.isArray(e) || !!e[B1] || !!((t = e.constructor) != null && t[B1]) || hc(e) || pc(e) : !1;
|
|
4883
4883
|
}
|
|
@@ -4951,7 +4951,7 @@ function kh(e, t) {
|
|
|
4951
4951
|
}
|
|
4952
4952
|
}
|
|
4953
4953
|
function _p(e, t = !1) {
|
|
4954
|
-
return mc(e) || to(e) || !
|
|
4954
|
+
return mc(e) || to(e) || !Wr(e) || (dc(e) > 1 && (e.set = e.add = e.clear = e.delete = uv), Object.freeze(e), t && Object.entries(e).forEach(([n, r]) => _p(r, !0))), e;
|
|
4955
4955
|
}
|
|
4956
4956
|
function uv() {
|
|
4957
4957
|
Wn(2);
|
|
@@ -5001,7 +5001,7 @@ function cv(e) {
|
|
|
5001
5001
|
function z1(e, t) {
|
|
5002
5002
|
t.unfinalizedDrafts_ = t.drafts_.length;
|
|
5003
5003
|
const n = t.drafts_[0];
|
|
5004
|
-
return e !== void 0 && e !== n ? (n[nt].modified_ && (Oh(t), Wn(4)),
|
|
5004
|
+
return e !== void 0 && e !== n ? (n[nt].modified_ && (Oh(t), Wn(4)), Wr(e) && (e = zl(t, e), t.parent_ || jl(t, e)), t.patches_ && ns("Patches").generateReplacementPatches_(
|
|
5005
5005
|
n[nt].base_,
|
|
5006
5006
|
e,
|
|
5007
5007
|
t.patches_,
|
|
@@ -5046,7 +5046,7 @@ function j1(e, t, n, r, o, u, a) {
|
|
|
5046
5046
|
else
|
|
5047
5047
|
return;
|
|
5048
5048
|
} else a && n.add(o);
|
|
5049
|
-
if (
|
|
5049
|
+
if (Wr(o) && !mc(o)) {
|
|
5050
5050
|
if (!e.immer_.autoFreeze_ && e.unfinalizedDrafts_ < 1)
|
|
5051
5051
|
return;
|
|
5052
5052
|
zl(e, o), (!t || !t.scope_.parent_) && typeof r != "symbol" && Object.prototype.propertyIsEnumerable.call(n, r) && jl(e, o);
|
|
@@ -5092,7 +5092,7 @@ var Sp = {
|
|
|
5092
5092
|
if (!vh(n, t))
|
|
5093
5093
|
return dv(e, n, t);
|
|
5094
5094
|
const r = n[t];
|
|
5095
|
-
return e.finalized_ || !
|
|
5095
|
+
return e.finalized_ || !Wr(r) ? r : r === Fd(e.base_, t) ? (Bd(e), e.copy_[t] = Pu(r, e)) : r;
|
|
5096
5096
|
},
|
|
5097
5097
|
has(e, t) {
|
|
5098
5098
|
return t in Bt(e);
|
|
@@ -5110,14 +5110,14 @@ var Sp = {
|
|
|
5110
5110
|
return e.copy_[t] = n, e.assigned_[t] = !1, !0;
|
|
5111
5111
|
if (ov(n, o) && (n !== void 0 || vh(e.base_, t)))
|
|
5112
5112
|
return !0;
|
|
5113
|
-
Bd(e),
|
|
5113
|
+
Bd(e), $r(e);
|
|
5114
5114
|
}
|
|
5115
5115
|
return e.copy_[t] === n && // special case: handle new props with value 'undefined'
|
|
5116
5116
|
(n !== void 0 || t in e.copy_) || // special case: NaN
|
|
5117
5117
|
Number.isNaN(n) && Number.isNaN(e.copy_[t]) || (e.copy_[t] = n, e.assigned_[t] = !0), !0;
|
|
5118
5118
|
},
|
|
5119
5119
|
deleteProperty(e, t) {
|
|
5120
|
-
return Fd(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_[t] = !1, Bd(e),
|
|
5120
|
+
return Fd(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_[t] = !1, Bd(e), $r(e)) : delete e.assigned_[t], e.copy_ && delete e.copy_[t], !0;
|
|
5121
5121
|
},
|
|
5122
5122
|
// Note: We never coerce `desc.value` into an Immer draft, because we can't make
|
|
5123
5123
|
// the same guarantee in ES5 mode.
|
|
@@ -5175,8 +5175,8 @@ function vT(e, t) {
|
|
|
5175
5175
|
n = eo(n);
|
|
5176
5176
|
}
|
|
5177
5177
|
}
|
|
5178
|
-
function
|
|
5179
|
-
e.modified_ || (e.modified_ = !0, e.parent_ &&
|
|
5178
|
+
function $r(e) {
|
|
5179
|
+
e.modified_ || (e.modified_ = !0, e.parent_ && $r(e.parent_));
|
|
5180
5180
|
}
|
|
5181
5181
|
function Bd(e) {
|
|
5182
5182
|
e.copy_ || (e.copy_ = kh(
|
|
@@ -5197,7 +5197,7 @@ var hv = class {
|
|
|
5197
5197
|
}
|
|
5198
5198
|
typeof n != "function" && Wn(6), r !== void 0 && typeof r != "function" && Wn(7);
|
|
5199
5199
|
let o;
|
|
5200
|
-
if (
|
|
5200
|
+
if (Wr(t)) {
|
|
5201
5201
|
const u = H1(this), a = Pu(t, void 0);
|
|
5202
5202
|
let c = !0;
|
|
5203
5203
|
try {
|
|
@@ -5224,7 +5224,7 @@ var hv = class {
|
|
|
5224
5224
|
}, typeof (e == null ? void 0 : e.autoFreeze) == "boolean" && this.setAutoFreeze(e.autoFreeze), typeof (e == null ? void 0 : e.useStrictShallowCopy) == "boolean" && this.setUseStrictShallowCopy(e.useStrictShallowCopy);
|
|
5225
5225
|
}
|
|
5226
5226
|
createDraft(e) {
|
|
5227
|
-
|
|
5227
|
+
Wr(e) || Wn(8), to(e) && (e = pv(e));
|
|
5228
5228
|
const t = H1(this), n = Pu(e, void 0);
|
|
5229
5229
|
return n[nt].isManual_ = !0, Ih(t), n;
|
|
5230
5230
|
}
|
|
@@ -5275,7 +5275,7 @@ function pv(e) {
|
|
|
5275
5275
|
return to(e) || Wn(10, e), kT(e);
|
|
5276
5276
|
}
|
|
5277
5277
|
function kT(e) {
|
|
5278
|
-
if (!
|
|
5278
|
+
if (!Wr(e) || mc(e))
|
|
5279
5279
|
return e;
|
|
5280
5280
|
const t = e[nt];
|
|
5281
5281
|
let n;
|
|
@@ -5314,17 +5314,17 @@ function mv() {
|
|
|
5314
5314
|
}
|
|
5315
5315
|
set(f, h) {
|
|
5316
5316
|
const m = this[nt];
|
|
5317
|
-
return a(m), (!Bt(m).has(f) || Bt(m).get(f) !== h) && (n(m),
|
|
5317
|
+
return a(m), (!Bt(m).has(f) || Bt(m).get(f) !== h) && (n(m), $r(m), m.assigned_.set(f, !0), m.copy_.set(f, h), m.assigned_.set(f, !0)), this;
|
|
5318
5318
|
}
|
|
5319
5319
|
delete(f) {
|
|
5320
5320
|
if (!this.has(f))
|
|
5321
5321
|
return !1;
|
|
5322
5322
|
const h = this[nt];
|
|
5323
|
-
return a(h), n(h),
|
|
5323
|
+
return a(h), n(h), $r(h), h.base_.has(f) ? h.assigned_.set(f, !1) : h.assigned_.delete(f), h.copy_.delete(f), !0;
|
|
5324
5324
|
}
|
|
5325
5325
|
clear() {
|
|
5326
5326
|
const f = this[nt];
|
|
5327
|
-
a(f), Bt(f).size && (n(f),
|
|
5327
|
+
a(f), Bt(f).size && (n(f), $r(f), f.assigned_ = /* @__PURE__ */ new Map(), Nu(f.base_, (h) => {
|
|
5328
5328
|
f.assigned_.set(h, !1);
|
|
5329
5329
|
}), f.copy_.clear());
|
|
5330
5330
|
}
|
|
@@ -5338,7 +5338,7 @@ function mv() {
|
|
|
5338
5338
|
const h = this[nt];
|
|
5339
5339
|
a(h);
|
|
5340
5340
|
const m = Bt(h).get(f);
|
|
5341
|
-
if (h.finalized_ || !
|
|
5341
|
+
if (h.finalized_ || !Wr(m) || m !== h.base_.get(f))
|
|
5342
5342
|
return m;
|
|
5343
5343
|
const E = Pu(m, h);
|
|
5344
5344
|
return n(h), h.copy_.set(f, E), E;
|
|
@@ -5410,20 +5410,20 @@ function mv() {
|
|
|
5410
5410
|
}
|
|
5411
5411
|
add(f) {
|
|
5412
5412
|
const h = this[nt];
|
|
5413
|
-
return a(h), this.has(f) || (u(h),
|
|
5413
|
+
return a(h), this.has(f) || (u(h), $r(h), h.copy_.add(f)), this;
|
|
5414
5414
|
}
|
|
5415
5415
|
delete(f) {
|
|
5416
5416
|
if (!this.has(f))
|
|
5417
5417
|
return !1;
|
|
5418
5418
|
const h = this[nt];
|
|
5419
|
-
return a(h), u(h),
|
|
5419
|
+
return a(h), u(h), $r(h), h.copy_.delete(f) || (h.drafts_.has(f) ? h.copy_.delete(h.drafts_.get(f)) : (
|
|
5420
5420
|
/* istanbul ignore next */
|
|
5421
5421
|
!1
|
|
5422
5422
|
));
|
|
5423
5423
|
}
|
|
5424
5424
|
clear() {
|
|
5425
5425
|
const f = this[nt];
|
|
5426
|
-
a(f), Bt(f).size && (u(f),
|
|
5426
|
+
a(f), Bt(f).size && (u(f), $r(f), f.copy_.clear());
|
|
5427
5427
|
}
|
|
5428
5428
|
values() {
|
|
5429
5429
|
const f = this[nt];
|
|
@@ -5451,7 +5451,7 @@ function mv() {
|
|
|
5451
5451
|
}
|
|
5452
5452
|
function u(c) {
|
|
5453
5453
|
c.copy_ || (c.copy_ = /* @__PURE__ */ new Set(), c.base_.forEach((f) => {
|
|
5454
|
-
if (
|
|
5454
|
+
if (Wr(f)) {
|
|
5455
5455
|
const h = Pu(f, c);
|
|
5456
5456
|
c.drafts_.set(f, h), c.copy_.add(h);
|
|
5457
5457
|
} else
|
|
@@ -5514,19 +5514,19 @@ const NT = {
|
|
|
5514
5514
|
rangeFilters: yr.RANGE_FILTERS_CHANGED,
|
|
5515
5515
|
catalogSegment: yr.CATALOG_SEGMENT_CHANGED,
|
|
5516
5516
|
pricebooks: yr.PRICEBOOKS_CHANGED
|
|
5517
|
-
},
|
|
5517
|
+
}, zr = U({
|
|
5518
5518
|
SEARCH_CONTEXT_UPDATED: "search-context-updated",
|
|
5519
5519
|
QUERY_CHANGED: "query-changed"
|
|
5520
5520
|
}, NT), Tv = {
|
|
5521
|
-
"search-context":
|
|
5522
|
-
query:
|
|
5523
|
-
page:
|
|
5524
|
-
pageSize:
|
|
5525
|
-
includeFacets:
|
|
5526
|
-
facetFilters:
|
|
5527
|
-
rangeFilters:
|
|
5528
|
-
catalogSegment:
|
|
5529
|
-
pricebooks:
|
|
5521
|
+
"search-context": zr.SEARCH_CONTEXT_UPDATED,
|
|
5522
|
+
query: zr.QUERY_CHANGED,
|
|
5523
|
+
page: zr.PAGE_CHANGED,
|
|
5524
|
+
pageSize: zr.PAGE_SIZE_CHANGED,
|
|
5525
|
+
includeFacets: zr.FACET_FILTERS_CHANGED,
|
|
5526
|
+
facetFilters: zr.FACET_FILTERS_CHANGED,
|
|
5527
|
+
rangeFilters: zr.RANGE_FILTERS_CHANGED,
|
|
5528
|
+
catalogSegment: zr.CATALOG_SEGMENT_CHANGED,
|
|
5529
|
+
pricebooks: zr.PRICEBOOKS_CHANGED
|
|
5530
5530
|
}, ee = "cim-widget", Ds = `--${ee}`, Yi = {
|
|
5531
5531
|
primaryColor: "#3182ce",
|
|
5532
5532
|
secondaryColor: "#2c5282",
|
|
@@ -6125,7 +6125,7 @@ const it = new zv(), jT = (e, t) => {
|
|
|
6125
6125
|
}, QT = (e) => {
|
|
6126
6126
|
WT(e, it);
|
|
6127
6127
|
}, XT = (e) => {
|
|
6128
|
-
if (!e || !e
|
|
6128
|
+
if (!e || !("categoryId" in e))
|
|
6129
6129
|
throw new Error("Browse context must include a categoryId");
|
|
6130
6130
|
const t = rs(), n = qu();
|
|
6131
6131
|
if (!t || !n) {
|
|
@@ -6545,7 +6545,7 @@ const ht = new tk(), nk = (e) => {
|
|
|
6545
6545
|
onRefinedBrowse: a,
|
|
6546
6546
|
children: c
|
|
6547
6547
|
}) => {
|
|
6548
|
-
const { logger: f } = bn(),
|
|
6548
|
+
const { logger: f } = bn(), Jr = pk(), { searchQuery: h } = Jr, m = qt(Jr, ["searchQuery"]), Zr = fk(), { categoryId: E } = Zr, b = qt(Zr, ["categoryId"]), { productId: T, pdpLink: _ } = Ek(), { entryType: C, setEntryType: A } = ak(), {
|
|
6549
6549
|
setCopilot: I,
|
|
6550
6550
|
setConnected: F,
|
|
6551
6551
|
resetCopilot: D,
|
|
@@ -6568,7 +6568,7 @@ const ht = new tk(), nk = (e) => {
|
|
|
6568
6568
|
rangeFilters: et,
|
|
6569
6569
|
catalogSegment: ot,
|
|
6570
6570
|
pricebooks: ct,
|
|
6571
|
-
userPrompt:
|
|
6571
|
+
userPrompt: St,
|
|
6572
6572
|
isUserAction: Yt
|
|
6573
6573
|
}) => {
|
|
6574
6574
|
if (!he) {
|
|
@@ -6576,12 +6576,12 @@ const ht = new tk(), nk = (e) => {
|
|
|
6576
6576
|
return;
|
|
6577
6577
|
}
|
|
6578
6578
|
if (!_e) return;
|
|
6579
|
-
const
|
|
6580
|
-
|
|
6581
|
-
const
|
|
6582
|
-
A("search"), he.search(
|
|
6583
|
-
const J = U({},
|
|
6584
|
-
|
|
6579
|
+
const Ze = { searchParams: { query: _e } };
|
|
6580
|
+
St && (Ze.userPrompt = St), Fe && Object.keys(Fe).length > 0 && (Ze.searchParams.facetFilters = Fe), et && et.length > 0 && (Ze.searchParams.rangeFilters = et), ot && (Ze.searchParams.catalogSegment = ot), ct && (Ze.searchParams.pricebooks = ct);
|
|
6581
|
+
const Ir = !fe.current;
|
|
6582
|
+
A("search"), he.search(Ze, (Sn) => {
|
|
6583
|
+
const J = U({}, Sn);
|
|
6584
|
+
Ir && (J.isInitial = !0, J.isUserAction = !0), Yt && (J.isUserAction = Yt), fe.current = !0, $(J);
|
|
6585
6585
|
});
|
|
6586
6586
|
},
|
|
6587
6587
|
[f, A, $, he]
|
|
@@ -6592,21 +6592,25 @@ const ht = new tk(), nk = (e) => {
|
|
|
6592
6592
|
facetFilters: et,
|
|
6593
6593
|
rangeFilters: ot,
|
|
6594
6594
|
catalogSegment: ct,
|
|
6595
|
-
pricebooks:
|
|
6595
|
+
pricebooks: St,
|
|
6596
6596
|
userPrompt: Yt,
|
|
6597
|
-
isUserAction:
|
|
6597
|
+
isUserAction: Ze
|
|
6598
6598
|
}) => {
|
|
6599
6599
|
if (!he) {
|
|
6600
6600
|
f == null || f.error("Copilot is not initialized");
|
|
6601
6601
|
return;
|
|
6602
6602
|
}
|
|
6603
|
-
|
|
6604
|
-
|
|
6605
|
-
|
|
6606
|
-
|
|
6607
|
-
|
|
6608
|
-
|
|
6609
|
-
|
|
6603
|
+
const Ir = et && Object.keys(et).length > 0;
|
|
6604
|
+
if (_e === "" && !Ir) {
|
|
6605
|
+
f == null || f.error("Browse event must include facetFilters when categoryId is empty");
|
|
6606
|
+
return;
|
|
6607
|
+
}
|
|
6608
|
+
const Sn = { browseParams: { categoryId: _e || "" } };
|
|
6609
|
+
Yt && (Sn.userPrompt = Yt), Ir && (Sn.browseParams.facetFilters = et), ot && ot.length > 0 && (Sn.browseParams.rangeFilters = ot), ct && (Sn.browseParams.catalogSegment = ct), Array.isArray(St) && St.length > 0 && (Sn.browseParams.pricebooks = St);
|
|
6610
|
+
const J = !Te.current;
|
|
6611
|
+
A("browse"), he.browse(Sn, (Ee) => {
|
|
6612
|
+
const Ie = U({}, Ee);
|
|
6613
|
+
J && (Ie.isInitial = !0, Ie.isUserAction = !0), Ze && (Ie.isUserAction = Ze), Fe && Ie.request && (Ie.request.label = Fe), Te.current = !0, $(Ie);
|
|
6610
6614
|
});
|
|
6611
6615
|
},
|
|
6612
6616
|
[f, A, $, he]
|
|
@@ -6623,10 +6627,10 @@ const ht = new tk(), nk = (e) => {
|
|
|
6623
6627
|
return;
|
|
6624
6628
|
}
|
|
6625
6629
|
if (!_e) return;
|
|
6626
|
-
const
|
|
6627
|
-
ot && (
|
|
6628
|
-
const
|
|
6629
|
-
ct && (
|
|
6630
|
+
const St = { productId: _e };
|
|
6631
|
+
ot && (St.userPrompt = ot), et && (St.pdpLink = et), A("pdp"), he.productView(St, (Yt) => {
|
|
6632
|
+
const Ze = U({}, Yt);
|
|
6633
|
+
ct && (Ze.isUserAction = ct), Fe && Ze.request && (Ze.request.label = Fe), $(Ze);
|
|
6630
6634
|
});
|
|
6631
6635
|
},
|
|
6632
6636
|
[f, A, he, $]
|
|
@@ -6649,7 +6653,7 @@ const ht = new tk(), nk = (e) => {
|
|
|
6649
6653
|
W(_e), a == null || a(_e);
|
|
6650
6654
|
},
|
|
6651
6655
|
[W, a]
|
|
6652
|
-
),
|
|
6656
|
+
), De = q.useCallback(
|
|
6653
6657
|
(_e) => {
|
|
6654
6658
|
o == null || o(_e), F(!0);
|
|
6655
6659
|
},
|
|
@@ -6693,7 +6697,7 @@ const ht = new tk(), nk = (e) => {
|
|
|
6693
6697
|
[he, f]
|
|
6694
6698
|
), ze = q.useCallback(
|
|
6695
6699
|
(_e) => {
|
|
6696
|
-
_e.on("connect_ack",
|
|
6700
|
+
_e.on("connect_ack", De), _e.on("follow_up", W), _e.on("inquiry", Q), _e.on("partial_inquiry", Q), _e.on("display_products", W), _e.on("progress", W), _e.on("refined_search", k), _e.on("refined_browse", Se), _e.on("done", (Fe) => {
|
|
6697
6701
|
te(Fe.eventSourceId);
|
|
6698
6702
|
}), _e.on("error", (Fe) => {
|
|
6699
6703
|
W(Fe), te(Fe.eventSourceId);
|
|
@@ -6727,7 +6731,7 @@ const ht = new tk(), nk = (e) => {
|
|
|
6727
6731
|
k,
|
|
6728
6732
|
Se,
|
|
6729
6733
|
W,
|
|
6730
|
-
|
|
6734
|
+
De
|
|
6731
6735
|
]
|
|
6732
6736
|
);
|
|
6733
6737
|
Rv(() => {
|
|
@@ -6798,34 +6802,32 @@ const ht = new tk(), nk = (e) => {
|
|
|
6798
6802
|
]
|
|
6799
6803
|
), Ii = q.useCallback(
|
|
6800
6804
|
(_e, Fe) => {
|
|
6801
|
-
var
|
|
6805
|
+
var St, Yt;
|
|
6802
6806
|
const ot = _e.params.userPrompt || "";
|
|
6803
6807
|
if (!ot) return;
|
|
6804
|
-
const ct = H.find((
|
|
6808
|
+
const ct = H.find((Ze) => Ze.id === Fe);
|
|
6805
6809
|
if (ct) {
|
|
6806
6810
|
if (ct.name === "copilot_search") {
|
|
6807
|
-
const { query:
|
|
6808
|
-
|
|
6809
|
-
query:
|
|
6811
|
+
const { query: Ze } = ((St = ct.request) == null ? void 0 : St.searchParams) || {};
|
|
6812
|
+
Ze && Z(ye(U({
|
|
6813
|
+
query: Ze || h
|
|
6810
6814
|
}, m), {
|
|
6811
6815
|
userPrompt: ot
|
|
6812
6816
|
}));
|
|
6813
6817
|
return;
|
|
6814
6818
|
}
|
|
6815
6819
|
if (ct.name === "copilot_browse") {
|
|
6816
|
-
const { categoryId:
|
|
6817
|
-
|
|
6818
|
-
|
|
6819
|
-
|
|
6820
|
-
|
|
6821
|
-
|
|
6822
|
-
|
|
6823
|
-
return;
|
|
6824
|
-
}
|
|
6820
|
+
const { categoryId: Ze } = ((Yt = ct.request) == null ? void 0 : Yt.browseParams) || {};
|
|
6821
|
+
x(ye(U({
|
|
6822
|
+
categoryId: Ze || E || ""
|
|
6823
|
+
}, b), {
|
|
6824
|
+
userPrompt: ot
|
|
6825
|
+
}));
|
|
6826
|
+
return;
|
|
6825
6827
|
}
|
|
6826
6828
|
if (ct.name === "product_view") {
|
|
6827
|
-
const
|
|
6828
|
-
|
|
6829
|
+
const Ze = ct.request;
|
|
6830
|
+
Ze != null && Ze.productId && R(ye(U({}, Ze), { userPrompt: ot }));
|
|
6829
6831
|
}
|
|
6830
6832
|
}
|
|
6831
6833
|
},
|
|
@@ -6839,7 +6841,7 @@ const ht = new tk(), nk = (e) => {
|
|
|
6839
6841
|
x,
|
|
6840
6842
|
R
|
|
6841
6843
|
]
|
|
6842
|
-
),
|
|
6844
|
+
), Xr = q.useMemo(() => ({
|
|
6843
6845
|
copilot: he,
|
|
6844
6846
|
messages: H,
|
|
6845
6847
|
groupedMessages: le,
|
|
@@ -6870,7 +6872,7 @@ const ht = new tk(), nk = (e) => {
|
|
|
6870
6872
|
Oe,
|
|
6871
6873
|
je
|
|
6872
6874
|
]);
|
|
6873
|
-
return /* @__PURE__ */ O.jsx(cb.Provider, { value:
|
|
6875
|
+
return /* @__PURE__ */ O.jsx(cb.Provider, { value: Xr, children: c });
|
|
6874
6876
|
}, ki = () => {
|
|
6875
6877
|
const e = q.useContext(cb);
|
|
6876
6878
|
if (!e)
|
|
@@ -6894,7 +6896,7 @@ const ht = new tk(), nk = (e) => {
|
|
|
6894
6896
|
[n, r]
|
|
6895
6897
|
), m = q.useCallback(
|
|
6896
6898
|
({ categoryId: b, isUserAction: T }) => {
|
|
6897
|
-
if (!n
|
|
6899
|
+
if (!n) return;
|
|
6898
6900
|
const _ = it.categoryIdProxy.categoryName, { facetFilters: C } = it.facetFiltersProxy, { rangeFilters: A } = it.rangeFiltersProxy, { catalogSegment: I } = it.catalogSegmentProxy, { pricebooks: F } = it.pricebooksProxy, D = { categoryId: b };
|
|
6899
6901
|
D.categoryName = _ || "", D.facetFilters = C || {}, D.rangeFilters = A || [], D.catalogSegment = I || "", D.pricebooks = F || [], o(ye(U({}, D), { isUserAction: T }));
|
|
6900
6902
|
},
|
|
@@ -7480,7 +7482,7 @@ function CN(e) {
|
|
|
7480
7482
|
var t, n, r, o;
|
|
7481
7483
|
return (o = (t = e.composedPath) == null ? void 0 : t.call(e)) != null ? o : (r = (n = e.nativeEvent) == null ? void 0 : n.composedPath) == null ? void 0 : r.call(n);
|
|
7482
7484
|
}
|
|
7483
|
-
function
|
|
7485
|
+
function qr(e) {
|
|
7484
7486
|
var n;
|
|
7485
7487
|
const t = CN(e);
|
|
7486
7488
|
return (n = t == null ? void 0 : t[0]) != null ? n : e.target;
|
|
@@ -7535,10 +7537,10 @@ function xb(e, t, n) {
|
|
|
7535
7537
|
var _c = "input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], iframe, object, embed, area[href], audio[controls], video[controls], [contenteditable]:not([contenteditable='false']), details > summary:first-of-type", Ab = (e, t = {}) => {
|
|
7536
7538
|
if (!e) return [];
|
|
7537
7539
|
const { includeContainer: n = !1, getShadowRoot: r } = t, o = Array.from(e.querySelectorAll(_c));
|
|
7538
|
-
(n == !0 || n == "if-empty" && o.length === 0) && Ht(e) &&
|
|
7540
|
+
(n == !0 || n == "if-empty" && o.length === 0) && Ht(e) && Yr(e) && o.unshift(e);
|
|
7539
7541
|
const a = [];
|
|
7540
7542
|
for (const c of o)
|
|
7541
|
-
if (
|
|
7543
|
+
if (Yr(c)) {
|
|
7542
7544
|
if (Sb(c) && c.contentDocument) {
|
|
7543
7545
|
const f = c.contentDocument.body;
|
|
7544
7546
|
a.push(...Ab(f, { getShadowRoot: r }));
|
|
@@ -7546,9 +7548,9 @@ var _c = "input:not([type='hidden']):not([disabled]), select:not([disabled]), te
|
|
|
7546
7548
|
}
|
|
7547
7549
|
a.push(c);
|
|
7548
7550
|
}
|
|
7549
|
-
return r ? xb(a, r,
|
|
7551
|
+
return r ? xb(a, r, Yr) : a;
|
|
7550
7552
|
};
|
|
7551
|
-
function
|
|
7553
|
+
function Yr(e) {
|
|
7552
7554
|
return !Ht(e) || e.closest("[inert]") ? !1 : e.matches(_c) && oN(e);
|
|
7553
7555
|
}
|
|
7554
7556
|
function Yu(e, t = {}) {
|
|
@@ -7572,7 +7574,7 @@ function Yu(e, t = {}) {
|
|
|
7572
7574
|
return !u.length && n ? o : u;
|
|
7573
7575
|
}
|
|
7574
7576
|
function Qi(e) {
|
|
7575
|
-
return Ht(e) && e.tabIndex > 0 ? !0 :
|
|
7577
|
+
return Ht(e) && e.tabIndex > 0 ? !0 : Yr(e) && !kN(e);
|
|
7576
7578
|
}
|
|
7577
7579
|
function ON(e, t = {}) {
|
|
7578
7580
|
const n = Yu(e, t), r = n[0] || null, o = n[n.length - 1] || null;
|
|
@@ -7797,8 +7799,8 @@ function YN() {
|
|
|
7797
7799
|
if (x !== Z) {
|
|
7798
7800
|
$[0] = x;
|
|
7799
7801
|
e: for (var R = 0, Q = $.length, k = Q >>> 1; R < k; ) {
|
|
7800
|
-
var Se = 2 * (R + 1) - 1,
|
|
7801
|
-
if (0 > o(
|
|
7802
|
+
var Se = 2 * (R + 1) - 1, De = $[Se], Oe = Se + 1, je = $[Oe];
|
|
7803
|
+
if (0 > o(De, x)) Oe < Q && 0 > o(je, De) ? ($[R] = je, $[Oe] = x, R = Oe) : ($[R] = De, $[Se] = x, R = Se);
|
|
7802
7804
|
else if (Oe < Q && 0 > o(je, x)) $[R] = je, $[Oe] = x, R = Oe;
|
|
7803
7805
|
else break e;
|
|
7804
7806
|
}
|
|
@@ -8147,7 +8149,7 @@ function GN() {
|
|
|
8147
8149
|
}
|
|
8148
8150
|
return (i = i ? i.displayName || i.name : "") ? Q(i) : "";
|
|
8149
8151
|
}
|
|
8150
|
-
function
|
|
8152
|
+
function De(i) {
|
|
8151
8153
|
switch (i.tag) {
|
|
8152
8154
|
case 5:
|
|
8153
8155
|
return Q(i.type);
|
|
@@ -8300,7 +8302,7 @@ function GN() {
|
|
|
8300
8302
|
var l = s.getValue(), d = "";
|
|
8301
8303
|
return i && (d = Ge(i) ? i.checked ? "true" : "false" : i.value), i = d, i !== l ? (s.setValue(i), !0) : !1;
|
|
8302
8304
|
}
|
|
8303
|
-
function
|
|
8305
|
+
function Xr(i) {
|
|
8304
8306
|
if (i = i || (typeof document != "undefined" ? document : void 0), typeof i == "undefined") return null;
|
|
8305
8307
|
try {
|
|
8306
8308
|
return i.activeElement || i.body;
|
|
@@ -8308,11 +8310,11 @@ function GN() {
|
|
|
8308
8310
|
return i.body;
|
|
8309
8311
|
}
|
|
8310
8312
|
}
|
|
8311
|
-
function
|
|
8313
|
+
function Jr(i, s) {
|
|
8312
8314
|
var l = s.checked;
|
|
8313
8315
|
return x({}, s, { defaultChecked: void 0, defaultValue: void 0, value: void 0, checked: l != null ? l : i._wrapperState.initialChecked });
|
|
8314
8316
|
}
|
|
8315
|
-
function
|
|
8317
|
+
function Zr(i, s) {
|
|
8316
8318
|
var l = s.defaultValue == null ? "" : s.defaultValue, d = s.checked != null ? s.checked : s.defaultChecked;
|
|
8317
8319
|
l = ze(s.value != null ? s.value : l), i._wrapperState = { initialChecked: d, initialValue: l, controlled: s.type === "checkbox" || s.type === "radio" ? s.checked != null : s.value != null };
|
|
8318
8320
|
}
|
|
@@ -8338,10 +8340,10 @@ function GN() {
|
|
|
8338
8340
|
l = i.name, l !== "" && (i.name = ""), i.defaultChecked = !!i._wrapperState.initialChecked, l !== "" && (i.name = l);
|
|
8339
8341
|
}
|
|
8340
8342
|
function ot(i, s, l) {
|
|
8341
|
-
(s !== "number" ||
|
|
8343
|
+
(s !== "number" || Xr(i.ownerDocument) !== i) && (l == null ? i.defaultValue = "" + i._wrapperState.initialValue : i.defaultValue !== "" + l && (i.defaultValue = "" + l));
|
|
8342
8344
|
}
|
|
8343
8345
|
var ct = Array.isArray;
|
|
8344
|
-
function
|
|
8346
|
+
function St(i, s, l, d) {
|
|
8345
8347
|
if (i = i.options, s) {
|
|
8346
8348
|
s = {};
|
|
8347
8349
|
for (var g = 0; g < l.length; g++) s["$" + l[g]] = !0;
|
|
@@ -8361,7 +8363,7 @@ function GN() {
|
|
|
8361
8363
|
if (s.dangerouslySetInnerHTML != null) throw Error(n(91));
|
|
8362
8364
|
return x({}, s, { value: void 0, defaultValue: void 0, children: "" + i._wrapperState.initialValue });
|
|
8363
8365
|
}
|
|
8364
|
-
function
|
|
8366
|
+
function Ze(i, s) {
|
|
8365
8367
|
var l = s.value;
|
|
8366
8368
|
if (l == null) {
|
|
8367
8369
|
if (l = s.children, s = s.defaultValue, l != null) {
|
|
@@ -8376,11 +8378,11 @@ function GN() {
|
|
|
8376
8378
|
}
|
|
8377
8379
|
i._wrapperState = { initialValue: ze(l) };
|
|
8378
8380
|
}
|
|
8379
|
-
function
|
|
8381
|
+
function Ir(i, s) {
|
|
8380
8382
|
var l = ze(s.value), d = ze(s.defaultValue);
|
|
8381
8383
|
l != null && (l = "" + l, l !== i.value && (i.value = l), s.defaultValue == null && i.defaultValue !== l && (i.defaultValue = l)), d != null && (i.defaultValue = "" + d);
|
|
8382
8384
|
}
|
|
8383
|
-
function
|
|
8385
|
+
function Sn(i) {
|
|
8384
8386
|
var s = i.textContent;
|
|
8385
8387
|
s === i._wrapperState.initialValue && s !== "" && s !== null && (i.value = s);
|
|
8386
8388
|
}
|
|
@@ -8394,10 +8396,10 @@ function GN() {
|
|
|
8394
8396
|
return "http://www.w3.org/1999/xhtml";
|
|
8395
8397
|
}
|
|
8396
8398
|
}
|
|
8397
|
-
function
|
|
8399
|
+
function Ee(i, s) {
|
|
8398
8400
|
return i == null || i === "http://www.w3.org/1999/xhtml" ? J(s) : i === "http://www.w3.org/2000/svg" && s === "foreignObject" ? "http://www.w3.org/1999/xhtml" : i;
|
|
8399
8401
|
}
|
|
8400
|
-
var
|
|
8402
|
+
var Ie, $e = function(i) {
|
|
8401
8403
|
return typeof MSApp != "undefined" && MSApp.execUnsafeLocalFunction ? function(s, l, d, g) {
|
|
8402
8404
|
MSApp.execUnsafeLocalFunction(function() {
|
|
8403
8405
|
return i(s, l, d, g);
|
|
@@ -8406,7 +8408,7 @@ function GN() {
|
|
|
8406
8408
|
}(function(i, s) {
|
|
8407
8409
|
if (i.namespaceURI !== "http://www.w3.org/2000/svg" || "innerHTML" in i) i.innerHTML = s;
|
|
8408
8410
|
else {
|
|
8409
|
-
for (
|
|
8411
|
+
for (Ie = Ie || document.createElement("div"), Ie.innerHTML = "<svg>" + s.valueOf().toString() + "</svg>", s = Ie.firstChild; i.firstChild; ) i.removeChild(i.firstChild);
|
|
8410
8412
|
for (; s.firstChild; ) i.appendChild(s.firstChild);
|
|
8411
8413
|
}
|
|
8412
8414
|
});
|
|
@@ -8464,9 +8466,9 @@ function GN() {
|
|
|
8464
8466
|
strokeMiterlimit: !0,
|
|
8465
8467
|
strokeOpacity: !0,
|
|
8466
8468
|
strokeWidth: !0
|
|
8467
|
-
},
|
|
8469
|
+
}, Pr = ["Webkit", "ms", "Moz", "O"];
|
|
8468
8470
|
Object.keys(zt).forEach(function(i) {
|
|
8469
|
-
|
|
8471
|
+
Pr.forEach(function(s) {
|
|
8470
8472
|
s = s + i.charAt(0).toUpperCase() + i.substring(1), zt[s] = zt[i];
|
|
8471
8473
|
});
|
|
8472
8474
|
});
|
|
@@ -9356,7 +9358,7 @@ function GN() {
|
|
|
9356
9358
|
return i && s ? i === s ? !0 : i && i.nodeType === 3 ? !1 : s && s.nodeType === 3 ? fm(i, s.parentNode) : "contains" in i ? i.contains(s) : i.compareDocumentPosition ? !!(i.compareDocumentPosition(s) & 16) : !1 : !1;
|
|
9357
9359
|
}
|
|
9358
9360
|
function dm() {
|
|
9359
|
-
for (var i = window, s =
|
|
9361
|
+
for (var i = window, s = Xr(); s instanceof i.HTMLIFrameElement; ) {
|
|
9360
9362
|
try {
|
|
9361
9363
|
var l = typeof s.contentWindow.location.href == "string";
|
|
9362
9364
|
} catch (d) {
|
|
@@ -9364,7 +9366,7 @@ function GN() {
|
|
|
9364
9366
|
}
|
|
9365
9367
|
if (l) i = s.contentWindow;
|
|
9366
9368
|
else break;
|
|
9367
|
-
s =
|
|
9369
|
+
s = Xr(i.document);
|
|
9368
9370
|
}
|
|
9369
9371
|
return s;
|
|
9370
9372
|
}
|
|
@@ -9395,7 +9397,7 @@ function GN() {
|
|
|
9395
9397
|
var EC = c && "documentMode" in document && 11 >= document.documentMode, ms = null, ff = null, Bo = null, df = !1;
|
|
9396
9398
|
function hm(i, s, l) {
|
|
9397
9399
|
var d = l.window === l ? l.document : l.nodeType === 9 ? l : l.ownerDocument;
|
|
9398
|
-
df || ms == null || ms !==
|
|
9400
|
+
df || ms == null || ms !== Xr(d) || (d = ms, "selectionStart" in d && cf(d) ? d = { start: d.selectionStart, end: d.selectionEnd } : (d = (d.ownerDocument && d.ownerDocument.defaultView || window).getSelection(), d = { anchorNode: d.anchorNode, anchorOffset: d.anchorOffset, focusNode: d.focusNode, focusOffset: d.focusOffset }), Bo && Fo(Bo, d) || (Bo = d, d = _a(ff, "onSelect"), 0 < d.length && (s = new tf("onSelect", "select", null, s, l), i.push({ event: s, listeners: d }), s.target = ms)));
|
|
9399
9401
|
}
|
|
9400
9402
|
function ya(i, s) {
|
|
9401
9403
|
var l = {};
|
|
@@ -9585,8 +9587,8 @@ function GN() {
|
|
|
9585
9587
|
ke = [];
|
|
9586
9588
|
for (var M = Y, V; M !== null; ) {
|
|
9587
9589
|
V = M;
|
|
9588
|
-
var
|
|
9589
|
-
if (V.tag === 5 &&
|
|
9590
|
+
var ge = V.stateNode;
|
|
9591
|
+
if (V.tag === 5 && ge !== null && (V = ge, z !== null && (ge = So(M, z), ge != null && ke.push(zo(M, ge, V)))), At) break;
|
|
9590
9592
|
M = M.return;
|
|
9591
9593
|
}
|
|
9592
9594
|
0 < ke.length && (ne = new Ce(ne, we, null, l, ie), ue.push({ event: ne, listeners: ke }));
|
|
@@ -9594,11 +9596,11 @@ function GN() {
|
|
|
9594
9596
|
}
|
|
9595
9597
|
if ((s & 7) === 0) {
|
|
9596
9598
|
e: {
|
|
9597
|
-
if (ne = i === "mouseover" || i === "pointerover", Ce = i === "mouseout" || i === "pointerout", ne && l !== Cn && (we = l.relatedTarget || l.fromElement) && (Li(we) || we[
|
|
9599
|
+
if (ne = i === "mouseover" || i === "pointerover", Ce = i === "mouseout" || i === "pointerout", ne && l !== Cn && (we = l.relatedTarget || l.fromElement) && (Li(we) || we[Rr])) break e;
|
|
9598
9600
|
if ((Ce || ne) && (ne = ie.window === ie ? ie : (ne = ie.ownerDocument) ? ne.defaultView || ne.parentWindow : window, Ce ? (we = l.relatedTarget || l.toElement, Ce = Y, we = we ? Li(we) : null, we !== null && (At = Ri(we), we !== At || we.tag !== 5 && we.tag !== 6) && (we = null)) : (Ce = null, we = Y), Ce !== we)) {
|
|
9599
|
-
if (ke = K0,
|
|
9601
|
+
if (ke = K0, ge = "onMouseLeave", z = "onMouseEnter", M = "mouse", (i === "pointerout" || i === "pointerover") && (ke = X0, ge = "onPointerLeave", z = "onPointerEnter", M = "pointer"), At = Ce == null ? ne : Ts(Ce), V = we == null ? ne : Ts(we), ne = new ke(ge, M + "leave", Ce, l, ie), ne.target = At, ne.relatedTarget = V, ge = null, Li(ie) === Y && (ke = new ke(z, M + "enter", we, l, ie), ke.target = V, ke.relatedTarget = At, ge = ke), At = ge, Ce && we) t: {
|
|
9600
9602
|
for (ke = Ce, z = we, M = 0, V = ke; V; V = Es(V)) M++;
|
|
9601
|
-
for (V = 0,
|
|
9603
|
+
for (V = 0, ge = z; ge; ge = Es(ge)) V++;
|
|
9602
9604
|
for (; 0 < M - V; ) ke = Es(ke), M--;
|
|
9603
9605
|
for (; 0 < V - M; ) z = Es(z), V--;
|
|
9604
9606
|
for (; M--; ) {
|
|
@@ -9616,18 +9618,18 @@ function GN() {
|
|
|
9616
9618
|
else if (rm(ne)) if (sm) Ne = pC;
|
|
9617
9619
|
else {
|
|
9618
9620
|
Ne = dC;
|
|
9619
|
-
var
|
|
9621
|
+
var Pe = fC;
|
|
9620
9622
|
}
|
|
9621
9623
|
else (Ce = ne.nodeName) && Ce.toLowerCase() === "input" && (ne.type === "checkbox" || ne.type === "radio") && (Ne = hC);
|
|
9622
9624
|
if (Ne && (Ne = Ne(i, Y))) {
|
|
9623
9625
|
im(ue, Ne, l, ie);
|
|
9624
9626
|
break e;
|
|
9625
9627
|
}
|
|
9626
|
-
|
|
9628
|
+
Pe && Pe(i, ne, Y), i === "focusout" && (Pe = ne._wrapperState) && Pe.controlled && ne.type === "number" && ot(ne, "number", ne.value);
|
|
9627
9629
|
}
|
|
9628
|
-
switch (
|
|
9630
|
+
switch (Pe = Y ? Ts(Y) : window, i) {
|
|
9629
9631
|
case "focusin":
|
|
9630
|
-
(rm(
|
|
9632
|
+
(rm(Pe) || Pe.contentEditable === "true") && (ms = Pe, ff = Y, Bo = null);
|
|
9631
9633
|
break;
|
|
9632
9634
|
case "focusout":
|
|
9633
9635
|
Bo = ff = ms = null;
|
|
@@ -9646,7 +9648,7 @@ function GN() {
|
|
|
9646
9648
|
case "keyup":
|
|
9647
9649
|
hm(ue, l, ie);
|
|
9648
9650
|
}
|
|
9649
|
-
var
|
|
9651
|
+
var Re;
|
|
9650
9652
|
if (uf) e: {
|
|
9651
9653
|
switch (i) {
|
|
9652
9654
|
case "compositionstart":
|
|
@@ -9662,7 +9664,7 @@ function GN() {
|
|
|
9662
9664
|
Be = void 0;
|
|
9663
9665
|
}
|
|
9664
9666
|
else ps ? tm(i, l) && (Be = "onCompositionEnd") : i === "keydown" && l.keyCode === 229 && (Be = "onCompositionStart");
|
|
9665
|
-
Be && (J0 && l.locale !== "ko" && (ps || Be !== "onCompositionStart" ? Be === "onCompositionEnd" && ps && (
|
|
9667
|
+
Be && (J0 && l.locale !== "ko" && (ps || Be !== "onCompositionStart" ? Be === "onCompositionEnd" && ps && (Re = W0()) : (si = ie, ef = "value" in si ? si.value : si.textContent, ps = !0)), Pe = _a(Y, Be), 0 < Pe.length && (Be = new Q0(Be, i, null, l, ie), ue.push({ event: Be, listeners: Pe }), Re ? Be.data = Re : (Re = nm(l), Re !== null && (Be.data = Re)))), (Re = sC ? oC(i, l) : uC(i, l)) && (Y = _a(Y, "onBeforeInput"), 0 < Y.length && (ie = new Q0("onBeforeInput", "beforeinput", null, l, ie), ue.push({ event: ie, listeners: Y }), ie.data = Re));
|
|
9666
9668
|
}
|
|
9667
9669
|
Sm(ue, s);
|
|
9668
9670
|
});
|
|
@@ -9754,12 +9756,12 @@ function GN() {
|
|
|
9754
9756
|
}
|
|
9755
9757
|
return null;
|
|
9756
9758
|
}
|
|
9757
|
-
var ys = Math.random().toString(36).slice(2), hr = "__reactFiber$" + ys, jo = "__reactProps$" + ys,
|
|
9759
|
+
var ys = Math.random().toString(36).slice(2), hr = "__reactFiber$" + ys, jo = "__reactProps$" + ys, Rr = "__reactContainer$" + ys, Cf = "__reactEvents$" + ys, wC = "__reactListeners$" + ys, vC = "__reactHandles$" + ys;
|
|
9758
9760
|
function Li(i) {
|
|
9759
9761
|
var s = i[hr];
|
|
9760
9762
|
if (s) return s;
|
|
9761
9763
|
for (var l = i.parentNode; l; ) {
|
|
9762
|
-
if (s = l[
|
|
9764
|
+
if (s = l[Rr] || l[hr]) {
|
|
9763
9765
|
if (l = s.alternate, s.child !== null || l !== null && l.child !== null) for (i = vm(i); i !== null; ) {
|
|
9764
9766
|
if (l = i[hr]) return l;
|
|
9765
9767
|
i = vm(i);
|
|
@@ -9771,7 +9773,7 @@ function GN() {
|
|
|
9771
9773
|
return null;
|
|
9772
9774
|
}
|
|
9773
9775
|
function $o(i) {
|
|
9774
|
-
return i = i[hr] || i[
|
|
9776
|
+
return i = i[hr] || i[Rr], !i || i.tag !== 5 && i.tag !== 6 && i.tag !== 13 && i.tag !== 3 ? null : i;
|
|
9775
9777
|
}
|
|
9776
9778
|
function Ts(i) {
|
|
9777
9779
|
if (i.tag === 5 || i.tag === 6) return i.stateNode;
|
|
@@ -9825,56 +9827,56 @@ function GN() {
|
|
|
9825
9827
|
if (!d) throw Error(n(169));
|
|
9826
9828
|
l ? (i = Nm(i, s, Di), d.__reactInternalMemoizedMergedChildContext = i, dt(an), dt(Wt), ut(Wt, i)) : dt(an), ut(an, l);
|
|
9827
9829
|
}
|
|
9828
|
-
var
|
|
9830
|
+
var Lr = null, va = !1, Af = !1;
|
|
9829
9831
|
function Im(i) {
|
|
9830
|
-
|
|
9832
|
+
Lr === null ? Lr = [i] : Lr.push(i);
|
|
9831
9833
|
}
|
|
9832
9834
|
function kC(i) {
|
|
9833
9835
|
va = !0, Im(i);
|
|
9834
9836
|
}
|
|
9835
9837
|
function ci() {
|
|
9836
|
-
if (!Af &&
|
|
9838
|
+
if (!Af && Lr !== null) {
|
|
9837
9839
|
Af = !0;
|
|
9838
9840
|
var i = 0, s = rt;
|
|
9839
9841
|
try {
|
|
9840
|
-
var l =
|
|
9842
|
+
var l = Lr;
|
|
9841
9843
|
for (rt = 1; i < l.length; i++) {
|
|
9842
9844
|
var d = l[i];
|
|
9843
9845
|
do
|
|
9844
9846
|
d = d(!0);
|
|
9845
9847
|
while (d !== null);
|
|
9846
9848
|
}
|
|
9847
|
-
|
|
9849
|
+
Lr = null, va = !1;
|
|
9848
9850
|
} catch (g) {
|
|
9849
|
-
throw
|
|
9851
|
+
throw Lr !== null && (Lr = Lr.slice(i + 1)), R0(Yc, ci), g;
|
|
9850
9852
|
} finally {
|
|
9851
9853
|
rt = s, Af = !1;
|
|
9852
9854
|
}
|
|
9853
9855
|
}
|
|
9854
9856
|
return null;
|
|
9855
9857
|
}
|
|
9856
|
-
var Ss = [], Cs = 0, ka = null, Na = 0, Mn = [], Fn = 0, Mi = null,
|
|
9858
|
+
var Ss = [], Cs = 0, ka = null, Na = 0, Mn = [], Fn = 0, Mi = null, Dr = 1, Mr = "";
|
|
9857
9859
|
function Fi(i, s) {
|
|
9858
9860
|
Ss[Cs++] = Na, Ss[Cs++] = ka, ka = i, Na = s;
|
|
9859
9861
|
}
|
|
9860
9862
|
function Pm(i, s, l) {
|
|
9861
|
-
Mn[Fn++] =
|
|
9862
|
-
var d =
|
|
9863
|
-
i =
|
|
9863
|
+
Mn[Fn++] = Dr, Mn[Fn++] = Mr, Mn[Fn++] = Mi, Mi = i;
|
|
9864
|
+
var d = Dr;
|
|
9865
|
+
i = Mr;
|
|
9864
9866
|
var g = 32 - Kn(d) - 1;
|
|
9865
9867
|
d &= ~(1 << g), l += 1;
|
|
9866
9868
|
var y = 32 - Kn(s) + g;
|
|
9867
9869
|
if (30 < y) {
|
|
9868
9870
|
var S = g - g % 5;
|
|
9869
|
-
y = (d & (1 << S) - 1).toString(32), d >>= S, g -= S,
|
|
9870
|
-
} else
|
|
9871
|
+
y = (d & (1 << S) - 1).toString(32), d >>= S, g -= S, Dr = 1 << 32 - Kn(s) + g | l << g | d, Mr = y + i;
|
|
9872
|
+
} else Dr = 1 << y | l << g | d, Mr = i;
|
|
9871
9873
|
}
|
|
9872
9874
|
function wf(i) {
|
|
9873
9875
|
i.return !== null && (Fi(i, 1), Pm(i, 1, 0));
|
|
9874
9876
|
}
|
|
9875
9877
|
function vf(i) {
|
|
9876
9878
|
for (; i === ka; ) ka = Ss[--Cs], Ss[Cs] = null, Na = Ss[--Cs], Ss[Cs] = null;
|
|
9877
|
-
for (; i === Mi; ) Mi = Mn[--Fn], Mn[Fn] = null,
|
|
9879
|
+
for (; i === Mi; ) Mi = Mn[--Fn], Mn[Fn] = null, Mr = Mn[--Fn], Mn[Fn] = null, Dr = Mn[--Fn], Mn[Fn] = null;
|
|
9878
9880
|
}
|
|
9879
9881
|
var An = null, wn = null, pt = !1, Xn = null;
|
|
9880
9882
|
function Rm(i, s) {
|
|
@@ -9889,7 +9891,7 @@ function GN() {
|
|
|
9889
9891
|
case 6:
|
|
9890
9892
|
return s = i.pendingProps === "" || s.nodeType !== 3 ? null : s, s !== null ? (i.stateNode = s, An = i, wn = null, !0) : !1;
|
|
9891
9893
|
case 13:
|
|
9892
|
-
return s = s.nodeType !== 8 ? null : s, s !== null ? (l = Mi !== null ? { id:
|
|
9894
|
+
return s = s.nodeType !== 8 ? null : s, s !== null ? (l = Mi !== null ? { id: Dr, overflow: Mr } : null, i.memoizedState = { dehydrated: s, treeContext: l, retryLane: 1073741824 }, l = zn(18, null, null, 0), l.stateNode = s, l.return = i, i.child = l, An = i, wn = null, !0) : !1;
|
|
9893
9895
|
default:
|
|
9894
9896
|
return !1;
|
|
9895
9897
|
}
|
|
@@ -10008,18 +10010,18 @@ function GN() {
|
|
|
10008
10010
|
function S(z) {
|
|
10009
10011
|
return i && z.alternate === null && (z.flags |= 2), z;
|
|
10010
10012
|
}
|
|
10011
|
-
function N(z, M, V,
|
|
10012
|
-
return M === null || M.tag !== 6 ? (M = _d(V, z.mode,
|
|
10013
|
+
function N(z, M, V, ge) {
|
|
10014
|
+
return M === null || M.tag !== 6 ? (M = _d(V, z.mode, ge), M.return = z, M) : (M = g(M, V), M.return = z, M);
|
|
10013
10015
|
}
|
|
10014
|
-
function L(z, M, V,
|
|
10016
|
+
function L(z, M, V, ge) {
|
|
10015
10017
|
var Ne = V.type;
|
|
10016
|
-
return Ne === te ? ie(z, M, V.props.children,
|
|
10018
|
+
return Ne === te ? ie(z, M, V.props.children, ge, V.key) : M !== null && (M.elementType === Ne || typeof Ne == "object" && Ne !== null && Ne.$$typeof === xe && Fm(Ne) === M.type) ? (ge = g(M, V.props), ge.ref = Vo(z, M, V), ge.return = z, ge) : (ge = tl(V.type, V.key, V.props, null, z.mode, ge), ge.ref = Vo(z, M, V), ge.return = z, ge);
|
|
10017
10019
|
}
|
|
10018
|
-
function Y(z, M, V,
|
|
10019
|
-
return M === null || M.tag !== 4 || M.stateNode.containerInfo !== V.containerInfo || M.stateNode.implementation !== V.implementation ? (M = Sd(V, z.mode,
|
|
10020
|
+
function Y(z, M, V, ge) {
|
|
10021
|
+
return M === null || M.tag !== 4 || M.stateNode.containerInfo !== V.containerInfo || M.stateNode.implementation !== V.implementation ? (M = Sd(V, z.mode, ge), M.return = z, M) : (M = g(M, V.children || []), M.return = z, M);
|
|
10020
10022
|
}
|
|
10021
|
-
function ie(z, M, V,
|
|
10022
|
-
return M === null || M.tag !== 7 ? (M = qi(V, z.mode,
|
|
10023
|
+
function ie(z, M, V, ge, Ne) {
|
|
10024
|
+
return M === null || M.tag !== 7 ? (M = qi(V, z.mode, ge, Ne), M.return = z, M) : (M = g(M, V), M.return = z, M);
|
|
10023
10025
|
}
|
|
10024
10026
|
function ue(z, M, V) {
|
|
10025
10027
|
if (typeof M == "string" && M !== "" || typeof M == "number") return M = _d("" + M, z.mode, V), M.return = z, M;
|
|
@@ -10030,127 +10032,127 @@ function GN() {
|
|
|
10030
10032
|
case B:
|
|
10031
10033
|
return M = Sd(M, z.mode, V), M.return = z, M;
|
|
10032
10034
|
case xe:
|
|
10033
|
-
var
|
|
10034
|
-
return ue(z,
|
|
10035
|
+
var ge = M._init;
|
|
10036
|
+
return ue(z, ge(M._payload), V);
|
|
10035
10037
|
}
|
|
10036
10038
|
if (ct(M) || Z(M)) return M = qi(M, z.mode, V, null), M.return = z, M;
|
|
10037
10039
|
Ia(z, M);
|
|
10038
10040
|
}
|
|
10039
10041
|
return null;
|
|
10040
10042
|
}
|
|
10041
|
-
function ne(z, M, V,
|
|
10043
|
+
function ne(z, M, V, ge) {
|
|
10042
10044
|
var Ne = M !== null ? M.key : null;
|
|
10043
|
-
if (typeof V == "string" && V !== "" || typeof V == "number") return Ne !== null ? null : N(z, M, "" + V,
|
|
10045
|
+
if (typeof V == "string" && V !== "" || typeof V == "number") return Ne !== null ? null : N(z, M, "" + V, ge);
|
|
10044
10046
|
if (typeof V == "object" && V !== null) {
|
|
10045
10047
|
switch (V.$$typeof) {
|
|
10046
10048
|
case W:
|
|
10047
|
-
return V.key === Ne ? L(z, M, V,
|
|
10049
|
+
return V.key === Ne ? L(z, M, V, ge) : null;
|
|
10048
10050
|
case B:
|
|
10049
|
-
return V.key === Ne ? Y(z, M, V,
|
|
10051
|
+
return V.key === Ne ? Y(z, M, V, ge) : null;
|
|
10050
10052
|
case xe:
|
|
10051
10053
|
return Ne = V._init, ne(
|
|
10052
10054
|
z,
|
|
10053
10055
|
M,
|
|
10054
10056
|
Ne(V._payload),
|
|
10055
|
-
|
|
10057
|
+
ge
|
|
10056
10058
|
);
|
|
10057
10059
|
}
|
|
10058
|
-
if (ct(V) || Z(V)) return Ne !== null ? null : ie(z, M, V,
|
|
10060
|
+
if (ct(V) || Z(V)) return Ne !== null ? null : ie(z, M, V, ge, null);
|
|
10059
10061
|
Ia(z, V);
|
|
10060
10062
|
}
|
|
10061
10063
|
return null;
|
|
10062
10064
|
}
|
|
10063
|
-
function Ce(z, M, V,
|
|
10064
|
-
if (typeof
|
|
10065
|
-
if (typeof
|
|
10066
|
-
switch (
|
|
10065
|
+
function Ce(z, M, V, ge, Ne) {
|
|
10066
|
+
if (typeof ge == "string" && ge !== "" || typeof ge == "number") return z = z.get(V) || null, N(M, z, "" + ge, Ne);
|
|
10067
|
+
if (typeof ge == "object" && ge !== null) {
|
|
10068
|
+
switch (ge.$$typeof) {
|
|
10067
10069
|
case W:
|
|
10068
|
-
return z = z.get(
|
|
10070
|
+
return z = z.get(ge.key === null ? V : ge.key) || null, L(M, z, ge, Ne);
|
|
10069
10071
|
case B:
|
|
10070
|
-
return z = z.get(
|
|
10072
|
+
return z = z.get(ge.key === null ? V : ge.key) || null, Y(M, z, ge, Ne);
|
|
10071
10073
|
case xe:
|
|
10072
|
-
var
|
|
10073
|
-
return Ce(z, M, V,
|
|
10074
|
+
var Pe = ge._init;
|
|
10075
|
+
return Ce(z, M, V, Pe(ge._payload), Ne);
|
|
10074
10076
|
}
|
|
10075
|
-
if (ct(
|
|
10076
|
-
Ia(M,
|
|
10077
|
+
if (ct(ge) || Z(ge)) return z = z.get(V) || null, ie(M, z, ge, Ne, null);
|
|
10078
|
+
Ia(M, ge);
|
|
10077
10079
|
}
|
|
10078
10080
|
return null;
|
|
10079
10081
|
}
|
|
10080
|
-
function we(z, M, V,
|
|
10081
|
-
for (var Ne = null,
|
|
10082
|
-
|
|
10083
|
-
var
|
|
10084
|
-
if (
|
|
10085
|
-
|
|
10082
|
+
function we(z, M, V, ge) {
|
|
10083
|
+
for (var Ne = null, Pe = null, Re = M, Be = M = 0, Mt = null; Re !== null && Be < V.length; Be++) {
|
|
10084
|
+
Re.index > Be ? (Mt = Re, Re = null) : Mt = Re.sibling;
|
|
10085
|
+
var Je = ne(z, Re, V[Be], ge);
|
|
10086
|
+
if (Je === null) {
|
|
10087
|
+
Re === null && (Re = Mt);
|
|
10086
10088
|
break;
|
|
10087
10089
|
}
|
|
10088
|
-
i &&
|
|
10090
|
+
i && Re && Je.alternate === null && s(z, Re), M = y(Je, M, Be), Pe === null ? Ne = Je : Pe.sibling = Je, Pe = Je, Re = Mt;
|
|
10089
10091
|
}
|
|
10090
|
-
if (Be === V.length) return l(z,
|
|
10091
|
-
if (
|
|
10092
|
-
for (; Be < V.length; Be++)
|
|
10092
|
+
if (Be === V.length) return l(z, Re), pt && Fi(z, Be), Ne;
|
|
10093
|
+
if (Re === null) {
|
|
10094
|
+
for (; Be < V.length; Be++) Re = ue(z, V[Be], ge), Re !== null && (M = y(Re, M, Be), Pe === null ? Ne = Re : Pe.sibling = Re, Pe = Re);
|
|
10093
10095
|
return pt && Fi(z, Be), Ne;
|
|
10094
10096
|
}
|
|
10095
|
-
for (
|
|
10096
|
-
return i &&
|
|
10097
|
+
for (Re = d(z, Re); Be < V.length; Be++) Mt = Ce(Re, z, Be, V[Be], ge), Mt !== null && (i && Mt.alternate !== null && Re.delete(Mt.key === null ? Be : Mt.key), M = y(Mt, M, Be), Pe === null ? Ne = Mt : Pe.sibling = Mt, Pe = Mt);
|
|
10098
|
+
return i && Re.forEach(function(Ti) {
|
|
10097
10099
|
return s(z, Ti);
|
|
10098
10100
|
}), pt && Fi(z, Be), Ne;
|
|
10099
10101
|
}
|
|
10100
|
-
function ke(z, M, V,
|
|
10102
|
+
function ke(z, M, V, ge) {
|
|
10101
10103
|
var Ne = Z(V);
|
|
10102
10104
|
if (typeof Ne != "function") throw Error(n(150));
|
|
10103
10105
|
if (V = Ne.call(V), V == null) throw Error(n(151));
|
|
10104
|
-
for (var
|
|
10105
|
-
|
|
10106
|
-
var Ti = ne(z,
|
|
10106
|
+
for (var Pe = Ne = null, Re = M, Be = M = 0, Mt = null, Je = V.next(); Re !== null && !Je.done; Be++, Je = V.next()) {
|
|
10107
|
+
Re.index > Be ? (Mt = Re, Re = null) : Mt = Re.sibling;
|
|
10108
|
+
var Ti = ne(z, Re, Je.value, ge);
|
|
10107
10109
|
if (Ti === null) {
|
|
10108
|
-
|
|
10110
|
+
Re === null && (Re = Mt);
|
|
10109
10111
|
break;
|
|
10110
10112
|
}
|
|
10111
|
-
i &&
|
|
10113
|
+
i && Re && Ti.alternate === null && s(z, Re), M = y(Ti, M, Be), Pe === null ? Ne = Ti : Pe.sibling = Ti, Pe = Ti, Re = Mt;
|
|
10112
10114
|
}
|
|
10113
|
-
if (
|
|
10115
|
+
if (Je.done) return l(
|
|
10114
10116
|
z,
|
|
10115
|
-
|
|
10117
|
+
Re
|
|
10116
10118
|
), pt && Fi(z, Be), Ne;
|
|
10117
|
-
if (
|
|
10118
|
-
for (; !
|
|
10119
|
+
if (Re === null) {
|
|
10120
|
+
for (; !Je.done; Be++, Je = V.next()) Je = ue(z, Je.value, ge), Je !== null && (M = y(Je, M, Be), Pe === null ? Ne = Je : Pe.sibling = Je, Pe = Je);
|
|
10119
10121
|
return pt && Fi(z, Be), Ne;
|
|
10120
10122
|
}
|
|
10121
|
-
for (
|
|
10122
|
-
return i &&
|
|
10123
|
+
for (Re = d(z, Re); !Je.done; Be++, Je = V.next()) Je = Ce(Re, z, Be, Je.value, ge), Je !== null && (i && Je.alternate !== null && Re.delete(Je.key === null ? Be : Je.key), M = y(Je, M, Be), Pe === null ? Ne = Je : Pe.sibling = Je, Pe = Je);
|
|
10124
|
+
return i && Re.forEach(function(ax) {
|
|
10123
10125
|
return s(z, ax);
|
|
10124
10126
|
}), pt && Fi(z, Be), Ne;
|
|
10125
10127
|
}
|
|
10126
|
-
function At(z, M, V,
|
|
10128
|
+
function At(z, M, V, ge) {
|
|
10127
10129
|
if (typeof V == "object" && V !== null && V.type === te && V.key === null && (V = V.props.children), typeof V == "object" && V !== null) {
|
|
10128
10130
|
switch (V.$$typeof) {
|
|
10129
10131
|
case W:
|
|
10130
10132
|
e: {
|
|
10131
|
-
for (var Ne = V.key,
|
|
10132
|
-
if (
|
|
10133
|
+
for (var Ne = V.key, Pe = M; Pe !== null; ) {
|
|
10134
|
+
if (Pe.key === Ne) {
|
|
10133
10135
|
if (Ne = V.type, Ne === te) {
|
|
10134
|
-
if (
|
|
10135
|
-
l(z,
|
|
10136
|
+
if (Pe.tag === 7) {
|
|
10137
|
+
l(z, Pe.sibling), M = g(Pe, V.props.children), M.return = z, z = M;
|
|
10136
10138
|
break e;
|
|
10137
10139
|
}
|
|
10138
|
-
} else if (
|
|
10139
|
-
l(z,
|
|
10140
|
+
} else if (Pe.elementType === Ne || typeof Ne == "object" && Ne !== null && Ne.$$typeof === xe && Fm(Ne) === Pe.type) {
|
|
10141
|
+
l(z, Pe.sibling), M = g(Pe, V.props), M.ref = Vo(z, Pe, V), M.return = z, z = M;
|
|
10140
10142
|
break e;
|
|
10141
10143
|
}
|
|
10142
|
-
l(z,
|
|
10144
|
+
l(z, Pe);
|
|
10143
10145
|
break;
|
|
10144
|
-
} else s(z,
|
|
10145
|
-
|
|
10146
|
+
} else s(z, Pe);
|
|
10147
|
+
Pe = Pe.sibling;
|
|
10146
10148
|
}
|
|
10147
|
-
V.type === te ? (M = qi(V.props.children, z.mode,
|
|
10149
|
+
V.type === te ? (M = qi(V.props.children, z.mode, ge, V.key), M.return = z, z = M) : (ge = tl(V.type, V.key, V.props, null, z.mode, ge), ge.ref = Vo(z, M, V), ge.return = z, z = ge);
|
|
10148
10150
|
}
|
|
10149
10151
|
return S(z);
|
|
10150
10152
|
case B:
|
|
10151
10153
|
e: {
|
|
10152
|
-
for (
|
|
10153
|
-
if (M.key ===
|
|
10154
|
+
for (Pe = V.key; M !== null; ) {
|
|
10155
|
+
if (M.key === Pe) if (M.tag === 4 && M.stateNode.containerInfo === V.containerInfo && M.stateNode.implementation === V.implementation) {
|
|
10154
10156
|
l(z, M.sibling), M = g(M, V.children || []), M.return = z, z = M;
|
|
10155
10157
|
break e;
|
|
10156
10158
|
} else {
|
|
@@ -10160,17 +10162,17 @@ function GN() {
|
|
|
10160
10162
|
else s(z, M);
|
|
10161
10163
|
M = M.sibling;
|
|
10162
10164
|
}
|
|
10163
|
-
M = Sd(V, z.mode,
|
|
10165
|
+
M = Sd(V, z.mode, ge), M.return = z, z = M;
|
|
10164
10166
|
}
|
|
10165
10167
|
return S(z);
|
|
10166
10168
|
case xe:
|
|
10167
|
-
return
|
|
10169
|
+
return Pe = V._init, At(z, M, Pe(V._payload), ge);
|
|
10168
10170
|
}
|
|
10169
|
-
if (ct(V)) return we(z, M, V,
|
|
10170
|
-
if (Z(V)) return ke(z, M, V,
|
|
10171
|
+
if (ct(V)) return we(z, M, V, ge);
|
|
10172
|
+
if (Z(V)) return ke(z, M, V, ge);
|
|
10171
10173
|
Ia(z, V);
|
|
10172
10174
|
}
|
|
10173
|
-
return typeof V == "string" && V !== "" || typeof V == "number" ? (V = "" + V, M !== null && M.tag === 6 ? (l(z, M.sibling), M = g(M, V), M.return = z, z = M) : (l(z, M), M = _d(V, z.mode,
|
|
10175
|
+
return typeof V == "string" && V !== "" || typeof V == "number" ? (V = "" + V, M !== null && M.tag === 6 ? (l(z, M.sibling), M = g(M, V), M.return = z, z = M) : (l(z, M), M = _d(V, z.mode, ge), M.return = z, z = M), S(z)) : l(z, M);
|
|
10174
10176
|
}
|
|
10175
10177
|
return At;
|
|
10176
10178
|
}
|
|
@@ -10206,9 +10208,9 @@ function GN() {
|
|
|
10206
10208
|
}
|
|
10207
10209
|
function Hm(i, s, l, d) {
|
|
10208
10210
|
var g = s.interleaved;
|
|
10209
|
-
return g === null ? (l.next = l, Df(s)) : (l.next = g.next, g.next = l), s.interleaved = l,
|
|
10211
|
+
return g === null ? (l.next = l, Df(s)) : (l.next = g.next, g.next = l), s.interleaved = l, Fr(i, d);
|
|
10210
10212
|
}
|
|
10211
|
-
function
|
|
10213
|
+
function Fr(i, s) {
|
|
10212
10214
|
i.lanes |= s;
|
|
10213
10215
|
var l = i.alternate;
|
|
10214
10216
|
for (l !== null && (l.lanes |= s), l = i, i = i.return; i !== null; ) i.childLanes |= s, l = i.alternate, l !== null && (l.childLanes |= s), l = i, i = i.return;
|
|
@@ -10221,7 +10223,7 @@ function GN() {
|
|
|
10221
10223
|
function zm(i, s) {
|
|
10222
10224
|
i = i.updateQueue, s.updateQueue === i && (s.updateQueue = { baseState: i.baseState, firstBaseUpdate: i.firstBaseUpdate, lastBaseUpdate: i.lastBaseUpdate, shared: i.shared, effects: i.effects });
|
|
10223
10225
|
}
|
|
10224
|
-
function
|
|
10226
|
+
function Br(i, s) {
|
|
10225
10227
|
return { eventTime: i, lane: s, tag: 0, payload: null, callback: null, next: null };
|
|
10226
10228
|
}
|
|
10227
10229
|
function di(i, s, l) {
|
|
@@ -10229,9 +10231,9 @@ function GN() {
|
|
|
10229
10231
|
if (d === null) return null;
|
|
10230
10232
|
if (d = d.shared, (Xe & 2) !== 0) {
|
|
10231
10233
|
var g = d.pending;
|
|
10232
|
-
return g === null ? s.next = s : (s.next = g.next, g.next = s), d.pending = s,
|
|
10234
|
+
return g === null ? s.next = s : (s.next = g.next, g.next = s), d.pending = s, Fr(i, l);
|
|
10233
10235
|
}
|
|
10234
|
-
return g = d.interleaved, g === null ? (s.next = s, Df(d)) : (s.next = g.next, g.next = s), d.interleaved = s,
|
|
10236
|
+
return g = d.interleaved, g === null ? (s.next = s, Df(d)) : (s.next = g.next, g.next = s), d.interleaved = s, Fr(i, l);
|
|
10235
10237
|
}
|
|
10236
10238
|
function La(i, s, l) {
|
|
10237
10239
|
if (s = s.updateQueue, s !== null && (s = s.shared, (l & 4194240) !== 0)) {
|
|
@@ -10334,10 +10336,10 @@ function GN() {
|
|
|
10334
10336
|
switch (ut(Wo, s), ut(Yo, i), ut(pr, qo), i = s.nodeType, i) {
|
|
10335
10337
|
case 9:
|
|
10336
10338
|
case 11:
|
|
10337
|
-
s = (s = s.documentElement) ? s.namespaceURI :
|
|
10339
|
+
s = (s = s.documentElement) ? s.namespaceURI : Ee(null, "");
|
|
10338
10340
|
break;
|
|
10339
10341
|
default:
|
|
10340
|
-
i = i === 8 ? s.parentNode : s, s = i.namespaceURI || null, i = i.tagName, s =
|
|
10342
|
+
i = i === 8 ? s.parentNode : s, s = i.namespaceURI || null, i = i.tagName, s = Ee(s, i);
|
|
10341
10343
|
}
|
|
10342
10344
|
dt(pr), ut(pr, s);
|
|
10343
10345
|
}
|
|
@@ -10346,7 +10348,7 @@ function GN() {
|
|
|
10346
10348
|
}
|
|
10347
10349
|
function Vm(i) {
|
|
10348
10350
|
Ui(Wo.current);
|
|
10349
|
-
var s = Ui(pr.current), l =
|
|
10351
|
+
var s = Ui(pr.current), l = Ee(s, i.type);
|
|
10350
10352
|
s !== l && (ut(Yo, i), ut(pr, l));
|
|
10351
10353
|
}
|
|
10352
10354
|
function Bf(i) {
|
|
@@ -10509,7 +10511,7 @@ function GN() {
|
|
|
10509
10511
|
}
|
|
10510
10512
|
}
|
|
10511
10513
|
function Xm(i) {
|
|
10512
|
-
var s =
|
|
10514
|
+
var s = Fr(i, 1);
|
|
10513
10515
|
s !== null && tr(s, i, 1, -1);
|
|
10514
10516
|
}
|
|
10515
10517
|
function Jm(i) {
|
|
@@ -10682,7 +10684,7 @@ function GN() {
|
|
|
10682
10684
|
}, useId: function() {
|
|
10683
10685
|
var i = mr(), s = Dt.identifierPrefix;
|
|
10684
10686
|
if (pt) {
|
|
10685
|
-
var l =
|
|
10687
|
+
var l = Mr, d = Dr;
|
|
10686
10688
|
l = (d & ~(1 << 32 - Kn(d) - 1)).toString(32) + l, s = ":" + s + "R" + l, l = Ko++, 0 < l && (s += "H" + l.toString(32)), s += ":";
|
|
10687
10689
|
} else l = OC++, s = ":" + s + "r" + l.toString(32) + ":";
|
|
10688
10690
|
return i.memoizedState = s;
|
|
@@ -10737,15 +10739,15 @@ function GN() {
|
|
|
10737
10739
|
return (i = i._reactInternals) ? Ri(i) === i : !1;
|
|
10738
10740
|
}, enqueueSetState: function(i, s, l) {
|
|
10739
10741
|
i = i._reactInternals;
|
|
10740
|
-
var d = rn(), g = gi(i), y =
|
|
10742
|
+
var d = rn(), g = gi(i), y = Br(d, g);
|
|
10741
10743
|
y.payload = s, l != null && (y.callback = l), s = di(i, y, g), s !== null && (tr(s, i, g, d), La(s, i, g));
|
|
10742
10744
|
}, enqueueReplaceState: function(i, s, l) {
|
|
10743
10745
|
i = i._reactInternals;
|
|
10744
|
-
var d = rn(), g = gi(i), y =
|
|
10746
|
+
var d = rn(), g = gi(i), y = Br(d, g);
|
|
10745
10747
|
y.tag = 1, y.payload = s, l != null && (y.callback = l), s = di(i, y, g), s !== null && (tr(s, i, g, d), La(s, i, g));
|
|
10746
10748
|
}, enqueueForceUpdate: function(i, s) {
|
|
10747
10749
|
i = i._reactInternals;
|
|
10748
|
-
var l = rn(), d = gi(i), g =
|
|
10750
|
+
var l = rn(), d = gi(i), g = Br(l, d);
|
|
10749
10751
|
g.tag = 2, s != null && (g.callback = s), s = di(i, g, d), s !== null && (tr(s, i, d, l), La(s, i, d));
|
|
10750
10752
|
} };
|
|
10751
10753
|
function dg(i, s, l, d, g, y, S) {
|
|
@@ -10768,7 +10770,7 @@ function GN() {
|
|
|
10768
10770
|
try {
|
|
10769
10771
|
var l = "", d = s;
|
|
10770
10772
|
do
|
|
10771
|
-
l +=
|
|
10773
|
+
l += De(d), d = d.return;
|
|
10772
10774
|
while (d);
|
|
10773
10775
|
var g = l;
|
|
10774
10776
|
} catch (y) {
|
|
@@ -10792,14 +10794,14 @@ Error generating stack: ` + y.message + `
|
|
|
10792
10794
|
}
|
|
10793
10795
|
var FC = typeof WeakMap == "function" ? WeakMap : Map;
|
|
10794
10796
|
function mg(i, s, l) {
|
|
10795
|
-
l =
|
|
10797
|
+
l = Br(-1, l), l.tag = 3, l.payload = { element: null };
|
|
10796
10798
|
var d = s.value;
|
|
10797
10799
|
return l.callback = function() {
|
|
10798
10800
|
Ka || (Ka = !0, hd = d), Jf(i, s);
|
|
10799
10801
|
}, l;
|
|
10800
10802
|
}
|
|
10801
10803
|
function gg(i, s, l) {
|
|
10802
|
-
l =
|
|
10804
|
+
l = Br(-1, l), l.tag = 3;
|
|
10803
10805
|
var d = i.type.getDerivedStateFromError;
|
|
10804
10806
|
if (typeof d == "function") {
|
|
10805
10807
|
var g = s.value;
|
|
@@ -10834,7 +10836,7 @@ Error generating stack: ` + y.message + `
|
|
|
10834
10836
|
return null;
|
|
10835
10837
|
}
|
|
10836
10838
|
function Tg(i, s, l, d, g) {
|
|
10837
|
-
return (i.mode & 1) === 0 ? (i === s ? i.flags |= 65536 : (i.flags |= 128, l.flags |= 131072, l.flags &= -52805, l.tag === 1 && (l.alternate === null ? l.tag = 17 : (s =
|
|
10839
|
+
return (i.mode & 1) === 0 ? (i === s ? i.flags |= 65536 : (i.flags |= 128, l.flags |= 131072, l.flags &= -52805, l.tag === 1 && (l.alternate === null ? l.tag = 17 : (s = Br(-1, 1), s.tag = 2, di(l, s, 1))), l.lanes |= 1), i) : (i.flags |= 65536, i.lanes = g, i);
|
|
10838
10840
|
}
|
|
10839
10841
|
var BC = G.ReactCurrentOwner, cn = !1;
|
|
10840
10842
|
function nn(i, s, l, d) {
|
|
@@ -10843,7 +10845,7 @@ Error generating stack: ` + y.message + `
|
|
|
10843
10845
|
function bg(i, s, l, d, g) {
|
|
10844
10846
|
l = l.render;
|
|
10845
10847
|
var y = s.ref;
|
|
10846
|
-
return vs(s, g), d = $f(i, s, l, d, y, g), l = Vf(), i !== null && !cn ? (s.updateQueue = i.updateQueue, s.flags &= -2053, i.lanes &= ~g,
|
|
10848
|
+
return vs(s, g), d = $f(i, s, l, d, y, g), l = Vf(), i !== null && !cn ? (s.updateQueue = i.updateQueue, s.flags &= -2053, i.lanes &= ~g, Ur(i, s, g)) : (pt && l && wf(s), s.flags |= 1, nn(i, s, d, g), s.child);
|
|
10847
10849
|
}
|
|
10848
10850
|
function _g(i, s, l, d, g) {
|
|
10849
10851
|
if (i === null) {
|
|
@@ -10852,7 +10854,7 @@ Error generating stack: ` + y.message + `
|
|
|
10852
10854
|
}
|
|
10853
10855
|
if (y = i.child, (i.lanes & g) === 0) {
|
|
10854
10856
|
var S = y.memoizedProps;
|
|
10855
|
-
if (l = l.compare, l = l !== null ? l : Fo, l(S, d) && i.ref === s.ref) return
|
|
10857
|
+
if (l = l.compare, l = l !== null ? l : Fo, l(S, d) && i.ref === s.ref) return Ur(i, s, g);
|
|
10856
10858
|
}
|
|
10857
10859
|
return s.flags |= 1, i = yi(y, d), i.ref = s.ref, i.return = s, s.child = i;
|
|
10858
10860
|
}
|
|
@@ -10860,7 +10862,7 @@ Error generating stack: ` + y.message + `
|
|
|
10860
10862
|
if (i !== null) {
|
|
10861
10863
|
var y = i.memoizedProps;
|
|
10862
10864
|
if (Fo(y, d) && i.ref === s.ref) if (cn = !1, s.pendingProps = d = y, (i.lanes & g) !== 0) (i.flags & 131072) !== 0 && (cn = !0);
|
|
10863
|
-
else return s.lanes = i.lanes,
|
|
10865
|
+
else return s.lanes = i.lanes, Ur(i, s, g);
|
|
10864
10866
|
}
|
|
10865
10867
|
return Zf(i, s, l, d, g);
|
|
10866
10868
|
}
|
|
@@ -10880,7 +10882,7 @@ Error generating stack: ` + y.message + `
|
|
|
10880
10882
|
}
|
|
10881
10883
|
function Zf(i, s, l, d, g) {
|
|
10882
10884
|
var y = ln(l) ? Di : Wt.current;
|
|
10883
|
-
return y = _s(s, y), vs(s, g), l = $f(i, s, l, d, y, g), d = Vf(), i !== null && !cn ? (s.updateQueue = i.updateQueue, s.flags &= -2053, i.lanes &= ~g,
|
|
10885
|
+
return y = _s(s, y), vs(s, g), l = $f(i, s, l, d, y, g), d = Vf(), i !== null && !cn ? (s.updateQueue = i.updateQueue, s.flags &= -2053, i.lanes &= ~g, Ur(i, s, g)) : (pt && d && wf(s), s.flags |= 1, nn(i, s, l, g), s.child);
|
|
10884
10886
|
}
|
|
10885
10887
|
function Ag(i, s, l, d, g) {
|
|
10886
10888
|
if (ln(l)) {
|
|
@@ -10909,7 +10911,7 @@ Error generating stack: ` + y.message + `
|
|
|
10909
10911
|
function ed(i, s, l, d, g, y) {
|
|
10910
10912
|
xg(i, s);
|
|
10911
10913
|
var S = (s.flags & 128) !== 0;
|
|
10912
|
-
if (!d && !S) return g && Om(s, l, !1),
|
|
10914
|
+
if (!d && !S) return g && Om(s, l, !1), Ur(i, s, y);
|
|
10913
10915
|
d = s.stateNode, BC.current = s;
|
|
10914
10916
|
var N = S && typeof l.getDerivedStateFromError != "function" ? null : d.render();
|
|
10915
10917
|
return s.flags |= 1, i !== null && S ? (s.child = As(s, i.child, null, y), s.child = As(s, null, N, y)) : nn(i, s, N, y), s.memoizedState = d.state, g && Om(s, l, !0), s.child;
|
|
@@ -10989,11 +10991,11 @@ Error generating stack: ` + y.message + `
|
|
|
10989
10991
|
default:
|
|
10990
10992
|
g = 0;
|
|
10991
10993
|
}
|
|
10992
|
-
g = (g & (d.suspendedLanes | S)) !== 0 ? 0 : g, g !== 0 && g !== y.retryLane && (y.retryLane = g,
|
|
10994
|
+
g = (g & (d.suspendedLanes | S)) !== 0 ? 0 : g, g !== 0 && g !== y.retryLane && (y.retryLane = g, Fr(i, g), tr(d, i, g, -1));
|
|
10993
10995
|
}
|
|
10994
10996
|
return Td(), d = Xf(Error(n(421))), $a(i, s, S, d);
|
|
10995
10997
|
}
|
|
10996
|
-
return g.data === "$?" ? (s.flags |= 128, s.child = i.child, s = JC.bind(null, i), g._reactRetry = s, null) : (i = y.treeContext, wn = ui(g.nextSibling), An = s, pt = !0, Xn = null, i !== null && (Mn[Fn++] =
|
|
10998
|
+
return g.data === "$?" ? (s.flags |= 128, s.child = i.child, s = JC.bind(null, i), g._reactRetry = s, null) : (i = y.treeContext, wn = ui(g.nextSibling), An = s, pt = !0, Xn = null, i !== null && (Mn[Fn++] = Dr, Mn[Fn++] = Mr, Mn[Fn++] = Mi, Dr = i.id, Mr = i.overflow, Mi = s), s = rd(s, d.children), s.flags |= 4096, s);
|
|
10997
10999
|
}
|
|
10998
11000
|
function Ng(i, s, l) {
|
|
10999
11001
|
i.lanes |= s;
|
|
@@ -11051,7 +11053,7 @@ Error generating stack: ` + y.message + `
|
|
|
11051
11053
|
function Va(i, s) {
|
|
11052
11054
|
(s.mode & 1) === 0 && i !== null && (i.alternate = null, s.alternate = null, s.flags |= 2);
|
|
11053
11055
|
}
|
|
11054
|
-
function
|
|
11056
|
+
function Ur(i, s, l) {
|
|
11055
11057
|
if (i !== null && (s.dependencies = i.dependencies), zi |= s.lanes, (l & s.childLanes) === 0) return null;
|
|
11056
11058
|
if (i !== null && s.child !== i.child) throw Error(n(153));
|
|
11057
11059
|
if (s.child !== null) {
|
|
@@ -11080,7 +11082,7 @@ Error generating stack: ` + y.message + `
|
|
|
11080
11082
|
break;
|
|
11081
11083
|
case 13:
|
|
11082
11084
|
if (d = s.memoizedState, d !== null)
|
|
11083
|
-
return d.dehydrated !== null ? (ut(yt, yt.current & 1), s.flags |= 128, null) : (l & s.child.childLanes) !== 0 ? kg(i, s, l) : (ut(yt, yt.current & 1), i =
|
|
11085
|
+
return d.dehydrated !== null ? (ut(yt, yt.current & 1), s.flags |= 128, null) : (l & s.child.childLanes) !== 0 ? kg(i, s, l) : (ut(yt, yt.current & 1), i = Ur(i, s, l), i !== null ? i.sibling : null);
|
|
11084
11086
|
ut(yt, yt.current & 1);
|
|
11085
11087
|
break;
|
|
11086
11088
|
case 19:
|
|
@@ -11094,7 +11096,7 @@ Error generating stack: ` + y.message + `
|
|
|
11094
11096
|
case 23:
|
|
11095
11097
|
return s.lanes = 0, Cg(i, s, l);
|
|
11096
11098
|
}
|
|
11097
|
-
return
|
|
11099
|
+
return Ur(i, s, l);
|
|
11098
11100
|
}
|
|
11099
11101
|
var Ig, sd, Pg, Rg;
|
|
11100
11102
|
Ig = function(i, s) {
|
|
@@ -11119,7 +11121,7 @@ Error generating stack: ` + y.message + `
|
|
|
11119
11121
|
var y = null;
|
|
11120
11122
|
switch (l) {
|
|
11121
11123
|
case "input":
|
|
11122
|
-
g =
|
|
11124
|
+
g = Jr(i, g), d = Jr(i, d), y = [];
|
|
11123
11125
|
break;
|
|
11124
11126
|
case "select":
|
|
11125
11127
|
g = x({}, g, { value: void 0 }), d = x({}, d, { value: void 0 }), y = [];
|
|
@@ -11232,13 +11234,13 @@ Error generating stack: ` + y.message + `
|
|
|
11232
11234
|
ft("toggle", d);
|
|
11233
11235
|
break;
|
|
11234
11236
|
case "input":
|
|
11235
|
-
|
|
11237
|
+
Zr(d, y), ft("invalid", d);
|
|
11236
11238
|
break;
|
|
11237
11239
|
case "select":
|
|
11238
11240
|
d._wrapperState = { wasMultiple: !!y.multiple }, ft("invalid", d);
|
|
11239
11241
|
break;
|
|
11240
11242
|
case "textarea":
|
|
11241
|
-
|
|
11243
|
+
Ze(d, y), ft("invalid", d);
|
|
11242
11244
|
}
|
|
11243
11245
|
jt(l, y), g = null;
|
|
11244
11246
|
for (var S in y) if (y.hasOwnProperty(S)) {
|
|
@@ -11254,7 +11256,7 @@ Error generating stack: ` + y.message + `
|
|
|
11254
11256
|
Ln(d), et(d, y, !0);
|
|
11255
11257
|
break;
|
|
11256
11258
|
case "textarea":
|
|
11257
|
-
Ln(d),
|
|
11259
|
+
Ln(d), Sn(d);
|
|
11258
11260
|
break;
|
|
11259
11261
|
case "select":
|
|
11260
11262
|
case "option":
|
|
@@ -11295,7 +11297,7 @@ Error generating stack: ` + y.message + `
|
|
|
11295
11297
|
ft("toggle", i), g = d;
|
|
11296
11298
|
break;
|
|
11297
11299
|
case "input":
|
|
11298
|
-
|
|
11300
|
+
Zr(i, d), g = Jr(i, d), ft("invalid", i);
|
|
11299
11301
|
break;
|
|
11300
11302
|
case "option":
|
|
11301
11303
|
g = d;
|
|
@@ -11304,7 +11306,7 @@ Error generating stack: ` + y.message + `
|
|
|
11304
11306
|
i._wrapperState = { wasMultiple: !!d.multiple }, g = x({}, d, { value: void 0 }), ft("invalid", i);
|
|
11305
11307
|
break;
|
|
11306
11308
|
case "textarea":
|
|
11307
|
-
|
|
11309
|
+
Ze(i, d), g = Yt(i, d), ft("invalid", i);
|
|
11308
11310
|
break;
|
|
11309
11311
|
default:
|
|
11310
11312
|
g = d;
|
|
@@ -11319,13 +11321,13 @@ Error generating stack: ` + y.message + `
|
|
|
11319
11321
|
Ln(i), et(i, d, !1);
|
|
11320
11322
|
break;
|
|
11321
11323
|
case "textarea":
|
|
11322
|
-
Ln(i),
|
|
11324
|
+
Ln(i), Sn(i);
|
|
11323
11325
|
break;
|
|
11324
11326
|
case "option":
|
|
11325
11327
|
d.value != null && i.setAttribute("value", "" + ze(d.value));
|
|
11326
11328
|
break;
|
|
11327
11329
|
case "select":
|
|
11328
|
-
i.multiple = !!d.multiple, y = d.value, y != null ?
|
|
11330
|
+
i.multiple = !!d.multiple, y = d.value, y != null ? St(i, !!d.multiple, y, !1) : d.defaultValue != null && St(
|
|
11329
11331
|
i,
|
|
11330
11332
|
!!d.multiple,
|
|
11331
11333
|
d.defaultValue,
|
|
@@ -11455,7 +11457,7 @@ Error generating stack: ` + y.message + `
|
|
|
11455
11457
|
if (l !== null) if (typeof l == "function") try {
|
|
11456
11458
|
l(null);
|
|
11457
11459
|
} catch (d) {
|
|
11458
|
-
|
|
11460
|
+
Ct(i, s, d);
|
|
11459
11461
|
}
|
|
11460
11462
|
else l.current = null;
|
|
11461
11463
|
}
|
|
@@ -11463,7 +11465,7 @@ Error generating stack: ` + y.message + `
|
|
|
11463
11465
|
try {
|
|
11464
11466
|
l();
|
|
11465
11467
|
} catch (d) {
|
|
11466
|
-
|
|
11468
|
+
Ct(i, s, d);
|
|
11467
11469
|
}
|
|
11468
11470
|
}
|
|
11469
11471
|
var Lg = !1;
|
|
@@ -11479,7 +11481,7 @@ Error generating stack: ` + y.message + `
|
|
|
11479
11481
|
d = d.focusOffset;
|
|
11480
11482
|
try {
|
|
11481
11483
|
l.nodeType, y.nodeType;
|
|
11482
|
-
} catch (
|
|
11484
|
+
} catch (ge) {
|
|
11483
11485
|
l = null;
|
|
11484
11486
|
break e;
|
|
11485
11487
|
}
|
|
@@ -11527,8 +11529,8 @@ Error generating stack: ` + y.message + `
|
|
|
11527
11529
|
default:
|
|
11528
11530
|
throw Error(n(163));
|
|
11529
11531
|
}
|
|
11530
|
-
} catch (
|
|
11531
|
-
|
|
11532
|
+
} catch (ge) {
|
|
11533
|
+
Ct(s, s.return, ge);
|
|
11532
11534
|
}
|
|
11533
11535
|
if (i = s.sibling, i !== null) {
|
|
11534
11536
|
i.return = s.return, Ae = i;
|
|
@@ -11646,7 +11648,7 @@ Error generating stack: ` + y.message + `
|
|
|
11646
11648
|
if (!Qt && (Os(l, s), d = l.stateNode, typeof d.componentWillUnmount == "function")) try {
|
|
11647
11649
|
d.props = l.memoizedProps, d.state = l.memoizedState, d.componentWillUnmount();
|
|
11648
11650
|
} catch (N) {
|
|
11649
|
-
|
|
11651
|
+
Ct(l, s, N);
|
|
11650
11652
|
}
|
|
11651
11653
|
hi(i, s, l);
|
|
11652
11654
|
break;
|
|
@@ -11696,7 +11698,7 @@ Error generating stack: ` + y.message + `
|
|
|
11696
11698
|
var L = g.alternate;
|
|
11697
11699
|
L !== null && (L.return = null), g.return = null;
|
|
11698
11700
|
} catch (Y) {
|
|
11699
|
-
|
|
11701
|
+
Ct(g, s, Y);
|
|
11700
11702
|
}
|
|
11701
11703
|
}
|
|
11702
11704
|
if (s.subtreeFlags & 12854) for (s = s.child; s !== null; ) Hg(s, i), s = s.sibling;
|
|
@@ -11712,12 +11714,12 @@ Error generating stack: ` + y.message + `
|
|
|
11712
11714
|
try {
|
|
11713
11715
|
Zo(3, i, i.return), Ya(3, i);
|
|
11714
11716
|
} catch (ke) {
|
|
11715
|
-
|
|
11717
|
+
Ct(i, i.return, ke);
|
|
11716
11718
|
}
|
|
11717
11719
|
try {
|
|
11718
11720
|
Zo(5, i, i.return);
|
|
11719
11721
|
} catch (ke) {
|
|
11720
|
-
|
|
11722
|
+
Ct(i, i.return, ke);
|
|
11721
11723
|
}
|
|
11722
11724
|
}
|
|
11723
11725
|
break;
|
|
@@ -11730,7 +11732,7 @@ Error generating stack: ` + y.message + `
|
|
|
11730
11732
|
try {
|
|
11731
11733
|
Qe(g, "");
|
|
11732
11734
|
} catch (ke) {
|
|
11733
|
-
|
|
11735
|
+
Ct(i, i.return, ke);
|
|
11734
11736
|
}
|
|
11735
11737
|
}
|
|
11736
11738
|
if (d & 4 && (g = i.stateNode, g != null)) {
|
|
@@ -11747,22 +11749,22 @@ Error generating stack: ` + y.message + `
|
|
|
11747
11749
|
Fe(g, y);
|
|
11748
11750
|
break;
|
|
11749
11751
|
case "textarea":
|
|
11750
|
-
|
|
11752
|
+
Ir(g, y);
|
|
11751
11753
|
break;
|
|
11752
11754
|
case "select":
|
|
11753
11755
|
var ne = g._wrapperState.wasMultiple;
|
|
11754
11756
|
g._wrapperState.wasMultiple = !!y.multiple;
|
|
11755
11757
|
var Ce = y.value;
|
|
11756
|
-
Ce != null ?
|
|
11758
|
+
Ce != null ? St(g, !!y.multiple, Ce, !1) : ne !== !!y.multiple && (y.defaultValue != null ? St(
|
|
11757
11759
|
g,
|
|
11758
11760
|
!!y.multiple,
|
|
11759
11761
|
y.defaultValue,
|
|
11760
11762
|
!0
|
|
11761
|
-
) :
|
|
11763
|
+
) : St(g, !!y.multiple, y.multiple ? [] : "", !1));
|
|
11762
11764
|
}
|
|
11763
11765
|
g[jo] = y;
|
|
11764
11766
|
} catch (ke) {
|
|
11765
|
-
|
|
11767
|
+
Ct(i, i.return, ke);
|
|
11766
11768
|
}
|
|
11767
11769
|
}
|
|
11768
11770
|
break;
|
|
@@ -11773,7 +11775,7 @@ Error generating stack: ` + y.message + `
|
|
|
11773
11775
|
try {
|
|
11774
11776
|
g.nodeValue = y;
|
|
11775
11777
|
} catch (ke) {
|
|
11776
|
-
|
|
11778
|
+
Ct(i, i.return, ke);
|
|
11777
11779
|
}
|
|
11778
11780
|
}
|
|
11779
11781
|
break;
|
|
@@ -11781,7 +11783,7 @@ Error generating stack: ` + y.message + `
|
|
|
11781
11783
|
if (er(s, i), gr(i), d & 4 && l !== null && l.memoizedState.isDehydrated) try {
|
|
11782
11784
|
Io(s.containerInfo);
|
|
11783
11785
|
} catch (ke) {
|
|
11784
|
-
|
|
11786
|
+
Ct(i, i.return, ke);
|
|
11785
11787
|
}
|
|
11786
11788
|
break;
|
|
11787
11789
|
case 4:
|
|
@@ -11809,7 +11811,7 @@ Error generating stack: ` + y.message + `
|
|
|
11809
11811
|
try {
|
|
11810
11812
|
s = d, we.props = s.memoizedProps, we.state = s.memoizedState, we.componentWillUnmount();
|
|
11811
11813
|
} catch (ke) {
|
|
11812
|
-
|
|
11814
|
+
Ct(d, l, ke);
|
|
11813
11815
|
}
|
|
11814
11816
|
}
|
|
11815
11817
|
break;
|
|
@@ -11833,14 +11835,14 @@ Error generating stack: ` + y.message + `
|
|
|
11833
11835
|
try {
|
|
11834
11836
|
g = ue.stateNode, Y ? (y = g.style, typeof y.setProperty == "function" ? y.setProperty("display", "none", "important") : y.display = "none") : (N = ue.stateNode, L = ue.memoizedProps.style, S = L != null && L.hasOwnProperty("display") ? L.display : null, N.style.display = Dn("display", S));
|
|
11835
11837
|
} catch (ke) {
|
|
11836
|
-
|
|
11838
|
+
Ct(i, i.return, ke);
|
|
11837
11839
|
}
|
|
11838
11840
|
}
|
|
11839
11841
|
} else if (ue.tag === 6) {
|
|
11840
11842
|
if (ie === null) try {
|
|
11841
11843
|
ue.stateNode.nodeValue = Y ? "" : ue.memoizedProps;
|
|
11842
11844
|
} catch (ke) {
|
|
11843
|
-
|
|
11845
|
+
Ct(i, i.return, ke);
|
|
11844
11846
|
}
|
|
11845
11847
|
} else if ((ue.tag !== 22 && ue.tag !== 23 || ue.memoizedState === null || ue === i) && ue.child !== null) {
|
|
11846
11848
|
ue.child.return = ue, ue = ue.child;
|
|
@@ -11897,7 +11899,7 @@ Error generating stack: ` + y.message + `
|
|
|
11897
11899
|
throw Error(n(161));
|
|
11898
11900
|
}
|
|
11899
11901
|
} catch (L) {
|
|
11900
|
-
|
|
11902
|
+
Ct(i, i.return, L);
|
|
11901
11903
|
}
|
|
11902
11904
|
i.flags &= -3;
|
|
11903
11905
|
}
|
|
@@ -12005,7 +12007,7 @@ Error generating stack: ` + y.message + `
|
|
|
12005
12007
|
}
|
|
12006
12008
|
Qt || s.flags & 512 && ud(s);
|
|
12007
12009
|
} catch (ne) {
|
|
12008
|
-
|
|
12010
|
+
Ct(s, s.return, ne);
|
|
12009
12011
|
}
|
|
12010
12012
|
}
|
|
12011
12013
|
if (s === i) {
|
|
@@ -12046,7 +12048,7 @@ Error generating stack: ` + y.message + `
|
|
|
12046
12048
|
try {
|
|
12047
12049
|
Ya(4, s);
|
|
12048
12050
|
} catch (L) {
|
|
12049
|
-
|
|
12051
|
+
Ct(s, l, L);
|
|
12050
12052
|
}
|
|
12051
12053
|
break;
|
|
12052
12054
|
case 1:
|
|
@@ -12056,14 +12058,14 @@ Error generating stack: ` + y.message + `
|
|
|
12056
12058
|
try {
|
|
12057
12059
|
d.componentDidMount();
|
|
12058
12060
|
} catch (L) {
|
|
12059
|
-
|
|
12061
|
+
Ct(s, g, L);
|
|
12060
12062
|
}
|
|
12061
12063
|
}
|
|
12062
12064
|
var y = s.return;
|
|
12063
12065
|
try {
|
|
12064
12066
|
ud(s);
|
|
12065
12067
|
} catch (L) {
|
|
12066
|
-
|
|
12068
|
+
Ct(s, y, L);
|
|
12067
12069
|
}
|
|
12068
12070
|
break;
|
|
12069
12071
|
case 5:
|
|
@@ -12071,11 +12073,11 @@ Error generating stack: ` + y.message + `
|
|
|
12071
12073
|
try {
|
|
12072
12074
|
ud(s);
|
|
12073
12075
|
} catch (L) {
|
|
12074
|
-
|
|
12076
|
+
Ct(s, S, L);
|
|
12075
12077
|
}
|
|
12076
12078
|
}
|
|
12077
12079
|
} catch (L) {
|
|
12078
|
-
|
|
12080
|
+
Ct(s, s.return, L);
|
|
12079
12081
|
}
|
|
12080
12082
|
if (s === i) {
|
|
12081
12083
|
Ae = null;
|
|
@@ -12089,7 +12091,7 @@ Error generating stack: ` + y.message + `
|
|
|
12089
12091
|
Ae = s.return;
|
|
12090
12092
|
}
|
|
12091
12093
|
}
|
|
12092
|
-
var YC = Math.ceil, Wa = G.ReactCurrentDispatcher, cd = G.ReactCurrentOwner, Hn = G.ReactCurrentBatchConfig, Xe = 0, Dt = null, kt = null, Vt = 0, vn = 0, Is = ai(0), Rt = 0, eu = null, zi = 0, Ga = 0, fd = 0, tu = null, fn = null, dd = 0, Ps = 1 / 0,
|
|
12094
|
+
var YC = Math.ceil, Wa = G.ReactCurrentDispatcher, cd = G.ReactCurrentOwner, Hn = G.ReactCurrentBatchConfig, Xe = 0, Dt = null, kt = null, Vt = 0, vn = 0, Is = ai(0), Rt = 0, eu = null, zi = 0, Ga = 0, fd = 0, tu = null, fn = null, dd = 0, Ps = 1 / 0, Hr = null, Ka = !1, hd = null, pi = null, Qa = !1, mi = null, Xa = 0, nu = 0, pd = null, Ja = -1, Za = 0;
|
|
12093
12095
|
function rn() {
|
|
12094
12096
|
return (Xe & 6) !== 0 ? xt() : Ja !== -1 ? Ja : Ja = xt();
|
|
12095
12097
|
}
|
|
@@ -12143,7 +12145,7 @@ Error generating stack: ` + y.message + `
|
|
|
12143
12145
|
var g = Xe;
|
|
12144
12146
|
Xe |= 2;
|
|
12145
12147
|
var y = Gg();
|
|
12146
|
-
(Dt !== i || Vt !== s) && (
|
|
12148
|
+
(Dt !== i || Vt !== s) && (Hr = null, Ps = xt() + 500, $i(i, s));
|
|
12147
12149
|
do
|
|
12148
12150
|
try {
|
|
12149
12151
|
KC();
|
|
@@ -12164,7 +12166,7 @@ Error generating stack: ` + y.message + `
|
|
|
12164
12166
|
case 1:
|
|
12165
12167
|
throw Error(n(345));
|
|
12166
12168
|
case 2:
|
|
12167
|
-
Vi(i, fn,
|
|
12169
|
+
Vi(i, fn, Hr);
|
|
12168
12170
|
break;
|
|
12169
12171
|
case 3:
|
|
12170
12172
|
if (Ei(i, d), (d & 130023424) === d && (s = dd + 500 - xt(), 10 < s)) {
|
|
@@ -12173,10 +12175,10 @@ Error generating stack: ` + y.message + `
|
|
|
12173
12175
|
rn(), i.pingedLanes |= i.suspendedLanes & g;
|
|
12174
12176
|
break;
|
|
12175
12177
|
}
|
|
12176
|
-
i.timeoutHandle = _f(Vi.bind(null, i, fn,
|
|
12178
|
+
i.timeoutHandle = _f(Vi.bind(null, i, fn, Hr), s);
|
|
12177
12179
|
break;
|
|
12178
12180
|
}
|
|
12179
|
-
Vi(i, fn,
|
|
12181
|
+
Vi(i, fn, Hr);
|
|
12180
12182
|
break;
|
|
12181
12183
|
case 4:
|
|
12182
12184
|
if (Ei(i, d), (d & 4194240) === d) break;
|
|
@@ -12185,13 +12187,13 @@ Error generating stack: ` + y.message + `
|
|
|
12185
12187
|
y = 1 << S, S = s[S], S > g && (g = S), d &= ~y;
|
|
12186
12188
|
}
|
|
12187
12189
|
if (d = g, d = xt() - d, d = (120 > d ? 120 : 480 > d ? 480 : 1080 > d ? 1080 : 1920 > d ? 1920 : 3e3 > d ? 3e3 : 4320 > d ? 4320 : 1960 * YC(d / 1960)) - d, 10 < d) {
|
|
12188
|
-
i.timeoutHandle = _f(Vi.bind(null, i, fn,
|
|
12190
|
+
i.timeoutHandle = _f(Vi.bind(null, i, fn, Hr), d);
|
|
12189
12191
|
break;
|
|
12190
12192
|
}
|
|
12191
|
-
Vi(i, fn,
|
|
12193
|
+
Vi(i, fn, Hr);
|
|
12192
12194
|
break;
|
|
12193
12195
|
case 5:
|
|
12194
|
-
Vi(i, fn,
|
|
12196
|
+
Vi(i, fn, Hr);
|
|
12195
12197
|
break;
|
|
12196
12198
|
default:
|
|
12197
12199
|
throw Error(n(329));
|
|
@@ -12251,7 +12253,7 @@ Error generating stack: ` + y.message + `
|
|
|
12251
12253
|
}
|
|
12252
12254
|
if (l === 1) throw l = eu, $i(i, 0), Ei(i, s), dn(i, xt()), l;
|
|
12253
12255
|
if (l === 6) throw Error(n(345));
|
|
12254
|
-
return i.finishedWork = i.current.alternate, i.finishedLanes = s, Vi(i, fn,
|
|
12256
|
+
return i.finishedWork = i.current.alternate, i.finishedLanes = s, Vi(i, fn, Hr), dn(i, xt()), null;
|
|
12255
12257
|
}
|
|
12256
12258
|
function Ed(i, s) {
|
|
12257
12259
|
var l = Xe;
|
|
@@ -12382,8 +12384,8 @@ Error generating stack: ` + y.message + `
|
|
|
12382
12384
|
var M = y.type, V = y.stateNode;
|
|
12383
12385
|
if ((y.flags & 128) === 0 && (typeof M.getDerivedStateFromError == "function" || V !== null && typeof V.componentDidCatch == "function" && (pi === null || !pi.has(V)))) {
|
|
12384
12386
|
y.flags |= 65536, s &= -s, y.lanes |= s;
|
|
12385
|
-
var
|
|
12386
|
-
jm(y,
|
|
12387
|
+
var ge = gg(y, N, s);
|
|
12388
|
+
jm(y, ge);
|
|
12387
12389
|
break e;
|
|
12388
12390
|
}
|
|
12389
12391
|
}
|
|
@@ -12409,7 +12411,7 @@ Error generating stack: ` + y.message + `
|
|
|
12409
12411
|
var l = Xe;
|
|
12410
12412
|
Xe |= 2;
|
|
12411
12413
|
var d = Gg();
|
|
12412
|
-
(Dt !== i || Vt !== s) && (
|
|
12414
|
+
(Dt !== i || Vt !== s) && (Hr = null, $i(i, s));
|
|
12413
12415
|
do
|
|
12414
12416
|
try {
|
|
12415
12417
|
GC();
|
|
@@ -12576,15 +12578,15 @@ Error generating stack: ` + y.message + `
|
|
|
12576
12578
|
Ya(9, N);
|
|
12577
12579
|
}
|
|
12578
12580
|
} catch (Ne) {
|
|
12579
|
-
|
|
12581
|
+
Ct(N, N.return, Ne);
|
|
12580
12582
|
}
|
|
12581
12583
|
if (N === S) {
|
|
12582
12584
|
Ae = null;
|
|
12583
12585
|
break e;
|
|
12584
12586
|
}
|
|
12585
|
-
var
|
|
12586
|
-
if (
|
|
12587
|
-
|
|
12587
|
+
var ge = N.sibling;
|
|
12588
|
+
if (ge !== null) {
|
|
12589
|
+
ge.return = N.return, Ae = ge;
|
|
12588
12590
|
break e;
|
|
12589
12591
|
}
|
|
12590
12592
|
Ae = N.return;
|
|
@@ -12606,7 +12608,7 @@ Error generating stack: ` + y.message + `
|
|
|
12606
12608
|
function Xg(i, s, l) {
|
|
12607
12609
|
s = Ns(l, s), s = mg(i, s, 1), i = di(i, s, 1), s = rn(), i !== null && (wo(i, 1, s), dn(i, s));
|
|
12608
12610
|
}
|
|
12609
|
-
function
|
|
12611
|
+
function Ct(i, s, l) {
|
|
12610
12612
|
if (i.tag === 3) Xg(i, i, l);
|
|
12611
12613
|
else for (; s !== null; ) {
|
|
12612
12614
|
if (s.tag === 3) {
|
|
@@ -12629,7 +12631,7 @@ Error generating stack: ` + y.message + `
|
|
|
12629
12631
|
function Jg(i, s) {
|
|
12630
12632
|
s === 0 && ((i.mode & 1) === 0 ? s = 1 : (s = ua, ua <<= 1, (ua & 130023424) === 0 && (ua = 4194304)));
|
|
12631
12633
|
var l = rn();
|
|
12632
|
-
i =
|
|
12634
|
+
i = Fr(i, s), i !== null && (wo(i, s, l), dn(i, l));
|
|
12633
12635
|
}
|
|
12634
12636
|
function JC(i) {
|
|
12635
12637
|
var s = i.memoizedState, l = 0;
|
|
@@ -12708,7 +12710,7 @@ Error generating stack: ` + y.message + `
|
|
|
12708
12710
|
} else for (wn = ui(s.stateNode.containerInfo.firstChild), An = s, pt = !0, Xn = null, l = Um(s, null, d, l), s.child = l; l; ) l.flags = l.flags & -3 | 4096, l = l.sibling;
|
|
12709
12711
|
else {
|
|
12710
12712
|
if (xs(), d === g) {
|
|
12711
|
-
s =
|
|
12713
|
+
s = Ur(i, s, l);
|
|
12712
12714
|
break e;
|
|
12713
12715
|
}
|
|
12714
12716
|
nn(i, s, d, l);
|
|
@@ -12736,7 +12738,7 @@ Error generating stack: ` + y.message + `
|
|
|
12736
12738
|
e: {
|
|
12737
12739
|
if (d = s.type._context, g = s.pendingProps, y = s.memoizedProps, S = g.value, ut(Pa, d._currentValue), d._currentValue = S, y !== null) if (Qn(y.value, S)) {
|
|
12738
12740
|
if (y.children === g.children && !an.current) {
|
|
12739
|
-
s =
|
|
12741
|
+
s = Ur(i, s, l);
|
|
12740
12742
|
break e;
|
|
12741
12743
|
}
|
|
12742
12744
|
} else for (y = s.child, y !== null && (y.return = s); y !== null; ) {
|
|
@@ -12746,7 +12748,7 @@ Error generating stack: ` + y.message + `
|
|
|
12746
12748
|
for (var L = N.firstContext; L !== null; ) {
|
|
12747
12749
|
if (L.context === d) {
|
|
12748
12750
|
if (y.tag === 1) {
|
|
12749
|
-
L =
|
|
12751
|
+
L = Br(-1, l & -l), L.tag = 2;
|
|
12750
12752
|
var Y = y.updateQueue;
|
|
12751
12753
|
if (Y !== null) {
|
|
12752
12754
|
Y = Y.shared;
|
|
@@ -12914,11 +12916,11 @@ Error generating stack: ` + y.message + `
|
|
|
12914
12916
|
return s;
|
|
12915
12917
|
}
|
|
12916
12918
|
function n1(i, s, l, d, g, y, S, N, L) {
|
|
12917
|
-
return i = Cd(l, d, !0, i, g, y, S, N, L), i.context = t1(null), l = i.current, d = rn(), g = gi(l), y =
|
|
12919
|
+
return i = Cd(l, d, !0, i, g, y, S, N, L), i.context = t1(null), l = i.current, d = rn(), g = gi(l), y = Br(d, g), y.callback = s != null ? s : null, di(l, y, g), i.current.lanes = g, wo(i, g, d), dn(i, d), i;
|
|
12918
12920
|
}
|
|
12919
12921
|
function rl(i, s, l, d) {
|
|
12920
12922
|
var g = s.current, y = rn(), S = gi(g);
|
|
12921
|
-
return l = t1(l), s.context === null ? s.context = l : s.pendingContext = l, s =
|
|
12923
|
+
return l = t1(l), s.context === null ? s.context = l : s.pendingContext = l, s = Br(y, S), s.payload = { element: i }, d = d === void 0 ? null : d, d !== null && (s.callback = d), i = di(g, s, S), i !== null && (tr(i, g, S, y), La(i, g, S)), S;
|
|
12922
12924
|
}
|
|
12923
12925
|
function il(i) {
|
|
12924
12926
|
if (i = i.current, !i.child) return null;
|
|
@@ -12958,7 +12960,7 @@ Error generating stack: ` + y.message + `
|
|
|
12958
12960
|
var s = i.containerInfo;
|
|
12959
12961
|
ji(function() {
|
|
12960
12962
|
rl(null, i, null, null);
|
|
12961
|
-
}), s[
|
|
12963
|
+
}), s[Rr] = null;
|
|
12962
12964
|
}
|
|
12963
12965
|
};
|
|
12964
12966
|
function sl(i) {
|
|
@@ -12990,7 +12992,7 @@ Error generating stack: ` + y.message + `
|
|
|
12990
12992
|
};
|
|
12991
12993
|
}
|
|
12992
12994
|
var S = n1(s, d, i, 0, null, !1, !1, "", s1);
|
|
12993
|
-
return i._reactRootContainer = S, i[
|
|
12995
|
+
return i._reactRootContainer = S, i[Rr] = S.current, Ho(i.nodeType === 8 ? i.parentNode : i), ji(), S;
|
|
12994
12996
|
}
|
|
12995
12997
|
for (; g = i.lastChild; ) i.removeChild(g);
|
|
12996
12998
|
if (typeof d == "function") {
|
|
@@ -13001,7 +13003,7 @@ Error generating stack: ` + y.message + `
|
|
|
13001
13003
|
};
|
|
13002
13004
|
}
|
|
13003
13005
|
var L = Cd(i, 0, !1, null, null, !1, !1, "", s1);
|
|
13004
|
-
return i._reactRootContainer = L, i[
|
|
13006
|
+
return i._reactRootContainer = L, i[Rr] = L.current, Ho(i.nodeType === 8 ? i.parentNode : i), ji(function() {
|
|
13005
13007
|
rl(s, L, l, d);
|
|
13006
13008
|
}), L;
|
|
13007
13009
|
}
|
|
@@ -13031,7 +13033,7 @@ Error generating stack: ` + y.message + `
|
|
|
13031
13033
|
break;
|
|
13032
13034
|
case 13:
|
|
13033
13035
|
ji(function() {
|
|
13034
|
-
var d =
|
|
13036
|
+
var d = Fr(i, 1);
|
|
13035
13037
|
if (d !== null) {
|
|
13036
13038
|
var g = rn();
|
|
13037
13039
|
tr(d, i, 1, g);
|
|
@@ -13040,7 +13042,7 @@ Error generating stack: ` + y.message + `
|
|
|
13040
13042
|
}
|
|
13041
13043
|
}, Qc = function(i) {
|
|
13042
13044
|
if (i.tag === 13) {
|
|
13043
|
-
var s =
|
|
13045
|
+
var s = Fr(i, 134217728);
|
|
13044
13046
|
if (s !== null) {
|
|
13045
13047
|
var l = rn();
|
|
13046
13048
|
tr(s, i, 134217728, l);
|
|
@@ -13049,7 +13051,7 @@ Error generating stack: ` + y.message + `
|
|
|
13049
13051
|
}
|
|
13050
13052
|
}, H0 = function(i) {
|
|
13051
13053
|
if (i.tag === 13) {
|
|
13052
|
-
var s = gi(i), l =
|
|
13054
|
+
var s = gi(i), l = Fr(i, s);
|
|
13053
13055
|
if (l !== null) {
|
|
13054
13056
|
var d = rn();
|
|
13055
13057
|
tr(l, i, s, d);
|
|
@@ -13081,10 +13083,10 @@ Error generating stack: ` + y.message + `
|
|
|
13081
13083
|
}
|
|
13082
13084
|
break;
|
|
13083
13085
|
case "textarea":
|
|
13084
|
-
|
|
13086
|
+
Ir(i, l);
|
|
13085
13087
|
break;
|
|
13086
13088
|
case "select":
|
|
13087
|
-
s = l.value, s != null &&
|
|
13089
|
+
s = l.value, s != null && St(i, !!l.multiple, s, !1);
|
|
13088
13090
|
}
|
|
13089
13091
|
}, w0 = Ed, v0 = ji;
|
|
13090
13092
|
var ox = { usingClientEntryPoint: !1, Events: [$o, Ts, xa, x0, A0, Ed] }, ru = { findFiberByHostInstance: Li, bundleType: 0, version: "18.3.1", rendererPackageName: "react-dom" }, ux = { bundleType: ru.bundleType, version: ru.version, rendererPackageName: ru.rendererPackageName, rendererConfig: ru.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, overrideProps: null, overridePropsDeletePath: null, overridePropsRenamePath: null, setErrorHandler: null, setSuspenseHandler: null, scheduleUpdate: null, currentDispatcherRef: G.ReactCurrentDispatcher, findHostInstanceByFiber: function(i) {
|
|
@@ -13104,7 +13106,7 @@ Error generating stack: ` + y.message + `
|
|
|
13104
13106
|
}, hn.createRoot = function(i, s) {
|
|
13105
13107
|
if (!wd(i)) throw Error(n(299));
|
|
13106
13108
|
var l = !1, d = "", g = i1;
|
|
13107
|
-
return s != null && (s.unstable_strictMode === !0 && (l = !0), s.identifierPrefix !== void 0 && (d = s.identifierPrefix), s.onRecoverableError !== void 0 && (g = s.onRecoverableError)), s = Cd(i, 1, !1, null, null, l, !1, d, g), i[
|
|
13109
|
+
return s != null && (s.unstable_strictMode === !0 && (l = !0), s.identifierPrefix !== void 0 && (d = s.identifierPrefix), s.onRecoverableError !== void 0 && (g = s.onRecoverableError)), s = Cd(i, 1, !1, null, null, l, !1, d, g), i[Rr] = s.current, Ho(i.nodeType === 8 ? i.parentNode : i), new Ad(s);
|
|
13108
13110
|
}, hn.findDOMNode = function(i) {
|
|
13109
13111
|
if (i == null) return null;
|
|
13110
13112
|
if (i.nodeType === 1) return i;
|
|
@@ -13120,7 +13122,7 @@ Error generating stack: ` + y.message + `
|
|
|
13120
13122
|
}, hn.hydrateRoot = function(i, s, l) {
|
|
13121
13123
|
if (!wd(i)) throw Error(n(405));
|
|
13122
13124
|
var d = l != null && l.hydratedSources || null, g = !1, y = "", S = i1;
|
|
13123
|
-
if (l != null && (l.unstable_strictMode === !0 && (g = !0), l.identifierPrefix !== void 0 && (y = l.identifierPrefix), l.onRecoverableError !== void 0 && (S = l.onRecoverableError)), s = n1(s, null, i, 1, l != null ? l : null, g, !1, y, S), i[
|
|
13125
|
+
if (l != null && (l.unstable_strictMode === !0 && (g = !0), l.identifierPrefix !== void 0 && (y = l.identifierPrefix), l.onRecoverableError !== void 0 && (S = l.onRecoverableError)), s = n1(s, null, i, 1, l != null ? l : null, g, !1, y, S), i[Rr] = s.current, Ho(i), d) for (i = 0; i < d.length; i++) l = d[i], g = l._getVersion, g = g(l._source), s.mutableSourceEagerHydrationData == null ? s.mutableSourceEagerHydrationData = [l, g] : s.mutableSourceEagerHydrationData.push(
|
|
13124
13126
|
l,
|
|
13125
13127
|
g
|
|
13126
13128
|
);
|
|
@@ -13132,7 +13134,7 @@ Error generating stack: ` + y.message + `
|
|
|
13132
13134
|
if (!ol(i)) throw Error(n(40));
|
|
13133
13135
|
return i._reactRootContainer ? (ji(function() {
|
|
13134
13136
|
ul(null, null, i, !1, function() {
|
|
13135
|
-
i._reactRootContainer = null, i[
|
|
13137
|
+
i._reactRootContainer = null, i[Rr] = null;
|
|
13136
13138
|
});
|
|
13137
13139
|
}), !0) : !1;
|
|
13138
13140
|
}, hn.unstable_batchedUpdates = Ed, hn.unstable_renderSubtreeIntoContainer = function(i, s, l, d) {
|
|
@@ -13375,13 +13377,13 @@ function Bp(e, t = {}) {
|
|
|
13375
13377
|
}, []);
|
|
13376
13378
|
const he = () => "ref" in B ? B.ref.current : B.get(), H = (oe) => {
|
|
13377
13379
|
queueMicrotask(() => {
|
|
13378
|
-
var k, Se,
|
|
13380
|
+
var k, Se, De, Oe, je;
|
|
13379
13381
|
if (be.current !== js.Started) return;
|
|
13380
13382
|
E.current = b.current, b.current = oe;
|
|
13381
13383
|
let $ = he();
|
|
13382
13384
|
const Z = (
|
|
13383
13385
|
// @ts-ignore
|
|
13384
|
-
(
|
|
13386
|
+
(De = (k = e.states[$].on) == null ? void 0 : k[oe.type]) != null ? De : (
|
|
13385
13387
|
// @ts-ignore
|
|
13386
13388
|
(Se = e.on) == null ? void 0 : Se[oe.type]
|
|
13387
13389
|
)
|
|
@@ -13661,7 +13663,7 @@ var iO = {
|
|
|
13661
13663
|
((b = (E = (m = f.composedPath) == null ? void 0 : m.call(f)) == null ? void 0 : E[0]) != null ? b : f.target) === o && e.set("prevAnimationName", ml(t.get("styles")));
|
|
13662
13664
|
}, a = (f) => {
|
|
13663
13665
|
const h = ml(t.get("styles"));
|
|
13664
|
-
|
|
13666
|
+
qr(f) === o && h === e.get("unmountAnimationName") && !r("present") && n({ type: "UNMOUNT", src: "animationend" });
|
|
13665
13667
|
};
|
|
13666
13668
|
o.addEventListener("animationstart", u), o.addEventListener("animationcancel", a), o.addEventListener("animationend", a);
|
|
13667
13669
|
const c = Wl(o, { animationFillMode: "forwards" });
|
|
@@ -13748,10 +13750,10 @@ const aO = ["top", "right", "bottom", "left"], wi = Math.min, On = Math.max, Kl
|
|
|
13748
13750
|
function Dh(e, t, n) {
|
|
13749
13751
|
return On(e, wi(t, n));
|
|
13750
13752
|
}
|
|
13751
|
-
function
|
|
13753
|
+
function Gr(e, t) {
|
|
13752
13754
|
return typeof e == "function" ? e(t) : e;
|
|
13753
13755
|
}
|
|
13754
|
-
function
|
|
13756
|
+
function Kr(e) {
|
|
13755
13757
|
return e.split("-")[0];
|
|
13756
13758
|
}
|
|
13757
13759
|
function ho(e) {
|
|
@@ -13765,7 +13767,7 @@ function jp(e) {
|
|
|
13765
13767
|
}
|
|
13766
13768
|
const fO = /* @__PURE__ */ new Set(["top", "bottom"]);
|
|
13767
13769
|
function Sr(e) {
|
|
13768
|
-
return fO.has(
|
|
13770
|
+
return fO.has(Kr(e)) ? "y" : "x";
|
|
13769
13771
|
}
|
|
13770
13772
|
function $p(e) {
|
|
13771
13773
|
return zp(Sr(e));
|
|
@@ -13798,7 +13800,7 @@ function gO(e, t, n) {
|
|
|
13798
13800
|
}
|
|
13799
13801
|
function EO(e, t, n, r) {
|
|
13800
13802
|
const o = ho(e);
|
|
13801
|
-
let u = gO(
|
|
13803
|
+
let u = gO(Kr(e), n === "start", r);
|
|
13802
13804
|
return o && (u = u.map((a) => a + "-" + o), t && (u = u.concat(u.map(Mh)))), u;
|
|
13803
13805
|
}
|
|
13804
13806
|
function Ql(e) {
|
|
@@ -13843,7 +13845,7 @@ function nE(e, t, n) {
|
|
|
13843
13845
|
reference: r,
|
|
13844
13846
|
floating: o
|
|
13845
13847
|
} = e;
|
|
13846
|
-
const u = Sr(t), a = $p(t), c = jp(a), f =
|
|
13848
|
+
const u = Sr(t), a = $p(t), c = jp(a), f = Kr(t), h = u === "y", m = r.x + r.width / 2 - o.width / 2, E = r.y + r.height / 2 - o.height / 2, b = r[c] / 2 - o[c] / 2;
|
|
13847
13849
|
let T;
|
|
13848
13850
|
switch (f) {
|
|
13849
13851
|
case "top":
|
|
@@ -13960,7 +13962,7 @@ function Ru(e, t) {
|
|
|
13960
13962
|
elementContext: E = "floating",
|
|
13961
13963
|
altBoundary: b = !1,
|
|
13962
13964
|
padding: T = 0
|
|
13963
|
-
} =
|
|
13965
|
+
} = Gr(t, e), _ = Mb(T), A = c[b ? E === "floating" ? "reference" : "floating" : E], I = Xl(yield u.getClippingRect({
|
|
13964
13966
|
element: (n = yield u.isElement == null ? void 0 : u.isElement(A)) == null || n ? A : A.contextElement || (yield u.getDocumentElement == null ? void 0 : u.getDocumentElement(c.floating)),
|
|
13965
13967
|
boundary: h,
|
|
13966
13968
|
rootBoundary: m,
|
|
@@ -14006,7 +14008,7 @@ const bO = (e) => ({
|
|
|
14006
14008
|
} = n, {
|
|
14007
14009
|
element: m,
|
|
14008
14010
|
padding: E = 0
|
|
14009
|
-
} =
|
|
14011
|
+
} = Gr(e, n) || {};
|
|
14010
14012
|
if (m == null)
|
|
14011
14013
|
return {};
|
|
14012
14014
|
const b = Mb(E), T = {
|
|
@@ -14042,7 +14044,7 @@ const bO = (e) => ({
|
|
|
14042
14044
|
initialPlacement: f,
|
|
14043
14045
|
platform: h,
|
|
14044
14046
|
elements: m
|
|
14045
|
-
} = n, Te =
|
|
14047
|
+
} = n, Te = Gr(e, n), {
|
|
14046
14048
|
mainAxis: E = !0,
|
|
14047
14049
|
crossAxis: b = !0,
|
|
14048
14050
|
fallbackPlacements: T,
|
|
@@ -14059,7 +14061,7 @@ const bO = (e) => ({
|
|
|
14059
14061
|
]);
|
|
14060
14062
|
if ((r = a.arrow) != null && r.alignmentOffset)
|
|
14061
14063
|
return {};
|
|
14062
|
-
const F =
|
|
14064
|
+
const F = Kr(u), D = Sr(f), G = Kr(f) === f, W = yield h.isRTL == null ? void 0 : h.isRTL(m.floating), B = T || (G || !A ? [Ql(f)] : hO(f)), te = C !== "none";
|
|
14063
14065
|
!T && te && B.push(...EO(f, A, C, W));
|
|
14064
14066
|
const be = [f, ...B], he = yield Ru(n, I), H = [];
|
|
14065
14067
|
let le = ((o = a.flip) == null ? void 0 : o.overflows) || [];
|
|
@@ -14137,7 +14139,7 @@ const SO = function(e) {
|
|
|
14137
14139
|
return tt(this, null, function* () {
|
|
14138
14140
|
const {
|
|
14139
14141
|
rects: r
|
|
14140
|
-
} = n, a =
|
|
14142
|
+
} = n, a = Gr(e, n), {
|
|
14141
14143
|
strategy: o = "referenceHidden"
|
|
14142
14144
|
} = a, u = qt(a, [
|
|
14143
14145
|
"strategy"
|
|
@@ -14178,7 +14180,7 @@ function CO(e, t) {
|
|
|
14178
14180
|
placement: n,
|
|
14179
14181
|
platform: r,
|
|
14180
14182
|
elements: o
|
|
14181
|
-
} = e, u = yield r.isRTL == null ? void 0 : r.isRTL(o.floating), a =
|
|
14183
|
+
} = e, u = yield r.isRTL == null ? void 0 : r.isRTL(o.floating), a = Kr(n), c = ho(n), f = Sr(n) === "y", h = Fb.has(a) ? -1 : 1, m = u && f ? -1 : 1, E = Gr(t, e);
|
|
14182
14184
|
let {
|
|
14183
14185
|
mainAxis: b,
|
|
14184
14186
|
crossAxis: T,
|
|
@@ -14234,7 +14236,7 @@ const xO = function(e) {
|
|
|
14234
14236
|
x: r,
|
|
14235
14237
|
y: o,
|
|
14236
14238
|
placement: u
|
|
14237
|
-
} = n, I =
|
|
14239
|
+
} = n, I = Gr(e, n), {
|
|
14238
14240
|
mainAxis: a = !0,
|
|
14239
14241
|
crossAxis: c = !1,
|
|
14240
14242
|
limiter: f = {
|
|
@@ -14256,7 +14258,7 @@ const xO = function(e) {
|
|
|
14256
14258
|
]), m = {
|
|
14257
14259
|
x: r,
|
|
14258
14260
|
y: o
|
|
14259
|
-
}, E = yield Ru(n, h), b = Sr(
|
|
14261
|
+
}, E = yield Ru(n, h), b = Sr(Kr(u)), T = zp(b);
|
|
14260
14262
|
let _ = m[T], C = m[b];
|
|
14261
14263
|
if (a) {
|
|
14262
14264
|
const F = T === "y" ? "top" : "left", D = T === "y" ? "bottom" : "right", G = _ + E[F], W = _ - E[D];
|
|
@@ -14297,12 +14299,12 @@ const xO = function(e) {
|
|
|
14297
14299
|
offset: c = 0,
|
|
14298
14300
|
mainAxis: f = !0,
|
|
14299
14301
|
crossAxis: h = !0
|
|
14300
|
-
} =
|
|
14302
|
+
} = Gr(e, t), m = {
|
|
14301
14303
|
x: n,
|
|
14302
14304
|
y: r
|
|
14303
14305
|
}, E = Sr(o), b = zp(E);
|
|
14304
14306
|
let T = m[b], _ = m[E];
|
|
14305
|
-
const C =
|
|
14307
|
+
const C = Gr(c, t), A = typeof C == "number" ? {
|
|
14306
14308
|
mainAxis: C,
|
|
14307
14309
|
crossAxis: 0
|
|
14308
14310
|
} : U({
|
|
@@ -14315,7 +14317,7 @@ const xO = function(e) {
|
|
|
14315
14317
|
}
|
|
14316
14318
|
if (h) {
|
|
14317
14319
|
var I, F;
|
|
14318
|
-
const D = b === "y" ? "width" : "height", G = Fb.has(
|
|
14320
|
+
const D = b === "y" ? "width" : "height", G = Fb.has(Kr(o)), W = u.reference[E] - u.floating[D] + (G && ((I = a.offset) == null ? void 0 : I[E]) || 0) + (G ? 0 : A.crossAxis), B = u.reference[E] + u.reference[D] + (G ? 0 : ((F = a.offset) == null ? void 0 : F[E]) || 0) - (G ? A.crossAxis : 0);
|
|
14319
14321
|
_ < W ? _ = W : _ > B && (_ = B);
|
|
14320
14322
|
}
|
|
14321
14323
|
return {
|
|
@@ -14336,12 +14338,12 @@ const xO = function(e) {
|
|
|
14336
14338
|
rects: a,
|
|
14337
14339
|
platform: c,
|
|
14338
14340
|
elements: f
|
|
14339
|
-
} = n, le =
|
|
14341
|
+
} = n, le = Gr(e, n), {
|
|
14340
14342
|
apply: h = () => {
|
|
14341
14343
|
}
|
|
14342
14344
|
} = le, m = qt(le, [
|
|
14343
14345
|
"apply"
|
|
14344
|
-
]), E = yield Ru(n, m), b =
|
|
14346
|
+
]), E = yield Ru(n, m), b = Kr(u), T = ho(u), _ = Sr(u) === "y", {
|
|
14345
14347
|
width: C,
|
|
14346
14348
|
height: A
|
|
14347
14349
|
} = a.floating;
|
|
@@ -14894,7 +14896,7 @@ function l3(e, t) {
|
|
|
14894
14896
|
}
|
|
14895
14897
|
};
|
|
14896
14898
|
}
|
|
14897
|
-
var au = (e) => ({ variable: e, reference: `var(${e})` }),
|
|
14899
|
+
var au = (e) => ({ variable: e, reference: `var(${e})` }), jr = {
|
|
14898
14900
|
arrowSize: au("--arrow-size"),
|
|
14899
14901
|
arrowSizeHalf: au("--arrow-size-half"),
|
|
14900
14902
|
arrowBg: au("--arrow-background"),
|
|
@@ -14913,7 +14915,7 @@ function f3(e, t) {
|
|
|
14913
14915
|
right: `${-G}px ${C}px`
|
|
14914
14916
|
}[f], te = `${_}px ${a.reference.y + I - c}px`, be = !!e.overlap && h === "y" && W;
|
|
14915
14917
|
return r.floating.style.setProperty(
|
|
14916
|
-
|
|
14918
|
+
jr.transformOrigin.variable,
|
|
14917
14919
|
be ? te : B
|
|
14918
14920
|
), {
|
|
14919
14921
|
data: {
|
|
@@ -14940,7 +14942,7 @@ var d3 = {
|
|
|
14940
14942
|
return Object.assign(e.style, {
|
|
14941
14943
|
left: r != null ? `${r}px` : "",
|
|
14942
14944
|
top: o != null ? `${o}px` : "",
|
|
14943
|
-
[u]: `calc(100% + ${
|
|
14945
|
+
[u]: `calc(100% + ${jr.arrowOffset.reference})`
|
|
14944
14946
|
}), {};
|
|
14945
14947
|
}
|
|
14946
14948
|
};
|
|
@@ -15082,15 +15084,15 @@ function A3(e = {}) {
|
|
|
15082
15084
|
return {
|
|
15083
15085
|
arrow: {
|
|
15084
15086
|
position: "absolute",
|
|
15085
|
-
width:
|
|
15086
|
-
height:
|
|
15087
|
-
[
|
|
15088
|
-
[
|
|
15087
|
+
width: jr.arrowSize.reference,
|
|
15088
|
+
height: jr.arrowSize.reference,
|
|
15089
|
+
[jr.arrowSizeHalf.variable]: `calc(${jr.arrowSize.reference} / 2)`,
|
|
15090
|
+
[jr.arrowOffset.variable]: `calc(${jr.arrowSizeHalf.reference} * -1)`
|
|
15089
15091
|
},
|
|
15090
15092
|
arrowTip: {
|
|
15091
15093
|
// @ts-expect-error - Fix this
|
|
15092
15094
|
transform: t ? x3[t.split("-")[0]] : void 0,
|
|
15093
|
-
background:
|
|
15095
|
+
background: jr.arrowBg.reference,
|
|
15094
15096
|
top: "0",
|
|
15095
15097
|
left: "0",
|
|
15096
15098
|
width: "100%",
|
|
@@ -15231,7 +15233,7 @@ function L3(e) {
|
|
|
15231
15233
|
var dE = "pointerdown.outside", hE = "focus.outside";
|
|
15232
15234
|
function D3(e) {
|
|
15233
15235
|
for (const t of e)
|
|
15234
|
-
if (Ht(t) &&
|
|
15236
|
+
if (Ht(t) && Yr(t)) return !0;
|
|
15235
15237
|
return !1;
|
|
15236
15238
|
}
|
|
15237
15239
|
var Gb = (e) => "clientY" in e;
|
|
@@ -15283,7 +15285,7 @@ function B3(e, t) {
|
|
|
15283
15285
|
var he, H;
|
|
15284
15286
|
const B = a && !Y1() ? Tn : (le) => le(), te = W != null ? W : D, be = (H = (he = te == null ? void 0 : te.composedPath) == null ? void 0 : he.call(te)) != null ? H : [te == null ? void 0 : te.target];
|
|
15285
15287
|
B(() => {
|
|
15286
|
-
const le = _ ? be[0] :
|
|
15288
|
+
const le = _ ? be[0] : qr(D);
|
|
15287
15289
|
if (!(!e || !b(D, le))) {
|
|
15288
15290
|
if (o || u) {
|
|
15289
15291
|
const de = Ph(o, u);
|
|
@@ -15310,7 +15312,7 @@ function B3(e, t) {
|
|
|
15310
15312
|
function F(D) {
|
|
15311
15313
|
(a ? Tn : (W) => W())(() => {
|
|
15312
15314
|
var te, be;
|
|
15313
|
-
const W = (be = (te = D == null ? void 0 : D.composedPath) == null ? void 0 : te.call(D)) != null ? be : [D == null ? void 0 : D.target], B = _ ? W[0] :
|
|
15315
|
+
const W = (be = (te = D == null ? void 0 : D.composedPath) == null ? void 0 : te.call(D)) != null ? be : [D == null ? void 0 : D.target], B = _ ? W[0] : qr(D);
|
|
15314
15316
|
if (!(!e || !b(D, B))) {
|
|
15315
15317
|
if (r || u) {
|
|
15316
15318
|
const he = Ph(r, u);
|
|
@@ -15322,7 +15324,7 @@ function B3(e, t) {
|
|
|
15322
15324
|
detail: {
|
|
15323
15325
|
originalEvent: D,
|
|
15324
15326
|
contextmenu: !1,
|
|
15325
|
-
focusable:
|
|
15327
|
+
focusable: Yr(B),
|
|
15326
15328
|
target: B
|
|
15327
15329
|
}
|
|
15328
15330
|
});
|
|
@@ -15491,12 +15493,12 @@ function q3(e, t) {
|
|
|
15491
15493
|
$n.add(h), yE();
|
|
15492
15494
|
function m(C) {
|
|
15493
15495
|
var I, F;
|
|
15494
|
-
const A =
|
|
15496
|
+
const A = qr(C.detail.originalEvent);
|
|
15495
15497
|
$n.isBelowPointerBlockingLayer(e) || $n.isInBranch(A) || ((I = t.onPointerDownOutside) == null || I.call(t, C), (F = t.onInteractOutside) == null || F.call(t, C), !C.defaultPrevented && (c && console.log("onPointerDownOutside:", C.detail.originalEvent), r == null || r()));
|
|
15496
15498
|
}
|
|
15497
15499
|
function E(C) {
|
|
15498
15500
|
var I, F;
|
|
15499
|
-
const A =
|
|
15501
|
+
const A = qr(C.detail.originalEvent);
|
|
15500
15502
|
$n.isInBranch(A) || ((I = t.onFocusOutside) == null || I.call(t, C), (F = t.onInteractOutside) == null || F.call(t, C), !C.defaultPrevented && (c && console.log("onFocusOutside:", C.detail.originalEvent), r == null || r()));
|
|
15501
15503
|
}
|
|
15502
15504
|
function b(C) {
|
|
@@ -15555,7 +15557,7 @@ var Y3 = Object.defineProperty, W3 = (e, t, n) => t in e ? Y3(e, t, { enumerable
|
|
|
15555
15557
|
delayInitialFocusTimer: void 0,
|
|
15556
15558
|
recentNavEvent: void 0
|
|
15557
15559
|
}), mt(this, "portalContainers", /* @__PURE__ */ new Set()), mt(this, "listenerCleanups", []), mt(this, "handleFocus", (r) => {
|
|
15558
|
-
const o =
|
|
15560
|
+
const o = qr(r), u = this.findContainerIndex(o, r) >= 0;
|
|
15559
15561
|
if (u || Tc(o))
|
|
15560
15562
|
u && (this.state.mostRecentlyFocusedNode = o);
|
|
15561
15563
|
else {
|
|
@@ -15581,7 +15583,7 @@ var Y3 = Object.defineProperty, W3 = (e, t, n) => t in e ? Y3(e, t, { enumerable
|
|
|
15581
15583
|
}
|
|
15582
15584
|
this.state.recentNavEvent = void 0;
|
|
15583
15585
|
}), mt(this, "handlePointerDown", (r) => {
|
|
15584
|
-
const o =
|
|
15586
|
+
const o = qr(r);
|
|
15585
15587
|
if (!(this.findContainerIndex(o, r) >= 0)) {
|
|
15586
15588
|
if (cu(this.config.clickOutsideDeactivates, r)) {
|
|
15587
15589
|
this.deactivate({ returnFocus: this.config.returnFocusOnDeactivate });
|
|
@@ -15590,7 +15592,7 @@ var Y3 = Object.defineProperty, W3 = (e, t, n) => t in e ? Y3(e, t, { enumerable
|
|
|
15590
15592
|
cu(this.config.allowOutsideClick, r) || r.preventDefault();
|
|
15591
15593
|
}
|
|
15592
15594
|
}), mt(this, "handleClick", (r) => {
|
|
15593
|
-
const o =
|
|
15595
|
+
const o = qr(r);
|
|
15594
15596
|
this.findContainerIndex(o, r) >= 0 || cu(this.config.clickOutsideDeactivates, r) || cu(this.config.allowOutsideClick, r) || (r.preventDefault(), r.stopImmediatePropagation());
|
|
15595
15597
|
}), mt(this, "handleTabKey", (r) => {
|
|
15596
15598
|
if (this.config.isKeyForward(r) || this.config.isKeyBackward(r)) {
|
|
@@ -15627,7 +15629,7 @@ var Y3 = Object.defineProperty, W3 = (e, t, n) => t in e ? Y3(e, t, { enumerable
|
|
|
15627
15629
|
let r = this.getNodeForOption("initialFocus", { hasFallback: !0 });
|
|
15628
15630
|
if (r === !1)
|
|
15629
15631
|
return !1;
|
|
15630
|
-
if (r === void 0 || r && !
|
|
15632
|
+
if (r === void 0 || r && !Yr(r)) {
|
|
15631
15633
|
const o = Gs(this.doc);
|
|
15632
15634
|
if (o && this.findContainerIndex(o) >= 0)
|
|
15633
15635
|
r = o;
|
|
@@ -15708,7 +15710,7 @@ var Y3 = Object.defineProperty, W3 = (e, t, n) => t in e ? Y3(e, t, { enumerable
|
|
|
15708
15710
|
}
|
|
15709
15711
|
return c;
|
|
15710
15712
|
}), mt(this, "findNextNavNode", (r) => {
|
|
15711
|
-
const { event: o, isBackward: u = !1 } = r, a = r.target ||
|
|
15713
|
+
const { event: o, isBackward: u = !1 } = r, a = r.target || qr(o);
|
|
15712
15714
|
this.updateTabbableNodes();
|
|
15713
15715
|
let c = null;
|
|
15714
15716
|
if (this.state.tabbableGroups.length > 0) {
|
|
@@ -15719,7 +15721,7 @@ var Y3 = Object.defineProperty, W3 = (e, t, n) => t in e ? Y3(e, t, { enumerable
|
|
|
15719
15721
|
let m = this.state.tabbableGroups.findIndex(
|
|
15720
15722
|
({ firstTabbableNode: E }) => a === E
|
|
15721
15723
|
);
|
|
15722
|
-
if (m < 0 && ((h == null ? void 0 : h.container) === a ||
|
|
15724
|
+
if (m < 0 && ((h == null ? void 0 : h.container) === a || Yr(a) && !Qi(a) && !(h != null && h.nextTabbableNode(a, !1))) && (m = f), m >= 0) {
|
|
15723
15725
|
const E = m === 0 ? this.state.tabbableGroups.length - 1 : m - 1, b = this.state.tabbableGroups[E];
|
|
15724
15726
|
c = uu(a) >= 0 ? b.lastTabbableNode : b.lastDomTabbableNode;
|
|
15725
15727
|
} else lu(o) || (c = h == null ? void 0 : h.nextTabbableNode(a, !1));
|
|
@@ -15727,7 +15729,7 @@ var Y3 = Object.defineProperty, W3 = (e, t, n) => t in e ? Y3(e, t, { enumerable
|
|
|
15727
15729
|
let m = this.state.tabbableGroups.findIndex(
|
|
15728
15730
|
({ lastTabbableNode: E }) => a === E
|
|
15729
15731
|
);
|
|
15730
|
-
if (m < 0 && ((h == null ? void 0 : h.container) === a ||
|
|
15732
|
+
if (m < 0 && ((h == null ? void 0 : h.container) === a || Yr(a) && !Qi(a) && !(h != null && h.nextTabbableNode(a))) && (m = f), m >= 0) {
|
|
15731
15733
|
const E = m === this.state.tabbableGroups.length - 1 ? 0 : m + 1, b = this.state.tabbableGroups[E];
|
|
15732
15734
|
c = uu(a) >= 0 ? b.firstTabbableNode : b.firstDomTabbableNode;
|
|
15733
15735
|
} else lu(o) || (c = h == null ? void 0 : h.nextTabbableNode(a));
|
|
@@ -18593,7 +18595,7 @@ function Jl(e) {
|
|
|
18593
18595
|
);
|
|
18594
18596
|
}
|
|
18595
18597
|
const Vh = Oi(/\d/), fP = Oi(/[\dA-Fa-f]/), dP = Oi(/[!-/:-@[-`{-~]/);
|
|
18596
|
-
function
|
|
18598
|
+
function Le(e) {
|
|
18597
18599
|
return e !== null && e < -2;
|
|
18598
18600
|
}
|
|
18599
18601
|
function st(e) {
|
|
@@ -18668,7 +18670,7 @@ function pP(e) {
|
|
|
18668
18670
|
e.exit("chunkText"), e.exit("paragraph"), e.consume(c);
|
|
18669
18671
|
return;
|
|
18670
18672
|
}
|
|
18671
|
-
return
|
|
18673
|
+
return Le(c) ? (e.consume(c), e.exit("chunkText"), u) : (e.consume(c), a);
|
|
18672
18674
|
}
|
|
18673
18675
|
}
|
|
18674
18676
|
const mP = {
|
|
@@ -18743,7 +18745,7 @@ function gP(e) {
|
|
|
18743
18745
|
A(e.exit("chunkFlow"), !0), I(0), e.consume(D);
|
|
18744
18746
|
return;
|
|
18745
18747
|
}
|
|
18746
|
-
return
|
|
18748
|
+
return Le(D) ? (e.consume(D), A(e.exit("chunkFlow")), r = 0, t.interrupt = void 0, c) : (e.consume(D), C);
|
|
18747
18749
|
}
|
|
18748
18750
|
function A(D, G) {
|
|
18749
18751
|
const W = t.sliceStream(D);
|
|
@@ -18908,7 +18910,7 @@ function SP(e, t, n) {
|
|
|
18908
18910
|
return Ye(u) ? Ke(e, o, "linePrefix")(u) : o(u);
|
|
18909
18911
|
}
|
|
18910
18912
|
function o(u) {
|
|
18911
|
-
return u === null ||
|
|
18913
|
+
return u === null || Le(u) ? t(u) : n(u);
|
|
18912
18914
|
}
|
|
18913
18915
|
}
|
|
18914
18916
|
const x_ = {
|
|
@@ -19012,20 +19014,20 @@ function kP(e, t, n) {
|
|
|
19012
19014
|
return B === c ? (a++, e.consume(B), m) : a < 3 ? n(B) : (e.exit("codeFencedFenceSequence"), Ye(B) ? Ke(e, E, "whitespace")(B) : E(B));
|
|
19013
19015
|
}
|
|
19014
19016
|
function E(B) {
|
|
19015
|
-
return B === null ||
|
|
19017
|
+
return B === null || Le(B) ? (e.exit("codeFencedFence"), r.interrupt ? t(B) : e.check(jE, C, G)(B)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
|
|
19016
19018
|
contentType: "string"
|
|
19017
19019
|
}), b(B));
|
|
19018
19020
|
}
|
|
19019
19021
|
function b(B) {
|
|
19020
|
-
return B === null ||
|
|
19022
|
+
return B === null || Le(B) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), E(B)) : Ye(B) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), Ke(e, T, "whitespace")(B)) : B === 96 && B === c ? n(B) : (e.consume(B), b);
|
|
19021
19023
|
}
|
|
19022
19024
|
function T(B) {
|
|
19023
|
-
return B === null ||
|
|
19025
|
+
return B === null || Le(B) ? E(B) : (e.enter("codeFencedFenceMeta"), e.enter("chunkString", {
|
|
19024
19026
|
contentType: "string"
|
|
19025
19027
|
}), _(B));
|
|
19026
19028
|
}
|
|
19027
19029
|
function _(B) {
|
|
19028
|
-
return B === null ||
|
|
19030
|
+
return B === null || Le(B) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), E(B)) : B === 96 && B === c ? n(B) : (e.consume(B), _);
|
|
19029
19031
|
}
|
|
19030
19032
|
function C(B) {
|
|
19031
19033
|
return e.attempt(o, G, A)(B);
|
|
@@ -19037,10 +19039,10 @@ function kP(e, t, n) {
|
|
|
19037
19039
|
return u > 0 && Ye(B) ? Ke(e, F, "linePrefix", u + 1)(B) : F(B);
|
|
19038
19040
|
}
|
|
19039
19041
|
function F(B) {
|
|
19040
|
-
return B === null ||
|
|
19042
|
+
return B === null || Le(B) ? e.check(jE, C, G)(B) : (e.enter("codeFlowValue"), D(B));
|
|
19041
19043
|
}
|
|
19042
19044
|
function D(B) {
|
|
19043
|
-
return B === null ||
|
|
19045
|
+
return B === null || Le(B) ? (e.exit("codeFlowValue"), F(B)) : (e.consume(B), D);
|
|
19044
19046
|
}
|
|
19045
19047
|
function G(B) {
|
|
19046
19048
|
return e.exit("codeFenced"), t(B);
|
|
@@ -19061,7 +19063,7 @@ function kP(e, t, n) {
|
|
|
19061
19063
|
return Te === c ? (he++, B.consume(Te), ce) : he >= a ? (B.exit("codeFencedFenceSequence"), Ye(Te) ? Ke(B, fe, "whitespace")(Te) : fe(Te)) : be(Te);
|
|
19062
19064
|
}
|
|
19063
19065
|
function fe(Te) {
|
|
19064
|
-
return Te === null ||
|
|
19066
|
+
return Te === null || Le(Te) ? (B.exit("codeFencedFence"), te(Te)) : be(Te);
|
|
19065
19067
|
}
|
|
19066
19068
|
}
|
|
19067
19069
|
}
|
|
@@ -19093,10 +19095,10 @@ function IP(e, t, n) {
|
|
|
19093
19095
|
return m && m[1].type === "linePrefix" && m[2].sliceSerialize(m[1], !0).length >= 4 ? a(h) : n(h);
|
|
19094
19096
|
}
|
|
19095
19097
|
function a(h) {
|
|
19096
|
-
return h === null ? f(h) :
|
|
19098
|
+
return h === null ? f(h) : Le(h) ? e.attempt(OP, a, f)(h) : (e.enter("codeFlowValue"), c(h));
|
|
19097
19099
|
}
|
|
19098
19100
|
function c(h) {
|
|
19099
|
-
return h === null ||
|
|
19101
|
+
return h === null || Le(h) ? (e.exit("codeFlowValue"), a(h)) : (e.consume(h), c);
|
|
19100
19102
|
}
|
|
19101
19103
|
function f(h) {
|
|
19102
19104
|
return e.exit("codeIndented"), t(h);
|
|
@@ -19106,11 +19108,11 @@ function PP(e, t, n) {
|
|
|
19106
19108
|
const r = this;
|
|
19107
19109
|
return o;
|
|
19108
19110
|
function o(a) {
|
|
19109
|
-
return r.parser.lazy[r.now().line] ? n(a) :
|
|
19111
|
+
return r.parser.lazy[r.now().line] ? n(a) : Le(a) ? (e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), o) : Ke(e, u, "linePrefix", 5)(a);
|
|
19110
19112
|
}
|
|
19111
19113
|
function u(a) {
|
|
19112
19114
|
const c = r.events[r.events.length - 1];
|
|
19113
|
-
return c && c[1].type === "linePrefix" && c[2].sliceSerialize(c[1], !0).length >= 4 ? t(a) :
|
|
19115
|
+
return c && c[1].type === "linePrefix" && c[2].sliceSerialize(c[1], !0).length >= 4 ? t(a) : Le(a) ? o(a) : n(a);
|
|
19114
19116
|
}
|
|
19115
19117
|
}
|
|
19116
19118
|
const RP = {
|
|
@@ -19145,10 +19147,10 @@ function MP(e, t, n) {
|
|
|
19145
19147
|
return E === 96 ? (e.consume(E), r++, c) : (e.exit("codeTextSequence"), f(E));
|
|
19146
19148
|
}
|
|
19147
19149
|
function f(E) {
|
|
19148
|
-
return E === null ? n(E) : E === 32 ? (e.enter("space"), e.consume(E), e.exit("space"), f) : E === 96 ? (u = e.enter("codeTextSequence"), o = 0, m(E)) :
|
|
19150
|
+
return E === null ? n(E) : E === 32 ? (e.enter("space"), e.consume(E), e.exit("space"), f) : E === 96 ? (u = e.enter("codeTextSequence"), o = 0, m(E)) : Le(E) ? (e.enter("lineEnding"), e.consume(E), e.exit("lineEnding"), f) : (e.enter("codeTextData"), h(E));
|
|
19149
19151
|
}
|
|
19150
19152
|
function h(E) {
|
|
19151
|
-
return E === null || E === 32 || E === 96 ||
|
|
19153
|
+
return E === null || E === 32 || E === 96 || Le(E) ? (e.exit("codeTextData"), f(E)) : (e.consume(E), h);
|
|
19152
19154
|
}
|
|
19153
19155
|
function m(E) {
|
|
19154
19156
|
return E === 96 ? (e.consume(E), o++, m) : o === r ? (e.exit("codeTextSequence"), e.exit("codeText"), t(E)) : (u.type = "codeTextData", h(E));
|
|
@@ -19392,7 +19394,7 @@ function jP(e, t) {
|
|
|
19392
19394
|
}), o(c);
|
|
19393
19395
|
}
|
|
19394
19396
|
function o(c) {
|
|
19395
|
-
return c === null ? u(c) :
|
|
19397
|
+
return c === null ? u(c) : Le(c) ? e.check(HP, a, u)(c) : (e.consume(c), o);
|
|
19396
19398
|
}
|
|
19397
19399
|
function u(c) {
|
|
19398
19400
|
return e.exit("chunkContent"), e.exit("content"), t(c);
|
|
@@ -19411,7 +19413,7 @@ function $P(e, t, n) {
|
|
|
19411
19413
|
return e.exit("chunkContent"), e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), Ke(e, u, "linePrefix");
|
|
19412
19414
|
}
|
|
19413
19415
|
function u(a) {
|
|
19414
|
-
if (a === null ||
|
|
19416
|
+
if (a === null || Le(a))
|
|
19415
19417
|
return n(a);
|
|
19416
19418
|
const c = r.events[r.events.length - 1];
|
|
19417
19419
|
return !r.parser.constructs.disable.null.includes("codeIndented") && c && c[1].type === "linePrefix" && c[2].sliceSerialize(c[1], !0).length >= 4 ? t(a) : e.interrupt(r.parser.constructs.flow, n, t)(a);
|
|
@@ -19432,7 +19434,7 @@ function k_(e, t, n, r, o, u, a, c, f) {
|
|
|
19432
19434
|
}), T(I));
|
|
19433
19435
|
}
|
|
19434
19436
|
function T(I) {
|
|
19435
|
-
return I === 62 ? (e.exit("chunkString"), e.exit(c), b(I)) : I === null || I === 60 ||
|
|
19437
|
+
return I === 62 ? (e.exit("chunkString"), e.exit(c), b(I)) : I === null || I === 60 || Le(I) ? n(I) : (e.consume(I), I === 92 ? _ : T);
|
|
19436
19438
|
}
|
|
19437
19439
|
function _(I) {
|
|
19438
19440
|
return I === 60 || I === 62 || I === 92 ? (e.consume(I), T) : T(I);
|
|
@@ -19457,12 +19459,12 @@ function N_(e, t, n, r, o, u) {
|
|
|
19457
19459
|
// which doesn’t need this.
|
|
19458
19460
|
// Hidden footnotes hook.
|
|
19459
19461
|
/* c8 ignore next 3 */
|
|
19460
|
-
T === 94 && !c && "_hiddenFootnoteSupport" in a.parser.constructs ? n(T) : T === 93 ? (e.exit(u), e.enter(o), e.consume(T), e.exit(o), e.exit(r), t) :
|
|
19462
|
+
T === 94 && !c && "_hiddenFootnoteSupport" in a.parser.constructs ? n(T) : T === 93 ? (e.exit(u), e.enter(o), e.consume(T), e.exit(o), e.exit(r), t) : Le(T) ? (e.enter("lineEnding"), e.consume(T), e.exit("lineEnding"), m) : (e.enter("chunkString", {
|
|
19461
19463
|
contentType: "string"
|
|
19462
19464
|
}), E(T));
|
|
19463
19465
|
}
|
|
19464
19466
|
function E(T) {
|
|
19465
|
-
return T === null || T === 91 || T === 93 ||
|
|
19467
|
+
return T === null || T === 91 || T === 93 || Le(T) || c++ > 999 ? (e.exit("chunkString"), m(T)) : (e.consume(T), f || (f = !Ye(T)), T === 92 ? b : E);
|
|
19466
19468
|
}
|
|
19467
19469
|
function b(T) {
|
|
19468
19470
|
return T === 91 || T === 92 || T === 93 ? (e.consume(T), c++, E) : E(T);
|
|
@@ -19478,12 +19480,12 @@ function O_(e, t, n, r, o, u) {
|
|
|
19478
19480
|
return b === a ? (e.enter(o), e.consume(b), e.exit(o), e.exit(r), t) : (e.enter(u), h(b));
|
|
19479
19481
|
}
|
|
19480
19482
|
function h(b) {
|
|
19481
|
-
return b === a ? (e.exit(u), f(a)) : b === null ? n(b) :
|
|
19483
|
+
return b === a ? (e.exit(u), f(a)) : b === null ? n(b) : Le(b) ? (e.enter("lineEnding"), e.consume(b), e.exit("lineEnding"), Ke(e, h, "linePrefix")) : (e.enter("chunkString", {
|
|
19482
19484
|
contentType: "string"
|
|
19483
19485
|
}), m(b));
|
|
19484
19486
|
}
|
|
19485
19487
|
function m(b) {
|
|
19486
|
-
return b === a || b === null ||
|
|
19488
|
+
return b === a || b === null || Le(b) ? (e.exit("chunkString"), h(b)) : (e.consume(b), b === 92 ? E : m);
|
|
19487
19489
|
}
|
|
19488
19490
|
function E(b) {
|
|
19489
19491
|
return b === a || b === 92 ? (e.consume(b), m) : m(b);
|
|
@@ -19493,7 +19495,7 @@ function _u(e, t) {
|
|
|
19493
19495
|
let n;
|
|
19494
19496
|
return r;
|
|
19495
19497
|
function r(o) {
|
|
19496
|
-
return
|
|
19498
|
+
return Le(o) ? (e.enter("lineEnding"), e.consume(o), e.exit("lineEnding"), n = !0, r) : Ye(o) ? Ke(e, r, n ? "linePrefix" : "lineSuffix")(o) : t(o);
|
|
19497
19499
|
}
|
|
19498
19500
|
}
|
|
19499
19501
|
const VP = {
|
|
@@ -19548,7 +19550,7 @@ function YP(e, t, n) {
|
|
|
19548
19550
|
return Ye(T) ? Ke(e, b, "whitespace")(T) : b(T);
|
|
19549
19551
|
}
|
|
19550
19552
|
function b(T) {
|
|
19551
|
-
return T === null ||
|
|
19553
|
+
return T === null || Le(T) ? (e.exit("definition"), r.parser.defined.push(o), t(T)) : n(T);
|
|
19552
19554
|
}
|
|
19553
19555
|
}
|
|
19554
19556
|
function WP(e, t, n) {
|
|
@@ -19563,7 +19565,7 @@ function WP(e, t, n) {
|
|
|
19563
19565
|
return Ye(c) ? Ke(e, a, "whitespace")(c) : a(c);
|
|
19564
19566
|
}
|
|
19565
19567
|
function a(c) {
|
|
19566
|
-
return c === null ||
|
|
19568
|
+
return c === null || Le(c) ? t(c) : n(c);
|
|
19567
19569
|
}
|
|
19568
19570
|
}
|
|
19569
19571
|
const GP = {
|
|
@@ -19576,7 +19578,7 @@ function KP(e, t, n) {
|
|
|
19576
19578
|
return e.enter("hardBreakEscape"), e.consume(u), o;
|
|
19577
19579
|
}
|
|
19578
19580
|
function o(u) {
|
|
19579
|
-
return
|
|
19581
|
+
return Le(u) ? (e.exit("hardBreakEscape"), t(u)) : n(u);
|
|
19580
19582
|
}
|
|
19581
19583
|
}
|
|
19582
19584
|
const QP = {
|
|
@@ -19610,7 +19612,7 @@ function JP(e, t, n) {
|
|
|
19610
19612
|
return m === 35 && r++ < 6 ? (e.consume(m), a) : m === null || st(m) ? (e.exit("atxHeadingSequence"), c(m)) : n(m);
|
|
19611
19613
|
}
|
|
19612
19614
|
function c(m) {
|
|
19613
|
-
return m === 35 ? (e.enter("atxHeadingSequence"), f(m)) : m === null ||
|
|
19615
|
+
return m === 35 ? (e.enter("atxHeadingSequence"), f(m)) : m === null || Le(m) ? (e.exit("atxHeading"), t(m)) : Ye(m) ? Ke(e, c, "whitespace")(m) : (e.enter("atxHeadingText"), h(m));
|
|
19614
19616
|
}
|
|
19615
19617
|
function f(m) {
|
|
19616
19618
|
return m === 35 ? (e.consume(m), f) : (e.exit("atxHeadingSequence"), c(m));
|
|
@@ -19728,8 +19730,8 @@ function iR(e, t, n) {
|
|
|
19728
19730
|
}
|
|
19729
19731
|
function A(k) {
|
|
19730
19732
|
if (k === null || k === 47 || k === 62 || st(k)) {
|
|
19731
|
-
const Se = k === 47,
|
|
19732
|
-
return !Se && !u && VE.includes(
|
|
19733
|
+
const Se = k === 47, De = a.toLowerCase();
|
|
19734
|
+
return !Se && !u && VE.includes(De) ? (o = 1, r.interrupt ? t(k) : de(k)) : ZP.includes(a.toLowerCase()) ? (o = 6, Se ? (e.consume(k), I) : r.interrupt ? t(k) : de(k)) : (o = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(k) : u ? F(k) : D(k));
|
|
19733
19735
|
}
|
|
19734
19736
|
return k === 45 || Jt(k) ? (e.consume(k), a += String.fromCharCode(k), A) : n(k);
|
|
19735
19737
|
}
|
|
@@ -19752,7 +19754,7 @@ function iR(e, t, n) {
|
|
|
19752
19754
|
return k === null || k === 60 || k === 61 || k === 62 || k === 96 ? n(k) : k === 34 || k === 39 ? (e.consume(k), f = k, te) : Ye(k) ? (e.consume(k), B) : be(k);
|
|
19753
19755
|
}
|
|
19754
19756
|
function te(k) {
|
|
19755
|
-
return k === f ? (e.consume(k), f = null, he) : k === null ||
|
|
19757
|
+
return k === f ? (e.consume(k), f = null, he) : k === null || Le(k) ? n(k) : (e.consume(k), te);
|
|
19756
19758
|
}
|
|
19757
19759
|
function be(k) {
|
|
19758
19760
|
return k === null || k === 34 || k === 39 || k === 47 || k === 60 || k === 61 || k === 62 || k === 96 || st(k) ? W(k) : (e.consume(k), be);
|
|
@@ -19764,10 +19766,10 @@ function iR(e, t, n) {
|
|
|
19764
19766
|
return k === 62 ? (e.consume(k), le) : n(k);
|
|
19765
19767
|
}
|
|
19766
19768
|
function le(k) {
|
|
19767
|
-
return k === null ||
|
|
19769
|
+
return k === null || Le(k) ? de(k) : Ye(k) ? (e.consume(k), le) : n(k);
|
|
19768
19770
|
}
|
|
19769
19771
|
function de(k) {
|
|
19770
|
-
return k === 45 && o === 2 ? (e.consume(k), xe) : k === 60 && o === 1 ? (e.consume(k), oe) : k === 62 && o === 4 ? (e.consume(k), R) : k === 63 && o === 3 ? (e.consume(k), x) : k === 93 && o === 5 ? (e.consume(k), Z) :
|
|
19772
|
+
return k === 45 && o === 2 ? (e.consume(k), xe) : k === 60 && o === 1 ? (e.consume(k), oe) : k === 62 && o === 4 ? (e.consume(k), R) : k === 63 && o === 3 ? (e.consume(k), x) : k === 93 && o === 5 ? (e.consume(k), Z) : Le(k) && (o === 6 || o === 7) ? (e.exit("htmlFlowData"), e.check(tR, Q, ce)(k)) : k === null || Le(k) ? (e.exit("htmlFlowData"), ce(k)) : (e.consume(k), de);
|
|
19771
19773
|
}
|
|
19772
19774
|
function ce(k) {
|
|
19773
19775
|
return e.check(nR, fe, Q)(k);
|
|
@@ -19776,7 +19778,7 @@ function iR(e, t, n) {
|
|
|
19776
19778
|
return e.enter("lineEnding"), e.consume(k), e.exit("lineEnding"), Te;
|
|
19777
19779
|
}
|
|
19778
19780
|
function Te(k) {
|
|
19779
|
-
return k === null ||
|
|
19781
|
+
return k === null || Le(k) ? ce(k) : (e.enter("htmlFlowData"), de(k));
|
|
19780
19782
|
}
|
|
19781
19783
|
function xe(k) {
|
|
19782
19784
|
return k === 45 ? (e.consume(k), x) : de(k);
|
|
@@ -19798,7 +19800,7 @@ function iR(e, t, n) {
|
|
|
19798
19800
|
return k === 62 ? (e.consume(k), R) : k === 45 && o === 2 ? (e.consume(k), x) : de(k);
|
|
19799
19801
|
}
|
|
19800
19802
|
function R(k) {
|
|
19801
|
-
return k === null ||
|
|
19803
|
+
return k === null || Le(k) ? (e.exit("htmlFlowData"), Q(k)) : (e.consume(k), R);
|
|
19802
19804
|
}
|
|
19803
19805
|
function Q(k) {
|
|
19804
19806
|
return e.exit("htmlFlow"), t(k);
|
|
@@ -19808,7 +19810,7 @@ function sR(e, t, n) {
|
|
|
19808
19810
|
const r = this;
|
|
19809
19811
|
return o;
|
|
19810
19812
|
function o(a) {
|
|
19811
|
-
return
|
|
19813
|
+
return Le(a) ? (e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), u) : n(a);
|
|
19812
19814
|
}
|
|
19813
19815
|
function u(a) {
|
|
19814
19816
|
return r.parser.lazy[r.now().line] ? n(a) : t(a);
|
|
@@ -19841,7 +19843,7 @@ function aR(e, t, n) {
|
|
|
19841
19843
|
return x === 45 ? (e.consume(x), T) : n(x);
|
|
19842
19844
|
}
|
|
19843
19845
|
function E(x) {
|
|
19844
|
-
return x === null ? n(x) : x === 45 ? (e.consume(x), b) :
|
|
19846
|
+
return x === null ? n(x) : x === 45 ? (e.consume(x), b) : Le(x) ? (a = E, oe(x)) : (e.consume(x), E);
|
|
19845
19847
|
}
|
|
19846
19848
|
function b(x) {
|
|
19847
19849
|
return x === 45 ? (e.consume(x), T) : E(x);
|
|
@@ -19854,7 +19856,7 @@ function aR(e, t, n) {
|
|
|
19854
19856
|
return x === R.charCodeAt(u++) ? (e.consume(x), u === R.length ? C : _) : n(x);
|
|
19855
19857
|
}
|
|
19856
19858
|
function C(x) {
|
|
19857
|
-
return x === null ? n(x) : x === 93 ? (e.consume(x), A) :
|
|
19859
|
+
return x === null ? n(x) : x === 93 ? (e.consume(x), A) : Le(x) ? (a = C, oe(x)) : (e.consume(x), C);
|
|
19858
19860
|
}
|
|
19859
19861
|
function A(x) {
|
|
19860
19862
|
return x === 93 ? (e.consume(x), I) : C(x);
|
|
@@ -19863,10 +19865,10 @@ function aR(e, t, n) {
|
|
|
19863
19865
|
return x === 62 ? xe(x) : x === 93 ? (e.consume(x), I) : C(x);
|
|
19864
19866
|
}
|
|
19865
19867
|
function F(x) {
|
|
19866
|
-
return x === null || x === 62 ? xe(x) :
|
|
19868
|
+
return x === null || x === 62 ? xe(x) : Le(x) ? (a = F, oe(x)) : (e.consume(x), F);
|
|
19867
19869
|
}
|
|
19868
19870
|
function D(x) {
|
|
19869
|
-
return x === null ? n(x) : x === 63 ? (e.consume(x), G) :
|
|
19871
|
+
return x === null ? n(x) : x === 63 ? (e.consume(x), G) : Le(x) ? (a = D, oe(x)) : (e.consume(x), D);
|
|
19870
19872
|
}
|
|
19871
19873
|
function G(x) {
|
|
19872
19874
|
return x === 62 ? xe(x) : D(x);
|
|
@@ -19878,25 +19880,25 @@ function aR(e, t, n) {
|
|
|
19878
19880
|
return x === 45 || Jt(x) ? (e.consume(x), B) : te(x);
|
|
19879
19881
|
}
|
|
19880
19882
|
function te(x) {
|
|
19881
|
-
return
|
|
19883
|
+
return Le(x) ? (a = te, oe(x)) : Ye(x) ? (e.consume(x), te) : xe(x);
|
|
19882
19884
|
}
|
|
19883
19885
|
function be(x) {
|
|
19884
19886
|
return x === 45 || Jt(x) ? (e.consume(x), be) : x === 47 || x === 62 || st(x) ? he(x) : n(x);
|
|
19885
19887
|
}
|
|
19886
19888
|
function he(x) {
|
|
19887
|
-
return x === 47 ? (e.consume(x), xe) : x === 58 || x === 95 || on(x) ? (e.consume(x), H) :
|
|
19889
|
+
return x === 47 ? (e.consume(x), xe) : x === 58 || x === 95 || on(x) ? (e.consume(x), H) : Le(x) ? (a = he, oe(x)) : Ye(x) ? (e.consume(x), he) : xe(x);
|
|
19888
19890
|
}
|
|
19889
19891
|
function H(x) {
|
|
19890
19892
|
return x === 45 || x === 46 || x === 58 || x === 95 || Jt(x) ? (e.consume(x), H) : le(x);
|
|
19891
19893
|
}
|
|
19892
19894
|
function le(x) {
|
|
19893
|
-
return x === 61 ? (e.consume(x), de) :
|
|
19895
|
+
return x === 61 ? (e.consume(x), de) : Le(x) ? (a = le, oe(x)) : Ye(x) ? (e.consume(x), le) : he(x);
|
|
19894
19896
|
}
|
|
19895
19897
|
function de(x) {
|
|
19896
|
-
return x === null || x === 60 || x === 61 || x === 62 || x === 96 ? n(x) : x === 34 || x === 39 ? (e.consume(x), o = x, ce) :
|
|
19898
|
+
return x === null || x === 60 || x === 61 || x === 62 || x === 96 ? n(x) : x === 34 || x === 39 ? (e.consume(x), o = x, ce) : Le(x) ? (a = de, oe(x)) : Ye(x) ? (e.consume(x), de) : (e.consume(x), fe);
|
|
19897
19899
|
}
|
|
19898
19900
|
function ce(x) {
|
|
19899
|
-
return x === o ? (e.consume(x), o = void 0, Te) : x === null ? n(x) :
|
|
19901
|
+
return x === o ? (e.consume(x), o = void 0, Te) : x === null ? n(x) : Le(x) ? (a = ce, oe(x)) : (e.consume(x), ce);
|
|
19900
19902
|
}
|
|
19901
19903
|
function fe(x) {
|
|
19902
19904
|
return x === null || x === 34 || x === 39 || x === 60 || x === 61 || x === 96 ? n(x) : x === 47 || x === 62 || st(x) ? he(x) : (e.consume(x), fe);
|
|
@@ -20103,7 +20105,7 @@ function CR(e, t, n) {
|
|
|
20103
20105
|
return o = h, c(h);
|
|
20104
20106
|
}
|
|
20105
20107
|
function c(h) {
|
|
20106
|
-
return h === o ? (e.enter("thematicBreakSequence"), f(h)) : r >= 3 && (h === null ||
|
|
20108
|
+
return h === o ? (e.enter("thematicBreakSequence"), f(h)) : r >= 3 && (h === null || Le(h)) ? (e.exit("thematicBreak"), t(h)) : n(h);
|
|
20107
20109
|
}
|
|
20108
20110
|
function f(h) {
|
|
20109
20111
|
return h === o ? (e.consume(h), r++, f) : (e.exit("thematicBreakSequence"), Ye(h) ? Ke(e, c, "whitespace")(h) : c(h));
|
|
@@ -20235,7 +20237,7 @@ function PR(e, t, n) {
|
|
|
20235
20237
|
return h === o ? (e.consume(h), c) : (e.exit("setextHeadingLineSequence"), Ye(h) ? Ke(e, f, "lineSuffix")(h) : f(h));
|
|
20236
20238
|
}
|
|
20237
20239
|
function f(h) {
|
|
20238
|
-
return h === null ||
|
|
20240
|
+
return h === null || Le(h) ? (e.exit("setextHeadingLine"), t(h)) : n(h);
|
|
20239
20241
|
}
|
|
20240
20242
|
}
|
|
20241
20243
|
const RR = {
|
|
@@ -20491,7 +20493,7 @@ function KR(e, t, n) {
|
|
|
20491
20493
|
m = m(le);
|
|
20492
20494
|
}
|
|
20493
20495
|
function F(le) {
|
|
20494
|
-
|
|
20496
|
+
Le(le) ? (r.line++, r.column = 1, r.offset += le === -3 ? 2 : 1, H()) : le !== -1 && (r.column++, r.offset++), r._bufferIndex < 0 ? r._index++ : (r._bufferIndex++, r._bufferIndex === // Points w/ non-negative `_bufferIndex` reference
|
|
20495
20497
|
// strings.
|
|
20496
20498
|
/** @type {string} */
|
|
20497
20499
|
a[r._index].length && (r._bufferIndex = -1, r._index++)), h.previous = le;
|
|
@@ -20542,21 +20544,21 @@ function KR(e, t, n) {
|
|
|
20542
20544
|
function k(Oe) {
|
|
20543
20545
|
return je;
|
|
20544
20546
|
function je(ze) {
|
|
20545
|
-
return x = he(), Z = Oe, Oe.partial || (h.currentConstruct = Oe), Oe.name && h.parser.constructs.disable.null.includes(Oe.name) ?
|
|
20547
|
+
return x = he(), Z = Oe, Oe.partial || (h.currentConstruct = Oe), Oe.name && h.parser.constructs.disable.null.includes(Oe.name) ? De() : Oe.tokenize.call(
|
|
20546
20548
|
// If we do have fields, create an object w/ `context` as its
|
|
20547
20549
|
// prototype.
|
|
20548
20550
|
// This allows a “live binding”, which is needed for `interrupt`.
|
|
20549
20551
|
de ? Object.assign(Object.create(h), de) : h,
|
|
20550
20552
|
f,
|
|
20551
20553
|
Se,
|
|
20552
|
-
|
|
20554
|
+
De
|
|
20553
20555
|
)(ze);
|
|
20554
20556
|
}
|
|
20555
20557
|
}
|
|
20556
20558
|
function Se(Oe) {
|
|
20557
20559
|
return le(Z, x), Te;
|
|
20558
20560
|
}
|
|
20559
|
-
function
|
|
20561
|
+
function De(Oe) {
|
|
20560
20562
|
return x.restore(), ++$ < oe.length ? k(oe[$]) : xe;
|
|
20561
20563
|
}
|
|
20562
20564
|
}
|
|
@@ -20720,7 +20722,7 @@ function sL(e) {
|
|
|
20720
20722
|
autolink: u(ot),
|
|
20721
20723
|
autolinkProtocol: he,
|
|
20722
20724
|
autolinkEmail: he,
|
|
20723
|
-
atxHeading: u(
|
|
20725
|
+
atxHeading: u(Zr),
|
|
20724
20726
|
blockQuote: u(Et),
|
|
20725
20727
|
characterEscape: he,
|
|
20726
20728
|
characterReference: he,
|
|
@@ -20732,11 +20734,11 @@ function sL(e) {
|
|
|
20732
20734
|
codeTextData: he,
|
|
20733
20735
|
data: he,
|
|
20734
20736
|
codeFlowValue: he,
|
|
20735
|
-
definition: u(
|
|
20737
|
+
definition: u(Xr),
|
|
20736
20738
|
definitionDestinationString: a,
|
|
20737
20739
|
definitionLabelString: a,
|
|
20738
20740
|
definitionTitleString: a,
|
|
20739
|
-
emphasis: u(
|
|
20741
|
+
emphasis: u(Jr),
|
|
20740
20742
|
hardBreakEscape: u(_e),
|
|
20741
20743
|
hardBreakTrailing: u(_e),
|
|
20742
20744
|
htmlFlow: u(Fe, a),
|
|
@@ -20746,7 +20748,7 @@ function sL(e) {
|
|
|
20746
20748
|
image: u(et),
|
|
20747
20749
|
label: a,
|
|
20748
20750
|
link: u(ot),
|
|
20749
|
-
listItem: u(
|
|
20751
|
+
listItem: u(St),
|
|
20750
20752
|
listItemValue: b,
|
|
20751
20753
|
listOrdered: u(ct, E),
|
|
20752
20754
|
listUnordered: u(ct),
|
|
@@ -20755,9 +20757,9 @@ function sL(e) {
|
|
|
20755
20757
|
referenceString: a,
|
|
20756
20758
|
resourceDestinationString: a,
|
|
20757
20759
|
resourceTitleString: a,
|
|
20758
|
-
setextHeading: u(
|
|
20759
|
-
strong: u(
|
|
20760
|
-
thematicBreak: u(
|
|
20760
|
+
setextHeading: u(Zr),
|
|
20761
|
+
strong: u(Ze),
|
|
20762
|
+
thematicBreak: u(Sn)
|
|
20761
20763
|
},
|
|
20762
20764
|
exit: {
|
|
20763
20765
|
atxHeading: f(),
|
|
@@ -20767,8 +20769,8 @@ function sL(e) {
|
|
|
20767
20769
|
autolinkProtocol: ze,
|
|
20768
20770
|
blockQuote: f(),
|
|
20769
20771
|
characterEscapeValue: H,
|
|
20770
|
-
characterReferenceMarkerHexadecimal:
|
|
20771
|
-
characterReferenceMarkerNumeric:
|
|
20772
|
+
characterReferenceMarkerHexadecimal: De,
|
|
20773
|
+
characterReferenceMarkerNumeric: De,
|
|
20772
20774
|
characterReferenceValue: Oe,
|
|
20773
20775
|
characterReference: je,
|
|
20774
20776
|
codeFenced: f(A),
|
|
@@ -20815,12 +20817,12 @@ function sL(e) {
|
|
|
20815
20817
|
const n = {};
|
|
20816
20818
|
return r;
|
|
20817
20819
|
function r(J) {
|
|
20818
|
-
let
|
|
20820
|
+
let Ee = {
|
|
20819
20821
|
type: "root",
|
|
20820
20822
|
children: []
|
|
20821
20823
|
};
|
|
20822
|
-
const
|
|
20823
|
-
stack: [
|
|
20824
|
+
const Ie = {
|
|
20825
|
+
stack: [Ee],
|
|
20824
20826
|
tokenStack: [],
|
|
20825
20827
|
config: t,
|
|
20826
20828
|
enter: c,
|
|
@@ -20842,13 +20844,13 @@ function sL(e) {
|
|
|
20842
20844
|
const zt = t[J[Qe][0]];
|
|
20843
20845
|
R_.call(zt, J[Qe][1].type) && zt[J[Qe][1].type].call(Object.assign({
|
|
20844
20846
|
sliceSerialize: J[Qe][2].sliceSerialize
|
|
20845
|
-
},
|
|
20847
|
+
}, Ie), J[Qe][1]);
|
|
20846
20848
|
}
|
|
20847
|
-
if (
|
|
20848
|
-
const zt =
|
|
20849
|
-
(zt[1] || WE).call(
|
|
20849
|
+
if (Ie.tokenStack.length > 0) {
|
|
20850
|
+
const zt = Ie.tokenStack[Ie.tokenStack.length - 1];
|
|
20851
|
+
(zt[1] || WE).call(Ie, void 0, zt[0]);
|
|
20850
20852
|
}
|
|
20851
|
-
for (
|
|
20853
|
+
for (Ee.position = {
|
|
20852
20854
|
start: bi(J.length > 0 ? J[0][1].start : {
|
|
20853
20855
|
line: 1,
|
|
20854
20856
|
column: 1,
|
|
@@ -20860,12 +20862,12 @@ function sL(e) {
|
|
|
20860
20862
|
offset: 0
|
|
20861
20863
|
})
|
|
20862
20864
|
}, Qe = -1; ++Qe < t.transforms.length; )
|
|
20863
|
-
|
|
20864
|
-
return
|
|
20865
|
+
Ee = t.transforms[Qe](Ee) || Ee;
|
|
20866
|
+
return Ee;
|
|
20865
20867
|
}
|
|
20866
|
-
function o(J,
|
|
20867
|
-
let $e =
|
|
20868
|
-
for (; ++$e <=
|
|
20868
|
+
function o(J, Ee, Ie) {
|
|
20869
|
+
let $e = Ee - 1, Qe = -1, zt = !1, Pr, Dn, ei, Pi;
|
|
20870
|
+
for (; ++$e <= Ie; ) {
|
|
20869
20871
|
const jt = J[$e];
|
|
20870
20872
|
switch (jt[1].type) {
|
|
20871
20873
|
case "listUnordered":
|
|
@@ -20875,7 +20877,7 @@ function sL(e) {
|
|
|
20875
20877
|
break;
|
|
20876
20878
|
}
|
|
20877
20879
|
case "lineEndingBlank": {
|
|
20878
|
-
jt[0] === "enter" && (
|
|
20880
|
+
jt[0] === "enter" && (Pr && !Pi && !Qe && !ei && (ei = $e), Pi = void 0);
|
|
20879
20881
|
break;
|
|
20880
20882
|
}
|
|
20881
20883
|
case "linePrefix":
|
|
@@ -20888,7 +20890,7 @@ function sL(e) {
|
|
|
20888
20890
|
Pi = void 0;
|
|
20889
20891
|
}
|
|
20890
20892
|
if (!Qe && jt[0] === "enter" && jt[1].type === "listItemPrefix" || Qe === -1 && jt[0] === "exit" && (jt[1].type === "listUnordered" || jt[1].type === "listOrdered")) {
|
|
20891
|
-
if (
|
|
20893
|
+
if (Pr) {
|
|
20892
20894
|
let fr = $e;
|
|
20893
20895
|
for (Dn = void 0; fr--; ) {
|
|
20894
20896
|
const Cn = J[fr];
|
|
@@ -20897,7 +20899,7 @@ function sL(e) {
|
|
|
20897
20899
|
Dn && (J[Dn][1].type = "lineEndingBlank", zt = !0), Cn[1].type = "lineEnding", Dn = fr;
|
|
20898
20900
|
} else if (!(Cn[1].type === "linePrefix" || Cn[1].type === "blockQuotePrefix" || Cn[1].type === "blockQuotePrefixWhitespace" || Cn[1].type === "blockQuoteMarker" || Cn[1].type === "listItemIndent")) break;
|
|
20899
20901
|
}
|
|
20900
|
-
ei && (!Dn || ei < Dn) && (
|
|
20902
|
+
ei && (!Dn || ei < Dn) && (Pr._spread = !0), Pr.end = Object.assign({}, Dn ? J[Dn][1].start : jt[1].end), J.splice(Dn || $e, 0, ["exit", Pr, jt[2]]), $e++, Ie++;
|
|
20901
20903
|
}
|
|
20902
20904
|
if (jt[1].type === "listItemPrefix") {
|
|
20903
20905
|
const fr = {
|
|
@@ -20907,16 +20909,16 @@ function sL(e) {
|
|
|
20907
20909
|
// @ts-expect-error: we’ll add `end` in a second.
|
|
20908
20910
|
end: void 0
|
|
20909
20911
|
};
|
|
20910
|
-
|
|
20912
|
+
Pr = fr, J.splice($e, 0, ["enter", fr, jt[2]]), $e++, Ie++, ei = void 0, Pi = !0;
|
|
20911
20913
|
}
|
|
20912
20914
|
}
|
|
20913
20915
|
}
|
|
20914
|
-
return J[
|
|
20916
|
+
return J[Ee][1]._spread = zt, Ie;
|
|
20915
20917
|
}
|
|
20916
|
-
function u(J,
|
|
20917
|
-
return
|
|
20918
|
-
function
|
|
20919
|
-
c.call(this, J($e), $e),
|
|
20918
|
+
function u(J, Ee) {
|
|
20919
|
+
return Ie;
|
|
20920
|
+
function Ie($e) {
|
|
20921
|
+
c.call(this, J($e), $e), Ee && Ee.call(this, $e);
|
|
20920
20922
|
}
|
|
20921
20923
|
}
|
|
20922
20924
|
function a() {
|
|
@@ -20925,28 +20927,28 @@ function sL(e) {
|
|
|
20925
20927
|
children: []
|
|
20926
20928
|
});
|
|
20927
20929
|
}
|
|
20928
|
-
function c(J,
|
|
20929
|
-
this.stack[this.stack.length - 1].children.push(J), this.stack.push(J), this.tokenStack.push([
|
|
20930
|
-
start: bi(
|
|
20930
|
+
function c(J, Ee, Ie) {
|
|
20931
|
+
this.stack[this.stack.length - 1].children.push(J), this.stack.push(J), this.tokenStack.push([Ee, Ie || void 0]), J.position = {
|
|
20932
|
+
start: bi(Ee.start),
|
|
20931
20933
|
// @ts-expect-error: `end` will be patched later.
|
|
20932
20934
|
end: void 0
|
|
20933
20935
|
};
|
|
20934
20936
|
}
|
|
20935
20937
|
function f(J) {
|
|
20936
|
-
return
|
|
20937
|
-
function
|
|
20938
|
-
J && J.call(this,
|
|
20938
|
+
return Ee;
|
|
20939
|
+
function Ee(Ie) {
|
|
20940
|
+
J && J.call(this, Ie), h.call(this, Ie);
|
|
20939
20941
|
}
|
|
20940
20942
|
}
|
|
20941
|
-
function h(J,
|
|
20942
|
-
const
|
|
20943
|
+
function h(J, Ee) {
|
|
20944
|
+
const Ie = this.stack.pop(), $e = this.tokenStack.pop();
|
|
20943
20945
|
if ($e)
|
|
20944
|
-
$e[0].type !== J.type && (
|
|
20946
|
+
$e[0].type !== J.type && (Ee ? Ee.call(this, J, $e[0]) : ($e[1] || WE).call(this, J, $e[0]));
|
|
20945
20947
|
else throw new Error("Cannot close `" + J.type + "` (" + bu({
|
|
20946
20948
|
start: J.start,
|
|
20947
20949
|
end: J.end
|
|
20948
20950
|
}) + "): it’s not open");
|
|
20949
|
-
|
|
20951
|
+
Ie.position.end = bi(J.end);
|
|
20950
20952
|
}
|
|
20951
20953
|
function m() {
|
|
20952
20954
|
return e0(this.stack.pop());
|
|
@@ -20956,100 +20958,100 @@ function sL(e) {
|
|
|
20956
20958
|
}
|
|
20957
20959
|
function b(J) {
|
|
20958
20960
|
if (this.data.expectingFirstListItemValue) {
|
|
20959
|
-
const
|
|
20960
|
-
|
|
20961
|
+
const Ee = this.stack[this.stack.length - 2];
|
|
20962
|
+
Ee.start = Number.parseInt(this.sliceSerialize(J), 10), this.data.expectingFirstListItemValue = void 0;
|
|
20961
20963
|
}
|
|
20962
20964
|
}
|
|
20963
20965
|
function T() {
|
|
20964
|
-
const J = this.resume(),
|
|
20965
|
-
|
|
20966
|
+
const J = this.resume(), Ee = this.stack[this.stack.length - 1];
|
|
20967
|
+
Ee.lang = J;
|
|
20966
20968
|
}
|
|
20967
20969
|
function _() {
|
|
20968
|
-
const J = this.resume(),
|
|
20969
|
-
|
|
20970
|
+
const J = this.resume(), Ee = this.stack[this.stack.length - 1];
|
|
20971
|
+
Ee.meta = J;
|
|
20970
20972
|
}
|
|
20971
20973
|
function C() {
|
|
20972
20974
|
this.data.flowCodeInside || (this.buffer(), this.data.flowCodeInside = !0);
|
|
20973
20975
|
}
|
|
20974
20976
|
function A() {
|
|
20975
|
-
const J = this.resume(),
|
|
20976
|
-
|
|
20977
|
+
const J = this.resume(), Ee = this.stack[this.stack.length - 1];
|
|
20978
|
+
Ee.value = J.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), this.data.flowCodeInside = void 0;
|
|
20977
20979
|
}
|
|
20978
20980
|
function I() {
|
|
20979
|
-
const J = this.resume(),
|
|
20980
|
-
|
|
20981
|
+
const J = this.resume(), Ee = this.stack[this.stack.length - 1];
|
|
20982
|
+
Ee.value = J.replace(/(\r?\n|\r)$/g, "");
|
|
20981
20983
|
}
|
|
20982
20984
|
function F(J) {
|
|
20983
|
-
const
|
|
20984
|
-
|
|
20985
|
+
const Ee = this.resume(), Ie = this.stack[this.stack.length - 1];
|
|
20986
|
+
Ie.label = Ee, Ie.identifier = ir(this.sliceSerialize(J)).toLowerCase();
|
|
20985
20987
|
}
|
|
20986
20988
|
function D() {
|
|
20987
|
-
const J = this.resume(),
|
|
20988
|
-
|
|
20989
|
+
const J = this.resume(), Ee = this.stack[this.stack.length - 1];
|
|
20990
|
+
Ee.title = J;
|
|
20989
20991
|
}
|
|
20990
20992
|
function G() {
|
|
20991
|
-
const J = this.resume(),
|
|
20992
|
-
|
|
20993
|
+
const J = this.resume(), Ee = this.stack[this.stack.length - 1];
|
|
20994
|
+
Ee.url = J;
|
|
20993
20995
|
}
|
|
20994
20996
|
function W(J) {
|
|
20995
|
-
const
|
|
20996
|
-
if (!
|
|
20997
|
-
const
|
|
20998
|
-
|
|
20997
|
+
const Ee = this.stack[this.stack.length - 1];
|
|
20998
|
+
if (!Ee.depth) {
|
|
20999
|
+
const Ie = this.sliceSerialize(J).length;
|
|
21000
|
+
Ee.depth = Ie;
|
|
20999
21001
|
}
|
|
21000
21002
|
}
|
|
21001
21003
|
function B() {
|
|
21002
21004
|
this.data.setextHeadingSlurpLineEnding = !0;
|
|
21003
21005
|
}
|
|
21004
21006
|
function te(J) {
|
|
21005
|
-
const
|
|
21006
|
-
|
|
21007
|
+
const Ee = this.stack[this.stack.length - 1];
|
|
21008
|
+
Ee.depth = this.sliceSerialize(J).codePointAt(0) === 61 ? 1 : 2;
|
|
21007
21009
|
}
|
|
21008
21010
|
function be() {
|
|
21009
21011
|
this.data.setextHeadingSlurpLineEnding = void 0;
|
|
21010
21012
|
}
|
|
21011
21013
|
function he(J) {
|
|
21012
|
-
const
|
|
21013
|
-
let $e =
|
|
21014
|
-
(!$e || $e.type !== "text") && ($e =
|
|
21014
|
+
const Ie = this.stack[this.stack.length - 1].children;
|
|
21015
|
+
let $e = Ie[Ie.length - 1];
|
|
21016
|
+
(!$e || $e.type !== "text") && ($e = Ir(), $e.position = {
|
|
21015
21017
|
start: bi(J.start),
|
|
21016
21018
|
// @ts-expect-error: we’ll add `end` later.
|
|
21017
21019
|
end: void 0
|
|
21018
|
-
},
|
|
21020
|
+
}, Ie.push($e)), this.stack.push($e);
|
|
21019
21021
|
}
|
|
21020
21022
|
function H(J) {
|
|
21021
|
-
const
|
|
21022
|
-
|
|
21023
|
+
const Ee = this.stack.pop();
|
|
21024
|
+
Ee.value += this.sliceSerialize(J), Ee.position.end = bi(J.end);
|
|
21023
21025
|
}
|
|
21024
21026
|
function le(J) {
|
|
21025
|
-
const
|
|
21027
|
+
const Ee = this.stack[this.stack.length - 1];
|
|
21026
21028
|
if (this.data.atHardBreak) {
|
|
21027
|
-
const
|
|
21028
|
-
|
|
21029
|
+
const Ie = Ee.children[Ee.children.length - 1];
|
|
21030
|
+
Ie.position.end = bi(J.end), this.data.atHardBreak = void 0;
|
|
21029
21031
|
return;
|
|
21030
21032
|
}
|
|
21031
|
-
!this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(
|
|
21033
|
+
!this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(Ee.type) && (he.call(this, J), H.call(this, J));
|
|
21032
21034
|
}
|
|
21033
21035
|
function de() {
|
|
21034
21036
|
this.data.atHardBreak = !0;
|
|
21035
21037
|
}
|
|
21036
21038
|
function ce() {
|
|
21037
|
-
const J = this.resume(),
|
|
21038
|
-
|
|
21039
|
+
const J = this.resume(), Ee = this.stack[this.stack.length - 1];
|
|
21040
|
+
Ee.value = J;
|
|
21039
21041
|
}
|
|
21040
21042
|
function fe() {
|
|
21041
|
-
const J = this.resume(),
|
|
21042
|
-
|
|
21043
|
+
const J = this.resume(), Ee = this.stack[this.stack.length - 1];
|
|
21044
|
+
Ee.value = J;
|
|
21043
21045
|
}
|
|
21044
21046
|
function Te() {
|
|
21045
|
-
const J = this.resume(),
|
|
21046
|
-
|
|
21047
|
+
const J = this.resume(), Ee = this.stack[this.stack.length - 1];
|
|
21048
|
+
Ee.value = J;
|
|
21047
21049
|
}
|
|
21048
21050
|
function xe() {
|
|
21049
21051
|
const J = this.stack[this.stack.length - 1];
|
|
21050
21052
|
if (this.data.inReference) {
|
|
21051
|
-
const
|
|
21052
|
-
J.type += "Reference", J.referenceType =
|
|
21053
|
+
const Ee = this.data.referenceType || "shortcut";
|
|
21054
|
+
J.type += "Reference", J.referenceType = Ee, delete J.url, delete J.title;
|
|
21053
21055
|
} else
|
|
21054
21056
|
delete J.identifier, delete J.label;
|
|
21055
21057
|
this.data.referenceType = void 0;
|
|
@@ -21057,31 +21059,31 @@ function sL(e) {
|
|
|
21057
21059
|
function oe() {
|
|
21058
21060
|
const J = this.stack[this.stack.length - 1];
|
|
21059
21061
|
if (this.data.inReference) {
|
|
21060
|
-
const
|
|
21061
|
-
J.type += "Reference", J.referenceType =
|
|
21062
|
+
const Ee = this.data.referenceType || "shortcut";
|
|
21063
|
+
J.type += "Reference", J.referenceType = Ee, delete J.url, delete J.title;
|
|
21062
21064
|
} else
|
|
21063
21065
|
delete J.identifier, delete J.label;
|
|
21064
21066
|
this.data.referenceType = void 0;
|
|
21065
21067
|
}
|
|
21066
21068
|
function $(J) {
|
|
21067
|
-
const
|
|
21068
|
-
|
|
21069
|
+
const Ee = this.sliceSerialize(J), Ie = this.stack[this.stack.length - 2];
|
|
21070
|
+
Ie.label = nL(Ee), Ie.identifier = ir(Ee).toLowerCase();
|
|
21069
21071
|
}
|
|
21070
21072
|
function Z() {
|
|
21071
|
-
const J = this.stack[this.stack.length - 1],
|
|
21072
|
-
if (this.data.inReference = !0,
|
|
21073
|
+
const J = this.stack[this.stack.length - 1], Ee = this.resume(), Ie = this.stack[this.stack.length - 1];
|
|
21074
|
+
if (this.data.inReference = !0, Ie.type === "link") {
|
|
21073
21075
|
const $e = J.children;
|
|
21074
|
-
|
|
21076
|
+
Ie.children = $e;
|
|
21075
21077
|
} else
|
|
21076
|
-
|
|
21078
|
+
Ie.alt = Ee;
|
|
21077
21079
|
}
|
|
21078
21080
|
function x() {
|
|
21079
|
-
const J = this.resume(),
|
|
21080
|
-
|
|
21081
|
+
const J = this.resume(), Ee = this.stack[this.stack.length - 1];
|
|
21082
|
+
Ee.url = J;
|
|
21081
21083
|
}
|
|
21082
21084
|
function R() {
|
|
21083
|
-
const J = this.resume(),
|
|
21084
|
-
|
|
21085
|
+
const J = this.resume(), Ee = this.stack[this.stack.length - 1];
|
|
21086
|
+
Ee.title = J;
|
|
21085
21087
|
}
|
|
21086
21088
|
function Q() {
|
|
21087
21089
|
this.data.inReference = void 0;
|
|
@@ -21090,32 +21092,32 @@ function sL(e) {
|
|
|
21090
21092
|
this.data.referenceType = "collapsed";
|
|
21091
21093
|
}
|
|
21092
21094
|
function Se(J) {
|
|
21093
|
-
const
|
|
21094
|
-
|
|
21095
|
+
const Ee = this.resume(), Ie = this.stack[this.stack.length - 1];
|
|
21096
|
+
Ie.label = Ee, Ie.identifier = ir(this.sliceSerialize(J)).toLowerCase(), this.data.referenceType = "full";
|
|
21095
21097
|
}
|
|
21096
|
-
function
|
|
21098
|
+
function De(J) {
|
|
21097
21099
|
this.data.characterReferenceType = J.type;
|
|
21098
21100
|
}
|
|
21099
21101
|
function Oe(J) {
|
|
21100
|
-
const
|
|
21102
|
+
const Ee = this.sliceSerialize(J), Ie = this.data.characterReferenceType;
|
|
21101
21103
|
let $e;
|
|
21102
|
-
|
|
21104
|
+
Ie ? ($e = C_(Ee, Ie === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : $e = t0(Ee);
|
|
21103
21105
|
const Qe = this.stack[this.stack.length - 1];
|
|
21104
21106
|
Qe.value += $e;
|
|
21105
21107
|
}
|
|
21106
21108
|
function je(J) {
|
|
21107
|
-
const
|
|
21108
|
-
|
|
21109
|
+
const Ee = this.stack.pop();
|
|
21110
|
+
Ee.position.end = bi(J.end);
|
|
21109
21111
|
}
|
|
21110
21112
|
function ze(J) {
|
|
21111
21113
|
H.call(this, J);
|
|
21112
|
-
const
|
|
21113
|
-
|
|
21114
|
+
const Ee = this.stack[this.stack.length - 1];
|
|
21115
|
+
Ee.url = this.sliceSerialize(J);
|
|
21114
21116
|
}
|
|
21115
21117
|
function Ge(J) {
|
|
21116
21118
|
H.call(this, J);
|
|
21117
|
-
const
|
|
21118
|
-
|
|
21119
|
+
const Ee = this.stack[this.stack.length - 1];
|
|
21120
|
+
Ee.url = "mailto:" + this.sliceSerialize(J);
|
|
21119
21121
|
}
|
|
21120
21122
|
function Et() {
|
|
21121
21123
|
return {
|
|
@@ -21137,7 +21139,7 @@ function sL(e) {
|
|
|
21137
21139
|
value: ""
|
|
21138
21140
|
};
|
|
21139
21141
|
}
|
|
21140
|
-
function
|
|
21142
|
+
function Xr() {
|
|
21141
21143
|
return {
|
|
21142
21144
|
type: "definition",
|
|
21143
21145
|
identifier: "",
|
|
@@ -21146,13 +21148,13 @@ function sL(e) {
|
|
|
21146
21148
|
url: ""
|
|
21147
21149
|
};
|
|
21148
21150
|
}
|
|
21149
|
-
function
|
|
21151
|
+
function Jr() {
|
|
21150
21152
|
return {
|
|
21151
21153
|
type: "emphasis",
|
|
21152
21154
|
children: []
|
|
21153
21155
|
};
|
|
21154
21156
|
}
|
|
21155
|
-
function
|
|
21157
|
+
function Zr() {
|
|
21156
21158
|
return {
|
|
21157
21159
|
type: "heading",
|
|
21158
21160
|
// @ts-expect-error `depth` will be set later.
|
|
@@ -21196,7 +21198,7 @@ function sL(e) {
|
|
|
21196
21198
|
children: []
|
|
21197
21199
|
};
|
|
21198
21200
|
}
|
|
21199
|
-
function
|
|
21201
|
+
function St(J) {
|
|
21200
21202
|
return {
|
|
21201
21203
|
type: "listItem",
|
|
21202
21204
|
spread: J._spread,
|
|
@@ -21210,19 +21212,19 @@ function sL(e) {
|
|
|
21210
21212
|
children: []
|
|
21211
21213
|
};
|
|
21212
21214
|
}
|
|
21213
|
-
function
|
|
21215
|
+
function Ze() {
|
|
21214
21216
|
return {
|
|
21215
21217
|
type: "strong",
|
|
21216
21218
|
children: []
|
|
21217
21219
|
};
|
|
21218
21220
|
}
|
|
21219
|
-
function
|
|
21221
|
+
function Ir() {
|
|
21220
21222
|
return {
|
|
21221
21223
|
type: "text",
|
|
21222
21224
|
value: ""
|
|
21223
21225
|
};
|
|
21224
21226
|
}
|
|
21225
|
-
function
|
|
21227
|
+
function Sn() {
|
|
21226
21228
|
return {
|
|
21227
21229
|
type: "thematicBreak"
|
|
21228
21230
|
};
|
|
@@ -25264,13 +25266,13 @@ var Ft;
|
|
|
25264
25266
|
(function(e) {
|
|
25265
25267
|
e[e.EntityStart = 0] = "EntityStart", e[e.NumericStart = 1] = "NumericStart", e[e.NumericDecimal = 2] = "NumericDecimal", e[e.NumericHex = 3] = "NumericHex", e[e.NamedEntity = 4] = "NamedEntity";
|
|
25266
25268
|
})(Ft || (Ft = {}));
|
|
25267
|
-
var
|
|
25269
|
+
var Vr;
|
|
25268
25270
|
(function(e) {
|
|
25269
25271
|
e[e.Legacy = 0] = "Legacy", e[e.Strict = 1] = "Strict", e[e.Attribute = 2] = "Attribute";
|
|
25270
|
-
})(
|
|
25272
|
+
})(Vr || (Vr = {}));
|
|
25271
25273
|
class CD {
|
|
25272
25274
|
constructor(t, n, r) {
|
|
25273
|
-
this.decodeTree = t, this.emitCodePoint = n, this.errors = r, this.state = Ft.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode =
|
|
25275
|
+
this.decodeTree = t, this.emitCodePoint = n, this.errors = r, this.state = Ft.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode = Vr.Strict;
|
|
25274
25276
|
}
|
|
25275
25277
|
/** Resets the instance to make it reusable. */
|
|
25276
25278
|
startEntity(t) {
|
|
@@ -25378,7 +25380,7 @@ class CD {
|
|
|
25378
25380
|
return (r = this.errors) === null || r === void 0 || r.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
|
|
25379
25381
|
if (t === Ut.SEMI)
|
|
25380
25382
|
this.consumed += 1;
|
|
25381
|
-
else if (this.decodeMode ===
|
|
25383
|
+
else if (this.decodeMode === Vr.Strict)
|
|
25382
25384
|
return 0;
|
|
25383
25385
|
return this.emitCodePoint(yD(this.result), this.consumed), this.errors && (t !== Ut.SEMI && this.errors.missingSemicolonAfterCharacterReference(), this.errors.validateNumericCharacterReference(this.result)), this.consumed;
|
|
25384
25386
|
}
|
|
@@ -25398,13 +25400,13 @@ class CD {
|
|
|
25398
25400
|
const a = t.charCodeAt(n);
|
|
25399
25401
|
if (this.treeIndex = xD(r, o, this.treeIndex + Math.max(1, u), a), this.treeIndex < 0)
|
|
25400
25402
|
return this.result === 0 || // If we are parsing an attribute
|
|
25401
|
-
this.decodeMode ===
|
|
25403
|
+
this.decodeMode === Vr.Attribute && // We shouldn't have consumed any characters after the entity,
|
|
25402
25404
|
(u === 0 || // And there should be no invalid characters.
|
|
25403
25405
|
SD(a)) ? 0 : this.emitNotTerminatedNamedEntity();
|
|
25404
25406
|
if (o = r[this.treeIndex], u = (o & xi.VALUE_LENGTH) >> 14, u !== 0) {
|
|
25405
25407
|
if (a === Ut.SEMI)
|
|
25406
25408
|
return this.emitNamedEntityData(this.treeIndex, u, this.consumed + this.excess);
|
|
25407
|
-
this.decodeMode !==
|
|
25409
|
+
this.decodeMode !== Vr.Strict && (this.result = this.treeIndex, this.consumed += this.excess, this.excess = 0);
|
|
25408
25410
|
}
|
|
25409
25411
|
}
|
|
25410
25412
|
return -1;
|
|
@@ -25443,7 +25445,7 @@ class CD {
|
|
|
25443
25445
|
var t;
|
|
25444
25446
|
switch (this.state) {
|
|
25445
25447
|
case Ft.NamedEntity:
|
|
25446
|
-
return this.result !== 0 && (this.decodeMode !==
|
|
25448
|
+
return this.result !== 0 && (this.decodeMode !== Vr.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;
|
|
25447
25449
|
// Otherwise, emit a numeric entity if we have one.
|
|
25448
25450
|
case Ft.NumericDecimal:
|
|
25449
25451
|
return this.emitNumericEntity(0, 2);
|
|
@@ -25963,7 +25965,7 @@ class OD {
|
|
|
25963
25965
|
}
|
|
25964
25966
|
// Character reference helpers
|
|
25965
25967
|
_startCharacterReference() {
|
|
25966
|
-
this.returnState = this.state, this.state = v.CHARACTER_REFERENCE, this.entityStartPos = this.preprocessor.pos, this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute() ?
|
|
25968
|
+
this.returnState = this.state, this.state = v.CHARACTER_REFERENCE, this.entityStartPos = this.preprocessor.pos, this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute() ? Vr.Attribute : Vr.Legacy);
|
|
25967
25969
|
}
|
|
25968
25970
|
_isCharacterReferenceInAttribute() {
|
|
25969
25971
|
return this.returnState === v.ATTRIBUTE_VALUE_DOUBLE_QUOTED || this.returnState === v.ATTRIBUTE_VALUE_SINGLE_QUOTED || this.returnState === v.ATTRIBUTE_VALUE_UNQUOTED;
|
|
@@ -32073,7 +32075,7 @@ const kM = {
|
|
|
32073
32075
|
name: "protocolAutolink",
|
|
32074
32076
|
tokenize: RM,
|
|
32075
32077
|
previous: tS
|
|
32076
|
-
},
|
|
32078
|
+
}, Qr = {
|
|
32077
32079
|
name: "emailAutolink",
|
|
32078
32080
|
tokenize: IM,
|
|
32079
32081
|
previous: nS
|
|
@@ -32085,15 +32087,15 @@ function OM() {
|
|
|
32085
32087
|
}
|
|
32086
32088
|
let Wi = 48;
|
|
32087
32089
|
for (; Wi < 123; )
|
|
32088
|
-
Or[Wi] =
|
|
32089
|
-
Or[43] =
|
|
32090
|
-
Or[45] =
|
|
32091
|
-
Or[46] =
|
|
32092
|
-
Or[95] =
|
|
32093
|
-
Or[72] = [
|
|
32094
|
-
Or[104] = [
|
|
32095
|
-
Or[87] = [
|
|
32096
|
-
Or[119] = [
|
|
32090
|
+
Or[Wi] = Qr, Wi++, Wi === 58 ? Wi = 65 : Wi === 91 && (Wi = 97);
|
|
32091
|
+
Or[43] = Qr;
|
|
32092
|
+
Or[45] = Qr;
|
|
32093
|
+
Or[46] = Qr;
|
|
32094
|
+
Or[95] = Qr;
|
|
32095
|
+
Or[72] = [Qr, Z2];
|
|
32096
|
+
Or[104] = [Qr, Z2];
|
|
32097
|
+
Or[87] = [Qr, J2];
|
|
32098
|
+
Or[119] = [Qr, J2];
|
|
32097
32099
|
function IM(e, t, n) {
|
|
32098
32100
|
const r = this;
|
|
32099
32101
|
let o, u;
|
|
@@ -32606,7 +32608,7 @@ function ZM(e, t, n) {
|
|
|
32606
32608
|
return H === 124 || (a = !0, u += 1), m(H);
|
|
32607
32609
|
}
|
|
32608
32610
|
function m(H) {
|
|
32609
|
-
return H === null ? n(H) :
|
|
32611
|
+
return H === null ? n(H) : Le(H) ? u > 1 ? (u = 0, r.interrupt = !0, e.exit("tableRow"), e.enter("lineEnding"), e.consume(H), e.exit("lineEnding"), T) : n(H) : Ye(H) ? Ke(e, m, "whitespace")(H) : (u += 1, a && (a = !1, o += 1), H === 124 ? (e.enter("tableCellDivider"), e.consume(H), e.exit("tableCellDivider"), a = !0, m) : (e.enter("data"), E(H)));
|
|
32610
32612
|
}
|
|
32611
32613
|
function E(H) {
|
|
32612
32614
|
return H === null || H === 124 || st(H) ? (e.exit("data"), m(H)) : (e.consume(H), H === 92 ? b : E);
|
|
@@ -32624,7 +32626,7 @@ function ZM(e, t, n) {
|
|
|
32624
32626
|
return Ye(H) ? Ke(e, A, "whitespace")(H) : A(H);
|
|
32625
32627
|
}
|
|
32626
32628
|
function A(H) {
|
|
32627
|
-
return H === 58 ? (u += 1, a = !0, e.enter("tableDelimiterMarker"), e.consume(H), e.exit("tableDelimiterMarker"), I) : H === 45 ? (u += 1, I(H)) : H === null ||
|
|
32629
|
+
return H === 58 ? (u += 1, a = !0, e.enter("tableDelimiterMarker"), e.consume(H), e.exit("tableDelimiterMarker"), I) : H === 45 ? (u += 1, I(H)) : H === null || Le(H) ? G(H) : W(H);
|
|
32628
32630
|
}
|
|
32629
32631
|
function I(H) {
|
|
32630
32632
|
return H === 45 ? (e.enter("tableDelimiterFiller"), F(H)) : W(H);
|
|
@@ -32636,7 +32638,7 @@ function ZM(e, t, n) {
|
|
|
32636
32638
|
return Ye(H) ? Ke(e, G, "whitespace")(H) : G(H);
|
|
32637
32639
|
}
|
|
32638
32640
|
function G(H) {
|
|
32639
|
-
return H === 124 ? _(H) : H === null ||
|
|
32641
|
+
return H === 124 ? _(H) : H === null || Le(H) ? !a || o !== u ? W(H) : (e.exit("tableDelimiterRow"), e.exit("tableHead"), t(H)) : W(H);
|
|
32640
32642
|
}
|
|
32641
32643
|
function W(H) {
|
|
32642
32644
|
return n(H);
|
|
@@ -32645,7 +32647,7 @@ function ZM(e, t, n) {
|
|
|
32645
32647
|
return e.enter("tableRow"), te(H);
|
|
32646
32648
|
}
|
|
32647
32649
|
function te(H) {
|
|
32648
|
-
return H === 124 ? (e.enter("tableCellDivider"), e.consume(H), e.exit("tableCellDivider"), te) : H === null ||
|
|
32650
|
+
return H === 124 ? (e.enter("tableCellDivider"), e.consume(H), e.exit("tableCellDivider"), te) : H === null || Le(H) ? (e.exit("tableRow"), t(H)) : Ye(H) ? Ke(e, te, "whitespace")(H) : (e.enter("data"), be(H));
|
|
32649
32651
|
}
|
|
32650
32652
|
function be(H) {
|
|
32651
32653
|
return H === null || H === 124 || st(H) ? (e.exit("data"), te(H)) : (e.consume(H), H === 92 ? he : be);
|
|
@@ -32740,7 +32742,7 @@ function rF(e, t, n) {
|
|
|
32740
32742
|
return f === 93 ? (e.enter("taskListCheckMarker"), e.consume(f), e.exit("taskListCheckMarker"), e.exit("taskListCheck"), c) : n(f);
|
|
32741
32743
|
}
|
|
32742
32744
|
function c(f) {
|
|
32743
|
-
return
|
|
32745
|
+
return Le(f) ? t(f) : Ye(f) ? e.check({
|
|
32744
32746
|
tokenize: iF
|
|
32745
32747
|
}, t, n)(f) : n(f);
|
|
32746
32748
|
}
|