@access-ci/ui 0.19.0-beta1 → 0.19.0-beta3
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/access-ci-ui-react.js +15 -0
- package/dist/access-ci-ui-react.umd.cjs +343 -0
- package/dist/access-ci-ui.bundle.js +77 -176
- package/dist/access-ci-ui.js +1 -1
- package/dist/access-ci-ui.umd.cjs +75 -184
- package/dist/{access-qa-bot-Dssk1h8n.js → access-qa-bot-CHkBf16I.js} +107 -134
- package/dist/access-qa-bot-Q26EvzKe.js +14495 -0
- package/dist/icon-CMHOrCGv.js +7 -0
- package/dist/{icon-Uz-yb98F.js → icon-cJmGylOm.js} +1 -1
- package/dist/index-CrKdAxQz.js +8257 -0
- package/dist/resource-group-detail-Dr7EYmvH.js +12555 -0
- package/dist/{resource-group-detail-CF426-zm.js → resource-group-detail-Dxt8iVRs.js} +476 -497
- package/dist/resource-home-Cf5k64F0.js +275 -0
- package/dist/{resource-home-DA_ihS4S.js → resource-home-ChfTC5Qa.js} +2 -2
- package/dist/shadow-CGn1GiHs.js +2644 -0
- package/package.json +11 -5
- package/dist/index-D1YYhxC0.js +0 -10830
|
@@ -1,16 +1,7 @@
|
|
|
1
|
-
import { r as P, j as R, A as Z, T as kl } from "./index-
|
|
1
|
+
import { r as P, j as R, A as Z, T as kl } from "./index-CrKdAxQz.js";
|
|
2
2
|
var Wa = kl;
|
|
3
3
|
Wa.createRoot, Wa.hydrateRoot;
|
|
4
4
|
var mn = {}, dn = {};
|
|
5
|
-
/**
|
|
6
|
-
* @license React
|
|
7
|
-
* react-dom-server-legacy.browser.production.min.js
|
|
8
|
-
*
|
|
9
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
10
|
-
*
|
|
11
|
-
* This source code is licensed under the MIT license found in the
|
|
12
|
-
* LICENSE file in the root directory of this source tree.
|
|
13
|
-
*/
|
|
14
5
|
var Ga;
|
|
15
6
|
function El() {
|
|
16
7
|
if (Ga) return dn;
|
|
@@ -565,7 +556,7 @@ function El() {
|
|
|
565
556
|
function xe(u, g, v, S) {
|
|
566
557
|
return v.generateStaticMarkup ? (u.push(y(g)), !1) : (g === "" ? u = S : (S && u.push("<!-- -->"), u.push(y(g)), u = !0), u);
|
|
567
558
|
}
|
|
568
|
-
var T = Object.assign, pe = Symbol.for("react.element"), ne = Symbol.for("react.portal"), K = Symbol.for("react.fragment"), le = Symbol.for("react.strict_mode"), ce = Symbol.for("react.profiler"), ye = Symbol.for("react.provider"), De = Symbol.for("react.context"), be = Symbol.for("react.forward_ref"), Te = Symbol.for("react.suspense"), ze = Symbol.for("react.suspense_list"), it = Symbol.for("react.memo"), Be = Symbol.for("react.lazy"), Ue = Symbol.for("react.scope"), kt = Symbol.for("react.debug_trace_mode"), Ke = Symbol.for("react.legacy_hidden"), st = Symbol.for("react.default_value"), je = Symbol.iterator;
|
|
559
|
+
var T = Object.assign, pe = /* @__PURE__ */ Symbol.for("react.element"), ne = /* @__PURE__ */ Symbol.for("react.portal"), K = /* @__PURE__ */ Symbol.for("react.fragment"), le = /* @__PURE__ */ Symbol.for("react.strict_mode"), ce = /* @__PURE__ */ Symbol.for("react.profiler"), ye = /* @__PURE__ */ Symbol.for("react.provider"), De = /* @__PURE__ */ Symbol.for("react.context"), be = /* @__PURE__ */ Symbol.for("react.forward_ref"), Te = /* @__PURE__ */ Symbol.for("react.suspense"), ze = /* @__PURE__ */ Symbol.for("react.suspense_list"), it = /* @__PURE__ */ Symbol.for("react.memo"), Be = /* @__PURE__ */ Symbol.for("react.lazy"), Ue = /* @__PURE__ */ Symbol.for("react.scope"), kt = /* @__PURE__ */ Symbol.for("react.debug_trace_mode"), Ke = /* @__PURE__ */ Symbol.for("react.legacy_hidden"), st = /* @__PURE__ */ Symbol.for("react.default_value"), je = Symbol.iterator;
|
|
569
560
|
function We(u) {
|
|
570
561
|
if (u == null) return null;
|
|
571
562
|
if (typeof u == "function") return u.displayName || u.name || null;
|
|
@@ -1054,7 +1045,6 @@ function El() {
|
|
|
1054
1045
|
Ct();
|
|
1055
1046
|
}
|
|
1056
1047
|
}
|
|
1057
|
-
} finally {
|
|
1058
1048
|
}
|
|
1059
1049
|
}
|
|
1060
1050
|
}
|
|
@@ -1232,15 +1222,6 @@ function El() {
|
|
|
1232
1222
|
}, dn.version = "18.3.1", dn;
|
|
1233
1223
|
}
|
|
1234
1224
|
var Lr = {};
|
|
1235
|
-
/**
|
|
1236
|
-
* @license React
|
|
1237
|
-
* react-dom-server.browser.production.min.js
|
|
1238
|
-
*
|
|
1239
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
1240
|
-
*
|
|
1241
|
-
* This source code is licensed under the MIT license found in the
|
|
1242
|
-
* LICENSE file in the root directory of this source tree.
|
|
1243
|
-
*/
|
|
1244
1225
|
var Xa;
|
|
1245
1226
|
function Cl() {
|
|
1246
1227
|
if (Xa) return Lr;
|
|
@@ -1834,7 +1815,7 @@ function Cl() {
|
|
|
1834
1815
|
}
|
|
1835
1816
|
});
|
|
1836
1817
|
}
|
|
1837
|
-
var Xt = Object.assign, Er = Symbol.for("react.element"), sn = Symbol.for("react.portal"), ln = Symbol.for("react.fragment"), Gn = Symbol.for("react.strict_mode"), Xn = Symbol.for("react.profiler"), Yn = Symbol.for("react.provider"), Bn = Symbol.for("react.context"), Cr = Symbol.for("react.forward_ref"), Sr = Symbol.for("react.suspense"), Vn = Symbol.for("react.suspense_list"), u = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), v = Symbol.for("react.scope"), S = Symbol.for("react.debug_trace_mode"), L = Symbol.for("react.legacy_hidden"), j = Symbol.for("react.default_value"), G = Symbol.iterator;
|
|
1818
|
+
var Xt = Object.assign, Er = /* @__PURE__ */ Symbol.for("react.element"), sn = /* @__PURE__ */ Symbol.for("react.portal"), ln = /* @__PURE__ */ Symbol.for("react.fragment"), Gn = /* @__PURE__ */ Symbol.for("react.strict_mode"), Xn = /* @__PURE__ */ Symbol.for("react.profiler"), Yn = /* @__PURE__ */ Symbol.for("react.provider"), Bn = /* @__PURE__ */ Symbol.for("react.context"), Cr = /* @__PURE__ */ Symbol.for("react.forward_ref"), Sr = /* @__PURE__ */ Symbol.for("react.suspense"), Vn = /* @__PURE__ */ Symbol.for("react.suspense_list"), u = /* @__PURE__ */ Symbol.for("react.memo"), g = /* @__PURE__ */ Symbol.for("react.lazy"), v = /* @__PURE__ */ Symbol.for("react.scope"), S = /* @__PURE__ */ Symbol.for("react.debug_trace_mode"), L = /* @__PURE__ */ Symbol.for("react.legacy_hidden"), j = /* @__PURE__ */ Symbol.for("react.default_value"), G = Symbol.iterator;
|
|
1838
1819
|
function te(d) {
|
|
1839
1820
|
if (d == null) return null;
|
|
1840
1821
|
if (typeof d == "function") return d.displayName || d.name || null;
|
|
@@ -2318,7 +2299,6 @@ function Cl() {
|
|
|
2318
2299
|
St();
|
|
2319
2300
|
}
|
|
2320
2301
|
}
|
|
2321
|
-
} finally {
|
|
2322
2302
|
}
|
|
2323
2303
|
}
|
|
2324
2304
|
}
|
|
@@ -3786,15 +3766,8 @@ class UA {
|
|
|
3786
3766
|
function qA(e) {
|
|
3787
3767
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
3788
3768
|
}
|
|
3789
|
-
/*!
|
|
3790
|
-
* escape-html
|
|
3791
|
-
* Copyright(c) 2012-2013 TJ Holowaychuk
|
|
3792
|
-
* Copyright(c) 2015 Andreas Lubbe
|
|
3793
|
-
* Copyright(c) 2015 Tiancheng "Timothy" Gu
|
|
3794
|
-
* MIT Licensed
|
|
3795
|
-
*/
|
|
3796
3769
|
var ni, ri;
|
|
3797
|
-
const WA = qA(function() {
|
|
3770
|
+
const WA = qA((function() {
|
|
3798
3771
|
if (ri) return ni;
|
|
3799
3772
|
ri = 1;
|
|
3800
3773
|
var e = /["'&<>]/;
|
|
@@ -3826,7 +3799,7 @@ const WA = qA(function() {
|
|
|
3826
3799
|
}
|
|
3827
3800
|
return i !== s ? a + r.substring(i, s) : a;
|
|
3828
3801
|
};
|
|
3829
|
-
}());
|
|
3802
|
+
})());
|
|
3830
3803
|
function Ut(e, t, r) {
|
|
3831
3804
|
return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
|
|
3832
3805
|
}
|
|
@@ -4106,7 +4079,7 @@ const gc = { classId: "classID", dataType: "datatype", itemId: "itemID", strokeD
|
|
|
4106
4079
|
function Os(e) {
|
|
4107
4080
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
4108
4081
|
}
|
|
4109
|
-
var To, Ai, ci, Pn = {}, yc = function() {
|
|
4082
|
+
var To, Ai, ci, Pn = {}, yc = (function() {
|
|
4110
4083
|
if (ci) return Pn;
|
|
4111
4084
|
ci = 1;
|
|
4112
4085
|
var e = Pn && Pn.__importDefault || function(r) {
|
|
@@ -4123,7 +4096,7 @@ var To, Ai, ci, Pn = {}, yc = function() {
|
|
|
4123
4096
|
}
|
|
4124
4097
|
}), o;
|
|
4125
4098
|
};
|
|
4126
|
-
var t = e(function() {
|
|
4099
|
+
var t = e((function() {
|
|
4127
4100
|
if (Ai) return To;
|
|
4128
4101
|
Ai = 1;
|
|
4129
4102
|
var r = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, n = /\n/g, o = /^\s*/, a = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, s = /^:\s*/, i = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, l = /^[;\s]*/, A = /^\s+|\s+$/g, c = "";
|
|
@@ -4187,15 +4160,15 @@ var To, Ai, ci, Pn = {}, yc = function() {
|
|
|
4187
4160
|
return Q(l), z;
|
|
4188
4161
|
}
|
|
4189
4162
|
}
|
|
4190
|
-
return B.prototype.content = p, M(), function() {
|
|
4163
|
+
return B.prototype.content = p, M(), (function() {
|
|
4191
4164
|
var H, N = [];
|
|
4192
4165
|
for (I(N); H = q(); ) H !== !1 && (N.push(H), I(N));
|
|
4193
4166
|
return N;
|
|
4194
|
-
}();
|
|
4167
|
+
})();
|
|
4195
4168
|
}, To;
|
|
4196
|
-
}());
|
|
4169
|
+
})());
|
|
4197
4170
|
return Pn;
|
|
4198
|
-
}();
|
|
4171
|
+
})();
|
|
4199
4172
|
const ui = Os(yc), bc = ui.default || ui, Ls = Hs("end"), ya = Hs("start");
|
|
4200
4173
|
function Hs(e) {
|
|
4201
4174
|
return function(t) {
|
|
@@ -4239,33 +4212,33 @@ function Cc(e, t) {
|
|
|
4239
4212
|
let n;
|
|
4240
4213
|
if (t.development) {
|
|
4241
4214
|
if (typeof t.jsxDEV != "function") throw new TypeError("Expected `jsxDEV` in options when `development: true`");
|
|
4242
|
-
n = /* @__PURE__ */ function(s, i) {
|
|
4215
|
+
n = /* @__PURE__ */ (function(s, i) {
|
|
4243
4216
|
return l;
|
|
4244
4217
|
function l(A, c, f, p) {
|
|
4245
4218
|
const m = Array.isArray(f.children), y = ya(A);
|
|
4246
4219
|
return i(c, f, p, m, { columnNumber: y ? y.column - 1 : void 0, fileName: s, lineNumber: y ? y.line : void 0 }, void 0);
|
|
4247
4220
|
}
|
|
4248
|
-
}(r, t.jsxDEV);
|
|
4221
|
+
})(r, t.jsxDEV);
|
|
4249
4222
|
} else {
|
|
4250
4223
|
if (typeof t.jsx != "function") throw new TypeError("Expected `jsx` in production options");
|
|
4251
4224
|
if (typeof t.jsxs != "function") throw new TypeError("Expected `jsxs` in production options");
|
|
4252
|
-
n = /* @__PURE__ */ function(s, i, l) {
|
|
4225
|
+
n = /* @__PURE__ */ (function(s, i, l) {
|
|
4253
4226
|
return A;
|
|
4254
4227
|
function A(c, f, p, m) {
|
|
4255
4228
|
const y = Array.isArray(p.children) ? l : i;
|
|
4256
4229
|
return m ? y(f, p, m) : y(f, p);
|
|
4257
4230
|
}
|
|
4258
|
-
}(0, t.jsx, t.jsxs);
|
|
4231
|
+
})(0, t.jsx, t.jsxs);
|
|
4259
4232
|
}
|
|
4260
4233
|
const o = { Fragment: t.Fragment, ancestors: [], components: t.components || {}, create: n, elementAttributeNameCase: t.elementAttributeNameCase || "react", evaluater: t.createEvaluater ? t.createEvaluater() : void 0, filePath: r, ignoreInvalidStyle: t.ignoreInvalidStyle || !1, passKeys: t.passKeys !== !1, passNode: t.passNode || !1, schema: t.space === "svg" ? $o : mc, stylePropertyNameCase: t.stylePropertyNameCase || "dom", tableCellAlignToStyle: t.tableCellAlignToStyle !== !1 }, a = Us(o, e, void 0);
|
|
4261
4234
|
return a && typeof a != "string" ? a : o.create(e, o.Fragment, { children: a || void 0 }, void 0);
|
|
4262
4235
|
}
|
|
4263
4236
|
function Us(e, t, r) {
|
|
4264
|
-
return t.type === "element" ? function(n, o, a) {
|
|
4237
|
+
return t.type === "element" ? (function(n, o, a) {
|
|
4265
4238
|
const s = n.schema;
|
|
4266
4239
|
let i = s;
|
|
4267
4240
|
o.tagName.toLowerCase() === "svg" && s.space === "html" && (i = $o, n.schema = i), n.ancestors.push(o);
|
|
4268
|
-
const l = hi(n, o.tagName, !1), A = function(f, p) {
|
|
4241
|
+
const l = hi(n, o.tagName, !1), A = (function(f, p) {
|
|
4269
4242
|
const m = {};
|
|
4270
4243
|
let y, k;
|
|
4271
4244
|
for (k in p.properties) if (k !== "children" && ba.call(p.properties, k)) {
|
|
@@ -4276,24 +4249,24 @@ function Us(e, t, r) {
|
|
|
4276
4249
|
}
|
|
4277
4250
|
}
|
|
4278
4251
|
return y && ((m.style || (m.style = {}))[f.stylePropertyNameCase === "css" ? "text-align" : "textAlign"] = y), m;
|
|
4279
|
-
}(n, o);
|
|
4252
|
+
})(n, o);
|
|
4280
4253
|
let c = Qo(n, o);
|
|
4281
4254
|
return kc.has(o.tagName) && (c = c.filter(function(f) {
|
|
4282
|
-
return typeof f != "string" || !function(p) {
|
|
4255
|
+
return typeof f != "string" || !(function(p) {
|
|
4283
4256
|
return typeof p == "object" ? p.type === "text" && ii(p.value) : ii(p);
|
|
4284
|
-
}(f);
|
|
4257
|
+
})(f);
|
|
4285
4258
|
})), fi(n, A, l, o), Io(A, c), n.ancestors.pop(), n.schema = s, n.create(o, l, A, a);
|
|
4286
|
-
}(e, t, r) : t.type === "mdxFlowExpression" || t.type === "mdxTextExpression" ? function(n, o) {
|
|
4259
|
+
})(e, t, r) : t.type === "mdxFlowExpression" || t.type === "mdxTextExpression" ? (function(n, o) {
|
|
4287
4260
|
if (o.data && o.data.estree && n.evaluater) {
|
|
4288
4261
|
const a = o.data.estree.body[0];
|
|
4289
4262
|
return a.type, n.evaluater.evaluateExpression(a.expression);
|
|
4290
4263
|
}
|
|
4291
4264
|
or(n, o.position);
|
|
4292
|
-
}(e, t) : t.type === "mdxJsxFlowElement" || t.type === "mdxJsxTextElement" ? function(n, o, a) {
|
|
4265
|
+
})(e, t) : t.type === "mdxJsxFlowElement" || t.type === "mdxJsxTextElement" ? (function(n, o, a) {
|
|
4293
4266
|
const s = n.schema;
|
|
4294
4267
|
let i = s;
|
|
4295
4268
|
o.name === "svg" && s.space === "html" && (i = $o, n.schema = i), n.ancestors.push(o);
|
|
4296
|
-
const l = o.name === null ? n.Fragment : hi(n, o.name, !0), A = function(f, p) {
|
|
4269
|
+
const l = o.name === null ? n.Fragment : hi(n, o.name, !0), A = (function(f, p) {
|
|
4297
4270
|
const m = {};
|
|
4298
4271
|
for (const y of p.attributes) if (y.type === "mdxJsxExpressionAttribute") if (y.data && y.data.estree && f.evaluater) {
|
|
4299
4272
|
const k = y.data.estree.body[0];
|
|
@@ -4314,17 +4287,17 @@ function Us(e, t, r) {
|
|
|
4314
4287
|
m[k] = w;
|
|
4315
4288
|
}
|
|
4316
4289
|
return m;
|
|
4317
|
-
}(n, o), c = Qo(n, o);
|
|
4290
|
+
})(n, o), c = Qo(n, o);
|
|
4318
4291
|
return fi(n, A, l, o), Io(A, c), n.ancestors.pop(), n.schema = s, n.create(o, l, A, a);
|
|
4319
|
-
}(e, t, r) : t.type === "mdxjsEsm" ? function(n, o) {
|
|
4292
|
+
})(e, t, r) : t.type === "mdxjsEsm" ? (function(n, o) {
|
|
4320
4293
|
if (o.data && o.data.estree && n.evaluater) return n.evaluater.evaluateProgram(o.data.estree);
|
|
4321
4294
|
or(n, o.position);
|
|
4322
|
-
}(e, t) : t.type === "root" ? function(n, o, a) {
|
|
4295
|
+
})(e, t) : t.type === "root" ? (function(n, o, a) {
|
|
4323
4296
|
const s = {};
|
|
4324
4297
|
return Io(s, Qo(n, o)), n.create(o, n.Fragment, s, a);
|
|
4325
|
-
}(e, t, r) : t.type === "text" ? function(n, o) {
|
|
4298
|
+
})(e, t, r) : t.type === "text" ? (function(n, o) {
|
|
4326
4299
|
return o.value;
|
|
4327
|
-
}(0, t) : void 0;
|
|
4300
|
+
})(0, t) : void 0;
|
|
4328
4301
|
}
|
|
4329
4302
|
function fi(e, t, r, n) {
|
|
4330
4303
|
typeof r != "string" && r !== e.Fragment && e.passNode && (t.node = n);
|
|
@@ -4355,7 +4328,7 @@ function Qo(e, t) {
|
|
|
4355
4328
|
return r;
|
|
4356
4329
|
}
|
|
4357
4330
|
function Sc(e, t, r) {
|
|
4358
|
-
const n = function(o, a) {
|
|
4331
|
+
const n = (function(o, a) {
|
|
4359
4332
|
const s = Ko(a);
|
|
4360
4333
|
let i = a, l = vt;
|
|
4361
4334
|
if (s in o.normal) return o.property[o.normal[s]];
|
|
@@ -4373,15 +4346,15 @@ function Sc(e, t, r) {
|
|
|
4373
4346
|
l = ma;
|
|
4374
4347
|
}
|
|
4375
4348
|
return new l(i, a);
|
|
4376
|
-
}(e.schema, t);
|
|
4349
|
+
})(e.schema, t);
|
|
4377
4350
|
if (!(r == null || typeof r == "number" && Number.isNaN(r))) {
|
|
4378
|
-
if (Array.isArray(r) && (r = n.commaSeparated ? function(o) {
|
|
4351
|
+
if (Array.isArray(r) && (r = n.commaSeparated ? (function(o) {
|
|
4379
4352
|
const a = {};
|
|
4380
4353
|
return (o[o.length - 1] === "" ? [...o, ""] : o).join((a.padRight ? " " : "") + "," + (a.padLeft === !1 ? "" : " ")).trim();
|
|
4381
|
-
}(r) : function(o) {
|
|
4354
|
+
})(r) : (function(o) {
|
|
4382
4355
|
return o.join(" ").trim();
|
|
4383
|
-
}(r)), n.property === "style") {
|
|
4384
|
-
let o = typeof r == "object" ? r : function(a, s) {
|
|
4356
|
+
})(r)), n.property === "style") {
|
|
4357
|
+
let o = typeof r == "object" ? r : (function(a, s) {
|
|
4385
4358
|
const i = {};
|
|
4386
4359
|
try {
|
|
4387
4360
|
bc(s, l);
|
|
@@ -4396,13 +4369,13 @@ function Sc(e, t, r) {
|
|
|
4396
4369
|
let f = A;
|
|
4397
4370
|
f.slice(0, 2) !== "--" && (f.slice(0, 4) === "-ms-" && (f = "ms-" + f.slice(4)), f = f.replace(xc, Bc)), i[f] = c;
|
|
4398
4371
|
}
|
|
4399
|
-
}(e, String(r));
|
|
4400
|
-
return e.stylePropertyNameCase === "css" && (o = function(a) {
|
|
4372
|
+
})(e, String(r));
|
|
4373
|
+
return e.stylePropertyNameCase === "css" && (o = (function(a) {
|
|
4401
4374
|
const s = {};
|
|
4402
4375
|
let i;
|
|
4403
4376
|
for (i in a) ba.call(a, i) && (s[Dc(i)] = a[i]);
|
|
4404
4377
|
return s;
|
|
4405
|
-
}(o)), ["style", o];
|
|
4378
|
+
})(o)), ["style", o];
|
|
4406
4379
|
}
|
|
4407
4380
|
return [e.elementAttributeNameCase === "react" && n.space ? gc[n.property] || n.property : n.attribute, r];
|
|
4408
4381
|
}
|
|
@@ -4442,9 +4415,9 @@ function Pc(e) {
|
|
|
4442
4415
|
}
|
|
4443
4416
|
const Ro = { action: ["form"], cite: ["blockquote", "del", "ins", "q"], data: ["object"], formAction: ["button", "input"], href: ["a", "area", "base", "link"], icon: ["menuitem"], itemId: null, manifest: ["html"], ping: ["a", "area"], poster: ["video"], src: ["audio", "embed", "iframe", "img", "input", "script", "source", "track", "video"] }, Hr = {};
|
|
4444
4417
|
function qs(e, t, r) {
|
|
4445
|
-
if (/* @__PURE__ */ function(n) {
|
|
4418
|
+
if (/* @__PURE__ */ (function(n) {
|
|
4446
4419
|
return !(!n || typeof n != "object");
|
|
4447
|
-
}(e)) {
|
|
4420
|
+
})(e)) {
|
|
4448
4421
|
if ("value" in e) return e.type !== "html" || r ? e.value : "";
|
|
4449
4422
|
if (t && "alt" in e && e.alt) return e.alt;
|
|
4450
4423
|
if ("children" in e) return gi(e.children, t, r);
|
|
@@ -4809,10 +4782,10 @@ const Lc = { name: "autolink", tokenize: function(e, t, r) {
|
|
|
4809
4782
|
} };
|
|
4810
4783
|
let a, s = 0, i = 0;
|
|
4811
4784
|
return function(x) {
|
|
4812
|
-
return function(Q) {
|
|
4785
|
+
return (function(Q) {
|
|
4813
4786
|
const M = n.events[n.events.length - 1];
|
|
4814
4787
|
return s = M && M[1].type === "linePrefix" ? M[2].sliceSerialize(M[1], !0).length : 0, a = Q, e.enter("codeFenced"), e.enter("codeFencedFence"), e.enter("codeFencedFenceSequence"), l(Q);
|
|
4815
|
-
}(x);
|
|
4788
|
+
})(x);
|
|
4816
4789
|
};
|
|
4817
4790
|
function l(x) {
|
|
4818
4791
|
return x === a ? (i++, e.consume(x), l) : i < 3 ? r(x) : (e.exit("codeFencedFenceSequence"), Pe(x) ? _e(e, A, "whitespace")(x) : A(x));
|
|
@@ -5086,9 +5059,9 @@ const Xc = { name: "definition", tokenize: function(e, t, r) {
|
|
|
5086
5059
|
const n = this;
|
|
5087
5060
|
let o;
|
|
5088
5061
|
return function(f) {
|
|
5089
|
-
return e.enter("definition"), function(p) {
|
|
5062
|
+
return e.enter("definition"), (function(p) {
|
|
5090
5063
|
return Zs.call(n, e, a, r, "definitionLabel", "definitionLabelMarker", "definitionLabelString")(p);
|
|
5091
|
-
}(f);
|
|
5064
|
+
})(f);
|
|
5092
5065
|
};
|
|
5093
5066
|
function a(f) {
|
|
5094
5067
|
return o = Mn(n.sliceSerialize(n.events[n.events.length - 1][1]).slice(1, -1)), f === 58 ? (e.enter("definitionMarker"), e.consume(f), e.exit("definitionMarker"), s) : r(f);
|
|
@@ -5134,9 +5107,9 @@ const Xc = { name: "definition", tokenize: function(e, t, r) {
|
|
|
5134
5107
|
}, tokenize: function(e, t, r) {
|
|
5135
5108
|
let n = 0;
|
|
5136
5109
|
return function(l) {
|
|
5137
|
-
return e.enter("atxHeading"), function(A) {
|
|
5110
|
+
return e.enter("atxHeading"), (function(A) {
|
|
5138
5111
|
return e.enter("atxHeadingSequence"), o(A);
|
|
5139
|
-
}(l);
|
|
5112
|
+
})(l);
|
|
5140
5113
|
};
|
|
5141
5114
|
function o(l) {
|
|
5142
5115
|
return l === 35 && n++ < 6 ? (e.consume(l), o) : l === null || at(l) ? (e.exit("atxHeadingSequence"), a(l)) : r(l);
|
|
@@ -5158,9 +5131,9 @@ const Xc = { name: "definition", tokenize: function(e, t, r) {
|
|
|
5158
5131
|
const n = this;
|
|
5159
5132
|
let o, a, s, i, l;
|
|
5160
5133
|
return function(T) {
|
|
5161
|
-
return function(pe) {
|
|
5134
|
+
return (function(pe) {
|
|
5162
5135
|
return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(pe), A;
|
|
5163
|
-
}(T);
|
|
5136
|
+
})(T);
|
|
5164
5137
|
};
|
|
5165
5138
|
function A(T) {
|
|
5166
5139
|
return T === 33 ? (e.consume(T), c) : T === 47 ? (e.consume(T), a = !0, m) : T === 63 ? (e.consume(T), o = 3, n.interrupt ? t : oe) : Nt(T) ? (e.consume(T), s = String.fromCharCode(T), y) : r(T);
|
|
@@ -5471,9 +5444,9 @@ const Xc = { name: "definition", tokenize: function(e, t, r) {
|
|
|
5471
5444
|
} }, Kr = { name: "thematicBreak", tokenize: function(e, t, r) {
|
|
5472
5445
|
let n, o = 0;
|
|
5473
5446
|
return function(i) {
|
|
5474
|
-
return e.enter("thematicBreak"), function(l) {
|
|
5447
|
+
return e.enter("thematicBreak"), (function(l) {
|
|
5475
5448
|
return n = l, a(l);
|
|
5476
|
-
}(i);
|
|
5449
|
+
})(i);
|
|
5477
5450
|
};
|
|
5478
5451
|
function a(i) {
|
|
5479
5452
|
return i === n ? (e.enter("thematicBreakSequence"), s(i)) : o >= 3 && (i === null || ge(i)) ? (e.exit("thematicBreak"), t(i)) : r(i);
|
|
@@ -5551,9 +5524,9 @@ const Xc = { name: "definition", tokenize: function(e, t, r) {
|
|
|
5551
5524
|
l = n.events[A][1].type === "paragraph";
|
|
5552
5525
|
break;
|
|
5553
5526
|
}
|
|
5554
|
-
return n.parser.lazy[n.now().line] || !n.interrupt && !l ? r(i) : (e.enter("setextHeadingLine"), o = i, function(c) {
|
|
5527
|
+
return n.parser.lazy[n.now().line] || !n.interrupt && !l ? r(i) : (e.enter("setextHeadingLine"), o = i, (function(c) {
|
|
5555
5528
|
return e.enter("setextHeadingLineSequence"), a(c);
|
|
5556
|
-
}(i));
|
|
5529
|
+
})(i));
|
|
5557
5530
|
};
|
|
5558
5531
|
function a(i) {
|
|
5559
5532
|
return i === o ? (e.consume(i), a) : (e.exit("setextHeadingLineSequence"), Pe(i) ? _e(e, s, "lineSuffix")(i) : s(i));
|
|
@@ -5647,7 +5620,7 @@ function xu(e, t, r) {
|
|
|
5647
5620
|
}, interrupt: k(y, { interrupt: !0 }) }, A = { code: null, containerState: {}, defineSkip: function(B) {
|
|
5648
5621
|
o[B.line] = B.column, C();
|
|
5649
5622
|
}, events: [], now: p, parser: e, previous: null, sliceSerialize: function(B, x) {
|
|
5650
|
-
return function(Q, M) {
|
|
5623
|
+
return (function(Q, M) {
|
|
5651
5624
|
let I = -1;
|
|
5652
5625
|
const _ = [];
|
|
5653
5626
|
let q;
|
|
@@ -5680,21 +5653,21 @@ function xu(e, t, r) {
|
|
|
5680
5653
|
q = H === -2, _.push(N);
|
|
5681
5654
|
}
|
|
5682
5655
|
return _.join("");
|
|
5683
|
-
}(f(B), x);
|
|
5656
|
+
})(f(B), x);
|
|
5684
5657
|
}, sliceStream: f, write: function(B) {
|
|
5685
|
-
return s = wt(s, B), function() {
|
|
5658
|
+
return s = wt(s, B), (function() {
|
|
5686
5659
|
let x;
|
|
5687
5660
|
for (; n._index < s.length; ) {
|
|
5688
5661
|
const Q = s[n._index];
|
|
5689
5662
|
if (typeof Q == "string") for (x = n._index, n._bufferIndex < 0 && (n._bufferIndex = 0); n._index === x && n._bufferIndex < Q.length; ) m(Q.charCodeAt(n._bufferIndex));
|
|
5690
5663
|
else m(Q);
|
|
5691
5664
|
}
|
|
5692
|
-
}(), s[s.length - 1] !== null ? [] : (w(t, 0), A.events = wa(a, A.events, A), A.events);
|
|
5665
|
+
})(), s[s.length - 1] !== null ? [] : (w(t, 0), A.events = wa(a, A.events, A), A.events);
|
|
5693
5666
|
} };
|
|
5694
5667
|
let c = t.tokenize.call(A, l);
|
|
5695
5668
|
return t.resolveAll && a.push(t), A;
|
|
5696
5669
|
function f(B) {
|
|
5697
|
-
return function(x, Q) {
|
|
5670
|
+
return (function(x, Q) {
|
|
5698
5671
|
const M = Q.start._index, I = Q.start._bufferIndex, _ = Q.end._index, q = Q.end._bufferIndex;
|
|
5699
5672
|
let H;
|
|
5700
5673
|
if (M === _) H = [x[M].slice(I, q)];
|
|
@@ -5706,7 +5679,7 @@ function xu(e, t, r) {
|
|
|
5706
5679
|
q > 0 && H.push(x[_].slice(0, q));
|
|
5707
5680
|
}
|
|
5708
5681
|
return H;
|
|
5709
|
-
}(s, B);
|
|
5682
|
+
})(s, B);
|
|
5710
5683
|
}
|
|
5711
5684
|
function p() {
|
|
5712
5685
|
const { _bufferIndex: B, _index: x, line: Q, column: M, offset: I } = n;
|
|
@@ -5721,25 +5694,25 @@ function xu(e, t, r) {
|
|
|
5721
5694
|
function k(B, x) {
|
|
5722
5695
|
return function(Q, M, I) {
|
|
5723
5696
|
let _, q, H, N;
|
|
5724
|
-
return Array.isArray(Q) ? U(Q) : "tokenize" in Q ? U([Q]) : /* @__PURE__ */ function(V) {
|
|
5697
|
+
return Array.isArray(Q) ? U(Q) : "tokenize" in Q ? U([Q]) : /* @__PURE__ */ (function(V) {
|
|
5725
5698
|
return se;
|
|
5726
5699
|
function se(re) {
|
|
5727
5700
|
const oe = re !== null && V[re], D = re !== null && V.null;
|
|
5728
5701
|
return U([...Array.isArray(oe) ? oe : oe ? [oe] : [], ...Array.isArray(D) ? D : D ? [D] : []])(re);
|
|
5729
5702
|
}
|
|
5730
|
-
}(Q);
|
|
5703
|
+
})(Q);
|
|
5731
5704
|
function U(V) {
|
|
5732
5705
|
return _ = V, q = 0, V.length === 0 ? I : z(V[q]);
|
|
5733
5706
|
}
|
|
5734
5707
|
function z(V) {
|
|
5735
5708
|
return function(se) {
|
|
5736
|
-
return N = function() {
|
|
5709
|
+
return N = (function() {
|
|
5737
5710
|
const re = p(), oe = A.previous, D = A.currentConstruct, xe = A.events.length, T = Array.from(i);
|
|
5738
5711
|
return { from: xe, restore: pe };
|
|
5739
5712
|
function pe() {
|
|
5740
5713
|
n = re, A.previous = oe, A.currentConstruct = D, A.events.length = xe, i = T, C();
|
|
5741
5714
|
}
|
|
5742
|
-
}(), H = V, V.partial || (A.currentConstruct = V), V.name && A.parser.constructs.disable.null.includes(V.name) ? $() : V.tokenize.call(x ? Object.assign(Object.create(A), x) : A, l, Y, $)(se);
|
|
5715
|
+
})(), H = V, V.partial || (A.currentConstruct = V), V.name && A.parser.constructs.disable.null.includes(V.name) ? $() : V.tokenize.call(x ? Object.assign(Object.create(A), x) : A, l, Y, $)(se);
|
|
5743
5716
|
};
|
|
5744
5717
|
}
|
|
5745
5718
|
function Y(V) {
|
|
@@ -5768,7 +5741,7 @@ function Eu(e, t, r) {
|
|
|
5768
5741
|
}
|
|
5769
5742
|
const tl = {}.hasOwnProperty;
|
|
5770
5743
|
function Cu(e, t, r) {
|
|
5771
|
-
return typeof t != "string" && (r = t, t = void 0), function(n) {
|
|
5744
|
+
return typeof t != "string" && (r = t, t = void 0), (function(n) {
|
|
5772
5745
|
const o = { transforms: [], canContainEols: ["emphasis", "fragment", "heading", "paragraph", "strong"], enter: { autolink: l(nt), autolinkProtocol: z, autolinkEmail: z, atxHeading: l(je), blockQuote: l(Be), characterEscape: z, characterReference: z, codeFenced: l(Ue), codeFencedFenceInfo: A, codeFencedFenceMeta: A, codeIndented: l(Ue, A), codeText: l(kt, A), codeTextData: z, data: z, codeFlowValue: z, definition: l(Ke), definitionDestinationString: A, definitionLabelString: A, definitionTitleString: A, emphasis: l(st), hardBreakEscape: l(We), hardBreakTrailing: l(We), htmlFlow: l(Ve, A), htmlFlowData: z, htmlText: l(Ve, A), htmlTextData: z, image: l(qt), label: A, link: l(nt), listItem: l(Wt), listItemValue: k, listOrdered: l(qe, y), listUnordered: l(qe), paragraph: l(ht), reference: ce, referenceString: A, resourceDestinationString: A, resourceTitleString: A, setextHeading: l(je), strong: l(Pt), thematicBreak: l(gt) }, exit: { atxHeading: f(), atxHeadingSequence: q, autolink: f(), autolinkEmail: it, autolinkProtocol: ze, blockQuote: f(), characterEscapeValue: Y, characterReferenceMarkerHexadecimal: De, characterReferenceMarkerNumeric: De, characterReferenceValue: be, characterReference: Te, codeFenced: f(x), codeFencedFence: B, codeFencedFenceInfo: w, codeFencedFenceMeta: C, codeFlowValue: Y, codeIndented: f(Q), codeText: f(oe), codeTextData: Y, data: Y, definition: f(), definitionDestinationString: _, definitionLabelString: M, definitionTitleString: I, emphasis: f(), hardBreakEscape: f(V), hardBreakTrailing: f(V), htmlFlow: f(se), htmlFlowData: Y, htmlText: f(re), htmlTextData: Y, image: f(xe), label: pe, labelText: T, lineEnding: $, link: f(D), listItem: f(), listOrdered: f(), listUnordered: f(), paragraph: f(), referenceString: ye, resourceDestinationString: ne, resourceTitleString: K, resource: le, setextHeading: f(U), setextHeadingLineSequence: N, setextHeadingText: H, strong: f(), thematicBreak: f() } };
|
|
5773
5746
|
nl(o, (n || {}).mdastExtensions || []);
|
|
5774
5747
|
const a = {};
|
|
@@ -5855,9 +5828,9 @@ function Cu(e, t, r) {
|
|
|
5855
5828
|
ke[0].type !== W.type && (ae ? ae.call(this, W, ke[0]) : (ke[1] || Di).call(this, W, ke[0])), Ae.position.end = Kt(W.end);
|
|
5856
5829
|
}
|
|
5857
5830
|
function m() {
|
|
5858
|
-
return function(W) {
|
|
5831
|
+
return (function(W) {
|
|
5859
5832
|
return qs(W, typeof Hr.includeImageAlt != "boolean" || Hr.includeImageAlt, typeof Hr.includeHtml != "boolean" || Hr.includeHtml);
|
|
5860
|
-
}(this.stack.pop());
|
|
5833
|
+
})(this.stack.pop());
|
|
5861
5834
|
}
|
|
5862
5835
|
function y() {
|
|
5863
5836
|
this.data.expectingFirstListItemValue = !0;
|
|
@@ -5960,9 +5933,9 @@ function Cu(e, t, r) {
|
|
|
5960
5933
|
}
|
|
5961
5934
|
function T(W) {
|
|
5962
5935
|
const ae = this.sliceSerialize(W), Ae = this.stack[this.stack.length - 2];
|
|
5963
|
-
Ae.label = function(ke) {
|
|
5936
|
+
Ae.label = (function(ke) {
|
|
5964
5937
|
return ke.replace(ku, Eu);
|
|
5965
|
-
}(ae), Ae.identifier = Mn(ae).toLowerCase();
|
|
5938
|
+
})(ae), Ae.identifier = Mn(ae).toLowerCase();
|
|
5966
5939
|
}
|
|
5967
5940
|
function pe() {
|
|
5968
5941
|
const W = this.stack[this.stack.length - 1], ae = this.resume(), Ae = this.stack[this.stack.length - 1];
|
|
@@ -6054,10 +6027,10 @@ function Cu(e, t, r) {
|
|
|
6054
6027
|
function gt() {
|
|
6055
6028
|
return { type: "thematicBreak" };
|
|
6056
6029
|
}
|
|
6057
|
-
}(r)(function(n) {
|
|
6030
|
+
})(r)((function(n) {
|
|
6058
6031
|
for (; !Vs(n); ) ;
|
|
6059
6032
|
return n;
|
|
6060
|
-
}(function(n) {
|
|
6033
|
+
})((function(n) {
|
|
6061
6034
|
const o = { constructs: Tc([wu, ...(n || {}).extensions || []]), content: a(Fc), defined: [], document: a(Oc), flow: a(Au), lazy: {}, string: a(uu), text: a(du) };
|
|
6062
6035
|
return o;
|
|
6063
6036
|
function a(s) {
|
|
@@ -6065,7 +6038,7 @@ function Cu(e, t, r) {
|
|
|
6065
6038
|
return xu(o, s, i);
|
|
6066
6039
|
};
|
|
6067
6040
|
}
|
|
6068
|
-
}(r).document().write((/* @__PURE__ */ function() {
|
|
6041
|
+
})(r).document().write((/* @__PURE__ */ (function() {
|
|
6069
6042
|
let n, o = 1, a = "", s = !0;
|
|
6070
6043
|
return function(i, l, A) {
|
|
6071
6044
|
const c = [];
|
|
@@ -6093,7 +6066,7 @@ function Cu(e, t, r) {
|
|
|
6093
6066
|
}
|
|
6094
6067
|
return A && (n && c.push(-5), a && c.push(a), c.push(null)), c;
|
|
6095
6068
|
};
|
|
6096
|
-
}())(e, t, !0))));
|
|
6069
|
+
})())(e, t, !0))));
|
|
6097
6070
|
}
|
|
6098
6071
|
function Kt(e) {
|
|
6099
6072
|
return { line: e.line, column: e.column, offset: e.offset };
|
|
@@ -6231,7 +6204,7 @@ const Pu = { blockquote: function(e, t) {
|
|
|
6231
6204
|
const n = { type: "element", tagName: "a", properties: r, children: e.all(t) };
|
|
6232
6205
|
return e.patch(t, n), e.applyData(t, n);
|
|
6233
6206
|
}, listItem: function(e, t, r) {
|
|
6234
|
-
const n = e.all(t), o = r ? function(c) {
|
|
6207
|
+
const n = e.all(t), o = r ? (function(c) {
|
|
6235
6208
|
let f = !1;
|
|
6236
6209
|
if (c.type === "list") {
|
|
6237
6210
|
f = c.spread || !1;
|
|
@@ -6240,7 +6213,7 @@ const Pu = { blockquote: function(e, t) {
|
|
|
6240
6213
|
for (; !f && ++m < p.length; ) f = Pi(p[m]);
|
|
6241
6214
|
}
|
|
6242
6215
|
return f;
|
|
6243
|
-
}(r) : Pi(t), a = {}, s = [];
|
|
6216
|
+
})(r) : Pi(t), a = {}, s = [];
|
|
6244
6217
|
if (typeof t.checked == "boolean") {
|
|
6245
6218
|
const c = n[0];
|
|
6246
6219
|
let f;
|
|
@@ -6469,7 +6442,7 @@ function Ru(e, t) {
|
|
|
6469
6442
|
const rl = function(e) {
|
|
6470
6443
|
if (e == null) return Mu;
|
|
6471
6444
|
if (typeof e == "function") return qr(e);
|
|
6472
|
-
if (typeof e == "object") return Array.isArray(e) ? function(t) {
|
|
6445
|
+
if (typeof e == "object") return Array.isArray(e) ? (function(t) {
|
|
6473
6446
|
const r = [];
|
|
6474
6447
|
let n = -1;
|
|
6475
6448
|
for (; ++n < t.length; ) r[n] = rl(t[n]);
|
|
@@ -6479,7 +6452,7 @@ const rl = function(e) {
|
|
|
6479
6452
|
for (; ++s < r.length; ) if (r[s].apply(this, a)) return !0;
|
|
6480
6453
|
return !1;
|
|
6481
6454
|
}
|
|
6482
|
-
}(e) : function(t) {
|
|
6455
|
+
})(e) : (function(t) {
|
|
6483
6456
|
const r = t;
|
|
6484
6457
|
return qr(n);
|
|
6485
6458
|
function n(o) {
|
|
@@ -6488,20 +6461,20 @@ const rl = function(e) {
|
|
|
6488
6461
|
for (s in t) if (a[s] !== r[s]) return !1;
|
|
6489
6462
|
return !0;
|
|
6490
6463
|
}
|
|
6491
|
-
}(e);
|
|
6492
|
-
if (typeof e == "string") return function(t) {
|
|
6464
|
+
})(e);
|
|
6465
|
+
if (typeof e == "string") return (function(t) {
|
|
6493
6466
|
return qr(r);
|
|
6494
6467
|
function r(n) {
|
|
6495
6468
|
return n && n.type === t;
|
|
6496
6469
|
}
|
|
6497
|
-
}(e);
|
|
6470
|
+
})(e);
|
|
6498
6471
|
throw new Error("Expected function, string, or object as test");
|
|
6499
6472
|
};
|
|
6500
6473
|
function qr(e) {
|
|
6501
6474
|
return function(t, r, n) {
|
|
6502
|
-
return !(!function(o) {
|
|
6475
|
+
return !(!(function(o) {
|
|
6503
6476
|
return o !== null && typeof o == "object" && "type" in o;
|
|
6504
|
-
}(t) || !e.call(this, t, typeof r == "number" ? r : void 0, n || void 0));
|
|
6477
|
+
})(t) || !e.call(this, t, typeof r == "number" ? r : void 0, n || void 0));
|
|
6505
6478
|
};
|
|
6506
6479
|
}
|
|
6507
6480
|
function Mu() {
|
|
@@ -6521,9 +6494,9 @@ function _u(e, t, r, n) {
|
|
|
6521
6494
|
return p;
|
|
6522
6495
|
function p() {
|
|
6523
6496
|
let m, y, k, w = Mi;
|
|
6524
|
-
if ((!t || a(l, A, c[c.length - 1] || void 0)) && (w = function(C) {
|
|
6497
|
+
if ((!t || a(l, A, c[c.length - 1] || void 0)) && (w = (function(C) {
|
|
6525
6498
|
return Array.isArray(C) ? C : typeof C == "number" ? [Nu, C] : C == null ? Mi : [C];
|
|
6526
|
-
}(r(l, c)), w[0] === Ni)) return w;
|
|
6499
|
+
})(r(l, c)), w[0] === Ni)) return w;
|
|
6527
6500
|
if ("children" in l && l.children) {
|
|
6528
6501
|
const C = l;
|
|
6529
6502
|
if (C.children && w[0] !== "skip") for (y = (n ? C.children.length : -1) + s, k = c.concat(C); y > -1 && y < C.children.length; ) {
|
|
@@ -6582,10 +6555,10 @@ function Fu(e, t) {
|
|
|
6582
6555
|
}), i;
|
|
6583
6556
|
}
|
|
6584
6557
|
function Ou(e, t) {
|
|
6585
|
-
e.position && (t.position = function(r) {
|
|
6558
|
+
e.position && (t.position = (function(r) {
|
|
6586
6559
|
const n = ya(r), o = Ls(r);
|
|
6587
6560
|
if (n && o) return { start: n, end: o };
|
|
6588
|
-
}(e));
|
|
6561
|
+
})(e));
|
|
6589
6562
|
}
|
|
6590
6563
|
function Lu(e, t) {
|
|
6591
6564
|
let r = t;
|
|
@@ -6614,7 +6587,7 @@ function _i(e) {
|
|
|
6614
6587
|
return e.slice(t);
|
|
6615
6588
|
}
|
|
6616
6589
|
function ji(e, t) {
|
|
6617
|
-
const r = Fu(e, t), n = r.one(e, void 0), o = function(s) {
|
|
6590
|
+
const r = Fu(e, t), n = r.one(e, void 0), o = (function(s) {
|
|
6618
6591
|
const i = typeof s.options.clobberPrefix == "string" ? s.options.clobberPrefix : "user-content-", l = s.options.footnoteBackContent || Qu, A = s.options.footnoteBackLabel || Ru, c = s.options.footnoteLabel || "Footnotes", f = s.options.footnoteLabelTagName || "h2", p = s.options.footnoteLabelProperties || { className: ["sr-only"] }, m = [];
|
|
6619
6592
|
let y = -1;
|
|
6620
6593
|
for (; ++y < s.footnoteOrder.length; ) {
|
|
@@ -6639,7 +6612,7 @@ function ji(e, t) {
|
|
|
6639
6612
|
if (m.length !== 0) return { type: "element", tagName: "section", properties: { dataFootnotes: !0, className: ["footnotes"] }, children: [{ type: "element", tagName: f, properties: { ...no(p), id: "footnote-label" }, children: [{ type: "text", value: c }] }, { type: "text", value: `
|
|
6640
6613
|
` }, { type: "element", tagName: "ol", properties: {}, children: s.wrap(m, !0) }, { type: "text", value: `
|
|
6641
6614
|
` }] };
|
|
6642
|
-
}(r), a = Array.isArray(n) ? { type: "root", children: n } : n || { type: "root", children: [] };
|
|
6615
|
+
})(r), a = Array.isArray(n) ? { type: "root", children: n } : n || { type: "root", children: [] };
|
|
6643
6616
|
return o && a.children.push({ type: "text", value: `
|
|
6644
6617
|
` }, o), a;
|
|
6645
6618
|
}
|
|
@@ -6654,7 +6627,7 @@ function Uu(e, t) {
|
|
|
6654
6627
|
function Fi(e) {
|
|
6655
6628
|
if (e) throw e;
|
|
6656
6629
|
}
|
|
6657
|
-
var _o, Oi, qu = function() {
|
|
6630
|
+
var _o, Oi, qu = (function() {
|
|
6658
6631
|
if (Oi) return _o;
|
|
6659
6632
|
Oi = 1;
|
|
6660
6633
|
var e = Object.prototype.hasOwnProperty, t = Object.prototype.toString, r = Object.defineProperty, n = Object.getOwnPropertyDescriptor, o = function(l) {
|
|
@@ -6679,7 +6652,7 @@ var _o, Oi, qu = function() {
|
|
|
6679
6652
|
for (typeof k == "boolean" && (B = k, k = arguments[1] || {}, w = 2), (k == null || typeof k != "object" && typeof k != "function") && (k = {}); w < C; ++w) if ((A = arguments[w]) != null) for (c in A) f = i(k, c), k !== (p = i(A, c)) && (B && p && (a(p) || (m = o(p))) ? (m ? (m = !1, y = f && o(f) ? f : []) : y = f && a(f) ? f : {}, s(k, { name: c, newValue: l(B, y, p) })) : typeof p < "u" && s(k, { name: c, newValue: p }));
|
|
6680
6653
|
return k;
|
|
6681
6654
|
}, _o;
|
|
6682
|
-
}();
|
|
6655
|
+
})();
|
|
6683
6656
|
const jo = Os(qu);
|
|
6684
6657
|
function oa(e) {
|
|
6685
6658
|
if (typeof e != "object" || e === null) return !1;
|
|
@@ -6697,7 +6670,7 @@ function Wu() {
|
|
|
6697
6670
|
if (s) o(s);
|
|
6698
6671
|
else {
|
|
6699
6672
|
for (; ++A < r.length; ) (i[A] === null || i[A] === void 0) && (i[A] = r[A]);
|
|
6700
|
-
r = i, l ? (/* @__PURE__ */ function(c, f) {
|
|
6673
|
+
r = i, l ? (/* @__PURE__ */ (function(c, f) {
|
|
6701
6674
|
let p;
|
|
6702
6675
|
return m;
|
|
6703
6676
|
function m(...w) {
|
|
@@ -6718,7 +6691,7 @@ function Wu() {
|
|
|
6718
6691
|
function k(w) {
|
|
6719
6692
|
y(null, w);
|
|
6720
6693
|
}
|
|
6721
|
-
}(l, a))(...i) : o(null, ...i);
|
|
6694
|
+
})(l, a))(...i) : o(null, ...i);
|
|
6722
6695
|
}
|
|
6723
6696
|
})(null, ...r);
|
|
6724
6697
|
}, use: function(r) {
|
|
@@ -6774,10 +6747,10 @@ const Qt = { basename: function(e, t) {
|
|
|
6774
6747
|
}, join: function(...e) {
|
|
6775
6748
|
let t, r = -1;
|
|
6776
6749
|
for (; ++r < e.length; ) rr(e[r]), e[r] && (t = t === void 0 ? e[r] : t + "/" + e[r]);
|
|
6777
|
-
return t === void 0 ? "." : function(n) {
|
|
6750
|
+
return t === void 0 ? "." : (function(n) {
|
|
6778
6751
|
rr(n);
|
|
6779
6752
|
const o = n.codePointAt(0) === 47;
|
|
6780
|
-
let a = function(s, i) {
|
|
6753
|
+
let a = (function(s, i) {
|
|
6781
6754
|
let l, A, c = "", f = 0, p = -1, m = 0, y = -1;
|
|
6782
6755
|
for (; ++y <= s.length; ) {
|
|
6783
6756
|
if (y < s.length) l = s.codePointAt(y);
|
|
@@ -6804,9 +6777,9 @@ const Qt = { basename: function(e, t) {
|
|
|
6804
6777
|
} else l === 46 && m > -1 ? m++ : m = -1;
|
|
6805
6778
|
}
|
|
6806
6779
|
return c;
|
|
6807
|
-
}(n, !o);
|
|
6780
|
+
})(n, !o);
|
|
6808
6781
|
return a.length === 0 && !o && (a = "."), a.length > 0 && n.codePointAt(n.length - 1) === 47 && (a += "/"), o ? "/" + a : a;
|
|
6809
|
-
}(t);
|
|
6782
|
+
})(t);
|
|
6810
6783
|
}, sep: "/" };
|
|
6811
6784
|
function rr(e) {
|
|
6812
6785
|
if (typeof e != "string") throw new TypeError("Path must be a string. Received " + JSON.stringify(e));
|
|
@@ -6827,7 +6800,7 @@ function Xu(e) {
|
|
|
6827
6800
|
const t = new TypeError("The URL must be of scheme file");
|
|
6828
6801
|
throw t.code = "ERR_INVALID_URL_SCHEME", t;
|
|
6829
6802
|
}
|
|
6830
|
-
return function(t) {
|
|
6803
|
+
return (function(t) {
|
|
6831
6804
|
if (t.hostname !== "") {
|
|
6832
6805
|
const o = new TypeError('File URL host must be "localhost" or empty on darwin');
|
|
6833
6806
|
throw o.code = "ERR_INVALID_FILE_URL_HOST", o;
|
|
@@ -6842,7 +6815,7 @@ function Xu(e) {
|
|
|
6842
6815
|
}
|
|
6843
6816
|
}
|
|
6844
6817
|
return decodeURIComponent(r);
|
|
6845
|
-
}(e);
|
|
6818
|
+
})(e);
|
|
6846
6819
|
}
|
|
6847
6820
|
const Fo = ["history", "path", "basename", "stem", "extname", "dirname"];
|
|
6848
6821
|
class al {
|
|
@@ -6967,9 +6940,9 @@ class ka extends Yu {
|
|
|
6967
6940
|
if (c || !f || !p) return A(c);
|
|
6968
6941
|
const m = f, y = n.stringify(m, p);
|
|
6969
6942
|
var k;
|
|
6970
|
-
typeof (k = y) == "string" || function(w) {
|
|
6943
|
+
typeof (k = y) == "string" || (function(w) {
|
|
6971
6944
|
return !!(w && typeof w == "object" && "byteLength" in w && "byteOffset" in w);
|
|
6972
|
-
}(k) ? p.value = y : p.result = y, A(c, p);
|
|
6945
|
+
})(k) ? p.value = y : p.result = y, A(c, p);
|
|
6973
6946
|
});
|
|
6974
6947
|
}
|
|
6975
6948
|
}
|
|
@@ -7064,9 +7037,9 @@ function zi(e, t, r) {
|
|
|
7064
7037
|
if (!r) throw new Error("`" + e + "` finished async. Use `" + t + "` instead");
|
|
7065
7038
|
}
|
|
7066
7039
|
function Wr(e) {
|
|
7067
|
-
return function(t) {
|
|
7040
|
+
return (function(t) {
|
|
7068
7041
|
return !!(t && typeof t == "object" && "message" in t && "messages" in t);
|
|
7069
|
-
}(e) ? e : new al(e);
|
|
7042
|
+
})(e) ? e : new al(e);
|
|
7070
7043
|
}
|
|
7071
7044
|
const Ui = [], qi = { allowDangerousHtml: !0 }, Zu = /^(https?|ircs?|mailto|xmpp)$/i, $u = [{ from: "astPlugins", id: "remove-buggy-html-in-markdown-parser" }, { from: "allowDangerousHtml", id: "remove-buggy-html-in-markdown-parser" }, { from: "allowNode", id: "replace-allownode-allowedtypes-and-disallowedtypes", to: "allowElement" }, { from: "allowedTypes", id: "replace-allownode-allowedtypes-and-disallowedtypes", to: "allowedElements" }, { from: "disallowedTypes", id: "replace-allownode-allowedtypes-and-disallowedtypes", to: "disallowedElements" }, { from: "escapeHtml", id: "remove-buggy-html-in-markdown-parser" }, { from: "includeElementIndex", id: "#remove-includeelementindex" }, { from: "includeNodeIndex", id: "change-includenodeindex-to-includeelementindex" }, { from: "linkTarget", id: "remove-linktarget" }, { from: "plugins", id: "change-plugins-to-remarkplugins", to: "remarkPlugins" }, { from: "rawSourcePos", id: "#remove-rawsourcepos" }, { from: "renderers", id: "change-renderers-to-components", to: "components" }, { from: "source", id: "change-source-to-children", to: "children" }, { from: "sourcePos", id: "#remove-sourcepos" }, { from: "transformImageUri", id: "#add-urltransform", to: "urlTransform" }, { from: "transformLinkUri", id: "#add-urltransform", to: "urlTransform" }];
|
|
7072
7045
|
function Ju(e) {
|
|
@@ -7210,17 +7183,17 @@ var Xi = { randomUUID: typeof crypto < "u" && crypto.randomUUID && crypto.random
|
|
|
7210
7183
|
function sl(e, t, r) {
|
|
7211
7184
|
var n;
|
|
7212
7185
|
if (Xi.randomUUID && !e) return Xi.randomUUID();
|
|
7213
|
-
const o = (e = e || {}).random ?? ((n = e.rng) == null ? void 0 : n.call(e)) ?? function() {
|
|
7186
|
+
const o = (e = e || {}).random ?? ((n = e.rng) == null ? void 0 : n.call(e)) ?? (function() {
|
|
7214
7187
|
if (!qo) {
|
|
7215
7188
|
if (typeof crypto > "u" || !crypto.getRandomValues) throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
7216
7189
|
qo = crypto.getRandomValues.bind(crypto);
|
|
7217
7190
|
}
|
|
7218
7191
|
return qo(id);
|
|
7219
|
-
}();
|
|
7192
|
+
})();
|
|
7220
7193
|
if (o.length < 16) throw new Error("Random bytes length must be >= 16");
|
|
7221
|
-
return o[6] = 15 & o[6] | 64, o[8] = 63 & o[8] | 128, function(a, s = 0) {
|
|
7194
|
+
return o[6] = 15 & o[6] | 64, o[8] = 63 & o[8] | 128, (function(a, s = 0) {
|
|
7222
7195
|
return (Ze[a[s + 0]] + Ze[a[s + 1]] + Ze[a[s + 2]] + Ze[a[s + 3]] + "-" + Ze[a[s + 4]] + Ze[a[s + 5]] + "-" + Ze[a[s + 6]] + Ze[a[s + 7]] + "-" + Ze[a[s + 8]] + Ze[a[s + 9]] + "-" + Ze[a[s + 10]] + Ze[a[s + 11]] + Ze[a[s + 12]] + Ze[a[s + 13]] + Ze[a[s + 14]] + Ze[a[s + 15]]).toLowerCase();
|
|
7223
|
-
}(o);
|
|
7196
|
+
})(o);
|
|
7224
7197
|
}
|
|
7225
7198
|
function io() {
|
|
7226
7199
|
return typeof localStorage < "u" && localStorage.getItem("QA_BOT_DEBUG") === "true";
|
|
@@ -7642,7 +7615,7 @@ const xd = () => {
|
|
|
7642
7615
|
ne.header = { title: Z.createElement("span", { style: { fontSize: 14, fontWeight: 500 } }, k || Vi), showAvatar: !0, avatar: w || Dd, buttons: [...K, He.CLOSE_CHAT_BUTTON] }, ne.chatInput = Object.assign(Object.assign({}, ne.chatInput), { disabled: !1, enabledPlaceholderText: C || Bd, disabledPlaceholderText: B || Pd }), ne.tooltip = Object.assign(Object.assign({}, ne.tooltip), { text: I || Id });
|
|
7643
7616
|
const le = Q ? M ? Z.createElement("a", { href: M, target: "_blank", rel: "noopener noreferrer", key: "footer-link" }, Q) : Z.createElement("span", { key: "footer-text" }, Q) : null;
|
|
7644
7617
|
return ne.footer = { text: le, buttons: [Z.createElement(wd, { key: "new-chat-button" })] }, ne.event = { rcbPreInjectMessage: !0, rcbPostInjectMessage: !0, rcbUserSubmitText: !0, rcbChangePath: !0, rcbToggleChatWindow: !0 }, ne;
|
|
7645
|
-
}, [m, y, k, w, C, B, se, I, $, _, Q, M]), D = P.useRef(null), xe = function(ne) {
|
|
7618
|
+
}, [m, y, k, w, C, B, se, I, $, _, Q, M]), D = P.useRef(null), xe = (function(ne) {
|
|
7646
7619
|
let K = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
7647
7620
|
return P.useMemo(() => {
|
|
7648
7621
|
const le = (ce, ye) => {
|
|
@@ -7658,7 +7631,7 @@ const xd = () => {
|
|
|
7658
7631
|
};
|
|
7659
7632
|
return { primaryColor: le("--primaryColor", K.primaryColor), secondaryColor: le("--secondaryColor", K.secondaryColor), fontFamily: le("--fontFamily", K.fontFamily) };
|
|
7660
7633
|
}, [ne, K]);
|
|
7661
|
-
}(D, oe.general);
|
|
7634
|
+
})(D, oe.general);
|
|
7662
7635
|
((ne, K) => {
|
|
7663
7636
|
P.useEffect(() => {
|
|
7664
7637
|
K.current && (ne ? K.current.classList.add("bot-logged-in") : K.current.classList.remove("bot-logged-in"));
|
|
@@ -7716,14 +7689,14 @@ const xd = () => {
|
|
|
7716
7689
|
const mt = me.match(/([.,;:!?]+)$/);
|
|
7717
7690
|
return mt && (Oe = mt[1], me = me.slice(0, -Oe.length)), "[".concat(me, "](").concat(me, ")").concat(Oe);
|
|
7718
7691
|
}), Ae;
|
|
7719
|
-
})(Pt), gt = function(ae) {
|
|
7692
|
+
})(Pt), gt = (function(ae) {
|
|
7720
7693
|
const { confidence: Ae, tools_used: ke, metadata: me } = ae;
|
|
7721
7694
|
if (!(Ae || ke && ke.length !== 0)) return "";
|
|
7722
7695
|
const Oe = [];
|
|
7723
7696
|
return Ae && Oe.push("• Confidence: ".concat(Ae)), ke && ke.length > 0 && Oe.push("• Tools used: ".concat(ke.join(", "))), me != null && me.agent && Oe.push("• Agent: ".concat(me.agent)), `---
|
|
7724
7697
|
`.concat(Oe.join(`
|
|
7725
7698
|
`));
|
|
7726
|
-
}(ht), W = gt ? "".concat(Ft, `
|
|
7699
|
+
})(ht), W = gt ? "".concat(Ft, `
|
|
7727
7700
|
|
|
7728
7701
|
`).concat(gt) : Ft;
|
|
7729
7702
|
return await Ke.injectMessage(W), Be?.({ type: "chatbot_answer_received", queryId: je, responseTimeMs: Wt, success: !0, responseLength: Pt.length, hasMetadata: !!gt }), kt = !0, setTimeout(async () => {
|