@kakadu/components 6.12.1 → 6.12.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/components/code.d.ts +5 -1
- package/build/components/code.js +4 -4
- package/build/components/code.mjs +495 -490
- package/build/components.css +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import { useMemo as
|
|
3
|
-
import { cx as
|
|
4
|
-
import
|
|
5
|
-
import { InputAttachment as
|
|
1
|
+
import { j as _ } from "../jsx-runtime-z6PQ6F3d.mjs";
|
|
2
|
+
import { useMemo as an } from "react";
|
|
3
|
+
import { cx as W } from "@kuma-ui/core";
|
|
4
|
+
import En from "./copy-icon-button.mjs";
|
|
5
|
+
import { InputAttachment as Sn } from "./input.mjs";
|
|
6
|
+
import { SkeletonInstance as wn } from "./skeleton.mjs";
|
|
6
7
|
$.displayName = "clike";
|
|
7
8
|
$.aliases = [];
|
|
8
9
|
function $(e) {
|
|
@@ -38,9 +39,9 @@ function $(e) {
|
|
|
38
39
|
punctuation: /[{}[\];(),.:]/
|
|
39
40
|
};
|
|
40
41
|
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
function
|
|
42
|
+
X.displayName = "c";
|
|
43
|
+
X.aliases = [];
|
|
44
|
+
function X(e) {
|
|
44
45
|
e.register($), e.languages.c = e.languages.extend("clike", {
|
|
45
46
|
comment: {
|
|
46
47
|
pattern: /\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,
|
|
@@ -114,10 +115,10 @@ function K(e) {
|
|
|
114
115
|
constant: /\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/
|
|
115
116
|
}), delete e.languages.c.boolean;
|
|
116
117
|
}
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
function
|
|
120
|
-
e.register(
|
|
118
|
+
re.displayName = "cpp";
|
|
119
|
+
re.aliases = [];
|
|
120
|
+
function re(e) {
|
|
121
|
+
e.register(X), (function(n) {
|
|
121
122
|
var t = /\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/, r = /\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(
|
|
122
123
|
/<keyword>/g,
|
|
123
124
|
function() {
|
|
@@ -222,7 +223,7 @@ function te(e) {
|
|
|
222
223
|
ge.displayName = "arduino";
|
|
223
224
|
ge.aliases = ["ino"];
|
|
224
225
|
function ge(e) {
|
|
225
|
-
e.register(
|
|
226
|
+
e.register(re), e.languages.arduino = e.languages.extend("cpp", {
|
|
226
227
|
keyword: /\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,
|
|
227
228
|
constant: /\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,
|
|
228
229
|
builtin: /\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/
|
|
@@ -446,8 +447,8 @@ function fe(e) {
|
|
|
446
447
|
"operator",
|
|
447
448
|
"punctuation",
|
|
448
449
|
"number"
|
|
449
|
-
], s = a.variable[1].inside,
|
|
450
|
-
s[o[
|
|
450
|
+
], s = a.variable[1].inside, i = 0; i < o.length; i++)
|
|
451
|
+
s[o[i]] = n.languages.bash[o[i]];
|
|
451
452
|
n.languages.sh = n.languages.bash, n.languages.shell = n.languages.bash;
|
|
452
453
|
})(e);
|
|
453
454
|
}
|
|
@@ -455,20 +456,20 @@ be.displayName = "csharp";
|
|
|
455
456
|
be.aliases = ["cs", "dotnet"];
|
|
456
457
|
function be(e) {
|
|
457
458
|
e.register($), (function(n) {
|
|
458
|
-
function t(
|
|
459
|
-
return
|
|
460
|
-
return "(?:" + z[+
|
|
459
|
+
function t(q, z) {
|
|
460
|
+
return q.replace(/<<(\d+)>>/g, function(ee, yn) {
|
|
461
|
+
return "(?:" + z[+yn] + ")";
|
|
461
462
|
});
|
|
462
463
|
}
|
|
463
|
-
function r(
|
|
464
|
-
return RegExp(t(
|
|
464
|
+
function r(q, z, ee) {
|
|
465
|
+
return RegExp(t(q, z), "");
|
|
465
466
|
}
|
|
466
|
-
function a(
|
|
467
|
-
for (var
|
|
468
|
-
|
|
469
|
-
return "(?:" +
|
|
467
|
+
function a(q, z) {
|
|
468
|
+
for (var ee = 0; ee < z; ee++)
|
|
469
|
+
q = q.replace(/<<self>>/g, function() {
|
|
470
|
+
return "(?:" + q + ")";
|
|
470
471
|
});
|
|
471
|
-
return
|
|
472
|
+
return q.replace(/<<self>>/g, "[^\\s\\S]");
|
|
472
473
|
}
|
|
473
474
|
var o = {
|
|
474
475
|
// keywords which represent a return or variable type
|
|
@@ -481,10 +482,10 @@ function be(e) {
|
|
|
481
482
|
// all other keywords
|
|
482
483
|
other: "abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"
|
|
483
484
|
};
|
|
484
|
-
function s(
|
|
485
|
-
return "\\b(?:" +
|
|
485
|
+
function s(q) {
|
|
486
|
+
return "\\b(?:" + q.trim().replace(/ /g, "|") + ")\\b";
|
|
486
487
|
}
|
|
487
|
-
var
|
|
488
|
+
var i = s(
|
|
488
489
|
o.typeDeclaration
|
|
489
490
|
), u = RegExp(
|
|
490
491
|
s(
|
|
@@ -492,18 +493,18 @@ function be(e) {
|
|
|
492
493
|
)
|
|
493
494
|
), c = s(
|
|
494
495
|
o.typeDeclaration + " " + o.contextual + " " + o.other
|
|
495
|
-
),
|
|
496
|
+
), g = s(
|
|
496
497
|
o.type + " " + o.typeDeclaration + " " + o.other
|
|
497
|
-
),
|
|
498
|
+
), E = a(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source, 2), k = a(/\((?:[^()]|<<self>>)*\)/.source, 2), h = /@?\b[A-Za-z_]\w*\b/.source, S = t(/<<0>>(?:\s*<<1>>)?/.source, [h, E]), m = t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source, [
|
|
498
499
|
c,
|
|
499
|
-
|
|
500
|
-
]), y = /\[\s*(?:,\s*)*\]/.source,
|
|
500
|
+
S
|
|
501
|
+
]), y = /\[\s*(?:,\s*)*\]/.source, w = t(
|
|
501
502
|
/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,
|
|
502
503
|
[m, y]
|
|
503
504
|
), R = t(
|
|
504
505
|
/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,
|
|
505
|
-
[
|
|
506
|
-
), T = t(/\(<<0>>+(?:,<<0>>+)+\)/.source, [R]),
|
|
506
|
+
[E, k, y]
|
|
507
|
+
), T = t(/\(<<0>>+(?:,<<0>>+)+\)/.source, [R]), f = t(
|
|
507
508
|
/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,
|
|
508
509
|
[T, m, y]
|
|
509
510
|
), v = {
|
|
@@ -538,7 +539,7 @@ function be(e) {
|
|
|
538
539
|
// using Project = PC.MyCompany.Project;
|
|
539
540
|
pattern: r(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source, [
|
|
540
541
|
h,
|
|
541
|
-
|
|
542
|
+
f
|
|
542
543
|
]),
|
|
543
544
|
lookbehind: !0,
|
|
544
545
|
inside: v
|
|
@@ -554,8 +555,8 @@ function be(e) {
|
|
|
554
555
|
// class Foo<A, B>
|
|
555
556
|
// interface Foo<out A, B>
|
|
556
557
|
pattern: r(/(\b<<0>>\s+)<<1>>/.source, [
|
|
557
|
-
|
|
558
|
-
|
|
558
|
+
i,
|
|
559
|
+
S
|
|
559
560
|
]),
|
|
560
561
|
lookbehind: !0,
|
|
561
562
|
inside: v
|
|
@@ -579,7 +580,7 @@ function be(e) {
|
|
|
579
580
|
// as Foo<A>, is Bar<B>
|
|
580
581
|
// (things like if(a is Foo b) is covered by variable declaration)
|
|
581
582
|
pattern: r(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source, [
|
|
582
|
-
|
|
583
|
+
w
|
|
583
584
|
]),
|
|
584
585
|
lookbehind: !0,
|
|
585
586
|
inside: v
|
|
@@ -589,7 +590,7 @@ function be(e) {
|
|
|
589
590
|
// (Foo bar, Bar baz, Foo[,,] bay, Foo<Bar, FooBar<Bar>> bax)
|
|
590
591
|
pattern: r(
|
|
591
592
|
/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,
|
|
592
|
-
[
|
|
593
|
+
[f, g, h]
|
|
593
594
|
),
|
|
594
595
|
inside: v
|
|
595
596
|
}
|
|
@@ -627,7 +628,7 @@ function be(e) {
|
|
|
627
628
|
// default(Foo), typeof(Foo<Bar>), sizeof(int)
|
|
628
629
|
pattern: r(
|
|
629
630
|
/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,
|
|
630
|
-
[
|
|
631
|
+
[k]
|
|
631
632
|
),
|
|
632
633
|
lookbehind: !0,
|
|
633
634
|
alias: "class-name",
|
|
@@ -639,14 +640,14 @@ function be(e) {
|
|
|
639
640
|
// int Foo => 0; int Foo { get; set } = 0;
|
|
640
641
|
pattern: r(
|
|
641
642
|
/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,
|
|
642
|
-
[
|
|
643
|
+
[f, m]
|
|
643
644
|
),
|
|
644
645
|
inside: v,
|
|
645
646
|
alias: "class-name"
|
|
646
647
|
},
|
|
647
648
|
"constructor-invocation": {
|
|
648
649
|
// new List<Foo<Bar[]>> { }
|
|
649
|
-
pattern: r(/(\bnew\s+)<<0>>(?=\s*[[({])/.source, [
|
|
650
|
+
pattern: r(/(\bnew\s+)<<0>>(?=\s*[[({])/.source, [f]),
|
|
650
651
|
lookbehind: !0,
|
|
651
652
|
inside: v,
|
|
652
653
|
alias: "class-name"
|
|
@@ -659,11 +660,11 @@ function be(e) {
|
|
|
659
660
|
},*/
|
|
660
661
|
"generic-method": {
|
|
661
662
|
// foo<Bar>()
|
|
662
|
-
pattern: r(/<<0>>\s*<<1>>(?=\s*\()/.source, [h,
|
|
663
|
+
pattern: r(/<<0>>\s*<<1>>(?=\s*\()/.source, [h, E]),
|
|
663
664
|
inside: {
|
|
664
665
|
function: r(/^<<0>>/.source, [h]),
|
|
665
666
|
generic: {
|
|
666
|
-
pattern: RegExp(
|
|
667
|
+
pattern: RegExp(E),
|
|
667
668
|
alias: "class-name",
|
|
668
669
|
inside: v
|
|
669
670
|
}
|
|
@@ -676,12 +677,12 @@ function be(e) {
|
|
|
676
677
|
pattern: r(
|
|
677
678
|
/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,
|
|
678
679
|
[
|
|
679
|
-
|
|
680
|
-
|
|
680
|
+
i,
|
|
681
|
+
S,
|
|
681
682
|
h,
|
|
682
|
-
|
|
683
|
+
f,
|
|
683
684
|
u.source,
|
|
684
|
-
|
|
685
|
+
k,
|
|
685
686
|
/\bnew\s*\(\s*\)/.source
|
|
686
687
|
]
|
|
687
688
|
),
|
|
@@ -689,8 +690,8 @@ function be(e) {
|
|
|
689
690
|
inside: {
|
|
690
691
|
"record-arguments": {
|
|
691
692
|
pattern: r(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source, [
|
|
692
|
-
|
|
693
|
-
|
|
693
|
+
S,
|
|
694
|
+
k
|
|
694
695
|
]),
|
|
695
696
|
lookbehind: !0,
|
|
696
697
|
greedy: !0,
|
|
@@ -698,7 +699,7 @@ function be(e) {
|
|
|
698
699
|
},
|
|
699
700
|
keyword: u,
|
|
700
701
|
"class-name": {
|
|
701
|
-
pattern: RegExp(
|
|
702
|
+
pattern: RegExp(f),
|
|
702
703
|
greedy: !0,
|
|
703
704
|
inside: v
|
|
704
705
|
},
|
|
@@ -719,12 +720,12 @@ function be(e) {
|
|
|
719
720
|
}
|
|
720
721
|
}
|
|
721
722
|
});
|
|
722
|
-
var G = O + "|" + L,
|
|
723
|
+
var G = O + "|" + L, M = t(
|
|
723
724
|
/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,
|
|
724
725
|
[G]
|
|
725
726
|
), C = a(
|
|
726
727
|
t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source, [
|
|
727
|
-
|
|
728
|
+
M
|
|
728
729
|
]),
|
|
729
730
|
2
|
|
730
731
|
), D = /\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source, b = t(/<<0>>(?:\s*\(<<1>>*\))?/.source, [
|
|
@@ -762,7 +763,7 @@ function be(e) {
|
|
|
762
763
|
});
|
|
763
764
|
var B = /:[^}\r\n]+/.source, V = a(
|
|
764
765
|
t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source, [
|
|
765
|
-
|
|
766
|
+
M
|
|
766
767
|
]),
|
|
767
768
|
2
|
|
768
769
|
), ze = t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source, [
|
|
@@ -778,10 +779,10 @@ function be(e) {
|
|
|
778
779
|
He,
|
|
779
780
|
B
|
|
780
781
|
]);
|
|
781
|
-
function Ve(
|
|
782
|
+
function Ve(q, z) {
|
|
782
783
|
return {
|
|
783
784
|
interpolation: {
|
|
784
|
-
pattern: r(/((?:^|[^{])(?:\{\{)*)<<0>>/.source, [
|
|
785
|
+
pattern: r(/((?:^|[^{])(?:\{\{)*)<<0>>/.source, [q]),
|
|
785
786
|
lookbehind: !0,
|
|
786
787
|
inside: {
|
|
787
788
|
"format-string": {
|
|
@@ -832,9 +833,9 @@ function be(e) {
|
|
|
832
833
|
}), n.languages.dotnet = n.languages.cs = n.languages.csharp;
|
|
833
834
|
})(e);
|
|
834
835
|
}
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
function
|
|
836
|
+
J.displayName = "markup";
|
|
837
|
+
J.aliases = ["atom", "html", "mathml", "rss", "ssml", "svg", "xml"];
|
|
838
|
+
function J(e) {
|
|
838
839
|
e.languages.markup = {
|
|
839
840
|
comment: {
|
|
840
841
|
pattern: /<!--(?:(?!<!--)[\s\S])*?-->/,
|
|
@@ -1334,7 +1335,7 @@ function Se(e) {
|
|
|
1334
1335
|
}, o = {
|
|
1335
1336
|
pattern: /\\[wsd]|\\p\{[^{}]+\}/i,
|
|
1336
1337
|
alias: "class-name"
|
|
1337
|
-
}, s = "(?:[^\\\\-]|" + r.source + ")",
|
|
1338
|
+
}, s = "(?:[^\\\\-]|" + r.source + ")", i = RegExp(s + "-" + s), u = {
|
|
1338
1339
|
pattern: /(<|')[^<>']+(?=[>']$)/,
|
|
1339
1340
|
lookbehind: !0,
|
|
1340
1341
|
alias: "variable"
|
|
@@ -1354,7 +1355,7 @@ function Se(e) {
|
|
|
1354
1355
|
alias: "punctuation"
|
|
1355
1356
|
},
|
|
1356
1357
|
range: {
|
|
1357
|
-
pattern:
|
|
1358
|
+
pattern: i,
|
|
1358
1359
|
inside: {
|
|
1359
1360
|
escape: r,
|
|
1360
1361
|
"range-punctuation": {
|
|
@@ -1416,9 +1417,9 @@ function Se(e) {
|
|
|
1416
1417
|
};
|
|
1417
1418
|
})(e);
|
|
1418
1419
|
}
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
function
|
|
1420
|
+
ae.displayName = "javascript";
|
|
1421
|
+
ae.aliases = ["js"];
|
|
1422
|
+
function ae(e) {
|
|
1422
1423
|
e.register($), e.languages.javascript = e.languages.extend("clike", {
|
|
1423
1424
|
"class-name": [
|
|
1424
1425
|
e.languages.clike["class-name"],
|
|
@@ -1772,14 +1773,14 @@ function Re(e) {
|
|
|
1772
1773
|
return /[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source;
|
|
1773
1774
|
}
|
|
1774
1775
|
), s = /"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;
|
|
1775
|
-
function
|
|
1776
|
+
function i(u, c) {
|
|
1776
1777
|
c = (c || "").replace(/m/g, "") + "m";
|
|
1777
|
-
var
|
|
1778
|
+
var g = /([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g, function() {
|
|
1778
1779
|
return a;
|
|
1779
1780
|
}).replace(/<<value>>/g, function() {
|
|
1780
1781
|
return u;
|
|
1781
1782
|
});
|
|
1782
|
-
return RegExp(
|
|
1783
|
+
return RegExp(g, c);
|
|
1783
1784
|
}
|
|
1784
1785
|
n.languages.yaml = {
|
|
1785
1786
|
scalar: {
|
|
@@ -1813,29 +1814,29 @@ function Re(e) {
|
|
|
1813
1814
|
alias: "important"
|
|
1814
1815
|
},
|
|
1815
1816
|
datetime: {
|
|
1816
|
-
pattern:
|
|
1817
|
+
pattern: i(
|
|
1817
1818
|
/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source
|
|
1818
1819
|
),
|
|
1819
1820
|
lookbehind: !0,
|
|
1820
1821
|
alias: "number"
|
|
1821
1822
|
},
|
|
1822
1823
|
boolean: {
|
|
1823
|
-
pattern:
|
|
1824
|
+
pattern: i(/false|true/.source, "i"),
|
|
1824
1825
|
lookbehind: !0,
|
|
1825
1826
|
alias: "important"
|
|
1826
1827
|
},
|
|
1827
1828
|
null: {
|
|
1828
|
-
pattern:
|
|
1829
|
+
pattern: i(/null|~/.source, "i"),
|
|
1829
1830
|
lookbehind: !0,
|
|
1830
1831
|
alias: "important"
|
|
1831
1832
|
},
|
|
1832
1833
|
string: {
|
|
1833
|
-
pattern:
|
|
1834
|
+
pattern: i(s),
|
|
1834
1835
|
lookbehind: !0,
|
|
1835
1836
|
greedy: !0
|
|
1836
1837
|
},
|
|
1837
1838
|
number: {
|
|
1838
|
-
pattern:
|
|
1839
|
+
pattern: i(
|
|
1839
1840
|
/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,
|
|
1840
1841
|
"i"
|
|
1841
1842
|
),
|
|
@@ -1850,12 +1851,12 @@ function Re(e) {
|
|
|
1850
1851
|
Ne.displayName = "markdown";
|
|
1851
1852
|
Ne.aliases = ["md"];
|
|
1852
1853
|
function Ne(e) {
|
|
1853
|
-
e.register(
|
|
1854
|
+
e.register(J), (function(n) {
|
|
1854
1855
|
var t = /(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;
|
|
1855
|
-
function r(
|
|
1856
|
-
return
|
|
1856
|
+
function r(i) {
|
|
1857
|
+
return i = i.replace(/<inner>/g, function() {
|
|
1857
1858
|
return t;
|
|
1858
|
-
}), RegExp(/((?:^|[^\\])(?:\\{2})*)/.source + "(?:" +
|
|
1859
|
+
}), RegExp(/((?:^|[^\\])(?:\\{2})*)/.source + "(?:" + i + ")");
|
|
1859
1860
|
}
|
|
1860
1861
|
var a = /(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source, o = /\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(
|
|
1861
1862
|
/__/g,
|
|
@@ -2098,49 +2099,49 @@ function Ne(e) {
|
|
|
2098
2099
|
}
|
|
2099
2100
|
}
|
|
2100
2101
|
}
|
|
2101
|
-
}), ["url", "bold", "italic", "strike"].forEach(function(
|
|
2102
|
+
}), ["url", "bold", "italic", "strike"].forEach(function(i) {
|
|
2102
2103
|
["url", "bold", "italic", "strike", "code-snippet"].forEach(
|
|
2103
2104
|
function(u) {
|
|
2104
|
-
|
|
2105
|
+
i !== u && (n.languages.markdown[i].inside.content.inside[u] = n.languages.markdown[u]);
|
|
2105
2106
|
}
|
|
2106
2107
|
);
|
|
2107
|
-
}), n.hooks.add("after-tokenize", function(
|
|
2108
|
-
if (
|
|
2108
|
+
}), n.hooks.add("after-tokenize", function(i) {
|
|
2109
|
+
if (i.language !== "markdown" && i.language !== "md")
|
|
2109
2110
|
return;
|
|
2110
2111
|
function u(c) {
|
|
2111
2112
|
if (!(!c || typeof c == "string"))
|
|
2112
|
-
for (var
|
|
2113
|
-
var
|
|
2114
|
-
if (
|
|
2115
|
-
u(
|
|
2113
|
+
for (var g = 0, E = c.length; g < E; g++) {
|
|
2114
|
+
var k = c[g];
|
|
2115
|
+
if (k.type !== "code") {
|
|
2116
|
+
u(k.content);
|
|
2116
2117
|
continue;
|
|
2117
2118
|
}
|
|
2118
|
-
var h =
|
|
2119
|
-
if (h &&
|
|
2119
|
+
var h = k.content[1], S = k.content[3];
|
|
2120
|
+
if (h && S && h.type === "code-language" && S.type === "code-block" && typeof h.content == "string") {
|
|
2120
2121
|
var m = h.content.replace(/\b#/g, "sharp").replace(/\b\+\+/g, "pp");
|
|
2121
2122
|
m = (/[a-z][\w-]*/i.exec(m) || [""])[0].toLowerCase();
|
|
2122
2123
|
var y = "language-" + m;
|
|
2123
|
-
|
|
2124
|
+
S.alias ? typeof S.alias == "string" ? S.alias = [S.alias, y] : S.alias.push(y) : S.alias = [y];
|
|
2124
2125
|
}
|
|
2125
2126
|
}
|
|
2126
2127
|
}
|
|
2127
|
-
u(
|
|
2128
|
-
}), n.hooks.add("wrap", function(
|
|
2129
|
-
if (
|
|
2130
|
-
for (var u = "", c = 0,
|
|
2131
|
-
var
|
|
2132
|
-
if (
|
|
2133
|
-
u =
|
|
2128
|
+
u(i.tokens);
|
|
2129
|
+
}), n.hooks.add("wrap", function(i) {
|
|
2130
|
+
if (i.type === "code-block") {
|
|
2131
|
+
for (var u = "", c = 0, g = i.classes.length; c < g; c++) {
|
|
2132
|
+
var E = i.classes[c], k = /language-(.+)/.exec(E);
|
|
2133
|
+
if (k) {
|
|
2134
|
+
u = k[1];
|
|
2134
2135
|
break;
|
|
2135
2136
|
}
|
|
2136
2137
|
}
|
|
2137
2138
|
var h = n.languages[u];
|
|
2138
2139
|
if (h)
|
|
2139
|
-
|
|
2140
|
+
i.content = n.highlight(i.content.value, h, u);
|
|
2140
2141
|
else if (u && u !== "none" && n.plugins.autoloader) {
|
|
2141
|
-
var
|
|
2142
|
-
|
|
2143
|
-
var m = document.getElementById(
|
|
2142
|
+
var S = "md-" + (/* @__PURE__ */ new Date()).valueOf() + "-" + Math.floor(Math.random() * 1e16);
|
|
2143
|
+
i.attributes.id = S, n.plugins.autoloader.loadLanguages(u, function() {
|
|
2144
|
+
var m = document.getElementById(S);
|
|
2144
2145
|
m && (m.innerHTML = n.highlight(
|
|
2145
2146
|
m.textContent,
|
|
2146
2147
|
n.languages[u],
|
|
@@ -2155,7 +2156,7 @@ function Ne(e) {
|
|
|
2155
2156
|
Ie.displayName = "objectivec";
|
|
2156
2157
|
Ie.aliases = ["objc"];
|
|
2157
2158
|
function Ie(e) {
|
|
2158
|
-
e.register(
|
|
2159
|
+
e.register(X), e.languages.objectivec = e.languages.extend("c", {
|
|
2159
2160
|
string: {
|
|
2160
2161
|
pattern: /@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,
|
|
2161
2162
|
greedy: !0
|
|
@@ -2299,10 +2300,10 @@ function xe(e) {
|
|
|
2299
2300
|
};
|
|
2300
2301
|
})(e);
|
|
2301
2302
|
}
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
function
|
|
2305
|
-
e.register(
|
|
2303
|
+
oe.displayName = "markup-templating";
|
|
2304
|
+
oe.aliases = [];
|
|
2305
|
+
function oe(e) {
|
|
2306
|
+
e.register(J), (function(n) {
|
|
2306
2307
|
function t(r, a) {
|
|
2307
2308
|
return "___" + r.toUpperCase() + a + "___";
|
|
2308
2309
|
}
|
|
@@ -2321,13 +2322,13 @@ function ae(e) {
|
|
|
2321
2322
|
*/
|
|
2322
2323
|
value: function(r, a, o, s) {
|
|
2323
2324
|
if (r.language === a) {
|
|
2324
|
-
var
|
|
2325
|
+
var i = r.tokenStack = [];
|
|
2325
2326
|
r.code = r.code.replace(o, function(u) {
|
|
2326
2327
|
if (typeof s == "function" && !s(u))
|
|
2327
2328
|
return u;
|
|
2328
|
-
for (var c =
|
|
2329
|
+
for (var c = i.length, g; r.code.indexOf(g = t(a, c)) !== -1; )
|
|
2329
2330
|
++c;
|
|
2330
|
-
return
|
|
2331
|
+
return i[c] = u, g;
|
|
2331
2332
|
}), r.grammar = n.languages.markup;
|
|
2332
2333
|
}
|
|
2333
2334
|
}
|
|
@@ -2344,26 +2345,26 @@ function ae(e) {
|
|
|
2344
2345
|
return;
|
|
2345
2346
|
r.grammar = n.languages[a];
|
|
2346
2347
|
var o = 0, s = Object.keys(r.tokenStack);
|
|
2347
|
-
function
|
|
2348
|
+
function i(u) {
|
|
2348
2349
|
for (var c = 0; c < u.length && !(o >= s.length); c++) {
|
|
2349
|
-
var
|
|
2350
|
-
if (typeof
|
|
2351
|
-
var
|
|
2350
|
+
var g = u[c];
|
|
2351
|
+
if (typeof g == "string" || g.content && typeof g.content == "string") {
|
|
2352
|
+
var E = s[o], k = r.tokenStack[E], h = typeof g == "string" ? g : g.content, S = t(a, E), m = h.indexOf(S);
|
|
2352
2353
|
if (m > -1) {
|
|
2353
2354
|
++o;
|
|
2354
|
-
var y = h.substring(0, m),
|
|
2355
|
+
var y = h.substring(0, m), w = new n.Token(
|
|
2355
2356
|
a,
|
|
2356
|
-
n.tokenize(
|
|
2357
|
+
n.tokenize(k, r.grammar),
|
|
2357
2358
|
"language-" + a,
|
|
2358
|
-
|
|
2359
|
-
), R = h.substring(m +
|
|
2360
|
-
y && T.push.apply(T,
|
|
2359
|
+
k
|
|
2360
|
+
), R = h.substring(m + S.length), T = [];
|
|
2361
|
+
y && T.push.apply(T, i([y])), T.push(w), R && T.push.apply(T, i([R])), typeof g == "string" ? u.splice.apply(u, [c, 1].concat(T)) : g.content = T;
|
|
2361
2362
|
}
|
|
2362
|
-
} else
|
|
2363
|
+
} else g.content && i(g.content);
|
|
2363
2364
|
}
|
|
2364
2365
|
return u;
|
|
2365
2366
|
}
|
|
2366
|
-
|
|
2367
|
+
i(r.tokens);
|
|
2367
2368
|
}
|
|
2368
2369
|
}
|
|
2369
2370
|
});
|
|
@@ -2372,7 +2373,7 @@ function ae(e) {
|
|
|
2372
2373
|
Le.displayName = "php";
|
|
2373
2374
|
Le.aliases = [];
|
|
2374
2375
|
function Le(e) {
|
|
2375
|
-
e.register(
|
|
2376
|
+
e.register(oe), (function(n) {
|
|
2376
2377
|
var t = /\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/, r = [
|
|
2377
2378
|
{
|
|
2378
2379
|
pattern: /\b(?:false|true)\b/i,
|
|
@@ -2584,7 +2585,7 @@ function Le(e) {
|
|
|
2584
2585
|
operator: o,
|
|
2585
2586
|
punctuation: s
|
|
2586
2587
|
};
|
|
2587
|
-
var
|
|
2588
|
+
var i = {
|
|
2588
2589
|
pattern: /\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,
|
|
2589
2590
|
lookbehind: !0,
|
|
2590
2591
|
inside: n.languages.php
|
|
@@ -2615,7 +2616,7 @@ function Le(e) {
|
|
|
2615
2616
|
punctuation: /^<<<"?|[";]$/
|
|
2616
2617
|
}
|
|
2617
2618
|
},
|
|
2618
|
-
interpolation:
|
|
2619
|
+
interpolation: i
|
|
2619
2620
|
}
|
|
2620
2621
|
},
|
|
2621
2622
|
{
|
|
@@ -2633,7 +2634,7 @@ function Le(e) {
|
|
|
2633
2634
|
alias: "double-quoted-string",
|
|
2634
2635
|
greedy: !0,
|
|
2635
2636
|
inside: {
|
|
2636
|
-
interpolation:
|
|
2637
|
+
interpolation: i
|
|
2637
2638
|
}
|
|
2638
2639
|
}
|
|
2639
2640
|
];
|
|
@@ -2681,11 +2682,11 @@ function Le(e) {
|
|
|
2681
2682
|
}
|
|
2682
2683
|
}), n.hooks.add("before-tokenize", function(c) {
|
|
2683
2684
|
if (/<\?/.test(c.code)) {
|
|
2684
|
-
var
|
|
2685
|
+
var g = /<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;
|
|
2685
2686
|
n.languages["markup-templating"].buildPlaceholders(
|
|
2686
2687
|
c,
|
|
2687
2688
|
"php",
|
|
2688
|
-
|
|
2689
|
+
g
|
|
2689
2690
|
);
|
|
2690
2691
|
}
|
|
2691
2692
|
}), n.hooks.add("after-tokenize", function(c) {
|
|
@@ -3386,7 +3387,7 @@ function qe(e) {
|
|
|
3386
3387
|
Be.displayName = "typescript";
|
|
3387
3388
|
Be.aliases = ["ts"];
|
|
3388
3389
|
function Be(e) {
|
|
3389
|
-
e.register(
|
|
3390
|
+
e.register(ae), (function(n) {
|
|
3390
3391
|
n.languages.typescript = n.languages.extend("javascript", {
|
|
3391
3392
|
"class-name": {
|
|
3392
3393
|
pattern: /(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,
|
|
@@ -3432,9 +3433,9 @@ function Be(e) {
|
|
|
3432
3433
|
}), n.languages.ts = n.languages.typescript;
|
|
3433
3434
|
})(e);
|
|
3434
3435
|
}
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
function
|
|
3436
|
+
le.displayName = "basic";
|
|
3437
|
+
le.aliases = [];
|
|
3438
|
+
function le(e) {
|
|
3438
3439
|
e.languages.basic = {
|
|
3439
3440
|
comment: {
|
|
3440
3441
|
pattern: /(?:!|REM\b).+/i,
|
|
@@ -3456,7 +3457,7 @@ function oe(e) {
|
|
|
3456
3457
|
$e.displayName = "vbnet";
|
|
3457
3458
|
$e.aliases = [];
|
|
3458
3459
|
function $e(e) {
|
|
3459
|
-
e.register(
|
|
3460
|
+
e.register(le), e.languages.vbnet = e.languages.extend("basic", {
|
|
3460
3461
|
comment: [
|
|
3461
3462
|
{
|
|
3462
3463
|
pattern: /(?:!|REM\b).+/i,
|
|
@@ -3479,7 +3480,7 @@ function $e(e) {
|
|
|
3479
3480
|
punctuation: /[,;:(){}]/
|
|
3480
3481
|
});
|
|
3481
3482
|
}
|
|
3482
|
-
class
|
|
3483
|
+
class Q {
|
|
3483
3484
|
/**
|
|
3484
3485
|
* @param {SchemaType['property']} property
|
|
3485
3486
|
* Property.
|
|
@@ -3494,19 +3495,19 @@ class J {
|
|
|
3494
3495
|
this.normal = t, this.property = n, r && (this.space = r);
|
|
3495
3496
|
}
|
|
3496
3497
|
}
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
|
|
3500
|
-
function
|
|
3498
|
+
Q.prototype.normal = {};
|
|
3499
|
+
Q.prototype.property = {};
|
|
3500
|
+
Q.prototype.space = void 0;
|
|
3501
|
+
function on(e, n) {
|
|
3501
3502
|
const t = {}, r = {};
|
|
3502
3503
|
for (const a of e)
|
|
3503
3504
|
Object.assign(t, a.property), Object.assign(r, a.normal);
|
|
3504
|
-
return new
|
|
3505
|
+
return new Q(t, r, n);
|
|
3505
3506
|
}
|
|
3506
|
-
function
|
|
3507
|
+
function K(e) {
|
|
3507
3508
|
return e.toLowerCase();
|
|
3508
3509
|
}
|
|
3509
|
-
class
|
|
3510
|
+
class F {
|
|
3510
3511
|
/**
|
|
3511
3512
|
* @param {string} property
|
|
3512
3513
|
* Property.
|
|
@@ -3519,37 +3520,37 @@ class _ {
|
|
|
3519
3520
|
this.attribute = t, this.property = n;
|
|
3520
3521
|
}
|
|
3521
3522
|
}
|
|
3522
|
-
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
let
|
|
3535
|
-
const p = P(), N = P(), se = P(),
|
|
3523
|
+
F.prototype.attribute = "";
|
|
3524
|
+
F.prototype.booleanish = !1;
|
|
3525
|
+
F.prototype.boolean = !1;
|
|
3526
|
+
F.prototype.commaOrSpaceSeparated = !1;
|
|
3527
|
+
F.prototype.commaSeparated = !1;
|
|
3528
|
+
F.prototype.defined = !1;
|
|
3529
|
+
F.prototype.mustUseProperty = !1;
|
|
3530
|
+
F.prototype.number = !1;
|
|
3531
|
+
F.prototype.overloadedBoolean = !1;
|
|
3532
|
+
F.prototype.property = "";
|
|
3533
|
+
F.prototype.spaceSeparated = !1;
|
|
3534
|
+
F.prototype.space = void 0;
|
|
3535
|
+
let An = 0;
|
|
3536
|
+
const p = P(), N = P(), se = P(), l = P(), A = P(), H = P(), U = P();
|
|
3536
3537
|
function P() {
|
|
3537
|
-
return 2 ** ++
|
|
3538
|
+
return 2 ** ++An;
|
|
3538
3539
|
}
|
|
3539
3540
|
const ue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3540
3541
|
__proto__: null,
|
|
3541
3542
|
boolean: p,
|
|
3542
3543
|
booleanish: N,
|
|
3543
|
-
commaOrSpaceSeparated:
|
|
3544
|
+
commaOrSpaceSeparated: U,
|
|
3544
3545
|
commaSeparated: H,
|
|
3545
|
-
number:
|
|
3546
|
+
number: l,
|
|
3546
3547
|
overloadedBoolean: se,
|
|
3547
|
-
spaceSeparated:
|
|
3548
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
3548
|
+
spaceSeparated: A
|
|
3549
|
+
}, Symbol.toStringTag, { value: "Module" })), ie = (
|
|
3549
3550
|
/** @type {ReadonlyArray<keyof typeof types>} */
|
|
3550
3551
|
Object.keys(ue)
|
|
3551
3552
|
);
|
|
3552
|
-
class Ge extends
|
|
3553
|
+
class Ge extends F {
|
|
3553
3554
|
/**
|
|
3554
3555
|
* @constructor
|
|
3555
3556
|
* @param {string} property
|
|
@@ -3566,9 +3567,9 @@ class Ge extends _ {
|
|
|
3566
3567
|
constructor(n, t, r, a) {
|
|
3567
3568
|
let o = -1;
|
|
3568
3569
|
if (super(n, t), je(this, "space", a), typeof r == "number")
|
|
3569
|
-
for (; ++o <
|
|
3570
|
-
const s =
|
|
3571
|
-
je(this,
|
|
3570
|
+
for (; ++o < ie.length; ) {
|
|
3571
|
+
const s = ie[o];
|
|
3572
|
+
je(this, ie[o], (r & ue[s]) === ue[s]);
|
|
3572
3573
|
}
|
|
3573
3574
|
}
|
|
3574
3575
|
}
|
|
@@ -3585,59 +3586,59 @@ function Y(e) {
|
|
|
3585
3586
|
a,
|
|
3586
3587
|
e.space
|
|
3587
3588
|
);
|
|
3588
|
-
e.mustUseProperty && e.mustUseProperty.includes(r) && (o.mustUseProperty = !0), n[r] = o, t[
|
|
3589
|
+
e.mustUseProperty && e.mustUseProperty.includes(r) && (o.mustUseProperty = !0), n[r] = o, t[K(r)] = r, t[K(o.attribute)] = r;
|
|
3589
3590
|
}
|
|
3590
|
-
return new
|
|
3591
|
+
return new Q(n, t, e.space);
|
|
3591
3592
|
}
|
|
3592
|
-
const
|
|
3593
|
+
const ln = Y({
|
|
3593
3594
|
properties: {
|
|
3594
3595
|
ariaActiveDescendant: null,
|
|
3595
3596
|
ariaAtomic: N,
|
|
3596
3597
|
ariaAutoComplete: null,
|
|
3597
3598
|
ariaBusy: N,
|
|
3598
3599
|
ariaChecked: N,
|
|
3599
|
-
ariaColCount:
|
|
3600
|
-
ariaColIndex:
|
|
3601
|
-
ariaColSpan:
|
|
3602
|
-
ariaControls:
|
|
3600
|
+
ariaColCount: l,
|
|
3601
|
+
ariaColIndex: l,
|
|
3602
|
+
ariaColSpan: l,
|
|
3603
|
+
ariaControls: A,
|
|
3603
3604
|
ariaCurrent: null,
|
|
3604
|
-
ariaDescribedBy:
|
|
3605
|
+
ariaDescribedBy: A,
|
|
3605
3606
|
ariaDetails: null,
|
|
3606
3607
|
ariaDisabled: N,
|
|
3607
|
-
ariaDropEffect:
|
|
3608
|
+
ariaDropEffect: A,
|
|
3608
3609
|
ariaErrorMessage: null,
|
|
3609
3610
|
ariaExpanded: N,
|
|
3610
|
-
ariaFlowTo:
|
|
3611
|
+
ariaFlowTo: A,
|
|
3611
3612
|
ariaGrabbed: N,
|
|
3612
3613
|
ariaHasPopup: null,
|
|
3613
3614
|
ariaHidden: N,
|
|
3614
3615
|
ariaInvalid: null,
|
|
3615
3616
|
ariaKeyShortcuts: null,
|
|
3616
3617
|
ariaLabel: null,
|
|
3617
|
-
ariaLabelledBy:
|
|
3618
|
-
ariaLevel:
|
|
3618
|
+
ariaLabelledBy: A,
|
|
3619
|
+
ariaLevel: l,
|
|
3619
3620
|
ariaLive: null,
|
|
3620
3621
|
ariaModal: N,
|
|
3621
3622
|
ariaMultiLine: N,
|
|
3622
3623
|
ariaMultiSelectable: N,
|
|
3623
3624
|
ariaOrientation: null,
|
|
3624
|
-
ariaOwns:
|
|
3625
|
+
ariaOwns: A,
|
|
3625
3626
|
ariaPlaceholder: null,
|
|
3626
|
-
ariaPosInSet:
|
|
3627
|
+
ariaPosInSet: l,
|
|
3627
3628
|
ariaPressed: N,
|
|
3628
3629
|
ariaReadOnly: N,
|
|
3629
3630
|
ariaRelevant: null,
|
|
3630
3631
|
ariaRequired: N,
|
|
3631
|
-
ariaRoleDescription:
|
|
3632
|
-
ariaRowCount:
|
|
3633
|
-
ariaRowIndex:
|
|
3634
|
-
ariaRowSpan:
|
|
3632
|
+
ariaRoleDescription: A,
|
|
3633
|
+
ariaRowCount: l,
|
|
3634
|
+
ariaRowIndex: l,
|
|
3635
|
+
ariaRowSpan: l,
|
|
3635
3636
|
ariaSelected: N,
|
|
3636
|
-
ariaSetSize:
|
|
3637
|
+
ariaSetSize: l,
|
|
3637
3638
|
ariaSort: null,
|
|
3638
|
-
ariaValueMax:
|
|
3639
|
-
ariaValueMin:
|
|
3640
|
-
ariaValueNow:
|
|
3639
|
+
ariaValueMax: l,
|
|
3640
|
+
ariaValueMin: l,
|
|
3641
|
+
ariaValueNow: l,
|
|
3641
3642
|
ariaValueText: null,
|
|
3642
3643
|
role: null
|
|
3643
3644
|
},
|
|
@@ -3645,13 +3646,13 @@ const on = Y({
|
|
|
3645
3646
|
return n === "role" ? n : "aria-" + n.slice(4).toLowerCase();
|
|
3646
3647
|
}
|
|
3647
3648
|
});
|
|
3648
|
-
function
|
|
3649
|
+
function sn(e, n) {
|
|
3649
3650
|
return n in e ? e[n] : n;
|
|
3650
3651
|
}
|
|
3651
|
-
function
|
|
3652
|
-
return
|
|
3652
|
+
function un(e, n) {
|
|
3653
|
+
return sn(e, n.toLowerCase());
|
|
3653
3654
|
}
|
|
3654
|
-
const
|
|
3655
|
+
const kn = Y({
|
|
3655
3656
|
attributes: {
|
|
3656
3657
|
acceptcharset: "accept-charset",
|
|
3657
3658
|
classname: "class",
|
|
@@ -3663,8 +3664,8 @@ const wn = Y({
|
|
|
3663
3664
|
// Standard Properties.
|
|
3664
3665
|
abbr: null,
|
|
3665
3666
|
accept: H,
|
|
3666
|
-
acceptCharset:
|
|
3667
|
-
accessKey:
|
|
3667
|
+
acceptCharset: A,
|
|
3668
|
+
accessKey: A,
|
|
3668
3669
|
action: null,
|
|
3669
3670
|
allow: null,
|
|
3670
3671
|
allowFullScreen: p,
|
|
@@ -3675,26 +3676,26 @@ const wn = Y({
|
|
|
3675
3676
|
as: null,
|
|
3676
3677
|
async: p,
|
|
3677
3678
|
autoCapitalize: null,
|
|
3678
|
-
autoComplete:
|
|
3679
|
+
autoComplete: A,
|
|
3679
3680
|
autoFocus: p,
|
|
3680
3681
|
autoPlay: p,
|
|
3681
|
-
blocking:
|
|
3682
|
+
blocking: A,
|
|
3682
3683
|
capture: null,
|
|
3683
3684
|
charSet: null,
|
|
3684
3685
|
checked: p,
|
|
3685
3686
|
cite: null,
|
|
3686
|
-
className:
|
|
3687
|
+
className: A,
|
|
3687
3688
|
closedBy: null,
|
|
3688
3689
|
colorSpace: null,
|
|
3689
|
-
cols:
|
|
3690
|
-
colSpan:
|
|
3690
|
+
cols: l,
|
|
3691
|
+
colSpan: l,
|
|
3691
3692
|
command: null,
|
|
3692
3693
|
commandFor: null,
|
|
3693
3694
|
content: null,
|
|
3694
3695
|
contentEditable: N,
|
|
3695
3696
|
controls: p,
|
|
3696
|
-
controlsList:
|
|
3697
|
-
coords:
|
|
3697
|
+
controlsList: A,
|
|
3698
|
+
coords: l | H,
|
|
3698
3699
|
crossOrigin: null,
|
|
3699
3700
|
data: null,
|
|
3700
3701
|
dateTime: null,
|
|
@@ -3715,14 +3716,14 @@ const wn = Y({
|
|
|
3715
3716
|
formMethod: null,
|
|
3716
3717
|
formNoValidate: p,
|
|
3717
3718
|
formTarget: null,
|
|
3718
|
-
headers:
|
|
3719
|
-
height:
|
|
3719
|
+
headers: A,
|
|
3720
|
+
height: l,
|
|
3720
3721
|
hidden: se,
|
|
3721
|
-
high:
|
|
3722
|
+
high: l,
|
|
3722
3723
|
href: null,
|
|
3723
3724
|
hrefLang: null,
|
|
3724
|
-
htmlFor:
|
|
3725
|
-
httpEquiv:
|
|
3725
|
+
htmlFor: A,
|
|
3726
|
+
httpEquiv: A,
|
|
3726
3727
|
id: null,
|
|
3727
3728
|
imageSizes: null,
|
|
3728
3729
|
imageSrcSet: null,
|
|
@@ -3732,10 +3733,10 @@ const wn = Y({
|
|
|
3732
3733
|
is: null,
|
|
3733
3734
|
isMap: p,
|
|
3734
3735
|
itemId: null,
|
|
3735
|
-
itemProp:
|
|
3736
|
-
itemRef:
|
|
3736
|
+
itemProp: A,
|
|
3737
|
+
itemRef: A,
|
|
3737
3738
|
itemScope: p,
|
|
3738
|
-
itemType:
|
|
3739
|
+
itemType: A,
|
|
3739
3740
|
kind: null,
|
|
3740
3741
|
label: null,
|
|
3741
3742
|
lang: null,
|
|
@@ -3743,14 +3744,14 @@ const wn = Y({
|
|
|
3743
3744
|
list: null,
|
|
3744
3745
|
loading: null,
|
|
3745
3746
|
loop: p,
|
|
3746
|
-
low:
|
|
3747
|
+
low: l,
|
|
3747
3748
|
manifest: null,
|
|
3748
3749
|
max: null,
|
|
3749
|
-
maxLength:
|
|
3750
|
+
maxLength: l,
|
|
3750
3751
|
media: null,
|
|
3751
3752
|
method: null,
|
|
3752
3753
|
min: null,
|
|
3753
|
-
minLength:
|
|
3754
|
+
minLength: l,
|
|
3754
3755
|
multiple: p,
|
|
3755
3756
|
muted: p,
|
|
3756
3757
|
name: null,
|
|
@@ -3846,9 +3847,9 @@ const wn = Y({
|
|
|
3846
3847
|
onWaiting: null,
|
|
3847
3848
|
onWheel: null,
|
|
3848
3849
|
open: p,
|
|
3849
|
-
optimum:
|
|
3850
|
+
optimum: l,
|
|
3850
3851
|
pattern: null,
|
|
3851
|
-
ping:
|
|
3852
|
+
ping: A,
|
|
3852
3853
|
placeholder: null,
|
|
3853
3854
|
playsInline: p,
|
|
3854
3855
|
popover: null,
|
|
@@ -3858,12 +3859,12 @@ const wn = Y({
|
|
|
3858
3859
|
preload: null,
|
|
3859
3860
|
readOnly: p,
|
|
3860
3861
|
referrerPolicy: null,
|
|
3861
|
-
rel:
|
|
3862
|
+
rel: A,
|
|
3862
3863
|
required: p,
|
|
3863
3864
|
reversed: p,
|
|
3864
|
-
rows:
|
|
3865
|
-
rowSpan:
|
|
3866
|
-
sandbox:
|
|
3865
|
+
rows: l,
|
|
3866
|
+
rowSpan: l,
|
|
3867
|
+
sandbox: A,
|
|
3867
3868
|
scope: null,
|
|
3868
3869
|
scoped: p,
|
|
3869
3870
|
seamless: p,
|
|
@@ -3874,19 +3875,19 @@ const wn = Y({
|
|
|
3874
3875
|
shadowRootMode: null,
|
|
3875
3876
|
shadowRootSerializable: p,
|
|
3876
3877
|
shape: null,
|
|
3877
|
-
size:
|
|
3878
|
+
size: l,
|
|
3878
3879
|
sizes: null,
|
|
3879
3880
|
slot: null,
|
|
3880
|
-
span:
|
|
3881
|
+
span: l,
|
|
3881
3882
|
spellCheck: N,
|
|
3882
3883
|
src: null,
|
|
3883
3884
|
srcDoc: null,
|
|
3884
3885
|
srcLang: null,
|
|
3885
3886
|
srcSet: null,
|
|
3886
|
-
start:
|
|
3887
|
+
start: l,
|
|
3887
3888
|
step: null,
|
|
3888
3889
|
style: null,
|
|
3889
|
-
tabIndex:
|
|
3890
|
+
tabIndex: l,
|
|
3890
3891
|
target: null,
|
|
3891
3892
|
title: null,
|
|
3892
3893
|
translate: null,
|
|
@@ -3894,7 +3895,7 @@ const wn = Y({
|
|
|
3894
3895
|
typeMustMatch: p,
|
|
3895
3896
|
useMap: null,
|
|
3896
3897
|
value: N,
|
|
3897
|
-
width:
|
|
3898
|
+
width: l,
|
|
3898
3899
|
wrap: null,
|
|
3899
3900
|
writingSuggestions: null,
|
|
3900
3901
|
// Legacy.
|
|
@@ -3903,7 +3904,7 @@ const wn = Y({
|
|
|
3903
3904
|
// Several. Use CSS `text-align` instead,
|
|
3904
3905
|
aLink: null,
|
|
3905
3906
|
// `<body>`. Use CSS `a:active {color}` instead
|
|
3906
|
-
archive:
|
|
3907
|
+
archive: A,
|
|
3907
3908
|
// `<object>`. List of URIs to archives
|
|
3908
3909
|
axis: null,
|
|
3909
3910
|
// `<td>` and `<th>`. Use `scope` on `<th>`
|
|
@@ -3911,11 +3912,11 @@ const wn = Y({
|
|
|
3911
3912
|
// `<body>`. Use CSS `background-image` instead
|
|
3912
3913
|
bgColor: null,
|
|
3913
3914
|
// `<body>` and table elements. Use CSS `background-color` instead
|
|
3914
|
-
border:
|
|
3915
|
+
border: l,
|
|
3915
3916
|
// `<table>`. Use CSS `border-width` instead,
|
|
3916
3917
|
borderColor: null,
|
|
3917
3918
|
// `<table>`. Use CSS `border-color` instead,
|
|
3918
|
-
bottomMargin:
|
|
3919
|
+
bottomMargin: l,
|
|
3919
3920
|
// `<body>`
|
|
3920
3921
|
cellPadding: null,
|
|
3921
3922
|
// `<table>`
|
|
@@ -3949,9 +3950,9 @@ const wn = Y({
|
|
|
3949
3950
|
// `<table>`
|
|
3950
3951
|
frameBorder: null,
|
|
3951
3952
|
// `<iframe>`. Use CSS `border` instead
|
|
3952
|
-
hSpace:
|
|
3953
|
+
hSpace: l,
|
|
3953
3954
|
// `<img>` and `<object>`
|
|
3954
|
-
leftMargin:
|
|
3955
|
+
leftMargin: l,
|
|
3955
3956
|
// `<body>`
|
|
3956
3957
|
link: null,
|
|
3957
3958
|
// `<body>`. Use CSS `a:link {color: *}` instead
|
|
@@ -3959,9 +3960,9 @@ const wn = Y({
|
|
|
3959
3960
|
// `<frame>`, `<iframe>`, and `<img>`. Use an `<a>`
|
|
3960
3961
|
lowSrc: null,
|
|
3961
3962
|
// `<img>`. Use a `<picture>`
|
|
3962
|
-
marginHeight:
|
|
3963
|
+
marginHeight: l,
|
|
3963
3964
|
// `<body>`
|
|
3964
|
-
marginWidth:
|
|
3965
|
+
marginWidth: l,
|
|
3965
3966
|
// `<body>`
|
|
3966
3967
|
noResize: p,
|
|
3967
3968
|
// `<frame>`
|
|
@@ -3979,7 +3980,7 @@ const wn = Y({
|
|
|
3979
3980
|
// `<isindex>`
|
|
3980
3981
|
rev: null,
|
|
3981
3982
|
// `<link>`
|
|
3982
|
-
rightMargin:
|
|
3983
|
+
rightMargin: l,
|
|
3983
3984
|
// `<body>`
|
|
3984
3985
|
rules: null,
|
|
3985
3986
|
// `<table>`
|
|
@@ -3993,7 +3994,7 @@ const wn = Y({
|
|
|
3993
3994
|
// `<table>`
|
|
3994
3995
|
text: null,
|
|
3995
3996
|
// `<body>`. Use CSS `color` instead
|
|
3996
|
-
topMargin:
|
|
3997
|
+
topMargin: l,
|
|
3997
3998
|
// `<body>`
|
|
3998
3999
|
valueType: null,
|
|
3999
4000
|
// `<param>`
|
|
@@ -4003,7 +4004,7 @@ const wn = Y({
|
|
|
4003
4004
|
// Several. Use CSS `vertical-align` instead
|
|
4004
4005
|
vLink: null,
|
|
4005
4006
|
// `<body>`. Use CSS `a:visited {color}` instead
|
|
4006
|
-
vSpace:
|
|
4007
|
+
vSpace: l,
|
|
4007
4008
|
// `<img>` and `<object>`
|
|
4008
4009
|
// Non-standard Properties.
|
|
4009
4010
|
allowTransparency: null,
|
|
@@ -4013,16 +4014,16 @@ const wn = Y({
|
|
|
4013
4014
|
disablePictureInPicture: p,
|
|
4014
4015
|
disableRemotePlayback: p,
|
|
4015
4016
|
exportParts: H,
|
|
4016
|
-
part:
|
|
4017
|
+
part: A,
|
|
4017
4018
|
prefix: null,
|
|
4018
4019
|
property: null,
|
|
4019
|
-
results:
|
|
4020
|
+
results: l,
|
|
4020
4021
|
security: null,
|
|
4021
4022
|
unselectable: null
|
|
4022
4023
|
},
|
|
4023
4024
|
space: "html",
|
|
4024
|
-
transform:
|
|
4025
|
-
}),
|
|
4025
|
+
transform: un
|
|
4026
|
+
}), Tn = Y({
|
|
4026
4027
|
attributes: {
|
|
4027
4028
|
accentHeight: "accent-height",
|
|
4028
4029
|
alignmentBaseline: "alignment-baseline",
|
|
@@ -4200,29 +4201,29 @@ const wn = Y({
|
|
|
4200
4201
|
timelineBegin: "timelinebegin"
|
|
4201
4202
|
},
|
|
4202
4203
|
properties: {
|
|
4203
|
-
about:
|
|
4204
|
-
accentHeight:
|
|
4204
|
+
about: U,
|
|
4205
|
+
accentHeight: l,
|
|
4205
4206
|
accumulate: null,
|
|
4206
4207
|
additive: null,
|
|
4207
4208
|
alignmentBaseline: null,
|
|
4208
|
-
alphabetic:
|
|
4209
|
-
amplitude:
|
|
4209
|
+
alphabetic: l,
|
|
4210
|
+
amplitude: l,
|
|
4210
4211
|
arabicForm: null,
|
|
4211
|
-
ascent:
|
|
4212
|
+
ascent: l,
|
|
4212
4213
|
attributeName: null,
|
|
4213
4214
|
attributeType: null,
|
|
4214
|
-
azimuth:
|
|
4215
|
+
azimuth: l,
|
|
4215
4216
|
bandwidth: null,
|
|
4216
4217
|
baselineShift: null,
|
|
4217
4218
|
baseFrequency: null,
|
|
4218
4219
|
baseProfile: null,
|
|
4219
4220
|
bbox: null,
|
|
4220
4221
|
begin: null,
|
|
4221
|
-
bias:
|
|
4222
|
+
bias: l,
|
|
4222
4223
|
by: null,
|
|
4223
4224
|
calcMode: null,
|
|
4224
|
-
capHeight:
|
|
4225
|
-
className:
|
|
4225
|
+
capHeight: l,
|
|
4226
|
+
className: A,
|
|
4226
4227
|
clip: null,
|
|
4227
4228
|
clipPath: null,
|
|
4228
4229
|
clipPathUnits: null,
|
|
@@ -4242,26 +4243,26 @@ const wn = Y({
|
|
|
4242
4243
|
d: null,
|
|
4243
4244
|
dataType: null,
|
|
4244
4245
|
defaultAction: null,
|
|
4245
|
-
descent:
|
|
4246
|
-
diffuseConstant:
|
|
4246
|
+
descent: l,
|
|
4247
|
+
diffuseConstant: l,
|
|
4247
4248
|
direction: null,
|
|
4248
4249
|
display: null,
|
|
4249
4250
|
dur: null,
|
|
4250
|
-
divisor:
|
|
4251
|
+
divisor: l,
|
|
4251
4252
|
dominantBaseline: null,
|
|
4252
4253
|
download: p,
|
|
4253
4254
|
dx: null,
|
|
4254
4255
|
dy: null,
|
|
4255
4256
|
edgeMode: null,
|
|
4256
4257
|
editable: null,
|
|
4257
|
-
elevation:
|
|
4258
|
+
elevation: l,
|
|
4258
4259
|
enableBackground: null,
|
|
4259
4260
|
end: null,
|
|
4260
4261
|
event: null,
|
|
4261
|
-
exponent:
|
|
4262
|
+
exponent: l,
|
|
4262
4263
|
externalResourcesRequired: null,
|
|
4263
4264
|
fill: null,
|
|
4264
|
-
fillOpacity:
|
|
4265
|
+
fillOpacity: l,
|
|
4265
4266
|
fillRule: null,
|
|
4266
4267
|
filter: null,
|
|
4267
4268
|
filterRes: null,
|
|
@@ -4291,28 +4292,28 @@ const wn = Y({
|
|
|
4291
4292
|
gradientTransform: null,
|
|
4292
4293
|
gradientUnits: null,
|
|
4293
4294
|
handler: null,
|
|
4294
|
-
hanging:
|
|
4295
|
+
hanging: l,
|
|
4295
4296
|
hatchContentUnits: null,
|
|
4296
4297
|
hatchUnits: null,
|
|
4297
4298
|
height: null,
|
|
4298
4299
|
href: null,
|
|
4299
4300
|
hrefLang: null,
|
|
4300
|
-
horizAdvX:
|
|
4301
|
-
horizOriginX:
|
|
4302
|
-
horizOriginY:
|
|
4301
|
+
horizAdvX: l,
|
|
4302
|
+
horizOriginX: l,
|
|
4303
|
+
horizOriginY: l,
|
|
4303
4304
|
id: null,
|
|
4304
|
-
ideographic:
|
|
4305
|
+
ideographic: l,
|
|
4305
4306
|
imageRendering: null,
|
|
4306
4307
|
initialVisibility: null,
|
|
4307
4308
|
in: null,
|
|
4308
4309
|
in2: null,
|
|
4309
|
-
intercept:
|
|
4310
|
-
k:
|
|
4311
|
-
k1:
|
|
4312
|
-
k2:
|
|
4313
|
-
k3:
|
|
4314
|
-
k4:
|
|
4315
|
-
kernelMatrix:
|
|
4310
|
+
intercept: l,
|
|
4311
|
+
k: l,
|
|
4312
|
+
k1: l,
|
|
4313
|
+
k2: l,
|
|
4314
|
+
k3: l,
|
|
4315
|
+
k4: l,
|
|
4316
|
+
kernelMatrix: U,
|
|
4316
4317
|
kernelUnitLength: null,
|
|
4317
4318
|
keyPoints: null,
|
|
4318
4319
|
// SEMI_COLON_SEPARATED
|
|
@@ -4325,7 +4326,7 @@ const wn = Y({
|
|
|
4325
4326
|
lengthAdjust: null,
|
|
4326
4327
|
letterSpacing: null,
|
|
4327
4328
|
lightingColor: null,
|
|
4328
|
-
limitingConeAngle:
|
|
4329
|
+
limitingConeAngle: l,
|
|
4329
4330
|
local: null,
|
|
4330
4331
|
markerEnd: null,
|
|
4331
4332
|
markerMid: null,
|
|
@@ -4342,7 +4343,7 @@ const wn = Y({
|
|
|
4342
4343
|
media: null,
|
|
4343
4344
|
mediaCharacterEncoding: null,
|
|
4344
4345
|
mediaContentEncodings: null,
|
|
4345
|
-
mediaSize:
|
|
4346
|
+
mediaSize: l,
|
|
4346
4347
|
mediaTime: null,
|
|
4347
4348
|
method: null,
|
|
4348
4349
|
min: null,
|
|
@@ -4448,43 +4449,43 @@ const wn = Y({
|
|
|
4448
4449
|
origin: null,
|
|
4449
4450
|
overflow: null,
|
|
4450
4451
|
overlay: null,
|
|
4451
|
-
overlinePosition:
|
|
4452
|
-
overlineThickness:
|
|
4452
|
+
overlinePosition: l,
|
|
4453
|
+
overlineThickness: l,
|
|
4453
4454
|
paintOrder: null,
|
|
4454
4455
|
panose1: null,
|
|
4455
4456
|
path: null,
|
|
4456
|
-
pathLength:
|
|
4457
|
+
pathLength: l,
|
|
4457
4458
|
patternContentUnits: null,
|
|
4458
4459
|
patternTransform: null,
|
|
4459
4460
|
patternUnits: null,
|
|
4460
4461
|
phase: null,
|
|
4461
|
-
ping:
|
|
4462
|
+
ping: A,
|
|
4462
4463
|
pitch: null,
|
|
4463
4464
|
playbackOrder: null,
|
|
4464
4465
|
pointerEvents: null,
|
|
4465
4466
|
points: null,
|
|
4466
|
-
pointsAtX:
|
|
4467
|
-
pointsAtY:
|
|
4468
|
-
pointsAtZ:
|
|
4467
|
+
pointsAtX: l,
|
|
4468
|
+
pointsAtY: l,
|
|
4469
|
+
pointsAtZ: l,
|
|
4469
4470
|
preserveAlpha: null,
|
|
4470
4471
|
preserveAspectRatio: null,
|
|
4471
4472
|
primitiveUnits: null,
|
|
4472
4473
|
propagate: null,
|
|
4473
|
-
property:
|
|
4474
|
+
property: U,
|
|
4474
4475
|
r: null,
|
|
4475
4476
|
radius: null,
|
|
4476
4477
|
referrerPolicy: null,
|
|
4477
4478
|
refX: null,
|
|
4478
4479
|
refY: null,
|
|
4479
|
-
rel:
|
|
4480
|
-
rev:
|
|
4480
|
+
rel: U,
|
|
4481
|
+
rev: U,
|
|
4481
4482
|
renderingIntent: null,
|
|
4482
4483
|
repeatCount: null,
|
|
4483
4484
|
repeatDur: null,
|
|
4484
|
-
requiredExtensions:
|
|
4485
|
-
requiredFeatures:
|
|
4486
|
-
requiredFonts:
|
|
4487
|
-
requiredFormats:
|
|
4485
|
+
requiredExtensions: U,
|
|
4486
|
+
requiredFeatures: U,
|
|
4487
|
+
requiredFonts: U,
|
|
4488
|
+
requiredFormats: U,
|
|
4488
4489
|
resource: null,
|
|
4489
4490
|
restart: null,
|
|
4490
4491
|
result: null,
|
|
@@ -4497,8 +4498,8 @@ const wn = Y({
|
|
|
4497
4498
|
side: null,
|
|
4498
4499
|
slope: null,
|
|
4499
4500
|
snapshotTime: null,
|
|
4500
|
-
specularConstant:
|
|
4501
|
-
specularExponent:
|
|
4501
|
+
specularConstant: l,
|
|
4502
|
+
specularExponent: l,
|
|
4502
4503
|
spreadMethod: null,
|
|
4503
4504
|
spacing: null,
|
|
4504
4505
|
startOffset: null,
|
|
@@ -4508,30 +4509,30 @@ const wn = Y({
|
|
|
4508
4509
|
stitchTiles: null,
|
|
4509
4510
|
stopColor: null,
|
|
4510
4511
|
stopOpacity: null,
|
|
4511
|
-
strikethroughPosition:
|
|
4512
|
-
strikethroughThickness:
|
|
4512
|
+
strikethroughPosition: l,
|
|
4513
|
+
strikethroughThickness: l,
|
|
4513
4514
|
string: null,
|
|
4514
4515
|
stroke: null,
|
|
4515
|
-
strokeDashArray:
|
|
4516
|
+
strokeDashArray: U,
|
|
4516
4517
|
strokeDashOffset: null,
|
|
4517
4518
|
strokeLineCap: null,
|
|
4518
4519
|
strokeLineJoin: null,
|
|
4519
|
-
strokeMiterLimit:
|
|
4520
|
-
strokeOpacity:
|
|
4520
|
+
strokeMiterLimit: l,
|
|
4521
|
+
strokeOpacity: l,
|
|
4521
4522
|
strokeWidth: null,
|
|
4522
4523
|
style: null,
|
|
4523
|
-
surfaceScale:
|
|
4524
|
+
surfaceScale: l,
|
|
4524
4525
|
syncBehavior: null,
|
|
4525
4526
|
syncBehaviorDefault: null,
|
|
4526
4527
|
syncMaster: null,
|
|
4527
4528
|
syncTolerance: null,
|
|
4528
4529
|
syncToleranceDefault: null,
|
|
4529
|
-
systemLanguage:
|
|
4530
|
-
tabIndex:
|
|
4530
|
+
systemLanguage: U,
|
|
4531
|
+
tabIndex: l,
|
|
4531
4532
|
tableValues: null,
|
|
4532
4533
|
target: null,
|
|
4533
|
-
targetX:
|
|
4534
|
-
targetY:
|
|
4534
|
+
targetX: l,
|
|
4535
|
+
targetY: l,
|
|
4535
4536
|
textAnchor: null,
|
|
4536
4537
|
textDecoration: null,
|
|
4537
4538
|
textRendering: null,
|
|
@@ -4540,28 +4541,28 @@ const wn = Y({
|
|
|
4540
4541
|
title: null,
|
|
4541
4542
|
transformBehavior: null,
|
|
4542
4543
|
type: null,
|
|
4543
|
-
typeOf:
|
|
4544
|
+
typeOf: U,
|
|
4544
4545
|
to: null,
|
|
4545
4546
|
transform: null,
|
|
4546
4547
|
transformOrigin: null,
|
|
4547
4548
|
u1: null,
|
|
4548
4549
|
u2: null,
|
|
4549
|
-
underlinePosition:
|
|
4550
|
-
underlineThickness:
|
|
4550
|
+
underlinePosition: l,
|
|
4551
|
+
underlineThickness: l,
|
|
4551
4552
|
unicode: null,
|
|
4552
4553
|
unicodeBidi: null,
|
|
4553
4554
|
unicodeRange: null,
|
|
4554
|
-
unitsPerEm:
|
|
4555
|
+
unitsPerEm: l,
|
|
4555
4556
|
values: null,
|
|
4556
|
-
vAlphabetic:
|
|
4557
|
-
vMathematical:
|
|
4557
|
+
vAlphabetic: l,
|
|
4558
|
+
vMathematical: l,
|
|
4558
4559
|
vectorEffect: null,
|
|
4559
|
-
vHanging:
|
|
4560
|
-
vIdeographic:
|
|
4560
|
+
vHanging: l,
|
|
4561
|
+
vIdeographic: l,
|
|
4561
4562
|
version: null,
|
|
4562
|
-
vertAdvY:
|
|
4563
|
-
vertOriginX:
|
|
4564
|
-
vertOriginY:
|
|
4563
|
+
vertAdvY: l,
|
|
4564
|
+
vertOriginX: l,
|
|
4565
|
+
vertOriginY: l,
|
|
4565
4566
|
viewBox: null,
|
|
4566
4567
|
viewTarget: null,
|
|
4567
4568
|
visibility: null,
|
|
@@ -4573,7 +4574,7 @@ const wn = Y({
|
|
|
4573
4574
|
x1: null,
|
|
4574
4575
|
x2: null,
|
|
4575
4576
|
xChannelSelector: null,
|
|
4576
|
-
xHeight:
|
|
4577
|
+
xHeight: l,
|
|
4577
4578
|
y: null,
|
|
4578
4579
|
y1: null,
|
|
4579
4580
|
y2: null,
|
|
@@ -4582,8 +4583,8 @@ const wn = Y({
|
|
|
4582
4583
|
zoomAndPan: null
|
|
4583
4584
|
},
|
|
4584
4585
|
space: "svg",
|
|
4585
|
-
transform:
|
|
4586
|
-
}),
|
|
4586
|
+
transform: sn
|
|
4587
|
+
}), cn = Y({
|
|
4587
4588
|
properties: {
|
|
4588
4589
|
xLinkActuate: null,
|
|
4589
4590
|
xLinkArcRole: null,
|
|
@@ -4597,31 +4598,31 @@ const wn = Y({
|
|
|
4597
4598
|
transform(e, n) {
|
|
4598
4599
|
return "xlink:" + n.slice(5).toLowerCase();
|
|
4599
4600
|
}
|
|
4600
|
-
}),
|
|
4601
|
+
}), dn = Y({
|
|
4601
4602
|
attributes: { xmlnsxlink: "xmlns:xlink" },
|
|
4602
4603
|
properties: { xmlnsXLink: null, xmlns: null },
|
|
4603
4604
|
space: "xmlns",
|
|
4604
|
-
transform:
|
|
4605
|
-
}),
|
|
4605
|
+
transform: un
|
|
4606
|
+
}), pn = Y({
|
|
4606
4607
|
properties: { xmlBase: null, xmlLang: null, xmlSpace: null },
|
|
4607
4608
|
space: "xml",
|
|
4608
4609
|
transform(e, n) {
|
|
4609
4610
|
return "xml:" + n.slice(3).toLowerCase();
|
|
4610
4611
|
}
|
|
4611
|
-
}),
|
|
4612
|
-
function
|
|
4613
|
-
const t =
|
|
4614
|
-
let r = n, a =
|
|
4612
|
+
}), vn = /[A-Z]/g, Ye = /-[a-z]/g, Rn = /^data[-\w.:]+$/i;
|
|
4613
|
+
function Nn(e, n) {
|
|
4614
|
+
const t = K(n);
|
|
4615
|
+
let r = n, a = F;
|
|
4615
4616
|
if (t in e.normal)
|
|
4616
4617
|
return e.property[e.normal[t]];
|
|
4617
|
-
if (t.length > 4 && t.slice(0, 4) === "data" &&
|
|
4618
|
+
if (t.length > 4 && t.slice(0, 4) === "data" && Rn.test(n)) {
|
|
4618
4619
|
if (n.charAt(4) === "-") {
|
|
4619
|
-
const o = n.slice(5).replace(Ye,
|
|
4620
|
+
const o = n.slice(5).replace(Ye, xn);
|
|
4620
4621
|
r = "data" + o.charAt(0).toUpperCase() + o.slice(1);
|
|
4621
4622
|
} else {
|
|
4622
4623
|
const o = n.slice(4);
|
|
4623
4624
|
if (!Ye.test(o)) {
|
|
4624
|
-
let s = o.replace(
|
|
4625
|
+
let s = o.replace(vn, In);
|
|
4625
4626
|
s.charAt(0) !== "-" && (s = "-" + s), n = "data" + s;
|
|
4626
4627
|
}
|
|
4627
4628
|
}
|
|
@@ -4629,13 +4630,13 @@ function vn(e, n) {
|
|
|
4629
4630
|
}
|
|
4630
4631
|
return new a(r, n);
|
|
4631
4632
|
}
|
|
4632
|
-
function
|
|
4633
|
+
function In(e) {
|
|
4633
4634
|
return "-" + e.toLowerCase();
|
|
4634
4635
|
}
|
|
4635
|
-
function
|
|
4636
|
+
function xn(e) {
|
|
4636
4637
|
return e.charAt(1).toUpperCase();
|
|
4637
4638
|
}
|
|
4638
|
-
const
|
|
4639
|
+
const Ln = on([ln, kn, cn, dn, pn], "html"), On = on([ln, Tn, cn, dn, pn], "svg");
|
|
4639
4640
|
function We(e) {
|
|
4640
4641
|
const n = [], t = String(e || "");
|
|
4641
4642
|
let r = t.indexOf(","), a = 0, o = !1;
|
|
@@ -4647,13 +4648,13 @@ function We(e) {
|
|
|
4647
4648
|
return n;
|
|
4648
4649
|
}
|
|
4649
4650
|
const Ze = /[#.]/g;
|
|
4650
|
-
function
|
|
4651
|
+
function Cn(e, n) {
|
|
4651
4652
|
const t = e || "", r = {};
|
|
4652
4653
|
let a = 0, o, s;
|
|
4653
4654
|
for (; a < t.length; ) {
|
|
4654
4655
|
Ze.lastIndex = a;
|
|
4655
|
-
const
|
|
4656
|
-
u && (o ? o === "#" ? r.id = u : Array.isArray(r.className) ? r.className.push(u) : r.className = [u] : s = u, a += u.length),
|
|
4656
|
+
const i = Ze.exec(t), u = t.slice(a, i ? i.index : t.length);
|
|
4657
|
+
u && (o ? o === "#" ? r.id = u : Array.isArray(r.className) ? r.className.push(u) : r.className = [u] : s = u, a += u.length), i && (o = i[0], a++);
|
|
4657
4658
|
}
|
|
4658
4659
|
return {
|
|
4659
4660
|
type: "element",
|
|
@@ -4667,9 +4668,9 @@ function Ke(e) {
|
|
|
4667
4668
|
const n = String(e || "").trim();
|
|
4668
4669
|
return n ? n.split(/[ \t\n\r\f]+/g) : [];
|
|
4669
4670
|
}
|
|
4670
|
-
function
|
|
4671
|
-
const r = t ?
|
|
4672
|
-
function a(o, s, ...
|
|
4671
|
+
function gn(e, n, t) {
|
|
4672
|
+
const r = t ? Mn(t) : void 0;
|
|
4673
|
+
function a(o, s, ...i) {
|
|
4673
4674
|
let u;
|
|
4674
4675
|
if (o == null) {
|
|
4675
4676
|
u = { type: "root", children: [] };
|
|
@@ -4677,23 +4678,23 @@ function pn(e, n, t) {
|
|
|
4677
4678
|
/** @type {Child} */
|
|
4678
4679
|
s
|
|
4679
4680
|
);
|
|
4680
|
-
|
|
4681
|
+
i.unshift(c);
|
|
4681
4682
|
} else {
|
|
4682
|
-
u =
|
|
4683
|
-
const c = u.tagName.toLowerCase(),
|
|
4684
|
-
if (u.tagName =
|
|
4685
|
-
|
|
4683
|
+
u = Cn(o, n);
|
|
4684
|
+
const c = u.tagName.toLowerCase(), g = r ? r.get(c) : void 0;
|
|
4685
|
+
if (u.tagName = g || c, Dn(s))
|
|
4686
|
+
i.unshift(s);
|
|
4686
4687
|
else
|
|
4687
|
-
for (const [
|
|
4688
|
-
|
|
4688
|
+
for (const [E, k] of Object.entries(s))
|
|
4689
|
+
_n(e, u.properties, E, k);
|
|
4689
4690
|
}
|
|
4690
|
-
for (const c of
|
|
4691
|
+
for (const c of i)
|
|
4691
4692
|
ce(u.children, c);
|
|
4692
4693
|
return u.type === "element" && u.tagName === "template" && (u.content = { type: "root", children: u.children }, u.children = []), u;
|
|
4693
4694
|
}
|
|
4694
4695
|
return a;
|
|
4695
4696
|
}
|
|
4696
|
-
function
|
|
4697
|
+
function Dn(e) {
|
|
4697
4698
|
if (e === null || typeof e != "object" || Array.isArray(e))
|
|
4698
4699
|
return !0;
|
|
4699
4700
|
if (typeof e.type != "string") return !1;
|
|
@@ -4716,20 +4717,20 @@ function On(e) {
|
|
|
4716
4717
|
}
|
|
4717
4718
|
return !!("children" in e && Array.isArray(e.children));
|
|
4718
4719
|
}
|
|
4719
|
-
function
|
|
4720
|
-
const a =
|
|
4720
|
+
function _n(e, n, t, r) {
|
|
4721
|
+
const a = Nn(e, t);
|
|
4721
4722
|
let o;
|
|
4722
4723
|
if (r != null) {
|
|
4723
4724
|
if (typeof r == "number") {
|
|
4724
4725
|
if (Number.isNaN(r)) return;
|
|
4725
4726
|
o = r;
|
|
4726
|
-
} else typeof r == "boolean" ? o = r : typeof r == "string" ? a.spaceSeparated ? o = Ke(r) : a.commaSeparated ? o = We(r) : a.commaOrSpaceSeparated ? o = Ke(We(r).join(" ")) : o = Xe(a, a.property, r) : Array.isArray(r) ? o = [...r] : o = a.property === "style" ?
|
|
4727
|
+
} else typeof r == "boolean" ? o = r : typeof r == "string" ? a.spaceSeparated ? o = Ke(r) : a.commaSeparated ? o = We(r) : a.commaOrSpaceSeparated ? o = Ke(We(r).join(" ")) : o = Xe(a, a.property, r) : Array.isArray(r) ? o = [...r] : o = a.property === "style" ? Fn(r) : String(r);
|
|
4727
4728
|
if (Array.isArray(o)) {
|
|
4728
4729
|
const s = [];
|
|
4729
|
-
for (const
|
|
4730
|
+
for (const i of o)
|
|
4730
4731
|
s.push(
|
|
4731
4732
|
/** @type {number | string} */
|
|
4732
|
-
Xe(a, a.property,
|
|
4733
|
+
Xe(a, a.property, i)
|
|
4733
4734
|
);
|
|
4734
4735
|
o = s;
|
|
4735
4736
|
}
|
|
@@ -4754,24 +4755,24 @@ function Xe(e, n, t) {
|
|
|
4754
4755
|
if (typeof t == "string") {
|
|
4755
4756
|
if (e.number && t && !Number.isNaN(Number(t)))
|
|
4756
4757
|
return Number(t);
|
|
4757
|
-
if ((e.boolean || e.overloadedBoolean) && (t === "" ||
|
|
4758
|
+
if ((e.boolean || e.overloadedBoolean) && (t === "" || K(t) === K(n)))
|
|
4758
4759
|
return !0;
|
|
4759
4760
|
}
|
|
4760
4761
|
return t;
|
|
4761
4762
|
}
|
|
4762
|
-
function
|
|
4763
|
+
function Fn(e) {
|
|
4763
4764
|
const n = [];
|
|
4764
4765
|
for (const [t, r] of Object.entries(e))
|
|
4765
4766
|
n.push([t, r].join(": "));
|
|
4766
4767
|
return n.join("; ");
|
|
4767
4768
|
}
|
|
4768
|
-
function
|
|
4769
|
+
function Mn(e) {
|
|
4769
4770
|
const n = /* @__PURE__ */ new Map();
|
|
4770
4771
|
for (const t of e)
|
|
4771
4772
|
n.set(t.toLowerCase(), t);
|
|
4772
4773
|
return n;
|
|
4773
4774
|
}
|
|
4774
|
-
const
|
|
4775
|
+
const Un = [
|
|
4775
4776
|
"altGlyph",
|
|
4776
4777
|
"altGlyphDef",
|
|
4777
4778
|
"altGlyphItem",
|
|
@@ -4811,9 +4812,9 @@ const Fn = [
|
|
|
4811
4812
|
"solidColor",
|
|
4812
4813
|
"textArea",
|
|
4813
4814
|
"textPath"
|
|
4814
|
-
],
|
|
4815
|
-
|
|
4816
|
-
const
|
|
4815
|
+
], qn = gn(Ln, "div");
|
|
4816
|
+
gn(On, "g", Un);
|
|
4817
|
+
const Bn = [
|
|
4817
4818
|
"AElig",
|
|
4818
4819
|
"AMP",
|
|
4819
4820
|
"Aacute",
|
|
@@ -4950,20 +4951,20 @@ const Un = [
|
|
|
4950
4951
|
158: "ž",
|
|
4951
4952
|
159: "Ÿ"
|
|
4952
4953
|
};
|
|
4953
|
-
function
|
|
4954
|
+
function fn(e) {
|
|
4954
4955
|
const n = typeof e == "string" ? e.charCodeAt(0) : e;
|
|
4955
4956
|
return n >= 48 && n <= 57;
|
|
4956
4957
|
}
|
|
4957
|
-
function
|
|
4958
|
+
function $n(e) {
|
|
4958
4959
|
const n = typeof e == "string" ? e.charCodeAt(0) : e;
|
|
4959
4960
|
return n >= 97 && n <= 102 || n >= 65 && n <= 70 || n >= 48 && n <= 57;
|
|
4960
4961
|
}
|
|
4961
|
-
function
|
|
4962
|
+
function Gn(e) {
|
|
4962
4963
|
const n = typeof e == "string" ? e.charCodeAt(0) : e;
|
|
4963
4964
|
return n >= 97 && n <= 122 || n >= 65 && n <= 90;
|
|
4964
4965
|
}
|
|
4965
4966
|
function Qe(e) {
|
|
4966
|
-
return
|
|
4967
|
+
return Gn(e) || fn(e);
|
|
4967
4968
|
}
|
|
4968
4969
|
const en = {
|
|
4969
4970
|
AElig: "Æ",
|
|
@@ -7092,11 +7093,11 @@ const en = {
|
|
|
7092
7093
|
zscr: "𝓏",
|
|
7093
7094
|
zwj: "",
|
|
7094
7095
|
zwnj: ""
|
|
7095
|
-
},
|
|
7096
|
+
}, zn = {}.hasOwnProperty;
|
|
7096
7097
|
function nn(e) {
|
|
7097
|
-
return
|
|
7098
|
+
return zn.call(en, e) ? en[e] : !1;
|
|
7098
7099
|
}
|
|
7099
|
-
const
|
|
7100
|
+
const Hn = [
|
|
7100
7101
|
"",
|
|
7101
7102
|
/* 1: Non terminated (named) */
|
|
7102
7103
|
"Named character references must be terminated by a semicolon",
|
|
@@ -7113,116 +7114,116 @@ const Gn = [
|
|
|
7113
7114
|
/* 7: Prohibited (numeric) */
|
|
7114
7115
|
"Numeric character references cannot be outside the permissible Unicode range"
|
|
7115
7116
|
];
|
|
7116
|
-
function
|
|
7117
|
+
function Pn(e, n) {
|
|
7117
7118
|
const t = {}, r = typeof t.additional == "string" ? t.additional.charCodeAt(0) : t.additional, a = [];
|
|
7118
|
-
let o = 0, s = -1,
|
|
7119
|
+
let o = 0, s = -1, i = "", u, c;
|
|
7119
7120
|
t.position && ("start" in t.position || "indent" in t.position ? (c = t.position.indent, u = t.position.start) : u = t.position);
|
|
7120
|
-
let
|
|
7121
|
+
let g = (u ? u.line : 0) || 1, E = (u ? u.column : 0) || 1, k = S(), h;
|
|
7121
7122
|
for (o--; ++o <= e.length; )
|
|
7122
|
-
if (h === 10 && (
|
|
7123
|
-
const
|
|
7124
|
-
if (
|
|
7125
|
-
|
|
7123
|
+
if (h === 10 && (E = (c ? c[s] : 0) || 1), h = e.charCodeAt(o), h === 38) {
|
|
7124
|
+
const w = e.charCodeAt(o + 1);
|
|
7125
|
+
if (w === 9 || w === 10 || w === 12 || w === 32 || w === 38 || w === 60 || Number.isNaN(w) || r && w === r) {
|
|
7126
|
+
i += String.fromCharCode(h), E++;
|
|
7126
7127
|
continue;
|
|
7127
7128
|
}
|
|
7128
7129
|
const R = o + 1;
|
|
7129
|
-
let T = R,
|
|
7130
|
-
if (
|
|
7131
|
-
|
|
7132
|
-
const b = e.charCodeAt(
|
|
7133
|
-
b === 88 || b === 120 ? (v = "hexadecimal",
|
|
7130
|
+
let T = R, f = R, v;
|
|
7131
|
+
if (w === 35) {
|
|
7132
|
+
f = ++T;
|
|
7133
|
+
const b = e.charCodeAt(f);
|
|
7134
|
+
b === 88 || b === 120 ? (v = "hexadecimal", f = ++T) : v = "decimal";
|
|
7134
7135
|
} else
|
|
7135
7136
|
v = "named";
|
|
7136
7137
|
let L = "", O = "", I = "";
|
|
7137
|
-
const G = v === "named" ? Qe : v === "decimal" ?
|
|
7138
|
-
for (
|
|
7139
|
-
const b = e.charCodeAt(
|
|
7138
|
+
const G = v === "named" ? Qe : v === "decimal" ? fn : $n;
|
|
7139
|
+
for (f--; ++f <= e.length; ) {
|
|
7140
|
+
const b = e.charCodeAt(f);
|
|
7140
7141
|
if (!G(b))
|
|
7141
7142
|
break;
|
|
7142
|
-
I += String.fromCharCode(b), v === "named" &&
|
|
7143
|
+
I += String.fromCharCode(b), v === "named" && Bn.includes(I) && (L = I, O = nn(I));
|
|
7143
7144
|
}
|
|
7144
|
-
let
|
|
7145
|
-
if (
|
|
7146
|
-
|
|
7145
|
+
let M = e.charCodeAt(f) === 59;
|
|
7146
|
+
if (M) {
|
|
7147
|
+
f++;
|
|
7147
7148
|
const b = v === "named" ? nn(I) : !1;
|
|
7148
7149
|
b && (L = I, O = b);
|
|
7149
7150
|
}
|
|
7150
|
-
let C = 1 +
|
|
7151
|
-
if (!(!
|
|
7151
|
+
let C = 1 + f - R, D = "";
|
|
7152
|
+
if (!(!M && t.nonTerminated === !1)) if (!I)
|
|
7152
7153
|
v !== "named" && m(4, C);
|
|
7153
7154
|
else if (v === "named") {
|
|
7154
|
-
if (
|
|
7155
|
+
if (M && !O)
|
|
7155
7156
|
m(5, 1);
|
|
7156
|
-
else if (L !== I && (
|
|
7157
|
+
else if (L !== I && (f = T + L.length, C = 1 + f - T, M = !1), !M) {
|
|
7157
7158
|
const b = L ? 1 : 3;
|
|
7158
7159
|
if (t.attribute) {
|
|
7159
|
-
const B = e.charCodeAt(
|
|
7160
|
+
const B = e.charCodeAt(f);
|
|
7160
7161
|
B === 61 ? (m(b, C), O = "") : Qe(B) ? O = "" : m(b, C);
|
|
7161
7162
|
} else
|
|
7162
7163
|
m(b, C);
|
|
7163
7164
|
}
|
|
7164
7165
|
D = O;
|
|
7165
7166
|
} else {
|
|
7166
|
-
|
|
7167
|
+
M || m(2, C);
|
|
7167
7168
|
let b = Number.parseInt(
|
|
7168
7169
|
I,
|
|
7169
7170
|
v === "hexadecimal" ? 16 : 10
|
|
7170
7171
|
);
|
|
7171
|
-
if (
|
|
7172
|
+
if (Vn(b))
|
|
7172
7173
|
m(7, C), D = "�";
|
|
7173
7174
|
else if (b in Je)
|
|
7174
7175
|
m(6, C), D = Je[b];
|
|
7175
7176
|
else {
|
|
7176
7177
|
let B = "";
|
|
7177
|
-
|
|
7178
|
+
jn(b) && m(6, C), b > 65535 && (b -= 65536, B += String.fromCharCode(
|
|
7178
7179
|
b >>> 10 | 55296
|
|
7179
7180
|
), b = 56320 | b & 1023), D = B + String.fromCharCode(b);
|
|
7180
7181
|
}
|
|
7181
7182
|
}
|
|
7182
7183
|
if (D) {
|
|
7183
|
-
y(),
|
|
7184
|
-
const b =
|
|
7184
|
+
y(), k = S(), o = f - 1, E += f - R + 1, a.push(D);
|
|
7185
|
+
const b = S();
|
|
7185
7186
|
b.offset++, t.reference && t.reference.call(
|
|
7186
7187
|
t.referenceContext || void 0,
|
|
7187
7188
|
D,
|
|
7188
|
-
{ start:
|
|
7189
|
-
e.slice(R - 1,
|
|
7190
|
-
),
|
|
7189
|
+
{ start: k, end: b },
|
|
7190
|
+
e.slice(R - 1, f)
|
|
7191
|
+
), k = b;
|
|
7191
7192
|
} else
|
|
7192
|
-
I = e.slice(R - 1,
|
|
7193
|
+
I = e.slice(R - 1, f), i += I, E += I.length, o = f - 1;
|
|
7193
7194
|
} else
|
|
7194
|
-
h === 10 && (
|
|
7195
|
+
h === 10 && (g++, s++, E = 0), Number.isNaN(h) ? y() : (i += String.fromCharCode(h), E++);
|
|
7195
7196
|
return a.join("");
|
|
7196
|
-
function
|
|
7197
|
+
function S() {
|
|
7197
7198
|
return {
|
|
7198
|
-
line:
|
|
7199
|
-
column:
|
|
7199
|
+
line: g,
|
|
7200
|
+
column: E,
|
|
7200
7201
|
offset: o + ((u ? u.offset : 0) || 0)
|
|
7201
7202
|
};
|
|
7202
7203
|
}
|
|
7203
|
-
function m(
|
|
7204
|
+
function m(w, R) {
|
|
7204
7205
|
let T;
|
|
7205
|
-
t.warning && (T =
|
|
7206
|
+
t.warning && (T = S(), T.column += R, T.offset += R, t.warning.call(
|
|
7206
7207
|
t.warningContext || void 0,
|
|
7207
|
-
|
|
7208
|
+
Hn[w],
|
|
7208
7209
|
T,
|
|
7209
|
-
|
|
7210
|
+
w
|
|
7210
7211
|
));
|
|
7211
7212
|
}
|
|
7212
7213
|
function y() {
|
|
7213
|
-
|
|
7214
|
-
start:
|
|
7215
|
-
end:
|
|
7216
|
-
}),
|
|
7214
|
+
i && (a.push(i), t.text && t.text.call(t.textContext || void 0, i, {
|
|
7215
|
+
start: k,
|
|
7216
|
+
end: S()
|
|
7217
|
+
}), i = "");
|
|
7217
7218
|
}
|
|
7218
7219
|
}
|
|
7219
|
-
function
|
|
7220
|
+
function Vn(e) {
|
|
7220
7221
|
return e >= 55296 && e <= 57343 || e > 1114111;
|
|
7221
7222
|
}
|
|
7222
|
-
function
|
|
7223
|
+
function jn(e) {
|
|
7223
7224
|
return e >= 1 && e <= 8 || e === 11 || e >= 13 && e <= 31 || e >= 127 && e <= 159 || e >= 64976 && e <= 65007 || (e & 65535) === 65535 || (e & 65535) === 65534;
|
|
7224
7225
|
}
|
|
7225
|
-
var
|
|
7226
|
+
var Yn = 0, ne = {}, x = {
|
|
7226
7227
|
/**
|
|
7227
7228
|
* A namespace for utility methods.
|
|
7228
7229
|
*
|
|
@@ -7259,7 +7260,7 @@ var Vn = 0, ee = {}, x = {
|
|
|
7259
7260
|
* @returns {number}
|
|
7260
7261
|
*/
|
|
7261
7262
|
objId: function(e) {
|
|
7262
|
-
return e.__id || Object.defineProperty(e, "__id", { value: ++
|
|
7263
|
+
return e.__id || Object.defineProperty(e, "__id", { value: ++Yn }), e.__id;
|
|
7263
7264
|
},
|
|
7264
7265
|
/**
|
|
7265
7266
|
* Creates a deep clone of the given object.
|
|
@@ -7289,8 +7290,8 @@ var Vn = 0, ee = {}, x = {
|
|
|
7289
7290
|
case "Array":
|
|
7290
7291
|
return a = x.util.objId(n), t[a] ? t[a] : (r = [], t[a] = r, /** @type {any} */
|
|
7291
7292
|
n.forEach(
|
|
7292
|
-
function(s,
|
|
7293
|
-
r[
|
|
7293
|
+
function(s, i) {
|
|
7294
|
+
r[i] = e(s, t);
|
|
7294
7295
|
}
|
|
7295
7296
|
), /** @type {any} */
|
|
7296
7297
|
r);
|
|
@@ -7310,10 +7311,10 @@ var Vn = 0, ee = {}, x = {
|
|
|
7310
7311
|
/**
|
|
7311
7312
|
* The grammar for plain, unformatted text.
|
|
7312
7313
|
*/
|
|
7313
|
-
plain:
|
|
7314
|
-
plaintext:
|
|
7315
|
-
text:
|
|
7316
|
-
txt:
|
|
7314
|
+
plain: ne,
|
|
7315
|
+
plaintext: ne,
|
|
7316
|
+
text: ne,
|
|
7317
|
+
txt: ne,
|
|
7317
7318
|
/**
|
|
7318
7319
|
* Creates a deep copy of the language with the given id and appends the given tokens.
|
|
7319
7320
|
*
|
|
@@ -7430,13 +7431,13 @@ var Vn = 0, ee = {}, x = {
|
|
|
7430
7431
|
for (var s in a)
|
|
7431
7432
|
if (a.hasOwnProperty(s)) {
|
|
7432
7433
|
if (s == n)
|
|
7433
|
-
for (var
|
|
7434
|
-
t.hasOwnProperty(
|
|
7434
|
+
for (var i in t)
|
|
7435
|
+
t.hasOwnProperty(i) && (o[i] = t[i]);
|
|
7435
7436
|
t.hasOwnProperty(s) || (o[s] = a[s]);
|
|
7436
7437
|
}
|
|
7437
7438
|
var u = r[e];
|
|
7438
|
-
return r[e] = o, x.languages.DFS(x.languages, function(c,
|
|
7439
|
-
|
|
7439
|
+
return r[e] = o, x.languages.DFS(x.languages, function(c, g) {
|
|
7440
|
+
g === u && c != e && (this[c] = o);
|
|
7440
7441
|
}), o;
|
|
7441
7442
|
},
|
|
7442
7443
|
// Traverse a language definition with Depth First Search
|
|
@@ -7446,8 +7447,8 @@ var Vn = 0, ee = {}, x = {
|
|
|
7446
7447
|
for (var s in n)
|
|
7447
7448
|
if (n.hasOwnProperty(s)) {
|
|
7448
7449
|
t.call(n, s, n[s], r || s);
|
|
7449
|
-
var
|
|
7450
|
-
u === "Object" && !a[o(
|
|
7450
|
+
var i = n[s], u = x.util.type(i);
|
|
7451
|
+
u === "Object" && !a[o(i)] ? (a[o(i)] = !0, e(i, t, null, a)) : u === "Array" && !a[o(i)] && (a[o(i)] = !0, e(i, t, s, a));
|
|
7451
7452
|
}
|
|
7452
7453
|
}
|
|
7453
7454
|
},
|
|
@@ -7480,7 +7481,7 @@ var Vn = 0, ee = {}, x = {
|
|
|
7480
7481
|
};
|
|
7481
7482
|
if (x.hooks.run("before-tokenize", r), !r.grammar)
|
|
7482
7483
|
throw new Error('The language "' + r.language + '" has no grammar.');
|
|
7483
|
-
return r.tokens = x.tokenize(r.code, r.grammar), x.hooks.run("after-tokenize", r),
|
|
7484
|
+
return r.tokens = x.tokenize(r.code, r.grammar), x.hooks.run("after-tokenize", r), Z.stringify(x.util.encode(r.tokens), r.language);
|
|
7484
7485
|
},
|
|
7485
7486
|
/**
|
|
7486
7487
|
* This is the heart of Prism, and the most low-level function you can use. It accepts a string of text as input
|
|
@@ -7513,8 +7514,8 @@ var Vn = 0, ee = {}, x = {
|
|
|
7513
7514
|
n[r] = t[r];
|
|
7514
7515
|
delete n.rest;
|
|
7515
7516
|
}
|
|
7516
|
-
var a = new
|
|
7517
|
-
return
|
|
7517
|
+
var a = new Wn();
|
|
7518
|
+
return te(a, a.head, e), bn(e, a, n, a.head, 0), Kn(a);
|
|
7518
7519
|
},
|
|
7519
7520
|
/**
|
|
7520
7521
|
* @namespace
|
|
@@ -7555,9 +7556,9 @@ var Vn = 0, ee = {}, x = {
|
|
|
7555
7556
|
a(n);
|
|
7556
7557
|
}
|
|
7557
7558
|
},
|
|
7558
|
-
Token:
|
|
7559
|
+
Token: Z
|
|
7559
7560
|
};
|
|
7560
|
-
function
|
|
7561
|
+
function Z(e, n, t, r) {
|
|
7561
7562
|
this.type = e, this.content = n, this.alias = t, this.length = (r || "").length | 0;
|
|
7562
7563
|
}
|
|
7563
7564
|
function tn(e, n, t, r) {
|
|
@@ -7569,59 +7570,59 @@ function tn(e, n, t, r) {
|
|
|
7569
7570
|
}
|
|
7570
7571
|
return a;
|
|
7571
7572
|
}
|
|
7572
|
-
function
|
|
7573
|
+
function bn(e, n, t, r, a, o) {
|
|
7573
7574
|
for (var s in t)
|
|
7574
7575
|
if (!(!t.hasOwnProperty(s) || !t[s])) {
|
|
7575
|
-
var
|
|
7576
|
-
|
|
7577
|
-
for (var u = 0; u <
|
|
7576
|
+
var i = t[s];
|
|
7577
|
+
i = Array.isArray(i) ? i : [i];
|
|
7578
|
+
for (var u = 0; u < i.length; ++u) {
|
|
7578
7579
|
if (o && o.cause == s + "," + u)
|
|
7579
7580
|
return;
|
|
7580
|
-
var c =
|
|
7581
|
-
if (
|
|
7582
|
-
var
|
|
7583
|
-
c.pattern = RegExp(c.pattern.source,
|
|
7581
|
+
var c = i[u], g = c.inside, E = !!c.lookbehind, k = !!c.greedy, h = c.alias;
|
|
7582
|
+
if (k && !c.pattern.global) {
|
|
7583
|
+
var S = c.pattern.toString().match(/[imsuy]*$/)[0];
|
|
7584
|
+
c.pattern = RegExp(c.pattern.source, S + "g");
|
|
7584
7585
|
}
|
|
7585
|
-
for (var m = c.pattern || c, y = r.next,
|
|
7586
|
+
for (var m = c.pattern || c, y = r.next, w = a; y !== n.tail && !(o && w >= o.reach); w += y.value.length, y = y.next) {
|
|
7586
7587
|
var R = y.value;
|
|
7587
7588
|
if (n.length > e.length)
|
|
7588
7589
|
return;
|
|
7589
|
-
if (!(R instanceof
|
|
7590
|
-
var T = 1,
|
|
7591
|
-
if (
|
|
7592
|
-
if (
|
|
7590
|
+
if (!(R instanceof Z)) {
|
|
7591
|
+
var T = 1, f;
|
|
7592
|
+
if (k) {
|
|
7593
|
+
if (f = tn(m, w, e, E), !f || f.index >= e.length)
|
|
7593
7594
|
break;
|
|
7594
|
-
var I =
|
|
7595
|
+
var I = f.index, v = f.index + f[0].length, L = w;
|
|
7595
7596
|
for (L += y.value.length; I >= L; )
|
|
7596
7597
|
y = y.next, L += y.value.length;
|
|
7597
|
-
if (L -= y.value.length,
|
|
7598
|
+
if (L -= y.value.length, w = L, y.value instanceof Z)
|
|
7598
7599
|
continue;
|
|
7599
7600
|
for (var O = y; O !== n.tail && (L < v || typeof O.value == "string"); O = O.next)
|
|
7600
7601
|
T++, L += O.value.length;
|
|
7601
|
-
T--, R = e.slice(
|
|
7602
|
-
} else if (
|
|
7602
|
+
T--, R = e.slice(w, L), f.index -= w;
|
|
7603
|
+
} else if (f = tn(m, 0, R, E), !f)
|
|
7603
7604
|
continue;
|
|
7604
|
-
var I =
|
|
7605
|
+
var I = f.index, G = f[0], M = R.slice(0, I), C = R.slice(I + G.length), D = w + R.length;
|
|
7605
7606
|
o && D > o.reach && (o.reach = D);
|
|
7606
7607
|
var b = y.prev;
|
|
7607
|
-
|
|
7608
|
-
var B = new
|
|
7608
|
+
M && (b = te(n, b, M), w += M.length), Zn(n, b, T);
|
|
7609
|
+
var B = new Z(
|
|
7609
7610
|
s,
|
|
7610
|
-
|
|
7611
|
+
g ? x.tokenize(G, g) : G,
|
|
7611
7612
|
h,
|
|
7612
7613
|
G
|
|
7613
7614
|
);
|
|
7614
|
-
if (y =
|
|
7615
|
+
if (y = te(n, b, B), C && te(n, y, C), T > 1) {
|
|
7615
7616
|
var V = {
|
|
7616
7617
|
cause: s + "," + u,
|
|
7617
7618
|
reach: D
|
|
7618
7619
|
};
|
|
7619
|
-
|
|
7620
|
+
bn(
|
|
7620
7621
|
e,
|
|
7621
7622
|
n,
|
|
7622
7623
|
t,
|
|
7623
7624
|
y.prev,
|
|
7624
|
-
|
|
7625
|
+
w,
|
|
7625
7626
|
V
|
|
7626
7627
|
), o && V.reach > o.reach && (o.reach = V.reach);
|
|
7627
7628
|
}
|
|
@@ -7630,37 +7631,37 @@ function fn(e, n, t, r, a, o) {
|
|
|
7630
7631
|
}
|
|
7631
7632
|
}
|
|
7632
7633
|
}
|
|
7633
|
-
function
|
|
7634
|
+
function Wn() {
|
|
7634
7635
|
var e = { value: null, prev: null, next: null }, n = { value: null, prev: e, next: null };
|
|
7635
7636
|
e.next = n, this.head = e, this.tail = n, this.length = 0;
|
|
7636
7637
|
}
|
|
7637
|
-
function
|
|
7638
|
+
function te(e, n, t) {
|
|
7638
7639
|
var r = n.next, a = { value: t, prev: n, next: r };
|
|
7639
7640
|
return n.next = a, r.prev = a, e.length++, a;
|
|
7640
7641
|
}
|
|
7641
|
-
function
|
|
7642
|
+
function Zn(e, n, t) {
|
|
7642
7643
|
for (var r = n.next, a = 0; a < t && r !== e.tail; a++)
|
|
7643
7644
|
r = r.next;
|
|
7644
7645
|
n.next = r, r.prev = n, e.length -= a;
|
|
7645
7646
|
}
|
|
7646
|
-
function
|
|
7647
|
+
function Kn(e) {
|
|
7647
7648
|
for (var n = [], t = e.head.next; t !== e.tail; )
|
|
7648
7649
|
n.push(t.value), t = t.next;
|
|
7649
7650
|
return n;
|
|
7650
7651
|
}
|
|
7651
|
-
const
|
|
7652
|
-
function
|
|
7652
|
+
const hn = x;
|
|
7653
|
+
function mn() {
|
|
7653
7654
|
}
|
|
7654
|
-
|
|
7655
|
-
const d = new
|
|
7656
|
-
d.highlight =
|
|
7657
|
-
d.register =
|
|
7658
|
-
d.alias =
|
|
7659
|
-
d.registered =
|
|
7660
|
-
d.listLanguages =
|
|
7661
|
-
d.util.encode =
|
|
7655
|
+
mn.prototype = hn;
|
|
7656
|
+
const d = new mn();
|
|
7657
|
+
d.highlight = Xn;
|
|
7658
|
+
d.register = Jn;
|
|
7659
|
+
d.alias = Qn;
|
|
7660
|
+
d.registered = et;
|
|
7661
|
+
d.listLanguages = nt;
|
|
7662
|
+
d.util.encode = tt;
|
|
7662
7663
|
d.Token.stringify = de;
|
|
7663
|
-
function
|
|
7664
|
+
function Xn(e, n) {
|
|
7664
7665
|
if (typeof e != "string")
|
|
7665
7666
|
throw new TypeError("Expected `string` for `value`, got `" + e + "`");
|
|
7666
7667
|
let t, r;
|
|
@@ -7677,15 +7678,15 @@ function Zn(e, n) {
|
|
|
7677
7678
|
return {
|
|
7678
7679
|
type: "root",
|
|
7679
7680
|
// @ts-expect-error: we hacked Prism to accept and return the things we want.
|
|
7680
|
-
children:
|
|
7681
|
+
children: hn.highlight.call(d, e, t, r)
|
|
7681
7682
|
};
|
|
7682
7683
|
}
|
|
7683
|
-
function
|
|
7684
|
+
function Jn(e) {
|
|
7684
7685
|
if (typeof e != "function" || !e.displayName)
|
|
7685
7686
|
throw new Error("Expected `function` for `syntax`, got `" + e + "`");
|
|
7686
7687
|
Object.hasOwn(d.languages, e.displayName) || e(d);
|
|
7687
7688
|
}
|
|
7688
|
-
function
|
|
7689
|
+
function Qn(e, n) {
|
|
7689
7690
|
const t = d.languages;
|
|
7690
7691
|
let r = {};
|
|
7691
7692
|
typeof e == "string" ? n && (r[e] = n) : r = e;
|
|
@@ -7693,19 +7694,19 @@ function Xn(e, n) {
|
|
|
7693
7694
|
for (a in r)
|
|
7694
7695
|
if (Object.hasOwn(r, a)) {
|
|
7695
7696
|
const o = r[a], s = typeof o == "string" ? [o] : o;
|
|
7696
|
-
let
|
|
7697
|
-
for (; ++
|
|
7698
|
-
t[s[
|
|
7697
|
+
let i = -1;
|
|
7698
|
+
for (; ++i < s.length; )
|
|
7699
|
+
t[s[i]] = t[a];
|
|
7699
7700
|
}
|
|
7700
7701
|
}
|
|
7701
|
-
function
|
|
7702
|
+
function et(e) {
|
|
7702
7703
|
if (typeof e != "string")
|
|
7703
7704
|
throw new TypeError(
|
|
7704
7705
|
"Expected `string` for `aliasOrLanguage`, got `" + e + "`"
|
|
7705
7706
|
);
|
|
7706
7707
|
return Object.hasOwn(d.languages, e);
|
|
7707
7708
|
}
|
|
7708
|
-
function
|
|
7709
|
+
function nt() {
|
|
7709
7710
|
const e = d.languages, n = [];
|
|
7710
7711
|
let t;
|
|
7711
7712
|
for (t in e)
|
|
@@ -7735,35 +7736,35 @@ function de(e, n) {
|
|
|
7735
7736
|
};
|
|
7736
7737
|
return e.alias && t.classes.push(
|
|
7737
7738
|
...typeof e.alias == "string" ? [e.alias] : e.alias
|
|
7738
|
-
), d.hooks.run("wrap", t),
|
|
7739
|
+
), d.hooks.run("wrap", t), qn(
|
|
7739
7740
|
t.tag + "." + t.classes.join("."),
|
|
7740
|
-
|
|
7741
|
+
rt(t.attributes),
|
|
7741
7742
|
t.content
|
|
7742
7743
|
);
|
|
7743
7744
|
}
|
|
7744
|
-
function
|
|
7745
|
+
function tt(e) {
|
|
7745
7746
|
return e;
|
|
7746
7747
|
}
|
|
7747
|
-
function
|
|
7748
|
+
function rt(e) {
|
|
7748
7749
|
let n;
|
|
7749
7750
|
for (n in e)
|
|
7750
|
-
Object.hasOwn(e, n) && (e[n] =
|
|
7751
|
+
Object.hasOwn(e, n) && (e[n] = Pn(e[n]));
|
|
7751
7752
|
return e;
|
|
7752
7753
|
}
|
|
7753
7754
|
d.register($);
|
|
7754
|
-
d.register(
|
|
7755
|
-
d.register(
|
|
7755
|
+
d.register(X);
|
|
7756
|
+
d.register(re);
|
|
7756
7757
|
d.register(ge);
|
|
7757
7758
|
d.register(fe);
|
|
7758
7759
|
d.register(be);
|
|
7759
|
-
d.register(
|
|
7760
|
+
d.register(J);
|
|
7760
7761
|
d.register(j);
|
|
7761
7762
|
d.register(he);
|
|
7762
7763
|
d.register(me);
|
|
7763
7764
|
d.register(ye);
|
|
7764
7765
|
d.register(Ee);
|
|
7765
7766
|
d.register(Se);
|
|
7766
|
-
d.register(
|
|
7767
|
+
d.register(ae);
|
|
7767
7768
|
d.register(we);
|
|
7768
7769
|
d.register(Ae);
|
|
7769
7770
|
d.register(ke);
|
|
@@ -7773,7 +7774,7 @@ d.register(Re);
|
|
|
7773
7774
|
d.register(Ne);
|
|
7774
7775
|
d.register(Ie);
|
|
7775
7776
|
d.register(xe);
|
|
7776
|
-
d.register(
|
|
7777
|
+
d.register(oe);
|
|
7777
7778
|
d.register(Le);
|
|
7778
7779
|
d.register(Oe);
|
|
7779
7780
|
d.register(Ce);
|
|
@@ -7784,9 +7785,9 @@ d.register(Me);
|
|
|
7784
7785
|
d.register(Ue);
|
|
7785
7786
|
d.register(qe);
|
|
7786
7787
|
d.register(Be);
|
|
7787
|
-
d.register(
|
|
7788
|
+
d.register(le);
|
|
7788
7789
|
d.register($e);
|
|
7789
|
-
function
|
|
7790
|
+
function at(e) {
|
|
7790
7791
|
const n = e.split(`
|
|
7791
7792
|
`);
|
|
7792
7793
|
let t = Number.POSITIVE_INFINITY;
|
|
@@ -7799,41 +7800,45 @@ function tt(e) {
|
|
|
7799
7800
|
return n.map((a) => a.length > 0 ? a.slice(t) : a).join(`
|
|
7800
7801
|
`).trim();
|
|
7801
7802
|
}
|
|
7802
|
-
function
|
|
7803
|
-
return
|
|
7803
|
+
function ot(e) {
|
|
7804
|
+
return an(() => at(e), [e]);
|
|
7804
7805
|
}
|
|
7805
7806
|
function pe(e) {
|
|
7806
7807
|
if (e.type === "root")
|
|
7807
|
-
return /* @__PURE__ */
|
|
7808
|
+
return /* @__PURE__ */ _.jsx(_.Fragment, { children: e.children.map((n, t) => (
|
|
7808
7809
|
// eslint-disable-next-line react/no-array-index-key
|
|
7809
|
-
/* @__PURE__ */
|
|
7810
|
+
/* @__PURE__ */ _.jsx(pe, { ...n }, n.type + t)
|
|
7810
7811
|
)) });
|
|
7811
7812
|
if (e.type === "element" && e.tagName === "span") {
|
|
7812
7813
|
const n = e.properties.className;
|
|
7813
|
-
return !n || !Array.isArray(n) ? null : /* @__PURE__ */
|
|
7814
|
+
return !n || !Array.isArray(n) ? null : /* @__PURE__ */ _.jsx("span", { className: W(n.includes("operator") && "kakadu-components-1667726031", n.includes("boolean") && "kakadu-components-384894690", n.includes("tag") && "kakadu-components-2912867647", n.includes("number") && "kakadu-components-1802647269", (n.includes("string") || n.includes("attr-value")) && "kakadu-components-3418498183", n.includes("function") && "kakadu-components-3194749274", n.includes("comment") && "kakadu-components-1827768978", n.includes("keyword") && "kakadu-components-2707971154"), children: e.children.map((t, r) => (
|
|
7814
7815
|
// eslint-disable-next-line react/no-array-index-key
|
|
7815
|
-
/* @__PURE__ */
|
|
7816
|
+
/* @__PURE__ */ _.jsx(pe, { ...t }, t.type + r)
|
|
7816
7817
|
)) });
|
|
7817
7818
|
}
|
|
7818
7819
|
return e.type === "text" ? e.value : null;
|
|
7819
7820
|
}
|
|
7820
|
-
|
|
7821
|
+
const rn = "kakadu-components-674963254";
|
|
7822
|
+
function pt({
|
|
7821
7823
|
language: e,
|
|
7822
7824
|
footnote: n,
|
|
7823
7825
|
isBlock: t,
|
|
7824
|
-
|
|
7825
|
-
|
|
7826
|
-
|
|
7827
|
-
|
|
7826
|
+
isSkeleton: r,
|
|
7827
|
+
isSkeletonAnimated: a,
|
|
7828
|
+
children: o,
|
|
7829
|
+
className: s,
|
|
7830
|
+
innerClassName: i,
|
|
7831
|
+
...u
|
|
7828
7832
|
}) {
|
|
7829
|
-
const
|
|
7830
|
-
return t ? /* @__PURE__ */
|
|
7831
|
-
/* @__PURE__ */
|
|
7832
|
-
/* @__PURE__ */
|
|
7833
|
-
n ? /* @__PURE__ */
|
|
7834
|
-
|
|
7833
|
+
const c = ot(o), g = an(() => e && !r ? d.highlight(c, e) : void 0, [c, e, r]), E = /* @__PURE__ */ _.jsx("code", { className: W("kakadu-components-1675352502", t ? i : s), ...t ? {} : u, children: g ? /* @__PURE__ */ _.jsx(pe, { ...g }) : c });
|
|
7834
|
+
return t ? /* @__PURE__ */ _.jsxs("div", { className: W("kakadu-components-663285900", s), children: [
|
|
7835
|
+
/* @__PURE__ */ _.jsx("pre", { className: W("kakadu-components-2825366733", r && rn), ...u, children: E }),
|
|
7836
|
+
r ? null : /* @__PURE__ */ _.jsx("div", { className: "kakadu-components-449901473", children: /* @__PURE__ */ _.jsx(En, { value: c }) }),
|
|
7837
|
+
n ? /* @__PURE__ */ _.jsx(Sn, { className: W(r && rn), children: n }) : null,
|
|
7838
|
+
r ? /* @__PURE__ */ _.jsx("div", { className: "kakadu-components-1313875937", children: /* @__PURE__ */ _.jsx(wn, { width: "100%", height: "100%", isAnimated: a }) }) : null
|
|
7839
|
+
] }) : E;
|
|
7835
7840
|
}
|
|
7836
7841
|
export {
|
|
7837
|
-
|
|
7838
|
-
|
|
7842
|
+
pt as default,
|
|
7843
|
+
at as formatCode
|
|
7839
7844
|
};
|