@bluepic/embed 0.4.0-next.197 → 0.4.0-next.198
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/bluepic-embed.iife.js +32 -32
- package/dist/bluepic-embed.umd.js +32 -32
- package/dist/components/fields/Image.vue.d.ts +19 -4
- package/dist/main.cjs +19 -19
- package/dist/main.mjs +285 -276
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/main.mjs
CHANGED
|
@@ -13,7 +13,7 @@ var s1 = (e, t, n, r) => ({
|
|
|
13
13
|
return Ue(e, t, r);
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
|
-
import { inject as pr, onMounted as xr, onUnmounted as qn, provide as
|
|
16
|
+
import { inject as pr, onMounted as xr, onUnmounted as qn, provide as ea, ref as se, nextTick as wr, getCurrentScope as a3, onScopeDispose as i3, watch as Ke, getCurrentInstance as cp, hasInjectionContext as Pw, shallowRef as Ur, computed as oe, toValue as zr, watchEffect as ji, unref as ye, defineComponent as Ze, useModel as yn, openBlock as F, createElementBlock as X, normalizeStyle as Ot, createElementVNode as W, mergeModels as fn, normalizeClass as We, useSlots as Rn, createBlock as Ge, resolveDynamicComponent as _n, withCtx as fe, renderSlot as _t, createCommentVNode as Re, createStaticVNode as Wa, createVNode as pe, normalizeProps as Xo, guardReactiveProps as Yo, toDisplayString as Ae, onBeforeUnmount as Vi, shallowReadonly as Fc, h as $t, Fragment as Qe, renderList as Pt, createTextVNode as gt, toRef as In, toRaw as $w, createSlots as nl, withDirectives as a0, vModelText as EP, vModelDynamic as IP, withModifiers as Dn, Transition as uh, mergeProps as ul, TransitionGroup as Dw, createApp as o3, vShow as nv, isRef as AP, withKeys as iu, onUpdated as Rw, onBeforeUpdate as OP, Teleport as TP } from "vue";
|
|
17
17
|
let LP = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", mr = (e = 21) => {
|
|
18
18
|
let t = "", n = crypto.getRandomValues(new Uint8Array(e |= 0));
|
|
19
19
|
for (; e--; )
|
|
@@ -25,7 +25,7 @@ function gi(e = "bx") {
|
|
|
25
25
|
}
|
|
26
26
|
const Bw = Symbol("bx-field-focus");
|
|
27
27
|
function MP(e) {
|
|
28
|
-
|
|
28
|
+
ea(Bw, e);
|
|
29
29
|
}
|
|
30
30
|
function s3() {
|
|
31
31
|
return pr(Bw, void 0);
|
|
@@ -3055,7 +3055,7 @@ const X$ = {
|
|
|
3055
3055
|
ucs2: "utf-16le",
|
|
3056
3056
|
utf16be: "utf-16be"
|
|
3057
3057
|
};
|
|
3058
|
-
class
|
|
3058
|
+
class ta {
|
|
3059
3059
|
constructor(t) {
|
|
3060
3060
|
this.buffer = t, this.view = new DataView(t.buffer, t.byteOffset, t.byteLength), this.pos = 0, this.length = this.buffer.length;
|
|
3061
3061
|
}
|
|
@@ -3084,7 +3084,7 @@ class ea {
|
|
|
3084
3084
|
return this.readUInt16LE() + (this.readInt8() << 16);
|
|
3085
3085
|
}
|
|
3086
3086
|
}
|
|
3087
|
-
|
|
3087
|
+
ta.TYPES = {
|
|
3088
3088
|
UInt8: 1,
|
|
3089
3089
|
UInt16: 2,
|
|
3090
3090
|
UInt24: 3,
|
|
@@ -3100,11 +3100,11 @@ for (let e of Object.getOwnPropertyNames(DataView.prototype))
|
|
|
3100
3100
|
if (e.slice(0, 3) === "get") {
|
|
3101
3101
|
let t = e.slice(3).replace("Ui", "UI");
|
|
3102
3102
|
t === "Float32" ? t = "Float" : t === "Float64" && (t = "Double");
|
|
3103
|
-
let n =
|
|
3104
|
-
|
|
3103
|
+
let n = ta.TYPES[t];
|
|
3104
|
+
ta.prototype["read" + t + (n === 1 ? "" : "BE")] = function() {
|
|
3105
3105
|
const r = this.view[e](this.pos, !1);
|
|
3106
3106
|
return this.pos += n, r;
|
|
3107
|
-
}, n !== 1 && (
|
|
3107
|
+
}, n !== 1 && (ta.prototype["read" + t + "LE"] = function() {
|
|
3108
3108
|
const r = this.view[e](this.pos, !0);
|
|
3109
3109
|
return this.pos += n, r;
|
|
3110
3110
|
});
|
|
@@ -3179,7 +3179,7 @@ for (let e of Object.getOwnPropertyNames(DataView.prototype))
|
|
|
3179
3179
|
if (e.slice(0, 3) === "set") {
|
|
3180
3180
|
let t = e.slice(3).replace("Ui", "UI");
|
|
3181
3181
|
t === "Float32" ? t = "Float" : t === "Float64" && (t = "Double");
|
|
3182
|
-
let n =
|
|
3182
|
+
let n = ta.TYPES[t];
|
|
3183
3183
|
ph.prototype["write" + t + (n === 1 ? "" : "BE")] = function(r) {
|
|
3184
3184
|
this.view[e](this.pos, r, !1), this.pos += n;
|
|
3185
3185
|
}, n !== 1 && (ph.prototype["write" + t + "LE"] = function(r) {
|
|
@@ -3188,7 +3188,7 @@ for (let e of Object.getOwnPropertyNames(DataView.prototype))
|
|
|
3188
3188
|
}
|
|
3189
3189
|
class as {
|
|
3190
3190
|
fromBuffer(t) {
|
|
3191
|
-
let n = new
|
|
3191
|
+
let n = new ta(t);
|
|
3192
3192
|
return this.decode(n);
|
|
3193
3193
|
}
|
|
3194
3194
|
toBuffer(t) {
|
|
@@ -3201,7 +3201,7 @@ class On extends as {
|
|
|
3201
3201
|
super(), this.type = t, this.endian = n, this.fn = this.type, this.type[this.type.length - 1] !== "8" && (this.fn += this.endian);
|
|
3202
3202
|
}
|
|
3203
3203
|
size() {
|
|
3204
|
-
return
|
|
3204
|
+
return ta.TYPES[this.type];
|
|
3205
3205
|
}
|
|
3206
3206
|
decode(t) {
|
|
3207
3207
|
return t[`read${this.fn}`]();
|
|
@@ -3723,7 +3723,7 @@ class ov {
|
|
|
3723
3723
|
function $a(e, t, n) {
|
|
3724
3724
|
return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
3725
3725
|
}
|
|
3726
|
-
function
|
|
3726
|
+
function ra(e, t, n, r) {
|
|
3727
3727
|
var a = arguments.length, i = a < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
|
|
3728
3728
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(e, t, n, r);
|
|
3729
3729
|
else for (var u = e.length - 1; u >= 0; u--) (o = e[u]) && (i = (a < 3 ? o(i) : a > 3 ? o(t, n, i) : o(t, n)) || i);
|
|
@@ -6793,7 +6793,7 @@ function bx() {
|
|
|
6793
6793
|
for (var yt = 0; yt < 3 * C; yt++)
|
|
6794
6794
|
lt[yt] = new a(0, 0), Pe[yt] = new a(0, 0);
|
|
6795
6795
|
for (; !ie; ) {
|
|
6796
|
-
var wt = 0, Mt, Dt = [1 << 28, 1 << 28, 1 << 28], Ft = [0], ze = [1, 1, 1], Xe = [0, 1, 0, 1, 0, 1], ct = [0], Tt, Nt, Kt, Qt, sn = null, En = null, Bn, Kn = null, Jn, nr = 0, Sr = null, Xa = 0, xi = 0,
|
|
6796
|
+
var wt = 0, Mt, Dt = [1 << 28, 1 << 28, 1 << 28], Ft = [0], ze = [1, 1, 1], Xe = [0, 1, 0, 1, 0, 1], ct = [0], Tt, Nt, Kt, Qt, sn = null, En = null, Bn, Kn = null, Jn, nr = 0, Sr = null, Xa = 0, xi = 0, ia = null, Ca = 0, Ir = 0, oa = 0, De, Ve;
|
|
6797
6797
|
for (j = 0; j < 3; ++j)
|
|
6798
6798
|
Te[j].codes = null, Te[j].htrees = null;
|
|
6799
6799
|
Ne.readMoreInput();
|
|
@@ -6828,7 +6828,7 @@ function bx() {
|
|
|
6828
6828
|
var je = U(ze[2] << b, Ne);
|
|
6829
6829
|
for (Jn = je.num_htrees, Kn = je.context_map, Te[0] = new B(h, Bn), Te[1] = new B(l, ze[1]), Te[2] = new B(Qt, Jn), j = 0; j < 3; ++j)
|
|
6830
6830
|
Te[j].decode(Ne);
|
|
6831
|
-
for (Sr = 0,
|
|
6831
|
+
for (Sr = 0, ia = 0, De = En[Ft[0]], Ir = o.lookupOffsets[De], oa = o.lookupOffsets[De + 1], Ve = Te[1].htrees[0]; wt > 0; ) {
|
|
6832
6832
|
var Je, $, ee, me, ke, mt, an, wn, Ci, Ya, Ka;
|
|
6833
6833
|
for (Ne.readMoreInput(), Dt[1] === 0 && (Y(
|
|
6834
6834
|
ze[1],
|
|
@@ -6847,7 +6847,7 @@ function bx() {
|
|
|
6847
6847
|
Xe,
|
|
6848
6848
|
ct,
|
|
6849
6849
|
Ne
|
|
6850
|
-
), Dt[0] = V(Pe, 0, Ne), nr = Ft[0] << m, Sr = nr, De = En[Ft[0]], Ir = o.lookupOffsets[De],
|
|
6850
|
+
), Dt[0] = V(Pe, 0, Ne), nr = Ft[0] << m, Sr = nr, De = En[Ft[0]], Ir = o.lookupOffsets[De], oa = o.lookupOffsets[De + 1]), Ci = o.lookup[Ir + rt] | o.lookup[oa + be], Xa = sn[Sr + Ci], --Dt[0], be = rt, rt = f(Te[0].codes, Te[0].htrees[Xa], Ne), Ce[G & Se] = rt, (G & Se) === Se && P.write(Ce, Be), ++G;
|
|
6851
6851
|
if (wt -= ke, wt <= 0) break;
|
|
6852
6852
|
if (an < 0) {
|
|
6853
6853
|
var Ci;
|
|
@@ -6859,7 +6859,7 @@ function bx() {
|
|
|
6859
6859
|
Xe,
|
|
6860
6860
|
ct,
|
|
6861
6861
|
Ne
|
|
6862
|
-
), Dt[2] = V(Pe, 2 * C, Ne), xi = Ft[2] << b,
|
|
6862
|
+
), Dt[2] = V(Pe, 2 * C, Ne), xi = Ft[2] << b, ia = xi), --Dt[2], Ci = (mt > 4 ? 3 : mt - 2) & 255, Ca = Kn[ia + Ci], an = f(Te[2].codes, Te[2].htrees[Ca], Ne), an >= Nt) {
|
|
6863
6863
|
var Gr, kc, Eo;
|
|
6864
6864
|
an -= Nt, kc = an & Kt, an >>= Tt, Gr = (an >> 1) + 1, Eo = (2 + (an & 1) << Gr) - 4, an = Nt + (Eo + Ne.readBits(Gr) << Tt) + kc;
|
|
6865
6865
|
}
|
|
@@ -6917,7 +6917,7 @@ function yx(e, t) {
|
|
|
6917
6917
|
for (let n = 0; n < lv.length; n++) {
|
|
6918
6918
|
let r = lv[n];
|
|
6919
6919
|
if (r.probe(e)) {
|
|
6920
|
-
let a = new r(new
|
|
6920
|
+
let a = new r(new ta(e));
|
|
6921
6921
|
return t ? a.getFont(t) : a;
|
|
6922
6922
|
}
|
|
6923
6923
|
}
|
|
@@ -6927,7 +6927,7 @@ let bh = "en";
|
|
|
6927
6927
|
function uR(e = "en") {
|
|
6928
6928
|
bh = e;
|
|
6929
6929
|
}
|
|
6930
|
-
function
|
|
6930
|
+
function aa(e, t, n) {
|
|
6931
6931
|
if (n.get) {
|
|
6932
6932
|
let r = n.get;
|
|
6933
6933
|
n.get = function() {
|
|
@@ -11916,11 +11916,11 @@ class _3 {
|
|
|
11916
11916
|
]), this.uvs && this.uvs.version !== 14 && (this.uvs = null);
|
|
11917
11917
|
}
|
|
11918
11918
|
}
|
|
11919
|
-
|
|
11920
|
-
|
|
11919
|
+
ra([
|
|
11920
|
+
aa
|
|
11921
11921
|
], _3.prototype, "getCharacterSet", null);
|
|
11922
|
-
|
|
11923
|
-
|
|
11922
|
+
ra([
|
|
11923
|
+
aa
|
|
11924
11924
|
], _3.prototype, "codePointsForGlyph", null);
|
|
11925
11925
|
class CF {
|
|
11926
11926
|
process(t, n) {
|
|
@@ -12945,8 +12945,8 @@ class Vd {
|
|
|
12945
12945
|
this.table = t;
|
|
12946
12946
|
}
|
|
12947
12947
|
}
|
|
12948
|
-
|
|
12949
|
-
|
|
12948
|
+
ra([
|
|
12949
|
+
aa
|
|
12950
12950
|
], Vd.prototype, "glyphsForValue", null);
|
|
12951
12951
|
const LF = 0, W7 = 0, X7 = 1, Y7 = 2, MF = 16384;
|
|
12952
12952
|
class PF {
|
|
@@ -13140,8 +13140,8 @@ class Zx {
|
|
|
13140
13140
|
this.processIndicRearragement = this.processIndicRearragement.bind(this), this.processContextualSubstitution = this.processContextualSubstitution.bind(this), this.processLigature = this.processLigature.bind(this), this.processNoncontextualSubstitutions = this.processNoncontextualSubstitutions.bind(this), this.processGlyphInsertion = this.processGlyphInsertion.bind(this), this.font = t, this.morx = t.morx, this.inputCache = null;
|
|
13141
13141
|
}
|
|
13142
13142
|
}
|
|
13143
|
-
|
|
13144
|
-
|
|
13143
|
+
ra([
|
|
13144
|
+
aa
|
|
13145
13145
|
], Zx.prototype, "getStateMachine", null);
|
|
13146
13146
|
function va(e, t, n, r = !1, a = !1) {
|
|
13147
13147
|
let i = e.splice(n[0] - (n[1] - 1), n[1]);
|
|
@@ -15733,23 +15733,23 @@ class wo {
|
|
|
15733
15733
|
this.id = t, this.codePoints = n, this._font = r, this.isMark = this.codePoints.length > 0 && this.codePoints.every(dx), this.isLigature = this.codePoints.length > 1;
|
|
15734
15734
|
}
|
|
15735
15735
|
}
|
|
15736
|
-
|
|
15737
|
-
|
|
15736
|
+
ra([
|
|
15737
|
+
aa
|
|
15738
15738
|
], wo.prototype, "cbox", null);
|
|
15739
|
-
|
|
15740
|
-
|
|
15739
|
+
ra([
|
|
15740
|
+
aa
|
|
15741
15741
|
], wo.prototype, "bbox", null);
|
|
15742
|
-
|
|
15743
|
-
|
|
15742
|
+
ra([
|
|
15743
|
+
aa
|
|
15744
15744
|
], wo.prototype, "path", null);
|
|
15745
|
-
|
|
15746
|
-
|
|
15745
|
+
ra([
|
|
15746
|
+
aa
|
|
15747
15747
|
], wo.prototype, "advanceWidth", null);
|
|
15748
|
-
|
|
15749
|
-
|
|
15748
|
+
ra([
|
|
15749
|
+
aa
|
|
15750
15750
|
], wo.prototype, "advanceHeight", null);
|
|
15751
|
-
|
|
15752
|
-
|
|
15751
|
+
ra([
|
|
15752
|
+
aa
|
|
15753
15753
|
], wo.prototype, "name", null);
|
|
15754
15754
|
let s8 = new Fe({
|
|
15755
15755
|
numberOfContours: ut,
|
|
@@ -17041,7 +17041,7 @@ class fa {
|
|
|
17041
17041
|
let n = this.fvar.axis.map((i, o) => {
|
|
17042
17042
|
let u = i.axisTag.trim();
|
|
17043
17043
|
return u in t ? Math.max(i.minValue, Math.min(i.maxValue, t[u])) : i.defaultValue;
|
|
17044
|
-
}), r = new
|
|
17044
|
+
}), r = new ta(this.stream.buffer);
|
|
17045
17045
|
r.pos = this._directoryPos;
|
|
17046
17046
|
let a = new fa(r, n);
|
|
17047
17047
|
return a._tables = this._tables, a;
|
|
@@ -17065,26 +17065,26 @@ class fa {
|
|
|
17065
17065
|
}
|
|
17066
17066
|
}
|
|
17067
17067
|
}
|
|
17068
|
-
|
|
17069
|
-
|
|
17068
|
+
ra([
|
|
17069
|
+
aa
|
|
17070
17070
|
], fa.prototype, "bbox", null);
|
|
17071
|
-
|
|
17072
|
-
|
|
17071
|
+
ra([
|
|
17072
|
+
aa
|
|
17073
17073
|
], fa.prototype, "_cmapProcessor", null);
|
|
17074
|
-
|
|
17075
|
-
|
|
17074
|
+
ra([
|
|
17075
|
+
aa
|
|
17076
17076
|
], fa.prototype, "characterSet", null);
|
|
17077
|
-
|
|
17078
|
-
|
|
17077
|
+
ra([
|
|
17078
|
+
aa
|
|
17079
17079
|
], fa.prototype, "_layoutEngine", null);
|
|
17080
|
-
|
|
17081
|
-
|
|
17080
|
+
ra([
|
|
17081
|
+
aa
|
|
17082
17082
|
], fa.prototype, "variationAxes", null);
|
|
17083
|
-
|
|
17084
|
-
|
|
17083
|
+
ra([
|
|
17084
|
+
aa
|
|
17085
17085
|
], fa.prototype, "namedVariations", null);
|
|
17086
|
-
|
|
17087
|
-
|
|
17086
|
+
ra([
|
|
17087
|
+
aa
|
|
17088
17088
|
], fa.prototype, "_variationProcessor", null);
|
|
17089
17089
|
let TU = new Fe({
|
|
17090
17090
|
tag: new Mn(4),
|
|
@@ -17131,7 +17131,7 @@ class MU extends fa {
|
|
|
17131
17131
|
if (this.stream.pos = n.offset, n.compLength < n.length) {
|
|
17132
17132
|
this.stream.pos += 2;
|
|
17133
17133
|
let r = new Uint8Array(n.length), a = SD(this.stream.readBuffer(n.compLength - 2), r);
|
|
17134
|
-
return new
|
|
17134
|
+
return new ta(a);
|
|
17135
17135
|
} else return this.stream;
|
|
17136
17136
|
return null;
|
|
17137
17137
|
}
|
|
@@ -17282,7 +17282,7 @@ class BU extends fa {
|
|
|
17282
17282
|
}
|
|
17283
17283
|
let r = lR(t, n);
|
|
17284
17284
|
if (!r) throw new Error("Error decoding compressed data in WOFF2");
|
|
17285
|
-
this.stream = new
|
|
17285
|
+
this.stream = new ta(r), this._decompressed = !0;
|
|
17286
17286
|
}
|
|
17287
17287
|
}
|
|
17288
17288
|
_decodeTable(t) {
|
|
@@ -17322,7 +17322,7 @@ class BU extends fa {
|
|
|
17322
17322
|
}
|
|
17323
17323
|
class Al {
|
|
17324
17324
|
decode(t, n) {
|
|
17325
|
-
return new
|
|
17325
|
+
return new ta(this._buf.decode(t, n));
|
|
17326
17326
|
}
|
|
17327
17327
|
constructor(t) {
|
|
17328
17328
|
this.length = t, this._buf = new mo(t);
|
|
@@ -17398,7 +17398,7 @@ class HU {
|
|
|
17398
17398
|
}
|
|
17399
17399
|
getFont(t) {
|
|
17400
17400
|
for (let n of this.header.offsets) {
|
|
17401
|
-
let r = new
|
|
17401
|
+
let r = new ta(this.stream.buffer);
|
|
17402
17402
|
r.pos = n;
|
|
17403
17403
|
let a = new fa(r);
|
|
17404
17404
|
if (a.postscriptName === t || a.postscriptName instanceof Uint8Array && t instanceof Uint8Array && a.postscriptName.every((i, o) => t[o] === i)) return a;
|
|
@@ -17408,7 +17408,7 @@ class HU {
|
|
|
17408
17408
|
get fonts() {
|
|
17409
17409
|
let t = [];
|
|
17410
17410
|
for (let n of this.header.offsets) {
|
|
17411
|
-
let r = new
|
|
17411
|
+
let r = new ta(this.stream.buffer);
|
|
17412
17412
|
r.pos = n, t.push(new fa(r));
|
|
17413
17413
|
}
|
|
17414
17414
|
return t;
|
|
@@ -17450,7 +17450,7 @@ let qU = new Fe({
|
|
|
17450
17450
|
});
|
|
17451
17451
|
class KU {
|
|
17452
17452
|
static probe(t) {
|
|
17453
|
-
let n = new
|
|
17453
|
+
let n = new ta(t);
|
|
17454
17454
|
try {
|
|
17455
17455
|
var r = b8.decode(n);
|
|
17456
17456
|
} catch {
|
|
@@ -17463,7 +17463,7 @@ class KU {
|
|
|
17463
17463
|
getFont(t) {
|
|
17464
17464
|
if (!this.sfnt) return null;
|
|
17465
17465
|
for (let n of this.sfnt.refList) {
|
|
17466
|
-
let r = this.header.dataOffset + n.dataOffset + 4, a = new
|
|
17466
|
+
let r = this.header.dataOffset + n.dataOffset + 4, a = new ta(this.stream.buffer.slice(r)), i = new fa(a);
|
|
17467
17467
|
if (i.postscriptName === t || i.postscriptName instanceof Uint8Array && t instanceof Uint8Array && i.postscriptName.every((o, u) => t[u] === o)) return i;
|
|
17468
17468
|
}
|
|
17469
17469
|
return null;
|
|
@@ -17471,7 +17471,7 @@ class KU {
|
|
|
17471
17471
|
get fonts() {
|
|
17472
17472
|
let t = [];
|
|
17473
17473
|
for (let n of this.sfnt.refList) {
|
|
17474
|
-
let r = this.header.dataOffset + n.dataOffset + 4, a = new
|
|
17474
|
+
let r = this.header.dataOffset + n.dataOffset + 4, a = new ta(this.stream.buffer.slice(r));
|
|
17475
17475
|
t.push(new fa(a));
|
|
17476
17476
|
}
|
|
17477
17477
|
return t;
|
|
@@ -17642,7 +17642,7 @@ const JU = Object.keys({
|
|
|
17642
17642
|
const r = t.m11 * e.m11 + t.m12 * e.m21 + t.m13 * e.m31 + t.m14 * e.m41, a = t.m11 * e.m12 + t.m12 * e.m22 + t.m13 * e.m32 + t.m14 * e.m42, i = t.m11 * e.m13 + t.m12 * e.m23 + t.m13 * e.m33 + t.m14 * e.m43, o = t.m11 * e.m14 + t.m12 * e.m24 + t.m13 * e.m34 + t.m14 * e.m44, u = t.m21 * e.m11 + t.m22 * e.m21 + t.m23 * e.m31 + t.m24 * e.m41, s = t.m21 * e.m12 + t.m22 * e.m22 + t.m23 * e.m32 + t.m24 * e.m42, c = t.m21 * e.m13 + t.m22 * e.m23 + t.m23 * e.m33 + t.m24 * e.m43, d = t.m21 * e.m14 + t.m22 * e.m24 + t.m23 * e.m34 + t.m24 * e.m44, h = t.m31 * e.m11 + t.m32 * e.m21 + t.m33 * e.m31 + t.m34 * e.m41, l = t.m31 * e.m12 + t.m32 * e.m22 + t.m33 * e.m32 + t.m34 * e.m42, p = t.m31 * e.m13 + t.m32 * e.m23 + t.m33 * e.m33 + t.m34 * e.m43, m = t.m31 * e.m14 + t.m32 * e.m24 + t.m33 * e.m34 + t.m34 * e.m44, b = t.m41 * e.m11 + t.m42 * e.m21 + t.m43 * e.m31 + t.m44 * e.m41, y = t.m41 * e.m12 + t.m42 * e.m22 + t.m43 * e.m32 + t.m44 * e.m42, w = t.m41 * e.m13 + t.m42 * e.m23 + t.m43 * e.m33 + t.m44 * e.m43, C = t.m41 * e.m14 + t.m42 * e.m24 + t.m43 * e.m34 + t.m44 * e.m44;
|
|
17643
17643
|
return n.m11 = r, n.a = r, n.m21 = u, n.c = u, n.m31 = h, n.m41 = b, n.e = b, n.m12 = a, n.b = a, n.m22 = s, n.d = s, n.m32 = l, n.m42 = y, n.f = y, n.m13 = i, n.m23 = c, n.m33 = p, n.m43 = w, n.m14 = o, n.m24 = d, n.m34 = m, n.m44 = C, n;
|
|
17644
17644
|
}, y8 = (e, t) => rC(e, t, new wa());
|
|
17645
|
-
var
|
|
17645
|
+
var da, wa = (da = class {
|
|
17646
17646
|
/**
|
|
17647
17647
|
* @constructor
|
|
17648
17648
|
* @param init accepts all parameter configurations:
|
|
@@ -18055,20 +18055,20 @@ var ua, wa = (ua = class {
|
|
|
18055
18055
|
};
|
|
18056
18056
|
}
|
|
18057
18057
|
}, /** Returns a new translation matrix. See the `Translate` helper. */
|
|
18058
|
-
_e(
|
|
18059
|
-
_e(
|
|
18060
|
-
_e(
|
|
18061
|
-
_e(
|
|
18062
|
-
_e(
|
|
18063
|
-
_e(
|
|
18064
|
-
_e(
|
|
18065
|
-
_e(
|
|
18066
|
-
_e(
|
|
18067
|
-
_e(
|
|
18068
|
-
_e(
|
|
18069
|
-
_e(
|
|
18070
|
-
_e(
|
|
18071
|
-
_e(
|
|
18058
|
+
_e(da, "Translate", eZ), /** Returns a new rotation matrix. See the `Rotate` helper. */
|
|
18059
|
+
_e(da, "Rotate", dg), /** Returns a new rotation matrix about a vector. See the `RotateAxisAngle` helper. */
|
|
18060
|
+
_e(da, "RotateAxisAngle", fg), /** Returns a new scale matrix. See the `Scale` helper. */
|
|
18061
|
+
_e(da, "Scale", tZ), /** Returns a new skew-X matrix. See the `SkewX` helper. */
|
|
18062
|
+
_e(da, "SkewX", nZ), /** Returns a new skew-Y matrix. See the `SkewY` helper. */
|
|
18063
|
+
_e(da, "SkewY", rZ), /** Returns a new skew matrix. See the `Skew` helper. */
|
|
18064
|
+
_e(da, "Skew", z3), /** Returns the multiplication of two matrices. See the `Multiply` helper. */
|
|
18065
|
+
_e(da, "Multiply", y8), /** Creates a new matrix from an array of 6/16 numbers. See the `fromArray` helper. */
|
|
18066
|
+
_e(da, "fromArray", q1), /** Creates a new matrix from an existing matrix or a JSON object. See the `fromMatrix` helper. */
|
|
18067
|
+
_e(da, "fromMatrix", b1), /** Creates a new matrix from a CSS transform string. See the `fromString` helper. */
|
|
18068
|
+
_e(da, "fromString", ug), /** Returns an *Array* of 6/16 values from a compatible matrix. See the `toArray` helper. */
|
|
18069
|
+
_e(da, "toArray", QU), /** Checks if a value is a compatible 6/16 number array. See the `isCompatibleArray` helper. */
|
|
18070
|
+
_e(da, "isCompatibleArray", tC), /** Checks if a value is a `CSSMatrix` / `DOMMatrix` / `JSONMatrix` object. See the `isCompatibleObject` helper. */
|
|
18071
|
+
_e(da, "isCompatibleObject", nC), da);
|
|
18072
18072
|
/*!
|
|
18073
18073
|
* SVGPathCommander v2.3.3 (http://thednp.github.io/svg-path-commander)
|
|
18074
18074
|
* Copyright 2026 © thednp
|
|
@@ -26125,7 +26125,7 @@ const iH = /* @__PURE__ */ Ze({
|
|
|
26125
26125
|
}), ht = /* @__PURE__ */ ft(RG, [["__scopeId", "data-v-74c5df5a"]]), VC = Symbol.for("bx-popup-header-tools");
|
|
26126
26126
|
function BG() {
|
|
26127
26127
|
const e = se(null);
|
|
26128
|
-
return
|
|
26128
|
+
return ea(VC, e), e;
|
|
26129
26129
|
}
|
|
26130
26130
|
function jG() {
|
|
26131
26131
|
return pr(VC, se(null));
|
|
@@ -26168,7 +26168,7 @@ const FG = {
|
|
|
26168
26168
|
const i = e;
|
|
26169
26169
|
if (i.capturedContext)
|
|
26170
26170
|
for (const y of Reflect.ownKeys(i.capturedContext))
|
|
26171
|
-
|
|
26171
|
+
ea(y, i.capturedContext[y]);
|
|
26172
26172
|
const o = t, u = Rn(), s = se({ x: 0, y: 0 }), c = se(!1);
|
|
26173
26173
|
let d = { x: 0, y: 0, offsetX: 0, offsetY: 0 };
|
|
26174
26174
|
const h = oe(() => i.type !== "frame" || !i.draggable ? {} : {
|
|
@@ -26293,7 +26293,7 @@ const FG = {
|
|
|
26293
26293
|
const n = e, r = Rn(), a = t;
|
|
26294
26294
|
if (n.capturedContext)
|
|
26295
26295
|
for (const i of Reflect.ownKeys(n.capturedContext))
|
|
26296
|
-
|
|
26296
|
+
ea(i, n.capturedContext[i]);
|
|
26297
26297
|
return (i, o) => (F(), X("div", {
|
|
26298
26298
|
class: We(["message-element", [`type-${e.type}`, ...e.customClasses]]),
|
|
26299
26299
|
style: Ot({ maxWidth: e.maxWidth })
|
|
@@ -27381,7 +27381,7 @@ const Gq = ["data-bx-popover-id"], qq = ["data-origin", "data-placement"], Wq =
|
|
|
27381
27381
|
const n = e;
|
|
27382
27382
|
if (n.capturedContext)
|
|
27383
27383
|
for (const D of Reflect.ownKeys(n.capturedContext))
|
|
27384
|
-
|
|
27384
|
+
ea(D, n.capturedContext[D]);
|
|
27385
27385
|
const r = t, a = oe(() => n.floatingElement), i = se(), o = se();
|
|
27386
27386
|
Hq(i, () => n.scrollPassthrough);
|
|
27387
27387
|
const u = se(), s = W1(a), c = W1(o);
|
|
@@ -28420,7 +28420,7 @@ function $d(e, t, n) {
|
|
|
28420
28420
|
return !1;
|
|
28421
28421
|
}
|
|
28422
28422
|
}
|
|
28423
|
-
function
|
|
28423
|
+
function na(e, t) {
|
|
28424
28424
|
return $d(e, t, []);
|
|
28425
28425
|
}
|
|
28426
28426
|
function tu(e, t) {
|
|
@@ -28453,7 +28453,7 @@ function tu(e, t) {
|
|
|
28453
28453
|
a[i] = tu(n[i], t);
|
|
28454
28454
|
return a;
|
|
28455
28455
|
}
|
|
28456
|
-
function
|
|
28456
|
+
function Jr(e) {
|
|
28457
28457
|
return structuredClone(tu(e, /* @__PURE__ */ new WeakMap()));
|
|
28458
28458
|
}
|
|
28459
28459
|
function r9({ text: e, format: t }, ...n) {
|
|
@@ -28488,7 +28488,7 @@ function oS(e) {
|
|
|
28488
28488
|
var a;
|
|
28489
28489
|
const t = [];
|
|
28490
28490
|
let n = 0;
|
|
28491
|
-
for (const i of
|
|
28491
|
+
for (const i of Jr(e)) {
|
|
28492
28492
|
for (const o of i)
|
|
28493
28493
|
t.push(o);
|
|
28494
28494
|
n < e.length - 1 && t[t.length - 1] && (t[t.length - 1].text += `
|
|
@@ -28500,9 +28500,9 @@ function oS(e) {
|
|
|
28500
28500
|
for (; i < t.length; ) {
|
|
28501
28501
|
const o = {
|
|
28502
28502
|
text: "",
|
|
28503
|
-
format:
|
|
28503
|
+
format: Jr(t[i].format)
|
|
28504
28504
|
};
|
|
28505
|
-
for (;
|
|
28505
|
+
for (; na((a = t[i]) == null ? void 0 : a.format, o.format); )
|
|
28506
28506
|
o.text += t[i].text, i++;
|
|
28507
28507
|
r.push(o);
|
|
28508
28508
|
}
|
|
@@ -29543,7 +29543,7 @@ var Cd = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
29543
29543
|
["partial", k],
|
|
29544
29544
|
["partialRight", A],
|
|
29545
29545
|
["rearg", S]
|
|
29546
|
-
], he = "[object Arguments]", ge = "[object Array]", $e = "[object AsyncFunction]", Q = "[object Boolean]", P = "[object Date]", j = "[object DOMException]", G = "[object Error]", ie = "[object Function]", ce = "[object GeneratorFunction]", de = "[object Map]", we = "[object Number]", Be = "[object Null]", Se = "[object Object]", Ce = "[object Promise]", et = "[object Proxy]", it = "[object RegExp]", Ye = "[object Set]", rt = "[object String]", be = "[object Symbol]", Te = "[object Undefined]", lt = "[object WeakMap]", Pe = "[object WeakSet]", Ne = "[object ArrayBuffer]", pt = "[object DataView]", yt = "[object Float32Array]", wt = "[object Float64Array]", Mt = "[object Int8Array]", Dt = "[object Int16Array]", Ft = "[object Int32Array]", ze = "[object Uint8Array]", Xe = "[object Uint8ClampedArray]", ct = "[object Uint16Array]", Tt = "[object Uint32Array]", Nt = /\b__p \+= '';/g, Kt = /\b(__p \+=) '' \+/g, Qt = /(__e\(.*?\)|\b__t\)) \+\n'';/g, sn = /&(?:amp|lt|gt|quot|#39);/g, En = /[&<>"']/g, Bn = RegExp(sn.source), Kn = RegExp(En.source), Jn = /<%-([\s\S]+?)%>/g, nr = /<%([\s\S]+?)%>/g, Sr = /<%=([\s\S]+?)%>/g, Xa = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, xi = /^\w*$/,
|
|
29546
|
+
], he = "[object Arguments]", ge = "[object Array]", $e = "[object AsyncFunction]", Q = "[object Boolean]", P = "[object Date]", j = "[object DOMException]", G = "[object Error]", ie = "[object Function]", ce = "[object GeneratorFunction]", de = "[object Map]", we = "[object Number]", Be = "[object Null]", Se = "[object Object]", Ce = "[object Promise]", et = "[object Proxy]", it = "[object RegExp]", Ye = "[object Set]", rt = "[object String]", be = "[object Symbol]", Te = "[object Undefined]", lt = "[object WeakMap]", Pe = "[object WeakSet]", Ne = "[object ArrayBuffer]", pt = "[object DataView]", yt = "[object Float32Array]", wt = "[object Float64Array]", Mt = "[object Int8Array]", Dt = "[object Int16Array]", Ft = "[object Int32Array]", ze = "[object Uint8Array]", Xe = "[object Uint8ClampedArray]", ct = "[object Uint16Array]", Tt = "[object Uint32Array]", Nt = /\b__p \+= '';/g, Kt = /\b(__p \+=) '' \+/g, Qt = /(__e\(.*?\)|\b__t\)) \+\n'';/g, sn = /&(?:amp|lt|gt|quot|#39);/g, En = /[&<>"']/g, Bn = RegExp(sn.source), Kn = RegExp(En.source), Jn = /<%-([\s\S]+?)%>/g, nr = /<%([\s\S]+?)%>/g, Sr = /<%=([\s\S]+?)%>/g, Xa = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, xi = /^\w*$/, ia = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Ca = /[\\^$.*+?()[\]{}|]/g, Ir = RegExp(Ca.source), oa = /^\s+/, De = /\s/, Ve = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, jt = /\{\n\/\* \[wrapped with (.+)\] \*/, en = /,? & /, At = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, je = /[()=,{}\[\]\/\s]/, Je = /\\(\\)?/g, $ = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, ee = /\w*$/, me = /^[-+]0x[0-9a-f]+$/i, ke = /^0b[01]+$/i, mt = /^\[object .+?Constructor\]$/, an = /^0o[0-7]+$/i, wn = /^(?:0|[1-9]\d*)$/, Ci = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Ya = /($^)/, Ka = /['\n\r\u2028\u2029\\]/g, Gr = "\\ud800-\\udfff", kc = "\\u0300-\\u036f", Eo = "\\ufe20-\\ufe2f", os = "\\u20d0-\\u20ff", Qn = kc + Eo + os, Da = "\\u2700-\\u27bf", Ja = "a-z\\xdf-\\xf6\\xf8-\\xff", ss = "\\xac\\xb1\\xd7\\xf7", Qa = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Hi = "\\u2000-\\u206f", _E = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", g5 = "A-Z\\xc0-\\xd6\\xd8-\\xde", v5 = "\\ufe0e\\ufe0f", b5 = ss + Qa + Hi + _E, vm = "['’]", kE = "[" + Gr + "]", y5 = "[" + b5 + "]", xf = "[" + Qn + "]", w5 = "\\d+", zE = "[" + Da + "]", x5 = "[" + Ja + "]", C5 = "[^" + Gr + b5 + w5 + Da + Ja + g5 + "]", bm = "\\ud83c[\\udffb-\\udfff]", EE = "(?:" + xf + "|" + bm + ")", S5 = "[^" + Gr + "]", ym = "(?:\\ud83c[\\udde6-\\uddff]){2}", wm = "[\\ud800-\\udbff][\\udc00-\\udfff]", zc = "[" + g5 + "]", _5 = "\\u200d", k5 = "(?:" + x5 + "|" + C5 + ")", IE = "(?:" + zc + "|" + C5 + ")", z5 = "(?:" + vm + "(?:d|ll|m|re|s|t|ve))?", E5 = "(?:" + vm + "(?:D|LL|M|RE|S|T|VE))?", I5 = EE + "?", A5 = "[" + v5 + "]?", AE = "(?:" + _5 + "(?:" + [S5, ym, wm].join("|") + ")" + A5 + I5 + ")*", OE = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", TE = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", O5 = A5 + I5 + AE, LE = "(?:" + [zE, ym, wm].join("|") + ")" + O5, ME = "(?:" + [S5 + xf + "?", xf, ym, wm, kE].join("|") + ")", PE = RegExp(vm, "g"), $E = RegExp(xf, "g"), xm = RegExp(bm + "(?=" + bm + ")|" + ME + O5, "g"), DE = RegExp([
|
|
29547
29547
|
zc + "?" + x5 + "+" + z5 + "(?=" + [y5, zc, "$"].join("|") + ")",
|
|
29548
29548
|
IE + "+" + E5 + "(?=" + [y5, zc + k5, "$"].join("|") + ")",
|
|
29549
29549
|
zc + "?" + k5 + "+" + z5,
|
|
@@ -29960,7 +29960,7 @@ var Cd = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
29960
29960
|
});
|
|
29961
29961
|
}
|
|
29962
29962
|
function V5(Ie) {
|
|
29963
|
-
return Ie && Ie.slice(0, W5(Ie) + 1).replace(
|
|
29963
|
+
return Ie && Ie.slice(0, W5(Ie) + 1).replace(oa, "");
|
|
29964
29964
|
}
|
|
29965
29965
|
function Ba(Ie) {
|
|
29966
29966
|
return function(tt) {
|
|
@@ -30086,7 +30086,7 @@ var Cd = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
30086
30086
|
return g({}, "", {}), g;
|
|
30087
30087
|
} catch {
|
|
30088
30088
|
}
|
|
30089
|
-
}(), _I = tt.clearTimeout !== qr.clearTimeout && tt.clearTimeout, kI = Lt && Lt.now !== qr.Date.now && Lt.now, zI = tt.setTimeout !== qr.setTimeout && tt.setTimeout, Pf = Ar.ceil, $f = Ar.floor, Pm = Nn.getOwnPropertySymbols, EI = Af ? Af.isBuffer : n, ey = tt.isFinite, II = kf.join, AI = q5(Nn.keys, Nn), Or = Ar.max,
|
|
30089
|
+
}(), _I = tt.clearTimeout !== qr.clearTimeout && tt.clearTimeout, kI = Lt && Lt.now !== qr.Date.now && Lt.now, zI = tt.setTimeout !== qr.setTimeout && tt.setTimeout, Pf = Ar.ceil, $f = Ar.floor, Pm = Nn.getOwnPropertySymbols, EI = Af ? Af.isBuffer : n, ey = tt.isFinite, II = kf.join, AI = q5(Nn.keys, Nn), Or = Ar.max, sa = Ar.min, OI = Lt.now, TI = tt.parseInt, ty = Ar.random, LI = kf.reverse, $m = kl(tt, "DataView"), ed = kl(tt, "Map"), Dm = kl(tt, "Promise"), Lc = kl(tt, "Set"), td = kl(tt, "WeakMap"), nd = kl(Nn, "create"), Df = td && new td(), Mc = {}, MI = zl($m), PI = zl(ed), $I = zl(Dm), DI = zl(Lc), RI = zl(td), Rf = ds ? ds.prototype : n, rd = Rf ? Rf.valueOf : n, ny = Rf ? Rf.toString : n;
|
|
30090
30090
|
function re(g) {
|
|
30091
30091
|
if (sr(g) && !on(g) && !(g instanceof Cn)) {
|
|
30092
30092
|
if (g instanceof ri)
|
|
@@ -30139,7 +30139,7 @@ var Cd = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
30139
30139
|
return g;
|
|
30140
30140
|
}
|
|
30141
30141
|
function FI() {
|
|
30142
|
-
var g = this.__wrapped__.value(), v = this.__dir__, O = on(g), H = v < 0, K = O ? g.length : 0, le = JA(0, K, this.__views__), ve = le.start, xe = le.end, Le = xe - ve, ot = H ? xe : ve - 1, st = this.__iteratees__, dt = st.length, zt = 0, Bt =
|
|
30142
|
+
var g = this.__wrapped__.value(), v = this.__dir__, O = on(g), H = v < 0, K = O ? g.length : 0, le = JA(0, K, this.__views__), ve = le.start, xe = le.end, Le = xe - ve, ot = H ? xe : ve - 1, st = this.__iteratees__, dt = st.length, zt = 0, Bt = sa(Le, this.__takeCount__);
|
|
30143
30143
|
if (!O || !H && K == Le && Bt == Le)
|
|
30144
30144
|
return zy(g, this.__actions__);
|
|
30145
30145
|
var Ht = [];
|
|
@@ -30357,7 +30357,7 @@ var Cd = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
30357
30357
|
if (ve = eO(g), !xe)
|
|
30358
30358
|
return Sa(g, ve);
|
|
30359
30359
|
} else {
|
|
30360
|
-
var dt =
|
|
30360
|
+
var dt = la(g), zt = dt == ie || dt == ce;
|
|
30361
30361
|
if (gs(g))
|
|
30362
30362
|
return Ay(g, xe);
|
|
30363
30363
|
if (dt == Se || dt == he || zt && !K) {
|
|
@@ -30495,12 +30495,12 @@ var Cd = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
30495
30495
|
return g != null && v in Nn(g);
|
|
30496
30496
|
}
|
|
30497
30497
|
function bA(g, v, O) {
|
|
30498
|
-
return g >=
|
|
30498
|
+
return g >= sa(v, O) && g < Or(v, O);
|
|
30499
30499
|
}
|
|
30500
30500
|
function Um(g, v, O) {
|
|
30501
30501
|
for (var H = O ? _m : Cf, K = g[0].length, le = g.length, ve = le, xe = qe(le), Le = 1 / 0, ot = []; ve--; ) {
|
|
30502
30502
|
var st = g[ve];
|
|
30503
|
-
ve && v && (st = er(st, Ba(v))), Le =
|
|
30503
|
+
ve && v && (st = er(st, Ba(v))), Le = sa(st.length, Le), xe[ve] = !O && (v || K >= 120 && st.length >= 120) ? new Cl(ve && st) : n;
|
|
30504
30504
|
}
|
|
30505
30505
|
st = g[0];
|
|
30506
30506
|
var dt = -1, zt = xe[0];
|
|
@@ -30541,7 +30541,7 @@ var Cd = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
30541
30541
|
return g === v ? !0 : g == null || v == null || !sr(g) && !sr(v) ? g !== g && v !== v : CA(g, v, O, H, sd, K);
|
|
30542
30542
|
}
|
|
30543
30543
|
function CA(g, v, O, H, K, le) {
|
|
30544
|
-
var ve = on(g), xe = on(v), Le = ve ? ge :
|
|
30544
|
+
var ve = on(g), xe = on(v), Le = ve ? ge : la(g), ot = xe ? ge : la(v);
|
|
30545
30545
|
Le = Le == he ? Se : Le, ot = ot == he ? Se : ot;
|
|
30546
30546
|
var st = Le == Se, dt = ot == Se, zt = Le == ot;
|
|
30547
30547
|
if (zt && gs(g)) {
|
|
@@ -30561,7 +30561,7 @@ var Cd = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
30561
30561
|
return zt ? (le || (le = new _i()), YA(g, v, O, H, K, le)) : !1;
|
|
30562
30562
|
}
|
|
30563
30563
|
function SA(g) {
|
|
30564
|
-
return sr(g) &&
|
|
30564
|
+
return sr(g) && la(g) == de;
|
|
30565
30565
|
}
|
|
30566
30566
|
function Zm(g, v, O, H) {
|
|
30567
30567
|
var K = O.length, le = K, ve = !H;
|
|
@@ -30598,7 +30598,7 @@ var Cd = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
30598
30598
|
return sr(g) && pa(g) == it;
|
|
30599
30599
|
}
|
|
30600
30600
|
function kA(g) {
|
|
30601
|
-
return sr(g) &&
|
|
30601
|
+
return sr(g) && la(g) == Ye;
|
|
30602
30602
|
}
|
|
30603
30603
|
function zA(g) {
|
|
30604
30604
|
return sr(g) && a1(g.length) && !!Wn[pa(g)];
|
|
@@ -30816,7 +30816,7 @@ var Cd = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
30816
30816
|
ot ? Gt = Ht && (H || zt) : xe ? Gt = Ht && zt && (H || !Bt) : Le ? Gt = Ht && zt && !Bt && (H || !un) : Bt || un ? Gt = !1 : Gt = H ? dt <= v : dt < v;
|
|
30817
30817
|
Gt ? K = st + 1 : le = st;
|
|
30818
30818
|
}
|
|
30819
|
-
return
|
|
30819
|
+
return sa(le, Y);
|
|
30820
30820
|
}
|
|
30821
30821
|
function Sy(g, v) {
|
|
30822
30822
|
for (var O = -1, H = g.length, K = 0, le = []; ++O < H; ) {
|
|
@@ -31249,7 +31249,7 @@ var Cd = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
31249
31249
|
function n2(g) {
|
|
31250
31250
|
var v = Ar[g];
|
|
31251
31251
|
return function(O, H) {
|
|
31252
|
-
if (O = si(O), H = H == null ? 0 :
|
|
31252
|
+
if (O = si(O), H = H == null ? 0 : sa(ln(H), 292), H && ey(O)) {
|
|
31253
31253
|
var K = (Tn(O) + "e").split("e"), le = v(K[0] + "e" + (+K[1] + H));
|
|
31254
31254
|
return K = (Tn(le) + "e").split("e"), +(K[0] + "e" + (+K[1] - H));
|
|
31255
31255
|
}
|
|
@@ -31261,7 +31261,7 @@ var Cd = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
31261
31261
|
} : _2;
|
|
31262
31262
|
function Uy(g) {
|
|
31263
31263
|
return function(v) {
|
|
31264
|
-
var O =
|
|
31264
|
+
var O = la(v);
|
|
31265
31265
|
return O == de ? Lm(v) : O == Ye ? uI(v) : nI(v, g(v));
|
|
31266
31266
|
};
|
|
31267
31267
|
}
|
|
@@ -31462,8 +31462,8 @@ var Cd = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
31462
31462
|
for (var v = []; g; )
|
|
31463
31463
|
cs(v, s2(g)), g = Tf(g);
|
|
31464
31464
|
return v;
|
|
31465
|
-
} : k2,
|
|
31466
|
-
($m &&
|
|
31465
|
+
} : k2, la = pa;
|
|
31466
|
+
($m && la(new $m(new ArrayBuffer(1))) != pt || ed && la(new ed()) != de || Dm && la(Dm.resolve()) != Ce || Lc && la(new Lc()) != Ye || td && la(new td()) != lt) && (la = function(g) {
|
|
31467
31467
|
var v = pa(g), O = v == Se ? g.constructor : n, H = O ? zl(O) : "";
|
|
31468
31468
|
if (H)
|
|
31469
31469
|
switch (H) {
|
|
@@ -31491,7 +31491,7 @@ var Cd = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
31491
31491
|
v -= ve;
|
|
31492
31492
|
break;
|
|
31493
31493
|
case "take":
|
|
31494
|
-
v =
|
|
31494
|
+
v = sa(v, g + ve);
|
|
31495
31495
|
break;
|
|
31496
31496
|
case "takeRight":
|
|
31497
31497
|
g = Or(g, v - ve);
|
|
@@ -31627,7 +31627,7 @@ var Cd = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
31627
31627
|
var Le = g[3];
|
|
31628
31628
|
g[3] = Le ? Ly(Le, xe, v[4]) : xe, g[4] = Le ? us(g[3], d) : v[4];
|
|
31629
31629
|
}
|
|
31630
|
-
return xe = v[5], xe && (Le = g[5], g[5] = Le ? My(Le, xe, v[6]) : xe, g[6] = Le ? us(g[5], d) : v[6]), xe = v[7], xe && (g[7] = xe), H & T && (g[8] = g[8] == null ? v[8] :
|
|
31630
|
+
return xe = v[5], xe && (Le = g[5], g[5] = Le ? My(Le, xe, v[6]) : xe, g[6] = Le ? us(g[5], d) : v[6]), xe = v[7], xe && (g[7] = xe), H & T && (g[8] = g[8] == null ? v[8] : sa(g[8], v[8])), g[9] == null && (g[9] = v[9]), g[0] = v[0], g[1] = K, g;
|
|
31631
31631
|
}
|
|
31632
31632
|
function cO(g) {
|
|
31633
31633
|
var v = [];
|
|
@@ -31653,7 +31653,7 @@ var Cd = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
31653
31653
|
return v.length < 2 ? g : _l(g, ii(v, 0, -1));
|
|
31654
31654
|
}
|
|
31655
31655
|
function dO(g, v) {
|
|
31656
|
-
for (var O = g.length, H =
|
|
31656
|
+
for (var O = g.length, H = sa(v.length, O), K = Sa(g); H--; ) {
|
|
31657
31657
|
var le = v[H];
|
|
31658
31658
|
g[H] = Mo(le, O) ? K[le] : n;
|
|
31659
31659
|
}
|
|
@@ -31692,7 +31692,7 @@ var Cd = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
31692
31692
|
}
|
|
31693
31693
|
var n6 = sO(function(g) {
|
|
31694
31694
|
var v = [];
|
|
31695
|
-
return g.charCodeAt(0) === 46 && v.push(""), g.replace(
|
|
31695
|
+
return g.charCodeAt(0) === 46 && v.push(""), g.replace(ia, function(O, H, K, le) {
|
|
31696
31696
|
v.push(K ? le.replace(Je, "$1") : H || O);
|
|
31697
31697
|
}), v;
|
|
31698
31698
|
});
|
|
@@ -31790,7 +31790,7 @@ var Cd = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
31790
31790
|
if (!H)
|
|
31791
31791
|
return -1;
|
|
31792
31792
|
var K = H - 1;
|
|
31793
|
-
return O !== n && (K = ln(O), K = O < 0 ? Or(H + K, 0) :
|
|
31793
|
+
return O !== n && (K = ln(O), K = O < 0 ? Or(H + K, 0) : sa(K, H - 1)), Sf(g, Vt(v, 3), K, !0);
|
|
31794
31794
|
}
|
|
31795
31795
|
function o6(g) {
|
|
31796
31796
|
var v = g == null ? 0 : g.length;
|
|
@@ -31847,7 +31847,7 @@ var Cd = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
31847
31847
|
if (!H)
|
|
31848
31848
|
return -1;
|
|
31849
31849
|
var K = H;
|
|
31850
|
-
return O !== n && (K = ln(O), K = K < 0 ? Or(H + K, 0) :
|
|
31850
|
+
return O !== n && (K = ln(O), K = K < 0 ? Or(H + K, 0) : sa(K, H - 1)), v === v ? fI(g, v, K) : Sf(g, N5, K, !0);
|
|
31851
31851
|
}
|
|
31852
31852
|
function PO(g, v) {
|
|
31853
31853
|
return g && g.length ? by(g, ln(v)) : n;
|
|
@@ -32144,7 +32144,7 @@ var Cd = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
32144
32144
|
return 0;
|
|
32145
32145
|
if (_a(g))
|
|
32146
32146
|
return i1(g) ? Ac(g) : g.length;
|
|
32147
|
-
var v =
|
|
32147
|
+
var v = la(g);
|
|
32148
32148
|
return v == de || v == Ye ? g.size : Vm(g).length;
|
|
32149
32149
|
}
|
|
32150
32150
|
function VT(g, v, O) {
|
|
@@ -32217,7 +32217,7 @@ var Cd = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
32217
32217
|
}
|
|
32218
32218
|
function un(vr) {
|
|
32219
32219
|
var zi = vr - Le, Do = vr - ot, R6 = v - zi;
|
|
32220
|
-
return dt ?
|
|
32220
|
+
return dt ? sa(R6, le - Do) : R6;
|
|
32221
32221
|
}
|
|
32222
32222
|
function Gt(vr) {
|
|
32223
32223
|
var zi = vr - Le, Do = vr - ot;
|
|
@@ -32296,7 +32296,7 @@ var Cd = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
32296
32296
|
v = v.length == 1 && on(v[0]) ? er(v[0], Ba(Vt())) : er(Wr(v, 1), Ba(Vt()));
|
|
32297
32297
|
var O = v.length;
|
|
32298
32298
|
return hn(function(H) {
|
|
32299
|
-
for (var K = -1, le =
|
|
32299
|
+
for (var K = -1, le = sa(H.length, O); ++K < le; )
|
|
32300
32300
|
H[K] = v[K].call(this, H[K]);
|
|
32301
32301
|
return Ra(g, this, H);
|
|
32302
32302
|
});
|
|
@@ -32387,7 +32387,7 @@ var Cd = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
32387
32387
|
return !0;
|
|
32388
32388
|
if (_a(g) && (on(g) || typeof g == "string" || typeof g.splice == "function" || gs(g) || Bc(g) || El(g)))
|
|
32389
32389
|
return !g.length;
|
|
32390
|
-
var v =
|
|
32390
|
+
var v = la(g);
|
|
32391
32391
|
if (v == de || v == Ye)
|
|
32392
32392
|
return !g.size;
|
|
32393
32393
|
if (ud(g))
|
|
@@ -32482,7 +32482,7 @@ var Cd = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
32482
32482
|
return g === n;
|
|
32483
32483
|
}
|
|
32484
32484
|
function IL(g) {
|
|
32485
|
-
return sr(g) &&
|
|
32485
|
+
return sr(g) && la(g) == lt;
|
|
32486
32486
|
}
|
|
32487
32487
|
function AL(g) {
|
|
32488
32488
|
return sr(g) && pa(g) == Pe;
|
|
@@ -32497,7 +32497,7 @@ var Cd = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
32497
32497
|
return i1(g) ? Si(g) : Sa(g);
|
|
32498
32498
|
if (Qu && g[Qu])
|
|
32499
32499
|
return cI(g[Qu]());
|
|
32500
|
-
var v =
|
|
32500
|
+
var v = la(g), O = v == de ? Lm : v == Ye ? _f : jc;
|
|
32501
32501
|
return O(g);
|
|
32502
32502
|
}
|
|
32503
32503
|
function $o(g) {
|
|
@@ -32713,7 +32713,7 @@ var Cd = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
32713
32713
|
}
|
|
32714
32714
|
if (O || g % 1 || v % 1) {
|
|
32715
32715
|
var K = ty();
|
|
32716
|
-
return
|
|
32716
|
+
return sa(g + K * (v - g + HE("1e-" + ((K + "").length - 1))), v);
|
|
32717
32717
|
}
|
|
32718
32718
|
return qm(g, v);
|
|
32719
32719
|
}
|
|
@@ -32763,7 +32763,7 @@ var Cd = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
32763
32763
|
return v && H < v ? Wf(v - H, O) + g : g;
|
|
32764
32764
|
}
|
|
32765
32765
|
function _M(g, v, O) {
|
|
32766
|
-
return O || v == null ? v = 0 : v && (v = +v), TI(Tn(g).replace(
|
|
32766
|
+
return O || v == null ? v = 0 : v && (v = +v), TI(Tn(g).replace(oa, ""), v || 0);
|
|
32767
32767
|
}
|
|
32768
32768
|
function kM(g, v, O) {
|
|
32769
32769
|
return (O ? ma(g, v, O) : v === n) ? v = 1 : v = ln(v), Wm(Tn(g), v);
|
|
@@ -32848,7 +32848,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
32848
32848
|
}
|
|
32849
32849
|
function DM(g, v, O) {
|
|
32850
32850
|
if (g = Tn(g), g && (O || v === n))
|
|
32851
|
-
return g.replace(
|
|
32851
|
+
return g.replace(oa, "");
|
|
32852
32852
|
if (!g || !(v = ja(v)))
|
|
32853
32853
|
return g;
|
|
32854
32854
|
var H = Si(g), K = H5(H, Si(v));
|
|
@@ -33008,7 +33008,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
33008
33008
|
function sP(g, v) {
|
|
33009
33009
|
if (g = ln(g), g < 1 || g > z)
|
|
33010
33010
|
return [];
|
|
33011
|
-
var O = U, H =
|
|
33011
|
+
var O = U, H = sa(g, U);
|
|
33012
33012
|
v = Vt(v), g -= U;
|
|
33013
33013
|
for (var K = Om(H, v); ++O < g; )
|
|
33014
33014
|
v(O);
|
|
@@ -33066,8 +33066,8 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
33066
33066
|
Cn.prototype[g] = function(O) {
|
|
33067
33067
|
O = O === n ? 1 : Or(ln(O), 0);
|
|
33068
33068
|
var H = this.__filtered__ && !v ? new Cn(this) : this.clone();
|
|
33069
|
-
return H.__filtered__ ? H.__takeCount__ =
|
|
33070
|
-
size:
|
|
33069
|
+
return H.__filtered__ ? H.__takeCount__ = sa(O, H.__takeCount__) : H.__views__.push({
|
|
33070
|
+
size: sa(O, U),
|
|
33071
33071
|
type: g + (H.__dir__ < 0 ? "Right" : "")
|
|
33072
33072
|
}), H;
|
|
33073
33073
|
}, Cn.prototype[g + "Right"] = function(O) {
|
|
@@ -34540,12 +34540,12 @@ const WW = fS.exports, XW = ["contenteditable", "data-ghost"], YW = ["data-parag
|
|
|
34540
34540
|
);
|
|
34541
34541
|
Ke(c, (w) => {
|
|
34542
34542
|
const C = oS(w);
|
|
34543
|
-
|
|
34543
|
+
na(C, r.value) || (r.value = C);
|
|
34544
34544
|
}), Ke(r, () => {
|
|
34545
34545
|
const w = Dv(
|
|
34546
34546
|
typeof r.value == "string" ? [{ text: r.value, format: {} }] : r.value
|
|
34547
34547
|
);
|
|
34548
|
-
|
|
34548
|
+
na(w, r.value) || (c.value = w);
|
|
34549
34549
|
});
|
|
34550
34550
|
const d = se(c.value), h = oe(() => Rv(d.value));
|
|
34551
34551
|
Ke(
|
|
@@ -35298,7 +35298,7 @@ const WW = fS.exports, XW = ["contenteditable", "data-ghost"], YW = ["data-parag
|
|
|
35298
35298
|
`).slice(0, r.maxLines ?? 1 / 0).map((ge) => ge.slice(0, r.maxLineLength ?? 1 / 0)).join(`
|
|
35299
35299
|
`).slice(0, r.maxLength ?? 1 / 0));
|
|
35300
35300
|
Ke(o, (te) => {
|
|
35301
|
-
|
|
35301
|
+
na(te, p.value) || (u.value = te);
|
|
35302
35302
|
}), Ke(u, (te) => {
|
|
35303
35303
|
if (typeof te == "object" && te !== null) {
|
|
35304
35304
|
const he = a9(te, 0, r.maxLength);
|
|
@@ -35371,7 +35371,7 @@ const WW = fS.exports, XW = ["contenteditable", "data-ghost"], YW = ["data-parag
|
|
|
35371
35371
|
if (!te) return;
|
|
35372
35372
|
const ge = te.resolveFeatures(z.value.start, z.value.length).flat(), $e = Y(ge);
|
|
35373
35373
|
if ($e !== void 0)
|
|
35374
|
-
return $e === null ? "multiple" : (P = B.value.find((j) =>
|
|
35374
|
+
return $e === null ? "multiple" : (P = B.value.find((j) => na(j.value, $e))) == null ? void 0 : P.value;
|
|
35375
35375
|
},
|
|
35376
35376
|
set(te) {
|
|
35377
35377
|
var ge;
|
|
@@ -35402,7 +35402,7 @@ const WW = fS.exports, XW = ["contenteditable", "data-ghost"], YW = ["data-parag
|
|
|
35402
35402
|
for (const $e of te)
|
|
35403
35403
|
if (!ge)
|
|
35404
35404
|
ge = $e.format;
|
|
35405
|
-
else if (!
|
|
35405
|
+
else if (!na(ge, $e.format)) {
|
|
35406
35406
|
he = !0;
|
|
35407
35407
|
break;
|
|
35408
35408
|
}
|
|
@@ -37719,7 +37719,7 @@ const PK = ["aria-labelledby", "aria-label"], $K = ["src", "alt"], DK = { class:
|
|
|
37719
37719
|
_(R), L.value = !1;
|
|
37720
37720
|
}
|
|
37721
37721
|
function D() {
|
|
37722
|
-
let R =
|
|
37722
|
+
let R = Jr(o.value), f = a.value.mirrorX, N = a.value.mirrorY, Z = o.value;
|
|
37723
37723
|
Yd(i.value).then((z) => {
|
|
37724
37724
|
S.value = z;
|
|
37725
37725
|
});
|
|
@@ -38010,46 +38010,49 @@ const PK = ["aria-labelledby", "aria-label"], $K = ["src", "alt"], DK = { class:
|
|
|
38010
38010
|
}),
|
|
38011
38011
|
emits: ["update:modelValue"],
|
|
38012
38012
|
setup(e) {
|
|
38013
|
-
const t = vc(), n = yn(e, "modelValue"), r =
|
|
38014
|
-
|
|
38015
|
-
|
|
38016
|
-
|
|
38017
|
-
In(
|
|
38018
|
-
|
|
38019
|
-
In(
|
|
38013
|
+
const t = vc(), n = yn(e, "modelValue"), r = oe(() => {
|
|
38014
|
+
var w;
|
|
38015
|
+
return typeof n.value == "string" ? n.value : (w = n.value) == null ? void 0 : w.src;
|
|
38016
|
+
}), a = e, i = se(!1), { uploadFiles: o, uploadProgresses: u, uploading: s } = up(
|
|
38017
|
+
In(a, "width"),
|
|
38018
|
+
In(a, "height"),
|
|
38019
|
+
In(a, "convertTo"),
|
|
38020
|
+
In(a, "quality"),
|
|
38021
|
+
a.bridge.handleUpload,
|
|
38022
|
+
In(a, "field")
|
|
38020
38023
|
);
|
|
38021
|
-
async function
|
|
38022
|
-
const
|
|
38023
|
-
types:
|
|
38024
|
-
maxSize:
|
|
38024
|
+
async function c() {
|
|
38025
|
+
const w = await $p({
|
|
38026
|
+
types: a.allowedTypes,
|
|
38027
|
+
maxSize: a.maxSize,
|
|
38025
38028
|
multiple: !0
|
|
38026
|
-
}),
|
|
38029
|
+
}), C = tf({
|
|
38027
38030
|
title: "Uploading images",
|
|
38028
38031
|
content: () => [
|
|
38029
|
-
$t(Wu, { value:
|
|
38032
|
+
$t(Wu, { value: u.value.reduce((k, A) => k + A, 0) / u.value.length })
|
|
38030
38033
|
],
|
|
38031
38034
|
closeable: !1,
|
|
38032
38035
|
icon: () => $t(Bh),
|
|
38033
38036
|
disableBackgroundEffect: !0
|
|
38034
|
-
}),
|
|
38035
|
-
|
|
38036
|
-
const
|
|
38037
|
-
|
|
38037
|
+
}), x = await o(w);
|
|
38038
|
+
C.close();
|
|
38039
|
+
const _ = x[0];
|
|
38040
|
+
_ && m(_.src);
|
|
38038
38041
|
}
|
|
38039
|
-
const
|
|
38040
|
-
...
|
|
38042
|
+
const d = oe(() => [
|
|
38043
|
+
...a.allowUploadFromDevice ? [
|
|
38041
38044
|
{
|
|
38042
|
-
label:
|
|
38043
|
-
action:
|
|
38045
|
+
label: a.uploadLabel,
|
|
38046
|
+
action: c,
|
|
38044
38047
|
icon: () => $t(Us),
|
|
38045
38048
|
key: "upload"
|
|
38046
38049
|
}
|
|
38047
38050
|
] : [],
|
|
38048
|
-
...
|
|
38049
|
-
label:
|
|
38051
|
+
...a.imageLibraries.map((C) => ({
|
|
38052
|
+
label: C.label,
|
|
38050
38053
|
icon: () => {
|
|
38051
|
-
if (
|
|
38052
|
-
switch (
|
|
38054
|
+
if (C.type === "sharedDrive")
|
|
38055
|
+
switch (C.service) {
|
|
38053
38056
|
case "googledrive":
|
|
38054
38057
|
return $t("img", {
|
|
38055
38058
|
src: "https://upload.wikimedia.org/wikipedia/commons/1/12/Google_Drive_icon_%282020%29.svg"
|
|
@@ -38061,51 +38064,57 @@ const PK = ["aria-labelledby", "aria-label"], $K = ["src", "alt"], DK = { class:
|
|
|
38061
38064
|
default:
|
|
38062
38065
|
return $t(Us);
|
|
38063
38066
|
}
|
|
38064
|
-
else return
|
|
38067
|
+
else return C.type === "pexels" ? $t("img", { src: "https://www.drupal.org/files/project-images/pexels_logo_0.png" }) : $t(Us);
|
|
38065
38068
|
},
|
|
38066
|
-
key:
|
|
38067
|
-
lib:
|
|
38069
|
+
key: C.type === "sharedDrive" ? C.service : C.type === "custom" ? "custom" : C.type,
|
|
38070
|
+
lib: C
|
|
38068
38071
|
}))
|
|
38069
|
-
]),
|
|
38070
|
-
label:
|
|
38071
|
-
value:
|
|
38072
|
-
icon:
|
|
38072
|
+
]), h = se(), l = oe(() => d.value.slice(Sd - 1).map((w) => ({
|
|
38073
|
+
label: w.label,
|
|
38074
|
+
value: w.key,
|
|
38075
|
+
icon: w.icon
|
|
38073
38076
|
})));
|
|
38074
|
-
function
|
|
38075
|
-
|
|
38077
|
+
function p(w) {
|
|
38078
|
+
w === "upload" ? c() : (h.value = w, i.value = !0);
|
|
38076
38079
|
}
|
|
38077
|
-
function
|
|
38078
|
-
n.value
|
|
38080
|
+
function m(w) {
|
|
38081
|
+
typeof n.value == "object" && n.value !== null ? n.value = {
|
|
38082
|
+
...Jr(n.value),
|
|
38083
|
+
src: w,
|
|
38084
|
+
crop: null,
|
|
38085
|
+
naturalWidth: void 0,
|
|
38086
|
+
naturalHeight: void 0
|
|
38087
|
+
} : n.value = w, i.value = !1;
|
|
38079
38088
|
}
|
|
38080
|
-
function
|
|
38081
|
-
if (
|
|
38082
|
-
|
|
38089
|
+
function b() {
|
|
38090
|
+
if (a.allowUploadFromDevice) {
|
|
38091
|
+
c();
|
|
38083
38092
|
return;
|
|
38084
38093
|
}
|
|
38085
|
-
|
|
38094
|
+
h.value = void 0, i.value = !0;
|
|
38086
38095
|
}
|
|
38087
|
-
jw(() =>
|
|
38088
|
-
function
|
|
38089
|
-
|
|
38090
|
-
|
|
38096
|
+
jw(() => a.field, b);
|
|
38097
|
+
function y(w) {
|
|
38098
|
+
a.imageLibraries.length === 0 && a.allowUploadFromDevice && (c(), w.stopImmediatePropagation(), w.stopPropagation(), wr(() => {
|
|
38099
|
+
i.value = !1;
|
|
38091
38100
|
}));
|
|
38092
38101
|
}
|
|
38093
|
-
return (
|
|
38102
|
+
return (w, C) => (F(), X("div", {
|
|
38094
38103
|
class: We(["image-field", { ["layout-" + e.layout]: !0 }])
|
|
38095
38104
|
}, [
|
|
38096
38105
|
pe(Xu, {
|
|
38097
|
-
show:
|
|
38098
|
-
"onUpdate:show":
|
|
38106
|
+
show: i.value,
|
|
38107
|
+
"onUpdate:show": C[2] || (C[2] = (x) => i.value = x),
|
|
38099
38108
|
type: "layer",
|
|
38100
38109
|
trigger: "click",
|
|
38101
38110
|
fullscreen: ""
|
|
38102
38111
|
}, {
|
|
38103
38112
|
title: fe(() => [
|
|
38104
|
-
|
|
38113
|
+
h.value ? (F(), Ge(kt, {
|
|
38105
38114
|
key: 0,
|
|
38106
38115
|
circle: "",
|
|
38107
38116
|
tertiary: "",
|
|
38108
|
-
onClick:
|
|
38117
|
+
onClick: C[0] || (C[0] = (x) => h.value = void 0)
|
|
38109
38118
|
}, {
|
|
38110
38119
|
icon: fe(() => [
|
|
38111
38120
|
pe(ht, { size: "small" }, {
|
|
@@ -38117,16 +38126,16 @@ const PK = ["aria-labelledby", "aria-label"], $K = ["src", "alt"], DK = { class:
|
|
|
38117
38126
|
]),
|
|
38118
38127
|
_: 1
|
|
38119
38128
|
})) : Re("", !0),
|
|
38120
|
-
|
|
38129
|
+
C[3] || (C[3] = W("h3", null, "Select image", -1))
|
|
38121
38130
|
]),
|
|
38122
38131
|
trigger: fe(() => [
|
|
38123
38132
|
W("div", {
|
|
38124
|
-
class: We(["image-preview", { "single-button-height":
|
|
38125
|
-
onClick:
|
|
38133
|
+
class: We(["image-preview", { "single-button-height": d.value.length <= 1 }]),
|
|
38134
|
+
onClick: y
|
|
38126
38135
|
}, [
|
|
38127
|
-
|
|
38136
|
+
r.value ? (F(), X("img", {
|
|
38128
38137
|
key: 0,
|
|
38129
|
-
src: ye(t)(
|
|
38138
|
+
src: ye(t)(r.value),
|
|
38130
38139
|
alt: e.uploadLabel
|
|
38131
38140
|
}, null, 8, FK)) : (F(), Ge(ht, {
|
|
38132
38141
|
key: 1,
|
|
@@ -38142,9 +38151,9 @@ const PK = ["aria-labelledby", "aria-label"], $K = ["src", "alt"], DK = { class:
|
|
|
38142
38151
|
]),
|
|
38143
38152
|
content: fe(() => [
|
|
38144
38153
|
pe(gS, {
|
|
38145
|
-
"active-key":
|
|
38146
|
-
"onUpdate:activeKey":
|
|
38147
|
-
options:
|
|
38154
|
+
"active-key": h.value,
|
|
38155
|
+
"onUpdate:activeKey": C[1] || (C[1] = (x) => h.value = x),
|
|
38156
|
+
options: d.value,
|
|
38148
38157
|
"image-libraries": e.imageLibraries,
|
|
38149
38158
|
width: e.width,
|
|
38150
38159
|
height: e.height,
|
|
@@ -38152,38 +38161,38 @@ const PK = ["aria-labelledby", "aria-label"], $K = ["src", "alt"], DK = { class:
|
|
|
38152
38161
|
"convert-to": e.convertTo,
|
|
38153
38162
|
bridge: e.bridge,
|
|
38154
38163
|
field: e.field,
|
|
38155
|
-
onSelect:
|
|
38164
|
+
onSelect: m
|
|
38156
38165
|
}, null, 8, ["active-key", "options", "image-libraries", "width", "height", "quality", "convert-to", "bridge", "field"])
|
|
38157
38166
|
]),
|
|
38158
38167
|
_: 1
|
|
38159
38168
|
}, 8, ["show"]),
|
|
38160
38169
|
e.layout !== "compact" ? (F(), X("div", NK, [
|
|
38161
|
-
(F(!0), X(Qe, null, Pt(
|
|
38170
|
+
(F(!0), X(Qe, null, Pt(d.value.slice(0, d.value.length > Sd ? Sd - 1 : Sd), (x) => (F(), X(Qe, null, [
|
|
38162
38171
|
pe(kt, {
|
|
38163
|
-
onClick: (
|
|
38172
|
+
onClick: (_) => p(x.key)
|
|
38164
38173
|
}, {
|
|
38165
38174
|
icon: fe(() => [
|
|
38166
38175
|
pe(ht, null, {
|
|
38167
38176
|
default: fe(() => [
|
|
38168
|
-
(F(), Ge(_n(
|
|
38177
|
+
(F(), Ge(_n(x.icon)))
|
|
38169
38178
|
]),
|
|
38170
38179
|
_: 2
|
|
38171
38180
|
}, 1024)
|
|
38172
38181
|
]),
|
|
38173
38182
|
default: fe(() => [
|
|
38174
|
-
gt(" " + Ae(
|
|
38183
|
+
gt(" " + Ae(x.label), 1)
|
|
38175
38184
|
]),
|
|
38176
38185
|
_: 2
|
|
38177
38186
|
}, 1032, ["onClick"]),
|
|
38178
38187
|
pe(Wp, {
|
|
38179
38188
|
trigger: "click",
|
|
38180
|
-
options:
|
|
38181
|
-
onSelect:
|
|
38189
|
+
options: l.value,
|
|
38190
|
+
onSelect: p,
|
|
38182
38191
|
"mobile-layout": e.mobile,
|
|
38183
38192
|
"aria-label": e.actionsLabel
|
|
38184
38193
|
}, {
|
|
38185
38194
|
trigger: fe(() => [
|
|
38186
|
-
|
|
38195
|
+
d.value.length > Sd ? (F(), Ge(kt, { key: 0 }, {
|
|
38187
38196
|
icon: fe(() => [
|
|
38188
38197
|
pe(ht, { size: "small" }, {
|
|
38189
38198
|
default: fe(() => [
|
|
@@ -38204,7 +38213,7 @@ const PK = ["aria-labelledby", "aria-label"], $K = ["src", "alt"], DK = { class:
|
|
|
38204
38213
|
])) : Re("", !0)
|
|
38205
38214
|
], 2));
|
|
38206
38215
|
}
|
|
38207
|
-
}), bS = /* @__PURE__ */ ft(UK, [["__scopeId", "data-v-
|
|
38216
|
+
}), bS = /* @__PURE__ */ ft(UK, [["__scopeId", "data-v-975527df"]]), ZK = {
|
|
38208
38217
|
key: 0,
|
|
38209
38218
|
class: "title-wrapper"
|
|
38210
38219
|
}, VK = {
|
|
@@ -38603,7 +38612,7 @@ const oJ = /* @__PURE__ */ Ze({
|
|
|
38603
38612
|
(i) => {
|
|
38604
38613
|
i !== a.value && (a.value = i);
|
|
38605
38614
|
}
|
|
38606
|
-
),
|
|
38615
|
+
), ea("data", a), Ke(
|
|
38607
38616
|
a,
|
|
38608
38617
|
() => {
|
|
38609
38618
|
r("update:data", a.value);
|
|
@@ -38951,7 +38960,7 @@ function TS(e, t, n) {
|
|
|
38951
38960
|
}
|
|
38952
38961
|
}), r.width = r.right - r.left, r.height = r.bottom - r.top, r.x = r.left, r.y = r.top, r;
|
|
38953
38962
|
}
|
|
38954
|
-
var
|
|
38963
|
+
var Qr = "Sortable" + (/* @__PURE__ */ new Date()).getTime();
|
|
38955
38964
|
function kJ() {
|
|
38956
38965
|
var e = [], t;
|
|
38957
38966
|
return {
|
|
@@ -39070,7 +39079,7 @@ var Zc = [], _g = {
|
|
|
39070
39079
|
};
|
|
39071
39080
|
function Dd(e) {
|
|
39072
39081
|
var t = e.sortable, n = e.rootEl, r = e.name, a = e.targetEl, i = e.cloneEl, o = e.toEl, u = e.fromEl, s = e.oldIndex, c = e.newIndex, d = e.oldDraggableIndex, h = e.newDraggableIndex, l = e.originalEvent, p = e.putSortable, m = e.extraEventProperties;
|
|
39073
|
-
if (t = t || n && n[
|
|
39082
|
+
if (t = t || n && n[Qr], !!t) {
|
|
39074
39083
|
var b, y = t.options, w = "on" + r.charAt(0).toUpperCase() + r.substr(1);
|
|
39075
39084
|
window.CustomEvent && !is && !rf ? b = new CustomEvent(r, {
|
|
39076
39085
|
bubbles: !0,
|
|
@@ -39130,7 +39139,7 @@ function ba(e) {
|
|
|
39130
39139
|
newDraggableIndex: Os
|
|
39131
39140
|
}, e));
|
|
39132
39141
|
}
|
|
39133
|
-
var Ct, ur, rn, tr, Rl, Y1, ar, Ls, cu, Ha, Qd, Os, z1, Kr, nu = !1, Vh = !1, Hh = [], Ll, Ei, kg, zg, v9, b9, Rd, Vc, e0, t0 = !1, E1 = !1, K1,
|
|
39142
|
+
var Ct, ur, rn, tr, Rl, Y1, ar, Ls, cu, Ha, Qd, Os, z1, Kr, nu = !1, Vh = !1, Hh = [], Ll, Ei, kg, zg, v9, b9, Rd, Vc, e0, t0 = !1, E1 = !1, K1, ca, Eg = [], Wv = !1, Gh = [], Xp = typeof document < "u", I1 = X3, y9 = rf || is ? "cssFloat" : "float", AJ = Xp && !kS && !X3 && "draggable" in document.createElement("div"), LS = function() {
|
|
39134
39143
|
if (Xp) {
|
|
39135
39144
|
if (is)
|
|
39136
39145
|
return !1;
|
|
@@ -39154,7 +39163,7 @@ var Ct, ur, rn, tr, Rl, Y1, ar, Ls, cu, Ha, Qd, Os, z1, Kr, nu = !1, Vh = !1, Hh
|
|
|
39154
39163
|
}, TJ = function(t, n) {
|
|
39155
39164
|
var r;
|
|
39156
39165
|
return Hh.some(function(a) {
|
|
39157
|
-
var i = a[
|
|
39166
|
+
var i = a[Qr].options.emptyInsertThreshold;
|
|
39158
39167
|
if (!(!i || Y3(a))) {
|
|
39159
39168
|
var o = Xn(a), u = t >= o.left - i && t <= o.right + i, s = n >= o.top - i && n <= o.bottom + i;
|
|
39160
39169
|
if (u && s)
|
|
@@ -39198,16 +39207,16 @@ var Ml = function(t) {
|
|
|
39198
39207
|
var r = {};
|
|
39199
39208
|
for (var a in t)
|
|
39200
39209
|
t.hasOwnProperty(a) && (r[a] = t[a]);
|
|
39201
|
-
r.target = r.rootEl = n, r.preventDefault = void 0, r.stopPropagation = void 0, n[
|
|
39210
|
+
r.target = r.rootEl = n, r.preventDefault = void 0, r.stopPropagation = void 0, n[Qr]._onDragOver(r);
|
|
39202
39211
|
}
|
|
39203
39212
|
}
|
|
39204
39213
|
}, LJ = function(t) {
|
|
39205
|
-
Ct && Ct.parentNode[
|
|
39214
|
+
Ct && Ct.parentNode[Qr]._isOutsideThisEl(t.target);
|
|
39206
39215
|
};
|
|
39207
39216
|
function qt(e, t) {
|
|
39208
39217
|
if (!(e && e.nodeType && e.nodeType === 1))
|
|
39209
39218
|
throw "Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));
|
|
39210
|
-
this.el = e, this.options = t = vi({}, t), e[
|
|
39219
|
+
this.el = e, this.options = t = vi({}, t), e[Qr] = this;
|
|
39211
39220
|
var n = {
|
|
39212
39221
|
group: null,
|
|
39213
39222
|
sort: !0,
|
|
@@ -39382,11 +39391,11 @@ qt.prototype = /** @lends Sortable.prototype */
|
|
|
39382
39391
|
this._lastX = Ei.clientX, this._lastY = Ei.clientY, $S();
|
|
39383
39392
|
for (var t = document.elementFromPoint(Ei.clientX, Ei.clientY), n = t; t && t.shadowRoot && (t = t.shadowRoot.elementFromPoint(Ei.clientX, Ei.clientY), t !== n); )
|
|
39384
39393
|
n = t;
|
|
39385
|
-
if (Ct.parentNode[
|
|
39394
|
+
if (Ct.parentNode[Qr]._isOutsideThisEl(t), n)
|
|
39386
39395
|
do {
|
|
39387
|
-
if (n[
|
|
39396
|
+
if (n[Qr]) {
|
|
39388
39397
|
var r = void 0;
|
|
39389
|
-
if (r = n[
|
|
39398
|
+
if (r = n[Qr]._onDragOver({
|
|
39390
39399
|
clientX: Ei.clientX,
|
|
39391
39400
|
clientY: Ei.clientY,
|
|
39392
39401
|
target: t,
|
|
@@ -39401,7 +39410,7 @@ qt.prototype = /** @lends Sortable.prototype */
|
|
|
39401
39410
|
},
|
|
39402
39411
|
_onTouchMove: function(t) {
|
|
39403
39412
|
if (Ll) {
|
|
39404
|
-
var n = this.options, r = n.fallbackTolerance, a = n.fallbackOffset, i = t.touches ? t.touches[0] : t, o = rn && nc(rn, !0), u = rn && o && o.a, s = rn && o && o.d, c = I1 &&
|
|
39413
|
+
var n = this.options, r = n.fallbackTolerance, a = n.fallbackOffset, i = t.touches ? t.touches[0] : t, o = rn && nc(rn, !0), u = rn && o && o.a, s = rn && o && o.d, c = I1 && ca && m9(ca), d = (i.clientX - Ll.clientX + a.x) / (u || 1) + (c ? c[0] - Eg[0] : 0) / (u || 1), h = (i.clientY - Ll.clientY + a.y) / (s || 1) + (c ? c[1] - Eg[1] : 0) / (s || 1);
|
|
39405
39414
|
if (!qt.active && !nu) {
|
|
39406
39415
|
if (r && Math.max(Math.abs(i.clientX - this._lastX), Math.abs(i.clientY - this._lastY)) < r)
|
|
39407
39416
|
return;
|
|
@@ -39426,9 +39435,9 @@ qt.prototype = /** @lends Sortable.prototype */
|
|
|
39426
39435
|
if (!rn) {
|
|
39427
39436
|
var t = this.options.fallbackOnBody ? document.body : tr, n = Xn(Ct, !0, I1, !0, t), r = this.options;
|
|
39428
39437
|
if (I1) {
|
|
39429
|
-
for (
|
|
39430
|
-
|
|
39431
|
-
|
|
39438
|
+
for (ca = t; Rt(ca, "position") === "static" && Rt(ca, "transform") === "none" && ca !== document; )
|
|
39439
|
+
ca = ca.parentNode;
|
|
39440
|
+
ca !== document.body && ca !== document.documentElement ? (ca === document && (ca = vo()), n.top += ca.scrollTop, n.left += ca.scrollLeft) : ca = vo(), Eg = m9(ca);
|
|
39432
39441
|
}
|
|
39433
39442
|
rn = Ct.cloneNode(!0), or(rn, r.ghostClass, !1), or(rn, r.fallbackClass, !0), or(rn, r.dragClass, !0), Rt(rn, "transition", ""), Rt(rn, "transform", ""), Rt(rn, "box-sizing", "border-box"), Rt(rn, "margin", 0), Rt(rn, "top", n.top), Rt(rn, "left", n.left), Rt(rn, "width", n.width), Rt(rn, "height", n.height), Rt(rn, "opacity", "0.8"), Rt(rn, "position", I1 ? "absolute" : "fixed"), Rt(rn, "zIndex", "100000"), Rt(rn, "pointerEvents", "none"), qt.ghost = rn, t.appendChild(rn), Rt(rn, "transform-origin", v9 / parseInt(rn.style.width) * 100 + "% " + b9 / parseInt(rn.style.height) * 100 + "%");
|
|
39434
39443
|
}
|
|
@@ -39478,7 +39487,7 @@ qt.prototype = /** @lends Sortable.prototype */
|
|
|
39478
39487
|
insertion: z
|
|
39479
39488
|
}), z && (d ? c._hideClone() : c._showClone(m), m !== l && (or(Ct, Kr ? Kr.options.ghostClass : c.options.ghostClass, !1), or(Ct, u.ghostClass, !0)), Kr !== m && m !== qt.active ? Kr = m : m === qt.active && Kr && (Kr = null), l === m && (m._ignoreWhileAnimating = r), m.animateAll(function() {
|
|
39480
39489
|
y("dragOverAnimationComplete"), m._ignoreWhileAnimating = null;
|
|
39481
|
-
}), m !== l && (l.animateAll(), l._ignoreWhileAnimating = null)), (r === Ct && !Ct.animated || r === n && !r.animated) && (Vc = null), !u.dragoverBubble && !t.rootEl && r !== document && (Ct.parentNode[
|
|
39490
|
+
}), m !== l && (l.animateAll(), l._ignoreWhileAnimating = null)), (r === Ct && !Ct.animated || r === n && !r.animated) && (Vc = null), !u.dragoverBubble && !t.rootEl && r !== document && (Ct.parentNode[Qr]._isOutsideThisEl(t.target), !z && Ml(t)), !u.dragoverBubble && t.stopPropagation && t.stopPropagation(), b = !0;
|
|
39482
39491
|
}
|
|
39483
39492
|
function x() {
|
|
39484
39493
|
Ha = dr(Ct), Os = dr(Ct, u.draggable), ba({
|
|
@@ -39675,7 +39684,7 @@ qt.prototype = /** @lends Sortable.prototype */
|
|
|
39675
39684
|
destroy: function() {
|
|
39676
39685
|
Ia("destroy", this);
|
|
39677
39686
|
var t = this.el;
|
|
39678
|
-
t[
|
|
39687
|
+
t[Qr] = null, cn(t, "mousedown", this._onTapStart), cn(t, "touchstart", this._onTapStart), cn(t, "pointerdown", this._onTapStart), this.nativeDraggable && (cn(t, "dragover", this), cn(t, "dragenter", this)), Array.prototype.forEach.call(t.querySelectorAll("[draggable]"), function(n) {
|
|
39679
39688
|
n.removeAttribute("draggable");
|
|
39680
39689
|
}), this._onDrop(), this._disableDelayedDragEvents(), Hh.splice(Hh.indexOf(this.el), 1), this.el = t = null;
|
|
39681
39690
|
},
|
|
@@ -39700,7 +39709,7 @@ function MJ(e) {
|
|
|
39700
39709
|
e.dataTransfer && (e.dataTransfer.dropEffect = "move"), e.cancelable && e.preventDefault();
|
|
39701
39710
|
}
|
|
39702
39711
|
function A1(e, t, n, r, a, i, o, u) {
|
|
39703
|
-
var s, c = e[
|
|
39712
|
+
var s, c = e[Qr], d = c.options.onMove, h;
|
|
39704
39713
|
return window.CustomEvent && !is && !rf ? s = new CustomEvent("move", {
|
|
39705
39714
|
bubbles: !0,
|
|
39706
39715
|
cancelable: !0
|
|
@@ -39775,10 +39784,10 @@ qt.utils = {
|
|
|
39775
39784
|
cancelNextTick: Xv,
|
|
39776
39785
|
detectDirection: MS,
|
|
39777
39786
|
getChild: Bu,
|
|
39778
|
-
expando:
|
|
39787
|
+
expando: Qr
|
|
39779
39788
|
};
|
|
39780
39789
|
qt.get = function(e) {
|
|
39781
|
-
return e[
|
|
39790
|
+
return e[Qr];
|
|
39782
39791
|
};
|
|
39783
39792
|
qt.mount = function() {
|
|
39784
39793
|
for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
|
|
@@ -39869,7 +39878,7 @@ var Tg = AS(function(e, t, n, r) {
|
|
|
39869
39878
|
(kr[h].vx != R || kr[h].vy != f || kr[h].el !== p) && (kr[h].el = p, kr[h].vx = R, kr[h].vy = f, clearInterval(kr[h].pid), (R != 0 || f != 0) && (c = !0, kr[h].pid = setInterval((function() {
|
|
39870
39879
|
r && this.layer === 0 && qt.active._onTouchMove(qh);
|
|
39871
39880
|
var Z = kr[this.layer].vy ? kr[this.layer].vy * u : 0, V = kr[this.layer].vx ? kr[this.layer].vx * u : 0;
|
|
39872
|
-
typeof d == "function" && d.call(qt.dragged.parentNode[
|
|
39881
|
+
typeof d == "function" && d.call(qt.dragged.parentNode[Qr], V, Z, e, qh, kr[this.layer].el) !== "continue" || OS(kr[this.layer].el, V, Z);
|
|
39873
39882
|
}).bind({
|
|
39874
39883
|
layer: h
|
|
39875
39884
|
}), 24))), h++;
|
|
@@ -40133,7 +40142,7 @@ function VJ() {
|
|
|
40133
40142
|
Ii = d;
|
|
40134
40143
|
}
|
|
40135
40144
|
if (Hc && this.isMultiDrag) {
|
|
40136
|
-
if (Aa = !1, (i[
|
|
40145
|
+
if (Aa = !1, (i[Qr].options.sort || i !== a) && nn.length > 1) {
|
|
40137
40146
|
var b = Xn(Gn), y = dr(Gn, ":not(." + this.options.selectedClass + ")");
|
|
40138
40147
|
if (!kd && h.animation && (Gn.thisAnimationDuration = null), d.captureAnimationState(), !kd && (h.animation && (Gn.fromRect = b, nn.forEach(function(C) {
|
|
40139
40148
|
if (C.thisAnimationDuration = null, C !== Gn) {
|
|
@@ -40199,7 +40208,7 @@ function VJ() {
|
|
|
40199
40208
|
* @param {HTMLElement} el The element to be selected
|
|
40200
40209
|
*/
|
|
40201
40210
|
select: function(n) {
|
|
40202
|
-
var r = n.parentNode[
|
|
40211
|
+
var r = n.parentNode[Qr];
|
|
40203
40212
|
!r || !r.options.multiDrag || ~nn.indexOf(n) || (Ii && Ii !== r && (Ii.multiDrag._deselectMultiDrag(), Ii = r), or(n, r.options.selectedClass, !0), nn.push(n));
|
|
40204
40213
|
},
|
|
40205
40214
|
/**
|
|
@@ -40207,7 +40216,7 @@ function VJ() {
|
|
|
40207
40216
|
* @param {HTMLElement} el The element to be deselected
|
|
40208
40217
|
*/
|
|
40209
40218
|
deselect: function(n) {
|
|
40210
|
-
var r = n.parentNode[
|
|
40219
|
+
var r = n.parentNode[Qr], a = nn.indexOf(n);
|
|
40211
40220
|
!r || !r.options.multiDrag || !~a || (or(n, r.options.selectedClass, !1), nn.splice(a, 1));
|
|
40212
40221
|
}
|
|
40213
40222
|
},
|
|
@@ -40732,7 +40741,7 @@ const HQ = { class: "label" }, GQ = { class: "actions-right" }, qQ = { class: "a
|
|
|
40732
40741
|
return;
|
|
40733
40742
|
const C = t.defaultObject ?? t.defaultValue, x = Object.fromEntries(
|
|
40734
40743
|
t.fields.map((A) => Object.entries(A.model).map(([T, S]) => C && S in C ? [S, C[S]] : [S, ZQ(A, T)])).flat()
|
|
40735
|
-
), _ =
|
|
40744
|
+
), _ = Jr(C ? x : ((k = r.value) == null ? void 0 : k[0]) ?? x);
|
|
40736
40745
|
r.value = [...r.value ?? [], _], u.value = o(_, r.value.length - 1);
|
|
40737
40746
|
}
|
|
40738
40747
|
function h(C, x) {
|
|
@@ -40910,7 +40919,7 @@ const HQ = { class: "label" }, GQ = { class: "actions-right" }, qQ = { class: "a
|
|
|
40910
40919
|
return Ke(
|
|
40911
40920
|
h,
|
|
40912
40921
|
Hv(() => {
|
|
40913
|
-
!
|
|
40922
|
+
!na(h.value, n.bounds) && h.value && r("update:bounds", h.value);
|
|
40914
40923
|
}, 100)
|
|
40915
40924
|
), (l, p) => (F(), X("div", XQ, [
|
|
40916
40925
|
W("div", {
|
|
@@ -42352,7 +42361,7 @@ const uee = { class: "bx-color-picker" }, dee = { class: "hue-row" }, fee = {
|
|
|
42352
42361
|
return typeof p == "string" ? p : `${p.type} gradient`;
|
|
42353
42362
|
}
|
|
42354
42363
|
function s(p) {
|
|
42355
|
-
return typeof t.value == "string" || typeof p.value == "string" ? t.value === p.value :
|
|
42364
|
+
return typeof t.value == "string" || typeof p.value == "string" ? t.value === p.value : na(t.value, p.value);
|
|
42356
42365
|
}
|
|
42357
42366
|
const c = se(null), d = oe(() => {
|
|
42358
42367
|
const p = n.options.map((m, b) => b).filter((m) => s(n.options[m]));
|
|
@@ -42534,7 +42543,7 @@ const uee = { class: "bx-color-picker" }, dee = { class: "hue-row" }, fee = {
|
|
|
42534
42543
|
setup(e) {
|
|
42535
42544
|
const t = yn(e, "modelValue"), n = se();
|
|
42536
42545
|
function r(p) {
|
|
42537
|
-
return typeof p == "object" && p instanceof Array ?
|
|
42546
|
+
return typeof p == "object" && p instanceof Array ? Jr(p) : typeof p == "string" || typeof p == "number" || typeof p == "boolean" ? [
|
|
42538
42547
|
{
|
|
42539
42548
|
text: String(p),
|
|
42540
42549
|
format: {}
|
|
@@ -42542,7 +42551,7 @@ const uee = { class: "bx-color-picker" }, dee = { class: "hue-row" }, fee = {
|
|
|
42542
42551
|
] : [{ text: "foobar", format: {} }];
|
|
42543
42552
|
}
|
|
42544
42553
|
function a(p, m) {
|
|
42545
|
-
return
|
|
42554
|
+
return na(p, m);
|
|
42546
42555
|
}
|
|
42547
42556
|
const i = se(r(t.value));
|
|
42548
42557
|
Ke(i, (p, m) => {
|
|
@@ -42560,7 +42569,7 @@ const uee = { class: "bx-color-picker" }, dee = { class: "hue-row" }, fee = {
|
|
|
42560
42569
|
for (const y of p)
|
|
42561
42570
|
if (!b)
|
|
42562
42571
|
b = y.format;
|
|
42563
|
-
else if (!
|
|
42572
|
+
else if (!na(b, y.format)) {
|
|
42564
42573
|
m = !0;
|
|
42565
42574
|
break;
|
|
42566
42575
|
}
|
|
@@ -42577,7 +42586,7 @@ const uee = { class: "bx-color-picker" }, dee = { class: "hue-row" }, fee = {
|
|
|
42577
42586
|
console.log("commonStyleFormat", d.value);
|
|
42578
42587
|
});
|
|
42579
42588
|
function h(p) {
|
|
42580
|
-
return d.value ? p.style === null ? c(i.value) !== null :
|
|
42589
|
+
return d.value ? p.style === null ? c(i.value) !== null : na(d.value, p.style) : !1;
|
|
42581
42590
|
}
|
|
42582
42591
|
function l(p) {
|
|
42583
42592
|
var b;
|
|
@@ -43430,7 +43439,7 @@ const Mte = /* @__PURE__ */ Ze({
|
|
|
43430
43439
|
},
|
|
43431
43440
|
setup(e, { expose: t }) {
|
|
43432
43441
|
const n = e, r = se(null), a = se(null);
|
|
43433
|
-
|
|
43442
|
+
ea("bxScrollContainer", a);
|
|
43434
43443
|
const i = se(0), o = se(0), u = se(0), s = se(0), c = se(0), d = se(0), h = se(!1), l = se(!1);
|
|
43435
43444
|
let p = null, m = null;
|
|
43436
43445
|
const b = se(null);
|
|
@@ -43858,7 +43867,7 @@ const Bte = { class: "watermark" }, jte = ["x", "y"], XS = /* @__PURE__ */ Ze({
|
|
|
43858
43867
|
}
|
|
43859
43868
|
const f = {
|
|
43860
43869
|
...L,
|
|
43861
|
-
...
|
|
43870
|
+
...Jr(r.data ?? {})
|
|
43862
43871
|
};
|
|
43863
43872
|
await T.setData(f), a("update:data", f), T.removeEventListener("ready", S);
|
|
43864
43873
|
};
|
|
@@ -43900,7 +43909,7 @@ const Bte = { class: "watermark" }, jte = ["x", "y"], XS = /* @__PURE__ */ Ze({
|
|
|
43900
43909
|
};
|
|
43901
43910
|
async function _(A) {
|
|
43902
43911
|
const T = await b();
|
|
43903
|
-
|
|
43912
|
+
na(T, A) || x();
|
|
43904
43913
|
}
|
|
43905
43914
|
Ke(
|
|
43906
43915
|
() => r.data,
|
|
@@ -59735,7 +59744,7 @@ function G4() {
|
|
|
59735
59744
|
if ($ != null) for (var me in $) me !== "default" && Object.prototype.hasOwnProperty.call($, me) && t(ee, $, me);
|
|
59736
59745
|
return n(ee, $), ee;
|
|
59737
59746
|
};
|
|
59738
|
-
Object.defineProperty(e, "__esModule", { value: !0 }), e.ZodTransform = e.ZodFile = e.ZodLiteral = e.ZodEnum = e.ZodSet = e.ZodMap = e.ZodRecord = e.ZodTuple = e.ZodIntersection = e.ZodDiscriminatedUnion = e.ZodUnion = e.ZodObject = e.ZodArray = e.ZodDate = e.ZodVoid = e.ZodNever = e.ZodUnknown = e.ZodAny = e.ZodNull = e.ZodUndefined = e.ZodSymbol = e.ZodBigIntFormat = e.ZodBigInt = e.ZodBoolean = e.ZodNumberFormat = e.ZodNumber = e.ZodCustomStringFormat = e.ZodJWT = e.ZodE164 = e.ZodBase64URL = e.ZodBase64 = e.ZodCIDRv6 = e.ZodCIDRv4 = e.ZodIPv6 = e.ZodIPv4 = e.ZodKSUID = e.ZodXID = e.ZodULID = e.ZodCUID2 = e.ZodCUID = e.ZodNanoID = e.ZodEmoji = e.ZodURL = e.ZodUUID = e.ZodGUID = e.ZodEmail = e.ZodStringFormat = e.ZodString = e._ZodString = e.ZodType = void 0, e.stringbool = e.ZodCustom = e.ZodFunction = e.ZodPromise = e.ZodLazy = e.ZodTemplateLiteral = e.ZodReadonly = e.ZodCodec = e.ZodPipe = e.ZodNaN = e.ZodCatch = e.ZodSuccess = e.ZodNonOptional = e.ZodPrefault = e.ZodDefault = e.ZodNullable = e.ZodOptional = void 0, e.string = c, e.email = d, e.guid = h, e.uuid = l, e.uuidv4 = p, e.uuidv6 = m, e.uuidv7 = b, e.url = y, e.httpUrl = w, e.emoji = C, e.nanoid = x, e.cuid = _, e.cuid2 = k, e.ulid = A, e.xid = T, e.ksuid = S, e.ipv4 = L, e.ipv6 = E, e.cidrv4 = D, e.cidrv6 = R, e.base64 = f, e.base64url = N, e.e164 = Z, e.jwt = V, e.stringFormat = I, e.hostname = z, e.hex = M, e.hash = B, e.number = U, e.int = Y, e.float32 = ne, e.float64 = te, e.int32 = he, e.uint32 = ge, e.boolean = $e, e.bigint = Q, e.int64 = P, e.uint64 = j, e.symbol = G, e.undefined = ie, e.null = ce, e.any = de, e.unknown = we, e.never = Be, e.void = Se, e.date = Ce, e.array = et, e.keyof = it, e.object = Ye, e.strictObject = rt, e.looseObject = be, e.union = Te, e.discriminatedUnion = lt, e.intersection = Pe, e.tuple = Ne, e.record = pt, e.partialRecord = yt, e.map = wt, e.set = Mt, e.enum = Dt, e.nativeEnum = Ft, e.literal = ze, e.file = Xe, e.transform = ct, e.optional = Tt, e.nullable = Nt, e.nullish = Kt, e._default = Qt, e.prefault = sn, e.nonoptional = En, e.success = Bn, e.catch = Kn, e.nan = Jn, e.pipe = nr, e.codec = Sr, e.readonly = Xa, e.templateLiteral = xi, e.lazy =
|
|
59747
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.ZodTransform = e.ZodFile = e.ZodLiteral = e.ZodEnum = e.ZodSet = e.ZodMap = e.ZodRecord = e.ZodTuple = e.ZodIntersection = e.ZodDiscriminatedUnion = e.ZodUnion = e.ZodObject = e.ZodArray = e.ZodDate = e.ZodVoid = e.ZodNever = e.ZodUnknown = e.ZodAny = e.ZodNull = e.ZodUndefined = e.ZodSymbol = e.ZodBigIntFormat = e.ZodBigInt = e.ZodBoolean = e.ZodNumberFormat = e.ZodNumber = e.ZodCustomStringFormat = e.ZodJWT = e.ZodE164 = e.ZodBase64URL = e.ZodBase64 = e.ZodCIDRv6 = e.ZodCIDRv4 = e.ZodIPv6 = e.ZodIPv4 = e.ZodKSUID = e.ZodXID = e.ZodULID = e.ZodCUID2 = e.ZodCUID = e.ZodNanoID = e.ZodEmoji = e.ZodURL = e.ZodUUID = e.ZodGUID = e.ZodEmail = e.ZodStringFormat = e.ZodString = e._ZodString = e.ZodType = void 0, e.stringbool = e.ZodCustom = e.ZodFunction = e.ZodPromise = e.ZodLazy = e.ZodTemplateLiteral = e.ZodReadonly = e.ZodCodec = e.ZodPipe = e.ZodNaN = e.ZodCatch = e.ZodSuccess = e.ZodNonOptional = e.ZodPrefault = e.ZodDefault = e.ZodNullable = e.ZodOptional = void 0, e.string = c, e.email = d, e.guid = h, e.uuid = l, e.uuidv4 = p, e.uuidv6 = m, e.uuidv7 = b, e.url = y, e.httpUrl = w, e.emoji = C, e.nanoid = x, e.cuid = _, e.cuid2 = k, e.ulid = A, e.xid = T, e.ksuid = S, e.ipv4 = L, e.ipv6 = E, e.cidrv4 = D, e.cidrv6 = R, e.base64 = f, e.base64url = N, e.e164 = Z, e.jwt = V, e.stringFormat = I, e.hostname = z, e.hex = M, e.hash = B, e.number = U, e.int = Y, e.float32 = ne, e.float64 = te, e.int32 = he, e.uint32 = ge, e.boolean = $e, e.bigint = Q, e.int64 = P, e.uint64 = j, e.symbol = G, e.undefined = ie, e.null = ce, e.any = de, e.unknown = we, e.never = Be, e.void = Se, e.date = Ce, e.array = et, e.keyof = it, e.object = Ye, e.strictObject = rt, e.looseObject = be, e.union = Te, e.discriminatedUnion = lt, e.intersection = Pe, e.tuple = Ne, e.record = pt, e.partialRecord = yt, e.map = wt, e.set = Mt, e.enum = Dt, e.nativeEnum = Ft, e.literal = ze, e.file = Xe, e.transform = ct, e.optional = Tt, e.nullable = Nt, e.nullish = Kt, e._default = Qt, e.prefault = sn, e.nonoptional = En, e.success = Bn, e.catch = Kn, e.nan = Jn, e.pipe = nr, e.codec = Sr, e.readonly = Xa, e.templateLiteral = xi, e.lazy = ia, e.promise = Ca, e._function = Ir, e.function = Ir, e._function = Ir, e.function = Ir, e.check = oa, e.custom = De, e.refine = Ve, e.superRefine = jt, e.instanceof = en, e.json = je, e.preprocess = Je;
|
|
59739
59748
|
const a = r(Ma), i = Ma, o = r(H4), u = r(Jb()), s = r(Zn);
|
|
59740
59749
|
e.ZodType = a.$constructor("ZodType", ($, ee) => (a.$ZodType.init($, ee), $.def = ee, $.type = ee.type, Object.defineProperty($, "_def", { value: ee }), $.check = (...me) => $.clone(i.util.mergeDefs(ee, {
|
|
59741
59750
|
checks: [
|
|
@@ -60354,7 +60363,7 @@ function G4() {
|
|
|
60354
60363
|
e.ZodLazy = a.$constructor("ZodLazy", ($, ee) => {
|
|
60355
60364
|
a.$ZodLazy.init($, ee), e.ZodType.init($, ee), $.unwrap = () => $._zod.def.getter();
|
|
60356
60365
|
});
|
|
60357
|
-
function
|
|
60366
|
+
function ia($) {
|
|
60358
60367
|
return new e.ZodLazy({
|
|
60359
60368
|
type: "lazy",
|
|
60360
60369
|
getter: $
|
|
@@ -60382,7 +60391,7 @@ function G4() {
|
|
|
60382
60391
|
e.ZodCustom = a.$constructor("ZodCustom", ($, ee) => {
|
|
60383
60392
|
a.$ZodCustom.init($, ee), e.ZodType.init($, ee);
|
|
60384
60393
|
});
|
|
60385
|
-
function
|
|
60394
|
+
function oa($) {
|
|
60386
60395
|
const ee = new a.$ZodCheck({
|
|
60387
60396
|
check: "custom"
|
|
60388
60397
|
// ...util.normalizeParams(params),
|
|
@@ -60417,7 +60426,7 @@ function G4() {
|
|
|
60417
60426
|
}, ...$);
|
|
60418
60427
|
e.stringbool = At;
|
|
60419
60428
|
function je($) {
|
|
60420
|
-
const ee =
|
|
60429
|
+
const ee = ia(() => Te([c($), U(), $e(), ce(), et(ee), pt(c(), ee)]));
|
|
60421
60430
|
return ee;
|
|
60422
60431
|
}
|
|
60423
60432
|
function Je($, ee) {
|
|
@@ -66271,7 +66280,7 @@ var xz = {};
|
|
|
66271
66280
|
id: t.z.string(),
|
|
66272
66281
|
edge: e.assistantEdgeSchema.describe("Which edge of the element to pin"),
|
|
66273
66282
|
to: e.assistantEdgeTargetSchema,
|
|
66274
|
-
offset: t.z.number().optional().describe(
|
|
66283
|
+
offset: t.z.number().optional().describe('px between the target edge and this edge (negative = towards the inside). OMITTED = keep the element exactly where it is now (derived from the current geometry) — the safe default for "make responsive".')
|
|
66275
66284
|
}), e.opStretch = t.z.object({
|
|
66276
66285
|
op: t.z.literal("stretch"),
|
|
66277
66286
|
why: r,
|
|
@@ -69568,14 +69577,14 @@ function s1e(e) {
|
|
|
69568
69577
|
}
|
|
69569
69578
|
}
|
|
69570
69579
|
function i(L) {
|
|
69571
|
-
return { id: tw(), data: { ...
|
|
69580
|
+
return { id: tw(), data: { ...Jr(e.seed()), ...Jr(L ?? {}) } };
|
|
69572
69581
|
}
|
|
69573
69582
|
function o() {
|
|
69574
69583
|
var E;
|
|
69575
69584
|
const L = (E = e.initial) != null && E.length ? { rows: e.initial } : a();
|
|
69576
69585
|
L && L.rows.length > 0 ? (t.value = L.rows.slice(0, Ms).map((D) => ({
|
|
69577
69586
|
id: D.id || tw(),
|
|
69578
|
-
data: { ...
|
|
69587
|
+
data: { ...Jr(e.seed()), ...D.data ?? {} }
|
|
69579
69588
|
})), n.value = L.activeRowId && t.value.some((D) => D.id === L.activeRowId) ? L.activeRowId : t.value[0].id) : (t.value = [i()], n.value = t.value[0].id);
|
|
69580
69589
|
}
|
|
69581
69590
|
o(), Ke(e.storageKey, () => o());
|
|
@@ -73829,7 +73838,7 @@ const $pe = {
|
|
|
73829
73838
|
scrollbarEl: w.value,
|
|
73830
73839
|
paginationEl: y.value
|
|
73831
73840
|
}), u.value = !1;
|
|
73832
|
-
}),
|
|
73841
|
+
}), ea("swiper", d), Ke(o, () => {
|
|
73833
73842
|
wr(() => {
|
|
73834
73843
|
Mpe(d.value);
|
|
73835
73844
|
});
|
|
@@ -73931,7 +73940,7 @@ const $pe = {
|
|
|
73931
73940
|
isPrev: i.value.indexOf("swiper-slide-prev") >= 0,
|
|
73932
73941
|
isNext: i.value.indexOf("swiper-slide-next") >= 0
|
|
73933
73942
|
}));
|
|
73934
|
-
|
|
73943
|
+
ea("swiperSlide", s);
|
|
73935
73944
|
const c = () => {
|
|
73936
73945
|
o.value = !0;
|
|
73937
73946
|
};
|
|
@@ -75636,8 +75645,8 @@ const kme = ["data-preview"], zme = { class: "back-btn-wrapper" }, Eme = {
|
|
|
75636
75645
|
}), T = (De) => new Function(...Object.keys(A.value), `return (${De.toString()})()`)(
|
|
75637
75646
|
...Object.values(A.value)
|
|
75638
75647
|
);
|
|
75639
|
-
|
|
75640
|
-
const S = se(
|
|
75648
|
+
ea("computedPropEvaluator", T);
|
|
75649
|
+
const S = se(Jr(r.data ?? {}));
|
|
75641
75650
|
Ke(
|
|
75642
75651
|
() => {
|
|
75643
75652
|
var De;
|
|
@@ -75646,10 +75655,10 @@ const kme = ["data-preview"], zme = { class: "back-btn-wrapper" }, Eme = {
|
|
|
75646
75655
|
(De) => {
|
|
75647
75656
|
if (De)
|
|
75648
75657
|
for (const Ve in De)
|
|
75649
|
-
Ve in S.value || (S.value[Ve] =
|
|
75658
|
+
Ve in S.value || (S.value[Ve] = Jr(De[Ve]));
|
|
75650
75659
|
},
|
|
75651
75660
|
{ immediate: !0 }
|
|
75652
|
-
),
|
|
75661
|
+
), ea("data", S), ea(Pp, In(r, "assetProxy")), Ke(
|
|
75653
75662
|
S,
|
|
75654
75663
|
() => {
|
|
75655
75664
|
a("update:data", S.value);
|
|
@@ -75688,7 +75697,7 @@ const kme = ["data-preview"], zme = { class: "back-btn-wrapper" }, Eme = {
|
|
|
75688
75697
|
const I = oe(() => V.value === "batch" && f.value), z = oe(() => `bx-batch:${r.campaignId ?? "c"}:${r.templateId}`), M = s1e({
|
|
75689
75698
|
seed: () => {
|
|
75690
75699
|
var De;
|
|
75691
|
-
return
|
|
75700
|
+
return Jr(((De = p.value) == null ? void 0 : De.bindings) ?? {});
|
|
75692
75701
|
},
|
|
75693
75702
|
storageKey: z,
|
|
75694
75703
|
initial: r.batchRows
|
|
@@ -75702,16 +75711,16 @@ const kme = ["data-preview"], zme = { class: "back-btn-wrapper" }, Eme = {
|
|
|
75702
75711
|
if (De)
|
|
75703
75712
|
for (const Ve of M.rows.value)
|
|
75704
75713
|
for (const jt in De)
|
|
75705
|
-
jt in Ve.data || (Ve.data[jt] =
|
|
75714
|
+
jt in Ve.data || (Ve.data[jt] = Jr(De[jt]));
|
|
75706
75715
|
},
|
|
75707
75716
|
{ immediate: !0 }
|
|
75708
75717
|
), Ke(
|
|
75709
75718
|
[I, () => M.activeRow.value],
|
|
75710
75719
|
([De, Ve], [jt]) => {
|
|
75711
|
-
De && Ve ? (!jt && M.rows.value.length === 1 && Object.assign(Ve.data,
|
|
75720
|
+
De && Ve ? (!jt && M.rows.value.length === 1 && Object.assign(Ve.data, Jr(S.value)), S.value = Ve.data) : !De && jt && (S.value = Jr(S.value));
|
|
75712
75721
|
},
|
|
75713
75722
|
{ immediate: !0 }
|
|
75714
|
-
),
|
|
75723
|
+
), ea("bridge", {
|
|
75715
75724
|
handleUpload: (De) => r.bridge.handleUpload(I.value ? { ...De, context: { ...De.context, batch: !0 } } : De),
|
|
75716
75725
|
handleSocialShare: (De, Ve, jt, en) => r.bridge.handleSocialShare(De, Ve, jt, en)
|
|
75717
75726
|
});
|
|
@@ -75745,7 +75754,7 @@ const kme = ["data-preview"], zme = { class: "back-btn-wrapper" }, Eme = {
|
|
|
75745
75754
|
env: r.env
|
|
75746
75755
|
},
|
|
75747
75756
|
remoteVideoOptions: { remoteVideoRenderBaseUrl: r.remoteVideoRenderBaseUrl },
|
|
75748
|
-
consumeOutput:
|
|
75757
|
+
consumeOutput: oa,
|
|
75749
75758
|
signal: Ve.signal
|
|
75750
75759
|
},
|
|
75751
75760
|
(ee) => Ve.onProgress({ done: ee.done, total: ee.total, failed: ee.failed, current: ee.current })
|
|
@@ -76001,7 +76010,7 @@ const kme = ["data-preview"], zme = { class: "back-btn-wrapper" }, Eme = {
|
|
|
76001
76010
|
const Sr = oe(() => r == null ? void 0 : r.campaignId), Xa = oe(() => {
|
|
76002
76011
|
var De, Ve;
|
|
76003
76012
|
return ((De = r.captions) == null ? void 0 : De[r.templateId]) ?? ((Ve = p.value) == null ? void 0 : Ve.caption);
|
|
76004
|
-
}), { triggerExport: xi, preCacheLocalRender:
|
|
76013
|
+
}), { triggerExport: xi, preCacheLocalRender: ia, rendering: Ca, videoRenderingProgress: Ir, consumeOutputFor: oa } = a1e(
|
|
76005
76014
|
p,
|
|
76006
76015
|
S,
|
|
76007
76016
|
In(r, "exportOptions"),
|
|
@@ -76037,7 +76046,7 @@ const kme = ["data-preview"], zme = { class: "back-btn-wrapper" }, Eme = {
|
|
|
76037
76046
|
return Ke(
|
|
76038
76047
|
x,
|
|
76039
76048
|
(De) => {
|
|
76040
|
-
De &&
|
|
76049
|
+
De && ia();
|
|
76041
76050
|
},
|
|
76042
76051
|
{ immediate: !0 }
|
|
76043
76052
|
), t({
|
|
@@ -78777,7 +78786,7 @@ function Cve(e) {
|
|
|
78777
78786
|
function s(d) {
|
|
78778
78787
|
return u.value === d;
|
|
78779
78788
|
}
|
|
78780
|
-
|
|
78789
|
+
ea(cE, { register: a, unregister: i, isItemTabbable: s });
|
|
78781
78790
|
function c(d) {
|
|
78782
78791
|
var x;
|
|
78783
78792
|
const h = d.key === "ArrowRight" || d.key === "ArrowDown", l = d.key === "ArrowLeft" || d.key === "ArrowUp", p = d.key === "Home", m = d.key === "End";
|
|
@@ -78820,7 +78829,7 @@ const _ve = ["aria-label", "aria-labelledby", "aria-disabled"], kve = /* @__PURE
|
|
|
78820
78829
|
emits: ["update:modelValue"],
|
|
78821
78830
|
setup(e) {
|
|
78822
78831
|
const t = yn(e, "modelValue"), n = e, { onKeydown: r } = Cve({});
|
|
78823
|
-
return Rn(),
|
|
78832
|
+
return Rn(), ea("bxRadioGroupValue", t), ea("bxRadioGroupDisabled", In(n, "disabled")), ea("selectRadio", (i) => {
|
|
78824
78833
|
n.disabled || (t.value = i);
|
|
78825
78834
|
}), (i, o) => (F(), X("div", {
|
|
78826
78835
|
class: We(["bx-radio-group", {
|
|
@@ -79612,7 +79621,7 @@ function ibe(e, t) {
|
|
|
79612
79621
|
elevationMin: t ? 1.3 : n ? 1.18 : 1.06
|
|
79613
79622
|
};
|
|
79614
79623
|
}
|
|
79615
|
-
const cr = (e) => f5(e), Yr = (e) => fE(e),
|
|
79624
|
+
const cr = (e) => f5(e), Yr = (e) => fE(e), ua = (e, t) => f5(eo(e, t)), Sw = (e) => ({ r: Math.round(e.r), g: Math.round(e.g), b: Math.round(e.b), a: e.a });
|
|
79616
79625
|
function Xc(e, t, n, r, a = (i) => i) {
|
|
79617
79626
|
let i = n, o = Sw(a(L0(e, t, i))), u = 0;
|
|
79618
79627
|
for (; ir(o, e) < r && i < 1 && u++ < 40; )
|
|
@@ -79688,24 +79697,24 @@ function obe(e) {
|
|
|
79688
79697
|
scrim: "rgba(0, 0, 0, 0.5)",
|
|
79689
79698
|
ink: cr(m),
|
|
79690
79699
|
"ink-rgb": Yr(m),
|
|
79691
|
-
text:
|
|
79692
|
-
"text-muted":
|
|
79693
|
-
"text-faint":
|
|
79700
|
+
text: ua(m, T),
|
|
79701
|
+
"text-muted": ua(m, S),
|
|
79702
|
+
"text-faint": ua(m, L),
|
|
79694
79703
|
"text-inverse": cr(_),
|
|
79695
79704
|
"text-on-surface-rgb": Yr(m),
|
|
79696
79705
|
"text-on-inverse-rgb": Yr(_),
|
|
79697
|
-
border:
|
|
79698
|
-
"border-strong":
|
|
79699
|
-
divider:
|
|
79706
|
+
border: ua(m, c.border),
|
|
79707
|
+
"border-strong": ua(m, c.borderStrong),
|
|
79708
|
+
divider: ua(m, c.divider),
|
|
79700
79709
|
"border-rgb": Yr(m),
|
|
79701
|
-
fill:
|
|
79702
|
-
"fill-hover":
|
|
79703
|
-
"fill-active":
|
|
79704
|
-
field:
|
|
79705
|
-
"field-hover":
|
|
79706
|
-
"field-focus":
|
|
79707
|
-
hover:
|
|
79708
|
-
pressed:
|
|
79710
|
+
fill: ua(m, c.fill),
|
|
79711
|
+
"fill-hover": ua(m, c.fillHover),
|
|
79712
|
+
"fill-active": ua(m, c.fillActive),
|
|
79713
|
+
field: ua(m, c.field),
|
|
79714
|
+
"field-hover": ua(m, c.fieldHover),
|
|
79715
|
+
"field-focus": ua(m, c.fieldFocus),
|
|
79716
|
+
hover: ua(m, c.hover),
|
|
79717
|
+
pressed: ua(m, c.pressed),
|
|
79709
79718
|
primary: cr(i),
|
|
79710
79719
|
"primary-rgb": Yr(i),
|
|
79711
79720
|
"primary-hover": cr(D),
|
|
@@ -79713,8 +79722,8 @@ function obe(e) {
|
|
|
79713
79722
|
"on-primary": cr(E),
|
|
79714
79723
|
"primary-text": cr(f),
|
|
79715
79724
|
"primary-border": cr(N),
|
|
79716
|
-
"primary-soft":
|
|
79717
|
-
"primary-soft-hover":
|
|
79725
|
+
"primary-soft": ua(i, c.soft),
|
|
79726
|
+
"primary-soft-hover": ua(i, c.softHover),
|
|
79718
79727
|
"focus-ring": cr(Z),
|
|
79719
79728
|
"focus-ring-width": s ? "3px" : "2px",
|
|
79720
79729
|
"focus-ring-offset": "2px",
|
|
@@ -83008,7 +83017,7 @@ function U1(e) {
|
|
|
83008
83017
|
function Mbe(e, t, n, r) {
|
|
83009
83018
|
const a = se(t.value), i = se(t.value);
|
|
83010
83019
|
Ke(t, () => {
|
|
83011
|
-
|
|
83020
|
+
na(a.value, t.value) || (a.value = t.value, o.value = mr());
|
|
83012
83021
|
});
|
|
83013
83022
|
const o = se(mr()), u = Tbe(e), s = !0, c = (m) => {
|
|
83014
83023
|
if (e.value) {
|
|
@@ -83046,7 +83055,7 @@ function Mbe(e, t, n, r) {
|
|
|
83046
83055
|
}
|
|
83047
83056
|
const h = (m, b, y, w) => {
|
|
83048
83057
|
const C = b + y;
|
|
83049
|
-
return
|
|
83058
|
+
return Jr(
|
|
83050
83059
|
m.map((x, _) => {
|
|
83051
83060
|
const k = _ + m.slice(0, _).map(U1).reduce((S, L) => S + L, 0), A = U1(x), T = Pl(x, b - k, C - k).map(({ text: S }) => S).join("");
|
|
83052
83061
|
return k + A >= b && k < C ? [
|
|
@@ -83059,7 +83068,7 @@ function Mbe(e, t, n, r) {
|
|
|
83059
83068
|
const _ = [];
|
|
83060
83069
|
for (let k = 0; k < x.length; k++) {
|
|
83061
83070
|
const A = x[k], T = x[k - 1];
|
|
83062
|
-
T &&
|
|
83071
|
+
T && na(A.format, T.format) ? _[_.length - 1].text += A.text : _.push(A);
|
|
83063
83072
|
}
|
|
83064
83073
|
return _;
|
|
83065
83074
|
});
|
|
@@ -83212,7 +83221,7 @@ const Dbe = ["contenteditable", "data-ghost"], Rbe = ["data-paragraph"], Bbe = /
|
|
|
83212
83221
|
}
|
|
83213
83222
|
), b = (k) => {
|
|
83214
83223
|
r.multiline || k.key === "Enter" && k.preventDefault();
|
|
83215
|
-
}, y = oe(() =>
|
|
83224
|
+
}, y = oe(() => na(c.value, d.value) ? void 0 : "Text is too long");
|
|
83216
83225
|
ji(() => {
|
|
83217
83226
|
a("update:warning-message", y.value);
|
|
83218
83227
|
});
|
|
@@ -83232,9 +83241,9 @@ const Dbe = ["contenteditable", "data-ghost"], Rbe = ["data-paragraph"], Bbe = /
|
|
|
83232
83241
|
Ke(u, (k, A) => {
|
|
83233
83242
|
A && (A.removeEventListener("focus", C), A.removeEventListener("blur", x)), k && (k.addEventListener("focus", C), k.addEventListener("blur", x));
|
|
83234
83243
|
}), Ke(m, () => {
|
|
83235
|
-
|
|
83244
|
+
na(m.value, r.selection) || a("update:selection", m.value ?? void 0);
|
|
83236
83245
|
}), Ke(c, () => {
|
|
83237
|
-
|
|
83246
|
+
na(c.value, r.value) || a("update:value", c.value);
|
|
83238
83247
|
}), Ke(d, () => {
|
|
83239
83248
|
a("update:visible-value", d.value);
|
|
83240
83249
|
}), window.addEventListener("touchmove", (k) => {
|
|
@@ -83792,25 +83801,25 @@ const Qbe = { class: "viewer-header-tools" }, e3e = ["aria-pressed"], t3e = ["di
|
|
|
83792
83801
|
Je === nr && (Tt.value = !1);
|
|
83793
83802
|
}
|
|
83794
83803
|
}
|
|
83795
|
-
const
|
|
83804
|
+
const ia = se(typeof window < "u" && window.innerWidth >= 768), Ca = oe(() => ia.value && u.value === "page" && Qt.value > 1), Ir = /* @__PURE__ */ new Map(), oa = /* @__PURE__ */ new Set();
|
|
83796
83805
|
let De = Promise.resolve();
|
|
83797
83806
|
function Ve(je, Je) {
|
|
83798
83807
|
Je ? (Ir.set(je, Je), jt(je)) : Ir.delete(je);
|
|
83799
83808
|
}
|
|
83800
83809
|
function jt(je) {
|
|
83801
|
-
|
|
83810
|
+
oa.has(je) || !n.renderPage || (oa.add(je), De = De.then(async () => {
|
|
83802
83811
|
const Je = Ir.get(je);
|
|
83803
83812
|
if (!Je || Sr) return;
|
|
83804
83813
|
const $ = await Xa();
|
|
83805
83814
|
await n.renderPage($, Je, { page: je, dpi: 24 });
|
|
83806
83815
|
}).catch(() => {
|
|
83807
|
-
|
|
83816
|
+
oa.delete(je);
|
|
83808
83817
|
}));
|
|
83809
83818
|
}
|
|
83810
83819
|
Ke(
|
|
83811
83820
|
() => n.asset.id,
|
|
83812
83821
|
() => {
|
|
83813
|
-
|
|
83822
|
+
oa.clear(), Ir.clear();
|
|
83814
83823
|
}
|
|
83815
83824
|
);
|
|
83816
83825
|
function en(je) {
|
|
@@ -83848,11 +83857,11 @@ const Qbe = { class: "viewer-header-tools" }, e3e = ["aria-pressed"], t3e = ["di
|
|
|
83848
83857
|
W("div", Qbe, [
|
|
83849
83858
|
u.value === "page" && Qt.value > 1 ? (F(), X(Qe, { key: 0 }, [
|
|
83850
83859
|
W("button", {
|
|
83851
|
-
class: We(["tool-btn rail-toggle", { active:
|
|
83860
|
+
class: We(["tool-btn rail-toggle", { active: ia.value }]),
|
|
83852
83861
|
type: "button",
|
|
83853
|
-
"aria-pressed":
|
|
83862
|
+
"aria-pressed": ia.value,
|
|
83854
83863
|
"aria-label": "Toggle page thumbnails",
|
|
83855
|
-
onClick: Je[0] || (Je[0] = ($) =>
|
|
83864
|
+
onClick: Je[0] || (Je[0] = ($) => ia.value = !ia.value)
|
|
83856
83865
|
}, [...Je[13] || (Je[13] = [
|
|
83857
83866
|
W("svg", {
|
|
83858
83867
|
viewBox: "0 0 24 24",
|
|
@@ -84409,7 +84418,7 @@ export {
|
|
|
84409
84418
|
Gbe as aspectRatio,
|
|
84410
84419
|
qbe as aspectRatioStr,
|
|
84411
84420
|
Ybe as assetRequestHeaders,
|
|
84412
|
-
|
|
84421
|
+
Jr as cloneDeep,
|
|
84413
84422
|
r5e as collectPortalCategories,
|
|
84414
84423
|
Lte as convertDeprecatedField,
|
|
84415
84424
|
zfe as cropImage,
|