mada-design-system 0.5.8 → 0.5.9

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/index.cjs100.js +1 -1
  2. package/index.cjs103.js +1 -1
  3. package/index.cjs106.js +1 -1
  4. package/index.cjs107.js +1 -1
  5. package/index.cjs108.js +1 -1
  6. package/index.cjs109.js +1 -1
  7. package/index.cjs110.js +1 -1
  8. package/index.cjs111.js +1 -1
  9. package/index.cjs112.js +1 -1
  10. package/index.cjs114.js +1 -1
  11. package/index.cjs115.js +1 -1
  12. package/index.cjs116.js +1 -1
  13. package/index.cjs117.js +1 -1
  14. package/index.cjs118.js +1 -1
  15. package/index.cjs121.js +1 -1
  16. package/index.cjs122.js +1 -1
  17. package/index.cjs123.js +1 -1
  18. package/index.cjs124.js +1 -1
  19. package/index.cjs125.js +1 -1
  20. package/index.cjs126.js +1 -1
  21. package/index.cjs127.js +1 -1
  22. package/index.cjs128.js +1 -1
  23. package/index.cjs129.js +1 -1
  24. package/index.cjs130.js +1 -1
  25. package/index.cjs131.js +1 -1
  26. package/index.cjs133.js +1 -1
  27. package/index.cjs134.js +1 -1
  28. package/index.cjs135.js +1 -1
  29. package/index.cjs136.js +1 -1
  30. package/index.cjs137.js +1 -1
  31. package/index.cjs138.js +1 -1
  32. package/index.cjs139.js +1 -1
  33. package/index.cjs140.js +1 -1
  34. package/index.cjs141.js +1 -1
  35. package/index.cjs148.js +1 -1
  36. package/index.cjs149.js +1 -1
  37. package/index.cjs150.js +1 -1
  38. package/index.cjs151.js +1 -1
  39. package/index.cjs153.js +1 -1
  40. package/index.cjs154.js +1 -1
  41. package/index.cjs155.js +1 -1
  42. package/index.cjs156.js +1 -1
  43. package/index.cjs159.js +1 -1
  44. package/index.cjs160.js +1 -1
  45. package/index.cjs161.js +1 -1
  46. package/index.cjs162.js +1 -1
  47. package/index.cjs163.js +1 -1
  48. package/index.cjs164.js +1 -1
  49. package/index.cjs165.js +1 -1
  50. package/index.cjs166.js +1 -1
  51. package/index.cjs167.js +1 -1
  52. package/index.cjs168.js +1 -1
  53. package/index.cjs170.js +1 -1
  54. package/index.cjs171.js +1 -1
  55. package/index.cjs172.js +1 -1
  56. package/index.cjs173.js +1 -1
  57. package/index.cjs174.js +1 -1
  58. package/index.cjs175.js +1 -1
  59. package/index.cjs176.js +1 -1
  60. package/index.cjs177.js +1 -1
  61. package/index.cjs178.js +1 -1
  62. package/index.cjs179.js +1 -1
  63. package/index.cjs180.js +1 -1
  64. package/index.cjs181.js +1 -1
  65. package/index.cjs182.js +1 -1
  66. package/index.cjs183.js +1 -1
  67. package/index.cjs184.js +1 -1
  68. package/index.cjs185.js +1 -1
  69. package/index.cjs186.js +1 -1
  70. package/index.cjs187.js +1 -1
  71. package/index.cjs188.js +1 -1
  72. package/index.cjs189.js +1 -1
  73. package/index.cjs190.js +1 -1
  74. package/index.cjs191.js +1 -1
  75. package/index.cjs192.js +1 -4
  76. package/index.cjs193.js +1 -1
  77. package/index.cjs194.js +1 -1
  78. package/index.cjs195.js +4 -1
  79. package/index.cjs196.js +1 -1
  80. package/index.cjs198.js +1 -1
  81. package/index.cjs199.js +1 -1
  82. package/index.cjs200.js +1 -1
  83. package/index.cjs202.js +1 -1
  84. package/index.cjs213.js +1 -1
  85. package/index.cjs214.js +1 -1
  86. package/index.cjs216.js +1 -1
  87. package/index.cjs217.js +1 -1
  88. package/index.cjs220.js +1 -1
  89. package/index.cjs228.js +1 -1
  90. package/index.cjs229.js +1 -1
  91. package/index.cjs230.js +1 -1
  92. package/index.cjs235.js +1 -1
  93. package/index.cjs236.js +1 -1
  94. package/index.cjs237.js +1 -1
  95. package/index.cjs238.js +1 -1
  96. package/index.cjs239.js +1 -1
  97. package/index.cjs240.js +1 -1
  98. package/index.cjs241.js +1 -1
  99. package/index.cjs242.js +1 -1
  100. package/index.cjs243.js +1 -1
  101. package/index.cjs244.js +1 -1
  102. package/index.cjs252.js +1 -1
  103. package/index.cjs254.js +1 -1
  104. package/index.cjs255.js +1 -1
  105. package/index.cjs256.js +1 -1
  106. package/index.cjs257.js +1 -1
  107. package/index.cjs263.js +1 -1
  108. package/index.cjs264.js +1 -1
  109. package/index.cjs279.js +1 -1
  110. package/index.cjs28.js +1 -1
  111. package/index.cjs280.js +1 -1
  112. package/index.cjs281.js +1 -1
  113. package/index.cjs282.js +1 -1
  114. package/index.cjs284.js +1 -1
  115. package/index.cjs287.js +1 -1
  116. package/index.cjs288.js +1 -1
  117. package/index.cjs294.js +1 -1
  118. package/index.cjs296.js +1 -1
  119. package/index.cjs297.js +1 -1
  120. package/index.cjs301.js +1 -1
  121. package/index.cjs303.js +1 -1
  122. package/index.cjs304.js +1 -1
  123. package/index.cjs307.js +1 -1
  124. package/index.cjs308.js +1 -1
  125. package/index.cjs309.js +1 -1
  126. package/index.cjs310.js +1 -1
  127. package/index.cjs311.js +1 -1
  128. package/index.cjs312.js +1 -1
  129. package/index.cjs313.js +1 -1
  130. package/index.cjs314.js +1 -1
  131. package/index.cjs315.js +1 -1
  132. package/index.cjs316.js +1 -1
  133. package/index.cjs317.js +1 -1
  134. package/index.cjs318.js +1 -1
  135. package/index.cjs331.js +1 -1
  136. package/index.cjs348.js +1 -1
  137. package/index.cjs352.js +1 -1
  138. package/index.cjs373.js +1 -1
  139. package/index.cjs382.js +1 -1
  140. package/index.cjs383.js +1 -1
  141. package/index.cjs389.js +1 -1
  142. package/index.cjs390.js +1 -1
  143. package/index.cjs391.js +1 -1
  144. package/index.cjs392.js +1 -1
  145. package/index.cjs393.js +1 -1
  146. package/index.cjs394.js +1 -1
  147. package/index.cjs395.js +1 -1
  148. package/index.cjs399.js +1 -1
  149. package/index.cjs405.js +1 -1
  150. package/index.cjs408.js +1 -1
  151. package/index.cjs416.js +1 -1
  152. package/index.cjs417.js +1 -1
  153. package/index.cjs418.js +1 -1
  154. package/index.cjs419.js +1 -1
  155. package/index.cjs420.js +1 -1
  156. package/index.cjs421.js +1 -1
  157. package/index.cjs422.js +1 -1
  158. package/index.cjs423.js +1 -1
  159. package/index.cjs424.js +1 -1
  160. package/index.cjs425.js +1 -1
  161. package/index.cjs426.js +1 -1
  162. package/index.cjs427.js +1 -1
  163. package/index.cjs46.js +1 -1
  164. package/index.cjs81.js +1 -1
  165. package/index.cjs82.js +1 -1
  166. package/index.cjs85.js +1 -1
  167. package/index.cjs88.js +1 -1
  168. package/index.cjs9.js +1 -1
  169. package/index.cjs92.js +1 -1
  170. package/index.es.d.ts +8 -6
  171. package/index.es100.js +1 -1
  172. package/index.es103.js +1 -1
  173. package/index.es106.js +2 -2
  174. package/index.es107.js +1 -1
  175. package/index.es108.js +1 -1
  176. package/index.es109.js +1 -1
  177. package/index.es110.js +1 -1
  178. package/index.es111.js +1 -1
  179. package/index.es112.js +2 -2
  180. package/index.es114.js +1 -1
  181. package/index.es115.js +1 -1
  182. package/index.es116.js +1 -1
  183. package/index.es117.js +1 -1
  184. package/index.es118.js +1 -1
  185. package/index.es121.js +1 -1
  186. package/index.es122.js +2 -2
  187. package/index.es123.js +1 -1
  188. package/index.es124.js +1 -1
  189. package/index.es125.js +1 -1
  190. package/index.es126.js +1 -1
  191. package/index.es127.js +1 -1
  192. package/index.es128.js +1 -1
  193. package/index.es129.js +1 -1
  194. package/index.es130.js +1 -1
  195. package/index.es131.js +1 -1
  196. package/index.es133.js +1 -1
  197. package/index.es134.js +1 -1
  198. package/index.es135.js +1 -1
  199. package/index.es136.js +1 -1
  200. package/index.es137.js +1 -1
  201. package/index.es138.js +1 -1
  202. package/index.es139.js +1 -1
  203. package/index.es140.js +1 -1
  204. package/index.es141.js +1 -1
  205. package/index.es148.js +1 -1
  206. package/index.es149.js +1 -1
  207. package/index.es150.js +1 -1
  208. package/index.es151.js +1 -1
  209. package/index.es153.js +1 -1
  210. package/index.es154.js +1 -1
  211. package/index.es155.js +1 -1
  212. package/index.es156.js +1 -1
  213. package/index.es159.js +1 -1
  214. package/index.es160.js +1 -1
  215. package/index.es161.js +1 -1
  216. package/index.es162.js +1 -1
  217. package/index.es163.js +1 -1
  218. package/index.es164.js +2 -2
  219. package/index.es165.js +1 -1
  220. package/index.es166.js +2 -2
  221. package/index.es167.js +1 -1
  222. package/index.es168.js +1 -1
  223. package/index.es170.js +1 -1
  224. package/index.es171.js +1 -1
  225. package/index.es172.js +1 -1
  226. package/index.es173.js +1 -1
  227. package/index.es174.js +2310 -443
  228. package/index.es175.js +2114 -2300
  229. package/index.es176.js +11 -2152
  230. package/index.es177.js +139 -11
  231. package/index.es178.js +6 -139
  232. package/index.es179.js +471 -6
  233. package/index.es180.js +235 -3
  234. package/index.es181.js +52 -231
  235. package/index.es182.js +477 -51
  236. package/index.es183.js +3 -482
  237. package/index.es184.js +31 -18
  238. package/index.es185.js +12 -35
  239. package/index.es186.js +31 -1216
  240. package/index.es187.js +6 -14
  241. package/index.es188.js +18 -8
  242. package/index.es189.js +31 -46
  243. package/index.es190.js +1223 -5
  244. package/index.es191.js +14 -2
  245. package/index.es192.js +8 -2261
  246. package/index.es193.js +50 -31
  247. package/index.es194.js +2 -12
  248. package/index.es195.js +2260 -10
  249. package/index.es196.js +9 -37
  250. package/index.es198.js +1 -1
  251. package/index.es199.js +1 -1
  252. package/index.es200.js +1 -1
  253. package/index.es202.js +1 -1
  254. package/index.es213.js +1 -1
  255. package/index.es214.js +4 -4
  256. package/index.es216.js +1 -1
  257. package/index.es217.js +1 -1
  258. package/index.es220.js +1 -1
  259. package/index.es228.js +5 -5
  260. package/index.es229.js +6 -6
  261. package/index.es230.js +1 -1
  262. package/index.es235.js +12 -3
  263. package/index.es236.js +25 -2
  264. package/index.es237.js +10 -12
  265. package/index.es238.js +38 -24
  266. package/index.es239.js +1997 -8
  267. package/index.es240.js +6 -38
  268. package/index.es241.js +71 -1999
  269. package/index.es242.js +24 -6
  270. package/index.es243.js +3 -71
  271. package/index.es244.js +2 -25
  272. package/index.es252.js +1 -1
  273. package/index.es254.js +1 -1
  274. package/index.es255.js +1 -1
  275. package/index.es256.js +1 -1
  276. package/index.es257.js +1 -1
  277. package/index.es263.js +1 -1
  278. package/index.es264.js +1 -1
  279. package/index.es279.js +1 -1
  280. package/index.es28.js +1 -1
  281. package/index.es280.js +1 -1
  282. package/index.es281.js +1 -1
  283. package/index.es282.js +1 -1
  284. package/index.es284.js +1 -1
  285. package/index.es287.js +1 -1
  286. package/index.es288.js +1 -1
  287. package/index.es294.js +1 -1
  288. package/index.es296.js +1 -1
  289. package/index.es297.js +1 -1
  290. package/index.es301.js +1 -1
  291. package/index.es303.js +1 -1
  292. package/index.es304.js +1 -1
  293. package/index.es307.js +1 -1
  294. package/index.es308.js +15 -5
  295. package/index.es309.js +5 -8
  296. package/index.es310.js +8 -3
  297. package/index.es311.js +3 -3
  298. package/index.es312.js +2 -2
  299. package/index.es313.js +3 -6
  300. package/index.es314.js +6 -5
  301. package/index.es315.js +3 -2
  302. package/index.es316.js +4 -117
  303. package/index.es317.js +117 -4
  304. package/index.es318.js +4 -15
  305. package/index.es331.js +1 -1
  306. package/index.es348.js +1 -1
  307. package/index.es352.js +1 -1
  308. package/index.es373.js +1 -1
  309. package/index.es382.js +1 -1
  310. package/index.es383.js +1 -1
  311. package/index.es389.js +10 -8
  312. package/index.es390.js +3 -3
  313. package/index.es391.js +8 -45
  314. package/index.es392.js +3 -24
  315. package/index.es393.js +44 -9
  316. package/index.es394.js +24 -3
  317. package/index.es395.js +2 -2
  318. package/index.es399.js +3 -3
  319. package/index.es405.js +1 -1
  320. package/index.es408.js +1 -1
  321. package/index.es416.js +7 -248
  322. package/index.es417.js +6 -19
  323. package/index.es418.js +20 -51
  324. package/index.es419.js +51 -7
  325. package/index.es420.js +247 -41
  326. package/index.es421.js +41 -14
  327. package/index.es422.js +16 -10
  328. package/index.es423.js +10 -48
  329. package/index.es424.js +47 -25
  330. package/index.es425.js +24 -127
  331. package/index.es426.js +119 -102
  332. package/index.es427.js +112 -8
  333. package/index.es46.js +139 -137
  334. package/index.es81.js +1 -1
  335. package/index.es82.js +1 -1
  336. package/index.es85.js +2 -2
  337. package/index.es88.js +2 -2
  338. package/index.es9.js +1 -1
  339. package/index.es92.js +1 -1
  340. package/package.json +1 -1
