@rankingcoach/vanguard 1.3.1 → 1.4.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.
Files changed (340) hide show
  1. package/dist/index-AMPMMidnightParser.js +1 -1
  2. package/dist/index-AMPMParser.js +1 -1
  3. package/dist/index-Accordion2.js +1 -1
  4. package/dist/index-AccordionDetails.js +1 -1
  5. package/dist/index-AccordionSummary.js +1 -1
  6. package/dist/index-AiGlow.js +1 -1
  7. package/dist/index-AppBar2.js +1 -1
  8. package/dist/index-Autocomplete.js +2 -2
  9. package/dist/index-Autocomplete2.js +1 -1
  10. package/dist/index-Backdrop.js +1 -1
  11. package/dist/index-BasePopper.js +1 -1
  12. package/dist/index-Box.js +1 -1
  13. package/dist/index-Button2.js +1 -1
  14. package/dist/index-ButtonBase.js +1 -1
  15. package/dist/index-CSSTransition.js +1 -1
  16. package/dist/index-Calendar.js +20 -20
  17. package/dist/index-CalendarPicker.js +1 -1
  18. package/dist/index-Chip.js +1 -1
  19. package/dist/index-ClickAwayListener.js +1 -1
  20. package/dist/index-ClockPicker.js +1 -1
  21. package/dist/index-Collapse2.js +1 -1
  22. package/dist/index-CreditCard.js +1 -1
  23. package/dist/index-DateInput.js +1 -1
  24. package/dist/index-DateParser.js +1 -1
  25. package/dist/index-DatePicker2.js +1 -1
  26. package/dist/index-DateRange2.js +7 -7
  27. package/dist/index-DateRangePicker2.js +1 -1
  28. package/dist/index-DayCell.js +5 -5
  29. package/dist/index-DayOfYearParser.js +1 -1
  30. package/dist/index-DayParser.js +1 -1
  31. package/dist/index-DayPeriodParser.js +1 -1
  32. package/dist/index-DefaultPropsProvider.js +1 -1
  33. package/dist/index-DefaultPropsProvider2.js +1 -1
  34. package/dist/index-DefinedRange.js +1 -1
  35. package/dist/index-DesktopDatePicker.js +1 -1
  36. package/dist/index-Dialog.js +1 -1
  37. package/dist/index-DialogActions.js +1 -1
  38. package/dist/index-DialogContent.js +1 -1
  39. package/dist/index-Drawer.js +1 -1
  40. package/dist/index-Drawer2.js +1 -1
  41. package/dist/index-EraParser.js +1 -1
  42. package/dist/index-ExtendedYearParser.js +1 -1
  43. package/dist/index-Fade.js +1 -1
  44. package/dist/index-FilledInput.js +1 -1
  45. package/dist/index-FocusTrap.js +1 -1
  46. package/dist/index-FormControl2.js +1 -1
  47. package/dist/index-FormHelperText.js +1 -1
  48. package/dist/index-FormLabel.js +1 -1
  49. package/dist/index-FractionOfSecondParser.js +1 -1
  50. package/dist/index-GlobalStyles.js +1 -1
  51. package/dist/index-GlobalStyles2.js +1 -1
  52. package/dist/index-GlobalStyles3.js +1 -1
  53. package/dist/index-Grid.js +1 -1
  54. package/dist/index-Grow.js +1 -1
  55. package/dist/index-Header.js +1 -1
  56. package/dist/index-Hour0To11Parser.js +1 -1
  57. package/dist/index-Hour0to23Parser.js +1 -1
  58. package/dist/index-Hour1To24Parser.js +1 -1
  59. package/dist/index-Hour1to12Parser.js +1 -1
  60. package/dist/index-ISODayParser.js +1 -1
  61. package/dist/index-ISOTimezoneParser.js +1 -1
  62. package/dist/index-ISOTimezoneWithZParser.js +1 -1
  63. package/dist/index-ISOWeekParser.js +1 -1
  64. package/dist/index-ISOWeekYearParser.js +1 -1
  65. package/dist/index-IconButton2.js +1 -1
  66. package/dist/index-Input2.js +1 -1
  67. package/dist/index-InputAdornment.js +1 -1
  68. package/dist/index-InputBase.js +155 -150
  69. package/dist/index-InputBase2.js +1 -1
  70. package/dist/index-InputLabel.js +1 -1
  71. package/dist/index-LinearProgress.js +1 -1
  72. package/dist/index-List2.js +1 -1
  73. package/dist/index-ListSubheader.js +1 -1
  74. package/dist/index-LocalDayParser.js +1 -1
  75. package/dist/index-LocalWeekParser.js +1 -1
  76. package/dist/index-LocalWeekYearParser.js +1 -1
  77. package/dist/index-LocalizationProvider.js +1 -1
  78. package/dist/index-LoginButton.js +1 -1
  79. package/dist/index-Menu.js +1 -1
  80. package/dist/index-MenuItem.js +1 -1
  81. package/dist/index-MenuList.js +1 -1
  82. package/dist/index-MinuteParser.js +1 -1
  83. package/dist/index-MobileDatePicker.js +1 -1
  84. package/dist/index-Modal2.js +1 -1
  85. package/dist/index-Month.js +9 -9
  86. package/dist/index-MonthParser.js +1 -1
  87. package/dist/index-MonthPicker.js +1 -1
  88. package/dist/index-NativeSelectInput.js +1 -1
  89. package/dist/index-NotchedOutline.js +1 -1
  90. package/dist/index-OutlinedInput.js +1 -1
  91. package/dist/index-Paper.js +1 -1
  92. package/dist/index-Parser2.js +315 -255
  93. package/dist/index-Parser3.js +129 -2
  94. package/dist/index-PickersDay.js +1 -1
  95. package/dist/index-Popover2.js +1 -1
  96. package/dist/index-Popper.js +1 -1
  97. package/dist/index-Portal.js +1 -1
  98. package/dist/index-PropTypes.js +1 -1
  99. package/dist/index-QuarterParser.js +1 -1
  100. package/dist/index-QuoteContainer.js +1 -1
  101. package/dist/index-Ripple.js +1 -1
  102. package/dist/index-RtlProvider.js +1 -1
  103. package/dist/index-ScrollbarSize.js +1 -1
  104. package/dist/index-SecondParser.js +1 -1
  105. package/dist/index-Select2.js +1 -1
  106. package/dist/index-SelectInput2.js +1 -1
  107. package/dist/index-Skeleton2.js +1 -1
  108. package/dist/index-Slide.js +1 -1
  109. package/dist/index-Slider2.js +1 -1
  110. package/dist/index-SliderValueLabel.js +1 -1
  111. package/dist/index-Snackbar2.js +1 -1
  112. package/dist/index-SnackbarContent.js +1 -1
  113. package/dist/index-StandAloneLocalDayParser.js +1 -1
  114. package/dist/index-StandAloneMonthParser.js +1 -1
  115. package/dist/index-StandAloneQuarterParser.js +1 -1
  116. package/dist/index-StyledEngineProvider.js +1 -1
  117. package/dist/index-StyledSVG2.js +1 -1
  118. package/dist/index-SvgIcon.js +1 -1
  119. package/dist/index-Tab2.js +1 -1
  120. package/dist/index-TabScrollButton.js +1 -1
  121. package/dist/index-Tabs2.js +1 -1
  122. package/dist/index-Text.js +18 -18
  123. package/dist/index-TextField.js +1 -1
  124. package/dist/index-TextHighlighted.js +23 -19
  125. package/dist/index-TextareaAutosize.js +1 -1
  126. package/dist/index-TimestampMillisecondsParser.js +1 -1
  127. package/dist/index-TimestampSecondsParser.js +1 -1
  128. package/dist/index-ToggleButton2.js +1 -1
  129. package/dist/index-ToggleButtonGroup2.js +1 -1
  130. package/dist/index-Tokenizer.js +411 -334
  131. package/dist/index-Tokenizer2.js +139 -2
  132. package/dist/index-Toolbar2.js +1 -1
  133. package/dist/index-Tooltip.js +1 -1
  134. package/dist/index-TouchRipple.js +1 -1
  135. package/dist/index-Transition.js +1 -1
  136. package/dist/index-TransitionGroup.js +1 -1
  137. package/dist/index-Typography.js +1 -1
  138. package/dist/index-YearParser.js +1 -1
  139. package/dist/index-YearPicker.js +1 -1
  140. package/dist/index-_virtual12.js +1 -1
  141. package/dist/index-_virtual15.js +2 -5
  142. package/dist/index-_virtual16.js +5 -3
  143. package/dist/index-_virtual17.js +5 -2
  144. package/dist/index-_virtual18.js +2 -7
  145. package/dist/index-_virtual19.js +5 -2
  146. package/dist/index-_virtual2.js +5 -5
  147. package/dist/index-_virtual20.js +2 -5
  148. package/dist/index-_virtual23.js +1 -1
  149. package/dist/index-_virtual3.js +4 -4
  150. package/dist/index-_virtual34.js +2 -2
  151. package/dist/index-_virtual35.js +2 -4
  152. package/dist/index-_virtual36.js +1 -1
  153. package/dist/index-_virtual37.js +1 -1
  154. package/dist/index-_virtual38.js +1 -1
  155. package/dist/index-_virtual39.js +1 -1
  156. package/dist/index-_virtual4.js +5 -5
  157. package/dist/index-_virtual40.js +1 -1
  158. package/dist/index-_virtual41.js +4 -2
  159. package/dist/index-_virtual42.js +2 -4
  160. package/dist/index-_virtual43.js +1 -1
  161. package/dist/index-_virtual44.js +1 -1
  162. package/dist/index-_virtual45.js +1 -1
  163. package/dist/index-_virtual46.js +1 -1
  164. package/dist/index-_virtual47.js +1 -1
  165. package/dist/index-_virtual48.js +1 -1
  166. package/dist/index-_virtual49.js +1 -1
  167. package/dist/index-_virtual50.js +1 -1
  168. package/dist/index-_virtual51.js +1 -1
  169. package/dist/index-_virtual52.js +1 -1
  170. package/dist/index-_virtual53.js +1 -1
  171. package/dist/index-_virtual54.js +1 -1
  172. package/dist/index-_virtual55.js +1 -1
  173. package/dist/index-_virtual56.js +1 -1
  174. package/dist/index-_virtual57.js +1 -1
  175. package/dist/index-_virtual58.js +4 -2
  176. package/dist/index-_virtual60.js +2 -4
  177. package/dist/index-_virtual61.js +1 -1
  178. package/dist/index-_virtual62.js +4 -2
  179. package/dist/index-_virtual63.js +2 -2
  180. package/dist/index-_virtual75.js +1 -1
  181. package/dist/index-_virtual77.js +4 -2
  182. package/dist/index-_virtual78.js +1 -1
  183. package/dist/index-_virtual79.js +1 -1
  184. package/dist/index-_virtual80.js +1 -1
  185. package/dist/index-_virtual81.js +1 -1
  186. package/dist/index-_virtual82.js +1 -1
  187. package/dist/index-_virtual83.js +1 -1
  188. package/dist/index-_virtual84.js +1 -1
  189. package/dist/index-_virtual85.js +2 -4
  190. package/dist/index-_virtual86.js +2 -2
  191. package/dist/index-applyInternationalSeparatorStyle.js +1 -1
  192. package/dist/index-attributes-to-props.js +1 -1
  193. package/dist/index-cjs.js +19 -75
  194. package/dist/index-colorManipulator3.js +2 -2
  195. package/dist/index-constants.js +38 -8
  196. package/dist/index-constants2.js +8 -38
  197. package/dist/index-createExtensionPattern.js +1 -1
  198. package/dist/index-createStyled2.js +6 -6
  199. package/dist/index-decode-data-html.js +5 -11
  200. package/dist/index-decode-data-xml.js +5 -11
  201. package/dist/index-decode.js +263 -216
  202. package/dist/index-decode_codepoint.js +43 -53
  203. package/dist/index-defaultRanges.js +10 -10
  204. package/dist/index-dist4.js +1 -1
  205. package/dist/index-dist5.js +1 -1
  206. package/dist/index-elementAcceptingRef.js +1 -1
  207. package/dist/index-elementTypeAcceptingRef.js +1 -1
  208. package/dist/index-emotion-cache.browser.esm.js +2 -2
  209. package/dist/index-escape.js +43 -48
  210. package/dist/index-esm2.js +108 -129
  211. package/dist/index-esm3.js +12 -301
  212. package/dist/index-esm4.js +135 -17
  213. package/dist/index-esm5.js +303 -0
  214. package/dist/index-esm6.js +21 -0
  215. package/dist/index-esm7.js +102 -0
  216. package/dist/index-exenv.js +1 -1
  217. package/dist/index-extractCountryCallingCode.js +1 -1
  218. package/dist/index-extractPhoneContext.js +1 -1
  219. package/dist/index-foreignNames.js +101 -108
  220. package/dist/index-helpers3.js +1 -1
  221. package/dist/index-http.store.js +1 -1
  222. package/dist/index-isViablePhoneNumber.js +1 -1
  223. package/dist/index-lib.js +2 -2
  224. package/dist/index-lib2.js +424 -111
  225. package/dist/index-lib3.js +14 -433
  226. package/dist/index-lib4.js +120 -14
  227. package/dist/index-lib5.js +10 -69
  228. package/dist/index-node.js +1 -1
  229. package/dist/index-node2.js +1 -1
  230. package/dist/index-parse2.js +1 -1
  231. package/dist/index-parse3.js +122 -20
  232. package/dist/index-refType.js +1 -1
  233. package/dist/index-responsivePropType.js +1 -1
  234. package/dist/index-sanitize-html.js +91 -48
  235. package/dist/index-stripIddPrefix.js +1 -1
  236. package/dist/index-style-to-object.js +1 -1
  237. package/dist/index-text-animate-words-style.js +12 -12
  238. package/dist/index-tiny-emitter.js +1 -1
  239. package/dist/index-useRteAiAssistant-selection.js +5 -5
  240. package/dist/index-useThemeWithoutDefault3.js +1 -1
  241. package/dist/index-utilities.js +1 -1
  242. package/dist/index-utilities2.js +1 -1
  243. package/dist/index-utils2.js +1 -1
  244. package/dist/index-utils6.js +7 -7
  245. package/dist/index.js +428 -426
  246. package/dist/types/core/Form/stories/SelectChangeDetection.story.d.ts +2 -0
  247. package/dist/types/core/Form/stories/bootstrap/form.test.slice.d.ts +58 -17
  248. package/dist/types/core/RichTextEditor/stories/RichTextEditorStory.story.d.ts +2 -0
  249. package/dist/types/core/RichTextEditor/stories/RichTextEditorWithXSSAttackStory.story.d.ts +2 -0
  250. package/dist/types/core/RichTextEditor/stories/_RichTextEditor.default.d.ts +4 -0
  251. package/dist/types/core/RichTextEditor/stories/bootstrap/richtexteditor.test.slice.d.ts +1 -0
  252. package/dist/types/core/TextHighlighted/stories/TextHighlightedStory.story.d.ts +2 -0
  253. package/dist/types/core/TextHighlighted/stories/TextHighlightedStory2.story.d.ts +2 -0
  254. package/dist/types/core/TextHighlighted/stories/TextHighlightedWithEmphasisStory.story.d.ts +2 -0
  255. package/dist/types/core/TextHighlighted/stories/TextHighlightedWithXSSAttackStory.story.d.ts +2 -0
  256. package/dist/types/core/TextHighlighted/stories/_TextHighlighted.default.d.ts +7 -0
  257. package/dist/types/core/_internal/InputBase/stories/HighlightLengthExceededTest.story.d.ts +2 -0
  258. package/dist/types/core/_internal/InputBase/stories/HighlightUrlTest.story.d.ts +2 -0
  259. package/dist/types/core/_internal/InputBase/stories/HighlightWordsTest.story.d.ts +2 -0
  260. package/dist/types/helpers/sanitize-html.d.ts +18 -3
  261. package/dist/types/index.d.ts +2 -0
  262. package/dist/vanguard-asset-analysis.json +1 -1
  263. package/dist-wordpress/index.js +23637 -22231
  264. package/package.json +5 -2
  265. package/scripts/check-meta-coverage.js +117 -0
  266. package/scripts/generate-exports-props.js +855 -0
  267. package/dist/index-Parser5.js +0 -131
  268. package/dist/index-Tokenizer3.js +0 -141
  269. package/dist/index-_virtual87.js +0 -4
  270. package/dist/index-_virtual88.js +0 -4
  271. package/dist/index-_virtual89.js +0 -4
  272. package/dist/index-_virtual90.js +0 -4
  273. package/dist/index-_virtual91.js +0 -4
  274. package/dist/index-at-rule.js +0 -22
  275. package/dist/index-cjs2.js +0 -23
  276. package/dist/index-comment.js +0 -16
  277. package/dist/index-container.js +0 -223
  278. package/dist/index-css-syntax-error.js +0 -56
  279. package/dist/index-declaration.js +0 -19
  280. package/dist/index-decode-data-html2.js +0 -4
  281. package/dist/index-decode-data-xml2.js +0 -4
  282. package/dist/index-decode2.js +0 -4
  283. package/dist/index-decode_codepoint2.js +0 -4
  284. package/dist/index-document3.js +0 -23
  285. package/dist/index-encode-html.js +0 -15
  286. package/dist/index-encode-html2.js +0 -4
  287. package/dist/index-encode.js +0 -49
  288. package/dist/index-encode2.js +0 -4
  289. package/dist/index-escape-string-regexp.js +0 -11
  290. package/dist/index-escape2.js +0 -4
  291. package/dist/index-feeds.js +0 -92
  292. package/dist/index-feeds2.js +0 -4
  293. package/dist/index-foreignNames2.js +0 -4
  294. package/dist/index-fromJSON.js +0 -46
  295. package/dist/index-helpers4.js +0 -54
  296. package/dist/index-helpers5.js +0 -4
  297. package/dist/index-input3.js +0 -139
  298. package/dist/index-is-plain-object.js +0 -17
  299. package/dist/index-is-plain-object2.js +0 -4
  300. package/dist/index-lazy-result.js +0 -343
  301. package/dist/index-legacy.js +0 -75
  302. package/dist/index-legacy2.js +0 -4
  303. package/dist/index-lib6.js +0 -13
  304. package/dist/index-lib7.js +0 -43
  305. package/dist/index-lib8.js +0 -147
  306. package/dist/index-lib9.js +0 -90
  307. package/dist/index-list3.js +0 -25
  308. package/dist/index-manipulation.js +0 -61
  309. package/dist/index-manipulation2.js +0 -4
  310. package/dist/index-map-generator.js +0 -171
  311. package/dist/index-no-work-result.js +0 -94
  312. package/dist/index-node4.js +0 -259
  313. package/dist/index-non-secure.js +0 -20
  314. package/dist/index-parse-srcset.js +0 -71
  315. package/dist/index-parse-srcset2.js +0 -4
  316. package/dist/index-parse4.js +0 -127
  317. package/dist/index-parser4.js +0 -322
  318. package/dist/index-picocolors.browser.js +0 -13
  319. package/dist/index-picocolors.browser2.js +0 -4
  320. package/dist/index-postcss.js +0 -46
  321. package/dist/index-previous-map.js +0 -92
  322. package/dist/index-processor.js +0 -43
  323. package/dist/index-querying.js +0 -63
  324. package/dist/index-querying2.js +0 -4
  325. package/dist/index-result.js +0 -30
  326. package/dist/index-root.js +0 -38
  327. package/dist/index-rule.js +0 -24
  328. package/dist/index-sanitize-html2.js +0 -672
  329. package/dist/index-stringifier.js +0 -196
  330. package/dist/index-stringify.js +0 -14
  331. package/dist/index-stringify2.js +0 -36
  332. package/dist/index-stringify3.js +0 -4
  333. package/dist/index-symbols.js +0 -8
  334. package/dist/index-symbols2.js +0 -4
  335. package/dist/index-tokenize.js +0 -114
  336. package/dist/index-traversal.js +0 -48
  337. package/dist/index-traversal2.js +0 -4
  338. package/dist/index-warn-once.js +0 -12
  339. package/dist/index-warning2.js +0 -25
  340. /package/dist/{index-Parser6.js → index-Parser4.js} +0 -0
