@cuemath/leap 3.0.21 → 3.0.22-aa1

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 (188) hide show
  1. package/dist/_virtual/___vite-browser-external.js +7 -0
  2. package/dist/_virtual/___vite-browser-external.js.map +1 -0
  3. package/dist/_virtual/__vite-browser-external.js +5 -0
  4. package/dist/_virtual/__vite-browser-external.js.map +1 -0
  5. package/dist/_virtual/_commonjsHelpers.js +24 -4
  6. package/dist/_virtual/_commonjsHelpers.js.map +1 -1
  7. package/dist/_virtual/index2.js +5 -0
  8. package/dist/_virtual/index2.js.map +1 -0
  9. package/dist/_virtual/picocolors.browser.js +5 -0
  10. package/dist/_virtual/picocolors.browser.js.map +1 -0
  11. package/dist/_virtual/symbols.js +5 -0
  12. package/dist/_virtual/symbols.js.map +1 -0
  13. package/dist/assets/line-icons/icons/check.js +3 -3
  14. package/dist/assets/line-icons/icons/check.js.map +1 -1
  15. package/dist/assets/line-icons/icons/hw.js +32 -0
  16. package/dist/assets/line-icons/icons/hw.js.map +1 -0
  17. package/dist/assets/line-icons/icons/puzzle-icon.js +51 -0
  18. package/dist/assets/line-icons/icons/puzzle-icon.js.map +1 -0
  19. package/dist/assets/line-icons/icons/share.js +48 -0
  20. package/dist/assets/line-icons/icons/share.js.map +1 -0
  21. package/dist/assets/line-icons/icons/tile.js +54 -0
  22. package/dist/assets/line-icons/icons/tile.js.map +1 -0
  23. package/dist/features/communication/pub-sub/constants.js +1 -0
  24. package/dist/features/communication/pub-sub/constants.js.map +1 -1
  25. package/dist/features/cue-canvas/bottombar/homework-controls.js +73 -0
  26. package/dist/features/cue-canvas/bottombar/homework-controls.js.map +1 -0
  27. package/dist/features/cue-canvas/cue-canvas-context.js +8 -5
  28. package/dist/features/cue-canvas/cue-canvas-context.js.map +1 -1
  29. package/dist/features/cue-canvas/cue-canvas-core.js +51 -47
  30. package/dist/features/cue-canvas/cue-canvas-core.js.map +1 -1
  31. package/dist/features/cue-canvas/cue-canvas-helpers.js +31 -25
  32. package/dist/features/cue-canvas/cue-canvas-helpers.js.map +1 -1
  33. package/dist/features/cue-canvas/cue-canvas-provider.js +14 -12
  34. package/dist/features/cue-canvas/cue-canvas-provider.js.map +1 -1
  35. package/dist/features/cue-canvas/cue-canvas.js +61 -59
  36. package/dist/features/cue-canvas/cue-canvas.js.map +1 -1
  37. package/dist/features/cue-canvas/cue-cavas-styled.js +29 -29
  38. package/dist/features/cue-canvas/hooks/use-canvas-sync-broker.js +50 -46
  39. package/dist/features/cue-canvas/hooks/use-canvas-sync-broker.js.map +1 -1
  40. package/dist/features/cue-canvas/hooks/use-cue-canvas-actions.js +18 -14
  41. package/dist/features/cue-canvas/hooks/use-cue-canvas-actions.js.map +1 -1
  42. package/dist/features/cue-canvas/hooks/use-upload-helper.js +23 -0
  43. package/dist/features/cue-canvas/hooks/use-upload-helper.js.map +1 -0
  44. package/dist/features/cue-canvas/sidebar/homework/helper.js +20 -0
  45. package/dist/features/cue-canvas/sidebar/homework/helper.js.map +1 -0
  46. package/dist/features/cue-canvas/sidebar/homework/homework-menu.js +33 -0
  47. package/dist/features/cue-canvas/sidebar/homework/homework-menu.js.map +1 -0
  48. package/dist/features/cue-canvas/sidebar/homework/homework-request.js +61 -0
  49. package/dist/features/cue-canvas/sidebar/homework/homework-request.js.map +1 -0
  50. package/dist/features/cue-canvas/sidebar/homework/homework-styled.js +25 -0
  51. package/dist/features/cue-canvas/sidebar/homework/homework-styled.js.map +1 -0
  52. package/dist/features/cue-canvas/sidebar/homework/homework.js +58 -0
  53. package/dist/features/cue-canvas/sidebar/homework/homework.js.map +1 -0
  54. package/dist/features/cue-canvas/sidebar/puzzles/api/get-puzzles.js +13 -0
  55. package/dist/features/cue-canvas/sidebar/puzzles/api/get-puzzles.js.map +1 -0
  56. package/dist/features/cue-canvas/sidebar/puzzles/filter-selection-menu.js +60 -0
  57. package/dist/features/cue-canvas/sidebar/puzzles/filter-selection-menu.js.map +1 -0
  58. package/dist/features/cue-canvas/sidebar/puzzles/filters-section.js +44 -0
  59. package/dist/features/cue-canvas/sidebar/puzzles/filters-section.js.map +1 -0
  60. package/dist/features/cue-canvas/sidebar/puzzles/filters.js +107 -0
  61. package/dist/features/cue-canvas/sidebar/puzzles/filters.js.map +1 -0
  62. package/dist/features/cue-canvas/sidebar/puzzles/hooks/use-fetch-cue-canvas-activity.js +42 -0
  63. package/dist/features/cue-canvas/sidebar/puzzles/hooks/use-fetch-cue-canvas-activity.js.map +1 -0
  64. package/dist/features/cue-canvas/sidebar/puzzles/launch-puzzle.js +84 -0
  65. package/dist/features/cue-canvas/sidebar/puzzles/launch-puzzle.js.map +1 -0
  66. package/dist/features/cue-canvas/sidebar/puzzles/puzzle-menu-header.js +36 -0
  67. package/dist/features/cue-canvas/sidebar/puzzles/puzzle-menu-header.js.map +1 -0
  68. package/dist/features/cue-canvas/sidebar/puzzles/puzzle-menu.js +133 -0
  69. package/dist/features/cue-canvas/sidebar/puzzles/puzzle-menu.js.map +1 -0
  70. package/dist/features/cue-canvas/sidebar/puzzles/puzzles-styled.js +96 -0
  71. package/dist/features/cue-canvas/sidebar/puzzles/puzzles-styled.js.map +1 -0
  72. package/dist/features/cue-canvas/sidebar/puzzles/puzzles.js +29 -0
  73. package/dist/features/cue-canvas/sidebar/puzzles/puzzles.js.map +1 -0
  74. package/dist/features/cue-canvas/sidebar/puzzles/utils.js +120 -0
  75. package/dist/features/cue-canvas/sidebar/puzzles/utils.js.map +1 -0
  76. package/dist/features/cue-canvas/sidebar/sidebar-styled.js +32 -0
  77. package/dist/features/cue-canvas/sidebar/sidebar-styled.js.map +1 -0
  78. package/dist/features/cue-canvas/sidebar/sidebar.js +29 -0
  79. package/dist/features/cue-canvas/sidebar/sidebar.js.map +1 -0
  80. package/dist/features/cue-canvas/sidebar/tiles/tile.js +16 -0
  81. package/dist/features/cue-canvas/sidebar/tiles/tile.js.map +1 -0
  82. package/dist/features/hooks/use-debounce.js +16 -0
  83. package/dist/features/hooks/use-debounce.js.map +1 -0
  84. package/dist/features/ui/stepper/stepper.js +7 -7
  85. package/dist/features/worksheet/worksheet/hooks/use-s3-helper.js +22 -19
  86. package/dist/features/worksheet/worksheet/hooks/use-s3-helper.js.map +1 -1
  87. package/dist/index.d.ts +46 -6
  88. package/dist/index.js +487 -481
  89. package/dist/index.js.map +1 -1
  90. package/dist/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +53 -0
  91. package/dist/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js.map +1 -0
  92. package/dist/node_modules/camelize/index.js +44 -0
  93. package/dist/node_modules/camelize/index.js.map +1 -0
  94. package/dist/node_modules/css-color-keywords/colors.json.js +298 -0
  95. package/dist/node_modules/css-color-keywords/colors.json.js.map +1 -0
  96. package/dist/node_modules/css-color-keywords/index.js +6 -0
  97. package/dist/node_modules/css-color-keywords/index.js.map +1 -0
  98. package/dist/node_modules/css-to-react-native/index.js +397 -0
  99. package/dist/node_modules/css-to-react-native/index.js.map +1 -0
  100. package/dist/node_modules/nanoid/non-secure/index.js +16 -0
  101. package/dist/node_modules/nanoid/non-secure/index.js.map +1 -0
  102. package/dist/node_modules/picocolors/picocolors.browser.js +11 -0
  103. package/dist/node_modules/picocolors/picocolors.browser.js.map +1 -0
  104. package/dist/node_modules/postcss/lib/at-rule.js +20 -0
  105. package/dist/node_modules/postcss/lib/at-rule.js.map +1 -0
  106. package/dist/node_modules/postcss/lib/comment.js +13 -0
  107. package/dist/node_modules/postcss/lib/comment.js.map +1 -0
  108. package/dist/node_modules/postcss/lib/container.js +226 -0
  109. package/dist/node_modules/postcss/lib/container.js.map +1 -0
  110. package/dist/node_modules/postcss/lib/css-syntax-error.js +45 -0
  111. package/dist/node_modules/postcss/lib/css-syntax-error.js.map +1 -0
  112. package/dist/node_modules/postcss/lib/declaration.js +16 -0
  113. package/dist/node_modules/postcss/lib/declaration.js.map +1 -0
  114. package/dist/node_modules/postcss/lib/document.js +22 -0
  115. package/dist/node_modules/postcss/lib/document.js.map +1 -0
  116. package/dist/node_modules/postcss/lib/fromJSON.js +43 -0
  117. package/dist/node_modules/postcss/lib/fromJSON.js.map +1 -0
  118. package/dist/node_modules/postcss/lib/input.js +134 -0
  119. package/dist/node_modules/postcss/lib/input.js.map +1 -0
  120. package/dist/node_modules/postcss/lib/lazy-result.js +347 -0
  121. package/dist/node_modules/postcss/lib/lazy-result.js.map +1 -0
  122. package/dist/node_modules/postcss/lib/list.js +22 -0
  123. package/dist/node_modules/postcss/lib/list.js.map +1 -0
  124. package/dist/node_modules/postcss/lib/map-generator.js +167 -0
  125. package/dist/node_modules/postcss/lib/map-generator.js.map +1 -0
  126. package/dist/node_modules/postcss/lib/no-work-result.js +90 -0
  127. package/dist/node_modules/postcss/lib/no-work-result.js.map +1 -0
  128. package/dist/node_modules/postcss/lib/node.js +216 -0
  129. package/dist/node_modules/postcss/lib/node.js.map +1 -0
  130. package/dist/node_modules/postcss/lib/parse.js +23 -0
  131. package/dist/node_modules/postcss/lib/parse.js.map +1 -0
  132. package/dist/node_modules/postcss/lib/parser.js +318 -0
  133. package/dist/node_modules/postcss/lib/parser.js.map +1 -0
  134. package/dist/node_modules/postcss/lib/postcss.js +30 -0
  135. package/dist/node_modules/postcss/lib/postcss.js.map +1 -0
  136. package/dist/node_modules/postcss/lib/postcss2.js +76 -0
  137. package/dist/node_modules/postcss/lib/postcss2.js.map +1 -0
  138. package/dist/node_modules/postcss/lib/previous-map.js +89 -0
  139. package/dist/node_modules/postcss/lib/previous-map.js.map +1 -0
  140. package/dist/node_modules/postcss/lib/processor.js +42 -0
  141. package/dist/node_modules/postcss/lib/processor.js.map +1 -0
  142. package/dist/node_modules/postcss/lib/result.js +27 -0
  143. package/dist/node_modules/postcss/lib/result.js.map +1 -0
  144. package/dist/node_modules/postcss/lib/root.js +38 -0
  145. package/dist/node_modules/postcss/lib/root.js.map +1 -0
  146. package/dist/node_modules/postcss/lib/rule.js +22 -0
  147. package/dist/node_modules/postcss/lib/rule.js.map +1 -0
  148. package/dist/node_modules/postcss/lib/stringifier.js +193 -0
  149. package/dist/node_modules/postcss/lib/stringifier.js.map +1 -0
  150. package/dist/node_modules/postcss/lib/stringify.js +11 -0
  151. package/dist/node_modules/postcss/lib/stringify.js.map +1 -0
  152. package/dist/node_modules/postcss/lib/symbols.js +7 -0
  153. package/dist/node_modules/postcss/lib/symbols.js.map +1 -0
  154. package/dist/node_modules/postcss/lib/tokenize.js +110 -0
  155. package/dist/node_modules/postcss/lib/tokenize.js.map +1 -0
  156. package/dist/node_modules/postcss/lib/warn-once.js +8 -0
  157. package/dist/node_modules/postcss/lib/warn-once.js.map +1 -0
  158. package/dist/node_modules/postcss/lib/warning.js +22 -0
  159. package/dist/node_modules/postcss/lib/warning.js.map +1 -0
  160. package/dist/node_modules/postcss-value-parser/lib/index.js +22 -0
  161. package/dist/node_modules/postcss-value-parser/lib/index.js.map +1 -0
  162. package/dist/node_modules/postcss-value-parser/lib/parse.js +115 -0
  163. package/dist/node_modules/postcss-value-parser/lib/parse.js.map +1 -0
  164. package/dist/node_modules/postcss-value-parser/lib/stringify.js +18 -0
  165. package/dist/node_modules/postcss-value-parser/lib/stringify.js.map +1 -0
  166. package/dist/node_modules/postcss-value-parser/lib/unit.js +37 -0
  167. package/dist/node_modules/postcss-value-parser/lib/unit.js.map +1 -0
  168. package/dist/node_modules/postcss-value-parser/lib/walk.js +9 -0
  169. package/dist/node_modules/postcss-value-parser/lib/walk.js.map +1 -0
  170. package/dist/node_modules/styled-components/native/dist/styled-components.native.esm.js +473 -0
  171. package/dist/node_modules/styled-components/native/dist/styled-components.native.esm.js.map +1 -0
  172. package/dist/node_modules/stylis/src/Enum.js +13 -0
  173. package/dist/node_modules/stylis/src/Enum.js.map +1 -0
  174. package/dist/node_modules/stylis/src/Middleware.js +48 -0
  175. package/dist/node_modules/stylis/src/Middleware.js.map +1 -0
  176. package/dist/node_modules/stylis/src/Parser.js +115 -0
  177. package/dist/node_modules/stylis/src/Parser.js.map +1 -0
  178. package/dist/node_modules/stylis/src/Prefixer.js +151 -0
  179. package/dist/node_modules/stylis/src/Prefixer.js.map +1 -0
  180. package/dist/node_modules/stylis/src/Serializer.js +28 -0
  181. package/dist/node_modules/stylis/src/Serializer.js.map +1 -0
  182. package/dist/node_modules/stylis/src/Tokenizer.js +138 -0
  183. package/dist/node_modules/stylis/src/Tokenizer.js.map +1 -0
  184. package/dist/node_modules/stylis/src/Utility.js +57 -0
  185. package/dist/node_modules/stylis/src/Utility.js.map +1 -0
  186. package/dist/node_modules/tslib/tslib.es6.js +19 -0
  187. package/dist/node_modules/tslib/tslib.es6.js.map +1 -0
  188. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"processor.js","sources":["../../../../node_modules/postcss/lib/processor.js"],"sourcesContent":["'use strict'\n\nlet NoWorkResult = require('./no-work-result')\nlet LazyResult = require('./lazy-result')\nlet Document = require('./document')\nlet Root = require('./root')\n\nclass Processor {\n constructor(plugins = []) {\n this.version = '8.4.41'\n this.plugins = this.normalize(plugins)\n }\n\n normalize(plugins) {\n let normalized = []\n for (let i of plugins) {\n if (i.postcss === true) {\n i = i()\n } else if (i.postcss) {\n i = i.postcss\n }\n\n if (typeof i === 'object' && Array.isArray(i.plugins)) {\n normalized = normalized.concat(i.plugins)\n } else if (typeof i === 'object' && i.postcssPlugin) {\n normalized.push(i)\n } else if (typeof i === 'function') {\n normalized.push(i)\n } else if (typeof i === 'object' && (i.parse || i.stringify)) {\n if (process.env.NODE_ENV !== 'production') {\n throw new Error(\n 'PostCSS syntaxes cannot be used as plugins. Instead, please use ' +\n 'one of the syntax/parser/stringifier options as outlined ' +\n 'in your PostCSS runner documentation.'\n )\n }\n } else {\n throw new Error(i + ' is not a PostCSS plugin')\n }\n }\n return normalized\n }\n\n process(css, opts = {}) {\n if (\n !this.plugins.length &&\n !opts.parser &&\n !opts.stringifier &&\n !opts.syntax\n ) {\n return new NoWorkResult(this, css, opts)\n } else {\n return new LazyResult(this, css, opts)\n }\n }\n\n use(plugin) {\n this.plugins = this.plugins.concat(this.normalize([plugin]))\n return this\n }\n}\n\nmodule.exports = Processor\nProcessor.default = Processor\n\nRoot.registerProcessor(Processor)\nDocument.registerProcessor(Processor)\n"],"names":["NoWorkResult","require$$0","LazyResult","require$$1","Document","require$$2","Root","require$$3","Processor","plugins","normalized","i","css","opts","plugin","processor"],"mappings":";;;;AAEA,IAAIA,IAAeC,GACfC,IAAaC,GACbC,IAAWC,GACXC,IAAOC;AAEX,MAAMC,EAAU;AAAA,EACd,YAAYC,IAAU,IAAI;AACxB,SAAK,UAAU,UACf,KAAK,UAAU,KAAK,UAAUA,CAAO;AAAA,EACtC;AAAA,EAED,UAAUA,GAAS;AACjB,QAAIC,IAAa,CAAE;AACnB,aAASC,KAAKF;AAOZ,UANIE,EAAE,YAAY,KAChBA,IAAIA,EAAG,IACEA,EAAE,YACXA,IAAIA,EAAE,UAGJ,OAAOA,KAAM,YAAY,MAAM,QAAQA,EAAE,OAAO;AAClD,QAAAD,IAAaA,EAAW,OAAOC,EAAE,OAAO;AAAA,eAC/B,OAAOA,KAAM,YAAYA,EAAE;AACpC,QAAAD,EAAW,KAAKC,CAAC;AAAA,eACR,OAAOA,KAAM;AACtB,QAAAD,EAAW,KAAKC,CAAC;AAAA,eACR,OAAOA,KAAM,aAAaA,EAAE,SAASA,EAAE;AAChD,YAAI,QAAQ,IAAI,aAAa;AAC3B,gBAAM,IAAI;AAAA,YACR;AAAA,UAGD;AAAA;AAGH,cAAM,IAAI,MAAMA,IAAI,0BAA0B;AAGlD,WAAOD;AAAA,EACR;AAAA,EAED,QAAQE,GAAKC,IAAO,IAAI;AACtB,WACE,CAAC,KAAK,QAAQ,UACd,CAACA,EAAK,UACN,CAACA,EAAK,eACN,CAACA,EAAK,SAEC,IAAIb,EAAa,MAAMY,GAAKC,CAAI,IAEhC,IAAIX,EAAW,MAAMU,GAAKC,CAAI;AAAA,EAExC;AAAA,EAED,IAAIC,GAAQ;AACV,gBAAK,UAAU,KAAK,QAAQ,OAAO,KAAK,UAAU,CAACA,CAAM,CAAC,CAAC,GACpD;AAAA,EACR;AACH;AAEA,IAAAC,IAAiBP;AACjBA,EAAU,UAAUA;AAEpBF,EAAK,kBAAkBE,CAAS;AAChCJ,EAAS,kBAAkBI,CAAS;","x_google_ignoreList":[0]}
