@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,322 +0,0 @@
1
- import { __require as S } from "./index-at-rule.js";
2
- import { __require as x } from "./index-comment.js";
3
- import { __require as A } from "./index-declaration.js";
4
- import { __require as T } from "./index-root.js";
5
- import { __require as R } from "./index-rule.js";
6
- import { __require as W } from "./index-tokenize.js";
7
- var m, g;
8
- function U() {
9
- if (g) return m;
10
- g = 1;
11
- let b = S(), _ = x(), F = A(), q = T(), w = R(), y = W();
12
- const d = {
13
- empty: !0,
14
- space: !0
15
- };
16
- function z(u) {
17
- for (let e = u.length - 1; e >= 0; e--) {
18
- let t = u[e], r = t[3] || t[2];
19
- if (r) return r;
20
- }
21
- }
22
- class P {
23
- constructor(e) {
24
- this.input = e, this.root = new q(), this.current = this.root, this.spaces = "", this.semicolon = !1, this.createTokenizer(), this.root.source = { input: e, start: { column: 1, line: 1, offset: 0 } };
25
- }
26
- atrule(e) {
27
- let t = new b();
28
- t.name = e[1].slice(1), t.name === "" && this.unnamedAtrule(t, e), this.init(t, e[2]);
29
- let r, s, i, o = !1, h = !1, n = [], l = [];
30
- for (; !this.tokenizer.endOfFile(); ) {
31
- if (e = this.tokenizer.nextToken(), r = e[0], r === "(" || r === "[" ? l.push(r === "(" ? ")" : "]") : r === "{" && l.length > 0 ? l.push("}") : r === l[l.length - 1] && l.pop(), l.length === 0)
32
- if (r === ";") {
33
- t.source.end = this.getPosition(e[2]), t.source.end.offset++, this.semicolon = !0;
34
- break;
35
- } else if (r === "{") {
36
- h = !0;
37
- break;
38
- } else if (r === "}") {
39
- if (n.length > 0) {
40
- for (i = n.length - 1, s = n[i]; s && s[0] === "space"; )
41
- s = n[--i];
42
- s && (t.source.end = this.getPosition(s[3] || s[2]), t.source.end.offset++);
43
- }
44
- this.end(e);
45
- break;
46
- } else
47
- n.push(e);
48
- else
49
- n.push(e);
50
- if (this.tokenizer.endOfFile()) {
51
- o = !0;
52
- break;
53
- }
54
- }
55
- t.raws.between = this.spacesAndCommentsFromEnd(n), n.length ? (t.raws.afterName = this.spacesAndCommentsFromStart(n), this.raw(t, "params", n), o && (e = n[n.length - 1], t.source.end = this.getPosition(e[3] || e[2]), t.source.end.offset++, this.spaces = t.raws.between, t.raws.between = "")) : (t.raws.afterName = "", t.params = ""), h && (t.nodes = [], this.current = t);
56
- }
57
- checkMissedSemicolon(e) {
58
- let t = this.colon(e);
59
- if (t === !1) return;
60
- let r = 0, s;
61
- for (let i = t - 1; i >= 0 && (s = e[i], !(s[0] !== "space" && (r += 1, r === 2))); i--)
62
- ;
63
- throw this.input.error(
64
- "Missed semicolon",
65
- s[0] === "word" ? s[3] + 1 : s[2]
66
- );
67
- }
68
- colon(e) {
69
- let t = 0, r, s, i;
70
- for (let [o, h] of e.entries()) {
71
- if (s = h, i = s[0], i === "(" && (t += 1), i === ")" && (t -= 1), t === 0 && i === ":")
72
- if (!r)
73
- this.doubleColon(s);
74
- else {
75
- if (r[0] === "word" && r[1] === "progid")
76
- continue;
77
- return o;
78
- }
79
- r = s;
80
- }
81
- return !1;
82
- }
83
- comment(e) {
84
- let t = new _();
85
- this.init(t, e[2]), t.source.end = this.getPosition(e[3] || e[2]), t.source.end.offset++;
86
- let r = e[1].slice(2, -2);
87
- if (/^\s*$/.test(r))
88
- t.text = "", t.raws.left = r, t.raws.right = "";
89
- else {
90
- let s = r.match(/^(\s*)([^]*\S)(\s*)$/);
91
- t.text = s[2], t.raws.left = s[1], t.raws.right = s[3];
92
- }
93
- }
94
- createTokenizer() {
95
- this.tokenizer = y(this.input);
96
- }
97
- decl(e, t) {
98
- let r = new F();
99
- this.init(r, e[0][2]);
100
- let s = e[e.length - 1];
101
- for (s[0] === ";" && (this.semicolon = !0, e.pop()), r.source.end = this.getPosition(
102
- s[3] || s[2] || z(e)
103
- ), r.source.end.offset++; e[0][0] !== "word"; )
104
- e.length === 1 && this.unknownWord(e), r.raws.before += e.shift()[1];
105
- for (r.source.start = this.getPosition(e[0][2]), r.prop = ""; e.length; ) {
106
- let l = e[0][0];
107
- if (l === ":" || l === "space" || l === "comment")
108
- break;
109
- r.prop += e.shift()[1];
110
- }
111
- r.raws.between = "";
112
- let i;
113
- for (; e.length; )
114
- if (i = e.shift(), i[0] === ":") {
115
- r.raws.between += i[1];
116
- break;
117
- } else
118
- i[0] === "word" && /\w/.test(i[1]) && this.unknownWord([i]), r.raws.between += i[1];
119
- (r.prop[0] === "_" || r.prop[0] === "*") && (r.raws.before += r.prop[0], r.prop = r.prop.slice(1));
120
- let o = [], h;
121
- for (; e.length && (h = e[0][0], !(h !== "space" && h !== "comment")); )
122
- o.push(e.shift());
123
- this.precheckMissedSemicolon(e);
124
- for (let l = e.length - 1; l >= 0; l--) {
125
- if (i = e[l], i[1].toLowerCase() === "!important") {
126
- r.important = !0;
127
- let c = this.stringFrom(e, l);
128
- c = this.spacesFromEnd(e) + c, c !== " !important" && (r.raws.important = c);
129
- break;
130
- } else if (i[1].toLowerCase() === "important") {
131
- let c = e.slice(0), f = "";
132
- for (let a = l; a > 0; a--) {
133
- let p = c[a][0];
134
- if (f.trim().startsWith("!") && p !== "space")
135
- break;
136
- f = c.pop()[1] + f;
137
- }
138
- f.trim().startsWith("!") && (r.important = !0, r.raws.important = f, e = c);
139
- }
140
- if (i[0] !== "space" && i[0] !== "comment")
141
- break;
142
- }
143
- e.some((l) => l[0] !== "space" && l[0] !== "comment") && (r.raws.between += o.map((l) => l[1]).join(""), o = []), this.raw(r, "value", o.concat(e), t), r.value.includes(":") && !t && this.checkMissedSemicolon(e);
144
- }
145
- doubleColon(e) {
146
- throw this.input.error(
147
- "Double colon",
148
- { offset: e[2] },
149
- { offset: e[2] + e[1].length }
150
- );
151
- }
152
- emptyRule(e) {
153
- let t = new w();
154
- this.init(t, e[2]), t.selector = "", t.raws.between = "", this.current = t;
155
- }
156
- end(e) {
157
- this.current.nodes && this.current.nodes.length && (this.current.raws.semicolon = this.semicolon), this.semicolon = !1, this.current.raws.after = (this.current.raws.after || "") + this.spaces, this.spaces = "", this.current.parent ? (this.current.source.end = this.getPosition(e[2]), this.current.source.end.offset++, this.current = this.current.parent) : this.unexpectedClose(e);
158
- }
159
- endFile() {
160
- this.current.parent && this.unclosedBlock(), this.current.nodes && this.current.nodes.length && (this.current.raws.semicolon = this.semicolon), this.current.raws.after = (this.current.raws.after || "") + this.spaces, this.root.source.end = this.getPosition(this.tokenizer.position());
161
- }
162
- freeSemicolon(e) {
163
- if (this.spaces += e[1], this.current.nodes) {
164
- let t = this.current.nodes[this.current.nodes.length - 1];
165
- t && t.type === "rule" && !t.raws.ownSemicolon && (t.raws.ownSemicolon = this.spaces, this.spaces = "", t.source.end = this.getPosition(e[2]), t.source.end.offset += t.raws.ownSemicolon.length);
166
- }
167
- }
168
- // Helpers
169
- getPosition(e) {
170
- let t = this.input.fromOffset(e);
171
- return {
172
- column: t.col,
173
- line: t.line,
174
- offset: e
175
- };
176
- }
177
- init(e, t) {
178
- this.current.push(e), e.source = {
179
- input: this.input,
180
- start: this.getPosition(t)
181
- }, e.raws.before = this.spaces, this.spaces = "", e.type !== "comment" && (this.semicolon = !1);
182
- }
183
- other(e) {
184
- let t = !1, r = null, s = !1, i = null, o = [], h = e[1].startsWith("--"), n = [], l = e;
185
- for (; l; ) {
186
- if (r = l[0], n.push(l), r === "(" || r === "[")
187
- i || (i = l), o.push(r === "(" ? ")" : "]");
188
- else if (h && s && r === "{")
189
- i || (i = l), o.push("}");
190
- else if (o.length === 0)
191
- if (r === ";")
192
- if (s) {
193
- this.decl(n, h);
194
- return;
195
- } else
196
- break;
197
- else if (r === "{") {
198
- this.rule(n);
199
- return;
200
- } else if (r === "}") {
201
- this.tokenizer.back(n.pop()), t = !0;
202
- break;
203
- } else r === ":" && (s = !0);
204
- else r === o[o.length - 1] && (o.pop(), o.length === 0 && (i = null));
205
- l = this.tokenizer.nextToken();
206
- }
207
- if (this.tokenizer.endOfFile() && (t = !0), o.length > 0 && this.unclosedBracket(i), t && s) {
208
- if (!h)
209
- for (; n.length && (l = n[n.length - 1][0], !(l !== "space" && l !== "comment")); )
210
- this.tokenizer.back(n.pop());
211
- this.decl(n, h);
212
- } else
213
- this.unknownWord(n);
214
- }
215
- parse() {
216
- let e;
217
- for (; !this.tokenizer.endOfFile(); )
218
- switch (e = this.tokenizer.nextToken(), e[0]) {
219
- case "space":
220
- this.spaces += e[1];
221
- break;
222
- case ";":
223
- this.freeSemicolon(e);
224
- break;
225
- case "}":
226
- this.end(e);
227
- break;
228
- case "comment":
229
- this.comment(e);
230
- break;
231
- case "at-word":
232
- this.atrule(e);
233
- break;
234
- case "{":
235
- this.emptyRule(e);
236
- break;
237
- default:
238
- this.other(e);
239
- break;
240
- }
241
- this.endFile();
242
- }
243
- precheckMissedSemicolon() {
244
- }
245
- raw(e, t, r, s) {
246
- let i, o, h = r.length, n = "", l = !0, c, f;
247
- for (let a = 0; a < h; a += 1)
248
- i = r[a], o = i[0], o === "space" && a === h - 1 && !s ? l = !1 : o === "comment" ? (f = r[a - 1] ? r[a - 1][0] : "empty", c = r[a + 1] ? r[a + 1][0] : "empty", !d[f] && !d[c] ? n.slice(-1) === "," ? l = !1 : n += i[1] : l = !1) : n += i[1];
249
- if (!l) {
250
- let a = r.reduce((p, C) => p + C[1], "");
251
- e.raws[t] = { raw: a, value: n };
252
- }
253
- e[t] = n;
254
- }
255
- rule(e) {
256
- e.pop();
257
- let t = new w();
258
- this.init(t, e[0][2]), t.raws.between = this.spacesAndCommentsFromEnd(e), this.raw(t, "selector", e), this.current = t;
259
- }
260
- spacesAndCommentsFromEnd(e) {
261
- let t, r = "";
262
- for (; e.length && (t = e[e.length - 1][0], !(t !== "space" && t !== "comment")); )
263
- r = e.pop()[1] + r;
264
- return r;
265
- }
266
- // Errors
267
- spacesAndCommentsFromStart(e) {
268
- let t, r = "";
269
- for (; e.length && (t = e[0][0], !(t !== "space" && t !== "comment")); )
270
- r += e.shift()[1];
271
- return r;
272
- }
273
- spacesFromEnd(e) {
274
- let t, r = "";
275
- for (; e.length && (t = e[e.length - 1][0], t === "space"); )
276
- r = e.pop()[1] + r;
277
- return r;
278
- }
279
- stringFrom(e, t) {
280
- let r = "";
281
- for (let s = t; s < e.length; s++)
282
- r += e[s][1];
283
- return e.splice(t, e.length - t), r;
284
- }
285
- unclosedBlock() {
286
- let e = this.current.source.start;
287
- throw this.input.error("Unclosed block", e.line, e.column);
288
- }
289
- unclosedBracket(e) {
290
- throw this.input.error(
291
- "Unclosed bracket",
292
- { offset: e[2] },
293
- { offset: e[2] + 1 }
294
- );
295
- }
296
- unexpectedClose(e) {
297
- throw this.input.error(
298
- "Unexpected }",
299
- { offset: e[2] },
300
- { offset: e[2] + 1 }
301
- );
302
- }
303
- unknownWord(e) {
304
- throw this.input.error(
305
- "Unknown word " + e[0][1],
306
- { offset: e[0][2] },
307
- { offset: e[0][2] + e[0][1].length }
308
- );
309
- }
310
- unnamedAtrule(e, t) {
311
- throw this.input.error(
312
- "At-rule without name",
313
- { offset: t[2] },
314
- { offset: t[2] + t[1].length }
315
- );
316
- }
317
- }
318
- return m = P, m;
319
- }
320
- export {
321
- U as __require
322
- };
@@ -1,13 +0,0 @@
1
- import { __module as e } from "./index-picocolors.browser2.js";
2
- var g;
3
- function o() {
4
- if (g) return e.exports;
5
- g = 1;
6
- var r = String, t = function() {
7
- return { isColorSupported: !1, reset: r, bold: r, dim: r, italic: r, underline: r, inverse: r, hidden: r, strikethrough: r, black: r, red: r, green: r, yellow: r, blue: r, magenta: r, cyan: r, white: r, gray: r, bgBlack: r, bgRed: r, bgGreen: r, bgYellow: r, bgBlue: r, bgMagenta: r, bgCyan: r, bgWhite: r, blackBright: r, redBright: r, greenBright: r, yellowBright: r, blueBright: r, magentaBright: r, cyanBright: r, whiteBright: r, bgBlackBright: r, bgRedBright: r, bgGreenBright: r, bgYellowBright: r, bgBlueBright: r, bgMagentaBright: r, bgCyanBright: r, bgWhiteBright: r };
8
- };
9
- return e.exports = t(), e.exports.createColors = t, e.exports;
10
- }
11
- export {
12
- o as __require
13
- };
@@ -1,4 +0,0 @@
1
- var o = { exports: {} };
2
- export {
3
- o as __module
4
- };
@@ -1,46 +0,0 @@
1
- import { __require as x } from "./index-at-rule.js";
2
- import { __require as O } from "./index-comment.js";
3
- import { __require as W } from "./index-container.js";
4
- import { __require as E } from "./index-css-syntax-error.js";
5
- import { __require as I } from "./index-declaration.js";
6
- import { __require as J } from "./index-document3.js";
7
- import { __require as z } from "./index-fromJSON.js";
8
- import { __require as G } from "./index-input3.js";
9
- import { __require as b } from "./index-lazy-result.js";
10
- import { __require as j } from "./index-list3.js";
11
- import { __require as F } from "./index-node4.js";
12
- import { __require as M } from "./index-parse3.js";
13
- import { __require as V } from "./index-processor.js";
14
- import { __require as k } from "./index-result.js";
15
- import { __require as B } from "./index-root.js";
16
- import { __require as H } from "./index-rule.js";
17
- import { __require as K } from "./index-stringify.js";
18
- import { __require as Q } from "./index-warning2.js";
19
- var u, f;
20
- function pr() {
21
- if (f) return u;
22
- f = 1;
23
- let a = x(), m = O(), w = W(), R = E(), l = I(), c = J(), g = z(), d = G(), y = b(), P = j(), C = F(), h = M(), i = V(), N = k(), p = B(), q = H(), A = K(), S = Q();
24
- function r(...e) {
25
- return e.length === 1 && Array.isArray(e[0]) && (e = e[0]), new i(e);
26
- }
27
- return r.plugin = function(v, D) {
28
- let _ = !1;
29
- function t(...n) {
30
- console && console.warn && !_ && (_ = !0, process.env.LANG && process.env.LANG.startsWith("cn"));
31
- let o = D(...n);
32
- return o.postcssPlugin = v, o.postcssVersion = new i().version, o;
33
- }
34
- let s;
35
- return Object.defineProperty(t, "postcss", {
36
- get() {
37
- return s || (s = t()), s;
38
- }
39
- }), t.process = function(n, o, L) {
40
- return r([t(L)]).process(n, o);
41
- }, t;
42
- }, r.stringify = A, r.parse = h, r.fromJSON = g, r.list = P, r.comment = (e) => new m(e), r.atRule = (e) => new a(e), r.decl = (e) => new l(e), r.rule = (e) => new q(e), r.root = (e) => new p(e), r.document = (e) => new c(e), r.CssSyntaxError = R, r.Declaration = l, r.Container = w, r.Processor = i, r.Document = c, r.Comment = m, r.Warning = S, r.AtRule = a, r.Result = N, r.Input = d, r.Rule = q, r.Root = p, r.Node = C, y.registerPostcss(r), u = r, r.default = r, u;
43
- }
44
- export {
45
- pr as __require
46
- };
@@ -1,92 +0,0 @@
1
- import s from "./index-___vite-browser-external.js";
2
- var u, m;
3
- function w() {
4
- if (m) return u;
5
- m = 1;
6
- let { existsSync: p, readFileSync: d } = s, { dirname: r, join: g } = s, { SourceMapConsumer: l, SourceMapGenerator: f } = s;
7
- function M(o) {
8
- return Buffer ? Buffer.from(o, "base64").toString() : window.atob(o);
9
- }
10
- class a {
11
- constructor(t, e) {
12
- if (e.map === !1) return;
13
- this.loadAnnotation(t), this.inline = this.startWith(this.annotation, "data:");
14
- let i = e.map ? e.map.prev : void 0, n = this.loadMap(e.from, i);
15
- !this.mapFile && e.from && (this.mapFile = e.from), this.mapFile && (this.root = r(this.mapFile)), n && (this.text = n);
16
- }
17
- consumer() {
18
- return this.consumerCache || (this.consumerCache = new l(this.text)), this.consumerCache;
19
- }
20
- decodeInline(t) {
21
- let e = /^data:application\/json;charset=utf-?8;base64,/, i = /^data:application\/json;base64,/, n = /^data:application\/json;charset=utf-?8,/, b = /^data:application\/json,/, h = t.match(n) || t.match(b);
22
- if (h)
23
- return decodeURIComponent(t.substr(h[0].length));
24
- let c = t.match(e) || t.match(i);
25
- if (c)
26
- return M(t.substr(c[0].length));
27
- let S = t.match(/data:application\/json;([^,]+),/)[1];
28
- throw new Error("Unsupported source map encoding " + S);
29
- }
30
- getAnnotationURL(t) {
31
- return t.replace(/^\/\*\s*# sourceMappingURL=/, "").trim();
32
- }
33
- isMap(t) {
34
- return typeof t != "object" ? !1 : typeof t.mappings == "string" || typeof t._mappings == "string" || Array.isArray(t.sections);
35
- }
36
- loadAnnotation(t) {
37
- let e = t.match(/\/\*\s*# sourceMappingURL=/g);
38
- if (!e) return;
39
- let i = t.lastIndexOf(e.pop()), n = t.indexOf("*/", i);
40
- i > -1 && n > -1 && (this.annotation = this.getAnnotationURL(t.substring(i, n)));
41
- }
42
- loadFile(t) {
43
- if (this.root = r(t), p(t))
44
- return this.mapFile = t, d(t, "utf-8").toString().trim();
45
- }
46
- loadMap(t, e) {
47
- if (e === !1) return !1;
48
- if (e) {
49
- if (typeof e == "string")
50
- return e;
51
- if (typeof e == "function") {
52
- let i = e(t);
53
- if (i) {
54
- let n = this.loadFile(i);
55
- if (!n)
56
- throw new Error(
57
- "Unable to load previous source map: " + i.toString()
58
- );
59
- return n;
60
- }
61
- } else {
62
- if (e instanceof l)
63
- return f.fromSourceMap(e).toString();
64
- if (e instanceof f)
65
- return e.toString();
66
- if (this.isMap(e))
67
- return JSON.stringify(e);
68
- throw new Error(
69
- "Unsupported previous source map format: " + e.toString()
70
- );
71
- }
72
- } else {
73
- if (this.inline)
74
- return this.decodeInline(this.annotation);
75
- if (this.annotation) {
76
- let i = this.annotation;
77
- return t && (i = g(r(t), i)), this.loadFile(i);
78
- }
79
- }
80
- }
81
- startWith(t, e) {
82
- return t ? t.substr(0, e.length) === e : !1;
83
- }
84
- withContent() {
85
- return !!(this.consumer().sourcesContent && this.consumer().sourcesContent.length > 0);
86
- }
87
- }
88
- return u = a, a.default = a, u;
89
- }
90
- export {
91
- w as __require
92
- };
@@ -1,43 +0,0 @@
1
- import { __require as c } from "./index-document3.js";
2
- import { __require as p } from "./index-lazy-result.js";
3
- import { __require as f } from "./index-no-work-result.js";
4
- import { __require as h } from "./index-root.js";
5
- var o, i;
6
- function P() {
7
- if (i) return o;
8
- i = 1;
9
- let n = c(), u = p(), l = f(), a = h();
10
- class t {
11
- constructor(s = []) {
12
- this.version = "8.5.6", this.plugins = this.normalize(s);
13
- }
14
- normalize(s) {
15
- let r = [];
16
- for (let e of s)
17
- if (e.postcss === !0 ? e = e() : e.postcss && (e = e.postcss), typeof e == "object" && Array.isArray(e.plugins))
18
- r = r.concat(e.plugins);
19
- else if (typeof e == "object" && e.postcssPlugin)
20
- r.push(e);
21
- else if (typeof e == "function")
22
- r.push(e);
23
- else if (typeof e == "object" && (e.parse || e.stringify)) {
24
- if (process.env.NODE_ENV !== "production")
25
- throw new Error(
26
- "PostCSS syntaxes cannot be used as plugins. Instead, please use one of the syntax/parser/stringifier options as outlined in your PostCSS runner documentation."
27
- );
28
- } else
29
- throw new Error(e + " is not a PostCSS plugin");
30
- return r;
31
- }
32
- process(s, r = {}) {
33
- return !this.plugins.length && !r.parser && !r.stringifier && !r.syntax ? new l(this, s, r) : new u(this, s, r);
34
- }
35
- use(s) {
36
- return this.plugins = this.plugins.concat(this.normalize([s])), this;
37
- }
38
- }
39
- return o = t, t.default = t, a.registerProcessor(t), n.registerProcessor(t), o;
40
- }
41
- export {
42
- P as __require
43
- };
@@ -1,63 +0,0 @@
1
- import { __exports as u } from "./index-querying2.js";
2
- import { __require as o } from "./index-lib.js";
3
- var d;
4
- function O() {
5
- if (d) return u;
6
- d = 1, Object.defineProperty(u, "__esModule", { value: !0 }), u.filter = y, u.find = s, u.findOneChild = g, u.findOne = c, u.existsOne = v, u.findAll = A;
7
- var e = /* @__PURE__ */ o();
8
- function y(f, r, n, t) {
9
- return n === void 0 && (n = !0), t === void 0 && (t = 1 / 0), s(f, Array.isArray(r) ? r : [r], n, t);
10
- }
11
- function s(f, r, n, t) {
12
- for (var a = [], i = [Array.isArray(r) ? r : [r]], h = [0]; ; ) {
13
- if (h[0] >= i[0].length) {
14
- if (h.length === 1)
15
- return a;
16
- i.shift(), h.shift();
17
- continue;
18
- }
19
- var l = i[0][h[0]++];
20
- if (f(l) && (a.push(l), --t <= 0))
21
- return a;
22
- n && (0, e.hasChildren)(l) && l.children.length > 0 && (h.unshift(0), i.unshift(l.children));
23
- }
24
- }
25
- function g(f, r) {
26
- return r.find(f);
27
- }
28
- function c(f, r, n) {
29
- n === void 0 && (n = !0);
30
- for (var t = Array.isArray(r) ? r : [r], a = 0; a < t.length; a++) {
31
- var i = t[a];
32
- if ((0, e.isTag)(i) && f(i))
33
- return i;
34
- if (n && (0, e.hasChildren)(i) && i.children.length > 0) {
35
- var h = c(f, i.children, !0);
36
- if (h)
37
- return h;
38
- }
39
- }
40
- return null;
41
- }
42
- function v(f, r) {
43
- return (Array.isArray(r) ? r : [r]).some(function(n) {
44
- return (0, e.isTag)(n) && f(n) || (0, e.hasChildren)(n) && v(f, n.children);
45
- });
46
- }
47
- function A(f, r) {
48
- for (var n = [], t = [Array.isArray(r) ? r : [r]], a = [0]; ; ) {
49
- if (a[0] >= t[0].length) {
50
- if (t.length === 1)
51
- return n;
52
- t.shift(), a.shift();
53
- continue;
54
- }
55
- var i = t[0][a[0]++];
56
- (0, e.isTag)(i) && f(i) && n.push(i), (0, e.hasChildren)(i) && i.children.length > 0 && (a.unshift(0), t.unshift(i.children));
57
- }
58
- }
59
- return u;
60
- }
61
- export {
62
- O as __require
63
- };
@@ -1,4 +0,0 @@
1
- var r = {};
2
- export {
3
- r as __exports
4
- };
@@ -1,30 +0,0 @@
1
- import { __require as a } from "./index-warning2.js";
2
- var i, n;
3
- function h() {
4
- if (n) return i;
5
- n = 1;
6
- let u = a();
7
- class e {
8
- get content() {
9
- return this.css;
10
- }
11
- constructor(s, t, r) {
12
- this.processor = s, this.messages = [], this.root = t, this.opts = r, this.css = "", this.map = void 0;
13
- }
14
- toString() {
15
- return this.css;
16
- }
17
- warn(s, t = {}) {
18
- t.plugin || this.lastPlugin && this.lastPlugin.postcssPlugin && (t.plugin = this.lastPlugin.postcssPlugin);
19
- let r = new u(s, t);
20
- return this.messages.push(r), r;
21
- }
22
- warnings() {
23
- return this.messages.filter((s) => s.type === "warning");
24
- }
25
- }
26
- return i = e, e.default = e, i;
27
- }
28
- export {
29
- h as __require
30
- };
@@ -1,38 +0,0 @@
1
- import { __require as h } from "./index-container.js";
2
- var i, d;
3
- function R() {
4
- if (d) return i;
5
- d = 1;
6
- let n = h(), f, u;
7
- class t extends n {
8
- constructor(e) {
9
- super(e), this.type = "root", this.nodes || (this.nodes = []);
10
- }
11
- normalize(e, r, s) {
12
- let a = super.normalize(e);
13
- if (r) {
14
- if (s === "prepend")
15
- this.nodes.length > 1 ? r.raws.before = this.nodes[1].raws.before : delete r.raws.before;
16
- else if (this.first !== r)
17
- for (let l of a)
18
- l.raws.before = r.raws.before;
19
- }
20
- return a;
21
- }
22
- removeChild(e, r) {
23
- let s = this.index(e);
24
- return !r && s === 0 && this.nodes.length > 1 && (this.nodes[1].raws.before = this.nodes[s].raws.before), super.removeChild(e);
25
- }
26
- toResult(e = {}) {
27
- return new f(new u(), this, e).stringify();
28
- }
29
- }
30
- return t.registerLazyResult = (o) => {
31
- f = o;
32
- }, t.registerProcessor = (o) => {
33
- u = o;
34
- }, i = t, t.default = t, n.registerRoot(t), i;
35
- }
36
- export {
37
- R as __require
38
- };
@@ -1,24 +0,0 @@
1
- import { __require as n } from "./index-container.js";
2
- import { __require as a } from "./index-list3.js";
3
- var t, l;
4
- function f() {
5
- if (l) return t;
6
- l = 1;
7
- let s = n(), o = a();
8
- class e extends s {
9
- get selectors() {
10
- return o.comma(this.selector);
11
- }
12
- set selectors(r) {
13
- let i = this.selector ? this.selector.match(/,\s*/) : null, u = i ? i[0] : "," + this.raw("between", "beforeOpen");
14
- this.selector = r.join(u);
15
- }
16
- constructor(r) {
17
- super(r), this.type = "rule", this.nodes || (this.nodes = []);
18
- }
19
- }
20
- return t = e, e.default = e, s.registerRule(e), t;
21
- }
22
- export {
23
- f as __require
24
- };