@26lights/orcha 0.42.163 → 0.42.165
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/orcha.cjs.js +29 -29
- package/dist/orcha.css +1 -1
- package/dist/orcha.es.js +403 -417
- package/dist/orcha.umd.js +30 -30
- package/package.json +1 -1
package/dist/orcha.es.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
var $0 = Object.defineProperty;
|
|
2
2
|
var D0 = (t, e, n) => e in t ? $0(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
3
3
|
var Y = (t, e, n) => (D0(t, typeof e != "symbol" ? e + "" : e, n), n);
|
|
4
|
-
import { defineComponent as ue, openBlock as x, createBlock as J, unref as ie, mergeProps as jt, createElementBlock as M, createElementVNode as C, createStaticVNode as M0, computed as L, resolveDynamicComponent as Lo, normalizeClass as ve, renderSlot as we, toDisplayString as j, createCommentVNode as F, ref as re, watch as Be, nextTick as un, withKeys as li, toHandlers as O0, withCtx as ce, createTextVNode as ho, createVNode as P, normalizeStyle as Jt, withModifiers as Te, createSlots as $s, Fragment as Pe, renderList as ot, onMounted as Pt, onBeforeUnmount as al, onUnmounted as $n, Teleport as _r, toRefs as gn, getCurrentInstance as No, toRef as ei, normalizeProps as Ds, guardReactiveProps as Ms, withDirectives as rt, vShow as
|
|
4
|
+
import { defineComponent as ue, openBlock as x, createBlock as J, unref as ie, mergeProps as jt, createElementBlock as M, createElementVNode as C, createStaticVNode as M0, computed as L, resolveDynamicComponent as Lo, normalizeClass as ve, renderSlot as we, toDisplayString as j, createCommentVNode as F, ref as re, watch as Be, nextTick as un, withKeys as li, toHandlers as O0, withCtx as ce, createTextVNode as ho, createVNode as P, normalizeStyle as Jt, withModifiers as Te, createSlots as $s, Fragment as Pe, renderList as ot, onMounted as Pt, onBeforeUnmount as al, onUnmounted as $n, Teleport as _r, toRefs as gn, getCurrentInstance as No, toRef as ei, normalizeProps as Ds, guardReactiveProps as Ms, withDirectives as rt, vShow as is, provide as L0, inject as N0, useTemplateRef as I0, readonly as P0, toValue as nc, watchEffect as Xp, shallowRef as $a, h as F0, vModelText as Dt, resolveComponent as Mr, vModelCheckbox as Qp, getCurrentScope as R0, onScopeDispose as B0, toHandlerKey as U0 } from "vue";
|
|
5
5
|
import { RouterView as H0, useRoute as eh, useRouter as Lu } from "vue-router";
|
|
6
6
|
import Wr from "vuedraggable";
|
|
7
|
-
const
|
|
7
|
+
const eve = /* @__PURE__ */ ue({
|
|
8
8
|
__name: "AoTemplates",
|
|
9
9
|
props: {
|
|
10
10
|
templates: {}
|
|
@@ -1418,7 +1418,7 @@ const iy = {
|
|
|
1418
1418
|
}, 8, ["class"]));
|
|
1419
1419
|
}
|
|
1420
1420
|
});
|
|
1421
|
-
const
|
|
1421
|
+
const hs = /* @__PURE__ */ ue({
|
|
1422
1422
|
__name: "AoTag",
|
|
1423
1423
|
props: {
|
|
1424
1424
|
label: {},
|
|
@@ -1476,11 +1476,11 @@ const Da = {
|
|
|
1476
1476
|
todo: "todo",
|
|
1477
1477
|
done: "done",
|
|
1478
1478
|
archived: "archived"
|
|
1479
|
-
},
|
|
1479
|
+
}, tve = {
|
|
1480
1480
|
months: "months",
|
|
1481
1481
|
weeks: "weeks",
|
|
1482
1482
|
days: "days"
|
|
1483
|
-
},
|
|
1483
|
+
}, nve = {
|
|
1484
1484
|
future: "future",
|
|
1485
1485
|
this_month: "this_month",
|
|
1486
1486
|
this_week: "this_week",
|
|
@@ -1504,7 +1504,7 @@ const Da = {
|
|
|
1504
1504
|
TASKS: "tasks"
|
|
1505
1505
|
};
|
|
1506
1506
|
var vy = /* @__PURE__ */ ((t) => (t.PHASES = "phases", t.MILESTONES = "milestones", t.ACTIVITIES = "activities", t))(vy || {});
|
|
1507
|
-
const
|
|
1507
|
+
const rve = {
|
|
1508
1508
|
add: "add",
|
|
1509
1509
|
remove: "remove",
|
|
1510
1510
|
moved: "moved"
|
|
@@ -2481,7 +2481,7 @@ var Jy = {
|
|
|
2481
2481
|
return Jy[e];
|
|
2482
2482
|
};
|
|
2483
2483
|
const Qy = Xy;
|
|
2484
|
-
function
|
|
2484
|
+
function qi(t) {
|
|
2485
2485
|
return function(e, n) {
|
|
2486
2486
|
var r = n != null && n.context ? String(n.context) : "standalone", o;
|
|
2487
2487
|
if (r === "formatting" && t.formattingValues) {
|
|
@@ -2588,26 +2588,26 @@ var e7 = {
|
|
|
2588
2588
|
return r + "th";
|
|
2589
2589
|
}, a7 = {
|
|
2590
2590
|
ordinalNumber: s7,
|
|
2591
|
-
era:
|
|
2591
|
+
era: qi({
|
|
2592
2592
|
values: e7,
|
|
2593
2593
|
defaultWidth: "wide"
|
|
2594
2594
|
}),
|
|
2595
|
-
quarter:
|
|
2595
|
+
quarter: qi({
|
|
2596
2596
|
values: t7,
|
|
2597
2597
|
defaultWidth: "wide",
|
|
2598
2598
|
argumentCallback: function(e) {
|
|
2599
2599
|
return e - 1;
|
|
2600
2600
|
}
|
|
2601
2601
|
}),
|
|
2602
|
-
month:
|
|
2602
|
+
month: qi({
|
|
2603
2603
|
values: n7,
|
|
2604
2604
|
defaultWidth: "wide"
|
|
2605
2605
|
}),
|
|
2606
|
-
day:
|
|
2606
|
+
day: qi({
|
|
2607
2607
|
values: r7,
|
|
2608
2608
|
defaultWidth: "wide"
|
|
2609
2609
|
}),
|
|
2610
|
-
dayPeriod:
|
|
2610
|
+
dayPeriod: qi({
|
|
2611
2611
|
values: o7,
|
|
2612
2612
|
defaultWidth: "wide",
|
|
2613
2613
|
formattingValues: i7,
|
|
@@ -2615,7 +2615,7 @@ var e7 = {
|
|
|
2615
2615
|
})
|
|
2616
2616
|
};
|
|
2617
2617
|
const l7 = a7;
|
|
2618
|
-
function
|
|
2618
|
+
function zi(t) {
|
|
2619
2619
|
return function(e) {
|
|
2620
2620
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = n.width, o = r && t.matchPatterns[r] || t.matchPatterns[t.defaultMatchWidth], i = e.match(o);
|
|
2621
2621
|
if (!i)
|
|
@@ -2709,13 +2709,13 @@ var f7 = /^(\d+)(th|st|nd|rd)?/i, p7 = /\d+/i, h7 = {
|
|
|
2709
2709
|
return parseInt(e, 10);
|
|
2710
2710
|
}
|
|
2711
2711
|
}),
|
|
2712
|
-
era:
|
|
2712
|
+
era: zi({
|
|
2713
2713
|
matchPatterns: h7,
|
|
2714
2714
|
defaultMatchWidth: "wide",
|
|
2715
2715
|
parsePatterns: m7,
|
|
2716
2716
|
defaultParseWidth: "any"
|
|
2717
2717
|
}),
|
|
2718
|
-
quarter:
|
|
2718
|
+
quarter: zi({
|
|
2719
2719
|
matchPatterns: g7,
|
|
2720
2720
|
defaultMatchWidth: "wide",
|
|
2721
2721
|
parsePatterns: v7,
|
|
@@ -2724,19 +2724,19 @@ var f7 = /^(\d+)(th|st|nd|rd)?/i, p7 = /\d+/i, h7 = {
|
|
|
2724
2724
|
return e + 1;
|
|
2725
2725
|
}
|
|
2726
2726
|
}),
|
|
2727
|
-
month:
|
|
2727
|
+
month: zi({
|
|
2728
2728
|
matchPatterns: _7,
|
|
2729
2729
|
defaultMatchWidth: "wide",
|
|
2730
2730
|
parsePatterns: y7,
|
|
2731
2731
|
defaultParseWidth: "any"
|
|
2732
2732
|
}),
|
|
2733
|
-
day:
|
|
2733
|
+
day: zi({
|
|
2734
2734
|
matchPatterns: b7,
|
|
2735
2735
|
defaultMatchWidth: "wide",
|
|
2736
2736
|
parsePatterns: C7,
|
|
2737
2737
|
defaultParseWidth: "any"
|
|
2738
2738
|
}),
|
|
2739
|
-
dayPeriod:
|
|
2739
|
+
dayPeriod: zi({
|
|
2740
2740
|
matchPatterns: w7,
|
|
2741
2741
|
defaultMatchWidth: "any",
|
|
2742
2742
|
parsePatterns: k7,
|
|
@@ -2829,7 +2829,7 @@ function L7(t, e, n) {
|
|
|
2829
2829
|
weekStartsOn: y
|
|
2830
2830
|
});
|
|
2831
2831
|
}
|
|
2832
|
-
function
|
|
2832
|
+
function ci(t, e) {
|
|
2833
2833
|
var n;
|
|
2834
2834
|
vt(1, arguments);
|
|
2835
2835
|
var r = yr((n = e == null ? void 0 : e.additionalDigits) !== null && n !== void 0 ? n : 2);
|
|
@@ -2890,13 +2890,13 @@ function B7(t, e) {
|
|
|
2890
2890
|
var n = t.match(N7);
|
|
2891
2891
|
if (!n)
|
|
2892
2892
|
return /* @__PURE__ */ new Date(NaN);
|
|
2893
|
-
var r = !!n[4], o =
|
|
2893
|
+
var r = !!n[4], o = Vi(n[1]), i = Vi(n[2]) - 1, s = Vi(n[3]), a = Vi(n[4]), l = Vi(n[5]) - 1;
|
|
2894
2894
|
if (r)
|
|
2895
2895
|
return W7(e, a, l) ? q7(e, a, l) : /* @__PURE__ */ new Date(NaN);
|
|
2896
2896
|
var c = /* @__PURE__ */ new Date(0);
|
|
2897
2897
|
return !V7(e, i, s) || !j7(e, o) ? /* @__PURE__ */ new Date(NaN) : (c.setUTCFullYear(e, i, Math.max(o, s)), c);
|
|
2898
2898
|
}
|
|
2899
|
-
function
|
|
2899
|
+
function Vi(t) {
|
|
2900
2900
|
return t ? parseInt(t) : 1;
|
|
2901
2901
|
}
|
|
2902
2902
|
function U7(t) {
|
|
@@ -2974,7 +2974,7 @@ function Y7(t) {
|
|
|
2974
2974
|
});
|
|
2975
2975
|
}), n;
|
|
2976
2976
|
}
|
|
2977
|
-
var St = {}, dh = {},
|
|
2977
|
+
var St = {}, dh = {}, ji = {}, Ls = {}, wi = {}, cl = {};
|
|
2978
2978
|
Object.defineProperty(cl, "__esModule", { value: !0 });
|
|
2979
2979
|
cl.lexoHelper = void 0;
|
|
2980
2980
|
cl.lexoHelper = {
|
|
@@ -3012,8 +3012,8 @@ class X7 {
|
|
|
3012
3012
|
}
|
|
3013
3013
|
}
|
|
3014
3014
|
Ns.default = X7;
|
|
3015
|
-
Object.defineProperty(
|
|
3016
|
-
|
|
3015
|
+
Object.defineProperty(wi, "__esModule", { value: !0 });
|
|
3016
|
+
wi.LexoInteger = void 0;
|
|
3017
3017
|
const ia = cl, Q7 = Ns;
|
|
3018
3018
|
class Me {
|
|
3019
3019
|
constructor(e, n, r) {
|
|
@@ -3208,7 +3208,7 @@ class Me {
|
|
|
3208
3208
|
throw new Error("Expected numbers of same numeral sys");
|
|
3209
3209
|
}
|
|
3210
3210
|
}
|
|
3211
|
-
|
|
3211
|
+
wi.LexoInteger = Me;
|
|
3212
3212
|
Me.ZERO_MAG = [0];
|
|
3213
3213
|
Me.ONE_MAG = [1];
|
|
3214
3214
|
Me.NEGATIVE_SIGN = -1;
|
|
@@ -3216,23 +3216,23 @@ Me.ZERO_SIGN = 0;
|
|
|
3216
3216
|
Me.POSITIVE_SIGN = 1;
|
|
3217
3217
|
Object.defineProperty(Ls, "__esModule", { value: !0 });
|
|
3218
3218
|
Ls.LexoDecimal = void 0;
|
|
3219
|
-
const
|
|
3219
|
+
const Wi = wi, eb = Ns;
|
|
3220
3220
|
class yn {
|
|
3221
3221
|
constructor(e, n) {
|
|
3222
3222
|
this.mag = e, this.sig = n;
|
|
3223
3223
|
}
|
|
3224
3224
|
static half(e) {
|
|
3225
3225
|
const n = e.getBase() / 2 | 0;
|
|
3226
|
-
return yn.make(
|
|
3226
|
+
return yn.make(Wi.LexoInteger.make(e, 1, [n]), 1);
|
|
3227
3227
|
}
|
|
3228
3228
|
static parse(e, n) {
|
|
3229
3229
|
const r = e.indexOf(n.getRadixPointChar());
|
|
3230
3230
|
if (e.lastIndexOf(n.getRadixPointChar()) !== r)
|
|
3231
3231
|
throw new Error("More than one " + n.getRadixPointChar());
|
|
3232
3232
|
if (r < 0)
|
|
3233
|
-
return yn.make(
|
|
3233
|
+
return yn.make(Wi.LexoInteger.parse(e, n), 0);
|
|
3234
3234
|
const o = e.substring(0, r) + e.substring(r + 1);
|
|
3235
|
-
return yn.make(
|
|
3235
|
+
return yn.make(Wi.LexoInteger.parse(o, n), e.length - 1 - r);
|
|
3236
3236
|
}
|
|
3237
3237
|
static from(e) {
|
|
3238
3238
|
return yn.make(e, 0);
|
|
@@ -3275,7 +3275,7 @@ class yn {
|
|
|
3275
3275
|
if (this.isExact())
|
|
3276
3276
|
return this.mag;
|
|
3277
3277
|
const e = this.floor();
|
|
3278
|
-
return e.add(
|
|
3278
|
+
return e.add(Wi.LexoInteger.one(e.getSystem()));
|
|
3279
3279
|
}
|
|
3280
3280
|
isExact() {
|
|
3281
3281
|
if (this.sig === 0)
|
|
@@ -3294,7 +3294,7 @@ class yn {
|
|
|
3294
3294
|
e < 0 && (e = 0);
|
|
3295
3295
|
const r = this.sig - e;
|
|
3296
3296
|
let o = this.mag.shiftRight(r);
|
|
3297
|
-
return n && (o = o.add(
|
|
3297
|
+
return n && (o = o.add(Wi.LexoInteger.one(o.getSystem()))), yn.make(o, e);
|
|
3298
3298
|
}
|
|
3299
3299
|
compareTo(e) {
|
|
3300
3300
|
if (this === e)
|
|
@@ -3326,7 +3326,7 @@ function fh() {
|
|
|
3326
3326
|
if (a1)
|
|
3327
3327
|
return sa;
|
|
3328
3328
|
a1 = 1, Object.defineProperty(sa, "__esModule", { value: !0 });
|
|
3329
|
-
const t =
|
|
3329
|
+
const t = wi, e = hh();
|
|
3330
3330
|
class n {
|
|
3331
3331
|
constructor(o) {
|
|
3332
3332
|
this.value = t.LexoInteger.parse(o, e.LexoRank.NUMERAL_SYSTEM);
|
|
@@ -3493,8 +3493,8 @@ fl.LexoNumeralSystem64 = rb;
|
|
|
3493
3493
|
var l1;
|
|
3494
3494
|
function hh() {
|
|
3495
3495
|
if (l1)
|
|
3496
|
-
return
|
|
3497
|
-
l1 = 1, Object.defineProperty(
|
|
3496
|
+
return ji;
|
|
3497
|
+
l1 = 1, Object.defineProperty(ji, "__esModule", { value: !0 }), ji.LexoRank = void 0;
|
|
3498
3498
|
const t = Ls, e = fh(), n = Ns, r = Pu;
|
|
3499
3499
|
class o {
|
|
3500
3500
|
constructor(s, a) {
|
|
@@ -3666,7 +3666,7 @@ function hh() {
|
|
|
3666
3666
|
return this === s ? 0 : s ? this.value.localeCompare(s.value) : 1;
|
|
3667
3667
|
}
|
|
3668
3668
|
}
|
|
3669
|
-
return
|
|
3669
|
+
return ji.LexoRank = o, ji;
|
|
3670
3670
|
}
|
|
3671
3671
|
(function(t) {
|
|
3672
3672
|
var e = Yt && Yt.__createBinding || (Object.create ? function(r, o, i, s) {
|
|
@@ -3681,7 +3681,7 @@ function hh() {
|
|
|
3681
3681
|
for (var i in r)
|
|
3682
3682
|
i !== "default" && !Object.prototype.hasOwnProperty.call(o, i) && e(o, r, i);
|
|
3683
3683
|
};
|
|
3684
|
-
Object.defineProperty(t, "__esModule", { value: !0 }), n(hh(), t), n(fh(), t), n(Ls, t), n(
|
|
3684
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), n(hh(), t), n(fh(), t), n(Ls, t), n(wi, t);
|
|
3685
3685
|
})(dh);
|
|
3686
3686
|
(function(t) {
|
|
3687
3687
|
var e = Yt && Yt.__createBinding || (Object.create ? function(r, o, i, s) {
|
|
@@ -3698,22 +3698,22 @@ function hh() {
|
|
|
3698
3698
|
};
|
|
3699
3699
|
Object.defineProperty(t, "__esModule", { value: !0 }), n(dh, t), n(Pu, t);
|
|
3700
3700
|
})(St);
|
|
3701
|
-
const
|
|
3701
|
+
const es = 60, ob = 8, c1 = es * ob;
|
|
3702
3702
|
function pl(t, e) {
|
|
3703
3703
|
if (!t)
|
|
3704
3704
|
return "0m";
|
|
3705
3705
|
if (e === "days") {
|
|
3706
|
-
const r = Math.floor(t / c1), o = Math.floor(t % c1 /
|
|
3706
|
+
const r = Math.floor(t / c1), o = Math.floor(t % c1 / es);
|
|
3707
3707
|
if (r > 0 && o > 0)
|
|
3708
3708
|
return `${r}d ${o}h`;
|
|
3709
3709
|
if (r > 0)
|
|
3710
3710
|
return `${r}d`;
|
|
3711
3711
|
{
|
|
3712
|
-
const i = t %
|
|
3712
|
+
const i = t % es;
|
|
3713
3713
|
return i > 0 ? `${o}h ${i}m` : `${o}h`;
|
|
3714
3714
|
}
|
|
3715
3715
|
} else {
|
|
3716
|
-
const r = Math.floor(t /
|
|
3716
|
+
const r = Math.floor(t / es), o = t % es;
|
|
3717
3717
|
return r > 0 && o > 0 ? `${r}h ${o}m` : r > 0 ? `${r}h` : `${o}m`;
|
|
3718
3718
|
}
|
|
3719
3719
|
}
|
|
@@ -3741,9 +3741,9 @@ function ab(t) {
|
|
|
3741
3741
|
}
|
|
3742
3742
|
function Is(t, e) {
|
|
3743
3743
|
if (t.moved)
|
|
3744
|
-
return
|
|
3744
|
+
return ui(e, t.moved.newIndex);
|
|
3745
3745
|
}
|
|
3746
|
-
function
|
|
3746
|
+
function ui(t, e) {
|
|
3747
3747
|
if (e === 0)
|
|
3748
3748
|
if (t.length > 1) {
|
|
3749
3749
|
const n = t[e + 1];
|
|
@@ -3767,7 +3767,7 @@ function Ps(t) {
|
|
|
3767
3767
|
function hl(t, e = "dd/MM/yyyy") {
|
|
3768
3768
|
if (!t)
|
|
3769
3769
|
return "";
|
|
3770
|
-
const n =
|
|
3770
|
+
const n = ci(t);
|
|
3771
3771
|
return ih(n) ? Iu(n, e) : "";
|
|
3772
3772
|
}
|
|
3773
3773
|
function Fu(t, e) {
|
|
@@ -3926,13 +3926,13 @@ const mb = { class: "ao-card-template__subitems" }, gb = { class: "ao-card-templ
|
|
|
3926
3926
|
C("span", kb, j(l.$t("template.phases.title")), 1)
|
|
3927
3927
|
]),
|
|
3928
3928
|
t.phases ? (x(), M("ul", xb, [
|
|
3929
|
-
(x(!0), M(Pe, null, ot(s.value, (u) => (x(), J(
|
|
3929
|
+
(x(!0), M(Pe, null, ot(s.value, (u) => (x(), J(hs, {
|
|
3930
3930
|
key: u.id,
|
|
3931
3931
|
label: u.name || u.id,
|
|
3932
3932
|
color: "primary",
|
|
3933
3933
|
variant: "solid"
|
|
3934
3934
|
}, null, 8, ["label"]))), 128)),
|
|
3935
|
-
a.value > 0 ? (x(), J(
|
|
3935
|
+
a.value > 0 ? (x(), J(hs, {
|
|
3936
3936
|
key: 0,
|
|
3937
3937
|
label: `+${a.value} more`,
|
|
3938
3938
|
color: "primary-lighter",
|
|
@@ -4353,7 +4353,7 @@ const gs = Math.min, bn = Math.max, Na = Math.round, aa = Math.floor, Hr = (t) =
|
|
|
4353
4353
|
function Bu(t, e) {
|
|
4354
4354
|
return typeof t == "function" ? t(e) : t;
|
|
4355
4355
|
}
|
|
4356
|
-
function
|
|
4356
|
+
function di(t) {
|
|
4357
4357
|
return t.split("-")[0];
|
|
4358
4358
|
}
|
|
4359
4359
|
function gl(t) {
|
|
@@ -4366,7 +4366,7 @@ function _h(t) {
|
|
|
4366
4366
|
return t === "y" ? "height" : "width";
|
|
4367
4367
|
}
|
|
4368
4368
|
function Uu(t) {
|
|
4369
|
-
return ["top", "bottom"].includes(
|
|
4369
|
+
return ["top", "bottom"].includes(di(t)) ? "y" : "x";
|
|
4370
4370
|
}
|
|
4371
4371
|
function yh(t) {
|
|
4372
4372
|
return sC(Uu(t));
|
|
@@ -4399,7 +4399,7 @@ function cC(t, e, n) {
|
|
|
4399
4399
|
}
|
|
4400
4400
|
function uC(t, e, n, r) {
|
|
4401
4401
|
const o = gl(t);
|
|
4402
|
-
let i = cC(
|
|
4402
|
+
let i = cC(di(t), n === "start", r);
|
|
4403
4403
|
return o && (i = i.map((s) => s + "-" + o), e && (i = i.concat(i.map(Zc)))), i;
|
|
4404
4404
|
}
|
|
4405
4405
|
function Ia(t) {
|
|
@@ -4436,7 +4436,7 @@ function d1(t, e, n) {
|
|
|
4436
4436
|
reference: r,
|
|
4437
4437
|
floating: o
|
|
4438
4438
|
} = t;
|
|
4439
|
-
const i = Uu(e), s = yh(e), a = _h(s), l =
|
|
4439
|
+
const i = Uu(e), s = yh(e), a = _h(s), l = di(e), c = i === "y", u = r.x + r.width / 2 - o.width / 2, d = r.y + r.height / 2 - o.height / 2, f = r[a] / 2 - o[a] / 2;
|
|
4440
4440
|
let p;
|
|
4441
4441
|
switch (l) {
|
|
4442
4442
|
case "top":
|
|
@@ -4610,7 +4610,7 @@ const hC = function(t) {
|
|
|
4610
4610
|
} = Bu(t, e);
|
|
4611
4611
|
if ((n = i.arrow) != null && n.alignmentOffset)
|
|
4612
4612
|
return {};
|
|
4613
|
-
const y =
|
|
4613
|
+
const y = di(o), v = di(a) === a, g = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), w = f || (v || !m ? [Ia(a)] : lC(a));
|
|
4614
4614
|
!f && h !== "none" && w.push(...uC(a, m, h, g));
|
|
4615
4615
|
const k = [a, ...w], b = await bh(e, _), S = [];
|
|
4616
4616
|
let D = ((r = i.flip) == null ? void 0 : r.overflows) || [];
|
|
@@ -4671,7 +4671,7 @@ const hC = function(t) {
|
|
|
4671
4671
|
apply: s = () => {
|
|
4672
4672
|
},
|
|
4673
4673
|
...a
|
|
4674
|
-
} = Bu(t, e), l = await bh(e, a), c =
|
|
4674
|
+
} = Bu(t, e), l = await bh(e, a), c = di(n), u = gl(n), d = Uu(n) === "y", {
|
|
4675
4675
|
width: f,
|
|
4676
4676
|
height: p
|
|
4677
4677
|
} = r.floating;
|
|
@@ -4744,11 +4744,11 @@ function Hu(t) {
|
|
|
4744
4744
|
return n.transform !== "none" || n.perspective !== "none" || (n.containerType ? n.containerType !== "normal" : !1) || !e && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !e && (n.filter ? n.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((r) => (n.willChange || "").includes(r)) || ["paint", "layout", "strict", "content"].some((r) => (n.contain || "").includes(r));
|
|
4745
4745
|
}
|
|
4746
4746
|
function vC(t) {
|
|
4747
|
-
let e =
|
|
4747
|
+
let e = fi(t);
|
|
4748
4748
|
for (; Qn(e) && !vl(e); ) {
|
|
4749
4749
|
if (Hu(e))
|
|
4750
4750
|
return e;
|
|
4751
|
-
e =
|
|
4751
|
+
e = fi(e);
|
|
4752
4752
|
}
|
|
4753
4753
|
return null;
|
|
4754
4754
|
}
|
|
@@ -4770,7 +4770,7 @@ function _l(t) {
|
|
|
4770
4770
|
scrollTop: t.pageYOffset
|
|
4771
4771
|
};
|
|
4772
4772
|
}
|
|
4773
|
-
function
|
|
4773
|
+
function fi(t) {
|
|
4774
4774
|
if (qr(t) === "html")
|
|
4775
4775
|
return t;
|
|
4776
4776
|
const e = (
|
|
@@ -4783,7 +4783,7 @@ function pi(t) {
|
|
|
4783
4783
|
return f1(e) ? e.host : e;
|
|
4784
4784
|
}
|
|
4785
4785
|
function wh(t) {
|
|
4786
|
-
const e =
|
|
4786
|
+
const e = fi(t);
|
|
4787
4787
|
return vl(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : Qn(e) && Rs(e) ? e : wh(e);
|
|
4788
4788
|
}
|
|
4789
4789
|
function vs(t, e, n) {
|
|
@@ -4938,7 +4938,7 @@ function p1(t, e, n) {
|
|
|
4938
4938
|
return Pa(r);
|
|
4939
4939
|
}
|
|
4940
4940
|
function Ah(t, e) {
|
|
4941
|
-
const n =
|
|
4941
|
+
const n = fi(t);
|
|
4942
4942
|
return n === e || !br(n) || vl(n) ? !1 : An(n).position === "fixed" || Ah(n, e);
|
|
4943
4943
|
}
|
|
4944
4944
|
function SC(t, e) {
|
|
@@ -4947,10 +4947,10 @@ function SC(t, e) {
|
|
|
4947
4947
|
return n;
|
|
4948
4948
|
let r = vs(t, [], !1).filter((a) => br(a) && qr(a) !== "body"), o = null;
|
|
4949
4949
|
const i = An(t).position === "fixed";
|
|
4950
|
-
let s = i ?
|
|
4950
|
+
let s = i ? fi(t) : t;
|
|
4951
4951
|
for (; br(s) && !vl(s); ) {
|
|
4952
4952
|
const a = An(s), l = Hu(s);
|
|
4953
|
-
!l && a.position === "fixed" && (o = null), (i ? !l && !o : !l && a.position === "static" && !!o && ["absolute", "fixed"].includes(o.position) || Rs(s) && !l && Ah(t, s)) ? r = r.filter((u) => u !== s) : o = a, s =
|
|
4953
|
+
!l && a.position === "fixed" && (o = null), (i ? !l && !o : !l && a.position === "static" && !!o && ["absolute", "fixed"].includes(o.position) || Rs(s) && !l && Ah(t, s)) ? r = r.filter((u) => u !== s) : o = a, s = fi(s);
|
|
4954
4954
|
}
|
|
4955
4955
|
return e.set(t, r), r;
|
|
4956
4956
|
}
|
|
@@ -5315,18 +5315,18 @@ function qC(t, e, n) {
|
|
|
5315
5315
|
let R = en.value || /* istanbul ignore next */
|
|
5316
5316
|
[], oe = [];
|
|
5317
5317
|
return R.forEach((Ne) => {
|
|
5318
|
-
|
|
5318
|
+
Pi(Ne[X.value]).forEach((at) => {
|
|
5319
5319
|
oe.push(Object.assign({}, at, Ne[_e.value] ? { [_e.value]: !0 } : {}));
|
|
5320
5320
|
});
|
|
5321
5321
|
}), oe;
|
|
5322
5322
|
} else {
|
|
5323
|
-
let R =
|
|
5323
|
+
let R = Pi(We.value || /* istanbul ignore next */
|
|
5324
5324
|
[]);
|
|
5325
5325
|
return tt.value.length && (R = R.concat(tt.value)), R;
|
|
5326
5326
|
}
|
|
5327
5327
|
}), Ft = L(() => {
|
|
5328
5328
|
let R = st.value;
|
|
5329
|
-
return U.value && (R = R.reverse()), nt.value.length && (R = nt.value.concat(R)),
|
|
5329
|
+
return U.value && (R = R.reverse()), nt.value.length && (R = nt.value.concat(R)), Ii(R);
|
|
5330
5330
|
}), Ct = L(() => {
|
|
5331
5331
|
let R = Ft.value;
|
|
5332
5332
|
return Qe.value > 0 && (R = R.slice(0, Qe.value)), R;
|
|
@@ -5353,13 +5353,13 @@ function qC(t, e, n) {
|
|
|
5353
5353
|
let R = _n.value;
|
|
5354
5354
|
return eo((R || /* istanbul ignore next */
|
|
5355
5355
|
[]).map((oe, Ne) => {
|
|
5356
|
-
const at =
|
|
5356
|
+
const at = Pi(oe[X.value]);
|
|
5357
5357
|
return {
|
|
5358
5358
|
...oe,
|
|
5359
5359
|
index: Ne,
|
|
5360
5360
|
group: !0,
|
|
5361
|
-
[X.value]:
|
|
5362
|
-
__VISIBLE__:
|
|
5361
|
+
[X.value]: Ii(at, !1).map((lr) => Object.assign({}, lr, oe[_e.value] ? { [_e.value]: !0 } : {})),
|
|
5362
|
+
__VISIBLE__: Ii(at).map((lr) => Object.assign({}, lr, oe[_e.value] ? { [_e.value]: !0 } : {}))
|
|
5363
5363
|
};
|
|
5364
5364
|
}));
|
|
5365
5365
|
}), sr = L(() => {
|
|
@@ -5397,7 +5397,7 @@ function qC(t, e, n) {
|
|
|
5397
5397
|
}, Ht = (R) => {
|
|
5398
5398
|
switch (typeof R != "object" && (R = sn(R)), o.value) {
|
|
5399
5399
|
case "single":
|
|
5400
|
-
|
|
5400
|
+
Oi();
|
|
5401
5401
|
break;
|
|
5402
5402
|
case "tags":
|
|
5403
5403
|
case "multiple":
|
|
@@ -5413,7 +5413,7 @@ function qC(t, e, n) {
|
|
|
5413
5413
|
return;
|
|
5414
5414
|
}
|
|
5415
5415
|
Ro(R);
|
|
5416
|
-
},
|
|
5416
|
+
}, Oi = () => {
|
|
5417
5417
|
Ge(ar.value), e.emit("clear", me);
|
|
5418
5418
|
}, rn = (R) => {
|
|
5419
5419
|
if (R.group !== void 0)
|
|
@@ -5482,23 +5482,23 @@ function qC(t, e, n) {
|
|
|
5482
5482
|
}
|
|
5483
5483
|
}, Qr = (R) => {
|
|
5484
5484
|
sn(R[b.value]) === void 0 && $t.value && (e.emit("tag", R[b.value], me), e.emit("option", R[b.value], me), e.emit("create", R[b.value], me), ir.value && Xl(R), Le());
|
|
5485
|
-
},
|
|
5485
|
+
}, Li = () => {
|
|
5486
5486
|
o.value !== "single" && tn(Ct.value.filter((R) => !R.disabled && !rn(R)));
|
|
5487
|
-
}, Jl = (R) => R.find((oe) => !rn(oe) && !oe[_e.value]) === void 0, Js = (R) => R.find((oe) => !rn(oe)) === void 0, sn = (R) => st.value[st.value.map((oe) => String(oe[b.value])).indexOf(String(R))], Xs = (R) => st.value.findIndex((oe) => pt.value.some((Ne) => (parseInt(oe[Ne]) == oe[Ne] ? parseInt(oe[Ne]) : oe[Ne]) === (parseInt(R) == R ? parseInt(R) : R))),
|
|
5487
|
+
}, Jl = (R) => R.find((oe) => !rn(oe) && !oe[_e.value]) === void 0, Js = (R) => R.find((oe) => !rn(oe)) === void 0, sn = (R) => st.value[st.value.map((oe) => String(oe[b.value])).indexOf(String(R))], Xs = (R) => st.value.findIndex((oe) => pt.value.some((Ne) => (parseInt(oe[Ne]) == oe[Ne] ? parseInt(oe[Ne]) : oe[Ne]) === (parseInt(R) == R ? parseInt(R) : R))), Ni = (R) => ["tags", "multiple"].indexOf(o.value) !== -1 && a.value && rn(R), Xl = (R) => {
|
|
5488
5488
|
tt.value.push(R);
|
|
5489
5489
|
}, eo = (R) => V.value ? R.filter(
|
|
5490
5490
|
(oe) => pe.value ? oe.__VISIBLE__.length : oe[X.value].length
|
|
5491
|
-
) : R.filter((oe) => pe.value ? oe.__VISIBLE__.length : !0),
|
|
5491
|
+
) : R.filter((oe) => pe.value ? oe.__VISIBLE__.length : !0), Ii = (R, oe = !0) => {
|
|
5492
5492
|
let Ne = R;
|
|
5493
5493
|
if (pe.value && g.value) {
|
|
5494
5494
|
let at = ye.value;
|
|
5495
|
-
at || (at = (lr, Mn,
|
|
5495
|
+
at || (at = (lr, Mn, Bi) => pt.value.some((cr) => {
|
|
5496
5496
|
let ea = sc(Fe(lr[cr]), O.value);
|
|
5497
5497
|
return W.value ? ea.startsWith(sc(Mn, O.value)) : ea.indexOf(sc(Mn, O.value)) !== -1;
|
|
5498
5498
|
})), Ne = Ne.filter((lr) => at(lr, pe.value, me));
|
|
5499
5499
|
}
|
|
5500
|
-
return a.value && oe && (Ne = Ne.filter((at) => !
|
|
5501
|
-
},
|
|
5500
|
+
return a.value && oe && (Ne = Ne.filter((at) => !Ni(at))), Ne;
|
|
5501
|
+
}, Pi = (R) => {
|
|
5502
5502
|
let oe = R;
|
|
5503
5503
|
return UC(oe) && (oe = Object.keys(oe).map((Ne) => {
|
|
5504
5504
|
let at = oe[Ne];
|
|
@@ -5514,7 +5514,7 @@ function qC(t, e, n) {
|
|
|
5514
5514
|
}).finally(() => {
|
|
5515
5515
|
oe();
|
|
5516
5516
|
});
|
|
5517
|
-
})),
|
|
5517
|
+
})), Fi = () => {
|
|
5518
5518
|
if (sr.value)
|
|
5519
5519
|
if (o.value === "single") {
|
|
5520
5520
|
let R = sn(ge.value[b.value]);
|
|
@@ -5540,7 +5540,7 @@ function qC(t, e, n) {
|
|
|
5540
5540
|
[u.value]: oe,
|
|
5541
5541
|
[b.value]: oe,
|
|
5542
5542
|
[pt.value[0]]: oe
|
|
5543
|
-
}),
|
|
5543
|
+
}), Ri = () => {
|
|
5544
5544
|
Xe.value = Be(pe, (R) => {
|
|
5545
5545
|
R.length < v.value || !R && v.value !== 0 || (qe.value = !0, w.value && (We.value = []), setTimeout(() => {
|
|
5546
5546
|
R == pe.value && r.value(pe.value, me).then((oe) => {
|
|
@@ -5556,8 +5556,8 @@ function qC(t, e, n) {
|
|
|
5556
5556
|
};
|
|
5557
5557
|
if (o.value !== "single" && !jn(Z.value) && !Array.isArray(Z.value))
|
|
5558
5558
|
throw new Error(`v-model must be an array when using "${o.value}" mode`);
|
|
5559
|
-
return r && typeof r.value == "function" ? y.value ? Dn(Ye) : h.value == !0 && Ye() : (We.value = r.value, Ye()), _.value > -1 &&
|
|
5560
|
-
Xe.value && Xe.value(), R >= 0 &&
|
|
5559
|
+
return r && typeof r.value == "function" ? y.value ? Dn(Ye) : h.value == !0 && Ye() : (We.value = r.value, Ye()), _.value > -1 && Ri(), Be(_, (R, oe) => {
|
|
5560
|
+
Xe.value && Xe.value(), R >= 0 && Ri();
|
|
5561
5561
|
}), Be(Z, (R) => {
|
|
5562
5562
|
if (jn(R)) {
|
|
5563
5563
|
Ge(Er(R), !1);
|
|
@@ -5573,8 +5573,8 @@ function qC(t, e, n) {
|
|
|
5573
5573
|
break;
|
|
5574
5574
|
}
|
|
5575
5575
|
}, { deep: !0 }), Be(r, (R, oe) => {
|
|
5576
|
-
typeof t.options == "function" ? y.value && (!oe || R && R.toString() !== oe.toString()) && Dn() : (We.value = t.options, Object.keys(ge.value).length || Ye(),
|
|
5577
|
-
}), Be(u,
|
|
5576
|
+
typeof t.options == "function" ? y.value && (!oe || R && R.toString() !== oe.toString()) && Dn() : (We.value = t.options, Object.keys(ge.value).length || Ye(), Fi());
|
|
5577
|
+
}), Be(u, Fi), Be(s, (R, oe) => {
|
|
5578
5578
|
Qe.value = q.value && R === -1 ? 10 : R;
|
|
5579
5579
|
}), {
|
|
5580
5580
|
pfo: Ft,
|
|
@@ -5596,8 +5596,8 @@ function qC(t, e, n) {
|
|
|
5596
5596
|
select: tn,
|
|
5597
5597
|
deselect: Ht,
|
|
5598
5598
|
remove: Ro,
|
|
5599
|
-
selectAll:
|
|
5600
|
-
clear:
|
|
5599
|
+
selectAll: Li,
|
|
5600
|
+
clear: Oi,
|
|
5601
5601
|
isSelected: rn,
|
|
5602
5602
|
isDisabled: Bo,
|
|
5603
5603
|
isMax: Ar,
|
|
@@ -5607,7 +5607,7 @@ function qC(t, e, n) {
|
|
|
5607
5607
|
handleTagRemove: Ys,
|
|
5608
5608
|
refreshOptions: Qs,
|
|
5609
5609
|
resolveOptions: Dn,
|
|
5610
|
-
refreshLabels:
|
|
5610
|
+
refreshLabels: Fi
|
|
5611
5611
|
};
|
|
5612
5612
|
}
|
|
5613
5613
|
function zC(t, e, n) {
|
|
@@ -5722,7 +5722,7 @@ function Vu(t) {
|
|
|
5722
5722
|
var e = fn(t).ShadowRoot;
|
|
5723
5723
|
return t instanceof e || t instanceof ShadowRoot;
|
|
5724
5724
|
}
|
|
5725
|
-
var mo = Math.max, Fa = Math.min,
|
|
5725
|
+
var mo = Math.max, Fa = Math.min, pi = Math.round;
|
|
5726
5726
|
function Kc() {
|
|
5727
5727
|
var t = navigator.userAgentData;
|
|
5728
5728
|
return t != null && t.brands && Array.isArray(t.brands) ? t.brands.map(function(e) {
|
|
@@ -5732,10 +5732,10 @@ function Kc() {
|
|
|
5732
5732
|
function Eh() {
|
|
5733
5733
|
return !/^((?!chrome|android).)*safari/i.test(Kc());
|
|
5734
5734
|
}
|
|
5735
|
-
function
|
|
5735
|
+
function hi(t, e, n) {
|
|
5736
5736
|
e === void 0 && (e = !1), n === void 0 && (n = !1);
|
|
5737
5737
|
var r = t.getBoundingClientRect(), o = 1, i = 1;
|
|
5738
|
-
e && xn(t) && (o = t.offsetWidth > 0 &&
|
|
5738
|
+
e && xn(t) && (o = t.offsetWidth > 0 && pi(r.width) / t.offsetWidth || 1, i = t.offsetHeight > 0 && pi(r.height) / t.offsetHeight || 1);
|
|
5739
5739
|
var s = Co(t) ? fn(t) : window, a = s.visualViewport, l = !Eh() && n, c = (r.left + (l && a ? a.offsetLeft : 0)) / o, u = (r.top + (l && a ? a.offsetTop : 0)) / i, d = r.width / o, f = r.height / i;
|
|
5740
5740
|
return {
|
|
5741
5741
|
width: d,
|
|
@@ -5774,7 +5774,7 @@ function Gr(t) {
|
|
|
5774
5774
|
)) || window.document).documentElement;
|
|
5775
5775
|
}
|
|
5776
5776
|
function Wu(t) {
|
|
5777
|
-
return
|
|
5777
|
+
return hi(Gr(t)).left + ju(t).scrollLeft;
|
|
5778
5778
|
}
|
|
5779
5779
|
function Cr(t) {
|
|
5780
5780
|
return fn(t).getComputedStyle(t);
|
|
@@ -5784,12 +5784,12 @@ function Zu(t) {
|
|
|
5784
5784
|
return /auto|scroll|overlay|hidden/.test(n + o + r);
|
|
5785
5785
|
}
|
|
5786
5786
|
function WC(t) {
|
|
5787
|
-
var e = t.getBoundingClientRect(), n =
|
|
5787
|
+
var e = t.getBoundingClientRect(), n = pi(e.width) / t.offsetWidth || 1, r = pi(e.height) / t.offsetHeight || 1;
|
|
5788
5788
|
return n !== 1 || r !== 1;
|
|
5789
5789
|
}
|
|
5790
5790
|
function ZC(t, e, n) {
|
|
5791
5791
|
n === void 0 && (n = !1);
|
|
5792
|
-
var r = xn(e), o = xn(e) && WC(e), i = Gr(e), s =
|
|
5792
|
+
var r = xn(e), o = xn(e) && WC(e), i = Gr(e), s = hi(t, o, n), a = {
|
|
5793
5793
|
scrollLeft: 0,
|
|
5794
5794
|
scrollTop: 0
|
|
5795
5795
|
}, l = {
|
|
@@ -5797,7 +5797,7 @@ function ZC(t, e, n) {
|
|
|
5797
5797
|
y: 0
|
|
5798
5798
|
};
|
|
5799
5799
|
return (r || !r && !n) && ((er(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
5800
|
-
Zu(i)) && (a = jC(e)), xn(e) ? (l =
|
|
5800
|
+
Zu(i)) && (a = jC(e)), xn(e) ? (l = hi(e, !0), l.x += e.clientLeft, l.y += e.clientTop) : i && (l.x = Wu(i))), {
|
|
5801
5801
|
x: s.left + a.scrollLeft - l.x,
|
|
5802
5802
|
y: s.top + a.scrollTop - l.y,
|
|
5803
5803
|
width: s.width,
|
|
@@ -5805,7 +5805,7 @@ function ZC(t, e, n) {
|
|
|
5805
5805
|
};
|
|
5806
5806
|
}
|
|
5807
5807
|
function $h(t) {
|
|
5808
|
-
var e =
|
|
5808
|
+
var e = hi(t), n = t.offsetWidth, r = t.offsetHeight;
|
|
5809
5809
|
return Math.abs(e.width - n) <= 1 && (n = e.width), Math.abs(e.height - r) <= 1 && (r = e.height), {
|
|
5810
5810
|
x: t.offsetLeft,
|
|
5811
5811
|
y: t.offsetTop,
|
|
@@ -5828,13 +5828,13 @@ function yl(t) {
|
|
|
5828
5828
|
function Dh(t) {
|
|
5829
5829
|
return ["html", "body", "#document"].indexOf(er(t)) >= 0 ? t.ownerDocument.body : xn(t) && Zu(t) ? t : Dh(yl(t));
|
|
5830
5830
|
}
|
|
5831
|
-
function
|
|
5831
|
+
function ss(t, e) {
|
|
5832
5832
|
var n;
|
|
5833
5833
|
e === void 0 && (e = []);
|
|
5834
5834
|
var r = Dh(t), o = r === ((n = t.ownerDocument) == null ? void 0 : n.body), i = fn(r), s = o ? [i].concat(i.visualViewport || [], Zu(r) ? r : []) : r, a = e.concat(s);
|
|
5835
5835
|
return o ? a : (
|
|
5836
5836
|
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
5837
|
-
a.concat(
|
|
5837
|
+
a.concat(ss(yl(s)))
|
|
5838
5838
|
);
|
|
5839
5839
|
}
|
|
5840
5840
|
function KC(t) {
|
|
@@ -5865,10 +5865,10 @@ function bl(t) {
|
|
|
5865
5865
|
n = m1(n);
|
|
5866
5866
|
return n && (er(n) === "html" || er(n) === "body" && Cr(n).position === "static") ? e : n || GC(t) || e;
|
|
5867
5867
|
}
|
|
5868
|
-
var Nn = "top", tr = "bottom", zr = "right", gr = "left", Ku = "auto", Cl = [Nn, tr, zr, gr],
|
|
5869
|
-
return t.concat([e + "-" +
|
|
5868
|
+
var Nn = "top", tr = "bottom", zr = "right", gr = "left", Ku = "auto", Cl = [Nn, tr, zr, gr], mi = "start", _s = "end", YC = "clippingParents", Mh = "viewport", Zi = "popper", JC = "reference", g1 = /* @__PURE__ */ Cl.reduce(function(t, e) {
|
|
5869
|
+
return t.concat([e + "-" + mi, e + "-" + _s]);
|
|
5870
5870
|
}, []), XC = /* @__PURE__ */ [].concat(Cl, [Ku]).reduce(function(t, e) {
|
|
5871
|
-
return t.concat([e, e + "-" +
|
|
5871
|
+
return t.concat([e, e + "-" + mi, e + "-" + _s]);
|
|
5872
5872
|
}, []), QC = "beforeRead", e9 = "read", t9 = "afterRead", n9 = "beforeMain", r9 = "main", o9 = "afterMain", i9 = "beforeWrite", s9 = "write", a9 = "afterWrite", l9 = [QC, e9, t9, n9, r9, o9, i9, s9, a9];
|
|
5873
5873
|
function c9(t) {
|
|
5874
5874
|
var e = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Set(), r = [];
|
|
@@ -5965,14 +5965,14 @@ function Gc(t) {
|
|
|
5965
5965
|
});
|
|
5966
5966
|
}
|
|
5967
5967
|
function g9(t, e) {
|
|
5968
|
-
var n =
|
|
5968
|
+
var n = hi(t, !1, e === "fixed");
|
|
5969
5969
|
return n.top = n.top + t.clientTop, n.left = n.left + t.clientLeft, n.bottom = n.top + t.clientHeight, n.right = n.left + t.clientWidth, n.width = t.clientWidth, n.height = t.clientHeight, n.x = n.left, n.y = n.top, n;
|
|
5970
5970
|
}
|
|
5971
5971
|
function v1(t, e, n) {
|
|
5972
5972
|
return e === Mh ? Gc(p9(t, n)) : Co(e) ? g9(e, n) : Gc(h9(Gr(t)));
|
|
5973
5973
|
}
|
|
5974
5974
|
function v9(t) {
|
|
5975
|
-
var e =
|
|
5975
|
+
var e = ss(yl(t)), n = ["absolute", "fixed"].indexOf(Cr(t).position) >= 0, r = n && xn(t) ? bl(t) : t;
|
|
5976
5976
|
return Co(r) ? e.filter(function(o) {
|
|
5977
5977
|
return Co(o) && m9(o, r) && er(o) !== "body";
|
|
5978
5978
|
}) : [];
|
|
@@ -5987,14 +5987,14 @@ function _9(t, e, n, r) {
|
|
|
5987
5987
|
function Fr(t) {
|
|
5988
5988
|
return t.split("-")[0];
|
|
5989
5989
|
}
|
|
5990
|
-
function
|
|
5990
|
+
function gi(t) {
|
|
5991
5991
|
return t.split("-")[1];
|
|
5992
5992
|
}
|
|
5993
5993
|
function Oh(t) {
|
|
5994
5994
|
return ["top", "bottom"].indexOf(t) >= 0 ? "x" : "y";
|
|
5995
5995
|
}
|
|
5996
5996
|
function Lh(t) {
|
|
5997
|
-
var e = t.reference, n = t.element, r = t.placement, o = r ? Fr(r) : null, i = r ?
|
|
5997
|
+
var e = t.reference, n = t.element, r = t.placement, o = r ? Fr(r) : null, i = r ? gi(r) : null, s = e.x + e.width / 2 - n.width / 2, a = e.y + e.height / 2 - n.height / 2, l;
|
|
5998
5998
|
switch (o) {
|
|
5999
5999
|
case Nn:
|
|
6000
6000
|
l = {
|
|
@@ -6030,7 +6030,7 @@ function Lh(t) {
|
|
|
6030
6030
|
if (c != null) {
|
|
6031
6031
|
var u = c === "y" ? "height" : "width";
|
|
6032
6032
|
switch (i) {
|
|
6033
|
-
case
|
|
6033
|
+
case mi:
|
|
6034
6034
|
l[c] = l[c] - (e[u] / 2 - n[u] / 2);
|
|
6035
6035
|
break;
|
|
6036
6036
|
case _s:
|
|
@@ -6058,18 +6058,18 @@ function b9(t, e) {
|
|
|
6058
6058
|
}
|
|
6059
6059
|
function Gu(t, e) {
|
|
6060
6060
|
e === void 0 && (e = {});
|
|
6061
|
-
var n = e, r = n.placement, o = r === void 0 ? t.placement : r, i = n.strategy, s = i === void 0 ? t.strategy : i, a = n.boundary, l = a === void 0 ? YC : a, c = n.rootBoundary, u = c === void 0 ? Mh : c, d = n.elementContext, f = d === void 0 ?
|
|
6061
|
+
var n = e, r = n.placement, o = r === void 0 ? t.placement : r, i = n.strategy, s = i === void 0 ? t.strategy : i, a = n.boundary, l = a === void 0 ? YC : a, c = n.rootBoundary, u = c === void 0 ? Mh : c, d = n.elementContext, f = d === void 0 ? Zi : d, p = n.altBoundary, h = p === void 0 ? !1 : p, m = n.padding, _ = m === void 0 ? 0 : m, y = y9(typeof _ != "number" ? _ : b9(_, Cl)), v = f === Zi ? JC : Zi, g = t.rects.popper, w = t.elements[h ? v : f], k = _9(Co(w) ? w : w.contextElement || Gr(t.elements.popper), l, u, s), b = hi(t.elements.reference), S = Lh({
|
|
6062
6062
|
reference: b,
|
|
6063
6063
|
element: g,
|
|
6064
6064
|
strategy: "absolute",
|
|
6065
6065
|
placement: o
|
|
6066
|
-
}), D = Gc(Object.assign({}, g, S)), E = f ===
|
|
6066
|
+
}), D = Gc(Object.assign({}, g, S)), E = f === Zi ? D : b, T = {
|
|
6067
6067
|
top: k.top - E.top + y.top,
|
|
6068
6068
|
bottom: E.bottom - k.bottom + y.bottom,
|
|
6069
6069
|
left: k.left - E.left + y.left,
|
|
6070
6070
|
right: E.right - k.right + y.right
|
|
6071
6071
|
}, O = t.modifiersData.offset;
|
|
6072
|
-
if (f ===
|
|
6072
|
+
if (f === Zi && O) {
|
|
6073
6073
|
var A = O[o];
|
|
6074
6074
|
Object.keys(T).forEach(function(N) {
|
|
6075
6075
|
var I = [zr, tr].indexOf(N) >= 0 ? 1 : -1, U = [Nn, tr].indexOf(N) >= 0 ? "y" : "x";
|
|
@@ -6111,8 +6111,8 @@ function C9(t) {
|
|
|
6111
6111
|
setOptions: function(y) {
|
|
6112
6112
|
var v = typeof y == "function" ? y(u.options) : y;
|
|
6113
6113
|
m(), u.options = Object.assign({}, i, u.options, v), u.scrollParents = {
|
|
6114
|
-
reference: Co(a) ?
|
|
6115
|
-
popper:
|
|
6114
|
+
reference: Co(a) ? ss(a) : a.contextElement ? ss(a.contextElement) : [],
|
|
6115
|
+
popper: ss(l)
|
|
6116
6116
|
};
|
|
6117
6117
|
var g = u9(f9([].concat(r, u.options.modifiers)));
|
|
6118
6118
|
return u.orderedModifiers = g.filter(function(w) {
|
|
@@ -6235,8 +6235,8 @@ var S9 = {
|
|
|
6235
6235
|
function T9(t, e) {
|
|
6236
6236
|
var n = t.x, r = t.y, o = e.devicePixelRatio || 1;
|
|
6237
6237
|
return {
|
|
6238
|
-
x:
|
|
6239
|
-
y:
|
|
6238
|
+
x: pi(n * o) / o || 0,
|
|
6239
|
+
y: pi(r * o) / o || 0
|
|
6240
6240
|
};
|
|
6241
6241
|
}
|
|
6242
6242
|
function b1(t) {
|
|
@@ -6286,7 +6286,7 @@ function b1(t) {
|
|
|
6286
6286
|
function E9(t) {
|
|
6287
6287
|
var e = t.state, n = t.options, r = n.gpuAcceleration, o = r === void 0 ? !0 : r, i = n.adaptive, s = i === void 0 ? !0 : i, a = n.roundOffsets, l = a === void 0 ? !0 : a, c = {
|
|
6288
6288
|
placement: Fr(e.placement),
|
|
6289
|
-
variation:
|
|
6289
|
+
variation: gi(e.placement),
|
|
6290
6290
|
popper: e.elements.popper,
|
|
6291
6291
|
popperRect: e.rects.popper,
|
|
6292
6292
|
gpuAcceleration: o,
|
|
@@ -6373,7 +6373,7 @@ function F9(t) {
|
|
|
6373
6373
|
rootBoundary: c,
|
|
6374
6374
|
padding: d,
|
|
6375
6375
|
altBoundary: u
|
|
6376
|
-
}), y = Fr(e.placement), v =
|
|
6376
|
+
}), y = Fr(e.placement), v = gi(e.placement), g = !v, w = Oh(y), k = I9(w), b = e.modifiersData.popperOffsets, S = e.rects.reference, D = e.rects.popper, E = typeof m == "function" ? m(Object.assign({}, e.rects, {
|
|
6377
6377
|
placement: e.placement
|
|
6378
6378
|
})) : m, T = typeof E == "number" ? {
|
|
6379
6379
|
mainAxis: E,
|
|
@@ -6387,7 +6387,7 @@ function F9(t) {
|
|
|
6387
6387
|
};
|
|
6388
6388
|
if (b) {
|
|
6389
6389
|
if (i) {
|
|
6390
|
-
var N, I = w === "y" ? Nn : gr, U = w === "y" ? tr : zr, q = w === "y" ? "height" : "width", X = b[w], V = X + _[I], G = X - _[U], le = p ? -D[q] / 2 : 0, _e = v ===
|
|
6390
|
+
var N, I = w === "y" ? Nn : gr, U = w === "y" ? tr : zr, q = w === "y" ? "height" : "width", X = b[w], V = X + _[I], G = X - _[U], le = p ? -D[q] / 2 : 0, _e = v === mi ? S[q] : D[q], W = v === mi ? -D[q] : -S[q], ye = e.elements.arrow, me = p && ye ? $h(ye) : {
|
|
6391
6391
|
width: 0,
|
|
6392
6392
|
height: 0
|
|
6393
6393
|
}, ge = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Nh(), Z = ge[I], pe = ge[U], Le = ka(0, S[q], me[q]), Ge = g ? S[q] / 2 - le - Le - Z - T.mainAxis : _e - Le - Z - T.mainAxis, bt = g ? -S[q] / 2 + le + Le + pe + T.mainAxis : W + Le + pe + T.mainAxis, Et = e.elements.arrow && bl(e.elements.arrow), z = Et ? w === "y" ? Et.clientTop || 0 : Et.clientLeft || 0 : 0, be = (N = O == null ? void 0 : O[w]) != null ? N : 0, De = X + Ge - be - z, Ee = X + bt - be, Fe = ka(p ? Fa(V, De) : V, X, p ? mo(G, Ee) : G);
|
|
@@ -6428,8 +6428,8 @@ function C1(t) {
|
|
|
6428
6428
|
}
|
|
6429
6429
|
function H9(t, e) {
|
|
6430
6430
|
e === void 0 && (e = {});
|
|
6431
|
-
var n = e, r = n.placement, o = n.boundary, i = n.rootBoundary, s = n.padding, a = n.flipVariations, l = n.allowedAutoPlacements, c = l === void 0 ? XC : l, u =
|
|
6432
|
-
return
|
|
6431
|
+
var n = e, r = n.placement, o = n.boundary, i = n.rootBoundary, s = n.padding, a = n.flipVariations, l = n.allowedAutoPlacements, c = l === void 0 ? XC : l, u = gi(r), d = u ? a ? g1 : g1.filter(function(h) {
|
|
6432
|
+
return gi(h) === u;
|
|
6433
6433
|
}) : Cl, f = d.filter(function(h) {
|
|
6434
6434
|
return c.indexOf(h) >= 0;
|
|
6435
6435
|
});
|
|
@@ -6465,7 +6465,7 @@ function z9(t) {
|
|
|
6465
6465
|
allowedAutoPlacements: m
|
|
6466
6466
|
}) : ge);
|
|
6467
6467
|
}, []), k = e.rects.reference, b = e.rects.popper, S = /* @__PURE__ */ new Map(), D = !0, E = w[0], T = 0; T < w.length; T++) {
|
|
6468
|
-
var O = w[T], A = Fr(O), N =
|
|
6468
|
+
var O = w[T], A = Fr(O), N = gi(O) === mi, I = [Nn, tr].indexOf(A) >= 0, U = I ? "width" : "height", q = Gu(e, {
|
|
6469
6469
|
placement: O,
|
|
6470
6470
|
boundary: u,
|
|
6471
6471
|
rootBoundary: d,
|
|
@@ -8185,7 +8185,7 @@ const T4 = { class: "ao-files__placeholder" }, E4 = {
|
|
|
8185
8185
|
rt(C("div", P4, [
|
|
8186
8186
|
C("span", F4, j(p.$t("activity.attachment.placeholder.active")), 1)
|
|
8187
8187
|
], 512), [
|
|
8188
|
-
[
|
|
8188
|
+
[is, o.value]
|
|
8189
8189
|
])
|
|
8190
8190
|
], 34);
|
|
8191
8191
|
};
|
|
@@ -10320,7 +10320,7 @@ const B4 = "Á", U4 = "á", H4 = "Ă", q4 = "ă", z4 = "∾", V4 = "∿", j4 = "
|
|
|
10320
10320
|
zwj: eie,
|
|
10321
10321
|
zwnj: tie
|
|
10322
10322
|
};
|
|
10323
|
-
var Ih = nie, Yu = /[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,
|
|
10323
|
+
var Ih = nie, Yu = /[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/, ki = {}, k1 = {};
|
|
10324
10324
|
function rie(t) {
|
|
10325
10325
|
var e, n, r = k1[t];
|
|
10326
10326
|
if (r)
|
|
@@ -10470,10 +10470,10 @@ Ra.prototype.parseHost = function(t) {
|
|
|
10470
10470
|
e && (e = e[0], e !== ":" && (this.port = e.substr(1)), t = t.substr(0, t.length - e.length)), t && (this.hostname = t);
|
|
10471
10471
|
};
|
|
10472
10472
|
var vie = gie;
|
|
10473
|
-
|
|
10474
|
-
|
|
10475
|
-
|
|
10476
|
-
|
|
10473
|
+
ki.encode = oie;
|
|
10474
|
+
ki.decode = sie;
|
|
10475
|
+
ki.format = aie;
|
|
10476
|
+
ki.parse = vie;
|
|
10477
10477
|
var no = {}, ac, D1;
|
|
10478
10478
|
function Ph() {
|
|
10479
10479
|
return D1 || (D1 = 1, ac = /[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/), ac;
|
|
@@ -10633,7 +10633,7 @@ function yie() {
|
|
|
10633
10633
|
function N(I) {
|
|
10634
10634
|
return I = I.trim().replace(/\s+/g, " "), "ẞ".toLowerCase() === "Ṿ" && (I = I.replace(/ẞ/g, "ß")), I.toLowerCase().toUpperCase();
|
|
10635
10635
|
}
|
|
10636
|
-
t.lib = {}, t.lib.mdurl =
|
|
10636
|
+
t.lib = {}, t.lib.mdurl = ki, t.lib.ucmicro = yie(), t.assign = i, t.isString = n, t.has = o, t.unescapeMd = m, t.unescapeAll = _, t.isValidEntityCode = a, t.fromCodePoint = l, t.escapeHtml = k, t.arrayReplaceAt = s, t.isSpace = D, t.isWhiteSpace = E, t.isMdAsciiPunct = A, t.isPunctChar = O, t.escapeRE = S, t.normalizeReference = N;
|
|
10637
10637
|
})(je);
|
|
10638
10638
|
var xl = {}, bie = function(e, n, r) {
|
|
10639
10639
|
var o, i, s, a, l = -1, c = e.posMax, u = e.pos;
|
|
@@ -10752,10 +10752,10 @@ rr.html_block = function(t, e) {
|
|
|
10752
10752
|
rr.html_inline = function(t, e) {
|
|
10753
10753
|
return t[e].content;
|
|
10754
10754
|
};
|
|
10755
|
-
function
|
|
10755
|
+
function xi() {
|
|
10756
10756
|
this.rules = xie({}, rr);
|
|
10757
10757
|
}
|
|
10758
|
-
|
|
10758
|
+
xi.prototype.renderAttrs = function(e) {
|
|
10759
10759
|
var n, r, o;
|
|
10760
10760
|
if (!e.attrs)
|
|
10761
10761
|
return "";
|
|
@@ -10763,30 +10763,30 @@ Si.prototype.renderAttrs = function(e) {
|
|
|
10763
10763
|
o += " " + wo(e.attrs[n][0]) + '="' + wo(e.attrs[n][1]) + '"';
|
|
10764
10764
|
return o;
|
|
10765
10765
|
};
|
|
10766
|
-
|
|
10766
|
+
xi.prototype.renderToken = function(e, n, r) {
|
|
10767
10767
|
var o, i = "", s = !1, a = e[n];
|
|
10768
10768
|
return a.hidden ? "" : (a.block && a.nesting !== -1 && n && e[n - 1].hidden && (i += `
|
|
10769
10769
|
`), i += (a.nesting === -1 ? "</" : "<") + a.tag, i += this.renderAttrs(a), a.nesting === 0 && r.xhtmlOut && (i += " /"), a.block && (s = !0, a.nesting === 1 && n + 1 < e.length && (o = e[n + 1], (o.type === "inline" || o.hidden || o.nesting === -1 && o.tag === a.tag) && (s = !1))), i += s ? `>
|
|
10770
10770
|
` : ">", i);
|
|
10771
10771
|
};
|
|
10772
|
-
|
|
10772
|
+
xi.prototype.renderInline = function(t, e, n) {
|
|
10773
10773
|
for (var r, o = "", i = this.rules, s = 0, a = t.length; s < a; s++)
|
|
10774
10774
|
r = t[s].type, typeof i[r] < "u" ? o += i[r](t, s, e, n, this) : o += this.renderToken(t, s, e);
|
|
10775
10775
|
return o;
|
|
10776
10776
|
};
|
|
10777
|
-
|
|
10777
|
+
xi.prototype.renderInlineAsText = function(t, e, n) {
|
|
10778
10778
|
for (var r = "", o = 0, i = t.length; o < i; o++)
|
|
10779
10779
|
t[o].type === "text" ? r += t[o].content : t[o].type === "image" ? r += this.renderInlineAsText(t[o].children, e, n) : t[o].type === "softbreak" && (r += `
|
|
10780
10780
|
`);
|
|
10781
10781
|
return r;
|
|
10782
10782
|
};
|
|
10783
|
-
|
|
10783
|
+
xi.prototype.render = function(t, e, n) {
|
|
10784
10784
|
var r, o, i, s = "", a = this.rules;
|
|
10785
10785
|
for (r = 0, o = t.length; r < o; r++)
|
|
10786
10786
|
i = t[r].type, i === "inline" ? s += this.renderInline(t[r].children, e, n) : typeof a[i] < "u" ? s += a[i](t, r, e, n, this) : s += this.renderToken(t, r, e, n);
|
|
10787
10787
|
return s;
|
|
10788
10788
|
};
|
|
10789
|
-
var Aie =
|
|
10789
|
+
var Aie = xi;
|
|
10790
10790
|
function Un() {
|
|
10791
10791
|
this.__rules__ = [], this.__cache__ = null;
|
|
10792
10792
|
}
|
|
@@ -11008,10 +11008,10 @@ var jie = function(e) {
|
|
|
11008
11008
|
i !== a && (o.length = a);
|
|
11009
11009
|
}
|
|
11010
11010
|
};
|
|
11011
|
-
function
|
|
11011
|
+
function Si(t, e, n) {
|
|
11012
11012
|
this.type = t, this.tag = e, this.attrs = null, this.map = null, this.nesting = n, this.level = 0, this.children = null, this.content = "", this.markup = "", this.info = "", this.meta = null, this.block = !1, this.hidden = !1;
|
|
11013
11013
|
}
|
|
11014
|
-
|
|
11014
|
+
Si.prototype.attrIndex = function(e) {
|
|
11015
11015
|
var n, r, o;
|
|
11016
11016
|
if (!this.attrs)
|
|
11017
11017
|
return -1;
|
|
@@ -11020,22 +11020,22 @@ Ai.prototype.attrIndex = function(e) {
|
|
|
11020
11020
|
return r;
|
|
11021
11021
|
return -1;
|
|
11022
11022
|
};
|
|
11023
|
-
|
|
11023
|
+
Si.prototype.attrPush = function(e) {
|
|
11024
11024
|
this.attrs ? this.attrs.push(e) : this.attrs = [e];
|
|
11025
11025
|
};
|
|
11026
|
-
|
|
11026
|
+
Si.prototype.attrSet = function(e, n) {
|
|
11027
11027
|
var r = this.attrIndex(e), o = [e, n];
|
|
11028
11028
|
r < 0 ? this.attrPush(o) : this.attrs[r] = o;
|
|
11029
11029
|
};
|
|
11030
|
-
|
|
11030
|
+
Si.prototype.attrGet = function(e) {
|
|
11031
11031
|
var n = this.attrIndex(e), r = null;
|
|
11032
11032
|
return n >= 0 && (r = this.attrs[n][1]), r;
|
|
11033
11033
|
};
|
|
11034
|
-
|
|
11034
|
+
Si.prototype.attrJoin = function(e, n) {
|
|
11035
11035
|
var r = this.attrIndex(e);
|
|
11036
11036
|
r < 0 ? this.attrPush([e, n]) : this.attrs[r][1] = this.attrs[r][1] + " " + n;
|
|
11037
11037
|
};
|
|
11038
|
-
var Xu =
|
|
11038
|
+
var Xu = Si, Zie = Xu;
|
|
11039
11039
|
function Uh(t, e, n) {
|
|
11040
11040
|
this.src = t, this.env = n, this.tokens = [], this.inlineMode = !1, this.md = e;
|
|
11041
11041
|
}
|
|
@@ -12422,7 +12422,7 @@ var Dae = {
|
|
|
12422
12422
|
]
|
|
12423
12423
|
}
|
|
12424
12424
|
}
|
|
12425
|
-
},
|
|
12425
|
+
}, as = je, Lae = xl, Nae = Aie, Iae = Yie, Pae = $se, Fae = iae, Rae = _ae, uo = ki, em = $ae, Bae = {
|
|
12426
12426
|
default: Dae,
|
|
12427
12427
|
zero: Mae,
|
|
12428
12428
|
commonmark: Oae
|
|
@@ -12453,14 +12453,14 @@ function Vae(t) {
|
|
|
12453
12453
|
function Tn(t, e) {
|
|
12454
12454
|
if (!(this instanceof Tn))
|
|
12455
12455
|
return new Tn(t, e);
|
|
12456
|
-
e ||
|
|
12456
|
+
e || as.isString(t) || (e = t || {}, t = "default"), this.inline = new Fae(), this.block = new Pae(), this.core = new Iae(), this.renderer = new Nae(), this.linkify = new Rae(), this.validateLink = qae, this.normalizeLink = zae, this.normalizeLinkText = Vae, this.utils = as, this.helpers = as.assign({}, Lae), this.options = {}, this.configure(t), e && this.set(e);
|
|
12457
12457
|
}
|
|
12458
12458
|
Tn.prototype.set = function(t) {
|
|
12459
|
-
return
|
|
12459
|
+
return as.assign(this.options, t), this;
|
|
12460
12460
|
};
|
|
12461
12461
|
Tn.prototype.configure = function(t) {
|
|
12462
12462
|
var e = this, n;
|
|
12463
|
-
if (
|
|
12463
|
+
if (as.isString(t) && (n = t, t = Bae[n], !t))
|
|
12464
12464
|
throw new Error('Wrong `markdown-it` preset "' + n + '", check name');
|
|
12465
12465
|
if (!t)
|
|
12466
12466
|
throw new Error("Wrong `markdown-it` preset, can't be empty");
|
|
@@ -12580,7 +12580,7 @@ Qc || (Qc = function(e) {
|
|
|
12580
12580
|
r[o - 1] = arguments[o];
|
|
12581
12581
|
return new e(...r);
|
|
12582
12582
|
});
|
|
12583
|
-
const Vo = mt(Array.prototype.forEach), nle = mt(Array.prototype.lastIndexOf), lf = mt(Array.prototype.pop), jo = mt(Array.prototype.push), rle = mt(Array.prototype.splice), Nr = Array.isArray,
|
|
12583
|
+
const Vo = mt(Array.prototype.forEach), nle = mt(Array.prototype.lastIndexOf), lf = mt(Array.prototype.pop), jo = mt(Array.prototype.push), rle = mt(Array.prototype.splice), Nr = Array.isArray, ts = mt(String.prototype.toLowerCase), Cc = mt(String.prototype.toString), cf = mt(String.prototype.match), Ki = mt(String.prototype.replace), uf = mt(String.prototype.indexOf), ole = mt(String.prototype.trim), ile = mt(Number.prototype.toString), sle = mt(Boolean.prototype.toString), df = typeof BigInt > "u" ? null : mt(BigInt.prototype.toString), ff = typeof Symbol > "u" ? null : mt(Symbol.prototype.toString), kt = mt(Object.prototype.hasOwnProperty), Gi = mt(Object.prototype.toString), wt = mt(RegExp.prototype.test), ro = ale(TypeError);
|
|
12584
12584
|
function mt(t) {
|
|
12585
12585
|
return function(e) {
|
|
12586
12586
|
e instanceof RegExp && (e.lastIndex = 0);
|
|
@@ -12597,7 +12597,7 @@ function ale(t) {
|
|
|
12597
12597
|
};
|
|
12598
12598
|
}
|
|
12599
12599
|
function Ue(t, e) {
|
|
12600
|
-
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] :
|
|
12600
|
+
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ts;
|
|
12601
12601
|
if (af && af(t, null), !Nr(e))
|
|
12602
12602
|
return t;
|
|
12603
12603
|
let r = e.length;
|
|
@@ -12638,20 +12638,20 @@ function cle(t) {
|
|
|
12638
12638
|
case "symbol":
|
|
12639
12639
|
return ff ? ff(t) : "Symbol()";
|
|
12640
12640
|
case "undefined":
|
|
12641
|
-
return
|
|
12641
|
+
return Gi(t);
|
|
12642
12642
|
case "function":
|
|
12643
12643
|
case "object": {
|
|
12644
12644
|
if (t === null)
|
|
12645
|
-
return
|
|
12645
|
+
return Gi(t);
|
|
12646
12646
|
const e = t, n = On(e, "toString");
|
|
12647
12647
|
if (typeof n == "function") {
|
|
12648
12648
|
const r = n(e);
|
|
12649
|
-
return typeof r == "string" ? r :
|
|
12649
|
+
return typeof r == "string" ? r : Gi(r);
|
|
12650
12650
|
}
|
|
12651
|
-
return
|
|
12651
|
+
return Gi(t);
|
|
12652
12652
|
}
|
|
12653
12653
|
default:
|
|
12654
|
-
return
|
|
12654
|
+
return Gi(t);
|
|
12655
12655
|
}
|
|
12656
12656
|
}
|
|
12657
12657
|
function On(t, e) {
|
|
@@ -12853,44 +12853,44 @@ function om() {
|
|
|
12853
12853
|
"xmp"
|
|
12854
12854
|
]);
|
|
12855
12855
|
let Ys = null;
|
|
12856
|
-
const
|
|
12856
|
+
const Oi = Ue({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
12857
12857
|
let rn = null;
|
|
12858
12858
|
const Bo = Ue({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Ar = "http://www.w3.org/1998/Math/MathML", Uo = "http://www.w3.org/2000/svg", on = "http://www.w3.org/1999/xhtml";
|
|
12859
|
-
let Tr = on, Qr = !1,
|
|
12859
|
+
let Tr = on, Qr = !1, Li = null;
|
|
12860
12860
|
const Jl = Ue({}, [Ar, Uo, on], Cc), Js = Ot(["mi", "mo", "mn", "ms", "mtext"]);
|
|
12861
12861
|
let sn = Ue({}, Js);
|
|
12862
12862
|
const Xs = Ot(["annotation-xml"]);
|
|
12863
|
-
let
|
|
12863
|
+
let Ni = Ue({}, Xs);
|
|
12864
12864
|
const Xl = Ue({}, ["title", "style", "font", "a", "script"]);
|
|
12865
12865
|
let eo = null;
|
|
12866
|
-
const
|
|
12866
|
+
const Ii = ["application/xhtml+xml", "text/html"], Pi = "text/html";
|
|
12867
12867
|
let Ye = null, Dn = null;
|
|
12868
|
-
const
|
|
12868
|
+
const Fi = n.createElement("form"), Qs = function($) {
|
|
12869
12869
|
return $ instanceof RegExp || $ instanceof Function;
|
|
12870
12870
|
}, Er = function() {
|
|
12871
12871
|
let $ = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
12872
12872
|
if (Dn && Dn === $)
|
|
12873
12873
|
return;
|
|
12874
12874
|
(!$ || typeof $ != "object") && ($ = {}), $ = Rt($), eo = // eslint-disable-next-line unicorn/prefer-includes
|
|
12875
|
-
|
|
12875
|
+
Ii.indexOf($.PARSER_MEDIA_TYPE) === -1 ? Pi : $.PARSER_MEDIA_TYPE, Ye = eo === "application/xhtml+xml" ? Cc : ts, z = Dr($, "ALLOWED_TAGS", be, {
|
|
12876
12876
|
transform: Ye
|
|
12877
12877
|
}), De = Dr($, "ALLOWED_ATTR", Ee, {
|
|
12878
12878
|
transform: Ye
|
|
12879
|
-
}),
|
|
12879
|
+
}), Li = Dr($, "ALLOWED_NAMESPACES", Jl, {
|
|
12880
12880
|
transform: Cc
|
|
12881
12881
|
}), rn = Dr($, "ADD_URI_SAFE_ATTR", Bo, {
|
|
12882
12882
|
transform: Ye,
|
|
12883
12883
|
base: Bo
|
|
12884
|
-
}), Ys = Dr($, "ADD_DATA_URI_TAGS",
|
|
12884
|
+
}), Ys = Dr($, "ADD_DATA_URI_TAGS", Oi, {
|
|
12885
12885
|
transform: Ye,
|
|
12886
|
-
base:
|
|
12886
|
+
base: Oi
|
|
12887
12887
|
}), nn = Dr($, "FORBID_CONTENTS", Ro, {
|
|
12888
12888
|
transform: Ye
|
|
12889
12889
|
}), tt = Dr($, "FORBID_TAGS", Rt({}), {
|
|
12890
12890
|
transform: Ye
|
|
12891
12891
|
}), We = Dr($, "FORBID_ATTR", Rt({}), {
|
|
12892
12892
|
transform: Ye
|
|
12893
|
-
}), Ht = kt($, "USE_PROFILES") ? $.USE_PROFILES && typeof $.USE_PROFILES == "object" ? Rt($.USE_PROFILES) : $.USE_PROFILES : !1, Xe = $.ALLOW_ARIA_ATTR !== !1, Qe = $.ALLOW_DATA_ATTR !== !1, $t = $.ALLOW_UNKNOWN_PROTOCOLS || !1, ir = $.ALLOW_SELF_CLOSE_IN_ATTR !== !1, st = $.SAFE_FOR_TEMPLATES || !1, Ft = $.SAFE_FOR_XML !== !1, Ct = $.WHOLE_DOCUMENT || !1, B = $.RETURN_DOM || !1, te = $.RETURN_DOM_FRAGMENT || !1, Se = $.RETURN_TRUSTED_TYPE || !1, sr = $.FORCE_BODY || !1, nt = $.SANITIZE_DOM !== !1, pt = $.SANITIZE_NAMED_PROPS || !1, Re = $.KEEP_CONTENT !== !1, tn = $.IN_PLACE || !1, Et = ule($.ALLOWED_URI_REGEXP) ? $.ALLOWED_URI_REGEXP : vf, Tr = typeof $.NAMESPACE == "string" ? $.NAMESPACE : on, sn = kt($, "MATHML_TEXT_INTEGRATION_POINTS") && $.MATHML_TEXT_INTEGRATION_POINTS && typeof $.MATHML_TEXT_INTEGRATION_POINTS == "object" ? Rt($.MATHML_TEXT_INTEGRATION_POINTS) : Ue({}, Js),
|
|
12893
|
+
}), Ht = kt($, "USE_PROFILES") ? $.USE_PROFILES && typeof $.USE_PROFILES == "object" ? Rt($.USE_PROFILES) : $.USE_PROFILES : !1, Xe = $.ALLOW_ARIA_ATTR !== !1, Qe = $.ALLOW_DATA_ATTR !== !1, $t = $.ALLOW_UNKNOWN_PROTOCOLS || !1, ir = $.ALLOW_SELF_CLOSE_IN_ATTR !== !1, st = $.SAFE_FOR_TEMPLATES || !1, Ft = $.SAFE_FOR_XML !== !1, Ct = $.WHOLE_DOCUMENT || !1, B = $.RETURN_DOM || !1, te = $.RETURN_DOM_FRAGMENT || !1, Se = $.RETURN_TRUSTED_TYPE || !1, sr = $.FORCE_BODY || !1, nt = $.SANITIZE_DOM !== !1, pt = $.SANITIZE_NAMED_PROPS || !1, Re = $.KEEP_CONTENT !== !1, tn = $.IN_PLACE || !1, Et = ule($.ALLOWED_URI_REGEXP) ? $.ALLOWED_URI_REGEXP : vf, Tr = typeof $.NAMESPACE == "string" ? $.NAMESPACE : on, sn = kt($, "MATHML_TEXT_INTEGRATION_POINTS") && $.MATHML_TEXT_INTEGRATION_POINTS && typeof $.MATHML_TEXT_INTEGRATION_POINTS == "object" ? Rt($.MATHML_TEXT_INTEGRATION_POINTS) : Ue({}, Js), Ni = kt($, "HTML_INTEGRATION_POINTS") && $.HTML_INTEGRATION_POINTS && typeof $.HTML_INTEGRATION_POINTS == "object" ? Rt($.HTML_INTEGRATION_POINTS) : Ue({}, Xs);
|
|
12894
12894
|
const H = kt($, "CUSTOM_ELEMENT_HANDLING") && $.CUSTOM_ELEMENT_HANDLING && typeof $.CUSTOM_ELEMENT_HANDLING == "object" ? Rt($.CUSTOM_ELEMENT_HANDLING) : Go(null);
|
|
12895
12895
|
if (Fe = Go(null), kt(H, "tagNameCheck") && Qs(H.tagNameCheck) && (Fe.tagNameCheck = H.tagNameCheck), kt(H, "attributeNameCheck") && Qs(H.attributeNameCheck) && (Fe.attributeNameCheck = H.attributeNameCheck), kt(H, "allowCustomizedBuiltInElements") && typeof H.allowCustomizedBuiltInElements == "boolean" && (Fe.allowCustomizedBuiltInElements = H.allowCustomizedBuiltInElements), Nt(Fe), st && (Qe = !1), te && (B = !0), Ht && (z = Ue({}, hf), De = Go(null), Ht.html === !0 && (Ue(z, pf), Ue(De, mf)), Ht.svg === !0 && (Ue(z, wc), Ue(De, Sc), Ue(De, fa)), Ht.svgFilters === !0 && (Ue(z, kc), Ue(De, Sc), Ue(De, fa)), Ht.mathMl === !0 && (Ue(z, xc), Ue(De, gf), Ue(De, fa))), qe.tagCheck = null, qe.attributeCheck = null, kt($, "ADD_TAGS") && (typeof $.ADD_TAGS == "function" ? qe.tagCheck = $.ADD_TAGS : Nr($.ADD_TAGS) && (z === be && (z = Rt(z)), Ue(z, $.ADD_TAGS, Ye))), kt($, "ADD_ATTR") && (typeof $.ADD_ATTR == "function" ? qe.attributeCheck = $.ADD_ATTR : Nr($.ADD_ATTR) && (De === Ee && (De = Rt(De)), Ue(De, $.ADD_ATTR, Ye))), kt($, "ADD_URI_SAFE_ATTR") && Nr($.ADD_URI_SAFE_ATTR) && Ue(rn, $.ADD_URI_SAFE_ATTR, Ye), kt($, "FORBID_CONTENTS") && Nr($.FORBID_CONTENTS) && (nn === Ro && (nn = Rt(nn)), Ue(nn, $.FORBID_CONTENTS, Ye)), kt($, "ADD_FORBID_CONTENTS") && Nr($.ADD_FORBID_CONTENTS) && (nn === Ro && (nn = Rt(nn)), Ue(nn, $.ADD_FORBID_CONTENTS, Ye)), Re && (z["#text"] = !0), Ct && Ue(z, ["html", "head", "body"]), z.table && (Ue(z, ["tbody"]), delete tt.tbody), $.TRUSTED_TYPES_POLICY) {
|
|
12896
12896
|
if (typeof $.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
@@ -12907,20 +12907,20 @@ function om() {
|
|
|
12907
12907
|
} else
|
|
12908
12908
|
$.TRUSTED_TYPES_POLICY === null ? (S = void 0, D = "") : (S === void 0 && (S = U()), S && typeof D == "string" && (D = N("")));
|
|
12909
12909
|
Ot && Ot($), Dn = $;
|
|
12910
|
-
},
|
|
12911
|
-
return H.namespaceURI === on ? $ === "svg" : H.namespaceURI === Ar ? $ === "svg" && (Q === "annotation-xml" || sn[Q]) : !!
|
|
12910
|
+
}, Ri = Ue({}, [...wc, ...kc, ...dle]), R = Ue({}, [...xc, ...fle]), oe = function($, H, Q) {
|
|
12911
|
+
return H.namespaceURI === on ? $ === "svg" : H.namespaceURI === Ar ? $ === "svg" && (Q === "annotation-xml" || sn[Q]) : !!Ri[$];
|
|
12912
12912
|
}, Ne = function($, H, Q) {
|
|
12913
|
-
return H.namespaceURI === on ? $ === "math" : H.namespaceURI === Uo ? $ === "math" &&
|
|
12913
|
+
return H.namespaceURI === on ? $ === "math" : H.namespaceURI === Uo ? $ === "math" && Ni[Q] : !!R[$];
|
|
12914
12914
|
}, at = function($, H, Q) {
|
|
12915
|
-
return H.namespaceURI === Uo && !
|
|
12915
|
+
return H.namespaceURI === Uo && !Ni[Q] || H.namespaceURI === Ar && !sn[Q] ? !1 : !R[$] && (Xl[$] || !Ri[$]);
|
|
12916
12916
|
}, lr = function($) {
|
|
12917
12917
|
let H = y($);
|
|
12918
12918
|
(!H || !H.tagName) && (H = {
|
|
12919
12919
|
namespaceURI: Tr,
|
|
12920
12920
|
tagName: "template"
|
|
12921
12921
|
});
|
|
12922
|
-
const Q =
|
|
12923
|
-
return
|
|
12922
|
+
const Q = ts($.tagName), Ce = ts(H.tagName);
|
|
12923
|
+
return Li[$.namespaceURI] ? $.namespaceURI === Uo ? oe(Q, H, Ce) : $.namespaceURI === Ar ? Ne(Q, H, Ce) : $.namespaceURI === on ? at(Q, H, Ce) : !!(eo === "application/xhtml+xml" && Li[$.namespaceURI]) : !1;
|
|
12924
12924
|
}, Mn = function($) {
|
|
12925
12925
|
jo(e.removed, {
|
|
12926
12926
|
element: $
|
|
@@ -12931,8 +12931,8 @@ function om() {
|
|
|
12931
12931
|
if (h($), !y($))
|
|
12932
12932
|
throw ro("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place");
|
|
12933
12933
|
}
|
|
12934
|
-
},
|
|
12935
|
-
|
|
12934
|
+
}, Bi = function($) {
|
|
12935
|
+
Ui($);
|
|
12936
12936
|
const H = _($);
|
|
12937
12937
|
if (H) {
|
|
12938
12938
|
const Ce = [];
|
|
@@ -12989,7 +12989,7 @@ function om() {
|
|
|
12989
12989
|
} catch {
|
|
12990
12990
|
}
|
|
12991
12991
|
}
|
|
12992
|
-
},
|
|
12992
|
+
}, Ui = function($) {
|
|
12993
12993
|
const H = [$];
|
|
12994
12994
|
for (; H.length > 0; ) {
|
|
12995
12995
|
const Q = H.pop();
|
|
@@ -13058,7 +13058,7 @@ function om() {
|
|
|
13058
13058
|
null
|
|
13059
13059
|
);
|
|
13060
13060
|
}, ta = function($) {
|
|
13061
|
-
return $ =
|
|
13061
|
+
return $ = Ki($, ye, " "), $ = Ki($, me, " "), $ = Ki($, ge, " "), $;
|
|
13062
13062
|
}, Ql = function($) {
|
|
13063
13063
|
var H;
|
|
13064
13064
|
$.normalize();
|
|
@@ -13110,7 +13110,7 @@ function om() {
|
|
|
13110
13110
|
} catch {
|
|
13111
13111
|
return !1;
|
|
13112
13112
|
}
|
|
13113
|
-
},
|
|
13113
|
+
}, Hi = function($) {
|
|
13114
13114
|
if (!w || typeof $ != "object" || $ === null)
|
|
13115
13115
|
return !1;
|
|
13116
13116
|
try {
|
|
@@ -13125,7 +13125,7 @@ function om() {
|
|
|
13125
13125
|
});
|
|
13126
13126
|
}
|
|
13127
13127
|
const x0 = function($, H) {
|
|
13128
|
-
return !!(Ft && $.hasChildNodes() && !
|
|
13128
|
+
return !!(Ft && $.hasChildNodes() && !Hi($.firstElementChild) && wt(_f, $.textContent) && wt(_f, $.innerHTML) || Ft && $.namespaceURI === on && H === "style" && Hi($.firstElementChild) || $.nodeType === an.processingInstruction || Ft && $.nodeType === an.comment && wt(yf, $.data));
|
|
13129
13129
|
}, S0 = function($, H, Q) {
|
|
13130
13130
|
if (!tt[H] && e1(H) && (Fe.tagNameCheck instanceof RegExp && wt(Fe.tagNameCheck, H) || Fe.tagNameCheck instanceof Function && Fe.tagNameCheck(H)))
|
|
13131
13131
|
return !1;
|
|
@@ -13144,7 +13144,7 @@ function om() {
|
|
|
13144
13144
|
return $.length === 0 ? H : H === Q || H === Ce ? Rt(H) : H;
|
|
13145
13145
|
}, Xd = function($, H) {
|
|
13146
13146
|
if (Vn(W.beforeSanitizeElements, $, null), $ !== H && y($) === null)
|
|
13147
|
-
return tn &&
|
|
13147
|
+
return tn && Ui($), !0;
|
|
13148
13148
|
if (na($))
|
|
13149
13149
|
return Mn($), !0;
|
|
13150
13150
|
const Q = Ye(k ? k($) : $.nodeName);
|
|
@@ -13152,7 +13152,7 @@ function om() {
|
|
|
13152
13152
|
tagName: Q,
|
|
13153
13153
|
allowedTags: z
|
|
13154
13154
|
}), $ !== H && y($) === null)
|
|
13155
|
-
return tn &&
|
|
13155
|
+
return tn && Ui($), !0;
|
|
13156
13156
|
if (x0($, Q))
|
|
13157
13157
|
return Mn($), !0;
|
|
13158
13158
|
if (tt[Q] || !(qe.tagCheck instanceof Function && qe.tagCheck(Q)) && !z[Q]) {
|
|
@@ -13169,16 +13169,16 @@ function om() {
|
|
|
13169
13169
|
}
|
|
13170
13170
|
return Vn(W.afterSanitizeElements, $, null), !1;
|
|
13171
13171
|
}, Qd = function($, H, Q) {
|
|
13172
|
-
if (We[H] || Ft && H === "patchsrc" || Ft && H === "for" && $ !== "label" && $ !== "output" || nt && (H === "id" || H === "name") && (Q in n || Q in
|
|
13172
|
+
if (We[H] || Ft && H === "patchsrc" || Ft && H === "for" && $ !== "label" && $ !== "output" || nt && (H === "id" || H === "name") && (Q in n || Q in Fi))
|
|
13173
13173
|
return !1;
|
|
13174
13174
|
const Ce = De[H] || qe.attributeCheck instanceof Function && qe.attributeCheck(H, $);
|
|
13175
13175
|
if (!(Qe && wt(Z, H))) {
|
|
13176
13176
|
if (!(Xe && wt(pe, H))) {
|
|
13177
13177
|
if (Ce) {
|
|
13178
13178
|
if (!rn[H]) {
|
|
13179
|
-
if (!wt(Et,
|
|
13179
|
+
if (!wt(Et, Ki(Q, Ge, ""))) {
|
|
13180
13180
|
if (!((H === "src" || H === "xlink:href" || H === "href") && $ !== "script" && uf(Q, "data:") === 0 && Ys[$])) {
|
|
13181
|
-
if (!($t && !wt(Le,
|
|
13181
|
+
if (!($t && !wt(Le, Ki(Q, Ge, "")))) {
|
|
13182
13182
|
if (Q)
|
|
13183
13183
|
return !1;
|
|
13184
13184
|
}
|
|
@@ -13198,7 +13198,7 @@ function om() {
|
|
|
13198
13198
|
}
|
|
13199
13199
|
return !0;
|
|
13200
13200
|
}, A0 = Ue({}, ["annotation-xml", "color-profile", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "missing-glyph"]), e1 = function($) {
|
|
13201
|
-
return !A0[
|
|
13201
|
+
return !A0[ts($)] && wt(bt, $);
|
|
13202
13202
|
}, T0 = function($, H, Q, Ce) {
|
|
13203
13203
|
if (S && typeof d == "object" && typeof d.getAttributeType == "function" && !Q)
|
|
13204
13204
|
switch (d.getAttributeType($, H)) {
|
|
@@ -13308,28 +13308,28 @@ function om() {
|
|
|
13308
13308
|
};
|
|
13309
13309
|
return e.sanitize = function(se) {
|
|
13310
13310
|
let $ = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, H = null, Q = null, Ce = null, ke = null;
|
|
13311
|
-
if (Qr = !se, Qr && (se = "<!-->"), typeof se != "string" && !
|
|
13311
|
+
if (Qr = !se, Qr && (se = "<!-->"), typeof se != "string" && !Hi(se) && (se = cle(se), typeof se != "string"))
|
|
13312
13312
|
throw ro("dirty is not a string, aborting");
|
|
13313
13313
|
if (!e.isSupported)
|
|
13314
13314
|
return se;
|
|
13315
13315
|
en ? (z = _n, De = zn) : Er($), (W.uponSanitizeElement.length > 0 || W.uponSanitizeAttribute.length > 0) && (z = Rt(z)), W.uponSanitizeAttribute.length > 0 && (De = Rt(De)), e.removed = [];
|
|
13316
|
-
const Oe = tn && typeof se != "string" &&
|
|
13316
|
+
const Oe = tn && typeof se != "string" && Hi(se);
|
|
13317
13317
|
if (Oe) {
|
|
13318
13318
|
k0(se);
|
|
13319
13319
|
const Kt = k ? k(se) : se.nodeName;
|
|
13320
13320
|
if (typeof Kt == "string") {
|
|
13321
13321
|
const Gt = Ye(Kt);
|
|
13322
13322
|
if (!z[Gt] || tt[Gt])
|
|
13323
|
-
throw
|
|
13323
|
+
throw Bi(se), ro("root node is forbidden and cannot be sanitized in-place");
|
|
13324
13324
|
}
|
|
13325
13325
|
if (na(se))
|
|
13326
|
-
throw
|
|
13326
|
+
throw Bi(se), ro("root node is clobbered and cannot be sanitized in-place");
|
|
13327
13327
|
try {
|
|
13328
13328
|
ec(se);
|
|
13329
13329
|
} catch (Gt) {
|
|
13330
|
-
throw
|
|
13330
|
+
throw Bi(se), Gt;
|
|
13331
13331
|
}
|
|
13332
|
-
} else if (
|
|
13332
|
+
} else if (Hi(se))
|
|
13333
13333
|
H = Gd("<!---->"), Q = H.ownerDocument.importNode(se, !0), Q.nodeType === an.element && Q.nodeName === "BODY" || Q.nodeName === "HTML" ? H = Q : H.appendChild(Q), ec(Q);
|
|
13334
13334
|
else {
|
|
13335
13335
|
if (!B && !st && !Ct && // eslint-disable-next-line unicorn/prefer-includes
|
|
@@ -13345,13 +13345,13 @@ function om() {
|
|
|
13345
13345
|
for (; Ce = Kt.nextNode(); )
|
|
13346
13346
|
Xd(Ce, Je), t1(Ce), Ho(Ce.content) && ra(Ce.content);
|
|
13347
13347
|
} catch (Kt) {
|
|
13348
|
-
throw Oe && (
|
|
13349
|
-
Gt.element &&
|
|
13348
|
+
throw Oe && (Bi(se), Vo(e.removed, (Gt) => {
|
|
13349
|
+
Gt.element && Ui(Gt.element);
|
|
13350
13350
|
})), Kt;
|
|
13351
13351
|
}
|
|
13352
13352
|
if (Oe)
|
|
13353
13353
|
return Vo(e.removed, (Kt) => {
|
|
13354
|
-
Kt.element &&
|
|
13354
|
+
Kt.element && Ui(Kt.element);
|
|
13355
13355
|
}), st && Ql(se), se;
|
|
13356
13356
|
if (B) {
|
|
13357
13357
|
if (st && Ql(H), te)
|
|
@@ -13445,7 +13445,7 @@ function sm(t, ...e) {
|
|
|
13445
13445
|
r.append("v", o);
|
|
13446
13446
|
n.search = r.toString(), console.warn(`Minified Lexical warning #${t}; visit ${n.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`);
|
|
13447
13447
|
}
|
|
13448
|
-
const Hn = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, $le = Hn && "documentMode" in document ? document.documentMode : null, Ln = Hn && /Mac|iPod|iPhone|iPad/.test(navigator.platform), ko = Hn && /^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent), Ua = !(!Hn || !("InputEvent" in window) || $le) && "getTargetRanges" in new window.InputEvent("input"), bs = Hn && /Version\/[\d.]+.*Safari/.test(navigator.userAgent),
|
|
13448
|
+
const Hn = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, $le = Hn && "documentMode" in document ? document.documentMode : null, Ln = Hn && /Mac|iPod|iPhone|iPad/.test(navigator.platform), ko = Hn && /^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent), Ua = !(!Hn || !("InputEvent" in window) || $le) && "getTargetRanges" in new window.InputEvent("input"), bs = Hn && /Version\/[\d.]+.*Safari/.test(navigator.userAgent), vi = Hn && /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream, Dle = Hn && /Android/.test(navigator.userAgent), am = Hn && /^(?=.*Chrome).*/i.test(navigator.userAgent), Cf = Hn && Dle && am, Cs = Hn && /AppleWebKit\/[\d.]+/.test(navigator.userAgent) && Ln && !am;
|
|
13449
13449
|
function lm(...t) {
|
|
13450
13450
|
const e = [];
|
|
13451
13451
|
for (const n of t)
|
|
@@ -13454,7 +13454,7 @@ function lm(...t) {
|
|
|
13454
13454
|
e.push(r);
|
|
13455
13455
|
return e;
|
|
13456
13456
|
}
|
|
13457
|
-
const Mle = 0, Ole = 1, Lle = 2, cm = 128, Nle = 1, Ile = 2, Ple = 3, Fle = 4, Rle = 5, Ble = 6, Ml = bs ||
|
|
13457
|
+
const Mle = 0, Ole = 1, Lle = 2, cm = 128, Nle = 1, Ile = 2, Ple = 3, Fle = 4, Rle = 5, Ble = 6, Ml = bs || vi || Cs ? " " : "", Vr = `
|
|
13458
13458
|
|
|
13459
13459
|
`, Ule = ko ? " " : Ml, zt = { bold: 1, capitalize: 1024, code: 16, highlight: cm, italic: 2, lowercase: 256, strikethrough: 4, subscript: 32, superscript: 64, underline: 8, uppercase: 512 }, Hle = { directionless: 1, unmergeable: 2 }, wf = { center: 2, end: 6, justify: 4, left: 1, right: 3, start: 5 }, qle = { [Ile]: "center", [Ble]: "end", [Fle]: "justify", [Nle]: "left", [Ple]: "right", [Rle]: "start" }, zle = { normal: 0, segmented: 2, token: 1 }, Vle = { [Mle]: "normal", [Lle]: "segmented", [Ole]: "token" }, kf = "$config";
|
|
13460
13460
|
function um(t, e, n, r, o, i) {
|
|
@@ -13896,7 +13896,7 @@ function tce(t, e, n) {
|
|
|
13896
13896
|
if (l === 1 && c === 1) {
|
|
13897
13897
|
const d = o.__first, f = i.__first;
|
|
13898
13898
|
if (d === f)
|
|
13899
|
-
|
|
13899
|
+
ns(d, u);
|
|
13900
13900
|
else {
|
|
13901
13901
|
const h = au(d), m = Va(f, null);
|
|
13902
13902
|
try {
|
|
@@ -13928,14 +13928,14 @@ function tce(t, e, n) {
|
|
|
13928
13928
|
for (; D <= g && E <= w; ) {
|
|
13929
13929
|
const A = h[D], N = m[E];
|
|
13930
13930
|
if (A === N)
|
|
13931
|
-
S = Ec(
|
|
13931
|
+
S = Ec(ns(N, v.element)), D++, E++;
|
|
13932
13932
|
else {
|
|
13933
13933
|
k === void 0 && (k = new Set(h)), b === void 0 && (b = new Set(m));
|
|
13934
13934
|
const U = b.has(A), q = k.has(N);
|
|
13935
13935
|
if (U)
|
|
13936
13936
|
if (q) {
|
|
13937
13937
|
const X = To(Bt, N);
|
|
13938
|
-
X === S ? S = Ec(
|
|
13938
|
+
X === S ? S = Ec(ns(N, v.element)) : (v.withBefore(S).insertChild(X), ns(N, v.element)), D++, E++;
|
|
13939
13939
|
} else
|
|
13940
13940
|
Va(N, v.withBefore(S)), E++;
|
|
13941
13941
|
else
|
|
@@ -13966,7 +13966,7 @@ function ja(t, e) {
|
|
|
13966
13966
|
}
|
|
13967
13967
|
return n;
|
|
13968
13968
|
}
|
|
13969
|
-
function
|
|
13969
|
+
function ns(t, e) {
|
|
13970
13970
|
const n = So.get(t);
|
|
13971
13971
|
let r = In.get(t);
|
|
13972
13972
|
n !== void 0 && r !== void 0 || ne(61);
|
|
@@ -14023,7 +14023,7 @@ function Ec(t) {
|
|
|
14023
14023
|
function nce(t, e, n, r, o, i) {
|
|
14024
14024
|
_t = "", hr = "", Yo = r === 2, Bt = n, xo = n._config, ws = n._nodes, Ol = Bt._listeners.mutation, tu = o, nu = i, So = t._nodeMap, In = e._nodeMap, qa = e._readOnly, ru = new Map(n._keyToDOMMap);
|
|
14025
14025
|
const s = /* @__PURE__ */ new Map();
|
|
14026
|
-
return ks = s,
|
|
14026
|
+
return ks = s, ns("root", null), Bt = void 0, ws = void 0, tu = void 0, nu = void 0, So = void 0, In = void 0, xo = void 0, ru = void 0, ks = void 0, s;
|
|
14027
14027
|
}
|
|
14028
14028
|
function au(t) {
|
|
14029
14029
|
const e = ru.get(t);
|
|
@@ -14033,7 +14033,7 @@ function Ae(t) {
|
|
|
14033
14033
|
return { type: t };
|
|
14034
14034
|
}
|
|
14035
14035
|
const wm = Ae("SELECTION_CHANGE_COMMAND"), rce = Ae("SELECTION_INSERT_CLIPBOARD_NODES_COMMAND"), km = Ae("CLICK_COMMAND"), go = Ae("DELETE_CHARACTER_COMMAND"), ri = Ae("INSERT_LINE_BREAK_COMMAND"), xs = Ae("INSERT_PARAGRAPH_COMMAND"), oi = Ae("CONTROLLED_TEXT_INSERTION_COMMAND"), ad = Ae("PASTE_COMMAND"), lu = Ae("REMOVE_TEXT_COMMAND"), Ss = Ae("DELETE_WORD_COMMAND"), As = Ae("DELETE_LINE_COMMAND"), wn = Ae("FORMAT_TEXT_COMMAND"), ld = Ae("UNDO_COMMAND"), cd = Ae("REDO_COMMAND"), oce = Ae("KEYDOWN_COMMAND"), xm = Ae("KEY_ARROW_RIGHT_COMMAND"), ice = Ae("MOVE_TO_END"), Sm = Ae("KEY_ARROW_LEFT_COMMAND"), sce = Ae("MOVE_TO_START"), Am = Ae("KEY_ARROW_UP_COMMAND"), Tm = Ae("KEY_ARROW_DOWN_COMMAND"), Wa = Ae("KEY_ENTER_COMMAND"), Em = Ae("KEY_SPACE_COMMAND"), $m = Ae("KEY_BACKSPACE_COMMAND"), Dm = Ae("KEY_ESCAPE_COMMAND"), Mm = Ae("KEY_DELETE_COMMAND"), Om = Ae("KEY_TAB_COMMAND"), ace = Ae("INSERT_TAB_COMMAND"), lce = Ae("INDENT_CONTENT_COMMAND"), Lf = Ae("OUTDENT_CONTENT_COMMAND"), Lm = Ae("DROP_COMMAND"), cce = Ae("FORMAT_ELEMENT_COMMAND"), Nm = Ae("DRAGSTART_COMMAND"), Im = Ae("DRAGOVER_COMMAND"), uce = Ae("DRAGEND_COMMAND"), Ll = Ae("COPY_COMMAND"), ud = Ae("CUT_COMMAND"), cu = Ae("SELECT_ALL_COMMAND"), dce = Ae("CLEAR_EDITOR_COMMAND"), fce = Ae("CLEAR_HISTORY_COMMAND"), pa = Ae("CAN_REDO_COMMAND"), ha = Ae("CAN_UNDO_COMMAND"), pce = Ae("FOCUS_COMMAND"), hce = Ae("BLUR_COMMAND"), mce = Ae("KEY_MODIFIER_COMMAND"), ur = Object.freeze({}), uu = [["keydown", function(t, e) {
|
|
14036
|
-
if (
|
|
14036
|
+
if (ls = t.timeStamp, Pm = t.key, !e.isComposing() && !he(e, oce, t) && t.key != null) {
|
|
14037
14037
|
if ($c && lp(t))
|
|
14038
14038
|
return cn(e, () => {
|
|
14039
14039
|
ma(e, Dc);
|
|
@@ -14065,7 +14065,7 @@ const wm = Ae("SELECTION_CHANGE_COMMAND"), rce = Ae("SELECTION_INSERT_CLIPBOARD_
|
|
|
14065
14065
|
else if (function(n) {
|
|
14066
14066
|
return Ze(n, "Enter", { altKey: "any", ctrlKey: "any", metaKey: "any", shiftKey: !0 });
|
|
14067
14067
|
}(t))
|
|
14068
|
-
|
|
14068
|
+
cs = !0, he(e, Wa, t);
|
|
14069
14069
|
else if (function(n) {
|
|
14070
14070
|
return n.key === " ";
|
|
14071
14071
|
}(t))
|
|
@@ -14073,11 +14073,11 @@ const wm = Ae("SELECTION_CHANGE_COMMAND"), rce = Ae("SELECTION_INSERT_CLIPBOARD_
|
|
|
14073
14073
|
else if (function(n) {
|
|
14074
14074
|
return Ln && Ze(n, "o", { ctrlKey: !0 });
|
|
14075
14075
|
}(t))
|
|
14076
|
-
t.preventDefault(),
|
|
14076
|
+
t.preventDefault(), cs = !0, he(e, ri, !0);
|
|
14077
14077
|
else if (function(n) {
|
|
14078
14078
|
return Ze(n, "Enter", { altKey: "any", ctrlKey: "any", metaKey: "any" });
|
|
14079
14079
|
}(t))
|
|
14080
|
-
|
|
14080
|
+
cs = !1, he(e, Wa, t);
|
|
14081
14081
|
else if (function(n) {
|
|
14082
14082
|
return Ze(n, "Backspace", { shiftKey: "any" }) || Ln && Ze(n, "h", { ctrlKey: !0 });
|
|
14083
14083
|
}(t))
|
|
@@ -14146,7 +14146,7 @@ const wm = Ae("SELECTION_CHANGE_COMMAND"), rce = Ae("SELECTION_INSERT_CLIPBOARD_
|
|
|
14146
14146
|
}
|
|
14147
14147
|
}], ["pointerdown", function(t, e) {
|
|
14148
14148
|
const n = t.target, r = t.pointerType;
|
|
14149
|
-
|
|
14149
|
+
Ei(n) && r !== "touch" && r !== "pen" && t.button === 0 && cn(e, () => {
|
|
14150
14150
|
op(n) || (pu = !0);
|
|
14151
14151
|
});
|
|
14152
14152
|
}], ["compositionstart", function(t, e) {
|
|
@@ -14154,11 +14154,11 @@ const wm = Ae("SELECTION_CHANGE_COMMAND"), rce = Ae("SELECTION_INSERT_CLIPBOARD_
|
|
|
14154
14154
|
const n = de();
|
|
14155
14155
|
if (ee(n) && !e.isComposing()) {
|
|
14156
14156
|
const r = n.anchor, o = n.anchor.getNode();
|
|
14157
|
-
Mt(r.key), (t.timeStamp <
|
|
14157
|
+
Mt(r.key), (t.timeStamp < ls + 30 || r.type === "element" || !n.isCollapsed() || o.getFormat() !== n.format || ae(o) && o.getStyle() !== n.style) && he(e, oi, Ule);
|
|
14158
14158
|
}
|
|
14159
14159
|
});
|
|
14160
14160
|
}], ["compositionend", function(t, e) {
|
|
14161
|
-
ko ?
|
|
14161
|
+
ko ? Yi = !0 : vi || !bs && !Cs ? cn(e, () => {
|
|
14162
14162
|
ma(e, t.data);
|
|
14163
14163
|
}) : ($c = !0, Dc = t.data);
|
|
14164
14164
|
}], ["input", function(t, e) {
|
|
@@ -14167,16 +14167,16 @@ const wm = Ae("SELECTION_CHANGE_COMMAND"), rce = Ae("SELECTION_INSERT_CLIPBOARD_
|
|
|
14167
14167
|
return;
|
|
14168
14168
|
const n = de(), r = t.data, o = Hm(t);
|
|
14169
14169
|
if (r != null && ee(n) && Bm(n, o, r, t.timeStamp, !1)) {
|
|
14170
|
-
|
|
14170
|
+
Yi && (ma(e, r), Yi = !1);
|
|
14171
14171
|
const i = n.anchor.getNode(), s = Rn(En(e));
|
|
14172
14172
|
if (s === null)
|
|
14173
14173
|
return;
|
|
14174
14174
|
const a = n.isBackward(), l = a ? n.anchor.offset : n.focus.offset, c = a ? n.focus.offset : n.anchor.offset;
|
|
14175
14175
|
Ua && !n.isCollapsed() && ae(i) && s.anchorNode !== null && i.getTextContent().slice(0, l) + r + i.getTextContent().slice(l + c) === mg(s.anchorNode) || he(e, oi, r);
|
|
14176
14176
|
const u = r.length;
|
|
14177
|
-
ko && u > 1 && t.inputType === "insertCompositionText" && !e.isComposing() && (n.anchor.offset -= u), bs ||
|
|
14177
|
+
ko && u > 1 && t.inputType === "insertCompositionText" && !e.isComposing() && (n.anchor.offset -= u), bs || vi || Cs || !e.isComposing() || (ls = 0, Mt(null));
|
|
14178
14178
|
} else
|
|
14179
|
-
Cd(!1, e, r !== null ? r : void 0),
|
|
14179
|
+
Cd(!1, e, r !== null ? r : void 0), Yi && (ma(e, r || void 0), Yi = !1);
|
|
14180
14180
|
(function() {
|
|
14181
14181
|
xt();
|
|
14182
14182
|
const i = ct();
|
|
@@ -14185,7 +14185,7 @@ const wm = Ae("SELECTION_CHANGE_COMMAND"), rce = Ae("SELECTION_INSERT_CLIPBOARD_
|
|
|
14185
14185
|
}, { event: t }), Jo = null;
|
|
14186
14186
|
}], ["click", function(t, e) {
|
|
14187
14187
|
cn(e, () => {
|
|
14188
|
-
const n = de(), r = Rn(En(e)), o =
|
|
14188
|
+
const n = de(), r = Rn(En(e)), o = Ti();
|
|
14189
14189
|
if (r) {
|
|
14190
14190
|
if (ee(n)) {
|
|
14191
14191
|
const i = n.anchor, s = i.getNode();
|
|
@@ -14209,15 +14209,15 @@ Ua && uu.push(["beforeinput", (t, e) => function(n, r) {
|
|
|
14209
14209
|
const s = de();
|
|
14210
14210
|
if (o === "deleteContentBackward") {
|
|
14211
14211
|
if (s === null) {
|
|
14212
|
-
const p =
|
|
14212
|
+
const p = Ti();
|
|
14213
14213
|
if (!ee(p))
|
|
14214
14214
|
return;
|
|
14215
14215
|
It(p.clone());
|
|
14216
14216
|
}
|
|
14217
14217
|
if (ee(s)) {
|
|
14218
14218
|
const p = s.anchor.key === s.focus.key;
|
|
14219
|
-
if (a = n.timeStamp, Pm === "MediaLast" && a <
|
|
14220
|
-
if (Mt(null),
|
|
14219
|
+
if (a = n.timeStamp, Pm === "MediaLast" && a < ls + 30 && r.isComposing() && p) {
|
|
14220
|
+
if (Mt(null), ls = 0, setTimeout(() => {
|
|
14221
14221
|
cn(r, () => {
|
|
14222
14222
|
Mt(null);
|
|
14223
14223
|
});
|
|
@@ -14258,7 +14258,7 @@ Ua && uu.push(["beforeinput", (t, e) => function(n, r) {
|
|
|
14258
14258
|
Mt(null), he(r, ri, !1);
|
|
14259
14259
|
break;
|
|
14260
14260
|
case "insertParagraph":
|
|
14261
|
-
Mt(null),
|
|
14261
|
+
Mt(null), cs && !vi ? (cs = !1, he(r, ri, !1)) : he(r, xs, void 0);
|
|
14262
14262
|
break;
|
|
14263
14263
|
case "insertFromPaste":
|
|
14264
14264
|
case "insertFromPasteAsQuotation":
|
|
@@ -14324,12 +14324,12 @@ Ua && uu.push(["beforeinput", (t, e) => function(n, r) {
|
|
|
14324
14324
|
}
|
|
14325
14325
|
});
|
|
14326
14326
|
}(t, e)]);
|
|
14327
|
-
let
|
|
14327
|
+
let ls = 0, Pm = null, Fm = 0, Jo = null;
|
|
14328
14328
|
const du = /* @__PURE__ */ new WeakMap(), Za = /* @__PURE__ */ new WeakMap();
|
|
14329
|
-
let fu = !1, pu = !1,
|
|
14329
|
+
let fu = !1, pu = !1, cs = !1, Yi = !1, $c = !1, Dc = "", co = null, Rm = [0, "", 0, "root", 0];
|
|
14330
14330
|
function Bm(t, e, n, r, o) {
|
|
14331
14331
|
const i = t.anchor, s = t.focus, a = i.getNode(), l = ct(), c = Rn(En(l)), u = c !== null ? c.anchorNode : null, d = i.key, f = l.getElementByKey(d), p = n.length;
|
|
14332
|
-
return d !== s.key || !ae(a) || (!o && (!Ua || Fm < r + 50) || a.isDirty() && p < 2 || pg(n)) && i.offset !== s.offset && !a.isComposing() || pr(a) || a.isDirty() && p > 1 || (o || !Ua) && f !== null && !a.isComposing() && u !==
|
|
14332
|
+
return d !== s.key || !ae(a) || (!o && (!Ua || Fm < r + 50) || a.isDirty() && p < 2 || pg(n)) && i.offset !== s.offset && !a.isComposing() || pr(a) || a.isDirty() && p > 1 || (o || !Ua) && f !== null && !a.isComposing() && u !== _i(f) || c !== null && e !== null && (!e.collapsed || e.startContainer !== c.anchorNode || e.startOffset !== c.anchorOffset) || a.getFormat() !== t.format || a.getStyle() !== t.style || function(h, m) {
|
|
14333
14333
|
if (m.isSegmented())
|
|
14334
14334
|
return !0;
|
|
14335
14335
|
if (!h.isCollapsed())
|
|
@@ -14403,7 +14403,7 @@ function ma(t, e) {
|
|
|
14403
14403
|
const n = t._compositionKey;
|
|
14404
14404
|
if (Mt(null), n !== null && e != null) {
|
|
14405
14405
|
if (e === "") {
|
|
14406
|
-
const r = yt(n), o =
|
|
14406
|
+
const r = yt(n), o = _i(t.getElementByKey(n));
|
|
14407
14407
|
return void (o !== null && o.nodeValue !== null && ae(r) && wd(r, o.nodeValue, null, null, !0));
|
|
14408
14408
|
}
|
|
14409
14409
|
if (e[e.length - 1] === `
|
|
@@ -14430,7 +14430,7 @@ function zm(t) {
|
|
|
14430
14430
|
if (n === null)
|
|
14431
14431
|
return;
|
|
14432
14432
|
pu && (pu = !1, cn(n, () => {
|
|
14433
|
-
const l =
|
|
14433
|
+
const l = Ti(), c = e.anchorNode;
|
|
14434
14434
|
(gt(c) || Sr(c)) && It(fd(l, e, n, t));
|
|
14435
14435
|
}));
|
|
14436
14436
|
const r = bd(n), o = r[r.length - 1], i = o._key, s = ii.get(i), a = s || o;
|
|
@@ -14827,7 +14827,7 @@ class Pn {
|
|
|
14827
14827
|
}
|
|
14828
14828
|
}
|
|
14829
14829
|
Y(Pn, "importDOM");
|
|
14830
|
-
const Ga = "historic", vce = "history-push",
|
|
14830
|
+
const Ga = "historic", vce = "history-push", us = "history-merge", _ce = "paste", jm = "collaboration", yce = "skip-scroll-into-view", bce = "skip-dom-selection", Cce = "skip-selection-focus";
|
|
14831
14831
|
class Hs extends Pn {
|
|
14832
14832
|
static getType() {
|
|
14833
14833
|
return "linebreak";
|
|
@@ -15244,7 +15244,7 @@ function Ace(t) {
|
|
|
15244
15244
|
const a = r[s];
|
|
15245
15245
|
a === `
|
|
15246
15246
|
` || a === `\r
|
|
15247
|
-
` ? o.push(Fn()) : a === " " ? o.push(
|
|
15247
|
+
` ? o.push(Fn()) : a === " " ? o.push(Ai()) : a !== "" && o.push(ft(a));
|
|
15248
15248
|
}
|
|
15249
15249
|
return { node: o };
|
|
15250
15250
|
}
|
|
@@ -15329,7 +15329,7 @@ class qs extends Yr {
|
|
|
15329
15329
|
return r !== void 0 && n.classList.add(...r), n;
|
|
15330
15330
|
}
|
|
15331
15331
|
static importJSON(e) {
|
|
15332
|
-
return
|
|
15332
|
+
return Ai().updateFromJSON(e);
|
|
15333
15333
|
}
|
|
15334
15334
|
setTextContent(e) {
|
|
15335
15335
|
return e !== " " && e !== "" && sm(126), super.setTextContent(" ");
|
|
@@ -15350,7 +15350,7 @@ class qs extends Yr {
|
|
|
15350
15350
|
return !1;
|
|
15351
15351
|
}
|
|
15352
15352
|
}
|
|
15353
|
-
function
|
|
15353
|
+
function Ai() {
|
|
15354
15354
|
return qn(new qs());
|
|
15355
15355
|
}
|
|
15356
15356
|
function Nl(t) {
|
|
@@ -15489,7 +15489,7 @@ class Il {
|
|
|
15489
15489
|
}
|
|
15490
15490
|
deleteNodes() {
|
|
15491
15491
|
const e = this.getNodes();
|
|
15492
|
-
if ((de() ||
|
|
15492
|
+
if ((de() || Ti()) === this && e[0]) {
|
|
15493
15493
|
const n = Lt(e[0], "next");
|
|
15494
15494
|
aue(jr(n, n));
|
|
15495
15495
|
}
|
|
@@ -15538,7 +15538,7 @@ class Io {
|
|
|
15538
15538
|
const { origin: u } = c;
|
|
15539
15539
|
K(u) && l.has(u) || o.push(u);
|
|
15540
15540
|
}
|
|
15541
|
-
if (s && o.push(s.caret.origin),
|
|
15541
|
+
if (s && o.push(s.caret.origin), bi(r.focus) && K(r.focus.origin) && r.focus.getNodeAtCaret() === null)
|
|
15542
15542
|
for (let c = Bn(r.focus.origin, "previous"); Xn(c) && a.has(c.origin) && !c.origin.isEmpty() && c.origin.is(o[o.length - 1]); c = Ed(c))
|
|
15543
15543
|
a.delete(c.origin), o.pop();
|
|
15544
15544
|
for (; o.length > 1; ) {
|
|
@@ -15607,7 +15607,7 @@ class Io {
|
|
|
15607
15607
|
const s = n[i];
|
|
15608
15608
|
s === `
|
|
15609
15609
|
` || s === `\r
|
|
15610
|
-
` ? r.push(Fn()) : s === " " ? r.push(
|
|
15610
|
+
` ? r.push(Fn()) : s === " " ? r.push(Ai()) : r.push(ft(s));
|
|
15611
15611
|
}
|
|
15612
15612
|
this.insertNodes(r);
|
|
15613
15613
|
}
|
|
@@ -15870,7 +15870,7 @@ class Io {
|
|
|
15870
15870
|
const a = i._blockCursorElement, l = i._rootElement, c = this.focus.getNode();
|
|
15871
15871
|
if (l === null || a === null || !K(c) || c.isInline() || c.canBeEmpty() || bu(a, i, l), this.dirty) {
|
|
15872
15872
|
let u = To(i, this.anchor.key), d = To(i, this.focus.key);
|
|
15873
|
-
this.anchor.type === "text" && (u =
|
|
15873
|
+
this.anchor.type === "text" && (u = _i(u)), this.focus.type === "text" && (d = _i(d)), u && d && Xm(s, u, this.anchor.offset, d, this.focus.offset);
|
|
15874
15874
|
}
|
|
15875
15875
|
if (function(u, d, f, p) {
|
|
15876
15876
|
u.modify(d, f, p);
|
|
@@ -15934,7 +15934,7 @@ class Io {
|
|
|
15934
15934
|
} else {
|
|
15935
15935
|
if (a.type === "merge-block")
|
|
15936
15936
|
break;
|
|
15937
|
-
if (
|
|
15937
|
+
if (bi(l)) {
|
|
15938
15938
|
if (K(l.origin)) {
|
|
15939
15939
|
if (l.origin.isInline()) {
|
|
15940
15940
|
if (!l.origin.isParentOf(i.anchor.origin))
|
|
@@ -16188,7 +16188,7 @@ function fd(t, e, n, r) {
|
|
|
16188
16188
|
function de() {
|
|
16189
16189
|
return Jr()._selection;
|
|
16190
16190
|
}
|
|
16191
|
-
function
|
|
16191
|
+
function Ti() {
|
|
16192
16192
|
return ct()._editorState._selection;
|
|
16193
16193
|
}
|
|
16194
16194
|
function Ya(t, e, n, r = 1) {
|
|
@@ -16264,13 +16264,13 @@ function Dce(t, e, n, r, o, i, s) {
|
|
|
16264
16264
|
const f = e.anchor, p = e.focus, h = f.key, m = p.key, _ = To(n, h), y = To(n, m), v = f.offset, g = p.offset, w = e.format, k = e.style, b = e.isCollapsed();
|
|
16265
16265
|
let S = _, D = y, E = !1;
|
|
16266
16266
|
if (f.type === "text") {
|
|
16267
|
-
S =
|
|
16267
|
+
S = _i(_);
|
|
16268
16268
|
const U = f.getNode();
|
|
16269
16269
|
E = U.getFormat() !== w || U.getStyle() !== k;
|
|
16270
16270
|
} else
|
|
16271
16271
|
ee(t) && t.anchor.type === "text" && (E = !0);
|
|
16272
16272
|
var T, O, A, N, I;
|
|
16273
|
-
if (p.type === "text" && (D =
|
|
16273
|
+
if (p.type === "text" && (D = _i(y)), S !== null && D !== null && (b && (t === null || E || ee(t) && (t.format !== w || t.style !== k)) && (T = w, O = k, A = v, N = h, I = performance.now(), Rm = [T, O, A, N, I]), c !== v || u !== g || a !== S || l !== D || r.type === "Range" && b || (d !== null && i.contains(d) || o.has(Cce) || i.focus({ preventScroll: !0 }), f.type === "element"))) {
|
|
16274
16274
|
if (Xm(r, S, v, D, g), !o.has(yce) && e.isCollapsed() && i !== null && i === document.activeElement) {
|
|
16275
16275
|
const U = ee(e) && e.anchor.type === "element" ? S.childNodes[v] || null : r.rangeCount > 0 ? r.getRangeAt(0) : null;
|
|
16276
16276
|
if (U !== null) {
|
|
@@ -16314,7 +16314,7 @@ function Dce(t, e, n, r, o, i, s) {
|
|
|
16314
16314
|
}
|
|
16315
16315
|
}
|
|
16316
16316
|
function Mce(t) {
|
|
16317
|
-
let e = de() ||
|
|
16317
|
+
let e = de() || Ti();
|
|
16318
16318
|
e === null && (e = ut().selectEnd()), e.insertNodes(t);
|
|
16319
16319
|
}
|
|
16320
16320
|
function Nc(t) {
|
|
@@ -16553,10 +16553,10 @@ function mr(t, e) {
|
|
|
16553
16553
|
}
|
|
16554
16554
|
}(t, h, v, m, i), ee(a) || a === null || s !== null && s.is(a) || t.dispatchCommand(wm, void 0);
|
|
16555
16555
|
const k = t._pendingDecorators;
|
|
16556
|
-
k !== null && (t._decorators = k, t._pendingDecorators = null,
|
|
16556
|
+
k !== null && (t._decorators = k, t._pendingDecorators = null, ds("decorator", t, !0, k)), function(b, S, D) {
|
|
16557
16557
|
const E = ip(S), T = ip(D);
|
|
16558
|
-
E !== T &&
|
|
16559
|
-
}(t, e || i, n),
|
|
16558
|
+
E !== T && ds("textcontent", b, !0, T);
|
|
16559
|
+
}(t, e || i, n), ds("update", t, !0, { dirtyElements: _, dirtyLeaves: m, editorState: n, mutatedNodes: h, normalizedNodes: y, prevEditorState: e || i, tags: v }), function(b, S) {
|
|
16560
16560
|
if (b._deferred = [], S.length !== 0) {
|
|
16561
16561
|
const D = b._updating;
|
|
16562
16562
|
b._updating = !0;
|
|
@@ -16578,7 +16578,7 @@ function mr(t, e) {
|
|
|
16578
16578
|
}
|
|
16579
16579
|
}(t);
|
|
16580
16580
|
}
|
|
16581
|
-
function
|
|
16581
|
+
function ds(t, e, n, ...r) {
|
|
16582
16582
|
const o = e._updating;
|
|
16583
16583
|
e._updating = n;
|
|
16584
16584
|
try {
|
|
@@ -16700,7 +16700,7 @@ function Fl(t, e, n) {
|
|
|
16700
16700
|
function cn(t, e, n) {
|
|
16701
16701
|
Tt === t && n === void 0 ? e() : Fl(t, e, n);
|
|
16702
16702
|
}
|
|
16703
|
-
class
|
|
16703
|
+
class fs {
|
|
16704
16704
|
constructor(e, n, r) {
|
|
16705
16705
|
Y(this, "element");
|
|
16706
16706
|
Y(this, "before");
|
|
@@ -16708,13 +16708,13 @@ class ps {
|
|
|
16708
16708
|
this.element = e, this.before = n || null, this.after = r || null;
|
|
16709
16709
|
}
|
|
16710
16710
|
withBefore(e) {
|
|
16711
|
-
return new
|
|
16711
|
+
return new fs(this.element, e, this.after);
|
|
16712
16712
|
}
|
|
16713
16713
|
withAfter(e) {
|
|
16714
|
-
return new
|
|
16714
|
+
return new fs(this.element, this.before, e);
|
|
16715
16715
|
}
|
|
16716
16716
|
withElement(e) {
|
|
16717
|
-
return this.element === e ? this : new
|
|
16717
|
+
return this.element === e ? this : new fs(e, this.before, this.after);
|
|
16718
16718
|
}
|
|
16719
16719
|
insertChild(e) {
|
|
16720
16720
|
const n = this.before || this.getManagedLineBreak();
|
|
@@ -16737,7 +16737,7 @@ class ps {
|
|
|
16737
16737
|
if (e === null)
|
|
16738
16738
|
this.removeManagedLineBreak();
|
|
16739
16739
|
else {
|
|
16740
|
-
const n = e === "decorator" && (Cs ||
|
|
16740
|
+
const n = e === "decorator" && (Cs || vi || bs);
|
|
16741
16741
|
this.insertManagedLineBreak(n);
|
|
16742
16742
|
}
|
|
16743
16743
|
}
|
|
@@ -17085,7 +17085,7 @@ class hn extends Pn {
|
|
|
17085
17085
|
return s;
|
|
17086
17086
|
}
|
|
17087
17087
|
getDOMSlot(n) {
|
|
17088
|
-
return new
|
|
17088
|
+
return new fs(n);
|
|
17089
17089
|
}
|
|
17090
17090
|
exportDOM(n) {
|
|
17091
17091
|
const { element: r } = super.exportDOM(n);
|
|
@@ -17342,7 +17342,7 @@ function it() {
|
|
|
17342
17342
|
function Ws(t) {
|
|
17343
17343
|
return t instanceof js;
|
|
17344
17344
|
}
|
|
17345
|
-
const He = 0,
|
|
17345
|
+
const He = 0, Ji = 1, Pce = 4;
|
|
17346
17346
|
function ig(t, e, n, r) {
|
|
17347
17347
|
const o = t._keyToDOMMap;
|
|
17348
17348
|
o.clear(), t._editorState = hd(), t._pendingEditorState = r, t._compositionKey = null, t._dirtyType = 0, t._cloneNotNeeded.clear(), t._dirtyLeaves = /* @__PURE__ */ new Set(), t._dirtyElements.clear(), t._normalizedNodes = /* @__PURE__ */ new Set(), t._updateTags = /* @__PURE__ */ new Set(), t._updates = [], t._blockCursorElement = null;
|
|
@@ -17532,7 +17532,7 @@ class Ao {
|
|
|
17532
17532
|
const f = yt(d);
|
|
17533
17533
|
f && f.markDirty();
|
|
17534
17534
|
}
|
|
17535
|
-
}, s._pendingEditorState === null ? { tag:
|
|
17535
|
+
}, s._pendingEditorState === null ? { tag: us } : void 0);
|
|
17536
17536
|
}(this, o.map((s) => s.klass.getType())), () => {
|
|
17537
17537
|
o.forEach((s) => s.transforms.delete(n));
|
|
17538
17538
|
};
|
|
@@ -17561,7 +17561,7 @@ class Ao {
|
|
|
17561
17561
|
const r = si(this._config.theme, "root"), o = this._pendingEditorState || this._editorState;
|
|
17562
17562
|
if (this._rootElement = e, ig(this, n, e, o), n !== null && (this._config.disableEvents || gce(n), r != null && n.classList.remove(...r)), e !== null) {
|
|
17563
17563
|
const i = xd(e), s = e.style;
|
|
17564
|
-
s.userSelect = "text", s.whiteSpace = "pre-wrap", s.wordBreak = "break-word", e.setAttribute("data-lexical-editor", "true"), this._window = i, this._dirtyType = 2, pm(this), this._updateTags.add(
|
|
17564
|
+
s.userSelect = "text", s.whiteSpace = "pre-wrap", s.wordBreak = "break-word", e.setAttribute("data-lexical-editor", "true"), this._window = i, this._dirtyType = 2, pm(this), this._updateTags.add(us), mr(this), this._config.disableEvents || function(a, l) {
|
|
17565
17565
|
const c = a.ownerDocument;
|
|
17566
17566
|
du.set(a, c);
|
|
17567
17567
|
const u = Za.get(c) ?? 0;
|
|
@@ -17602,8 +17602,8 @@ class Ao {
|
|
|
17602
17602
|
}
|
|
17603
17603
|
}(e, this), r != null && e.classList.add(...r);
|
|
17604
17604
|
} else
|
|
17605
|
-
this._window = null, this._updateTags.add(
|
|
17606
|
-
|
|
17605
|
+
this._window = null, this._updateTags.add(us), mr(this);
|
|
17606
|
+
ds("root", this, !1, e, n);
|
|
17607
17607
|
}
|
|
17608
17608
|
}
|
|
17609
17609
|
getElementByKey(e) {
|
|
@@ -17661,7 +17661,7 @@ class Ao {
|
|
|
17661
17661
|
return this._editable;
|
|
17662
17662
|
}
|
|
17663
17663
|
setEditable(e) {
|
|
17664
|
-
this._editable !== e && (this._editable = e,
|
|
17664
|
+
this._editable !== e && (this._editable = e, ds("editable", this, !0, e));
|
|
17665
17665
|
}
|
|
17666
17666
|
toJSON() {
|
|
17667
17667
|
return { editorState: this._editorState.toJSON() };
|
|
@@ -17685,14 +17685,14 @@ const Uce = typeof queueMicrotask == "function" ? queueMicrotask : (t) => {
|
|
|
17685
17685
|
Promise.resolve().then(t);
|
|
17686
17686
|
};
|
|
17687
17687
|
function op(t) {
|
|
17688
|
-
return ze(
|
|
17688
|
+
return ze(yi(t));
|
|
17689
17689
|
}
|
|
17690
17690
|
function _d(t) {
|
|
17691
17691
|
const e = document.activeElement;
|
|
17692
17692
|
if (!gt(e))
|
|
17693
17693
|
return !1;
|
|
17694
17694
|
const n = e.nodeName;
|
|
17695
|
-
return ze(
|
|
17695
|
+
return ze(yi(t)) && (n === "INPUT" || n === "TEXTAREA" || e.contentEditable === "true" && Bl(e) == null);
|
|
17696
17696
|
}
|
|
17697
17697
|
function Zs(t, e, n) {
|
|
17698
17698
|
const r = t.getRootElement();
|
|
@@ -17725,12 +17725,12 @@ function pr(t) {
|
|
|
17725
17725
|
return vo(t) || t.isSegmented();
|
|
17726
17726
|
}
|
|
17727
17727
|
function Sr(t) {
|
|
17728
|
-
return
|
|
17728
|
+
return Ei(t) && t.nodeType === 3;
|
|
17729
17729
|
}
|
|
17730
17730
|
function lg(t) {
|
|
17731
|
-
return
|
|
17731
|
+
return Ei(t) && t.nodeType === 9;
|
|
17732
17732
|
}
|
|
17733
|
-
function
|
|
17733
|
+
function _i(t) {
|
|
17734
17734
|
let e = t;
|
|
17735
17735
|
for (; e != null; ) {
|
|
17736
17736
|
if (Sr(e))
|
|
@@ -17812,7 +17812,7 @@ function ug(t, e) {
|
|
|
17812
17812
|
function Ul(t, e) {
|
|
17813
17813
|
return t[`__lexicalKey_${e._key}`];
|
|
17814
17814
|
}
|
|
17815
|
-
function
|
|
17815
|
+
function yi(t, e) {
|
|
17816
17816
|
let n = t;
|
|
17817
17817
|
for (; n != null; ) {
|
|
17818
17818
|
const r = ug(n, e);
|
|
@@ -17877,7 +17877,7 @@ function Cd(t, e, n) {
|
|
|
17877
17877
|
let { anchorOffset: i, focusOffset: s } = r;
|
|
17878
17878
|
if (o !== null) {
|
|
17879
17879
|
let a = mg(o);
|
|
17880
|
-
const l =
|
|
17880
|
+
const l = yi(o);
|
|
17881
17881
|
if (a !== null && ae(l)) {
|
|
17882
17882
|
if (a === Ml && n) {
|
|
17883
17883
|
const c = n.length;
|
|
@@ -17896,7 +17896,7 @@ function wd(t, e, n, r, o) {
|
|
|
17896
17896
|
const l = i.getTextContent();
|
|
17897
17897
|
if (o || a !== l) {
|
|
17898
17898
|
if (a === "") {
|
|
17899
|
-
if (Mt(null), bs ||
|
|
17899
|
+
if (Mt(null), bs || vi || Cs)
|
|
17900
17900
|
i.remove();
|
|
17901
17901
|
else {
|
|
17902
17902
|
const m = ct();
|
|
@@ -17908,7 +17908,7 @@ function wd(t, e, n, r, o) {
|
|
|
17908
17908
|
}
|
|
17909
17909
|
return;
|
|
17910
17910
|
}
|
|
17911
|
-
const c = i.getParent(), u =
|
|
17911
|
+
const c = i.getParent(), u = Ti(), d = i.getTextContentSize(), f = Ir(), p = i.getKey();
|
|
17912
17912
|
if (i.isToken() || f !== null && p === f && !s || ee(u) && (c !== null && !c.canInsertTextBefore() && u.anchor.offset === 0 || u.anchor.key === t.__key && u.anchor.offset === 0 && !i.canInsertTextBefore() && !s || u.focus.key === t.__key && u.focus.offset === d && !i.canInsertTextAfter() && !s))
|
|
17913
17913
|
return void i.markDirty();
|
|
17914
17914
|
const h = de();
|
|
@@ -18112,13 +18112,13 @@ function _g(t) {
|
|
|
18112
18112
|
return gt(t) && t.tagName === "A";
|
|
18113
18113
|
}
|
|
18114
18114
|
function gt(t) {
|
|
18115
|
-
return
|
|
18115
|
+
return Ei(t) && t.nodeType === 1;
|
|
18116
18116
|
}
|
|
18117
|
-
function
|
|
18117
|
+
function Ei(t) {
|
|
18118
18118
|
return typeof t == "object" && t !== null && "nodeType" in t && typeof t.nodeType == "number";
|
|
18119
18119
|
}
|
|
18120
18120
|
function Cu(t) {
|
|
18121
|
-
return
|
|
18121
|
+
return Ei(t) && t.nodeType === 11;
|
|
18122
18122
|
}
|
|
18123
18123
|
function wu(t) {
|
|
18124
18124
|
const e = new RegExp(/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|mark|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var|#text)$/, "i");
|
|
@@ -18170,7 +18170,7 @@ function Sd(t, e) {
|
|
|
18170
18170
|
function Jce(t) {
|
|
18171
18171
|
return t.__lexicalUnmanaged === !0;
|
|
18172
18172
|
}
|
|
18173
|
-
function
|
|
18173
|
+
function Xi(t, e) {
|
|
18174
18174
|
return function(n, r) {
|
|
18175
18175
|
return Object.prototype.hasOwnProperty.call(n, r);
|
|
18176
18176
|
}(t, e) && t[e] !== Pn[e];
|
|
@@ -18190,7 +18190,7 @@ function zl(t) {
|
|
|
18190
18190
|
ne(290, s.name, a, l);
|
|
18191
18191
|
}
|
|
18192
18192
|
return s === ng || s === hn || s === Pn;
|
|
18193
|
-
}(t), r = !n &&
|
|
18193
|
+
}(t), r = !n && Xi(t, "getType") ? t.getType() : void 0;
|
|
18194
18194
|
let o, i = r;
|
|
18195
18195
|
if (e)
|
|
18196
18196
|
if (r)
|
|
@@ -18198,7 +18198,7 @@ function zl(t) {
|
|
|
18198
18198
|
else
|
|
18199
18199
|
for (const [s, a] of Object.entries(e))
|
|
18200
18200
|
i = s, o = a;
|
|
18201
|
-
if (!n && i && (
|
|
18201
|
+
if (!n && i && (Xi(t, "getType") || (t.getType = () => i), Xi(t, "clone") || (t.clone = (s) => (gd(s), new t())), Xi(t, "importJSON") || (t.importJSON = o && o.$importJSON || ((s) => new t().updateFromJSON(s))), !Xi(t, "importDOM") && o)) {
|
|
18202
18202
|
const { importDOM: s } = o;
|
|
18203
18203
|
s && (t.importDOM = () => s);
|
|
18204
18204
|
}
|
|
@@ -18223,7 +18223,7 @@ class Ad {
|
|
|
18223
18223
|
this.origin = e;
|
|
18224
18224
|
}
|
|
18225
18225
|
[Symbol.iterator]() {
|
|
18226
|
-
return bg({ hasNext:
|
|
18226
|
+
return bg({ hasNext: bi, initial: this.getAdjacentCaret(), map: (e) => e, step: (e) => e.getAdjacentCaret() });
|
|
18227
18227
|
}
|
|
18228
18228
|
getAdjacentCaret() {
|
|
18229
18229
|
return Lt(this.getNodeAtCaret(), this.direction);
|
|
@@ -18279,7 +18279,7 @@ class Ts extends Ad {
|
|
|
18279
18279
|
return Lt(Td(this.getParentAtCaret(), n), this.direction);
|
|
18280
18280
|
}
|
|
18281
18281
|
getFlipped() {
|
|
18282
|
-
const n =
|
|
18282
|
+
const n = $i(this.direction);
|
|
18283
18283
|
return Lt(this.getNodeAtCaret(), n) || Bn(this.origin, n);
|
|
18284
18284
|
}
|
|
18285
18285
|
getParentAtCaret() {
|
|
@@ -18296,7 +18296,7 @@ class Ts extends Ad {
|
|
|
18296
18296
|
}
|
|
18297
18297
|
}
|
|
18298
18298
|
const eue = { root: ht, shadowRoot: Wt };
|
|
18299
|
-
function
|
|
18299
|
+
function $i(t) {
|
|
18300
18300
|
return Qce[t];
|
|
18301
18301
|
}
|
|
18302
18302
|
function Td(t, e = "root") {
|
|
@@ -18324,7 +18324,7 @@ class Eo extends Ad {
|
|
|
18324
18324
|
return Lt(Td(this.getParentAtCaret(), n), this.direction);
|
|
18325
18325
|
}
|
|
18326
18326
|
getFlipped() {
|
|
18327
|
-
const n =
|
|
18327
|
+
const n = $i(this.direction);
|
|
18328
18328
|
return Lt(this.getNodeAtCaret(), n) || Bn(this.origin.getParentOrThrow(), n);
|
|
18329
18329
|
}
|
|
18330
18330
|
isSamePointCaret(n) {
|
|
@@ -18355,7 +18355,7 @@ class $o extends Ad {
|
|
|
18355
18355
|
return Lt(Td(this.getParentAtCaret(), n), this.direction);
|
|
18356
18356
|
}
|
|
18357
18357
|
getFlipped() {
|
|
18358
|
-
return Do(this.origin,
|
|
18358
|
+
return Do(this.origin, $i(this.direction), this.offset);
|
|
18359
18359
|
}
|
|
18360
18360
|
isSamePointCaret(n) {
|
|
18361
18361
|
return n instanceof $o && this.direction === n.direction && this.origin.is(n.origin) && this.offset === n.offset;
|
|
@@ -18370,7 +18370,7 @@ class $o extends Ad {
|
|
|
18370
18370
|
function Br(t) {
|
|
18371
18371
|
return t instanceof $o;
|
|
18372
18372
|
}
|
|
18373
|
-
function
|
|
18373
|
+
function bi(t) {
|
|
18374
18374
|
return t instanceof Eo;
|
|
18375
18375
|
}
|
|
18376
18376
|
function Xn(t) {
|
|
@@ -18485,7 +18485,7 @@ class $d {
|
|
|
18485
18485
|
const e = (o) => {
|
|
18486
18486
|
const i = this[o].getLatest();
|
|
18487
18487
|
return Br(i) ? function(s, a) {
|
|
18488
|
-
const { direction: l, origin: c } = s, u = Ur(c, a === "focus" ?
|
|
18488
|
+
const { direction: l, origin: c } = s, u = Ur(c, a === "focus" ? $i(l) : l);
|
|
18489
18489
|
return pp(s, u - s.offset);
|
|
18490
18490
|
}(i, o) : null;
|
|
18491
18491
|
}, n = e("anchor"), r = e("focus");
|
|
@@ -18601,7 +18601,7 @@ function wr(t, e) {
|
|
|
18601
18601
|
}
|
|
18602
18602
|
function Mo(t, e) {
|
|
18603
18603
|
const { origin: n, direction: r } = e, o = r === "next";
|
|
18604
|
-
Br(e) ? t.set(n.getKey(), e.offset, "text") :
|
|
18604
|
+
Br(e) ? t.set(n.getKey(), e.offset, "text") : bi(e) ? ae(n) ? t.set(n.getKey(), Ur(n, r), "text") : t.set(n.getParentOrThrow().getKey(), n.getIndexWithinParent() + (o ? 1 : 0), "element") : (Xn(e) && K(n) || ne(268), t.set(n.getKey(), o ? 0 : n.getChildrenSize(), "element"));
|
|
18605
18605
|
}
|
|
18606
18606
|
function aue(t) {
|
|
18607
18607
|
const e = de(), n = ee(e) ? e : Pl();
|
|
@@ -18612,10 +18612,10 @@ function Ea(t, e) {
|
|
|
18612
18612
|
}
|
|
18613
18613
|
function mp(t) {
|
|
18614
18614
|
const { anchor: e, focus: n } = t, r = wr(e, "next"), o = wr(n, "next"), i = Cg(r, o) <= 0 ? "next" : "previous";
|
|
18615
|
-
return jr(
|
|
18615
|
+
return jr(Ci(r, i), Ci(o, i));
|
|
18616
18616
|
}
|
|
18617
18617
|
function Md(t) {
|
|
18618
|
-
const { direction: e, origin: n } = t, r = Lt(n,
|
|
18618
|
+
const { direction: e, origin: n } = t, r = Lt(n, $i(e)).getNodeAtCaret();
|
|
18619
18619
|
return r ? Lt(r, e) : Bn(n.getParentOrThrow(), e);
|
|
18620
18620
|
}
|
|
18621
18621
|
function gp(t, e = "root") {
|
|
@@ -18636,7 +18636,7 @@ function lue(t, e = "removeEmptySlices") {
|
|
|
18636
18636
|
for (const h of i.iterNodeCarets(n))
|
|
18637
18637
|
if (Xn(h))
|
|
18638
18638
|
l.add(h.origin.getKey());
|
|
18639
|
-
else if (
|
|
18639
|
+
else if (bi(h)) {
|
|
18640
18640
|
const { origin: m } = h;
|
|
18641
18641
|
K(m) && !l.has(m.getKey()) || c.push(m);
|
|
18642
18642
|
}
|
|
@@ -18702,7 +18702,7 @@ function lue(t, e = "removeEmptySlices") {
|
|
|
18702
18702
|
}
|
|
18703
18703
|
const p = [u, d, ...s, ...a].find(Rc);
|
|
18704
18704
|
if (p)
|
|
18705
|
-
return sue(
|
|
18705
|
+
return sue(Ci(kn(p), t.direction));
|
|
18706
18706
|
ne(269, JSON.stringify(s.map((h) => h.origin.__key)));
|
|
18707
18707
|
}
|
|
18708
18708
|
function kn(t) {
|
|
@@ -18719,16 +18719,16 @@ function kn(t) {
|
|
|
18719
18719
|
if (ae(e.origin))
|
|
18720
18720
|
return Br(e) ? e : Do(e.origin, n, n);
|
|
18721
18721
|
const r = e.getAdjacentCaret();
|
|
18722
|
-
return
|
|
18722
|
+
return bi(r) && ae(r.origin) ? Do(r.origin, n, $i(n)) : e;
|
|
18723
18723
|
}
|
|
18724
18724
|
function kg(t) {
|
|
18725
18725
|
return Br(t) && t.offset !== Ur(t.origin, t.direction);
|
|
18726
18726
|
}
|
|
18727
|
-
function
|
|
18727
|
+
function Ci(t, e) {
|
|
18728
18728
|
return t.direction === e ? t : t.getFlipped();
|
|
18729
18729
|
}
|
|
18730
18730
|
function xg(t, e) {
|
|
18731
|
-
return t.direction === e ? t : jr(
|
|
18731
|
+
return t.direction === e ? t : jr(Ci(t.focus, e), Ci(t.anchor, e));
|
|
18732
18732
|
}
|
|
18733
18733
|
function cue(t, e, n) {
|
|
18734
18734
|
let r = Bn(t, "next");
|
|
@@ -18738,7 +18738,7 @@ function cue(t, e, n) {
|
|
|
18738
18738
|
break;
|
|
18739
18739
|
r = i;
|
|
18740
18740
|
}
|
|
18741
|
-
return
|
|
18741
|
+
return Ci(r, n);
|
|
18742
18742
|
}
|
|
18743
18743
|
const ku = /* @__PURE__ */ new Map();
|
|
18744
18744
|
function Sg(t) {
|
|
@@ -19505,10 +19505,10 @@ function $e(t) {
|
|
|
19505
19505
|
}
|
|
19506
19506
|
const Aue = Ae("UPDATE_LIST_START_COMMAND"), Pg = Ae("INSERT_UNORDERED_LIST_COMMAND"), Fg = Ae("INSERT_ORDERED_LIST_COMMAND"), Tue = Ae("REMOVE_LIST_COMMAND");
|
|
19507
19507
|
function Eue(t) {
|
|
19508
|
-
return Gs(t.registerCommand(Fg, () => (wp("number"), !0),
|
|
19508
|
+
return Gs(t.registerCommand(Fg, () => (wp("number"), !0), Ji), t.registerCommand(Aue, (e) => {
|
|
19509
19509
|
const { listNodeKey: n, newStart: r } = e, o = yt(n);
|
|
19510
19510
|
return !!$e(o) && (o.getListType() === "number" && (o.setStart(r), Ig(o)), !0);
|
|
19511
|
-
},
|
|
19511
|
+
}, Ji), t.registerCommand(Pg, () => (wp("bullet"), !0), Ji), t.registerCommand(Tue, () => (yue(), !0), Ji), t.registerCommand(xs, () => wue(), Ji), t.registerNodeTransform(Xr, (e) => {
|
|
19512
19512
|
const n = e.getFirstChild();
|
|
19513
19513
|
if (n) {
|
|
19514
19514
|
if (ae(n)) {
|
|
@@ -19721,7 +19721,7 @@ function Tp(t, e, n) {
|
|
|
19721
19721
|
const u = a[l];
|
|
19722
19722
|
u === `
|
|
19723
19723
|
` || u === `\r
|
|
19724
|
-
` ? c.insertParagraph() : u === " " ? c.insertNodes([
|
|
19724
|
+
` ? c.insertParagraph() : u === " " ? c.insertNodes([Ai()]) : c.insertText(u);
|
|
19725
19725
|
}
|
|
19726
19726
|
}
|
|
19727
19727
|
} else
|
|
@@ -20071,7 +20071,7 @@ function Ip(t) {
|
|
|
20071
20071
|
return n.size > 0;
|
|
20072
20072
|
}
|
|
20073
20073
|
function Pp(t) {
|
|
20074
|
-
const e =
|
|
20074
|
+
const e = yi(t);
|
|
20075
20075
|
return ze(e);
|
|
20076
20076
|
}
|
|
20077
20077
|
function Uc(t) {
|
|
@@ -20129,7 +20129,7 @@ function Zue(t) {
|
|
|
20129
20129
|
}, He), t.registerCommand(xs, () => {
|
|
20130
20130
|
const e = de();
|
|
20131
20131
|
return !!ee(e) && (e.insertParagraph(), !0);
|
|
20132
|
-
}, He), t.registerCommand(ace, () => (Mce([
|
|
20132
|
+
}, He), t.registerCommand(ace, () => (Mce([Ai()]), !0), He), t.registerCommand(lce, () => Ip((e) => {
|
|
20133
20133
|
const n = e.getIndent();
|
|
20134
20134
|
e.setIndent(n + 1);
|
|
20135
20135
|
}), He), t.registerCommand(Lf, () => Ip((e) => {
|
|
@@ -20236,7 +20236,7 @@ function Zue(t) {
|
|
|
20236
20236
|
if (n.length > 0) {
|
|
20237
20237
|
const o = Mp(e.clientX, e.clientY);
|
|
20238
20238
|
if (o !== null) {
|
|
20239
|
-
const { offset: i, node: s } = o, a =
|
|
20239
|
+
const { offset: i, node: s } = o, a = yi(s);
|
|
20240
20240
|
if (a !== null) {
|
|
20241
20241
|
const l = Pl();
|
|
20242
20242
|
if (ae(a))
|
|
@@ -20263,7 +20263,7 @@ function Zue(t) {
|
|
|
20263
20263
|
return !1;
|
|
20264
20264
|
const o = Mp(e.clientX, e.clientY);
|
|
20265
20265
|
if (o !== null) {
|
|
20266
|
-
const i =
|
|
20266
|
+
const i = yi(o.node);
|
|
20267
20267
|
ze(i) && e.preventDefault();
|
|
20268
20268
|
}
|
|
20269
20269
|
return !0;
|
|
@@ -20274,7 +20274,7 @@ function Zue(t) {
|
|
|
20274
20274
|
});
|
|
20275
20275
|
}(e, t), !0), He), t.registerCommand(ad, (e) => {
|
|
20276
20276
|
const [, n, r] = ba(e);
|
|
20277
|
-
return n.length > 0 && !r ? (t.dispatchCommand(Lp, n), !0) :
|
|
20277
|
+
return n.length > 0 && !r ? (t.dispatchCommand(Lp, n), !0) : Ei(e.target) && _d(e.target) ? !1 : de() !== null && (function(o, i) {
|
|
20278
20278
|
o.preventDefault(), i.update(() => {
|
|
20279
20279
|
const s = de(), a = fo(o, InputEvent) || fo(o, KeyboardEvent) ? null : o.clipboardData;
|
|
20280
20280
|
a != null && s !== null && Tp(a, s, i);
|
|
@@ -22859,7 +22859,7 @@ function Wg(t, e) {
|
|
|
22859
22859
|
}
|
|
22860
22860
|
return !1;
|
|
22861
22861
|
}
|
|
22862
|
-
const
|
|
22862
|
+
const rs = "data-language", Qi = "data-highlight-language", Ca = "data-theme";
|
|
22863
22863
|
let jl = class Zg extends hn {
|
|
22864
22864
|
constructor(n, r) {
|
|
22865
22865
|
super(r);
|
|
@@ -22881,7 +22881,7 @@ let jl = class Zg extends hn {
|
|
|
22881
22881
|
const r = document.createElement("code");
|
|
22882
22882
|
kr(r, n.theme.code), r.setAttribute("spellcheck", "false");
|
|
22883
22883
|
const o = this.getLanguage();
|
|
22884
|
-
o && (r.setAttribute(
|
|
22884
|
+
o && (r.setAttribute(rs, o), this.getIsSyntaxHighlightSupported() && r.setAttribute(Qi, o));
|
|
22885
22885
|
const i = this.getTheme();
|
|
22886
22886
|
i && r.setAttribute(Ca, i);
|
|
22887
22887
|
const s = this.getStyle();
|
|
@@ -22889,9 +22889,9 @@ let jl = class Zg extends hn {
|
|
|
22889
22889
|
}
|
|
22890
22890
|
updateDOM(n, r, o) {
|
|
22891
22891
|
const i = this.__language, s = n.__language;
|
|
22892
|
-
i ? i !== s && r.setAttribute(
|
|
22892
|
+
i ? i !== s && r.setAttribute(rs, i) : s && r.removeAttribute(rs);
|
|
22893
22893
|
const a = this.__isSyntaxHighlightSupported;
|
|
22894
|
-
n.__isSyntaxHighlightSupported && s ? a && i ? i !== s && r.setAttribute(
|
|
22894
|
+
n.__isSyntaxHighlightSupported && s ? a && i ? i !== s && r.setAttribute(Qi, i) : r.removeAttribute(Qi) : a && i && r.setAttribute(Qi, i);
|
|
22895
22895
|
const l = this.__theme, c = n.__theme;
|
|
22896
22896
|
l ? l !== c && r.setAttribute(Ca, l) : c && r.removeAttribute(Ca);
|
|
22897
22897
|
const u = this.__style, d = n.__style;
|
|
@@ -22901,7 +22901,7 @@ let jl = class Zg extends hn {
|
|
|
22901
22901
|
const r = document.createElement("pre");
|
|
22902
22902
|
kr(r, n._config.theme.code), r.setAttribute("spellcheck", "false");
|
|
22903
22903
|
const o = this.getLanguage();
|
|
22904
|
-
o && (r.setAttribute(
|
|
22904
|
+
o && (r.setAttribute(rs, o), this.getIsSyntaxHighlightSupported() && r.setAttribute(Qi, o));
|
|
22905
22905
|
const i = this.getTheme();
|
|
22906
22906
|
i && r.setAttribute(Ca, i);
|
|
22907
22907
|
const s = this.getStyle();
|
|
@@ -22940,7 +22940,7 @@ let jl = class Zg extends hn {
|
|
|
22940
22940
|
const u = [];
|
|
22941
22941
|
for (; ; )
|
|
22942
22942
|
if (Nl(c))
|
|
22943
|
-
u.push(
|
|
22943
|
+
u.push(Ai()), c = c.getNextSibling();
|
|
22944
22944
|
else {
|
|
22945
22945
|
if (!Jg(c))
|
|
22946
22946
|
break;
|
|
@@ -23001,7 +23001,7 @@ function Wl(t) {
|
|
|
23001
23001
|
return t instanceof jl;
|
|
23002
23002
|
}
|
|
23003
23003
|
function Fp(t) {
|
|
23004
|
-
return { node: Jn(t.getAttribute(
|
|
23004
|
+
return { node: Jn(t.getAttribute(rs)) };
|
|
23005
23005
|
}
|
|
23006
23006
|
function Gue(t) {
|
|
23007
23007
|
const e = t, n = Bp(e);
|
|
@@ -23105,7 +23105,7 @@ function Xue(t) {
|
|
|
23105
23105
|
}), Object.defineProperty(t.languages.diff, "PREFIXES", { value: e });
|
|
23106
23106
|
})(Prism);
|
|
23107
23107
|
const Que = /* @__PURE__ */ new Set(["http:", "https:", "mailto:", "sms:", "tel:"]);
|
|
23108
|
-
class
|
|
23108
|
+
class Di extends hn {
|
|
23109
23109
|
constructor(n = "", r = {}, o) {
|
|
23110
23110
|
super(o);
|
|
23111
23111
|
Y(this, "__url");
|
|
@@ -23119,7 +23119,7 @@ class Mi extends hn {
|
|
|
23119
23119
|
return "link";
|
|
23120
23120
|
}
|
|
23121
23121
|
static clone(n) {
|
|
23122
|
-
return new
|
|
23122
|
+
return new Di(n.__url, { rel: n.__rel, target: n.__target, title: n.__title }, n.__key);
|
|
23123
23123
|
}
|
|
23124
23124
|
createDOM(n) {
|
|
23125
23125
|
const r = document.createElement("a");
|
|
@@ -23226,12 +23226,12 @@ function ede(t) {
|
|
|
23226
23226
|
return { node: e };
|
|
23227
23227
|
}
|
|
23228
23228
|
function rl(t = "", e) {
|
|
23229
|
-
return qn(new
|
|
23229
|
+
return qn(new Di(t, e));
|
|
23230
23230
|
}
|
|
23231
23231
|
function tde(t) {
|
|
23232
|
-
return t instanceof
|
|
23232
|
+
return t instanceof Di;
|
|
23233
23233
|
}
|
|
23234
|
-
class Zl extends
|
|
23234
|
+
class Zl extends Di {
|
|
23235
23235
|
constructor(n = "", r = {}, o) {
|
|
23236
23236
|
super(n, r, o);
|
|
23237
23237
|
Y(this, "__isUnlinked");
|
|
@@ -23546,20 +23546,20 @@ function ude(t, ...e) {
|
|
|
23546
23546
|
r.append("v", o);
|
|
23547
23547
|
throw n.search = r.toString(), Error(`Minified Lexical error #${t}; visit ${n.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`);
|
|
23548
23548
|
}
|
|
23549
|
-
const Xg = /^(\s*)(\d{1,})\.\s/, Qg = /^(\s*)[-*+]\s/, dde = /^(\s*)(?:[-*+]\s)?\s?(\[(\s|x)?\])\s/i, $u = /^(#{1,6})\s/, e0 = /^>\s/, t0 = /^[ \t]*```([\w-]+)?/, Du = /[ \t]*```$/, fde = /^[ \t]*```[^`]+(?:(?:`{1,2}|`{4,})[^`]+)*```(?:[^`]|$)/, pde = /^(?:\|)(.+)(?:\|)\s?$/, hde = /^(\| ?:?-*:? ?)+\|\s?$/, Vp = /^<[a-z_][\w-]*(?:\s[^<>]*)?\/?>/i, jp = /^<\/[a-z_][\w-]*\s*>/i, Wp = (t) => new RegExp(`(?:${t.source})$`, t.flags),
|
|
23549
|
+
const Xg = /^(\s*)(\d{1,})\.\s/, Qg = /^(\s*)[-*+]\s/, dde = /^(\s*)(?:[-*+]\s)?\s?(\[(\s|x)?\])\s/i, $u = /^(#{1,6})\s/, e0 = /^>\s/, t0 = /^[ \t]*```([\w-]+)?/, Du = /[ \t]*```$/, fde = /^[ \t]*```[^`]+(?:(?:`{1,2}|`{4,})[^`]+)*```(?:[^`]|$)/, pde = /^(?:\|)(.+)(?:\|)\s?$/, hde = /^(\| ?:?-*:? ?)+\|\s?$/, Vp = /^<[a-z_][\w-]*(?:\s[^<>]*)?\/?>/i, jp = /^<\/[a-z_][\w-]*\s*>/i, Wp = (t) => new RegExp(`(?:${t.source})$`, t.flags), os = Yle("mdListMarker", { parse: (t) => typeof t == "string" && /^[-*+]$/.test(t) ? t : "-" }), n0 = (t) => (e, n, r, o) => {
|
|
23550
23550
|
const i = t(r);
|
|
23551
23551
|
i.append(...n), e.replace(i), o || i.select(0, 0);
|
|
23552
23552
|
}, r0 = (t) => (e, n, r, o) => {
|
|
23553
|
-
const i = e.getPreviousSibling(), s = e.getNextSibling(), a = mn(t === "check" ? r[3] === "x" : void 0), l = r[0].trim()[0], c = t !== "bullet" && t !== "check" || l !==
|
|
23553
|
+
const i = e.getPreviousSibling(), s = e.getNextSibling(), a = mn(t === "check" ? r[3] === "x" : void 0), l = r[0].trim()[0], c = t !== "bullet" && t !== "check" || l !== os.parse(l) ? void 0 : l;
|
|
23554
23554
|
if ($e(s) && s.getListType() === t) {
|
|
23555
|
-
c && Tc(s,
|
|
23555
|
+
c && Tc(s, os, c);
|
|
23556
23556
|
const d = s.getFirstChild();
|
|
23557
23557
|
d !== null ? d.insertBefore(a) : s.append(a), e.remove();
|
|
23558
23558
|
} else if ($e(i) && i.getListType() === t)
|
|
23559
|
-
c && Tc(i,
|
|
23559
|
+
c && Tc(i, os, c), i.append(a), e.remove();
|
|
23560
23560
|
else {
|
|
23561
23561
|
const d = Qt(t, t === "number" ? Number(r[2]) : void 0);
|
|
23562
|
-
c && Tc(d,
|
|
23562
|
+
c && Tc(d, os, c), d.append(a), e.replace(d);
|
|
23563
23563
|
}
|
|
23564
23564
|
a.append(...n), o || a.select(0, 0);
|
|
23565
23565
|
const u = function(d) {
|
|
@@ -23580,7 +23580,7 @@ const Xg = /^(\s*)(\d{1,})\.\s/, Qg = /^(\s*)[-*+]\s/, dde = /^(\s*)(?:[-*+]\s)?
|
|
|
23580
23580
|
continue;
|
|
23581
23581
|
}
|
|
23582
23582
|
}
|
|
23583
|
-
const a = " ".repeat(4 * n), l = t.getListType(), c = hm(t,
|
|
23583
|
+
const a = " ".repeat(4 * n), l = t.getListType(), c = hm(t, os), u = l === "number" ? `${t.getStart() + i}. ` : l === "check" ? `${c} [${s.getChecked() ? "x" : " "}] ` : c + " ";
|
|
23584
23584
|
r.push(a + u + e(s)), i++;
|
|
23585
23585
|
}
|
|
23586
23586
|
return r.join(`
|
|
@@ -23636,7 +23636,7 @@ const Xg = /^(\s*)(\d{1,})\.\s/, Qg = /^(\s*)[-*+]\s/, dde = /^(\s*)(?:[-*+]\s)?
|
|
|
23636
23636
|
s.append(l), t.append(s);
|
|
23637
23637
|
} else
|
|
23638
23638
|
e && n0((l) => Jn(l ? l[1] : void 0))(t, e, n, i);
|
|
23639
|
-
}, type: "multiline-element" }, s0 = { dependencies: [Po, Xr], export: (t, e) => $e(t) ? Rd(t, e, 0) : null, regExp: Qg, replace: r0("bullet"), type: "element" }, a0 = { dependencies: [Po, Xr], export: (t, e) => $e(t) ? Rd(t, e, 0) : null, regExp: Xg, replace: r0("number"), type: "element" }, l0 = { format: ["code"], tag: "`", type: "text-format" }, gde = { format: ["highlight"], tag: "==", type: "text-format" }, c0 = { format: ["bold", "italic"], tag: "***", type: "text-format" }, vde = { format: ["bold", "italic"], intraword: !1, tag: "___", type: "text-format" }, u0 = { format: ["bold"], tag: "**", type: "text-format" }, _de = { format: ["bold"], intraword: !1, tag: "__", type: "text-format" }, d0 = { format: ["strikethrough"], tag: "~~", type: "text-format" }, f0 = { format: ["italic"], tag: "*", type: "text-format" }, yde = { format: ["italic"], intraword: !1, tag: "_", type: "text-format" }, bde = { dependencies: [
|
|
23639
|
+
}, type: "multiline-element" }, s0 = { dependencies: [Po, Xr], export: (t, e) => $e(t) ? Rd(t, e, 0) : null, regExp: Qg, replace: r0("bullet"), type: "element" }, a0 = { dependencies: [Po, Xr], export: (t, e) => $e(t) ? Rd(t, e, 0) : null, regExp: Xg, replace: r0("number"), type: "element" }, l0 = { format: ["code"], tag: "`", type: "text-format" }, gde = { format: ["highlight"], tag: "==", type: "text-format" }, c0 = { format: ["bold", "italic"], tag: "***", type: "text-format" }, vde = { format: ["bold", "italic"], intraword: !1, tag: "___", type: "text-format" }, u0 = { format: ["bold"], tag: "**", type: "text-format" }, _de = { format: ["bold"], intraword: !1, tag: "__", type: "text-format" }, d0 = { format: ["strikethrough"], tag: "~~", type: "text-format" }, f0 = { format: ["italic"], tag: "*", type: "text-format" }, yde = { format: ["italic"], intraword: !1, tag: "_", type: "text-format" }, bde = { dependencies: [Di], export: (t, e, n) => {
|
|
23640
23640
|
if (!tde(t) || nde(t))
|
|
23641
23641
|
return null;
|
|
23642
23642
|
const r = t.getTitle(), o = e(t);
|
|
@@ -23845,7 +23845,7 @@ const h0 = Symbol("LexicalEditor"), Dde = (() => {
|
|
|
23845
23845
|
const i = r;
|
|
23846
23846
|
o();
|
|
23847
23847
|
const s = e, a = {
|
|
23848
|
-
tag:
|
|
23848
|
+
tag: us
|
|
23849
23849
|
}, { theme: l, namespace: c, nodes: u, onError: d, editorState: f, html: p } = s.initialConfig, h = Rce({
|
|
23850
23850
|
editable: s.initialConfig.editable,
|
|
23851
23851
|
html: p,
|
|
@@ -23895,7 +23895,7 @@ const h0 = Symbol("LexicalEditor"), Dde = (() => {
|
|
|
23895
23895
|
});
|
|
23896
23896
|
return t.__vue_vine = !0, t;
|
|
23897
23897
|
})();
|
|
23898
|
-
function
|
|
23898
|
+
function Mi() {
|
|
23899
23899
|
const t = N0(h0, null);
|
|
23900
23900
|
return t || $de(!1, "useLexicalComposer: cannot find a LexicalComposer"), t;
|
|
23901
23901
|
}
|
|
@@ -24588,7 +24588,7 @@ const qde = (() => {
|
|
|
24588
24588
|
setup(n, r) {
|
|
24589
24589
|
let { expose: o } = r;
|
|
24590
24590
|
o();
|
|
24591
|
-
const i =
|
|
24591
|
+
const i = Mi(), s = re(!1), a = g0(i);
|
|
24592
24592
|
return Pt(() => {
|
|
24593
24593
|
s.value = i.isEditable();
|
|
24594
24594
|
const l = i.registerEditableListener((c) => {
|
|
@@ -24663,7 +24663,7 @@ function Vde(t, e) {
|
|
|
24663
24663
|
return r = 0, n = u, 2;
|
|
24664
24664
|
const d = zde(o, i, a, l, t.isComposing()), f = (() => {
|
|
24665
24665
|
const p = s === null || s.editor === t, h = c.has(vce);
|
|
24666
|
-
if (!h && p && c.has(
|
|
24666
|
+
if (!h && p && c.has(us))
|
|
24667
24667
|
return 0;
|
|
24668
24668
|
if (o === null)
|
|
24669
24669
|
return 1;
|
|
@@ -24730,7 +24730,7 @@ const Kde = (() => {
|
|
|
24730
24730
|
setup(e, n) {
|
|
24731
24731
|
let { expose: r } = n;
|
|
24732
24732
|
r();
|
|
24733
|
-
const o = e, i =
|
|
24733
|
+
const o = e, i = Mi();
|
|
24734
24734
|
return Zde(i, () => o.externalHistoryState, () => o.delay), (s, a) => null;
|
|
24735
24735
|
}
|
|
24736
24736
|
});
|
|
@@ -24755,7 +24755,7 @@ const Yde = (() => {
|
|
|
24755
24755
|
setup(e, n) {
|
|
24756
24756
|
let { expose: r } = n;
|
|
24757
24757
|
r();
|
|
24758
|
-
const o = e, i =
|
|
24758
|
+
const o = e, i = Mi();
|
|
24759
24759
|
return Xp((s) => {
|
|
24760
24760
|
if (!i.hasNodes([
|
|
24761
24761
|
Po,
|
|
@@ -24794,7 +24794,7 @@ function Jde(t) {
|
|
|
24794
24794
|
const Xde = ue({
|
|
24795
24795
|
name: "LexicalDecoratedTeleports",
|
|
24796
24796
|
setup() {
|
|
24797
|
-
const t =
|
|
24797
|
+
const t = Mi(), e = Jde(t);
|
|
24798
24798
|
return () => e.value;
|
|
24799
24799
|
}
|
|
24800
24800
|
});
|
|
@@ -24810,7 +24810,7 @@ const e1e = (() => {
|
|
|
24810
24810
|
setup(e, n) {
|
|
24811
24811
|
let { expose: r } = n;
|
|
24812
24812
|
r();
|
|
24813
|
-
const o =
|
|
24813
|
+
const o = Mi(), i = g0(o);
|
|
24814
24814
|
return Qde(o), (s, a) => (x(), M(Pe, null, [
|
|
24815
24815
|
ie(i) ? we(s.$slots, "placeholder", {
|
|
24816
24816
|
key: 0
|
|
@@ -24887,7 +24887,7 @@ const e1e = (() => {
|
|
|
24887
24887
|
selectionChange: (A) => !0
|
|
24888
24888
|
},
|
|
24889
24889
|
setup(A, { emit: N }) {
|
|
24890
|
-
const I =
|
|
24890
|
+
const I = Mi();
|
|
24891
24891
|
let U = null, q = null;
|
|
24892
24892
|
function X() {
|
|
24893
24893
|
I.getEditorState().read(() => {
|
|
@@ -25484,7 +25484,7 @@ const i1e = { class: "ao-comment" }, s1e = { class: "ao-comment__created-at" },
|
|
|
25484
25484
|
const h = n.user;
|
|
25485
25485
|
return h ? `${h.firstName ?? ""}${h.firstName ? " " : ""}${h.lastName ?? ""}` : null;
|
|
25486
25486
|
}), i = re(!1), s = re(n.content), a = re(null), l = L(() => {
|
|
25487
|
-
const h = n.editedAt &&
|
|
25487
|
+
const h = n.editedAt && ci(n.editedAt), m = ci(n.createdAt), _ = /* @__PURE__ */ new Date(), y = h ?? m;
|
|
25488
25488
|
return y && L7(y, _);
|
|
25489
25489
|
});
|
|
25490
25490
|
Be(
|
|
@@ -25595,8 +25595,8 @@ const d1e = { class: "ao-comments__new" }, f1e = {
|
|
|
25595
25595
|
setup(t, { emit: e }) {
|
|
25596
25596
|
const n = t, r = e, o = L(() => [...n.comments].sort(
|
|
25597
25597
|
(d, f) => ky(
|
|
25598
|
-
|
|
25599
|
-
|
|
25598
|
+
ci(d.createdAt),
|
|
25599
|
+
ci(f.createdAt)
|
|
25600
25600
|
)
|
|
25601
25601
|
)), i = (d) => n.users.find((f) => f.id === d), s = re(null);
|
|
25602
25602
|
un(() => {
|
|
@@ -26561,7 +26561,7 @@ const V1e = { class: "ao-activity-details" }, j1e = { class: "ao-activity-detail
|
|
|
26561
26561
|
C("div", V1e, [
|
|
26562
26562
|
C("div", j1e, [
|
|
26563
26563
|
C("div", W1e, [
|
|
26564
|
-
t.activity.slug ? (x(), J(
|
|
26564
|
+
t.activity.slug ? (x(), J(hs, {
|
|
26565
26565
|
key: 0,
|
|
26566
26566
|
label: t.activity.slug,
|
|
26567
26567
|
clickable: !0,
|
|
@@ -26643,7 +26643,7 @@ const V1e = { class: "ao-activity-details" }, j1e = { class: "ao-activity-detail
|
|
|
26643
26643
|
])
|
|
26644
26644
|
])
|
|
26645
26645
|
], 512), [
|
|
26646
|
-
[
|
|
26646
|
+
[is, i.value === "description"]
|
|
26647
26647
|
]),
|
|
26648
26648
|
rt(C("div", ofe, [
|
|
26649
26649
|
C("fieldset", ife, [
|
|
@@ -26663,7 +26663,7 @@ const V1e = { class: "ao-activity-details" }, j1e = { class: "ao-activity-detail
|
|
|
26663
26663
|
])
|
|
26664
26664
|
])
|
|
26665
26665
|
], 512), [
|
|
26666
|
-
[
|
|
26666
|
+
[is, i.value === "checklist"]
|
|
26667
26667
|
]),
|
|
26668
26668
|
rt(C("div", afe, [
|
|
26669
26669
|
t.isTemplate !== !0 && t.userId ? (x(), M("div", lfe, [
|
|
@@ -26677,7 +26677,7 @@ const V1e = { class: "ao-activity-details" }, j1e = { class: "ao-activity-detail
|
|
|
26677
26677
|
}, null, 8, ["comments", "users", "user-id"])
|
|
26678
26678
|
])) : F("", !0)
|
|
26679
26679
|
], 512), [
|
|
26680
|
-
[
|
|
26680
|
+
[is, i.value === "comments"]
|
|
26681
26681
|
])
|
|
26682
26682
|
])
|
|
26683
26683
|
]),
|
|
@@ -29149,10 +29149,10 @@ const The = { class: "ao-project-phase" }, Ehe = {
|
|
|
29149
29149
|
"added" in k ? o("updateMilestone", {
|
|
29150
29150
|
id: k.added.element.id,
|
|
29151
29151
|
phaseId: r.phase.id,
|
|
29152
|
-
rank:
|
|
29152
|
+
rank: ui(l.value, k.added.newIndex)
|
|
29153
29153
|
}) : "removed" in k || "moved" in k && o("updateMilestone", {
|
|
29154
29154
|
id: k.moved.element.id,
|
|
29155
|
-
rank:
|
|
29155
|
+
rank: ui(l.value, k.moved.newIndex)
|
|
29156
29156
|
});
|
|
29157
29157
|
}, y = eh(), v = L(() => y.path.includes("/mapping")), g = L(() => {
|
|
29158
29158
|
var k;
|
|
@@ -29817,7 +29817,7 @@ const Qhe = { class: "ao-card-feed__header" }, eme = {
|
|
|
29817
29817
|
}, {
|
|
29818
29818
|
header: ce(() => [
|
|
29819
29819
|
C("div", Qhe, [
|
|
29820
|
-
o.value ? (x(), J(
|
|
29820
|
+
o.value ? (x(), J(hs, {
|
|
29821
29821
|
key: 0,
|
|
29822
29822
|
label: o.value,
|
|
29823
29823
|
class: "ao-card-feed__project",
|
|
@@ -30005,7 +30005,7 @@ const wme = { class: "ao-project-milestone" }, kme = { class: "ao-project-milest
|
|
|
30005
30005
|
}, h = (b) => {
|
|
30006
30006
|
c.value && "moved" in b && o("updateActivity", {
|
|
30007
30007
|
id: b.moved.element.id,
|
|
30008
|
-
rank:
|
|
30008
|
+
rank: ui(c.value, b.moved.newIndex)
|
|
30009
30009
|
});
|
|
30010
30010
|
}, m = L({
|
|
30011
30011
|
get: () => {
|
|
@@ -30365,7 +30365,7 @@ const Fme = /* @__PURE__ */ ue({
|
|
|
30365
30365
|
class: "ao-col-header__title",
|
|
30366
30366
|
level: 4
|
|
30367
30367
|
}, null, 8, ["title"]),
|
|
30368
|
-
t.items ? (x(), J(
|
|
30368
|
+
t.items ? (x(), J(hs, {
|
|
30369
30369
|
key: 0,
|
|
30370
30370
|
label: t.items,
|
|
30371
30371
|
class: "ao-col-header__items",
|
|
@@ -30383,7 +30383,7 @@ function sl(t) {
|
|
|
30383
30383
|
}
|
|
30384
30384
|
const Hme = typeof window < "u" && typeof document < "u";
|
|
30385
30385
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
30386
|
-
const qme = (t) => t != null,
|
|
30386
|
+
const qme = (t) => t != null, ps = () => {
|
|
30387
30387
|
};
|
|
30388
30388
|
function zme(t, e) {
|
|
30389
30389
|
function n(...r) {
|
|
@@ -30394,9 +30394,9 @@ function zme(t, e) {
|
|
|
30394
30394
|
return n;
|
|
30395
30395
|
}
|
|
30396
30396
|
function Vme(t, e = {}) {
|
|
30397
|
-
let n, r, o =
|
|
30397
|
+
let n, r, o = ps;
|
|
30398
30398
|
const i = (a) => {
|
|
30399
|
-
clearTimeout(a), o(), o =
|
|
30399
|
+
clearTimeout(a), o(), o = ps;
|
|
30400
30400
|
};
|
|
30401
30401
|
return (a) => {
|
|
30402
30402
|
const l = sl(t), c = sl(e.maxWait);
|
|
@@ -30442,7 +30442,7 @@ function Gme(t, e, n = {}) {
|
|
|
30442
30442
|
const h = sl(t);
|
|
30443
30443
|
return (Array.isArray(h) ? h : [h]).map(jc).filter(qme);
|
|
30444
30444
|
});
|
|
30445
|
-
let u =
|
|
30445
|
+
let u = ps;
|
|
30446
30446
|
const d = re(a), f = l.value ? Be(
|
|
30447
30447
|
() => [c.value, jc(r), d.value],
|
|
30448
30448
|
([h, m]) => {
|
|
@@ -30457,11 +30457,11 @@ function Gme(t, e, n = {}) {
|
|
|
30457
30457
|
}
|
|
30458
30458
|
);
|
|
30459
30459
|
h.forEach((y) => y && _.observe(y)), u = () => {
|
|
30460
|
-
_.disconnect(), u =
|
|
30460
|
+
_.disconnect(), u = ps;
|
|
30461
30461
|
};
|
|
30462
30462
|
},
|
|
30463
30463
|
{ immediate: a, flush: "post" }
|
|
30464
|
-
) :
|
|
30464
|
+
) : ps, p = () => {
|
|
30465
30465
|
u(), f(), d.value = !1;
|
|
30466
30466
|
};
|
|
30467
30467
|
return Ume(p), {
|
|
@@ -30529,13 +30529,13 @@ const Yme = {
|
|
|
30529
30529
|
if ("added" in d) {
|
|
30530
30530
|
const f = {
|
|
30531
30531
|
id: d.added.element.id,
|
|
30532
|
-
rank:
|
|
30532
|
+
rank: ui(n.list, d.added.newIndex)
|
|
30533
30533
|
};
|
|
30534
30534
|
n.isDevMode ? f.statusDevId = n.status.id : f.statusId = n.status.id, r("updateActivity", f);
|
|
30535
30535
|
} else
|
|
30536
30536
|
"removed" in d || "moved" in d && r("updateActivity", {
|
|
30537
30537
|
id: d.moved.element.id,
|
|
30538
|
-
rank:
|
|
30538
|
+
rank: ui(
|
|
30539
30539
|
n.list,
|
|
30540
30540
|
d.moved.newIndex
|
|
30541
30541
|
)
|
|
@@ -30900,7 +30900,7 @@ const lge = { class: "ao-sprint-metrics" }, cge = ["onClick"], uge = { class: "a
|
|
|
30900
30900
|
])
|
|
30901
30901
|
])
|
|
30902
30902
|
], 512), [
|
|
30903
|
-
[
|
|
30903
|
+
[is, !o.value.has(A.id)]
|
|
30904
30904
|
])
|
|
30905
30905
|
]);
|
|
30906
30906
|
}), 128))
|
|
@@ -31402,7 +31402,7 @@ const Qo = {
|
|
|
31402
31402
|
TEMPLATES: "templates",
|
|
31403
31403
|
TEMPLATE_DETAILS: "template_details",
|
|
31404
31404
|
TEMPLATES_LIST: "templates_list"
|
|
31405
|
-
},
|
|
31405
|
+
}, ave = (t, e = {}) => [
|
|
31406
31406
|
{
|
|
31407
31407
|
path: t,
|
|
31408
31408
|
name: Qo.TEMPLATES,
|
|
@@ -31432,7 +31432,7 @@ const Qo = {
|
|
|
31432
31432
|
}, Ko = {
|
|
31433
31433
|
feed: "ActivityFeed",
|
|
31434
31434
|
dev: "ActivityFeedDev"
|
|
31435
|
-
},
|
|
31435
|
+
}, lve = (t, e = {}) => [
|
|
31436
31436
|
{
|
|
31437
31437
|
path: t,
|
|
31438
31438
|
...e,
|
|
@@ -31595,7 +31595,7 @@ const r0e = { class: "ao-field__label" }, o0e = /* @__PURE__ */ ue({
|
|
|
31595
31595
|
we(e.$slots, "default")
|
|
31596
31596
|
], 2));
|
|
31597
31597
|
}
|
|
31598
|
-
}), i0e = ["type", "value", "disabled", "readonly"],
|
|
31598
|
+
}), i0e = ["type", "value", "disabled", "readonly"], cve = /* @__PURE__ */ ue({
|
|
31599
31599
|
__name: "AoInputField",
|
|
31600
31600
|
props: {
|
|
31601
31601
|
label: { default: "" },
|
|
@@ -31627,7 +31627,7 @@ const r0e = { class: "ao-field__label" }, o0e = /* @__PURE__ */ ue({
|
|
|
31627
31627
|
_: 1
|
|
31628
31628
|
}, 8, ["label"]));
|
|
31629
31629
|
}
|
|
31630
|
-
}), s0e = { class: "ao-field" }, a0e = { class: "ao-field__label" }, l0e = ["checked", "disabled"],
|
|
31630
|
+
}), s0e = { class: "ao-field" }, a0e = { class: "ao-field__label" }, l0e = ["checked", "disabled"], c0e = /* @__PURE__ */ ue({
|
|
31631
31631
|
__name: "AoCheckboxField",
|
|
31632
31632
|
props: {
|
|
31633
31633
|
label: { default: "" },
|
|
@@ -31654,28 +31654,28 @@ const r0e = { class: "ao-field__label" }, o0e = /* @__PURE__ */ ue({
|
|
|
31654
31654
|
}, null, 40, l0e)
|
|
31655
31655
|
]));
|
|
31656
31656
|
}
|
|
31657
|
-
}),
|
|
31657
|
+
}), u0e = { class: "ao-audit-config" }, d0e = {
|
|
31658
31658
|
key: 0,
|
|
31659
31659
|
class: "ao-audit-config__loading"
|
|
31660
|
-
},
|
|
31660
|
+
}, f0e = {
|
|
31661
31661
|
key: 1,
|
|
31662
31662
|
class: "ao-audit-config__error"
|
|
31663
|
-
},
|
|
31663
|
+
}, p0e = {
|
|
31664
31664
|
key: 2,
|
|
31665
31665
|
class: "ao-audit-config__empty"
|
|
31666
|
-
},
|
|
31666
|
+
}, h0e = {
|
|
31667
31667
|
key: 3,
|
|
31668
31668
|
class: "ao-audit-config__table"
|
|
31669
|
-
},
|
|
31669
|
+
}, m0e = { class: "ao-audit-config__th ao-audit-config__th--table" }, g0e = { class: "ao-audit-config__th ao-audit-config__th--audit" }, v0e = { class: "ao-audit-config__th ao-audit-config__th--excluded" }, _0e = { class: "ao-audit-config__td ao-audit-config__td--table" }, y0e = { class: "ao-audit-config__table-name" }, b0e = {
|
|
31670
31670
|
key: 0,
|
|
31671
31671
|
class: "ao-audit-config__schema"
|
|
31672
|
-
},
|
|
31672
|
+
}, C0e = { class: "ao-audit-config__td ao-audit-config__td--audit" }, w0e = { class: "ao-audit-config__td ao-audit-config__td--excluded" }, k0e = {
|
|
31673
31673
|
key: 0,
|
|
31674
31674
|
class: "ao-audit-config__disabled-note"
|
|
31675
|
-
},
|
|
31675
|
+
}, x0e = { class: "ao-audit-config__option" }, S0e = ["title"], A0e = {
|
|
31676
31676
|
key: 0,
|
|
31677
31677
|
class: "ao-audit-config__all-tracked"
|
|
31678
|
-
},
|
|
31678
|
+
}, uve = /* @__PURE__ */ ue({
|
|
31679
31679
|
__name: "AoAuditConfigTable",
|
|
31680
31680
|
props: {
|
|
31681
31681
|
tables: {},
|
|
@@ -31721,8 +31721,6 @@ const r0e = { class: "ao-field__label" }, o0e = /* @__PURE__ */ ue({
|
|
|
31721
31721
|
schemaName: f.schemaName,
|
|
31722
31722
|
tableName: f.tableName,
|
|
31723
31723
|
isEnabled: p,
|
|
31724
|
-
// Preserve existing exclusions when toggling - the UI explicitly
|
|
31725
|
-
// does not clear them so the user can re-enable audit later.
|
|
31726
31724
|
excludeColumns: f.excludeColumns
|
|
31727
31725
|
});
|
|
31728
31726
|
}
|
|
@@ -31735,98 +31733,86 @@ const r0e = { class: "ao-field__label" }, o0e = /* @__PURE__ */ ue({
|
|
|
31735
31733
|
excludeColumns: h
|
|
31736
31734
|
});
|
|
31737
31735
|
}
|
|
31738
|
-
return (f, p) => (x(), M("div",
|
|
31739
|
-
t.loading ? (x(), M("div",
|
|
31736
|
+
return (f, p) => (x(), M("div", u0e, [
|
|
31737
|
+
t.loading ? (x(), M("div", d0e, j(a("audit.loading")), 1)) : t.error ? (x(), M("div", f0e, j(a("audit.error", { message: t.error })), 1)) : l.value.length ? (x(), M("table", h0e, [
|
|
31740
31738
|
C("thead", null, [
|
|
31741
31739
|
C("tr", null, [
|
|
31742
|
-
C("th",
|
|
31743
|
-
C("th",
|
|
31744
|
-
C("th",
|
|
31740
|
+
C("th", m0e, j(a("audit.tableHeader")), 1),
|
|
31741
|
+
C("th", g0e, j(a("audit.auditHeader")), 1),
|
|
31742
|
+
C("th", v0e, j(a("audit.ignoredHeader")), 1)
|
|
31745
31743
|
])
|
|
31746
31744
|
]),
|
|
31747
31745
|
C("tbody", null, [
|
|
31748
31746
|
(x(!0), M(Pe, null, ot(l.value, (h) => (x(), M("tr", {
|
|
31749
31747
|
key: `${h.schemaName}.${h.tableName}`
|
|
31750
31748
|
}, [
|
|
31751
|
-
C("td",
|
|
31752
|
-
C("span",
|
|
31753
|
-
h.schemaName !== "public" ? (x(), M("span",
|
|
31749
|
+
C("td", _0e, [
|
|
31750
|
+
C("span", y0e, j(h.tableName), 1),
|
|
31751
|
+
h.schemaName !== "public" ? (x(), M("span", b0e, j(h.schemaName), 1)) : F("", !0)
|
|
31754
31752
|
]),
|
|
31755
|
-
C("td",
|
|
31756
|
-
|
|
31757
|
-
|
|
31758
|
-
|
|
31759
|
-
|
|
31760
|
-
|
|
31761
|
-
|
|
31762
|
-
|
|
31763
|
-
return u(
|
|
31764
|
-
h,
|
|
31765
|
-
((_ = m.target) == null ? void 0 : _.checked) ?? !1
|
|
31766
|
-
);
|
|
31767
|
-
}
|
|
31768
|
-
}, null, 40, w0e),
|
|
31769
|
-
p[0] || (p[0] = C("span", { class: "ao-audit-config__switch-slider" }, null, -1))
|
|
31770
|
-
])
|
|
31753
|
+
C("td", C0e, [
|
|
31754
|
+
P(c0e, {
|
|
31755
|
+
label: "",
|
|
31756
|
+
"model-value": h.isEnabled,
|
|
31757
|
+
"is-disabled": t.disabled,
|
|
31758
|
+
"is-readonly": !1,
|
|
31759
|
+
"onUpdate:modelValue": (m) => u(h, m)
|
|
31760
|
+
}, null, 8, ["model-value", "is-disabled", "onUpdate:modelValue"])
|
|
31771
31761
|
]),
|
|
31772
|
-
C("td",
|
|
31762
|
+
C("td", w0e, [
|
|
31773
31763
|
h.isEnabled ? (x(), J(Vt, {
|
|
31774
31764
|
key: 1,
|
|
31775
31765
|
"model-value": h.excludeColumns,
|
|
31776
31766
|
class: "ao-audit-config__multiselect",
|
|
31777
31767
|
mode: "tags",
|
|
31768
|
+
"value-prop": "value",
|
|
31769
|
+
label: "label",
|
|
31770
|
+
"track-by": "label",
|
|
31778
31771
|
"close-on-select": !1,
|
|
31779
|
-
searchable: !
|
|
31772
|
+
searchable: !0,
|
|
31780
31773
|
options: c(h),
|
|
31781
31774
|
disabled: t.disabled,
|
|
31782
31775
|
caret: !t.disabled,
|
|
31783
31776
|
"onUpdate:modelValue": (m) => d(h, m)
|
|
31784
31777
|
}, {
|
|
31785
31778
|
option: ce(({ option: m }) => [
|
|
31786
|
-
C("span",
|
|
31779
|
+
C("span", x0e, [
|
|
31787
31780
|
ho(j(m.label) + " ", 1),
|
|
31788
31781
|
m.isPrimaryKey ? (x(), M("span", {
|
|
31789
31782
|
key: 0,
|
|
31790
31783
|
class: "ao-audit-config__pk",
|
|
31791
31784
|
title: a("audit.primaryKey")
|
|
31792
|
-
}, " PK ", 8,
|
|
31785
|
+
}, " PK ", 8, S0e)) : F("", !0)
|
|
31793
31786
|
])
|
|
31794
31787
|
]),
|
|
31795
|
-
tag: ce(({ option: m, handleTagRemove: _, disabled: y }) => [
|
|
31796
|
-
P(ci, {
|
|
31797
|
-
label: m.label,
|
|
31798
|
-
closable: !y,
|
|
31799
|
-
onClose: (v) => _(m, v)
|
|
31800
|
-
}, null, 8, ["label", "closable", "onClose"])
|
|
31801
|
-
]),
|
|
31802
31788
|
placeholder: ce(() => [
|
|
31803
|
-
h.excludeColumns.length === 0 ? (x(), M("span",
|
|
31789
|
+
h.excludeColumns.length === 0 ? (x(), M("span", A0e, j(a("audit.allTracked")), 1)) : F("", !0)
|
|
31804
31790
|
]),
|
|
31805
31791
|
_: 2
|
|
31806
|
-
}, 1032, ["model-value", "options", "disabled", "caret", "onUpdate:modelValue"])) : (x(), M("div",
|
|
31792
|
+
}, 1032, ["model-value", "options", "disabled", "caret", "onUpdate:modelValue"])) : (x(), M("div", k0e, j(a("audit.auditDisabled")), 1))
|
|
31807
31793
|
])
|
|
31808
31794
|
]))), 128))
|
|
31809
31795
|
])
|
|
31810
|
-
])) : (x(), M("div",
|
|
31796
|
+
])) : (x(), M("div", p0e, j(a("audit.empty")), 1))
|
|
31811
31797
|
]));
|
|
31812
31798
|
}
|
|
31813
31799
|
});
|
|
31814
|
-
const
|
|
31800
|
+
const T0e = { class: "ao-sprint-list" }, E0e = { class: "ao-sprint-list__header" }, $0e = { class: "ao-sprint-list__title-group" }, D0e = { class: "ao-sprint-list__count" }, M0e = { class: "ao-sprint-list__actions" }, O0e = {
|
|
31815
31801
|
key: 0,
|
|
31816
31802
|
class: "ao-sprint-list__toggle"
|
|
31817
|
-
},
|
|
31803
|
+
}, L0e = {
|
|
31818
31804
|
key: 0,
|
|
31819
31805
|
class: "ao-sprint-list__row ao-sprint-list__row--editing"
|
|
31820
|
-
},
|
|
31806
|
+
}, N0e = ["title", "onClick"], I0e = ["placeholder"], P0e = { class: "ao-sprint-list__date-fields" }, F0e = { class: "ao-sprint-list__row-actions" }, R0e = { class: "ao-sprint-list__rows" }, B0e = { class: "ao-sprint-list__identity" }, U0e = { class: "ao-sprint-list__name-group" }, H0e = { class: "ao-sprint-list__name" }, q0e = {
|
|
31821
31807
|
key: 0,
|
|
31822
31808
|
class: "ao-sprint-list__archived-badge"
|
|
31823
|
-
},
|
|
31809
|
+
}, z0e = { class: "ao-sprint-list__dates" }, V0e = {
|
|
31824
31810
|
key: 0,
|
|
31825
31811
|
class: "ao-sprint-list__row-actions"
|
|
31826
|
-
},
|
|
31812
|
+
}, j0e = ["title", "onClick"], W0e = { class: "ao-sprint-list__date-fields" }, Z0e = { class: "ao-sprint-list__row-actions" }, K0e = {
|
|
31827
31813
|
key: 1,
|
|
31828
31814
|
class: "ao-sprint-list__empty"
|
|
31829
|
-
},
|
|
31815
|
+
}, G0e = /* @__PURE__ */ ue({
|
|
31830
31816
|
__name: "AoSprintList",
|
|
31831
31817
|
props: {
|
|
31832
31818
|
sprints: {},
|
|
@@ -31865,7 +31851,7 @@ const E0e = { class: "ao-sprint-list" }, $0e = { class: "ao-sprint-list__header"
|
|
|
31865
31851
|
confirm(o("sprint.confirmArchive")) && r("archiveSprint", { id: D });
|
|
31866
31852
|
}, m = (D) => {
|
|
31867
31853
|
r("unarchiveSprint", { id: D });
|
|
31868
|
-
}, _ = (D) => Iu(
|
|
31854
|
+
}, _ = (D) => Iu(ci(D), "dd/MM/yy"), y = () => n.sprints.reduce((E, T) => {
|
|
31869
31855
|
const O = T.name.match(/^Sprint\s*(\d+)$/);
|
|
31870
31856
|
return O ? Math.max(E, parseInt(O[1], 10)) : E;
|
|
31871
31857
|
}, 0) + 1, v = re(!1), g = re({
|
|
@@ -31895,14 +31881,14 @@ const E0e = { class: "ao-sprint-list" }, $0e = { class: "ao-sprint-list__header"
|
|
|
31895
31881
|
color: g.value.color || void 0
|
|
31896
31882
|
}), k());
|
|
31897
31883
|
}, S = L(() => v.value ? !!(g.value.name && g.value.startDate && g.value.endDate) : a.value ? !!(l.value.name && l.value.startDate && l.value.endDate) : !1);
|
|
31898
|
-
return (D, E) => (x(), M("section",
|
|
31899
|
-
C("div",
|
|
31900
|
-
C("div",
|
|
31884
|
+
return (D, E) => (x(), M("section", T0e, [
|
|
31885
|
+
C("div", E0e, [
|
|
31886
|
+
C("div", $0e, [
|
|
31901
31887
|
C("h3", null, j(ie(o)("sprint.planning")), 1),
|
|
31902
|
-
C("span",
|
|
31888
|
+
C("span", D0e, j(s.value.length), 1)
|
|
31903
31889
|
]),
|
|
31904
|
-
C("div",
|
|
31905
|
-
t.sprints.some((T) => !T.active) ? (x(), M("label",
|
|
31890
|
+
C("div", M0e, [
|
|
31891
|
+
t.sprints.some((T) => !T.active) ? (x(), M("label", O0e, [
|
|
31906
31892
|
rt(C("input", {
|
|
31907
31893
|
"onUpdate:modelValue": E[0] || (E[0] = (T) => i.value = T),
|
|
31908
31894
|
type: "checkbox"
|
|
@@ -31923,7 +31909,7 @@ const E0e = { class: "ao-sprint-list" }, $0e = { class: "ao-sprint-list__header"
|
|
|
31923
31909
|
}, null, 8, ["label"])) : F("", !0)
|
|
31924
31910
|
])
|
|
31925
31911
|
]),
|
|
31926
|
-
v.value ? (x(), M("div",
|
|
31912
|
+
v.value ? (x(), M("div", L0e, [
|
|
31927
31913
|
P(Es, {
|
|
31928
31914
|
color: g.value.color,
|
|
31929
31915
|
"onUpdate:color": E[1] || (E[1] = (T) => g.value.color = T)
|
|
@@ -31936,7 +31922,7 @@ const E0e = { class: "ao-sprint-list" }, $0e = { class: "ao-sprint-list__header"
|
|
|
31936
31922
|
style: Jt({ backgroundColor: O }),
|
|
31937
31923
|
title: ie(o)("sprint.color"),
|
|
31938
31924
|
onClick: (A) => T(A.currentTarget)
|
|
31939
|
-
}, null, 12,
|
|
31925
|
+
}, null, 12, N0e)
|
|
31940
31926
|
]),
|
|
31941
31927
|
_: 1
|
|
31942
31928
|
}, 8, ["color"]),
|
|
@@ -31945,10 +31931,10 @@ const E0e = { class: "ao-sprint-list" }, $0e = { class: "ao-sprint-list__header"
|
|
|
31945
31931
|
type: "text",
|
|
31946
31932
|
class: "ao-sprint-list__input ao-sprint-list__input--name",
|
|
31947
31933
|
placeholder: ie(o)("sprint.name")
|
|
31948
|
-
}, null, 8,
|
|
31934
|
+
}, null, 8, I0e), [
|
|
31949
31935
|
[Dt, g.value.name]
|
|
31950
31936
|
]),
|
|
31951
|
-
C("div",
|
|
31937
|
+
C("div", P0e, [
|
|
31952
31938
|
rt(C("input", {
|
|
31953
31939
|
"onUpdate:modelValue": E[3] || (E[3] = (T) => g.value.startDate = T),
|
|
31954
31940
|
type: "date",
|
|
@@ -31965,7 +31951,7 @@ const E0e = { class: "ao-sprint-list" }, $0e = { class: "ao-sprint-list__header"
|
|
|
31965
31951
|
[Dt, g.value.endDate]
|
|
31966
31952
|
])
|
|
31967
31953
|
]),
|
|
31968
|
-
C("div",
|
|
31954
|
+
C("div", F0e, [
|
|
31969
31955
|
P(xe, {
|
|
31970
31956
|
color: "success",
|
|
31971
31957
|
variant: "ghost",
|
|
@@ -31985,7 +31971,7 @@ const E0e = { class: "ao-sprint-list" }, $0e = { class: "ao-sprint-list__header"
|
|
|
31985
31971
|
}, null, 8, ["title"])
|
|
31986
31972
|
])
|
|
31987
31973
|
])) : F("", !0),
|
|
31988
|
-
C("div",
|
|
31974
|
+
C("div", R0e, [
|
|
31989
31975
|
(x(!0), M(Pe, null, ot(s.value, (T) => (x(), M("div", {
|
|
31990
31976
|
key: T.id,
|
|
31991
31977
|
class: ve(["ao-sprint-list__row", {
|
|
@@ -31994,26 +31980,26 @@ const E0e = { class: "ao-sprint-list" }, $0e = { class: "ao-sprint-list__header"
|
|
|
31994
31980
|
}])
|
|
31995
31981
|
}, [
|
|
31996
31982
|
a.value !== T.id ? (x(), M(Pe, { key: 0 }, [
|
|
31997
|
-
C("div",
|
|
31983
|
+
C("div", B0e, [
|
|
31998
31984
|
C("span", {
|
|
31999
31985
|
class: "ao-sprint-list__color-dot",
|
|
32000
31986
|
style: Jt({
|
|
32001
31987
|
backgroundColor: T.color || "var(--ao-color-primary-base)"
|
|
32002
31988
|
})
|
|
32003
31989
|
}, null, 4),
|
|
32004
|
-
C("div",
|
|
32005
|
-
C("span",
|
|
32006
|
-
T.active ? F("", !0) : (x(), M("span",
|
|
31990
|
+
C("div", U0e, [
|
|
31991
|
+
C("span", H0e, j(T.name), 1),
|
|
31992
|
+
T.active ? F("", !0) : (x(), M("span", q0e, j(ie(o)("sprint.archived")), 1))
|
|
32007
31993
|
])
|
|
32008
31994
|
]),
|
|
32009
|
-
C("div",
|
|
31995
|
+
C("div", z0e, [
|
|
32010
31996
|
P(Ie, {
|
|
32011
31997
|
name: "CalendarTodayOutlineRounded",
|
|
32012
31998
|
size: "sm"
|
|
32013
31999
|
}),
|
|
32014
32000
|
C("span", null, j(_(T.startDate)) + " – " + j(_(T.endDate)), 1)
|
|
32015
32001
|
]),
|
|
32016
|
-
t.isEditable ? (x(), M("div",
|
|
32002
|
+
t.isEditable ? (x(), M("div", V0e, [
|
|
32017
32003
|
P(xe, {
|
|
32018
32004
|
color: "neutral",
|
|
32019
32005
|
variant: "ghost",
|
|
@@ -32048,7 +32034,7 @@ const E0e = { class: "ao-sprint-list" }, $0e = { class: "ao-sprint-list__header"
|
|
|
32048
32034
|
style: Jt({ backgroundColor: A }),
|
|
32049
32035
|
title: ie(o)("sprint.color"),
|
|
32050
32036
|
onClick: (N) => O(N.currentTarget)
|
|
32051
|
-
}, null, 12,
|
|
32037
|
+
}, null, 12, j0e)
|
|
32052
32038
|
]),
|
|
32053
32039
|
_: 1
|
|
32054
32040
|
}, 8, ["color"]),
|
|
@@ -32059,7 +32045,7 @@ const E0e = { class: "ao-sprint-list" }, $0e = { class: "ao-sprint-list__header"
|
|
|
32059
32045
|
}, null, 512), [
|
|
32060
32046
|
[Dt, l.value.name]
|
|
32061
32047
|
]),
|
|
32062
|
-
C("div",
|
|
32048
|
+
C("div", W0e, [
|
|
32063
32049
|
rt(C("input", {
|
|
32064
32050
|
"onUpdate:modelValue": E[7] || (E[7] = (O) => l.value.startDate = O),
|
|
32065
32051
|
type: "date",
|
|
@@ -32076,7 +32062,7 @@ const E0e = { class: "ao-sprint-list" }, $0e = { class: "ao-sprint-list__header"
|
|
|
32076
32062
|
[Dt, l.value.endDate]
|
|
32077
32063
|
])
|
|
32078
32064
|
]),
|
|
32079
|
-
C("div",
|
|
32065
|
+
C("div", Z0e, [
|
|
32080
32066
|
P(xe, {
|
|
32081
32067
|
color: "success",
|
|
32082
32068
|
variant: "ghost",
|
|
@@ -32098,36 +32084,36 @@ const E0e = { class: "ao-sprint-list" }, $0e = { class: "ao-sprint-list__header"
|
|
|
32098
32084
|
], 64))
|
|
32099
32085
|
], 2))), 128))
|
|
32100
32086
|
]),
|
|
32101
|
-
s.value.length === 0 && !v.value ? (x(), M("div",
|
|
32087
|
+
s.value.length === 0 && !v.value ? (x(), M("div", K0e, j(ie(o)("sprint.noSprints")), 1)) : F("", !0)
|
|
32102
32088
|
]));
|
|
32103
32089
|
}
|
|
32104
32090
|
});
|
|
32105
|
-
const
|
|
32091
|
+
const dve = /* @__PURE__ */ fe(G0e, [["__scopeId", "data-v-698944ea"]]);
|
|
32106
32092
|
export {
|
|
32107
|
-
|
|
32093
|
+
uve as AoAuditConfigTable,
|
|
32108
32094
|
Zr as AoAvatar,
|
|
32109
32095
|
w0 as AoCardFeed,
|
|
32110
|
-
|
|
32096
|
+
c0e as AoCheckboxField,
|
|
32111
32097
|
Es as AoColorPicker,
|
|
32112
32098
|
Jp as AoFeed,
|
|
32113
32099
|
o0e as AoField,
|
|
32114
|
-
|
|
32100
|
+
cve as AoInputField,
|
|
32115
32101
|
Vt as AoMultiselect,
|
|
32116
32102
|
y0 as AoProjectPhases,
|
|
32117
|
-
|
|
32103
|
+
dve as AoSprintList,
|
|
32118
32104
|
Kl as AoTabBar,
|
|
32119
32105
|
vpe as AoTemplateDetails,
|
|
32120
|
-
|
|
32106
|
+
eve as AoTemplates,
|
|
32121
32107
|
n0e as AoTemplatesList,
|
|
32122
32108
|
_y as EstimationUnit,
|
|
32123
32109
|
vy as TemplateItemTypeEnum,
|
|
32124
32110
|
Ko as activityFeedRoutes,
|
|
32125
|
-
|
|
32126
|
-
|
|
32111
|
+
nve as activityFeedStatus,
|
|
32112
|
+
tve as durationTypes,
|
|
32127
32113
|
to as feedFilterTypes,
|
|
32128
|
-
|
|
32129
|
-
|
|
32130
|
-
|
|
32114
|
+
lve as getProjectOverviewRoutes,
|
|
32115
|
+
ave as getTemplateRoutes,
|
|
32116
|
+
rve as listUpdateTypes,
|
|
32131
32117
|
Da as milestoneStatus,
|
|
32132
32118
|
et as projectOverviewRoutes,
|
|
32133
32119
|
hy as ruleComparators,
|