@samhammer/tiptob 2.3.25 → 2.3.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/extensions.js +942 -939
- package/dist/extensions.js.map +1 -1
- package/dist/web-components.js +336 -333
- package/dist/web-components.js.map +1 -1
- package/package.json +6 -6
package/dist/web-components.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
typeof window < "u" && ((window.__svelte ??= {}).v ??= /* @__PURE__ */ new Set()).add("5");
|
|
2
|
-
const Pn = 1, Bn = 2,
|
|
3
|
-
var
|
|
2
|
+
const Pn = 1, Bn = 2, Zo = 4, rs = 8, os = 16, is = 1, ss = 2, as = 4, ls = 8, us = 16, fs = 4, cs = 1, ds = 2, Uo = "[", Fn = "[!", Hr = "]", xt = {}, he = Symbol(), vs = "http://www.w3.org/1999/xhtml", zo = !1;
|
|
3
|
+
var jo = Array.isArray, gs = Array.prototype.indexOf, kr = Array.from, Vn = Object.keys, Rn = Object.defineProperty, Et = Object.getOwnPropertyDescriptor, hs = Object.getOwnPropertyDescriptors, ps = Object.prototype, ms = Array.prototype, Go = Object.getPrototypeOf, mo = Object.isExtensible;
|
|
4
4
|
function _s(e) {
|
|
5
5
|
return typeof e == "function";
|
|
6
6
|
}
|
|
@@ -10,17 +10,17 @@ function bs(e) {
|
|
|
10
10
|
for (var t = 0; t < e.length; t++)
|
|
11
11
|
e[t]();
|
|
12
12
|
}
|
|
13
|
-
function
|
|
13
|
+
function Wo() {
|
|
14
14
|
var e, t, n = new Promise((r, o) => {
|
|
15
15
|
e = r, t = o;
|
|
16
16
|
});
|
|
17
17
|
return { promise: n, resolve: e, reject: t };
|
|
18
18
|
}
|
|
19
|
-
const be = 2, Zn = 4, Mr = 8, qe = 16, at = 32, ht = 64, Un = 128, pe = 1024, Le = 2048, lt = 4096, ke = 8192, it = 16384, zn = 32768, gt = 65536,
|
|
19
|
+
const be = 2, Zn = 4, Mr = 8, qe = 16, at = 32, ht = 64, Un = 128, pe = 1024, Le = 2048, lt = 4096, ke = 8192, it = 16384, zn = 32768, gt = 65536, _o = 1 << 17, Yo = 1 << 18, Ht = 1 << 19, ws = 1 << 20, Oe = 256, On = 512, In = 32768, pr = 1 << 21, Sr = 1 << 22, ct = 1 << 23, ln = Symbol("$state"), qo = Symbol("legacy props"), Cs = Symbol(""), Bt = new class extends Error {
|
|
20
20
|
name = "StaleReactionError";
|
|
21
21
|
message = "The reaction that called `getAbortSignal()` was re-run or destroyed";
|
|
22
22
|
}(), Vr = 3, kt = 8;
|
|
23
|
-
function
|
|
23
|
+
function Ko(e) {
|
|
24
24
|
throw new Error("https://svelte.dev/e/lifecycle_outside_component");
|
|
25
25
|
}
|
|
26
26
|
function Es() {
|
|
@@ -103,7 +103,7 @@ function Dn(e = !0) {
|
|
|
103
103
|
if (r === Hr) {
|
|
104
104
|
if (t === 0) return n;
|
|
105
105
|
t -= 1;
|
|
106
|
-
} else (r ===
|
|
106
|
+
} else (r === Uo || r === Fn) && (t += 1);
|
|
107
107
|
}
|
|
108
108
|
var o = (
|
|
109
109
|
/** @type {TemplateNode} */
|
|
@@ -112,7 +112,7 @@ function Dn(e = !0) {
|
|
|
112
112
|
e && n.remove(), n = o;
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
|
-
function
|
|
115
|
+
function Xo(e) {
|
|
116
116
|
if (!e || e.nodeType !== kt)
|
|
117
117
|
throw vn(), xt;
|
|
118
118
|
return (
|
|
@@ -120,13 +120,13 @@ function Ko(e) {
|
|
|
120
120
|
e.data
|
|
121
121
|
);
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function Jo(e) {
|
|
124
124
|
return e === this.v;
|
|
125
125
|
}
|
|
126
126
|
function Is(e, t) {
|
|
127
127
|
return e != e ? t == t : e !== t || e !== null && typeof e == "object" || typeof e == "function";
|
|
128
128
|
}
|
|
129
|
-
function
|
|
129
|
+
function Qo(e) {
|
|
130
130
|
return !Is(e, this.v);
|
|
131
131
|
}
|
|
132
132
|
let Yt = !1, Ds = !1;
|
|
@@ -165,7 +165,7 @@ function gn() {
|
|
|
165
165
|
return !Yt || se !== null && se.l === null;
|
|
166
166
|
}
|
|
167
167
|
let Ct = [];
|
|
168
|
-
function
|
|
168
|
+
function ei() {
|
|
169
169
|
var e = Ct;
|
|
170
170
|
Ct = [], bs(e);
|
|
171
171
|
}
|
|
@@ -173,16 +173,16 @@ function pt(e) {
|
|
|
173
173
|
if (Ct.length === 0 && !un) {
|
|
174
174
|
var t = Ct;
|
|
175
175
|
queueMicrotask(() => {
|
|
176
|
-
t === Ct &&
|
|
176
|
+
t === Ct && ei();
|
|
177
177
|
});
|
|
178
178
|
}
|
|
179
179
|
Ct.push(e);
|
|
180
180
|
}
|
|
181
181
|
function $s() {
|
|
182
182
|
for (; Ct.length > 0; )
|
|
183
|
-
|
|
183
|
+
ei();
|
|
184
184
|
}
|
|
185
|
-
function
|
|
185
|
+
function ti(e) {
|
|
186
186
|
var t = I;
|
|
187
187
|
if (t === null)
|
|
188
188
|
return P.f |= ct, e;
|
|
@@ -279,7 +279,7 @@ class Fe {
|
|
|
279
279
|
};
|
|
280
280
|
for (const r of t)
|
|
281
281
|
this.#o(r, n);
|
|
282
|
-
this.is_fork || this.#u(), this.#r > 0 || this.is_fork ? (this.#i(n.effects), this.#i(n.render_effects), this.#i(n.block_effects)) : (kn = this, z = null,
|
|
282
|
+
this.is_fork || this.#u(), this.#r > 0 || this.is_fork ? (this.#i(n.effects), this.#i(n.render_effects), this.#i(n.block_effects)) : (kn = this, z = null, bo(n.render_effects), bo(n.effects), kn = null, this.#l?.resolve()), Pe = null;
|
|
283
283
|
}
|
|
284
284
|
/**
|
|
285
285
|
* Traverse the effect tree, executing effects or stashing
|
|
@@ -335,7 +335,7 @@ class Fe {
|
|
|
335
335
|
}
|
|
336
336
|
flush() {
|
|
337
337
|
if (this.activate(), We.length > 0) {
|
|
338
|
-
if (
|
|
338
|
+
if (ni(), z !== null && z !== this)
|
|
339
339
|
return;
|
|
340
340
|
} else this.#n === 0 && this.process([]);
|
|
341
341
|
this.deactivate();
|
|
@@ -381,7 +381,7 @@ class Fe {
|
|
|
381
381
|
if (s.length > 0) {
|
|
382
382
|
const a = /* @__PURE__ */ new Set(), u = /* @__PURE__ */ new Map();
|
|
383
383
|
for (const c of i)
|
|
384
|
-
|
|
384
|
+
ri(c, s, a, u);
|
|
385
385
|
if (We.length > 0) {
|
|
386
386
|
z = o, o.apply();
|
|
387
387
|
for (const c of We)
|
|
@@ -424,7 +424,7 @@ class Fe {
|
|
|
424
424
|
this.#e.add(t);
|
|
425
425
|
}
|
|
426
426
|
settled() {
|
|
427
|
-
return (this.#l ??=
|
|
427
|
+
return (this.#l ??= Wo()).promise;
|
|
428
428
|
}
|
|
429
429
|
static ensure() {
|
|
430
430
|
if (z === null) {
|
|
@@ -442,7 +442,7 @@ class Fe {
|
|
|
442
442
|
apply() {
|
|
443
443
|
}
|
|
444
444
|
}
|
|
445
|
-
function
|
|
445
|
+
function T(e) {
|
|
446
446
|
var t = un;
|
|
447
447
|
un = !0;
|
|
448
448
|
try {
|
|
@@ -450,18 +450,18 @@ function x(e) {
|
|
|
450
450
|
if ($s(), We.length === 0 && (z?.flush(), We.length === 0))
|
|
451
451
|
return jn = null, /** @type {T} */
|
|
452
452
|
n;
|
|
453
|
-
|
|
453
|
+
ni();
|
|
454
454
|
}
|
|
455
455
|
} finally {
|
|
456
456
|
un = t;
|
|
457
457
|
}
|
|
458
458
|
}
|
|
459
|
-
function
|
|
459
|
+
function ni() {
|
|
460
460
|
var e = Ut;
|
|
461
461
|
mr = !0;
|
|
462
462
|
try {
|
|
463
463
|
var t = 0;
|
|
464
|
-
for (
|
|
464
|
+
for (Eo(!0); We.length > 0; ) {
|
|
465
465
|
var n = Fe.ensure();
|
|
466
466
|
if (t++ > 1e3) {
|
|
467
467
|
var r, o;
|
|
@@ -470,7 +470,7 @@ function ti() {
|
|
|
470
470
|
n.process(We), dt.clear();
|
|
471
471
|
}
|
|
472
472
|
} finally {
|
|
473
|
-
mr = !1,
|
|
473
|
+
mr = !1, Eo(e), jn = null;
|
|
474
474
|
}
|
|
475
475
|
}
|
|
476
476
|
function Ps() {
|
|
@@ -481,7 +481,7 @@ function Ps() {
|
|
|
481
481
|
}
|
|
482
482
|
}
|
|
483
483
|
let nt = null;
|
|
484
|
-
function
|
|
484
|
+
function bo(e) {
|
|
485
485
|
var t = e.length;
|
|
486
486
|
if (t !== 0) {
|
|
487
487
|
for (var n = 0; n < t; ) {
|
|
@@ -505,31 +505,31 @@ function _o(e) {
|
|
|
505
505
|
nt = null;
|
|
506
506
|
}
|
|
507
507
|
}
|
|
508
|
-
function
|
|
508
|
+
function ri(e, t, n, r) {
|
|
509
509
|
if (!n.has(e) && (n.add(e), e.reactions !== null))
|
|
510
510
|
for (const o of e.reactions) {
|
|
511
511
|
const i = o.f;
|
|
512
|
-
(i & be) !== 0 ?
|
|
512
|
+
(i & be) !== 0 ? ri(
|
|
513
513
|
/** @type {Derived} */
|
|
514
514
|
o,
|
|
515
515
|
t,
|
|
516
516
|
n,
|
|
517
517
|
r
|
|
518
518
|
) : (i & (Sr | qe)) !== 0 && (i & Le) === 0 && // we may have scheduled this one already
|
|
519
|
-
|
|
519
|
+
oi(o, t, r) && (_e(o, Le), Tt(
|
|
520
520
|
/** @type {Effect} */
|
|
521
521
|
o
|
|
522
522
|
));
|
|
523
523
|
}
|
|
524
524
|
}
|
|
525
|
-
function
|
|
525
|
+
function oi(e, t, n) {
|
|
526
526
|
const r = n.get(e);
|
|
527
527
|
if (r !== void 0) return r;
|
|
528
528
|
if (e.deps !== null)
|
|
529
529
|
for (const o of e.deps) {
|
|
530
530
|
if (t.includes(o))
|
|
531
531
|
return !0;
|
|
532
|
-
if ((o.f & be) !== 0 &&
|
|
532
|
+
if ((o.f & be) !== 0 && oi(
|
|
533
533
|
/** @type {Derived} */
|
|
534
534
|
o,
|
|
535
535
|
t,
|
|
@@ -547,7 +547,7 @@ function Tt(e) {
|
|
|
547
547
|
for (var t = jn = e; t.parent !== null; ) {
|
|
548
548
|
t = t.parent;
|
|
549
549
|
var n = t.f;
|
|
550
|
-
if (mr && t === I && (n & qe) !== 0 && (n &
|
|
550
|
+
if (mr && t === I && (n & qe) !== 0 && (n & Yo) === 0)
|
|
551
551
|
return;
|
|
552
552
|
if ((n & (ht | at)) !== 0) {
|
|
553
553
|
if ((n & pe) === 0) return;
|
|
@@ -559,7 +559,7 @@ function Tt(e) {
|
|
|
559
559
|
function Bs(e) {
|
|
560
560
|
let t = 0, n = At(0), r;
|
|
561
561
|
return () => {
|
|
562
|
-
Js() && (
|
|
562
|
+
Js() && (x(n), Wn(() => (t === 0 && (r = mt(() => e(() => fn(n)))), t += 1, () => {
|
|
563
563
|
pt(() => {
|
|
564
564
|
t -= 1, t === 0 && (r?.(), r = void 0, fn(n));
|
|
565
565
|
});
|
|
@@ -679,7 +679,7 @@ class Us {
|
|
|
679
679
|
try {
|
|
680
680
|
return t();
|
|
681
681
|
} catch (i) {
|
|
682
|
-
return
|
|
682
|
+
return ti(i), null;
|
|
683
683
|
} finally {
|
|
684
684
|
Ye(n), Ae(r), jt(o);
|
|
685
685
|
}
|
|
@@ -718,7 +718,7 @@ class Us {
|
|
|
718
718
|
this.#_(t), this.#v += t, this.#d && Wt(this.#d, this.#v);
|
|
719
719
|
}
|
|
720
720
|
get_effect_pending() {
|
|
721
|
-
return this.#b(),
|
|
721
|
+
return this.#b(), x(
|
|
722
722
|
/** @type {Source<number>} */
|
|
723
723
|
this.#d
|
|
724
724
|
);
|
|
@@ -826,7 +826,7 @@ function Gn(e) {
|
|
|
826
826
|
ctx: se,
|
|
827
827
|
deps: null,
|
|
828
828
|
effects: null,
|
|
829
|
-
equals:
|
|
829
|
+
equals: Jo,
|
|
830
830
|
f: t,
|
|
831
831
|
fn: e,
|
|
832
832
|
reactions: null,
|
|
@@ -859,7 +859,7 @@ function Gs(e, t) {
|
|
|
859
859
|
he
|
|
860
860
|
), s = !P, a = /* @__PURE__ */ new Map();
|
|
861
861
|
return ta(() => {
|
|
862
|
-
var u =
|
|
862
|
+
var u = Wo();
|
|
863
863
|
o = u.promise;
|
|
864
864
|
try {
|
|
865
865
|
Promise.resolve(e()).then(u.resolve, u.reject).then(() => {
|
|
@@ -889,7 +889,7 @@ function Gs(e, t) {
|
|
|
889
889
|
s && (r.update_pending_count(-1), c.decrement(l));
|
|
890
890
|
};
|
|
891
891
|
u.promise.then(m, (p) => m(null, p || "unknown"));
|
|
892
|
-
}),
|
|
892
|
+
}), pi(() => {
|
|
893
893
|
for (const u of a.values())
|
|
894
894
|
u.reject(Bt);
|
|
895
895
|
}), new Promise((u) => {
|
|
@@ -910,9 +910,9 @@ function Rr(e) {
|
|
|
910
910
|
// @__NO_SIDE_EFFECTS__
|
|
911
911
|
function Or(e) {
|
|
912
912
|
const t = /* @__PURE__ */ Gn(e);
|
|
913
|
-
return t.equals =
|
|
913
|
+
return t.equals = Qo, t;
|
|
914
914
|
}
|
|
915
|
-
function
|
|
915
|
+
function ii(e) {
|
|
916
916
|
var t = e.effects;
|
|
917
917
|
if (t !== null) {
|
|
918
918
|
e.effects = null;
|
|
@@ -938,13 +938,13 @@ function Ir(e) {
|
|
|
938
938
|
var t, n = I;
|
|
939
939
|
Ye(Ws(e));
|
|
940
940
|
try {
|
|
941
|
-
e.f &= ~In,
|
|
941
|
+
e.f &= ~In, ii(e), t = ki(e);
|
|
942
942
|
} finally {
|
|
943
943
|
Ye(n);
|
|
944
944
|
}
|
|
945
945
|
return t;
|
|
946
946
|
}
|
|
947
|
-
function
|
|
947
|
+
function si(e) {
|
|
948
948
|
var t = Ir(e);
|
|
949
949
|
if (e.equals(t) || (e.v = t, e.wv = Li()), !Mt)
|
|
950
950
|
if (Pe !== null)
|
|
@@ -956,14 +956,14 @@ function ii(e) {
|
|
|
956
956
|
}
|
|
957
957
|
let _r = /* @__PURE__ */ new Set();
|
|
958
958
|
const dt = /* @__PURE__ */ new Map();
|
|
959
|
-
let
|
|
959
|
+
let ai = !1;
|
|
960
960
|
function At(e, t) {
|
|
961
961
|
var n = {
|
|
962
962
|
f: 0,
|
|
963
963
|
// TODO ideally we could skip this altogether, but it causes type errors
|
|
964
964
|
v: e,
|
|
965
965
|
reactions: null,
|
|
966
|
-
equals:
|
|
966
|
+
equals: Jo,
|
|
967
967
|
rv: 0,
|
|
968
968
|
wv: 0
|
|
969
969
|
};
|
|
@@ -975,14 +975,14 @@ function ee(e, t) {
|
|
|
975
975
|
return Ti(n), n;
|
|
976
976
|
}
|
|
977
977
|
// @__NO_SIDE_EFFECTS__
|
|
978
|
-
function
|
|
978
|
+
function li(e, t = !1, n = !0) {
|
|
979
979
|
const r = At(e);
|
|
980
|
-
return t || (r.equals =
|
|
980
|
+
return t || (r.equals = Qo), Yt && n && se !== null && se.l !== null && (se.l.s ??= []).push(r), r;
|
|
981
981
|
}
|
|
982
982
|
function S(e, t, n = !1) {
|
|
983
983
|
P !== null && // since we are untracking the function inside `$inspect.with` we need to add this check
|
|
984
984
|
// to ensure we error if state is set inside an inspect effect
|
|
985
|
-
(!Be || (P.f &
|
|
985
|
+
(!Be || (P.f & _o) !== 0) && gn() && (P.f & (be | qe | Sr | _o)) !== 0 && !st?.includes(e) && Ss();
|
|
986
986
|
let r = n ? Ft(t) : t;
|
|
987
987
|
return Wt(e, r);
|
|
988
988
|
}
|
|
@@ -994,12 +994,12 @@ function Wt(e, t) {
|
|
|
994
994
|
r.capture(e, n), (e.f & be) !== 0 && ((e.f & Le) !== 0 && Ir(
|
|
995
995
|
/** @type {Derived} */
|
|
996
996
|
e
|
|
997
|
-
), _e(e, (e.f & Oe) === 0 ? pe : lt)), e.wv = Li(),
|
|
997
|
+
), _e(e, (e.f & Oe) === 0 ? pe : lt)), e.wv = Li(), ui(e, Le), gn() && I !== null && (I.f & pe) !== 0 && (I.f & (at | ht)) === 0 && (Ve === null ? ra([e]) : Ve.push(e)), !r.is_fork && _r.size > 0 && !ai && Ys();
|
|
998
998
|
}
|
|
999
999
|
return t;
|
|
1000
1000
|
}
|
|
1001
1001
|
function Ys() {
|
|
1002
|
-
|
|
1002
|
+
ai = !1;
|
|
1003
1003
|
const e = Array.from(_r);
|
|
1004
1004
|
for (const t of e)
|
|
1005
1005
|
(t.f & pe) !== 0 && _e(t, lt), pn(t) && dn(t);
|
|
@@ -1008,14 +1008,14 @@ function Ys() {
|
|
|
1008
1008
|
function fn(e) {
|
|
1009
1009
|
S(e, e.v + 1);
|
|
1010
1010
|
}
|
|
1011
|
-
function
|
|
1011
|
+
function ui(e, t) {
|
|
1012
1012
|
var n = e.reactions;
|
|
1013
1013
|
if (n !== null)
|
|
1014
1014
|
for (var r = gn(), o = n.length, i = 0; i < o; i++) {
|
|
1015
1015
|
var s = n[i], a = s.f;
|
|
1016
1016
|
if (!(!r && s === I)) {
|
|
1017
1017
|
var u = (a & Le) === 0;
|
|
1018
|
-
u && _e(s, t), (a & be) !== 0 ? (a & In) === 0 && (s.f |= In,
|
|
1018
|
+
u && _e(s, t), (a & be) !== 0 ? (a & In) === 0 && (s.f |= In, ui(
|
|
1019
1019
|
/** @type {Derived} */
|
|
1020
1020
|
s,
|
|
1021
1021
|
lt
|
|
@@ -1032,16 +1032,16 @@ function li(e, t) {
|
|
|
1032
1032
|
function Ft(e) {
|
|
1033
1033
|
if (typeof e != "object" || e === null || ln in e)
|
|
1034
1034
|
return e;
|
|
1035
|
-
const t =
|
|
1035
|
+
const t = Go(e);
|
|
1036
1036
|
if (t !== ps && t !== ms)
|
|
1037
1037
|
return e;
|
|
1038
|
-
var n = /* @__PURE__ */ new Map(), r =
|
|
1038
|
+
var n = /* @__PURE__ */ new Map(), r = jo(e), o = /* @__PURE__ */ ee(0), i = yt, s = (a) => {
|
|
1039
1039
|
if (yt === i)
|
|
1040
1040
|
return a();
|
|
1041
1041
|
var u = P, c = yt;
|
|
1042
|
-
Ae(null),
|
|
1042
|
+
Ae(null), xo(i);
|
|
1043
1043
|
var l = a();
|
|
1044
|
-
return Ae(u),
|
|
1044
|
+
return Ae(u), xo(c), l;
|
|
1045
1045
|
};
|
|
1046
1046
|
return r && n.set("length", /* @__PURE__ */ ee(
|
|
1047
1047
|
/** @type {any[]} */
|
|
@@ -1077,7 +1077,7 @@ function Ft(e) {
|
|
|
1077
1077
|
var v = Ft(m ? a[u] : he), d = /* @__PURE__ */ ee(v);
|
|
1078
1078
|
return d;
|
|
1079
1079
|
}), n.set(u, l)), l !== void 0) {
|
|
1080
|
-
var p =
|
|
1080
|
+
var p = x(l);
|
|
1081
1081
|
return p === he ? void 0 : p;
|
|
1082
1082
|
}
|
|
1083
1083
|
return Reflect.get(a, u, c);
|
|
@@ -1086,7 +1086,7 @@ function Ft(e) {
|
|
|
1086
1086
|
var c = Reflect.getOwnPropertyDescriptor(a, u);
|
|
1087
1087
|
if (c && "value" in c) {
|
|
1088
1088
|
var l = n.get(u);
|
|
1089
|
-
l && (c.value =
|
|
1089
|
+
l && (c.value = x(l));
|
|
1090
1090
|
} else if (c === void 0) {
|
|
1091
1091
|
var m = n.get(u), p = m?.v;
|
|
1092
1092
|
if (m !== void 0 && p !== he)
|
|
@@ -1108,7 +1108,7 @@ function Ft(e) {
|
|
|
1108
1108
|
var p = l ? Ft(a[u]) : he, v = /* @__PURE__ */ ee(p);
|
|
1109
1109
|
return v;
|
|
1110
1110
|
}), n.set(u, c));
|
|
1111
|
-
var m =
|
|
1111
|
+
var m = x(c);
|
|
1112
1112
|
if (m === he)
|
|
1113
1113
|
return !1;
|
|
1114
1114
|
}
|
|
@@ -1143,7 +1143,7 @@ function Ft(e) {
|
|
|
1143
1143
|
return !0;
|
|
1144
1144
|
},
|
|
1145
1145
|
ownKeys(a) {
|
|
1146
|
-
|
|
1146
|
+
x(o);
|
|
1147
1147
|
var u = Reflect.ownKeys(a).filter((m) => {
|
|
1148
1148
|
var p = n.get(m);
|
|
1149
1149
|
return p === void 0 || p.v !== he;
|
|
@@ -1158,12 +1158,12 @@ function Ft(e) {
|
|
|
1158
1158
|
}
|
|
1159
1159
|
);
|
|
1160
1160
|
}
|
|
1161
|
-
var
|
|
1161
|
+
var wo, fi, ci, di;
|
|
1162
1162
|
function br() {
|
|
1163
|
-
if (
|
|
1164
|
-
|
|
1163
|
+
if (wo === void 0) {
|
|
1164
|
+
wo = window, fi = /Firefox/.test(navigator.userAgent);
|
|
1165
1165
|
var e = Element.prototype, t = Node.prototype, n = Text.prototype;
|
|
1166
|
-
|
|
1166
|
+
ci = Et(t, "firstChild").get, di = Et(t, "nextSibling").get, mo(e) && (e.__click = void 0, e.__className = void 0, e.__attributes = null, e.__style = void 0, e.__e = void 0), mo(n) && (n.__t = void 0);
|
|
1167
1167
|
}
|
|
1168
1168
|
}
|
|
1169
1169
|
function Ue(e = "") {
|
|
@@ -1171,11 +1171,11 @@ function Ue(e = "") {
|
|
|
1171
1171
|
}
|
|
1172
1172
|
// @__NO_SIDE_EFFECTS__
|
|
1173
1173
|
function Ze(e) {
|
|
1174
|
-
return
|
|
1174
|
+
return ci.call(e);
|
|
1175
1175
|
}
|
|
1176
1176
|
// @__NO_SIDE_EFFECTS__
|
|
1177
1177
|
function ze(e) {
|
|
1178
|
-
return
|
|
1178
|
+
return di.call(e);
|
|
1179
1179
|
}
|
|
1180
1180
|
function D(e, t) {
|
|
1181
1181
|
if (!B)
|
|
@@ -1223,15 +1223,15 @@ function Q(e, t = 1, n = !1) {
|
|
|
1223
1223
|
return Ee(r), /** @type {TemplateNode} */
|
|
1224
1224
|
r;
|
|
1225
1225
|
}
|
|
1226
|
-
function
|
|
1226
|
+
function vi(e) {
|
|
1227
1227
|
e.textContent = "";
|
|
1228
1228
|
}
|
|
1229
|
-
function
|
|
1229
|
+
function gi() {
|
|
1230
1230
|
return !1;
|
|
1231
1231
|
}
|
|
1232
|
-
let
|
|
1233
|
-
function
|
|
1234
|
-
|
|
1232
|
+
let Co = !1;
|
|
1233
|
+
function hi() {
|
|
1234
|
+
Co || (Co = !0, document.addEventListener(
|
|
1235
1235
|
"reset",
|
|
1236
1236
|
(e) => {
|
|
1237
1237
|
Promise.resolve().then(() => {
|
|
@@ -1262,7 +1262,7 @@ function qs(e, t, n, r = n) {
|
|
|
1262
1262
|
const o = e.__on_r;
|
|
1263
1263
|
o ? e.__on_r = () => {
|
|
1264
1264
|
o(), r(!0);
|
|
1265
|
-
} : e.__on_r = () => r(!0),
|
|
1265
|
+
} : e.__on_r = () => r(!0), hi();
|
|
1266
1266
|
}
|
|
1267
1267
|
function Ks(e) {
|
|
1268
1268
|
I === null && P === null && Ts(), P !== null && (P.f & Oe) !== 0 && I === null && xs(), Mt && ys();
|
|
@@ -1315,11 +1315,11 @@ function Ke(e, t, n, r = !0) {
|
|
|
1315
1315
|
function Js() {
|
|
1316
1316
|
return P !== null && !Be;
|
|
1317
1317
|
}
|
|
1318
|
-
function
|
|
1318
|
+
function pi(e) {
|
|
1319
1319
|
const t = Ke(Mr, null, !1);
|
|
1320
1320
|
return _e(t, pe), t.teardown = e, t;
|
|
1321
1321
|
}
|
|
1322
|
-
function
|
|
1322
|
+
function Dr(e) {
|
|
1323
1323
|
Ks();
|
|
1324
1324
|
var t = (
|
|
1325
1325
|
/** @type {Effect} */
|
|
@@ -1364,7 +1364,7 @@ function Wn(e, t = 0) {
|
|
|
1364
1364
|
}
|
|
1365
1365
|
function Me(e, t = [], n = [], r = [], o = !1) {
|
|
1366
1366
|
zs(r, t, n, (i) => {
|
|
1367
|
-
Ke(o ? Zn : Mr, () => e(...i.map(
|
|
1367
|
+
Ke(o ? Zn : Mr, () => e(...i.map(x)), !0);
|
|
1368
1368
|
});
|
|
1369
1369
|
}
|
|
1370
1370
|
function Yn(e, t = 0) {
|
|
@@ -1378,11 +1378,11 @@ function _i(e) {
|
|
|
1378
1378
|
var t = e.teardown;
|
|
1379
1379
|
if (t !== null) {
|
|
1380
1380
|
const n = Mt, r = P;
|
|
1381
|
-
|
|
1381
|
+
yo(!0), Ae(null);
|
|
1382
1382
|
try {
|
|
1383
1383
|
t.call(null);
|
|
1384
1384
|
} finally {
|
|
1385
|
-
|
|
1385
|
+
yo(n), Ae(r);
|
|
1386
1386
|
}
|
|
1387
1387
|
}
|
|
1388
1388
|
}
|
|
@@ -1405,7 +1405,7 @@ function na(e) {
|
|
|
1405
1405
|
}
|
|
1406
1406
|
function me(e, t = !0) {
|
|
1407
1407
|
var n = !1;
|
|
1408
|
-
(t || (e.f &
|
|
1408
|
+
(t || (e.f & Yo) !== 0) && e.nodes_start !== null && e.nodes_end !== null && (wi(
|
|
1409
1409
|
e.nodes_start,
|
|
1410
1410
|
/** @type {TemplateNode} */
|
|
1411
1411
|
e.nodes_end
|
|
@@ -1433,7 +1433,7 @@ function Ci(e) {
|
|
|
1433
1433
|
}
|
|
1434
1434
|
function Zt(e, t, n = !0) {
|
|
1435
1435
|
var r = [];
|
|
1436
|
-
|
|
1436
|
+
Nr(e, r, !0), Ei(r, () => {
|
|
1437
1437
|
n && me(e), t && t();
|
|
1438
1438
|
});
|
|
1439
1439
|
}
|
|
@@ -1446,7 +1446,7 @@ function Ei(e, t) {
|
|
|
1446
1446
|
} else
|
|
1447
1447
|
t();
|
|
1448
1448
|
}
|
|
1449
|
-
function
|
|
1449
|
+
function Nr(e, t, n) {
|
|
1450
1450
|
if ((e.f & ke) === 0) {
|
|
1451
1451
|
if (e.f ^= ke, e.transitions !== null)
|
|
1452
1452
|
for (const s of e.transitions)
|
|
@@ -1456,11 +1456,11 @@ function Dr(e, t, n) {
|
|
|
1456
1456
|
// it means the parent block effect was pruned. In that case,
|
|
1457
1457
|
// transparency information was transferred to the branch effect.
|
|
1458
1458
|
(r.f & at) !== 0 && (e.f & qe) !== 0;
|
|
1459
|
-
|
|
1459
|
+
Nr(r, t, i ? n : !1), r = o;
|
|
1460
1460
|
}
|
|
1461
1461
|
}
|
|
1462
1462
|
}
|
|
1463
|
-
function
|
|
1463
|
+
function $r(e) {
|
|
1464
1464
|
yi(e, !0);
|
|
1465
1465
|
}
|
|
1466
1466
|
function yi(e, t) {
|
|
@@ -1485,11 +1485,11 @@ function xi(e, t) {
|
|
|
1485
1485
|
}
|
|
1486
1486
|
}
|
|
1487
1487
|
let Ut = !1;
|
|
1488
|
-
function
|
|
1488
|
+
function Eo(e) {
|
|
1489
1489
|
Ut = e;
|
|
1490
1490
|
}
|
|
1491
1491
|
let Mt = !1;
|
|
1492
|
-
function
|
|
1492
|
+
function yo(e) {
|
|
1493
1493
|
Mt = e;
|
|
1494
1494
|
}
|
|
1495
1495
|
let P = null, Be = !1;
|
|
@@ -1509,7 +1509,7 @@ function ra(e) {
|
|
|
1509
1509
|
Ve = e;
|
|
1510
1510
|
}
|
|
1511
1511
|
let Ai = 1, cn = 0, yt = cn;
|
|
1512
|
-
function
|
|
1512
|
+
function xo(e) {
|
|
1513
1513
|
yt = e;
|
|
1514
1514
|
}
|
|
1515
1515
|
let ft = !1;
|
|
@@ -1537,7 +1537,7 @@ function pn(e) {
|
|
|
1537
1537
|
if (i = n[o], pn(
|
|
1538
1538
|
/** @type {Derived} */
|
|
1539
1539
|
i
|
|
1540
|
-
) &&
|
|
1540
|
+
) && si(
|
|
1541
1541
|
/** @type {Derived} */
|
|
1542
1542
|
i
|
|
1543
1543
|
), i.wv > e.wv)
|
|
@@ -1599,7 +1599,7 @@ function ki(e) {
|
|
|
1599
1599
|
return o !== null && o !== e && (cn++, Ve !== null && (r === null ? r = Ve : r.push(.../** @type {Source[]} */
|
|
1600
1600
|
Ve))), (e.f & ct) !== 0 && (e.f ^= ct), p;
|
|
1601
1601
|
} catch (h) {
|
|
1602
|
-
return
|
|
1602
|
+
return ti(h);
|
|
1603
1603
|
} finally {
|
|
1604
1604
|
e.f ^= pr, Ce = t, He = n, Ve = r, P = o, ft = i, st = s, jt(a), Be = u, yt = c;
|
|
1605
1605
|
}
|
|
@@ -1616,7 +1616,7 @@ function oa(e, t) {
|
|
|
1616
1616
|
n === null && (t.f & be) !== 0 && // Destroying a child effect while updating a parent effect can cause a dependency to appear
|
|
1617
1617
|
// to be unused, when in fact it is used by the currently-updating parent. Checking `new_deps`
|
|
1618
1618
|
// allows us to skip the expensive work of disconnecting and immediately reconnecting it
|
|
1619
|
-
(Ce === null || !Ce.includes(t)) && (_e(t, lt), (t.f & (Oe | On)) === 0 && (t.f ^= On),
|
|
1619
|
+
(Ce === null || !Ce.includes(t)) && (_e(t, lt), (t.f & (Oe | On)) === 0 && (t.f ^= On), ii(
|
|
1620
1620
|
/** @type {Derived} **/
|
|
1621
1621
|
t
|
|
1622
1622
|
), $n(
|
|
@@ -1642,16 +1642,16 @@ function dn(e) {
|
|
|
1642
1642
|
var o = ki(e);
|
|
1643
1643
|
e.teardown = typeof o == "function" ? o : null, e.wv = Ai;
|
|
1644
1644
|
var i;
|
|
1645
|
-
|
|
1645
|
+
zo && Ds && (e.f & Le) !== 0 && e.deps;
|
|
1646
1646
|
} finally {
|
|
1647
1647
|
Ut = r, I = n;
|
|
1648
1648
|
}
|
|
1649
1649
|
}
|
|
1650
1650
|
}
|
|
1651
1651
|
async function ia() {
|
|
1652
|
-
await Promise.resolve(),
|
|
1652
|
+
await Promise.resolve(), T();
|
|
1653
1653
|
}
|
|
1654
|
-
function
|
|
1654
|
+
function x(e) {
|
|
1655
1655
|
var t = e.f, n = (t & be) !== 0;
|
|
1656
1656
|
if (P !== null && !Be) {
|
|
1657
1657
|
var r = I !== null && (I.f & it) !== 0;
|
|
@@ -1687,7 +1687,7 @@ function A(e) {
|
|
|
1687
1687
|
if (s = /** @type {Derived} */
|
|
1688
1688
|
e, Pe?.has(s))
|
|
1689
1689
|
return Pe.get(s);
|
|
1690
|
-
pn(s) &&
|
|
1690
|
+
pn(s) && si(s);
|
|
1691
1691
|
}
|
|
1692
1692
|
if (Pe?.has(e))
|
|
1693
1693
|
return Pe.get(e);
|
|
@@ -1733,7 +1733,7 @@ function Vi(e, t, n, r, o) {
|
|
|
1733
1733
|
(t === document.body || // @ts-ignore
|
|
1734
1734
|
t === window || // @ts-ignore
|
|
1735
1735
|
t === document || // Firefox has quirky behavior, it can happen that we still get "canplay" events when the element is already removed
|
|
1736
|
-
t instanceof HTMLMediaElement) &&
|
|
1736
|
+
t instanceof HTMLMediaElement) && pi(() => {
|
|
1737
1737
|
t.removeEventListener(e, s, i);
|
|
1738
1738
|
});
|
|
1739
1739
|
}
|
|
@@ -1743,7 +1743,7 @@ function _t(e) {
|
|
|
1743
1743
|
for (var n of wr)
|
|
1744
1744
|
n(e);
|
|
1745
1745
|
}
|
|
1746
|
-
let
|
|
1746
|
+
let To = null;
|
|
1747
1747
|
function an(e) {
|
|
1748
1748
|
var t = this, n = (
|
|
1749
1749
|
/** @type {Node} */
|
|
@@ -1752,8 +1752,8 @@ function an(e) {
|
|
|
1752
1752
|
/** @type {null | Element} */
|
|
1753
1753
|
o[0] || e.target
|
|
1754
1754
|
);
|
|
1755
|
-
|
|
1756
|
-
var s = 0, a =
|
|
1755
|
+
To = e;
|
|
1756
|
+
var s = 0, a = To === e && e.__root;
|
|
1757
1757
|
if (a) {
|
|
1758
1758
|
var u = o.indexOf(a);
|
|
1759
1759
|
if (u !== -1 && (t === document || t === /** @type {any} */
|
|
@@ -1826,7 +1826,7 @@ function ae(e, t) {
|
|
|
1826
1826
|
/* @__PURE__ */ Ze(o)));
|
|
1827
1827
|
var s = (
|
|
1828
1828
|
/** @type {TemplateNode} */
|
|
1829
|
-
r ||
|
|
1829
|
+
r || fi ? document.importNode(o, !0) : o.cloneNode(!0)
|
|
1830
1830
|
);
|
|
1831
1831
|
if (n) {
|
|
1832
1832
|
var a = (
|
|
@@ -1863,7 +1863,7 @@ function ua(e) {
|
|
|
1863
1863
|
return la.includes(e);
|
|
1864
1864
|
}
|
|
1865
1865
|
let Cr = !0;
|
|
1866
|
-
function
|
|
1866
|
+
function Pr(e, t) {
|
|
1867
1867
|
var n = t == null ? "" : typeof t == "object" ? t + "" : t;
|
|
1868
1868
|
n !== (e.__t ??= e.nodeValue) && (e.__t = n, e.nodeValue = n + "");
|
|
1869
1869
|
}
|
|
@@ -1878,7 +1878,7 @@ function fa(e, t) {
|
|
|
1878
1878
|
/** @type {TemplateNode} */
|
|
1879
1879
|
/* @__PURE__ */ Ze(n)
|
|
1880
1880
|
); i && (i.nodeType !== kt || /** @type {Comment} */
|
|
1881
|
-
i.data !==
|
|
1881
|
+
i.data !== Uo); )
|
|
1882
1882
|
i = /** @type {TemplateNode} */
|
|
1883
1883
|
/* @__PURE__ */ ze(i);
|
|
1884
1884
|
if (!i)
|
|
@@ -1894,7 +1894,7 @@ function fa(e, t) {
|
|
|
1894
1894
|
if (s instanceof Error && s.message.split(`
|
|
1895
1895
|
`).some((a) => a.startsWith("https://svelte.dev/e/")))
|
|
1896
1896
|
throw s;
|
|
1897
|
-
return s !== xt && console.warn("Failed to hydrate: ", s), t.recover === !1 && Ls(), br(),
|
|
1897
|
+
return s !== xt && console.warn("Failed to hydrate: ", s), t.recover === !1 && Ls(), br(), vi(n), ot(!1), Oi(e, t);
|
|
1898
1898
|
} finally {
|
|
1899
1899
|
ot(r), Ee(o);
|
|
1900
1900
|
}
|
|
@@ -1993,7 +1993,7 @@ class Di {
|
|
|
1993
1993
|
this.#t.get(t)
|
|
1994
1994
|
), r = this.#e.get(n);
|
|
1995
1995
|
if (r)
|
|
1996
|
-
|
|
1996
|
+
$r(r);
|
|
1997
1997
|
else {
|
|
1998
1998
|
var o = this.#n.get(n);
|
|
1999
1999
|
o && (this.#e.set(n, o.effect), this.#n.delete(n), o.fragment.lastChild.remove(), this.anchor.before(o.fragment), r = o.effect);
|
|
@@ -2036,7 +2036,7 @@ class Di {
|
|
|
2036
2036
|
var r = (
|
|
2037
2037
|
/** @type {Batch} */
|
|
2038
2038
|
z
|
|
2039
|
-
), o =
|
|
2039
|
+
), o = gi();
|
|
2040
2040
|
if (n && !this.#e.has(t) && !this.#n.has(t))
|
|
2041
2041
|
if (o) {
|
|
2042
2042
|
var i = document.createDocumentFragment(), s = Ue();
|
|
@@ -2067,7 +2067,7 @@ function da(e, t, ...n) {
|
|
|
2067
2067
|
}, gt);
|
|
2068
2068
|
}
|
|
2069
2069
|
function Ni(e) {
|
|
2070
|
-
se === null &&
|
|
2070
|
+
se === null && Ko(), Yt && se.l !== null ? ga(se).m.push(e) : Dr(() => {
|
|
2071
2071
|
const t = mt(e);
|
|
2072
2072
|
if (typeof t == "function") return (
|
|
2073
2073
|
/** @type {() => void} */
|
|
@@ -2076,7 +2076,7 @@ function Ni(e) {
|
|
|
2076
2076
|
});
|
|
2077
2077
|
}
|
|
2078
2078
|
function va(e) {
|
|
2079
|
-
se === null &&
|
|
2079
|
+
se === null && Ko(), Ni(() => () => mt(e));
|
|
2080
2080
|
}
|
|
2081
2081
|
function ga(e) {
|
|
2082
2082
|
var t = (
|
|
@@ -2090,7 +2090,7 @@ function te(e, t, n = !1) {
|
|
|
2090
2090
|
var r = new Di(e), o = n ? gt : 0;
|
|
2091
2091
|
function i(s, a) {
|
|
2092
2092
|
if (B) {
|
|
2093
|
-
const c =
|
|
2093
|
+
const c = Xo(e) === Fn;
|
|
2094
2094
|
if (s === c) {
|
|
2095
2095
|
var u = Dn();
|
|
2096
2096
|
Ee(u), r.anchor = u, ot(!1), r.ensure(s, a), ot(!0);
|
|
@@ -2106,12 +2106,12 @@ function te(e, t, n = !1) {
|
|
|
2106
2106
|
}), s || i(!1, null);
|
|
2107
2107
|
}, o);
|
|
2108
2108
|
}
|
|
2109
|
-
function
|
|
2109
|
+
function Ao(e, t) {
|
|
2110
2110
|
return t;
|
|
2111
2111
|
}
|
|
2112
2112
|
function ha(e, t, n) {
|
|
2113
2113
|
for (var r = e.items, o = [], i = t.length, s = 0; s < i; s++)
|
|
2114
|
-
|
|
2114
|
+
Nr(t[s].e, o, !0);
|
|
2115
2115
|
var a = i > 0 && o.length === 0 && n !== null;
|
|
2116
2116
|
if (a) {
|
|
2117
2117
|
var u = (
|
|
@@ -2119,7 +2119,7 @@ function ha(e, t, n) {
|
|
|
2119
2119
|
/** @type {Element} */
|
|
2120
2120
|
n.parentNode
|
|
2121
2121
|
);
|
|
2122
|
-
|
|
2122
|
+
vi(u), u.append(
|
|
2123
2123
|
/** @type {Element} */
|
|
2124
2124
|
n
|
|
2125
2125
|
), r.clear(), Ge(e, t[0].prev, t[i - 1].next);
|
|
@@ -2132,7 +2132,7 @@ function ha(e, t, n) {
|
|
|
2132
2132
|
});
|
|
2133
2133
|
}
|
|
2134
2134
|
function Lt(e, t, n, r, o, i = null) {
|
|
2135
|
-
var s = e, a = { flags: t, items: /* @__PURE__ */ new Map(), first: null }, u = (t &
|
|
2135
|
+
var s = e, a = { flags: t, items: /* @__PURE__ */ new Map(), first: null }, u = (t & Zo) !== 0;
|
|
2136
2136
|
if (u) {
|
|
2137
2137
|
var c = (
|
|
2138
2138
|
/** @type {Element} */
|
|
@@ -2146,7 +2146,7 @@ function Lt(e, t, n, r, o, i = null) {
|
|
|
2146
2146
|
B && zt();
|
|
2147
2147
|
var l = null, m = !1, p = /* @__PURE__ */ new Map(), v = /* @__PURE__ */ Or(() => {
|
|
2148
2148
|
var b = n();
|
|
2149
|
-
return
|
|
2149
|
+
return jo(b) ? b : b == null ? [] : kr(b);
|
|
2150
2150
|
}), d, h;
|
|
2151
2151
|
function g() {
|
|
2152
2152
|
pa(
|
|
@@ -2159,21 +2159,21 @@ function Lt(e, t, n, r, o, i = null) {
|
|
|
2159
2159
|
t,
|
|
2160
2160
|
r,
|
|
2161
2161
|
n
|
|
2162
|
-
), i !== null && (d.length === 0 ? l ?
|
|
2162
|
+
), i !== null && (d.length === 0 ? l ? $r(l) : l = Re(() => i(s)) : l !== null && Zt(l, () => {
|
|
2163
2163
|
l = null;
|
|
2164
2164
|
}));
|
|
2165
2165
|
}
|
|
2166
2166
|
Yn(() => {
|
|
2167
2167
|
h ??= /** @type {Effect} */
|
|
2168
2168
|
I, d = /** @type {V[]} */
|
|
2169
|
-
|
|
2169
|
+
x(v);
|
|
2170
2170
|
var b = d.length;
|
|
2171
2171
|
if (m && b === 0)
|
|
2172
2172
|
return;
|
|
2173
2173
|
m = b === 0;
|
|
2174
2174
|
let y = !1;
|
|
2175
2175
|
if (B) {
|
|
2176
|
-
var w =
|
|
2176
|
+
var w = Xo(s) === Fn;
|
|
2177
2177
|
w !== (b === 0) && (s = Dn(), Ee(s), ot(!1), y = !0);
|
|
2178
2178
|
}
|
|
2179
2179
|
if (B) {
|
|
@@ -2202,7 +2202,7 @@ function Lt(e, t, n, r, o, i = null) {
|
|
|
2202
2202
|
}
|
|
2203
2203
|
if (B)
|
|
2204
2204
|
b === 0 && i && (l = Re(() => i(s)));
|
|
2205
|
-
else if (
|
|
2205
|
+
else if (gi()) {
|
|
2206
2206
|
var Z = /* @__PURE__ */ new Set(), q = (
|
|
2207
2207
|
/** @type {Batch} */
|
|
2208
2208
|
z
|
|
@@ -2229,7 +2229,7 @@ function Lt(e, t, n, r, o, i = null) {
|
|
|
2229
2229
|
q.oncommit(g);
|
|
2230
2230
|
} else
|
|
2231
2231
|
g();
|
|
2232
|
-
y && ot(!0),
|
|
2232
|
+
y && ot(!0), x(v);
|
|
2233
2233
|
}), B && (s = U);
|
|
2234
2234
|
}
|
|
2235
2235
|
function pa(e, t, n, r, o, i, s, a, u) {
|
|
@@ -2265,7 +2265,7 @@ function pa(e, t, n, r, o, i, s, a, u) {
|
|
|
2265
2265
|
p.set(k, g), y = [], w = [], d = g.next;
|
|
2266
2266
|
continue;
|
|
2267
2267
|
}
|
|
2268
|
-
if (l && $i(C, E, H, s), (C.e.f & ke) !== 0 && (
|
|
2268
|
+
if (l && $i(C, E, H, s), (C.e.f & ke) !== 0 && ($r(C.e), c && (C.a?.unfix(), (b ??= /* @__PURE__ */ new Set()).delete(C))), C !== d) {
|
|
2269
2269
|
if (h !== void 0 && h.has(C)) {
|
|
2270
2270
|
if (y.length < w.length) {
|
|
2271
2271
|
var N = w[0], F;
|
|
@@ -2293,7 +2293,7 @@ function pa(e, t, n, r, o, i, s, a, u) {
|
|
|
2293
2293
|
(d.e.f & ke) === 0 && De.push(d), d = d.next;
|
|
2294
2294
|
var Ne = De.length;
|
|
2295
2295
|
if (Ne > 0) {
|
|
2296
|
-
var Kt = (s &
|
|
2296
|
+
var Kt = (s & Zo) !== 0 && m === 0 ? o : null;
|
|
2297
2297
|
if (c) {
|
|
2298
2298
|
for (H = 0; H < Ne; H += 1)
|
|
2299
2299
|
De[H].a?.measure();
|
|
@@ -2320,7 +2320,7 @@ function $i(e, t, n, r) {
|
|
|
2320
2320
|
) : e.i = n;
|
|
2321
2321
|
}
|
|
2322
2322
|
function yr(e, t, n, r, o, i, s, a, u, c, l) {
|
|
2323
|
-
var m = (u & Pn) !== 0, p = (u & os) === 0, v = m ? p ? /* @__PURE__ */
|
|
2323
|
+
var m = (u & Pn) !== 0, p = (u & os) === 0, v = m ? p ? /* @__PURE__ */ li(o, !1, !1) : At(o) : o, d = (u & Bn) === 0 ? s : At(s), h = {
|
|
2324
2324
|
i: d,
|
|
2325
2325
|
v,
|
|
2326
2326
|
k: i,
|
|
@@ -2442,7 +2442,7 @@ function Pi(e, t, n) {
|
|
|
2442
2442
|
);
|
|
2443
2443
|
});
|
|
2444
2444
|
}
|
|
2445
|
-
const
|
|
2445
|
+
const Lo = [...`
|
|
2446
2446
|
\r\f \v\uFEFF`];
|
|
2447
2447
|
function _a(e, t, n) {
|
|
2448
2448
|
var r = e == null ? "" : "" + e;
|
|
@@ -2453,7 +2453,7 @@ function _a(e, t, n) {
|
|
|
2453
2453
|
else if (r.length)
|
|
2454
2454
|
for (var i = o.length, s = 0; (s = r.indexOf(o, s)) >= 0; ) {
|
|
2455
2455
|
var a = s + i;
|
|
2456
|
-
(s === 0 ||
|
|
2456
|
+
(s === 0 || Lo.includes(r[s - 1])) && (a === r.length || Lo.includes(r[a])) ? r = (s === 0 ? "" : r.substring(0, s)) + r.substring(a + 1) : s = a;
|
|
2457
2457
|
}
|
|
2458
2458
|
}
|
|
2459
2459
|
return r === "" ? null : r;
|
|
@@ -2461,7 +2461,7 @@ function _a(e, t, n) {
|
|
|
2461
2461
|
function ba(e, t) {
|
|
2462
2462
|
return e == null ? null : String(e);
|
|
2463
2463
|
}
|
|
2464
|
-
function
|
|
2464
|
+
function Br(e, t, n, r, o, i) {
|
|
2465
2465
|
var s = e.__className;
|
|
2466
2466
|
if (B || s !== n || s === void 0) {
|
|
2467
2467
|
var a = _a(n, r, i);
|
|
@@ -2482,7 +2482,7 @@ function Bi(e, t, n, r) {
|
|
|
2482
2482
|
return r;
|
|
2483
2483
|
}
|
|
2484
2484
|
const wa = Symbol("is custom element"), Ca = Symbol("is html");
|
|
2485
|
-
function
|
|
2485
|
+
function Fr(e) {
|
|
2486
2486
|
if (B) {
|
|
2487
2487
|
var t = !1, n = () => {
|
|
2488
2488
|
if (!t) {
|
|
@@ -2496,7 +2496,7 @@ function Br(e) {
|
|
|
2496
2496
|
}
|
|
2497
2497
|
}
|
|
2498
2498
|
};
|
|
2499
|
-
e.__on_r = n, pt(n),
|
|
2499
|
+
e.__on_r = n, pt(n), hi();
|
|
2500
2500
|
}
|
|
2501
2501
|
}
|
|
2502
2502
|
function J(e, t, n, r) {
|
|
@@ -2513,16 +2513,16 @@ function Ea(e) {
|
|
|
2513
2513
|
}
|
|
2514
2514
|
);
|
|
2515
2515
|
}
|
|
2516
|
-
var
|
|
2516
|
+
var Ho = /* @__PURE__ */ new Map();
|
|
2517
2517
|
function ya(e) {
|
|
2518
|
-
var t = e.getAttribute("is") || e.nodeName, n =
|
|
2518
|
+
var t = e.getAttribute("is") || e.nodeName, n = Ho.get(t);
|
|
2519
2519
|
if (n) return n;
|
|
2520
|
-
|
|
2520
|
+
Ho.set(t, n = []);
|
|
2521
2521
|
for (var r, o = e, i = Element.prototype; i !== o; ) {
|
|
2522
2522
|
r = hs(o);
|
|
2523
2523
|
for (var s in r)
|
|
2524
2524
|
r[s].set && n.push(s);
|
|
2525
|
-
o =
|
|
2525
|
+
o = Go(o);
|
|
2526
2526
|
}
|
|
2527
2527
|
return n;
|
|
2528
2528
|
}
|
|
@@ -2569,7 +2569,7 @@ function Aa(e) {
|
|
|
2569
2569
|
(n) => n[0].toUpperCase() + n.slice(1)
|
|
2570
2570
|
).join("");
|
|
2571
2571
|
}
|
|
2572
|
-
function
|
|
2572
|
+
function ko(e) {
|
|
2573
2573
|
const t = {}, n = e.split(";");
|
|
2574
2574
|
for (const r of n) {
|
|
2575
2575
|
const [o, i] = r.split(":");
|
|
@@ -2651,7 +2651,7 @@ function xr(e, t, n, r, o) {
|
|
|
2651
2651
|
const { delay: u = 0, css: c, tick: l, easing: m = La } = t;
|
|
2652
2652
|
var p = [];
|
|
2653
2653
|
if (i && n === void 0 && (l && l(0, 1), c)) {
|
|
2654
|
-
var v =
|
|
2654
|
+
var v = ko(c(0, 1));
|
|
2655
2655
|
p.push(v, v);
|
|
2656
2656
|
}
|
|
2657
2657
|
var d = () => 1 - r, h = e.animate(p, { duration: u, fill: "forwards" });
|
|
@@ -2667,7 +2667,7 @@ function xr(e, t, n, r, o) {
|
|
|
2667
2667
|
var E = !1;
|
|
2668
2668
|
if (c)
|
|
2669
2669
|
for (var k = Math.ceil(y / 16.666666666666668), C = 0; C <= k; C += 1) {
|
|
2670
|
-
var H = g + b * m(C / k), O =
|
|
2670
|
+
var H = g + b * m(C / k), O = ko(c(H, 1 - H));
|
|
2671
2671
|
w.push(O), E ||= O.overflow === "hidden";
|
|
2672
2672
|
}
|
|
2673
2673
|
E && (e.style.overflow = "hidden"), d = () => {
|
|
@@ -2699,7 +2699,7 @@ function xr(e, t, n, r, o) {
|
|
|
2699
2699
|
t: () => d()
|
|
2700
2700
|
};
|
|
2701
2701
|
}
|
|
2702
|
-
function
|
|
2702
|
+
function Zr(e, t, n = t) {
|
|
2703
2703
|
var r = /* @__PURE__ */ new WeakSet();
|
|
2704
2704
|
qs(e, "input", async (o) => {
|
|
2705
2705
|
var i = o ? e.defaultValue : e.value;
|
|
@@ -2734,7 +2734,7 @@ function lr(e) {
|
|
|
2734
2734
|
function ur(e) {
|
|
2735
2735
|
return e === "" ? null : +e;
|
|
2736
2736
|
}
|
|
2737
|
-
function
|
|
2737
|
+
function Mo(e, t) {
|
|
2738
2738
|
return e === t || e?.[ln] === t;
|
|
2739
2739
|
}
|
|
2740
2740
|
function ka(e = {}, t, n, r) {
|
|
@@ -2742,11 +2742,11 @@ function ka(e = {}, t, n, r) {
|
|
|
2742
2742
|
var o, i;
|
|
2743
2743
|
return Wn(() => {
|
|
2744
2744
|
o = i, i = [], mt(() => {
|
|
2745
|
-
e !== n(...i) && (t(e, ...i), o &&
|
|
2745
|
+
e !== n(...i) && (t(e, ...i), o && Mo(n(...o), e) && t(null, ...o));
|
|
2746
2746
|
});
|
|
2747
2747
|
}), () => {
|
|
2748
2748
|
pt(() => {
|
|
2749
|
-
i &&
|
|
2749
|
+
i && Mo(n(...i), e) && t(null, ...i);
|
|
2750
2750
|
});
|
|
2751
2751
|
};
|
|
2752
2752
|
}), e;
|
|
@@ -2772,7 +2772,7 @@ function L(e, t, n, r) {
|
|
|
2772
2772
|
r
|
|
2773
2773
|
)), a), l;
|
|
2774
2774
|
if (i) {
|
|
2775
|
-
var m = ln in e ||
|
|
2775
|
+
var m = ln in e || qo in e;
|
|
2776
2776
|
l = Et(e, t)?.set ?? (m && t in e ? (w) => e[t] = w : void 0);
|
|
2777
2777
|
}
|
|
2778
2778
|
var p, v = !1;
|
|
@@ -2807,7 +2807,7 @@ function L(e, t, n, r) {
|
|
|
2807
2807
|
);
|
|
2808
2808
|
}
|
|
2809
2809
|
var g = !1, b = ((n & is) !== 0 ? Gn : Or)(() => (g = !1, d()));
|
|
2810
|
-
i &&
|
|
2810
|
+
i && x(b);
|
|
2811
2811
|
var y = (
|
|
2812
2812
|
/** @type {Effect} */
|
|
2813
2813
|
I
|
|
@@ -2816,10 +2816,10 @@ function L(e, t, n, r) {
|
|
|
2816
2816
|
/** @type {() => V} */
|
|
2817
2817
|
(function(w, E) {
|
|
2818
2818
|
if (arguments.length > 0) {
|
|
2819
|
-
const k = E ?
|
|
2819
|
+
const k = E ? x(b) : o && i ? Ft(w) : w;
|
|
2820
2820
|
return S(b, k), g = !0, a !== void 0 && (a = k), w;
|
|
2821
2821
|
}
|
|
2822
|
-
return Mt && g || (y.f & it) !== 0 ? b.v :
|
|
2822
|
+
return Mt && g || (y.f & it) !== 0 ? b.v : x(b);
|
|
2823
2823
|
})
|
|
2824
2824
|
);
|
|
2825
2825
|
}
|
|
@@ -2838,17 +2838,17 @@ class Va {
|
|
|
2838
2838
|
*/
|
|
2839
2839
|
constructor(t) {
|
|
2840
2840
|
var n = /* @__PURE__ */ new Map(), r = (i, s) => {
|
|
2841
|
-
var a = /* @__PURE__ */
|
|
2841
|
+
var a = /* @__PURE__ */ li(s, !1, !1);
|
|
2842
2842
|
return n.set(i, a), a;
|
|
2843
2843
|
};
|
|
2844
2844
|
const o = new Proxy(
|
|
2845
2845
|
{ ...t.props || {}, $$events: {} },
|
|
2846
2846
|
{
|
|
2847
2847
|
get(i, s) {
|
|
2848
|
-
return
|
|
2848
|
+
return x(n.get(s) ?? r(s, Reflect.get(i, s)));
|
|
2849
2849
|
},
|
|
2850
2850
|
has(i, s) {
|
|
2851
|
-
return s ===
|
|
2851
|
+
return s === qo ? !0 : (x(n.get(s) ?? r(s, Reflect.get(i, s))), Reflect.has(i, s));
|
|
2852
2852
|
},
|
|
2853
2853
|
set(i, s, a) {
|
|
2854
2854
|
return S(n.get(s) ?? r(s, a), a), Reflect.set(i, s, a);
|
|
@@ -2862,7 +2862,7 @@ class Va {
|
|
|
2862
2862
|
context: t.context,
|
|
2863
2863
|
intro: t.intro ?? !1,
|
|
2864
2864
|
recover: t.recover
|
|
2865
|
-
}), (!t?.props?.$$host || t.sync === !1) &&
|
|
2865
|
+
}), (!t?.props?.$$host || t.sync === !1) && T(), this.#t = o.$$events;
|
|
2866
2866
|
for (const i of Object.keys(this.#e))
|
|
2867
2867
|
i === "$set" || i === "$destroy" || i === "$on" || Rn(this, i, {
|
|
2868
2868
|
get() {
|
|
@@ -3109,7 +3109,7 @@ function Y(e, t, n, r, o, i) {
|
|
|
3109
3109
|
const Oa = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M8 11H12.5C13.8807 11 15 9.88071 15 8.5C15 7.11929 13.8807 6 12.5 6H8V11ZM18 15.5C18 17.9853 15.9853 20 13.5 20H6V4H12.5C14.9853 4 17 6.01472 17 8.5C17 9.70431 16.5269 10.7981 15.7564 11.6058C17.0979 12.3847 18 13.837 18 15.5ZM8 13V18H13.5C14.8807 18 16 16.8807 16 15.5C16 14.1193 14.8807 13 13.5 13H8Z"></path></svg>';
|
|
3110
3110
|
const {
|
|
3111
3111
|
entries: Ui,
|
|
3112
|
-
setPrototypeOf:
|
|
3112
|
+
setPrototypeOf: So,
|
|
3113
3113
|
isFrozen: Ia,
|
|
3114
3114
|
getPrototypeOf: Da,
|
|
3115
3115
|
getOwnPropertyDescriptor: Na
|
|
@@ -3138,7 +3138,7 @@ Lr || (Lr = function(t) {
|
|
|
3138
3138
|
r[o - 1] = arguments[o];
|
|
3139
3139
|
return new t(...r);
|
|
3140
3140
|
});
|
|
3141
|
-
const Ln = xe(Array.prototype.forEach), $a = xe(Array.prototype.lastIndexOf),
|
|
3141
|
+
const Ln = xe(Array.prototype.forEach), $a = xe(Array.prototype.lastIndexOf), Vo = xe(Array.prototype.pop), tn = xe(Array.prototype.push), Pa = xe(Array.prototype.splice), Sn = xe(String.prototype.toLowerCase), fr = xe(String.prototype.toString), cr = xe(String.prototype.match), nn = xe(String.prototype.replace), Ba = xe(String.prototype.indexOf), Fa = xe(String.prototype.trim), $e = xe(Object.prototype.hasOwnProperty), we = xe(RegExp.prototype.test), rn = Za(TypeError);
|
|
3142
3142
|
function xe(e) {
|
|
3143
3143
|
return function(t) {
|
|
3144
3144
|
t instanceof RegExp && (t.lastIndex = 0);
|
|
@@ -3156,7 +3156,7 @@ function Za(e) {
|
|
|
3156
3156
|
}
|
|
3157
3157
|
function $(e, t) {
|
|
3158
3158
|
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Sn;
|
|
3159
|
-
|
|
3159
|
+
So && So(e, null);
|
|
3160
3160
|
let r = t.length;
|
|
3161
3161
|
for (; r--; ) {
|
|
3162
3162
|
let o = t[r];
|
|
@@ -3195,14 +3195,14 @@ function on(e, t) {
|
|
|
3195
3195
|
}
|
|
3196
3196
|
return n;
|
|
3197
3197
|
}
|
|
3198
|
-
const
|
|
3198
|
+
const Ro = ye(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), dr = ye(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), vr = ye(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), za = ye(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), gr = ye(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), ja = ye(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Oo = ye(["#text"]), Io = ye(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), hr = ye(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), Do = ye(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), Hn = ye(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Ga = Ie(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Wa = Ie(/<%[\w\W]*|[\w\W]*%>/gm), Ya = Ie(/\$\{[\w\W]*/gm), qa = Ie(/^data-[\-\w.\u00B7-\uFFFF]+$/), Ka = Ie(/^aria-[\-\w]+$/), zi = Ie(
|
|
3199
3199
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
3200
3200
|
// eslint-disable-line no-useless-escape
|
|
3201
3201
|
), Xa = Ie(/^(?:\w+script|data):/i), Ja = Ie(
|
|
3202
3202
|
/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
|
|
3203
3203
|
// eslint-disable-line no-control-regex
|
|
3204
3204
|
), ji = Ie(/^html$/i), Qa = Ie(/^[a-z][.\w]*(-[.\w]+)+$/i);
|
|
3205
|
-
var
|
|
3205
|
+
var No = /* @__PURE__ */ Object.freeze({
|
|
3206
3206
|
__proto__: null,
|
|
3207
3207
|
ARIA_ATTR: Ka,
|
|
3208
3208
|
ATTR_WHITESPACE: Ja,
|
|
@@ -3243,7 +3243,7 @@ const sn = {
|
|
|
3243
3243
|
} catch {
|
|
3244
3244
|
return console.warn("TrustedTypes policy " + i + " could not be created."), null;
|
|
3245
3245
|
}
|
|
3246
|
-
},
|
|
3246
|
+
}, $o = function() {
|
|
3247
3247
|
return {
|
|
3248
3248
|
afterSanitizeAttributes: [],
|
|
3249
3249
|
afterSanitizeElements: [],
|
|
@@ -3288,7 +3288,7 @@ function Gi() {
|
|
|
3288
3288
|
} = n, {
|
|
3289
3289
|
importNode: q
|
|
3290
3290
|
} = r;
|
|
3291
|
-
let N =
|
|
3291
|
+
let N = $o();
|
|
3292
3292
|
t.isSupported = typeof Ui == "function" && typeof w == "function" && C && C.createHTMLDocument !== void 0;
|
|
3293
3293
|
const {
|
|
3294
3294
|
MUSTACHE_EXPR: F,
|
|
@@ -3299,13 +3299,13 @@ function Gi() {
|
|
|
3299
3299
|
IS_SCRIPT_OR_DATA: Kt,
|
|
3300
3300
|
ATTR_WHITESPACE: Xe,
|
|
3301
3301
|
CUSTOM_ELEMENT: qn
|
|
3302
|
-
} =
|
|
3302
|
+
} = No;
|
|
3303
3303
|
let {
|
|
3304
|
-
IS_ALLOWED_URI:
|
|
3305
|
-
} =
|
|
3306
|
-
const
|
|
3304
|
+
IS_ALLOWED_URI: Gr
|
|
3305
|
+
} = No, ue = null;
|
|
3306
|
+
const Wr = $({}, [...Ro, ...dr, ...vr, ...gr, ...Oo]);
|
|
3307
3307
|
let ce = null;
|
|
3308
|
-
const
|
|
3308
|
+
const Yr = $({}, [...Io, ...hr, ...Do, ...Hn]);
|
|
3309
3309
|
let oe = Object.seal(Tr(null, {
|
|
3310
3310
|
tagNameCheck: {
|
|
3311
3311
|
writable: !0,
|
|
@@ -3340,14 +3340,14 @@ function Gi() {
|
|
|
3340
3340
|
value: null
|
|
3341
3341
|
}
|
|
3342
3342
|
}));
|
|
3343
|
-
let
|
|
3343
|
+
let qr = !0, Xn = !0, Kr = !1, Xr = !0, Vt = !1, mn = !0, bt = !1, Jn = !1, Qn = !1, Rt = !1, _n = !1, bn = !1, Jr = !0, Qr = !1;
|
|
3344
3344
|
const qi = "user-content-";
|
|
3345
3345
|
let er = !0, Jt = !1, Ot = {}, It = null;
|
|
3346
|
-
const
|
|
3347
|
-
let
|
|
3348
|
-
const
|
|
3346
|
+
const eo = $({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
|
3347
|
+
let to = null;
|
|
3348
|
+
const no = $({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
3349
3349
|
let tr = null;
|
|
3350
|
-
const
|
|
3350
|
+
const ro = $({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), wn = "http://www.w3.org/1998/Math/MathML", Cn = "http://www.w3.org/2000/svg", Je = "http://www.w3.org/1999/xhtml";
|
|
3351
3351
|
let Dt = Je, nr = !1, rr = null;
|
|
3352
3352
|
const Ki = $({}, [wn, Cn, Je], fr);
|
|
3353
3353
|
let En = $({}, ["mi", "mo", "mn", "ms", "mtext"]), yn = $({}, ["annotation-xml"]);
|
|
@@ -3355,13 +3355,13 @@ function Gi() {
|
|
|
3355
3355
|
let Qt = null;
|
|
3356
3356
|
const Ji = ["application/xhtml+xml", "text/html"], Qi = "text/html";
|
|
3357
3357
|
let fe = null, Nt = null;
|
|
3358
|
-
const es = n.createElement("form"),
|
|
3358
|
+
const es = n.createElement("form"), oo = function(f) {
|
|
3359
3359
|
return f instanceof RegExp || f instanceof Function;
|
|
3360
3360
|
}, or = function() {
|
|
3361
3361
|
let f = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
3362
3362
|
if (!(Nt && Nt === f)) {
|
|
3363
3363
|
if ((!f || typeof f != "object") && (f = {}), f = tt(f), Qt = // eslint-disable-next-line unicorn/prefer-includes
|
|
3364
|
-
Ji.indexOf(f.PARSER_MEDIA_TYPE) === -1 ? Qi : f.PARSER_MEDIA_TYPE, fe = Qt === "application/xhtml+xml" ? fr : Sn, ue = $e(f, "ALLOWED_TAGS") ? $({}, f.ALLOWED_TAGS, fe) :
|
|
3364
|
+
Ji.indexOf(f.PARSER_MEDIA_TYPE) === -1 ? Qi : f.PARSER_MEDIA_TYPE, fe = Qt === "application/xhtml+xml" ? fr : Sn, ue = $e(f, "ALLOWED_TAGS") ? $({}, f.ALLOWED_TAGS, fe) : Wr, ce = $e(f, "ALLOWED_ATTR") ? $({}, f.ALLOWED_ATTR, fe) : Yr, rr = $e(f, "ALLOWED_NAMESPACES") ? $({}, f.ALLOWED_NAMESPACES, fr) : Ki, tr = $e(f, "ADD_URI_SAFE_ATTR") ? $(tt(ro), f.ADD_URI_SAFE_ATTR, fe) : ro, to = $e(f, "ADD_DATA_URI_TAGS") ? $(tt(no), f.ADD_DATA_URI_TAGS, fe) : no, It = $e(f, "FORBID_CONTENTS") ? $({}, f.FORBID_CONTENTS, fe) : eo, Xt = $e(f, "FORBID_TAGS") ? $({}, f.FORBID_TAGS, fe) : tt({}), Kn = $e(f, "FORBID_ATTR") ? $({}, f.FORBID_ATTR, fe) : tt({}), Ot = $e(f, "USE_PROFILES") ? f.USE_PROFILES : !1, qr = f.ALLOW_ARIA_ATTR !== !1, Xn = f.ALLOW_DATA_ATTR !== !1, Kr = f.ALLOW_UNKNOWN_PROTOCOLS || !1, Xr = f.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Vt = f.SAFE_FOR_TEMPLATES || !1, mn = f.SAFE_FOR_XML !== !1, bt = f.WHOLE_DOCUMENT || !1, Rt = f.RETURN_DOM || !1, _n = f.RETURN_DOM_FRAGMENT || !1, bn = f.RETURN_TRUSTED_TYPE || !1, Qn = f.FORCE_BODY || !1, Jr = f.SANITIZE_DOM !== !1, Qr = f.SANITIZE_NAMED_PROPS || !1, er = f.KEEP_CONTENT !== !1, Jt = f.IN_PLACE || !1, Gr = f.ALLOWED_URI_REGEXP || zi, Dt = f.NAMESPACE || Je, En = f.MATHML_TEXT_INTEGRATION_POINTS || En, yn = f.HTML_INTEGRATION_POINTS || yn, oe = f.CUSTOM_ELEMENT_HANDLING || {}, f.CUSTOM_ELEMENT_HANDLING && oo(f.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (oe.tagNameCheck = f.CUSTOM_ELEMENT_HANDLING.tagNameCheck), f.CUSTOM_ELEMENT_HANDLING && oo(f.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (oe.attributeNameCheck = f.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), f.CUSTOM_ELEMENT_HANDLING && typeof f.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (oe.allowCustomizedBuiltInElements = f.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Vt && (Xn = !1), _n && (Rt = !0), Ot && (ue = $({}, Oo), ce = [], Ot.html === !0 && ($(ue, Ro), $(ce, Io)), Ot.svg === !0 && ($(ue, dr), $(ce, hr), $(ce, Hn)), Ot.svgFilters === !0 && ($(ue, vr), $(ce, hr), $(ce, Hn)), Ot.mathMl === !0 && ($(ue, gr), $(ce, Do), $(ce, Hn))), f.ADD_TAGS && (typeof f.ADD_TAGS == "function" ? St.tagCheck = f.ADD_TAGS : (ue === Wr && (ue = tt(ue)), $(ue, f.ADD_TAGS, fe))), f.ADD_ATTR && (typeof f.ADD_ATTR == "function" ? St.attributeCheck = f.ADD_ATTR : (ce === Yr && (ce = tt(ce)), $(ce, f.ADD_ATTR, fe))), f.ADD_URI_SAFE_ATTR && $(tr, f.ADD_URI_SAFE_ATTR, fe), f.FORBID_CONTENTS && (It === eo && (It = tt(It)), $(It, f.FORBID_CONTENTS, fe)), er && (ue["#text"] = !0), bt && $(ue, ["html", "head", "body"]), ue.table && ($(ue, ["tbody"]), delete Xt.tbody), f.TRUSTED_TYPES_POLICY) {
|
|
3365
3365
|
if (typeof f.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
3366
3366
|
throw rn('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
3367
3367
|
if (typeof f.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -3371,14 +3371,14 @@ function Gi() {
|
|
|
3371
3371
|
E === void 0 && (E = tl(v, o)), E !== null && typeof k == "string" && (k = E.createHTML(""));
|
|
3372
3372
|
ye && ye(f), Nt = f;
|
|
3373
3373
|
}
|
|
3374
|
-
},
|
|
3374
|
+
}, io = $({}, [...dr, ...vr, ...za]), so = $({}, [...gr, ...ja]), ts = function(f) {
|
|
3375
3375
|
let _ = w(f);
|
|
3376
3376
|
(!_ || !_.tagName) && (_ = {
|
|
3377
3377
|
namespaceURI: Dt,
|
|
3378
3378
|
tagName: "template"
|
|
3379
3379
|
});
|
|
3380
|
-
const
|
|
3381
|
-
return rr[f.namespaceURI] ? f.namespaceURI === Cn ? _.namespaceURI === Je ?
|
|
3380
|
+
const A = Sn(f.tagName), X = Sn(_.tagName);
|
|
3381
|
+
return rr[f.namespaceURI] ? f.namespaceURI === Cn ? _.namespaceURI === Je ? A === "svg" : _.namespaceURI === wn ? A === "svg" && (X === "annotation-xml" || En[X]) : !!io[A] : f.namespaceURI === wn ? _.namespaceURI === Je ? A === "math" : _.namespaceURI === Cn ? A === "math" && yn[X] : !!so[A] : f.namespaceURI === Je ? _.namespaceURI === Cn && !yn[X] || _.namespaceURI === wn && !En[X] ? !1 : !so[A] && (Xi[A] || !io[A]) : !!(Qt === "application/xhtml+xml" && rr[f.namespaceURI]) : !1;
|
|
3382
3382
|
}, je = function(f) {
|
|
3383
3383
|
tn(t.removed, {
|
|
3384
3384
|
element: f
|
|
@@ -3411,13 +3411,13 @@ function Gi() {
|
|
|
3411
3411
|
_.setAttribute(f, "");
|
|
3412
3412
|
} catch {
|
|
3413
3413
|
}
|
|
3414
|
-
},
|
|
3415
|
-
let _ = null,
|
|
3414
|
+
}, ao = function(f) {
|
|
3415
|
+
let _ = null, A = null;
|
|
3416
3416
|
if (Qn)
|
|
3417
3417
|
f = "<remove></remove>" + f;
|
|
3418
3418
|
else {
|
|
3419
3419
|
const le = cr(f, /^[\r\n\t ]+/);
|
|
3420
|
-
|
|
3420
|
+
A = le && le[0];
|
|
3421
3421
|
}
|
|
3422
3422
|
Qt === "application/xhtml+xml" && Dt === Je && (f = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + f + "</body></html>");
|
|
3423
3423
|
const X = E ? E.createHTML(f) : f;
|
|
@@ -3434,8 +3434,8 @@ function Gi() {
|
|
|
3434
3434
|
}
|
|
3435
3435
|
}
|
|
3436
3436
|
const ge = _.body || _.documentElement;
|
|
3437
|
-
return f &&
|
|
3438
|
-
},
|
|
3437
|
+
return f && A && ge.insertBefore(n.createTextNode(A), ge.childNodes[0] || null), Dt === Je ? Z.call(_, bt ? "html" : "body")[0] : bt ? _.documentElement : ge;
|
|
3438
|
+
}, lo = function(f) {
|
|
3439
3439
|
return H.call(
|
|
3440
3440
|
f.ownerDocument || f,
|
|
3441
3441
|
f,
|
|
@@ -3445,28 +3445,28 @@ function Gi() {
|
|
|
3445
3445
|
);
|
|
3446
3446
|
}, ir = function(f) {
|
|
3447
3447
|
return f instanceof m && (typeof f.nodeName != "string" || typeof f.textContent != "string" || typeof f.removeChild != "function" || !(f.attributes instanceof l) || typeof f.removeAttribute != "function" || typeof f.setAttribute != "function" || typeof f.namespaceURI != "string" || typeof f.insertBefore != "function" || typeof f.hasChildNodes != "function");
|
|
3448
|
-
},
|
|
3448
|
+
}, uo = function(f) {
|
|
3449
3449
|
return typeof a == "function" && f instanceof a;
|
|
3450
3450
|
};
|
|
3451
3451
|
function Qe(M, f, _) {
|
|
3452
|
-
Ln(M, (
|
|
3453
|
-
|
|
3452
|
+
Ln(M, (A) => {
|
|
3453
|
+
A.call(t, f, _, Nt);
|
|
3454
3454
|
});
|
|
3455
3455
|
}
|
|
3456
|
-
const
|
|
3456
|
+
const fo = function(f) {
|
|
3457
3457
|
let _ = null;
|
|
3458
3458
|
if (Qe(N.beforeSanitizeElements, f, null), ir(f))
|
|
3459
3459
|
return je(f), !0;
|
|
3460
|
-
const
|
|
3460
|
+
const A = fe(f.nodeName);
|
|
3461
3461
|
if (Qe(N.uponSanitizeElement, f, {
|
|
3462
|
-
tagName:
|
|
3462
|
+
tagName: A,
|
|
3463
3463
|
allowedTags: ue
|
|
3464
|
-
}), mn && f.hasChildNodes() && !
|
|
3464
|
+
}), mn && f.hasChildNodes() && !uo(f.firstElementChild) && we(/<[/\w!]/g, f.innerHTML) && we(/<[/\w!]/g, f.textContent) || f.nodeType === sn.progressingInstruction || mn && f.nodeType === sn.comment && we(/<[/\w]/g, f.data))
|
|
3465
3465
|
return je(f), !0;
|
|
3466
|
-
if (!(St.tagCheck instanceof Function && St.tagCheck(
|
|
3467
|
-
if (!Xt[
|
|
3466
|
+
if (!(St.tagCheck instanceof Function && St.tagCheck(A)) && (!ue[A] || Xt[A])) {
|
|
3467
|
+
if (!Xt[A] && vo(A) && (oe.tagNameCheck instanceof RegExp && we(oe.tagNameCheck, A) || oe.tagNameCheck instanceof Function && oe.tagNameCheck(A)))
|
|
3468
3468
|
return !1;
|
|
3469
|
-
if (er && !It[
|
|
3469
|
+
if (er && !It[A]) {
|
|
3470
3470
|
const X = w(f) || f.parentNode, ge = y(f) || f.childNodes;
|
|
3471
3471
|
if (ge && X) {
|
|
3472
3472
|
const le = ge.length;
|
|
@@ -3478,31 +3478,31 @@ function Gi() {
|
|
|
3478
3478
|
}
|
|
3479
3479
|
return je(f), !0;
|
|
3480
3480
|
}
|
|
3481
|
-
return f instanceof u && !ts(f) || (
|
|
3481
|
+
return f instanceof u && !ts(f) || (A === "noscript" || A === "noembed" || A === "noframes") && we(/<\/no(script|embed|frames)/i, f.innerHTML) ? (je(f), !0) : (Vt && f.nodeType === sn.text && (_ = f.textContent, Ln([F, K, ne], (X) => {
|
|
3482
3482
|
_ = nn(_, X, " ");
|
|
3483
3483
|
}), f.textContent !== _ && (tn(t.removed, {
|
|
3484
3484
|
element: f.cloneNode()
|
|
3485
3485
|
}), f.textContent = _)), Qe(N.afterSanitizeElements, f, null), !1);
|
|
3486
|
-
},
|
|
3487
|
-
if (
|
|
3486
|
+
}, co = function(f, _, A) {
|
|
3487
|
+
if (Jr && (_ === "id" || _ === "name") && (A in n || A in es))
|
|
3488
3488
|
return !1;
|
|
3489
3489
|
if (!(Xn && !Kn[_] && we(De, _))) {
|
|
3490
|
-
if (!(
|
|
3490
|
+
if (!(qr && we(Ne, _))) {
|
|
3491
3491
|
if (!(St.attributeCheck instanceof Function && St.attributeCheck(_, f))) {
|
|
3492
3492
|
if (!ce[_] || Kn[_]) {
|
|
3493
3493
|
if (
|
|
3494
3494
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
3495
3495
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
3496
3496
|
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
3497
|
-
!(
|
|
3497
|
+
!(vo(f) && (oe.tagNameCheck instanceof RegExp && we(oe.tagNameCheck, f) || oe.tagNameCheck instanceof Function && oe.tagNameCheck(f)) && (oe.attributeNameCheck instanceof RegExp && we(oe.attributeNameCheck, _) || oe.attributeNameCheck instanceof Function && oe.attributeNameCheck(_, f)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
|
3498
3498
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
3499
|
-
_ === "is" && oe.allowCustomizedBuiltInElements && (oe.tagNameCheck instanceof RegExp && we(oe.tagNameCheck,
|
|
3499
|
+
_ === "is" && oe.allowCustomizedBuiltInElements && (oe.tagNameCheck instanceof RegExp && we(oe.tagNameCheck, A) || oe.tagNameCheck instanceof Function && oe.tagNameCheck(A)))
|
|
3500
3500
|
) return !1;
|
|
3501
3501
|
} else if (!tr[_]) {
|
|
3502
|
-
if (!we(
|
|
3503
|
-
if (!((_ === "src" || _ === "xlink:href" || _ === "href") && f !== "script" && Ba(
|
|
3504
|
-
if (!(
|
|
3505
|
-
if (
|
|
3502
|
+
if (!we(Gr, nn(A, Xe, ""))) {
|
|
3503
|
+
if (!((_ === "src" || _ === "xlink:href" || _ === "href") && f !== "script" && Ba(A, "data:") === 0 && to[f])) {
|
|
3504
|
+
if (!(Kr && !we(Kt, nn(A, Xe, "")))) {
|
|
3505
|
+
if (A)
|
|
3506
3506
|
return !1;
|
|
3507
3507
|
}
|
|
3508
3508
|
}
|
|
@@ -3512,16 +3512,16 @@ function Gi() {
|
|
|
3512
3512
|
}
|
|
3513
3513
|
}
|
|
3514
3514
|
return !0;
|
|
3515
|
-
}, co = function(f) {
|
|
3516
|
-
return f !== "annotation-xml" && cr(f, qn);
|
|
3517
3515
|
}, vo = function(f) {
|
|
3516
|
+
return f !== "annotation-xml" && cr(f, qn);
|
|
3517
|
+
}, go = function(f) {
|
|
3518
3518
|
Qe(N.beforeSanitizeAttributes, f, null);
|
|
3519
3519
|
const {
|
|
3520
3520
|
attributes: _
|
|
3521
3521
|
} = f;
|
|
3522
3522
|
if (!_ || ir(f))
|
|
3523
3523
|
return;
|
|
3524
|
-
const
|
|
3524
|
+
const A = {
|
|
3525
3525
|
attrName: "",
|
|
3526
3526
|
attrValue: "",
|
|
3527
3527
|
keepAttr: !0,
|
|
@@ -3536,7 +3536,7 @@ function Gi() {
|
|
|
3536
3536
|
value: et
|
|
3537
3537
|
} = ge, $t = fe(le), sr = et;
|
|
3538
3538
|
let de = le === "value" ? sr : Fa(sr);
|
|
3539
|
-
if (
|
|
3539
|
+
if (A.attrName = $t, A.attrValue = de, A.keepAttr = !0, A.forceKeepAttr = void 0, Qe(N.uponSanitizeAttribute, f, A), de = A.attrValue, Qr && ($t === "id" || $t === "name") && (wt(le, f), de = qi + de), mn && we(/((--!?|])>)|<\/(style|title|textarea)/i, de)) {
|
|
3540
3540
|
wt(le, f);
|
|
3541
3541
|
continue;
|
|
3542
3542
|
}
|
|
@@ -3544,26 +3544,26 @@ function Gi() {
|
|
|
3544
3544
|
wt(le, f);
|
|
3545
3545
|
continue;
|
|
3546
3546
|
}
|
|
3547
|
-
if (
|
|
3547
|
+
if (A.forceKeepAttr)
|
|
3548
3548
|
continue;
|
|
3549
|
-
if (!
|
|
3549
|
+
if (!A.keepAttr) {
|
|
3550
3550
|
wt(le, f);
|
|
3551
3551
|
continue;
|
|
3552
3552
|
}
|
|
3553
|
-
if (!
|
|
3553
|
+
if (!Xr && we(/\/>/i, de)) {
|
|
3554
3554
|
wt(le, f);
|
|
3555
3555
|
continue;
|
|
3556
3556
|
}
|
|
3557
|
-
Vt && Ln([F, K, ne], (
|
|
3558
|
-
de = nn(de,
|
|
3557
|
+
Vt && Ln([F, K, ne], (po) => {
|
|
3558
|
+
de = nn(de, po, " ");
|
|
3559
3559
|
});
|
|
3560
|
-
const
|
|
3561
|
-
if (!
|
|
3560
|
+
const ho = fe(f.nodeName);
|
|
3561
|
+
if (!co(ho, $t, de)) {
|
|
3562
3562
|
wt(le, f);
|
|
3563
3563
|
continue;
|
|
3564
3564
|
}
|
|
3565
3565
|
if (E && typeof v == "object" && typeof v.getAttributeType == "function" && !Te)
|
|
3566
|
-
switch (v.getAttributeType(
|
|
3566
|
+
switch (v.getAttributeType(ho, $t)) {
|
|
3567
3567
|
case "TrustedHTML": {
|
|
3568
3568
|
de = E.createHTML(de);
|
|
3569
3569
|
break;
|
|
@@ -3575,7 +3575,7 @@ function Gi() {
|
|
|
3575
3575
|
}
|
|
3576
3576
|
if (de !== sr)
|
|
3577
3577
|
try {
|
|
3578
|
-
Te ? f.setAttributeNS(Te, le, de) : f.setAttribute(le, de), ir(f) ? je(f) :
|
|
3578
|
+
Te ? f.setAttributeNS(Te, le, de) : f.setAttribute(le, de), ir(f) ? je(f) : Vo(t.removed);
|
|
3579
3579
|
} catch {
|
|
3580
3580
|
wt(le, f);
|
|
3581
3581
|
}
|
|
@@ -3583,14 +3583,14 @@ function Gi() {
|
|
|
3583
3583
|
Qe(N.afterSanitizeAttributes, f, null);
|
|
3584
3584
|
}, ns = function M(f) {
|
|
3585
3585
|
let _ = null;
|
|
3586
|
-
const
|
|
3587
|
-
for (Qe(N.beforeSanitizeShadowDOM, f, null); _ =
|
|
3588
|
-
Qe(N.uponSanitizeShadowNode, _, null),
|
|
3586
|
+
const A = lo(f);
|
|
3587
|
+
for (Qe(N.beforeSanitizeShadowDOM, f, null); _ = A.nextNode(); )
|
|
3588
|
+
Qe(N.uponSanitizeShadowNode, _, null), fo(_), go(_), _.content instanceof i && M(_.content);
|
|
3589
3589
|
Qe(N.afterSanitizeShadowDOM, f, null);
|
|
3590
3590
|
};
|
|
3591
3591
|
return t.sanitize = function(M) {
|
|
3592
|
-
let f = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, _ = null,
|
|
3593
|
-
if (nr = !M, nr && (M = "<!-->"), typeof M != "string" && !
|
|
3592
|
+
let f = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, _ = null, A = null, X = null, ge = null;
|
|
3593
|
+
if (nr = !M, nr && (M = "<!-->"), typeof M != "string" && !uo(M))
|
|
3594
3594
|
if (typeof M.toString == "function") {
|
|
3595
3595
|
if (M = M.toString(), typeof M != "string")
|
|
3596
3596
|
throw rn("dirty is not a string, aborting");
|
|
@@ -3605,18 +3605,18 @@ function Gi() {
|
|
|
3605
3605
|
throw rn("root node is forbidden and cannot be sanitized in-place");
|
|
3606
3606
|
}
|
|
3607
3607
|
} else if (M instanceof a)
|
|
3608
|
-
_ =
|
|
3608
|
+
_ = ao("<!---->"), A = _.ownerDocument.importNode(M, !0), A.nodeType === sn.element && A.nodeName === "BODY" || A.nodeName === "HTML" ? _ = A : _.appendChild(A);
|
|
3609
3609
|
else {
|
|
3610
3610
|
if (!Rt && !Vt && !bt && // eslint-disable-next-line unicorn/prefer-includes
|
|
3611
3611
|
M.indexOf("<") === -1)
|
|
3612
3612
|
return E && bn ? E.createHTML(M) : M;
|
|
3613
|
-
if (_ =
|
|
3613
|
+
if (_ = ao(M), !_)
|
|
3614
3614
|
return Rt ? null : bn ? k : "";
|
|
3615
3615
|
}
|
|
3616
3616
|
_ && Qn && je(_.firstChild);
|
|
3617
|
-
const le =
|
|
3617
|
+
const le = lo(Jt ? M : _);
|
|
3618
3618
|
for (; X = le.nextNode(); )
|
|
3619
|
-
|
|
3619
|
+
fo(X), go(X), X.content instanceof i && ns(X.content);
|
|
3620
3620
|
if (Jt)
|
|
3621
3621
|
return M;
|
|
3622
3622
|
if (Rt) {
|
|
@@ -3639,8 +3639,8 @@ function Gi() {
|
|
|
3639
3639
|
Nt = null, Jn = !1;
|
|
3640
3640
|
}, t.isValidAttribute = function(M, f, _) {
|
|
3641
3641
|
Nt || or({});
|
|
3642
|
-
const
|
|
3643
|
-
return
|
|
3642
|
+
const A = fe(M), X = fe(f);
|
|
3643
|
+
return co(A, X, _);
|
|
3644
3644
|
}, t.addHook = function(M, f) {
|
|
3645
3645
|
typeof f == "function" && tn(N[M], f);
|
|
3646
3646
|
}, t.removeHook = function(M, f) {
|
|
@@ -3648,11 +3648,11 @@ function Gi() {
|
|
|
3648
3648
|
const _ = $a(N[M], f);
|
|
3649
3649
|
return _ === -1 ? void 0 : Pa(N[M], _, 1)[0];
|
|
3650
3650
|
}
|
|
3651
|
-
return
|
|
3651
|
+
return Vo(N[M]);
|
|
3652
3652
|
}, t.removeHooks = function(M) {
|
|
3653
3653
|
N[M] = [];
|
|
3654
3654
|
}, t.removeAllHooks = function() {
|
|
3655
|
-
N =
|
|
3655
|
+
N = $o();
|
|
3656
3656
|
}, t;
|
|
3657
3657
|
}
|
|
3658
3658
|
var nl = Gi(), rl = /* @__PURE__ */ ae('<div class="icon-wrapper svelte-1ql962m"><!></div>');
|
|
@@ -3668,7 +3668,7 @@ function ie(e, t) {
|
|
|
3668
3668
|
return n();
|
|
3669
3669
|
},
|
|
3670
3670
|
set content(s) {
|
|
3671
|
-
n(s),
|
|
3671
|
+
n(s), T();
|
|
3672
3672
|
}
|
|
3673
3673
|
}, o = rl(), i = D(o);
|
|
3674
3674
|
return ma(i, () => nl.sanitize(n(), { USE_PROFILES: { svg: !0 } })), R(o), V(e, o), W(r);
|
|
@@ -3704,43 +3704,43 @@ function ve(e, t) {
|
|
|
3704
3704
|
return n();
|
|
3705
3705
|
},
|
|
3706
3706
|
set editor(w) {
|
|
3707
|
-
n(w),
|
|
3707
|
+
n(w), T();
|
|
3708
3708
|
},
|
|
3709
3709
|
get key() {
|
|
3710
3710
|
return r();
|
|
3711
3711
|
},
|
|
3712
3712
|
set key(w) {
|
|
3713
|
-
r(w),
|
|
3713
|
+
r(w), T();
|
|
3714
3714
|
},
|
|
3715
3715
|
get action() {
|
|
3716
3716
|
return o();
|
|
3717
3717
|
},
|
|
3718
3718
|
set action(w) {
|
|
3719
|
-
o(w),
|
|
3719
|
+
o(w), T();
|
|
3720
3720
|
},
|
|
3721
3721
|
get icon() {
|
|
3722
3722
|
return i();
|
|
3723
3723
|
},
|
|
3724
3724
|
set icon(w) {
|
|
3725
|
-
i(w),
|
|
3725
|
+
i(w), T();
|
|
3726
3726
|
},
|
|
3727
3727
|
get tooltip() {
|
|
3728
3728
|
return s();
|
|
3729
3729
|
},
|
|
3730
3730
|
set tooltip(w) {
|
|
3731
|
-
s(w),
|
|
3731
|
+
s(w), T();
|
|
3732
3732
|
},
|
|
3733
3733
|
get text() {
|
|
3734
3734
|
return a();
|
|
3735
3735
|
},
|
|
3736
3736
|
set text(w = "") {
|
|
3737
|
-
a(w),
|
|
3737
|
+
a(w), T();
|
|
3738
3738
|
},
|
|
3739
3739
|
get dropdownOpen() {
|
|
3740
3740
|
return u();
|
|
3741
3741
|
},
|
|
3742
3742
|
set dropdownOpen(w = !1) {
|
|
3743
|
-
u(w),
|
|
3743
|
+
u(w), T();
|
|
3744
3744
|
}
|
|
3745
3745
|
}, d = sl();
|
|
3746
3746
|
d.__click = () => o()();
|
|
@@ -3755,15 +3755,15 @@ function ve(e, t) {
|
|
|
3755
3755
|
{
|
|
3756
3756
|
var y = (w) => {
|
|
3757
3757
|
var E = il(), k = D(E, !0);
|
|
3758
|
-
R(E), Me(() =>
|
|
3758
|
+
R(E), Me(() => Pr(k, a())), V(w, E);
|
|
3759
3759
|
};
|
|
3760
3760
|
te(b, (w) => {
|
|
3761
3761
|
a() && w(y);
|
|
3762
3762
|
});
|
|
3763
3763
|
}
|
|
3764
3764
|
return R(d), Me(() => {
|
|
3765
|
-
d.disabled =
|
|
3766
|
-
highlighted:
|
|
3765
|
+
d.disabled = x(l), J(d, "title", x(l) ? "" : s()), h = Br(d, 1, "svelte-2g495f", null, h, {
|
|
3766
|
+
highlighted: x(c),
|
|
3767
3767
|
dropdownOpen: u()
|
|
3768
3768
|
});
|
|
3769
3769
|
}), V(e, d), W(v);
|
|
@@ -3793,13 +3793,13 @@ function ll(e, t) {
|
|
|
3793
3793
|
return n();
|
|
3794
3794
|
},
|
|
3795
3795
|
set editor(l) {
|
|
3796
|
-
n(l),
|
|
3796
|
+
n(l), T();
|
|
3797
3797
|
},
|
|
3798
3798
|
get language() {
|
|
3799
3799
|
return r();
|
|
3800
3800
|
},
|
|
3801
3801
|
set language(l = "en") {
|
|
3802
|
-
r(l),
|
|
3802
|
+
r(l), T();
|
|
3803
3803
|
}
|
|
3804
3804
|
}, a = re(), u = j(a);
|
|
3805
3805
|
{
|
|
@@ -3840,7 +3840,7 @@ function cl(e) {
|
|
|
3840
3840
|
const t = e - 1;
|
|
3841
3841
|
return t * t * t + 1;
|
|
3842
3842
|
}
|
|
3843
|
-
function
|
|
3843
|
+
function Po(e) {
|
|
3844
3844
|
const t = typeof e == "string" && e.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);
|
|
3845
3845
|
return t ? [parseFloat(t[1]), t[2] || "px"] : [
|
|
3846
3846
|
/** @type {number} */
|
|
@@ -3849,7 +3849,7 @@ function $o(e) {
|
|
|
3849
3849
|
];
|
|
3850
3850
|
}
|
|
3851
3851
|
function dl(e, { delay: t = 0, duration: n = 400, easing: r = cl, x: o = 0, y: i = 0, opacity: s = 0 } = {}) {
|
|
3852
|
-
const a = getComputedStyle(e), u = +a.opacity, c = a.transform === "none" ? "" : a.transform, l = u * (1 - s), [m, p] =
|
|
3852
|
+
const a = getComputedStyle(e), u = +a.opacity, c = a.transform === "none" ? "" : a.transform, l = u * (1 - s), [m, p] = Po(o), [v, d] = Po(i);
|
|
3853
3853
|
return {
|
|
3854
3854
|
delay: t,
|
|
3855
3855
|
duration: n,
|
|
@@ -3879,43 +3879,43 @@ function ut(e, t) {
|
|
|
3879
3879
|
return n();
|
|
3880
3880
|
},
|
|
3881
3881
|
set editor(b) {
|
|
3882
|
-
n(b),
|
|
3882
|
+
n(b), T();
|
|
3883
3883
|
},
|
|
3884
3884
|
get key() {
|
|
3885
3885
|
return r();
|
|
3886
3886
|
},
|
|
3887
3887
|
set key(b) {
|
|
3888
|
-
r(b),
|
|
3888
|
+
r(b), T();
|
|
3889
3889
|
},
|
|
3890
3890
|
get icon() {
|
|
3891
3891
|
return o();
|
|
3892
3892
|
},
|
|
3893
3893
|
set icon(b) {
|
|
3894
|
-
o(b),
|
|
3894
|
+
o(b), T();
|
|
3895
3895
|
},
|
|
3896
3896
|
get text() {
|
|
3897
3897
|
return i();
|
|
3898
3898
|
},
|
|
3899
3899
|
set text(b = "") {
|
|
3900
|
-
i(b),
|
|
3900
|
+
i(b), T();
|
|
3901
3901
|
},
|
|
3902
3902
|
get dropdownOpen() {
|
|
3903
3903
|
return s();
|
|
3904
3904
|
},
|
|
3905
3905
|
set dropdownOpen(b) {
|
|
3906
|
-
s(b),
|
|
3906
|
+
s(b), T();
|
|
3907
3907
|
},
|
|
3908
3908
|
get children() {
|
|
3909
3909
|
return a();
|
|
3910
3910
|
},
|
|
3911
3911
|
set children(b) {
|
|
3912
|
-
a(b),
|
|
3912
|
+
a(b), T();
|
|
3913
3913
|
},
|
|
3914
3914
|
get tooltip() {
|
|
3915
3915
|
return u();
|
|
3916
3916
|
},
|
|
3917
3917
|
set tooltip(b) {
|
|
3918
|
-
u(b),
|
|
3918
|
+
u(b), T();
|
|
3919
3919
|
}
|
|
3920
3920
|
}, p = gl();
|
|
3921
3921
|
let v;
|
|
@@ -3951,7 +3951,7 @@ function ut(e, t) {
|
|
|
3951
3951
|
s() && b(g);
|
|
3952
3952
|
});
|
|
3953
3953
|
}
|
|
3954
|
-
return R(p), Pi(p, (b) => fl?.(b)), Me(() => v =
|
|
3954
|
+
return R(p), Pi(p, (b) => fl?.(b)), Me(() => v = Br(p, 1, "dropdown-wrapper svelte-1jj3d72", null, v, { open: s() })), Vi("outclick", p, l), V(e, p), W(m);
|
|
3955
3955
|
}
|
|
3956
3956
|
Y(
|
|
3957
3957
|
ut,
|
|
@@ -3995,13 +3995,13 @@ function bl(e, t) {
|
|
|
3995
3995
|
return n();
|
|
3996
3996
|
},
|
|
3997
3997
|
set editor(v) {
|
|
3998
|
-
n(v),
|
|
3998
|
+
n(v), T();
|
|
3999
3999
|
},
|
|
4000
4000
|
get language() {
|
|
4001
4001
|
return r();
|
|
4002
4002
|
},
|
|
4003
4003
|
set language(v = "en") {
|
|
4004
|
-
r(v),
|
|
4004
|
+
r(v), T();
|
|
4005
4005
|
}
|
|
4006
4006
|
}, l = re(), m = j(l);
|
|
4007
4007
|
{
|
|
@@ -4018,7 +4018,7 @@ function bl(e, t) {
|
|
|
4018
4018
|
return i[r()];
|
|
4019
4019
|
},
|
|
4020
4020
|
get dropdownOpen() {
|
|
4021
|
-
return
|
|
4021
|
+
return x(o);
|
|
4022
4022
|
},
|
|
4023
4023
|
set dropdownOpen(d) {
|
|
4024
4024
|
S(o, d, !0);
|
|
@@ -4035,8 +4035,8 @@ function bl(e, t) {
|
|
|
4035
4035
|
var w = Q(b, 2);
|
|
4036
4036
|
Lt(w, 17, () => s, (E) => s.indexOf(E), (E, k) => {
|
|
4037
4037
|
var C = pl();
|
|
4038
|
-
C.__click = () => u(
|
|
4039
|
-
Bi(C, `background-color: ${
|
|
4038
|
+
C.__click = () => u(x(k)), Me(() => {
|
|
4039
|
+
Bi(C, `background-color: ${x(k) ?? ""};`), J(C, "aria-label", x(k));
|
|
4040
4040
|
}), V(E, C);
|
|
4041
4041
|
}), R(g), V(d, g);
|
|
4042
4042
|
},
|
|
@@ -4072,13 +4072,13 @@ function xl(e, t) {
|
|
|
4072
4072
|
return n();
|
|
4073
4073
|
},
|
|
4074
4074
|
set editor(d) {
|
|
4075
|
-
n(d),
|
|
4075
|
+
n(d), T();
|
|
4076
4076
|
},
|
|
4077
4077
|
get language() {
|
|
4078
4078
|
return r();
|
|
4079
4079
|
},
|
|
4080
4080
|
set language(d = "en") {
|
|
4081
|
-
r(d),
|
|
4081
|
+
r(d), T();
|
|
4082
4082
|
}
|
|
4083
4083
|
}, m = re(), p = j(m);
|
|
4084
4084
|
{
|
|
@@ -4095,24 +4095,24 @@ function xl(e, t) {
|
|
|
4095
4095
|
return o[r()];
|
|
4096
4096
|
},
|
|
4097
4097
|
get dropdownOpen() {
|
|
4098
|
-
return
|
|
4098
|
+
return x(i);
|
|
4099
4099
|
},
|
|
4100
4100
|
set dropdownOpen(h) {
|
|
4101
4101
|
S(i, h, !0);
|
|
4102
4102
|
},
|
|
4103
4103
|
children: (h, g) => {
|
|
4104
4104
|
var b = El(), y = j(b);
|
|
4105
|
-
Lt(y, 21, () => ({ length: u }),
|
|
4105
|
+
Lt(y, 21, () => ({ length: u }), Ao, (k, C, H) => {
|
|
4106
4106
|
var O = re(), Z = j(O);
|
|
4107
|
-
Lt(Z, 17, () => ({ length: u }),
|
|
4107
|
+
Lt(Z, 17, () => ({ length: u }), Ao, (q, N, F) => {
|
|
4108
4108
|
var K = Cl();
|
|
4109
4109
|
K.__click = () => c(H + 1, F + 1), J(K, "aria-label", `Create table with ${H + 1} rows and ${F + 1} columns`);
|
|
4110
4110
|
let ne;
|
|
4111
|
-
Me(() => ne =
|
|
4111
|
+
Me(() => ne = Br(K, 1, "svelte-tra6fl", null, ne, { highlight: x(s) >= H && x(a) >= F })), Vi("mouseenter", K, () => (S(s, H, !0), S(a, F, !0))), V(q, K);
|
|
4112
4112
|
}), V(k, O);
|
|
4113
4113
|
}), R(y);
|
|
4114
4114
|
var w = Q(y, 2), E = D(w);
|
|
4115
|
-
R(w), Me(() =>
|
|
4115
|
+
R(w), Me(() => Pr(E, `${x(s) + 1} x ${x(a) + 1}`)), V(h, b);
|
|
4116
4116
|
},
|
|
4117
4117
|
$$slots: { default: !0 }
|
|
4118
4118
|
});
|
|
@@ -4166,13 +4166,13 @@ function Nl(e, t) {
|
|
|
4166
4166
|
return n();
|
|
4167
4167
|
},
|
|
4168
4168
|
set editor(c) {
|
|
4169
|
-
n(c),
|
|
4169
|
+
n(c), T();
|
|
4170
4170
|
},
|
|
4171
4171
|
get language() {
|
|
4172
4172
|
return r();
|
|
4173
4173
|
},
|
|
4174
4174
|
set language(c = "en") {
|
|
4175
|
-
r(c),
|
|
4175
|
+
r(c), T();
|
|
4176
4176
|
}
|
|
4177
4177
|
}, s = re(), a = j(s);
|
|
4178
4178
|
{
|
|
@@ -4298,13 +4298,13 @@ function Pl(e, t) {
|
|
|
4298
4298
|
return n();
|
|
4299
4299
|
},
|
|
4300
4300
|
set editor(l) {
|
|
4301
|
-
n(l),
|
|
4301
|
+
n(l), T();
|
|
4302
4302
|
},
|
|
4303
4303
|
get language() {
|
|
4304
4304
|
return r();
|
|
4305
4305
|
},
|
|
4306
4306
|
set language(l = "en") {
|
|
4307
|
-
r(l),
|
|
4307
|
+
r(l), T();
|
|
4308
4308
|
}
|
|
4309
4309
|
}, a = re(), u = j(a);
|
|
4310
4310
|
{
|
|
@@ -4358,13 +4358,13 @@ function zl(e, t) {
|
|
|
4358
4358
|
return n();
|
|
4359
4359
|
},
|
|
4360
4360
|
set editor(v) {
|
|
4361
|
-
n(v),
|
|
4361
|
+
n(v), T();
|
|
4362
4362
|
},
|
|
4363
4363
|
get language() {
|
|
4364
4364
|
return r();
|
|
4365
4365
|
},
|
|
4366
4366
|
set language(v = "en") {
|
|
4367
|
-
r(v),
|
|
4367
|
+
r(v), T();
|
|
4368
4368
|
}
|
|
4369
4369
|
}, l = re(), m = j(l);
|
|
4370
4370
|
{
|
|
@@ -4381,7 +4381,7 @@ function zl(e, t) {
|
|
|
4381
4381
|
return i[r()];
|
|
4382
4382
|
},
|
|
4383
4383
|
get dropdownOpen() {
|
|
4384
|
-
return
|
|
4384
|
+
return x(o);
|
|
4385
4385
|
},
|
|
4386
4386
|
set dropdownOpen(d) {
|
|
4387
4387
|
S(o, d, !0);
|
|
@@ -4398,8 +4398,8 @@ function zl(e, t) {
|
|
|
4398
4398
|
var w = Q(b, 2);
|
|
4399
4399
|
Lt(w, 17, () => s, (E) => s.indexOf(E), (E, k) => {
|
|
4400
4400
|
var C = Fl();
|
|
4401
|
-
C.__click = () => u(
|
|
4402
|
-
Bi(C, `background-color: ${
|
|
4401
|
+
C.__click = () => u(x(k)), Me(() => {
|
|
4402
|
+
Bi(C, `background-color: ${x(k) ?? ""};`), J(C, "aria-label", x(k));
|
|
4403
4403
|
}), V(E, C);
|
|
4404
4404
|
}), R(g), V(d, g);
|
|
4405
4405
|
},
|
|
@@ -4414,7 +4414,7 @@ function zl(e, t) {
|
|
|
4414
4414
|
}
|
|
4415
4415
|
_t(["click"]);
|
|
4416
4416
|
customElements.define("tiptob-font-highlight-button", Y(zl, { editor: {}, language: {} }, [], [], !0));
|
|
4417
|
-
const
|
|
4417
|
+
const Ur = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z"></path></svg>', Bo = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M21 15V18H24V20H21V23H19V20H16V18H19V15H21ZM21.0082 3C21.556 3 22 3.44495 22 3.9934V13H20V5H4V18.999L14 9L17 12V14.829L14 11.8284L6.827 19H14V21H2.9918C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082ZM8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7Z"></path></svg>', zr = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M9.9997 15.1709L19.1921 5.97852L20.6063 7.39273L9.9997 17.9993L3.63574 11.6354L5.04996 10.2212L9.9997 15.1709Z"></path></svg>';
|
|
4418
4418
|
var jl = /* @__PURE__ */ ae('<!> <input type="file" accept="image/*" class="svelte-1ov1cb6"/>', 1), Gl = /* @__PURE__ */ ae('<div class="tiptob-link-input-wrapper svelte-1ov1cb6"><input id="tiptob-link-input" type="url" placeholder="Paste a Image Url..." autocomplete="off" class="tiptob-link-input svelte-1ov1cb6"/> <button type="button" class="confirm svelte-1ov1cb6"><!></button> <button class="close svelte-1ov1cb6" type="button"><!></button></div>');
|
|
4419
4419
|
const Wl = {
|
|
4420
4420
|
hash: "svelte-1ov1cb6",
|
|
@@ -4437,26 +4437,26 @@ function Yl(e, t) {
|
|
|
4437
4437
|
g.key === "Enter" && (g.preventDefault(), m());
|
|
4438
4438
|
}
|
|
4439
4439
|
function m() {
|
|
4440
|
-
|
|
4440
|
+
x(a).trim() && (n().chain().focus().setImage({ src: x(a).trim() }).run(), S(a, ""), S(s, !1));
|
|
4441
4441
|
}
|
|
4442
4442
|
var p = {
|
|
4443
4443
|
get editor() {
|
|
4444
4444
|
return n();
|
|
4445
4445
|
},
|
|
4446
4446
|
set editor(g) {
|
|
4447
|
-
n(g),
|
|
4447
|
+
n(g), T();
|
|
4448
4448
|
},
|
|
4449
4449
|
get language() {
|
|
4450
4450
|
return r();
|
|
4451
4451
|
},
|
|
4452
4452
|
set language(g = "en") {
|
|
4453
|
-
r(g),
|
|
4453
|
+
r(g), T();
|
|
4454
4454
|
},
|
|
4455
4455
|
get imageUpload() {
|
|
4456
4456
|
return o();
|
|
4457
4457
|
},
|
|
4458
4458
|
set imageUpload(g) {
|
|
4459
|
-
o(g),
|
|
4459
|
+
o(g), T();
|
|
4460
4460
|
}
|
|
4461
4461
|
}, v = re(), d = j(v);
|
|
4462
4462
|
{
|
|
@@ -4472,7 +4472,7 @@ function Yl(e, t) {
|
|
|
4472
4472
|
key: "image",
|
|
4473
4473
|
action: () => u.click(),
|
|
4474
4474
|
get icon() {
|
|
4475
|
-
return
|
|
4475
|
+
return Bo;
|
|
4476
4476
|
},
|
|
4477
4477
|
get tooltip() {
|
|
4478
4478
|
return i[r()];
|
|
@@ -4487,27 +4487,27 @@ function Yl(e, t) {
|
|
|
4487
4487
|
},
|
|
4488
4488
|
key: "image",
|
|
4489
4489
|
get icon() {
|
|
4490
|
-
return
|
|
4490
|
+
return Bo;
|
|
4491
4491
|
},
|
|
4492
4492
|
text: "",
|
|
4493
4493
|
get tooltip() {
|
|
4494
4494
|
return i[r()];
|
|
4495
4495
|
},
|
|
4496
4496
|
get dropdownOpen() {
|
|
4497
|
-
return
|
|
4497
|
+
return x(s);
|
|
4498
4498
|
},
|
|
4499
4499
|
set dropdownOpen(C) {
|
|
4500
4500
|
S(s, C, !0);
|
|
4501
4501
|
},
|
|
4502
4502
|
children: (C, H) => {
|
|
4503
4503
|
var O = Gl(), Z = D(O);
|
|
4504
|
-
|
|
4504
|
+
Fr(Z), Z.__keydown = l;
|
|
4505
4505
|
var q = Q(Z, 2);
|
|
4506
4506
|
q.__click = m;
|
|
4507
4507
|
var N = D(q);
|
|
4508
4508
|
ie(N, {
|
|
4509
4509
|
get content() {
|
|
4510
|
-
return
|
|
4510
|
+
return zr;
|
|
4511
4511
|
}
|
|
4512
4512
|
}), R(q);
|
|
4513
4513
|
var F = Q(q, 2);
|
|
@@ -4517,11 +4517,11 @@ function Yl(e, t) {
|
|
|
4517
4517
|
var K = D(F);
|
|
4518
4518
|
ie(K, {
|
|
4519
4519
|
get content() {
|
|
4520
|
-
return
|
|
4520
|
+
return Ur;
|
|
4521
4521
|
}
|
|
4522
4522
|
}), R(F), R(O), Me(() => {
|
|
4523
|
-
q.disabled = !
|
|
4524
|
-
}),
|
|
4523
|
+
q.disabled = !x(a), J(q, "title", x(a) ? i[r()] : "");
|
|
4524
|
+
}), Zr(Z, () => x(a), (ne) => S(a, ne)), V(C, O);
|
|
4525
4525
|
},
|
|
4526
4526
|
$$slots: { default: !0 }
|
|
4527
4527
|
});
|
|
@@ -4550,13 +4550,13 @@ function Kl(e, t) {
|
|
|
4550
4550
|
return n();
|
|
4551
4551
|
},
|
|
4552
4552
|
set editor(l) {
|
|
4553
|
-
n(l),
|
|
4553
|
+
n(l), T();
|
|
4554
4554
|
},
|
|
4555
4555
|
get language() {
|
|
4556
4556
|
return r();
|
|
4557
4557
|
},
|
|
4558
4558
|
set language(l = "en") {
|
|
4559
|
-
r(l),
|
|
4559
|
+
r(l), T();
|
|
4560
4560
|
}
|
|
4561
4561
|
}, a = re(), u = j(a);
|
|
4562
4562
|
{
|
|
@@ -4592,13 +4592,13 @@ function Jl(e, t) {
|
|
|
4592
4592
|
return n();
|
|
4593
4593
|
},
|
|
4594
4594
|
set editor(l) {
|
|
4595
|
-
n(l),
|
|
4595
|
+
n(l), T();
|
|
4596
4596
|
},
|
|
4597
4597
|
get language() {
|
|
4598
4598
|
return r();
|
|
4599
4599
|
},
|
|
4600
4600
|
set language(l = "en") {
|
|
4601
|
-
r(l),
|
|
4601
|
+
r(l), T();
|
|
4602
4602
|
}
|
|
4603
4603
|
}, a = re(), u = j(a);
|
|
4604
4604
|
{
|
|
@@ -4636,13 +4636,13 @@ function eu(e, t) {
|
|
|
4636
4636
|
return n();
|
|
4637
4637
|
},
|
|
4638
4638
|
set editor(l) {
|
|
4639
|
-
n(l),
|
|
4639
|
+
n(l), T();
|
|
4640
4640
|
},
|
|
4641
4641
|
get language() {
|
|
4642
4642
|
return r();
|
|
4643
4643
|
},
|
|
4644
4644
|
set language(l = "en") {
|
|
4645
|
-
r(l),
|
|
4645
|
+
r(l), T();
|
|
4646
4646
|
}
|
|
4647
4647
|
}, a = re(), u = j(a);
|
|
4648
4648
|
{
|
|
@@ -4668,7 +4668,7 @@ function eu(e, t) {
|
|
|
4668
4668
|
return V(e, a), W(s);
|
|
4669
4669
|
}
|
|
4670
4670
|
customElements.define("tiptob-ordered-list-button", Y(eu, { editor: {}, language: {} }, [], [], !0));
|
|
4671
|
-
const tu = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M3 4H21V6H3V4ZM7 19H21V21H7V19ZM3 14H21V16H3V14ZM7 9H21V11H7V9Z"></path></svg>',
|
|
4671
|
+
const tu = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M3 4H21V6H3V4ZM7 19H21V21H7V19ZM3 14H21V16H3V14ZM7 9H21V11H7V9Z"></path></svg>', Fo = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M3 4H21V6H3V4ZM3 19H17V21H3V19ZM3 14H21V16H3V14ZM3 9H17V11H3V9Z"></path></svg>', nu = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M3 4H21V6H3V4ZM5 19H19V21H5V19ZM3 14H21V16H3V14ZM5 9H19V11H5V9Z"></path></svg>', ru = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M3 4H21V6H3V4ZM3 19H21V21H3V19ZM3 14H21V16H3V14ZM3 9H21V11H3V9Z"></path></svg>';
|
|
4672
4672
|
var ou = /* @__PURE__ */ ae('<div class="text-align-dropdown svelte-mxs45l"></div>');
|
|
4673
4673
|
const iu = {
|
|
4674
4674
|
hash: "svelte-mxs45l",
|
|
@@ -4695,7 +4695,7 @@ function su(e, t) {
|
|
|
4695
4695
|
}, s = [
|
|
4696
4696
|
{
|
|
4697
4697
|
name: "left",
|
|
4698
|
-
icon:
|
|
4698
|
+
icon: Fo,
|
|
4699
4699
|
action: () => {
|
|
4700
4700
|
n().chain().focus().setTextAlign("left").run(), S(o, !1);
|
|
4701
4701
|
}
|
|
@@ -4727,13 +4727,13 @@ function su(e, t) {
|
|
|
4727
4727
|
return n();
|
|
4728
4728
|
},
|
|
4729
4729
|
set editor(m) {
|
|
4730
|
-
n(m),
|
|
4730
|
+
n(m), T();
|
|
4731
4731
|
},
|
|
4732
4732
|
get language() {
|
|
4733
4733
|
return r();
|
|
4734
4734
|
},
|
|
4735
4735
|
set language(m = "en") {
|
|
4736
|
-
r(m),
|
|
4736
|
+
r(m), T();
|
|
4737
4737
|
}
|
|
4738
4738
|
}, u = re(), c = j(u);
|
|
4739
4739
|
{
|
|
@@ -4744,13 +4744,13 @@ function su(e, t) {
|
|
|
4744
4744
|
},
|
|
4745
4745
|
key: "textAlign",
|
|
4746
4746
|
get icon() {
|
|
4747
|
-
return
|
|
4747
|
+
return Fo;
|
|
4748
4748
|
},
|
|
4749
4749
|
get tooltip() {
|
|
4750
4750
|
return i[r()].main;
|
|
4751
4751
|
},
|
|
4752
4752
|
get dropdownOpen() {
|
|
4753
|
-
return
|
|
4753
|
+
return x(o);
|
|
4754
4754
|
},
|
|
4755
4755
|
set dropdownOpen(p) {
|
|
4756
4756
|
S(o, p, !0);
|
|
@@ -4759,20 +4759,20 @@ function su(e, t) {
|
|
|
4759
4759
|
var d = ou();
|
|
4760
4760
|
Lt(d, 21, () => s, (h) => h.name, (h, g) => {
|
|
4761
4761
|
{
|
|
4762
|
-
let b = /* @__PURE__ */ Rr(() => ({ attributes: { textAlign:
|
|
4762
|
+
let b = /* @__PURE__ */ Rr(() => ({ attributes: { textAlign: x(g).name } }));
|
|
4763
4763
|
ve(h, {
|
|
4764
4764
|
get editor() {
|
|
4765
4765
|
return n();
|
|
4766
4766
|
},
|
|
4767
4767
|
get key() {
|
|
4768
|
-
return
|
|
4768
|
+
return x(b);
|
|
4769
4769
|
},
|
|
4770
|
-
action: () =>
|
|
4770
|
+
action: () => x(g).action(),
|
|
4771
4771
|
get icon() {
|
|
4772
|
-
return
|
|
4772
|
+
return x(g).icon;
|
|
4773
4773
|
},
|
|
4774
4774
|
get tooltip() {
|
|
4775
|
-
return i[r()][
|
|
4775
|
+
return i[r()][x(g).name];
|
|
4776
4776
|
}
|
|
4777
4777
|
});
|
|
4778
4778
|
}
|
|
@@ -4798,13 +4798,13 @@ function lu(e, t) {
|
|
|
4798
4798
|
return n();
|
|
4799
4799
|
},
|
|
4800
4800
|
set editor(l) {
|
|
4801
|
-
n(l),
|
|
4801
|
+
n(l), T();
|
|
4802
4802
|
},
|
|
4803
4803
|
get language() {
|
|
4804
4804
|
return r();
|
|
4805
4805
|
},
|
|
4806
4806
|
set language(l = "en") {
|
|
4807
|
-
r(l),
|
|
4807
|
+
r(l), T();
|
|
4808
4808
|
}
|
|
4809
4809
|
}, a = re(), u = j(a);
|
|
4810
4810
|
{
|
|
@@ -4840,13 +4840,13 @@ function fu(e, t) {
|
|
|
4840
4840
|
return n();
|
|
4841
4841
|
},
|
|
4842
4842
|
set editor(l) {
|
|
4843
|
-
n(l),
|
|
4843
|
+
n(l), T();
|
|
4844
4844
|
},
|
|
4845
4845
|
get language() {
|
|
4846
4846
|
return r();
|
|
4847
4847
|
},
|
|
4848
4848
|
set language(l = "en") {
|
|
4849
|
-
r(l),
|
|
4849
|
+
r(l), T();
|
|
4850
4850
|
}
|
|
4851
4851
|
}, a = re(), u = j(a);
|
|
4852
4852
|
{
|
|
@@ -4872,7 +4872,7 @@ function fu(e, t) {
|
|
|
4872
4872
|
return V(e, a), W(s);
|
|
4873
4873
|
}
|
|
4874
4874
|
customElements.define("tiptob-remove-format-button", Y(fu, { editor: {}, language: {} }, [], [], !0));
|
|
4875
|
-
const
|
|
4875
|
+
const jr = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M17.1538 14C17.3846 14.5161 17.5 15.0893 17.5 15.7196C17.5 17.0625 16.9762 18.1116 15.9286 18.867C14.8809 19.6223 13.4335 20 11.5862 20C9.94674 20 8.32335 19.6185 6.71592 18.8555V16.6009C8.23538 17.4783 9.7908 17.917 11.3822 17.917C13.9333 17.917 15.2128 17.1846 15.2208 15.7196C15.2208 15.0939 15.0049 14.5598 14.5731 14.1173C14.5339 14.0772 14.4939 14.0381 14.4531 14H3V12H21V14H17.1538ZM13.076 11H7.62908C7.4566 10.8433 7.29616 10.6692 7.14776 10.4778C6.71592 9.92084 6.5 9.24559 6.5 8.45207C6.5 7.21602 6.96583 6.165 7.89749 5.299C8.82916 4.43299 10.2706 4 12.2219 4C13.6934 4 15.1009 4.32808 16.4444 4.98426V7.13591C15.2448 6.44921 13.9293 6.10587 12.4978 6.10587C10.0187 6.10587 8.77917 6.88793 8.77917 8.45207C8.77917 8.87172 8.99709 9.23796 9.43293 9.55079C9.86878 9.86362 10.4066 10.1135 11.0463 10.3004C11.6665 10.4816 12.3431 10.7148 13.076 11H13.076Z"></path></svg>';
|
|
4876
4876
|
function cu(e, t) {
|
|
4877
4877
|
G(t, !0);
|
|
4878
4878
|
let n = L(t, "editor", 7), r = L(t, "language", 7, "en");
|
|
@@ -4882,13 +4882,13 @@ function cu(e, t) {
|
|
|
4882
4882
|
return n();
|
|
4883
4883
|
},
|
|
4884
4884
|
set editor(l) {
|
|
4885
|
-
n(l),
|
|
4885
|
+
n(l), T();
|
|
4886
4886
|
},
|
|
4887
4887
|
get language() {
|
|
4888
4888
|
return r();
|
|
4889
4889
|
},
|
|
4890
4890
|
set language(l = "en") {
|
|
4891
|
-
r(l),
|
|
4891
|
+
r(l), T();
|
|
4892
4892
|
}
|
|
4893
4893
|
}, a = re(), u = j(a);
|
|
4894
4894
|
{
|
|
@@ -4900,7 +4900,7 @@ function cu(e, t) {
|
|
|
4900
4900
|
action: i,
|
|
4901
4901
|
key: "strike",
|
|
4902
4902
|
get icon() {
|
|
4903
|
-
return
|
|
4903
|
+
return jr;
|
|
4904
4904
|
},
|
|
4905
4905
|
get tooltip() {
|
|
4906
4906
|
return o[r()];
|
|
@@ -4924,13 +4924,13 @@ function vu(e, t) {
|
|
|
4924
4924
|
return n();
|
|
4925
4925
|
},
|
|
4926
4926
|
set editor(l) {
|
|
4927
|
-
n(l),
|
|
4927
|
+
n(l), T();
|
|
4928
4928
|
},
|
|
4929
4929
|
get language() {
|
|
4930
4930
|
return r();
|
|
4931
4931
|
},
|
|
4932
4932
|
set language(l = "en") {
|
|
4933
|
-
r(l),
|
|
4933
|
+
r(l), T();
|
|
4934
4934
|
}
|
|
4935
4935
|
}, a = re(), u = j(a);
|
|
4936
4936
|
{
|
|
@@ -4966,13 +4966,13 @@ function hu(e, t) {
|
|
|
4966
4966
|
return n();
|
|
4967
4967
|
},
|
|
4968
4968
|
set editor(l) {
|
|
4969
|
-
n(l),
|
|
4969
|
+
n(l), T();
|
|
4970
4970
|
},
|
|
4971
4971
|
get language() {
|
|
4972
4972
|
return r();
|
|
4973
4973
|
},
|
|
4974
4974
|
set language(l = "en") {
|
|
4975
|
-
r(l),
|
|
4975
|
+
r(l), T();
|
|
4976
4976
|
}
|
|
4977
4977
|
}, a = re(), u = j(a);
|
|
4978
4978
|
{
|
|
@@ -5036,13 +5036,13 @@ function Eu(e, t) {
|
|
|
5036
5036
|
placeholder: "Paste a link..."
|
|
5037
5037
|
}
|
|
5038
5038
|
};
|
|
5039
|
-
|
|
5039
|
+
Dr(() => {
|
|
5040
5040
|
n()?.on("transaction", () => {
|
|
5041
5041
|
n().isActive("link") ? (S(i, n().getAttributes("link").href, !0), S(o, !0)) : (S(i, ""), S(o, !1));
|
|
5042
5042
|
});
|
|
5043
5043
|
});
|
|
5044
5044
|
function a() {
|
|
5045
|
-
const h =
|
|
5045
|
+
const h = x(i).includes(":") ? x(i) : `https://${x(i)}`, { from: g, empty: b } = n().state.selection;
|
|
5046
5046
|
b ? n().chain().focus().insertContentAt(g, [
|
|
5047
5047
|
{
|
|
5048
5048
|
type: "text",
|
|
@@ -5065,13 +5065,13 @@ function Eu(e, t) {
|
|
|
5065
5065
|
return n();
|
|
5066
5066
|
},
|
|
5067
5067
|
set editor(h) {
|
|
5068
|
-
n(h),
|
|
5068
|
+
n(h), T();
|
|
5069
5069
|
},
|
|
5070
5070
|
get language() {
|
|
5071
5071
|
return r();
|
|
5072
5072
|
},
|
|
5073
5073
|
set language(h = "en") {
|
|
5074
|
-
r(h),
|
|
5074
|
+
r(h), T();
|
|
5075
5075
|
}
|
|
5076
5076
|
}, p = re(), v = j(p);
|
|
5077
5077
|
{
|
|
@@ -5089,26 +5089,26 @@ function Eu(e, t) {
|
|
|
5089
5089
|
return s[r()].main;
|
|
5090
5090
|
},
|
|
5091
5091
|
get dropdownOpen() {
|
|
5092
|
-
return
|
|
5092
|
+
return x(o);
|
|
5093
5093
|
},
|
|
5094
5094
|
set dropdownOpen(g) {
|
|
5095
5095
|
S(o, g, !0);
|
|
5096
5096
|
},
|
|
5097
5097
|
children: (g, b) => {
|
|
5098
5098
|
var y = wu(), w = D(y);
|
|
5099
|
-
|
|
5099
|
+
Fr(w), w.__keydown = c, hn(() => Zr(w, () => x(i), (N) => S(i, N))), Pi(w, (N) => l?.(N));
|
|
5100
5100
|
var E = Q(w, 2);
|
|
5101
5101
|
E.__click = a;
|
|
5102
5102
|
var k = D(E);
|
|
5103
5103
|
ie(k, {
|
|
5104
5104
|
get content() {
|
|
5105
|
-
return
|
|
5105
|
+
return zr;
|
|
5106
5106
|
}
|
|
5107
5107
|
}), R(E);
|
|
5108
5108
|
var C = Q(E, 2);
|
|
5109
5109
|
Yi(C);
|
|
5110
5110
|
var H = Q(C, 2);
|
|
5111
|
-
H.__click = () => window.open(
|
|
5111
|
+
H.__click = () => window.open(x(i), "_blank");
|
|
5112
5112
|
var O = D(H);
|
|
5113
5113
|
ie(O, {
|
|
5114
5114
|
get content() {
|
|
@@ -5120,10 +5120,10 @@ function Eu(e, t) {
|
|
|
5120
5120
|
var q = D(Z);
|
|
5121
5121
|
ie(q, {
|
|
5122
5122
|
get content() {
|
|
5123
|
-
return
|
|
5123
|
+
return Ur;
|
|
5124
5124
|
}
|
|
5125
5125
|
}), R(Z), R(y), Me(() => {
|
|
5126
|
-
J(w, "placeholder", s[r()].placeholder), E.disabled = !
|
|
5126
|
+
J(w, "placeholder", s[r()].placeholder), E.disabled = !x(i), J(E, "title", x(i) ? s[r()].confirm : ""), H.disabled = !x(i), J(H, "title", s[r()].open), J(Z, "title", s[r()].remove);
|
|
5127
5127
|
}), V(g, y);
|
|
5128
5128
|
},
|
|
5129
5129
|
$$slots: { default: !0 }
|
|
@@ -5146,13 +5146,13 @@ function yu(e, t) {
|
|
|
5146
5146
|
return n();
|
|
5147
5147
|
},
|
|
5148
5148
|
set editor(l) {
|
|
5149
|
-
n(l),
|
|
5149
|
+
n(l), T();
|
|
5150
5150
|
},
|
|
5151
5151
|
get language() {
|
|
5152
5152
|
return r();
|
|
5153
5153
|
},
|
|
5154
5154
|
set language(l = "en") {
|
|
5155
|
-
r(l),
|
|
5155
|
+
r(l), T();
|
|
5156
5156
|
}
|
|
5157
5157
|
}, a = re(), u = j(a);
|
|
5158
5158
|
{
|
|
@@ -5164,7 +5164,7 @@ function yu(e, t) {
|
|
|
5164
5164
|
action: i,
|
|
5165
5165
|
key: "source",
|
|
5166
5166
|
get icon() {
|
|
5167
|
-
return
|
|
5167
|
+
return jr;
|
|
5168
5168
|
},
|
|
5169
5169
|
get tooltip() {
|
|
5170
5170
|
return o[r()];
|
|
@@ -5187,13 +5187,13 @@ function xu(e, t) {
|
|
|
5187
5187
|
return n();
|
|
5188
5188
|
},
|
|
5189
5189
|
set editor(l) {
|
|
5190
|
-
n(l),
|
|
5190
|
+
n(l), T();
|
|
5191
5191
|
},
|
|
5192
5192
|
get language() {
|
|
5193
5193
|
return r();
|
|
5194
5194
|
},
|
|
5195
5195
|
set language(l = "en") {
|
|
5196
|
-
r(l),
|
|
5196
|
+
r(l), T();
|
|
5197
5197
|
}
|
|
5198
5198
|
}, a = re(), u = j(a);
|
|
5199
5199
|
{
|
|
@@ -5205,7 +5205,7 @@ function xu(e, t) {
|
|
|
5205
5205
|
action: i,
|
|
5206
5206
|
key: "source",
|
|
5207
5207
|
get icon() {
|
|
5208
|
-
return
|
|
5208
|
+
return jr;
|
|
5209
5209
|
},
|
|
5210
5210
|
get tooltip() {
|
|
5211
5211
|
return o[r()];
|
|
@@ -5242,31 +5242,34 @@ function Mu(e, t) {
|
|
|
5242
5242
|
search: "Search..."
|
|
5243
5243
|
}
|
|
5244
5244
|
};
|
|
5245
|
-
let r = L(t, "editor", 7), o = L(t, "language", 7, "en"), i = L(t, "placeHolders", 7), s = /* @__PURE__ */ ee(!1), a = /* @__PURE__ */ ee("Select option"), u = /* @__PURE__ */ ee(""), c = /* @__PURE__ */ Rr(() => i().filter((g) => g.translation.toLowerCase().includes(
|
|
5245
|
+
let r = L(t, "editor", 7), o = L(t, "language", 7, "en"), i = L(t, "placeHolders", 7), s = /* @__PURE__ */ ee(!1), a = /* @__PURE__ */ ee("Select option"), u = /* @__PURE__ */ ee(""), c = /* @__PURE__ */ Rr(() => i().filter((g) => g.translation.toLowerCase().includes(x(u).toLowerCase())));
|
|
5246
5246
|
function l() {
|
|
5247
|
-
r().commands.insertContent(
|
|
5247
|
+
r().commands.insertContent(x(a)), S(s, !1);
|
|
5248
5248
|
}
|
|
5249
5249
|
function m() {
|
|
5250
|
-
S(s, !1)
|
|
5250
|
+
S(s, !1);
|
|
5251
5251
|
}
|
|
5252
|
+
Dr(() => {
|
|
5253
|
+
!x(s) && x(u) !== "" && S(u, "");
|
|
5254
|
+
});
|
|
5252
5255
|
var p = {
|
|
5253
5256
|
get editor() {
|
|
5254
5257
|
return r();
|
|
5255
5258
|
},
|
|
5256
5259
|
set editor(g) {
|
|
5257
|
-
r(g),
|
|
5260
|
+
r(g), T();
|
|
5258
5261
|
},
|
|
5259
5262
|
get language() {
|
|
5260
5263
|
return o();
|
|
5261
5264
|
},
|
|
5262
5265
|
set language(g = "en") {
|
|
5263
|
-
o(g),
|
|
5266
|
+
o(g), T();
|
|
5264
5267
|
},
|
|
5265
5268
|
get placeHolders() {
|
|
5266
5269
|
return i();
|
|
5267
5270
|
},
|
|
5268
5271
|
set placeHolders(g) {
|
|
5269
|
-
i(g),
|
|
5272
|
+
i(g), T();
|
|
5270
5273
|
}
|
|
5271
5274
|
}, v = re(), d = j(v);
|
|
5272
5275
|
{
|
|
@@ -5284,25 +5287,25 @@ function Mu(e, t) {
|
|
|
5284
5287
|
return n[o()].main;
|
|
5285
5288
|
},
|
|
5286
5289
|
get dropdownOpen() {
|
|
5287
|
-
return
|
|
5290
|
+
return x(s);
|
|
5288
5291
|
},
|
|
5289
5292
|
set dropdownOpen(b) {
|
|
5290
5293
|
S(s, b, !0);
|
|
5291
5294
|
},
|
|
5292
5295
|
children: (b, y) => {
|
|
5293
5296
|
var w = Hu(), E = D(w), k = D(E);
|
|
5294
|
-
|
|
5297
|
+
Fr(k), k.__click = (F) => F.stopPropagation(), R(E);
|
|
5295
5298
|
var C = Q(E, 2);
|
|
5296
5299
|
Lt(
|
|
5297
5300
|
C,
|
|
5298
5301
|
21,
|
|
5299
|
-
() =>
|
|
5300
|
-
(F) => F.
|
|
5302
|
+
() => x(c),
|
|
5303
|
+
(F) => F.translation,
|
|
5301
5304
|
(F, K) => {
|
|
5302
5305
|
var ne = Au();
|
|
5303
|
-
ne.__click = () => S(a,
|
|
5306
|
+
ne.__click = () => S(a, x(K).expression, !0);
|
|
5304
5307
|
var De = D(ne, !0);
|
|
5305
|
-
R(ne), Me(() =>
|
|
5308
|
+
R(ne), Me(() => Pr(De, x(K).translation)), V(F, ne);
|
|
5306
5309
|
},
|
|
5307
5310
|
(F) => {
|
|
5308
5311
|
var K = Lu();
|
|
@@ -5314,7 +5317,7 @@ function Mu(e, t) {
|
|
|
5314
5317
|
var Z = D(O);
|
|
5315
5318
|
ie(Z, {
|
|
5316
5319
|
get content() {
|
|
5317
|
-
return
|
|
5320
|
+
return zr;
|
|
5318
5321
|
}
|
|
5319
5322
|
}), R(O);
|
|
5320
5323
|
var q = Q(O, 2);
|
|
@@ -5322,11 +5325,11 @@ function Mu(e, t) {
|
|
|
5322
5325
|
var N = D(q);
|
|
5323
5326
|
ie(N, {
|
|
5324
5327
|
get content() {
|
|
5325
|
-
return
|
|
5328
|
+
return Ur;
|
|
5326
5329
|
}
|
|
5327
5330
|
}), R(q), R(H), R(w), Me(() => {
|
|
5328
5331
|
J(k, "placeholder", n[o()].search), J(O, "title", n[o()].confirm), J(q, "title", n[o()].close);
|
|
5329
|
-
}),
|
|
5332
|
+
}), Zr(k, () => x(u), (F) => S(u, F)), V(b, w);
|
|
5330
5333
|
},
|
|
5331
5334
|
$$slots: { default: !0 }
|
|
5332
5335
|
});
|
|
@@ -5386,19 +5389,19 @@ function Fu(e, t) {
|
|
|
5386
5389
|
return n();
|
|
5387
5390
|
},
|
|
5388
5391
|
set editor(v) {
|
|
5389
|
-
n(v),
|
|
5392
|
+
n(v), T();
|
|
5390
5393
|
},
|
|
5391
5394
|
get language() {
|
|
5392
5395
|
return r();
|
|
5393
5396
|
},
|
|
5394
5397
|
set language(v = "en") {
|
|
5395
|
-
r(v),
|
|
5398
|
+
r(v), T();
|
|
5396
5399
|
},
|
|
5397
5400
|
get availableOptions() {
|
|
5398
5401
|
return o();
|
|
5399
5402
|
},
|
|
5400
5403
|
set availableOptions(v = ["paragraph", "h1", "h2", "h3", "h4", "h5", "h6"]) {
|
|
5401
|
-
o(v),
|
|
5404
|
+
o(v), T();
|
|
5402
5405
|
}
|
|
5403
5406
|
}, l = re(), m = j(l);
|
|
5404
5407
|
{
|
|
@@ -5415,7 +5418,7 @@ function Fu(e, t) {
|
|
|
5415
5418
|
return s[r()].main;
|
|
5416
5419
|
},
|
|
5417
5420
|
get dropdownOpen() {
|
|
5418
|
-
return
|
|
5421
|
+
return x(i);
|
|
5419
5422
|
},
|
|
5420
5423
|
set dropdownOpen(d) {
|
|
5421
5424
|
S(i, d, !0);
|
|
@@ -5433,7 +5436,7 @@ function Fu(e, t) {
|
|
|
5433
5436
|
return n();
|
|
5434
5437
|
},
|
|
5435
5438
|
get key() {
|
|
5436
|
-
return
|
|
5439
|
+
return x(w);
|
|
5437
5440
|
},
|
|
5438
5441
|
action: () => u(a[y].level),
|
|
5439
5442
|
get icon() {
|