storybook 9.0.0-alpha.1 → 9.0.0-alpha.11
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/README.md +31 -29
- package/assets/browser/favicon.svg +1 -0
- package/assets/browser/nunito-sans-bold-italic.woff2 +0 -0
- package/assets/browser/nunito-sans-bold.woff2 +0 -0
- package/assets/browser/nunito-sans-italic.woff2 +0 -0
- package/assets/browser/nunito-sans-regular.woff2 +0 -0
- package/assets/docs/addon-controls-args-annotated.png +0 -0
- package/assets/docs/addon-controls-args-background-color.png +0 -0
- package/assets/docs/addon-controls-args-background-string.png +0 -0
- package/assets/docs/addon-controls-args-docs.png +0 -0
- package/assets/docs/addon-controls-args-logging.png +0 -0
- package/assets/docs/addon-controls-args-no-annotation.png +0 -0
- package/assets/docs/addon-controls-args-reflow-slider.png +0 -0
- package/assets/docs/addon-controls-args-reflow.png +0 -0
- package/assets/docs/addon-controls-args-template.png +0 -0
- package/assets/docs/addon-controls-expanded.png +0 -0
- package/assets/docs/addon-controls-hero.gif +0 -0
- package/assets/docs/addon-controls-install.png +0 -0
- package/assets/docs/hero.gif +0 -0
- package/assets/docs/message-reference.png +0 -0
- package/assets/docs/viewport.png +0 -0
- package/assets/server/addon.tsconfig.json +6 -0
- package/assets/server/base-preview-body.html +119 -0
- package/assets/server/base-preview-head.html +451 -0
- package/assets/server/template.ejs +87 -0
- package/bin/index.cjs +1 -1
- package/dist/actions/decorator.d.ts +6 -0
- package/dist/actions/decorator.js +139 -0
- package/dist/actions/index.cjs +127 -0
- package/dist/actions/index.d.ts +105 -0
- package/dist/actions/index.js +112 -0
- package/dist/actions/manager.js +1196 -0
- package/dist/actions/preview.cjs +165 -0
- package/dist/actions/preview.d.ts +55 -0
- package/dist/actions/preview.js +156 -0
- package/dist/babel/index.cjs +54034 -0
- package/dist/babel/index.d.ts +7488 -0
- package/dist/babel/index.js +54044 -0
- package/dist/bin/index.cjs +118 -0
- package/dist/bin/index.js +112 -0
- package/dist/builder-manager/index.cjs +2140 -0
- package/dist/builder-manager/index.d.ts +19 -0
- package/dist/builder-manager/index.js +2162 -0
- package/dist/channels/index.cjs +1913 -0
- package/dist/channels/index.d.ts +108 -0
- package/dist/channels/index.js +1881 -0
- package/dist/cli/bin/index.cjs +2687 -0
- package/dist/cli/bin/index.d.ts +2 -0
- package/dist/cli/bin/index.js +2707 -0
- package/dist/cli/index.cjs +17327 -0
- package/dist/cli/index.d.ts +209 -0
- package/dist/cli/index.js +17349 -0
- package/dist/client-logger/index.cjs +80 -0
- package/dist/client-logger/index.d.ts +29 -0
- package/dist/client-logger/index.js +64 -0
- package/dist/common/index.cjs +20568 -0
- package/dist/common/index.d.ts +948 -0
- package/dist/common/index.js +20653 -0
- package/dist/component-testing/index.cjs +23 -0
- package/dist/component-testing/index.d.ts +3 -0
- package/dist/component-testing/index.js +5 -0
- package/dist/component-testing/manager.css +170 -0
- package/dist/component-testing/manager.js +3099 -0
- package/dist/component-testing/preview.cjs +40 -0
- package/dist/component-testing/preview.d.ts +5 -0
- package/dist/component-testing/preview.js +25 -0
- package/dist/components/index.cjs +27925 -0
- package/dist/components/index.d.ts +1423 -0
- package/dist/components/index.js +24674 -0
- package/dist/controls/decorator.d.ts +5 -0
- package/dist/controls/decorator.js +8 -0
- package/dist/controls/index.cjs +26 -0
- package/dist/controls/index.d.ts +39 -0
- package/dist/controls/index.js +6 -0
- package/dist/controls/manager.js +5545 -0
- package/dist/controls/preview.cjs +26 -0
- package/dist/controls/preview.d.ts +55 -0
- package/dist/controls/preview.js +9 -0
- package/dist/core-events/index.cjs +167 -0
- package/dist/core-events/index.d.ts +426 -0
- package/dist/core-events/index.js +149 -0
- package/dist/core-server/index.cjs +38183 -0
- package/dist/core-server/index.d.ts +720 -0
- package/dist/core-server/index.js +38272 -0
- package/dist/core-server/presets/common-manager.js +20 -0
- package/dist/core-server/presets/common-override-preset.cjs +4824 -0
- package/dist/core-server/presets/common-override-preset.js +4829 -0
- package/dist/core-server/presets/common-preset.cjs +10231 -0
- package/dist/core-server/presets/common-preset.js +10309 -0
- package/dist/csf/index.cjs +179 -0
- package/dist/csf/index.d.ts +750 -0
- package/dist/csf/index.js +172 -0
- package/dist/csf-tools/index.cjs +1422 -0
- package/dist/csf-tools/index.d.ts +250 -0
- package/dist/csf-tools/index.js +1439 -0
- package/dist/docs-tools/index.cjs +2891 -0
- package/dist/docs-tools/index.d.ts +162 -0
- package/dist/docs-tools/index.js +2876 -0
- package/dist/index.cjs +17 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -7
- package/dist/instrumenter/index.cjs +3492 -0
- package/dist/instrumenter/index.d.ts +104 -0
- package/dist/instrumenter/index.js +4964 -0
- package/dist/manager/globals-module-info.cjs +817 -0
- package/dist/manager/globals-module-info.d.ts +36 -0
- package/dist/manager/globals-module-info.js +804 -0
- package/dist/manager/globals-runtime.js +83389 -0
- package/dist/manager/globals.cjs +47 -0
- package/dist/manager/globals.d.ts +24 -0
- package/dist/manager/globals.js +34 -0
- package/dist/manager/runtime.js +12323 -0
- package/dist/manager-api/index.cjs +11074 -0
- package/dist/manager-api/index.d.ts +1512 -0
- package/dist/manager-api/index.js +4835 -0
- package/dist/manager-errors.d.ts +89 -0
- package/dist/manager-errors.js +99 -0
- package/dist/node-logger/index.cjs +1642 -0
- package/dist/node-logger/index.d.ts +117 -0
- package/dist/node-logger/index.js +1652 -0
- package/dist/preview/globals.cjs +38 -0
- package/dist/preview/globals.d.ts +15 -0
- package/dist/preview/globals.js +25 -0
- package/dist/preview/runtime.js +44921 -0
- package/dist/preview-api/index.cjs +5227 -0
- package/dist/preview-api/index.d.ts +1093 -0
- package/dist/preview-api/index.js +5295 -0
- package/dist/preview-errors.cjs +503 -0
- package/dist/preview-errors.d.ts +212 -0
- package/dist/preview-errors.js +449 -0
- package/dist/router/index.cjs +3296 -0
- package/dist/router/index.d.ts +385 -0
- package/dist/router/index.js +1843 -0
- package/dist/server-errors.cjs +727 -0
- package/dist/server-errors.d.ts +296 -0
- package/dist/server-errors.js +728 -0
- package/dist/telemetry/index.cjs +2756 -0
- package/dist/telemetry/index.d.ts +133 -0
- package/dist/telemetry/index.js +2797 -0
- package/dist/test/index.cjs +35685 -0
- package/dist/test/index.d.ts +186 -0
- package/dist/test/index.js +33751 -0
- package/dist/test/preview.cjs +15869 -0
- package/dist/test/preview.d.ts +54 -0
- package/dist/test/preview.js +14440 -0
- package/dist/test/spy.cjs +257 -0
- package/dist/test/spy.d.ts +66 -0
- package/dist/test/spy.js +239 -0
- package/dist/theming/create.cjs +232 -0
- package/dist/theming/create.d.ts +50 -0
- package/dist/theming/create.js +216 -0
- package/dist/theming/index.cjs +2665 -0
- package/dist/theming/index.d.ts +11939 -0
- package/dist/theming/index.js +2485 -0
- package/dist/types/index.cjs +27 -0
- package/dist/types/index.d.ts +2795 -0
- package/dist/types/index.js +7 -0
- package/dist/viewport/index.cjs +310 -0
- package/dist/viewport/index.d.ts +320 -0
- package/dist/viewport/index.js +290 -0
- package/dist/viewport/manager.js +400 -0
- package/dist/viewport/preview.cjs +35 -0
- package/dist/viewport/preview.d.ts +69 -0
- package/dist/viewport/preview.js +19 -0
- package/package.json +539 -209
- package/.eslintrc.cjs +0 -31
- package/__mocks__/@aw-web-design/x-default-browser.js +0 -2
- package/core/babel/index.cjs +0 -1
- package/core/babel/index.d.ts +0 -2
- package/core/babel/index.js +0 -1
- package/core/builder-manager/index.cjs +0 -1
- package/core/builder-manager/index.d.ts +0 -2
- package/core/builder-manager/index.js +0 -1
- package/core/channels/index.cjs +0 -1
- package/core/channels/index.d.ts +0 -2
- package/core/channels/index.js +0 -1
- package/core/cli/bin/index.cjs +0 -1
- package/core/cli/bin/index.d.ts +0 -2
- package/core/cli/bin/index.js +0 -1
- package/core/cli/index.cjs +0 -1
- package/core/cli/index.d.ts +0 -2
- package/core/cli/index.js +0 -1
- package/core/client-logger/index.cjs +0 -1
- package/core/client-logger/index.d.ts +0 -2
- package/core/client-logger/index.js +0 -1
- package/core/common/index.cjs +0 -1
- package/core/common/index.d.ts +0 -2
- package/core/common/index.js +0 -1
- package/core/components/index.cjs +0 -1
- package/core/components/index.d.ts +0 -2
- package/core/components/index.js +0 -1
- package/core/core-events/index.cjs +0 -1
- package/core/core-events/index.d.ts +0 -2
- package/core/core-events/index.js +0 -1
- package/core/core-server/index.cjs +0 -1
- package/core/core-server/index.d.ts +0 -2
- package/core/core-server/index.js +0 -1
- package/core/core-server/presets/common-manager.js +0 -1
- package/core/core-server/presets/common-override-preset.cjs +0 -1
- package/core/core-server/presets/common-override-preset.js +0 -1
- package/core/core-server/presets/common-preset.cjs +0 -1
- package/core/core-server/presets/common-preset.js +0 -1
- package/core/csf/index.cjs +0 -1
- package/core/csf/index.d.ts +0 -2
- package/core/csf/index.js +0 -1
- package/core/csf-tools/index.cjs +0 -1
- package/core/csf-tools/index.d.ts +0 -2
- package/core/csf-tools/index.js +0 -1
- package/core/docs-tools/index.cjs +0 -1
- package/core/docs-tools/index.d.ts +0 -2
- package/core/docs-tools/index.js +0 -1
- package/core/index.cjs +0 -1
- package/core/index.d.ts +0 -2
- package/core/index.js +0 -1
- package/core/manager/globals-module-info.cjs +0 -1
- package/core/manager/globals-module-info.d.ts +0 -2
- package/core/manager/globals-module-info.js +0 -1
- package/core/manager/globals-runtime.js +0 -1
- package/core/manager/globals.cjs +0 -1
- package/core/manager/globals.d.ts +0 -2
- package/core/manager/globals.js +0 -1
- package/core/manager-api/index.cjs +0 -1
- package/core/manager-api/index.d.ts +0 -2
- package/core/manager-api/index.js +0 -1
- package/core/manager-errors.d.ts +0 -2
- package/core/manager-errors.js +0 -1
- package/core/node-logger/index.cjs +0 -1
- package/core/node-logger/index.d.ts +0 -2
- package/core/node-logger/index.js +0 -1
- package/core/preview/globals.cjs +0 -1
- package/core/preview/globals.d.ts +0 -2
- package/core/preview/globals.js +0 -1
- package/core/preview/runtime.js +0 -1
- package/core/preview-api/index.cjs +0 -1
- package/core/preview-api/index.d.ts +0 -2
- package/core/preview-api/index.js +0 -1
- package/core/preview-errors.cjs +0 -1
- package/core/preview-errors.d.ts +0 -2
- package/core/preview-errors.js +0 -1
- package/core/router/index.cjs +0 -1
- package/core/router/index.d.ts +0 -2
- package/core/router/index.js +0 -1
- package/core/server-errors.cjs +0 -1
- package/core/server-errors.d.ts +0 -2
- package/core/server-errors.js +0 -1
- package/core/telemetry/index.cjs +0 -1
- package/core/telemetry/index.d.ts +0 -2
- package/core/telemetry/index.js +0 -1
- package/core/theming/create.cjs +0 -1
- package/core/theming/create.d.ts +0 -2
- package/core/theming/create.js +0 -1
- package/core/theming/index.cjs +0 -1
- package/core/theming/index.d.ts +0 -2
- package/core/theming/index.js +0 -1
- package/core/types/index.cjs +0 -1
- package/core/types/index.d.ts +0 -2
- package/core/types/index.js +0 -1
- package/core.cjs +0 -0
- package/core.d.ts +0 -0
- package/core.js +0 -1
- package/dist/chunk-OWLSIX54.js +0 -8
- package/dist/core-path.cjs +0 -1
- package/dist/core-path.d.ts +0 -3
- package/dist/core-path.js +0 -9
- package/dist/proxy.cjs +0 -1
- package/dist/proxy.d.ts +0 -2
- package/dist/proxy.js +0 -9
|
@@ -0,0 +1,3099 @@
|
|
|
1
|
+
var D1 = Object.create;
|
|
2
|
+
var Ke = Object.defineProperty;
|
|
3
|
+
var P1 = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var q1 = Object.getOwnPropertyNames;
|
|
5
|
+
var N1 = Object.getPrototypeOf, j1 = Object.prototype.hasOwnProperty;
|
|
6
|
+
var l = (e, t) => Ke(e, "name", { value: t, configurable: !0 });
|
|
7
|
+
var L = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports);
|
|
8
|
+
var F1 = (e, t, r, a) => {
|
|
9
|
+
if (t && typeof t == "object" || typeof t == "function")
|
|
10
|
+
for (let n of q1(t))
|
|
11
|
+
!j1.call(e, n) && n !== r && Ke(e, n, { get: () => t[n], enumerable: !(a = P1(t, n)) || a.enumerable });
|
|
12
|
+
return e;
|
|
13
|
+
};
|
|
14
|
+
var G = (e, t, r) => (r = e != null ? D1(N1(e)) : {}, F1(
|
|
15
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
16
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
17
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
18
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
19
|
+
t || !e || !e.__esModule ? Ke(r, "default", { value: e, enumerable: !0 }) : r,
|
|
20
|
+
e
|
|
21
|
+
));
|
|
22
|
+
|
|
23
|
+
// ../node_modules/ansi-to-html/node_modules/entities/lib/maps/entities.json
|
|
24
|
+
var Qe = L((Za, G1) => {
|
|
25
|
+
G1.exports = { Aacute: "\xC1", aacute: "\xE1", Abreve: "\u0102", abreve: "\u0103", ac: "\u223E", acd: "\u223F", acE: "\u223E\u0333", Acirc: "\
|
|
26
|
+
\xC2", acirc: "\xE2", acute: "\xB4", Acy: "\u0410", acy: "\u0430", AElig: "\xC6", aelig: "\xE6", af: "\u2061", Afr: "\u{1D504}", afr: "\u{1D51E}",
|
|
27
|
+
Agrave: "\xC0", agrave: "\xE0", alefsym: "\u2135", aleph: "\u2135", Alpha: "\u0391", alpha: "\u03B1", Amacr: "\u0100", amacr: "\u0101", amalg: "\
|
|
28
|
+
\u2A3F", amp: "&", AMP: "&", andand: "\u2A55", And: "\u2A53", and: "\u2227", andd: "\u2A5C", andslope: "\u2A58", andv: "\u2A5A", ang: "\u2220",
|
|
29
|
+
ange: "\u29A4", angle: "\u2220", angmsdaa: "\u29A8", angmsdab: "\u29A9", angmsdac: "\u29AA", angmsdad: "\u29AB", angmsdae: "\u29AC", angmsdaf: "\
|
|
30
|
+
\u29AD", angmsdag: "\u29AE", angmsdah: "\u29AF", angmsd: "\u2221", angrt: "\u221F", angrtvb: "\u22BE", angrtvbd: "\u299D", angsph: "\u2222",
|
|
31
|
+
angst: "\xC5", angzarr: "\u237C", Aogon: "\u0104", aogon: "\u0105", Aopf: "\u{1D538}", aopf: "\u{1D552}", apacir: "\u2A6F", ap: "\u2248", apE: "\
|
|
32
|
+
\u2A70", ape: "\u224A", apid: "\u224B", apos: "'", ApplyFunction: "\u2061", approx: "\u2248", approxeq: "\u224A", Aring: "\xC5", aring: "\xE5",
|
|
33
|
+
Ascr: "\u{1D49C}", ascr: "\u{1D4B6}", Assign: "\u2254", ast: "*", asymp: "\u2248", asympeq: "\u224D", Atilde: "\xC3", atilde: "\xE3", Auml: "\
|
|
34
|
+
\xC4", auml: "\xE4", awconint: "\u2233", awint: "\u2A11", backcong: "\u224C", backepsilon: "\u03F6", backprime: "\u2035", backsim: "\u223D",
|
|
35
|
+
backsimeq: "\u22CD", Backslash: "\u2216", Barv: "\u2AE7", barvee: "\u22BD", barwed: "\u2305", Barwed: "\u2306", barwedge: "\u2305", bbrk: "\
|
|
36
|
+
\u23B5", bbrktbrk: "\u23B6", bcong: "\u224C", Bcy: "\u0411", bcy: "\u0431", bdquo: "\u201E", becaus: "\u2235", because: "\u2235", Because: "\
|
|
37
|
+
\u2235", bemptyv: "\u29B0", bepsi: "\u03F6", bernou: "\u212C", Bernoullis: "\u212C", Beta: "\u0392", beta: "\u03B2", beth: "\u2136", between: "\
|
|
38
|
+
\u226C", Bfr: "\u{1D505}", bfr: "\u{1D51F}", bigcap: "\u22C2", bigcirc: "\u25EF", bigcup: "\u22C3", bigodot: "\u2A00", bigoplus: "\u2A01", bigotimes: "\
|
|
39
|
+
\u2A02", bigsqcup: "\u2A06", bigstar: "\u2605", bigtriangledown: "\u25BD", bigtriangleup: "\u25B3", biguplus: "\u2A04", bigvee: "\u22C1", bigwedge: "\
|
|
40
|
+
\u22C0", bkarow: "\u290D", blacklozenge: "\u29EB", blacksquare: "\u25AA", blacktriangle: "\u25B4", blacktriangledown: "\u25BE", blacktriangleleft: "\
|
|
41
|
+
\u25C2", blacktriangleright: "\u25B8", blank: "\u2423", blk12: "\u2592", blk14: "\u2591", blk34: "\u2593", block: "\u2588", bne: "=\u20E5", bnequiv: "\
|
|
42
|
+
\u2261\u20E5", bNot: "\u2AED", bnot: "\u2310", Bopf: "\u{1D539}", bopf: "\u{1D553}", bot: "\u22A5", bottom: "\u22A5", bowtie: "\u22C8", boxbox: "\
|
|
43
|
+
\u29C9", boxdl: "\u2510", boxdL: "\u2555", boxDl: "\u2556", boxDL: "\u2557", boxdr: "\u250C", boxdR: "\u2552", boxDr: "\u2553", boxDR: "\u2554",
|
|
44
|
+
boxh: "\u2500", boxH: "\u2550", boxhd: "\u252C", boxHd: "\u2564", boxhD: "\u2565", boxHD: "\u2566", boxhu: "\u2534", boxHu: "\u2567", boxhU: "\
|
|
45
|
+
\u2568", boxHU: "\u2569", boxminus: "\u229F", boxplus: "\u229E", boxtimes: "\u22A0", boxul: "\u2518", boxuL: "\u255B", boxUl: "\u255C", boxUL: "\
|
|
46
|
+
\u255D", boxur: "\u2514", boxuR: "\u2558", boxUr: "\u2559", boxUR: "\u255A", boxv: "\u2502", boxV: "\u2551", boxvh: "\u253C", boxvH: "\u256A",
|
|
47
|
+
boxVh: "\u256B", boxVH: "\u256C", boxvl: "\u2524", boxvL: "\u2561", boxVl: "\u2562", boxVL: "\u2563", boxvr: "\u251C", boxvR: "\u255E", boxVr: "\
|
|
48
|
+
\u255F", boxVR: "\u2560", bprime: "\u2035", breve: "\u02D8", Breve: "\u02D8", brvbar: "\xA6", bscr: "\u{1D4B7}", Bscr: "\u212C", bsemi: "\u204F",
|
|
49
|
+
bsim: "\u223D", bsime: "\u22CD", bsolb: "\u29C5", bsol: "\\", bsolhsub: "\u27C8", bull: "\u2022", bullet: "\u2022", bump: "\u224E", bumpE: "\
|
|
50
|
+
\u2AAE", bumpe: "\u224F", Bumpeq: "\u224E", bumpeq: "\u224F", Cacute: "\u0106", cacute: "\u0107", capand: "\u2A44", capbrcup: "\u2A49", capcap: "\
|
|
51
|
+
\u2A4B", cap: "\u2229", Cap: "\u22D2", capcup: "\u2A47", capdot: "\u2A40", CapitalDifferentialD: "\u2145", caps: "\u2229\uFE00", caret: "\u2041",
|
|
52
|
+
caron: "\u02C7", Cayleys: "\u212D", ccaps: "\u2A4D", Ccaron: "\u010C", ccaron: "\u010D", Ccedil: "\xC7", ccedil: "\xE7", Ccirc: "\u0108", ccirc: "\
|
|
53
|
+
\u0109", Cconint: "\u2230", ccups: "\u2A4C", ccupssm: "\u2A50", Cdot: "\u010A", cdot: "\u010B", cedil: "\xB8", Cedilla: "\xB8", cemptyv: "\u29B2",
|
|
54
|
+
cent: "\xA2", centerdot: "\xB7", CenterDot: "\xB7", cfr: "\u{1D520}", Cfr: "\u212D", CHcy: "\u0427", chcy: "\u0447", check: "\u2713", checkmark: "\
|
|
55
|
+
\u2713", Chi: "\u03A7", chi: "\u03C7", circ: "\u02C6", circeq: "\u2257", circlearrowleft: "\u21BA", circlearrowright: "\u21BB", circledast: "\
|
|
56
|
+
\u229B", circledcirc: "\u229A", circleddash: "\u229D", CircleDot: "\u2299", circledR: "\xAE", circledS: "\u24C8", CircleMinus: "\u2296", CirclePlus: "\
|
|
57
|
+
\u2295", CircleTimes: "\u2297", cir: "\u25CB", cirE: "\u29C3", cire: "\u2257", cirfnint: "\u2A10", cirmid: "\u2AEF", cirscir: "\u29C2", ClockwiseContourIntegral: "\
|
|
58
|
+
\u2232", CloseCurlyDoubleQuote: "\u201D", CloseCurlyQuote: "\u2019", clubs: "\u2663", clubsuit: "\u2663", colon: ":", Colon: "\u2237", Colone: "\
|
|
59
|
+
\u2A74", colone: "\u2254", coloneq: "\u2254", comma: ",", commat: "@", comp: "\u2201", compfn: "\u2218", complement: "\u2201", complexes: "\u2102",
|
|
60
|
+
cong: "\u2245", congdot: "\u2A6D", Congruent: "\u2261", conint: "\u222E", Conint: "\u222F", ContourIntegral: "\u222E", copf: "\u{1D554}", Copf: "\
|
|
61
|
+
\u2102", coprod: "\u2210", Coproduct: "\u2210", copy: "\xA9", COPY: "\xA9", copysr: "\u2117", CounterClockwiseContourIntegral: "\u2233", crarr: "\
|
|
62
|
+
\u21B5", cross: "\u2717", Cross: "\u2A2F", Cscr: "\u{1D49E}", cscr: "\u{1D4B8}", csub: "\u2ACF", csube: "\u2AD1", csup: "\u2AD0", csupe: "\u2AD2",
|
|
63
|
+
ctdot: "\u22EF", cudarrl: "\u2938", cudarrr: "\u2935", cuepr: "\u22DE", cuesc: "\u22DF", cularr: "\u21B6", cularrp: "\u293D", cupbrcap: "\u2A48",
|
|
64
|
+
cupcap: "\u2A46", CupCap: "\u224D", cup: "\u222A", Cup: "\u22D3", cupcup: "\u2A4A", cupdot: "\u228D", cupor: "\u2A45", cups: "\u222A\uFE00",
|
|
65
|
+
curarr: "\u21B7", curarrm: "\u293C", curlyeqprec: "\u22DE", curlyeqsucc: "\u22DF", curlyvee: "\u22CE", curlywedge: "\u22CF", curren: "\xA4",
|
|
66
|
+
curvearrowleft: "\u21B6", curvearrowright: "\u21B7", cuvee: "\u22CE", cuwed: "\u22CF", cwconint: "\u2232", cwint: "\u2231", cylcty: "\u232D",
|
|
67
|
+
dagger: "\u2020", Dagger: "\u2021", daleth: "\u2138", darr: "\u2193", Darr: "\u21A1", dArr: "\u21D3", dash: "\u2010", Dashv: "\u2AE4", dashv: "\
|
|
68
|
+
\u22A3", dbkarow: "\u290F", dblac: "\u02DD", Dcaron: "\u010E", dcaron: "\u010F", Dcy: "\u0414", dcy: "\u0434", ddagger: "\u2021", ddarr: "\u21CA",
|
|
69
|
+
DD: "\u2145", dd: "\u2146", DDotrahd: "\u2911", ddotseq: "\u2A77", deg: "\xB0", Del: "\u2207", Delta: "\u0394", delta: "\u03B4", demptyv: "\
|
|
70
|
+
\u29B1", dfisht: "\u297F", Dfr: "\u{1D507}", dfr: "\u{1D521}", dHar: "\u2965", dharl: "\u21C3", dharr: "\u21C2", DiacriticalAcute: "\xB4", DiacriticalDot: "\
|
|
71
|
+
\u02D9", DiacriticalDoubleAcute: "\u02DD", DiacriticalGrave: "`", DiacriticalTilde: "\u02DC", diam: "\u22C4", diamond: "\u22C4", Diamond: "\u22C4",
|
|
72
|
+
diamondsuit: "\u2666", diams: "\u2666", die: "\xA8", DifferentialD: "\u2146", digamma: "\u03DD", disin: "\u22F2", div: "\xF7", divide: "\xF7",
|
|
73
|
+
divideontimes: "\u22C7", divonx: "\u22C7", DJcy: "\u0402", djcy: "\u0452", dlcorn: "\u231E", dlcrop: "\u230D", dollar: "$", Dopf: "\u{1D53B}",
|
|
74
|
+
dopf: "\u{1D555}", Dot: "\xA8", dot: "\u02D9", DotDot: "\u20DC", doteq: "\u2250", doteqdot: "\u2251", DotEqual: "\u2250", dotminus: "\u2238",
|
|
75
|
+
dotplus: "\u2214", dotsquare: "\u22A1", doublebarwedge: "\u2306", DoubleContourIntegral: "\u222F", DoubleDot: "\xA8", DoubleDownArrow: "\u21D3",
|
|
76
|
+
DoubleLeftArrow: "\u21D0", DoubleLeftRightArrow: "\u21D4", DoubleLeftTee: "\u2AE4", DoubleLongLeftArrow: "\u27F8", DoubleLongLeftRightArrow: "\
|
|
77
|
+
\u27FA", DoubleLongRightArrow: "\u27F9", DoubleRightArrow: "\u21D2", DoubleRightTee: "\u22A8", DoubleUpArrow: "\u21D1", DoubleUpDownArrow: "\
|
|
78
|
+
\u21D5", DoubleVerticalBar: "\u2225", DownArrowBar: "\u2913", downarrow: "\u2193", DownArrow: "\u2193", Downarrow: "\u21D3", DownArrowUpArrow: "\
|
|
79
|
+
\u21F5", DownBreve: "\u0311", downdownarrows: "\u21CA", downharpoonleft: "\u21C3", downharpoonright: "\u21C2", DownLeftRightVector: "\u2950",
|
|
80
|
+
DownLeftTeeVector: "\u295E", DownLeftVectorBar: "\u2956", DownLeftVector: "\u21BD", DownRightTeeVector: "\u295F", DownRightVectorBar: "\u2957",
|
|
81
|
+
DownRightVector: "\u21C1", DownTeeArrow: "\u21A7", DownTee: "\u22A4", drbkarow: "\u2910", drcorn: "\u231F", drcrop: "\u230C", Dscr: "\u{1D49F}",
|
|
82
|
+
dscr: "\u{1D4B9}", DScy: "\u0405", dscy: "\u0455", dsol: "\u29F6", Dstrok: "\u0110", dstrok: "\u0111", dtdot: "\u22F1", dtri: "\u25BF", dtrif: "\
|
|
83
|
+
\u25BE", duarr: "\u21F5", duhar: "\u296F", dwangle: "\u29A6", DZcy: "\u040F", dzcy: "\u045F", dzigrarr: "\u27FF", Eacute: "\xC9", eacute: "\xE9",
|
|
84
|
+
easter: "\u2A6E", Ecaron: "\u011A", ecaron: "\u011B", Ecirc: "\xCA", ecirc: "\xEA", ecir: "\u2256", ecolon: "\u2255", Ecy: "\u042D", ecy: "\
|
|
85
|
+
\u044D", eDDot: "\u2A77", Edot: "\u0116", edot: "\u0117", eDot: "\u2251", ee: "\u2147", efDot: "\u2252", Efr: "\u{1D508}", efr: "\u{1D522}",
|
|
86
|
+
eg: "\u2A9A", Egrave: "\xC8", egrave: "\xE8", egs: "\u2A96", egsdot: "\u2A98", el: "\u2A99", Element: "\u2208", elinters: "\u23E7", ell: "\
|
|
87
|
+
\u2113", els: "\u2A95", elsdot: "\u2A97", Emacr: "\u0112", emacr: "\u0113", empty: "\u2205", emptyset: "\u2205", EmptySmallSquare: "\u25FB",
|
|
88
|
+
emptyv: "\u2205", EmptyVerySmallSquare: "\u25AB", emsp13: "\u2004", emsp14: "\u2005", emsp: "\u2003", ENG: "\u014A", eng: "\u014B", ensp: "\
|
|
89
|
+
\u2002", Eogon: "\u0118", eogon: "\u0119", Eopf: "\u{1D53C}", eopf: "\u{1D556}", epar: "\u22D5", eparsl: "\u29E3", eplus: "\u2A71", epsi: "\u03B5",
|
|
90
|
+
Epsilon: "\u0395", epsilon: "\u03B5", epsiv: "\u03F5", eqcirc: "\u2256", eqcolon: "\u2255", eqsim: "\u2242", eqslantgtr: "\u2A96", eqslantless: "\
|
|
91
|
+
\u2A95", Equal: "\u2A75", equals: "=", EqualTilde: "\u2242", equest: "\u225F", Equilibrium: "\u21CC", equiv: "\u2261", equivDD: "\u2A78", eqvparsl: "\
|
|
92
|
+
\u29E5", erarr: "\u2971", erDot: "\u2253", escr: "\u212F", Escr: "\u2130", esdot: "\u2250", Esim: "\u2A73", esim: "\u2242", Eta: "\u0397", eta: "\
|
|
93
|
+
\u03B7", ETH: "\xD0", eth: "\xF0", Euml: "\xCB", euml: "\xEB", euro: "\u20AC", excl: "!", exist: "\u2203", Exists: "\u2203", expectation: "\u2130",
|
|
94
|
+
exponentiale: "\u2147", ExponentialE: "\u2147", fallingdotseq: "\u2252", Fcy: "\u0424", fcy: "\u0444", female: "\u2640", ffilig: "\uFB03",
|
|
95
|
+
fflig: "\uFB00", ffllig: "\uFB04", Ffr: "\u{1D509}", ffr: "\u{1D523}", filig: "\uFB01", FilledSmallSquare: "\u25FC", FilledVerySmallSquare: "\
|
|
96
|
+
\u25AA", fjlig: "fj", flat: "\u266D", fllig: "\uFB02", fltns: "\u25B1", fnof: "\u0192", Fopf: "\u{1D53D}", fopf: "\u{1D557}", forall: "\u2200",
|
|
97
|
+
ForAll: "\u2200", fork: "\u22D4", forkv: "\u2AD9", Fouriertrf: "\u2131", fpartint: "\u2A0D", frac12: "\xBD", frac13: "\u2153", frac14: "\xBC",
|
|
98
|
+
frac15: "\u2155", frac16: "\u2159", frac18: "\u215B", frac23: "\u2154", frac25: "\u2156", frac34: "\xBE", frac35: "\u2157", frac38: "\u215C",
|
|
99
|
+
frac45: "\u2158", frac56: "\u215A", frac58: "\u215D", frac78: "\u215E", frasl: "\u2044", frown: "\u2322", fscr: "\u{1D4BB}", Fscr: "\u2131",
|
|
100
|
+
gacute: "\u01F5", Gamma: "\u0393", gamma: "\u03B3", Gammad: "\u03DC", gammad: "\u03DD", gap: "\u2A86", Gbreve: "\u011E", gbreve: "\u011F",
|
|
101
|
+
Gcedil: "\u0122", Gcirc: "\u011C", gcirc: "\u011D", Gcy: "\u0413", gcy: "\u0433", Gdot: "\u0120", gdot: "\u0121", ge: "\u2265", gE: "\u2267",
|
|
102
|
+
gEl: "\u2A8C", gel: "\u22DB", geq: "\u2265", geqq: "\u2267", geqslant: "\u2A7E", gescc: "\u2AA9", ges: "\u2A7E", gesdot: "\u2A80", gesdoto: "\
|
|
103
|
+
\u2A82", gesdotol: "\u2A84", gesl: "\u22DB\uFE00", gesles: "\u2A94", Gfr: "\u{1D50A}", gfr: "\u{1D524}", gg: "\u226B", Gg: "\u22D9", ggg: "\u22D9",
|
|
104
|
+
gimel: "\u2137", GJcy: "\u0403", gjcy: "\u0453", gla: "\u2AA5", gl: "\u2277", glE: "\u2A92", glj: "\u2AA4", gnap: "\u2A8A", gnapprox: "\u2A8A",
|
|
105
|
+
gne: "\u2A88", gnE: "\u2269", gneq: "\u2A88", gneqq: "\u2269", gnsim: "\u22E7", Gopf: "\u{1D53E}", gopf: "\u{1D558}", grave: "`", GreaterEqual: "\
|
|
106
|
+
\u2265", GreaterEqualLess: "\u22DB", GreaterFullEqual: "\u2267", GreaterGreater: "\u2AA2", GreaterLess: "\u2277", GreaterSlantEqual: "\u2A7E",
|
|
107
|
+
GreaterTilde: "\u2273", Gscr: "\u{1D4A2}", gscr: "\u210A", gsim: "\u2273", gsime: "\u2A8E", gsiml: "\u2A90", gtcc: "\u2AA7", gtcir: "\u2A7A",
|
|
108
|
+
gt: ">", GT: ">", Gt: "\u226B", gtdot: "\u22D7", gtlPar: "\u2995", gtquest: "\u2A7C", gtrapprox: "\u2A86", gtrarr: "\u2978", gtrdot: "\u22D7",
|
|
109
|
+
gtreqless: "\u22DB", gtreqqless: "\u2A8C", gtrless: "\u2277", gtrsim: "\u2273", gvertneqq: "\u2269\uFE00", gvnE: "\u2269\uFE00", Hacek: "\u02C7",
|
|
110
|
+
hairsp: "\u200A", half: "\xBD", hamilt: "\u210B", HARDcy: "\u042A", hardcy: "\u044A", harrcir: "\u2948", harr: "\u2194", hArr: "\u21D4", harrw: "\
|
|
111
|
+
\u21AD", Hat: "^", hbar: "\u210F", Hcirc: "\u0124", hcirc: "\u0125", hearts: "\u2665", heartsuit: "\u2665", hellip: "\u2026", hercon: "\u22B9",
|
|
112
|
+
hfr: "\u{1D525}", Hfr: "\u210C", HilbertSpace: "\u210B", hksearow: "\u2925", hkswarow: "\u2926", hoarr: "\u21FF", homtht: "\u223B", hookleftarrow: "\
|
|
113
|
+
\u21A9", hookrightarrow: "\u21AA", hopf: "\u{1D559}", Hopf: "\u210D", horbar: "\u2015", HorizontalLine: "\u2500", hscr: "\u{1D4BD}", Hscr: "\
|
|
114
|
+
\u210B", hslash: "\u210F", Hstrok: "\u0126", hstrok: "\u0127", HumpDownHump: "\u224E", HumpEqual: "\u224F", hybull: "\u2043", hyphen: "\u2010",
|
|
115
|
+
Iacute: "\xCD", iacute: "\xED", ic: "\u2063", Icirc: "\xCE", icirc: "\xEE", Icy: "\u0418", icy: "\u0438", Idot: "\u0130", IEcy: "\u0415", iecy: "\
|
|
116
|
+
\u0435", iexcl: "\xA1", iff: "\u21D4", ifr: "\u{1D526}", Ifr: "\u2111", Igrave: "\xCC", igrave: "\xEC", ii: "\u2148", iiiint: "\u2A0C", iiint: "\
|
|
117
|
+
\u222D", iinfin: "\u29DC", iiota: "\u2129", IJlig: "\u0132", ijlig: "\u0133", Imacr: "\u012A", imacr: "\u012B", image: "\u2111", ImaginaryI: "\
|
|
118
|
+
\u2148", imagline: "\u2110", imagpart: "\u2111", imath: "\u0131", Im: "\u2111", imof: "\u22B7", imped: "\u01B5", Implies: "\u21D2", incare: "\
|
|
119
|
+
\u2105", in: "\u2208", infin: "\u221E", infintie: "\u29DD", inodot: "\u0131", intcal: "\u22BA", int: "\u222B", Int: "\u222C", integers: "\u2124",
|
|
120
|
+
Integral: "\u222B", intercal: "\u22BA", Intersection: "\u22C2", intlarhk: "\u2A17", intprod: "\u2A3C", InvisibleComma: "\u2063", InvisibleTimes: "\
|
|
121
|
+
\u2062", IOcy: "\u0401", iocy: "\u0451", Iogon: "\u012E", iogon: "\u012F", Iopf: "\u{1D540}", iopf: "\u{1D55A}", Iota: "\u0399", iota: "\u03B9",
|
|
122
|
+
iprod: "\u2A3C", iquest: "\xBF", iscr: "\u{1D4BE}", Iscr: "\u2110", isin: "\u2208", isindot: "\u22F5", isinE: "\u22F9", isins: "\u22F4", isinsv: "\
|
|
123
|
+
\u22F3", isinv: "\u2208", it: "\u2062", Itilde: "\u0128", itilde: "\u0129", Iukcy: "\u0406", iukcy: "\u0456", Iuml: "\xCF", iuml: "\xEF", Jcirc: "\
|
|
124
|
+
\u0134", jcirc: "\u0135", Jcy: "\u0419", jcy: "\u0439", Jfr: "\u{1D50D}", jfr: "\u{1D527}", jmath: "\u0237", Jopf: "\u{1D541}", jopf: "\u{1D55B}",
|
|
125
|
+
Jscr: "\u{1D4A5}", jscr: "\u{1D4BF}", Jsercy: "\u0408", jsercy: "\u0458", Jukcy: "\u0404", jukcy: "\u0454", Kappa: "\u039A", kappa: "\u03BA",
|
|
126
|
+
kappav: "\u03F0", Kcedil: "\u0136", kcedil: "\u0137", Kcy: "\u041A", kcy: "\u043A", Kfr: "\u{1D50E}", kfr: "\u{1D528}", kgreen: "\u0138", KHcy: "\
|
|
127
|
+
\u0425", khcy: "\u0445", KJcy: "\u040C", kjcy: "\u045C", Kopf: "\u{1D542}", kopf: "\u{1D55C}", Kscr: "\u{1D4A6}", kscr: "\u{1D4C0}", lAarr: "\
|
|
128
|
+
\u21DA", Lacute: "\u0139", lacute: "\u013A", laemptyv: "\u29B4", lagran: "\u2112", Lambda: "\u039B", lambda: "\u03BB", lang: "\u27E8", Lang: "\
|
|
129
|
+
\u27EA", langd: "\u2991", langle: "\u27E8", lap: "\u2A85", Laplacetrf: "\u2112", laquo: "\xAB", larrb: "\u21E4", larrbfs: "\u291F", larr: "\u2190",
|
|
130
|
+
Larr: "\u219E", lArr: "\u21D0", larrfs: "\u291D", larrhk: "\u21A9", larrlp: "\u21AB", larrpl: "\u2939", larrsim: "\u2973", larrtl: "\u21A2",
|
|
131
|
+
latail: "\u2919", lAtail: "\u291B", lat: "\u2AAB", late: "\u2AAD", lates: "\u2AAD\uFE00", lbarr: "\u290C", lBarr: "\u290E", lbbrk: "\u2772",
|
|
132
|
+
lbrace: "{", lbrack: "[", lbrke: "\u298B", lbrksld: "\u298F", lbrkslu: "\u298D", Lcaron: "\u013D", lcaron: "\u013E", Lcedil: "\u013B", lcedil: "\
|
|
133
|
+
\u013C", lceil: "\u2308", lcub: "{", Lcy: "\u041B", lcy: "\u043B", ldca: "\u2936", ldquo: "\u201C", ldquor: "\u201E", ldrdhar: "\u2967", ldrushar: "\
|
|
134
|
+
\u294B", ldsh: "\u21B2", le: "\u2264", lE: "\u2266", LeftAngleBracket: "\u27E8", LeftArrowBar: "\u21E4", leftarrow: "\u2190", LeftArrow: "\u2190",
|
|
135
|
+
Leftarrow: "\u21D0", LeftArrowRightArrow: "\u21C6", leftarrowtail: "\u21A2", LeftCeiling: "\u2308", LeftDoubleBracket: "\u27E6", LeftDownTeeVector: "\
|
|
136
|
+
\u2961", LeftDownVectorBar: "\u2959", LeftDownVector: "\u21C3", LeftFloor: "\u230A", leftharpoondown: "\u21BD", leftharpoonup: "\u21BC", leftleftarrows: "\
|
|
137
|
+
\u21C7", leftrightarrow: "\u2194", LeftRightArrow: "\u2194", Leftrightarrow: "\u21D4", leftrightarrows: "\u21C6", leftrightharpoons: "\u21CB",
|
|
138
|
+
leftrightsquigarrow: "\u21AD", LeftRightVector: "\u294E", LeftTeeArrow: "\u21A4", LeftTee: "\u22A3", LeftTeeVector: "\u295A", leftthreetimes: "\
|
|
139
|
+
\u22CB", LeftTriangleBar: "\u29CF", LeftTriangle: "\u22B2", LeftTriangleEqual: "\u22B4", LeftUpDownVector: "\u2951", LeftUpTeeVector: "\u2960",
|
|
140
|
+
LeftUpVectorBar: "\u2958", LeftUpVector: "\u21BF", LeftVectorBar: "\u2952", LeftVector: "\u21BC", lEg: "\u2A8B", leg: "\u22DA", leq: "\u2264",
|
|
141
|
+
leqq: "\u2266", leqslant: "\u2A7D", lescc: "\u2AA8", les: "\u2A7D", lesdot: "\u2A7F", lesdoto: "\u2A81", lesdotor: "\u2A83", lesg: "\u22DA\uFE00",
|
|
142
|
+
lesges: "\u2A93", lessapprox: "\u2A85", lessdot: "\u22D6", lesseqgtr: "\u22DA", lesseqqgtr: "\u2A8B", LessEqualGreater: "\u22DA", LessFullEqual: "\
|
|
143
|
+
\u2266", LessGreater: "\u2276", lessgtr: "\u2276", LessLess: "\u2AA1", lesssim: "\u2272", LessSlantEqual: "\u2A7D", LessTilde: "\u2272", lfisht: "\
|
|
144
|
+
\u297C", lfloor: "\u230A", Lfr: "\u{1D50F}", lfr: "\u{1D529}", lg: "\u2276", lgE: "\u2A91", lHar: "\u2962", lhard: "\u21BD", lharu: "\u21BC",
|
|
145
|
+
lharul: "\u296A", lhblk: "\u2584", LJcy: "\u0409", ljcy: "\u0459", llarr: "\u21C7", ll: "\u226A", Ll: "\u22D8", llcorner: "\u231E", Lleftarrow: "\
|
|
146
|
+
\u21DA", llhard: "\u296B", lltri: "\u25FA", Lmidot: "\u013F", lmidot: "\u0140", lmoustache: "\u23B0", lmoust: "\u23B0", lnap: "\u2A89", lnapprox: "\
|
|
147
|
+
\u2A89", lne: "\u2A87", lnE: "\u2268", lneq: "\u2A87", lneqq: "\u2268", lnsim: "\u22E6", loang: "\u27EC", loarr: "\u21FD", lobrk: "\u27E6", longleftarrow: "\
|
|
148
|
+
\u27F5", LongLeftArrow: "\u27F5", Longleftarrow: "\u27F8", longleftrightarrow: "\u27F7", LongLeftRightArrow: "\u27F7", Longleftrightarrow: "\
|
|
149
|
+
\u27FA", longmapsto: "\u27FC", longrightarrow: "\u27F6", LongRightArrow: "\u27F6", Longrightarrow: "\u27F9", looparrowleft: "\u21AB", looparrowright: "\
|
|
150
|
+
\u21AC", lopar: "\u2985", Lopf: "\u{1D543}", lopf: "\u{1D55D}", loplus: "\u2A2D", lotimes: "\u2A34", lowast: "\u2217", lowbar: "_", LowerLeftArrow: "\
|
|
151
|
+
\u2199", LowerRightArrow: "\u2198", loz: "\u25CA", lozenge: "\u25CA", lozf: "\u29EB", lpar: "(", lparlt: "\u2993", lrarr: "\u21C6", lrcorner: "\
|
|
152
|
+
\u231F", lrhar: "\u21CB", lrhard: "\u296D", lrm: "\u200E", lrtri: "\u22BF", lsaquo: "\u2039", lscr: "\u{1D4C1}", Lscr: "\u2112", lsh: "\u21B0",
|
|
153
|
+
Lsh: "\u21B0", lsim: "\u2272", lsime: "\u2A8D", lsimg: "\u2A8F", lsqb: "[", lsquo: "\u2018", lsquor: "\u201A", Lstrok: "\u0141", lstrok: "\
|
|
154
|
+
\u0142", ltcc: "\u2AA6", ltcir: "\u2A79", lt: "<", LT: "<", Lt: "\u226A", ltdot: "\u22D6", lthree: "\u22CB", ltimes: "\u22C9", ltlarr: "\u2976",
|
|
155
|
+
ltquest: "\u2A7B", ltri: "\u25C3", ltrie: "\u22B4", ltrif: "\u25C2", ltrPar: "\u2996", lurdshar: "\u294A", luruhar: "\u2966", lvertneqq: "\
|
|
156
|
+
\u2268\uFE00", lvnE: "\u2268\uFE00", macr: "\xAF", male: "\u2642", malt: "\u2720", maltese: "\u2720", Map: "\u2905", map: "\u21A6", mapsto: "\
|
|
157
|
+
\u21A6", mapstodown: "\u21A7", mapstoleft: "\u21A4", mapstoup: "\u21A5", marker: "\u25AE", mcomma: "\u2A29", Mcy: "\u041C", mcy: "\u043C", mdash: "\
|
|
158
|
+
\u2014", mDDot: "\u223A", measuredangle: "\u2221", MediumSpace: "\u205F", Mellintrf: "\u2133", Mfr: "\u{1D510}", mfr: "\u{1D52A}", mho: "\u2127",
|
|
159
|
+
micro: "\xB5", midast: "*", midcir: "\u2AF0", mid: "\u2223", middot: "\xB7", minusb: "\u229F", minus: "\u2212", minusd: "\u2238", minusdu: "\
|
|
160
|
+
\u2A2A", MinusPlus: "\u2213", mlcp: "\u2ADB", mldr: "\u2026", mnplus: "\u2213", models: "\u22A7", Mopf: "\u{1D544}", mopf: "\u{1D55E}", mp: "\
|
|
161
|
+
\u2213", mscr: "\u{1D4C2}", Mscr: "\u2133", mstpos: "\u223E", Mu: "\u039C", mu: "\u03BC", multimap: "\u22B8", mumap: "\u22B8", nabla: "\u2207",
|
|
162
|
+
Nacute: "\u0143", nacute: "\u0144", nang: "\u2220\u20D2", nap: "\u2249", napE: "\u2A70\u0338", napid: "\u224B\u0338", napos: "\u0149", napprox: "\
|
|
163
|
+
\u2249", natural: "\u266E", naturals: "\u2115", natur: "\u266E", nbsp: "\xA0", nbump: "\u224E\u0338", nbumpe: "\u224F\u0338", ncap: "\u2A43",
|
|
164
|
+
Ncaron: "\u0147", ncaron: "\u0148", Ncedil: "\u0145", ncedil: "\u0146", ncong: "\u2247", ncongdot: "\u2A6D\u0338", ncup: "\u2A42", Ncy: "\u041D",
|
|
165
|
+
ncy: "\u043D", ndash: "\u2013", nearhk: "\u2924", nearr: "\u2197", neArr: "\u21D7", nearrow: "\u2197", ne: "\u2260", nedot: "\u2250\u0338",
|
|
166
|
+
NegativeMediumSpace: "\u200B", NegativeThickSpace: "\u200B", NegativeThinSpace: "\u200B", NegativeVeryThinSpace: "\u200B", nequiv: "\u2262",
|
|
167
|
+
nesear: "\u2928", nesim: "\u2242\u0338", NestedGreaterGreater: "\u226B", NestedLessLess: "\u226A", NewLine: `
|
|
168
|
+
`, nexist: "\u2204", nexists: "\u2204", Nfr: "\u{1D511}", nfr: "\u{1D52B}", ngE: "\u2267\u0338", nge: "\u2271", ngeq: "\u2271", ngeqq: "\u2267\u0338",
|
|
169
|
+
ngeqslant: "\u2A7E\u0338", nges: "\u2A7E\u0338", nGg: "\u22D9\u0338", ngsim: "\u2275", nGt: "\u226B\u20D2", ngt: "\u226F", ngtr: "\u226F",
|
|
170
|
+
nGtv: "\u226B\u0338", nharr: "\u21AE", nhArr: "\u21CE", nhpar: "\u2AF2", ni: "\u220B", nis: "\u22FC", nisd: "\u22FA", niv: "\u220B", NJcy: "\
|
|
171
|
+
\u040A", njcy: "\u045A", nlarr: "\u219A", nlArr: "\u21CD", nldr: "\u2025", nlE: "\u2266\u0338", nle: "\u2270", nleftarrow: "\u219A", nLeftarrow: "\
|
|
172
|
+
\u21CD", nleftrightarrow: "\u21AE", nLeftrightarrow: "\u21CE", nleq: "\u2270", nleqq: "\u2266\u0338", nleqslant: "\u2A7D\u0338", nles: "\u2A7D\u0338",
|
|
173
|
+
nless: "\u226E", nLl: "\u22D8\u0338", nlsim: "\u2274", nLt: "\u226A\u20D2", nlt: "\u226E", nltri: "\u22EA", nltrie: "\u22EC", nLtv: "\u226A\u0338",
|
|
174
|
+
nmid: "\u2224", NoBreak: "\u2060", NonBreakingSpace: "\xA0", nopf: "\u{1D55F}", Nopf: "\u2115", Not: "\u2AEC", not: "\xAC", NotCongruent: "\
|
|
175
|
+
\u2262", NotCupCap: "\u226D", NotDoubleVerticalBar: "\u2226", NotElement: "\u2209", NotEqual: "\u2260", NotEqualTilde: "\u2242\u0338", NotExists: "\
|
|
176
|
+
\u2204", NotGreater: "\u226F", NotGreaterEqual: "\u2271", NotGreaterFullEqual: "\u2267\u0338", NotGreaterGreater: "\u226B\u0338", NotGreaterLess: "\
|
|
177
|
+
\u2279", NotGreaterSlantEqual: "\u2A7E\u0338", NotGreaterTilde: "\u2275", NotHumpDownHump: "\u224E\u0338", NotHumpEqual: "\u224F\u0338", notin: "\
|
|
178
|
+
\u2209", notindot: "\u22F5\u0338", notinE: "\u22F9\u0338", notinva: "\u2209", notinvb: "\u22F7", notinvc: "\u22F6", NotLeftTriangleBar: "\u29CF\u0338",
|
|
179
|
+
NotLeftTriangle: "\u22EA", NotLeftTriangleEqual: "\u22EC", NotLess: "\u226E", NotLessEqual: "\u2270", NotLessGreater: "\u2278", NotLessLess: "\
|
|
180
|
+
\u226A\u0338", NotLessSlantEqual: "\u2A7D\u0338", NotLessTilde: "\u2274", NotNestedGreaterGreater: "\u2AA2\u0338", NotNestedLessLess: "\u2AA1\u0338",
|
|
181
|
+
notni: "\u220C", notniva: "\u220C", notnivb: "\u22FE", notnivc: "\u22FD", NotPrecedes: "\u2280", NotPrecedesEqual: "\u2AAF\u0338", NotPrecedesSlantEqual: "\
|
|
182
|
+
\u22E0", NotReverseElement: "\u220C", NotRightTriangleBar: "\u29D0\u0338", NotRightTriangle: "\u22EB", NotRightTriangleEqual: "\u22ED", NotSquareSubset: "\
|
|
183
|
+
\u228F\u0338", NotSquareSubsetEqual: "\u22E2", NotSquareSuperset: "\u2290\u0338", NotSquareSupersetEqual: "\u22E3", NotSubset: "\u2282\u20D2",
|
|
184
|
+
NotSubsetEqual: "\u2288", NotSucceeds: "\u2281", NotSucceedsEqual: "\u2AB0\u0338", NotSucceedsSlantEqual: "\u22E1", NotSucceedsTilde: "\u227F\u0338",
|
|
185
|
+
NotSuperset: "\u2283\u20D2", NotSupersetEqual: "\u2289", NotTilde: "\u2241", NotTildeEqual: "\u2244", NotTildeFullEqual: "\u2247", NotTildeTilde: "\
|
|
186
|
+
\u2249", NotVerticalBar: "\u2224", nparallel: "\u2226", npar: "\u2226", nparsl: "\u2AFD\u20E5", npart: "\u2202\u0338", npolint: "\u2A14", npr: "\
|
|
187
|
+
\u2280", nprcue: "\u22E0", nprec: "\u2280", npreceq: "\u2AAF\u0338", npre: "\u2AAF\u0338", nrarrc: "\u2933\u0338", nrarr: "\u219B", nrArr: "\
|
|
188
|
+
\u21CF", nrarrw: "\u219D\u0338", nrightarrow: "\u219B", nRightarrow: "\u21CF", nrtri: "\u22EB", nrtrie: "\u22ED", nsc: "\u2281", nsccue: "\u22E1",
|
|
189
|
+
nsce: "\u2AB0\u0338", Nscr: "\u{1D4A9}", nscr: "\u{1D4C3}", nshortmid: "\u2224", nshortparallel: "\u2226", nsim: "\u2241", nsime: "\u2244",
|
|
190
|
+
nsimeq: "\u2244", nsmid: "\u2224", nspar: "\u2226", nsqsube: "\u22E2", nsqsupe: "\u22E3", nsub: "\u2284", nsubE: "\u2AC5\u0338", nsube: "\u2288",
|
|
191
|
+
nsubset: "\u2282\u20D2", nsubseteq: "\u2288", nsubseteqq: "\u2AC5\u0338", nsucc: "\u2281", nsucceq: "\u2AB0\u0338", nsup: "\u2285", nsupE: "\
|
|
192
|
+
\u2AC6\u0338", nsupe: "\u2289", nsupset: "\u2283\u20D2", nsupseteq: "\u2289", nsupseteqq: "\u2AC6\u0338", ntgl: "\u2279", Ntilde: "\xD1", ntilde: "\
|
|
193
|
+
\xF1", ntlg: "\u2278", ntriangleleft: "\u22EA", ntrianglelefteq: "\u22EC", ntriangleright: "\u22EB", ntrianglerighteq: "\u22ED", Nu: "\u039D",
|
|
194
|
+
nu: "\u03BD", num: "#", numero: "\u2116", numsp: "\u2007", nvap: "\u224D\u20D2", nvdash: "\u22AC", nvDash: "\u22AD", nVdash: "\u22AE", nVDash: "\
|
|
195
|
+
\u22AF", nvge: "\u2265\u20D2", nvgt: ">\u20D2", nvHarr: "\u2904", nvinfin: "\u29DE", nvlArr: "\u2902", nvle: "\u2264\u20D2", nvlt: "<\u20D2",
|
|
196
|
+
nvltrie: "\u22B4\u20D2", nvrArr: "\u2903", nvrtrie: "\u22B5\u20D2", nvsim: "\u223C\u20D2", nwarhk: "\u2923", nwarr: "\u2196", nwArr: "\u21D6",
|
|
197
|
+
nwarrow: "\u2196", nwnear: "\u2927", Oacute: "\xD3", oacute: "\xF3", oast: "\u229B", Ocirc: "\xD4", ocirc: "\xF4", ocir: "\u229A", Ocy: "\u041E",
|
|
198
|
+
ocy: "\u043E", odash: "\u229D", Odblac: "\u0150", odblac: "\u0151", odiv: "\u2A38", odot: "\u2299", odsold: "\u29BC", OElig: "\u0152", oelig: "\
|
|
199
|
+
\u0153", ofcir: "\u29BF", Ofr: "\u{1D512}", ofr: "\u{1D52C}", ogon: "\u02DB", Ograve: "\xD2", ograve: "\xF2", ogt: "\u29C1", ohbar: "\u29B5",
|
|
200
|
+
ohm: "\u03A9", oint: "\u222E", olarr: "\u21BA", olcir: "\u29BE", olcross: "\u29BB", oline: "\u203E", olt: "\u29C0", Omacr: "\u014C", omacr: "\
|
|
201
|
+
\u014D", Omega: "\u03A9", omega: "\u03C9", Omicron: "\u039F", omicron: "\u03BF", omid: "\u29B6", ominus: "\u2296", Oopf: "\u{1D546}", oopf: "\
|
|
202
|
+
\u{1D560}", opar: "\u29B7", OpenCurlyDoubleQuote: "\u201C", OpenCurlyQuote: "\u2018", operp: "\u29B9", oplus: "\u2295", orarr: "\u21BB", Or: "\
|
|
203
|
+
\u2A54", or: "\u2228", ord: "\u2A5D", order: "\u2134", orderof: "\u2134", ordf: "\xAA", ordm: "\xBA", origof: "\u22B6", oror: "\u2A56", orslope: "\
|
|
204
|
+
\u2A57", orv: "\u2A5B", oS: "\u24C8", Oscr: "\u{1D4AA}", oscr: "\u2134", Oslash: "\xD8", oslash: "\xF8", osol: "\u2298", Otilde: "\xD5", otilde: "\
|
|
205
|
+
\xF5", otimesas: "\u2A36", Otimes: "\u2A37", otimes: "\u2297", Ouml: "\xD6", ouml: "\xF6", ovbar: "\u233D", OverBar: "\u203E", OverBrace: "\u23DE",
|
|
206
|
+
OverBracket: "\u23B4", OverParenthesis: "\u23DC", para: "\xB6", parallel: "\u2225", par: "\u2225", parsim: "\u2AF3", parsl: "\u2AFD", part: "\
|
|
207
|
+
\u2202", PartialD: "\u2202", Pcy: "\u041F", pcy: "\u043F", percnt: "%", period: ".", permil: "\u2030", perp: "\u22A5", pertenk: "\u2031", Pfr: "\
|
|
208
|
+
\u{1D513}", pfr: "\u{1D52D}", Phi: "\u03A6", phi: "\u03C6", phiv: "\u03D5", phmmat: "\u2133", phone: "\u260E", Pi: "\u03A0", pi: "\u03C0", pitchfork: "\
|
|
209
|
+
\u22D4", piv: "\u03D6", planck: "\u210F", planckh: "\u210E", plankv: "\u210F", plusacir: "\u2A23", plusb: "\u229E", pluscir: "\u2A22", plus: "\
|
|
210
|
+
+", plusdo: "\u2214", plusdu: "\u2A25", pluse: "\u2A72", PlusMinus: "\xB1", plusmn: "\xB1", plussim: "\u2A26", plustwo: "\u2A27", pm: "\xB1",
|
|
211
|
+
Poincareplane: "\u210C", pointint: "\u2A15", popf: "\u{1D561}", Popf: "\u2119", pound: "\xA3", prap: "\u2AB7", Pr: "\u2ABB", pr: "\u227A",
|
|
212
|
+
prcue: "\u227C", precapprox: "\u2AB7", prec: "\u227A", preccurlyeq: "\u227C", Precedes: "\u227A", PrecedesEqual: "\u2AAF", PrecedesSlantEqual: "\
|
|
213
|
+
\u227C", PrecedesTilde: "\u227E", preceq: "\u2AAF", precnapprox: "\u2AB9", precneqq: "\u2AB5", precnsim: "\u22E8", pre: "\u2AAF", prE: "\u2AB3",
|
|
214
|
+
precsim: "\u227E", prime: "\u2032", Prime: "\u2033", primes: "\u2119", prnap: "\u2AB9", prnE: "\u2AB5", prnsim: "\u22E8", prod: "\u220F", Product: "\
|
|
215
|
+
\u220F", profalar: "\u232E", profline: "\u2312", profsurf: "\u2313", prop: "\u221D", Proportional: "\u221D", Proportion: "\u2237", propto: "\
|
|
216
|
+
\u221D", prsim: "\u227E", prurel: "\u22B0", Pscr: "\u{1D4AB}", pscr: "\u{1D4C5}", Psi: "\u03A8", psi: "\u03C8", puncsp: "\u2008", Qfr: "\u{1D514}",
|
|
217
|
+
qfr: "\u{1D52E}", qint: "\u2A0C", qopf: "\u{1D562}", Qopf: "\u211A", qprime: "\u2057", Qscr: "\u{1D4AC}", qscr: "\u{1D4C6}", quaternions: "\
|
|
218
|
+
\u210D", quatint: "\u2A16", quest: "?", questeq: "\u225F", quot: '"', QUOT: '"', rAarr: "\u21DB", race: "\u223D\u0331", Racute: "\u0154", racute: "\
|
|
219
|
+
\u0155", radic: "\u221A", raemptyv: "\u29B3", rang: "\u27E9", Rang: "\u27EB", rangd: "\u2992", range: "\u29A5", rangle: "\u27E9", raquo: "\xBB",
|
|
220
|
+
rarrap: "\u2975", rarrb: "\u21E5", rarrbfs: "\u2920", rarrc: "\u2933", rarr: "\u2192", Rarr: "\u21A0", rArr: "\u21D2", rarrfs: "\u291E", rarrhk: "\
|
|
221
|
+
\u21AA", rarrlp: "\u21AC", rarrpl: "\u2945", rarrsim: "\u2974", Rarrtl: "\u2916", rarrtl: "\u21A3", rarrw: "\u219D", ratail: "\u291A", rAtail: "\
|
|
222
|
+
\u291C", ratio: "\u2236", rationals: "\u211A", rbarr: "\u290D", rBarr: "\u290F", RBarr: "\u2910", rbbrk: "\u2773", rbrace: "}", rbrack: "]",
|
|
223
|
+
rbrke: "\u298C", rbrksld: "\u298E", rbrkslu: "\u2990", Rcaron: "\u0158", rcaron: "\u0159", Rcedil: "\u0156", rcedil: "\u0157", rceil: "\u2309",
|
|
224
|
+
rcub: "}", Rcy: "\u0420", rcy: "\u0440", rdca: "\u2937", rdldhar: "\u2969", rdquo: "\u201D", rdquor: "\u201D", rdsh: "\u21B3", real: "\u211C",
|
|
225
|
+
realine: "\u211B", realpart: "\u211C", reals: "\u211D", Re: "\u211C", rect: "\u25AD", reg: "\xAE", REG: "\xAE", ReverseElement: "\u220B", ReverseEquilibrium: "\
|
|
226
|
+
\u21CB", ReverseUpEquilibrium: "\u296F", rfisht: "\u297D", rfloor: "\u230B", rfr: "\u{1D52F}", Rfr: "\u211C", rHar: "\u2964", rhard: "\u21C1",
|
|
227
|
+
rharu: "\u21C0", rharul: "\u296C", Rho: "\u03A1", rho: "\u03C1", rhov: "\u03F1", RightAngleBracket: "\u27E9", RightArrowBar: "\u21E5", rightarrow: "\
|
|
228
|
+
\u2192", RightArrow: "\u2192", Rightarrow: "\u21D2", RightArrowLeftArrow: "\u21C4", rightarrowtail: "\u21A3", RightCeiling: "\u2309", RightDoubleBracket: "\
|
|
229
|
+
\u27E7", RightDownTeeVector: "\u295D", RightDownVectorBar: "\u2955", RightDownVector: "\u21C2", RightFloor: "\u230B", rightharpoondown: "\u21C1",
|
|
230
|
+
rightharpoonup: "\u21C0", rightleftarrows: "\u21C4", rightleftharpoons: "\u21CC", rightrightarrows: "\u21C9", rightsquigarrow: "\u219D", RightTeeArrow: "\
|
|
231
|
+
\u21A6", RightTee: "\u22A2", RightTeeVector: "\u295B", rightthreetimes: "\u22CC", RightTriangleBar: "\u29D0", RightTriangle: "\u22B3", RightTriangleEqual: "\
|
|
232
|
+
\u22B5", RightUpDownVector: "\u294F", RightUpTeeVector: "\u295C", RightUpVectorBar: "\u2954", RightUpVector: "\u21BE", RightVectorBar: "\u2953",
|
|
233
|
+
RightVector: "\u21C0", ring: "\u02DA", risingdotseq: "\u2253", rlarr: "\u21C4", rlhar: "\u21CC", rlm: "\u200F", rmoustache: "\u23B1", rmoust: "\
|
|
234
|
+
\u23B1", rnmid: "\u2AEE", roang: "\u27ED", roarr: "\u21FE", robrk: "\u27E7", ropar: "\u2986", ropf: "\u{1D563}", Ropf: "\u211D", roplus: "\u2A2E",
|
|
235
|
+
rotimes: "\u2A35", RoundImplies: "\u2970", rpar: ")", rpargt: "\u2994", rppolint: "\u2A12", rrarr: "\u21C9", Rrightarrow: "\u21DB", rsaquo: "\
|
|
236
|
+
\u203A", rscr: "\u{1D4C7}", Rscr: "\u211B", rsh: "\u21B1", Rsh: "\u21B1", rsqb: "]", rsquo: "\u2019", rsquor: "\u2019", rthree: "\u22CC", rtimes: "\
|
|
237
|
+
\u22CA", rtri: "\u25B9", rtrie: "\u22B5", rtrif: "\u25B8", rtriltri: "\u29CE", RuleDelayed: "\u29F4", ruluhar: "\u2968", rx: "\u211E", Sacute: "\
|
|
238
|
+
\u015A", sacute: "\u015B", sbquo: "\u201A", scap: "\u2AB8", Scaron: "\u0160", scaron: "\u0161", Sc: "\u2ABC", sc: "\u227B", sccue: "\u227D",
|
|
239
|
+
sce: "\u2AB0", scE: "\u2AB4", Scedil: "\u015E", scedil: "\u015F", Scirc: "\u015C", scirc: "\u015D", scnap: "\u2ABA", scnE: "\u2AB6", scnsim: "\
|
|
240
|
+
\u22E9", scpolint: "\u2A13", scsim: "\u227F", Scy: "\u0421", scy: "\u0441", sdotb: "\u22A1", sdot: "\u22C5", sdote: "\u2A66", searhk: "\u2925",
|
|
241
|
+
searr: "\u2198", seArr: "\u21D8", searrow: "\u2198", sect: "\xA7", semi: ";", seswar: "\u2929", setminus: "\u2216", setmn: "\u2216", sext: "\
|
|
242
|
+
\u2736", Sfr: "\u{1D516}", sfr: "\u{1D530}", sfrown: "\u2322", sharp: "\u266F", SHCHcy: "\u0429", shchcy: "\u0449", SHcy: "\u0428", shcy: "\u0448",
|
|
243
|
+
ShortDownArrow: "\u2193", ShortLeftArrow: "\u2190", shortmid: "\u2223", shortparallel: "\u2225", ShortRightArrow: "\u2192", ShortUpArrow: "\
|
|
244
|
+
\u2191", shy: "\xAD", Sigma: "\u03A3", sigma: "\u03C3", sigmaf: "\u03C2", sigmav: "\u03C2", sim: "\u223C", simdot: "\u2A6A", sime: "\u2243",
|
|
245
|
+
simeq: "\u2243", simg: "\u2A9E", simgE: "\u2AA0", siml: "\u2A9D", simlE: "\u2A9F", simne: "\u2246", simplus: "\u2A24", simrarr: "\u2972", slarr: "\
|
|
246
|
+
\u2190", SmallCircle: "\u2218", smallsetminus: "\u2216", smashp: "\u2A33", smeparsl: "\u29E4", smid: "\u2223", smile: "\u2323", smt: "\u2AAA",
|
|
247
|
+
smte: "\u2AAC", smtes: "\u2AAC\uFE00", SOFTcy: "\u042C", softcy: "\u044C", solbar: "\u233F", solb: "\u29C4", sol: "/", Sopf: "\u{1D54A}", sopf: "\
|
|
248
|
+
\u{1D564}", spades: "\u2660", spadesuit: "\u2660", spar: "\u2225", sqcap: "\u2293", sqcaps: "\u2293\uFE00", sqcup: "\u2294", sqcups: "\u2294\uFE00",
|
|
249
|
+
Sqrt: "\u221A", sqsub: "\u228F", sqsube: "\u2291", sqsubset: "\u228F", sqsubseteq: "\u2291", sqsup: "\u2290", sqsupe: "\u2292", sqsupset: "\
|
|
250
|
+
\u2290", sqsupseteq: "\u2292", square: "\u25A1", Square: "\u25A1", SquareIntersection: "\u2293", SquareSubset: "\u228F", SquareSubsetEqual: "\
|
|
251
|
+
\u2291", SquareSuperset: "\u2290", SquareSupersetEqual: "\u2292", SquareUnion: "\u2294", squarf: "\u25AA", squ: "\u25A1", squf: "\u25AA", srarr: "\
|
|
252
|
+
\u2192", Sscr: "\u{1D4AE}", sscr: "\u{1D4C8}", ssetmn: "\u2216", ssmile: "\u2323", sstarf: "\u22C6", Star: "\u22C6", star: "\u2606", starf: "\
|
|
253
|
+
\u2605", straightepsilon: "\u03F5", straightphi: "\u03D5", strns: "\xAF", sub: "\u2282", Sub: "\u22D0", subdot: "\u2ABD", subE: "\u2AC5", sube: "\
|
|
254
|
+
\u2286", subedot: "\u2AC3", submult: "\u2AC1", subnE: "\u2ACB", subne: "\u228A", subplus: "\u2ABF", subrarr: "\u2979", subset: "\u2282", Subset: "\
|
|
255
|
+
\u22D0", subseteq: "\u2286", subseteqq: "\u2AC5", SubsetEqual: "\u2286", subsetneq: "\u228A", subsetneqq: "\u2ACB", subsim: "\u2AC7", subsub: "\
|
|
256
|
+
\u2AD5", subsup: "\u2AD3", succapprox: "\u2AB8", succ: "\u227B", succcurlyeq: "\u227D", Succeeds: "\u227B", SucceedsEqual: "\u2AB0", SucceedsSlantEqual: "\
|
|
257
|
+
\u227D", SucceedsTilde: "\u227F", succeq: "\u2AB0", succnapprox: "\u2ABA", succneqq: "\u2AB6", succnsim: "\u22E9", succsim: "\u227F", SuchThat: "\
|
|
258
|
+
\u220B", sum: "\u2211", Sum: "\u2211", sung: "\u266A", sup1: "\xB9", sup2: "\xB2", sup3: "\xB3", sup: "\u2283", Sup: "\u22D1", supdot: "\u2ABE",
|
|
259
|
+
supdsub: "\u2AD8", supE: "\u2AC6", supe: "\u2287", supedot: "\u2AC4", Superset: "\u2283", SupersetEqual: "\u2287", suphsol: "\u27C9", suphsub: "\
|
|
260
|
+
\u2AD7", suplarr: "\u297B", supmult: "\u2AC2", supnE: "\u2ACC", supne: "\u228B", supplus: "\u2AC0", supset: "\u2283", Supset: "\u22D1", supseteq: "\
|
|
261
|
+
\u2287", supseteqq: "\u2AC6", supsetneq: "\u228B", supsetneqq: "\u2ACC", supsim: "\u2AC8", supsub: "\u2AD4", supsup: "\u2AD6", swarhk: "\u2926",
|
|
262
|
+
swarr: "\u2199", swArr: "\u21D9", swarrow: "\u2199", swnwar: "\u292A", szlig: "\xDF", Tab: " ", target: "\u2316", Tau: "\u03A4", tau: "\u03C4",
|
|
263
|
+
tbrk: "\u23B4", Tcaron: "\u0164", tcaron: "\u0165", Tcedil: "\u0162", tcedil: "\u0163", Tcy: "\u0422", tcy: "\u0442", tdot: "\u20DB", telrec: "\
|
|
264
|
+
\u2315", Tfr: "\u{1D517}", tfr: "\u{1D531}", there4: "\u2234", therefore: "\u2234", Therefore: "\u2234", Theta: "\u0398", theta: "\u03B8", thetasym: "\
|
|
265
|
+
\u03D1", thetav: "\u03D1", thickapprox: "\u2248", thicksim: "\u223C", ThickSpace: "\u205F\u200A", ThinSpace: "\u2009", thinsp: "\u2009", thkap: "\
|
|
266
|
+
\u2248", thksim: "\u223C", THORN: "\xDE", thorn: "\xFE", tilde: "\u02DC", Tilde: "\u223C", TildeEqual: "\u2243", TildeFullEqual: "\u2245", TildeTilde: "\
|
|
267
|
+
\u2248", timesbar: "\u2A31", timesb: "\u22A0", times: "\xD7", timesd: "\u2A30", tint: "\u222D", toea: "\u2928", topbot: "\u2336", topcir: "\u2AF1",
|
|
268
|
+
top: "\u22A4", Topf: "\u{1D54B}", topf: "\u{1D565}", topfork: "\u2ADA", tosa: "\u2929", tprime: "\u2034", trade: "\u2122", TRADE: "\u2122",
|
|
269
|
+
triangle: "\u25B5", triangledown: "\u25BF", triangleleft: "\u25C3", trianglelefteq: "\u22B4", triangleq: "\u225C", triangleright: "\u25B9",
|
|
270
|
+
trianglerighteq: "\u22B5", tridot: "\u25EC", trie: "\u225C", triminus: "\u2A3A", TripleDot: "\u20DB", triplus: "\u2A39", trisb: "\u29CD", tritime: "\
|
|
271
|
+
\u2A3B", trpezium: "\u23E2", Tscr: "\u{1D4AF}", tscr: "\u{1D4C9}", TScy: "\u0426", tscy: "\u0446", TSHcy: "\u040B", tshcy: "\u045B", Tstrok: "\
|
|
272
|
+
\u0166", tstrok: "\u0167", twixt: "\u226C", twoheadleftarrow: "\u219E", twoheadrightarrow: "\u21A0", Uacute: "\xDA", uacute: "\xFA", uarr: "\
|
|
273
|
+
\u2191", Uarr: "\u219F", uArr: "\u21D1", Uarrocir: "\u2949", Ubrcy: "\u040E", ubrcy: "\u045E", Ubreve: "\u016C", ubreve: "\u016D", Ucirc: "\xDB",
|
|
274
|
+
ucirc: "\xFB", Ucy: "\u0423", ucy: "\u0443", udarr: "\u21C5", Udblac: "\u0170", udblac: "\u0171", udhar: "\u296E", ufisht: "\u297E", Ufr: "\
|
|
275
|
+
\u{1D518}", ufr: "\u{1D532}", Ugrave: "\xD9", ugrave: "\xF9", uHar: "\u2963", uharl: "\u21BF", uharr: "\u21BE", uhblk: "\u2580", ulcorn: "\u231C",
|
|
276
|
+
ulcorner: "\u231C", ulcrop: "\u230F", ultri: "\u25F8", Umacr: "\u016A", umacr: "\u016B", uml: "\xA8", UnderBar: "_", UnderBrace: "\u23DF",
|
|
277
|
+
UnderBracket: "\u23B5", UnderParenthesis: "\u23DD", Union: "\u22C3", UnionPlus: "\u228E", Uogon: "\u0172", uogon: "\u0173", Uopf: "\u{1D54C}",
|
|
278
|
+
uopf: "\u{1D566}", UpArrowBar: "\u2912", uparrow: "\u2191", UpArrow: "\u2191", Uparrow: "\u21D1", UpArrowDownArrow: "\u21C5", updownarrow: "\
|
|
279
|
+
\u2195", UpDownArrow: "\u2195", Updownarrow: "\u21D5", UpEquilibrium: "\u296E", upharpoonleft: "\u21BF", upharpoonright: "\u21BE", uplus: "\u228E",
|
|
280
|
+
UpperLeftArrow: "\u2196", UpperRightArrow: "\u2197", upsi: "\u03C5", Upsi: "\u03D2", upsih: "\u03D2", Upsilon: "\u03A5", upsilon: "\u03C5",
|
|
281
|
+
UpTeeArrow: "\u21A5", UpTee: "\u22A5", upuparrows: "\u21C8", urcorn: "\u231D", urcorner: "\u231D", urcrop: "\u230E", Uring: "\u016E", uring: "\
|
|
282
|
+
\u016F", urtri: "\u25F9", Uscr: "\u{1D4B0}", uscr: "\u{1D4CA}", utdot: "\u22F0", Utilde: "\u0168", utilde: "\u0169", utri: "\u25B5", utrif: "\
|
|
283
|
+
\u25B4", uuarr: "\u21C8", Uuml: "\xDC", uuml: "\xFC", uwangle: "\u29A7", vangrt: "\u299C", varepsilon: "\u03F5", varkappa: "\u03F0", varnothing: "\
|
|
284
|
+
\u2205", varphi: "\u03D5", varpi: "\u03D6", varpropto: "\u221D", varr: "\u2195", vArr: "\u21D5", varrho: "\u03F1", varsigma: "\u03C2", varsubsetneq: "\
|
|
285
|
+
\u228A\uFE00", varsubsetneqq: "\u2ACB\uFE00", varsupsetneq: "\u228B\uFE00", varsupsetneqq: "\u2ACC\uFE00", vartheta: "\u03D1", vartriangleleft: "\
|
|
286
|
+
\u22B2", vartriangleright: "\u22B3", vBar: "\u2AE8", Vbar: "\u2AEB", vBarv: "\u2AE9", Vcy: "\u0412", vcy: "\u0432", vdash: "\u22A2", vDash: "\
|
|
287
|
+
\u22A8", Vdash: "\u22A9", VDash: "\u22AB", Vdashl: "\u2AE6", veebar: "\u22BB", vee: "\u2228", Vee: "\u22C1", veeeq: "\u225A", vellip: "\u22EE",
|
|
288
|
+
verbar: "|", Verbar: "\u2016", vert: "|", Vert: "\u2016", VerticalBar: "\u2223", VerticalLine: "|", VerticalSeparator: "\u2758", VerticalTilde: "\
|
|
289
|
+
\u2240", VeryThinSpace: "\u200A", Vfr: "\u{1D519}", vfr: "\u{1D533}", vltri: "\u22B2", vnsub: "\u2282\u20D2", vnsup: "\u2283\u20D2", Vopf: "\
|
|
290
|
+
\u{1D54D}", vopf: "\u{1D567}", vprop: "\u221D", vrtri: "\u22B3", Vscr: "\u{1D4B1}", vscr: "\u{1D4CB}", vsubnE: "\u2ACB\uFE00", vsubne: "\u228A\uFE00",
|
|
291
|
+
vsupnE: "\u2ACC\uFE00", vsupne: "\u228B\uFE00", Vvdash: "\u22AA", vzigzag: "\u299A", Wcirc: "\u0174", wcirc: "\u0175", wedbar: "\u2A5F", wedge: "\
|
|
292
|
+
\u2227", Wedge: "\u22C0", wedgeq: "\u2259", weierp: "\u2118", Wfr: "\u{1D51A}", wfr: "\u{1D534}", Wopf: "\u{1D54E}", wopf: "\u{1D568}", wp: "\
|
|
293
|
+
\u2118", wr: "\u2240", wreath: "\u2240", Wscr: "\u{1D4B2}", wscr: "\u{1D4CC}", xcap: "\u22C2", xcirc: "\u25EF", xcup: "\u22C3", xdtri: "\u25BD",
|
|
294
|
+
Xfr: "\u{1D51B}", xfr: "\u{1D535}", xharr: "\u27F7", xhArr: "\u27FA", Xi: "\u039E", xi: "\u03BE", xlarr: "\u27F5", xlArr: "\u27F8", xmap: "\
|
|
295
|
+
\u27FC", xnis: "\u22FB", xodot: "\u2A00", Xopf: "\u{1D54F}", xopf: "\u{1D569}", xoplus: "\u2A01", xotime: "\u2A02", xrarr: "\u27F6", xrArr: "\
|
|
296
|
+
\u27F9", Xscr: "\u{1D4B3}", xscr: "\u{1D4CD}", xsqcup: "\u2A06", xuplus: "\u2A04", xutri: "\u25B3", xvee: "\u22C1", xwedge: "\u22C0", Yacute: "\
|
|
297
|
+
\xDD", yacute: "\xFD", YAcy: "\u042F", yacy: "\u044F", Ycirc: "\u0176", ycirc: "\u0177", Ycy: "\u042B", ycy: "\u044B", yen: "\xA5", Yfr: "\u{1D51C}",
|
|
298
|
+
yfr: "\u{1D536}", YIcy: "\u0407", yicy: "\u0457", Yopf: "\u{1D550}", yopf: "\u{1D56A}", Yscr: "\u{1D4B4}", yscr: "\u{1D4CE}", YUcy: "\u042E",
|
|
299
|
+
yucy: "\u044E", yuml: "\xFF", Yuml: "\u0178", Zacute: "\u0179", zacute: "\u017A", Zcaron: "\u017D", zcaron: "\u017E", Zcy: "\u0417", zcy: "\
|
|
300
|
+
\u0437", Zdot: "\u017B", zdot: "\u017C", zeetrf: "\u2128", ZeroWidthSpace: "\u200B", Zeta: "\u0396", zeta: "\u03B6", zfr: "\u{1D537}", Zfr: "\
|
|
301
|
+
\u2128", ZHcy: "\u0416", zhcy: "\u0436", zigrarr: "\u21DD", zopf: "\u{1D56B}", Zopf: "\u2124", Zscr: "\u{1D4B5}", zscr: "\u{1D4CF}", zwj: "\u200D",
|
|
302
|
+
zwnj: "\u200C" };
|
|
303
|
+
});
|
|
304
|
+
|
|
305
|
+
// ../node_modules/ansi-to-html/node_modules/entities/lib/maps/legacy.json
|
|
306
|
+
var N0 = L((Ja, W1) => {
|
|
307
|
+
W1.exports = { Aacute: "\xC1", aacute: "\xE1", Acirc: "\xC2", acirc: "\xE2", acute: "\xB4", AElig: "\xC6", aelig: "\xE6", Agrave: "\xC0", agrave: "\
|
|
308
|
+
\xE0", amp: "&", AMP: "&", Aring: "\xC5", aring: "\xE5", Atilde: "\xC3", atilde: "\xE3", Auml: "\xC4", auml: "\xE4", brvbar: "\xA6", Ccedil: "\
|
|
309
|
+
\xC7", ccedil: "\xE7", cedil: "\xB8", cent: "\xA2", copy: "\xA9", COPY: "\xA9", curren: "\xA4", deg: "\xB0", divide: "\xF7", Eacute: "\xC9",
|
|
310
|
+
eacute: "\xE9", Ecirc: "\xCA", ecirc: "\xEA", Egrave: "\xC8", egrave: "\xE8", ETH: "\xD0", eth: "\xF0", Euml: "\xCB", euml: "\xEB", frac12: "\
|
|
311
|
+
\xBD", frac14: "\xBC", frac34: "\xBE", gt: ">", GT: ">", Iacute: "\xCD", iacute: "\xED", Icirc: "\xCE", icirc: "\xEE", iexcl: "\xA1", Igrave: "\
|
|
312
|
+
\xCC", igrave: "\xEC", iquest: "\xBF", Iuml: "\xCF", iuml: "\xEF", laquo: "\xAB", lt: "<", LT: "<", macr: "\xAF", micro: "\xB5", middot: "\xB7",
|
|
313
|
+
nbsp: "\xA0", not: "\xAC", Ntilde: "\xD1", ntilde: "\xF1", Oacute: "\xD3", oacute: "\xF3", Ocirc: "\xD4", ocirc: "\xF4", Ograve: "\xD2", ograve: "\
|
|
314
|
+
\xF2", ordf: "\xAA", ordm: "\xBA", Oslash: "\xD8", oslash: "\xF8", Otilde: "\xD5", otilde: "\xF5", Ouml: "\xD6", ouml: "\xF6", para: "\xB6",
|
|
315
|
+
plusmn: "\xB1", pound: "\xA3", quot: '"', QUOT: '"', raquo: "\xBB", reg: "\xAE", REG: "\xAE", sect: "\xA7", shy: "\xAD", sup1: "\xB9", sup2: "\
|
|
316
|
+
\xB2", sup3: "\xB3", szlig: "\xDF", THORN: "\xDE", thorn: "\xFE", times: "\xD7", Uacute: "\xDA", uacute: "\xFA", Ucirc: "\xDB", ucirc: "\xFB",
|
|
317
|
+
Ugrave: "\xD9", ugrave: "\xF9", uml: "\xA8", Uuml: "\xDC", uuml: "\xFC", Yacute: "\xDD", yacute: "\xFD", yen: "\xA5", yuml: "\xFF" };
|
|
318
|
+
});
|
|
319
|
+
|
|
320
|
+
// ../node_modules/ansi-to-html/node_modules/entities/lib/maps/xml.json
|
|
321
|
+
var e0 = L((Qa, X1) => {
|
|
322
|
+
X1.exports = { amp: "&", apos: "'", gt: ">", lt: "<", quot: '"' };
|
|
323
|
+
});
|
|
324
|
+
|
|
325
|
+
// ../node_modules/ansi-to-html/node_modules/entities/lib/maps/decode.json
|
|
326
|
+
var j0 = L((el, Y1) => {
|
|
327
|
+
Y1.exports = { "0": 65533, "128": 8364, "130": 8218, "131": 402, "132": 8222, "133": 8230, "134": 8224, "135": 8225, "136": 710, "137": 8240,
|
|
328
|
+
"138": 352, "139": 8249, "140": 338, "142": 381, "145": 8216, "146": 8217, "147": 8220, "148": 8221, "149": 8226, "150": 8211, "151": 8212,
|
|
329
|
+
"152": 732, "153": 8482, "154": 353, "155": 8250, "156": 339, "158": 382, "159": 376 };
|
|
330
|
+
});
|
|
331
|
+
|
|
332
|
+
// ../node_modules/ansi-to-html/node_modules/entities/lib/decode_codepoint.js
|
|
333
|
+
var U0 = L((Ee) => {
|
|
334
|
+
"use strict";
|
|
335
|
+
var K1 = Ee && Ee.__importDefault || function(e) {
|
|
336
|
+
return e && e.__esModule ? e : { default: e };
|
|
337
|
+
};
|
|
338
|
+
Object.defineProperty(Ee, "__esModule", { value: !0 });
|
|
339
|
+
var F0 = K1(j0()), Z1 = (
|
|
340
|
+
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
|
|
341
|
+
String.fromCodePoint || function(e) {
|
|
342
|
+
var t = "";
|
|
343
|
+
return e > 65535 && (e -= 65536, t += String.fromCharCode(e >>> 10 & 1023 | 55296), e = 56320 | e & 1023), t += String.fromCharCode(e),
|
|
344
|
+
t;
|
|
345
|
+
}
|
|
346
|
+
);
|
|
347
|
+
function J1(e) {
|
|
348
|
+
return e >= 55296 && e <= 57343 || e > 1114111 ? "\uFFFD" : (e in F0.default && (e = F0.default[e]), Z1(e));
|
|
349
|
+
}
|
|
350
|
+
l(J1, "decodeCodePoint");
|
|
351
|
+
Ee.default = J1;
|
|
352
|
+
});
|
|
353
|
+
|
|
354
|
+
// ../node_modules/ansi-to-html/node_modules/entities/lib/decode.js
|
|
355
|
+
var r0 = L((X) => {
|
|
356
|
+
"use strict";
|
|
357
|
+
var He = X && X.__importDefault || function(e) {
|
|
358
|
+
return e && e.__esModule ? e : { default: e };
|
|
359
|
+
};
|
|
360
|
+
Object.defineProperty(X, "__esModule", { value: !0 });
|
|
361
|
+
X.decodeHTML = X.decodeHTMLStrict = X.decodeXML = void 0;
|
|
362
|
+
var t0 = He(Qe()), Q1 = He(N0()), e5 = He(e0()), $0 = He(U0()), t5 = /&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;
|
|
363
|
+
X.decodeXML = W0(e5.default);
|
|
364
|
+
X.decodeHTMLStrict = W0(t0.default);
|
|
365
|
+
function W0(e) {
|
|
366
|
+
var t = X0(e);
|
|
367
|
+
return function(r) {
|
|
368
|
+
return String(r).replace(t5, t);
|
|
369
|
+
};
|
|
370
|
+
}
|
|
371
|
+
l(W0, "getStrictDecoder");
|
|
372
|
+
var G0 = /* @__PURE__ */ l(function(e, t) {
|
|
373
|
+
return e < t ? 1 : -1;
|
|
374
|
+
}, "sorter");
|
|
375
|
+
X.decodeHTML = function() {
|
|
376
|
+
for (var e = Object.keys(Q1.default).sort(G0), t = Object.keys(t0.default).sort(G0), r = 0, a = 0; r < t.length; r++)
|
|
377
|
+
e[a] === t[r] ? (t[r] += ";?", a++) : t[r] += ";";
|
|
378
|
+
var n = new RegExp("&(?:" + t.join("|") + "|#[xX][\\da-fA-F]+;?|#\\d+;?)", "g"), o = X0(t0.default);
|
|
379
|
+
function c(i) {
|
|
380
|
+
return i.substr(-1) !== ";" && (i += ";"), o(i);
|
|
381
|
+
}
|
|
382
|
+
return l(c, "replacer"), function(i) {
|
|
383
|
+
return String(i).replace(n, c);
|
|
384
|
+
};
|
|
385
|
+
}();
|
|
386
|
+
function X0(e) {
|
|
387
|
+
return /* @__PURE__ */ l(function(r) {
|
|
388
|
+
if (r.charAt(1) === "#") {
|
|
389
|
+
var a = r.charAt(2);
|
|
390
|
+
return a === "X" || a === "x" ? $0.default(parseInt(r.substr(3), 16)) : $0.default(parseInt(r.substr(2), 10));
|
|
391
|
+
}
|
|
392
|
+
return e[r.slice(1, -1)] || r;
|
|
393
|
+
}, "replace");
|
|
394
|
+
}
|
|
395
|
+
l(X0, "getReplacer");
|
|
396
|
+
});
|
|
397
|
+
|
|
398
|
+
// ../node_modules/ansi-to-html/node_modules/entities/lib/encode.js
|
|
399
|
+
var l0 = L((j) => {
|
|
400
|
+
"use strict";
|
|
401
|
+
var Y0 = j && j.__importDefault || function(e) {
|
|
402
|
+
return e && e.__esModule ? e : { default: e };
|
|
403
|
+
};
|
|
404
|
+
Object.defineProperty(j, "__esModule", { value: !0 });
|
|
405
|
+
j.escapeUTF8 = j.escape = j.encodeNonAsciiHTML = j.encodeHTML = j.encodeXML = void 0;
|
|
406
|
+
var r5 = Y0(e0()), K0 = J0(r5.default), Z0 = Q0(K0);
|
|
407
|
+
j.encodeXML = rt(K0);
|
|
408
|
+
var a5 = Y0(Qe()), a0 = J0(a5.default), l5 = Q0(a0);
|
|
409
|
+
j.encodeHTML = o5(a0, l5);
|
|
410
|
+
j.encodeNonAsciiHTML = rt(a0);
|
|
411
|
+
function J0(e) {
|
|
412
|
+
return Object.keys(e).sort().reduce(function(t, r) {
|
|
413
|
+
return t[e[r]] = "&" + r + ";", t;
|
|
414
|
+
}, {});
|
|
415
|
+
}
|
|
416
|
+
l(J0, "getInverseObj");
|
|
417
|
+
function Q0(e) {
|
|
418
|
+
for (var t = [], r = [], a = 0, n = Object.keys(e); a < n.length; a++) {
|
|
419
|
+
var o = n[a];
|
|
420
|
+
o.length === 1 ? t.push("\\" + o) : r.push(o);
|
|
421
|
+
}
|
|
422
|
+
t.sort();
|
|
423
|
+
for (var c = 0; c < t.length - 1; c++) {
|
|
424
|
+
for (var i = c; i < t.length - 1 && t[i].charCodeAt(1) + 1 === t[i + 1].charCodeAt(1); )
|
|
425
|
+
i += 1;
|
|
426
|
+
var s = 1 + i - c;
|
|
427
|
+
s < 3 || t.splice(c, s, t[c] + "-" + t[i]);
|
|
428
|
+
}
|
|
429
|
+
return r.unshift("[" + t.join("") + "]"), new RegExp(r.join("|"), "g");
|
|
430
|
+
}
|
|
431
|
+
l(Q0, "getInverseReplacer");
|
|
432
|
+
var et = /(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,
|
|
433
|
+
n5 = (
|
|
434
|
+
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
|
|
435
|
+
String.prototype.codePointAt != null ? (
|
|
436
|
+
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
437
|
+
function(e) {
|
|
438
|
+
return e.codePointAt(0);
|
|
439
|
+
}
|
|
440
|
+
) : (
|
|
441
|
+
// http://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae
|
|
442
|
+
function(e) {
|
|
443
|
+
return (e.charCodeAt(0) - 55296) * 1024 + e.charCodeAt(1) - 56320 + 65536;
|
|
444
|
+
}
|
|
445
|
+
)
|
|
446
|
+
);
|
|
447
|
+
function Se(e) {
|
|
448
|
+
return "&#x" + (e.length > 1 ? n5(e) : e.charCodeAt(0)).toString(16).toUpperCase() + ";";
|
|
449
|
+
}
|
|
450
|
+
l(Se, "singleCharReplacer");
|
|
451
|
+
function o5(e, t) {
|
|
452
|
+
return function(r) {
|
|
453
|
+
return r.replace(t, function(a) {
|
|
454
|
+
return e[a];
|
|
455
|
+
}).replace(et, Se);
|
|
456
|
+
};
|
|
457
|
+
}
|
|
458
|
+
l(o5, "getInverse");
|
|
459
|
+
var tt = new RegExp(Z0.source + "|" + et.source, "g");
|
|
460
|
+
function c5(e) {
|
|
461
|
+
return e.replace(tt, Se);
|
|
462
|
+
}
|
|
463
|
+
l(c5, "escape");
|
|
464
|
+
j.escape = c5;
|
|
465
|
+
function i5(e) {
|
|
466
|
+
return e.replace(Z0, Se);
|
|
467
|
+
}
|
|
468
|
+
l(i5, "escapeUTF8");
|
|
469
|
+
j.escapeUTF8 = i5;
|
|
470
|
+
function rt(e) {
|
|
471
|
+
return function(t) {
|
|
472
|
+
return t.replace(tt, function(r) {
|
|
473
|
+
return e[r] || Se(r);
|
|
474
|
+
});
|
|
475
|
+
};
|
|
476
|
+
}
|
|
477
|
+
l(rt, "getASCIIEncoder");
|
|
478
|
+
});
|
|
479
|
+
|
|
480
|
+
// ../node_modules/ansi-to-html/node_modules/entities/lib/index.js
|
|
481
|
+
var lt = L((g) => {
|
|
482
|
+
"use strict";
|
|
483
|
+
Object.defineProperty(g, "__esModule", { value: !0 });
|
|
484
|
+
g.decodeXMLStrict = g.decodeHTML5Strict = g.decodeHTML4Strict = g.decodeHTML5 = g.decodeHTML4 = g.decodeHTMLStrict = g.decodeHTML = g.decodeXML =
|
|
485
|
+
g.encodeHTML5 = g.encodeHTML4 = g.escapeUTF8 = g.escape = g.encodeNonAsciiHTML = g.encodeHTML = g.encodeXML = g.encode = g.decodeStrict = g.
|
|
486
|
+
decode = void 0;
|
|
487
|
+
var Be = r0(), at = l0();
|
|
488
|
+
function s5(e, t) {
|
|
489
|
+
return (!t || t <= 0 ? Be.decodeXML : Be.decodeHTML)(e);
|
|
490
|
+
}
|
|
491
|
+
l(s5, "decode");
|
|
492
|
+
g.decode = s5;
|
|
493
|
+
function d5(e, t) {
|
|
494
|
+
return (!t || t <= 0 ? Be.decodeXML : Be.decodeHTMLStrict)(e);
|
|
495
|
+
}
|
|
496
|
+
l(d5, "decodeStrict");
|
|
497
|
+
g.decodeStrict = d5;
|
|
498
|
+
function f5(e, t) {
|
|
499
|
+
return (!t || t <= 0 ? at.encodeXML : at.encodeHTML)(e);
|
|
500
|
+
}
|
|
501
|
+
l(f5, "encode");
|
|
502
|
+
g.encode = f5;
|
|
503
|
+
var fe = l0();
|
|
504
|
+
Object.defineProperty(g, "encodeXML", { enumerable: !0, get: /* @__PURE__ */ l(function() {
|
|
505
|
+
return fe.encodeXML;
|
|
506
|
+
}, "get") });
|
|
507
|
+
Object.defineProperty(g, "encodeHTML", { enumerable: !0, get: /* @__PURE__ */ l(function() {
|
|
508
|
+
return fe.encodeHTML;
|
|
509
|
+
}, "get") });
|
|
510
|
+
Object.defineProperty(g, "encodeNonAsciiHTML", { enumerable: !0, get: /* @__PURE__ */ l(function() {
|
|
511
|
+
return fe.encodeNonAsciiHTML;
|
|
512
|
+
}, "get") });
|
|
513
|
+
Object.defineProperty(g, "escape", { enumerable: !0, get: /* @__PURE__ */ l(function() {
|
|
514
|
+
return fe.escape;
|
|
515
|
+
}, "get") });
|
|
516
|
+
Object.defineProperty(g, "escapeUTF8", { enumerable: !0, get: /* @__PURE__ */ l(function() {
|
|
517
|
+
return fe.escapeUTF8;
|
|
518
|
+
}, "get") });
|
|
519
|
+
Object.defineProperty(g, "encodeHTML4", { enumerable: !0, get: /* @__PURE__ */ l(function() {
|
|
520
|
+
return fe.encodeHTML;
|
|
521
|
+
}, "get") });
|
|
522
|
+
Object.defineProperty(g, "encodeHTML5", { enumerable: !0, get: /* @__PURE__ */ l(function() {
|
|
523
|
+
return fe.encodeHTML;
|
|
524
|
+
}, "get") });
|
|
525
|
+
var re = r0();
|
|
526
|
+
Object.defineProperty(g, "decodeXML", { enumerable: !0, get: /* @__PURE__ */ l(function() {
|
|
527
|
+
return re.decodeXML;
|
|
528
|
+
}, "get") });
|
|
529
|
+
Object.defineProperty(g, "decodeHTML", { enumerable: !0, get: /* @__PURE__ */ l(function() {
|
|
530
|
+
return re.decodeHTML;
|
|
531
|
+
}, "get") });
|
|
532
|
+
Object.defineProperty(g, "decodeHTMLStrict", { enumerable: !0, get: /* @__PURE__ */ l(function() {
|
|
533
|
+
return re.decodeHTMLStrict;
|
|
534
|
+
}, "get") });
|
|
535
|
+
Object.defineProperty(g, "decodeHTML4", { enumerable: !0, get: /* @__PURE__ */ l(function() {
|
|
536
|
+
return re.decodeHTML;
|
|
537
|
+
}, "get") });
|
|
538
|
+
Object.defineProperty(g, "decodeHTML5", { enumerable: !0, get: /* @__PURE__ */ l(function() {
|
|
539
|
+
return re.decodeHTML;
|
|
540
|
+
}, "get") });
|
|
541
|
+
Object.defineProperty(g, "decodeHTML4Strict", { enumerable: !0, get: /* @__PURE__ */ l(function() {
|
|
542
|
+
return re.decodeHTMLStrict;
|
|
543
|
+
}, "get") });
|
|
544
|
+
Object.defineProperty(g, "decodeHTML5Strict", { enumerable: !0, get: /* @__PURE__ */ l(function() {
|
|
545
|
+
return re.decodeHTMLStrict;
|
|
546
|
+
}, "get") });
|
|
547
|
+
Object.defineProperty(g, "decodeXMLStrict", { enumerable: !0, get: /* @__PURE__ */ l(function() {
|
|
548
|
+
return re.decodeXML;
|
|
549
|
+
}, "get") });
|
|
550
|
+
});
|
|
551
|
+
|
|
552
|
+
// ../node_modules/ansi-to-html/lib/ansi_to_html.js
|
|
553
|
+
var vt = L((sl, pt) => {
|
|
554
|
+
"use strict";
|
|
555
|
+
function h5(e, t) {
|
|
556
|
+
if (!(e instanceof t))
|
|
557
|
+
throw new TypeError("Cannot call a class as a function");
|
|
558
|
+
}
|
|
559
|
+
l(h5, "_classCallCheck");
|
|
560
|
+
function nt(e, t) {
|
|
561
|
+
for (var r = 0; r < t.length; r++) {
|
|
562
|
+
var a = t[r];
|
|
563
|
+
a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e, a.key, a);
|
|
564
|
+
}
|
|
565
|
+
}
|
|
566
|
+
l(nt, "_defineProperties");
|
|
567
|
+
function u5(e, t, r) {
|
|
568
|
+
return t && nt(e.prototype, t), r && nt(e, r), e;
|
|
569
|
+
}
|
|
570
|
+
l(u5, "_createClass");
|
|
571
|
+
function ft(e, t) {
|
|
572
|
+
var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
573
|
+
if (!r) {
|
|
574
|
+
if (Array.isArray(e) || (r = p5(e)) || t && e && typeof e.length == "number") {
|
|
575
|
+
r && (e = r);
|
|
576
|
+
var a = 0, n = /* @__PURE__ */ l(function() {
|
|
577
|
+
}, "F");
|
|
578
|
+
return { s: n, n: /* @__PURE__ */ l(function() {
|
|
579
|
+
return a >= e.length ? { done: !0 } : { done: !1, value: e[a++] };
|
|
580
|
+
}, "n"), e: /* @__PURE__ */ l(function(h) {
|
|
581
|
+
throw h;
|
|
582
|
+
}, "e"), f: n };
|
|
583
|
+
}
|
|
584
|
+
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
585
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
586
|
+
}
|
|
587
|
+
var o = !0, c = !1, i;
|
|
588
|
+
return { s: /* @__PURE__ */ l(function() {
|
|
589
|
+
r = r.call(e);
|
|
590
|
+
}, "s"), n: /* @__PURE__ */ l(function() {
|
|
591
|
+
var h = r.next();
|
|
592
|
+
return o = h.done, h;
|
|
593
|
+
}, "n"), e: /* @__PURE__ */ l(function(h) {
|
|
594
|
+
c = !0, i = h;
|
|
595
|
+
}, "e"), f: /* @__PURE__ */ l(function() {
|
|
596
|
+
try {
|
|
597
|
+
!o && r.return != null && r.return();
|
|
598
|
+
} finally {
|
|
599
|
+
if (c) throw i;
|
|
600
|
+
}
|
|
601
|
+
}, "f") };
|
|
602
|
+
}
|
|
603
|
+
l(ft, "_createForOfIteratorHelper");
|
|
604
|
+
function p5(e, t) {
|
|
605
|
+
if (e) {
|
|
606
|
+
if (typeof e == "string") return ot(e, t);
|
|
607
|
+
var r = Object.prototype.toString.call(e).slice(8, -1);
|
|
608
|
+
if (r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set") return Array.from(e);
|
|
609
|
+
if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return ot(e, t);
|
|
610
|
+
}
|
|
611
|
+
}
|
|
612
|
+
l(p5, "_unsupportedIterableToArray");
|
|
613
|
+
function ot(e, t) {
|
|
614
|
+
(t == null || t > e.length) && (t = e.length);
|
|
615
|
+
for (var r = 0, a = new Array(t); r < t; r++)
|
|
616
|
+
a[r] = e[r];
|
|
617
|
+
return a;
|
|
618
|
+
}
|
|
619
|
+
l(ot, "_arrayLikeToArray");
|
|
620
|
+
var v5 = lt(), ct = {
|
|
621
|
+
fg: "#FFF",
|
|
622
|
+
bg: "#000",
|
|
623
|
+
newline: !1,
|
|
624
|
+
escapeXML: !1,
|
|
625
|
+
stream: !1,
|
|
626
|
+
colors: m5()
|
|
627
|
+
};
|
|
628
|
+
function m5() {
|
|
629
|
+
var e = {
|
|
630
|
+
0: "#000",
|
|
631
|
+
1: "#A00",
|
|
632
|
+
2: "#0A0",
|
|
633
|
+
3: "#A50",
|
|
634
|
+
4: "#00A",
|
|
635
|
+
5: "#A0A",
|
|
636
|
+
6: "#0AA",
|
|
637
|
+
7: "#AAA",
|
|
638
|
+
8: "#555",
|
|
639
|
+
9: "#F55",
|
|
640
|
+
10: "#5F5",
|
|
641
|
+
11: "#FF5",
|
|
642
|
+
12: "#55F",
|
|
643
|
+
13: "#F5F",
|
|
644
|
+
14: "#5FF",
|
|
645
|
+
15: "#FFF"
|
|
646
|
+
};
|
|
647
|
+
return Te(0, 5).forEach(function(t) {
|
|
648
|
+
Te(0, 5).forEach(function(r) {
|
|
649
|
+
Te(0, 5).forEach(function(a) {
|
|
650
|
+
return w5(t, r, a, e);
|
|
651
|
+
});
|
|
652
|
+
});
|
|
653
|
+
}), Te(0, 23).forEach(function(t) {
|
|
654
|
+
var r = t + 232, a = ht(t * 10 + 8);
|
|
655
|
+
e[r] = "#" + a + a + a;
|
|
656
|
+
}), e;
|
|
657
|
+
}
|
|
658
|
+
l(m5, "getDefaultColors");
|
|
659
|
+
function w5(e, t, r, a) {
|
|
660
|
+
var n = 16 + e * 36 + t * 6 + r, o = e > 0 ? e * 40 + 55 : 0, c = t > 0 ? t * 40 + 55 : 0, i = r > 0 ? r * 40 + 55 : 0;
|
|
661
|
+
a[n] = g5([o, c, i]);
|
|
662
|
+
}
|
|
663
|
+
l(w5, "setStyleColor");
|
|
664
|
+
function ht(e) {
|
|
665
|
+
for (var t = e.toString(16); t.length < 2; )
|
|
666
|
+
t = "0" + t;
|
|
667
|
+
return t;
|
|
668
|
+
}
|
|
669
|
+
l(ht, "toHexString");
|
|
670
|
+
function g5(e) {
|
|
671
|
+
var t = [], r = ft(e), a;
|
|
672
|
+
try {
|
|
673
|
+
for (r.s(); !(a = r.n()).done; ) {
|
|
674
|
+
var n = a.value;
|
|
675
|
+
t.push(ht(n));
|
|
676
|
+
}
|
|
677
|
+
} catch (o) {
|
|
678
|
+
r.e(o);
|
|
679
|
+
} finally {
|
|
680
|
+
r.f();
|
|
681
|
+
}
|
|
682
|
+
return "#" + t.join("");
|
|
683
|
+
}
|
|
684
|
+
l(g5, "toColorHexString");
|
|
685
|
+
function it(e, t, r, a) {
|
|
686
|
+
var n;
|
|
687
|
+
return t === "text" ? n = x5(r, a) : t === "display" ? n = E5(e, r, a) : t === "xterm256Foreground" ? n = Ve(e, a.colors[r]) : t === "xt\
|
|
688
|
+
erm256Background" ? n = _e(e, a.colors[r]) : t === "rgb" && (n = R5(e, r)), n;
|
|
689
|
+
}
|
|
690
|
+
l(it, "generateOutput");
|
|
691
|
+
function R5(e, t) {
|
|
692
|
+
t = t.substring(2).slice(0, -1);
|
|
693
|
+
var r = +t.substr(0, 2), a = t.substring(5).split(";"), n = a.map(function(o) {
|
|
694
|
+
return ("0" + Number(o).toString(16)).substr(-2);
|
|
695
|
+
}).join("");
|
|
696
|
+
return ke(e, (r === 38 ? "color:#" : "background-color:#") + n);
|
|
697
|
+
}
|
|
698
|
+
l(R5, "handleRgb");
|
|
699
|
+
function E5(e, t, r) {
|
|
700
|
+
t = parseInt(t, 10);
|
|
701
|
+
var a = {
|
|
702
|
+
"-1": /* @__PURE__ */ l(function() {
|
|
703
|
+
return "<br/>";
|
|
704
|
+
}, "_"),
|
|
705
|
+
0: /* @__PURE__ */ l(function() {
|
|
706
|
+
return e.length && ut(e);
|
|
707
|
+
}, "_"),
|
|
708
|
+
1: /* @__PURE__ */ l(function() {
|
|
709
|
+
return ae(e, "b");
|
|
710
|
+
}, "_"),
|
|
711
|
+
3: /* @__PURE__ */ l(function() {
|
|
712
|
+
return ae(e, "i");
|
|
713
|
+
}, "_"),
|
|
714
|
+
4: /* @__PURE__ */ l(function() {
|
|
715
|
+
return ae(e, "u");
|
|
716
|
+
}, "_"),
|
|
717
|
+
8: /* @__PURE__ */ l(function() {
|
|
718
|
+
return ke(e, "display:none");
|
|
719
|
+
}, "_"),
|
|
720
|
+
9: /* @__PURE__ */ l(function() {
|
|
721
|
+
return ae(e, "strike");
|
|
722
|
+
}, "_"),
|
|
723
|
+
22: /* @__PURE__ */ l(function() {
|
|
724
|
+
return ke(e, "font-weight:normal;text-decoration:none;font-style:normal");
|
|
725
|
+
}, "_"),
|
|
726
|
+
23: /* @__PURE__ */ l(function() {
|
|
727
|
+
return dt(e, "i");
|
|
728
|
+
}, "_"),
|
|
729
|
+
24: /* @__PURE__ */ l(function() {
|
|
730
|
+
return dt(e, "u");
|
|
731
|
+
}, "_"),
|
|
732
|
+
39: /* @__PURE__ */ l(function() {
|
|
733
|
+
return Ve(e, r.fg);
|
|
734
|
+
}, "_"),
|
|
735
|
+
49: /* @__PURE__ */ l(function() {
|
|
736
|
+
return _e(e, r.bg);
|
|
737
|
+
}, "_"),
|
|
738
|
+
53: /* @__PURE__ */ l(function() {
|
|
739
|
+
return ke(e, "text-decoration:overline");
|
|
740
|
+
}, "_")
|
|
741
|
+
}, n;
|
|
742
|
+
return a[t] ? n = a[t]() : 4 < t && t < 7 ? n = ae(e, "blink") : 29 < t && t < 38 ? n = Ve(e, r.colors[t - 30]) : 39 < t && t < 48 ? n =
|
|
743
|
+
_e(e, r.colors[t - 40]) : 89 < t && t < 98 ? n = Ve(e, r.colors[8 + (t - 90)]) : 99 < t && t < 108 && (n = _e(e, r.colors[8 + (t - 100)])),
|
|
744
|
+
n;
|
|
745
|
+
}
|
|
746
|
+
l(E5, "handleDisplay");
|
|
747
|
+
function ut(e) {
|
|
748
|
+
var t = e.slice(0);
|
|
749
|
+
return e.length = 0, t.reverse().map(function(r) {
|
|
750
|
+
return "</" + r + ">";
|
|
751
|
+
}).join("");
|
|
752
|
+
}
|
|
753
|
+
l(ut, "resetStyles");
|
|
754
|
+
function Te(e, t) {
|
|
755
|
+
for (var r = [], a = e; a <= t; a++)
|
|
756
|
+
r.push(a);
|
|
757
|
+
return r;
|
|
758
|
+
}
|
|
759
|
+
l(Te, "range");
|
|
760
|
+
function b5(e) {
|
|
761
|
+
return function(t) {
|
|
762
|
+
return (e === null || t.category !== e) && e !== "all";
|
|
763
|
+
};
|
|
764
|
+
}
|
|
765
|
+
l(b5, "notCategory");
|
|
766
|
+
function st(e) {
|
|
767
|
+
e = parseInt(e, 10);
|
|
768
|
+
var t = null;
|
|
769
|
+
return e === 0 ? t = "all" : e === 1 ? t = "bold" : 2 < e && e < 5 ? t = "underline" : 4 < e && e < 7 ? t = "blink" : e === 8 ? t = "hid\
|
|
770
|
+
e" : e === 9 ? t = "strike" : 29 < e && e < 38 || e === 39 || 89 < e && e < 98 ? t = "foreground-color" : (39 < e && e < 48 || e === 49 || 99 <
|
|
771
|
+
e && e < 108) && (t = "background-color"), t;
|
|
772
|
+
}
|
|
773
|
+
l(st, "categoryForCode");
|
|
774
|
+
function x5(e, t) {
|
|
775
|
+
return t.escapeXML ? v5.encodeXML(e) : e;
|
|
776
|
+
}
|
|
777
|
+
l(x5, "pushText");
|
|
778
|
+
function ae(e, t, r) {
|
|
779
|
+
return r || (r = ""), e.push(t), "<".concat(t).concat(r ? ' style="'.concat(r, '"') : "", ">");
|
|
780
|
+
}
|
|
781
|
+
l(ae, "pushTag");
|
|
782
|
+
function ke(e, t) {
|
|
783
|
+
return ae(e, "span", t);
|
|
784
|
+
}
|
|
785
|
+
l(ke, "pushStyle");
|
|
786
|
+
function Ve(e, t) {
|
|
787
|
+
return ae(e, "span", "color:" + t);
|
|
788
|
+
}
|
|
789
|
+
l(Ve, "pushForegroundColor");
|
|
790
|
+
function _e(e, t) {
|
|
791
|
+
return ae(e, "span", "background-color:" + t);
|
|
792
|
+
}
|
|
793
|
+
l(_e, "pushBackgroundColor");
|
|
794
|
+
function dt(e, t) {
|
|
795
|
+
var r;
|
|
796
|
+
if (e.slice(-1)[0] === t && (r = e.pop()), r)
|
|
797
|
+
return "</" + t + ">";
|
|
798
|
+
}
|
|
799
|
+
l(dt, "closeTag");
|
|
800
|
+
function C5(e, t, r) {
|
|
801
|
+
var a = !1, n = 3;
|
|
802
|
+
function o() {
|
|
803
|
+
return "";
|
|
804
|
+
}
|
|
805
|
+
l(o, "remove");
|
|
806
|
+
function c(O, H) {
|
|
807
|
+
return r("xterm256Foreground", H), "";
|
|
808
|
+
}
|
|
809
|
+
l(c, "removeXterm256Foreground");
|
|
810
|
+
function i(O, H) {
|
|
811
|
+
return r("xterm256Background", H), "";
|
|
812
|
+
}
|
|
813
|
+
l(i, "removeXterm256Background");
|
|
814
|
+
function s(O) {
|
|
815
|
+
return t.newline ? r("display", -1) : r("text", O), "";
|
|
816
|
+
}
|
|
817
|
+
l(s, "newline");
|
|
818
|
+
function h(O, H) {
|
|
819
|
+
a = !0, H.trim().length === 0 && (H = "0"), H = H.trimRight(";").split(";");
|
|
820
|
+
var V = ft(H), ie;
|
|
821
|
+
try {
|
|
822
|
+
for (V.s(); !(ie = V.n()).done; ) {
|
|
823
|
+
var ge = ie.value;
|
|
824
|
+
r("display", ge);
|
|
825
|
+
}
|
|
826
|
+
} catch (Re) {
|
|
827
|
+
V.e(Re);
|
|
828
|
+
} finally {
|
|
829
|
+
V.f();
|
|
830
|
+
}
|
|
831
|
+
return "";
|
|
832
|
+
}
|
|
833
|
+
l(h, "ansiMess");
|
|
834
|
+
function f(O) {
|
|
835
|
+
return r("text", O), "";
|
|
836
|
+
}
|
|
837
|
+
l(f, "realText");
|
|
838
|
+
function w(O) {
|
|
839
|
+
return r("rgb", O), "";
|
|
840
|
+
}
|
|
841
|
+
l(w, "rgb");
|
|
842
|
+
var u = [{
|
|
843
|
+
pattern: /^\x08+/,
|
|
844
|
+
sub: o
|
|
845
|
+
}, {
|
|
846
|
+
pattern: /^\x1b\[[012]?K/,
|
|
847
|
+
sub: o
|
|
848
|
+
}, {
|
|
849
|
+
pattern: /^\x1b\[\(B/,
|
|
850
|
+
sub: o
|
|
851
|
+
}, {
|
|
852
|
+
pattern: /^\x1b\[[34]8;2;\d+;\d+;\d+m/,
|
|
853
|
+
sub: w
|
|
854
|
+
}, {
|
|
855
|
+
pattern: /^\x1b\[38;5;(\d+)m/,
|
|
856
|
+
sub: c
|
|
857
|
+
}, {
|
|
858
|
+
pattern: /^\x1b\[48;5;(\d+)m/,
|
|
859
|
+
sub: i
|
|
860
|
+
}, {
|
|
861
|
+
pattern: /^\n/,
|
|
862
|
+
sub: s
|
|
863
|
+
}, {
|
|
864
|
+
pattern: /^\r+\n/,
|
|
865
|
+
sub: s
|
|
866
|
+
}, {
|
|
867
|
+
pattern: /^\r/,
|
|
868
|
+
sub: s
|
|
869
|
+
}, {
|
|
870
|
+
pattern: /^\x1b\[((?:\d{1,3};?)+|)m/,
|
|
871
|
+
sub: h
|
|
872
|
+
}, {
|
|
873
|
+
// CSI n J
|
|
874
|
+
// ED - Erase in Display Clears part of the screen.
|
|
875
|
+
// If n is 0 (or missing), clear from cursor to end of screen.
|
|
876
|
+
// If n is 1, clear from cursor to beginning of the screen.
|
|
877
|
+
// If n is 2, clear entire screen (and moves cursor to upper left on DOS ANSI.SYS).
|
|
878
|
+
// If n is 3, clear entire screen and delete all lines saved in the scrollback buffer
|
|
879
|
+
// (this feature was added for xterm and is supported by other terminal applications).
|
|
880
|
+
pattern: /^\x1b\[\d?J/,
|
|
881
|
+
sub: o
|
|
882
|
+
}, {
|
|
883
|
+
// CSI n ; m f
|
|
884
|
+
// HVP - Horizontal Vertical Position Same as CUP
|
|
885
|
+
pattern: /^\x1b\[\d{0,3};\d{0,3}f/,
|
|
886
|
+
sub: o
|
|
887
|
+
}, {
|
|
888
|
+
// catch-all for CSI sequences?
|
|
889
|
+
pattern: /^\x1b\[?[\d;]{0,3}/,
|
|
890
|
+
sub: o
|
|
891
|
+
}, {
|
|
892
|
+
/**
|
|
893
|
+
* extracts real text - not containing:
|
|
894
|
+
* - `\x1b' - ESC - escape (Ascii 27)
|
|
895
|
+
* - '\x08' - BS - backspace (Ascii 8)
|
|
896
|
+
* - `\n` - Newline - linefeed (LF) (ascii 10)
|
|
897
|
+
* - `\r` - Windows Carriage Return (CR)
|
|
898
|
+
*/
|
|
899
|
+
pattern: /^(([^\x1b\x08\r\n])+)/,
|
|
900
|
+
sub: f
|
|
901
|
+
}];
|
|
902
|
+
function M(O, H) {
|
|
903
|
+
H > n && a || (a = !1, e = e.replace(O.pattern, O.sub));
|
|
904
|
+
}
|
|
905
|
+
l(M, "process");
|
|
906
|
+
var T = [], B = e, A = B.length;
|
|
907
|
+
e: for (; A > 0; ) {
|
|
908
|
+
for (var k = 0, K = 0, Q = u.length; K < Q; k = ++K) {
|
|
909
|
+
var ee = u[k];
|
|
910
|
+
if (M(ee, k), e.length !== A) {
|
|
911
|
+
A = e.length;
|
|
912
|
+
continue e;
|
|
913
|
+
}
|
|
914
|
+
}
|
|
915
|
+
if (e.length === A)
|
|
916
|
+
break;
|
|
917
|
+
T.push(0), A = e.length;
|
|
918
|
+
}
|
|
919
|
+
return T;
|
|
920
|
+
}
|
|
921
|
+
l(C5, "tokenize");
|
|
922
|
+
function M5(e, t, r) {
|
|
923
|
+
return t !== "text" && (e = e.filter(b5(st(r))), e.push({
|
|
924
|
+
token: t,
|
|
925
|
+
data: r,
|
|
926
|
+
category: st(r)
|
|
927
|
+
})), e;
|
|
928
|
+
}
|
|
929
|
+
l(M5, "updateStickyStack");
|
|
930
|
+
var y5 = /* @__PURE__ */ function() {
|
|
931
|
+
function e(t) {
|
|
932
|
+
h5(this, e), t = t || {}, t.colors && (t.colors = Object.assign({}, ct.colors, t.colors)), this.options = Object.assign({}, ct, t), this.
|
|
933
|
+
stack = [], this.stickyStack = [];
|
|
934
|
+
}
|
|
935
|
+
return l(e, "Filter"), u5(e, [{
|
|
936
|
+
key: "toHtml",
|
|
937
|
+
value: /* @__PURE__ */ l(function(r) {
|
|
938
|
+
var a = this;
|
|
939
|
+
r = typeof r == "string" ? [r] : r;
|
|
940
|
+
var n = this.stack, o = this.options, c = [];
|
|
941
|
+
return this.stickyStack.forEach(function(i) {
|
|
942
|
+
var s = it(n, i.token, i.data, o);
|
|
943
|
+
s && c.push(s);
|
|
944
|
+
}), C5(r.join(""), o, function(i, s) {
|
|
945
|
+
var h = it(n, i, s, o);
|
|
946
|
+
h && c.push(h), o.stream && (a.stickyStack = M5(a.stickyStack, i, s));
|
|
947
|
+
}), n.length && c.push(ut(n)), c.join("");
|
|
948
|
+
}, "toHtml")
|
|
949
|
+
}]), e;
|
|
950
|
+
}();
|
|
951
|
+
pt.exports = y5;
|
|
952
|
+
});
|
|
953
|
+
|
|
954
|
+
// ../node_modules/@devtools-ds/object-inspector/node_modules/@babel/runtime/helpers/extends.js
|
|
955
|
+
var Oe = L((Hl, d0) => {
|
|
956
|
+
function s0() {
|
|
957
|
+
return d0.exports = s0 = Object.assign || function(e) {
|
|
958
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
959
|
+
var r = arguments[t];
|
|
960
|
+
for (var a in r)
|
|
961
|
+
Object.prototype.hasOwnProperty.call(r, a) && (e[a] = r[a]);
|
|
962
|
+
}
|
|
963
|
+
return e;
|
|
964
|
+
}, s0.apply(this, arguments);
|
|
965
|
+
}
|
|
966
|
+
l(s0, "_extends");
|
|
967
|
+
d0.exports = s0;
|
|
968
|
+
});
|
|
969
|
+
|
|
970
|
+
// ../node_modules/@devtools-ds/object-inspector/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js
|
|
971
|
+
var Bt = L((Bl, St) => {
|
|
972
|
+
function V5(e, t) {
|
|
973
|
+
if (e == null) return {};
|
|
974
|
+
var r = {}, a = Object.keys(e), n, o;
|
|
975
|
+
for (o = 0; o < a.length; o++)
|
|
976
|
+
n = a[o], !(t.indexOf(n) >= 0) && (r[n] = e[n]);
|
|
977
|
+
return r;
|
|
978
|
+
}
|
|
979
|
+
l(V5, "_objectWithoutPropertiesLoose");
|
|
980
|
+
St.exports = V5;
|
|
981
|
+
});
|
|
982
|
+
|
|
983
|
+
// ../node_modules/@devtools-ds/object-inspector/node_modules/@babel/runtime/helpers/objectWithoutProperties.js
|
|
984
|
+
var De = L((kl, Tt) => {
|
|
985
|
+
var _5 = Bt();
|
|
986
|
+
function O5(e, t) {
|
|
987
|
+
if (e == null) return {};
|
|
988
|
+
var r = _5(e, t), a, n;
|
|
989
|
+
if (Object.getOwnPropertySymbols) {
|
|
990
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
991
|
+
for (n = 0; n < o.length; n++)
|
|
992
|
+
a = o[n], !(t.indexOf(a) >= 0) && Object.prototype.propertyIsEnumerable.call(e, a) && (r[a] = e[a]);
|
|
993
|
+
}
|
|
994
|
+
return r;
|
|
995
|
+
}
|
|
996
|
+
l(O5, "_objectWithoutProperties");
|
|
997
|
+
Tt.exports = O5;
|
|
998
|
+
});
|
|
999
|
+
|
|
1000
|
+
// ../node_modules/@devtools-ds/themes/node_modules/@babel/runtime/helpers/defineProperty.js
|
|
1001
|
+
var _t = L((ql, Vt) => {
|
|
1002
|
+
function P5(e, t, r) {
|
|
1003
|
+
return t in e ? Object.defineProperty(e, t, {
|
|
1004
|
+
value: r,
|
|
1005
|
+
enumerable: !0,
|
|
1006
|
+
configurable: !0,
|
|
1007
|
+
writable: !0
|
|
1008
|
+
}) : e[t] = r, e;
|
|
1009
|
+
}
|
|
1010
|
+
l(P5, "_defineProperty");
|
|
1011
|
+
Vt.exports = P5;
|
|
1012
|
+
});
|
|
1013
|
+
|
|
1014
|
+
// ../node_modules/@devtools-ds/themes/node_modules/@babel/runtime/helpers/objectSpread2.js
|
|
1015
|
+
var Pt = L((jl, Dt) => {
|
|
1016
|
+
var q5 = _t();
|
|
1017
|
+
function Ot(e, t) {
|
|
1018
|
+
var r = Object.keys(e);
|
|
1019
|
+
if (Object.getOwnPropertySymbols) {
|
|
1020
|
+
var a = Object.getOwnPropertySymbols(e);
|
|
1021
|
+
t && (a = a.filter(function(n) {
|
|
1022
|
+
return Object.getOwnPropertyDescriptor(e, n).enumerable;
|
|
1023
|
+
})), r.push.apply(r, a);
|
|
1024
|
+
}
|
|
1025
|
+
return r;
|
|
1026
|
+
}
|
|
1027
|
+
l(Ot, "ownKeys");
|
|
1028
|
+
function N5(e) {
|
|
1029
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
1030
|
+
var r = arguments[t] != null ? arguments[t] : {};
|
|
1031
|
+
t % 2 ? Ot(r, !0).forEach(function(a) {
|
|
1032
|
+
q5(e, a, r[a]);
|
|
1033
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Ot(r).forEach(function(a) {
|
|
1034
|
+
Object.defineProperty(e, a, Object.getOwnPropertyDescriptor(r, a));
|
|
1035
|
+
});
|
|
1036
|
+
}
|
|
1037
|
+
return e;
|
|
1038
|
+
}
|
|
1039
|
+
l(N5, "_objectSpread2");
|
|
1040
|
+
Dt.exports = N5;
|
|
1041
|
+
});
|
|
1042
|
+
|
|
1043
|
+
// ../node_modules/@devtools-ds/themes/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js
|
|
1044
|
+
var Nt = L((Ul, qt) => {
|
|
1045
|
+
function j5(e, t) {
|
|
1046
|
+
if (e == null) return {};
|
|
1047
|
+
var r = {}, a = Object.keys(e), n, o;
|
|
1048
|
+
for (o = 0; o < a.length; o++)
|
|
1049
|
+
n = a[o], !(t.indexOf(n) >= 0) && (r[n] = e[n]);
|
|
1050
|
+
return r;
|
|
1051
|
+
}
|
|
1052
|
+
l(j5, "_objectWithoutPropertiesLoose");
|
|
1053
|
+
qt.exports = j5;
|
|
1054
|
+
});
|
|
1055
|
+
|
|
1056
|
+
// ../node_modules/@devtools-ds/themes/node_modules/@babel/runtime/helpers/objectWithoutProperties.js
|
|
1057
|
+
var Ft = L((Gl, jt) => {
|
|
1058
|
+
var F5 = Nt();
|
|
1059
|
+
function U5(e, t) {
|
|
1060
|
+
if (e == null) return {};
|
|
1061
|
+
var r = F5(e, t), a, n;
|
|
1062
|
+
if (Object.getOwnPropertySymbols) {
|
|
1063
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
1064
|
+
for (n = 0; n < o.length; n++)
|
|
1065
|
+
a = o[n], !(t.indexOf(a) >= 0) && Object.prototype.propertyIsEnumerable.call(e, a) && (r[a] = e[a]);
|
|
1066
|
+
}
|
|
1067
|
+
return r;
|
|
1068
|
+
}
|
|
1069
|
+
l(U5, "_objectWithoutProperties");
|
|
1070
|
+
jt.exports = U5;
|
|
1071
|
+
});
|
|
1072
|
+
|
|
1073
|
+
// ../node_modules/@devtools-ds/object-inspector/node_modules/@babel/runtime/helpers/defineProperty.js
|
|
1074
|
+
var Wt = L((Jl, Gt) => {
|
|
1075
|
+
function G5(e, t, r) {
|
|
1076
|
+
return t in e ? Object.defineProperty(e, t, {
|
|
1077
|
+
value: r,
|
|
1078
|
+
enumerable: !0,
|
|
1079
|
+
configurable: !0,
|
|
1080
|
+
writable: !0
|
|
1081
|
+
}) : e[t] = r, e;
|
|
1082
|
+
}
|
|
1083
|
+
l(G5, "_defineProperty");
|
|
1084
|
+
Gt.exports = G5;
|
|
1085
|
+
});
|
|
1086
|
+
|
|
1087
|
+
// ../node_modules/@devtools-ds/object-inspector/node_modules/@babel/runtime/helpers/objectSpread2.js
|
|
1088
|
+
var Kt = L((en, Yt) => {
|
|
1089
|
+
var W5 = Wt();
|
|
1090
|
+
function Xt(e, t) {
|
|
1091
|
+
var r = Object.keys(e);
|
|
1092
|
+
if (Object.getOwnPropertySymbols) {
|
|
1093
|
+
var a = Object.getOwnPropertySymbols(e);
|
|
1094
|
+
t && (a = a.filter(function(n) {
|
|
1095
|
+
return Object.getOwnPropertyDescriptor(e, n).enumerable;
|
|
1096
|
+
})), r.push.apply(r, a);
|
|
1097
|
+
}
|
|
1098
|
+
return r;
|
|
1099
|
+
}
|
|
1100
|
+
l(Xt, "ownKeys");
|
|
1101
|
+
function X5(e) {
|
|
1102
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
1103
|
+
var r = arguments[t] != null ? arguments[t] : {};
|
|
1104
|
+
t % 2 ? Xt(r, !0).forEach(function(a) {
|
|
1105
|
+
W5(e, a, r[a]);
|
|
1106
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Xt(r).forEach(function(a) {
|
|
1107
|
+
Object.defineProperty(e, a, Object.getOwnPropertyDescriptor(r, a));
|
|
1108
|
+
});
|
|
1109
|
+
}
|
|
1110
|
+
return e;
|
|
1111
|
+
}
|
|
1112
|
+
l(X5, "_objectSpread2");
|
|
1113
|
+
Yt.exports = X5;
|
|
1114
|
+
});
|
|
1115
|
+
|
|
1116
|
+
// ../node_modules/@devtools-ds/tree/node_modules/@babel/runtime/helpers/extends.js
|
|
1117
|
+
var Zt = L((rn, g0) => {
|
|
1118
|
+
function w0() {
|
|
1119
|
+
return g0.exports = w0 = Object.assign || function(e) {
|
|
1120
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
1121
|
+
var r = arguments[t];
|
|
1122
|
+
for (var a in r)
|
|
1123
|
+
Object.prototype.hasOwnProperty.call(r, a) && (e[a] = r[a]);
|
|
1124
|
+
}
|
|
1125
|
+
return e;
|
|
1126
|
+
}, w0.apply(this, arguments);
|
|
1127
|
+
}
|
|
1128
|
+
l(w0, "_extends");
|
|
1129
|
+
g0.exports = w0;
|
|
1130
|
+
});
|
|
1131
|
+
|
|
1132
|
+
// ../node_modules/@devtools-ds/tree/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js
|
|
1133
|
+
var Qt = L((ln, Jt) => {
|
|
1134
|
+
function Y5(e, t) {
|
|
1135
|
+
if (e == null) return {};
|
|
1136
|
+
var r = {}, a = Object.keys(e), n, o;
|
|
1137
|
+
for (o = 0; o < a.length; o++)
|
|
1138
|
+
n = a[o], !(t.indexOf(n) >= 0) && (r[n] = e[n]);
|
|
1139
|
+
return r;
|
|
1140
|
+
}
|
|
1141
|
+
l(Y5, "_objectWithoutPropertiesLoose");
|
|
1142
|
+
Jt.exports = Y5;
|
|
1143
|
+
});
|
|
1144
|
+
|
|
1145
|
+
// ../node_modules/@devtools-ds/tree/node_modules/@babel/runtime/helpers/objectWithoutProperties.js
|
|
1146
|
+
var t1 = L((on, e1) => {
|
|
1147
|
+
var K5 = Qt();
|
|
1148
|
+
function Z5(e, t) {
|
|
1149
|
+
if (e == null) return {};
|
|
1150
|
+
var r = K5(e, t), a, n;
|
|
1151
|
+
if (Object.getOwnPropertySymbols) {
|
|
1152
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
1153
|
+
for (n = 0; n < o.length; n++)
|
|
1154
|
+
a = o[n], !(t.indexOf(a) >= 0) && Object.prototype.propertyIsEnumerable.call(e, a) && (r[a] = e[a]);
|
|
1155
|
+
}
|
|
1156
|
+
return r;
|
|
1157
|
+
}
|
|
1158
|
+
l(Z5, "_objectWithoutProperties");
|
|
1159
|
+
e1.exports = Z5;
|
|
1160
|
+
});
|
|
1161
|
+
|
|
1162
|
+
// src/component-testing/manager.tsx
|
|
1163
|
+
import We from "react";
|
|
1164
|
+
import { AddonPanel as Na } from "storybook/internal/components";
|
|
1165
|
+
import { Consumer as ja, addons as O1, types as Fa } from "storybook/manager-api";
|
|
1166
|
+
|
|
1167
|
+
// src/component-testing/components/Panel.tsx
|
|
1168
|
+
import L0, { Fragment as S1, memo as Aa, useEffect as H0, useMemo as B1, useRef as S0, useState as B0 } from "react";
|
|
1169
|
+
import {
|
|
1170
|
+
FORCE_REMOUNT as La,
|
|
1171
|
+
PLAY_FUNCTION_THREW_EXCEPTION as Ha,
|
|
1172
|
+
STORY_RENDER_PHASE_CHANGED as Sa,
|
|
1173
|
+
STORY_THREW_EXCEPTION as Ba,
|
|
1174
|
+
UNHANDLED_ERRORS_WHILE_PLAYING as Ta
|
|
1175
|
+
} from "storybook/internal/core-events";
|
|
1176
|
+
import { CallStates as U, EVENTS as pe } from "storybook/internal/instrumenter";
|
|
1177
|
+
import { global as T0 } from "@storybook/global";
|
|
1178
|
+
import {
|
|
1179
|
+
experimental_useStatusStore as ka,
|
|
1180
|
+
useAddonState as Va,
|
|
1181
|
+
useChannel as _a,
|
|
1182
|
+
useParameter as Oa
|
|
1183
|
+
} from "storybook/manager-api";
|
|
1184
|
+
|
|
1185
|
+
// ../addons/test/src/constants.ts
|
|
1186
|
+
var Ze = "storybook/test", $a = `${Ze}/test-provider`, Ga = `${Ze}/panel`, O0 = "STORYBOOK_ADDON_TEST_CHANNEL", U1 = "writing-tests/test-add\
|
|
1187
|
+
on", Wa = `${U1}#what-happens-if-vitest-itself-has-an-error`;
|
|
1188
|
+
var $1 = {
|
|
1189
|
+
id: Ze,
|
|
1190
|
+
initialState: {
|
|
1191
|
+
config: {
|
|
1192
|
+
coverage: !1,
|
|
1193
|
+
a11y: !1
|
|
1194
|
+
},
|
|
1195
|
+
watching: !1
|
|
1196
|
+
}
|
|
1197
|
+
}, Xa = `UNIVERSAL_STORE:${$1.id}`, D0 = "storybook/component-test";
|
|
1198
|
+
|
|
1199
|
+
// src/component-testing/constants.ts
|
|
1200
|
+
var de = "storybook/component-tests", P0 = `${de}/panel`, Je = "writing-tests/test-addon", q0 = `${Je}#what-happens-when-there-are-different\
|
|
1201
|
+
-test-results-in-multiple-environments`;
|
|
1202
|
+
|
|
1203
|
+
// src/component-testing/components/InteractionsPanel.tsx
|
|
1204
|
+
import * as S from "react";
|
|
1205
|
+
import { transparentize as ya } from "polished";
|
|
1206
|
+
import { styled as we } from "storybook/theming";
|
|
1207
|
+
|
|
1208
|
+
// src/component-testing/utils.ts
|
|
1209
|
+
var mt = G(vt(), 1);
|
|
1210
|
+
import { useTheme as z5 } from "storybook/theming";
|
|
1211
|
+
|
|
1212
|
+
// ../node_modules/ansi-regex/index.js
|
|
1213
|
+
function n0({ onlyFirst: e = !1 } = {}) {
|
|
1214
|
+
let t = [
|
|
1215
|
+
"[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)",
|
|
1216
|
+
"(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"
|
|
1217
|
+
].join("|");
|
|
1218
|
+
return new RegExp(t, e ? void 0 : "g");
|
|
1219
|
+
}
|
|
1220
|
+
l(n0, "ansiRegex");
|
|
1221
|
+
|
|
1222
|
+
// ../node_modules/strip-ansi/index.js
|
|
1223
|
+
var I5 = n0();
|
|
1224
|
+
function o0(e) {
|
|
1225
|
+
if (typeof e != "string")
|
|
1226
|
+
throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);
|
|
1227
|
+
return e.replace(I5, "");
|
|
1228
|
+
}
|
|
1229
|
+
l(o0, "stripAnsi");
|
|
1230
|
+
|
|
1231
|
+
// src/component-testing/utils.ts
|
|
1232
|
+
function wt(e) {
|
|
1233
|
+
return c0(e) || i0(e);
|
|
1234
|
+
}
|
|
1235
|
+
l(wt, "isTestAssertionError");
|
|
1236
|
+
function c0(e) {
|
|
1237
|
+
return e && typeof e == "object" && "name" in e && typeof e.name == "string" && e.name === "AssertionError";
|
|
1238
|
+
}
|
|
1239
|
+
l(c0, "isChaiError");
|
|
1240
|
+
function i0(e) {
|
|
1241
|
+
return e && typeof e == "object" && "message" in e && typeof e.message == "string" && o0(e.message).startsWith("expect(");
|
|
1242
|
+
}
|
|
1243
|
+
l(i0, "isJestError");
|
|
1244
|
+
function A5(e) {
|
|
1245
|
+
return new mt.default({
|
|
1246
|
+
escapeXML: !0,
|
|
1247
|
+
fg: e.color.defaultText,
|
|
1248
|
+
bg: e.background.content
|
|
1249
|
+
});
|
|
1250
|
+
}
|
|
1251
|
+
l(A5, "createAnsiToHtmlFilter");
|
|
1252
|
+
function ve() {
|
|
1253
|
+
let e = z5();
|
|
1254
|
+
return A5(e);
|
|
1255
|
+
}
|
|
1256
|
+
l(ve, "useAnsiToHtmlFilter");
|
|
1257
|
+
|
|
1258
|
+
// src/component-testing/components/EmptyState.tsx
|
|
1259
|
+
import me, { useEffect as L5, useState as H5 } from "react";
|
|
1260
|
+
import { EmptyTabContent as S5, Link as B5 } from "storybook/internal/components";
|
|
1261
|
+
|
|
1262
|
+
// ../node_modules/@storybook/icons/dist/index.mjs
|
|
1263
|
+
import * as E from "react";
|
|
1264
|
+
var gt = /* @__PURE__ */ E.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, a) => /* @__PURE__ */ E.createElement(
|
|
1265
|
+
"svg",
|
|
1266
|
+
{
|
|
1267
|
+
width: t,
|
|
1268
|
+
height: t,
|
|
1269
|
+
viewBox: "0 0 14 14",
|
|
1270
|
+
fill: "none",
|
|
1271
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1272
|
+
ref: a,
|
|
1273
|
+
...r
|
|
1274
|
+
},
|
|
1275
|
+
/* @__PURE__ */ E.createElement(
|
|
1276
|
+
"path",
|
|
1277
|
+
{
|
|
1278
|
+
d: "M12.813 7.425l-9.05 5.603A.5.5 0 013 12.603V1.398a.5.5 0 01.763-.425l9.05 5.602a.5.5 0 010 .85z",
|
|
1279
|
+
fill: e
|
|
1280
|
+
}
|
|
1281
|
+
)
|
|
1282
|
+
)), Rt = /* @__PURE__ */ E.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, a) => /* @__PURE__ */ E.createElement(
|
|
1283
|
+
"svg",
|
|
1284
|
+
{
|
|
1285
|
+
width: t,
|
|
1286
|
+
height: t,
|
|
1287
|
+
viewBox: "0 0 14 14",
|
|
1288
|
+
fill: "none",
|
|
1289
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1290
|
+
ref: a,
|
|
1291
|
+
...r
|
|
1292
|
+
},
|
|
1293
|
+
/* @__PURE__ */ E.createElement(
|
|
1294
|
+
"path",
|
|
1295
|
+
{
|
|
1296
|
+
d: "M11.24 12.035L3.697 7.427A.494.494 0 013.5 7.2v4.05a.75.75 0 01-1.5 0v-8.5a.75.75 0 011.5 0V6.8a.494.494 0 01.198-.227l7.541-4.608\
|
|
1297
|
+
A.5.5 0 0112 2.39v9.217a.5.5 0 01-.76.427z",
|
|
1298
|
+
fill: e
|
|
1299
|
+
}
|
|
1300
|
+
)
|
|
1301
|
+
)), Et = /* @__PURE__ */ E.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, a) => /* @__PURE__ */ E.createElement(
|
|
1302
|
+
"svg",
|
|
1303
|
+
{
|
|
1304
|
+
width: t,
|
|
1305
|
+
height: t,
|
|
1306
|
+
viewBox: "0 0 14 14",
|
|
1307
|
+
fill: "none",
|
|
1308
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1309
|
+
ref: a,
|
|
1310
|
+
...r
|
|
1311
|
+
},
|
|
1312
|
+
/* @__PURE__ */ E.createElement(
|
|
1313
|
+
"path",
|
|
1314
|
+
{
|
|
1315
|
+
d: "M2.76 12.035l7.542-4.608A.495.495 0 0010.5 7.2v4.05a.75.75 0 001.5 0v-8.5a.75.75 0 00-1.5 0V6.8a.495.495 0 00-.198-.227L2.76 1.965\
|
|
1316
|
+
A.5.5 0 002 2.39v9.217a.5.5 0 00.76.427z",
|
|
1317
|
+
fill: e
|
|
1318
|
+
}
|
|
1319
|
+
)
|
|
1320
|
+
)), bt = /* @__PURE__ */ E.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, a) => /* @__PURE__ */ E.createElement(
|
|
1321
|
+
"svg",
|
|
1322
|
+
{
|
|
1323
|
+
width: t,
|
|
1324
|
+
height: t,
|
|
1325
|
+
viewBox: "0 0 14 14",
|
|
1326
|
+
fill: "none",
|
|
1327
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1328
|
+
ref: a,
|
|
1329
|
+
...r
|
|
1330
|
+
},
|
|
1331
|
+
/* @__PURE__ */ E.createElement(
|
|
1332
|
+
"path",
|
|
1333
|
+
{
|
|
1334
|
+
d: "M9 2.42v2.315l4.228-2.736a.5.5 0 01.772.42v9.162a.5.5 0 01-.772.42L9 9.263v2.317a.5.5 0 01-.772.42L1.5 7.647v3.603a.75.75 0 01-1.5\
|
|
1335
|
+
0v-8.5a.75.75 0 011.5 0v3.603L8.228 2A.5.5 0 019 2.42z",
|
|
1336
|
+
fill: e
|
|
1337
|
+
}
|
|
1338
|
+
)
|
|
1339
|
+
)), xt = /* @__PURE__ */ E.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, a) => /* @__PURE__ */ E.createElement(
|
|
1340
|
+
"svg",
|
|
1341
|
+
{
|
|
1342
|
+
width: t,
|
|
1343
|
+
height: t,
|
|
1344
|
+
viewBox: "0 0 14 14",
|
|
1345
|
+
fill: "none",
|
|
1346
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1347
|
+
ref: a,
|
|
1348
|
+
...r
|
|
1349
|
+
},
|
|
1350
|
+
/* @__PURE__ */ E.createElement(
|
|
1351
|
+
"path",
|
|
1352
|
+
{
|
|
1353
|
+
d: "M5 2.42v2.315L.772 1.999a.5.5 0 00-.772.42v9.162a.5.5 0 00.772.42L5 9.263v2.317a.5.5 0 00.772.42L12.5 7.647v3.603a.75.75 0 001.5 0\
|
|
1354
|
+
v-8.5a.75.75 0 00-1.5 0v3.603L5.772 2A.5.5 0 005 2.42z",
|
|
1355
|
+
fill: e
|
|
1356
|
+
}
|
|
1357
|
+
)
|
|
1358
|
+
)), Ct = /* @__PURE__ */ E.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, a) => /* @__PURE__ */ E.createElement(
|
|
1359
|
+
"svg",
|
|
1360
|
+
{
|
|
1361
|
+
width: t,
|
|
1362
|
+
height: t,
|
|
1363
|
+
viewBox: "0 0 14 14",
|
|
1364
|
+
fill: "none",
|
|
1365
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1366
|
+
ref: a,
|
|
1367
|
+
...r
|
|
1368
|
+
},
|
|
1369
|
+
/* @__PURE__ */ E.createElement(
|
|
1370
|
+
"path",
|
|
1371
|
+
{
|
|
1372
|
+
d: "M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11z",
|
|
1373
|
+
fill: e
|
|
1374
|
+
}
|
|
1375
|
+
)
|
|
1376
|
+
));
|
|
1377
|
+
var Mt = /* @__PURE__ */ E.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, a) => /* @__PURE__ */ E.createElement(
|
|
1378
|
+
"svg",
|
|
1379
|
+
{
|
|
1380
|
+
width: t,
|
|
1381
|
+
height: t,
|
|
1382
|
+
viewBox: "0 0 14 14",
|
|
1383
|
+
fill: "none",
|
|
1384
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1385
|
+
ref: a,
|
|
1386
|
+
...r
|
|
1387
|
+
},
|
|
1388
|
+
/* @__PURE__ */ E.createElement(
|
|
1389
|
+
"path",
|
|
1390
|
+
{
|
|
1391
|
+
d: "M4 5.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zM4.5 7.5a.5.5 0 000 1h5a.5.5 0 000-1h-5zM4 10.5a.5.5 0 01.5-.5h5a.5.5 0 01\
|
|
1392
|
+
0 1h-5a.5.5 0 01-.5-.5z",
|
|
1393
|
+
fill: e
|
|
1394
|
+
}
|
|
1395
|
+
),
|
|
1396
|
+
/* @__PURE__ */ E.createElement(
|
|
1397
|
+
"path",
|
|
1398
|
+
{
|
|
1399
|
+
fillRule: "evenodd",
|
|
1400
|
+
clipRule: "evenodd",
|
|
1401
|
+
d: "M1.5 0a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h11a.5.5 0 00.5-.5V3.207a.5.5 0 00-.146-.353L10.146.146A.5.5 0 009.793 0H1.5zM2 1h7.5v2a.5.5\
|
|
1402
|
+
0 00.5.5h2V13H2V1z",
|
|
1403
|
+
fill: e
|
|
1404
|
+
}
|
|
1405
|
+
)
|
|
1406
|
+
));
|
|
1407
|
+
var yt = /* @__PURE__ */ E.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, a) => /* @__PURE__ */ E.createElement(
|
|
1408
|
+
"svg",
|
|
1409
|
+
{
|
|
1410
|
+
width: t,
|
|
1411
|
+
height: t,
|
|
1412
|
+
viewBox: "0 0 14 14",
|
|
1413
|
+
fill: "none",
|
|
1414
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1415
|
+
ref: a,
|
|
1416
|
+
...r
|
|
1417
|
+
},
|
|
1418
|
+
/* @__PURE__ */ E.createElement(
|
|
1419
|
+
"path",
|
|
1420
|
+
{
|
|
1421
|
+
d: "M2.75 2.5a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM5.5 2a.5.5 0 000 1h7a.5.5 0 000-1h-7zM5.5 11a.5.5 0 000 1h7a.5.5 0 000-1h-7zM2 12.25\
|
|
1422
|
+
a.75.75 0 100-1.5.75.75 0 000 1.5zM5 7a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7A.5.5 0 015 7zM2 7.75a.75.75 0 100-1.5.75.75 0 000 1.5z",
|
|
1423
|
+
fill: e
|
|
1424
|
+
}
|
|
1425
|
+
)
|
|
1426
|
+
));
|
|
1427
|
+
var It = /* @__PURE__ */ E.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, a) => /* @__PURE__ */ E.createElement(
|
|
1428
|
+
"svg",
|
|
1429
|
+
{
|
|
1430
|
+
width: t,
|
|
1431
|
+
height: t,
|
|
1432
|
+
viewBox: "0 0 14 14",
|
|
1433
|
+
fill: "none",
|
|
1434
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1435
|
+
ref: a,
|
|
1436
|
+
...r
|
|
1437
|
+
},
|
|
1438
|
+
/* @__PURE__ */ E.createElement(
|
|
1439
|
+
"path",
|
|
1440
|
+
{
|
|
1441
|
+
d: "M13.854 3.354a.5.5 0 00-.708-.708L5 10.793.854 6.646a.5.5 0 10-.708.708l4.5 4.5a.5.5 0 00.708 0l8.5-8.5z",
|
|
1442
|
+
fill: e
|
|
1443
|
+
}
|
|
1444
|
+
)
|
|
1445
|
+
));
|
|
1446
|
+
var zt = /* @__PURE__ */ E.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, a) => /* @__PURE__ */ E.createElement(
|
|
1447
|
+
"svg",
|
|
1448
|
+
{
|
|
1449
|
+
width: t,
|
|
1450
|
+
height: t,
|
|
1451
|
+
viewBox: "0 0 14 14",
|
|
1452
|
+
fill: "none",
|
|
1453
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1454
|
+
ref: a,
|
|
1455
|
+
...r
|
|
1456
|
+
},
|
|
1457
|
+
/* @__PURE__ */ E.createElement("path", { d: "M14 7A7 7 0 110 7a7 7 0 0114 0z", fill: e })
|
|
1458
|
+
));
|
|
1459
|
+
var At = /* @__PURE__ */ E.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, a) => /* @__PURE__ */ E.createElement(
|
|
1460
|
+
"svg",
|
|
1461
|
+
{
|
|
1462
|
+
width: t,
|
|
1463
|
+
height: t,
|
|
1464
|
+
viewBox: "0 0 14 14",
|
|
1465
|
+
fill: "none",
|
|
1466
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1467
|
+
ref: a,
|
|
1468
|
+
...r
|
|
1469
|
+
},
|
|
1470
|
+
/* @__PURE__ */ E.createElement(
|
|
1471
|
+
"path",
|
|
1472
|
+
{
|
|
1473
|
+
d: "M5.5 1A.5.5 0 005 .5H2a.5.5 0 000 1h1.535a6.502 6.502 0 002.383 11.91.5.5 0 10.165-.986A5.502 5.502 0 014.5 2.1V4a.5.5 0 001 0V1.3\
|
|
1474
|
+
53a.5.5 0 000-.023V1zM7.507 1a.5.5 0 01.576-.41 6.502 6.502 0 012.383 11.91H12a.5.5 0 010 1H9a.5.5 0 01-.5-.5v-3a.5.5 0 011 0v1.9A5.5 5.5 0 \
|
|
1475
|
+
007.917 1.576.5.5 0 017.507 1z",
|
|
1476
|
+
fill: e
|
|
1477
|
+
}
|
|
1478
|
+
)
|
|
1479
|
+
));
|
|
1480
|
+
|
|
1481
|
+
// src/component-testing/components/EmptyState.tsx
|
|
1482
|
+
import { useStorybookApi as T5 } from "storybook/manager-api";
|
|
1483
|
+
import { styled as Lt } from "storybook/theming";
|
|
1484
|
+
var k5 = Lt.div(({ theme: e }) => ({
|
|
1485
|
+
display: "flex",
|
|
1486
|
+
fontSize: e.typography.size.s2 - 1,
|
|
1487
|
+
gap: 25
|
|
1488
|
+
})), zl = Lt.div(({ theme: e }) => ({
|
|
1489
|
+
width: 1,
|
|
1490
|
+
height: 16,
|
|
1491
|
+
backgroundColor: e.appBorderColor
|
|
1492
|
+
})), Ht = /* @__PURE__ */ l(() => {
|
|
1493
|
+
let [e, t] = H5(!0), a = T5().getDocsUrl({
|
|
1494
|
+
subpath: Je,
|
|
1495
|
+
versioned: !0,
|
|
1496
|
+
renderer: !0
|
|
1497
|
+
});
|
|
1498
|
+
return L5(() => {
|
|
1499
|
+
let n = setTimeout(() => {
|
|
1500
|
+
t(!1);
|
|
1501
|
+
}, 100);
|
|
1502
|
+
return () => clearTimeout(n);
|
|
1503
|
+
}, []), e ? null : /* @__PURE__ */ me.createElement(
|
|
1504
|
+
S5,
|
|
1505
|
+
{
|
|
1506
|
+
title: "Component testing",
|
|
1507
|
+
description: /* @__PURE__ */ me.createElement(me.Fragment, null, "Component tests allow you to verify the functional aspects of UIs. W\
|
|
1508
|
+
rite a play function for your story and you'll see it run here."),
|
|
1509
|
+
footer: /* @__PURE__ */ me.createElement(k5, null, /* @__PURE__ */ me.createElement(B5, { href: a, target: "_blank", withArrow: !0 }, /* @__PURE__ */ me.
|
|
1510
|
+
createElement(Mt, null), " Read docs"))
|
|
1511
|
+
}
|
|
1512
|
+
);
|
|
1513
|
+
}, "Empty");
|
|
1514
|
+
|
|
1515
|
+
// src/component-testing/components/Interaction.tsx
|
|
1516
|
+
import * as z from "react";
|
|
1517
|
+
import { IconButton as Ur, TooltipNote as $r, WithTooltip as Gr } from "storybook/internal/components";
|
|
1518
|
+
import { CallStates as ue } from "storybook/internal/instrumenter";
|
|
1519
|
+
import { transparentize as Wr } from "polished";
|
|
1520
|
+
import { styled as oe, typography as Ge } from "storybook/theming";
|
|
1521
|
+
|
|
1522
|
+
// src/component-testing/components/MatcherResult.tsx
|
|
1523
|
+
import y from "react";
|
|
1524
|
+
import { styled as w1, typography as Or } from "storybook/theming";
|
|
1525
|
+
|
|
1526
|
+
// src/component-testing/components/MethodCall.tsx
|
|
1527
|
+
import d, { Fragment as mr } from "react";
|
|
1528
|
+
|
|
1529
|
+
// ../node_modules/@devtools-ds/object-inspector/dist/esm/ObjectInspector.js
|
|
1530
|
+
var f1 = G(Oe()), h1 = G(De());
|
|
1531
|
+
import b0, { useEffect as pr, useState as vr } from "react";
|
|
1532
|
+
|
|
1533
|
+
// ../node_modules/clsx/dist/clsx.m.js
|
|
1534
|
+
function f0(e) {
|
|
1535
|
+
var t, r, a = "";
|
|
1536
|
+
if (e)
|
|
1537
|
+
if (typeof e == "object")
|
|
1538
|
+
if (Array.isArray(e))
|
|
1539
|
+
for (t = 0; t < e.length; t++)
|
|
1540
|
+
e[t] && (r = f0(e[t])) && (a && (a += " "), a += r);
|
|
1541
|
+
else
|
|
1542
|
+
for (t in e)
|
|
1543
|
+
e[t] && (r = f0(t)) && (a && (a += " "), a += r);
|
|
1544
|
+
else typeof e != "boolean" && !e.call && (a && (a += " "), a += e);
|
|
1545
|
+
return a;
|
|
1546
|
+
}
|
|
1547
|
+
l(f0, "toVal");
|
|
1548
|
+
function P() {
|
|
1549
|
+
for (var e = 0, t, r = ""; e < arguments.length; )
|
|
1550
|
+
(t = f0(arguments[e++])) && (r && (r += " "), r += t);
|
|
1551
|
+
return r;
|
|
1552
|
+
}
|
|
1553
|
+
l(P, "default");
|
|
1554
|
+
|
|
1555
|
+
// ../node_modules/@devtools-ds/object-parser/dist/esm/index.js
|
|
1556
|
+
var h0 = /* @__PURE__ */ l((e) => Array.isArray(e) || // Detect https://developer.mozilla.org/en-US/docs/Web/JavaScript/Typed_arrays
|
|
1557
|
+
ArrayBuffer.isView(e) && !(e instanceof DataView), "isArray"), u0 = /* @__PURE__ */ l((e) => e !== null && typeof e == "object" && !h0(e) &&
|
|
1558
|
+
!(e instanceof Date) && !(e instanceof RegExp) && !(e instanceof Error) && !(e instanceof WeakMap) && !(e instanceof WeakSet), "isObject"), D5 = /* @__PURE__ */ l(
|
|
1559
|
+
(e) => u0(e) || h0(e) || typeof e == "function" || e instanceof Promise, "isKnownObject"), p0 = /* @__PURE__ */ l((e) => {
|
|
1560
|
+
let t = /unique/;
|
|
1561
|
+
return Promise.race([e, t]).then((r) => r === t ? ["pending"] : ["fulfilled", r], (r) => ["rejected", r]);
|
|
1562
|
+
}, "getPromiseState"), Y = /* @__PURE__ */ l(async (e, t, r, a, n, o) => {
|
|
1563
|
+
let c = {
|
|
1564
|
+
key: e,
|
|
1565
|
+
depth: r,
|
|
1566
|
+
value: t,
|
|
1567
|
+
type: "value",
|
|
1568
|
+
parent: void 0
|
|
1569
|
+
};
|
|
1570
|
+
if (t && D5(t) && r < 100) {
|
|
1571
|
+
let i = [], s = "object";
|
|
1572
|
+
if (h0(t)) {
|
|
1573
|
+
for (let h = 0; h < t.length; h++)
|
|
1574
|
+
i.push(async () => {
|
|
1575
|
+
let f = await Y(h.toString(), t[h], r + 1, a);
|
|
1576
|
+
return f.parent = c, f;
|
|
1577
|
+
});
|
|
1578
|
+
s = "array";
|
|
1579
|
+
} else {
|
|
1580
|
+
let h = Object.getOwnPropertyNames(t);
|
|
1581
|
+
a && h.sort();
|
|
1582
|
+
for (let f = 0; f < h.length; f++) {
|
|
1583
|
+
let w;
|
|
1584
|
+
try {
|
|
1585
|
+
w = t[h[f]];
|
|
1586
|
+
} catch {
|
|
1587
|
+
}
|
|
1588
|
+
i.push(async () => {
|
|
1589
|
+
let u = await Y(h[f], w, r + 1, a);
|
|
1590
|
+
return u.parent = c, u;
|
|
1591
|
+
});
|
|
1592
|
+
}
|
|
1593
|
+
if (typeof t == "function" && (s = "function"), t instanceof Promise) {
|
|
1594
|
+
let [f, w] = await p0(t);
|
|
1595
|
+
i.push(async () => {
|
|
1596
|
+
let u = await Y("<state>", f, r + 1, a);
|
|
1597
|
+
return u.parent = c, u;
|
|
1598
|
+
}), f !== "pending" && i.push(async () => {
|
|
1599
|
+
let u = await Y("<value>", w, r + 1, a);
|
|
1600
|
+
return u.parent = c, u;
|
|
1601
|
+
}), s = "promise";
|
|
1602
|
+
}
|
|
1603
|
+
if (t instanceof Map) {
|
|
1604
|
+
let w = Array.from(t.entries()).map((u) => {
|
|
1605
|
+
let [M, T] = u;
|
|
1606
|
+
return {
|
|
1607
|
+
"<key>": M,
|
|
1608
|
+
"<value>": T
|
|
1609
|
+
};
|
|
1610
|
+
});
|
|
1611
|
+
i.push(async () => {
|
|
1612
|
+
let u = await Y("<entries>", w, r + 1, a);
|
|
1613
|
+
return u.parent = c, u;
|
|
1614
|
+
}), i.push(async () => {
|
|
1615
|
+
let u = await Y("size", t.size, r + 1, a);
|
|
1616
|
+
return u.parent = c, u;
|
|
1617
|
+
}), s = "map";
|
|
1618
|
+
}
|
|
1619
|
+
if (t instanceof Set) {
|
|
1620
|
+
let w = Array.from(t.entries()).map((u) => u[1]);
|
|
1621
|
+
i.push(async () => {
|
|
1622
|
+
let u = await Y("<entries>", w, r + 1, a);
|
|
1623
|
+
return u.parent = c, u;
|
|
1624
|
+
}), i.push(async () => {
|
|
1625
|
+
let u = await Y("size", t.size, r + 1, a);
|
|
1626
|
+
return u.parent = c, u;
|
|
1627
|
+
}), s = "set";
|
|
1628
|
+
}
|
|
1629
|
+
}
|
|
1630
|
+
t !== Object.prototype && o && i.push(async () => {
|
|
1631
|
+
let h = await Y("<prototype>", Object.getPrototypeOf(t), r + 1, a, !0);
|
|
1632
|
+
return h.parent = c, h;
|
|
1633
|
+
}), c.type = s, c.children = i, c.isPrototype = n;
|
|
1634
|
+
}
|
|
1635
|
+
return c;
|
|
1636
|
+
}, "buildAST"), kt = /* @__PURE__ */ l((e, t, r) => Y("root", e, 0, t === !1 ? t : !0, void 0, r === !1 ? r : !0), "parse");
|
|
1637
|
+
|
|
1638
|
+
// ../node_modules/@devtools-ds/themes/dist/esm/utils.js
|
|
1639
|
+
var v0 = G(Pt()), Ut = G(Ft());
|
|
1640
|
+
import Pe from "react";
|
|
1641
|
+
var $5 = ["children"];
|
|
1642
|
+
var m0 = /* @__PURE__ */ Pe.createContext({
|
|
1643
|
+
theme: "chrome",
|
|
1644
|
+
colorScheme: "light"
|
|
1645
|
+
});
|
|
1646
|
+
var $t = /* @__PURE__ */ l((e) => {
|
|
1647
|
+
let {
|
|
1648
|
+
children: t
|
|
1649
|
+
} = e, r = (0, Ut.default)(e, $5), a = Pe.useContext(m0);
|
|
1650
|
+
return /* @__PURE__ */ Pe.createElement(m0.Provider, {
|
|
1651
|
+
value: (0, v0.default)((0, v0.default)({}, a), r)
|
|
1652
|
+
}, t);
|
|
1653
|
+
}, "ThemeProvider"), le = /* @__PURE__ */ l((e, t = {}) => {
|
|
1654
|
+
let r = Pe.useContext(m0), a = e.theme || r.theme || "chrome", n = e.colorScheme || r.colorScheme || "light", o = P(t[a], t[n]);
|
|
1655
|
+
return {
|
|
1656
|
+
currentColorScheme: n,
|
|
1657
|
+
currentTheme: a,
|
|
1658
|
+
themeClass: o
|
|
1659
|
+
};
|
|
1660
|
+
}, "useTheme");
|
|
1661
|
+
|
|
1662
|
+
// ../node_modules/@devtools-ds/object-inspector/dist/esm/ObjectInspectorItem.js
|
|
1663
|
+
var R0 = G(Kt());
|
|
1664
|
+
import Ce, { useEffect as hr, useState as s1 } from "react";
|
|
1665
|
+
|
|
1666
|
+
// ../node_modules/@devtools-ds/tree/dist/esm/index.js
|
|
1667
|
+
var Ne = G(Zt()), r1 = G(t1());
|
|
1668
|
+
import q, { useState as tr, useEffect as rr } from "react";
|
|
1669
|
+
|
|
1670
|
+
// ../node_modules/@devtools-ds/tree/dist/esm/TreeContext.js
|
|
1671
|
+
import J5 from "react";
|
|
1672
|
+
var Q5 = /* @__PURE__ */ J5.createContext({
|
|
1673
|
+
isChild: !1,
|
|
1674
|
+
depth: 0,
|
|
1675
|
+
hasHover: !0
|
|
1676
|
+
}), qe = Q5;
|
|
1677
|
+
|
|
1678
|
+
// ../node_modules/@devtools-ds/tree/dist/esm/Tree.css.js
|
|
1679
|
+
var N = { tree: "Tree-tree-fbbbe38", item: "Tree-item-353d6f3", group: "Tree-group-d3c3d8a", label: "Tree-label-d819155", focusWhite: "Tree-\
|
|
1680
|
+
focusWhite-f1e00c2", arrow: "Tree-arrow-03ab2e7", hover: "Tree-hover-3cc4e5d", open: "Tree-open-3f1a336", dark: "Tree-dark-1b4aa00", chrome: "\
|
|
1681
|
+
Tree-chrome-bcbcac6", light: "Tree-light-09174ee" };
|
|
1682
|
+
|
|
1683
|
+
// ../node_modules/@devtools-ds/tree/dist/esm/index.js
|
|
1684
|
+
var er = ["theme", "hover", "colorScheme", "children", "label", "className", "onUpdate", "onSelect", "open"], be = /* @__PURE__ */ l((e) => {
|
|
1685
|
+
let {
|
|
1686
|
+
theme: t,
|
|
1687
|
+
hover: r,
|
|
1688
|
+
colorScheme: a,
|
|
1689
|
+
children: n,
|
|
1690
|
+
label: o,
|
|
1691
|
+
className: c,
|
|
1692
|
+
onUpdate: i,
|
|
1693
|
+
onSelect: s,
|
|
1694
|
+
open: h
|
|
1695
|
+
} = e, f = (0, r1.default)(e, er), {
|
|
1696
|
+
themeClass: w,
|
|
1697
|
+
currentTheme: u
|
|
1698
|
+
} = le({
|
|
1699
|
+
theme: t,
|
|
1700
|
+
colorScheme: a
|
|
1701
|
+
}, N), [M, T] = tr(h);
|
|
1702
|
+
rr(() => {
|
|
1703
|
+
T(h);
|
|
1704
|
+
}, [h]);
|
|
1705
|
+
let B = /* @__PURE__ */ l((p) => {
|
|
1706
|
+
T(p), i && i(p);
|
|
1707
|
+
}, "updateState"), A = q.Children.count(n) > 0, k = /* @__PURE__ */ l((p, R) => {
|
|
1708
|
+
if (p.isSameNode(R || null)) return;
|
|
1709
|
+
let v = p.querySelector('[tabindex="-1"]');
|
|
1710
|
+
v?.focus(), p.setAttribute("aria-selected", "true"), R?.removeAttribute("aria-selected");
|
|
1711
|
+
}, "updateFocus"), K = /* @__PURE__ */ l((p, R) => {
|
|
1712
|
+
let v = p;
|
|
1713
|
+
for (; v && v.parentElement; ) {
|
|
1714
|
+
if (v.getAttribute("role") === R)
|
|
1715
|
+
return v;
|
|
1716
|
+
v = v.parentElement;
|
|
1717
|
+
}
|
|
1718
|
+
return null;
|
|
1719
|
+
}, "getParent"), Q = /* @__PURE__ */ l((p) => {
|
|
1720
|
+
let R = K(p, "tree");
|
|
1721
|
+
return R ? Array.from(R.querySelectorAll("li")) : [];
|
|
1722
|
+
}, "getListElements"), ee = /* @__PURE__ */ l((p) => {
|
|
1723
|
+
let R = K(p, "group"), v = R?.previousElementSibling;
|
|
1724
|
+
if (v && v.getAttribute("tabindex") === "-1") {
|
|
1725
|
+
let D = v.parentElement, te = p.parentElement;
|
|
1726
|
+
k(D, te);
|
|
1727
|
+
}
|
|
1728
|
+
}, "moveBack"), O = /* @__PURE__ */ l((p, R) => {
|
|
1729
|
+
let v = Q(p);
|
|
1730
|
+
v.forEach((D) => {
|
|
1731
|
+
D.removeAttribute("aria-selected");
|
|
1732
|
+
}), R === "start" && v[0] && k(v[0]), R === "end" && v[v.length - 1] && k(v[v.length - 1]);
|
|
1733
|
+
}, "moveHome"), H = /* @__PURE__ */ l((p, R) => {
|
|
1734
|
+
let v = Q(p) || [];
|
|
1735
|
+
for (let D = 0; D < v.length; D++) {
|
|
1736
|
+
let te = v[D];
|
|
1737
|
+
if (te.getAttribute("aria-selected") === "true") {
|
|
1738
|
+
R === "up" && v[D - 1] ? k(v[D - 1], te) : R === "down" && v[D + 1] && k(v[D + 1], te);
|
|
1739
|
+
return;
|
|
1740
|
+
}
|
|
1741
|
+
}
|
|
1742
|
+
k(v[0]);
|
|
1743
|
+
}, "moveFocusAdjacent"), V = /* @__PURE__ */ l((p, R) => {
|
|
1744
|
+
let v = p.target;
|
|
1745
|
+
(p.key === "Enter" || p.key === " ") && B(!M), p.key === "ArrowRight" && M && !R ? H(v, "down") : p.key === "ArrowRight" && B(!0), p.key ===
|
|
1746
|
+
"ArrowLeft" && (!M || R) ? ee(v) : p.key === "ArrowLeft" && B(!1), p.key === "ArrowDown" && H(v, "down"), p.key === "ArrowUp" && H(v, "u\
|
|
1747
|
+
p"), p.key === "Home" && O(v, "start"), p.key === "End" && O(v, "end");
|
|
1748
|
+
}, "handleKeypress"), ie = /* @__PURE__ */ l((p, R) => {
|
|
1749
|
+
let v = p.target, D = K(v, "treeitem"), te = Q(v) || [], V0 = !1;
|
|
1750
|
+
for (let Ye = 0; Ye < te.length; Ye++) {
|
|
1751
|
+
let _0 = te[Ye];
|
|
1752
|
+
if (_0.getAttribute("aria-selected") === "true") {
|
|
1753
|
+
D && (V0 = !0, k(D, _0));
|
|
1754
|
+
break;
|
|
1755
|
+
}
|
|
1756
|
+
}
|
|
1757
|
+
!V0 && D && k(D), R || B(!M);
|
|
1758
|
+
}, "handleClick"), ge = /* @__PURE__ */ l((p) => {
|
|
1759
|
+
let R = p.currentTarget;
|
|
1760
|
+
!R.contains(document.activeElement) && R.getAttribute("role") === "tree" && R.setAttribute("tabindex", "0");
|
|
1761
|
+
}, "handleBlur"), Re = /* @__PURE__ */ l((p) => {
|
|
1762
|
+
let R = p.target;
|
|
1763
|
+
if (R.getAttribute("role") === "tree") {
|
|
1764
|
+
let v = R.querySelector('[aria-selected="true"]');
|
|
1765
|
+
v ? k(v) : H(R, "down"), R.setAttribute("tabindex", "-1");
|
|
1766
|
+
}
|
|
1767
|
+
}, "handleFocus"), Le = /* @__PURE__ */ l(() => {
|
|
1768
|
+
s?.();
|
|
1769
|
+
}, "handleButtonFocus"), se = /* @__PURE__ */ l((p) => {
|
|
1770
|
+
let R = p * 0.9 + 0.3;
|
|
1771
|
+
return {
|
|
1772
|
+
paddingLeft: `${R}em`,
|
|
1773
|
+
width: `calc(100% - ${R}em)`
|
|
1774
|
+
};
|
|
1775
|
+
}, "getPaddingStyles"), {
|
|
1776
|
+
isChild: Z,
|
|
1777
|
+
depth: b,
|
|
1778
|
+
hasHover: I
|
|
1779
|
+
} = q.useContext(qe), $ = I ? r : !1;
|
|
1780
|
+
if (!Z)
|
|
1781
|
+
return /* @__PURE__ */ q.createElement("ul", (0, Ne.default)({
|
|
1782
|
+
role: "tree",
|
|
1783
|
+
tabIndex: 0,
|
|
1784
|
+
className: P(N.tree, N.group, w, c),
|
|
1785
|
+
onFocus: Re,
|
|
1786
|
+
onBlur: ge
|
|
1787
|
+
}, f), /* @__PURE__ */ q.createElement(qe.Provider, {
|
|
1788
|
+
value: {
|
|
1789
|
+
isChild: !0,
|
|
1790
|
+
depth: 0,
|
|
1791
|
+
hasHover: $
|
|
1792
|
+
}
|
|
1793
|
+
}, /* @__PURE__ */ q.createElement(be, e)));
|
|
1794
|
+
if (!A)
|
|
1795
|
+
return /* @__PURE__ */ q.createElement("li", (0, Ne.default)({
|
|
1796
|
+
role: "treeitem",
|
|
1797
|
+
className: N.item
|
|
1798
|
+
}, f), /* @__PURE__ */ q.createElement("div", {
|
|
1799
|
+
role: "button",
|
|
1800
|
+
className: P(N.label, {
|
|
1801
|
+
[N.hover]: $,
|
|
1802
|
+
[N.focusWhite]: u === "firefox"
|
|
1803
|
+
}),
|
|
1804
|
+
tabIndex: -1,
|
|
1805
|
+
style: se(b),
|
|
1806
|
+
onKeyDown: /* @__PURE__ */ l((p) => {
|
|
1807
|
+
V(p, Z);
|
|
1808
|
+
}, "onKeyDown"),
|
|
1809
|
+
onClick: /* @__PURE__ */ l((p) => ie(p, !0), "onClick"),
|
|
1810
|
+
onFocus: Le
|
|
1811
|
+
}, /* @__PURE__ */ q.createElement("span", null, o)));
|
|
1812
|
+
let Xe = P(N.arrow, {
|
|
1813
|
+
[N.open]: M
|
|
1814
|
+
});
|
|
1815
|
+
return /* @__PURE__ */ q.createElement("li", {
|
|
1816
|
+
role: "treeitem",
|
|
1817
|
+
"aria-expanded": M,
|
|
1818
|
+
className: N.item
|
|
1819
|
+
}, /* @__PURE__ */ q.createElement("div", {
|
|
1820
|
+
role: "button",
|
|
1821
|
+
tabIndex: -1,
|
|
1822
|
+
className: P(N.label, {
|
|
1823
|
+
[N.hover]: $,
|
|
1824
|
+
[N.focusWhite]: u === "firefox"
|
|
1825
|
+
}),
|
|
1826
|
+
style: se(b),
|
|
1827
|
+
onClick: /* @__PURE__ */ l((p) => ie(p), "onClick"),
|
|
1828
|
+
onKeyDown: /* @__PURE__ */ l((p) => V(p), "onKeyDown"),
|
|
1829
|
+
onFocus: Le
|
|
1830
|
+
}, /* @__PURE__ */ q.createElement("span", null, /* @__PURE__ */ q.createElement("span", {
|
|
1831
|
+
"aria-hidden": !0,
|
|
1832
|
+
className: Xe
|
|
1833
|
+
}), /* @__PURE__ */ q.createElement("span", null, o))), /* @__PURE__ */ q.createElement("ul", (0, Ne.default)({
|
|
1834
|
+
role: "group",
|
|
1835
|
+
className: P(c, N.group)
|
|
1836
|
+
}, f), M && q.Children.map(n, (p) => /* @__PURE__ */ q.createElement(qe.Provider, {
|
|
1837
|
+
value: {
|
|
1838
|
+
isChild: !0,
|
|
1839
|
+
depth: b + 1,
|
|
1840
|
+
hasHover: $
|
|
1841
|
+
}
|
|
1842
|
+
}, p))));
|
|
1843
|
+
}, "Tree");
|
|
1844
|
+
be.defaultProps = {
|
|
1845
|
+
open: !1,
|
|
1846
|
+
hover: !0
|
|
1847
|
+
};
|
|
1848
|
+
|
|
1849
|
+
// ../node_modules/@devtools-ds/object-inspector/dist/esm/ObjectValue.js
|
|
1850
|
+
var a1 = G(Oe()), l1 = G(De());
|
|
1851
|
+
import J, { useState as lr, useEffect as nr } from "react";
|
|
1852
|
+
|
|
1853
|
+
// ../node_modules/@devtools-ds/object-inspector/dist/esm/ObjectInspector.css.js
|
|
1854
|
+
var x = { "object-inspector": "ObjectInspector-object-inspector-0c33e82", objectInspector: "ObjectInspector-object-inspector-0c33e82", "obje\
|
|
1855
|
+
ct-label": "ObjectInspector-object-label-b81482b", objectLabel: "ObjectInspector-object-label-b81482b", text: "ObjectInspector-text-25f57f3",
|
|
1856
|
+
key: "ObjectInspector-key-4f712bb", value: "ObjectInspector-value-f7ec2e5", string: "ObjectInspector-string-c496000", regex: "ObjectInspecto\
|
|
1857
|
+
r-regex-59d45a3", error: "ObjectInspector-error-b818698", boolean: "ObjectInspector-boolean-2dd1642", number: "ObjectInspector-number-a6daab\
|
|
1858
|
+
b", undefined: "ObjectInspector-undefined-3a68263", null: "ObjectInspector-null-74acb50", function: "ObjectInspector-function-07bbdcd", "fun\
|
|
1859
|
+
ction-decorator": "ObjectInspector-function-decorator-3d22c24", functionDecorator: "ObjectInspector-function-decorator-3d22c24", prototype: "\
|
|
1860
|
+
ObjectInspector-prototype-f2449ee", dark: "ObjectInspector-dark-0c96c97", chrome: "ObjectInspector-chrome-2f3ca98", light: "ObjectInspector-\
|
|
1861
|
+
light-78bef54" };
|
|
1862
|
+
|
|
1863
|
+
// ../node_modules/@devtools-ds/object-inspector/dist/esm/ObjectValue.js
|
|
1864
|
+
var ar = ["ast", "theme", "showKey", "colorScheme", "className"], F = /* @__PURE__ */ l((e, t, r, a, n) => {
|
|
1865
|
+
let o = e.includes("-") ? `"${e}"` : e, c = n <= 0;
|
|
1866
|
+
return /* @__PURE__ */ J.createElement("span", {
|
|
1867
|
+
className: x.text
|
|
1868
|
+
}, !c && a && /* @__PURE__ */ J.createElement(J.Fragment, null, /* @__PURE__ */ J.createElement("span", {
|
|
1869
|
+
className: x.key
|
|
1870
|
+
}, o), /* @__PURE__ */ J.createElement("span", null, ":\xA0")), /* @__PURE__ */ J.createElement("span", {
|
|
1871
|
+
className: r
|
|
1872
|
+
}, t));
|
|
1873
|
+
}, "buildValue"), n1 = /* @__PURE__ */ l((e) => {
|
|
1874
|
+
let {
|
|
1875
|
+
ast: t,
|
|
1876
|
+
theme: r,
|
|
1877
|
+
showKey: a,
|
|
1878
|
+
colorScheme: n,
|
|
1879
|
+
className: o
|
|
1880
|
+
} = e, c = (0, l1.default)(e, ar), {
|
|
1881
|
+
themeClass: i
|
|
1882
|
+
} = le({
|
|
1883
|
+
theme: r,
|
|
1884
|
+
colorScheme: n
|
|
1885
|
+
}, x), [s, h] = lr(/* @__PURE__ */ J.createElement("span", null)), f = /* @__PURE__ */ J.createElement("span", null);
|
|
1886
|
+
return nr(() => {
|
|
1887
|
+
t.value instanceof Promise && (/* @__PURE__ */ l(async (u) => {
|
|
1888
|
+
h(F(t.key, `Promise { "${await p0(u)}" }`, x.key, a, t.depth));
|
|
1889
|
+
}, "waitForPromiseResult"))(t.value);
|
|
1890
|
+
}, [t, a]), typeof t.value == "number" || typeof t.value == "bigint" ? f = F(t.key, String(t.value), x.number, a, t.depth) : typeof t.value ==
|
|
1891
|
+
"boolean" ? f = F(t.key, String(t.value), x.boolean, a, t.depth) : typeof t.value == "string" ? f = F(t.key, `"${t.value}"`, x.string, a, t.
|
|
1892
|
+
depth) : typeof t.value > "u" ? f = F(t.key, "undefined", x.undefined, a, t.depth) : typeof t.value == "symbol" ? f = F(t.key, t.value.toString(),
|
|
1893
|
+
x.string, a, t.depth) : typeof t.value == "function" ? f = F(t.key, `${t.value.name}()`, x.key, a, t.depth) : typeof t.value == "object" &&
|
|
1894
|
+
(t.value === null ? f = F(t.key, "null", x.null, a, t.depth) : Array.isArray(t.value) ? f = F(t.key, `Array(${t.value.length})`, x.key, a,
|
|
1895
|
+
t.depth) : t.value instanceof Date ? f = F(t.key, `Date ${t.value.toString()}`, x.value, a, t.depth) : t.value instanceof RegExp ? f = F(t.
|
|
1896
|
+
key, t.value.toString(), x.regex, a, t.depth) : t.value instanceof Error ? f = F(t.key, t.value.toString(), x.error, a, t.depth) : u0(t.value) ?
|
|
1897
|
+
f = F(t.key, "{\u2026}", x.key, a, t.depth) : f = F(t.key, t.value.constructor.name, x.key, a, t.depth)), /* @__PURE__ */ J.createElement(
|
|
1898
|
+
"span", (0, a1.default)({
|
|
1899
|
+
className: P(i, o)
|
|
1900
|
+
}, c), s, f);
|
|
1901
|
+
}, "ObjectValue");
|
|
1902
|
+
n1.defaultProps = {
|
|
1903
|
+
showKey: !0
|
|
1904
|
+
};
|
|
1905
|
+
var je = n1;
|
|
1906
|
+
|
|
1907
|
+
// ../node_modules/@devtools-ds/object-inspector/dist/esm/ObjectLabel.js
|
|
1908
|
+
var he = G(Oe()), o1 = G(De());
|
|
1909
|
+
import m from "react";
|
|
1910
|
+
var or = ["ast", "theme", "previewMax", "open", "colorScheme", "className"], xe = /* @__PURE__ */ l((e, t, r) => {
|
|
1911
|
+
let a = [];
|
|
1912
|
+
for (let n = 0; n < e.length; n++) {
|
|
1913
|
+
let o = e[n];
|
|
1914
|
+
if (o.isPrototype || (a.push(/* @__PURE__ */ m.createElement(je, {
|
|
1915
|
+
key: o.key,
|
|
1916
|
+
ast: o,
|
|
1917
|
+
showKey: r
|
|
1918
|
+
})), n < e.length - 1 ? a.push(", ") : a.push(" ")), o.isPrototype && n === e.length - 1 && (a.pop(), a.push(" ")), n === t - 1 && e.length >
|
|
1919
|
+
t) {
|
|
1920
|
+
a.push("\u2026 ");
|
|
1921
|
+
break;
|
|
1922
|
+
}
|
|
1923
|
+
}
|
|
1924
|
+
return a;
|
|
1925
|
+
}, "buildPreview"), cr = /* @__PURE__ */ l((e, t, r, a) => {
|
|
1926
|
+
let n = e.value.length;
|
|
1927
|
+
return t ? /* @__PURE__ */ m.createElement("span", null, "Array(", n, ")") : /* @__PURE__ */ m.createElement(m.Fragment, null, /* @__PURE__ */ m.
|
|
1928
|
+
createElement("span", null, `${a === "firefox" ? "Array" : ""}(${n}) [ `), xe(e.children, r, !1), /* @__PURE__ */ m.createElement("span", null,
|
|
1929
|
+
"]"));
|
|
1930
|
+
}, "getArrayLabel"), ir = /* @__PURE__ */ l((e, t, r, a) => e.isPrototype ? /* @__PURE__ */ m.createElement("span", null, `Object ${a === "f\
|
|
1931
|
+
irefox" ? "{ \u2026 }" : ""}`) : t ? /* @__PURE__ */ m.createElement("span", null, "{\u2026}") : /* @__PURE__ */ m.createElement(m.Fragment,
|
|
1932
|
+
null, /* @__PURE__ */ m.createElement("span", null, `${a === "firefox" ? "Object " : ""}{ `), xe(e.children, r, !0), /* @__PURE__ */ m.createElement(
|
|
1933
|
+
"span", null, "}")), "getObjectLabel"), sr = /* @__PURE__ */ l((e, t, r) => t ? /* @__PURE__ */ m.createElement("span", null, `Promise { "${String(
|
|
1934
|
+
e.children[0].value)}" }`) : /* @__PURE__ */ m.createElement(m.Fragment, null, /* @__PURE__ */ m.createElement("span", null, "Promise { "), xe(
|
|
1935
|
+
e.children, r, !0), /* @__PURE__ */ m.createElement("span", null, "}")), "getPromiseLabel"), dr = /* @__PURE__ */ l((e, t, r, a) => {
|
|
1936
|
+
let {
|
|
1937
|
+
size: n
|
|
1938
|
+
} = e.value;
|
|
1939
|
+
return t ? /* @__PURE__ */ m.createElement("span", null, `Map(${n})`) : /* @__PURE__ */ m.createElement(m.Fragment, null, /* @__PURE__ */ m.
|
|
1940
|
+
createElement("span", null, `Map${a === "chrome" ? `(${n})` : ""} { `), xe(e.children, r, !0), /* @__PURE__ */ m.createElement("span", null,
|
|
1941
|
+
"}"));
|
|
1942
|
+
}, "getMapLabel"), fr = /* @__PURE__ */ l((e, t, r) => {
|
|
1943
|
+
let {
|
|
1944
|
+
size: a
|
|
1945
|
+
} = e.value;
|
|
1946
|
+
return t ? /* @__PURE__ */ m.createElement("span", null, "Set(", a, ")") : /* @__PURE__ */ m.createElement(m.Fragment, null, /* @__PURE__ */ m.
|
|
1947
|
+
createElement("span", null, `Set(${e.value.size}) {`), xe(e.children, r, !0), /* @__PURE__ */ m.createElement("span", null, "}"));
|
|
1948
|
+
}, "getSetLabel"), c1 = /* @__PURE__ */ l((e) => {
|
|
1949
|
+
let {
|
|
1950
|
+
ast: t,
|
|
1951
|
+
theme: r,
|
|
1952
|
+
previewMax: a,
|
|
1953
|
+
open: n,
|
|
1954
|
+
colorScheme: o,
|
|
1955
|
+
className: c
|
|
1956
|
+
} = e, i = (0, o1.default)(e, or), {
|
|
1957
|
+
themeClass: s,
|
|
1958
|
+
currentTheme: h
|
|
1959
|
+
} = le({
|
|
1960
|
+
theme: r,
|
|
1961
|
+
colorScheme: o
|
|
1962
|
+
}, x), f = t.isPrototype || !1, w = P(x.objectLabel, s, c, {
|
|
1963
|
+
[x.prototype]: f
|
|
1964
|
+
}), u = t.depth <= 0, M = /* @__PURE__ */ l(() => /* @__PURE__ */ m.createElement("span", {
|
|
1965
|
+
className: f ? x.prototype : x.key
|
|
1966
|
+
}, u ? "" : `${t.key}: `), "Key");
|
|
1967
|
+
return t.type === "array" ? /* @__PURE__ */ m.createElement("span", (0, he.default)({
|
|
1968
|
+
className: w
|
|
1969
|
+
}, i), /* @__PURE__ */ m.createElement(M, null), cr(t, n, a, h)) : t.type === "function" ? /* @__PURE__ */ m.createElement("span", (0, he.default)(
|
|
1970
|
+
{
|
|
1971
|
+
className: w
|
|
1972
|
+
}, i), /* @__PURE__ */ m.createElement(M, null), h === "chrome" && /* @__PURE__ */ m.createElement("span", {
|
|
1973
|
+
className: x.functionDecorator
|
|
1974
|
+
}, "\u0192 "), /* @__PURE__ */ m.createElement("span", {
|
|
1975
|
+
className: P({
|
|
1976
|
+
[x.function]: !f
|
|
1977
|
+
})
|
|
1978
|
+
}, `${t.value.name}()`)) : t.type === "promise" ? /* @__PURE__ */ m.createElement("span", (0, he.default)({
|
|
1979
|
+
className: w
|
|
1980
|
+
}, i), /* @__PURE__ */ m.createElement(M, null), sr(t, n, a)) : t.type === "map" ? /* @__PURE__ */ m.createElement("span", (0, he.default)(
|
|
1981
|
+
{
|
|
1982
|
+
className: w
|
|
1983
|
+
}, i), /* @__PURE__ */ m.createElement(M, null), dr(t, n, a, h)) : t.type === "set" ? /* @__PURE__ */ m.createElement("span", (0, he.default)(
|
|
1984
|
+
{
|
|
1985
|
+
className: w
|
|
1986
|
+
}, i), /* @__PURE__ */ m.createElement(M, null), fr(t, n, a)) : /* @__PURE__ */ m.createElement("span", (0, he.default)({
|
|
1987
|
+
className: w
|
|
1988
|
+
}, i), /* @__PURE__ */ m.createElement(M, null), ir(t, n, a, h));
|
|
1989
|
+
}, "ObjectLabel");
|
|
1990
|
+
c1.defaultProps = {
|
|
1991
|
+
previewMax: 8,
|
|
1992
|
+
open: !1
|
|
1993
|
+
};
|
|
1994
|
+
var i1 = c1;
|
|
1995
|
+
|
|
1996
|
+
// ../node_modules/@devtools-ds/object-inspector/dist/esm/ObjectInspectorItem.js
|
|
1997
|
+
var E0 = /* @__PURE__ */ l((e) => {
|
|
1998
|
+
let {
|
|
1999
|
+
ast: t,
|
|
2000
|
+
expandLevel: r,
|
|
2001
|
+
depth: a
|
|
2002
|
+
} = e, [n, o] = s1(), [c, i] = s1(a < r);
|
|
2003
|
+
return hr(() => {
|
|
2004
|
+
(/* @__PURE__ */ l(async () => {
|
|
2005
|
+
if (t.type !== "value") {
|
|
2006
|
+
let h = t.children.map((u) => u()), f = await Promise.all(h), w = (0, R0.default)((0, R0.default)({}, t), {}, {
|
|
2007
|
+
children: f
|
|
2008
|
+
});
|
|
2009
|
+
o(w);
|
|
2010
|
+
}
|
|
2011
|
+
}, "resolve"))();
|
|
2012
|
+
}, [t]), n ? /* @__PURE__ */ Ce.createElement(be, {
|
|
2013
|
+
hover: !1,
|
|
2014
|
+
open: c,
|
|
2015
|
+
label: /* @__PURE__ */ Ce.createElement(i1, {
|
|
2016
|
+
open: c,
|
|
2017
|
+
ast: n
|
|
2018
|
+
}),
|
|
2019
|
+
onSelect: /* @__PURE__ */ l(() => {
|
|
2020
|
+
var s;
|
|
2021
|
+
(s = e.onSelect) === null || s === void 0 || s.call(e, t);
|
|
2022
|
+
}, "onSelect"),
|
|
2023
|
+
onUpdate: /* @__PURE__ */ l((s) => {
|
|
2024
|
+
i(s);
|
|
2025
|
+
}, "onUpdate")
|
|
2026
|
+
}, n.children.map((s) => /* @__PURE__ */ Ce.createElement(E0, {
|
|
2027
|
+
key: s.key,
|
|
2028
|
+
ast: s,
|
|
2029
|
+
depth: a + 1,
|
|
2030
|
+
expandLevel: r,
|
|
2031
|
+
onSelect: e.onSelect
|
|
2032
|
+
}))) : /* @__PURE__ */ Ce.createElement(be, {
|
|
2033
|
+
hover: !1,
|
|
2034
|
+
label: /* @__PURE__ */ Ce.createElement(je, {
|
|
2035
|
+
ast: t
|
|
2036
|
+
}),
|
|
2037
|
+
onSelect: /* @__PURE__ */ l(() => {
|
|
2038
|
+
var s;
|
|
2039
|
+
(s = e.onSelect) === null || s === void 0 || s.call(e, t);
|
|
2040
|
+
}, "onSelect")
|
|
2041
|
+
});
|
|
2042
|
+
}, "ObjectInspectorItem");
|
|
2043
|
+
E0.defaultProps = {
|
|
2044
|
+
expandLevel: 0,
|
|
2045
|
+
depth: 0
|
|
2046
|
+
};
|
|
2047
|
+
var d1 = E0;
|
|
2048
|
+
|
|
2049
|
+
// ../node_modules/@devtools-ds/object-inspector/dist/esm/ObjectInspector.js
|
|
2050
|
+
var ur = ["data", "expandLevel", "sortKeys", "includePrototypes", "className", "theme", "colorScheme", "onSelect"], Fe = /* @__PURE__ */ l((e) => {
|
|
2051
|
+
let {
|
|
2052
|
+
data: t,
|
|
2053
|
+
expandLevel: r,
|
|
2054
|
+
sortKeys: a,
|
|
2055
|
+
includePrototypes: n,
|
|
2056
|
+
className: o,
|
|
2057
|
+
theme: c,
|
|
2058
|
+
colorScheme: i,
|
|
2059
|
+
onSelect: s
|
|
2060
|
+
} = e, h = (0, h1.default)(e, ur), [f, w] = vr(void 0), {
|
|
2061
|
+
themeClass: u,
|
|
2062
|
+
currentTheme: M,
|
|
2063
|
+
currentColorScheme: T
|
|
2064
|
+
} = le({
|
|
2065
|
+
theme: c,
|
|
2066
|
+
colorScheme: i
|
|
2067
|
+
}, x);
|
|
2068
|
+
return pr(() => {
|
|
2069
|
+
(/* @__PURE__ */ l(async () => {
|
|
2070
|
+
w(await kt(t, a, n));
|
|
2071
|
+
}, "runParser"))();
|
|
2072
|
+
}, [t, a, n]), /* @__PURE__ */ b0.createElement("div", (0, f1.default)({
|
|
2073
|
+
className: P(x.objectInspector, o, u)
|
|
2074
|
+
}, h), f && /* @__PURE__ */ b0.createElement($t, {
|
|
2075
|
+
theme: M,
|
|
2076
|
+
colorScheme: T
|
|
2077
|
+
}, /* @__PURE__ */ b0.createElement(d1, {
|
|
2078
|
+
ast: f,
|
|
2079
|
+
expandLevel: r,
|
|
2080
|
+
onSelect: s
|
|
2081
|
+
})));
|
|
2082
|
+
}, "ObjectInspector");
|
|
2083
|
+
Fe.defaultProps = {
|
|
2084
|
+
expandLevel: 0,
|
|
2085
|
+
sortKeys: !0,
|
|
2086
|
+
includePrototypes: !0
|
|
2087
|
+
};
|
|
2088
|
+
|
|
2089
|
+
// src/component-testing/components/MethodCall.tsx
|
|
2090
|
+
import { useTheme as x0 } from "storybook/theming";
|
|
2091
|
+
var wr = {
|
|
2092
|
+
base: "#444",
|
|
2093
|
+
nullish: "#7D99AA",
|
|
2094
|
+
string: "#16B242",
|
|
2095
|
+
number: "#5D40D0",
|
|
2096
|
+
boolean: "#f41840",
|
|
2097
|
+
objectkey: "#698394",
|
|
2098
|
+
instance: "#A15C20",
|
|
2099
|
+
function: "#EA7509",
|
|
2100
|
+
muted: "#7D99AA",
|
|
2101
|
+
tag: {
|
|
2102
|
+
name: "#6F2CAC",
|
|
2103
|
+
suffix: "#1F99E5"
|
|
2104
|
+
},
|
|
2105
|
+
date: "#459D9C",
|
|
2106
|
+
error: {
|
|
2107
|
+
name: "#D43900",
|
|
2108
|
+
message: "#444"
|
|
2109
|
+
},
|
|
2110
|
+
regex: {
|
|
2111
|
+
source: "#A15C20",
|
|
2112
|
+
flags: "#EA7509"
|
|
2113
|
+
},
|
|
2114
|
+
meta: "#EA7509",
|
|
2115
|
+
method: "#0271B6"
|
|
2116
|
+
}, gr = {
|
|
2117
|
+
base: "#eee",
|
|
2118
|
+
nullish: "#aaa",
|
|
2119
|
+
string: "#5FE584",
|
|
2120
|
+
number: "#6ba5ff",
|
|
2121
|
+
boolean: "#ff4191",
|
|
2122
|
+
objectkey: "#accfe6",
|
|
2123
|
+
instance: "#E3B551",
|
|
2124
|
+
function: "#E3B551",
|
|
2125
|
+
muted: "#aaa",
|
|
2126
|
+
tag: {
|
|
2127
|
+
name: "#f57bff",
|
|
2128
|
+
suffix: "#8EB5FF"
|
|
2129
|
+
},
|
|
2130
|
+
date: "#70D4D3",
|
|
2131
|
+
error: {
|
|
2132
|
+
name: "#f40",
|
|
2133
|
+
message: "#eee"
|
|
2134
|
+
},
|
|
2135
|
+
regex: {
|
|
2136
|
+
source: "#FAD483",
|
|
2137
|
+
flags: "#E3B551"
|
|
2138
|
+
},
|
|
2139
|
+
meta: "#FAD483",
|
|
2140
|
+
method: "#5EC1FF"
|
|
2141
|
+
}, _ = /* @__PURE__ */ l(() => {
|
|
2142
|
+
let { base: e } = x0();
|
|
2143
|
+
return e === "dark" ? gr : wr;
|
|
2144
|
+
}, "useThemeColors"), Rr = /[^A-Z0-9]/i, u1 = /[\s.,…]+$/gm, p1 = /* @__PURE__ */ l((e, t) => {
|
|
2145
|
+
if (e.length <= t)
|
|
2146
|
+
return e;
|
|
2147
|
+
for (let r = t - 1; r >= 0; r -= 1)
|
|
2148
|
+
if (Rr.test(e[r]) && r > 10)
|
|
2149
|
+
return `${e.slice(0, r).replace(u1, "")}\u2026`;
|
|
2150
|
+
return `${e.slice(0, t).replace(u1, "")}\u2026`;
|
|
2151
|
+
}, "ellipsize"), Er = /* @__PURE__ */ l((e) => {
|
|
2152
|
+
try {
|
|
2153
|
+
return JSON.stringify(e, null, 1);
|
|
2154
|
+
} catch {
|
|
2155
|
+
return String(e);
|
|
2156
|
+
}
|
|
2157
|
+
}, "stringify"), v1 = /* @__PURE__ */ l((e, t) => e.flatMap(
|
|
2158
|
+
(r, a) => a === e.length - 1 ? [r] : [r, d.cloneElement(t, { key: `sep${a}` })]
|
|
2159
|
+
), "interleave"), ne = /* @__PURE__ */ l(({
|
|
2160
|
+
value: e,
|
|
2161
|
+
nested: t,
|
|
2162
|
+
showObjectInspector: r,
|
|
2163
|
+
callsById: a,
|
|
2164
|
+
...n
|
|
2165
|
+
}) => {
|
|
2166
|
+
switch (!0) {
|
|
2167
|
+
case e === null:
|
|
2168
|
+
return /* @__PURE__ */ d.createElement(br, { ...n });
|
|
2169
|
+
case e === void 0:
|
|
2170
|
+
return /* @__PURE__ */ d.createElement(xr, { ...n });
|
|
2171
|
+
case Array.isArray(e):
|
|
2172
|
+
return /* @__PURE__ */ d.createElement(Ir, { ...n, value: e, callsById: a });
|
|
2173
|
+
case typeof e == "string":
|
|
2174
|
+
return /* @__PURE__ */ d.createElement(Cr, { ...n, value: e });
|
|
2175
|
+
case typeof e == "number":
|
|
2176
|
+
return /* @__PURE__ */ d.createElement(Mr, { ...n, value: e });
|
|
2177
|
+
case typeof e == "boolean":
|
|
2178
|
+
return /* @__PURE__ */ d.createElement(yr, { ...n, value: e });
|
|
2179
|
+
/* eslint-disable no-underscore-dangle */
|
|
2180
|
+
case Object.prototype.hasOwnProperty.call(e, "__date__"):
|
|
2181
|
+
return /* @__PURE__ */ d.createElement(Sr, { ...n, ...e.__date__ });
|
|
2182
|
+
case Object.prototype.hasOwnProperty.call(e, "__error__"):
|
|
2183
|
+
return /* @__PURE__ */ d.createElement(Br, { ...n, ...e.__error__ });
|
|
2184
|
+
case Object.prototype.hasOwnProperty.call(e, "__regexp__"):
|
|
2185
|
+
return /* @__PURE__ */ d.createElement(Tr, { ...n, ...e.__regexp__ });
|
|
2186
|
+
case Object.prototype.hasOwnProperty.call(e, "__function__"):
|
|
2187
|
+
return /* @__PURE__ */ d.createElement(Lr, { ...n, ...e.__function__ });
|
|
2188
|
+
case Object.prototype.hasOwnProperty.call(e, "__symbol__"):
|
|
2189
|
+
return /* @__PURE__ */ d.createElement(kr, { ...n, ...e.__symbol__ });
|
|
2190
|
+
case Object.prototype.hasOwnProperty.call(e, "__element__"):
|
|
2191
|
+
return /* @__PURE__ */ d.createElement(Hr, { ...n, ...e.__element__ });
|
|
2192
|
+
case Object.prototype.hasOwnProperty.call(e, "__class__"):
|
|
2193
|
+
return /* @__PURE__ */ d.createElement(Ar, { ...n, ...e.__class__ });
|
|
2194
|
+
case Object.prototype.hasOwnProperty.call(e, "__callId__"):
|
|
2195
|
+
return /* @__PURE__ */ d.createElement(Ue, { call: a?.get(e.__callId__), callsById: a });
|
|
2196
|
+
/* eslint-enable no-underscore-dangle */
|
|
2197
|
+
case Object.prototype.toString.call(e) === "[object Object]":
|
|
2198
|
+
return /* @__PURE__ */ d.createElement(
|
|
2199
|
+
zr,
|
|
2200
|
+
{
|
|
2201
|
+
value: e,
|
|
2202
|
+
showInspector: r,
|
|
2203
|
+
callsById: a,
|
|
2204
|
+
...n
|
|
2205
|
+
}
|
|
2206
|
+
);
|
|
2207
|
+
default:
|
|
2208
|
+
return /* @__PURE__ */ d.createElement(Vr, { value: e, ...n });
|
|
2209
|
+
}
|
|
2210
|
+
}, "Node"), br = /* @__PURE__ */ l((e) => {
|
|
2211
|
+
let t = _();
|
|
2212
|
+
return /* @__PURE__ */ d.createElement("span", { style: { color: t.nullish }, ...e }, "null");
|
|
2213
|
+
}, "NullNode"), xr = /* @__PURE__ */ l((e) => {
|
|
2214
|
+
let t = _();
|
|
2215
|
+
return /* @__PURE__ */ d.createElement("span", { style: { color: t.nullish }, ...e }, "undefined");
|
|
2216
|
+
}, "UndefinedNode"), Cr = /* @__PURE__ */ l(({ value: e, ...t }) => {
|
|
2217
|
+
let r = _();
|
|
2218
|
+
return /* @__PURE__ */ d.createElement("span", { style: { color: r.string }, ...t }, JSON.stringify(p1(e, 50)));
|
|
2219
|
+
}, "StringNode"), Mr = /* @__PURE__ */ l(({ value: e, ...t }) => {
|
|
2220
|
+
let r = _();
|
|
2221
|
+
return /* @__PURE__ */ d.createElement("span", { style: { color: r.number }, ...t }, e);
|
|
2222
|
+
}, "NumberNode"), yr = /* @__PURE__ */ l(({ value: e, ...t }) => {
|
|
2223
|
+
let r = _();
|
|
2224
|
+
return /* @__PURE__ */ d.createElement("span", { style: { color: r.boolean }, ...t }, String(e));
|
|
2225
|
+
}, "BooleanNode"), Ir = /* @__PURE__ */ l(({
|
|
2226
|
+
value: e,
|
|
2227
|
+
nested: t = !1,
|
|
2228
|
+
callsById: r
|
|
2229
|
+
}) => {
|
|
2230
|
+
let a = _();
|
|
2231
|
+
if (t)
|
|
2232
|
+
return /* @__PURE__ */ d.createElement("span", { style: { color: a.base } }, "[\u2026]");
|
|
2233
|
+
let n = e.slice(0, 3).map((c, i) => /* @__PURE__ */ d.createElement(ne, { key: `${i}--${JSON.stringify(c)}`, value: c, nested: !0, callsById: r })),
|
|
2234
|
+
o = v1(n, /* @__PURE__ */ d.createElement("span", null, ", "));
|
|
2235
|
+
return e.length <= 3 ? /* @__PURE__ */ d.createElement("span", { style: { color: a.base } }, "[", o, "]") : /* @__PURE__ */ d.createElement(
|
|
2236
|
+
"span", { style: { color: a.base } }, "(", e.length, ") [", o, ", \u2026]");
|
|
2237
|
+
}, "ArrayNode"), zr = /* @__PURE__ */ l(({
|
|
2238
|
+
showInspector: e,
|
|
2239
|
+
value: t,
|
|
2240
|
+
callsById: r,
|
|
2241
|
+
nested: a = !1
|
|
2242
|
+
}) => {
|
|
2243
|
+
let n = x0().base === "dark", o = _();
|
|
2244
|
+
if (e)
|
|
2245
|
+
return /* @__PURE__ */ d.createElement(d.Fragment, null, /* @__PURE__ */ d.createElement(
|
|
2246
|
+
Fe,
|
|
2247
|
+
{
|
|
2248
|
+
id: "interactions-object-inspector",
|
|
2249
|
+
data: t,
|
|
2250
|
+
includePrototypes: !1,
|
|
2251
|
+
colorScheme: n ? "dark" : "light"
|
|
2252
|
+
}
|
|
2253
|
+
));
|
|
2254
|
+
if (a)
|
|
2255
|
+
return /* @__PURE__ */ d.createElement("span", { style: { color: o.base } }, "{\u2026}");
|
|
2256
|
+
let c = v1(
|
|
2257
|
+
Object.entries(t).slice(0, 2).map(([i, s]) => /* @__PURE__ */ d.createElement(mr, { key: i }, /* @__PURE__ */ d.createElement("span", { style: {
|
|
2258
|
+
color: o.objectkey } }, i, ": "), /* @__PURE__ */ d.createElement(ne, { value: s, callsById: r, nested: !0 }))),
|
|
2259
|
+
/* @__PURE__ */ d.createElement("span", null, ", ")
|
|
2260
|
+
);
|
|
2261
|
+
return Object.keys(t).length <= 2 ? /* @__PURE__ */ d.createElement("span", { style: { color: o.base } }, "{ ", c, " }") : /* @__PURE__ */ d.
|
|
2262
|
+
createElement("span", { style: { color: o.base } }, "(", Object.keys(t).length, ") ", "{ ", c, ", \u2026 }");
|
|
2263
|
+
}, "ObjectNode"), Ar = /* @__PURE__ */ l(({ name: e }) => {
|
|
2264
|
+
let t = _();
|
|
2265
|
+
return /* @__PURE__ */ d.createElement("span", { style: { color: t.instance } }, e);
|
|
2266
|
+
}, "ClassNode"), Lr = /* @__PURE__ */ l(({ name: e }) => {
|
|
2267
|
+
let t = _();
|
|
2268
|
+
return e ? /* @__PURE__ */ d.createElement("span", { style: { color: t.function } }, e) : /* @__PURE__ */ d.createElement("span", { style: {
|
|
2269
|
+
color: t.nullish, fontStyle: "italic" } }, "anonymous");
|
|
2270
|
+
}, "FunctionNode"), Hr = /* @__PURE__ */ l(({
|
|
2271
|
+
prefix: e,
|
|
2272
|
+
localName: t,
|
|
2273
|
+
id: r,
|
|
2274
|
+
classNames: a = [],
|
|
2275
|
+
innerText: n
|
|
2276
|
+
}) => {
|
|
2277
|
+
let o = e ? `${e}:${t}` : t, c = _();
|
|
2278
|
+
return /* @__PURE__ */ d.createElement("span", { style: { wordBreak: "keep-all" } }, /* @__PURE__ */ d.createElement("span", { key: `${o}_\
|
|
2279
|
+
lt`, style: { color: c.muted } }, "<"), /* @__PURE__ */ d.createElement("span", { key: `${o}_tag`, style: { color: c.tag.name } }, o), /* @__PURE__ */ d.
|
|
2280
|
+
createElement("span", { key: `${o}_suffix`, style: { color: c.tag.suffix } }, r ? `#${r}` : a.reduce((i, s) => `${i}.${s}`, "")), /* @__PURE__ */ d.
|
|
2281
|
+
createElement("span", { key: `${o}_gt`, style: { color: c.muted } }, ">"), !r && a.length === 0 && n && /* @__PURE__ */ d.createElement(d.
|
|
2282
|
+
Fragment, null, /* @__PURE__ */ d.createElement("span", { key: `${o}_text` }, n), /* @__PURE__ */ d.createElement("span", { key: `${o}_clo\
|
|
2283
|
+
se_lt`, style: { color: c.muted } }, "<"), /* @__PURE__ */ d.createElement("span", { key: `${o}_close_tag`, style: { color: c.tag.name } }, "\
|
|
2284
|
+
/", o), /* @__PURE__ */ d.createElement("span", { key: `${o}_close_gt`, style: { color: c.muted } }, ">")));
|
|
2285
|
+
}, "ElementNode"), Sr = /* @__PURE__ */ l(({ value: e }) => {
|
|
2286
|
+
let t = e instanceof Date ? e.toISOString() : e, [r, a, n] = t.split(/[T.Z]/), o = _();
|
|
2287
|
+
return /* @__PURE__ */ d.createElement("span", { style: { whiteSpace: "nowrap", color: o.date } }, r, /* @__PURE__ */ d.createElement("spa\
|
|
2288
|
+
n", { style: { opacity: 0.7 } }, "T"), a === "00:00:00" ? /* @__PURE__ */ d.createElement("span", { style: { opacity: 0.7 } }, a) : a, n ===
|
|
2289
|
+
"000" ? /* @__PURE__ */ d.createElement("span", { style: { opacity: 0.7 } }, ".", n) : `.${n}`, /* @__PURE__ */ d.createElement("span", { style: {
|
|
2290
|
+
opacity: 0.7 } }, "Z"));
|
|
2291
|
+
}, "DateNode"), Br = /* @__PURE__ */ l(({ name: e, message: t }) => {
|
|
2292
|
+
let r = _();
|
|
2293
|
+
return /* @__PURE__ */ d.createElement("span", { style: { color: r.error.name } }, e, t && ": ", t && /* @__PURE__ */ d.createElement("spa\
|
|
2294
|
+
n", { style: { color: r.error.message }, title: t.length > 50 ? t : "" }, p1(t, 50)));
|
|
2295
|
+
}, "ErrorNode"), Tr = /* @__PURE__ */ l(({ flags: e, source: t }) => {
|
|
2296
|
+
let r = _();
|
|
2297
|
+
return /* @__PURE__ */ d.createElement("span", { style: { whiteSpace: "nowrap", color: r.regex.flags } }, "/", /* @__PURE__ */ d.createElement(
|
|
2298
|
+
"span", { style: { color: r.regex.source } }, t), "/", e);
|
|
2299
|
+
}, "RegExpNode"), kr = /* @__PURE__ */ l(({ description: e }) => {
|
|
2300
|
+
let t = _();
|
|
2301
|
+
return /* @__PURE__ */ d.createElement("span", { style: { whiteSpace: "nowrap", color: t.instance } }, "Symbol(", e && /* @__PURE__ */ d.createElement(
|
|
2302
|
+
"span", { style: { color: t.meta } }, '"', e, '"'), ")");
|
|
2303
|
+
}, "SymbolNode"), Vr = /* @__PURE__ */ l(({ value: e }) => {
|
|
2304
|
+
let t = _();
|
|
2305
|
+
return /* @__PURE__ */ d.createElement("span", { style: { color: t.meta } }, Er(e));
|
|
2306
|
+
}, "OtherNode"), _r = /* @__PURE__ */ l(({ label: e }) => {
|
|
2307
|
+
let t = _(), { typography: r } = x0();
|
|
2308
|
+
return /* @__PURE__ */ d.createElement(
|
|
2309
|
+
"span",
|
|
2310
|
+
{
|
|
2311
|
+
style: {
|
|
2312
|
+
color: t.base,
|
|
2313
|
+
fontFamily: r.fonts.base,
|
|
2314
|
+
fontSize: r.size.s2 - 1
|
|
2315
|
+
}
|
|
2316
|
+
},
|
|
2317
|
+
e
|
|
2318
|
+
);
|
|
2319
|
+
}, "StepNode"), Ue = /* @__PURE__ */ l(({
|
|
2320
|
+
call: e,
|
|
2321
|
+
callsById: t
|
|
2322
|
+
}) => {
|
|
2323
|
+
if (!e)
|
|
2324
|
+
return null;
|
|
2325
|
+
if (e.method === "step" && e.path?.length === 0)
|
|
2326
|
+
return /* @__PURE__ */ d.createElement(_r, { label: e.args[0] });
|
|
2327
|
+
let r = e.path?.flatMap((o, c) => {
|
|
2328
|
+
let i = o.__callId__;
|
|
2329
|
+
return [
|
|
2330
|
+
i ? /* @__PURE__ */ d.createElement(Ue, { key: `elem${c}`, call: t?.get(i), callsById: t }) : /* @__PURE__ */ d.createElement("span", {
|
|
2331
|
+
key: `elem${c}` }, o),
|
|
2332
|
+
/* @__PURE__ */ d.createElement("wbr", { key: `wbr${c}` }),
|
|
2333
|
+
/* @__PURE__ */ d.createElement("span", { key: `dot${c}` }, ".")
|
|
2334
|
+
];
|
|
2335
|
+
}), a = e.args?.flatMap((o, c, i) => {
|
|
2336
|
+
let s = /* @__PURE__ */ d.createElement(ne, { key: `node${c}`, value: o, callsById: t });
|
|
2337
|
+
return c < i.length - 1 ? [s, /* @__PURE__ */ d.createElement("span", { key: `comma${c}` }, ",\xA0"), /* @__PURE__ */ d.createElement("w\
|
|
2338
|
+
br", { key: `wbr${c}` })] : [s];
|
|
2339
|
+
}), n = _();
|
|
2340
|
+
return /* @__PURE__ */ d.createElement(d.Fragment, null, /* @__PURE__ */ d.createElement("span", { style: { color: n.base } }, r), /* @__PURE__ */ d.
|
|
2341
|
+
createElement("span", { style: { color: n.method } }, e.method), /* @__PURE__ */ d.createElement("span", { style: { color: n.base } }, "(",
|
|
2342
|
+
/* @__PURE__ */ d.createElement("wbr", null), a, /* @__PURE__ */ d.createElement("wbr", null), ")"));
|
|
2343
|
+
}, "MethodCall");
|
|
2344
|
+
|
|
2345
|
+
// src/component-testing/components/MatcherResult.tsx
|
|
2346
|
+
var m1 = /* @__PURE__ */ l((e, t = 0) => {
|
|
2347
|
+
for (let r = t, a = 1; r < e.length; r += 1)
|
|
2348
|
+
if (e[r] === "(" ? a += 1 : e[r] === ")" && (a -= 1), a === 0)
|
|
2349
|
+
return e.slice(t, r);
|
|
2350
|
+
return "";
|
|
2351
|
+
}, "getParams"), C0 = /* @__PURE__ */ l((e) => {
|
|
2352
|
+
try {
|
|
2353
|
+
return e === "undefined" ? void 0 : JSON.parse(e);
|
|
2354
|
+
} catch {
|
|
2355
|
+
return e;
|
|
2356
|
+
}
|
|
2357
|
+
}, "parseValue"), Dr = w1.span(({ theme: e }) => ({
|
|
2358
|
+
color: e.base === "light" ? e.color.positiveText : e.color.positive
|
|
2359
|
+
})), Pr = w1.span(({ theme: e }) => ({
|
|
2360
|
+
color: e.base === "light" ? e.color.negativeText : e.color.negative
|
|
2361
|
+
})), M0 = /* @__PURE__ */ l(({ value: e, parsed: t }) => t ? /* @__PURE__ */ y.createElement(ne, { showObjectInspector: !0, value: e, style: {
|
|
2362
|
+
color: "#D43900" } }) : /* @__PURE__ */ y.createElement(Pr, null, e), "Received"), y0 = /* @__PURE__ */ l(({ value: e, parsed: t }) => t ? typeof e ==
|
|
2363
|
+
"string" && e.startsWith("called with") ? /* @__PURE__ */ y.createElement(y.Fragment, null, e) : /* @__PURE__ */ y.createElement(ne, { showObjectInspector: !0,
|
|
2364
|
+
value: e, style: { color: "#16B242" } }) : /* @__PURE__ */ y.createElement(Dr, null, e), "Expected"), I0 = /* @__PURE__ */ l(({
|
|
2365
|
+
message: e,
|
|
2366
|
+
style: t = {}
|
|
2367
|
+
}) => {
|
|
2368
|
+
let r = ve(), a = e.split(`
|
|
2369
|
+
`);
|
|
2370
|
+
return /* @__PURE__ */ y.createElement(
|
|
2371
|
+
"pre",
|
|
2372
|
+
{
|
|
2373
|
+
style: {
|
|
2374
|
+
margin: 0,
|
|
2375
|
+
padding: "8px 10px 8px 36px",
|
|
2376
|
+
fontSize: Or.size.s1,
|
|
2377
|
+
...t
|
|
2378
|
+
}
|
|
2379
|
+
},
|
|
2380
|
+
a.flatMap((n, o) => {
|
|
2381
|
+
if (n.startsWith("expect(")) {
|
|
2382
|
+
let w = m1(n, 7), u = w ? 7 + w.length : 0, M = w && n.slice(u).match(/\.(to|last|nth)[A-Z]\w+\(/);
|
|
2383
|
+
if (M) {
|
|
2384
|
+
let T = u + (M.index ?? 0) + M[0].length, B = m1(n, T);
|
|
2385
|
+
if (B)
|
|
2386
|
+
return [
|
|
2387
|
+
"expect(",
|
|
2388
|
+
/* @__PURE__ */ y.createElement(M0, { key: `received_${w}`, value: w }),
|
|
2389
|
+
n.slice(u, T),
|
|
2390
|
+
/* @__PURE__ */ y.createElement(y0, { key: `expected_${B}`, value: B }),
|
|
2391
|
+
n.slice(T + B.length),
|
|
2392
|
+
/* @__PURE__ */ y.createElement("br", { key: `br${o}` })
|
|
2393
|
+
];
|
|
2394
|
+
}
|
|
2395
|
+
}
|
|
2396
|
+
if (n.match(/^\s*- /))
|
|
2397
|
+
return [/* @__PURE__ */ y.createElement(y0, { key: n + o, value: n }), /* @__PURE__ */ y.createElement("br", { key: `br${o}` })];
|
|
2398
|
+
if (n.match(/^\s*\+ /) || n.match(/^Received: $/))
|
|
2399
|
+
return [/* @__PURE__ */ y.createElement(M0, { key: n + o, value: n }), /* @__PURE__ */ y.createElement("br", { key: `br${o}` })];
|
|
2400
|
+
let [, c, i] = n.match(/^(Expected|Received): (.*)$/) || [];
|
|
2401
|
+
if (c && i)
|
|
2402
|
+
return c === "Expected" ? [
|
|
2403
|
+
"Expected: ",
|
|
2404
|
+
/* @__PURE__ */ y.createElement(y0, { key: n + o, value: C0(i), parsed: !0 }),
|
|
2405
|
+
/* @__PURE__ */ y.createElement("br", { key: `br${o}` })
|
|
2406
|
+
] : [
|
|
2407
|
+
"Received: ",
|
|
2408
|
+
/* @__PURE__ */ y.createElement(M0, { key: n + o, value: C0(i), parsed: !0 }),
|
|
2409
|
+
/* @__PURE__ */ y.createElement("br", { key: `br${o}` })
|
|
2410
|
+
];
|
|
2411
|
+
let [, s, h] = n.match(/(Expected number|Received number|Number) of calls: (\d+)$/i) || [];
|
|
2412
|
+
if (s && h)
|
|
2413
|
+
return [
|
|
2414
|
+
`${s} of calls: `,
|
|
2415
|
+
/* @__PURE__ */ y.createElement(ne, { key: n + o, value: Number(h) }),
|
|
2416
|
+
/* @__PURE__ */ y.createElement("br", { key: `br${o}` })
|
|
2417
|
+
];
|
|
2418
|
+
let [, f] = n.match(/^Received has value: (.+)$/) || [];
|
|
2419
|
+
return f ? [
|
|
2420
|
+
"Received has value: ",
|
|
2421
|
+
/* @__PURE__ */ y.createElement(ne, { key: n + o, value: C0(f) }),
|
|
2422
|
+
/* @__PURE__ */ y.createElement("br", { key: `br${o}` })
|
|
2423
|
+
] : [
|
|
2424
|
+
/* @__PURE__ */ y.createElement(
|
|
2425
|
+
"span",
|
|
2426
|
+
{
|
|
2427
|
+
key: n + o,
|
|
2428
|
+
dangerouslySetInnerHTML: { __html: r.toHtml(n) }
|
|
2429
|
+
}
|
|
2430
|
+
),
|
|
2431
|
+
/* @__PURE__ */ y.createElement("br", { key: `br${o}` })
|
|
2432
|
+
];
|
|
2433
|
+
})
|
|
2434
|
+
);
|
|
2435
|
+
}, "MatcherResult");
|
|
2436
|
+
|
|
2437
|
+
// src/component-testing/components/StatusIcon.tsx
|
|
2438
|
+
import Me from "react";
|
|
2439
|
+
import { CallStates as $e } from "storybook/internal/instrumenter";
|
|
2440
|
+
import { transparentize as qr } from "polished";
|
|
2441
|
+
import { styled as Nr, useTheme as jr } from "storybook/theming";
|
|
2442
|
+
var Fr = Nr.div({
|
|
2443
|
+
width: 14,
|
|
2444
|
+
height: 14,
|
|
2445
|
+
display: "flex",
|
|
2446
|
+
alignItems: "center",
|
|
2447
|
+
justifyContent: "center"
|
|
2448
|
+
}), g1 = /* @__PURE__ */ l(({ status: e }) => {
|
|
2449
|
+
let t = jr();
|
|
2450
|
+
switch (e) {
|
|
2451
|
+
case $e.DONE:
|
|
2452
|
+
return /* @__PURE__ */ Me.createElement(It, { color: t.color.positive, "data-testid": "icon-done" });
|
|
2453
|
+
case $e.ERROR:
|
|
2454
|
+
return /* @__PURE__ */ Me.createElement(Ct, { color: t.color.negative, "data-testid": "icon-error" });
|
|
2455
|
+
case $e.ACTIVE:
|
|
2456
|
+
return /* @__PURE__ */ Me.createElement(gt, { color: t.color.secondary, "data-testid": "icon-active" });
|
|
2457
|
+
case $e.WAITING:
|
|
2458
|
+
return /* @__PURE__ */ Me.createElement(Fr, { "data-testid": "icon-waiting" }, /* @__PURE__ */ Me.createElement(zt, { color: qr(0.5, "\
|
|
2459
|
+
#CCCCCC"), size: 6 }));
|
|
2460
|
+
default:
|
|
2461
|
+
return null;
|
|
2462
|
+
}
|
|
2463
|
+
}, "StatusIcon");
|
|
2464
|
+
|
|
2465
|
+
// src/component-testing/components/Interaction.tsx
|
|
2466
|
+
var Xr = oe.div({
|
|
2467
|
+
fontFamily: Ge.fonts.mono,
|
|
2468
|
+
fontSize: Ge.size.s1,
|
|
2469
|
+
overflowWrap: "break-word",
|
|
2470
|
+
inlineSize: "calc( 100% - 40px )"
|
|
2471
|
+
}), Yr = oe("div", {
|
|
2472
|
+
shouldForwardProp: /* @__PURE__ */ l((e) => !["call", "pausedAt"].includes(e.toString()), "shouldForwardProp")
|
|
2473
|
+
})(
|
|
2474
|
+
({ theme: e, call: t }) => ({
|
|
2475
|
+
position: "relative",
|
|
2476
|
+
display: "flex",
|
|
2477
|
+
flexDirection: "column",
|
|
2478
|
+
borderBottom: `1px solid ${e.appBorderColor}`,
|
|
2479
|
+
fontFamily: Ge.fonts.base,
|
|
2480
|
+
fontSize: 13,
|
|
2481
|
+
...t.status === ue.ERROR && {
|
|
2482
|
+
backgroundColor: e.base === "dark" ? Wr(0.93, e.color.negative) : e.background.warning
|
|
2483
|
+
},
|
|
2484
|
+
paddingLeft: (t.ancestors?.length ?? 0) * 20
|
|
2485
|
+
}),
|
|
2486
|
+
({ theme: e, call: t, pausedAt: r }) => r === t.id && {
|
|
2487
|
+
"&::before": {
|
|
2488
|
+
content: '""',
|
|
2489
|
+
position: "absolute",
|
|
2490
|
+
top: -5,
|
|
2491
|
+
zIndex: 1,
|
|
2492
|
+
borderTop: "4.5px solid transparent",
|
|
2493
|
+
borderLeft: `7px solid ${e.color.warning}`,
|
|
2494
|
+
borderBottom: "4.5px solid transparent"
|
|
2495
|
+
},
|
|
2496
|
+
"&::after": {
|
|
2497
|
+
content: '""',
|
|
2498
|
+
position: "absolute",
|
|
2499
|
+
top: -1,
|
|
2500
|
+
zIndex: 1,
|
|
2501
|
+
width: "100%",
|
|
2502
|
+
borderTop: `1.5px solid ${e.color.warning}`
|
|
2503
|
+
}
|
|
2504
|
+
}
|
|
2505
|
+
), Kr = oe.div(({ theme: e, isInteractive: t }) => ({
|
|
2506
|
+
display: "flex",
|
|
2507
|
+
"&:hover": t ? {} : { background: e.background.hoverable }
|
|
2508
|
+
})), Zr = oe("button", {
|
|
2509
|
+
shouldForwardProp: /* @__PURE__ */ l((e) => !["call"].includes(e.toString()), "shouldForwardProp")
|
|
2510
|
+
})(({ theme: e, disabled: t, call: r }) => ({
|
|
2511
|
+
flex: 1,
|
|
2512
|
+
display: "grid",
|
|
2513
|
+
background: "none",
|
|
2514
|
+
border: 0,
|
|
2515
|
+
gridTemplateColumns: "15px 1fr",
|
|
2516
|
+
alignItems: "center",
|
|
2517
|
+
minHeight: 40,
|
|
2518
|
+
margin: 0,
|
|
2519
|
+
padding: "8px 15px",
|
|
2520
|
+
textAlign: "start",
|
|
2521
|
+
cursor: t || r.status === ue.ERROR ? "default" : "pointer",
|
|
2522
|
+
"&:focus-visible": {
|
|
2523
|
+
outline: 0,
|
|
2524
|
+
boxShadow: `inset 3px 0 0 0 ${r.status === ue.ERROR ? e.color.warning : e.color.secondary}`,
|
|
2525
|
+
background: r.status === ue.ERROR ? "transparent" : e.background.hoverable
|
|
2526
|
+
},
|
|
2527
|
+
"& > div": {
|
|
2528
|
+
opacity: r.status === ue.WAITING ? 0.5 : 1
|
|
2529
|
+
}
|
|
2530
|
+
})), Jr = oe.div({
|
|
2531
|
+
padding: 6
|
|
2532
|
+
}), Qr = oe(Ur)(({ theme: e }) => ({
|
|
2533
|
+
color: e.textMutedColor,
|
|
2534
|
+
margin: "0 3px"
|
|
2535
|
+
})), ea = oe($r)(({ theme: e }) => ({
|
|
2536
|
+
fontFamily: e.typography.fonts.base
|
|
2537
|
+
})), R1 = oe("div")(({ theme: e }) => ({
|
|
2538
|
+
padding: "8px 10px 8px 36px",
|
|
2539
|
+
fontSize: Ge.size.s1,
|
|
2540
|
+
color: e.color.defaultText,
|
|
2541
|
+
pre: {
|
|
2542
|
+
margin: 0,
|
|
2543
|
+
padding: 0
|
|
2544
|
+
}
|
|
2545
|
+
})), ta = /* @__PURE__ */ l(({ exception: e }) => {
|
|
2546
|
+
let t = ve();
|
|
2547
|
+
if (!e)
|
|
2548
|
+
return null;
|
|
2549
|
+
if (i0(e))
|
|
2550
|
+
return /* @__PURE__ */ z.createElement(I0, { ...e });
|
|
2551
|
+
if (c0(e))
|
|
2552
|
+
return /* @__PURE__ */ z.createElement(R1, null, /* @__PURE__ */ z.createElement(
|
|
2553
|
+
I0,
|
|
2554
|
+
{
|
|
2555
|
+
message: `${e.message}${e.diff ? `
|
|
2556
|
+
|
|
2557
|
+
${e.diff}` : ""}`,
|
|
2558
|
+
style: { padding: 0 }
|
|
2559
|
+
}
|
|
2560
|
+
), /* @__PURE__ */ z.createElement("p", null, "See the full stack trace in the browser console."));
|
|
2561
|
+
let r = e.message.split(`
|
|
2562
|
+
|
|
2563
|
+
`), a = r.length > 1;
|
|
2564
|
+
return /* @__PURE__ */ z.createElement(R1, null, /* @__PURE__ */ z.createElement("pre", { dangerouslySetInnerHTML: { __html: t.toHtml(r[0]) } }),
|
|
2565
|
+
a && /* @__PURE__ */ z.createElement("p", null, "See the full stack trace in the browser console."));
|
|
2566
|
+
}, "Exception"), E1 = /* @__PURE__ */ l(({
|
|
2567
|
+
call: e,
|
|
2568
|
+
callsById: t,
|
|
2569
|
+
controls: r,
|
|
2570
|
+
controlStates: a,
|
|
2571
|
+
childCallIds: n,
|
|
2572
|
+
isHidden: o,
|
|
2573
|
+
isCollapsed: c,
|
|
2574
|
+
toggleCollapsed: i,
|
|
2575
|
+
pausedAt: s
|
|
2576
|
+
}) => {
|
|
2577
|
+
let [h, f] = z.useState(!1), w = !a.goto || !e.interceptable || !!e.ancestors?.length;
|
|
2578
|
+
return o ? null : /* @__PURE__ */ z.createElement(Yr, { call: e, pausedAt: s }, /* @__PURE__ */ z.createElement(Kr, { isInteractive: w }, /* @__PURE__ */ z.createElement(
|
|
2579
|
+
Zr,
|
|
2580
|
+
{
|
|
2581
|
+
"aria-label": "Interaction step",
|
|
2582
|
+
call: e,
|
|
2583
|
+
onClick: () => r.goto(e.id),
|
|
2584
|
+
disabled: w,
|
|
2585
|
+
onMouseEnter: () => a.goto && f(!0),
|
|
2586
|
+
onMouseLeave: () => a.goto && f(!1)
|
|
2587
|
+
},
|
|
2588
|
+
/* @__PURE__ */ z.createElement(g1, { status: h ? ue.ACTIVE : e.status }),
|
|
2589
|
+
/* @__PURE__ */ z.createElement(Xr, { style: { marginLeft: 6, marginBottom: 1 } }, /* @__PURE__ */ z.createElement(Ue, { call: e, callsById: t }))
|
|
2590
|
+
), /* @__PURE__ */ z.createElement(Jr, null, (n?.length ?? 0) > 0 && /* @__PURE__ */ z.createElement(
|
|
2591
|
+
Gr,
|
|
2592
|
+
{
|
|
2593
|
+
hasChrome: !1,
|
|
2594
|
+
tooltip: /* @__PURE__ */ z.createElement(ea, { note: `${c ? "Show" : "Hide"} interactions` })
|
|
2595
|
+
},
|
|
2596
|
+
/* @__PURE__ */ z.createElement(Qr, { onClick: i }, /* @__PURE__ */ z.createElement(yt, null))
|
|
2597
|
+
))), e.status === ue.ERROR && e.exception?.callId === e.id && /* @__PURE__ */ z.createElement(ta, { exception: e.exception }));
|
|
2598
|
+
}, "Interaction");
|
|
2599
|
+
|
|
2600
|
+
// src/component-testing/components/Subnav.tsx
|
|
2601
|
+
import C from "react";
|
|
2602
|
+
import {
|
|
2603
|
+
Bar as na,
|
|
2604
|
+
Button as oa,
|
|
2605
|
+
IconButton as ca,
|
|
2606
|
+
P as ia,
|
|
2607
|
+
Separator as sa,
|
|
2608
|
+
TooltipNote as da,
|
|
2609
|
+
WithTooltip as ye
|
|
2610
|
+
} from "storybook/internal/components";
|
|
2611
|
+
import { CallStates as fa } from "storybook/internal/instrumenter";
|
|
2612
|
+
import { styled as W } from "storybook/theming";
|
|
2613
|
+
|
|
2614
|
+
// src/component-testing/components/StatusBadge.tsx
|
|
2615
|
+
import ra from "react";
|
|
2616
|
+
import { CallStates as ce } from "storybook/internal/instrumenter";
|
|
2617
|
+
import { styled as aa, typography as z0 } from "storybook/theming";
|
|
2618
|
+
var la = aa.div(({ theme: e, status: t }) => ({
|
|
2619
|
+
padding: "4px 6px 4px 8px;",
|
|
2620
|
+
borderRadius: "4px",
|
|
2621
|
+
backgroundColor: {
|
|
2622
|
+
[ce.DONE]: e.color.positive,
|
|
2623
|
+
[ce.ERROR]: e.color.negative,
|
|
2624
|
+
[ce.ACTIVE]: e.color.warning,
|
|
2625
|
+
[ce.WAITING]: e.color.warning
|
|
2626
|
+
}[t],
|
|
2627
|
+
color: "white",
|
|
2628
|
+
fontFamily: z0.fonts.base,
|
|
2629
|
+
textTransform: "uppercase",
|
|
2630
|
+
fontSize: z0.size.s1,
|
|
2631
|
+
letterSpacing: 3,
|
|
2632
|
+
fontWeight: z0.weight.bold,
|
|
2633
|
+
width: 65,
|
|
2634
|
+
textAlign: "center"
|
|
2635
|
+
})), b1 = /* @__PURE__ */ l(({ status: e }) => {
|
|
2636
|
+
let t = {
|
|
2637
|
+
[ce.DONE]: "Pass",
|
|
2638
|
+
[ce.ERROR]: "Fail",
|
|
2639
|
+
[ce.ACTIVE]: "Runs",
|
|
2640
|
+
[ce.WAITING]: "Runs"
|
|
2641
|
+
}[e];
|
|
2642
|
+
return /* @__PURE__ */ ra.createElement(la, { "aria-label": "Status of the test run", status: e }, t);
|
|
2643
|
+
}, "StatusBadge");
|
|
2644
|
+
|
|
2645
|
+
// src/component-testing/components/Subnav.tsx
|
|
2646
|
+
var ha = W.div(({ theme: e }) => ({
|
|
2647
|
+
background: e.background.app,
|
|
2648
|
+
borderBottom: `1px solid ${e.appBorderColor}`,
|
|
2649
|
+
position: "sticky",
|
|
2650
|
+
top: 0,
|
|
2651
|
+
zIndex: 1
|
|
2652
|
+
})), ua = W.nav(({ theme: e }) => ({
|
|
2653
|
+
height: 40,
|
|
2654
|
+
display: "flex",
|
|
2655
|
+
alignItems: "center",
|
|
2656
|
+
justifyContent: "space-between",
|
|
2657
|
+
paddingLeft: 15
|
|
2658
|
+
})), pa = W(oa)(({ theme: e }) => ({
|
|
2659
|
+
borderRadius: 4,
|
|
2660
|
+
padding: 6,
|
|
2661
|
+
color: e.textMutedColor,
|
|
2662
|
+
"&:not(:disabled)": {
|
|
2663
|
+
"&:hover,&:focus-visible": {
|
|
2664
|
+
color: e.color.secondary
|
|
2665
|
+
}
|
|
2666
|
+
}
|
|
2667
|
+
})), Ie = W(da)(({ theme: e }) => ({
|
|
2668
|
+
fontFamily: e.typography.fonts.base
|
|
2669
|
+
})), ze = W(ca)(({ theme: e }) => ({
|
|
2670
|
+
color: e.textMutedColor,
|
|
2671
|
+
margin: "0 3px"
|
|
2672
|
+
})), va = W(sa)({
|
|
2673
|
+
marginTop: 0
|
|
2674
|
+
}), ma = W(ia)(({ theme: e }) => ({
|
|
2675
|
+
color: e.textMutedColor,
|
|
2676
|
+
justifyContent: "flex-end",
|
|
2677
|
+
textAlign: "right",
|
|
2678
|
+
whiteSpace: "nowrap",
|
|
2679
|
+
marginTop: "auto",
|
|
2680
|
+
marginBottom: 1,
|
|
2681
|
+
paddingRight: 15,
|
|
2682
|
+
fontSize: 13
|
|
2683
|
+
})), x1 = W.div({
|
|
2684
|
+
display: "flex",
|
|
2685
|
+
alignItems: "center"
|
|
2686
|
+
}), wa = W(ze)({
|
|
2687
|
+
marginLeft: 9
|
|
2688
|
+
}), ga = W(pa)({
|
|
2689
|
+
marginLeft: 9,
|
|
2690
|
+
marginRight: 9,
|
|
2691
|
+
marginBottom: 1,
|
|
2692
|
+
lineHeight: "12px"
|
|
2693
|
+
}), Ra = W(ze)(({ theme: e, animating: t, disabled: r }) => ({
|
|
2694
|
+
opacity: r ? 0.5 : 1,
|
|
2695
|
+
svg: {
|
|
2696
|
+
animation: t ? `${e.animation.rotate360} 200ms ease-out` : void 0
|
|
2697
|
+
}
|
|
2698
|
+
})), C1 = /* @__PURE__ */ l(({
|
|
2699
|
+
controls: e,
|
|
2700
|
+
controlStates: t,
|
|
2701
|
+
status: r,
|
|
2702
|
+
storyFileName: a,
|
|
2703
|
+
onScrollToEnd: n
|
|
2704
|
+
}) => {
|
|
2705
|
+
let o = r === fa.ERROR ? "Scroll to error" : "Scroll to end";
|
|
2706
|
+
return /* @__PURE__ */ C.createElement(ha, null, /* @__PURE__ */ C.createElement(na, null, /* @__PURE__ */ C.createElement(ua, null, /* @__PURE__ */ C.
|
|
2707
|
+
createElement(x1, null, /* @__PURE__ */ C.createElement(b1, { status: r }), /* @__PURE__ */ C.createElement(ga, { onClick: n, disabled: !n },
|
|
2708
|
+
o), /* @__PURE__ */ C.createElement(va, null), /* @__PURE__ */ C.createElement(ye, { trigger: "hover", hasChrome: !1, tooltip: /* @__PURE__ */ C.
|
|
2709
|
+
createElement(Ie, { note: "Go to start" }) }, /* @__PURE__ */ C.createElement(
|
|
2710
|
+
wa,
|
|
2711
|
+
{
|
|
2712
|
+
"aria-label": "Go to start",
|
|
2713
|
+
onClick: e.start,
|
|
2714
|
+
disabled: !t.start
|
|
2715
|
+
},
|
|
2716
|
+
/* @__PURE__ */ C.createElement(bt, null)
|
|
2717
|
+
)), /* @__PURE__ */ C.createElement(ye, { trigger: "hover", hasChrome: !1, tooltip: /* @__PURE__ */ C.createElement(Ie, { note: "Go back" }) },
|
|
2718
|
+
/* @__PURE__ */ C.createElement(
|
|
2719
|
+
ze,
|
|
2720
|
+
{
|
|
2721
|
+
"aria-label": "Go back",
|
|
2722
|
+
onClick: e.back,
|
|
2723
|
+
disabled: !t.back
|
|
2724
|
+
},
|
|
2725
|
+
/* @__PURE__ */ C.createElement(Rt, null)
|
|
2726
|
+
)), /* @__PURE__ */ C.createElement(ye, { trigger: "hover", hasChrome: !1, tooltip: /* @__PURE__ */ C.createElement(Ie, { note: "Go forwar\
|
|
2727
|
+
d" }) }, /* @__PURE__ */ C.createElement(
|
|
2728
|
+
ze,
|
|
2729
|
+
{
|
|
2730
|
+
"aria-label": "Go forward",
|
|
2731
|
+
onClick: e.next,
|
|
2732
|
+
disabled: !t.next
|
|
2733
|
+
},
|
|
2734
|
+
/* @__PURE__ */ C.createElement(Et, null)
|
|
2735
|
+
)), /* @__PURE__ */ C.createElement(ye, { trigger: "hover", hasChrome: !1, tooltip: /* @__PURE__ */ C.createElement(Ie, { note: "Go to end" }) },
|
|
2736
|
+
/* @__PURE__ */ C.createElement(
|
|
2737
|
+
ze,
|
|
2738
|
+
{
|
|
2739
|
+
"aria-label": "Go to end",
|
|
2740
|
+
onClick: e.end,
|
|
2741
|
+
disabled: !t.end
|
|
2742
|
+
},
|
|
2743
|
+
/* @__PURE__ */ C.createElement(xt, null)
|
|
2744
|
+
)), /* @__PURE__ */ C.createElement(ye, { trigger: "hover", hasChrome: !1, tooltip: /* @__PURE__ */ C.createElement(Ie, { note: "Rerun" }) },
|
|
2745
|
+
/* @__PURE__ */ C.createElement(Ra, { "aria-label": "Rerun", onClick: e.rerun }, /* @__PURE__ */ C.createElement(At, null)))), a && /* @__PURE__ */ C.
|
|
2746
|
+
createElement(x1, null, /* @__PURE__ */ C.createElement(ma, null, a)))));
|
|
2747
|
+
}, "Subnav");
|
|
2748
|
+
|
|
2749
|
+
// src/component-testing/components/TestDiscrepancyMessage.tsx
|
|
2750
|
+
import M1 from "react";
|
|
2751
|
+
import { Link as Ea } from "storybook/internal/components";
|
|
2752
|
+
import { CallStates as ba } from "storybook/internal/instrumenter";
|
|
2753
|
+
import { useStorybookApi as xa } from "storybook/manager-api";
|
|
2754
|
+
import { styled as Ca } from "storybook/theming";
|
|
2755
|
+
var Ma = Ca.div(({ theme: { color: e, typography: t, background: r } }) => ({
|
|
2756
|
+
textAlign: "start",
|
|
2757
|
+
padding: "11px 15px",
|
|
2758
|
+
fontSize: `${t.size.s2}px`,
|
|
2759
|
+
fontWeight: t.weight.regular,
|
|
2760
|
+
lineHeight: "1rem",
|
|
2761
|
+
background: r.app,
|
|
2762
|
+
borderBottom: `1px solid ${e.border}`,
|
|
2763
|
+
color: e.defaultText,
|
|
2764
|
+
backgroundClip: "padding-box",
|
|
2765
|
+
position: "relative",
|
|
2766
|
+
code: {
|
|
2767
|
+
fontSize: `${t.size.s1 - 1}px`,
|
|
2768
|
+
color: "inherit",
|
|
2769
|
+
margin: "0 0.2em",
|
|
2770
|
+
padding: "0 0.2em",
|
|
2771
|
+
background: "rgba(255, 255, 255, 0.8)",
|
|
2772
|
+
borderRadius: "2px",
|
|
2773
|
+
boxShadow: "0 0 0 1px rgba(0, 0, 0, 0.1)"
|
|
2774
|
+
}
|
|
2775
|
+
})), y1 = /* @__PURE__ */ l(({ browserTestStatus: e }) => {
|
|
2776
|
+
let r = xa().getDocsUrl({
|
|
2777
|
+
subpath: q0,
|
|
2778
|
+
versioned: !0,
|
|
2779
|
+
renderer: !0
|
|
2780
|
+
}), [a, n] = e === ba.ERROR ? ["the CLI", "this browser"] : ["this browser", "the CLI"];
|
|
2781
|
+
return /* @__PURE__ */ M1.createElement(Ma, null, "This component test passed in ", a, ", but the tests failed in ", n, ".", " ", /* @__PURE__ */ M1.
|
|
2782
|
+
createElement(Ea, { href: r, target: "_blank", withArrow: !0 }, "Learn what could cause this"));
|
|
2783
|
+
}, "TestDiscrepancyMessage");
|
|
2784
|
+
|
|
2785
|
+
// src/component-testing/components/InteractionsPanel.tsx
|
|
2786
|
+
var Ia = we.div(({ theme: e }) => ({
|
|
2787
|
+
height: "100%",
|
|
2788
|
+
background: e.background.content
|
|
2789
|
+
})), I1 = we.div(({ theme: e }) => ({
|
|
2790
|
+
borderBottom: `1px solid ${e.appBorderColor}`,
|
|
2791
|
+
backgroundColor: e.base === "dark" ? ya(0.93, e.color.negative) : e.background.warning,
|
|
2792
|
+
padding: 15,
|
|
2793
|
+
fontSize: e.typography.size.s2 - 1,
|
|
2794
|
+
lineHeight: "19px"
|
|
2795
|
+
})), A0 = we.code(({ theme: e }) => ({
|
|
2796
|
+
margin: "0 1px",
|
|
2797
|
+
padding: 3,
|
|
2798
|
+
fontSize: e.typography.size.s1 - 1,
|
|
2799
|
+
lineHeight: 1,
|
|
2800
|
+
verticalAlign: "top",
|
|
2801
|
+
background: "rgba(0, 0, 0, 0.05)",
|
|
2802
|
+
border: `1px solid ${e.appBorderColor}`,
|
|
2803
|
+
borderRadius: 3
|
|
2804
|
+
})), z1 = we.div({
|
|
2805
|
+
paddingBottom: 4,
|
|
2806
|
+
fontWeight: "bold"
|
|
2807
|
+
}), za = we.p({
|
|
2808
|
+
margin: 0,
|
|
2809
|
+
padding: "0 0 20px"
|
|
2810
|
+
}), A1 = we.pre(({ theme: e }) => ({
|
|
2811
|
+
margin: 0,
|
|
2812
|
+
padding: 0,
|
|
2813
|
+
"&:not(:last-child)": {
|
|
2814
|
+
paddingBottom: 16
|
|
2815
|
+
},
|
|
2816
|
+
fontSize: e.typography.size.s1 - 1
|
|
2817
|
+
})), H1 = S.memo(
|
|
2818
|
+
/* @__PURE__ */ l(function({
|
|
2819
|
+
calls: t,
|
|
2820
|
+
controls: r,
|
|
2821
|
+
controlStates: a,
|
|
2822
|
+
interactions: n,
|
|
2823
|
+
fileName: o,
|
|
2824
|
+
hasException: c,
|
|
2825
|
+
caughtException: i,
|
|
2826
|
+
unhandledErrors: s,
|
|
2827
|
+
isPlaying: h,
|
|
2828
|
+
pausedAt: f,
|
|
2829
|
+
onScrollToEnd: w,
|
|
2830
|
+
endRef: u,
|
|
2831
|
+
hasResultMismatch: M,
|
|
2832
|
+
browserTestStatus: T
|
|
2833
|
+
}) {
|
|
2834
|
+
let B = ve();
|
|
2835
|
+
return /* @__PURE__ */ S.createElement(Ia, null, M && /* @__PURE__ */ S.createElement(y1, { browserTestStatus: T }), (n.length > 0 || c) &&
|
|
2836
|
+
/* @__PURE__ */ S.createElement(
|
|
2837
|
+
C1,
|
|
2838
|
+
{
|
|
2839
|
+
controls: r,
|
|
2840
|
+
controlStates: a,
|
|
2841
|
+
status: T,
|
|
2842
|
+
storyFileName: o,
|
|
2843
|
+
onScrollToEnd: w
|
|
2844
|
+
}
|
|
2845
|
+
), /* @__PURE__ */ S.createElement("div", { "aria-label": "Interactions list" }, n.map((A) => /* @__PURE__ */ S.createElement(
|
|
2846
|
+
E1,
|
|
2847
|
+
{
|
|
2848
|
+
key: A.id,
|
|
2849
|
+
call: A,
|
|
2850
|
+
callsById: t,
|
|
2851
|
+
controls: r,
|
|
2852
|
+
controlStates: a,
|
|
2853
|
+
childCallIds: A.childCallIds,
|
|
2854
|
+
isHidden: A.isHidden,
|
|
2855
|
+
isCollapsed: A.isCollapsed,
|
|
2856
|
+
toggleCollapsed: A.toggleCollapsed,
|
|
2857
|
+
pausedAt: f
|
|
2858
|
+
}
|
|
2859
|
+
))), i && !wt(i) && /* @__PURE__ */ S.createElement(I1, null, /* @__PURE__ */ S.createElement(z1, null, "Caught exception in ", /* @__PURE__ */ S.createElement(
|
|
2860
|
+
A0, null, "play"), " function"), /* @__PURE__ */ S.createElement(
|
|
2861
|
+
A1,
|
|
2862
|
+
{
|
|
2863
|
+
"data-chromatic": "ignore",
|
|
2864
|
+
dangerouslySetInnerHTML: {
|
|
2865
|
+
__html: B.toHtml(L1(i))
|
|
2866
|
+
}
|
|
2867
|
+
}
|
|
2868
|
+
)), s && /* @__PURE__ */ S.createElement(I1, null, /* @__PURE__ */ S.createElement(z1, null, "Unhandled Errors"), /* @__PURE__ */ S.createElement(
|
|
2869
|
+
za, null, "Found ", s.length, " unhandled error", s.length > 1 ? "s" : "", " ", "while running the play function. This might cause false\
|
|
2870
|
+
positive assertions. Resolve unhandled errors or ignore unhandled errors with setting the", /* @__PURE__ */ S.createElement(A0, null, "test\
|
|
2871
|
+
.dangerouslyIgnoreUnhandledErrors"), " ", "parameter to ", /* @__PURE__ */ S.createElement(A0, null, "true"), "."), s.map((A, k) => /* @__PURE__ */ S.createElement(
|
|
2872
|
+
A1, { key: k, "data-chromatic": "ignore" }, L1(A)))), /* @__PURE__ */ S.createElement("div", { ref: u }), !h && !i && n.length === 0 && /* @__PURE__ */ S.createElement(
|
|
2873
|
+
Ht, null));
|
|
2874
|
+
}, "InteractionsPanel")
|
|
2875
|
+
);
|
|
2876
|
+
function L1(e) {
|
|
2877
|
+
return e.stack || `${e.name}: ${e.message}`;
|
|
2878
|
+
}
|
|
2879
|
+
l(L1, "printSerializedError");
|
|
2880
|
+
|
|
2881
|
+
// src/component-testing/components/Panel.tsx
|
|
2882
|
+
var k0 = {
|
|
2883
|
+
start: !1,
|
|
2884
|
+
back: !1,
|
|
2885
|
+
goto: !1,
|
|
2886
|
+
next: !1,
|
|
2887
|
+
end: !1
|
|
2888
|
+
}, Da = {
|
|
2889
|
+
[U.DONE]: "status-value:success",
|
|
2890
|
+
[U.ERROR]: "status-value:error",
|
|
2891
|
+
[U.ACTIVE]: "status-value:pending",
|
|
2892
|
+
[U.WAITING]: "status-value:pending"
|
|
2893
|
+
}, T1 = /* @__PURE__ */ l(({
|
|
2894
|
+
log: e,
|
|
2895
|
+
calls: t,
|
|
2896
|
+
collapsed: r,
|
|
2897
|
+
setCollapsed: a
|
|
2898
|
+
}) => {
|
|
2899
|
+
let n = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
|
|
2900
|
+
return e.map(({ callId: c, ancestors: i, status: s }) => {
|
|
2901
|
+
let h = !1;
|
|
2902
|
+
return i.forEach((f) => {
|
|
2903
|
+
r.has(f) && (h = !0), o.set(f, (o.get(f) || []).concat(c));
|
|
2904
|
+
}), { ...t.get(c), status: s, isHidden: h };
|
|
2905
|
+
}).map((c) => {
|
|
2906
|
+
let i = c.status === U.ERROR && c.ancestors && n.get(c.ancestors.slice(-1)[0])?.status === U.ACTIVE ? U.ACTIVE : c.status;
|
|
2907
|
+
return n.set(c.id, { ...c, status: i }), {
|
|
2908
|
+
...c,
|
|
2909
|
+
status: i,
|
|
2910
|
+
childCallIds: o.get(c.id),
|
|
2911
|
+
isCollapsed: r.has(c.id),
|
|
2912
|
+
toggleCollapsed: /* @__PURE__ */ l(() => a((s) => (s.has(c.id) ? s.delete(c.id) : s.add(c.id), new Set(s))), "toggleCollapsed")
|
|
2913
|
+
};
|
|
2914
|
+
});
|
|
2915
|
+
}, "getInteractions"), k1 = Aa(/* @__PURE__ */ l(function({ storyId: t }) {
|
|
2916
|
+
let { statusValue: r, testRunId: a } = ka((b) => {
|
|
2917
|
+
let I = b[t]?.[D0];
|
|
2918
|
+
return {
|
|
2919
|
+
statusValue: I?.value,
|
|
2920
|
+
testRunId: I?.data?.testRunId
|
|
2921
|
+
};
|
|
2922
|
+
}), [n, o] = Va(de, {
|
|
2923
|
+
controlStates: k0,
|
|
2924
|
+
isErrored: !1,
|
|
2925
|
+
pausedAt: void 0,
|
|
2926
|
+
interactions: [],
|
|
2927
|
+
isPlaying: !1,
|
|
2928
|
+
hasException: !1,
|
|
2929
|
+
caughtException: void 0,
|
|
2930
|
+
interactionsCount: 0,
|
|
2931
|
+
unhandledErrors: void 0
|
|
2932
|
+
}), [c, i] = B0(void 0), [s, h] = B0(/* @__PURE__ */ new Set()), [f, w] = B0(!1), {
|
|
2933
|
+
controlStates: u = k0,
|
|
2934
|
+
isErrored: M = !1,
|
|
2935
|
+
pausedAt: T = void 0,
|
|
2936
|
+
interactions: B = [],
|
|
2937
|
+
isPlaying: A = !1,
|
|
2938
|
+
caughtException: k = void 0,
|
|
2939
|
+
unhandledErrors: K = void 0
|
|
2940
|
+
} = n, Q = S0([]), ee = S0(/* @__PURE__ */ new Map()), O = /* @__PURE__ */ l(({ status: b, ...I }) => ee.current.set(I.id, I), "setCall"),
|
|
2941
|
+
H = S0();
|
|
2942
|
+
H0(() => {
|
|
2943
|
+
let b;
|
|
2944
|
+
return T0.IntersectionObserver && (b = new T0.IntersectionObserver(
|
|
2945
|
+
([I]) => i(I.isIntersecting ? void 0 : I.target),
|
|
2946
|
+
{ root: T0.document.querySelector("#panel-tab-content") }
|
|
2947
|
+
), H.current && b.observe(H.current)), () => b?.disconnect();
|
|
2948
|
+
}, []);
|
|
2949
|
+
let V = _a(
|
|
2950
|
+
{
|
|
2951
|
+
[pe.CALL]: O,
|
|
2952
|
+
[pe.SYNC]: (b) => {
|
|
2953
|
+
o((I) => {
|
|
2954
|
+
let $ = T1({
|
|
2955
|
+
log: b.logItems,
|
|
2956
|
+
calls: ee.current,
|
|
2957
|
+
collapsed: s,
|
|
2958
|
+
setCollapsed: h
|
|
2959
|
+
});
|
|
2960
|
+
return {
|
|
2961
|
+
...I,
|
|
2962
|
+
controlStates: b.controlStates,
|
|
2963
|
+
pausedAt: b.pausedAt,
|
|
2964
|
+
interactions: $,
|
|
2965
|
+
interactionsCount: $.filter(({ method: Xe }) => Xe !== "step").length
|
|
2966
|
+
};
|
|
2967
|
+
}), Q.current = b.logItems;
|
|
2968
|
+
},
|
|
2969
|
+
[Sa]: (b) => {
|
|
2970
|
+
if (b.newPhase === "preparing") {
|
|
2971
|
+
o({
|
|
2972
|
+
controlStates: k0,
|
|
2973
|
+
isErrored: !1,
|
|
2974
|
+
pausedAt: void 0,
|
|
2975
|
+
interactions: [],
|
|
2976
|
+
isPlaying: !1,
|
|
2977
|
+
hasException: !1,
|
|
2978
|
+
caughtException: void 0,
|
|
2979
|
+
interactionsCount: 0,
|
|
2980
|
+
unhandledErrors: void 0
|
|
2981
|
+
});
|
|
2982
|
+
return;
|
|
2983
|
+
}
|
|
2984
|
+
o((I) => ({
|
|
2985
|
+
...I,
|
|
2986
|
+
isPlaying: b.newPhase === "playing",
|
|
2987
|
+
pausedAt: void 0,
|
|
2988
|
+
...b.newPhase === "rendering" ? {
|
|
2989
|
+
isErrored: !1,
|
|
2990
|
+
caughtException: void 0
|
|
2991
|
+
} : {}
|
|
2992
|
+
}));
|
|
2993
|
+
},
|
|
2994
|
+
[Ba]: () => {
|
|
2995
|
+
o((b) => ({ ...b, isErrored: !0, hasException: !0 }));
|
|
2996
|
+
},
|
|
2997
|
+
[Ha]: (b) => {
|
|
2998
|
+
o((I) => ({ ...I, caughtException: b, hasException: !0 }));
|
|
2999
|
+
},
|
|
3000
|
+
[Ta]: (b) => {
|
|
3001
|
+
o((I) => ({ ...I, unhandledErrors: b, hasException: !0 }));
|
|
3002
|
+
}
|
|
3003
|
+
},
|
|
3004
|
+
[s]
|
|
3005
|
+
);
|
|
3006
|
+
H0(() => {
|
|
3007
|
+
o((b) => {
|
|
3008
|
+
let I = T1({
|
|
3009
|
+
log: Q.current,
|
|
3010
|
+
calls: ee.current,
|
|
3011
|
+
collapsed: s,
|
|
3012
|
+
setCollapsed: h
|
|
3013
|
+
});
|
|
3014
|
+
return {
|
|
3015
|
+
...b,
|
|
3016
|
+
interactions: I,
|
|
3017
|
+
interactionsCount: I.filter(({ method: $ }) => $ !== "step").length
|
|
3018
|
+
};
|
|
3019
|
+
});
|
|
3020
|
+
}, [o, s]);
|
|
3021
|
+
let ie = B1(
|
|
3022
|
+
() => ({
|
|
3023
|
+
start: /* @__PURE__ */ l(() => V(pe.START, { storyId: t }), "start"),
|
|
3024
|
+
back: /* @__PURE__ */ l(() => V(pe.BACK, { storyId: t }), "back"),
|
|
3025
|
+
goto: /* @__PURE__ */ l((b) => V(pe.GOTO, { storyId: t, callId: b }), "goto"),
|
|
3026
|
+
next: /* @__PURE__ */ l(() => V(pe.NEXT, { storyId: t }), "next"),
|
|
3027
|
+
end: /* @__PURE__ */ l(() => V(pe.END, { storyId: t }), "end"),
|
|
3028
|
+
rerun: /* @__PURE__ */ l(() => {
|
|
3029
|
+
V(La, { storyId: t });
|
|
3030
|
+
}, "rerun")
|
|
3031
|
+
}),
|
|
3032
|
+
[V, t]
|
|
3033
|
+
), ge = Oa("fileName", ""), [Re] = ge.toString().split("/").slice(-1), Le = /* @__PURE__ */ l(() => c?.scrollIntoView({ behavior: "smooth",
|
|
3034
|
+
block: "end" }), "scrollToTarget"), se = !!k || !!K || // @ts-expect-error TODO
|
|
3035
|
+
B.some((b) => b.status === U.ERROR), Z = B1(() => !A && (B.length > 0 || se) ? se ? U.ERROR : U.DONE : A ? U.ACTIVE : void 0, [A, B, se]);
|
|
3036
|
+
return H0(() => {
|
|
3037
|
+
if (Z && r && r !== "status-value:pending" && r !== Da[Z]) {
|
|
3038
|
+
let I = setTimeout(
|
|
3039
|
+
() => w(($) => ($ || V(O0, {
|
|
3040
|
+
type: "test-discrepancy",
|
|
3041
|
+
payload: {
|
|
3042
|
+
browserStatus: Z === U.DONE ? "PASS" : "FAIL",
|
|
3043
|
+
cliStatus: Z === U.DONE ? "FAIL" : "PASS",
|
|
3044
|
+
storyId: t,
|
|
3045
|
+
testRunId: a
|
|
3046
|
+
}
|
|
3047
|
+
}), !0)),
|
|
3048
|
+
2e3
|
|
3049
|
+
);
|
|
3050
|
+
return () => clearTimeout(I);
|
|
3051
|
+
} else
|
|
3052
|
+
w(!1);
|
|
3053
|
+
}, [V, Z, r, t, a]), M ? /* @__PURE__ */ L0.createElement(S1, { key: "component-tests" }) : /* @__PURE__ */ L0.createElement(S1, { key: "c\
|
|
3054
|
+
omponent-tests" }, /* @__PURE__ */ L0.createElement(
|
|
3055
|
+
H1,
|
|
3056
|
+
{
|
|
3057
|
+
hasResultMismatch: f,
|
|
3058
|
+
browserTestStatus: Z,
|
|
3059
|
+
calls: ee.current,
|
|
3060
|
+
controls: ie,
|
|
3061
|
+
controlStates: u,
|
|
3062
|
+
interactions: B,
|
|
3063
|
+
fileName: Re,
|
|
3064
|
+
hasException: se,
|
|
3065
|
+
caughtException: k,
|
|
3066
|
+
unhandledErrors: K,
|
|
3067
|
+
isPlaying: A,
|
|
3068
|
+
pausedAt: T,
|
|
3069
|
+
endRef: H,
|
|
3070
|
+
onScrollToEnd: c && Le
|
|
3071
|
+
}
|
|
3072
|
+
));
|
|
3073
|
+
}, "PanelMemoized"));
|
|
3074
|
+
|
|
3075
|
+
// src/component-testing/components/PanelTitle.tsx
|
|
3076
|
+
import Ae from "react";
|
|
3077
|
+
import { Badge as V1, Spaced as Pa } from "storybook/internal/components";
|
|
3078
|
+
import { useAddonState as qa } from "storybook/manager-api";
|
|
3079
|
+
function _1() {
|
|
3080
|
+
let [e = {}] = qa(de), { hasException: t, interactionsCount: r } = e;
|
|
3081
|
+
return /* @__PURE__ */ Ae.createElement("div", null, /* @__PURE__ */ Ae.createElement(Pa, { col: 1 }, /* @__PURE__ */ Ae.createElement("sp\
|
|
3082
|
+
an", { style: { display: "inline-block", verticalAlign: "middle" } }, "Component tests"), r && !t ? /* @__PURE__ */ Ae.createElement(V1, { status: "\
|
|
3083
|
+
neutral" }, r) : null, t ? /* @__PURE__ */ Ae.createElement(V1, { status: "negative" }, r) : null));
|
|
3084
|
+
}
|
|
3085
|
+
l(_1, "PanelTitle");
|
|
3086
|
+
|
|
3087
|
+
// src/component-testing/manager.tsx
|
|
3088
|
+
O1.register(de, () => {
|
|
3089
|
+
let e = /* @__PURE__ */ l(({ state: t }) => ({
|
|
3090
|
+
storyId: t.storyId
|
|
3091
|
+
}), "filter");
|
|
3092
|
+
O1.add(P0, {
|
|
3093
|
+
type: Fa.PANEL,
|
|
3094
|
+
title: /* @__PURE__ */ l(() => /* @__PURE__ */ We.createElement(_1, null), "title"),
|
|
3095
|
+
match: /* @__PURE__ */ l(({ viewMode: t }) => t === "story", "match"),
|
|
3096
|
+
render: /* @__PURE__ */ l(({ active: t }) => /* @__PURE__ */ We.createElement(Na, { active: !!t }, /* @__PURE__ */ We.createElement(ja, {
|
|
3097
|
+
filter: e }, ({ storyId: r }) => /* @__PURE__ */ We.createElement(k1, { storyId: r }))), "render")
|
|
3098
|
+
});
|
|
3099
|
+
});
|