@@ -0,0 +1,27 @@
1
+ import { w as r } from "./warning.js";
2
+ let e = r;
3
+ class n {
4
+ constructor(s, t, i) {
5
+ this.processor = s, this.messages = [], this.root = t, this.opts = i, this.css = void 0, this.map = void 0;
6
+ }
7
+ toString() {
8
+ return this.css;
9
+ }
10
+ warn(s, t = {}) {
11
+ t.plugin || this.lastPlugin && this.lastPlugin.postcssPlugin && (t.plugin = this.lastPlugin.postcssPlugin);
12
+ let i = new e(s, t);
13
+ return this.messages.push(i), i;
14
+ }
15
+ warnings() {
16
+ return this.messages.filter((s) => s.type === "warning");
17
+ }
18
+ get content() {
19
+ return this.css;
20
+ }
21
+ }
22
+ var g = n;
23
+ n.default = n;
24
+ export {
25
+ g as r
26
+ };
27
+ //# sourceMappingURL=result.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"result.js","sources":["../../../../node_modules/postcss/lib/result.js"],"sourcesContent":["'use strict'\n\nlet Warning = require('./warning')\n\nclass Result {\n constructor(processor, root, opts) {\n this.processor = processor\n this.messages = []\n this.root = root\n this.opts = opts\n this.css = undefined\n this.map = undefined\n }\n\n toString() {\n return this.css\n }\n\n warn(text, opts = {}) {\n if (!opts.plugin) {\n if (this.lastPlugin && this.lastPlugin.postcssPlugin) {\n opts.plugin = this.lastPlugin.postcssPlugin\n }\n }\n\n let warning = new Warning(text, opts)\n this.messages.push(warning)\n\n return warning\n }\n\n warnings() {\n return this.messages.filter(i => i.type === 'warning')\n }\n\n get content() {\n return this.css\n }\n}\n\nmodule.exports = Result\nResult.default = Result\n"],"names":["Warning","require$$0","Result","processor","root","opts","text","warning","i","result"],"mappings":";AAEA,IAAIA,IAAUC;AAEd,MAAMC,EAAO;AAAA,EACX,YAAYC,GAAWC,GAAMC,GAAM;AACjC,SAAK,YAAYF,GACjB,KAAK,WAAW,CAAE,GAClB,KAAK,OAAOC,GACZ,KAAK,OAAOC,GACZ,KAAK,MAAM,QACX,KAAK,MAAM;AAAA,EACZ;AAAA,EAED,WAAW;AACT,WAAO,KAAK;AAAA,EACb;AAAA,EAED,KAAKC,GAAMD,IAAO,IAAI;AACpB,IAAKA,EAAK,UACJ,KAAK,cAAc,KAAK,WAAW,kBACrCA,EAAK,SAAS,KAAK,WAAW;AAIlC,QAAIE,IAAU,IAAIP,EAAQM,GAAMD,CAAI;AACpC,gBAAK,SAAS,KAAKE,CAAO,GAEnBA;AAAA,EACR;AAAA,EAED,WAAW;AACT,WAAO,KAAK,SAAS,OAAO,CAAAC,MAAKA,EAAE,SAAS,SAAS;AAAA,EACtD;AAAA,EAED,IAAI,UAAU;AACZ,WAAO,KAAK;AAAA,EACb;AACH;AAEA,IAAAC,IAAiBP;AACjBA,EAAO,UAAUA;","x_google_ignoreList":[0]}
@@ -0,0 +1,38 @@
1
+ import { c as d } from "./container.js";
2
+ let n = d, f, l;
3
+ class s extends n {
4
+ constructor(e) {
5
+ super(e), this.type = "root", this.nodes || (this.nodes = []);
6
+ }
7
+ normalize(e, r, o) {
8
+ let i = super.normalize(e);
9
+ if (r) {
10
+ if (o === "prepend")
11
+ this.nodes.length > 1 ? r.raws.before = this.nodes[1].raws.before : delete r.raws.before;
12
+ else if (this.first !== r)
13
+ for (let a of i)
14
+ a.raws.before = r.raws.before;
15
+ }
16
+ return i;
17
+ }
18
+ removeChild(e, r) {
19
+ let o = this.index(e);
20
+ return !r && o === 0 && this.nodes.length > 1 && (this.nodes[1].raws.before = this.nodes[o].raws.before), super.removeChild(e);
21
+ }
22
+ toResult(e = {}) {
23
+ return new f(new l(), this, e).stringify();
24
+ }
25
+ }
26
+ s.registerLazyResult = (t) => {
27
+ f = t;
28
+ };
29
+ s.registerProcessor = (t) => {
30
+ l = t;
31
+ };
32
+ var u = s;
33
+ s.default = s;
34
+ n.registerRoot(s);
35
+ export {
36
+ u as r
37
+ };
38
+ //# sourceMappingURL=root.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"root.js","sources":["../../../../node_modules/postcss/lib/root.js"],"sourcesContent":["'use strict'\n\nlet Container = require('./container')\n\nlet LazyResult, Processor\n\nclass Root extends Container {\n constructor(defaults) {\n super(defaults)\n this.type = 'root'\n if (!this.nodes) this.nodes = []\n }\n\n normalize(child, sample, type) {\n let nodes = super.normalize(child)\n\n if (sample) {\n if (type === 'prepend') {\n if (this.nodes.length > 1) {\n sample.raws.before = this.nodes[1].raws.before\n } else {\n delete sample.raws.before\n }\n } else if (this.first !== sample) {\n for (let node of nodes) {\n node.raws.before = sample.raws.before\n }\n }\n }\n\n return nodes\n }\n\n removeChild(child, ignore) {\n let index = this.index(child)\n\n if (!ignore && index === 0 && this.nodes.length > 1) {\n this.nodes[1].raws.before = this.nodes[index].raws.before\n }\n\n return super.removeChild(child)\n }\n\n toResult(opts = {}) {\n let lazy = new LazyResult(new Processor(), this, opts)\n return lazy.stringify()\n }\n}\n\nRoot.registerLazyResult = dependant => {\n LazyResult = dependant\n}\n\nRoot.registerProcessor = dependant => {\n Processor = dependant\n}\n\nmodule.exports = Root\nRoot.default = Root\n\nContainer.registerRoot(Root)\n"],"names":["Container","require$$0","LazyResult","Processor","Root","defaults","child","sample","type","nodes","node","ignore","index","opts","dependant","root"],"mappings":";AAEA,IAAIA,IAAYC,GAEZC,GAAYC;AAEhB,MAAMC,UAAaJ,EAAU;AAAA,EAC3B,YAAYK,GAAU;AACpB,UAAMA,CAAQ,GACd,KAAK,OAAO,QACP,KAAK,UAAO,KAAK,QAAQ,CAAE;AAAA,EACjC;AAAA,EAED,UAAUC,GAAOC,GAAQC,GAAM;AAC7B,QAAIC,IAAQ,MAAM,UAAUH,CAAK;AAEjC,QAAIC;AACF,UAAIC,MAAS;AACX,QAAI,KAAK,MAAM,SAAS,IACtBD,EAAO,KAAK,SAAS,KAAK,MAAM,CAAC,EAAE,KAAK,SAExC,OAAOA,EAAO,KAAK;AAAA,eAEZ,KAAK,UAAUA;AACxB,iBAASG,KAAQD;AACf,UAAAC,EAAK,KAAK,SAASH,EAAO,KAAK;AAAA;AAKrC,WAAOE;AAAA,EACR;AAAA,EAED,YAAYH,GAAOK,GAAQ;AACzB,QAAIC,IAAQ,KAAK,MAAMN,CAAK;AAE5B,WAAI,CAACK,KAAUC,MAAU,KAAK,KAAK,MAAM,SAAS,MAChD,KAAK,MAAM,CAAC,EAAE,KAAK,SAAS,KAAK,MAAMA,CAAK,EAAE,KAAK,SAG9C,MAAM,YAAYN,CAAK;AAAA,EAC/B;AAAA,EAED,SAASO,IAAO,IAAI;AAElB,WADW,IAAIX,EAAW,IAAIC,EAAW,GAAE,MAAMU,CAAI,EACzC,UAAW;AAAA,EACxB;AACH;AAEAT,EAAK,qBAAqB,CAAAU,MAAa;AACrC,EAAAZ,IAAaY;AACf;AAEAV,EAAK,oBAAoB,CAAAU,MAAa;AACpC,EAAAX,IAAYW;AACd;AAEA,IAAAC,IAAiBX;AACjBA,EAAK,UAAUA;AAEfJ,EAAU,aAAaI,CAAI;","x_google_ignoreList":[0]}
@@ -0,0 +1,22 @@
1
+ import { c as o } from "./container.js";
2
+ import { l as i } from "./list.js";
3
+ let r = o, c = i;
4
+ class e extends r {
5
+ constructor(t) {
6
+ super(t), this.type = "rule", this.nodes || (this.nodes = []);
7
+ }
8
+ get selectors() {
9
+ return c.comma(this.selector);
10
+ }
11
+ set selectors(t) {
12
+ let s = this.selector ? this.selector.match(/,\s*/) : null, l = s ? s[0] : "," + this.raw("between", "beforeOpen");
13
+ this.selector = t.join(l);
14
+ }
15
+ }
16
+ var u = e;
17
+ e.default = e;
18
+ r.registerRule(e);
19
+ export {
20
+ u as r
21
+ };
22
+ //# sourceMappingURL=rule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rule.js","sources":["../../../../node_modules/postcss/lib/rule.js"],"sourcesContent":["'use strict'\n\nlet Container = require('./container')\nlet list = require('./list')\n\nclass Rule extends Container {\n constructor(defaults) {\n super(defaults)\n this.type = 'rule'\n if (!this.nodes) this.nodes = []\n }\n\n get selectors() {\n return list.comma(this.selector)\n }\n\n set selectors(values) {\n let match = this.selector ? this.selector.match(/,\\s*/) : null\n let sep = match ? match[0] : ',' + this.raw('between', 'beforeOpen')\n this.selector = values.join(sep)\n }\n}\n\nmodule.exports = Rule\nRule.default = Rule\n\nContainer.registerRule(Rule)\n"],"names":["Container","require$$0","list","require$$1","Rule","defaults","values","match","sep","rule"],"mappings":";;AAEA,IAAIA,IAAYC,GACZC,IAAOC;AAEX,MAAMC,UAAaJ,EAAU;AAAA,EAC3B,YAAYK,GAAU;AACpB,UAAMA,CAAQ,GACd,KAAK,OAAO,QACP,KAAK,UAAO,KAAK,QAAQ,CAAE;AAAA,EACjC;AAAA,EAED,IAAI,YAAY;AACd,WAAOH,EAAK,MAAM,KAAK,QAAQ;AAAA,EAChC;AAAA,EAED,IAAI,UAAUI,GAAQ;AACpB,QAAIC,IAAQ,KAAK,WAAW,KAAK,SAAS,MAAM,MAAM,IAAI,MACtDC,IAAMD,IAAQA,EAAM,CAAC,IAAI,MAAM,KAAK,IAAI,WAAW,YAAY;AACnE,SAAK,WAAWD,EAAO,KAAKE,CAAG;AAAA,EAChC;AACH;AAEA,IAAAC,IAAiBL;AACjBA,EAAK,UAAUA;AAEfJ,EAAU,aAAaI,CAAI;","x_google_ignoreList":[0]}
@@ -0,0 +1,193 @@
1
+ const u = {
2
+ after: `
3
+ `,
4
+ beforeClose: `
5
+ `,
6
+ beforeComment: `
7
+ `,
8
+ beforeDecl: `
9
+ `,
10
+ beforeOpen: " ",
11
+ beforeRule: `
12
+ `,
13
+ colon: ": ",
14
+ commentLeft: " ",
15
+ commentRight: " ",
16
+ emptyBody: "",
17
+ indent: " ",
18
+ semicolon: !1
19
+ };
20
+ function o(s) {
21
+ return s[0].toUpperCase() + s.slice(1);
22
+ }
23
+ class n {
24
+ constructor(e) {
25
+ this.builder = e;
26
+ }
27
+ atrule(e, t) {
28
+ let r = "@" + e.name, l = e.params ? this.rawValue(e, "params") : "";
29
+ if (typeof e.raws.afterName < "u" ? r += e.raws.afterName : l && (r += " "), e.nodes)
30
+ this.block(e, r + l);
31
+ else {
32
+ let a = (e.raws.between || "") + (t ? ";" : "");
33
+ this.builder(r + l + a, e);
34
+ }
35
+ }
36
+ beforeAfter(e, t) {
37
+ let r;
38
+ 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");
39
+ let l = e.parent, a = 0;
40
+ for (; l && l.type !== "root"; )
41
+ a += 1, l = l.parent;
42
+ if (r.includes(`
43
+ `)) {
44
+ let f = this.raw(e, null, "indent");
45
+ if (f.length)
46
+ for (let i = 0; i < a; i++) r += f;
47
+ }
48
+ return r;
49
+ }
50
+ block(e, t) {
51
+ let r = this.raw(e, "between", "beforeOpen");
52
+ this.builder(t + r + "{", e, "start");
53
+ let l;
54
+ 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");
55
+ }
56
+ body(e) {
57
+ let t = e.nodes.length - 1;
58
+ for (; t > 0 && e.nodes[t].type === "comment"; )
59
+ t -= 1;
60
+ let r = this.raw(e, "semicolon");
61
+ for (let l = 0; l < e.nodes.length; l++) {
62
+ let a = e.nodes[l], f = this.raw(a, "before");
63
+ f && this.builder(f), this.stringify(a, t !== l || r);
64
+ }
65
+ }
66
+ comment(e) {
67
+ let t = this.raw(e, "left", "commentLeft"), r = this.raw(e, "right", "commentRight");
68
+ this.builder("/*" + t + e.text + r + "*/", e);
69
+ }
70
+ decl(e, t) {
71
+ let r = this.raw(e, "between", "colon"), l = e.prop + r + this.rawValue(e, "value");
72
+ e.important && (l += e.raws.important || " !important"), t && (l += ";"), this.builder(l, e);
73
+ }
74
+ document(e) {
75
+ this.body(e);
76
+ }
77
+ raw(e, t, r) {
78
+ let l;
79
+ if (r || (r = t), t && (l = e.raws[t], typeof l < "u"))
80
+ return l;
81
+ let a = e.parent;
82
+ if (r === "before" && (!a || a.type === "root" && a.first === e || a && a.type === "document"))
83
+ return "";
84
+ if (!a) return u[r];
85
+ let f = e.root();
86
+ if (f.rawCache || (f.rawCache = {}), typeof f.rawCache[r] < "u")
87
+ return f.rawCache[r];
88
+ if (r === "before" || r === "after")
89
+ return this.beforeAfter(e, r);
90
+ {
91
+ let i = "raw" + o(r);
92
+ this[i] ? l = this[i](f, e) : f.walk((w) => {
93
+ if (l = w.raws[t], typeof l < "u") return !1;
94
+ });
95
+ }
96
+ return typeof l > "u" && (l = u[r]), f.rawCache[r] = l, l;
97
+ }
98
+ rawBeforeClose(e) {
99
+ let t;
100
+ return e.walk((r) => {
101
+ if (r.nodes && r.nodes.length > 0 && typeof r.raws.after < "u")
102
+ return t = r.raws.after, t.includes(`
103
+ `) && (t = t.replace(/[^\n]+$/, "")), !1;
104
+ }), t && (t = t.replace(/\S/g, "")), t;
105
+ }
106
+ rawBeforeComment(e, t) {
107
+ let r;
108
+ return e.walkComments((l) => {
109
+ if (typeof l.raws.before < "u")
110
+ return r = l.raws.before, r.includes(`
111
+ `) && (r = r.replace(/[^\n]+$/, "")), !1;
112
+ }), typeof r > "u" ? r = this.raw(t, null, "beforeDecl") : r && (r = r.replace(/\S/g, "")), r;
113
+ }
114
+ rawBeforeDecl(e, t) {
115
+ let r;
116
+ return e.walkDecls((l) => {
117
+ if (typeof l.raws.before < "u")
118
+ return r = l.raws.before, r.includes(`
119
+ `) && (r = r.replace(/[^\n]+$/, "")), !1;
120
+ }), typeof r > "u" ? r = this.raw(t, null, "beforeRule") : r && (r = r.replace(/\S/g, "")), r;
121
+ }
122
+ rawBeforeOpen(e) {
123
+ let t;
124
+ return e.walk((r) => {
125
+ if (r.type !== "decl" && (t = r.raws.between, typeof t < "u"))
126
+ return !1;
127
+ }), t;
128
+ }
129
+ rawBeforeRule(e) {
130
+ let t;
131
+ return e.walk((r) => {
132
+ if (r.nodes && (r.parent !== e || e.first !== r) && typeof r.raws.before < "u")
133
+ return t = r.raws.before, t.includes(`
134
+ `) && (t = t.replace(/[^\n]+$/, "")), !1;
135
+ }), t && (t = t.replace(/\S/g, "")), t;
136
+ }
137
+ rawColon(e) {
138
+ let t;
139
+ return e.walkDecls((r) => {
140
+ if (typeof r.raws.between < "u")
141
+ return t = r.raws.between.replace(/[^\s:]/g, ""), !1;
142
+ }), t;
143
+ }
144
+ rawEmptyBody(e) {
145
+ let t;
146
+ return e.walk((r) => {
147
+ if (r.nodes && r.nodes.length === 0 && (t = r.raws.after, typeof t < "u"))
148
+ return !1;
149
+ }), t;
150
+ }
151
+ rawIndent(e) {
152
+ if (e.raws.indent) return e.raws.indent;
153
+ let t;
154
+ return e.walk((r) => {
155
+ let l = r.parent;
156
+ if (l && l !== e && l.parent && l.parent === e && typeof r.raws.before < "u") {
157
+ let a = r.raws.before.split(`
158
+ `);
159
+ return t = a[a.length - 1], t = t.replace(/\S/g, ""), !1;
160
+ }
161
+ }), t;
162
+ }
163
+ rawSemicolon(e) {
164
+ let t;
165
+ return e.walk((r) => {
166
+ if (r.nodes && r.nodes.length && r.last.type === "decl" && (t = r.raws.semicolon, typeof t < "u"))
167
+ return !1;
168
+ }), t;
169
+ }
170
+ rawValue(e, t) {
171
+ let r = e[t], l = e.raws[t];
172
+ return l && l.value === r ? l.raw : r;
173
+ }
174
+ root(e) {
175
+ this.body(e), e.raws.after && this.builder(e.raws.after);
176
+ }
177
+ rule(e) {
178
+ this.block(e, this.rawValue(e, "selector")), e.raws.ownSemicolon && this.builder(e.raws.ownSemicolon, e, "end");
179
+ }
180
+ stringify(e, t) {
181
+ if (!this[e.type])
182
+ throw new Error(
183
+ "Unknown AST node type " + e.type + ". Maybe you need to change PostCSS stringifier."
184
+ );
185
+ this[e.type](e, t);
186
+ }
187
+ }
188
+ var p = n;
189
+ n.default = n;
190
+ export {
191
+ p as s
192
+ };
193
+ //# sourceMappingURL=stringifier.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stringifier.js","sources":["../../../../node_modules/postcss/lib/stringifier.js"],"sourcesContent":["'use strict'\n\nconst DEFAULT_RAW = {\n after: '\\n',\n beforeClose: '\\n',\n beforeComment: '\\n',\n beforeDecl: '\\n',\n beforeOpen: ' ',\n beforeRule: '\\n',\n colon: ': ',\n commentLeft: ' ',\n commentRight: ' ',\n emptyBody: '',\n indent: ' ',\n semicolon: false\n}\n\nfunction capitalize(str) {\n return str[0].toUpperCase() + str.slice(1)\n}\n\nclass Stringifier {\n constructor(builder) {\n this.builder = builder\n }\n\n atrule(node, semicolon) {\n let name = '@' + node.name\n let params = node.params ? this.rawValue(node, 'params') : ''\n\n if (typeof node.raws.afterName !== 'undefined') {\n name += node.raws.afterName\n } else if (params) {\n name += ' '\n }\n\n if (node.nodes) {\n this.block(node, name + params)\n } else {\n let end = (node.raws.between || '') + (semicolon ? ';' : '')\n this.builder(name + params + end, node)\n }\n }\n\n beforeAfter(node, detect) {\n let value\n if (node.type === 'decl') {\n value = this.raw(node, null, 'beforeDecl')\n } else if (node.type === 'comment') {\n value = this.raw(node, null, 'beforeComment')\n } else if (detect === 'before') {\n value = this.raw(node, null, 'beforeRule')\n } else {\n value = this.raw(node, null, 'beforeClose')\n }\n\n let buf = node.parent\n let depth = 0\n while (buf && buf.type !== 'root') {\n depth += 1\n buf = buf.parent\n }\n\n if (value.includes('\\n')) {\n let indent = this.raw(node, null, 'indent')\n if (indent.length) {\n for (let step = 0; step < depth; step++) value += indent\n }\n }\n\n return value\n }\n\n block(node, start) {\n let between = this.raw(node, 'between', 'beforeOpen')\n this.builder(start + between + '{', node, 'start')\n\n let after\n if (node.nodes && node.nodes.length) {\n this.body(node)\n after = this.raw(node, 'after')\n } else {\n after = this.raw(node, 'after', 'emptyBody')\n }\n\n if (after) this.builder(after)\n this.builder('}', node, 'end')\n }\n\n body(node) {\n let last = node.nodes.length - 1\n while (last > 0) {\n if (node.nodes[last].type !== 'comment') break\n last -= 1\n }\n\n let semicolon = this.raw(node, 'semicolon')\n for (let i = 0; i < node.nodes.length; i++) {\n let child = node.nodes[i]\n let before = this.raw(child, 'before')\n if (before) this.builder(before)\n this.stringify(child, last !== i || semicolon)\n }\n }\n\n comment(node) {\n let left = this.raw(node, 'left', 'commentLeft')\n let right = this.raw(node, 'right', 'commentRight')\n this.builder('/*' + left + node.text + right + '*/', node)\n }\n\n decl(node, semicolon) {\n let between = this.raw(node, 'between', 'colon')\n let string = node.prop + between + this.rawValue(node, 'value')\n\n if (node.important) {\n string += node.raws.important || ' !important'\n }\n\n if (semicolon) string += ';'\n this.builder(string, node)\n }\n\n document(node) {\n this.body(node)\n }\n\n raw(node, own, detect) {\n let value\n if (!detect) detect = own\n\n // Already had\n if (own) {\n value = node.raws[own]\n if (typeof value !== 'undefined') return value\n }\n\n let parent = node.parent\n\n if (detect === 'before') {\n // Hack for first rule in CSS\n if (!parent || (parent.type === 'root' && parent.first === node)) {\n return ''\n }\n\n // `root` nodes in `document` should use only their own raws\n if (parent && parent.type === 'document') {\n return ''\n }\n }\n\n // Floating child without parent\n if (!parent) return DEFAULT_RAW[detect]\n\n // Detect style by other nodes\n let root = node.root()\n if (!root.rawCache) root.rawCache = {}\n if (typeof root.rawCache[detect] !== 'undefined') {\n return root.rawCache[detect]\n }\n\n if (detect === 'before' || detect === 'after') {\n return this.beforeAfter(node, detect)\n } else {\n let method = 'raw' + capitalize(detect)\n if (this[method]) {\n value = this[method](root, node)\n } else {\n root.walk(i => {\n value = i.raws[own]\n if (typeof value !== 'undefined') return false\n })\n }\n }\n\n if (typeof value === 'undefined') value = DEFAULT_RAW[detect]\n\n root.rawCache[detect] = value\n return value\n }\n\n rawBeforeClose(root) {\n let value\n root.walk(i => {\n if (i.nodes && i.nodes.length > 0) {\n if (typeof i.raws.after !== 'undefined') {\n value = i.raws.after\n if (value.includes('\\n')) {\n value = value.replace(/[^\\n]+$/, '')\n }\n return false\n }\n }\n })\n if (value) value = value.replace(/\\S/g, '')\n return value\n }\n\n rawBeforeComment(root, node) {\n let value\n root.walkComments(i => {\n if (typeof i.raws.before !== 'undefined') {\n value = i.raws.before\n if (value.includes('\\n')) {\n value = value.replace(/[^\\n]+$/, '')\n }\n return false\n }\n })\n if (typeof value === 'undefined') {\n value = this.raw(node, null, 'beforeDecl')\n } else if (value) {\n value = value.replace(/\\S/g, '')\n }\n return value\n }\n\n rawBeforeDecl(root, node) {\n let value\n root.walkDecls(i => {\n if (typeof i.raws.before !== 'undefined') {\n value = i.raws.before\n if (value.includes('\\n')) {\n value = value.replace(/[^\\n]+$/, '')\n }\n return false\n }\n })\n if (typeof value === 'undefined') {\n value = this.raw(node, null, 'beforeRule')\n } else if (value) {\n value = value.replace(/\\S/g, '')\n }\n return value\n }\n\n rawBeforeOpen(root) {\n let value\n root.walk(i => {\n if (i.type !== 'decl') {\n value = i.raws.between\n if (typeof value !== 'undefined') return false\n }\n })\n return value\n }\n\n rawBeforeRule(root) {\n let value\n root.walk(i => {\n if (i.nodes && (i.parent !== root || root.first !== i)) {\n if (typeof i.raws.before !== 'undefined') {\n value = i.raws.before\n if (value.includes('\\n')) {\n value = value.replace(/[^\\n]+$/, '')\n }\n return false\n }\n }\n })\n if (value) value = value.replace(/\\S/g, '')\n return value\n }\n\n rawColon(root) {\n let value\n root.walkDecls(i => {\n if (typeof i.raws.between !== 'undefined') {\n value = i.raws.between.replace(/[^\\s:]/g, '')\n return false\n }\n })\n return value\n }\n\n rawEmptyBody(root) {\n let value\n root.walk(i => {\n if (i.nodes && i.nodes.length === 0) {\n value = i.raws.after\n if (typeof value !== 'undefined') return false\n }\n })\n return value\n }\n\n rawIndent(root) {\n if (root.raws.indent) return root.raws.indent\n let value\n root.walk(i => {\n let p = i.parent\n if (p && p !== root && p.parent && p.parent === root) {\n if (typeof i.raws.before !== 'undefined') {\n let parts = i.raws.before.split('\\n')\n value = parts[parts.length - 1]\n value = value.replace(/\\S/g, '')\n return false\n }\n }\n })\n return value\n }\n\n rawSemicolon(root) {\n let value\n root.walk(i => {\n if (i.nodes && i.nodes.length && i.last.type === 'decl') {\n value = i.raws.semicolon\n if (typeof value !== 'undefined') return false\n }\n })\n return value\n }\n\n rawValue(node, prop) {\n let value = node[prop]\n let raw = node.raws[prop]\n if (raw && raw.value === value) {\n return raw.raw\n }\n\n return value\n }\n\n root(node) {\n this.body(node)\n if (node.raws.after) this.builder(node.raws.after)\n }\n\n rule(node) {\n this.block(node, this.rawValue(node, 'selector'))\n if (node.raws.ownSemicolon) {\n this.builder(node.raws.ownSemicolon, node, 'end')\n }\n }\n\n stringify(node, semicolon) {\n /* c8 ignore start */\n if (!this[node.type]) {\n throw new Error(\n 'Unknown AST node type ' +\n node.type +\n '. ' +\n 'Maybe you need to change PostCSS stringifier.'\n )\n }\n /* c8 ignore stop */\n this[node.type](node, semicolon)\n }\n}\n\nmodule.exports = Stringifier\nStringifier.default = Stringifier\n"],"names":["DEFAULT_RAW","capitalize","str","Stringifier","builder","node","semicolon","name","params","end","detect","value","buf","depth","indent","step","start","between","after","last","i","child","before","left","right","string","own","parent","root","method","p","parts","prop","raw","stringifier"],"mappings":"AAEA,MAAMA,IAAc;AAAA,EAClB,OAAO;AAAA;AAAA,EACP,aAAa;AAAA;AAAA,EACb,eAAe;AAAA;AAAA,EACf,YAAY;AAAA;AAAA,EACZ,YAAY;AAAA,EACZ,YAAY;AAAA;AAAA,EACZ,OAAO;AAAA,EACP,aAAa;AAAA,EACb,cAAc;AAAA,EACd,WAAW;AAAA,EACX,QAAQ;AAAA,EACR,WAAW;AACb;AAEA,SAASC,EAAWC,GAAK;AACvB,SAAOA,EAAI,CAAC,EAAE,YAAa,IAAGA,EAAI,MAAM,CAAC;AAC3C;AAEA,MAAMC,EAAY;AAAA,EAChB,YAAYC,GAAS;AACnB,SAAK,UAAUA;AAAA,EAChB;A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BC,IAAM5B,EAAK,KAAK2B,CAAI;AACxB,WAAIC,KAAOA,EAAI,UAAUtB,IAChBsB,EAAI,MAGNtB;AAAA,EACR;AAAA,EAED,KAAKN,GAAM;AACT,SAAK,KAAKA,CAAI,GACVA,EAAK,KAAK,SAAO,KAAK,QAAQA,EAAK,KAAK,KAAK;AAAA,EAClD;AAAA,EAED,KAAKA,GAAM;AACT,SAAK,MAAMA,GAAM,KAAK,SAASA,GAAM,UAAU,CAAC,GAC5CA,EAAK,KAAK,gBACZ,KAAK,QAAQA,EAAK,KAAK,cAAcA,GAAM,KAAK;AAAA,EAEnD;AAAA,EAED,UAAUA,GAAMC,GAAW;AAEzB,QAAI,CAAC,KAAKD,EAAK,IAAI;AACjB,YAAM,IAAI;AAAA,QACR,2BACEA,EAAK,OACL;AAAA,MAEH;AAGH,SAAKA,EAAK,IAAI,EAAEA,GAAMC,CAAS;AAAA,EAChC;AACH;AAEA,IAAA4B,IAAiB/B;AACjBA,EAAY,UAAUA;","x_google_ignoreList":[0]}
@@ -0,0 +1,11 @@
1
+ import { s } from "./stringifier.js";
2
+ let f = s;
3
+ function i(r, t) {
4
+ new f(t).stringify(r);
5
+ }
6
+ var g = i;
7
+ i.default = i;
8
+ export {
9
+ g as s
10
+ };
11
+ //# sourceMappingURL=stringify.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stringify.js","sources":["../../../../node_modules/postcss/lib/stringify.js"],"sourcesContent":["'use strict'\n\nlet Stringifier = require('./stringifier')\n\nfunction stringify(node, builder) {\n let str = new Stringifier(builder)\n str.stringify(node)\n}\n\nmodule.exports = stringify\nstringify.default = stringify\n"],"names":["Stringifier","require$$0","stringify","node","builder","stringify_1"],"mappings":";AAEA,IAAIA,IAAcC;AAElB,SAASC,EAAUC,GAAMC,GAAS;AAEhC,EADU,IAAIJ,EAAYI,CAAO,EAC7B,UAAUD,CAAI;AACpB;AAEA,IAAAE,IAAiBH;AACjBA,EAAU,UAAUA;","x_google_ignoreList":[0]}
@@ -0,0 +1,7 @@
1
+ import { __exports as m } from "../../../_virtual/symbols.js";
2
+ m.isClean = Symbol("isClean");
3
+ m.my = Symbol("my");
4
+ export {
5
+ m as default
6
+ };
7
+ //# sourceMappingURL=symbols.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"symbols.js","sources":["../../../../node_modules/postcss/lib/symbols.js"],"sourcesContent":["'use strict'\n\nmodule.exports.isClean = Symbol('isClean')\n\nmodule.exports.my = Symbol('my')\n"],"names":["symbols"],"mappings":";AAEAA,EAAA,UAAyB,OAAO,SAAS;AAExBA,EAAA,KAAG,OAAO,IAAI;","x_google_ignoreList":[0]}
@@ -0,0 +1,110 @@
1
+ const l = /[\t\n\f\r "#'()/;[\\\]{}]/g, d = /[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g, B = /.[\r\n"'(/\\]/, u = /[\da-f]/i;
2
+ var x = function(L, U = {}) {
3
+ let c = L.css.valueOf(), i = U.ignoreErrors, o, e, N, S, A, r, E, _, n, s, R = c.length, t = 0, h = [], C = [];
4
+ function I() {
5
+ return t;
6
+ }
7
+ function f(a) {
8
+ throw L.error("Unclosed " + a, t);
9
+ }
10
+ function P() {
11
+ return C.length === 0 && t >= R;
12
+ }
13
+ function g(a) {
14
+ if (C.length) return C.pop();
15
+ if (t >= R) return;
16
+ let O = a ? a.ignoreUnclosed : !1;
17
+ switch (o = c.charCodeAt(t), o) {
18
+ case 10:
19
+ case 32:
20
+ case 9:
21
+ case 13:
22
+ case 12: {
23
+ e = t;
24
+ do
25
+ e += 1, o = c.charCodeAt(e);
26
+ while (o === 32 || o === 10 || o === 9 || o === 13 || o === 12);
27
+ s = ["space", c.slice(t, e)], t = e - 1;
28
+ break;
29
+ }
30
+ case 91:
31
+ case 93:
32
+ case 123:
33
+ case 125:
34
+ case 58:
35
+ case 59:
36
+ case 41: {
37
+ let T = String.fromCharCode(o);
38
+ s = [T, T, t];
39
+ break;
40
+ }
41
+ case 40: {
42
+ if (_ = h.length ? h.pop()[1] : "", n = c.charCodeAt(t + 1), _ === "url" && n !== 39 && n !== 34 && n !== 32 && n !== 10 && n !== 9 && n !== 12 && n !== 13) {
43
+ e = t;
44
+ do {
45
+ if (r = !1, e = c.indexOf(")", e + 1), e === -1)
46
+ if (i || O) {
47
+ e = t;
48
+ break;
49
+ } else
50
+ f("bracket");
51
+ for (E = e; c.charCodeAt(E - 1) === 92; )
52
+ E -= 1, r = !r;
53
+ } while (r);
54
+ s = ["brackets", c.slice(t, e + 1), t, e], t = e;
55
+ } else
56
+ e = c.indexOf(")", t + 1), S = c.slice(t, e + 1), e === -1 || B.test(S) ? s = ["(", "(", t] : (s = ["brackets", S, t, e], t = e);
57
+ break;
58
+ }
59
+ case 39:
60
+ case 34: {
61
+ N = o === 39 ? "'" : '"', e = t;
62
+ do {
63
+ if (r = !1, e = c.indexOf(N, e + 1), e === -1)
64
+ if (i || O) {
65
+ e = t + 1;
66
+ break;
67
+ } else
68
+ f("string");
69
+ for (E = e; c.charCodeAt(E - 1) === 92; )
70
+ E -= 1, r = !r;
71
+ } while (r);
72
+ s = ["string", c.slice(t, e + 1), t, e], t = e;
73
+ break;
74
+ }
75
+ case 64: {
76
+ l.lastIndex = t + 1, l.test(c), l.lastIndex === 0 ? e = c.length - 1 : e = l.lastIndex - 2, s = ["at-word", c.slice(t, e + 1), t, e], t = e;
77
+ break;
78
+ }
79
+ case 92: {
80
+ for (e = t, A = !0; c.charCodeAt(e + 1) === 92; )
81
+ e += 1, A = !A;
82
+ if (o = c.charCodeAt(e + 1), A && o !== 47 && o !== 32 && o !== 10 && o !== 9 && o !== 13 && o !== 12 && (e += 1, u.test(c.charAt(e)))) {
83
+ for (; u.test(c.charAt(e + 1)); )
84
+ e += 1;
85
+ c.charCodeAt(e + 1) === 32 && (e += 1);
86
+ }
87
+ s = ["word", c.slice(t, e + 1), t, e], t = e;
88
+ break;
89
+ }
90
+ default: {
91
+ o === 47 && c.charCodeAt(t + 1) === 42 ? (e = c.indexOf("*/", t + 2) + 1, e === 0 && (i || O ? e = c.length : f("comment")), s = ["comment", c.slice(t, e + 1), t, e], t = e) : (d.lastIndex = t + 1, d.test(c), d.lastIndex === 0 ? e = c.length - 1 : e = d.lastIndex - 2, s = ["word", c.slice(t, e + 1), t, e], h.push(s), t = e);
92
+ break;
93
+ }
94
+ }
95
+ return t++, s;
96
+ }
97
+ function k(a) {
98
+ C.push(a);
99
+ }
100
+ return {
101
+ back: k,
102
+ endOfFile: P,
103
+ nextToken: g,
104
+ position: I
105
+ };
106
+ };
107
+ export {
108
+ x as t
109
+ };
110
+ //# sourceMappingURL=tokenize.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tokenize.js","sources":["../../../../node_modules/postcss/lib/tokenize.js"],"sourcesContent":["'use strict'\n\nconst SINGLE_QUOTE = \"'\".charCodeAt(0)\nconst DOUBLE_QUOTE = '\"'.charCodeAt(0)\nconst BACKSLASH = '\\\\'.charCodeAt(0)\nconst SLASH = '/'.charCodeAt(0)\nconst NEWLINE = '\\n'.charCodeAt(0)\nconst SPACE = ' '.charCodeAt(0)\nconst FEED = '\\f'.charCodeAt(0)\nconst TAB = '\\t'.charCodeAt(0)\nconst CR = '\\r'.charCodeAt(0)\nconst OPEN_SQUARE = '['.charCodeAt(0)\nconst CLOSE_SQUARE = ']'.charCodeAt(0)\nconst OPEN_PARENTHESES = '('.charCodeAt(0)\nconst CLOSE_PARENTHESES = ')'.charCodeAt(0)\nconst OPEN_CURLY = '{'.charCodeAt(0)\nconst CLOSE_CURLY = '}'.charCodeAt(0)\nconst SEMICOLON = ';'.charCodeAt(0)\nconst ASTERISK = '*'.charCodeAt(0)\nconst COLON = ':'.charCodeAt(0)\nconst AT = '@'.charCodeAt(0)\n\nconst RE_AT_END = /[\\t\\n\\f\\r \"#'()/;[\\\\\\]{}]/g\nconst RE_WORD_END = /[\\t\\n\\f\\r !\"#'():;@[\\\\\\]{}]|\\/(?=\\*)/g\nconst RE_BAD_BRACKET = /.[\\r\\n\"'(/\\\\]/\nconst RE_HEX_ESCAPE = /[\\da-f]/i\n\nmodule.exports = function tokenizer(input, options = {}) {\n let css = input.css.valueOf()\n let ignore = options.ignoreErrors\n\n let code, next, quote, content, escape\n let escaped, escapePos, prev, n, currentToken\n\n let length = css.length\n let pos = 0\n let buffer = []\n let returned = []\n\n function position() {\n return pos\n }\n\n function unclosed(what) {\n throw input.error('Unclosed ' + what, pos)\n }\n\n function endOfFile() {\n return returned.length === 0 && pos >= length\n }\n\n function nextToken(opts) {\n if (returned.length) return returned.pop()\n if (pos >= length) return\n\n let ignoreUnclosed = opts ? opts.ignoreUnclosed : false\n\n code = css.charCodeAt(pos)\n\n switch (code) {\n case NEWLINE:\n case SPACE:\n case TAB:\n case CR:\n case FEED: {\n next = pos\n do {\n next += 1\n code = css.charCodeAt(next)\n } while (\n code === SPACE ||\n code === NEWLINE ||\n code === TAB ||\n code === CR ||\n code === FEED\n )\n\n currentToken = ['space', css.slice(pos, next)]\n pos = next - 1\n break\n }\n\n case OPEN_SQUARE:\n case CLOSE_SQUARE:\n case OPEN_CURLY:\n case CLOSE_CURLY:\n case COLON:\n case SEMICOLON:\n case CLOSE_PARENTHESES: {\n let controlChar = String.fromCharCode(code)\n currentToken = [controlChar, controlChar, pos]\n break\n }\n\n case OPEN_PARENTHESES: {\n prev = buffer.length ? buffer.pop()[1] : ''\n n = css.charCodeAt(pos + 1)\n if (\n prev === 'url' &&\n n !== SINGLE_QUOTE &&\n n !== DOUBLE_QUOTE &&\n n !== SPACE &&\n n !== NEWLINE &&\n n !== TAB &&\n n !== FEED &&\n n !== CR\n ) {\n next = pos\n do {\n escaped = false\n next = css.indexOf(')', next + 1)\n if (next === -1) {\n if (ignore || ignoreUnclosed) {\n next = pos\n break\n } else {\n unclosed('bracket')\n }\n }\n escapePos = next\n while (css.charCodeAt(escapePos - 1) === BACKSLASH) {\n escapePos -= 1\n escaped = !escaped\n }\n } while (escaped)\n\n currentToken = ['brackets', css.slice(pos, next + 1), pos, next]\n\n pos = next\n } else {\n next = css.indexOf(')', pos + 1)\n content = css.slice(pos, next + 1)\n\n if (next === -1 || RE_BAD_BRACKET.test(content)) {\n currentToken = ['(', '(', pos]\n } else {\n currentToken = ['brackets', content, pos, next]\n pos = next\n }\n }\n\n break\n }\n\n case SINGLE_QUOTE:\n case DOUBLE_QUOTE: {\n quote = code === SINGLE_QUOTE ? \"'\" : '\"'\n next = pos\n do {\n escaped = false\n next = css.indexOf(quote, next + 1)\n if (next === -1) {\n if (ignore || ignoreUnclosed) {\n next = pos + 1\n break\n } else {\n unclosed('string')\n }\n }\n escapePos = next\n while (css.charCodeAt(escapePos - 1) === BACKSLASH) {\n escapePos -= 1\n escaped = !escaped\n }\n } while (escaped)\n\n currentToken = ['string', css.slice(pos, next + 1), pos, next]\n pos = next\n break\n }\n\n case AT: {\n RE_AT_END.lastIndex = pos + 1\n RE_AT_END.test(css)\n if (RE_AT_END.lastIndex === 0) {\n next = css.length - 1\n } else {\n next = RE_AT_END.lastIndex - 2\n }\n\n currentToken = ['at-word', css.slice(pos, next + 1), pos, next]\n\n pos = next\n break\n }\n\n case BACKSLASH: {\n next = pos\n escape = true\n while (css.charCodeAt(next + 1) === BACKSLASH) {\n next += 1\n escape = !escape\n }\n code = css.charCodeAt(next + 1)\n if (\n escape &&\n code !== SLASH &&\n code !== SPACE &&\n code !== NEWLINE &&\n code !== TAB &&\n code !== CR &&\n code !== FEED\n ) {\n next += 1\n if (RE_HEX_ESCAPE.test(css.charAt(next))) {\n while (RE_HEX_ESCAPE.test(css.charAt(next + 1))) {\n next += 1\n }\n if (css.charCodeAt(next + 1) === SPACE) {\n next += 1\n }\n }\n }\n\n currentToken = ['word', css.slice(pos, next + 1), pos, next]\n\n pos = next\n break\n }\n\n default: {\n if (code === SLASH && css.charCodeAt(pos + 1) === ASTERISK) {\n next = css.indexOf('*/', pos + 2) + 1\n if (next === 0) {\n if (ignore || ignoreUnclosed) {\n next = css.length\n } else {\n unclosed('comment')\n }\n }\n\n currentToken = ['comment', css.slice(pos, next + 1), pos, next]\n pos = next\n } else {\n RE_WORD_END.lastIndex = pos + 1\n RE_WORD_END.test(css)\n if (RE_WORD_END.lastIndex === 0) {\n next = css.length - 1\n } else {\n next = RE_WORD_END.lastIndex - 2\n }\n\n currentToken = ['word', css.slice(pos, next + 1), pos, next]\n buffer.push(currentToken)\n pos = next\n }\n\n break\n }\n }\n\n pos++\n return currentToken\n }\n\n function back(token) {\n returned.push(token)\n }\n\n return {\n back,\n endOfFile,\n nextToken,\n position\n }\n}\n"],"names":["RE_AT_END","RE_WORD_END","RE_BAD_BRACKET","RE_HEX_ESCAPE","tokenize","input","options","css","ignore","code","next","quote","content","escape","escaped","escapePos","prev","currentToken","length","pos","buffer","returned","position","unclosed","what","endOfFile","nextToken","opts","ignoreUnclosed","controlChar","back","token"],"mappings":"AAsBA,MAAMA,IAAY,8BACZC,IAAc,yCACdC,IAAiB,iBACjBC,IAAgB;IAEtBC,IAAiB,SAAmBC,GAAOC,IAAU,CAAA,GAAI;AACvD,MAAIC,IAAMF,EAAM,IAAI,QAAS,GACzBG,IAASF,EAAQ,cAEjBG,GAAMC,GAAMC,GAAOC,GAASC,GAC5BC,GAASC,GAAWC,GAAM,GAAGC,GAE7BC,IAASX,EAAI,QACbY,IAAM,GACNC,IAAS,CAAE,GACXC,IAAW,CAAE;AAEjB,WAASC,IAAW;AAClB,WAAOH;AAAA,EACR;AAED,WAASI,EAASC,GAAM;AACtB,UAAMnB,EAAM,MAAM,cAAcmB,GAAML,CAAG;AAAA,EAC1C;AAED,WAASM,IAAY;AACnB,WAAOJ,EAAS,WAAW,KAAKF,KAAOD;AAAA,EACxC;AAED,WAASQ,EAAUC,GAAM;AACvB,QAAIN,EAAS,OAAQ,QAAOA,EAAS,IAAK;AAC1C,QAAIF,KAAOD,EAAQ;AAEnB,QAAIU,IAAiBD,IAAOA,EAAK,iBAAiB;AAIlD,YAFAlB,IAAOF,EAAI,WAAWY,CAAG,GAEjBV,GAAI;AAAA,MACV,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n] = !0, typeof console < "u" && console.warn && console.warn(n));
4
+ };
5
+ export {
6
+ o as w
7
+ };
8
+ //# sourceMappingURL=warn-once.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"warn-once.js","sources":["../../../../node_modules/postcss/lib/warn-once.js"],"sourcesContent":["/* eslint-disable no-console */\n'use strict'\n\nlet printed = {}\n\nmodule.exports = function warnOnce(message) {\n if (printed[message]) return\n printed[message] = true\n\n if (typeof console !== 'undefined' && console.warn) {\n console.warn(message)\n }\n}\n"],"names":["printed","warnOnce","message"],"mappings":"AAGA,IAAIA,IAAU,CAAE;AAEhB,IAAAC,IAAiB,SAAkBC,GAAS;AAC1C,EAAIF,EAAQE,CAAO,MACnBF,EAAQE,CAAO,IAAI,IAEf,OAAO,UAAY,OAAe,QAAQ,QAC5C,QAAQ,KAAKA,CAAO;AAExB;","x_google_ignoreList":[0]}
@@ -0,0 +1,22 @@
1
+ class i {
2
+ constructor(e, t = {}) {
3
+ if (this.type = "warning", this.text = e, t.node && t.node.source) {
4
+ let n = t.node.rangeBy(t);
5
+ this.line = n.start.line, this.column = n.start.column, this.endLine = n.end.line, this.endColumn = n.end.column;
6
+ }
7
+ for (let n in t) this[n] = t[n];
8
+ }
9
+ toString() {
10
+ return this.node ? this.node.error(this.text, {
11
+ index: this.index,
12
+ plugin: this.plugin,
13
+ word: this.word
14
+ }).message : this.plugin ? this.plugin + ": " + this.text : this.text;
15
+ }
16
+ }
17
+ var s = i;
18
+ i.default = i;
19
+ export {
20
+ s as w
21
+ };
22
+ //# sourceMappingURL=warning.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"warning.js","sources":["../../../../node_modules/postcss/lib/warning.js"],"sourcesContent":["'use strict'\n\nclass Warning {\n constructor(text, opts = {}) {\n this.type = 'warning'\n this.text = text\n\n if (opts.node && opts.node.source) {\n let range = opts.node.rangeBy(opts)\n this.line = range.start.line\n this.column = range.start.column\n this.endLine = range.end.line\n this.endColumn = range.end.column\n }\n\n for (let opt in opts) this[opt] = opts[opt]\n }\n\n toString() {\n if (this.node) {\n return this.node.error(this.text, {\n index: this.index,\n plugin: this.plugin,\n word: this.word\n }).message\n }\n\n if (this.plugin) {\n return this.plugin + ': ' + this.text\n }\n\n return this.text\n }\n}\n\nmodule.exports = Warning\nWarning.default = Warning\n"],"names":["Warning","text","opts","range","opt","warning"],"mappings":"AAEA,MAAMA,EAAQ;AAAA,EACZ,YAAYC,GAAMC,IAAO,IAAI;AAI3B,QAHA,KAAK,OAAO,WACZ,KAAK,OAAOD,GAERC,EAAK,QAAQA,EAAK,KAAK,QAAQ;AACjC,UAAIC,IAAQD,EAAK,KAAK,QAAQA,CAAI;AAClC,WAAK,OAAOC,EAAM,MAAM,MACxB,KAAK,SAASA,EAAM,MAAM,QAC1B,KAAK,UAAUA,EAAM,IAAI,MACzB,KAAK,YAAYA,EAAM,IAAI;AAAA,IAC5B;AAED,aAASC,KAAOF,EAAM,MAAKE,CAAG,IAAIF,EAAKE,CAAG;AAAA,EAC3C;AAAA,EAED,WAAW;AACT,WAAI,KAAK,OACA,KAAK,KAAK,MAAM,KAAK,MAAM;AAAA,MAChC,OAAO,KAAK;AAAA,MACZ,QAAQ,KAAK;AAAA,MACb,MAAM,KAAK;AAAA,IACZ,CAAA,EAAE,UAGD,KAAK,SACA,KAAK,SAAS,OAAO,KAAK,OAG5B,KAAK;AAAA,EACb;AACH;AAEA,IAAAC,IAAiBL;AACjBA,EAAQ,UAAUA;","x_google_ignoreList":[0]}
@@ -0,0 +1,22 @@
1
+ import { p as o } from "./parse.js";
2
+ import { w as e } from "./walk.js";
3
+ import { s as a } from "./stringify.js";
4
+ import { __require as f } from "./unit.js";
5
+ var p = o, i = e, s = a;
6
+ function r(t) {
7
+ return this instanceof r ? (this.nodes = p(t), this) : new r(t);
8
+ }
9
+ r.prototype.toString = function() {
10
+ return Array.isArray(this.nodes) ? s(this.nodes) : "";
11
+ };
12
+ r.prototype.walk = function(t, n) {
13
+ return i(this.nodes, t, n), this;
14
+ };
15
+ r.unit = f();
16
+ r.walk = i;
17
+ r.stringify = s;
18
+ var l = r;
19
+ export {
20
+ l
21
+ };
22
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../node_modules/postcss-value-parser/lib/index.js"],"sourcesContent":["var parse = require(\"./parse\");\nvar walk = require(\"./walk\");\nvar stringify = require(\"./stringify\");\n\nfunction ValueParser(value) {\n if (this instanceof ValueParser) {\n this.nodes = parse(value);\n return this;\n }\n return new ValueParser(value);\n}\n\nValueParser.prototype.toString = function() {\n return Array.isArray(this.nodes) ? stringify(this.nodes) : \"\";\n};\n\nValueParser.prototype.walk = function(cb, bubble) {\n walk(this.nodes, cb, bubble);\n return this;\n};\n\nValueParser.unit = require(\"./unit\");\n\nValueParser.walk = walk;\n\nValueParser.stringify = stringify;\n\nmodule.exports = ValueParser;\n"],"names":["parse","require$$0","walk","require$$1","stringify","require$$2","ValueParser","value","cb","bubble","require$$3","lib"],"mappings":";;;;AAAA,IAAIA,IAAQC,GACRC,IAAOC,GACPC,IAAYC;AAEhB,SAASC,EAAYC,GAAO;AAC1B,SAAI,gBAAgBD,KAClB,KAAK,QAAQN,EAAMO,CAAK,GACjB,QAEF,IAAID,EAAYC,CAAK;AAC9B;AAEAD,EAAY,UAAU,WAAW,WAAW;AAC1C,SAAO,MAAM,QAAQ,KAAK,KAAK,IAAIF,EAAU,KAAK,KAAK,IAAI;AAC7D;AAEAE,EAAY,UAAU,OAAO,SAASE,GAAIC,GAAQ;AAChD,SAAAP,EAAK,KAAK,OAAOM,GAAIC,CAAM,GACpB;AACT;AAEAH,EAAY,OAAOI;AAEnBJ,EAAY,OAAOJ;AAEnBI,EAAY,YAAYF;AAExB,IAAAO,IAAiBL;","x_google_ignoreList":[0]}