@opentrainticketing/netex-deckplan-editor 1.0.2 → 1.0.3
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/netex-deckplan-editor.es.js +542 -548
- package/dist/netex-deckplan-editor.umd.js +14 -14
- package/package.json +1 -1
- package/dist/app/App.vue.d.ts +0 -4
- package/dist/app/main.d.ts +0 -1
- package/dist/components/DeckVisualization.vue.d.ts +0 -46
- package/dist/components/DeckplanEditor.vue.d.ts +0 -8
- package/dist/components/ElementCatalog.vue.d.ts +0 -9
- package/dist/components/ObjectProperties.vue.d.ts +0 -19
- package/dist/components/WagonVisualization.vue.d.ts +0 -25
- package/dist/components/XmlViewer.vue.d.ts +0 -23
- package/dist/components/index.d.ts +0 -3
- package/dist/helpers/parser.d.ts +0 -2
- package/dist/index.d.ts +0 -8
- package/dist/netex-deckplan-editor-vue.es.js +0 -2575
- package/dist/netex-deckplan-editor.css +0 -1
- package/dist/types/netex/actualVehicleEquipment.d.ts +0 -28
- package/dist/types/netex/centroid.d.ts +0 -11
- package/dist/types/netex/deck.d.ts +0 -82
- package/dist/types/netex/deckEntranceCouple.d.ts +0 -25
- package/dist/types/netex/deckEntranceUsage.d.ts +0 -31
- package/dist/types/netex/deckLevel.d.ts +0 -27
- package/dist/types/netex/deckPlan.d.ts +0 -32
- package/dist/types/netex/deckSpaceCapacity.d.ts +0 -18
- package/dist/types/netex/equipment.d.ts +0 -12
- package/dist/types/netex/general.d.ts +0 -30
- package/dist/types/netex/luggageSpot.d.ts +0 -50
- package/dist/types/netex/otherDeckSpace.d.ts +0 -33
- package/dist/types/netex/passengerEntrance.d.ts +0 -114
- package/dist/types/netex/passengerSpace.d.ts +0 -109
- package/dist/types/netex/passengerSpot.d.ts +0 -107
- package/dist/types/netex/polygon.d.ts +0 -5
- package/dist/types/netex/serviceFacilitySet.d.ts +0 -12
- package/dist/types/netex/spotColumn.d.ts +0 -24
- package/dist/types/netex/spotRow.d.ts +0 -24
- package/dist/types/netex/stopAffinity.d.ts +0 -1
- package/dist/types/netex/validityCondition.d.ts +0 -27
- package/dist/types/view/seats.d.ts +0 -8
- package/dist/webcomponent/webcomponent.d.ts +0 -22
|
@@ -5,11 +5,11 @@ function Ge(e) {
|
|
|
5
5
|
return (i) => i in t;
|
|
6
6
|
}
|
|
7
7
|
const mt = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {}, $i = process.env.NODE_ENV !== "production" ? Object.freeze([]) : [], It = () => {
|
|
8
|
-
},
|
|
9
|
-
(e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), ws = (e) => e.startsWith("onUpdate:"), Ct = Object.assign,
|
|
8
|
+
}, ol = () => !1, Gn = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // uppercase letter
|
|
9
|
+
(e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), ws = (e) => e.startsWith("onUpdate:"), Ct = Object.assign, Zr = (e, t) => {
|
|
10
10
|
const i = e.indexOf(t);
|
|
11
11
|
i > -1 && e.splice(i, 1);
|
|
12
|
-
}, bh = Object.prototype.hasOwnProperty, lt = (e, t) => bh.call(e, t), Q = Array.isArray, _i = (e) => Bn(e) === "[object Map]", qi = (e) => Bn(e) === "[object Set]",
|
|
12
|
+
}, bh = Object.prototype.hasOwnProperty, lt = (e, t) => bh.call(e, t), Q = Array.isArray, _i = (e) => Bn(e) === "[object Map]", qi = (e) => Bn(e) === "[object Set]", Do = (e) => Bn(e) === "[object Date]", it = (e) => typeof e == "function", Nt = (e) => typeof e == "string", ke = (e) => typeof e == "symbol", ut = (e) => e !== null && typeof e == "object", to = (e) => (ut(e) || it(e)) && it(e.then) && it(e.catch), al = Object.prototype.toString, Bn = (e) => al.call(e), eo = (e) => Bn(e).slice(8, -1), $s = (e) => Bn(e) === "[object Object]", io = (e) => Nt(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, En = /* @__PURE__ */ Ge(
|
|
13
13
|
// the leading comma is intentional so empty string "" is also included
|
|
14
14
|
",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"
|
|
15
15
|
), yh = /* @__PURE__ */ Ge(
|
|
@@ -36,17 +36,17 @@ const mt = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {}, $i =
|
|
|
36
36
|
}, Us = (e) => {
|
|
37
37
|
const t = parseFloat(e);
|
|
38
38
|
return isNaN(t) ? e : t;
|
|
39
|
-
},
|
|
39
|
+
}, Vo = (e) => {
|
|
40
40
|
const t = Nt(e) ? Number(e) : NaN;
|
|
41
41
|
return isNaN(t) ? e : t;
|
|
42
42
|
};
|
|
43
|
-
let
|
|
44
|
-
const Hn = () =>
|
|
45
|
-
function
|
|
43
|
+
let Fo;
|
|
44
|
+
const Hn = () => Fo || (Fo = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
|
|
45
|
+
function no(e) {
|
|
46
46
|
if (Q(e)) {
|
|
47
47
|
const t = {};
|
|
48
48
|
for (let i = 0; i < e.length; i++) {
|
|
49
|
-
const n = e[i], s = Nt(n) ? Nh(n) :
|
|
49
|
+
const n = e[i], s = Nt(n) ? Nh(n) : no(n);
|
|
50
50
|
if (s)
|
|
51
51
|
for (const r in s)
|
|
52
52
|
t[r] = s[r];
|
|
@@ -80,7 +80,7 @@ function Ki(e) {
|
|
|
80
80
|
return t.trim();
|
|
81
81
|
}
|
|
82
82
|
const Th = "html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot", kh = "svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view", Oh = "annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics", Ph = /* @__PURE__ */ Ge(Th), Ah = /* @__PURE__ */ Ge(kh), Rh = /* @__PURE__ */ Ge(Oh), Mh = "itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly", Lh = /* @__PURE__ */ Ge(Mh);
|
|
83
|
-
function
|
|
83
|
+
function ll(e) {
|
|
84
84
|
return !!e || e === "";
|
|
85
85
|
}
|
|
86
86
|
function Ih(e, t) {
|
|
@@ -92,7 +92,7 @@ function Ih(e, t) {
|
|
|
92
92
|
}
|
|
93
93
|
function xi(e, t) {
|
|
94
94
|
if (e === t) return !0;
|
|
95
|
-
let i =
|
|
95
|
+
let i = Do(e), n = Do(t);
|
|
96
96
|
if (i || n)
|
|
97
97
|
return i && n ? e.getTime() === t.getTime() : !1;
|
|
98
98
|
if (i = ke(e), n = ke(t), i || n)
|
|
@@ -113,10 +113,10 @@ function xi(e, t) {
|
|
|
113
113
|
}
|
|
114
114
|
return String(e) === String(t);
|
|
115
115
|
}
|
|
116
|
-
function
|
|
116
|
+
function so(e, t) {
|
|
117
117
|
return e.findIndex((i) => xi(i, t));
|
|
118
118
|
}
|
|
119
|
-
const
|
|
119
|
+
const cl = (e) => !!(e && e.__v_isRef === !0), Ze = (e) => Nt(e) ? e : e == null ? "" : Q(e) || ut(e) && (e.toString === al || !it(e.toString)) ? cl(e) ? Ze(e.value) : JSON.stringify(e, hl, 2) : String(e), hl = (e, t) => cl(t) ? hl(e, t.value) : _i(t) ? {
|
|
120
120
|
[`Map(${t.size})`]: [...t.entries()].reduce(
|
|
121
121
|
(i, [n, s], r) => (i[rr(n, r) + " =>"] = s, i),
|
|
122
122
|
{}
|
|
@@ -219,7 +219,7 @@ function Vh() {
|
|
|
219
219
|
}
|
|
220
220
|
let gt;
|
|
221
221
|
const or = /* @__PURE__ */ new WeakSet();
|
|
222
|
-
class
|
|
222
|
+
class dl {
|
|
223
223
|
constructor(t) {
|
|
224
224
|
this.fn = t, this.deps = void 0, this.depsTail = void 0, this.flags = 5, this.next = void 0, this.cleanup = void 0, this.scheduler = void 0, Yt && Yt.active && Yt.effects.push(this);
|
|
225
225
|
}
|
|
@@ -233,12 +233,12 @@ class ul {
|
|
|
233
233
|
* @internal
|
|
234
234
|
*/
|
|
235
235
|
notify() {
|
|
236
|
-
this.flags & 2 && !(this.flags & 32) || this.flags & 8 ||
|
|
236
|
+
this.flags & 2 && !(this.flags & 32) || this.flags & 8 || fl(this);
|
|
237
237
|
}
|
|
238
238
|
run() {
|
|
239
239
|
if (!(this.flags & 1))
|
|
240
240
|
return this.fn();
|
|
241
|
-
this.flags |= 2,
|
|
241
|
+
this.flags |= 2, Go(this), pl(this);
|
|
242
242
|
const t = gt, i = de;
|
|
243
243
|
gt = this, de = !0;
|
|
244
244
|
try {
|
|
@@ -246,14 +246,14 @@ class ul {
|
|
|
246
246
|
} finally {
|
|
247
247
|
process.env.NODE_ENV !== "production" && gt !== this && ue(
|
|
248
248
|
"Active effect was not restored correctly - this is likely a Vue internal bug."
|
|
249
|
-
),
|
|
249
|
+
), gl(this), gt = t, de = i, this.flags &= -3;
|
|
250
250
|
}
|
|
251
251
|
}
|
|
252
252
|
stop() {
|
|
253
253
|
if (this.flags & 1) {
|
|
254
254
|
for (let t = this.deps; t; t = t.nextDep)
|
|
255
|
-
|
|
256
|
-
this.deps = this.depsTail = void 0,
|
|
255
|
+
ao(t);
|
|
256
|
+
this.deps = this.depsTail = void 0, Go(this), this.onStop && this.onStop(), this.flags &= -2;
|
|
257
257
|
}
|
|
258
258
|
}
|
|
259
259
|
trigger() {
|
|
@@ -269,19 +269,19 @@ class ul {
|
|
|
269
269
|
return Cr(this);
|
|
270
270
|
}
|
|
271
271
|
}
|
|
272
|
-
let
|
|
273
|
-
function
|
|
272
|
+
let ul = 0, Sn, wn;
|
|
273
|
+
function fl(e, t = !1) {
|
|
274
274
|
if (e.flags |= 8, t) {
|
|
275
275
|
e.next = wn, wn = e;
|
|
276
276
|
return;
|
|
277
277
|
}
|
|
278
278
|
e.next = Sn, Sn = e;
|
|
279
279
|
}
|
|
280
|
-
function
|
|
281
|
-
|
|
280
|
+
function ro() {
|
|
281
|
+
ul++;
|
|
282
282
|
}
|
|
283
|
-
function
|
|
284
|
-
if (--
|
|
283
|
+
function oo() {
|
|
284
|
+
if (--ul > 0)
|
|
285
285
|
return;
|
|
286
286
|
if (wn) {
|
|
287
287
|
let t = wn;
|
|
@@ -306,46 +306,46 @@ function ao() {
|
|
|
306
306
|
}
|
|
307
307
|
if (e) throw e;
|
|
308
308
|
}
|
|
309
|
-
function
|
|
309
|
+
function pl(e) {
|
|
310
310
|
for (let t = e.deps; t; t = t.nextDep)
|
|
311
311
|
t.version = -1, t.prevActiveLink = t.dep.activeLink, t.dep.activeLink = t;
|
|
312
312
|
}
|
|
313
|
-
function
|
|
313
|
+
function gl(e) {
|
|
314
314
|
let t, i = e.depsTail, n = i;
|
|
315
315
|
for (; n; ) {
|
|
316
316
|
const s = n.prevDep;
|
|
317
|
-
n.version === -1 ? (n === i && (i = s),
|
|
317
|
+
n.version === -1 ? (n === i && (i = s), ao(n), Fh(n)) : t = n, n.dep.activeLink = n.prevActiveLink, n.prevActiveLink = void 0, n = s;
|
|
318
318
|
}
|
|
319
319
|
e.deps = t, e.depsTail = i;
|
|
320
320
|
}
|
|
321
321
|
function Cr(e) {
|
|
322
322
|
for (let t = e.deps; t; t = t.nextDep)
|
|
323
|
-
if (t.dep.version !== t.version || t.dep.computed && (
|
|
323
|
+
if (t.dep.version !== t.version || t.dep.computed && (ml(t.dep.computed) || t.dep.version !== t.version))
|
|
324
324
|
return !0;
|
|
325
325
|
return !!e._dirty;
|
|
326
326
|
}
|
|
327
|
-
function
|
|
327
|
+
function ml(e) {
|
|
328
328
|
if (e.flags & 4 && !(e.flags & 16) || (e.flags &= -17, e.globalVersion === Rn) || (e.globalVersion = Rn, !e.isSSR && e.flags & 128 && (!e.deps && !e._dirty || !Cr(e))))
|
|
329
329
|
return;
|
|
330
330
|
e.flags |= 2;
|
|
331
331
|
const t = e.dep, i = gt, n = de;
|
|
332
332
|
gt = e, de = !0;
|
|
333
333
|
try {
|
|
334
|
-
|
|
334
|
+
pl(e);
|
|
335
335
|
const s = e.fn(e._value);
|
|
336
336
|
(t.version === 0 || Qe(s, e._value)) && (e.flags |= 128, e._value = s, t.version++);
|
|
337
337
|
} catch (s) {
|
|
338
338
|
throw t.version++, s;
|
|
339
339
|
} finally {
|
|
340
|
-
gt = i, de = n,
|
|
340
|
+
gt = i, de = n, gl(e), e.flags &= -3;
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
|
-
function
|
|
343
|
+
function ao(e, t = !1) {
|
|
344
344
|
const { dep: i, prevSub: n, nextSub: s } = e;
|
|
345
345
|
if (n && (n.nextSub = s, e.prevSub = void 0), s && (s.prevSub = n, e.nextSub = void 0), process.env.NODE_ENV !== "production" && i.subsHead === e && (i.subsHead = s), i.subs === e && (i.subs = n, !n && i.computed)) {
|
|
346
346
|
i.computed.flags &= -5;
|
|
347
347
|
for (let r = i.computed.deps; r; r = r.nextDep)
|
|
348
|
-
|
|
348
|
+
ao(r, !0);
|
|
349
349
|
}
|
|
350
350
|
!t && !--i.sc && i.map && i.map.delete(i.key);
|
|
351
351
|
}
|
|
@@ -354,15 +354,15 @@ function Fh(e) {
|
|
|
354
354
|
t && (t.nextDep = i, e.prevDep = void 0), i && (i.prevDep = t, e.nextDep = void 0);
|
|
355
355
|
}
|
|
356
356
|
let de = !0;
|
|
357
|
-
const
|
|
357
|
+
const _l = [];
|
|
358
358
|
function fe() {
|
|
359
|
-
|
|
359
|
+
_l.push(de), de = !1;
|
|
360
360
|
}
|
|
361
361
|
function pe() {
|
|
362
|
-
const e =
|
|
362
|
+
const e = _l.pop();
|
|
363
363
|
de = e === void 0 ? !0 : e;
|
|
364
364
|
}
|
|
365
|
-
function
|
|
365
|
+
function Go(e) {
|
|
366
366
|
const { cleanup: t } = e;
|
|
367
367
|
if (e.cleanup = void 0, t) {
|
|
368
368
|
const i = gt;
|
|
@@ -380,7 +380,7 @@ class Gh {
|
|
|
380
380
|
this.sub = t, this.dep = i, this.version = i.version, this.nextDep = this.prevDep = this.nextSub = this.prevSub = this.prevActiveLink = void 0;
|
|
381
381
|
}
|
|
382
382
|
}
|
|
383
|
-
class
|
|
383
|
+
class lo {
|
|
384
384
|
// TODO isolatedDeclarations "__v_skip"
|
|
385
385
|
constructor(t) {
|
|
386
386
|
this.computed = t, this.version = 0, this.activeLink = void 0, this.subs = void 0, this.map = void 0, this.key = void 0, this.sc = 0, this.__v_skip = !0, process.env.NODE_ENV !== "production" && (this.subsHead = void 0);
|
|
@@ -390,7 +390,7 @@ class co {
|
|
|
390
390
|
return;
|
|
391
391
|
let i = this.activeLink;
|
|
392
392
|
if (i === void 0 || i.sub !== gt)
|
|
393
|
-
i = this.activeLink = new Gh(gt, this), gt.deps ? (i.prevDep = gt.depsTail, gt.depsTail.nextDep = i, gt.depsTail = i) : gt.deps = gt.depsTail = i,
|
|
393
|
+
i = this.activeLink = new Gh(gt, this), gt.deps ? (i.prevDep = gt.depsTail, gt.depsTail.nextDep = i, gt.depsTail = i) : gt.deps = gt.depsTail = i, vl(i);
|
|
394
394
|
else if (i.version === -1 && (i.version = this.version, i.nextDep)) {
|
|
395
395
|
const n = i.nextDep;
|
|
396
396
|
n.prevDep = i.prevDep, i.prevDep && (i.prevDep.nextDep = n), i.prevDep = gt.depsTail, i.nextDep = void 0, gt.depsTail.nextDep = i, gt.depsTail = i, gt.deps === i && (gt.deps = n);
|
|
@@ -408,7 +408,7 @@ class co {
|
|
|
408
408
|
this.version++, Rn++, this.notify(t);
|
|
409
409
|
}
|
|
410
410
|
notify(t) {
|
|
411
|
-
|
|
411
|
+
ro();
|
|
412
412
|
try {
|
|
413
413
|
if (process.env.NODE_ENV !== "production")
|
|
414
414
|
for (let i = this.subsHead; i; i = i.nextSub)
|
|
@@ -423,17 +423,17 @@ class co {
|
|
|
423
423
|
for (let i = this.subs; i; i = i.prevSub)
|
|
424
424
|
i.sub.notify() && i.sub.dep.notify();
|
|
425
425
|
} finally {
|
|
426
|
-
|
|
426
|
+
oo();
|
|
427
427
|
}
|
|
428
428
|
}
|
|
429
429
|
}
|
|
430
|
-
function
|
|
430
|
+
function vl(e) {
|
|
431
431
|
if (e.dep.sc++, e.sub.flags & 4) {
|
|
432
432
|
const t = e.dep.computed;
|
|
433
433
|
if (t && !e.dep.subs) {
|
|
434
434
|
t.flags |= 20;
|
|
435
435
|
for (let n = t.deps; n; n = n.nextDep)
|
|
436
|
-
|
|
436
|
+
vl(n);
|
|
437
437
|
}
|
|
438
438
|
const i = e.dep.subs;
|
|
439
439
|
i !== e && (e.prevSub = i, i && (i.nextSub = e)), process.env.NODE_ENV !== "production" && e.dep.subsHead === void 0 && (e.dep.subsHead = e), e.dep.subs = e;
|
|
@@ -451,7 +451,7 @@ function Lt(e, t, i) {
|
|
|
451
451
|
let n = Nr.get(e);
|
|
452
452
|
n || Nr.set(e, n = /* @__PURE__ */ new Map());
|
|
453
453
|
let s = n.get(i);
|
|
454
|
-
s || (n.set(i, s = new
|
|
454
|
+
s || (n.set(i, s = new lo()), s.map = n, s.key = i), process.env.NODE_ENV !== "production" ? s.track({
|
|
455
455
|
target: e,
|
|
456
456
|
type: t,
|
|
457
457
|
key: i
|
|
@@ -474,10 +474,10 @@ function xe(e, t, i, n, s, r) {
|
|
|
474
474
|
oldTarget: r
|
|
475
475
|
}) : l.trigger());
|
|
476
476
|
};
|
|
477
|
-
if (
|
|
477
|
+
if (ro(), t === "clear")
|
|
478
478
|
o.forEach(a);
|
|
479
479
|
else {
|
|
480
|
-
const l = Q(e), c = l &&
|
|
480
|
+
const l = Q(e), c = l && io(i);
|
|
481
481
|
if (l && i === "length") {
|
|
482
482
|
const h = Number(n);
|
|
483
483
|
o.forEach((d, u) => {
|
|
@@ -496,7 +496,7 @@ function xe(e, t, i, n, s, r) {
|
|
|
496
496
|
break;
|
|
497
497
|
}
|
|
498
498
|
}
|
|
499
|
-
|
|
499
|
+
oo();
|
|
500
500
|
}
|
|
501
501
|
function Mi(e) {
|
|
502
502
|
const t = rt(e);
|
|
@@ -587,10 +587,10 @@ const Bh = {
|
|
|
587
587
|
return en(this, "push", e);
|
|
588
588
|
},
|
|
589
589
|
reduce(e, ...t) {
|
|
590
|
-
return
|
|
590
|
+
return Bo(this, "reduce", e, t);
|
|
591
591
|
},
|
|
592
592
|
reduceRight(e, ...t) {
|
|
593
|
-
return
|
|
593
|
+
return Bo(this, "reduceRight", e, t);
|
|
594
594
|
},
|
|
595
595
|
shift() {
|
|
596
596
|
return en(this, "shift");
|
|
@@ -641,7 +641,7 @@ function Ae(e, t, i, n, s, r) {
|
|
|
641
641
|
const h = l.call(o, c, n);
|
|
642
642
|
return a && s ? s(h) : h;
|
|
643
643
|
}
|
|
644
|
-
function
|
|
644
|
+
function Bo(e, t, i, n) {
|
|
645
645
|
const s = js(e);
|
|
646
646
|
let r = i;
|
|
647
647
|
return s !== e && (Ut(e) ? i.length > 3 && (r = function(o, a, l) {
|
|
@@ -657,11 +657,11 @@ function lr(e, t, i) {
|
|
|
657
657
|
return (s === -1 || s === !1) && Cs(i[0]) ? (i[0] = rt(i[0]), n[t](...i)) : s;
|
|
658
658
|
}
|
|
659
659
|
function en(e, t, i = []) {
|
|
660
|
-
fe(),
|
|
660
|
+
fe(), ro();
|
|
661
661
|
const n = rt(e)[t].apply(e, i);
|
|
662
|
-
return
|
|
662
|
+
return oo(), pe(), n;
|
|
663
663
|
}
|
|
664
|
-
const $h = /* @__PURE__ */ Ge("__proto__,__v_isRef,__isVue"),
|
|
664
|
+
const $h = /* @__PURE__ */ Ge("__proto__,__v_isRef,__isVue"), bl = new Set(
|
|
665
665
|
/* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(ke)
|
|
666
666
|
);
|
|
667
667
|
function Wh(e) {
|
|
@@ -669,7 +669,7 @@ function Wh(e) {
|
|
|
669
669
|
const t = rt(this);
|
|
670
670
|
return Lt(t, "has", e), t.hasOwnProperty(e);
|
|
671
671
|
}
|
|
672
|
-
class
|
|
672
|
+
class yl {
|
|
673
673
|
constructor(t = !1, i = !1) {
|
|
674
674
|
this._isReadonly = t, this._isShallow = i;
|
|
675
675
|
}
|
|
@@ -683,7 +683,7 @@ class El {
|
|
|
683
683
|
if (i === "__v_isShallow")
|
|
684
684
|
return r;
|
|
685
685
|
if (i === "__v_raw")
|
|
686
|
-
return n === (s ? r ?
|
|
686
|
+
return n === (s ? r ? Nl : Cl : r ? xl : wl).get(t) || // receiver is not the reactive proxy, but has the same prototype
|
|
687
687
|
// this means the receiver is a user proxy of the reactive proxy
|
|
688
688
|
Object.getPrototypeOf(t) === Object.getPrototypeOf(n) ? t : void 0;
|
|
689
689
|
const o = Q(t);
|
|
@@ -702,22 +702,22 @@ class El {
|
|
|
702
702
|
// its class methods
|
|
703
703
|
Mt(t) ? t : n
|
|
704
704
|
);
|
|
705
|
-
if ((ke(i) ?
|
|
705
|
+
if ((ke(i) ? bl.has(i) : $h(i)) || (s || Lt(t, "get", i), r))
|
|
706
706
|
return a;
|
|
707
707
|
if (Mt(a)) {
|
|
708
|
-
const l = o &&
|
|
708
|
+
const l = o && io(i) ? a : a.value;
|
|
709
709
|
return s && ut(l) ? Or(l) : l;
|
|
710
710
|
}
|
|
711
711
|
return ut(a) ? s ? Or(a) : $n(a) : a;
|
|
712
712
|
}
|
|
713
713
|
}
|
|
714
|
-
class
|
|
714
|
+
class El extends yl {
|
|
715
715
|
constructor(t = !1) {
|
|
716
716
|
super(!1, t);
|
|
717
717
|
}
|
|
718
718
|
set(t, i, n, s) {
|
|
719
719
|
let r = t[i];
|
|
720
|
-
const o = Q(t) &&
|
|
720
|
+
const o = Q(t) && io(i);
|
|
721
721
|
if (!this._isShallow) {
|
|
722
722
|
const c = ge(r);
|
|
723
723
|
if (!Ut(n) && !ge(n) && (r = rt(r), n = rt(n)), !o && Mt(r) && !Mt(n))
|
|
@@ -740,7 +740,7 @@ class Sl extends El {
|
|
|
740
740
|
}
|
|
741
741
|
has(t, i) {
|
|
742
742
|
const n = Reflect.has(t, i);
|
|
743
|
-
return (!ke(i) || !
|
|
743
|
+
return (!ke(i) || !bl.has(i)) && Lt(t, "has", i), n;
|
|
744
744
|
}
|
|
745
745
|
ownKeys(t) {
|
|
746
746
|
return Lt(
|
|
@@ -750,7 +750,7 @@ class Sl extends El {
|
|
|
750
750
|
), Reflect.ownKeys(t);
|
|
751
751
|
}
|
|
752
752
|
}
|
|
753
|
-
class
|
|
753
|
+
class Sl extends yl {
|
|
754
754
|
constructor(t = !1) {
|
|
755
755
|
super(!0, t);
|
|
756
756
|
}
|
|
@@ -767,7 +767,7 @@ class wl extends El {
|
|
|
767
767
|
), !0;
|
|
768
768
|
}
|
|
769
769
|
}
|
|
770
|
-
const Uh = /* @__PURE__ */ new
|
|
770
|
+
const Uh = /* @__PURE__ */ new El(), jh = /* @__PURE__ */ new Sl(), Xh = /* @__PURE__ */ new El(!0), zh = /* @__PURE__ */ new Sl(!0), kr = (e) => e, Jn = (e) => Reflect.getPrototypeOf(e);
|
|
771
771
|
function Yh(e, t, i) {
|
|
772
772
|
return function(...n) {
|
|
773
773
|
const s = this.__v_raw, r = rt(s), o = _i(r), a = e === "entries" || e === Symbol.iterator && o, l = e === "keys" && o, c = s[e](...n), h = i ? kr : t ? ji : me;
|
|
@@ -845,14 +845,14 @@ function qh(e, t) {
|
|
|
845
845
|
!t && !Ut(r) && !ge(r) && (r = rt(r));
|
|
846
846
|
const o = rt(this), { has: a, get: l } = Jn(o);
|
|
847
847
|
let c = a.call(o, s);
|
|
848
|
-
c ? process.env.NODE_ENV !== "production" &&
|
|
848
|
+
c ? process.env.NODE_ENV !== "production" && Ho(o, a, s) : (s = rt(s), c = a.call(o, s));
|
|
849
849
|
const h = l.call(o, s);
|
|
850
850
|
return o.set(s, r), c ? Qe(r, h) && xe(o, "set", s, r, h) : xe(o, "add", s, r), this;
|
|
851
851
|
},
|
|
852
852
|
delete(s) {
|
|
853
853
|
const r = rt(this), { has: o, get: a } = Jn(r);
|
|
854
854
|
let l = o.call(r, s);
|
|
855
|
-
l ? process.env.NODE_ENV !== "production" &&
|
|
855
|
+
l ? process.env.NODE_ENV !== "production" && Ho(r, o, s) : (s = rt(s), l = o.call(r, s));
|
|
856
856
|
const c = a ? a.call(r, s) : void 0, h = r.delete(s);
|
|
857
857
|
return l && xe(r, "delete", s, void 0, c), h;
|
|
858
858
|
},
|
|
@@ -893,16 +893,16 @@ const Kh = {
|
|
|
893
893
|
}, Zh = {
|
|
894
894
|
get: /* @__PURE__ */ Xs(!0, !0)
|
|
895
895
|
};
|
|
896
|
-
function
|
|
896
|
+
function Ho(e, t, i) {
|
|
897
897
|
const n = rt(i);
|
|
898
898
|
if (n !== i && t.call(e, n)) {
|
|
899
|
-
const s =
|
|
899
|
+
const s = eo(e);
|
|
900
900
|
ue(
|
|
901
901
|
`Reactive ${s} contains both the raw and reactive versions of the same object${s === "Map" ? " as keys" : ""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`
|
|
902
902
|
);
|
|
903
903
|
}
|
|
904
904
|
}
|
|
905
|
-
const
|
|
905
|
+
const wl = /* @__PURE__ */ new WeakMap(), xl = /* @__PURE__ */ new WeakMap(), Cl = /* @__PURE__ */ new WeakMap(), Nl = /* @__PURE__ */ new WeakMap();
|
|
906
906
|
function td(e) {
|
|
907
907
|
switch (e) {
|
|
908
908
|
case "Object":
|
|
@@ -918,7 +918,7 @@ function td(e) {
|
|
|
918
918
|
}
|
|
919
919
|
}
|
|
920
920
|
function ed(e) {
|
|
921
|
-
return e.__v_skip || !Object.isExtensible(e) ? 0 : td(
|
|
921
|
+
return e.__v_skip || !Object.isExtensible(e) ? 0 : td(eo(e));
|
|
922
922
|
}
|
|
923
923
|
function $n(e) {
|
|
924
924
|
return ge(e) ? e : zs(
|
|
@@ -926,7 +926,7 @@ function $n(e) {
|
|
|
926
926
|
!1,
|
|
927
927
|
Uh,
|
|
928
928
|
Kh,
|
|
929
|
-
|
|
929
|
+
wl
|
|
930
930
|
);
|
|
931
931
|
}
|
|
932
932
|
function id(e) {
|
|
@@ -935,7 +935,7 @@ function id(e) {
|
|
|
935
935
|
!1,
|
|
936
936
|
Xh,
|
|
937
937
|
Jh,
|
|
938
|
-
|
|
938
|
+
xl
|
|
939
939
|
);
|
|
940
940
|
}
|
|
941
941
|
function Or(e) {
|
|
@@ -944,7 +944,7 @@ function Or(e) {
|
|
|
944
944
|
!0,
|
|
945
945
|
jh,
|
|
946
946
|
Qh,
|
|
947
|
-
|
|
947
|
+
Cl
|
|
948
948
|
);
|
|
949
949
|
}
|
|
950
950
|
function Ce(e) {
|
|
@@ -953,7 +953,7 @@ function Ce(e) {
|
|
|
953
953
|
!0,
|
|
954
954
|
zh,
|
|
955
955
|
Zh,
|
|
956
|
-
|
|
956
|
+
Nl
|
|
957
957
|
);
|
|
958
958
|
}
|
|
959
959
|
function zs(e, t, i, n, s) {
|
|
@@ -1008,7 +1008,7 @@ function sd(e, t) {
|
|
|
1008
1008
|
}
|
|
1009
1009
|
class rd {
|
|
1010
1010
|
constructor(t, i) {
|
|
1011
|
-
this.dep = new
|
|
1011
|
+
this.dep = new lo(), this.__v_isRef = !0, this.__v_isShallow = !1, this._rawValue = i ? t : rt(t), this._value = i ? t : me(t), this.__v_isShallow = i;
|
|
1012
1012
|
}
|
|
1013
1013
|
get value() {
|
|
1014
1014
|
return process.env.NODE_ENV !== "production" ? this.dep.track({
|
|
@@ -1028,22 +1028,22 @@ class rd {
|
|
|
1028
1028
|
}) : this.dep.trigger());
|
|
1029
1029
|
}
|
|
1030
1030
|
}
|
|
1031
|
-
function
|
|
1031
|
+
function Tl(e) {
|
|
1032
1032
|
return Mt(e) ? e.value : e;
|
|
1033
1033
|
}
|
|
1034
1034
|
const od = {
|
|
1035
|
-
get: (e, t, i) => t === "__v_raw" ? e :
|
|
1035
|
+
get: (e, t, i) => t === "__v_raw" ? e : Tl(Reflect.get(e, t, i)),
|
|
1036
1036
|
set: (e, t, i, n) => {
|
|
1037
1037
|
const s = e[t];
|
|
1038
1038
|
return Mt(s) && !Mt(i) ? (s.value = i, !0) : Reflect.set(e, t, i, n);
|
|
1039
1039
|
}
|
|
1040
1040
|
};
|
|
1041
|
-
function
|
|
1041
|
+
function kl(e) {
|
|
1042
1042
|
return ti(e) ? e : new Proxy(e, od);
|
|
1043
1043
|
}
|
|
1044
1044
|
class ad {
|
|
1045
1045
|
constructor(t, i, n) {
|
|
1046
|
-
this.fn = t, this.setter = i, this._value = void 0, this.dep = new
|
|
1046
|
+
this.fn = t, this.setter = i, this._value = void 0, this.dep = new lo(this), this.__v_isRef = !0, this.deps = void 0, this.depsTail = void 0, this.flags = 16, this.globalVersion = Rn - 1, this.next = void 0, this.effect = this, this.__v_isReadonly = !i, this.isSSR = n;
|
|
1047
1047
|
}
|
|
1048
1048
|
/**
|
|
1049
1049
|
* @internal
|
|
@@ -1051,7 +1051,7 @@ class ad {
|
|
|
1051
1051
|
notify() {
|
|
1052
1052
|
if (this.flags |= 16, !(this.flags & 8) && // avoid infinite self recursion
|
|
1053
1053
|
gt !== this)
|
|
1054
|
-
return
|
|
1054
|
+
return fl(this, !0), !0;
|
|
1055
1055
|
process.env.NODE_ENV;
|
|
1056
1056
|
}
|
|
1057
1057
|
get value() {
|
|
@@ -1060,7 +1060,7 @@ class ad {
|
|
|
1060
1060
|
type: "get",
|
|
1061
1061
|
key: "value"
|
|
1062
1062
|
}) : this.dep.track();
|
|
1063
|
-
return
|
|
1063
|
+
return ml(this), t && (t.version = this.dep.version), this._value;
|
|
1064
1064
|
}
|
|
1065
1065
|
set value(t) {
|
|
1066
1066
|
this.setter ? this.setter(t) : process.env.NODE_ENV !== "production" && ue("Write operation failed: computed value is readonly");
|
|
@@ -1120,7 +1120,7 @@ function hd(e, t, i = mt) {
|
|
|
1120
1120
|
u = () => De(T(), O);
|
|
1121
1121
|
}
|
|
1122
1122
|
const S = Vh(), y = () => {
|
|
1123
|
-
d.stop(), S && S.active &&
|
|
1123
|
+
d.stop(), S && S.active && Zr(S.effects, d);
|
|
1124
1124
|
};
|
|
1125
1125
|
if (r && t) {
|
|
1126
1126
|
const T = t;
|
|
@@ -1155,7 +1155,7 @@ function hd(e, t, i = mt) {
|
|
|
1155
1155
|
} else
|
|
1156
1156
|
d.run();
|
|
1157
1157
|
};
|
|
1158
|
-
return a && a(N), d = new
|
|
1158
|
+
return a && a(N), d = new dl(u), d.scheduler = o ? () => o(N, !1) : N, p = (T) => cd(T, !1, d), f = d.onStop = () => {
|
|
1159
1159
|
const T = Ns.get(d);
|
|
1160
1160
|
if (T) {
|
|
1161
1161
|
if (l)
|
|
@@ -1258,13 +1258,13 @@ function fd({ vnode: e, recurseCount: t }) {
|
|
|
1258
1258
|
function pd(e) {
|
|
1259
1259
|
const t = [], i = Object.keys(e);
|
|
1260
1260
|
return i.slice(0, 3).forEach((n) => {
|
|
1261
|
-
t.push(...
|
|
1261
|
+
t.push(...Ol(n, e[n]));
|
|
1262
1262
|
}), i.length > 3 && t.push(" ..."), t;
|
|
1263
1263
|
}
|
|
1264
|
-
function
|
|
1265
|
-
return Nt(t) ? (t = JSON.stringify(t), i ? t : [`${e}=${t}`]) : typeof t == "number" || typeof t == "boolean" || t == null ? i ? t : [`${e}=${t}`] : Mt(t) ? (t =
|
|
1264
|
+
function Ol(e, t, i) {
|
|
1265
|
+
return Nt(t) ? (t = JSON.stringify(t), i ? t : [`${e}=${t}`]) : typeof t == "number" || typeof t == "boolean" || t == null ? i ? t : [`${e}=${t}`] : Mt(t) ? (t = Ol(e, rt(t.value), !0), i ? t : [`${e}=Ref<`, t, ">"]) : it(t) ? [`${e}=fn${t.name ? `<${t.name}>` : ""}`] : (t = rt(t), i ? t : [`${e}=`, t]);
|
|
1266
1266
|
}
|
|
1267
|
-
const
|
|
1267
|
+
const co = {
|
|
1268
1268
|
sp: "serverPrefetch hook",
|
|
1269
1269
|
bc: "beforeCreate hook",
|
|
1270
1270
|
c: "created hook",
|
|
@@ -1307,7 +1307,7 @@ function Ji(e, t, i, n) {
|
|
|
1307
1307
|
function Oe(e, t, i, n) {
|
|
1308
1308
|
if (it(e)) {
|
|
1309
1309
|
const s = Ji(e, t, i, n);
|
|
1310
|
-
return s &&
|
|
1310
|
+
return s && to(s) && s.catch((r) => {
|
|
1311
1311
|
Wn(r, t, i);
|
|
1312
1312
|
}), s;
|
|
1313
1313
|
}
|
|
@@ -1324,7 +1324,7 @@ function Wn(e, t, i, n = !0) {
|
|
|
1324
1324
|
const s = t ? t.vnode : null, { errorHandler: r, throwUnhandledErrorInProduction: o } = t && t.appContext.config || mt;
|
|
1325
1325
|
if (t) {
|
|
1326
1326
|
let a = t.parent;
|
|
1327
|
-
const l = t.proxy, c = process.env.NODE_ENV !== "production" ?
|
|
1327
|
+
const l = t.proxy, c = process.env.NODE_ENV !== "production" ? co[i] : `https://vuejs.org/error-reference/#runtime-${i}`;
|
|
1328
1328
|
for (; a; ) {
|
|
1329
1329
|
const h = a.ec;
|
|
1330
1330
|
if (h) {
|
|
@@ -1347,7 +1347,7 @@ function Wn(e, t, i, n = !0) {
|
|
|
1347
1347
|
}
|
|
1348
1348
|
function gd(e, t, i, n = !0, s = !1) {
|
|
1349
1349
|
if (process.env.NODE_ENV !== "production") {
|
|
1350
|
-
const r =
|
|
1350
|
+
const r = co[t];
|
|
1351
1351
|
if (i && us(i), U(`Unhandled error${r ? ` during execution of ${r}` : ""}`), i && fs(), n)
|
|
1352
1352
|
throw e;
|
|
1353
1353
|
console.error(e);
|
|
@@ -1361,11 +1361,11 @@ const Wt = [];
|
|
|
1361
1361
|
let Se = -1;
|
|
1362
1362
|
const Wi = [];
|
|
1363
1363
|
let Ye = null, Bi = 0;
|
|
1364
|
-
const
|
|
1364
|
+
const Pl = /* @__PURE__ */ Promise.resolve();
|
|
1365
1365
|
let Ts = null;
|
|
1366
1366
|
const md = 100;
|
|
1367
1367
|
function Ys(e) {
|
|
1368
|
-
const t = Ts ||
|
|
1368
|
+
const t = Ts || Pl;
|
|
1369
1369
|
return e ? t.then(this ? e.bind(this) : e) : t;
|
|
1370
1370
|
}
|
|
1371
1371
|
function _d(e) {
|
|
@@ -1380,26 +1380,26 @@ function qs(e) {
|
|
|
1380
1380
|
if (!(e.flags & 1)) {
|
|
1381
1381
|
const t = Ln(e), i = Wt[Wt.length - 1];
|
|
1382
1382
|
!i || // fast path when the job id is larger than the tail
|
|
1383
|
-
!(e.flags & 2) && t >= Ln(i) ? Wt.push(e) : Wt.splice(_d(t), 0, e), e.flags |= 1,
|
|
1383
|
+
!(e.flags & 2) && t >= Ln(i) ? Wt.push(e) : Wt.splice(_d(t), 0, e), e.flags |= 1, Al();
|
|
1384
1384
|
}
|
|
1385
1385
|
}
|
|
1386
|
-
function
|
|
1387
|
-
Ts || (Ts =
|
|
1386
|
+
function Al() {
|
|
1387
|
+
Ts || (Ts = Pl.then(Ll));
|
|
1388
1388
|
}
|
|
1389
|
-
function
|
|
1390
|
-
Q(e) ? Wi.push(...e) : Ye && e.id === -1 ? Ye.splice(Bi + 1, 0, e) : e.flags & 1 || (Wi.push(e), e.flags |= 1),
|
|
1389
|
+
function Rl(e) {
|
|
1390
|
+
Q(e) ? Wi.push(...e) : Ye && e.id === -1 ? Ye.splice(Bi + 1, 0, e) : e.flags & 1 || (Wi.push(e), e.flags |= 1), Al();
|
|
1391
1391
|
}
|
|
1392
|
-
function
|
|
1392
|
+
function $o(e, t, i = Se + 1) {
|
|
1393
1393
|
for (process.env.NODE_ENV !== "production" && (t = t || /* @__PURE__ */ new Map()); i < Wt.length; i++) {
|
|
1394
1394
|
const n = Wt[i];
|
|
1395
1395
|
if (n && n.flags & 2) {
|
|
1396
|
-
if (e && n.id !== e.uid || process.env.NODE_ENV !== "production" &&
|
|
1396
|
+
if (e && n.id !== e.uid || process.env.NODE_ENV !== "production" && ho(t, n))
|
|
1397
1397
|
continue;
|
|
1398
1398
|
Wt.splice(i, 1), i--, n.flags & 4 && (n.flags &= -2), n(), n.flags & 4 || (n.flags &= -2);
|
|
1399
1399
|
}
|
|
1400
1400
|
}
|
|
1401
1401
|
}
|
|
1402
|
-
function
|
|
1402
|
+
function Ml(e) {
|
|
1403
1403
|
if (Wi.length) {
|
|
1404
1404
|
const t = [...new Set(Wi)].sort(
|
|
1405
1405
|
(i, n) => Ln(i) - Ln(n)
|
|
@@ -1410,15 +1410,15 @@ function Ll(e) {
|
|
|
1410
1410
|
}
|
|
1411
1411
|
for (Ye = t, process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()), Bi = 0; Bi < Ye.length; Bi++) {
|
|
1412
1412
|
const i = Ye[Bi];
|
|
1413
|
-
process.env.NODE_ENV !== "production" &&
|
|
1413
|
+
process.env.NODE_ENV !== "production" && ho(e, i) || (i.flags & 4 && (i.flags &= -2), i.flags & 8 || i(), i.flags &= -2);
|
|
1414
1414
|
}
|
|
1415
1415
|
Ye = null, Bi = 0;
|
|
1416
1416
|
}
|
|
1417
1417
|
}
|
|
1418
1418
|
const Ln = (e) => e.id == null ? e.flags & 2 ? -1 : 1 / 0 : e.id;
|
|
1419
|
-
function
|
|
1419
|
+
function Ll(e) {
|
|
1420
1420
|
process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map());
|
|
1421
|
-
const t = process.env.NODE_ENV !== "production" ? (i) =>
|
|
1421
|
+
const t = process.env.NODE_ENV !== "production" ? (i) => ho(e, i) : It;
|
|
1422
1422
|
try {
|
|
1423
1423
|
for (Se = 0; Se < Wt.length; Se++) {
|
|
1424
1424
|
const i = Wt[Se];
|
|
@@ -1437,13 +1437,13 @@ function Il(e) {
|
|
|
1437
1437
|
const i = Wt[Se];
|
|
1438
1438
|
i && (i.flags &= -2);
|
|
1439
1439
|
}
|
|
1440
|
-
Se = -1, Wt.length = 0,
|
|
1440
|
+
Se = -1, Wt.length = 0, Ml(e), Ts = null, (Wt.length || Wi.length) && Ll(e);
|
|
1441
1441
|
}
|
|
1442
1442
|
}
|
|
1443
|
-
function
|
|
1443
|
+
function ho(e, t) {
|
|
1444
1444
|
const i = e.get(t) || 0;
|
|
1445
1445
|
if (i > md) {
|
|
1446
|
-
const n = t.i, s = n &&
|
|
1446
|
+
const n = t.i, s = n && xo(n.type);
|
|
1447
1447
|
return Wn(
|
|
1448
1448
|
`Maximum recursive updates exceeded${s ? ` in component <${s}>` : ""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,
|
|
1449
1449
|
null,
|
|
@@ -1455,7 +1455,7 @@ function uo(e, t) {
|
|
|
1455
1455
|
let Ne = !1;
|
|
1456
1456
|
const ps = /* @__PURE__ */ new Map();
|
|
1457
1457
|
process.env.NODE_ENV !== "production" && (Hn().__VUE_HMR_RUNTIME__ = {
|
|
1458
|
-
createRecord: hr(
|
|
1458
|
+
createRecord: hr(Il),
|
|
1459
1459
|
rerender: hr(yd),
|
|
1460
1460
|
reload: hr(Ed)
|
|
1461
1461
|
});
|
|
@@ -1463,19 +1463,19 @@ const Ci = /* @__PURE__ */ new Map();
|
|
|
1463
1463
|
function vd(e) {
|
|
1464
1464
|
const t = e.type.__hmrId;
|
|
1465
1465
|
let i = Ci.get(t);
|
|
1466
|
-
i || (
|
|
1466
|
+
i || (Il(t, e.type), i = Ci.get(t)), i.instances.add(e);
|
|
1467
1467
|
}
|
|
1468
1468
|
function bd(e) {
|
|
1469
1469
|
Ci.get(e.type.__hmrId).instances.delete(e);
|
|
1470
1470
|
}
|
|
1471
|
-
function
|
|
1471
|
+
function Il(e, t) {
|
|
1472
1472
|
return Ci.has(e) ? !1 : (Ci.set(e, {
|
|
1473
1473
|
initialDef: ks(t),
|
|
1474
1474
|
instances: /* @__PURE__ */ new Set()
|
|
1475
1475
|
}), !0);
|
|
1476
1476
|
}
|
|
1477
1477
|
function ks(e) {
|
|
1478
|
-
return
|
|
1478
|
+
return fc(e) ? e.__vccOpts : e;
|
|
1479
1479
|
}
|
|
1480
1480
|
function yd(e, t) {
|
|
1481
1481
|
const i = Ci.get(e);
|
|
@@ -1486,22 +1486,22 @@ function yd(e, t) {
|
|
|
1486
1486
|
function Ed(e, t) {
|
|
1487
1487
|
const i = Ci.get(e);
|
|
1488
1488
|
if (!i) return;
|
|
1489
|
-
t = ks(t),
|
|
1489
|
+
t = ks(t), Wo(i.initialDef, t);
|
|
1490
1490
|
const n = [...i.instances];
|
|
1491
1491
|
for (let s = 0; s < n.length; s++) {
|
|
1492
1492
|
const r = n[s], o = ks(r.type);
|
|
1493
1493
|
let a = ps.get(o);
|
|
1494
|
-
a || (o !== i.initialDef &&
|
|
1494
|
+
a || (o !== i.initialDef && Wo(o, t), ps.set(o, a = /* @__PURE__ */ new Set())), a.add(r), r.appContext.propsCache.delete(r.type), r.appContext.emitsCache.delete(r.type), r.appContext.optionsCache.delete(r.type), r.ceReload ? (a.add(r), r.ceReload(t.styles), a.delete(r)) : r.parent ? qs(() => {
|
|
1495
1495
|
r.job.flags & 8 || (Ne = !0, r.parent.update(), Ne = !1, a.delete(r));
|
|
1496
1496
|
}) : r.appContext.reload ? r.appContext.reload() : typeof window < "u" ? window.location.reload() : console.warn(
|
|
1497
1497
|
"[HMR] Root or manually mounted instance modified. Full reload required."
|
|
1498
1498
|
), r.root.ce && r !== r.root && r.root.ce._removeChildStyle(o);
|
|
1499
1499
|
}
|
|
1500
|
-
|
|
1500
|
+
Rl(() => {
|
|
1501
1501
|
ps.clear();
|
|
1502
1502
|
});
|
|
1503
1503
|
}
|
|
1504
|
-
function
|
|
1504
|
+
function Wo(e, t) {
|
|
1505
1505
|
Ct(e, t);
|
|
1506
1506
|
for (const i in e)
|
|
1507
1507
|
i !== "__file" && !(i in t) && delete e[i];
|
|
@@ -1521,13 +1521,13 @@ let he, fn = [], Pr = !1;
|
|
|
1521
1521
|
function Un(e, ...t) {
|
|
1522
1522
|
he ? he.emit(e, ...t) : Pr || fn.push({ event: e, args: t });
|
|
1523
1523
|
}
|
|
1524
|
-
function
|
|
1524
|
+
function uo(e, t) {
|
|
1525
1525
|
var i, n;
|
|
1526
1526
|
he = e, he ? (he.enabled = !0, fn.forEach(({ event: s, args: r }) => he.emit(s, ...r)), fn = []) : /* handle late devtools injection - only do this if we are in an actual */ /* browser environment to avoid the timer handle stalling test runner exit */ /* (#4815) */ typeof window < "u" && // some envs mock window but not fully
|
|
1527
1527
|
window.HTMLElement && // also exclude jsdom
|
|
1528
1528
|
// eslint-disable-next-line no-restricted-syntax
|
|
1529
1529
|
!((n = (i = window.navigator) == null ? void 0 : i.userAgent) != null && n.includes("jsdom")) ? ((t.__VUE_DEVTOOLS_HOOK_REPLAY__ = t.__VUE_DEVTOOLS_HOOK_REPLAY__ || []).push((r) => {
|
|
1530
|
-
|
|
1530
|
+
uo(r, t);
|
|
1531
1531
|
}), setTimeout(() => {
|
|
1532
1532
|
he || (t.__VUE_DEVTOOLS_HOOK_REPLAY__ = null, Pr = !0, fn = []);
|
|
1533
1533
|
}, 3e3)) : (Pr = !0, fn = []);
|
|
@@ -1543,13 +1543,13 @@ function Sd(e, t) {
|
|
|
1543
1543
|
function wd(e) {
|
|
1544
1544
|
Un("app:unmount", e);
|
|
1545
1545
|
}
|
|
1546
|
-
const xd = /* @__PURE__ */
|
|
1546
|
+
const xd = /* @__PURE__ */ fo(
|
|
1547
1547
|
"component:added"
|
|
1548
1548
|
/* COMPONENT_ADDED */
|
|
1549
|
-
),
|
|
1549
|
+
), Dl = /* @__PURE__ */ fo(
|
|
1550
1550
|
"component:updated"
|
|
1551
1551
|
/* COMPONENT_UPDATED */
|
|
1552
|
-
), Cd = /* @__PURE__ */
|
|
1552
|
+
), Cd = /* @__PURE__ */ fo(
|
|
1553
1553
|
"component:removed"
|
|
1554
1554
|
/* COMPONENT_REMOVED */
|
|
1555
1555
|
), Nd = (e) => {
|
|
@@ -1557,7 +1557,7 @@ const xd = /* @__PURE__ */ po(
|
|
|
1557
1557
|
!he.cleanupBuffer(e) && Cd(e);
|
|
1558
1558
|
};
|
|
1559
1559
|
// @__NO_SIDE_EFFECTS__
|
|
1560
|
-
function
|
|
1560
|
+
function fo(e) {
|
|
1561
1561
|
return (t) => {
|
|
1562
1562
|
Un(
|
|
1563
1563
|
e,
|
|
@@ -1568,14 +1568,14 @@ function po(e) {
|
|
|
1568
1568
|
);
|
|
1569
1569
|
};
|
|
1570
1570
|
}
|
|
1571
|
-
const Td = /* @__PURE__ */
|
|
1571
|
+
const Td = /* @__PURE__ */ Vl(
|
|
1572
1572
|
"perf:start"
|
|
1573
1573
|
/* PERFORMANCE_START */
|
|
1574
|
-
), kd = /* @__PURE__ */
|
|
1574
|
+
), kd = /* @__PURE__ */ Vl(
|
|
1575
1575
|
"perf:end"
|
|
1576
1576
|
/* PERFORMANCE_END */
|
|
1577
1577
|
);
|
|
1578
|
-
function
|
|
1578
|
+
function Vl(e) {
|
|
1579
1579
|
return (t, i, n) => {
|
|
1580
1580
|
Un(e, t.appContext.app, t.uid, t, i, n);
|
|
1581
1581
|
};
|
|
@@ -1589,10 +1589,10 @@ function Od(e, t, i) {
|
|
|
1589
1589
|
i
|
|
1590
1590
|
);
|
|
1591
1591
|
}
|
|
1592
|
-
let Gt = null,
|
|
1592
|
+
let Gt = null, Fl = null;
|
|
1593
1593
|
function Os(e) {
|
|
1594
1594
|
const t = Gt;
|
|
1595
|
-
return Gt = e,
|
|
1595
|
+
return Gt = e, Fl = e && e.type.__scopeId || null, t;
|
|
1596
1596
|
}
|
|
1597
1597
|
function pn(e, t = Gt, i) {
|
|
1598
1598
|
if (!t || e._n)
|
|
@@ -1606,11 +1606,11 @@ function pn(e, t = Gt, i) {
|
|
|
1606
1606
|
} finally {
|
|
1607
1607
|
Os(r), n._d && Ls(1);
|
|
1608
1608
|
}
|
|
1609
|
-
return process.env.NODE_ENV !== "production" &&
|
|
1609
|
+
return process.env.NODE_ENV !== "production" && Dl(t), o;
|
|
1610
1610
|
};
|
|
1611
1611
|
return n._n = !0, n._c = !0, n._d = !0, n;
|
|
1612
1612
|
}
|
|
1613
|
-
function
|
|
1613
|
+
function Gl(e) {
|
|
1614
1614
|
yh(e) && U("Do not use built-in directive ids as custom directive id: " + e);
|
|
1615
1615
|
}
|
|
1616
1616
|
function gs(e, t) {
|
|
@@ -1648,8 +1648,8 @@ function li(e, t, i, n) {
|
|
|
1648
1648
|
}
|
|
1649
1649
|
}
|
|
1650
1650
|
const Pd = Symbol("_vte"), Ad = (e) => e.__isTeleport, Rd = Symbol("_leaveCb");
|
|
1651
|
-
function
|
|
1652
|
-
e.shapeFlag & 6 && e.component ? (e.transition = t,
|
|
1651
|
+
function po(e, t) {
|
|
1652
|
+
e.shapeFlag & 6 && e.component ? (e.transition = t, po(e.component.subTree, t)) : e.shapeFlag & 128 ? (e.ssContent.transition = t.clone(e.ssContent), e.ssFallback.transition = t.clone(e.ssFallback)) : e.transition = t;
|
|
1653
1653
|
}
|
|
1654
1654
|
// @__NO_SIDE_EFFECTS__
|
|
1655
1655
|
function Be(e, t) {
|
|
@@ -1659,10 +1659,10 @@ function Be(e, t) {
|
|
|
1659
1659
|
Ct({ name: e.name }, t, { setup: e })
|
|
1660
1660
|
) : e;
|
|
1661
1661
|
}
|
|
1662
|
-
function
|
|
1662
|
+
function Bl(e) {
|
|
1663
1663
|
e.ids = [e.ids[0] + e.ids[2]++ + "-", 0, 0];
|
|
1664
1664
|
}
|
|
1665
|
-
const
|
|
1665
|
+
const Uo = /* @__PURE__ */ new WeakSet(), Ps = /* @__PURE__ */ new WeakMap();
|
|
1666
1666
|
function xn(e, t, i, n, s = !1) {
|
|
1667
1667
|
if (Q(e)) {
|
|
1668
1668
|
e.forEach(
|
|
@@ -1687,11 +1687,11 @@ function xn(e, t, i, n, s = !1) {
|
|
|
1687
1687
|
);
|
|
1688
1688
|
return;
|
|
1689
1689
|
}
|
|
1690
|
-
const c = t && t.r, h = a.refs === mt ? a.refs = {} : a.refs, d = a.setupState, u = rt(d), f = d === mt ?
|
|
1690
|
+
const c = t && t.r, h = a.refs === mt ? a.refs = {} : a.refs, d = a.setupState, u = rt(d), f = d === mt ? ol : (_) => process.env.NODE_ENV !== "production" && (lt(u, _) && !Mt(u[_]) && U(
|
|
1691
1691
|
`Template ref "${_}" used on a non-ref value. It will not work in the production build.`
|
|
1692
|
-
),
|
|
1692
|
+
), Uo.has(u[_])) ? !1 : lt(u, _), p = (_) => process.env.NODE_ENV === "production" || !Uo.has(_);
|
|
1693
1693
|
if (c != null && c !== l) {
|
|
1694
|
-
if (
|
|
1694
|
+
if (jo(t), Nt(c))
|
|
1695
1695
|
h[c] = null, f(c) && (d[c] = null);
|
|
1696
1696
|
else if (Mt(c)) {
|
|
1697
1697
|
p(c) && (c.value = null);
|
|
@@ -1708,7 +1708,7 @@ function xn(e, t, i, n, s = !1) {
|
|
|
1708
1708
|
if (e.f) {
|
|
1709
1709
|
const y = _ ? f(l) ? d[l] : h[l] : p(l) || !e.k ? l.value : h[e.k];
|
|
1710
1710
|
if (s)
|
|
1711
|
-
Q(y) &&
|
|
1711
|
+
Q(y) && Zr(y, r);
|
|
1712
1712
|
else if (Q(y))
|
|
1713
1713
|
y.includes(r) || y.push(r);
|
|
1714
1714
|
else if (_)
|
|
@@ -1725,24 +1725,24 @@ function xn(e, t, i, n, s = !1) {
|
|
|
1725
1725
|
};
|
|
1726
1726
|
y.id = -1, Ps.set(e, y), Kt(y, i);
|
|
1727
1727
|
} else
|
|
1728
|
-
|
|
1728
|
+
jo(e), S();
|
|
1729
1729
|
} else process.env.NODE_ENV !== "production" && U("Invalid template ref type:", l, `(${typeof l})`);
|
|
1730
1730
|
}
|
|
1731
1731
|
}
|
|
1732
|
-
function
|
|
1732
|
+
function jo(e) {
|
|
1733
1733
|
const t = Ps.get(e);
|
|
1734
1734
|
t && (t.flags |= 8, Ps.delete(e));
|
|
1735
1735
|
}
|
|
1736
1736
|
Hn().requestIdleCallback;
|
|
1737
1737
|
Hn().cancelIdleCallback;
|
|
1738
|
-
const Cn = (e) => !!e.type.__asyncLoader,
|
|
1738
|
+
const Cn = (e) => !!e.type.__asyncLoader, go = (e) => e.type.__isKeepAlive;
|
|
1739
1739
|
function Md(e, t) {
|
|
1740
|
-
|
|
1740
|
+
Hl(e, "a", t);
|
|
1741
1741
|
}
|
|
1742
1742
|
function Ld(e, t) {
|
|
1743
|
-
|
|
1743
|
+
Hl(e, "da", t);
|
|
1744
1744
|
}
|
|
1745
|
-
function
|
|
1745
|
+
function Hl(e, t, i = Rt) {
|
|
1746
1746
|
const n = e.__wdc || (e.__wdc = () => {
|
|
1747
1747
|
let s = i;
|
|
1748
1748
|
for (; s; ) {
|
|
@@ -1755,7 +1755,7 @@ function $l(e, t, i = Rt) {
|
|
|
1755
1755
|
if (Ks(t, n, i), i) {
|
|
1756
1756
|
let s = i.parent;
|
|
1757
1757
|
for (; s && s.parent; )
|
|
1758
|
-
|
|
1758
|
+
go(s.parent.vnode) && Id(n, t, i, s), s = s.parent;
|
|
1759
1759
|
}
|
|
1760
1760
|
}
|
|
1761
1761
|
function Id(e, t, i, n) {
|
|
@@ -1766,8 +1766,8 @@ function Id(e, t, i, n) {
|
|
|
1766
1766
|
!0
|
|
1767
1767
|
/* prepend */
|
|
1768
1768
|
);
|
|
1769
|
-
|
|
1770
|
-
|
|
1769
|
+
vo(() => {
|
|
1770
|
+
Zr(n[t], s);
|
|
1771
1771
|
}, i);
|
|
1772
1772
|
}
|
|
1773
1773
|
function Ks(e, t, i = Rt, n = !1) {
|
|
@@ -1779,7 +1779,7 @@ function Ks(e, t, i = Rt, n = !1) {
|
|
|
1779
1779
|
});
|
|
1780
1780
|
return n ? s.unshift(r) : s.push(r), r;
|
|
1781
1781
|
} else if (process.env.NODE_ENV !== "production") {
|
|
1782
|
-
const s = ui(
|
|
1782
|
+
const s = ui(co[e].replace(/ hook$/, ""));
|
|
1783
1783
|
U(
|
|
1784
1784
|
`${s} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`
|
|
1785
1785
|
);
|
|
@@ -1787,11 +1787,11 @@ function Ks(e, t, i = Rt, n = !1) {
|
|
|
1787
1787
|
}
|
|
1788
1788
|
const He = (e) => (t, i = Rt) => {
|
|
1789
1789
|
(!Dn || e === "sp") && Ks(e, (...n) => t(...n), i);
|
|
1790
|
-
}, Dd = He("bm"),
|
|
1790
|
+
}, Dd = He("bm"), mo = He("m"), Vd = He(
|
|
1791
1791
|
"bu"
|
|
1792
|
-
),
|
|
1792
|
+
), _o = He("u"), $l = He(
|
|
1793
1793
|
"bum"
|
|
1794
|
-
),
|
|
1794
|
+
), vo = He("um"), Fd = He(
|
|
1795
1795
|
"sp"
|
|
1796
1796
|
), Gd = He("rtg"), Bd = He("rtc");
|
|
1797
1797
|
function Hd(e, t = Rt) {
|
|
@@ -1807,7 +1807,7 @@ function Ud(e, t, i = !0, n = !1) {
|
|
|
1807
1807
|
if (s) {
|
|
1808
1808
|
const r = s.type;
|
|
1809
1809
|
{
|
|
1810
|
-
const a =
|
|
1810
|
+
const a = xo(
|
|
1811
1811
|
r,
|
|
1812
1812
|
!1
|
|
1813
1813
|
);
|
|
@@ -1817,8 +1817,8 @@ function Ud(e, t, i = !0, n = !1) {
|
|
|
1817
1817
|
const o = (
|
|
1818
1818
|
// local registration
|
|
1819
1819
|
// check instance[type] first which is resolved for options API
|
|
1820
|
-
|
|
1821
|
-
|
|
1820
|
+
Xo(s[e] || r[e], t) || // global registration
|
|
1821
|
+
Xo(s.appContext[e], t)
|
|
1822
1822
|
);
|
|
1823
1823
|
return !o && n ? r : (process.env.NODE_ENV !== "production" && i && !o && U(`Failed to resolve ${e.slice(0, -1)}: ${t}
|
|
1824
1824
|
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.`), o);
|
|
@@ -1826,7 +1826,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
1826
1826
|
`resolve${wi(e.slice(0, -1))} can only be used in render() or setup().`
|
|
1827
1827
|
);
|
|
1828
1828
|
}
|
|
1829
|
-
function
|
|
1829
|
+
function Xo(e, t) {
|
|
1830
1830
|
return e && (e[t] || e[Vt(t)] || e[wi(Vt(t))]);
|
|
1831
1831
|
}
|
|
1832
1832
|
function yi(e, t, i, n) {
|
|
@@ -1865,7 +1865,7 @@ function yi(e, t, i, n) {
|
|
|
1865
1865
|
s = [];
|
|
1866
1866
|
return s;
|
|
1867
1867
|
}
|
|
1868
|
-
const Ar = (e) => e ?
|
|
1868
|
+
const Ar = (e) => e ? dc(e) ? Zs(e) : Ar(e.parent) : null, Ei = (
|
|
1869
1869
|
// Move PURE marker to new line to workaround compiler discarding it
|
|
1870
1870
|
// due to type annotation
|
|
1871
1871
|
/* @__PURE__ */ Ct(/* @__PURE__ */ Object.create(null), {
|
|
@@ -1880,14 +1880,14 @@ const Ar = (e) => e ? uc(e) ? Zs(e) : Ar(e.parent) : null, Ei = (
|
|
|
1880
1880
|
$root: (e) => Ar(e.root),
|
|
1881
1881
|
$host: (e) => e.ce,
|
|
1882
1882
|
$emit: (e) => e.emit,
|
|
1883
|
-
$options: (e) =>
|
|
1883
|
+
$options: (e) => jl(e),
|
|
1884
1884
|
$forceUpdate: (e) => e.f || (e.f = () => {
|
|
1885
1885
|
qs(e.update);
|
|
1886
1886
|
}),
|
|
1887
1887
|
$nextTick: (e) => e.n || (e.n = Ys.bind(e.proxy)),
|
|
1888
1888
|
$watch: (e) => ru.bind(e)
|
|
1889
1889
|
})
|
|
1890
|
-
),
|
|
1890
|
+
), bo = (e) => e === "_" || e === "$", dr = (e, t) => e !== mt && !e.__isScriptSetup && lt(e, t), Wl = {
|
|
1891
1891
|
get({ _: e }, t) {
|
|
1892
1892
|
if (t === "__v_skip")
|
|
1893
1893
|
return !0;
|
|
@@ -1937,7 +1937,7 @@ const Ar = (e) => e ? uc(e) ? Zs(e) : Ar(e.parent) : null, Ei = (
|
|
|
1937
1937
|
return d[t];
|
|
1938
1938
|
process.env.NODE_ENV !== "production" && Gt && (!Nt(t) || // #1091 avoid internal isRef/isVNode checks on component instance leading
|
|
1939
1939
|
// to infinite warning loop
|
|
1940
|
-
t.indexOf("__v") !== 0) && (s !== mt &&
|
|
1940
|
+
t.indexOf("__v") !== 0) && (s !== mt && bo(t[0]) && lt(s, t) ? U(
|
|
1941
1941
|
`Property ${JSON.stringify(
|
|
1942
1942
|
t
|
|
1943
1943
|
)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`
|
|
@@ -1965,7 +1965,7 @@ const Ar = (e) => e ? uc(e) ? Zs(e) : Ar(e.parent) : null, Ei = (
|
|
|
1965
1965
|
return i.get != null ? e._.accessCache[t] = 0 : lt(i, "value") && this.set(e, t, i.value, null), Reflect.defineProperty(e, t, i);
|
|
1966
1966
|
}
|
|
1967
1967
|
};
|
|
1968
|
-
process.env.NODE_ENV !== "production" && (
|
|
1968
|
+
process.env.NODE_ENV !== "production" && (Wl.ownKeys = (e) => (U(
|
|
1969
1969
|
"Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."
|
|
1970
1970
|
), Reflect.ownKeys(e)));
|
|
1971
1971
|
function jd(e) {
|
|
@@ -2003,7 +2003,7 @@ function zd(e) {
|
|
|
2003
2003
|
const { ctx: t, setupState: i } = e;
|
|
2004
2004
|
Object.keys(rt(i)).forEach((n) => {
|
|
2005
2005
|
if (!i.__isScriptSetup) {
|
|
2006
|
-
if (
|
|
2006
|
+
if (bo(n[0])) {
|
|
2007
2007
|
U(
|
|
2008
2008
|
`setup() return property ${JSON.stringify(
|
|
2009
2009
|
n
|
|
@@ -2020,7 +2020,7 @@ function zd(e) {
|
|
|
2020
2020
|
}
|
|
2021
2021
|
});
|
|
2022
2022
|
}
|
|
2023
|
-
function
|
|
2023
|
+
function zo(e) {
|
|
2024
2024
|
return Q(e) ? e.reduce(
|
|
2025
2025
|
(t, i) => (t[i] = null, t),
|
|
2026
2026
|
{}
|
|
@@ -2034,8 +2034,8 @@ function Yd() {
|
|
|
2034
2034
|
}
|
|
2035
2035
|
let Rr = !0;
|
|
2036
2036
|
function qd(e) {
|
|
2037
|
-
const t =
|
|
2038
|
-
Rr = !1, t.beforeCreate &&
|
|
2037
|
+
const t = jl(e), i = e.proxy, n = e.ctx;
|
|
2038
|
+
Rr = !1, t.beforeCreate && Yo(t.beforeCreate, e, "bc");
|
|
2039
2039
|
const {
|
|
2040
2040
|
// state
|
|
2041
2041
|
data: s,
|
|
@@ -2092,13 +2092,13 @@ function qd(e) {
|
|
|
2092
2092
|
"The data option must be a function. Plain object usage is no longer supported."
|
|
2093
2093
|
);
|
|
2094
2094
|
const B = s.call(i, i);
|
|
2095
|
-
if (process.env.NODE_ENV !== "production" &&
|
|
2095
|
+
if (process.env.NODE_ENV !== "production" && to(B) && U(
|
|
2096
2096
|
"data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."
|
|
2097
2097
|
), !ut(B))
|
|
2098
2098
|
process.env.NODE_ENV !== "production" && U("data() should return an object.");
|
|
2099
2099
|
else if (e.data = $n(B), process.env.NODE_ENV !== "production")
|
|
2100
2100
|
for (const D in B)
|
|
2101
|
-
A("Data", D),
|
|
2101
|
+
A("Data", D), bo(D[0]) || Object.defineProperty(n, D, {
|
|
2102
2102
|
configurable: !0,
|
|
2103
2103
|
enumerable: !0,
|
|
2104
2104
|
get: () => B[D],
|
|
@@ -2126,18 +2126,18 @@ function qd(e) {
|
|
|
2126
2126
|
}
|
|
2127
2127
|
if (a)
|
|
2128
2128
|
for (const B in a)
|
|
2129
|
-
|
|
2129
|
+
Ul(a[B], n, i, B);
|
|
2130
2130
|
if (l) {
|
|
2131
2131
|
const B = it(l) ? l.call(i) : l;
|
|
2132
2132
|
Reflect.ownKeys(B).forEach((D) => {
|
|
2133
2133
|
iu(D, B[D]);
|
|
2134
2134
|
});
|
|
2135
2135
|
}
|
|
2136
|
-
h &&
|
|
2136
|
+
h && Yo(h, e, "c");
|
|
2137
2137
|
function L(B, D) {
|
|
2138
2138
|
Q(D) ? D.forEach((nt) => B(nt.bind(i))) : D && B(D.bind(i));
|
|
2139
2139
|
}
|
|
2140
|
-
if (L(Dd, d), L(
|
|
2140
|
+
if (L(Dd, d), L(mo, u), L(Vd, f), L(_o, p), L(Md, _), L(Ld, b), L(Hd, x), L(Bd, O), L(Gd, w), L($l, y), L(vo, N), L(Fd, P), Q(G))
|
|
2141
2141
|
if (G.length) {
|
|
2142
2142
|
const B = e.exposed || (e.exposed = {});
|
|
2143
2143
|
G.forEach((D) => {
|
|
@@ -2148,7 +2148,7 @@ function qd(e) {
|
|
|
2148
2148
|
});
|
|
2149
2149
|
});
|
|
2150
2150
|
} else e.exposed || (e.exposed = {});
|
|
2151
|
-
T && e.render === It && (e.render = T), K != null && (e.inheritAttrs = K), z && (e.components = z), Z && (e.directives = Z), P &&
|
|
2151
|
+
T && e.render === It && (e.render = T), K != null && (e.inheritAttrs = K), z && (e.components = z), Z && (e.directives = Z), P && Bl(e);
|
|
2152
2152
|
}
|
|
2153
2153
|
function Kd(e, t, i = It) {
|
|
2154
2154
|
Q(e) && (e = Mr(e));
|
|
@@ -2167,15 +2167,15 @@ function Kd(e, t, i = It) {
|
|
|
2167
2167
|
}) : t[n] = r, process.env.NODE_ENV !== "production" && i("Inject", n);
|
|
2168
2168
|
}
|
|
2169
2169
|
}
|
|
2170
|
-
function
|
|
2170
|
+
function Yo(e, t, i) {
|
|
2171
2171
|
Oe(
|
|
2172
2172
|
Q(e) ? e.map((n) => n.bind(t.proxy)) : e.bind(t.proxy),
|
|
2173
2173
|
t,
|
|
2174
2174
|
i
|
|
2175
2175
|
);
|
|
2176
2176
|
}
|
|
2177
|
-
function
|
|
2178
|
-
let s = n.includes(".") ?
|
|
2177
|
+
function Ul(e, t, i, n) {
|
|
2178
|
+
let s = n.includes(".") ? Yl(i, n) : () => i[n];
|
|
2179
2179
|
if (Nt(e)) {
|
|
2180
2180
|
const r = t[e];
|
|
2181
2181
|
it(r) ? Si(s, r) : process.env.NODE_ENV !== "production" && U(`Invalid watch handler specified by key "${e}"`, r);
|
|
@@ -2183,14 +2183,14 @@ function jl(e, t, i, n) {
|
|
|
2183
2183
|
Si(s, e.bind(i));
|
|
2184
2184
|
else if (ut(e))
|
|
2185
2185
|
if (Q(e))
|
|
2186
|
-
e.forEach((r) =>
|
|
2186
|
+
e.forEach((r) => Ul(r, t, i, n));
|
|
2187
2187
|
else {
|
|
2188
2188
|
const r = it(e.handler) ? e.handler.bind(i) : t[e.handler];
|
|
2189
2189
|
it(r) ? Si(s, r, e) : process.env.NODE_ENV !== "production" && U(`Invalid watch handler specified by key "${e.handler}"`, r);
|
|
2190
2190
|
}
|
|
2191
2191
|
else process.env.NODE_ENV !== "production" && U(`Invalid watch option: "${n}"`, e);
|
|
2192
2192
|
}
|
|
2193
|
-
function
|
|
2193
|
+
function jl(e) {
|
|
2194
2194
|
const t = e.type, { mixins: i, extends: n } = t, {
|
|
2195
2195
|
mixins: s,
|
|
2196
2196
|
optionsCache: r,
|
|
@@ -2218,9 +2218,9 @@ function As(e, t, i, n = !1) {
|
|
|
2218
2218
|
return e;
|
|
2219
2219
|
}
|
|
2220
2220
|
const Jd = {
|
|
2221
|
-
data:
|
|
2222
|
-
props:
|
|
2223
|
-
emits:
|
|
2221
|
+
data: qo,
|
|
2222
|
+
props: Ko,
|
|
2223
|
+
emits: Ko,
|
|
2224
2224
|
// objects
|
|
2225
2225
|
methods: gn,
|
|
2226
2226
|
computed: gn,
|
|
@@ -2245,10 +2245,10 @@ const Jd = {
|
|
|
2245
2245
|
// watch
|
|
2246
2246
|
watch: Zd,
|
|
2247
2247
|
// provide / inject
|
|
2248
|
-
provide:
|
|
2248
|
+
provide: qo,
|
|
2249
2249
|
inject: Qd
|
|
2250
2250
|
};
|
|
2251
|
-
function
|
|
2251
|
+
function qo(e, t) {
|
|
2252
2252
|
return t ? e ? function() {
|
|
2253
2253
|
return Ct(
|
|
2254
2254
|
it(e) ? e.call(this, this) : e,
|
|
@@ -2274,11 +2274,11 @@ function Ht(e, t) {
|
|
|
2274
2274
|
function gn(e, t) {
|
|
2275
2275
|
return e ? Ct(/* @__PURE__ */ Object.create(null), e, t) : t;
|
|
2276
2276
|
}
|
|
2277
|
-
function
|
|
2277
|
+
function Ko(e, t) {
|
|
2278
2278
|
return e ? Q(e) && Q(t) ? [.../* @__PURE__ */ new Set([...e, ...t])] : Ct(
|
|
2279
2279
|
/* @__PURE__ */ Object.create(null),
|
|
2280
|
-
|
|
2281
|
-
|
|
2280
|
+
zo(e),
|
|
2281
|
+
zo(t ?? {})
|
|
2282
2282
|
) : t;
|
|
2283
2283
|
}
|
|
2284
2284
|
function Zd(e, t) {
|
|
@@ -2289,11 +2289,11 @@ function Zd(e, t) {
|
|
|
2289
2289
|
i[n] = Ht(e[n], t[n]);
|
|
2290
2290
|
return i;
|
|
2291
2291
|
}
|
|
2292
|
-
function
|
|
2292
|
+
function Xl() {
|
|
2293
2293
|
return {
|
|
2294
2294
|
app: null,
|
|
2295
2295
|
config: {
|
|
2296
|
-
isNativeTag:
|
|
2296
|
+
isNativeTag: ol,
|
|
2297
2297
|
performance: !1,
|
|
2298
2298
|
globalProperties: {},
|
|
2299
2299
|
optionMergeStrategies: {},
|
|
@@ -2314,7 +2314,7 @@ let tu = 0;
|
|
|
2314
2314
|
function eu(e, t) {
|
|
2315
2315
|
return function(n, s = null) {
|
|
2316
2316
|
it(n) || (n = Ct({}, n)), s != null && !ut(s) && (process.env.NODE_ENV !== "production" && U("root props passed to app.mount() must be an object."), s = null);
|
|
2317
|
-
const r =
|
|
2317
|
+
const r = Xl(), o = /* @__PURE__ */ new WeakSet(), a = [];
|
|
2318
2318
|
let l = !1;
|
|
2319
2319
|
const c = r.app = {
|
|
2320
2320
|
_uid: tu++,
|
|
@@ -2323,7 +2323,7 @@ function eu(e, t) {
|
|
|
2323
2323
|
_container: null,
|
|
2324
2324
|
_context: r,
|
|
2325
2325
|
_instance: null,
|
|
2326
|
-
version:
|
|
2326
|
+
version: aa,
|
|
2327
2327
|
get config() {
|
|
2328
2328
|
return r.config;
|
|
2329
2329
|
},
|
|
@@ -2346,7 +2346,7 @@ function eu(e, t) {
|
|
|
2346
2346
|
return process.env.NODE_ENV !== "production" && Fr(h, r.config), d ? (process.env.NODE_ENV !== "production" && r.components[h] && U(`Component "${h}" has already been registered in target app.`), r.components[h] = d, c) : r.components[h];
|
|
2347
2347
|
},
|
|
2348
2348
|
directive(h, d) {
|
|
2349
|
-
return process.env.NODE_ENV !== "production" &&
|
|
2349
|
+
return process.env.NODE_ENV !== "production" && Gl(h), d ? (process.env.NODE_ENV !== "production" && r.directives[h] && U(`Directive "${h}" has already been registered in target app.`), r.directives[h] = d, c) : r.directives[h];
|
|
2350
2350
|
},
|
|
2351
2351
|
mount(h, d, u) {
|
|
2352
2352
|
if (l)
|
|
@@ -2361,7 +2361,7 @@ function eu(e, t) {
|
|
|
2361
2361
|
return f.appContext = r, u === !0 ? u = "svg" : u === !1 && (u = void 0), process.env.NODE_ENV !== "production" && (r.reload = () => {
|
|
2362
2362
|
const p = ei(f);
|
|
2363
2363
|
p.el = null, e(p, h, u);
|
|
2364
|
-
}), e(f, h, u), l = !0, c._container = h, h.__vue_app__ = c, process.env.NODE_ENV !== "production" && (c._instance = f.component, Sd(c,
|
|
2364
|
+
}), e(f, h, u), l = !0, c._container = h, h.__vue_app__ = c, process.env.NODE_ENV !== "production" && (c._instance = f.component, Sd(c, aa)), Zs(f.component);
|
|
2365
2365
|
}
|
|
2366
2366
|
},
|
|
2367
2367
|
onUnmount(h) {
|
|
@@ -2426,9 +2426,9 @@ const nu = Symbol.for("v-scx"), su = () => {
|
|
|
2426
2426
|
function Si(e, t, i) {
|
|
2427
2427
|
return process.env.NODE_ENV !== "production" && !it(t) && U(
|
|
2428
2428
|
"`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."
|
|
2429
|
-
),
|
|
2429
|
+
), zl(e, t, i);
|
|
2430
2430
|
}
|
|
2431
|
-
function
|
|
2431
|
+
function zl(e, t, i = mt) {
|
|
2432
2432
|
const { immediate: n, deep: s, flush: r, once: o } = i;
|
|
2433
2433
|
process.env.NODE_ENV !== "production" && !t && (n !== void 0 && U(
|
|
2434
2434
|
'watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'
|
|
@@ -2465,13 +2465,13 @@ function Yl(e, t, i = mt) {
|
|
|
2465
2465
|
return Dn && (c ? c.push(u) : l && u()), u;
|
|
2466
2466
|
}
|
|
2467
2467
|
function ru(e, t, i) {
|
|
2468
|
-
const n = this.proxy, s = Nt(e) ? e.includes(".") ?
|
|
2468
|
+
const n = this.proxy, s = Nt(e) ? e.includes(".") ? Yl(n, e) : () => n[e] : e.bind(n, n);
|
|
2469
2469
|
let r;
|
|
2470
2470
|
it(t) ? r = t : (r = t.handler, i = t);
|
|
2471
|
-
const o = Xn(this), a =
|
|
2471
|
+
const o = Xn(this), a = zl(s, r.bind(n), i);
|
|
2472
2472
|
return o(), a;
|
|
2473
2473
|
}
|
|
2474
|
-
function
|
|
2474
|
+
function Yl(e, t) {
|
|
2475
2475
|
const i = t.split(".");
|
|
2476
2476
|
return () => {
|
|
2477
2477
|
let n = e;
|
|
@@ -2537,7 +2537,7 @@ function au(e, t, ...i) {
|
|
|
2537
2537
|
}
|
|
2538
2538
|
}
|
|
2539
2539
|
const lu = /* @__PURE__ */ new WeakMap();
|
|
2540
|
-
function
|
|
2540
|
+
function ql(e, t, i = !1) {
|
|
2541
2541
|
const n = i ? lu : t.emitsCache, s = n.get(e);
|
|
2542
2542
|
if (s !== void 0)
|
|
2543
2543
|
return s;
|
|
@@ -2545,7 +2545,7 @@ function Kl(e, t, i = !1) {
|
|
|
2545
2545
|
let o = {}, a = !1;
|
|
2546
2546
|
if (!it(e)) {
|
|
2547
2547
|
const l = (c) => {
|
|
2548
|
-
const h =
|
|
2548
|
+
const h = ql(c, t, !0);
|
|
2549
2549
|
h && (a = !0, Ct(o, h));
|
|
2550
2550
|
};
|
|
2551
2551
|
!i && t.mixins.length && t.mixins.forEach(l), e.extends && l(e.extends), e.mixins && e.mixins.forEach(l);
|
|
@@ -2559,7 +2559,7 @@ let Lr = !1;
|
|
|
2559
2559
|
function Rs() {
|
|
2560
2560
|
Lr = !0;
|
|
2561
2561
|
}
|
|
2562
|
-
function
|
|
2562
|
+
function Jo(e) {
|
|
2563
2563
|
const {
|
|
2564
2564
|
type: t,
|
|
2565
2565
|
vnode: i,
|
|
@@ -2623,7 +2623,7 @@ function Qo(e) {
|
|
|
2623
2623
|
Nn.length = 0, Wn(T, e, 1), S = kt(ee);
|
|
2624
2624
|
}
|
|
2625
2625
|
let C = S, N;
|
|
2626
|
-
if (process.env.NODE_ENV !== "production" && S.patchFlag > 0 && S.patchFlag & 2048 && ([C, N] =
|
|
2626
|
+
if (process.env.NODE_ENV !== "production" && S.patchFlag > 0 && S.patchFlag & 2048 && ([C, N] = Kl(S)), y && _ !== !1) {
|
|
2627
2627
|
const T = Object.keys(y), { shapeFlag: O } = C;
|
|
2628
2628
|
if (T.length) {
|
|
2629
2629
|
if (O & 7)
|
|
@@ -2645,24 +2645,24 @@ function Qo(e) {
|
|
|
2645
2645
|
}
|
|
2646
2646
|
}
|
|
2647
2647
|
}
|
|
2648
|
-
return i.dirs && (process.env.NODE_ENV !== "production" && !
|
|
2648
|
+
return i.dirs && (process.env.NODE_ENV !== "production" && !Qo(C) && U(
|
|
2649
2649
|
"Runtime directive used on component with non-element root node. The directives will not function as intended."
|
|
2650
|
-
), C = ei(C, null, !1, !0), C.dirs = C.dirs ? C.dirs.concat(i.dirs) : i.dirs), i.transition && (process.env.NODE_ENV !== "production" && !
|
|
2650
|
+
), C = ei(C, null, !1, !0), C.dirs = C.dirs ? C.dirs.concat(i.dirs) : i.dirs), i.transition && (process.env.NODE_ENV !== "production" && !Qo(C) && U(
|
|
2651
2651
|
"Component inside <Transition> renders non-element root node that cannot be animated."
|
|
2652
|
-
),
|
|
2652
|
+
), po(C, i.transition)), process.env.NODE_ENV !== "production" && N ? N(C) : S = C, Os(b), S;
|
|
2653
2653
|
}
|
|
2654
|
-
const
|
|
2655
|
-
const t = e.children, i = e.dynamicChildren, n =
|
|
2654
|
+
const Kl = (e) => {
|
|
2655
|
+
const t = e.children, i = e.dynamicChildren, n = yo(t, !1);
|
|
2656
2656
|
if (n) {
|
|
2657
2657
|
if (process.env.NODE_ENV !== "production" && n.patchFlag > 0 && n.patchFlag & 2048)
|
|
2658
|
-
return
|
|
2658
|
+
return Kl(n);
|
|
2659
2659
|
} else return [e, void 0];
|
|
2660
2660
|
const s = t.indexOf(n), r = i ? i.indexOf(n) : -1, o = (a) => {
|
|
2661
2661
|
t[s] = a, i && (r > -1 ? i[r] = a : a.patchFlag > 0 && (e.dynamicChildren = [...i, a]));
|
|
2662
2662
|
};
|
|
2663
2663
|
return [ce(n), o];
|
|
2664
2664
|
};
|
|
2665
|
-
function
|
|
2665
|
+
function yo(e, t = !0) {
|
|
2666
2666
|
let i;
|
|
2667
2667
|
for (let n = 0; n < e.length; n++) {
|
|
2668
2668
|
const s = e[n];
|
|
@@ -2671,7 +2671,7 @@ function Eo(e, t = !0) {
|
|
|
2671
2671
|
if (i)
|
|
2672
2672
|
return;
|
|
2673
2673
|
if (i = s, process.env.NODE_ENV !== "production" && t && i.patchFlag > 0 && i.patchFlag & 2048)
|
|
2674
|
-
return
|
|
2674
|
+
return yo(i.children);
|
|
2675
2675
|
}
|
|
2676
2676
|
} else
|
|
2677
2677
|
return;
|
|
@@ -2688,7 +2688,7 @@ const cu = (e) => {
|
|
|
2688
2688
|
for (const n in e)
|
|
2689
2689
|
(!ws(n) || !(n.slice(9) in t)) && (i[n] = e[n]);
|
|
2690
2690
|
return i;
|
|
2691
|
-
},
|
|
2691
|
+
}, Qo = (e) => e.shapeFlag & 7 || e.type === ee;
|
|
2692
2692
|
function du(e, t, i) {
|
|
2693
2693
|
const { props: n, children: s, component: r } = e, { props: o, children: a, patchFlag: l } = t, c = r.emitsOptions;
|
|
2694
2694
|
if (process.env.NODE_ENV !== "production" && (s || a) && Ne || t.dirs || t.transition)
|
|
@@ -2697,7 +2697,7 @@ function du(e, t, i) {
|
|
|
2697
2697
|
if (l & 1024)
|
|
2698
2698
|
return !0;
|
|
2699
2699
|
if (l & 16)
|
|
2700
|
-
return n ?
|
|
2700
|
+
return n ? Zo(n, o, c) : !!o;
|
|
2701
2701
|
if (l & 8) {
|
|
2702
2702
|
const h = t.dynamicProps;
|
|
2703
2703
|
for (let d = 0; d < h.length; d++) {
|
|
@@ -2707,10 +2707,10 @@ function du(e, t, i) {
|
|
|
2707
2707
|
}
|
|
2708
2708
|
}
|
|
2709
2709
|
} else
|
|
2710
|
-
return (s || a) && (!a || !a.$stable) ? !0 : n === o ? !1 : n ? o ?
|
|
2710
|
+
return (s || a) && (!a || !a.$stable) ? !0 : n === o ? !1 : n ? o ? Zo(n, o, c) : !0 : !!o;
|
|
2711
2711
|
return !1;
|
|
2712
2712
|
}
|
|
2713
|
-
function
|
|
2713
|
+
function Zo(e, t, i) {
|
|
2714
2714
|
const n = Object.keys(t);
|
|
2715
2715
|
if (n.length !== Object.keys(e).length)
|
|
2716
2716
|
return !0;
|
|
@@ -2730,13 +2730,13 @@ function uu({ vnode: e, parent: t }, i) {
|
|
|
2730
2730
|
break;
|
|
2731
2731
|
}
|
|
2732
2732
|
}
|
|
2733
|
-
const
|
|
2733
|
+
const Jl = {}, Ql = () => Object.create(Jl), Zl = (e) => Object.getPrototypeOf(e) === Jl;
|
|
2734
2734
|
function fu(e, t, i, n = !1) {
|
|
2735
|
-
const s = {}, r =
|
|
2736
|
-
e.propsDefaults = /* @__PURE__ */ Object.create(null),
|
|
2735
|
+
const s = {}, r = Ql();
|
|
2736
|
+
e.propsDefaults = /* @__PURE__ */ Object.create(null), tc(e, t, s, r);
|
|
2737
2737
|
for (const o in e.propsOptions[0])
|
|
2738
2738
|
o in s || (s[o] = void 0);
|
|
2739
|
-
process.env.NODE_ENV !== "production" &&
|
|
2739
|
+
process.env.NODE_ENV !== "production" && ic(t || {}, s, e), i ? e.props = n ? s : id(s) : e.type.props ? e.props = s : e.props = r, e.attrs = r;
|
|
2740
2740
|
}
|
|
2741
2741
|
function pu(e) {
|
|
2742
2742
|
for (; e; ) {
|
|
@@ -2783,7 +2783,7 @@ function gu(e, t, i, n) {
|
|
|
2783
2783
|
}
|
|
2784
2784
|
}
|
|
2785
2785
|
} else {
|
|
2786
|
-
|
|
2786
|
+
tc(e, t, s, r) && (c = !0);
|
|
2787
2787
|
let h;
|
|
2788
2788
|
for (const d in a)
|
|
2789
2789
|
(!t || // for camelCase
|
|
@@ -2803,9 +2803,9 @@ function gu(e, t, i, n) {
|
|
|
2803
2803
|
for (const d in r)
|
|
2804
2804
|
(!t || !lt(t, d)) && (delete r[d], c = !0);
|
|
2805
2805
|
}
|
|
2806
|
-
c && xe(e.attrs, "set", ""), process.env.NODE_ENV !== "production" &&
|
|
2806
|
+
c && xe(e.attrs, "set", ""), process.env.NODE_ENV !== "production" && ic(t || {}, s, e);
|
|
2807
2807
|
}
|
|
2808
|
-
function
|
|
2808
|
+
function tc(e, t, i, n) {
|
|
2809
2809
|
const [s, r] = e.propsOptions;
|
|
2810
2810
|
let o = !1, a;
|
|
2811
2811
|
if (t)
|
|
@@ -2864,7 +2864,7 @@ function Ir(e, t, i, n, s, r) {
|
|
|
2864
2864
|
return n;
|
|
2865
2865
|
}
|
|
2866
2866
|
const mu = /* @__PURE__ */ new WeakMap();
|
|
2867
|
-
function
|
|
2867
|
+
function ec(e, t, i = !1) {
|
|
2868
2868
|
const n = i ? mu : t.propsCache, s = n.get(e);
|
|
2869
2869
|
if (s)
|
|
2870
2870
|
return s;
|
|
@@ -2873,7 +2873,7 @@ function ic(e, t, i = !1) {
|
|
|
2873
2873
|
if (!it(e)) {
|
|
2874
2874
|
const h = (d) => {
|
|
2875
2875
|
l = !0;
|
|
2876
|
-
const [u, f] =
|
|
2876
|
+
const [u, f] = ec(d, t, !0);
|
|
2877
2877
|
Ct(o, u), f && a.push(...f);
|
|
2878
2878
|
};
|
|
2879
2879
|
!i && t.mixins.length && t.mixins.forEach(h), e.extends && h(e.extends), e.mixins && e.mixins.forEach(h);
|
|
@@ -2884,13 +2884,13 @@ function ic(e, t, i = !1) {
|
|
|
2884
2884
|
for (let h = 0; h < r.length; h++) {
|
|
2885
2885
|
process.env.NODE_ENV !== "production" && !Nt(r[h]) && U("props must be strings when using array syntax.", r[h]);
|
|
2886
2886
|
const d = Vt(r[h]);
|
|
2887
|
-
|
|
2887
|
+
ta(d) && (o[d] = mt);
|
|
2888
2888
|
}
|
|
2889
2889
|
else if (r) {
|
|
2890
2890
|
process.env.NODE_ENV !== "production" && !ut(r) && U("invalid props options", r);
|
|
2891
2891
|
for (const h in r) {
|
|
2892
2892
|
const d = Vt(h);
|
|
2893
|
-
if (
|
|
2893
|
+
if (ta(d)) {
|
|
2894
2894
|
const u = r[h], f = o[d] = Q(u) || it(u) ? { type: u } : Ct({}, u), p = f.type;
|
|
2895
2895
|
let _ = !1, b = !0;
|
|
2896
2896
|
if (Q(p))
|
|
@@ -2916,13 +2916,13 @@ function ic(e, t, i = !1) {
|
|
|
2916
2916
|
const c = [o, a];
|
|
2917
2917
|
return ut(e) && n.set(e, c), c;
|
|
2918
2918
|
}
|
|
2919
|
-
function
|
|
2919
|
+
function ta(e) {
|
|
2920
2920
|
return e[0] !== "$" && !En(e) ? !0 : (process.env.NODE_ENV !== "production" && U(`Invalid prop name: "${e}" is a reserved property.`), !1);
|
|
2921
2921
|
}
|
|
2922
2922
|
function _u(e) {
|
|
2923
2923
|
return e === null ? "null" : typeof e == "function" ? e.name || "" : typeof e == "object" && e.constructor && e.constructor.name || "";
|
|
2924
2924
|
}
|
|
2925
|
-
function
|
|
2925
|
+
function ic(e, t, i) {
|
|
2926
2926
|
const n = rt(t), s = i.propsOptions[0], r = Object.keys(e).map((o) => Vt(o));
|
|
2927
2927
|
for (const o in s) {
|
|
2928
2928
|
let a = s[o];
|
|
@@ -2978,29 +2978,29 @@ function Eu(e, t, i) {
|
|
|
2978
2978
|
if (i.length === 0)
|
|
2979
2979
|
return `Prop type [] for prop "${e}" won't match anything. Did you mean to use type Array instead?`;
|
|
2980
2980
|
let n = `Invalid prop: type check failed for prop "${e}". Expected ${i.map(wi).join(" | ")}`;
|
|
2981
|
-
const s = i[0], r =
|
|
2982
|
-
return i.length === 1 &&
|
|
2981
|
+
const s = i[0], r = eo(t), o = ea(t, s), a = ea(t, r);
|
|
2982
|
+
return i.length === 1 && ia(s) && !Su(s, r) && (n += ` with value ${o}`), n += `, got ${r} `, ia(r) && (n += `with value ${a}.`), n;
|
|
2983
2983
|
}
|
|
2984
|
-
function
|
|
2984
|
+
function ea(e, t) {
|
|
2985
2985
|
return t === "String" ? `"${e}"` : t === "Number" ? `${Number(e)}` : `${e}`;
|
|
2986
2986
|
}
|
|
2987
|
-
function
|
|
2987
|
+
function ia(e) {
|
|
2988
2988
|
return ["string", "number", "boolean"].some((i) => e.toLowerCase() === i);
|
|
2989
2989
|
}
|
|
2990
2990
|
function Su(...e) {
|
|
2991
2991
|
return e.some((t) => t.toLowerCase() === "boolean");
|
|
2992
2992
|
}
|
|
2993
|
-
const
|
|
2993
|
+
const Eo = (e) => e === "_" || e === "_ctx" || e === "$stable", So = (e) => Q(e) ? e.map(ce) : [ce(e)], wu = (e, t, i) => {
|
|
2994
2994
|
if (t._n)
|
|
2995
2995
|
return t;
|
|
2996
2996
|
const n = pn((...s) => (process.env.NODE_ENV !== "production" && Rt && !(i === null && Gt) && !(i && i.root !== Rt.root) && U(
|
|
2997
2997
|
`Slot "${e}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`
|
|
2998
|
-
),
|
|
2998
|
+
), So(t(...s))), i);
|
|
2999
2999
|
return n._c = !1, n;
|
|
3000
|
-
},
|
|
3000
|
+
}, nc = (e, t, i) => {
|
|
3001
3001
|
const n = e._ctx;
|
|
3002
3002
|
for (const s in e) {
|
|
3003
|
-
if (
|
|
3003
|
+
if (Eo(s)) continue;
|
|
3004
3004
|
const r = e[s];
|
|
3005
3005
|
if (it(r))
|
|
3006
3006
|
t[s] = wu(s, r, n);
|
|
@@ -3008,35 +3008,35 @@ const So = (e) => e === "_" || e === "_ctx" || e === "$stable", wo = (e) => Q(e)
|
|
|
3008
3008
|
process.env.NODE_ENV !== "production" && U(
|
|
3009
3009
|
`Non-function value encountered for slot "${s}". Prefer function slots for better performance.`
|
|
3010
3010
|
);
|
|
3011
|
-
const o =
|
|
3011
|
+
const o = So(r);
|
|
3012
3012
|
t[s] = () => o;
|
|
3013
3013
|
}
|
|
3014
3014
|
}
|
|
3015
|
-
},
|
|
3016
|
-
process.env.NODE_ENV !== "production" && !
|
|
3015
|
+
}, sc = (e, t) => {
|
|
3016
|
+
process.env.NODE_ENV !== "production" && !go(e.vnode) && U(
|
|
3017
3017
|
"Non-function value encountered for default slot. Prefer function slots for better performance."
|
|
3018
3018
|
);
|
|
3019
|
-
const i =
|
|
3019
|
+
const i = So(t);
|
|
3020
3020
|
e.slots.default = () => i;
|
|
3021
3021
|
}, Dr = (e, t, i) => {
|
|
3022
3022
|
for (const n in t)
|
|
3023
|
-
(i || !
|
|
3023
|
+
(i || !Eo(n)) && (e[n] = t[n]);
|
|
3024
3024
|
}, xu = (e, t, i) => {
|
|
3025
|
-
const n = e.slots =
|
|
3025
|
+
const n = e.slots = Ql();
|
|
3026
3026
|
if (e.vnode.shapeFlag & 32) {
|
|
3027
3027
|
const s = t._;
|
|
3028
|
-
s ? (Dr(n, t, i), i && xs(n, "_", s, !0)) :
|
|
3029
|
-
} else t &&
|
|
3028
|
+
s ? (Dr(n, t, i), i && xs(n, "_", s, !0)) : nc(t, n);
|
|
3029
|
+
} else t && sc(e, t);
|
|
3030
3030
|
}, Cu = (e, t, i) => {
|
|
3031
3031
|
const { vnode: n, slots: s } = e;
|
|
3032
3032
|
let r = !0, o = mt;
|
|
3033
3033
|
if (n.shapeFlag & 32) {
|
|
3034
3034
|
const a = t._;
|
|
3035
|
-
a ? process.env.NODE_ENV !== "production" && Ne ? (Dr(s, t, i), xe(e, "set", "$slots")) : i && a === 1 ? r = !1 : Dr(s, t, i) : (r = !t.$stable,
|
|
3036
|
-
} else t && (
|
|
3035
|
+
a ? process.env.NODE_ENV !== "production" && Ne ? (Dr(s, t, i), xe(e, "set", "$slots")) : i && a === 1 ? r = !1 : Dr(s, t, i) : (r = !t.$stable, nc(t, s)), o = t;
|
|
3036
|
+
} else t && (sc(e, t), o = { default: 1 });
|
|
3037
3037
|
if (r)
|
|
3038
3038
|
for (const a in s)
|
|
3039
|
-
!
|
|
3039
|
+
!Eo(a) && o[a] == null && delete s[a];
|
|
3040
3040
|
};
|
|
3041
3041
|
let nn, Le;
|
|
3042
3042
|
function Ii(e, t) {
|
|
@@ -3070,7 +3070,7 @@ function Tu(e) {
|
|
|
3070
3070
|
function ku(e, t) {
|
|
3071
3071
|
Nu();
|
|
3072
3072
|
const i = Hn();
|
|
3073
|
-
i.__VUE__ = !0, process.env.NODE_ENV !== "production" &&
|
|
3073
|
+
i.__VUE__ = !0, process.env.NODE_ENV !== "production" && uo(i.__VUE_DEVTOOLS_GLOBAL_HOOK__, i);
|
|
3074
3074
|
const {
|
|
3075
3075
|
insert: n,
|
|
3076
3076
|
remove: s,
|
|
@@ -3255,7 +3255,7 @@ function ku(e, t) {
|
|
|
3255
3255
|
f(g, F[M]);
|
|
3256
3256
|
if (R) {
|
|
3257
3257
|
let M = R.subTree;
|
|
3258
|
-
if (process.env.NODE_ENV !== "production" && M.patchFlag > 0 && M.patchFlag & 2048 && (M =
|
|
3258
|
+
if (process.env.NODE_ENV !== "production" && M.patchFlag > 0 && M.patchFlag & 2048 && (M = yo(M.children) || M), v === M || oc(M.type) && (M.ssContent === v || M.ssFallback === v)) {
|
|
3259
3259
|
const Y = R.vnode;
|
|
3260
3260
|
x(
|
|
3261
3261
|
g,
|
|
@@ -3439,7 +3439,7 @@ function ku(e, t) {
|
|
|
3439
3439
|
F,
|
|
3440
3440
|
R
|
|
3441
3441
|
);
|
|
3442
|
-
if (process.env.NODE_ENV !== "production" && j.type.__hmrId && vd(j), process.env.NODE_ENV !== "production" && (us(g), Ii(j, "mount")),
|
|
3442
|
+
if (process.env.NODE_ENV !== "production" && j.type.__hmrId && vd(j), process.env.NODE_ENV !== "production" && (us(g), Ii(j, "mount")), go(g) && (j.ctx.renderer = Zi), process.env.NODE_ENV !== "production" && Ii(j, "init"), Hu(j, !1, Y), process.env.NODE_ENV !== "production" && Di(j, "init"), process.env.NODE_ENV !== "production" && Ne && (g.el = null), j.asyncDep) {
|
|
3443
3443
|
if (R && R.registerDep(j, B, Y), !g.el) {
|
|
3444
3444
|
const $ = j.subTree = kt(ee);
|
|
3445
3445
|
S(null, $, v, k), g.placeholder = $.el;
|
|
@@ -3470,7 +3470,7 @@ function ku(e, t) {
|
|
|
3470
3470
|
if (g.isMounted) {
|
|
3471
3471
|
let { next: q, bu: tt, u: st, parent: ht, vnode: vt } = g;
|
|
3472
3472
|
{
|
|
3473
|
-
const be =
|
|
3473
|
+
const be = rc(g);
|
|
3474
3474
|
if (be) {
|
|
3475
3475
|
q && (q.el = vt.el, D(g, q, Y)), be.asyncDep.then(() => {
|
|
3476
3476
|
g.isUnmounted || j();
|
|
@@ -3480,7 +3480,7 @@ function ku(e, t) {
|
|
|
3480
3480
|
}
|
|
3481
3481
|
let _t = q, jt;
|
|
3482
3482
|
process.env.NODE_ENV !== "production" && us(q || g.vnode), ci(g, !1), q ? (q.el = vt.el, D(g, q, Y)) : q = vt, tt && Gi(tt), (jt = q.props && q.props.onVnodeBeforeUpdate) && Ee(jt, ht, q, vt), ci(g, !0), process.env.NODE_ENV !== "production" && Ii(g, "render");
|
|
3483
|
-
const Xt =
|
|
3483
|
+
const Xt = Jo(g);
|
|
3484
3484
|
process.env.NODE_ENV !== "production" && Di(g, "render");
|
|
3485
3485
|
const ve = g.subTree;
|
|
3486
3486
|
g.subTree = Xt, process.env.NODE_ENV !== "production" && Ii(g, "patch"), _(
|
|
@@ -3496,7 +3496,7 @@ function ku(e, t) {
|
|
|
3496
3496
|
), process.env.NODE_ENV !== "production" && Di(g, "patch"), q.el = Xt.el, _t === null && uu(g, Xt.el), st && Kt(st, R), (jt = q.props && q.props.onVnodeUpdated) && Kt(
|
|
3497
3497
|
() => Ee(jt, ht, q, vt),
|
|
3498
3498
|
R
|
|
3499
|
-
), process.env.NODE_ENV !== "production" &&
|
|
3499
|
+
), process.env.NODE_ENV !== "production" && Dl(g), process.env.NODE_ENV !== "production" && fs();
|
|
3500
3500
|
} else {
|
|
3501
3501
|
let q;
|
|
3502
3502
|
const { el: tt, props: st } = v, { bm: ht, m: vt, parent: _t, root: jt, type: Xt } = g, ve = Cn(v);
|
|
@@ -3504,7 +3504,7 @@ function ku(e, t) {
|
|
|
3504
3504
|
{
|
|
3505
3505
|
jt.ce && // @ts-expect-error _def is private
|
|
3506
3506
|
jt.ce._def.shadowRoot !== !1 && jt.ce._injectChildStyle(Xt), process.env.NODE_ENV !== "production" && Ii(g, "render");
|
|
3507
|
-
const be = g.subTree =
|
|
3507
|
+
const be = g.subTree = Jo(g);
|
|
3508
3508
|
process.env.NODE_ENV !== "production" && Di(g, "render"), process.env.NODE_ENV !== "production" && Ii(g, "patch"), _(
|
|
3509
3509
|
null,
|
|
3510
3510
|
be,
|
|
@@ -3526,14 +3526,14 @@ function ku(e, t) {
|
|
|
3526
3526
|
}
|
|
3527
3527
|
};
|
|
3528
3528
|
g.scope.on();
|
|
3529
|
-
const $ = g.effect = new
|
|
3529
|
+
const $ = g.effect = new dl(j);
|
|
3530
3530
|
g.scope.off();
|
|
3531
3531
|
const I = g.update = $.run.bind($), et = g.job = $.runIfDirty.bind($);
|
|
3532
3532
|
et.i = g, et.id = g.uid, $.scheduler = () => qs(et), ci(g, !0), process.env.NODE_ENV !== "production" && ($.onTrack = g.rtc ? (q) => Gi(g.rtc, q) : void 0, $.onTrigger = g.rtg ? (q) => Gi(g.rtg, q) : void 0), I();
|
|
3533
3533
|
}, D = (g, v, k) => {
|
|
3534
3534
|
v.component = g;
|
|
3535
3535
|
const F = g.vnode.props;
|
|
3536
|
-
g.vnode = v, g.next = null, gu(g, v.props, F, k), Cu(g, v.children, k), fe(),
|
|
3536
|
+
g.vnode = v, g.next = null, gu(g, v.props, F, k), Cu(g, v.children, k), fe(), $o(g), pe();
|
|
3537
3537
|
}, nt = (g, v, k, F, R, M, Y, j, $ = !1) => {
|
|
3538
3538
|
const I = g && g.children, et = g ? g.shapeFlag : 0, q = v.children, { patchFlag: tt, shapeFlag: st } = v;
|
|
3539
3539
|
if (tt > 0) {
|
|
@@ -3722,23 +3722,23 @@ function ku(e, t) {
|
|
|
3722
3722
|
$
|
|
3723
3723
|
), jt++);
|
|
3724
3724
|
}
|
|
3725
|
-
const
|
|
3726
|
-
for (_t =
|
|
3727
|
-
const Bt = ht + I, ye = v[Bt],
|
|
3725
|
+
const Mo = ve ? Pu(tn) : $i;
|
|
3726
|
+
for (_t = Mo.length - 1, I = Xt - 1; I >= 0; I--) {
|
|
3727
|
+
const Bt = ht + I, ye = v[Bt], Lo = v[Bt + 1], Io = Bt + 1 < et ? (
|
|
3728
3728
|
// #13559, fallback to el placeholder for unresolved async component
|
|
3729
|
-
|
|
3729
|
+
Lo.el || Lo.placeholder
|
|
3730
3730
|
) : F;
|
|
3731
3731
|
tn[I] === 0 ? _(
|
|
3732
3732
|
null,
|
|
3733
3733
|
ye,
|
|
3734
3734
|
k,
|
|
3735
|
-
|
|
3735
|
+
Io,
|
|
3736
3736
|
R,
|
|
3737
3737
|
M,
|
|
3738
3738
|
Y,
|
|
3739
3739
|
j,
|
|
3740
3740
|
$
|
|
3741
|
-
) : ve && (_t < 0 || I !==
|
|
3741
|
+
) : ve && (_t < 0 || I !== Mo[_t] ? ft(ye, k, Io, 2) : _t--);
|
|
3742
3742
|
}
|
|
3743
3743
|
}
|
|
3744
3744
|
}, ft = (g, v, k, F, R = null) => {
|
|
@@ -3860,7 +3860,7 @@ function ku(e, t) {
|
|
|
3860
3860
|
}, Ri = (g, v, k) => {
|
|
3861
3861
|
process.env.NODE_ENV !== "production" && g.type.__hmrId && bd(g);
|
|
3862
3862
|
const { bum: F, scope: R, job: M, subTree: Y, um: j, m: $, a: I } = g;
|
|
3863
|
-
|
|
3863
|
+
na($), na(I), F && Gi(F), R.stop(), M && (M.flags |= 8, Tt(Y, g, v, k)), j && Kt(j, v), Kt(() => {
|
|
3864
3864
|
g.isUnmounted = !0;
|
|
3865
3865
|
}, v), process.env.NODE_ENV !== "production" && Nd(g);
|
|
3866
3866
|
}, re = (g, v, k, F = !1, R = !1, M = 0) => {
|
|
@@ -3875,7 +3875,7 @@ function ku(e, t) {
|
|
|
3875
3875
|
return k ? u(k) : v;
|
|
3876
3876
|
};
|
|
3877
3877
|
let sr = !1;
|
|
3878
|
-
const
|
|
3878
|
+
const Ro = (g, v, k) => {
|
|
3879
3879
|
g == null ? v._vnode && Tt(v._vnode, null, null, !0) : _(
|
|
3880
3880
|
v._vnode || null,
|
|
3881
3881
|
g,
|
|
@@ -3884,7 +3884,7 @@ function ku(e, t) {
|
|
|
3884
3884
|
null,
|
|
3885
3885
|
null,
|
|
3886
3886
|
k
|
|
3887
|
-
), v._vnode = g, sr || (sr = !0,
|
|
3887
|
+
), v._vnode = g, sr || (sr = !0, $o(), Ml(), sr = !1);
|
|
3888
3888
|
}, Zi = {
|
|
3889
3889
|
p: _,
|
|
3890
3890
|
um: Tt,
|
|
@@ -3898,9 +3898,9 @@ function ku(e, t) {
|
|
|
3898
3898
|
o: e
|
|
3899
3899
|
};
|
|
3900
3900
|
return {
|
|
3901
|
-
render:
|
|
3901
|
+
render: Ro,
|
|
3902
3902
|
hydrate: void 0,
|
|
3903
|
-
createApp: eu(
|
|
3903
|
+
createApp: eu(Ro)
|
|
3904
3904
|
};
|
|
3905
3905
|
}
|
|
3906
3906
|
function ur({ type: e, props: t }, i) {
|
|
@@ -3942,19 +3942,19 @@ function Pu(e) {
|
|
|
3942
3942
|
i[r] = o, o = t[o];
|
|
3943
3943
|
return i;
|
|
3944
3944
|
}
|
|
3945
|
-
function
|
|
3945
|
+
function rc(e) {
|
|
3946
3946
|
const t = e.subTree.component;
|
|
3947
3947
|
if (t)
|
|
3948
|
-
return t.asyncDep && !t.asyncResolved ? t :
|
|
3948
|
+
return t.asyncDep && !t.asyncResolved ? t : rc(t);
|
|
3949
3949
|
}
|
|
3950
|
-
function
|
|
3950
|
+
function na(e) {
|
|
3951
3951
|
if (e)
|
|
3952
3952
|
for (let t = 0; t < e.length; t++)
|
|
3953
3953
|
e[t].flags |= 8;
|
|
3954
3954
|
}
|
|
3955
|
-
const
|
|
3955
|
+
const oc = (e) => e.__isSuspense;
|
|
3956
3956
|
function Au(e, t) {
|
|
3957
|
-
t && t.pendingBranch ? Q(e) ? t.effects.push(...e) : t.effects.push(e) :
|
|
3957
|
+
t && t.pendingBranch ? Q(e) ? t.effects.push(...e) : t.effects.push(e) : Rl(e);
|
|
3958
3958
|
}
|
|
3959
3959
|
const Ft = Symbol.for("v-fgt"), jn = Symbol.for("v-txt"), ee = Symbol.for("v-cmt"), vs = Symbol.for("v-stc"), Nn = [];
|
|
3960
3960
|
let te = null;
|
|
@@ -3968,11 +3968,11 @@ let In = 1;
|
|
|
3968
3968
|
function Ls(e, t = !1) {
|
|
3969
3969
|
In += e, e < 0 && te && t && (te.hasOnce = !0);
|
|
3970
3970
|
}
|
|
3971
|
-
function
|
|
3971
|
+
function ac(e) {
|
|
3972
3972
|
return e.dynamicChildren = In > 0 ? te || $i : null, Ru(), In > 0 && te && te.push(e), e;
|
|
3973
3973
|
}
|
|
3974
3974
|
function xt(e, t, i, n, s, r) {
|
|
3975
|
-
return
|
|
3975
|
+
return ac(
|
|
3976
3976
|
St(
|
|
3977
3977
|
e,
|
|
3978
3978
|
t,
|
|
@@ -3985,7 +3985,7 @@ function xt(e, t, i, n, s, r) {
|
|
|
3985
3985
|
);
|
|
3986
3986
|
}
|
|
3987
3987
|
function Ke(e, t, i, n, s) {
|
|
3988
|
-
return
|
|
3988
|
+
return ac(
|
|
3989
3989
|
kt(
|
|
3990
3990
|
e,
|
|
3991
3991
|
t,
|
|
@@ -4007,9 +4007,9 @@ function sn(e, t) {
|
|
|
4007
4007
|
}
|
|
4008
4008
|
return e.type === t.type && e.key === t.key;
|
|
4009
4009
|
}
|
|
4010
|
-
const Mu = (...e) =>
|
|
4010
|
+
const Mu = (...e) => cc(
|
|
4011
4011
|
...e
|
|
4012
|
-
),
|
|
4012
|
+
), lc = ({ key: e }) => e ?? null, bs = ({
|
|
4013
4013
|
ref: e,
|
|
4014
4014
|
ref_key: t,
|
|
4015
4015
|
ref_for: i
|
|
@@ -4020,9 +4020,9 @@ function St(e, t = null, i = null, n = 0, s = null, r = e === Ft ? 0 : 1, o = !1
|
|
|
4020
4020
|
__v_skip: !0,
|
|
4021
4021
|
type: e,
|
|
4022
4022
|
props: t,
|
|
4023
|
-
key: t &&
|
|
4023
|
+
key: t && lc(t),
|
|
4024
4024
|
ref: t && bs(t),
|
|
4025
|
-
scopeId:
|
|
4025
|
+
scopeId: Fl,
|
|
4026
4026
|
slotScopeIds: null,
|
|
4027
4027
|
children: i,
|
|
4028
4028
|
component: null,
|
|
@@ -4044,7 +4044,7 @@ function St(e, t = null, i = null, n = 0, s = null, r = e === Ft ? 0 : 1, o = !1
|
|
|
4044
4044
|
appContext: null,
|
|
4045
4045
|
ctx: Gt
|
|
4046
4046
|
};
|
|
4047
|
-
return a ? (
|
|
4047
|
+
return a ? (wo(l, i), r & 128 && e.normalize(l)) : i && (l.shapeFlag |= Nt(i) ? 8 : 16), process.env.NODE_ENV !== "production" && l.key !== l.key && U("VNode created with invalid key (NaN). VNode type:", l.type), In > 0 && // avoid a block node from tracking itself
|
|
4048
4048
|
!o && // has current parent block
|
|
4049
4049
|
te && // presence of a patch flag indicates this node needs patching on updates.
|
|
4050
4050
|
// component nodes also should always be patched, because even if the
|
|
@@ -4054,8 +4054,8 @@ function St(e, t = null, i = null, n = 0, s = null, r = e === Ft ? 0 : 1, o = !1
|
|
|
4054
4054
|
// vnode should not be considered dynamic due to handler caching.
|
|
4055
4055
|
l.patchFlag !== 32 && te.push(l), l;
|
|
4056
4056
|
}
|
|
4057
|
-
const kt = process.env.NODE_ENV !== "production" ? Mu :
|
|
4058
|
-
function
|
|
4057
|
+
const kt = process.env.NODE_ENV !== "production" ? Mu : cc;
|
|
4058
|
+
function cc(e, t = null, i = null, n = 0, s = null, r = !1) {
|
|
4059
4059
|
if ((!e || e === Wd) && (process.env.NODE_ENV !== "production" && !e && U(`Invalid vnode type when creating vnode: ${e}.`), e = ee), Xi(e)) {
|
|
4060
4060
|
const a = ei(
|
|
4061
4061
|
e,
|
|
@@ -4063,14 +4063,14 @@ function hc(e, t = null, i = null, n = 0, s = null, r = !1) {
|
|
|
4063
4063
|
!0
|
|
4064
4064
|
/* mergeRef: true */
|
|
4065
4065
|
);
|
|
4066
|
-
return i &&
|
|
4066
|
+
return i && wo(a, i), In > 0 && !r && te && (a.shapeFlag & 6 ? te[te.indexOf(e)] = a : te.push(a)), a.patchFlag = -2, a;
|
|
4067
4067
|
}
|
|
4068
|
-
if (
|
|
4068
|
+
if (fc(e) && (e = e.__vccOpts), t) {
|
|
4069
4069
|
t = Lu(t);
|
|
4070
4070
|
let { class: a, style: l } = t;
|
|
4071
|
-
a && !Nt(a) && (t.class = Ki(a)), ut(l) && (Cs(l) && !Q(l) && (l = Ct({}, l)), t.style =
|
|
4071
|
+
a && !Nt(a) && (t.class = Ki(a)), ut(l) && (Cs(l) && !Q(l) && (l = Ct({}, l)), t.style = no(l));
|
|
4072
4072
|
}
|
|
4073
|
-
const o = Nt(e) ? 1 :
|
|
4073
|
+
const o = Nt(e) ? 1 : oc(e) ? 128 : Ad(e) ? 64 : ut(e) ? 4 : it(e) ? 2 : 0;
|
|
4074
4074
|
return process.env.NODE_ENV !== "production" && o & 4 && Cs(e) && (e = rt(e), U(
|
|
4075
4075
|
"Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",
|
|
4076
4076
|
`
|
|
@@ -4088,7 +4088,7 @@ Component that was made reactive: `,
|
|
|
4088
4088
|
);
|
|
4089
4089
|
}
|
|
4090
4090
|
function Lu(e) {
|
|
4091
|
-
return e ? Cs(e) ||
|
|
4091
|
+
return e ? Cs(e) || Zl(e) ? Ct({}, e) : e : null;
|
|
4092
4092
|
}
|
|
4093
4093
|
function ei(e, t, i = !1, n = !1) {
|
|
4094
4094
|
const { props: s, ref: r, patchFlag: o, children: a, transition: l } = e, c = t ? Du(s || {}, t) : s, h = {
|
|
@@ -4096,7 +4096,7 @@ function ei(e, t, i = !1, n = !1) {
|
|
|
4096
4096
|
__v_skip: !0,
|
|
4097
4097
|
type: e.type,
|
|
4098
4098
|
props: c,
|
|
4099
|
-
key: c &&
|
|
4099
|
+
key: c && lc(c),
|
|
4100
4100
|
ref: t && t.ref ? (
|
|
4101
4101
|
// #2078 in the case of <component :is="vnode" ref="extra"/>
|
|
4102
4102
|
// if the vnode itself already has a ref, cloneVNode will need to merge
|
|
@@ -4105,7 +4105,7 @@ function ei(e, t, i = !1, n = !1) {
|
|
|
4105
4105
|
) : r,
|
|
4106
4106
|
scopeId: e.scopeId,
|
|
4107
4107
|
slotScopeIds: e.slotScopeIds,
|
|
4108
|
-
children: process.env.NODE_ENV !== "production" && o === -1 && Q(a) ? a.map(
|
|
4108
|
+
children: process.env.NODE_ENV !== "production" && o === -1 && Q(a) ? a.map(hc) : a,
|
|
4109
4109
|
target: e.target,
|
|
4110
4110
|
targetStart: e.targetStart,
|
|
4111
4111
|
targetAnchor: e.targetAnchor,
|
|
@@ -4135,14 +4135,14 @@ function ei(e, t, i = !1, n = !1) {
|
|
|
4135
4135
|
ctx: e.ctx,
|
|
4136
4136
|
ce: e.ce
|
|
4137
4137
|
};
|
|
4138
|
-
return l && n &&
|
|
4138
|
+
return l && n && po(
|
|
4139
4139
|
h,
|
|
4140
4140
|
l.clone(h)
|
|
4141
4141
|
), h;
|
|
4142
4142
|
}
|
|
4143
|
-
function
|
|
4143
|
+
function hc(e) {
|
|
4144
4144
|
const t = ei(e);
|
|
4145
|
-
return Q(e.children) && (t.children = e.children.map(
|
|
4145
|
+
return Q(e.children) && (t.children = e.children.map(hc)), t;
|
|
4146
4146
|
}
|
|
4147
4147
|
function Iu(e = " ", t = 0) {
|
|
4148
4148
|
return kt(jn, null, e, t);
|
|
@@ -4161,7 +4161,7 @@ function ce(e) {
|
|
|
4161
4161
|
function qe(e) {
|
|
4162
4162
|
return e.el === null && e.patchFlag !== -1 || e.memo ? e : ei(e);
|
|
4163
4163
|
}
|
|
4164
|
-
function
|
|
4164
|
+
function wo(e, t) {
|
|
4165
4165
|
let i = 0;
|
|
4166
4166
|
const { shapeFlag: n } = e;
|
|
4167
4167
|
if (t == null)
|
|
@@ -4171,12 +4171,12 @@ function xo(e, t) {
|
|
|
4171
4171
|
else if (typeof t == "object")
|
|
4172
4172
|
if (n & 65) {
|
|
4173
4173
|
const s = t.default;
|
|
4174
|
-
s && (s._c && (s._d = !1),
|
|
4174
|
+
s && (s._c && (s._d = !1), wo(e, s()), s._c && (s._d = !0));
|
|
4175
4175
|
return;
|
|
4176
4176
|
} else {
|
|
4177
4177
|
i = 32;
|
|
4178
4178
|
const s = t._;
|
|
4179
|
-
!s && !
|
|
4179
|
+
!s && !Zl(t) ? t._ctx = Gt : s === 3 && Gt && (Gt.slots._ === 1 ? t._ = 1 : (t._ = 2, e.patchFlag |= 1024));
|
|
4180
4180
|
}
|
|
4181
4181
|
else it(t) ? (t = { default: t, _ctx: Gt }, i = 32) : (t = String(t), n & 64 ? (i = 16, t = [Iu(t)]) : i = 8);
|
|
4182
4182
|
e.children = t, e.shapeFlag |= i;
|
|
@@ -4189,7 +4189,7 @@ function Du(...e) {
|
|
|
4189
4189
|
if (s === "class")
|
|
4190
4190
|
t.class !== n.class && (t.class = Ki([t.class, n.class]));
|
|
4191
4191
|
else if (s === "style")
|
|
4192
|
-
t.style =
|
|
4192
|
+
t.style = no([t.style, n.style]);
|
|
4193
4193
|
else if (Gn(s)) {
|
|
4194
4194
|
const r = t[s], o = n[s];
|
|
4195
4195
|
o && r !== o && !(Q(r) && r.includes(o)) && (t[s] = r ? [].concat(r, o) : o);
|
|
@@ -4203,7 +4203,7 @@ function Ee(e, t, i, n = null) {
|
|
|
4203
4203
|
n
|
|
4204
4204
|
]);
|
|
4205
4205
|
}
|
|
4206
|
-
const Vu =
|
|
4206
|
+
const Vu = Xl();
|
|
4207
4207
|
let Fu = 0;
|
|
4208
4208
|
function Gu(e, t, i) {
|
|
4209
4209
|
const n = e.type, s = (t ? t.appContext : e.appContext) || Vu, r = {
|
|
@@ -4238,8 +4238,8 @@ function Gu(e, t, i) {
|
|
|
4238
4238
|
components: null,
|
|
4239
4239
|
directives: null,
|
|
4240
4240
|
// resolved props and emits options
|
|
4241
|
-
propsOptions:
|
|
4242
|
-
emitsOptions:
|
|
4241
|
+
propsOptions: ec(n, s),
|
|
4242
|
+
emitsOptions: ql(n, s),
|
|
4243
4243
|
// emit
|
|
4244
4244
|
emit: null,
|
|
4245
4245
|
// to be set immediately
|
|
@@ -4307,7 +4307,7 @@ const Xn = (e) => {
|
|
|
4307
4307
|
return Ds(e), e.scope.on(), () => {
|
|
4308
4308
|
e.scope.off(), Ds(t);
|
|
4309
4309
|
};
|
|
4310
|
-
},
|
|
4310
|
+
}, sa = () => {
|
|
4311
4311
|
Rt && Rt.scope.off(), Ds(null);
|
|
4312
4312
|
}, Bu = /* @__PURE__ */ Ge("slot,component");
|
|
4313
4313
|
function Fr(e, { isNativeTag: t }) {
|
|
@@ -4315,13 +4315,13 @@ function Fr(e, { isNativeTag: t }) {
|
|
|
4315
4315
|
"Do not use built-in or reserved HTML elements as component id: " + e
|
|
4316
4316
|
);
|
|
4317
4317
|
}
|
|
4318
|
-
function
|
|
4318
|
+
function dc(e) {
|
|
4319
4319
|
return e.vnode.shapeFlag & 4;
|
|
4320
4320
|
}
|
|
4321
4321
|
let Dn = !1;
|
|
4322
4322
|
function Hu(e, t = !1, i = !1) {
|
|
4323
4323
|
t && Vr(t);
|
|
4324
|
-
const { props: n, children: s } = e.vnode, r =
|
|
4324
|
+
const { props: n, children: s } = e.vnode, r = dc(e);
|
|
4325
4325
|
fu(e, n, r, t), xu(e, s, i || t);
|
|
4326
4326
|
const o = r ? $u(e, t) : void 0;
|
|
4327
4327
|
return t && Vr(!1), o;
|
|
@@ -4337,13 +4337,13 @@ function $u(e, t) {
|
|
|
4337
4337
|
if (i.directives) {
|
|
4338
4338
|
const s = Object.keys(i.directives);
|
|
4339
4339
|
for (let r = 0; r < s.length; r++)
|
|
4340
|
-
|
|
4340
|
+
Gl(s[r]);
|
|
4341
4341
|
}
|
|
4342
4342
|
i.compilerOptions && Wu() && U(
|
|
4343
4343
|
'"compilerOptions" is only supported when using a build of Vue that includes the runtime compiler. Since you are using a runtime-only build, the options should be passed via your build tool config instead.'
|
|
4344
4344
|
);
|
|
4345
4345
|
}
|
|
4346
|
-
e.accessCache = /* @__PURE__ */ Object.create(null), e.proxy = new Proxy(e.ctx,
|
|
4346
|
+
e.accessCache = /* @__PURE__ */ Object.create(null), e.proxy = new Proxy(e.ctx, Wl), process.env.NODE_ENV !== "production" && Xd(e);
|
|
4347
4347
|
const { setup: n } = i;
|
|
4348
4348
|
if (n) {
|
|
4349
4349
|
fe();
|
|
@@ -4355,11 +4355,11 @@ function $u(e, t) {
|
|
|
4355
4355
|
process.env.NODE_ENV !== "production" ? Ce(e.props) : e.props,
|
|
4356
4356
|
s
|
|
4357
4357
|
]
|
|
4358
|
-
), a =
|
|
4359
|
-
if (pe(), r(), (a || e.sp) && !Cn(e) &&
|
|
4360
|
-
if (o.then(
|
|
4358
|
+
), a = to(o);
|
|
4359
|
+
if (pe(), r(), (a || e.sp) && !Cn(e) && Bl(e), a) {
|
|
4360
|
+
if (o.then(sa, sa), t)
|
|
4361
4361
|
return o.then((l) => {
|
|
4362
|
-
|
|
4362
|
+
ra(e, l, t);
|
|
4363
4363
|
}).catch((l) => {
|
|
4364
4364
|
Wn(l, e, 0);
|
|
4365
4365
|
});
|
|
@@ -4370,19 +4370,19 @@ function $u(e, t) {
|
|
|
4370
4370
|
);
|
|
4371
4371
|
}
|
|
4372
4372
|
} else
|
|
4373
|
-
|
|
4373
|
+
ra(e, o, t);
|
|
4374
4374
|
} else
|
|
4375
|
-
|
|
4375
|
+
uc(e, t);
|
|
4376
4376
|
}
|
|
4377
|
-
function
|
|
4377
|
+
function ra(e, t, i) {
|
|
4378
4378
|
it(t) ? e.type.__ssrInlineRender ? e.ssrRender = t : e.render = t : ut(t) ? (process.env.NODE_ENV !== "production" && Xi(t) && U(
|
|
4379
4379
|
"setup() should not return VNodes directly - return a render function instead."
|
|
4380
|
-
), process.env.NODE_ENV !== "production" && (e.devtoolsRawSetupState = t), e.setupState =
|
|
4380
|
+
), process.env.NODE_ENV !== "production" && (e.devtoolsRawSetupState = t), e.setupState = kl(t), process.env.NODE_ENV !== "production" && zd(e)) : process.env.NODE_ENV !== "production" && t !== void 0 && U(
|
|
4381
4381
|
`setup() should return an object. Received: ${t === null ? "null" : typeof t}`
|
|
4382
|
-
),
|
|
4382
|
+
), uc(e, i);
|
|
4383
4383
|
}
|
|
4384
4384
|
const Wu = () => !0;
|
|
4385
|
-
function
|
|
4385
|
+
function uc(e, t, i) {
|
|
4386
4386
|
const n = e.type;
|
|
4387
4387
|
e.render || (e.render = n.render || It);
|
|
4388
4388
|
{
|
|
@@ -4398,7 +4398,7 @@ function fc(e, t, i) {
|
|
|
4398
4398
|
'Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".'
|
|
4399
4399
|
) : U("Component is missing template or render function: ", n));
|
|
4400
4400
|
}
|
|
4401
|
-
const
|
|
4401
|
+
const oa = process.env.NODE_ENV !== "production" ? {
|
|
4402
4402
|
get(e, t) {
|
|
4403
4403
|
return Rs(), Lt(e, "get", ""), e[t];
|
|
4404
4404
|
},
|
|
@@ -4434,7 +4434,7 @@ function ju(e) {
|
|
|
4434
4434
|
let i, n;
|
|
4435
4435
|
return Object.freeze({
|
|
4436
4436
|
get attrs() {
|
|
4437
|
-
return i || (i = new Proxy(e.attrs,
|
|
4437
|
+
return i || (i = new Proxy(e.attrs, oa));
|
|
4438
4438
|
},
|
|
4439
4439
|
get slots() {
|
|
4440
4440
|
return n || (n = Uu(e));
|
|
@@ -4446,14 +4446,14 @@ function ju(e) {
|
|
|
4446
4446
|
});
|
|
4447
4447
|
} else
|
|
4448
4448
|
return {
|
|
4449
|
-
attrs: new Proxy(e.attrs,
|
|
4449
|
+
attrs: new Proxy(e.attrs, oa),
|
|
4450
4450
|
slots: e.slots,
|
|
4451
4451
|
emit: e.emit,
|
|
4452
4452
|
expose: t
|
|
4453
4453
|
};
|
|
4454
4454
|
}
|
|
4455
4455
|
function Zs(e) {
|
|
4456
|
-
return e.exposed ? e.exposeProxy || (e.exposeProxy = new Proxy(
|
|
4456
|
+
return e.exposed ? e.exposeProxy || (e.exposeProxy = new Proxy(kl(nd(e.exposed)), {
|
|
4457
4457
|
get(t, i) {
|
|
4458
4458
|
if (i in t)
|
|
4459
4459
|
return t[i];
|
|
@@ -4466,11 +4466,11 @@ function Zs(e) {
|
|
|
4466
4466
|
})) : e.proxy;
|
|
4467
4467
|
}
|
|
4468
4468
|
const Xu = /(?:^|[-_])\w/g, zu = (e) => e.replace(Xu, (t) => t.toUpperCase()).replace(/[-_]/g, "");
|
|
4469
|
-
function
|
|
4469
|
+
function xo(e, t = !0) {
|
|
4470
4470
|
return it(e) ? e.displayName || e.name : e.name || t && e.__name;
|
|
4471
4471
|
}
|
|
4472
4472
|
function zn(e, t, i = !1) {
|
|
4473
|
-
let n =
|
|
4473
|
+
let n = xo(t);
|
|
4474
4474
|
if (!n && t.__file) {
|
|
4475
4475
|
const s = t.__file.match(/([^/\\]+)\.\w+$/);
|
|
4476
4476
|
s && (n = s[1]);
|
|
@@ -4487,7 +4487,7 @@ function zn(e, t, i = !1) {
|
|
|
4487
4487
|
}
|
|
4488
4488
|
return n ? zu(n) : i ? "App" : "Anonymous";
|
|
4489
4489
|
}
|
|
4490
|
-
function
|
|
4490
|
+
function fc(e) {
|
|
4491
4491
|
return it(e) && "__vccOpts" in e;
|
|
4492
4492
|
}
|
|
4493
4493
|
const Vs = (e, t) => {
|
|
@@ -4498,7 +4498,7 @@ const Vs = (e, t) => {
|
|
|
4498
4498
|
}
|
|
4499
4499
|
return i;
|
|
4500
4500
|
};
|
|
4501
|
-
function
|
|
4501
|
+
function pc(e, t, i) {
|
|
4502
4502
|
try {
|
|
4503
4503
|
Ls(-1);
|
|
4504
4504
|
const n = arguments.length;
|
|
@@ -4628,20 +4628,20 @@ function Yu() {
|
|
|
4628
4628
|
}
|
|
4629
4629
|
window.devtoolsFormatters ? window.devtoolsFormatters.push(s) : window.devtoolsFormatters = [s];
|
|
4630
4630
|
}
|
|
4631
|
-
const
|
|
4631
|
+
const aa = "3.5.25", ie = process.env.NODE_ENV !== "production" ? U : It;
|
|
4632
4632
|
process.env.NODE_ENV;
|
|
4633
4633
|
process.env.NODE_ENV;
|
|
4634
4634
|
let Gr;
|
|
4635
|
-
const
|
|
4636
|
-
if (
|
|
4635
|
+
const la = typeof window < "u" && window.trustedTypes;
|
|
4636
|
+
if (la)
|
|
4637
4637
|
try {
|
|
4638
|
-
Gr = /* @__PURE__ */
|
|
4638
|
+
Gr = /* @__PURE__ */ la.createPolicy("vue", {
|
|
4639
4639
|
createHTML: (e) => e
|
|
4640
4640
|
});
|
|
4641
4641
|
} catch (e) {
|
|
4642
4642
|
process.env.NODE_ENV !== "production" && ie(`Error creating trusted types policy: ${e}`);
|
|
4643
4643
|
}
|
|
4644
|
-
const
|
|
4644
|
+
const gc = Gr ? (e) => Gr.createHTML(e) : (e) => e, qu = "http://www.w3.org/2000/svg", Ku = "http://www.w3.org/1998/Math/MathML", Me = typeof document < "u" ? document : null, ca = Me && /* @__PURE__ */ Me.createElement("template"), Ju = {
|
|
4645
4645
|
insert: (e, t, i) => {
|
|
4646
4646
|
t.insertBefore(e, i || null);
|
|
4647
4647
|
},
|
|
@@ -4677,10 +4677,10 @@ const mc = Gr ? (e) => Gr.createHTML(e) : (e) => e, qu = "http://www.w3.org/2000
|
|
|
4677
4677
|
for (; t.insertBefore(s.cloneNode(!0), i), !(s === r || !(s = s.nextSibling)); )
|
|
4678
4678
|
;
|
|
4679
4679
|
else {
|
|
4680
|
-
|
|
4680
|
+
ca.innerHTML = gc(
|
|
4681
4681
|
n === "svg" ? `<svg>${e}</svg>` : n === "mathml" ? `<math>${e}</math>` : e
|
|
4682
4682
|
);
|
|
4683
|
-
const a =
|
|
4683
|
+
const a = ca.content;
|
|
4684
4684
|
if (n === "svg" || n === "mathml") {
|
|
4685
4685
|
const l = a.firstChild;
|
|
4686
4686
|
for (; l.firstChild; )
|
|
@@ -4701,7 +4701,7 @@ function Zu(e, t, i) {
|
|
|
4701
4701
|
const n = e[Qu];
|
|
4702
4702
|
n && (t = (t ? [t, ...n] : [...n]).join(" ")), t == null ? e.removeAttribute("class") : i ? e.setAttribute("class", t) : e.className = t;
|
|
4703
4703
|
}
|
|
4704
|
-
const
|
|
4704
|
+
const ha = Symbol("_vod"), tf = Symbol("_vsh"), ef = Symbol(process.env.NODE_ENV !== "production" ? "CSS_VAR_TEXT" : ""), nf = /(?:^|;)\s*display\s*:/;
|
|
4705
4705
|
function sf(e, t, i) {
|
|
4706
4706
|
const n = e.style, s = Nt(i);
|
|
4707
4707
|
let r = !1;
|
|
@@ -4723,9 +4723,9 @@ function sf(e, t, i) {
|
|
|
4723
4723
|
o && (i += ";" + o), n.cssText = i, r = nf.test(i);
|
|
4724
4724
|
}
|
|
4725
4725
|
} else t && e.removeAttribute("style");
|
|
4726
|
-
|
|
4726
|
+
ha in e && (e[ha] = r ? n.display : "", e[tf] && (n.display = "none"));
|
|
4727
4727
|
}
|
|
4728
|
-
const rf = /[^\\];\s*$/,
|
|
4728
|
+
const rf = /[^\\];\s*$/, da = /\s*!important$/;
|
|
4729
4729
|
function ys(e, t, i) {
|
|
4730
4730
|
if (Q(i))
|
|
4731
4731
|
i.forEach((n) => ys(e, t, n));
|
|
@@ -4735,14 +4735,14 @@ function ys(e, t, i) {
|
|
|
4735
4735
|
e.setProperty(t, i);
|
|
4736
4736
|
else {
|
|
4737
4737
|
const n = of(e, t);
|
|
4738
|
-
|
|
4738
|
+
da.test(i) ? e.setProperty(
|
|
4739
4739
|
Qt(n),
|
|
4740
|
-
i.replace(
|
|
4740
|
+
i.replace(da, ""),
|
|
4741
4741
|
"important"
|
|
4742
4742
|
) : e[n] = i;
|
|
4743
4743
|
}
|
|
4744
4744
|
}
|
|
4745
|
-
const
|
|
4745
|
+
const ua = ["Webkit", "Moz", "ms"], fr = {};
|
|
4746
4746
|
function of(e, t) {
|
|
4747
4747
|
const i = fr[t];
|
|
4748
4748
|
if (i)
|
|
@@ -4751,23 +4751,23 @@ function of(e, t) {
|
|
|
4751
4751
|
if (n !== "filter" && n in e)
|
|
4752
4752
|
return fr[t] = n;
|
|
4753
4753
|
n = wi(n);
|
|
4754
|
-
for (let s = 0; s <
|
|
4755
|
-
const r =
|
|
4754
|
+
for (let s = 0; s < ua.length; s++) {
|
|
4755
|
+
const r = ua[s] + n;
|
|
4756
4756
|
if (r in e)
|
|
4757
4757
|
return fr[t] = r;
|
|
4758
4758
|
}
|
|
4759
4759
|
return t;
|
|
4760
4760
|
}
|
|
4761
|
-
const
|
|
4762
|
-
function
|
|
4763
|
-
n && t.startsWith("xlink:") ? i == null ? e.removeAttributeNS(
|
|
4761
|
+
const fa = "http://www.w3.org/1999/xlink";
|
|
4762
|
+
function pa(e, t, i, n, s, r = Lh(t)) {
|
|
4763
|
+
n && t.startsWith("xlink:") ? i == null ? e.removeAttributeNS(fa, t.slice(6, t.length)) : e.setAttributeNS(fa, t, i) : i == null || r && !ll(i) ? e.removeAttribute(t) : e.setAttribute(
|
|
4764
4764
|
t,
|
|
4765
4765
|
r ? "" : ke(i) ? String(i) : i
|
|
4766
4766
|
);
|
|
4767
4767
|
}
|
|
4768
|
-
function
|
|
4768
|
+
function ga(e, t, i, n, s) {
|
|
4769
4769
|
if (t === "innerHTML" || t === "textContent") {
|
|
4770
|
-
i != null && (e[t] = t === "innerHTML" ?
|
|
4770
|
+
i != null && (e[t] = t === "innerHTML" ? gc(i) : i);
|
|
4771
4771
|
return;
|
|
4772
4772
|
}
|
|
4773
4773
|
const r = e.tagName;
|
|
@@ -4784,7 +4784,7 @@ function ma(e, t, i, n, s) {
|
|
|
4784
4784
|
let o = !1;
|
|
4785
4785
|
if (i === "" || i == null) {
|
|
4786
4786
|
const a = typeof e[t];
|
|
4787
|
-
a === "boolean" ? i =
|
|
4787
|
+
a === "boolean" ? i = ll(i) : i == null && a === "string" ? (i = "", o = !0) : a === "number" && (i = 0, o = !0);
|
|
4788
4788
|
}
|
|
4789
4789
|
try {
|
|
4790
4790
|
e[t] = i;
|
|
@@ -4802,29 +4802,29 @@ function Ve(e, t, i, n) {
|
|
|
4802
4802
|
function af(e, t, i, n) {
|
|
4803
4803
|
e.removeEventListener(t, i, n);
|
|
4804
4804
|
}
|
|
4805
|
-
const
|
|
4805
|
+
const ma = Symbol("_vei");
|
|
4806
4806
|
function lf(e, t, i, n, s = null) {
|
|
4807
|
-
const r = e[
|
|
4807
|
+
const r = e[ma] || (e[ma] = {}), o = r[t];
|
|
4808
4808
|
if (n && o)
|
|
4809
|
-
o.value = process.env.NODE_ENV !== "production" ?
|
|
4809
|
+
o.value = process.env.NODE_ENV !== "production" ? va(n, t) : n;
|
|
4810
4810
|
else {
|
|
4811
4811
|
const [a, l] = cf(t);
|
|
4812
4812
|
if (n) {
|
|
4813
4813
|
const c = r[t] = uf(
|
|
4814
|
-
process.env.NODE_ENV !== "production" ?
|
|
4814
|
+
process.env.NODE_ENV !== "production" ? va(n, t) : n,
|
|
4815
4815
|
s
|
|
4816
4816
|
);
|
|
4817
4817
|
Ve(e, a, c, l);
|
|
4818
4818
|
} else o && (af(e, a, o, l), r[t] = void 0);
|
|
4819
4819
|
}
|
|
4820
4820
|
}
|
|
4821
|
-
const
|
|
4821
|
+
const _a = /(?:Once|Passive|Capture)$/;
|
|
4822
4822
|
function cf(e) {
|
|
4823
4823
|
let t;
|
|
4824
|
-
if (
|
|
4824
|
+
if (_a.test(e)) {
|
|
4825
4825
|
t = {};
|
|
4826
4826
|
let n;
|
|
4827
|
-
for (; n = e.match(
|
|
4827
|
+
for (; n = e.match(_a); )
|
|
4828
4828
|
e = e.slice(0, e.length - n[0].length), t[n[0].toLowerCase()] = !0;
|
|
4829
4829
|
}
|
|
4830
4830
|
return [e[2] === ":" ? e.slice(3) : Qt(e.slice(2)), t];
|
|
@@ -4846,7 +4846,7 @@ function uf(e, t) {
|
|
|
4846
4846
|
};
|
|
4847
4847
|
return i.value = e, i.attached = df(), i;
|
|
4848
4848
|
}
|
|
4849
|
-
function
|
|
4849
|
+
function va(e, t) {
|
|
4850
4850
|
return it(e) || Q(e) ? e : (ie(
|
|
4851
4851
|
`Wrong type passed as event handler to ${t} - did you forget @ or : in front of your prop?
|
|
4852
4852
|
Expected function or array of functions, received type ${typeof e}.`
|
|
@@ -4863,14 +4863,14 @@ function ff(e, t) {
|
|
|
4863
4863
|
} else
|
|
4864
4864
|
return t;
|
|
4865
4865
|
}
|
|
4866
|
-
const
|
|
4866
|
+
const ba = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // lowercase letter
|
|
4867
4867
|
e.charCodeAt(2) > 96 && e.charCodeAt(2) < 123, pf = (e, t, i, n, s, r) => {
|
|
4868
4868
|
const o = s === "svg";
|
|
4869
|
-
t === "class" ? Zu(e, n, o) : t === "style" ? sf(e, i, n) : Gn(t) ? ws(t) || lf(e, t, i, n, r) : (t[0] === "." ? (t = t.slice(1), !0) : t[0] === "^" ? (t = t.slice(1), !1) : gf(e, t, n, o)) ? (
|
|
4869
|
+
t === "class" ? Zu(e, n, o) : t === "style" ? sf(e, i, n) : Gn(t) ? ws(t) || lf(e, t, i, n, r) : (t[0] === "." ? (t = t.slice(1), !0) : t[0] === "^" ? (t = t.slice(1), !1) : gf(e, t, n, o)) ? (ga(e, t, n), !e.tagName.includes("-") && (t === "value" || t === "checked" || t === "selected") && pa(e, t, n, o, r, t !== "value")) : /* #11081 force set props for possible async custom element */ e._isVueCE && (/[A-Z]/.test(t) || !Nt(n)) ? ga(e, Vt(t), n, r, t) : (t === "true-value" ? e._trueValue = n : t === "false-value" && (e._falseValue = n), pa(e, t, n, o));
|
|
4870
4870
|
};
|
|
4871
4871
|
function gf(e, t, i, n) {
|
|
4872
4872
|
if (n)
|
|
4873
|
-
return !!(t === "innerHTML" || t === "textContent" || t in e &&
|
|
4873
|
+
return !!(t === "innerHTML" || t === "textContent" || t in e && ba(t) && it(i));
|
|
4874
4874
|
if (t === "spellcheck" || t === "draggable" || t === "translate" || t === "autocorrect" || t === "sandbox" && e.tagName === "IFRAME" || t === "form" || t === "list" && e.tagName === "INPUT" || t === "type" && e.tagName === "TEXTAREA")
|
|
4875
4875
|
return !1;
|
|
4876
4876
|
if (t === "width" || t === "height") {
|
|
@@ -4878,14 +4878,14 @@ function gf(e, t, i, n) {
|
|
|
4878
4878
|
if (s === "IMG" || s === "VIDEO" || s === "CANVAS" || s === "SOURCE")
|
|
4879
4879
|
return !1;
|
|
4880
4880
|
}
|
|
4881
|
-
return
|
|
4881
|
+
return ba(t) && Nt(i) ? !1 : t in e;
|
|
4882
4882
|
}
|
|
4883
|
-
const
|
|
4883
|
+
const ya = {};
|
|
4884
4884
|
// @__NO_SIDE_EFFECTS__
|
|
4885
|
-
function
|
|
4885
|
+
function mc(e, t, i) {
|
|
4886
4886
|
let n = /* @__PURE__ */ Be(e, t);
|
|
4887
4887
|
$s(n) && (n = Ct({}, n, t));
|
|
4888
|
-
class s extends
|
|
4888
|
+
class s extends Co {
|
|
4889
4889
|
constructor(o) {
|
|
4890
4890
|
super(n, o, i);
|
|
4891
4891
|
}
|
|
@@ -4894,9 +4894,9 @@ function _c(e, t, i) {
|
|
|
4894
4894
|
}
|
|
4895
4895
|
const mf = typeof HTMLElement < "u" ? HTMLElement : class {
|
|
4896
4896
|
};
|
|
4897
|
-
class
|
|
4898
|
-
constructor(t, i = {}, n =
|
|
4899
|
-
super(), this._def = t, this._props = i, this._createApp = n, this._isVueCE = !0, this._instance = null, this._app = null, this._nonce = this._def.nonce, this._connected = !1, this._resolved = !1, this._patching = !1, this._dirty = !1, this._numberProps = null, this._styleChildren = /* @__PURE__ */ new WeakSet(), this._ob = null, this.shadowRoot && n !==
|
|
4897
|
+
class Co extends mf {
|
|
4898
|
+
constructor(t, i = {}, n = Na) {
|
|
4899
|
+
super(), this._def = t, this._props = i, this._createApp = n, this._isVueCE = !0, this._instance = null, this._app = null, this._nonce = this._def.nonce, this._connected = !1, this._resolved = !1, this._patching = !1, this._dirty = !1, this._numberProps = null, this._styleChildren = /* @__PURE__ */ new WeakSet(), this._ob = null, this.shadowRoot && n !== Na ? this._root = this.shadowRoot : (process.env.NODE_ENV !== "production" && this.shadowRoot && ie(
|
|
4900
4900
|
"Custom element has pre-rendered declarative shadow root but is not defined as hydratable. Use `defineSSRCustomElement`."
|
|
4901
4901
|
), t.shadowRoot !== !1 ? (this.attachShadow(
|
|
4902
4902
|
Ct({}, t.shadowRootOptions, {
|
|
@@ -4909,7 +4909,7 @@ class No extends mf {
|
|
|
4909
4909
|
!this.shadowRoot && !this._resolved && this._parseSlots(), this._connected = !0;
|
|
4910
4910
|
let t = this;
|
|
4911
4911
|
for (; t = t && (t.parentNode || t.host); )
|
|
4912
|
-
if (t instanceof
|
|
4912
|
+
if (t instanceof Co) {
|
|
4913
4913
|
this._parent = t;
|
|
4914
4914
|
break;
|
|
4915
4915
|
}
|
|
@@ -4951,7 +4951,7 @@ class No extends mf {
|
|
|
4951
4951
|
if (r && !Q(r))
|
|
4952
4952
|
for (const l in r) {
|
|
4953
4953
|
const c = r[l];
|
|
4954
|
-
(c === Number || c && c.type === Number) && (l in this._props && (this._props[l] =
|
|
4954
|
+
(c === Number || c && c.type === Number) && (l in this._props && (this._props[l] = Vo(this._props[l])), (a || (a = /* @__PURE__ */ Object.create(null)))[Vt(l)] = !0);
|
|
4955
4955
|
}
|
|
4956
4956
|
this._numberProps = a, this._resolveProps(n), this.shadowRoot ? this._applyStyles(o) : process.env.NODE_ENV !== "production" && o && ie(
|
|
4957
4957
|
"Custom element style injection is not supported when using shadowRoot: false"
|
|
@@ -4968,7 +4968,7 @@ class No extends mf {
|
|
|
4968
4968
|
for (const n in i)
|
|
4969
4969
|
lt(this, n) ? process.env.NODE_ENV !== "production" && ie(`Exposed property "${n}" already exists on custom element.`) : Object.defineProperty(this, n, {
|
|
4970
4970
|
// unwrap ref to be consistent with public instance behavior
|
|
4971
|
-
get: () =>
|
|
4971
|
+
get: () => Tl(i[n])
|
|
4972
4972
|
});
|
|
4973
4973
|
}
|
|
4974
4974
|
_resolveProps(t) {
|
|
@@ -4988,9 +4988,9 @@ class No extends mf {
|
|
|
4988
4988
|
_setAttr(t) {
|
|
4989
4989
|
if (t.startsWith("data-v-")) return;
|
|
4990
4990
|
const i = this.hasAttribute(t);
|
|
4991
|
-
let n = i ? this.getAttribute(t) :
|
|
4991
|
+
let n = i ? this.getAttribute(t) : ya;
|
|
4992
4992
|
const s = Vt(t);
|
|
4993
|
-
i && this._numberProps && this._numberProps[s] && (n =
|
|
4993
|
+
i && this._numberProps && this._numberProps[s] && (n = Vo(n)), this._setProp(s, n, !1, !0);
|
|
4994
4994
|
}
|
|
4995
4995
|
/**
|
|
4996
4996
|
* @internal
|
|
@@ -5002,7 +5002,7 @@ class No extends mf {
|
|
|
5002
5002
|
* @internal
|
|
5003
5003
|
*/
|
|
5004
5004
|
_setProp(t, i, n = !0, s = !1) {
|
|
5005
|
-
if (i !== this._props[t] && (this._dirty = !0, i ===
|
|
5005
|
+
if (i !== this._props[t] && (this._dirty = !0, i === ya ? delete this._props[t] : (this._props[t] = i, t === "key" && this._app && (this._app._ceVNode.key = i)), s && this._instance && this._update(), n)) {
|
|
5006
5006
|
const r = this._ob;
|
|
5007
5007
|
r && (this._processMutations(r.takeRecords()), r.disconnect()), i === !0 ? this.setAttribute(Qt(t), "") : typeof i == "string" || typeof i == "number" ? this.setAttribute(Qt(t), i + "") : i || this.removeAttribute(Qt(t)), r && r.observe(this, { attributes: !0 });
|
|
5008
5008
|
}
|
|
@@ -5136,12 +5136,12 @@ const ii = (e) => {
|
|
|
5136
5136
|
function _f(e) {
|
|
5137
5137
|
e.target.composing = !0;
|
|
5138
5138
|
}
|
|
5139
|
-
function
|
|
5139
|
+
function Ea(e) {
|
|
5140
5140
|
const t = e.target;
|
|
5141
5141
|
t.composing && (t.composing = !1, t.dispatchEvent(new Event("input")));
|
|
5142
5142
|
}
|
|
5143
5143
|
const ae = Symbol("_assign");
|
|
5144
|
-
function
|
|
5144
|
+
function Sa(e, t, i) {
|
|
5145
5145
|
return t && (e = e.trim()), i && (e = Us(e)), e;
|
|
5146
5146
|
}
|
|
5147
5147
|
const Fs = {
|
|
@@ -5149,10 +5149,10 @@ const Fs = {
|
|
|
5149
5149
|
e[ae] = ii(s);
|
|
5150
5150
|
const r = n || s.props && s.props.type === "number";
|
|
5151
5151
|
Ve(e, t ? "change" : "input", (o) => {
|
|
5152
|
-
o.target.composing || e[ae](
|
|
5152
|
+
o.target.composing || e[ae](Sa(e.value, i, r));
|
|
5153
5153
|
}), (i || r) && Ve(e, "change", () => {
|
|
5154
|
-
e.value =
|
|
5155
|
-
}), t || (Ve(e, "compositionstart", _f), Ve(e, "compositionend",
|
|
5154
|
+
e.value = Sa(e.value, i, r);
|
|
5155
|
+
}), t || (Ve(e, "compositionstart", _f), Ve(e, "compositionend", Ea), Ve(e, "change", Ea));
|
|
5156
5156
|
},
|
|
5157
5157
|
// set value on mounted so it's after min/max for type="range"
|
|
5158
5158
|
mounted(e, { value: t }) {
|
|
@@ -5163,14 +5163,14 @@ const Fs = {
|
|
|
5163
5163
|
const a = (r || e.type === "number") && !/^0\d/.test(e.value) ? Us(e.value) : e.value, l = t ?? "";
|
|
5164
5164
|
a !== l && (document.activeElement === e && e.type !== "range" && (n && t === i || s && e.value.trim() === l) || (e.value = l));
|
|
5165
5165
|
}
|
|
5166
|
-
},
|
|
5166
|
+
}, _c = {
|
|
5167
5167
|
// #4096 array checkboxes need to be deep traversed
|
|
5168
5168
|
deep: !0,
|
|
5169
5169
|
created(e, t, i) {
|
|
5170
5170
|
e[ae] = ii(i), Ve(e, "change", () => {
|
|
5171
5171
|
const n = e._modelValue, s = zi(e), r = e.checked, o = e[ae];
|
|
5172
5172
|
if (Q(n)) {
|
|
5173
|
-
const a =
|
|
5173
|
+
const a = so(n, s), l = a !== -1;
|
|
5174
5174
|
if (r && !l)
|
|
5175
5175
|
o(n.concat(s));
|
|
5176
5176
|
else if (!r && l) {
|
|
@@ -5181,25 +5181,25 @@ const Fs = {
|
|
|
5181
5181
|
const a = new Set(n);
|
|
5182
5182
|
r ? a.add(s) : a.delete(s), o(a);
|
|
5183
5183
|
} else
|
|
5184
|
-
o(
|
|
5184
|
+
o(vc(e, r));
|
|
5185
5185
|
});
|
|
5186
5186
|
},
|
|
5187
5187
|
// set initial checked on mount to wait for true-value/false-value
|
|
5188
|
-
mounted:
|
|
5188
|
+
mounted: wa,
|
|
5189
5189
|
beforeUpdate(e, t, i) {
|
|
5190
|
-
e[ae] = ii(i),
|
|
5190
|
+
e[ae] = ii(i), wa(e, t, i);
|
|
5191
5191
|
}
|
|
5192
5192
|
};
|
|
5193
|
-
function
|
|
5193
|
+
function wa(e, { value: t, oldValue: i }, n) {
|
|
5194
5194
|
e._modelValue = t;
|
|
5195
5195
|
let s;
|
|
5196
5196
|
if (Q(t))
|
|
5197
|
-
s =
|
|
5197
|
+
s = so(t, n.props.value) > -1;
|
|
5198
5198
|
else if (qi(t))
|
|
5199
5199
|
s = t.has(n.props.value);
|
|
5200
5200
|
else {
|
|
5201
5201
|
if (t === i) return;
|
|
5202
|
-
s = xi(t,
|
|
5202
|
+
s = xi(t, vc(e, !0));
|
|
5203
5203
|
}
|
|
5204
5204
|
e.checked !== s && (e.checked = s);
|
|
5205
5205
|
}
|
|
@@ -5231,16 +5231,16 @@ const vf = {
|
|
|
5231
5231
|
// set value in mounted & updated because <select> relies on its children
|
|
5232
5232
|
// <option>s.
|
|
5233
5233
|
mounted(e, { value: t }) {
|
|
5234
|
-
|
|
5234
|
+
xa(e, t);
|
|
5235
5235
|
},
|
|
5236
5236
|
beforeUpdate(e, t, i) {
|
|
5237
5237
|
e[ae] = ii(i);
|
|
5238
5238
|
},
|
|
5239
5239
|
updated(e, { value: t }) {
|
|
5240
|
-
e._assigning ||
|
|
5240
|
+
e._assigning || xa(e, t);
|
|
5241
5241
|
}
|
|
5242
5242
|
};
|
|
5243
|
-
function
|
|
5243
|
+
function xa(e, t) {
|
|
5244
5244
|
const i = e.multiple, n = Q(t);
|
|
5245
5245
|
if (i && !n && !qi(t)) {
|
|
5246
5246
|
process.env.NODE_ENV !== "production" && ie(
|
|
@@ -5253,7 +5253,7 @@ function Ca(e, t) {
|
|
|
5253
5253
|
if (i)
|
|
5254
5254
|
if (n) {
|
|
5255
5255
|
const l = typeof a;
|
|
5256
|
-
l === "string" || l === "number" ? o.selected = t.some((c) => String(c) === String(a)) : o.selected =
|
|
5256
|
+
l === "string" || l === "number" ? o.selected = t.some((c) => String(c) === String(a)) : o.selected = so(t, a) > -1;
|
|
5257
5257
|
} else
|
|
5258
5258
|
o.selected = t.has(a);
|
|
5259
5259
|
else if (xi(zi(o), t)) {
|
|
@@ -5266,7 +5266,7 @@ function Ca(e, t) {
|
|
|
5266
5266
|
function zi(e) {
|
|
5267
5267
|
return "_value" in e ? e._value : e.value;
|
|
5268
5268
|
}
|
|
5269
|
-
function
|
|
5269
|
+
function vc(e, t) {
|
|
5270
5270
|
const i = t ? "_trueValue" : "_falseValue";
|
|
5271
5271
|
return i in e ? e[i] : t;
|
|
5272
5272
|
}
|
|
@@ -5293,7 +5293,7 @@ function Ef(e, t) {
|
|
|
5293
5293
|
default:
|
|
5294
5294
|
switch (t) {
|
|
5295
5295
|
case "checkbox":
|
|
5296
|
-
return
|
|
5296
|
+
return _c;
|
|
5297
5297
|
case "radio":
|
|
5298
5298
|
return vf;
|
|
5299
5299
|
default:
|
|
@@ -5309,14 +5309,14 @@ function ts(e, t, i, n, s) {
|
|
|
5309
5309
|
o && o(e, t, i, n);
|
|
5310
5310
|
}
|
|
5311
5311
|
const Sf = /* @__PURE__ */ Ct({ patchProp: pf }, Ju);
|
|
5312
|
-
let
|
|
5313
|
-
function
|
|
5314
|
-
return
|
|
5312
|
+
let Ca;
|
|
5313
|
+
function bc() {
|
|
5314
|
+
return Ca || (Ca = Tu(Sf));
|
|
5315
5315
|
}
|
|
5316
5316
|
const wf = ((...e) => {
|
|
5317
|
-
|
|
5318
|
-
}),
|
|
5319
|
-
const t =
|
|
5317
|
+
bc().render(...e);
|
|
5318
|
+
}), Na = ((...e) => {
|
|
5319
|
+
const t = bc().createApp(...e);
|
|
5320
5320
|
process.env.NODE_ENV !== "production" && (Cf(t), Nf(t));
|
|
5321
5321
|
const { mount: i } = t;
|
|
5322
5322
|
return t.mount = (n) => {
|
|
@@ -5379,8 +5379,8 @@ function kf() {
|
|
|
5379
5379
|
Yu();
|
|
5380
5380
|
}
|
|
5381
5381
|
process.env.NODE_ENV !== "production" && kf();
|
|
5382
|
-
const
|
|
5383
|
-
function
|
|
5382
|
+
const yc = ":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD", Of = yc + "\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040", Pf = "[" + yc + "][" + Of + "]*", Af = new RegExp("^" + Pf + "$");
|
|
5383
|
+
function Ec(e, t) {
|
|
5384
5384
|
const i = [];
|
|
5385
5385
|
let n = t.exec(e);
|
|
5386
5386
|
for (; n; ) {
|
|
@@ -5412,11 +5412,11 @@ function Lf(e, t) {
|
|
|
5412
5412
|
e[0] === "\uFEFF" && (e = e.substr(1));
|
|
5413
5413
|
for (let r = 0; r < e.length; r++)
|
|
5414
5414
|
if (e[r] === "<" && e[r + 1] === "?") {
|
|
5415
|
-
if (r += 2, r =
|
|
5415
|
+
if (r += 2, r = ka(e, r), r.err) return r;
|
|
5416
5416
|
} else if (e[r] === "<") {
|
|
5417
5417
|
let o = r;
|
|
5418
5418
|
if (r++, e[r] === "!") {
|
|
5419
|
-
r =
|
|
5419
|
+
r = Oa(e, r);
|
|
5420
5420
|
continue;
|
|
5421
5421
|
} else {
|
|
5422
5422
|
let a = !1;
|
|
@@ -5436,7 +5436,7 @@ function Lf(e, t) {
|
|
|
5436
5436
|
if (r = c.index, h[h.length - 1] === "/") {
|
|
5437
5437
|
const d = r - h.length;
|
|
5438
5438
|
h = h.substring(0, h.length - 1);
|
|
5439
|
-
const u =
|
|
5439
|
+
const u = Pa(h, t);
|
|
5440
5440
|
if (u === !0)
|
|
5441
5441
|
n = !0;
|
|
5442
5442
|
else
|
|
@@ -5461,7 +5461,7 @@ function Lf(e, t) {
|
|
|
5461
5461
|
}
|
|
5462
5462
|
} else return Pt("InvalidTag", "Closing tag '" + l + "' doesn't have proper closing.", $t(e, r));
|
|
5463
5463
|
else {
|
|
5464
|
-
const d =
|
|
5464
|
+
const d = Pa(h, t);
|
|
5465
5465
|
if (d !== !0)
|
|
5466
5466
|
return Pt(d.err.code, d.err.msg, $t(e, r - h.length + d.err.line));
|
|
5467
5467
|
if (s === !0)
|
|
@@ -5471,10 +5471,10 @@ function Lf(e, t) {
|
|
|
5471
5471
|
for (r++; r < e.length; r++)
|
|
5472
5472
|
if (e[r] === "<")
|
|
5473
5473
|
if (e[r + 1] === "!") {
|
|
5474
|
-
r++, r =
|
|
5474
|
+
r++, r = Oa(e, r);
|
|
5475
5475
|
continue;
|
|
5476
5476
|
} else if (e[r + 1] === "?") {
|
|
5477
|
-
if (r =
|
|
5477
|
+
if (r = ka(e, ++r), r.err) return r;
|
|
5478
5478
|
} else
|
|
5479
5479
|
break;
|
|
5480
5480
|
else if (e[r] === "&") {
|
|
@@ -5482,12 +5482,12 @@ function Lf(e, t) {
|
|
|
5482
5482
|
if (d == -1)
|
|
5483
5483
|
return Pt("InvalidChar", "char '&' is not expected.", $t(e, r));
|
|
5484
5484
|
r = d;
|
|
5485
|
-
} else if (s === !0 && !
|
|
5485
|
+
} else if (s === !0 && !Ta(e[r]))
|
|
5486
5486
|
return Pt("InvalidXml", "Extra text at the end", $t(e, r));
|
|
5487
5487
|
e[r] === "<" && r--;
|
|
5488
5488
|
}
|
|
5489
5489
|
} else {
|
|
5490
|
-
if (
|
|
5490
|
+
if (Ta(e[r]))
|
|
5491
5491
|
continue;
|
|
5492
5492
|
return Pt("InvalidChar", "char '" + e[r] + "' is not expected.", $t(e, r));
|
|
5493
5493
|
}
|
|
@@ -5499,11 +5499,11 @@ function Lf(e, t) {
|
|
|
5499
5499
|
} else return Pt("InvalidXml", "Start tag expected.", 1);
|
|
5500
5500
|
return !0;
|
|
5501
5501
|
}
|
|
5502
|
-
function
|
|
5502
|
+
function Ta(e) {
|
|
5503
5503
|
return e === " " || e === " " || e === `
|
|
5504
5504
|
` || e === "\r";
|
|
5505
5505
|
}
|
|
5506
|
-
function
|
|
5506
|
+
function ka(e, t) {
|
|
5507
5507
|
const i = t;
|
|
5508
5508
|
for (; t < e.length; t++)
|
|
5509
5509
|
if (e[t] == "?" || e[t] == " ") {
|
|
@@ -5518,7 +5518,7 @@ function Oa(e, t) {
|
|
|
5518
5518
|
}
|
|
5519
5519
|
return t;
|
|
5520
5520
|
}
|
|
5521
|
-
function
|
|
5521
|
+
function Oa(e, t) {
|
|
5522
5522
|
if (e.length > t + 5 && e[t + 1] === "-" && e[t + 2] === "-") {
|
|
5523
5523
|
for (t += 3; t < e.length; t++)
|
|
5524
5524
|
if (e[t] === "-" && e[t + 1] === "-" && e[t + 2] === ">") {
|
|
@@ -5560,8 +5560,8 @@ function Vf(e, t) {
|
|
|
5560
5560
|
};
|
|
5561
5561
|
}
|
|
5562
5562
|
const Ff = new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`, "g");
|
|
5563
|
-
function
|
|
5564
|
-
const i =
|
|
5563
|
+
function Pa(e, t) {
|
|
5564
|
+
const i = Ec(e, Ff), n = {};
|
|
5565
5565
|
for (let s = 0; s < i.length; s++) {
|
|
5566
5566
|
if (i[s][1].length === 0)
|
|
5567
5567
|
return Pt("InvalidAttr", "Attribute '" + i[s][2] + "' has no space in starting.", rn(i[s]));
|
|
@@ -5928,7 +5928,7 @@ function Zf(e, t) {
|
|
|
5928
5928
|
if (window && window.parseInt) return window.parseInt(e, t);
|
|
5929
5929
|
throw new Error("parseInt, Number.parseInt, window.parseInt are not supported");
|
|
5930
5930
|
}
|
|
5931
|
-
function
|
|
5931
|
+
function Sc(e) {
|
|
5932
5932
|
return typeof e == "function" ? e : Array.isArray(e) ? (t) => {
|
|
5933
5933
|
for (const i of e)
|
|
5934
5934
|
if (typeof i == "string" && t === i || i instanceof RegExp && i.test(t))
|
|
@@ -5958,7 +5958,7 @@ class t0 {
|
|
|
5958
5958
|
inr: { regex: /&(inr|#8377);/g, val: "₹" },
|
|
5959
5959
|
num_dec: { regex: /&#([0-9]{1,7});/g, val: (i, n) => String.fromCodePoint(Number.parseInt(n, 10)) },
|
|
5960
5960
|
num_hex: { regex: /&#x([0-9a-fA-F]{1,6});/g, val: (i, n) => String.fromCodePoint(Number.parseInt(n, 16)) }
|
|
5961
|
-
}, this.addExternalEntities = e0, this.parseXml = o0, this.parseTextData = i0, this.resolveNameSpace = n0, this.buildAttributesMap = r0, this.isItStopNode = h0, this.replaceEntitiesValue = l0, this.readStopNodeData = u0, this.saveTextToParentTag = c0, this.addChild = a0, this.ignoreAttributesFn =
|
|
5961
|
+
}, this.addExternalEntities = e0, this.parseXml = o0, this.parseTextData = i0, this.resolveNameSpace = n0, this.buildAttributesMap = r0, this.isItStopNode = h0, this.replaceEntitiesValue = l0, this.readStopNodeData = u0, this.saveTextToParentTag = c0, this.addChild = a0, this.ignoreAttributesFn = Sc(this.options.ignoreAttributes), this.options.stopNodes && this.options.stopNodes.length > 0) {
|
|
5962
5962
|
this.stopNodesExact = /* @__PURE__ */ new Set(), this.stopNodesWildcard = /* @__PURE__ */ new Set();
|
|
5963
5963
|
for (let i = 0; i < this.options.stopNodes.length; i++) {
|
|
5964
5964
|
const n = this.options.stopNodes[i];
|
|
@@ -5996,7 +5996,7 @@ function n0(e) {
|
|
|
5996
5996
|
const s0 = new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`, "gm");
|
|
5997
5997
|
function r0(e, t) {
|
|
5998
5998
|
if (this.options.ignoreAttributes !== !0 && typeof e == "string") {
|
|
5999
|
-
const i =
|
|
5999
|
+
const i = Ec(e, s0), n = i.length, s = {};
|
|
6000
6000
|
for (let r = 0; r < n; r++) {
|
|
6001
6001
|
const o = this.resolveNameSpace(i[r][1]);
|
|
6002
6002
|
if (this.ignoreAttributesFn(o, t))
|
|
@@ -6233,9 +6233,9 @@ function Hr(e, t, i) {
|
|
|
6233
6233
|
}
|
|
6234
6234
|
const gr = pi.getMetaDataSymbol();
|
|
6235
6235
|
function f0(e, t) {
|
|
6236
|
-
return
|
|
6236
|
+
return wc(e, t);
|
|
6237
6237
|
}
|
|
6238
|
-
function
|
|
6238
|
+
function wc(e, t, i) {
|
|
6239
6239
|
let n;
|
|
6240
6240
|
const s = {};
|
|
6241
6241
|
for (let r = 0; r < e.length; r++) {
|
|
@@ -6247,7 +6247,7 @@ function xc(e, t, i) {
|
|
|
6247
6247
|
if (a === void 0)
|
|
6248
6248
|
continue;
|
|
6249
6249
|
if (o[a]) {
|
|
6250
|
-
let c =
|
|
6250
|
+
let c = wc(o[a], t, l);
|
|
6251
6251
|
const h = m0(c, t);
|
|
6252
6252
|
o[gr] !== void 0 && (c[gr] = o[gr]), o[":@"] ? g0(c, o[":@"], l, t) : Object.keys(c).length === 1 && c[t.textNodeName] !== void 0 && !t.alwaysCreateTextNode ? c = c[t.textNodeName] : Object.keys(c).length === 0 && (t.alwaysCreateTextNode ? c[t.textNodeName] = "" : c = ""), s[a] !== void 0 && s.hasOwnProperty(a) ? (Array.isArray(s[a]) || (s[a] = [s[a]]), s[a].push(c)) : t.isArray(a, l, h) ? s[a] = [c] : s[a] = c;
|
|
6253
6253
|
}
|
|
@@ -6275,7 +6275,7 @@ function m0(e, t) {
|
|
|
6275
6275
|
const { textNodeName: i } = t, n = Object.keys(e).length;
|
|
6276
6276
|
return !!(n === 0 || n === 1 && (e[i] || typeof e[i] == "boolean" || e[i] === 0));
|
|
6277
6277
|
}
|
|
6278
|
-
class
|
|
6278
|
+
class xc {
|
|
6279
6279
|
constructor(t) {
|
|
6280
6280
|
this.externalEntities = {}, this.options = Uf(t);
|
|
6281
6281
|
}
|
|
@@ -6351,14 +6351,14 @@ function Cc(e, t, i, n) {
|
|
|
6351
6351
|
s += n + `<!--${a[l][0][t.textNodeName]}-->`, r = !0;
|
|
6352
6352
|
continue;
|
|
6353
6353
|
} else if (l[0] === "?") {
|
|
6354
|
-
const p =
|
|
6354
|
+
const p = Aa(a[":@"], t), _ = l === "?xml" ? "" : n;
|
|
6355
6355
|
let b = a[l][0][t.textNodeName];
|
|
6356
6356
|
b = b.length !== 0 ? " " + b : "", s += _ + `<${l}${b}${p}?>`, r = !0;
|
|
6357
6357
|
continue;
|
|
6358
6358
|
}
|
|
6359
6359
|
let h = n;
|
|
6360
6360
|
h !== "" && (h += t.indentBy);
|
|
6361
|
-
const d =
|
|
6361
|
+
const d = Aa(a[":@"], t), u = n + `<${l}${d}`, f = Cc(a[l], t, c, h);
|
|
6362
6362
|
t.unpairedTags.indexOf(l) !== -1 ? t.suppressUnpairedNode ? s += u + ">" : s += u + "/>" : (!f || f.length === 0) && t.suppressEmptyNode ? s += u + "/>" : f && f.endsWith(">") ? s += u + `>${f}${n}</${l}>` : (s += u + ">", f && n !== "" && (f.includes("/>") || f.includes("</")) ? s += n + t.indentBy + f + n : s += f, s += `</${l}>`), r = !0;
|
|
6363
6363
|
}
|
|
6364
6364
|
return s;
|
|
@@ -6371,7 +6371,7 @@ function b0(e) {
|
|
|
6371
6371
|
return n;
|
|
6372
6372
|
}
|
|
6373
6373
|
}
|
|
6374
|
-
function
|
|
6374
|
+
function Aa(e, t) {
|
|
6375
6375
|
let i = "";
|
|
6376
6376
|
if (e && !t.ignoreAttributes)
|
|
6377
6377
|
for (let n in e) {
|
|
@@ -6433,7 +6433,7 @@ const E0 = {
|
|
|
6433
6433
|
function Te(e) {
|
|
6434
6434
|
this.options = Object.assign({}, E0, e), this.options.ignoreAttributes === !0 || this.options.attributesGroupName ? this.isAttribute = function() {
|
|
6435
6435
|
return !1;
|
|
6436
|
-
} : (this.ignoreAttributesFn =
|
|
6436
|
+
} : (this.ignoreAttributesFn = Sc(this.options.ignoreAttributes), this.attrPrefixLen = this.options.attributeNamePrefix.length, this.isAttribute = x0), this.processTextOrObjNode = S0, this.options.format ? (this.indentate = w0, this.tagEndChar = `>
|
|
6437
6437
|
`, this.newLine = `
|
|
6438
6438
|
`) : (this.indentate = function() {
|
|
6439
6439
|
return "";
|
|
@@ -6588,8 +6588,8 @@ function Fe(e) {
|
|
|
6588
6588
|
function we(e) {
|
|
6589
6589
|
const t = {};
|
|
6590
6590
|
return e.forEach((i) => {
|
|
6591
|
-
const
|
|
6592
|
-
t[
|
|
6591
|
+
const n = i.constructor.xmlTagName ?? i.constructor.name;
|
|
6592
|
+
t[n] || (t[n] = []), t[n].push(i.toXML());
|
|
6593
6593
|
}), t;
|
|
6594
6594
|
}
|
|
6595
6595
|
class Yn {
|
|
@@ -6759,7 +6759,7 @@ class kc {
|
|
|
6759
6759
|
};
|
|
6760
6760
|
}
|
|
6761
6761
|
}
|
|
6762
|
-
class
|
|
6762
|
+
class Ra {
|
|
6763
6763
|
attr_ref;
|
|
6764
6764
|
attr_version;
|
|
6765
6765
|
constructor({ attr_ref: t, attr_version: i }) {
|
|
@@ -6778,7 +6778,7 @@ class k0 {
|
|
|
6778
6778
|
FromDeckEntranceRef;
|
|
6779
6779
|
ToDeckEntranceRef;
|
|
6780
6780
|
constructor({ attr_ref: t, attr_version: i, FromDeckEntranceRef: n, ToDeckEntranceRef: s }) {
|
|
6781
|
-
this.attr_ref = t, this.attr_version = i, this.FromDeckEntranceRef = new
|
|
6781
|
+
this.attr_ref = t, this.attr_version = i, this.FromDeckEntranceRef = new Ra(n), this.ToDeckEntranceRef = new Ra(s);
|
|
6782
6782
|
}
|
|
6783
6783
|
toXML() {
|
|
6784
6784
|
return {
|
|
@@ -7566,7 +7566,7 @@ const Mc = /* @__PURE__ */ Be({
|
|
|
7566
7566
|
"onUpdate:modelValue": (r) => e.element[s] = r,
|
|
7567
7567
|
type: "checkbox"
|
|
7568
7568
|
}, null, 8, J0)), [
|
|
7569
|
-
[
|
|
7569
|
+
[_c, e.element[s]]
|
|
7570
7570
|
]) : n && typeof n == "object" && n.value !== void 0 ? (dt(), xt("span", Q0, [
|
|
7571
7571
|
gs(St("input", {
|
|
7572
7572
|
id: s,
|
|
@@ -7667,7 +7667,7 @@ const Mc = /* @__PURE__ */ Be({
|
|
|
7667
7667
|
]));
|
|
7668
7668
|
}
|
|
7669
7669
|
}), Lc = (e) => {
|
|
7670
|
-
const i = new
|
|
7670
|
+
const i = new xc({
|
|
7671
7671
|
ignoreAttributes: !1,
|
|
7672
7672
|
attributeNamePrefix: "attr_",
|
|
7673
7673
|
removeNSPrefix: !0
|
|
@@ -7718,13 +7718,7 @@ const Mc = /* @__PURE__ */ Be({
|
|
|
7718
7718
|
const O = new FileReader();
|
|
7719
7719
|
O.addEventListener("load", (w) => {
|
|
7720
7720
|
const x = w.target?.result;
|
|
7721
|
-
|
|
7722
|
-
const P = new $r({
|
|
7723
|
-
ignoreAttributes: !1,
|
|
7724
|
-
attributeNamePrefix: "attr_",
|
|
7725
|
-
removeNSPrefix: !0
|
|
7726
|
-
});
|
|
7727
|
-
r.value = P.parse(x), n.value = Lc(x), n.value = [...n.value];
|
|
7721
|
+
typeof x == "string" && (n.value = Lc(x), n.value = [...n.value]);
|
|
7728
7722
|
}), O.readAsText(i.value);
|
|
7729
7723
|
}
|
|
7730
7724
|
}
|
|
@@ -7750,18 +7744,18 @@ const Mc = /* @__PURE__ */ Be({
|
|
|
7750
7744
|
const x = new Tn({
|
|
7751
7745
|
attr_id: `seat_${Date.now()}`,
|
|
7752
7746
|
attr_version: "1",
|
|
7753
|
-
Label: "",
|
|
7754
|
-
Orientation: "forwards",
|
|
7747
|
+
Label: { text_value: "" },
|
|
7748
|
+
Orientation: { text_value: "forwards" },
|
|
7755
7749
|
actualVehicleEquipments: [],
|
|
7756
7750
|
SpotColumnRef: null,
|
|
7757
7751
|
SpotRowRef: null,
|
|
7758
|
-
ByWindow: !1,
|
|
7759
|
-
ByAisle: !1,
|
|
7760
|
-
HasPower: !1,
|
|
7752
|
+
ByWindow: { text_value: !1 },
|
|
7753
|
+
ByAisle: { text_value: !1 },
|
|
7754
|
+
HasPower: { text_value: !1 },
|
|
7761
7755
|
Centroid: { x: 1, y: 1 },
|
|
7762
7756
|
// Default position
|
|
7763
|
-
Width: 0.5,
|
|
7764
|
-
Length: 0.5
|
|
7757
|
+
Width: { text_value: 0.5 },
|
|
7758
|
+
Length: { text_value: 0.5 }
|
|
7765
7759
|
});
|
|
7766
7760
|
w.passengerSpots || (w.passengerSpots = []), w.passengerSpots.push(x);
|
|
7767
7761
|
}, S = () => {
|
|
@@ -7858,7 +7852,7 @@ const Mc = /* @__PURE__ */ Be({
|
|
|
7858
7852
|
});
|
|
7859
7853
|
}
|
|
7860
7854
|
function T(O) {
|
|
7861
|
-
const x = new
|
|
7855
|
+
const x = new xc({
|
|
7862
7856
|
ignoreAttributes: !1,
|
|
7863
7857
|
attributeNamePrefix: "attr_",
|
|
7864
7858
|
removeNSPrefix: !0,
|
|
@@ -8003,7 +7997,7 @@ or
|
|
|
8003
7997
|
|
|
8004
7998
|
bash: npm install skia-canvas
|
|
8005
7999
|
js: import "konva/skia-backend";
|
|
8006
|
-
`,
|
|
8000
|
+
`, Ma = () => {
|
|
8007
8001
|
if (typeof document > "u")
|
|
8008
8002
|
throw new Error(Ep);
|
|
8009
8003
|
};
|
|
@@ -8078,7 +8072,7 @@ class Zt {
|
|
|
8078
8072
|
return l.rotation = E._getRotation(l.rotation), l;
|
|
8079
8073
|
}
|
|
8080
8074
|
}
|
|
8081
|
-
const Sp = "[object Array]", wp = "[object Number]", xp = "[object String]", Cp = "[object Boolean]", Np = Math.PI / 180, Tp = 180 / Math.PI, an = "#", kp = "", Op = "0", Pp = "Konva warning: ",
|
|
8075
|
+
const Sp = "[object Array]", wp = "[object Number]", xp = "[object String]", Cp = "[object Boolean]", Np = Math.PI / 180, Tp = 180 / Math.PI, an = "#", kp = "", Op = "0", Pp = "Konva warning: ", La = "Konva error: ", Ap = "rgb(", mr = {
|
|
8082
8076
|
aliceblue: [240, 248, 255],
|
|
8083
8077
|
antiquewhite: [250, 235, 215],
|
|
8084
8078
|
aqua: [0, 255, 255],
|
|
@@ -8275,7 +8269,7 @@ const Mp = typeof requestAnimationFrame < "u" && requestAnimationFrame || functi
|
|
|
8275
8269
|
});
|
|
8276
8270
|
},
|
|
8277
8271
|
createCanvasElement() {
|
|
8278
|
-
|
|
8272
|
+
Ma();
|
|
8279
8273
|
const e = document.createElement("canvas");
|
|
8280
8274
|
try {
|
|
8281
8275
|
e.style = e.style || {};
|
|
@@ -8284,7 +8278,7 @@ const Mp = typeof requestAnimationFrame < "u" && requestAnimationFrame || functi
|
|
|
8284
8278
|
return e;
|
|
8285
8279
|
},
|
|
8286
8280
|
createImageElement() {
|
|
8287
|
-
return
|
|
8281
|
+
return Ma(), document.createElement("img");
|
|
8288
8282
|
},
|
|
8289
8283
|
_isInDocument(e) {
|
|
8290
8284
|
for (; e = e.parentNode; )
|
|
@@ -8489,10 +8483,10 @@ const Mp = typeof requestAnimationFrame < "u" && requestAnimationFrame || functi
|
|
|
8489
8483
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
8490
8484
|
},
|
|
8491
8485
|
throw(e) {
|
|
8492
|
-
throw new Error(
|
|
8486
|
+
throw new Error(La + e);
|
|
8493
8487
|
},
|
|
8494
8488
|
error(e) {
|
|
8495
|
-
console.error(
|
|
8489
|
+
console.error(La + e);
|
|
8496
8490
|
},
|
|
8497
8491
|
warn(e) {
|
|
8498
8492
|
X.showWarnings && console.warn(Pp + e);
|
|
@@ -8609,7 +8603,7 @@ function Lp(e) {
|
|
|
8609
8603
|
}
|
|
8610
8604
|
return t;
|
|
8611
8605
|
}
|
|
8612
|
-
const
|
|
8606
|
+
const Ia = ",", Ip = "(", Dp = ")", Vp = "([", Fp = "])", Gp = ";", Bp = "()", Hp = "=", Da = [
|
|
8613
8607
|
"arc",
|
|
8614
8608
|
"arcTo",
|
|
8615
8609
|
"beginPath",
|
|
@@ -8665,7 +8659,7 @@ const Da = ",", Ip = "(", Dp = ")", Vp = "([", Fp = "])", Gp = ";", Bp = "()", H
|
|
|
8665
8659
|
"filter"
|
|
8666
8660
|
], Wp = 100;
|
|
8667
8661
|
let is = null;
|
|
8668
|
-
function
|
|
8662
|
+
function Va() {
|
|
8669
8663
|
if (is !== null)
|
|
8670
8664
|
return is;
|
|
8671
8665
|
try {
|
|
@@ -8695,7 +8689,7 @@ class er {
|
|
|
8695
8689
|
getTrace(t, i) {
|
|
8696
8690
|
let n = this.traceArr, s = n.length, r = "", o, a, l, c;
|
|
8697
8691
|
for (o = 0; o < s; o++)
|
|
8698
|
-
a = n[o], l = a.method, l ? (c = a.args, r += l, t ? r += Bp : E._isArray(c[0]) ? r += Vp + c.join(
|
|
8692
|
+
a = n[o], l = a.method, l ? (c = a.args, r += l, t ? r += Bp : E._isArray(c[0]) ? r += Vp + c.join(Ia) + Fp : (i && (c = c.map((h) => typeof h == "number" ? Math.floor(h) : h)), r += Ip + c.join(Ia) + Dp)) : (r += a.property, t || (r += Hp + a.val)), r += Gp;
|
|
8699
8693
|
return r;
|
|
8700
8694
|
}
|
|
8701
8695
|
clearTrace() {
|
|
@@ -8852,7 +8846,7 @@ class er {
|
|
|
8852
8846
|
this._context.translate(t, i);
|
|
8853
8847
|
}
|
|
8854
8848
|
_enableTrace() {
|
|
8855
|
-
let t = this, i =
|
|
8849
|
+
let t = this, i = Da.length, n = this.setAttr, s, r;
|
|
8856
8850
|
const o = function(a) {
|
|
8857
8851
|
let l = t[a], c;
|
|
8858
8852
|
t[a] = function() {
|
|
@@ -8863,7 +8857,7 @@ class er {
|
|
|
8863
8857
|
};
|
|
8864
8858
|
};
|
|
8865
8859
|
for (s = 0; s < i; s++)
|
|
8866
|
-
o(
|
|
8860
|
+
o(Da[s]);
|
|
8867
8861
|
t.setAttr = function() {
|
|
8868
8862
|
n.apply(t, arguments);
|
|
8869
8863
|
const a = arguments[0];
|
|
@@ -8997,7 +8991,7 @@ function Xp() {
|
|
|
8997
8991
|
return i / n;
|
|
8998
8992
|
})(), E.releaseCanvas(e), ns;
|
|
8999
8993
|
}
|
|
9000
|
-
class
|
|
8994
|
+
class No {
|
|
9001
8995
|
constructor(t) {
|
|
9002
8996
|
this.pixelRatio = 1, this.width = 0, this.height = 0, this.isCache = !1;
|
|
9003
8997
|
const n = (t || {}).pixelRatio || X.pixelRatio || Xp();
|
|
@@ -9044,14 +9038,14 @@ class To {
|
|
|
9044
9038
|
}
|
|
9045
9039
|
}
|
|
9046
9040
|
}
|
|
9047
|
-
class Je extends
|
|
9041
|
+
class Je extends No {
|
|
9048
9042
|
constructor(t = { width: 0, height: 0, willReadFrequently: !1 }) {
|
|
9049
9043
|
super(t), this.context = new Up(this, {
|
|
9050
9044
|
willReadFrequently: t.willReadFrequently
|
|
9051
9045
|
}), this.setSize(t.width, t.height);
|
|
9052
9046
|
}
|
|
9053
9047
|
}
|
|
9054
|
-
class
|
|
9048
|
+
class To extends No {
|
|
9055
9049
|
constructor(t = { width: 0, height: 0 }) {
|
|
9056
9050
|
super(t), this.hitCanvas = !0, this.context = new jp(this), this.setSize(t.width, t.height);
|
|
9057
9051
|
}
|
|
@@ -9136,7 +9130,7 @@ function ir(e) {
|
|
|
9136
9130
|
return !n && !s && E.warn(si(t) + ' is a not valid value for "' + i + '" attribute. The value should be a number or Array<number>(' + e + ")"), t;
|
|
9137
9131
|
};
|
|
9138
9132
|
}
|
|
9139
|
-
function
|
|
9133
|
+
function ko() {
|
|
9140
9134
|
if (X.isUnminified)
|
|
9141
9135
|
return function(e, t) {
|
|
9142
9136
|
return E._isNumber(e) || e === "auto" || E.warn(si(e) + ' is a not valid value for "' + t + '" attribute. The value should be a number or "auto".'), e;
|
|
@@ -9302,7 +9296,7 @@ function qp(e) {
|
|
|
9302
9296
|
return () => {
|
|
9303
9297
|
};
|
|
9304
9298
|
}
|
|
9305
|
-
const Es = "absoluteOpacity", ss = "allEventListeners", Re = "absoluteTransform",
|
|
9299
|
+
const Es = "absoluteOpacity", ss = "allEventListeners", Re = "absoluteTransform", Fa = "absoluteScale", di = "canvas", Kp = "Change", Jp = "children", Qp = "konva", $r = "listening", Zp = "mouseenter", tg = "mouseleave", eg = "pointerenter", ig = "pointerleave", ng = "touchenter", sg = "touchleave", Ga = "set", Ba = "Shape", Ss = " ", Ha = "stage", je = "transform", rg = "Stage", Wr = "visible", og = [
|
|
9306
9300
|
"xChange.konva",
|
|
9307
9301
|
"yChange.konva",
|
|
9308
9302
|
"scaleXChange.konva",
|
|
@@ -9374,7 +9368,7 @@ class H {
|
|
|
9374
9368
|
width: 0,
|
|
9375
9369
|
height: 0,
|
|
9376
9370
|
willReadFrequently: !0
|
|
9377
|
-
}), b = new
|
|
9371
|
+
}), b = new To({
|
|
9378
9372
|
pixelRatio: d,
|
|
9379
9373
|
width: s,
|
|
9380
9374
|
height: r
|
|
@@ -9383,7 +9377,7 @@ class H {
|
|
|
9383
9377
|
height: p.height / p.pixelRatio + Math.abs(l),
|
|
9384
9378
|
pixelRatio: p.pixelRatio
|
|
9385
9379
|
}), N = C.getContext();
|
|
9386
|
-
return b.isCache = !0, p.isCache = !0, this._cache.delete(di), this._filterUpToDate = !1, i.imageSmoothingEnabled === !1 && (p.getContext()._context.imageSmoothingEnabled = !1, _.getContext()._context.imageSmoothingEnabled = !1), S.save(), y.save(), N.save(), S.translate(-a, -l), y.translate(-a, -l), N.translate(-a, -l), C.x = a, C.y = l, this._isUnderCache = !0, this._clearSelfAndDescendantCache(Es), this._clearSelfAndDescendantCache(
|
|
9380
|
+
return b.isCache = !0, p.isCache = !0, this._cache.delete(di), this._filterUpToDate = !1, i.imageSmoothingEnabled === !1 && (p.getContext()._context.imageSmoothingEnabled = !1, _.getContext()._context.imageSmoothingEnabled = !1), S.save(), y.save(), N.save(), S.translate(-a, -l), y.translate(-a, -l), N.translate(-a, -l), C.x = a, C.y = l, this._isUnderCache = !0, this._clearSelfAndDescendantCache(Es), this._clearSelfAndDescendantCache(Fa), this.drawScene(p, this, C), this.drawHit(b, this), this._isUnderCache = !1, S.restore(), y.restore(), h && (S.save(), S.beginPath(), S.rect(0, 0, s, r), S.closePath(), S.setAttr("strokeStyle", "red"), S.setAttr("lineWidth", 5), S.stroke(), S.restore()), this._cache.set(di, {
|
|
9387
9381
|
scene: p,
|
|
9388
9382
|
filter: _,
|
|
9389
9383
|
hit: b,
|
|
@@ -9436,7 +9430,7 @@ class H {
|
|
|
9436
9430
|
return s;
|
|
9437
9431
|
let h = !0;
|
|
9438
9432
|
for (let u = 0; u < t.length; u++)
|
|
9439
|
-
if (typeof t[u] == "string" &&
|
|
9433
|
+
if (typeof t[u] == "string" && Va(), typeof t[u] != "string" || !Va()) {
|
|
9440
9434
|
h = !1;
|
|
9441
9435
|
break;
|
|
9442
9436
|
}
|
|
@@ -9504,7 +9498,7 @@ class H {
|
|
|
9504
9498
|
return this.isDragging() && this.stopDrag(), pt._dragElements.delete(this._id), this._remove(), this;
|
|
9505
9499
|
}
|
|
9506
9500
|
_clearCaches() {
|
|
9507
|
-
this._clearSelfAndDescendantCache(Re), this._clearSelfAndDescendantCache(Es), this._clearSelfAndDescendantCache(
|
|
9501
|
+
this._clearSelfAndDescendantCache(Re), this._clearSelfAndDescendantCache(Es), this._clearSelfAndDescendantCache(Fa), this._clearSelfAndDescendantCache(Ha), this._clearSelfAndDescendantCache(Wr), this._clearSelfAndDescendantCache($r);
|
|
9508
9502
|
}
|
|
9509
9503
|
_remove() {
|
|
9510
9504
|
this._clearCaches();
|
|
@@ -9533,11 +9527,11 @@ class H {
|
|
|
9533
9527
|
if (!t)
|
|
9534
9528
|
return this;
|
|
9535
9529
|
for (i in t)
|
|
9536
|
-
i !== Jp && (n =
|
|
9530
|
+
i !== Jp && (n = Ga + E._capitalize(i), E._isFunction(this[n]) ? this[n](t[i]) : this._setAttr(i, t[i]));
|
|
9537
9531
|
}), this;
|
|
9538
9532
|
}
|
|
9539
9533
|
isListening() {
|
|
9540
|
-
return this._getCache(
|
|
9534
|
+
return this._getCache($r, this._isListening);
|
|
9541
9535
|
}
|
|
9542
9536
|
_isListening(t) {
|
|
9543
9537
|
if (!this.listening())
|
|
@@ -9546,7 +9540,7 @@ class H {
|
|
|
9546
9540
|
return n && n !== t && this !== t ? n._isListening(t) : !0;
|
|
9547
9541
|
}
|
|
9548
9542
|
isVisible() {
|
|
9549
|
-
return this._getCache(
|
|
9543
|
+
return this._getCache(Wr, this._isVisible);
|
|
9550
9544
|
}
|
|
9551
9545
|
_isVisible(t) {
|
|
9552
9546
|
if (!this.visible())
|
|
@@ -9578,7 +9572,7 @@ class H {
|
|
|
9578
9572
|
let t = this.getDepth(), i = this, n = 0, s, r, o, a;
|
|
9579
9573
|
function l(h) {
|
|
9580
9574
|
for (s = [], r = h.length, o = 0; o < r; o++)
|
|
9581
|
-
a = h[o], n++, a.nodeType !==
|
|
9575
|
+
a = h[o], n++, a.nodeType !== Ba && (s = s.concat(a.getChildren().slice())), a._id === i._id && (o = r);
|
|
9582
9576
|
s.length > 0 && s[0].getDepth() <= t && l(s);
|
|
9583
9577
|
}
|
|
9584
9578
|
const c = this.getStage();
|
|
@@ -9768,7 +9762,7 @@ class H {
|
|
|
9768
9762
|
return t ? t.getLayer() : null;
|
|
9769
9763
|
}
|
|
9770
9764
|
getStage() {
|
|
9771
|
-
return this._getCache(
|
|
9765
|
+
return this._getCache(Ha, this._getStage);
|
|
9772
9766
|
}
|
|
9773
9767
|
_getStage() {
|
|
9774
9768
|
const t = this.getParent();
|
|
@@ -9930,7 +9924,7 @@ class H {
|
|
|
9930
9924
|
return n !== -1 && (i.splice(n, 1), this.name(i.join(" "))), this;
|
|
9931
9925
|
}
|
|
9932
9926
|
setAttr(t, i) {
|
|
9933
|
-
const n = this[
|
|
9927
|
+
const n = this[Ga + E._capitalize(t)];
|
|
9934
9928
|
return E._isFunction(n) ? n.call(this, i) : this._setAttr(t, i), this;
|
|
9935
9929
|
}
|
|
9936
9930
|
_requestDraw() {
|
|
@@ -9948,7 +9942,7 @@ class H {
|
|
|
9948
9942
|
n !== void 0 && (s = this.attrs[t], s || (this.attrs[t] = this.getAttr(t)), this.attrs[t][i] = n, this._fireChangeEvent(t, s, n));
|
|
9949
9943
|
}
|
|
9950
9944
|
_fireAndBubble(t, i, n) {
|
|
9951
|
-
i && this.nodeType ===
|
|
9945
|
+
i && this.nodeType === Ba && (i.target = this);
|
|
9952
9946
|
const s = [
|
|
9953
9947
|
Zp,
|
|
9954
9948
|
tg,
|
|
@@ -10102,10 +10096,10 @@ H.prototype.on.call(H.prototype, og, function() {
|
|
|
10102
10096
|
this._clearCache(je), this._clearSelfAndDescendantCache(Re);
|
|
10103
10097
|
});
|
|
10104
10098
|
H.prototype.on.call(H.prototype, "visibleChange.konva", function() {
|
|
10105
|
-
this._clearSelfAndDescendantCache(
|
|
10099
|
+
this._clearSelfAndDescendantCache(Wr);
|
|
10106
10100
|
});
|
|
10107
10101
|
H.prototype.on.call(H.prototype, "listeningChange.konva", function() {
|
|
10108
|
-
this._clearSelfAndDescendantCache(
|
|
10102
|
+
this._clearSelfAndDescendantCache($r);
|
|
10109
10103
|
});
|
|
10110
10104
|
H.prototype.on.call(H.prototype, "opacityChange.konva", function() {
|
|
10111
10105
|
this._clearSelfAndDescendantCache(Es);
|
|
@@ -10350,7 +10344,7 @@ const Vn = /* @__PURE__ */ new Map(), Vc = X._global.PointerEvent !== void 0;
|
|
|
10350
10344
|
function _r(e) {
|
|
10351
10345
|
return Vn.get(e);
|
|
10352
10346
|
}
|
|
10353
|
-
function
|
|
10347
|
+
function Oo(e) {
|
|
10354
10348
|
return {
|
|
10355
10349
|
evt: e,
|
|
10356
10350
|
pointerId: e.pointerId
|
|
@@ -10360,16 +10354,16 @@ function Fc(e, t) {
|
|
|
10360
10354
|
return Vn.get(e) === t;
|
|
10361
10355
|
}
|
|
10362
10356
|
function Gc(e, t) {
|
|
10363
|
-
kn(e), t.getStage() && (Vn.set(e, t), Vc && t._fire("gotpointercapture",
|
|
10357
|
+
kn(e), t.getStage() && (Vn.set(e, t), Vc && t._fire("gotpointercapture", Oo(new PointerEvent("gotpointercapture"))));
|
|
10364
10358
|
}
|
|
10365
10359
|
function kn(e, t) {
|
|
10366
10360
|
const i = Vn.get(e);
|
|
10367
10361
|
if (!i)
|
|
10368
10362
|
return;
|
|
10369
10363
|
const n = i.getStage();
|
|
10370
|
-
n && n.content, Vn.delete(e), Vc && i._fire("lostpointercapture",
|
|
10364
|
+
n && n.content, Vn.delete(e), Vc && i._fire("lostpointercapture", Oo(new PointerEvent("lostpointercapture")));
|
|
10371
10365
|
}
|
|
10372
|
-
const lg = "Stage", cg = "string",
|
|
10366
|
+
const lg = "Stage", cg = "string", $a = "px", hg = "mouseout", Bc = "mouseleave", Hc = "mouseover", $c = "mouseenter", Wc = "mousemove", Uc = "mousedown", jc = "mouseup", mn = "pointermove", _n = "pointerdown", Hi = "pointerup", vn = "pointercancel", dg = "lostpointercapture", rs = "pointerout", bn = "pointerleave", os = "pointerover", as = "pointerenter", Ur = "contextmenu", Xc = "touchstart", zc = "touchend", Yc = "touchmove", qc = "touchcancel", jr = "wheel", ug = 5, fg = [
|
|
10373
10367
|
[$c, "_pointerenter"],
|
|
10374
10368
|
[Uc, "_pointerdown"],
|
|
10375
10369
|
[Wc, "_pointermove"],
|
|
@@ -10380,8 +10374,8 @@ const lg = "Stage", cg = "string", Wa = "px", hg = "mouseout", Bc = "mouseleave"
|
|
|
10380
10374
|
[zc, "_pointerup"],
|
|
10381
10375
|
[qc, "_pointercancel"],
|
|
10382
10376
|
[Hc, "_pointerover"],
|
|
10383
|
-
[
|
|
10384
|
-
[
|
|
10377
|
+
[jr, "_wheel"],
|
|
10378
|
+
[Ur, "_contextmenu"],
|
|
10385
10379
|
[_n, "_pointerdown"],
|
|
10386
10380
|
[mn, "_pointermove"],
|
|
10387
10381
|
[Hi, "_pointerup"],
|
|
@@ -10434,14 +10428,14 @@ const lg = "Stage", cg = "string", Wa = "px", hg = "mouseout", Bc = "mouseleave"
|
|
|
10434
10428
|
if (t === "mouse")
|
|
10435
10429
|
return vr.mouse;
|
|
10436
10430
|
};
|
|
10437
|
-
function
|
|
10431
|
+
function Wa(e = {}) {
|
|
10438
10432
|
return (e.clipFunc || e.clipWidth || e.clipHeight) && E.warn("Stage does not support clipping. Please use clip for Layers or Groups."), e;
|
|
10439
10433
|
}
|
|
10440
10434
|
const pg = "Pointer position is missing and not registered by the stage. Looks like it is outside of the stage container. You can set it manually from event: stage.setPointersPositions(event);", On = [];
|
|
10441
10435
|
class nr extends ne {
|
|
10442
10436
|
constructor(t) {
|
|
10443
|
-
super(
|
|
10444
|
-
|
|
10437
|
+
super(Wa(t)), this._pointerPositions = [], this._changedPointerPositions = [], this._buildDOM(), this._bindContentEvents(), On.push(this), this.on("widthChange.konva heightChange.konva", this._resizeDOM), this.on("visibleChange.konva", this._checkVisibility), this.on("clipWidthChange.konva clipHeightChange.konva clipFuncChange.konva", () => {
|
|
10438
|
+
Wa(this.attrs);
|
|
10445
10439
|
}), this._checkVisibility();
|
|
10446
10440
|
}
|
|
10447
10441
|
_validateAdd(t) {
|
|
@@ -10532,7 +10526,7 @@ class nr extends ne {
|
|
|
10532
10526
|
}
|
|
10533
10527
|
_resizeDOM() {
|
|
10534
10528
|
const t = this.width(), i = this.height();
|
|
10535
|
-
this.content && (this.content.style.width = t +
|
|
10529
|
+
this.content && (this.content.style.width = t + $a, this.content.style.height = i + $a), this.bufferCanvas.setSize(t, i), this.bufferHitCanvas.setSize(t, i), this.children.forEach((n) => {
|
|
10536
10530
|
n.setSize({ width: t, height: i }), n.draw();
|
|
10537
10531
|
});
|
|
10538
10532
|
}
|
|
@@ -10712,7 +10706,7 @@ class nr extends ne {
|
|
|
10712
10706
|
_contextmenu(t) {
|
|
10713
10707
|
this.setPointersPositions(t);
|
|
10714
10708
|
const i = this.getIntersection(this.getPointerPosition());
|
|
10715
|
-
i && i.isListening() ? i._fireAndBubble(
|
|
10709
|
+
i && i.isListening() ? i._fireAndBubble(Ur, { evt: t }) : this._fire(Ur, {
|
|
10716
10710
|
evt: t,
|
|
10717
10711
|
target: this,
|
|
10718
10712
|
currentTarget: this
|
|
@@ -10721,7 +10715,7 @@ class nr extends ne {
|
|
|
10721
10715
|
_wheel(t) {
|
|
10722
10716
|
this.setPointersPositions(t);
|
|
10723
10717
|
const i = this.getIntersection(this.getPointerPosition());
|
|
10724
|
-
i && i.isListening() ? i._fireAndBubble(
|
|
10718
|
+
i && i.isListening() ? i._fireAndBubble(jr, { evt: t }) : this._fire(jr, {
|
|
10725
10719
|
evt: t,
|
|
10726
10720
|
target: this,
|
|
10727
10721
|
currentTarget: this
|
|
@@ -10730,7 +10724,7 @@ class nr extends ne {
|
|
|
10730
10724
|
_pointercancel(t) {
|
|
10731
10725
|
this.setPointersPositions(t);
|
|
10732
10726
|
const i = _r(t.pointerId) || this.getIntersection(this.getPointerPosition());
|
|
10733
|
-
i && i._fireAndBubble(Hi,
|
|
10727
|
+
i && i._fireAndBubble(Hi, Oo(t)), kn(t.pointerId);
|
|
10734
10728
|
}
|
|
10735
10729
|
_lostpointercapture(t) {
|
|
10736
10730
|
kn(t.pointerId);
|
|
@@ -10780,7 +10774,7 @@ class nr extends ne {
|
|
|
10780
10774
|
if (this.bufferCanvas = new Je({
|
|
10781
10775
|
width: this.width(),
|
|
10782
10776
|
height: this.height()
|
|
10783
|
-
}), this.bufferHitCanvas = new
|
|
10777
|
+
}), this.bufferHitCanvas = new To({
|
|
10784
10778
|
pixelRatio: 1,
|
|
10785
10779
|
width: this.width(),
|
|
10786
10780
|
height: this.height()
|
|
@@ -11090,7 +11084,7 @@ V.prototype.on.call(V.prototype, "fillPriorityChange.konva fillRadialGradientCol
|
|
|
11090
11084
|
m.addGetterSetter(V, "stroke", void 0, Dc());
|
|
11091
11085
|
m.addGetterSetter(V, "strokeWidth", 2, W());
|
|
11092
11086
|
m.addGetterSetter(V, "fillAfterStrokeEnabled", !1);
|
|
11093
|
-
m.addGetterSetter(V, "hitStrokeWidth", "auto",
|
|
11087
|
+
m.addGetterSetter(V, "hitStrokeWidth", "auto", ko());
|
|
11094
11088
|
m.addGetterSetter(V, "strokeHitEnabled", !0, _e());
|
|
11095
11089
|
m.addGetterSetter(V, "perfectDrawEnabled", !0, _e());
|
|
11096
11090
|
m.addGetterSetter(V, "shadowForStrokeEnabled", !0, _e());
|
|
@@ -11187,7 +11181,7 @@ const xg = "beforeDraw", Cg = "draw", eh = [
|
|
|
11187
11181
|
], Ng = eh.length;
|
|
11188
11182
|
class Ti extends ne {
|
|
11189
11183
|
constructor(t) {
|
|
11190
|
-
super(t), this.canvas = new Je(), this.hitCanvas = new
|
|
11184
|
+
super(t), this.canvas = new Je(), this.hitCanvas = new To({
|
|
11191
11185
|
pixelRatio: 1
|
|
11192
11186
|
}), this._waitingForDraw = !1, this.on("visibleChange.konva", this._checkVisibility), this._checkVisibility(), this.on("imageSmoothingEnabledChange.konva", this._setSmoothEnabled), this._setSmoothEnabled();
|
|
11193
11187
|
}
|
|
@@ -11367,13 +11361,13 @@ Ot(Ti);
|
|
|
11367
11361
|
m.addGetterSetter(Ti, "imageSmoothingEnabled", !0);
|
|
11368
11362
|
m.addGetterSetter(Ti, "clearBeforeDraw", !0);
|
|
11369
11363
|
m.addGetterSetter(Ti, "hitGraphEnabled", !0, _e());
|
|
11370
|
-
class
|
|
11364
|
+
class Po extends Ti {
|
|
11371
11365
|
constructor(t) {
|
|
11372
11366
|
super(t), this.listening(!1), E.warn('Konva.Fast layer is deprecated. Please use "new Konva.Layer({ listening: false })" instead.');
|
|
11373
11367
|
}
|
|
11374
11368
|
}
|
|
11375
|
-
|
|
11376
|
-
Ot(
|
|
11369
|
+
Po.prototype.nodeType = "FastLayer";
|
|
11370
|
+
Ot(Po);
|
|
11377
11371
|
class Yi extends ne {
|
|
11378
11372
|
_validateAdd(t) {
|
|
11379
11373
|
const i = t.getType();
|
|
@@ -11472,7 +11466,7 @@ const Tg = {
|
|
|
11472
11466
|
easing: 1,
|
|
11473
11467
|
onFinish: 1,
|
|
11474
11468
|
yoyo: 1
|
|
11475
|
-
}, kg = 1,
|
|
11469
|
+
}, kg = 1, Ua = 2, ja = 3, Xa = ["fill", "stroke", "shadowColor"];
|
|
11476
11470
|
let Og = 0;
|
|
11477
11471
|
class Pg {
|
|
11478
11472
|
constructor(t, i, n, s, r, o, a) {
|
|
@@ -11495,10 +11489,10 @@ class Pg {
|
|
|
11495
11489
|
return t === void 0 && (t = this._time), this.func(t, this.begin, this._change, this.duration);
|
|
11496
11490
|
}
|
|
11497
11491
|
play() {
|
|
11498
|
-
this.state =
|
|
11492
|
+
this.state = Ua, this._startTime = this.getTimer() - this._time, this.onEnterFrame(), this.fire("onPlay");
|
|
11499
11493
|
}
|
|
11500
11494
|
reverse() {
|
|
11501
|
-
this.state =
|
|
11495
|
+
this.state = ja, this._time = this.duration - this._time, this._startTime = this.getTimer() - this._time, this.onEnterFrame(), this.fire("onReverse");
|
|
11502
11496
|
}
|
|
11503
11497
|
seek(t) {
|
|
11504
11498
|
this.pause(), this._time = t, this.update(), this.fire("onSeek");
|
|
@@ -11514,7 +11508,7 @@ class Pg {
|
|
|
11514
11508
|
}
|
|
11515
11509
|
onEnterFrame() {
|
|
11516
11510
|
const t = this.getTimer() - this._startTime;
|
|
11517
|
-
this.state ===
|
|
11511
|
+
this.state === Ua ? this.setTime(t) : this.state === ja && this.setTime(this.duration - t);
|
|
11518
11512
|
}
|
|
11519
11513
|
pause() {
|
|
11520
11514
|
this.state = kg, this.fire("onPause");
|
|
@@ -11561,7 +11555,7 @@ class yt {
|
|
|
11561
11555
|
else
|
|
11562
11556
|
for (let u = 0; u < o; u++)
|
|
11563
11557
|
r.push(i[u] - d[u]);
|
|
11564
|
-
else
|
|
11558
|
+
else Xa.indexOf(t) !== -1 ? (d = E.colorToRGBA(d), c = E.colorToRGBA(i), r = {
|
|
11565
11559
|
r: c.r - d.r,
|
|
11566
11560
|
g: c.g - d.g,
|
|
11567
11561
|
b: c.b - d.b,
|
|
@@ -11586,7 +11580,7 @@ class yt {
|
|
|
11586
11580
|
else
|
|
11587
11581
|
for (c = 0; c < h; c++)
|
|
11588
11582
|
l.push((o[c] || 0) + a[c] * t);
|
|
11589
|
-
else
|
|
11583
|
+
else Xa.indexOf(s) !== -1 ? l = "rgba(" + Math.round(o.r + a.r * t) + "," + Math.round(o.g + a.g * t) + "," + Math.round(o.b + a.b * t) + "," + (o.a + a.a * t) + ")" : l = o + a * t;
|
|
11590
11584
|
i.setAttr(s, l);
|
|
11591
11585
|
}
|
|
11592
11586
|
}
|
|
@@ -11694,7 +11688,7 @@ const An = {
|
|
|
11694
11688
|
Linear(e, t, i, n) {
|
|
11695
11689
|
return i * e / n + t;
|
|
11696
11690
|
}
|
|
11697
|
-
},
|
|
11691
|
+
}, za = E._assign(X, {
|
|
11698
11692
|
Util: E,
|
|
11699
11693
|
Transform: Zt,
|
|
11700
11694
|
Node: H,
|
|
@@ -11702,7 +11696,7 @@ const An = {
|
|
|
11702
11696
|
Stage: nr,
|
|
11703
11697
|
stages: On,
|
|
11704
11698
|
Layer: Ti,
|
|
11705
|
-
FastLayer:
|
|
11699
|
+
FastLayer: Po,
|
|
11706
11700
|
Group: Yi,
|
|
11707
11701
|
DD: pt,
|
|
11708
11702
|
Shape: V,
|
|
@@ -11711,7 +11705,7 @@ const An = {
|
|
|
11711
11705
|
Tween: yt,
|
|
11712
11706
|
Easings: An,
|
|
11713
11707
|
Context: er,
|
|
11714
|
-
Canvas:
|
|
11708
|
+
Canvas: No
|
|
11715
11709
|
});
|
|
11716
11710
|
class $e extends V {
|
|
11717
11711
|
_sceneFunc(t) {
|
|
@@ -11753,14 +11747,14 @@ m.addGetterSetter($e, "innerRadius", 0, W());
|
|
|
11753
11747
|
m.addGetterSetter($e, "outerRadius", 0, W());
|
|
11754
11748
|
m.addGetterSetter($e, "angle", 0, W());
|
|
11755
11749
|
m.addGetterSetter($e, "clockwise", !1, _e());
|
|
11756
|
-
function
|
|
11750
|
+
function Xr(e, t, i, n, s, r, o) {
|
|
11757
11751
|
const a = Math.sqrt(Math.pow(i - e, 2) + Math.pow(n - t, 2)), l = Math.sqrt(Math.pow(s - i, 2) + Math.pow(r - n, 2)), c = o * a / (a + l), h = o * l / (a + l), d = i - c * (s - e), u = n - c * (r - t), f = i + h * (s - e), p = n + h * (r - t);
|
|
11758
11752
|
return [d, u, f, p];
|
|
11759
11753
|
}
|
|
11760
|
-
function
|
|
11754
|
+
function Ya(e, t) {
|
|
11761
11755
|
const i = e.length, n = [];
|
|
11762
11756
|
for (let s = 2; s < i - 2; s += 2) {
|
|
11763
|
-
const r =
|
|
11757
|
+
const r = Xr(e[s - 2], e[s - 1], e[s], e[s + 1], e[s + 2], e[s + 3], t);
|
|
11764
11758
|
isNaN(r[0]) || (n.push(r[0]), n.push(r[1]), n.push(e[s]), n.push(e[s + 1]), n.push(r[2]), n.push(r[3]));
|
|
11765
11759
|
}
|
|
11766
11760
|
return n;
|
|
@@ -11793,10 +11787,10 @@ class We extends V {
|
|
|
11793
11787
|
return this._getCache("tensionPoints", this._getTensionPoints);
|
|
11794
11788
|
}
|
|
11795
11789
|
_getTensionPoints() {
|
|
11796
|
-
return this.closed() ? this._getTensionPointsClosed() :
|
|
11790
|
+
return this.closed() ? this._getTensionPointsClosed() : Ya(this.points(), this.tension());
|
|
11797
11791
|
}
|
|
11798
11792
|
_getTensionPointsClosed() {
|
|
11799
|
-
const t = this.points(), i = t.length, n = this.tension(), s =
|
|
11793
|
+
const t = this.points(), i = t.length, n = this.tension(), s = Xr(t[i - 2], t[i - 1], t[0], t[1], t[2], t[3], n), r = Xr(t[i - 4], t[i - 3], t[i - 2], t[i - 1], t[0], t[1], n), o = Ya(t, n);
|
|
11800
11794
|
return [s[2], s[3]].concat(o).concat([
|
|
11801
11795
|
r[0],
|
|
11802
11796
|
r[1],
|
|
@@ -12543,14 +12537,14 @@ const Ag = [
|
|
|
12543
12537
|
0.0123412297999872,
|
|
12544
12538
|
0.0123412297999872
|
|
12545
12539
|
]
|
|
12546
|
-
], Mg = [[1], [1, 1], [1, 2, 1], [1, 3, 3, 1]],
|
|
12540
|
+
], Mg = [[1], [1, 1], [1, 2, 1], [1, 3, 3, 1]], qa = (e, t, i) => {
|
|
12547
12541
|
let n, s;
|
|
12548
12542
|
const o = i / 2;
|
|
12549
12543
|
n = 0;
|
|
12550
12544
|
for (let a = 0; a < 20; a++)
|
|
12551
12545
|
s = o * Ag[20][a] + o, n += Rg[20][a] * Lg(e, t, s);
|
|
12552
12546
|
return o * n;
|
|
12553
|
-
},
|
|
12547
|
+
}, Ka = (e, t, i) => {
|
|
12554
12548
|
i === void 0 && (i = 1);
|
|
12555
12549
|
const n = e[0] - 2 * e[1] + e[2], s = t[0] - 2 * t[1] + t[2], r = 2 * e[1] - 2 * e[0], o = 2 * t[1] - 2 * t[0], a = 4 * (n * n + s * s), l = 4 * (n * r + s * o), c = r * r + o * o;
|
|
12556
12550
|
if (a === 0)
|
|
@@ -12559,10 +12553,10 @@ const Ag = [
|
|
|
12559
12553
|
return Math.sqrt(a) / 2 * (u * p - h * _ + b);
|
|
12560
12554
|
};
|
|
12561
12555
|
function Lg(e, t, i) {
|
|
12562
|
-
const n =
|
|
12556
|
+
const n = zr(1, i, e), s = zr(1, i, t), r = n * n + s * s;
|
|
12563
12557
|
return Math.sqrt(r);
|
|
12564
12558
|
}
|
|
12565
|
-
const
|
|
12559
|
+
const zr = (e, t, i) => {
|
|
12566
12560
|
const n = i.length - 1;
|
|
12567
12561
|
let s, r;
|
|
12568
12562
|
if (n === 0)
|
|
@@ -12576,9 +12570,9 @@ const Yr = (e, t, i) => {
|
|
|
12576
12570
|
s = new Array(n);
|
|
12577
12571
|
for (let o = 0; o < n; o++)
|
|
12578
12572
|
s[o] = n * (i[o + 1] - i[o]);
|
|
12579
|
-
return
|
|
12573
|
+
return zr(e - 1, t, s);
|
|
12580
12574
|
}
|
|
12581
|
-
},
|
|
12575
|
+
}, Ja = (e, t, i) => {
|
|
12582
12576
|
let n = 1, s = e / t, r = (e - i(s)) / t, o = 0;
|
|
12583
12577
|
for (; n > 1e-3; ) {
|
|
12584
12578
|
const a = i(s + r), l = Math.abs(e - a) / t;
|
|
@@ -12705,9 +12699,9 @@ class Et extends V {
|
|
|
12705
12699
|
case "L":
|
|
12706
12700
|
return Et.getPointOnLine(t, o.start.x, o.start.y, a[0], a[1]);
|
|
12707
12701
|
case "C":
|
|
12708
|
-
return Et.getPointOnCubicBezier(
|
|
12702
|
+
return Et.getPointOnCubicBezier(Ja(t, Et.getPathLength(i), (_) => qa([o.start.x, a[0], a[2], a[4]], [o.start.y, a[1], a[3], a[5]], _)), o.start.x, o.start.y, a[0], a[1], a[2], a[3], a[4], a[5]);
|
|
12709
12703
|
case "Q":
|
|
12710
|
-
return Et.getPointOnQuadraticBezier(
|
|
12704
|
+
return Et.getPointOnQuadraticBezier(Ja(t, Et.getPathLength(i), (_) => Ka([o.start.x, a[0], a[2]], [o.start.y, a[1], a[3]], _)), o.start.x, o.start.y, a[0], a[1], a[2], a[3]);
|
|
12711
12705
|
case "A":
|
|
12712
12706
|
const l = a[0], c = a[1], h = a[2], d = a[3], u = a[5], f = a[6];
|
|
12713
12707
|
let p = a[4];
|
|
@@ -12936,9 +12930,9 @@ class Et extends V {
|
|
|
12936
12930
|
case "L":
|
|
12937
12931
|
return c.getLineLength(t, i, s[0], s[1]);
|
|
12938
12932
|
case "C":
|
|
12939
|
-
return
|
|
12933
|
+
return qa([t, s[0], s[2], s[4]], [i, s[1], s[3], s[5]], 1);
|
|
12940
12934
|
case "Q":
|
|
12941
|
-
return
|
|
12935
|
+
return Ka([t, s[0], s[2]], [i, s[1], s[3]], 1);
|
|
12942
12936
|
case "A":
|
|
12943
12937
|
r = 0;
|
|
12944
12938
|
const h = s[4], d = s[5], u = s[4] + d;
|
|
@@ -13149,8 +13143,8 @@ const ih = [
|
|
|
13149
13143
|
"pointerDirection",
|
|
13150
13144
|
"pointerWidth",
|
|
13151
13145
|
"pointerHeight"
|
|
13152
|
-
], Ig = "Change.konva", Dg = "none",
|
|
13153
|
-
class
|
|
13146
|
+
], Ig = "Change.konva", Dg = "none", Yr = "up", qr = "right", Kr = "down", Jr = "left", Vg = ih.length;
|
|
13147
|
+
class Ao extends Yi {
|
|
13154
13148
|
constructor(t) {
|
|
13155
13149
|
super(t), this.on("add.konva", function(i) {
|
|
13156
13150
|
this._addListeners(i.child), this._sync();
|
|
@@ -13180,16 +13174,16 @@ class Ro extends Yi {
|
|
|
13180
13174
|
let t = this.getText(), i = this.getTag(), n, s, r, o, a, l, c;
|
|
13181
13175
|
if (t && i) {
|
|
13182
13176
|
switch (n = t.width(), s = t.height(), r = i.pointerDirection(), o = i.pointerWidth(), c = i.pointerHeight(), a = 0, l = 0, r) {
|
|
13183
|
-
case
|
|
13177
|
+
case Yr:
|
|
13184
13178
|
a = n / 2, l = -1 * c;
|
|
13185
13179
|
break;
|
|
13186
|
-
case
|
|
13180
|
+
case qr:
|
|
13187
13181
|
a = n + o, l = s / 2;
|
|
13188
13182
|
break;
|
|
13189
|
-
case
|
|
13183
|
+
case Kr:
|
|
13190
13184
|
a = n / 2, l = s + c;
|
|
13191
13185
|
break;
|
|
13192
|
-
case
|
|
13186
|
+
case Jr:
|
|
13193
13187
|
a = -1 * o, l = s / 2;
|
|
13194
13188
|
break;
|
|
13195
13189
|
}
|
|
@@ -13205,17 +13199,17 @@ class Ro extends Yi {
|
|
|
13205
13199
|
}
|
|
13206
13200
|
}
|
|
13207
13201
|
}
|
|
13208
|
-
|
|
13209
|
-
Ot(
|
|
13202
|
+
Ao.prototype.className = "Label";
|
|
13203
|
+
Ot(Ao);
|
|
13210
13204
|
class Oi extends V {
|
|
13211
13205
|
_sceneFunc(t) {
|
|
13212
13206
|
const i = this.width(), n = this.height(), s = this.pointerDirection(), r = this.pointerWidth(), o = this.pointerHeight(), a = this.cornerRadius();
|
|
13213
13207
|
let l = 0, c = 0, h = 0, d = 0;
|
|
13214
|
-
typeof a == "number" ? l = c = h = d = Math.min(a, i / 2, n / 2) : (l = Math.min(a[0] || 0, i / 2, n / 2), c = Math.min(a[1] || 0, i / 2, n / 2), d = Math.min(a[2] || 0, i / 2, n / 2), h = Math.min(a[3] || 0, i / 2, n / 2)), t.beginPath(), t.moveTo(l, 0), s ===
|
|
13208
|
+
typeof a == "number" ? l = c = h = d = Math.min(a, i / 2, n / 2) : (l = Math.min(a[0] || 0, i / 2, n / 2), c = Math.min(a[1] || 0, i / 2, n / 2), d = Math.min(a[2] || 0, i / 2, n / 2), h = Math.min(a[3] || 0, i / 2, n / 2)), t.beginPath(), t.moveTo(l, 0), s === Yr && (t.lineTo((i - r) / 2, 0), t.lineTo(i / 2, -1 * o), t.lineTo((i + r) / 2, 0)), t.lineTo(i - c, 0), t.arc(i - c, c, c, Math.PI * 3 / 2, 0, !1), s === qr && (t.lineTo(i, (n - o) / 2), t.lineTo(i + r, n / 2), t.lineTo(i, (n + o) / 2)), t.lineTo(i, n - d), t.arc(i - d, n - d, d, 0, Math.PI / 2, !1), s === Kr && (t.lineTo((i + r) / 2, n), t.lineTo(i / 2, n + o), t.lineTo((i - r) / 2, n)), t.lineTo(h, n), t.arc(h, n - h, h, Math.PI / 2, Math.PI, !1), s === Jr && (t.lineTo(0, (n + o) / 2), t.lineTo(-1 * r, n / 2), t.lineTo(0, (n - o) / 2)), t.lineTo(0, l), t.arc(l, l, l, Math.PI, Math.PI * 3 / 2, !1), t.closePath(), t.fillStrokeShape(this);
|
|
13215
13209
|
}
|
|
13216
13210
|
getSelfRect() {
|
|
13217
13211
|
let t = 0, i = 0, n = this.pointerWidth(), s = this.pointerHeight(), r = this.pointerDirection(), o = this.width(), a = this.height();
|
|
13218
|
-
return r ===
|
|
13212
|
+
return r === Yr ? (i -= s, a += s) : r === Kr ? a += s : r === Jr ? (t -= n * 1.5, o += n) : r === qr && (o += n * 1.5), {
|
|
13219
13213
|
x: t,
|
|
13220
13214
|
y: i,
|
|
13221
13215
|
width: o,
|
|
@@ -13291,10 +13285,10 @@ Ot(oi);
|
|
|
13291
13285
|
m.addGetterSetter(oi, "radius", 0, W());
|
|
13292
13286
|
m.addGetterSetter(oi, "sides", 0, W());
|
|
13293
13287
|
m.addGetterSetter(oi, "cornerRadius", 0, ir(4));
|
|
13294
|
-
const
|
|
13288
|
+
const Qa = Math.PI * 2;
|
|
13295
13289
|
class Pi extends V {
|
|
13296
13290
|
_sceneFunc(t) {
|
|
13297
|
-
t.beginPath(), t.arc(0, 0, this.innerRadius(), 0,
|
|
13291
|
+
t.beginPath(), t.arc(0, 0, this.innerRadius(), 0, Qa, !1), t.moveTo(this.outerRadius(), 0), t.arc(0, 0, this.outerRadius(), Qa, 0, !0), t.closePath(), t.fillStrokeShape(this);
|
|
13298
13292
|
}
|
|
13299
13293
|
getWidth() {
|
|
13300
13294
|
return this.outerRadius() * 2;
|
|
@@ -13424,7 +13418,7 @@ function Xe(e) {
|
|
|
13424
13418
|
return t;
|
|
13425
13419
|
}, []);
|
|
13426
13420
|
}
|
|
13427
|
-
const Fi = "auto", Fg = "center", nh = "inherit", dn = "justify", Gg = "Change.konva", Bg = "2d",
|
|
13421
|
+
const Fi = "auto", Fg = "center", nh = "inherit", dn = "justify", Gg = "Change.konva", Bg = "2d", Za = "-", sh = "left", Hg = "text", $g = "Text", Wg = "top", Ug = "bottom", tl = "middle", rh = "normal", jg = "px ", cs = " ", Xg = "right", el = "rtl", zg = "word", Yg = "char", il = "none", Er = "…", oh = [
|
|
13428
13422
|
"direction",
|
|
13429
13423
|
"fontFamily",
|
|
13430
13424
|
"fontSize",
|
|
@@ -13475,14 +13469,14 @@ class wt extends V {
|
|
|
13475
13469
|
return;
|
|
13476
13470
|
let o = this.padding(), a = this.fontSize(), l = this.lineHeight() * a, c = this.verticalAlign(), h = this.direction(), d = 0, u = this.align(), f = this.getWidth(), p = this.letterSpacing(), _ = this.charRenderFunc(), b = this.fill(), S = this.textDecoration(), y = S.indexOf("underline") !== -1, C = S.indexOf("line-through") !== -1, N;
|
|
13477
13471
|
h = h === nh ? t.direction : h;
|
|
13478
|
-
let T = l / 2, O =
|
|
13472
|
+
let T = l / 2, O = tl;
|
|
13479
13473
|
if (!X.legacyTextRendering) {
|
|
13480
13474
|
const w = this.measureSize("M");
|
|
13481
13475
|
O = "alphabetic";
|
|
13482
13476
|
const x = (i = w.fontBoundingBoxAscent) !== null && i !== void 0 ? i : w.actualBoundingBoxAscent, P = (n = w.fontBoundingBoxDescent) !== null && n !== void 0 ? n : w.actualBoundingBoxDescent;
|
|
13483
13477
|
T = (x - P) / 2 + l / 2;
|
|
13484
13478
|
}
|
|
13485
|
-
for (h ===
|
|
13479
|
+
for (h === el && t.setAttr("direction", h), t.setAttr("font", this._getContextFont()), t.setAttr("textBaseline", O), t.setAttr("textAlign", sh), c === tl ? d = (this.getHeight() - r * l - o * 2) / 2 : c === Ug && (d = this.getHeight() - r * l - o * 2), t.translate(o, d + o), N = 0; N < r; N++) {
|
|
13486
13480
|
let w = 0, x = 0;
|
|
13487
13481
|
const P = s[N], G = P.text, K = P.width, z = P.lastInParagraph;
|
|
13488
13482
|
if (t.save(), u === Xg ? w += f - K - o * 2 : u === Fg && (w += (f - K - o * 2) / 2), y) {
|
|
@@ -13495,7 +13489,7 @@ class wt extends V {
|
|
|
13495
13489
|
t.strokeStyle = D || b, t.stroke(), t.restore();
|
|
13496
13490
|
}
|
|
13497
13491
|
const Z = w;
|
|
13498
|
-
if (h !==
|
|
13492
|
+
if (h !== el && (p !== 0 || u === dn || _)) {
|
|
13499
13493
|
const J = G.split(" ").length - 1, A = Xe(G);
|
|
13500
13494
|
for (let L = 0; L < A.length; L++) {
|
|
13501
13495
|
const B = A[L];
|
|
@@ -13589,7 +13583,7 @@ class wt extends V {
|
|
|
13589
13583
|
}
|
|
13590
13584
|
_setTextData() {
|
|
13591
13585
|
let t = this.text().split(`
|
|
13592
|
-
`), i = +this.fontSize(), n = 0, s = this.lineHeight() * i, r = this.attrs.width, o = this.attrs.height, a = r !== Fi && r !== void 0, l = o !== Fi && o !== void 0, c = this.padding(), h = r - c * 2, d = o - c * 2, u = 0, f = this.wrap(), p = f !==
|
|
13586
|
+
`), i = +this.fontSize(), n = 0, s = this.lineHeight() * i, r = this.attrs.width, o = this.attrs.height, a = r !== Fi && r !== void 0, l = o !== Fi && o !== void 0, c = this.padding(), h = r - c * 2, d = o - c * 2, u = 0, f = this.wrap(), p = f !== il, _ = f !== Yg && p, b = this.ellipsis();
|
|
13593
13587
|
this.textArr = [], Sr().font = this._getContextFont();
|
|
13594
13588
|
const S = b ? this._getTextWidth(Er) : 0;
|
|
13595
13589
|
for (let y = 0, C = t.length; y < C; ++y) {
|
|
@@ -13603,12 +13597,12 @@ class wt extends V {
|
|
|
13603
13597
|
}
|
|
13604
13598
|
if (x) {
|
|
13605
13599
|
if (_) {
|
|
13606
|
-
const z = Xe(N), Z = Xe(x), J = z[Z.length], A = J === cs || J ===
|
|
13600
|
+
const z = Xe(N), Z = Xe(x), J = z[Z.length], A = J === cs || J === Za;
|
|
13607
13601
|
let L;
|
|
13608
13602
|
if (A && P <= h)
|
|
13609
13603
|
L = Z.length;
|
|
13610
13604
|
else {
|
|
13611
|
-
const B = Z.lastIndexOf(cs), D = Z.lastIndexOf(
|
|
13605
|
+
const B = Z.lastIndexOf(cs), D = Z.lastIndexOf(Za);
|
|
13612
13606
|
L = Math.max(B, D) + 1;
|
|
13613
13607
|
}
|
|
13614
13608
|
L > 0 && (O = L, x = z.slice(0, O).join(""), P = this._getTextWidth(x));
|
|
@@ -13633,7 +13627,7 @@ class wt extends V {
|
|
|
13633
13627
|
}
|
|
13634
13628
|
_shouldHandleEllipsis(t) {
|
|
13635
13629
|
const i = +this.fontSize(), n = this.lineHeight() * i, s = this.attrs.height, r = s !== Fi && s !== void 0, o = this.padding(), a = s - o * 2;
|
|
13636
|
-
return !(this.wrap() !==
|
|
13630
|
+
return !(this.wrap() !== il) || r && t + n > a;
|
|
13637
13631
|
}
|
|
13638
13632
|
_tryToAddEllipsisToLastLine() {
|
|
13639
13633
|
const t = this.attrs.width, i = t !== Fi && t !== void 0, n = this.padding(), s = t - n * 2, r = this.ellipsis(), o = this.textArr[this.textArr.length - 1];
|
|
@@ -13659,8 +13653,8 @@ wt.prototype._attrsAffectingSize = [
|
|
|
13659
13653
|
"letterSpacing"
|
|
13660
13654
|
];
|
|
13661
13655
|
Ot(wt);
|
|
13662
|
-
m.overWriteSetter(wt, "width",
|
|
13663
|
-
m.overWriteSetter(wt, "height",
|
|
13656
|
+
m.overWriteSetter(wt, "width", ko());
|
|
13657
|
+
m.overWriteSetter(wt, "height", ko());
|
|
13664
13658
|
m.addGetterSetter(wt, "direction", nh);
|
|
13665
13659
|
m.addGetterSetter(wt, "fontFamily", "Arial");
|
|
13666
13660
|
m.addGetterSetter(wt, "fontSize", 12, W());
|
|
@@ -13865,7 +13859,7 @@ const hh = "tr-konva", e1 = [
|
|
|
13865
13859
|
"anchorCornerRadiusChange",
|
|
13866
13860
|
"ignoreStrokeChange",
|
|
13867
13861
|
"anchorStyleFuncChange"
|
|
13868
|
-
].map((e) => e + `.${hh}`).join(" "),
|
|
13862
|
+
].map((e) => e + `.${hh}`).join(" "), nl = "nodesRect", i1 = [
|
|
13869
13863
|
"widthChange",
|
|
13870
13864
|
"heightChange",
|
|
13871
13865
|
"scaleXChange",
|
|
@@ -13932,7 +13926,7 @@ function l1(e, t, i) {
|
|
|
13932
13926
|
}
|
|
13933
13927
|
return n;
|
|
13934
13928
|
}
|
|
13935
|
-
let
|
|
13929
|
+
let Qr = 0;
|
|
13936
13930
|
class ct extends Yi {
|
|
13937
13931
|
constructor(t) {
|
|
13938
13932
|
super(t), this._movingAnchorName = null, this._transforming = !1, this._createElements(), this._handleMouseMove = this._handleMouseMove.bind(this), this._handleMouseUp = this._handleMouseUp.bind(this), this.update = this.update.bind(this), this.on(e1, this.update), this.getNode() && this.update();
|
|
@@ -13994,10 +13988,10 @@ class ct extends Yi {
|
|
|
13994
13988
|
}), this._nodes = [], this._resetTransformCache();
|
|
13995
13989
|
}
|
|
13996
13990
|
_resetTransformCache() {
|
|
13997
|
-
this._clearCache(
|
|
13991
|
+
this._clearCache(nl), this._clearCache("transform"), this._clearSelfAndDescendantCache("absoluteTransform");
|
|
13998
13992
|
}
|
|
13999
13993
|
_getNodeRect() {
|
|
14000
|
-
return this._getCache(
|
|
13994
|
+
return this._getCache(nl, this.__getNodeRect);
|
|
14001
13995
|
}
|
|
14002
13996
|
__getNodeShape(t, i = this.rotation(), n) {
|
|
14003
13997
|
const s = t.getClientRect({
|
|
@@ -14134,7 +14128,7 @@ class ct extends Yi {
|
|
|
14134
14128
|
this._anchorDragOffset = {
|
|
14135
14129
|
x: a.x - o.x,
|
|
14136
14130
|
y: a.y - o.y
|
|
14137
|
-
},
|
|
14131
|
+
}, Qr++, this._fire("transformstart", { evt: t.evt, target: this.getNode() }), this._nodes.forEach((l) => {
|
|
14138
14132
|
l._fire("transformstart", { evt: t.evt, target: l });
|
|
14139
14133
|
});
|
|
14140
14134
|
}
|
|
@@ -14262,7 +14256,7 @@ class ct extends Yi {
|
|
|
14262
14256
|
if (this._transforming) {
|
|
14263
14257
|
this._transforming = !1, typeof window < "u" && (window.removeEventListener("mousemove", this._handleMouseMove), window.removeEventListener("touchmove", this._handleMouseMove), window.removeEventListener("mouseup", this._handleMouseUp, !0), window.removeEventListener("touchend", this._handleMouseUp, !0));
|
|
14264
14258
|
const n = this.getNode();
|
|
14265
|
-
|
|
14259
|
+
Qr--, this._fire("transformend", { evt: t, target: n }), (i = this.getLayer()) === null || i === void 0 || i.batchDraw(), n && this._nodes.forEach((s) => {
|
|
14266
14260
|
var r;
|
|
14267
14261
|
s._fire("transformend", { evt: t, target: s }), (r = s.getLayer()) === null || r === void 0 || r.batchDraw();
|
|
14268
14262
|
}), this._movingAnchorName = null;
|
|
@@ -14437,7 +14431,7 @@ class ct extends Yi {
|
|
|
14437
14431
|
return this.nodes().length > 0 ? super.getClientRect() : { x: 0, y: 0, width: 0, height: 0 };
|
|
14438
14432
|
}
|
|
14439
14433
|
}
|
|
14440
|
-
ct.isTransforming = () =>
|
|
14434
|
+
ct.isTransforming = () => Qr > 0;
|
|
14441
14435
|
function c1(e) {
|
|
14442
14436
|
return e instanceof Array || E.warn("enabledAnchors value should be an array"), e instanceof Array && e.forEach(function(t) {
|
|
14443
14437
|
Bs.indexOf(t) === -1 && E.warn("Unknown anchor name: " + t + ". Available names are: " + Bs.join(", "));
|
|
@@ -14509,7 +14503,7 @@ m.backCompat(Ue, {
|
|
|
14509
14503
|
getAngleDeg: "getAngle",
|
|
14510
14504
|
setAngleDeg: "setAngle"
|
|
14511
14505
|
});
|
|
14512
|
-
function
|
|
14506
|
+
function sl() {
|
|
14513
14507
|
this.r = 0, this.g = 0, this.b = 0, this.a = 0, this.next = null;
|
|
14514
14508
|
}
|
|
14515
14509
|
const h1 = [
|
|
@@ -15028,10 +15022,10 @@ const h1 = [
|
|
|
15028
15022
|
function u1(e, t) {
|
|
15029
15023
|
const i = e.data, n = e.width, s = e.height;
|
|
15030
15024
|
let r, o, a, l, c, h, d, u, f, p, _, b, S, y, C, N, T, O, w, x;
|
|
15031
|
-
const P = t + t + 1, G = n - 1, K = s - 1, z = t + 1, Z = z * (z + 1) / 2, J = new
|
|
15025
|
+
const P = t + t + 1, G = n - 1, K = s - 1, z = t + 1, Z = z * (z + 1) / 2, J = new sl(), A = h1[t], L = d1[t];
|
|
15032
15026
|
let B = null, D = J, nt = null, at = null;
|
|
15033
15027
|
for (let ot = 1; ot < P; ot++)
|
|
15034
|
-
D = D.next = new
|
|
15028
|
+
D = D.next = new sl(), ot === z && (B = D);
|
|
15035
15029
|
D.next = J, a = o = 0;
|
|
15036
15030
|
for (let ot = 0; ot < s; ot++) {
|
|
15037
15031
|
b = S = y = C = l = c = h = d = 0, u = z * (N = i[o]), f = z * (T = i[o + 1]), p = z * (O = i[o + 2]), _ = z * (w = i[o + 3]), l += Z * N, c += Z * T, h += Z * O, d += Z * w, D = J;
|
|
@@ -15439,13 +15433,13 @@ const F1 = function(e) {
|
|
|
15439
15433
|
i[s] = i[s] < t ? 0 : 255;
|
|
15440
15434
|
};
|
|
15441
15435
|
m.addGetterSetter(H, "threshold", 0.5, W(), m.afterSetFilter);
|
|
15442
|
-
const Fn =
|
|
15436
|
+
const Fn = za.Util._assign(za, {
|
|
15443
15437
|
Arc: $e,
|
|
15444
15438
|
Arrow: ki,
|
|
15445
15439
|
Circle: Qi,
|
|
15446
15440
|
Ellipse: ri,
|
|
15447
15441
|
Image: se,
|
|
15448
|
-
Label:
|
|
15442
|
+
Label: Ao,
|
|
15449
15443
|
Tag: Oi,
|
|
15450
15444
|
Line: We,
|
|
15451
15445
|
Path: Et,
|
|
@@ -15487,12 +15481,12 @@ function Hs(e) {
|
|
|
15487
15481
|
t && t.batchDraw();
|
|
15488
15482
|
}
|
|
15489
15483
|
}
|
|
15490
|
-
const
|
|
15484
|
+
const rl = { key: !0, style: !0, elm: !0, isRootInsert: !0 }, xr = ".vue-konva-event";
|
|
15491
15485
|
function uh(e, t, i, n) {
|
|
15492
15486
|
const s = e.__konvaNode, r = {};
|
|
15493
15487
|
let o = !1;
|
|
15494
15488
|
for (let a in i) {
|
|
15495
|
-
if (
|
|
15489
|
+
if (rl.hasOwnProperty(a))
|
|
15496
15490
|
continue;
|
|
15497
15491
|
const l = a.slice(0, 2) === "on", c = i[a] !== t[a];
|
|
15498
15492
|
if (l && c) {
|
|
@@ -15502,7 +15496,7 @@ function uh(e, t, i, n) {
|
|
|
15502
15496
|
!t.hasOwnProperty(a) && s?.setAttr(a, void 0);
|
|
15503
15497
|
}
|
|
15504
15498
|
for (let a in t) {
|
|
15505
|
-
if (
|
|
15499
|
+
if (rl.hasOwnProperty(a))
|
|
15506
15500
|
continue;
|
|
15507
15501
|
let l = a.slice(0, 2) === "on";
|
|
15508
15502
|
const c = i[a] !== t[a];
|
|
@@ -15587,16 +15581,16 @@ const j1 = Fn.default?.Stage || Fn.Stage, X1 = /* @__PURE__ */ Be({
|
|
|
15587
15581
|
};
|
|
15588
15582
|
uh(s, u, d, e.__useStrictMode), Object.assign(r, u);
|
|
15589
15583
|
}
|
|
15590
|
-
return
|
|
15584
|
+
return mo(() => {
|
|
15591
15585
|
o.value && (o.value.innerHTML = "", a.container(o.value)), h();
|
|
15592
|
-
}),
|
|
15586
|
+
}), _o(() => {
|
|
15593
15587
|
h(), ph(s.subTree, a);
|
|
15594
|
-
}),
|
|
15588
|
+
}), $l(() => {
|
|
15595
15589
|
a.destroy();
|
|
15596
15590
|
}), Si(() => e.config, h, { deep: !0 }), n({
|
|
15597
15591
|
getStage: c,
|
|
15598
15592
|
getNode: l
|
|
15599
|
-
}), () =>
|
|
15593
|
+
}), () => pc("div", { ref: o, style: t?.style }, i.default?.());
|
|
15600
15594
|
}
|
|
15601
15595
|
}), z1 = ".vue-konva-event", Y1 = {
|
|
15602
15596
|
Group: !0,
|
|
@@ -15641,19 +15635,19 @@ function q1(e, t) {
|
|
|
15641
15635
|
};
|
|
15642
15636
|
uh(o, _, p, i.__useStrictMode), Object.assign(a, _);
|
|
15643
15637
|
}
|
|
15644
|
-
|
|
15638
|
+
mo(() => {
|
|
15645
15639
|
const f = $1(o)?.__konvaNode;
|
|
15646
15640
|
f && "add" in f && f.add(l), Hs(l);
|
|
15647
|
-
}), bo(() => {
|
|
15648
|
-
Hs(l), l.destroy(), l.off(z1);
|
|
15649
15641
|
}), vo(() => {
|
|
15642
|
+
Hs(l), l.destroy(), l.off(z1);
|
|
15643
|
+
}), _o(() => {
|
|
15650
15644
|
d(), ph(o.subTree, l);
|
|
15651
15645
|
}), Si(() => i.config, d, { deep: !0 }), r({
|
|
15652
15646
|
getStage: h,
|
|
15653
15647
|
getNode: c
|
|
15654
15648
|
});
|
|
15655
15649
|
const u = Y1.hasOwnProperty(e);
|
|
15656
|
-
return () => u ?
|
|
15650
|
+
return () => u ? pc("template", {}, s.default?.()) : null;
|
|
15657
15651
|
}
|
|
15658
15652
|
});
|
|
15659
15653
|
}
|
|
@@ -15693,13 +15687,13 @@ const gh = {
|
|
|
15693
15687
|
e.component(`${i}${r.name}`, r);
|
|
15694
15688
|
});
|
|
15695
15689
|
}
|
|
15696
|
-
}, mh = '@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-font-weight:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-yellow-200:oklch(94.5% .129 101.54);--color-gray-100:oklch(96.7% .003 264.542);--color-white:#fff;--spacing:.25rem;--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--font-weight-medium:500;--font-weight-bold:700;--radius-lg:.5rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-ott-accent:#68a691;--color-ott-text-primary:#2f2f2f;--color-ott-text-secondary:#a1a1a1;--color-ott-text-white:#fff;--color-ott-bg-primary:#fff;--color-ott-bg-secondary:#f3f3f3;--color-ott-bg-dark:#d3d3d3;--color-ott-error:#cd3c3c}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.static{position:static}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-10{margin-bottom:calc(var(--spacing)*10)}.block{display:block}.flex{display:flex}.h-75{height:calc(var(--spacing)*75)}.h-full{height:100%}.w-1\\/3{width:33.3333%}.w-50{width:calc(var(--spacing)*50)}.w-fit{width:fit-content}.w-full{width:100%}.min-w-\\[150px\\]{min-width:150px}.flex-1{flex:1}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-2{gap:calc(var(--spacing)*2)}.gap-10{gap:calc(var(--spacing)*10)}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-ott-bg-dark{border-color:var(--color-ott-bg-dark)}.border-ott-error\\!{border-color:var(--color-ott-error)!important}.border-b-ott-bg-dark{border-bottom-color:var(--color-ott-bg-dark)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-ott-accent{background-color:var(--color-ott-accent)}.bg-ott-bg-primary{background-color:var(--color-ott-bg-primary)}.bg-white{background-color:var(--color-white)}.bg-yellow-200{background-color:var(--color-yellow-200)}.p-4{padding:calc(var(--spacing)*4)}.text-left{text-align:left}.font-mono{font-family:var(--font-mono)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.text-ott-accent{color:var(--color-ott-accent)}.text-ott-error\\!{color:var(--color-ott-error)!important}.text-white{color:var(--color-white)}}html,body,#app,#__nuxt,:host{background-color:var(--color-ott-bg-secondary);width:100%;height:100%;color:var(--color-ott-text-primary);font-family:Poppins,sans-serif;font-style:normal;font-weight:400}button{cursor:pointer}h2{margin-block:calc(var(--spacing)*4);font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height));--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}main{width:100%;height:100%;max-height:100vh;display:block;overflow:auto}.ott-button{cursor:pointer;justify-content:center;align-items:center;gap:calc(var(--spacing)*5);border-radius:var(--radius-lg);border-style:var(--tw-border-style);border-width:2px;border-color:var(--color-ott-text-primary);height:fit-content;padding-inline:calc(var(--spacing)*4);padding-block:calc(var(--spacing)*1);--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);color:var(--color-ott-text-primary);display:flex}.ott-button:disabled{cursor:default;border-color:var(--color-ott-bg-dark);color:var(--color-ott-bg-dark)}.ott-button-action{cursor:pointer;align-items:center;gap:calc(var(--spacing)*5);border-radius:var(--radius-lg);border-color:var(--color-ott-accent);background-color:var(--color-ott-accent);width:100%;height:fit-content;padding-inline:calc(var(--spacing)*4);padding-block:calc(var(--spacing)*1);--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);color:var(--color-ott-text-white);display:flex}.ott-button-action:disabled{cursor:default;background-color:var(--color-ott-text-secondary)}input{border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-ott-bg-dark);padding-inline:calc(var(--spacing)*3);padding-block:calc(var(--spacing)*1);border-radius:.25rem}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}', _h = /* @__PURE__ */
|
|
15690
|
+
}, mh = '@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-font-weight:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-yellow-200:oklch(94.5% .129 101.54);--color-gray-100:oklch(96.7% .003 264.542);--color-white:#fff;--spacing:.25rem;--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--font-weight-medium:500;--font-weight-bold:700;--radius-lg:.5rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-ott-accent:#68a691;--color-ott-text-primary:#2f2f2f;--color-ott-text-secondary:#a1a1a1;--color-ott-text-white:#fff;--color-ott-bg-primary:#fff;--color-ott-bg-secondary:#f3f3f3;--color-ott-bg-dark:#d3d3d3;--color-ott-error:#cd3c3c}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.static{position:static}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-10{margin-bottom:calc(var(--spacing)*10)}.block{display:block}.flex{display:flex}.h-75{height:calc(var(--spacing)*75)}.h-full{height:100%}.w-1\\/3{width:33.3333%}.w-50{width:calc(var(--spacing)*50)}.w-fit{width:fit-content}.w-full{width:100%}.min-w-\\[150px\\]{min-width:150px}.flex-1{flex:1}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-2{gap:calc(var(--spacing)*2)}.gap-10{gap:calc(var(--spacing)*10)}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-ott-bg-dark{border-color:var(--color-ott-bg-dark)}.border-ott-error\\!{border-color:var(--color-ott-error)!important}.border-b-ott-bg-dark{border-bottom-color:var(--color-ott-bg-dark)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-ott-accent{background-color:var(--color-ott-accent)}.bg-ott-bg-primary{background-color:var(--color-ott-bg-primary)}.bg-white{background-color:var(--color-white)}.bg-yellow-200{background-color:var(--color-yellow-200)}.p-4{padding:calc(var(--spacing)*4)}.text-left{text-align:left}.font-mono{font-family:var(--font-mono)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.text-ott-accent{color:var(--color-ott-accent)}.text-ott-error\\!{color:var(--color-ott-error)!important}.text-white{color:var(--color-white)}}html,body,#app,#__nuxt,:host{background-color:var(--color-ott-bg-secondary);width:100%;height:100%;color:var(--color-ott-text-primary);font-family:Poppins,sans-serif;font-style:normal;font-weight:400}button{cursor:pointer}h2{margin-block:calc(var(--spacing)*4);font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height));--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}main{width:100%;height:100%;max-height:100vh;display:block;overflow:auto}.ott-button{cursor:pointer;justify-content:center;align-items:center;gap:calc(var(--spacing)*5);border-radius:var(--radius-lg);border-style:var(--tw-border-style);border-width:2px;border-color:var(--color-ott-text-primary);height:fit-content;padding-inline:calc(var(--spacing)*4);padding-block:calc(var(--spacing)*1);--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);color:var(--color-ott-text-primary);display:flex}.ott-button:disabled{cursor:default;border-color:var(--color-ott-bg-dark);color:var(--color-ott-bg-dark)}.ott-button-action{cursor:pointer;align-items:center;gap:calc(var(--spacing)*5);border-radius:var(--radius-lg);border-color:var(--color-ott-accent);background-color:var(--color-ott-accent);width:100%;height:fit-content;padding-inline:calc(var(--spacing)*4);padding-block:calc(var(--spacing)*1);--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);color:var(--color-ott-text-white);display:flex}.ott-button-action:disabled{cursor:default;background-color:var(--color-ott-text-secondary)}input{border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-ott-bg-dark);padding-inline:calc(var(--spacing)*3);padding-block:calc(var(--spacing)*1);border-radius:.25rem}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}', _h = /* @__PURE__ */ mc(vp, {
|
|
15697
15691
|
shadowRoot: !0,
|
|
15698
15692
|
styles: [mh],
|
|
15699
15693
|
configureApp(e) {
|
|
15700
15694
|
e.use(gh);
|
|
15701
15695
|
}
|
|
15702
|
-
}), vh = /* @__PURE__ */
|
|
15696
|
+
}), vh = /* @__PURE__ */ mc(Mc, {
|
|
15703
15697
|
shadowRoot: !0,
|
|
15704
15698
|
styles: [mh],
|
|
15705
15699
|
configureApp(e) {
|