@n8n/chat 0.1.3 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/chat.bundle.es.js +401 -402
- package/chat.bundle.umd.js +7 -7
- package/chat.es.js +187 -188
- package/chat.umd.js +7 -7
- package/package.json +1 -1
package/chat.bundle.es.js
CHANGED
|
@@ -8,7 +8,7 @@ const ue = {}, Pt = [], Ue = () => {
|
|
|
8
8
|
}, vl = () => !1, xl = /^on[^a-z]/, or = (t) => xl.test(t), gs = (t) => t.startsWith("onUpdate:"), me = Object.assign, ms = (t, e) => {
|
|
9
9
|
const n = t.indexOf(e);
|
|
10
10
|
n > -1 && t.splice(n, 1);
|
|
11
|
-
}, yl = Object.prototype.hasOwnProperty, se = (t, e) => yl.call(t, e), G = Array.isArray, Bt = (t) => cr(t) === "[object Map]",
|
|
11
|
+
}, yl = Object.prototype.hasOwnProperty, se = (t, e) => yl.call(t, e), G = Array.isArray, Bt = (t) => cr(t) === "[object Map]", Rc = (t) => cr(t) === "[object Set]", ee = (t) => typeof t == "function", _e = (t) => typeof t == "string", _s = (t) => typeof t == "symbol", fe = (t) => t !== null && typeof t == "object", qc = (t) => fe(t) && ee(t.then) && ee(t.catch), Mc = Object.prototype.toString, cr = (t) => Mc.call(t), kl = (t) => cr(t).slice(8, -1), Nc = (t) => cr(t) === "[object Object]", bs = (t) => _e(t) && t !== "NaN" && t[0] !== "-" && "" + parseInt(t, 10) === t, Hn = /* @__PURE__ */ ds(
|
|
12
12
|
// the leading comma is intentional so empty string "" is also included
|
|
13
13
|
",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"
|
|
14
14
|
), ir = (t) => {
|
|
@@ -16,10 +16,10 @@ const ue = {}, Pt = [], Ue = () => {
|
|
|
16
16
|
return (n) => e[n] || (e[n] = t(n));
|
|
17
17
|
}, El = /-(\w)/g, Vt = ir((t) => t.replace(El, (e, n) => n ? n.toUpperCase() : "")), wl = /\B([A-Z])/g, qt = ir(
|
|
18
18
|
(t) => t.replace(wl, "-$1").toLowerCase()
|
|
19
|
-
),
|
|
19
|
+
), Ic = ir(
|
|
20
20
|
(t) => t.charAt(0).toUpperCase() + t.slice(1)
|
|
21
21
|
), Sr = ir(
|
|
22
|
-
(t) => t ? `on${
|
|
22
|
+
(t) => t ? `on${Ic(t)}` : ""
|
|
23
23
|
), bn = (t, e) => !Object.is(t, e), jn = (t, e) => {
|
|
24
24
|
for (let n = 0; n < t.length; n++)
|
|
25
25
|
t[n](e);
|
|
@@ -36,8 +36,8 @@ const ue = {}, Pt = [], Ue = () => {
|
|
|
36
36
|
const e = _e(t) ? Number(t) : NaN;
|
|
37
37
|
return isNaN(e) ? t : e;
|
|
38
38
|
};
|
|
39
|
-
let
|
|
40
|
-
const Qr = () =>
|
|
39
|
+
let Xs;
|
|
40
|
+
const Qr = () => Xs || (Xs = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
|
|
41
41
|
function vs(t) {
|
|
42
42
|
if (G(t)) {
|
|
43
43
|
const e = {};
|
|
@@ -80,14 +80,14 @@ function Sn(t) {
|
|
|
80
80
|
return e.trim();
|
|
81
81
|
}
|
|
82
82
|
const Rl = "itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly", ql = /* @__PURE__ */ ds(Rl);
|
|
83
|
-
function
|
|
83
|
+
function Fc(t) {
|
|
84
84
|
return !!t || t === "";
|
|
85
85
|
}
|
|
86
|
-
const Zn = (t) => _e(t) ? t : t == null ? "" : G(t) || fe(t) && (t.toString ===
|
|
86
|
+
const Zn = (t) => _e(t) ? t : t == null ? "" : G(t) || fe(t) && (t.toString === Mc || !ee(t.toString)) ? JSON.stringify(t, Lc, 2) : String(t), Lc = (t, e) => e && e.__v_isRef ? Lc(t, e.value) : Bt(e) ? {
|
|
87
87
|
[`Map(${e.size})`]: [...e.entries()].reduce((n, [r, s]) => (n[`${r} =>`] = s, n), {})
|
|
88
|
-
} :
|
|
88
|
+
} : Rc(e) ? {
|
|
89
89
|
[`Set(${e.size})`]: [...e.values()]
|
|
90
|
-
} : fe(e) && !G(e) && !
|
|
90
|
+
} : fe(e) && !G(e) && !Nc(e) ? String(e) : e;
|
|
91
91
|
let Be;
|
|
92
92
|
class Ml {
|
|
93
93
|
constructor(e = !1) {
|
|
@@ -149,7 +149,7 @@ function Il() {
|
|
|
149
149
|
const xs = (t) => {
|
|
150
150
|
const e = new Set(t);
|
|
151
151
|
return e.w = 0, e.n = 0, e;
|
|
152
|
-
},
|
|
152
|
+
}, Oc = (t) => (t.w & ft) > 0, Pc = (t) => (t.n & ft) > 0, Fl = ({ deps: t }) => {
|
|
153
153
|
if (t.length)
|
|
154
154
|
for (let e = 0; e < t.length; e++)
|
|
155
155
|
t[e].w |= ft;
|
|
@@ -159,7 +159,7 @@ const xs = (t) => {
|
|
|
159
159
|
let n = 0;
|
|
160
160
|
for (let r = 0; r < e.length; r++) {
|
|
161
161
|
const s = e[r];
|
|
162
|
-
|
|
162
|
+
Oc(s) && !Pc(s) ? s.delete(t) : e[n++] = s, s.w &= ~ft, s.n &= ~ft;
|
|
163
163
|
}
|
|
164
164
|
e.length = n;
|
|
165
165
|
}
|
|
@@ -182,16 +182,16 @@ class ys {
|
|
|
182
182
|
e = e.parent;
|
|
183
183
|
}
|
|
184
184
|
try {
|
|
185
|
-
return this.parent = $e, $e = this, lt = !0, ft = 1 << ++un, un <= es ? Fl(this) :
|
|
185
|
+
return this.parent = $e, $e = this, lt = !0, ft = 1 << ++un, un <= es ? Fl(this) : Qs(this), this.fn();
|
|
186
186
|
} finally {
|
|
187
187
|
un <= es && Ll(this), ft = 1 << --un, $e = this.parent, lt = n, this.parent = void 0, this.deferStop && this.stop();
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
190
|
stop() {
|
|
191
|
-
$e === this ? this.deferStop = !0 : this.active && (
|
|
191
|
+
$e === this ? this.deferStop = !0 : this.active && (Qs(this), this.onStop && this.onStop(), this.active = !1);
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
|
-
function
|
|
194
|
+
function Qs(t) {
|
|
195
195
|
const { deps: e } = t;
|
|
196
196
|
if (e.length) {
|
|
197
197
|
for (let n = 0; n < e.length; n++)
|
|
@@ -200,12 +200,12 @@ function eo(t) {
|
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
202
|
let lt = !0;
|
|
203
|
-
const
|
|
203
|
+
const Bc = [];
|
|
204
204
|
function Jt() {
|
|
205
|
-
|
|
205
|
+
Bc.push(lt), lt = !1;
|
|
206
206
|
}
|
|
207
207
|
function Yt() {
|
|
208
|
-
const t =
|
|
208
|
+
const t = Bc.pop();
|
|
209
209
|
lt = t === void 0 ? !0 : t;
|
|
210
210
|
}
|
|
211
211
|
function qe(t, e, n) {
|
|
@@ -213,12 +213,12 @@ function qe(t, e, n) {
|
|
|
213
213
|
let r = Kn.get(t);
|
|
214
214
|
r || Kn.set(t, r = /* @__PURE__ */ new Map());
|
|
215
215
|
let s = r.get(n);
|
|
216
|
-
s || r.set(n, s = xs()),
|
|
216
|
+
s || r.set(n, s = xs()), $c(s);
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
|
-
function
|
|
219
|
+
function $c(t, e) {
|
|
220
220
|
let n = !1;
|
|
221
|
-
un <= es ?
|
|
221
|
+
un <= es ? Pc(t) || (t.n |= ft, n = !Oc(t)) : n = !t.has($e), n && (t.add($e), $e.deps.push(t));
|
|
222
222
|
}
|
|
223
223
|
function tt(t, e, n, r, s, o) {
|
|
224
224
|
const c = Kn.get(t);
|
|
@@ -256,20 +256,20 @@ function tt(t, e, n, r, s, o) {
|
|
|
256
256
|
function ns(t, e) {
|
|
257
257
|
const n = G(t) ? t : [...t];
|
|
258
258
|
for (const r of n)
|
|
259
|
-
r.computed &&
|
|
259
|
+
r.computed && eo(r);
|
|
260
260
|
for (const r of n)
|
|
261
|
-
r.computed ||
|
|
261
|
+
r.computed || eo(r);
|
|
262
262
|
}
|
|
263
|
-
function
|
|
263
|
+
function eo(t, e) {
|
|
264
264
|
(t !== $e || t.allowRecurse) && (t.scheduler ? t.scheduler() : t.run());
|
|
265
265
|
}
|
|
266
266
|
function Ol(t, e) {
|
|
267
267
|
var n;
|
|
268
268
|
return (n = Kn.get(t)) == null ? void 0 : n.get(e);
|
|
269
269
|
}
|
|
270
|
-
const Pl = /* @__PURE__ */ ds("__proto__,__v_isRef,__isVue"),
|
|
270
|
+
const Pl = /* @__PURE__ */ ds("__proto__,__v_isRef,__isVue"), zc = new Set(
|
|
271
271
|
/* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((t) => t !== "arguments" && t !== "caller").map((t) => Symbol[t]).filter(_s)
|
|
272
|
-
), Bl = /* @__PURE__ */ ks(), $l = /* @__PURE__ */ ks(!1, !0), zl = /* @__PURE__ */ ks(!0),
|
|
272
|
+
), Bl = /* @__PURE__ */ ks(), $l = /* @__PURE__ */ ks(!1, !0), zl = /* @__PURE__ */ ks(!0), to = /* @__PURE__ */ Ul();
|
|
273
273
|
function Ul() {
|
|
274
274
|
const t = {};
|
|
275
275
|
return ["includes", "indexOf", "lastIndexOf"].forEach((e) => {
|
|
@@ -300,21 +300,21 @@ function ks(t = !1, e = !1) {
|
|
|
300
300
|
return t;
|
|
301
301
|
if (s === "__v_isShallow")
|
|
302
302
|
return e;
|
|
303
|
-
if (s === "__v_raw" && o === (t ? e ? oa :
|
|
303
|
+
if (s === "__v_raw" && o === (t ? e ? oa : Gc : e ? Vc : jc).get(r))
|
|
304
304
|
return r;
|
|
305
305
|
const c = G(r);
|
|
306
306
|
if (!t) {
|
|
307
|
-
if (c && se(
|
|
308
|
-
return Reflect.get(
|
|
307
|
+
if (c && se(to, s))
|
|
308
|
+
return Reflect.get(to, s, o);
|
|
309
309
|
if (s === "hasOwnProperty")
|
|
310
310
|
return Hl;
|
|
311
311
|
}
|
|
312
312
|
const i = Reflect.get(r, s, o);
|
|
313
|
-
return (_s(s) ?
|
|
313
|
+
return (_s(s) ? zc.has(s) : Pl(s)) || (t || qe(r, "get", s), e) ? i : ye(i) ? c && bs(s) ? i : i.value : fe(i) ? t ? Zc(i) : Cs(i) : i;
|
|
314
314
|
};
|
|
315
315
|
}
|
|
316
|
-
const jl = /* @__PURE__ */
|
|
317
|
-
function
|
|
316
|
+
const jl = /* @__PURE__ */ Uc(), Vl = /* @__PURE__ */ Uc(!0);
|
|
317
|
+
function Uc(t = !1) {
|
|
318
318
|
return function(n, r, s, o) {
|
|
319
319
|
let c = n[r];
|
|
320
320
|
if (Gt(c) && ye(c) && !ye(s))
|
|
@@ -333,12 +333,12 @@ function Gl(t, e) {
|
|
|
333
333
|
}
|
|
334
334
|
function Zl(t, e) {
|
|
335
335
|
const n = Reflect.has(t, e);
|
|
336
|
-
return (!_s(e) || !
|
|
336
|
+
return (!_s(e) || !zc.has(e)) && qe(t, "has", e), n;
|
|
337
337
|
}
|
|
338
338
|
function Kl(t) {
|
|
339
339
|
return qe(t, "iterate", G(t) ? "length" : At), Reflect.ownKeys(t);
|
|
340
340
|
}
|
|
341
|
-
const
|
|
341
|
+
const Hc = {
|
|
342
342
|
get: Bl,
|
|
343
343
|
set: jl,
|
|
344
344
|
deleteProperty: Gl,
|
|
@@ -354,7 +354,7 @@ const jc = {
|
|
|
354
354
|
}
|
|
355
355
|
}, Jl = /* @__PURE__ */ me(
|
|
356
356
|
{},
|
|
357
|
-
|
|
357
|
+
Hc,
|
|
358
358
|
{
|
|
359
359
|
get: $l,
|
|
360
360
|
set: Vl
|
|
@@ -378,12 +378,12 @@ function Nn(t, e = !1) {
|
|
|
378
378
|
function In(t, e = !1) {
|
|
379
379
|
return t = t.__v_raw, !e && qe(ce(t), "iterate", At), Reflect.get(t, "size", t);
|
|
380
380
|
}
|
|
381
|
-
function
|
|
381
|
+
function no(t) {
|
|
382
382
|
t = ce(t);
|
|
383
383
|
const e = ce(this);
|
|
384
384
|
return lr(e).has.call(e, t) || (e.add(t), tt(e, "add", t, t)), this;
|
|
385
385
|
}
|
|
386
|
-
function
|
|
386
|
+
function ro(t, e) {
|
|
387
387
|
e = ce(e);
|
|
388
388
|
const n = ce(this), { has: r, get: s } = lr(n);
|
|
389
389
|
let o = r.call(n, t);
|
|
@@ -391,14 +391,14 @@ function so(t, e) {
|
|
|
391
391
|
const c = s.call(n, t);
|
|
392
392
|
return n.set(t, e), o ? bn(e, c) && tt(n, "set", t, e) : tt(n, "add", t, e), this;
|
|
393
393
|
}
|
|
394
|
-
function
|
|
394
|
+
function so(t) {
|
|
395
395
|
const e = ce(this), { has: n, get: r } = lr(e);
|
|
396
396
|
let s = n.call(e, t);
|
|
397
397
|
s || (t = ce(t), s = n.call(e, t)), r && r.call(e, t);
|
|
398
398
|
const o = e.delete(t);
|
|
399
399
|
return s && tt(e, "delete", t, void 0), o;
|
|
400
400
|
}
|
|
401
|
-
function
|
|
401
|
+
function oo() {
|
|
402
402
|
const t = ce(this), e = t.size !== 0, n = t.clear();
|
|
403
403
|
return e && tt(t, "clear", void 0, void 0), n;
|
|
404
404
|
}
|
|
@@ -445,10 +445,10 @@ function Yl() {
|
|
|
445
445
|
return In(this);
|
|
446
446
|
},
|
|
447
447
|
has: Nn,
|
|
448
|
-
add:
|
|
449
|
-
set:
|
|
450
|
-
delete:
|
|
451
|
-
clear:
|
|
448
|
+
add: no,
|
|
449
|
+
set: ro,
|
|
450
|
+
delete: so,
|
|
451
|
+
clear: oo,
|
|
452
452
|
forEach: Fn(!1, !1)
|
|
453
453
|
}, e = {
|
|
454
454
|
get(o) {
|
|
@@ -458,10 +458,10 @@ function Yl() {
|
|
|
458
458
|
return In(this);
|
|
459
459
|
},
|
|
460
460
|
has: Nn,
|
|
461
|
-
add:
|
|
462
|
-
set:
|
|
463
|
-
delete:
|
|
464
|
-
clear:
|
|
461
|
+
add: no,
|
|
462
|
+
set: ro,
|
|
463
|
+
delete: so,
|
|
464
|
+
clear: oo,
|
|
465
465
|
forEach: Fn(!1, !0)
|
|
466
466
|
}, n = {
|
|
467
467
|
get(o) {
|
|
@@ -539,7 +539,7 @@ const na = {
|
|
|
539
539
|
get: /* @__PURE__ */ ws(!1, !0)
|
|
540
540
|
}, sa = {
|
|
541
541
|
get: /* @__PURE__ */ ws(!0, !1)
|
|
542
|
-
},
|
|
542
|
+
}, jc = /* @__PURE__ */ new WeakMap(), Vc = /* @__PURE__ */ new WeakMap(), Gc = /* @__PURE__ */ new WeakMap(), oa = /* @__PURE__ */ new WeakMap();
|
|
543
543
|
function ca(t) {
|
|
544
544
|
switch (t) {
|
|
545
545
|
case "Object":
|
|
@@ -561,9 +561,9 @@ function Cs(t) {
|
|
|
561
561
|
return Gt(t) ? t : As(
|
|
562
562
|
t,
|
|
563
563
|
!1,
|
|
564
|
-
|
|
564
|
+
Hc,
|
|
565
565
|
na,
|
|
566
|
-
|
|
566
|
+
jc
|
|
567
567
|
);
|
|
568
568
|
}
|
|
569
569
|
function la(t) {
|
|
@@ -572,16 +572,16 @@ function la(t) {
|
|
|
572
572
|
!1,
|
|
573
573
|
Jl,
|
|
574
574
|
ra,
|
|
575
|
-
|
|
575
|
+
Vc
|
|
576
576
|
);
|
|
577
577
|
}
|
|
578
|
-
function
|
|
578
|
+
function Zc(t) {
|
|
579
579
|
return As(
|
|
580
580
|
t,
|
|
581
581
|
!0,
|
|
582
582
|
Wl,
|
|
583
583
|
sa,
|
|
584
|
-
|
|
584
|
+
Gc
|
|
585
585
|
);
|
|
586
586
|
}
|
|
587
587
|
function As(t, e, n, r, s) {
|
|
@@ -608,21 +608,21 @@ function Gt(t) {
|
|
|
608
608
|
function Wn(t) {
|
|
609
609
|
return !!(t && t.__v_isShallow);
|
|
610
610
|
}
|
|
611
|
-
function
|
|
611
|
+
function Kc(t) {
|
|
612
612
|
return $t(t) || Gt(t);
|
|
613
613
|
}
|
|
614
614
|
function ce(t) {
|
|
615
615
|
const e = t && t.__v_raw;
|
|
616
616
|
return e ? ce(e) : t;
|
|
617
617
|
}
|
|
618
|
-
function
|
|
618
|
+
function Wc(t) {
|
|
619
619
|
return Gn(t, "__v_skip", !0), t;
|
|
620
620
|
}
|
|
621
|
-
const vn = (t) => fe(t) ? Cs(t) : t, Ss = (t) => fe(t) ?
|
|
622
|
-
function
|
|
623
|
-
lt && $e && (t = ce(t),
|
|
621
|
+
const vn = (t) => fe(t) ? Cs(t) : t, Ss = (t) => fe(t) ? Zc(t) : t;
|
|
622
|
+
function Jc(t) {
|
|
623
|
+
lt && $e && (t = ce(t), $c(t.dep || (t.dep = xs())));
|
|
624
624
|
}
|
|
625
|
-
function
|
|
625
|
+
function Yc(t, e) {
|
|
626
626
|
t = ce(t);
|
|
627
627
|
const n = t.dep;
|
|
628
628
|
n && ns(n);
|
|
@@ -641,11 +641,11 @@ class ua {
|
|
|
641
641
|
this.__v_isShallow = n, this.dep = void 0, this.__v_isRef = !0, this._rawValue = n ? e : ce(e), this._value = n ? e : vn(e);
|
|
642
642
|
}
|
|
643
643
|
get value() {
|
|
644
|
-
return
|
|
644
|
+
return Jc(this), this._value;
|
|
645
645
|
}
|
|
646
646
|
set value(e) {
|
|
647
647
|
const n = this.__v_isShallow || Wn(e) || Gt(e);
|
|
648
|
-
e = n ? e : ce(e), bn(e, this._rawValue) && (this._rawValue = e, this._value = n ? e : vn(e),
|
|
648
|
+
e = n ? e : ce(e), bn(e, this._rawValue) && (this._rawValue = e, this._value = n ? e : vn(e), Yc(this));
|
|
649
649
|
}
|
|
650
650
|
}
|
|
651
651
|
function he(t) {
|
|
@@ -658,7 +658,7 @@ const fa = {
|
|
|
658
658
|
return ye(s) && !ye(n) ? (s.value = n, !0) : Reflect.set(t, e, n, r);
|
|
659
659
|
}
|
|
660
660
|
};
|
|
661
|
-
function
|
|
661
|
+
function Xc(t) {
|
|
662
662
|
return $t(t) ? t : new Proxy(t, fa);
|
|
663
663
|
}
|
|
664
664
|
function pa(t) {
|
|
@@ -693,12 +693,12 @@ function da(t, e, n) {
|
|
|
693
693
|
class ga {
|
|
694
694
|
constructor(e, n, r, s) {
|
|
695
695
|
this._setter = n, this.dep = void 0, this.__v_isRef = !0, this.__v_isReadonly = !1, this._dirty = !0, this.effect = new ys(e, () => {
|
|
696
|
-
this._dirty || (this._dirty = !0,
|
|
696
|
+
this._dirty || (this._dirty = !0, Yc(this));
|
|
697
697
|
}), this.effect.computed = this, this.effect.active = this._cacheable = !s, this.__v_isReadonly = r;
|
|
698
698
|
}
|
|
699
699
|
get value() {
|
|
700
700
|
const e = ce(this);
|
|
701
|
-
return
|
|
701
|
+
return Jc(e), (e._dirty || !e._cacheable) && (e._dirty = !1, e._value = e.effect.run()), e._value;
|
|
702
702
|
}
|
|
703
703
|
set value(e) {
|
|
704
704
|
this._setter(e);
|
|
@@ -721,7 +721,7 @@ function at(t, e, n, r) {
|
|
|
721
721
|
function Fe(t, e, n, r) {
|
|
722
722
|
if (ee(t)) {
|
|
723
723
|
const o = at(t, e, n, r);
|
|
724
|
-
return o &&
|
|
724
|
+
return o && qc(o) && o.catch((c) => {
|
|
725
725
|
ar(c, e, n);
|
|
726
726
|
}), o;
|
|
727
727
|
}
|
|
@@ -765,10 +765,10 @@ const ke = [];
|
|
|
765
765
|
let Ke = 0;
|
|
766
766
|
const Ut = [];
|
|
767
767
|
let et = null, xt = 0;
|
|
768
|
-
const
|
|
768
|
+
const Qc = /* @__PURE__ */ Promise.resolve();
|
|
769
769
|
let Ds = null;
|
|
770
770
|
function Zt(t) {
|
|
771
|
-
const e = Ds ||
|
|
771
|
+
const e = Ds || Qc;
|
|
772
772
|
return t ? e.then(this ? t.bind(this) : t) : e;
|
|
773
773
|
}
|
|
774
774
|
function ba(t) {
|
|
@@ -783,10 +783,10 @@ function Ts(t) {
|
|
|
783
783
|
(!ke.length || !ke.includes(
|
|
784
784
|
t,
|
|
785
785
|
xn && t.allowRecurse ? Ke + 1 : Ke
|
|
786
|
-
)) && (t.id == null ? ke.push(t) : ke.splice(ba(t.id), 0, t),
|
|
786
|
+
)) && (t.id == null ? ke.push(t) : ke.splice(ba(t.id), 0, t), ei());
|
|
787
787
|
}
|
|
788
|
-
function
|
|
789
|
-
!xn && !rs && (rs = !0, Ds =
|
|
788
|
+
function ei() {
|
|
789
|
+
!xn && !rs && (rs = !0, Ds = Qc.then(ni));
|
|
790
790
|
}
|
|
791
791
|
function va(t) {
|
|
792
792
|
const e = ke.indexOf(t);
|
|
@@ -796,15 +796,15 @@ function xa(t) {
|
|
|
796
796
|
G(t) ? Ut.push(...t) : (!et || !et.includes(
|
|
797
797
|
t,
|
|
798
798
|
t.allowRecurse ? xt + 1 : xt
|
|
799
|
-
)) && Ut.push(t),
|
|
799
|
+
)) && Ut.push(t), ei();
|
|
800
800
|
}
|
|
801
|
-
function
|
|
801
|
+
function co(t, e = xn ? Ke + 1 : 0) {
|
|
802
802
|
for (; e < ke.length; e++) {
|
|
803
803
|
const n = ke[e];
|
|
804
804
|
n && n.pre && (ke.splice(e, 1), e--, n());
|
|
805
805
|
}
|
|
806
806
|
}
|
|
807
|
-
function
|
|
807
|
+
function ti(t) {
|
|
808
808
|
if (Ut.length) {
|
|
809
809
|
const e = [...new Set(Ut)];
|
|
810
810
|
if (Ut.length = 0, et) {
|
|
@@ -826,7 +826,7 @@ const yn = (t) => t.id == null ? 1 / 0 : t.id, ya = (t, e) => {
|
|
|
826
826
|
}
|
|
827
827
|
return n;
|
|
828
828
|
};
|
|
829
|
-
function
|
|
829
|
+
function ni(t) {
|
|
830
830
|
rs = !1, xn = !0, ke.sort(ya);
|
|
831
831
|
const e = Ue;
|
|
832
832
|
try {
|
|
@@ -835,7 +835,7 @@ function ri(t) {
|
|
|
835
835
|
n && n.active !== !1 && at(n, null, 14);
|
|
836
836
|
}
|
|
837
837
|
} finally {
|
|
838
|
-
Ke = 0, ke.length = 0,
|
|
838
|
+
Ke = 0, ke.length = 0, ti(), xn = !1, Ds = null, (ke.length || Ut.length) && ni();
|
|
839
839
|
}
|
|
840
840
|
}
|
|
841
841
|
function ka(t, e, ...n) {
|
|
@@ -870,7 +870,7 @@ function ka(t, e, ...n) {
|
|
|
870
870
|
);
|
|
871
871
|
}
|
|
872
872
|
}
|
|
873
|
-
function
|
|
873
|
+
function ri(t, e, n = !1) {
|
|
874
874
|
const r = e.emitsCache, s = r.get(t);
|
|
875
875
|
if (s !== void 0)
|
|
876
876
|
return s;
|
|
@@ -878,7 +878,7 @@ function si(t, e, n = !1) {
|
|
|
878
878
|
let c = {}, i = !1;
|
|
879
879
|
if (!ee(t)) {
|
|
880
880
|
const l = (a) => {
|
|
881
|
-
const u =
|
|
881
|
+
const u = ri(a, e, !0);
|
|
882
882
|
u && (i = !0, me(c, u));
|
|
883
883
|
};
|
|
884
884
|
!n && e.mixins.length && e.mixins.forEach(l), t.extends && l(t.extends), t.mixins && t.mixins.forEach(l);
|
|
@@ -888,22 +888,22 @@ function si(t, e, n = !1) {
|
|
|
888
888
|
function ur(t, e) {
|
|
889
889
|
return !t || !or(e) ? !1 : (e = e.slice(2).replace(/Once$/, ""), se(t, e[0].toLowerCase() + e.slice(1)) || se(t, qt(e)) || se(t, e));
|
|
890
890
|
}
|
|
891
|
-
let Ee = null,
|
|
891
|
+
let Ee = null, si = null;
|
|
892
892
|
function Jn(t) {
|
|
893
893
|
const e = Ee;
|
|
894
|
-
return Ee = t,
|
|
894
|
+
return Ee = t, si = t && t.type.__scopeId || null, e;
|
|
895
895
|
}
|
|
896
896
|
function ut(t, e = Ee, n) {
|
|
897
897
|
if (!e || t._n)
|
|
898
898
|
return t;
|
|
899
899
|
const r = (...s) => {
|
|
900
|
-
r._d &&
|
|
900
|
+
r._d && vo(-1);
|
|
901
901
|
const o = Jn(e);
|
|
902
902
|
let c;
|
|
903
903
|
try {
|
|
904
904
|
c = t(...s);
|
|
905
905
|
} finally {
|
|
906
|
-
Jn(o), r._d &&
|
|
906
|
+
Jn(o), r._d && vo(1);
|
|
907
907
|
}
|
|
908
908
|
return c;
|
|
909
909
|
};
|
|
@@ -988,7 +988,7 @@ function Ca(t, e, n) {
|
|
|
988
988
|
if (l & 1024)
|
|
989
989
|
return !0;
|
|
990
990
|
if (l & 16)
|
|
991
|
-
return r ?
|
|
991
|
+
return r ? io(r, c, a) : !!c;
|
|
992
992
|
if (l & 8) {
|
|
993
993
|
const u = e.dynamicProps;
|
|
994
994
|
for (let f = 0; f < u.length; f++) {
|
|
@@ -998,10 +998,10 @@ function Ca(t, e, n) {
|
|
|
998
998
|
}
|
|
999
999
|
}
|
|
1000
1000
|
} else
|
|
1001
|
-
return (s || i) && (!i || !i.$stable) ? !0 : r === c ? !1 : r ? c ?
|
|
1001
|
+
return (s || i) && (!i || !i.$stable) ? !0 : r === c ? !1 : r ? c ? io(r, c, a) : !0 : !!c;
|
|
1002
1002
|
return !1;
|
|
1003
1003
|
}
|
|
1004
|
-
function
|
|
1004
|
+
function io(t, e, n) {
|
|
1005
1005
|
const r = Object.keys(e);
|
|
1006
1006
|
if (r.length !== Object.keys(t).length)
|
|
1007
1007
|
return !0;
|
|
@@ -1022,9 +1022,9 @@ function Da(t, e) {
|
|
|
1022
1022
|
}
|
|
1023
1023
|
const On = {};
|
|
1024
1024
|
function Tr(t, e, n) {
|
|
1025
|
-
return
|
|
1025
|
+
return oi(t, e, n);
|
|
1026
1026
|
}
|
|
1027
|
-
function
|
|
1027
|
+
function oi(t, e, { immediate: n, deep: r, flush: s, onTrack: o, onTrigger: c } = ue) {
|
|
1028
1028
|
var i;
|
|
1029
1029
|
const l = Il() === ((i = xe) == null ? void 0 : i.scope) ? xe : null;
|
|
1030
1030
|
let a, u = !1, f = !1;
|
|
@@ -1092,15 +1092,15 @@ function ci(t, e, { immediate: n, deep: r, flush: s, onTrack: o, onTrigger: c }
|
|
|
1092
1092
|
return k && k.push(N), N;
|
|
1093
1093
|
}
|
|
1094
1094
|
function Ta(t, e, n) {
|
|
1095
|
-
const r = this.proxy, s = _e(t) ? t.includes(".") ?
|
|
1095
|
+
const r = this.proxy, s = _e(t) ? t.includes(".") ? ci(r, t) : () => r[t] : t.bind(r, r);
|
|
1096
1096
|
let o;
|
|
1097
1097
|
ee(e) ? o = e : (o = e.handler, n = e);
|
|
1098
1098
|
const c = xe;
|
|
1099
1099
|
Kt(this);
|
|
1100
|
-
const i =
|
|
1100
|
+
const i = oi(s, o.bind(r), n);
|
|
1101
1101
|
return c ? Kt(c) : St(), i;
|
|
1102
1102
|
}
|
|
1103
|
-
function
|
|
1103
|
+
function ci(t, e) {
|
|
1104
1104
|
const n = e.split(".");
|
|
1105
1105
|
return () => {
|
|
1106
1106
|
let r = t;
|
|
@@ -1117,16 +1117,16 @@ function wt(t, e) {
|
|
|
1117
1117
|
else if (G(t))
|
|
1118
1118
|
for (let n = 0; n < t.length; n++)
|
|
1119
1119
|
wt(t[n], e);
|
|
1120
|
-
else if (
|
|
1120
|
+
else if (Rc(t) || Bt(t))
|
|
1121
1121
|
t.forEach((n) => {
|
|
1122
1122
|
wt(n, e);
|
|
1123
1123
|
});
|
|
1124
|
-
else if (
|
|
1124
|
+
else if (Nc(t))
|
|
1125
1125
|
for (const n in t)
|
|
1126
1126
|
wt(t[n], e);
|
|
1127
1127
|
return t;
|
|
1128
1128
|
}
|
|
1129
|
-
function
|
|
1129
|
+
function ii(t, e) {
|
|
1130
1130
|
const n = Ee;
|
|
1131
1131
|
if (n === null)
|
|
1132
1132
|
return t;
|
|
@@ -1174,7 +1174,7 @@ function Ra() {
|
|
|
1174
1174
|
t.isUnmounting = !0;
|
|
1175
1175
|
}), t;
|
|
1176
1176
|
}
|
|
1177
|
-
const Ie = [Function, Array],
|
|
1177
|
+
const Ie = [Function, Array], li = {
|
|
1178
1178
|
mode: String,
|
|
1179
1179
|
appear: Boolean,
|
|
1180
1180
|
persisted: Boolean,
|
|
@@ -1195,12 +1195,12 @@ const Ie = [Function, Array], ai = {
|
|
|
1195
1195
|
onAppearCancelled: Ie
|
|
1196
1196
|
}, qa = {
|
|
1197
1197
|
name: "BaseTransition",
|
|
1198
|
-
props:
|
|
1198
|
+
props: li,
|
|
1199
1199
|
setup(t, { slots: e }) {
|
|
1200
1200
|
const n = mu(), r = Ra();
|
|
1201
1201
|
let s;
|
|
1202
1202
|
return () => {
|
|
1203
|
-
const o = e.default &&
|
|
1203
|
+
const o = e.default && ui(e.default(), !0);
|
|
1204
1204
|
if (!o || !o.length)
|
|
1205
1205
|
return;
|
|
1206
1206
|
let c = o[0];
|
|
@@ -1214,7 +1214,7 @@ const Ie = [Function, Array], ai = {
|
|
|
1214
1214
|
const i = ce(t), { mode: l } = i;
|
|
1215
1215
|
if (r.isLeaving)
|
|
1216
1216
|
return Rr(c);
|
|
1217
|
-
const a =
|
|
1217
|
+
const a = lo(c);
|
|
1218
1218
|
if (!a)
|
|
1219
1219
|
return Rr(c);
|
|
1220
1220
|
const u = ss(
|
|
@@ -1224,7 +1224,7 @@ const Ie = [Function, Array], ai = {
|
|
|
1224
1224
|
n
|
|
1225
1225
|
);
|
|
1226
1226
|
os(a, u);
|
|
1227
|
-
const f = n.subTree, p = f &&
|
|
1227
|
+
const f = n.subTree, p = f && lo(f);
|
|
1228
1228
|
let d = !1;
|
|
1229
1229
|
const { getTransitionKey: k } = a.type;
|
|
1230
1230
|
if (k) {
|
|
@@ -1243,7 +1243,7 @@ const Ie = [Function, Array], ai = {
|
|
|
1243
1243
|
r.isLeaving = !1, n.update.active !== !1 && n.update();
|
|
1244
1244
|
}, Rr(c);
|
|
1245
1245
|
l === "in-out" && a.type !== Le && (b.delayLeave = (I, T, C) => {
|
|
1246
|
-
const N =
|
|
1246
|
+
const N = ai(
|
|
1247
1247
|
r,
|
|
1248
1248
|
p
|
|
1249
1249
|
);
|
|
@@ -1256,7 +1256,7 @@ const Ie = [Function, Array], ai = {
|
|
|
1256
1256
|
};
|
|
1257
1257
|
}
|
|
1258
1258
|
}, Ma = qa;
|
|
1259
|
-
function
|
|
1259
|
+
function ai(t, e) {
|
|
1260
1260
|
const { leavingVNodes: n } = t;
|
|
1261
1261
|
let r = n.get(e.type);
|
|
1262
1262
|
return r || (r = /* @__PURE__ */ Object.create(null), n.set(e.type, r)), r;
|
|
@@ -1278,7 +1278,7 @@ function ss(t, e, n, r) {
|
|
|
1278
1278
|
onAppear: I,
|
|
1279
1279
|
onAfterAppear: T,
|
|
1280
1280
|
onAppearCancelled: C
|
|
1281
|
-
} = e, N = String(t.key), A =
|
|
1281
|
+
} = e, N = String(t.key), A = ai(n, t), j = ($, X) => {
|
|
1282
1282
|
$ && Fe(
|
|
1283
1283
|
$,
|
|
1284
1284
|
r,
|
|
@@ -1342,19 +1342,19 @@ function Rr(t) {
|
|
|
1342
1342
|
if (fr(t))
|
|
1343
1343
|
return t = pt(t), t.children = null, t;
|
|
1344
1344
|
}
|
|
1345
|
-
function
|
|
1345
|
+
function lo(t) {
|
|
1346
1346
|
return fr(t) ? t.children ? t.children[0] : void 0 : t;
|
|
1347
1347
|
}
|
|
1348
1348
|
function os(t, e) {
|
|
1349
1349
|
t.shapeFlag & 6 && t.component ? os(t.component.subTree, e) : t.shapeFlag & 128 ? (t.ssContent.transition = e.clone(t.ssContent), t.ssFallback.transition = e.clone(t.ssFallback)) : t.transition = e;
|
|
1350
1350
|
}
|
|
1351
|
-
function
|
|
1351
|
+
function ui(t, e = !1, n) {
|
|
1352
1352
|
let r = [], s = 0;
|
|
1353
1353
|
for (let o = 0; o < t.length; o++) {
|
|
1354
1354
|
let c = t[o];
|
|
1355
1355
|
const i = n == null ? c.key : String(n) + String(c.key != null ? c.key : o);
|
|
1356
1356
|
c.type === Re ? (c.patchFlag & 128 && s++, r = r.concat(
|
|
1357
|
-
|
|
1357
|
+
ui(c.children, e, i)
|
|
1358
1358
|
)) : (e || c.type !== Le) && r.push(i != null ? pt(c, { key: i }) : c);
|
|
1359
1359
|
}
|
|
1360
1360
|
if (s > 1)
|
|
@@ -1371,12 +1371,12 @@ function He(t, e) {
|
|
|
1371
1371
|
}
|
|
1372
1372
|
const pn = (t) => !!t.type.__asyncLoader, fr = (t) => t.type.__isKeepAlive;
|
|
1373
1373
|
function Na(t, e) {
|
|
1374
|
-
|
|
1374
|
+
fi(t, "a", e);
|
|
1375
1375
|
}
|
|
1376
1376
|
function Ia(t, e) {
|
|
1377
|
-
|
|
1377
|
+
fi(t, "da", e);
|
|
1378
1378
|
}
|
|
1379
|
-
function
|
|
1379
|
+
function fi(t, e, n = xe) {
|
|
1380
1380
|
const r = t.__wdc || (t.__wdc = () => {
|
|
1381
1381
|
let s = n;
|
|
1382
1382
|
for (; s; ) {
|
|
@@ -1400,7 +1400,7 @@ function Fa(t, e, n, r) {
|
|
|
1400
1400
|
!0
|
|
1401
1401
|
/* prepend */
|
|
1402
1402
|
);
|
|
1403
|
-
|
|
1403
|
+
pi(() => {
|
|
1404
1404
|
ms(r[e], s);
|
|
1405
1405
|
}, n);
|
|
1406
1406
|
}
|
|
@@ -1419,7 +1419,7 @@ function pr(t, e, n = xe, r = !1) {
|
|
|
1419
1419
|
const nt = (t) => (e, n = xe) => (
|
|
1420
1420
|
// post-create lifecycle registrations are noops during SSR (except for serverPrefetch)
|
|
1421
1421
|
(!En || t === "sp") && pr(t, (...r) => e(...r), n)
|
|
1422
|
-
), La = nt("bm"), Dn = nt("m"), Oa = nt("bu"), Pa = nt("u"), Rs = nt("bum"),
|
|
1422
|
+
), La = nt("bm"), Dn = nt("m"), Oa = nt("bu"), Pa = nt("u"), Rs = nt("bum"), pi = nt("um"), Ba = nt("sp"), $a = nt(
|
|
1423
1423
|
"rtg"
|
|
1424
1424
|
), za = nt(
|
|
1425
1425
|
"rtc"
|
|
@@ -1428,7 +1428,7 @@ function Ua(t, e = xe) {
|
|
|
1428
1428
|
pr("ec", t, e);
|
|
1429
1429
|
}
|
|
1430
1430
|
const Ha = Symbol.for("v-ndc");
|
|
1431
|
-
function
|
|
1431
|
+
function ao(t, e, n, r) {
|
|
1432
1432
|
let s;
|
|
1433
1433
|
const o = n && n[r];
|
|
1434
1434
|
if (G(t) || _e(t)) {
|
|
@@ -1476,7 +1476,7 @@ function hn(t, e, n = {}, r, s) {
|
|
|
1476
1476
|
return e !== "default" && (n.name = e), de("slot", n, r && r());
|
|
1477
1477
|
let o = t[e];
|
|
1478
1478
|
o && o._c && (o._d = !1), oe();
|
|
1479
|
-
const c = o &&
|
|
1479
|
+
const c = o && hi(o(n)), i = Se(
|
|
1480
1480
|
Re,
|
|
1481
1481
|
{
|
|
1482
1482
|
key: n.key || // slot content array of a dynamic conditional slot may have a branch
|
|
@@ -1488,10 +1488,10 @@ function hn(t, e, n = {}, r, s) {
|
|
|
1488
1488
|
);
|
|
1489
1489
|
return !s && i.scopeId && (i.slotScopeIds = [i.scopeId + "-s"]), o && o._c && (o._d = !0), i;
|
|
1490
1490
|
}
|
|
1491
|
-
function
|
|
1492
|
-
return t.some((e) => Qn(e) ? !(e.type === Le || e.type === Re && !
|
|
1491
|
+
function hi(t) {
|
|
1492
|
+
return t.some((e) => Qn(e) ? !(e.type === Le || e.type === Re && !hi(e.children)) : !0) ? t : null;
|
|
1493
1493
|
}
|
|
1494
|
-
const cs = (t) => t ?
|
|
1494
|
+
const cs = (t) => t ? wi(t) ? gr(t) || t.proxy : cs(t.parent) : null, dn = (
|
|
1495
1495
|
// Move PURE marker to new line to workaround compiler discarding it
|
|
1496
1496
|
// due to type annotation
|
|
1497
1497
|
/* @__PURE__ */ me(/* @__PURE__ */ Object.create(null), {
|
|
@@ -1574,7 +1574,7 @@ const cs = (t) => t ? Ci(t) ? gr(t) || t.proxy : cs(t.parent) : null, dn = (
|
|
|
1574
1574
|
return n.get != null ? t._.accessCache[e] = 0 : se(n, "value") && this.set(t, e, n.value, null), Reflect.defineProperty(t, e, n);
|
|
1575
1575
|
}
|
|
1576
1576
|
};
|
|
1577
|
-
function
|
|
1577
|
+
function uo(t) {
|
|
1578
1578
|
return G(t) ? t.reduce(
|
|
1579
1579
|
(e, n) => (e[n] = null, e),
|
|
1580
1580
|
{}
|
|
@@ -1583,7 +1583,7 @@ function fo(t) {
|
|
|
1583
1583
|
let is = !0;
|
|
1584
1584
|
function Ga(t) {
|
|
1585
1585
|
const e = qs(t), n = t.proxy, r = t.ctx;
|
|
1586
|
-
is = !1, e.beforeCreate &&
|
|
1586
|
+
is = !1, e.beforeCreate && fo(e.beforeCreate, t, "bc");
|
|
1587
1587
|
const {
|
|
1588
1588
|
// state
|
|
1589
1589
|
data: s,
|
|
@@ -1641,18 +1641,18 @@ function Ga(t) {
|
|
|
1641
1641
|
}
|
|
1642
1642
|
if (i)
|
|
1643
1643
|
for (const v in i)
|
|
1644
|
-
|
|
1644
|
+
di(i[v], r, n, v);
|
|
1645
1645
|
if (l) {
|
|
1646
1646
|
const v = ee(l) ? l.call(n) : l;
|
|
1647
1647
|
Reflect.ownKeys(v).forEach((S) => {
|
|
1648
1648
|
Qa(S, v[S]);
|
|
1649
1649
|
});
|
|
1650
1650
|
}
|
|
1651
|
-
u &&
|
|
1651
|
+
u && fo(u, t, "c");
|
|
1652
1652
|
function V(v, S) {
|
|
1653
1653
|
G(S) ? S.forEach((Z) => v(Z.bind(n))) : S && v(S.bind(n));
|
|
1654
1654
|
}
|
|
1655
|
-
if (V(La, f), V(Dn, p), V(Oa, d), V(Pa, k), V(Na, b), V(Ia, I), V(Ua, $), V(za, q), V($a, W), V(Rs, C), V(
|
|
1655
|
+
if (V(La, f), V(Dn, p), V(Oa, d), V(Pa, k), V(Na, b), V(Ia, I), V(Ua, $), V(za, q), V($a, W), V(Rs, C), V(pi, A), V(Ba, X), G(z))
|
|
1656
1656
|
if (z.length) {
|
|
1657
1657
|
const v = t.exposed || (t.exposed = {});
|
|
1658
1658
|
z.forEach((S) => {
|
|
@@ -1683,15 +1683,15 @@ function Za(t, e, n = Ue) {
|
|
|
1683
1683
|
}) : e[r] = o;
|
|
1684
1684
|
}
|
|
1685
1685
|
}
|
|
1686
|
-
function
|
|
1686
|
+
function fo(t, e, n) {
|
|
1687
1687
|
Fe(
|
|
1688
1688
|
G(t) ? t.map((r) => r.bind(e.proxy)) : t.bind(e.proxy),
|
|
1689
1689
|
e,
|
|
1690
1690
|
n
|
|
1691
1691
|
);
|
|
1692
1692
|
}
|
|
1693
|
-
function
|
|
1694
|
-
const s = r.includes(".") ?
|
|
1693
|
+
function di(t, e, n, r) {
|
|
1694
|
+
const s = r.includes(".") ? ci(n, r) : () => n[r];
|
|
1695
1695
|
if (_e(t)) {
|
|
1696
1696
|
const o = e[t];
|
|
1697
1697
|
ee(o) && Tr(s, o);
|
|
@@ -1699,7 +1699,7 @@ function gi(t, e, n, r) {
|
|
|
1699
1699
|
Tr(s, t.bind(n));
|
|
1700
1700
|
else if (fe(t))
|
|
1701
1701
|
if (G(t))
|
|
1702
|
-
t.forEach((o) =>
|
|
1702
|
+
t.forEach((o) => di(o, e, n, r));
|
|
1703
1703
|
else {
|
|
1704
1704
|
const o = ee(t.handler) ? t.handler.bind(n) : e[t.handler];
|
|
1705
1705
|
ee(o) && Tr(s, o, t);
|
|
@@ -1729,9 +1729,9 @@ function Yn(t, e, n, r = !1) {
|
|
|
1729
1729
|
return t;
|
|
1730
1730
|
}
|
|
1731
1731
|
const Ka = {
|
|
1732
|
-
data:
|
|
1733
|
-
props:
|
|
1734
|
-
emits:
|
|
1732
|
+
data: po,
|
|
1733
|
+
props: ho,
|
|
1734
|
+
emits: ho,
|
|
1735
1735
|
// objects
|
|
1736
1736
|
methods: fn,
|
|
1737
1737
|
computed: fn,
|
|
@@ -1756,10 +1756,10 @@ const Ka = {
|
|
|
1756
1756
|
// watch
|
|
1757
1757
|
watch: Ja,
|
|
1758
1758
|
// provide / inject
|
|
1759
|
-
provide:
|
|
1759
|
+
provide: po,
|
|
1760
1760
|
inject: Wa
|
|
1761
1761
|
};
|
|
1762
|
-
function
|
|
1762
|
+
function po(t, e) {
|
|
1763
1763
|
return e ? t ? function() {
|
|
1764
1764
|
return me(
|
|
1765
1765
|
ee(t) ? t.call(this, this) : t,
|
|
@@ -1785,11 +1785,11 @@ function Ae(t, e) {
|
|
|
1785
1785
|
function fn(t, e) {
|
|
1786
1786
|
return t ? me(/* @__PURE__ */ Object.create(null), t, e) : e;
|
|
1787
1787
|
}
|
|
1788
|
-
function
|
|
1788
|
+
function ho(t, e) {
|
|
1789
1789
|
return t ? G(t) && G(e) ? [.../* @__PURE__ */ new Set([...t, ...e])] : me(
|
|
1790
1790
|
/* @__PURE__ */ Object.create(null),
|
|
1791
|
-
|
|
1792
|
-
|
|
1791
|
+
uo(t),
|
|
1792
|
+
uo(e ?? {})
|
|
1793
1793
|
) : e;
|
|
1794
1794
|
}
|
|
1795
1795
|
function Ja(t, e) {
|
|
@@ -1802,7 +1802,7 @@ function Ja(t, e) {
|
|
|
1802
1802
|
n[r] = Ae(t[r], e[r]);
|
|
1803
1803
|
return n;
|
|
1804
1804
|
}
|
|
1805
|
-
function
|
|
1805
|
+
function gi() {
|
|
1806
1806
|
return {
|
|
1807
1807
|
app: null,
|
|
1808
1808
|
config: {
|
|
@@ -1827,7 +1827,7 @@ let Ya = 0;
|
|
|
1827
1827
|
function Xa(t, e) {
|
|
1828
1828
|
return function(r, s = null) {
|
|
1829
1829
|
ee(r) || (r = me({}, r)), s != null && !fe(s) && (s = null);
|
|
1830
|
-
const o =
|
|
1830
|
+
const o = gi(), c = /* @__PURE__ */ new Set();
|
|
1831
1831
|
let i = !1;
|
|
1832
1832
|
const l = o.app = {
|
|
1833
1833
|
_uid: Ya++,
|
|
@@ -1901,7 +1901,7 @@ function Ht(t, e, n = !1) {
|
|
|
1901
1901
|
}
|
|
1902
1902
|
function eu(t, e, n, r = !1) {
|
|
1903
1903
|
const s = {}, o = {};
|
|
1904
|
-
Gn(o, dr, 1), t.propsDefaults = /* @__PURE__ */ Object.create(null),
|
|
1904
|
+
Gn(o, dr, 1), t.propsDefaults = /* @__PURE__ */ Object.create(null), mi(t, e, s, o);
|
|
1905
1905
|
for (const c in t.propsOptions[0])
|
|
1906
1906
|
c in s || (s[c] = void 0);
|
|
1907
1907
|
n ? t.props = r ? s : la(s) : t.type.props ? t.props = s : t.props = o, t.attrs = o;
|
|
@@ -1946,7 +1946,7 @@ function tu(t, e, n, r) {
|
|
|
1946
1946
|
}
|
|
1947
1947
|
}
|
|
1948
1948
|
} else {
|
|
1949
|
-
|
|
1949
|
+
mi(t, e, s, o) && (a = !0);
|
|
1950
1950
|
let u;
|
|
1951
1951
|
for (const f in i)
|
|
1952
1952
|
(!e || // for camelCase
|
|
@@ -1969,7 +1969,7 @@ function tu(t, e, n, r) {
|
|
|
1969
1969
|
}
|
|
1970
1970
|
a && tt(t, "set", "$attrs");
|
|
1971
1971
|
}
|
|
1972
|
-
function
|
|
1972
|
+
function mi(t, e, n, r) {
|
|
1973
1973
|
const [s, o] = t.propsOptions;
|
|
1974
1974
|
let c = !1, i;
|
|
1975
1975
|
if (e)
|
|
@@ -2021,7 +2021,7 @@ function as(t, e, n, r, s, o) {
|
|
|
2021
2021
|
}
|
|
2022
2022
|
return r;
|
|
2023
2023
|
}
|
|
2024
|
-
function
|
|
2024
|
+
function _i(t, e, n = !1) {
|
|
2025
2025
|
const r = e.propsCache, s = r.get(t);
|
|
2026
2026
|
if (s)
|
|
2027
2027
|
return s;
|
|
@@ -2030,7 +2030,7 @@ function bi(t, e, n = !1) {
|
|
|
2030
2030
|
if (!ee(t)) {
|
|
2031
2031
|
const u = (f) => {
|
|
2032
2032
|
l = !0;
|
|
2033
|
-
const [p, d] =
|
|
2033
|
+
const [p, d] = _i(f, e, !0);
|
|
2034
2034
|
me(c, p), d && i.push(...d);
|
|
2035
2035
|
};
|
|
2036
2036
|
!n && e.mixins.length && e.mixins.forEach(u), t.extends && u(t.extends), t.mixins && t.mixins.forEach(u);
|
|
@@ -2040,15 +2040,15 @@ function bi(t, e, n = !1) {
|
|
|
2040
2040
|
if (G(o))
|
|
2041
2041
|
for (let u = 0; u < o.length; u++) {
|
|
2042
2042
|
const f = Vt(o[u]);
|
|
2043
|
-
|
|
2043
|
+
go(f) && (c[f] = ue);
|
|
2044
2044
|
}
|
|
2045
2045
|
else if (o)
|
|
2046
2046
|
for (const u in o) {
|
|
2047
2047
|
const f = Vt(u);
|
|
2048
|
-
if (
|
|
2048
|
+
if (go(f)) {
|
|
2049
2049
|
const p = o[u], d = c[f] = G(p) || ee(p) ? { type: p } : me({}, p);
|
|
2050
2050
|
if (d) {
|
|
2051
|
-
const k =
|
|
2051
|
+
const k = bo(Boolean, d.type), b = bo(String, d.type);
|
|
2052
2052
|
d[
|
|
2053
2053
|
0
|
|
2054
2054
|
/* shouldCast */
|
|
@@ -2062,28 +2062,28 @@ function bi(t, e, n = !1) {
|
|
|
2062
2062
|
const a = [c, i];
|
|
2063
2063
|
return fe(t) && r.set(t, a), a;
|
|
2064
2064
|
}
|
|
2065
|
-
function
|
|
2065
|
+
function go(t) {
|
|
2066
2066
|
return t[0] !== "$";
|
|
2067
2067
|
}
|
|
2068
|
-
function
|
|
2068
|
+
function mo(t) {
|
|
2069
2069
|
const e = t && t.toString().match(/^\s*(function|class) (\w+)/);
|
|
2070
2070
|
return e ? e[2] : t === null ? "null" : "";
|
|
2071
2071
|
}
|
|
2072
|
-
function
|
|
2073
|
-
return
|
|
2072
|
+
function _o(t, e) {
|
|
2073
|
+
return mo(t) === mo(e);
|
|
2074
2074
|
}
|
|
2075
|
-
function
|
|
2076
|
-
return G(e) ? e.findIndex((n) =>
|
|
2075
|
+
function bo(t, e) {
|
|
2076
|
+
return G(e) ? e.findIndex((n) => _o(n, t)) : ee(e) && _o(e, t) ? 0 : -1;
|
|
2077
2077
|
}
|
|
2078
|
-
const
|
|
2078
|
+
const bi = (t) => t[0] === "_" || t === "$stable", Ms = (t) => G(t) ? t.map(Ze) : [Ze(t)], nu = (t, e, n) => {
|
|
2079
2079
|
if (e._n)
|
|
2080
2080
|
return e;
|
|
2081
2081
|
const r = ut((...s) => Ms(e(...s)), n);
|
|
2082
2082
|
return r._c = !1, r;
|
|
2083
|
-
},
|
|
2083
|
+
}, vi = (t, e, n) => {
|
|
2084
2084
|
const r = t._ctx;
|
|
2085
2085
|
for (const s in t) {
|
|
2086
|
-
if (
|
|
2086
|
+
if (bi(s))
|
|
2087
2087
|
continue;
|
|
2088
2088
|
const o = t[s];
|
|
2089
2089
|
if (ee(o))
|
|
@@ -2093,30 +2093,30 @@ const vi = (t) => t[0] === "_" || t === "$stable", Ms = (t) => G(t) ? t.map(Ze)
|
|
|
2093
2093
|
e[s] = () => c;
|
|
2094
2094
|
}
|
|
2095
2095
|
}
|
|
2096
|
-
},
|
|
2096
|
+
}, xi = (t, e) => {
|
|
2097
2097
|
const n = Ms(e);
|
|
2098
2098
|
t.slots.default = () => n;
|
|
2099
2099
|
}, ru = (t, e) => {
|
|
2100
2100
|
if (t.vnode.shapeFlag & 32) {
|
|
2101
2101
|
const n = e._;
|
|
2102
|
-
n ? (t.slots = ce(e), Gn(e, "_", n)) :
|
|
2102
|
+
n ? (t.slots = ce(e), Gn(e, "_", n)) : vi(
|
|
2103
2103
|
e,
|
|
2104
2104
|
t.slots = {}
|
|
2105
2105
|
);
|
|
2106
2106
|
} else
|
|
2107
|
-
t.slots = {}, e &&
|
|
2107
|
+
t.slots = {}, e && xi(t, e);
|
|
2108
2108
|
Gn(t.slots, dr, 1);
|
|
2109
2109
|
}, su = (t, e, n) => {
|
|
2110
2110
|
const { vnode: r, slots: s } = t;
|
|
2111
2111
|
let o = !0, c = ue;
|
|
2112
2112
|
if (r.shapeFlag & 32) {
|
|
2113
2113
|
const i = e._;
|
|
2114
|
-
i ? n && i === 1 ? o = !1 : (me(s, e), !n && i === 1 && delete s._) : (o = !e.$stable,
|
|
2114
|
+
i ? n && i === 1 ? o = !1 : (me(s, e), !n && i === 1 && delete s._) : (o = !e.$stable, vi(e, s)), c = e;
|
|
2115
2115
|
} else
|
|
2116
|
-
e && (
|
|
2116
|
+
e && (xi(t, e), c = { default: 1 });
|
|
2117
2117
|
if (o)
|
|
2118
2118
|
for (const i in s)
|
|
2119
|
-
!
|
|
2119
|
+
!bi(i) && !(i in c) && delete s[i];
|
|
2120
2120
|
};
|
|
2121
2121
|
function us(t, e, n, r, s = !1) {
|
|
2122
2122
|
if (G(t)) {
|
|
@@ -2512,7 +2512,7 @@ function cu(t, e) {
|
|
|
2512
2512
|
// get moved around. Make sure all root level vnodes inherit el.
|
|
2513
2513
|
// #2134 or if it's a component root, it may also get moved around
|
|
2514
2514
|
// as the component is being moved.
|
|
2515
|
-
(g.key != null || x && g === x.subTree) &&
|
|
2515
|
+
(g.key != null || x && g === x.subTree) && yi(
|
|
2516
2516
|
h,
|
|
2517
2517
|
g,
|
|
2518
2518
|
!0
|
|
@@ -2647,7 +2647,7 @@ function cu(t, e) {
|
|
|
2647
2647
|
}, v = (h, g, _) => {
|
|
2648
2648
|
g.component = h;
|
|
2649
2649
|
const E = h.vnode.props;
|
|
2650
|
-
h.vnode = g, h.next = null, tu(h, g.props, E, _), su(h, g.children, _), Jt(),
|
|
2650
|
+
h.vnode = g, h.next = null, tu(h, g.props, E, _), su(h, g.children, _), Jt(), co(), Yt();
|
|
2651
2651
|
}, S = (h, g, _, E, x, M, O, m, F = !1) => {
|
|
2652
2652
|
const y = h && h.children, L = h ? h.shapeFlag : 0, P = g.children, { patchFlag: U, shapeFlag: K } = g;
|
|
2653
2653
|
if (U > 0) {
|
|
@@ -2835,18 +2835,18 @@ function cu(t, e) {
|
|
|
2835
2835
|
}
|
|
2836
2836
|
const qn = pe ? iu(dt) : Pt;
|
|
2837
2837
|
for (R = qn.length - 1, y = Y - 1; y >= 0; y--) {
|
|
2838
|
-
const Me = Q + y, Ve = g[Me],
|
|
2838
|
+
const Me = Q + y, Ve = g[Me], Ys = Me + 1 < L ? g[Me + 1].el : E;
|
|
2839
2839
|
dt[y] === 0 ? b(
|
|
2840
2840
|
null,
|
|
2841
2841
|
Ve,
|
|
2842
2842
|
_,
|
|
2843
|
-
|
|
2843
|
+
Ys,
|
|
2844
2844
|
x,
|
|
2845
2845
|
M,
|
|
2846
2846
|
O,
|
|
2847
2847
|
m,
|
|
2848
2848
|
F
|
|
2849
|
-
) : pe && (R < 0 || y !== qn[R] ? ie(Ve, _,
|
|
2849
|
+
) : pe && (R < 0 || y !== qn[R] ? ie(Ve, _, Ys, 2) : R--);
|
|
2850
2850
|
}
|
|
2851
2851
|
}
|
|
2852
2852
|
}, ie = (h, g, _, E, x = null) => {
|
|
@@ -2962,7 +2962,7 @@ function cu(t, e) {
|
|
|
2962
2962
|
for (let O = M; O < h.length; O++)
|
|
2963
2963
|
ae(h[O], g, _, E, x);
|
|
2964
2964
|
}, ht = (h) => h.shapeFlag & 6 ? ht(h.component.subTree) : h.shapeFlag & 128 ? h.suspense.next() : p(h.anchor || h.el), nn = (h, g, _) => {
|
|
2965
|
-
h == null ? g._vnode && ae(g._vnode, null, null, !0) : b(g._vnode || null, h, g, null, null, null, _),
|
|
2965
|
+
h == null ? g._vnode && ae(g._vnode, null, null, !0) : b(g._vnode || null, h, g, null, null, null, _), co(), ti(), g._vnode = h;
|
|
2966
2966
|
}, Qe = {
|
|
2967
2967
|
p: b,
|
|
2968
2968
|
um: ae,
|
|
@@ -2987,13 +2987,13 @@ function cu(t, e) {
|
|
|
2987
2987
|
function mt({ effect: t, update: e }, n) {
|
|
2988
2988
|
t.allowRecurse = e.allowRecurse = n;
|
|
2989
2989
|
}
|
|
2990
|
-
function
|
|
2990
|
+
function yi(t, e, n = !1) {
|
|
2991
2991
|
const r = t.children, s = e.children;
|
|
2992
2992
|
if (G(r) && G(s))
|
|
2993
2993
|
for (let o = 0; o < r.length; o++) {
|
|
2994
2994
|
const c = r[o];
|
|
2995
2995
|
let i = s[o];
|
|
2996
|
-
i.shapeFlag & 1 && !i.dynamicChildren && ((i.patchFlag <= 0 || i.patchFlag === 32) && (i = s[o] = ct(s[o]), i.el = c.el), n ||
|
|
2996
|
+
i.shapeFlag & 1 && !i.dynamicChildren && ((i.patchFlag <= 0 || i.patchFlag === 32) && (i = s[o] = ct(s[o]), i.el = c.el), n || yi(c, i)), i.type === hr && (i.el = c.el);
|
|
2997
2997
|
}
|
|
2998
2998
|
}
|
|
2999
2999
|
function iu(t) {
|
|
@@ -3025,14 +3025,14 @@ function au() {
|
|
|
3025
3025
|
gn.pop(), ze = gn[gn.length - 1] || null;
|
|
3026
3026
|
}
|
|
3027
3027
|
let kn = 1;
|
|
3028
|
-
function
|
|
3028
|
+
function vo(t) {
|
|
3029
3029
|
kn += t;
|
|
3030
3030
|
}
|
|
3031
|
-
function
|
|
3031
|
+
function ki(t) {
|
|
3032
3032
|
return t.dynamicChildren = kn > 0 ? ze || Pt : null, au(), kn > 0 && ze && ze.push(t), t;
|
|
3033
3033
|
}
|
|
3034
3034
|
function be(t, e, n, r, s, o) {
|
|
3035
|
-
return
|
|
3035
|
+
return ki(
|
|
3036
3036
|
we(
|
|
3037
3037
|
t,
|
|
3038
3038
|
e,
|
|
@@ -3046,7 +3046,7 @@ function be(t, e, n, r, s, o) {
|
|
|
3046
3046
|
);
|
|
3047
3047
|
}
|
|
3048
3048
|
function Se(t, e, n, r, s) {
|
|
3049
|
-
return
|
|
3049
|
+
return ki(
|
|
3050
3050
|
de(
|
|
3051
3051
|
t,
|
|
3052
3052
|
e,
|
|
@@ -3064,7 +3064,7 @@ function Qn(t) {
|
|
|
3064
3064
|
function yt(t, e) {
|
|
3065
3065
|
return t.type === e.type && t.key === e.key;
|
|
3066
3066
|
}
|
|
3067
|
-
const dr = "__vInternal",
|
|
3067
|
+
const dr = "__vInternal", Ei = ({ key: t }) => t ?? null, Vn = ({
|
|
3068
3068
|
ref: t,
|
|
3069
3069
|
ref_key: e,
|
|
3070
3070
|
ref_for: n
|
|
@@ -3075,9 +3075,9 @@ function we(t, e = null, n = null, r = 0, s = null, o = t === Re ? 0 : 1, c = !1
|
|
|
3075
3075
|
__v_skip: !0,
|
|
3076
3076
|
type: t,
|
|
3077
3077
|
props: e,
|
|
3078
|
-
key: e &&
|
|
3078
|
+
key: e && Ei(e),
|
|
3079
3079
|
ref: e && Vn(e),
|
|
3080
|
-
scopeId:
|
|
3080
|
+
scopeId: si,
|
|
3081
3081
|
slotScopeIds: null,
|
|
3082
3082
|
children: n,
|
|
3083
3083
|
component: null,
|
|
@@ -3122,7 +3122,7 @@ function uu(t, e = null, n = null, r = 0, s = null, o = !1) {
|
|
|
3122
3122
|
if (yu(t) && (t = t.__vccOpts), e) {
|
|
3123
3123
|
e = fu(e);
|
|
3124
3124
|
let { class: i, style: l } = e;
|
|
3125
|
-
i && !_e(i) && (e.class = Sn(i)), fe(l) && (
|
|
3125
|
+
i && !_e(i) && (e.class = Sn(i)), fe(l) && (Kc(l) && !G(l) && (l = me({}, l)), e.style = vs(l));
|
|
3126
3126
|
}
|
|
3127
3127
|
const c = _e(t) ? 1 : Sa(t) ? 128 : lu(t) ? 64 : fe(t) ? 4 : ee(t) ? 2 : 0;
|
|
3128
3128
|
return we(
|
|
@@ -3137,7 +3137,7 @@ function uu(t, e = null, n = null, r = 0, s = null, o = !1) {
|
|
|
3137
3137
|
);
|
|
3138
3138
|
}
|
|
3139
3139
|
function fu(t) {
|
|
3140
|
-
return t ?
|
|
3140
|
+
return t ? Kc(t) || dr in t ? me({}, t) : t : null;
|
|
3141
3141
|
}
|
|
3142
3142
|
function pt(t, e, n = !1) {
|
|
3143
3143
|
const { props: r, ref: s, patchFlag: o, children: c } = t, i = e ? pu(r || {}, e) : r;
|
|
@@ -3146,7 +3146,7 @@ function pt(t, e, n = !1) {
|
|
|
3146
3146
|
__v_skip: !0,
|
|
3147
3147
|
type: t.type,
|
|
3148
3148
|
props: i,
|
|
3149
|
-
key: i &&
|
|
3149
|
+
key: i && Ei(i),
|
|
3150
3150
|
ref: e && e.ref ? (
|
|
3151
3151
|
// #2078 in the case of <component :is="vnode" ref="extra"/>
|
|
3152
3152
|
// if the vnode itself already has a ref, cloneVNode will need to merge
|
|
@@ -3245,7 +3245,7 @@ function Ge(t, e, n, r = null) {
|
|
|
3245
3245
|
r
|
|
3246
3246
|
]);
|
|
3247
3247
|
}
|
|
3248
|
-
const hu =
|
|
3248
|
+
const hu = gi();
|
|
3249
3249
|
let du = 0;
|
|
3250
3250
|
function gu(t, e, n) {
|
|
3251
3251
|
const r = t.type, s = (e ? e.appContext : t.appContext) || hu, o = {
|
|
@@ -3278,8 +3278,8 @@ function gu(t, e, n) {
|
|
|
3278
3278
|
components: null,
|
|
3279
3279
|
directives: null,
|
|
3280
3280
|
// resolved props and emits options
|
|
3281
|
-
propsOptions:
|
|
3282
|
-
emitsOptions:
|
|
3281
|
+
propsOptions: _i(r, s),
|
|
3282
|
+
emitsOptions: ri(r, s),
|
|
3283
3283
|
// emit
|
|
3284
3284
|
emit: null,
|
|
3285
3285
|
// to be set immediately
|
|
@@ -3328,8 +3328,8 @@ function gu(t, e, n) {
|
|
|
3328
3328
|
}
|
|
3329
3329
|
let xe = null;
|
|
3330
3330
|
const mu = () => xe || Ee;
|
|
3331
|
-
let Fs, It,
|
|
3332
|
-
(It = Qr()[
|
|
3331
|
+
let Fs, It, xo = "__VUE_INSTANCE_SETTERS__";
|
|
3332
|
+
(It = Qr()[xo]) || (It = Qr()[xo] = []), It.push((t) => xe = t), Fs = (t) => {
|
|
3333
3333
|
It.length > 1 ? It.forEach((e) => e(t)) : It[0](t);
|
|
3334
3334
|
};
|
|
3335
3335
|
const Kt = (t) => {
|
|
@@ -3337,20 +3337,20 @@ const Kt = (t) => {
|
|
|
3337
3337
|
}, St = () => {
|
|
3338
3338
|
xe && xe.scope.off(), Fs(null);
|
|
3339
3339
|
};
|
|
3340
|
-
function
|
|
3340
|
+
function wi(t) {
|
|
3341
3341
|
return t.vnode.shapeFlag & 4;
|
|
3342
3342
|
}
|
|
3343
3343
|
let En = !1;
|
|
3344
3344
|
function _u(t, e = !1) {
|
|
3345
3345
|
En = e;
|
|
3346
|
-
const { props: n, children: r } = t.vnode, s =
|
|
3346
|
+
const { props: n, children: r } = t.vnode, s = wi(t);
|
|
3347
3347
|
eu(t, n, s, e), ru(t, r);
|
|
3348
3348
|
const o = s ? bu(t, e) : void 0;
|
|
3349
3349
|
return En = !1, o;
|
|
3350
3350
|
}
|
|
3351
3351
|
function bu(t, e) {
|
|
3352
3352
|
const n = t.type;
|
|
3353
|
-
t.accessCache = /* @__PURE__ */ Object.create(null), t.proxy =
|
|
3353
|
+
t.accessCache = /* @__PURE__ */ Object.create(null), t.proxy = Wc(new Proxy(t.ctx, Va));
|
|
3354
3354
|
const { setup: r } = n;
|
|
3355
3355
|
if (r) {
|
|
3356
3356
|
const s = t.setupContext = r.length > 1 ? xu(t) : null;
|
|
@@ -3361,27 +3361,27 @@ function bu(t, e) {
|
|
|
3361
3361
|
0,
|
|
3362
3362
|
[t.props, s]
|
|
3363
3363
|
);
|
|
3364
|
-
if (Yt(), St(),
|
|
3364
|
+
if (Yt(), St(), qc(o)) {
|
|
3365
3365
|
if (o.then(St, St), e)
|
|
3366
3366
|
return o.then((c) => {
|
|
3367
|
-
|
|
3367
|
+
yo(t, c, e);
|
|
3368
3368
|
}).catch((c) => {
|
|
3369
3369
|
ar(c, t, 0);
|
|
3370
3370
|
});
|
|
3371
3371
|
t.asyncDep = o;
|
|
3372
3372
|
} else
|
|
3373
|
-
|
|
3373
|
+
yo(t, o, e);
|
|
3374
3374
|
} else
|
|
3375
|
-
|
|
3375
|
+
Ci(t, e);
|
|
3376
3376
|
}
|
|
3377
|
-
function
|
|
3378
|
-
ee(e) ? t.type.__ssrInlineRender ? t.ssrRender = e : t.render = e : fe(e) && (t.setupState =
|
|
3377
|
+
function yo(t, e, n) {
|
|
3378
|
+
ee(e) ? t.type.__ssrInlineRender ? t.ssrRender = e : t.render = e : fe(e) && (t.setupState = Xc(e)), Ci(t, n);
|
|
3379
3379
|
}
|
|
3380
|
-
let
|
|
3381
|
-
function
|
|
3380
|
+
let ko;
|
|
3381
|
+
function Ci(t, e, n) {
|
|
3382
3382
|
const r = t.type;
|
|
3383
3383
|
if (!t.render) {
|
|
3384
|
-
if (!e &&
|
|
3384
|
+
if (!e && ko && !r.render) {
|
|
3385
3385
|
const s = r.template || qs(t).template;
|
|
3386
3386
|
if (s) {
|
|
3387
3387
|
const { isCustomElement: o, compilerOptions: c } = t.appContext.config, { delimiters: i, compilerOptions: l } = r, a = me(
|
|
@@ -3394,7 +3394,7 @@ function Ai(t, e, n) {
|
|
|
3394
3394
|
),
|
|
3395
3395
|
l
|
|
3396
3396
|
);
|
|
3397
|
-
r.render =
|
|
3397
|
+
r.render = ko(s, a);
|
|
3398
3398
|
}
|
|
3399
3399
|
}
|
|
3400
3400
|
t.render = r.render || Ue;
|
|
@@ -3426,7 +3426,7 @@ function xu(t) {
|
|
|
3426
3426
|
}
|
|
3427
3427
|
function gr(t) {
|
|
3428
3428
|
if (t.exposed)
|
|
3429
|
-
return t.exposeProxy || (t.exposeProxy = new Proxy(
|
|
3429
|
+
return t.exposeProxy || (t.exposeProxy = new Proxy(Xc(Wc(t.exposed)), {
|
|
3430
3430
|
get(e, n) {
|
|
3431
3431
|
if (n in e)
|
|
3432
3432
|
return e[n];
|
|
@@ -3442,11 +3442,11 @@ function yu(t) {
|
|
|
3442
3442
|
return ee(t) && "__vccOpts" in t;
|
|
3443
3443
|
}
|
|
3444
3444
|
const Xt = (t, e) => ma(t, e, En);
|
|
3445
|
-
function
|
|
3445
|
+
function Ai(t, e, n) {
|
|
3446
3446
|
const r = arguments.length;
|
|
3447
3447
|
return r === 2 ? fe(e) && !G(e) ? Qn(e) ? de(t, null, [e]) : de(t, e) : de(t, null, e) : (r > 3 ? n = Array.prototype.slice.call(arguments, 2) : r === 3 && Qn(n) && (n = [n]), de(t, e, n));
|
|
3448
3448
|
}
|
|
3449
|
-
const ku = Symbol.for("v-scx"), Eu = () => Ht(ku), wu = "3.3.4", Cu = "http://www.w3.org/2000/svg", kt = typeof document < "u" ? document : null,
|
|
3449
|
+
const ku = Symbol.for("v-scx"), Eu = () => Ht(ku), wu = "3.3.4", Cu = "http://www.w3.org/2000/svg", kt = typeof document < "u" ? document : null, Eo = kt && /* @__PURE__ */ kt.createElement("template"), Au = {
|
|
3450
3450
|
insert: (t, e, n) => {
|
|
3451
3451
|
e.insertBefore(t, n || null);
|
|
3452
3452
|
},
|
|
@@ -3482,8 +3482,8 @@ const ku = Symbol.for("v-scx"), Eu = () => Ht(ku), wu = "3.3.4", Cu = "http://ww
|
|
|
3482
3482
|
for (; e.insertBefore(s.cloneNode(!0), n), !(s === o || !(s = s.nextSibling)); )
|
|
3483
3483
|
;
|
|
3484
3484
|
else {
|
|
3485
|
-
|
|
3486
|
-
const i =
|
|
3485
|
+
Eo.innerHTML = r ? `<svg>${t}</svg>` : t;
|
|
3486
|
+
const i = Eo.content;
|
|
3487
3487
|
if (r) {
|
|
3488
3488
|
const l = i.firstChild;
|
|
3489
3489
|
for (; l.firstChild; )
|
|
@@ -3517,7 +3517,7 @@ function Du(t, e, n) {
|
|
|
3517
3517
|
s ? e !== n && (r.cssText = n) : e && t.removeAttribute("style"), "_vod" in t && (r.display = o);
|
|
3518
3518
|
}
|
|
3519
3519
|
}
|
|
3520
|
-
const
|
|
3520
|
+
const wo = /\s*!important$/;
|
|
3521
3521
|
function fs(t, e, n) {
|
|
3522
3522
|
if (G(n))
|
|
3523
3523
|
n.forEach((r) => fs(t, e, r));
|
|
@@ -3525,14 +3525,14 @@ function fs(t, e, n) {
|
|
|
3525
3525
|
t.setProperty(e, n);
|
|
3526
3526
|
else {
|
|
3527
3527
|
const r = Tu(t, e);
|
|
3528
|
-
|
|
3528
|
+
wo.test(n) ? t.setProperty(
|
|
3529
3529
|
qt(r),
|
|
3530
|
-
n.replace(
|
|
3530
|
+
n.replace(wo, ""),
|
|
3531
3531
|
"important"
|
|
3532
3532
|
) : t[r] = n;
|
|
3533
3533
|
}
|
|
3534
3534
|
}
|
|
3535
|
-
const
|
|
3535
|
+
const Co = ["Webkit", "Moz", "ms"], Nr = {};
|
|
3536
3536
|
function Tu(t, e) {
|
|
3537
3537
|
const n = Nr[e];
|
|
3538
3538
|
if (n)
|
|
@@ -3540,21 +3540,21 @@ function Tu(t, e) {
|
|
|
3540
3540
|
let r = Vt(e);
|
|
3541
3541
|
if (r !== "filter" && r in t)
|
|
3542
3542
|
return Nr[e] = r;
|
|
3543
|
-
r =
|
|
3544
|
-
for (let s = 0; s <
|
|
3545
|
-
const o =
|
|
3543
|
+
r = Ic(r);
|
|
3544
|
+
for (let s = 0; s < Co.length; s++) {
|
|
3545
|
+
const o = Co[s] + r;
|
|
3546
3546
|
if (o in t)
|
|
3547
3547
|
return Nr[e] = o;
|
|
3548
3548
|
}
|
|
3549
3549
|
return e;
|
|
3550
3550
|
}
|
|
3551
|
-
const
|
|
3551
|
+
const Ao = "http://www.w3.org/1999/xlink";
|
|
3552
3552
|
function Ru(t, e, n, r, s) {
|
|
3553
3553
|
if (r && e.startsWith("xlink:"))
|
|
3554
|
-
n == null ? t.removeAttributeNS(
|
|
3554
|
+
n == null ? t.removeAttributeNS(Ao, e.slice(6, e.length)) : t.setAttributeNS(Ao, e, n);
|
|
3555
3555
|
else {
|
|
3556
3556
|
const o = ql(e);
|
|
3557
|
-
n == null || o && !
|
|
3557
|
+
n == null || o && !Fc(n) ? t.removeAttribute(e) : t.setAttribute(e, o ? "" : n);
|
|
3558
3558
|
}
|
|
3559
3559
|
}
|
|
3560
3560
|
function qu(t, e, n, r, s, o, c) {
|
|
@@ -3573,7 +3573,7 @@ function qu(t, e, n, r, s, o, c) {
|
|
|
3573
3573
|
let l = !1;
|
|
3574
3574
|
if (n === "" || n == null) {
|
|
3575
3575
|
const a = typeof t[e];
|
|
3576
|
-
a === "boolean" ? n =
|
|
3576
|
+
a === "boolean" ? n = Fc(n) : n == null && a === "string" ? (n = "", l = !0) : a === "number" && (n = 0, l = !0);
|
|
3577
3577
|
}
|
|
3578
3578
|
try {
|
|
3579
3579
|
t[e] = n;
|
|
@@ -3600,13 +3600,13 @@ function Nu(t, e, n, r, s = null) {
|
|
|
3600
3600
|
c && (Mu(t, i, c, l), o[e] = void 0);
|
|
3601
3601
|
}
|
|
3602
3602
|
}
|
|
3603
|
-
const
|
|
3603
|
+
const So = /(?:Once|Passive|Capture)$/;
|
|
3604
3604
|
function Iu(t) {
|
|
3605
3605
|
let e;
|
|
3606
|
-
if (
|
|
3606
|
+
if (So.test(t)) {
|
|
3607
3607
|
e = {};
|
|
3608
3608
|
let r;
|
|
3609
|
-
for (; r = t.match(
|
|
3609
|
+
for (; r = t.match(So); )
|
|
3610
3610
|
t = t.slice(0, t.length - r[0].length), e[r[0].toLowerCase()] = !0;
|
|
3611
3611
|
}
|
|
3612
3612
|
return [t[2] === ":" ? t.slice(3) : qt(t.slice(2)), e];
|
|
@@ -3637,7 +3637,7 @@ function Pu(t, e) {
|
|
|
3637
3637
|
} else
|
|
3638
3638
|
return e;
|
|
3639
3639
|
}
|
|
3640
|
-
const
|
|
3640
|
+
const Do = /^on[a-z]/, Bu = (t, e, n, r, s = !1, o, c, i, l) => {
|
|
3641
3641
|
e === "class" ? Su(t, r, s) : e === "style" ? Du(t, n, r) : or(e) ? gs(e) || Nu(t, e, n, r, c) : (e[0] === "." ? (e = e.slice(1), !0) : e[0] === "^" ? (e = e.slice(1), !1) : $u(t, e, r, s)) ? qu(
|
|
3642
3642
|
t,
|
|
3643
3643
|
e,
|
|
@@ -3649,11 +3649,11 @@ const To = /^on[a-z]/, Bu = (t, e, n, r, s = !1, o, c, i, l) => {
|
|
|
3649
3649
|
) : (e === "true-value" ? t._trueValue = r : e === "false-value" && (t._falseValue = r), Ru(t, e, r, s));
|
|
3650
3650
|
};
|
|
3651
3651
|
function $u(t, e, n, r) {
|
|
3652
|
-
return r ? !!(e === "innerHTML" || e === "textContent" || e in t &&
|
|
3652
|
+
return r ? !!(e === "innerHTML" || e === "textContent" || e in t && Do.test(e) && ee(n)) : e === "spellcheck" || e === "draggable" || e === "translate" || e === "form" || e === "list" && t.tagName === "INPUT" || e === "type" && t.tagName === "TEXTAREA" || Do.test(e) && _e(n) ? !1 : e in t;
|
|
3653
3653
|
}
|
|
3654
|
-
const st = "transition", on = "animation", er = (t, { slots: e }) =>
|
|
3654
|
+
const st = "transition", on = "animation", er = (t, { slots: e }) => Ai(Ma, zu(t), e);
|
|
3655
3655
|
er.displayName = "Transition";
|
|
3656
|
-
const
|
|
3656
|
+
const Si = {
|
|
3657
3657
|
name: String,
|
|
3658
3658
|
type: String,
|
|
3659
3659
|
css: {
|
|
@@ -3673,16 +3673,16 @@ const Di = {
|
|
|
3673
3673
|
};
|
|
3674
3674
|
er.props = /* @__PURE__ */ me(
|
|
3675
3675
|
{},
|
|
3676
|
-
|
|
3677
|
-
|
|
3676
|
+
li,
|
|
3677
|
+
Si
|
|
3678
3678
|
);
|
|
3679
3679
|
const _t = (t, e = []) => {
|
|
3680
3680
|
G(t) ? t.forEach((n) => n(...e)) : t && t(...e);
|
|
3681
|
-
},
|
|
3681
|
+
}, To = (t) => t ? G(t) ? t.some((e) => e.length > 1) : t.length > 1 : !1;
|
|
3682
3682
|
function zu(t) {
|
|
3683
3683
|
const e = {};
|
|
3684
3684
|
for (const B in t)
|
|
3685
|
-
B in
|
|
3685
|
+
B in Si || (e[B] = t[B]);
|
|
3686
3686
|
if (t.css === !1)
|
|
3687
3687
|
return e;
|
|
3688
3688
|
const {
|
|
@@ -3713,8 +3713,8 @@ function zu(t) {
|
|
|
3713
3713
|
B._isLeaving = !1, bt(B, f), bt(B, d), bt(B, p), re && re();
|
|
3714
3714
|
}, J = (B) => (re, D) => {
|
|
3715
3715
|
const ne = B ? W : C, V = () => X(re, B, D);
|
|
3716
|
-
_t(ne, [re, V]),
|
|
3717
|
-
bt(re, B ? l : o), ot(re, B ? u : i),
|
|
3716
|
+
_t(ne, [re, V]), Ro(() => {
|
|
3717
|
+
bt(re, B ? l : o), ot(re, B ? u : i), To(ne) || qo(re, r, b, V);
|
|
3718
3718
|
});
|
|
3719
3719
|
};
|
|
3720
3720
|
return me(e, {
|
|
@@ -3729,8 +3729,8 @@ function zu(t) {
|
|
|
3729
3729
|
onLeave(B, re) {
|
|
3730
3730
|
B._isLeaving = !0;
|
|
3731
3731
|
const D = () => z(B, re);
|
|
3732
|
-
ot(B, f), Vu(), ot(B, p),
|
|
3733
|
-
B._isLeaving && (bt(B, f), ot(B, d),
|
|
3732
|
+
ot(B, f), Vu(), ot(B, p), Ro(() => {
|
|
3733
|
+
B._isLeaving && (bt(B, f), ot(B, d), To(A) || qo(B, r, I, D));
|
|
3734
3734
|
}), _t(A, [B, D]);
|
|
3735
3735
|
},
|
|
3736
3736
|
onEnterCancelled(B) {
|
|
@@ -3765,13 +3765,13 @@ function bt(t, e) {
|
|
|
3765
3765
|
const { _vtc: n } = t;
|
|
3766
3766
|
n && (n.delete(e), n.size || (t._vtc = void 0));
|
|
3767
3767
|
}
|
|
3768
|
-
function
|
|
3768
|
+
function Ro(t) {
|
|
3769
3769
|
requestAnimationFrame(() => {
|
|
3770
3770
|
requestAnimationFrame(t);
|
|
3771
3771
|
});
|
|
3772
3772
|
}
|
|
3773
3773
|
let Hu = 0;
|
|
3774
|
-
function
|
|
3774
|
+
function qo(t, e, n, r) {
|
|
3775
3775
|
const s = t._endId = ++Hu, o = () => {
|
|
3776
3776
|
s === t._endId && r();
|
|
3777
3777
|
};
|
|
@@ -3792,7 +3792,7 @@ function Mo(t, e, n, r) {
|
|
|
3792
3792
|
}, i + 1), t.addEventListener(a, p);
|
|
3793
3793
|
}
|
|
3794
3794
|
function ju(t, e) {
|
|
3795
|
-
const n = window.getComputedStyle(t), r = (k) => (n[k] || "").split(", "), s = r(`${st}Delay`), o = r(`${st}Duration`), c =
|
|
3795
|
+
const n = window.getComputedStyle(t), r = (k) => (n[k] || "").split(", "), s = r(`${st}Delay`), o = r(`${st}Duration`), c = Mo(s, o), i = r(`${on}Delay`), l = r(`${on}Duration`), a = Mo(i, l);
|
|
3796
3796
|
let u = null, f = 0, p = 0;
|
|
3797
3797
|
e === st ? c > 0 && (u = st, f = c, p = o.length) : e === on ? a > 0 && (u = on, f = a, p = l.length) : (f = Math.max(c, a), u = f > 0 ? c > a ? st : on : null, p = u ? u === st ? o.length : l.length : 0);
|
|
3798
3798
|
const d = u === st && /\b(transform|all)(,|$)/.test(
|
|
@@ -3805,31 +3805,31 @@ function ju(t, e) {
|
|
|
3805
3805
|
hasTransform: d
|
|
3806
3806
|
};
|
|
3807
3807
|
}
|
|
3808
|
-
function
|
|
3808
|
+
function Mo(t, e) {
|
|
3809
3809
|
for (; t.length < e.length; )
|
|
3810
3810
|
t = t.concat(t);
|
|
3811
|
-
return Math.max(...e.map((n, r) =>
|
|
3811
|
+
return Math.max(...e.map((n, r) => No(n) + No(t[r])));
|
|
3812
3812
|
}
|
|
3813
|
-
function
|
|
3813
|
+
function No(t) {
|
|
3814
3814
|
return Number(t.slice(0, -1).replace(",", ".")) * 1e3;
|
|
3815
3815
|
}
|
|
3816
3816
|
function Vu() {
|
|
3817
3817
|
return document.body.offsetHeight;
|
|
3818
3818
|
}
|
|
3819
|
-
const
|
|
3819
|
+
const Io = (t) => {
|
|
3820
3820
|
const e = t.props["onUpdate:modelValue"] || !1;
|
|
3821
3821
|
return G(e) ? (n) => jn(e, n) : e;
|
|
3822
3822
|
};
|
|
3823
3823
|
function Gu(t) {
|
|
3824
3824
|
t.target.composing = !0;
|
|
3825
3825
|
}
|
|
3826
|
-
function
|
|
3826
|
+
function Fo(t) {
|
|
3827
3827
|
const e = t.target;
|
|
3828
3828
|
e.composing && (e.composing = !1, e.dispatchEvent(new Event("input")));
|
|
3829
3829
|
}
|
|
3830
3830
|
const Zu = {
|
|
3831
3831
|
created(t, { modifiers: { lazy: e, trim: n, number: r } }, s) {
|
|
3832
|
-
t._assign =
|
|
3832
|
+
t._assign = Io(s);
|
|
3833
3833
|
const o = r || s.props && s.props.type === "number";
|
|
3834
3834
|
Ot(t, e ? "change" : "input", (c) => {
|
|
3835
3835
|
if (c.target.composing)
|
|
@@ -3838,14 +3838,14 @@ const Zu = {
|
|
|
3838
3838
|
n && (i = i.trim()), o && (i = Xr(i)), t._assign(i);
|
|
3839
3839
|
}), n && Ot(t, "change", () => {
|
|
3840
3840
|
t.value = t.value.trim();
|
|
3841
|
-
}), e || (Ot(t, "compositionstart", Gu), Ot(t, "compositionend",
|
|
3841
|
+
}), e || (Ot(t, "compositionstart", Gu), Ot(t, "compositionend", Fo), Ot(t, "change", Fo));
|
|
3842
3842
|
},
|
|
3843
3843
|
// set value on mounted so it's after min/max for type="range"
|
|
3844
3844
|
mounted(t, { value: e }) {
|
|
3845
3845
|
t.value = e ?? "";
|
|
3846
3846
|
},
|
|
3847
3847
|
beforeUpdate(t, { value: e, modifiers: { lazy: n, trim: r, number: s } }, o) {
|
|
3848
|
-
if (t._assign =
|
|
3848
|
+
if (t._assign = Io(o), t.composing || document.activeElement === t && t.type !== "range" && (n || r && t.value.trim() === e || (s || t.type === "number") && Xr(t.value) === e))
|
|
3849
3849
|
return;
|
|
3850
3850
|
const c = e ?? "";
|
|
3851
3851
|
t.value !== c && (t.value = c);
|
|
@@ -3884,9 +3884,9 @@ function cn(t, e) {
|
|
|
3884
3884
|
t.style.display = e ? t._vod : "none";
|
|
3885
3885
|
}
|
|
3886
3886
|
const Yu = /* @__PURE__ */ me({ patchProp: Bu }, Au);
|
|
3887
|
-
let
|
|
3887
|
+
let Lo;
|
|
3888
3888
|
function Xu() {
|
|
3889
|
-
return
|
|
3889
|
+
return Lo || (Lo = ou(Yu));
|
|
3890
3890
|
}
|
|
3891
3891
|
const Qu = (...t) => {
|
|
3892
3892
|
const e = Xu().createApp(...t), { mount: n } = e;
|
|
@@ -3903,7 +3903,7 @@ const Qu = (...t) => {
|
|
|
3903
3903
|
function ef(t) {
|
|
3904
3904
|
return _e(t) ? document.querySelector(t) : t;
|
|
3905
3905
|
}
|
|
3906
|
-
const
|
|
3906
|
+
const Di = (t, e) => {
|
|
3907
3907
|
const n = t.__vccOpts || t;
|
|
3908
3908
|
for (const [r, s] of e)
|
|
3909
3909
|
n[r] = s;
|
|
@@ -3914,7 +3914,7 @@ function rf(t, e) {
|
|
|
3914
3914
|
hn(t.$slots, "default")
|
|
3915
3915
|
]);
|
|
3916
3916
|
}
|
|
3917
|
-
const sf = /* @__PURE__ */
|
|
3917
|
+
const sf = /* @__PURE__ */ Di(tf, [["render", rf]]);
|
|
3918
3918
|
function of() {
|
|
3919
3919
|
const t = /* @__PURE__ */ new Map();
|
|
3920
3920
|
function e(s, o) {
|
|
@@ -3999,17 +3999,17 @@ const ln = {
|
|
|
3999
3999
|
}
|
|
4000
4000
|
},
|
|
4001
4001
|
theme: {}
|
|
4002
|
-
}, pf = "#n8n-chat", hf = "n8n-chat",
|
|
4002
|
+
}, pf = "#n8n-chat", hf = "n8n-chat", Oo = `${hf}/sessionId`, Ti = "Chat", Ri = "ChatOptions";
|
|
4003
4003
|
function Ls() {
|
|
4004
|
-
return Ht(
|
|
4004
|
+
return Ht(Ti);
|
|
4005
4005
|
}
|
|
4006
|
-
function
|
|
4006
|
+
function qi() {
|
|
4007
4007
|
return {
|
|
4008
|
-
options: Ht(
|
|
4008
|
+
options: Ht(Ri)
|
|
4009
4009
|
};
|
|
4010
4010
|
}
|
|
4011
4011
|
function mr() {
|
|
4012
|
-
const { options: t } =
|
|
4012
|
+
const { options: t } = qi(), e = (t == null ? void 0 : t.defaultLanguage) ?? "en";
|
|
4013
4013
|
function n(s) {
|
|
4014
4014
|
var o, c;
|
|
4015
4015
|
return ((c = (o = t == null ? void 0 : t.i18n) == null ? void 0 : o[e]) == null ? void 0 : c[s]) ?? s;
|
|
@@ -4043,10 +4043,9 @@ function vf(t, e) {
|
|
|
4043
4043
|
bf
|
|
4044
4044
|
]);
|
|
4045
4045
|
}
|
|
4046
|
-
const xf = /* @__PURE__ */
|
|
4046
|
+
const xf = /* @__PURE__ */ Di(mf, [["render", vf]]), yf = { class: "chat-get-started-footer" }, kf = { key: 0 }, Ef = /* @__PURE__ */ He({
|
|
4047
4047
|
__name: "GetStartedFooter",
|
|
4048
4048
|
setup(t) {
|
|
4049
|
-
Os();
|
|
4050
4049
|
const { t: e, te: n } = mr();
|
|
4051
4050
|
return (r, s) => (oe(), be("div", yf, [
|
|
4052
4051
|
he(n)("footer") ? (oe(), be("div", kf, Zn(he(e)("footer")), 1)) : mn("", !0),
|
|
@@ -6207,12 +6206,12 @@ const Cf = "Á", Af = "á", Sf = "Ă", Df = "ă", Tf = "∾", Rf = "∿", qf = "
|
|
|
6207
6206
|
zwj: $j,
|
|
6208
6207
|
zwnj: zj
|
|
6209
6208
|
};
|
|
6210
|
-
var Ni = Uj,
|
|
6209
|
+
var Ni = Uj, Os = /[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/, Qt = {}, Po = {};
|
|
6211
6210
|
function Hj(t) {
|
|
6212
|
-
var e, n, r =
|
|
6211
|
+
var e, n, r = Po[t];
|
|
6213
6212
|
if (r)
|
|
6214
6213
|
return r;
|
|
6215
|
-
for (r =
|
|
6214
|
+
for (r = Po[t] = [], e = 0; e < 128; e++)
|
|
6216
6215
|
n = String.fromCharCode(e), /^[0-9a-z]$/i.test(n) ? r.push(n) : r.push("%" + ("0" + e.toString(16).toUpperCase()).slice(-2));
|
|
6217
6216
|
for (e = 0; e < t.length; e++)
|
|
6218
6217
|
r[t.charCodeAt(e)] = t[e];
|
|
@@ -6243,12 +6242,12 @@ function _r(t, e, n) {
|
|
|
6243
6242
|
}
|
|
6244
6243
|
_r.defaultChars = ";/?:@&=+$,-_.!~*'()#";
|
|
6245
6244
|
_r.componentChars = "-_.!~*'()";
|
|
6246
|
-
var jj = _r,
|
|
6245
|
+
var jj = _r, Bo = {};
|
|
6247
6246
|
function Vj(t) {
|
|
6248
|
-
var e, n, r =
|
|
6247
|
+
var e, n, r = Bo[t];
|
|
6249
6248
|
if (r)
|
|
6250
6249
|
return r;
|
|
6251
|
-
for (r =
|
|
6250
|
+
for (r = Bo[t] = [], e = 0; e < 128; e++)
|
|
6252
6251
|
n = String.fromCharCode(e), r.push(n);
|
|
6253
6252
|
for (e = 0; e < t.length; e++)
|
|
6254
6253
|
n = t.charCodeAt(e), r[n] = "%" + ("0" + n.toString(16).toUpperCase()).slice(-2);
|
|
@@ -6290,10 +6289,10 @@ function tr() {
|
|
|
6290
6289
|
this.protocol = null, this.slashes = null, this.auth = null, this.port = null, this.hostname = null, this.hash = null, this.search = null, this.pathname = null;
|
|
6291
6290
|
}
|
|
6292
6291
|
var Kj = /^([a-z0-9.+-]+:)/i, Wj = /:[0-9]*$/, Jj = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/, Yj = ["<", ">", '"', "`", " ", "\r", `
|
|
6293
|
-
`, " "], Xj = ["{", "}", "|", "\\", "^", "`"].concat(Yj), Qj = ["'"].concat(Xj),
|
|
6292
|
+
`, " "], Xj = ["{", "}", "|", "\\", "^", "`"].concat(Yj), Qj = ["'"].concat(Xj), $o = ["%", "/", "?", ";", "#"].concat(Qj), zo = ["/", "?", "#"], e4 = 255, Uo = /^[+a-z0-9A-Z_-]{0,63}$/, t4 = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, Ho = {
|
|
6294
6293
|
javascript: !0,
|
|
6295
6294
|
"javascript:": !0
|
|
6296
|
-
},
|
|
6295
|
+
}, jo = {
|
|
6297
6296
|
http: !0,
|
|
6298
6297
|
https: !0,
|
|
6299
6298
|
ftp: !0,
|
|
@@ -6319,13 +6318,13 @@ tr.prototype.parse = function(t, e) {
|
|
|
6319
6318
|
return this.pathname = l[1], l[2] && (this.search = l[2]), this;
|
|
6320
6319
|
}
|
|
6321
6320
|
var a = Kj.exec(i);
|
|
6322
|
-
if (a && (a = a[0], s = a.toLowerCase(), this.protocol = a, i = i.substr(a.length)), (e || a || i.match(/^\/\/[^@\/]+@[^@\/]+/)) && (c = i.substr(0, 2) === "//", c && !(a &&
|
|
6321
|
+
if (a && (a = a[0], s = a.toLowerCase(), this.protocol = a, i = i.substr(a.length)), (e || a || i.match(/^\/\/[^@\/]+@[^@\/]+/)) && (c = i.substr(0, 2) === "//", c && !(a && Ho[a]) && (i = i.substr(2), this.slashes = !0)), !Ho[a] && (c || a && !jo[a])) {
|
|
6323
6322
|
var u = -1;
|
|
6324
|
-
for (n = 0; n <
|
|
6325
|
-
o = i.indexOf(Uo[n]), o !== -1 && (u === -1 || o < u) && (u = o);
|
|
6326
|
-
var f, p;
|
|
6327
|
-
for (u === -1 ? p = i.lastIndexOf("@") : p = i.lastIndexOf("@", u), p !== -1 && (f = i.slice(0, p), i = i.slice(p + 1), this.auth = f), u = -1, n = 0; n < zo.length; n++)
|
|
6323
|
+
for (n = 0; n < zo.length; n++)
|
|
6328
6324
|
o = i.indexOf(zo[n]), o !== -1 && (u === -1 || o < u) && (u = o);
|
|
6325
|
+
var f, p;
|
|
6326
|
+
for (u === -1 ? p = i.lastIndexOf("@") : p = i.lastIndexOf("@", u), p !== -1 && (f = i.slice(0, p), i = i.slice(p + 1), this.auth = f), u = -1, n = 0; n < $o.length; n++)
|
|
6327
|
+
o = i.indexOf($o[n]), o !== -1 && (u === -1 || o < u) && (u = o);
|
|
6329
6328
|
u === -1 && (u = i.length), i[u - 1] === ":" && u--;
|
|
6330
6329
|
var d = i.slice(0, u);
|
|
6331
6330
|
i = i.slice(u), this.parseHost(d), this.hostname = this.hostname || "";
|
|
@@ -6334,10 +6333,10 @@ tr.prototype.parse = function(t, e) {
|
|
|
6334
6333
|
var b = this.hostname.split(/\./);
|
|
6335
6334
|
for (n = 0, r = b.length; n < r; n++) {
|
|
6336
6335
|
var I = b[n];
|
|
6337
|
-
if (I && !I.match(
|
|
6336
|
+
if (I && !I.match(Uo)) {
|
|
6338
6337
|
for (var T = "", C = 0, N = I.length; C < N; C++)
|
|
6339
6338
|
I.charCodeAt(C) > 127 ? T += "x" : T += I[C];
|
|
6340
|
-
if (!T.match(
|
|
6339
|
+
if (!T.match(Uo)) {
|
|
6341
6340
|
var A = b.slice(0, n), j = b.slice(n + 1), q = I.match(t4);
|
|
6342
6341
|
q && (A.push(q[1]), j.unshift(q[2])), j.length && (i = j.join(".") + i), this.hostname = A.join(".");
|
|
6343
6342
|
break;
|
|
@@ -6350,7 +6349,7 @@ tr.prototype.parse = function(t, e) {
|
|
|
6350
6349
|
var W = i.indexOf("#");
|
|
6351
6350
|
W !== -1 && (this.hash = i.substr(W), i = i.slice(0, W));
|
|
6352
6351
|
var $ = i.indexOf("?");
|
|
6353
|
-
return $ !== -1 && (this.search = i.substr($), i = i.slice(0, $)), i && (this.pathname = i),
|
|
6352
|
+
return $ !== -1 && (this.search = i.substr($), i = i.slice(0, $)), i && (this.pathname = i), jo[s] && this.hostname && !this.pathname && (this.pathname = ""), this;
|
|
6354
6353
|
};
|
|
6355
6354
|
tr.prototype.parseHost = function(t) {
|
|
6356
6355
|
var e = Wj.exec(t);
|
|
@@ -6361,25 +6360,25 @@ Qt.encode = jj;
|
|
|
6361
6360
|
Qt.decode = Gj;
|
|
6362
6361
|
Qt.format = Zj;
|
|
6363
6362
|
Qt.parse = r4;
|
|
6364
|
-
var vt = {}, Lr,
|
|
6363
|
+
var vt = {}, Lr, Vo;
|
|
6365
6364
|
function Ii() {
|
|
6366
|
-
return
|
|
6365
|
+
return Vo || (Vo = 1, Lr = /[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/), Lr;
|
|
6367
6366
|
}
|
|
6368
|
-
var Or,
|
|
6367
|
+
var Or, Go;
|
|
6369
6368
|
function Fi() {
|
|
6370
|
-
return
|
|
6369
|
+
return Go || (Go = 1, Or = /[\0-\x1F\x7F-\x9F]/), Or;
|
|
6371
6370
|
}
|
|
6372
|
-
var Pr,
|
|
6371
|
+
var Pr, Zo;
|
|
6373
6372
|
function s4() {
|
|
6374
|
-
return
|
|
6373
|
+
return Zo || (Zo = 1, Pr = /[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/), Pr;
|
|
6375
6374
|
}
|
|
6376
|
-
var Br,
|
|
6375
|
+
var Br, Ko;
|
|
6377
6376
|
function Li() {
|
|
6378
|
-
return
|
|
6377
|
+
return Ko || (Ko = 1, Br = /[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/), Br;
|
|
6379
6378
|
}
|
|
6380
|
-
var
|
|
6379
|
+
var Wo;
|
|
6381
6380
|
function o4() {
|
|
6382
|
-
return
|
|
6381
|
+
return Wo || (Wo = 1, vt.Any = Ii(), vt.Cc = Fi(), vt.Cf = s4(), vt.P = Os, vt.Z = Li()), vt;
|
|
6383
6382
|
}
|
|
6384
6383
|
(function(t) {
|
|
6385
6384
|
function e(D) {
|
|
@@ -6474,7 +6473,7 @@ function o4() {
|
|
|
6474
6473
|
}
|
|
6475
6474
|
return !1;
|
|
6476
6475
|
}
|
|
6477
|
-
var z =
|
|
6476
|
+
var z = Os;
|
|
6478
6477
|
function J(D) {
|
|
6479
6478
|
return z.test(D);
|
|
6480
6479
|
}
|
|
@@ -6537,7 +6536,7 @@ var vr = {}, c4 = function(e, n, r) {
|
|
|
6537
6536
|
}
|
|
6538
6537
|
}
|
|
6539
6538
|
return o && (l = e.pos), e.pos = u, l;
|
|
6540
|
-
},
|
|
6539
|
+
}, Jo = le.unescapeAll, i4 = function(e, n, r) {
|
|
6541
6540
|
var s, o, c = 0, i = n, l = {
|
|
6542
6541
|
ok: !1,
|
|
6543
6542
|
pos: 0,
|
|
@@ -6549,7 +6548,7 @@ var vr = {}, c4 = function(e, n, r) {
|
|
|
6549
6548
|
if (s = e.charCodeAt(n), s === 10 || s === 60)
|
|
6550
6549
|
return l;
|
|
6551
6550
|
if (s === 62)
|
|
6552
|
-
return l.pos = n + 1, l.str =
|
|
6551
|
+
return l.pos = n + 1, l.str = Jo(e.slice(i + 1, n)), l.ok = !0, l;
|
|
6553
6552
|
if (s === 92 && n + 1 < r) {
|
|
6554
6553
|
n += 2;
|
|
6555
6554
|
continue;
|
|
@@ -6574,7 +6573,7 @@ var vr = {}, c4 = function(e, n, r) {
|
|
|
6574
6573
|
}
|
|
6575
6574
|
n++;
|
|
6576
6575
|
}
|
|
6577
|
-
return i === n || o !== 0 || (l.str =
|
|
6576
|
+
return i === n || o !== 0 || (l.str = Jo(e.slice(i, n)), l.lines = c, l.pos = n, l.ok = !0), l;
|
|
6578
6577
|
}, l4 = le.unescapeAll, a4 = function(e, n, r) {
|
|
6579
6578
|
var s, o, c = 0, i = n, l = {
|
|
6580
6579
|
ok: !1,
|
|
@@ -6766,7 +6765,7 @@ je.prototype.disable = function(t, e) {
|
|
|
6766
6765
|
je.prototype.getRules = function(t) {
|
|
6767
6766
|
return this.__cache__ === null && this.__compile__(), this.__cache__[t] || [];
|
|
6768
6767
|
};
|
|
6769
|
-
var
|
|
6768
|
+
var Ps = je, h4 = /\r\n?|\n/g, d4 = /\0/g, g4 = function(e) {
|
|
6770
6769
|
var n;
|
|
6771
6770
|
n = e.src.replace(h4, `
|
|
6772
6771
|
`), n = n.replace(d4, "�"), e.src = n;
|
|
@@ -6826,7 +6825,7 @@ var D4 = function(e) {
|
|
|
6826
6825
|
if (e.md.options.typographer)
|
|
6827
6826
|
for (n = e.tokens.length - 1; n >= 0; n--)
|
|
6828
6827
|
e.tokens[n].type === "inline" && (k4.test(e.tokens[n].content) && A4(e.tokens[n].children), Oi.test(e.tokens[n].content) && S4(e.tokens[n].children));
|
|
6829
|
-
},
|
|
6828
|
+
}, Yo = le.isWhiteSpace, Xo = le.isPunctChar, Qo = le.isMdAsciiPunct, T4 = /['"]/, ec = /['"]/g, tc = "’";
|
|
6830
6829
|
function Pn(t, e, n) {
|
|
6831
6830
|
return t.substr(0, e) + n + t.substr(e + 1);
|
|
6832
6831
|
}
|
|
@@ -6838,7 +6837,7 @@ function R4(t, e) {
|
|
|
6838
6837
|
if (A.length = C + 1, r.type === "text") {
|
|
6839
6838
|
s = r.content, c = 0, i = s.length;
|
|
6840
6839
|
e:
|
|
6841
|
-
for (; c < i && (
|
|
6840
|
+
for (; c < i && (ec.lastIndex = c, o = ec.exec(s), !!o); ) {
|
|
6842
6841
|
if (I = T = !0, c = o.index + 1, N = o[0] === "'", u = 32, o.index - 1 >= 0)
|
|
6843
6842
|
u = s.charCodeAt(o.index - 1);
|
|
6844
6843
|
else
|
|
@@ -6855,8 +6854,8 @@ function R4(t, e) {
|
|
|
6855
6854
|
f = t[C].content.charCodeAt(0);
|
|
6856
6855
|
break;
|
|
6857
6856
|
}
|
|
6858
|
-
if (p =
|
|
6859
|
-
N && (r.content = Pn(r.content, o.index,
|
|
6857
|
+
if (p = Qo(u) || Xo(String.fromCharCode(u)), d = Qo(f) || Xo(String.fromCharCode(f)), k = Yo(u), b = Yo(f), b ? I = !1 : d && (k || p || (I = !1)), k ? T = !1 : p && (b || d || (T = !1)), f === 34 && o[0] === '"' && u >= 48 && u <= 57 && (T = I = !1), I && T && (I = p, T = d), !I && !T) {
|
|
6858
|
+
N && (r.content = Pn(r.content, o.index, tc));
|
|
6860
6859
|
continue;
|
|
6861
6860
|
}
|
|
6862
6861
|
if (T) {
|
|
@@ -6875,7 +6874,7 @@ function R4(t, e) {
|
|
|
6875
6874
|
pos: o.index,
|
|
6876
6875
|
single: N,
|
|
6877
6876
|
level: l
|
|
6878
|
-
}) : T && N && (r.content = Pn(r.content, o.index,
|
|
6877
|
+
}) : T && N && (r.content = Pn(r.content, o.index, tc));
|
|
6879
6878
|
}
|
|
6880
6879
|
}
|
|
6881
6880
|
}
|
|
@@ -6913,12 +6912,12 @@ tn.prototype.attrJoin = function(e, n) {
|
|
|
6913
6912
|
var r = this.attrIndex(e);
|
|
6914
6913
|
r < 0 ? this.attrPush([e, n]) : this.attrs[r][1] = this.attrs[r][1] + " " + n;
|
|
6915
6914
|
};
|
|
6916
|
-
var
|
|
6915
|
+
var Bs = tn, M4 = Bs;
|
|
6917
6916
|
function Pi(t, e, n) {
|
|
6918
6917
|
this.src = t, this.env = n, this.tokens = [], this.inlineMode = !1, this.md = e;
|
|
6919
6918
|
}
|
|
6920
6919
|
Pi.prototype.Token = M4;
|
|
6921
|
-
var N4 = Pi, I4 =
|
|
6920
|
+
var N4 = Pi, I4 = Ps, $r = [
|
|
6922
6921
|
["normalize", g4],
|
|
6923
6922
|
["block", m4],
|
|
6924
6923
|
["inline", _4],
|
|
@@ -6926,23 +6925,23 @@ var N4 = Pi, I4 = Bs, $r = [
|
|
|
6926
6925
|
["replacements", D4],
|
|
6927
6926
|
["smartquotes", q4]
|
|
6928
6927
|
];
|
|
6929
|
-
function
|
|
6928
|
+
function $s() {
|
|
6930
6929
|
this.ruler = new I4();
|
|
6931
6930
|
for (var t = 0; t < $r.length; t++)
|
|
6932
6931
|
this.ruler.push($r[t][0], $r[t][1]);
|
|
6933
6932
|
}
|
|
6934
|
-
|
|
6933
|
+
$s.prototype.process = function(t) {
|
|
6935
6934
|
var e, n, r;
|
|
6936
6935
|
for (r = this.ruler.getRules(""), e = 0, n = r.length; e < n; e++)
|
|
6937
6936
|
r[e](t);
|
|
6938
6937
|
};
|
|
6939
|
-
|
|
6940
|
-
var F4 =
|
|
6938
|
+
$s.prototype.State = N4;
|
|
6939
|
+
var F4 = $s, zr = le.isSpace;
|
|
6941
6940
|
function Ur(t, e) {
|
|
6942
6941
|
var n = t.bMarks[e] + t.tShift[e], r = t.eMarks[e];
|
|
6943
6942
|
return t.src.substr(n, r - n);
|
|
6944
6943
|
}
|
|
6945
|
-
function
|
|
6944
|
+
function nc(t) {
|
|
6946
6945
|
var e = [], n = 0, r = t.length, s, o = !1, c = 0, i = "";
|
|
6947
6946
|
for (s = t.charCodeAt(n); n < r; )
|
|
6948
6947
|
s === 124 && (o ? (i += t.substring(c, n - 1), c = n) : (e.push(i + t.substring(c, n)), i = "", c = n + 1)), o = s === 92, n++, s = t.charCodeAt(n);
|
|
@@ -6967,7 +6966,7 @@ var L4 = function(e, n, r, s) {
|
|
|
6967
6966
|
return !1;
|
|
6968
6967
|
b.charCodeAt(b.length - 1) === 58 ? k.push(b.charCodeAt(0) === 58 ? "center" : "right") : b.charCodeAt(0) === 58 ? k.push("left") : k.push("");
|
|
6969
6968
|
}
|
|
6970
|
-
if (c = Ur(e, n).trim(), c.indexOf("|") === -1 || e.sCount[n] - e.blkIndent >= 4 || (f =
|
|
6969
|
+
if (c = Ur(e, n).trim(), c.indexOf("|") === -1 || e.sCount[n] - e.blkIndent >= 4 || (f = nc(c), f.length && f[0] === "" && f.shift(), f.length && f[f.length - 1] === "" && f.pop(), p = f.length, p === 0 || p !== k.length))
|
|
6971
6970
|
return !1;
|
|
6972
6971
|
if (s)
|
|
6973
6972
|
return !0;
|
|
@@ -6981,7 +6980,7 @@ var L4 = function(e, n, r, s) {
|
|
|
6981
6980
|
}
|
|
6982
6981
|
if (N || (c = Ur(e, u).trim(), !c) || e.sCount[u] - e.blkIndent >= 4)
|
|
6983
6982
|
break;
|
|
6984
|
-
for (f =
|
|
6983
|
+
for (f = nc(c), f.length && f[0] === "" && f.shift(), f.length && f[f.length - 1] === "" && f.pop(), u === n + 2 && (d = e.push("tbody_open", "tbody", 1), d.map = T = [n + 2, 0]), d = e.push("tr_open", "tr", 1), d.map = [u, u + 1], l = 0; l < p; l++)
|
|
6985
6984
|
d = e.push("td_open", "td", 1), k[l] && (d.attrs = [["style", "text-align:" + k[l]]]), d = e.push("inline", "", 0), d.content = f[l] ? f[l].trim() : "", d.children = [], d = e.push("td_close", "td", -1);
|
|
6986
6985
|
d = e.push("tr_close", "tr", -1);
|
|
6987
6986
|
}
|
|
@@ -7015,19 +7014,19 @@ var L4 = function(e, n, r, s) {
|
|
|
7015
7014
|
break;
|
|
7016
7015
|
}
|
|
7017
7016
|
return c = e.sCount[n], e.line = l + (p ? 1 : 0), u = e.push("fence", "code", 0), u.info = i, u.content = e.getLines(n + 1, l, c, !0), u.markup = f, u.map = [n, e.line], !0;
|
|
7018
|
-
},
|
|
7017
|
+
}, rc = le.isSpace, B4 = function(e, n, r, s) {
|
|
7019
7018
|
var o, c, i, l, a, u, f, p, d, k, b, I, T, C, N, A, j, q, W, $, X = e.lineMax, z = e.bMarks[n] + e.tShift[n], J = e.eMarks[n];
|
|
7020
7019
|
if (e.sCount[n] - e.blkIndent >= 4 || e.src.charCodeAt(z++) !== 62)
|
|
7021
7020
|
return !1;
|
|
7022
7021
|
if (s)
|
|
7023
7022
|
return !0;
|
|
7024
|
-
for (l = d = e.sCount[n] + 1, e.src.charCodeAt(z) === 32 ? (z++, l++, d++, o = !1, A = !0) : e.src.charCodeAt(z) === 9 ? (A = !0, (e.bsCount[n] + d) % 4 === 3 ? (z++, l++, d++, o = !1) : o = !0) : A = !1, k = [e.bMarks[n]], e.bMarks[n] = z; z < J && (c = e.src.charCodeAt(z),
|
|
7023
|
+
for (l = d = e.sCount[n] + 1, e.src.charCodeAt(z) === 32 ? (z++, l++, d++, o = !1, A = !0) : e.src.charCodeAt(z) === 9 ? (A = !0, (e.bsCount[n] + d) % 4 === 3 ? (z++, l++, d++, o = !1) : o = !0) : A = !1, k = [e.bMarks[n]], e.bMarks[n] = z; z < J && (c = e.src.charCodeAt(z), rc(c)); ) {
|
|
7025
7024
|
c === 9 ? d += 4 - (d + e.bsCount[n] + (o ? 1 : 0)) % 4 : d++;
|
|
7026
7025
|
z++;
|
|
7027
7026
|
}
|
|
7028
7027
|
for (b = [e.bsCount[n]], e.bsCount[n] = e.sCount[n] + 1 + (A ? 1 : 0), u = z >= J, C = [e.sCount[n]], e.sCount[n] = d - l, N = [e.tShift[n]], e.tShift[n] = z - e.bMarks[n], q = e.md.block.ruler.getRules("blockquote"), T = e.parentType, e.parentType = "blockquote", p = n + 1; p < r && ($ = e.sCount[p] < e.blkIndent, z = e.bMarks[p] + e.tShift[p], J = e.eMarks[p], !(z >= J)); p++) {
|
|
7029
7028
|
if (e.src.charCodeAt(z++) === 62 && !$) {
|
|
7030
|
-
for (l = d = e.sCount[p] + 1, e.src.charCodeAt(z) === 32 ? (z++, l++, d++, o = !1, A = !0) : e.src.charCodeAt(z) === 9 ? (A = !0, (e.bsCount[p] + d) % 4 === 3 ? (z++, l++, d++, o = !1) : o = !0) : A = !1, k.push(e.bMarks[p]), e.bMarks[p] = z; z < J && (c = e.src.charCodeAt(z),
|
|
7029
|
+
for (l = d = e.sCount[p] + 1, e.src.charCodeAt(z) === 32 ? (z++, l++, d++, o = !1, A = !0) : e.src.charCodeAt(z) === 9 ? (A = !0, (e.bsCount[p] + d) % 4 === 3 ? (z++, l++, d++, o = !1) : o = !0) : A = !1, k.push(e.bMarks[p]), e.bMarks[p] = z; z < J && (c = e.src.charCodeAt(z), rc(c)); ) {
|
|
7031
7030
|
c === 9 ? d += 4 - (d + e.bsCount[p] + (o ? 1 : 0)) % 4 : d++;
|
|
7032
7031
|
z++;
|
|
7033
7032
|
}
|
|
@@ -7061,11 +7060,11 @@ var L4 = function(e, n, r, s) {
|
|
|
7061
7060
|
}
|
|
7062
7061
|
return c < 3 ? !1 : (s || (e.line = n + 1, l = e.push("hr", "hr", 0), l.map = [n, e.line], l.markup = Array(c + 1).join(String.fromCharCode(o))), !0);
|
|
7063
7062
|
}, Bi = le.isSpace;
|
|
7064
|
-
function
|
|
7063
|
+
function sc(t, e) {
|
|
7065
7064
|
var n, r, s, o;
|
|
7066
7065
|
return r = t.bMarks[e] + t.tShift[e], s = t.eMarks[e], n = t.src.charCodeAt(r++), n !== 42 && n !== 45 && n !== 43 || r < s && (o = t.src.charCodeAt(r), !Bi(o)) ? -1 : r;
|
|
7067
7066
|
}
|
|
7068
|
-
function
|
|
7067
|
+
function oc(t, e) {
|
|
7069
7068
|
var n, r = t.bMarks[e] + t.tShift[e], s = r, o = t.eMarks[e];
|
|
7070
7069
|
if (s + 1 >= o || (n = t.src.charCodeAt(s++), n < 48 || n > 57))
|
|
7071
7070
|
return -1;
|
|
@@ -7092,10 +7091,10 @@ var H4 = function(e, n, r, s) {
|
|
|
7092
7091
|
var o, c, i, l, a, u, f, p, d, k, b, I, T, C, N, A, j, q, W, $, X, z, J, B, re, D, ne, V, v = !1, S = !0;
|
|
7093
7092
|
if (e.sCount[n] - e.blkIndent >= 4 || e.listIndent >= 0 && e.sCount[n] - e.listIndent >= 4 && e.sCount[n] < e.blkIndent)
|
|
7094
7093
|
return !1;
|
|
7095
|
-
if (s && e.parentType === "paragraph" && e.sCount[n] >= e.blkIndent && (v = !0), (J =
|
|
7094
|
+
if (s && e.parentType === "paragraph" && e.sCount[n] >= e.blkIndent && (v = !0), (J = oc(e, n)) >= 0) {
|
|
7096
7095
|
if (f = !0, re = e.bMarks[n] + e.tShift[n], T = Number(e.src.slice(re, J - 1)), v && T !== 1)
|
|
7097
7096
|
return !1;
|
|
7098
|
-
} else if ((J =
|
|
7097
|
+
} else if ((J = sc(e, n)) >= 0)
|
|
7099
7098
|
f = !1;
|
|
7100
7099
|
else
|
|
7101
7100
|
return !1;
|
|
@@ -7123,10 +7122,10 @@ var H4 = function(e, n, r, s) {
|
|
|
7123
7122
|
if (D)
|
|
7124
7123
|
break;
|
|
7125
7124
|
if (f) {
|
|
7126
|
-
if (J =
|
|
7125
|
+
if (J = oc(e, N), J < 0)
|
|
7127
7126
|
break;
|
|
7128
7127
|
re = e.bMarks[N] + e.tShift[N];
|
|
7129
|
-
} else if (J =
|
|
7128
|
+
} else if (J = sc(e, N), J < 0)
|
|
7130
7129
|
break;
|
|
7131
7130
|
if (I !== e.src.charCodeAt(J - 1))
|
|
7132
7131
|
break;
|
|
@@ -7273,13 +7272,13 @@ var oV = G4, cV = xr.HTML_OPEN_CLOSE_TAG_RE, Ft = [
|
|
|
7273
7272
|
}
|
|
7274
7273
|
}
|
|
7275
7274
|
return e.line = c, i = e.push("html_block", "", 0), i.map = [n, c], i.content = e.getLines(n, c, e.blkIndent, !0), !0;
|
|
7276
|
-
},
|
|
7275
|
+
}, cc = le.isSpace, lV = function(e, n, r, s) {
|
|
7277
7276
|
var o, c, i, l, a = e.bMarks[n] + e.tShift[n], u = e.eMarks[n];
|
|
7278
7277
|
if (e.sCount[n] - e.blkIndent >= 4 || (o = e.src.charCodeAt(a), o !== 35 || a >= u))
|
|
7279
7278
|
return !1;
|
|
7280
7279
|
for (c = 1, o = e.src.charCodeAt(++a); o === 35 && a < u && c <= 6; )
|
|
7281
7280
|
c++, o = e.src.charCodeAt(++a);
|
|
7282
|
-
return c > 6 || a < u && !
|
|
7281
|
+
return c > 6 || a < u && !cc(o) ? !1 : (s || (u = e.skipSpacesBack(u, a), i = e.skipCharsBack(u, 35, a), i > a && cc(e.src.charCodeAt(i - 1)) && (u = i), e.line = n + 1, l = e.push("heading_open", "h" + String(c), 1), l.markup = "########".slice(0, c), l.map = [n, e.line], l = e.push("inline", "", 0), l.content = e.src.slice(a, u).trim(), l.map = [n, e.line], l.children = [], l = e.push("heading_close", "h" + String(c), -1), l.markup = "########".slice(0, c)), !0);
|
|
7283
7282
|
}, aV = function(e, n, r) {
|
|
7284
7283
|
var s, o, c, i, l, a, u, f, p, d = n + 1, k, b = e.md.block.ruler.getRules("paragraph");
|
|
7285
7284
|
if (e.sCount[n] - e.blkIndent >= 4)
|
|
@@ -7314,7 +7313,7 @@ var oV = G4, cV = xr.HTML_OPEN_CLOSE_TAG_RE, Ft = [
|
|
|
7314
7313
|
break;
|
|
7315
7314
|
}
|
|
7316
7315
|
return r = e.getLines(n, a, e.blkIndent, !1).trim(), e.line = a, i = e.push("paragraph_open", "p", 1), i.map = [n, e.line], i = e.push("inline", "", 0), i.content = r, i.map = [n, e.line], i.children = [], i = e.push("paragraph_close", "p", -1), e.parentType = l, !0;
|
|
7317
|
-
}, Ui =
|
|
7316
|
+
}, Ui = Bs, yr = le.isSpace;
|
|
7318
7317
|
function Xe(t, e, n, r) {
|
|
7319
7318
|
var s, o, c, i, l, a, u, f;
|
|
7320
7319
|
for (this.src = t, this.md = e, this.env = n, this.tokens = r, this.bMarks = [], this.eMarks = [], this.tShift = [], this.sCount = [], this.bsCount = [], this.blkIndent = 0, this.line = 0, this.lineMax = 0, this.tight = !1, this.ddIndent = -1, this.listIndent = -1, this.parentType = "root", this.level = 0, this.result = "", o = this.src, f = !1, c = i = a = u = 0, l = o.length; i < l; i++) {
|
|
@@ -7385,7 +7384,7 @@ Xe.prototype.getLines = function(e, n, r, s) {
|
|
|
7385
7384
|
return u.join("");
|
|
7386
7385
|
};
|
|
7387
7386
|
Xe.prototype.Token = Ui;
|
|
7388
|
-
var fV = Xe, pV =
|
|
7387
|
+
var fV = Xe, pV = Ps, $n = [
|
|
7389
7388
|
// First 2 params - rule name & source. Secondary array - list of rules,
|
|
7390
7389
|
// which can be terminated by this one.
|
|
7391
7390
|
["table", L4, ["paragraph", "reference"]],
|
|
@@ -7473,18 +7472,18 @@ var gV = function(e, n) {
|
|
|
7473
7472
|
for (c++; c < s && mV(e.src.charCodeAt(c)); )
|
|
7474
7473
|
c++;
|
|
7475
7474
|
return e.pos = c, !0;
|
|
7476
|
-
}, bV = le.isSpace,
|
|
7477
|
-
for (var
|
|
7478
|
-
|
|
7475
|
+
}, bV = le.isSpace, zs = [];
|
|
7476
|
+
for (var ic = 0; ic < 256; ic++)
|
|
7477
|
+
zs.push(0);
|
|
7479
7478
|
"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(t) {
|
|
7480
|
-
|
|
7479
|
+
zs[t.charCodeAt(0)] = 1;
|
|
7481
7480
|
});
|
|
7482
7481
|
var vV = function(e, n) {
|
|
7483
7482
|
var r, s = e.pos, o = e.posMax;
|
|
7484
7483
|
if (e.src.charCodeAt(s) !== 92)
|
|
7485
7484
|
return !1;
|
|
7486
7485
|
if (s++, s < o) {
|
|
7487
|
-
if (r = e.src.charCodeAt(s), r < 256 &&
|
|
7486
|
+
if (r = e.src.charCodeAt(s), r < 256 && zs[r] !== 0)
|
|
7488
7487
|
return n || (e.pending += e.src[s]), e.pos += 2, !0;
|
|
7489
7488
|
if (r === 10) {
|
|
7490
7489
|
for (n || e.push("hardbreak", "br", 0), s++; s < o && (r = e.src.charCodeAt(s), !!bV(r)); )
|
|
@@ -7526,7 +7525,7 @@ Er.tokenize = function(e, n) {
|
|
|
7526
7525
|
});
|
|
7527
7526
|
return e.pos += s.length, !0;
|
|
7528
7527
|
};
|
|
7529
|
-
function
|
|
7528
|
+
function lc(t, e) {
|
|
7530
7529
|
var n, r, s, o, c, i = [], l = e.length;
|
|
7531
7530
|
for (n = 0; n < l; n++)
|
|
7532
7531
|
s = e[n], s.marker === 126 && s.end !== -1 && (o = e[s.end], c = t.tokens[s.token], c.type = "s_open", c.tag = "s", c.nesting = 1, c.markup = "~~", c.content = "", c = t.tokens[o.token], c.type = "s_close", c.tag = "s", c.nesting = -1, c.markup = "~~", c.content = "", t.tokens[o.token - 1].type === "text" && t.tokens[o.token - 1].content === "~" && i.push(o.token - 1));
|
|
@@ -7538,8 +7537,8 @@ function ac(t, e) {
|
|
|
7538
7537
|
}
|
|
7539
7538
|
Er.postProcess = function(e) {
|
|
7540
7539
|
var n, r = e.tokens_meta, s = e.tokens_meta.length;
|
|
7541
|
-
for (
|
|
7542
|
-
r[n] && r[n].delimiters &&
|
|
7540
|
+
for (lc(e, e.delimiters), n = 0; n < s; n++)
|
|
7541
|
+
r[n] && r[n].delimiters && lc(e, r[n].delimiters);
|
|
7543
7542
|
};
|
|
7544
7543
|
var wr = {};
|
|
7545
7544
|
wr.tokenize = function(e, n) {
|
|
@@ -7569,7 +7568,7 @@ wr.tokenize = function(e, n) {
|
|
|
7569
7568
|
});
|
|
7570
7569
|
return e.pos += s.length, !0;
|
|
7571
7570
|
};
|
|
7572
|
-
function
|
|
7571
|
+
function ac(t, e) {
|
|
7573
7572
|
var n, r, s, o, c, i, l = e.length;
|
|
7574
7573
|
for (n = l - 1; n >= 0; n--)
|
|
7575
7574
|
r = e[n], !(r.marker !== 95 && r.marker !== 42) && r.end !== -1 && (s = e[r.end], i = n > 0 && e[n - 1].end === r.end + 1 && // check that first two markers match and adjacent
|
|
@@ -7578,8 +7577,8 @@ function uc(t, e) {
|
|
|
7578
7577
|
}
|
|
7579
7578
|
wr.postProcess = function(e) {
|
|
7580
7579
|
var n, r = e.tokens_meta, s = e.tokens_meta.length;
|
|
7581
|
-
for (
|
|
7582
|
-
r[n] && r[n].delimiters &&
|
|
7580
|
+
for (ac(e, e.delimiters), n = 0; n < s; n++)
|
|
7581
|
+
r[n] && r[n].delimiters && ac(e, r[n].delimiters);
|
|
7583
7582
|
};
|
|
7584
7583
|
var yV = le.normalizeReference, Hr = le.isSpace, kV = function(e, n) {
|
|
7585
7584
|
var r, s, o, c, i, l, a, u, f, p = "", d = "", k = e.pos, b = e.posMax, I = e.pos, T = !0;
|
|
@@ -7658,20 +7657,20 @@ function TV(t) {
|
|
|
7658
7657
|
var RV = function(e, n) {
|
|
7659
7658
|
var r, s, o, c, i = e.pos;
|
|
7660
7659
|
return !e.md.options.html || (o = e.posMax, e.src.charCodeAt(i) !== 60 || i + 2 >= o) || (r = e.src.charCodeAt(i + 1), r !== 33 && r !== 63 && r !== 47 && !TV(r)) || (s = e.src.slice(i).match(DV), !s) ? !1 : (n || (c = e.push("html_inline", "", 0), c.content = e.src.slice(i, i + s[0].length)), e.pos += s[0].length, !0);
|
|
7661
|
-
},
|
|
7660
|
+
}, uc = Ni, qV = le.has, MV = le.isValidEntityCode, fc = le.fromCodePoint, NV = /^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i, IV = /^&([a-z][a-z0-9]{1,31});/i, FV = function(e, n) {
|
|
7662
7661
|
var r, s, o, c = e.pos, i = e.posMax;
|
|
7663
7662
|
if (e.src.charCodeAt(c) !== 38)
|
|
7664
7663
|
return !1;
|
|
7665
7664
|
if (c + 1 < i) {
|
|
7666
7665
|
if (r = e.src.charCodeAt(c + 1), r === 35) {
|
|
7667
7666
|
if (o = e.src.slice(c).match(NV), o)
|
|
7668
|
-
return n || (s = o[1][0].toLowerCase() === "x" ? parseInt(o[1].slice(1), 16) : parseInt(o[1], 10), e.pending += MV(s) ?
|
|
7669
|
-
} else if (o = e.src.slice(c).match(IV), o && qV(
|
|
7670
|
-
return n || (e.pending +=
|
|
7667
|
+
return n || (s = o[1][0].toLowerCase() === "x" ? parseInt(o[1].slice(1), 16) : parseInt(o[1], 10), e.pending += MV(s) ? fc(s) : fc(65533)), e.pos += o[0].length, !0;
|
|
7668
|
+
} else if (o = e.src.slice(c).match(IV), o && qV(uc, o[1]))
|
|
7669
|
+
return n || (e.pending += uc[o[1]]), e.pos += o[0].length, !0;
|
|
7671
7670
|
}
|
|
7672
7671
|
return n || (e.pending += "&"), e.pos++, !0;
|
|
7673
7672
|
};
|
|
7674
|
-
function
|
|
7673
|
+
function pc(t, e) {
|
|
7675
7674
|
var n, r, s, o, c, i, l, a, u = {}, f = e.length;
|
|
7676
7675
|
if (f) {
|
|
7677
7676
|
var p = 0, d = -2, k = [];
|
|
@@ -7688,38 +7687,38 @@ function hc(t, e) {
|
|
|
7688
7687
|
}
|
|
7689
7688
|
var LV = function(e) {
|
|
7690
7689
|
var n, r = e.tokens_meta, s = e.tokens_meta.length;
|
|
7691
|
-
for (
|
|
7692
|
-
r[n] && r[n].delimiters &&
|
|
7690
|
+
for (pc(e, e.delimiters), n = 0; n < s; n++)
|
|
7691
|
+
r[n] && r[n].delimiters && pc(e, r[n].delimiters);
|
|
7693
7692
|
}, OV = function(e) {
|
|
7694
7693
|
var n, r, s = 0, o = e.tokens, c = e.tokens.length;
|
|
7695
7694
|
for (n = r = 0; n < c; n++)
|
|
7696
7695
|
o[n].nesting < 0 && s--, o[n].level = s, o[n].nesting > 0 && s++, o[n].type === "text" && n + 1 < c && o[n + 1].type === "text" ? o[n + 1].content = o[n].content + o[n + 1].content : (n !== r && (o[r] = o[n]), r++);
|
|
7697
7696
|
n !== r && (o.length = r);
|
|
7698
|
-
},
|
|
7697
|
+
}, Us = Bs, hc = le.isWhiteSpace, dc = le.isPunctChar, gc = le.isMdAsciiPunct;
|
|
7699
7698
|
function Tn(t, e, n, r) {
|
|
7700
7699
|
this.src = t, this.env = n, this.md = e, this.tokens = r, this.tokens_meta = Array(r.length), this.pos = 0, this.posMax = this.src.length, this.level = 0, this.pending = "", this.pendingLevel = 0, this.cache = {}, this.delimiters = [], this._prev_delimiters = [], this.backticks = {}, this.backticksScanned = !1;
|
|
7701
7700
|
}
|
|
7702
7701
|
Tn.prototype.pushPending = function() {
|
|
7703
|
-
var t = new
|
|
7702
|
+
var t = new Us("text", "", 0);
|
|
7704
7703
|
return t.content = this.pending, t.level = this.pendingLevel, this.tokens.push(t), this.pending = "", t;
|
|
7705
7704
|
};
|
|
7706
7705
|
Tn.prototype.push = function(t, e, n) {
|
|
7707
7706
|
this.pending && this.pushPending();
|
|
7708
|
-
var r = new
|
|
7707
|
+
var r = new Us(t, e, n), s = null;
|
|
7709
7708
|
return n < 0 && (this.level--, this.delimiters = this._prev_delimiters.pop()), r.level = this.level, n > 0 && (this.level++, this._prev_delimiters.push(this.delimiters), this.delimiters = [], s = { delimiters: this.delimiters }), this.pendingLevel = this.level, this.tokens.push(r), this.tokens_meta.push(s), r;
|
|
7710
7709
|
};
|
|
7711
7710
|
Tn.prototype.scanDelims = function(t, e) {
|
|
7712
7711
|
var n = t, r, s, o, c, i, l, a, u, f, p = !0, d = !0, k = this.posMax, b = this.src.charCodeAt(t);
|
|
7713
7712
|
for (r = t > 0 ? this.src.charCodeAt(t - 1) : 32; n < k && this.src.charCodeAt(n) === b; )
|
|
7714
7713
|
n++;
|
|
7715
|
-
return o = n - t, s = n < k ? this.src.charCodeAt(n) : 32, a =
|
|
7714
|
+
return o = n - t, s = n < k ? this.src.charCodeAt(n) : 32, a = gc(r) || dc(String.fromCharCode(r)), f = gc(s) || dc(String.fromCharCode(s)), l = hc(r), u = hc(s), u ? p = !1 : f && (l || a || (p = !1)), l ? d = !1 : a && (u || f || (d = !1)), e ? (c = p, i = d) : (c = p && (!d || a), i = d && (!p || f)), {
|
|
7716
7715
|
can_open: c,
|
|
7717
7716
|
can_close: i,
|
|
7718
7717
|
length: o
|
|
7719
7718
|
};
|
|
7720
7719
|
};
|
|
7721
|
-
Tn.prototype.Token =
|
|
7722
|
-
var PV = Tn,
|
|
7720
|
+
Tn.prototype.Token = Us;
|
|
7721
|
+
var PV = Tn, mc = Ps, Vr = [
|
|
7723
7722
|
["text", gV],
|
|
7724
7723
|
["newline", _V],
|
|
7725
7724
|
["escape", vV],
|
|
@@ -7739,9 +7738,9 @@ var PV = Tn, _c = Bs, Vr = [
|
|
|
7739
7738
|
];
|
|
7740
7739
|
function Rn() {
|
|
7741
7740
|
var t;
|
|
7742
|
-
for (this.ruler = new
|
|
7741
|
+
for (this.ruler = new mc(), t = 0; t < Vr.length; t++)
|
|
7743
7742
|
this.ruler.push(Vr[t][0], Vr[t][1]);
|
|
7744
|
-
for (this.ruler2 = new
|
|
7743
|
+
for (this.ruler2 = new mc(), t = 0; t < Gr.length; t++)
|
|
7745
7744
|
this.ruler2.push(Gr[t][0], Gr[t][1]);
|
|
7746
7745
|
}
|
|
7747
7746
|
Rn.prototype.skipToken = function(t) {
|
|
@@ -7777,11 +7776,11 @@ Rn.prototype.parse = function(t, e, n, r) {
|
|
|
7777
7776
|
o[s](i);
|
|
7778
7777
|
};
|
|
7779
7778
|
Rn.prototype.State = PV;
|
|
7780
|
-
var BV = Rn, Zr,
|
|
7779
|
+
var BV = Rn, Zr, _c;
|
|
7781
7780
|
function $V() {
|
|
7782
|
-
return
|
|
7781
|
+
return _c || (_c = 1, Zr = function(t) {
|
|
7783
7782
|
var e = {};
|
|
7784
|
-
e.src_Any = Ii().source, e.src_Cc = Fi().source, e.src_Z = Li().source, e.src_P =
|
|
7783
|
+
e.src_Any = Ii().source, e.src_Cc = Fi().source, e.src_Z = Li().source, e.src_P = Os.source, e.src_ZPCc = [e.src_Z, e.src_P, e.src_Cc].join("|"), e.src_ZCc = [e.src_Z, e.src_Cc].join("|");
|
|
7785
7784
|
var n = "[><|]";
|
|
7786
7785
|
return e.src_pseudo_letter = "(?:(?!" + n + "|" + e.src_ZPCc + ")" + e.src_Any + ")", e.src_ip4 = "(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)", e.src_auth = "(?:(?:(?!" + e.src_ZCc + "|[@/\\[\\]()]).)+@)?", e.src_port = "(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?", e.src_host_terminator = "(?=$|" + n + "|" + e.src_ZPCc + ")(?!-|_|:\\d|\\.-|\\.(?!$|" + e.src_ZPCc + "))", e.src_path = "(?:[/?#](?:(?!" + e.src_ZCc + "|" + n + `|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!` + e.src_ZCc + "|\\]).)*\\]|\\((?:(?!" + e.src_ZCc + "|[)]).)*\\)|\\{(?:(?!" + e.src_ZCc + '|[}]).)*\\}|\\"(?:(?!' + e.src_ZCc + `|["]).)+\\"|\\'(?:(?!` + e.src_ZCc + "|[']).)+\\'|\\'(?=" + e.src_pseudo_letter + "|[-]).|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!" + e.src_ZCc + "|[.]).|" + (t && t["---"] ? "\\-(?!--(?:[^-]|$))(?:-*)|" : "\\-+|") + ",(?!" + e.src_ZCc + ").|;(?!" + e.src_ZCc + ").|\\!+(?!" + e.src_ZCc + "|[!]).|\\?(?!" + e.src_ZCc + "|[?]).)+|\\/)?", e.src_email_name = '[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*', e.src_xn = "xn--[a-z0-9\\-]{1,59}", e.src_domain_root = // Allow letters & digits (http://test1)
|
|
7787
7786
|
"(?:" + e.src_xn + "|" + e.src_pseudo_letter + "{1,63})", e.src_domain = "(?:" + e.src_xn + "|(?:" + e.src_pseudo_letter + ")|(?:" + e.src_pseudo_letter + "(?:-|" + e.src_pseudo_letter + "){0,61}" + e.src_pseudo_letter + "))", e.src_host = "(?:(?:(?:(?:" + e.src_domain + ")\\.)*" + e.src_domain + "))", e.tpl_host_fuzzy = "(?:" + e.src_ip4 + "|(?:(?:(?:" + e.src_domain + ")\\.)+(?:%TLDS%)))", e.tpl_host_no_ip_fuzzy = "(?:(?:(?:" + e.src_domain + ")\\.)+(?:%TLDS%))", e.src_host_strict = e.src_host + e.src_host_terminator, e.tpl_host_fuzzy_strict = e.tpl_host_fuzzy + e.src_host_terminator, e.src_host_port_strict = e.src_host + e.src_port + e.src_host_terminator, e.tpl_host_port_fuzzy_strict = e.tpl_host_fuzzy + e.src_port + e.src_host_terminator, e.tpl_host_port_no_ip_fuzzy_strict = e.tpl_host_no_ip_fuzzy + e.src_port + e.src_host_terminator, e.tpl_host_fuzzy_test = "localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:" + e.src_ZPCc + "|>|$))", e.tpl_email_fuzzy = "(^|" + n + '|"|\\(|' + e.src_ZCc + ")(" + e.src_email_name + "@" + e.tpl_host_fuzzy_strict + ")", e.tpl_link_fuzzy = // Fuzzy link can't be prepended with .:/\- and non punctuation.
|
|
@@ -7811,7 +7810,7 @@ function UV(t) {
|
|
|
7811
7810
|
function HV(t) {
|
|
7812
7811
|
return Cr(t) === "[object RegExp]";
|
|
7813
7812
|
}
|
|
7814
|
-
function
|
|
7813
|
+
function bc(t) {
|
|
7815
7814
|
return Cr(t) === "[object Function]";
|
|
7816
7815
|
}
|
|
7817
7816
|
function jV(t) {
|
|
@@ -7869,7 +7868,7 @@ function JV(t) {
|
|
|
7869
7868
|
return t.test(r) ? r.match(t)[0].length : 0;
|
|
7870
7869
|
};
|
|
7871
7870
|
}
|
|
7872
|
-
function
|
|
7871
|
+
function vc() {
|
|
7873
7872
|
return function(t, e) {
|
|
7874
7873
|
e.normalize(t);
|
|
7875
7874
|
};
|
|
@@ -7891,7 +7890,7 @@ function nr(t) {
|
|
|
7891
7890
|
if (l !== null) {
|
|
7892
7891
|
var a = { validate: null, link: null };
|
|
7893
7892
|
if (t.__compiled__[i] = a, UV(l)) {
|
|
7894
|
-
HV(l.validate) ? a.validate = JV(l.validate) :
|
|
7893
|
+
HV(l.validate) ? a.validate = JV(l.validate) : bc(l.validate) ? a.validate = l.validate : o(i, l), bc(l.normalize) ? a.normalize = l.normalize : l.normalize ? o(i, l) : a.normalize = vc();
|
|
7895
7894
|
return;
|
|
7896
7895
|
}
|
|
7897
7896
|
if (zV(l)) {
|
|
@@ -7902,7 +7901,7 @@ function nr(t) {
|
|
|
7902
7901
|
}
|
|
7903
7902
|
}), s.forEach(function(i) {
|
|
7904
7903
|
t.__compiled__[t.__schemas__[i]] && (t.__compiled__[i].validate = t.__compiled__[t.__schemas__[i]].validate, t.__compiled__[i].normalize = t.__compiled__[t.__schemas__[i]].normalize);
|
|
7905
|
-
}), t.__compiled__[""] = { validate: null, normalize:
|
|
7904
|
+
}), t.__compiled__[""] = { validate: null, normalize: vc() };
|
|
7906
7905
|
var c = Object.keys(t.__compiled__).filter(function(i) {
|
|
7907
7906
|
return i.length > 0 && t.__compiled__[i];
|
|
7908
7907
|
}).map(jV).join("|");
|
|
@@ -7915,7 +7914,7 @@ function YV(t, e) {
|
|
|
7915
7914
|
var n = t.__index__, r = t.__last_index__, s = t.__text_cache__.slice(n, r);
|
|
7916
7915
|
this.schema = t.__schema__.toLowerCase(), this.index = n + e, this.lastIndex = r + e, this.raw = s, this.text = s, this.url = s;
|
|
7917
7916
|
}
|
|
7918
|
-
function
|
|
7917
|
+
function xc(t, e) {
|
|
7919
7918
|
var n = new YV(t, e);
|
|
7920
7919
|
return t.__compiled__[n.schema].normalize(n, t), n;
|
|
7921
7920
|
}
|
|
@@ -7951,9 +7950,9 @@ Oe.prototype.testSchemaAt = function(e, n, r) {
|
|
|
7951
7950
|
};
|
|
7952
7951
|
Oe.prototype.match = function(e) {
|
|
7953
7952
|
var n = 0, r = [];
|
|
7954
|
-
this.__index__ >= 0 && this.__text_cache__ === e && (r.push(
|
|
7953
|
+
this.__index__ >= 0 && this.__text_cache__ === e && (r.push(xc(this, n)), n = this.__last_index__);
|
|
7955
7954
|
for (var s = n ? e.slice(n) : e; this.test(s); )
|
|
7956
|
-
r.push(
|
|
7955
|
+
r.push(xc(this, n)), s = s.slice(this.__last_index__), n += this.__last_index__;
|
|
7957
7956
|
return r.length ? r : null;
|
|
7958
7957
|
};
|
|
7959
7958
|
Oe.prototype.tlds = function(e, n) {
|
|
@@ -7967,11 +7966,11 @@ Oe.prototype.normalize = function(e) {
|
|
|
7967
7966
|
Oe.prototype.onCompile = function() {
|
|
7968
7967
|
};
|
|
7969
7968
|
var XV = Oe;
|
|
7970
|
-
const jt = 2147483647, We = 36,
|
|
7969
|
+
const jt = 2147483647, We = 36, Hs = 1, wn = 26, QV = 38, e5 = 700, ji = 72, Vi = 128, Gi = "-", t5 = /^xn--/, n5 = /[^\0-\x7E]/, r5 = /[\x2E\u3002\uFF0E\uFF61]/g, s5 = {
|
|
7971
7970
|
overflow: "Overflow: input needs wider integers to process",
|
|
7972
7971
|
"not-basic": "Illegal input >= 0x80 (not a basic code point)",
|
|
7973
7972
|
"invalid-input": "Invalid input"
|
|
7974
|
-
}, Kr = We -
|
|
7973
|
+
}, Kr = We - Hs, Je = Math.floor, Wr = String.fromCharCode;
|
|
7975
7974
|
function Et(t) {
|
|
7976
7975
|
throw new RangeError(s5[t]);
|
|
7977
7976
|
}
|
|
@@ -7989,7 +7988,7 @@ function Zi(t, e) {
|
|
|
7989
7988
|
const s = t.split("."), o = o5(s, e).join(".");
|
|
7990
7989
|
return r + o;
|
|
7991
7990
|
}
|
|
7992
|
-
function
|
|
7991
|
+
function js(t) {
|
|
7993
7992
|
const e = [];
|
|
7994
7993
|
let n = 0;
|
|
7995
7994
|
const r = t.length;
|
|
@@ -8005,14 +8004,14 @@ function Vs(t) {
|
|
|
8005
8004
|
}
|
|
8006
8005
|
const Ki = (t) => String.fromCodePoint(...t), c5 = function(t) {
|
|
8007
8006
|
return t - 48 < 10 ? t - 22 : t - 65 < 26 ? t - 65 : t - 97 < 26 ? t - 97 : We;
|
|
8008
|
-
},
|
|
8007
|
+
}, yc = function(t, e) {
|
|
8009
8008
|
return t + 22 + 75 * (t < 26) - ((e != 0) << 5);
|
|
8010
8009
|
}, Wi = function(t, e, n) {
|
|
8011
8010
|
let r = 0;
|
|
8012
8011
|
for (t = n ? Je(t / e5) : t >> 1, t += Je(t / e); t > Kr * wn >> 1; r += We)
|
|
8013
8012
|
t = Je(t / Kr);
|
|
8014
8013
|
return Je(r + (Kr + 1) * t / (t + QV));
|
|
8015
|
-
},
|
|
8014
|
+
}, Vs = function(t) {
|
|
8016
8015
|
const e = [], n = t.length;
|
|
8017
8016
|
let r = 0, s = Vi, o = ji, c = t.lastIndexOf(Gi);
|
|
8018
8017
|
c < 0 && (c = 0);
|
|
@@ -8024,7 +8023,7 @@ const Ki = (t) => String.fromCodePoint(...t), c5 = function(t) {
|
|
|
8024
8023
|
i >= n && Et("invalid-input");
|
|
8025
8024
|
const p = c5(t.charCodeAt(i++));
|
|
8026
8025
|
(p >= We || p > Je((jt - r) / u)) && Et("overflow"), r += p * u;
|
|
8027
|
-
const d = f <= o ?
|
|
8026
|
+
const d = f <= o ? Hs : f >= o + wn ? wn : f - o;
|
|
8028
8027
|
if (p < d)
|
|
8029
8028
|
break;
|
|
8030
8029
|
const k = We - d;
|
|
@@ -8034,9 +8033,9 @@ const Ki = (t) => String.fromCodePoint(...t), c5 = function(t) {
|
|
|
8034
8033
|
o = Wi(r - l, a, l == 0), Je(r / a) > jt - s && Et("overflow"), s += Je(r / a), r %= a, e.splice(r++, 0, s);
|
|
8035
8034
|
}
|
|
8036
8035
|
return String.fromCodePoint(...e);
|
|
8037
|
-
},
|
|
8036
|
+
}, Gs = function(t) {
|
|
8038
8037
|
const e = [];
|
|
8039
|
-
t =
|
|
8038
|
+
t = js(t);
|
|
8040
8039
|
let n = t.length, r = Vi, s = 0, o = ji;
|
|
8041
8040
|
for (const l of t)
|
|
8042
8041
|
l < 128 && e.push(Wr(l));
|
|
@@ -8051,26 +8050,26 @@ const Ki = (t) => String.fromCodePoint(...t), c5 = function(t) {
|
|
|
8051
8050
|
if (u < r && ++s > jt && Et("overflow"), u === r) {
|
|
8052
8051
|
let f = s;
|
|
8053
8052
|
for (let p = We; ; p += We) {
|
|
8054
|
-
const d = p <= o ?
|
|
8053
|
+
const d = p <= o ? Hs : p >= o + wn ? wn : p - o;
|
|
8055
8054
|
if (f < d)
|
|
8056
8055
|
break;
|
|
8057
8056
|
const k = f - d, b = We - d;
|
|
8058
8057
|
e.push(
|
|
8059
|
-
Wr(
|
|
8058
|
+
Wr(yc(d + k % b, 0))
|
|
8060
8059
|
), f = Je(k / b);
|
|
8061
8060
|
}
|
|
8062
|
-
e.push(Wr(
|
|
8061
|
+
e.push(Wr(yc(f, 0))), o = Wi(s, a, i === c), s = 0, ++i;
|
|
8063
8062
|
}
|
|
8064
8063
|
++s, ++r;
|
|
8065
8064
|
}
|
|
8066
8065
|
return e.join("");
|
|
8067
8066
|
}, Ji = function(t) {
|
|
8068
8067
|
return Zi(t, function(e) {
|
|
8069
|
-
return t5.test(e) ?
|
|
8068
|
+
return t5.test(e) ? Vs(e.slice(4).toLowerCase()) : e;
|
|
8070
8069
|
});
|
|
8071
8070
|
}, Yi = function(t) {
|
|
8072
8071
|
return Zi(t, function(e) {
|
|
8073
|
-
return n5.test(e) ? "xn--" +
|
|
8072
|
+
return n5.test(e) ? "xn--" + Gs(e) : e;
|
|
8074
8073
|
});
|
|
8075
8074
|
}, i5 = {
|
|
8076
8075
|
/**
|
|
@@ -8087,21 +8086,21 @@ const Ki = (t) => String.fromCodePoint(...t), c5 = function(t) {
|
|
|
8087
8086
|
* @type Object
|
|
8088
8087
|
*/
|
|
8089
8088
|
ucs2: {
|
|
8090
|
-
decode:
|
|
8089
|
+
decode: js,
|
|
8091
8090
|
encode: Ki
|
|
8092
8091
|
},
|
|
8093
|
-
decode:
|
|
8094
|
-
encode:
|
|
8092
|
+
decode: Vs,
|
|
8093
|
+
encode: Gs,
|
|
8095
8094
|
toASCII: Yi,
|
|
8096
8095
|
toUnicode: Ji
|
|
8097
8096
|
}, l5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8098
8097
|
__proto__: null,
|
|
8099
|
-
decode:
|
|
8098
|
+
decode: Vs,
|
|
8100
8099
|
default: i5,
|
|
8101
|
-
encode:
|
|
8100
|
+
encode: Gs,
|
|
8102
8101
|
toASCII: Yi,
|
|
8103
8102
|
toUnicode: Ji,
|
|
8104
|
-
ucs2decode:
|
|
8103
|
+
ucs2decode: js,
|
|
8105
8104
|
ucs2encode: Ki
|
|
8106
8105
|
}, Symbol.toStringTag, { value: "Module" })), a5 = /* @__PURE__ */ wf(l5);
|
|
8107
8106
|
var u5 = {
|
|
@@ -8387,7 +8386,7 @@ var D5 = He({
|
|
|
8387
8386
|
this.md = new S5((t = this.options) !== null && t !== void 0 ? t : {});
|
|
8388
8387
|
},
|
|
8389
8388
|
render: function() {
|
|
8390
|
-
return
|
|
8389
|
+
return Ai("div", { innerHTML: this.content });
|
|
8391
8390
|
}
|
|
8392
8391
|
});
|
|
8393
8392
|
const T5 = D5;
|
|
@@ -8401,7 +8400,7 @@ function el(t) {
|
|
|
8401
8400
|
(r === "object" || r === "function") && !Object.isFrozen(n) && el(n);
|
|
8402
8401
|
}), t;
|
|
8403
8402
|
}
|
|
8404
|
-
class
|
|
8403
|
+
class kc {
|
|
8405
8404
|
/**
|
|
8406
8405
|
* @param {CompiledMode} mode
|
|
8407
8406
|
*/
|
|
@@ -8425,7 +8424,7 @@ function it(t, ...e) {
|
|
|
8425
8424
|
}), /** @type {T} */
|
|
8426
8425
|
n;
|
|
8427
8426
|
}
|
|
8428
|
-
const R5 = "</span>",
|
|
8427
|
+
const R5 = "</span>", Ec = (t) => !!t.scope, q5 = (t, { prefix: e }) => {
|
|
8429
8428
|
if (t.startsWith("language:"))
|
|
8430
8429
|
return t.replace("language:", "language-");
|
|
8431
8430
|
if (t.includes(".")) {
|
|
@@ -8459,7 +8458,7 @@ class M5 {
|
|
|
8459
8458
|
*
|
|
8460
8459
|
* @param {Node} node */
|
|
8461
8460
|
openNode(e) {
|
|
8462
|
-
if (!
|
|
8461
|
+
if (!Ec(e))
|
|
8463
8462
|
return;
|
|
8464
8463
|
const n = q5(
|
|
8465
8464
|
e.scope,
|
|
@@ -8472,7 +8471,7 @@ class M5 {
|
|
|
8472
8471
|
*
|
|
8473
8472
|
* @param {Node} node */
|
|
8474
8473
|
closeNode(e) {
|
|
8475
|
-
|
|
8474
|
+
Ec(e) && (this.buffer += R5);
|
|
8476
8475
|
}
|
|
8477
8476
|
/**
|
|
8478
8477
|
* returns the accumulated buffer
|
|
@@ -8489,13 +8488,13 @@ class M5 {
|
|
|
8489
8488
|
this.buffer += `<span class="${e}">`;
|
|
8490
8489
|
}
|
|
8491
8490
|
}
|
|
8492
|
-
const
|
|
8491
|
+
const wc = (t = {}) => {
|
|
8493
8492
|
const e = { children: [] };
|
|
8494
8493
|
return Object.assign(e, t), e;
|
|
8495
8494
|
};
|
|
8496
|
-
class
|
|
8495
|
+
class Zs {
|
|
8497
8496
|
constructor() {
|
|
8498
|
-
this.rootNode =
|
|
8497
|
+
this.rootNode = wc(), this.stack = [this.rootNode];
|
|
8499
8498
|
}
|
|
8500
8499
|
get top() {
|
|
8501
8500
|
return this.stack[this.stack.length - 1];
|
|
@@ -8509,7 +8508,7 @@ class Ks {
|
|
|
8509
8508
|
}
|
|
8510
8509
|
/** @param {string} scope */
|
|
8511
8510
|
openNode(e) {
|
|
8512
|
-
const n =
|
|
8511
|
+
const n = wc({ scope: e });
|
|
8513
8512
|
this.add(n), this.stack.push(n);
|
|
8514
8513
|
}
|
|
8515
8514
|
closeNode() {
|
|
@@ -8542,11 +8541,11 @@ class Ks {
|
|
|
8542
8541
|
*/
|
|
8543
8542
|
static _collapse(e) {
|
|
8544
8543
|
typeof e != "string" && e.children && (e.children.every((n) => typeof n == "string") ? e.children = [e.children.join("")] : e.children.forEach((n) => {
|
|
8545
|
-
|
|
8544
|
+
Zs._collapse(n);
|
|
8546
8545
|
}));
|
|
8547
8546
|
}
|
|
8548
8547
|
}
|
|
8549
|
-
class N5 extends
|
|
8548
|
+
class N5 extends Zs {
|
|
8550
8549
|
/**
|
|
8551
8550
|
* @param {*} options
|
|
8552
8551
|
*/
|
|
@@ -8600,7 +8599,7 @@ function L5(t) {
|
|
|
8600
8599
|
const e = t[t.length - 1];
|
|
8601
8600
|
return typeof e == "object" && e.constructor === Object ? (t.splice(t.length - 1, 1), e) : {};
|
|
8602
8601
|
}
|
|
8603
|
-
function
|
|
8602
|
+
function Ks(...t) {
|
|
8604
8603
|
return "(" + (L5(t).capture ? "" : "?:") + t.map((r) => Cn(r)).join("|") + ")";
|
|
8605
8604
|
}
|
|
8606
8605
|
function rl(t) {
|
|
@@ -8611,7 +8610,7 @@ function O5(t, e) {
|
|
|
8611
8610
|
return n && n.index === 0;
|
|
8612
8611
|
}
|
|
8613
8612
|
const P5 = /\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;
|
|
8614
|
-
function
|
|
8613
|
+
function Ws(t, { joinWith: e }) {
|
|
8615
8614
|
let n = 0;
|
|
8616
8615
|
return t.map((r) => {
|
|
8617
8616
|
n += 1;
|
|
@@ -8628,7 +8627,7 @@ function Js(t, { joinWith: e }) {
|
|
|
8628
8627
|
return c;
|
|
8629
8628
|
}).map((r) => `(${r})`).join(e);
|
|
8630
8629
|
}
|
|
8631
|
-
const B5 = /\b\B/, sl = "[a-zA-Z]\\w*",
|
|
8630
|
+
const B5 = /\b\B/, sl = "[a-zA-Z]\\w*", Js = "[a-zA-Z_]\\w*", ol = "\\b\\d+(\\.\\d+)?", cl = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", il = "\\b(0b[01]+)", $5 = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", z5 = (t = {}) => {
|
|
8632
8631
|
const e = /^#![ ]*\//;
|
|
8633
8632
|
return t.binary && (t.begin = Mt(
|
|
8634
8633
|
e,
|
|
@@ -8681,7 +8680,7 @@ const B5 = /\b\B/, sl = "[a-zA-Z]\\w*", Ys = "[a-zA-Z_]\\w*", ol = "\\b\\d+(\\.\
|
|
|
8681
8680
|
excludeBegin: !0,
|
|
8682
8681
|
relevance: 0
|
|
8683
8682
|
});
|
|
8684
|
-
const s =
|
|
8683
|
+
const s = Ks(
|
|
8685
8684
|
// list of common 1 and 2 letter words in English
|
|
8686
8685
|
"I",
|
|
8687
8686
|
"a",
|
|
@@ -8769,11 +8768,11 @@ const B5 = /\b\B/, sl = "[a-zA-Z]\\w*", Ys = "[a-zA-Z_]\\w*", ol = "\\b\\d+(\\.\
|
|
|
8769
8768
|
relevance: 0
|
|
8770
8769
|
}, Q5 = {
|
|
8771
8770
|
scope: "title",
|
|
8772
|
-
begin:
|
|
8771
|
+
begin: Js,
|
|
8773
8772
|
relevance: 0
|
|
8774
8773
|
}, e9 = {
|
|
8775
8774
|
// excludes method names from keyword processing
|
|
8776
|
-
begin: "\\.\\s*" +
|
|
8775
|
+
begin: "\\.\\s*" + Js,
|
|
8777
8776
|
relevance: 0
|
|
8778
8777
|
}, t9 = function(t) {
|
|
8779
8778
|
return Object.assign(
|
|
@@ -8794,7 +8793,7 @@ var zn = /* @__PURE__ */ Object.freeze({
|
|
|
8794
8793
|
__proto__: null,
|
|
8795
8794
|
MATCH_NOTHING_RE: B5,
|
|
8796
8795
|
IDENT_RE: sl,
|
|
8797
|
-
UNDERSCORE_IDENT_RE:
|
|
8796
|
+
UNDERSCORE_IDENT_RE: Js,
|
|
8798
8797
|
NUMBER_RE: ol,
|
|
8799
8798
|
C_NUMBER_RE: cl,
|
|
8800
8799
|
BINARY_NUMBER_RE: il,
|
|
@@ -8827,7 +8826,7 @@ function s9(t, e) {
|
|
|
8827
8826
|
e && t.beginKeywords && (t.begin = "\\b(" + t.beginKeywords.split(" ").join("|") + ")(?!\\.)(?=\\b|\\s)", t.__beforeBegin = n9, t.keywords = t.keywords || t.beginKeywords, delete t.beginKeywords, t.relevance === void 0 && (t.relevance = 0));
|
|
8828
8827
|
}
|
|
8829
8828
|
function o9(t, e) {
|
|
8830
|
-
Array.isArray(t.illegal) && (t.illegal =
|
|
8829
|
+
Array.isArray(t.illegal) && (t.illegal = Ks(...t.illegal));
|
|
8831
8830
|
}
|
|
8832
8831
|
function c9(t, e) {
|
|
8833
8832
|
if (t.match) {
|
|
@@ -8890,12 +8889,12 @@ function f9(t, e) {
|
|
|
8890
8889
|
function p9(t) {
|
|
8891
8890
|
return a9.includes(t.toLowerCase());
|
|
8892
8891
|
}
|
|
8893
|
-
const
|
|
8892
|
+
const Cc = {}, Dt = (t) => {
|
|
8894
8893
|
console.error(t);
|
|
8895
|
-
},
|
|
8894
|
+
}, Ac = (t, ...e) => {
|
|
8896
8895
|
console.log(`WARN: ${t}`, ...e);
|
|
8897
8896
|
}, Lt = (t, e) => {
|
|
8898
|
-
|
|
8897
|
+
Cc[`${t}/${e}`] || (console.log(`Deprecated as of ${t}. ${e}`), Cc[`${t}/${e}`] = !0);
|
|
8899
8898
|
}, rr = new Error();
|
|
8900
8899
|
function al(t, e, { key: n }) {
|
|
8901
8900
|
let r = 0;
|
|
@@ -8910,7 +8909,7 @@ function h9(t) {
|
|
|
8910
8909
|
throw Dt("skip, excludeBegin, returnBegin not compatible with beginScope: {}"), rr;
|
|
8911
8910
|
if (typeof t.beginScope != "object" || t.beginScope === null)
|
|
8912
8911
|
throw Dt("beginScope must be object"), rr;
|
|
8913
|
-
al(t, t.begin, { key: "beginScope" }), t.begin =
|
|
8912
|
+
al(t, t.begin, { key: "beginScope" }), t.begin = Ws(t.begin, { joinWith: "" });
|
|
8914
8913
|
}
|
|
8915
8914
|
}
|
|
8916
8915
|
function d9(t) {
|
|
@@ -8919,7 +8918,7 @@ function d9(t) {
|
|
|
8919
8918
|
throw Dt("skip, excludeEnd, returnEnd not compatible with endScope: {}"), rr;
|
|
8920
8919
|
if (typeof t.endScope != "object" || t.endScope === null)
|
|
8921
8920
|
throw Dt("endScope must be object"), rr;
|
|
8922
|
-
al(t, t.end, { key: "endScope" }), t.end =
|
|
8921
|
+
al(t, t.end, { key: "endScope" }), t.end = Ws(t.end, { joinWith: "" });
|
|
8923
8922
|
}
|
|
8924
8923
|
}
|
|
8925
8924
|
function g9(t) {
|
|
@@ -8946,7 +8945,7 @@ function _9(t) {
|
|
|
8946
8945
|
compile() {
|
|
8947
8946
|
this.regexes.length === 0 && (this.exec = () => null);
|
|
8948
8947
|
const i = this.regexes.map((l) => l[1]);
|
|
8949
|
-
this.matcherRe = e(
|
|
8948
|
+
this.matcherRe = e(Ws(i, { joinWith: "|" }), !0), this.lastIndex = 0;
|
|
8950
8949
|
}
|
|
8951
8950
|
/** @param {string} s */
|
|
8952
8951
|
exec(i) {
|
|
@@ -9052,7 +9051,7 @@ class x9 extends Error {
|
|
|
9052
9051
|
super(e), this.name = "HTMLInjectionError", this.html = n;
|
|
9053
9052
|
}
|
|
9054
9053
|
}
|
|
9055
|
-
const Jr = tl,
|
|
9054
|
+
const Jr = tl, Sc = it, Dc = Symbol("nomatch"), y9 = 7, fl = function(t) {
|
|
9056
9055
|
const e = /* @__PURE__ */ Object.create(null), n = /* @__PURE__ */ Object.create(null), r = [];
|
|
9057
9056
|
let s = !0;
|
|
9058
9057
|
const o = "Could not find the language '{}', did you forget to load/include a language module?", c = { disableAutodetect: !0, name: "Plain text", contains: [] };
|
|
@@ -9077,7 +9076,7 @@ const Jr = tl, Dc = it, Tc = Symbol("nomatch"), y9 = 7, fl = function(t) {
|
|
|
9077
9076
|
const Z = i.languageDetectRe.exec(S);
|
|
9078
9077
|
if (Z) {
|
|
9079
9078
|
const te = X(Z[1]);
|
|
9080
|
-
return te || (
|
|
9079
|
+
return te || (Ac(o.replace("{}", Z[1])), Ac("Falling back to no-highlight mode for this block.", v)), te ? Z[1] : "no-highlight";
|
|
9081
9080
|
}
|
|
9082
9081
|
return S.split(/\s+/).find((te) => l(te) || X(te));
|
|
9083
9082
|
}
|
|
@@ -9163,7 +9162,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ie = v, te = S), Z ==
|
|
|
9163
9162
|
let Y = O5(w.endRe, H);
|
|
9164
9163
|
if (Y) {
|
|
9165
9164
|
if (w["on:end"]) {
|
|
9166
|
-
const pe = new
|
|
9165
|
+
const pe = new kc(w);
|
|
9167
9166
|
w["on:end"](R, pe), pe.isMatchIgnored && (Y = !1);
|
|
9168
9167
|
}
|
|
9169
9168
|
if (Y) {
|
|
@@ -9179,7 +9178,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ie = v, te = S), Z ==
|
|
|
9179
9178
|
return m.matcher.regexIndex === 0 ? (L += w[0], 1) : (Q = !0, 0);
|
|
9180
9179
|
}
|
|
9181
9180
|
function sn(w) {
|
|
9182
|
-
const R = w[0], H = w.rule, Y = new
|
|
9181
|
+
const R = w[0], H = w.rule, Y = new kc(H), pe = [H.__beforeBegin, H["on:begin"]];
|
|
9183
9182
|
for (const Ne of pe)
|
|
9184
9183
|
if (Ne && (Ne(w, Y), Y.isMatchIgnored))
|
|
9185
9184
|
return rn(R);
|
|
@@ -9188,7 +9187,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ie = v, te = S), Z ==
|
|
|
9188
9187
|
function h(w) {
|
|
9189
9188
|
const R = w[0], H = S.substring(w.index), Y = Qe(m, w, H);
|
|
9190
9189
|
if (!Y)
|
|
9191
|
-
return
|
|
9190
|
+
return Dc;
|
|
9192
9191
|
const pe = m;
|
|
9193
9192
|
m.endScope && m.endScope._wrap ? (Ce(), ge(R, m.endScope._wrap)) : m.endScope && m.endScope._multi ? (Ce(), ht(m.endScope, w)) : pe.skip ? L += R : (pe.returnEnd || pe.excludeEnd || (L += R), Ce(), pe.excludeEnd && (L = R));
|
|
9194
9193
|
do
|
|
@@ -9221,7 +9220,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ie = v, te = S), Z ==
|
|
|
9221
9220
|
throw Y.mode = m, Y;
|
|
9222
9221
|
} else if (R.type === "end") {
|
|
9223
9222
|
const Y = h(R);
|
|
9224
|
-
if (Y !==
|
|
9223
|
+
if (Y !== Dc)
|
|
9225
9224
|
return Y;
|
|
9226
9225
|
}
|
|
9227
9226
|
if (R.type === "illegal" && H === "")
|
|
@@ -9348,7 +9347,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ie = v, te = S), Z ==
|
|
|
9348
9347
|
}), ne("after:highlightElement", { el: v, result: ie, text: te });
|
|
9349
9348
|
}
|
|
9350
9349
|
function I(v) {
|
|
9351
|
-
i =
|
|
9350
|
+
i = Sc(i, v);
|
|
9352
9351
|
}
|
|
9353
9352
|
const T = () => {
|
|
9354
9353
|
A(), Lt("10.6.0", "initHighlighting() deprecated. Use highlightAll() now.");
|
|
@@ -9444,7 +9443,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ie = v, te = S), Z ==
|
|
|
9444
9443
|
getLanguage: X,
|
|
9445
9444
|
registerAliases: z,
|
|
9446
9445
|
autoDetection: J,
|
|
9447
|
-
inherit:
|
|
9446
|
+
inherit: Sc,
|
|
9448
9447
|
addPlugin: re,
|
|
9449
9448
|
removePlugin: D
|
|
9450
9449
|
}), t.debugMode = function() {
|
|
@@ -9454,7 +9453,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ie = v, te = S), Z ==
|
|
|
9454
9453
|
}, t.versionString = v9, t.regex = {
|
|
9455
9454
|
concat: Mt,
|
|
9456
9455
|
lookahead: nl,
|
|
9457
|
-
either:
|
|
9456
|
+
either: Ks,
|
|
9458
9457
|
optional: F5,
|
|
9459
9458
|
anyNumberOfTimes: I5
|
|
9460
9459
|
};
|
|
@@ -9546,11 +9545,11 @@ const C9 = { class: "chat-messages-list" }, A9 = /* @__PURE__ */ He({
|
|
|
9546
9545
|
setup(t) {
|
|
9547
9546
|
const e = Ls(), { initialMessages: n, waitingForResponse: r } = e;
|
|
9548
9547
|
return (s, o) => (oe(), be("div", C9, [
|
|
9549
|
-
(oe(!0), be(Re, null,
|
|
9548
|
+
(oe(!0), be(Re, null, ao(he(n), (c) => (oe(), Se(hs, {
|
|
9550
9549
|
key: c.id,
|
|
9551
9550
|
message: c
|
|
9552
9551
|
}, null, 8, ["message"]))), 128)),
|
|
9553
|
-
(oe(!0), be(Re, null,
|
|
9552
|
+
(oe(!0), be(Re, null, ao(t.messages, (c) => (oe(), Se(hs, {
|
|
9554
9553
|
key: c.id,
|
|
9555
9554
|
message: c
|
|
9556
9555
|
}, null, 8, ["message"]))), 128)),
|
|
@@ -9585,7 +9584,7 @@ const q9 = { name: "mdi-send", render: R9 }, M9 = { class: "chat-input" }, N9 =
|
|
|
9585
9584
|
l.shiftKey || await c(l);
|
|
9586
9585
|
}
|
|
9587
9586
|
return (l, a) => (oe(), be("div", M9, [
|
|
9588
|
-
|
|
9587
|
+
ii(we("textarea", {
|
|
9589
9588
|
"onUpdate:modelValue": a[0] || (a[0] = (u) => s.value = u),
|
|
9590
9589
|
rows: "1",
|
|
9591
9590
|
placeholder: he(r)("inputPlaceholder"),
|
|
@@ -9685,7 +9684,7 @@ const V9 = { name: "mdi-chevron-down", render: j9 }, G9 = { class: "chat-window-
|
|
|
9685
9684
|
return (r, s) => (oe(), be("div", G9, [
|
|
9686
9685
|
de(er, { name: "chat-window-transition" }, {
|
|
9687
9686
|
default: ut(() => [
|
|
9688
|
-
|
|
9687
|
+
ii(we("div", Z9, [
|
|
9689
9688
|
de(pl)
|
|
9690
9689
|
], 512), [
|
|
9691
9690
|
[Ju, e.value]
|
|
@@ -9934,7 +9933,7 @@ function W9(t) {
|
|
|
9934
9933
|
]
|
|
9935
9934
|
};
|
|
9936
9935
|
}
|
|
9937
|
-
const
|
|
9936
|
+
const Tc = "[A-Za-z$_][0-9A-Za-z$_]*", J9 = [
|
|
9938
9937
|
"as",
|
|
9939
9938
|
// for exports
|
|
9940
9939
|
"in",
|
|
@@ -10082,7 +10081,7 @@ function eG(t) {
|
|
|
10082
10081
|
const e = t.regex, n = (S, { after: Z }) => {
|
|
10083
10082
|
const te = "</" + S[0].slice(1);
|
|
10084
10083
|
return S.input.indexOf(te, Z) !== -1;
|
|
10085
|
-
}, r =
|
|
10084
|
+
}, r = Tc, s = {
|
|
10086
10085
|
begin: "<>",
|
|
10087
10086
|
end: "</>"
|
|
10088
10087
|
}, o = /<[A-Za-z0-9\\._:-]+\s*\/>/, c = {
|
|
@@ -10118,7 +10117,7 @@ function eG(t) {
|
|
|
10118
10117
|
}
|
|
10119
10118
|
}
|
|
10120
10119
|
}, i = {
|
|
10121
|
-
$pattern:
|
|
10120
|
+
$pattern: Tc,
|
|
10122
10121
|
keyword: J9,
|
|
10123
10122
|
literal: Y9,
|
|
10124
10123
|
built_in: Q9,
|
|
@@ -10589,7 +10588,7 @@ const tG = /* @__PURE__ */ He({
|
|
|
10589
10588
|
__name: "App",
|
|
10590
10589
|
props: {},
|
|
10591
10590
|
setup(t) {
|
|
10592
|
-
const { options: e } =
|
|
10591
|
+
const { options: e } = qi(), n = Xt(() => e.mode === "fullscreen");
|
|
10593
10592
|
return Dn(() => {
|
|
10594
10593
|
sr.registerLanguage("xml", W9), sr.registerLanguage("javascript", eG);
|
|
10595
10594
|
}), (r, s) => n.value ? (oe(), Se(he(pl), {
|
|
@@ -10687,7 +10686,7 @@ async function aG(t, e, n) {
|
|
|
10687
10686
|
}
|
|
10688
10687
|
const uG = {
|
|
10689
10688
|
install(t, e) {
|
|
10690
|
-
t.provide(
|
|
10689
|
+
t.provide(Ri, e);
|
|
10691
10690
|
const n = zt([]), r = zt(null), s = zt(!1), o = Xt(
|
|
10692
10691
|
() => (e.initialMessages ?? []).map((a) => ({
|
|
10693
10692
|
id: an(),
|
|
@@ -10721,7 +10720,7 @@ const uG = {
|
|
|
10721
10720
|
});
|
|
10722
10721
|
}
|
|
10723
10722
|
async function i() {
|
|
10724
|
-
const a = localStorage.getItem(
|
|
10723
|
+
const a = localStorage.getItem(Oo) ?? an(), u = await lG(a, e), f = (/* @__PURE__ */ new Date()).toISOString();
|
|
10725
10724
|
return n.value = ((u == null ? void 0 : u.data) || []).map((p, d) => ({
|
|
10726
10725
|
id: `${d}`,
|
|
10727
10726
|
text: p.kwargs.content,
|
|
@@ -10730,9 +10729,9 @@ const uG = {
|
|
|
10730
10729
|
})), n.value.length && (r.value = a), a;
|
|
10731
10730
|
}
|
|
10732
10731
|
async function l() {
|
|
10733
|
-
r.value = an(), localStorage.setItem(
|
|
10732
|
+
r.value = an(), localStorage.setItem(Oo, r.value);
|
|
10734
10733
|
}
|
|
10735
|
-
t.provide(
|
|
10734
|
+
t.provide(Ti, {
|
|
10736
10735
|
initialMessages: o,
|
|
10737
10736
|
messages: n,
|
|
10738
10737
|
currentSessionId: r,
|