@startinblox/components-ds4go 3.1.0 → 3.1.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/{custom-getter-ZPFnoSjt-BCNOlbJZ-B4tuxA42.js → custom-getter-ZPFnoSjt-BCNOlbJZ-CC58FWc-.js} +1 -1
- package/dist/{index-BSwVRtNS.js → index-juyC2UdH.js} +594 -579
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/components/catalog/ds4go-fact-bundle-holder.ts +6 -0
- package/src/components/solid-fact-bundle-creation.ts +30 -16
- package/src/components/solid-fact-bundle.ts +1 -0
|
@@ -259,11 +259,11 @@ const hNe = (B, I) => {
|
|
|
259
259
|
const H = B.length - 1, X = [];
|
|
260
260
|
let J, be = I === 2 ? "<svg>" : I === 3 ? "<math>" : "", Be = g8;
|
|
261
261
|
for (let rt = 0; rt < H; rt++) {
|
|
262
|
-
const
|
|
262
|
+
const Tt = B[rt];
|
|
263
263
|
let hn, gn, _n = -1, fr = 0;
|
|
264
|
-
for (; fr <
|
|
264
|
+
for (; fr < Tt.length && (Be.lastIndex = fr, gn = Be.exec(Tt), gn !== null); ) fr = Be.lastIndex, Be === g8 ? gn[1] === "!--" ? Be = dge : gn[1] !== void 0 ? Be = cge : gn[2] !== void 0 ? (Abe.test(gn[2]) && (J = RegExp("</" + gn[2], "g")), Be = v$) : gn[3] !== void 0 && (Be = v$) : Be === v$ ? gn[0] === ">" ? (Be = J ?? g8, _n = -1) : gn[1] === void 0 ? _n = -2 : (_n = Be.lastIndex - gn[2].length, hn = gn[1], Be = gn[3] === void 0 ? v$ : gn[3] === '"' ? hge : uge) : Be === hge || Be === uge ? Be = v$ : Be === dge || Be === cge ? Be = g8 : (Be = v$, J = void 0);
|
|
265
265
|
const zn = Be === v$ && B[rt + 1].startsWith("/>") ? " " : "";
|
|
266
|
-
be += Be === g8 ?
|
|
266
|
+
be += Be === g8 ? Tt + dNe : _n >= 0 ? (X.push(hn), Tt.slice(0, _n) + kbe + Tt.slice(_n) + nS + zn) : Tt + nS + (_n === -2 ? rt : zn);
|
|
267
267
|
}
|
|
268
268
|
return [Tbe(B, be + (B[H] || "<?>") + (I === 2 ? "</svg>" : I === 3 ? "</math>" : "")), X];
|
|
269
269
|
};
|
|
@@ -272,29 +272,29 @@ class R8 {
|
|
|
272
272
|
let J;
|
|
273
273
|
this.parts = [];
|
|
274
274
|
let be = 0, Be = 0;
|
|
275
|
-
const rt = I.length - 1,
|
|
275
|
+
const rt = I.length - 1, Tt = this.parts, [hn, gn] = hNe(I, H);
|
|
276
276
|
if (this.el = R8.createElement(hn, X), E$.currentNode = this.el.content, H === 2 || H === 3) {
|
|
277
277
|
const _n = this.el.content.firstChild;
|
|
278
278
|
_n.replaceWith(..._n.childNodes);
|
|
279
279
|
}
|
|
280
|
-
for (; (J = E$.nextNode()) !== null &&
|
|
280
|
+
for (; (J = E$.nextNode()) !== null && Tt.length < rt; ) {
|
|
281
281
|
if (J.nodeType === 1) {
|
|
282
282
|
if (J.hasAttributes()) for (const _n of J.getAttributeNames()) if (_n.endsWith(kbe)) {
|
|
283
283
|
const fr = gn[Be++], zn = J.getAttribute(_n).split(nS), cr = /([.?@])?(.*)/.exec(fr);
|
|
284
|
-
|
|
285
|
-
} else _n.startsWith(nS) && (
|
|
284
|
+
Tt.push({ type: 1, index: be, name: cr[2], strings: zn, ctor: cr[1] === "." ? pNe : cr[1] === "?" ? fNe : cr[1] === "@" ? gNe : XQ }), J.removeAttribute(_n);
|
|
285
|
+
} else _n.startsWith(nS) && (Tt.push({ type: 6, index: be }), J.removeAttribute(_n));
|
|
286
286
|
if (Abe.test(J.tagName)) {
|
|
287
287
|
const _n = J.textContent.split(nS), fr = _n.length - 1;
|
|
288
288
|
if (fr > 0) {
|
|
289
289
|
J.textContent = FQ ? FQ.emptyScript : "";
|
|
290
|
-
for (let zn = 0; zn < fr; zn++) J.append(_n[zn], T8()), E$.nextNode(),
|
|
290
|
+
for (let zn = 0; zn < fr; zn++) J.append(_n[zn], T8()), E$.nextNode(), Tt.push({ type: 2, index: ++be });
|
|
291
291
|
J.append(_n[fr], T8());
|
|
292
292
|
}
|
|
293
293
|
}
|
|
294
|
-
} else if (J.nodeType === 8) if (J.data === $be)
|
|
294
|
+
} else if (J.nodeType === 8) if (J.data === $be) Tt.push({ type: 2, index: be });
|
|
295
295
|
else {
|
|
296
296
|
let _n = -1;
|
|
297
|
-
for (; (_n = J.data.indexOf(nS, _n + 1)) !== -1; )
|
|
297
|
+
for (; (_n = J.data.indexOf(nS, _n + 1)) !== -1; ) Tt.push({ type: 7, index: be }), _n += nS.length - 1;
|
|
298
298
|
}
|
|
299
299
|
be++;
|
|
300
300
|
}
|
|
@@ -323,13 +323,13 @@ class mNe {
|
|
|
323
323
|
u(I) {
|
|
324
324
|
const { el: { content: H }, parts: X } = this._$AD, J = (I?.creationScope ?? k$).importNode(H, !0);
|
|
325
325
|
E$.currentNode = J;
|
|
326
|
-
let be = E$.nextNode(), Be = 0, rt = 0,
|
|
327
|
-
for (;
|
|
328
|
-
if (Be ===
|
|
326
|
+
let be = E$.nextNode(), Be = 0, rt = 0, Tt = X[0];
|
|
327
|
+
for (; Tt !== void 0; ) {
|
|
328
|
+
if (Be === Tt.index) {
|
|
329
329
|
let hn;
|
|
330
|
-
|
|
330
|
+
Tt.type === 2 ? hn = new M8(be, be.nextSibling, this, I) : Tt.type === 1 ? hn = new Tt.ctor(be, Tt.name, Tt.strings, this, I) : Tt.type === 6 && (hn = new bNe(be, this, I)), this._$AV.push(hn), Tt = X[++rt];
|
|
331
331
|
}
|
|
332
|
-
Be !==
|
|
332
|
+
Be !== Tt?.index && (be = E$.nextNode(), Be++);
|
|
333
333
|
}
|
|
334
334
|
return E$.currentNode = k$, J;
|
|
335
335
|
}
|
|
@@ -413,8 +413,8 @@ class XQ {
|
|
|
413
413
|
if (be === void 0) I = a4(this, I, H, 0), Be = !O8(I) || I !== this._$AH && I !== $$, Be && (this._$AH = I);
|
|
414
414
|
else {
|
|
415
415
|
const rt = I;
|
|
416
|
-
let
|
|
417
|
-
for (I = be[0],
|
|
416
|
+
let Tt, hn;
|
|
417
|
+
for (I = be[0], Tt = 0; Tt < be.length - 1; Tt++) hn = a4(this, rt[X + Tt], H, Tt), hn === $$ && (hn = this._$AH[Tt]), Be ||= !O8(hn) || hn !== this._$AH[Tt], hn === Ar ? I = Ar : I !== Ar && (I += (hn ?? "") + be[Tt + 1]), this._$AH[Tt] = hn;
|
|
418
418
|
}
|
|
419
419
|
Be && !J && this.j(I);
|
|
420
420
|
}
|
|
@@ -511,8 +511,8 @@ const NNe = { attribute: !0, type: String, converter: BQ, reflect: !1, hasChange
|
|
|
511
511
|
if (be === void 0 && globalThis.litPropertyMetadata.set(J, be = /* @__PURE__ */ new Map()), X === "setter" && ((B = Object.create(B)).wrapped = !0), be.set(H.name, B), X === "accessor") {
|
|
512
512
|
const { name: Be } = H;
|
|
513
513
|
return { set(rt) {
|
|
514
|
-
const
|
|
515
|
-
I.set.call(this, rt), this.requestUpdate(Be,
|
|
514
|
+
const Tt = I.get.call(this);
|
|
515
|
+
I.set.call(this, rt), this.requestUpdate(Be, Tt, B, !0, rt);
|
|
516
516
|
}, init(rt) {
|
|
517
517
|
return rt !== void 0 && this.C(Be, void 0, B, rt), rt;
|
|
518
518
|
} };
|
|
@@ -520,8 +520,8 @@ const NNe = { attribute: !0, type: String, converter: BQ, reflect: !1, hasChange
|
|
|
520
520
|
if (X === "setter") {
|
|
521
521
|
const { name: Be } = H;
|
|
522
522
|
return function(rt) {
|
|
523
|
-
const
|
|
524
|
-
I.call(this, rt), this.requestUpdate(Be,
|
|
523
|
+
const Tt = this[Be];
|
|
524
|
+
I.call(this, rt), this.requestUpdate(Be, Tt, B, !0, rt);
|
|
525
525
|
};
|
|
526
526
|
}
|
|
527
527
|
throw Error("Unsupported decorator location: " + X);
|
|
@@ -743,7 +743,7 @@ class rp extends YQ {
|
|
|
743
743
|
const J = H.getAttribute("navigation-subrouter"), be = H.getAttribute("navigation-resource"), Be = H.getAttribute("navigation-rdf-type");
|
|
744
744
|
if (Be) {
|
|
745
745
|
const rt = window.orbit?.components?.filter(
|
|
746
|
-
(
|
|
746
|
+
(Tt) => Tt?.routeAttributes?.["rdf-type"] === Be
|
|
747
747
|
);
|
|
748
748
|
rt && (X = rt[0]?.uniq);
|
|
749
749
|
}
|
|
@@ -774,15 +774,15 @@ class rp extends YQ {
|
|
|
774
774
|
"@type": I["@type"],
|
|
775
775
|
"@context": I.serverContext,
|
|
776
776
|
_originalResource: I
|
|
777
|
-
}, Be = X.map(async (
|
|
778
|
-
if (!J?.includes(
|
|
779
|
-
let hn = await I.get(
|
|
780
|
-
return
|
|
777
|
+
}, Be = X.map(async (Tt) => {
|
|
778
|
+
if (!J?.includes(Tt.key)) return;
|
|
779
|
+
let hn = await I.get(Tt.key);
|
|
780
|
+
return Tt.expand && (hn = await this._getProxyValue(hn, H, X)), Tt.cast && (hn = await Tt.cast(hn)), { prop: Tt, value: hn };
|
|
781
781
|
}), rt = (await Promise.all(Be)).filter(
|
|
782
|
-
(
|
|
782
|
+
(Tt) => Tt !== void 0
|
|
783
783
|
);
|
|
784
|
-
for (const { prop:
|
|
785
|
-
hn !== void 0 && (be[
|
|
784
|
+
for (const { prop: Tt, value: hn } of rt)
|
|
785
|
+
hn !== void 0 && (be[Tt.value] = hn);
|
|
786
786
|
return await this._responseAdaptator(be);
|
|
787
787
|
}
|
|
788
788
|
async _hasCherryPickedProperties(I) {
|
|
@@ -1026,9 +1026,9 @@ const Sme = (B, I, H, X) => {
|
|
|
1026
1026
|
const X = H.toLowerCase(), J = I.split(".");
|
|
1027
1027
|
return B.map((be) => {
|
|
1028
1028
|
let Be = be;
|
|
1029
|
-
for (const
|
|
1030
|
-
if (Be && typeof Be == "object" &&
|
|
1031
|
-
Be = Be[
|
|
1029
|
+
for (const Tt of J)
|
|
1030
|
+
if (Be && typeof Be == "object" && Tt in Be)
|
|
1031
|
+
Be = Be[Tt];
|
|
1032
1032
|
else {
|
|
1033
1033
|
Be = null;
|
|
1034
1034
|
break;
|
|
@@ -1087,26 +1087,26 @@ const Sme = (B, I, H, X) => {
|
|
|
1087
1087
|
return H;
|
|
1088
1088
|
}, $0 = (B, I, H = "asc") => {
|
|
1089
1089
|
const X = Array.isArray(I) ? I : [I], J = H !== "asc", be = [...B], rt = (() => {
|
|
1090
|
-
const
|
|
1091
|
-
if (typeof
|
|
1090
|
+
const Tt = w$(be[0], X);
|
|
1091
|
+
if (typeof Tt == "number")
|
|
1092
1092
|
return (hn, gn) => {
|
|
1093
1093
|
const _n = w$(hn, X), fr = w$(gn, X);
|
|
1094
1094
|
return _n == null ? fr == null ? 0 : 1 : fr == null ? -1 : _n - fr;
|
|
1095
1095
|
};
|
|
1096
|
-
if (typeof
|
|
1096
|
+
if (typeof Tt == "string")
|
|
1097
1097
|
return (hn, gn) => {
|
|
1098
1098
|
const _n = w$(hn, X), fr = w$(gn, X);
|
|
1099
1099
|
return _n == null ? fr == null ? 0 : 1 : fr == null ? -1 : _n.localeCompare(fr);
|
|
1100
1100
|
};
|
|
1101
|
-
if (
|
|
1101
|
+
if (Tt instanceof Date)
|
|
1102
1102
|
return (hn, gn) => {
|
|
1103
1103
|
const _n = w$(hn, X), fr = w$(gn, X);
|
|
1104
1104
|
return _n == null ? fr == null ? 0 : 1 : fr == null ? -1 : _n.getTime() - fr.getTime();
|
|
1105
1105
|
};
|
|
1106
1106
|
throw new TypeError(`Unsupported data type for key "${I}"`);
|
|
1107
1107
|
})();
|
|
1108
|
-
return be.sort((
|
|
1109
|
-
const gn = rt(
|
|
1108
|
+
return be.sort((Tt, hn) => {
|
|
1109
|
+
const gn = rt(Tt, hn);
|
|
1110
1110
|
return J ? -gn : gn;
|
|
1111
1111
|
}), be;
|
|
1112
1112
|
}, gge = /* @__PURE__ */ new Map(), LNe = (B) => {
|
|
@@ -1148,11 +1148,11 @@ const BNe = (B, ...I) => ({
|
|
|
1148
1148
|
return X;
|
|
1149
1149
|
};
|
|
1150
1150
|
const jbe = ((B) => FNe(B) ? Mbe(B.strings, B.values) : B);
|
|
1151
|
-
let
|
|
1151
|
+
let aa = jbe, yge = !1;
|
|
1152
1152
|
function VNe(B) {
|
|
1153
1153
|
if (yge)
|
|
1154
1154
|
throw new Error("lit-localize can only be configured once");
|
|
1155
|
-
|
|
1155
|
+
aa = B, yge = !0;
|
|
1156
1156
|
}
|
|
1157
1157
|
class HNe {
|
|
1158
1158
|
constructor(I) {
|
|
@@ -1186,10 +1186,10 @@ const Qw = [];
|
|
|
1186
1186
|
for (let B = 0; B < 256; B++)
|
|
1187
1187
|
Qw[B] = (B >> 4 & 15).toString(16) + (B & 15).toString(16);
|
|
1188
1188
|
function WNe(B) {
|
|
1189
|
-
let I = 0, H = 8997, X = 0, J = 33826, be = 0, Be = 40164, rt = 0,
|
|
1189
|
+
let I = 0, H = 8997, X = 0, J = 33826, be = 0, Be = 40164, rt = 0, Tt = 52210;
|
|
1190
1190
|
for (let hn = 0; hn < B.length; hn++)
|
|
1191
|
-
H ^= B.charCodeAt(hn), I = H * 435, X = J * 435, be = Be * 435, rt =
|
|
1192
|
-
return Qw[
|
|
1191
|
+
H ^= B.charCodeAt(hn), I = H * 435, X = J * 435, be = Be * 435, rt = Tt * 435, be += H << 8, rt += J << 8, X += I >>> 16, H = I & 65535, be += X >>> 16, J = X & 65535, Tt = rt + (be >>> 16) & 65535, Be = be & 65535;
|
|
1192
|
+
return Qw[Tt >> 8] + Qw[Tt & 255] + Qw[Be >> 8] + Qw[Be & 255] + Qw[J >> 8] + Qw[J & 255] + Qw[H >> 8] + Qw[H & 255];
|
|
1193
1193
|
}
|
|
1194
1194
|
const GNe = "", KNe = "h", ZNe = "s";
|
|
1195
1195
|
function JNe(B, I) {
|
|
@@ -1413,8 +1413,8 @@ function d_e() {
|
|
|
1413
1413
|
return be && be.__esModule ? be : { default: be };
|
|
1414
1414
|
}
|
|
1415
1415
|
var X = function(Be, rt) {
|
|
1416
|
-
var
|
|
1417
|
-
return
|
|
1416
|
+
var Tt = (0, I.default)(Be);
|
|
1417
|
+
return Tt.map(function() {
|
|
1418
1418
|
return rt();
|
|
1419
1419
|
});
|
|
1420
1420
|
}, J = X;
|
|
@@ -1458,8 +1458,8 @@ function Wbe() {
|
|
|
1458
1458
|
}
|
|
1459
1459
|
});
|
|
1460
1460
|
var I = rt(o_e()), H = rt(a_e()), X = rt(s_e()), J = rt(l_e()), be = rt(Ube()), Be = rt(d_e());
|
|
1461
|
-
function rt(
|
|
1462
|
-
return
|
|
1461
|
+
function rt(Tt) {
|
|
1462
|
+
return Tt && Tt.__esModule ? Tt : { default: Tt };
|
|
1463
1463
|
}
|
|
1464
1464
|
})(ome)), ome;
|
|
1465
1465
|
}
|
|
@@ -1536,8 +1536,8 @@ function c_e() {
|
|
|
1536
1536
|
return this.words[zn];
|
|
1537
1537
|
}
|
|
1538
1538
|
}]), hn;
|
|
1539
|
-
})(),
|
|
1540
|
-
B.default =
|
|
1539
|
+
})(), Tt = rt;
|
|
1540
|
+
B.default = Tt;
|
|
1541
1541
|
})(rme)), rme;
|
|
1542
1542
|
}
|
|
1543
1543
|
var Ige;
|
|
@@ -1560,7 +1560,7 @@ function u_e() {
|
|
|
1560
1560
|
Kn.enumerable = Kn.enumerable || !1, Kn.configurable = !0, "value" in Kn && (Kn.writable = !0), Object.defineProperty(fr, Kn.key, Kn);
|
|
1561
1561
|
}
|
|
1562
1562
|
}
|
|
1563
|
-
function
|
|
1563
|
+
function Tt(fr, zn, cr) {
|
|
1564
1564
|
return zn && rt(fr.prototype, zn), Object.defineProperty(fr, "prototype", { writable: !1 }), fr;
|
|
1565
1565
|
}
|
|
1566
1566
|
function hn(fr, zn, cr) {
|
|
@@ -1573,7 +1573,7 @@ function u_e() {
|
|
|
1573
1573
|
throw new Error("".concat(cr, " is an invalid format. Please use ").concat(I.FORMATS.join(" or "), "."));
|
|
1574
1574
|
this.generator = new X.default(zn);
|
|
1575
1575
|
}
|
|
1576
|
-
return
|
|
1576
|
+
return Tt(fr, [{
|
|
1577
1577
|
key: "getLineEnding",
|
|
1578
1578
|
value: function() {
|
|
1579
1579
|
return this.suffix ? this.suffix : !(0, J.isReactNative)() && (0, J.isNode)() && (0, J.isWindows)() ? H.LINE_ENDINGS.WIN32 : H.LINE_ENDINGS.POSIX;
|
|
@@ -1628,7 +1628,7 @@ function h_e() {
|
|
|
1628
1628
|
return rt && rt.__esModule ? rt : { default: rt };
|
|
1629
1629
|
}
|
|
1630
1630
|
var Be = function() {
|
|
1631
|
-
var
|
|
1631
|
+
var Tt = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, hn = Tt.count, gn = hn === void 0 ? 1 : hn, _n = Tt.format, fr = _n === void 0 ? I.FORMAT_PLAIN : _n, zn = Tt.paragraphLowerBound, cr = zn === void 0 ? 3 : zn, Kn = Tt.paragraphUpperBound, jn = Kn === void 0 ? 7 : Kn, Eo = Tt.random, Mo = Tt.sentenceLowerBound, jo = Mo === void 0 ? 5 : Mo, Aa = Tt.sentenceUpperBound, na = Aa === void 0 ? 15 : Aa, Ns = Tt.units, Bl = Ns === void 0 ? H.UNIT_SENTENCES : Ns, yc = Tt.words, lS = yc === void 0 ? X.WORDS : yc, Ng = Tt.suffix, _g = Ng === void 0 ? "" : Ng, aN = {
|
|
1632
1632
|
random: Eo,
|
|
1633
1633
|
sentencesPerParagraph: {
|
|
1634
1634
|
max: jn,
|
|
@@ -1905,8 +1905,8 @@ const C_e = { attribute: !0, type: String, converter: zQ, reflect: !1, hasChange
|
|
|
1905
1905
|
if (be === void 0 && globalThis.litPropertyMetadata.set(J, be = /* @__PURE__ */ new Map()), X === "setter" && ((B = Object.create(B)).wrapped = !0), be.set(H.name, B), X === "accessor") {
|
|
1906
1906
|
const { name: Be } = H;
|
|
1907
1907
|
return { set(rt) {
|
|
1908
|
-
const
|
|
1909
|
-
I.set.call(this, rt), this.requestUpdate(Be,
|
|
1908
|
+
const Tt = I.get.call(this);
|
|
1909
|
+
I.set.call(this, rt), this.requestUpdate(Be, Tt, B, !0, rt);
|
|
1910
1910
|
}, init(rt) {
|
|
1911
1911
|
return rt !== void 0 && this.C(Be, void 0, B, rt), rt;
|
|
1912
1912
|
} };
|
|
@@ -1914,8 +1914,8 @@ const C_e = { attribute: !0, type: String, converter: zQ, reflect: !1, hasChange
|
|
|
1914
1914
|
if (X === "setter") {
|
|
1915
1915
|
const { name: Be } = H;
|
|
1916
1916
|
return function(rt) {
|
|
1917
|
-
const
|
|
1918
|
-
I.call(this, rt), this.requestUpdate(Be,
|
|
1917
|
+
const Tt = this[Be];
|
|
1918
|
+
I.call(this, rt), this.requestUpdate(Be, Tt, B, !0, rt);
|
|
1919
1919
|
};
|
|
1920
1920
|
}
|
|
1921
1921
|
throw Error("Unsupported decorator location: " + X);
|
|
@@ -1995,7 +1995,7 @@ class O0 extends Jme {
|
|
|
1995
1995
|
const J = H.getAttribute("navigation-subrouter"), be = H.getAttribute("navigation-resource"), Be = H.getAttribute("navigation-rdf-type");
|
|
1996
1996
|
if (Be) {
|
|
1997
1997
|
const rt = window.orbit?.components?.filter(
|
|
1998
|
-
(
|
|
1998
|
+
(Tt) => Tt?.routeAttributes?.["rdf-type"] === Be
|
|
1999
1999
|
);
|
|
2000
2000
|
rt && (X = rt[0]?.uniq);
|
|
2001
2001
|
}
|
|
@@ -2026,15 +2026,15 @@ class O0 extends Jme {
|
|
|
2026
2026
|
"@type": I["@type"],
|
|
2027
2027
|
"@context": I.serverContext,
|
|
2028
2028
|
_originalResource: I
|
|
2029
|
-
}, Be = X.map(async (
|
|
2030
|
-
if (!J?.includes(
|
|
2031
|
-
let hn = await I.get(
|
|
2032
|
-
return
|
|
2029
|
+
}, Be = X.map(async (Tt) => {
|
|
2030
|
+
if (!J?.includes(Tt.key)) return;
|
|
2031
|
+
let hn = await I.get(Tt.key);
|
|
2032
|
+
return Tt.expand && (hn = await this._getProxyValue(hn, H, X)), Tt.cast && (hn = await Tt.cast(hn)), { prop: Tt, value: hn };
|
|
2033
2033
|
}), rt = (await Promise.all(Be)).filter(
|
|
2034
|
-
(
|
|
2034
|
+
(Tt) => Tt !== void 0
|
|
2035
2035
|
);
|
|
2036
|
-
for (const { prop:
|
|
2037
|
-
hn !== void 0 && (be[
|
|
2036
|
+
for (const { prop: Tt, value: hn } of rt)
|
|
2037
|
+
hn !== void 0 && (be[Tt.value] = hn);
|
|
2038
2038
|
return await this._responseAdaptator(be);
|
|
2039
2039
|
}
|
|
2040
2040
|
async _hasCherryPickedProperties(I) {
|
|
@@ -2170,14 +2170,14 @@ class O_e {
|
|
|
2170
2170
|
(Be, rt) => H.filter?.(Be, rt, X)
|
|
2171
2171
|
));
|
|
2172
2172
|
const be = J.map((Be, rt) => {
|
|
2173
|
-
const
|
|
2173
|
+
const Tt = {
|
|
2174
2174
|
"@type": H.itemType
|
|
2175
2175
|
};
|
|
2176
2176
|
for (const [hn, gn] of Object.entries(H.itemFields)) {
|
|
2177
2177
|
const _n = gn(Be, rt, X);
|
|
2178
|
-
_n !== void 0 && (
|
|
2178
|
+
_n !== void 0 && (Tt[hn] = _n);
|
|
2179
2179
|
}
|
|
2180
|
-
return
|
|
2180
|
+
return Tt;
|
|
2181
2181
|
});
|
|
2182
2182
|
return {
|
|
2183
2183
|
"@type": H.containerType,
|
|
@@ -2194,8 +2194,8 @@ class O_e {
|
|
|
2194
2194
|
const be = {};
|
|
2195
2195
|
H.type && (be["@type"] = H.type);
|
|
2196
2196
|
for (const [Be, rt] of Object.entries(H.fields)) {
|
|
2197
|
-
let
|
|
2198
|
-
Array.isArray(rt) ?
|
|
2197
|
+
let Tt;
|
|
2198
|
+
Array.isArray(rt) ? Tt = e4(J, rt) : Tt = this.mapField(J, rt, X), Tt !== void 0 && (be[Be] = Tt);
|
|
2199
2199
|
}
|
|
2200
2200
|
return Object.keys(be).length > (H.type ? 1 : 0) ? be : null;
|
|
2201
2201
|
}
|
|
@@ -2531,17 +2531,17 @@ function I_e() {
|
|
|
2531
2531
|
const rt = J.indexOf(":");
|
|
2532
2532
|
if (rt >= 0)
|
|
2533
2533
|
return H(J, rt);
|
|
2534
|
-
const
|
|
2535
|
-
if (
|
|
2534
|
+
const Tt = be.indexOf(":");
|
|
2535
|
+
if (Tt < 0)
|
|
2536
2536
|
throw new Error(`Found invalid baseIRI '${be}' for value '${J}'`);
|
|
2537
|
-
const hn = be.substr(0,
|
|
2537
|
+
const hn = be.substr(0, Tt + 1);
|
|
2538
2538
|
if (J.indexOf("//") === 0)
|
|
2539
2539
|
return hn + H(J, rt);
|
|
2540
2540
|
let gn;
|
|
2541
|
-
if (be.indexOf("//",
|
|
2542
|
-
if (gn = be.indexOf("/",
|
|
2543
|
-
return be.length >
|
|
2544
|
-
} else if (gn = be.indexOf("/",
|
|
2541
|
+
if (be.indexOf("//", Tt) === Tt + 1) {
|
|
2542
|
+
if (gn = be.indexOf("/", Tt + 3), gn < 0)
|
|
2543
|
+
return be.length > Tt + 3 ? be + "/" + H(J, rt) : hn + H(J, rt);
|
|
2544
|
+
} else if (gn = be.indexOf("/", Tt + 1), gn < 0)
|
|
2545
2545
|
return hn + H(J, rt);
|
|
2546
2546
|
if (J.indexOf("/") === 0)
|
|
2547
2547
|
return be.substr(0, gn) + I(J);
|
|
@@ -2590,8 +2590,8 @@ function I_e() {
|
|
|
2590
2590
|
const rt = J.indexOf("/", Be);
|
|
2591
2591
|
if (rt < 0)
|
|
2592
2592
|
return J;
|
|
2593
|
-
const
|
|
2594
|
-
return
|
|
2593
|
+
const Tt = J.substr(0, rt), hn = J.substr(rt);
|
|
2594
|
+
return Tt + I(hn);
|
|
2595
2595
|
}
|
|
2596
2596
|
Kw.removeDotSegmentsOfPath = H;
|
|
2597
2597
|
function X(J) {
|
|
@@ -2638,7 +2638,7 @@ function Kbe() {
|
|
|
2638
2638
|
URI: 2,
|
|
2639
2639
|
ATTR: 4
|
|
2640
2640
|
};
|
|
2641
|
-
function
|
|
2641
|
+
function Tt(cr) {
|
|
2642
2642
|
return cr.replace(I, "");
|
|
2643
2643
|
}
|
|
2644
2644
|
function hn(cr) {
|
|
@@ -2707,7 +2707,7 @@ function Kbe() {
|
|
|
2707
2707
|
return !1;
|
|
2708
2708
|
}
|
|
2709
2709
|
parse(Kn, jn) {
|
|
2710
|
-
jn = jn || 0, Kn = jn ? Kn.slice(jn) : Kn, Kn =
|
|
2710
|
+
jn = jn || 0, Kn = jn ? Kn.slice(jn) : Kn, Kn = Tt(Kn).replace(X, "");
|
|
2711
2711
|
for (var Eo = rt.IDLE, Mo = Kn.length, jn = 0, jo = null; jn < Mo; )
|
|
2712
2712
|
if (Eo === rt.IDLE) {
|
|
2713
2713
|
if (hn(Kn[jn])) {
|
|
@@ -2738,7 +2738,7 @@ function Kbe() {
|
|
|
2738
2738
|
}
|
|
2739
2739
|
var Aa = Kn.indexOf("=", jn);
|
|
2740
2740
|
Aa === -1 && (Aa = Kn.indexOf(";", jn)), Aa === -1 && (Aa = Kn.length);
|
|
2741
|
-
var na =
|
|
2741
|
+
var na = Tt(Kn.slice(jn, Aa)).toLowerCase(), Ns = "";
|
|
2742
2742
|
if (jn = Aa + 1, jn = gn(Kn, jn), Kn[jn] === '"')
|
|
2743
2743
|
for (jn++; jn < Mo; ) {
|
|
2744
2744
|
if (Kn[jn] === '"') {
|
|
@@ -2824,9 +2824,9 @@ function Zbe() {
|
|
|
2824
2824
|
return await be.json();
|
|
2825
2825
|
if (be.headers.has("Link")) {
|
|
2826
2826
|
let rt;
|
|
2827
|
-
if (be.headers.forEach((
|
|
2827
|
+
if (be.headers.forEach((Tt, hn) => {
|
|
2828
2828
|
if (hn === "link") {
|
|
2829
|
-
const gn = (0, I.parse)(
|
|
2829
|
+
const gn = (0, I.parse)(Tt);
|
|
2830
2830
|
for (const _n of gn.get("type", "application/ld+json"))
|
|
2831
2831
|
if (_n.rel === "alternate") {
|
|
2832
2832
|
if (rt)
|
|
@@ -2981,8 +2981,8 @@ function Xme() {
|
|
|
2981
2981
|
static deepEqual(H, X) {
|
|
2982
2982
|
const J = Object.keys(H), be = Object.keys(X);
|
|
2983
2983
|
return J.length !== be.length ? !1 : J.every((Be) => {
|
|
2984
|
-
const rt = H[Be],
|
|
2985
|
-
return rt ===
|
|
2984
|
+
const rt = H[Be], Tt = X[Be];
|
|
2985
|
+
return rt === Tt || rt !== null && Tt !== null && typeof rt == "object" && typeof Tt == "object" && this.deepEqual(rt, Tt);
|
|
2986
2986
|
});
|
|
2987
2987
|
}
|
|
2988
2988
|
};
|
|
@@ -3084,7 +3084,7 @@ function Jbe() {
|
|
|
3084
3084
|
* @return {string} The expanded term, the term as-is, or null if it was explicitly disabled in the context.
|
|
3085
3085
|
* @throws If the term is aliased to an invalid value (not a string, IRI or keyword).
|
|
3086
3086
|
*/
|
|
3087
|
-
expandTerm(Be, rt,
|
|
3087
|
+
expandTerm(Be, rt, Tt = B.defaultExpandOptions) {
|
|
3088
3088
|
const hn = this.contextRaw[Be];
|
|
3089
3089
|
if (hn === null || hn && hn["@id"] === null)
|
|
3090
3090
|
return null;
|
|
@@ -3101,16 +3101,16 @@ function Jbe() {
|
|
|
3101
3101
|
if (_n) {
|
|
3102
3102
|
const jn = this.contextRaw[_n], Eo = X.Util.getContextValueId(jn);
|
|
3103
3103
|
if (Eo) {
|
|
3104
|
-
if (typeof jn == "string" || !
|
|
3105
|
-
if (!X.Util.isSimpleTermDefinitionPrefix(Eo,
|
|
3104
|
+
if (typeof jn == "string" || !Tt.allowPrefixForcing) {
|
|
3105
|
+
if (!X.Util.isSimpleTermDefinitionPrefix(Eo, Tt))
|
|
3106
3106
|
return Be;
|
|
3107
3107
|
} else if (Eo[0] !== "_" && !Kn && !jn["@prefix"] && !(Be in this.contextRaw))
|
|
3108
3108
|
return Be;
|
|
3109
3109
|
return Eo + Be.substr(_n.length + 1);
|
|
3110
3110
|
}
|
|
3111
|
-
} else if (rt && (fr || fr === "" ||
|
|
3111
|
+
} else if (rt && (fr || fr === "" || Tt.allowVocabRelativeToBase && cr && zn) && !Kn && !X.Util.isCompactIri(Be))
|
|
3112
3112
|
if (zn) {
|
|
3113
|
-
if (
|
|
3113
|
+
if (Tt.allowVocabRelativeToBase)
|
|
3114
3114
|
return (fr || cr ? (0, I.resolve)(fr, cr) : "") + Be;
|
|
3115
3115
|
throw new H.ErrorCoded(`Relative vocab expansion for term '${Be}' with vocab '${fr}' is not allowed.`, H.ERROR_CODES.INVALID_VOCAB_MAPPING);
|
|
3116
3116
|
} else
|
|
@@ -3136,7 +3136,7 @@ function Jbe() {
|
|
|
3136
3136
|
return Be.substr(this.contextRaw["@vocab"].length);
|
|
3137
3137
|
if (!rt && this.contextRaw["@base"] && Be.startsWith(this.contextRaw["@base"]))
|
|
3138
3138
|
return Be.substr(this.contextRaw["@base"].length);
|
|
3139
|
-
const
|
|
3139
|
+
const Tt = { prefix: "", suffix: Be };
|
|
3140
3140
|
for (const hn in this.contextRaw) {
|
|
3141
3141
|
const gn = this.contextRaw[hn];
|
|
3142
3142
|
if (gn && !X.Util.isPotentialKeyword(hn)) {
|
|
@@ -3144,13 +3144,13 @@ function Jbe() {
|
|
|
3144
3144
|
if (Be.startsWith(_n)) {
|
|
3145
3145
|
const fr = Be.substr(_n.length);
|
|
3146
3146
|
if (fr)
|
|
3147
|
-
fr.length <
|
|
3147
|
+
fr.length < Tt.suffix.length && (Tt.prefix = hn, Tt.suffix = fr);
|
|
3148
3148
|
else if (rt)
|
|
3149
3149
|
return hn;
|
|
3150
3150
|
}
|
|
3151
3151
|
}
|
|
3152
3152
|
}
|
|
3153
|
-
return
|
|
3153
|
+
return Tt.prefix ? Tt.prefix + ":" + Tt.suffix : Be;
|
|
3154
3154
|
}
|
|
3155
3155
|
}
|
|
3156
3156
|
B.JsonLdContextNormalized = J, B.defaultExpandOptions = {
|
|
@@ -3178,11 +3178,11 @@ function L_e() {
|
|
|
3178
3178
|
* @return {boolean} If validation passed.
|
|
3179
3179
|
* Can only be false if strictRange is false and the string value did not pass the regex.
|
|
3180
3180
|
*/
|
|
3181
|
-
static validateLanguage(rt,
|
|
3181
|
+
static validateLanguage(rt, Tt, hn) {
|
|
3182
3182
|
if (typeof rt != "string")
|
|
3183
3183
|
throw new I.ErrorCoded(`The value of an '@language' must be a string, got '${JSON.stringify(rt)}'`, hn);
|
|
3184
3184
|
if (!J.Util.REGEX_LANGUAGE_TAG.test(rt)) {
|
|
3185
|
-
if (
|
|
3185
|
+
if (Tt)
|
|
3186
3186
|
throw new I.ErrorCoded(`The value of an '@language' must be a valid language tag, got '${JSON.stringify(rt)}'`, hn);
|
|
3187
3187
|
return !1;
|
|
3188
3188
|
}
|
|
@@ -3196,11 +3196,11 @@ function L_e() {
|
|
|
3196
3196
|
* @return {boolean} If validation passed.
|
|
3197
3197
|
* Can only be false if strictRange is false and the string value did not pass the regex.
|
|
3198
3198
|
*/
|
|
3199
|
-
static validateDirection(rt,
|
|
3199
|
+
static validateDirection(rt, Tt) {
|
|
3200
3200
|
if (typeof rt != "string")
|
|
3201
3201
|
throw new I.ErrorCoded(`The value of an '@direction' must be a string, got '${JSON.stringify(rt)}'`, I.ERROR_CODES.INVALID_BASE_DIRECTION);
|
|
3202
3202
|
if (!J.Util.REGEX_DIRECTION_TAG.test(rt)) {
|
|
3203
|
-
if (
|
|
3203
|
+
if (Tt)
|
|
3204
3204
|
throw new I.ErrorCoded(`The value of an '@direction' must be 'ltr' or 'rtl', got '${JSON.stringify(rt)}'`, I.ERROR_CODES.INVALID_BASE_DIRECTION);
|
|
3205
3205
|
return !1;
|
|
3206
3206
|
}
|
|
@@ -3212,12 +3212,12 @@ function L_e() {
|
|
|
3212
3212
|
* @return {IJsonLdContextNormalizedRaw} The mutated input context.
|
|
3213
3213
|
*/
|
|
3214
3214
|
idifyReverseTerms(rt) {
|
|
3215
|
-
for (const
|
|
3216
|
-
let hn = rt[
|
|
3215
|
+
for (const Tt of Object.keys(rt)) {
|
|
3216
|
+
let hn = rt[Tt];
|
|
3217
3217
|
if (hn && typeof hn == "object" && hn["@reverse"] && !hn["@id"]) {
|
|
3218
3218
|
if (typeof hn["@reverse"] != "string" || J.Util.isValidKeyword(hn["@reverse"]))
|
|
3219
3219
|
throw new I.ErrorCoded(`Invalid @reverse value, must be absolute IRI or blank node: '${hn["@reverse"]}'`, I.ERROR_CODES.INVALID_IRI_MAPPING);
|
|
3220
|
-
hn = rt[
|
|
3220
|
+
hn = rt[Tt] = Object.assign(Object.assign({}, hn), { "@id": hn["@reverse"] }), hn["@id"] = hn["@reverse"], J.Util.isPotentialKeyword(hn["@reverse"]) ? delete hn["@reverse"] : hn["@reverse"] = !0;
|
|
3221
3221
|
}
|
|
3222
3222
|
}
|
|
3223
3223
|
return rt;
|
|
@@ -3230,7 +3230,7 @@ function L_e() {
|
|
|
3230
3230
|
* @param {string[]} keys Optional set of keys from the context to expand. If left undefined, all
|
|
3231
3231
|
* keys in the context will be expanded.
|
|
3232
3232
|
*/
|
|
3233
|
-
expandPrefixedTerms(rt,
|
|
3233
|
+
expandPrefixedTerms(rt, Tt, hn) {
|
|
3234
3234
|
const gn = rt.getContextRaw();
|
|
3235
3235
|
for (const _n of hn || Object.keys(gn))
|
|
3236
3236
|
if (J.Util.EXPAND_KEYS_BLACKLIST.indexOf(_n) < 0 && !J.Util.isReservedInternalKeyword(_n)) {
|
|
@@ -3258,7 +3258,7 @@ Tried mapping ${_n} to ${JSON.stringify(fr)}`, I.ERROR_CODES.INVALID_KEYWORD_ALI
|
|
|
3258
3258
|
}
|
|
3259
3259
|
if (jn && typeof jn == "string" && jn !== "@vocab" && (!zn["@container"] || !zn["@container"]["@type"]) && Eo) {
|
|
3260
3260
|
let Mo = rt.expandTerm(jn, !0);
|
|
3261
|
-
|
|
3261
|
+
Tt && jn === Mo && (Mo = rt.expandTerm(jn, !1)), Mo !== jn && (cr = !0, gn[_n] = Object.assign(Object.assign({}, gn[_n]), { "@type": Mo }));
|
|
3262
3262
|
}
|
|
3263
3263
|
}
|
|
3264
3264
|
if (!cr)
|
|
@@ -3271,8 +3271,8 @@ Tried mapping ${_n} to ${JSON.stringify(fr)}`, I.ERROR_CODES.INVALID_KEYWORD_ALI
|
|
|
3271
3271
|
* @param {IJsonLdContextNormalizedRaw} context A context.
|
|
3272
3272
|
* @param {IParseOptions} parseOptions The parsing options.
|
|
3273
3273
|
*/
|
|
3274
|
-
normalize(rt, { processingMode:
|
|
3275
|
-
if (hn ||
|
|
3274
|
+
normalize(rt, { processingMode: Tt, normalizeLanguageTags: hn }) {
|
|
3275
|
+
if (hn || Tt === 1)
|
|
3276
3276
|
for (const gn of Object.keys(rt))
|
|
3277
3277
|
if (gn === "@language" && typeof rt[gn] == "string")
|
|
3278
3278
|
rt[gn] = rt[gn].toLowerCase();
|
|
@@ -3289,16 +3289,16 @@ Tried mapping ${_n} to ${JSON.stringify(fr)}`, I.ERROR_CODES.INVALID_KEYWORD_ALI
|
|
|
3289
3289
|
* @param {IJsonLdContextNormalizedRaw} context A context.
|
|
3290
3290
|
*/
|
|
3291
3291
|
containersToHash(rt) {
|
|
3292
|
-
for (const
|
|
3293
|
-
const hn = rt[
|
|
3292
|
+
for (const Tt of Object.keys(rt)) {
|
|
3293
|
+
const hn = rt[Tt];
|
|
3294
3294
|
if (hn && typeof hn == "object") {
|
|
3295
3295
|
if (typeof hn["@container"] == "string")
|
|
3296
|
-
rt[
|
|
3296
|
+
rt[Tt] = Object.assign(Object.assign({}, hn), { "@container": { [hn["@container"]]: !0 } });
|
|
3297
3297
|
else if (Array.isArray(hn["@container"])) {
|
|
3298
3298
|
const gn = {};
|
|
3299
3299
|
for (const _n of hn["@container"])
|
|
3300
3300
|
gn[_n] = !0;
|
|
3301
|
-
rt[
|
|
3301
|
+
rt[Tt] = Object.assign(Object.assign({}, hn), { "@container": gn });
|
|
3302
3302
|
}
|
|
3303
3303
|
}
|
|
3304
3304
|
}
|
|
@@ -3308,8 +3308,8 @@ Tried mapping ${_n} to ${JSON.stringify(fr)}`, I.ERROR_CODES.INVALID_KEYWORD_ALI
|
|
|
3308
3308
|
* @param {IJsonLdContextNormalizedRaw} context A context.
|
|
3309
3309
|
* @param {number} processingMode The processing mode.
|
|
3310
3310
|
*/
|
|
3311
|
-
applyScopedProtected(rt, { processingMode:
|
|
3312
|
-
if (
|
|
3311
|
+
applyScopedProtected(rt, { processingMode: Tt }, hn) {
|
|
3312
|
+
if (Tt && Tt >= 1.1 && rt["@protected"]) {
|
|
3313
3313
|
for (const gn of Object.keys(rt))
|
|
3314
3314
|
if (!J.Util.isReservedInternalKeyword(gn) && !J.Util.isPotentialKeyword(gn) && !J.Util.isTermProtected(rt, gn)) {
|
|
3315
3315
|
const _n = rt[gn];
|
|
@@ -3329,17 +3329,17 @@ Tried mapping ${_n} to ${JSON.stringify(fr)}`, I.ERROR_CODES.INVALID_KEYWORD_ALI
|
|
|
3329
3329
|
* @param {string[]} keys Optional set of keys from the context to validate. If left undefined, all
|
|
3330
3330
|
* keys defined in contextAfter will be checked.
|
|
3331
3331
|
*/
|
|
3332
|
-
validateKeywordRedefinitions(rt,
|
|
3333
|
-
for (const _n of gn ?? Object.keys(
|
|
3334
|
-
if (J.Util.isTermProtected(rt, _n) && (typeof
|
|
3335
|
-
throw new I.ErrorCoded(`Attempted to override the protected keyword ${_n} from ${JSON.stringify(J.Util.getContextValueId(rt[_n]))} to ${JSON.stringify(J.Util.getContextValueId(
|
|
3332
|
+
validateKeywordRedefinitions(rt, Tt, hn, gn) {
|
|
3333
|
+
for (const _n of gn ?? Object.keys(Tt))
|
|
3334
|
+
if (J.Util.isTermProtected(rt, _n) && (typeof Tt[_n] == "string" ? Tt[_n] = { "@id": Tt[_n], "@protected": !0 } : Tt[_n] = Object.assign(Object.assign({}, Tt[_n]), { "@protected": !0 }), !J.Util.deepEqual(rt[_n], Tt[_n])))
|
|
3335
|
+
throw new I.ErrorCoded(`Attempted to override the protected keyword ${_n} from ${JSON.stringify(J.Util.getContextValueId(rt[_n]))} to ${JSON.stringify(J.Util.getContextValueId(Tt[_n]))}`, I.ERROR_CODES.PROTECTED_TERM_REDEFINITION);
|
|
3336
3336
|
}
|
|
3337
3337
|
/**
|
|
3338
3338
|
* Validate the entries of the given context.
|
|
3339
3339
|
* @param {IJsonLdContextNormalizedRaw} context A context.
|
|
3340
3340
|
* @param {IParseOptions} options The parse options.
|
|
3341
3341
|
*/
|
|
3342
|
-
validate(rt, { processingMode:
|
|
3342
|
+
validate(rt, { processingMode: Tt }) {
|
|
3343
3343
|
for (const hn of Object.keys(rt)) {
|
|
3344
3344
|
if (J.Util.isReservedInternalKeyword(hn))
|
|
3345
3345
|
continue;
|
|
@@ -3367,7 +3367,7 @@ Tried mapping ${_n} to ${JSON.stringify(fr)}`, I.ERROR_CODES.INVALID_KEYWORD_ALI
|
|
|
3367
3367
|
gn !== null && S$.validateDirection(gn, !0);
|
|
3368
3368
|
break;
|
|
3369
3369
|
case "propagate":
|
|
3370
|
-
if (
|
|
3370
|
+
if (Tt === 1)
|
|
3371
3371
|
throw new I.ErrorCoded(`Found an illegal @propagate keyword: ${gn}`, I.ERROR_CODES.INVALID_CONTEXT_ENTRY);
|
|
3372
3372
|
if (gn !== null && _n !== "boolean")
|
|
3373
3373
|
throw new I.ErrorCoded(`Found an invalid @propagate value: ${gn}`, I.ERROR_CODES.INVALID_PROPAGATE_VALUE);
|
|
@@ -3415,7 +3415,7 @@ Tried mapping ${_n} to ${JSON.stringify(fr)}`, I.ERROR_CODES.INVALID_KEYWORD_ALI
|
|
|
3415
3415
|
throw new I.ErrorCoded(`@container: @type only allows @type: @id or @vocab, but got: '${hn}': '${zn}'`, I.ERROR_CODES.INVALID_TYPE_MAPPING);
|
|
3416
3416
|
if (typeof zn != "string")
|
|
3417
3417
|
throw new I.ErrorCoded(`The value of an '@type' must be a string, got '${JSON.stringify(_n)}'`, I.ERROR_CODES.INVALID_TYPE_MAPPING);
|
|
3418
|
-
if (zn !== "@id" && zn !== "@vocab" && (
|
|
3418
|
+
if (zn !== "@id" && zn !== "@vocab" && (Tt === 1 || zn !== "@json") && (Tt === 1 || zn !== "@none") && (zn[0] === "_" || !J.Util.isValidIri(zn)))
|
|
3419
3419
|
throw new I.ErrorCoded(`A context @type must be an absolute IRI, found: '${hn}': '${zn}'`, I.ERROR_CODES.INVALID_TYPE_MAPPING);
|
|
3420
3420
|
break;
|
|
3421
3421
|
case "@reverse":
|
|
@@ -3425,7 +3425,7 @@ Tried mapping ${_n} to ${JSON.stringify(fr)}`, I.ERROR_CODES.INVALID_KEYWORD_ALI
|
|
|
3425
3425
|
throw new I.ErrorCoded(`@nest is not allowed in the reverse property '${hn}'`, I.ERROR_CODES.INVALID_REVERSE_PROPERTY);
|
|
3426
3426
|
break;
|
|
3427
3427
|
case "@container":
|
|
3428
|
-
if (
|
|
3428
|
+
if (Tt === 1 && (Object.keys(zn).length > 1 || J.Util.CONTAINERS_1_0.indexOf(Object.keys(zn)[0]) < 0))
|
|
3429
3429
|
throw new I.ErrorCoded(`Invalid term @container for '${hn}' ('${Object.keys(zn)}') in 1.0, must be only one of ${J.Util.CONTAINERS_1_0.join(", ")}`, I.ERROR_CODES.INVALID_CONTAINER_MAPPING);
|
|
3430
3430
|
for (const cr of Object.keys(zn)) {
|
|
3431
3431
|
if (cr === "@list" && gn["@reverse"])
|
|
@@ -3447,7 +3447,7 @@ Tried mapping ${_n} to ${JSON.stringify(fr)}`, I.ERROR_CODES.INVALID_KEYWORD_ALI
|
|
|
3447
3447
|
throw new I.ErrorCoded(`Invalid @prefix definition for '${hn}' ('${JSON.stringify(gn)}'`, I.ERROR_CODES.INVALID_TERM_DEFINITION);
|
|
3448
3448
|
break;
|
|
3449
3449
|
case "@index":
|
|
3450
|
-
if (
|
|
3450
|
+
if (Tt === 1 || !gn["@container"] || !gn["@container"]["@index"])
|
|
3451
3451
|
throw new I.ErrorCoded(`Attempt to add illegal key to value object: '${hn}': '${JSON.stringify(gn)}'`, I.ERROR_CODES.INVALID_TERM_DEFINITION);
|
|
3452
3452
|
break;
|
|
3453
3453
|
case "@nest":
|
|
@@ -3468,8 +3468,8 @@ Tried mapping ${_n} to ${JSON.stringify(fr)}`, I.ERROR_CODES.INVALID_KEYWORD_ALI
|
|
|
3468
3468
|
* @param inheritFromParent If the @base value from the parent context can be inherited.
|
|
3469
3469
|
* @return The given context.
|
|
3470
3470
|
*/
|
|
3471
|
-
applyBaseEntry(rt,
|
|
3472
|
-
return typeof rt == "string" || (hn && !("@base" in rt) &&
|
|
3471
|
+
applyBaseEntry(rt, Tt, hn) {
|
|
3472
|
+
return typeof rt == "string" || (hn && !("@base" in rt) && Tt.parentContext && typeof Tt.parentContext == "object" && "@base" in Tt.parentContext && (rt["@base"] = Tt.parentContext["@base"], Tt.parentContext["@__baseDocument"] && (rt["@__baseDocument"] = !0)), Tt.baseIRI && !Tt.external && ("@base" in rt ? rt["@base"] !== null && typeof rt["@base"] == "string" && !J.Util.isValidIri(rt["@base"]) && (rt["@base"] = (0, B.resolve)(rt["@base"], Tt.parentContext && Tt.parentContext["@base"] || Tt.baseIRI)) : (rt["@base"] = Tt.baseIRI, rt["@__baseDocument"] = !0))), rt;
|
|
3473
3473
|
}
|
|
3474
3474
|
/**
|
|
3475
3475
|
* Resolve relative context IRIs, or return full IRIs as-is.
|
|
@@ -3477,10 +3477,10 @@ Tried mapping ${_n} to ${JSON.stringify(fr)}`, I.ERROR_CODES.INVALID_KEYWORD_ALI
|
|
|
3477
3477
|
* @param {string} baseIRI A base IRI.
|
|
3478
3478
|
* @return {string} The normalized context IRI.
|
|
3479
3479
|
*/
|
|
3480
|
-
normalizeContextIri(rt,
|
|
3480
|
+
normalizeContextIri(rt, Tt) {
|
|
3481
3481
|
if (!J.Util.isValidIri(rt))
|
|
3482
3482
|
try {
|
|
3483
|
-
rt = (0, B.resolve)(rt,
|
|
3483
|
+
rt = (0, B.resolve)(rt, Tt);
|
|
3484
3484
|
} catch {
|
|
3485
3485
|
throw new Error(`Invalid context IRI: ${rt}`);
|
|
3486
3486
|
}
|
|
@@ -3494,41 +3494,41 @@ Tried mapping ${_n} to ${JSON.stringify(fr)}`, I.ERROR_CODES.INVALID_KEYWORD_ALI
|
|
|
3494
3494
|
* @param {string[]} keys Optional set of keys from the context to parseInnerContexts of. If left undefined, all
|
|
3495
3495
|
* keys in the context will be iterated over.
|
|
3496
3496
|
*/
|
|
3497
|
-
async parseInnerContexts(rt,
|
|
3497
|
+
async parseInnerContexts(rt, Tt, hn) {
|
|
3498
3498
|
for (const gn of hn ?? Object.keys(rt)) {
|
|
3499
3499
|
const _n = rt[gn];
|
|
3500
|
-
if (_n && typeof _n == "object" && "@context" in _n && _n["@context"] !== null && !
|
|
3500
|
+
if (_n && typeof _n == "object" && "@context" in _n && _n["@context"] !== null && !Tt.ignoreScopedContexts) {
|
|
3501
3501
|
if (this.validateContext)
|
|
3502
3502
|
try {
|
|
3503
3503
|
const fr = Object.assign(Object.assign({}, rt), { [gn]: Object.assign({}, rt[gn]) });
|
|
3504
|
-
delete fr[gn]["@context"], await this.parse(_n["@context"], Object.assign(Object.assign({},
|
|
3504
|
+
delete fr[gn]["@context"], await this.parse(_n["@context"], Object.assign(Object.assign({}, Tt), { external: !1, parentContext: fr, ignoreProtection: !0, ignoreRemoteScopedContexts: !0, ignoreScopedContexts: !0 }));
|
|
3505
3505
|
} catch (fr) {
|
|
3506
3506
|
throw new I.ErrorCoded(fr.message, I.ERROR_CODES.INVALID_SCOPED_CONTEXT);
|
|
3507
3507
|
}
|
|
3508
|
-
rt[gn] = Object.assign(Object.assign({}, _n), { "@context": (await this.parse(_n["@context"], Object.assign(Object.assign({},
|
|
3508
|
+
rt[gn] = Object.assign(Object.assign({}, _n), { "@context": (await this.parse(_n["@context"], Object.assign(Object.assign({}, Tt), { external: !1, minimalProcessing: !0, ignoreRemoteScopedContexts: !0, parentContext: rt }))).getContextRaw() });
|
|
3509
3509
|
}
|
|
3510
3510
|
}
|
|
3511
3511
|
return rt;
|
|
3512
3512
|
}
|
|
3513
|
-
async parse(rt,
|
|
3514
|
-
const { baseIRI: gn, parentContext: _n, external: fr, processingMode: zn = S$.DEFAULT_PROCESSING_MODE, normalizeLanguageTags: cr, ignoreProtection: Kn, minimalProcessing: jn } =
|
|
3513
|
+
async parse(rt, Tt = {}, hn = {}) {
|
|
3514
|
+
const { baseIRI: gn, parentContext: _n, external: fr, processingMode: zn = S$.DEFAULT_PROCESSING_MODE, normalizeLanguageTags: cr, ignoreProtection: Kn, minimalProcessing: jn } = Tt, Eo = Tt.remoteContexts || {};
|
|
3515
3515
|
if (Object.keys(Eo).length >= this.remoteContextsDepthLimit)
|
|
3516
3516
|
throw new I.ErrorCoded("Detected an overflow in remote context inclusions: " + Object.keys(Eo), I.ERROR_CODES.CONTEXT_OVERFLOW);
|
|
3517
3517
|
if (rt == null) {
|
|
3518
3518
|
if (!Kn && _n && J.Util.hasProtectedTerms(_n))
|
|
3519
3519
|
throw new I.ErrorCoded("Illegal context nullification when terms are protected", I.ERROR_CODES.INVALID_CONTEXT_NULLIFICATION);
|
|
3520
|
-
return new X.JsonLdContextNormalized(this.applyBaseEntry({},
|
|
3520
|
+
return new X.JsonLdContextNormalized(this.applyBaseEntry({}, Tt, !1));
|
|
3521
3521
|
} else if (typeof rt == "string") {
|
|
3522
|
-
const Mo = this.normalizeContextIri(rt, gn), jo = this.getOverriddenLoad(Mo,
|
|
3522
|
+
const Mo = this.normalizeContextIri(rt, gn), jo = this.getOverriddenLoad(Mo, Tt);
|
|
3523
3523
|
if (jo)
|
|
3524
3524
|
return new X.JsonLdContextNormalized(jo);
|
|
3525
|
-
const Aa = await this.parse(await this.load(Mo), Object.assign(Object.assign({},
|
|
3526
|
-
return this.applyBaseEntry(Aa.getContextRaw(),
|
|
3525
|
+
const Aa = await this.parse(await this.load(Mo), Object.assign(Object.assign({}, Tt), { baseIRI: Mo, external: !0, remoteContexts: Object.assign(Object.assign({}, Eo), { [Mo]: !0 }) }));
|
|
3526
|
+
return this.applyBaseEntry(Aa.getContextRaw(), Tt, !0), Aa;
|
|
3527
3527
|
} else if (Array.isArray(rt)) {
|
|
3528
3528
|
const Mo = [], jo = await Promise.all(rt.map((na, Ns) => {
|
|
3529
3529
|
if (typeof na == "string") {
|
|
3530
3530
|
const Bl = this.normalizeContextIri(na, gn);
|
|
3531
|
-
return Mo[Ns] = Bl, this.getOverriddenLoad(Bl,
|
|
3531
|
+
return Mo[Ns] = Bl, this.getOverriddenLoad(Bl, Tt) || this.load(Bl);
|
|
3532
3532
|
} else
|
|
3533
3533
|
return na;
|
|
3534
3534
|
}));
|
|
@@ -3536,17 +3536,17 @@ Tried mapping ${_n} to ${JSON.stringify(fr)}`, I.ERROR_CODES.INVALID_KEYWORD_ALI
|
|
|
3536
3536
|
return new X.JsonLdContextNormalized(jo);
|
|
3537
3537
|
const Aa = await jo.reduce((na, Ns, Bl) => na.then((yc) => this.parse(
|
|
3538
3538
|
Ns,
|
|
3539
|
-
Object.assign(Object.assign({},
|
|
3539
|
+
Object.assign(Object.assign({}, Tt), { baseIRI: Mo[Bl] || Tt.baseIRI, external: !!Mo[Bl] || Tt.external, parentContext: yc.getContextRaw(), remoteContexts: Mo[Bl] ? Object.assign(Object.assign({}, Eo), { [Mo[Bl]]: !0 }) : Eo }),
|
|
3540
3540
|
// @ts-expect-error: This third argument causes a type error because we have hidden it from consumers
|
|
3541
3541
|
{
|
|
3542
3542
|
skipValidation: Bl < jo.length - 1
|
|
3543
3543
|
}
|
|
3544
3544
|
)), Promise.resolve(new X.JsonLdContextNormalized(_n || {})));
|
|
3545
|
-
return this.applyBaseEntry(Aa.getContextRaw(),
|
|
3545
|
+
return this.applyBaseEntry(Aa.getContextRaw(), Tt, !0), Aa;
|
|
3546
3546
|
} else if (typeof rt == "object") {
|
|
3547
3547
|
if ("@context" in rt)
|
|
3548
|
-
return await this.parse(rt["@context"],
|
|
3549
|
-
if (rt = Object.assign({}, rt), fr && delete rt["@base"], this.applyBaseEntry(rt,
|
|
3548
|
+
return await this.parse(rt["@context"], Tt);
|
|
3549
|
+
if (rt = Object.assign({}, rt), fr && delete rt["@base"], this.applyBaseEntry(rt, Tt, !0), this.containersToHash(rt), jn)
|
|
3550
3550
|
return new X.JsonLdContextNormalized(rt);
|
|
3551
3551
|
let Mo = {};
|
|
3552
3552
|
if ("@import" in rt)
|
|
@@ -3563,7 +3563,7 @@ Tried mapping ${_n} to ${JSON.stringify(fr)}`, I.ERROR_CODES.INVALID_KEYWORD_ALI
|
|
|
3563
3563
|
if (typeof _n == "object")
|
|
3564
3564
|
for (const Bl in _n)
|
|
3565
3565
|
Bl in jo ? na.push(Bl) : jo[Bl] = _n[Bl];
|
|
3566
|
-
await this.parseInnerContexts(jo,
|
|
3566
|
+
await this.parseInnerContexts(jo, Tt, Aa);
|
|
3567
3567
|
const Ns = new X.JsonLdContextNormalized(jo);
|
|
3568
3568
|
return (jo && jo["@version"] || S$.DEFAULT_PROCESSING_MODE) >= 1.1 && (rt["@vocab"] && typeof rt["@vocab"] == "string" || rt["@vocab"] === "") && (_n && "@vocab" in _n && rt["@vocab"].indexOf(":") < 0 ? jo["@vocab"] = _n["@vocab"] + rt["@vocab"] : (J.Util.isCompactIri(rt["@vocab"]) || rt["@vocab"] in jo) && (jo["@vocab"] = Ns.expandTerm(rt["@vocab"], !0))), this.expandPrefixedTerms(Ns, this.expandContentTypeToBase, Aa), !Kn && _n && zn >= 1.1 && this.validateKeywordRedefinitions(_n, jo, X.defaultExpandOptions, na), this.validateContext && !hn.skipValidation && this.validate(jo, { processingMode: zn }), Ns;
|
|
3569
3569
|
} else
|
|
@@ -3575,9 +3575,9 @@ Tried mapping ${_n} to ${JSON.stringify(fr)}`, I.ERROR_CODES.INVALID_KEYWORD_ALI
|
|
|
3575
3575
|
* @return A promise resolving to a raw JSON-LD context.
|
|
3576
3576
|
*/
|
|
3577
3577
|
async load(rt) {
|
|
3578
|
-
const
|
|
3579
|
-
if (
|
|
3580
|
-
return
|
|
3578
|
+
const Tt = this.documentCache[rt];
|
|
3579
|
+
if (Tt)
|
|
3580
|
+
return Tt;
|
|
3581
3581
|
let hn;
|
|
3582
3582
|
try {
|
|
3583
3583
|
hn = await this.documentLoader.load(rt);
|
|
@@ -3597,9 +3597,9 @@ Tried mapping ${_n} to ${JSON.stringify(fr)}`, I.ERROR_CODES.INVALID_KEYWORD_ALI
|
|
|
3597
3597
|
* @return An overridden context, or null.
|
|
3598
3598
|
* Optionally an error can be thrown if a cyclic context is detected.
|
|
3599
3599
|
*/
|
|
3600
|
-
getOverriddenLoad(rt,
|
|
3601
|
-
if (rt in (
|
|
3602
|
-
if (
|
|
3600
|
+
getOverriddenLoad(rt, Tt) {
|
|
3601
|
+
if (rt in (Tt.remoteContexts || {})) {
|
|
3602
|
+
if (Tt.ignoreRemoteScopedContexts)
|
|
3603
3603
|
return rt;
|
|
3604
3604
|
throw new I.ErrorCoded("Detected a cyclic context inclusion of " + rt, I.ERROR_CODES.RECURSIVE_CONTEXT_INCLUSION);
|
|
3605
3605
|
}
|
|
@@ -3610,12 +3610,12 @@ Tried mapping ${_n} to ${JSON.stringify(fr)}`, I.ERROR_CODES.INVALID_KEYWORD_ALI
|
|
|
3610
3610
|
* @param importContextIri The full URI of an @import value.
|
|
3611
3611
|
*/
|
|
3612
3612
|
async loadImportContext(rt) {
|
|
3613
|
-
let
|
|
3614
|
-
if (typeof
|
|
3613
|
+
let Tt = await this.load(rt);
|
|
3614
|
+
if (typeof Tt != "object" || Array.isArray(Tt))
|
|
3615
3615
|
throw new I.ErrorCoded("An imported context must be a single object: " + rt, I.ERROR_CODES.INVALID_REMOTE_CONTEXT);
|
|
3616
|
-
if ("@import" in
|
|
3616
|
+
if ("@import" in Tt)
|
|
3617
3617
|
throw new I.ErrorCoded("An imported context can not import another context: " + rt, I.ERROR_CODES.INVALID_CONTEXT_ENTRY);
|
|
3618
|
-
return
|
|
3618
|
+
return Tt = Object.assign({}, Tt), this.containersToHash(Tt), Tt;
|
|
3619
3619
|
}
|
|
3620
3620
|
};
|
|
3621
3621
|
return be.DEFAULT_PROCESSING_MODE = 1.1, N8.ContextParser = be, N8;
|
|
@@ -3940,9 +3940,9 @@ let Zw, hme, Ho, Rme, rf, yg, Yw, eye, Dme, k0, S8, ibe, Ime, lbe = (async () =>
|
|
|
3940
3940
|
onAuthActivated: Be,
|
|
3941
3941
|
waitForAuthElement: rt
|
|
3942
3942
|
};
|
|
3943
|
-
class
|
|
3943
|
+
class Tt extends Error {
|
|
3944
3944
|
}
|
|
3945
|
-
|
|
3945
|
+
Tt.prototype.name = "InvalidTokenError";
|
|
3946
3946
|
function hn(N) {
|
|
3947
3947
|
return decodeURIComponent(atob(N).replace(/(.)/g, (e, o) => {
|
|
3948
3948
|
let g = o.charCodeAt(0).toString(16).toUpperCase();
|
|
@@ -3971,21 +3971,21 @@ let Zw, hme, Ho, Rme, rf, yg, Yw, eye, Dme, k0, S8, ibe, Ime, lbe = (async () =>
|
|
|
3971
3971
|
}
|
|
3972
3972
|
function _n(N, e) {
|
|
3973
3973
|
if (typeof N != "string")
|
|
3974
|
-
throw new
|
|
3974
|
+
throw new Tt("Invalid token specified: must be a string");
|
|
3975
3975
|
e || (e = {});
|
|
3976
3976
|
const o = e.header === !0 ? 0 : 1, g = N.split(".")[o];
|
|
3977
3977
|
if (typeof g != "string")
|
|
3978
|
-
throw new
|
|
3978
|
+
throw new Tt(`Invalid token specified: missing part #${o + 1}`);
|
|
3979
3979
|
let $;
|
|
3980
3980
|
try {
|
|
3981
3981
|
$ = gn(g);
|
|
3982
3982
|
} catch (f) {
|
|
3983
|
-
throw new
|
|
3983
|
+
throw new Tt(`Invalid token specified: invalid base64 for part #${o + 1} (${f.message})`);
|
|
3984
3984
|
}
|
|
3985
3985
|
try {
|
|
3986
3986
|
return JSON.parse($);
|
|
3987
3987
|
} catch (f) {
|
|
3988
|
-
throw new
|
|
3988
|
+
throw new Tt(`Invalid token specified: invalid json for part #${o + 1} (${f.message})`);
|
|
3989
3989
|
}
|
|
3990
3990
|
}
|
|
3991
3991
|
var fr = {
|
|
@@ -26039,7 +26039,7 @@ sh:property [
|
|
|
26039
26039
|
window.dispatchEvent(g);
|
|
26040
26040
|
}
|
|
26041
26041
|
async initGetter() {
|
|
26042
|
-
const { CustomGetter: e } = await import("./custom-getter-ZPFnoSjt-BCNOlbJZ-
|
|
26042
|
+
const { CustomGetter: e } = await import("./custom-getter-ZPFnoSjt-BCNOlbJZ-CC58FWc-.js");
|
|
26043
26043
|
return e;
|
|
26044
26044
|
}
|
|
26045
26045
|
disconnectedCallback() {
|
|
@@ -29435,7 +29435,7 @@ Promise.all([
|
|
|
29435
29435
|
})(I)), I.exports;
|
|
29436
29436
|
}
|
|
29437
29437
|
var be = J();
|
|
29438
|
-
const Be = k0(be), rt = {},
|
|
29438
|
+
const Be = k0(be), rt = {}, Tt = {
|
|
29439
29439
|
reset: "\x1B[0m",
|
|
29440
29440
|
trace: "\x1B[38;2;169;169;169m",
|
|
29441
29441
|
debug: "\x1B[38;2;0;0;255m",
|
|
@@ -29444,7 +29444,7 @@ Promise.all([
|
|
|
29444
29444
|
error: "\x1B[38;2;255;0;0m"
|
|
29445
29445
|
};
|
|
29446
29446
|
function hn(a, s) {
|
|
29447
|
-
const c = (/* @__PURE__ */ new Date()).toISOString(), h =
|
|
29447
|
+
const c = (/* @__PURE__ */ new Date()).toISOString(), h = Tt[a] || Tt.reset, v = s.map((S) => {
|
|
29448
29448
|
if (typeof S == "object")
|
|
29449
29449
|
try {
|
|
29450
29450
|
return JSON.stringify(S, null, 2);
|
|
@@ -29453,7 +29453,7 @@ Promise.all([
|
|
|
29453
29453
|
}
|
|
29454
29454
|
return String(S);
|
|
29455
29455
|
}).join(" ");
|
|
29456
|
-
return `${h}[${c}] ${v}${
|
|
29456
|
+
return `${h}[${c}] ${v}${Tt.reset}`;
|
|
29457
29457
|
}
|
|
29458
29458
|
const gn = Be.methodFactory;
|
|
29459
29459
|
Be.methodFactory = (a, s, c) => {
|
|
@@ -33073,10 +33073,10 @@ Component: ${s}
|
|
|
33073
33073
|
current: i.name,
|
|
33074
33074
|
version: d
|
|
33075
33075
|
};
|
|
33076
|
-
}), pl = (t, r) => t.substring(r), Dd = (t, r, i) => r === "" || t.length >= r.length && t.substr(i, i + r.length) === r, zu = (t, r) =>
|
|
33076
|
+
}), pl = (t, r) => t.substring(r), Dd = (t, r, i) => r === "" || t.length >= r.length && t.substr(i, i + r.length) === r, zu = (t, r) => sa(t, r) ? pl(t, r.length) : t, bs = (t, r, i = 0, d) => {
|
|
33077
33077
|
const m = t.indexOf(r, i);
|
|
33078
33078
|
return m !== -1 ? Pt(d) ? !0 : m + r.length <= d : !1;
|
|
33079
|
-
},
|
|
33079
|
+
}, sa = (t, r) => Dd(t, r, 0), Uu = (t, r) => Dd(t, r, t.length - r.length), ac = (t) => (r) => r.replace(t, ""), fl = ac(/^\s+|\s+$/g), ys = ac(/^\s+/g), Wa = ac(/\s+$/g), es = (t) => t.length > 0, Id = (t) => !es(t), Al = (t, r) => r <= 0 ? "" : new Array(r + 1).join(t), Fs = (t, r = 10) => {
|
|
33080
33080
|
const i = parseInt(t, r);
|
|
33081
33081
|
return isNaN(i) ? Ee.none() : Ee.some(i);
|
|
33082
33082
|
}, el = /.*?version\/\ ?([0-9]+)\.([0-9]+).*/, Ro = (t) => (r) => bs(r, t), $h = [
|
|
@@ -33748,7 +33748,7 @@ Component: ${s}
|
|
|
33748
33748
|
"audio",
|
|
33749
33749
|
"object",
|
|
33750
33750
|
"embed"
|
|
33751
|
-
]), _p = Np("li"), jC = Np("details"), Qu = Np("summary"), c1 = "\uFEFF", Ls = " ", YN = (t) => t === c1, Tc = (t) => t.replace(/\uFEFF/g, ""),
|
|
33751
|
+
]), _p = Np("li"), jC = Np("details"), Qu = Np("summary"), c1 = "\uFEFF", Ls = " ", YN = (t) => t === c1, Tc = (t) => t.replace(/\uFEFF/g, ""), ia = /* @__PURE__ */ ((t, r) => {
|
|
33752
33752
|
const i = (m) => {
|
|
33753
33753
|
if (!t(m))
|
|
33754
33754
|
throw new Error("Can only get " + r + " value of a " + r + " node");
|
|
@@ -33763,7 +33763,7 @@ Component: ${s}
|
|
|
33763
33763
|
m.dom.nodeValue = y;
|
|
33764
33764
|
}
|
|
33765
33765
|
};
|
|
33766
|
-
})(ya, "text"), hu = (t) =>
|
|
33766
|
+
})(ya, "text"), hu = (t) => ia.get(t), Df = (t) => ia.getOption(t), yl = (t, r) => ia.set(t, r), qC = [
|
|
33767
33767
|
"td",
|
|
33768
33768
|
"th"
|
|
33769
33769
|
], Jg = [
|
|
@@ -34014,7 +34014,7 @@ Component: ${s}
|
|
|
34014
34014
|
}, Yy = (t, r) => {
|
|
34015
34015
|
const i = Xy(t, r);
|
|
34016
34016
|
ET(t, r, i), UC(t, r, i);
|
|
34017
|
-
},
|
|
34017
|
+
}, la = (t, r) => {
|
|
34018
34018
|
if (b1(t, r)) {
|
|
34019
34019
|
const i = r_(t.getBlockElements());
|
|
34020
34020
|
g1(i, r);
|
|
@@ -34528,7 +34528,7 @@ Component: ${s}
|
|
|
34528
34528
|
} else
|
|
34529
34529
|
return !0;
|
|
34530
34530
|
return !1;
|
|
34531
|
-
}, am = (l) => Gr(sd(), l), Du = (l) => !
|
|
34531
|
+
}, am = (l) => Gr(sd(), l), Du = (l) => !sa(l, "#") && tf(l) && !am(l), Hc = (l) => Gr(Xa(), l) || Du(l), n = jt(y);
|
|
34532
34532
|
return {
|
|
34533
34533
|
type: j,
|
|
34534
34534
|
children: d,
|
|
@@ -35134,7 +35134,7 @@ Component: ${s}
|
|
|
35134
35134
|
}), xe(on, ht, !0), on;
|
|
35135
35135
|
} else
|
|
35136
35136
|
return ht;
|
|
35137
|
-
},
|
|
35137
|
+
}, Ot = (ht, lt) => {
|
|
35138
35138
|
let on = ht;
|
|
35139
35139
|
for (; on; ) {
|
|
35140
35140
|
let An = lt;
|
|
@@ -35287,7 +35287,7 @@ Component: ${s}
|
|
|
35287
35287
|
insertAfter: ue,
|
|
35288
35288
|
replace: xe,
|
|
35289
35289
|
rename: Ge,
|
|
35290
|
-
findCommonAncestor:
|
|
35290
|
+
findCommonAncestor: Ot,
|
|
35291
35291
|
run: Sa,
|
|
35292
35292
|
getAttribs: Ut,
|
|
35293
35293
|
isEmpty: On,
|
|
@@ -39001,7 +39001,7 @@ Required: ` + r.join(", "));
|
|
|
39001
39001
|
"font",
|
|
39002
39002
|
"text-decoration",
|
|
39003
39003
|
"text-emphasis"
|
|
39004
|
-
], g5 = (t, r) => Ma(t.parseStyle(t.getAttrib(r, "style"))), Sne = (t) => gH.has(t), yH = (t, r) => ss(g5(t, r), (i) => !Sne(i)), Cne = (t) => Br(t, (r) => qo(bH, (i) =>
|
|
39004
|
+
], g5 = (t, r) => Ma(t.parseStyle(t.getAttrib(r, "style"))), Sne = (t) => gH.has(t), yH = (t, r) => ss(g5(t, r), (i) => !Sne(i)), Cne = (t) => Br(t, (r) => qo(bH, (i) => sa(r, i))), Oo = (t, r, i) => {
|
|
39005
39005
|
const d = g5(t, r), m = g5(t, i), y = (C) => {
|
|
39006
39006
|
var O, j;
|
|
39007
39007
|
const Q = (O = t.getStyle(r, C)) !== null && O !== void 0 ? O : "", de = (j = t.getStyle(i, C)) !== null && j !== void 0 ? j : "";
|
|
@@ -39338,7 +39338,7 @@ Required: ` + r.join(", "));
|
|
|
39338
39338
|
return !0;
|
|
39339
39339
|
};
|
|
39340
39340
|
return Rr(y) && Rr(C) && (!j(O(y), O(C)) || !j(r.parseStyle(r.getAttrib(y, "style")), r.parseStyle(r.getAttrib(C, "style")))) ? !1 : !vu(y) && !vu(C);
|
|
39341
|
-
}, m = (y) => qo(az, (C) =>
|
|
39341
|
+
}, m = (y) => qo(az, (C) => sa(y, C)) || i.has(y);
|
|
39342
39342
|
return {
|
|
39343
39343
|
compare: d,
|
|
39344
39344
|
isAttributeInternal: m
|
|
@@ -40624,7 +40624,7 @@ Required: ` + r.join(", "));
|
|
|
40624
40624
|
}));
|
|
40625
40625
|
}, Km = (t) => new Promise((r, i) => {
|
|
40626
40626
|
JR(t).bind(({ type: d, data: m, base64Encoded: y }) => Ti(d, m, y)).fold(() => i("Invalid data URI"), r);
|
|
40627
|
-
}), QR = (t) =>
|
|
40627
|
+
}), QR = (t) => sa(t, "blob:") ? Fre(t) : sa(t, "data:") ? Km(t) : Promise.reject("Unknown URI format"), Ib = (t) => new Promise((r, i) => {
|
|
40628
40628
|
const d = new FileReader();
|
|
40629
40629
|
d.onloadend = () => {
|
|
40630
40630
|
r(d.result);
|
|
@@ -40646,10 +40646,10 @@ Required: ` + r.join(", "));
|
|
|
40646
40646
|
return t.add(d), d;
|
|
40647
40647
|
}, vw = (t, r, i = !1) => Yz(r, i, (d, m) => Ee.from(t.getByData(d, m)).orThunk(() => Ti(m, d).map((y) => yw(t, y, d)))), Sx = (t, r) => {
|
|
40648
40648
|
const i = () => Promise.reject("Invalid data URI");
|
|
40649
|
-
if (
|
|
40649
|
+
if (sa(r, "blob:")) {
|
|
40650
40650
|
const d = t.getByUri(r);
|
|
40651
40651
|
return fe(d) ? Promise.resolve(d) : QR(r).then((m) => Ib(m).then((y) => Yz(y, !1, (C) => Ee.some(yw(t, m, C))).getOrThunk(i)));
|
|
40652
|
-
} else return
|
|
40652
|
+
} else return sa(r, "data:") ? vw(t, r).fold(i, (d) => Promise.resolve(d)) : Promise.reject("Unknown image data format");
|
|
40653
40653
|
}, eU = (t) => fe(t.attr("data-mce-bogus")), Nj = (t) => t.attr("src") === Or.transparentSrc || fe(t.attr("data-mce-placeholder")), tU = (t, r) => {
|
|
40654
40654
|
const { blob_cache: i } = r;
|
|
40655
40655
|
if (i) {
|
|
@@ -40661,7 +40661,7 @@ Required: ` + r.join(", "));
|
|
|
40661
40661
|
};
|
|
40662
40662
|
t.addAttributeFilter("src", (m) => en(m, d));
|
|
40663
40663
|
}
|
|
40664
|
-
}, XR = (t, r) =>
|
|
40664
|
+
}, XR = (t, r) => sa(t, `${r}/`), Hre = (t, r, i, d, m) => {
|
|
40665
40665
|
let y;
|
|
40666
40666
|
Pt(t) ? y = "iframe" : XR(t, "image") ? y = "img" : XR(t, "video") ? y = "video" : XR(t, "audio") ? y = "audio" : y = "iframe";
|
|
40667
40667
|
const C = new pc(y, 1);
|
|
@@ -41533,7 +41533,7 @@ Required: ` + r.join(", "));
|
|
|
41533
41533
|
"xmp"
|
|
41534
41534
|
]);
|
|
41535
41535
|
let Ge = null;
|
|
41536
|
-
const
|
|
41536
|
+
const Ot = Va({}, [
|
|
41537
41537
|
"audio",
|
|
41538
41538
|
"video",
|
|
41539
41539
|
"img",
|
|
@@ -41575,7 +41575,7 @@ Required: ` + r.join(", "));
|
|
|
41575
41575
|
}, kn = function() {
|
|
41576
41576
|
let Wt = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
41577
41577
|
if (!(on && on === Wt)) {
|
|
41578
|
-
if ((!Wt || typeof Wt != "object") && (Wt = {}), Wt = Gp(Wt), Nr = Co.indexOf(Wt.PARSER_MEDIA_TYPE) === -1 ? ht : Wt.PARSER_MEDIA_TYPE, lt = Nr === "application/xhtml+xml" ? Sj : c2, Sa = Zm(Wt, "ALLOWED_TAGS") ? Va({}, Wt.ALLOWED_TAGS, lt) : om, Ps = Zm(Wt, "ALLOWED_ATTR") ? Va({}, Wt.ALLOWED_ATTR, lt) : eo, Wn = Zm(Wt, "ALLOWED_NAMESPACES") ? Va({}, Wt.ALLOWED_NAMESPACES, Sj) : mr, Qt = Zm(Wt, "ADD_URI_SAFE_ATTR") ? Va(Gp(On), Wt.ADD_URI_SAFE_ATTR, lt) : On, Ge = Zm(Wt, "ADD_DATA_URI_TAGS") ? Va(Gp(
|
|
41578
|
+
if ((!Wt || typeof Wt != "object") && (Wt = {}), Wt = Gp(Wt), Nr = Co.indexOf(Wt.PARSER_MEDIA_TYPE) === -1 ? ht : Wt.PARSER_MEDIA_TYPE, lt = Nr === "application/xhtml+xml" ? Sj : c2, Sa = Zm(Wt, "ALLOWED_TAGS") ? Va({}, Wt.ALLOWED_TAGS, lt) : om, Ps = Zm(Wt, "ALLOWED_ATTR") ? Va({}, Wt.ALLOWED_ATTR, lt) : eo, Wn = Zm(Wt, "ALLOWED_NAMESPACES") ? Va({}, Wt.ALLOWED_NAMESPACES, Sj) : mr, Qt = Zm(Wt, "ADD_URI_SAFE_ATTR") ? Va(Gp(On), Wt.ADD_URI_SAFE_ATTR, lt) : On, Ge = Zm(Wt, "ADD_DATA_URI_TAGS") ? Va(Gp(Ot), Wt.ADD_DATA_URI_TAGS, lt) : Ot, ue = Zm(Wt, "FORBID_CONTENTS") ? Va({}, Wt.FORBID_CONTENTS, lt) : xe, jr = Zm(Wt, "FORBID_TAGS") ? Va({}, Wt.FORBID_TAGS, lt) : {}, ho = Zm(Wt, "FORBID_ATTR") ? Va({}, Wt.FORBID_ATTR, lt) : {}, ce = Zm(Wt, "USE_PROFILES") ? Wt.USE_PROFILES : !1, Xa = Wt.ALLOW_ARIA_ATTR !== !1, Vo = Wt.ALLOW_DATA_ATTR !== !1, wd = Wt.ALLOW_UNKNOWN_PROTOCOLS || !1, tf = Wt.ALLOW_SELF_CLOSE_IN_ATTR !== !1, am = Wt.SAFE_FOR_TEMPLATES || !1, Du = Wt.SAFE_FOR_XML !== !1, Hc = Wt.WHOLE_DOCUMENT || !1, u = Wt.RETURN_DOM || !1, p = Wt.RETURN_DOM_FRAGMENT || !1, w = Wt.RETURN_TRUSTED_TYPE || !1, l = Wt.FORCE_BODY || !1, k = Wt.SANITIZE_DOM !== !1, R = Wt.SANITIZE_NAMED_PROPS || !1, W = Wt.KEEP_CONTENT !== !1, ne = Wt.IN_PLACE || !1, Vc = Wt.ALLOWED_URI_REGEXP || lU, Pn = Wt.NAMESPACE || dn, Mn = Wt.CUSTOM_ELEMENT_HANDLING || {}, Wt.CUSTOM_ELEMENT_HANDLING && _r(Wt.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (Mn.tagNameCheck = Wt.CUSTOM_ELEMENT_HANDLING.tagNameCheck), Wt.CUSTOM_ELEMENT_HANDLING && _r(Wt.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (Mn.attributeNameCheck = Wt.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), Wt.CUSTOM_ELEMENT_HANDLING && typeof Wt.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (Mn.allowCustomizedBuiltInElements = Wt.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), am && (Vo = !1), p && (u = !0), ce && (Sa = Va({}, Aj), Ps = [], ce.html === !0 && (Va(Sa, Ej), Va(Ps, Ax)), ce.svg === !0 && (Va(Sa, $x), Va(Ps, tD), Va(Ps, u2)), ce.svgFilters === !0 && (Va(Sa, kj), Va(Ps, tD), Va(Ps, u2)), ce.mathMl === !0 && (Va(Sa, dg), Va(Ps, nD), Va(Ps, u2))), Wt.ADD_TAGS && (Sa === om && (Sa = Gp(Sa)), Va(Sa, Wt.ADD_TAGS, lt)), Wt.ADD_ATTR && (Ps === eo && (Ps = Gp(Ps)), Va(Ps, Wt.ADD_ATTR, lt)), Wt.ADD_URI_SAFE_ATTR && Va(Qt, Wt.ADD_URI_SAFE_ATTR, lt), Wt.FORBID_CONTENTS && (ue === xe && (ue = Gp(ue)), Va(ue, Wt.FORBID_CONTENTS, lt)), W && (Sa["#text"] = !0), Hc && Va(Sa, [
|
|
41579
41579
|
"html",
|
|
41580
41580
|
"head",
|
|
41581
41581
|
"body"
|
|
@@ -42074,8 +42074,8 @@ Required: ` + r.join(", "));
|
|
|
42074
42074
|
}
|
|
42075
42075
|
}, p2 = (t, r, i, d, m) => {
|
|
42076
42076
|
const y = t.tagName.toLowerCase(), { attrName: C, attrValue: O } = m;
|
|
42077
|
-
m.keepAttr = aD(r, i, d, y, C, O), m.keepAttr ? (m.allowedAttributes[C] = !0, Rj(C, i) && (m.attrValue = C), r.allow_svg_data_urls &&
|
|
42078
|
-
}, aD = (t, r, i, d, m, y) => i !== "html" && !Sm(d) ? !0 : !(m in ooe && i0(t, y, d)) && (!t.validate || r.isValid(d, m) ||
|
|
42077
|
+
m.keepAttr = aD(r, i, d, y, C, O), m.keepAttr ? (m.allowedAttributes[C] = !0, Rj(C, i) && (m.attrValue = C), r.allow_svg_data_urls && sa(O, "data:image/svg+xml") && (m.forceKeepAttr = !0)) : gU(t, C) && (m.forceKeepAttr = !0);
|
|
42078
|
+
}, aD = (t, r, i, d, m, y) => i !== "html" && !Sm(d) ? !0 : !(m in ooe && i0(t, y, d)) && (!t.validate || r.isValid(d, m) || sa(m, "data-") || sa(m, "aria-")), gU = (t, r) => t.hasAttribute(oD) && (r === "id" || r === "class" || r === "style"), Rj = (t, r) => t in r.getBoolAttrs(), aoe = (t, r, i, d) => {
|
|
42079
42079
|
const { attributes: m } = t;
|
|
42080
42080
|
for (let y = m.length - 1; y >= 0; y--) {
|
|
42081
42081
|
const C = m[y], O = C.name, j = C.value;
|
|
@@ -42402,7 +42402,7 @@ Required: ` + r.join(", "));
|
|
|
42402
42402
|
});
|
|
42403
42403
|
}), lD(r.element, Bj(r.rows), r.rows);
|
|
42404
42404
|
}, AU = (t) => Vj(t, kU(t)), doe = (t, r, i) => dD(t, r).bind((d) => dD(t, i).map((m) => EU(t, d, m))), Hj = (t) => ba(t, (r) => Ko(r) === "ul" || Ko(r) === "ol"), coe = (t, r) => ba(t, (i) => Ko(i) === "li" && jv(i, r)).fold(jt([]), (i) => Hj(t).map((d) => {
|
|
42405
|
-
const m = pt.fromTag(Ko(d)), y = da(ud(d), (C, O) =>
|
|
42405
|
+
const m = pt.fromTag(Ko(d)), y = da(ud(d), (C, O) => sa(O, "list-style"));
|
|
42406
42406
|
return Tf(m, y), [
|
|
42407
42407
|
pt.fromTag("li"),
|
|
42408
42408
|
m
|
|
@@ -43504,7 +43504,7 @@ Options:
|
|
|
43504
43504
|
findAll: (d, m = Bn) => {
|
|
43505
43505
|
const y = Br(Pb(d), (O) => {
|
|
43506
43506
|
const j = O.src;
|
|
43507
|
-
return O.hasAttribute("data-mce-bogus") || O.hasAttribute("data-mce-placeholder") || !j || j === Or.transparentSrc ? !1 :
|
|
43507
|
+
return O.hasAttribute("data-mce-bogus") || O.hasAttribute("data-mce-placeholder") || !j || j === Or.transparentSrc ? !1 : sa(j, "blob:") ? !t.isUploaded(j) && m(O) : sa(j, "data:") ? m(O) : !1;
|
|
43508
43508
|
}), C = Wr(y, (O) => {
|
|
43509
43509
|
const j = O.src;
|
|
43510
43510
|
if (Gr(i, j))
|
|
@@ -45263,7 +45263,7 @@ Options:
|
|
|
45263
45263
|
const Le = i.getRng(), { startContainer: it, startOffset: tt, endContainer: Ke, endOffset: Ze } = Le, It = lw(t);
|
|
45264
45264
|
let Ut = C.firstChild;
|
|
45265
45265
|
for (; Ut; )
|
|
45266
|
-
if (Rr(Ut) &&
|
|
45266
|
+
if (Rr(Ut) && la(d, Ut), nie(d, Ut)) {
|
|
45267
45267
|
if (Xm(m, Ut)) {
|
|
45268
45268
|
j = Ut, Ut = Ut.nextSibling, r.remove(j);
|
|
45269
45269
|
continue;
|
|
@@ -47279,7 +47279,7 @@ Input object: ` + QD(t.input), kK = (t, r) => tle(t, Lo(r, C6)), $K = jt(ile), e
|
|
|
47279
47279
|
uri: i
|
|
47280
47280
|
})))), KZ = (t) => {
|
|
47281
47281
|
const r = SO(t);
|
|
47282
|
-
return (i) =>
|
|
47282
|
+
return (i) => sa(i.type, "image/") && qo(r, (d) => qZ(d) === i.type);
|
|
47283
47283
|
}, fB = (t, r) => {
|
|
47284
47284
|
const i = r.items ? ei(ti(r.items), (m) => m.kind === "file" ? [
|
|
47285
47285
|
m.getAsFile()
|
|
@@ -47321,7 +47321,7 @@ Input object: ` + QD(t.input), kK = (t, r) => tle(t, Lo(r, C6)), $K = jt(ile), e
|
|
|
47321
47321
|
}, 0)));
|
|
47322
47322
|
});
|
|
47323
47323
|
}, QZ = (t) => {
|
|
47324
|
-
const r = (m) =>
|
|
47324
|
+
const r = (m) => sa(m, "webkit-fake-url"), i = (m) => sa(m, "data:"), d = (m) => {
|
|
47325
47325
|
var y;
|
|
47326
47326
|
return ((y = m.data) === null || y === void 0 ? void 0 : y.paste) === !0;
|
|
47327
47327
|
};
|
|
@@ -49109,7 +49109,7 @@ Input object: ` + QD(t.input), kK = (t, r) => tle(t, Lo(r, C6)), $K = jt(ile), e
|
|
|
49109
49109
|
return r;
|
|
49110
49110
|
}, Kue = (t) => {
|
|
49111
49111
|
const r = t.split(/\s*,\s*/);
|
|
49112
|
-
return Wr(r, (i) => i.indexOf(" ") !== -1 && !(
|
|
49112
|
+
return Wr(r, (i) => i.indexOf(" ") !== -1 && !(sa(i, '"') || sa(i, "'")) ? `'${i}'` : i).join(",");
|
|
49113
49113
|
}, Zue = (t, r) => {
|
|
49114
49114
|
const i = eQ(t, r);
|
|
49115
49115
|
t.formatter.toggle("fontname", {
|
|
@@ -50830,7 +50830,7 @@ Input object: ` + QD(t.input), kK = (t, r) => tle(t, Lo(r, C6)), $K = jt(ile), e
|
|
|
50830
50830
|
}, ca = Object.getPrototypeOf, Sc = (n) => kh("HTMLElement", n), Hu = (n) => {
|
|
50831
50831
|
const l = xc("ownerDocument.defaultView", n);
|
|
50832
50832
|
return V(n) && (Sc(l).prototype.isPrototypeOf(n) || /^HTML\w*Element$/.test(ca(n).constructor.name));
|
|
50833
|
-
}, pl = 9, Dd = 11, zu = 1, bs = 3,
|
|
50833
|
+
}, pl = 9, Dd = 11, zu = 1, bs = 3, sa = (n) => n.dom.nodeName.toLowerCase(), Uu = (n) => n.dom.nodeType, ac = (n) => (l) => Uu(l) === n, fl = (n) => ys(n) && Hu(n.dom), ys = ac(zu), Wa = ac(bs), es = ac(pl), Id = ac(Dd), Al = (n) => (l) => ys(l) && sa(l) === n, Fs = (n, l) => {
|
|
50834
50834
|
const u = n.dom;
|
|
50835
50835
|
if (u.nodeType !== zu)
|
|
50836
50836
|
return !1;
|
|
@@ -51686,7 +51686,7 @@ Input object: ` + QD(t.input), kK = (t, r) => tle(t, Lo(r, C6)), $K = jt(ile), e
|
|
|
51686
51686
|
` + IC(n.errors).join(`
|
|
51687
51687
|
`) + `
|
|
51688
51688
|
|
|
51689
|
-
Input object: ` + Vy(n.input), hi = (n, l) => uu(n, ra(l, vr)), XN = (n, l) => ui(n, l), Xo = ud, Il = Bi, ic = (n) => Bd((l) => $r(n, l) ? mo.value(l) : mo.error(`Unsupported value: "${l}", choose one of "${n.join(", ")}".`)), vn = (n) => Xo(n, n, lu(), hd()), Jl = (n, l) => Xo(n, n, lu(), l), wP = (n) => Jl(n, Ju), Ja = (n) => Jl(n, rl), _p = (n, l) => Xo(n, n, lu(), ic(l)), jC = (n) => Jl(n, Np), Qu = (n) => Jl(n, $c), c1 = (n, l) => Xo(n, n, $a(), cu((u) => pa.serror("The field: " + n + " is forbidden. " + l))), Ls = (n, l) => Xo(n, n, lu(), vr(l)), YN = (n, l) => Xo(n, n, lu(), Ph(l)), Tc = (n, l) => Xo(n, n, lu(), Is(l)),
|
|
51689
|
+
Input object: ` + Vy(n.input), hi = (n, l) => uu(n, ra(l, vr)), XN = (n, l) => ui(n, l), Xo = ud, Il = Bi, ic = (n) => Bd((l) => $r(n, l) ? mo.value(l) : mo.error(`Unsupported value: "${l}", choose one of "${n.join(", ")}".`)), vn = (n) => Xo(n, n, lu(), hd()), Jl = (n, l) => Xo(n, n, lu(), l), wP = (n) => Jl(n, Ju), Ja = (n) => Jl(n, rl), _p = (n, l) => Xo(n, n, lu(), ic(l)), jC = (n) => Jl(n, Np), Qu = (n) => Jl(n, $c), c1 = (n, l) => Xo(n, n, $a(), cu((u) => pa.serror("The field: " + n + " is forbidden. " + l))), Ls = (n, l) => Xo(n, n, lu(), vr(l)), YN = (n, l) => Xo(n, n, lu(), Ph(l)), Tc = (n, l) => Xo(n, n, lu(), Is(l)), ia = (n) => Xo(n, n, $a(), hd()), hu = (n, l) => Xo(n, n, $a(), l), Df = (n) => hu(n, Ju), yl = (n) => hu(n, rl), qC = (n, l) => hu(n, ic(l)), Jg = (n) => hu(n, $c), yT = (n, l) => hu(n, Is(l)), Vd = (n, l) => hu(n, vr(l)), vT = (n, l) => hu(n, Pr(l)), nn = (n, l) => Xo(n, n, Lh(l), hd()), Ql = (n, l, u) => Xo(n, n, Lh(l), u), Hy = (n, l) => Ql(n, l, Ju), Hd = (n, l) => Ql(n, l, rl), Xu = (n, l, u) => Ql(n, l, ic(u)), Vi = (n, l) => Ql(n, l, Np), Qs = (n, l) => Ql(n, l, $c), zy = (n, l) => Ql(n, l, fT), jh = (n, l, u) => Ql(n, l, Is(u)), Uy = (n, l, u) => Ql(n, l, vr(u)), Kr = (n) => {
|
|
51690
51690
|
let l = n;
|
|
51691
51691
|
return {
|
|
51692
51692
|
get: () => l,
|
|
@@ -51840,12 +51840,12 @@ Required: ` + l.join(", "));
|
|
|
51840
51840
|
};
|
|
51841
51841
|
}, Ni = Ce, xm = Ni("touchstart"), Qy = Ni("touchmove"), Xg = Ni("touchend"), NT = Ni("touchcancel"), lc = Ni("mousedown"), h1 = Ni("mousemove"), t_ = Ni("mouseout"), FC = Ni("mouseup"), dc = Ni("mouseover"), ol = Ni("focusin"), VC = Ni("focusout"), pu = Ni("keydown"), SP = Ni("keyup"), Yg = Ni("input"), eb = Ni("change"), Pf = Ni("click"), _T = Ni("transitioncancel"), Rc = Ni("transitionend"), xT = Ni("transitionstart"), ST = Ni("selectstart"), Cs = (n) => Ce("alloy." + n), n_ = {
|
|
51842
51842
|
tap: Cs("tap")
|
|
51843
|
-
}, Dc = Cs("focus"), tb = Cs("blur.post"), HC = Cs("paste.post"), Mf = Cs("receive"), md = Cs("execute"), m1 = Cs("focus.item"), p1 = n_.tap, CP = Cs("longpress"), f1 = Cs("sandbox.close"), nb = Cs("typeahead.cancel"), Es = Cs("system.init"), Sm = Cs("system.touchmove"), jf = Cs("system.touchend"), Cm = Cs("system.scroll"), rb = Cs("system.resize"), qh = Cs("system.attached"), Em = Cs("system.detached"), ob = Cs("system.dismissRequested"), r_ = Cs("system.repositionRequested"), g1 = Cs("focusmanager.shifted"), Xy = Cs("slotcontainer.visibility"), zC = Cs("system.external.element.scroll"), CT = Cs("change.tab"), ET = Cs("dismiss.tab"), UC = Cs("highlight"), Yy = Cs("dehighlight"),
|
|
51843
|
+
}, Dc = Cs("focus"), tb = Cs("blur.post"), HC = Cs("paste.post"), Mf = Cs("receive"), md = Cs("execute"), m1 = Cs("focus.item"), p1 = n_.tap, CP = Cs("longpress"), f1 = Cs("sandbox.close"), nb = Cs("typeahead.cancel"), Es = Cs("system.init"), Sm = Cs("system.touchmove"), jf = Cs("system.touchend"), Cm = Cs("system.scroll"), rb = Cs("system.resize"), qh = Cs("system.attached"), Em = Cs("system.detached"), ob = Cs("system.dismissRequested"), r_ = Cs("system.repositionRequested"), g1 = Cs("focusmanager.shifted"), Xy = Cs("slotcontainer.visibility"), zC = Cs("system.external.element.scroll"), CT = Cs("change.tab"), ET = Cs("dismiss.tab"), UC = Cs("highlight"), Yy = Cs("dehighlight"), la = (n, l) => {
|
|
51844
51844
|
b1(n, n.element, l, {});
|
|
51845
51845
|
}, Vr = (n, l, u) => {
|
|
51846
51846
|
b1(n, n.element, l, u);
|
|
51847
51847
|
}, km = (n) => {
|
|
51848
|
-
|
|
51848
|
+
la(n, md());
|
|
51849
51849
|
}, ev = (n, l, u) => {
|
|
51850
51850
|
b1(n, l, u, {});
|
|
51851
51851
|
}, b1 = (n, l, u, p) => {
|
|
@@ -52146,8 +52146,8 @@ The behaviours that can trigger it are: ` + JSON.stringify(pn(l, (u) => u.name),
|
|
|
52146
52146
|
nn("styles", {}),
|
|
52147
52147
|
nn("classes", []),
|
|
52148
52148
|
nn("attributes", {}),
|
|
52149
|
-
|
|
52150
|
-
|
|
52149
|
+
ia("value"),
|
|
52150
|
+
ia("innerHtml")
|
|
52151
52151
|
])),
|
|
52152
52152
|
vn("components"),
|
|
52153
52153
|
vn("uid"),
|
|
@@ -52203,7 +52203,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(pn(l, (u) => u.name),
|
|
|
52203
52203
|
"tooltipping"
|
|
52204
52204
|
]
|
|
52205
52205
|
}), hd()),
|
|
52206
|
-
|
|
52206
|
+
ia("domModification")
|
|
52207
52207
|
]), Vf = (n) => Dn("custom.definition", MT, n), lb = (n) => ({
|
|
52208
52208
|
...n.dom,
|
|
52209
52209
|
uid: n.uid,
|
|
@@ -52253,7 +52253,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(pn(l, (u) => u.name),
|
|
|
52253
52253
|
n.dom.value = l;
|
|
52254
52254
|
}, sE = (n, l, u) => Hn(n, l).map((p) => {
|
|
52255
52255
|
if (u.exists((w) => !ua(w, p))) {
|
|
52256
|
-
const w = u.map(
|
|
52256
|
+
const w = u.map(sa).getOr("span"), k = Zn.fromTag(w);
|
|
52257
52257
|
return kf(p, k), k;
|
|
52258
52258
|
} else
|
|
52259
52259
|
return p;
|
|
@@ -52281,8 +52281,8 @@ The behaviours that can trigger it are: ` + JSON.stringify(pn(l, (u) => u.name),
|
|
|
52281
52281
|
Bn(R, (dn) => Bo(l, dn)), Or(l, k);
|
|
52282
52282
|
}, W = nu(l), { toSet: ne, toRemove: ce } = A1(n.styles, W), ue = () => {
|
|
52283
52283
|
Bn(ce, (dn) => zo(l, dn)), Ka(l, ne);
|
|
52284
|
-
}, xe = Tm(l), Ge = Br(xe, n.classes),
|
|
52285
|
-
zs(l,
|
|
52284
|
+
}, xe = Tm(l), Ge = Br(xe, n.classes), Ot = Br(n.classes, xe), Qt = () => {
|
|
52285
|
+
zs(l, Ot), vl(l, Ge);
|
|
52286
52286
|
}, On = (dn) => {
|
|
52287
52287
|
tv(l, dn);
|
|
52288
52288
|
}, Nt = () => {
|
|
@@ -52308,7 +52308,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(pn(l, (u) => u.name),
|
|
|
52308
52308
|
return F.none();
|
|
52309
52309
|
}
|
|
52310
52310
|
}, Ep = (n) => n.innerHtml.isSome() && n.domChildren.length > 0, T1 = (n, l) => {
|
|
52311
|
-
const u = (w) =>
|
|
52311
|
+
const u = (w) => sa(w) === n.tag && !Ep(n) && !ib(w), p = l.filter(u).bind((w) => zf(n, w)).getOrThunk(() => lv(n));
|
|
52312
52312
|
return KC(p, n.uid), p;
|
|
52313
52313
|
}, dv = (n) => {
|
|
52314
52314
|
const l = lr(n, "behaviours").getOr({});
|
|
@@ -52336,7 +52336,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(pn(l, (u) => u.name),
|
|
|
52336
52336
|
p.set(Pn);
|
|
52337
52337
|
}, Ge = () => {
|
|
52338
52338
|
p.set(d_(u));
|
|
52339
|
-
},
|
|
52339
|
+
}, Ot = () => {
|
|
52340
52340
|
const Pn = $n(ne), un = en(Pn, (Wn) => p.get().getByDom(Wn).fold(() => [], Ra));
|
|
52341
52341
|
ue.set(un);
|
|
52342
52342
|
}, Qt = (Pn) => {
|
|
@@ -52355,7 +52355,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(pn(l, (u) => u.name),
|
|
|
52355
52355
|
connect: xe,
|
|
52356
52356
|
disconnect: Ge,
|
|
52357
52357
|
element: ne,
|
|
52358
|
-
syncComponents:
|
|
52358
|
+
syncComponents: Ot,
|
|
52359
52359
|
components: ue.get,
|
|
52360
52360
|
events: ce
|
|
52361
52361
|
};
|
|
@@ -52381,7 +52381,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(pn(l, (u) => u.name),
|
|
|
52381
52381
|
}, UT = (n) => {
|
|
52382
52382
|
const l = Fd("external.component", Pr([
|
|
52383
52383
|
vn("element"),
|
|
52384
|
-
|
|
52384
|
+
ia("uid")
|
|
52385
52385
|
]), n), u = Kr(d_()), p = (q) => {
|
|
52386
52386
|
u.set(q);
|
|
52387
52387
|
}, w = () => {
|
|
@@ -52851,8 +52851,8 @@ Receiver: ` + $m(l.element), ne, k.data);
|
|
|
52851
52851
|
]
|
|
52852
52852
|
}
|
|
52853
52853
|
]), lO = (n, l, u, p, w, k) => {
|
|
52854
|
-
const R = l.rect, q = R.x - u, W = R.y - p, ne = R.width, ce = R.height, ue = w - (q + ne), xe = k - (W + ce), Ge = F.some(q),
|
|
52855
|
-
return XT(l.direction, () => yu(n, Ge,
|
|
52854
|
+
const R = l.rect, q = R.x - u, W = R.y - p, ne = R.width, ce = R.height, ue = w - (q + ne), xe = k - (W + ce), Ge = F.some(q), Ot = F.some(W), Qt = F.some(ue), On = F.some(xe), Nt = F.none();
|
|
52855
|
+
return XT(l.direction, () => yu(n, Ge, Ot, Nt, Nt), () => yu(n, Nt, Ot, Qt, Nt), () => yu(n, Ge, Nt, Nt, On), () => yu(n, Nt, Nt, Qt, On), () => yu(n, Ge, Ot, Nt, Nt), () => yu(n, Ge, Nt, Nt, On), () => yu(n, Ge, Ot, Nt, Nt), () => yu(n, Nt, Ot, Qt, Nt));
|
|
52856
52856
|
}, Pl = (n, l) => n.fold(() => {
|
|
52857
52857
|
const u = l.rect;
|
|
52858
52858
|
return yu("absolute", F.some(u.x), F.some(u.y), F.none(), F.none());
|
|
@@ -52893,16 +52893,16 @@ Receiver: ` + $m(l.element), ne, k.data);
|
|
|
52893
52893
|
]
|
|
52894
52894
|
}
|
|
52895
52895
|
]), YP = (n, l) => {
|
|
52896
|
-
const { x: u, y: p, right: w, bottom: k } = l, { x: R, y: q, right: W, bottom: ne, width: ce, height: ue } = n, xe = R >= u && R <= w, Ge = q >= p && q <= k,
|
|
52896
|
+
const { x: u, y: p, right: w, bottom: k } = l, { x: R, y: q, right: W, bottom: ne, width: ce, height: ue } = n, xe = R >= u && R <= w, Ge = q >= p && q <= k, Ot = xe && Ge, Qt = W <= w && W >= u, On = ne <= k && ne >= p, Nt = Qt && On, Ct = Math.min(ce, R >= u ? w - R : W - u), dn = Math.min(ue, q >= p ? k - q : ne - p);
|
|
52897
52897
|
return {
|
|
52898
|
-
originInBounds:
|
|
52898
|
+
originInBounds: Ot,
|
|
52899
52899
|
sizeInBounds: Nt,
|
|
52900
52900
|
visibleW: Ct,
|
|
52901
52901
|
visibleH: dn
|
|
52902
52902
|
};
|
|
52903
52903
|
}, eM = (n, l) => {
|
|
52904
|
-
const { x: u, y: p, right: w, bottom: k } = l, { x: R, y: q, width: W, height: ne } = n, ce = Math.max(u, w - W), ue = Math.max(p, k - ne), xe = Wd(R, u, ce), Ge = Wd(q, p, ue),
|
|
52905
|
-
return Hs(xe, Ge,
|
|
52904
|
+
const { x: u, y: p, right: w, bottom: k } = l, { x: R, y: q, width: W, height: ne } = n, ce = Math.max(u, w - W), ue = Math.max(p, k - ne), xe = Wd(R, u, ce), Ge = Wd(q, p, ue), Ot = Math.min(xe + W, w) - xe, Qt = Math.min(Ge + ne, k) - Ge;
|
|
52905
|
+
return Hs(xe, Ge, Ot, Qt);
|
|
52906
52906
|
}, R_ = (n, l, u) => {
|
|
52907
52907
|
const p = Ce(l.bottom - u.y), w = Ce(u.bottom - l.y), k = Op(n, w, w, p), R = Ce(l.right - u.x), q = Ce(u.right - l.x);
|
|
52908
52908
|
return {
|
|
@@ -52910,7 +52910,7 @@ Receiver: ` + $m(l.element), ne, k.data);
|
|
|
52910
52910
|
maxHeight: k
|
|
52911
52911
|
};
|
|
52912
52912
|
}, Ci = (n, l, u, p) => {
|
|
52913
|
-
const w = n.bubble, k = w.offset, R = YT(p, n.restriction, k), q = n.x + k.left, W = n.y + k.top, ne = Hs(q, W, l, u), { originInBounds: ce, sizeInBounds: ue, visibleW: xe, visibleH: Ge } = YP(ne, R),
|
|
52913
|
+
const w = n.bubble, k = w.offset, R = YT(p, n.restriction, k), q = n.x + k.left, W = n.y + k.top, ne = Hs(q, W, l, u), { originInBounds: ce, sizeInBounds: ue, visibleW: xe, visibleH: Ge } = YP(ne, R), Ot = ce && ue, Qt = Ot ? ne : eM(ne, R), On = Qt.width > 0 && Qt.height > 0, { maxWidth: Nt, maxHeight: Ct } = R_(n.direction, Qt, p), dn = {
|
|
52914
52914
|
rect: Qt,
|
|
52915
52915
|
maxHeight: Ct,
|
|
52916
52916
|
maxWidth: Nt,
|
|
@@ -52923,10 +52923,10 @@ Receiver: ` + $m(l.element), ne, k.data);
|
|
|
52923
52923
|
layout: n.label,
|
|
52924
52924
|
testY: W
|
|
52925
52925
|
};
|
|
52926
|
-
return
|
|
52926
|
+
return Ot || n.alwaysFit ? O_.fit(dn) : O_.nofit(dn, xe, Ge, On);
|
|
52927
52927
|
}, hO = (n, l, u, p, w, k) => {
|
|
52928
52928
|
const R = p.width, q = p.height, W = (ne, ce, ue, xe, Ge) => {
|
|
52929
|
-
const
|
|
52929
|
+
const Ot = ne(u, p, w, n, k), Qt = Ci(Ot, R, q, k);
|
|
52930
52930
|
return Qt.fold(Ce(Qt), (On, Nt, Ct, dn) => (Ge === dn ? Ct > xe || Nt > ue : !Ge && dn) ? Qt : O_.nofit(ce, ue, xe, Ge));
|
|
52931
52931
|
};
|
|
52932
52932
|
return so(l, (ne, ce) => {
|
|
@@ -53176,8 +53176,8 @@ Receiver: ` + $m(l.element), ne, k.data);
|
|
|
53176
53176
|
const RE = "data-alloy-vertical-dir", yO = (n) => lE(n, (l) => ys(l) && Zr(l, "data-alloy-vertical-dir") === Rp.BottomToTop), Dp = () => Vd("layouts", [
|
|
53177
53177
|
vn("onLtr"),
|
|
53178
53178
|
vn("onRtl"),
|
|
53179
|
-
|
|
53180
|
-
|
|
53179
|
+
ia("onBottomLtr"),
|
|
53180
|
+
ia("onBottomRtl")
|
|
53181
53181
|
]), P_ = (n, l, u, p, w, k, R) => {
|
|
53182
53182
|
const q = R.map(yO).getOr(!1), W = l.layouts.map((xe) => xe.onLtr(n)), ne = l.layouts.map((xe) => xe.onRtl(n)), ce = q ? l.layouts.bind((xe) => xe.onBottomLtr.map((Ge) => Ge(n))).or(W).getOr(w) : W.getOr(u), ue = q ? l.layouts.bind((xe) => xe.onBottomRtl.map((Ge) => Ge(n))).or(ne).getOr(k) : ne.getOr(p);
|
|
53183
53183
|
return OE(ce, ue)(n);
|
|
@@ -53192,7 +53192,7 @@ Receiver: ` + $m(l.element), ne, k.data);
|
|
|
53192
53192
|
};
|
|
53193
53193
|
var cM = [
|
|
53194
53194
|
vn("hotspot"),
|
|
53195
|
-
|
|
53195
|
+
ia("bubble"),
|
|
53196
53196
|
nn("overrides", {}),
|
|
53197
53197
|
Dp(),
|
|
53198
53198
|
La("placement", dM)
|
|
@@ -53268,7 +53268,7 @@ Receiver: ` + $m(l.element), ne, k.data);
|
|
|
53268
53268
|
var pM = [
|
|
53269
53269
|
vn("node"),
|
|
53270
53270
|
vn("root"),
|
|
53271
|
-
|
|
53271
|
+
ia("bubble"),
|
|
53272
53272
|
Dp(),
|
|
53273
53273
|
nn("overrides", {}),
|
|
53274
53274
|
nn("showAbove", !1),
|
|
@@ -53501,9 +53501,9 @@ Receiver: ` + $m(l.element), ne, k.data);
|
|
|
53501
53501
|
return PE(k, w, l, u, R);
|
|
53502
53502
|
};
|
|
53503
53503
|
var Qf = [
|
|
53504
|
-
|
|
53504
|
+
ia("getSelection"),
|
|
53505
53505
|
vn("root"),
|
|
53506
|
-
|
|
53506
|
+
ia("bubble"),
|
|
53507
53507
|
Dp(),
|
|
53508
53508
|
nn("overrides", {}),
|
|
53509
53509
|
nn("showAbove", !1),
|
|
@@ -53561,7 +53561,7 @@ Receiver: ` + $m(l.element), ne, k.data);
|
|
|
53561
53561
|
])
|
|
53562
53562
|
], YE = [
|
|
53563
53563
|
nn("useFixed", Ht),
|
|
53564
|
-
|
|
53564
|
+
ia("getBounds")
|
|
53565
53565
|
], ek = [
|
|
53566
53566
|
Jl("anchor", K1),
|
|
53567
53567
|
Vd("transition", $v)
|
|
@@ -53585,8 +53585,8 @@ Receiver: ` + $m(l.element), ne, k.data);
|
|
|
53585
53585
|
tn(W, "visibility", "hidden");
|
|
53586
53586
|
const ue = l.useFixed() ? z_() : cl(n);
|
|
53587
53587
|
q.placement(n, q, ue).each((xe) => {
|
|
53588
|
-
const Ge = k.orThunk(() => l.getBounds.map(gt)),
|
|
53589
|
-
u.set(p.uid,
|
|
53588
|
+
const Ge = k.orThunk(() => l.getBounds.map(gt)), Ot = xM(ue, xe, Ge, p, ne, R.transition);
|
|
53589
|
+
u.set(p.uid, Ot);
|
|
53590
53590
|
}), ce.fold(() => {
|
|
53591
53591
|
zo(W, "visibility");
|
|
53592
53592
|
}, (xe) => {
|
|
@@ -53632,12 +53632,12 @@ Receiver: ` + $m(l.element), ne, k.data);
|
|
|
53632
53632
|
apis: Tv,
|
|
53633
53633
|
state: yb
|
|
53634
53634
|
}), Ov = (n) => n.getSystem().isConnected(), Z1 = (n) => {
|
|
53635
|
-
|
|
53635
|
+
la(n, Em());
|
|
53636
53636
|
const l = n.components();
|
|
53637
53637
|
Bn(l, Z1);
|
|
53638
53638
|
}, Pp = (n) => {
|
|
53639
53639
|
const l = n.components();
|
|
53640
|
-
Bn(l, Pp),
|
|
53640
|
+
Bn(l, Pp), la(n, qh());
|
|
53641
53641
|
}, U_ = (n, l) => {
|
|
53642
53642
|
n.getSystem().addToWorld(l), Mi(n.element) && Pp(l);
|
|
53643
53643
|
}, W_ = (n) => {
|
|
@@ -53787,7 +53787,7 @@ Receiver: ` + $m(l.element), ne, k.data);
|
|
|
53787
53787
|
vn("target")
|
|
53788
53788
|
]),
|
|
53789
53789
|
onReceive: (u, p) => {
|
|
53790
|
-
Fo.isOpen(u) && (Fo.isPartOf(u, p.target) || l.isExtraPart(u, p.target) || l.fireEventInstead.fold(() => Fo.close(u), (w) =>
|
|
53790
|
+
Fo.isOpen(u) && (Fo.isPartOf(u, p.target) || l.isExtraPart(u, p.target) || l.fireEventInstead.fold(() => Fo.close(u), (w) => la(u, w.event)));
|
|
53791
53791
|
}
|
|
53792
53792
|
}
|
|
53793
53793
|
};
|
|
@@ -53801,7 +53801,7 @@ Receiver: ` + $m(l.element), ne, k.data);
|
|
|
53801
53801
|
return {
|
|
53802
53802
|
[vb()]: {
|
|
53803
53803
|
onReceive: (u) => {
|
|
53804
|
-
Fo.isOpen(u) && l.fireEventInstead.fold(() => l.doReposition(u), (p) =>
|
|
53804
|
+
Fo.isOpen(u) && l.fireEventInstead.fold(() => l.doReposition(u), (p) => la(u, p.event));
|
|
53805
53805
|
}
|
|
53806
53806
|
}
|
|
53807
53807
|
};
|
|
@@ -53904,7 +53904,7 @@ Receiver: ` + $m(l.element), ne, k.data);
|
|
|
53904
53904
|
u.clear();
|
|
53905
53905
|
};
|
|
53906
53906
|
var BO = [
|
|
53907
|
-
|
|
53907
|
+
ia("initialValue"),
|
|
53908
53908
|
vn("getFallbackEntry"),
|
|
53909
53909
|
vn("getDataKey"),
|
|
53910
53910
|
vn("setValue"),
|
|
@@ -53926,7 +53926,7 @@ Receiver: ` + $m(l.element), ne, k.data);
|
|
|
53926
53926
|
var IM = [
|
|
53927
53927
|
vn("getValue"),
|
|
53928
53928
|
nn("setValue", qe),
|
|
53929
|
-
|
|
53929
|
+
ia("initialValue"),
|
|
53930
53930
|
La("manager", {
|
|
53931
53931
|
setValue: qm,
|
|
53932
53932
|
getValue: Mv,
|
|
@@ -53945,7 +53945,7 @@ Receiver: ` + $m(l.element), ne, k.data);
|
|
|
53945
53945
|
u.clear();
|
|
53946
53946
|
};
|
|
53947
53947
|
var J_ = [
|
|
53948
|
-
|
|
53948
|
+
ia("initialValue"),
|
|
53949
53949
|
La("manager", {
|
|
53950
53950
|
setValue: FO,
|
|
53951
53951
|
getValue: sk,
|
|
@@ -54062,7 +54062,7 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
54062
54062
|
]), Cb = nn("factory", {
|
|
54063
54063
|
sketch: bt
|
|
54064
54064
|
}), Fv = nn("schema", []), Vv = vn("name"), pk = Xo("pname", "pname", du((n) => "<alloy." + Er(n.name) + ">"), hd()), Fm = Il("schema", () => [
|
|
54065
|
-
|
|
54065
|
+
ia("preprocess")
|
|
54066
54066
|
]), Hv = nn("defaults", Ce({})), X_ = nn("overrides", Ce({})), Nu = vr([
|
|
54067
54067
|
Cb,
|
|
54068
54068
|
Fv,
|
|
@@ -54271,7 +54271,7 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
54271
54271
|
"select"
|
|
54272
54272
|
], wk = (n, l, u) => {
|
|
54273
54273
|
(l.disabled() ? _k : Gv)(n, l);
|
|
54274
|
-
}, ox = (n, l) => l.useNative === !0 && $r(ZO,
|
|
54274
|
+
}, ox = (n, l) => l.useNative === !0 && $r(ZO, sa(n.element)), zM = (n) => ka(n.element, "disabled"), JO = (n) => {
|
|
54275
54275
|
fn(n.element, "disabled", "disabled");
|
|
54276
54276
|
}, QO = (n) => {
|
|
54277
54277
|
Bo(n.element, "disabled");
|
|
@@ -54309,7 +54309,7 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
54309
54309
|
}), kr = [
|
|
54310
54310
|
Qs("disabled", Ht),
|
|
54311
54311
|
nn("useNative", !0),
|
|
54312
|
-
|
|
54312
|
+
ia("disableClass"),
|
|
54313
54313
|
Uo("onDisabled"),
|
|
54314
54314
|
Uo("onEnabled")
|
|
54315
54315
|
];
|
|
@@ -54322,15 +54322,15 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
54322
54322
|
const w = Sl(n.element, "." + l.highlightClass);
|
|
54323
54323
|
Bn(w, (k) => {
|
|
54324
54324
|
Jr(p, (R) => ua(R.element, k)) || (gs(k, l.highlightClass), n.getSystem().getByDom(k).each((R) => {
|
|
54325
|
-
l.onDehighlight(n, R),
|
|
54325
|
+
l.onDehighlight(n, R), la(R, Yy());
|
|
54326
54326
|
}));
|
|
54327
54327
|
});
|
|
54328
54328
|
}, Sk = (n, l, u) => xk(n, l, u, []), ow = (n, l, u, p) => {
|
|
54329
|
-
sx(n, l, u, p) && (gs(p.element, l.highlightClass), l.onDehighlight(n, p),
|
|
54329
|
+
sx(n, l, u, p) && (gs(p.element, l.highlightClass), l.onDehighlight(n, p), la(p, Yy()));
|
|
54330
54330
|
}, Eb = (n, l, u, p) => {
|
|
54331
54331
|
xk(n, l, u, [
|
|
54332
54332
|
p
|
|
54333
|
-
]), sx(n, l, u, p) || (yo(p.element, l.highlightClass), l.onHighlight(n, p),
|
|
54333
|
+
]), sx(n, l, u, p) || (yo(p.element, l.highlightClass), l.onHighlight(n, p), la(p, UC()));
|
|
54334
54334
|
}, KM = (n, l, u) => {
|
|
54335
54335
|
ix(n, l).each((p) => {
|
|
54336
54336
|
Eb(n, l, u, p);
|
|
@@ -54475,29 +54475,29 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
54475
54475
|
La("sendFocusIn", w)
|
|
54476
54476
|
]), R = (W, ne, ce, ue, xe) => {
|
|
54477
54477
|
const Ge = ce(W, ne, ue, xe);
|
|
54478
|
-
return wt(Ge, ne.event).bind((
|
|
54478
|
+
return wt(Ge, ne.event).bind((Ot) => Ot(W, ne, ue, xe));
|
|
54479
54479
|
}, q = {
|
|
54480
54480
|
schema: k,
|
|
54481
54481
|
processKey: R,
|
|
54482
54482
|
toEvents: (W, ne) => {
|
|
54483
|
-
const ce = W.focusInside !== yr.OnFocusMode ? F.none() : w(W).map((Ge) => In(Dc(), (
|
|
54484
|
-
Ge(
|
|
54485
|
-
})), ue = (Ge,
|
|
54486
|
-
const Qt = A(gd.concat(Hm))(
|
|
54487
|
-
W.focusInside === yr.OnEnterOrSpaceMode && Qt && BC(Ge,
|
|
54488
|
-
On(Ge, W, ne),
|
|
54483
|
+
const ce = W.focusInside !== yr.OnFocusMode ? F.none() : w(W).map((Ge) => In(Dc(), (Ot, Qt) => {
|
|
54484
|
+
Ge(Ot, W, ne), Qt.stop();
|
|
54485
|
+
})), ue = (Ge, Ot) => {
|
|
54486
|
+
const Qt = A(gd.concat(Hm))(Ot.event);
|
|
54487
|
+
W.focusInside === yr.OnEnterOrSpaceMode && Qt && BC(Ge, Ot) && w(W).each((On) => {
|
|
54488
|
+
On(Ge, W, ne), Ot.stop();
|
|
54489
54489
|
});
|
|
54490
54490
|
}, xe = [
|
|
54491
|
-
In(pu(), (Ge,
|
|
54492
|
-
R(Ge,
|
|
54493
|
-
ue(Ge,
|
|
54491
|
+
In(pu(), (Ge, Ot) => {
|
|
54492
|
+
R(Ge, Ot, u, W, ne).fold(() => {
|
|
54493
|
+
ue(Ge, Ot);
|
|
54494
54494
|
}, (Qt) => {
|
|
54495
|
-
|
|
54495
|
+
Ot.stop();
|
|
54496
54496
|
});
|
|
54497
54497
|
}),
|
|
54498
|
-
In(SP(), (Ge,
|
|
54499
|
-
R(Ge,
|
|
54500
|
-
|
|
54498
|
+
In(SP(), (Ge, Ot) => {
|
|
54499
|
+
R(Ge, Ot, p, W, ne).each((Qt) => {
|
|
54500
|
+
Ot.stop();
|
|
54501
54501
|
});
|
|
54502
54502
|
})
|
|
54503
54503
|
];
|
|
@@ -54507,12 +54507,12 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
54507
54507
|
return q;
|
|
54508
54508
|
}, or = (n) => {
|
|
54509
54509
|
const l = [
|
|
54510
|
-
|
|
54511
|
-
|
|
54510
|
+
ia("onEscape"),
|
|
54511
|
+
ia("onEnter"),
|
|
54512
54512
|
nn("selector", '[data-alloy-tabstop="true"]:not(:disabled)'),
|
|
54513
54513
|
nn("firstTabstop", 0),
|
|
54514
54514
|
nn("useTabstopAt", Et),
|
|
54515
|
-
|
|
54515
|
+
ia("visibilitySelector")
|
|
54516
54516
|
].concat([
|
|
54517
54517
|
n
|
|
54518
54518
|
]), u = (Nt, Ct) => {
|
|
@@ -54534,7 +54534,7 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
54534
54534
|
}, ce = (Nt, Ct, dn) => {
|
|
54535
54535
|
const Pn = dn.cyclic ? b : _;
|
|
54536
54536
|
return W(Nt, Ct, dn, Pn);
|
|
54537
|
-
}, ue = (Nt) => Ol(Nt).bind(io).exists((Ct) => ua(Ct, Nt)), xe = (Nt, Ct, dn) => w(Nt, dn).filter((Pn) => !dn.useTabstopAt(Pn)).bind((Pn) => (ue(Pn) ? ne : ce)(Nt, Ct, dn)), Ge = (Nt, Ct, dn) => dn.onEnter.bind((Pn) => Pn(Nt, Ct)),
|
|
54537
|
+
}, ue = (Nt) => Ol(Nt).bind(io).exists((Ct) => ua(Ct, Nt)), xe = (Nt, Ct, dn) => w(Nt, dn).filter((Pn) => !dn.useTabstopAt(Pn)).bind((Pn) => (ue(Pn) ? ne : ce)(Nt, Ct, dn)), Ge = (Nt, Ct, dn) => dn.onEnter.bind((Pn) => Pn(Nt, Ct)), Ot = (Nt, Ct, dn) => dn.onEscape.bind((Pn) => Pn(Nt, Ct)), Qt = Ce([
|
|
54538
54538
|
je(P([
|
|
54539
54539
|
G,
|
|
54540
54540
|
A(Vp)
|
|
@@ -54545,7 +54545,7 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
54545
54545
|
A(Hm)
|
|
54546
54546
|
]), Ge)
|
|
54547
54547
|
]), On = Ce([
|
|
54548
|
-
je(A(aw),
|
|
54548
|
+
je(A(aw), Ot),
|
|
54549
54549
|
je(A(Vp), xe)
|
|
54550
54550
|
]);
|
|
54551
54551
|
return tr(l, eh.init, Qt, On, () => F.some(R));
|
|
@@ -54659,7 +54659,7 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
54659
54659
|
]);
|
|
54660
54660
|
var FV = tr(IV, wa, r5, Fte, () => F.some(LV));
|
|
54661
54661
|
const VV = (n, l, u, p, w) => {
|
|
54662
|
-
const k = (q) =>
|
|
54662
|
+
const k = (q) => sa(q) === "button" && Zr(q, "disabled") === "disabled", R = (q, W, ne) => w(q, W, p, 0, ne.length - 1, ne[W], (ce) => k(ne[ce]) ? R(q, ce, ne) : F.from(ne[ce]));
|
|
54663
54663
|
return kk(n, u, l).bind((q) => {
|
|
54664
54664
|
const W = q.index, ne = q.candidates;
|
|
54665
54665
|
return R(W, W, ne);
|
|
@@ -54790,7 +54790,7 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
54790
54790
|
Ud("onDown"),
|
|
54791
54791
|
Ud("onEscape"),
|
|
54792
54792
|
nn("stopSpaceKeyup", !1),
|
|
54793
|
-
|
|
54793
|
+
ia("focusIn")
|
|
54794
54794
|
], sne = (n, l, u) => [
|
|
54795
54795
|
je(A(gd), u.onSpace),
|
|
54796
54796
|
je(P([
|
|
@@ -55027,7 +55027,7 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
55027
55027
|
};
|
|
55028
55028
|
var Cne = [
|
|
55029
55029
|
nn("selected", !1),
|
|
55030
|
-
|
|
55030
|
+
ia("toggleClass"),
|
|
55031
55031
|
nn("toggleOnExecute", !0),
|
|
55032
55032
|
Uo("onToggled"),
|
|
55033
55033
|
Ql("aria", {
|
|
@@ -55140,7 +55140,7 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
55140
55140
|
vn("components"),
|
|
55141
55141
|
vn("dom"),
|
|
55142
55142
|
nn("hasSubmenu", !1),
|
|
55143
|
-
|
|
55143
|
+
ia("toggling"),
|
|
55144
55144
|
wu.field("itemBehaviours", [
|
|
55145
55145
|
Oo,
|
|
55146
55146
|
oo,
|
|
@@ -55431,12 +55431,12 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
55431
55431
|
return [
|
|
55432
55432
|
dn
|
|
55433
55433
|
].concat(Pn);
|
|
55434
|
-
}), Ge = (Ct) => lr(u.get(), Ct).bind((dn) => dn.length > 1 ? F.some(dn.slice(1)) : F.none()),
|
|
55434
|
+
}), Ge = (Ct) => lr(u.get(), Ct).bind((dn) => dn.length > 1 ? F.some(dn.slice(1)) : F.none()), Ot = (Ct) => lr(u.get(), Ct), Qt = (Ct) => On(Ct).bind(x5), On = (Ct) => lr(l.get(), Ct), Nt = (Ct) => lr(n.get(), Ct);
|
|
55435
55435
|
return {
|
|
55436
55436
|
setMenuBuilt: q,
|
|
55437
55437
|
setContents: W,
|
|
55438
55438
|
expand: xe,
|
|
55439
|
-
refresh:
|
|
55439
|
+
refresh: Ot,
|
|
55440
55440
|
collapse: Ge,
|
|
55441
55441
|
lookupMenu: On,
|
|
55442
55442
|
lookupItem: Nt,
|
|
@@ -55515,7 +55515,7 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
55515
55515
|
Xn[ta] = fa;
|
|
55516
55516
|
});
|
|
55517
55517
|
}), u.set(Xn), Xn;
|
|
55518
|
-
}),
|
|
55518
|
+
}), Ot = (kn, Xn) => {
|
|
55519
55519
|
const ur = Ge(kn);
|
|
55520
55520
|
is(ur, (qr, Do) => {
|
|
55521
55521
|
const fa = $r(Xn, Do);
|
|
@@ -55548,17 +55548,17 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
55548
55548
|
return F.some(Xn);
|
|
55549
55549
|
{
|
|
55550
55550
|
const qr = R(Xn);
|
|
55551
|
-
return w.expand(qr).bind((Do) => (
|
|
55551
|
+
return w.expand(qr).bind((Do) => (Ot(kn, Do), F.from(Do[0]).bind((fa) => w.lookupMenu(fa).bind((ta) => {
|
|
55552
55552
|
const os = Nt(kn, fa, ta);
|
|
55553
55553
|
return Mi(os.element) || uo.append(kn, bu(os)), n.onOpenSubmenu(kn, Xn, os, xs(Do)), ur === On.HighlightSubmenu ? (Yo.highlightFirst(os), Qt(kn, w, Do)) : (Yo.dehighlightAll(os), F.some(Xn));
|
|
55554
55554
|
}))));
|
|
55555
55555
|
}
|
|
55556
55556
|
}, dn = (kn, Xn) => {
|
|
55557
55557
|
const ur = R(Xn);
|
|
55558
|
-
return w.collapse(ur).bind((qr) => (
|
|
55558
|
+
return w.collapse(ur).bind((qr) => (Ot(kn, qr), Qt(kn, w, qr).map((Do) => (n.onCollapseMenu(kn, Xn, Do), Do))));
|
|
55559
55559
|
}, Pn = (kn, Xn) => {
|
|
55560
55560
|
const ur = R(Xn);
|
|
55561
|
-
return w.refresh(ur).bind((qr) => (
|
|
55561
|
+
return w.refresh(ur).bind((qr) => (Ot(kn, qr), Qt(kn, w, qr)));
|
|
55562
55562
|
}, un = (kn, Xn) => Wv(Xn.element) ? F.none() : Ct(kn, Xn, On.HighlightSubmenu), Wn = (kn, Xn) => Wv(Xn.element) ? F.none() : dn(kn, Xn), mr = (kn, Xn) => dn(kn, Xn).orThunk(() => n.onEscape(kn, Xn).map(() => kn)), Nr = (kn) => (Xn, ur) => rh(ur.getSource(), `.${n.markers.item}`).bind((qr) => Xn.getSystem().getByDom(qr).toOptional().bind((Do) => kn(Xn, Do).map(Et))), Co = Ia([
|
|
55563
55563
|
In(kH(), (kn, Xn) => {
|
|
55564
55564
|
const ur = Xn.event.item;
|
|
@@ -55744,34 +55744,34 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
55744
55744
|
onRepositionMenu: (ne, ce, ue) => {
|
|
55745
55745
|
const xe = k().getOrDie();
|
|
55746
55746
|
Ml.positionWithinBounds(xe, ce, u, w()), Bn(ue, (Ge) => {
|
|
55747
|
-
const
|
|
55747
|
+
const Ot = W(Ge.triggeringPath);
|
|
55748
55748
|
Ml.position(xe, Ge.triggeredMenu, {
|
|
55749
55749
|
anchor: {
|
|
55750
55750
|
type: "submenu",
|
|
55751
55751
|
item: Ge.triggeringItem,
|
|
55752
|
-
...
|
|
55752
|
+
...Ot
|
|
55753
55753
|
}
|
|
55754
55754
|
});
|
|
55755
55755
|
});
|
|
55756
55756
|
}
|
|
55757
55757
|
});
|
|
55758
55758
|
}, RH = (n, l) => {
|
|
55759
|
-
const u = (xe, Ge) => n.getRelated(xe).exists((
|
|
55759
|
+
const u = (xe, Ge) => n.getRelated(xe).exists((Ot) => $p(Ot, Ge)), p = (xe, Ge) => {
|
|
55760
55760
|
Fo.setContent(xe, Ge);
|
|
55761
|
-
}, w = (xe, Ge,
|
|
55761
|
+
}, w = (xe, Ge, Ot) => {
|
|
55762
55762
|
const Qt = F.none;
|
|
55763
|
-
k(xe, Ge,
|
|
55764
|
-
}, k = (xe, Ge,
|
|
55763
|
+
k(xe, Ge, Ot, Qt);
|
|
55764
|
+
}, k = (xe, Ge, Ot, Qt) => {
|
|
55765
55765
|
const On = n.lazySink(xe).getOrDie();
|
|
55766
|
-
Fo.openWhileCloaked(xe, Ge, () => Ml.positionWithinBounds(On, xe,
|
|
55766
|
+
Fo.openWhileCloaked(xe, Ge, () => Ml.positionWithinBounds(On, xe, Ot, Qt())), gr.setValue(xe, F.some({
|
|
55767
55767
|
mode: "position",
|
|
55768
|
-
config:
|
|
55768
|
+
config: Ot,
|
|
55769
55769
|
getBounds: Qt
|
|
55770
55770
|
}));
|
|
55771
|
-
}, R = (xe, Ge,
|
|
55772
|
-
q(xe, Ge,
|
|
55773
|
-
}, q = (xe, Ge,
|
|
55774
|
-
const On = Mne(n, xe, Ge,
|
|
55771
|
+
}, R = (xe, Ge, Ot) => {
|
|
55772
|
+
q(xe, Ge, Ot, F.none);
|
|
55773
|
+
}, q = (xe, Ge, Ot, Qt) => {
|
|
55774
|
+
const On = Mne(n, xe, Ge, Ot, Qt);
|
|
55775
55775
|
Fo.open(xe, On), gr.setValue(xe, F.some({
|
|
55776
55776
|
mode: "menu",
|
|
55777
55777
|
menu: On
|
|
@@ -55785,8 +55785,8 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
55785
55785
|
Fo.getState(xe).each(dw.repositionMenus);
|
|
55786
55786
|
break;
|
|
55787
55787
|
case "position":
|
|
55788
|
-
const
|
|
55789
|
-
Ml.positionWithinBounds(
|
|
55788
|
+
const Ot = n.lazySink(xe).getOrDie();
|
|
55789
|
+
Ml.positionWithinBounds(Ot, xe, Ge.config, Ge.getBounds());
|
|
55790
55790
|
break;
|
|
55791
55791
|
}
|
|
55792
55792
|
});
|
|
@@ -55806,7 +55806,7 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
55806
55806
|
dom: n.dom,
|
|
55807
55807
|
behaviours: Ei(n.inlineBehaviours, [
|
|
55808
55808
|
Fo.config({
|
|
55809
|
-
isPartOf: (xe, Ge,
|
|
55809
|
+
isPartOf: (xe, Ge, Ot) => $p(Ge, Ot) || u(xe, Ot),
|
|
55810
55810
|
getAttachPoint: (xe) => n.lazySink(xe).getOrDie(),
|
|
55811
55811
|
onOpen: (xe) => {
|
|
55812
55812
|
n.onShow(xe);
|
|
@@ -55939,8 +55939,8 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
55939
55939
|
oo,
|
|
55940
55940
|
Ur
|
|
55941
55941
|
]),
|
|
55942
|
-
|
|
55943
|
-
|
|
55942
|
+
ia("action"),
|
|
55943
|
+
ia("role"),
|
|
55944
55944
|
nn("eventOrder", {})
|
|
55945
55945
|
]
|
|
55946
55946
|
}), E5 = (n) => {
|
|
@@ -55954,7 +55954,7 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
55954
55954
|
innerHtml: i_(l)
|
|
55955
55955
|
};
|
|
55956
55956
|
return {
|
|
55957
|
-
tag:
|
|
55957
|
+
tag: sa(l),
|
|
55958
55958
|
classes: w,
|
|
55959
55959
|
attributes: p,
|
|
55960
55960
|
...k
|
|
@@ -56706,7 +56706,7 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
56706
56706
|
if (l.version = "3.1.7", l.removed = [], !n || !n.document || n.document.nodeType !== px.document)
|
|
56707
56707
|
return l.isSupported = !1, l;
|
|
56708
56708
|
let { document: u } = n;
|
|
56709
|
-
const p = u, w = p.currentScript, { DocumentFragment: k, HTMLTemplateElement: R, Node: q, Element: W, NodeFilter: ne, NamedNodeMap: ce = n.NamedNodeMap || n.MozNamedAttrMap, HTMLFormElement: ue, DOMParser: xe, trustedTypes: Ge } = n,
|
|
56709
|
+
const p = u, w = p.currentScript, { DocumentFragment: k, HTMLTemplateElement: R, Node: q, Element: W, NodeFilter: ne, NamedNodeMap: ce = n.NamedNodeMap || n.MozNamedAttrMap, HTMLFormElement: ue, DOMParser: xe, trustedTypes: Ge } = n, Ot = W.prototype, Qt = Bk(Ot, "cloneNode"), On = Bk(Ot, "remove"), Nt = Bk(Ot, "nextSibling"), Ct = Bk(Ot, "childNodes"), dn = Bk(Ot, "parentNode");
|
|
56710
56710
|
if (typeof R == "function") {
|
|
56711
56711
|
const Xt = u.createElement("template");
|
|
56712
56712
|
Xt.content && Xt.content.ownerDocument && (u = Xt.content.ownerDocument);
|
|
@@ -57335,9 +57335,9 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
57335
57335
|
};
|
|
57336
57336
|
},
|
|
57337
57337
|
configFields: [
|
|
57338
|
-
|
|
57338
|
+
ia("level"),
|
|
57339
57339
|
vn("progress"),
|
|
57340
|
-
|
|
57340
|
+
ia("icon"),
|
|
57341
57341
|
vn("onAction"),
|
|
57342
57342
|
vn("text"),
|
|
57343
57343
|
vn("iconProvider"),
|
|
@@ -57400,16 +57400,16 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
57400
57400
|
maxHeightFunction: fb()
|
|
57401
57401
|
}, Ge = n.notificationManager.getNotifications();
|
|
57402
57402
|
if (Ge[0] === ce) {
|
|
57403
|
-
const
|
|
57403
|
+
const Ot = {
|
|
57404
57404
|
...p.anchors.banner(),
|
|
57405
57405
|
overrides: xe
|
|
57406
57406
|
};
|
|
57407
57407
|
rs.showWithinBounds(ne, ue, {
|
|
57408
|
-
anchor:
|
|
57408
|
+
anchor: Ot
|
|
57409
57409
|
}, w);
|
|
57410
57410
|
} else
|
|
57411
|
-
Mt(Ge, ce).each((
|
|
57412
|
-
const Qt = Ge[
|
|
57411
|
+
Mt(Ge, ce).each((Ot) => {
|
|
57412
|
+
const Qt = Ge[Ot - 1].getEl(), On = {
|
|
57413
57413
|
type: "node",
|
|
57414
57414
|
root: he(),
|
|
57415
57415
|
node: F.some(Zn.fromDom(Qt)),
|
|
@@ -57762,7 +57762,7 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
57762
57762
|
markers: fw(u)
|
|
57763
57763
|
};
|
|
57764
57764
|
}, e2 = Ce([
|
|
57765
|
-
|
|
57765
|
+
ia("data"),
|
|
57766
57766
|
nn("inputAttributes", {}),
|
|
57767
57767
|
nn("inputStyles", {}),
|
|
57768
57768
|
nn("tag", "input"),
|
|
@@ -57859,7 +57859,7 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
57859
57859
|
inputBehaviours: er([
|
|
57860
57860
|
_o(p, [
|
|
57861
57861
|
In(Yg(), (w) => {
|
|
57862
|
-
|
|
57862
|
+
la(w, nj);
|
|
57863
57863
|
}),
|
|
57864
57864
|
In(pu(), (w, k) => {
|
|
57865
57865
|
k.event.raw.key === "Escape" && k.stop();
|
|
@@ -58296,10 +58296,10 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
58296
58296
|
components: n.tooltipComponents,
|
|
58297
58297
|
events: Ia(n.mode === "normal" ? [
|
|
58298
58298
|
In(dc(), (q) => {
|
|
58299
|
-
|
|
58299
|
+
la(w, i2);
|
|
58300
58300
|
}),
|
|
58301
58301
|
In(t_(), (q) => {
|
|
58302
|
-
|
|
58302
|
+
la(w, l2);
|
|
58303
58303
|
})
|
|
58304
58304
|
] : []),
|
|
58305
58305
|
behaviours: er([
|
|
@@ -58333,23 +58333,23 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
58333
58333
|
],
|
|
58334
58334
|
n.mode === "normal" ? [
|
|
58335
58335
|
In(ol(), (w) => {
|
|
58336
|
-
|
|
58336
|
+
la(w, i2);
|
|
58337
58337
|
}),
|
|
58338
58338
|
In(tb(), (w) => {
|
|
58339
|
-
|
|
58339
|
+
la(w, l2);
|
|
58340
58340
|
}),
|
|
58341
58341
|
In(dc(), (w) => {
|
|
58342
|
-
|
|
58342
|
+
la(w, i2);
|
|
58343
58343
|
}),
|
|
58344
58344
|
In(t_(), (w) => {
|
|
58345
|
-
|
|
58345
|
+
la(w, l2);
|
|
58346
58346
|
})
|
|
58347
58347
|
] : [
|
|
58348
58348
|
In(UC(), (w, k) => {
|
|
58349
|
-
|
|
58349
|
+
la(w, i2);
|
|
58350
58350
|
}),
|
|
58351
58351
|
In(Yy(), (w) => {
|
|
58352
|
-
|
|
58352
|
+
la(w, l2);
|
|
58353
58353
|
})
|
|
58354
58354
|
]
|
|
58355
58355
|
]));
|
|
@@ -58474,7 +58474,7 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
58474
58474
|
kt(w) && l.set(w);
|
|
58475
58475
|
});
|
|
58476
58476
|
}), s0 = (n, l) => Ic((u) => QR(n, u)(l.get())), Vre = (n, l) => Lc((u, p) => {
|
|
58477
|
-
QR(n, u)(n.onAction), !n.triggersSubmenu && l === Wp.CLOSE_ON_EXECUTE && (u.getSystem().isConnected() &&
|
|
58477
|
+
QR(n, u)(n.onAction), !n.triggersSubmenu && l === Wp.CLOSE_ON_EXECUTE && (u.getSystem().isConnected() && la(u, f1()), p.stop());
|
|
58478
58478
|
}), Yz = {
|
|
58479
58479
|
[md()]: [
|
|
58480
58480
|
"disabling",
|
|
@@ -59456,7 +59456,7 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
59456
59456
|
n.onAction({
|
|
59457
59457
|
numRows: ne + 1,
|
|
59458
59458
|
numColumns: ce + 1
|
|
59459
|
-
}),
|
|
59459
|
+
}), la(R, f1());
|
|
59460
59460
|
})
|
|
59461
59461
|
]),
|
|
59462
59462
|
Ur.config({
|
|
@@ -59703,8 +59703,8 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
59703
59703
|
}), Fo.decloak(w);
|
|
59704
59704
|
},
|
|
59705
59705
|
onOpenSubmenu: (ue, xe, Ge) => {
|
|
59706
|
-
const
|
|
59707
|
-
Ml.position(
|
|
59706
|
+
const Ot = W().getOrDie();
|
|
59707
|
+
Ml.position(Ot, Ge, {
|
|
59708
59708
|
anchor: {
|
|
59709
59709
|
type: "submenu",
|
|
59710
59710
|
item: xe
|
|
@@ -59712,11 +59712,11 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
59712
59712
|
}), Fo.decloak(w);
|
|
59713
59713
|
},
|
|
59714
59714
|
onRepositionMenu: (ue, xe, Ge) => {
|
|
59715
|
-
const
|
|
59716
|
-
Ml.position(
|
|
59715
|
+
const Ot = W().getOrDie();
|
|
59716
|
+
Ml.position(Ot, xe, {
|
|
59717
59717
|
anchor: u
|
|
59718
59718
|
}), Bn(Ge, (Qt) => {
|
|
59719
|
-
Ml.position(
|
|
59719
|
+
Ml.position(Ot, Qt.triggeredMenu, {
|
|
59720
59720
|
anchor: {
|
|
59721
59721
|
type: "submenu",
|
|
59722
59722
|
item: Qt.triggeringItem
|
|
@@ -59814,10 +59814,10 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
59814
59814
|
]),
|
|
59815
59815
|
vn("toggleClass"),
|
|
59816
59816
|
nn("eventOrder", {}),
|
|
59817
|
-
|
|
59817
|
+
ia("lazySink"),
|
|
59818
59818
|
nn("matchWidth", !1),
|
|
59819
59819
|
nn("useMinWidth", !1),
|
|
59820
|
-
|
|
59820
|
+
ia("role")
|
|
59821
59821
|
].concat(Jj())), Doe = Ce([
|
|
59822
59822
|
_u({
|
|
59823
59823
|
schema: [
|
|
@@ -60092,8 +60092,8 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
60092
60092
|
}), ne().each(Yo.highlightFirst);
|
|
60093
60093
|
}, Ge = (On) => {
|
|
60094
60094
|
const Nt = ue(On);
|
|
60095
|
-
Nt.length > 0 ? (xe(On, Nt), fn(Zn.fromDom(n.getBody()), "aria-owns", u), n.inline ||
|
|
60096
|
-
},
|
|
60095
|
+
Nt.length > 0 ? (xe(On, Nt), fn(Zn.fromDom(n.getBody()), "aria-owns", u), n.inline || Ot()) : W();
|
|
60096
|
+
}, Ot = () => {
|
|
60097
60097
|
n.dom.get(u) && n.dom.remove(u, !1);
|
|
60098
60098
|
const On = n.getDoc().documentElement, Nt = n.selection.getNode(), Ct = TT(k.element);
|
|
60099
60099
|
Ka(Ct, {
|
|
@@ -60204,7 +60204,7 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
60204
60204
|
}, Joe = (n) => n.raw.which === Ek[0] && !$r([
|
|
60205
60205
|
"input",
|
|
60206
60206
|
"textarea"
|
|
60207
|
-
],
|
|
60207
|
+
], sa(n.target)) && !f2(n.target, '[contenteditable="true"]'), Qoe = (n, l) => {
|
|
60208
60208
|
const u = {
|
|
60209
60209
|
stopBackspace: !0,
|
|
60210
60210
|
...l
|
|
@@ -60236,8 +60236,8 @@ Components: ` + JSON.stringify(l.components, null, 2));
|
|
|
60236
60236
|
"drop",
|
|
60237
60237
|
"keyup"
|
|
60238
60238
|
]), (xe) => ed(n, xe, (Ge) => {
|
|
60239
|
-
w.fireIfReady(Ge, xe).each((
|
|
60240
|
-
|
|
60239
|
+
w.fireIfReady(Ge, xe).each((Ot) => {
|
|
60240
|
+
Ot && Ge.kill();
|
|
60241
60241
|
}), u.triggerEvent(xe, Ge) && Ge.kill();
|
|
60242
60242
|
})), R = Qa(), q = ed(n, "paste", (xe) => {
|
|
60243
60243
|
w.fireIfReady(xe, "paste").each((Ge) => {
|
|
@@ -60450,7 +60450,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
60450
60450
|
Ge(Nt, Ct);
|
|
60451
60451
|
},
|
|
60452
60452
|
broadcastEvent: (Nt, Ct) => {
|
|
60453
|
-
|
|
60453
|
+
Ot(Nt, Ct);
|
|
60454
60454
|
},
|
|
60455
60455
|
isConnected: Et
|
|
60456
60456
|
}, R = (Nt) => {
|
|
@@ -60482,7 +60482,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
60482
60482
|
channels: Nt,
|
|
60483
60483
|
data: Ct
|
|
60484
60484
|
});
|
|
60485
|
-
},
|
|
60485
|
+
}, Ot = (Nt, Ct) => {
|
|
60486
60486
|
const dn = u.filter(Nt);
|
|
60487
60487
|
return tae(dn, Ct);
|
|
60488
60488
|
}, Qt = (Nt) => u.getById(Nt).fold(() => mo.error(new Error('Could not find component with uid: "' + Nt + '" in system.')), mo.value), On = (Nt) => {
|
|
@@ -60501,7 +60501,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
60501
60501
|
removeFromWorld: q,
|
|
60502
60502
|
broadcast: xe,
|
|
60503
60503
|
broadcastOn: Ge,
|
|
60504
|
-
broadcastEvent:
|
|
60504
|
+
broadcastEvent: Ot
|
|
60505
60505
|
};
|
|
60506
60506
|
}, aae = (n, l) => ({
|
|
60507
60507
|
dom: {
|
|
@@ -60662,44 +60662,44 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
60662
60662
|
const p = n.label.map((xe) => l0(xe, l)), w = l.icons(), k = (xe) => {
|
|
60663
60663
|
var Ge;
|
|
60664
60664
|
return (Ge = w[xe]) !== null && Ge !== void 0 ? Ge : xe;
|
|
60665
|
-
}, R = (xe) => (Ge,
|
|
60666
|
-
rh(
|
|
60667
|
-
xe(Ge,
|
|
60665
|
+
}, R = (xe) => (Ge, Ot) => {
|
|
60666
|
+
rh(Ot.event.target, "[data-collection-item-value]").each((Qt) => {
|
|
60667
|
+
xe(Ge, Ot, Qt, Zr(Qt, "data-collection-item-value"));
|
|
60668
60668
|
});
|
|
60669
60669
|
}, q = (xe, Ge) => {
|
|
60670
|
-
const
|
|
60670
|
+
const Ot = pn(Ge, (Nt) => {
|
|
60671
60671
|
const Ct = ku.translate(Nt.text), dn = n.columns === 1 ? `<div class="tox-collection__item-label">${Ct}</div>` : "", Pn = `<div class="tox-collection__item-icon">${k(Nt.icon)}</div>`, un = {
|
|
60672
60672
|
_: " ",
|
|
60673
60673
|
" - ": " ",
|
|
60674
60674
|
"-": " "
|
|
60675
60675
|
}, Wn = Ct.replace(/\_| \- |\-/g, (mr) => un[mr]);
|
|
60676
60676
|
return `<div class="tox-collection__item${l.isDisabled() ? " tox-collection__item--state-disabled" : ""}" tabindex="-1" data-collection-item-value="${lae.encodeAllRaw(Nt.value)}" title="${Wn}" aria-label="${Wn}">${Pn}${dn}</div>`;
|
|
60677
|
-
}), Qt = n.columns !== "auto" && n.columns > 1 ? Tr(
|
|
60678
|
-
|
|
60677
|
+
}), Qt = n.columns !== "auto" && n.columns > 1 ? Tr(Ot, n.columns) : [
|
|
60678
|
+
Ot
|
|
60679
60679
|
], On = pn(Qt, (Nt) => `<div class="tox-collection__group">${Nt.join("")}</div>`);
|
|
60680
60680
|
tv(xe.element, On.join(""));
|
|
60681
|
-
}, W = R((xe, Ge,
|
|
60681
|
+
}, W = R((xe, Ge, Ot, Qt) => {
|
|
60682
60682
|
Ge.stop(), l.isDisabled() || Vr(xe, Jp, {
|
|
60683
60683
|
name: n.name,
|
|
60684
60684
|
value: Qt
|
|
60685
60685
|
});
|
|
60686
60686
|
}), ne = [
|
|
60687
|
-
In(dc(), R((xe, Ge,
|
|
60688
|
-
pr(
|
|
60687
|
+
In(dc(), R((xe, Ge, Ot) => {
|
|
60688
|
+
pr(Ot);
|
|
60689
60689
|
})),
|
|
60690
60690
|
In(Pf(), W),
|
|
60691
60691
|
In(p1(), W),
|
|
60692
|
-
In(ol(), R((xe, Ge,
|
|
60692
|
+
In(ol(), R((xe, Ge, Ot) => {
|
|
60693
60693
|
ns(xe.element, "." + Yk).each((Qt) => {
|
|
60694
60694
|
gs(Qt, Yk);
|
|
60695
|
-
}), yo(
|
|
60695
|
+
}), yo(Ot, Yk);
|
|
60696
60696
|
})),
|
|
60697
60697
|
In(VC(), R((xe) => {
|
|
60698
60698
|
ns(xe.element, "." + Yk).each((Ge) => {
|
|
60699
60699
|
gs(Ge, Yk);
|
|
60700
60700
|
});
|
|
60701
60701
|
})),
|
|
60702
|
-
Lc(R((xe, Ge,
|
|
60702
|
+
Lc(R((xe, Ge, Ot, Qt) => {
|
|
60703
60703
|
Vr(xe, Jp, {
|
|
60704
60704
|
name: n.name,
|
|
60705
60705
|
value: Qt
|
|
@@ -60742,9 +60742,9 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
60742
60742
|
initialValue: u.getOr([])
|
|
60743
60743
|
},
|
|
60744
60744
|
onSetValue: (xe, Ge) => {
|
|
60745
|
-
q(xe, Ge), n.columns === "auto" && KR(xe, 5, "tox-collection__item").each(({ numRows:
|
|
60746
|
-
Ur.setGridSize(xe,
|
|
60747
|
-
}),
|
|
60745
|
+
q(xe, Ge), n.columns === "auto" && KR(xe, 5, "tox-collection__item").each(({ numRows: Ot, numColumns: Qt }) => {
|
|
60746
|
+
Ur.setGridSize(xe, Ot, Qt);
|
|
60747
|
+
}), la(xe, aW);
|
|
60748
60748
|
}
|
|
60749
60749
|
}),
|
|
60750
60750
|
$s.config({}),
|
|
@@ -60766,7 +60766,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
60766
60766
|
"input",
|
|
60767
60767
|
"textarea"
|
|
60768
60768
|
], sW = (n) => {
|
|
60769
|
-
const l =
|
|
60769
|
+
const l = sa(n);
|
|
60770
60770
|
return $r(hae, l);
|
|
60771
60771
|
}, iW = (n, l) => {
|
|
60772
60772
|
const u = l.getRoot(n).getOr(n.element);
|
|
@@ -60928,7 +60928,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
60928
60928
|
}, q = (ne, ce) => {
|
|
60929
60929
|
W.getOpt(ne).each((ue) => {
|
|
60930
60930
|
ce === "custom" ? u.colorPicker((xe) => {
|
|
60931
|
-
xe.fold(() =>
|
|
60931
|
+
xe.fold(() => la(ue, cW), (Ge) => {
|
|
60932
60932
|
R(ue, Ge), Oj(n.storageKey, Ge);
|
|
60933
60933
|
});
|
|
60934
60934
|
}, "#ffffff") : ce === "remove" ? R(ue, "") : R(ue, ce);
|
|
@@ -61132,13 +61132,13 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
61132
61132
|
const R = (n - k) % p, q = Math.round(R / p), W = Math.floor((n - k) / p), ne = Math.floor((u - k) / p), ce = Math.min(ne, W + q), ue = k + ce * p;
|
|
61133
61133
|
return Math.max(k, ue);
|
|
61134
61134
|
}), qae = (n, l, u) => Math.min(u, Math.max(n, l)) - l, E2 = (n) => {
|
|
61135
|
-
const { min: l, max: u, range: p, value: w, step: k, snap: R, snapStart: q, rounded: W, hasMinEdge: ne, hasMaxEdge: ce, minBound: ue, maxBound: xe, screenRange: Ge } = n,
|
|
61135
|
+
const { min: l, max: u, range: p, value: w, step: k, snap: R, snapStart: q, rounded: W, hasMinEdge: ne, hasMaxEdge: ce, minBound: ue, maxBound: xe, screenRange: Ge } = n, Ot = ne ? l - 1 : l, Qt = ce ? u + 1 : u;
|
|
61136
61136
|
if (w < ue)
|
|
61137
|
-
return
|
|
61137
|
+
return Ot;
|
|
61138
61138
|
if (w > xe)
|
|
61139
61139
|
return Qt;
|
|
61140
61140
|
{
|
|
61141
|
-
const On = qae(w, ue, xe), Nt = xW(On / Ge * p + l,
|
|
61141
|
+
const On = qae(w, ue, xe), Nt = xW(On / Ge * p + l, Ot, Qt);
|
|
61142
61142
|
return R && Nt >= l && Nt <= u ? jae(Nt, l, u, k, q) : W ? Math.round(Nt) : Nt;
|
|
61143
61143
|
}
|
|
61144
61144
|
}, mh = (n) => {
|
|
@@ -61381,7 +61381,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
61381
61381
|
nn("onDragEnd", qe),
|
|
61382
61382
|
nn("snapToGrid", !1),
|
|
61383
61383
|
nn("rounded", !0),
|
|
61384
|
-
|
|
61384
|
+
ia("snapStart"),
|
|
61385
61385
|
Jl("model", hi("mode", {
|
|
61386
61386
|
x: [
|
|
61387
61387
|
nn("minX", 0),
|
|
@@ -61432,7 +61432,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
61432
61432
|
ce.value.set(Wn);
|
|
61433
61433
|
const mr = w(un);
|
|
61434
61434
|
xe(un, mr);
|
|
61435
|
-
},
|
|
61435
|
+
}, Ot = (un, Wn) => {
|
|
61436
61436
|
Ge(un, Wn);
|
|
61437
61437
|
const mr = w(un);
|
|
61438
61438
|
return n.onChange(un, mr, Wn), F.some(!0);
|
|
@@ -61481,7 +61481,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
61481
61481
|
]),
|
|
61482
61482
|
events: Ia([
|
|
61483
61483
|
In(_2(), (un, Wn) => {
|
|
61484
|
-
|
|
61484
|
+
Ot(un, Wn.event.value);
|
|
61485
61485
|
}),
|
|
61486
61486
|
us((un, Wn) => {
|
|
61487
61487
|
const mr = ce.getInitialValue();
|
|
@@ -61651,12 +61651,12 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
61651
61651
|
},
|
|
61652
61652
|
validator: {
|
|
61653
61653
|
validate: (xe) => {
|
|
61654
|
-
const Ge = gr.getValue(xe),
|
|
61655
|
-
return Cl.pure(
|
|
61654
|
+
const Ge = gr.getValue(xe), Ot = ue(Ge) ? mo.value(!0) : mo.error(n("aria.input.invalid"));
|
|
61655
|
+
return Cl.pure(Ot);
|
|
61656
61656
|
},
|
|
61657
61657
|
validateOnLoad: !1
|
|
61658
61658
|
}
|
|
61659
|
-
}), k = (ce, ue, xe, Ge,
|
|
61659
|
+
}), k = (ce, ue, xe, Ge, Ot) => {
|
|
61660
61660
|
const Qt = n(Aq + "range"), On = _a.parts.label({
|
|
61661
61661
|
dom: {
|
|
61662
61662
|
tag: "label",
|
|
@@ -61668,7 +61668,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
61668
61668
|
Us(xe)
|
|
61669
61669
|
]
|
|
61670
61670
|
}), Nt = _a.parts.field({
|
|
61671
|
-
data:
|
|
61671
|
+
data: Ot,
|
|
61672
61672
|
factory: gw,
|
|
61673
61673
|
inputAttributes: {
|
|
61674
61674
|
type: "text",
|
|
@@ -61711,11 +61711,11 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
61711
61711
|
});
|
|
61712
61712
|
}), xe;
|
|
61713
61713
|
}, q = (ce, ue) => {
|
|
61714
|
-
const xe = ue.red, Ge = ue.green,
|
|
61714
|
+
const xe = ue.red, Ge = ue.green, Ot = ue.blue;
|
|
61715
61715
|
gr.setValue(ce, {
|
|
61716
61716
|
red: xe,
|
|
61717
61717
|
green: Ge,
|
|
61718
|
-
blue:
|
|
61718
|
+
blue: Ot
|
|
61719
61719
|
});
|
|
61720
61720
|
}, W = Na({
|
|
61721
61721
|
dom: {
|
|
@@ -61747,7 +61747,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
61747
61747
|
q(ht, on), Qt(on);
|
|
61748
61748
|
}, xe = (ht) => ce[ht].get(), Ge = (ht, lt) => {
|
|
61749
61749
|
ce[ht].set(lt);
|
|
61750
|
-
},
|
|
61750
|
+
}, Ot = () => xe("red").bind((ht) => xe("green").bind((lt) => xe("blue").map((on) => dg(ht, lt, on, 1)))), Qt = (ht) => {
|
|
61751
61751
|
const lt = ht.red, on = ht.green, An = ht.blue;
|
|
61752
61752
|
Ge("red", F.some(lt)), Ge("green", F.some(on)), Ge("blue", F.some(An));
|
|
61753
61753
|
}, On = (ht, lt) => {
|
|
@@ -61763,7 +61763,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
61763
61763
|
}), ne(ht, on);
|
|
61764
61764
|
}, Ct = (ht, lt, on) => {
|
|
61765
61765
|
const An = parseInt(on, 10);
|
|
61766
|
-
Ge(lt, F.some(An)),
|
|
61766
|
+
Ge(lt, F.some(An)), Ot().each((_r) => {
|
|
61767
61767
|
const kn = R(ht, _r);
|
|
61768
61768
|
Vr(ht, ED, {
|
|
61769
61769
|
hex: kn
|
|
@@ -61872,16 +61872,16 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
61872
61872
|
const W = Ce({
|
|
61873
61873
|
x: 0,
|
|
61874
61874
|
y: 0
|
|
61875
|
-
}), ne = (xe, Ge,
|
|
61876
|
-
cn(
|
|
61875
|
+
}), ne = (xe, Ge, Ot) => {
|
|
61876
|
+
cn(Ot) || fn(xe.element, "aria-valuetext", n([
|
|
61877
61877
|
"Saturation {0}%, Brightness {1}%",
|
|
61878
|
-
Math.floor(
|
|
61879
|
-
Math.floor(100 -
|
|
61878
|
+
Math.floor(Ot.x),
|
|
61879
|
+
Math.floor(100 - Ot.y)
|
|
61880
61880
|
])), Vr(xe, PW, {
|
|
61881
|
-
value:
|
|
61881
|
+
value: Ot
|
|
61882
61882
|
});
|
|
61883
|
-
}, ce = (xe, Ge,
|
|
61884
|
-
w(
|
|
61883
|
+
}, ce = (xe, Ge, Ot, Qt) => {
|
|
61884
|
+
w(Ot.element.dom, u2(iU));
|
|
61885
61885
|
}, ue = er([
|
|
61886
61886
|
Wo.config({
|
|
61887
61887
|
find: F.some
|
|
@@ -61942,7 +61942,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
61942
61942
|
ue.getOpt(un).each((mr) => {
|
|
61943
61943
|
w.updateHex(mr, Wn);
|
|
61944
61944
|
});
|
|
61945
|
-
},
|
|
61945
|
+
}, Ot = (un, Wn, mr) => {
|
|
61946
61946
|
ne.getOpt(un).each((Nr) => {
|
|
61947
61947
|
Jm.setValue(Nr, q(mr));
|
|
61948
61948
|
});
|
|
@@ -61977,7 +61977,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
61977
61977
|
}, Pn = () => {
|
|
61978
61978
|
const un = [
|
|
61979
61979
|
xe,
|
|
61980
|
-
|
|
61980
|
+
Ot,
|
|
61981
61981
|
Qt
|
|
61982
61982
|
];
|
|
61983
61983
|
return (Wn, mr) => {
|
|
@@ -62113,8 +62113,8 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
62113
62113
|
}, (Ge) => {
|
|
62114
62114
|
gr.setValue(Ge, {
|
|
62115
62115
|
hex: ue.getOr("")
|
|
62116
|
-
}), Px.getField(Ge, "hex").each((
|
|
62117
|
-
|
|
62116
|
+
}), Px.getField(Ge, "hex").each((Ot) => {
|
|
62117
|
+
la(Ot, Yg());
|
|
62118
62118
|
});
|
|
62119
62119
|
});
|
|
62120
62120
|
}),
|
|
@@ -62165,19 +62165,19 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
62165
62165
|
}, GW = (n, l, u) => {
|
|
62166
62166
|
const p = (xe, Ge) => {
|
|
62167
62167
|
Ge.stop();
|
|
62168
|
-
}, w = (xe) => (Ge,
|
|
62168
|
+
}, w = (xe) => (Ge, Ot) => {
|
|
62169
62169
|
Bn(xe, (Qt) => {
|
|
62170
|
-
Qt(Ge,
|
|
62170
|
+
Qt(Ge, Ot);
|
|
62171
62171
|
});
|
|
62172
62172
|
}, k = (xe, Ge) => {
|
|
62173
|
-
var
|
|
62173
|
+
var Ot;
|
|
62174
62174
|
if (!Fr.isDisabled(xe)) {
|
|
62175
62175
|
const Qt = Ge.event.raw;
|
|
62176
|
-
q(xe, (
|
|
62176
|
+
q(xe, (Ot = Qt.dataTransfer) === null || Ot === void 0 ? void 0 : Ot.files);
|
|
62177
62177
|
}
|
|
62178
62178
|
}, R = (xe, Ge) => {
|
|
62179
|
-
const
|
|
62180
|
-
q(xe,
|
|
62179
|
+
const Ot = Ge.event.raw.target;
|
|
62180
|
+
q(xe, Ot.files);
|
|
62181
62181
|
}, q = (xe, Ge) => {
|
|
62182
62182
|
Ge && (gr.setValue(xe, yse(Ge, l)), Vr(xe, Tu, {
|
|
62183
62183
|
name: n.name
|
|
@@ -62444,9 +62444,9 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
62444
62444
|
channels: {
|
|
62445
62445
|
[D2]: {
|
|
62446
62446
|
onReceive: (xe, Ge) => {
|
|
62447
|
-
Ge.newFocus.each((
|
|
62447
|
+
Ge.newFocus.each((Ot) => {
|
|
62448
62448
|
Pi(xe.element).each((Qt) => {
|
|
62449
|
-
(ua(xe.element,
|
|
62449
|
+
(ua(xe.element, Ot) ? yo : gs)(Qt, "tox-navobj-bordered-focus");
|
|
62450
62450
|
});
|
|
62451
62451
|
});
|
|
62452
62452
|
}
|
|
@@ -62515,9 +62515,9 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
62515
62515
|
};
|
|
62516
62516
|
ne.zoom.each((xe) => ce.zoom = xe), ne.cachedWidth.each((xe) => ce.cachedWidth = xe), ne.cachedHeight.each((xe) => ce.cachedHeight = xe), u.set(ce);
|
|
62517
62517
|
const ue = () => {
|
|
62518
|
-
const { cachedWidth: xe, cachedHeight: Ge, zoom:
|
|
62518
|
+
const { cachedWidth: xe, cachedHeight: Ge, zoom: Ot } = ce;
|
|
62519
62519
|
if (!Ie(xe) && !Ie(Ge)) {
|
|
62520
|
-
if (Ie(
|
|
62520
|
+
if (Ie(Ot)) {
|
|
62521
62521
|
const On = rG(W.element, xe, Ge);
|
|
62522
62522
|
ce.zoom = On;
|
|
62523
62523
|
}
|
|
@@ -62529,8 +62529,8 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
62529
62529
|
};
|
|
62530
62530
|
p.getOpt(W).each((xe) => {
|
|
62531
62531
|
const Ge = xe.element;
|
|
62532
|
-
ne.url !== Zr(Ge, "src") && (fn(Ge, "src", ne.url), gs(W.element, "tox-imagepreview__loaded")), ue(), tG(Ge).then((
|
|
62533
|
-
W.getSystem().isConnected() && (yo(W.element, "tox-imagepreview__loaded"), ce.cachedWidth =
|
|
62532
|
+
ne.url !== Zr(Ge, "src") && (fn(Ge, "src", ne.url), gs(W.element, "tox-imagepreview__loaded")), ue(), tG(Ge).then((Ot) => {
|
|
62533
|
+
W.getSystem().isConnected() && (yo(W.element, "tox-imagepreview__loaded"), ce.cachedWidth = Ot.dom.naturalWidth, ce.cachedHeight = Ot.dom.naturalHeight, ue());
|
|
62534
62534
|
});
|
|
62535
62535
|
});
|
|
62536
62536
|
}, R = {};
|
|
@@ -62753,8 +62753,8 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
62753
62753
|
fakeFocus: n.searchable,
|
|
62754
62754
|
onHighlightItem: VU,
|
|
62755
62755
|
onCollapseMenu: (ue, xe, Ge) => {
|
|
62756
|
-
Yo.getHighlighted(Ge).each((
|
|
62757
|
-
VU(ue, Ge,
|
|
62756
|
+
Yo.getHighlighted(Ge).each((Ot) => {
|
|
62757
|
+
VU(ue, Ge, Ot);
|
|
62758
62758
|
});
|
|
62759
62759
|
},
|
|
62760
62760
|
onDehighlightItem: cg
|
|
@@ -62966,7 +62966,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
62966
62966
|
]),
|
|
62967
62967
|
nn("selectClasses", []),
|
|
62968
62968
|
nn("selectAttributes", {}),
|
|
62969
|
-
|
|
62969
|
+
ia("data")
|
|
62970
62970
|
],
|
|
62971
62971
|
factory: Ose
|
|
62972
62972
|
}), Dse = (n, l, u) => {
|
|
@@ -63294,8 +63294,8 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
63294
63294
|
lockClass: "tox-locked"
|
|
63295
63295
|
},
|
|
63296
63296
|
onLockedChange: (ue, xe, Ge) => {
|
|
63297
|
-
qx(gr.getValue(ue)).each((
|
|
63298
|
-
u(
|
|
63297
|
+
qx(gr.getValue(ue)).each((Ot) => {
|
|
63298
|
+
u(Ot).each((Qt) => {
|
|
63299
63299
|
gr.setValue(xe, Mse(Qt));
|
|
63300
63300
|
});
|
|
63301
63301
|
});
|
|
@@ -63313,7 +63313,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
63313
63313
|
Ti(),
|
|
63314
63314
|
_o("size-input-events2", [
|
|
63315
63315
|
In(p, (ue, xe) => {
|
|
63316
|
-
const Ge = xe.event.isField1,
|
|
63316
|
+
const Ge = xe.event.isField1, Ot = Ge ? fh.getField1(ue) : fh.getField2(ue), Qt = Ge ? fh.getField2(ue) : fh.getField1(ue), On = Ot.map(gr.getValue).getOr(""), Nt = Qt.map(gr.getValue).getOr("");
|
|
63317
63317
|
u = fG(On, Nt);
|
|
63318
63318
|
})
|
|
63319
63319
|
])
|
|
@@ -63443,7 +63443,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
63443
63443
|
mode: "execution",
|
|
63444
63444
|
useEnter: n.multiline !== !0,
|
|
63445
63445
|
useControlEnter: n.multiline === !0,
|
|
63446
|
-
execute: (xe) => (
|
|
63446
|
+
execute: (xe) => (la(xe, v2), F.some(!0))
|
|
63447
63447
|
}),
|
|
63448
63448
|
_o("textfield-change", [
|
|
63449
63449
|
In(Yg(), (xe, Ge) => {
|
|
@@ -63463,8 +63463,8 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
63463
63463
|
invalidClass: "tox-invalid",
|
|
63464
63464
|
validator: {
|
|
63465
63465
|
validate: (Ge) => {
|
|
63466
|
-
const
|
|
63467
|
-
return Cl.pure(Qt === !0 ? mo.value(
|
|
63466
|
+
const Ot = gr.getValue(Ge), Qt = xe.validator(Ot);
|
|
63467
|
+
return Cl.pure(Qt === !0 ? mo.value(Ot) : mo.error(Qt));
|
|
63468
63468
|
},
|
|
63469
63469
|
validateOnLoad: xe.validateOnLoad
|
|
63470
63470
|
}
|
|
@@ -63633,7 +63633,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
63633
63633
|
vn("openClass"),
|
|
63634
63634
|
vn("shrinkingClass"),
|
|
63635
63635
|
vn("growingClass"),
|
|
63636
|
-
|
|
63636
|
+
ia("getAnimationRoot"),
|
|
63637
63637
|
Uo("onShrunk"),
|
|
63638
63638
|
Uo("onStartShrink"),
|
|
63639
63639
|
Uo("onGrown"),
|
|
@@ -63812,8 +63812,8 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
63812
63812
|
const ce = ne.event.raw.code === "ArrowLeft", ue = ne.event.raw.code === "ArrowRight";
|
|
63813
63813
|
ce ? (Mc(W.element, ".tox-tree--directory").each((xe) => {
|
|
63814
63814
|
W.getSystem().getByDom(xe).each((Ge) => {
|
|
63815
|
-
kp(xe, ".tox-tree--directory__label").each((
|
|
63816
|
-
Ge.getSystem().getByDom(
|
|
63815
|
+
kp(xe, ".tox-tree--directory__label").each((Ot) => {
|
|
63816
|
+
Ge.getSystem().getByDom(Ot).each(oo.focus);
|
|
63817
63817
|
});
|
|
63818
63818
|
});
|
|
63819
63819
|
}), ne.stop()) : ue && ne.stop();
|
|
@@ -63885,8 +63885,8 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
63885
63885
|
ne && u && W.stop(), (ne || ce) && Mc(q.element, ".tox-tree--directory").each((ue) => {
|
|
63886
63886
|
q.getSystem().getByDom(ue).each((xe) => {
|
|
63887
63887
|
!Oo.isOn(xe) && ne || Oo.isOn(xe) && ce ? (R(q), W.stop()) : ce && !Oo.isOn(xe) && (Mc(xe.element, ".tox-tree--directory").each((Ge) => {
|
|
63888
|
-
kp(Ge, ".tox-tree--directory__label").each((
|
|
63889
|
-
xe.getSystem().getByDom(
|
|
63888
|
+
kp(Ge, ".tox-tree--directory__label").each((Ot) => {
|
|
63889
|
+
xe.getSystem().getByDom(Ot).each(oo.focus);
|
|
63890
63890
|
});
|
|
63891
63891
|
}), W.stop());
|
|
63892
63892
|
});
|
|
@@ -63981,11 +63981,11 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
63981
63981
|
Oo.set(ue, ce);
|
|
63982
63982
|
}),
|
|
63983
63983
|
In("expand-tree-node", (ue, xe) => {
|
|
63984
|
-
const { expanded: Ge, node:
|
|
63984
|
+
const { expanded: Ge, node: Ot } = xe.event;
|
|
63985
63985
|
W.set(Ge ? [
|
|
63986
63986
|
...W.get(),
|
|
63987
|
-
|
|
63988
|
-
] : W.get().filter((Qt) => Qt !==
|
|
63987
|
+
Ot
|
|
63988
|
+
] : W.get().filter((Qt) => Qt !== Ot));
|
|
63989
63989
|
})
|
|
63990
63990
|
]),
|
|
63991
63991
|
Oo.config({
|
|
@@ -63996,8 +63996,8 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
63996
63996
|
} : {},
|
|
63997
63997
|
toggleClass: "tox-tree--directory--expanded",
|
|
63998
63998
|
onToggled: (ue, xe) => {
|
|
63999
|
-
const Ge = ue.components()[1],
|
|
64000
|
-
xe ? Ou.grow(Ge) : Ou.shrink(Ge), uo.set(Ge,
|
|
63999
|
+
const Ge = ue.components()[1], Ot = ne(xe);
|
|
64000
|
+
xe ? Ou.grow(Ge) : Ou.shrink(Ge), uo.set(Ge, Ot);
|
|
64001
64001
|
}
|
|
64002
64002
|
})
|
|
64003
64003
|
])
|
|
@@ -64111,7 +64111,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
64111
64111
|
]
|
|
64112
64112
|
})),
|
|
64113
64113
|
nn("event", "input"),
|
|
64114
|
-
|
|
64114
|
+
ia("cancelEvent"),
|
|
64115
64115
|
Om("onStream")
|
|
64116
64116
|
];
|
|
64117
64117
|
const Zq = Ui({
|
|
@@ -64140,23 +64140,23 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
64140
64140
|
}, Qq = Ce("alloy.typeahead.itemexecute"), tie = (n, l, u, p) => {
|
|
64141
64141
|
const w = (ue, xe, Ge) => {
|
|
64142
64142
|
n.previewing.set(!1);
|
|
64143
|
-
const
|
|
64144
|
-
if (Fo.isOpen(
|
|
64145
|
-
Wo.getCurrent(
|
|
64143
|
+
const Ot = Ws.getCoupled(ue, "sandbox");
|
|
64144
|
+
if (Fo.isOpen(Ot))
|
|
64145
|
+
Wo.getCurrent(Ot).each((Qt) => {
|
|
64146
64146
|
Yo.getHighlighted(Qt).fold(() => {
|
|
64147
64147
|
Ge(Qt);
|
|
64148
64148
|
}, () => {
|
|
64149
|
-
o_(
|
|
64149
|
+
o_(Ot, Qt.element, "keydown", xe);
|
|
64150
64150
|
});
|
|
64151
64151
|
});
|
|
64152
64152
|
else {
|
|
64153
64153
|
const Qt = (On) => {
|
|
64154
64154
|
Wo.getCurrent(On).each(Ge);
|
|
64155
64155
|
};
|
|
64156
|
-
Tx(n, R(ue), ue,
|
|
64156
|
+
Tx(n, R(ue), ue, Ot, p, Qt, yd.HighlightMenuAndItem).get(qe);
|
|
64157
64157
|
}
|
|
64158
64158
|
}, k = yz(n), R = (ue) => (xe) => xe.map((Ge) => {
|
|
64159
|
-
const
|
|
64159
|
+
const Ot = Ad(Ge.menus), Qt = en(Ot, (On) => Yr(On.items, (Nt) => Nt.type === "item"));
|
|
64160
64160
|
return gr.getState(ue).update(pn(Qt, (On) => On.data)), Ge;
|
|
64161
64161
|
}), q = (ue) => Wo.getCurrent(ue), W = "typeaheadevents", ne = [
|
|
64162
64162
|
oo.config({}),
|
|
@@ -64184,11 +64184,11 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
64184
64184
|
onStream: (ue, xe) => {
|
|
64185
64185
|
const Ge = Ws.getCoupled(ue, "sandbox");
|
|
64186
64186
|
if (oo.isFocused(ue) && il(ue.element).length >= n.minChars) {
|
|
64187
|
-
const
|
|
64187
|
+
const Ot = q(Ge).bind((On) => Yo.getHighlighted(On).map(gr.getValue));
|
|
64188
64188
|
n.previewing.set(!0);
|
|
64189
64189
|
const Qt = (On) => {
|
|
64190
64190
|
q(Ge).each((Nt) => {
|
|
64191
|
-
|
|
64191
|
+
Ot.fold(() => {
|
|
64192
64192
|
n.model.selectsOver && Yo.highlightFirst(Nt);
|
|
64193
64193
|
}, (Ct) => {
|
|
64194
64194
|
Yo.highlightBy(Nt, (dn) => gr.getValue(dn).value === Ct.value), Yo.getHighlighted(Nt).orThunk(() => (Yo.highlightFirst(Nt), F.none()));
|
|
@@ -64211,12 +64211,12 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
64211
64211
|
onEnter: (ue) => {
|
|
64212
64212
|
const xe = Ws.getCoupled(ue, "sandbox"), Ge = Fo.isOpen(xe);
|
|
64213
64213
|
if (Ge && !n.previewing.get())
|
|
64214
|
-
return q(xe).bind((
|
|
64215
|
-
item:
|
|
64214
|
+
return q(xe).bind((Ot) => Yo.getHighlighted(Ot)).map((Ot) => (Vr(ue, Qq(), {
|
|
64215
|
+
item: Ot
|
|
64216
64216
|
}), !0));
|
|
64217
64217
|
{
|
|
64218
|
-
const
|
|
64219
|
-
return
|
|
64218
|
+
const Ot = gr.getValue(ue);
|
|
64219
|
+
return la(ue, nb()), n.onExecute(xe, ue, Ot), Ge && Fo.close(xe), F.some(!0);
|
|
64220
64220
|
}
|
|
64221
64221
|
}
|
|
64222
64222
|
}),
|
|
@@ -64249,7 +64249,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
64249
64249
|
}),
|
|
64250
64250
|
In(Qq(), (ue, xe) => {
|
|
64251
64251
|
const Ge = Ws.getCoupled(ue, "sandbox");
|
|
64252
|
-
BD(n.model, ue, xe.event.item),
|
|
64252
|
+
BD(n.model, ue, xe.event.item), la(ue, nb()), n.onItemExecute(ue, Ge, xe.event.item, gr.getValue(ue)), Fo.close(Ge), Jq(ue);
|
|
64253
64253
|
})
|
|
64254
64254
|
].concat(n.dismissOnBlur ? [
|
|
64255
64255
|
In(tb(), (ue) => {
|
|
@@ -64281,7 +64281,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
64281
64281
|
eventOrder: ce
|
|
64282
64282
|
};
|
|
64283
64283
|
}, Xq = Ce([
|
|
64284
|
-
|
|
64284
|
+
ia("lazySink"),
|
|
64285
64285
|
vn("fetch"),
|
|
64286
64286
|
nn("minChars", 5),
|
|
64287
64287
|
nn("responseTime", 1e3),
|
|
@@ -64307,7 +64307,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
64307
64307
|
Ap([
|
|
64308
64308
|
"openClass"
|
|
64309
64309
|
]),
|
|
64310
|
-
|
|
64310
|
+
ia("initialData"),
|
|
64311
64311
|
ks("typeaheadBehaviours", [
|
|
64312
64312
|
oo,
|
|
64313
64313
|
gr,
|
|
@@ -64471,7 +64471,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
64471
64471
|
l === "custom" ? Vr(u, Jp, {
|
|
64472
64472
|
name: n,
|
|
64473
64473
|
value: {}
|
|
64474
|
-
}) : l === "submit" ?
|
|
64474
|
+
}) : l === "submit" ? la(u, v2) : l === "cancel" ? la(u, d0) : console.error("Unknown button type: ", l);
|
|
64475
64475
|
}, oie = (n, l) => l === "menu", FG = (n, l) => l === "custom" || l === "cancel" || l === "submit", aie = (n, l) => l === "togglebutton", sie = (n, l) => {
|
|
64476
64476
|
var u, p;
|
|
64477
64477
|
const w = n.icon.map((Nt) => g0(Nt, l.icons)).map(Na), k = (Nt) => {
|
|
@@ -64509,12 +64509,12 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
64509
64509
|
] : []
|
|
64510
64510
|
],
|
|
64511
64511
|
attributes: W
|
|
64512
|
-
}, xe = [], Ge = l.translate(n.text.getOr("")),
|
|
64512
|
+
}, xe = [], Ge = l.translate(n.text.getOr("")), Ot = Us(Ge), Qt = [
|
|
64513
64513
|
...yw([
|
|
64514
64514
|
w.map((Nt) => Nt.asSpec())
|
|
64515
64515
|
]),
|
|
64516
64516
|
...n.text.isSome() ? [
|
|
64517
|
-
|
|
64517
|
+
Ot
|
|
64518
64518
|
] : []
|
|
64519
64519
|
], On = FD(q, F.some(k), xe, ue, Qt, l);
|
|
64520
64520
|
return Ai.sketch(On);
|
|
@@ -64744,7 +64744,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
64744
64744
|
disabled: () => !n.enabled || w.isDisabled()
|
|
64745
64745
|
})
|
|
64746
64746
|
])
|
|
64747
|
-
}),
|
|
64747
|
+
}), Ot = Na(qG({
|
|
64748
64748
|
name: n.name,
|
|
64749
64749
|
icon: F.some("browse"),
|
|
64750
64750
|
text: n.picker_text.or(n.label).getOr(""),
|
|
@@ -64752,7 +64752,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
64752
64752
|
primary: !1,
|
|
64753
64753
|
buttonType: F.none(),
|
|
64754
64754
|
borderless: !0
|
|
64755
|
-
}, (Nt) =>
|
|
64755
|
+
}, (Nt) => la(Nt, xe), w, [], [
|
|
64756
64756
|
"tox-browse-url"
|
|
64757
64757
|
])), Qt = () => ({
|
|
64758
64758
|
dom: {
|
|
@@ -64765,7 +64765,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
64765
64765
|
[
|
|
64766
64766
|
Ge.asSpec()
|
|
64767
64767
|
],
|
|
64768
|
-
ue.map(() =>
|
|
64768
|
+
ue.map(() => Ot.asSpec()).toArray()
|
|
64769
64769
|
])
|
|
64770
64770
|
}), On = (Nt) => {
|
|
64771
64771
|
Wo.getCurrent(Nt).each((Ct) => {
|
|
@@ -64791,10 +64791,10 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
64791
64791
|
Fr.config({
|
|
64792
64792
|
disabled: () => !n.enabled || w.isDisabled(),
|
|
64793
64793
|
onDisabled: (Nt) => {
|
|
64794
|
-
_a.getField(Nt).each(Fr.disable),
|
|
64794
|
+
_a.getField(Nt).each(Fr.disable), Ot.getOpt(Nt).each(Fr.disable);
|
|
64795
64795
|
},
|
|
64796
64796
|
onEnabled: (Nt) => {
|
|
64797
|
-
_a.getField(Nt).each(Fr.enable),
|
|
64797
|
+
_a.getField(Nt).each(Fr.enable), Ot.getOpt(Nt).each(Fr.enable);
|
|
64798
64798
|
}
|
|
64799
64799
|
}),
|
|
64800
64800
|
Ti(),
|
|
@@ -65547,11 +65547,11 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
65547
65547
|
dialog: ce,
|
|
65548
65548
|
isContextMenuOpen: ue,
|
|
65549
65549
|
setContextMenuState: xe
|
|
65550
|
-
},
|
|
65550
|
+
}, Ot = {
|
|
65551
65551
|
...Ge,
|
|
65552
65552
|
shared: {
|
|
65553
65553
|
...Ge.shared,
|
|
65554
|
-
interpreter: (On) => r6(On, {},
|
|
65554
|
+
interpreter: (On) => r6(On, {}, Ot),
|
|
65555
65555
|
getSink: n.popup
|
|
65556
65556
|
}
|
|
65557
65557
|
}, Qt = {
|
|
@@ -65563,7 +65563,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
65563
65563
|
}
|
|
65564
65564
|
};
|
|
65565
65565
|
return {
|
|
65566
|
-
popup:
|
|
65566
|
+
popup: Ot,
|
|
65567
65567
|
dialog: Qt
|
|
65568
65568
|
};
|
|
65569
65569
|
}, ele = (n, l, u) => {
|
|
@@ -65595,7 +65595,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
65595
65595
|
Wn.button === 0 && w(Y1(), {
|
|
65596
65596
|
target: Zn.fromDom(Wn.target)
|
|
65597
65597
|
});
|
|
65598
|
-
},
|
|
65598
|
+
}, Ot = () => {
|
|
65599
65599
|
Bn(n.editorManager.get(), (Wn) => {
|
|
65600
65600
|
n !== Wn && Wn.dispatch("DismissPopups", {
|
|
65601
65601
|
relatedTarget: n
|
|
@@ -65625,9 +65625,9 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
65625
65625
|
});
|
|
65626
65626
|
};
|
|
65627
65627
|
n.on("PostRender", () => {
|
|
65628
|
-
n.on("click", xe), n.on("tap", xe), n.on("mouseup", Ge), n.on("mousedown",
|
|
65628
|
+
n.on("click", xe), n.on("tap", xe), n.on("mouseup", Ge), n.on("mousedown", Ot), n.on("ScrollWindow", Qt), n.on("ResizeWindow", On), n.on("ResizeEditor", dn), n.on("AfterProgressState", Pn), n.on("DismissPopups", un);
|
|
65629
65629
|
}), n.on("remove", () => {
|
|
65630
|
-
n.off("click", xe), n.off("tap", xe), n.off("mouseup", Ge), n.off("mousedown",
|
|
65630
|
+
n.off("click", xe), n.off("tap", xe), n.off("mouseup", Ge), n.off("mousedown", Ot), n.off("ScrollWindow", Qt), n.off("ResizeWindow", On), n.off("ResizeEditor", dn), n.off("AfterProgressState", Pn), n.off("DismissPopups", un), ce.unbind(), q.unbind(), W.unbind(), ne.unbind(), ue.unbind(), Ct.unbind();
|
|
65631
65631
|
}), n.on("detach", () => {
|
|
65632
65632
|
Bn([
|
|
65633
65633
|
l,
|
|
@@ -65658,8 +65658,8 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
65658
65658
|
R(q).fold(() => {
|
|
65659
65659
|
throw console.error("Custom List was defined to not be a shell, but no item container was specified in components"), new Error("Custom List was defined to not be a shell, but no item container was specified in components");
|
|
65660
65660
|
}, (ne) => {
|
|
65661
|
-
const ce = uo.contents(ne), ue = W.length, xe = ue - ce.length, Ge = xe > 0 ? Hr(xe, () => n.makeItem()) : [],
|
|
65662
|
-
Bn(
|
|
65661
|
+
const ce = uo.contents(ne), ue = W.length, xe = ue - ce.length, Ge = xe > 0 ? Hr(xe, () => n.makeItem()) : [], Ot = ce.slice(ue);
|
|
65662
|
+
Bn(Ot, (On) => uo.remove(ne, On)), Bn(Ge, (On) => uo.append(ne, On));
|
|
65663
65663
|
const Qt = uo.contents(ne);
|
|
65664
65664
|
Bn(Qt, (On, Nt) => {
|
|
65665
65665
|
n.setupItem(q, On, W[Nt], Nt);
|
|
@@ -66023,8 +66023,8 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
66023
66023
|
fadeOutClass: "tox-editor-dock-fadeout",
|
|
66024
66024
|
transitionClass: "tox-editor-dock-transition"
|
|
66025
66025
|
}, IK = "tox-tinymce--toolbar-sticky-on", LK = "tox-tinymce--toolbar-sticky-off", fle = (n, l) => {
|
|
66026
|
-
const u = ls(l), p = Tl(l).dom.innerHeight, w = qd(u), k = Zn.fromDom(n.elm), R = nl(k), q = cs(k), W = R.y, ne = W + q, ce = ji(l), ue = cs(l), xe = ce.top, Ge = xe + ue,
|
|
66027
|
-
if (
|
|
66026
|
+
const u = ls(l), p = Tl(l).dom.innerHeight, w = qd(u), k = Zn.fromDom(n.elm), R = nl(k), q = cs(k), W = R.y, ne = W + q, ce = ji(l), ue = cs(l), xe = ce.top, Ge = xe + ue, Ot = Math.abs(xe - w.top) < 2, Qt = Math.abs(Ge - (w.top + p)) < 2;
|
|
66027
|
+
if (Ot && W < Ge)
|
|
66028
66028
|
jy(w.left, W - ue, u);
|
|
66029
66029
|
else if (Qt && ne > xe) {
|
|
66030
66030
|
const On = W - p + q + ue;
|
|
@@ -66104,8 +66104,8 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
66104
66104
|
const xe = ue.height - W, Ge = ue.y + (a3(q, "top") ? 0 : W);
|
|
66105
66105
|
return Hs(ue.x, Ge, ue.width, xe);
|
|
66106
66106
|
}, (xe) => {
|
|
66107
|
-
const Ge = qy(ue, Rx(xe)),
|
|
66108
|
-
return Hs(Ge.x,
|
|
66107
|
+
const Ge = qy(ue, Rx(xe)), Ot = a3(q, "top") ? Ge.y : Ge.y + W;
|
|
66108
|
+
return Hs(Ge.x, Ot, Ge.width, Ge.height - W);
|
|
66109
66109
|
});
|
|
66110
66110
|
});
|
|
66111
66111
|
},
|
|
@@ -66341,7 +66341,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
66341
66341
|
visible: !1
|
|
66342
66342
|
});
|
|
66343
66343
|
}
|
|
66344
|
-
}, ne = w(R, !1), ce = w(W), ue = k(ce), xe = (Qt) => ue(Qt, u()), Ge = w(q),
|
|
66344
|
+
}, ne = w(R, !1), ce = w(W), ue = k(ce), xe = (Qt) => ue(Qt, u()), Ge = w(q), Ot = {
|
|
66345
66345
|
getSlotNames: u,
|
|
66346
66346
|
getSlot: p,
|
|
66347
66347
|
isShowing: ne,
|
|
@@ -66354,7 +66354,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
66354
66354
|
dom: n.dom,
|
|
66355
66355
|
components: l,
|
|
66356
66356
|
behaviours: _b(n.slotBehaviours),
|
|
66357
|
-
apis:
|
|
66357
|
+
apis: Ot
|
|
66358
66358
|
};
|
|
66359
66359
|
}, vd = {
|
|
66360
66360
|
...ra({
|
|
@@ -66486,10 +66486,10 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
66486
66486
|
shrinkingClass: "tox-sidebar--sliding-shrinking",
|
|
66487
66487
|
growingClass: "tox-sidebar--sliding-growing",
|
|
66488
66488
|
onShrunk: (l) => {
|
|
66489
|
-
Wo.getCurrent(l).each(vd.hideAllSlots),
|
|
66489
|
+
Wo.getCurrent(l).each(vd.hideAllSlots), la(l, l3);
|
|
66490
66490
|
},
|
|
66491
66491
|
onGrown: (l) => {
|
|
66492
|
-
|
|
66492
|
+
la(l, l3);
|
|
66493
66493
|
},
|
|
66494
66494
|
onStartGrow: (l) => {
|
|
66495
66495
|
Vr(l, Hb, {
|
|
@@ -67138,7 +67138,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
67138
67138
|
Ai.sketch({
|
|
67139
67139
|
...p["overflow-button"](),
|
|
67140
67140
|
action: (q) => {
|
|
67141
|
-
|
|
67141
|
+
la(R, w);
|
|
67142
67142
|
}
|
|
67143
67143
|
})
|
|
67144
67144
|
]
|
|
@@ -67421,11 +67421,11 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
67421
67421
|
})).getOr({}), xe = k.map((Ct) => Ct.asSpec()), Ge = yw([
|
|
67422
67422
|
xe,
|
|
67423
67423
|
ce
|
|
67424
|
-
]),
|
|
67424
|
+
]), Ot = n.icon.isSome() && ce.isSome(), Qt = {
|
|
67425
67425
|
tag: "button",
|
|
67426
|
-
classes: W.concat(...n.icon.isSome() && !
|
|
67426
|
+
classes: W.concat(...n.icon.isSome() && !Ot ? [
|
|
67427
67427
|
"tox-button--icon"
|
|
67428
|
-
] : []).concat(...
|
|
67428
|
+
] : []).concat(...Ot ? [
|
|
67429
67429
|
"tox-button--icon-and-text"
|
|
67430
67430
|
] : []).concat(...n.borderless ? [
|
|
67431
67431
|
"tox-button--naked"
|
|
@@ -68238,8 +68238,8 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
68238
68238
|
const W = (Ge) => Ge ? LZ(Ge)[0] : "", ne = n.queryCommandValue("FontName"), ce = q.data, ue = ne ? ne.toLowerCase() : "", xe = LR(n);
|
|
68239
68239
|
return {
|
|
68240
68240
|
matchOpt: Cr(ce, (Ge) => {
|
|
68241
|
-
const
|
|
68242
|
-
return
|
|
68241
|
+
const Ot = Ge.format;
|
|
68242
|
+
return Ot.toLowerCase() === ue || W(Ot).toLowerCase() === W(ue).toLowerCase();
|
|
68243
68243
|
}).orThunk(() => Gr(Cde(ue, xe), {
|
|
68244
68244
|
title: dB,
|
|
68245
68245
|
format: ue
|
|
@@ -68361,7 +68361,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
68361
68361
|
u.onAction(Wn, Pn), p.each((ht) => {
|
|
68362
68362
|
gr.setValue(ht, Wn), dn && (Nr.each((lt) => ht.element.dom.selectionStart = lt), Co.each((lt) => ht.element.dom.selectionEnd = lt));
|
|
68363
68363
|
});
|
|
68364
|
-
}, ce = (Ct, dn) => ne((Pn, un) => Pn - un, Ct, dn), ue = (Ct, dn) => ne((Pn, un) => Pn + un, Ct, dn), xe = (Ct) => Pi(Ct.element).fold(F.none, (dn) => (pr(dn), F.some(!0))), Ge = (Ct) => vv(Ct.element) ? (io(Ct.element).each((dn) => pr(dn)), F.some(!0)) : F.none(),
|
|
68364
|
+
}, ce = (Ct, dn) => ne((Pn, un) => Pn - un, Ct, dn), ue = (Ct, dn) => ne((Pn, un) => Pn + un, Ct, dn), xe = (Ct) => Pi(Ct.element).fold(F.none, (dn) => (pr(dn), F.some(!0))), Ge = (Ct) => vv(Ct.element) ? (io(Ct.element).each((dn) => pr(dn)), F.some(!0)) : F.none(), Ot = (Ct, dn, Pn, un) => {
|
|
68365
68365
|
const Wn = Kr(qe), mr = l.shared.providers.translate(Pn), Nr = Er("altExecuting"), Co = Nw(n, "NodeChange SwitchMode", (lt) => {
|
|
68366
68366
|
Fr.set(lt.getComponent(), !n.selection.isEditable());
|
|
68367
68367
|
}), ht = (lt) => {
|
|
@@ -68411,7 +68411,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
68411
68411
|
]
|
|
68412
68412
|
}
|
|
68413
68413
|
});
|
|
68414
|
-
}, Qt = Na(
|
|
68414
|
+
}, Qt = Na(Ot((Ct) => ce(!1, Ct), "minus", "Decrease font size", [])), On = Na(Ot((Ct) => ue(!1, Ct), "plus", "Increase font size", [])), Nt = Na({
|
|
68415
68415
|
dom: {
|
|
68416
68416
|
tag: "div",
|
|
68417
68417
|
classes: [
|
|
@@ -68524,7 +68524,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
68524
68524
|
if (ce)
|
|
68525
68525
|
for (let ue = 3; W.isNone() && ue >= 0; ue--) {
|
|
68526
68526
|
const xe = Ide(ce, ue), Ge = Lde(xe);
|
|
68527
|
-
W = Cr(ne, (
|
|
68527
|
+
W = Cr(ne, (Ot) => Ot.format === ce || Ot.format === xe || Ot.format === Ge);
|
|
68528
68528
|
}
|
|
68529
68529
|
return {
|
|
68530
68530
|
matchOpt: W,
|
|
@@ -68673,7 +68673,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
68673
68673
|
nn("getAnchorOverrides", Ce({})),
|
|
68674
68674
|
Dp(),
|
|
68675
68675
|
Om("onItemExecute"),
|
|
68676
|
-
|
|
68676
|
+
ia("lazySink"),
|
|
68677
68677
|
vn("dom"),
|
|
68678
68678
|
Uo("onOpen"),
|
|
68679
68679
|
ks("splitDropdownBehaviours", [
|
|
@@ -68684,7 +68684,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
68684
68684
|
nn("matchWidth", !1),
|
|
68685
68685
|
nn("useMinWidth", !1),
|
|
68686
68686
|
nn("eventOrder", {}),
|
|
68687
|
-
|
|
68687
|
+
ia("role")
|
|
68688
68688
|
].concat(Jj())), zZ = Wi({
|
|
68689
68689
|
factory: Ai,
|
|
68690
68690
|
schema: [
|
|
@@ -68931,7 +68931,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
68931
68931
|
});
|
|
68932
68932
|
}),
|
|
68933
68933
|
In(lc(), (q, W) => {
|
|
68934
|
-
W.event.prevent(),
|
|
68934
|
+
W.event.prevent(), la(q, KZ);
|
|
68935
68935
|
})
|
|
68936
68936
|
])
|
|
68937
68937
|
].concat(p.getOr([])))
|
|
@@ -69324,7 +69324,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
69324
69324
|
const Qt = n.getWin().innerWidth;
|
|
69325
69325
|
Qt !== q.get() && (Ge(), q.set(Qt));
|
|
69326
69326
|
});
|
|
69327
|
-
const
|
|
69327
|
+
const Ot = {
|
|
69328
69328
|
setEnabled: (Qt) => {
|
|
69329
69329
|
ZR(l, !Qt);
|
|
69330
69330
|
},
|
|
@@ -69333,7 +69333,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
69333
69333
|
return {
|
|
69334
69334
|
iframeContainer: ue.element.dom,
|
|
69335
69335
|
editorContainer: W.element.dom,
|
|
69336
|
-
api:
|
|
69336
|
+
api: Ot
|
|
69337
69337
|
};
|
|
69338
69338
|
}
|
|
69339
69339
|
});
|
|
@@ -69347,7 +69347,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
69347
69347
|
const l = Wk(n), u = kR(n), p = AR(n);
|
|
69348
69348
|
return yB(l).map((w) => E3(w, u, p));
|
|
69349
69349
|
}, ace = (n) => rJ(n).getOr(Wk(n)), { ToolbarLocation: wB, ToolbarMode: oJ } = tre, sce = 40, ice = (n, l, u, p, w) => {
|
|
69350
|
-
const { mainUi: k, uiMotherships: R } = u, q = hw.DOM, W = bx(n), ne = Qk(n), ce = AR(n).or(rJ(n)), ue = p.shared.header, xe = ue.isPositionedAtTop, Ge = mw(n),
|
|
69350
|
+
const { mainUi: k, uiMotherships: R } = u, q = hw.DOM, W = bx(n), ne = Qk(n), ce = AR(n).or(rJ(n)), ue = p.shared.header, xe = ue.isPositionedAtTop, Ge = mw(n), Ot = Ge === oJ.sliding || Ge === oJ.floating, Qt = Kr(!1), On = () => Qt.get() && !n.removed, Nt = (lt) => Ot ? lt.fold(Ce(0), (on) => on.components().length > 1 ? cs(on.components()[1].element) : 0) : 0, Ct = (lt) => {
|
|
69351
69351
|
switch (q5(n)) {
|
|
69352
69352
|
case wB.auto:
|
|
69353
69353
|
const on = Ha.getToolbar(k.outerContainer), An = Nt(on), _r = cs(lt.element) - An, kn = Ss(l);
|
|
@@ -69426,7 +69426,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
69426
69426
|
return;
|
|
69427
69427
|
W || Pn();
|
|
69428
69428
|
const on = W ? F.none() : Nr();
|
|
69429
|
-
|
|
69429
|
+
Ot && Ha.refreshToolbar(k.outerContainer), W || un(on), ne && w.on(lt), mr();
|
|
69430
69430
|
}, ht = () => W || !ne || !On() ? !1 : w.get().exists((lt) => {
|
|
69431
69431
|
const on = ue.getDockingMode(), An = Ct(lt);
|
|
69432
69432
|
return An !== on ? (dn(An), !0) : !1;
|
|
@@ -69458,11 +69458,11 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
69458
69458
|
};
|
|
69459
69459
|
}, lce = (n, l, u, p) => {
|
|
69460
69460
|
const w = Kr(NB(l, u.isPositionedAtTop())), k = (ne) => {
|
|
69461
|
-
const { pos: ce, bounds: ue } = NB(l, u.isPositionedAtTop()), { pos: xe, bounds: Ge } = w.get(),
|
|
69461
|
+
const { pos: ce, bounds: ue } = NB(l, u.isPositionedAtTop()), { pos: xe, bounds: Ge } = w.get(), Ot = ue.height !== Ge.height || ue.width !== Ge.width;
|
|
69462
69462
|
w.set({
|
|
69463
69463
|
pos: ce,
|
|
69464
69464
|
bounds: ue
|
|
69465
|
-
}),
|
|
69465
|
+
}), Ot && Tj(n, ne), u.isVisible() && (xe !== ce ? u.update(Xs.reset) : Ot && (u.updateMode(), u.repositionPopups()));
|
|
69466
69466
|
};
|
|
69467
69467
|
p || (n.on("activate", u.show), n.on("deactivate", u.hide)), n.on("SkinLoaded ResizeWindow", () => u.update(Xs.reset)), n.on("NodeChange keydown", (ne) => {
|
|
69468
69468
|
requestAnimationFrame(() => k(ne));
|
|
@@ -69531,7 +69531,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
69531
69531
|
lazyGetInOuterOrDie: (p, w) => () => u.get().bind((k) => w(k.outerContainer)).getOrDie(`Could not find ${p} element in OuterContainer`)
|
|
69532
69532
|
};
|
|
69533
69533
|
}, cce = "contexttoolbar-show", _B = "contexttoolbar-hide", sJ = (n) => ({
|
|
69534
|
-
hide: () =>
|
|
69534
|
+
hide: () => la(n, f1()),
|
|
69535
69535
|
getValue: () => gr.getValue(n)
|
|
69536
69536
|
}), iJ = (n, l) => In(oG, (u, p) => {
|
|
69537
69537
|
const w = n.get(u), k = sJ(w);
|
|
@@ -69915,7 +69915,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
69915
69915
|
]),
|
|
69916
69916
|
Ur.config({
|
|
69917
69917
|
mode: "special",
|
|
69918
|
-
onEscape: (u) => tu(l.get()).fold(() => n.onEscape(), (p) => (
|
|
69918
|
+
onEscape: (u) => tu(l.get()).fold(() => n.onEscape(), (p) => (la(u, kB), F.some(!0)))
|
|
69919
69919
|
})
|
|
69920
69920
|
]),
|
|
69921
69921
|
lazySink: () => mo.value(n.sink)
|
|
@@ -69927,7 +69927,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
69927
69927
|
})), ue = () => {
|
|
69928
69928
|
const ht = ne.get().getOr("node"), lt = hJ(ht) ? 1 : 0;
|
|
69929
69929
|
return cJ(n, k, ht, lt);
|
|
69930
|
-
}, xe = () => !n.removed && !(R() && w.isContextMenuOpen()), Ge = (ht) => Ks(bi(ht, q.get(), ua), !0),
|
|
69930
|
+
}, xe = () => !n.removed && !(R() && w.isContextMenuOpen()), Ge = (ht) => Ks(bi(ht, q.get(), ua), !0), Ot = () => {
|
|
69931
69931
|
if (xe()) {
|
|
69932
69932
|
const ht = ue(), lt = Ks(ne.get(), "node") ? bce(n, q.get()) : xB(n);
|
|
69933
69933
|
return ht.height <= 0 || !dJ(lt, ht, 0.01);
|
|
@@ -69938,7 +69938,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
69938
69938
|
}, On = () => {
|
|
69939
69939
|
if (rs.isOpen(ce)) {
|
|
69940
69940
|
const ht = ce.element;
|
|
69941
|
-
zo(ht, "display"),
|
|
69941
|
+
zo(ht, "display"), Ot() ? tn(ht, "display", "none") : (W.set(0), rs.reposition(ce));
|
|
69942
69942
|
}
|
|
69943
69943
|
}, Nt = (ht) => ({
|
|
69944
69944
|
dom: {
|
|
@@ -70010,7 +70010,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
70010
70010
|
],
|
|
70011
70011
|
mode: "placement"
|
|
70012
70012
|
}
|
|
70013
|
-
}, () => F.some(ue())), lt.fold(q.clear, q.set),
|
|
70013
|
+
}, () => F.some(ue())), lt.fold(q.clear, q.set), Ot() && tn(kn, "display", "none");
|
|
70014
70014
|
};
|
|
70015
70015
|
let Nr = !1;
|
|
70016
70016
|
const Co = AD(() => {
|
|
@@ -71228,7 +71228,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
71228
71228
|
return WJ(Ge.getOpt(l), mr, Nr.x, Nr.y, Nr.width, Nr.height);
|
|
71229
71229
|
}, W = () => pn(u.get(), (mr) => q(mr)), ne = (mr) => {
|
|
71230
71230
|
const Nr = nl(mr);
|
|
71231
|
-
return WJ(
|
|
71231
|
+
return WJ(Ot.getOpt(l), mr, Nr.right, Nr.bottom, Nr.width, Nr.height);
|
|
71232
71232
|
}, ce = () => pn(p.get(), (mr) => ne(mr)), ue = GJ(W, k, (mr) => {
|
|
71233
71233
|
R.get().each((Nr) => {
|
|
71234
71234
|
n.dispatch("TableSelectorChange", {
|
|
@@ -71243,7 +71243,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
71243
71243
|
finish: mr
|
|
71244
71244
|
});
|
|
71245
71245
|
});
|
|
71246
|
-
}), Ge = KJ(ue),
|
|
71246
|
+
}), Ge = KJ(ue), Ot = KJ(xe), Qt = wl(Ge.asSpec()), On = wl(Ot.asSpec()), Nt = (mr, Nr, Co, ht) => {
|
|
71247
71247
|
const lt = Nr.dom.getBoundingClientRect();
|
|
71248
71248
|
zo(mr.element, "display");
|
|
71249
71249
|
const on = Tl(Zn.fromDom(n.getBody())).dom.innerHeight, An = Co(lt), _r = ht(lt, on);
|
|
@@ -71529,15 +71529,15 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
71529
71529
|
const R = [], q = U5(n), W = F5(n), ne = V5(n) || n.hasPlugin("wordcount"), ce = () => {
|
|
71530
71530
|
const ue = "tox-statusbar__text-container--flex-start", xe = "tox-statusbar__text-container--flex-end", Ge = "tox-statusbar__text-container--space-around";
|
|
71531
71531
|
if (q) {
|
|
71532
|
-
const
|
|
71532
|
+
const Ot = "tox-statusbar__text-container-3-cols";
|
|
71533
71533
|
return !ne && !W ? [
|
|
71534
|
-
|
|
71534
|
+
Ot,
|
|
71535
71535
|
Ge
|
|
71536
71536
|
] : ne && !W ? [
|
|
71537
|
-
|
|
71537
|
+
Ot,
|
|
71538
71538
|
xe
|
|
71539
71539
|
] : [
|
|
71540
|
-
|
|
71540
|
+
Ot,
|
|
71541
71541
|
ue
|
|
71542
71542
|
];
|
|
71543
71543
|
}
|
|
@@ -71587,7 +71587,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
71587
71587
|
"tox-bottom-anchorbar"
|
|
71588
71588
|
]
|
|
71589
71589
|
}
|
|
71590
|
-
}),
|
|
71590
|
+
}), Ot = () => k.mainUi.get().map((ur) => ur.outerContainer).bind(Ha.getHeader), Qt = () => mo.fromOption(k.dialogUi.get().map((ur) => ur.sink), "UI has not been rendered"), On = () => mo.fromOption(k.popupUi.get().map((ur) => ur.sink), "(popup) UI has not been rendered"), Nt = k.lazyGetInOuterOrDie("anchor bar", xe.getOpt), Ct = k.lazyGetInOuterOrDie("bottom anchor bar", Ge.getOpt), dn = k.lazyGetInOuterOrDie("toolbar", Ha.getToolbar), Pn = k.lazyGetInOuterOrDie("throbber", Ha.getThrobber), un = Yie({
|
|
71591
71591
|
popup: On,
|
|
71592
71592
|
dialog: Qt
|
|
71593
71593
|
}, n, Nt, Ct), Wn = () => {
|
|
@@ -71623,7 +71623,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
71623
71623
|
},
|
|
71624
71624
|
type: ue,
|
|
71625
71625
|
lazyToolbar: dn,
|
|
71626
|
-
lazyHeader: () =>
|
|
71626
|
+
lazyHeader: () => Ot().getOrDie("Could not find header element"),
|
|
71627
71627
|
...ur
|
|
71628
71628
|
}), fa = Ha.parts["multiple-toolbar"]({
|
|
71629
71629
|
dom: {
|
|
@@ -71720,7 +71720,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
71720
71720
|
},
|
|
71721
71721
|
behaviours: er([
|
|
71722
71722
|
Ml.config({
|
|
71723
|
-
useFixed: () => w.isDocked(
|
|
71723
|
+
useFixed: () => w.isDocked(Ot)
|
|
71724
71724
|
})
|
|
71725
71725
|
])
|
|
71726
71726
|
}, fa = {
|
|
@@ -71757,7 +71757,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
71757
71757
|
},
|
|
71758
71758
|
behaviours: er([
|
|
71759
71759
|
Ml.config({
|
|
71760
|
-
useFixed: () => w.isDocked(
|
|
71760
|
+
useFixed: () => w.isDocked(Ot),
|
|
71761
71761
|
getBounds: () => l.getPopupSinkBounds()
|
|
71762
71762
|
})
|
|
71763
71763
|
])
|
|
@@ -71871,7 +71871,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
71871
71871
|
sidebar: sm,
|
|
71872
71872
|
views: Ms
|
|
71873
71873
|
};
|
|
71874
|
-
An(qr.outerContainer), ele(n, qr.mothership, fa), w.setup(n, un.popup.shared,
|
|
71874
|
+
An(qr.outerContainer), ele(n, qr.mothership, fa), w.setup(n, un.popup.shared, Ot), Vce(n, un.popup), eue(n, un.popup.shared.getSink, un.popup), Tle(n), M6(n, Pn, un.popup.shared), $ce(n, as, Do.sink, {
|
|
71875
71875
|
backstage: un.popup
|
|
71876
71876
|
}), xue(n, Do.sink);
|
|
71877
71877
|
const yh = n.getElement(), S0 = on(qr.outerContainer), f$ = {
|
|
@@ -71909,7 +71909,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
71909
71909
|
fn(n, "aria-labelledby", u);
|
|
71910
71910
|
}, Oue = Ce([
|
|
71911
71911
|
vn("lazySink"),
|
|
71912
|
-
|
|
71912
|
+
ia("dragBlockClass"),
|
|
71913
71913
|
Qs("getBounds", bl),
|
|
71914
71914
|
nn("useTabstopAt", Et),
|
|
71915
71915
|
nn("firstTabstop", 0),
|
|
@@ -71989,7 +71989,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
71989
71989
|
]), Due = (n, l, u, p) => {
|
|
71990
71990
|
const w = Qa(), k = (Ge) => {
|
|
71991
71991
|
w.set(Ge);
|
|
71992
|
-
const
|
|
71992
|
+
const Ot = n.lazySink(Ge).getOrDie(), Qt = p.blocker(), On = Ot.getSystem().build({
|
|
71993
71993
|
...Qt,
|
|
71994
71994
|
components: Qt.components.concat([
|
|
71995
71995
|
bu(Ge)
|
|
@@ -72003,15 +72003,15 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
72003
72003
|
])
|
|
72004
72004
|
])
|
|
72005
72005
|
});
|
|
72006
|
-
eg(
|
|
72006
|
+
eg(Ot, On), Ur.focusIn(Ge);
|
|
72007
72007
|
}, R = (Ge) => {
|
|
72008
|
-
w.clear(), Li(Ge.element).each((
|
|
72009
|
-
Ge.getSystem().getByDom(
|
|
72008
|
+
w.clear(), Li(Ge.element).each((Ot) => {
|
|
72009
|
+
Ge.getSystem().getByDom(Ot).each((Qt) => {
|
|
72010
72010
|
Mp(Qt);
|
|
72011
72011
|
});
|
|
72012
72012
|
});
|
|
72013
|
-
}, q = (Ge) => rg(Ge, n, "body"), W = (Ge) => va(Ge, n, "footer"), ne = (Ge,
|
|
72014
|
-
tp.block(Ge,
|
|
72013
|
+
}, q = (Ge) => rg(Ge, n, "body"), W = (Ge) => va(Ge, n, "footer"), ne = (Ge, Ot) => {
|
|
72014
|
+
tp.block(Ge, Ot);
|
|
72015
72015
|
}, ce = (Ge) => {
|
|
72016
72016
|
tp.unblock(Ge);
|
|
72017
72017
|
}, ue = Er("modal-events"), xe = {
|
|
@@ -72431,9 +72431,9 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
72431
72431
|
getState: (n, l, u) => u
|
|
72432
72432
|
}), jhe = [
|
|
72433
72433
|
vn("channel"),
|
|
72434
|
-
|
|
72435
|
-
|
|
72436
|
-
|
|
72434
|
+
ia("renderComponents"),
|
|
72435
|
+
ia("updateState"),
|
|
72436
|
+
ia("initialData"),
|
|
72437
72437
|
Vi("reuseDom", !0)
|
|
72438
72438
|
], gQ = Object.freeze({
|
|
72439
72439
|
__proto__: null,
|
|
@@ -72544,7 +72544,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
72544
72544
|
"aria-selected": "false"
|
|
72545
72545
|
}
|
|
72546
72546
|
})), hd()),
|
|
72547
|
-
|
|
72547
|
+
ia("action"),
|
|
72548
72548
|
nn("domModification", {}),
|
|
72549
72549
|
ks("tabButtonBehaviours", [
|
|
72550
72550
|
oo,
|
|
@@ -73187,7 +73187,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
73187
73187
|
}, n.icons)
|
|
73188
73188
|
],
|
|
73189
73189
|
action: (l) => {
|
|
73190
|
-
|
|
73190
|
+
la(l, d0);
|
|
73191
73191
|
}
|
|
73192
73192
|
}), C = (n, l, u, p) => {
|
|
73193
73193
|
const w = (k) => [
|
|
@@ -73312,7 +73312,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
73312
73312
|
...n.extraBehaviours
|
|
73313
73313
|
],
|
|
73314
73314
|
onEscape: (p) => {
|
|
73315
|
-
|
|
73315
|
+
la(p, d0);
|
|
73316
73316
|
},
|
|
73317
73317
|
dialogEvents: l,
|
|
73318
73318
|
eventOrder: {
|
|
@@ -73356,7 +73356,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
73356
73356
|
Im(Vs(k.element)).fold(qe, M1), l.onClose(), p.onClose();
|
|
73357
73357
|
}),
|
|
73358
73358
|
n(d0, (u, p, w, k) => {
|
|
73359
|
-
p.onCancel(u),
|
|
73359
|
+
p.onCancel(u), la(k, y2);
|
|
73360
73360
|
}),
|
|
73361
73361
|
In(tq, (u, p) => l.onUnblock()),
|
|
73362
73362
|
In(eq, (u, p) => l.onBlock(p.event))
|
|
@@ -73397,12 +73397,12 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
73397
73397
|
});
|
|
73398
73398
|
}),
|
|
73399
73399
|
p(Jp, (k, R, q, W) => {
|
|
73400
|
-
const ne = () => W.getSystem().isConnected() ? Ur.focusIn(W) : void 0, ce = (Ge) => ka(Ge, "disabled") || bo(Ge, "aria-disabled").exists((
|
|
73400
|
+
const ne = () => W.getSystem().isConnected() ? Ur.focusIn(W) : void 0, ce = (Ge) => ka(Ge, "disabled") || bo(Ge, "aria-disabled").exists((Ot) => Ot === "true"), ue = Vs(W.element), xe = Im(ue);
|
|
73401
73401
|
R.onAction(k, {
|
|
73402
73402
|
name: q.name,
|
|
73403
73403
|
value: q.value
|
|
73404
73404
|
}), Im(ue).fold(ne, (Ge) => {
|
|
73405
|
-
ce(Ge) || xe.exists((
|
|
73405
|
+
ce(Ge) || xe.exists((Ot) => Kl(Ge, Ot) && ce(Ot)) ? ne() : u().toOptional().filter((Ot) => !Kl(Ot.element, Ge)).each(ne);
|
|
73406
73406
|
});
|
|
73407
73407
|
}),
|
|
73408
73408
|
p(oW, (k, R, q) => {
|
|
@@ -73503,7 +73503,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
73503
73503
|
},
|
|
73504
73504
|
unblock: () => {
|
|
73505
73505
|
p((k) => {
|
|
73506
|
-
|
|
73506
|
+
la(k, tq);
|
|
73507
73507
|
});
|
|
73508
73508
|
},
|
|
73509
73509
|
showTab: (k) => {
|
|
@@ -73533,7 +73533,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
73533
73533
|
},
|
|
73534
73534
|
close: () => {
|
|
73535
73535
|
p((k) => {
|
|
73536
|
-
|
|
73536
|
+
la(k, y2);
|
|
73537
73537
|
});
|
|
73538
73538
|
},
|
|
73539
73539
|
toggleFullscreen: n.toggleFullscreen
|
|
@@ -73545,7 +73545,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
73545
73545
|
initialData: w.initialData
|
|
73546
73546
|
}, p, u), ce = Cn(w.buttons), ue = nr(ce), xe = Gr(ce.length !== 0, Mr({
|
|
73547
73547
|
buttons: ce
|
|
73548
|
-
}, p, u)), Ge = Rn(() => Nt, Le(() => Qt, u.shared.providers, l), u.shared.getSink),
|
|
73548
|
+
}, p, u)), Ge = Rn(() => Nt, Le(() => Qt, u.shared.providers, l), u.shared.getSink), Ot = {
|
|
73549
73549
|
id: p,
|
|
73550
73550
|
header: k,
|
|
73551
73551
|
body: ne,
|
|
@@ -73559,7 +73559,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
73559
73559
|
})
|
|
73560
73560
|
],
|
|
73561
73561
|
extraStyles: {}
|
|
73562
|
-
}, Qt = ln(
|
|
73562
|
+
}, Qt = ln(Ot, Ge, u), On = (() => {
|
|
73563
73563
|
const Ct = () => {
|
|
73564
73564
|
const Pn = Zi.getBody(Qt);
|
|
73565
73565
|
return Wo.getCurrent(Pn).getOr(Pn);
|
|
@@ -73586,8 +73586,8 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
73586
73586
|
}, k, R, u.shared.providers)), Ge = Na(zhe({
|
|
73587
73587
|
body: W.body,
|
|
73588
73588
|
initialData: W.initialData
|
|
73589
|
-
}, k, q, u, p)),
|
|
73590
|
-
buttons:
|
|
73589
|
+
}, k, q, u, p)), Ot = Cn(W.buttons), Qt = nr(Ot), On = Gr(Ot.length !== 0, Na(br({
|
|
73590
|
+
buttons: Ot
|
|
73591
73591
|
}, k, u))), Nt = Rn(() => Pn, {
|
|
73592
73592
|
onBlock: (un) => {
|
|
73593
73593
|
tp.block(Ct, (Wn, mr) => {
|
|
@@ -73628,8 +73628,8 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
73628
73628
|
behaviours: er([
|
|
73629
73629
|
Ur.config({
|
|
73630
73630
|
mode: "cyclic",
|
|
73631
|
-
onEscape: (un) => (
|
|
73632
|
-
useTabstopAt: (un) => !R2(un) && (
|
|
73631
|
+
onEscape: (un) => (la(un, y2), F.some(!0)),
|
|
73632
|
+
useTabstopAt: (un) => !R2(un) && (sa(un) !== "button" || Zr(un, "disabled") !== "disabled"),
|
|
73633
73633
|
firstTabstop: 1
|
|
73634
73634
|
}),
|
|
73635
73635
|
Ru.config({
|
|
@@ -73696,12 +73696,12 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
73696
73696
|
},
|
|
73697
73697
|
unblock: () => {
|
|
73698
73698
|
l((u) => {
|
|
73699
|
-
|
|
73699
|
+
la(u, tq);
|
|
73700
73700
|
});
|
|
73701
73701
|
},
|
|
73702
73702
|
close: () => {
|
|
73703
73703
|
l((u) => {
|
|
73704
|
-
|
|
73704
|
+
la(u, y2);
|
|
73705
73705
|
});
|
|
73706
73706
|
},
|
|
73707
73707
|
sendMessage: (u) => {
|
|
@@ -73757,10 +73757,10 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
73757
73757
|
"tox-dialog--width-lg"
|
|
73758
73758
|
] : [], ue = new Vc(n.url, {
|
|
73759
73759
|
base_uri: new Vc(window.location.href)
|
|
73760
|
-
}), xe = `${ue.protocol}://${ue.host}${ue.port ? ":" + ue.port : ""}`, Ge = hb(),
|
|
73760
|
+
}), xe = `${ue.protocol}://${ue.host}${ue.port ? ":" + ue.port : ""}`, Ge = hb(), Ot = (Ct, dn) => F.some(dn), Qt = [
|
|
73761
73761
|
Ru.config({
|
|
73762
73762
|
channel: `${OD}-${w}`,
|
|
73763
|
-
updateState:
|
|
73763
|
+
updateState: Ot,
|
|
73764
73764
|
initialData: n
|
|
73765
73765
|
}),
|
|
73766
73766
|
_o("messages", [
|
|
@@ -73918,8 +73918,8 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
73918
73918
|
}
|
|
73919
73919
|
return W(ue, Ge);
|
|
73920
73920
|
}, R = (ue, xe) => q(ue, xe), q = (ue, xe) => {
|
|
73921
|
-
const Ge = (
|
|
73922
|
-
const Qt = jr(
|
|
73921
|
+
const Ge = (Ot) => {
|
|
73922
|
+
const Qt = jr(Ot, {
|
|
73923
73923
|
closeWindow: () => {
|
|
73924
73924
|
Zi.hide(Qt.dialog), xe(Qt.instanceApi);
|
|
73925
73925
|
}
|
|
@@ -73928,11 +73928,11 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
73928
73928
|
};
|
|
73929
73929
|
return Bw.openUrl(Ge, ue);
|
|
73930
73930
|
}, W = (ue, xe) => {
|
|
73931
|
-
const Ge = (
|
|
73931
|
+
const Ge = (Ot, Qt, On) => {
|
|
73932
73932
|
const Nt = Qt, Ct = bc({
|
|
73933
73933
|
dataValidator: On,
|
|
73934
73934
|
initialData: Nt,
|
|
73935
|
-
internalDialog:
|
|
73935
|
+
internalDialog: Ot
|
|
73936
73936
|
}, {
|
|
73937
73937
|
redial: Bw.redial,
|
|
73938
73938
|
closeWindow: () => {
|
|
@@ -73942,7 +73942,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
73942
73942
|
return Zi.show(Ct.dialog), Ct.instanceApi.setData(Nt), Ct.instanceApi;
|
|
73943
73943
|
};
|
|
73944
73944
|
return Bw.open(Ge, ue);
|
|
73945
|
-
}, ne = (ue, xe, Ge,
|
|
73945
|
+
}, ne = (ue, xe, Ge, Ot) => {
|
|
73946
73946
|
const Qt = (On, Nt, Ct) => {
|
|
73947
73947
|
const dn = Vo(Nt, Ct), Pn = Qa(), un = n.backstages.popup.shared.header.isPositionedAtTop(), Wn = {
|
|
73948
73948
|
dataValidator: Ct,
|
|
@@ -73955,13 +73955,13 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
73955
73955
|
closeWindow: () => {
|
|
73956
73956
|
Pn.on(rs.hide), l.off("ResizeEditor", mr), Pn.clear(), Ge(Nr.instanceApi);
|
|
73957
73957
|
}
|
|
73958
|
-
}, n.backstages.popup,
|
|
73958
|
+
}, n.backstages.popup, Ot.ariaAttrs, mr), Co = wl(rs.sketch({
|
|
73959
73959
|
lazySink: n.backstages.popup.shared.getSink,
|
|
73960
73960
|
dom: {
|
|
73961
73961
|
tag: "div",
|
|
73962
73962
|
classes: []
|
|
73963
73963
|
},
|
|
73964
|
-
fireDismissalEventInstead:
|
|
73964
|
+
fireDismissalEventInstead: Ot.persistent ? {
|
|
73965
73965
|
event: "doNotDismissYet"
|
|
73966
73966
|
} : {},
|
|
73967
73967
|
...un ? {} : {
|
|
@@ -73970,7 +73970,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
73970
73970
|
inlineBehaviours: er([
|
|
73971
73971
|
_o("window-manager-inline-events", [
|
|
73972
73972
|
In(ob(), (lt, on) => {
|
|
73973
|
-
|
|
73973
|
+
la(Nr.dialog, d0);
|
|
73974
73974
|
})
|
|
73975
73975
|
]),
|
|
73976
73976
|
...tf(l, u, un)
|
|
@@ -73987,7 +73987,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
73987
73987
|
}, ht), (!u || !un) && (Xs.refresh(Co), l.on("ResizeEditor", mr)), Nr.instanceApi.setData(dn), Ur.focusIn(Nr.dialog), Nr.instanceApi;
|
|
73988
73988
|
};
|
|
73989
73989
|
return Bw.open(Qt, ue);
|
|
73990
|
-
}, ce = (ue, xe, Ge,
|
|
73990
|
+
}, ce = (ue, xe, Ge, Ot) => {
|
|
73991
73991
|
const Qt = (On, Nt, Ct) => {
|
|
73992
73992
|
const dn = Vo(Nt, Ct), Pn = Qa(), un = n.backstages.popup.shared.header.isPositionedAtTop(), Wn = {
|
|
73993
73993
|
dataValidator: Ct,
|
|
@@ -74000,13 +74000,13 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
74000
74000
|
closeWindow: () => {
|
|
74001
74001
|
Pn.on(rs.hide), l.off("ResizeEditor ScrollWindow ElementScroll", mr), Pn.clear(), Ge(Nr.instanceApi);
|
|
74002
74002
|
}
|
|
74003
|
-
}, n.backstages.popup,
|
|
74003
|
+
}, n.backstages.popup, Ot.ariaAttrs, mr), Co = wl(rs.sketch({
|
|
74004
74004
|
lazySink: n.backstages.popup.shared.getSink,
|
|
74005
74005
|
dom: {
|
|
74006
74006
|
tag: "div",
|
|
74007
74007
|
classes: []
|
|
74008
74008
|
},
|
|
74009
|
-
fireDismissalEventInstead:
|
|
74009
|
+
fireDismissalEventInstead: Ot.persistent ? {
|
|
74010
74010
|
event: "doNotDismissYet"
|
|
74011
74011
|
} : {},
|
|
74012
74012
|
...un ? {} : {
|
|
@@ -74015,7 +74015,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
74015
74015
|
inlineBehaviours: er([
|
|
74016
74016
|
_o("window-manager-inline-events", [
|
|
74017
74017
|
In(ob(), (lt, on) => {
|
|
74018
|
-
|
|
74018
|
+
la(Nr.dialog, d0);
|
|
74019
74019
|
})
|
|
74020
74020
|
]),
|
|
74021
74021
|
Xs.config({
|
|
@@ -74427,7 +74427,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
74427
74427
|
}, ca = (b, _) => b.dom === _.dom, Sc = (b, _) => {
|
|
74428
74428
|
const A = b.dom, P = _.dom;
|
|
74429
74429
|
return A === P ? !1 : A.contains(P);
|
|
74430
|
-
}, Hu = di, pl = (b) => sr.fromDom(b.dom.ownerDocument), Dd = (b) => _c(b) ? b : pl(b), zu = (b) => sr.fromDom(Dd(b).dom.documentElement), bs = (b) => sr.fromDom(Dd(b).dom.defaultView),
|
|
74430
|
+
}, Hu = di, pl = (b) => sr.fromDom(b.dom.ownerDocument), Dd = (b) => _c(b) ? b : pl(b), zu = (b) => sr.fromDom(Dd(b).dom.documentElement), bs = (b) => sr.fromDom(Dd(b).dom.defaultView), sa = (b) => De.from(b.dom.parentNode).map(sr.fromDom), Uu = (b) => De.from(b.dom.parentElement).map(sr.fromDom), ac = (b, _) => {
|
|
74431
74431
|
const A = Ve(_) ? _ : ft;
|
|
74432
74432
|
let P = b.dom;
|
|
74433
74433
|
const G = [];
|
|
@@ -74442,12 +74442,12 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
74442
74442
|
const A = b.dom.childNodes;
|
|
74443
74443
|
return De.from(A[_]).map(sr.fromDom);
|
|
74444
74444
|
}, Id = (b) => es(b, 0), Al = (b, _) => {
|
|
74445
|
-
|
|
74445
|
+
sa(b).each((A) => {
|
|
74446
74446
|
A.dom.insertBefore(_.dom, b.dom);
|
|
74447
74447
|
});
|
|
74448
74448
|
}, Fs = (b, _) => {
|
|
74449
74449
|
ys(b).fold(() => {
|
|
74450
|
-
|
|
74450
|
+
sa(b).each((A) => {
|
|
74451
74451
|
Ro(A, _);
|
|
74452
74452
|
});
|
|
74453
74453
|
}, (A) => {
|
|
@@ -74682,7 +74682,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
74682
74682
|
});
|
|
74683
74683
|
return Ld(A, P, _(A));
|
|
74684
74684
|
}
|
|
74685
|
-
}), jg = (b) =>
|
|
74685
|
+
}), jg = (b) => sa(b).map((_) => {
|
|
74686
74686
|
const A = da(_);
|
|
74687
74687
|
return Hn(A) ? A : "tbody";
|
|
74688
74688
|
}).getOr("tbody"), qg = (b) => {
|
|
@@ -75197,11 +75197,11 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
75197
75197
|
"empty"
|
|
75198
75198
|
])), Jl = (b, _, A) => {
|
|
75199
75199
|
ya(b, "width", _ + A);
|
|
75200
|
-
}, wP = (b) => mo(b) + "px", Ja = (b) => gT(b, mo, Wg) + "%", _p = (b) => hi(b).exists((_) => $c.test(_)), jC = (b) => hi(b).exists((_) => d1.test(_)), Qu = (b) => hi(b).isNone(), c1 = qe($c), Ls = Ca("col"), YN = (b) => hi(b).getOrThunk(() => Il(b) + "px"), Tc = (b) => XN(b).getOrThunk(() => ic(b) + "px"),
|
|
75200
|
+
}, wP = (b) => mo(b) + "px", Ja = (b) => gT(b, mo, Wg) + "%", _p = (b) => hi(b).exists((_) => $c.test(_)), jC = (b) => hi(b).exists((_) => d1.test(_)), Qu = (b) => hi(b).isNone(), c1 = qe($c), Ls = Ca("col"), YN = (b) => hi(b).getOrThunk(() => Il(b) + "px"), Tc = (b) => XN(b).getOrThunk(() => ic(b) + "px"), ia = (b) => wn(No.justColumns(b), (_) => De.from(_.element)), hu = (b) => {
|
|
75201
75201
|
const _ = Dh().browser, A = _.isChromium() || _.isFirefox();
|
|
75202
75202
|
return Ls(b) ? A : !0;
|
|
75203
75203
|
}, Df = (b, _, A, P, G, oe) => b.filter(P).fold(() => oe(Of(A, _)), (Ne) => G(Ne)), yl = (b, _, A, P) => {
|
|
75204
|
-
const G = s1(b), oe = No.hasColumns(b) ?
|
|
75204
|
+
const G = s1(b), oe = No.hasColumns(b) ? ia(b) : G, Ne = [
|
|
75205
75205
|
De.some(hd.edge(_))
|
|
75206
75206
|
].concat(wn(hd.positions(G, _), (wt) => wt.map((Yt) => Yt.x))), je = Ce(vm);
|
|
75207
75207
|
return wn(oe, (wt, Yt) => Df(wt, Yt, Ne, je, (En) => {
|
|
@@ -75527,7 +75527,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
75527
75527
|
}, UC = (b, _) => Pd(Math.min(b.row, _.row), Math.min(b.column, _.column), Math.max(b.row + b.rowspan - 1, _.row + _.rowspan - 1), Math.max(b.column + b.colspan - 1, _.column + _.colspan - 1)), Yy = (b, _, A) => {
|
|
75528
75528
|
const P = No.findItem(b, _, ca), G = No.findItem(b, A, ca);
|
|
75529
75529
|
return P.bind((oe) => G.map((Ne) => UC(oe, Ne)));
|
|
75530
|
-
},
|
|
75530
|
+
}, la = (b, _, A) => Yy(b, _, A).bind((P) => ET(b, P)), Vr = (b, _, A, P) => No.findItem(b, _, ca).bind((G) => {
|
|
75531
75531
|
const oe = A > 0 ? G.row + G.rowspan - 1 : G.row, Ne = P > 0 ? G.column + G.colspan - 1 : G.column;
|
|
75532
75532
|
return No.getAt(b, oe + A, Ne + P).map((je) => je.element);
|
|
75533
75533
|
}), km = (b, _, A) => Yy(b, _, A).map((P) => {
|
|
@@ -75547,7 +75547,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
75547
75547
|
return Ne.bind((wt) => je.bind((Yt) => km(oe, wt, Yt)));
|
|
75548
75548
|
}, Ia = (b, _, A) => {
|
|
75549
75549
|
const P = y1(b);
|
|
75550
|
-
return
|
|
75550
|
+
return la(P, _, A);
|
|
75551
75551
|
}, y1 = No.fromTable;
|
|
75552
75552
|
var kT = [
|
|
75553
75553
|
"body",
|
|
@@ -75653,7 +75653,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
|
|
|
75653
75653
|
property: qe({
|
|
75654
75654
|
children: Wa,
|
|
75655
75655
|
name: da,
|
|
75656
|
-
parent:
|
|
75656
|
+
parent: sa,
|
|
75657
75657
|
document: _,
|
|
75658
75658
|
isText: Td,
|
|
75659
75659
|
isComment: Qo,
|
|
@@ -76610,7 +76610,7 @@ Required: ` + _.join(", "));
|
|
|
76610
76610
|
], b.property().name(_)), S_ = v1(), bv = (b) => gv(S_, b), oh = (b) => xn(S_, b), uE = (b) => cE(S_, b), cb = (b) => {
|
|
76611
76611
|
const _ = Ca("br"), A = (je) => so(je, (wt) => _(wt) || Td(wt) && zi(wt).trim().length === 0), P = (je) => da(je) === "li" || ja(je, oh).isSome(), G = (je) => ys(je).map((wt) => bv(wt) ? !0 : uE(wt) ? da(wt) !== "img" : !1).getOr(!1), oe = (je) => e_(je).bind((wt) => {
|
|
76612
76612
|
const Yt = G(wt);
|
|
76613
|
-
return
|
|
76613
|
+
return sa(wt).map((En) => Yt === !0 || P(En) || _(wt) || bv(En) && !ca(je, En) ? [] : [
|
|
76614
76614
|
sr.fromTag("br")
|
|
76615
76615
|
]);
|
|
76616
76616
|
}).getOr([]), Ne = (() => {
|
|
@@ -77419,7 +77419,7 @@ Required: ` + _.join(", "));
|
|
|
77419
77419
|
children: _,
|
|
77420
77420
|
element: A,
|
|
77421
77421
|
index: P
|
|
77422
|
-
}), LO = (b) =>
|
|
77422
|
+
}), LO = (b) => sa(b).bind((_) => {
|
|
77423
77423
|
const A = Wa(_);
|
|
77424
77424
|
return K1(A, b).map((P) => XE(_, A, b, P));
|
|
77425
77425
|
}), K1 = (b, _) => Zo(b, ge(ca, _)), $v = Ca("br"), YE = (b, _, A) => _(b, A).bind((P) => Td(P) && zi(P).trim().length === 0 ? YE(P, _, A) : De.some(P)), ek = (b, _, A) => A.traverse(_).orThunk(() => YE(_, A.gather, b)).map(A.relative), z_ = (b, _) => es(b, _).filter($v).orThunk(() => es(b, _ - 1).filter($v)), cl = (b, _, A, P) => z_(_, A).bind((G) => P.traverse(G).fold(() => YE(G, P.gather, b).map(P.relative), (oe) => LO(oe).map((Ne) => fd.on(Ne.parent, Ne.index)))), xM = (b, _, A, P) => ($v(_) ? ek(b, _, P) : cl(b, _, A, P)).map((G) => ({
|
|
@@ -77486,7 +77486,7 @@ Required: ` + _.join(", "));
|
|
|
77486
77486
|
}), hc = (b, _, A, P, G) => W_(b, _, A).bind((oe) => tg(b, G, P(oe, nd.getJumpSize()))), tg = (b, _, A) => {
|
|
77487
77487
|
const P = Dh().browser;
|
|
77488
77488
|
return P.isChromium() || P.isSafari() || P.isFirefox() ? _.retry(b, A) : De.none();
|
|
77489
|
-
}, CM = (b, _, A, P, G) => W_(b, A, P).bind((oe) => tg(b, G, oe)), EM = (b, _, A) => ah(b, _, A).bind((P) => Dv(b, _, P.element, P.offset, A, rd).map(b.fromSitus)), kM = (b, _) => JE(b, (A) =>
|
|
77489
|
+
}, CM = (b, _, A, P, G) => W_(b, A, P).bind((oe) => tg(b, G, oe)), EM = (b, _, A) => ah(b, _, A).bind((P) => Dv(b, _, P.element, P.offset, A, rd).map(b.fromSitus)), kM = (b, _) => JE(b, (A) => sa(A).exists((P) => ca(P, _))), K_ = (b, _, A, P, G) => ci(P, "td,th", _).bind((oe) => ci(oe, "table", _).bind((Ne) => kM(G, Ne) ? EM(b, _, A).bind((je) => ci(je.finish, "td,th", _).map((wt) => ({
|
|
77490
77490
|
start: oe,
|
|
77491
77491
|
finish: wt,
|
|
77492
77492
|
range: je
|
|
@@ -79068,8 +79068,8 @@ Required: ` + _.join(", "));
|
|
|
79068
79068
|
Sc(ie, (vt, Dt) => {
|
|
79069
79069
|
zu(Oe, Dt, vt);
|
|
79070
79070
|
});
|
|
79071
|
-
},
|
|
79072
|
-
const Oe = en.fromTag(ie), vt =
|
|
79071
|
+
}, sa = (K) => Et(K.dom.attributes, (ie, Oe) => (ie[Oe.name] = Oe.value, ie), {}), Uu = (K, ie) => en.fromDom(K.dom.cloneNode(ie)), ac = (K) => Uu(K, !0), fl = (K, ie) => {
|
|
79072
|
+
const Oe = en.fromTag(ie), vt = sa(K);
|
|
79073
79073
|
return bs(Oe, vt), Oe;
|
|
79074
79074
|
}, ys = (K, ie) => {
|
|
79075
79075
|
const Oe = fl(K, ie);
|
|
@@ -79222,8 +79222,8 @@ Required: ` + _.join(", "));
|
|
|
79222
79222
|
dirty: !1,
|
|
79223
79223
|
isSelected: Oe,
|
|
79224
79224
|
content: pp(K),
|
|
79225
|
-
itemAttributes:
|
|
79226
|
-
listAttributes:
|
|
79225
|
+
itemAttributes: sa(K),
|
|
79226
|
+
listAttributes: sa(vt),
|
|
79227
79227
|
listType: Ts(vt),
|
|
79228
79228
|
isInPreviousLi: !1
|
|
79229
79229
|
})), Mg = (K, ie) => {
|
|
@@ -80573,7 +80573,7 @@ Required: ` + _.join(", "));
|
|
|
80573
80573
|
});
|
|
80574
80574
|
});
|
|
80575
80575
|
};
|
|
80576
|
-
var
|
|
80576
|
+
var sa = tinymce.util.Tools.resolve("tinymce.util.VK");
|
|
80577
80577
|
const Uu = (Ue, xt) => {
|
|
80578
80578
|
document.body.appendChild(Ue), Ue.dispatchEvent(xt), document.body.removeChild(Ue);
|
|
80579
80579
|
}, ac = (Ue) => {
|
|
@@ -80599,7 +80599,7 @@ Required: ` + _.join(", "));
|
|
|
80599
80599
|
}, Fs = (Ue) => {
|
|
80600
80600
|
Ue.on("click", (xt) => {
|
|
80601
80601
|
const Ft = fl(Ue, xt.target);
|
|
80602
|
-
Ft &&
|
|
80602
|
+
Ft && sa.metaKeyPressed(xt) && (xt.preventDefault(), es(Ue, Ft));
|
|
80603
80603
|
}), Ue.on("keydown", (xt) => {
|
|
80604
80604
|
if (!xt.isDefaultPrevented() && xt.keyCode === 13 && Wa(xt)) {
|
|
80605
80605
|
const Ft = ys(Ue);
|
|
@@ -89135,7 +89135,7 @@ Required: ` + _.join(", "));
|
|
|
89135
89135
|
var fn = nt(he);
|
|
89136
89136
|
return Go(he) ? fn : Yr(fn, Bt(he));
|
|
89137
89137
|
}
|
|
89138
|
-
function
|
|
89138
|
+
function sa(he) {
|
|
89139
89139
|
return qs.call(he);
|
|
89140
89140
|
}
|
|
89141
89141
|
function Uu(he) {
|
|
@@ -89213,7 +89213,7 @@ Required: ` + _.join(", "));
|
|
|
89213
89213
|
var Bt = Ea(he, nt);
|
|
89214
89214
|
return Uu(Bt) ? Bt : void 0;
|
|
89215
89215
|
}
|
|
89216
|
-
var Oa = Os ? Wr(Os, Object) : bm, Tl =
|
|
89216
|
+
var Oa = Os ? Wr(Os, Object) : bm, Tl = sa;
|
|
89217
89217
|
($l && Tl(new $l(new ArrayBuffer(1))) != ge || $d && Tl(new $d()) != Se || Ma && Tl(Ma.resolve()) != at || Ad && Tl(new Ad()) != cn || lr && Tl(new lr()) != U) && (Tl = function(he) {
|
|
89218
89218
|
var nt = qs.call(he), Bt = nt == Ve ? he.constructor : void 0, fn = Bt ? Hn(Bt) : void 0;
|
|
89219
89219
|
if (fn)
|
|
@@ -89532,7 +89532,7 @@ Required: ` + _.join(", "));
|
|
|
89532
89532
|
function bs(he) {
|
|
89533
89533
|
return this.__data__.get(he);
|
|
89534
89534
|
}
|
|
89535
|
-
function
|
|
89535
|
+
function sa(he) {
|
|
89536
89536
|
return this.__data__.has(he);
|
|
89537
89537
|
}
|
|
89538
89538
|
function Uu(he, nt) {
|
|
@@ -89548,7 +89548,7 @@ Required: ` + _.join(", "));
|
|
|
89548
89548
|
}
|
|
89549
89549
|
return Bt.set(he, nt), this.size = Bt.size, this;
|
|
89550
89550
|
}
|
|
89551
|
-
pl.prototype.clear = Dd, pl.prototype.delete = zu, pl.prototype.get = bs, pl.prototype.has =
|
|
89551
|
+
pl.prototype.clear = Dd, pl.prototype.delete = zu, pl.prototype.get = bs, pl.prototype.has = sa, pl.prototype.set = Uu;
|
|
89552
89552
|
function ac(he, nt) {
|
|
89553
89553
|
var Bt = ma(he), fn = !Bt && ha(he), Or = !Bt && !fn && oa(he), Zr = !Bt && !fn && !Or && hp(he), bo = Bt || fn || Or || Zr, ka = bo ? Vl(he.length, String) : [], Bo = ka.length;
|
|
89554
89554
|
for (var Ga in he)
|
|
@@ -102190,7 +102190,7 @@ class oN extends O0 {
|
|
|
102190
102190
|
J.address
|
|
102191
102191
|
);
|
|
102192
102192
|
if (be?.["dcat:dataset"]) {
|
|
102193
|
-
const Be = be["dcat:dataset"], rt = Array.isArray(Be) ? Be : [Be],
|
|
102193
|
+
const Be = be["dcat:dataset"], rt = Array.isArray(Be) ? Be : [Be], Tt = be.participantId || be["edc:participantId"] || be["https://w3id.org/edc/v0.0.1/ns/participantId"], hn = J.participantId || Tt;
|
|
102194
102194
|
return rt.map((gn) => {
|
|
102195
102195
|
const _n = {
|
|
102196
102196
|
temsServiceBase: I,
|
|
@@ -102327,7 +102327,7 @@ class Cd extends Sye {
|
|
|
102327
102327
|
const J = H.getAttribute("navigation-subrouter"), be = H.getAttribute("navigation-resource"), Be = H.getAttribute("navigation-rdf-type");
|
|
102328
102328
|
if (Be) {
|
|
102329
102329
|
const rt = window.orbit?.components?.filter(
|
|
102330
|
-
(
|
|
102330
|
+
(Tt) => Tt?.routeAttributes?.["rdf-type"] === Be
|
|
102331
102331
|
);
|
|
102332
102332
|
rt && (X = rt[0]?.uniq);
|
|
102333
102333
|
}
|
|
@@ -103060,7 +103060,7 @@ let A0 = class extends Sye {
|
|
|
103060
103060
|
);
|
|
103061
103061
|
return Ao`
|
|
103062
103062
|
<tems-input-field
|
|
103063
|
-
label=${
|
|
103063
|
+
label=${aa("Search for...")}
|
|
103064
103064
|
type="text"
|
|
103065
103065
|
value=${H?.value ?? ""}
|
|
103066
103066
|
@change=${(X) => {
|
|
@@ -103084,7 +103084,7 @@ let A0 = class extends Sye {
|
|
|
103084
103084
|
);
|
|
103085
103085
|
return Ao`
|
|
103086
103086
|
<tems-input-field
|
|
103087
|
-
label=${
|
|
103087
|
+
label=${aa("Date after")}
|
|
103088
103088
|
type="date"
|
|
103089
103089
|
value=${H?.value ?? ""}
|
|
103090
103090
|
@change=${(X) => {
|
|
@@ -103102,11 +103102,11 @@ let A0 = class extends Sye {
|
|
|
103102
103102
|
renderFilterItemsByNumberRange(B, I) {
|
|
103103
103103
|
if (!B)
|
|
103104
103104
|
return Ar;
|
|
103105
|
-
const H = B.map((
|
|
103105
|
+
const H = B.map((Tt) => Number(Tt[I]) || 0).filter(Number.isFinite), X = H.length > 0 ? Math.min(...H) : 0, J = H.length > 0 ? Math.max(...H) : 0;
|
|
103106
103106
|
if (X === J)
|
|
103107
103107
|
return Ar;
|
|
103108
103108
|
const be = this._internalFilters.find(
|
|
103109
|
-
(
|
|
103109
|
+
(Tt) => Tt.type === "interval" && Tt.name === I
|
|
103110
103110
|
), Be = be?.value?.split("/")[0] || X, rt = be?.value?.split("/")[1] || J;
|
|
103111
103111
|
return Ao`
|
|
103112
103112
|
<tems-slider
|
|
@@ -103115,11 +103115,11 @@ let A0 = class extends Sye {
|
|
|
103115
103115
|
max=${J}
|
|
103116
103116
|
value=${Be}
|
|
103117
103117
|
value-max=${rt}
|
|
103118
|
-
@change=${(
|
|
103119
|
-
|
|
103118
|
+
@change=${(Tt) => {
|
|
103119
|
+
Tt.preventDefault(), this._internalFilters = this._internalFilters.filter(
|
|
103120
103120
|
(_n) => !(_n.type === "interval" && _n.name === I)
|
|
103121
103121
|
);
|
|
103122
|
-
const hn =
|
|
103122
|
+
const hn = Tt.detail.min ?? 0, gn = Tt.detail.max ?? 0;
|
|
103123
103123
|
this._internalFilters.push({
|
|
103124
103124
|
type: "interval",
|
|
103125
103125
|
name: I,
|
|
@@ -103320,7 +103320,7 @@ let D8 = class extends YQ {
|
|
|
103320
103320
|
${this._displayObjects.map((B) => {
|
|
103321
103321
|
const I = [
|
|
103322
103322
|
{
|
|
103323
|
-
name: `${
|
|
103323
|
+
name: `${aa(of`Balance: ${B.balance}€`)}`,
|
|
103324
103324
|
type: "information"
|
|
103325
103325
|
}
|
|
103326
103326
|
];
|
|
@@ -103329,7 +103329,7 @@ let D8 = class extends YQ {
|
|
|
103329
103329
|
type=${"vertical"}
|
|
103330
103330
|
.tags=${I}
|
|
103331
103331
|
.header=${B.name || Ar}
|
|
103332
|
-
.content=${B.participant_id ?
|
|
103332
|
+
.content=${B.participant_id ? aa(of`Participant ID: ${B.participant_id}`) : Ar}
|
|
103333
103333
|
date=${B.updated_at || Ar}
|
|
103334
103334
|
@click=${() => this._handleClickEvent(B)}
|
|
103335
103335
|
></ds4go-card-catalog>`;
|
|
@@ -103453,11 +103453,14 @@ let I8 = class extends YQ {
|
|
|
103453
103453
|
${this._displayObjects.map((B) => {
|
|
103454
103454
|
const I = [
|
|
103455
103455
|
{
|
|
103456
|
-
name: `${B.facts.length} ${B.facts.length > 1 ?
|
|
103456
|
+
name: `${B.facts.length} ${B.facts.length > 1 ? aa("facts") : aa("fact")}`,
|
|
103457
103457
|
type: "information"
|
|
103458
103458
|
}
|
|
103459
103459
|
];
|
|
103460
|
-
return
|
|
103460
|
+
return B.category && I.push({
|
|
103461
|
+
name: B.category,
|
|
103462
|
+
type: "default"
|
|
103463
|
+
}), Ao`<ds4go-card-catalog
|
|
103461
103464
|
.object=${Ar}
|
|
103462
103465
|
type=${"bill-image"}
|
|
103463
103466
|
.tags=${I}
|
|
@@ -103629,14 +103632,14 @@ let KQ = class extends rp {
|
|
|
103629
103632
|
>
|
|
103630
103633
|
<tems-division type="body-m"
|
|
103631
103634
|
><div>
|
|
103632
|
-
${B.participant_id ?
|
|
103635
|
+
${B.participant_id ? aa(
|
|
103633
103636
|
of`Participant ID: ${String(B.participant_id)}`
|
|
103634
103637
|
) : ""}
|
|
103635
103638
|
</div></tems-division
|
|
103636
103639
|
>
|
|
103637
103640
|
${B.signed_contracts ? Ao`<tems-division type="h4"
|
|
103638
103641
|
><div>
|
|
103639
|
-
${
|
|
103642
|
+
${aa("Contracts signed with the customer")}
|
|
103640
103643
|
</div></tems-division
|
|
103641
103644
|
>
|
|
103642
103645
|
<div class="card-grid card-grid-vertical">
|
|
@@ -103650,10 +103653,10 @@ let KQ = class extends rp {
|
|
|
103650
103653
|
<tems-division type="body-sm"
|
|
103651
103654
|
><div>
|
|
103652
103655
|
<div>
|
|
103653
|
-
${
|
|
103656
|
+
${aa("Customer created on")} ${String(B.created_at)}
|
|
103654
103657
|
</div>
|
|
103655
103658
|
<div>
|
|
103656
|
-
${
|
|
103659
|
+
${aa("Customer updated on")} ${String(B.updated_at)}
|
|
103657
103660
|
</div>
|
|
103658
103661
|
</div></tems-division
|
|
103659
103662
|
>
|
|
@@ -103707,7 +103710,7 @@ let ZQ = class extends $Ne {
|
|
|
103707
103710
|
><div>${String(this.object.description || "")}</div></tems-division
|
|
103708
103711
|
>
|
|
103709
103712
|
<tems-division type="h4"
|
|
103710
|
-
><div>${
|
|
103713
|
+
><div>${aa("All facts in this bundle")}</div></tems-division
|
|
103711
103714
|
>
|
|
103712
103715
|
<div class="card-grid card-grid-vertical">
|
|
103713
103716
|
${this.object.facts.map((B) => {
|
|
@@ -103718,7 +103721,7 @@ let ZQ = class extends $Ne {
|
|
|
103718
103721
|
if (I.length > 3) {
|
|
103719
103722
|
const H = I.length - 3;
|
|
103720
103723
|
I.splice(3, H), I.push({
|
|
103721
|
-
name: `+${H} ${
|
|
103724
|
+
name: `+${H} ${aa("more")}`,
|
|
103722
103725
|
type: "information"
|
|
103723
103726
|
});
|
|
103724
103727
|
}
|
|
@@ -103734,10 +103737,10 @@ let ZQ = class extends $Ne {
|
|
|
103734
103737
|
<tems-division type="body-sm"
|
|
103735
103738
|
><div>
|
|
103736
103739
|
<div>
|
|
103737
|
-
${
|
|
103740
|
+
${aa("Bundle created on")} ${String(this.object.created_at)}
|
|
103738
103741
|
</div>
|
|
103739
103742
|
<div>
|
|
103740
|
-
${
|
|
103743
|
+
${aa("Bundle updated on")} ${String(this.object.updated_at)}
|
|
103741
103744
|
</div>
|
|
103742
103745
|
</div></tems-division
|
|
103743
103746
|
>
|
|
@@ -103931,7 +103934,7 @@ let T0 = class extends rp {
|
|
|
103931
103934
|
if (H === "*")
|
|
103932
103935
|
return this.object = {
|
|
103933
103936
|
"@id": "urn:uuid:all-catalogs",
|
|
103934
|
-
"dct:title":
|
|
103937
|
+
"dct:title": aa("All Catalogs"),
|
|
103935
103938
|
"dct:description": "",
|
|
103936
103939
|
"dcat:dataset": (await Promise.all(
|
|
103937
103940
|
this.catalogs.map(async (be) => {
|
|
@@ -104005,12 +104008,12 @@ let T0 = class extends rp {
|
|
|
104005
104008
|
complete: (B) => Ao`<tems-viewport>
|
|
104006
104009
|
<tems-header
|
|
104007
104010
|
slot="header"
|
|
104008
|
-
heading=${this.catalogId ? B ? this.catalogId === "*" ? `${
|
|
104009
|
-
${B["dct:title"]} (From ${this.sectorId})` : `${
|
|
104011
|
+
heading=${this.catalogId ? B ? this.catalogId === "*" ? `${aa("All Datasets")}` : `${aa("Datasets from")}
|
|
104012
|
+
${B["dct:title"]} (From ${this.sectorId})` : `${aa(of`Error while loading catalog ${this.catalogId}`)}` : this.sectorId ? this.sectorId === "*" ? `${aa("All Sectors")}` : `${aa("Catalogs available in")} ${this.sectorId}` : `${aa("Root Authority")}`}
|
|
104010
104013
|
>${(this.sectorId || this.catalogId) && !(this.catalogId === "*" && this.sectorId === "*") && !(this.sectorId === "*" && !this.catalogId) ? Ao`<div slot="cta">
|
|
104011
104014
|
<tems-button
|
|
104012
104015
|
type="primary"
|
|
104013
|
-
label=${
|
|
104016
|
+
label=${aa(
|
|
104014
104017
|
of`Back to ${this.catalogId ? this.sectorId : "Root Authority"}`
|
|
104015
104018
|
)}
|
|
104016
104019
|
@click=${this._back}
|
|
@@ -104053,17 +104056,17 @@ let T0 = class extends rp {
|
|
|
104053
104056
|
)}`}
|
|
104054
104057
|
</div>
|
|
104055
104058
|
</div>` : Ao`<p>
|
|
104056
|
-
${
|
|
104059
|
+
${aa(
|
|
104057
104060
|
"No data available, data source may be temporarily unavailable."
|
|
104058
104061
|
)}
|
|
104059
104062
|
</p>
|
|
104060
104063
|
${this.sectorId || this.catalogId ? Ao`<tems-button
|
|
104061
104064
|
type="primary"
|
|
104062
|
-
label=${
|
|
104065
|
+
label=${aa("Back")}
|
|
104063
104066
|
@click=${this._back}
|
|
104064
104067
|
></tems-button>` : Ao`<tems-button
|
|
104065
104068
|
type="primary"
|
|
104066
|
-
label=${
|
|
104069
|
+
label=${aa("Retry")}
|
|
104067
104070
|
@click=${this.requestUpdate}
|
|
104068
104071
|
></tems-button>`}`}
|
|
104069
104072
|
</div>
|
|
@@ -104254,7 +104257,7 @@ let vh = class extends rp {
|
|
|
104254
104257
|
super(...arguments), this.header = "DS4GO Fact Bundling Creation", this.selectedFacts = [], this.bundleName = "", this.bundleDescription = "", this.bundleCategory = "", this.bundleLanguage = "en", this.step = 0, this.policyTemplates = [
|
|
104255
104258
|
{
|
|
104256
104259
|
id: "policy-open-access",
|
|
104257
|
-
name:
|
|
104260
|
+
name: aa("Open access"),
|
|
104258
104261
|
policy: {
|
|
104259
104262
|
"@type": "Set",
|
|
104260
104263
|
permission: [
|
|
@@ -104322,6 +104325,9 @@ let vh = class extends rp {
|
|
|
104322
104325
|
_nextStep() {
|
|
104323
104326
|
this.selectedFacts.length > 0 && this.step++;
|
|
104324
104327
|
}
|
|
104328
|
+
_reset() {
|
|
104329
|
+
this.bundleName = "", this.bundleDescription = "", this.bundleCategory = "", this.bundleLanguage = "en", this.bundleAccessPolicy = this.policyTemplates[0].id, this.bundleContractPolicy = this.policyTemplates[0].id, this.selectedFacts = [], this.step = 0;
|
|
104330
|
+
}
|
|
104325
104331
|
async _createFactBundle() {
|
|
104326
104332
|
if (!this.bundleName || !(this.selectedFacts.length > 0))
|
|
104327
104333
|
return;
|
|
@@ -104352,7 +104358,7 @@ let vh = class extends rp {
|
|
|
104352
104358
|
bubbles: !0
|
|
104353
104359
|
})
|
|
104354
104360
|
), this.dspConnector) {
|
|
104355
|
-
const J = await window.crypto.subtle.digest("SHA-256", new TextEncoder().encode(H)).then((
|
|
104361
|
+
const J = await window.crypto.subtle.digest("SHA-256", new TextEncoder().encode(H)).then((Tt) => `sha-256:${Array.from(new Uint8Array(Tt)).map((hn) => hn.toString(16).padStart(2, "0")).join("")}`);
|
|
104356
104362
|
await this.dspConnector.instance?.createAsset({
|
|
104357
104363
|
"@id": `urn:asset-id:${J}`,
|
|
104358
104364
|
properties: {
|
|
@@ -104364,8 +104370,8 @@ let vh = class extends rp {
|
|
|
104364
104370
|
bundleSize: this.selectedFacts.length,
|
|
104365
104371
|
offeredAccess: "40",
|
|
104366
104372
|
pricingTier: "premium",
|
|
104367
|
-
|
|
104368
|
-
previewLinks: this.selectedFacts.slice(0, 3).join(", "),
|
|
104373
|
+
"dcat:endpointUrl": H,
|
|
104374
|
+
previewLinks: this.selectedFacts.slice(0, 3).map((Tt) => Tt["@id"]).join(", "),
|
|
104369
104375
|
"dsif:pricing": {
|
|
104370
104376
|
"dsif:costPerAPICall": 0.15,
|
|
104371
104377
|
"dsif:setupFee": 50,
|
|
@@ -104386,7 +104392,7 @@ let vh = class extends rp {
|
|
|
104386
104392
|
policy: {
|
|
104387
104393
|
"@context": "http://www.w3.org/ns/odrl.jsonld",
|
|
104388
104394
|
...this.policyTemplates.find(
|
|
104389
|
-
(
|
|
104395
|
+
(Tt) => Tt.id === this.bundleAccessPolicy
|
|
104390
104396
|
)?.policy
|
|
104391
104397
|
}
|
|
104392
104398
|
}),
|
|
@@ -104396,7 +104402,7 @@ let vh = class extends rp {
|
|
|
104396
104402
|
policy: {
|
|
104397
104403
|
"@context": "http://www.w3.org/ns/odrl.jsonld",
|
|
104398
104404
|
...this.policyTemplates.find(
|
|
104399
|
-
(
|
|
104405
|
+
(Tt) => Tt.id === this.bundleContractPolicy
|
|
104400
104406
|
)?.policy
|
|
104401
104407
|
}
|
|
104402
104408
|
}),
|
|
@@ -104428,7 +104434,7 @@ let vh = class extends rp {
|
|
|
104428
104434
|
);
|
|
104429
104435
|
rt?.loadData && rt.loadData();
|
|
104430
104436
|
}
|
|
104431
|
-
this.
|
|
104437
|
+
this._reset();
|
|
104432
104438
|
const X = this.orbit?.components.find(
|
|
104433
104439
|
(J) => J.type === "fact-bundle"
|
|
104434
104440
|
);
|
|
@@ -104479,14 +104485,21 @@ let vh = class extends rp {
|
|
|
104479
104485
|
${this.step === 0 ? Ao`<tems-button
|
|
104480
104486
|
type="primary"
|
|
104481
104487
|
disabled=${this.selectedFacts.length === 0 || Ar}
|
|
104482
|
-
label=${
|
|
104488
|
+
label=${aa("Set bundle informations")}
|
|
104483
104489
|
@click=${this._nextStep}
|
|
104484
|
-
></tems-button>` : Ao`<
|
|
104485
|
-
|
|
104486
|
-
|
|
104487
|
-
|
|
104488
|
-
|
|
104489
|
-
|
|
104490
|
+
></tems-button>` : Ao`<div class="flex">
|
|
104491
|
+
<tems-button
|
|
104492
|
+
type="link-color"
|
|
104493
|
+
label=${aa("Cancel bundle creation")}
|
|
104494
|
+
@click=${this._reset}
|
|
104495
|
+
></tems-button
|
|
104496
|
+
><tems-button
|
|
104497
|
+
type="primary"
|
|
104498
|
+
disabled=${!J || Ar}
|
|
104499
|
+
label=${aa("Create bundle")}
|
|
104500
|
+
@click=${this._createFactBundle}
|
|
104501
|
+
></tems-button>
|
|
104502
|
+
</div>`}
|
|
104490
104503
|
</div>
|
|
104491
104504
|
</tems-header>
|
|
104492
104505
|
<div slot="content">
|
|
@@ -104494,7 +104507,7 @@ let vh = class extends rp {
|
|
|
104494
104507
|
${this.step === 0 ? Ao`<div>
|
|
104495
104508
|
<tems-division type="h4">
|
|
104496
104509
|
<div>
|
|
104497
|
-
${
|
|
104510
|
+
${aa(
|
|
104498
104511
|
of`${X} selected fact${X > 1 ? "s" : ""}`
|
|
104499
104512
|
)}
|
|
104500
104513
|
</div></tems-division
|
|
@@ -104508,7 +104521,7 @@ let vh = class extends rp {
|
|
|
104508
104521
|
if (Be.length > 3) {
|
|
104509
104522
|
const rt = Be.length - 3;
|
|
104510
104523
|
Be.splice(3, rt), Be.push({
|
|
104511
|
-
name: `+${rt} ${
|
|
104524
|
+
name: `+${rt} ${aa("more")}`,
|
|
104512
104525
|
type: "information"
|
|
104513
104526
|
});
|
|
104514
104527
|
}
|
|
@@ -104551,7 +104564,7 @@ let vh = class extends rp {
|
|
|
104551
104564
|
if (Be.length > 3) {
|
|
104552
104565
|
const rt = Be.length - 3;
|
|
104553
104566
|
Be.splice(3, rt), Be.push({
|
|
104554
|
-
name: `+${rt} ${
|
|
104567
|
+
name: `+${rt} ${aa("more")}`,
|
|
104555
104568
|
type: "information"
|
|
104556
104569
|
});
|
|
104557
104570
|
}
|
|
@@ -104572,7 +104585,7 @@ let vh = class extends rp {
|
|
|
104572
104585
|
class="flex flex-row justify-content-space-between align-items-flex-end"
|
|
104573
104586
|
>
|
|
104574
104587
|
<div>
|
|
104575
|
-
${
|
|
104588
|
+
${aa(
|
|
104576
104589
|
of`Displaying ${H.length} of ${I.length} result${I.length > 1 ? "s" : ""}`
|
|
104577
104590
|
)}
|
|
104578
104591
|
</div>
|
|
@@ -104581,23 +104594,23 @@ let vh = class extends rp {
|
|
|
104581
104594
|
@click=${this._showMoreResults}
|
|
104582
104595
|
type="primary"
|
|
104583
104596
|
size="sm"
|
|
104584
|
-
label=${
|
|
104597
|
+
label=${aa("Show more results")}
|
|
104585
104598
|
></tems-button>
|
|
104586
104599
|
<tems-button
|
|
104587
104600
|
@click=${this._showAllResults}
|
|
104588
104601
|
type="primary"
|
|
104589
104602
|
size="sm"
|
|
104590
|
-
label=${
|
|
104603
|
+
label=${aa("Show all results")}
|
|
104591
104604
|
></tems-button>
|
|
104592
104605
|
</div>
|
|
104593
|
-
</div>` : Ar}` : Ao`${
|
|
104606
|
+
</div>` : Ar}` : Ao`${aa("No results found")}
|
|
104594
104607
|
${this.filterFactText ? `for "${this.filterFactText}".` : ""}`}
|
|
104595
104608
|
</div>` : Ar}` : Ao`<div>
|
|
104596
104609
|
<div>
|
|
104597
104610
|
<tems-input
|
|
104598
104611
|
type="text"
|
|
104599
|
-
label=${
|
|
104600
|
-
placeholder=${
|
|
104612
|
+
label=${aa("Bundle name")}
|
|
104613
|
+
placeholder=${aa("Bundle name")}
|
|
104601
104614
|
required=""
|
|
104602
104615
|
.value=${this.bundleName}
|
|
104603
104616
|
@change=${this._updateBundleName}
|
|
@@ -104606,24 +104619,24 @@ let vh = class extends rp {
|
|
|
104606
104619
|
<div>
|
|
104607
104620
|
<tems-input
|
|
104608
104621
|
type="text"
|
|
104609
|
-
label=${
|
|
104610
|
-
placeholder=${
|
|
104622
|
+
label=${aa("Language")}
|
|
104623
|
+
placeholder=${aa(
|
|
104611
104624
|
"Language code (en, de, es, fr...)"
|
|
104612
104625
|
)}
|
|
104613
|
-
hint=${
|
|
104626
|
+
hint=${aa("Comma-separated, eg.: en,de,es,fr)")}
|
|
104614
104627
|
required=""
|
|
104615
104628
|
.value=${this.bundleLanguage}
|
|
104616
104629
|
@change=${this._updateBundleLanguage}
|
|
104617
104630
|
></tems-input>
|
|
104618
104631
|
</div>
|
|
104619
104632
|
<div class="select">
|
|
104620
|
-
<tems-label label=${
|
|
104633
|
+
<tems-label label=${aa("Category")}></tems-label>
|
|
104621
104634
|
<select @change=${this._selectBundleCategory}>
|
|
104622
104635
|
<option
|
|
104623
104636
|
value=""
|
|
104624
104637
|
?selected="${this.bundleCategory === ""}"
|
|
104625
104638
|
>
|
|
104626
|
-
${
|
|
104639
|
+
${aa("No category")}
|
|
104627
104640
|
</option>
|
|
104628
104641
|
${Array.from(
|
|
104629
104642
|
new Set(
|
|
@@ -104648,15 +104661,15 @@ let vh = class extends rp {
|
|
|
104648
104661
|
<div>
|
|
104649
104662
|
<tems-textarea
|
|
104650
104663
|
rows="5"
|
|
104651
|
-
label=${
|
|
104652
|
-
placeholder=${
|
|
104664
|
+
label=${aa("Bundle description")}
|
|
104665
|
+
placeholder=${aa("Bundle description")}
|
|
104653
104666
|
.value=${this.bundleDescription}
|
|
104654
104667
|
@change=${this._updateBundleDescription}
|
|
104655
104668
|
></tems-textarea>
|
|
104656
104669
|
</div>
|
|
104657
104670
|
<div class="select">
|
|
104658
104671
|
<tems-label
|
|
104659
|
-
label=${
|
|
104672
|
+
label=${aa("Access policy")}
|
|
104660
104673
|
></tems-label>
|
|
104661
104674
|
<select @change=${this._selectBundleAccessPolicy}>
|
|
104662
104675
|
${this.policyTemplates.map((be) => Ao`<option
|
|
@@ -104669,7 +104682,7 @@ let vh = class extends rp {
|
|
|
104669
104682
|
</div>
|
|
104670
104683
|
<div class="select">
|
|
104671
104684
|
<tems-label
|
|
104672
|
-
label=${
|
|
104685
|
+
label=${aa("Contract policy")}
|
|
104673
104686
|
></tems-label>
|
|
104674
104687
|
<select @change=${this._selectBundleContractPolicy}>
|
|
104675
104688
|
${this.policyTemplates.map((be) => Ao`<option
|
|
@@ -104742,6 +104755,7 @@ let T$ = class extends rp {
|
|
|
104742
104755
|
{ key: "created_at", value: "created_at", cast: eN },
|
|
104743
104756
|
{ key: "updated_at", value: "updated_at", cast: eN },
|
|
104744
104757
|
{ key: "name", value: "name" },
|
|
104758
|
+
{ key: "category", value: "category" },
|
|
104745
104759
|
{ key: "description", value: "description" }
|
|
104746
104760
|
], this._getResource = new l4(this, {
|
|
104747
104761
|
task: async ([B, I]) => {
|
|
@@ -104843,7 +104857,7 @@ let T$ = class extends rp {
|
|
|
104843
104857
|
<tems-button
|
|
104844
104858
|
type="primary"
|
|
104845
104859
|
disabled=${!this.bundleCreationComponent?.route || Ar}
|
|
104846
|
-
label=${
|
|
104860
|
+
label=${aa("Create a bundle")}
|
|
104847
104861
|
@click=${this._goToBundleCreation}
|
|
104848
104862
|
></tems-button>
|
|
104849
104863
|
</div>
|
|
@@ -104920,6 +104934,7 @@ const Mxe = {
|
|
|
104920
104934
|
s2c8189544e3ea679: "Retry",
|
|
104921
104935
|
sc7e3b594ffcd9d61: "Open access",
|
|
104922
104936
|
s0ea1c47859ced4bc: "Set bundle informations",
|
|
104937
|
+
s7cde8ae6e5ec185a: "Cancel bundle creation",
|
|
104923
104938
|
seb1a452f2df70baf: "Create bundle",
|
|
104924
104939
|
sac1b0231875ff056: of`${0} selected fact${1}`,
|
|
104925
104940
|
s0d1be7a2c400c080: "more",
|