@@ -1,196 +0,0 @@
1
- var u, o;
2
- function b() {
3
- if (o) return u;
4
- o = 1;
5
- const w = {
6
- after: `
7
- `,
8
- beforeClose: `
9
- `,
10
- beforeComment: `
11
- `,
12
- beforeDecl: `
13
- `,
14
- beforeOpen: " ",
15
- beforeRule: `
16
- `,
17
- colon: ": ",
18
- commentLeft: " ",
19
- commentRight: " ",
20
- emptyBody: "",
21
- indent: " ",
22
- semicolon: !1
23
- };
24
- function p(s) {
25
- return s[0].toUpperCase() + s.slice(1);
26
- }
27
- class n {
28
- constructor(e) {
29
- this.builder = e;
30
- }
31
- atrule(e, t) {
32
- let r = "@" + e.name, l = e.params ? this.rawValue(e, "params") : "";
33
- if (typeof e.raws.afterName < "u" ? r += e.raws.afterName : l && (r += " "), e.nodes)
34
- this.block(e, r + l);
35
- else {
36
- let a = (e.raws.between || "") + (t ? ";" : "");
37
- this.builder(r + l + a, e);
38
- }
39
- }
40
- beforeAfter(e, t) {
41
- let r;
42
- e.type === "decl" ? r = this.raw(e, null, "beforeDecl") : e.type === "comment" ? r = this.raw(e, null, "beforeComment") : t === "before" ? r = this.raw(e, null, "beforeRule") : r = this.raw(e, null, "beforeClose");
43
- let l = e.parent, a = 0;
44
- for (; l && l.type !== "root"; )
45
- a += 1, l = l.parent;
46
- if (r.includes(`
47
- `)) {
48
- let f = this.raw(e, null, "indent");
49
- if (f.length)
50
- for (let i = 0; i < a; i++) r += f;
51
- }
52
- return r;
53
- }
54
- block(e, t) {
55
- let r = this.raw(e, "between", "beforeOpen");
56
- this.builder(t + r + "{", e, "start");
57
- let l;
58
- e.nodes && e.nodes.length ? (this.body(e), l = this.raw(e, "after")) : l = this.raw(e, "after", "emptyBody"), l && this.builder(l), this.builder("}", e, "end");
59
- }
60
- body(e) {
61
- let t = e.nodes.length - 1;
62
- for (; t > 0 && e.nodes[t].type === "comment"; )
63
- t -= 1;
64
- let r = this.raw(e, "semicolon");
65
- for (let l = 0; l < e.nodes.length; l++) {
66
- let a = e.nodes[l], f = this.raw(a, "before");
67
- f && this.builder(f), this.stringify(a, t !== l || r);
68
- }
69
- }
70
- comment(e) {
71
- let t = this.raw(e, "left", "commentLeft"), r = this.raw(e, "right", "commentRight");
72
- this.builder("/*" + t + e.text + r + "*/", e);
73
- }
74
- decl(e, t) {
75
- let r = this.raw(e, "between", "colon"), l = e.prop + r + this.rawValue(e, "value");
76
- e.important && (l += e.raws.important || " !important"), t && (l += ";"), this.builder(l, e);
77
- }
78
- document(e) {
79
- this.body(e);
80
- }
81
- raw(e, t, r) {
82
- let l;
83
- if (r || (r = t), t && (l = e.raws[t], typeof l < "u"))
84
- return l;
85
- let a = e.parent;
86
- if (r === "before" && (!a || a.type === "root" && a.first === e || a && a.type === "document"))
87
- return "";
88
- if (!a) return w[r];
89
- let f = e.root();
90
- if (f.rawCache || (f.rawCache = {}), typeof f.rawCache[r] < "u")
91
- return f.rawCache[r];
92
- if (r === "before" || r === "after")
93
- return this.beforeAfter(e, r);
94
- {
95
- let i = "raw" + p(r);
96
- this[i] ? l = this[i](f, e) : f.walk((h) => {
97
- if (l = h.raws[t], typeof l < "u") return !1;
98
- });
99
- }
100
- return typeof l > "u" && (l = w[r]), f.rawCache[r] = l, l;
101
- }
102
- rawBeforeClose(e) {
103
- let t;
104
- return e.walk((r) => {
105
- if (r.nodes && r.nodes.length > 0 && typeof r.raws.after < "u")
106
- return t = r.raws.after, t.includes(`
107
- `) && (t = t.replace(/[^\n]+$/, "")), !1;
108
- }), t && (t = t.replace(/\S/g, "")), t;
109
- }
110
- rawBeforeComment(e, t) {
111
- let r;
112
- return e.walkComments((l) => {
113
- if (typeof l.raws.before < "u")
114
- return r = l.raws.before, r.includes(`
115
- `) && (r = r.replace(/[^\n]+$/, "")), !1;
116
- }), typeof r > "u" ? r = this.raw(t, null, "beforeDecl") : r && (r = r.replace(/\S/g, "")), r;
117
- }
118
- rawBeforeDecl(e, t) {
119
- let r;
120
- return e.walkDecls((l) => {
121
- if (typeof l.raws.before < "u")
122
- return r = l.raws.before, r.includes(`
123
- `) && (r = r.replace(/[^\n]+$/, "")), !1;
124
- }), typeof r > "u" ? r = this.raw(t, null, "beforeRule") : r && (r = r.replace(/\S/g, "")), r;
125
- }
126
- rawBeforeOpen(e) {
127
- let t;
128
- return e.walk((r) => {
129
- if (r.type !== "decl" && (t = r.raws.between, typeof t < "u"))
130
- return !1;
131
- }), t;
132
- }
133
- rawBeforeRule(e) {
134
- let t;
135
- return e.walk((r) => {
136
- if (r.nodes && (r.parent !== e || e.first !== r) && typeof r.raws.before < "u")
137
- return t = r.raws.before, t.includes(`
138
- `) && (t = t.replace(/[^\n]+$/, "")), !1;
139
- }), t && (t = t.replace(/\S/g, "")), t;
140
- }
141
- rawColon(e) {
142
- let t;
143
- return e.walkDecls((r) => {
144
- if (typeof r.raws.between < "u")
145
- return t = r.raws.between.replace(/[^\s:]/g, ""), !1;
146
- }), t;
147
- }
148
- rawEmptyBody(e) {
149
- let t;
150
- return e.walk((r) => {
151
- if (r.nodes && r.nodes.length === 0 && (t = r.raws.after, typeof t < "u"))
152
- return !1;
153
- }), t;
154
- }
155
- rawIndent(e) {
156
- if (e.raws.indent) return e.raws.indent;
157
- let t;
158
- return e.walk((r) => {
159
- let l = r.parent;
160
- if (l && l !== e && l.parent && l.parent === e && typeof r.raws.before < "u") {
161
- let a = r.raws.before.split(`
162
- `);
163
- return t = a[a.length - 1], t = t.replace(/\S/g, ""), !1;
164
- }
165
- }), t;
166
- }
167
- rawSemicolon(e) {
168
- let t;
169
- return e.walk((r) => {
170
- if (r.nodes && r.nodes.length && r.last.type === "decl" && (t = r.raws.semicolon, typeof t < "u"))
171
- return !1;
172
- }), t;
173
- }
174
- rawValue(e, t) {
175
- let r = e[t], l = e.raws[t];
176
- return l && l.value === r ? l.raw : r;
177
- }
178
- root(e) {
179
- this.body(e), e.raws.after && this.builder(e.raws.after);
180
- }
181
- rule(e) {
182
- this.block(e, this.rawValue(e, "selector")), e.raws.ownSemicolon && this.builder(e.raws.ownSemicolon, e, "end");
183
- }
184
- stringify(e, t) {
185
- if (!this[e.type])
186
- throw new Error(
187
- "Unknown AST node type " + e.type + ". Maybe you need to change PostCSS stringifier."
188
- );
189
- this[e.type](e, t);
190
- }
191
- }
192
- return u = n, n.default = n, u;
193
- }
194
- export {
195
- b as __require
196
- };
@@ -1,14 +0,0 @@
1
- import { __require as u } from "./index-stringifier.js";
2
- var i, e;
3
- function a() {
4
- if (e) return i;
5
- e = 1;
6
- let t = u();
7
- function r(n, f) {
8
- new t(f).stringify(n);
9
- }
10
- return i = r, r.default = r, i;
11
- }
12
- export {
13
- a as __require
14
- };
@@ -1,36 +0,0 @@
1
- import { __exports as e } from "./index-stringify3.js";
2
- import { __require as c } from "./index-lib.js";
3
- import { __require as h } from "./index-lib8.js";
4
- import { __require as y } from "./index-lib4.js";
5
- var s;
6
- function o() {
7
- if (s) return e;
8
- s = 1;
9
- var _ = e && e.__importDefault || function(r) {
10
- return r && r.__esModule ? r : { default: r };
11
- };
12
- Object.defineProperty(e, "__esModule", { value: !0 }), e.getOuterHTML = f, e.getInnerHTML = p, e.getText = i, e.textContent = n, e.innerText = u;
13
- var t = /* @__PURE__ */ c(), l = _(/* @__PURE__ */ h()), m = /* @__PURE__ */ y();
14
- function f(r, a) {
15
- return (0, l.default)(r, a);
16
- }
17
- function p(r, a) {
18
- return (0, t.hasChildren)(r) ? r.children.map(function(T) {
19
- return f(T, a);
20
- }).join("") : "";
21
- }
22
- function i(r) {
23
- return Array.isArray(r) ? r.map(i).join("") : (0, t.isTag)(r) ? r.name === "br" ? `
24
- ` : i(r.children) : (0, t.isCDATA)(r) ? i(r.children) : (0, t.isText)(r) ? r.data : "";
25
- }
26
- function n(r) {
27
- return Array.isArray(r) ? r.map(n).join("") : (0, t.hasChildren)(r) && !(0, t.isComment)(r) ? n(r.children) : (0, t.isText)(r) ? r.data : "";
28
- }
29
- function u(r) {
30
- return Array.isArray(r) ? r.map(u).join("") : (0, t.hasChildren)(r) && (r.type === m.ElementType.Tag || (0, t.isCDATA)(r)) ? u(r.children) : (0, t.isText)(r) ? r.data : "";
31
- }
32
- return e;
33
- }
34
- export {
35
- o as __require
36
- };
@@ -1,4 +0,0 @@
1
- var r = {};
2
- export {
3
- r as __exports
4
- };
@@ -1,8 +0,0 @@
1
- import { __exports as r } from "./index-symbols2.js";
2
- var e;
3
- function s() {
4
- return e ? r : (e = 1, r.isClean = Symbol("isClean"), r.my = Symbol("my"), r);
5
- }
6
- export {
7
- s as __require
8
- };
@@ -1,4 +0,0 @@
1
- var s = {};
2
- export {
3
- s as __exports
4
- };
@@ -1,114 +0,0 @@
1
- var T, m;
2
- function Z() {
3
- if (m) return T;
4
- m = 1;
5
- const k = 39, p = 34, d = 92, w = 47, h = 10, l = 32, A = 12, C = 9, f = 13, B = 91, H = 93, q = 40, v = 41, z = 123, Q = 125, K = 59, F = 42, W = 58, Y = 64, E = /[\t\n\f\r "#'()/;[\\\]{}]/g, u = /[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g, G = /.[\r\n"'(/\\]/, L = /[\da-f]/i;
6
- return T = function(N, M = {}) {
7
- let c = N.css.valueOf(), _ = M.ignoreErrors, r, g, O, e, I, o, n, a, s, U, P = c.length, t = 0, R = [], S = [];
8
- function X() {
9
- return t;
10
- }
11
- function b(i) {
12
- throw N.error("Unclosed " + i, t);
13
- }
14
- function j() {
15
- return S.length === 0 && t >= P;
16
- }
17
- function y(i) {
18
- if (S.length) return S.pop();
19
- if (t >= P) return;
20
- let x = i ? i.ignoreUnclosed : !1;
21
- switch (r = c.charCodeAt(t), r) {
22
- case h:
23
- case l:
24
- case C:
25
- case f:
26
- case A: {
27
- e = t;
28
- do
29
- e += 1, r = c.charCodeAt(e);
30
- while (r === l || r === h || r === C || r === f || r === A);
31
- o = ["space", c.slice(t, e)], t = e - 1;
32
- break;
33
- }
34
- case B:
35
- case H:
36
- case z:
37
- case Q:
38
- case W:
39
- case K:
40
- case v: {
41
- let D = String.fromCharCode(r);
42
- o = [D, D, t];
43
- break;
44
- }
45
- case q: {
46
- if (U = R.length ? R.pop()[1] : "", s = c.charCodeAt(t + 1), U === "url" && s !== k && s !== p && s !== l && s !== h && s !== C && s !== A && s !== f) {
47
- e = t;
48
- do {
49
- if (n = !1, e = c.indexOf(")", e + 1), e === -1)
50
- if (_ || x) {
51
- e = t;
52
- break;
53
- } else
54
- b("bracket");
55
- for (a = e; c.charCodeAt(a - 1) === d; )
56
- a -= 1, n = !n;
57
- } while (n);
58
- o = ["brackets", c.slice(t, e + 1), t, e], t = e;
59
- } else
60
- e = c.indexOf(")", t + 1), g = c.slice(t, e + 1), e === -1 || G.test(g) ? o = ["(", "(", t] : (o = ["brackets", g, t, e], t = e);
61
- break;
62
- }
63
- case k:
64
- case p: {
65
- I = r === k ? "'" : '"', e = t;
66
- do {
67
- if (n = !1, e = c.indexOf(I, e + 1), e === -1)
68
- if (_ || x) {
69
- e = t + 1;
70
- break;
71
- } else
72
- b("string");
73
- for (a = e; c.charCodeAt(a - 1) === d; )
74
- a -= 1, n = !n;
75
- } while (n);
76
- o = ["string", c.slice(t, e + 1), t, e], t = e;
77
- break;
78
- }
79
- case Y: {
80
- E.lastIndex = t + 1, E.test(c), E.lastIndex === 0 ? e = c.length - 1 : e = E.lastIndex - 2, o = ["at-word", c.slice(t, e + 1), t, e], t = e;
81
- break;
82
- }
83
- case d: {
84
- for (e = t, O = !0; c.charCodeAt(e + 1) === d; )
85
- e += 1, O = !O;
86
- if (r = c.charCodeAt(e + 1), O && r !== w && r !== l && r !== h && r !== C && r !== f && r !== A && (e += 1, L.test(c.charAt(e)))) {
87
- for (; L.test(c.charAt(e + 1)); )
88
- e += 1;
89
- c.charCodeAt(e + 1) === l && (e += 1);
90
- }
91
- o = ["word", c.slice(t, e + 1), t, e], t = e;
92
- break;
93
- }
94
- default: {
95
- r === w && c.charCodeAt(t + 1) === F ? (e = c.indexOf("*/", t + 2) + 1, e === 0 && (_ || x ? e = c.length : b("comment")), o = ["comment", c.slice(t, e + 1), t, e], t = e) : (u.lastIndex = t + 1, u.test(c), u.lastIndex === 0 ? e = c.length - 1 : e = u.lastIndex - 2, o = ["word", c.slice(t, e + 1), t, e], R.push(o), t = e);
96
- break;
97
- }
98
- }
99
- return t++, o;
100
- }
101
- function J(i) {
102
- S.push(i);
103
- }
104
- return {
105
- back: J,
106
- endOfFile: j,
107
- nextToken: y,
108
- position: X
109
- };
110
- }, T;
111
- }
112
- export {
113
- Z as __require
114
- };
@@ -1,48 +0,0 @@
1
- import { __exports as n } from "./index-traversal2.js";
2
- import { __require as d } from "./index-lib.js";
3
- var b;
4
- function m() {
5
- if (b) return n;
6
- b = 1, Object.defineProperty(n, "__esModule", { value: !0 }), n.getChildren = s, n.getParent = v, n.getSiblings = g, n.getAttributeValue = p, n.hasAttrib = h, n.getName = f, n.nextElementSibling = _, n.prevElementSibling = c;
7
- var u = /* @__PURE__ */ d();
8
- function s(r) {
9
- return (0, u.hasChildren)(r) ? r.children : [];
10
- }
11
- function v(r) {
12
- return r.parent || null;
13
- }
14
- function g(r) {
15
- var t, e, o = v(r);
16
- if (o != null)
17
- return s(o);
18
- for (var l = [r], i = r.prev, a = r.next; i != null; )
19
- l.unshift(i), t = i, i = t.prev;
20
- for (; a != null; )
21
- l.push(a), e = a, a = e.next;
22
- return l;
23
- }
24
- function p(r, t) {
25
- var e;
26
- return (e = r.attribs) === null || e === void 0 ? void 0 : e[t];
27
- }
28
- function h(r, t) {
29
- return r.attribs != null && Object.prototype.hasOwnProperty.call(r.attribs, t) && r.attribs[t] != null;
30
- }
31
- function f(r) {
32
- return r.name;
33
- }
34
- function _(r) {
35
- for (var t, e = r.next; e !== null && !(0, u.isTag)(e); )
36
- t = e, e = t.next;
37
- return e;
38
- }
39
- function c(r) {
40
- for (var t, e = r.prev; e !== null && !(0, u.isTag)(e); )
41
- t = e, e = t.prev;
42
- return e;
43
- }
44
- return n;
45
- }
46
- export {
47
- m as __require
48
- };
@@ -1,4 +0,0 @@
1
- var r = {};
2
- export {
3
- r as __exports
4
- };
@@ -1,12 +0,0 @@
1
- var e, a;
2
- function o() {
3
- if (a) return e;
4
- a = 1;
5
- let n = {};
6
- return e = function(r) {
7
- n[r] || (n[r] = !0);
8
- }, e;
9
- }
10
- export {
11
- o as __require
12
- };
@@ -1,25 +0,0 @@
1
- var t, r;
2
- function h() {
3
- if (r) return t;
4
- r = 1;
5
- class e {
6
- constructor(s, i = {}) {
7
- if (this.type = "warning", this.text = s, i.node && i.node.source) {
8
- let n = i.node.rangeBy(i);
9
- this.line = n.start.line, this.column = n.start.column, this.endLine = n.end.line, this.endColumn = n.end.column;
10
- }
11
- for (let n in i) this[n] = i[n];
12
- }
13
- toString() {
14
- return this.node ? this.node.error(this.text, {
15
- index: this.index,
16
- plugin: this.plugin,
17
- word: this.word
18
- }).message : this.plugin ? this.plugin + ": " + this.text : this.text;
19
- }
20
- }
21
- return t = e, e.default = e, t;
22
- }
23
- export {
24
- h as __require
25
- };
File without changes