package/index.es420.js CHANGED
@@ -1,45 +1,251 @@
1
- var h = !1;
2
- function a(n) {
3
- if (n.sheet)
4
- return n.sheet;
5
- for (var t = 0; t < document.styleSheets.length; t++)
6
- if (document.styleSheets[t].ownerNode === n)
7
- return document.styleSheets[t];
8
- }
9
- function o(n) {
10
- var t = document.createElement("style");
11
- return t.setAttribute("data-emotion", n.key), n.nonce !== void 0 && t.setAttribute("nonce", n.nonce), t.appendChild(document.createTextNode("")), t.setAttribute("data-s", ""), t;
12
- }
13
- var d = /* @__PURE__ */ function() {
14
- function n(i) {
15
- var e = this;
16
- this._insertTag = function(r) {
17
- var s;
18
- e.tags.length === 0 ? e.insertionPoint ? s = e.insertionPoint.nextSibling : e.prepend ? s = e.container.firstChild : s = e.before : s = e.tags[e.tags.length - 1].nextSibling, e.container.insertBefore(r, s), e.tags.push(r);
19
- }, this.isSpeedy = i.speedy === void 0 ? !h : i.speedy, this.tags = [], this.ctr = 0, this.nonce = i.nonce, this.key = i.key, this.container = i.container, this.prepend = i.prepend, this.insertionPoint = i.insertionPoint, this.before = null;
1
+ import { StyleSheet as K } from "./index.es421.js";
2
+ import { middleware as z, rulesheet as B } from "./index.es422.js";
3
+ import { RULESET as D, KEYFRAMES as F, DECLARATION as H, WEBKIT as e, MS as o, MOZ as k } from "./index.es423.js";
4
+ import { combine as N, replace as c, hash as U, charat as y, strlen as E, indexof as R, match as Y, from as Z } from "./index.es424.js";
5
+ import { serialize as m, stringify as _ } from "./index.es425.js";
6
+ import { copy as g, dealloc as G, alloc as J, next as C, token as S, peek as A, delimit as Q, slice as V, position as T } from "./index.es426.js";
7
+ import { compile as X } from "./index.es427.js";
8
+ var j = function(t, a, s) {
9
+ for (var i = 0, n = 0; i = n, n = A(), i === 38 && n === 12 && (a[s] = 1), !S(n); )
10
+ C();
11
+ return V(t, T);
12
+ }, l = function(t, a) {
13
+ var s = -1, i = 44;
14
+ do
15
+ switch (S(i)) {
16
+ case 0:
17
+ i === 38 && A() === 12 && (a[s] = 1), t[s] += j(T - 1, a, s);
18
+ break;
19
+ case 2:
20
+ t[s] += Q(i);
21
+ break;
22
+ case 4:
23
+ if (i === 44) {
24
+ t[++s] = A() === 58 ? "&\f" : "", a[s] = t[s].length;
25
+ break;
26
+ }
27
+ default:
28
+ t[s] += Z(i);
29
+ }
30
+ while (i = C());
31
+ return t;
32
+ }, v = function(t, a) {
33
+ return G(l(J(t), a));
34
+ }, P = /* @__PURE__ */ new WeakMap(), rr = function(t) {
35
+ if (!(t.type !== "rule" || !t.parent || // positive .length indicates that this rule contains pseudo
36
+ // negative .length indicates that this rule has been already prefixed
37
+ t.length < 1)) {
38
+ for (var a = t.value, s = t.parent, i = t.column === s.column && t.line === s.line; s.type !== "rule"; )
39
+ if (s = s.parent, !s)
40
+ return;
41
+ if (!(t.props.length === 1 && a.charCodeAt(0) !== 58 && !P.get(s)) && !i) {
42
+ P.set(t, !0);
43
+ for (var n = [], b = v(a, n), w = s.props, h = 0, x = 0; h < b.length; h++)
44
+ for (var d = 0; d < w.length; d++, x++)
45
+ t.props[x] = n[h] ? b[h].replace(/&\f/g, w[d]) : w[d] + " " + b[h];
46
+ }
47
+ }
48
+ }, tr = function(t) {
49
+ if (t.type === "decl") {
50
+ var a = t.value;
51
+ // charcode for l
52
+ a.charCodeAt(0) === 108 && // charcode for b
53
+ a.charCodeAt(2) === 98 && (t.return = "", t.value = "");
20
54
  }
21
- var t = n.prototype;
22
- return t.hydrate = function(e) {
23
- e.forEach(this._insertTag);
24
- }, t.insert = function(e) {
25
- this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(o(this));
26
- var r = this.tags[this.tags.length - 1];
27
- if (this.isSpeedy) {
28
- var s = a(r);
29
- try {
30
- s.insertRule(e, s.cssRules.length);
31
- } catch {
55
+ };
56
+ function L(r, t) {
57
+ switch (U(r, t)) {
58
+ case 5103:
59
+ return e + "print-" + r + r;
60
+ case 5737:
61
+ case 4201:
62
+ case 3177:
63
+ case 3433:
64
+ case 1641:
65
+ case 4457:
66
+ case 2921:
67
+ case 5572:
68
+ case 6356:
69
+ case 5844:
70
+ case 3191:
71
+ case 6645:
72
+ case 3005:
73
+ case 6391:
74
+ case 5879:
75
+ case 5623:
76
+ case 6135:
77
+ case 4599:
78
+ case 4855:
79
+ case 4215:
80
+ case 6389:
81
+ case 5109:
82
+ case 5365:
83
+ case 5621:
84
+ case 3829:
85
+ return e + r + r;
86
+ case 5349:
87
+ case 4246:
88
+ case 4810:
89
+ case 6968:
90
+ case 2756:
91
+ return e + r + k + r + o + r + r;
92
+ case 6828:
93
+ case 4268:
94
+ return e + r + o + r + r;
95
+ case 6165:
96
+ return e + r + o + "flex-" + r + r;
97
+ case 5187:
98
+ return e + r + c(r, /(\w+).+(:[^]+)/, e + "box-$1$2" + o + "flex-$1$2") + r;
99
+ case 5443:
100
+ return e + r + o + "flex-item-" + c(r, /flex-|-self/, "") + r;
101
+ case 4675:
102
+ return e + r + o + "flex-line-pack" + c(r, /align-content|flex-|-self/, "") + r;
103
+ case 5548:
104
+ return e + r + o + c(r, "shrink", "negative") + r;
105
+ case 5292:
106
+ return e + r + o + c(r, "basis", "preferred-size") + r;
107
+ case 6060:
108
+ return e + "box-" + c(r, "-grow", "") + e + r + o + c(r, "grow", "positive") + r;
109
+ case 4554:
110
+ return e + c(r, /([^-])(transform)/g, "$1" + e + "$2") + r;
111
+ case 6187:
112
+ return c(c(c(r, /(zoom-|grab)/, e + "$1"), /(image-set)/, e + "$1"), r, "") + r;
113
+ case 5495:
114
+ case 3959:
115
+ return c(r, /(image-set\([^]*)/, e + "$1$`$1");
116
+ case 4968:
117
+ return c(c(r, /(.+:)(flex-)?(.*)/, e + "box-pack:$3" + o + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + e + r + r;
118
+ case 4095:
119
+ case 3583:
120
+ case 4068:
121
+ case 2532:
122
+ return c(r, /(.+)-inline(.+)/, e + "$1$2") + r;
123
+ case 8116:
124
+ case 7059:
125
+ case 5753:
126
+ case 5535:
127
+ case 5445:
128
+ case 5701:
129
+ case 4933:
130
+ case 4677:
131
+ case 5533:
132
+ case 5789:
133
+ case 5021:
134
+ case 4765:
135
+ if (E(r) - 1 - t > 6)
136
+ switch (y(r, t + 1)) {
137
+ case 109:
138
+ if (y(r, t + 4) !== 45)
139
+ break;
140
+ case 102:
141
+ return c(r, /(.+:)(.+)-([^]+)/, "$1" + e + "$2-$3$1" + k + (y(r, t + 3) == 108 ? "$3" : "$2-$3")) + r;
142
+ case 115:
143
+ return ~R(r, "stretch") ? L(c(r, "stretch", "fill-available"), t) + r : r;
144
+ }
145
+ break;
146
+ case 4949:
147
+ if (y(r, t + 1) !== 115)
148
+ break;
149
+ case 6444:
150
+ switch (y(r, E(r) - 3 - (~R(r, "!important") && 10))) {
151
+ case 107:
152
+ return c(r, ":", ":" + e) + r;
153
+ case 101:
154
+ return c(r, /(.+:)([^;!]+)(;|!.+)?/, "$1" + e + (y(r, 14) === 45 ? "inline-" : "") + "box$3$1" + e + "$2$3$1" + o + "$2box$3") + r;
155
+ }
156
+ break;
157
+ case 5936:
158
+ switch (y(r, t + 11)) {
159
+ case 114:
160
+ return e + r + o + c(r, /[svh]\w+-[tblr]{2}/, "tb") + r;
161
+ case 108:
162
+ return e + r + o + c(r, /[svh]\w+-[tblr]{2}/, "tb-rl") + r;
163
+ case 45:
164
+ return e + r + o + c(r, /[svh]\w+-[tblr]{2}/, "lr") + r;
32
165
  }
33
- } else
34
- r.appendChild(document.createTextNode(e));
35
- this.ctr++;
36
- }, t.flush = function() {
37
- this.tags.forEach(function(e) {
38
- var r;
39
- return (r = e.parentNode) == null ? void 0 : r.removeChild(e);
40
- }), this.tags = [], this.ctr = 0;
41
- }, n;
42
- }();
166
+ return e + r + o + r + r;
167
+ }
168
+ return r;
169
+ }
170
+ var er = function(t, a, s, i) {
171
+ if (t.length > -1 && !t.return)
172
+ switch (t.type) {
173
+ case H:
174
+ t.return = L(t.value, t.length);
175
+ break;
176
+ case F:
177
+ return m([g(t, {
178
+ value: c(t.value, "@", "@" + e)
179
+ })], i);
180
+ case D:
181
+ if (t.length)
182
+ return N(t.props, function(n) {
183
+ switch (Y(n, /(::plac\w+|:read-\w+)/)) {
184
+ case ":read-only":
185
+ case ":read-write":
186
+ return m([g(t, {
187
+ props: [c(n, /:(read-\w+)/, ":" + k + "$1")]
188
+ })], i);
189
+ case "::placeholder":
190
+ return m([g(t, {
191
+ props: [c(n, /:(plac\w+)/, ":" + e + "input-$1")]
192
+ }), g(t, {
193
+ props: [c(n, /:(plac\w+)/, ":" + k + "$1")]
194
+ }), g(t, {
195
+ props: [c(n, /:(plac\w+)/, o + "input-$1")]
196
+ })], i);
197
+ }
198
+ return "";
199
+ });
200
+ }
201
+ }, cr = [er], hr = function(t) {
202
+ var a = t.key;
203
+ if (a === "css") {
204
+ var s = document.querySelectorAll("style[data-emotion]:not([data-s])");
205
+ Array.prototype.forEach.call(s, function(f) {
206
+ var p = f.getAttribute("data-emotion");
207
+ p.indexOf(" ") !== -1 && (document.head.appendChild(f), f.setAttribute("data-s", ""));
208
+ });
209
+ }
210
+ var i = t.stylisPlugins || cr, n = {}, b, w = [];
211
+ b = t.container || document.head, Array.prototype.forEach.call(
212
+ // this means we will ignore elements which don't have a space in them which
213
+ // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
214
+ document.querySelectorAll('style[data-emotion^="' + a + ' "]'),
215
+ function(f) {
216
+ for (var p = f.getAttribute("data-emotion").split(" "), $ = 1; $ < p.length; $++)
217
+ n[p[$]] = !0;
218
+ w.push(f);
219
+ }
220
+ );
221
+ var h, x = [rr, tr];
222
+ {
223
+ var d, M = [_, B(function(f) {
224
+ d.insert(f);
225
+ })], W = z(x.concat(i, M)), I = function(p) {
226
+ return m(X(p), W);
227
+ };
228
+ h = function(p, $, O, q) {
229
+ d = O, I(p ? p + "{" + $.styles + "}" : $.styles), q && (u.inserted[$.name] = !0);
230
+ };
231
+ }
232
+ var u = {
233
+ key: a,
234
+ sheet: new K({
235
+ key: a,
236
+ container: b,
237
+ nonce: t.nonce,
238
+ speedy: t.speedy,
239
+ prepend: t.prepend,
240
+ insertionPoint: t.insertionPoint
241
+ }),
242
+ nonce: t.nonce,
243
+ inserted: n,
244
+ registered: {},
245
+ insert: h
246
+ };
247
+ return u.sheet.hydrate(w), u;
248
+ };
43
249
  export {
44
- d as StyleSheet
250
+ hr as default
45
251
  };
package/index.es421.js CHANGED
@@ -1,18 +1,45 @@
1
- import { sizeof as p } from "./index.es423.js";
2
- function c(t) {
3
- var r = p(t);
4
- return function(f, n, i, a) {
5
- for (var o = "", u = 0; u < r; u++)
6
- o += t[u](f, n, i, a) || "";
7
- return o;
8
- };
1
+ var h = !1;
2
+ function a(n) {
3
+ if (n.sheet)
4
+ return n.sheet;
5
+ for (var t = 0; t < document.styleSheets.length; t++)
6
+ if (document.styleSheets[t].ownerNode === n)
7
+ return document.styleSheets[t];
9
8
  }
10
- function d(t) {
11
- return function(r) {
12
- r.root || (r = r.return) && t(r);
13
- };
9
+ function o(n) {
10
+ var t = document.createElement("style");
11
+ return t.setAttribute("data-emotion", n.key), n.nonce !== void 0 && t.setAttribute("nonce", n.nonce), t.appendChild(document.createTextNode("")), t.setAttribute("data-s", ""), t;
14
12
  }
13
+ var d = /* @__PURE__ */ function() {
14
+ function n(i) {
15
+ var e = this;
16
+ this._insertTag = function(r) {
17
+ var s;
18
+ e.tags.length === 0 ? e.insertionPoint ? s = e.insertionPoint.nextSibling : e.prepend ? s = e.container.firstChild : s = e.before : s = e.tags[e.tags.length - 1].nextSibling, e.container.insertBefore(r, s), e.tags.push(r);
19
+ }, this.isSpeedy = i.speedy === void 0 ? !h : i.speedy, this.tags = [], this.ctr = 0, this.nonce = i.nonce, this.key = i.key, this.container = i.container, this.prepend = i.prepend, this.insertionPoint = i.insertionPoint, this.before = null;
20
+ }
21
+ var t = n.prototype;
22
+ return t.hydrate = function(e) {
23
+ e.forEach(this._insertTag);
24
+ }, t.insert = function(e) {
25
+ this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(o(this));
26
+ var r = this.tags[this.tags.length - 1];
27
+ if (this.isSpeedy) {
28
+ var s = a(r);
29
+ try {
30
+ s.insertRule(e, s.cssRules.length);
31
+ } catch {
32
+ }
33
+ } else
34
+ r.appendChild(document.createTextNode(e));
35
+ this.ctr++;
36
+ }, t.flush = function() {
37
+ this.tags.forEach(function(e) {
38
+ var r;
39
+ return (r = e.parentNode) == null ? void 0 : r.removeChild(e);
40
+ }), this.tags = [], this.ctr = 0;
41
+ }, n;
42
+ }();
15
43
  export {
16
- c as middleware,
17
- d as rulesheet
44
+ d as StyleSheet
18
45
  };
package/index.es422.js CHANGED
@@ -1,12 +1,18 @@
1
- var r = "-ms-", a = "-moz-", v = "-webkit-", E = "comm", e = "rule", m = "decl", M = "@import", R = "@keyframes", T = "@layer";
1
+ import { sizeof as p } from "./index.es424.js";
2
+ function c(t) {
3
+ var r = p(t);
4
+ return function(f, n, i, a) {
5
+ for (var o = "", u = 0; u < r; u++)
6
+ o += t[u](f, n, i, a) || "";
7
+ return o;
8
+ };
9
+ }
10
+ function d(t) {
11
+ return function(r) {
12
+ r.root || (r = r.return) && t(r);
13
+ };
14
+ }
2
15
  export {
3
- E as COMMENT,
4
- m as DECLARATION,
5
- M as IMPORT,
6
- R as KEYFRAMES,
7
- T as LAYER,
8
- a as MOZ,
9
- r as MS,
10
- e as RULESET,
11
- v as WEBKIT
16
+ c as middleware,
17
+ d as rulesheet
12
18
  };
package/index.es423.js CHANGED
@@ -1,50 +1,12 @@
1
- var i = Math.abs, c = String.fromCharCode, o = Object.assign;
2
- function f(n, r) {
3
- return t(n, 0) ^ 45 ? (((r << 2 ^ t(n, 0)) << 2 ^ t(n, 1)) << 2 ^ t(n, 2)) << 2 ^ t(n, 3) : 0;
4
- }
5
- function u(n) {
6
- return n.trim();
7
- }
8
- function s(n, r) {
9
- return (n = r.exec(n)) ? n[0] : n;
10
- }
11
- function a(n, r, e) {
12
- return n.replace(r, e);
13
- }
14
- function h(n, r) {
15
- return n.indexOf(r);
16
- }
17
- function t(n, r) {
18
- return n.charCodeAt(r) | 0;
19
- }
20
- function m(n, r, e) {
21
- return n.slice(r, e);
22
- }
23
- function p(n) {
24
- return n.length;
25
- }
26
- function b(n) {
27
- return n.length;
28
- }
29
- function d(n, r) {
30
- return r.push(n), n;
31
- }
32
- function g(n, r) {
33
- return n.map(r).join("");
34
- }
1
+ var r = "-ms-", a = "-moz-", v = "-webkit-", E = "comm", e = "rule", m = "decl", M = "@import", R = "@keyframes", T = "@layer";
35
2
  export {
36
- i as abs,
37
- d as append,
38
- o as assign,
39
- t as charat,
40
- g as combine,
41
- c as from,
42
- f as hash,
43
- h as indexof,
44
- s as match,
45
- a as replace,
46
- b as sizeof,
47
- p as strlen,
48
- m as substr,
49
- u as trim
3
+ E as COMMENT,
4
+ m as DECLARATION,
5
+ M as IMPORT,
6
+ R as KEYFRAMES,
7
+ T as LAYER,
8
+ a as MOZ,
9
+ r as MS,
10
+ e as RULESET,
11
+ v as WEBKIT
50
12
  };
package/index.es424.js CHANGED
@@ -1,28 +1,50 @@
1
- import { RULESET as t, KEYFRAMES as f, COMMENT as n, DECLARATION as p, IMPORT as v, LAYER as E } from "./index.es422.js";
2
- import { sizeof as c, strlen as R } from "./index.es423.js";
3
- function i(r, a) {
4
- for (var u = "", o = c(r), s = 0; s < o; s++)
5
- u += a(r[s], s, r, a) || "";
6
- return u;
7
- }
8
- function T(r, a, u, o) {
9
- switch (r.type) {
10
- case E:
11
- if (r.children.length)
12
- break;
13
- case v:
14
- case p:
15
- return r.return = r.return || r.value;
16
- case n:
17
- return "";
18
- case f:
19
- return r.return = r.value + "{" + i(r.children, o) + "}";
20
- case t:
21
- r.value = r.props.join(",");
22
- }
23
- return R(u = i(r.children, o)) ? r.return = r.value + "{" + u + "}" : "";
1
+ var i = Math.abs, c = String.fromCharCode, o = Object.assign;
2
+ function f(n, r) {
3
+ return t(n, 0) ^ 45 ? (((r << 2 ^ t(n, 0)) << 2 ^ t(n, 1)) << 2 ^ t(n, 2)) << 2 ^ t(n, 3) : 0;
4
+ }
5
+ function u(n) {
6
+ return n.trim();
7
+ }
8
+ function s(n, r) {
9
+ return (n = r.exec(n)) ? n[0] : n;
10
+ }
11
+ function a(n, r, e) {
12
+ return n.replace(r, e);
13
+ }
14
+ function h(n, r) {
15
+ return n.indexOf(r);
16
+ }
17
+ function t(n, r) {
18
+ return n.charCodeAt(r) | 0;
19
+ }
20
+ function m(n, r, e) {
21
+ return n.slice(r, e);
22
+ }
23
+ function p(n) {
24
+ return n.length;
25
+ }
26
+ function b(n) {
27
+ return n.length;
28
+ }
29
+ function d(n, r) {
30
+ return r.push(n), n;
31
+ }
32
+ function g(n, r) {
33
+ return n.map(r).join("");
24
34
  }
25
35
  export {
26
- i as serialize,
27
- T as stringify
36
+ i as abs,
37
+ d as append,
38
+ o as assign,
39
+ t as charat,
40
+ g as combine,
41
+ c as from,
42
+ f as hash,
43
+ h as indexof,
44
+ s as match,
45
+ a as replace,
46
+ b as sizeof,
47
+ p as strlen,
48
+ m as substr,
49
+ u as trim
28
50
  };
package/index.es425.js CHANGED
@@ -1,131 +1,28 @@
1
- import { assign as g, charat as h, strlen as x, trim as p, from as j, substr as q } from "./index.es423.js";
2
- var u = 1, t = 1, m = 0, n = 0, r = 0, i = "";
3
- function z(e, c, k, b, v, w, d) {
4
- return { value: e, root: c, parent: k, type: b, props: v, children: w, line: u, column: t, length: d, return: "" };
5
- }
6
- function C(e, c) {
7
- return g(z("", null, null, "", null, null, 0), e, { length: -e.length }, c);
8
- }
9
- function D() {
10
- return r;
11
- }
12
- function E() {
13
- return r = n > 0 ? h(i, --n) : 0, t--, r === 10 && (t = 1, u--), r;
14
- }
15
- function a() {
16
- return r = n < m ? h(i, n++) : 0, t++, r === 10 && (t = 1, u++), r;
17
- }
18
- function s() {
19
- return h(i, n);
20
- }
21
- function A() {
22
- return n;
23
- }
24
- function l(e, c) {
25
- return q(i, e, c);
26
- }
27
- function o(e) {
28
- switch (e) {
29
- case 0:
30
- case 9:
31
- case 10:
32
- case 13:
33
- case 32:
34
- return 5;
35
- case 33:
36
- case 43:
37
- case 44:
38
- case 47:
39
- case 62:
40
- case 64:
41
- case 126:
42
- case 59:
43
- case 123:
44
- case 125:
45
- return 4;
46
- case 58:
47
- return 3;
48
- case 34:
49
- case 39:
50
- case 40:
51
- case 91:
52
- return 2;
53
- case 41:
54
- case 93:
55
- return 1;
56
- }
57
- return 0;
58
- }
59
- function F(e) {
60
- return u = t = 1, m = x(i = e), n = 0, [];
61
- }
62
- function G(e) {
63
- return i = "", e;
64
- }
65
- function H(e) {
66
- return p(l(n - 1, f(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
67
- }
68
- function I(e) {
69
- for (; (r = s()) && r < 33; )
70
- a();
71
- return o(e) > 2 || o(r) > 3 ? "" : " ";
72
- }
73
- function J(e, c) {
74
- for (; --c && a() && !(r < 48 || r > 102 || r > 57 && r < 65 || r > 70 && r < 97); )
75
- ;
76
- return l(e, A() + (c < 6 && s() == 32 && a() == 32));
77
- }
78
- function f(e) {
79
- for (; a(); )
80
- switch (r) {
81
- case e:
82
- return n;
83
- case 34:
84
- case 39:
85
- e !== 34 && e !== 39 && f(r);
1
+ import { RULESET as t, KEYFRAMES as f, COMMENT as n, DECLARATION as p, IMPORT as v, LAYER as E } from "./index.es423.js";
2
+ import { sizeof as c, strlen as R } from "./index.es424.js";
3
+ function i(r, a) {
4
+ for (var u = "", o = c(r), s = 0; s < o; s++)
5
+ u += a(r[s], s, r, a) || "";
6
+ return u;
7
+ }
8
+ function T(r, a, u, o) {
9
+ switch (r.type) {
10
+ case E:
11
+ if (r.children.length)
86
12
  break;
87
- case 40:
88
- e === 41 && f(e);
89
- break;
90
- case 92:
91
- a();
92
- break;
93
- }
94
- return n;
95
- }
96
- function K(e, c) {
97
- for (; a() && e + r !== 47 + 10; )
98
- if (e + r === 42 + 42 && s() === 47)
99
- break;
100
- return "/*" + l(c, n - 1) + "*" + j(e === 47 ? e : a());
101
- }
102
- function L(e) {
103
- for (; !o(s()); )
104
- a();
105
- return l(e, n);
13
+ case v:
14
+ case p:
15
+ return r.return = r.return || r.value;
16
+ case n:
17
+ return "";
18
+ case f:
19
+ return r.return = r.value + "{" + i(r.children, o) + "}";
20
+ case t:
21
+ r.value = r.props.join(",");
22
+ }
23
+ return R(u = i(r.children, o)) ? r.return = r.value + "{" + u + "}" : "";
106
24
  }
107
25
  export {
108
- F as alloc,
109
- A as caret,
110
- D as char,
111
- r as character,
112
- i as characters,
113
- t as column,
114
- K as commenter,
115
- C as copy,
116
- G as dealloc,
117
- H as delimit,
118
- f as delimiter,
119
- J as escaping,
120
- L as identifier,
121
- m as length,
122
- u as line,
123
- a as next,
124
- z as node,
125
- s as peek,
126
- n as position,
127
- E as prev,
128
- l as slice,
129
- o as token,
130
- I as whitespace
26
+ i as serialize,
27
+ T as stringify
131
28
  };