@orchidui/dashboard 1.23.1-9 → 1.23.2
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/Dashboard/Card/OcCard.js +1 -1
- package/dist/Dashboard/Charts/OverviewMonthlyBarChart/OcOverviewMonthlyBarChart.js +5 -0
- package/dist/Dashboard/Charts/OverviewPieChart/OcOverviewPieChart.js +5 -0
- package/dist/Dashboard/TextEditor/QuillEditor.js +1 -1
- package/dist/{OcCard-D3be6IMj.js → OcCard-D574SeK2.js} +10 -10
- package/dist/{OcCodeBlock-B_LpoG2V.js → OcCodeBlock-CMo9zvOn.js} +1 -1
- package/dist/{OcLottieAnimation-BjY3rCjS.js → OcLottieAnimation-DtD2oJib.js} +91 -91
- package/dist/OcOverviewMonthlyBarChart-Du2jaTOy.js +148 -0
- package/dist/OcOverviewPieChart-BIpg_ZOf.js +94 -0
- package/dist/{QuillEditor-DwCbpq2d.js → QuillEditor-caFVpQGG.js} +596 -619
- package/dist/_commonjsHelpers-B4e78b8K.js +28 -0
- package/dist/dayjs.min-CTPVfFeV.js +284 -0
- package/dist/index.js +249 -245
- package/package.json +3 -3
|
@@ -1,25 +1,26 @@
|
|
|
1
1
|
var Vo = Object.defineProperty;
|
|
2
2
|
var Go = (r, t, e) => t in r ? Vo(r, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[t] = e;
|
|
3
3
|
var X = (r, t, e) => Go(r, typeof t != "symbol" ? t + "" : t, e);
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
import { c as rn, g as ci, a as Ko } from "./_commonjsHelpers-B4e78b8K.js";
|
|
5
|
+
import { defineComponent as Wo, h as Zo, onMounted as Xo, onBeforeUnmount as Yo, ref as qi, watch as Es, nextTick as _i } from "vue";
|
|
6
|
+
var Dl = typeof global == "object" && global && global.Object === Object && global, Qo = typeof self == "object" && self && self.Object === Object && self, Be = Dl || Qo || Function("return this")(), an = Be.Symbol, jl = Object.prototype, Jo = jl.hasOwnProperty, ta = jl.toString, Yn = an ? an.toStringTag : void 0;
|
|
7
|
+
function ea(r) {
|
|
8
|
+
var t = Jo.call(r, Yn), e = r[Yn];
|
|
8
9
|
try {
|
|
9
10
|
r[Yn] = void 0;
|
|
10
11
|
var n = !0;
|
|
11
12
|
} catch {
|
|
12
13
|
}
|
|
13
|
-
var s =
|
|
14
|
+
var s = ta.call(r);
|
|
14
15
|
return n && (t ? r[Yn] = e : delete r[Yn]), s;
|
|
15
16
|
}
|
|
16
|
-
var
|
|
17
|
-
function
|
|
18
|
-
return
|
|
17
|
+
var na = Object.prototype, ra = na.toString;
|
|
18
|
+
function sa(r) {
|
|
19
|
+
return ra.call(r);
|
|
19
20
|
}
|
|
20
|
-
var
|
|
21
|
+
var ia = "[object Null]", la = "[object Undefined]", Ii = an ? an.toStringTag : void 0;
|
|
21
22
|
function Fn(r) {
|
|
22
|
-
return r == null ? r === void 0 ?
|
|
23
|
+
return r == null ? r === void 0 ? la : ia : Ii && Ii in Object(r) ? ea(r) : sa(r);
|
|
23
24
|
}
|
|
24
25
|
function Ge(r) {
|
|
25
26
|
return r != null && typeof r == "object";
|
|
@@ -32,25 +33,25 @@ function un(r) {
|
|
|
32
33
|
function Pl(r) {
|
|
33
34
|
return r;
|
|
34
35
|
}
|
|
35
|
-
var
|
|
36
|
-
function
|
|
36
|
+
var oa = "[object AsyncFunction]", aa = "[object Function]", ca = "[object GeneratorFunction]", ua = "[object Proxy]";
|
|
37
|
+
function ui(r) {
|
|
37
38
|
if (!un(r))
|
|
38
39
|
return !1;
|
|
39
40
|
var t = Fn(r);
|
|
40
|
-
return t ==
|
|
41
|
+
return t == aa || t == ca || t == oa || t == ua;
|
|
41
42
|
}
|
|
42
|
-
var Ts = Be["__core-js_shared__"], Ri = function() {
|
|
43
|
+
var Ts = Be["__core-js_shared__"], Ri = (function() {
|
|
43
44
|
var r = /[^.]+$/.exec(Ts && Ts.keys && Ts.keys.IE_PROTO || "");
|
|
44
45
|
return r ? "Symbol(src)_1." + r : "";
|
|
45
|
-
}();
|
|
46
|
-
function
|
|
46
|
+
})();
|
|
47
|
+
function ha(r) {
|
|
47
48
|
return !!Ri && Ri in r;
|
|
48
49
|
}
|
|
49
|
-
var
|
|
50
|
+
var da = Function.prototype, fa = da.toString;
|
|
50
51
|
function vn(r) {
|
|
51
52
|
if (r != null) {
|
|
52
53
|
try {
|
|
53
|
-
return
|
|
54
|
+
return fa.call(r);
|
|
54
55
|
} catch {
|
|
55
56
|
}
|
|
56
57
|
try {
|
|
@@ -60,36 +61,36 @@ function vn(r) {
|
|
|
60
61
|
}
|
|
61
62
|
return "";
|
|
62
63
|
}
|
|
63
|
-
var
|
|
64
|
-
"^" +
|
|
64
|
+
var pa = /[\\^$.*+?()[\]{}|]/g, ga = /^\[object .+?Constructor\]$/, ma = Function.prototype, ba = Object.prototype, ya = ma.toString, va = ba.hasOwnProperty, wa = RegExp(
|
|
65
|
+
"^" + ya.call(va).replace(pa, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
65
66
|
);
|
|
66
|
-
function
|
|
67
|
-
if (!un(r) ||
|
|
67
|
+
function xa(r) {
|
|
68
|
+
if (!un(r) || ha(r))
|
|
68
69
|
return !1;
|
|
69
|
-
var t =
|
|
70
|
+
var t = ui(r) ? wa : ga;
|
|
70
71
|
return t.test(vn(r));
|
|
71
72
|
}
|
|
72
|
-
function
|
|
73
|
+
function Na(r, t) {
|
|
73
74
|
return r == null ? void 0 : r[t];
|
|
74
75
|
}
|
|
75
76
|
function wn(r, t) {
|
|
76
|
-
var e =
|
|
77
|
-
return
|
|
77
|
+
var e = Na(r, t);
|
|
78
|
+
return xa(e) ? e : void 0;
|
|
78
79
|
}
|
|
79
|
-
var Us = wn(Be, "WeakMap"),
|
|
80
|
+
var Us = wn(Be, "WeakMap"), ki = Object.create, Aa = /* @__PURE__ */ (function() {
|
|
80
81
|
function r() {
|
|
81
82
|
}
|
|
82
83
|
return function(t) {
|
|
83
84
|
if (!un(t))
|
|
84
85
|
return {};
|
|
85
|
-
if (
|
|
86
|
-
return
|
|
86
|
+
if (ki)
|
|
87
|
+
return ki(t);
|
|
87
88
|
r.prototype = t;
|
|
88
89
|
var e = new r();
|
|
89
90
|
return r.prototype = void 0, e;
|
|
90
91
|
};
|
|
91
|
-
}();
|
|
92
|
-
function
|
|
92
|
+
})();
|
|
93
|
+
function Ea(r, t, e) {
|
|
93
94
|
switch (e.length) {
|
|
94
95
|
case 0:
|
|
95
96
|
return r.call(t);
|
|
@@ -102,55 +103,55 @@ function Aa(r, t, e) {
|
|
|
102
103
|
}
|
|
103
104
|
return r.apply(t, e);
|
|
104
105
|
}
|
|
105
|
-
function
|
|
106
|
+
function Ta(r, t) {
|
|
106
107
|
var e = -1, n = r.length;
|
|
107
108
|
for (t || (t = Array(n)); ++e < n; )
|
|
108
109
|
t[e] = r[e];
|
|
109
110
|
return t;
|
|
110
111
|
}
|
|
111
|
-
var
|
|
112
|
-
function
|
|
112
|
+
var Ca = 800, Sa = 16, La = Date.now;
|
|
113
|
+
function Oa(r) {
|
|
113
114
|
var t = 0, e = 0;
|
|
114
115
|
return function() {
|
|
115
|
-
var n =
|
|
116
|
+
var n = La(), s = Sa - (n - e);
|
|
116
117
|
if (e = n, s > 0) {
|
|
117
|
-
if (++t >=
|
|
118
|
+
if (++t >= Ca)
|
|
118
119
|
return arguments[0];
|
|
119
120
|
} else
|
|
120
121
|
t = 0;
|
|
121
122
|
return r.apply(void 0, arguments);
|
|
122
123
|
};
|
|
123
124
|
}
|
|
124
|
-
function
|
|
125
|
+
function qa(r) {
|
|
125
126
|
return function() {
|
|
126
127
|
return r;
|
|
127
128
|
};
|
|
128
129
|
}
|
|
129
|
-
var Hr = function() {
|
|
130
|
+
var Hr = (function() {
|
|
130
131
|
try {
|
|
131
132
|
var r = wn(Object, "defineProperty");
|
|
132
133
|
return r({}, "", {}), r;
|
|
133
134
|
} catch {
|
|
134
135
|
}
|
|
135
|
-
}(),
|
|
136
|
+
})(), _a = Hr ? function(r, t) {
|
|
136
137
|
return Hr(r, "toString", {
|
|
137
138
|
configurable: !0,
|
|
138
139
|
enumerable: !1,
|
|
139
|
-
value:
|
|
140
|
+
value: qa(t),
|
|
140
141
|
writable: !0
|
|
141
142
|
});
|
|
142
|
-
} : Pl,
|
|
143
|
-
function
|
|
143
|
+
} : Pl, Ia = Oa(_a);
|
|
144
|
+
function Ra(r, t) {
|
|
144
145
|
for (var e = -1, n = r == null ? 0 : r.length; ++e < n && t(r[e], e, r) !== !1; )
|
|
145
146
|
;
|
|
146
147
|
return r;
|
|
147
148
|
}
|
|
148
|
-
var
|
|
149
|
+
var ka = 9007199254740991, Ma = /^(?:0|[1-9]\d*)$/;
|
|
149
150
|
function Ul(r, t) {
|
|
150
151
|
var e = typeof r;
|
|
151
|
-
return t = t ??
|
|
152
|
+
return t = t ?? ka, !!t && (e == "number" || e != "symbol" && Ma.test(r)) && r > -1 && r % 1 == 0 && r < t;
|
|
152
153
|
}
|
|
153
|
-
function
|
|
154
|
+
function hi(r, t, e) {
|
|
154
155
|
t == "__proto__" && Hr ? Hr(r, t, {
|
|
155
156
|
configurable: !0,
|
|
156
157
|
enumerable: !0,
|
|
@@ -161,101 +162,101 @@ function ui(r, t, e) {
|
|
|
161
162
|
function fr(r, t) {
|
|
162
163
|
return r === t || r !== r && t !== t;
|
|
163
164
|
}
|
|
164
|
-
var
|
|
165
|
+
var Ba = Object.prototype, Da = Ba.hasOwnProperty;
|
|
165
166
|
function $l(r, t, e) {
|
|
166
167
|
var n = r[t];
|
|
167
|
-
(!(
|
|
168
|
+
(!(Da.call(r, t) && fr(n, e)) || e === void 0 && !(t in r)) && hi(r, t, e);
|
|
168
169
|
}
|
|
169
|
-
function
|
|
170
|
+
function ja(r, t, e, n) {
|
|
170
171
|
var s = !e;
|
|
171
172
|
e || (e = {});
|
|
172
173
|
for (var i = -1, o = t.length; ++i < o; ) {
|
|
173
174
|
var a = t[i], h = void 0;
|
|
174
|
-
h === void 0 && (h = r[a]), s ?
|
|
175
|
+
h === void 0 && (h = r[a]), s ? hi(e, a, h) : $l(e, a, h);
|
|
175
176
|
}
|
|
176
177
|
return e;
|
|
177
178
|
}
|
|
178
|
-
var
|
|
179
|
-
function
|
|
180
|
-
return t =
|
|
181
|
-
for (var n = arguments, s = -1, i =
|
|
179
|
+
var Mi = Math.max;
|
|
180
|
+
function Pa(r, t, e) {
|
|
181
|
+
return t = Mi(t === void 0 ? r.length - 1 : t, 0), function() {
|
|
182
|
+
for (var n = arguments, s = -1, i = Mi(n.length - t, 0), o = Array(i); ++s < i; )
|
|
182
183
|
o[s] = n[t + s];
|
|
183
184
|
s = -1;
|
|
184
185
|
for (var a = Array(t + 1); ++s < t; )
|
|
185
186
|
a[s] = n[s];
|
|
186
|
-
return a[t] = e(o),
|
|
187
|
+
return a[t] = e(o), Ea(r, this, a);
|
|
187
188
|
};
|
|
188
189
|
}
|
|
189
|
-
function
|
|
190
|
-
return
|
|
190
|
+
function Ua(r, t) {
|
|
191
|
+
return Ia(Pa(r, t, Pl), r + "");
|
|
191
192
|
}
|
|
192
|
-
var
|
|
193
|
+
var $a = 9007199254740991;
|
|
193
194
|
function Hl(r) {
|
|
194
|
-
return typeof r == "number" && r > -1 && r % 1 == 0 && r <=
|
|
195
|
+
return typeof r == "number" && r > -1 && r % 1 == 0 && r <= $a;
|
|
195
196
|
}
|
|
196
197
|
function Gr(r) {
|
|
197
|
-
return r != null && Hl(r.length) && !
|
|
198
|
+
return r != null && Hl(r.length) && !ui(r);
|
|
198
199
|
}
|
|
199
|
-
function
|
|
200
|
+
function Ha(r, t, e) {
|
|
200
201
|
if (!un(e))
|
|
201
202
|
return !1;
|
|
202
203
|
var n = typeof t;
|
|
203
204
|
return (n == "number" ? Gr(e) && Ul(t, e.length) : n == "string" && t in e) ? fr(e[t], r) : !1;
|
|
204
205
|
}
|
|
205
|
-
function
|
|
206
|
-
return
|
|
206
|
+
function za(r) {
|
|
207
|
+
return Ua(function(t, e) {
|
|
207
208
|
var n = -1, s = e.length, i = s > 1 ? e[s - 1] : void 0, o = s > 2 ? e[2] : void 0;
|
|
208
|
-
for (i = r.length > 3 && typeof i == "function" ? (s--, i) : void 0, o &&
|
|
209
|
+
for (i = r.length > 3 && typeof i == "function" ? (s--, i) : void 0, o && Ha(e[0], e[1], o) && (i = s < 3 ? void 0 : i, s = 1), t = Object(t); ++n < s; ) {
|
|
209
210
|
var a = e[n];
|
|
210
211
|
a && r(t, a, n, i);
|
|
211
212
|
}
|
|
212
213
|
return t;
|
|
213
214
|
});
|
|
214
215
|
}
|
|
215
|
-
var
|
|
216
|
-
function
|
|
217
|
-
var t = r && r.constructor, e = typeof t == "function" && t.prototype ||
|
|
216
|
+
var Fa = Object.prototype;
|
|
217
|
+
function di(r) {
|
|
218
|
+
var t = r && r.constructor, e = typeof t == "function" && t.prototype || Fa;
|
|
218
219
|
return r === e;
|
|
219
220
|
}
|
|
220
|
-
function
|
|
221
|
+
function Va(r, t) {
|
|
221
222
|
for (var e = -1, n = Array(r); ++e < r; )
|
|
222
223
|
n[e] = t(e);
|
|
223
224
|
return n;
|
|
224
225
|
}
|
|
225
|
-
var
|
|
226
|
+
var Ga = "[object Arguments]";
|
|
226
227
|
function Bi(r) {
|
|
227
|
-
return Ge(r) && Fn(r) ==
|
|
228
|
+
return Ge(r) && Fn(r) == Ga;
|
|
228
229
|
}
|
|
229
|
-
var zl = Object.prototype,
|
|
230
|
+
var zl = Object.prototype, Ka = zl.hasOwnProperty, Wa = zl.propertyIsEnumerable, $s = Bi(/* @__PURE__ */ (function() {
|
|
230
231
|
return arguments;
|
|
231
|
-
}()) ? Bi : function(r) {
|
|
232
|
-
return Ge(r) &&
|
|
232
|
+
})()) ? Bi : function(r) {
|
|
233
|
+
return Ge(r) && Ka.call(r, "callee") && !Wa.call(r, "callee");
|
|
233
234
|
};
|
|
234
|
-
function
|
|
235
|
+
function Za() {
|
|
235
236
|
return !1;
|
|
236
237
|
}
|
|
237
|
-
var Fl = typeof exports == "object" && exports && !exports.nodeType && exports, Di = Fl && typeof module == "object" && module && !module.nodeType && module,
|
|
238
|
-
_t[
|
|
239
|
-
_t[
|
|
240
|
-
function
|
|
238
|
+
var Fl = typeof exports == "object" && exports && !exports.nodeType && exports, Di = Fl && typeof module == "object" && module && !module.nodeType && module, Xa = Di && Di.exports === Fl, ji = Xa ? Be.Buffer : void 0, Ya = ji ? ji.isBuffer : void 0, lr = Ya || Za, Qa = "[object Arguments]", Ja = "[object Array]", tc = "[object Boolean]", ec = "[object Date]", nc = "[object Error]", rc = "[object Function]", sc = "[object Map]", ic = "[object Number]", lc = "[object Object]", oc = "[object RegExp]", ac = "[object Set]", cc = "[object String]", uc = "[object WeakMap]", hc = "[object ArrayBuffer]", dc = "[object DataView]", fc = "[object Float32Array]", pc = "[object Float64Array]", gc = "[object Int8Array]", mc = "[object Int16Array]", bc = "[object Int32Array]", yc = "[object Uint8Array]", vc = "[object Uint8ClampedArray]", wc = "[object Uint16Array]", xc = "[object Uint32Array]", _t = {};
|
|
239
|
+
_t[fc] = _t[pc] = _t[gc] = _t[mc] = _t[bc] = _t[yc] = _t[vc] = _t[wc] = _t[xc] = !0;
|
|
240
|
+
_t[Qa] = _t[Ja] = _t[hc] = _t[tc] = _t[dc] = _t[ec] = _t[nc] = _t[rc] = _t[sc] = _t[ic] = _t[lc] = _t[oc] = _t[ac] = _t[cc] = _t[uc] = !1;
|
|
241
|
+
function Nc(r) {
|
|
241
242
|
return Ge(r) && Hl(r.length) && !!_t[Fn(r)];
|
|
242
243
|
}
|
|
243
|
-
function
|
|
244
|
+
function fi(r) {
|
|
244
245
|
return function(t) {
|
|
245
246
|
return r(t);
|
|
246
247
|
};
|
|
247
248
|
}
|
|
248
|
-
var Vl = typeof exports == "object" && exports && !exports.nodeType && exports, nr = Vl && typeof module == "object" && module && !module.nodeType && module,
|
|
249
|
+
var Vl = typeof exports == "object" && exports && !exports.nodeType && exports, nr = Vl && typeof module == "object" && module && !module.nodeType && module, Ac = nr && nr.exports === Vl, Cs = Ac && Dl.process, Pn = (function() {
|
|
249
250
|
try {
|
|
250
251
|
var r = nr && nr.require && nr.require("util").types;
|
|
251
252
|
return r || Cs && Cs.binding && Cs.binding("util");
|
|
252
253
|
} catch {
|
|
253
254
|
}
|
|
254
|
-
}(), Pi = Pn && Pn.isTypedArray,
|
|
255
|
+
})(), Pi = Pn && Pn.isTypedArray, pi = Pi ? fi(Pi) : Nc, Ec = Object.prototype, Tc = Ec.hasOwnProperty;
|
|
255
256
|
function Gl(r, t) {
|
|
256
|
-
var e = bn(r), n = !e && $s(r), s = !e && !n && lr(r), i = !e && !n && !s &&
|
|
257
|
+
var e = bn(r), n = !e && $s(r), s = !e && !n && lr(r), i = !e && !n && !s && pi(r), o = e || n || s || i, a = o ? Va(r.length, String) : [], h = a.length;
|
|
257
258
|
for (var d in r)
|
|
258
|
-
(t ||
|
|
259
|
+
(t || Tc.call(r, d)) && !(o && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
259
260
|
(d == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
260
261
|
s && (d == "offset" || d == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
261
262
|
i && (d == "buffer" || d == "byteLength" || d == "byteOffset") || // Skip index properties.
|
|
@@ -267,63 +268,63 @@ function Kl(r, t) {
|
|
|
267
268
|
return r(t(e));
|
|
268
269
|
};
|
|
269
270
|
}
|
|
270
|
-
var
|
|
271
|
-
function
|
|
272
|
-
if (!
|
|
273
|
-
return
|
|
271
|
+
var Cc = Kl(Object.keys, Object), Sc = Object.prototype, Lc = Sc.hasOwnProperty;
|
|
272
|
+
function Oc(r) {
|
|
273
|
+
if (!di(r))
|
|
274
|
+
return Cc(r);
|
|
274
275
|
var t = [];
|
|
275
276
|
for (var e in Object(r))
|
|
276
|
-
|
|
277
|
+
Lc.call(r, e) && e != "constructor" && t.push(e);
|
|
277
278
|
return t;
|
|
278
279
|
}
|
|
279
|
-
function Oc(r) {
|
|
280
|
-
return Gr(r) ? Gl(r) : Lc(r);
|
|
281
|
-
}
|
|
282
280
|
function qc(r) {
|
|
281
|
+
return Gr(r) ? Gl(r) : Oc(r);
|
|
282
|
+
}
|
|
283
|
+
function _c(r) {
|
|
283
284
|
var t = [];
|
|
284
285
|
if (r != null)
|
|
285
286
|
for (var e in Object(r))
|
|
286
287
|
t.push(e);
|
|
287
288
|
return t;
|
|
288
289
|
}
|
|
289
|
-
var
|
|
290
|
-
function
|
|
290
|
+
var Ic = Object.prototype, Rc = Ic.hasOwnProperty;
|
|
291
|
+
function kc(r) {
|
|
291
292
|
if (!un(r))
|
|
292
|
-
return
|
|
293
|
-
var t =
|
|
293
|
+
return _c(r);
|
|
294
|
+
var t = di(r), e = [];
|
|
294
295
|
for (var n in r)
|
|
295
|
-
n == "constructor" && (t || !
|
|
296
|
+
n == "constructor" && (t || !Rc.call(r, n)) || e.push(n);
|
|
296
297
|
return e;
|
|
297
298
|
}
|
|
298
299
|
function Wl(r) {
|
|
299
|
-
return Gr(r) ? Gl(r, !0) :
|
|
300
|
+
return Gr(r) ? Gl(r, !0) : kc(r);
|
|
300
301
|
}
|
|
301
302
|
var or = wn(Object, "create");
|
|
302
303
|
function Mc() {
|
|
303
304
|
this.__data__ = or ? or(null) : {}, this.size = 0;
|
|
304
305
|
}
|
|
305
|
-
function
|
|
306
|
+
function Bc(r) {
|
|
306
307
|
var t = this.has(r) && delete this.__data__[r];
|
|
307
308
|
return this.size -= t ? 1 : 0, t;
|
|
308
309
|
}
|
|
309
|
-
var
|
|
310
|
-
function
|
|
310
|
+
var Dc = "__lodash_hash_undefined__", jc = Object.prototype, Pc = jc.hasOwnProperty;
|
|
311
|
+
function Uc(r) {
|
|
311
312
|
var t = this.__data__;
|
|
312
313
|
if (or) {
|
|
313
314
|
var e = t[r];
|
|
314
|
-
return e ===
|
|
315
|
+
return e === Dc ? void 0 : e;
|
|
315
316
|
}
|
|
316
|
-
return
|
|
317
|
+
return Pc.call(t, r) ? t[r] : void 0;
|
|
317
318
|
}
|
|
318
|
-
var
|
|
319
|
-
function
|
|
319
|
+
var $c = Object.prototype, Hc = $c.hasOwnProperty;
|
|
320
|
+
function zc(r) {
|
|
320
321
|
var t = this.__data__;
|
|
321
|
-
return or ? t[r] !== void 0 :
|
|
322
|
+
return or ? t[r] !== void 0 : Hc.call(t, r);
|
|
322
323
|
}
|
|
323
|
-
var
|
|
324
|
-
function
|
|
324
|
+
var Fc = "__lodash_hash_undefined__";
|
|
325
|
+
function Vc(r, t) {
|
|
325
326
|
var e = this.__data__;
|
|
326
|
-
return this.size += this.has(r) ? 0 : 1, e[r] = or && t === void 0 ?
|
|
327
|
+
return this.size += this.has(r) ? 0 : 1, e[r] = or && t === void 0 ? Fc : t, this;
|
|
327
328
|
}
|
|
328
329
|
function yn(r) {
|
|
329
330
|
var t = -1, e = r == null ? 0 : r.length;
|
|
@@ -333,11 +334,11 @@ function yn(r) {
|
|
|
333
334
|
}
|
|
334
335
|
}
|
|
335
336
|
yn.prototype.clear = Mc;
|
|
336
|
-
yn.prototype.delete =
|
|
337
|
-
yn.prototype.get =
|
|
338
|
-
yn.prototype.has =
|
|
339
|
-
yn.prototype.set =
|
|
340
|
-
function
|
|
337
|
+
yn.prototype.delete = Bc;
|
|
338
|
+
yn.prototype.get = Uc;
|
|
339
|
+
yn.prototype.has = zc;
|
|
340
|
+
yn.prototype.set = Vc;
|
|
341
|
+
function Gc() {
|
|
341
342
|
this.__data__ = [], this.size = 0;
|
|
342
343
|
}
|
|
343
344
|
function Kr(r, t) {
|
|
@@ -346,22 +347,22 @@ function Kr(r, t) {
|
|
|
346
347
|
return e;
|
|
347
348
|
return -1;
|
|
348
349
|
}
|
|
349
|
-
var
|
|
350
|
-
function
|
|
350
|
+
var Kc = Array.prototype, Wc = Kc.splice;
|
|
351
|
+
function Zc(r) {
|
|
351
352
|
var t = this.__data__, e = Kr(t, r);
|
|
352
353
|
if (e < 0)
|
|
353
354
|
return !1;
|
|
354
355
|
var n = t.length - 1;
|
|
355
|
-
return e == n ? t.pop() :
|
|
356
|
+
return e == n ? t.pop() : Wc.call(t, e, 1), --this.size, !0;
|
|
356
357
|
}
|
|
357
|
-
function
|
|
358
|
+
function Xc(r) {
|
|
358
359
|
var t = this.__data__, e = Kr(t, r);
|
|
359
360
|
return e < 0 ? void 0 : t[e][1];
|
|
360
361
|
}
|
|
361
|
-
function
|
|
362
|
+
function Yc(r) {
|
|
362
363
|
return Kr(this.__data__, r) > -1;
|
|
363
364
|
}
|
|
364
|
-
function
|
|
365
|
+
function Qc(r, t) {
|
|
365
366
|
var e = this.__data__, n = Kr(e, r);
|
|
366
367
|
return n < 0 ? (++this.size, e.push([r, t])) : e[n][1] = t, this;
|
|
367
368
|
}
|
|
@@ -372,38 +373,38 @@ function Ze(r) {
|
|
|
372
373
|
this.set(n[0], n[1]);
|
|
373
374
|
}
|
|
374
375
|
}
|
|
375
|
-
Ze.prototype.clear =
|
|
376
|
-
Ze.prototype.delete =
|
|
377
|
-
Ze.prototype.get =
|
|
378
|
-
Ze.prototype.has =
|
|
379
|
-
Ze.prototype.set =
|
|
376
|
+
Ze.prototype.clear = Gc;
|
|
377
|
+
Ze.prototype.delete = Zc;
|
|
378
|
+
Ze.prototype.get = Xc;
|
|
379
|
+
Ze.prototype.has = Yc;
|
|
380
|
+
Ze.prototype.set = Qc;
|
|
380
381
|
var ar = wn(Be, "Map");
|
|
381
|
-
function
|
|
382
|
+
function Jc() {
|
|
382
383
|
this.size = 0, this.__data__ = {
|
|
383
384
|
hash: new yn(),
|
|
384
385
|
map: new (ar || Ze)(),
|
|
385
386
|
string: new yn()
|
|
386
387
|
};
|
|
387
388
|
}
|
|
388
|
-
function
|
|
389
|
+
function tu(r) {
|
|
389
390
|
var t = typeof r;
|
|
390
391
|
return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? r !== "__proto__" : r === null;
|
|
391
392
|
}
|
|
392
393
|
function Wr(r, t) {
|
|
393
394
|
var e = r.__data__;
|
|
394
|
-
return
|
|
395
|
+
return tu(t) ? e[typeof t == "string" ? "string" : "hash"] : e.map;
|
|
395
396
|
}
|
|
396
|
-
function
|
|
397
|
+
function eu(r) {
|
|
397
398
|
var t = Wr(this, r).delete(r);
|
|
398
399
|
return this.size -= t ? 1 : 0, t;
|
|
399
400
|
}
|
|
400
|
-
function
|
|
401
|
+
function nu(r) {
|
|
401
402
|
return Wr(this, r).get(r);
|
|
402
403
|
}
|
|
403
|
-
function
|
|
404
|
+
function ru(r) {
|
|
404
405
|
return Wr(this, r).has(r);
|
|
405
406
|
}
|
|
406
|
-
function
|
|
407
|
+
function su(r, t) {
|
|
407
408
|
var e = Wr(this, r), n = e.size;
|
|
408
409
|
return e.set(r, t), this.size += e.size == n ? 0 : 1, this;
|
|
409
410
|
}
|
|
@@ -414,45 +415,45 @@ function xn(r) {
|
|
|
414
415
|
this.set(n[0], n[1]);
|
|
415
416
|
}
|
|
416
417
|
}
|
|
417
|
-
xn.prototype.clear =
|
|
418
|
-
xn.prototype.delete =
|
|
419
|
-
xn.prototype.get =
|
|
420
|
-
xn.prototype.has =
|
|
421
|
-
xn.prototype.set =
|
|
422
|
-
function
|
|
418
|
+
xn.prototype.clear = Jc;
|
|
419
|
+
xn.prototype.delete = eu;
|
|
420
|
+
xn.prototype.get = nu;
|
|
421
|
+
xn.prototype.has = ru;
|
|
422
|
+
xn.prototype.set = su;
|
|
423
|
+
function iu(r, t) {
|
|
423
424
|
for (var e = -1, n = t.length, s = r.length; ++e < n; )
|
|
424
425
|
r[s + e] = t[e];
|
|
425
426
|
return r;
|
|
426
427
|
}
|
|
427
|
-
var Zl = Kl(Object.getPrototypeOf, Object),
|
|
428
|
-
function
|
|
429
|
-
if (!Ge(r) || Fn(r) !=
|
|
428
|
+
var Zl = Kl(Object.getPrototypeOf, Object), lu = "[object Object]", ou = Function.prototype, au = Object.prototype, Xl = ou.toString, cu = au.hasOwnProperty, uu = Xl.call(Object);
|
|
429
|
+
function hu(r) {
|
|
430
|
+
if (!Ge(r) || Fn(r) != lu)
|
|
430
431
|
return !1;
|
|
431
432
|
var t = Zl(r);
|
|
432
433
|
if (t === null)
|
|
433
434
|
return !0;
|
|
434
|
-
var e =
|
|
435
|
-
return typeof e == "function" && e instanceof e && Xl.call(e) ==
|
|
435
|
+
var e = cu.call(t, "constructor") && t.constructor;
|
|
436
|
+
return typeof e == "function" && e instanceof e && Xl.call(e) == uu;
|
|
436
437
|
}
|
|
437
|
-
function
|
|
438
|
+
function du() {
|
|
438
439
|
this.__data__ = new Ze(), this.size = 0;
|
|
439
440
|
}
|
|
440
|
-
function
|
|
441
|
+
function fu(r) {
|
|
441
442
|
var t = this.__data__, e = t.delete(r);
|
|
442
443
|
return this.size = t.size, e;
|
|
443
444
|
}
|
|
444
|
-
function
|
|
445
|
+
function pu(r) {
|
|
445
446
|
return this.__data__.get(r);
|
|
446
447
|
}
|
|
447
|
-
function
|
|
448
|
+
function gu(r) {
|
|
448
449
|
return this.__data__.has(r);
|
|
449
450
|
}
|
|
450
|
-
var
|
|
451
|
-
function
|
|
451
|
+
var mu = 200;
|
|
452
|
+
function bu(r, t) {
|
|
452
453
|
var e = this.__data__;
|
|
453
454
|
if (e instanceof Ze) {
|
|
454
455
|
var n = e.__data__;
|
|
455
|
-
if (!ar || n.length <
|
|
456
|
+
if (!ar || n.length < mu - 1)
|
|
456
457
|
return n.push([r, t]), this.size = ++e.size, this;
|
|
457
458
|
e = this.__data__ = new xn(n);
|
|
458
459
|
}
|
|
@@ -462,97 +463,96 @@ function Ie(r) {
|
|
|
462
463
|
var t = this.__data__ = new Ze(r);
|
|
463
464
|
this.size = t.size;
|
|
464
465
|
}
|
|
465
|
-
Ie.prototype.clear =
|
|
466
|
-
Ie.prototype.delete =
|
|
467
|
-
Ie.prototype.get =
|
|
468
|
-
Ie.prototype.has =
|
|
469
|
-
Ie.prototype.set =
|
|
470
|
-
var Yl = typeof exports == "object" && exports && !exports.nodeType && exports, Ui = Yl && typeof module == "object" && module && !module.nodeType && module,
|
|
466
|
+
Ie.prototype.clear = du;
|
|
467
|
+
Ie.prototype.delete = fu;
|
|
468
|
+
Ie.prototype.get = pu;
|
|
469
|
+
Ie.prototype.has = gu;
|
|
470
|
+
Ie.prototype.set = bu;
|
|
471
|
+
var Yl = typeof exports == "object" && exports && !exports.nodeType && exports, Ui = Yl && typeof module == "object" && module && !module.nodeType && module, yu = Ui && Ui.exports === Yl, $i = yu ? Be.Buffer : void 0, Hi = $i ? $i.allocUnsafe : void 0;
|
|
471
472
|
function Ql(r, t) {
|
|
472
473
|
if (t)
|
|
473
474
|
return r.slice();
|
|
474
475
|
var e = r.length, n = Hi ? Hi(e) : new r.constructor(e);
|
|
475
476
|
return r.copy(n), n;
|
|
476
477
|
}
|
|
477
|
-
function
|
|
478
|
+
function vu(r, t) {
|
|
478
479
|
for (var e = -1, n = r == null ? 0 : r.length, s = 0, i = []; ++e < n; ) {
|
|
479
480
|
var o = r[e];
|
|
480
481
|
t(o, e, r) && (i[s++] = o);
|
|
481
482
|
}
|
|
482
483
|
return i;
|
|
483
484
|
}
|
|
484
|
-
function
|
|
485
|
+
function wu() {
|
|
485
486
|
return [];
|
|
486
487
|
}
|
|
487
|
-
var
|
|
488
|
-
return r == null ? [] : (r = Object(r),
|
|
489
|
-
return
|
|
488
|
+
var xu = Object.prototype, Nu = xu.propertyIsEnumerable, zi = Object.getOwnPropertySymbols, Au = zi ? function(r) {
|
|
489
|
+
return r == null ? [] : (r = Object(r), vu(zi(r), function(t) {
|
|
490
|
+
return Nu.call(r, t);
|
|
490
491
|
}));
|
|
491
|
-
} :
|
|
492
|
-
function
|
|
492
|
+
} : wu;
|
|
493
|
+
function Eu(r, t, e) {
|
|
493
494
|
var n = t(r);
|
|
494
|
-
return bn(r) ? n :
|
|
495
|
+
return bn(r) ? n : iu(n, e(r));
|
|
495
496
|
}
|
|
496
497
|
function Hs(r) {
|
|
497
|
-
return
|
|
498
|
+
return Eu(r, qc, Au);
|
|
498
499
|
}
|
|
499
|
-
var zs = wn(Be, "DataView"), Fs = wn(Be, "Promise"), Vs = wn(Be, "Set"), Fi = "[object Map]",
|
|
500
|
+
var zs = wn(Be, "DataView"), Fs = wn(Be, "Promise"), Vs = wn(Be, "Set"), Fi = "[object Map]", Tu = "[object Object]", Vi = "[object Promise]", Gi = "[object Set]", Ki = "[object WeakMap]", Wi = "[object DataView]", Cu = vn(zs), Su = vn(ar), Lu = vn(Fs), Ou = vn(Vs), qu = vn(Us), be = Fn;
|
|
500
501
|
(zs && be(new zs(new ArrayBuffer(1))) != Wi || ar && be(new ar()) != Fi || Fs && be(Fs.resolve()) != Vi || Vs && be(new Vs()) != Gi || Us && be(new Us()) != Ki) && (be = function(r) {
|
|
501
|
-
var t = Fn(r), e = t ==
|
|
502
|
+
var t = Fn(r), e = t == Tu ? r.constructor : void 0, n = e ? vn(e) : "";
|
|
502
503
|
if (n)
|
|
503
504
|
switch (n) {
|
|
504
|
-
case Tu:
|
|
505
|
-
return Wi;
|
|
506
505
|
case Cu:
|
|
507
|
-
return
|
|
506
|
+
return Wi;
|
|
508
507
|
case Su:
|
|
509
|
-
return
|
|
508
|
+
return Fi;
|
|
510
509
|
case Lu:
|
|
511
|
-
return
|
|
510
|
+
return Vi;
|
|
512
511
|
case Ou:
|
|
512
|
+
return Gi;
|
|
513
|
+
case qu:
|
|
513
514
|
return Ki;
|
|
514
515
|
}
|
|
515
516
|
return t;
|
|
516
517
|
});
|
|
517
|
-
var
|
|
518
|
-
function
|
|
518
|
+
var _u = Object.prototype, Iu = _u.hasOwnProperty;
|
|
519
|
+
function Ru(r) {
|
|
519
520
|
var t = r.length, e = new r.constructor(t);
|
|
520
|
-
return t && typeof r[0] == "string" &&
|
|
521
|
+
return t && typeof r[0] == "string" && Iu.call(r, "index") && (e.index = r.index, e.input = r.input), e;
|
|
521
522
|
}
|
|
522
523
|
var zr = Be.Uint8Array;
|
|
523
|
-
function
|
|
524
|
+
function gi(r) {
|
|
524
525
|
var t = new r.constructor(r.byteLength);
|
|
525
526
|
return new zr(t).set(new zr(r)), t;
|
|
526
527
|
}
|
|
527
|
-
function
|
|
528
|
-
var e =
|
|
528
|
+
function ku(r, t) {
|
|
529
|
+
var e = gi(r.buffer);
|
|
529
530
|
return new r.constructor(e, r.byteOffset, r.byteLength);
|
|
530
531
|
}
|
|
531
532
|
var Mu = /\w*$/;
|
|
532
|
-
function
|
|
533
|
+
function Bu(r) {
|
|
533
534
|
var t = new r.constructor(r.source, Mu.exec(r));
|
|
534
535
|
return t.lastIndex = r.lastIndex, t;
|
|
535
536
|
}
|
|
536
537
|
var Zi = an ? an.prototype : void 0, Xi = Zi ? Zi.valueOf : void 0;
|
|
537
|
-
function
|
|
538
|
+
function Du(r) {
|
|
538
539
|
return Xi ? Object(Xi.call(r)) : {};
|
|
539
540
|
}
|
|
540
541
|
function Jl(r, t) {
|
|
541
|
-
var e = t ?
|
|
542
|
+
var e = t ? gi(r.buffer) : r.buffer;
|
|
542
543
|
return new r.constructor(e, r.byteOffset, r.length);
|
|
543
544
|
}
|
|
544
|
-
var
|
|
545
|
-
function
|
|
545
|
+
var ju = "[object Boolean]", Pu = "[object Date]", Uu = "[object Map]", $u = "[object Number]", Hu = "[object RegExp]", zu = "[object Set]", Fu = "[object String]", Vu = "[object Symbol]", Gu = "[object ArrayBuffer]", Ku = "[object DataView]", Wu = "[object Float32Array]", Zu = "[object Float64Array]", Xu = "[object Int8Array]", Yu = "[object Int16Array]", Qu = "[object Int32Array]", Ju = "[object Uint8Array]", th = "[object Uint8ClampedArray]", eh = "[object Uint16Array]", nh = "[object Uint32Array]";
|
|
546
|
+
function rh(r, t, e) {
|
|
546
547
|
var n = r.constructor;
|
|
547
548
|
switch (t) {
|
|
548
|
-
case
|
|
549
|
-
return
|
|
550
|
-
case Du:
|
|
549
|
+
case Gu:
|
|
550
|
+
return gi(r);
|
|
551
551
|
case ju:
|
|
552
|
+
case Pu:
|
|
552
553
|
return new n(+r);
|
|
553
|
-
case Gu:
|
|
554
|
-
return Ru(r);
|
|
555
554
|
case Ku:
|
|
555
|
+
return ku(r);
|
|
556
556
|
case Wu:
|
|
557
557
|
case Zu:
|
|
558
558
|
case Xu:
|
|
@@ -561,45 +561,46 @@ function nh(r, t, e) {
|
|
|
561
561
|
case Ju:
|
|
562
562
|
case th:
|
|
563
563
|
case eh:
|
|
564
|
+
case nh:
|
|
564
565
|
return Jl(r, e);
|
|
565
|
-
case Pu:
|
|
566
|
-
return new n();
|
|
567
566
|
case Uu:
|
|
568
|
-
case zu:
|
|
569
|
-
return new n(r);
|
|
570
|
-
case $u:
|
|
571
|
-
return ku(r);
|
|
572
|
-
case Hu:
|
|
573
567
|
return new n();
|
|
568
|
+
case $u:
|
|
574
569
|
case Fu:
|
|
570
|
+
return new n(r);
|
|
571
|
+
case Hu:
|
|
575
572
|
return Bu(r);
|
|
573
|
+
case zu:
|
|
574
|
+
return new n();
|
|
575
|
+
case Vu:
|
|
576
|
+
return Du(r);
|
|
576
577
|
}
|
|
577
578
|
}
|
|
578
579
|
function to(r) {
|
|
579
|
-
return typeof r.constructor == "function" && !
|
|
580
|
+
return typeof r.constructor == "function" && !di(r) ? Aa(Zl(r)) : {};
|
|
580
581
|
}
|
|
581
|
-
var
|
|
582
|
-
function
|
|
583
|
-
return Ge(r) && be(r) ==
|
|
582
|
+
var sh = "[object Map]";
|
|
583
|
+
function ih(r) {
|
|
584
|
+
return Ge(r) && be(r) == sh;
|
|
584
585
|
}
|
|
585
|
-
var Yi = Pn && Pn.isMap,
|
|
586
|
-
function
|
|
587
|
-
return Ge(r) && be(r) ==
|
|
586
|
+
var Yi = Pn && Pn.isMap, lh = Yi ? fi(Yi) : ih, oh = "[object Set]";
|
|
587
|
+
function ah(r) {
|
|
588
|
+
return Ge(r) && be(r) == oh;
|
|
588
589
|
}
|
|
589
|
-
var Qi = Pn && Pn.isSet,
|
|
590
|
-
qt[eo] = qt[
|
|
591
|
-
qt[
|
|
590
|
+
var Qi = Pn && Pn.isSet, ch = Qi ? fi(Qi) : ah, uh = 1, eo = "[object Arguments]", hh = "[object Array]", dh = "[object Boolean]", fh = "[object Date]", ph = "[object Error]", no = "[object Function]", gh = "[object GeneratorFunction]", mh = "[object Map]", bh = "[object Number]", ro = "[object Object]", yh = "[object RegExp]", vh = "[object Set]", wh = "[object String]", xh = "[object Symbol]", Nh = "[object WeakMap]", Ah = "[object ArrayBuffer]", Eh = "[object DataView]", Th = "[object Float32Array]", Ch = "[object Float64Array]", Sh = "[object Int8Array]", Lh = "[object Int16Array]", Oh = "[object Int32Array]", qh = "[object Uint8Array]", _h = "[object Uint8ClampedArray]", Ih = "[object Uint16Array]", Rh = "[object Uint32Array]", qt = {};
|
|
591
|
+
qt[eo] = qt[hh] = qt[Ah] = qt[Eh] = qt[dh] = qt[fh] = qt[Th] = qt[Ch] = qt[Sh] = qt[Lh] = qt[Oh] = qt[mh] = qt[bh] = qt[ro] = qt[yh] = qt[vh] = qt[wh] = qt[xh] = qt[qh] = qt[_h] = qt[Ih] = qt[Rh] = !0;
|
|
592
|
+
qt[ph] = qt[no] = qt[Nh] = !1;
|
|
592
593
|
function Pr(r, t, e, n, s, i) {
|
|
593
|
-
var o, a = t &
|
|
594
|
+
var o, a = t & uh;
|
|
594
595
|
if (o !== void 0)
|
|
595
596
|
return o;
|
|
596
597
|
if (!un(r))
|
|
597
598
|
return r;
|
|
598
599
|
var h = bn(r);
|
|
599
600
|
if (h)
|
|
600
|
-
o =
|
|
601
|
+
o = Ru(r);
|
|
601
602
|
else {
|
|
602
|
-
var d = be(r), y = d == no || d ==
|
|
603
|
+
var d = be(r), y = d == no || d == gh;
|
|
603
604
|
if (lr(r))
|
|
604
605
|
return Ql(r, a);
|
|
605
606
|
if (d == ro || d == eo || y && !s)
|
|
@@ -607,32 +608,32 @@ function Pr(r, t, e, n, s, i) {
|
|
|
607
608
|
else {
|
|
608
609
|
if (!qt[d])
|
|
609
610
|
return s ? r : {};
|
|
610
|
-
o =
|
|
611
|
+
o = rh(r, d, a);
|
|
611
612
|
}
|
|
612
613
|
}
|
|
613
614
|
i || (i = new Ie());
|
|
614
615
|
var E = i.get(r);
|
|
615
616
|
if (E)
|
|
616
617
|
return E;
|
|
617
|
-
i.set(r, o),
|
|
618
|
+
i.set(r, o), ch(r) ? r.forEach(function(A) {
|
|
618
619
|
o.add(Pr(A, t, e, A, r, i));
|
|
619
|
-
}) :
|
|
620
|
+
}) : lh(r) && r.forEach(function(A, q) {
|
|
620
621
|
o.set(q, Pr(A, t, e, q, r, i));
|
|
621
622
|
});
|
|
622
623
|
var p = Hs, w = h ? void 0 : p(r);
|
|
623
|
-
return
|
|
624
|
+
return Ra(w || r, function(A, q) {
|
|
624
625
|
w && (q = A, A = r[q]), $l(o, q, Pr(A, t, e, q, r, i));
|
|
625
626
|
}), o;
|
|
626
627
|
}
|
|
627
|
-
var
|
|
628
|
+
var kh = 1, Mh = 4;
|
|
628
629
|
function Bn(r) {
|
|
629
|
-
return Pr(r,
|
|
630
|
-
}
|
|
631
|
-
var kh = "__lodash_hash_undefined__";
|
|
632
|
-
function Bh(r) {
|
|
633
|
-
return this.__data__.set(r, kh), this;
|
|
630
|
+
return Pr(r, kh | Mh);
|
|
634
631
|
}
|
|
632
|
+
var Bh = "__lodash_hash_undefined__";
|
|
635
633
|
function Dh(r) {
|
|
634
|
+
return this.__data__.set(r, Bh), this;
|
|
635
|
+
}
|
|
636
|
+
function jh(r) {
|
|
636
637
|
return this.__data__.has(r);
|
|
637
638
|
}
|
|
638
639
|
function Fr(r) {
|
|
@@ -640,26 +641,26 @@ function Fr(r) {
|
|
|
640
641
|
for (this.__data__ = new xn(); ++t < e; )
|
|
641
642
|
this.add(r[t]);
|
|
642
643
|
}
|
|
643
|
-
Fr.prototype.add = Fr.prototype.push =
|
|
644
|
-
Fr.prototype.has =
|
|
645
|
-
function
|
|
644
|
+
Fr.prototype.add = Fr.prototype.push = Dh;
|
|
645
|
+
Fr.prototype.has = jh;
|
|
646
|
+
function Ph(r, t) {
|
|
646
647
|
for (var e = -1, n = r == null ? 0 : r.length; ++e < n; )
|
|
647
648
|
if (t(r[e], e, r))
|
|
648
649
|
return !0;
|
|
649
650
|
return !1;
|
|
650
651
|
}
|
|
651
|
-
function
|
|
652
|
+
function Uh(r, t) {
|
|
652
653
|
return r.has(t);
|
|
653
654
|
}
|
|
654
|
-
var
|
|
655
|
+
var $h = 1, Hh = 2;
|
|
655
656
|
function so(r, t, e, n, s, i) {
|
|
656
|
-
var o = e &
|
|
657
|
+
var o = e & $h, a = r.length, h = t.length;
|
|
657
658
|
if (a != h && !(o && h > a))
|
|
658
659
|
return !1;
|
|
659
660
|
var d = i.get(r), y = i.get(t);
|
|
660
661
|
if (d && y)
|
|
661
662
|
return d == t && y == r;
|
|
662
|
-
var E = -1, p = !0, w = e &
|
|
663
|
+
var E = -1, p = !0, w = e & Hh ? new Fr() : void 0;
|
|
663
664
|
for (i.set(r, t), i.set(t, r); ++E < a; ) {
|
|
664
665
|
var A = r[E], q = t[E];
|
|
665
666
|
if (n)
|
|
@@ -671,8 +672,8 @@ function so(r, t, e, n, s, i) {
|
|
|
671
672
|
break;
|
|
672
673
|
}
|
|
673
674
|
if (w) {
|
|
674
|
-
if (!
|
|
675
|
-
if (!
|
|
675
|
+
if (!Ph(t, function(j, K) {
|
|
676
|
+
if (!Uh(w, K) && (A === j || s(A, j, e, n, i)))
|
|
676
677
|
return w.push(K);
|
|
677
678
|
})) {
|
|
678
679
|
p = !1;
|
|
@@ -685,62 +686,62 @@ function so(r, t, e, n, s, i) {
|
|
|
685
686
|
}
|
|
686
687
|
return i.delete(r), i.delete(t), p;
|
|
687
688
|
}
|
|
688
|
-
function
|
|
689
|
+
function zh(r) {
|
|
689
690
|
var t = -1, e = Array(r.size);
|
|
690
691
|
return r.forEach(function(n, s) {
|
|
691
692
|
e[++t] = [s, n];
|
|
692
693
|
}), e;
|
|
693
694
|
}
|
|
694
|
-
function
|
|
695
|
+
function Fh(r) {
|
|
695
696
|
var t = -1, e = Array(r.size);
|
|
696
697
|
return r.forEach(function(n) {
|
|
697
698
|
e[++t] = n;
|
|
698
699
|
}), e;
|
|
699
700
|
}
|
|
700
|
-
var
|
|
701
|
-
function
|
|
701
|
+
var Vh = 1, Gh = 2, Kh = "[object Boolean]", Wh = "[object Date]", Zh = "[object Error]", Xh = "[object Map]", Yh = "[object Number]", Qh = "[object RegExp]", Jh = "[object Set]", td = "[object String]", ed = "[object Symbol]", nd = "[object ArrayBuffer]", rd = "[object DataView]", Ji = an ? an.prototype : void 0, Ss = Ji ? Ji.valueOf : void 0;
|
|
702
|
+
function sd(r, t, e, n, s, i, o) {
|
|
702
703
|
switch (e) {
|
|
703
|
-
case
|
|
704
|
+
case rd:
|
|
704
705
|
if (r.byteLength != t.byteLength || r.byteOffset != t.byteOffset)
|
|
705
706
|
return !1;
|
|
706
707
|
r = r.buffer, t = t.buffer;
|
|
707
|
-
case
|
|
708
|
+
case nd:
|
|
708
709
|
return !(r.byteLength != t.byteLength || !i(new zr(r), new zr(t)));
|
|
709
|
-
case Gh:
|
|
710
710
|
case Kh:
|
|
711
|
-
case Xh:
|
|
712
|
-
return fr(+r, +t);
|
|
713
711
|
case Wh:
|
|
714
|
-
return r.name == t.name && r.message == t.message;
|
|
715
712
|
case Yh:
|
|
716
|
-
|
|
717
|
-
return r == t + "";
|
|
713
|
+
return fr(+r, +t);
|
|
718
714
|
case Zh:
|
|
719
|
-
|
|
715
|
+
return r.name == t.name && r.message == t.message;
|
|
720
716
|
case Qh:
|
|
721
|
-
|
|
722
|
-
|
|
717
|
+
case td:
|
|
718
|
+
return r == t + "";
|
|
719
|
+
case Xh:
|
|
720
|
+
var a = zh;
|
|
721
|
+
case Jh:
|
|
722
|
+
var h = n & Vh;
|
|
723
|
+
if (a || (a = Fh), r.size != t.size && !h)
|
|
723
724
|
return !1;
|
|
724
725
|
var d = o.get(r);
|
|
725
726
|
if (d)
|
|
726
727
|
return d == t;
|
|
727
|
-
n |=
|
|
728
|
+
n |= Gh, o.set(r, t);
|
|
728
729
|
var y = so(a(r), a(t), n, s, i, o);
|
|
729
730
|
return o.delete(r), y;
|
|
730
|
-
case
|
|
731
|
+
case ed:
|
|
731
732
|
if (Ss)
|
|
732
733
|
return Ss.call(r) == Ss.call(t);
|
|
733
734
|
}
|
|
734
735
|
return !1;
|
|
735
736
|
}
|
|
736
|
-
var
|
|
737
|
-
function
|
|
738
|
-
var o = e &
|
|
737
|
+
var id = 1, ld = Object.prototype, od = ld.hasOwnProperty;
|
|
738
|
+
function ad(r, t, e, n, s, i) {
|
|
739
|
+
var o = e & id, a = Hs(r), h = a.length, d = Hs(t), y = d.length;
|
|
739
740
|
if (h != y && !o)
|
|
740
741
|
return !1;
|
|
741
742
|
for (var E = h; E--; ) {
|
|
742
743
|
var p = a[E];
|
|
743
|
-
if (!(o ? p in t :
|
|
744
|
+
if (!(o ? p in t : od.call(t, p)))
|
|
744
745
|
return !1;
|
|
745
746
|
}
|
|
746
747
|
var w = i.get(r), A = i.get(t);
|
|
@@ -765,8 +766,8 @@ function od(r, t, e, n, s, i) {
|
|
|
765
766
|
}
|
|
766
767
|
return i.delete(r), i.delete(t), q;
|
|
767
768
|
}
|
|
768
|
-
var
|
|
769
|
-
function
|
|
769
|
+
var cd = 1, tl = "[object Arguments]", el = "[object Array]", Or = "[object Object]", ud = Object.prototype, nl = ud.hasOwnProperty;
|
|
770
|
+
function hd(r, t, e, n, s, i) {
|
|
770
771
|
var o = bn(r), a = bn(t), h = o ? el : be(r), d = a ? el : be(t);
|
|
771
772
|
h = h == tl ? Or : h, d = d == tl ? Or : d;
|
|
772
773
|
var y = h == Or, E = d == Or, p = h == d;
|
|
@@ -776,20 +777,20 @@ function ud(r, t, e, n, s, i) {
|
|
|
776
777
|
o = !0, y = !1;
|
|
777
778
|
}
|
|
778
779
|
if (p && !y)
|
|
779
|
-
return i || (i = new Ie()), o ||
|
|
780
|
-
if (!(e &
|
|
780
|
+
return i || (i = new Ie()), o || pi(r) ? so(r, t, e, n, s, i) : sd(r, t, h, e, n, s, i);
|
|
781
|
+
if (!(e & cd)) {
|
|
781
782
|
var w = y && nl.call(r, "__wrapped__"), A = E && nl.call(t, "__wrapped__");
|
|
782
783
|
if (w || A) {
|
|
783
784
|
var q = w ? r.value() : r, D = A ? t.value() : t;
|
|
784
785
|
return i || (i = new Ie()), s(q, D, e, n, i);
|
|
785
786
|
}
|
|
786
787
|
}
|
|
787
|
-
return p ? (i || (i = new Ie()),
|
|
788
|
+
return p ? (i || (i = new Ie()), ad(r, t, e, n, s, i)) : !1;
|
|
788
789
|
}
|
|
789
790
|
function io(r, t, e, n, s) {
|
|
790
|
-
return r === t ? !0 : r == null || t == null || !Ge(r) && !Ge(t) ? r !== r && t !== t :
|
|
791
|
+
return r === t ? !0 : r == null || t == null || !Ge(r) && !Ge(t) ? r !== r && t !== t : hd(r, t, e, n, io, s);
|
|
791
792
|
}
|
|
792
|
-
function
|
|
793
|
+
function dd(r) {
|
|
793
794
|
return function(t, e, n) {
|
|
794
795
|
for (var s = -1, i = Object(t), o = n(t), a = o.length; a--; ) {
|
|
795
796
|
var h = o[++s];
|
|
@@ -799,21 +800,21 @@ function hd(r) {
|
|
|
799
800
|
return t;
|
|
800
801
|
};
|
|
801
802
|
}
|
|
802
|
-
var
|
|
803
|
+
var fd = dd();
|
|
803
804
|
function Gs(r, t, e) {
|
|
804
|
-
(e !== void 0 && !fr(r[t], e) || e === void 0 && !(t in r)) &&
|
|
805
|
+
(e !== void 0 && !fr(r[t], e) || e === void 0 && !(t in r)) && hi(r, t, e);
|
|
805
806
|
}
|
|
806
|
-
function
|
|
807
|
+
function pd(r) {
|
|
807
808
|
return Ge(r) && Gr(r);
|
|
808
809
|
}
|
|
809
810
|
function Ks(r, t) {
|
|
810
811
|
if (!(t === "constructor" && typeof r[t] == "function") && t != "__proto__")
|
|
811
812
|
return r[t];
|
|
812
813
|
}
|
|
813
|
-
function
|
|
814
|
-
return
|
|
814
|
+
function gd(r) {
|
|
815
|
+
return ja(r, Wl(r));
|
|
815
816
|
}
|
|
816
|
-
function
|
|
817
|
+
function md(r, t, e, n, s, i, o) {
|
|
817
818
|
var a = Ks(r, e), h = Ks(t, e), d = o.get(h);
|
|
818
819
|
if (d) {
|
|
819
820
|
Gs(r, e, d);
|
|
@@ -821,28 +822,28 @@ function gd(r, t, e, n, s, i, o) {
|
|
|
821
822
|
}
|
|
822
823
|
var y = i ? i(a, h, e + "", r, t, o) : void 0, E = y === void 0;
|
|
823
824
|
if (E) {
|
|
824
|
-
var p = bn(h), w = !p && lr(h), A = !p && !w &&
|
|
825
|
-
y = h, p || w || A ? bn(a) ? y = a :
|
|
825
|
+
var p = bn(h), w = !p && lr(h), A = !p && !w && pi(h);
|
|
826
|
+
y = h, p || w || A ? bn(a) ? y = a : pd(a) ? y = Ta(a) : w ? (E = !1, y = Ql(h, !0)) : A ? (E = !1, y = Jl(h, !0)) : y = [] : hu(h) || $s(h) ? (y = a, $s(a) ? y = gd(a) : (!un(a) || ui(a)) && (y = to(h))) : E = !1;
|
|
826
827
|
}
|
|
827
828
|
E && (o.set(h, y), s(y, h, n, i, o), o.delete(h)), Gs(r, e, y);
|
|
828
829
|
}
|
|
829
830
|
function lo(r, t, e, n, s) {
|
|
830
|
-
r !== t &&
|
|
831
|
+
r !== t && fd(t, function(i, o) {
|
|
831
832
|
if (s || (s = new Ie()), un(i))
|
|
832
|
-
|
|
833
|
+
md(r, t, o, e, lo, n, s);
|
|
833
834
|
else {
|
|
834
835
|
var a = n ? n(Ks(r, o), i, o + "", r, t, s) : void 0;
|
|
835
836
|
a === void 0 && (a = i), Gs(r, o, a);
|
|
836
837
|
}
|
|
837
838
|
}, Wl);
|
|
838
839
|
}
|
|
839
|
-
function
|
|
840
|
+
function mi(r, t) {
|
|
840
841
|
return io(r, t);
|
|
841
842
|
}
|
|
842
|
-
var on =
|
|
843
|
+
var on = za(function(r, t, e) {
|
|
843
844
|
lo(r, t, e);
|
|
844
845
|
}), et = /* @__PURE__ */ ((r) => (r[r.TYPE = 3] = "TYPE", r[r.LEVEL = 12] = "LEVEL", r[r.ATTRIBUTE = 13] = "ATTRIBUTE", r[r.BLOT = 14] = "BLOT", r[r.INLINE = 7] = "INLINE", r[r.BLOCK = 11] = "BLOCK", r[r.BLOCK_BLOT = 10] = "BLOCK_BLOT", r[r.INLINE_BLOT = 6] = "INLINE_BLOT", r[r.BLOCK_ATTRIBUTE = 9] = "BLOCK_ATTRIBUTE", r[r.INLINE_ATTRIBUTE = 5] = "INLINE_ATTRIBUTE", r[r.ANY = 15] = "ANY", r))(et || {});
|
|
845
|
-
class
|
|
846
|
+
class ke {
|
|
846
847
|
constructor(t, e, n = {}) {
|
|
847
848
|
this.attrName = t, this.keyName = e;
|
|
848
849
|
const s = et.TYPE & et.ATTRIBUTE;
|
|
@@ -929,7 +930,7 @@ let Un = oo;
|
|
|
929
930
|
function rl(r, t) {
|
|
930
931
|
return (r.getAttribute("class") || "").split(/\s+/).filter((e) => e.indexOf(`${t}-`) === 0);
|
|
931
932
|
}
|
|
932
|
-
class
|
|
933
|
+
class bd extends ke {
|
|
933
934
|
static keys(t) {
|
|
934
935
|
return (t.getAttribute("class") || "").split(/\s+/).map((e) => e.split("-").slice(0, -1).join("-"));
|
|
935
936
|
}
|
|
@@ -946,12 +947,12 @@ class md extends Me {
|
|
|
946
947
|
return this.canAdd(t, e) ? e : "";
|
|
947
948
|
}
|
|
948
949
|
}
|
|
949
|
-
const xe =
|
|
950
|
+
const xe = bd;
|
|
950
951
|
function Ls(r) {
|
|
951
952
|
const t = r.split("-"), e = t.slice(1).map((n) => n[0].toUpperCase() + n.slice(1)).join("");
|
|
952
953
|
return t[0] + e;
|
|
953
954
|
}
|
|
954
|
-
class
|
|
955
|
+
class yd extends ke {
|
|
955
956
|
static keys(t) {
|
|
956
957
|
return (t.getAttribute("style") || "").split(";").map((e) => e.split(":")[0].trim());
|
|
957
958
|
}
|
|
@@ -966,8 +967,8 @@ class bd extends Me {
|
|
|
966
967
|
return this.canAdd(t, e) ? e : "";
|
|
967
968
|
}
|
|
968
969
|
}
|
|
969
|
-
const hn =
|
|
970
|
-
class
|
|
970
|
+
const hn = yd;
|
|
971
|
+
class vd {
|
|
971
972
|
constructor(t) {
|
|
972
973
|
this.attributes = {}, this.domNode = t, this.build();
|
|
973
974
|
}
|
|
@@ -979,10 +980,10 @@ class yd {
|
|
|
979
980
|
const t = Un.find(this.domNode);
|
|
980
981
|
if (t == null)
|
|
981
982
|
return;
|
|
982
|
-
const e =
|
|
983
|
+
const e = ke.keys(this.domNode), n = xe.keys(this.domNode), s = hn.keys(this.domNode);
|
|
983
984
|
e.concat(n).concat(s).forEach((i) => {
|
|
984
985
|
const o = t.scroll.query(i, et.ATTRIBUTE);
|
|
985
|
-
o instanceof
|
|
986
|
+
o instanceof ke && (this.attributes[o.attrName] = o);
|
|
986
987
|
});
|
|
987
988
|
}
|
|
988
989
|
copy(t) {
|
|
@@ -1003,7 +1004,7 @@ class yd {
|
|
|
1003
1004
|
);
|
|
1004
1005
|
}
|
|
1005
1006
|
}
|
|
1006
|
-
const Zr =
|
|
1007
|
+
const Zr = vd, ao = class {
|
|
1007
1008
|
constructor(t, e) {
|
|
1008
1009
|
this.scroll = t, this.domNode = e, Un.blots.set(e, this), this.prev = null, this.next = null;
|
|
1009
1010
|
}
|
|
@@ -1114,9 +1115,9 @@ const uo = class extends co {
|
|
|
1114
1115
|
}
|
|
1115
1116
|
};
|
|
1116
1117
|
uo.scope = et.INLINE_BLOT;
|
|
1117
|
-
let
|
|
1118
|
-
const Wt =
|
|
1119
|
-
class
|
|
1118
|
+
let wd = uo;
|
|
1119
|
+
const Wt = wd;
|
|
1120
|
+
class xd {
|
|
1120
1121
|
constructor() {
|
|
1121
1122
|
this.head = null, this.tail = null, this.length = 0;
|
|
1122
1123
|
}
|
|
@@ -1250,7 +1251,7 @@ const ho = class nn extends co {
|
|
|
1250
1251
|
* Called during construction, should fill its own children LinkedList.
|
|
1251
1252
|
*/
|
|
1252
1253
|
build() {
|
|
1253
|
-
this.children = new
|
|
1254
|
+
this.children = new xd(), Array.from(this.domNode.childNodes).filter((t) => t !== this.uiNode).reverse().forEach((t) => {
|
|
1254
1255
|
try {
|
|
1255
1256
|
const e = sl(t, this.scroll);
|
|
1256
1257
|
this.insertBefore(e, this.children.head || void 0);
|
|
@@ -1384,9 +1385,9 @@ const ho = class nn extends co {
|
|
|
1384
1385
|
}
|
|
1385
1386
|
};
|
|
1386
1387
|
ho.uiClass = "";
|
|
1387
|
-
let
|
|
1388
|
-
const ve =
|
|
1389
|
-
function
|
|
1388
|
+
let Nd = ho;
|
|
1389
|
+
const ve = Nd;
|
|
1390
|
+
function Ad(r, t) {
|
|
1390
1391
|
if (Object.keys(r).length !== Object.keys(t).length)
|
|
1391
1392
|
return !1;
|
|
1392
1393
|
for (const e in r)
|
|
@@ -1419,7 +1420,7 @@ const qn = class _n extends ve {
|
|
|
1419
1420
|
const n = this.scroll.query(t, et.INLINE);
|
|
1420
1421
|
if (n == null)
|
|
1421
1422
|
return;
|
|
1422
|
-
n instanceof
|
|
1423
|
+
n instanceof ke ? this.attributes.attribute(n, e) : e && (t !== this.statics.blotName || this.formats()[t] !== e) && this.replaceWith(t, e);
|
|
1423
1424
|
}
|
|
1424
1425
|
}
|
|
1425
1426
|
formats() {
|
|
@@ -1435,7 +1436,7 @@ const qn = class _n extends ve {
|
|
|
1435
1436
|
if (Object.keys(e).length === 0)
|
|
1436
1437
|
return this.unwrap();
|
|
1437
1438
|
const n = this.next;
|
|
1438
|
-
n instanceof _n && n.prev === this &&
|
|
1439
|
+
n instanceof _n && n.prev === this && Ad(e, n.formats()) && (n.moveChildren(this), n.remove());
|
|
1439
1440
|
}
|
|
1440
1441
|
replaceWith(t, e) {
|
|
1441
1442
|
const n = super.replaceWith(t, e);
|
|
@@ -1452,8 +1453,8 @@ const qn = class _n extends ve {
|
|
|
1452
1453
|
}
|
|
1453
1454
|
};
|
|
1454
1455
|
qn.allowedChildren = [qn, Wt], qn.blotName = "inline", qn.scope = et.INLINE_BLOT, qn.tagName = "SPAN";
|
|
1455
|
-
let
|
|
1456
|
-
const
|
|
1456
|
+
let Ed = qn;
|
|
1457
|
+
const bi = Ed, In = class Zs extends ve {
|
|
1457
1458
|
static create(t) {
|
|
1458
1459
|
return super.create(t);
|
|
1459
1460
|
}
|
|
@@ -1471,7 +1472,7 @@ const mi = Ad, In = class Zs extends ve {
|
|
|
1471
1472
|
}
|
|
1472
1473
|
format(t, e) {
|
|
1473
1474
|
const n = this.scroll.query(t, et.BLOCK);
|
|
1474
|
-
n != null && (n instanceof
|
|
1475
|
+
n != null && (n instanceof ke ? this.attributes.attribute(n, e) : t === this.statics.blotName && !e ? this.replaceWith(Zs.blotName) : e && (t !== this.statics.blotName || this.formats()[t] !== e) && this.replaceWith(t, e));
|
|
1475
1476
|
}
|
|
1476
1477
|
formats() {
|
|
1477
1478
|
const t = this.attributes.values(), e = this.statics.formats(this.domNode, this.scroll);
|
|
@@ -1503,12 +1504,12 @@ const mi = Ad, In = class Zs extends ve {
|
|
|
1503
1504
|
}
|
|
1504
1505
|
};
|
|
1505
1506
|
In.blotName = "block", In.scope = et.BLOCK_BLOT, In.tagName = "P", In.allowedChildren = [
|
|
1506
|
-
|
|
1507
|
+
bi,
|
|
1507
1508
|
In,
|
|
1508
1509
|
Wt
|
|
1509
1510
|
];
|
|
1510
|
-
let
|
|
1511
|
-
const cr =
|
|
1511
|
+
let Td = In;
|
|
1512
|
+
const cr = Td, Xs = class extends ve {
|
|
1512
1513
|
checkMerge() {
|
|
1513
1514
|
return this.next !== null && this.next.statics.blotName === this.statics.blotName;
|
|
1514
1515
|
}
|
|
@@ -1526,9 +1527,9 @@ const cr = Ed, Xs = class extends ve {
|
|
|
1526
1527
|
}
|
|
1527
1528
|
};
|
|
1528
1529
|
Xs.blotName = "container", Xs.scope = et.BLOCK_BLOT;
|
|
1529
|
-
let
|
|
1530
|
-
const Xr =
|
|
1531
|
-
class
|
|
1530
|
+
let Cd = Xs;
|
|
1531
|
+
const Xr = Cd;
|
|
1532
|
+
class Sd extends Wt {
|
|
1532
1533
|
static formats(t, e) {
|
|
1533
1534
|
}
|
|
1534
1535
|
format(t, e) {
|
|
@@ -1541,17 +1542,17 @@ class Cd extends Wt {
|
|
|
1541
1542
|
return this.statics.formats(this.domNode, this.scroll);
|
|
1542
1543
|
}
|
|
1543
1544
|
}
|
|
1544
|
-
const se =
|
|
1545
|
+
const se = Sd, Ld = {
|
|
1545
1546
|
attributes: !0,
|
|
1546
1547
|
characterData: !0,
|
|
1547
1548
|
characterDataOldValue: !0,
|
|
1548
1549
|
childList: !0,
|
|
1549
1550
|
subtree: !0
|
|
1550
|
-
},
|
|
1551
|
+
}, Od = 100, Rn = class extends ve {
|
|
1551
1552
|
constructor(t, e) {
|
|
1552
1553
|
super(null, e), this.registry = t, this.scroll = this, this.build(), this.observer = new MutationObserver((n) => {
|
|
1553
1554
|
this.update(n);
|
|
1554
|
-
}), this.observer.observe(this.domNode,
|
|
1555
|
+
}), this.observer.observe(this.domNode, Ld), this.attach();
|
|
1555
1556
|
}
|
|
1556
1557
|
create(t, e) {
|
|
1557
1558
|
return this.registry.create(this, t, e);
|
|
@@ -1596,7 +1597,7 @@ const se = Cd, Sd = {
|
|
|
1596
1597
|
};
|
|
1597
1598
|
let a = t;
|
|
1598
1599
|
for (let h = 0; a.length > 0; h += 1) {
|
|
1599
|
-
if (h >=
|
|
1600
|
+
if (h >= Od)
|
|
1600
1601
|
throw new Error("[Parchment] Maximum optimize iterations reached");
|
|
1601
1602
|
for (a.forEach((d) => {
|
|
1602
1603
|
const y = this.find(d.target, !0);
|
|
@@ -1622,8 +1623,8 @@ const se = Cd, Sd = {
|
|
|
1622
1623
|
}
|
|
1623
1624
|
};
|
|
1624
1625
|
Rn.blotName = "scroll", Rn.defaultChild = cr, Rn.allowedChildren = [cr, Xr], Rn.scope = et.BLOCK_BLOT, Rn.tagName = "DIV";
|
|
1625
|
-
let
|
|
1626
|
-
const
|
|
1626
|
+
let qd = Rn;
|
|
1627
|
+
const yi = qd, Ys = class fo extends Wt {
|
|
1627
1628
|
static create(t) {
|
|
1628
1629
|
return document.createTextNode(t);
|
|
1629
1630
|
}
|
|
@@ -1669,47 +1670,24 @@ const bi = Od, Ys = class fo extends Wt {
|
|
|
1669
1670
|
}
|
|
1670
1671
|
};
|
|
1671
1672
|
Ys.blotName = "text", Ys.scope = et.INLINE_BLOT;
|
|
1672
|
-
let
|
|
1673
|
-
const Vr =
|
|
1673
|
+
let _d = Ys;
|
|
1674
|
+
const Vr = _d, po = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1674
1675
|
__proto__: null,
|
|
1675
|
-
Attributor:
|
|
1676
|
+
Attributor: ke,
|
|
1676
1677
|
AttributorStore: Zr,
|
|
1677
1678
|
BlockBlot: cr,
|
|
1678
1679
|
ClassAttributor: xe,
|
|
1679
1680
|
ContainerBlot: Xr,
|
|
1680
1681
|
EmbedBlot: se,
|
|
1681
|
-
InlineBlot:
|
|
1682
|
+
InlineBlot: bi,
|
|
1682
1683
|
LeafBlot: Wt,
|
|
1683
1684
|
ParentBlot: ve,
|
|
1684
1685
|
Registry: Un,
|
|
1685
1686
|
Scope: et,
|
|
1686
|
-
ScrollBlot:
|
|
1687
|
+
ScrollBlot: yi,
|
|
1687
1688
|
StyleAttributor: hn,
|
|
1688
1689
|
TextBlot: Vr
|
|
1689
1690
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1690
|
-
var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1691
|
-
function yi(r) {
|
|
1692
|
-
return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
|
|
1693
|
-
}
|
|
1694
|
-
function _d(r) {
|
|
1695
|
-
if (Object.prototype.hasOwnProperty.call(r, "__esModule")) return r;
|
|
1696
|
-
var t = r.default;
|
|
1697
|
-
if (typeof t == "function") {
|
|
1698
|
-
var e = function n() {
|
|
1699
|
-
return this instanceof n ? Reflect.construct(t, arguments, this.constructor) : t.apply(this, arguments);
|
|
1700
|
-
};
|
|
1701
|
-
e.prototype = t.prototype;
|
|
1702
|
-
} else e = {};
|
|
1703
|
-
return Object.defineProperty(e, "__esModule", { value: !0 }), Object.keys(r).forEach(function(n) {
|
|
1704
|
-
var s = Object.getOwnPropertyDescriptor(r, n);
|
|
1705
|
-
Object.defineProperty(e, n, s.get ? s : {
|
|
1706
|
-
enumerable: !0,
|
|
1707
|
-
get: function() {
|
|
1708
|
-
return r[n];
|
|
1709
|
-
}
|
|
1710
|
-
});
|
|
1711
|
-
}), e;
|
|
1712
|
-
}
|
|
1713
1691
|
var qr = { exports: {} }, Os, il;
|
|
1714
1692
|
function Id() {
|
|
1715
1693
|
if (il) return Os;
|
|
@@ -1719,7 +1697,7 @@ function Id() {
|
|
|
1719
1697
|
if (g === x)
|
|
1720
1698
|
return g ? [[e, g]] : [];
|
|
1721
1699
|
if (v != null) {
|
|
1722
|
-
var S =
|
|
1700
|
+
var S = kt(g, x, v);
|
|
1723
1701
|
if (S)
|
|
1724
1702
|
return S;
|
|
1725
1703
|
}
|
|
@@ -1759,7 +1737,7 @@ function Id() {
|
|
|
1759
1737
|
for (var v = g.length, C = x.length, P = Math.ceil((v + C) / 2), S = P, $ = 2 * P, H = new Array($), z = new Array($), N = 0; N < $; N++)
|
|
1760
1738
|
H[N] = -1, z[N] = -1;
|
|
1761
1739
|
H[S + 1] = 0, z[S + 1] = 0;
|
|
1762
|
-
for (var _ = v - C, O = _ % 2 !== 0, V = 0, W = 0,
|
|
1740
|
+
for (var _ = v - C, O = _ % 2 !== 0, V = 0, W = 0, k = 0, pt = 0, ht = 0; ht < P; ht++) {
|
|
1763
1741
|
for (var lt = -ht + V; lt <= ht - W; lt += 2) {
|
|
1764
1742
|
var dt = S + lt, gt;
|
|
1765
1743
|
lt === -ht || lt !== ht && H[dt - 1] < H[dt + 1] ? gt = H[dt + 1] : gt = H[dt - 1] + 1;
|
|
@@ -1778,15 +1756,15 @@ function Id() {
|
|
|
1778
1756
|
}
|
|
1779
1757
|
}
|
|
1780
1758
|
}
|
|
1781
|
-
for (var Ct = -ht +
|
|
1759
|
+
for (var Ct = -ht + k; Ct <= ht - pt; Ct += 2) {
|
|
1782
1760
|
var mt = S + Ct, ct;
|
|
1783
1761
|
Ct === -ht || Ct !== ht && z[mt - 1] < z[mt + 1] ? ct = z[mt + 1] : ct = z[mt - 1] + 1;
|
|
1784
|
-
for (var
|
|
1785
|
-
ct++,
|
|
1762
|
+
for (var Mt = ct - Ct; ct < v && Mt < C && g.charAt(v - ct - 1) === x.charAt(C - Mt - 1); )
|
|
1763
|
+
ct++, Mt++;
|
|
1786
1764
|
if (z[mt] = ct, ct > v)
|
|
1787
1765
|
pt += 2;
|
|
1788
|
-
else if (
|
|
1789
|
-
|
|
1766
|
+
else if (Mt > C)
|
|
1767
|
+
k += 2;
|
|
1790
1768
|
else if (!O) {
|
|
1791
1769
|
var dt = S + _ - Ct;
|
|
1792
1770
|
if (dt >= 0 && dt < $ && H[dt] !== -1) {
|
|
@@ -1839,16 +1817,16 @@ function Id() {
|
|
|
1839
1817
|
var v = g.length > x.length ? g : x, C = g.length > x.length ? x : g;
|
|
1840
1818
|
if (v.length < 4 || C.length * 2 < v.length)
|
|
1841
1819
|
return null;
|
|
1842
|
-
function P(W,
|
|
1843
|
-
for (var ht = W.substring(pt, pt + Math.floor(W.length / 4)), lt = -1, dt = "", gt, yt, mt, ct; (lt =
|
|
1820
|
+
function P(W, k, pt) {
|
|
1821
|
+
for (var ht = W.substring(pt, pt + Math.floor(W.length / 4)), lt = -1, dt = "", gt, yt, mt, ct; (lt = k.indexOf(ht, lt + 1)) !== -1; ) {
|
|
1844
1822
|
var Ct = a(
|
|
1845
1823
|
W.substring(pt),
|
|
1846
|
-
|
|
1847
|
-
),
|
|
1824
|
+
k.substring(lt)
|
|
1825
|
+
), Mt = d(
|
|
1848
1826
|
W.substring(0, pt),
|
|
1849
|
-
|
|
1827
|
+
k.substring(0, lt)
|
|
1850
1828
|
);
|
|
1851
|
-
dt.length <
|
|
1829
|
+
dt.length < Mt + Ct && (dt = k.substring(lt - Mt, lt) + k.substring(lt, lt + Ct), gt = W.substring(0, pt - Mt), yt = W.substring(pt + Ct), mt = k.substring(0, lt - Mt), ct = k.substring(lt + Ct));
|
|
1852
1830
|
}
|
|
1853
1831
|
return dt.length * 2 >= W.length ? [
|
|
1854
1832
|
gt,
|
|
@@ -1903,11 +1881,11 @@ function Id() {
|
|
|
1903
1881
|
}
|
|
1904
1882
|
var p = /[^a-zA-Z0-9]/, w = /\s/, A = /[\r\n]/, q = /\n\r?\n$/, D = /^\r?\n\r?\n/;
|
|
1905
1883
|
function j(g) {
|
|
1906
|
-
function x(W,
|
|
1907
|
-
if (!W || !
|
|
1884
|
+
function x(W, k) {
|
|
1885
|
+
if (!W || !k)
|
|
1908
1886
|
return 6;
|
|
1909
|
-
var pt = W.charAt(W.length - 1), ht =
|
|
1910
|
-
return Ct ||
|
|
1887
|
+
var pt = W.charAt(W.length - 1), ht = k.charAt(0), lt = pt.match(p), dt = ht.match(p), gt = lt && pt.match(w), yt = dt && ht.match(w), mt = gt && pt.match(A), ct = yt && ht.match(A), Ct = mt && W.match(q), Mt = ct && k.match(D);
|
|
1888
|
+
return Ct || Mt ? 5 : mt || ct ? 4 : lt && !gt && yt ? 3 : gt || yt ? 2 : lt || dt ? 1 : 0;
|
|
1911
1889
|
}
|
|
1912
1890
|
for (var v = 1; v < g.length - 1; ) {
|
|
1913
1891
|
if (g[v - 1][0] == e && g[v + 1][0] == e) {
|
|
@@ -2025,7 +2003,7 @@ function Id() {
|
|
|
2025
2003
|
[e, C]
|
|
2026
2004
|
]);
|
|
2027
2005
|
}
|
|
2028
|
-
function
|
|
2006
|
+
function kt(g, x, v) {
|
|
2029
2007
|
var C = typeof v == "number" ? { index: v, length: 0 } : v.oldRange, P = typeof v == "number" ? null : v.newRange, S = g.length, $ = x.length;
|
|
2030
2008
|
if (C.length === 0 && (P === null || P.length === 0)) {
|
|
2031
2009
|
var H = C.index, z = g.slice(0, H), N = g.slice(H), _ = P ? P.index : null;
|
|
@@ -2036,10 +2014,10 @@ function Id() {
|
|
|
2036
2014
|
var V = x.slice(0, O), W = x.slice(O);
|
|
2037
2015
|
if (W !== N)
|
|
2038
2016
|
break t;
|
|
2039
|
-
var
|
|
2017
|
+
var k = Math.min(H, O), pt = z.slice(0, k), ht = V.slice(0, k);
|
|
2040
2018
|
if (pt !== ht)
|
|
2041
2019
|
break t;
|
|
2042
|
-
var lt = z.slice(
|
|
2020
|
+
var lt = z.slice(k), dt = V.slice(k);
|
|
2043
2021
|
return vt(pt, lt, dt, N);
|
|
2044
2022
|
}
|
|
2045
2023
|
t: {
|
|
@@ -2057,13 +2035,13 @@ function Id() {
|
|
|
2057
2035
|
}
|
|
2058
2036
|
if (C.length > 0 && P && P.length === 0)
|
|
2059
2037
|
t: {
|
|
2060
|
-
var pt = g.slice(0, C.index), mt = g.slice(C.index + C.length),
|
|
2061
|
-
if ($ <
|
|
2038
|
+
var pt = g.slice(0, C.index), mt = g.slice(C.index + C.length), k = pt.length, yt = mt.length;
|
|
2039
|
+
if ($ < k + yt)
|
|
2062
2040
|
break t;
|
|
2063
|
-
var ht = x.slice(0,
|
|
2041
|
+
var ht = x.slice(0, k), ct = x.slice($ - yt);
|
|
2064
2042
|
if (pt !== ht || mt !== ct)
|
|
2065
2043
|
break t;
|
|
2066
|
-
var lt = g.slice(
|
|
2044
|
+
var lt = g.slice(k, S - yt), dt = x.slice(k, $ - yt);
|
|
2067
2045
|
return vt(pt, lt, dt, mt);
|
|
2068
2046
|
}
|
|
2069
2047
|
return null;
|
|
@@ -2077,10 +2055,10 @@ var Jn = { exports: {} };
|
|
|
2077
2055
|
Jn.exports;
|
|
2078
2056
|
var ll;
|
|
2079
2057
|
function go() {
|
|
2080
|
-
return ll || (ll = 1, function(r, t) {
|
|
2081
|
-
var e = 200, n = "__lodash_hash_undefined__", s = 9007199254740991, i = "[object Arguments]", o = "[object Array]", a = "[object Boolean]", h = "[object Date]", d = "[object Error]", y = "[object Function]", E = "[object GeneratorFunction]", p = "[object Map]", w = "[object Number]", A = "[object Object]", q = "[object Promise]", D = "[object RegExp]", j = "[object Set]", K = "[object String]", Z = "[object Symbol]", rt = "[object WeakMap]", nt = "[object ArrayBuffer]", bt = "[object DataView]", At = "[object Float32Array]", vt = "[object Float64Array]",
|
|
2082
|
-
N[i] = N[o] = N[nt] = N[bt] = N[a] = N[h] = N[At] = N[vt] = N[
|
|
2083
|
-
var _ = typeof rn == "object" && rn && rn.Object === Object && rn, O = typeof self == "object" && self && self.Object === Object && self, V = _ || O || Function("return this")(), W = t && !t.nodeType && t,
|
|
2058
|
+
return ll || (ll = 1, (function(r, t) {
|
|
2059
|
+
var e = 200, n = "__lodash_hash_undefined__", s = 9007199254740991, i = "[object Arguments]", o = "[object Array]", a = "[object Boolean]", h = "[object Date]", d = "[object Error]", y = "[object Function]", E = "[object GeneratorFunction]", p = "[object Map]", w = "[object Number]", A = "[object Object]", q = "[object Promise]", D = "[object RegExp]", j = "[object Set]", K = "[object String]", Z = "[object Symbol]", rt = "[object WeakMap]", nt = "[object ArrayBuffer]", bt = "[object DataView]", At = "[object Float32Array]", vt = "[object Float64Array]", kt = "[object Int8Array]", Lt = "[object Int16Array]", g = "[object Int32Array]", x = "[object Uint8Array]", v = "[object Uint8ClampedArray]", C = "[object Uint16Array]", P = "[object Uint32Array]", S = /[\\^$.*+?()[\]{}|]/g, $ = /\w*$/, H = /^\[object .+?Constructor\]$/, z = /^(?:0|[1-9]\d*)$/, N = {};
|
|
2060
|
+
N[i] = N[o] = N[nt] = N[bt] = N[a] = N[h] = N[At] = N[vt] = N[kt] = N[Lt] = N[g] = N[p] = N[w] = N[A] = N[D] = N[j] = N[K] = N[Z] = N[x] = N[v] = N[C] = N[P] = !0, N[d] = N[y] = N[rt] = !1;
|
|
2061
|
+
var _ = typeof rn == "object" && rn && rn.Object === Object && rn, O = typeof self == "object" && self && self.Object === Object && self, V = _ || O || Function("return this")(), W = t && !t.nodeType && t, k = W && !0 && r && !r.nodeType && r, pt = k && k.exports === W;
|
|
2084
2062
|
function ht(l, u) {
|
|
2085
2063
|
return l.set(u[0], u[1]), l;
|
|
2086
2064
|
}
|
|
@@ -2119,7 +2097,7 @@ function go() {
|
|
|
2119
2097
|
}
|
|
2120
2098
|
return u;
|
|
2121
2099
|
}
|
|
2122
|
-
function
|
|
2100
|
+
function Mt(l) {
|
|
2123
2101
|
var u = -1, m = Array(l.size);
|
|
2124
2102
|
return l.forEach(function(I, ft) {
|
|
2125
2103
|
m[++u] = [ft, I];
|
|
@@ -2136,12 +2114,12 @@ function go() {
|
|
|
2136
2114
|
m[++u] = I;
|
|
2137
2115
|
}), m;
|
|
2138
2116
|
}
|
|
2139
|
-
var De = Array.prototype, ie = Function.prototype, fe = Object.prototype, Ee = V["__core-js_shared__"], je = function() {
|
|
2117
|
+
var De = Array.prototype, ie = Function.prototype, fe = Object.prototype, Ee = V["__core-js_shared__"], je = (function() {
|
|
2140
2118
|
var l = /[^.]+$/.exec(Ee && Ee.keys && Ee.keys.IE_PROTO || "");
|
|
2141
2119
|
return l ? "Symbol(src)_1." + l : "";
|
|
2142
|
-
}(), Te = ie.toString, jt = fe.hasOwnProperty, Pt = fe.toString, Ht = RegExp(
|
|
2120
|
+
})(), Te = ie.toString, jt = fe.hasOwnProperty, Pt = fe.toString, Ht = RegExp(
|
|
2143
2121
|
"^" + Te.call(jt).replace(S, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
2144
|
-
), Jt = pt ? V.Buffer : void 0, le = V.Symbol, St = V.Uint8Array, xt = Ae(Object.getPrototypeOf, Object), zt = Object.create, ne = fe.propertyIsEnumerable, Pe = De.splice, Xt = Object.getOwnPropertySymbols, te = Jt ? Jt.isBuffer : void 0, Ce = Ae(Object.keys, Object), Ot = pe(V, "DataView"), re = pe(V, "Map"), Ft = pe(V, "Promise"), Ye = pe(V, "Set"), dn = pe(V, "WeakMap"), Ue = pe(Object, "create"), Qe = Yt(Ot), Se = Yt(re), fn = Yt(Ft), Je = Yt(Ye),
|
|
2122
|
+
), Jt = pt ? V.Buffer : void 0, le = V.Symbol, St = V.Uint8Array, xt = Ae(Object.getPrototypeOf, Object), zt = Object.create, ne = fe.propertyIsEnumerable, Pe = De.splice, Xt = Object.getOwnPropertySymbols, te = Jt ? Jt.isBuffer : void 0, Ce = Ae(Object.keys, Object), Ot = pe(V, "DataView"), re = pe(V, "Map"), Ft = pe(V, "Promise"), Ye = pe(V, "Set"), dn = pe(V, "WeakMap"), Ue = pe(Object, "create"), Qe = Yt(Ot), Se = Yt(re), fn = Yt(Ft), Je = Yt(Ye), M = Yt(dn), c = le ? le.prototype : void 0, f = c ? c.valueOf : void 0;
|
|
2145
2123
|
function b(l) {
|
|
2146
2124
|
var u = -1, m = l ? l.length : 0;
|
|
2147
2125
|
for (this.clear(); ++u < m; ) {
|
|
@@ -2347,7 +2325,7 @@ function go() {
|
|
|
2347
2325
|
return new l.constructor(m, l.byteOffset, l.byteLength);
|
|
2348
2326
|
}
|
|
2349
2327
|
function vr(l, u, m) {
|
|
2350
|
-
var I = u ? m(
|
|
2328
|
+
var I = u ? m(Mt(l), !0) : Mt(l);
|
|
2351
2329
|
return yt(I, ht, new l.constructor());
|
|
2352
2330
|
}
|
|
2353
2331
|
function wr(l) {
|
|
@@ -2406,7 +2384,7 @@ function go() {
|
|
|
2406
2384
|
return q;
|
|
2407
2385
|
case Je:
|
|
2408
2386
|
return j;
|
|
2409
|
-
case
|
|
2387
|
+
case M:
|
|
2410
2388
|
return rt;
|
|
2411
2389
|
}
|
|
2412
2390
|
return u;
|
|
@@ -2430,7 +2408,7 @@ function go() {
|
|
|
2430
2408
|
return pn(l, I);
|
|
2431
2409
|
case At:
|
|
2432
2410
|
case vt:
|
|
2433
|
-
case
|
|
2411
|
+
case kt:
|
|
2434
2412
|
case Lt:
|
|
2435
2413
|
case g:
|
|
2436
2414
|
case x:
|
|
@@ -2519,22 +2497,22 @@ function go() {
|
|
|
2519
2497
|
return !1;
|
|
2520
2498
|
}
|
|
2521
2499
|
r.exports = Nr;
|
|
2522
|
-
}(Jn, Jn.exports)), Jn.exports;
|
|
2500
|
+
})(Jn, Jn.exports)), Jn.exports;
|
|
2523
2501
|
}
|
|
2524
2502
|
var tr = { exports: {} };
|
|
2525
2503
|
tr.exports;
|
|
2526
2504
|
var ol;
|
|
2527
2505
|
function mo() {
|
|
2528
|
-
return ol || (ol = 1, function(r, t) {
|
|
2529
|
-
var e = 200, n = "__lodash_hash_undefined__", s = 1, i = 2, o = 9007199254740991, a = "[object Arguments]", h = "[object Array]", d = "[object AsyncFunction]", y = "[object Boolean]", E = "[object Date]", p = "[object Error]", w = "[object Function]", A = "[object GeneratorFunction]", q = "[object Map]", D = "[object Number]", j = "[object Null]", K = "[object Object]", Z = "[object Promise]", rt = "[object Proxy]", nt = "[object RegExp]", bt = "[object Set]", At = "[object String]", vt = "[object Symbol]",
|
|
2530
|
-
|
|
2531
|
-
var pt = typeof rn == "object" && rn && rn.Object === Object && rn, ht = typeof self == "object" && self && self.Object === Object && self, lt = pt || ht || Function("return this")(), dt = t && !t.nodeType && t, gt = dt && !0 && r && !r.nodeType && r, yt = gt && gt.exports === dt, mt = yt && pt.process, ct = function() {
|
|
2506
|
+
return ol || (ol = 1, (function(r, t) {
|
|
2507
|
+
var e = 200, n = "__lodash_hash_undefined__", s = 1, i = 2, o = 9007199254740991, a = "[object Arguments]", h = "[object Array]", d = "[object AsyncFunction]", y = "[object Boolean]", E = "[object Date]", p = "[object Error]", w = "[object Function]", A = "[object GeneratorFunction]", q = "[object Map]", D = "[object Number]", j = "[object Null]", K = "[object Object]", Z = "[object Promise]", rt = "[object Proxy]", nt = "[object RegExp]", bt = "[object Set]", At = "[object String]", vt = "[object Symbol]", kt = "[object Undefined]", Lt = "[object WeakMap]", g = "[object ArrayBuffer]", x = "[object DataView]", v = "[object Float32Array]", C = "[object Float64Array]", P = "[object Int8Array]", S = "[object Int16Array]", $ = "[object Int32Array]", H = "[object Uint8Array]", z = "[object Uint8ClampedArray]", N = "[object Uint16Array]", _ = "[object Uint32Array]", O = /[\\^$.*+?()[\]{}|]/g, V = /^\[object .+?Constructor\]$/, W = /^(?:0|[1-9]\d*)$/, k = {};
|
|
2508
|
+
k[v] = k[C] = k[P] = k[S] = k[$] = k[H] = k[z] = k[N] = k[_] = !0, k[a] = k[h] = k[g] = k[y] = k[x] = k[E] = k[p] = k[w] = k[q] = k[D] = k[K] = k[nt] = k[bt] = k[At] = k[Lt] = !1;
|
|
2509
|
+
var pt = typeof rn == "object" && rn && rn.Object === Object && rn, ht = typeof self == "object" && self && self.Object === Object && self, lt = pt || ht || Function("return this")(), dt = t && !t.nodeType && t, gt = dt && !0 && r && !r.nodeType && r, yt = gt && gt.exports === dt, mt = yt && pt.process, ct = (function() {
|
|
2532
2510
|
try {
|
|
2533
2511
|
return mt && mt.binding && mt.binding("util");
|
|
2534
2512
|
} catch {
|
|
2535
2513
|
}
|
|
2536
|
-
}(), Ct = ct && ct.isTypedArray;
|
|
2537
|
-
function
|
|
2514
|
+
})(), Ct = ct && ct.isTypedArray;
|
|
2515
|
+
function Mt(l, u) {
|
|
2538
2516
|
for (var m = -1, I = l == null ? 0 : l.length, ft = 0, st = []; ++m < I; ) {
|
|
2539
2517
|
var Nt = l[m];
|
|
2540
2518
|
u(Nt, m, l) && (st[ft++] = Nt);
|
|
@@ -2585,12 +2563,12 @@ function mo() {
|
|
|
2585
2563
|
m[++u] = I;
|
|
2586
2564
|
}), m;
|
|
2587
2565
|
}
|
|
2588
|
-
var Pt = Array.prototype, Ht = Function.prototype, Jt = Object.prototype, le = lt["__core-js_shared__"], St = Ht.toString, xt = Jt.hasOwnProperty, zt = function() {
|
|
2566
|
+
var Pt = Array.prototype, Ht = Function.prototype, Jt = Object.prototype, le = lt["__core-js_shared__"], St = Ht.toString, xt = Jt.hasOwnProperty, zt = (function() {
|
|
2589
2567
|
var l = /[^.]+$/.exec(le && le.keys && le.keys.IE_PROTO || "");
|
|
2590
2568
|
return l ? "Symbol(src)_1." + l : "";
|
|
2591
|
-
}(), ne = Jt.toString, Pe = RegExp(
|
|
2569
|
+
})(), ne = Jt.toString, Pe = RegExp(
|
|
2592
2570
|
"^" + St.call(xt).replace(O, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
2593
|
-
), Xt = yt ? lt.Buffer : void 0, te = lt.Symbol, Ce = lt.Uint8Array, Ot = Jt.propertyIsEnumerable, re = Pt.splice, Ft = te ? te.toStringTag : void 0, Ye = Object.getOwnPropertySymbols, dn = Xt ? Xt.isBuffer : void 0, Ue = Te(Object.keys, Object), Qe = He(lt, "DataView"), Se = He(lt, "Map"), fn = He(lt, "Promise"), Je = He(lt, "Set"),
|
|
2571
|
+
), Xt = yt ? lt.Buffer : void 0, te = lt.Symbol, Ce = lt.Uint8Array, Ot = Jt.propertyIsEnumerable, re = Pt.splice, Ft = te ? te.toStringTag : void 0, Ye = Object.getOwnPropertySymbols, dn = Xt ? Xt.isBuffer : void 0, Ue = Te(Object.keys, Object), Qe = He(lt, "DataView"), Se = He(lt, "Map"), fn = He(lt, "Promise"), Je = He(lt, "Set"), M = He(lt, "WeakMap"), c = He(Object, "create"), f = Yt(Qe), b = Yt(Se), T = Yt(fn), L = Yt(Je), B = Yt(M), U = te ? te.prototype : void 0, G = U ? U.valueOf : void 0;
|
|
2594
2572
|
function F(l) {
|
|
2595
2573
|
var u = -1, m = l == null ? 0 : l.length;
|
|
2596
2574
|
for (this.clear(); ++u < m; ) {
|
|
@@ -2741,7 +2719,7 @@ function mo() {
|
|
|
2741
2719
|
return Ln(l) ? I : Ae(I, m(l));
|
|
2742
2720
|
}
|
|
2743
2721
|
function pn(l) {
|
|
2744
|
-
return l == null ? l === void 0 ?
|
|
2722
|
+
return l == null ? l === void 0 ? kt : j : Ft && Ft in Object(l) ? ze(l) : xr(l);
|
|
2745
2723
|
}
|
|
2746
2724
|
function vr(l) {
|
|
2747
2725
|
return qe(l) && pn(l) == a;
|
|
@@ -2776,7 +2754,7 @@ function mo() {
|
|
|
2776
2754
|
return u.test(Yt(l));
|
|
2777
2755
|
}
|
|
2778
2756
|
function ds(l) {
|
|
2779
|
-
return qe(l) && Zn(l.length) && !!
|
|
2757
|
+
return qe(l) && Zn(l.length) && !!k[pn(l)];
|
|
2780
2758
|
}
|
|
2781
2759
|
function fs(l) {
|
|
2782
2760
|
if (!ws(l))
|
|
@@ -2907,11 +2885,11 @@ function mo() {
|
|
|
2907
2885
|
return I && (u ? l[Ft] = m : delete l[Ft]), ft;
|
|
2908
2886
|
}
|
|
2909
2887
|
var ms = Ye ? function(l) {
|
|
2910
|
-
return l == null ? [] : (l = Object(l),
|
|
2888
|
+
return l == null ? [] : (l = Object(l), Mt(Ye(l), function(u) {
|
|
2911
2889
|
return Ot.call(l, u);
|
|
2912
2890
|
}));
|
|
2913
2891
|
} : Ns, Oe = pn;
|
|
2914
|
-
(Qe && Oe(new Qe(new ArrayBuffer(1))) != x || Se && Oe(new Se()) != q || fn && Oe(fn.resolve()) != Z || Je && Oe(new Je()) != bt ||
|
|
2892
|
+
(Qe && Oe(new Qe(new ArrayBuffer(1))) != x || Se && Oe(new Se()) != q || fn && Oe(fn.resolve()) != Z || Je && Oe(new Je()) != bt || M && Oe(new M()) != Lt) && (Oe = function(l) {
|
|
2915
2893
|
var u = pn(l), m = u == K ? l.constructor : void 0, I = m ? Yt(m) : "";
|
|
2916
2894
|
if (I)
|
|
2917
2895
|
switch (I) {
|
|
@@ -2961,9 +2939,9 @@ function mo() {
|
|
|
2961
2939
|
function Nr(l, u) {
|
|
2962
2940
|
return l === u || l !== l && u !== u;
|
|
2963
2941
|
}
|
|
2964
|
-
var Ar = vr(/* @__PURE__ */ function() {
|
|
2942
|
+
var Ar = vr(/* @__PURE__ */ (function() {
|
|
2965
2943
|
return arguments;
|
|
2966
|
-
}()) ? vr : function(l) {
|
|
2944
|
+
})()) ? vr : function(l) {
|
|
2967
2945
|
return qe(l) && xt.call(l, "callee") && !Ot.call(l, "callee");
|
|
2968
2946
|
}, Ln = Array.isArray;
|
|
2969
2947
|
function Wn(l) {
|
|
@@ -3000,7 +2978,7 @@ function mo() {
|
|
|
3000
2978
|
return !1;
|
|
3001
2979
|
}
|
|
3002
2980
|
r.exports = xs;
|
|
3003
|
-
}(tr, tr.exports)), tr.exports;
|
|
2981
|
+
})(tr, tr.exports)), tr.exports;
|
|
3004
2982
|
}
|
|
3005
2983
|
var _r = {}, al;
|
|
3006
2984
|
function Rd() {
|
|
@@ -3008,7 +2986,7 @@ function Rd() {
|
|
|
3008
2986
|
al = 1, Object.defineProperty(_r, "__esModule", { value: !0 });
|
|
3009
2987
|
const r = go(), t = mo();
|
|
3010
2988
|
var e;
|
|
3011
|
-
return function(n) {
|
|
2989
|
+
return (function(n) {
|
|
3012
2990
|
function s(h = {}, d = {}, y = !1) {
|
|
3013
2991
|
typeof h != "object" && (h = {}), typeof d != "object" && (d = {});
|
|
3014
2992
|
let E = r(d);
|
|
@@ -3041,22 +3019,22 @@ function Rd() {
|
|
|
3041
3019
|
return Object.keys(E).length > 0 ? E : void 0;
|
|
3042
3020
|
}
|
|
3043
3021
|
n.transform = a;
|
|
3044
|
-
}(e || (e = {})), _r.default = e, _r;
|
|
3022
|
+
})(e || (e = {})), _r.default = e, _r;
|
|
3045
3023
|
}
|
|
3046
3024
|
var Ir = {}, cl;
|
|
3047
3025
|
function bo() {
|
|
3048
3026
|
if (cl) return Ir;
|
|
3049
3027
|
cl = 1, Object.defineProperty(Ir, "__esModule", { value: !0 });
|
|
3050
3028
|
var r;
|
|
3051
|
-
return function(t) {
|
|
3029
|
+
return (function(t) {
|
|
3052
3030
|
function e(n) {
|
|
3053
3031
|
return typeof n.delete == "number" ? n.delete : typeof n.retain == "number" ? n.retain : typeof n.retain == "object" && n.retain !== null ? 1 : typeof n.insert == "string" ? n.insert.length : 1;
|
|
3054
3032
|
}
|
|
3055
3033
|
t.length = e;
|
|
3056
|
-
}(r || (r = {})), Ir.default = r, Ir;
|
|
3034
|
+
})(r || (r = {})), Ir.default = r, Ir;
|
|
3057
3035
|
}
|
|
3058
3036
|
var Rr = {}, ul;
|
|
3059
|
-
function
|
|
3037
|
+
function kd() {
|
|
3060
3038
|
if (ul) return Rr;
|
|
3061
3039
|
ul = 1, Object.defineProperty(Rr, "__esModule", { value: !0 });
|
|
3062
3040
|
const r = bo();
|
|
@@ -3105,14 +3083,14 @@ function Md() {
|
|
|
3105
3083
|
return Rr.default = t, Rr;
|
|
3106
3084
|
}
|
|
3107
3085
|
var hl;
|
|
3108
|
-
function
|
|
3109
|
-
return hl || (hl = 1, function(r, t) {
|
|
3086
|
+
function Md() {
|
|
3087
|
+
return hl || (hl = 1, (function(r, t) {
|
|
3110
3088
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.AttributeMap = t.OpIterator = t.Op = void 0;
|
|
3111
3089
|
const e = Id(), n = go(), s = mo(), i = Rd();
|
|
3112
3090
|
t.AttributeMap = i.default;
|
|
3113
3091
|
const o = bo();
|
|
3114
3092
|
t.Op = o.default;
|
|
3115
|
-
const a =
|
|
3093
|
+
const a = kd();
|
|
3116
3094
|
t.OpIterator = a.default;
|
|
3117
3095
|
const h = "\0", d = (E, p) => {
|
|
3118
3096
|
if (typeof E != "object" || E === null)
|
|
@@ -3229,9 +3207,9 @@ function kd() {
|
|
|
3229
3207
|
else if (typeof rt.retain == "number")
|
|
3230
3208
|
Z.retain == null ? nt.insert = Z.insert : nt.retain = Z.retain;
|
|
3231
3209
|
else {
|
|
3232
|
-
const At = Z.retain == null ? "insert" : "retain", [vt,
|
|
3210
|
+
const At = Z.retain == null ? "insert" : "retain", [vt, kt, Lt] = d(Z[At], rt.retain), g = y.getHandler(vt);
|
|
3233
3211
|
nt[At] = {
|
|
3234
|
-
[vt]: g.compose(
|
|
3212
|
+
[vt]: g.compose(kt, Lt, At === "retain")
|
|
3235
3213
|
};
|
|
3236
3214
|
}
|
|
3237
3215
|
const bt = i.default.compose(Z.attributes, rt.attributes, typeof Z.retain == "number");
|
|
@@ -3339,9 +3317,9 @@ function kd() {
|
|
|
3339
3317
|
if (typeof nt == "object" && nt !== null && typeof bt == "object" && bt !== null) {
|
|
3340
3318
|
const vt = Object.keys(nt)[0];
|
|
3341
3319
|
if (vt === Object.keys(bt)[0]) {
|
|
3342
|
-
const
|
|
3343
|
-
|
|
3344
|
-
[vt]:
|
|
3320
|
+
const kt = y.getHandler(vt);
|
|
3321
|
+
kt && (At = {
|
|
3322
|
+
[vt]: kt.transform(nt[vt], bt[vt], w)
|
|
3345
3323
|
});
|
|
3346
3324
|
}
|
|
3347
3325
|
}
|
|
@@ -3366,10 +3344,10 @@ function kd() {
|
|
|
3366
3344
|
}
|
|
3367
3345
|
}
|
|
3368
3346
|
y.Op = o.default, y.OpIterator = a.default, y.AttributeMap = i.default, y.handlers = {}, t.default = y, r.exports = y, r.exports.default = y;
|
|
3369
|
-
}(qr, qr.exports)), qr.exports;
|
|
3347
|
+
})(qr, qr.exports)), qr.exports;
|
|
3370
3348
|
}
|
|
3371
|
-
var Qt =
|
|
3372
|
-
const tt = /* @__PURE__ */
|
|
3349
|
+
var Qt = Md();
|
|
3350
|
+
const tt = /* @__PURE__ */ ci(Qt);
|
|
3373
3351
|
class Ne extends se {
|
|
3374
3352
|
static value() {
|
|
3375
3353
|
}
|
|
@@ -3397,7 +3375,7 @@ const Bd = {
|
|
|
3397
3375
|
function Yr(r) {
|
|
3398
3376
|
return r.replace(/[&<>"']/g, (t) => Bd[t]);
|
|
3399
3377
|
}
|
|
3400
|
-
const _e = class _e extends
|
|
3378
|
+
const _e = class _e extends bi {
|
|
3401
3379
|
static compare(t, e) {
|
|
3402
3380
|
const n = _e.order.indexOf(t), s = _e.order.indexOf(e);
|
|
3403
3381
|
return n >= 0 || s >= 0 ? n - s : t === e ? 0 : t < e ? -1 : 1;
|
|
@@ -3431,7 +3409,7 @@ X(_e, "order", [
|
|
|
3431
3409
|
"code"
|
|
3432
3410
|
// Must be higher
|
|
3433
3411
|
]);
|
|
3434
|
-
let
|
|
3412
|
+
let Me = _e;
|
|
3435
3413
|
const dl = 1;
|
|
3436
3414
|
class $t extends cr {
|
|
3437
3415
|
constructor() {
|
|
@@ -3493,7 +3471,7 @@ class $t extends cr {
|
|
|
3493
3471
|
$t.blotName = "block";
|
|
3494
3472
|
$t.tagName = "P";
|
|
3495
3473
|
$t.defaultChild = Ne;
|
|
3496
|
-
$t.allowedChildren = [Ne,
|
|
3474
|
+
$t.allowedChildren = [Ne, Me, se, we];
|
|
3497
3475
|
class ue extends se {
|
|
3498
3476
|
attach() {
|
|
3499
3477
|
super.attach(), this.attributes = new Zr(this.domNode);
|
|
@@ -3638,7 +3616,7 @@ X(oe, "blotName", "cursor"), X(oe, "className", "ql-cursor"), X(oe, "tagName", "
|
|
|
3638
3616
|
let $n = oe;
|
|
3639
3617
|
var qs = { exports: {} }, fl;
|
|
3640
3618
|
function Dd() {
|
|
3641
|
-
return fl || (fl = 1, function(r) {
|
|
3619
|
+
return fl || (fl = 1, (function(r) {
|
|
3642
3620
|
var t = Object.prototype.hasOwnProperty, e = "~";
|
|
3643
3621
|
function n() {
|
|
3644
3622
|
}
|
|
@@ -3741,10 +3719,10 @@ function Dd() {
|
|
|
3741
3719
|
var y;
|
|
3742
3720
|
return d ? (y = e ? e + d : d, this._events[y] && o(this, y)) : (this._events = new n(), this._eventsCount = 0), this;
|
|
3743
3721
|
}, a.prototype.off = a.prototype.removeListener, a.prototype.addListener = a.prototype.on, a.prefixed = e, a.EventEmitter = a, r.exports = a;
|
|
3744
|
-
}(qs)), qs.exports;
|
|
3722
|
+
})(qs)), qs.exports;
|
|
3745
3723
|
}
|
|
3746
3724
|
var jd = Dd();
|
|
3747
|
-
const Pd = /* @__PURE__ */
|
|
3725
|
+
const Pd = /* @__PURE__ */ ci(jd), Qs = /* @__PURE__ */ new WeakMap(), Js = ["error", "warn", "log", "info"];
|
|
3748
3726
|
let ti = "warn";
|
|
3749
3727
|
function vo(r) {
|
|
3750
3728
|
if (ti && Js.indexOf(r) <= Js.indexOf(ti)) {
|
|
@@ -4026,7 +4004,7 @@ class $d {
|
|
|
4026
4004
|
update() {
|
|
4027
4005
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : J.sources.USER;
|
|
4028
4006
|
const e = this.lastRange, [n, s] = this.getRange();
|
|
4029
|
-
if (this.lastRange = n, this.lastNative = s, this.lastRange != null && (this.savedRange = this.lastRange), !
|
|
4007
|
+
if (this.lastRange = n, this.lastNative = s, this.lastRange != null && (this.savedRange = this.lastRange), !mi(e, this.lastRange)) {
|
|
4030
4008
|
if (!this.composing && s != null && s.native.collapsed && s.start.node !== this.cursor.textNode) {
|
|
4031
4009
|
const o = this.cursor.restore();
|
|
4032
4010
|
o && this.setNativeRange(o.startNode, o.startOffset, o.endNode, o.endOffset);
|
|
@@ -4205,14 +4183,14 @@ class zd {
|
|
|
4205
4183
|
};
|
|
4206
4184
|
t = new tt().retain(a).concat(d.diff(y, E)).reduce((w, A) => A.insert ? w.insert(A.insert, o) : w.push(A), new tt()), this.delta = s.compose(t);
|
|
4207
4185
|
} else
|
|
4208
|
-
this.delta = this.getDelta(), (!t || !
|
|
4186
|
+
this.delta = this.getDelta(), (!t || !mi(s.compose(t), this.delta)) && (t = s.diff(this.delta, n));
|
|
4209
4187
|
return t;
|
|
4210
4188
|
}
|
|
4211
4189
|
}
|
|
4212
|
-
function
|
|
4190
|
+
function kn(r, t, e) {
|
|
4213
4191
|
if (r.length === 0) {
|
|
4214
|
-
const [w] =
|
|
4215
|
-
return t <= 0 ? `</li></${w}>` : `</li></${w}>${
|
|
4192
|
+
const [w] = ks(e.pop());
|
|
4193
|
+
return t <= 0 ? `</li></${w}>` : `</li></${w}>${kn([], t - 1, e)}`;
|
|
4216
4194
|
}
|
|
4217
4195
|
const [{
|
|
4218
4196
|
child: n,
|
|
@@ -4220,14 +4198,14 @@ function Mn(r, t, e) {
|
|
|
4220
4198
|
length: i,
|
|
4221
4199
|
indent: o,
|
|
4222
4200
|
type: a
|
|
4223
|
-
}, ...h] = r, [d, y] =
|
|
4201
|
+
}, ...h] = r, [d, y] = ks(a);
|
|
4224
4202
|
if (o > t)
|
|
4225
|
-
return e.push(a), o === t + 1 ? `<${d}><li${y}>${ur(n, s, i)}${
|
|
4203
|
+
return e.push(a), o === t + 1 ? `<${d}><li${y}>${ur(n, s, i)}${kn(h, o, e)}` : `<${d}><li>${kn(r, t + 1, e)}`;
|
|
4226
4204
|
const E = e[e.length - 1];
|
|
4227
4205
|
if (o === t && a === E)
|
|
4228
|
-
return `</li><li${y}>${ur(n, s, i)}${
|
|
4229
|
-
const [p] =
|
|
4230
|
-
return `</li></${p}>${
|
|
4206
|
+
return `</li><li${y}>${ur(n, s, i)}${kn(h, o, e)}`;
|
|
4207
|
+
const [p] = ks(e.pop());
|
|
4208
|
+
return `</li></${p}>${kn(r, t - 1, e)}`;
|
|
4231
4209
|
}
|
|
4232
4210
|
function ur(r, t, e) {
|
|
4233
4211
|
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : !1;
|
|
@@ -4247,7 +4225,7 @@ function ur(r, t, e) {
|
|
|
4247
4225
|
indent: w.indent || 0,
|
|
4248
4226
|
type: w.list
|
|
4249
4227
|
});
|
|
4250
|
-
}),
|
|
4228
|
+
}), kn(d, -1, []);
|
|
4251
4229
|
}
|
|
4252
4230
|
const s = [];
|
|
4253
4231
|
if (r.children.forEachAt(t, e, (d, y, E) => {
|
|
@@ -4269,7 +4247,7 @@ function Fd(r, t) {
|
|
|
4269
4247
|
return s === r[n] ? e[n] = s : Array.isArray(s) ? s.indexOf(r[n]) < 0 ? e[n] = s.concat([r[n]]) : e[n] = s : e[n] = [s, r[n]], e;
|
|
4270
4248
|
}, {});
|
|
4271
4249
|
}
|
|
4272
|
-
function
|
|
4250
|
+
function ks(r) {
|
|
4273
4251
|
const t = r === "ordered" ? "ol" : "ul";
|
|
4274
4252
|
switch (r) {
|
|
4275
4253
|
case "checked":
|
|
@@ -4321,19 +4299,19 @@ class he {
|
|
|
4321
4299
|
}
|
|
4322
4300
|
}
|
|
4323
4301
|
X(he, "DEFAULTS", {});
|
|
4324
|
-
const
|
|
4302
|
+
const kr = "\uFEFF";
|
|
4325
4303
|
class vi extends se {
|
|
4326
4304
|
constructor(t, e) {
|
|
4327
4305
|
super(t, e), this.contentNode = document.createElement("span"), this.contentNode.setAttribute("contenteditable", "false"), Array.from(this.domNode.childNodes).forEach((n) => {
|
|
4328
4306
|
this.contentNode.appendChild(n);
|
|
4329
|
-
}), this.leftGuard = document.createTextNode(
|
|
4307
|
+
}), this.leftGuard = document.createTextNode(kr), this.rightGuard = document.createTextNode(kr), this.domNode.appendChild(this.leftGuard), this.domNode.appendChild(this.contentNode), this.domNode.appendChild(this.rightGuard);
|
|
4330
4308
|
}
|
|
4331
4309
|
index(t, e) {
|
|
4332
4310
|
return t === this.leftGuard ? 0 : t === this.rightGuard ? 1 : super.index(t, e);
|
|
4333
4311
|
}
|
|
4334
4312
|
restore(t) {
|
|
4335
4313
|
let e = null, n;
|
|
4336
|
-
const s = t.data.split(
|
|
4314
|
+
const s = t.data.split(kr).join("");
|
|
4337
4315
|
if (t === this.leftGuard)
|
|
4338
4316
|
if (this.prev instanceof we) {
|
|
4339
4317
|
const i = this.prev.length();
|
|
@@ -4353,7 +4331,7 @@ class vi extends se {
|
|
|
4353
4331
|
startNode: n,
|
|
4354
4332
|
startOffset: s.length
|
|
4355
4333
|
}));
|
|
4356
|
-
return t.data =
|
|
4334
|
+
return t.data = kr, e;
|
|
4357
4335
|
}
|
|
4358
4336
|
update(t, e) {
|
|
4359
4337
|
t.forEach((n) => {
|
|
@@ -4415,7 +4393,7 @@ const Kd = (r) => r.parentElement || r.getRootNode().host || null, Wd = (r) => {
|
|
|
4415
4393
|
bottom: t.top + r.clientHeight * n,
|
|
4416
4394
|
left: t.left
|
|
4417
4395
|
};
|
|
4418
|
-
},
|
|
4396
|
+
}, Mr = (r) => {
|
|
4419
4397
|
const t = parseInt(r, 10);
|
|
4420
4398
|
return Number.isNaN(t) ? 0 : t;
|
|
4421
4399
|
}, ml = (r, t, e, n, s, i) => r < e && t > n ? 0 : r < e ? -(e - r + s) : t > n ? t - r > n - e ? r + s - e : t - n + i : 0, Zd = (r, t) => {
|
|
@@ -4428,7 +4406,7 @@ const Kd = (r) => r.parentElement || r.getRootNode().host || null, Wd = (r) => {
|
|
|
4428
4406
|
right: ((i = window.visualViewport) == null ? void 0 : i.width) ?? e.documentElement.clientWidth,
|
|
4429
4407
|
bottom: ((o = window.visualViewport) == null ? void 0 : o.height) ?? e.documentElement.clientHeight,
|
|
4430
4408
|
left: 0
|
|
4431
|
-
} : Wd(s), y = getComputedStyle(s), E = ml(n.left, n.right, d.left, d.right,
|
|
4409
|
+
} : Wd(s), y = getComputedStyle(s), E = ml(n.left, n.right, d.left, d.right, Mr(y.scrollPaddingLeft), Mr(y.scrollPaddingRight)), p = ml(n.top, n.bottom, d.top, d.bottom, Mr(y.scrollPaddingTop), Mr(y.scrollPaddingBottom));
|
|
4432
4410
|
if (E || p)
|
|
4433
4411
|
if (h)
|
|
4434
4412
|
(a = e.defaultView) == null || a.scrollBy(E, p);
|
|
@@ -4496,7 +4474,7 @@ const me = class me {
|
|
|
4496
4474
|
this.options.debug && me.debug(this.options.debug);
|
|
4497
4475
|
const n = this.container.innerHTML.trim();
|
|
4498
4476
|
this.container.classList.add("ql-container"), this.container.innerHTML = "", Qs.set(this.container, this), this.root = this.addContainer("ql-editor"), this.root.classList.add("ql-blank"), this.emitter = new J();
|
|
4499
|
-
const s =
|
|
4477
|
+
const s = yi.blotName, i = this.options.registry.query(s);
|
|
4500
4478
|
if (!i || !("blotName" in i))
|
|
4501
4479
|
throw new Error(`Cannot initialize Quill without "${s}" blot`);
|
|
4502
4480
|
if (this.scroll = new i(this.options.registry, this.root, {
|
|
@@ -4744,7 +4722,7 @@ let R = me;
|
|
|
4744
4722
|
function bl(r) {
|
|
4745
4723
|
return typeof r == "string" ? document.querySelector(r) : r;
|
|
4746
4724
|
}
|
|
4747
|
-
function
|
|
4725
|
+
function Ms(r) {
|
|
4748
4726
|
return Object.entries(r ?? {}).reduce((t, e) => {
|
|
4749
4727
|
let [n, s] = e;
|
|
4750
4728
|
return {
|
|
@@ -4770,14 +4748,14 @@ function Jd(r, t) {
|
|
|
4770
4748
|
modules: a,
|
|
4771
4749
|
...h
|
|
4772
4750
|
} = s.DEFAULTS;
|
|
4773
|
-
let d =
|
|
4751
|
+
let d = Ms(t.modules);
|
|
4774
4752
|
d != null && d.toolbar && d.toolbar.constructor !== Object && (d = {
|
|
4775
4753
|
...d,
|
|
4776
4754
|
toolbar: {
|
|
4777
4755
|
container: d.toolbar
|
|
4778
4756
|
}
|
|
4779
4757
|
});
|
|
4780
|
-
const y = on({},
|
|
4758
|
+
const y = on({}, Ms(i), Ms(a), d), E = {
|
|
4781
4759
|
...o,
|
|
4782
4760
|
...yl(h),
|
|
4783
4761
|
...yl(t)
|
|
@@ -4833,7 +4811,7 @@ function wl(r) {
|
|
|
4833
4811
|
function xl(r) {
|
|
4834
4812
|
return typeof r.updateContent == "function";
|
|
4835
4813
|
}
|
|
4836
|
-
class
|
|
4814
|
+
class Mn extends yi {
|
|
4837
4815
|
constructor(t, e, n) {
|
|
4838
4816
|
let {
|
|
4839
4817
|
emitter: s
|
|
@@ -5040,7 +5018,7 @@ class kn extends bi {
|
|
|
5040
5018
|
}), i;
|
|
5041
5019
|
}
|
|
5042
5020
|
}
|
|
5043
|
-
X(
|
|
5021
|
+
X(Mn, "blotName", "scroll"), X(Mn, "className", "ql-editor"), X(Mn, "tagName", "DIV"), X(Mn, "defaultChild", $t), X(Mn, "allowedChildren", [$t, ue, Nn]);
|
|
5044
5022
|
function Bs(r, t, e) {
|
|
5045
5023
|
e.reduce((n, s) => {
|
|
5046
5024
|
const i = Qt.Op.length(s);
|
|
@@ -5068,7 +5046,7 @@ function Bs(r, t, e) {
|
|
|
5068
5046
|
const wi = {
|
|
5069
5047
|
scope: et.BLOCK,
|
|
5070
5048
|
whitelist: ["right", "center", "justify"]
|
|
5071
|
-
}, tf = new
|
|
5049
|
+
}, tf = new ke("align", "align", wi), wo = new xe("align", "ql-align", wi), xo = new hn("align", "text-align", wi);
|
|
5072
5050
|
class No extends hn {
|
|
5073
5051
|
value(t) {
|
|
5074
5052
|
let e = super.value(t);
|
|
@@ -5105,7 +5083,7 @@ class Zt extends $t {
|
|
|
5105
5083
|
}
|
|
5106
5084
|
}
|
|
5107
5085
|
X(Zt, "TAB", " ");
|
|
5108
|
-
class Ai extends
|
|
5086
|
+
class Ai extends Me {
|
|
5109
5087
|
}
|
|
5110
5088
|
Ai.blotName = "code";
|
|
5111
5089
|
Ai.tagName = "CODE";
|
|
@@ -5121,7 +5099,7 @@ Zt.requiredContainer = An;
|
|
|
5121
5099
|
const Ei = {
|
|
5122
5100
|
scope: et.BLOCK,
|
|
5123
5101
|
whitelist: ["rtl"]
|
|
5124
|
-
}, Ao = new
|
|
5102
|
+
}, Ao = new ke("direction", "dir", Ei), Eo = new xe("direction", "ql-direction", Ei), To = new hn("direction", "direction", Ei), Co = {
|
|
5125
5103
|
scope: et.INLINE,
|
|
5126
5104
|
whitelist: ["serif", "monospace"]
|
|
5127
5105
|
}, So = new xe("font", "ql-font", Co);
|
|
@@ -5237,7 +5215,7 @@ class Qr extends he {
|
|
|
5237
5215
|
if (Array.isArray(j.format)) {
|
|
5238
5216
|
if (j.format.every((K) => q.format[K] == null))
|
|
5239
5217
|
return !1;
|
|
5240
|
-
} else if (typeof j.format == "object" && !Object.keys(j.format).every((K) => j.format[K] === !0 ? q.format[K] != null : j.format[K] === !1 ? q.format[K] == null :
|
|
5218
|
+
} else if (typeof j.format == "object" && !Object.keys(j.format).every((K) => j.format[K] === !0 ? q.format[K] != null : j.format[K] === !1 ? q.format[K] == null : mi(j.format[K], q.format[K])))
|
|
5241
5219
|
return !1;
|
|
5242
5220
|
return j.prefix != null && !j.prefix.test(q.prefix) || j.suffix != null && !j.suffix.test(q.suffix) ? !1 : j.handler.call(this, o, q, j) !== !0;
|
|
5243
5221
|
}) && t.preventDefault();
|
|
@@ -5685,7 +5663,7 @@ const xf = [wf, pf], Nf = (r) => {
|
|
|
5685
5663
|
r.documentElement && xf.forEach((t) => {
|
|
5686
5664
|
t(r);
|
|
5687
5665
|
});
|
|
5688
|
-
}, Af = Xe("quill:clipboard"), Ef = [[Node.TEXT_NODE, Bf], [Node.TEXT_NODE, Cl], ["br", Of], [Node.ELEMENT_NODE, Cl], [Node.ELEMENT_NODE, Lf], [Node.ELEMENT_NODE, Sf], [Node.ELEMENT_NODE,
|
|
5666
|
+
}, Af = Xe("quill:clipboard"), Ef = [[Node.TEXT_NODE, Bf], [Node.TEXT_NODE, Cl], ["br", Of], [Node.ELEMENT_NODE, Cl], [Node.ELEMENT_NODE, Lf], [Node.ELEMENT_NODE, Sf], [Node.ELEMENT_NODE, kf], ["li", If], ["ol, ul", Rf], ["pre", qf], ["tr", Mf], ["b", js("bold")], ["i", js("italic")], ["strike", js("strike")], ["style", _f]], Tf = [tf, Ao].reduce((r, t) => (r[t.keyName] = t, r), {}), Tl = [xo, Ni, xi, To, Lo, qo].reduce((r, t) => (r[t.keyName] = t, r), {});
|
|
5689
5667
|
class _o extends he {
|
|
5690
5668
|
constructor(t, e) {
|
|
5691
5669
|
super(t, e), this.quill.root.addEventListener("copy", (n) => this.onCaptureCopy(n, !1)), this.quill.root.addEventListener("cut", (n) => this.onCaptureCopy(n, !0)), this.quill.root.addEventListener("paste", this.onCapturePaste.bind(this)), this.matchers = [], Ef.concat(this.options.matchers ?? []).forEach((n) => {
|
|
@@ -5883,7 +5861,7 @@ function js(r) {
|
|
|
5883
5861
|
return (t, e, n) => En(e, r, !0, n);
|
|
5884
5862
|
}
|
|
5885
5863
|
function Sf(r, t, e) {
|
|
5886
|
-
const n =
|
|
5864
|
+
const n = ke.keys(r), s = xe.keys(r), i = hn.keys(r), o = {};
|
|
5887
5865
|
return n.concat(s).concat(i).forEach((a) => {
|
|
5888
5866
|
let h = e.query(a, et.ATTRIBUTE);
|
|
5889
5867
|
h != null && (o[h.attrName] = h.value(r), o[h.attrName]) || (h = Tf[a], h != null && (h.attrName === a || h.keyName === a) && (o[h.attrName] = h.value(r) || void 0), h = Tl[a], h != null && (h.attrName === a || h.keyName === a) && (h = Tl[a], o[h.attrName] = h.value(r) || void 0));
|
|
@@ -5959,7 +5937,7 @@ function Cl(r, t, e) {
|
|
|
5959
5937
|
}
|
|
5960
5938
|
return t;
|
|
5961
5939
|
}
|
|
5962
|
-
function
|
|
5940
|
+
function kf(r, t, e) {
|
|
5963
5941
|
var i;
|
|
5964
5942
|
const n = {}, s = r.style || {};
|
|
5965
5943
|
return s.fontStyle === "italic" && (n.italic = !0), s.textDecoration === "underline" && (n.underline = !0), s.textDecoration === "line-through" && (n.strike = !0), ((i = s.fontWeight) != null && i.startsWith("bold") || // @ts-expect-error Fix me later
|
|
@@ -5968,7 +5946,7 @@ function Mf(r, t, e) {
|
|
|
5968
5946
|
return En(o, h, d, e);
|
|
5969
5947
|
}, t), parseFloat(s.textIndent || 0) > 0 ? new tt().insert(" ").concat(t) : t;
|
|
5970
5948
|
}
|
|
5971
|
-
function
|
|
5949
|
+
function Mf(r, t, e) {
|
|
5972
5950
|
var s, i;
|
|
5973
5951
|
const n = ((s = r.parentElement) == null ? void 0 : s.tagName) === "TABLE" ? r.parentElement : (i = r.parentElement) == null ? void 0 : i.parentElement;
|
|
5974
5952
|
if (n != null) {
|
|
@@ -6104,7 +6082,7 @@ function ei(r, t) {
|
|
|
6104
6082
|
length: n - e
|
|
6105
6083
|
};
|
|
6106
6084
|
}
|
|
6107
|
-
class
|
|
6085
|
+
class ko extends he {
|
|
6108
6086
|
constructor(t, e) {
|
|
6109
6087
|
super(t, e), t.root.addEventListener("drop", (n) => {
|
|
6110
6088
|
var o;
|
|
@@ -6131,7 +6109,7 @@ class Mo extends he {
|
|
|
6131
6109
|
}), n.length > 0 && this.options.handler.call(this, t, n);
|
|
6132
6110
|
}
|
|
6133
6111
|
}
|
|
6134
|
-
|
|
6112
|
+
ko.DEFAULTS = {
|
|
6135
6113
|
mimetypes: ["image/png", "image/jpeg"],
|
|
6136
6114
|
handler(r, t) {
|
|
6137
6115
|
if (!this.quill.scroll.query("image"))
|
|
@@ -6261,13 +6239,13 @@ R.register({
|
|
|
6261
6239
|
"blots/container": Nn,
|
|
6262
6240
|
"blots/cursor": $n,
|
|
6263
6241
|
"blots/embed": vi,
|
|
6264
|
-
"blots/inline":
|
|
6265
|
-
"blots/scroll":
|
|
6242
|
+
"blots/inline": Me,
|
|
6243
|
+
"blots/scroll": Mn,
|
|
6266
6244
|
"blots/text": we,
|
|
6267
6245
|
"modules/clipboard": _o,
|
|
6268
6246
|
"modules/history": Ro,
|
|
6269
6247
|
"modules/keyboard": Qr,
|
|
6270
|
-
"modules/uploader":
|
|
6248
|
+
"modules/uploader": ko,
|
|
6271
6249
|
"modules/input": Uf,
|
|
6272
6250
|
"modules/uiNode": Vf
|
|
6273
6251
|
});
|
|
@@ -6333,7 +6311,7 @@ mr.blotName = "list";
|
|
|
6333
6311
|
mr.tagName = "LI";
|
|
6334
6312
|
gr.allowedChildren = [mr];
|
|
6335
6313
|
mr.requiredContainer = gr;
|
|
6336
|
-
class hr extends
|
|
6314
|
+
class hr extends Me {
|
|
6337
6315
|
static create() {
|
|
6338
6316
|
return super.create();
|
|
6339
6317
|
}
|
|
@@ -6348,7 +6326,7 @@ X(hr, "blotName", "bold"), X(hr, "tagName", ["STRONG", "B"]);
|
|
|
6348
6326
|
class si extends hr {
|
|
6349
6327
|
}
|
|
6350
6328
|
X(si, "blotName", "italic"), X(si, "tagName", ["EM", "I"]);
|
|
6351
|
-
class ln extends
|
|
6329
|
+
class ln extends Me {
|
|
6352
6330
|
static create(t) {
|
|
6353
6331
|
const e = super.create(t);
|
|
6354
6332
|
return e.setAttribute("href", this.sanitize(t)), e.setAttribute("rel", "noopener noreferrer"), e.setAttribute("target", "_blank"), e;
|
|
@@ -6357,20 +6335,20 @@ class ln extends ke {
|
|
|
6357
6335
|
return t.getAttribute("href");
|
|
6358
6336
|
}
|
|
6359
6337
|
static sanitize(t) {
|
|
6360
|
-
return
|
|
6338
|
+
return Mo(t, this.PROTOCOL_WHITELIST) ? t : this.SANITIZED_URL;
|
|
6361
6339
|
}
|
|
6362
6340
|
format(t, e) {
|
|
6363
6341
|
t !== this.statics.blotName || !e ? super.format(t, e) : this.domNode.setAttribute("href", this.constructor.sanitize(e));
|
|
6364
6342
|
}
|
|
6365
6343
|
}
|
|
6366
6344
|
X(ln, "blotName", "link"), X(ln, "tagName", "A"), X(ln, "SANITIZED_URL", "about:blank"), X(ln, "PROTOCOL_WHITELIST", ["http", "https", "mailto", "tel", "sms"]);
|
|
6367
|
-
function
|
|
6345
|
+
function Mo(r, t) {
|
|
6368
6346
|
const e = document.createElement("a");
|
|
6369
6347
|
e.href = r;
|
|
6370
6348
|
const n = e.href.slice(0, e.href.indexOf(":"));
|
|
6371
6349
|
return t.indexOf(n) > -1;
|
|
6372
6350
|
}
|
|
6373
|
-
class ii extends
|
|
6351
|
+
class ii extends Me {
|
|
6374
6352
|
static create(t) {
|
|
6375
6353
|
return t === "super" ? document.createElement("sup") : t === "sub" ? document.createElement("sub") : super.create(t);
|
|
6376
6354
|
}
|
|
@@ -6383,7 +6361,7 @@ X(ii, "blotName", "script"), X(ii, "tagName", ["SUB", "SUP"]);
|
|
|
6383
6361
|
class li extends hr {
|
|
6384
6362
|
}
|
|
6385
6363
|
X(li, "blotName", "strike"), X(li, "tagName", ["S", "STRIKE"]);
|
|
6386
|
-
class oi extends
|
|
6364
|
+
class oi extends Me {
|
|
6387
6365
|
}
|
|
6388
6366
|
X(oi, "blotName", "underline"), X(oi, "tagName", "U");
|
|
6389
6367
|
class Ur extends vi {
|
|
@@ -6420,7 +6398,7 @@ class ai extends se {
|
|
|
6420
6398
|
return /\.(jpe?g|gif|png)$/.test(t) || /^data:image\/.+;base64/.test(t);
|
|
6421
6399
|
}
|
|
6422
6400
|
static sanitize(t) {
|
|
6423
|
-
return
|
|
6401
|
+
return Mo(t, ["http", "https", "data"]) ? t : "//:0";
|
|
6424
6402
|
}
|
|
6425
6403
|
static value(t) {
|
|
6426
6404
|
return t.getAttribute("src");
|
|
@@ -6459,7 +6437,7 @@ X($r, "blotName", "video"), X($r, "className", "ql-video"), X($r, "tagName", "IF
|
|
|
6459
6437
|
const er = new xe("code-token", "hljs", {
|
|
6460
6438
|
scope: et.INLINE
|
|
6461
6439
|
});
|
|
6462
|
-
class Ke extends
|
|
6440
|
+
class Ke extends Me {
|
|
6463
6441
|
static formats(t, e) {
|
|
6464
6442
|
for (; t != null && t !== e.domNode; ) {
|
|
6465
6443
|
if (t.classList && t.classList.contains(Zt.className))
|
|
@@ -7064,7 +7042,7 @@ const Qf = '<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="
|
|
|
7064
7042
|
video: O1
|
|
7065
7043
|
}, q1 = '<svg viewbox="0 0 18 18"><polygon class="ql-stroke" points="7 11 9 13 11 11 7 11"/><polygon class="ql-stroke" points="7 7 9 5 11 7 7 7"/></svg>';
|
|
7066
7044
|
let Rl = 0;
|
|
7067
|
-
function
|
|
7045
|
+
function kl(r, t) {
|
|
7068
7046
|
r.setAttribute(t, `${r.getAttribute(t) !== "true"}`);
|
|
7069
7047
|
}
|
|
7070
7048
|
class Jr {
|
|
@@ -7083,7 +7061,7 @@ class Jr {
|
|
|
7083
7061
|
}), this.select.addEventListener("change", this.update.bind(this));
|
|
7084
7062
|
}
|
|
7085
7063
|
togglePicker() {
|
|
7086
|
-
this.container.classList.toggle("ql-expanded"),
|
|
7064
|
+
this.container.classList.toggle("ql-expanded"), kl(this.label, "aria-expanded"), kl(this.options, "aria-hidden");
|
|
7087
7065
|
}
|
|
7088
7066
|
buildItem(t) {
|
|
7089
7067
|
const e = document.createElement("span");
|
|
@@ -7204,7 +7182,7 @@ class Po {
|
|
|
7204
7182
|
this.root.classList.remove("ql-editing"), this.root.classList.remove("ql-hidden");
|
|
7205
7183
|
}
|
|
7206
7184
|
}
|
|
7207
|
-
const I1 = [!1, "center", "right", "justify"], R1 = ["#000000", "#e60000", "#ff9900", "#ffff00", "#008a00", "#0066cc", "#9933ff", "#ffffff", "#facccc", "#ffebcc", "#ffffcc", "#cce8cc", "#cce0f5", "#ebd6ff", "#bbbbbb", "#f06666", "#ffc266", "#ffff66", "#66b966", "#66a3e0", "#c285ff", "#888888", "#a10000", "#b26b00", "#b2b200", "#006100", "#0047b2", "#6b24b2", "#444444", "#5c0000", "#663d00", "#666600", "#003700", "#002966", "#3d1466"],
|
|
7185
|
+
const I1 = [!1, "center", "right", "justify"], R1 = ["#000000", "#e60000", "#ff9900", "#ffff00", "#008a00", "#0066cc", "#9933ff", "#ffffff", "#facccc", "#ffebcc", "#ffffcc", "#cce8cc", "#cce0f5", "#ebd6ff", "#bbbbbb", "#f06666", "#ffc266", "#ffff66", "#66b966", "#66a3e0", "#c285ff", "#888888", "#a10000", "#b26b00", "#b2b200", "#006100", "#0047b2", "#6b24b2", "#444444", "#5c0000", "#663d00", "#666600", "#003700", "#002966", "#3d1466"], k1 = [!1, "serif", "monospace"], M1 = ["1", "2", "3", !1], B1 = ["small", !1, "large", "huge"];
|
|
7208
7186
|
class br extends Hn {
|
|
7209
7187
|
constructor(t, e) {
|
|
7210
7188
|
super(t, e);
|
|
@@ -7248,7 +7226,7 @@ class br extends Hn {
|
|
|
7248
7226
|
const i = s.classList.contains("ql-background") ? "background" : "color";
|
|
7249
7227
|
return s.querySelector("option") == null && Qn(s, R1, i === "background" ? "#ffffff" : "#000000"), new Do(s, e[i]);
|
|
7250
7228
|
}
|
|
7251
|
-
return s.querySelector("option") == null && (s.classList.contains("ql-font") ? Qn(s,
|
|
7229
|
+
return s.querySelector("option") == null && (s.classList.contains("ql-font") ? Qn(s, k1) : s.classList.contains("ql-header") ? Qn(s, M1) : s.classList.contains("ql-size") && Qn(s, B1)), new Jr(s);
|
|
7252
7230
|
});
|
|
7253
7231
|
const n = () => {
|
|
7254
7232
|
this.pickers.forEach((s) => {
|
|
@@ -7550,16 +7528,16 @@ const U1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
7550
7528
|
default: R
|
|
7551
7529
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
7552
7530
|
var Ps = { exports: {} };
|
|
7553
|
-
const $1 = /* @__PURE__ */
|
|
7554
|
-
var
|
|
7531
|
+
const $1 = /* @__PURE__ */ Ko(U1);
|
|
7532
|
+
var Ml;
|
|
7555
7533
|
function H1() {
|
|
7556
|
-
return
|
|
7534
|
+
return Ml || (Ml = 1, (function(r, t) {
|
|
7557
7535
|
(function(n, s) {
|
|
7558
7536
|
r.exports = s($1);
|
|
7559
7537
|
})(window, function(e) {
|
|
7560
7538
|
return (
|
|
7561
7539
|
/******/
|
|
7562
|
-
function(n) {
|
|
7540
|
+
(function(n) {
|
|
7563
7541
|
function s(N) {
|
|
7564
7542
|
delete installedChunks[N];
|
|
7565
7543
|
}
|
|
@@ -7580,8 +7558,8 @@ function H1() {
|
|
|
7580
7558
|
try {
|
|
7581
7559
|
var V = new XMLHttpRequest(), W = z.p + "" + d + ".hot-update.json";
|
|
7582
7560
|
V.open("GET", W, !0), V.timeout = N, V.send(null);
|
|
7583
|
-
} catch (
|
|
7584
|
-
return O(
|
|
7561
|
+
} catch (k) {
|
|
7562
|
+
return O(k);
|
|
7585
7563
|
}
|
|
7586
7564
|
V.onreadystatechange = function() {
|
|
7587
7565
|
if (V.readyState === 4)
|
|
@@ -7597,12 +7575,12 @@ function H1() {
|
|
|
7597
7575
|
O(new Error("Manifest request to " + W + " failed."));
|
|
7598
7576
|
else {
|
|
7599
7577
|
try {
|
|
7600
|
-
var
|
|
7578
|
+
var k = JSON.parse(V.responseText);
|
|
7601
7579
|
} catch (pt) {
|
|
7602
7580
|
O(pt);
|
|
7603
7581
|
return;
|
|
7604
7582
|
}
|
|
7605
|
-
_(
|
|
7583
|
+
_(k);
|
|
7606
7584
|
}
|
|
7607
7585
|
};
|
|
7608
7586
|
});
|
|
@@ -7611,15 +7589,15 @@ function H1() {
|
|
|
7611
7589
|
function q(N) {
|
|
7612
7590
|
var _ = H[N];
|
|
7613
7591
|
if (!_) return z;
|
|
7614
|
-
var O = function(
|
|
7615
|
-
return _.hot.active ? (H[
|
|
7592
|
+
var O = function(k) {
|
|
7593
|
+
return _.hot.active ? (H[k] ? H[k].parents.indexOf(N) === -1 && H[k].parents.push(N) : (w = [N], p = k), _.children.indexOf(k) === -1 && _.children.push(k)) : (console.warn(
|
|
7616
7594
|
/******/
|
|
7617
7595
|
"[HMR] unexpected require(" + /******/
|
|
7618
|
-
|
|
7596
|
+
k + /******/
|
|
7619
7597
|
") from disposed module " + /******/
|
|
7620
7598
|
N
|
|
7621
7599
|
/******/
|
|
7622
|
-
), w = []), z(
|
|
7600
|
+
), w = []), z(k);
|
|
7623
7601
|
}, V = function(pt) {
|
|
7624
7602
|
return {
|
|
7625
7603
|
/******/
|
|
@@ -7642,15 +7620,15 @@ function H1() {
|
|
|
7642
7620
|
Object.prototype.hasOwnProperty.call(z, W) && /******/
|
|
7643
7621
|
W !== "e" && /******/
|
|
7644
7622
|
W !== "t" && Object.defineProperty(O, W, V(W));
|
|
7645
|
-
return O.e = function(
|
|
7646
|
-
return K === "ready" && Z("prepare"), nt++, z.e(
|
|
7623
|
+
return O.e = function(k) {
|
|
7624
|
+
return K === "ready" && Z("prepare"), nt++, z.e(k).then(pt, function(ht) {
|
|
7647
7625
|
throw pt(), ht;
|
|
7648
7626
|
});
|
|
7649
7627
|
function pt() {
|
|
7650
|
-
nt--, K === "prepare" && (bt[
|
|
7628
|
+
nt--, K === "prepare" && (bt[k] || P(k), nt === 0 && rt === 0 && S());
|
|
7651
7629
|
}
|
|
7652
|
-
}, O.t = function(
|
|
7653
|
-
return pt & 1 && (
|
|
7630
|
+
}, O.t = function(k, pt) {
|
|
7631
|
+
return pt & 1 && (k = O(k)), z.t(k, pt & -2);
|
|
7654
7632
|
}, O;
|
|
7655
7633
|
}
|
|
7656
7634
|
function D(N) {
|
|
@@ -7742,7 +7720,7 @@ function H1() {
|
|
|
7742
7720
|
for (var _ = 0; _ < j.length; _++)
|
|
7743
7721
|
j[_].call(null, N);
|
|
7744
7722
|
}
|
|
7745
|
-
var rt = 0, nt = 0, bt = {}, At = {}, vt = {},
|
|
7723
|
+
var rt = 0, nt = 0, bt = {}, At = {}, vt = {}, kt, Lt, g;
|
|
7746
7724
|
function x(N) {
|
|
7747
7725
|
var _ = +N + "" === N;
|
|
7748
7726
|
return _ ? +N : N;
|
|
@@ -7754,12 +7732,12 @@ function H1() {
|
|
|
7754
7732
|
if (!_)
|
|
7755
7733
|
return Z("idle"), null;
|
|
7756
7734
|
At = {}, bt = {}, vt = _.c, g = _.h, Z("prepare");
|
|
7757
|
-
var O = new Promise(function(W,
|
|
7758
|
-
|
|
7735
|
+
var O = new Promise(function(W, k) {
|
|
7736
|
+
kt = {
|
|
7759
7737
|
/******/
|
|
7760
7738
|
resolve: W,
|
|
7761
7739
|
/******/
|
|
7762
|
-
reject:
|
|
7740
|
+
reject: k
|
|
7763
7741
|
/******/
|
|
7764
7742
|
};
|
|
7765
7743
|
});
|
|
@@ -7784,8 +7762,8 @@ function H1() {
|
|
|
7784
7762
|
}
|
|
7785
7763
|
function S() {
|
|
7786
7764
|
Z("ready");
|
|
7787
|
-
var N =
|
|
7788
|
-
if (
|
|
7765
|
+
var N = kt;
|
|
7766
|
+
if (kt = null, !!N)
|
|
7789
7767
|
if (h)
|
|
7790
7768
|
Promise.resolve().then(function() {
|
|
7791
7769
|
return $(h);
|
|
@@ -7811,7 +7789,7 @@ function H1() {
|
|
|
7811
7789
|
if (K !== "ready")
|
|
7812
7790
|
throw new Error("apply() is only allowed in ready status");
|
|
7813
7791
|
N = N || {};
|
|
7814
|
-
var _, O, V, W,
|
|
7792
|
+
var _, O, V, W, k;
|
|
7815
7793
|
function pt(St) {
|
|
7816
7794
|
for (var xt = [St], zt = {}, ne = xt.map(function(Ft) {
|
|
7817
7795
|
return {
|
|
@@ -7903,16 +7881,16 @@ function H1() {
|
|
|
7903
7881
|
};
|
|
7904
7882
|
for (var mt in Lt)
|
|
7905
7883
|
if (Object.prototype.hasOwnProperty.call(Lt, mt)) {
|
|
7906
|
-
|
|
7884
|
+
k = x(mt);
|
|
7907
7885
|
var ct;
|
|
7908
|
-
Lt[mt] ? ct = pt(
|
|
7886
|
+
Lt[mt] ? ct = pt(k) : ct = {
|
|
7909
7887
|
/******/
|
|
7910
7888
|
type: "disposed",
|
|
7911
7889
|
/******/
|
|
7912
7890
|
moduleId: mt
|
|
7913
7891
|
/******/
|
|
7914
7892
|
};
|
|
7915
|
-
var Ct = !1,
|
|
7893
|
+
var Ct = !1, Mt = !1, Ae = !1, de = "";
|
|
7916
7894
|
switch (ct.chain && (de = `
|
|
7917
7895
|
Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
|
|
7918
7896
|
/******/
|
|
@@ -7941,13 +7919,13 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
|
|
|
7941
7919
|
case "unaccepted":
|
|
7942
7920
|
N.onUnaccepted && N.onUnaccepted(ct), N.ignoreUnaccepted || (Ct = new Error(
|
|
7943
7921
|
/******/
|
|
7944
|
-
"Aborted because " +
|
|
7922
|
+
"Aborted because " + k + " is not accepted" + de
|
|
7945
7923
|
/******/
|
|
7946
7924
|
));
|
|
7947
7925
|
break;
|
|
7948
7926
|
/******/
|
|
7949
7927
|
case "accepted":
|
|
7950
|
-
N.onAccepted && N.onAccepted(ct),
|
|
7928
|
+
N.onAccepted && N.onAccepted(ct), Mt = !0;
|
|
7951
7929
|
break;
|
|
7952
7930
|
/******/
|
|
7953
7931
|
case "disposed":
|
|
@@ -7959,71 +7937,71 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
|
|
|
7959
7937
|
}
|
|
7960
7938
|
if (Ct)
|
|
7961
7939
|
return Z("abort"), Promise.reject(Ct);
|
|
7962
|
-
if (
|
|
7963
|
-
gt[
|
|
7964
|
-
for (
|
|
7940
|
+
if (Mt) {
|
|
7941
|
+
gt[k] = Lt[k], ht(dt, ct.outdatedModules);
|
|
7942
|
+
for (k in ct.outdatedDependencies)
|
|
7965
7943
|
/******/
|
|
7966
7944
|
Object.prototype.hasOwnProperty.call(
|
|
7967
7945
|
/******/
|
|
7968
7946
|
ct.outdatedDependencies,
|
|
7969
7947
|
/******/
|
|
7970
|
-
|
|
7948
|
+
k
|
|
7971
7949
|
/******/
|
|
7972
|
-
) && (lt[
|
|
7950
|
+
) && (lt[k] || (lt[k] = []), ht(
|
|
7973
7951
|
/******/
|
|
7974
|
-
lt[
|
|
7952
|
+
lt[k],
|
|
7975
7953
|
/******/
|
|
7976
|
-
ct.outdatedDependencies[
|
|
7954
|
+
ct.outdatedDependencies[k]
|
|
7977
7955
|
/******/
|
|
7978
7956
|
));
|
|
7979
7957
|
}
|
|
7980
|
-
Ae && (ht(dt, [ct.moduleId]), gt[
|
|
7958
|
+
Ae && (ht(dt, [ct.moduleId]), gt[k] = yt);
|
|
7981
7959
|
}
|
|
7982
7960
|
var De = [];
|
|
7983
7961
|
for (O = 0; O < dt.length; O++)
|
|
7984
|
-
|
|
7985
|
-
H[
|
|
7986
|
-
H[
|
|
7962
|
+
k = dt[O], /******/
|
|
7963
|
+
H[k] && /******/
|
|
7964
|
+
H[k].hot._selfAccepted && /******/
|
|
7987
7965
|
// removed self-accepted modules should not be required
|
|
7988
7966
|
/******/
|
|
7989
|
-
gt[
|
|
7967
|
+
gt[k] !== yt && De.push({
|
|
7990
7968
|
/******/
|
|
7991
|
-
module:
|
|
7969
|
+
module: k,
|
|
7992
7970
|
/******/
|
|
7993
|
-
errorHandler: H[
|
|
7971
|
+
errorHandler: H[k].hot._selfAccepted
|
|
7994
7972
|
/******/
|
|
7995
7973
|
});
|
|
7996
7974
|
Z("dispose"), Object.keys(vt).forEach(function(St) {
|
|
7997
7975
|
vt[St] === !1 && s(St);
|
|
7998
7976
|
});
|
|
7999
7977
|
for (var ie, fe = dt.slice(); fe.length > 0; )
|
|
8000
|
-
if (
|
|
7978
|
+
if (k = fe.pop(), W = H[k], !!W) {
|
|
8001
7979
|
var Ee = {}, je = W.hot._disposeHandlers;
|
|
8002
7980
|
for (V = 0; V < je.length; V++)
|
|
8003
7981
|
_ = je[V], _(Ee);
|
|
8004
|
-
for (E[
|
|
7982
|
+
for (E[k] = Ee, W.hot.active = !1, delete H[k], delete lt[k], V = 0; V < W.children.length; V++) {
|
|
8005
7983
|
var Te = H[W.children[V]];
|
|
8006
|
-
Te && (ie = Te.parents.indexOf(
|
|
7984
|
+
Te && (ie = Te.parents.indexOf(k), ie >= 0 && Te.parents.splice(ie, 1));
|
|
8007
7985
|
}
|
|
8008
7986
|
}
|
|
8009
7987
|
var jt, Pt;
|
|
8010
|
-
for (
|
|
7988
|
+
for (k in lt)
|
|
8011
7989
|
if (
|
|
8012
7990
|
/******/
|
|
8013
|
-
Object.prototype.hasOwnProperty.call(lt,
|
|
7991
|
+
Object.prototype.hasOwnProperty.call(lt, k) && (W = H[k], W)
|
|
8014
7992
|
)
|
|
8015
|
-
for (Pt = lt[
|
|
7993
|
+
for (Pt = lt[k], V = 0; V < Pt.length; V++)
|
|
8016
7994
|
jt = Pt[V], ie = W.children.indexOf(jt), ie >= 0 && W.children.splice(ie, 1);
|
|
8017
7995
|
Z("apply"), d = g;
|
|
8018
|
-
for (
|
|
8019
|
-
Object.prototype.hasOwnProperty.call(gt,
|
|
7996
|
+
for (k in gt)
|
|
7997
|
+
Object.prototype.hasOwnProperty.call(gt, k) && (n[k] = gt[k]);
|
|
8020
7998
|
var Ht = null;
|
|
8021
|
-
for (
|
|
7999
|
+
for (k in lt)
|
|
8022
8000
|
if (
|
|
8023
8001
|
/******/
|
|
8024
|
-
Object.prototype.hasOwnProperty.call(lt,
|
|
8002
|
+
Object.prototype.hasOwnProperty.call(lt, k) && (W = H[k], W)
|
|
8025
8003
|
) {
|
|
8026
|
-
Pt = lt[
|
|
8004
|
+
Pt = lt[k];
|
|
8027
8005
|
var Jt = [];
|
|
8028
8006
|
for (O = 0; O < Pt.length; O++)
|
|
8029
8007
|
if (jt = Pt[O], _ = W.hot._acceptedDependencies[jt], _) {
|
|
@@ -8039,7 +8017,7 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
|
|
|
8039
8017
|
/******/
|
|
8040
8018
|
type: "accept-errored",
|
|
8041
8019
|
/******/
|
|
8042
|
-
moduleId:
|
|
8020
|
+
moduleId: k,
|
|
8043
8021
|
/******/
|
|
8044
8022
|
dependencyId: Pt[O],
|
|
8045
8023
|
/******/
|
|
@@ -8051,9 +8029,9 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
|
|
|
8051
8029
|
}
|
|
8052
8030
|
for (O = 0; O < De.length; O++) {
|
|
8053
8031
|
var le = De[O];
|
|
8054
|
-
|
|
8032
|
+
k = le.module, w = [k];
|
|
8055
8033
|
try {
|
|
8056
|
-
z(
|
|
8034
|
+
z(k);
|
|
8057
8035
|
} catch (St) {
|
|
8058
8036
|
if (typeof le.errorHandler == "function")
|
|
8059
8037
|
try {
|
|
@@ -8063,7 +8041,7 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
|
|
|
8063
8041
|
/******/
|
|
8064
8042
|
type: "self-accept-error-handler-errored",
|
|
8065
8043
|
/******/
|
|
8066
|
-
moduleId:
|
|
8044
|
+
moduleId: k,
|
|
8067
8045
|
/******/
|
|
8068
8046
|
error: xt,
|
|
8069
8047
|
/******/
|
|
@@ -8076,7 +8054,7 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
|
|
|
8076
8054
|
/******/
|
|
8077
8055
|
type: "self-accept-errored",
|
|
8078
8056
|
/******/
|
|
8079
|
-
moduleId:
|
|
8057
|
+
moduleId: k,
|
|
8080
8058
|
/******/
|
|
8081
8059
|
error: St
|
|
8082
8060
|
/******/
|
|
@@ -8137,110 +8115,110 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
|
|
|
8137
8115
|
}, z.p = "", z.h = function() {
|
|
8138
8116
|
return d;
|
|
8139
8117
|
}, q(12)(z.s = 12);
|
|
8140
|
-
}([
|
|
8118
|
+
})([
|
|
8141
8119
|
/* 0 */
|
|
8142
8120
|
/***/
|
|
8143
|
-
function(n, s) {
|
|
8121
|
+
(function(n, s) {
|
|
8144
8122
|
n.exports = e;
|
|
8145
|
-
},
|
|
8123
|
+
}),
|
|
8146
8124
|
/* 1 */
|
|
8147
8125
|
/***/
|
|
8148
|
-
function(n, s) {
|
|
8126
|
+
(function(n, s) {
|
|
8149
8127
|
n.exports = '<?xml version="1.0" standalone="no"?><!doctype html><svg class=icon width=20px height=20px viewBox="0 0 1024 1024" version=1.1 xmlns=http://www.w3.org/2000/svg><path fill=#595959 d="M73.142857 336.64h526.628572v43.885714H73.142857zM73.142857 643.657143h526.628572v43.885714H73.142857zM336.457143 117.028571h43.885714v789.942858h-43.885714zM204.8 73.142857h614.4a131.657143 131.657143 0 0 1 131.657143 131.657143v614.4a131.657143 131.657143 0 0 1-131.657143 131.657143H204.8A131.657143 131.657143 0 0 1 73.142857 819.2V204.8A131.84 131.84 0 0 1 204.8 73.142857z m0 43.885714a87.771429 87.771429 0 0 0-87.771429 87.771429v614.4a87.771429 87.771429 0 0 0 87.771429 87.771429h614.4a87.771429 87.771429 0 0 0 87.771429-87.771429V204.8a87.771429 87.771429 0 0 0-87.771429-87.771429zM819.2 73.142857h-219.428571v877.714286h219.428571a131.657143 131.657143 0 0 0 131.657143-131.657143V204.8A131.84 131.84 0 0 0 819.2 73.142857z m44.068571 460.982857h-65.828571v65.828572H753.371429v-65.828572h-65.828572V490.057143h65.828572v-65.828572h44.068571v65.828572h65.828571z"/></svg>';
|
|
8150
|
-
},
|
|
8128
|
+
}),
|
|
8151
8129
|
/* 2 */
|
|
8152
8130
|
/***/
|
|
8153
|
-
function(n, s) {
|
|
8131
|
+
(function(n, s) {
|
|
8154
8132
|
n.exports = '<?xml version="1.0" standalone="no"?><!doctype html><svg class=icon width=20px height=20.00px viewBox="0 0 1024 1024" version=1.1 xmlns=http://www.w3.org/2000/svg><path fill=#595959 d="M380.342857 336.457143h526.811429v43.885714H380.342857z m0 307.2h526.811429v43.885714H380.342857zM643.657143 117.028571h43.885714v789.942858h-43.885714zM204.8 73.142857h614.582857A131.474286 131.474286 0 0 1 950.857143 204.8v614.4a131.657143 131.657143 0 0 1-131.657143 131.657143H204.8A131.657143 131.657143 0 0 1 73.142857 819.2V204.8A131.657143 131.657143 0 0 1 204.8 73.142857z m0 43.885714a87.588571 87.588571 0 0 0-87.588571 87.771429v614.4a87.588571 87.588571 0 0 0 87.588571 87.771429h614.582857a87.771429 87.771429 0 0 0 87.771429-87.771429V204.8a87.771429 87.771429 0 0 0-87.771429-87.771429zM204.8 73.142857A131.657143 131.657143 0 0 0 73.142857 204.8v614.4a131.657143 131.657143 0 0 0 131.657143 131.657143h219.428571V73.142857z m131.84 460.8h-65.828571v65.828572h-43.885715v-65.828572h-65.828571v-43.885714h65.828571v-65.828572h43.885715v65.828572h65.828571z"/></svg>';
|
|
8155
|
-
},
|
|
8133
|
+
}),
|
|
8156
8134
|
/* 3 */
|
|
8157
8135
|
/***/
|
|
8158
|
-
function(n, s) {
|
|
8136
|
+
(function(n, s) {
|
|
8159
8137
|
n.exports = '<?xml version="1.0" standalone="no"?><!doctype html><svg class=icon width=20px height=20.00px viewBox="0 0 1024 1024" version=1.1 xmlns=http://www.w3.org/2000/svg><path fill=#595959 d="M73.142857 599.771429h877.714286v43.885714H73.142857zM336.457143 380.342857h43.885714v526.628572h-43.885714z m307.2 0h43.885714v526.628572h-43.885714zM204.8 73.142857h614.4a131.657143 131.657143 0 0 1 131.657143 131.657143v614.4a131.657143 131.657143 0 0 1-131.657143 131.657143H204.8A131.657143 131.657143 0 0 1 73.142857 819.2V204.8A131.657143 131.657143 0 0 1 204.8 73.142857z m0 43.885714a87.771429 87.771429 0 0 0-87.771429 87.771429v614.4a87.588571 87.588571 0 0 0 87.771429 87.771429h614.4a87.588571 87.588571 0 0 0 87.771429-87.771429V204.8a87.771429 87.771429 0 0 0-87.771429-87.771429zM819.2 73.142857H204.8A131.657143 131.657143 0 0 0 73.142857 204.8v219.428571h877.714286v-219.428571A131.657143 131.657143 0 0 0 819.2 73.142857z m-219.428571 197.485714h-65.828572v65.828572h-43.885714v-65.828572h-65.828572v-43.885714h65.828572V160.914286h43.885714v65.828571h65.828572z"/></svg>';
|
|
8160
|
-
},
|
|
8138
|
+
}),
|
|
8161
8139
|
/* 4 */
|
|
8162
8140
|
/***/
|
|
8163
|
-
function(n, s) {
|
|
8141
|
+
(function(n, s) {
|
|
8164
8142
|
n.exports = '<?xml version="1.0" standalone="no"?><!doctype html><svg class=icon width=20px height=20.00px viewBox="0 0 1024 1024" version=1.1 xmlns=http://www.w3.org/2000/svg><path fill=#595959 d="M204.8 73.142857h614.4a131.657143 131.657143 0 0 1 131.657143 131.657143v614.4a131.657143 131.657143 0 0 1-131.657143 131.657143H204.8A131.657143 131.657143 0 0 1 73.142857 819.2V204.8A131.84 131.84 0 0 1 204.8 73.142857z m0 43.885714a87.771429 87.771429 0 0 0-87.771429 87.771429v614.4a87.771429 87.771429 0 0 0 87.771429 87.771429h614.4a87.771429 87.771429 0 0 0 87.771429-87.771429V204.8a87.771429 87.771429 0 0 0-87.771429-87.771429zM73.142857 336.457143h877.714286v44.068571H73.142857zM336.64 117.028571h43.885714v526.628572h-43.885714z m307.017143 0h44.068571v526.628572H643.657143zM73.142857 599.771429v219.428571a131.657143 131.657143 0 0 0 131.657143 131.657143h614.4a131.657143 131.657143 0 0 0 131.657143-131.657143v-219.428571z m526.628572 197.485714h-65.645715v65.828571H490.057143v-65.828571h-65.828572v-43.885714h65.828572v-65.828572h44.068571v65.828572h65.645715z"/></svg>';
|
|
8165
|
-
},
|
|
8143
|
+
}),
|
|
8166
8144
|
/* 5 */
|
|
8167
8145
|
/***/
|
|
8168
|
-
function(n, s) {
|
|
8146
|
+
(function(n, s) {
|
|
8169
8147
|
n.exports = '<?xml version="1.0" standalone="no"?><!doctype html><svg class=icon width=20px height=20.00px viewBox="0 0 1024 1024" version=1.1 xmlns=http://www.w3.org/2000/svg><path fill=#595959 d="M925.99596 99.038384c-25.470707-25.6-60.121212-39.822222-96.323233-39.822222H194.19798c-36.072727 0-70.723232 14.351515-96.323233 39.822222-25.6 25.6-39.822222 60.121212-39.822222 96.323232v635.474748c0 36.072727 14.351515 70.723232 39.822222 96.323232C123.474747 952.759596 158.125253 967.111111 194.19798 967.111111h635.474747c36.072727 0 70.723232-14.351515 96.323233-39.951515 25.6-25.6 39.951515-60.121212 39.951515-96.323232V195.361616c0-36.072727-14.351515-70.723232-39.951515-96.323232z m-277.850505 5.559596v226.909091H375.725253V104.59798h272.420202zM103.434343 195.361616c0-24.048485 9.567677-47.191919 26.634344-64.129293 17.066667-17.066667 40.080808-26.634343 64.129293-26.634343h136.145454v226.909091H103.434343V195.361616z m90.763637 726.367677c-24.048485 0-47.191919-9.567677-64.129293-26.634344-17.066667-17.066667-26.634343-40.080808-26.634344-64.129292V649.309091h226.909091v272.420202H194.19798z m181.527273 0V649.309091h272.290909v272.420202H375.725253z m544.711111-90.892929c0 24.048485-9.567677 47.191919-26.634344 64.129293-17.066667 17.066667-40.080808 26.634343-64.129293 26.634343H693.527273V649.309091h226.909091v181.527273zM693.527273 331.507071V104.59798h136.145454c24.048485 0 47.191919 9.567677 64.129293 26.634343 17.066667 17.066667 26.634343 40.080808 26.634344 64.129293v136.145455H693.527273z"/></svg>';
|
|
8170
|
-
},
|
|
8148
|
+
}),
|
|
8171
8149
|
/* 6 */
|
|
8172
8150
|
/***/
|
|
8173
|
-
function(n, s) {
|
|
8151
|
+
(function(n, s) {
|
|
8174
8152
|
n.exports = '<?xml version="1.0" standalone="no"?><!doctype html><svg class=icon width=20px height=20.00px viewBox="0 0 1024 1024" version=1.1 xmlns=http://www.w3.org/2000/svg><path fill=#595959 d="M336.457143 73.142857h43.885714v877.714286h-43.885714z m307.382857 0h43.702857v877.714286h-43.702857z m-438.857143 0h614.4A131.657143 131.657143 0 0 1 950.857143 204.8v614.4a131.474286 131.474286 0 0 1-131.474286 131.657143h-614.4A131.657143 131.657143 0 0 1 73.142857 819.2V204.8A131.84 131.84 0 0 1 204.982857 73.142857z m0 43.885714a87.588571 87.588571 0 0 0-87.771428 87.771429v614.4a87.588571 87.588571 0 0 0 87.771428 87.771429h614.4a87.771429 87.771429 0 0 0 87.771429-87.771429V204.8a87.771429 87.771429 0 0 0-87.771429-87.771429zM73.142857 336.457143h877.714286v307.2H73.142857z m292.571429 43.885714v219.428572h292.571428v-219.428572z"/></svg>';
|
|
8175
|
-
},
|
|
8153
|
+
}),
|
|
8176
8154
|
/* 7 */
|
|
8177
8155
|
/***/
|
|
8178
|
-
function(n, s) {
|
|
8156
|
+
(function(n, s) {
|
|
8179
8157
|
n.exports = '<?xml version="1.0" standalone="no"?><!doctype html><svg class=icon width=20px height=20.00px viewBox="0 0 1024 1024" version=1.1 xmlns=http://www.w3.org/2000/svg><path fill=#595959 d="M925.996 99.038c-25.47-25.6-60.121-39.822-96.323-39.822H194.198c-75.12 0.13-136.016 61.026-136.145 136.146v635.345c0 36.073 14.351 70.723 39.822 96.323 25.6 25.73 60.25 40.081 96.323 40.081h635.475c36.072 0 70.723-14.351 96.323-39.951 25.6-25.6 39.951-60.122 39.951-96.324V195.362c0-36.073-14.351-70.724-39.951-96.324z m-365.77 494.287L512 545.228l-48.226 48.097-32.194-31.935 48.355-48.226-48.226-48.097 32.194-32.194L512 480.97l48.097-48.097 32.194 32.194-48.097 48.097 48.226 48.226-32.194 31.935zM103.434 195.362c0-24.049 9.568-47.192 26.635-64.13 17.066-17.066 40.08-26.634 64.129-26.634h136.145v226.91H103.434V195.361z m0 181.656h226.91V649.31h-226.91V377.02z m90.764 544.84c-24.049 0-47.192-9.567-64.13-26.634-17.066-17.066-26.634-40.08-26.634-64.258V694.69h226.91v227.168H194.197z m726.238-90.763c0 24.048-9.438 47.192-26.505 64.259-17.066 17.066-40.21 26.634-64.258 26.505H693.527V694.69h226.91v136.404z m0-181.786H693.527V377.02h226.91v272.29zM693.527 331.507V104.598h136.146c24.048 0 47.192 9.438 64.258 26.505 17.067 17.067 26.635 40.21 26.505 64.259v136.145H693.527z"/></svg>';
|
|
8180
|
-
},
|
|
8158
|
+
}),
|
|
8181
8159
|
/* 8 */
|
|
8182
8160
|
/***/
|
|
8183
|
-
function(n, s) {
|
|
8161
|
+
(function(n, s) {
|
|
8184
8162
|
n.exports = '<?xml version="1.0" standalone="no"?><!doctype html><svg class=icon width=20px height=20.00px viewBox="0 0 1024 1024" version=1.1 xmlns=http://www.w3.org/2000/svg><path fill=#595959 d="M925.99596 99.038384c-25.470707-25.6-60.121212-39.822222-96.323233-39.822222H194.19798c-36.072727 0-70.723232 14.351515-96.323233 39.822222-25.6 25.6-39.822222 60.121212-39.822222 96.323232v635.474748c0 36.072727 14.351515 70.723232 39.822222 96.323232C123.474747 952.759596 158.125253 967.111111 194.19798 967.111111h635.474747c36.072727 0 70.723232-14.351515 96.323233-39.951515 25.6-25.6 39.951515-60.121212 39.951515-96.323232V195.361616c0-36.072727-14.351515-70.723232-39.951515-96.323232z m-550.270707 5.559596h272.290909v227.167677H375.725253V104.59798z m56.242424 360.468687l31.935353-32.19394 48.09697 48.226263 48.09697-48.226263 32.193939 32.19394-48.09697 48.096969 48.226263 48.226263-32.193939 31.935354-48.226263-48.09697-48.226263 48.09697-31.935353-31.935354 48.226262-48.226263-48.096969-48.096969zM103.434343 195.361616c0-24.048485 9.567677-47.191919 26.634344-64.129293 17.066667-17.066667 40.080808-26.634343 64.129293-26.634343h136.145454v227.167677H103.434343V195.361616z m817.002021 635.733333c0 24.048485-9.567677 47.191919-26.634344 64.258586-17.066667 17.066667-40.080808 26.634343-64.129293 26.634344H194.19798c-24.048485 0-47.191919-9.567677-64.258586-26.634344C112.872727 878.157576 103.434343 855.014141 103.434343 830.836364V694.690909h226.909091v226.909091h45.381819V694.690909h272.290909v226.909091h45.381818V694.690909h226.909091v136.40404z m0-499.329292H693.527273V104.59798h136.145454c24.048485 0 47.191919 9.567677 64.129293 26.634343 17.066667 17.066667 26.634343 40.080808 26.634344 64.129293v136.404041z"/></svg>';
|
|
8185
|
-
},
|
|
8163
|
+
}),
|
|
8186
8164
|
/* 9 */
|
|
8187
8165
|
/***/
|
|
8188
|
-
function(n, s) {
|
|
8166
|
+
(function(n, s) {
|
|
8189
8167
|
n.exports = '<?xml version="1.0" standalone="no"?><!doctype html><svg class=icon width=20px height=20.00px viewBox="0 0 1024 1024" version=1.1 xmlns=http://www.w3.org/2000/svg><path fill=#595959 d="M764.42168889 830.5152c0 30.23530667-24.61013333 54.84430222-54.84316444 54.84430222H314.42147555c-30.23416889 0-54.84316445-24.61013333-54.84316444-54.84430222V248.32796445h504.84337778v582.18723555zM369.26577778 149.89084445c0-6.32832 4.92202667-11.25034667 11.25034667-11.25034667H644.18702222c6.32832 0 11.25034667 4.92202667 11.25034667 11.25034667v33.04675555H369.26577778V149.89084445z m559.68768 33.04675555H720.82773333V149.89084445c0-42.1888-34.45191111-76.64071111-76.64071111-76.64071112H380.51612445c-42.1888 0-76.64071111 34.45191111-76.64071112 76.64071112v33.04675555h-208.82773333c-18.28181333 0-33.04789333 14.76608-33.04789333 33.04675555s14.76608 33.04675555 33.04675555 33.04675556h98.43825778v581.48408889c0 66.79779555 54.14001778 120.93781333 120.93667555 120.93781333h395.1570489c66.79665778 0 120.93667555-54.14001778 120.93667555-120.93781333V248.32796445h98.43825778c18.28067555 0 33.04675555-14.76494222 33.04675555-33.04675556s-14.76608-32.34360889-33.04675555-32.34360889zM512 786.21923555c18.28181333 0 33.04675555-14.76608 33.04675555-33.04789333v-351.56195555c0-18.28181333-14.76494222-33.04675555-33.04675555-33.04675556s-33.04675555 14.76494222-33.04675555 33.04675556v351.56195555c0 18.28181333 14.76494222 33.04789333 33.04675555 33.04789333m-153.98456889 0c18.28181333 0 33.04675555-14.76608 33.04675556-33.04789333v-351.56195555c0-18.28181333-14.76494222-33.04675555-33.04675556-33.04675556s-33.04675555 14.76494222-33.04675556 33.04675556v351.56195555c0.70314667 18.28181333 15.46922667 33.04789333 33.04675556 33.04789333m307.96913778 0c18.28067555 0 33.04675555-14.76608 33.04675556-33.04789333v-351.56195555c0-18.28181333-14.76608-33.04675555-33.04675556-33.04675556s-33.04675555 14.76494222-33.04675556 33.04675556v351.56195555c0 18.28181333 14.76494222 33.04789333 33.04675556 33.04789333"/></svg>';
|
|
8190
|
-
},
|
|
8168
|
+
}),
|
|
8191
8169
|
/* 10 */
|
|
8192
8170
|
/***/
|
|
8193
|
-
function(n, s, i) {
|
|
8171
|
+
(function(n, s, i) {
|
|
8194
8172
|
i.r(s);
|
|
8195
8173
|
var o = i(0), a = /* @__PURE__ */ i.n(o);
|
|
8196
|
-
function h(
|
|
8174
|
+
function h(M, c) {
|
|
8197
8175
|
if (typeof c == "object")
|
|
8198
8176
|
for (let f in c)
|
|
8199
|
-
|
|
8177
|
+
M.style[f] = c[f];
|
|
8200
8178
|
}
|
|
8201
|
-
function d(
|
|
8179
|
+
function d(M, c) {
|
|
8202
8180
|
let f = c.getBoundingClientRect();
|
|
8203
8181
|
return {
|
|
8204
|
-
x:
|
|
8205
|
-
y:
|
|
8206
|
-
x1:
|
|
8207
|
-
y1:
|
|
8208
|
-
width:
|
|
8209
|
-
height:
|
|
8182
|
+
x: M.x - f.x - c.scrollLeft,
|
|
8183
|
+
y: M.y - f.y - c.scrollTop,
|
|
8184
|
+
x1: M.x - f.x - c.scrollLeft + M.width,
|
|
8185
|
+
y1: M.y - f.y - c.scrollTop + M.height,
|
|
8186
|
+
width: M.width,
|
|
8187
|
+
height: M.height
|
|
8210
8188
|
};
|
|
8211
8189
|
}
|
|
8212
|
-
function y(
|
|
8213
|
-
return
|
|
8214
|
-
[b]:
|
|
8190
|
+
function y(M, c) {
|
|
8191
|
+
return M && Object.keys(M).reduce((f, b) => c.includes(b) ? f : Object.assign({}, f, {
|
|
8192
|
+
[b]: M[b]
|
|
8215
8193
|
}), {});
|
|
8216
8194
|
}
|
|
8217
|
-
function E(
|
|
8195
|
+
function E(M) {
|
|
8218
8196
|
let c;
|
|
8219
|
-
if (c =
|
|
8197
|
+
if (c = M.path || M.composedPath && M.composedPath(), c == null && M.target) {
|
|
8220
8198
|
c = [];
|
|
8221
|
-
let f =
|
|
8199
|
+
let f = M.target;
|
|
8222
8200
|
for (c.push(f); f && f.parentNode; )
|
|
8223
8201
|
f = f.parentNode, c.push(f);
|
|
8224
8202
|
}
|
|
8225
8203
|
return c;
|
|
8226
8204
|
}
|
|
8227
|
-
function p(
|
|
8205
|
+
function p(M) {
|
|
8228
8206
|
var c = /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;
|
|
8229
|
-
if (/^(rgb|RGB)/.test(
|
|
8230
|
-
for (var f =
|
|
8207
|
+
if (/^(rgb|RGB)/.test(M)) {
|
|
8208
|
+
for (var f = M.toString().match(/\d+/g), b = "#", T = 0; T < 3; T++)
|
|
8231
8209
|
b += ("0" + Number(f[T]).toString(16)).slice(-2);
|
|
8232
8210
|
return b;
|
|
8233
|
-
} else if (c.test(
|
|
8234
|
-
var L =
|
|
8211
|
+
} else if (c.test(M)) {
|
|
8212
|
+
var L = M.replace(/#/, "").split("");
|
|
8235
8213
|
if (L.length === 6)
|
|
8236
|
-
return
|
|
8214
|
+
return M;
|
|
8237
8215
|
if (L.length === 3) {
|
|
8238
8216
|
for (var B = "#", T = 0; T < L.length; T += 1)
|
|
8239
8217
|
B += L[T] + L[T];
|
|
8240
8218
|
return B;
|
|
8241
8219
|
}
|
|
8242
8220
|
}
|
|
8243
|
-
return
|
|
8221
|
+
return M;
|
|
8244
8222
|
}
|
|
8245
8223
|
const w = 12, A = 12, q = 50, D = "#35A7ED";
|
|
8246
8224
|
class j {
|
|
@@ -8314,8 +8292,8 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
|
|
|
8314
8292
|
return Array.from(this.domNode.querySelectorAll(".qlbt-col-tool-cell"));
|
|
8315
8293
|
}
|
|
8316
8294
|
}
|
|
8317
|
-
function K(
|
|
8318
|
-
return
|
|
8295
|
+
function K(M) {
|
|
8296
|
+
return M.reduce((c, f) => {
|
|
8319
8297
|
const b = f.formats().colspan;
|
|
8320
8298
|
return c = c + parseInt(b, 10), c;
|
|
8321
8299
|
}, 0);
|
|
@@ -8378,7 +8356,7 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
|
|
|
8378
8356
|
}
|
|
8379
8357
|
rt.blotName = "header", rt.tagName = ["H1", "H2", "H3", "H4", "H5", "H6"];
|
|
8380
8358
|
var nt = rt;
|
|
8381
|
-
const bt = a.a.import("blots/break"), At = a.a.import("blots/block"), vt = a.a.import("blots/container"),
|
|
8359
|
+
const bt = a.a.import("blots/break"), At = a.a.import("blots/block"), vt = a.a.import("blots/container"), kt = ["width"], Lt = {
|
|
8382
8360
|
width: 100
|
|
8383
8361
|
}, g = ["row", "cell"], x = ["rowspan", "colspan"], v = {
|
|
8384
8362
|
rowspan: 1,
|
|
@@ -8520,15 +8498,15 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
|
|
|
8520
8498
|
class z extends At {
|
|
8521
8499
|
static create(c) {
|
|
8522
8500
|
let f = super.create(c);
|
|
8523
|
-
return
|
|
8501
|
+
return kt.forEach((b) => {
|
|
8524
8502
|
f.setAttribute("".concat(b), c[b] || Lt[b]);
|
|
8525
8503
|
}), f;
|
|
8526
8504
|
}
|
|
8527
8505
|
static formats(c) {
|
|
8528
|
-
return
|
|
8506
|
+
return kt.reduce((f, b) => (c.hasAttribute("".concat(b)) && (f[b] = c.getAttribute("".concat(b)) || void 0), f), {});
|
|
8529
8507
|
}
|
|
8530
8508
|
format(c, f) {
|
|
8531
|
-
|
|
8509
|
+
kt.indexOf(c) > -1 ? this.domNode.setAttribute("".concat(c), f || Lt[c]) : super.format(c, f);
|
|
8532
8510
|
}
|
|
8533
8511
|
html() {
|
|
8534
8512
|
return this.domNode.outerHTML;
|
|
@@ -8738,14 +8716,14 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
|
|
|
8738
8716
|
}
|
|
8739
8717
|
O.blotName = "table-view", O.className = "quill-better-table-wrapper", O.tagName = "DIV", O.allowedChildren = [_], _.requiredContainer = O, _.allowedChildren = [H, N], H.requiredContainer = _, H.allowedChildren = [$], $.requiredContainer = H, $.allowedChildren = [S], S.requiredContainer = $, S.allowedChildren = [P, nt], P.requiredContainer = S, N.allowedChildren = [z], N.requiredContainer = _, z.requiredContainer = N;
|
|
8740
8718
|
function V() {
|
|
8741
|
-
const
|
|
8742
|
-
return "row-".concat(
|
|
8719
|
+
const M = Math.random().toString(36).slice(2, 6);
|
|
8720
|
+
return "row-".concat(M);
|
|
8743
8721
|
}
|
|
8744
8722
|
function W() {
|
|
8745
|
-
const
|
|
8746
|
-
return "cell-".concat(
|
|
8723
|
+
const M = Math.random().toString(36).slice(2, 6);
|
|
8724
|
+
return "cell-".concat(M);
|
|
8747
8725
|
}
|
|
8748
|
-
const
|
|
8726
|
+
const k = "#0589f3", pt = ["left", "right", "top", "bottom"], ht = 2;
|
|
8749
8727
|
class lt {
|
|
8750
8728
|
constructor(c, f, b) {
|
|
8751
8729
|
if (!c) return null;
|
|
@@ -8757,7 +8735,7 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
|
|
|
8757
8735
|
this[f] = document.createElement("div"), this[f].classList.add("qlbt-selection-line"), this[f].classList.add("qlbt-selection-line-" + f), h(this[f], {
|
|
8758
8736
|
position: "absolute",
|
|
8759
8737
|
display: "none",
|
|
8760
|
-
"background-color":
|
|
8738
|
+
"background-color": k
|
|
8761
8739
|
}), c.appendChild(this[f]);
|
|
8762
8740
|
});
|
|
8763
8741
|
}
|
|
@@ -8852,8 +8830,8 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
|
|
|
8852
8830
|
});
|
|
8853
8831
|
}
|
|
8854
8832
|
}
|
|
8855
|
-
function dt(
|
|
8856
|
-
let f = Math.min(
|
|
8833
|
+
function dt(M, c) {
|
|
8834
|
+
let f = Math.min(M.x, c.x, M.x + M.width - 1, c.x + c.width - 1), b = Math.max(M.x, c.x, M.x + M.width - 1, c.x + c.width - 1), T = Math.min(M.y, c.y, M.y + M.height - 1, c.y + c.height - 1), L = Math.max(M.y, c.y, M.y + M.height - 1, c.y + c.height - 1), B = b - f, U = L - T;
|
|
8857
8835
|
return {
|
|
8858
8836
|
x: f,
|
|
8859
8837
|
x1: b,
|
|
@@ -8863,15 +8841,15 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
|
|
|
8863
8841
|
height: U
|
|
8864
8842
|
};
|
|
8865
8843
|
}
|
|
8866
|
-
var gt = i(1), yt = /* @__PURE__ */ i.n(gt), mt = i(2), ct = /* @__PURE__ */ i.n(mt), Ct = i(3),
|
|
8844
|
+
var gt = i(1), yt = /* @__PURE__ */ i.n(gt), mt = i(2), ct = /* @__PURE__ */ i.n(mt), Ct = i(3), Mt = /* @__PURE__ */ i.n(Ct), Ae = i(4), de = /* @__PURE__ */ i.n(Ae), De = i(5), ie = /* @__PURE__ */ i.n(De), fe = i(6), Ee = /* @__PURE__ */ i.n(fe), je = i(7), Te = /* @__PURE__ */ i.n(je), jt = i(8), Pt = /* @__PURE__ */ i.n(jt), Ht = i(9), Jt = /* @__PURE__ */ i.n(Ht);
|
|
8867
8845
|
const le = 150, St = 200, xt = 5, zt = ["white", "red", "yellow", "blue"], ne = "Background Colors", Pe = {
|
|
8868
8846
|
insertColumnRight: {
|
|
8869
8847
|
text: "Insert column right",
|
|
8870
8848
|
iconSrc: yt.a,
|
|
8871
8849
|
handler() {
|
|
8872
|
-
const
|
|
8850
|
+
const M = a.a.find(this.table);
|
|
8873
8851
|
let c = te(this.columnToolCells, this.boundary, (b, T) => Math.abs(b.x + b.width - T.x1) <= xt, this.quill.root.parentNode);
|
|
8874
|
-
const f =
|
|
8852
|
+
const f = M.insertColumn(this.boundary, c, !0, this.quill.root.parentNode);
|
|
8875
8853
|
this.tableColumnTool.updateToolCells(), this.quill.update(a.a.sources.USER), this.quill.setSelection(this.quill.getIndex(f[0]), 0, a.a.sources.SILENT), this.tableSelection.setSelection(f[0].domNode.getBoundingClientRect(), f[0].domNode.getBoundingClientRect());
|
|
8876
8854
|
}
|
|
8877
8855
|
},
|
|
@@ -8879,15 +8857,15 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
|
|
|
8879
8857
|
text: "Insert column left",
|
|
8880
8858
|
iconSrc: ct.a,
|
|
8881
8859
|
handler() {
|
|
8882
|
-
const
|
|
8860
|
+
const M = a.a.find(this.table);
|
|
8883
8861
|
let c = te(this.columnToolCells, this.boundary, (b, T) => Math.abs(b.x - T.x) <= xt, this.quill.root.parentNode);
|
|
8884
|
-
const f =
|
|
8862
|
+
const f = M.insertColumn(this.boundary, c, !1, this.quill.root.parentNode);
|
|
8885
8863
|
this.tableColumnTool.updateToolCells(), this.quill.update(a.a.sources.USER), this.quill.setSelection(this.quill.getIndex(f[0]), 0, a.a.sources.SILENT), this.tableSelection.setSelection(f[0].domNode.getBoundingClientRect(), f[0].domNode.getBoundingClientRect());
|
|
8886
8864
|
}
|
|
8887
8865
|
},
|
|
8888
8866
|
insertRowUp: {
|
|
8889
8867
|
text: "Insert row up",
|
|
8890
|
-
iconSrc:
|
|
8868
|
+
iconSrc: Mt.a,
|
|
8891
8869
|
handler() {
|
|
8892
8870
|
const c = a.a.find(this.table).insertRow(this.boundary, !1, this.quill.root.parentNode);
|
|
8893
8871
|
this.quill.update(a.a.sources.USER), this.quill.setSelection(this.quill.getIndex(c[0]), 0, a.a.sources.SILENT), this.tableSelection.setSelection(c[0].domNode.getBoundingClientRect(), c[0].domNode.getBoundingClientRect());
|
|
@@ -8905,13 +8883,13 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
|
|
|
8905
8883
|
text: "Merge selected cells",
|
|
8906
8884
|
iconSrc: ie.a,
|
|
8907
8885
|
handler() {
|
|
8908
|
-
const
|
|
8886
|
+
const M = a.a.find(this.table), c = M.rows().reduce((T, L) => {
|
|
8909
8887
|
let B = d(L.domNode.getBoundingClientRect(), this.quill.root.parentNode);
|
|
8910
8888
|
return B.y > this.boundary.y - xt && B.y + B.height < this.boundary.y + this.boundary.height + xt && (T += 1), T;
|
|
8911
8889
|
}, 0), f = this.columnToolCells.reduce((T, L) => {
|
|
8912
8890
|
let B = d(L.getBoundingClientRect(), this.quill.root.parentNode);
|
|
8913
8891
|
return B.x > this.boundary.x - xt && B.x + B.width < this.boundary.x + this.boundary.width + xt && (T += 1), T;
|
|
8914
|
-
}, 0), b =
|
|
8892
|
+
}, 0), b = M.mergeCells(this.boundary, this.selectedTds, c, f, this.quill.root.parentNode);
|
|
8915
8893
|
this.quill.update(a.a.sources.USER), this.tableSelection.setSelection(b.domNode.getBoundingClientRect(), b.domNode.getBoundingClientRect());
|
|
8916
8894
|
}
|
|
8917
8895
|
},
|
|
@@ -8926,9 +8904,9 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
|
|
|
8926
8904
|
text: "Delete selected columns",
|
|
8927
8905
|
iconSrc: Te.a,
|
|
8928
8906
|
handler() {
|
|
8929
|
-
const
|
|
8907
|
+
const M = a.a.find(this.table);
|
|
8930
8908
|
let c = Ce(this.columnToolCells, this.boundary, (b, T) => b.x + xt > T.x && b.x + b.width - xt < T.x1, this.quill.root.parentNode);
|
|
8931
|
-
|
|
8909
|
+
M.deleteColumns(this.boundary, c, this.quill.root.parentNode) || (this.tableColumnTool.updateToolCells(), this.quill.update(a.a.sources.USER), this.tableSelection.clearSelection());
|
|
8932
8910
|
}
|
|
8933
8911
|
},
|
|
8934
8912
|
deleteRow: {
|
|
@@ -8942,8 +8920,8 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
|
|
|
8942
8920
|
text: "Delete table",
|
|
8943
8921
|
iconSrc: Jt.a,
|
|
8944
8922
|
handler() {
|
|
8945
|
-
const
|
|
8946
|
-
|
|
8923
|
+
const M = this.quill.getModule("better-table"), c = a.a.find(this.table);
|
|
8924
|
+
M.hideTableTools(), c.remove(), this.quill.update(a.a.sources.USER);
|
|
8947
8925
|
}
|
|
8948
8926
|
}
|
|
8949
8927
|
};
|
|
@@ -9014,21 +8992,21 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
|
|
|
9014
8992
|
return U.classList.add("qlbt-operation-menu-text"), U.innerText = f, L.appendChild(B), L.appendChild(U), L.addEventListener("click", T.bind(this), !1), L;
|
|
9015
8993
|
}
|
|
9016
8994
|
}
|
|
9017
|
-
function te(
|
|
9018
|
-
return
|
|
8995
|
+
function te(M, c, f, b) {
|
|
8996
|
+
return M.reduce((T, L) => {
|
|
9019
8997
|
let B = d(L.getBoundingClientRect(), b);
|
|
9020
|
-
return f(B, c) && (T =
|
|
8998
|
+
return f(B, c) && (T = M.indexOf(L)), T;
|
|
9021
8999
|
}, !1);
|
|
9022
9000
|
}
|
|
9023
|
-
function Ce(
|
|
9024
|
-
return
|
|
9001
|
+
function Ce(M, c, f, b) {
|
|
9002
|
+
return M.reduce((T, L) => {
|
|
9025
9003
|
let B = d(L.getBoundingClientRect(), b);
|
|
9026
|
-
return f(B, c) && T.push(
|
|
9004
|
+
return f(B, c) && T.push(M.indexOf(L)), T;
|
|
9027
9005
|
}, []);
|
|
9028
9006
|
}
|
|
9029
9007
|
const Ot = a.a.import("delta");
|
|
9030
|
-
function re(
|
|
9031
|
-
const b =
|
|
9008
|
+
function re(M, c, f) {
|
|
9009
|
+
const b = M.parentNode, T = b.parentNode.tagName === "TABLE" ? b.parentNode : b.parentNode.parentNode, L = Array.from(T.querySelectorAll("tr")), B = Array.from(b.querySelectorAll("td")), U = L.indexOf(b) + 1, G = B.indexOf(M) + 1, F = M.getAttribute("colspan") || !1, Y = M.getAttribute("rowspan") || !1, it = M.getAttribute("data-cell-bg") || M.style.backgroundColor;
|
|
9032
9010
|
return c.length() === 0 ? (c = new Ot().insert(`
|
|
9033
9011
|
`, {
|
|
9034
9012
|
"table-cell-line": {
|
|
@@ -9067,8 +9045,8 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
|
|
|
9067
9045
|
}
|
|
9068
9046
|
}, y(Q.attributes, ["table"]))) : Q.attributes && Q.attributes.background && Q.attributes.background === p(it) ? ot.insert(Q.insert, Object.assign({}, y(Q.attributes, ["table", "table-cell-line", "background"]))) : ot.insert(Q.insert, Object.assign({}, y(Q.attributes, ["table", "table-cell-line"]))), ot), new Ot()));
|
|
9069
9047
|
}
|
|
9070
|
-
function Ft(
|
|
9071
|
-
const b =
|
|
9048
|
+
function Ft(M, c, f) {
|
|
9049
|
+
const b = M.parentNode, T = b.parentNode.tagName === "TABLE" ? b.parentNode : b.parentNode.parentNode, L = Array.from(T.querySelectorAll("tr")), B = Array.from(b.querySelectorAll("th")), U = L.indexOf(b) + 1, G = B.indexOf(M) + 1, F = M.getAttribute("colspan") || !1, Y = M.getAttribute("rowspan") || !1;
|
|
9072
9050
|
return c.length() === 0 ? (c = new Ot().insert(`
|
|
9073
9051
|
`, {
|
|
9074
9052
|
"table-cell-line": {
|
|
@@ -9113,14 +9091,14 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
|
|
|
9113
9091
|
}
|
|
9114
9092
|
})) : it.insert(ot.insert, Object.assign({}, y(ot.attributes, ["table", "table-cell-line"]))), it), new Ot()));
|
|
9115
9093
|
}
|
|
9116
|
-
function Ye(
|
|
9094
|
+
function Ye(M, c, f) {
|
|
9117
9095
|
let b = new Ot();
|
|
9118
|
-
const T =
|
|
9096
|
+
const T = M.querySelector("tr");
|
|
9119
9097
|
if (T === null) return b;
|
|
9120
9098
|
const B = Array.from(T.querySelectorAll("td")).concat(Array.from(T.querySelectorAll("th"))).reduce((G, F) => {
|
|
9121
9099
|
const Y = F.getAttribute("colspan") || 1;
|
|
9122
9100
|
return G = G + parseInt(Y, 10), G;
|
|
9123
|
-
}, 0), U =
|
|
9101
|
+
}, 0), U = M.querySelectorAll("col").length;
|
|
9124
9102
|
if (U === B)
|
|
9125
9103
|
return c;
|
|
9126
9104
|
{
|
|
@@ -9222,8 +9200,8 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
|
|
|
9222
9200
|
format: ["table-cell-line"],
|
|
9223
9201
|
collapsed: !0,
|
|
9224
9202
|
offset: 0,
|
|
9225
|
-
handler(
|
|
9226
|
-
const [f, b] = this.quill.getLine(
|
|
9203
|
+
handler(M, c) {
|
|
9204
|
+
const [f, b] = this.quill.getLine(M.index);
|
|
9227
9205
|
return !(!f.prev || f.prev.statics.blotName !== "table-cell-line");
|
|
9228
9206
|
}
|
|
9229
9207
|
},
|
|
@@ -9239,13 +9217,13 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
|
|
|
9239
9217
|
key: "Enter",
|
|
9240
9218
|
shiftKey: null,
|
|
9241
9219
|
format: ["table-cell-line"],
|
|
9242
|
-
handler(
|
|
9220
|
+
handler(M, c) {
|
|
9243
9221
|
if (this.quill.selection && this.quill.selection.composing) return;
|
|
9244
9222
|
const f = a.a.imports.parchment.Scope;
|
|
9245
|
-
|
|
9223
|
+
M.length > 0 && this.quill.scroll.deleteAt(M.index, M.length);
|
|
9246
9224
|
const b = Object.keys(c.format).reduce((T, L) => (this.quill.scroll.query(L, f.BLOCK) && !Array.isArray(c.format[L]) && (T[L] = c.format[L]), T), {});
|
|
9247
|
-
this.quill.insertText(
|
|
9248
|
-
`, b["table-cell-line"], a.a.sources.USER), this.quill.setSelection(
|
|
9225
|
+
this.quill.insertText(M.index, `
|
|
9226
|
+
`, b["table-cell-line"], a.a.sources.USER), this.quill.setSelection(M.index + 1, a.a.sources.SILENT), this.quill.focus(), Object.keys(c.format).forEach((T) => {
|
|
9249
9227
|
b[T] == null && (Array.isArray(c.format[T]) || T !== "link" && this.quill.format(T, c.format[T], a.a.sources.USER));
|
|
9250
9228
|
});
|
|
9251
9229
|
}
|
|
@@ -9255,7 +9233,7 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
|
|
|
9255
9233
|
"down-to-table": {
|
|
9256
9234
|
key: "ArrowDown",
|
|
9257
9235
|
collapsed: !0,
|
|
9258
|
-
handler(
|
|
9236
|
+
handler(M, c) {
|
|
9259
9237
|
const f = c.line.next;
|
|
9260
9238
|
if (f && f.statics.blotName === "table-view") {
|
|
9261
9239
|
const T = f.table().rows()[0].children.head.children.head;
|
|
@@ -9267,7 +9245,7 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
|
|
|
9267
9245
|
"up-to-table": {
|
|
9268
9246
|
key: "ArrowUp",
|
|
9269
9247
|
collapsed: !0,
|
|
9270
|
-
handler(
|
|
9248
|
+
handler(M, c) {
|
|
9271
9249
|
const f = c.line.prev;
|
|
9272
9250
|
if (f && f.statics.blotName === "table-view") {
|
|
9273
9251
|
const b = f.table().rows(), L = b[b.length - 1].children.head.children.head;
|
|
@@ -9277,13 +9255,13 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
|
|
|
9277
9255
|
}
|
|
9278
9256
|
}
|
|
9279
9257
|
};
|
|
9280
|
-
function Se(
|
|
9258
|
+
function Se(M) {
|
|
9281
9259
|
return {
|
|
9282
|
-
key:
|
|
9260
|
+
key: M ? "ArrowUp" : "ArrowDown",
|
|
9283
9261
|
collapsed: !0,
|
|
9284
9262
|
format: ["table-cell-line"],
|
|
9285
9263
|
handler(c, f) {
|
|
9286
|
-
const b =
|
|
9264
|
+
const b = M ? "prev" : "next";
|
|
9287
9265
|
if (f.line[b] != null) return !0;
|
|
9288
9266
|
const L = f.line.parent, B = L.parent[b];
|
|
9289
9267
|
if (B != null && B.statics.blotName === "table-row") {
|
|
@@ -9296,34 +9274,34 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
|
|
|
9296
9274
|
this.quill.setSelection(it, 0, a.a.sources.USER);
|
|
9297
9275
|
} else {
|
|
9298
9276
|
const U = L.table().parent[b];
|
|
9299
|
-
U != null && (
|
|
9277
|
+
U != null && (M ? this.quill.setSelection(U.offset(this.quill.scroll) + U.length() - 1, 0, a.a.sources.USER) : this.quill.setSelection(U.offset(this.quill.scroll), 0, a.a.sources.USER));
|
|
9300
9278
|
}
|
|
9301
9279
|
return !1;
|
|
9302
9280
|
}
|
|
9303
9281
|
};
|
|
9304
9282
|
}
|
|
9305
|
-
function fn(
|
|
9306
|
-
return
|
|
9283
|
+
function fn(M) {
|
|
9284
|
+
return M.statics.blotName === S.blotName;
|
|
9307
9285
|
}
|
|
9308
|
-
function Je(
|
|
9309
|
-
return
|
|
9286
|
+
function Je(M) {
|
|
9287
|
+
return M && M.parent ? fn(M.parent) ? !0 : Je(M.parent) : !1;
|
|
9310
9288
|
}
|
|
9311
9289
|
s.default = Qe;
|
|
9312
|
-
},
|
|
9290
|
+
}),
|
|
9313
9291
|
,
|
|
9314
9292
|
/* 12 */
|
|
9315
9293
|
/***/
|
|
9316
|
-
function(n, s, i) {
|
|
9294
|
+
(function(n, s, i) {
|
|
9317
9295
|
n.exports = i(10);
|
|
9318
|
-
}
|
|
9296
|
+
})
|
|
9319
9297
|
/******/
|
|
9320
9298
|
]).default
|
|
9321
9299
|
);
|
|
9322
9300
|
});
|
|
9323
|
-
}(Ps)), Ps.exports;
|
|
9301
|
+
})(Ps)), Ps.exports;
|
|
9324
9302
|
}
|
|
9325
9303
|
var z1 = H1();
|
|
9326
|
-
const Bl = /* @__PURE__ */
|
|
9304
|
+
const Bl = /* @__PURE__ */ ci(z1), F1 = R.import("delta"), J1 = Wo({
|
|
9327
9305
|
name: "QuillEditor",
|
|
9328
9306
|
inheritAttrs: !1,
|
|
9329
9307
|
props: {
|
|
@@ -9384,9 +9362,9 @@ const Bl = /* @__PURE__ */ yi(z1), F1 = R.import("delta"), Q1 = Ko({
|
|
|
9384
9362
|
"ready"
|
|
9385
9363
|
],
|
|
9386
9364
|
setup: (r, t) => {
|
|
9387
|
-
|
|
9365
|
+
Xo(() => {
|
|
9388
9366
|
o();
|
|
9389
|
-
}),
|
|
9367
|
+
}), Yo(() => {
|
|
9390
9368
|
e = null;
|
|
9391
9369
|
});
|
|
9392
9370
|
let e, n;
|
|
@@ -9512,7 +9490,7 @@ const Bl = /* @__PURE__ */ yi(z1), F1 = R.import("delta"), Q1 = Ko({
|
|
|
9512
9490
|
return (x = e == null ? void 0 : e.root.innerHTML) !== null && x !== void 0 ? x : "";
|
|
9513
9491
|
}, vt = (x) => {
|
|
9514
9492
|
e && (e.root.innerHTML = x);
|
|
9515
|
-
},
|
|
9493
|
+
}, kt = (x, v = "api") => {
|
|
9516
9494
|
const C = e == null ? void 0 : e.clipboard.convert(x);
|
|
9517
9495
|
C && (e == null || e.setContents(C, v));
|
|
9518
9496
|
}, Lt = () => {
|
|
@@ -9547,7 +9525,7 @@ const Bl = /* @__PURE__ */ yi(z1), F1 = R.import("delta"), Q1 = Ko({
|
|
|
9547
9525
|
setContents: rt,
|
|
9548
9526
|
getHTML: At,
|
|
9549
9527
|
setHTML: vt,
|
|
9550
|
-
pasteHTML:
|
|
9528
|
+
pasteHTML: kt,
|
|
9551
9529
|
focus: Lt,
|
|
9552
9530
|
getText: nt,
|
|
9553
9531
|
setText: bt,
|
|
@@ -9558,12 +9536,11 @@ const Bl = /* @__PURE__ */ yi(z1), F1 = R.import("delta"), Q1 = Ko({
|
|
|
9558
9536
|
var r, t;
|
|
9559
9537
|
return [
|
|
9560
9538
|
(t = (r = this.$slots).toolbar) === null || t === void 0 ? void 0 : t.call(r),
|
|
9561
|
-
|
|
9539
|
+
Zo("div", Object.assign({ ref: "editor" }, this.$attrs))
|
|
9562
9540
|
];
|
|
9563
9541
|
}
|
|
9564
9542
|
});
|
|
9565
9543
|
export {
|
|
9566
9544
|
R as Q,
|
|
9567
|
-
|
|
9568
|
-
yi as g
|
|
9545
|
+
J1 as a
|
|
9569
9546
|
};
|