eddyter 1.3.58 → 1.3.60
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/LICENSE +24 -24
- package/README.md +493 -493
- package/dist/App.d.ts +2 -3
- package/dist/Provider/EditorProvider.d.ts +31 -32
- package/dist/Provider/LexicalProvider.d.ts +5 -6
- package/dist/api/ai/aiAgentService.d.ts +44 -0
- package/dist/api/ai/index.d.ts +39 -39
- package/dist/api/analytics.d.ts +21 -21
- package/dist/api/auth.d.ts +108 -108
- package/dist/api/bugReport.d.ts +27 -27
- package/dist/api/config/axios.d.ts +1 -2
- package/dist/api/config/endpoints.d.ts +24 -24
- package/dist/api/featureSuggestion.d.ts +23 -23
- package/dist/api/feedback.d.ts +26 -26
- package/dist/api/linkPreview.d.ts +15 -15
- package/dist/api/transcript/index.d.ts +68 -68
- package/dist/assets/style.css +1 -1
- package/dist/{babel-1c4a328b.js → babel-44680aef.js} +3580 -3314
- package/dist/components/AiPlugin/index.d.ts +6 -6
- package/dist/components/AlignMenu/AlignMenu.d.ts +8 -9
- package/dist/components/AlignMenu/AlignMenuDrop.d.ts +2 -3
- package/dist/components/AlignMenu/index.d.ts +1 -1
- package/dist/components/AutoExpandingDemo.d.ts +5 -6
- package/dist/components/BlockFormatMenu/BlockFormatMenu.d.ts +2 -3
- package/dist/components/BlockFormatMenu/constants.d.ts +14 -14
- package/dist/components/BlockFormatMenu/index.d.ts +1 -1
- package/dist/components/BugReportDialog/index.d.ts +6 -6
- package/dist/components/ChartEditDialog.d.ts +8 -9
- package/dist/components/ChartInsertDialog.d.ts +7 -8
- package/dist/components/CodeActionMenuPlugin/components/CopyButton/index.d.ts +6 -7
- package/dist/components/CodeActionMenuPlugin/components/PrettierButton/index.d.ts +8 -9
- package/dist/components/CodeActionMenuPlugin/index.d.ts +4 -5
- package/dist/components/CodeActionMenuPlugin/utils.d.ts +1 -1
- package/dist/components/ColorPicker/ColorPicker.d.ts +2 -3
- package/dist/components/ColorPicker/index.d.ts +1 -1
- package/dist/components/CommentSidebar/CommentSidebar.d.ts +7 -8
- package/dist/components/CommentSidebar/index.d.ts +1 -1
- package/dist/components/CommentToggle/CommentToggle.d.ts +7 -8
- package/dist/components/CommentToggle/index.d.ts +1 -1
- package/dist/components/CommentView/CommentView.d.ts +8 -9
- package/dist/components/CommentView/index.d.ts +1 -1
- package/dist/components/ConfigurableEditorWithAuth.d.ts +34 -35
- package/dist/components/ContentPreview/index.d.ts +36 -37
- package/dist/components/DatePicker/DatePickerWidget.d.ts +6 -7
- package/dist/components/EmojiPickerWidget/EmojiPickerWidget.d.ts +2 -3
- package/dist/components/EmojiPickerWidget/index.d.ts +1 -1
- package/dist/components/FeatureSuggestionDialog/index.d.ts +6 -6
- package/dist/components/FeedbackDialog/index.d.ts +7 -7
- package/dist/components/FileUpload/InsertFileDialog.d.ts +7 -7
- package/dist/components/FileUpload/InsertFileUploadedDialogBody.d.ts +4 -5
- package/dist/components/FileView/index.d.ts +8 -9
- package/dist/components/FloatingHighlightColorPicker/index.d.ts +8 -9
- package/dist/components/FontFamilySelect/FontFamilyMenu.d.ts +6 -7
- package/dist/components/FontSizePicker/FontSizeControl.d.ts +2 -3
- package/dist/components/FormatTextMenu/FormatTextMenu.d.ts +2 -3
- package/dist/components/FormatTextMenu/FormatTextMenuDrop.d.ts +2 -3
- package/dist/components/FormatTextMenu/index.d.ts +1 -1
- package/dist/components/HighlightColorPicker/HighlightColorPicker.d.ts +6 -7
- package/dist/components/HtmlCanvasComponent.d.ts +10 -0
- package/dist/components/HtmlCanvasDialog.d.ts +7 -0
- package/dist/components/HtmlPreviewDisplay.d.ts +6 -0
- package/dist/components/HtmlViewDisplay.d.ts +2 -3
- package/dist/components/ImageComparisonDialog/index.d.ts +10 -11
- package/dist/components/ImageGenerationDialog/ImageGenerationManager.d.ts +10 -11
- package/dist/components/ImageGenerationDialog/index.d.ts +10 -11
- package/dist/components/ImageInsertTest.d.ts +2 -3
- package/dist/components/ImageView/ImageDialog/ImageUploadDialogBody.d.ts +8 -9
- package/dist/components/ImageView/ImageDialog/index.d.ts +5 -6
- package/dist/components/ImageView/ImageResizer.d.ts +15 -16
- package/dist/components/ImageView/index.d.ts +16 -17
- package/dist/components/InsertMenu/InsertMenu.d.ts +8 -9
- package/dist/components/InsertMenu/InsertMenuDrop.d.ts +8 -9
- package/dist/components/InsertMenu/index.d.ts +1 -1
- package/dist/components/LanguageSelectorDialog/index.d.ts +7 -8
- package/dist/components/LinkPreviewHover/index.d.ts +40 -40
- package/dist/components/NotePanelMenu/NotePanelMenu.d.ts +5 -6
- package/dist/components/NotePanelMenu/index.d.ts +1 -1
- package/dist/components/NotePanelView/NotePanelView.d.ts +8 -9
- package/dist/components/NotePanelView/index.d.ts +1 -1
- package/dist/components/Placeholder/Placeholder.d.ts +2 -3
- package/dist/components/Placeholder/index.d.ts +1 -1
- package/dist/components/Placeholder/styles.d.ts +1 -1
- package/dist/components/PreviewDialog/index.d.ts +8 -9
- package/dist/components/ScopedEditor.d.ts +8 -8
- package/dist/components/SignatureCaption/index.d.ts +5 -6
- package/dist/components/SpeechLanguageSelector/index.d.ts +8 -9
- package/dist/components/TableColorPicker/index.d.ts +7 -8
- package/dist/components/TableModal/TableModal.d.ts +9 -10
- package/dist/components/TextEnhanceDialog/index.d.ts +9 -10
- package/dist/components/ToneAdjustDialog/index.d.ts +7 -8
- package/dist/components/Toolbar/Toolbar.d.ts +2 -3
- package/dist/components/Toolbar/index.d.ts +1 -1
- package/dist/components/Toolbar/styles.d.ts +6 -6
- package/dist/components/VoiceTranscriptIcon/VoiceTranscriptIcon.d.ts +1 -2
- package/dist/components/VoiceTranscriptIcon/index.d.ts +1 -1
- package/dist/components/ui/avatar.d.ts +6 -6
- package/dist/components/ui/badge.d.ts +8 -9
- package/dist/components/ui/button.d.ts +10 -11
- package/dist/components/ui/calendar.d.ts +7 -8
- package/dist/components/ui/card.d.ts +8 -8
- package/dist/components/ui/checkbox.d.ts +4 -4
- package/dist/components/ui/dialog.d.ts +19 -19
- package/dist/components/ui/dropdown-menu.d.ts +27 -27
- package/dist/components/ui/input.d.ts +3 -3
- package/dist/components/ui/label.d.ts +4 -4
- package/dist/components/ui/popover.d.ts +7 -7
- package/dist/components/ui/select.d.ts +13 -13
- package/dist/components/ui/separator.d.ts +4 -4
- package/dist/components/ui/sheet.d.ts +24 -24
- package/dist/components/ui/skeleton.d.ts +3 -3
- package/dist/components/ui/tabs.d.ts +7 -7
- package/dist/components/ui/textarea.d.ts +3 -3
- package/dist/components/ui/tooltip.d.ts +7 -7
- package/dist/constants.d.ts +22 -22
- package/dist/context/CommentContext.d.ts +42 -43
- package/dist/context/HtmlViewContext.d.ts +21 -17
- package/dist/context/ToolbarContext.d.ts +55 -56
- package/dist/editorConfig.d.ts +71 -70
- package/dist/{estree-2cbea43c.js → estree-a7dc9ac5.js} +1828 -1848
- package/dist/hooks/useAutoExpandingHeight.d.ts +15 -15
- package/dist/hooks/useBlockFormat.d.ts +16 -17
- package/dist/hooks/useColorPicker.d.ts +6 -6
- package/dist/hooks/useCustomCommands.d.ts +2 -3
- package/dist/hooks/useDebounce.d.ts +1 -1
- package/dist/hooks/useEditorToolbar.d.ts +9 -10
- package/dist/hooks/useFeedbackEligibility.d.ts +18 -18
- package/dist/hooks/useInsertMenu.d.ts +9 -9
- package/dist/hooks/useModal.d.ts +5 -5
- package/dist/hooks/useReactNativeBridge.d.ts +54 -54
- package/dist/hooks/useS3Uploader.d.ts +21 -21
- package/dist/hooks/useVoiceToText.d.ts +20 -20
- package/dist/{html-c18fb60e.js → html-f2fcab26.js} +689 -648
- package/dist/{html2pdf.bundle-6a3ff5a8.js → html2pdf.bundle-519d30c0.js} +1 -1
- package/dist/{html2pdf.bundle.min-60b7dc51.js → html2pdf.bundle.min-8451fd59.js} +1 -1
- package/dist/{index-93f9339c.js → index-8889e1ba.js} +5 -3
- package/dist/{index-8dff4089.js → index-98d915c4.js} +4 -3
- package/dist/{index-3c315894.js → index-e3302f38.js} +30053 -27169
- package/dist/index.d.ts +14 -14
- package/dist/index.js +15 -13
- package/dist/lib/utils.d.ts +1 -2
- package/dist/main.d.ts +0 -1
- package/dist/{markdown-39c3822b.js → markdown-48d2f5f1.js} +1734 -1689
- package/dist/nodes/ChartNode.d.ts +40 -41
- package/dist/nodes/CommentNode.d.ts +33 -34
- package/dist/nodes/CommentedTextNode.d.ts +28 -29
- package/dist/nodes/EmbedNode.d.ts +31 -32
- package/dist/nodes/FileNode.d.ts +32 -33
- package/dist/nodes/HtmlCanvasNode.d.ts +36 -0
- package/dist/nodes/ImageNode.d.ts +64 -65
- package/dist/nodes/MentionNode.d.ts +74 -75
- package/dist/nodes/NotePanelNode.d.ts +30 -31
- package/dist/nodes/UploadingFileNode.d.ts +29 -30
- package/dist/nodes/UploadingImageNode.d.ts +29 -30
- package/dist/pages/ConfigurableEditor/ConfigurableEditor.d.ts +24 -25
- package/dist/pages/ConfigurableEditor/index.d.ts +2 -2
- package/dist/pages/NotFound.d.ts +2 -2
- package/dist/pages/RichTextEditor.d.ts +6 -6
- package/dist/pages/TextareaEditor.d.ts +6 -6
- package/dist/pages/styles.d.ts +5 -5
- package/dist/plugins/AIChatPlugin.d.ts +9 -11
- package/dist/plugins/AndroidKeyboardFixPlugin.d.ts +16 -16
- package/dist/plugins/AutocompletePlugin.d.ts +22 -22
- package/dist/plugins/CodeBlockNormalizerPlugin.d.ts +8 -8
- package/dist/plugins/CodeBlockSelectAllPlugin.d.ts +8 -8
- package/dist/plugins/CodeHighlightPlugin.d.ts +2 -3
- package/dist/plugins/CombinedAutocompletGrammarPlugin.d.ts +20 -21
- package/dist/plugins/CommentBubblePlugin.d.ts +2 -3
- package/dist/plugins/CommentPlugin.d.ts +6 -7
- package/dist/plugins/CustomHorizontalRulePlugin/CustomHorizontalRuleNode.d.ts +28 -29
- package/dist/plugins/CustomHorizontalRulePlugin/CustomHorizontalRulePlugin.d.ts +3 -3
- package/dist/plugins/CustomHorizontalRulePlugin/HorizontalRuleCustomizationDialog.d.ts +6 -7
- package/dist/plugins/CustomHorizontalRulePlugin/index.d.ts +3 -3
- package/dist/plugins/DragDropPastePlugin/index.d.ts +8 -8
- package/dist/plugins/DragDropPastePlugin/indexs.d.ts +1 -1
- package/dist/plugins/DraggableBlockPlugin/index.d.ts +3 -4
- package/dist/plugins/EmbedPreviewPlugin/FloatingEmbedMenuPlugin.d.ts +3 -4
- package/dist/plugins/EmbedPreviewPlugin/index.d.ts +5 -6
- package/dist/plugins/FilePlugin.d.ts +7 -8
- package/dist/plugins/FloatingLinkEditorPlugin/index.d.ts +5 -6
- package/dist/plugins/FloatingTextFormatToolbarPlugin/index.d.ts +26 -27
- package/dist/plugins/GrammarCheckPlugin.d.ts +1 -2
- package/dist/plugins/HtmlCanvasPlugin.d.ts +6 -0
- package/dist/plugins/HtmlCodeViewPlugin/index.d.ts +2 -2
- package/dist/plugins/HtmlImportPlugin.d.ts +5 -5
- package/dist/plugins/HtmlSyncPlugin.d.ts +3 -3
- package/dist/plugins/ImagePlugin.d.ts +6 -7
- package/dist/plugins/LinkPlugin/index.d.ts +5 -6
- package/dist/plugins/LinkPreviewPlugin/index.d.ts +4 -4
- package/dist/plugins/LocalStoragePlugin.d.ts +6 -7
- package/dist/plugins/MarkdownShortcutsPlugin/index.d.ts +20 -20
- package/dist/plugins/MentionsPlugin/index.d.ts +6 -7
- package/dist/plugins/NotePanelPlugin.d.ts +6 -7
- package/dist/plugins/PasteOptionsPlugin/index.d.ts +17 -17
- package/dist/plugins/RichTextPastePlugin/index.d.ts +11 -6
- package/dist/plugins/SignatureCanvasPlugin/SignatureCanvasDialog.d.ts +5 -6
- package/dist/plugins/SignatureCanvasPlugin/SignatureCanvasPlugin.d.ts +9 -9
- package/dist/plugins/SignatureCanvasPlugin/index.d.ts +2 -2
- package/dist/plugins/SlashCommandPlugin/index.d.ts +2 -2
- package/dist/plugins/TableActionMenuPlugin/index.d.ts +5 -6
- package/dist/plugins/TableCellResizer/index.d.ts +1 -2
- package/dist/plugins/TableHoverActionsPlugin/index.d.ts +4 -4
- package/dist/plugins/TablePlugin.d.ts +4 -5
- package/dist/plugins/Tableimageautoresizeplugin.d.ts +1 -1
- package/dist/plugins/TextEnhancePlugin.d.ts +6 -6
- package/dist/plugins/TreeViewPlugin.d.ts +2 -3
- package/dist/plugins/UsageTrackingPlugin.d.ts +15 -15
- package/dist/plugins/VoiceTranscriptPlugin.d.ts +25 -25
- package/dist/plugins/WordCountPlugin.d.ts +2 -3
- package/dist/{postcss-bbcc713e.js → postcss-9ac167c3.js} +1671 -1650
- package/dist/services/chartService.d.ts +18 -19
- package/dist/standalone-2029bc8b.js +2467 -0
- package/dist/styles/PlaygroundEditorTheme.d.ts +2 -3
- package/dist/types.d.ts +206 -205
- package/dist/typescript-bd1bb88f.js +13632 -0
- package/dist/ui/ColorPicker.d.ts +13 -14
- package/dist/ui/Icons.d.ts +84 -84
- package/dist/ui/TextInput.d.ts +10 -11
- package/dist/utils/dateFormats.d.ts +33 -33
- package/dist/utils/debounce.d.ts +5 -6
- package/dist/utils/editorStyleConverter.d.ts +16 -17
- package/dist/utils/export.d.ts +1 -2
- package/dist/utils/getDOMRangeRect.d.ts +13 -13
- package/dist/utils/getSelectedNode.d.ts +2 -3
- package/dist/utils/helper.d.ts +3 -3
- package/dist/utils/index.d.ts +3 -4
- package/dist/utils/invarient.d.ts +1 -1
- package/dist/utils/setFloatingElemPosition.d.ts +8 -8
- package/dist/utils/setFloatingElemPositionForLinkEditor.d.ts +1 -1
- package/dist/utils/url.d.ts +9 -9
- package/package.json +152 -150
- package/dist/standalone-36ad3877.js +0 -2600
- package/dist/typescript-39d06710.js +0 -13533
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var We = (e, t, r) => (
|
|
4
|
-
var
|
|
1
|
+
var gn = Object.defineProperty;
|
|
2
|
+
var fn = (e, t, r) => t in e ? gn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
|
+
var We = (e, t, r) => (fn(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
4
|
+
var dr = Object.defineProperty, mr = (e) => {
|
|
5
5
|
throw TypeError(e);
|
|
6
|
-
},
|
|
6
|
+
}, vn = (e, t, r) => t in e ? dr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gr = (e, t) => {
|
|
7
7
|
for (var r in t)
|
|
8
|
-
|
|
9
|
-
},
|
|
10
|
-
|
|
11
|
-
var
|
|
8
|
+
dr(e, r, { get: t[r], enumerable: !0 });
|
|
9
|
+
}, xt = (e, t, r) => vn(e, typeof t != "symbol" ? t + "" : t, r), fr = (e, t, r) => t.has(e) || mr("Cannot " + r), F = (e, t, r) => (fr(e, t, "read from private field"), r ? r.call(e) : t.get(e)), vr = (e, t, r) => t.has(e) ? mr("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), Cn = (e, t, r, n) => (fr(e, t, "write to private field"), n ? n.call(e, r) : t.set(e, r), r), Cr = {};
|
|
10
|
+
gr(Cr, { languages: () => ps, options: () => ds, parsers: () => nn, printers: () => _u });
|
|
11
|
+
var yn = (e, t, r, n) => {
|
|
12
12
|
if (!(e && t == null))
|
|
13
13
|
return t.replaceAll ? t.replaceAll(r, n) : r.global ? t.replace(r, n) : t.split(r).join(n);
|
|
14
|
-
}, L =
|
|
14
|
+
}, L = yn, yr = "string", Sr = "array", br = "cursor", it = "indent", st = "align", _r = "trim", ut = "group", ot = "fill", lt = "if-break", ct = "indent-if-break", wr = "line-suffix", Ar = "line-suffix-boundary", Q = "line", kr = "label", pt = "break-parent", Er = /* @__PURE__ */ new Set([br, it, st, _r, ut, ot, lt, ct, wr, Ar, Q, kr, pt]), Sn = (e, t, r) => {
|
|
15
15
|
if (!(e && t == null))
|
|
16
16
|
return Array.isArray(t) || typeof t == "string" ? t[r < 0 ? t.length + r : r] : t.at(r);
|
|
17
|
-
}, de =
|
|
18
|
-
function
|
|
17
|
+
}, de = Sn;
|
|
18
|
+
function bn(e) {
|
|
19
19
|
if (typeof e == "string")
|
|
20
|
-
return
|
|
20
|
+
return yr;
|
|
21
21
|
if (Array.isArray(e))
|
|
22
|
-
return
|
|
22
|
+
return Sr;
|
|
23
23
|
if (!e)
|
|
24
24
|
return;
|
|
25
25
|
let { type: t } = e;
|
|
26
|
-
if (
|
|
26
|
+
if (Er.has(t))
|
|
27
27
|
return t;
|
|
28
28
|
}
|
|
29
|
-
var
|
|
30
|
-
function
|
|
29
|
+
var xr = bn, _n = (e) => new Intl.ListFormat("en-US", { type: "disjunction" }).format(e);
|
|
30
|
+
function wn(e) {
|
|
31
31
|
let t = e === null ? "null" : typeof e;
|
|
32
32
|
if (t !== "string" && t !== "object")
|
|
33
33
|
return `Unexpected doc '${t}',
|
|
34
34
|
Expected it to be 'string' or 'object'.`;
|
|
35
|
-
if (
|
|
35
|
+
if (xr(e))
|
|
36
36
|
throw new Error("doc is valid.");
|
|
37
37
|
let r = Object.prototype.toString.call(e);
|
|
38
38
|
if (r !== "[object Object]")
|
|
39
39
|
return `Unexpected doc '${r}'.`;
|
|
40
|
-
let n =
|
|
40
|
+
let n = _n([...Er].map((a) => `'${a}'`));
|
|
41
41
|
return `Unexpected doc.type '${e.type}'.
|
|
42
42
|
Expected it to be ${n}.`;
|
|
43
43
|
}
|
|
44
|
-
var
|
|
44
|
+
var An = class extends Error {
|
|
45
45
|
constructor(t) {
|
|
46
|
-
super(
|
|
46
|
+
super(wn(t));
|
|
47
47
|
We(this, "name", "InvalidDocError");
|
|
48
48
|
this.doc = t;
|
|
49
49
|
}
|
|
50
|
-
},
|
|
51
|
-
function
|
|
50
|
+
}, kn = An;
|
|
51
|
+
function Dr(e, t) {
|
|
52
52
|
if (typeof e == "string")
|
|
53
53
|
return t(e);
|
|
54
54
|
let r = /* @__PURE__ */ new Map();
|
|
@@ -60,8 +60,8 @@ function Sr(e, t) {
|
|
|
60
60
|
return r.set(i, s), s;
|
|
61
61
|
}
|
|
62
62
|
function a(i) {
|
|
63
|
-
switch (
|
|
64
|
-
case
|
|
63
|
+
switch (xr(i)) {
|
|
64
|
+
case Sr:
|
|
65
65
|
return t(i.map(n));
|
|
66
66
|
case ot:
|
|
67
67
|
return t({ ...i, parts: i.parts.map(n) });
|
|
@@ -74,74 +74,74 @@ function Sr(e, t) {
|
|
|
74
74
|
case st:
|
|
75
75
|
case it:
|
|
76
76
|
case ct:
|
|
77
|
-
case
|
|
78
|
-
case
|
|
77
|
+
case kr:
|
|
78
|
+
case wr:
|
|
79
79
|
return t({ ...i, contents: n(i.contents) });
|
|
80
|
-
case
|
|
81
|
-
case
|
|
82
|
-
case
|
|
83
|
-
case
|
|
80
|
+
case yr:
|
|
81
|
+
case br:
|
|
82
|
+
case _r:
|
|
83
|
+
case Ar:
|
|
84
84
|
case Q:
|
|
85
85
|
case pt:
|
|
86
86
|
return t(i);
|
|
87
87
|
default:
|
|
88
|
-
throw new
|
|
88
|
+
throw new kn(i);
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
|
-
function P(e, t =
|
|
93
|
-
return
|
|
92
|
+
function P(e, t = qn) {
|
|
93
|
+
return Dr(e, (r) => typeof r == "string" ? Z(t, r.split(`
|
|
94
94
|
`)) : r);
|
|
95
95
|
}
|
|
96
|
-
var
|
|
97
|
-
},
|
|
98
|
-
function
|
|
96
|
+
var En = () => {
|
|
97
|
+
}, xn = En;
|
|
98
|
+
function H(e) {
|
|
99
99
|
return { type: it, contents: e };
|
|
100
100
|
}
|
|
101
|
-
function
|
|
101
|
+
function Tr(e, t) {
|
|
102
102
|
return { type: st, contents: t, n: e };
|
|
103
103
|
}
|
|
104
104
|
function k(e, t = {}) {
|
|
105
|
-
return
|
|
105
|
+
return xn(t.expandedStates), { type: ut, id: t.id, contents: e, break: !!t.shouldBreak, expandedStates: t.expandedStates };
|
|
106
106
|
}
|
|
107
|
-
function
|
|
108
|
-
return
|
|
107
|
+
function Dn(e) {
|
|
108
|
+
return Tr(Number.NEGATIVE_INFINITY, e);
|
|
109
109
|
}
|
|
110
|
-
function
|
|
111
|
-
return
|
|
110
|
+
function Tn(e) {
|
|
111
|
+
return Tr({ type: "root" }, e);
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function Br(e) {
|
|
114
114
|
return { type: ot, parts: e };
|
|
115
115
|
}
|
|
116
116
|
function xe(e, t = "", r = {}) {
|
|
117
117
|
return { type: lt, breakContents: e, flatContents: t, groupId: r.groupId };
|
|
118
118
|
}
|
|
119
|
-
function
|
|
119
|
+
function Bn(e, t) {
|
|
120
120
|
return { type: ct, contents: e, groupId: t.groupId, negate: t.negate };
|
|
121
121
|
}
|
|
122
|
-
var me = { type: pt },
|
|
122
|
+
var me = { type: pt }, Ln = { type: Q, hard: !0 }, Fn = { type: Q, hard: !0, literal: !0 }, _ = { type: Q }, D = { type: Q, soft: !0 }, y = [Ln, me], qn = [Fn, me];
|
|
123
123
|
function Z(e, t) {
|
|
124
124
|
let r = [];
|
|
125
125
|
for (let n = 0; n < t.length; n++)
|
|
126
126
|
n !== 0 && r.push(e), r.push(t[n]);
|
|
127
127
|
return r;
|
|
128
128
|
}
|
|
129
|
-
var
|
|
130
|
-
function
|
|
131
|
-
let r = t === !0 || t ===
|
|
129
|
+
var Se = "'", Dt = '"';
|
|
130
|
+
function Nn(e, t) {
|
|
131
|
+
let r = t === !0 || t === Se ? Se : Dt, n = r === Se ? Dt : Se, a = 0, i = 0;
|
|
132
132
|
for (let s of e)
|
|
133
133
|
s === r ? a++ : s === n && i++;
|
|
134
134
|
return a > i ? n : r;
|
|
135
135
|
}
|
|
136
|
-
var
|
|
137
|
-
function
|
|
136
|
+
var In = Nn;
|
|
137
|
+
function Pn(e) {
|
|
138
138
|
if (typeof e != "string")
|
|
139
139
|
throw new TypeError("Expected a string");
|
|
140
140
|
return e.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
|
|
141
141
|
}
|
|
142
|
-
var N,
|
|
142
|
+
var N, Mn = class {
|
|
143
143
|
constructor(e) {
|
|
144
|
-
|
|
144
|
+
vr(this, N), Cn(this, N, new Set(e));
|
|
145
145
|
}
|
|
146
146
|
getLeadingWhitespaceCount(e) {
|
|
147
147
|
let t = F(this, N), r = 0;
|
|
@@ -181,7 +181,7 @@ var N, Bn = class {
|
|
|
181
181
|
return this.trimEnd(this.trimStart(e));
|
|
182
182
|
}
|
|
183
183
|
split(e, t = !1) {
|
|
184
|
-
let r = `[${
|
|
184
|
+
let r = `[${Pn([...F(this, N)].join(""))}]+`, n = new RegExp(t ? `(${r})` : r, "u");
|
|
185
185
|
return e.split(n);
|
|
186
186
|
}
|
|
187
187
|
hasWhitespaceCharacter(e) {
|
|
@@ -198,44 +198,44 @@ var N, Bn = class {
|
|
|
198
198
|
}
|
|
199
199
|
};
|
|
200
200
|
N = /* @__PURE__ */ new WeakMap();
|
|
201
|
-
var
|
|
202
|
-
`, "\f", "\r", " "],
|
|
201
|
+
var Hn = Mn, Rn = [" ", `
|
|
202
|
+
`, "\f", "\r", " "], Un = new Hn(Rn), R = Un, Vn = class extends Error {
|
|
203
203
|
constructor(t, r, n = "type") {
|
|
204
204
|
super(`Unexpected ${r} node ${n}: ${JSON.stringify(t[n])}.`);
|
|
205
205
|
We(this, "name", "UnexpectedNodeError");
|
|
206
206
|
this.node = t;
|
|
207
207
|
}
|
|
208
|
-
},
|
|
209
|
-
function
|
|
208
|
+
}, On = Vn;
|
|
209
|
+
function Wn(e) {
|
|
210
210
|
return (e == null ? void 0 : e.type) === "front-matter";
|
|
211
211
|
}
|
|
212
|
-
var Ne =
|
|
213
|
-
function
|
|
212
|
+
var Ne = Wn, $n = /* @__PURE__ */ new Set(["sourceSpan", "startSourceSpan", "endSourceSpan", "nameSpan", "valueSpan", "keySpan", "tagDefinition", "tokens", "valueTokens", "switchValueSourceSpan", "expSourceSpan", "valueSourceSpan"]), zn = /* @__PURE__ */ new Set(["if", "else if", "for", "switch", "case"]);
|
|
213
|
+
function Lr(e, t) {
|
|
214
214
|
var r;
|
|
215
215
|
if (e.type === "text" || e.type === "comment" || Ne(e) || e.type === "yaml" || e.type === "toml")
|
|
216
216
|
return null;
|
|
217
217
|
if (e.type === "attribute" && delete t.value, e.type === "docType" && delete t.value, e.type === "angularControlFlowBlock" && (r = e.parameters) != null && r.children)
|
|
218
218
|
for (let n of t.parameters.children)
|
|
219
|
-
|
|
219
|
+
zn.has(e.name) ? delete n.expression : n.expression = n.expression.trim();
|
|
220
220
|
e.type === "angularIcuExpression" && (t.switchValue = e.switchValue.trim()), e.type === "angularLetDeclarationInitializer" && delete t.value;
|
|
221
221
|
}
|
|
222
|
-
|
|
223
|
-
var
|
|
224
|
-
async function
|
|
222
|
+
Lr.ignoredProperties = $n;
|
|
223
|
+
var jn = Lr;
|
|
224
|
+
async function Gn(e, t) {
|
|
225
225
|
if (e.language === "yaml") {
|
|
226
226
|
let r = e.value.trim(), n = r ? await t(r, { parser: "yaml" }) : "";
|
|
227
|
-
return
|
|
227
|
+
return Tn([e.startDelimiter, e.explicitLanguage, y, n, n ? y : "", e.endDelimiter]);
|
|
228
228
|
}
|
|
229
229
|
}
|
|
230
|
-
var
|
|
230
|
+
var Kn = Gn;
|
|
231
231
|
function Ie(e, t = !0) {
|
|
232
|
-
return [
|
|
232
|
+
return [H([D, e]), t ? D : ""];
|
|
233
233
|
}
|
|
234
234
|
function ee(e, t) {
|
|
235
235
|
let r = e.type === "NGRoot" ? e.node.type === "NGMicrosyntax" && e.node.body.length === 1 && e.node.body[0].type === "NGMicrosyntaxExpression" ? e.node.body[0].expression : e.node : e.type === "JsExpressionRoot" ? e.node : e;
|
|
236
236
|
return r && (r.type === "ObjectExpression" || r.type === "ArrayExpression" || (t.parser === "__vue_expression" || t.parser === "__vue_ts_expression") && (r.type === "TemplateLiteral" || r.type === "StringLiteral"));
|
|
237
237
|
}
|
|
238
|
-
async function
|
|
238
|
+
async function M(e, t, r, n) {
|
|
239
239
|
r = { __isInHtmlAttribute: !0, __embeddedInHtml: !0, ...r };
|
|
240
240
|
let a = !0;
|
|
241
241
|
n && (r.__onHtmlBindingRoot = (s, u) => {
|
|
@@ -244,100 +244,136 @@ async function H(e, t, r, n) {
|
|
|
244
244
|
let i = await t(e, r, t);
|
|
245
245
|
return a ? k(i) : Ie(i);
|
|
246
246
|
}
|
|
247
|
-
function
|
|
247
|
+
function Xn(e, t, r, n) {
|
|
248
248
|
let { node: a } = r, i = n.originalText.slice(a.sourceSpan.start.offset, a.sourceSpan.end.offset);
|
|
249
|
-
return /^\s*$/u.test(i) ? "" :
|
|
249
|
+
return /^\s*$/u.test(i) ? "" : M(i, e, { parser: "__ng_directive", __isInHtmlAttribute: !1 }, ee);
|
|
250
|
+
}
|
|
251
|
+
var Jn = Xn, Yn = (e, t) => {
|
|
252
|
+
if (!(e && t == null))
|
|
253
|
+
return t.toReversed || !Array.isArray(t) ? t.toReversed() : [...t].reverse();
|
|
254
|
+
}, Qn = Yn;
|
|
255
|
+
function Zn(e) {
|
|
256
|
+
return Array.isArray(e) && e.length > 0;
|
|
257
|
+
}
|
|
258
|
+
var ht = Zn, Tt, Bt, Lt, Ft, qt, ea = ((Tt = globalThis.Deno) == null ? void 0 : Tt.build.os) === "windows" || ((Lt = (Bt = globalThis.navigator) == null ? void 0 : Bt.platform) == null ? void 0 : Lt.startsWith("Win")) || ((qt = (Ft = globalThis.process) == null ? void 0 : Ft.platform) == null ? void 0 : qt.startsWith("win")) || !1;
|
|
259
|
+
function Fr(e) {
|
|
260
|
+
if (e = e instanceof URL ? e : new URL(e), e.protocol !== "file:")
|
|
261
|
+
throw new TypeError(`URL must be a file URL: received "${e.protocol}"`);
|
|
262
|
+
return e;
|
|
263
|
+
}
|
|
264
|
+
function ta(e) {
|
|
265
|
+
return e = Fr(e), decodeURIComponent(e.pathname.replace(/%(?![0-9A-Fa-f]{2})/g, "%25"));
|
|
266
|
+
}
|
|
267
|
+
function ra(e) {
|
|
268
|
+
e = Fr(e);
|
|
269
|
+
let t = decodeURIComponent(e.pathname.replace(/\//g, "\\").replace(/%(?![0-9A-Fa-f]{2})/g, "%25")).replace(/^\\*([A-Za-z]:)(\\|$)/, "$1\\");
|
|
270
|
+
return e.hostname !== "" && (t = `\\\\${e.hostname}${t}`), t;
|
|
250
271
|
}
|
|
251
|
-
|
|
252
|
-
|
|
272
|
+
function na(e) {
|
|
273
|
+
return ea ? ra(e) : ta(e);
|
|
274
|
+
}
|
|
275
|
+
var aa = na, ia = (e) => String(e).split(/[/\\]/u).pop();
|
|
276
|
+
function Nt(e, t) {
|
|
253
277
|
if (!t)
|
|
254
278
|
return;
|
|
255
|
-
let r =
|
|
279
|
+
let r = ia(t).toLowerCase();
|
|
256
280
|
return e.find(({ filenames: n }) => n == null ? void 0 : n.some((a) => a.toLowerCase() === r)) ?? e.find(({ extensions: n }) => n == null ? void 0 : n.some((a) => r.endsWith(a)));
|
|
257
281
|
}
|
|
258
|
-
function
|
|
282
|
+
function sa(e, t) {
|
|
259
283
|
if (t)
|
|
260
284
|
return e.find(({ name: r }) => r.toLowerCase() === t) ?? e.find(({ aliases: r }) => r == null ? void 0 : r.includes(t)) ?? e.find(({ extensions: r }) => r == null ? void 0 : r.includes(`.${t}`));
|
|
261
285
|
}
|
|
262
|
-
function
|
|
263
|
-
|
|
286
|
+
function It(e, t) {
|
|
287
|
+
if (t) {
|
|
288
|
+
if (String(t).startsWith("file:"))
|
|
289
|
+
try {
|
|
290
|
+
t = aa(t);
|
|
291
|
+
} catch {
|
|
292
|
+
return;
|
|
293
|
+
}
|
|
294
|
+
if (typeof t == "string")
|
|
295
|
+
return e.find(({ isSupported: r }) => r == null ? void 0 : r({ filepath: t }));
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
function ua(e, t) {
|
|
299
|
+
let r = Qn(!1, e.plugins).flatMap((a) => a.languages ?? []), n = sa(r, t.language) ?? Nt(r, t.physicalFile) ?? Nt(r, t.file) ?? It(r, t.physicalFile) ?? It(r, t.file) ?? (t.physicalFile, void 0);
|
|
264
300
|
return n == null ? void 0 : n.parsers[0];
|
|
265
301
|
}
|
|
266
|
-
var Pe =
|
|
267
|
-
function
|
|
302
|
+
var Pe = ua, oa = "inline", Pt = { area: "none", base: "none", basefont: "none", datalist: "none", head: "none", link: "none", meta: "none", noembed: "none", noframes: "none", param: "block", rp: "none", script: "block", style: "none", template: "inline", title: "none", html: "block", body: "block", address: "block", blockquote: "block", center: "block", dialog: "block", div: "block", figure: "block", figcaption: "block", footer: "block", form: "block", header: "block", hr: "block", legend: "block", listing: "block", main: "block", p: "block", plaintext: "block", pre: "block", search: "block", xmp: "block", slot: "contents", ruby: "ruby", rt: "ruby-text", article: "block", aside: "block", h1: "block", h2: "block", h3: "block", h4: "block", h5: "block", h6: "block", hgroup: "block", nav: "block", section: "block", dir: "block", dd: "block", dl: "block", dt: "block", menu: "block", ol: "block", ul: "block", li: "list-item", table: "table", caption: "table-caption", colgroup: "table-column-group", col: "table-column", thead: "table-header-group", tbody: "table-row-group", tfoot: "table-footer-group", tr: "table-row", td: "table-cell", th: "table-cell", input: "inline-block", button: "inline-block", fieldset: "block", details: "block", summary: "block", marquee: "inline-block", source: "block", track: "block", meter: "inline-block", progress: "inline-block", object: "inline-block", video: "inline-block", audio: "inline-block", select: "inline-block", option: "block", optgroup: "block" }, la = "normal", Mt = { listing: "pre", plaintext: "pre", pre: "pre", xmp: "pre", nobr: "nowrap", table: "initial", textarea: "pre-wrap" };
|
|
303
|
+
function ca(e) {
|
|
268
304
|
return e.type === "element" && !e.hasExplicitNamespace && !["html", "svg"].includes(e.namespace);
|
|
269
305
|
}
|
|
270
|
-
var pe =
|
|
306
|
+
var pe = ca, pa = (e) => L(!1, e, /^[\t\f\r ]*\n/gu, ""), qr = (e) => pa(R.trimEnd(e)), ha = (e) => {
|
|
271
307
|
let t = e, r = R.getLeadingWhitespace(t);
|
|
272
308
|
r && (t = t.slice(r.length));
|
|
273
309
|
let n = R.getTrailingWhitespace(t);
|
|
274
310
|
return n && (t = t.slice(0, -n.length)), { leadingWhitespace: r, trailingWhitespace: n, text: t };
|
|
275
311
|
};
|
|
276
|
-
function
|
|
277
|
-
return !!(e.type === "ieConditionalComment" && e.lastChild && !e.lastChild.isSelfClosing && !e.lastChild.endSourceSpan || e.type === "ieConditionalComment" && !e.complete ||
|
|
312
|
+
function Nr(e, t) {
|
|
313
|
+
return !!(e.type === "ieConditionalComment" && e.lastChild && !e.lastChild.isSelfClosing && !e.lastChild.endSourceSpan || e.type === "ieConditionalComment" && !e.complete || Y(e) && e.children.some((r) => r.type !== "text" && r.type !== "interpolation") || mt(e, t) && !U(e, t) && e.type !== "interpolation");
|
|
278
314
|
}
|
|
279
|
-
function
|
|
280
|
-
return e.type === "attribute" || !e.parent || !e.prev ? !1 :
|
|
315
|
+
function Me(e) {
|
|
316
|
+
return e.type === "attribute" || !e.parent || !e.prev ? !1 : da(e.prev);
|
|
281
317
|
}
|
|
282
|
-
function
|
|
318
|
+
function da(e) {
|
|
283
319
|
return e.type === "comment" && e.value.trim() === "prettier-ignore";
|
|
284
320
|
}
|
|
285
321
|
function q(e) {
|
|
286
322
|
return e.type === "text" || e.type === "comment";
|
|
287
323
|
}
|
|
288
|
-
function U(e) {
|
|
289
|
-
return e.type === "element" && (e.fullName === "script" || e.fullName === "style" || e.fullName === "svg:style" || e.fullName === "svg:script" || pe(e) && (e.name === "script" || e.name === "style"));
|
|
324
|
+
function U(e, t) {
|
|
325
|
+
return e.type === "element" && (e.fullName === "script" || e.fullName === "style" || e.fullName === "svg:style" || e.fullName === "svg:script" || e.fullName === "mj-style" && t.parser === "mjml" || pe(e) && (e.name === "script" || e.name === "style"));
|
|
290
326
|
}
|
|
291
|
-
function
|
|
292
|
-
return e.children && !U(e);
|
|
327
|
+
function ma(e, t) {
|
|
328
|
+
return e.children && !U(e, t);
|
|
293
329
|
}
|
|
294
|
-
function
|
|
295
|
-
return U(e) || e.type === "interpolation" ||
|
|
330
|
+
function ga(e, t) {
|
|
331
|
+
return U(e, t) || e.type === "interpolation" || Ir(e);
|
|
296
332
|
}
|
|
297
|
-
function
|
|
298
|
-
return
|
|
333
|
+
function Ir(e) {
|
|
334
|
+
return Or(e).startsWith("pre");
|
|
299
335
|
}
|
|
300
|
-
function
|
|
336
|
+
function fa(e, t) {
|
|
301
337
|
var r, n;
|
|
302
338
|
let a = i();
|
|
303
339
|
if (a && !e.prev && (n = (r = e.parent) == null ? void 0 : r.tagDefinition) != null && n.ignoreFirstLf)
|
|
304
340
|
return e.type === "interpolation";
|
|
305
341
|
return a;
|
|
306
342
|
function i() {
|
|
307
|
-
return Ne(e) || e.type === "angularControlFlowBlock" ? !1 : (e.type === "text" || e.type === "interpolation") && e.prev && (e.prev.type === "text" || e.prev.type === "interpolation") ? !0 : !e.parent || e.parent.cssDisplay === "none" ? !1 :
|
|
343
|
+
return Ne(e) || e.type === "angularControlFlowBlock" ? !1 : (e.type === "text" || e.type === "interpolation") && e.prev && (e.prev.type === "text" || e.prev.type === "interpolation") ? !0 : !e.parent || e.parent.cssDisplay === "none" ? !1 : Y(e.parent) ? !0 : !(!e.prev && (e.parent.type === "root" || Y(e) && e.parent || U(e.parent, t) || He(e.parent, t) || !ka(e.parent.cssDisplay)) || e.prev && !Da(e.prev.cssDisplay));
|
|
308
344
|
}
|
|
309
345
|
}
|
|
310
|
-
function
|
|
311
|
-
return Ne(e) || e.type === "angularControlFlowBlock" ? !1 : (e.type === "text" || e.type === "interpolation") && e.next && (e.next.type === "text" || e.next.type === "interpolation") ? !0 : !e.parent || e.parent.cssDisplay === "none" ? !1 :
|
|
346
|
+
function va(e, t) {
|
|
347
|
+
return Ne(e) || e.type === "angularControlFlowBlock" ? !1 : (e.type === "text" || e.type === "interpolation") && e.next && (e.next.type === "text" || e.next.type === "interpolation") ? !0 : !e.parent || e.parent.cssDisplay === "none" ? !1 : Y(e.parent) ? !0 : !(!e.next && (e.parent.type === "root" || Y(e) && e.parent || U(e.parent, t) || He(e.parent, t) || !Ea(e.parent.cssDisplay)) || e.next && !xa(e.next.cssDisplay));
|
|
312
348
|
}
|
|
313
|
-
function
|
|
314
|
-
return
|
|
349
|
+
function Ca(e, t) {
|
|
350
|
+
return Ta(e.cssDisplay) && !U(e, t);
|
|
315
351
|
}
|
|
316
352
|
function be(e) {
|
|
317
353
|
return Ne(e) || e.next && e.sourceSpan.end && e.sourceSpan.end.line + 1 < e.next.sourceSpan.start.line;
|
|
318
354
|
}
|
|
319
|
-
function
|
|
320
|
-
return
|
|
355
|
+
function ya(e) {
|
|
356
|
+
return Pr(e) || e.type === "element" && e.children.length > 0 && (["body", "script", "style"].includes(e.name) || e.children.some((t) => ba(t))) || e.firstChild && e.firstChild === e.lastChild && e.firstChild.type !== "text" && Hr(e.firstChild) && (!e.lastChild.isTrailingSpaceSensitive || Rr(e.lastChild));
|
|
321
357
|
}
|
|
322
|
-
function
|
|
358
|
+
function Pr(e) {
|
|
323
359
|
return e.type === "element" && e.children.length > 0 && (["html", "head", "ul", "ol", "select"].includes(e.name) || e.cssDisplay.startsWith("table") && e.cssDisplay !== "table-cell");
|
|
324
360
|
}
|
|
325
|
-
function
|
|
326
|
-
return
|
|
361
|
+
function $e(e) {
|
|
362
|
+
return Ur(e) || e.prev && Sa(e.prev) || Mr(e);
|
|
327
363
|
}
|
|
328
|
-
function
|
|
329
|
-
return
|
|
364
|
+
function Sa(e) {
|
|
365
|
+
return Ur(e) || e.type === "element" && e.fullName === "br" || Mr(e);
|
|
330
366
|
}
|
|
331
|
-
function
|
|
332
|
-
return
|
|
367
|
+
function Mr(e) {
|
|
368
|
+
return Hr(e) && Rr(e);
|
|
333
369
|
}
|
|
334
|
-
function
|
|
370
|
+
function Hr(e) {
|
|
335
371
|
return e.hasLeadingSpaces && (e.prev ? e.prev.sourceSpan.end.line < e.sourceSpan.start.line : e.parent.type === "root" || e.parent.startSourceSpan.end.line < e.sourceSpan.start.line);
|
|
336
372
|
}
|
|
337
|
-
function
|
|
373
|
+
function Rr(e) {
|
|
338
374
|
return e.hasTrailingSpaces && (e.next ? e.next.sourceSpan.start.line > e.sourceSpan.end.line : e.parent.type === "root" || e.parent.endSourceSpan && e.parent.endSourceSpan.start.line > e.sourceSpan.end.line);
|
|
339
375
|
}
|
|
340
|
-
function
|
|
376
|
+
function Ur(e) {
|
|
341
377
|
switch (e.type) {
|
|
342
378
|
case "ieConditionalComment":
|
|
343
379
|
case "comment":
|
|
@@ -348,19 +384,20 @@ function Br(e) {
|
|
|
348
384
|
}
|
|
349
385
|
return !1;
|
|
350
386
|
}
|
|
351
|
-
function
|
|
352
|
-
return e.lastChild ?
|
|
387
|
+
function dt(e) {
|
|
388
|
+
return e.lastChild ? dt(e.lastChild) : e;
|
|
353
389
|
}
|
|
354
|
-
function
|
|
390
|
+
function ba(e) {
|
|
355
391
|
var t;
|
|
356
392
|
return (t = e.children) == null ? void 0 : t.some((r) => r.type !== "text");
|
|
357
393
|
}
|
|
358
|
-
function
|
|
394
|
+
function Vr(e) {
|
|
359
395
|
if (e)
|
|
360
396
|
switch (e) {
|
|
361
397
|
case "module":
|
|
362
398
|
case "text/javascript":
|
|
363
399
|
case "text/babel":
|
|
400
|
+
case "text/jsx":
|
|
364
401
|
case "application/javascript":
|
|
365
402
|
return "babel";
|
|
366
403
|
case "application/x-typescript":
|
|
@@ -376,53 +413,55 @@ function Lr(e) {
|
|
|
376
413
|
return "json";
|
|
377
414
|
}
|
|
378
415
|
}
|
|
379
|
-
function
|
|
416
|
+
function _a(e, t) {
|
|
380
417
|
let { name: r, attrMap: n } = e;
|
|
381
418
|
if (r !== "script" || Object.prototype.hasOwnProperty.call(n, "src"))
|
|
382
419
|
return;
|
|
383
420
|
let { type: a, lang: i } = e.attrMap;
|
|
384
|
-
return !i && !a ? "babel" : Pe(t, { language: i }) ??
|
|
421
|
+
return !i && !a ? "babel" : Pe(t, { language: i }) ?? Vr(a);
|
|
385
422
|
}
|
|
386
|
-
function
|
|
387
|
-
if (!
|
|
423
|
+
function wa(e, t) {
|
|
424
|
+
if (!mt(e, t))
|
|
388
425
|
return;
|
|
389
426
|
let { attrMap: r } = e;
|
|
390
427
|
if (Object.prototype.hasOwnProperty.call(r, "src"))
|
|
391
428
|
return;
|
|
392
429
|
let { type: n, lang: a } = r;
|
|
393
|
-
return Pe(t, { language: a }) ??
|
|
430
|
+
return Pe(t, { language: a }) ?? Vr(n);
|
|
394
431
|
}
|
|
395
|
-
function
|
|
396
|
-
if (e.name
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
432
|
+
function Aa(e, t) {
|
|
433
|
+
if (e.name === "style") {
|
|
434
|
+
let { lang: r } = e.attrMap;
|
|
435
|
+
return r ? Pe(t, { language: r }) : "css";
|
|
436
|
+
}
|
|
437
|
+
if (e.name === "mj-style" && t.parser === "mjml")
|
|
438
|
+
return "css";
|
|
400
439
|
}
|
|
401
|
-
function
|
|
402
|
-
return
|
|
440
|
+
function Ht(e, t) {
|
|
441
|
+
return _a(e, t) ?? Aa(e, t) ?? wa(e, t);
|
|
403
442
|
}
|
|
404
443
|
function ge(e) {
|
|
405
444
|
return e === "block" || e === "list-item" || e.startsWith("table");
|
|
406
445
|
}
|
|
407
|
-
function
|
|
446
|
+
function ka(e) {
|
|
408
447
|
return !ge(e) && e !== "inline-block";
|
|
409
448
|
}
|
|
410
|
-
function
|
|
449
|
+
function Ea(e) {
|
|
411
450
|
return !ge(e) && e !== "inline-block";
|
|
412
451
|
}
|
|
413
|
-
function
|
|
452
|
+
function xa(e) {
|
|
414
453
|
return !ge(e);
|
|
415
454
|
}
|
|
416
|
-
function
|
|
455
|
+
function Da(e) {
|
|
417
456
|
return !ge(e);
|
|
418
457
|
}
|
|
419
|
-
function
|
|
458
|
+
function Ta(e) {
|
|
420
459
|
return !ge(e) && e !== "inline-block";
|
|
421
460
|
}
|
|
422
|
-
function
|
|
423
|
-
return
|
|
461
|
+
function Y(e) {
|
|
462
|
+
return Or(e).startsWith("pre");
|
|
424
463
|
}
|
|
425
|
-
function
|
|
464
|
+
function Ba(e, t) {
|
|
426
465
|
let r = e;
|
|
427
466
|
for (; r; ) {
|
|
428
467
|
if (t(r))
|
|
@@ -431,7 +470,7 @@ function va(e, t) {
|
|
|
431
470
|
}
|
|
432
471
|
return !1;
|
|
433
472
|
}
|
|
434
|
-
function
|
|
473
|
+
function La(e, t) {
|
|
435
474
|
var r;
|
|
436
475
|
if (te(e, t))
|
|
437
476
|
return "block";
|
|
@@ -442,7 +481,7 @@ function Ca(e, t) {
|
|
|
442
481
|
}
|
|
443
482
|
let n = !1;
|
|
444
483
|
if (e.type === "element" && e.namespace === "svg")
|
|
445
|
-
if (
|
|
484
|
+
if (Ba(e, (a) => a.fullName === "svg:foreignObject"))
|
|
446
485
|
n = !0;
|
|
447
486
|
else
|
|
448
487
|
return e.name === "svg" ? "inline-block" : "block";
|
|
@@ -452,13 +491,15 @@ function Ca(e, t) {
|
|
|
452
491
|
case "ignore":
|
|
453
492
|
return "block";
|
|
454
493
|
default:
|
|
455
|
-
|
|
494
|
+
if (e.type === "element" && (!e.namespace || n || pe(e)) && Object.prototype.hasOwnProperty.call(Pt, e.name))
|
|
495
|
+
return Pt[e.name];
|
|
456
496
|
}
|
|
497
|
+
return oa;
|
|
457
498
|
}
|
|
458
|
-
function
|
|
459
|
-
return e.type === "element" && (!e.namespace || pe(e)) &&
|
|
499
|
+
function Or(e) {
|
|
500
|
+
return e.type === "element" && (!e.namespace || pe(e)) && Object.prototype.hasOwnProperty.call(Mt, e.name) ? Mt[e.name] : la;
|
|
460
501
|
}
|
|
461
|
-
function
|
|
502
|
+
function Fa(e) {
|
|
462
503
|
let t = Number.POSITIVE_INFINITY;
|
|
463
504
|
for (let r of e.split(`
|
|
464
505
|
`)) {
|
|
@@ -471,118 +512,118 @@ function Sa(e) {
|
|
|
471
512
|
}
|
|
472
513
|
return t === Number.POSITIVE_INFINITY ? 0 : t;
|
|
473
514
|
}
|
|
474
|
-
function
|
|
515
|
+
function Wr(e, t = Fa(e)) {
|
|
475
516
|
return t === 0 ? e : e.split(`
|
|
476
517
|
`).map((r) => r.slice(t)).join(`
|
|
477
518
|
`);
|
|
478
519
|
}
|
|
479
|
-
function
|
|
520
|
+
function $r(e) {
|
|
480
521
|
return L(!1, L(!1, e, "'", "'"), """, '"');
|
|
481
522
|
}
|
|
482
523
|
function O(e) {
|
|
483
|
-
return
|
|
524
|
+
return $r(e.value);
|
|
484
525
|
}
|
|
485
|
-
var
|
|
486
|
-
function
|
|
487
|
-
return te(e, t) && !
|
|
526
|
+
var qa = /* @__PURE__ */ new Set(["template", "style", "script"]);
|
|
527
|
+
function He(e, t) {
|
|
528
|
+
return te(e, t) && !qa.has(e.fullName);
|
|
488
529
|
}
|
|
489
530
|
function te(e, t) {
|
|
490
531
|
return t.parser === "vue" && e.type === "element" && e.parent.type === "root" && e.fullName.toLowerCase() !== "html";
|
|
491
532
|
}
|
|
492
|
-
function
|
|
493
|
-
return te(e, t) && (
|
|
533
|
+
function mt(e, t) {
|
|
534
|
+
return te(e, t) && (He(e, t) || e.attrMap.lang && e.attrMap.lang !== "html");
|
|
494
535
|
}
|
|
495
|
-
function
|
|
536
|
+
function Na(e) {
|
|
496
537
|
let t = e.fullName;
|
|
497
538
|
return t.charAt(0) === "#" || t === "slot-scope" || t === "v-slot" || t.startsWith("v-slot:");
|
|
498
539
|
}
|
|
499
|
-
function
|
|
540
|
+
function Ia(e, t) {
|
|
500
541
|
let r = e.parent;
|
|
501
542
|
if (!te(r, t))
|
|
502
543
|
return !1;
|
|
503
544
|
let n = r.fullName, a = e.fullName;
|
|
504
545
|
return n === "script" && a === "setup" || n === "style" && a === "vars";
|
|
505
546
|
}
|
|
506
|
-
function
|
|
507
|
-
return e.parent.isWhitespaceSensitive ? e.parent.isIndentationSensitive ? P(t) : P(qr(
|
|
547
|
+
function zr(e, t = e.value) {
|
|
548
|
+
return e.parent.isWhitespaceSensitive ? e.parent.isIndentationSensitive ? P(t) : P(Wr(qr(t)), y) : Z(_, R.split(t));
|
|
508
549
|
}
|
|
509
|
-
function
|
|
550
|
+
function jr(e, t) {
|
|
510
551
|
return te(e, t) && e.name === "script";
|
|
511
552
|
}
|
|
512
|
-
var
|
|
513
|
-
async function
|
|
553
|
+
var Gr = /\{\{(.+?)\}\}/su;
|
|
554
|
+
async function Pa(e, t) {
|
|
514
555
|
let r = [];
|
|
515
|
-
for (let [n, a] of e.split(
|
|
556
|
+
for (let [n, a] of e.split(Gr).entries())
|
|
516
557
|
if (n % 2 === 0)
|
|
517
558
|
r.push(P(a));
|
|
518
559
|
else
|
|
519
560
|
try {
|
|
520
|
-
r.push(k(["{{",
|
|
561
|
+
r.push(k(["{{", H([_, await M(a, t, { parser: "__ng_interpolation", __isInHtmlInterpolation: !0 })]), _, "}}"]));
|
|
521
562
|
} catch {
|
|
522
563
|
r.push("{{", P(a), "}}");
|
|
523
564
|
}
|
|
524
565
|
return r;
|
|
525
566
|
}
|
|
526
|
-
function
|
|
527
|
-
return (t, r, n) =>
|
|
567
|
+
function gt({ parser: e }) {
|
|
568
|
+
return (t, r, n) => M(O(n.node), t, { parser: e }, ee);
|
|
528
569
|
}
|
|
529
|
-
var
|
|
530
|
-
function
|
|
570
|
+
var Ma = gt({ parser: "__ng_action" }), Ha = gt({ parser: "__ng_binding" }), Ra = gt({ parser: "__ng_directive" });
|
|
571
|
+
function Ua(e, t) {
|
|
531
572
|
if (t.parser !== "angular")
|
|
532
573
|
return;
|
|
533
574
|
let { node: r } = e, n = r.fullName;
|
|
534
575
|
if (n.startsWith("(") && n.endsWith(")") || n.startsWith("on-"))
|
|
535
|
-
return
|
|
576
|
+
return Ma;
|
|
536
577
|
if (n.startsWith("[") && n.endsWith("]") || /^bind(?:on)?-/u.test(n) || /^ng-(?:if|show|hide|class|style)$/u.test(n))
|
|
537
|
-
return
|
|
578
|
+
return Ha;
|
|
538
579
|
if (n.startsWith("*"))
|
|
539
|
-
return
|
|
580
|
+
return Ra;
|
|
540
581
|
let a = O(r);
|
|
541
582
|
if (/^i18n(?:-.+)?$/u.test(n))
|
|
542
|
-
return () => Ie(
|
|
543
|
-
if (
|
|
544
|
-
return (i) =>
|
|
583
|
+
return () => Ie(Br(zr(r, a.trim())), !a.includes("@@"));
|
|
584
|
+
if (Gr.test(a))
|
|
585
|
+
return (i) => Pa(a, i);
|
|
545
586
|
}
|
|
546
|
-
var
|
|
547
|
-
function
|
|
587
|
+
var Va = Ua;
|
|
588
|
+
function Oa(e, t) {
|
|
548
589
|
let { node: r } = e, n = O(r);
|
|
549
590
|
if (r.fullName === "class" && !t.parentParser && !n.includes("{{"))
|
|
550
591
|
return () => n.trim().split(/\s+/u).join(" ");
|
|
551
592
|
}
|
|
552
|
-
var
|
|
553
|
-
function
|
|
593
|
+
var Wa = Oa;
|
|
594
|
+
function Rt(e) {
|
|
554
595
|
return e === " " || e === `
|
|
555
596
|
` || e === "\f" || e === "\r" || e === " ";
|
|
556
597
|
}
|
|
557
|
-
var
|
|
558
|
-
function
|
|
598
|
+
var $a = /^[ \t\n\r\u000c]+/, za = /^[, \t\n\r\u000c]+/, ja = /^[^ \t\n\r\u000c]+/, Ga = /[,]+$/, Ut = /^\d+$/, Ka = /^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/;
|
|
599
|
+
function Xa(e) {
|
|
559
600
|
let t = e.length, r, n, a, i, s, u = 0, o;
|
|
560
|
-
function p(
|
|
561
|
-
let C, w =
|
|
601
|
+
function p(g) {
|
|
602
|
+
let C, w = g.exec(e.substring(u));
|
|
562
603
|
if (w)
|
|
563
604
|
return [C] = w, u += C.length, C;
|
|
564
605
|
}
|
|
565
606
|
let l = [];
|
|
566
607
|
for (; ; ) {
|
|
567
|
-
if (p(
|
|
608
|
+
if (p(za), u >= t) {
|
|
568
609
|
if (l.length === 0)
|
|
569
610
|
throw new Error("Must contain one or more image candidate strings.");
|
|
570
611
|
return l;
|
|
571
612
|
}
|
|
572
|
-
o = u, r = p(
|
|
613
|
+
o = u, r = p(ja), n = [], r.slice(-1) === "," ? (r = r.replace(Ga, ""), d()) : v();
|
|
573
614
|
}
|
|
574
|
-
function
|
|
575
|
-
for (p(
|
|
615
|
+
function v() {
|
|
616
|
+
for (p($a), a = "", i = "in descriptor"; ; ) {
|
|
576
617
|
if (s = e.charAt(u), i === "in descriptor")
|
|
577
|
-
if (
|
|
618
|
+
if (Rt(s))
|
|
578
619
|
a && (n.push(a), a = "", i = "after descriptor");
|
|
579
620
|
else if (s === ",") {
|
|
580
|
-
u += 1, a && n.push(a),
|
|
621
|
+
u += 1, a && n.push(a), d();
|
|
581
622
|
return;
|
|
582
623
|
} else if (s === "(")
|
|
583
624
|
a += s, i = "in parens";
|
|
584
625
|
else if (s === "") {
|
|
585
|
-
a && n.push(a),
|
|
626
|
+
a && n.push(a), d();
|
|
586
627
|
return;
|
|
587
628
|
} else
|
|
588
629
|
a += s;
|
|
@@ -590,76 +631,76 @@ function Pa(e) {
|
|
|
590
631
|
if (s === ")")
|
|
591
632
|
a += s, i = "in descriptor";
|
|
592
633
|
else if (s === "") {
|
|
593
|
-
n.push(a),
|
|
634
|
+
n.push(a), d();
|
|
594
635
|
return;
|
|
595
636
|
} else
|
|
596
637
|
a += s;
|
|
597
|
-
else if (i === "after descriptor" && !
|
|
638
|
+
else if (i === "after descriptor" && !Rt(s))
|
|
598
639
|
if (s === "") {
|
|
599
|
-
|
|
640
|
+
d();
|
|
600
641
|
return;
|
|
601
642
|
} else
|
|
602
643
|
i = "in descriptor", u -= 1;
|
|
603
644
|
u += 1;
|
|
604
645
|
}
|
|
605
646
|
}
|
|
606
|
-
function
|
|
607
|
-
let
|
|
647
|
+
function d() {
|
|
648
|
+
let g = !1, C, w, E, x, c = {}, f, A, S, T, G;
|
|
608
649
|
for (x = 0; x < n.length; x++)
|
|
609
|
-
|
|
610
|
-
if (!
|
|
650
|
+
f = n[x], A = f[f.length - 1], S = f.substring(0, f.length - 1), T = parseInt(S, 10), G = parseFloat(S), Ut.test(S) && A === "w" ? ((C || w) && (g = !0), T === 0 ? g = !0 : C = T) : Ka.test(S) && A === "x" ? ((C || w || E) && (g = !0), G < 0 ? g = !0 : w = G) : Ut.test(S) && A === "h" ? ((E || w) && (g = !0), T === 0 ? g = !0 : E = T) : g = !0;
|
|
651
|
+
if (!g)
|
|
611
652
|
c.source = { value: r, startOffset: o }, C && (c.width = { value: C }), w && (c.density = { value: w }), E && (c.height = { value: E }), l.push(c);
|
|
612
653
|
else
|
|
613
|
-
throw new Error(`Invalid srcset descriptor found in "${e}" at "${
|
|
654
|
+
throw new Error(`Invalid srcset descriptor found in "${e}" at "${f}".`);
|
|
614
655
|
}
|
|
615
656
|
}
|
|
616
|
-
var
|
|
617
|
-
function
|
|
657
|
+
var Ja = Xa;
|
|
658
|
+
function Ya(e) {
|
|
618
659
|
if (e.node.fullName === "srcset" && (e.parent.fullName === "img" || e.parent.fullName === "source"))
|
|
619
|
-
return () =>
|
|
660
|
+
return () => Za(O(e.node));
|
|
620
661
|
}
|
|
621
|
-
var
|
|
622
|
-
function
|
|
623
|
-
let t =
|
|
662
|
+
var Kr = { width: "w", height: "h", density: "x" }, Qa = Object.keys(Kr);
|
|
663
|
+
function Za(e) {
|
|
664
|
+
let t = Ja(e), r = Qa.filter((l) => t.some((v) => Object.prototype.hasOwnProperty.call(v, l)));
|
|
624
665
|
if (r.length > 1)
|
|
625
666
|
throw new Error("Mixed descriptor in srcset is not supported");
|
|
626
|
-
let [n] = r, a =
|
|
627
|
-
let
|
|
628
|
-
return
|
|
667
|
+
let [n] = r, a = Kr[n], i = t.map((l) => l.source.value), s = Math.max(...i.map((l) => l.length)), u = t.map((l) => l[n] ? String(l[n].value) : ""), o = u.map((l) => {
|
|
668
|
+
let v = l.indexOf(".");
|
|
669
|
+
return v === -1 ? l.length : v;
|
|
629
670
|
}), p = Math.max(...o);
|
|
630
|
-
return Ie(Z([",", _], i.map((l,
|
|
631
|
-
let
|
|
632
|
-
if (
|
|
633
|
-
let C = s - l.length + 1, w = p - o[
|
|
634
|
-
|
|
671
|
+
return Ie(Z([",", _], i.map((l, v) => {
|
|
672
|
+
let d = [l], g = u[v];
|
|
673
|
+
if (g) {
|
|
674
|
+
let C = s - l.length + 1, w = p - o[v], E = " ".repeat(C + w);
|
|
675
|
+
d.push(xe(E, " "), g + a);
|
|
635
676
|
}
|
|
636
|
-
return
|
|
677
|
+
return d;
|
|
637
678
|
})));
|
|
638
679
|
}
|
|
639
|
-
var
|
|
640
|
-
function
|
|
680
|
+
var ei = Ya;
|
|
681
|
+
function ti(e, t) {
|
|
641
682
|
let { node: r } = e, n = O(e.node).trim();
|
|
642
683
|
if (r.fullName === "style" && !t.parentParser && !n.includes("{{"))
|
|
643
684
|
return async (a) => Ie(await a(n, { parser: "css", __isHTMLStyleAttribute: !0 }));
|
|
644
685
|
}
|
|
645
|
-
var
|
|
646
|
-
function
|
|
686
|
+
var ze = /* @__PURE__ */ new WeakMap();
|
|
687
|
+
function ri(e, t) {
|
|
647
688
|
let { root: r } = e;
|
|
648
|
-
return
|
|
689
|
+
return ze.has(r) || ze.set(r, r.children.some((n) => jr(n, t) && ["ts", "typescript"].includes(n.attrMap.lang))), ze.get(r);
|
|
649
690
|
}
|
|
650
|
-
var
|
|
651
|
-
function
|
|
691
|
+
var ft = ri;
|
|
692
|
+
function ni(e, t, r) {
|
|
652
693
|
let { node: n } = r, a = O(n);
|
|
653
|
-
return
|
|
694
|
+
return M(`type T<${a}> = any`, e, { parser: "babel-ts", __isEmbeddedTypescriptGenericParameters: !0 }, ee);
|
|
654
695
|
}
|
|
655
|
-
function
|
|
656
|
-
return
|
|
696
|
+
function ai(e, t, { parseWithTs: r }) {
|
|
697
|
+
return M(`function _(${e}) {}`, t, { parser: r ? "babel-ts" : "babel", __isVueBindings: !0 });
|
|
657
698
|
}
|
|
658
|
-
async function
|
|
659
|
-
let a = O(r.node), { left: i, operator: s, right: u } =
|
|
660
|
-
return [k(await
|
|
699
|
+
async function ii(e, t, r, n) {
|
|
700
|
+
let a = O(r.node), { left: i, operator: s, right: u } = si(a), o = ft(r, n);
|
|
701
|
+
return [k(await M(`function _(${i}) {}`, e, { parser: o ? "babel-ts" : "babel", __isVueForBindingLeft: !0 })), " ", s, " ", await M(u, e, { parser: o ? "__ts_expression" : "__js_expression" })];
|
|
661
702
|
}
|
|
662
|
-
function
|
|
703
|
+
function si(e) {
|
|
663
704
|
let t = /(.*?)\s+(in|of)\s+(.*)/su, r = /,([^,\]}]*)(?:,([^,\]}]*))?$/u, n = /^\(|\)$/gu, a = e.match(t);
|
|
664
705
|
if (!a)
|
|
665
706
|
return;
|
|
@@ -672,89 +713,85 @@ function Ga(e) {
|
|
|
672
713
|
if (!o.some((p, l) => !p && (l === 0 || o.slice(l + 1).some(Boolean))))
|
|
673
714
|
return { left: o.filter(Boolean).join(","), operator: a[2], right: i.for };
|
|
674
715
|
}
|
|
675
|
-
function
|
|
716
|
+
function ui(e, t) {
|
|
676
717
|
if (t.parser !== "vue")
|
|
677
718
|
return;
|
|
678
719
|
let { node: r } = e, n = r.fullName;
|
|
679
720
|
if (n === "v-for")
|
|
680
|
-
return
|
|
681
|
-
if (n === "generic" &&
|
|
682
|
-
return
|
|
683
|
-
let a = O(r), i =
|
|
684
|
-
if (
|
|
685
|
-
return (s) =>
|
|
721
|
+
return ii;
|
|
722
|
+
if (n === "generic" && jr(r.parent, t))
|
|
723
|
+
return ni;
|
|
724
|
+
let a = O(r), i = ft(e, t);
|
|
725
|
+
if (Na(r) || Ia(r, t))
|
|
726
|
+
return (s) => ai(a, s, { parseWithTs: i });
|
|
686
727
|
if (n.startsWith("@") || n.startsWith("v-on:"))
|
|
687
|
-
return (s) =>
|
|
728
|
+
return (s) => oi(a, s, { parseWithTs: i });
|
|
688
729
|
if (n.startsWith(":") || n.startsWith(".") || n.startsWith("v-bind:"))
|
|
689
|
-
return (s) =>
|
|
730
|
+
return (s) => li(a, s, { parseWithTs: i });
|
|
690
731
|
if (n.startsWith("v-"))
|
|
691
|
-
return (s) =>
|
|
732
|
+
return (s) => Xr(a, s, { parseWithTs: i });
|
|
692
733
|
}
|
|
693
|
-
async function
|
|
734
|
+
async function oi(e, t, { parseWithTs: r }) {
|
|
694
735
|
var n;
|
|
695
736
|
try {
|
|
696
|
-
return await
|
|
737
|
+
return await Xr(e, t, { parseWithTs: r });
|
|
697
738
|
} catch (a) {
|
|
698
739
|
if (((n = a.cause) == null ? void 0 : n.code) !== "BABEL_PARSER_SYNTAX_ERROR")
|
|
699
740
|
throw a;
|
|
700
741
|
}
|
|
701
|
-
return
|
|
742
|
+
return M(e, t, { parser: r ? "__vue_ts_event_binding" : "__vue_event_binding" }, ee);
|
|
702
743
|
}
|
|
703
|
-
function
|
|
704
|
-
return
|
|
744
|
+
function li(e, t, { parseWithTs: r }) {
|
|
745
|
+
return M(e, t, { parser: r ? "__vue_ts_expression" : "__vue_expression" }, ee);
|
|
705
746
|
}
|
|
706
|
-
function
|
|
707
|
-
return
|
|
747
|
+
function Xr(e, t, { parseWithTs: r }) {
|
|
748
|
+
return M(e, t, { parser: r ? "__ts_expression" : "__js_expression" }, ee);
|
|
708
749
|
}
|
|
709
|
-
var
|
|
710
|
-
function
|
|
750
|
+
var ci = ui;
|
|
751
|
+
function pi(e, t) {
|
|
711
752
|
let { node: r } = e;
|
|
712
753
|
if (r.value) {
|
|
713
754
|
if (/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/u.test(t.originalText.slice(r.valueSpan.start.offset, r.valueSpan.end.offset)) || t.parser === "lwc" && r.value.startsWith("{") && r.value.endsWith("}"))
|
|
714
755
|
return [r.rawName, "=", r.value];
|
|
715
|
-
for (let n of [
|
|
756
|
+
for (let n of [ei, ti, Wa, ci, Va]) {
|
|
716
757
|
let a = n(e, t);
|
|
717
758
|
if (a)
|
|
718
|
-
return
|
|
759
|
+
return hi(a);
|
|
719
760
|
}
|
|
720
761
|
}
|
|
721
762
|
}
|
|
722
|
-
function
|
|
763
|
+
function hi(e) {
|
|
723
764
|
return async (t, r, n, a) => {
|
|
724
765
|
let i = await e(t, r, n, a);
|
|
725
766
|
if (i)
|
|
726
|
-
return i =
|
|
767
|
+
return i = Dr(i, (s) => typeof s == "string" ? L(!1, s, '"', """) : s), [n.node.rawName, '="', k(i), '"'];
|
|
727
768
|
};
|
|
728
769
|
}
|
|
729
|
-
var
|
|
730
|
-
}, { get: () =>
|
|
731
|
-
function ti(e) {
|
|
732
|
-
return Array.isArray(e) && e.length > 0;
|
|
733
|
-
}
|
|
734
|
-
var ft = ti;
|
|
770
|
+
var di = pi, mi = new Proxy(() => {
|
|
771
|
+
}, { get: () => mi });
|
|
735
772
|
function fe(e) {
|
|
736
773
|
return e.sourceSpan.start.offset;
|
|
737
774
|
}
|
|
738
|
-
function
|
|
775
|
+
function Re(e) {
|
|
739
776
|
return e.sourceSpan.end.offset;
|
|
740
777
|
}
|
|
741
|
-
function
|
|
742
|
-
return [e.isSelfClosing ? "" :
|
|
778
|
+
function Ye(e, t) {
|
|
779
|
+
return [e.isSelfClosing ? "" : gi(e, t), oe(e, t)];
|
|
743
780
|
}
|
|
744
|
-
function
|
|
745
|
-
return e.lastChild && he(e.lastChild) ? "" : [
|
|
781
|
+
function gi(e, t) {
|
|
782
|
+
return e.lastChild && he(e.lastChild) ? "" : [fi(e, t), vt(e, t)];
|
|
746
783
|
}
|
|
747
784
|
function oe(e, t) {
|
|
748
|
-
return (e.next ?
|
|
785
|
+
return (e.next ? z(e.next) : Ce(e.parent)) ? "" : [ve(e, t), $(e, t)];
|
|
749
786
|
}
|
|
750
|
-
function
|
|
751
|
-
return
|
|
787
|
+
function fi(e, t) {
|
|
788
|
+
return Ce(e) ? ve(e.lastChild, t) : "";
|
|
752
789
|
}
|
|
753
|
-
function
|
|
754
|
-
return he(e) ? vt(e.parent, t) :
|
|
790
|
+
function $(e, t) {
|
|
791
|
+
return he(e) ? vt(e.parent, t) : Ue(e) ? Ct(e.next, t) : "";
|
|
755
792
|
}
|
|
756
793
|
function vt(e, t) {
|
|
757
|
-
if (
|
|
794
|
+
if (Jr(e, t))
|
|
758
795
|
return "";
|
|
759
796
|
switch (e.type) {
|
|
760
797
|
case "ieConditionalComment":
|
|
@@ -766,8 +803,8 @@ function vt(e, t) {
|
|
|
766
803
|
return `</${e.rawName}`;
|
|
767
804
|
}
|
|
768
805
|
}
|
|
769
|
-
function
|
|
770
|
-
if (
|
|
806
|
+
function ve(e, t) {
|
|
807
|
+
if (Jr(e, t))
|
|
771
808
|
return "";
|
|
772
809
|
switch (e.type) {
|
|
773
810
|
case "ieConditionalComment":
|
|
@@ -786,51 +823,51 @@ function Ce(e, t) {
|
|
|
786
823
|
return ">";
|
|
787
824
|
}
|
|
788
825
|
}
|
|
789
|
-
function
|
|
790
|
-
return !e.isSelfClosing && !e.endSourceSpan && (
|
|
826
|
+
function Jr(e, t) {
|
|
827
|
+
return !e.isSelfClosing && !e.endSourceSpan && (Me(e) || Nr(e.parent, t));
|
|
791
828
|
}
|
|
792
|
-
function
|
|
829
|
+
function z(e) {
|
|
793
830
|
return e.prev && e.prev.type !== "docType" && e.type !== "angularControlFlowBlock" && !q(e.prev) && e.isLeadingSpaceSensitive && !e.hasLeadingSpaces;
|
|
794
831
|
}
|
|
795
|
-
function
|
|
832
|
+
function Ce(e) {
|
|
796
833
|
var t;
|
|
797
|
-
return ((t = e.lastChild) == null ? void 0 : t.isTrailingSpaceSensitive) && !e.lastChild.hasTrailingSpaces && !q(
|
|
834
|
+
return ((t = e.lastChild) == null ? void 0 : t.isTrailingSpaceSensitive) && !e.lastChild.hasTrailingSpaces && !q(dt(e.lastChild)) && !Y(e);
|
|
798
835
|
}
|
|
799
836
|
function he(e) {
|
|
800
|
-
return !e.next && !e.hasTrailingSpaces && e.isTrailingSpaceSensitive && q(
|
|
837
|
+
return !e.next && !e.hasTrailingSpaces && e.isTrailingSpaceSensitive && q(dt(e));
|
|
801
838
|
}
|
|
802
|
-
function
|
|
839
|
+
function Ue(e) {
|
|
803
840
|
return e.next && !q(e.next) && q(e) && e.isTrailingSpaceSensitive && !e.hasTrailingSpaces;
|
|
804
841
|
}
|
|
805
|
-
function
|
|
842
|
+
function vi(e) {
|
|
806
843
|
let t = e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/su);
|
|
807
844
|
return t ? t[1] ? t[1].split(/\s+/u) : !0 : !1;
|
|
808
845
|
}
|
|
809
|
-
function
|
|
846
|
+
function Ve(e) {
|
|
810
847
|
return !e.prev && e.isLeadingSpaceSensitive && !e.hasLeadingSpaces;
|
|
811
848
|
}
|
|
812
|
-
function
|
|
849
|
+
function Ci(e, t, r) {
|
|
813
850
|
var n;
|
|
814
851
|
let { node: a } = e;
|
|
815
|
-
if (!
|
|
852
|
+
if (!ht(a.attrs))
|
|
816
853
|
return a.isSelfClosing ? " " : "";
|
|
817
|
-
let i = ((n = a.prev) == null ? void 0 : n.type) === "comment" &&
|
|
818
|
-
return a.firstChild &&
|
|
854
|
+
let i = ((n = a.prev) == null ? void 0 : n.type) === "comment" && vi(a.prev.value), s = typeof i == "boolean" ? () => i : Array.isArray(i) ? (v) => i.includes(v.rawName) : () => !1, u = e.map(({ node: v }) => s(v) ? P(t.originalText.slice(fe(v), Re(v))) : r(), "attrs"), o = a.type === "element" && a.fullName === "script" && a.attrs.length === 1 && a.attrs[0].fullName === "src" && a.children.length === 0, p = t.singleAttributePerLine && a.attrs.length > 1 && !te(a, t) ? y : _, l = [H([o ? " " : _, Z(p, u)])];
|
|
855
|
+
return a.firstChild && Ve(a.firstChild) || a.isSelfClosing && Ce(a.parent) || o ? l.push(a.isSelfClosing ? " " : "") : l.push(t.bracketSameLine ? a.isSelfClosing ? " " : "" : a.isSelfClosing ? _ : D), l;
|
|
819
856
|
}
|
|
820
|
-
function
|
|
821
|
-
return e.firstChild &&
|
|
857
|
+
function yi(e) {
|
|
858
|
+
return e.firstChild && Ve(e.firstChild) ? "" : yt(e);
|
|
822
859
|
}
|
|
823
860
|
function Qe(e, t, r) {
|
|
824
861
|
let { node: n } = e;
|
|
825
|
-
return [le(n, t),
|
|
862
|
+
return [le(n, t), Ci(e, t, r), n.isSelfClosing ? "" : yi(n)];
|
|
826
863
|
}
|
|
827
864
|
function le(e, t) {
|
|
828
|
-
return e.prev &&
|
|
865
|
+
return e.prev && Ue(e.prev) ? "" : [j(e, t), Ct(e, t)];
|
|
829
866
|
}
|
|
830
867
|
function j(e, t) {
|
|
831
|
-
return
|
|
868
|
+
return Ve(e) ? yt(e.parent) : z(e) ? ve(e.prev, t) : "";
|
|
832
869
|
}
|
|
833
|
-
var
|
|
870
|
+
var Vt = "<!doctype";
|
|
834
871
|
function Ct(e, t) {
|
|
835
872
|
switch (e.type) {
|
|
836
873
|
case "ieConditionalComment":
|
|
@@ -842,11 +879,12 @@ function Ct(e, t) {
|
|
|
842
879
|
return "{{";
|
|
843
880
|
case "docType": {
|
|
844
881
|
if (e.value === "html") {
|
|
845
|
-
let
|
|
846
|
-
if (/\.html?$/u.test(
|
|
847
|
-
return
|
|
882
|
+
let { filepath: n } = t;
|
|
883
|
+
if (n && /\.html?$/u.test(n))
|
|
884
|
+
return Vt;
|
|
848
885
|
}
|
|
849
|
-
|
|
886
|
+
let r = fe(e);
|
|
887
|
+
return t.originalText.slice(r, r + Vt.length);
|
|
850
888
|
}
|
|
851
889
|
case "angularIcuExpression":
|
|
852
890
|
return "{";
|
|
@@ -857,8 +895,8 @@ function Ct(e, t) {
|
|
|
857
895
|
return `<${e.rawName}`;
|
|
858
896
|
}
|
|
859
897
|
}
|
|
860
|
-
function
|
|
861
|
-
switch (
|
|
898
|
+
function yt(e) {
|
|
899
|
+
switch (e.type) {
|
|
862
900
|
case "ieConditionalComment":
|
|
863
901
|
return "]>";
|
|
864
902
|
case "element":
|
|
@@ -868,58 +906,58 @@ function St(e) {
|
|
|
868
906
|
return ">";
|
|
869
907
|
}
|
|
870
908
|
}
|
|
871
|
-
function
|
|
909
|
+
function Si(e, t) {
|
|
872
910
|
if (!e.endSourceSpan)
|
|
873
911
|
return "";
|
|
874
912
|
let r = e.startSourceSpan.end.offset;
|
|
875
|
-
e.firstChild &&
|
|
913
|
+
e.firstChild && Ve(e.firstChild) && (r -= yt(e).length);
|
|
876
914
|
let n = e.endSourceSpan.start.offset;
|
|
877
|
-
return e.lastChild && he(e.lastChild) ? n += vt(e, t).length :
|
|
915
|
+
return e.lastChild && he(e.lastChild) ? n += vt(e, t).length : Ce(e) && (n -= ve(e.lastChild, t).length), t.originalText.slice(r, n);
|
|
878
916
|
}
|
|
879
|
-
var
|
|
880
|
-
function
|
|
917
|
+
var Yr = Si, bi = /* @__PURE__ */ new Set(["if", "else if", "for", "switch", "case"]);
|
|
918
|
+
function _i(e, t) {
|
|
881
919
|
let { node: r } = e;
|
|
882
920
|
switch (r.type) {
|
|
883
921
|
case "element":
|
|
884
|
-
if (U(r) || r.type === "interpolation")
|
|
922
|
+
if (U(r, t) || r.type === "interpolation")
|
|
885
923
|
return;
|
|
886
|
-
if (!r.isSelfClosing &&
|
|
887
|
-
let n =
|
|
924
|
+
if (!r.isSelfClosing && mt(r, t)) {
|
|
925
|
+
let n = Ht(r, t);
|
|
888
926
|
return n ? async (a, i) => {
|
|
889
|
-
let s =
|
|
890
|
-
return u || (o = await a(
|
|
927
|
+
let s = Yr(r, t), u = /^\s*$/u.test(s), o = "";
|
|
928
|
+
return u || (o = await a(qr(s), { parser: n, __embeddedInHtml: !0 }), u = o === ""), [j(r, t), k(Qe(e, t, i)), u ? "" : y, o, u ? "" : y, Ye(r, t), $(r, t)];
|
|
891
929
|
} : void 0;
|
|
892
930
|
}
|
|
893
931
|
break;
|
|
894
932
|
case "text":
|
|
895
|
-
if (U(r.parent)) {
|
|
896
|
-
let n =
|
|
933
|
+
if (U(r.parent, t)) {
|
|
934
|
+
let n = Ht(r.parent, t);
|
|
897
935
|
if (n)
|
|
898
936
|
return async (a) => {
|
|
899
|
-
let i = n === "markdown" ?
|
|
937
|
+
let i = n === "markdown" ? Wr(r.value.replace(/^[^\S\n]*\n/u, "")) : r.value, s = { parser: n, __embeddedInHtml: !0 };
|
|
900
938
|
if (t.parser === "html" && n === "babel") {
|
|
901
939
|
let u = "script", { attrMap: o } = r.parent;
|
|
902
|
-
o && (o.type === "module" || o.type === "text/babel" && o["data-type"] === "module") && (u = "module"), s.__babelSourceType = u;
|
|
940
|
+
o && (o.type === "module" || (o.type === "text/babel" || o.type === "text/jsx") && o["data-type"] === "module") && (u = "module"), s.__babelSourceType = u;
|
|
903
941
|
}
|
|
904
|
-
return [me, j(r, t), await a(i, s),
|
|
942
|
+
return [me, j(r, t), await a(i, s), $(r, t)];
|
|
905
943
|
};
|
|
906
944
|
} else if (r.parent.type === "interpolation")
|
|
907
945
|
return async (n) => {
|
|
908
946
|
let a = { __isInHtmlInterpolation: !0, __embeddedInHtml: !0 };
|
|
909
|
-
return t.parser === "angular" ? a.parser = "__ng_interpolation" : t.parser === "vue" ? a.parser =
|
|
947
|
+
return t.parser === "angular" ? a.parser = "__ng_interpolation" : t.parser === "vue" ? a.parser = ft(e, t) ? "__vue_ts_expression" : "__vue_expression" : a.parser = "__js_expression", [H([_, await n(r.value, a)]), r.parent.next && z(r.parent.next) ? " " : _];
|
|
910
948
|
};
|
|
911
949
|
break;
|
|
912
950
|
case "attribute":
|
|
913
|
-
return
|
|
951
|
+
return di(e, t);
|
|
914
952
|
case "front-matter":
|
|
915
|
-
return (n) =>
|
|
953
|
+
return (n) => Kn(r, n);
|
|
916
954
|
case "angularControlFlowBlockParameters":
|
|
917
|
-
return
|
|
955
|
+
return bi.has(e.parent.name) ? Jn : void 0;
|
|
918
956
|
case "angularLetDeclarationInitializer":
|
|
919
|
-
return (n) =>
|
|
957
|
+
return (n) => M(r.value, n, { parser: "__ng_binding", __isInHtmlAttribute: !1 });
|
|
920
958
|
}
|
|
921
959
|
}
|
|
922
|
-
var
|
|
960
|
+
var wi = _i, ne = null;
|
|
923
961
|
function ce(e) {
|
|
924
962
|
if (ne !== null && typeof ne.property) {
|
|
925
963
|
let t = ne;
|
|
@@ -927,14 +965,14 @@ function ce(e) {
|
|
|
927
965
|
}
|
|
928
966
|
return ne = ce.prototype = e ?? /* @__PURE__ */ Object.create(null), new ce();
|
|
929
967
|
}
|
|
930
|
-
var
|
|
931
|
-
for (let e = 0; e <=
|
|
968
|
+
var Ai = 10;
|
|
969
|
+
for (let e = 0; e <= Ai; e++)
|
|
932
970
|
ce();
|
|
933
|
-
function
|
|
971
|
+
function ki(e) {
|
|
934
972
|
return ce(e);
|
|
935
973
|
}
|
|
936
|
-
function
|
|
937
|
-
|
|
974
|
+
function Ei(e, t = "type") {
|
|
975
|
+
ki(e);
|
|
938
976
|
function r(n) {
|
|
939
977
|
let a = n[t], i = e[a];
|
|
940
978
|
if (!Array.isArray(i))
|
|
@@ -943,37 +981,40 @@ function di(e, t = "type") {
|
|
|
943
981
|
}
|
|
944
982
|
return r;
|
|
945
983
|
}
|
|
946
|
-
var
|
|
947
|
-
function
|
|
948
|
-
return
|
|
984
|
+
var xi = Ei, Di = { "front-matter": [], root: ["children"], element: ["attrs", "children"], ieConditionalComment: ["children"], ieConditionalStartComment: [], ieConditionalEndComment: [], interpolation: ["children"], text: ["children"], docType: [], comment: [], attribute: [], cdata: [], angularControlFlowBlock: ["children", "parameters"], angularControlFlowBlockParameters: ["children"], angularControlFlowBlockParameter: [], angularLetDeclaration: ["init"], angularLetDeclarationInitializer: [], angularIcuExpression: ["cases"], angularIcuCase: ["expression"] }, Ti = Di, Bi = xi(Ti), Li = Bi, Fi = "format", qi = /^\s*<!--\s*@(?:noformat|noprettier)\s*-->/u, Ni = /^\s*<!--\s*@(?:format|prettier)\s*-->/u;
|
|
985
|
+
function Ii(e) {
|
|
986
|
+
return Ni.test(e);
|
|
949
987
|
}
|
|
950
|
-
function
|
|
951
|
-
return
|
|
988
|
+
function Pi(e) {
|
|
989
|
+
return qi.test(e);
|
|
990
|
+
}
|
|
991
|
+
function Mi(e) {
|
|
992
|
+
return `<!-- @${Fi} -->
|
|
952
993
|
|
|
953
|
-
|
|
994
|
+
${e}`;
|
|
954
995
|
}
|
|
955
|
-
var
|
|
956
|
-
function
|
|
957
|
-
let t =
|
|
958
|
-
return e.type === "element" && !e.endSourceSpan &&
|
|
996
|
+
var Hi = /* @__PURE__ */ new Map([["if", /* @__PURE__ */ new Set(["else if", "else"])], ["else if", /* @__PURE__ */ new Set(["else if", "else"])], ["for", /* @__PURE__ */ new Set(["empty"])], ["defer", /* @__PURE__ */ new Set(["placeholder", "error", "loading"])], ["placeholder", /* @__PURE__ */ new Set(["placeholder", "error", "loading"])], ["error", /* @__PURE__ */ new Set(["placeholder", "error", "loading"])], ["loading", /* @__PURE__ */ new Set(["placeholder", "error", "loading"])]]);
|
|
997
|
+
function Qr(e) {
|
|
998
|
+
let t = Re(e);
|
|
999
|
+
return e.type === "element" && !e.endSourceSpan && ht(e.children) ? Math.max(t, Qr(de(!1, e.children, -1))) : t;
|
|
959
1000
|
}
|
|
960
1001
|
function ae(e, t, r) {
|
|
961
1002
|
let n = e.node;
|
|
962
|
-
if (
|
|
963
|
-
let a =
|
|
964
|
-
return [j(n, t), P(R.trimEnd(t.originalText.slice(fe(n) + (n.prev &&
|
|
1003
|
+
if (Me(n)) {
|
|
1004
|
+
let a = Qr(n);
|
|
1005
|
+
return [j(n, t), P(R.trimEnd(t.originalText.slice(fe(n) + (n.prev && Ue(n.prev) ? Ct(n).length : 0), a - (n.next && z(n.next) ? ve(n, t).length : 0)))), $(n, t)];
|
|
965
1006
|
}
|
|
966
1007
|
return r();
|
|
967
1008
|
}
|
|
968
1009
|
function _e(e, t) {
|
|
969
|
-
return q(e) && q(t) ? e.isTrailingSpaceSensitive ? e.hasTrailingSpaces ?
|
|
1010
|
+
return q(e) && q(t) ? e.isTrailingSpaceSensitive ? e.hasTrailingSpaces ? $e(t) ? y : _ : "" : $e(t) ? y : D : Ue(e) && (Me(t) || t.firstChild || t.isSelfClosing || t.type === "element" && t.attrs.length > 0) || e.type === "element" && e.isSelfClosing && z(t) ? "" : !t.isLeadingSpaceSensitive || $e(t) || z(t) && e.lastChild && he(e.lastChild) && e.lastChild.lastChild && he(e.lastChild.lastChild) ? y : t.hasLeadingSpaces ? _ : D;
|
|
970
1011
|
}
|
|
971
|
-
function
|
|
1012
|
+
function St(e, t, r) {
|
|
972
1013
|
let { node: n } = e;
|
|
973
|
-
if (
|
|
1014
|
+
if (Pr(n))
|
|
974
1015
|
return [me, ...e.map((i) => {
|
|
975
1016
|
let s = i.node, u = s.prev ? _e(s.prev, s) : "";
|
|
976
|
-
return [u ? [u, be(s.prev) ?
|
|
1017
|
+
return [u ? [u, be(s.prev) ? y : ""] : "", ae(i, t, r)];
|
|
977
1018
|
}, "children")];
|
|
978
1019
|
let a = n.children.map(() => Symbol(""));
|
|
979
1020
|
return e.map((i, s) => {
|
|
@@ -982,48 +1023,48 @@ function yt(e, t, r) {
|
|
|
982
1023
|
if (u.prev && q(u.prev)) {
|
|
983
1024
|
let C = _e(u.prev, u);
|
|
984
1025
|
if (C)
|
|
985
|
-
return be(u.prev) ? [
|
|
1026
|
+
return be(u.prev) ? [y, y, ae(i, t, r)] : [C, ae(i, t, r)];
|
|
986
1027
|
}
|
|
987
1028
|
return ae(i, t, r);
|
|
988
1029
|
}
|
|
989
|
-
let o = [], p = [], l = [],
|
|
990
|
-
return
|
|
1030
|
+
let o = [], p = [], l = [], v = [], d = u.prev ? _e(u.prev, u) : "", g = u.next ? _e(u, u.next) : "";
|
|
1031
|
+
return d && (be(u.prev) ? o.push(y, y) : d === y ? o.push(y) : q(u.prev) ? p.push(d) : p.push(xe("", D, { groupId: a[s - 1] }))), g && (be(u) ? q(u.next) && v.push(y, y) : g === y ? q(u.next) && v.push(y) : l.push(g)), [...o, k([...p, k([ae(i, t, r), ...l], { id: a[s] })]), ...v];
|
|
991
1032
|
}, "children");
|
|
992
1033
|
}
|
|
993
|
-
function
|
|
1034
|
+
function Ri(e, t, r) {
|
|
994
1035
|
let { node: n } = e, a = [];
|
|
995
|
-
|
|
996
|
-
let i =
|
|
997
|
-
return n.children.length > 0 ? (n.firstChild.hasLeadingSpaces = !0, n.lastChild.hasTrailingSpaces = !0, a.push(
|
|
1036
|
+
Ui(e) && a.push("} "), a.push("@", n.name), n.parameters && a.push(" (", k(r("parameters")), ")"), a.push(" {");
|
|
1037
|
+
let i = Zr(n);
|
|
1038
|
+
return n.children.length > 0 ? (n.firstChild.hasLeadingSpaces = !0, n.lastChild.hasTrailingSpaces = !0, a.push(H([y, St(e, t, r)])), i && a.push(y, "}")) : i && a.push("}"), k(a, { shouldBreak: !0 });
|
|
998
1039
|
}
|
|
999
|
-
function
|
|
1040
|
+
function Zr(e) {
|
|
1000
1041
|
var t, r;
|
|
1001
|
-
return !(((t = e.next) == null ? void 0 : t.type) === "angularControlFlowBlock" && (r =
|
|
1042
|
+
return !(((t = e.next) == null ? void 0 : t.type) === "angularControlFlowBlock" && (r = Hi.get(e.name)) != null && r.has(e.next.name));
|
|
1002
1043
|
}
|
|
1003
|
-
function
|
|
1044
|
+
function Ui(e) {
|
|
1004
1045
|
let { previous: t } = e;
|
|
1005
|
-
return (t == null ? void 0 : t.type) === "angularControlFlowBlock" && !
|
|
1046
|
+
return (t == null ? void 0 : t.type) === "angularControlFlowBlock" && !Me(t) && !Zr(t);
|
|
1006
1047
|
}
|
|
1007
|
-
function
|
|
1008
|
-
return [
|
|
1048
|
+
function Vi(e, t, r) {
|
|
1049
|
+
return [H([D, Z([";", _], e.map(r, "children"))]), D];
|
|
1009
1050
|
}
|
|
1010
|
-
function
|
|
1051
|
+
function Oi(e, t, r) {
|
|
1011
1052
|
let { node: n } = e;
|
|
1012
|
-
return [le(n, t), k([n.switchValue.trim(), ", ", n.clause, n.cases.length > 0 ? [",",
|
|
1053
|
+
return [le(n, t), k([n.switchValue.trim(), ", ", n.clause, n.cases.length > 0 ? [",", H([_, Z(_, e.map(r, "cases"))])] : "", D]), oe(n, t)];
|
|
1013
1054
|
}
|
|
1014
|
-
function
|
|
1055
|
+
function Wi(e, t, r) {
|
|
1015
1056
|
let { node: n } = e;
|
|
1016
|
-
return [n.value, " {", k([
|
|
1057
|
+
return [n.value, " {", k([H([D, e.map(({ node: a, isLast: i }) => {
|
|
1017
1058
|
let s = [r()];
|
|
1018
1059
|
return a.type === "text" && (a.hasLeadingSpaces && s.unshift(_), a.hasTrailingSpaces && !i && s.push(_)), s;
|
|
1019
1060
|
}, "expression")]), D]), "}"];
|
|
1020
1061
|
}
|
|
1021
|
-
function
|
|
1062
|
+
function $i(e, t, r) {
|
|
1022
1063
|
let { node: n } = e;
|
|
1023
|
-
if (
|
|
1024
|
-
return [j(n, t), k(Qe(e, t, r)), P(
|
|
1025
|
-
let a = n.children.length === 1 && (n.firstChild.type === "interpolation" || n.firstChild.type === "angularIcuExpression") && n.firstChild.isLeadingSpaceSensitive && !n.firstChild.hasLeadingSpaces && n.lastChild.isTrailingSpaceSensitive && !n.lastChild.hasTrailingSpaces, i = Symbol("element-attr-group-id"), s = (l) => k([k(Qe(e, t, r), { id: i }), l,
|
|
1026
|
-
return n.children.length === 0 ? s(n.hasDanglingSpaces && n.isDanglingSpaceSensitive ? _ : "") : s([
|
|
1064
|
+
if (Nr(n, t))
|
|
1065
|
+
return [j(n, t), k(Qe(e, t, r)), P(Yr(n, t)), ...Ye(n, t), $(n, t)];
|
|
1066
|
+
let a = n.children.length === 1 && (n.firstChild.type === "interpolation" || n.firstChild.type === "angularIcuExpression") && n.firstChild.isLeadingSpaceSensitive && !n.firstChild.hasLeadingSpaces && n.lastChild.isTrailingSpaceSensitive && !n.lastChild.hasTrailingSpaces, i = Symbol("element-attr-group-id"), s = (l) => k([k(Qe(e, t, r), { id: i }), l, Ye(n, t)]), u = (l) => a ? Bn(l, { groupId: i }) : (U(n, t) || He(n, t)) && n.parent.type === "root" && t.parser === "vue" && !t.vueIndentScriptAndStyle ? l : H(l), o = () => a ? xe(D, "", { groupId: i }) : n.firstChild.hasLeadingSpaces && n.firstChild.isLeadingSpaceSensitive ? _ : n.firstChild.type === "text" && n.isWhitespaceSensitive && n.isIndentationSensitive ? Dn(D) : D, p = () => (n.next ? z(n.next) : Ce(n.parent)) ? n.lastChild.hasTrailingSpaces && n.lastChild.isTrailingSpaceSensitive ? " " : "" : a ? xe(D, "", { groupId: i }) : n.lastChild.hasTrailingSpaces && n.lastChild.isTrailingSpaceSensitive ? _ : (n.lastChild.type === "comment" || n.lastChild.type === "text" && n.isWhitespaceSensitive && n.isIndentationSensitive) && new RegExp(`\\n[\\t ]{${t.tabWidth * (e.ancestors.length - 1)}}$`, "u").test(n.lastChild.value) ? "" : D;
|
|
1067
|
+
return n.children.length === 0 ? s(n.hasDanglingSpaces && n.isDanglingSpaceSensitive ? _ : "") : s([ya(n) ? me : "", u([o(), St(e, t, r)]), p()]);
|
|
1027
1068
|
}
|
|
1028
1069
|
function De(e) {
|
|
1029
1070
|
return e >= 9 && e <= 32 || e == 160;
|
|
@@ -1034,23 +1075,23 @@ function bt(e) {
|
|
|
1034
1075
|
function Te(e) {
|
|
1035
1076
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
1036
1077
|
}
|
|
1037
|
-
function
|
|
1078
|
+
function zi(e) {
|
|
1038
1079
|
return e >= 97 && e <= 102 || e >= 65 && e <= 70 || bt(e);
|
|
1039
1080
|
}
|
|
1040
1081
|
function _t(e) {
|
|
1041
1082
|
return e === 10 || e === 13;
|
|
1042
1083
|
}
|
|
1043
|
-
function
|
|
1084
|
+
function Ot(e) {
|
|
1044
1085
|
return 48 <= e && e <= 55;
|
|
1045
1086
|
}
|
|
1046
1087
|
function je(e) {
|
|
1047
1088
|
return e === 39 || e === 34 || e === 96;
|
|
1048
1089
|
}
|
|
1049
|
-
var
|
|
1050
|
-
function
|
|
1051
|
-
return e.replace(
|
|
1090
|
+
var ji = /-+([a-z0-9])/g;
|
|
1091
|
+
function Gi(e) {
|
|
1092
|
+
return e.replace(ji, (...t) => t[1].toUpperCase());
|
|
1052
1093
|
}
|
|
1053
|
-
var Ze = class
|
|
1094
|
+
var Ze = class en {
|
|
1054
1095
|
constructor(t, r, n, a) {
|
|
1055
1096
|
this.file = t, this.offset = r, this.line = n, this.col = a;
|
|
1056
1097
|
}
|
|
@@ -1070,7 +1111,7 @@ var Ze = class jr {
|
|
|
1070
1111
|
let u = r.charCodeAt(a);
|
|
1071
1112
|
a++, t--, u == 10 ? (i++, s = 0) : s++;
|
|
1072
1113
|
}
|
|
1073
|
-
return new
|
|
1114
|
+
return new en(this.file, a, i, s);
|
|
1074
1115
|
}
|
|
1075
1116
|
getContext(t, r) {
|
|
1076
1117
|
let n = this.file.content, a = this.offset;
|
|
@@ -1087,11 +1128,11 @@ var Ze = class jr {
|
|
|
1087
1128
|
}
|
|
1088
1129
|
return null;
|
|
1089
1130
|
}
|
|
1090
|
-
},
|
|
1131
|
+
}, tn = class {
|
|
1091
1132
|
constructor(e, t) {
|
|
1092
1133
|
this.content = e, this.url = t;
|
|
1093
1134
|
}
|
|
1094
|
-
},
|
|
1135
|
+
}, m = class {
|
|
1095
1136
|
constructor(e, t, r = e, n = null) {
|
|
1096
1137
|
this.start = e, this.end = t, this.fullStart = r, this.details = n;
|
|
1097
1138
|
}
|
|
@@ -1102,9 +1143,9 @@ var Ze = class jr {
|
|
|
1102
1143
|
(function(e) {
|
|
1103
1144
|
e[e.WARNING = 0] = "WARNING", e[e.ERROR = 1] = "ERROR";
|
|
1104
1145
|
})(Be || (Be = {}));
|
|
1105
|
-
var
|
|
1106
|
-
constructor(e, t, r = Be.ERROR) {
|
|
1107
|
-
this.span = e, this.msg = t, this.level = r;
|
|
1146
|
+
var rn = class {
|
|
1147
|
+
constructor(e, t, r = Be.ERROR, n) {
|
|
1148
|
+
this.span = e, this.msg = t, this.level = r, this.relatedError = n;
|
|
1108
1149
|
}
|
|
1109
1150
|
contextualMessage() {
|
|
1110
1151
|
let e = this.span.start.getContext(100, 3);
|
|
@@ -1114,13 +1155,13 @@ var Kr = class {
|
|
|
1114
1155
|
let e = this.span.details ? `, ${this.span.details}` : "";
|
|
1115
1156
|
return `${this.contextualMessage()}: ${this.span.start}${e}`;
|
|
1116
1157
|
}
|
|
1117
|
-
},
|
|
1118
|
-
function
|
|
1119
|
-
for (let r of
|
|
1158
|
+
}, Ki = [Ji, Yi, Zi, ts, rs, is, ns, as, ss, es];
|
|
1159
|
+
function Xi(e, t) {
|
|
1160
|
+
for (let r of Ki)
|
|
1120
1161
|
r(e, t);
|
|
1121
1162
|
return e;
|
|
1122
1163
|
}
|
|
1123
|
-
function
|
|
1164
|
+
function Ji(e) {
|
|
1124
1165
|
e.walk((t) => {
|
|
1125
1166
|
if (t.type === "element" && t.tagDefinition.ignoreFirstLf && t.children.length > 0 && t.children[0].type === "text" && t.children[0].value[0] === `
|
|
1126
1167
|
`) {
|
|
@@ -1129,7 +1170,7 @@ function qi(e) {
|
|
|
1129
1170
|
}
|
|
1130
1171
|
});
|
|
1131
1172
|
}
|
|
1132
|
-
function
|
|
1173
|
+
function Yi(e) {
|
|
1133
1174
|
let t = (r) => {
|
|
1134
1175
|
var n, a;
|
|
1135
1176
|
return r.type === "element" && ((n = r.prev) == null ? void 0 : n.type) === "ieConditionalStartComment" && r.prev.sourceSpan.end.offset === r.startSourceSpan.start.offset && ((a = r.firstChild) == null ? void 0 : a.type) === "ieConditionalEndComment" && r.firstChild.sourceSpan.start.offset === r.startSourceSpan.end.offset;
|
|
@@ -1142,12 +1183,12 @@ function Ni(e) {
|
|
|
1142
1183
|
continue;
|
|
1143
1184
|
let i = a.prev, s = a.firstChild;
|
|
1144
1185
|
r.removeChild(i), n--;
|
|
1145
|
-
let u = new
|
|
1186
|
+
let u = new m(i.sourceSpan.start, s.sourceSpan.end), o = new m(u.start, a.sourceSpan.end);
|
|
1146
1187
|
a.condition = i.condition, a.sourceSpan = o, a.startSourceSpan = u, a.removeChild(s);
|
|
1147
1188
|
}
|
|
1148
1189
|
});
|
|
1149
1190
|
}
|
|
1150
|
-
function
|
|
1191
|
+
function Qi(e, t, r) {
|
|
1151
1192
|
e.walk((n) => {
|
|
1152
1193
|
if (n.children)
|
|
1153
1194
|
for (let a = 0; a < n.children.length; a++) {
|
|
@@ -1156,14 +1197,14 @@ function Ii(e, t, r) {
|
|
|
1156
1197
|
continue;
|
|
1157
1198
|
i.type !== "text" && (i.type = "text", i.value = r(i));
|
|
1158
1199
|
let s = i.prev;
|
|
1159
|
-
!s || s.type !== "text" || (s.value += i.value, s.sourceSpan = new
|
|
1200
|
+
!s || s.type !== "text" || (s.value += i.value, s.sourceSpan = new m(s.sourceSpan.start, i.sourceSpan.end), n.removeChild(i), a--);
|
|
1160
1201
|
}
|
|
1161
1202
|
});
|
|
1162
1203
|
}
|
|
1163
|
-
function
|
|
1164
|
-
return
|
|
1204
|
+
function Zi(e) {
|
|
1205
|
+
return Qi(e, (t) => t.type === "cdata", (t) => `<![CDATA[${t.value}]]>`);
|
|
1165
1206
|
}
|
|
1166
|
-
function
|
|
1207
|
+
function es(e) {
|
|
1167
1208
|
let t = (r) => {
|
|
1168
1209
|
var n, a;
|
|
1169
1210
|
return r.type === "element" && r.attrs.length === 0 && r.children.length === 1 && r.firstChild.type === "text" && !R.hasWhitespaceCharacter(r.children[0].value) && !r.firstChild.hasLeadingSpaces && !r.firstChild.hasTrailingSpaces && r.isLeadingSpaceSensitive && !r.hasLeadingSpaces && r.isTrailingSpaceSensitive && !r.hasTrailingSpaces && ((n = r.prev) == null ? void 0 : n.type) === "text" && ((a = r.next) == null ? void 0 : a.type) === "text";
|
|
@@ -1175,16 +1216,16 @@ function Hi(e) {
|
|
|
1175
1216
|
if (!t(a))
|
|
1176
1217
|
continue;
|
|
1177
1218
|
let i = a.prev, s = a.next;
|
|
1178
|
-
i.value += `<${a.rawName}>` + a.firstChild.value + `</${a.rawName}>` + s.value, i.sourceSpan = new
|
|
1219
|
+
i.value += `<${a.rawName}>` + a.firstChild.value + `</${a.rawName}>` + s.value, i.sourceSpan = new m(i.sourceSpan.start, s.sourceSpan.end), i.isTrailingSpaceSensitive = s.isTrailingSpaceSensitive, i.hasTrailingSpaces = s.hasTrailingSpaces, r.removeChild(a), n--, r.removeChild(s);
|
|
1179
1220
|
}
|
|
1180
1221
|
});
|
|
1181
1222
|
}
|
|
1182
|
-
function
|
|
1223
|
+
function ts(e, t) {
|
|
1183
1224
|
if (t.parser === "html")
|
|
1184
1225
|
return;
|
|
1185
1226
|
let r = /\{\{(.+?)\}\}/su;
|
|
1186
1227
|
e.walk((n) => {
|
|
1187
|
-
if (
|
|
1228
|
+
if (ma(n, t))
|
|
1188
1229
|
for (let a of n.children) {
|
|
1189
1230
|
if (a.type !== "text")
|
|
1190
1231
|
continue;
|
|
@@ -1192,61 +1233,61 @@ function Mi(e, t) {
|
|
|
1192
1233
|
for (let o = 0; o < u.length; o++, i = s) {
|
|
1193
1234
|
let p = u[o];
|
|
1194
1235
|
if (o % 2 === 0) {
|
|
1195
|
-
s = i.moveBy(p.length), p.length > 0 && n.insertChildBefore(a, { type: "text", value: p, sourceSpan: new
|
|
1236
|
+
s = i.moveBy(p.length), p.length > 0 && n.insertChildBefore(a, { type: "text", value: p, sourceSpan: new m(i, s) });
|
|
1196
1237
|
continue;
|
|
1197
1238
|
}
|
|
1198
|
-
s = i.moveBy(p.length + 4), n.insertChildBefore(a, { type: "interpolation", sourceSpan: new
|
|
1239
|
+
s = i.moveBy(p.length + 4), n.insertChildBefore(a, { type: "interpolation", sourceSpan: new m(i, s), children: p.length === 0 ? [] : [{ type: "text", value: p, sourceSpan: new m(i.moveBy(2), s.moveBy(-2)) }] });
|
|
1199
1240
|
}
|
|
1200
1241
|
n.removeChild(a);
|
|
1201
1242
|
}
|
|
1202
1243
|
});
|
|
1203
1244
|
}
|
|
1204
|
-
function
|
|
1205
|
-
e.walk((
|
|
1206
|
-
let
|
|
1207
|
-
if (!
|
|
1245
|
+
function rs(e, t) {
|
|
1246
|
+
e.walk((r) => {
|
|
1247
|
+
let n = r.$children;
|
|
1248
|
+
if (!n)
|
|
1208
1249
|
return;
|
|
1209
|
-
if (
|
|
1210
|
-
|
|
1250
|
+
if (n.length === 0 || n.length === 1 && n[0].type === "text" && R.trim(n[0].value).length === 0) {
|
|
1251
|
+
r.hasDanglingSpaces = n.length > 0, r.$children = [];
|
|
1211
1252
|
return;
|
|
1212
1253
|
}
|
|
1213
|
-
let
|
|
1214
|
-
if (!
|
|
1215
|
-
for (let
|
|
1216
|
-
let
|
|
1217
|
-
if (
|
|
1254
|
+
let a = ga(r, t), i = Ir(r);
|
|
1255
|
+
if (!a)
|
|
1256
|
+
for (let s = 0; s < n.length; s++) {
|
|
1257
|
+
let u = n[s];
|
|
1258
|
+
if (u.type !== "text")
|
|
1218
1259
|
continue;
|
|
1219
|
-
let { leadingWhitespace:
|
|
1220
|
-
|
|
1260
|
+
let { leadingWhitespace: o, text: p, trailingWhitespace: l } = ha(u.value), v = u.prev, d = u.next;
|
|
1261
|
+
p ? (u.value = p, u.sourceSpan = new m(u.sourceSpan.start.moveBy(o.length), u.sourceSpan.end.moveBy(-l.length)), o && (v && (v.hasTrailingSpaces = !0), u.hasLeadingSpaces = !0), l && (u.hasTrailingSpaces = !0, d && (d.hasLeadingSpaces = !0))) : (r.removeChild(u), s--, (o || l) && (v && (v.hasTrailingSpaces = !0), d && (d.hasLeadingSpaces = !0)));
|
|
1221
1262
|
}
|
|
1222
|
-
|
|
1263
|
+
r.isWhitespaceSensitive = a, r.isIndentationSensitive = i;
|
|
1223
1264
|
});
|
|
1224
1265
|
}
|
|
1225
|
-
function
|
|
1266
|
+
function ns(e) {
|
|
1226
1267
|
e.walk((t) => {
|
|
1227
1268
|
t.isSelfClosing = !t.children || t.type === "element" && (t.tagDefinition.isVoid || t.endSourceSpan && t.startSourceSpan.start === t.endSourceSpan.start && t.startSourceSpan.end === t.endSourceSpan.end);
|
|
1228
1269
|
});
|
|
1229
1270
|
}
|
|
1230
|
-
function
|
|
1271
|
+
function as(e, t) {
|
|
1231
1272
|
e.walk((r) => {
|
|
1232
1273
|
r.type === "element" && (r.hasHtmComponentClosingTag = r.endSourceSpan && /^<\s*\/\s*\/\s*>$/u.test(t.originalText.slice(r.endSourceSpan.start.offset, r.endSourceSpan.end.offset)));
|
|
1233
1274
|
});
|
|
1234
1275
|
}
|
|
1235
|
-
function
|
|
1276
|
+
function is(e, t) {
|
|
1236
1277
|
e.walk((r) => {
|
|
1237
|
-
r.cssDisplay =
|
|
1278
|
+
r.cssDisplay = La(r, t);
|
|
1238
1279
|
});
|
|
1239
1280
|
}
|
|
1240
|
-
function
|
|
1281
|
+
function ss(e, t) {
|
|
1241
1282
|
e.walk((r) => {
|
|
1242
1283
|
let { children: n } = r;
|
|
1243
1284
|
if (n) {
|
|
1244
1285
|
if (n.length === 0) {
|
|
1245
|
-
r.isDanglingSpaceSensitive =
|
|
1286
|
+
r.isDanglingSpaceSensitive = Ca(r, t);
|
|
1246
1287
|
return;
|
|
1247
1288
|
}
|
|
1248
1289
|
for (let a of n)
|
|
1249
|
-
a.isLeadingSpaceSensitive =
|
|
1290
|
+
a.isLeadingSpaceSensitive = fa(a, t), a.isTrailingSpaceSensitive = va(a, t);
|
|
1250
1291
|
for (let a = 0; a < n.length; a++) {
|
|
1251
1292
|
let i = n[a];
|
|
1252
1293
|
i.isLeadingSpaceSensitive = (a === 0 || i.prev.isTrailingSpaceSensitive) && i.isLeadingSpaceSensitive, i.isTrailingSpaceSensitive = (a === n.length - 1 || i.next.isLeadingSpaceSensitive) && i.isTrailingSpaceSensitive;
|
|
@@ -1254,31 +1295,31 @@ function Wi(e, t) {
|
|
|
1254
1295
|
}
|
|
1255
1296
|
});
|
|
1256
1297
|
}
|
|
1257
|
-
var
|
|
1258
|
-
function
|
|
1298
|
+
var us = Xi;
|
|
1299
|
+
function os(e, t, r) {
|
|
1259
1300
|
let { node: n } = e;
|
|
1260
1301
|
switch (n.type) {
|
|
1261
1302
|
case "front-matter":
|
|
1262
1303
|
return P(n.raw);
|
|
1263
1304
|
case "root":
|
|
1264
|
-
return t.__onHtmlRoot && t.__onHtmlRoot(n), [k(
|
|
1305
|
+
return t.__onHtmlRoot && t.__onHtmlRoot(n), [k(St(e, t, r)), y];
|
|
1265
1306
|
case "element":
|
|
1266
1307
|
case "ieConditionalComment":
|
|
1267
|
-
return
|
|
1308
|
+
return $i(e, t, r);
|
|
1268
1309
|
case "angularControlFlowBlock":
|
|
1269
|
-
return
|
|
1310
|
+
return Ri(e, t, r);
|
|
1270
1311
|
case "angularControlFlowBlockParameters":
|
|
1271
|
-
return
|
|
1312
|
+
return Vi(e, t, r);
|
|
1272
1313
|
case "angularControlFlowBlockParameter":
|
|
1273
1314
|
return R.trim(n.expression);
|
|
1274
1315
|
case "angularLetDeclaration":
|
|
1275
|
-
return k(["@let ", k([n.id, " =", k(
|
|
1316
|
+
return k(["@let ", k([n.id, " =", k(H([_, r("init")]))]), ";"]);
|
|
1276
1317
|
case "angularLetDeclarationInitializer":
|
|
1277
1318
|
return n.value;
|
|
1278
1319
|
case "angularIcuExpression":
|
|
1279
|
-
return
|
|
1320
|
+
return Oi(e, t, r);
|
|
1280
1321
|
case "angularIcuCase":
|
|
1281
|
-
return
|
|
1322
|
+
return Wi(e, t, r);
|
|
1282
1323
|
case "ieConditionalStartComment":
|
|
1283
1324
|
case "ieConditionalEndComment":
|
|
1284
1325
|
return [le(n), oe(n)];
|
|
@@ -1287,53 +1328,53 @@ function $i(e, t, r) {
|
|
|
1287
1328
|
case "text": {
|
|
1288
1329
|
if (n.parent.type === "interpolation") {
|
|
1289
1330
|
let u = /\n[^\S\n]*$/u, o = u.test(n.value), p = o ? n.value.replace(u, "") : n.value;
|
|
1290
|
-
return [P(p), o ?
|
|
1331
|
+
return [P(p), o ? y : ""];
|
|
1291
1332
|
}
|
|
1292
|
-
let a = j(n, t), i =
|
|
1293
|
-
return i[0] = [a, i[0]], i.push([i.pop(), s]),
|
|
1333
|
+
let a = j(n, t), i = zr(n), s = $(n, t);
|
|
1334
|
+
return i[0] = [a, i[0]], i.push([i.pop(), s]), Br(i);
|
|
1294
1335
|
}
|
|
1295
1336
|
case "docType":
|
|
1296
1337
|
return [k([le(n, t), " ", L(!1, n.value.replace(/^html\b/iu, "html"), /\s+/gu, " ")]), oe(n, t)];
|
|
1297
1338
|
case "comment":
|
|
1298
|
-
return [j(n, t), P(t.originalText.slice(fe(n),
|
|
1339
|
+
return [j(n, t), P(t.originalText.slice(fe(n), Re(n))), $(n, t)];
|
|
1299
1340
|
case "attribute": {
|
|
1300
1341
|
if (n.value === null)
|
|
1301
1342
|
return n.rawName;
|
|
1302
|
-
let a =
|
|
1343
|
+
let a = $r(n.value), i = In(a, '"');
|
|
1303
1344
|
return [n.rawName, "=", i, P(i === '"' ? L(!1, a, '"', """) : L(!1, a, "'", "'")), i];
|
|
1304
1345
|
}
|
|
1305
1346
|
case "cdata":
|
|
1306
1347
|
default:
|
|
1307
|
-
throw new
|
|
1348
|
+
throw new On(n, "HTML");
|
|
1308
1349
|
}
|
|
1309
1350
|
}
|
|
1310
|
-
var
|
|
1311
|
-
|
|
1312
|
-
var
|
|
1351
|
+
var ls = { preprocess: us, print: os, insertPragma: Mi, massageAstNode: jn, embed: wi, getVisitorKeys: Li }, cs = ls, ps = [{ name: "Angular", type: "markup", extensions: [".component.html"], tmScope: "text.html.basic", aceMode: "html", aliases: ["xhtml"], codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", parsers: ["angular"], vscodeLanguageIds: ["html"], filenames: [], linguistLanguageId: 146 }, { name: "HTML", type: "markup", extensions: [".html", ".hta", ".htm", ".html.hl", ".inc", ".xht", ".xhtml"], tmScope: "text.html.basic", aceMode: "html", aliases: ["xhtml"], codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", parsers: ["html"], vscodeLanguageIds: ["html"], linguistLanguageId: 146 }, { name: "Lightning Web Components", type: "markup", extensions: [], tmScope: "text.html.basic", aceMode: "html", aliases: ["xhtml"], codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", parsers: ["lwc"], vscodeLanguageIds: ["html"], filenames: [], linguistLanguageId: 146 }, { name: "MJML", type: "markup", extensions: [".mjml"], tmScope: "text.mjml.basic", aceMode: "html", aliases: ["MJML", "mjml"], codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", parsers: ["mjml"], filenames: [], vscodeLanguageIds: ["mjml"], linguistLanguageId: 146 }, { name: "Vue", type: "markup", extensions: [".vue"], tmScope: "source.vue", aceMode: "html", parsers: ["vue"], vscodeLanguageIds: ["vue"], linguistLanguageId: 391 }], Wt = { bracketSpacing: { category: "Common", type: "boolean", default: !0, description: "Print spaces between brackets.", oppositeDescription: "Do not print spaces between brackets." }, objectWrap: { category: "Common", type: "choice", default: "preserve", description: "How to wrap object literals.", choices: [{ value: "preserve", description: "Keep as multi-line, if there is a newline between the opening brace and first property." }, { value: "collapse", description: "Fit to a single line when possible." }] }, singleQuote: { category: "Common", type: "boolean", default: !1, description: "Use single quotes instead of double quotes." }, proseWrap: { category: "Common", type: "choice", default: "preserve", description: "How to wrap prose.", choices: [{ value: "always", description: "Wrap prose if it exceeds the print width." }, { value: "never", description: "Do not wrap prose." }, { value: "preserve", description: "Wrap prose as-is." }] }, bracketSameLine: { category: "Common", type: "boolean", default: !1, description: "Put > of opening tags on the last line instead of on a new line." }, singleAttributePerLine: { category: "Common", type: "boolean", default: !1, description: "Enforce single attribute per line in HTML, Vue and JSX." } }, $t = "HTML", hs = { bracketSameLine: Wt.bracketSameLine, htmlWhitespaceSensitivity: { category: $t, type: "choice", default: "css", description: "How to handle whitespaces in HTML.", choices: [{ value: "css", description: "Respect the default value of CSS display property." }, { value: "strict", description: "Whitespaces are considered sensitive." }, { value: "ignore", description: "Whitespaces are considered insensitive." }] }, singleAttributePerLine: Wt.singleAttributePerLine, vueIndentScriptAndStyle: { category: $t, type: "boolean", default: !1, description: "Indent script and style tags in Vue files." } }, ds = hs, nn = {};
|
|
1352
|
+
gr(nn, { angular: () => yu, html: () => fu, lwc: () => bu, mjml: () => Cu, vue: () => Su });
|
|
1353
|
+
var zt;
|
|
1313
1354
|
(function(e) {
|
|
1314
1355
|
e[e.Emulated = 0] = "Emulated", e[e.None = 2] = "None", e[e.ShadowDom = 3] = "ShadowDom";
|
|
1315
|
-
})(
|
|
1316
|
-
var
|
|
1356
|
+
})(zt || (zt = {}));
|
|
1357
|
+
var jt;
|
|
1317
1358
|
(function(e) {
|
|
1318
1359
|
e[e.OnPush = 0] = "OnPush", e[e.Default = 1] = "Default";
|
|
1319
|
-
})(
|
|
1320
|
-
var
|
|
1360
|
+
})(jt || (jt = {}));
|
|
1361
|
+
var Gt;
|
|
1321
1362
|
(function(e) {
|
|
1322
1363
|
e[e.None = 0] = "None", e[e.SignalBased = 1] = "SignalBased", e[e.HasDecoratorInputTransform = 2] = "HasDecoratorInputTransform";
|
|
1323
|
-
})(
|
|
1324
|
-
var
|
|
1364
|
+
})(Gt || (Gt = {}));
|
|
1365
|
+
var Kt = { name: "custom-elements" }, Xt = { name: "no-errors-schema" }, W;
|
|
1325
1366
|
(function(e) {
|
|
1326
1367
|
e[e.NONE = 0] = "NONE", e[e.HTML = 1] = "HTML", e[e.STYLE = 2] = "STYLE", e[e.SCRIPT = 3] = "SCRIPT", e[e.URL = 4] = "URL", e[e.RESOURCE_URL = 5] = "RESOURCE_URL";
|
|
1327
1368
|
})(W || (W = {}));
|
|
1328
|
-
var
|
|
1369
|
+
var Jt;
|
|
1329
1370
|
(function(e) {
|
|
1330
1371
|
e[e.Error = 0] = "Error", e[e.Warning = 1] = "Warning", e[e.Ignore = 2] = "Ignore";
|
|
1331
|
-
})(
|
|
1372
|
+
})(Jt || (Jt = {}));
|
|
1332
1373
|
var I;
|
|
1333
1374
|
(function(e) {
|
|
1334
1375
|
e[e.RAW_TEXT = 0] = "RAW_TEXT", e[e.ESCAPABLE_RAW_TEXT = 1] = "ESCAPABLE_RAW_TEXT", e[e.PARSABLE_DATA = 2] = "PARSABLE_DATA";
|
|
1335
1376
|
})(I || (I = {}));
|
|
1336
|
-
function
|
|
1377
|
+
function Oe(e, t = !0) {
|
|
1337
1378
|
if (e[0] != ":")
|
|
1338
1379
|
return [null, e];
|
|
1339
1380
|
let r = e.indexOf(":", 1);
|
|
@@ -1344,30 +1385,30 @@ function Ve(e, t = !0) {
|
|
|
1344
1385
|
}
|
|
1345
1386
|
return [e.slice(1, r), e.slice(r + 1)];
|
|
1346
1387
|
}
|
|
1347
|
-
function
|
|
1348
|
-
return
|
|
1388
|
+
function Yt(e) {
|
|
1389
|
+
return Oe(e)[1] === "ng-container";
|
|
1349
1390
|
}
|
|
1350
|
-
function
|
|
1351
|
-
return
|
|
1391
|
+
function Qt(e) {
|
|
1392
|
+
return Oe(e)[1] === "ng-content";
|
|
1352
1393
|
}
|
|
1353
1394
|
function ke(e) {
|
|
1354
|
-
return e === null ? null :
|
|
1395
|
+
return e === null ? null : Oe(e)[0];
|
|
1355
1396
|
}
|
|
1356
1397
|
function Le(e, t) {
|
|
1357
1398
|
return e ? `:${e}:${t}` : t;
|
|
1358
1399
|
}
|
|
1359
1400
|
var Ee;
|
|
1360
|
-
function
|
|
1401
|
+
function Zt() {
|
|
1361
1402
|
return Ee || (Ee = {}, we(W.HTML, ["iframe|srcdoc", "*|innerHTML", "*|outerHTML"]), we(W.STYLE, ["*|style"]), we(W.URL, ["*|formAction", "area|href", "area|ping", "audio|src", "a|href", "a|ping", "blockquote|cite", "body|background", "del|cite", "form|action", "img|src", "input|src", "ins|cite", "q|cite", "source|src", "track|src", "video|poster", "video|src"]), we(W.RESOURCE_URL, ["applet|code", "applet|codebase", "base|href", "embed|src", "frame|src", "head|profile", "html|manifest", "iframe|src", "link|href", "media|src", "object|codebase", "object|data", "script|src"])), Ee;
|
|
1362
1403
|
}
|
|
1363
1404
|
function we(e, t) {
|
|
1364
1405
|
for (let r of t)
|
|
1365
1406
|
Ee[r.toLowerCase()] = e;
|
|
1366
1407
|
}
|
|
1367
|
-
var
|
|
1368
|
-
}, Qi = "boolean", Zi = "number", es = "string", ts = "object", rs = ["[Element]|textContent,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColSpan,%ariaCurrent,%ariaDescription,%ariaDisabled,%ariaExpanded,%ariaHasPopup,%ariaHidden,%ariaKeyShortcuts,%ariaLabel,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored", "[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,!inert,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy", "abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy", "media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume", ":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex", ":svg:graphics^:svg:|", ":svg:animation^:svg:|*begin,*end,*repeat", ":svg:geometry^:svg:|", ":svg:componentTransferFunction^:svg:|", ":svg:gradient^:svg:|", ":svg:textContent^:svg:graphics|", ":svg:textPositioning^:svg:textContent|", "a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username", "area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username", "audio^media|", "br^[HTMLElement]|clear", "base^[HTMLElement]|href,target", "body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink", "button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value", "canvas^[HTMLElement]|#height,#width", "content^[HTMLElement]|select", "dl^[HTMLElement]|!compact", "data^[HTMLElement]|value", "datalist^[HTMLElement]|", "details^[HTMLElement]|!open", "dialog^[HTMLElement]|!open,returnValue", "dir^[HTMLElement]|!compact", "div^[HTMLElement]|align", "embed^[HTMLElement]|align,height,name,src,type,width", "fieldset^[HTMLElement]|!disabled,name", "font^[HTMLElement]|color,face,size", "form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target", "frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src", "frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows", "hr^[HTMLElement]|align,color,!noShade,size,width", "head^[HTMLElement]|", "h1,h2,h3,h4,h5,h6^[HTMLElement]|align", "html^[HTMLElement]|version", "iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentRequest,csp,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width", "img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width", "input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width", "li^[HTMLElement]|type,#value", "label^[HTMLElement]|htmlFor", "legend^[HTMLElement]|align", "link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type", "map^[HTMLElement]|name", "marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width", "menu^[HTMLElement]|!compact", "meta^[HTMLElement]|content,httpEquiv,media,name,scheme", "meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value", "ins,del^[HTMLElement]|cite,dateTime", "ol^[HTMLElement]|!compact,!reversed,#start,type", "object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width", "optgroup^[HTMLElement]|!disabled,label", "option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value", "output^[HTMLElement]|defaultValue,%htmlFor,name,value", "p^[HTMLElement]|align", "param^[HTMLElement]|name,type,value,valueType", "picture^[HTMLElement]|", "pre^[HTMLElement]|#width", "progress^[HTMLElement]|#max,#value", "q,blockquote,cite^[HTMLElement]|", "script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%referrerPolicy,src,text,type", "select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value", "slot^[HTMLElement]|name", "source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width", "span^[HTMLElement]|", "style^[HTMLElement]|!disabled,media,type", "caption^[HTMLElement]|align", "th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width", "col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width", "table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width", "tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign", "tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign", "template^[HTMLElement]|", "textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap", "time^[HTMLElement]|dateTime", "title^[HTMLElement]|text", "track^[HTMLElement]|!default,kind,label,src,srclang", "ul^[HTMLElement]|!compact,type", "unknown^[HTMLElement]|", "video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width", ":svg:a^:svg:graphics|", ":svg:animate^:svg:animation|", ":svg:animateMotion^:svg:animation|", ":svg:animateTransform^:svg:animation|", ":svg:circle^:svg:geometry|", ":svg:clipPath^:svg:graphics|", ":svg:defs^:svg:graphics|", ":svg:desc^:svg:|", ":svg:discard^:svg:|", ":svg:ellipse^:svg:geometry|", ":svg:feBlend^:svg:|", ":svg:feColorMatrix^:svg:|", ":svg:feComponentTransfer^:svg:|", ":svg:feComposite^:svg:|", ":svg:feConvolveMatrix^:svg:|", ":svg:feDiffuseLighting^:svg:|", ":svg:feDisplacementMap^:svg:|", ":svg:feDistantLight^:svg:|", ":svg:feDropShadow^:svg:|", ":svg:feFlood^:svg:|", ":svg:feFuncA^:svg:componentTransferFunction|", ":svg:feFuncB^:svg:componentTransferFunction|", ":svg:feFuncG^:svg:componentTransferFunction|", ":svg:feFuncR^:svg:componentTransferFunction|", ":svg:feGaussianBlur^:svg:|", ":svg:feImage^:svg:|", ":svg:feMerge^:svg:|", ":svg:feMergeNode^:svg:|", ":svg:feMorphology^:svg:|", ":svg:feOffset^:svg:|", ":svg:fePointLight^:svg:|", ":svg:feSpecularLighting^:svg:|", ":svg:feSpotLight^:svg:|", ":svg:feTile^:svg:|", ":svg:feTurbulence^:svg:|", ":svg:filter^:svg:|", ":svg:foreignObject^:svg:graphics|", ":svg:g^:svg:graphics|", ":svg:image^:svg:graphics|decoding", ":svg:line^:svg:geometry|", ":svg:linearGradient^:svg:gradient|", ":svg:mpath^:svg:|", ":svg:marker^:svg:|", ":svg:mask^:svg:|", ":svg:metadata^:svg:|", ":svg:path^:svg:geometry|", ":svg:pattern^:svg:|", ":svg:polygon^:svg:geometry|", ":svg:polyline^:svg:geometry|", ":svg:radialGradient^:svg:gradient|", ":svg:rect^:svg:geometry|", ":svg:svg^:svg:graphics|#currentScale,#zoomAndPan", ":svg:script^:svg:|type", ":svg:set^:svg:animation|", ":svg:stop^:svg:|", ":svg:style^:svg:|!disabled,media,title,type", ":svg:switch^:svg:graphics|", ":svg:symbol^:svg:|", ":svg:tspan^:svg:textPositioning|", ":svg:text^:svg:textPositioning|", ":svg:textPath^:svg:textContent|", ":svg:title^:svg:|", ":svg:use^:svg:graphics|", ":svg:view^:svg:|#zoomAndPan", "data^[HTMLElement]|value", "keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name", "menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default", "summary^[HTMLElement]|", "time^[HTMLElement]|dateTime", ":svg:cursor^:svg:|", ":math:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*scrollend,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex", ":math:math^:math:|", ":math:maction^:math:|", ":math:menclose^:math:|", ":math:merror^:math:|", ":math:mfenced^:math:|", ":math:mfrac^:math:|", ":math:mi^:math:|", ":math:mmultiscripts^:math:|", ":math:mn^:math:|", ":math:mo^:math:|", ":math:mover^:math:|", ":math:mpadded^:math:|", ":math:mphantom^:math:|", ":math:mroot^:math:|", ":math:mrow^:math:|", ":math:ms^:math:|", ":math:mspace^:math:|", ":math:msqrt^:math:|", ":math:mstyle^:math:|", ":math:msub^:math:|", ":math:msubsup^:math:|", ":math:msup^:math:|", ":math:mtable^:math:|", ":math:mtd^:math:|", ":math:mtext^:math:|", ":math:mtr^:math:|", ":math:munder^:math:|", ":math:munderover^:math:|", ":math:semantics^:math:|"], Yr = new Map(Object.entries({ class: "className", for: "htmlFor", formaction: "formAction", innerHtml: "innerHTML", readonly: "readOnly", tabindex: "tabIndex" })), ns = Array.from(Yr).reduce((e, [t, r]) => (e.set(t, r), e), /* @__PURE__ */ new Map()), as = class extends Ji {
|
|
1408
|
+
var ms = class {
|
|
1409
|
+
}, gs = "boolean", fs = "number", vs = "string", Cs = "object", ys = ["[Element]|textContent,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColSpan,%ariaCurrent,%ariaDescription,%ariaDisabled,%ariaExpanded,%ariaHasPopup,%ariaHidden,%ariaKeyShortcuts,%ariaLabel,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored", "[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,!inert,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy", "abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy", "media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume", ":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex", ":svg:graphics^:svg:|", ":svg:animation^:svg:|*begin,*end,*repeat", ":svg:geometry^:svg:|", ":svg:componentTransferFunction^:svg:|", ":svg:gradient^:svg:|", ":svg:textContent^:svg:graphics|", ":svg:textPositioning^:svg:textContent|", "a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username", "area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username", "audio^media|", "br^[HTMLElement]|clear", "base^[HTMLElement]|href,target", "body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink", "button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value", "canvas^[HTMLElement]|#height,#width", "content^[HTMLElement]|select", "dl^[HTMLElement]|!compact", "data^[HTMLElement]|value", "datalist^[HTMLElement]|", "details^[HTMLElement]|!open", "dialog^[HTMLElement]|!open,returnValue", "dir^[HTMLElement]|!compact", "div^[HTMLElement]|align", "embed^[HTMLElement]|align,height,name,src,type,width", "fieldset^[HTMLElement]|!disabled,name", "font^[HTMLElement]|color,face,size", "form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target", "frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src", "frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows", "hr^[HTMLElement]|align,color,!noShade,size,width", "head^[HTMLElement]|", "h1,h2,h3,h4,h5,h6^[HTMLElement]|align", "html^[HTMLElement]|version", "iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentRequest,csp,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width", "img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width", "input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width", "li^[HTMLElement]|type,#value", "label^[HTMLElement]|htmlFor", "legend^[HTMLElement]|align", "link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type", "map^[HTMLElement]|name", "marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width", "menu^[HTMLElement]|!compact", "meta^[HTMLElement]|content,httpEquiv,media,name,scheme", "meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value", "ins,del^[HTMLElement]|cite,dateTime", "ol^[HTMLElement]|!compact,!reversed,#start,type", "object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width", "optgroup^[HTMLElement]|!disabled,label", "option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value", "output^[HTMLElement]|defaultValue,%htmlFor,name,value", "p^[HTMLElement]|align", "param^[HTMLElement]|name,type,value,valueType", "picture^[HTMLElement]|", "pre^[HTMLElement]|#width", "progress^[HTMLElement]|#max,#value", "q,blockquote,cite^[HTMLElement]|", "script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%referrerPolicy,src,text,type", "select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value", "slot^[HTMLElement]|name", "source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width", "span^[HTMLElement]|", "style^[HTMLElement]|!disabled,media,type", "caption^[HTMLElement]|align", "th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width", "col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width", "table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width", "tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign", "tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign", "template^[HTMLElement]|", "textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap", "time^[HTMLElement]|dateTime", "title^[HTMLElement]|text", "track^[HTMLElement]|!default,kind,label,src,srclang", "ul^[HTMLElement]|!compact,type", "unknown^[HTMLElement]|", "video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width", ":svg:a^:svg:graphics|", ":svg:animate^:svg:animation|", ":svg:animateMotion^:svg:animation|", ":svg:animateTransform^:svg:animation|", ":svg:circle^:svg:geometry|", ":svg:clipPath^:svg:graphics|", ":svg:defs^:svg:graphics|", ":svg:desc^:svg:|", ":svg:discard^:svg:|", ":svg:ellipse^:svg:geometry|", ":svg:feBlend^:svg:|", ":svg:feColorMatrix^:svg:|", ":svg:feComponentTransfer^:svg:|", ":svg:feComposite^:svg:|", ":svg:feConvolveMatrix^:svg:|", ":svg:feDiffuseLighting^:svg:|", ":svg:feDisplacementMap^:svg:|", ":svg:feDistantLight^:svg:|", ":svg:feDropShadow^:svg:|", ":svg:feFlood^:svg:|", ":svg:feFuncA^:svg:componentTransferFunction|", ":svg:feFuncB^:svg:componentTransferFunction|", ":svg:feFuncG^:svg:componentTransferFunction|", ":svg:feFuncR^:svg:componentTransferFunction|", ":svg:feGaussianBlur^:svg:|", ":svg:feImage^:svg:|", ":svg:feMerge^:svg:|", ":svg:feMergeNode^:svg:|", ":svg:feMorphology^:svg:|", ":svg:feOffset^:svg:|", ":svg:fePointLight^:svg:|", ":svg:feSpecularLighting^:svg:|", ":svg:feSpotLight^:svg:|", ":svg:feTile^:svg:|", ":svg:feTurbulence^:svg:|", ":svg:filter^:svg:|", ":svg:foreignObject^:svg:graphics|", ":svg:g^:svg:graphics|", ":svg:image^:svg:graphics|decoding", ":svg:line^:svg:geometry|", ":svg:linearGradient^:svg:gradient|", ":svg:mpath^:svg:|", ":svg:marker^:svg:|", ":svg:mask^:svg:|", ":svg:metadata^:svg:|", ":svg:path^:svg:geometry|", ":svg:pattern^:svg:|", ":svg:polygon^:svg:geometry|", ":svg:polyline^:svg:geometry|", ":svg:radialGradient^:svg:gradient|", ":svg:rect^:svg:geometry|", ":svg:svg^:svg:graphics|#currentScale,#zoomAndPan", ":svg:script^:svg:|type", ":svg:set^:svg:animation|", ":svg:stop^:svg:|", ":svg:style^:svg:|!disabled,media,title,type", ":svg:switch^:svg:graphics|", ":svg:symbol^:svg:|", ":svg:tspan^:svg:textPositioning|", ":svg:text^:svg:textPositioning|", ":svg:textPath^:svg:textContent|", ":svg:title^:svg:|", ":svg:use^:svg:graphics|", ":svg:view^:svg:|#zoomAndPan", "data^[HTMLElement]|value", "keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name", "menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default", "summary^[HTMLElement]|", "time^[HTMLElement]|dateTime", ":svg:cursor^:svg:|", ":math:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*scrollend,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex", ":math:math^:math:|", ":math:maction^:math:|", ":math:menclose^:math:|", ":math:merror^:math:|", ":math:mfenced^:math:|", ":math:mfrac^:math:|", ":math:mi^:math:|", ":math:mmultiscripts^:math:|", ":math:mn^:math:|", ":math:mo^:math:|", ":math:mover^:math:|", ":math:mpadded^:math:|", ":math:mphantom^:math:|", ":math:mroot^:math:|", ":math:mrow^:math:|", ":math:ms^:math:|", ":math:mspace^:math:|", ":math:msqrt^:math:|", ":math:mstyle^:math:|", ":math:msub^:math:|", ":math:msubsup^:math:|", ":math:msup^:math:|", ":math:mtable^:math:|", ":math:mtd^:math:|", ":math:mtext^:math:|", ":math:mtr^:math:|", ":math:munder^:math:|", ":math:munderover^:math:|", ":math:semantics^:math:|"], an = new Map(Object.entries({ class: "className", for: "htmlFor", formaction: "formAction", innerHtml: "innerHTML", readonly: "readOnly", tabindex: "tabIndex" })), Ss = Array.from(an).reduce((e, [t, r]) => (e.set(t, r), e), /* @__PURE__ */ new Map()), bs = class extends ms {
|
|
1369
1410
|
constructor() {
|
|
1370
|
-
super(), this._schema = /* @__PURE__ */ new Map(), this._eventSchema = /* @__PURE__ */ new Map(),
|
|
1411
|
+
super(), this._schema = /* @__PURE__ */ new Map(), this._eventSchema = /* @__PURE__ */ new Map(), ys.forEach((e) => {
|
|
1371
1412
|
let t = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Set(), [n, a] = e.split("|"), i = a.split(","), [s, u] = n.split("^");
|
|
1372
1413
|
s.split(",").forEach((p) => {
|
|
1373
1414
|
this._schema.set(p.toLowerCase(), t), this._eventSchema.set(p.toLowerCase(), r);
|
|
@@ -1386,41 +1427,41 @@ var Ji = class {
|
|
|
1386
1427
|
r.add(p.substring(1));
|
|
1387
1428
|
break;
|
|
1388
1429
|
case "!":
|
|
1389
|
-
t.set(p.substring(1),
|
|
1430
|
+
t.set(p.substring(1), gs);
|
|
1390
1431
|
break;
|
|
1391
1432
|
case "#":
|
|
1392
|
-
t.set(p.substring(1),
|
|
1433
|
+
t.set(p.substring(1), fs);
|
|
1393
1434
|
break;
|
|
1394
1435
|
case "%":
|
|
1395
|
-
t.set(p.substring(1),
|
|
1436
|
+
t.set(p.substring(1), Cs);
|
|
1396
1437
|
break;
|
|
1397
1438
|
default:
|
|
1398
|
-
t.set(p,
|
|
1439
|
+
t.set(p, vs);
|
|
1399
1440
|
}
|
|
1400
1441
|
});
|
|
1401
1442
|
});
|
|
1402
1443
|
}
|
|
1403
1444
|
hasProperty(e, t, r) {
|
|
1404
|
-
if (r.some((n) => n.name ===
|
|
1445
|
+
if (r.some((n) => n.name === Xt.name))
|
|
1405
1446
|
return !0;
|
|
1406
1447
|
if (e.indexOf("-") > -1) {
|
|
1407
|
-
if (
|
|
1448
|
+
if (Yt(e) || Qt(e))
|
|
1408
1449
|
return !1;
|
|
1409
|
-
if (r.some((n) => n.name ===
|
|
1450
|
+
if (r.some((n) => n.name === Kt.name))
|
|
1410
1451
|
return !0;
|
|
1411
1452
|
}
|
|
1412
1453
|
return (this._schema.get(e.toLowerCase()) || this._schema.get("unknown")).has(t);
|
|
1413
1454
|
}
|
|
1414
1455
|
hasElement(e, t) {
|
|
1415
|
-
return t.some((r) => r.name ===
|
|
1456
|
+
return t.some((r) => r.name === Xt.name) || e.indexOf("-") > -1 && (Yt(e) || Qt(e) || t.some((r) => r.name === Kt.name)) ? !0 : this._schema.has(e.toLowerCase());
|
|
1416
1457
|
}
|
|
1417
1458
|
securityContext(e, t, r) {
|
|
1418
1459
|
r && (t = this.getMappedPropName(t)), e = e.toLowerCase(), t = t.toLowerCase();
|
|
1419
|
-
let n =
|
|
1420
|
-
return n || (n =
|
|
1460
|
+
let n = Zt()[e + "|" + t];
|
|
1461
|
+
return n || (n = Zt()["*|" + t], n || W.NONE);
|
|
1421
1462
|
}
|
|
1422
1463
|
getMappedPropName(e) {
|
|
1423
|
-
return
|
|
1464
|
+
return an.get(e) ?? e;
|
|
1424
1465
|
}
|
|
1425
1466
|
getDefaultComponentElementName() {
|
|
1426
1467
|
return "ng-component";
|
|
@@ -1437,17 +1478,17 @@ If '${e}' is a directive input, make sure the directive is imported by the curre
|
|
|
1437
1478
|
}
|
|
1438
1479
|
allKnownAttributesOfElement(e) {
|
|
1439
1480
|
let t = this._schema.get(e.toLowerCase()) || this._schema.get("unknown");
|
|
1440
|
-
return Array.from(t.keys()).map((r) =>
|
|
1481
|
+
return Array.from(t.keys()).map((r) => Ss.get(r) ?? r);
|
|
1441
1482
|
}
|
|
1442
1483
|
allKnownEventsOfElement(e) {
|
|
1443
1484
|
return Array.from(this._eventSchema.get(e.toLowerCase()) ?? []);
|
|
1444
1485
|
}
|
|
1445
1486
|
normalizeAnimationStyleProperty(e) {
|
|
1446
|
-
return
|
|
1487
|
+
return Gi(e);
|
|
1447
1488
|
}
|
|
1448
1489
|
normalizeAnimationStyleValue(e, t, r) {
|
|
1449
1490
|
let n = "", a = r.toString().trim(), i = null;
|
|
1450
|
-
if (
|
|
1491
|
+
if (_s(e) && r !== 0 && r !== "0")
|
|
1451
1492
|
if (typeof r == "number")
|
|
1452
1493
|
n = "px";
|
|
1453
1494
|
else {
|
|
@@ -1457,7 +1498,7 @@ If '${e}' is a directive input, make sure the directive is imported by the curre
|
|
|
1457
1498
|
return { error: i, value: a + n };
|
|
1458
1499
|
}
|
|
1459
1500
|
};
|
|
1460
|
-
function
|
|
1501
|
+
function _s(e) {
|
|
1461
1502
|
switch (e) {
|
|
1462
1503
|
case "width":
|
|
1463
1504
|
case "height":
|
|
@@ -1502,45 +1543,45 @@ var h = class {
|
|
|
1502
1543
|
getContentType(e) {
|
|
1503
1544
|
return typeof this.contentType == "object" ? (e === void 0 ? void 0 : this.contentType[e]) ?? this.contentType.default : this.contentType;
|
|
1504
1545
|
}
|
|
1505
|
-
},
|
|
1546
|
+
}, er, ie;
|
|
1506
1547
|
function et(e) {
|
|
1507
|
-
return ie || (
|
|
1548
|
+
return ie || (er = new h({ canSelfClose: !0 }), ie = Object.assign(/* @__PURE__ */ Object.create(null), { base: new h({ isVoid: !0 }), meta: new h({ isVoid: !0 }), area: new h({ isVoid: !0 }), embed: new h({ isVoid: !0 }), link: new h({ isVoid: !0 }), img: new h({ isVoid: !0 }), input: new h({ isVoid: !0 }), param: new h({ isVoid: !0 }), hr: new h({ isVoid: !0 }), br: new h({ isVoid: !0 }), source: new h({ isVoid: !0 }), track: new h({ isVoid: !0 }), wbr: new h({ isVoid: !0 }), p: new h({ closedByChildren: ["address", "article", "aside", "blockquote", "div", "dl", "fieldset", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "hgroup", "hr", "main", "nav", "ol", "p", "pre", "section", "table", "ul"], closedByParent: !0 }), thead: new h({ closedByChildren: ["tbody", "tfoot"] }), tbody: new h({ closedByChildren: ["tbody", "tfoot"], closedByParent: !0 }), tfoot: new h({ closedByChildren: ["tbody"], closedByParent: !0 }), tr: new h({ closedByChildren: ["tr"], closedByParent: !0 }), td: new h({ closedByChildren: ["td", "th"], closedByParent: !0 }), th: new h({ closedByChildren: ["td", "th"], closedByParent: !0 }), col: new h({ isVoid: !0 }), svg: new h({ implicitNamespacePrefix: "svg" }), foreignObject: new h({ implicitNamespacePrefix: "svg", preventNamespaceInheritance: !0 }), math: new h({ implicitNamespacePrefix: "math" }), li: new h({ closedByChildren: ["li"], closedByParent: !0 }), dt: new h({ closedByChildren: ["dt", "dd"] }), dd: new h({ closedByChildren: ["dt", "dd"], closedByParent: !0 }), rb: new h({ closedByChildren: ["rb", "rt", "rtc", "rp"], closedByParent: !0 }), rt: new h({ closedByChildren: ["rb", "rt", "rtc", "rp"], closedByParent: !0 }), rtc: new h({ closedByChildren: ["rb", "rtc", "rp"], closedByParent: !0 }), rp: new h({ closedByChildren: ["rb", "rt", "rtc", "rp"], closedByParent: !0 }), optgroup: new h({ closedByChildren: ["optgroup"], closedByParent: !0 }), option: new h({ closedByChildren: ["option", "optgroup"], closedByParent: !0 }), pre: new h({ ignoreFirstLf: !0 }), listing: new h({ ignoreFirstLf: !0 }), style: new h({ contentType: I.RAW_TEXT }), script: new h({ contentType: I.RAW_TEXT }), title: new h({ contentType: { default: I.ESCAPABLE_RAW_TEXT, svg: I.PARSABLE_DATA } }), textarea: new h({ contentType: I.ESCAPABLE_RAW_TEXT, ignoreFirstLf: !0 }) }), new bs().allKnownElementNames().forEach((t) => {
|
|
1508
1549
|
!ie[t] && ke(t) === null && (ie[t] = new h({ canSelfClose: !1 }));
|
|
1509
|
-
})), ie[e] ??
|
|
1550
|
+
})), ie[e] ?? er;
|
|
1510
1551
|
}
|
|
1511
1552
|
var re = class {
|
|
1512
1553
|
constructor(e, t) {
|
|
1513
1554
|
this.sourceSpan = e, this.i18n = t;
|
|
1514
1555
|
}
|
|
1515
|
-
},
|
|
1556
|
+
}, ws = class extends re {
|
|
1516
1557
|
constructor(e, t, r, n) {
|
|
1517
1558
|
super(t, n), this.value = e, this.tokens = r, this.type = "text";
|
|
1518
1559
|
}
|
|
1519
1560
|
visit(e, t) {
|
|
1520
1561
|
return e.visitText(this, t);
|
|
1521
1562
|
}
|
|
1522
|
-
},
|
|
1563
|
+
}, As = class extends re {
|
|
1523
1564
|
constructor(e, t, r, n) {
|
|
1524
1565
|
super(t, n), this.value = e, this.tokens = r, this.type = "cdata";
|
|
1525
1566
|
}
|
|
1526
1567
|
visit(e, t) {
|
|
1527
1568
|
return e.visitCdata(this, t);
|
|
1528
1569
|
}
|
|
1529
|
-
},
|
|
1570
|
+
}, ks = class extends re {
|
|
1530
1571
|
constructor(e, t, r, n, a, i) {
|
|
1531
1572
|
super(n, i), this.switchValue = e, this.type = t, this.cases = r, this.switchValueSourceSpan = a;
|
|
1532
1573
|
}
|
|
1533
1574
|
visit(e, t) {
|
|
1534
1575
|
return e.visitExpansion(this, t);
|
|
1535
1576
|
}
|
|
1536
|
-
},
|
|
1577
|
+
}, Es = class {
|
|
1537
1578
|
constructor(e, t, r, n, a) {
|
|
1538
1579
|
this.value = e, this.expression = t, this.sourceSpan = r, this.valueSourceSpan = n, this.expSourceSpan = a, this.type = "expansionCase";
|
|
1539
1580
|
}
|
|
1540
1581
|
visit(e, t) {
|
|
1541
1582
|
return e.visitExpansionCase(this, t);
|
|
1542
1583
|
}
|
|
1543
|
-
},
|
|
1584
|
+
}, xs = class extends re {
|
|
1544
1585
|
constructor(e, t, r, n, a, i, s) {
|
|
1545
1586
|
super(r, s), this.name = e, this.value = t, this.keySpan = n, this.valueSpan = a, this.valueTokens = i, this.type = "attribute";
|
|
1546
1587
|
}
|
|
@@ -1557,14 +1598,14 @@ var re = class {
|
|
|
1557
1598
|
visit(e, t) {
|
|
1558
1599
|
return e.visitElement(this, t);
|
|
1559
1600
|
}
|
|
1560
|
-
},
|
|
1601
|
+
}, Ds = class {
|
|
1561
1602
|
constructor(e, t) {
|
|
1562
1603
|
this.value = e, this.sourceSpan = t, this.type = "comment";
|
|
1563
1604
|
}
|
|
1564
1605
|
visit(e, t) {
|
|
1565
1606
|
return e.visitComment(this, t);
|
|
1566
1607
|
}
|
|
1567
|
-
},
|
|
1608
|
+
}, Ts = class {
|
|
1568
1609
|
constructor(e, t) {
|
|
1569
1610
|
this.value = e, this.sourceSpan = t, this.type = "docType";
|
|
1570
1611
|
}
|
|
@@ -1578,14 +1619,14 @@ var re = class {
|
|
|
1578
1619
|
visit(e, t) {
|
|
1579
1620
|
return e.visitBlock(this, t);
|
|
1580
1621
|
}
|
|
1581
|
-
},
|
|
1622
|
+
}, tr = class {
|
|
1582
1623
|
constructor(e, t) {
|
|
1583
1624
|
this.expression = e, this.sourceSpan = t, this.type = "blockParameter", this.startSourceSpan = null, this.endSourceSpan = null;
|
|
1584
1625
|
}
|
|
1585
1626
|
visit(e, t) {
|
|
1586
1627
|
return e.visitBlockParameter(this, t);
|
|
1587
1628
|
}
|
|
1588
|
-
},
|
|
1629
|
+
}, rr = class {
|
|
1589
1630
|
constructor(e, t, r, n, a) {
|
|
1590
1631
|
this.name = e, this.value = t, this.sourceSpan = r, this.nameSpan = n, this.valueSpan = a, this.type = "letDeclaration", this.startSourceSpan = null, this.endSourceSpan = null;
|
|
1591
1632
|
}
|
|
@@ -1593,14 +1634,14 @@ var re = class {
|
|
|
1593
1634
|
return e.visitLetDeclaration(this, t);
|
|
1594
1635
|
}
|
|
1595
1636
|
};
|
|
1596
|
-
function
|
|
1637
|
+
function sn(e, t, r = null) {
|
|
1597
1638
|
let n = [], a = e.visit ? (i) => e.visit(i, r) || i.visit(e, r) : (i) => i.visit(e, r);
|
|
1598
1639
|
return t.forEach((i) => {
|
|
1599
1640
|
let s = a(i);
|
|
1600
1641
|
s && n.push(s);
|
|
1601
1642
|
}), n;
|
|
1602
1643
|
}
|
|
1603
|
-
var
|
|
1644
|
+
var Bs = class {
|
|
1604
1645
|
constructor() {
|
|
1605
1646
|
}
|
|
1606
1647
|
visitElement(e, t) {
|
|
@@ -1637,53 +1678,53 @@ var ds = class {
|
|
|
1637
1678
|
visitChildren(e, t) {
|
|
1638
1679
|
let r = [], n = this;
|
|
1639
1680
|
function a(i) {
|
|
1640
|
-
i && r.push(
|
|
1681
|
+
i && r.push(sn(n, i, e));
|
|
1641
1682
|
}
|
|
1642
1683
|
return t(a), Array.prototype.concat.apply([], r);
|
|
1643
1684
|
}
|
|
1644
1685
|
}, Fe = { AElig: "Æ", AMP: "&", amp: "&", Aacute: "Á", Abreve: "Ă", Acirc: "Â", Acy: "А", Afr: "𝔄", Agrave: "À", Alpha: "Α", Amacr: "Ā", And: "⩓", Aogon: "Ą", Aopf: "𝔸", ApplyFunction: "", af: "", Aring: "Å", angst: "Å", Ascr: "𝒜", Assign: "≔", colone: "≔", coloneq: "≔", Atilde: "Ã", Auml: "Ä", Backslash: "∖", setminus: "∖", setmn: "∖", smallsetminus: "∖", ssetmn: "∖", Barv: "⫧", Barwed: "⌆", doublebarwedge: "⌆", Bcy: "Б", Because: "∵", becaus: "∵", because: "∵", Bernoullis: "ℬ", Bscr: "ℬ", bernou: "ℬ", Beta: "Β", Bfr: "𝔅", Bopf: "𝔹", Breve: "˘", breve: "˘", Bumpeq: "≎", HumpDownHump: "≎", bump: "≎", CHcy: "Ч", COPY: "©", copy: "©", Cacute: "Ć", Cap: "⋒", CapitalDifferentialD: "ⅅ", DD: "ⅅ", Cayleys: "ℭ", Cfr: "ℭ", Ccaron: "Č", Ccedil: "Ç", Ccirc: "Ĉ", Cconint: "∰", Cdot: "Ċ", Cedilla: "¸", cedil: "¸", CenterDot: "·", centerdot: "·", middot: "·", Chi: "Χ", CircleDot: "⊙", odot: "⊙", CircleMinus: "⊖", ominus: "⊖", CirclePlus: "⊕", oplus: "⊕", CircleTimes: "⊗", otimes: "⊗", ClockwiseContourIntegral: "∲", cwconint: "∲", CloseCurlyDoubleQuote: "”", rdquo: "”", rdquor: "”", CloseCurlyQuote: "’", rsquo: "’", rsquor: "’", Colon: "∷", Proportion: "∷", Colone: "⩴", Congruent: "≡", equiv: "≡", Conint: "∯", DoubleContourIntegral: "∯", ContourIntegral: "∮", conint: "∮", oint: "∮", Copf: "ℂ", complexes: "ℂ", Coproduct: "∐", coprod: "∐", CounterClockwiseContourIntegral: "∳", awconint: "∳", Cross: "⨯", Cscr: "𝒞", Cup: "⋓", CupCap: "≍", asympeq: "≍", DDotrahd: "⤑", DJcy: "Ђ", DScy: "Ѕ", DZcy: "Џ", Dagger: "‡", ddagger: "‡", Darr: "↡", Dashv: "⫤", DoubleLeftTee: "⫤", Dcaron: "Ď", Dcy: "Д", Del: "∇", nabla: "∇", Delta: "Δ", Dfr: "𝔇", DiacriticalAcute: "´", acute: "´", DiacriticalDot: "˙", dot: "˙", DiacriticalDoubleAcute: "˝", dblac: "˝", DiacriticalGrave: "`", grave: "`", DiacriticalTilde: "˜", tilde: "˜", Diamond: "⋄", diam: "⋄", diamond: "⋄", DifferentialD: "ⅆ", dd: "ⅆ", Dopf: "𝔻", Dot: "¨", DoubleDot: "¨", die: "¨", uml: "¨", DotDot: "⃜", DotEqual: "≐", doteq: "≐", esdot: "≐", DoubleDownArrow: "⇓", Downarrow: "⇓", dArr: "⇓", DoubleLeftArrow: "⇐", Leftarrow: "⇐", lArr: "⇐", DoubleLeftRightArrow: "⇔", Leftrightarrow: "⇔", hArr: "⇔", iff: "⇔", DoubleLongLeftArrow: "⟸", Longleftarrow: "⟸", xlArr: "⟸", DoubleLongLeftRightArrow: "⟺", Longleftrightarrow: "⟺", xhArr: "⟺", DoubleLongRightArrow: "⟹", Longrightarrow: "⟹", xrArr: "⟹", DoubleRightArrow: "⇒", Implies: "⇒", Rightarrow: "⇒", rArr: "⇒", DoubleRightTee: "⊨", vDash: "⊨", DoubleUpArrow: "⇑", Uparrow: "⇑", uArr: "⇑", DoubleUpDownArrow: "⇕", Updownarrow: "⇕", vArr: "⇕", DoubleVerticalBar: "∥", par: "∥", parallel: "∥", shortparallel: "∥", spar: "∥", DownArrow: "↓", ShortDownArrow: "↓", darr: "↓", downarrow: "↓", DownArrowBar: "⤓", DownArrowUpArrow: "⇵", duarr: "⇵", DownBreve: "̑", DownLeftRightVector: "⥐", DownLeftTeeVector: "⥞", DownLeftVector: "↽", leftharpoondown: "↽", lhard: "↽", DownLeftVectorBar: "⥖", DownRightTeeVector: "⥟", DownRightVector: "⇁", rhard: "⇁", rightharpoondown: "⇁", DownRightVectorBar: "⥗", DownTee: "⊤", top: "⊤", DownTeeArrow: "↧", mapstodown: "↧", Dscr: "𝒟", Dstrok: "Đ", ENG: "Ŋ", ETH: "Ð", Eacute: "É", Ecaron: "Ě", Ecirc: "Ê", Ecy: "Э", Edot: "Ė", Efr: "𝔈", Egrave: "È", Element: "∈", in: "∈", isin: "∈", isinv: "∈", Emacr: "Ē", EmptySmallSquare: "◻", EmptyVerySmallSquare: "▫", Eogon: "Ę", Eopf: "𝔼", Epsilon: "Ε", Equal: "⩵", EqualTilde: "≂", eqsim: "≂", esim: "≂", Equilibrium: "⇌", rightleftharpoons: "⇌", rlhar: "⇌", Escr: "ℰ", expectation: "ℰ", Esim: "⩳", Eta: "Η", Euml: "Ë", Exists: "∃", exist: "∃", ExponentialE: "ⅇ", ee: "ⅇ", exponentiale: "ⅇ", Fcy: "Ф", Ffr: "𝔉", FilledSmallSquare: "◼", FilledVerySmallSquare: "▪", blacksquare: "▪", squarf: "▪", squf: "▪", Fopf: "𝔽", ForAll: "∀", forall: "∀", Fouriertrf: "ℱ", Fscr: "ℱ", GJcy: "Ѓ", GT: ">", gt: ">", Gamma: "Γ", Gammad: "Ϝ", Gbreve: "Ğ", Gcedil: "Ģ", Gcirc: "Ĝ", Gcy: "Г", Gdot: "Ġ", Gfr: "𝔊", Gg: "⋙", ggg: "⋙", Gopf: "𝔾", GreaterEqual: "≥", ge: "≥", geq: "≥", GreaterEqualLess: "⋛", gel: "⋛", gtreqless: "⋛", GreaterFullEqual: "≧", gE: "≧", geqq: "≧", GreaterGreater: "⪢", GreaterLess: "≷", gl: "≷", gtrless: "≷", GreaterSlantEqual: "⩾", geqslant: "⩾", ges: "⩾", GreaterTilde: "≳", gsim: "≳", gtrsim: "≳", Gscr: "𝒢", Gt: "≫", NestedGreaterGreater: "≫", gg: "≫", HARDcy: "Ъ", Hacek: "ˇ", caron: "ˇ", Hat: "^", Hcirc: "Ĥ", Hfr: "ℌ", Poincareplane: "ℌ", HilbertSpace: "ℋ", Hscr: "ℋ", hamilt: "ℋ", Hopf: "ℍ", quaternions: "ℍ", HorizontalLine: "─", boxh: "─", Hstrok: "Ħ", HumpEqual: "≏", bumpe: "≏", bumpeq: "≏", IEcy: "Е", IJlig: "IJ", IOcy: "Ё", Iacute: "Í", Icirc: "Î", Icy: "И", Idot: "İ", Ifr: "ℑ", Im: "ℑ", image: "ℑ", imagpart: "ℑ", Igrave: "Ì", Imacr: "Ī", ImaginaryI: "ⅈ", ii: "ⅈ", Int: "∬", Integral: "∫", int: "∫", Intersection: "⋂", bigcap: "⋂", xcap: "⋂", InvisibleComma: "", ic: "", InvisibleTimes: "", it: "", Iogon: "Į", Iopf: "𝕀", Iota: "Ι", Iscr: "ℐ", imagline: "ℐ", Itilde: "Ĩ", Iukcy: "І", Iuml: "Ï", Jcirc: "Ĵ", Jcy: "Й", Jfr: "𝔍", Jopf: "𝕁", Jscr: "𝒥", Jsercy: "Ј", Jukcy: "Є", KHcy: "Х", KJcy: "Ќ", Kappa: "Κ", Kcedil: "Ķ", Kcy: "К", Kfr: "𝔎", Kopf: "𝕂", Kscr: "𝒦", LJcy: "Љ", LT: "<", lt: "<", Lacute: "Ĺ", Lambda: "Λ", Lang: "⟪", Laplacetrf: "ℒ", Lscr: "ℒ", lagran: "ℒ", Larr: "↞", twoheadleftarrow: "↞", Lcaron: "Ľ", Lcedil: "Ļ", Lcy: "Л", LeftAngleBracket: "⟨", lang: "⟨", langle: "⟨", LeftArrow: "←", ShortLeftArrow: "←", larr: "←", leftarrow: "←", slarr: "←", LeftArrowBar: "⇤", larrb: "⇤", LeftArrowRightArrow: "⇆", leftrightarrows: "⇆", lrarr: "⇆", LeftCeiling: "⌈", lceil: "⌈", LeftDoubleBracket: "⟦", lobrk: "⟦", LeftDownTeeVector: "⥡", LeftDownVector: "⇃", dharl: "⇃", downharpoonleft: "⇃", LeftDownVectorBar: "⥙", LeftFloor: "⌊", lfloor: "⌊", LeftRightArrow: "↔", harr: "↔", leftrightarrow: "↔", LeftRightVector: "⥎", LeftTee: "⊣", dashv: "⊣", LeftTeeArrow: "↤", mapstoleft: "↤", LeftTeeVector: "⥚", LeftTriangle: "⊲", vartriangleleft: "⊲", vltri: "⊲", LeftTriangleBar: "⧏", LeftTriangleEqual: "⊴", ltrie: "⊴", trianglelefteq: "⊴", LeftUpDownVector: "⥑", LeftUpTeeVector: "⥠", LeftUpVector: "↿", uharl: "↿", upharpoonleft: "↿", LeftUpVectorBar: "⥘", LeftVector: "↼", leftharpoonup: "↼", lharu: "↼", LeftVectorBar: "⥒", LessEqualGreater: "⋚", leg: "⋚", lesseqgtr: "⋚", LessFullEqual: "≦", lE: "≦", leqq: "≦", LessGreater: "≶", lessgtr: "≶", lg: "≶", LessLess: "⪡", LessSlantEqual: "⩽", leqslant: "⩽", les: "⩽", LessTilde: "≲", lesssim: "≲", lsim: "≲", Lfr: "𝔏", Ll: "⋘", Lleftarrow: "⇚", lAarr: "⇚", Lmidot: "Ŀ", LongLeftArrow: "⟵", longleftarrow: "⟵", xlarr: "⟵", LongLeftRightArrow: "⟷", longleftrightarrow: "⟷", xharr: "⟷", LongRightArrow: "⟶", longrightarrow: "⟶", xrarr: "⟶", Lopf: "𝕃", LowerLeftArrow: "↙", swarr: "↙", swarrow: "↙", LowerRightArrow: "↘", searr: "↘", searrow: "↘", Lsh: "↰", lsh: "↰", Lstrok: "Ł", Lt: "≪", NestedLessLess: "≪", ll: "≪", Map: "⤅", Mcy: "М", MediumSpace: " ", Mellintrf: "ℳ", Mscr: "ℳ", phmmat: "ℳ", Mfr: "𝔐", MinusPlus: "∓", mnplus: "∓", mp: "∓", Mopf: "𝕄", Mu: "Μ", NJcy: "Њ", Nacute: "Ń", Ncaron: "Ň", Ncedil: "Ņ", Ncy: "Н", NegativeMediumSpace: "", NegativeThickSpace: "", NegativeThinSpace: "", NegativeVeryThinSpace: "", ZeroWidthSpace: "", NewLine: `
|
|
1645
|
-
`, Nfr: "𝔑", NoBreak: "", NonBreakingSpace: " ", nbsp: " ", Nopf: "ℕ", naturals: "ℕ", Not: "⫬", NotCongruent: "≢", nequiv: "≢", NotCupCap: "≭", NotDoubleVerticalBar: "∦", npar: "∦", nparallel: "∦", nshortparallel: "∦", nspar: "∦", NotElement: "∉", notin: "∉", notinva: "∉", NotEqual: "≠", ne: "≠", NotEqualTilde: "≂̸", nesim: "≂̸", NotExists: "∄", nexist: "∄", nexists: "∄", NotGreater: "≯", ngt: "≯", ngtr: "≯", NotGreaterEqual: "≱", nge: "≱", ngeq: "≱", NotGreaterFullEqual: "≧̸", ngE: "≧̸", ngeqq: "≧̸", NotGreaterGreater: "≫̸", nGtv: "≫̸", NotGreaterLess: "≹", ntgl: "≹", NotGreaterSlantEqual: "⩾̸", ngeqslant: "⩾̸", nges: "⩾̸", NotGreaterTilde: "≵", ngsim: "≵", NotHumpDownHump: "≎̸", nbump: "≎̸", NotHumpEqual: "≏̸", nbumpe: "≏̸", NotLeftTriangle: "⋪", nltri: "⋪", ntriangleleft: "⋪", NotLeftTriangleBar: "⧏̸", NotLeftTriangleEqual: "⋬", nltrie: "⋬", ntrianglelefteq: "⋬", NotLess: "≮", nless: "≮", nlt: "≮", NotLessEqual: "≰", nle: "≰", nleq: "≰", NotLessGreater: "≸", ntlg: "≸", NotLessLess: "≪̸", nLtv: "≪̸", NotLessSlantEqual: "⩽̸", nleqslant: "⩽̸", nles: "⩽̸", NotLessTilde: "≴", nlsim: "≴", NotNestedGreaterGreater: "⪢̸", NotNestedLessLess: "⪡̸", NotPrecedes: "⊀", npr: "⊀", nprec: "⊀", NotPrecedesEqual: "⪯̸", npre: "⪯̸", npreceq: "⪯̸", NotPrecedesSlantEqual: "⋠", nprcue: "⋠", NotReverseElement: "∌", notni: "∌", notniva: "∌", NotRightTriangle: "⋫", nrtri: "⋫", ntriangleright: "⋫", NotRightTriangleBar: "⧐̸", NotRightTriangleEqual: "⋭", nrtrie: "⋭", ntrianglerighteq: "⋭", NotSquareSubset: "⊏̸", NotSquareSubsetEqual: "⋢", nsqsube: "⋢", NotSquareSuperset: "⊐̸", NotSquareSupersetEqual: "⋣", nsqsupe: "⋣", NotSubset: "⊂⃒", nsubset: "⊂⃒", vnsub: "⊂⃒", NotSubsetEqual: "⊈", nsube: "⊈", nsubseteq: "⊈", NotSucceeds: "⊁", nsc: "⊁", nsucc: "⊁", NotSucceedsEqual: "⪰̸", nsce: "⪰̸", nsucceq: "⪰̸", NotSucceedsSlantEqual: "⋡", nsccue: "⋡", NotSucceedsTilde: "≿̸", NotSuperset: "⊃⃒", nsupset: "⊃⃒", vnsup: "⊃⃒", NotSupersetEqual: "⊉", nsupe: "⊉", nsupseteq: "⊉", NotTilde: "≁", nsim: "≁", NotTildeEqual: "≄", nsime: "≄", nsimeq: "≄", NotTildeFullEqual: "≇", ncong: "≇", NotTildeTilde: "≉", nap: "≉", napprox: "≉", NotVerticalBar: "∤", nmid: "∤", nshortmid: "∤", nsmid: "∤", Nscr: "𝒩", Ntilde: "Ñ", Nu: "Ν", OElig: "Œ", Oacute: "Ó", Ocirc: "Ô", Ocy: "О", Odblac: "Ő", Ofr: "𝔒", Ograve: "Ò", Omacr: "Ō", Omega: "Ω", ohm: "Ω", Omicron: "Ο", Oopf: "𝕆", OpenCurlyDoubleQuote: "“", ldquo: "“", OpenCurlyQuote: "‘", lsquo: "‘", Or: "⩔", Oscr: "𝒪", Oslash: "Ø", Otilde: "Õ", Otimes: "⨷", Ouml: "Ö", OverBar: "‾", oline: "‾", OverBrace: "⏞", OverBracket: "⎴", tbrk: "⎴", OverParenthesis: "⏜", PartialD: "∂", part: "∂", Pcy: "П", Pfr: "𝔓", Phi: "Φ", Pi: "Π", PlusMinus: "±", plusmn: "±", pm: "±", Popf: "ℙ", primes: "ℙ", Pr: "⪻", Precedes: "≺", pr: "≺", prec: "≺", PrecedesEqual: "⪯", pre: "⪯", preceq: "⪯", PrecedesSlantEqual: "≼", prcue: "≼", preccurlyeq: "≼", PrecedesTilde: "≾", precsim: "≾", prsim: "≾", Prime: "″", Product: "∏", prod: "∏", Proportional: "∝", prop: "∝", propto: "∝", varpropto: "∝", vprop: "∝", Pscr: "𝒫", Psi: "Ψ", QUOT: '"', quot: '"', Qfr: "𝔔", Qopf: "ℚ", rationals: "ℚ", Qscr: "𝒬", RBarr: "⤐", drbkarow: "⤐", REG: "®", circledR: "®", reg: "®", Racute: "Ŕ", Rang: "⟫", Rarr: "↠", twoheadrightarrow: "↠", Rarrtl: "⤖", Rcaron: "Ř", Rcedil: "Ŗ", Rcy: "Р", Re: "ℜ", Rfr: "ℜ", real: "ℜ", realpart: "ℜ", ReverseElement: "∋", SuchThat: "∋", ni: "∋", niv: "∋", ReverseEquilibrium: "⇋", leftrightharpoons: "⇋", lrhar: "⇋", ReverseUpEquilibrium: "⥯", duhar: "⥯", Rho: "Ρ", RightAngleBracket: "⟩", rang: "⟩", rangle: "⟩", RightArrow: "→", ShortRightArrow: "→", rarr: "→", rightarrow: "→", srarr: "→", RightArrowBar: "⇥", rarrb: "⇥", RightArrowLeftArrow: "⇄", rightleftarrows: "⇄", rlarr: "⇄", RightCeiling: "⌉", rceil: "⌉", RightDoubleBracket: "⟧", robrk: "⟧", RightDownTeeVector: "⥝", RightDownVector: "⇂", dharr: "⇂", downharpoonright: "⇂", RightDownVectorBar: "⥕", RightFloor: "⌋", rfloor: "⌋", RightTee: "⊢", vdash: "⊢", RightTeeArrow: "↦", map: "↦", mapsto: "↦", RightTeeVector: "⥛", RightTriangle: "⊳", vartriangleright: "⊳", vrtri: "⊳", RightTriangleBar: "⧐", RightTriangleEqual: "⊵", rtrie: "⊵", trianglerighteq: "⊵", RightUpDownVector: "⥏", RightUpTeeVector: "⥜", RightUpVector: "↾", uharr: "↾", upharpoonright: "↾", RightUpVectorBar: "⥔", RightVector: "⇀", rharu: "⇀", rightharpoonup: "⇀", RightVectorBar: "⥓", Ropf: "ℝ", reals: "ℝ", RoundImplies: "⥰", Rrightarrow: "⇛", rAarr: "⇛", Rscr: "ℛ", realine: "ℛ", Rsh: "↱", rsh: "↱", RuleDelayed: "⧴", SHCHcy: "Щ", SHcy: "Ш", SOFTcy: "Ь", Sacute: "Ś", Sc: "⪼", Scaron: "Š", Scedil: "Ş", Scirc: "Ŝ", Scy: "С", Sfr: "𝔖", ShortUpArrow: "↑", UpArrow: "↑", uarr: "↑", uparrow: "↑", Sigma: "Σ", SmallCircle: "∘", compfn: "∘", Sopf: "𝕊", Sqrt: "√", radic: "√", Square: "□", squ: "□", square: "□", SquareIntersection: "⊓", sqcap: "⊓", SquareSubset: "⊏", sqsub: "⊏", sqsubset: "⊏", SquareSubsetEqual: "⊑", sqsube: "⊑", sqsubseteq: "⊑", SquareSuperset: "⊐", sqsup: "⊐", sqsupset: "⊐", SquareSupersetEqual: "⊒", sqsupe: "⊒", sqsupseteq: "⊒", SquareUnion: "⊔", sqcup: "⊔", Sscr: "𝒮", Star: "⋆", sstarf: "⋆", Sub: "⋐", Subset: "⋐", SubsetEqual: "⊆", sube: "⊆", subseteq: "⊆", Succeeds: "≻", sc: "≻", succ: "≻", SucceedsEqual: "⪰", sce: "⪰", succeq: "⪰", SucceedsSlantEqual: "≽", sccue: "≽", succcurlyeq: "≽", SucceedsTilde: "≿", scsim: "≿", succsim: "≿", Sum: "∑", sum: "∑", Sup: "⋑", Supset: "⋑", Superset: "⊃", sup: "⊃", supset: "⊃", SupersetEqual: "⊇", supe: "⊇", supseteq: "⊇", THORN: "Þ", TRADE: "™", trade: "™", TSHcy: "Ћ", TScy: "Ц", Tab: " ", Tau: "Τ", Tcaron: "Ť", Tcedil: "Ţ", Tcy: "Т", Tfr: "𝔗", Therefore: "∴", there4: "∴", therefore: "∴", Theta: "Θ", ThickSpace: " ", ThinSpace: " ", thinsp: " ", Tilde: "∼", sim: "∼", thicksim: "∼", thksim: "∼", TildeEqual: "≃", sime: "≃", simeq: "≃", TildeFullEqual: "≅", cong: "≅", TildeTilde: "≈", ap: "≈", approx: "≈", asymp: "≈", thickapprox: "≈", thkap: "≈", Topf: "𝕋", TripleDot: "⃛", tdot: "⃛", Tscr: "𝒯", Tstrok: "Ŧ", Uacute: "Ú", Uarr: "↟", Uarrocir: "⥉", Ubrcy: "Ў", Ubreve: "Ŭ", Ucirc: "Û", Ucy: "У", Udblac: "Ű", Ufr: "𝔘", Ugrave: "Ù", Umacr: "Ū", UnderBar: "_", lowbar: "_", UnderBrace: "⏟", UnderBracket: "⎵", bbrk: "⎵", UnderParenthesis: "⏝", Union: "⋃", bigcup: "⋃", xcup: "⋃", UnionPlus: "⊎", uplus: "⊎", Uogon: "Ų", Uopf: "𝕌", UpArrowBar: "⤒", UpArrowDownArrow: "⇅", udarr: "⇅", UpDownArrow: "↕", updownarrow: "↕", varr: "↕", UpEquilibrium: "⥮", udhar: "⥮", UpTee: "⊥", bot: "⊥", bottom: "⊥", perp: "⊥", UpTeeArrow: "↥", mapstoup: "↥", UpperLeftArrow: "↖", nwarr: "↖", nwarrow: "↖", UpperRightArrow: "↗", nearr: "↗", nearrow: "↗", Upsi: "ϒ", upsih: "ϒ", Upsilon: "Υ", Uring: "Ů", Uscr: "𝒰", Utilde: "Ũ", Uuml: "Ü", VDash: "⊫", Vbar: "⫫", Vcy: "В", Vdash: "⊩", Vdashl: "⫦", Vee: "⋁", bigvee: "⋁", xvee: "⋁", Verbar: "‖", Vert: "‖", VerticalBar: "∣", mid: "∣", shortmid: "∣", smid: "∣", VerticalLine: "|", verbar: "|", vert: "|", VerticalSeparator: "❘", VerticalTilde: "≀", wr: "≀", wreath: "≀", VeryThinSpace: " ", hairsp: " ", Vfr: "𝔙", Vopf: "𝕍", Vscr: "𝒱", Vvdash: "⊪", Wcirc: "Ŵ", Wedge: "⋀", bigwedge: "⋀", xwedge: "⋀", Wfr: "𝔚", Wopf: "𝕎", Wscr: "𝒲", Xfr: "𝔛", Xi: "Ξ", Xopf: "𝕏", Xscr: "𝒳", YAcy: "Я", YIcy: "Ї", YUcy: "Ю", Yacute: "Ý", Ycirc: "Ŷ", Ycy: "Ы", Yfr: "𝔜", Yopf: "𝕐", Yscr: "𝒴", Yuml: "Ÿ", ZHcy: "Ж", Zacute: "Ź", Zcaron: "Ž", Zcy: "З", Zdot: "Ż", Zeta: "Ζ", Zfr: "ℨ", zeetrf: "ℨ", Zopf: "ℤ", integers: "ℤ", Zscr: "𝒵", aacute: "á", abreve: "ă", ac: "∾", mstpos: "∾", acE: "∾̳", acd: "∿", acirc: "â", acy: "а", aelig: "æ", afr: "𝔞", agrave: "à", alefsym: "ℵ", aleph: "ℵ", alpha: "α", amacr: "ā", amalg: "⨿", and: "∧", wedge: "∧", andand: "⩕", andd: "⩜", andslope: "⩘", andv: "⩚", ang: "∠", angle: "∠", ange: "⦤", angmsd: "∡", measuredangle: "∡", angmsdaa: "⦨", angmsdab: "⦩", angmsdac: "⦪", angmsdad: "⦫", angmsdae: "⦬", angmsdaf: "⦭", angmsdag: "⦮", angmsdah: "⦯", angrt: "∟", angrtvb: "⊾", angrtvbd: "⦝", angsph: "∢", angzarr: "⍼", aogon: "ą", aopf: "𝕒", apE: "⩰", apacir: "⩯", ape: "≊", approxeq: "≊", apid: "≋", apos: "'", aring: "å", ascr: "𝒶", ast: "*", midast: "*", atilde: "ã", auml: "ä", awint: "⨑", bNot: "⫭", backcong: "≌", bcong: "≌", backepsilon: "϶", bepsi: "϶", backprime: "‵", bprime: "‵", backsim: "∽", bsim: "∽", backsimeq: "⋍", bsime: "⋍", barvee: "⊽", barwed: "⌅", barwedge: "⌅", bbrktbrk: "⎶", bcy: "б", bdquo: "„", ldquor: "„", bemptyv: "⦰", beta: "β", beth: "ℶ", between: "≬", twixt: "≬", bfr: "𝔟", bigcirc: "◯", xcirc: "◯", bigodot: "⨀", xodot: "⨀", bigoplus: "⨁", xoplus: "⨁", bigotimes: "⨂", xotime: "⨂", bigsqcup: "⨆", xsqcup: "⨆", bigstar: "★", starf: "★", bigtriangledown: "▽", xdtri: "▽", bigtriangleup: "△", xutri: "△", biguplus: "⨄", xuplus: "⨄", bkarow: "⤍", rbarr: "⤍", blacklozenge: "⧫", lozf: "⧫", blacktriangle: "▴", utrif: "▴", blacktriangledown: "▾", dtrif: "▾", blacktriangleleft: "◂", ltrif: "◂", blacktriangleright: "▸", rtrif: "▸", blank: "␣", blk12: "▒", blk14: "░", blk34: "▓", block: "█", bne: "=⃥", bnequiv: "≡⃥", bnot: "⌐", bopf: "𝕓", bowtie: "⋈", boxDL: "╗", boxDR: "╔", boxDl: "╖", boxDr: "╓", boxH: "═", boxHD: "╦", boxHU: "╩", boxHd: "╤", boxHu: "╧", boxUL: "╝", boxUR: "╚", boxUl: "╜", boxUr: "╙", boxV: "║", boxVH: "╬", boxVL: "╣", boxVR: "╠", boxVh: "╫", boxVl: "╢", boxVr: "╟", boxbox: "⧉", boxdL: "╕", boxdR: "╒", boxdl: "┐", boxdr: "┌", boxhD: "╥", boxhU: "╨", boxhd: "┬", boxhu: "┴", boxminus: "⊟", minusb: "⊟", boxplus: "⊞", plusb: "⊞", boxtimes: "⊠", timesb: "⊠", boxuL: "╛", boxuR: "╘", boxul: "┘", boxur: "└", boxv: "│", boxvH: "╪", boxvL: "╡", boxvR: "╞", boxvh: "┼", boxvl: "┤", boxvr: "├", brvbar: "¦", bscr: "𝒷", bsemi: "⁏", bsol: "\\", bsolb: "⧅", bsolhsub: "⟈", bull: "•", bullet: "•", bumpE: "⪮", cacute: "ć", cap: "∩", capand: "⩄", capbrcup: "⩉", capcap: "⩋", capcup: "⩇", capdot: "⩀", caps: "∩︀", caret: "⁁", ccaps: "⩍", ccaron: "č", ccedil: "ç", ccirc: "ĉ", ccups: "⩌", ccupssm: "⩐", cdot: "ċ", cemptyv: "⦲", cent: "¢", cfr: "𝔠", chcy: "ч", check: "✓", checkmark: "✓", chi: "χ", cir: "○", cirE: "⧃", circ: "ˆ", circeq: "≗", cire: "≗", circlearrowleft: "↺", olarr: "↺", circlearrowright: "↻", orarr: "↻", circledS: "Ⓢ", oS: "Ⓢ", circledast: "⊛", oast: "⊛", circledcirc: "⊚", ocir: "⊚", circleddash: "⊝", odash: "⊝", cirfnint: "⨐", cirmid: "⫯", cirscir: "⧂", clubs: "♣", clubsuit: "♣", colon: ":", comma: ",", commat: "@", comp: "∁", complement: "∁", congdot: "⩭", copf: "𝕔", copysr: "℗", crarr: "↵", cross: "✗", cscr: "𝒸", csub: "⫏", csube: "⫑", csup: "⫐", csupe: "⫒", ctdot: "⋯", cudarrl: "⤸", cudarrr: "⤵", cuepr: "⋞", curlyeqprec: "⋞", cuesc: "⋟", curlyeqsucc: "⋟", cularr: "↶", curvearrowleft: "↶", cularrp: "⤽", cup: "∪", cupbrcap: "⩈", cupcap: "⩆", cupcup: "⩊", cupdot: "⊍", cupor: "⩅", cups: "∪︀", curarr: "↷", curvearrowright: "↷", curarrm: "⤼", curlyvee: "⋎", cuvee: "⋎", curlywedge: "⋏", cuwed: "⋏", curren: "¤", cwint: "∱", cylcty: "⌭", dHar: "⥥", dagger: "†", daleth: "ℸ", dash: "‐", hyphen: "‐", dbkarow: "⤏", rBarr: "⤏", dcaron: "ď", dcy: "д", ddarr: "⇊", downdownarrows: "⇊", ddotseq: "⩷", eDDot: "⩷", deg: "°", delta: "δ", demptyv: "⦱", dfisht: "⥿", dfr: "𝔡", diamondsuit: "♦", diams: "♦", digamma: "ϝ", gammad: "ϝ", disin: "⋲", div: "÷", divide: "÷", divideontimes: "⋇", divonx: "⋇", djcy: "ђ", dlcorn: "⌞", llcorner: "⌞", dlcrop: "⌍", dollar: "$", dopf: "𝕕", doteqdot: "≑", eDot: "≑", dotminus: "∸", minusd: "∸", dotplus: "∔", plusdo: "∔", dotsquare: "⊡", sdotb: "⊡", drcorn: "⌟", lrcorner: "⌟", drcrop: "⌌", dscr: "𝒹", dscy: "ѕ", dsol: "⧶", dstrok: "đ", dtdot: "⋱", dtri: "▿", triangledown: "▿", dwangle: "⦦", dzcy: "џ", dzigrarr: "⟿", eacute: "é", easter: "⩮", ecaron: "ě", ecir: "≖", eqcirc: "≖", ecirc: "ê", ecolon: "≕", eqcolon: "≕", ecy: "э", edot: "ė", efDot: "≒", fallingdotseq: "≒", efr: "𝔢", eg: "⪚", egrave: "è", egs: "⪖", eqslantgtr: "⪖", egsdot: "⪘", el: "⪙", elinters: "⏧", ell: "ℓ", els: "⪕", eqslantless: "⪕", elsdot: "⪗", emacr: "ē", empty: "∅", emptyset: "∅", emptyv: "∅", varnothing: "∅", emsp13: " ", emsp14: " ", emsp: " ", eng: "ŋ", ensp: " ", eogon: "ę", eopf: "𝕖", epar: "⋕", eparsl: "⧣", eplus: "⩱", epsi: "ε", epsilon: "ε", epsiv: "ϵ", straightepsilon: "ϵ", varepsilon: "ϵ", equals: "=", equest: "≟", questeq: "≟", equivDD: "⩸", eqvparsl: "⧥", erDot: "≓", risingdotseq: "≓", erarr: "⥱", escr: "ℯ", eta: "η", eth: "ð", euml: "ë", euro: "€", excl: "!", fcy: "ф", female: "♀", ffilig: "ffi", fflig: "ff", ffllig: "ffl", ffr: "𝔣", filig: "fi", fjlig: "fj", flat: "♭", fllig: "fl", fltns: "▱", fnof: "ƒ", fopf: "𝕗", fork: "⋔", pitchfork: "⋔", forkv: "⫙", fpartint: "⨍", frac12: "½", half: "½", frac13: "⅓", frac14: "¼", frac15: "⅕", frac16: "⅙", frac18: "⅛", frac23: "⅔", frac25: "⅖", frac34: "¾", frac35: "⅗", frac38: "⅜", frac45: "⅘", frac56: "⅚", frac58: "⅝", frac78: "⅞", frasl: "⁄", frown: "⌢", sfrown: "⌢", fscr: "𝒻", gEl: "⪌", gtreqqless: "⪌", gacute: "ǵ", gamma: "γ", gap: "⪆", gtrapprox: "⪆", gbreve: "ğ", gcirc: "ĝ", gcy: "г", gdot: "ġ", gescc: "⪩", gesdot: "⪀", gesdoto: "⪂", gesdotol: "⪄", gesl: "⋛︀", gesles: "⪔", gfr: "𝔤", gimel: "ℷ", gjcy: "ѓ", glE: "⪒", gla: "⪥", glj: "⪤", gnE: "≩", gneqq: "≩", gnap: "⪊", gnapprox: "⪊", gne: "⪈", gneq: "⪈", gnsim: "⋧", gopf: "𝕘", gscr: "ℊ", gsime: "⪎", gsiml: "⪐", gtcc: "⪧", gtcir: "⩺", gtdot: "⋗", gtrdot: "⋗", gtlPar: "⦕", gtquest: "⩼", gtrarr: "⥸", gvertneqq: "≩︀", gvnE: "≩︀", hardcy: "ъ", harrcir: "⥈", harrw: "↭", leftrightsquigarrow: "↭", hbar: "ℏ", hslash: "ℏ", planck: "ℏ", plankv: "ℏ", hcirc: "ĥ", hearts: "♥", heartsuit: "♥", hellip: "…", mldr: "…", hercon: "⊹", hfr: "𝔥", hksearow: "⤥", searhk: "⤥", hkswarow: "⤦", swarhk: "⤦", hoarr: "⇿", homtht: "∻", hookleftarrow: "↩", larrhk: "↩", hookrightarrow: "↪", rarrhk: "↪", hopf: "𝕙", horbar: "―", hscr: "𝒽", hstrok: "ħ", hybull: "⁃", iacute: "í", icirc: "î", icy: "и", iecy: "е", iexcl: "¡", ifr: "𝔦", igrave: "ì", iiiint: "⨌", qint: "⨌", iiint: "∭", tint: "∭", iinfin: "⧜", iiota: "℩", ijlig: "ij", imacr: "ī", imath: "ı", inodot: "ı", imof: "⊷", imped: "Ƶ", incare: "℅", infin: "∞", infintie: "⧝", intcal: "⊺", intercal: "⊺", intlarhk: "⨗", intprod: "⨼", iprod: "⨼", iocy: "ё", iogon: "į", iopf: "𝕚", iota: "ι", iquest: "¿", iscr: "𝒾", isinE: "⋹", isindot: "⋵", isins: "⋴", isinsv: "⋳", itilde: "ĩ", iukcy: "і", iuml: "ï", jcirc: "ĵ", jcy: "й", jfr: "𝔧", jmath: "ȷ", jopf: "𝕛", jscr: "𝒿", jsercy: "ј", jukcy: "є", kappa: "κ", kappav: "ϰ", varkappa: "ϰ", kcedil: "ķ", kcy: "к", kfr: "𝔨", kgreen: "ĸ", khcy: "х", kjcy: "ќ", kopf: "𝕜", kscr: "𝓀", lAtail: "⤛", lBarr: "⤎", lEg: "⪋", lesseqqgtr: "⪋", lHar: "⥢", lacute: "ĺ", laemptyv: "⦴", lambda: "λ", langd: "⦑", lap: "⪅", lessapprox: "⪅", laquo: "«", larrbfs: "⤟", larrfs: "⤝", larrlp: "↫", looparrowleft: "↫", larrpl: "⤹", larrsim: "⥳", larrtl: "↢", leftarrowtail: "↢", lat: "⪫", latail: "⤙", late: "⪭", lates: "⪭︀", lbarr: "⤌", lbbrk: "❲", lbrace: "{", lcub: "{", lbrack: "[", lsqb: "[", lbrke: "⦋", lbrksld: "⦏", lbrkslu: "⦍", lcaron: "ľ", lcedil: "ļ", lcy: "л", ldca: "⤶", ldrdhar: "⥧", ldrushar: "⥋", ldsh: "↲", le: "≤", leq: "≤", leftleftarrows: "⇇", llarr: "⇇", leftthreetimes: "⋋", lthree: "⋋", lescc: "⪨", lesdot: "⩿", lesdoto: "⪁", lesdotor: "⪃", lesg: "⋚︀", lesges: "⪓", lessdot: "⋖", ltdot: "⋖", lfisht: "⥼", lfr: "𝔩", lgE: "⪑", lharul: "⥪", lhblk: "▄", ljcy: "љ", llhard: "⥫", lltri: "◺", lmidot: "ŀ", lmoust: "⎰", lmoustache: "⎰", lnE: "≨", lneqq: "≨", lnap: "⪉", lnapprox: "⪉", lne: "⪇", lneq: "⪇", lnsim: "⋦", loang: "⟬", loarr: "⇽", longmapsto: "⟼", xmap: "⟼", looparrowright: "↬", rarrlp: "↬", lopar: "⦅", lopf: "𝕝", loplus: "⨭", lotimes: "⨴", lowast: "∗", loz: "◊", lozenge: "◊", lpar: "(", lparlt: "⦓", lrhard: "⥭", lrm: "", lrtri: "⊿", lsaquo: "‹", lscr: "𝓁", lsime: "⪍", lsimg: "⪏", lsquor: "‚", sbquo: "‚", lstrok: "ł", ltcc: "⪦", ltcir: "⩹", ltimes: "⋉", ltlarr: "⥶", ltquest: "⩻", ltrPar: "⦖", ltri: "◃", triangleleft: "◃", lurdshar: "⥊", luruhar: "⥦", lvertneqq: "≨︀", lvnE: "≨︀", mDDot: "∺", macr: "¯", strns: "¯", male: "♂", malt: "✠", maltese: "✠", marker: "▮", mcomma: "⨩", mcy: "м", mdash: "—", mfr: "𝔪", mho: "℧", micro: "µ", midcir: "⫰", minus: "−", minusdu: "⨪", mlcp: "⫛", models: "⊧", mopf: "𝕞", mscr: "𝓂", mu: "μ", multimap: "⊸", mumap: "⊸", nGg: "⋙̸", nGt: "≫⃒", nLeftarrow: "⇍", nlArr: "⇍", nLeftrightarrow: "⇎", nhArr: "⇎", nLl: "⋘̸", nLt: "≪⃒", nRightarrow: "⇏", nrArr: "⇏", nVDash: "⊯", nVdash: "⊮", nacute: "ń", nang: "∠⃒", napE: "⩰̸", napid: "≋̸", napos: "ʼn", natur: "♮", natural: "♮", ncap: "⩃", ncaron: "ň", ncedil: "ņ", ncongdot: "⩭̸", ncup: "⩂", ncy: "н", ndash: "–", neArr: "⇗", nearhk: "⤤", nedot: "≐̸", nesear: "⤨", toea: "⤨", nfr: "𝔫", nharr: "↮", nleftrightarrow: "↮", nhpar: "⫲", nis: "⋼", nisd: "⋺", njcy: "њ", nlE: "≦̸", nleqq: "≦̸", nlarr: "↚", nleftarrow: "↚", nldr: "‥", nopf: "𝕟", not: "¬", notinE: "⋹̸", notindot: "⋵̸", notinvb: "⋷", notinvc: "⋶", notnivb: "⋾", notnivc: "⋽", nparsl: "⫽⃥", npart: "∂̸", npolint: "⨔", nrarr: "↛", nrightarrow: "↛", nrarrc: "⤳̸", nrarrw: "↝̸", nscr: "𝓃", nsub: "⊄", nsubE: "⫅̸", nsubseteqq: "⫅̸", nsup: "⊅", nsupE: "⫆̸", nsupseteqq: "⫆̸", ntilde: "ñ", nu: "ν", num: "#", numero: "№", numsp: " ", nvDash: "⊭", nvHarr: "⤄", nvap: "≍⃒", nvdash: "⊬", nvge: "≥⃒", nvgt: ">⃒", nvinfin: "⧞", nvlArr: "⤂", nvle: "≤⃒", nvlt: "<⃒", nvltrie: "⊴⃒", nvrArr: "⤃", nvrtrie: "⊵⃒", nvsim: "∼⃒", nwArr: "⇖", nwarhk: "⤣", nwnear: "⤧", oacute: "ó", ocirc: "ô", ocy: "о", odblac: "ő", odiv: "⨸", odsold: "⦼", oelig: "œ", ofcir: "⦿", ofr: "𝔬", ogon: "˛", ograve: "ò", ogt: "⧁", ohbar: "⦵", olcir: "⦾", olcross: "⦻", olt: "⧀", omacr: "ō", omega: "ω", omicron: "ο", omid: "⦶", oopf: "𝕠", opar: "⦷", operp: "⦹", or: "∨", vee: "∨", ord: "⩝", order: "ℴ", orderof: "ℴ", oscr: "ℴ", ordf: "ª", ordm: "º", origof: "⊶", oror: "⩖", orslope: "⩗", orv: "⩛", oslash: "ø", osol: "⊘", otilde: "õ", otimesas: "⨶", ouml: "ö", ovbar: "⌽", para: "¶", parsim: "⫳", parsl: "⫽", pcy: "п", percnt: "%", period: ".", permil: "‰", pertenk: "‱", pfr: "𝔭", phi: "φ", phiv: "ϕ", straightphi: "ϕ", varphi: "ϕ", phone: "☎", pi: "π", piv: "ϖ", varpi: "ϖ", planckh: "ℎ", plus: "+", plusacir: "⨣", pluscir: "⨢", plusdu: "⨥", pluse: "⩲", plussim: "⨦", plustwo: "⨧", pointint: "⨕", popf: "𝕡", pound: "£", prE: "⪳", prap: "⪷", precapprox: "⪷", precnapprox: "⪹", prnap: "⪹", precneqq: "⪵", prnE: "⪵", precnsim: "⋨", prnsim: "⋨", prime: "′", profalar: "⌮", profline: "⌒", profsurf: "⌓", prurel: "⊰", pscr: "𝓅", psi: "ψ", puncsp: " ", qfr: "𝔮", qopf: "𝕢", qprime: "⁗", qscr: "𝓆", quatint: "⨖", quest: "?", rAtail: "⤜", rHar: "⥤", race: "∽̱", racute: "ŕ", raemptyv: "⦳", rangd: "⦒", range: "⦥", raquo: "»", rarrap: "⥵", rarrbfs: "⤠", rarrc: "⤳", rarrfs: "⤞", rarrpl: "⥅", rarrsim: "⥴", rarrtl: "↣", rightarrowtail: "↣", rarrw: "↝", rightsquigarrow: "↝", ratail: "⤚", ratio: "∶", rbbrk: "❳", rbrace: "}", rcub: "}", rbrack: "]", rsqb: "]", rbrke: "⦌", rbrksld: "⦎", rbrkslu: "⦐", rcaron: "ř", rcedil: "ŗ", rcy: "р", rdca: "⤷", rdldhar: "⥩", rdsh: "↳", rect: "▭", rfisht: "⥽", rfr: "𝔯", rharul: "⥬", rho: "ρ", rhov: "ϱ", varrho: "ϱ", rightrightarrows: "⇉", rrarr: "⇉", rightthreetimes: "⋌", rthree: "⋌", ring: "˚", rlm: "", rmoust: "⎱", rmoustache: "⎱", rnmid: "⫮", roang: "⟭", roarr: "⇾", ropar: "⦆", ropf: "𝕣", roplus: "⨮", rotimes: "⨵", rpar: ")", rpargt: "⦔", rppolint: "⨒", rsaquo: "›", rscr: "𝓇", rtimes: "⋊", rtri: "▹", triangleright: "▹", rtriltri: "⧎", ruluhar: "⥨", rx: "℞", sacute: "ś", scE: "⪴", scap: "⪸", succapprox: "⪸", scaron: "š", scedil: "ş", scirc: "ŝ", scnE: "⪶", succneqq: "⪶", scnap: "⪺", succnapprox: "⪺", scnsim: "⋩", succnsim: "⋩", scpolint: "⨓", scy: "с", sdot: "⋅", sdote: "⩦", seArr: "⇘", sect: "§", semi: ";", seswar: "⤩", tosa: "⤩", sext: "✶", sfr: "𝔰", sharp: "♯", shchcy: "щ", shcy: "ш", shy: "", sigma: "σ", sigmaf: "ς", sigmav: "ς", varsigma: "ς", simdot: "⩪", simg: "⪞", simgE: "⪠", siml: "⪝", simlE: "⪟", simne: "≆", simplus: "⨤", simrarr: "⥲", smashp: "⨳", smeparsl: "⧤", smile: "⌣", ssmile: "⌣", smt: "⪪", smte: "⪬", smtes: "⪬︀", softcy: "ь", sol: "/", solb: "⧄", solbar: "⌿", sopf: "𝕤", spades: "♠", spadesuit: "♠", sqcaps: "⊓︀", sqcups: "⊔︀", sscr: "𝓈", star: "☆", sub: "⊂", subset: "⊂", subE: "⫅", subseteqq: "⫅", subdot: "⪽", subedot: "⫃", submult: "⫁", subnE: "⫋", subsetneqq: "⫋", subne: "⊊", subsetneq: "⊊", subplus: "⪿", subrarr: "⥹", subsim: "⫇", subsub: "⫕", subsup: "⫓", sung: "♪", sup1: "¹", sup2: "²", sup3: "³", supE: "⫆", supseteqq: "⫆", supdot: "⪾", supdsub: "⫘", supedot: "⫄", suphsol: "⟉", suphsub: "⫗", suplarr: "⥻", supmult: "⫂", supnE: "⫌", supsetneqq: "⫌", supne: "⊋", supsetneq: "⊋", supplus: "⫀", supsim: "⫈", supsub: "⫔", supsup: "⫖", swArr: "⇙", swnwar: "⤪", szlig: "ß", target: "⌖", tau: "τ", tcaron: "ť", tcedil: "ţ", tcy: "т", telrec: "⌕", tfr: "𝔱", theta: "θ", thetasym: "ϑ", thetav: "ϑ", vartheta: "ϑ", thorn: "þ", times: "×", timesbar: "⨱", timesd: "⨰", topbot: "⌶", topcir: "⫱", topf: "𝕥", topfork: "⫚", tprime: "‴", triangle: "▵", utri: "▵", triangleq: "≜", trie: "≜", tridot: "◬", triminus: "⨺", triplus: "⨹", trisb: "⧍", tritime: "⨻", trpezium: "⏢", tscr: "𝓉", tscy: "ц", tshcy: "ћ", tstrok: "ŧ", uHar: "⥣", uacute: "ú", ubrcy: "ў", ubreve: "ŭ", ucirc: "û", ucy: "у", udblac: "ű", ufisht: "⥾", ufr: "𝔲", ugrave: "ù", uhblk: "▀", ulcorn: "⌜", ulcorner: "⌜", ulcrop: "⌏", ultri: "◸", umacr: "ū", uogon: "ų", uopf: "𝕦", upsi: "υ", upsilon: "υ", upuparrows: "⇈", uuarr: "⇈", urcorn: "⌝", urcorner: "⌝", urcrop: "⌎", uring: "ů", urtri: "◹", uscr: "𝓊", utdot: "⋰", utilde: "ũ", uuml: "ü", uwangle: "⦧", vBar: "⫨", vBarv: "⫩", vangrt: "⦜", varsubsetneq: "⊊︀", vsubne: "⊊︀", varsubsetneqq: "⫋︀", vsubnE: "⫋︀", varsupsetneq: "⊋︀", vsupne: "⊋︀", varsupsetneqq: "⫌︀", vsupnE: "⫌︀", vcy: "в", veebar: "⊻", veeeq: "≚", vellip: "⋮", vfr: "𝔳", vopf: "𝕧", vscr: "𝓋", vzigzag: "⦚", wcirc: "ŵ", wedbar: "⩟", wedgeq: "≙", weierp: "℘", wp: "℘", wfr: "𝔴", wopf: "𝕨", wscr: "𝓌", xfr: "𝔵", xi: "ξ", xnis: "⋻", xopf: "𝕩", xscr: "𝓍", yacute: "ý", yacy: "я", ycirc: "ŷ", ycy: "ы", yen: "¥", yfr: "𝔶", yicy: "ї", yopf: "𝕪", yscr: "𝓎", yucy: "ю", yuml: "ÿ", zacute: "ź", zcaron: "ž", zcy: "з", zdot: "ż", zeta: "ζ", zfr: "𝔷", zhcy: "ж", zigrarr: "⇝", zopf: "𝕫", zscr: "𝓏", zwj: "", zwnj: "" }, ms = "";
|
|
1646
|
-
Fe.ngsp =
|
|
1647
|
-
var
|
|
1648
|
-
function
|
|
1686
|
+
`, Nfr: "𝔑", NoBreak: "", NonBreakingSpace: " ", nbsp: " ", Nopf: "ℕ", naturals: "ℕ", Not: "⫬", NotCongruent: "≢", nequiv: "≢", NotCupCap: "≭", NotDoubleVerticalBar: "∦", npar: "∦", nparallel: "∦", nshortparallel: "∦", nspar: "∦", NotElement: "∉", notin: "∉", notinva: "∉", NotEqual: "≠", ne: "≠", NotEqualTilde: "≂̸", nesim: "≂̸", NotExists: "∄", nexist: "∄", nexists: "∄", NotGreater: "≯", ngt: "≯", ngtr: "≯", NotGreaterEqual: "≱", nge: "≱", ngeq: "≱", NotGreaterFullEqual: "≧̸", ngE: "≧̸", ngeqq: "≧̸", NotGreaterGreater: "≫̸", nGtv: "≫̸", NotGreaterLess: "≹", ntgl: "≹", NotGreaterSlantEqual: "⩾̸", ngeqslant: "⩾̸", nges: "⩾̸", NotGreaterTilde: "≵", ngsim: "≵", NotHumpDownHump: "≎̸", nbump: "≎̸", NotHumpEqual: "≏̸", nbumpe: "≏̸", NotLeftTriangle: "⋪", nltri: "⋪", ntriangleleft: "⋪", NotLeftTriangleBar: "⧏̸", NotLeftTriangleEqual: "⋬", nltrie: "⋬", ntrianglelefteq: "⋬", NotLess: "≮", nless: "≮", nlt: "≮", NotLessEqual: "≰", nle: "≰", nleq: "≰", NotLessGreater: "≸", ntlg: "≸", NotLessLess: "≪̸", nLtv: "≪̸", NotLessSlantEqual: "⩽̸", nleqslant: "⩽̸", nles: "⩽̸", NotLessTilde: "≴", nlsim: "≴", NotNestedGreaterGreater: "⪢̸", NotNestedLessLess: "⪡̸", NotPrecedes: "⊀", npr: "⊀", nprec: "⊀", NotPrecedesEqual: "⪯̸", npre: "⪯̸", npreceq: "⪯̸", NotPrecedesSlantEqual: "⋠", nprcue: "⋠", NotReverseElement: "∌", notni: "∌", notniva: "∌", NotRightTriangle: "⋫", nrtri: "⋫", ntriangleright: "⋫", NotRightTriangleBar: "⧐̸", NotRightTriangleEqual: "⋭", nrtrie: "⋭", ntrianglerighteq: "⋭", NotSquareSubset: "⊏̸", NotSquareSubsetEqual: "⋢", nsqsube: "⋢", NotSquareSuperset: "⊐̸", NotSquareSupersetEqual: "⋣", nsqsupe: "⋣", NotSubset: "⊂⃒", nsubset: "⊂⃒", vnsub: "⊂⃒", NotSubsetEqual: "⊈", nsube: "⊈", nsubseteq: "⊈", NotSucceeds: "⊁", nsc: "⊁", nsucc: "⊁", NotSucceedsEqual: "⪰̸", nsce: "⪰̸", nsucceq: "⪰̸", NotSucceedsSlantEqual: "⋡", nsccue: "⋡", NotSucceedsTilde: "≿̸", NotSuperset: "⊃⃒", nsupset: "⊃⃒", vnsup: "⊃⃒", NotSupersetEqual: "⊉", nsupe: "⊉", nsupseteq: "⊉", NotTilde: "≁", nsim: "≁", NotTildeEqual: "≄", nsime: "≄", nsimeq: "≄", NotTildeFullEqual: "≇", ncong: "≇", NotTildeTilde: "≉", nap: "≉", napprox: "≉", NotVerticalBar: "∤", nmid: "∤", nshortmid: "∤", nsmid: "∤", Nscr: "𝒩", Ntilde: "Ñ", Nu: "Ν", OElig: "Œ", Oacute: "Ó", Ocirc: "Ô", Ocy: "О", Odblac: "Ő", Ofr: "𝔒", Ograve: "Ò", Omacr: "Ō", Omega: "Ω", ohm: "Ω", Omicron: "Ο", Oopf: "𝕆", OpenCurlyDoubleQuote: "“", ldquo: "“", OpenCurlyQuote: "‘", lsquo: "‘", Or: "⩔", Oscr: "𝒪", Oslash: "Ø", Otilde: "Õ", Otimes: "⨷", Ouml: "Ö", OverBar: "‾", oline: "‾", OverBrace: "⏞", OverBracket: "⎴", tbrk: "⎴", OverParenthesis: "⏜", PartialD: "∂", part: "∂", Pcy: "П", Pfr: "𝔓", Phi: "Φ", Pi: "Π", PlusMinus: "±", plusmn: "±", pm: "±", Popf: "ℙ", primes: "ℙ", Pr: "⪻", Precedes: "≺", pr: "≺", prec: "≺", PrecedesEqual: "⪯", pre: "⪯", preceq: "⪯", PrecedesSlantEqual: "≼", prcue: "≼", preccurlyeq: "≼", PrecedesTilde: "≾", precsim: "≾", prsim: "≾", Prime: "″", Product: "∏", prod: "∏", Proportional: "∝", prop: "∝", propto: "∝", varpropto: "∝", vprop: "∝", Pscr: "𝒫", Psi: "Ψ", QUOT: '"', quot: '"', Qfr: "𝔔", Qopf: "ℚ", rationals: "ℚ", Qscr: "𝒬", RBarr: "⤐", drbkarow: "⤐", REG: "®", circledR: "®", reg: "®", Racute: "Ŕ", Rang: "⟫", Rarr: "↠", twoheadrightarrow: "↠", Rarrtl: "⤖", Rcaron: "Ř", Rcedil: "Ŗ", Rcy: "Р", Re: "ℜ", Rfr: "ℜ", real: "ℜ", realpart: "ℜ", ReverseElement: "∋", SuchThat: "∋", ni: "∋", niv: "∋", ReverseEquilibrium: "⇋", leftrightharpoons: "⇋", lrhar: "⇋", ReverseUpEquilibrium: "⥯", duhar: "⥯", Rho: "Ρ", RightAngleBracket: "⟩", rang: "⟩", rangle: "⟩", RightArrow: "→", ShortRightArrow: "→", rarr: "→", rightarrow: "→", srarr: "→", RightArrowBar: "⇥", rarrb: "⇥", RightArrowLeftArrow: "⇄", rightleftarrows: "⇄", rlarr: "⇄", RightCeiling: "⌉", rceil: "⌉", RightDoubleBracket: "⟧", robrk: "⟧", RightDownTeeVector: "⥝", RightDownVector: "⇂", dharr: "⇂", downharpoonright: "⇂", RightDownVectorBar: "⥕", RightFloor: "⌋", rfloor: "⌋", RightTee: "⊢", vdash: "⊢", RightTeeArrow: "↦", map: "↦", mapsto: "↦", RightTeeVector: "⥛", RightTriangle: "⊳", vartriangleright: "⊳", vrtri: "⊳", RightTriangleBar: "⧐", RightTriangleEqual: "⊵", rtrie: "⊵", trianglerighteq: "⊵", RightUpDownVector: "⥏", RightUpTeeVector: "⥜", RightUpVector: "↾", uharr: "↾", upharpoonright: "↾", RightUpVectorBar: "⥔", RightVector: "⇀", rharu: "⇀", rightharpoonup: "⇀", RightVectorBar: "⥓", Ropf: "ℝ", reals: "ℝ", RoundImplies: "⥰", Rrightarrow: "⇛", rAarr: "⇛", Rscr: "ℛ", realine: "ℛ", Rsh: "↱", rsh: "↱", RuleDelayed: "⧴", SHCHcy: "Щ", SHcy: "Ш", SOFTcy: "Ь", Sacute: "Ś", Sc: "⪼", Scaron: "Š", Scedil: "Ş", Scirc: "Ŝ", Scy: "С", Sfr: "𝔖", ShortUpArrow: "↑", UpArrow: "↑", uarr: "↑", uparrow: "↑", Sigma: "Σ", SmallCircle: "∘", compfn: "∘", Sopf: "𝕊", Sqrt: "√", radic: "√", Square: "□", squ: "□", square: "□", SquareIntersection: "⊓", sqcap: "⊓", SquareSubset: "⊏", sqsub: "⊏", sqsubset: "⊏", SquareSubsetEqual: "⊑", sqsube: "⊑", sqsubseteq: "⊑", SquareSuperset: "⊐", sqsup: "⊐", sqsupset: "⊐", SquareSupersetEqual: "⊒", sqsupe: "⊒", sqsupseteq: "⊒", SquareUnion: "⊔", sqcup: "⊔", Sscr: "𝒮", Star: "⋆", sstarf: "⋆", Sub: "⋐", Subset: "⋐", SubsetEqual: "⊆", sube: "⊆", subseteq: "⊆", Succeeds: "≻", sc: "≻", succ: "≻", SucceedsEqual: "⪰", sce: "⪰", succeq: "⪰", SucceedsSlantEqual: "≽", sccue: "≽", succcurlyeq: "≽", SucceedsTilde: "≿", scsim: "≿", succsim: "≿", Sum: "∑", sum: "∑", Sup: "⋑", Supset: "⋑", Superset: "⊃", sup: "⊃", supset: "⊃", SupersetEqual: "⊇", supe: "⊇", supseteq: "⊇", THORN: "Þ", TRADE: "™", trade: "™", TSHcy: "Ћ", TScy: "Ц", Tab: " ", Tau: "Τ", Tcaron: "Ť", Tcedil: "Ţ", Tcy: "Т", Tfr: "𝔗", Therefore: "∴", there4: "∴", therefore: "∴", Theta: "Θ", ThickSpace: " ", ThinSpace: " ", thinsp: " ", Tilde: "∼", sim: "∼", thicksim: "∼", thksim: "∼", TildeEqual: "≃", sime: "≃", simeq: "≃", TildeFullEqual: "≅", cong: "≅", TildeTilde: "≈", ap: "≈", approx: "≈", asymp: "≈", thickapprox: "≈", thkap: "≈", Topf: "𝕋", TripleDot: "⃛", tdot: "⃛", Tscr: "𝒯", Tstrok: "Ŧ", Uacute: "Ú", Uarr: "↟", Uarrocir: "⥉", Ubrcy: "Ў", Ubreve: "Ŭ", Ucirc: "Û", Ucy: "У", Udblac: "Ű", Ufr: "𝔘", Ugrave: "Ù", Umacr: "Ū", UnderBar: "_", lowbar: "_", UnderBrace: "⏟", UnderBracket: "⎵", bbrk: "⎵", UnderParenthesis: "⏝", Union: "⋃", bigcup: "⋃", xcup: "⋃", UnionPlus: "⊎", uplus: "⊎", Uogon: "Ų", Uopf: "𝕌", UpArrowBar: "⤒", UpArrowDownArrow: "⇅", udarr: "⇅", UpDownArrow: "↕", updownarrow: "↕", varr: "↕", UpEquilibrium: "⥮", udhar: "⥮", UpTee: "⊥", bot: "⊥", bottom: "⊥", perp: "⊥", UpTeeArrow: "↥", mapstoup: "↥", UpperLeftArrow: "↖", nwarr: "↖", nwarrow: "↖", UpperRightArrow: "↗", nearr: "↗", nearrow: "↗", Upsi: "ϒ", upsih: "ϒ", Upsilon: "Υ", Uring: "Ů", Uscr: "𝒰", Utilde: "Ũ", Uuml: "Ü", VDash: "⊫", Vbar: "⫫", Vcy: "В", Vdash: "⊩", Vdashl: "⫦", Vee: "⋁", bigvee: "⋁", xvee: "⋁", Verbar: "‖", Vert: "‖", VerticalBar: "∣", mid: "∣", shortmid: "∣", smid: "∣", VerticalLine: "|", verbar: "|", vert: "|", VerticalSeparator: "❘", VerticalTilde: "≀", wr: "≀", wreath: "≀", VeryThinSpace: " ", hairsp: " ", Vfr: "𝔙", Vopf: "𝕍", Vscr: "𝒱", Vvdash: "⊪", Wcirc: "Ŵ", Wedge: "⋀", bigwedge: "⋀", xwedge: "⋀", Wfr: "𝔚", Wopf: "𝕎", Wscr: "𝒲", Xfr: "𝔛", Xi: "Ξ", Xopf: "𝕏", Xscr: "𝒳", YAcy: "Я", YIcy: "Ї", YUcy: "Ю", Yacute: "Ý", Ycirc: "Ŷ", Ycy: "Ы", Yfr: "𝔜", Yopf: "𝕐", Yscr: "𝒴", Yuml: "Ÿ", ZHcy: "Ж", Zacute: "Ź", Zcaron: "Ž", Zcy: "З", Zdot: "Ż", Zeta: "Ζ", Zfr: "ℨ", zeetrf: "ℨ", Zopf: "ℤ", integers: "ℤ", Zscr: "𝒵", aacute: "á", abreve: "ă", ac: "∾", mstpos: "∾", acE: "∾̳", acd: "∿", acirc: "â", acy: "а", aelig: "æ", afr: "𝔞", agrave: "à", alefsym: "ℵ", aleph: "ℵ", alpha: "α", amacr: "ā", amalg: "⨿", and: "∧", wedge: "∧", andand: "⩕", andd: "⩜", andslope: "⩘", andv: "⩚", ang: "∠", angle: "∠", ange: "⦤", angmsd: "∡", measuredangle: "∡", angmsdaa: "⦨", angmsdab: "⦩", angmsdac: "⦪", angmsdad: "⦫", angmsdae: "⦬", angmsdaf: "⦭", angmsdag: "⦮", angmsdah: "⦯", angrt: "∟", angrtvb: "⊾", angrtvbd: "⦝", angsph: "∢", angzarr: "⍼", aogon: "ą", aopf: "𝕒", apE: "⩰", apacir: "⩯", ape: "≊", approxeq: "≊", apid: "≋", apos: "'", aring: "å", ascr: "𝒶", ast: "*", midast: "*", atilde: "ã", auml: "ä", awint: "⨑", bNot: "⫭", backcong: "≌", bcong: "≌", backepsilon: "϶", bepsi: "϶", backprime: "‵", bprime: "‵", backsim: "∽", bsim: "∽", backsimeq: "⋍", bsime: "⋍", barvee: "⊽", barwed: "⌅", barwedge: "⌅", bbrktbrk: "⎶", bcy: "б", bdquo: "„", ldquor: "„", bemptyv: "⦰", beta: "β", beth: "ℶ", between: "≬", twixt: "≬", bfr: "𝔟", bigcirc: "◯", xcirc: "◯", bigodot: "⨀", xodot: "⨀", bigoplus: "⨁", xoplus: "⨁", bigotimes: "⨂", xotime: "⨂", bigsqcup: "⨆", xsqcup: "⨆", bigstar: "★", starf: "★", bigtriangledown: "▽", xdtri: "▽", bigtriangleup: "△", xutri: "△", biguplus: "⨄", xuplus: "⨄", bkarow: "⤍", rbarr: "⤍", blacklozenge: "⧫", lozf: "⧫", blacktriangle: "▴", utrif: "▴", blacktriangledown: "▾", dtrif: "▾", blacktriangleleft: "◂", ltrif: "◂", blacktriangleright: "▸", rtrif: "▸", blank: "␣", blk12: "▒", blk14: "░", blk34: "▓", block: "█", bne: "=⃥", bnequiv: "≡⃥", bnot: "⌐", bopf: "𝕓", bowtie: "⋈", boxDL: "╗", boxDR: "╔", boxDl: "╖", boxDr: "╓", boxH: "═", boxHD: "╦", boxHU: "╩", boxHd: "╤", boxHu: "╧", boxUL: "╝", boxUR: "╚", boxUl: "╜", boxUr: "╙", boxV: "║", boxVH: "╬", boxVL: "╣", boxVR: "╠", boxVh: "╫", boxVl: "╢", boxVr: "╟", boxbox: "⧉", boxdL: "╕", boxdR: "╒", boxdl: "┐", boxdr: "┌", boxhD: "╥", boxhU: "╨", boxhd: "┬", boxhu: "┴", boxminus: "⊟", minusb: "⊟", boxplus: "⊞", plusb: "⊞", boxtimes: "⊠", timesb: "⊠", boxuL: "╛", boxuR: "╘", boxul: "┘", boxur: "└", boxv: "│", boxvH: "╪", boxvL: "╡", boxvR: "╞", boxvh: "┼", boxvl: "┤", boxvr: "├", brvbar: "¦", bscr: "𝒷", bsemi: "⁏", bsol: "\\", bsolb: "⧅", bsolhsub: "⟈", bull: "•", bullet: "•", bumpE: "⪮", cacute: "ć", cap: "∩", capand: "⩄", capbrcup: "⩉", capcap: "⩋", capcup: "⩇", capdot: "⩀", caps: "∩︀", caret: "⁁", ccaps: "⩍", ccaron: "č", ccedil: "ç", ccirc: "ĉ", ccups: "⩌", ccupssm: "⩐", cdot: "ċ", cemptyv: "⦲", cent: "¢", cfr: "𝔠", chcy: "ч", check: "✓", checkmark: "✓", chi: "χ", cir: "○", cirE: "⧃", circ: "ˆ", circeq: "≗", cire: "≗", circlearrowleft: "↺", olarr: "↺", circlearrowright: "↻", orarr: "↻", circledS: "Ⓢ", oS: "Ⓢ", circledast: "⊛", oast: "⊛", circledcirc: "⊚", ocir: "⊚", circleddash: "⊝", odash: "⊝", cirfnint: "⨐", cirmid: "⫯", cirscir: "⧂", clubs: "♣", clubsuit: "♣", colon: ":", comma: ",", commat: "@", comp: "∁", complement: "∁", congdot: "⩭", copf: "𝕔", copysr: "℗", crarr: "↵", cross: "✗", cscr: "𝒸", csub: "⫏", csube: "⫑", csup: "⫐", csupe: "⫒", ctdot: "⋯", cudarrl: "⤸", cudarrr: "⤵", cuepr: "⋞", curlyeqprec: "⋞", cuesc: "⋟", curlyeqsucc: "⋟", cularr: "↶", curvearrowleft: "↶", cularrp: "⤽", cup: "∪", cupbrcap: "⩈", cupcap: "⩆", cupcup: "⩊", cupdot: "⊍", cupor: "⩅", cups: "∪︀", curarr: "↷", curvearrowright: "↷", curarrm: "⤼", curlyvee: "⋎", cuvee: "⋎", curlywedge: "⋏", cuwed: "⋏", curren: "¤", cwint: "∱", cylcty: "⌭", dHar: "⥥", dagger: "†", daleth: "ℸ", dash: "‐", hyphen: "‐", dbkarow: "⤏", rBarr: "⤏", dcaron: "ď", dcy: "д", ddarr: "⇊", downdownarrows: "⇊", ddotseq: "⩷", eDDot: "⩷", deg: "°", delta: "δ", demptyv: "⦱", dfisht: "⥿", dfr: "𝔡", diamondsuit: "♦", diams: "♦", digamma: "ϝ", gammad: "ϝ", disin: "⋲", div: "÷", divide: "÷", divideontimes: "⋇", divonx: "⋇", djcy: "ђ", dlcorn: "⌞", llcorner: "⌞", dlcrop: "⌍", dollar: "$", dopf: "𝕕", doteqdot: "≑", eDot: "≑", dotminus: "∸", minusd: "∸", dotplus: "∔", plusdo: "∔", dotsquare: "⊡", sdotb: "⊡", drcorn: "⌟", lrcorner: "⌟", drcrop: "⌌", dscr: "𝒹", dscy: "ѕ", dsol: "⧶", dstrok: "đ", dtdot: "⋱", dtri: "▿", triangledown: "▿", dwangle: "⦦", dzcy: "џ", dzigrarr: "⟿", eacute: "é", easter: "⩮", ecaron: "ě", ecir: "≖", eqcirc: "≖", ecirc: "ê", ecolon: "≕", eqcolon: "≕", ecy: "э", edot: "ė", efDot: "≒", fallingdotseq: "≒", efr: "𝔢", eg: "⪚", egrave: "è", egs: "⪖", eqslantgtr: "⪖", egsdot: "⪘", el: "⪙", elinters: "⏧", ell: "ℓ", els: "⪕", eqslantless: "⪕", elsdot: "⪗", emacr: "ē", empty: "∅", emptyset: "∅", emptyv: "∅", varnothing: "∅", emsp13: " ", emsp14: " ", emsp: " ", eng: "ŋ", ensp: " ", eogon: "ę", eopf: "𝕖", epar: "⋕", eparsl: "⧣", eplus: "⩱", epsi: "ε", epsilon: "ε", epsiv: "ϵ", straightepsilon: "ϵ", varepsilon: "ϵ", equals: "=", equest: "≟", questeq: "≟", equivDD: "⩸", eqvparsl: "⧥", erDot: "≓", risingdotseq: "≓", erarr: "⥱", escr: "ℯ", eta: "η", eth: "ð", euml: "ë", euro: "€", excl: "!", fcy: "ф", female: "♀", ffilig: "ffi", fflig: "ff", ffllig: "ffl", ffr: "𝔣", filig: "fi", fjlig: "fj", flat: "♭", fllig: "fl", fltns: "▱", fnof: "ƒ", fopf: "𝕗", fork: "⋔", pitchfork: "⋔", forkv: "⫙", fpartint: "⨍", frac12: "½", half: "½", frac13: "⅓", frac14: "¼", frac15: "⅕", frac16: "⅙", frac18: "⅛", frac23: "⅔", frac25: "⅖", frac34: "¾", frac35: "⅗", frac38: "⅜", frac45: "⅘", frac56: "⅚", frac58: "⅝", frac78: "⅞", frasl: "⁄", frown: "⌢", sfrown: "⌢", fscr: "𝒻", gEl: "⪌", gtreqqless: "⪌", gacute: "ǵ", gamma: "γ", gap: "⪆", gtrapprox: "⪆", gbreve: "ğ", gcirc: "ĝ", gcy: "г", gdot: "ġ", gescc: "⪩", gesdot: "⪀", gesdoto: "⪂", gesdotol: "⪄", gesl: "⋛︀", gesles: "⪔", gfr: "𝔤", gimel: "ℷ", gjcy: "ѓ", glE: "⪒", gla: "⪥", glj: "⪤", gnE: "≩", gneqq: "≩", gnap: "⪊", gnapprox: "⪊", gne: "⪈", gneq: "⪈", gnsim: "⋧", gopf: "𝕘", gscr: "ℊ", gsime: "⪎", gsiml: "⪐", gtcc: "⪧", gtcir: "⩺", gtdot: "⋗", gtrdot: "⋗", gtlPar: "⦕", gtquest: "⩼", gtrarr: "⥸", gvertneqq: "≩︀", gvnE: "≩︀", hardcy: "ъ", harrcir: "⥈", harrw: "↭", leftrightsquigarrow: "↭", hbar: "ℏ", hslash: "ℏ", planck: "ℏ", plankv: "ℏ", hcirc: "ĥ", hearts: "♥", heartsuit: "♥", hellip: "…", mldr: "…", hercon: "⊹", hfr: "𝔥", hksearow: "⤥", searhk: "⤥", hkswarow: "⤦", swarhk: "⤦", hoarr: "⇿", homtht: "∻", hookleftarrow: "↩", larrhk: "↩", hookrightarrow: "↪", rarrhk: "↪", hopf: "𝕙", horbar: "―", hscr: "𝒽", hstrok: "ħ", hybull: "⁃", iacute: "í", icirc: "î", icy: "и", iecy: "е", iexcl: "¡", ifr: "𝔦", igrave: "ì", iiiint: "⨌", qint: "⨌", iiint: "∭", tint: "∭", iinfin: "⧜", iiota: "℩", ijlig: "ij", imacr: "ī", imath: "ı", inodot: "ı", imof: "⊷", imped: "Ƶ", incare: "℅", infin: "∞", infintie: "⧝", intcal: "⊺", intercal: "⊺", intlarhk: "⨗", intprod: "⨼", iprod: "⨼", iocy: "ё", iogon: "į", iopf: "𝕚", iota: "ι", iquest: "¿", iscr: "𝒾", isinE: "⋹", isindot: "⋵", isins: "⋴", isinsv: "⋳", itilde: "ĩ", iukcy: "і", iuml: "ï", jcirc: "ĵ", jcy: "й", jfr: "𝔧", jmath: "ȷ", jopf: "𝕛", jscr: "𝒿", jsercy: "ј", jukcy: "є", kappa: "κ", kappav: "ϰ", varkappa: "ϰ", kcedil: "ķ", kcy: "к", kfr: "𝔨", kgreen: "ĸ", khcy: "х", kjcy: "ќ", kopf: "𝕜", kscr: "𝓀", lAtail: "⤛", lBarr: "⤎", lEg: "⪋", lesseqqgtr: "⪋", lHar: "⥢", lacute: "ĺ", laemptyv: "⦴", lambda: "λ", langd: "⦑", lap: "⪅", lessapprox: "⪅", laquo: "«", larrbfs: "⤟", larrfs: "⤝", larrlp: "↫", looparrowleft: "↫", larrpl: "⤹", larrsim: "⥳", larrtl: "↢", leftarrowtail: "↢", lat: "⪫", latail: "⤙", late: "⪭", lates: "⪭︀", lbarr: "⤌", lbbrk: "❲", lbrace: "{", lcub: "{", lbrack: "[", lsqb: "[", lbrke: "⦋", lbrksld: "⦏", lbrkslu: "⦍", lcaron: "ľ", lcedil: "ļ", lcy: "л", ldca: "⤶", ldrdhar: "⥧", ldrushar: "⥋", ldsh: "↲", le: "≤", leq: "≤", leftleftarrows: "⇇", llarr: "⇇", leftthreetimes: "⋋", lthree: "⋋", lescc: "⪨", lesdot: "⩿", lesdoto: "⪁", lesdotor: "⪃", lesg: "⋚︀", lesges: "⪓", lessdot: "⋖", ltdot: "⋖", lfisht: "⥼", lfr: "𝔩", lgE: "⪑", lharul: "⥪", lhblk: "▄", ljcy: "љ", llhard: "⥫", lltri: "◺", lmidot: "ŀ", lmoust: "⎰", lmoustache: "⎰", lnE: "≨", lneqq: "≨", lnap: "⪉", lnapprox: "⪉", lne: "⪇", lneq: "⪇", lnsim: "⋦", loang: "⟬", loarr: "⇽", longmapsto: "⟼", xmap: "⟼", looparrowright: "↬", rarrlp: "↬", lopar: "⦅", lopf: "𝕝", loplus: "⨭", lotimes: "⨴", lowast: "∗", loz: "◊", lozenge: "◊", lpar: "(", lparlt: "⦓", lrhard: "⥭", lrm: "", lrtri: "⊿", lsaquo: "‹", lscr: "𝓁", lsime: "⪍", lsimg: "⪏", lsquor: "‚", sbquo: "‚", lstrok: "ł", ltcc: "⪦", ltcir: "⩹", ltimes: "⋉", ltlarr: "⥶", ltquest: "⩻", ltrPar: "⦖", ltri: "◃", triangleleft: "◃", lurdshar: "⥊", luruhar: "⥦", lvertneqq: "≨︀", lvnE: "≨︀", mDDot: "∺", macr: "¯", strns: "¯", male: "♂", malt: "✠", maltese: "✠", marker: "▮", mcomma: "⨩", mcy: "м", mdash: "—", mfr: "𝔪", mho: "℧", micro: "µ", midcir: "⫰", minus: "−", minusdu: "⨪", mlcp: "⫛", models: "⊧", mopf: "𝕞", mscr: "𝓂", mu: "μ", multimap: "⊸", mumap: "⊸", nGg: "⋙̸", nGt: "≫⃒", nLeftarrow: "⇍", nlArr: "⇍", nLeftrightarrow: "⇎", nhArr: "⇎", nLl: "⋘̸", nLt: "≪⃒", nRightarrow: "⇏", nrArr: "⇏", nVDash: "⊯", nVdash: "⊮", nacute: "ń", nang: "∠⃒", napE: "⩰̸", napid: "≋̸", napos: "ʼn", natur: "♮", natural: "♮", ncap: "⩃", ncaron: "ň", ncedil: "ņ", ncongdot: "⩭̸", ncup: "⩂", ncy: "н", ndash: "–", neArr: "⇗", nearhk: "⤤", nedot: "≐̸", nesear: "⤨", toea: "⤨", nfr: "𝔫", nharr: "↮", nleftrightarrow: "↮", nhpar: "⫲", nis: "⋼", nisd: "⋺", njcy: "њ", nlE: "≦̸", nleqq: "≦̸", nlarr: "↚", nleftarrow: "↚", nldr: "‥", nopf: "𝕟", not: "¬", notinE: "⋹̸", notindot: "⋵̸", notinvb: "⋷", notinvc: "⋶", notnivb: "⋾", notnivc: "⋽", nparsl: "⫽⃥", npart: "∂̸", npolint: "⨔", nrarr: "↛", nrightarrow: "↛", nrarrc: "⤳̸", nrarrw: "↝̸", nscr: "𝓃", nsub: "⊄", nsubE: "⫅̸", nsubseteqq: "⫅̸", nsup: "⊅", nsupE: "⫆̸", nsupseteqq: "⫆̸", ntilde: "ñ", nu: "ν", num: "#", numero: "№", numsp: " ", nvDash: "⊭", nvHarr: "⤄", nvap: "≍⃒", nvdash: "⊬", nvge: "≥⃒", nvgt: ">⃒", nvinfin: "⧞", nvlArr: "⤂", nvle: "≤⃒", nvlt: "<⃒", nvltrie: "⊴⃒", nvrArr: "⤃", nvrtrie: "⊵⃒", nvsim: "∼⃒", nwArr: "⇖", nwarhk: "⤣", nwnear: "⤧", oacute: "ó", ocirc: "ô", ocy: "о", odblac: "ő", odiv: "⨸", odsold: "⦼", oelig: "œ", ofcir: "⦿", ofr: "𝔬", ogon: "˛", ograve: "ò", ogt: "⧁", ohbar: "⦵", olcir: "⦾", olcross: "⦻", olt: "⧀", omacr: "ō", omega: "ω", omicron: "ο", omid: "⦶", oopf: "𝕠", opar: "⦷", operp: "⦹", or: "∨", vee: "∨", ord: "⩝", order: "ℴ", orderof: "ℴ", oscr: "ℴ", ordf: "ª", ordm: "º", origof: "⊶", oror: "⩖", orslope: "⩗", orv: "⩛", oslash: "ø", osol: "⊘", otilde: "õ", otimesas: "⨶", ouml: "ö", ovbar: "⌽", para: "¶", parsim: "⫳", parsl: "⫽", pcy: "п", percnt: "%", period: ".", permil: "‰", pertenk: "‱", pfr: "𝔭", phi: "φ", phiv: "ϕ", straightphi: "ϕ", varphi: "ϕ", phone: "☎", pi: "π", piv: "ϖ", varpi: "ϖ", planckh: "ℎ", plus: "+", plusacir: "⨣", pluscir: "⨢", plusdu: "⨥", pluse: "⩲", plussim: "⨦", plustwo: "⨧", pointint: "⨕", popf: "𝕡", pound: "£", prE: "⪳", prap: "⪷", precapprox: "⪷", precnapprox: "⪹", prnap: "⪹", precneqq: "⪵", prnE: "⪵", precnsim: "⋨", prnsim: "⋨", prime: "′", profalar: "⌮", profline: "⌒", profsurf: "⌓", prurel: "⊰", pscr: "𝓅", psi: "ψ", puncsp: " ", qfr: "𝔮", qopf: "𝕢", qprime: "⁗", qscr: "𝓆", quatint: "⨖", quest: "?", rAtail: "⤜", rHar: "⥤", race: "∽̱", racute: "ŕ", raemptyv: "⦳", rangd: "⦒", range: "⦥", raquo: "»", rarrap: "⥵", rarrbfs: "⤠", rarrc: "⤳", rarrfs: "⤞", rarrpl: "⥅", rarrsim: "⥴", rarrtl: "↣", rightarrowtail: "↣", rarrw: "↝", rightsquigarrow: "↝", ratail: "⤚", ratio: "∶", rbbrk: "❳", rbrace: "}", rcub: "}", rbrack: "]", rsqb: "]", rbrke: "⦌", rbrksld: "⦎", rbrkslu: "⦐", rcaron: "ř", rcedil: "ŗ", rcy: "р", rdca: "⤷", rdldhar: "⥩", rdsh: "↳", rect: "▭", rfisht: "⥽", rfr: "𝔯", rharul: "⥬", rho: "ρ", rhov: "ϱ", varrho: "ϱ", rightrightarrows: "⇉", rrarr: "⇉", rightthreetimes: "⋌", rthree: "⋌", ring: "˚", rlm: "", rmoust: "⎱", rmoustache: "⎱", rnmid: "⫮", roang: "⟭", roarr: "⇾", ropar: "⦆", ropf: "𝕣", roplus: "⨮", rotimes: "⨵", rpar: ")", rpargt: "⦔", rppolint: "⨒", rsaquo: "›", rscr: "𝓇", rtimes: "⋊", rtri: "▹", triangleright: "▹", rtriltri: "⧎", ruluhar: "⥨", rx: "℞", sacute: "ś", scE: "⪴", scap: "⪸", succapprox: "⪸", scaron: "š", scedil: "ş", scirc: "ŝ", scnE: "⪶", succneqq: "⪶", scnap: "⪺", succnapprox: "⪺", scnsim: "⋩", succnsim: "⋩", scpolint: "⨓", scy: "с", sdot: "⋅", sdote: "⩦", seArr: "⇘", sect: "§", semi: ";", seswar: "⤩", tosa: "⤩", sext: "✶", sfr: "𝔰", sharp: "♯", shchcy: "щ", shcy: "ш", shy: "", sigma: "σ", sigmaf: "ς", sigmav: "ς", varsigma: "ς", simdot: "⩪", simg: "⪞", simgE: "⪠", siml: "⪝", simlE: "⪟", simne: "≆", simplus: "⨤", simrarr: "⥲", smashp: "⨳", smeparsl: "⧤", smile: "⌣", ssmile: "⌣", smt: "⪪", smte: "⪬", smtes: "⪬︀", softcy: "ь", sol: "/", solb: "⧄", solbar: "⌿", sopf: "𝕤", spades: "♠", spadesuit: "♠", sqcaps: "⊓︀", sqcups: "⊔︀", sscr: "𝓈", star: "☆", sub: "⊂", subset: "⊂", subE: "⫅", subseteqq: "⫅", subdot: "⪽", subedot: "⫃", submult: "⫁", subnE: "⫋", subsetneqq: "⫋", subne: "⊊", subsetneq: "⊊", subplus: "⪿", subrarr: "⥹", subsim: "⫇", subsub: "⫕", subsup: "⫓", sung: "♪", sup1: "¹", sup2: "²", sup3: "³", supE: "⫆", supseteqq: "⫆", supdot: "⪾", supdsub: "⫘", supedot: "⫄", suphsol: "⟉", suphsub: "⫗", suplarr: "⥻", supmult: "⫂", supnE: "⫌", supsetneqq: "⫌", supne: "⊋", supsetneq: "⊋", supplus: "⫀", supsim: "⫈", supsub: "⫔", supsup: "⫖", swArr: "⇙", swnwar: "⤪", szlig: "ß", target: "⌖", tau: "τ", tcaron: "ť", tcedil: "ţ", tcy: "т", telrec: "⌕", tfr: "𝔱", theta: "θ", thetasym: "ϑ", thetav: "ϑ", vartheta: "ϑ", thorn: "þ", times: "×", timesbar: "⨱", timesd: "⨰", topbot: "⌶", topcir: "⫱", topf: "𝕥", topfork: "⫚", tprime: "‴", triangle: "▵", utri: "▵", triangleq: "≜", trie: "≜", tridot: "◬", triminus: "⨺", triplus: "⨹", trisb: "⧍", tritime: "⨻", trpezium: "⏢", tscr: "𝓉", tscy: "ц", tshcy: "ћ", tstrok: "ŧ", uHar: "⥣", uacute: "ú", ubrcy: "ў", ubreve: "ŭ", ucirc: "û", ucy: "у", udblac: "ű", ufisht: "⥾", ufr: "𝔲", ugrave: "ù", uhblk: "▀", ulcorn: "⌜", ulcorner: "⌜", ulcrop: "⌏", ultri: "◸", umacr: "ū", uogon: "ų", uopf: "𝕦", upsi: "υ", upsilon: "υ", upuparrows: "⇈", uuarr: "⇈", urcorn: "⌝", urcorner: "⌝", urcrop: "⌎", uring: "ů", urtri: "◹", uscr: "𝓊", utdot: "⋰", utilde: "ũ", uuml: "ü", uwangle: "⦧", vBar: "⫨", vBarv: "⫩", vangrt: "⦜", varsubsetneq: "⊊︀", vsubne: "⊊︀", varsubsetneqq: "⫋︀", vsubnE: "⫋︀", varsupsetneq: "⊋︀", vsupne: "⊋︀", varsupsetneqq: "⫌︀", vsupnE: "⫌︀", vcy: "в", veebar: "⊻", veeeq: "≚", vellip: "⋮", vfr: "𝔳", vopf: "𝕧", vscr: "𝓋", vzigzag: "⦚", wcirc: "ŵ", wedbar: "⩟", wedgeq: "≙", weierp: "℘", wp: "℘", wfr: "𝔴", wopf: "𝕨", wscr: "𝓌", xfr: "𝔵", xi: "ξ", xnis: "⋻", xopf: "𝕩", xscr: "𝓍", yacute: "ý", yacy: "я", ycirc: "ŷ", ycy: "ы", yen: "¥", yfr: "𝔶", yicy: "ї", yopf: "𝕪", yscr: "𝓎", yucy: "ю", yuml: "ÿ", zacute: "ź", zcaron: "ž", zcy: "з", zdot: "ż", zeta: "ζ", zfr: "𝔷", zhcy: "ж", zigrarr: "⇝", zopf: "𝕫", zscr: "𝓏", zwj: "", zwnj: "" }, Ls = "";
|
|
1687
|
+
Fe.ngsp = Ls;
|
|
1688
|
+
var Fs = [/@/, /^\s*$/, /[<>]/, /^[{}]$/, /&(#|[a-z])/i, /^\/\//];
|
|
1689
|
+
function qs(e, t) {
|
|
1649
1690
|
if (t != null && !(Array.isArray(t) && t.length == 2))
|
|
1650
1691
|
throw new Error(`Expected '${e}' to be an array, [start, end].`);
|
|
1651
1692
|
if (t != null) {
|
|
1652
1693
|
let r = t[0], n = t[1];
|
|
1653
|
-
|
|
1694
|
+
Fs.forEach((a) => {
|
|
1654
1695
|
if (a.test(r) || a.test(n))
|
|
1655
1696
|
throw new Error(`['${r}', '${n}'] contains unusable interpolation symbol.`);
|
|
1656
1697
|
});
|
|
1657
1698
|
}
|
|
1658
1699
|
}
|
|
1659
|
-
var
|
|
1700
|
+
var Ns = class un {
|
|
1660
1701
|
static fromArray(t) {
|
|
1661
|
-
return t ? (
|
|
1702
|
+
return t ? (qs("interpolation", t), new un(t[0], t[1])) : on;
|
|
1662
1703
|
}
|
|
1663
1704
|
constructor(t, r) {
|
|
1664
1705
|
this.start = t, this.end = r;
|
|
1665
1706
|
}
|
|
1666
|
-
},
|
|
1707
|
+
}, on = new Ns("{{", "}}"), Ge = class extends rn {
|
|
1667
1708
|
constructor(e, t, r) {
|
|
1668
1709
|
super(r, e), this.tokenType = t;
|
|
1669
1710
|
}
|
|
1670
|
-
},
|
|
1711
|
+
}, Is = class {
|
|
1671
1712
|
constructor(e, t, r) {
|
|
1672
1713
|
this.tokens = e, this.errors = t, this.nonNormalizedIcuExpressions = r;
|
|
1673
1714
|
}
|
|
1674
1715
|
};
|
|
1675
|
-
function
|
|
1676
|
-
let a = new
|
|
1677
|
-
return a.tokenize(), new
|
|
1716
|
+
function Ps(e, t, r, n = {}) {
|
|
1717
|
+
let a = new Rs(new tn(e, t), r, n);
|
|
1718
|
+
return a.tokenize(), new Is(zs(a.tokens), a.errors, a.nonNormalizedIcuExpressions);
|
|
1678
1719
|
}
|
|
1679
|
-
var
|
|
1720
|
+
var Ms = /\r\n?/g;
|
|
1680
1721
|
function X(e) {
|
|
1681
1722
|
return `Unexpected character "${e === 0 ? "EOF" : String.fromCharCode(e)}"`;
|
|
1682
1723
|
}
|
|
1683
|
-
function
|
|
1724
|
+
function nr(e) {
|
|
1684
1725
|
return `Unknown entity "${e}" - use the "&#<decimal>;" or "&#x<hex>;" syntax`;
|
|
1685
1726
|
}
|
|
1686
|
-
function
|
|
1727
|
+
function Hs(e, t) {
|
|
1687
1728
|
return `Unable to parse entity "${t}" - ${e} character reference entities must end with ";"`;
|
|
1688
1729
|
}
|
|
1689
1730
|
var qe;
|
|
@@ -1694,11 +1735,11 @@ var Ke = class {
|
|
|
1694
1735
|
constructor(e) {
|
|
1695
1736
|
this.error = e;
|
|
1696
1737
|
}
|
|
1697
|
-
},
|
|
1738
|
+
}, Rs = class {
|
|
1698
1739
|
constructor(e, t, r) {
|
|
1699
|
-
this._getTagContentType = t, this._currentTokenStart = null, this._currentTokenType = null, this._expansionCaseStack = [], this._inInterpolation = !1, this._fullNameStack = [], this.tokens = [], this.errors = [], this.nonNormalizedIcuExpressions = [], this._tokenizeIcu = r.tokenizeExpansionForms || !1, this._interpolationConfig = r.interpolationConfig ||
|
|
1740
|
+
this._getTagContentType = t, this._currentTokenStart = null, this._currentTokenType = null, this._expansionCaseStack = [], this._inInterpolation = !1, this._fullNameStack = [], this.tokens = [], this.errors = [], this.nonNormalizedIcuExpressions = [], this._tokenizeIcu = r.tokenizeExpansionForms || !1, this._interpolationConfig = r.interpolationConfig || on, this._leadingTriviaCodePoints = r.leadingTriviaChars && r.leadingTriviaChars.map((a) => a.codePointAt(0) || 0), this._canSelfClose = r.canSelfClose || !1, this._allowHtmComponentClosingTags = r.allowHtmComponentClosingTags || !1;
|
|
1700
1741
|
let n = r.range || { endPos: e.content.length, startPos: 0, startLine: 0, startCol: 0 };
|
|
1701
|
-
this._cursor = r.escapedString ? new
|
|
1742
|
+
this._cursor = r.escapedString ? new js(e, n) : new ln(e, n), this._preserveLineEndings = r.preserveLineEndings || !1, this._i18nNormalizeLineEndingsInICUs = r.i18nNormalizeLineEndingsInICUs || !1, this._tokenizeBlocks = r.tokenizeBlocks ?? !0, this._tokenizeLet = r.tokenizeLet ?? !0;
|
|
1702
1743
|
try {
|
|
1703
1744
|
this._cursor.init();
|
|
1704
1745
|
} catch (a) {
|
|
@@ -1706,7 +1747,7 @@ var Ke = class {
|
|
|
1706
1747
|
}
|
|
1707
1748
|
}
|
|
1708
1749
|
_processCarriageReturns(e) {
|
|
1709
|
-
return this._preserveLineEndings ? e : e.replace(
|
|
1750
|
+
return this._preserveLineEndings ? e : e.replace(Ms, `
|
|
1710
1751
|
`);
|
|
1711
1752
|
}
|
|
1712
1753
|
tokenize() {
|
|
@@ -1732,7 +1773,7 @@ var Ke = class {
|
|
|
1732
1773
|
}
|
|
1733
1774
|
_getBlockName() {
|
|
1734
1775
|
let e = !1, t = this._cursor.clone();
|
|
1735
|
-
return this._attemptCharCodeUntilFn((r) => De(r) ? !e :
|
|
1776
|
+
return this._attemptCharCodeUntilFn((r) => De(r) ? !e : sr(r) ? (e = !0, !1) : !0), this._cursor.getChars(t).trim();
|
|
1736
1777
|
}
|
|
1737
1778
|
_consumeBlockStart(e) {
|
|
1738
1779
|
this._beginToken(25, e);
|
|
@@ -1750,7 +1791,7 @@ var Ke = class {
|
|
|
1750
1791
|
this._beginToken(27, e), this._endToken([]);
|
|
1751
1792
|
}
|
|
1752
1793
|
_consumeBlockParameters() {
|
|
1753
|
-
for (this._attemptCharCodeUntilFn(
|
|
1794
|
+
for (this._attemptCharCodeUntilFn(ur); this._cursor.peek() !== 41 && this._cursor.peek() !== 0; ) {
|
|
1754
1795
|
this._beginToken(28);
|
|
1755
1796
|
let e = this._cursor.clone(), t = null, r = 0;
|
|
1756
1797
|
for (; this._cursor.peek() !== 59 && this._cursor.peek() !== 0 || t !== null; ) {
|
|
@@ -1770,7 +1811,7 @@ var Ke = class {
|
|
|
1770
1811
|
}
|
|
1771
1812
|
this._cursor.advance();
|
|
1772
1813
|
}
|
|
1773
|
-
this._endToken([this._cursor.getChars(e)]), this._attemptCharCodeUntilFn(
|
|
1814
|
+
this._endToken([this._cursor.getChars(e)]), this._attemptCharCodeUntilFn(ur);
|
|
1774
1815
|
}
|
|
1775
1816
|
}
|
|
1776
1817
|
_consumeLetDeclaration(e) {
|
|
@@ -1805,7 +1846,7 @@ var Ke = class {
|
|
|
1805
1846
|
_tokenizeExpansionForm() {
|
|
1806
1847
|
if (this.isExpansionFormStart())
|
|
1807
1848
|
return this._consumeExpansionFormStart(), !0;
|
|
1808
|
-
if (
|
|
1849
|
+
if (Ws(this._cursor.peek()) && this._isInExpansionForm())
|
|
1809
1850
|
return this._consumeExpansionCaseStart(), !0;
|
|
1810
1851
|
if (this._cursor.peek() === 125) {
|
|
1811
1852
|
if (this._isInExpansionCase())
|
|
@@ -1841,7 +1882,7 @@ var Ke = class {
|
|
|
1841
1882
|
return this._cursor.peek() === e ? (this._cursor.advance(), !0) : !1;
|
|
1842
1883
|
}
|
|
1843
1884
|
_attemptCharCodeCaseInsensitive(e) {
|
|
1844
|
-
return
|
|
1885
|
+
return $s(this._cursor.peek(), e) ? (this._cursor.advance(), !0) : !1;
|
|
1845
1886
|
}
|
|
1846
1887
|
_requireCharCode(e) {
|
|
1847
1888
|
let t = this._cursor.clone();
|
|
@@ -1896,10 +1937,10 @@ var Ke = class {
|
|
|
1896
1937
|
let t = this._cursor.clone();
|
|
1897
1938
|
if (this._cursor.advance(), this._attemptCharCode(35)) {
|
|
1898
1939
|
let r = this._attemptCharCode(120) || this._attemptCharCode(88), n = this._cursor.clone();
|
|
1899
|
-
if (this._attemptCharCodeUntilFn(
|
|
1940
|
+
if (this._attemptCharCodeUntilFn(Vs), this._cursor.peek() != 59) {
|
|
1900
1941
|
this._cursor.advance();
|
|
1901
1942
|
let i = r ? qe.HEX : qe.DEC;
|
|
1902
|
-
throw this._createError(
|
|
1943
|
+
throw this._createError(Hs(i, this._cursor.getChars(t)), this._cursor.getSpan());
|
|
1903
1944
|
}
|
|
1904
1945
|
let a = this._cursor.getChars(n);
|
|
1905
1946
|
this._cursor.advance();
|
|
@@ -1907,18 +1948,18 @@ var Ke = class {
|
|
|
1907
1948
|
let i = parseInt(a, r ? 16 : 10);
|
|
1908
1949
|
this._endToken([String.fromCharCode(i), this._cursor.getChars(t)]);
|
|
1909
1950
|
} catch {
|
|
1910
|
-
throw this._createError(
|
|
1951
|
+
throw this._createError(nr(this._cursor.getChars(t)), this._cursor.getSpan());
|
|
1911
1952
|
}
|
|
1912
1953
|
} else {
|
|
1913
1954
|
let r = this._cursor.clone();
|
|
1914
|
-
if (this._attemptCharCodeUntilFn(
|
|
1955
|
+
if (this._attemptCharCodeUntilFn(Os), this._cursor.peek() != 59)
|
|
1915
1956
|
this._beginToken(e, t), this._cursor = r, this._endToken(["&"]);
|
|
1916
1957
|
else {
|
|
1917
1958
|
let n = this._cursor.getChars(r);
|
|
1918
1959
|
this._cursor.advance();
|
|
1919
1960
|
let a = Fe[n];
|
|
1920
1961
|
if (!a)
|
|
1921
|
-
throw this._createError(
|
|
1962
|
+
throw this._createError(nr(n), this._cursor.getSpan(t));
|
|
1922
1963
|
this._endToken([a, `&${n};`]);
|
|
1923
1964
|
}
|
|
1924
1965
|
}
|
|
@@ -1948,10 +1989,10 @@ var Ke = class {
|
|
|
1948
1989
|
}
|
|
1949
1990
|
_consumePrefixAndName() {
|
|
1950
1991
|
let e = this._cursor.clone(), t = "";
|
|
1951
|
-
for (; this._cursor.peek() !== 58 && !
|
|
1992
|
+
for (; this._cursor.peek() !== 58 && !Us(this._cursor.peek()); )
|
|
1952
1993
|
this._cursor.advance();
|
|
1953
1994
|
let r;
|
|
1954
|
-
this._cursor.peek() === 58 ? (t = this._cursor.getChars(e), this._cursor.advance(), r = this._cursor.clone()) : r = e, this._requireCharCodeUntilFn(
|
|
1995
|
+
this._cursor.peek() === 58 ? (t = this._cursor.getChars(e), this._cursor.advance(), r = this._cursor.clone()) : r = e, this._requireCharCodeUntilFn(ar, t === "" ? 0 : 1);
|
|
1955
1996
|
let n = this._cursor.getChars(r);
|
|
1956
1997
|
return [t, n];
|
|
1957
1998
|
}
|
|
@@ -2007,7 +2048,7 @@ var Ke = class {
|
|
|
2007
2048
|
let r = () => this._cursor.peek() === t;
|
|
2008
2049
|
e = this._consumeWithInterpolation(16, 17, r, r), this._consumeQuote(t);
|
|
2009
2050
|
} else {
|
|
2010
|
-
let t = () =>
|
|
2051
|
+
let t = () => ar(this._cursor.peek());
|
|
2011
2052
|
e = this._consumeWithInterpolation(16, 17, t, t);
|
|
2012
2053
|
}
|
|
2013
2054
|
return e;
|
|
@@ -2102,7 +2143,7 @@ var Ke = class {
|
|
|
2102
2143
|
_isBlockStart() {
|
|
2103
2144
|
if (this._tokenizeBlocks && this._cursor.peek() === 64) {
|
|
2104
2145
|
let e = this._cursor.clone();
|
|
2105
|
-
if (e.advance(),
|
|
2146
|
+
if (e.advance(), sr(e.peek()))
|
|
2106
2147
|
return !0;
|
|
2107
2148
|
}
|
|
2108
2149
|
return !1;
|
|
@@ -2141,34 +2182,34 @@ var Ke = class {
|
|
|
2141
2182
|
function b(e) {
|
|
2142
2183
|
return !De(e) || e === 0;
|
|
2143
2184
|
}
|
|
2144
|
-
function
|
|
2185
|
+
function ar(e) {
|
|
2145
2186
|
return De(e) || e === 62 || e === 60 || e === 47 || e === 39 || e === 34 || e === 61 || e === 0;
|
|
2146
2187
|
}
|
|
2147
|
-
function
|
|
2188
|
+
function Us(e) {
|
|
2148
2189
|
return (e < 97 || 122 < e) && (e < 65 || 90 < e) && (e < 48 || e > 57);
|
|
2149
2190
|
}
|
|
2150
|
-
function
|
|
2151
|
-
return e === 59 || e === 0 || !
|
|
2191
|
+
function Vs(e) {
|
|
2192
|
+
return e === 59 || e === 0 || !zi(e);
|
|
2152
2193
|
}
|
|
2153
|
-
function
|
|
2194
|
+
function Os(e) {
|
|
2154
2195
|
return e === 59 || e === 0 || !Te(e);
|
|
2155
2196
|
}
|
|
2156
|
-
function
|
|
2197
|
+
function Ws(e) {
|
|
2157
2198
|
return e !== 125;
|
|
2158
2199
|
}
|
|
2159
|
-
function
|
|
2160
|
-
return
|
|
2200
|
+
function $s(e, t) {
|
|
2201
|
+
return ir(e) === ir(t);
|
|
2161
2202
|
}
|
|
2162
|
-
function
|
|
2203
|
+
function ir(e) {
|
|
2163
2204
|
return e >= 97 && e <= 122 ? e - 97 + 65 : e;
|
|
2164
2205
|
}
|
|
2165
|
-
function
|
|
2206
|
+
function sr(e) {
|
|
2166
2207
|
return Te(e) || bt(e) || e === 95;
|
|
2167
2208
|
}
|
|
2168
|
-
function
|
|
2209
|
+
function ur(e) {
|
|
2169
2210
|
return e !== 59 && b(e);
|
|
2170
2211
|
}
|
|
2171
|
-
function
|
|
2212
|
+
function zs(e) {
|
|
2172
2213
|
let t = [], r;
|
|
2173
2214
|
for (let n = 0; n < e.length; n++) {
|
|
2174
2215
|
let a = e[n];
|
|
@@ -2176,7 +2217,7 @@ function Ds(e) {
|
|
|
2176
2217
|
}
|
|
2177
2218
|
return t;
|
|
2178
2219
|
}
|
|
2179
|
-
var
|
|
2220
|
+
var ln = class tt {
|
|
2180
2221
|
constructor(t, r) {
|
|
2181
2222
|
if (t instanceof tt) {
|
|
2182
2223
|
this.file = t.file, this.input = t.input, this.end = t.end;
|
|
@@ -2213,7 +2254,7 @@ var en = class tt {
|
|
|
2213
2254
|
for (; this.diff(t) > 0 && r.indexOf(t.peek()) !== -1; )
|
|
2214
2255
|
n === t && (t = t.clone()), t.advance();
|
|
2215
2256
|
let a = this.locationFromCursor(t), i = this.locationFromCursor(this), s = n !== t ? this.locationFromCursor(n) : a;
|
|
2216
|
-
return new
|
|
2257
|
+
return new m(a, i, s);
|
|
2217
2258
|
}
|
|
2218
2259
|
getChars(t) {
|
|
2219
2260
|
return this.input.substring(t.state.offset, this.state.offset);
|
|
@@ -2233,7 +2274,7 @@ var en = class tt {
|
|
|
2233
2274
|
locationFromCursor(t) {
|
|
2234
2275
|
return new Ze(t.file, t.state.offset, t.state.line, t.state.column);
|
|
2235
2276
|
}
|
|
2236
|
-
},
|
|
2277
|
+
}, js = class rt extends ln {
|
|
2237
2278
|
constructor(t, r) {
|
|
2238
2279
|
t instanceof rt ? (super(t), this.internalState = { ...t.internalState }) : (super(t, r), this.internalState = this.state);
|
|
2239
2280
|
}
|
|
@@ -2282,9 +2323,9 @@ var en = class tt {
|
|
|
2282
2323
|
this.advanceState(this.internalState);
|
|
2283
2324
|
let r = this.clone();
|
|
2284
2325
|
this.advanceState(this.internalState), this.state.peek = this.decodeHexDigits(r, 2);
|
|
2285
|
-
} else if (
|
|
2326
|
+
} else if (Ot(t())) {
|
|
2286
2327
|
let r = "", n = 0, a = this.clone();
|
|
2287
|
-
for (;
|
|
2328
|
+
for (; Ot(t()) && n < 3; )
|
|
2288
2329
|
a = this.clone(), r += String.fromCodePoint(t()), this.advanceState(this.internalState), n++;
|
|
2289
2330
|
this.state.peek = parseInt(r, 8), this.internalState = a.internalState;
|
|
2290
2331
|
} else
|
|
@@ -2300,29 +2341,29 @@ var en = class tt {
|
|
|
2300
2341
|
constructor(e, t) {
|
|
2301
2342
|
this.msg = e, this.cursor = t;
|
|
2302
2343
|
}
|
|
2303
|
-
}, B = class
|
|
2344
|
+
}, B = class cn extends rn {
|
|
2304
2345
|
static create(t, r, n) {
|
|
2305
|
-
return new
|
|
2346
|
+
return new cn(t, r, n);
|
|
2306
2347
|
}
|
|
2307
2348
|
constructor(t, r, n) {
|
|
2308
2349
|
super(r, n), this.elementName = t;
|
|
2309
2350
|
}
|
|
2310
|
-
},
|
|
2351
|
+
}, Gs = class {
|
|
2311
2352
|
constructor(e, t) {
|
|
2312
2353
|
this.rootNodes = e, this.errors = t;
|
|
2313
2354
|
}
|
|
2314
|
-
},
|
|
2355
|
+
}, Ks = class {
|
|
2315
2356
|
constructor(e) {
|
|
2316
2357
|
this.getTagDefinition = e;
|
|
2317
2358
|
}
|
|
2318
2359
|
parse(e, t, r, n = !1, a) {
|
|
2319
|
-
let i = (
|
|
2320
|
-
let x = o(
|
|
2321
|
-
return x !== void 0 ? x : u(
|
|
2322
|
-
} : u, r), l = r && r.canSelfClose || !1,
|
|
2323
|
-
return
|
|
2360
|
+
let i = (g) => (C, ...w) => g(C.toLowerCase(), ...w), s = n ? this.getTagDefinition : i(this.getTagDefinition), u = (g) => s(g).getContentType(), o = n ? a : i(a), p = Ps(e, t, a ? (g, C, w, E) => {
|
|
2361
|
+
let x = o(g, C, w, E);
|
|
2362
|
+
return x !== void 0 ? x : u(g);
|
|
2363
|
+
} : u, r), l = r && r.canSelfClose || !1, v = r && r.allowHtmComponentClosingTags || !1, d = new Xs(p.tokens, s, l, v, n);
|
|
2364
|
+
return d.build(), new Gs(d.rootNodes, p.errors.concat(d.errors));
|
|
2324
2365
|
}
|
|
2325
|
-
},
|
|
2366
|
+
}, Xs = class pn {
|
|
2326
2367
|
constructor(t, r, n, a, i) {
|
|
2327
2368
|
this.tokens = t, this.getTagDefinition = r, this.canSelfClose = n, this.allowHtmComponentClosingTags = a, this.isTagNameCaseSensitive = i, this._index = -1, this._containerStack = [], this.rootNodes = [], this.errors = [], this._advance();
|
|
2328
2369
|
}
|
|
@@ -2341,15 +2382,15 @@ var en = class tt {
|
|
|
2341
2382
|
}
|
|
2342
2383
|
_consumeCdata(t) {
|
|
2343
2384
|
let r = this._advance(), n = this._getText(r), a = this._advanceIf(13);
|
|
2344
|
-
this._addToParent(new
|
|
2385
|
+
this._addToParent(new As(n, new m(t.sourceSpan.start, (a || r).sourceSpan.end), [r]));
|
|
2345
2386
|
}
|
|
2346
2387
|
_consumeComment(t) {
|
|
2347
|
-
let r = this._advanceIf(7), n = this._advanceIf(11), a = r != null ? r.parts[0].trim() : null, i = n == null ? t.sourceSpan : new
|
|
2348
|
-
this._addToParent(new
|
|
2388
|
+
let r = this._advanceIf(7), n = this._advanceIf(11), a = r != null ? r.parts[0].trim() : null, i = n == null ? t.sourceSpan : new m(t.sourceSpan.start, n.sourceSpan.end, t.sourceSpan.fullStart);
|
|
2389
|
+
this._addToParent(new Ds(a, i));
|
|
2349
2390
|
}
|
|
2350
2391
|
_consumeDocType(t) {
|
|
2351
|
-
let r = this._advanceIf(7), n = this._advanceIf(19), a = r != null ? r.parts[0].trim() : null, i = new
|
|
2352
|
-
this._addToParent(new
|
|
2392
|
+
let r = this._advanceIf(7), n = this._advanceIf(19), a = r != null ? r.parts[0].trim() : null, i = new m(t.sourceSpan.start, (n || r || t).sourceSpan.end);
|
|
2393
|
+
this._addToParent(new Ts(a, i));
|
|
2353
2394
|
}
|
|
2354
2395
|
_consumeExpansion(t) {
|
|
2355
2396
|
let r = this._advance(), n = this._advance(), a = [];
|
|
@@ -2363,8 +2404,8 @@ var en = class tt {
|
|
|
2363
2404
|
this.errors.push(B.create(null, this._peek.sourceSpan, "Invalid ICU message. Missing '}'."));
|
|
2364
2405
|
return;
|
|
2365
2406
|
}
|
|
2366
|
-
let i = new
|
|
2367
|
-
this._addToParent(new
|
|
2407
|
+
let i = new m(t.sourceSpan.start, this._peek.sourceSpan.end, t.sourceSpan.fullStart);
|
|
2408
|
+
this._addToParent(new ks(r.parts[0], n.parts[0], a, i, r.sourceSpan)), this._advance();
|
|
2368
2409
|
}
|
|
2369
2410
|
_parseExpansionCase() {
|
|
2370
2411
|
let t = this._advance();
|
|
@@ -2375,23 +2416,23 @@ var en = class tt {
|
|
|
2375
2416
|
return null;
|
|
2376
2417
|
let a = this._advance();
|
|
2377
2418
|
n.push({ type: 34, parts: [], sourceSpan: a.sourceSpan });
|
|
2378
|
-
let i = new
|
|
2419
|
+
let i = new pn(n, this.getTagDefinition, this.canSelfClose, this.allowHtmComponentClosingTags, this.isTagNameCaseSensitive);
|
|
2379
2420
|
if (i.build(), i.errors.length > 0)
|
|
2380
2421
|
return this.errors = this.errors.concat(i.errors), null;
|
|
2381
|
-
let s = new
|
|
2382
|
-
return new
|
|
2422
|
+
let s = new m(t.sourceSpan.start, a.sourceSpan.end, t.sourceSpan.fullStart), u = new m(r.sourceSpan.start, a.sourceSpan.end, r.sourceSpan.fullStart);
|
|
2423
|
+
return new Es(t.parts[0], i.rootNodes, s, t.sourceSpan, u);
|
|
2383
2424
|
}
|
|
2384
2425
|
_collectExpansionExpTokens(t) {
|
|
2385
2426
|
let r = [], n = [22];
|
|
2386
2427
|
for (; ; ) {
|
|
2387
2428
|
if ((this._peek.type === 20 || this._peek.type === 22) && n.push(this._peek.type), this._peek.type === 23)
|
|
2388
|
-
if (
|
|
2429
|
+
if (or(n, 22)) {
|
|
2389
2430
|
if (n.pop(), n.length === 0)
|
|
2390
2431
|
return r;
|
|
2391
2432
|
} else
|
|
2392
2433
|
return this.errors.push(B.create(null, t.sourceSpan, "Invalid ICU message. Missing '}'.")), null;
|
|
2393
2434
|
if (this._peek.type === 24)
|
|
2394
|
-
if (
|
|
2435
|
+
if (or(n, 20))
|
|
2395
2436
|
n.pop();
|
|
2396
2437
|
else
|
|
2397
2438
|
return this.errors.push(B.create(null, t.sourceSpan, "Invalid ICU message. Missing '}'.")), null;
|
|
@@ -2417,10 +2458,10 @@ var en = class tt {
|
|
|
2417
2458
|
i != null && i.children.length === 0 && this.getTagDefinition(i.name).ignoreFirstLf && (a = a.substring(1), r[0] = { type: t.type, sourceSpan: t.sourceSpan, parts: [a] });
|
|
2418
2459
|
}
|
|
2419
2460
|
for (; this._peek.type === 8 || this._peek.type === 5 || this._peek.type === 9; )
|
|
2420
|
-
t = this._advance(), r.push(t), t.type === 8 ? a += t.parts.join("").replace(/&([^;]+);/g,
|
|
2461
|
+
t = this._advance(), r.push(t), t.type === 8 ? a += t.parts.join("").replace(/&([^;]+);/g, lr) : t.type === 9 ? a += t.parts[0] : a += t.parts.join("");
|
|
2421
2462
|
if (a.length > 0) {
|
|
2422
2463
|
let i = t.sourceSpan;
|
|
2423
|
-
this._addToParent(new
|
|
2464
|
+
this._addToParent(new ws(a, new m(n.start, i.end, n.fullStart, n.details), r));
|
|
2424
2465
|
}
|
|
2425
2466
|
}
|
|
2426
2467
|
_closeVoidElement() {
|
|
@@ -2434,12 +2475,12 @@ var en = class tt {
|
|
|
2434
2475
|
let i = this._getElementFullName(r, n, this._getClosestParentElement()), s = !1;
|
|
2435
2476
|
if (this._peek.type === 2) {
|
|
2436
2477
|
this._advance(), s = !0;
|
|
2437
|
-
let
|
|
2438
|
-
this.canSelfClose ||
|
|
2478
|
+
let g = this.getTagDefinition(i);
|
|
2479
|
+
this.canSelfClose || g.canSelfClose || ke(i) !== null || g.isVoid || this.errors.push(B.create(i, t.sourceSpan, `Only void, custom and foreign elements can be self closed "${t.parts[1]}"`));
|
|
2439
2480
|
} else
|
|
2440
2481
|
this._peek.type === 1 && (this._advance(), s = !1);
|
|
2441
|
-
let u = this._peek.sourceSpan.fullStart, o = new
|
|
2442
|
-
this._pushContainer(
|
|
2482
|
+
let u = this._peek.sourceSpan.fullStart, o = new m(t.sourceSpan.start, u, t.sourceSpan.fullStart), p = new m(t.sourceSpan.start, u, t.sourceSpan.fullStart), l = new m(t.sourceSpan.start.moveBy(1), t.sourceSpan.end), v = new V(i, a, [], o, p, void 0, l), d = this._getContainer();
|
|
2483
|
+
this._pushContainer(v, d instanceof V && this.getTagDefinition(d.name).isClosedByChild(v.name)), s ? this._popContainer(i, V, o) : t.type === 4 && (this._popContainer(i, V, null), this.errors.push(B.create(i, o, `Opening tag "${i}" not terminated.`)));
|
|
2443
2484
|
}
|
|
2444
2485
|
_pushContainer(t, r) {
|
|
2445
2486
|
r && this._containerStack.pop(), this._addToParent(t), this._containerStack.push(t);
|
|
@@ -2470,20 +2511,20 @@ var en = class tt {
|
|
|
2470
2511
|
if (this._peek.type === 16)
|
|
2471
2512
|
for (u = this._peek.sourceSpan, o = this._peek.sourceSpan.end; this._peek.type === 16 || this._peek.type === 17 || this._peek.type === 9; ) {
|
|
2472
2513
|
let l = this._advance();
|
|
2473
|
-
s.push(l), l.type === 17 ? i += l.parts.join("").replace(/&([^;]+);/g,
|
|
2514
|
+
s.push(l), l.type === 17 ? i += l.parts.join("").replace(/&([^;]+);/g, lr) : l.type === 9 ? i += l.parts[0] : i += l.parts.join(""), o = n = l.sourceSpan.end;
|
|
2474
2515
|
}
|
|
2475
2516
|
this._peek.type === 15 && (o = n = this._advance().sourceSpan.end);
|
|
2476
|
-
let p = u && o && new
|
|
2477
|
-
return new
|
|
2517
|
+
let p = u && o && new m((a == null ? void 0 : a.sourceSpan.start) ?? u.start, o, (a == null ? void 0 : a.sourceSpan.fullStart) ?? u.fullStart);
|
|
2518
|
+
return new xs(r, i, new m(t.sourceSpan.start, n, t.sourceSpan.fullStart), t.sourceSpan, p, s.length > 0 ? s : void 0, void 0);
|
|
2478
2519
|
}
|
|
2479
2520
|
_consumeBlockOpen(t) {
|
|
2480
2521
|
let r = [];
|
|
2481
2522
|
for (; this._peek.type === 28; ) {
|
|
2482
2523
|
let u = this._advance();
|
|
2483
|
-
r.push(new
|
|
2524
|
+
r.push(new tr(u.parts[0], u.sourceSpan));
|
|
2484
2525
|
}
|
|
2485
2526
|
this._peek.type === 26 && this._advance();
|
|
2486
|
-
let n = this._peek.sourceSpan.fullStart, a = new
|
|
2527
|
+
let n = this._peek.sourceSpan.fullStart, a = new m(t.sourceSpan.start, n, t.sourceSpan.fullStart), i = new m(t.sourceSpan.start, n, t.sourceSpan.fullStart), s = new K(t.parts[0], r, [], a, t.sourceSpan, i);
|
|
2487
2528
|
this._pushContainer(s, !1);
|
|
2488
2529
|
}
|
|
2489
2530
|
_consumeBlockClose(t) {
|
|
@@ -2493,9 +2534,9 @@ var en = class tt {
|
|
|
2493
2534
|
let r = [];
|
|
2494
2535
|
for (; this._peek.type === 28; ) {
|
|
2495
2536
|
let u = this._advance();
|
|
2496
|
-
r.push(new
|
|
2537
|
+
r.push(new tr(u.parts[0], u.sourceSpan));
|
|
2497
2538
|
}
|
|
2498
|
-
let n = this._peek.sourceSpan.fullStart, a = new
|
|
2539
|
+
let n = this._peek.sourceSpan.fullStart, a = new m(t.sourceSpan.start, n, t.sourceSpan.fullStart), i = new m(t.sourceSpan.start, n, t.sourceSpan.fullStart), s = new K(t.parts[0], r, [], a, t.sourceSpan, i);
|
|
2499
2540
|
this._pushContainer(s, !1), this._popContainer(null, K, null), this.errors.push(B.create(t.parts[0], a, `Incomplete block "${t.parts[0]}". If you meant to write the @ character, you should use the "@" HTML entity instead.`));
|
|
2500
2541
|
}
|
|
2501
2542
|
_consumeLet(t) {
|
|
@@ -2510,13 +2551,13 @@ var en = class tt {
|
|
|
2510
2551
|
return;
|
|
2511
2552
|
} else
|
|
2512
2553
|
a = this._advance();
|
|
2513
|
-
let i = a.sourceSpan.fullStart, s = new
|
|
2554
|
+
let i = a.sourceSpan.fullStart, s = new m(t.sourceSpan.start, i, t.sourceSpan.fullStart), u = t.sourceSpan.toString().lastIndexOf(r), o = t.sourceSpan.start.moveBy(u), p = new m(o, t.sourceSpan.end), l = new rr(r, n.parts[0], s, p, n.sourceSpan);
|
|
2514
2555
|
this._addToParent(l);
|
|
2515
2556
|
}
|
|
2516
2557
|
_consumeIncompleteLet(t) {
|
|
2517
2558
|
let r = t.parts[0] ?? "", n = r ? ` "${r}"` : "";
|
|
2518
2559
|
if (r.length > 0) {
|
|
2519
|
-
let a = t.sourceSpan.toString().lastIndexOf(r), i = t.sourceSpan.start.moveBy(a), s = new
|
|
2560
|
+
let a = t.sourceSpan.toString().lastIndexOf(r), i = t.sourceSpan.start.moveBy(a), s = new m(i, t.sourceSpan.end), u = new m(t.sourceSpan.start, t.sourceSpan.start.moveBy(0)), o = new rr(r, "", t.sourceSpan, s, u);
|
|
2520
2561
|
this._addToParent(o);
|
|
2521
2562
|
}
|
|
2522
2563
|
this.errors.push(B.create(t.parts[0], t.sourceSpan, `Incomplete @let declaration${n}. @let declarations must be written as \`@let <name> = <value>;\``));
|
|
@@ -2536,36 +2577,36 @@ var en = class tt {
|
|
|
2536
2577
|
}
|
|
2537
2578
|
_getElementFullName(t, r, n) {
|
|
2538
2579
|
if (t === "" && (t = this.getTagDefinition(r).implicitNamespacePrefix || "", t === "" && n != null)) {
|
|
2539
|
-
let a =
|
|
2580
|
+
let a = Oe(n.name)[1];
|
|
2540
2581
|
this.getTagDefinition(a).preventNamespaceInheritance || (t = ke(n.name));
|
|
2541
2582
|
}
|
|
2542
2583
|
return Le(t, r);
|
|
2543
2584
|
}
|
|
2544
2585
|
};
|
|
2545
|
-
function
|
|
2586
|
+
function or(e, t) {
|
|
2546
2587
|
return e.length > 0 && e[e.length - 1] === t;
|
|
2547
2588
|
}
|
|
2548
|
-
function
|
|
2589
|
+
function lr(e, t) {
|
|
2549
2590
|
return Fe[t] !== void 0 ? Fe[t] || e : /^#x[a-f0-9]+$/i.test(t) ? String.fromCodePoint(parseInt(t.slice(2), 16)) : /^#\d+$/.test(t) ? String.fromCodePoint(parseInt(t.slice(1), 10)) : e;
|
|
2550
2591
|
}
|
|
2551
|
-
var
|
|
2592
|
+
var Js = class extends Ks {
|
|
2552
2593
|
constructor() {
|
|
2553
2594
|
super(et);
|
|
2554
2595
|
}
|
|
2555
2596
|
parse(e, t, r, n = !1, a) {
|
|
2556
2597
|
return super.parse(e, t, r, n, a);
|
|
2557
2598
|
}
|
|
2558
|
-
}, Xe = null,
|
|
2559
|
-
function
|
|
2599
|
+
}, Xe = null, Ys = () => (Xe || (Xe = new Js()), Xe);
|
|
2600
|
+
function cr(e, t = {}) {
|
|
2560
2601
|
let { canSelfClose: r = !1, allowHtmComponentClosingTags: n = !1, isTagNameCaseSensitive: a = !1, getTagContentType: i, tokenizeAngularBlocks: s = !1, tokenizeAngularLetDeclaration: u = !1 } = t;
|
|
2561
|
-
return
|
|
2602
|
+
return Ys().parse(e, "angular-html-parser", { tokenizeExpansionForms: s, interpolationConfig: void 0, canSelfClose: r, allowHtmComponentClosingTags: n, tokenizeBlocks: s, tokenizeLet: u }, a, i);
|
|
2562
2603
|
}
|
|
2563
|
-
function
|
|
2604
|
+
function Qs(e, t) {
|
|
2564
2605
|
let r = new SyntaxError(e + " (" + t.loc.start.line + ":" + t.loc.start.column + ")");
|
|
2565
2606
|
return Object.assign(r, t);
|
|
2566
2607
|
}
|
|
2567
|
-
var
|
|
2568
|
-
function
|
|
2608
|
+
var Zs = Qs, se = 3;
|
|
2609
|
+
function eu(e) {
|
|
2569
2610
|
let t = e.slice(0, se);
|
|
2570
2611
|
if (t !== "---" && t !== "+++")
|
|
2571
2612
|
return;
|
|
@@ -2584,22 +2625,22 @@ ${t}`, r), i = n;
|
|
|
2584
2625
|
let o = e.slice(0, s);
|
|
2585
2626
|
return { type: "front-matter", language: i, explicitLanguage: n, value: e.slice(r + 1, a), startDelimiter: t, endDelimiter: o.slice(-se), raw: o };
|
|
2586
2627
|
}
|
|
2587
|
-
function
|
|
2588
|
-
let t =
|
|
2628
|
+
function tu(e) {
|
|
2629
|
+
let t = eu(e);
|
|
2589
2630
|
if (!t)
|
|
2590
2631
|
return { content: e };
|
|
2591
2632
|
let { raw: r } = t;
|
|
2592
2633
|
return { frontMatter: t, content: L(!1, r, /[^\n]/gu, " ") + e.slice(r.length) };
|
|
2593
2634
|
}
|
|
2594
|
-
var
|
|
2635
|
+
var ru = tu, Ae = { attrs: !0, children: !0, cases: !0, expression: !0 }, pr = /* @__PURE__ */ new Set(["parent"]), J, nt, at, nu = class ue {
|
|
2595
2636
|
constructor(t = {}) {
|
|
2596
|
-
|
|
2597
|
-
for (let r of /* @__PURE__ */ new Set([...
|
|
2637
|
+
vr(this, J), xt(this, "type"), xt(this, "parent");
|
|
2638
|
+
for (let r of /* @__PURE__ */ new Set([...pr, ...Object.keys(t)]))
|
|
2598
2639
|
this.setProperty(r, t[r]);
|
|
2599
2640
|
}
|
|
2600
2641
|
setProperty(t, r) {
|
|
2601
2642
|
if (this[t] !== r) {
|
|
2602
|
-
if (t in Ae && (r = r.map((n) => this.createChild(n))), !
|
|
2643
|
+
if (t in Ae && (r = r.map((n) => this.createChild(n))), !pr.has(t)) {
|
|
2603
2644
|
this[t] = r;
|
|
2604
2645
|
return;
|
|
2605
2646
|
}
|
|
@@ -2611,7 +2652,7 @@ var Rs = Ms, Ae = { attrs: !0, children: !0, cases: !0, expression: !0 }, rr = /
|
|
|
2611
2652
|
for (let n in Ae) {
|
|
2612
2653
|
let a = this[n];
|
|
2613
2654
|
if (a) {
|
|
2614
|
-
let i =
|
|
2655
|
+
let i = iu(a, (s) => s.map(t));
|
|
2615
2656
|
r !== a && (r || (r = new ue({ parent: this.parent })), r.setProperty(n, i));
|
|
2616
2657
|
}
|
|
2617
2658
|
}
|
|
@@ -2649,10 +2690,10 @@ var Rs = Ms, Ae = { attrs: !0, children: !0, cases: !0, expression: !0 }, rr = /
|
|
|
2649
2690
|
return new ue(this);
|
|
2650
2691
|
}
|
|
2651
2692
|
get $children() {
|
|
2652
|
-
return this[F(this,
|
|
2693
|
+
return this[F(this, J, nt)];
|
|
2653
2694
|
}
|
|
2654
2695
|
set $children(t) {
|
|
2655
|
-
this[F(this,
|
|
2696
|
+
this[F(this, J, nt)] = t;
|
|
2656
2697
|
}
|
|
2657
2698
|
get firstChild() {
|
|
2658
2699
|
var t;
|
|
@@ -2662,11 +2703,11 @@ var Rs = Ms, Ae = { attrs: !0, children: !0, cases: !0, expression: !0 }, rr = /
|
|
|
2662
2703
|
return de(!0, this.$children, -1);
|
|
2663
2704
|
}
|
|
2664
2705
|
get prev() {
|
|
2665
|
-
let t = F(this,
|
|
2706
|
+
let t = F(this, J, at);
|
|
2666
2707
|
return t[t.indexOf(this) - 1];
|
|
2667
2708
|
}
|
|
2668
2709
|
get next() {
|
|
2669
|
-
let t = F(this,
|
|
2710
|
+
let t = F(this, J, at);
|
|
2670
2711
|
return t[t.indexOf(this) + 1];
|
|
2671
2712
|
}
|
|
2672
2713
|
get rawName() {
|
|
@@ -2679,88 +2720,88 @@ var Rs = Ms, Ae = { attrs: !0, children: !0, cases: !0, expression: !0 }, rr = /
|
|
|
2679
2720
|
return Object.fromEntries(this.attrs.map((t) => [t.fullName, t.value]));
|
|
2680
2721
|
}
|
|
2681
2722
|
};
|
|
2682
|
-
|
|
2723
|
+
J = /* @__PURE__ */ new WeakSet(), nt = function() {
|
|
2683
2724
|
return this.type === "angularIcuCase" ? "expression" : this.type === "angularIcuExpression" ? "cases" : "children";
|
|
2684
2725
|
}, at = function() {
|
|
2685
2726
|
var e;
|
|
2686
2727
|
return ((e = this.parent) == null ? void 0 : e.$children) ?? [];
|
|
2687
2728
|
};
|
|
2688
|
-
var
|
|
2689
|
-
function
|
|
2729
|
+
var au = nu;
|
|
2730
|
+
function iu(e, t) {
|
|
2690
2731
|
let r = e.map(t);
|
|
2691
2732
|
return r.some((n, a) => n !== e[a]) ? r : e;
|
|
2692
2733
|
}
|
|
2693
|
-
var
|
|
2694
|
-
function
|
|
2734
|
+
var su = [{ regex: /^(\[if([^\]]*)\]>)(.*?)<!\s*\[endif\]$/su, parse: ou }, { regex: /^\[if([^\]]*)\]><!$/u, parse: lu }, { regex: /^<!\s*\[endif\]$/u, parse: cu }];
|
|
2735
|
+
function uu(e, t) {
|
|
2695
2736
|
if (e.value)
|
|
2696
|
-
for (let { regex: r, parse: n } of
|
|
2737
|
+
for (let { regex: r, parse: n } of su) {
|
|
2697
2738
|
let a = e.value.match(r);
|
|
2698
2739
|
if (a)
|
|
2699
2740
|
return n(e, t, a);
|
|
2700
2741
|
}
|
|
2701
2742
|
return null;
|
|
2702
2743
|
}
|
|
2703
|
-
function
|
|
2744
|
+
function ou(e, t, r) {
|
|
2704
2745
|
let [, n, a, i] = r, s = 4 + n.length, u = e.sourceSpan.start.moveBy(s), o = u.moveBy(i.length), [p, l] = (() => {
|
|
2705
2746
|
try {
|
|
2706
2747
|
return [!0, t(i, u).children];
|
|
2707
2748
|
} catch {
|
|
2708
|
-
return [!1, [{ type: "text", value: i, sourceSpan: new
|
|
2749
|
+
return [!1, [{ type: "text", value: i, sourceSpan: new m(u, o) }]];
|
|
2709
2750
|
}
|
|
2710
2751
|
})();
|
|
2711
|
-
return { type: "ieConditionalComment", complete: p, children: l, condition: L(!1, a.trim(), /\s+/gu, " "), sourceSpan: e.sourceSpan, startSourceSpan: new
|
|
2752
|
+
return { type: "ieConditionalComment", complete: p, children: l, condition: L(!1, a.trim(), /\s+/gu, " "), sourceSpan: e.sourceSpan, startSourceSpan: new m(e.sourceSpan.start, u), endSourceSpan: new m(o, e.sourceSpan.end) };
|
|
2712
2753
|
}
|
|
2713
|
-
function
|
|
2754
|
+
function lu(e, t, r) {
|
|
2714
2755
|
let [, n] = r;
|
|
2715
2756
|
return { type: "ieConditionalStartComment", condition: L(!1, n.trim(), /\s+/gu, " "), sourceSpan: e.sourceSpan };
|
|
2716
2757
|
}
|
|
2717
|
-
function
|
|
2758
|
+
function cu(e) {
|
|
2718
2759
|
return { type: "ieConditionalEndComment", sourceSpan: e.sourceSpan };
|
|
2719
2760
|
}
|
|
2720
|
-
var
|
|
2721
|
-
function
|
|
2761
|
+
var Je = /* @__PURE__ */ new Map([["*", /* @__PURE__ */ new Set(["accesskey", "autocapitalize", "autofocus", "class", "contenteditable", "dir", "draggable", "enterkeyhint", "hidden", "id", "inert", "inputmode", "is", "itemid", "itemprop", "itemref", "itemscope", "itemtype", "lang", "nonce", "popover", "slot", "spellcheck", "style", "tabindex", "title", "translate", "writingsuggestions"])], ["a", /* @__PURE__ */ new Set(["charset", "coords", "download", "href", "hreflang", "name", "ping", "referrerpolicy", "rel", "rev", "shape", "target", "type"])], ["applet", /* @__PURE__ */ new Set(["align", "alt", "archive", "code", "codebase", "height", "hspace", "name", "object", "vspace", "width"])], ["area", /* @__PURE__ */ new Set(["alt", "coords", "download", "href", "hreflang", "nohref", "ping", "referrerpolicy", "rel", "shape", "target", "type"])], ["audio", /* @__PURE__ */ new Set(["autoplay", "controls", "crossorigin", "loop", "muted", "preload", "src"])], ["base", /* @__PURE__ */ new Set(["href", "target"])], ["basefont", /* @__PURE__ */ new Set(["color", "face", "size"])], ["blockquote", /* @__PURE__ */ new Set(["cite"])], ["body", /* @__PURE__ */ new Set(["alink", "background", "bgcolor", "link", "text", "vlink"])], ["br", /* @__PURE__ */ new Set(["clear"])], ["button", /* @__PURE__ */ new Set(["disabled", "form", "formaction", "formenctype", "formmethod", "formnovalidate", "formtarget", "name", "popovertarget", "popovertargetaction", "type", "value"])], ["canvas", /* @__PURE__ */ new Set(["height", "width"])], ["caption", /* @__PURE__ */ new Set(["align"])], ["col", /* @__PURE__ */ new Set(["align", "char", "charoff", "span", "valign", "width"])], ["colgroup", /* @__PURE__ */ new Set(["align", "char", "charoff", "span", "valign", "width"])], ["data", /* @__PURE__ */ new Set(["value"])], ["del", /* @__PURE__ */ new Set(["cite", "datetime"])], ["details", /* @__PURE__ */ new Set(["name", "open"])], ["dialog", /* @__PURE__ */ new Set(["open"])], ["dir", /* @__PURE__ */ new Set(["compact"])], ["div", /* @__PURE__ */ new Set(["align"])], ["dl", /* @__PURE__ */ new Set(["compact"])], ["embed", /* @__PURE__ */ new Set(["height", "src", "type", "width"])], ["fieldset", /* @__PURE__ */ new Set(["disabled", "form", "name"])], ["font", /* @__PURE__ */ new Set(["color", "face", "size"])], ["form", /* @__PURE__ */ new Set(["accept", "accept-charset", "action", "autocomplete", "enctype", "method", "name", "novalidate", "target"])], ["frame", /* @__PURE__ */ new Set(["frameborder", "longdesc", "marginheight", "marginwidth", "name", "noresize", "scrolling", "src"])], ["frameset", /* @__PURE__ */ new Set(["cols", "rows"])], ["h1", /* @__PURE__ */ new Set(["align"])], ["h2", /* @__PURE__ */ new Set(["align"])], ["h3", /* @__PURE__ */ new Set(["align"])], ["h4", /* @__PURE__ */ new Set(["align"])], ["h5", /* @__PURE__ */ new Set(["align"])], ["h6", /* @__PURE__ */ new Set(["align"])], ["head", /* @__PURE__ */ new Set(["profile"])], ["hr", /* @__PURE__ */ new Set(["align", "noshade", "size", "width"])], ["html", /* @__PURE__ */ new Set(["manifest", "version"])], ["iframe", /* @__PURE__ */ new Set(["align", "allow", "allowfullscreen", "allowpaymentrequest", "allowusermedia", "frameborder", "height", "loading", "longdesc", "marginheight", "marginwidth", "name", "referrerpolicy", "sandbox", "scrolling", "src", "srcdoc", "width"])], ["img", /* @__PURE__ */ new Set(["align", "alt", "border", "crossorigin", "decoding", "fetchpriority", "height", "hspace", "ismap", "loading", "longdesc", "name", "referrerpolicy", "sizes", "src", "srcset", "usemap", "vspace", "width"])], ["input", /* @__PURE__ */ new Set(["accept", "align", "alt", "autocomplete", "checked", "dirname", "disabled", "form", "formaction", "formenctype", "formmethod", "formnovalidate", "formtarget", "height", "ismap", "list", "max", "maxlength", "min", "minlength", "multiple", "name", "pattern", "placeholder", "popovertarget", "popovertargetaction", "readonly", "required", "size", "src", "step", "type", "usemap", "value", "width"])], ["ins", /* @__PURE__ */ new Set(["cite", "datetime"])], ["isindex", /* @__PURE__ */ new Set(["prompt"])], ["label", /* @__PURE__ */ new Set(["for", "form"])], ["legend", /* @__PURE__ */ new Set(["align"])], ["li", /* @__PURE__ */ new Set(["type", "value"])], ["link", /* @__PURE__ */ new Set(["as", "blocking", "charset", "color", "crossorigin", "disabled", "fetchpriority", "href", "hreflang", "imagesizes", "imagesrcset", "integrity", "media", "referrerpolicy", "rel", "rev", "sizes", "target", "type"])], ["map", /* @__PURE__ */ new Set(["name"])], ["menu", /* @__PURE__ */ new Set(["compact"])], ["meta", /* @__PURE__ */ new Set(["charset", "content", "http-equiv", "media", "name", "scheme"])], ["meter", /* @__PURE__ */ new Set(["high", "low", "max", "min", "optimum", "value"])], ["object", /* @__PURE__ */ new Set(["align", "archive", "border", "classid", "codebase", "codetype", "data", "declare", "form", "height", "hspace", "name", "standby", "type", "typemustmatch", "usemap", "vspace", "width"])], ["ol", /* @__PURE__ */ new Set(["compact", "reversed", "start", "type"])], ["optgroup", /* @__PURE__ */ new Set(["disabled", "label"])], ["option", /* @__PURE__ */ new Set(["disabled", "label", "selected", "value"])], ["output", /* @__PURE__ */ new Set(["for", "form", "name"])], ["p", /* @__PURE__ */ new Set(["align"])], ["param", /* @__PURE__ */ new Set(["name", "type", "value", "valuetype"])], ["pre", /* @__PURE__ */ new Set(["width"])], ["progress", /* @__PURE__ */ new Set(["max", "value"])], ["q", /* @__PURE__ */ new Set(["cite"])], ["script", /* @__PURE__ */ new Set(["async", "blocking", "charset", "crossorigin", "defer", "fetchpriority", "integrity", "language", "nomodule", "referrerpolicy", "src", "type"])], ["select", /* @__PURE__ */ new Set(["autocomplete", "disabled", "form", "multiple", "name", "required", "size"])], ["slot", /* @__PURE__ */ new Set(["name"])], ["source", /* @__PURE__ */ new Set(["height", "media", "sizes", "src", "srcset", "type", "width"])], ["style", /* @__PURE__ */ new Set(["blocking", "media", "type"])], ["table", /* @__PURE__ */ new Set(["align", "bgcolor", "border", "cellpadding", "cellspacing", "frame", "rules", "summary", "width"])], ["tbody", /* @__PURE__ */ new Set(["align", "char", "charoff", "valign"])], ["td", /* @__PURE__ */ new Set(["abbr", "align", "axis", "bgcolor", "char", "charoff", "colspan", "headers", "height", "nowrap", "rowspan", "scope", "valign", "width"])], ["template", /* @__PURE__ */ new Set(["shadowrootclonable", "shadowrootdelegatesfocus", "shadowrootmode"])], ["textarea", /* @__PURE__ */ new Set(["autocomplete", "cols", "dirname", "disabled", "form", "maxlength", "minlength", "name", "placeholder", "readonly", "required", "rows", "wrap"])], ["tfoot", /* @__PURE__ */ new Set(["align", "char", "charoff", "valign"])], ["th", /* @__PURE__ */ new Set(["abbr", "align", "axis", "bgcolor", "char", "charoff", "colspan", "headers", "height", "nowrap", "rowspan", "scope", "valign", "width"])], ["thead", /* @__PURE__ */ new Set(["align", "char", "charoff", "valign"])], ["time", /* @__PURE__ */ new Set(["datetime"])], ["tr", /* @__PURE__ */ new Set(["align", "bgcolor", "char", "charoff", "valign"])], ["track", /* @__PURE__ */ new Set(["default", "kind", "label", "src", "srclang"])], ["ul", /* @__PURE__ */ new Set(["compact", "type"])], ["video", /* @__PURE__ */ new Set(["autoplay", "controls", "crossorigin", "height", "loop", "muted", "playsinline", "poster", "preload", "src", "width"])]]), pu = /* @__PURE__ */ new Set(["a", "abbr", "acronym", "address", "applet", "area", "article", "aside", "audio", "b", "base", "basefont", "bdi", "bdo", "bgsound", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "command", "content", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "font", "footer", "form", "frame", "frameset", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "iframe", "image", "img", "input", "ins", "isindex", "kbd", "keygen", "label", "legend", "li", "link", "listing", "main", "map", "mark", "marquee", "math", "menu", "menuitem", "meta", "meter", "multicol", "nav", "nextid", "nobr", "noembed", "noframes", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "plaintext", "pre", "progress", "q", "rb", "rbc", "rp", "rt", "rtc", "ruby", "s", "samp", "script", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "svg", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "tt", "u", "ul", "var", "video", "wbr", "xmp"]);
|
|
2762
|
+
function hu(e) {
|
|
2722
2763
|
if (e.type === "block") {
|
|
2723
|
-
if (e.name = L(!1, e.name.toLowerCase(), /\s+/gu, " ").trim(), e.type = "angularControlFlowBlock", !
|
|
2764
|
+
if (e.name = L(!1, e.name.toLowerCase(), /\s+/gu, " ").trim(), e.type = "angularControlFlowBlock", !ht(e.parameters)) {
|
|
2724
2765
|
delete e.parameters;
|
|
2725
2766
|
return;
|
|
2726
2767
|
}
|
|
2727
2768
|
for (let t of e.parameters)
|
|
2728
2769
|
t.type = "angularControlFlowBlockParameter";
|
|
2729
|
-
e.parameters = { type: "angularControlFlowBlockParameters", children: e.parameters, sourceSpan: new
|
|
2770
|
+
e.parameters = { type: "angularControlFlowBlockParameters", children: e.parameters, sourceSpan: new m(e.parameters[0].sourceSpan.start, de(!1, e.parameters, -1).sourceSpan.end) };
|
|
2730
2771
|
}
|
|
2731
2772
|
}
|
|
2732
|
-
function
|
|
2733
|
-
e.type === "letDeclaration" && (e.type = "angularLetDeclaration", e.id = e.name, e.init = { type: "angularLetDeclarationInitializer", sourceSpan: new
|
|
2773
|
+
function du(e) {
|
|
2774
|
+
e.type === "letDeclaration" && (e.type = "angularLetDeclaration", e.id = e.name, e.init = { type: "angularLetDeclarationInitializer", sourceSpan: new m(e.valueSpan.start, e.valueSpan.end), value: e.value }, delete e.name, delete e.value);
|
|
2734
2775
|
}
|
|
2735
|
-
function
|
|
2776
|
+
function mu(e) {
|
|
2736
2777
|
(e.type === "plural" || e.type === "select") && (e.clause = e.type, e.type = "angularIcuExpression"), e.type === "expansionCase" && (e.type = "angularIcuCase");
|
|
2737
2778
|
}
|
|
2738
|
-
function
|
|
2739
|
-
let { name: n, canSelfClose: a = !0, normalizeTagName: i = !1, normalizeAttributeName: s = !1, allowHtmComponentClosingTags: u = !1, isTagNameCaseSensitive: o = !1, shouldParseAsRawText: p } = t, { rootNodes: l, errors:
|
|
2779
|
+
function hn(e, t, r) {
|
|
2780
|
+
let { name: n, canSelfClose: a = !0, normalizeTagName: i = !1, normalizeAttributeName: s = !1, allowHtmComponentClosingTags: u = !1, isTagNameCaseSensitive: o = !1, shouldParseAsRawText: p } = t, { rootNodes: l, errors: v } = cr(e, { canSelfClose: a, allowHtmComponentClosingTags: u, isTagNameCaseSensitive: o, getTagContentType: p ? (...c) => p(...c) ? I.RAW_TEXT : void 0 : void 0, tokenizeAngularBlocks: n === "angular" ? !0 : void 0, tokenizeAngularLetDeclaration: n === "angular" ? !0 : void 0 });
|
|
2740
2781
|
if (n === "vue") {
|
|
2741
|
-
if (l.some((
|
|
2742
|
-
return
|
|
2743
|
-
let c,
|
|
2744
|
-
for (let [
|
|
2745
|
-
let { endSourceSpan: G, startSourceSpan:
|
|
2782
|
+
if (l.some((S) => S.type === "docType" && S.value === "html" || S.type === "element" && S.name.toLowerCase() === "html"))
|
|
2783
|
+
return hn(e, At, r);
|
|
2784
|
+
let c, f = () => c ?? (c = cr(e, { canSelfClose: a, allowHtmComponentClosingTags: u, isTagNameCaseSensitive: o })), A = (S) => f().rootNodes.find(({ startSourceSpan: T }) => T && T.start.offset === S.startSourceSpan.start.offset) ?? S;
|
|
2785
|
+
for (let [S, T] of l.entries()) {
|
|
2786
|
+
let { endSourceSpan: G, startSourceSpan: mn } = T;
|
|
2746
2787
|
if (G === null)
|
|
2747
|
-
|
|
2748
|
-
else if (
|
|
2749
|
-
let
|
|
2750
|
-
|
|
2788
|
+
v = f().errors, l[S] = A(T);
|
|
2789
|
+
else if (gu(T, r)) {
|
|
2790
|
+
let kt = f().errors.find((Et) => Et.span.start.offset > mn.start.offset && Et.span.start.offset < G.end.offset);
|
|
2791
|
+
kt && hr(kt), l[S] = A(T);
|
|
2751
2792
|
}
|
|
2752
2793
|
}
|
|
2753
2794
|
}
|
|
2754
|
-
|
|
2755
|
-
let
|
|
2756
|
-
let
|
|
2757
|
-
c.name = T, c.namespace =
|
|
2758
|
-
},
|
|
2795
|
+
v.length > 0 && hr(v[0]);
|
|
2796
|
+
let d = (c) => {
|
|
2797
|
+
let f = c.name.startsWith(":") ? c.name.slice(1).split(":")[0] : null, A = c.nameSpan.toString(), S = f !== null && A.startsWith(`${f}:`), T = S ? A.slice(f.length + 1) : A;
|
|
2798
|
+
c.name = T, c.namespace = f, c.hasExplicitNamespace = S;
|
|
2799
|
+
}, g = (c) => {
|
|
2759
2800
|
switch (c.type) {
|
|
2760
2801
|
case "element":
|
|
2761
|
-
|
|
2762
|
-
for (let
|
|
2763
|
-
|
|
2802
|
+
d(c);
|
|
2803
|
+
for (let f of c.attrs)
|
|
2804
|
+
d(f), f.valueSpan ? (f.value = f.valueSpan.toString(), /["']/u.test(f.value[0]) && (f.value = f.value.slice(1, -1))) : f.value = null;
|
|
2764
2805
|
break;
|
|
2765
2806
|
case "comment":
|
|
2766
2807
|
c.value = c.sourceSpan.toString().slice(4, -3);
|
|
@@ -2769,73 +2810,73 @@ function nn(e, t, r) {
|
|
|
2769
2810
|
c.value = c.sourceSpan.toString();
|
|
2770
2811
|
break;
|
|
2771
2812
|
}
|
|
2772
|
-
}, C = (c,
|
|
2813
|
+
}, C = (c, f) => {
|
|
2773
2814
|
let A = c.toLowerCase();
|
|
2774
|
-
return
|
|
2815
|
+
return f(A) ? A : c;
|
|
2775
2816
|
}, w = (c) => {
|
|
2776
|
-
if (c.type === "element" && (i && (!c.namespace || c.namespace === c.tagDefinition.implicitNamespacePrefix || pe(c)) && (c.name = C(c.name, (
|
|
2777
|
-
for (let
|
|
2778
|
-
|
|
2817
|
+
if (c.type === "element" && (i && (!c.namespace || c.namespace === c.tagDefinition.implicitNamespacePrefix || pe(c)) && (c.name = C(c.name, (f) => pu.has(f))), s))
|
|
2818
|
+
for (let f of c.attrs)
|
|
2819
|
+
f.namespace || (f.name = C(f.name, (A) => Je.has(c.name) && (Je.get("*").has(A) || Je.get(c.name).has(A))));
|
|
2779
2820
|
}, E = (c) => {
|
|
2780
|
-
c.sourceSpan && c.endSourceSpan && (c.sourceSpan = new
|
|
2821
|
+
c.sourceSpan && c.endSourceSpan && (c.sourceSpan = new m(c.sourceSpan.start, c.endSourceSpan.end));
|
|
2781
2822
|
}, x = (c) => {
|
|
2782
2823
|
if (c.type === "element") {
|
|
2783
|
-
let
|
|
2784
|
-
!c.namespace || c.namespace ===
|
|
2824
|
+
let f = et(o ? c.name : c.name.toLowerCase());
|
|
2825
|
+
!c.namespace || c.namespace === f.implicitNamespacePrefix || pe(c) ? c.tagDefinition = f : c.tagDefinition = et("");
|
|
2785
2826
|
}
|
|
2786
2827
|
};
|
|
2787
|
-
return
|
|
2788
|
-
visitExpansionCase(c,
|
|
2789
|
-
n === "angular" && this.visitChildren(
|
|
2828
|
+
return sn(new class extends Bs {
|
|
2829
|
+
visitExpansionCase(c, f) {
|
|
2830
|
+
n === "angular" && this.visitChildren(f, (A) => {
|
|
2790
2831
|
A(c.expression);
|
|
2791
2832
|
});
|
|
2792
2833
|
}
|
|
2793
2834
|
visit(c) {
|
|
2794
|
-
|
|
2835
|
+
g(c), x(c), w(c), E(c);
|
|
2795
2836
|
}
|
|
2796
2837
|
}(), l), l;
|
|
2797
2838
|
}
|
|
2798
|
-
function
|
|
2839
|
+
function gu(e, t) {
|
|
2799
2840
|
var r;
|
|
2800
2841
|
if (e.type !== "element" || e.name !== "template")
|
|
2801
2842
|
return !1;
|
|
2802
2843
|
let n = (r = e.attrs.find((a) => a.name === "lang")) == null ? void 0 : r.value;
|
|
2803
2844
|
return !n || Pe(t, { language: n }) === "html";
|
|
2804
2845
|
}
|
|
2805
|
-
function
|
|
2846
|
+
function hr(e) {
|
|
2806
2847
|
let { msg: t, span: { start: r, end: n } } = e;
|
|
2807
|
-
throw
|
|
2848
|
+
throw Zs(t, { loc: { start: { line: r.line + 1, column: r.col + 1 }, end: { line: n.line + 1, column: n.col + 1 } }, cause: e });
|
|
2808
2849
|
}
|
|
2809
|
-
function
|
|
2810
|
-
let { frontMatter: a, content: i } = n ?
|
|
2850
|
+
function dn(e, t, r = {}, n = !0) {
|
|
2851
|
+
let { frontMatter: a, content: i } = n ? ru(e) : { frontMatter: null, content: e }, s = new tn(e, r.filepath), u = new Ze(s, 0, 0, 0), o = u.moveBy(e.length), p = { type: "root", sourceSpan: new m(u, o), children: hn(i, t, r) };
|
|
2811
2852
|
if (a) {
|
|
2812
|
-
let
|
|
2813
|
-
a.sourceSpan = new d
|
|
2853
|
+
let d = new Ze(s, 0, 0, 0), g = d.moveBy(a.raw.length);
|
|
2854
|
+
a.sourceSpan = new m(d, g), p.children.unshift(a);
|
|
2814
2855
|
}
|
|
2815
|
-
let l = new
|
|
2816
|
-
let { offset: C } =
|
|
2817
|
-
E.sourceSpan = new
|
|
2856
|
+
let l = new au(p), v = (d, g) => {
|
|
2857
|
+
let { offset: C } = g, w = L(!1, e.slice(0, C), /[^\n\r]/gu, " "), E = dn(w + d, t, r, !1);
|
|
2858
|
+
E.sourceSpan = new m(g, de(!1, E.children, -1).sourceSpan.end);
|
|
2818
2859
|
let x = E.children[0];
|
|
2819
|
-
return x.length === C ? E.children.shift() : (x.sourceSpan = new
|
|
2860
|
+
return x.length === C ? E.children.shift() : (x.sourceSpan = new m(x.sourceSpan.start.moveBy(C), x.sourceSpan.end), x.value = x.value.slice(C)), E;
|
|
2820
2861
|
};
|
|
2821
|
-
return l.walk((
|
|
2822
|
-
if (
|
|
2823
|
-
let
|
|
2824
|
-
|
|
2862
|
+
return l.walk((d) => {
|
|
2863
|
+
if (d.type === "comment") {
|
|
2864
|
+
let g = uu(d, v);
|
|
2865
|
+
g && d.parent.replaceChild(d, g);
|
|
2825
2866
|
}
|
|
2826
|
-
|
|
2867
|
+
hu(d), du(d), mu(d);
|
|
2827
2868
|
}), l;
|
|
2828
2869
|
}
|
|
2829
|
-
function
|
|
2830
|
-
return { parse: (t, r) =>
|
|
2870
|
+
function ye(e) {
|
|
2871
|
+
return { parse: (t, r) => dn(t, e, r), hasPragma: Ii, hasIgnorePragma: Pi, astFormat: "html", locStart: fe, locEnd: Re };
|
|
2831
2872
|
}
|
|
2832
|
-
var
|
|
2873
|
+
var At = { name: "html", normalizeTagName: !0, normalizeAttributeName: !0, allowHtmComponentClosingTags: !0 }, fu = ye(At), vu = /* @__PURE__ */ new Set(["mj-style", "mj-raw"]), Cu = ye({ ...At, name: "mjml", shouldParseAsRawText: (e) => vu.has(e) }), yu = ye({ name: "angular" }), Su = ye({ name: "vue", isTagNameCaseSensitive: !0, shouldParseAsRawText(e, t, r, n) {
|
|
2833
2874
|
return e.toLowerCase() !== "html" && !r && (e !== "template" || n.some(({ name: a, value: i }) => a === "lang" && i !== "html" && i !== "" && i !== void 0));
|
|
2834
|
-
} }),
|
|
2875
|
+
} }), bu = ye({ name: "lwc", canSelfClose: !1 }), _u = { html: cs }, Au = Cr;
|
|
2835
2876
|
export {
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2877
|
+
Au as default,
|
|
2878
|
+
ps as languages,
|
|
2879
|
+
ds as options,
|
|
2880
|
+
nn as parsers,
|
|
2881
|
+
_u as printers
|
|
2841
2882
|
};
|