@rankingcoach/vanguard 1.3.0 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/icons/Icon-tools-active-1.svg +3 -0
- package/dist/icons/Icon-tools-active.svg +3 -0
- package/dist/index-AMPMMidnightParser.js +1 -1
- package/dist/index-AMPMParser.js +1 -1
- package/dist/index-Accordion2.js +1 -1
- package/dist/index-AccordionDetails.js +1 -1
- package/dist/index-AccordionSummary.js +1 -1
- package/dist/index-AppBar2.js +1 -1
- package/dist/index-Autocomplete2.js +1 -1
- package/dist/index-Backdrop.js +1 -1
- package/dist/index-BasePopper.js +1 -1
- package/dist/index-Box.js +1 -1
- package/dist/index-Button2.js +1 -1
- package/dist/index-ButtonBase.js +1 -1
- package/dist/index-CSSTransition.js +1 -1
- package/dist/index-Calendar.js +20 -20
- package/dist/index-CalendarPicker.js +1 -1
- package/dist/index-Chip.js +1 -1
- package/dist/index-ClickAwayListener.js +1 -1
- package/dist/index-ClockPicker.js +1 -1
- package/dist/index-Collapse2.js +1 -1
- package/dist/index-ControlledValuePlugin.js +1 -1
- package/dist/index-CreditCard.js +1 -1
- package/dist/index-DateInput.js +1 -1
- package/dist/index-DateParser.js +1 -1
- package/dist/index-DatePicker2.js +1 -1
- package/dist/index-DateRange2.js +7 -7
- package/dist/index-DateRangePicker2.js +1 -1
- package/dist/index-DayCell.js +7 -7
- package/dist/index-DayOfYearParser.js +1 -1
- package/dist/index-DayParser.js +1 -1
- package/dist/index-DayPeriodParser.js +1 -1
- package/dist/index-DefaultPropsProvider.js +1 -1
- package/dist/index-DefaultPropsProvider2.js +1 -1
- package/dist/index-DefaultValuePlugin.js +1 -1
- package/dist/index-DefinedRange.js +1 -1
- package/dist/index-DesktopDatePicker.js +1 -1
- package/dist/index-Dialog.js +1 -1
- package/dist/index-DialogActions.js +1 -1
- package/dist/index-DialogContent.js +1 -1
- package/dist/index-Drawer2.js +1 -1
- package/dist/index-EraParser.js +1 -1
- package/dist/index-ExtendedYearParser.js +1 -1
- package/dist/index-Fade.js +1 -1
- package/dist/index-FilledInput.js +1 -1
- package/dist/index-FocusTrap.js +1 -1
- package/dist/index-FormControl2.js +1 -1
- package/dist/index-FormHelperText.js +1 -1
- package/dist/index-FormLabel.js +1 -1
- package/dist/index-FractionOfSecondParser.js +1 -1
- package/dist/index-GlobalStyles.js +1 -1
- package/dist/index-GlobalStyles2.js +1 -1
- package/dist/index-GlobalStyles3.js +1 -1
- package/dist/index-Grid.js +1 -1
- package/dist/index-Grow.js +1 -1
- package/dist/index-Hour0To11Parser.js +1 -1
- package/dist/index-Hour0to23Parser.js +1 -1
- package/dist/index-Hour1To24Parser.js +1 -1
- package/dist/index-Hour1to12Parser.js +1 -1
- package/dist/index-HyperlinkPlugin.js +1 -1
- package/dist/index-ISODayParser.js +1 -1
- package/dist/index-ISOTimezoneParser.js +1 -1
- package/dist/index-ISOTimezoneWithZParser.js +1 -1
- package/dist/index-ISOWeekParser.js +1 -1
- package/dist/index-ISOWeekYearParser.js +1 -1
- package/dist/index-Icon-tools-active-1.svg.js +4 -0
- package/dist/index-Icon-tools-active.svg.js +4 -0
- package/dist/index-IconButton2.js +1 -1
- package/dist/index-Input2.js +1 -1
- package/dist/index-InputAdornment.js +1 -1
- package/dist/index-InputBase.js +48 -43
- package/dist/index-InputBase2.js +1 -1
- package/dist/index-InputLabel.js +1 -1
- package/dist/index-InputRangeField.js +1 -1
- package/dist/index-KeywordNode.js +1 -1
- package/dist/index-KeywordPlugin.js +1 -1
- package/dist/index-LinearProgress.js +1 -1
- package/dist/index-List2.js +1 -1
- package/dist/index-ListSubheader.js +1 -1
- package/dist/index-LocalDayParser.js +1 -1
- package/dist/index-LocalWeekParser.js +1 -1
- package/dist/index-LocalWeekYearParser.js +1 -1
- package/dist/index-LocalizationProvider.js +1 -1
- package/dist/index-LoginButton.js +1 -1
- package/dist/index-Menu.js +1 -1
- package/dist/index-MenuItem.js +1 -1
- package/dist/index-MenuList.js +1 -1
- package/dist/index-MinuteParser.js +1 -1
- package/dist/index-MobileDatePicker.js +1 -1
- package/dist/index-Modal2.js +1 -1
- package/dist/index-Month.js +10 -10
- package/dist/index-MonthParser.js +1 -1
- package/dist/index-MonthPicker.js +1 -1
- package/dist/index-NativeSelectInput.js +1 -1
- package/dist/index-NotchedOutline.js +1 -1
- package/dist/index-OnChangeContentPlugin.js +1 -1
- package/dist/index-OnFocusOnBlurPlugin.js +1 -1
- package/dist/index-OutlinedInput.js +1 -1
- package/dist/index-Paper.js +1 -1
- package/dist/index-Parser2.js +314 -255
- package/dist/index-Parser3.js +129 -2
- package/dist/index-PickersDay.js +1 -1
- package/dist/index-Popover2.js +1 -1
- package/dist/index-Popper.js +1 -1
- package/dist/index-Portal.js +1 -1
- package/dist/index-PropTypes.js +1 -1
- package/dist/index-QuarterParser.js +1 -1
- package/dist/index-Ripple.js +1 -1
- package/dist/index-RtlProvider.js +1 -1
- package/dist/index-ScrollbarSize.js +1 -1
- package/dist/index-SecondParser.js +1 -1
- package/dist/index-Select2.js +1 -1
- package/dist/index-SelectInput2.js +1 -1
- package/dist/index-Skeleton2.js +1 -1
- package/dist/index-Slide.js +1 -1
- package/dist/index-Slider2.js +1 -1
- package/dist/index-SliderValueLabel.js +1 -1
- package/dist/index-Snackbar2.js +1 -1
- package/dist/index-SnackbarContent.js +1 -1
- package/dist/index-StandAloneLocalDayParser.js +1 -1
- package/dist/index-StandAloneMonthParser.js +1 -1
- package/dist/index-StandAloneQuarterParser.js +1 -1
- package/dist/index-StyledEngineProvider.js +1 -1
- package/dist/index-StyledSVG2.js +1 -1
- package/dist/index-SvgIcon.js +1 -1
- package/dist/index-Tab2.js +1 -1
- package/dist/index-TabScrollButton.js +1 -1
- package/dist/index-Tabs2.js +1 -1
- package/dist/index-Text.js +18 -18
- package/dist/index-TextField.js +1 -1
- package/dist/index-TextHighlighted.js +23 -19
- package/dist/index-TextareaAutosize.js +1 -1
- package/dist/index-TimestampMillisecondsParser.js +1 -1
- package/dist/index-TimestampSecondsParser.js +1 -1
- package/dist/index-ToggleButton2.js +1 -1
- package/dist/index-ToggleButtonGroup2.js +1 -1
- package/dist/index-Tokenizer.js +411 -334
- package/dist/index-Tokenizer2.js +139 -2
- package/dist/index-Toolbar2.js +1 -1
- package/dist/index-Tooltip.js +1 -1
- package/dist/index-TouchRipple.js +1 -1
- package/dist/index-Transition.js +1 -1
- package/dist/index-TransitionGroup.js +1 -1
- package/dist/index-Typography.js +1 -1
- package/dist/index-YearParser.js +1 -1
- package/dist/index-YearPicker.js +1 -1
- package/dist/index-_virtual12.js +1 -1
- package/dist/index-_virtual15.js +2 -5
- package/dist/index-_virtual16.js +5 -3
- package/dist/index-_virtual17.js +5 -2
- package/dist/index-_virtual18.js +2 -7
- package/dist/index-_virtual19.js +4 -4
- package/dist/index-_virtual21.js +2 -2
- package/dist/index-_virtual22.js +2 -2
- package/dist/index-_virtual23.js +2 -3
- package/dist/index-_virtual24.js +2 -2
- package/dist/index-_virtual25.js +2 -2
- package/dist/index-_virtual26.js +2 -2
- package/dist/index-_virtual27.js +2 -2
- package/dist/index-_virtual28.js +2 -2
- package/dist/index-_virtual30.js +2 -2
- package/dist/index-_virtual31.js +2 -2
- package/dist/index-_virtual32.js +3 -2
- package/dist/index-_virtual34.js +2 -2
- package/dist/index-_virtual35.js +2 -4
- package/dist/index-_virtual36.js +1 -1
- package/dist/index-_virtual37.js +1 -1
- package/dist/index-_virtual38.js +1 -1
- package/dist/index-_virtual39.js +1 -1
- package/dist/index-_virtual40.js +1 -1
- package/dist/index-_virtual41.js +4 -2
- package/dist/index-_virtual42.js +2 -4
- package/dist/index-_virtual43.js +1 -1
- package/dist/index-_virtual44.js +1 -1
- package/dist/index-_virtual45.js +1 -1
- package/dist/index-_virtual46.js +1 -1
- package/dist/index-_virtual47.js +1 -1
- package/dist/index-_virtual48.js +1 -1
- package/dist/index-_virtual49.js +1 -1
- package/dist/index-_virtual50.js +1 -1
- package/dist/index-_virtual51.js +1 -1
- package/dist/index-_virtual52.js +1 -1
- package/dist/index-_virtual53.js +1 -1
- package/dist/index-_virtual54.js +1 -1
- package/dist/index-_virtual55.js +1 -1
- package/dist/index-_virtual56.js +1 -1
- package/dist/index-_virtual57.js +1 -1
- package/dist/index-_virtual58.js +4 -2
- package/dist/index-_virtual60.js +2 -4
- package/dist/index-_virtual61.js +1 -1
- package/dist/index-_virtual62.js +4 -2
- package/dist/index-_virtual63.js +2 -2
- package/dist/index-_virtual66.js +2 -2
- package/dist/index-_virtual67.js +2 -4
- package/dist/index-_virtual68.js +4 -2
- package/dist/index-_virtual74.js +1 -1
- package/dist/index-_virtual76.js +2 -2
- package/dist/index-_virtual77.js +4 -2
- package/dist/index-_virtual78.js +1 -1
- package/dist/index-_virtual79.js +1 -1
- package/dist/index-_virtual80.js +1 -1
- package/dist/index-_virtual81.js +1 -1
- package/dist/index-_virtual82.js +1 -1
- package/dist/index-_virtual83.js +1 -1
- package/dist/index-_virtual84.js +1 -1
- package/dist/index-_virtual85.js +2 -4
- package/dist/index-_virtual86.js +2 -2
- package/dist/index-applyInternationalSeparatorStyle.js +1 -1
- package/dist/index-attributes-to-props.js +1 -1
- package/dist/index-cjs.js +19 -75
- package/dist/index-colorManipulator3.js +2 -2
- package/dist/index-constants.js +38 -8
- package/dist/index-constants2.js +8 -38
- package/dist/index-createExtensionPattern.js +1 -1
- package/dist/index-createStyled2.js +6 -6
- package/dist/index-decode-data-html.js +5 -11
- package/dist/index-decode-data-xml.js +5 -11
- package/dist/index-decode.js +263 -216
- package/dist/index-decode_codepoint.js +43 -53
- package/dist/index-defaultRanges.js +10 -10
- package/dist/index-dist5.js +1 -1
- package/dist/index-elementAcceptingRef.js +1 -1
- package/dist/index-elementTypeAcceptingRef.js +1 -1
- package/dist/index-emotion-cache.browser.esm.js +2 -2
- package/dist/index-escape.js +43 -48
- package/dist/index-esm2.js +108 -129
- package/dist/index-esm3.js +12 -301
- package/dist/index-esm4.js +135 -17
- package/dist/index-esm5.js +303 -0
- package/dist/index-esm6.js +21 -0
- package/dist/index-esm7.js +102 -0
- package/dist/index-exenv.js +1 -1
- package/dist/index-extractCountryCallingCode.js +1 -1
- package/dist/index-extractPhoneContext.js +1 -1
- package/dist/index-foreignNames.js +101 -108
- package/dist/index-helpers3.js +1 -1
- package/dist/index-http.store.js +1 -1
- package/dist/index-isViablePhoneNumber.js +1 -1
- package/dist/index-keycode.js +1 -1
- package/dist/index-lib.js +2 -2
- package/dist/index-lib2.js +424 -111
- package/dist/index-lib3.js +14 -433
- package/dist/index-lib4.js +120 -14
- package/dist/index-lib5.js +10 -69
- package/dist/index-mpd-parser.es.js +1 -1
- package/dist/index-node.js +1 -1
- package/dist/index-node2.js +1 -1
- package/dist/index-parse2.js +1 -1
- package/dist/index-parse3.js +122 -20
- package/dist/index-refType.js +1 -1
- package/dist/index-responsivePropType.js +1 -1
- package/dist/index-sanitize-html.js +91 -48
- package/dist/index-stripIddPrefix.js +1 -1
- package/dist/index-style-to-object.js +1 -1
- package/dist/index-text-animate-words-style.js +12 -12
- package/dist/index-tiny-emitter.js +1 -1
- package/dist/index-use-dynamic-import.js +2 -0
- package/dist/index-useHyperlinkEditor.js +1 -1
- package/dist/index-useLexicalToolbar.js +1 -1
- package/dist/index-useRteAiAssistant-selection.js +5 -5
- package/dist/index-useThemeWithoutDefault3.js +1 -1
- package/dist/index-utilities.js +1 -1
- package/dist/index-utilities2.js +1 -1
- package/dist/index-utils2.js +1 -1
- package/dist/index-utils6.js +7 -7
- package/dist/index.js +428 -426
- package/dist/types/core/RichTextEditor/stories/RichTextEditorStory.story.d.ts +2 -0
- package/dist/types/core/RichTextEditor/stories/RichTextEditorWithXSSAttackStory.story.d.ts +2 -0
- package/dist/types/core/RichTextEditor/stories/_RichTextEditor.default.d.ts +4 -0
- package/dist/types/core/RichTextEditor/stories/bootstrap/richtexteditor.test.slice.d.ts +1 -0
- package/dist/types/core/TextHighlighted/stories/TextHighlightedStory.story.d.ts +2 -0
- package/dist/types/core/TextHighlighted/stories/TextHighlightedStory2.story.d.ts +2 -0
- package/dist/types/core/TextHighlighted/stories/TextHighlightedWithEmphasisStory.story.d.ts +2 -0
- package/dist/types/core/TextHighlighted/stories/TextHighlightedWithXSSAttackStory.story.d.ts +2 -0
- package/dist/types/core/TextHighlighted/stories/_TextHighlighted.default.d.ts +7 -0
- package/dist/types/core/_internal/InputBase/stories/HighlightLengthExceededTest.story.d.ts +2 -0
- package/dist/types/core/_internal/InputBase/stories/HighlightUrlTest.story.d.ts +2 -0
- package/dist/types/core/_internal/InputBase/stories/HighlightWordsTest.story.d.ts +2 -0
- package/dist/types/helpers/sanitize-html.d.ts +18 -3
- package/dist/types/index.d.ts +2 -0
- package/dist/vanguard-asset-analysis.json +1 -1
- package/dist-wordpress/Icon-tools-active-1-B-9tOuX0.mjs +4 -0
- package/dist-wordpress/Icon-tools-active-t9IjG2pg.mjs +4 -0
- package/dist-wordpress/index.js +23653 -22245
- package/package.json +5 -2
- package/scripts/check-meta-coverage.js +117 -0
- package/scripts/generate-exports-props.js +855 -0
- package/dist/index-Parser5.js +0 -131
- package/dist/index-Tokenizer3.js +0 -141
- package/dist/index-_virtual87.js +0 -4
- package/dist/index-_virtual88.js +0 -4
- package/dist/index-_virtual89.js +0 -4
- package/dist/index-_virtual90.js +0 -4
- package/dist/index-_virtual91.js +0 -4
- package/dist/index-at-rule.js +0 -22
- package/dist/index-cjs2.js +0 -23
- package/dist/index-comment.js +0 -16
- package/dist/index-container.js +0 -223
- package/dist/index-css-syntax-error.js +0 -56
- package/dist/index-declaration.js +0 -19
- package/dist/index-decode-data-html2.js +0 -4
- package/dist/index-decode-data-xml2.js +0 -4
- package/dist/index-decode2.js +0 -4
- package/dist/index-decode_codepoint2.js +0 -4
- package/dist/index-document3.js +0 -23
- package/dist/index-encode-html.js +0 -15
- package/dist/index-encode-html2.js +0 -4
- package/dist/index-encode.js +0 -49
- package/dist/index-encode2.js +0 -4
- package/dist/index-escape-string-regexp.js +0 -11
- package/dist/index-escape2.js +0 -4
- package/dist/index-feeds.js +0 -92
- package/dist/index-feeds2.js +0 -4
- package/dist/index-foreignNames2.js +0 -4
- package/dist/index-fromJSON.js +0 -46
- package/dist/index-helpers4.js +0 -54
- package/dist/index-helpers5.js +0 -4
- package/dist/index-input3.js +0 -139
- package/dist/index-is-plain-object.js +0 -17
- package/dist/index-is-plain-object2.js +0 -4
- package/dist/index-lazy-result.js +0 -343
- package/dist/index-legacy.js +0 -75
- package/dist/index-legacy2.js +0 -4
- package/dist/index-lib6.js +0 -13
- package/dist/index-lib7.js +0 -43
- package/dist/index-lib8.js +0 -147
- package/dist/index-lib9.js +0 -90
- package/dist/index-list3.js +0 -25
- package/dist/index-manipulation.js +0 -61
- package/dist/index-manipulation2.js +0 -4
- package/dist/index-map-generator.js +0 -171
- package/dist/index-no-work-result.js +0 -94
- package/dist/index-node4.js +0 -259
- package/dist/index-non-secure.js +0 -20
- package/dist/index-parse-srcset.js +0 -71
- package/dist/index-parse-srcset2.js +0 -4
- package/dist/index-parse4.js +0 -127
- package/dist/index-parser4.js +0 -322
- package/dist/index-picocolors.browser.js +0 -13
- package/dist/index-picocolors.browser2.js +0 -4
- package/dist/index-postcss.js +0 -46
- package/dist/index-previous-map.js +0 -92
- package/dist/index-processor.js +0 -43
- package/dist/index-querying.js +0 -63
- package/dist/index-querying2.js +0 -4
- package/dist/index-result.js +0 -30
- package/dist/index-root.js +0 -38
- package/dist/index-rule.js +0 -24
- package/dist/index-sanitize-html2.js +0 -672
- package/dist/index-stringifier.js +0 -196
- package/dist/index-stringify.js +0 -14
- package/dist/index-stringify2.js +0 -36
- package/dist/index-stringify3.js +0 -4
- package/dist/index-symbols.js +0 -8
- package/dist/index-symbols2.js +0 -4
- package/dist/index-tokenize.js +0 -114
- package/dist/index-traversal.js +0 -48
- package/dist/index-traversal2.js +0 -4
- package/dist/index-warn-once.js +0 -12
- package/dist/index-warning2.js +0 -25
- /package/dist/{index-Parser6.js → index-Parser4.js} +0 -0
package/dist/index-lib3.js
CHANGED
|
@@ -1,437 +1,18 @@
|
|
|
1
|
-
import { __exports as a } from "./index-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
function S(e, r) {
|
|
14
|
-
var t = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
15
|
-
if (t != null) {
|
|
16
|
-
var i = [], s = !0, c = !1, p, k;
|
|
17
|
-
try {
|
|
18
|
-
for (t = t.call(e); !(s = (p = t.next()).done) && (i.push(p.value), !(r && i.length === r)); s = !0)
|
|
19
|
-
;
|
|
20
|
-
} catch (z) {
|
|
21
|
-
c = !0, k = z;
|
|
22
|
-
} finally {
|
|
23
|
-
try {
|
|
24
|
-
!s && t.return != null && t.return();
|
|
25
|
-
} finally {
|
|
26
|
-
if (c) throw k;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
return i;
|
|
1
|
+
import { __exports as a } from "./index-_virtual34.js";
|
|
2
|
+
var e;
|
|
3
|
+
function D() {
|
|
4
|
+
return e ? a : (e = 1, (function(i) {
|
|
5
|
+
Object.defineProperty(i, "__esModule", { value: !0 }), i.Doctype = i.CDATA = i.Tag = i.Style = i.Script = i.Comment = i.Directive = i.Text = i.Root = i.isTag = i.ElementType = void 0;
|
|
6
|
+
var t;
|
|
7
|
+
(function(c) {
|
|
8
|
+
c.Root = "root", c.Text = "text", c.Directive = "directive", c.Comment = "comment", c.Script = "script", c.Style = "style", c.Tag = "tag", c.CDATA = "cdata", c.Doctype = "doctype";
|
|
9
|
+
})(t = i.ElementType || (i.ElementType = {}));
|
|
10
|
+
function n(c) {
|
|
11
|
+
return c.type === t.Tag || c.type === t.Script || c.type === t.Style;
|
|
30
12
|
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
if (e) {
|
|
34
|
-
if (typeof e == "string") return y(e, r);
|
|
35
|
-
var t = Object.prototype.toString.call(e).slice(8, -1);
|
|
36
|
-
if (t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set") return Array.from(e);
|
|
37
|
-
if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return y(e, r);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
function y(e, r) {
|
|
41
|
-
(r == null || r > e.length) && (r = e.length);
|
|
42
|
-
for (var t = 0, i = new Array(r); t < r; t++) i[t] = e[t];
|
|
43
|
-
return i;
|
|
44
|
-
}
|
|
45
|
-
function I() {
|
|
46
|
-
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
47
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
48
|
-
}
|
|
49
|
-
var g = 0, l = 1, u = 2, f = 3, h = 4, w = 5, b = 6;
|
|
50
|
-
function R(e) {
|
|
51
|
-
return n.hasOwnProperty(e) ? n[e] : null;
|
|
52
|
-
}
|
|
53
|
-
function o(e, r, t, i, s, c, p) {
|
|
54
|
-
this.acceptsBooleans = r === u || r === f || r === h, this.attributeName = i, this.attributeNamespace = s, this.mustUseProperty = t, this.propertyName = e, this.type = r, this.sanitizeURL = c, this.removeEmptyString = p;
|
|
55
|
-
}
|
|
56
|
-
var n = {}, O = [
|
|
57
|
-
"children",
|
|
58
|
-
"dangerouslySetInnerHTML",
|
|
59
|
-
// TODO: This prevents the assignment of defaultValue to regular
|
|
60
|
-
// elements (not just inputs). Now that ReactDOMInput assigns to the
|
|
61
|
-
// defaultValue property -- do we need this?
|
|
62
|
-
"defaultValue",
|
|
63
|
-
"defaultChecked",
|
|
64
|
-
"innerHTML",
|
|
65
|
-
"suppressContentEditableWarning",
|
|
66
|
-
"suppressHydrationWarning",
|
|
67
|
-
"style"
|
|
68
|
-
];
|
|
69
|
-
O.forEach(function(e) {
|
|
70
|
-
n[e] = new o(
|
|
71
|
-
e,
|
|
72
|
-
g,
|
|
73
|
-
!1,
|
|
74
|
-
// mustUseProperty
|
|
75
|
-
e,
|
|
76
|
-
// attributeName
|
|
77
|
-
null,
|
|
78
|
-
// attributeNamespace
|
|
79
|
-
!1,
|
|
80
|
-
// sanitizeURL
|
|
81
|
-
!1
|
|
82
|
-
);
|
|
83
|
-
}), [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(e) {
|
|
84
|
-
var r = m(e, 2), t = r[0], i = r[1];
|
|
85
|
-
n[t] = new o(
|
|
86
|
-
t,
|
|
87
|
-
l,
|
|
88
|
-
!1,
|
|
89
|
-
// mustUseProperty
|
|
90
|
-
i,
|
|
91
|
-
// attributeName
|
|
92
|
-
null,
|
|
93
|
-
// attributeNamespace
|
|
94
|
-
!1,
|
|
95
|
-
// sanitizeURL
|
|
96
|
-
!1
|
|
97
|
-
);
|
|
98
|
-
}), ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(e) {
|
|
99
|
-
n[e] = new o(
|
|
100
|
-
e,
|
|
101
|
-
u,
|
|
102
|
-
!1,
|
|
103
|
-
// mustUseProperty
|
|
104
|
-
e.toLowerCase(),
|
|
105
|
-
// attributeName
|
|
106
|
-
null,
|
|
107
|
-
// attributeNamespace
|
|
108
|
-
!1,
|
|
109
|
-
// sanitizeURL
|
|
110
|
-
!1
|
|
111
|
-
);
|
|
112
|
-
}), ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(e) {
|
|
113
|
-
n[e] = new o(
|
|
114
|
-
e,
|
|
115
|
-
u,
|
|
116
|
-
!1,
|
|
117
|
-
// mustUseProperty
|
|
118
|
-
e,
|
|
119
|
-
// attributeName
|
|
120
|
-
null,
|
|
121
|
-
// attributeNamespace
|
|
122
|
-
!1,
|
|
123
|
-
// sanitizeURL
|
|
124
|
-
!1
|
|
125
|
-
);
|
|
126
|
-
}), [
|
|
127
|
-
"allowFullScreen",
|
|
128
|
-
"async",
|
|
129
|
-
// Note: there is a special case that prevents it from being written to the DOM
|
|
130
|
-
// on the client side because the browsers are inconsistent. Instead we call focus().
|
|
131
|
-
"autoFocus",
|
|
132
|
-
"autoPlay",
|
|
133
|
-
"controls",
|
|
134
|
-
"default",
|
|
135
|
-
"defer",
|
|
136
|
-
"disabled",
|
|
137
|
-
"disablePictureInPicture",
|
|
138
|
-
"disableRemotePlayback",
|
|
139
|
-
"formNoValidate",
|
|
140
|
-
"hidden",
|
|
141
|
-
"loop",
|
|
142
|
-
"noModule",
|
|
143
|
-
"noValidate",
|
|
144
|
-
"open",
|
|
145
|
-
"playsInline",
|
|
146
|
-
"readOnly",
|
|
147
|
-
"required",
|
|
148
|
-
"reversed",
|
|
149
|
-
"scoped",
|
|
150
|
-
"seamless",
|
|
151
|
-
// Microdata
|
|
152
|
-
"itemScope"
|
|
153
|
-
].forEach(function(e) {
|
|
154
|
-
n[e] = new o(
|
|
155
|
-
e,
|
|
156
|
-
f,
|
|
157
|
-
!1,
|
|
158
|
-
// mustUseProperty
|
|
159
|
-
e.toLowerCase(),
|
|
160
|
-
// attributeName
|
|
161
|
-
null,
|
|
162
|
-
// attributeNamespace
|
|
163
|
-
!1,
|
|
164
|
-
// sanitizeURL
|
|
165
|
-
!1
|
|
166
|
-
);
|
|
167
|
-
}), [
|
|
168
|
-
"checked",
|
|
169
|
-
// Note: `option.selected` is not updated if `select.multiple` is
|
|
170
|
-
// disabled with `removeAttribute`. We have special logic for handling this.
|
|
171
|
-
"multiple",
|
|
172
|
-
"muted",
|
|
173
|
-
"selected"
|
|
174
|
-
// NOTE: if you add a camelCased prop to this list,
|
|
175
|
-
// you'll need to set attributeName to name.toLowerCase()
|
|
176
|
-
// instead in the assignment below.
|
|
177
|
-
].forEach(function(e) {
|
|
178
|
-
n[e] = new o(
|
|
179
|
-
e,
|
|
180
|
-
f,
|
|
181
|
-
!0,
|
|
182
|
-
// mustUseProperty
|
|
183
|
-
e,
|
|
184
|
-
// attributeName
|
|
185
|
-
null,
|
|
186
|
-
// attributeNamespace
|
|
187
|
-
!1,
|
|
188
|
-
// sanitizeURL
|
|
189
|
-
!1
|
|
190
|
-
);
|
|
191
|
-
}), [
|
|
192
|
-
"capture",
|
|
193
|
-
"download"
|
|
194
|
-
// NOTE: if you add a camelCased prop to this list,
|
|
195
|
-
// you'll need to set attributeName to name.toLowerCase()
|
|
196
|
-
// instead in the assignment below.
|
|
197
|
-
].forEach(function(e) {
|
|
198
|
-
n[e] = new o(
|
|
199
|
-
e,
|
|
200
|
-
h,
|
|
201
|
-
!1,
|
|
202
|
-
// mustUseProperty
|
|
203
|
-
e,
|
|
204
|
-
// attributeName
|
|
205
|
-
null,
|
|
206
|
-
// attributeNamespace
|
|
207
|
-
!1,
|
|
208
|
-
// sanitizeURL
|
|
209
|
-
!1
|
|
210
|
-
);
|
|
211
|
-
}), [
|
|
212
|
-
"cols",
|
|
213
|
-
"rows",
|
|
214
|
-
"size",
|
|
215
|
-
"span"
|
|
216
|
-
// NOTE: if you add a camelCased prop to this list,
|
|
217
|
-
// you'll need to set attributeName to name.toLowerCase()
|
|
218
|
-
// instead in the assignment below.
|
|
219
|
-
].forEach(function(e) {
|
|
220
|
-
n[e] = new o(
|
|
221
|
-
e,
|
|
222
|
-
b,
|
|
223
|
-
!1,
|
|
224
|
-
// mustUseProperty
|
|
225
|
-
e,
|
|
226
|
-
// attributeName
|
|
227
|
-
null,
|
|
228
|
-
// attributeNamespace
|
|
229
|
-
!1,
|
|
230
|
-
// sanitizeURL
|
|
231
|
-
!1
|
|
232
|
-
);
|
|
233
|
-
}), ["rowSpan", "start"].forEach(function(e) {
|
|
234
|
-
n[e] = new o(
|
|
235
|
-
e,
|
|
236
|
-
w,
|
|
237
|
-
!1,
|
|
238
|
-
// mustUseProperty
|
|
239
|
-
e.toLowerCase(),
|
|
240
|
-
// attributeName
|
|
241
|
-
null,
|
|
242
|
-
// attributeNamespace
|
|
243
|
-
!1,
|
|
244
|
-
// sanitizeURL
|
|
245
|
-
!1
|
|
246
|
-
);
|
|
247
|
-
});
|
|
248
|
-
var d = /[\-\:]([a-z])/g, v = function(r) {
|
|
249
|
-
return r[1].toUpperCase();
|
|
250
|
-
};
|
|
251
|
-
[
|
|
252
|
-
"accent-height",
|
|
253
|
-
"alignment-baseline",
|
|
254
|
-
"arabic-form",
|
|
255
|
-
"baseline-shift",
|
|
256
|
-
"cap-height",
|
|
257
|
-
"clip-path",
|
|
258
|
-
"clip-rule",
|
|
259
|
-
"color-interpolation",
|
|
260
|
-
"color-interpolation-filters",
|
|
261
|
-
"color-profile",
|
|
262
|
-
"color-rendering",
|
|
263
|
-
"dominant-baseline",
|
|
264
|
-
"enable-background",
|
|
265
|
-
"fill-opacity",
|
|
266
|
-
"fill-rule",
|
|
267
|
-
"flood-color",
|
|
268
|
-
"flood-opacity",
|
|
269
|
-
"font-family",
|
|
270
|
-
"font-size",
|
|
271
|
-
"font-size-adjust",
|
|
272
|
-
"font-stretch",
|
|
273
|
-
"font-style",
|
|
274
|
-
"font-variant",
|
|
275
|
-
"font-weight",
|
|
276
|
-
"glyph-name",
|
|
277
|
-
"glyph-orientation-horizontal",
|
|
278
|
-
"glyph-orientation-vertical",
|
|
279
|
-
"horiz-adv-x",
|
|
280
|
-
"horiz-origin-x",
|
|
281
|
-
"image-rendering",
|
|
282
|
-
"letter-spacing",
|
|
283
|
-
"lighting-color",
|
|
284
|
-
"marker-end",
|
|
285
|
-
"marker-mid",
|
|
286
|
-
"marker-start",
|
|
287
|
-
"overline-position",
|
|
288
|
-
"overline-thickness",
|
|
289
|
-
"paint-order",
|
|
290
|
-
"panose-1",
|
|
291
|
-
"pointer-events",
|
|
292
|
-
"rendering-intent",
|
|
293
|
-
"shape-rendering",
|
|
294
|
-
"stop-color",
|
|
295
|
-
"stop-opacity",
|
|
296
|
-
"strikethrough-position",
|
|
297
|
-
"strikethrough-thickness",
|
|
298
|
-
"stroke-dasharray",
|
|
299
|
-
"stroke-dashoffset",
|
|
300
|
-
"stroke-linecap",
|
|
301
|
-
"stroke-linejoin",
|
|
302
|
-
"stroke-miterlimit",
|
|
303
|
-
"stroke-opacity",
|
|
304
|
-
"stroke-width",
|
|
305
|
-
"text-anchor",
|
|
306
|
-
"text-decoration",
|
|
307
|
-
"text-rendering",
|
|
308
|
-
"underline-position",
|
|
309
|
-
"underline-thickness",
|
|
310
|
-
"unicode-bidi",
|
|
311
|
-
"unicode-range",
|
|
312
|
-
"units-per-em",
|
|
313
|
-
"v-alphabetic",
|
|
314
|
-
"v-hanging",
|
|
315
|
-
"v-ideographic",
|
|
316
|
-
"v-mathematical",
|
|
317
|
-
"vector-effect",
|
|
318
|
-
"vert-adv-y",
|
|
319
|
-
"vert-origin-x",
|
|
320
|
-
"vert-origin-y",
|
|
321
|
-
"word-spacing",
|
|
322
|
-
"writing-mode",
|
|
323
|
-
"xmlns:xlink",
|
|
324
|
-
"x-height"
|
|
325
|
-
// NOTE: if you add a camelCased prop to this list,
|
|
326
|
-
// you'll need to set attributeName to name.toLowerCase()
|
|
327
|
-
// instead in the assignment below.
|
|
328
|
-
].forEach(function(e) {
|
|
329
|
-
var r = e.replace(d, v);
|
|
330
|
-
n[r] = new o(
|
|
331
|
-
r,
|
|
332
|
-
l,
|
|
333
|
-
!1,
|
|
334
|
-
// mustUseProperty
|
|
335
|
-
e,
|
|
336
|
-
null,
|
|
337
|
-
// attributeNamespace
|
|
338
|
-
!1,
|
|
339
|
-
// sanitizeURL
|
|
340
|
-
!1
|
|
341
|
-
);
|
|
342
|
-
}), [
|
|
343
|
-
"xlink:actuate",
|
|
344
|
-
"xlink:arcrole",
|
|
345
|
-
"xlink:role",
|
|
346
|
-
"xlink:show",
|
|
347
|
-
"xlink:title",
|
|
348
|
-
"xlink:type"
|
|
349
|
-
// NOTE: if you add a camelCased prop to this list,
|
|
350
|
-
// you'll need to set attributeName to name.toLowerCase()
|
|
351
|
-
// instead in the assignment below.
|
|
352
|
-
].forEach(function(e) {
|
|
353
|
-
var r = e.replace(d, v);
|
|
354
|
-
n[r] = new o(
|
|
355
|
-
r,
|
|
356
|
-
l,
|
|
357
|
-
!1,
|
|
358
|
-
// mustUseProperty
|
|
359
|
-
e,
|
|
360
|
-
"http://www.w3.org/1999/xlink",
|
|
361
|
-
!1,
|
|
362
|
-
// sanitizeURL
|
|
363
|
-
!1
|
|
364
|
-
);
|
|
365
|
-
}), [
|
|
366
|
-
"xml:base",
|
|
367
|
-
"xml:lang",
|
|
368
|
-
"xml:space"
|
|
369
|
-
// NOTE: if you add a camelCased prop to this list,
|
|
370
|
-
// you'll need to set attributeName to name.toLowerCase()
|
|
371
|
-
// instead in the assignment below.
|
|
372
|
-
].forEach(function(e) {
|
|
373
|
-
var r = e.replace(d, v);
|
|
374
|
-
n[r] = new o(
|
|
375
|
-
r,
|
|
376
|
-
l,
|
|
377
|
-
!1,
|
|
378
|
-
// mustUseProperty
|
|
379
|
-
e,
|
|
380
|
-
"http://www.w3.org/XML/1998/namespace",
|
|
381
|
-
!1,
|
|
382
|
-
// sanitizeURL
|
|
383
|
-
!1
|
|
384
|
-
);
|
|
385
|
-
}), ["tabIndex", "crossOrigin"].forEach(function(e) {
|
|
386
|
-
n[e] = new o(
|
|
387
|
-
e,
|
|
388
|
-
l,
|
|
389
|
-
!1,
|
|
390
|
-
// mustUseProperty
|
|
391
|
-
e.toLowerCase(),
|
|
392
|
-
// attributeName
|
|
393
|
-
null,
|
|
394
|
-
// attributeNamespace
|
|
395
|
-
!1,
|
|
396
|
-
// sanitizeURL
|
|
397
|
-
!1
|
|
398
|
-
);
|
|
399
|
-
});
|
|
400
|
-
var F = "xlinkHref";
|
|
401
|
-
n[F] = new o(
|
|
402
|
-
"xlinkHref",
|
|
403
|
-
l,
|
|
404
|
-
!1,
|
|
405
|
-
// mustUseProperty
|
|
406
|
-
"xlink:href",
|
|
407
|
-
"http://www.w3.org/1999/xlink",
|
|
408
|
-
!0,
|
|
409
|
-
// sanitizeURL
|
|
410
|
-
!1
|
|
411
|
-
), ["src", "href", "action", "formAction"].forEach(function(e) {
|
|
412
|
-
n[e] = new o(
|
|
413
|
-
e,
|
|
414
|
-
l,
|
|
415
|
-
!1,
|
|
416
|
-
// mustUseProperty
|
|
417
|
-
e.toLowerCase(),
|
|
418
|
-
// attributeName
|
|
419
|
-
null,
|
|
420
|
-
// attributeNamespace
|
|
421
|
-
!0,
|
|
422
|
-
// sanitizeURL
|
|
423
|
-
!0
|
|
424
|
-
);
|
|
425
|
-
});
|
|
426
|
-
var E = H(), L = E.CAMELCASE, T = E.SAME, A = E.possibleStandardNames, M = ":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD", N = M + "\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040", D = RegExp.prototype.test.bind(
|
|
427
|
-
// eslint-disable-next-line no-misleading-character-class
|
|
428
|
-
new RegExp("^(data|aria)-[" + N + "]*$")
|
|
429
|
-
), P = Object.keys(A).reduce(function(e, r) {
|
|
430
|
-
var t = A[r];
|
|
431
|
-
return t === T ? e[r] = r : t === L ? e[r.toLowerCase()] = r : e[r] = t, e;
|
|
432
|
-
}, {});
|
|
433
|
-
return a.BOOLEAN = f, a.BOOLEANISH_STRING = u, a.NUMERIC = w, a.OVERLOADED_BOOLEAN = h, a.POSITIVE_NUMERIC = b, a.RESERVED = g, a.STRING = l, a.getPropertyInfo = R, a.isCustomAttribute = D, a.possibleStandardNames = P, a;
|
|
13
|
+
i.isTag = n, i.Root = t.Root, i.Text = t.Text, i.Directive = t.Directive, i.Comment = t.Comment, i.Script = t.Script, i.Style = t.Style, i.Tag = t.Tag, i.CDATA = t.CDATA, i.Doctype = t.Doctype;
|
|
14
|
+
})(a), a);
|
|
434
15
|
}
|
|
435
16
|
export {
|
|
436
|
-
|
|
17
|
+
D as __require
|
|
437
18
|
};
|
package/dist/index-lib4.js
CHANGED
|
@@ -1,18 +1,124 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import { __module as v } from "./index-_virtual31.js";
|
|
2
|
+
import { __require as O } from "./index-window2.js";
|
|
3
|
+
import { __require as j } from "./index-extends2.js";
|
|
4
|
+
import { __require as S } from "./index-is-function.js";
|
|
5
|
+
import { __require as F } from "./index-http-handler.js";
|
|
6
|
+
var L;
|
|
7
|
+
function G() {
|
|
8
|
+
if (L) return v.exports;
|
|
9
|
+
L = 1;
|
|
10
|
+
var w = O(), _ = j(), g = S();
|
|
11
|
+
s.httpHandler = F();
|
|
12
|
+
var M = function(n) {
|
|
13
|
+
var t = {};
|
|
14
|
+
return n && n.trim().split(`
|
|
15
|
+
`).forEach(function(u) {
|
|
16
|
+
var l = u.indexOf(":"), i = u.slice(0, l).trim().toLowerCase(), d = u.slice(l + 1).trim();
|
|
17
|
+
typeof t[i] > "u" ? t[i] = d : Array.isArray(t[i]) ? t[i].push(d) : t[i] = [t[i], d];
|
|
18
|
+
}), t;
|
|
19
|
+
};
|
|
20
|
+
v.exports = s, v.exports.default = s, s.XMLHttpRequest = w.XMLHttpRequest || k, s.XDomainRequest = "withCredentials" in new s.XMLHttpRequest() ? s.XMLHttpRequest : w.XDomainRequest, C(["get", "put", "post", "patch", "head", "delete"], function(e) {
|
|
21
|
+
s[e === "delete" ? "del" : e] = function(n, t, u) {
|
|
22
|
+
return t = H(n, t, u), t.method = e.toUpperCase(), X(t);
|
|
23
|
+
};
|
|
24
|
+
});
|
|
25
|
+
function C(e, n) {
|
|
26
|
+
for (var t = 0; t < e.length; t++)
|
|
27
|
+
n(e[t]);
|
|
28
|
+
}
|
|
29
|
+
function A(e) {
|
|
30
|
+
for (var n in e)
|
|
31
|
+
if (e.hasOwnProperty(n)) return !1;
|
|
32
|
+
return !0;
|
|
33
|
+
}
|
|
34
|
+
function H(e, n, t) {
|
|
35
|
+
var u = e;
|
|
36
|
+
return g(n) ? (t = n, typeof e == "string" && (u = {
|
|
37
|
+
uri: e
|
|
38
|
+
})) : u = _({}, n, {
|
|
39
|
+
uri: e
|
|
40
|
+
}), u.callback = t, u;
|
|
41
|
+
}
|
|
42
|
+
function s(e, n, t) {
|
|
43
|
+
return n = H(e, n, t), X(n);
|
|
44
|
+
}
|
|
45
|
+
function X(e) {
|
|
46
|
+
if (typeof e.callback > "u")
|
|
47
|
+
throw new Error("callback argument missing");
|
|
48
|
+
var n = !1, t = function(o, y, x) {
|
|
49
|
+
n || (n = !0, e.callback(o, y, x));
|
|
50
|
+
};
|
|
51
|
+
function u() {
|
|
52
|
+
r.readyState === 4 && setTimeout(d, 0);
|
|
12
53
|
}
|
|
13
|
-
|
|
14
|
-
|
|
54
|
+
function l() {
|
|
55
|
+
var a = void 0;
|
|
56
|
+
if (r.response ? a = r.response : a = r.responseText || D(r), E)
|
|
57
|
+
try {
|
|
58
|
+
a = JSON.parse(a);
|
|
59
|
+
} catch {
|
|
60
|
+
}
|
|
61
|
+
return a;
|
|
62
|
+
}
|
|
63
|
+
function i(a) {
|
|
64
|
+
return clearTimeout(b), a instanceof Error || (a = new Error("" + (a || "Unknown XMLHttpRequest Error"))), a.statusCode = 0, t(a, T);
|
|
65
|
+
}
|
|
66
|
+
function d() {
|
|
67
|
+
if (!p) {
|
|
68
|
+
var a;
|
|
69
|
+
clearTimeout(b), e.useXDR && r.status === void 0 ? a = 200 : a = r.status === 1223 ? 204 : r.status;
|
|
70
|
+
var o = T, y = null;
|
|
71
|
+
return a !== 0 ? (o = {
|
|
72
|
+
body: l(),
|
|
73
|
+
statusCode: a,
|
|
74
|
+
method: c,
|
|
75
|
+
headers: {},
|
|
76
|
+
url: h,
|
|
77
|
+
rawRequest: r
|
|
78
|
+
}, r.getAllResponseHeaders && (o.headers = M(r.getAllResponseHeaders()))) : y = new Error("Internal XMLHttpRequest Error"), t(y, o, o.body);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
var r = e.xhr || null;
|
|
82
|
+
r || (e.cors || e.useXDR ? r = new s.XDomainRequest() : r = new s.XMLHttpRequest());
|
|
83
|
+
var m, p, h = r.url = e.uri || e.url, c = r.method = e.method || "GET", q = e.body || e.data, f = r.headers = e.headers || {}, R = !!e.sync, E = !1, b, T = {
|
|
84
|
+
body: void 0,
|
|
85
|
+
headers: {},
|
|
86
|
+
statusCode: 0,
|
|
87
|
+
method: c,
|
|
88
|
+
url: h,
|
|
89
|
+
rawRequest: r
|
|
90
|
+
};
|
|
91
|
+
if ("json" in e && e.json !== !1 && (E = !0, f.accept || f.Accept || (f.Accept = "application/json"), c !== "GET" && c !== "HEAD" && (f["content-type"] || f["Content-Type"] || (f["Content-Type"] = "application/json"), q = JSON.stringify(e.json === !0 ? q : e.json))), r.onreadystatechange = u, r.onload = d, r.onerror = i, r.onprogress = function() {
|
|
92
|
+
}, r.onabort = function() {
|
|
93
|
+
p = !0;
|
|
94
|
+
}, r.ontimeout = i, r.open(c, h, !R, e.username, e.password), R || (r.withCredentials = !!e.withCredentials), !R && e.timeout > 0 && (b = setTimeout(function() {
|
|
95
|
+
if (!p) {
|
|
96
|
+
p = !0, r.abort("timeout");
|
|
97
|
+
var a = new Error("XMLHttpRequest timeout");
|
|
98
|
+
a.code = "ETIMEDOUT", i(a);
|
|
99
|
+
}
|
|
100
|
+
}, e.timeout)), r.setRequestHeader)
|
|
101
|
+
for (m in f)
|
|
102
|
+
f.hasOwnProperty(m) && r.setRequestHeader(m, f[m]);
|
|
103
|
+
else if (e.headers && !A(e.headers))
|
|
104
|
+
throw new Error("Headers cannot be set on an XDomainRequest object");
|
|
105
|
+
return "responseType" in e && (r.responseType = e.responseType), "beforeSend" in e && typeof e.beforeSend == "function" && e.beforeSend(r), r.send(q || null), r;
|
|
106
|
+
}
|
|
107
|
+
function D(e) {
|
|
108
|
+
try {
|
|
109
|
+
if (e.responseType === "document")
|
|
110
|
+
return e.responseXML;
|
|
111
|
+
var n = e.responseXML && e.responseXML.documentElement.nodeName === "parsererror";
|
|
112
|
+
if (e.responseType === "" && !n)
|
|
113
|
+
return e.responseXML;
|
|
114
|
+
} catch {
|
|
115
|
+
}
|
|
116
|
+
return null;
|
|
117
|
+
}
|
|
118
|
+
function k() {
|
|
119
|
+
}
|
|
120
|
+
return v.exports;
|
|
15
121
|
}
|
|
16
122
|
export {
|
|
17
|
-
|
|
123
|
+
G as __require
|
|
18
124
|
};
|
package/dist/index-lib5.js
CHANGED
|
@@ -1,72 +1,13 @@
|
|
|
1
|
-
import { __exports as
|
|
2
|
-
import { __require as
|
|
3
|
-
import { __require as
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
return
|
|
10
|
-
var s = a && a.__createBinding || (Object.create ? (function(e, r, t, u) {
|
|
11
|
-
u === void 0 && (u = t);
|
|
12
|
-
var i = Object.getOwnPropertyDescriptor(r, t);
|
|
13
|
-
(!i || ("get" in i ? !r.__esModule : i.writable || i.configurable)) && (i = { enumerable: !0, get: function() {
|
|
14
|
-
return r[t];
|
|
15
|
-
} }), Object.defineProperty(e, u, i);
|
|
16
|
-
}) : (function(e, r, t, u) {
|
|
17
|
-
u === void 0 && (u = t), e[u] = r[t];
|
|
18
|
-
})), O = a && a.__setModuleDefault || (Object.create ? (function(e, r) {
|
|
19
|
-
Object.defineProperty(e, "default", { enumerable: !0, value: r });
|
|
20
|
-
}) : function(e, r) {
|
|
21
|
-
e.default = r;
|
|
22
|
-
}), l = a && a.__importStar || function(e) {
|
|
23
|
-
if (e && e.__esModule) return e;
|
|
24
|
-
var r = {};
|
|
25
|
-
if (e != null) for (var t in e) t !== "default" && Object.prototype.hasOwnProperty.call(e, t) && s(r, e, t);
|
|
26
|
-
return O(r, e), r;
|
|
27
|
-
}, P = a && a.__importDefault || function(e) {
|
|
28
|
-
return e && e.__esModule ? e : { default: e };
|
|
29
|
-
};
|
|
30
|
-
Object.defineProperty(n, "__esModule", { value: !0 }), n.DomUtils = n.parseFeed = n.getFeed = n.ElementType = n.Tokenizer = n.createDomStream = n.parseDOM = n.parseDocument = n.DefaultHandler = n.DomHandler = n.Parser = void 0;
|
|
31
|
-
var d = /* @__PURE__ */ b(), g = /* @__PURE__ */ b();
|
|
32
|
-
Object.defineProperty(n, "Parser", { enumerable: !0, get: function() {
|
|
33
|
-
return g.Parser;
|
|
34
|
-
} });
|
|
35
|
-
var _ = /* @__PURE__ */ D(), c = /* @__PURE__ */ D();
|
|
36
|
-
Object.defineProperty(n, "DomHandler", { enumerable: !0, get: function() {
|
|
37
|
-
return c.DomHandler;
|
|
38
|
-
} }), Object.defineProperty(n, "DefaultHandler", { enumerable: !0, get: function() {
|
|
39
|
-
return c.DomHandler;
|
|
40
|
-
} });
|
|
41
|
-
function o(e, r) {
|
|
42
|
-
var t = new _.DomHandler(void 0, r);
|
|
43
|
-
return new d.Parser(t, r).end(e), t.root;
|
|
44
|
-
}
|
|
45
|
-
n.parseDocument = o;
|
|
46
|
-
function m(e, r) {
|
|
47
|
-
return o(e, r).children;
|
|
48
|
-
}
|
|
49
|
-
n.parseDOM = m;
|
|
50
|
-
function j(e, r, t) {
|
|
51
|
-
var u = new _.DomHandler(e, r, t);
|
|
52
|
-
return new d.Parser(u, r);
|
|
53
|
-
}
|
|
54
|
-
n.createDomStream = j;
|
|
55
|
-
var q = /* @__PURE__ */ H();
|
|
56
|
-
Object.defineProperty(n, "Tokenizer", { enumerable: !0, get: function() {
|
|
57
|
-
return P(q).default;
|
|
58
|
-
} }), n.ElementType = l(/* @__PURE__ */ h());
|
|
59
|
-
var y = /* @__PURE__ */ f(), p = /* @__PURE__ */ f();
|
|
60
|
-
Object.defineProperty(n, "getFeed", { enumerable: !0, get: function() {
|
|
61
|
-
return p.getFeed;
|
|
62
|
-
} });
|
|
63
|
-
var M = { xmlMode: !0 };
|
|
64
|
-
function F(e, r) {
|
|
65
|
-
return r === void 0 && (r = M), (0, y.getFeed)(m(e, r));
|
|
66
|
-
}
|
|
67
|
-
n.parseFeed = F, n.DomUtils = l(/* @__PURE__ */ f());
|
|
68
|
-
})(a), a);
|
|
1
|
+
import { __exports as r } from "./index-_virtual66.js";
|
|
2
|
+
import { __require as a } from "./index-dom.js";
|
|
3
|
+
import { __require as o } from "./index-dom-parser.js";
|
|
4
|
+
var i;
|
|
5
|
+
function s() {
|
|
6
|
+
if (i) return r;
|
|
7
|
+
i = 1;
|
|
8
|
+
var e = a();
|
|
9
|
+
return r.DOMImplementation = e.DOMImplementation, r.XMLSerializer = e.XMLSerializer, r.DOMParser = o().DOMParser, r;
|
|
69
10
|
}
|
|
70
11
|
export {
|
|
71
|
-
|
|
12
|
+
s as __require
|
|
72
13
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import C from "./index-resolve-url.js";
|
|
2
2
|
import K from "./index-window.js";
|
|
3
3
|
import X from "./index-decode-b64-to-uint8-array.js";
|
|
4
|
-
import { l as q } from "./index-
|
|
4
|
+
import { l as q } from "./index-_virtual32.js";
|
|
5
5
|
var w = function(e) {
|
|
6
6
|
return !!e && typeof e == "object";
|
|
7
7
|
}, S = function o() {
|
package/dist/index-node.js
CHANGED
package/dist/index-node2.js
CHANGED