@dcodegroup-au/page-builder 0.1.7 → 0.1.8
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/page-builder.es.js
CHANGED
|
@@ -819,7 +819,7 @@ const xf = { render: bf }, Af = {
|
|
|
819
819
|
}, Od = { class: "page-builder" }, Nd = { class: "flex gap-4 px-6 overflow-auto" }, Rd = { class: "flex w-[356px] flex-col gap-2 pb-10" }, Cd = { class: "border-b border-gray-200 pb-2" }, Id = ["onClick"], Ld = { class: "text-lg font-semibold text-brand-800" }, kd = { class: "relative flex items-center gap-3" }, Pd = { class: "cursor-pointer" }, Fd = {
|
|
820
820
|
key: 0,
|
|
821
821
|
class: "flex flex-col gap-2"
|
|
822
|
-
}, Md = ["onClick"], Dd = { class: "flex flex-col" }, Bd = { class: "text-sm font-medium text-gray-900" }, Ud = { class: "flex items-center justify-between gap-3 px-[10px]" }, jd = { class: "flex h-full flex-1 flex-col rounded-xl bg-gray-50 px-6 py-5 mb-20" }, $d = { class: "flex justify-between space-x-xsSpace pt-xsSpace gap-4 fixed bottom-0 w-full bg-gray-200 py-2 px-6" },
|
|
822
|
+
}, Md = ["onClick"], Dd = { class: "flex flex-col" }, Bd = { class: "text-sm font-medium text-gray-900" }, Ud = { class: "flex items-center justify-between gap-3 px-[10px]" }, jd = { class: "flex h-full flex-1 flex-col rounded-xl bg-gray-50 px-6 py-5 mb-20" }, $d = { class: "flex justify-between space-x-xsSpace pt-xsSpace gap-4 fixed bottom-0 w-full bg-gray-200 py-2 px-6" }, Yx = {
|
|
823
823
|
__name: "PageBuilder",
|
|
824
824
|
props: {
|
|
825
825
|
modelValue: {
|
|
@@ -2135,12 +2135,12 @@ const Rh = { render: Nh }, Ch = { class: "w-full bg-navy-800 py-10 relative lg:h
|
|
|
2135
2135
|
qe(He(Rh), { class: "absolute right-0 top-0" })
|
|
2136
2136
|
]));
|
|
2137
2137
|
}
|
|
2138
|
-
}, Ph = { class: "flex flex-col md:flex-row justify-center gap-4 items-stretch mt-6" }, Fh = { class: "flex-1 w-full md:w-1/2 flex flex-col" }, Mh = ["onClick"], Dh = { class: "py-4 pl-4 md:pl-6" }, Bh = { class: "flex-1 w-full md:w-1/2 bg-transparent flex flex-col items-center" },
|
|
2138
|
+
}, Ph = { class: "flex flex-col md:flex-row justify-center gap-4 items-stretch mt-6" }, Fh = { class: "flex-1 w-full md:w-1/2 flex flex-col" }, Mh = ["onClick"], Dh = { class: "py-4 pl-4 md:pl-6" }, Bh = ["innerHTML"], Uh = { class: "flex-1 w-full md:w-1/2 bg-transparent flex flex-col items-center" }, jh = ["src"], $h = {
|
|
2139
2139
|
key: 1,
|
|
2140
2140
|
class: "rounded-[20px] md:rounded-[40px] object-contain max-h-[200px] md:max-h-[387px] w-full",
|
|
2141
2141
|
src: Wl,
|
|
2142
2142
|
alt: "No Image Available"
|
|
2143
|
-
},
|
|
2143
|
+
}, _h = ["target", "href"], qh = {
|
|
2144
2144
|
__name: "VVerticalTabPresenter",
|
|
2145
2145
|
props: {
|
|
2146
2146
|
component: {
|
|
@@ -2168,13 +2168,14 @@ const Rh = { render: Nh }, Ch = { class: "w-full bg-navy-800 py-10 relative lg:h
|
|
|
2168
2168
|
class: xt([{ "text-gray-900": r.value === i, "text-gray-600": r.value !== i }, "text-lg md:text-xl font-semibold mb-2 group-hover:text-gray-900"])
|
|
2169
2169
|
}, ze(i.title), 3),
|
|
2170
2170
|
ne("p", {
|
|
2171
|
-
class: xt([{ "text-gray-700": r.value === i, "text-gray-400": r.value !== i }, "text-sm md:text-md font-normal group-hover:text-gray-700"])
|
|
2172
|
-
|
|
2171
|
+
class: xt([{ "text-gray-700": r.value === i, "text-gray-400": r.value !== i }, "text-sm md:text-md font-normal group-hover:text-gray-700"]),
|
|
2172
|
+
innerHTML: i.description
|
|
2173
|
+
}, null, 10, Bh)
|
|
2173
2174
|
])
|
|
2174
2175
|
], 10, Mh)
|
|
2175
2176
|
]))), 128))
|
|
2176
2177
|
]),
|
|
2177
|
-
ne("div",
|
|
2178
|
+
ne("div", Uh, [
|
|
2178
2179
|
qe(jl, {
|
|
2179
2180
|
name: "fade",
|
|
2180
2181
|
mode: "out-in"
|
|
@@ -2191,7 +2192,7 @@ const Rh = { render: Nh }, Ch = { class: "w-full bg-navy-800 py-10 relative lg:h
|
|
|
2191
2192
|
src: r.value.featured_image,
|
|
2192
2193
|
alt: "Selected Item Image",
|
|
2193
2194
|
class: "rounded-[20px] md:rounded-[40px] object-contain max-h-[200px] md:max-h-[387px] w-full"
|
|
2194
|
-
}, null, 8,
|
|
2195
|
+
}, null, 8, jh)) : (fe(), ye("img", $h)),
|
|
2195
2196
|
(d = (c = r.value) == null ? void 0 : c.primary_button) != null && d.show ? (fe(), ye("a", {
|
|
2196
2197
|
key: 2,
|
|
2197
2198
|
class: "text-sm md:text-md font-semibold text-brand-600 flex items-center gap-2 mt-4",
|
|
@@ -2200,7 +2201,7 @@ const Rh = { render: Nh }, Ch = { class: "w-full bg-navy-800 py-10 relative lg:h
|
|
|
2200
2201
|
}, [
|
|
2201
2202
|
oi(ze(((S = (b = r.value) == null ? void 0 : b.primary_button) == null ? void 0 : S.label) ?? "N/A") + " ", 1),
|
|
2202
2203
|
qe(He($a), { class: "w-4 h-4 md:w-5 md:h-5" })
|
|
2203
|
-
], 8,
|
|
2204
|
+
], 8, _h)) : at("", !0)
|
|
2204
2205
|
]))
|
|
2205
2206
|
];
|
|
2206
2207
|
}),
|
|
@@ -2209,7 +2210,7 @@ const Rh = { render: Nh }, Ch = { class: "w-full bg-navy-800 py-10 relative lg:h
|
|
|
2209
2210
|
])
|
|
2210
2211
|
]));
|
|
2211
2212
|
}
|
|
2212
|
-
},
|
|
2213
|
+
}, zh = /* @__PURE__ */ vs(qh, [["__scopeId", "data-v-d75b98b7"]]), Hh = { class: "max-w-[1392px] 1xl:max-w-[1824px] mx-auto w-full" }, Vh = { class: "md:mx-[90px] bg-navy-25 rounded-[48px] p-16" }, Gh = {
|
|
2213
2214
|
__name: "VTabs",
|
|
2214
2215
|
props: {
|
|
2215
2216
|
section: {
|
|
@@ -2220,10 +2221,10 @@ const Rh = { render: Nh }, Ch = { class: "w-full bg-navy-800 py-10 relative lg:h
|
|
|
2220
2221
|
setup(n) {
|
|
2221
2222
|
const t = Me(n.section), r = Me({
|
|
2222
2223
|
header: Ut(tu),
|
|
2223
|
-
vertical_tabs: Ut(
|
|
2224
|
+
vertical_tabs: Ut(zh)
|
|
2224
2225
|
}), s = (o) => o != null && o.type ? r.value[o == null ? void 0 : o.type] : "";
|
|
2225
|
-
return (o, a) => (fe(), ye("div",
|
|
2226
|
-
ne("div",
|
|
2226
|
+
return (o, a) => (fe(), ye("div", Hh, [
|
|
2227
|
+
ne("div", Vh, [
|
|
2227
2228
|
(fe(!0), ye(At, null, _t(t.value.components, (u, i) => (fe(), ye("div", null, [
|
|
2228
2229
|
(fe(), Ht(Ur(s(u)), {
|
|
2229
2230
|
key: i,
|
|
@@ -2233,7 +2234,7 @@ const Rh = { render: Nh }, Ch = { class: "w-full bg-navy-800 py-10 relative lg:h
|
|
|
2233
2234
|
])
|
|
2234
2235
|
]));
|
|
2235
2236
|
}
|
|
2236
|
-
},
|
|
2237
|
+
}, Wh = { class: "page-render" }, Zx = {
|
|
2237
2238
|
__name: "PageRender",
|
|
2238
2239
|
props: {
|
|
2239
2240
|
page: {
|
|
@@ -2245,9 +2246,9 @@ const Rh = { render: Nh }, Ch = { class: "w-full bg-navy-800 py-10 relative lg:h
|
|
|
2245
2246
|
const e = Me({
|
|
2246
2247
|
header: Ut(Th),
|
|
2247
2248
|
quick_links: Ut(kh),
|
|
2248
|
-
tabs: Ut(
|
|
2249
|
+
tabs: Ut(Gh)
|
|
2249
2250
|
}), t = (r) => r != null && r.type ? e.value[r == null ? void 0 : r.type] : "";
|
|
2250
|
-
return (r, s) => (fe(), ye("div",
|
|
2251
|
+
return (r, s) => (fe(), ye("div", Wh, [
|
|
2251
2252
|
(fe(!0), ye(At, null, _t(n.page.sections, (o, a) => (fe(), ye("div", null, [
|
|
2252
2253
|
(fe(), Ht(Ur(t(o)), {
|
|
2253
2254
|
key: a,
|
|
@@ -2257,24 +2258,24 @@ const Rh = { render: Nh }, Ch = { class: "w-full bg-navy-800 py-10 relative lg:h
|
|
|
2257
2258
|
]));
|
|
2258
2259
|
}
|
|
2259
2260
|
};
|
|
2260
|
-
var nu = typeof global == "object" && global && global.Object === Object && global,
|
|
2261
|
-
function
|
|
2262
|
-
var e =
|
|
2261
|
+
var nu = typeof global == "object" && global && global.Object === Object && global, Kh = typeof self == "object" && self && self.Object === Object && self, wn = nu || Kh || Function("return this")(), Hn = wn.Symbol, ru = Object.prototype, Xh = ru.hasOwnProperty, Yh = ru.toString, Gr = Hn ? Hn.toStringTag : void 0;
|
|
2262
|
+
function Zh(n) {
|
|
2263
|
+
var e = Xh.call(n, Gr), t = n[Gr];
|
|
2263
2264
|
try {
|
|
2264
2265
|
n[Gr] = void 0;
|
|
2265
2266
|
var r = !0;
|
|
2266
2267
|
} catch {
|
|
2267
2268
|
}
|
|
2268
|
-
var s =
|
|
2269
|
+
var s = Yh.call(n);
|
|
2269
2270
|
return r && (e ? n[Gr] = t : delete n[Gr]), s;
|
|
2270
2271
|
}
|
|
2271
|
-
var
|
|
2272
|
-
function
|
|
2273
|
-
return
|
|
2272
|
+
var Qh = Object.prototype, Jh = Qh.toString;
|
|
2273
|
+
function ep(n) {
|
|
2274
|
+
return Jh.call(n);
|
|
2274
2275
|
}
|
|
2275
|
-
var
|
|
2276
|
+
var tp = "[object Null]", np = "[object Undefined]", wo = Hn ? Hn.toStringTag : void 0;
|
|
2276
2277
|
function jr(n) {
|
|
2277
|
-
return n == null ? n === void 0 ?
|
|
2278
|
+
return n == null ? n === void 0 ? np : tp : wo && wo in Object(n) ? Zh(n) : ep(n);
|
|
2278
2279
|
}
|
|
2279
2280
|
function In(n) {
|
|
2280
2281
|
return n != null && typeof n == "object";
|
|
@@ -2287,25 +2288,25 @@ function Vn(n) {
|
|
|
2287
2288
|
function su(n) {
|
|
2288
2289
|
return n;
|
|
2289
2290
|
}
|
|
2290
|
-
var
|
|
2291
|
+
var rp = "[object AsyncFunction]", sp = "[object Function]", ip = "[object GeneratorFunction]", ap = "[object Proxy]";
|
|
2291
2292
|
function _a(n) {
|
|
2292
2293
|
if (!Vn(n))
|
|
2293
2294
|
return !1;
|
|
2294
2295
|
var e = jr(n);
|
|
2295
|
-
return e ==
|
|
2296
|
+
return e == sp || e == ip || e == rp || e == ap;
|
|
2296
2297
|
}
|
|
2297
2298
|
var $i = wn["__core-js_shared__"], Eo = function() {
|
|
2298
2299
|
var n = /[^.]+$/.exec($i && $i.keys && $i.keys.IE_PROTO || "");
|
|
2299
2300
|
return n ? "Symbol(src)_1." + n : "";
|
|
2300
2301
|
}();
|
|
2301
|
-
function
|
|
2302
|
+
function op(n) {
|
|
2302
2303
|
return !!Eo && Eo in n;
|
|
2303
2304
|
}
|
|
2304
|
-
var
|
|
2305
|
+
var lp = Function.prototype, up = lp.toString;
|
|
2305
2306
|
function ar(n) {
|
|
2306
2307
|
if (n != null) {
|
|
2307
2308
|
try {
|
|
2308
|
-
return
|
|
2309
|
+
return up.call(n);
|
|
2309
2310
|
} catch {
|
|
2310
2311
|
}
|
|
2311
2312
|
try {
|
|
@@ -2315,23 +2316,23 @@ function ar(n) {
|
|
|
2315
2316
|
}
|
|
2316
2317
|
return "";
|
|
2317
2318
|
}
|
|
2318
|
-
var
|
|
2319
|
-
"^" +
|
|
2319
|
+
var cp = /[\\^$.*+?()[\]{}|]/g, fp = /^\[object .+?Constructor\]$/, dp = Function.prototype, hp = Object.prototype, pp = dp.toString, gp = hp.hasOwnProperty, vp = RegExp(
|
|
2320
|
+
"^" + pp.call(gp).replace(cp, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
2320
2321
|
);
|
|
2321
|
-
function
|
|
2322
|
-
if (!Vn(n) ||
|
|
2322
|
+
function mp(n) {
|
|
2323
|
+
if (!Vn(n) || op(n))
|
|
2323
2324
|
return !1;
|
|
2324
|
-
var e = _a(n) ?
|
|
2325
|
+
var e = _a(n) ? vp : fp;
|
|
2325
2326
|
return e.test(ar(n));
|
|
2326
2327
|
}
|
|
2327
|
-
function
|
|
2328
|
+
function yp(n, e) {
|
|
2328
2329
|
return n == null ? void 0 : n[e];
|
|
2329
2330
|
}
|
|
2330
2331
|
function or(n, e) {
|
|
2331
|
-
var t =
|
|
2332
|
-
return
|
|
2332
|
+
var t = yp(n, e);
|
|
2333
|
+
return mp(t) ? t : void 0;
|
|
2333
2334
|
}
|
|
2334
|
-
var ca = or(wn, "WeakMap"), So = Object.create,
|
|
2335
|
+
var ca = or(wn, "WeakMap"), So = Object.create, bp = /* @__PURE__ */ function() {
|
|
2335
2336
|
function n() {
|
|
2336
2337
|
}
|
|
2337
2338
|
return function(e) {
|
|
@@ -2344,7 +2345,7 @@ var ca = or(wn, "WeakMap"), So = Object.create, yp = /* @__PURE__ */ function()
|
|
|
2344
2345
|
return n.prototype = void 0, t;
|
|
2345
2346
|
};
|
|
2346
2347
|
}();
|
|
2347
|
-
function
|
|
2348
|
+
function xp(n, e, t) {
|
|
2348
2349
|
switch (t.length) {
|
|
2349
2350
|
case 0:
|
|
2350
2351
|
return n.call(e);
|
|
@@ -2357,26 +2358,26 @@ function bp(n, e, t) {
|
|
|
2357
2358
|
}
|
|
2358
2359
|
return n.apply(e, t);
|
|
2359
2360
|
}
|
|
2360
|
-
function
|
|
2361
|
+
function Ap(n, e) {
|
|
2361
2362
|
var t = -1, r = n.length;
|
|
2362
2363
|
for (e || (e = Array(r)); ++t < r; )
|
|
2363
2364
|
e[t] = n[t];
|
|
2364
2365
|
return e;
|
|
2365
2366
|
}
|
|
2366
|
-
var
|
|
2367
|
-
function
|
|
2367
|
+
var wp = 800, Ep = 16, Sp = Date.now;
|
|
2368
|
+
function Tp(n) {
|
|
2368
2369
|
var e = 0, t = 0;
|
|
2369
2370
|
return function() {
|
|
2370
|
-
var r =
|
|
2371
|
+
var r = Sp(), s = Ep - (r - t);
|
|
2371
2372
|
if (t = r, s > 0) {
|
|
2372
|
-
if (++e >=
|
|
2373
|
+
if (++e >= wp)
|
|
2373
2374
|
return arguments[0];
|
|
2374
2375
|
} else
|
|
2375
2376
|
e = 0;
|
|
2376
2377
|
return n.apply(void 0, arguments);
|
|
2377
2378
|
};
|
|
2378
2379
|
}
|
|
2379
|
-
function
|
|
2380
|
+
function Op(n) {
|
|
2380
2381
|
return function() {
|
|
2381
2382
|
return n;
|
|
2382
2383
|
};
|
|
@@ -2387,23 +2388,23 @@ var ei = function() {
|
|
|
2387
2388
|
return n({}, "", {}), n;
|
|
2388
2389
|
} catch {
|
|
2389
2390
|
}
|
|
2390
|
-
}(),
|
|
2391
|
+
}(), Np = ei ? function(n, e) {
|
|
2391
2392
|
return ei(n, "toString", {
|
|
2392
2393
|
configurable: !0,
|
|
2393
2394
|
enumerable: !1,
|
|
2394
|
-
value:
|
|
2395
|
+
value: Op(e),
|
|
2395
2396
|
writable: !0
|
|
2396
2397
|
});
|
|
2397
|
-
} : su,
|
|
2398
|
-
function
|
|
2398
|
+
} : su, Rp = Tp(Np);
|
|
2399
|
+
function Cp(n, e) {
|
|
2399
2400
|
for (var t = -1, r = n == null ? 0 : n.length; ++t < r && e(n[t], t, n) !== !1; )
|
|
2400
2401
|
;
|
|
2401
2402
|
return n;
|
|
2402
2403
|
}
|
|
2403
|
-
var
|
|
2404
|
+
var Ip = 9007199254740991, Lp = /^(?:0|[1-9]\d*)$/;
|
|
2404
2405
|
function iu(n, e) {
|
|
2405
2406
|
var t = typeof n;
|
|
2406
|
-
return e = e ??
|
|
2407
|
+
return e = e ?? Ip, !!e && (t == "number" || t != "symbol" && Lp.test(n)) && n > -1 && n % 1 == 0 && n < e;
|
|
2407
2408
|
}
|
|
2408
2409
|
function qa(n, e, t) {
|
|
2409
2410
|
e == "__proto__" && ei ? ei(n, e, {
|
|
@@ -2416,12 +2417,12 @@ function qa(n, e, t) {
|
|
|
2416
2417
|
function ms(n, e) {
|
|
2417
2418
|
return n === e || n !== n && e !== e;
|
|
2418
2419
|
}
|
|
2419
|
-
var
|
|
2420
|
+
var kp = Object.prototype, Pp = kp.hasOwnProperty;
|
|
2420
2421
|
function au(n, e, t) {
|
|
2421
2422
|
var r = n[e];
|
|
2422
|
-
(!(
|
|
2423
|
+
(!(Pp.call(n, e) && ms(r, t)) || t === void 0 && !(e in n)) && qa(n, e, t);
|
|
2423
2424
|
}
|
|
2424
|
-
function
|
|
2425
|
+
function Fp(n, e, t, r) {
|
|
2425
2426
|
var s = !t;
|
|
2426
2427
|
t || (t = {});
|
|
2427
2428
|
for (var o = -1, a = e.length; ++o < a; ) {
|
|
@@ -2431,68 +2432,68 @@ function Pp(n, e, t, r) {
|
|
|
2431
2432
|
return t;
|
|
2432
2433
|
}
|
|
2433
2434
|
var To = Math.max;
|
|
2434
|
-
function
|
|
2435
|
+
function Mp(n, e, t) {
|
|
2435
2436
|
return e = To(e === void 0 ? n.length - 1 : e, 0), function() {
|
|
2436
2437
|
for (var r = arguments, s = -1, o = To(r.length - e, 0), a = Array(o); ++s < o; )
|
|
2437
2438
|
a[s] = r[e + s];
|
|
2438
2439
|
s = -1;
|
|
2439
2440
|
for (var u = Array(e + 1); ++s < e; )
|
|
2440
2441
|
u[s] = r[s];
|
|
2441
|
-
return u[e] = t(a),
|
|
2442
|
+
return u[e] = t(a), xp(n, this, u);
|
|
2442
2443
|
};
|
|
2443
2444
|
}
|
|
2444
|
-
function
|
|
2445
|
-
return
|
|
2445
|
+
function Dp(n, e) {
|
|
2446
|
+
return Rp(Mp(n, e, su), n + "");
|
|
2446
2447
|
}
|
|
2447
|
-
var
|
|
2448
|
+
var Bp = 9007199254740991;
|
|
2448
2449
|
function ou(n) {
|
|
2449
|
-
return typeof n == "number" && n > -1 && n % 1 == 0 && n <=
|
|
2450
|
+
return typeof n == "number" && n > -1 && n % 1 == 0 && n <= Bp;
|
|
2450
2451
|
}
|
|
2451
2452
|
function li(n) {
|
|
2452
2453
|
return n != null && ou(n.length) && !_a(n);
|
|
2453
2454
|
}
|
|
2454
|
-
function
|
|
2455
|
+
function Up(n, e, t) {
|
|
2455
2456
|
if (!Vn(t))
|
|
2456
2457
|
return !1;
|
|
2457
2458
|
var r = typeof e;
|
|
2458
2459
|
return (r == "number" ? li(t) && iu(e, t.length) : r == "string" && e in t) ? ms(t[e], n) : !1;
|
|
2459
2460
|
}
|
|
2460
|
-
function
|
|
2461
|
-
return
|
|
2461
|
+
function jp(n) {
|
|
2462
|
+
return Dp(function(e, t) {
|
|
2462
2463
|
var r = -1, s = t.length, o = s > 1 ? t[s - 1] : void 0, a = s > 2 ? t[2] : void 0;
|
|
2463
|
-
for (o = n.length > 3 && typeof o == "function" ? (s--, o) : void 0, a &&
|
|
2464
|
+
for (o = n.length > 3 && typeof o == "function" ? (s--, o) : void 0, a && Up(t[0], t[1], a) && (o = s < 3 ? void 0 : o, s = 1), e = Object(e); ++r < s; ) {
|
|
2464
2465
|
var u = t[r];
|
|
2465
2466
|
u && n(e, u, r, o);
|
|
2466
2467
|
}
|
|
2467
2468
|
return e;
|
|
2468
2469
|
});
|
|
2469
2470
|
}
|
|
2470
|
-
var
|
|
2471
|
+
var $p = Object.prototype;
|
|
2471
2472
|
function za(n) {
|
|
2472
|
-
var e = n && n.constructor, t = typeof e == "function" && e.prototype ||
|
|
2473
|
+
var e = n && n.constructor, t = typeof e == "function" && e.prototype || $p;
|
|
2473
2474
|
return n === t;
|
|
2474
2475
|
}
|
|
2475
|
-
function
|
|
2476
|
+
function _p(n, e) {
|
|
2476
2477
|
for (var t = -1, r = Array(n); ++t < n; )
|
|
2477
2478
|
r[t] = e(t);
|
|
2478
2479
|
return r;
|
|
2479
2480
|
}
|
|
2480
|
-
var
|
|
2481
|
+
var qp = "[object Arguments]";
|
|
2481
2482
|
function Oo(n) {
|
|
2482
|
-
return In(n) && jr(n) ==
|
|
2483
|
+
return In(n) && jr(n) == qp;
|
|
2483
2484
|
}
|
|
2484
|
-
var lu = Object.prototype,
|
|
2485
|
+
var lu = Object.prototype, zp = lu.hasOwnProperty, Hp = lu.propertyIsEnumerable, fa = Oo(/* @__PURE__ */ function() {
|
|
2485
2486
|
return arguments;
|
|
2486
2487
|
}()) ? Oo : function(n) {
|
|
2487
|
-
return In(n) &&
|
|
2488
|
+
return In(n) && zp.call(n, "callee") && !Hp.call(n, "callee");
|
|
2488
2489
|
};
|
|
2489
|
-
function
|
|
2490
|
+
function Vp() {
|
|
2490
2491
|
return !1;
|
|
2491
2492
|
}
|
|
2492
|
-
var uu = typeof exports == "object" && exports && !exports.nodeType && exports, No = uu && typeof module == "object" && module && !module.nodeType && module,
|
|
2493
|
-
it[
|
|
2494
|
-
it[
|
|
2495
|
-
function
|
|
2493
|
+
var uu = typeof exports == "object" && exports && !exports.nodeType && exports, No = uu && typeof module == "object" && module && !module.nodeType && module, Gp = No && No.exports === uu, Ro = Gp ? wn.Buffer : void 0, Wp = Ro ? Ro.isBuffer : void 0, as = Wp || Vp, Kp = "[object Arguments]", Xp = "[object Array]", Yp = "[object Boolean]", Zp = "[object Date]", Qp = "[object Error]", Jp = "[object Function]", eg = "[object Map]", tg = "[object Number]", ng = "[object Object]", rg = "[object RegExp]", sg = "[object Set]", ig = "[object String]", ag = "[object WeakMap]", og = "[object ArrayBuffer]", lg = "[object DataView]", ug = "[object Float32Array]", cg = "[object Float64Array]", fg = "[object Int8Array]", dg = "[object Int16Array]", hg = "[object Int32Array]", pg = "[object Uint8Array]", gg = "[object Uint8ClampedArray]", vg = "[object Uint16Array]", mg = "[object Uint32Array]", it = {};
|
|
2494
|
+
it[ug] = it[cg] = it[fg] = it[dg] = it[hg] = it[pg] = it[gg] = it[vg] = it[mg] = !0;
|
|
2495
|
+
it[Kp] = it[Xp] = it[og] = it[Yp] = it[lg] = it[Zp] = it[Qp] = it[Jp] = it[eg] = it[tg] = it[ng] = it[rg] = it[sg] = it[ig] = it[ag] = !1;
|
|
2496
|
+
function yg(n) {
|
|
2496
2497
|
return In(n) && ou(n.length) && !!it[jr(n)];
|
|
2497
2498
|
}
|
|
2498
2499
|
function Ha(n) {
|
|
@@ -2500,17 +2501,17 @@ function Ha(n) {
|
|
|
2500
2501
|
return n(e);
|
|
2501
2502
|
};
|
|
2502
2503
|
}
|
|
2503
|
-
var cu = typeof exports == "object" && exports && !exports.nodeType && exports, ns = cu && typeof module == "object" && module && !module.nodeType && module,
|
|
2504
|
+
var cu = typeof exports == "object" && exports && !exports.nodeType && exports, ns = cu && typeof module == "object" && module && !module.nodeType && module, bg = ns && ns.exports === cu, _i = bg && nu.process, Pr = function() {
|
|
2504
2505
|
try {
|
|
2505
2506
|
var n = ns && ns.require && ns.require("util").types;
|
|
2506
2507
|
return n || _i && _i.binding && _i.binding("util");
|
|
2507
2508
|
} catch {
|
|
2508
2509
|
}
|
|
2509
|
-
}(), Co = Pr && Pr.isTypedArray, Va = Co ? Ha(Co) :
|
|
2510
|
+
}(), Co = Pr && Pr.isTypedArray, Va = Co ? Ha(Co) : yg, xg = Object.prototype, Ag = xg.hasOwnProperty;
|
|
2510
2511
|
function fu(n, e) {
|
|
2511
|
-
var t = tr(n), r = !t && fa(n), s = !t && !r && as(n), o = !t && !r && !s && Va(n), a = t || r || s || o, u = a ?
|
|
2512
|
+
var t = tr(n), r = !t && fa(n), s = !t && !r && as(n), o = !t && !r && !s && Va(n), a = t || r || s || o, u = a ? _p(n.length, String) : [], i = u.length;
|
|
2512
2513
|
for (var l in n)
|
|
2513
|
-
(e ||
|
|
2514
|
+
(e || Ag.call(n, l)) && !(a && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
2514
2515
|
(l == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
2515
2516
|
s && (l == "offset" || l == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
2516
2517
|
o && (l == "buffer" || l == "byteLength" || l == "byteOffset") || // Skip index properties.
|
|
@@ -2522,63 +2523,63 @@ function du(n, e) {
|
|
|
2522
2523
|
return n(e(t));
|
|
2523
2524
|
};
|
|
2524
2525
|
}
|
|
2525
|
-
var
|
|
2526
|
-
function
|
|
2526
|
+
var wg = du(Object.keys, Object), Eg = Object.prototype, Sg = Eg.hasOwnProperty;
|
|
2527
|
+
function Tg(n) {
|
|
2527
2528
|
if (!za(n))
|
|
2528
|
-
return
|
|
2529
|
+
return wg(n);
|
|
2529
2530
|
var e = [];
|
|
2530
2531
|
for (var t in Object(n))
|
|
2531
|
-
|
|
2532
|
+
Sg.call(n, t) && t != "constructor" && e.push(t);
|
|
2532
2533
|
return e;
|
|
2533
2534
|
}
|
|
2534
|
-
function Tg(n) {
|
|
2535
|
-
return li(n) ? fu(n) : Sg(n);
|
|
2536
|
-
}
|
|
2537
2535
|
function Og(n) {
|
|
2536
|
+
return li(n) ? fu(n) : Tg(n);
|
|
2537
|
+
}
|
|
2538
|
+
function Ng(n) {
|
|
2538
2539
|
var e = [];
|
|
2539
2540
|
if (n != null)
|
|
2540
2541
|
for (var t in Object(n))
|
|
2541
2542
|
e.push(t);
|
|
2542
2543
|
return e;
|
|
2543
2544
|
}
|
|
2544
|
-
var
|
|
2545
|
-
function
|
|
2545
|
+
var Rg = Object.prototype, Cg = Rg.hasOwnProperty;
|
|
2546
|
+
function Ig(n) {
|
|
2546
2547
|
if (!Vn(n))
|
|
2547
|
-
return
|
|
2548
|
+
return Ng(n);
|
|
2548
2549
|
var e = za(n), t = [];
|
|
2549
2550
|
for (var r in n)
|
|
2550
|
-
r == "constructor" && (e || !
|
|
2551
|
+
r == "constructor" && (e || !Cg.call(n, r)) || t.push(r);
|
|
2551
2552
|
return t;
|
|
2552
2553
|
}
|
|
2553
2554
|
function hu(n) {
|
|
2554
|
-
return li(n) ? fu(n, !0) :
|
|
2555
|
+
return li(n) ? fu(n, !0) : Ig(n);
|
|
2555
2556
|
}
|
|
2556
2557
|
var os = or(Object, "create");
|
|
2557
|
-
function
|
|
2558
|
+
function Lg() {
|
|
2558
2559
|
this.__data__ = os ? os(null) : {}, this.size = 0;
|
|
2559
2560
|
}
|
|
2560
|
-
function
|
|
2561
|
+
function kg(n) {
|
|
2561
2562
|
var e = this.has(n) && delete this.__data__[n];
|
|
2562
2563
|
return this.size -= e ? 1 : 0, e;
|
|
2563
2564
|
}
|
|
2564
|
-
var
|
|
2565
|
-
function
|
|
2565
|
+
var Pg = "__lodash_hash_undefined__", Fg = Object.prototype, Mg = Fg.hasOwnProperty;
|
|
2566
|
+
function Dg(n) {
|
|
2566
2567
|
var e = this.__data__;
|
|
2567
2568
|
if (os) {
|
|
2568
2569
|
var t = e[n];
|
|
2569
|
-
return t ===
|
|
2570
|
+
return t === Pg ? void 0 : t;
|
|
2570
2571
|
}
|
|
2571
|
-
return
|
|
2572
|
+
return Mg.call(e, n) ? e[n] : void 0;
|
|
2572
2573
|
}
|
|
2573
|
-
var
|
|
2574
|
-
function
|
|
2574
|
+
var Bg = Object.prototype, Ug = Bg.hasOwnProperty;
|
|
2575
|
+
function jg(n) {
|
|
2575
2576
|
var e = this.__data__;
|
|
2576
|
-
return os ? e[n] !== void 0 :
|
|
2577
|
+
return os ? e[n] !== void 0 : Ug.call(e, n);
|
|
2577
2578
|
}
|
|
2578
|
-
var
|
|
2579
|
-
function
|
|
2579
|
+
var $g = "__lodash_hash_undefined__";
|
|
2580
|
+
function _g(n, e) {
|
|
2580
2581
|
var t = this.__data__;
|
|
2581
|
-
return this.size += this.has(n) ? 0 : 1, t[n] = os && e === void 0 ?
|
|
2582
|
+
return this.size += this.has(n) ? 0 : 1, t[n] = os && e === void 0 ? $g : e, this;
|
|
2582
2583
|
}
|
|
2583
2584
|
function nr(n) {
|
|
2584
2585
|
var e = -1, t = n == null ? 0 : n.length;
|
|
@@ -2587,12 +2588,12 @@ function nr(n) {
|
|
|
2587
2588
|
this.set(r[0], r[1]);
|
|
2588
2589
|
}
|
|
2589
2590
|
}
|
|
2590
|
-
nr.prototype.clear =
|
|
2591
|
-
nr.prototype.delete =
|
|
2592
|
-
nr.prototype.get =
|
|
2593
|
-
nr.prototype.has =
|
|
2594
|
-
nr.prototype.set =
|
|
2595
|
-
function
|
|
2591
|
+
nr.prototype.clear = Lg;
|
|
2592
|
+
nr.prototype.delete = kg;
|
|
2593
|
+
nr.prototype.get = Dg;
|
|
2594
|
+
nr.prototype.has = jg;
|
|
2595
|
+
nr.prototype.set = _g;
|
|
2596
|
+
function qg() {
|
|
2596
2597
|
this.__data__ = [], this.size = 0;
|
|
2597
2598
|
}
|
|
2598
2599
|
function ui(n, e) {
|
|
@@ -2601,22 +2602,22 @@ function ui(n, e) {
|
|
|
2601
2602
|
return t;
|
|
2602
2603
|
return -1;
|
|
2603
2604
|
}
|
|
2604
|
-
var
|
|
2605
|
-
function
|
|
2605
|
+
var zg = Array.prototype, Hg = zg.splice;
|
|
2606
|
+
function Vg(n) {
|
|
2606
2607
|
var e = this.__data__, t = ui(e, n);
|
|
2607
2608
|
if (t < 0)
|
|
2608
2609
|
return !1;
|
|
2609
2610
|
var r = e.length - 1;
|
|
2610
|
-
return t == r ? e.pop() :
|
|
2611
|
+
return t == r ? e.pop() : Hg.call(e, t, 1), --this.size, !0;
|
|
2611
2612
|
}
|
|
2612
|
-
function
|
|
2613
|
+
function Gg(n) {
|
|
2613
2614
|
var e = this.__data__, t = ui(e, n);
|
|
2614
2615
|
return t < 0 ? void 0 : e[t][1];
|
|
2615
2616
|
}
|
|
2616
|
-
function
|
|
2617
|
+
function Wg(n) {
|
|
2617
2618
|
return ui(this.__data__, n) > -1;
|
|
2618
2619
|
}
|
|
2619
|
-
function
|
|
2620
|
+
function Kg(n, e) {
|
|
2620
2621
|
var t = this.__data__, r = ui(t, n);
|
|
2621
2622
|
return r < 0 ? (++this.size, t.push([n, e])) : t[r][1] = e, this;
|
|
2622
2623
|
}
|
|
@@ -2627,38 +2628,38 @@ function Pn(n) {
|
|
|
2627
2628
|
this.set(r[0], r[1]);
|
|
2628
2629
|
}
|
|
2629
2630
|
}
|
|
2630
|
-
Pn.prototype.clear =
|
|
2631
|
-
Pn.prototype.delete =
|
|
2632
|
-
Pn.prototype.get =
|
|
2633
|
-
Pn.prototype.has =
|
|
2634
|
-
Pn.prototype.set =
|
|
2631
|
+
Pn.prototype.clear = qg;
|
|
2632
|
+
Pn.prototype.delete = Vg;
|
|
2633
|
+
Pn.prototype.get = Gg;
|
|
2634
|
+
Pn.prototype.has = Wg;
|
|
2635
|
+
Pn.prototype.set = Kg;
|
|
2635
2636
|
var ls = or(wn, "Map");
|
|
2636
|
-
function
|
|
2637
|
+
function Xg() {
|
|
2637
2638
|
this.size = 0, this.__data__ = {
|
|
2638
2639
|
hash: new nr(),
|
|
2639
2640
|
map: new (ls || Pn)(),
|
|
2640
2641
|
string: new nr()
|
|
2641
2642
|
};
|
|
2642
2643
|
}
|
|
2643
|
-
function
|
|
2644
|
+
function Yg(n) {
|
|
2644
2645
|
var e = typeof n;
|
|
2645
2646
|
return e == "string" || e == "number" || e == "symbol" || e == "boolean" ? n !== "__proto__" : n === null;
|
|
2646
2647
|
}
|
|
2647
2648
|
function ci(n, e) {
|
|
2648
2649
|
var t = n.__data__;
|
|
2649
|
-
return
|
|
2650
|
+
return Yg(e) ? t[typeof e == "string" ? "string" : "hash"] : t.map;
|
|
2650
2651
|
}
|
|
2651
|
-
function
|
|
2652
|
+
function Zg(n) {
|
|
2652
2653
|
var e = ci(this, n).delete(n);
|
|
2653
2654
|
return this.size -= e ? 1 : 0, e;
|
|
2654
2655
|
}
|
|
2655
|
-
function
|
|
2656
|
+
function Qg(n) {
|
|
2656
2657
|
return ci(this, n).get(n);
|
|
2657
2658
|
}
|
|
2658
|
-
function
|
|
2659
|
+
function Jg(n) {
|
|
2659
2660
|
return ci(this, n).has(n);
|
|
2660
2661
|
}
|
|
2661
|
-
function
|
|
2662
|
+
function ev(n, e) {
|
|
2662
2663
|
var t = ci(this, n), r = t.size;
|
|
2663
2664
|
return t.set(n, e), this.size += t.size == r ? 0 : 1, this;
|
|
2664
2665
|
}
|
|
@@ -2669,45 +2670,45 @@ function lr(n) {
|
|
|
2669
2670
|
this.set(r[0], r[1]);
|
|
2670
2671
|
}
|
|
2671
2672
|
}
|
|
2672
|
-
lr.prototype.clear =
|
|
2673
|
-
lr.prototype.delete =
|
|
2674
|
-
lr.prototype.get =
|
|
2675
|
-
lr.prototype.has =
|
|
2676
|
-
lr.prototype.set =
|
|
2677
|
-
function
|
|
2673
|
+
lr.prototype.clear = Xg;
|
|
2674
|
+
lr.prototype.delete = Zg;
|
|
2675
|
+
lr.prototype.get = Qg;
|
|
2676
|
+
lr.prototype.has = Jg;
|
|
2677
|
+
lr.prototype.set = ev;
|
|
2678
|
+
function tv(n, e) {
|
|
2678
2679
|
for (var t = -1, r = e.length, s = n.length; ++t < r; )
|
|
2679
2680
|
n[s + t] = e[t];
|
|
2680
2681
|
return n;
|
|
2681
2682
|
}
|
|
2682
|
-
var pu = du(Object.getPrototypeOf, Object),
|
|
2683
|
-
function
|
|
2684
|
-
if (!In(n) || jr(n) !=
|
|
2683
|
+
var pu = du(Object.getPrototypeOf, Object), nv = "[object Object]", rv = Function.prototype, sv = Object.prototype, gu = rv.toString, iv = sv.hasOwnProperty, av = gu.call(Object);
|
|
2684
|
+
function ov(n) {
|
|
2685
|
+
if (!In(n) || jr(n) != nv)
|
|
2685
2686
|
return !1;
|
|
2686
2687
|
var e = pu(n);
|
|
2687
2688
|
if (e === null)
|
|
2688
2689
|
return !0;
|
|
2689
|
-
var t =
|
|
2690
|
-
return typeof t == "function" && t instanceof t && gu.call(t) ==
|
|
2690
|
+
var t = iv.call(e, "constructor") && e.constructor;
|
|
2691
|
+
return typeof t == "function" && t instanceof t && gu.call(t) == av;
|
|
2691
2692
|
}
|
|
2692
|
-
function
|
|
2693
|
+
function lv() {
|
|
2693
2694
|
this.__data__ = new Pn(), this.size = 0;
|
|
2694
2695
|
}
|
|
2695
|
-
function
|
|
2696
|
+
function uv(n) {
|
|
2696
2697
|
var e = this.__data__, t = e.delete(n);
|
|
2697
2698
|
return this.size = e.size, t;
|
|
2698
2699
|
}
|
|
2699
|
-
function
|
|
2700
|
+
function cv(n) {
|
|
2700
2701
|
return this.__data__.get(n);
|
|
2701
2702
|
}
|
|
2702
|
-
function
|
|
2703
|
+
function fv(n) {
|
|
2703
2704
|
return this.__data__.has(n);
|
|
2704
2705
|
}
|
|
2705
|
-
var
|
|
2706
|
-
function
|
|
2706
|
+
var dv = 200;
|
|
2707
|
+
function hv(n, e) {
|
|
2707
2708
|
var t = this.__data__;
|
|
2708
2709
|
if (t instanceof Pn) {
|
|
2709
2710
|
var r = t.__data__;
|
|
2710
|
-
if (!ls || r.length <
|
|
2711
|
+
if (!ls || r.length < dv - 1)
|
|
2711
2712
|
return r.push([n, e]), this.size = ++t.size, this;
|
|
2712
2713
|
t = this.__data__ = new lr(r);
|
|
2713
2714
|
}
|
|
@@ -2717,97 +2718,96 @@ function yn(n) {
|
|
|
2717
2718
|
var e = this.__data__ = new Pn(n);
|
|
2718
2719
|
this.size = e.size;
|
|
2719
2720
|
}
|
|
2720
|
-
yn.prototype.clear =
|
|
2721
|
-
yn.prototype.delete =
|
|
2722
|
-
yn.prototype.get =
|
|
2723
|
-
yn.prototype.has =
|
|
2724
|
-
yn.prototype.set =
|
|
2725
|
-
var vu = typeof exports == "object" && exports && !exports.nodeType && exports, Io = vu && typeof module == "object" && module && !module.nodeType && module,
|
|
2721
|
+
yn.prototype.clear = lv;
|
|
2722
|
+
yn.prototype.delete = uv;
|
|
2723
|
+
yn.prototype.get = cv;
|
|
2724
|
+
yn.prototype.has = fv;
|
|
2725
|
+
yn.prototype.set = hv;
|
|
2726
|
+
var vu = typeof exports == "object" && exports && !exports.nodeType && exports, Io = vu && typeof module == "object" && module && !module.nodeType && module, pv = Io && Io.exports === vu, Lo = pv ? wn.Buffer : void 0, ko = Lo ? Lo.allocUnsafe : void 0;
|
|
2726
2727
|
function mu(n, e) {
|
|
2727
2728
|
if (e)
|
|
2728
2729
|
return n.slice();
|
|
2729
2730
|
var t = n.length, r = ko ? ko(t) : new n.constructor(t);
|
|
2730
2731
|
return n.copy(r), r;
|
|
2731
2732
|
}
|
|
2732
|
-
function
|
|
2733
|
+
function gv(n, e) {
|
|
2733
2734
|
for (var t = -1, r = n == null ? 0 : n.length, s = 0, o = []; ++t < r; ) {
|
|
2734
2735
|
var a = n[t];
|
|
2735
2736
|
e(a, t, n) && (o[s++] = a);
|
|
2736
2737
|
}
|
|
2737
2738
|
return o;
|
|
2738
2739
|
}
|
|
2739
|
-
function
|
|
2740
|
+
function vv() {
|
|
2740
2741
|
return [];
|
|
2741
2742
|
}
|
|
2742
|
-
var
|
|
2743
|
-
return n == null ? [] : (n = Object(n),
|
|
2744
|
-
return
|
|
2743
|
+
var mv = Object.prototype, yv = mv.propertyIsEnumerable, Po = Object.getOwnPropertySymbols, bv = Po ? function(n) {
|
|
2744
|
+
return n == null ? [] : (n = Object(n), gv(Po(n), function(e) {
|
|
2745
|
+
return yv.call(n, e);
|
|
2745
2746
|
}));
|
|
2746
|
-
} :
|
|
2747
|
-
function
|
|
2747
|
+
} : vv;
|
|
2748
|
+
function xv(n, e, t) {
|
|
2748
2749
|
var r = e(n);
|
|
2749
|
-
return tr(n) ? r :
|
|
2750
|
+
return tr(n) ? r : tv(r, t(n));
|
|
2750
2751
|
}
|
|
2751
2752
|
function da(n) {
|
|
2752
|
-
return
|
|
2753
|
+
return xv(n, Og, bv);
|
|
2753
2754
|
}
|
|
2754
|
-
var ha = or(wn, "DataView"), pa = or(wn, "Promise"), ga = or(wn, "Set"), Fo = "[object Map]",
|
|
2755
|
+
var ha = or(wn, "DataView"), pa = or(wn, "Promise"), ga = or(wn, "Set"), Fo = "[object Map]", Av = "[object Object]", Mo = "[object Promise]", Do = "[object Set]", Bo = "[object WeakMap]", Uo = "[object DataView]", wv = ar(ha), Ev = ar(ls), Sv = ar(pa), Tv = ar(ga), Ov = ar(ca), sn = jr;
|
|
2755
2756
|
(ha && sn(new ha(new ArrayBuffer(1))) != Uo || ls && sn(new ls()) != Fo || pa && sn(pa.resolve()) != Mo || ga && sn(new ga()) != Do || ca && sn(new ca()) != Bo) && (sn = function(n) {
|
|
2756
|
-
var e = jr(n), t = e ==
|
|
2757
|
+
var e = jr(n), t = e == Av ? n.constructor : void 0, r = t ? ar(t) : "";
|
|
2757
2758
|
if (r)
|
|
2758
2759
|
switch (r) {
|
|
2759
|
-
case Av:
|
|
2760
|
-
return Uo;
|
|
2761
2760
|
case wv:
|
|
2762
|
-
return
|
|
2761
|
+
return Uo;
|
|
2763
2762
|
case Ev:
|
|
2764
|
-
return
|
|
2763
|
+
return Fo;
|
|
2765
2764
|
case Sv:
|
|
2766
|
-
return
|
|
2765
|
+
return Mo;
|
|
2767
2766
|
case Tv:
|
|
2767
|
+
return Do;
|
|
2768
|
+
case Ov:
|
|
2768
2769
|
return Bo;
|
|
2769
2770
|
}
|
|
2770
2771
|
return e;
|
|
2771
2772
|
});
|
|
2772
|
-
var
|
|
2773
|
-
function
|
|
2773
|
+
var Nv = Object.prototype, Rv = Nv.hasOwnProperty;
|
|
2774
|
+
function Cv(n) {
|
|
2774
2775
|
var e = n.length, t = new n.constructor(e);
|
|
2775
|
-
return e && typeof n[0] == "string" &&
|
|
2776
|
+
return e && typeof n[0] == "string" && Rv.call(n, "index") && (t.index = n.index, t.input = n.input), t;
|
|
2776
2777
|
}
|
|
2777
2778
|
var ti = wn.Uint8Array;
|
|
2778
2779
|
function Ga(n) {
|
|
2779
2780
|
var e = new n.constructor(n.byteLength);
|
|
2780
2781
|
return new ti(e).set(new ti(n)), e;
|
|
2781
2782
|
}
|
|
2782
|
-
function
|
|
2783
|
+
function Iv(n, e) {
|
|
2783
2784
|
var t = Ga(n.buffer);
|
|
2784
2785
|
return new n.constructor(t, n.byteOffset, n.byteLength);
|
|
2785
2786
|
}
|
|
2786
|
-
var
|
|
2787
|
-
function
|
|
2788
|
-
var e = new n.constructor(n.source,
|
|
2787
|
+
var Lv = /\w*$/;
|
|
2788
|
+
function kv(n) {
|
|
2789
|
+
var e = new n.constructor(n.source, Lv.exec(n));
|
|
2789
2790
|
return e.lastIndex = n.lastIndex, e;
|
|
2790
2791
|
}
|
|
2791
2792
|
var jo = Hn ? Hn.prototype : void 0, $o = jo ? jo.valueOf : void 0;
|
|
2792
|
-
function
|
|
2793
|
+
function Pv(n) {
|
|
2793
2794
|
return $o ? Object($o.call(n)) : {};
|
|
2794
2795
|
}
|
|
2795
2796
|
function yu(n, e) {
|
|
2796
2797
|
var t = e ? Ga(n.buffer) : n.buffer;
|
|
2797
2798
|
return new n.constructor(t, n.byteOffset, n.length);
|
|
2798
2799
|
}
|
|
2799
|
-
var
|
|
2800
|
-
function
|
|
2800
|
+
var Fv = "[object Boolean]", Mv = "[object Date]", Dv = "[object Map]", Bv = "[object Number]", Uv = "[object RegExp]", jv = "[object Set]", $v = "[object String]", _v = "[object Symbol]", qv = "[object ArrayBuffer]", zv = "[object DataView]", Hv = "[object Float32Array]", Vv = "[object Float64Array]", Gv = "[object Int8Array]", Wv = "[object Int16Array]", Kv = "[object Int32Array]", Xv = "[object Uint8Array]", Yv = "[object Uint8ClampedArray]", Zv = "[object Uint16Array]", Qv = "[object Uint32Array]";
|
|
2801
|
+
function Jv(n, e, t) {
|
|
2801
2802
|
var r = n.constructor;
|
|
2802
2803
|
switch (e) {
|
|
2803
|
-
case
|
|
2804
|
+
case qv:
|
|
2804
2805
|
return Ga(n);
|
|
2805
|
-
case Pv:
|
|
2806
2806
|
case Fv:
|
|
2807
|
+
case Mv:
|
|
2807
2808
|
return new r(+n);
|
|
2808
|
-
case qv:
|
|
2809
|
-
return Cv(n);
|
|
2810
2809
|
case zv:
|
|
2810
|
+
return Iv(n);
|
|
2811
2811
|
case Hv:
|
|
2812
2812
|
case Vv:
|
|
2813
2813
|
case Gv:
|
|
@@ -2816,45 +2816,46 @@ function Qv(n, e, t) {
|
|
|
2816
2816
|
case Xv:
|
|
2817
2817
|
case Yv:
|
|
2818
2818
|
case Zv:
|
|
2819
|
+
case Qv:
|
|
2819
2820
|
return yu(n, t);
|
|
2820
|
-
case Mv:
|
|
2821
|
-
return new r();
|
|
2822
2821
|
case Dv:
|
|
2823
|
-
case jv:
|
|
2824
|
-
return new r(n);
|
|
2825
|
-
case Bv:
|
|
2826
|
-
return Lv(n);
|
|
2827
|
-
case Uv:
|
|
2828
2822
|
return new r();
|
|
2823
|
+
case Bv:
|
|
2829
2824
|
case $v:
|
|
2825
|
+
return new r(n);
|
|
2826
|
+
case Uv:
|
|
2830
2827
|
return kv(n);
|
|
2828
|
+
case jv:
|
|
2829
|
+
return new r();
|
|
2830
|
+
case _v:
|
|
2831
|
+
return Pv(n);
|
|
2831
2832
|
}
|
|
2832
2833
|
}
|
|
2833
2834
|
function bu(n) {
|
|
2834
|
-
return typeof n.constructor == "function" && !za(n) ?
|
|
2835
|
+
return typeof n.constructor == "function" && !za(n) ? bp(pu(n)) : {};
|
|
2835
2836
|
}
|
|
2836
|
-
var
|
|
2837
|
-
function
|
|
2838
|
-
return In(n) && sn(n) ==
|
|
2837
|
+
var em = "[object Map]";
|
|
2838
|
+
function tm(n) {
|
|
2839
|
+
return In(n) && sn(n) == em;
|
|
2839
2840
|
}
|
|
2840
|
-
var _o = Pr && Pr.isMap,
|
|
2841
|
-
function
|
|
2842
|
-
return In(n) && sn(n) ==
|
|
2841
|
+
var _o = Pr && Pr.isMap, nm = _o ? Ha(_o) : tm, rm = "[object Set]";
|
|
2842
|
+
function sm(n) {
|
|
2843
|
+
return In(n) && sn(n) == rm;
|
|
2843
2844
|
}
|
|
2844
|
-
var qo = Pr && Pr.isSet,
|
|
2845
|
-
st[xu] = st[
|
|
2846
|
-
st[
|
|
2845
|
+
var qo = Pr && Pr.isSet, im = qo ? Ha(qo) : sm, am = 1, xu = "[object Arguments]", om = "[object Array]", lm = "[object Boolean]", um = "[object Date]", cm = "[object Error]", Au = "[object Function]", fm = "[object GeneratorFunction]", dm = "[object Map]", hm = "[object Number]", wu = "[object Object]", pm = "[object RegExp]", gm = "[object Set]", vm = "[object String]", mm = "[object Symbol]", ym = "[object WeakMap]", bm = "[object ArrayBuffer]", xm = "[object DataView]", Am = "[object Float32Array]", wm = "[object Float64Array]", Em = "[object Int8Array]", Sm = "[object Int16Array]", Tm = "[object Int32Array]", Om = "[object Uint8Array]", Nm = "[object Uint8ClampedArray]", Rm = "[object Uint16Array]", Cm = "[object Uint32Array]", st = {};
|
|
2846
|
+
st[xu] = st[om] = st[bm] = st[xm] = st[lm] = st[um] = st[Am] = st[wm] = st[Em] = st[Sm] = st[Tm] = st[dm] = st[hm] = st[wu] = st[pm] = st[gm] = st[vm] = st[mm] = st[Om] = st[Nm] = st[Rm] = st[Cm] = !0;
|
|
2847
|
+
st[cm] = st[Au] = st[ym] = !1;
|
|
2847
2848
|
function Ws(n, e, t, r, s, o) {
|
|
2848
|
-
var a, u = e &
|
|
2849
|
+
var a, u = e & am;
|
|
2849
2850
|
if (a !== void 0)
|
|
2850
2851
|
return a;
|
|
2851
2852
|
if (!Vn(n))
|
|
2852
2853
|
return n;
|
|
2853
2854
|
var i = tr(n);
|
|
2854
2855
|
if (i)
|
|
2855
|
-
a =
|
|
2856
|
+
a = Cv(n);
|
|
2856
2857
|
else {
|
|
2857
|
-
var l = sn(n), c = l == Au || l ==
|
|
2858
|
+
var l = sn(n), c = l == Au || l == fm;
|
|
2858
2859
|
if (as(n))
|
|
2859
2860
|
return mu(n, u);
|
|
2860
2861
|
if (l == wu || l == xu || c && !s)
|
|
@@ -2862,32 +2863,32 @@ function Ws(n, e, t, r, s, o) {
|
|
|
2862
2863
|
else {
|
|
2863
2864
|
if (!st[l])
|
|
2864
2865
|
return s ? n : {};
|
|
2865
|
-
a =
|
|
2866
|
+
a = Jv(n, l, u);
|
|
2866
2867
|
}
|
|
2867
2868
|
}
|
|
2868
2869
|
o || (o = new yn());
|
|
2869
2870
|
var d = o.get(n);
|
|
2870
2871
|
if (d)
|
|
2871
2872
|
return d;
|
|
2872
|
-
o.set(n, a),
|
|
2873
|
+
o.set(n, a), im(n) ? n.forEach(function(h) {
|
|
2873
2874
|
a.add(Ws(h, e, t, h, n, o));
|
|
2874
|
-
}) :
|
|
2875
|
+
}) : nm(n) && n.forEach(function(h, v) {
|
|
2875
2876
|
a.set(v, Ws(h, e, t, v, n, o));
|
|
2876
2877
|
});
|
|
2877
2878
|
var f = da, g = i ? void 0 : f(n);
|
|
2878
|
-
return
|
|
2879
|
+
return Cp(g || n, function(h, v) {
|
|
2879
2880
|
g && (v = h, h = n[v]), au(a, v, Ws(h, e, t, v, n, o));
|
|
2880
2881
|
}), a;
|
|
2881
2882
|
}
|
|
2882
|
-
var
|
|
2883
|
+
var Im = 1, Lm = 4;
|
|
2883
2884
|
function Cr(n) {
|
|
2884
|
-
return Ws(n,
|
|
2885
|
-
}
|
|
2886
|
-
var Lm = "__lodash_hash_undefined__";
|
|
2887
|
-
function km(n) {
|
|
2888
|
-
return this.__data__.set(n, Lm), this;
|
|
2885
|
+
return Ws(n, Im | Lm);
|
|
2889
2886
|
}
|
|
2887
|
+
var km = "__lodash_hash_undefined__";
|
|
2890
2888
|
function Pm(n) {
|
|
2889
|
+
return this.__data__.set(n, km), this;
|
|
2890
|
+
}
|
|
2891
|
+
function Fm(n) {
|
|
2891
2892
|
return this.__data__.has(n);
|
|
2892
2893
|
}
|
|
2893
2894
|
function ni(n) {
|
|
@@ -2895,26 +2896,26 @@ function ni(n) {
|
|
|
2895
2896
|
for (this.__data__ = new lr(); ++e < t; )
|
|
2896
2897
|
this.add(n[e]);
|
|
2897
2898
|
}
|
|
2898
|
-
ni.prototype.add = ni.prototype.push =
|
|
2899
|
-
ni.prototype.has =
|
|
2900
|
-
function
|
|
2899
|
+
ni.prototype.add = ni.prototype.push = Pm;
|
|
2900
|
+
ni.prototype.has = Fm;
|
|
2901
|
+
function Mm(n, e) {
|
|
2901
2902
|
for (var t = -1, r = n == null ? 0 : n.length; ++t < r; )
|
|
2902
2903
|
if (e(n[t], t, n))
|
|
2903
2904
|
return !0;
|
|
2904
2905
|
return !1;
|
|
2905
2906
|
}
|
|
2906
|
-
function
|
|
2907
|
+
function Dm(n, e) {
|
|
2907
2908
|
return n.has(e);
|
|
2908
2909
|
}
|
|
2909
|
-
var
|
|
2910
|
+
var Bm = 1, Um = 2;
|
|
2910
2911
|
function Eu(n, e, t, r, s, o) {
|
|
2911
|
-
var a = t &
|
|
2912
|
+
var a = t & Bm, u = n.length, i = e.length;
|
|
2912
2913
|
if (u != i && !(a && i > u))
|
|
2913
2914
|
return !1;
|
|
2914
2915
|
var l = o.get(n), c = o.get(e);
|
|
2915
2916
|
if (l && c)
|
|
2916
2917
|
return l == e && c == n;
|
|
2917
|
-
var d = -1, f = !0, g = t &
|
|
2918
|
+
var d = -1, f = !0, g = t & Um ? new ni() : void 0;
|
|
2918
2919
|
for (o.set(n, e), o.set(e, n); ++d < u; ) {
|
|
2919
2920
|
var h = n[d], v = e[d];
|
|
2920
2921
|
if (r)
|
|
@@ -2926,8 +2927,8 @@ function Eu(n, e, t, r, s, o) {
|
|
|
2926
2927
|
break;
|
|
2927
2928
|
}
|
|
2928
2929
|
if (g) {
|
|
2929
|
-
if (!
|
|
2930
|
-
if (!
|
|
2930
|
+
if (!Mm(e, function(S, E) {
|
|
2931
|
+
if (!Dm(g, E) && (h === S || s(h, S, t, r, o)))
|
|
2931
2932
|
return g.push(E);
|
|
2932
2933
|
})) {
|
|
2933
2934
|
f = !1;
|
|
@@ -2940,62 +2941,62 @@ function Eu(n, e, t, r, s, o) {
|
|
|
2940
2941
|
}
|
|
2941
2942
|
return o.delete(n), o.delete(e), f;
|
|
2942
2943
|
}
|
|
2943
|
-
function
|
|
2944
|
+
function jm(n) {
|
|
2944
2945
|
var e = -1, t = Array(n.size);
|
|
2945
2946
|
return n.forEach(function(r, s) {
|
|
2946
2947
|
t[++e] = [s, r];
|
|
2947
2948
|
}), t;
|
|
2948
2949
|
}
|
|
2949
|
-
function
|
|
2950
|
+
function $m(n) {
|
|
2950
2951
|
var e = -1, t = Array(n.size);
|
|
2951
2952
|
return n.forEach(function(r) {
|
|
2952
2953
|
t[++e] = r;
|
|
2953
2954
|
}), t;
|
|
2954
2955
|
}
|
|
2955
|
-
var
|
|
2956
|
-
function
|
|
2956
|
+
var _m = 1, qm = 2, zm = "[object Boolean]", Hm = "[object Date]", Vm = "[object Error]", Gm = "[object Map]", Wm = "[object Number]", Km = "[object RegExp]", Xm = "[object Set]", Ym = "[object String]", Zm = "[object Symbol]", Qm = "[object ArrayBuffer]", Jm = "[object DataView]", zo = Hn ? Hn.prototype : void 0, qi = zo ? zo.valueOf : void 0;
|
|
2957
|
+
function e0(n, e, t, r, s, o, a) {
|
|
2957
2958
|
switch (t) {
|
|
2958
|
-
case
|
|
2959
|
+
case Jm:
|
|
2959
2960
|
if (n.byteLength != e.byteLength || n.byteOffset != e.byteOffset)
|
|
2960
2961
|
return !1;
|
|
2961
2962
|
n = n.buffer, e = e.buffer;
|
|
2962
|
-
case
|
|
2963
|
+
case Qm:
|
|
2963
2964
|
return !(n.byteLength != e.byteLength || !o(new ti(n), new ti(e)));
|
|
2964
|
-
case qm:
|
|
2965
2965
|
case zm:
|
|
2966
|
-
case Gm:
|
|
2967
|
-
return ms(+n, +e);
|
|
2968
2966
|
case Hm:
|
|
2969
|
-
return n.name == e.name && n.message == e.message;
|
|
2970
2967
|
case Wm:
|
|
2971
|
-
|
|
2972
|
-
return n == e + "";
|
|
2968
|
+
return ms(+n, +e);
|
|
2973
2969
|
case Vm:
|
|
2974
|
-
|
|
2970
|
+
return n.name == e.name && n.message == e.message;
|
|
2975
2971
|
case Km:
|
|
2976
|
-
|
|
2977
|
-
|
|
2972
|
+
case Ym:
|
|
2973
|
+
return n == e + "";
|
|
2974
|
+
case Gm:
|
|
2975
|
+
var u = jm;
|
|
2976
|
+
case Xm:
|
|
2977
|
+
var i = r & _m;
|
|
2978
|
+
if (u || (u = $m), n.size != e.size && !i)
|
|
2978
2979
|
return !1;
|
|
2979
2980
|
var l = a.get(n);
|
|
2980
2981
|
if (l)
|
|
2981
2982
|
return l == e;
|
|
2982
|
-
r |=
|
|
2983
|
+
r |= qm, a.set(n, e);
|
|
2983
2984
|
var c = Eu(u(n), u(e), r, s, o, a);
|
|
2984
2985
|
return a.delete(n), c;
|
|
2985
|
-
case
|
|
2986
|
+
case Zm:
|
|
2986
2987
|
if (qi)
|
|
2987
2988
|
return qi.call(n) == qi.call(e);
|
|
2988
2989
|
}
|
|
2989
2990
|
return !1;
|
|
2990
2991
|
}
|
|
2991
|
-
var
|
|
2992
|
-
function
|
|
2993
|
-
var a = t &
|
|
2992
|
+
var t0 = 1, n0 = Object.prototype, r0 = n0.hasOwnProperty;
|
|
2993
|
+
function s0(n, e, t, r, s, o) {
|
|
2994
|
+
var a = t & t0, u = da(n), i = u.length, l = da(e), c = l.length;
|
|
2994
2995
|
if (i != c && !a)
|
|
2995
2996
|
return !1;
|
|
2996
2997
|
for (var d = i; d--; ) {
|
|
2997
2998
|
var f = u[d];
|
|
2998
|
-
if (!(a ? f in e :
|
|
2999
|
+
if (!(a ? f in e : r0.call(e, f)))
|
|
2999
3000
|
return !1;
|
|
3000
3001
|
}
|
|
3001
3002
|
var g = o.get(n), h = o.get(e);
|
|
@@ -3020,8 +3021,8 @@ function r0(n, e, t, r, s, o) {
|
|
|
3020
3021
|
}
|
|
3021
3022
|
return o.delete(n), o.delete(e), v;
|
|
3022
3023
|
}
|
|
3023
|
-
var
|
|
3024
|
-
function
|
|
3024
|
+
var i0 = 1, Ho = "[object Arguments]", Vo = "[object Array]", Ds = "[object Object]", a0 = Object.prototype, Go = a0.hasOwnProperty;
|
|
3025
|
+
function o0(n, e, t, r, s, o) {
|
|
3025
3026
|
var a = tr(n), u = tr(e), i = a ? Vo : sn(n), l = u ? Vo : sn(e);
|
|
3026
3027
|
i = i == Ho ? Ds : i, l = l == Ho ? Ds : l;
|
|
3027
3028
|
var c = i == Ds, d = l == Ds, f = i == l;
|
|
@@ -3031,20 +3032,20 @@ function a0(n, e, t, r, s, o) {
|
|
|
3031
3032
|
a = !0, c = !1;
|
|
3032
3033
|
}
|
|
3033
3034
|
if (f && !c)
|
|
3034
|
-
return o || (o = new yn()), a || Va(n) ? Eu(n, e, t, r, s, o) :
|
|
3035
|
-
if (!(t &
|
|
3035
|
+
return o || (o = new yn()), a || Va(n) ? Eu(n, e, t, r, s, o) : e0(n, e, i, t, r, s, o);
|
|
3036
|
+
if (!(t & i0)) {
|
|
3036
3037
|
var g = c && Go.call(n, "__wrapped__"), h = d && Go.call(e, "__wrapped__");
|
|
3037
3038
|
if (g || h) {
|
|
3038
3039
|
var v = g ? n.value() : n, b = h ? e.value() : e;
|
|
3039
3040
|
return o || (o = new yn()), s(v, b, t, r, o);
|
|
3040
3041
|
}
|
|
3041
3042
|
}
|
|
3042
|
-
return f ? (o || (o = new yn()),
|
|
3043
|
+
return f ? (o || (o = new yn()), s0(n, e, t, r, s, o)) : !1;
|
|
3043
3044
|
}
|
|
3044
3045
|
function Su(n, e, t, r, s) {
|
|
3045
|
-
return n === e ? !0 : n == null || e == null || !In(n) && !In(e) ? n !== n && e !== e :
|
|
3046
|
+
return n === e ? !0 : n == null || e == null || !In(n) && !In(e) ? n !== n && e !== e : o0(n, e, t, r, Su, s);
|
|
3046
3047
|
}
|
|
3047
|
-
function
|
|
3048
|
+
function l0(n) {
|
|
3048
3049
|
return function(e, t, r) {
|
|
3049
3050
|
for (var s = -1, o = Object(e), a = r(e), u = a.length; u--; ) {
|
|
3050
3051
|
var i = a[++s];
|
|
@@ -3054,21 +3055,21 @@ function o0(n) {
|
|
|
3054
3055
|
return e;
|
|
3055
3056
|
};
|
|
3056
3057
|
}
|
|
3057
|
-
var
|
|
3058
|
+
var u0 = l0();
|
|
3058
3059
|
function va(n, e, t) {
|
|
3059
3060
|
(t !== void 0 && !ms(n[e], t) || t === void 0 && !(e in n)) && qa(n, e, t);
|
|
3060
3061
|
}
|
|
3061
|
-
function
|
|
3062
|
+
function c0(n) {
|
|
3062
3063
|
return In(n) && li(n);
|
|
3063
3064
|
}
|
|
3064
3065
|
function ma(n, e) {
|
|
3065
3066
|
if (!(e === "constructor" && typeof n[e] == "function") && e != "__proto__")
|
|
3066
3067
|
return n[e];
|
|
3067
3068
|
}
|
|
3068
|
-
function
|
|
3069
|
-
return
|
|
3069
|
+
function f0(n) {
|
|
3070
|
+
return Fp(n, hu(n));
|
|
3070
3071
|
}
|
|
3071
|
-
function
|
|
3072
|
+
function d0(n, e, t, r, s, o, a) {
|
|
3072
3073
|
var u = ma(n, t), i = ma(e, t), l = a.get(i);
|
|
3073
3074
|
if (l) {
|
|
3074
3075
|
va(n, t, l);
|
|
@@ -3077,14 +3078,14 @@ function f0(n, e, t, r, s, o, a) {
|
|
|
3077
3078
|
var c = o ? o(u, i, t + "", n, e, a) : void 0, d = c === void 0;
|
|
3078
3079
|
if (d) {
|
|
3079
3080
|
var f = tr(i), g = !f && as(i), h = !f && !g && Va(i);
|
|
3080
|
-
c = i, f || g || h ? tr(u) ? c = u :
|
|
3081
|
+
c = i, f || g || h ? tr(u) ? c = u : c0(u) ? c = Ap(u) : g ? (d = !1, c = mu(i, !0)) : h ? (d = !1, c = yu(i, !0)) : c = [] : ov(i) || fa(i) ? (c = u, fa(u) ? c = f0(u) : (!Vn(u) || _a(u)) && (c = bu(i))) : d = !1;
|
|
3081
3082
|
}
|
|
3082
3083
|
d && (a.set(i, c), s(c, i, r, o, a), a.delete(i)), va(n, t, c);
|
|
3083
3084
|
}
|
|
3084
3085
|
function Tu(n, e, t, r, s) {
|
|
3085
|
-
n !== e &&
|
|
3086
|
+
n !== e && u0(e, function(o, a) {
|
|
3086
3087
|
if (s || (s = new yn()), Vn(o))
|
|
3087
|
-
|
|
3088
|
+
d0(n, e, a, t, Tu, r, s);
|
|
3088
3089
|
else {
|
|
3089
3090
|
var u = r ? r(ma(n, a), o, a + "", n, e, s) : void 0;
|
|
3090
3091
|
u === void 0 && (u = o), va(n, a, u);
|
|
@@ -3094,7 +3095,7 @@ function Tu(n, e, t, r, s) {
|
|
|
3094
3095
|
function Wa(n, e) {
|
|
3095
3096
|
return Su(n, e);
|
|
3096
3097
|
}
|
|
3097
|
-
var zn =
|
|
3098
|
+
var zn = jp(function(n, e, t) {
|
|
3098
3099
|
Tu(n, e, t);
|
|
3099
3100
|
}), Ce = /* @__PURE__ */ ((n) => (n[n.TYPE = 3] = "TYPE", n[n.LEVEL = 12] = "LEVEL", n[n.ATTRIBUTE = 13] = "ATTRIBUTE", n[n.BLOT = 14] = "BLOT", n[n.INLINE = 7] = "INLINE", n[n.BLOCK = 11] = "BLOCK", n[n.BLOCK_BLOT = 10] = "BLOCK_BLOT", n[n.INLINE_BLOT = 6] = "INLINE_BLOT", n[n.BLOCK_ATTRIBUTE = 9] = "BLOCK_ATTRIBUTE", n[n.INLINE_ATTRIBUTE = 5] = "INLINE_ATTRIBUTE", n[n.ANY = 15] = "ANY", n))(Ce || {});
|
|
3100
3101
|
class xn {
|
|
@@ -3184,7 +3185,7 @@ let Fr = Ou;
|
|
|
3184
3185
|
function Wo(n, e) {
|
|
3185
3186
|
return (n.getAttribute("class") || "").split(/\s+/).filter((t) => t.indexOf(`${e}-`) === 0);
|
|
3186
3187
|
}
|
|
3187
|
-
class
|
|
3188
|
+
class h0 extends xn {
|
|
3188
3189
|
static keys(e) {
|
|
3189
3190
|
return (e.getAttribute("class") || "").split(/\s+/).map((t) => t.split("-").slice(0, -1).join("-"));
|
|
3190
3191
|
}
|
|
@@ -3201,12 +3202,12 @@ class d0 extends xn {
|
|
|
3201
3202
|
return this.canAdd(e, t) ? t : "";
|
|
3202
3203
|
}
|
|
3203
3204
|
}
|
|
3204
|
-
const cn =
|
|
3205
|
+
const cn = h0;
|
|
3205
3206
|
function zi(n) {
|
|
3206
3207
|
const e = n.split("-"), t = e.slice(1).map((r) => r[0].toUpperCase() + r.slice(1)).join("");
|
|
3207
3208
|
return e[0] + t;
|
|
3208
3209
|
}
|
|
3209
|
-
class
|
|
3210
|
+
class p0 extends xn {
|
|
3210
3211
|
static keys(e) {
|
|
3211
3212
|
return (e.getAttribute("style") || "").split(";").map((t) => t.split(":")[0].trim());
|
|
3212
3213
|
}
|
|
@@ -3221,8 +3222,8 @@ class h0 extends xn {
|
|
|
3221
3222
|
return this.canAdd(e, t) ? t : "";
|
|
3222
3223
|
}
|
|
3223
3224
|
}
|
|
3224
|
-
const Gn =
|
|
3225
|
-
class
|
|
3225
|
+
const Gn = p0;
|
|
3226
|
+
class g0 {
|
|
3226
3227
|
constructor(e) {
|
|
3227
3228
|
this.attributes = {}, this.domNode = e, this.build();
|
|
3228
3229
|
}
|
|
@@ -3258,7 +3259,7 @@ class p0 {
|
|
|
3258
3259
|
);
|
|
3259
3260
|
}
|
|
3260
3261
|
}
|
|
3261
|
-
const fi =
|
|
3262
|
+
const fi = g0, Nu = class {
|
|
3262
3263
|
constructor(e, t) {
|
|
3263
3264
|
this.scroll = e, this.domNode = t, Fr.blots.set(t, this), this.prev = null, this.next = null;
|
|
3264
3265
|
}
|
|
@@ -3369,9 +3370,9 @@ const Cu = class extends Ru {
|
|
|
3369
3370
|
}
|
|
3370
3371
|
};
|
|
3371
3372
|
Cu.scope = Ce.INLINE_BLOT;
|
|
3372
|
-
let
|
|
3373
|
-
const kt =
|
|
3374
|
-
class
|
|
3373
|
+
let v0 = Cu;
|
|
3374
|
+
const kt = v0;
|
|
3375
|
+
class m0 {
|
|
3375
3376
|
constructor() {
|
|
3376
3377
|
this.head = null, this.tail = null, this.length = 0;
|
|
3377
3378
|
}
|
|
@@ -3505,7 +3506,7 @@ const Iu = class Un extends Ru {
|
|
|
3505
3506
|
* Called during construction, should fill its own children LinkedList.
|
|
3506
3507
|
*/
|
|
3507
3508
|
build() {
|
|
3508
|
-
this.children = new
|
|
3509
|
+
this.children = new m0(), Array.from(this.domNode.childNodes).filter((e) => e !== this.uiNode).reverse().forEach((e) => {
|
|
3509
3510
|
try {
|
|
3510
3511
|
const t = Ko(e, this.scroll);
|
|
3511
3512
|
this.insertBefore(t, this.children.head || void 0);
|
|
@@ -3639,9 +3640,9 @@ const Iu = class Un extends Ru {
|
|
|
3639
3640
|
}
|
|
3640
3641
|
};
|
|
3641
3642
|
Iu.uiClass = "";
|
|
3642
|
-
let
|
|
3643
|
-
const ln =
|
|
3644
|
-
function
|
|
3643
|
+
let y0 = Iu;
|
|
3644
|
+
const ln = y0;
|
|
3645
|
+
function b0(n, e) {
|
|
3645
3646
|
if (Object.keys(n).length !== Object.keys(e).length)
|
|
3646
3647
|
return !1;
|
|
3647
3648
|
for (const t in n)
|
|
@@ -3690,7 +3691,7 @@ const Er = class Sr extends ln {
|
|
|
3690
3691
|
if (Object.keys(t).length === 0)
|
|
3691
3692
|
return this.unwrap();
|
|
3692
3693
|
const r = this.next;
|
|
3693
|
-
r instanceof Sr && r.prev === this &&
|
|
3694
|
+
r instanceof Sr && r.prev === this && b0(t, r.formats()) && (r.moveChildren(this), r.remove());
|
|
3694
3695
|
}
|
|
3695
3696
|
replaceWith(e, t) {
|
|
3696
3697
|
const r = super.replaceWith(e, t);
|
|
@@ -3707,8 +3708,8 @@ const Er = class Sr extends ln {
|
|
|
3707
3708
|
}
|
|
3708
3709
|
};
|
|
3709
3710
|
Er.allowedChildren = [Er, kt], Er.blotName = "inline", Er.scope = Ce.INLINE_BLOT, Er.tagName = "SPAN";
|
|
3710
|
-
let
|
|
3711
|
-
const Ka =
|
|
3711
|
+
let x0 = Er;
|
|
3712
|
+
const Ka = x0, Tr = class ba extends ln {
|
|
3712
3713
|
static create(e) {
|
|
3713
3714
|
return super.create(e);
|
|
3714
3715
|
}
|
|
@@ -3762,8 +3763,8 @@ Tr.blotName = "block", Tr.scope = Ce.BLOCK_BLOT, Tr.tagName = "P", Tr.allowedChi
|
|
|
3762
3763
|
Tr,
|
|
3763
3764
|
kt
|
|
3764
3765
|
];
|
|
3765
|
-
let
|
|
3766
|
-
const us =
|
|
3766
|
+
let A0 = Tr;
|
|
3767
|
+
const us = A0, xa = class extends ln {
|
|
3767
3768
|
checkMerge() {
|
|
3768
3769
|
return this.next !== null && this.next.statics.blotName === this.statics.blotName;
|
|
3769
3770
|
}
|
|
@@ -3781,9 +3782,9 @@ const us = x0, xa = class extends ln {
|
|
|
3781
3782
|
}
|
|
3782
3783
|
};
|
|
3783
3784
|
xa.blotName = "container", xa.scope = Ce.BLOCK_BLOT;
|
|
3784
|
-
let
|
|
3785
|
-
const di =
|
|
3786
|
-
class
|
|
3785
|
+
let w0 = xa;
|
|
3786
|
+
const di = w0;
|
|
3787
|
+
class E0 extends kt {
|
|
3787
3788
|
static formats(e, t) {
|
|
3788
3789
|
}
|
|
3789
3790
|
format(e, t) {
|
|
@@ -3796,17 +3797,17 @@ class w0 extends kt {
|
|
|
3796
3797
|
return this.statics.formats(this.domNode, this.scroll);
|
|
3797
3798
|
}
|
|
3798
3799
|
}
|
|
3799
|
-
const Vt =
|
|
3800
|
+
const Vt = E0, S0 = {
|
|
3800
3801
|
attributes: !0,
|
|
3801
3802
|
characterData: !0,
|
|
3802
3803
|
characterDataOldValue: !0,
|
|
3803
3804
|
childList: !0,
|
|
3804
3805
|
subtree: !0
|
|
3805
|
-
},
|
|
3806
|
+
}, T0 = 100, Or = class extends ln {
|
|
3806
3807
|
constructor(e, t) {
|
|
3807
3808
|
super(null, t), this.registry = e, this.scroll = this, this.build(), this.observer = new MutationObserver((r) => {
|
|
3808
3809
|
this.update(r);
|
|
3809
|
-
}), this.observer.observe(this.domNode,
|
|
3810
|
+
}), this.observer.observe(this.domNode, S0), this.attach();
|
|
3810
3811
|
}
|
|
3811
3812
|
create(e, t) {
|
|
3812
3813
|
return this.registry.create(this, e, t);
|
|
@@ -3851,7 +3852,7 @@ const Vt = w0, E0 = {
|
|
|
3851
3852
|
};
|
|
3852
3853
|
let u = e;
|
|
3853
3854
|
for (let i = 0; u.length > 0; i += 1) {
|
|
3854
|
-
if (i >=
|
|
3855
|
+
if (i >= T0)
|
|
3855
3856
|
throw new Error("[Parchment] Maximum optimize iterations reached");
|
|
3856
3857
|
for (u.forEach((l) => {
|
|
3857
3858
|
const c = this.find(l.target, !0);
|
|
@@ -3877,8 +3878,8 @@ const Vt = w0, E0 = {
|
|
|
3877
3878
|
}
|
|
3878
3879
|
};
|
|
3879
3880
|
Or.blotName = "scroll", Or.defaultChild = us, Or.allowedChildren = [us, di], Or.scope = Ce.BLOCK_BLOT, Or.tagName = "DIV";
|
|
3880
|
-
let
|
|
3881
|
-
const Xa =
|
|
3881
|
+
let O0 = Or;
|
|
3882
|
+
const Xa = O0, Aa = class Lu extends kt {
|
|
3882
3883
|
static create(e) {
|
|
3883
3884
|
return document.createTextNode(e);
|
|
3884
3885
|
}
|
|
@@ -3924,8 +3925,8 @@ const Xa = T0, Aa = class Lu extends kt {
|
|
|
3924
3925
|
}
|
|
3925
3926
|
};
|
|
3926
3927
|
Aa.blotName = "text", Aa.scope = Ce.INLINE_BLOT;
|
|
3927
|
-
let
|
|
3928
|
-
const ri =
|
|
3928
|
+
let N0 = Aa;
|
|
3929
|
+
const ri = N0, R0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3929
3930
|
__proto__: null,
|
|
3930
3931
|
Attributor: xn,
|
|
3931
3932
|
AttributorStore: fi,
|
|
@@ -3947,7 +3948,7 @@ function Ya(n) {
|
|
|
3947
3948
|
return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
|
|
3948
3949
|
}
|
|
3949
3950
|
var Bs = { exports: {} }, Hi, Xo;
|
|
3950
|
-
function
|
|
3951
|
+
function C0() {
|
|
3951
3952
|
if (Xo) return Hi;
|
|
3952
3953
|
Xo = 1;
|
|
3953
3954
|
var n = -1, e = 1, t = 0;
|
|
@@ -5239,7 +5240,7 @@ function Pu() {
|
|
|
5239
5240
|
}(Qr, Qr.exports)), Qr.exports;
|
|
5240
5241
|
}
|
|
5241
5242
|
var Us = {}, Qo;
|
|
5242
|
-
function
|
|
5243
|
+
function I0() {
|
|
5243
5244
|
if (Qo) return Us;
|
|
5244
5245
|
Qo = 1, Object.defineProperty(Us, "__esModule", { value: !0 });
|
|
5245
5246
|
const n = ku(), e = Pu();
|
|
@@ -5292,7 +5293,7 @@ function Fu() {
|
|
|
5292
5293
|
}(n || (n = {})), js.default = n, js;
|
|
5293
5294
|
}
|
|
5294
5295
|
var $s = {}, el;
|
|
5295
|
-
function
|
|
5296
|
+
function L0() {
|
|
5296
5297
|
if (el) return $s;
|
|
5297
5298
|
el = 1, Object.defineProperty($s, "__esModule", { value: !0 });
|
|
5298
5299
|
const n = Fu();
|
|
@@ -5341,14 +5342,14 @@ function I0() {
|
|
|
5341
5342
|
return $s.default = e, $s;
|
|
5342
5343
|
}
|
|
5343
5344
|
var tl;
|
|
5344
|
-
function
|
|
5345
|
+
function k0() {
|
|
5345
5346
|
return tl || (tl = 1, function(n, e) {
|
|
5346
5347
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.AttributeMap = e.OpIterator = e.Op = void 0;
|
|
5347
|
-
const t =
|
|
5348
|
+
const t = C0(), r = ku(), s = Pu(), o = I0();
|
|
5348
5349
|
e.AttributeMap = o.default;
|
|
5349
5350
|
const a = Fu();
|
|
5350
5351
|
e.Op = a.default;
|
|
5351
|
-
const u =
|
|
5352
|
+
const u = L0();
|
|
5352
5353
|
e.OpIterator = u.default;
|
|
5353
5354
|
const i = "\0", l = (d, f) => {
|
|
5354
5355
|
if (typeof d != "object" || d === null)
|
|
@@ -5604,7 +5605,7 @@ function L0() {
|
|
|
5604
5605
|
c.Op = a.default, c.OpIterator = u.default, c.AttributeMap = o.default, c.handlers = {}, e.default = c, n.exports = c, n.exports.default = c;
|
|
5605
5606
|
}(Bs, Bs.exports)), Bs.exports;
|
|
5606
5607
|
}
|
|
5607
|
-
var Qt =
|
|
5608
|
+
var Qt = k0();
|
|
5608
5609
|
const Ne = /* @__PURE__ */ Ya(Qt);
|
|
5609
5610
|
class fn extends Vt {
|
|
5610
5611
|
static value() {
|
|
@@ -5623,7 +5624,7 @@ fn.blotName = "break";
|
|
|
5623
5624
|
fn.tagName = "BR";
|
|
5624
5625
|
let un = class extends ri {
|
|
5625
5626
|
};
|
|
5626
|
-
const
|
|
5627
|
+
const P0 = {
|
|
5627
5628
|
"&": "&",
|
|
5628
5629
|
"<": "<",
|
|
5629
5630
|
">": ">",
|
|
@@ -5631,7 +5632,7 @@ const k0 = {
|
|
|
5631
5632
|
"'": "'"
|
|
5632
5633
|
};
|
|
5633
5634
|
function hi(n) {
|
|
5634
|
-
return n.replace(/[&<>"']/g, (e) =>
|
|
5635
|
+
return n.replace(/[&<>"']/g, (e) => P0[e]);
|
|
5635
5636
|
}
|
|
5636
5637
|
const mn = class mn extends Ka {
|
|
5637
5638
|
static compare(e, t) {
|
|
@@ -5873,7 +5874,7 @@ const Kt = class Kt extends Vt {
|
|
|
5873
5874
|
Ee(Kt, "blotName", "cursor"), Ee(Kt, "className", "ql-cursor"), Ee(Kt, "tagName", "span"), Ee(Kt, "CONTENTS", "\uFEFF");
|
|
5874
5875
|
let Mr = Kt;
|
|
5875
5876
|
var Vi = { exports: {} }, rl;
|
|
5876
|
-
function
|
|
5877
|
+
function F0() {
|
|
5877
5878
|
return rl || (rl = 1, function(n) {
|
|
5878
5879
|
var e = Object.prototype.hasOwnProperty, t = "~";
|
|
5879
5880
|
function r() {
|
|
@@ -5979,8 +5980,8 @@ function P0() {
|
|
|
5979
5980
|
}, u.prototype.off = u.prototype.removeListener, u.prototype.addListener = u.prototype.on, u.prefixed = t, u.EventEmitter = u, n.exports = u;
|
|
5980
5981
|
}(Vi)), Vi.exports;
|
|
5981
5982
|
}
|
|
5982
|
-
var
|
|
5983
|
-
const
|
|
5983
|
+
var M0 = F0();
|
|
5984
|
+
const D0 = /* @__PURE__ */ Ya(M0), wa = /* @__PURE__ */ new WeakMap(), Ea = ["error", "warn", "log", "info"];
|
|
5984
5985
|
let Sa = "warn";
|
|
5985
5986
|
function Du(n) {
|
|
5986
5987
|
if (Sa && Ea.indexOf(n) <= Ea.indexOf(Sa)) {
|
|
@@ -5996,8 +5997,8 @@ Fn.level = (n) => {
|
|
|
5996
5997
|
Sa = n;
|
|
5997
5998
|
};
|
|
5998
5999
|
Du.level = Fn.level;
|
|
5999
|
-
const Gi = Fn("quill:events"),
|
|
6000
|
-
|
|
6000
|
+
const Gi = Fn("quill:events"), B0 = ["selectionchange", "mousedown", "mouseup", "click"];
|
|
6001
|
+
B0.forEach((n) => {
|
|
6001
6002
|
document.addEventListener(n, function() {
|
|
6002
6003
|
for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
|
|
6003
6004
|
t[r] = arguments[r];
|
|
@@ -6007,7 +6008,7 @@ D0.forEach((n) => {
|
|
|
6007
6008
|
});
|
|
6008
6009
|
});
|
|
6009
6010
|
});
|
|
6010
|
-
class Oe extends
|
|
6011
|
+
class Oe extends D0 {
|
|
6011
6012
|
constructor() {
|
|
6012
6013
|
super(), this.domListeners = {}, this.on("error", Gi.error);
|
|
6013
6014
|
}
|
|
@@ -6060,7 +6061,7 @@ class rr {
|
|
|
6060
6061
|
this.index = e, this.length = t;
|
|
6061
6062
|
}
|
|
6062
6063
|
}
|
|
6063
|
-
class
|
|
6064
|
+
class U0 {
|
|
6064
6065
|
constructor(e, t) {
|
|
6065
6066
|
this.emitter = t, this.scroll = e, this.composing = !1, this.mouseDown = !1, this.root = this.scroll.domNode, this.cursor = this.scroll.create("cursor", this), this.savedRange = new rr(0, 0), this.lastRange = this.savedRange, this.lastNative = null, this.handleComposition(), this.handleDragging(), this.emitter.listenDOM("selectionchange", document, () => {
|
|
6066
6067
|
!this.mouseDown && !this.composing && setTimeout(this.update.bind(this, Oe.sources.USER), 1);
|
|
@@ -6280,8 +6281,8 @@ function Ki(n, e) {
|
|
|
6280
6281
|
}
|
|
6281
6282
|
return n.contains(e);
|
|
6282
6283
|
}
|
|
6283
|
-
const
|
|
6284
|
-
class
|
|
6284
|
+
const j0 = /^[ -~]*$/;
|
|
6285
|
+
class $0 {
|
|
6285
6286
|
constructor(e) {
|
|
6286
6287
|
this.scroll = e, this.delta = this.getDelta();
|
|
6287
6288
|
}
|
|
@@ -6290,7 +6291,7 @@ class j0 {
|
|
|
6290
6291
|
let t = this.scroll.length();
|
|
6291
6292
|
this.scroll.batchStart();
|
|
6292
6293
|
const r = sl(e), s = new Ne();
|
|
6293
|
-
return
|
|
6294
|
+
return q0(r.ops.slice()).reduce((a, u) => {
|
|
6294
6295
|
const i = Qt.Op.length(u);
|
|
6295
6296
|
let l = u.attributes || {}, c = !1, d = !1;
|
|
6296
6297
|
if (u.insert != null) {
|
|
@@ -6377,7 +6378,7 @@ class j0 {
|
|
|
6377
6378
|
for (; Object.keys(l).length > 0; ) {
|
|
6378
6379
|
const c = u.shift();
|
|
6379
6380
|
if (c == null) return l;
|
|
6380
|
-
l =
|
|
6381
|
+
l = _0(Xt(c), l);
|
|
6381
6382
|
}
|
|
6382
6383
|
return l;
|
|
6383
6384
|
});
|
|
@@ -6434,7 +6435,7 @@ class j0 {
|
|
|
6434
6435
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : void 0;
|
|
6435
6436
|
const s = this.delta;
|
|
6436
6437
|
if (t.length === 1 && t[0].type === "characterData" && // @ts-expect-error Fix me later
|
|
6437
|
-
t[0].target.data.match(
|
|
6438
|
+
t[0].target.data.match(j0) && this.scroll.find(t[0].target)) {
|
|
6438
6439
|
const o = this.scroll.find(t[0].target), a = Xt(o), u = o.offset(this.scroll), i = t[0].oldValue.replace(Mr.CONTENTS, ""), l = new Ne().insert(i), c = new Ne().insert(o.value()), d = r && {
|
|
6439
6440
|
oldRange: il(r.oldRange, -u),
|
|
6440
6441
|
newRange: il(r.newRange, -u)
|
|
@@ -6498,7 +6499,7 @@ function cs(n, e, t) {
|
|
|
6498
6499
|
}
|
|
6499
6500
|
return n.domNode instanceof Element ? n.domNode.outerHTML : "";
|
|
6500
6501
|
}
|
|
6501
|
-
function
|
|
6502
|
+
function _0(n, e) {
|
|
6502
6503
|
return Object.keys(e).reduce((t, r) => {
|
|
6503
6504
|
if (n[r] == null) return t;
|
|
6504
6505
|
const s = e[r];
|
|
@@ -6534,7 +6535,7 @@ function il(n, e) {
|
|
|
6534
6535
|
} = n;
|
|
6535
6536
|
return new rr(t + e, r);
|
|
6536
6537
|
}
|
|
6537
|
-
function
|
|
6538
|
+
function q0(n) {
|
|
6538
6539
|
const e = [];
|
|
6539
6540
|
return n.forEach((t) => {
|
|
6540
6541
|
typeof t.insert == "string" ? t.insert.split(`
|
|
@@ -6600,7 +6601,7 @@ class Za extends Vt {
|
|
|
6600
6601
|
});
|
|
6601
6602
|
}
|
|
6602
6603
|
}
|
|
6603
|
-
class
|
|
6604
|
+
class z0 {
|
|
6604
6605
|
constructor(e, t) {
|
|
6605
6606
|
Ee(this, "isComposing", !1);
|
|
6606
6607
|
this.scroll = e, this.emitter = t, this.setupListeners();
|
|
@@ -6643,7 +6644,7 @@ Ee(ss, "DEFAULTS", {
|
|
|
6643
6644
|
default: ss
|
|
6644
6645
|
});
|
|
6645
6646
|
let Dr = ss;
|
|
6646
|
-
const
|
|
6647
|
+
const H0 = (n) => n.parentElement || n.getRootNode().host || null, V0 = (n) => {
|
|
6647
6648
|
const e = n.getBoundingClientRect(), t = "offsetWidth" in n && Math.abs(e.width) / n.offsetWidth || 1, r = "offsetHeight" in n && Math.abs(e.height) / n.offsetHeight || 1;
|
|
6648
6649
|
return {
|
|
6649
6650
|
top: e.top,
|
|
@@ -6654,7 +6655,7 @@ const z0 = (n) => n.parentElement || n.getRootNode().host || null, H0 = (n) => {
|
|
|
6654
6655
|
}, qs = (n) => {
|
|
6655
6656
|
const e = parseInt(n, 10);
|
|
6656
6657
|
return Number.isNaN(e) ? 0 : e;
|
|
6657
|
-
}, al = (n, e, t, r, s, o) => n < t && e > r ? 0 : n < t ? -(t - n + s) : e > r ? e - n > r - t ? n + s - t : e - r + o : 0,
|
|
6658
|
+
}, al = (n, e, t, r, s, o) => n < t && e > r ? 0 : n < t ? -(t - n + s) : e > r ? e - n > r - t ? n + s - t : e - r + o : 0, G0 = (n, e) => {
|
|
6658
6659
|
var o, a, u;
|
|
6659
6660
|
const t = n.ownerDocument;
|
|
6660
6661
|
let r = e, s = n;
|
|
@@ -6664,7 +6665,7 @@ const z0 = (n) => n.parentElement || n.getRootNode().host || null, H0 = (n) => {
|
|
|
6664
6665
|
right: ((o = window.visualViewport) == null ? void 0 : o.width) ?? t.documentElement.clientWidth,
|
|
6665
6666
|
bottom: ((a = window.visualViewport) == null ? void 0 : a.height) ?? t.documentElement.clientHeight,
|
|
6666
6667
|
left: 0
|
|
6667
|
-
} :
|
|
6668
|
+
} : V0(s), c = getComputedStyle(s), d = al(r.left, r.right, l.left, l.right, qs(c.scrollPaddingLeft), qs(c.scrollPaddingRight)), f = al(r.top, r.bottom, l.top, l.bottom, qs(c.scrollPaddingTop), qs(c.scrollPaddingBottom));
|
|
6668
6669
|
if (d || f)
|
|
6669
6670
|
if (i)
|
|
6670
6671
|
(u = t.defaultView) == null || u.scrollBy(d, f);
|
|
@@ -6682,11 +6683,11 @@ const z0 = (n) => n.parentElement || n.getRootNode().host || null, H0 = (n) => {
|
|
|
6682
6683
|
bottom: r.bottom - b
|
|
6683
6684
|
};
|
|
6684
6685
|
}
|
|
6685
|
-
s = i || c.position === "fixed" ? null :
|
|
6686
|
+
s = i || c.position === "fixed" ? null : H0(s);
|
|
6686
6687
|
}
|
|
6687
|
-
},
|
|
6688
|
+
}, W0 = 100, K0 = ["block", "break", "cursor", "inline", "scroll", "text"], X0 = (n, e, t) => {
|
|
6688
6689
|
const r = new Fr();
|
|
6689
|
-
return
|
|
6690
|
+
return K0.forEach((s) => {
|
|
6690
6691
|
const o = e.query(s);
|
|
6691
6692
|
o && r.register(o);
|
|
6692
6693
|
}), n.forEach((s) => {
|
|
@@ -6694,7 +6695,7 @@ const z0 = (n) => n.parentElement || n.getRootNode().host || null, H0 = (n) => {
|
|
|
6694
6695
|
o || t.error(`Cannot register "${s}" specified in "formats" config. Are you sure it was registered?`);
|
|
6695
6696
|
let a = 0;
|
|
6696
6697
|
for (; o; )
|
|
6697
|
-
if (r.register(o), o = "blotName" in o ? o.requiredContainer ?? null : null, a += 1, a >
|
|
6698
|
+
if (r.register(o), o = "blotName" in o ? o.requiredContainer ?? null : null, a += 1, a > W0) {
|
|
6698
6699
|
t.error(`Cycle detected in registering blot requiredContainer: "${s}"`);
|
|
6699
6700
|
break;
|
|
6700
6701
|
}
|
|
@@ -6725,7 +6726,7 @@ const rn = class rn {
|
|
|
6725
6726
|
}
|
|
6726
6727
|
constructor(e) {
|
|
6727
6728
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
6728
|
-
if (this.options =
|
|
6729
|
+
if (this.options = Y0(e, t), this.container = this.options.container, this.container == null) {
|
|
6729
6730
|
Lr.error("Invalid Quill container", e);
|
|
6730
6731
|
return;
|
|
6731
6732
|
}
|
|
@@ -6737,7 +6738,7 @@ const rn = class rn {
|
|
|
6737
6738
|
throw new Error(`Cannot initialize Quill without "${s}" blot`);
|
|
6738
6739
|
if (this.scroll = new o(this.options.registry, this.root, {
|
|
6739
6740
|
emitter: this.emitter
|
|
6740
|
-
}), this.editor = new
|
|
6741
|
+
}), this.editor = new $0(this.scroll), this.selection = new U0(this.scroll, this.emitter), this.composition = new z0(this.scroll, this.emitter), this.theme = new this.options.theme(this, this.options), this.keyboard = this.theme.addModule("keyboard"), this.clipboard = this.theme.addModule("clipboard"), this.history = this.theme.addModule("history"), this.uploader = this.theme.addModule("uploader"), this.theme.addModule("input"), this.theme.addModule("uiNode"), this.theme.init(), this.emitter.on(Oe.events.EDITOR_CHANGE, (a) => {
|
|
6741
6742
|
a === Oe.events.TEXT_CHANGE && this.root.classList.toggle("ql-blank", this.editor.isBlank());
|
|
6742
6743
|
}), this.emitter.on(Oe.events.SCROLL_UPDATE, (a, u) => {
|
|
6743
6744
|
const i = this.selection.lastRange, [l] = this.selection.getRange(), c = i && l ? {
|
|
@@ -6916,7 +6917,7 @@ const rn = class rn {
|
|
|
6916
6917
|
return [e, t, , r] = Cn(e, t, r), nn.call(this, () => this.editor.removeFormat(e, t), r, e);
|
|
6917
6918
|
}
|
|
6918
6919
|
scrollRectIntoView(e) {
|
|
6919
|
-
|
|
6920
|
+
G0(this.root, e);
|
|
6920
6921
|
}
|
|
6921
6922
|
/**
|
|
6922
6923
|
* @deprecated Use Quill#scrollSelectionIntoView() instead.
|
|
@@ -6972,7 +6973,7 @@ Ee(rn, "DEFAULTS", {
|
|
|
6972
6973
|
theme: "default"
|
|
6973
6974
|
}), Ee(rn, "events", Oe.events), Ee(rn, "sources", Oe.sources), Ee(rn, "version", "2.0.3"), Ee(rn, "imports", {
|
|
6974
6975
|
delta: Ne,
|
|
6975
|
-
parchment:
|
|
6976
|
+
parchment: R0,
|
|
6976
6977
|
"core/module": dn,
|
|
6977
6978
|
"core/theme": Dr
|
|
6978
6979
|
});
|
|
@@ -6992,7 +6993,7 @@ function Yi(n) {
|
|
|
6992
6993
|
function ll(n) {
|
|
6993
6994
|
return Object.fromEntries(Object.entries(n).filter((e) => e[1] !== void 0));
|
|
6994
6995
|
}
|
|
6995
|
-
function
|
|
6996
|
+
function Y0(n, e) {
|
|
6996
6997
|
const t = ol(n);
|
|
6997
6998
|
if (!t)
|
|
6998
6999
|
throw new Error("Invalid Quill container");
|
|
@@ -7019,7 +7020,7 @@ function X0(n, e) {
|
|
|
7019
7020
|
...ll(e)
|
|
7020
7021
|
};
|
|
7021
7022
|
let f = e.registry;
|
|
7022
|
-
return f ? e.formats && Lr.warn('Ignoring "formats" option because "registry" is specified') : f = e.formats ?
|
|
7023
|
+
return f ? e.formats && Lr.warn('Ignoring "formats" option because "registry" is specified') : f = e.formats ? X0(e.formats, d.registry, Lr) : d.registry, {
|
|
7023
7024
|
...d,
|
|
7024
7025
|
registry: f,
|
|
7025
7026
|
container: t,
|
|
@@ -7304,18 +7305,18 @@ function Zi(n, e, t) {
|
|
|
7304
7305
|
const Qa = {
|
|
7305
7306
|
scope: Ce.BLOCK,
|
|
7306
7307
|
whitelist: ["right", "center", "justify"]
|
|
7307
|
-
},
|
|
7308
|
+
}, Z0 = new xn("align", "align", Qa), Bu = new cn("align", "ql-align", Qa), Uu = new Gn("align", "text-align", Qa);
|
|
7308
7309
|
class ju extends Gn {
|
|
7309
7310
|
value(e) {
|
|
7310
7311
|
let t = super.value(e);
|
|
7311
7312
|
return t.startsWith("rgb(") ? (t = t.replace(/^[^\d]+/, "").replace(/[^\d]+$/, ""), `#${t.split(",").map((s) => `00${parseInt(s, 10).toString(16)}`.slice(-2)).join("")}`) : t;
|
|
7312
7313
|
}
|
|
7313
7314
|
}
|
|
7314
|
-
const
|
|
7315
|
+
const Q0 = new cn("color", "ql-color", {
|
|
7315
7316
|
scope: Ce.INLINE
|
|
7316
7317
|
}), Ja = new ju("color", "color", {
|
|
7317
7318
|
scope: Ce.INLINE
|
|
7318
|
-
}),
|
|
7319
|
+
}), J0 = new cn("background", "ql-bg", {
|
|
7319
7320
|
scope: Ce.INLINE
|
|
7320
7321
|
}), eo = new ju("background", "background-color", {
|
|
7321
7322
|
scope: Ce.INLINE
|
|
@@ -7361,18 +7362,18 @@ const no = {
|
|
|
7361
7362
|
scope: Ce.INLINE,
|
|
7362
7363
|
whitelist: ["serif", "monospace"]
|
|
7363
7364
|
}, Hu = new cn("font", "ql-font", zu);
|
|
7364
|
-
class
|
|
7365
|
+
class e1 extends Gn {
|
|
7365
7366
|
value(e) {
|
|
7366
7367
|
return super.value(e).replace(/["']/g, "");
|
|
7367
7368
|
}
|
|
7368
7369
|
}
|
|
7369
|
-
const Vu = new
|
|
7370
|
+
const Vu = new e1("font", "font-family", zu), Gu = new cn("size", "ql-size", {
|
|
7370
7371
|
scope: Ce.INLINE,
|
|
7371
7372
|
whitelist: ["small", "large", "huge"]
|
|
7372
7373
|
}), Wu = new Gn("size", "font-size", {
|
|
7373
7374
|
scope: Ce.INLINE,
|
|
7374
7375
|
whitelist: ["10px", "18px", "32px"]
|
|
7375
|
-
}),
|
|
7376
|
+
}), t1 = Fn("quill:keyboard"), n1 = /Mac/i.test(navigator.platform) ? "metaKey" : "ctrlKey";
|
|
7376
7377
|
class pi extends dn {
|
|
7377
7378
|
static match(e, t) {
|
|
7378
7379
|
return ["altKey", "ctrlKey", "metaKey", "shiftKey"].some((r) => !!t[r] !== e[r] && t[r] !== null) ? !1 : t.key === e.key || t.key === e.which;
|
|
@@ -7428,9 +7429,9 @@ class pi extends dn {
|
|
|
7428
7429
|
}
|
|
7429
7430
|
addBinding(e) {
|
|
7430
7431
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
7431
|
-
const s =
|
|
7432
|
+
const s = s1(e);
|
|
7432
7433
|
if (s == null) {
|
|
7433
|
-
|
|
7434
|
+
t1.warn("Attempted to add invalid keyboard binding", s);
|
|
7434
7435
|
return;
|
|
7435
7436
|
}
|
|
7436
7437
|
typeof t == "function" && (t = {
|
|
@@ -7524,7 +7525,7 @@ class pi extends dn {
|
|
|
7524
7525
|
this.quill.updateContents(s, le.sources.USER), this.quill.setSelection(e.index + 1, le.sources.SILENT), this.quill.focus();
|
|
7525
7526
|
}
|
|
7526
7527
|
}
|
|
7527
|
-
const
|
|
7528
|
+
const r1 = {
|
|
7528
7529
|
bindings: {
|
|
7529
7530
|
bold: Qi("bold"),
|
|
7530
7531
|
italic: Qi("italic"),
|
|
@@ -7654,7 +7655,7 @@ const n1 = {
|
|
|
7654
7655
|
handler(n) {
|
|
7655
7656
|
const e = this.quill.getModule("table");
|
|
7656
7657
|
if (e) {
|
|
7657
|
-
const [t, r, s, o] = e.getTable(n), a =
|
|
7658
|
+
const [t, r, s, o] = e.getTable(n), a = i1(t, r, s, o);
|
|
7658
7659
|
if (a == null) return;
|
|
7659
7660
|
let u = t.offset();
|
|
7660
7661
|
if (a < 0) {
|
|
@@ -7748,7 +7749,7 @@ const n1 = {
|
|
|
7748
7749
|
"table up": hl(!0)
|
|
7749
7750
|
}
|
|
7750
7751
|
};
|
|
7751
|
-
pi.DEFAULTS =
|
|
7752
|
+
pi.DEFAULTS = r1;
|
|
7752
7753
|
function dl(n) {
|
|
7753
7754
|
return {
|
|
7754
7755
|
key: "Tab",
|
|
@@ -7826,7 +7827,7 @@ function hl(n) {
|
|
|
7826
7827
|
}
|
|
7827
7828
|
};
|
|
7828
7829
|
}
|
|
7829
|
-
function
|
|
7830
|
+
function s1(n) {
|
|
7830
7831
|
if (typeof n == "string" || typeof n == "number")
|
|
7831
7832
|
n = {
|
|
7832
7833
|
key: n
|
|
@@ -7835,7 +7836,7 @@ function r1(n) {
|
|
|
7835
7836
|
n = Cr(n);
|
|
7836
7837
|
else
|
|
7837
7838
|
return null;
|
|
7838
|
-
return n.shortKey && (n[
|
|
7839
|
+
return n.shortKey && (n[n1] = n.shortKey, delete n.shortKey), n;
|
|
7839
7840
|
}
|
|
7840
7841
|
function ro(n) {
|
|
7841
7842
|
let {
|
|
@@ -7850,48 +7851,48 @@ function ro(n) {
|
|
|
7850
7851
|
}
|
|
7851
7852
|
e.deleteText(t, le.sources.USER), Object.keys(s).length > 0 && e.formatLine(t.index, 1, s, le.sources.USER), e.setSelection(t.index, le.sources.SILENT);
|
|
7852
7853
|
}
|
|
7853
|
-
function
|
|
7854
|
+
function i1(n, e, t, r) {
|
|
7854
7855
|
return e.prev == null && e.next == null ? t.prev == null && t.next == null ? r === 0 ? -1 : 1 : t.prev == null ? -1 : 1 : e.prev == null ? -1 : e.next == null ? 1 : null;
|
|
7855
7856
|
}
|
|
7856
|
-
const
|
|
7857
|
+
const a1 = /font-weight:\s*normal/, o1 = ["P", "OL", "UL"], pl = (n) => n && o1.includes(n.tagName), l1 = (n) => {
|
|
7857
7858
|
Array.from(n.querySelectorAll("br")).filter((e) => pl(e.previousElementSibling) && pl(e.nextElementSibling)).forEach((e) => {
|
|
7858
7859
|
var t;
|
|
7859
7860
|
(t = e.parentNode) == null || t.removeChild(e);
|
|
7860
7861
|
});
|
|
7861
|
-
},
|
|
7862
|
+
}, u1 = (n) => {
|
|
7862
7863
|
Array.from(n.querySelectorAll('b[style*="font-weight"]')).filter((e) => {
|
|
7863
7864
|
var t;
|
|
7864
|
-
return (t = e.getAttribute("style")) == null ? void 0 : t.match(
|
|
7865
|
+
return (t = e.getAttribute("style")) == null ? void 0 : t.match(a1);
|
|
7865
7866
|
}).forEach((e) => {
|
|
7866
7867
|
var r;
|
|
7867
7868
|
const t = n.createDocumentFragment();
|
|
7868
7869
|
t.append(...e.childNodes), (r = e.parentNode) == null || r.replaceChild(t, e);
|
|
7869
7870
|
});
|
|
7870
7871
|
};
|
|
7871
|
-
function
|
|
7872
|
-
n.querySelector('[id^="docs-internal-guid-"]') && (
|
|
7872
|
+
function c1(n) {
|
|
7873
|
+
n.querySelector('[id^="docs-internal-guid-"]') && (u1(n), l1(n));
|
|
7873
7874
|
}
|
|
7874
|
-
const
|
|
7875
|
-
const t = n.getAttribute("style"), r = t == null ? void 0 : t.match(
|
|
7875
|
+
const f1 = /\bmso-list:[^;]*ignore/i, d1 = /\bmso-list:[^;]*\bl(\d+)/i, h1 = /\bmso-list:[^;]*\blevel(\d+)/i, p1 = (n, e) => {
|
|
7876
|
+
const t = n.getAttribute("style"), r = t == null ? void 0 : t.match(d1);
|
|
7876
7877
|
if (!r)
|
|
7877
7878
|
return null;
|
|
7878
|
-
const s = Number(r[1]), o = t == null ? void 0 : t.match(
|
|
7879
|
+
const s = Number(r[1]), o = t == null ? void 0 : t.match(h1), a = o ? Number(o[1]) : 1, u = new RegExp(`@list l${s}:level${a}\\s*\\{[^\\}]*mso-level-number-format:\\s*([\\w-]+)`, "i"), i = e.match(u), l = i && i[1] === "bullet" ? "bullet" : "ordered";
|
|
7879
7880
|
return {
|
|
7880
7881
|
id: s,
|
|
7881
7882
|
indent: a,
|
|
7882
7883
|
type: l,
|
|
7883
7884
|
element: n
|
|
7884
7885
|
};
|
|
7885
|
-
},
|
|
7886
|
+
}, g1 = (n) => {
|
|
7886
7887
|
var a, u;
|
|
7887
7888
|
const e = Array.from(n.querySelectorAll("[style*=mso-list]")), t = [], r = [];
|
|
7888
7889
|
e.forEach((i) => {
|
|
7889
|
-
(i.getAttribute("style") || "").match(
|
|
7890
|
+
(i.getAttribute("style") || "").match(f1) ? t.push(i) : r.push(i);
|
|
7890
7891
|
}), t.forEach((i) => {
|
|
7891
7892
|
var l;
|
|
7892
7893
|
return (l = i.parentNode) == null ? void 0 : l.removeChild(i);
|
|
7893
7894
|
});
|
|
7894
|
-
const s = n.documentElement.innerHTML, o = r.map((i) =>
|
|
7895
|
+
const s = n.documentElement.innerHTML, o = r.map((i) => p1(i, s)).filter((i) => i);
|
|
7895
7896
|
for (; o.length; ) {
|
|
7896
7897
|
const i = [];
|
|
7897
7898
|
let l = o.shift();
|
|
@@ -7914,17 +7915,17 @@ const c1 = /\bmso-list:[^;]*ignore/i, f1 = /\bmso-list:[^;]*\bl(\d+)/i, d1 = /\b
|
|
|
7914
7915
|
});
|
|
7915
7916
|
}
|
|
7916
7917
|
};
|
|
7917
|
-
function
|
|
7918
|
-
n.documentElement.getAttribute("xmlns:w") === "urn:schemas-microsoft-com:office:word" &&
|
|
7918
|
+
function v1(n) {
|
|
7919
|
+
n.documentElement.getAttribute("xmlns:w") === "urn:schemas-microsoft-com:office:word" && g1(n);
|
|
7919
7920
|
}
|
|
7920
|
-
const
|
|
7921
|
-
n.documentElement &&
|
|
7921
|
+
const m1 = [v1, c1], y1 = (n) => {
|
|
7922
|
+
n.documentElement && m1.forEach((e) => {
|
|
7922
7923
|
e(n);
|
|
7923
7924
|
});
|
|
7924
|
-
},
|
|
7925
|
+
}, b1 = Fn("quill:clipboard"), x1 = [[Node.TEXT_NODE, k1], [Node.TEXT_NODE, vl], ["br", T1], [Node.ELEMENT_NODE, vl], [Node.ELEMENT_NODE, S1], [Node.ELEMENT_NODE, E1], [Node.ELEMENT_NODE, I1], ["li", R1], ["ol, ul", C1], ["pre", O1], ["tr", L1], ["b", Ji("bold")], ["i", Ji("italic")], ["strike", Ji("strike")], ["style", N1]], A1 = [Z0, $u].reduce((n, e) => (n[e.keyName] = e, n), {}), gl = [Uu, eo, Ja, qu, Vu, Wu].reduce((n, e) => (n[e.keyName] = e, n), {});
|
|
7925
7926
|
class Ku extends dn {
|
|
7926
7927
|
constructor(e, t) {
|
|
7927
|
-
super(e, t), this.quill.root.addEventListener("copy", (r) => this.onCaptureCopy(r, !1)), this.quill.root.addEventListener("cut", (r) => this.onCaptureCopy(r, !0)), this.quill.root.addEventListener("paste", this.onCapturePaste.bind(this)), this.matchers = [],
|
|
7928
|
+
super(e, t), this.quill.root.addEventListener("copy", (r) => this.onCaptureCopy(r, !1)), this.quill.root.addEventListener("cut", (r) => this.onCaptureCopy(r, !0)), this.quill.root.addEventListener("paste", this.onCapturePaste.bind(this)), this.matchers = [], x1.concat(this.options.matchers ?? []).forEach((r) => {
|
|
7928
7929
|
let [s, o] = r;
|
|
7929
7930
|
this.addMatcher(s, o);
|
|
7930
7931
|
});
|
|
@@ -7948,7 +7949,7 @@ class Ku extends dn {
|
|
|
7948
7949
|
`) && (o.ops[o.ops.length - 1].attributes == null || s.table) ? o.compose(new Ne().retain(o.length() - 1).delete(1)) : o;
|
|
7949
7950
|
}
|
|
7950
7951
|
normalizeHTML(e) {
|
|
7951
|
-
|
|
7952
|
+
y1(e);
|
|
7952
7953
|
}
|
|
7953
7954
|
convertHTML(e) {
|
|
7954
7955
|
const t = new DOMParser().parseFromString(e, "text/html");
|
|
@@ -8040,7 +8041,7 @@ class Ku extends dn {
|
|
|
8040
8041
|
text: r,
|
|
8041
8042
|
html: s
|
|
8042
8043
|
}, o);
|
|
8043
|
-
|
|
8044
|
+
b1.log("onPaste", a, {
|
|
8044
8045
|
text: r,
|
|
8045
8046
|
html: s
|
|
8046
8047
|
});
|
|
@@ -8102,7 +8103,7 @@ function _n(n, e) {
|
|
|
8102
8103
|
const t = e.query(n);
|
|
8103
8104
|
return t && t.prototype instanceof Vt ? !1 : ["address", "article", "blockquote", "canvas", "dd", "div", "dl", "dt", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "iframe", "li", "main", "nav", "ol", "output", "p", "pre", "section", "table", "td", "tr", "ul", "video"].includes(n.tagName.toLowerCase());
|
|
8104
8105
|
}
|
|
8105
|
-
function
|
|
8106
|
+
function w1(n, e) {
|
|
8106
8107
|
return n.previousElementSibling && n.nextElementSibling && !_n(n.previousElementSibling, e) && !_n(n.nextElementSibling, e);
|
|
8107
8108
|
}
|
|
8108
8109
|
const Vs = /* @__PURE__ */ new WeakMap();
|
|
@@ -8118,17 +8119,17 @@ function so(n, e, t, r, s) {
|
|
|
8118
8119
|
function Ji(n) {
|
|
8119
8120
|
return (e, t, r) => fr(t, n, !0, r);
|
|
8120
8121
|
}
|
|
8121
|
-
function
|
|
8122
|
+
function E1(n, e, t) {
|
|
8122
8123
|
const r = xn.keys(n), s = cn.keys(n), o = Gn.keys(n), a = {};
|
|
8123
8124
|
return r.concat(s).concat(o).forEach((u) => {
|
|
8124
8125
|
let i = t.query(u, Ce.ATTRIBUTE);
|
|
8125
|
-
i != null && (a[i.attrName] = i.value(n), a[i.attrName]) || (i =
|
|
8126
|
+
i != null && (a[i.attrName] = i.value(n), a[i.attrName]) || (i = A1[u], i != null && (i.attrName === u || i.keyName === u) && (a[i.attrName] = i.value(n) || void 0), i = gl[u], i != null && (i.attrName === u || i.keyName === u) && (i = gl[u], a[i.attrName] = i.value(n) || void 0));
|
|
8126
8127
|
}), Object.entries(a).reduce((u, i) => {
|
|
8127
8128
|
let [l, c] = i;
|
|
8128
8129
|
return fr(u, l, c, t);
|
|
8129
8130
|
}, e);
|
|
8130
8131
|
}
|
|
8131
|
-
function
|
|
8132
|
+
function S1(n, e, t) {
|
|
8132
8133
|
const r = t.query(n);
|
|
8133
8134
|
if (r == null) return e;
|
|
8134
8135
|
if (r.prototype instanceof Vt) {
|
|
@@ -8141,19 +8142,19 @@ function E1(n, e, t) {
|
|
|
8141
8142
|
return fr(e, r.blotName, r.formats(n, t), t);
|
|
8142
8143
|
return e;
|
|
8143
8144
|
}
|
|
8144
|
-
function
|
|
8145
|
+
function T1(n, e) {
|
|
8145
8146
|
return ys(e, `
|
|
8146
8147
|
`) || e.insert(`
|
|
8147
8148
|
`), e;
|
|
8148
8149
|
}
|
|
8149
|
-
function
|
|
8150
|
+
function O1(n, e, t) {
|
|
8150
8151
|
const r = t.query("code-block"), s = r && "formats" in r && typeof r.formats == "function" ? r.formats(n, t) : !0;
|
|
8151
8152
|
return fr(e, "code-block", s, t);
|
|
8152
8153
|
}
|
|
8153
|
-
function
|
|
8154
|
+
function N1() {
|
|
8154
8155
|
return new Ne();
|
|
8155
8156
|
}
|
|
8156
|
-
function
|
|
8157
|
+
function R1(n, e, t) {
|
|
8157
8158
|
const r = t.query(n);
|
|
8158
8159
|
if (r == null || // @ts-expect-error
|
|
8159
8160
|
r.blotName !== "list" || !ys(e, `
|
|
@@ -8167,7 +8168,7 @@ function N1(n, e, t) {
|
|
|
8167
8168
|
...u.attributes || {}
|
|
8168
8169
|
}) : a, new Ne());
|
|
8169
8170
|
}
|
|
8170
|
-
function
|
|
8171
|
+
function C1(n, e, t) {
|
|
8171
8172
|
const r = n;
|
|
8172
8173
|
let s = r.tagName === "OL" ? "ordered" : "bullet";
|
|
8173
8174
|
const o = r.getAttribute("data-checked");
|
|
@@ -8195,7 +8196,7 @@ function vl(n, e, t) {
|
|
|
8195
8196
|
}
|
|
8196
8197
|
return e;
|
|
8197
8198
|
}
|
|
8198
|
-
function
|
|
8199
|
+
function I1(n, e, t) {
|
|
8199
8200
|
var o;
|
|
8200
8201
|
const r = {}, s = n.style || {};
|
|
8201
8202
|
return s.fontStyle === "italic" && (r.italic = !0), s.textDecoration === "underline" && (r.underline = !0), s.textDecoration === "line-through" && (r.strike = !0), ((o = s.fontWeight) != null && o.startsWith("bold") || // @ts-expect-error Fix me later
|
|
@@ -8204,7 +8205,7 @@ function C1(n, e, t) {
|
|
|
8204
8205
|
return fr(a, i, l, t);
|
|
8205
8206
|
}, e), parseFloat(s.textIndent || 0) > 0 ? new Ne().insert(" ").concat(e) : e;
|
|
8206
8207
|
}
|
|
8207
|
-
function
|
|
8208
|
+
function L1(n, e, t) {
|
|
8208
8209
|
var s, o;
|
|
8209
8210
|
const r = ((s = n.parentElement) == null ? void 0 : s.tagName) === "TABLE" ? n.parentElement : (o = n.parentElement) == null ? void 0 : o.parentElement;
|
|
8210
8211
|
if (r != null) {
|
|
@@ -8213,14 +8214,14 @@ function I1(n, e, t) {
|
|
|
8213
8214
|
}
|
|
8214
8215
|
return e;
|
|
8215
8216
|
}
|
|
8216
|
-
function
|
|
8217
|
+
function k1(n, e, t) {
|
|
8217
8218
|
var s;
|
|
8218
8219
|
let r = n.data;
|
|
8219
8220
|
if (((s = n.parentElement) == null ? void 0 : s.tagName) === "O:P")
|
|
8220
8221
|
return e.insert(r.trim());
|
|
8221
8222
|
if (!Xu(n)) {
|
|
8222
8223
|
if (r.trim().length === 0 && r.includes(`
|
|
8223
|
-
`) && !
|
|
8224
|
+
`) && !w1(n, t))
|
|
8224
8225
|
return e;
|
|
8225
8226
|
r = r.replace(/[^\S\u00a0]/g, " "), r = r.replace(/ {2,}/g, " "), (n.previousSibling == null && n.parentElement != null && _n(n.parentElement, t) || n.previousSibling instanceof Element && _n(n.previousSibling, t)) && (r = r.replace(/^ /, "")), (n.nextSibling == null && n.parentElement != null && _n(n.parentElement, t) || n.nextSibling instanceof Element && _n(n.nextSibling, t)) && (r = r.replace(/ $/, "")), r = r.replaceAll(" ", " ");
|
|
8226
8227
|
}
|
|
@@ -8302,7 +8303,7 @@ class Yu extends dn {
|
|
|
8302
8303
|
if (t.range)
|
|
8303
8304
|
this.quill.setSelection(t.range, le.sources.USER);
|
|
8304
8305
|
else {
|
|
8305
|
-
const r =
|
|
8306
|
+
const r = F1(this.quill.scroll, t.delta);
|
|
8306
8307
|
this.quill.setSelection(r, le.sources.USER);
|
|
8307
8308
|
}
|
|
8308
8309
|
}
|
|
@@ -8322,15 +8323,15 @@ function ml(n, e) {
|
|
|
8322
8323
|
}, t = s.delta.transform(t), n[r].delta.length() === 0 && n.splice(r, 1);
|
|
8323
8324
|
}
|
|
8324
8325
|
}
|
|
8325
|
-
function
|
|
8326
|
+
function P1(n, e) {
|
|
8326
8327
|
const t = e.ops[e.ops.length - 1];
|
|
8327
8328
|
return t == null ? !1 : t.insert != null ? typeof t.insert == "string" && t.insert.endsWith(`
|
|
8328
8329
|
`) : t.attributes != null ? Object.keys(t.attributes).some((r) => n.query(r, Ce.BLOCK) != null) : !1;
|
|
8329
8330
|
}
|
|
8330
|
-
function
|
|
8331
|
+
function F1(n, e) {
|
|
8331
8332
|
const t = e.reduce((s, o) => s + (o.delete || 0), 0);
|
|
8332
8333
|
let r = e.length() - t;
|
|
8333
|
-
return
|
|
8334
|
+
return P1(n, e) && (r -= 1), r;
|
|
8334
8335
|
}
|
|
8335
8336
|
function Ta(n, e) {
|
|
8336
8337
|
if (!n) return n;
|
|
@@ -8386,8 +8387,8 @@ Zu.DEFAULTS = {
|
|
|
8386
8387
|
});
|
|
8387
8388
|
}
|
|
8388
8389
|
};
|
|
8389
|
-
const
|
|
8390
|
-
class
|
|
8390
|
+
const M1 = ["insertText", "insertReplacementText"];
|
|
8391
|
+
class D1 extends dn {
|
|
8391
8392
|
constructor(e, t) {
|
|
8392
8393
|
super(e, t), e.root.addEventListener("beforeinput", (r) => {
|
|
8393
8394
|
this.handleBeforeInput(r);
|
|
@@ -8412,12 +8413,12 @@ class M1 extends dn {
|
|
|
8412
8413
|
return this.quill.setSelection(e.index + t.length, 0, le.sources.SILENT), !0;
|
|
8413
8414
|
}
|
|
8414
8415
|
handleBeforeInput(e) {
|
|
8415
|
-
if (this.quill.composition.isComposing || e.defaultPrevented || !
|
|
8416
|
+
if (this.quill.composition.isComposing || e.defaultPrevented || !M1.includes(e.inputType))
|
|
8416
8417
|
return;
|
|
8417
8418
|
const t = e.getTargetRanges ? e.getTargetRanges()[0] : null;
|
|
8418
8419
|
if (!t || t.collapsed === !0)
|
|
8419
8420
|
return;
|
|
8420
|
-
const r =
|
|
8421
|
+
const r = B1(e);
|
|
8421
8422
|
if (r == null)
|
|
8422
8423
|
return;
|
|
8423
8424
|
const s = this.quill.selection.normalizeNative(t), o = s ? this.quill.selection.normalizedToRange(s) : null;
|
|
@@ -8428,13 +8429,13 @@ class M1 extends dn {
|
|
|
8428
8429
|
e && this.replaceText(e);
|
|
8429
8430
|
}
|
|
8430
8431
|
}
|
|
8431
|
-
function
|
|
8432
|
+
function B1(n) {
|
|
8432
8433
|
var e;
|
|
8433
8434
|
return typeof n.data == "string" ? n.data : (e = n.dataTransfer) != null && e.types.includes("text/plain") ? n.dataTransfer.getData("text/plain") : null;
|
|
8434
8435
|
}
|
|
8435
|
-
const
|
|
8436
|
-
n.key === "ArrowUp" || n.key === "ArrowDown" || n.key === "Home" ||
|
|
8437
|
-
class
|
|
8436
|
+
const U1 = /Mac/i.test(navigator.platform), j1 = 100, $1 = (n) => !!(n.key === "ArrowLeft" || n.key === "ArrowRight" || // RTL scripts or moving from the end of the previous line
|
|
8437
|
+
n.key === "ArrowUp" || n.key === "ArrowDown" || n.key === "Home" || U1 && n.key === "a" && n.ctrlKey === !0);
|
|
8438
|
+
class _1 extends dn {
|
|
8438
8439
|
constructor(t, r) {
|
|
8439
8440
|
super(t, r);
|
|
8440
8441
|
Ee(this, "isListening", !1);
|
|
@@ -8460,7 +8461,7 @@ class $1 extends dn {
|
|
|
8460
8461
|
}
|
|
8461
8462
|
handleNavigationShortcuts() {
|
|
8462
8463
|
this.quill.root.addEventListener("keydown", (t) => {
|
|
8463
|
-
!t.defaultPrevented &&
|
|
8464
|
+
!t.defaultPrevented && $1(t) && this.ensureListeningToSelectionChange();
|
|
8464
8465
|
});
|
|
8465
8466
|
}
|
|
8466
8467
|
/**
|
|
@@ -8470,7 +8471,7 @@ class $1 extends dn {
|
|
|
8470
8471
|
* the selection within the handler of a `selectionchange` event.
|
|
8471
8472
|
*/
|
|
8472
8473
|
ensureListeningToSelectionChange() {
|
|
8473
|
-
if (this.selectionChangeDeadline = Date.now() +
|
|
8474
|
+
if (this.selectionChangeDeadline = Date.now() + j1, this.isListening) return;
|
|
8474
8475
|
this.isListening = !0;
|
|
8475
8476
|
const t = () => {
|
|
8476
8477
|
this.isListening = !1, Date.now() <= this.selectionChangeDeadline && this.handleSelectionChange();
|
|
@@ -8504,10 +8505,10 @@ le.register({
|
|
|
8504
8505
|
"modules/history": Yu,
|
|
8505
8506
|
"modules/keyboard": pi,
|
|
8506
8507
|
"modules/uploader": Zu,
|
|
8507
|
-
"modules/input":
|
|
8508
|
-
"modules/uiNode":
|
|
8508
|
+
"modules/input": D1,
|
|
8509
|
+
"modules/uiNode": _1
|
|
8509
8510
|
});
|
|
8510
|
-
class
|
|
8511
|
+
class q1 extends cn {
|
|
8511
8512
|
add(e, t) {
|
|
8512
8513
|
let r = 0;
|
|
8513
8514
|
if (t === "+1" || t === "-1") {
|
|
@@ -8523,7 +8524,7 @@ class _1 extends cn {
|
|
|
8523
8524
|
return parseInt(super.value(e), 10) || void 0;
|
|
8524
8525
|
}
|
|
8525
8526
|
}
|
|
8526
|
-
const
|
|
8527
|
+
const z1 = new q1("indent", "ql-indent", {
|
|
8527
8528
|
scope: Ce.BLOCK,
|
|
8528
8529
|
// @ts-expect-error
|
|
8529
8530
|
whitelist: [1, 2, 3, 4, 5, 6, 7, 8]
|
|
@@ -8783,7 +8784,7 @@ ${hi(this.code(e, t))}
|
|
|
8783
8784
|
rs.allowedChildren = [Yt];
|
|
8784
8785
|
Yt.requiredContainer = rs;
|
|
8785
8786
|
Yt.allowedChildren = [Ln, Mr, un, fn];
|
|
8786
|
-
const
|
|
8787
|
+
const H1 = (n, e, t) => {
|
|
8787
8788
|
if (typeof n.versionString == "string") {
|
|
8788
8789
|
const r = n.versionString.split(".")[0];
|
|
8789
8790
|
if (parseInt(r, 10) >= 11)
|
|
@@ -8849,7 +8850,7 @@ class Ju extends dn {
|
|
|
8849
8850
|
[Ft.blotName]: t
|
|
8850
8851
|
}), s.insert(o)), new Ne());
|
|
8851
8852
|
const r = this.quill.root.ownerDocument.createElement("div");
|
|
8852
|
-
return r.classList.add(Ft.className), r.innerHTML =
|
|
8853
|
+
return r.classList.add(Ft.className), r.innerHTML = H1(this.options.hljs, t, e), so(this.quill.scroll, r, [(s, o) => {
|
|
8853
8854
|
const a = Jr.value(s);
|
|
8854
8855
|
return a ? o.compose(new Ne().retain(o.length(), {
|
|
8855
8856
|
[Ln.blotName]: a
|
|
@@ -9019,7 +9020,7 @@ an.requiredContainer = kn;
|
|
|
9019
9020
|
function io() {
|
|
9020
9021
|
return `row-${Math.random().toString(36).slice(2, 6)}`;
|
|
9021
9022
|
}
|
|
9022
|
-
class
|
|
9023
|
+
class V1 extends dn {
|
|
9023
9024
|
static register() {
|
|
9024
9025
|
le.register(an), le.register(kn), le.register(bn), le.register(Br);
|
|
9025
9026
|
}
|
|
@@ -9110,7 +9111,7 @@ class ao extends dn {
|
|
|
9110
9111
|
var r, s;
|
|
9111
9112
|
if (super(e, t), Array.isArray(this.options.container)) {
|
|
9112
9113
|
const o = document.createElement("div");
|
|
9113
|
-
o.setAttribute("role", "toolbar"),
|
|
9114
|
+
o.setAttribute("role", "toolbar"), G1(o, this.options.container), (s = (r = e.container) == null ? void 0 : r.parentNode) == null || s.insertBefore(o, e.container), this.container = o;
|
|
9114
9115
|
} else typeof this.options.container == "string" ? this.container = document.querySelector(this.options.container) : this.container = this.options.container;
|
|
9115
9116
|
if (!(this.container instanceof HTMLElement)) {
|
|
9116
9117
|
xl.error("Container required for toolbar", this.options);
|
|
@@ -9195,7 +9196,7 @@ function Al(n, e, t) {
|
|
|
9195
9196
|
const r = document.createElement("button");
|
|
9196
9197
|
r.setAttribute("type", "button"), r.classList.add(`ql-${e}`), r.setAttribute("aria-pressed", "false"), t != null ? (r.value = t, r.setAttribute("aria-label", `${e}: ${t}`)) : r.setAttribute("aria-label", e), n.appendChild(r);
|
|
9197
9198
|
}
|
|
9198
|
-
function
|
|
9199
|
+
function G1(n, e) {
|
|
9199
9200
|
Array.isArray(e[0]) || (e = [e]), e.forEach((t) => {
|
|
9200
9201
|
const r = document.createElement("span");
|
|
9201
9202
|
r.classList.add("ql-formats"), t.forEach((s) => {
|
|
@@ -9203,12 +9204,12 @@ function V1(n, e) {
|
|
|
9203
9204
|
Al(r, s);
|
|
9204
9205
|
else {
|
|
9205
9206
|
const o = Object.keys(s)[0], a = s[o];
|
|
9206
|
-
Array.isArray(a) ?
|
|
9207
|
+
Array.isArray(a) ? W1(r, o, a) : Al(r, o, a);
|
|
9207
9208
|
}
|
|
9208
9209
|
}), n.appendChild(r);
|
|
9209
9210
|
});
|
|
9210
9211
|
}
|
|
9211
|
-
function
|
|
9212
|
+
function W1(n, e, t) {
|
|
9212
9213
|
const r = document.createElement("select");
|
|
9213
9214
|
r.classList.add(`ql-${e}`), t.forEach((s) => {
|
|
9214
9215
|
const o = document.createElement("option");
|
|
@@ -9251,54 +9252,54 @@ ao.DEFAULTS = {
|
|
|
9251
9252
|
}
|
|
9252
9253
|
}
|
|
9253
9254
|
};
|
|
9254
|
-
const W1 = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="3" x2="13" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="9" y1="4" y2="4"/></svg>', K1 = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="14" x2="4" y1="14" y2="14"/><line class="ql-stroke" x1="12" x2="6" y1="4" y2="4"/></svg>', X1 = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="15" x2="5" y1="14" y2="14"/><line class="ql-stroke" x1="15" x2="9" y1="4" y2="4"/></svg>', Y1 = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="15" x2="3" y1="14" y2="14"/><line class="ql-stroke" x1="15" x2="3" y1="4" y2="4"/></svg>', Z1 = '<svg viewbox="0 0 18 18"><g class="ql-fill ql-color-label"><polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"/><rect height="1" width="1" x="4" y="4"/><polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"/><rect height="1" width="1" x="2" y="6"/><rect height="1" width="1" x="3" y="5"/><rect height="1" width="1" x="4" y="7"/><polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"/><rect height="1" width="1" x="2" y="12"/><rect height="1" width="1" x="2" y="9"/><rect height="1" width="1" x="2" y="15"/><polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"/><rect height="1" width="1" x="3" y="8"/><path d="M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z"/><path d="M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z"/><path d="M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z"/><rect height="1" width="1" x="12" y="2"/><rect height="1" width="1" x="11" y="3"/><path d="M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z"/><rect height="1" width="1" x="2" y="3"/><rect height="1" width="1" x="6" y="2"/><rect height="1" width="1" x="3" y="2"/><rect height="1" width="1" x="5" y="3"/><rect height="1" width="1" x="9" y="2"/><rect height="1" width="1" x="15" y="14"/><polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"/><rect height="1" width="1" x="13" y="7"/><rect height="1" width="1" x="15" y="5"/><rect height="1" width="1" x="14" y="6"/><rect height="1" width="1" x="15" y="8"/><rect height="1" width="1" x="14" y="9"/><path d="M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z"/><rect height="1" width="1" x="14" y="3"/><polygon points="12 6.868 12 6 11.62 6 12 6.868"/><rect height="1" width="1" x="15" y="2"/><rect height="1" width="1" x="12" y="5"/><rect height="1" width="1" x="13" y="4"/><polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"/><rect height="1" width="1" x="9" y="14"/><rect height="1" width="1" x="8" y="15"/><path d="M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z"/><rect height="1" width="1" x="5" y="15"/><path d="M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z"/><rect height="1" width="1" x="11" y="15"/><path d="M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z"/><rect height="1" width="1" x="14" y="15"/><rect height="1" width="1" x="15" y="11"/></g><polyline class="ql-stroke" points="5.5 13 9 5 12.5 13"/><line class="ql-stroke" x1="11.63" x2="6.38" y1="11" y2="11"/></svg>', Q1 = '<svg viewbox="0 0 18 18"><rect class="ql-fill ql-stroke" height="3" width="3" x="4" y="5"/><rect class="ql-fill ql-stroke" height="3" width="3" x="11" y="5"/><path class="ql-even ql-fill ql-stroke" d="M7,8c0,4.031-3,5-3,5"/><path class="ql-even ql-fill ql-stroke" d="M14,8c0,4.031-3,5-3,5"/></svg>', J1 = '<svg viewbox="0 0 18 18"><path class="ql-stroke" d="M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z"/><path class="ql-stroke" d="M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z"/></svg>', ey = '<svg class="" viewbox="0 0 18 18"><line class="ql-stroke" x1="5" x2="13" y1="3" y2="3"/><line class="ql-stroke" x1="6" x2="9.35" y1="12" y2="3"/><line class="ql-stroke" x1="11" x2="15" y1="11" y2="15"/><line class="ql-stroke" x1="15" x2="11" y1="11" y2="15"/><rect class="ql-fill" height="1" rx="0.5" ry="0.5" width="7" x="2" y="14"/></svg>', wl = '<svg viewbox="0 0 18 18"><polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"/><polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"/><line class="ql-stroke" x1="10" x2="8" y1="5" y2="13"/></svg>', ty = '<svg viewbox="0 0 18 18"><line class="ql-color-label ql-stroke ql-transparent" x1="3" x2="15" y1="15" y2="15"/><polyline class="ql-stroke" points="5.5 11 9 3 12.5 11"/><line class="ql-stroke" x1="11.63" x2="6.38" y1="9" y2="9"/></svg>', ny = '<svg viewbox="0 0 18 18"><polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"/><line class="ql-stroke ql-fill" x1="15" x2="11" y1="4" y2="4"/><path class="ql-fill" d="M11,3a3,3,0,0,0,0,6h1V3H11Z"/><rect class="ql-fill" height="11" width="1" x="11" y="4"/><rect class="ql-fill" height="11" width="1" x="13" y="4"/></svg>', ry = '<svg viewbox="0 0 18 18"><polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"/><line class="ql-stroke ql-fill" x1="9" x2="5" y1="4" y2="4"/><path class="ql-fill" d="M5,3A3,3,0,0,0,5,9H6V3H5Z"/><rect class="ql-fill" height="11" width="1" x="5" y="4"/><rect class="ql-fill" height="11" width="1" x="7" y="4"/></svg>', sy = '<svg viewbox="0 0 18 18"><path class="ql-fill" d="M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z"/><rect class="ql-fill" height="1.6" rx="0.8" ry="0.8" width="5" x="5.15" y="6.2"/><path class="ql-fill" d="M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z"/></svg>', iy = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z"/></svg>', ay = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>', oy = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.65186,12.30664a2.6742,2.6742,0,0,1-2.915,2.68457,3.96592,3.96592,0,0,1-2.25537-.6709.56007.56007,0,0,1-.13232-.83594L11.64648,13c.209-.34082.48389-.36328.82471-.1543a2.32654,2.32654,0,0,0,1.12256.33008c.71484,0,1.12207-.35156,1.12207-.78125,0-.61523-.61621-.86816-1.46338-.86816H13.2085a.65159.65159,0,0,1-.68213-.41895l-.05518-.10937a.67114.67114,0,0,1,.14307-.78125l.71533-.86914a8.55289,8.55289,0,0,1,.68213-.7373V8.58887a3.93913,3.93913,0,0,1-.748.05469H11.9873a.54085.54085,0,0,1-.605-.60547V7.59863a.54085.54085,0,0,1,.605-.60547h3.75146a.53773.53773,0,0,1,.60547.59375v.17676a1.03723,1.03723,0,0,1-.27539.748L14.74854,10.0293A2.31132,2.31132,0,0,1,16.65186,12.30664ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>', ly = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm7.05371,7.96582v.38477c0,.39648-.165.60547-.46191.60547h-.47314v1.29785a.54085.54085,0,0,1-.605.60547h-.69336a.54085.54085,0,0,1-.605-.60547V12.95605H11.333a.5412.5412,0,0,1-.60547-.60547v-.15332a1.199,1.199,0,0,1,.22021-.748l2.56348-4.05957a.7819.7819,0,0,1,.72607-.39648h1.27637a.54085.54085,0,0,1,.605.60547v3.7627h.33008A.54055.54055,0,0,1,17.05371,11.96582ZM14.28125,8.7207h-.022a4.18969,4.18969,0,0,1-.38525.81348l-1.188,1.80469v.02246h1.5293V9.60059A7.04058,7.04058,0,0,1,14.28125,8.7207Z"/></svg>', uy = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.74023,12.18555a2.75131,2.75131,0,0,1-2.91553,2.80566,3.908,3.908,0,0,1-2.25537-.68164.54809.54809,0,0,1-.13184-.8252L11.73438,13c.209-.34082.48389-.36328.8252-.1543a2.23757,2.23757,0,0,0,1.1001.33008,1.01827,1.01827,0,0,0,1.1001-.96777c0-.61621-.53906-.97949-1.25439-.97949a2.15554,2.15554,0,0,0-.64893.09961,1.15209,1.15209,0,0,1-.814.01074l-.12109-.04395a.64116.64116,0,0,1-.45117-.71484l.231-3.00391a.56666.56666,0,0,1,.62744-.583H15.541a.54085.54085,0,0,1,.605.60547v.43945a.54085.54085,0,0,1-.605.60547H13.41748l-.04395.72559a1.29306,1.29306,0,0,1-.04395.30859h.022a2.39776,2.39776,0,0,1,.57227-.07715A2.53266,2.53266,0,0,1,16.74023,12.18555ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>', cy = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M14.51758,9.64453a1.85627,1.85627,0,0,0-1.24316.38477H13.252a1.73532,1.73532,0,0,1,1.72754-1.4082,2.66491,2.66491,0,0,1,.5498.06641c.35254.05469.57227.01074.70508-.40723l.16406-.5166a.53393.53393,0,0,0-.373-.75977,4.83723,4.83723,0,0,0-1.17773-.14258c-2.43164,0-3.7627,2.17773-3.7627,4.43359,0,2.47559,1.60645,3.69629,3.19043,3.69629A2.70585,2.70585,0,0,0,16.96,12.19727,2.43861,2.43861,0,0,0,14.51758,9.64453Zm-.23047,3.58691c-.67187,0-1.22168-.81445-1.22168-1.45215,0-.47363.30762-.583.72559-.583.96875,0,1.27734.59375,1.27734,1.12207A.82182.82182,0,0,1,14.28711,13.23145ZM10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Z"/></svg>', fy = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="13" y1="4" y2="4"/><line class="ql-stroke" x1="5" x2="11" y1="14" y2="14"/><line class="ql-stroke" x1="8" x2="10" y1="14" y2="4"/></svg>', dy = '<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="10" width="12" x="3" y="4"/><circle class="ql-fill" cx="6" cy="7" r="1"/><polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"/></svg>', hy = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"/></svg>', py = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-stroke" points="5 7 5 11 3 9 5 7"/></svg>', gy = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="11" y1="7" y2="11"/><path class="ql-even ql-stroke" d="M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z"/><path class="ql-even ql-stroke" d="M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z"/></svg>', vy = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="6" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="6" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="6" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="3" y1="4" y2="4"/><line class="ql-stroke" x1="3" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="3" x2="3" y1="14" y2="14"/></svg>', my = '<svg class="" viewbox="0 0 18 18"><line class="ql-stroke" x1="9" x2="15" y1="4" y2="4"/><polyline class="ql-stroke" points="3 4 4 5 6 3"/><line class="ql-stroke" x1="9" x2="15" y1="14" y2="14"/><polyline class="ql-stroke" points="3 14 4 15 6 13"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-stroke" points="3 9 4 10 6 8"/></svg>', yy = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="7" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="7" x2="15" y1="14" y2="14"/><line class="ql-stroke ql-thin" x1="2.5" x2="4.5" y1="5.5" y2="5.5"/><path class="ql-fill" d="M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z"/><path class="ql-stroke ql-thin" d="M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156"/><path class="ql-stroke ql-thin" d="M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109"/></svg>', by = '<svg viewbox="0 0 18 18"><path class="ql-fill" d="M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z"/><path class="ql-fill" d="M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z"/></svg>', xy = '<svg viewbox="0 0 18 18"><path class="ql-fill" d="M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z"/><path class="ql-fill" d="M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z"/></svg>', Ay = '<svg viewbox="0 0 18 18"><line class="ql-stroke ql-thin" x1="15.5" x2="2.5" y1="8.5" y2="9.5"/><path class="ql-fill" d="M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z"/><path class="ql-fill" d="M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z"/></svg>', wy = '<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="12" width="12" x="3" y="3"/><rect class="ql-fill" height="2" width="3" x="5" y="5"/><rect class="ql-fill" height="2" width="4" x="9" y="5"/><g class="ql-fill ql-transparent"><rect height="2" width="3" x="5" y="8"/><rect height="2" width="4" x="9" y="8"/><rect height="2" width="3" x="5" y="11"/><rect height="2" width="4" x="9" y="11"/></g></svg>', Ey = '<svg viewbox="0 0 18 18"><path class="ql-stroke" d="M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3"/><rect class="ql-fill" height="1" rx="0.5" ry="0.5" width="12" x="3" y="15"/></svg>', Sy = '<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="12" width="12" x="3" y="3"/><rect class="ql-fill" height="12" width="1" x="5" y="3"/><rect class="ql-fill" height="12" width="1" x="12" y="3"/><rect class="ql-fill" height="2" width="8" x="5" y="8"/><rect class="ql-fill" height="1" width="3" x="3" y="5"/><rect class="ql-fill" height="1" width="3" x="3" y="7"/><rect class="ql-fill" height="1" width="3" x="3" y="10"/><rect class="ql-fill" height="1" width="3" x="3" y="12"/><rect class="ql-fill" height="1" width="3" x="12" y="5"/><rect class="ql-fill" height="1" width="3" x="12" y="7"/><rect class="ql-fill" height="1" width="3" x="12" y="10"/><rect class="ql-fill" height="1" width="3" x="12" y="12"/></svg>', ds = {
|
|
9255
|
+
const K1 = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="3" x2="13" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="9" y1="4" y2="4"/></svg>', X1 = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="14" x2="4" y1="14" y2="14"/><line class="ql-stroke" x1="12" x2="6" y1="4" y2="4"/></svg>', Y1 = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="15" x2="5" y1="14" y2="14"/><line class="ql-stroke" x1="15" x2="9" y1="4" y2="4"/></svg>', Z1 = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="15" x2="3" y1="14" y2="14"/><line class="ql-stroke" x1="15" x2="3" y1="4" y2="4"/></svg>', Q1 = '<svg viewbox="0 0 18 18"><g class="ql-fill ql-color-label"><polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"/><rect height="1" width="1" x="4" y="4"/><polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"/><rect height="1" width="1" x="2" y="6"/><rect height="1" width="1" x="3" y="5"/><rect height="1" width="1" x="4" y="7"/><polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"/><rect height="1" width="1" x="2" y="12"/><rect height="1" width="1" x="2" y="9"/><rect height="1" width="1" x="2" y="15"/><polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"/><rect height="1" width="1" x="3" y="8"/><path d="M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z"/><path d="M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z"/><path d="M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z"/><rect height="1" width="1" x="12" y="2"/><rect height="1" width="1" x="11" y="3"/><path d="M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z"/><rect height="1" width="1" x="2" y="3"/><rect height="1" width="1" x="6" y="2"/><rect height="1" width="1" x="3" y="2"/><rect height="1" width="1" x="5" y="3"/><rect height="1" width="1" x="9" y="2"/><rect height="1" width="1" x="15" y="14"/><polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"/><rect height="1" width="1" x="13" y="7"/><rect height="1" width="1" x="15" y="5"/><rect height="1" width="1" x="14" y="6"/><rect height="1" width="1" x="15" y="8"/><rect height="1" width="1" x="14" y="9"/><path d="M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z"/><rect height="1" width="1" x="14" y="3"/><polygon points="12 6.868 12 6 11.62 6 12 6.868"/><rect height="1" width="1" x="15" y="2"/><rect height="1" width="1" x="12" y="5"/><rect height="1" width="1" x="13" y="4"/><polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"/><rect height="1" width="1" x="9" y="14"/><rect height="1" width="1" x="8" y="15"/><path d="M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z"/><rect height="1" width="1" x="5" y="15"/><path d="M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z"/><rect height="1" width="1" x="11" y="15"/><path d="M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z"/><rect height="1" width="1" x="14" y="15"/><rect height="1" width="1" x="15" y="11"/></g><polyline class="ql-stroke" points="5.5 13 9 5 12.5 13"/><line class="ql-stroke" x1="11.63" x2="6.38" y1="11" y2="11"/></svg>', J1 = '<svg viewbox="0 0 18 18"><rect class="ql-fill ql-stroke" height="3" width="3" x="4" y="5"/><rect class="ql-fill ql-stroke" height="3" width="3" x="11" y="5"/><path class="ql-even ql-fill ql-stroke" d="M7,8c0,4.031-3,5-3,5"/><path class="ql-even ql-fill ql-stroke" d="M14,8c0,4.031-3,5-3,5"/></svg>', ey = '<svg viewbox="0 0 18 18"><path class="ql-stroke" d="M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z"/><path class="ql-stroke" d="M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z"/></svg>', ty = '<svg class="" viewbox="0 0 18 18"><line class="ql-stroke" x1="5" x2="13" y1="3" y2="3"/><line class="ql-stroke" x1="6" x2="9.35" y1="12" y2="3"/><line class="ql-stroke" x1="11" x2="15" y1="11" y2="15"/><line class="ql-stroke" x1="15" x2="11" y1="11" y2="15"/><rect class="ql-fill" height="1" rx="0.5" ry="0.5" width="7" x="2" y="14"/></svg>', wl = '<svg viewbox="0 0 18 18"><polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"/><polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"/><line class="ql-stroke" x1="10" x2="8" y1="5" y2="13"/></svg>', ny = '<svg viewbox="0 0 18 18"><line class="ql-color-label ql-stroke ql-transparent" x1="3" x2="15" y1="15" y2="15"/><polyline class="ql-stroke" points="5.5 11 9 3 12.5 11"/><line class="ql-stroke" x1="11.63" x2="6.38" y1="9" y2="9"/></svg>', ry = '<svg viewbox="0 0 18 18"><polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"/><line class="ql-stroke ql-fill" x1="15" x2="11" y1="4" y2="4"/><path class="ql-fill" d="M11,3a3,3,0,0,0,0,6h1V3H11Z"/><rect class="ql-fill" height="11" width="1" x="11" y="4"/><rect class="ql-fill" height="11" width="1" x="13" y="4"/></svg>', sy = '<svg viewbox="0 0 18 18"><polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"/><line class="ql-stroke ql-fill" x1="9" x2="5" y1="4" y2="4"/><path class="ql-fill" d="M5,3A3,3,0,0,0,5,9H6V3H5Z"/><rect class="ql-fill" height="11" width="1" x="5" y="4"/><rect class="ql-fill" height="11" width="1" x="7" y="4"/></svg>', iy = '<svg viewbox="0 0 18 18"><path class="ql-fill" d="M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z"/><rect class="ql-fill" height="1.6" rx="0.8" ry="0.8" width="5" x="5.15" y="6.2"/><path class="ql-fill" d="M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z"/></svg>', ay = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z"/></svg>', oy = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>', ly = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.65186,12.30664a2.6742,2.6742,0,0,1-2.915,2.68457,3.96592,3.96592,0,0,1-2.25537-.6709.56007.56007,0,0,1-.13232-.83594L11.64648,13c.209-.34082.48389-.36328.82471-.1543a2.32654,2.32654,0,0,0,1.12256.33008c.71484,0,1.12207-.35156,1.12207-.78125,0-.61523-.61621-.86816-1.46338-.86816H13.2085a.65159.65159,0,0,1-.68213-.41895l-.05518-.10937a.67114.67114,0,0,1,.14307-.78125l.71533-.86914a8.55289,8.55289,0,0,1,.68213-.7373V8.58887a3.93913,3.93913,0,0,1-.748.05469H11.9873a.54085.54085,0,0,1-.605-.60547V7.59863a.54085.54085,0,0,1,.605-.60547h3.75146a.53773.53773,0,0,1,.60547.59375v.17676a1.03723,1.03723,0,0,1-.27539.748L14.74854,10.0293A2.31132,2.31132,0,0,1,16.65186,12.30664ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>', uy = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm7.05371,7.96582v.38477c0,.39648-.165.60547-.46191.60547h-.47314v1.29785a.54085.54085,0,0,1-.605.60547h-.69336a.54085.54085,0,0,1-.605-.60547V12.95605H11.333a.5412.5412,0,0,1-.60547-.60547v-.15332a1.199,1.199,0,0,1,.22021-.748l2.56348-4.05957a.7819.7819,0,0,1,.72607-.39648h1.27637a.54085.54085,0,0,1,.605.60547v3.7627h.33008A.54055.54055,0,0,1,17.05371,11.96582ZM14.28125,8.7207h-.022a4.18969,4.18969,0,0,1-.38525.81348l-1.188,1.80469v.02246h1.5293V9.60059A7.04058,7.04058,0,0,1,14.28125,8.7207Z"/></svg>', cy = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.74023,12.18555a2.75131,2.75131,0,0,1-2.91553,2.80566,3.908,3.908,0,0,1-2.25537-.68164.54809.54809,0,0,1-.13184-.8252L11.73438,13c.209-.34082.48389-.36328.8252-.1543a2.23757,2.23757,0,0,0,1.1001.33008,1.01827,1.01827,0,0,0,1.1001-.96777c0-.61621-.53906-.97949-1.25439-.97949a2.15554,2.15554,0,0,0-.64893.09961,1.15209,1.15209,0,0,1-.814.01074l-.12109-.04395a.64116.64116,0,0,1-.45117-.71484l.231-3.00391a.56666.56666,0,0,1,.62744-.583H15.541a.54085.54085,0,0,1,.605.60547v.43945a.54085.54085,0,0,1-.605.60547H13.41748l-.04395.72559a1.29306,1.29306,0,0,1-.04395.30859h.022a2.39776,2.39776,0,0,1,.57227-.07715A2.53266,2.53266,0,0,1,16.74023,12.18555ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>', fy = '<svg viewBox="0 0 18 18"><path class="ql-fill" d="M14.51758,9.64453a1.85627,1.85627,0,0,0-1.24316.38477H13.252a1.73532,1.73532,0,0,1,1.72754-1.4082,2.66491,2.66491,0,0,1,.5498.06641c.35254.05469.57227.01074.70508-.40723l.16406-.5166a.53393.53393,0,0,0-.373-.75977,4.83723,4.83723,0,0,0-1.17773-.14258c-2.43164,0-3.7627,2.17773-3.7627,4.43359,0,2.47559,1.60645,3.69629,3.19043,3.69629A2.70585,2.70585,0,0,0,16.96,12.19727,2.43861,2.43861,0,0,0,14.51758,9.64453Zm-.23047,3.58691c-.67187,0-1.22168-.81445-1.22168-1.45215,0-.47363.30762-.583.72559-.583.96875,0,1.27734.59375,1.27734,1.12207A.82182.82182,0,0,1,14.28711,13.23145ZM10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Z"/></svg>', dy = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="13" y1="4" y2="4"/><line class="ql-stroke" x1="5" x2="11" y1="14" y2="14"/><line class="ql-stroke" x1="8" x2="10" y1="14" y2="4"/></svg>', hy = '<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="10" width="12" x="3" y="4"/><circle class="ql-fill" cx="6" cy="7" r="1"/><polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"/></svg>', py = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"/></svg>', gy = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-stroke" points="5 7 5 11 3 9 5 7"/></svg>', vy = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="11" y1="7" y2="11"/><path class="ql-even ql-stroke" d="M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z"/><path class="ql-even ql-stroke" d="M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z"/></svg>', my = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="6" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="6" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="6" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="3" y1="4" y2="4"/><line class="ql-stroke" x1="3" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="3" x2="3" y1="14" y2="14"/></svg>', yy = '<svg class="" viewbox="0 0 18 18"><line class="ql-stroke" x1="9" x2="15" y1="4" y2="4"/><polyline class="ql-stroke" points="3 4 4 5 6 3"/><line class="ql-stroke" x1="9" x2="15" y1="14" y2="14"/><polyline class="ql-stroke" points="3 14 4 15 6 13"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-stroke" points="3 9 4 10 6 8"/></svg>', by = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="7" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="7" x2="15" y1="14" y2="14"/><line class="ql-stroke ql-thin" x1="2.5" x2="4.5" y1="5.5" y2="5.5"/><path class="ql-fill" d="M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z"/><path class="ql-stroke ql-thin" d="M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156"/><path class="ql-stroke ql-thin" d="M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109"/></svg>', xy = '<svg viewbox="0 0 18 18"><path class="ql-fill" d="M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z"/><path class="ql-fill" d="M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z"/></svg>', Ay = '<svg viewbox="0 0 18 18"><path class="ql-fill" d="M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z"/><path class="ql-fill" d="M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z"/></svg>', wy = '<svg viewbox="0 0 18 18"><line class="ql-stroke ql-thin" x1="15.5" x2="2.5" y1="8.5" y2="9.5"/><path class="ql-fill" d="M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z"/><path class="ql-fill" d="M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z"/></svg>', Ey = '<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="12" width="12" x="3" y="3"/><rect class="ql-fill" height="2" width="3" x="5" y="5"/><rect class="ql-fill" height="2" width="4" x="9" y="5"/><g class="ql-fill ql-transparent"><rect height="2" width="3" x="5" y="8"/><rect height="2" width="4" x="9" y="8"/><rect height="2" width="3" x="5" y="11"/><rect height="2" width="4" x="9" y="11"/></g></svg>', Sy = '<svg viewbox="0 0 18 18"><path class="ql-stroke" d="M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3"/><rect class="ql-fill" height="1" rx="0.5" ry="0.5" width="12" x="3" y="15"/></svg>', Ty = '<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="12" width="12" x="3" y="3"/><rect class="ql-fill" height="12" width="1" x="5" y="3"/><rect class="ql-fill" height="12" width="1" x="12" y="3"/><rect class="ql-fill" height="2" width="8" x="5" y="8"/><rect class="ql-fill" height="1" width="3" x="3" y="5"/><rect class="ql-fill" height="1" width="3" x="3" y="7"/><rect class="ql-fill" height="1" width="3" x="3" y="10"/><rect class="ql-fill" height="1" width="3" x="3" y="12"/><rect class="ql-fill" height="1" width="3" x="12" y="5"/><rect class="ql-fill" height="1" width="3" x="12" y="7"/><rect class="ql-fill" height="1" width="3" x="12" y="10"/><rect class="ql-fill" height="1" width="3" x="12" y="12"/></svg>', ds = {
|
|
9255
9256
|
align: {
|
|
9256
|
-
"":
|
|
9257
|
-
center:
|
|
9258
|
-
right:
|
|
9259
|
-
justify:
|
|
9257
|
+
"": K1,
|
|
9258
|
+
center: X1,
|
|
9259
|
+
right: Y1,
|
|
9260
|
+
justify: Z1
|
|
9260
9261
|
},
|
|
9261
|
-
background:
|
|
9262
|
-
blockquote:
|
|
9263
|
-
bold:
|
|
9264
|
-
clean:
|
|
9262
|
+
background: Q1,
|
|
9263
|
+
blockquote: J1,
|
|
9264
|
+
bold: ey,
|
|
9265
|
+
clean: ty,
|
|
9265
9266
|
code: wl,
|
|
9266
9267
|
"code-block": wl,
|
|
9267
|
-
color:
|
|
9268
|
+
color: ny,
|
|
9268
9269
|
direction: {
|
|
9269
|
-
"":
|
|
9270
|
-
rtl:
|
|
9270
|
+
"": ry,
|
|
9271
|
+
rtl: sy
|
|
9271
9272
|
},
|
|
9272
|
-
formula:
|
|
9273
|
+
formula: iy,
|
|
9273
9274
|
header: {
|
|
9274
|
-
1:
|
|
9275
|
-
2:
|
|
9276
|
-
3:
|
|
9277
|
-
4:
|
|
9278
|
-
5:
|
|
9279
|
-
6:
|
|
9275
|
+
1: ay,
|
|
9276
|
+
2: oy,
|
|
9277
|
+
3: ly,
|
|
9278
|
+
4: uy,
|
|
9279
|
+
5: cy,
|
|
9280
|
+
6: fy
|
|
9280
9281
|
},
|
|
9281
|
-
italic:
|
|
9282
|
-
image:
|
|
9282
|
+
italic: dy,
|
|
9283
|
+
image: hy,
|
|
9283
9284
|
indent: {
|
|
9284
|
-
"+1":
|
|
9285
|
-
"-1":
|
|
9285
|
+
"+1": py,
|
|
9286
|
+
"-1": gy
|
|
9286
9287
|
},
|
|
9287
|
-
link:
|
|
9288
|
+
link: vy,
|
|
9288
9289
|
list: {
|
|
9289
|
-
bullet:
|
|
9290
|
-
check:
|
|
9291
|
-
ordered:
|
|
9290
|
+
bullet: my,
|
|
9291
|
+
check: yy,
|
|
9292
|
+
ordered: by
|
|
9292
9293
|
},
|
|
9293
9294
|
script: {
|
|
9294
|
-
sub:
|
|
9295
|
-
super:
|
|
9295
|
+
sub: xy,
|
|
9296
|
+
super: Ay
|
|
9296
9297
|
},
|
|
9297
|
-
strike:
|
|
9298
|
-
table:
|
|
9299
|
-
underline:
|
|
9300
|
-
video:
|
|
9301
|
-
},
|
|
9298
|
+
strike: wy,
|
|
9299
|
+
table: Ey,
|
|
9300
|
+
underline: Sy,
|
|
9301
|
+
video: Ty
|
|
9302
|
+
}, Oy = '<svg viewbox="0 0 18 18"><polygon class="ql-stroke" points="7 11 9 13 11 11 7 11"/><polygon class="ql-stroke" points="7 7 9 5 11 7 7 7"/></svg>';
|
|
9302
9303
|
let El = 0;
|
|
9303
9304
|
function Sl(n, e) {
|
|
9304
9305
|
n.setAttribute(e, `${n.getAttribute(e) !== "true"}`);
|
|
@@ -9340,7 +9341,7 @@ class gi {
|
|
|
9340
9341
|
}
|
|
9341
9342
|
buildLabel() {
|
|
9342
9343
|
const e = document.createElement("span");
|
|
9343
|
-
return e.classList.add("ql-picker-label"), e.innerHTML =
|
|
9344
|
+
return e.classList.add("ql-picker-label"), e.innerHTML = Oy, e.tabIndex = "0", e.setAttribute("role", "button"), e.setAttribute("aria-expanded", "false"), this.container.appendChild(e), e;
|
|
9344
9345
|
}
|
|
9345
9346
|
buildOptions() {
|
|
9346
9347
|
const e = document.createElement("span");
|
|
@@ -9410,7 +9411,7 @@ class tc extends gi {
|
|
|
9410
9411
|
}
|
|
9411
9412
|
}
|
|
9412
9413
|
}
|
|
9413
|
-
const
|
|
9414
|
+
const Ny = (n) => {
|
|
9414
9415
|
const {
|
|
9415
9416
|
overflowY: e
|
|
9416
9417
|
} = getComputedStyle(n, null);
|
|
@@ -9418,7 +9419,7 @@ const Oy = (n) => {
|
|
|
9418
9419
|
};
|
|
9419
9420
|
class nc {
|
|
9420
9421
|
constructor(e, t) {
|
|
9421
|
-
this.quill = e, this.boundsContainer = t || document.body, this.root = e.addContainer("ql-tooltip"), this.root.innerHTML = this.constructor.TEMPLATE,
|
|
9422
|
+
this.quill = e, this.boundsContainer = t || document.body, this.root = e.addContainer("ql-tooltip"), this.root.innerHTML = this.constructor.TEMPLATE, Ny(this.quill.root) && this.quill.root.addEventListener("scroll", () => {
|
|
9422
9423
|
this.root.style.marginTop = `${-1 * this.quill.root.scrollTop}px`;
|
|
9423
9424
|
}), this.hide();
|
|
9424
9425
|
}
|
|
@@ -9440,7 +9441,7 @@ class nc {
|
|
|
9440
9441
|
this.root.classList.remove("ql-editing"), this.root.classList.remove("ql-hidden");
|
|
9441
9442
|
}
|
|
9442
9443
|
}
|
|
9443
|
-
const
|
|
9444
|
+
const Ry = [!1, "center", "right", "justify"], Cy = ["#000000", "#e60000", "#ff9900", "#ffff00", "#008a00", "#0066cc", "#9933ff", "#ffffff", "#facccc", "#ffebcc", "#ffffcc", "#cce8cc", "#cce0f5", "#ebd6ff", "#bbbbbb", "#f06666", "#ffc266", "#ffff66", "#66b966", "#66a3e0", "#c285ff", "#888888", "#a10000", "#b26b00", "#b2b200", "#006100", "#0047b2", "#6b24b2", "#444444", "#5c0000", "#663d00", "#666600", "#003700", "#002966", "#3d1466"], Iy = [!1, "serif", "monospace"], Ly = ["1", "2", "3", !1], ky = ["small", !1, "large", "huge"];
|
|
9444
9445
|
class As extends Dr {
|
|
9445
9446
|
constructor(e, t) {
|
|
9446
9447
|
super(e, t);
|
|
@@ -9478,13 +9479,13 @@ class As extends Dr {
|
|
|
9478
9479
|
}
|
|
9479
9480
|
buildPickers(e, t) {
|
|
9480
9481
|
this.pickers = Array.from(e).map((s) => {
|
|
9481
|
-
if (s.classList.contains("ql-align") && (s.querySelector("option") == null && Wr(s,
|
|
9482
|
+
if (s.classList.contains("ql-align") && (s.querySelector("option") == null && Wr(s, Ry), typeof t.align == "object"))
|
|
9482
9483
|
return new tc(s, t.align);
|
|
9483
9484
|
if (s.classList.contains("ql-background") || s.classList.contains("ql-color")) {
|
|
9484
9485
|
const o = s.classList.contains("ql-background") ? "background" : "color";
|
|
9485
|
-
return s.querySelector("option") == null && Wr(s,
|
|
9486
|
+
return s.querySelector("option") == null && Wr(s, Cy, o === "background" ? "#ffffff" : "#000000"), new ec(s, t[o]);
|
|
9486
9487
|
}
|
|
9487
|
-
return s.querySelector("option") == null && (s.classList.contains("ql-font") ? Wr(s,
|
|
9488
|
+
return s.querySelector("option") == null && (s.classList.contains("ql-font") ? Wr(s, Iy) : s.classList.contains("ql-header") ? Wr(s, Ly) : s.classList.contains("ql-size") && Wr(s, ky)), new gi(s);
|
|
9488
9489
|
});
|
|
9489
9490
|
const r = () => {
|
|
9490
9491
|
this.pickers.forEach((s) => {
|
|
@@ -9552,7 +9553,7 @@ class rc extends nc {
|
|
|
9552
9553
|
break;
|
|
9553
9554
|
}
|
|
9554
9555
|
case "video":
|
|
9555
|
-
e =
|
|
9556
|
+
e = Py(e);
|
|
9556
9557
|
// eslint-disable-next-line no-fallthrough
|
|
9557
9558
|
case "formula": {
|
|
9558
9559
|
if (!e) break;
|
|
@@ -9573,7 +9574,7 @@ class rc extends nc {
|
|
|
9573
9574
|
this.textbox.value = "", this.hide();
|
|
9574
9575
|
}
|
|
9575
9576
|
}
|
|
9576
|
-
function
|
|
9577
|
+
function Py(n) {
|
|
9577
9578
|
let e = n.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/) || n.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);
|
|
9578
9579
|
return e ? `${e[1] || "https"}://www.youtube.com/embed/${e[2]}?showinfo=0` : (e = n.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/)) ? `${e[1] || "https"}://player.vimeo.com/video/${e[2]}/` : n;
|
|
9579
9580
|
}
|
|
@@ -9584,7 +9585,7 @@ function Wr(n, e) {
|
|
|
9584
9585
|
r === t ? s.setAttribute("selected", "selected") : s.setAttribute("value", String(r)), n.appendChild(s);
|
|
9585
9586
|
});
|
|
9586
9587
|
}
|
|
9587
|
-
const
|
|
9588
|
+
const Fy = [["bold", "italic", "link"], [{
|
|
9588
9589
|
header: 1
|
|
9589
9590
|
}, {
|
|
9590
9591
|
header: 2
|
|
@@ -9631,7 +9632,7 @@ class sc extends rc {
|
|
|
9631
9632
|
Ee(sc, "TEMPLATE", ['<span class="ql-tooltip-arrow"></span>', '<div class="ql-tooltip-editor">', '<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">', '<a class="ql-close"></a>', "</div>"].join(""));
|
|
9632
9633
|
class ic extends As {
|
|
9633
9634
|
constructor(e, t) {
|
|
9634
|
-
t.modules.toolbar != null && t.modules.toolbar.container == null && (t.modules.toolbar.container =
|
|
9635
|
+
t.modules.toolbar != null && t.modules.toolbar.container == null && (t.modules.toolbar.container = Fy), super(e, t), this.quill.container.classList.add("ql-bubble");
|
|
9635
9636
|
}
|
|
9636
9637
|
extendToolbar(e) {
|
|
9637
9638
|
this.tooltip = new sc(this.quill, this.options.bounds), e.container != null && (this.tooltip.root.appendChild(e.container), this.buildButtons(e.container.querySelectorAll("button"), ds), this.buildPickers(e.container.querySelectorAll("select"), ds));
|
|
@@ -9648,7 +9649,7 @@ ic.DEFAULTS = zn({}, As.DEFAULTS, {
|
|
|
9648
9649
|
}
|
|
9649
9650
|
}
|
|
9650
9651
|
});
|
|
9651
|
-
const
|
|
9652
|
+
const My = [[{
|
|
9652
9653
|
header: ["1", "2", "3", !1]
|
|
9653
9654
|
}], ["bold", "italic", "underline", "link"], [{
|
|
9654
9655
|
list: "ordered"
|
|
@@ -9694,7 +9695,7 @@ class ac extends rc {
|
|
|
9694
9695
|
Ee(ac, "TEMPLATE", ['<a class="ql-preview" rel="noopener noreferrer" target="_blank" href="about:blank"></a>', '<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">', '<a class="ql-action"></a>', '<a class="ql-remove"></a>'].join(""));
|
|
9695
9696
|
class oc extends As {
|
|
9696
9697
|
constructor(e, t) {
|
|
9697
|
-
t.modules.toolbar != null && t.modules.toolbar.container == null && (t.modules.toolbar.container =
|
|
9698
|
+
t.modules.toolbar != null && t.modules.toolbar.container == null && (t.modules.toolbar.container = My), super(e, t), this.quill.container.classList.add("ql-snow");
|
|
9698
9699
|
}
|
|
9699
9700
|
extendToolbar(e) {
|
|
9700
9701
|
e.container != null && (e.container.classList.add("ql-snow"), this.buildButtons(e.container.querySelectorAll("button"), ds), this.buildPickers(e.container.querySelectorAll("select"), ds), this.tooltip = new ac(this.quill, this.options.bounds), e.container.querySelector(".ql-link") && this.quill.keyboard.addBinding({
|
|
@@ -9729,8 +9730,8 @@ oc.DEFAULTS = zn({}, As.DEFAULTS, {
|
|
|
9729
9730
|
le.register({
|
|
9730
9731
|
"attributors/attribute/direction": $u,
|
|
9731
9732
|
"attributors/class/align": Bu,
|
|
9732
|
-
"attributors/class/background":
|
|
9733
|
-
"attributors/class/color":
|
|
9733
|
+
"attributors/class/background": J0,
|
|
9734
|
+
"attributors/class/color": Q0,
|
|
9734
9735
|
"attributors/class/direction": _u,
|
|
9735
9736
|
"attributors/class/font": Hu,
|
|
9736
9737
|
"attributors/class/size": Gu,
|
|
@@ -9744,7 +9745,7 @@ le.register({
|
|
|
9744
9745
|
le.register({
|
|
9745
9746
|
"formats/align": Bu,
|
|
9746
9747
|
"formats/direction": _u,
|
|
9747
|
-
"formats/indent":
|
|
9748
|
+
"formats/indent": z1,
|
|
9748
9749
|
"formats/background": eo,
|
|
9749
9750
|
"formats/color": Ja,
|
|
9750
9751
|
"formats/font": Hu,
|
|
@@ -9764,7 +9765,7 @@ le.register({
|
|
|
9764
9765
|
"formats/image": ka,
|
|
9765
9766
|
"formats/video": Xs,
|
|
9766
9767
|
"modules/syntax": Ju,
|
|
9767
|
-
"modules/table":
|
|
9768
|
+
"modules/table": V1,
|
|
9768
9769
|
"modules/toolbar": ao,
|
|
9769
9770
|
"themes/bubble": ic,
|
|
9770
9771
|
"themes/snow": oc,
|
|
@@ -9774,7 +9775,7 @@ le.register({
|
|
|
9774
9775
|
"ui/color-picker": ec,
|
|
9775
9776
|
"ui/tooltip": nc
|
|
9776
9777
|
}, !0);
|
|
9777
|
-
const
|
|
9778
|
+
const Dy = {
|
|
9778
9779
|
name: "QuillEditor",
|
|
9779
9780
|
props: {
|
|
9780
9781
|
modelValue: {
|
|
@@ -9822,16 +9823,16 @@ const My = {
|
|
|
9822
9823
|
editorContainer: t
|
|
9823
9824
|
};
|
|
9824
9825
|
}
|
|
9825
|
-
},
|
|
9826
|
-
function
|
|
9827
|
-
return fe(), ye("div",
|
|
9828
|
-
ne("div",
|
|
9826
|
+
}, By = { class: "q-editor" }, Uy = { ref: "editorContainer" };
|
|
9827
|
+
function jy(n, e, t, r, s, o) {
|
|
9828
|
+
return fe(), ye("div", By, [
|
|
9829
|
+
ne("div", Uy, null, 512)
|
|
9829
9830
|
]);
|
|
9830
9831
|
}
|
|
9831
|
-
const
|
|
9832
|
+
const $y = /* @__PURE__ */ vs(Dy, [["render", jy]]), _y = { class: "rounded-xl bg-gray-50 px-6 py-5" }, qy = {
|
|
9832
9833
|
key: 0,
|
|
9833
9834
|
class: "pb-5"
|
|
9834
|
-
},
|
|
9835
|
+
}, zy = { class: "text-lg font-semibold text-gray-900" }, Hy = {
|
|
9835
9836
|
key: 0,
|
|
9836
9837
|
class: "text-sm text-gray-600"
|
|
9837
9838
|
}, Kr = {
|
|
@@ -9847,10 +9848,10 @@ const jy = /* @__PURE__ */ vs(My, [["render", Uy]]), $y = { class: "rounded-xl b
|
|
|
9847
9848
|
}
|
|
9848
9849
|
},
|
|
9849
9850
|
setup(n) {
|
|
9850
|
-
return (e, t) => (fe(), ye("div",
|
|
9851
|
-
n.title ? (fe(), ye("div",
|
|
9852
|
-
ne("div",
|
|
9853
|
-
n.supporting_text ? (fe(), ye("div",
|
|
9851
|
+
return (e, t) => (fe(), ye("div", _y, [
|
|
9852
|
+
n.title ? (fe(), ye("div", qy, [
|
|
9853
|
+
ne("div", zy, ze(n.title), 1),
|
|
9854
|
+
n.supporting_text ? (fe(), ye("div", Hy, ze(n.supporting_text), 1)) : at("", !0)
|
|
9854
9855
|
])) : at("", !0),
|
|
9855
9856
|
kr(e.$slots, "default")
|
|
9856
9857
|
]));
|
|
@@ -9861,28 +9862,28 @@ function lc(n, e) {
|
|
|
9861
9862
|
return n.apply(e, arguments);
|
|
9862
9863
|
};
|
|
9863
9864
|
}
|
|
9864
|
-
const { toString:
|
|
9865
|
-
const t =
|
|
9865
|
+
const { toString: Vy } = Object.prototype, { getPrototypeOf: oo } = Object, { iterator: vi, toStringTag: uc } = Symbol, mi = /* @__PURE__ */ ((n) => (e) => {
|
|
9866
|
+
const t = Vy.call(e);
|
|
9866
9867
|
return n[t] || (n[t] = t.slice(8, -1).toLowerCase());
|
|
9867
9868
|
})(/* @__PURE__ */ Object.create(null)), hn = (n) => (n = n.toLowerCase(), (e) => mi(e) === n), yi = (n) => (e) => typeof e === n, { isArray: $r } = Array, hs = yi("undefined");
|
|
9868
|
-
function
|
|
9869
|
+
function Gy(n) {
|
|
9869
9870
|
return n !== null && !hs(n) && n.constructor !== null && !hs(n.constructor) && jt(n.constructor.isBuffer) && n.constructor.isBuffer(n);
|
|
9870
9871
|
}
|
|
9871
9872
|
const cc = hn("ArrayBuffer");
|
|
9872
|
-
function
|
|
9873
|
+
function Wy(n) {
|
|
9873
9874
|
let e;
|
|
9874
9875
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(n) : e = n && n.buffer && cc(n.buffer), e;
|
|
9875
9876
|
}
|
|
9876
|
-
const
|
|
9877
|
+
const Ky = yi("string"), jt = yi("function"), fc = yi("number"), bi = (n) => n !== null && typeof n == "object", Xy = (n) => n === !0 || n === !1, Ys = (n) => {
|
|
9877
9878
|
if (mi(n) !== "object")
|
|
9878
9879
|
return !1;
|
|
9879
9880
|
const e = oo(n);
|
|
9880
9881
|
return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(uc in n) && !(vi in n);
|
|
9881
|
-
},
|
|
9882
|
+
}, Yy = hn("Date"), Zy = hn("File"), Qy = hn("Blob"), Jy = hn("FileList"), eb = (n) => bi(n) && jt(n.pipe), tb = (n) => {
|
|
9882
9883
|
let e;
|
|
9883
9884
|
return n && (typeof FormData == "function" && n instanceof FormData || jt(n.append) && ((e = mi(n)) === "formdata" || // detect form-data instance
|
|
9884
9885
|
e === "object" && jt(n.toString) && n.toString() === "[object FormData]"));
|
|
9885
|
-
},
|
|
9886
|
+
}, nb = hn("URLSearchParams"), [rb, sb, ib, ab] = ["ReadableStream", "Request", "Response", "Headers"].map(hn), ob = (n) => n.trim ? n.trim() : n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
9886
9887
|
function ws(n, e, { allOwnKeys: t = !1 } = {}) {
|
|
9887
9888
|
if (n === null || typeof n > "u")
|
|
9888
9889
|
return;
|
|
@@ -9916,13 +9917,13 @@ function Pa() {
|
|
|
9916
9917
|
arguments[r] && ws(arguments[r], t);
|
|
9917
9918
|
return e;
|
|
9918
9919
|
}
|
|
9919
|
-
const
|
|
9920
|
+
const lb = (n, e, t, { allOwnKeys: r } = {}) => (ws(e, (s, o) => {
|
|
9920
9921
|
t && jt(s) ? n[o] = lc(s, t) : n[o] = s;
|
|
9921
|
-
}, { allOwnKeys: r }), n),
|
|
9922
|
+
}, { allOwnKeys: r }), n), ub = (n) => (n.charCodeAt(0) === 65279 && (n = n.slice(1)), n), cb = (n, e, t, r) => {
|
|
9922
9923
|
n.prototype = Object.create(e.prototype, r), n.prototype.constructor = n, Object.defineProperty(n, "super", {
|
|
9923
9924
|
value: e.prototype
|
|
9924
9925
|
}), t && Object.assign(n.prototype, t);
|
|
9925
|
-
},
|
|
9926
|
+
}, fb = (n, e, t, r) => {
|
|
9926
9927
|
let s, o, a;
|
|
9927
9928
|
const u = {};
|
|
9928
9929
|
if (e = e || {}, n == null) return e;
|
|
@@ -9932,11 +9933,11 @@ const ob = (n, e, t, { allOwnKeys: r } = {}) => (ws(e, (s, o) => {
|
|
|
9932
9933
|
n = t !== !1 && oo(n);
|
|
9933
9934
|
} while (n && (!t || t(n, e)) && n !== Object.prototype);
|
|
9934
9935
|
return e;
|
|
9935
|
-
},
|
|
9936
|
+
}, db = (n, e, t) => {
|
|
9936
9937
|
n = String(n), (t === void 0 || t > n.length) && (t = n.length), t -= e.length;
|
|
9937
9938
|
const r = n.indexOf(e, t);
|
|
9938
9939
|
return r !== -1 && r === t;
|
|
9939
|
-
},
|
|
9940
|
+
}, hb = (n) => {
|
|
9940
9941
|
if (!n) return null;
|
|
9941
9942
|
if ($r(n)) return n;
|
|
9942
9943
|
let e = n.length;
|
|
@@ -9945,31 +9946,31 @@ const ob = (n, e, t, { allOwnKeys: r } = {}) => (ws(e, (s, o) => {
|
|
|
9945
9946
|
for (; e-- > 0; )
|
|
9946
9947
|
t[e] = n[e];
|
|
9947
9948
|
return t;
|
|
9948
|
-
},
|
|
9949
|
+
}, pb = /* @__PURE__ */ ((n) => (e) => n && e instanceof n)(typeof Uint8Array < "u" && oo(Uint8Array)), gb = (n, e) => {
|
|
9949
9950
|
const r = (n && n[vi]).call(n);
|
|
9950
9951
|
let s;
|
|
9951
9952
|
for (; (s = r.next()) && !s.done; ) {
|
|
9952
9953
|
const o = s.value;
|
|
9953
9954
|
e.call(n, o[0], o[1]);
|
|
9954
9955
|
}
|
|
9955
|
-
},
|
|
9956
|
+
}, vb = (n, e) => {
|
|
9956
9957
|
let t;
|
|
9957
9958
|
const r = [];
|
|
9958
9959
|
for (; (t = n.exec(e)) !== null; )
|
|
9959
9960
|
r.push(t);
|
|
9960
9961
|
return r;
|
|
9961
|
-
},
|
|
9962
|
+
}, mb = hn("HTMLFormElement"), yb = (n) => n.toLowerCase().replace(
|
|
9962
9963
|
/[-_\s]([a-z\d])(\w*)/g,
|
|
9963
9964
|
function(t, r, s) {
|
|
9964
9965
|
return r.toUpperCase() + s;
|
|
9965
9966
|
}
|
|
9966
|
-
), Tl = (({ hasOwnProperty: n }) => (e, t) => n.call(e, t))(Object.prototype),
|
|
9967
|
+
), Tl = (({ hasOwnProperty: n }) => (e, t) => n.call(e, t))(Object.prototype), bb = hn("RegExp"), pc = (n, e) => {
|
|
9967
9968
|
const t = Object.getOwnPropertyDescriptors(n), r = {};
|
|
9968
9969
|
ws(t, (s, o) => {
|
|
9969
9970
|
let a;
|
|
9970
9971
|
(a = e(s, o, n)) !== !1 && (r[o] = a || s);
|
|
9971
9972
|
}), Object.defineProperties(n, r);
|
|
9972
|
-
},
|
|
9973
|
+
}, xb = (n) => {
|
|
9973
9974
|
pc(n, (e, t) => {
|
|
9974
9975
|
if (jt(n) && ["arguments", "caller", "callee"].indexOf(t) !== -1)
|
|
9975
9976
|
return !1;
|
|
@@ -9984,19 +9985,19 @@ const ob = (n, e, t, { allOwnKeys: r } = {}) => (ws(e, (s, o) => {
|
|
|
9984
9985
|
});
|
|
9985
9986
|
}
|
|
9986
9987
|
});
|
|
9987
|
-
},
|
|
9988
|
+
}, Ab = (n, e) => {
|
|
9988
9989
|
const t = {}, r = (s) => {
|
|
9989
9990
|
s.forEach((o) => {
|
|
9990
9991
|
t[o] = !0;
|
|
9991
9992
|
});
|
|
9992
9993
|
};
|
|
9993
9994
|
return $r(n) ? r(n) : r(String(n).split(e)), t;
|
|
9994
|
-
},
|
|
9995
|
-
},
|
|
9996
|
-
function
|
|
9995
|
+
}, wb = () => {
|
|
9996
|
+
}, Eb = (n, e) => n != null && Number.isFinite(n = +n) ? n : e;
|
|
9997
|
+
function Sb(n) {
|
|
9997
9998
|
return !!(n && jt(n.append) && n[uc] === "FormData" && n[vi]);
|
|
9998
9999
|
}
|
|
9999
|
-
const
|
|
10000
|
+
const Tb = (n) => {
|
|
10000
10001
|
const e = new Array(10), t = (r, s) => {
|
|
10001
10002
|
if (bi(r)) {
|
|
10002
10003
|
if (e.indexOf(r) >= 0)
|
|
@@ -10013,71 +10014,71 @@ const Sb = (n) => {
|
|
|
10013
10014
|
return r;
|
|
10014
10015
|
};
|
|
10015
10016
|
return t(n, 0);
|
|
10016
|
-
},
|
|
10017
|
+
}, Ob = hn("AsyncFunction"), Nb = (n) => n && (bi(n) || jt(n)) && jt(n.then) && jt(n.catch), gc = ((n, e) => n ? setImmediate : e ? ((t, r) => (Zn.addEventListener("message", ({ source: s, data: o }) => {
|
|
10017
10018
|
s === Zn && o === t && r.length && r.shift()();
|
|
10018
10019
|
}, !1), (s) => {
|
|
10019
10020
|
r.push(s), Zn.postMessage(t, "*");
|
|
10020
10021
|
}))(`axios@${Math.random()}`, []) : (t) => setTimeout(t))(
|
|
10021
10022
|
typeof setImmediate == "function",
|
|
10022
10023
|
jt(Zn.postMessage)
|
|
10023
|
-
),
|
|
10024
|
+
), Rb = typeof queueMicrotask < "u" ? queueMicrotask.bind(Zn) : typeof process < "u" && process.nextTick || gc, Cb = (n) => n != null && jt(n[vi]), te = {
|
|
10024
10025
|
isArray: $r,
|
|
10025
10026
|
isArrayBuffer: cc,
|
|
10026
|
-
isBuffer:
|
|
10027
|
-
isFormData:
|
|
10028
|
-
isArrayBufferView:
|
|
10029
|
-
isString:
|
|
10027
|
+
isBuffer: Gy,
|
|
10028
|
+
isFormData: tb,
|
|
10029
|
+
isArrayBufferView: Wy,
|
|
10030
|
+
isString: Ky,
|
|
10030
10031
|
isNumber: fc,
|
|
10031
|
-
isBoolean:
|
|
10032
|
+
isBoolean: Xy,
|
|
10032
10033
|
isObject: bi,
|
|
10033
10034
|
isPlainObject: Ys,
|
|
10034
|
-
isReadableStream:
|
|
10035
|
-
isRequest:
|
|
10036
|
-
isResponse:
|
|
10037
|
-
isHeaders:
|
|
10035
|
+
isReadableStream: rb,
|
|
10036
|
+
isRequest: sb,
|
|
10037
|
+
isResponse: ib,
|
|
10038
|
+
isHeaders: ab,
|
|
10038
10039
|
isUndefined: hs,
|
|
10039
|
-
isDate:
|
|
10040
|
-
isFile:
|
|
10041
|
-
isBlob:
|
|
10042
|
-
isRegExp:
|
|
10040
|
+
isDate: Yy,
|
|
10041
|
+
isFile: Zy,
|
|
10042
|
+
isBlob: Qy,
|
|
10043
|
+
isRegExp: bb,
|
|
10043
10044
|
isFunction: jt,
|
|
10044
|
-
isStream:
|
|
10045
|
-
isURLSearchParams:
|
|
10046
|
-
isTypedArray:
|
|
10047
|
-
isFileList:
|
|
10045
|
+
isStream: eb,
|
|
10046
|
+
isURLSearchParams: nb,
|
|
10047
|
+
isTypedArray: pb,
|
|
10048
|
+
isFileList: Jy,
|
|
10048
10049
|
forEach: ws,
|
|
10049
10050
|
merge: Pa,
|
|
10050
|
-
extend:
|
|
10051
|
-
trim:
|
|
10052
|
-
stripBOM:
|
|
10053
|
-
inherits:
|
|
10054
|
-
toFlatObject:
|
|
10051
|
+
extend: lb,
|
|
10052
|
+
trim: ob,
|
|
10053
|
+
stripBOM: ub,
|
|
10054
|
+
inherits: cb,
|
|
10055
|
+
toFlatObject: fb,
|
|
10055
10056
|
kindOf: mi,
|
|
10056
10057
|
kindOfTest: hn,
|
|
10057
|
-
endsWith:
|
|
10058
|
-
toArray:
|
|
10059
|
-
forEachEntry:
|
|
10060
|
-
matchAll:
|
|
10061
|
-
isHTMLForm:
|
|
10058
|
+
endsWith: db,
|
|
10059
|
+
toArray: hb,
|
|
10060
|
+
forEachEntry: gb,
|
|
10061
|
+
matchAll: vb,
|
|
10062
|
+
isHTMLForm: mb,
|
|
10062
10063
|
hasOwnProperty: Tl,
|
|
10063
10064
|
hasOwnProp: Tl,
|
|
10064
10065
|
// an alias to avoid ESLint no-prototype-builtins detection
|
|
10065
10066
|
reduceDescriptors: pc,
|
|
10066
|
-
freezeMethods:
|
|
10067
|
-
toObjectSet:
|
|
10068
|
-
toCamelCase:
|
|
10069
|
-
noop:
|
|
10070
|
-
toFiniteNumber:
|
|
10067
|
+
freezeMethods: xb,
|
|
10068
|
+
toObjectSet: Ab,
|
|
10069
|
+
toCamelCase: yb,
|
|
10070
|
+
noop: wb,
|
|
10071
|
+
toFiniteNumber: Eb,
|
|
10071
10072
|
findKey: dc,
|
|
10072
10073
|
global: Zn,
|
|
10073
10074
|
isContextDefined: hc,
|
|
10074
|
-
isSpecCompliantForm:
|
|
10075
|
-
toJSONObject:
|
|
10076
|
-
isAsyncFn:
|
|
10077
|
-
isThenable:
|
|
10075
|
+
isSpecCompliantForm: Sb,
|
|
10076
|
+
toJSONObject: Tb,
|
|
10077
|
+
isAsyncFn: Ob,
|
|
10078
|
+
isThenable: Nb,
|
|
10078
10079
|
setImmediate: gc,
|
|
10079
|
-
asap:
|
|
10080
|
-
isIterable:
|
|
10080
|
+
asap: Rb,
|
|
10081
|
+
isIterable: Cb
|
|
10081
10082
|
};
|
|
10082
10083
|
function je(n, e, t, r, s) {
|
|
10083
10084
|
Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = n, this.name = "AxiosError", e && (this.code = e), t && (this.config = t), r && (this.request = r), s && (this.response = s, this.status = s.status ? s.status : null);
|
|
@@ -10129,7 +10130,7 @@ je.from = (n, e, t, r, s, o) => {
|
|
|
10129
10130
|
return i !== Error.prototype;
|
|
10130
10131
|
}, (u) => u !== "isAxiosError"), je.call(a, n.message, e, t, r, s), a.cause = n, a.name = n.name, o && Object.assign(a, o), a;
|
|
10131
10132
|
};
|
|
10132
|
-
const
|
|
10133
|
+
const Ib = null;
|
|
10133
10134
|
function Fa(n) {
|
|
10134
10135
|
return te.isPlainObject(n) || te.isArray(n);
|
|
10135
10136
|
}
|
|
@@ -10141,10 +10142,10 @@ function Ol(n, e, t) {
|
|
|
10141
10142
|
return s = yc(s), !t && o ? "[" + s + "]" : s;
|
|
10142
10143
|
}).join(t ? "." : "") : e;
|
|
10143
10144
|
}
|
|
10144
|
-
function
|
|
10145
|
+
function Lb(n) {
|
|
10145
10146
|
return te.isArray(n) && !n.some(Fa);
|
|
10146
10147
|
}
|
|
10147
|
-
const
|
|
10148
|
+
const kb = te.toFlatObject(te, {}, null, function(e) {
|
|
10148
10149
|
return /^is[A-Z]/.test(e);
|
|
10149
10150
|
});
|
|
10150
10151
|
function xi(n, e, t) {
|
|
@@ -10173,7 +10174,7 @@ function xi(n, e, t) {
|
|
|
10173
10174
|
if (h && !b && typeof h == "object") {
|
|
10174
10175
|
if (te.endsWith(v, "{}"))
|
|
10175
10176
|
v = r ? v : v.slice(0, -2), h = JSON.stringify(h);
|
|
10176
|
-
else if (te.isArray(h) &&
|
|
10177
|
+
else if (te.isArray(h) && Lb(h) || (te.isFileList(h) || te.endsWith(v, "[]")) && (S = te.toArray(h)))
|
|
10177
10178
|
return v = yc(v), S.forEach(function(R, F) {
|
|
10178
10179
|
!(te.isUndefined(R) || R === null) && e.append(
|
|
10179
10180
|
// eslint-disable-next-line no-nested-ternary
|
|
@@ -10184,7 +10185,7 @@ function xi(n, e, t) {
|
|
|
10184
10185
|
}
|
|
10185
10186
|
return Fa(h) ? !0 : (e.append(Ol(b, v, o), l(h)), !1);
|
|
10186
10187
|
}
|
|
10187
|
-
const d = [], f = Object.assign(
|
|
10188
|
+
const d = [], f = Object.assign(kb, {
|
|
10188
10189
|
defaultVisitor: c,
|
|
10189
10190
|
convertValue: l,
|
|
10190
10191
|
isVisitable: Fa
|
|
@@ -10237,13 +10238,13 @@ bc.toString = function(e) {
|
|
|
10237
10238
|
return t(s[0]) + "=" + t(s[1]);
|
|
10238
10239
|
}, "").join("&");
|
|
10239
10240
|
};
|
|
10240
|
-
function
|
|
10241
|
+
function Pb(n) {
|
|
10241
10242
|
return encodeURIComponent(n).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
|
10242
10243
|
}
|
|
10243
10244
|
function xc(n, e, t) {
|
|
10244
10245
|
if (!e)
|
|
10245
10246
|
return n;
|
|
10246
|
-
const r = t && t.encode ||
|
|
10247
|
+
const r = t && t.encode || Pb;
|
|
10247
10248
|
te.isFunction(t) && (t = {
|
|
10248
10249
|
serialize: t
|
|
10249
10250
|
});
|
|
@@ -10313,37 +10314,37 @@ const Ac = {
|
|
|
10313
10314
|
silentJSONParsing: !0,
|
|
10314
10315
|
forcedJSONParsing: !0,
|
|
10315
10316
|
clarifyTimeoutError: !1
|
|
10316
|
-
},
|
|
10317
|
+
}, Fb = typeof URLSearchParams < "u" ? URLSearchParams : lo, Mb = typeof FormData < "u" ? FormData : null, Db = typeof Blob < "u" ? Blob : null, Bb = {
|
|
10317
10318
|
isBrowser: !0,
|
|
10318
10319
|
classes: {
|
|
10319
|
-
URLSearchParams:
|
|
10320
|
-
FormData:
|
|
10321
|
-
Blob:
|
|
10320
|
+
URLSearchParams: Fb,
|
|
10321
|
+
FormData: Mb,
|
|
10322
|
+
Blob: Db
|
|
10322
10323
|
},
|
|
10323
10324
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
10324
|
-
}, uo = typeof window < "u" && typeof document < "u", Ma = typeof navigator == "object" && navigator || void 0,
|
|
10325
|
-
self instanceof WorkerGlobalScope && typeof self.importScripts == "function",
|
|
10325
|
+
}, uo = typeof window < "u" && typeof document < "u", Ma = typeof navigator == "object" && navigator || void 0, Ub = uo && (!Ma || ["ReactNative", "NativeScript", "NS"].indexOf(Ma.product) < 0), jb = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
|
10326
|
+
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", $b = uo && window.location.href || "http://localhost", _b = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10326
10327
|
__proto__: null,
|
|
10327
10328
|
hasBrowserEnv: uo,
|
|
10328
|
-
hasStandardBrowserEnv:
|
|
10329
|
-
hasStandardBrowserWebWorkerEnv:
|
|
10329
|
+
hasStandardBrowserEnv: Ub,
|
|
10330
|
+
hasStandardBrowserWebWorkerEnv: jb,
|
|
10330
10331
|
navigator: Ma,
|
|
10331
|
-
origin:
|
|
10332
|
+
origin: $b
|
|
10332
10333
|
}, Symbol.toStringTag, { value: "Module" })), Pt = {
|
|
10333
|
-
|
|
10334
|
-
...
|
|
10334
|
+
..._b,
|
|
10335
|
+
...Bb
|
|
10335
10336
|
};
|
|
10336
|
-
function
|
|
10337
|
+
function qb(n, e) {
|
|
10337
10338
|
return xi(n, new Pt.classes.URLSearchParams(), Object.assign({
|
|
10338
10339
|
visitor: function(t, r, s, o) {
|
|
10339
10340
|
return Pt.isNode && te.isBuffer(t) ? (this.append(r, t.toString("base64")), !1) : o.defaultVisitor.apply(this, arguments);
|
|
10340
10341
|
}
|
|
10341
10342
|
}, e));
|
|
10342
10343
|
}
|
|
10343
|
-
function
|
|
10344
|
+
function zb(n) {
|
|
10344
10345
|
return te.matchAll(/\w+|\[(\w*)]/g, n).map((e) => e[0] === "[]" ? "" : e[1] || e[0]);
|
|
10345
10346
|
}
|
|
10346
|
-
function
|
|
10347
|
+
function Hb(n) {
|
|
10347
10348
|
const e = {}, t = Object.keys(n);
|
|
10348
10349
|
let r;
|
|
10349
10350
|
const s = t.length;
|
|
@@ -10357,17 +10358,17 @@ function wc(n) {
|
|
|
10357
10358
|
let a = t[o++];
|
|
10358
10359
|
if (a === "__proto__") return !0;
|
|
10359
10360
|
const u = Number.isFinite(+a), i = o >= t.length;
|
|
10360
|
-
return a = !a && te.isArray(s) ? s.length : a, i ? (te.hasOwnProp(s, a) ? s[a] = [s[a], r] : s[a] = r, !u) : ((!s[a] || !te.isObject(s[a])) && (s[a] = []), e(t, r, s[a], o) && te.isArray(s[a]) && (s[a] =
|
|
10361
|
+
return a = !a && te.isArray(s) ? s.length : a, i ? (te.hasOwnProp(s, a) ? s[a] = [s[a], r] : s[a] = r, !u) : ((!s[a] || !te.isObject(s[a])) && (s[a] = []), e(t, r, s[a], o) && te.isArray(s[a]) && (s[a] = Hb(s[a])), !u);
|
|
10361
10362
|
}
|
|
10362
10363
|
if (te.isFormData(n) && te.isFunction(n.entries)) {
|
|
10363
10364
|
const t = {};
|
|
10364
10365
|
return te.forEachEntry(n, (r, s) => {
|
|
10365
|
-
e(
|
|
10366
|
+
e(zb(r), s, t, 0);
|
|
10366
10367
|
}), t;
|
|
10367
10368
|
}
|
|
10368
10369
|
return null;
|
|
10369
10370
|
}
|
|
10370
|
-
function
|
|
10371
|
+
function Vb(n, e, t) {
|
|
10371
10372
|
if (te.isString(n))
|
|
10372
10373
|
try {
|
|
10373
10374
|
return (e || JSON.parse)(n), te.trim(n);
|
|
@@ -10393,7 +10394,7 @@ const Es = {
|
|
|
10393
10394
|
let u;
|
|
10394
10395
|
if (o) {
|
|
10395
10396
|
if (r.indexOf("application/x-www-form-urlencoded") > -1)
|
|
10396
|
-
return
|
|
10397
|
+
return qb(e, this.formSerializer).toString();
|
|
10397
10398
|
if ((u = te.isFileList(e)) || r.indexOf("multipart/form-data") > -1) {
|
|
10398
10399
|
const i = this.env && this.env.FormData;
|
|
10399
10400
|
return xi(
|
|
@@ -10403,7 +10404,7 @@ const Es = {
|
|
|
10403
10404
|
);
|
|
10404
10405
|
}
|
|
10405
10406
|
}
|
|
10406
|
-
return o || s ? (t.setContentType("application/json", !1),
|
|
10407
|
+
return o || s ? (t.setContentType("application/json", !1), Vb(e)) : e;
|
|
10407
10408
|
}],
|
|
10408
10409
|
transformResponse: [function(e) {
|
|
10409
10410
|
const t = this.transitional || Es.transitional, r = t && t.forcedJSONParsing, s = this.responseType === "json";
|
|
@@ -10446,7 +10447,7 @@ const Es = {
|
|
|
10446
10447
|
te.forEach(["delete", "get", "head", "post", "put", "patch"], (n) => {
|
|
10447
10448
|
Es.headers[n] = {};
|
|
10448
10449
|
});
|
|
10449
|
-
const
|
|
10450
|
+
const Gb = te.toObjectSet([
|
|
10450
10451
|
"age",
|
|
10451
10452
|
"authorization",
|
|
10452
10453
|
"content-length",
|
|
@@ -10464,12 +10465,12 @@ const Vb = te.toObjectSet([
|
|
|
10464
10465
|
"referer",
|
|
10465
10466
|
"retry-after",
|
|
10466
10467
|
"user-agent"
|
|
10467
|
-
]),
|
|
10468
|
+
]), Wb = (n) => {
|
|
10468
10469
|
const e = {};
|
|
10469
10470
|
let t, r, s;
|
|
10470
10471
|
return n && n.split(`
|
|
10471
10472
|
`).forEach(function(a) {
|
|
10472
|
-
s = a.indexOf(":"), t = a.substring(0, s).trim().toLowerCase(), r = a.substring(s + 1).trim(), !(!t || e[t] &&
|
|
10473
|
+
s = a.indexOf(":"), t = a.substring(0, s).trim().toLowerCase(), r = a.substring(s + 1).trim(), !(!t || e[t] && Gb[t]) && (t === "set-cookie" ? e[t] ? e[t].push(r) : e[t] = [r] : e[t] = e[t] ? e[t] + ", " + r : r);
|
|
10473
10474
|
}), e;
|
|
10474
10475
|
}, Cl = Symbol("internals");
|
|
10475
10476
|
function Xr(n) {
|
|
@@ -10478,14 +10479,14 @@ function Xr(n) {
|
|
|
10478
10479
|
function Zs(n) {
|
|
10479
10480
|
return n === !1 || n == null ? n : te.isArray(n) ? n.map(Zs) : String(n);
|
|
10480
10481
|
}
|
|
10481
|
-
function
|
|
10482
|
+
function Kb(n) {
|
|
10482
10483
|
const e = /* @__PURE__ */ Object.create(null), t = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
|
|
10483
10484
|
let r;
|
|
10484
10485
|
for (; r = t.exec(n); )
|
|
10485
10486
|
e[r[1]] = r[2];
|
|
10486
10487
|
return e;
|
|
10487
10488
|
}
|
|
10488
|
-
const
|
|
10489
|
+
const Xb = (n) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(n.trim());
|
|
10489
10490
|
function ea(n, e, t, r, s) {
|
|
10490
10491
|
if (te.isFunction(r))
|
|
10491
10492
|
return r.call(this, e, t);
|
|
@@ -10496,10 +10497,10 @@ function ea(n, e, t, r, s) {
|
|
|
10496
10497
|
return r.test(e);
|
|
10497
10498
|
}
|
|
10498
10499
|
}
|
|
10499
|
-
function
|
|
10500
|
+
function Yb(n) {
|
|
10500
10501
|
return n.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (e, t, r) => t.toUpperCase() + r);
|
|
10501
10502
|
}
|
|
10502
|
-
function
|
|
10503
|
+
function Zb(n, e) {
|
|
10503
10504
|
const t = te.toCamelCase(" " + e);
|
|
10504
10505
|
["get", "set", "has"].forEach((r) => {
|
|
10505
10506
|
Object.defineProperty(n, r + t, {
|
|
@@ -10526,8 +10527,8 @@ let $t = class {
|
|
|
10526
10527
|
const a = (u, i) => te.forEach(u, (l, c) => o(l, c, i));
|
|
10527
10528
|
if (te.isPlainObject(e) || e instanceof this.constructor)
|
|
10528
10529
|
a(e, t);
|
|
10529
|
-
else if (te.isString(e) && (e = e.trim()) && !
|
|
10530
|
-
a(
|
|
10530
|
+
else if (te.isString(e) && (e = e.trim()) && !Xb(e))
|
|
10531
|
+
a(Wb(e), t);
|
|
10531
10532
|
else if (te.isObject(e) && te.isIterable(e)) {
|
|
10532
10533
|
let u = {}, i, l;
|
|
10533
10534
|
for (const c of e) {
|
|
@@ -10548,7 +10549,7 @@ let $t = class {
|
|
|
10548
10549
|
if (!t)
|
|
10549
10550
|
return s;
|
|
10550
10551
|
if (t === !0)
|
|
10551
|
-
return
|
|
10552
|
+
return Kb(s);
|
|
10552
10553
|
if (te.isFunction(t))
|
|
10553
10554
|
return t.call(this, s, r);
|
|
10554
10555
|
if (te.isRegExp(t))
|
|
@@ -10592,7 +10593,7 @@ let $t = class {
|
|
|
10592
10593
|
t[a] = Zs(s), delete t[o];
|
|
10593
10594
|
return;
|
|
10594
10595
|
}
|
|
10595
|
-
const u = e ?
|
|
10596
|
+
const u = e ? Yb(o) : String(o).trim();
|
|
10596
10597
|
u !== o && delete t[o], t[u] = Zs(s), r[u] = !0;
|
|
10597
10598
|
}), this;
|
|
10598
10599
|
}
|
|
@@ -10631,7 +10632,7 @@ let $t = class {
|
|
|
10631
10632
|
}).accessors, s = this.prototype;
|
|
10632
10633
|
function o(a) {
|
|
10633
10634
|
const u = Xr(a);
|
|
10634
|
-
r[u] || (
|
|
10635
|
+
r[u] || (Zb(s, a), r[u] = !0);
|
|
10635
10636
|
}
|
|
10636
10637
|
return te.isArray(e) ? e.forEach(o) : o(e), this;
|
|
10637
10638
|
}
|
|
@@ -10673,11 +10674,11 @@ function Sc(n, e, t) {
|
|
|
10673
10674
|
t
|
|
10674
10675
|
));
|
|
10675
10676
|
}
|
|
10676
|
-
function
|
|
10677
|
+
function Qb(n) {
|
|
10677
10678
|
const e = /^([-+\w]{1,25})(:?\/\/|:)/.exec(n);
|
|
10678
10679
|
return e && e[1] || "";
|
|
10679
10680
|
}
|
|
10680
|
-
function
|
|
10681
|
+
function Jb(n, e) {
|
|
10681
10682
|
n = n || 10;
|
|
10682
10683
|
const t = new Array(n), r = new Array(n);
|
|
10683
10684
|
let s = 0, o = 0, a;
|
|
@@ -10693,7 +10694,7 @@ function Qb(n, e) {
|
|
|
10693
10694
|
return g ? Math.round(f * 1e3 / g) : void 0;
|
|
10694
10695
|
};
|
|
10695
10696
|
}
|
|
10696
|
-
function
|
|
10697
|
+
function ex(n, e) {
|
|
10697
10698
|
let t = 0, r = 1e3 / e, s, o;
|
|
10698
10699
|
const a = (l, c = Date.now()) => {
|
|
10699
10700
|
t = c, s = null, o && (clearTimeout(o), o = null), n.apply(null, l);
|
|
@@ -10707,8 +10708,8 @@ function Jb(n, e) {
|
|
|
10707
10708
|
}
|
|
10708
10709
|
const si = (n, e, t = 3) => {
|
|
10709
10710
|
let r = 0;
|
|
10710
|
-
const s =
|
|
10711
|
-
return
|
|
10711
|
+
const s = Jb(50, 250);
|
|
10712
|
+
return ex((o) => {
|
|
10712
10713
|
const a = o.loaded, u = o.lengthComputable ? o.total : void 0, i = a - r, l = s(i), c = a <= u;
|
|
10713
10714
|
r = a;
|
|
10714
10715
|
const d = {
|
|
@@ -10731,10 +10732,10 @@ const si = (n, e, t = 3) => {
|
|
|
10731
10732
|
total: n,
|
|
10732
10733
|
loaded: r
|
|
10733
10734
|
}), e[1]];
|
|
10734
|
-
}, Ll = (n) => (...e) => te.asap(() => n(...e)),
|
|
10735
|
+
}, Ll = (n) => (...e) => te.asap(() => n(...e)), tx = Pt.hasStandardBrowserEnv ? /* @__PURE__ */ ((n, e) => (t) => (t = new URL(t, Pt.origin), n.protocol === t.protocol && n.host === t.host && (e || n.port === t.port)))(
|
|
10735
10736
|
new URL(Pt.origin),
|
|
10736
10737
|
Pt.navigator && /(msie|trident)/i.test(Pt.navigator.userAgent)
|
|
10737
|
-
) : () => !0,
|
|
10738
|
+
) : () => !0, nx = Pt.hasStandardBrowserEnv ? (
|
|
10738
10739
|
// Standard browser envs support document.cookie
|
|
10739
10740
|
{
|
|
10740
10741
|
write(n, e, t, r, s, o) {
|
|
@@ -10761,15 +10762,15 @@ const si = (n, e, t = 3) => {
|
|
|
10761
10762
|
}
|
|
10762
10763
|
}
|
|
10763
10764
|
);
|
|
10764
|
-
function
|
|
10765
|
+
function rx(n) {
|
|
10765
10766
|
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(n);
|
|
10766
10767
|
}
|
|
10767
|
-
function
|
|
10768
|
+
function sx(n, e) {
|
|
10768
10769
|
return e ? n.replace(/\/?\/$/, "") + "/" + e.replace(/^\/+/, "") : n;
|
|
10769
10770
|
}
|
|
10770
10771
|
function Tc(n, e, t) {
|
|
10771
|
-
let r = !
|
|
10772
|
-
return n && (r || t == !1) ?
|
|
10772
|
+
let r = !rx(e);
|
|
10773
|
+
return n && (r || t == !1) ? sx(n, e) : e;
|
|
10773
10774
|
}
|
|
10774
10775
|
const kl = (n) => n instanceof $t ? { ...n } : n;
|
|
10775
10776
|
function sr(n, e) {
|
|
@@ -10852,12 +10853,12 @@ const Oc = (n) => {
|
|
|
10852
10853
|
a.setContentType([l || "multipart/form-data", ...c].join("; "));
|
|
10853
10854
|
}
|
|
10854
10855
|
}
|
|
10855
|
-
if (Pt.hasStandardBrowserEnv && (r && te.isFunction(r) && (r = r(e)), r || r !== !1 &&
|
|
10856
|
-
const l = s && o &&
|
|
10856
|
+
if (Pt.hasStandardBrowserEnv && (r && te.isFunction(r) && (r = r(e)), r || r !== !1 && tx(e.url))) {
|
|
10857
|
+
const l = s && o && nx.read(o);
|
|
10857
10858
|
l && a.set(s, l);
|
|
10858
10859
|
}
|
|
10859
10860
|
return e;
|
|
10860
|
-
},
|
|
10861
|
+
}, ix = typeof XMLHttpRequest < "u", ax = ix && function(n) {
|
|
10861
10862
|
return new Promise(function(t, r) {
|
|
10862
10863
|
const s = Oc(n);
|
|
10863
10864
|
let o = s.data;
|
|
@@ -10907,14 +10908,14 @@ const Oc = (n) => {
|
|
|
10907
10908
|
}), te.isUndefined(s.withCredentials) || (b.withCredentials = !!s.withCredentials), u && u !== "json" && (b.responseType = s.responseType), l && ([f, h] = si(l, !0), b.addEventListener("progress", f)), i && b.upload && ([d, g] = si(i), b.upload.addEventListener("progress", d), b.upload.addEventListener("loadend", g)), (s.cancelToken || s.signal) && (c = (R) => {
|
|
10908
10909
|
b && (r(!R || R.type ? new _r(null, n, b) : R), b.abort(), b = null);
|
|
10909
10910
|
}, s.cancelToken && s.cancelToken.subscribe(c), s.signal && (s.signal.aborted ? c() : s.signal.addEventListener("abort", c)));
|
|
10910
|
-
const E =
|
|
10911
|
+
const E = Qb(s.url);
|
|
10911
10912
|
if (E && Pt.protocols.indexOf(E) === -1) {
|
|
10912
10913
|
r(new je("Unsupported protocol " + E + ":", je.ERR_BAD_REQUEST, n));
|
|
10913
10914
|
return;
|
|
10914
10915
|
}
|
|
10915
10916
|
b.send(o || null);
|
|
10916
10917
|
});
|
|
10917
|
-
},
|
|
10918
|
+
}, ox = (n, e) => {
|
|
10918
10919
|
const { length: t } = n = n ? n.filter(Boolean) : [];
|
|
10919
10920
|
if (e || t) {
|
|
10920
10921
|
let r = new AbortController(), s;
|
|
@@ -10937,7 +10938,7 @@ const Oc = (n) => {
|
|
|
10937
10938
|
const { signal: i } = r;
|
|
10938
10939
|
return i.unsubscribe = () => te.asap(u), i;
|
|
10939
10940
|
}
|
|
10940
|
-
},
|
|
10941
|
+
}, lx = function* (n, e) {
|
|
10941
10942
|
let t = n.byteLength;
|
|
10942
10943
|
if (t < e) {
|
|
10943
10944
|
yield n;
|
|
@@ -10946,10 +10947,10 @@ const Oc = (n) => {
|
|
|
10946
10947
|
let r = 0, s;
|
|
10947
10948
|
for (; r < t; )
|
|
10948
10949
|
s = r + e, yield n.slice(r, s), r = s;
|
|
10949
|
-
},
|
|
10950
|
-
for await (const t of
|
|
10951
|
-
yield*
|
|
10952
|
-
},
|
|
10950
|
+
}, ux = async function* (n, e) {
|
|
10951
|
+
for await (const t of cx(n))
|
|
10952
|
+
yield* lx(t, e);
|
|
10953
|
+
}, cx = async function* (n) {
|
|
10953
10954
|
if (n[Symbol.asyncIterator]) {
|
|
10954
10955
|
yield* n;
|
|
10955
10956
|
return;
|
|
@@ -10966,7 +10967,7 @@ const Oc = (n) => {
|
|
|
10966
10967
|
await e.cancel();
|
|
10967
10968
|
}
|
|
10968
10969
|
}, Pl = (n, e, t, r) => {
|
|
10969
|
-
const s =
|
|
10970
|
+
const s = ux(n, e);
|
|
10970
10971
|
let o = 0, a, u = (i) => {
|
|
10971
10972
|
a || (a = !0, r && r(i));
|
|
10972
10973
|
};
|
|
@@ -10994,13 +10995,13 @@ const Oc = (n) => {
|
|
|
10994
10995
|
}, {
|
|
10995
10996
|
highWaterMark: 2
|
|
10996
10997
|
});
|
|
10997
|
-
}, Ai = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", Nc = Ai && typeof ReadableStream == "function",
|
|
10998
|
+
}, Ai = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", Nc = Ai && typeof ReadableStream == "function", fx = Ai && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((n) => (e) => n.encode(e))(new TextEncoder()) : async (n) => new Uint8Array(await new Response(n).arrayBuffer())), Rc = (n, ...e) => {
|
|
10998
10999
|
try {
|
|
10999
11000
|
return !!n(...e);
|
|
11000
11001
|
} catch {
|
|
11001
11002
|
return !1;
|
|
11002
11003
|
}
|
|
11003
|
-
},
|
|
11004
|
+
}, dx = Nc && Rc(() => {
|
|
11004
11005
|
let n = !1;
|
|
11005
11006
|
const e = new Request(Pt.origin, {
|
|
11006
11007
|
body: new ReadableStream(),
|
|
@@ -11020,7 +11021,7 @@ Ai && ((n) => {
|
|
|
11020
11021
|
});
|
|
11021
11022
|
});
|
|
11022
11023
|
})(new Response());
|
|
11023
|
-
const
|
|
11024
|
+
const hx = async (n) => {
|
|
11024
11025
|
if (n == null)
|
|
11025
11026
|
return 0;
|
|
11026
11027
|
if (te.isBlob(n))
|
|
@@ -11033,11 +11034,11 @@ const dx = async (n) => {
|
|
|
11033
11034
|
if (te.isArrayBufferView(n) || te.isArrayBuffer(n))
|
|
11034
11035
|
return n.byteLength;
|
|
11035
11036
|
if (te.isURLSearchParams(n) && (n = n + ""), te.isString(n))
|
|
11036
|
-
return (await
|
|
11037
|
-
},
|
|
11037
|
+
return (await fx(n)).byteLength;
|
|
11038
|
+
}, px = async (n, e) => {
|
|
11038
11039
|
const t = te.toFiniteNumber(n.getContentLength());
|
|
11039
|
-
return t ??
|
|
11040
|
-
},
|
|
11040
|
+
return t ?? hx(e);
|
|
11041
|
+
}, gx = Ai && (async (n) => {
|
|
11041
11042
|
let {
|
|
11042
11043
|
url: e,
|
|
11043
11044
|
method: t,
|
|
@@ -11053,13 +11054,13 @@ const dx = async (n) => {
|
|
|
11053
11054
|
fetchOptions: f
|
|
11054
11055
|
} = Oc(n);
|
|
11055
11056
|
l = l ? (l + "").toLowerCase() : "text";
|
|
11056
|
-
let g =
|
|
11057
|
+
let g = ox([s, o && o.toAbortSignal()], a), h;
|
|
11057
11058
|
const v = g && g.unsubscribe && (() => {
|
|
11058
11059
|
g.unsubscribe();
|
|
11059
11060
|
});
|
|
11060
11061
|
let b;
|
|
11061
11062
|
try {
|
|
11062
|
-
if (i &&
|
|
11063
|
+
if (i && dx && t !== "get" && t !== "head" && (b = await px(c, r)) !== 0) {
|
|
11063
11064
|
let M = new Request(e, {
|
|
11064
11065
|
method: "POST",
|
|
11065
11066
|
body: r,
|
|
@@ -11123,9 +11124,9 @@ const dx = async (n) => {
|
|
|
11123
11124
|
) : je.from(S, S && S.code, n, h);
|
|
11124
11125
|
}
|
|
11125
11126
|
}), Ba = {
|
|
11126
|
-
http:
|
|
11127
|
-
xhr:
|
|
11128
|
-
fetch:
|
|
11127
|
+
http: Ib,
|
|
11128
|
+
xhr: ax,
|
|
11129
|
+
fetch: gx
|
|
11129
11130
|
};
|
|
11130
11131
|
te.forEach(Ba, (n, e) => {
|
|
11131
11132
|
if (n) {
|
|
@@ -11136,7 +11137,7 @@ te.forEach(Ba, (n, e) => {
|
|
|
11136
11137
|
Object.defineProperty(n, "adapterName", { value: e });
|
|
11137
11138
|
}
|
|
11138
11139
|
});
|
|
11139
|
-
const Ml = (n) => `- ${n}`,
|
|
11140
|
+
const Ml = (n) => `- ${n}`, vx = (n) => te.isFunction(n) || n === null || n === !1, Cc = {
|
|
11140
11141
|
getAdapter: (n) => {
|
|
11141
11142
|
n = te.isArray(n) ? n : [n];
|
|
11142
11143
|
const { length: e } = n;
|
|
@@ -11145,7 +11146,7 @@ const Ml = (n) => `- ${n}`, gx = (n) => te.isFunction(n) || n === null || n ===
|
|
|
11145
11146
|
for (let o = 0; o < e; o++) {
|
|
11146
11147
|
t = n[o];
|
|
11147
11148
|
let a;
|
|
11148
|
-
if (r = t, !
|
|
11149
|
+
if (r = t, !vx(t) && (r = Ba[(a = String(t)).toLowerCase()], r === void 0))
|
|
11149
11150
|
throw new je(`Unknown adapter '${a}'`);
|
|
11150
11151
|
if (r)
|
|
11151
11152
|
break;
|
|
@@ -11217,7 +11218,7 @@ wi.transitional = function(e, t, r) {
|
|
|
11217
11218
|
wi.spelling = function(e) {
|
|
11218
11219
|
return (t, r) => (console.warn(`${r} is likely a misspelling of ${e}`), !0);
|
|
11219
11220
|
};
|
|
11220
|
-
function
|
|
11221
|
+
function mx(n, e, t) {
|
|
11221
11222
|
if (typeof n != "object")
|
|
11222
11223
|
throw new je("options must be an object", je.ERR_BAD_OPTION_VALUE);
|
|
11223
11224
|
const r = Object.keys(n);
|
|
@@ -11235,7 +11236,7 @@ function vx(n, e, t) {
|
|
|
11235
11236
|
}
|
|
11236
11237
|
}
|
|
11237
11238
|
const Qs = {
|
|
11238
|
-
assertOptions:
|
|
11239
|
+
assertOptions: mx,
|
|
11239
11240
|
validators: wi
|
|
11240
11241
|
}, vn = Qs.validators;
|
|
11241
11242
|
let Jn = class {
|
|
@@ -11362,7 +11363,7 @@ te.forEach(["post", "put", "patch"], function(e) {
|
|
|
11362
11363
|
}
|
|
11363
11364
|
Jn.prototype[e] = t(), Jn.prototype[e + "Form"] = t(!0);
|
|
11364
11365
|
});
|
|
11365
|
-
let
|
|
11366
|
+
let yx = class Lc {
|
|
11366
11367
|
constructor(e) {
|
|
11367
11368
|
if (typeof e != "function")
|
|
11368
11369
|
throw new TypeError("executor must be a function.");
|
|
@@ -11435,12 +11436,12 @@ let mx = class Lc {
|
|
|
11435
11436
|
};
|
|
11436
11437
|
}
|
|
11437
11438
|
};
|
|
11438
|
-
function
|
|
11439
|
+
function bx(n) {
|
|
11439
11440
|
return function(t) {
|
|
11440
11441
|
return n.apply(null, t);
|
|
11441
11442
|
};
|
|
11442
11443
|
}
|
|
11443
|
-
function
|
|
11444
|
+
function xx(n) {
|
|
11444
11445
|
return te.isObject(n) && n.isAxiosError === !0;
|
|
11445
11446
|
}
|
|
11446
11447
|
const Ua = {
|
|
@@ -11520,7 +11521,7 @@ function kc(n) {
|
|
|
11520
11521
|
const ft = kc(Es);
|
|
11521
11522
|
ft.Axios = Jn;
|
|
11522
11523
|
ft.CanceledError = _r;
|
|
11523
|
-
ft.CancelToken =
|
|
11524
|
+
ft.CancelToken = yx;
|
|
11524
11525
|
ft.isCancel = Ec;
|
|
11525
11526
|
ft.VERSION = Ic;
|
|
11526
11527
|
ft.toFormData = xi;
|
|
@@ -11529,8 +11530,8 @@ ft.Cancel = ft.CanceledError;
|
|
|
11529
11530
|
ft.all = function(e) {
|
|
11530
11531
|
return Promise.all(e);
|
|
11531
11532
|
};
|
|
11532
|
-
ft.spread =
|
|
11533
|
-
ft.isAxiosError =
|
|
11533
|
+
ft.spread = bx;
|
|
11534
|
+
ft.isAxiosError = xx;
|
|
11534
11535
|
ft.mergeConfig = sr;
|
|
11535
11536
|
ft.AxiosHeaders = $t;
|
|
11536
11537
|
ft.formToJSON = (n) => wc(te.isHTMLForm(n) ? new FormData(n) : n);
|
|
@@ -11538,25 +11539,25 @@ ft.getAdapter = Cc.getAdapter;
|
|
|
11538
11539
|
ft.HttpStatusCode = Ua;
|
|
11539
11540
|
ft.default = ft;
|
|
11540
11541
|
const {
|
|
11541
|
-
Axios:
|
|
11542
|
-
AxiosError:
|
|
11543
|
-
CanceledError:
|
|
11544
|
-
isCancel:
|
|
11545
|
-
CancelToken:
|
|
11546
|
-
VERSION:
|
|
11547
|
-
all:
|
|
11548
|
-
Cancel:
|
|
11549
|
-
isAxiosError:
|
|
11550
|
-
spread:
|
|
11551
|
-
toFormData:
|
|
11552
|
-
AxiosHeaders:
|
|
11553
|
-
HttpStatusCode:
|
|
11554
|
-
formToJSON:
|
|
11555
|
-
getAdapter:
|
|
11556
|
-
mergeConfig:
|
|
11542
|
+
Axios: iA,
|
|
11543
|
+
AxiosError: aA,
|
|
11544
|
+
CanceledError: oA,
|
|
11545
|
+
isCancel: lA,
|
|
11546
|
+
CancelToken: uA,
|
|
11547
|
+
VERSION: cA,
|
|
11548
|
+
all: fA,
|
|
11549
|
+
Cancel: dA,
|
|
11550
|
+
isAxiosError: hA,
|
|
11551
|
+
spread: pA,
|
|
11552
|
+
toFormData: gA,
|
|
11553
|
+
AxiosHeaders: vA,
|
|
11554
|
+
HttpStatusCode: mA,
|
|
11555
|
+
formToJSON: yA,
|
|
11556
|
+
getAdapter: bA,
|
|
11557
|
+
mergeConfig: xA
|
|
11557
11558
|
} = ft;
|
|
11558
11559
|
var ra = { exports: {} }, Ul;
|
|
11559
|
-
function
|
|
11560
|
+
function Ax() {
|
|
11560
11561
|
return Ul || (Ul = 1, function(n, e) {
|
|
11561
11562
|
(function(r, s) {
|
|
11562
11563
|
n.exports = s();
|
|
@@ -17317,15 +17318,15 @@ Expect errors in decoding.`), A = A.replace(/[^A-Za-z0-9\+\/\=]/g, ""); I = this
|
|
|
17317
17318
|
});
|
|
17318
17319
|
}(ra)), ra.exports;
|
|
17319
17320
|
}
|
|
17320
|
-
var
|
|
17321
|
-
const sa = /* @__PURE__ */ Ya(
|
|
17321
|
+
var wx = Ax();
|
|
17322
|
+
const sa = /* @__PURE__ */ Ya(wx), Ex = {
|
|
17322
17323
|
xmlns: "http://www.w3.org/2000/svg",
|
|
17323
17324
|
fill: "none",
|
|
17324
17325
|
stroke: "currentColor",
|
|
17325
17326
|
viewBox: "0 0 24 24"
|
|
17326
17327
|
};
|
|
17327
|
-
function
|
|
17328
|
-
return fe(), ye("svg",
|
|
17328
|
+
function Sx(n, e) {
|
|
17329
|
+
return fe(), ye("svg", Ex, e[0] || (e[0] = [
|
|
17329
17330
|
ne("path", {
|
|
17330
17331
|
"stroke-linecap": "round",
|
|
17331
17332
|
"stroke-linejoin": "round",
|
|
@@ -17334,13 +17335,13 @@ function Ex(n, e) {
|
|
|
17334
17335
|
}, null, -1)
|
|
17335
17336
|
]));
|
|
17336
17337
|
}
|
|
17337
|
-
const
|
|
17338
|
+
const Tx = { render: Sx }, Ox = { class: "file-upload" }, Nx = ["name", "value"], Rx = {
|
|
17338
17339
|
key: 0,
|
|
17339
17340
|
class: "preview"
|
|
17340
|
-
},
|
|
17341
|
+
}, Cx = { class: "file-upload-preview" }, Ix = ["src"], Lx = {
|
|
17341
17342
|
key: 1,
|
|
17342
17343
|
class: "preview"
|
|
17343
|
-
},
|
|
17344
|
+
}, kx = { class: "file-upload-preview" }, Px = ["src", "title"], Fx = ["href"], Mx = { class: "file-upload-title" }, Dx = { class: "file-upload-file-remove" }, Bx = { class: "relative" }, Ux = { class: "absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 p-4 rounded-lg flex flex-col justify-center items-center w-full" }, jx = {
|
|
17344
17345
|
__name: "FileUpload",
|
|
17345
17346
|
props: {
|
|
17346
17347
|
name: {
|
|
@@ -17395,53 +17396,53 @@ const Sx = { render: Ex }, Tx = { class: "file-upload" }, Ox = ["name", "value"]
|
|
|
17395
17396
|
(f = s.value) == null || f.removeFile(d);
|
|
17396
17397
|
}
|
|
17397
17398
|
}), r.value = t.modelValue;
|
|
17398
|
-
}), (l, c) => (fe(), ye("div",
|
|
17399
|
+
}), (l, c) => (fe(), ye("div", Ox, [
|
|
17399
17400
|
ne("input", {
|
|
17400
17401
|
type: "hidden",
|
|
17401
17402
|
name: n.name,
|
|
17402
17403
|
value: a.value
|
|
17403
|
-
}, null, 8,
|
|
17404
|
-
n.modelValue ? (fe(), ye("div",
|
|
17404
|
+
}, null, 8, Nx),
|
|
17405
|
+
n.modelValue ? (fe(), ye("div", Rx, [
|
|
17405
17406
|
c[1] || (c[1] = oi(" @todo handle upload here ")),
|
|
17406
|
-
ne("span",
|
|
17407
|
+
ne("span", Cx, [
|
|
17407
17408
|
ne("img", {
|
|
17408
17409
|
class: "img rounded-lg",
|
|
17409
17410
|
src: n.modelValue,
|
|
17410
17411
|
title: "Image"
|
|
17411
|
-
}, null, 8,
|
|
17412
|
+
}, null, 8, Ix)
|
|
17412
17413
|
])
|
|
17413
|
-
])) : r.value && r.value.length ? (fe(), ye("div",
|
|
17414
|
-
ne("span",
|
|
17414
|
+
])) : r.value && r.value.length ? (fe(), ye("div", Lx, [
|
|
17415
|
+
ne("span", kx, [
|
|
17415
17416
|
u(r.value.mime_type) ? (fe(), ye("img", {
|
|
17416
17417
|
key: 0,
|
|
17417
17418
|
class: "img",
|
|
17418
17419
|
src: r.value.url,
|
|
17419
17420
|
title: r.value.file_name
|
|
17420
|
-
}, null, 8,
|
|
17421
|
+
}, null, 8, Px)) : at("", !0)
|
|
17421
17422
|
]),
|
|
17422
17423
|
ne("a", {
|
|
17423
17424
|
href: r.value.url,
|
|
17424
17425
|
target: "_blank",
|
|
17425
17426
|
class: "link"
|
|
17426
17427
|
}, [
|
|
17427
|
-
ne("div",
|
|
17428
|
-
], 8,
|
|
17429
|
-
ne("a",
|
|
17428
|
+
ne("div", Mx, ze(r.value.file_name), 1)
|
|
17429
|
+
], 8, Fx),
|
|
17430
|
+
ne("a", Dx, [
|
|
17430
17431
|
ne("i", {
|
|
17431
17432
|
class: "fal fa-times",
|
|
17432
17433
|
onClick: c[0] || (c[0] = (d) => i(r.value))
|
|
17433
17434
|
})
|
|
17434
17435
|
])
|
|
17435
17436
|
])) : at("", !0),
|
|
17436
|
-
on(ne("div",
|
|
17437
|
+
on(ne("div", Bx, [
|
|
17437
17438
|
ne("div", {
|
|
17438
17439
|
class: "dropzone border border-dashed rounded-lg z-10 h-[200px] w-full cursor-pointer relative",
|
|
17439
17440
|
ref_key: "dropzone",
|
|
17440
17441
|
ref: s
|
|
17441
17442
|
}, null, 512),
|
|
17442
|
-
ne("div",
|
|
17443
|
+
ne("div", Ux, [
|
|
17443
17444
|
ne("div", null, [
|
|
17444
|
-
qe(He(
|
|
17445
|
+
qe(He(Tx), { class: "w-6 h-6" })
|
|
17445
17446
|
]),
|
|
17446
17447
|
c[2] || (c[2] = ne("div", { class: "text-sm text-center" }, [
|
|
17447
17448
|
ne("p", null, [
|
|
@@ -17456,7 +17457,7 @@ const Sx = { render: Ex }, Tx = { class: "file-upload" }, Ox = ["name", "value"]
|
|
|
17456
17457
|
])
|
|
17457
17458
|
]));
|
|
17458
17459
|
}
|
|
17459
|
-
},
|
|
17460
|
+
}, $x = { class: "item-edit" }, _x = { class: "flex items-start gap-4 px-6 pt-4 h-full" }, qx = { class: "flex flex-1 flex-col gap-4" }, zx = { class: "flex flex-col gap-8" }, Hx = { class: "flex flex-col gap-8" }, Vx = { class: "flex flex-col gap-4" }, Gx = { class: "flex w-full max-w-[356px] flex-col gap-4" }, Wx = { class: "flex justify-between space-x-xsSpace pt-xsSpace gap-4 fixed bottom-0 w-full bg-gray-200 py-2 px-6" }, AA = {
|
|
17460
17461
|
__name: "ItemEdit",
|
|
17461
17462
|
props: {
|
|
17462
17463
|
item: {
|
|
@@ -17497,12 +17498,12 @@ const Sx = { render: Ex }, Tx = { class: "file-upload" }, Ox = ["name", "value"]
|
|
|
17497
17498
|
});
|
|
17498
17499
|
return (i, l) => {
|
|
17499
17500
|
var c, d, f, g;
|
|
17500
|
-
return fe(), ye("div",
|
|
17501
|
-
ne("div",
|
|
17502
|
-
ne("div",
|
|
17501
|
+
return fe(), ye("div", $x, [
|
|
17502
|
+
ne("div", _x, [
|
|
17503
|
+
ne("div", qx, [
|
|
17503
17504
|
qe(Kr, { title: "Description" }, {
|
|
17504
17505
|
default: St(() => [
|
|
17505
|
-
ne("div",
|
|
17506
|
+
ne("div", zx, [
|
|
17506
17507
|
qe(jn, {
|
|
17507
17508
|
"is-vertical": "",
|
|
17508
17509
|
field: "title",
|
|
@@ -17534,7 +17535,7 @@ const Sx = { render: Ex }, Tx = { class: "file-upload" }, Ox = ["name", "value"]
|
|
|
17534
17535
|
"show-count": !0
|
|
17535
17536
|
}, {
|
|
17536
17537
|
default: St(() => [
|
|
17537
|
-
qe(
|
|
17538
|
+
qe($y, {
|
|
17538
17539
|
modelValue: s.value.description,
|
|
17539
17540
|
"onUpdate:modelValue": l[1] || (l[1] = (h) => s.value.description = h)
|
|
17540
17541
|
}, null, 8, ["modelValue"])
|
|
@@ -17550,7 +17551,7 @@ const Sx = { render: Ex }, Tx = { class: "file-upload" }, Ox = ["name", "value"]
|
|
|
17550
17551
|
title: ((d = (c = n.item) == null ? void 0 : c.primary_button) == null ? void 0 : d.name) ?? "Primary button"
|
|
17551
17552
|
}, {
|
|
17552
17553
|
default: St(() => [
|
|
17553
|
-
ne("div",
|
|
17554
|
+
ne("div", Hx, [
|
|
17554
17555
|
qe(Gs, {
|
|
17555
17556
|
name: "show",
|
|
17556
17557
|
modelValue: s.value.primary_button.show,
|
|
@@ -17600,7 +17601,7 @@ const Sx = { render: Ex }, Tx = { class: "file-upload" }, Ox = ["name", "value"]
|
|
|
17600
17601
|
default: St(() => {
|
|
17601
17602
|
var h;
|
|
17602
17603
|
return [
|
|
17603
|
-
ne("div",
|
|
17604
|
+
ne("div", Vx, [
|
|
17604
17605
|
qe(Gs, {
|
|
17605
17606
|
name: "show",
|
|
17606
17607
|
modelValue: s.value.secondary_button.show,
|
|
@@ -17647,7 +17648,7 @@ const Sx = { render: Ex }, Tx = { class: "file-upload" }, Ox = ["name", "value"]
|
|
|
17647
17648
|
_: 1
|
|
17648
17649
|
}, 8, ["title"])) : at("", !0)
|
|
17649
17650
|
]),
|
|
17650
|
-
ne("div",
|
|
17651
|
+
ne("div", Gx, [
|
|
17651
17652
|
qe(Kr, {
|
|
17652
17653
|
title: "Visibility",
|
|
17653
17654
|
supporting_text: "Toggle off if you'd like to hide this item"
|
|
@@ -17667,7 +17668,7 @@ const Sx = { render: Ex }, Tx = { class: "file-upload" }, Ox = ["name", "value"]
|
|
|
17667
17668
|
supporting_text: "Recommended dimension: 1200*1060px"
|
|
17668
17669
|
}, {
|
|
17669
17670
|
default: St(() => [
|
|
17670
|
-
qe(
|
|
17671
|
+
qe(jx, {
|
|
17671
17672
|
name: "image",
|
|
17672
17673
|
modelValue: s.value.featured_image,
|
|
17673
17674
|
"onUpdate:modelValue": l[13] || (l[13] = (h) => s.value.featured_image = h)
|
|
@@ -17678,7 +17679,7 @@ const Sx = { render: Ex }, Tx = { class: "file-upload" }, Ox = ["name", "value"]
|
|
|
17678
17679
|
])
|
|
17679
17680
|
]),
|
|
17680
17681
|
kr(i.$slots, "default", {}, () => [
|
|
17681
|
-
ne("div",
|
|
17682
|
+
ne("div", Wx, [
|
|
17682
17683
|
ne("a", {
|
|
17683
17684
|
onClick: a,
|
|
17684
17685
|
class: "w-[200px] py-[9px] bg-white rounded-full border border-gray-300 shadow-xs text-md font-semibold hover:bg-gray-100 text-gray-700 text-center cursor-pointer"
|
|
@@ -17694,7 +17695,7 @@ const Sx = { render: Ex }, Tx = { class: "file-upload" }, Ox = ["name", "value"]
|
|
|
17694
17695
|
}
|
|
17695
17696
|
};
|
|
17696
17697
|
export {
|
|
17697
|
-
|
|
17698
|
-
|
|
17699
|
-
|
|
17698
|
+
AA as ItemEdit,
|
|
17699
|
+
Yx as PageBuilder,
|
|
17700
|
+
Zx as PageRender
|
|
17700
17701
|
};
|