@cupra/ui-react 2.0.0-canary.126 → 2.0.0-canary.127

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 (192) hide show
  1. package/dist/cjs/_virtual/_rolldown/runtime.cjs +1 -1
  2. package/dist/cjs/components/Accordion/Accordion.cjs +1 -1
  3. package/dist/cjs/components/Avatar/Avatar.cjs +1 -1
  4. package/dist/cjs/components/Badge/Badge.cjs +1 -1
  5. package/dist/cjs/components/BasicCard/BasicCard.cjs +1 -1
  6. package/dist/cjs/components/BasicCardHeader/BasicCardHeader.cjs +1 -1
  7. package/dist/cjs/components/BasicCardImage/BasicCardImage.cjs +1 -1
  8. package/dist/cjs/components/BasicCardSection/BasicCardSection.cjs +1 -1
  9. package/dist/cjs/components/Breadcrumbs/Breadcrumbs.cjs +1 -1
  10. package/dist/cjs/components/BreadcrumbsItem/BreadcrumbsItem.cjs +1 -1
  11. package/dist/cjs/components/Bullets/Bullets.cjs +1 -1
  12. package/dist/cjs/components/Button/Button.cjs +1 -1
  13. package/dist/cjs/components/Calendar/Calendar.cjs +1 -1
  14. package/dist/cjs/components/CarouselIndicator/CarouselIndicator.cjs +1 -1
  15. package/dist/cjs/components/Checkbox/Checkbox.cjs +1 -1
  16. package/dist/cjs/components/CheckboxGroup/CheckboxGroup.cjs +1 -1
  17. package/dist/cjs/components/Chip/Chip.cjs +1 -1
  18. package/dist/cjs/components/Chips/Chips.cjs +1 -1
  19. package/dist/cjs/components/Currency/Currency.cjs +1 -1
  20. package/dist/cjs/components/DatePicker/DatePicker.cjs +1 -1
  21. package/dist/cjs/components/Dialog/Dialog.cjs +1 -1
  22. package/dist/cjs/components/DialogBody/DialogBody.cjs +1 -1
  23. package/dist/cjs/components/DialogFooter/DialogFooter.cjs +1 -1
  24. package/dist/cjs/components/DialogFullscreen/DialogFullscreen.cjs +1 -1
  25. package/dist/cjs/components/DialogHeader/DialogHeader.cjs +1 -1
  26. package/dist/cjs/components/Divider/Divider.cjs +1 -1
  27. package/dist/cjs/components/Drawer/Drawer.cjs +1 -1
  28. package/dist/cjs/components/FavouriteAction/FavouriteAction.cjs +1 -1
  29. package/dist/cjs/components/Hyperlink/Hyperlink.cjs +1 -1
  30. package/dist/cjs/components/Icon/Icon.cjs +1 -1
  31. package/dist/cjs/components/IconButton/IconButton.cjs +1 -1
  32. package/dist/cjs/components/IconButtonGroup/IconButtonGroup.cjs +1 -1
  33. package/dist/cjs/components/InlineAlert/InlineAlert.cjs +1 -1
  34. package/dist/cjs/components/Input/Input.cjs +1 -1
  35. package/dist/cjs/components/InteractiveCard/InteractiveCard.cjs +1 -1
  36. package/dist/cjs/components/LinkButton/LinkButton.cjs +1 -1
  37. package/dist/cjs/components/List/List.cjs +1 -1
  38. package/dist/cjs/components/ListItem/ListItem.cjs +1 -1
  39. package/dist/cjs/components/Loader/Loader.cjs +1 -1
  40. package/dist/cjs/components/Logo/Logo.cjs +1 -1
  41. package/dist/cjs/components/MainTitle/MainTitle.cjs +1 -1
  42. package/dist/cjs/components/MapPin/MapPin.cjs +1 -1
  43. package/dist/cjs/components/MediaControl/MediaControl.cjs +1 -1
  44. package/dist/cjs/components/Modal/Modal.cjs +2 -2
  45. package/dist/cjs/components/NavigationControls/NavigationControls.cjs +1 -1
  46. package/dist/cjs/components/PasswordInput/PasswordInput.cjs +1 -1
  47. package/dist/cjs/components/PickerItem/PickerItem.cjs +1 -1
  48. package/dist/cjs/components/Radio/Radio.cjs +1 -1
  49. package/dist/cjs/components/RadioButton/RadioButton.cjs +1 -1
  50. package/dist/cjs/components/RadioButtonGroup/RadioButtonGroup.cjs +1 -1
  51. package/dist/cjs/components/Rating/Rating.cjs +1 -1
  52. package/dist/cjs/components/Search/Search.cjs +1 -1
  53. package/dist/cjs/components/SearchInput/SearchInput.cjs +1 -1
  54. package/dist/cjs/components/SecondaryNavigation/SecondaryNavigation.cjs +1 -1
  55. package/dist/cjs/components/SegmentedControl/SegmentedControl.cjs +1 -1
  56. package/dist/cjs/components/Select/Select.cjs +1 -1
  57. package/dist/cjs/components/Selection/Selection.cjs +1 -1
  58. package/dist/cjs/components/SidebarNavigation/SidebarNavigation.cjs +1 -1
  59. package/dist/cjs/components/Skeleton/Skeleton.cjs +1 -1
  60. package/dist/cjs/components/Slider/Slider.cjs +1 -1
  61. package/dist/cjs/components/StaticBox/StaticBox.cjs +1 -1
  62. package/dist/cjs/components/Stepper/Stepper.cjs +1 -1
  63. package/dist/cjs/components/Table/Table.cjs +1 -1
  64. package/dist/cjs/components/TableCell/TableCell.cjs +1 -1
  65. package/dist/cjs/components/TableRow/TableRow.cjs +1 -1
  66. package/dist/cjs/components/Tabs/Tabs.cjs +1 -1
  67. package/dist/cjs/components/Tag/Tag.cjs +1 -1
  68. package/dist/cjs/components/Text/Text.cjs +1 -1
  69. package/dist/cjs/components/TextInput/TextInput.cjs +1 -1
  70. package/dist/cjs/components/Textarea/Textarea.cjs +1 -1
  71. package/dist/cjs/components/ThemeProvider/ThemeProvider.cjs +1 -1
  72. package/dist/cjs/components/Toast/Toast.cjs +1 -1
  73. package/dist/cjs/components/ToastMessage/ToastMessage.cjs +1 -1
  74. package/dist/cjs/components/ToggleButton/ToggleButton.cjs +1 -1
  75. package/dist/cjs/components/ToggleSwitch/ToggleSwitch.cjs +1 -1
  76. package/dist/cjs/components/Tooltip/Tooltip.cjs +1 -1
  77. package/dist/cjs/components/ValueUnit/ValueUnit.cjs +1 -1
  78. package/dist/cjs/node_modules/.pnpm/@emotion_is-prop-valid@1.4.0/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.cjs +1 -0
  79. package/dist/cjs/node_modules/.pnpm/styled-components@6.4.1_css-to-react-native@3.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/styled-components/dist/styled-components.browser.esm.cjs +80 -0
  80. package/dist/cjs/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Enum.cjs +1 -0
  81. package/dist/cjs/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Parser.cjs +1 -0
  82. package/dist/cjs/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Prefixer.cjs +1 -0
  83. package/dist/cjs/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Serializer.cjs +1 -0
  84. package/dist/cjs/node_modules/.pnpm/{stylis@4.3.2 → stylis@4.3.6}/node_modules/stylis/src/Tokenizer.cjs +1 -1
  85. package/dist/esm/components/Accordion/Accordion.js +10 -9
  86. package/dist/esm/components/Avatar/Avatar.js +13 -11
  87. package/dist/esm/components/Badge/Badge.js +8 -6
  88. package/dist/esm/components/BasicCard/BasicCard.js +13 -11
  89. package/dist/esm/components/BasicCardHeader/BasicCardHeader.js +19 -17
  90. package/dist/esm/components/BasicCardImage/BasicCardImage.js +10 -8
  91. package/dist/esm/components/BasicCardSection/BasicCardSection.js +10 -8
  92. package/dist/esm/components/Breadcrumbs/Breadcrumbs.js +9 -8
  93. package/dist/esm/components/BreadcrumbsItem/BreadcrumbsItem.js +12 -11
  94. package/dist/esm/components/Bullets/Bullets.js +6 -5
  95. package/dist/esm/components/Button/Button.js +12 -10
  96. package/dist/esm/components/Calendar/Calendar.js +10 -8
  97. package/dist/esm/components/CarouselIndicator/CarouselIndicator.js +9 -7
  98. package/dist/esm/components/Checkbox/Checkbox.js +10 -8
  99. package/dist/esm/components/CheckboxGroup/CheckboxGroup.js +11 -9
  100. package/dist/esm/components/Chip/Chip.js +10 -8
  101. package/dist/esm/components/Chips/Chips.js +11 -9
  102. package/dist/esm/components/Currency/Currency.js +9 -7
  103. package/dist/esm/components/DatePicker/DatePicker.js +20 -18
  104. package/dist/esm/components/Dialog/Dialog.js +12 -10
  105. package/dist/esm/components/DialogBody/DialogBody.js +10 -8
  106. package/dist/esm/components/DialogFooter/DialogFooter.js +10 -8
  107. package/dist/esm/components/DialogFullscreen/DialogFullscreen.js +12 -10
  108. package/dist/esm/components/DialogHeader/DialogHeader.js +10 -8
  109. package/dist/esm/components/Divider/Divider.js +8 -6
  110. package/dist/esm/components/Drawer/Drawer.js +18 -16
  111. package/dist/esm/components/FavouriteAction/FavouriteAction.js +15 -13
  112. package/dist/esm/components/Hyperlink/Hyperlink.js +10 -8
  113. package/dist/esm/components/Icon/Icon.js +10 -8
  114. package/dist/esm/components/IconButton/IconButton.js +11 -9
  115. package/dist/esm/components/IconButtonGroup/IconButtonGroup.js +10 -8
  116. package/dist/esm/components/InlineAlert/InlineAlert.js +11 -9
  117. package/dist/esm/components/Input/Input.js +14 -13
  118. package/dist/esm/components/InteractiveCard/InteractiveCard.js +19 -17
  119. package/dist/esm/components/LinkButton/LinkButton.js +10 -8
  120. package/dist/esm/components/List/List.js +9 -7
  121. package/dist/esm/components/ListItem/ListItem.js +12 -10
  122. package/dist/esm/components/Loader/Loader.js +20 -18
  123. package/dist/esm/components/Logo/Logo.js +9 -7
  124. package/dist/esm/components/MainTitle/MainTitle.js +17 -15
  125. package/dist/esm/components/MapPin/MapPin.js +9 -7
  126. package/dist/esm/components/MediaControl/MediaControl.js +12 -10
  127. package/dist/esm/components/Modal/Modal.js +27 -25
  128. package/dist/esm/components/NavigationControls/NavigationControls.js +10 -8
  129. package/dist/esm/components/PasswordInput/PasswordInput.js +25 -23
  130. package/dist/esm/components/PickerItem/PickerItem.js +12 -10
  131. package/dist/esm/components/Radio/Radio.js +14 -12
  132. package/dist/esm/components/RadioButton/RadioButton.js +11 -9
  133. package/dist/esm/components/RadioButtonGroup/RadioButtonGroup.js +11 -9
  134. package/dist/esm/components/Rating/Rating.js +9 -7
  135. package/dist/esm/components/Search/Search.js +9 -8
  136. package/dist/esm/components/SearchInput/SearchInput.js +23 -21
  137. package/dist/esm/components/SecondaryNavigation/SecondaryNavigation.js +13 -11
  138. package/dist/esm/components/SegmentedControl/SegmentedControl.js +11 -9
  139. package/dist/esm/components/Select/Select.js +6 -5
  140. package/dist/esm/components/Selection/Selection.js +9 -7
  141. package/dist/esm/components/SidebarNavigation/SidebarNavigation.js +20 -18
  142. package/dist/esm/components/Skeleton/Skeleton.js +8 -6
  143. package/dist/esm/components/Slider/Slider.js +11 -9
  144. package/dist/esm/components/StaticBox/StaticBox.js +12 -10
  145. package/dist/esm/components/Stepper/Stepper.js +6 -5
  146. package/dist/esm/components/Table/Table.js +10 -8
  147. package/dist/esm/components/TableCell/TableCell.js +10 -8
  148. package/dist/esm/components/TableRow/TableRow.js +10 -8
  149. package/dist/esm/components/Tabs/Tabs.js +15 -13
  150. package/dist/esm/components/Tag/Tag.js +11 -9
  151. package/dist/esm/components/Text/Text.js +10 -8
  152. package/dist/esm/components/TextInput/TextInput.js +27 -25
  153. package/dist/esm/components/Textarea/Textarea.js +29 -27
  154. package/dist/esm/components/ThemeProvider/ThemeProvider.js +6 -5
  155. package/dist/esm/components/Toast/Toast.js +10 -8
  156. package/dist/esm/components/ToastMessage/ToastMessage.js +11 -9
  157. package/dist/esm/components/ToggleButton/ToggleButton.js +9 -7
  158. package/dist/esm/components/ToggleSwitch/ToggleSwitch.js +17 -15
  159. package/dist/esm/components/Tooltip/Tooltip.js +14 -13
  160. package/dist/esm/components/ValueUnit/ValueUnit.js +13 -11
  161. package/dist/esm/node_modules/.pnpm/@emotion_is-prop-valid@1.4.0/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js +7 -0
  162. package/dist/esm/node_modules/.pnpm/{@emotion_memoize@0.8.1 → @emotion_memoize@0.9.0}/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +1 -1
  163. package/dist/esm/node_modules/.pnpm/styled-components@6.4.1_css-to-react-native@3.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/styled-components/dist/styled-components.browser.esm.js +700 -0
  164. package/dist/esm/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Enum.js +4 -0
  165. package/dist/esm/node_modules/.pnpm/{stylis@4.3.2 → stylis@4.3.6}/node_modules/stylis/src/Middleware.js +1 -1
  166. package/dist/esm/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Parser.js +95 -0
  167. package/dist/esm/node_modules/.pnpm/{stylis@4.3.2 → stylis@4.3.6}/node_modules/stylis/src/Prefixer.js +9 -9
  168. package/dist/esm/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Serializer.js +21 -0
  169. package/dist/esm/node_modules/.pnpm/{stylis@4.3.2 → stylis@4.3.6}/node_modules/stylis/src/Tokenizer.js +2 -2
  170. package/dist/esm/node_modules/.pnpm/{stylis@4.3.2 → stylis@4.3.6}/node_modules/stylis/src/Utility.js +1 -1
  171. package/package.json +4 -4
  172. package/dist/cjs/node_modules/.pnpm/@emotion_is-prop-valid@1.2.2/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.cjs +0 -1
  173. package/dist/cjs/node_modules/.pnpm/@emotion_unitless@0.8.1/node_modules/@emotion/unitless/dist/emotion-unitless.esm.cjs +0 -1
  174. package/dist/cjs/node_modules/.pnpm/shallowequal@1.1.0/node_modules/shallowequal/index.cjs +0 -1
  175. package/dist/cjs/node_modules/.pnpm/styled-components@6.1.19_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/styled-components/dist/styled-components.browser.esm.cjs +0 -70
  176. package/dist/cjs/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Enum.cjs +0 -1
  177. package/dist/cjs/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Parser.cjs +0 -1
  178. package/dist/cjs/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Prefixer.cjs +0 -1
  179. package/dist/cjs/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Serializer.cjs +0 -1
  180. package/dist/cjs/node_modules/.pnpm/tslib@2.6.2/node_modules/tslib/tslib.es6.cjs +0 -1
  181. package/dist/esm/_virtual/_rolldown/runtime.js +0 -13
  182. package/dist/esm/node_modules/.pnpm/@emotion_is-prop-valid@1.2.2/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js +0 -7
  183. package/dist/esm/node_modules/.pnpm/@emotion_unitless@0.8.1/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +0 -51
  184. package/dist/esm/node_modules/.pnpm/shallowequal@1.1.0/node_modules/shallowequal/index.js +0 -22
  185. package/dist/esm/node_modules/.pnpm/styled-components@6.1.19_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/styled-components/dist/styled-components.browser.esm.js +0 -673
  186. package/dist/esm/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Enum.js +0 -4
  187. package/dist/esm/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Parser.js +0 -93
  188. package/dist/esm/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Serializer.js +0 -20
  189. package/dist/esm/node_modules/.pnpm/tslib@2.6.2/node_modules/tslib/tslib.es6.js +0 -13
  190. /package/dist/cjs/node_modules/.pnpm/{@emotion_memoize@0.8.1 → @emotion_memoize@0.9.0}/node_modules/@emotion/memoize/dist/emotion-memoize.esm.cjs +0 -0
  191. /package/dist/cjs/node_modules/.pnpm/{stylis@4.3.2 → stylis@4.3.6}/node_modules/stylis/src/Middleware.cjs +0 -0
  192. /package/dist/cjs/node_modules/.pnpm/{stylis@4.3.2 → stylis@4.3.6}/node_modules/stylis/src/Utility.cjs +0 -0
@@ -1,673 +0,0 @@
1
- import { __toESM as e } from "../../../../../../_virtual/_rolldown/runtime.js";
2
- import { __assign as t, __spreadArray as n } from "../../../../tslib@2.6.2/node_modules/tslib/tslib.es6.js";
3
- import { isPropValid as r } from "../../../../@emotion_is-prop-valid@1.2.2/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js";
4
- import { require_shallowequal as i } from "../../../../shallowequal@1.1.0/node_modules/shallowequal/index.js";
5
- import "../../../../stylis@4.3.2/node_modules/stylis/src/Enum.js";
6
- import { compile as a } from "../../../../stylis@4.3.2/node_modules/stylis/src/Parser.js";
7
- import { serialize as o, stringify as s } from "../../../../stylis@4.3.2/node_modules/stylis/src/Serializer.js";
8
- import { middleware as c, prefixer as l, rulesheet as u } from "../../../../stylis@4.3.2/node_modules/stylis/src/Middleware.js";
9
- import { unitlessKeys as d } from "../../../../@emotion_unitless@0.8.1/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js";
10
- import f, { createElement as p, useContext as m, useDebugValue as h, useEffect as g, useMemo as _, useRef as v, useState as y } from "react";
11
- //#region ../../node_modules/.pnpm/styled-components@6.1.19_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/styled-components/dist/styled-components.browser.esm.js
12
- var b = /* @__PURE__ */ e(i()), x = typeof process < "u" && process.env !== void 0 && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled", S = "active", C = "data-styled-version", w = "6.1.19", T = "/*!sc*/\n", E = typeof window < "u" && typeof document < "u", ee = !!(typeof SC_DISABLE_SPEEDY == "boolean" ? SC_DISABLE_SPEEDY : typeof process < "u" && process.env !== void 0 && process.env.REACT_APP_SC_DISABLE_SPEEDY !== void 0 && process.env.REACT_APP_SC_DISABLE_SPEEDY !== "" ? process.env.REACT_APP_SC_DISABLE_SPEEDY !== "false" && process.env.REACT_APP_SC_DISABLE_SPEEDY : typeof process < "u" && process.env !== void 0 && process.env.SC_DISABLE_SPEEDY !== void 0 && process.env.SC_DISABLE_SPEEDY !== "" ? process.env.SC_DISABLE_SPEEDY !== "false" && process.env.SC_DISABLE_SPEEDY : process.env.NODE_ENV !== "production"), te = /invalid hook call/i, D = /* @__PURE__ */ new Set(), ne = function(e, t) {
13
- if (process.env.NODE_ENV !== "production") {
14
- var r = `The component ${e}${t ? ` with the id of "${t}"` : ""} has been created dynamically.
15
- You may see this warning because you've called styled inside another component.
16
- To resolve this only create new StyledComponents outside of any render method and function component.
17
- See https://styled-components.com/docs/basics#define-styled-components-outside-of-the-render-method for more info.
18
- `, i = console.error;
19
- try {
20
- var a = !0;
21
- console.error = function(e) {
22
- var t = [...arguments].slice(1);
23
- te.test(e) ? (a = !1, D.delete(r)) : i.apply(void 0, n([e], t, !1));
24
- }, v(), a && !D.has(r) && (console.warn(r), D.add(r));
25
- } catch (e) {
26
- te.test(e.message) && D.delete(r);
27
- } finally {
28
- console.error = i;
29
- }
30
- }
31
- }, O = Object.freeze([]), k = Object.freeze({});
32
- function re(e, t, n) {
33
- return n === void 0 && (n = k), e.theme !== n.theme && e.theme || t || n.theme;
34
- }
35
- var ie = new Set(/* @__PURE__ */ "a.abbr.address.area.article.aside.audio.b.base.bdi.bdo.big.blockquote.body.br.button.canvas.caption.cite.code.col.colgroup.data.datalist.dd.del.details.dfn.dialog.div.dl.dt.em.embed.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.header.hgroup.hr.html.i.iframe.img.input.ins.kbd.keygen.label.legend.li.link.main.map.mark.menu.menuitem.meta.meter.nav.noscript.object.ol.optgroup.option.output.p.param.picture.pre.progress.q.rp.rt.ruby.s.samp.script.section.select.small.source.span.strong.style.sub.summary.sup.table.tbody.td.textarea.tfoot.th.thead.time.tr.track.u.ul.use.var.video.wbr.circle.clipPath.defs.ellipse.foreignObject.g.image.line.linearGradient.marker.mask.path.pattern.polygon.polyline.radialGradient.rect.stop.svg.text.tspan".split(".")), ae = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g, oe = /(^-|-$)/g;
36
- function se(e) {
37
- return e.replace(ae, "-").replace(oe, "");
38
- }
39
- var ce = /(a)(d)/gi, A = 52, le = function(e) {
40
- return String.fromCharCode(e + (e > 25 ? 39 : 97));
41
- };
42
- function j(e) {
43
- var t, n = "";
44
- for (t = Math.abs(e); t > A; t = t / A | 0) n = le(t % A) + n;
45
- return (le(t % A) + n).replace(ce, "$1-$2");
46
- }
47
- var M, ue = 5381, N = function(e, t) {
48
- for (var n = t.length; n;) e = 33 * e ^ t.charCodeAt(--n);
49
- return e;
50
- }, de = function(e) {
51
- return N(ue, e);
52
- };
53
- function fe(e) {
54
- return j(de(e) >>> 0);
55
- }
56
- function pe(e) {
57
- return process.env.NODE_ENV !== "production" && typeof e == "string" && e || e.displayName || e.name || "Component";
58
- }
59
- function P(e) {
60
- return typeof e == "string" && (process.env.NODE_ENV === "production" || e.charAt(0) === e.charAt(0).toLowerCase());
61
- }
62
- var me = typeof Symbol == "function" && Symbol.for, he = me ? Symbol.for("react.memo") : 60115, ge = me ? Symbol.for("react.forward_ref") : 60112, _e = {
63
- childContextTypes: !0,
64
- contextType: !0,
65
- contextTypes: !0,
66
- defaultProps: !0,
67
- displayName: !0,
68
- getDefaultProps: !0,
69
- getDerivedStateFromError: !0,
70
- getDerivedStateFromProps: !0,
71
- mixins: !0,
72
- propTypes: !0,
73
- type: !0
74
- }, ve = {
75
- name: !0,
76
- length: !0,
77
- prototype: !0,
78
- caller: !0,
79
- callee: !0,
80
- arguments: !0,
81
- arity: !0
82
- }, ye = {
83
- $$typeof: !0,
84
- compare: !0,
85
- defaultProps: !0,
86
- displayName: !0,
87
- propTypes: !0,
88
- type: !0
89
- }, be = ((M = {})[ge] = {
90
- $$typeof: !0,
91
- render: !0,
92
- defaultProps: !0,
93
- displayName: !0,
94
- propTypes: !0
95
- }, M[he] = ye, M);
96
- function xe(e) {
97
- return ("type" in (t = e) && t.type.$$typeof) === he ? ye : "$$typeof" in e ? be[e.$$typeof] : _e;
98
- var t;
99
- }
100
- var Se = Object.defineProperty, Ce = Object.getOwnPropertyNames, we = Object.getOwnPropertySymbols, Te = Object.getOwnPropertyDescriptor, Ee = Object.getPrototypeOf, De = Object.prototype;
101
- function Oe(e, t, n) {
102
- if (typeof t != "string") {
103
- if (De) {
104
- var r = Ee(t);
105
- r && r !== De && Oe(e, r, n);
106
- }
107
- var i = Ce(t);
108
- we && (i = i.concat(we(t)));
109
- for (var a = xe(e), o = xe(t), s = 0; s < i.length; ++s) {
110
- var c = i[s];
111
- if (!(c in ve || n && n[c] || o && c in o || a && c in a)) {
112
- var l = Te(t, c);
113
- try {
114
- Se(e, c, l);
115
- } catch {}
116
- }
117
- }
118
- }
119
- return e;
120
- }
121
- function F(e) {
122
- return typeof e == "function";
123
- }
124
- function I(e) {
125
- return typeof e == "object" && "styledComponentId" in e;
126
- }
127
- function L(e, t) {
128
- return e && t ? `${e} ${t}` : e || t || "";
129
- }
130
- function R(e, t) {
131
- if (e.length === 0) return "";
132
- for (var n = e[0], r = 1; r < e.length; r++) n += t ? t + e[r] : e[r];
133
- return n;
134
- }
135
- function z(e) {
136
- return typeof e == "object" && !!e && e.constructor.name === Object.name && !("props" in e && e.$$typeof);
137
- }
138
- function B(e, t, n) {
139
- if (n === void 0 && (n = !1), !n && !z(e) && !Array.isArray(e)) return t;
140
- if (Array.isArray(t)) for (var r = 0; r < t.length; r++) e[r] = B(e[r], t[r]);
141
- else if (z(t)) for (var r in t) e[r] = B(e[r], t[r]);
142
- return e;
143
- }
144
- function V(e, t) {
145
- Object.defineProperty(e, "toString", { value: t });
146
- }
147
- var ke = process.env.NODE_ENV === "production" ? {} : {
148
- 1: "Cannot create styled-component for component: %s.\n\n",
149
- 2: "Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\n\n- Are you trying to reuse it across renders?\n- Are you accidentally calling collectStyles twice?\n\n",
150
- 3: "Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",
151
- 4: "The `StyleSheetManager` expects a valid target or sheet prop!\n\n- Does this error occur on the client and is your target falsy?\n- Does this error occur on the server and is the sheet falsy?\n\n",
152
- 5: "The clone method cannot be used on the client!\n\n- Are you running in a client-like environment on the server?\n- Are you trying to run SSR on the client?\n\n",
153
- 6: "Trying to insert a new style tag, but the given Node is unmounted!\n\n- Are you using a custom target that isn't mounted?\n- Does your document not have a valid head element?\n- Have you accidentally removed a style tag manually?\n\n",
154
- 7: "ThemeProvider: Please return an object from your \"theme\" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n",
155
- 8: "ThemeProvider: Please make your \"theme\" prop an object.\n\n",
156
- 9: "Missing document `<head>`\n\n",
157
- 10: "Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\n\n",
158
- 11: "_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\n\n",
159
- 12: "It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",
160
- 13: "%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\n\n",
161
- 14: "ThemeProvider: \"theme\" prop is required.\n\n",
162
- 15: "A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",
163
- 16: "Reached the limit of how many styled components may be created at group %s.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n",
164
- 17: "CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n",
165
- 18: "ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"
166
- };
167
- function Ae() {
168
- for (var e = [...arguments], t = e[0], n = [], r = 1, i = e.length; r < i; r += 1) n.push(e[r]);
169
- return n.forEach(function(e) {
170
- t = t.replace(/%[a-z]/, e);
171
- }), t;
172
- }
173
- function H(e) {
174
- var t = [...arguments].slice(1);
175
- return process.env.NODE_ENV === "production" ? Error(`An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#${e} for more information.${t.length > 0 ? ` Args: ${t.join(", ")}` : ""}`) : Error(Ae.apply(void 0, n([ke[e]], t, !1)).trim());
176
- }
177
- var je = function() {
178
- function e(e) {
179
- this.groupSizes = new Uint32Array(512), this.length = 512, this.tag = e;
180
- }
181
- return e.prototype.indexOfGroup = function(e) {
182
- for (var t = 0, n = 0; n < e; n++) t += this.groupSizes[n];
183
- return t;
184
- }, e.prototype.insertRules = function(e, t) {
185
- if (e >= this.groupSizes.length) {
186
- for (var n = this.groupSizes, r = n.length, i = r; e >= i;) if ((i <<= 1) < 0) throw H(16, `${e}`);
187
- this.groupSizes = new Uint32Array(i), this.groupSizes.set(n), this.length = i;
188
- for (var a = r; a < i; a++) this.groupSizes[a] = 0;
189
- }
190
- for (var o = this.indexOfGroup(e + 1), s = (a = 0, t.length); a < s; a++) this.tag.insertRule(o, t[a]) && (this.groupSizes[e]++, o++);
191
- }, e.prototype.clearGroup = function(e) {
192
- if (e < this.length) {
193
- var t = this.groupSizes[e], n = this.indexOfGroup(e), r = n + t;
194
- this.groupSizes[e] = 0;
195
- for (var i = n; i < r; i++) this.tag.deleteRule(n);
196
- }
197
- }, e.prototype.getGroup = function(e) {
198
- var t = "";
199
- if (e >= this.length || this.groupSizes[e] === 0) return t;
200
- for (var n = this.groupSizes[e], r = this.indexOfGroup(e), i = r + n, a = r; a < i; a++) t += `${this.tag.getRule(a)}${T}`;
201
- return t;
202
- }, e;
203
- }(), Me = 1 << 30, U = /* @__PURE__ */ new Map(), W = /* @__PURE__ */ new Map(), G = 1, K = function(e) {
204
- if (U.has(e)) return U.get(e);
205
- for (; W.has(G);) G++;
206
- var t = G++;
207
- if (process.env.NODE_ENV !== "production" && ((0 | t) < 0 || t > Me)) throw H(16, `${t}`);
208
- return U.set(e, t), W.set(t, e), t;
209
- }, Ne = function(e, t) {
210
- G = t + 1, U.set(e, t), W.set(t, e);
211
- }, Pe = `style[${x}][${C}="${w}"]`, Fe = RegExp(`^${x}\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)`), Ie = function(e, t, n) {
212
- for (var r, i = n.split(","), a = 0, o = i.length; a < o; a++) (r = i[a]) && e.registerName(t, r);
213
- }, Le = function(e, t) {
214
- for (var n = (t.textContent ?? "").split(T), r = [], i = 0, a = n.length; i < a; i++) {
215
- var o = n[i].trim();
216
- if (o) {
217
- var s = o.match(Fe);
218
- if (s) {
219
- var c = 0 | parseInt(s[1], 10), l = s[2];
220
- c !== 0 && (Ne(l, c), Ie(e, l, s[3]), e.getTag().insertRules(c, r)), r.length = 0;
221
- } else r.push(o);
222
- }
223
- }
224
- }, Re = function(e) {
225
- for (var t = document.querySelectorAll(Pe), n = 0, r = t.length; n < r; n++) {
226
- var i = t[n];
227
- i && i.getAttribute(x) !== S && (Le(e, i), i.parentNode && i.parentNode.removeChild(i));
228
- }
229
- };
230
- function q() {
231
- return typeof __webpack_nonce__ < "u" ? __webpack_nonce__ : null;
232
- }
233
- var ze = function(e) {
234
- var t = document.head, n = e || t, r = document.createElement("style"), i = function(e) {
235
- var t = Array.from(e.querySelectorAll(`style[${x}]`));
236
- return t[t.length - 1];
237
- }(n), a = i === void 0 ? null : i.nextSibling;
238
- r.setAttribute(x, S), r.setAttribute(C, w);
239
- var o = q();
240
- return o && r.setAttribute("nonce", o), n.insertBefore(r, a), r;
241
- }, Be = function() {
242
- function e(e) {
243
- this.element = ze(e), this.element.appendChild(document.createTextNode("")), this.sheet = function(e) {
244
- if (e.sheet) return e.sheet;
245
- for (var t = document.styleSheets, n = 0, r = t.length; n < r; n++) {
246
- var i = t[n];
247
- if (i.ownerNode === e) return i;
248
- }
249
- throw H(17);
250
- }(this.element), this.length = 0;
251
- }
252
- return e.prototype.insertRule = function(e, t) {
253
- try {
254
- return this.sheet.insertRule(t, e), this.length++, !0;
255
- } catch {
256
- return !1;
257
- }
258
- }, e.prototype.deleteRule = function(e) {
259
- this.sheet.deleteRule(e), this.length--;
260
- }, e.prototype.getRule = function(e) {
261
- var t = this.sheet.cssRules[e];
262
- return t && t.cssText ? t.cssText : "";
263
- }, e;
264
- }(), Ve = function() {
265
- function e(e) {
266
- this.element = ze(e), this.nodes = this.element.childNodes, this.length = 0;
267
- }
268
- return e.prototype.insertRule = function(e, t) {
269
- if (e <= this.length && e >= 0) {
270
- var n = document.createTextNode(t);
271
- return this.element.insertBefore(n, this.nodes[e] || null), this.length++, !0;
272
- }
273
- return !1;
274
- }, e.prototype.deleteRule = function(e) {
275
- this.element.removeChild(this.nodes[e]), this.length--;
276
- }, e.prototype.getRule = function(e) {
277
- return e < this.length ? this.nodes[e].textContent : "";
278
- }, e;
279
- }(), He = function() {
280
- function e(e) {
281
- this.rules = [], this.length = 0;
282
- }
283
- return e.prototype.insertRule = function(e, t) {
284
- return e <= this.length && (this.rules.splice(e, 0, t), this.length++, !0);
285
- }, e.prototype.deleteRule = function(e) {
286
- this.rules.splice(e, 1), this.length--;
287
- }, e.prototype.getRule = function(e) {
288
- return e < this.length ? this.rules[e] : "";
289
- }, e;
290
- }(), Ue = E, We = {
291
- isServer: !E,
292
- useCSSOMInjection: !ee
293
- }, J = function() {
294
- function e(e, n, r) {
295
- e === void 0 && (e = k), n === void 0 && (n = {});
296
- var i = this;
297
- this.options = t(t({}, We), e), this.gs = n, this.names = new Map(r), this.server = !!e.isServer, !this.server && E && Ue && (Ue = !1, Re(this)), V(this, function() {
298
- return function(e) {
299
- for (var t = e.getTag(), n = t.length, r = "", i = function(n) {
300
- var i = function(e) {
301
- return W.get(e);
302
- }(n);
303
- if (i === void 0) return "continue";
304
- var a = e.names.get(i), o = t.getGroup(n);
305
- if (a === void 0 || !a.size || o.length === 0) return "continue";
306
- var s = `${x}.g${n}[id="${i}"]`, c = "";
307
- a !== void 0 && a.forEach(function(e) {
308
- e.length > 0 && (c += `${e},`);
309
- }), r += `${o}${s}{content:"${c}"}${T}`;
310
- }, a = 0; a < n; a++) i(a);
311
- return r;
312
- }(i);
313
- });
314
- }
315
- return e.registerId = function(e) {
316
- return K(e);
317
- }, e.prototype.rehydrate = function() {
318
- !this.server && E && Re(this);
319
- }, e.prototype.reconstructWithOptions = function(n, r) {
320
- return r === void 0 && (r = !0), new e(t(t({}, this.options), n), this.gs, r && this.names || void 0);
321
- }, e.prototype.allocateGSInstance = function(e) {
322
- return this.gs[e] = (this.gs[e] || 0) + 1;
323
- }, e.prototype.getTag = function() {
324
- return this.tag ||= (e = function(e) {
325
- var t = e.useCSSOMInjection, n = e.target;
326
- return e.isServer ? new He(n) : t ? new Be(n) : new Ve(n);
327
- }(this.options), new je(e));
328
- var e;
329
- }, e.prototype.hasNameForId = function(e, t) {
330
- return this.names.has(e) && this.names.get(e).has(t);
331
- }, e.prototype.registerName = function(e, t) {
332
- if (K(e), this.names.has(e)) this.names.get(e).add(t);
333
- else {
334
- var n = /* @__PURE__ */ new Set();
335
- n.add(t), this.names.set(e, n);
336
- }
337
- }, e.prototype.insertRules = function(e, t, n) {
338
- this.registerName(e, t), this.getTag().insertRules(K(e), n);
339
- }, e.prototype.clearNames = function(e) {
340
- this.names.has(e) && this.names.get(e).clear();
341
- }, e.prototype.clearRules = function(e) {
342
- this.getTag().clearGroup(K(e)), this.clearNames(e);
343
- }, e.prototype.clearTag = function() {
344
- this.tag = void 0;
345
- }, e;
346
- }(), Ge = /&/g, Ke = /^\s*\/\/.*$/gm;
347
- function qe(e, t) {
348
- return e.map(function(e) {
349
- return e.type === "rule" && (e.value = `${t} ${e.value}`, e.value = e.value.replaceAll(",", `,${t} `), e.props = e.props.map(function(e) {
350
- return `${t} ${e}`;
351
- })), Array.isArray(e.children) && e.type !== "@keyframes" && (e.children = qe(e.children, t)), e;
352
- });
353
- }
354
- function Je(e) {
355
- var t, n, r, i = e === void 0 ? k : e, d = i.options, f = d === void 0 ? k : d, p = i.plugins, m = p === void 0 ? O : p, h = function(e, r, i) {
356
- return i.startsWith(n) && i.endsWith(n) && i.replaceAll(n, "").length > 0 ? `.${t}` : e;
357
- }, g = m.slice();
358
- g.push(function(e) {
359
- e.type === "rule" && e.value.includes("&") && (e.props[0] = e.props[0].replace(Ge, n).replace(r, h));
360
- }), f.prefix && g.push(l), g.push(s);
361
- var _ = function(e, i, s, l) {
362
- i === void 0 && (i = ""), s === void 0 && (s = ""), l === void 0 && (l = "&"), t = l, n = i, r = RegExp(`\\${n}\\b`, "g");
363
- var d = e.replace(Ke, ""), p = a(s || i ? `${s} ${i} { ${d} }` : d);
364
- f.namespace && (p = qe(p, f.namespace));
365
- var m = [];
366
- return o(p, c(g.concat(u(function(e) {
367
- return m.push(e);
368
- })))), m;
369
- };
370
- return _.hash = m.length ? m.reduce(function(e, t) {
371
- return t.name || H(15), N(e, t.name);
372
- }, ue).toString() : "", _;
373
- }
374
- var Ye = new J(), Y = Je(), X = f.createContext({
375
- shouldForwardProp: void 0,
376
- styleSheet: Ye,
377
- stylis: Y
378
- });
379
- X.Consumer;
380
- var Xe = f.createContext(void 0);
381
- function Z() {
382
- return m(X);
383
- }
384
- function Ze(e) {
385
- var t = y(e.stylisPlugins), n = t[0], r = t[1], i = Z().styleSheet, a = _(function() {
386
- var t = i;
387
- return e.sheet ? t = e.sheet : e.target && (t = t.reconstructWithOptions({ target: e.target }, !1)), e.disableCSSOMInjection && (t = t.reconstructWithOptions({ useCSSOMInjection: !1 })), t;
388
- }, [
389
- e.disableCSSOMInjection,
390
- e.sheet,
391
- e.target,
392
- i
393
- ]), o = _(function() {
394
- return Je({
395
- options: {
396
- namespace: e.namespace,
397
- prefix: e.enableVendorPrefixes
398
- },
399
- plugins: n
400
- });
401
- }, [
402
- e.enableVendorPrefixes,
403
- e.namespace,
404
- n
405
- ]);
406
- g(function() {
407
- (0, b.default)(n, e.stylisPlugins) || r(e.stylisPlugins);
408
- }, [e.stylisPlugins]);
409
- var s = _(function() {
410
- return {
411
- shouldForwardProp: e.shouldForwardProp,
412
- styleSheet: a,
413
- stylis: o
414
- };
415
- }, [
416
- e.shouldForwardProp,
417
- a,
418
- o
419
- ]);
420
- return f.createElement(X.Provider, { value: s }, f.createElement(Xe.Provider, { value: o }, e.children));
421
- }
422
- var Qe = function() {
423
- function e(e, t) {
424
- var n = this;
425
- this.inject = function(e, t) {
426
- t === void 0 && (t = Y);
427
- var r = n.name + t.hash;
428
- e.hasNameForId(n.id, r) || e.insertRules(n.id, r, t(n.rules, r, "@keyframes"));
429
- }, this.name = e, this.id = `sc-keyframes-${e}`, this.rules = t, V(this, function() {
430
- throw H(12, String(n.name));
431
- });
432
- }
433
- return e.prototype.getName = function(e) {
434
- return e === void 0 && (e = Y), this.name + e.hash;
435
- }, e;
436
- }(), $e = function(e) {
437
- return e >= "A" && e <= "Z";
438
- };
439
- function et(e) {
440
- for (var t = "", n = 0; n < e.length; n++) {
441
- var r = e[n];
442
- if (n === 1 && r === "-" && e[0] === "-") return e;
443
- $e(r) ? t += "-" + r.toLowerCase() : t += r;
444
- }
445
- return t.startsWith("ms-") ? "-" + t : t;
446
- }
447
- var tt = function(e) {
448
- return e == null || !1 === e || e === "";
449
- }, nt = function(e) {
450
- var t, r, i = [];
451
- for (var a in e) {
452
- var o = e[a];
453
- e.hasOwnProperty(a) && !tt(o) && (Array.isArray(o) && o.isCss || F(o) ? i.push(`${et(a)}:`, o, ";") : z(o) ? i.push.apply(i, n(n([`${a} {`], nt(o), !1), ["}"], !1)) : i.push(`${et(a)}: ${t = a, (r = o) == null || typeof r == "boolean" || r === "" ? "" : typeof r != "number" || r === 0 || t in d || t.startsWith("--") ? String(r).trim() : `${r}px`};`));
454
- }
455
- return i;
456
- };
457
- function Q(e, t, n, r) {
458
- if (tt(e)) return [];
459
- if (I(e)) return [`.${e.styledComponentId}`];
460
- if (F(e)) {
461
- if (!F(a = e) || a.prototype && a.prototype.isReactComponent || !t) return [e];
462
- var i = e(t);
463
- return process.env.NODE_ENV === "production" || typeof i != "object" || Array.isArray(i) || i instanceof Qe || z(i) || i === null || console.error(`${pe(e)} is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.`), Q(i, t, n, r);
464
- }
465
- var a;
466
- return e instanceof Qe ? n ? (e.inject(n, r), [e.getName(r)]) : [e] : z(e) ? nt(e) : Array.isArray(e) ? Array.prototype.concat.apply(O, e.map(function(e) {
467
- return Q(e, t, n, r);
468
- })) : [e.toString()];
469
- }
470
- function rt(e) {
471
- for (var t = 0; t < e.length; t += 1) {
472
- var n = e[t];
473
- if (F(n) && !I(n)) return !1;
474
- }
475
- return !0;
476
- }
477
- var it = de(w), at = function() {
478
- function e(e, t, n) {
479
- this.rules = e, this.staticRulesId = "", this.isStatic = process.env.NODE_ENV === "production" && (n === void 0 || n.isStatic) && rt(e), this.componentId = t, this.baseHash = N(it, t), this.baseStyle = n, J.registerId(t);
480
- }
481
- return e.prototype.generateAndInjectStyles = function(e, t, n) {
482
- var r = this.baseStyle ? this.baseStyle.generateAndInjectStyles(e, t, n) : "";
483
- if (this.isStatic && !n.hash) if (this.staticRulesId && t.hasNameForId(this.componentId, this.staticRulesId)) r = L(r, this.staticRulesId);
484
- else {
485
- var i = R(Q(this.rules, e, t, n)), a = j(N(this.baseHash, i) >>> 0);
486
- if (!t.hasNameForId(this.componentId, a)) {
487
- var o = n(i, `.${a}`, void 0, this.componentId);
488
- t.insertRules(this.componentId, a, o);
489
- }
490
- r = L(r, a), this.staticRulesId = a;
491
- }
492
- else {
493
- for (var s = N(this.baseHash, n.hash), c = "", l = 0; l < this.rules.length; l++) {
494
- var u = this.rules[l];
495
- if (typeof u == "string") c += u, process.env.NODE_ENV !== "production" && (s = N(s, u));
496
- else if (u) {
497
- var d = R(Q(u, e, t, n));
498
- s = N(s, d + l), c += d;
499
- }
500
- }
501
- if (c) {
502
- var f = j(s >>> 0);
503
- t.hasNameForId(this.componentId, f) || t.insertRules(this.componentId, f, n(c, `.${f}`, void 0, this.componentId)), r = L(r, f);
504
- }
505
- }
506
- return r;
507
- }, e;
508
- }(), ot = f.createContext(void 0);
509
- ot.Consumer;
510
- var st = {}, ct = /* @__PURE__ */ new Set();
511
- function lt(e, n, i) {
512
- var a = I(e), o = e, s = !P(e), c = n.attrs, l = c === void 0 ? O : c, u = n.componentId, d = u === void 0 ? function(e, t) {
513
- var n = typeof e == "string" ? se(e) : "sc";
514
- st[n] = (st[n] || 0) + 1;
515
- var r = `${n}-${fe(w + n + st[n])}`;
516
- return t ? `${t}-${r}` : r;
517
- }(n.displayName, n.parentComponentId) : u, m = n.displayName, g = m === void 0 ? function(e) {
518
- return P(e) ? `styled.${e}` : `Styled(${pe(e)})`;
519
- }(e) : m, _ = n.displayName && n.componentId ? `${se(n.displayName)}-${n.componentId}` : n.componentId || d, v = a && o.attrs ? o.attrs.concat(l).filter(Boolean) : l, y = n.shouldForwardProp;
520
- if (a && o.shouldForwardProp) {
521
- var b = o.shouldForwardProp;
522
- if (n.shouldForwardProp) {
523
- var x = n.shouldForwardProp;
524
- y = function(e, t) {
525
- return b(e, t) && x(e, t);
526
- };
527
- } else y = b;
528
- }
529
- var S = new at(i, _, a ? o.componentStyle : void 0);
530
- function C(e, n) {
531
- return function(e, n, i) {
532
- var a = e.attrs, o = e.componentStyle, s = e.defaultProps, c = e.foldedComponentIds, l = e.styledComponentId, u = e.target, d = f.useContext(ot), m = Z(), g = e.shouldForwardProp || m.shouldForwardProp;
533
- process.env.NODE_ENV !== "production" && h(l);
534
- var _ = re(n, d, s) || k, v = function(e, n, r) {
535
- for (var i, a = t(t({}, n), {
536
- className: void 0,
537
- theme: r
538
- }), o = 0; o < e.length; o += 1) {
539
- var s = F(i = e[o]) ? i(a) : i;
540
- for (var c in s) a[c] = c === "className" ? L(a[c], s[c]) : c === "style" ? t(t({}, a[c]), s[c]) : s[c];
541
- }
542
- return n.className && (a.className = L(a.className, n.className)), a;
543
- }(a, n, _), y = v.as || u, b = {};
544
- for (var x in v) v[x] === void 0 || x[0] === "$" || x === "as" || x === "theme" && v.theme === _ || (x === "forwardedAs" ? b.as = v.forwardedAs : g && !g(x, y) || (b[x] = v[x], g || process.env.NODE_ENV !== "development" || r(x) || ct.has(x) || !ie.has(y) || (ct.add(x), console.warn(`styled-components: it looks like an unknown prop "${x}" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via \`<StyleSheetManager shouldForwardProp={...}>\` (connect an API like \`@emotion/is-prop-valid\`) or consider using transient props (\`\$\` prefix for automatic filtering.)`))));
545
- var S = function(e, t) {
546
- var n = Z(), r = e.generateAndInjectStyles(t, n.styleSheet, n.stylis);
547
- return process.env.NODE_ENV !== "production" && h(r), r;
548
- }(o, v);
549
- process.env.NODE_ENV !== "production" && e.warnTooManyClasses && e.warnTooManyClasses(S);
550
- var C = L(c, l);
551
- return S && (C += " " + S), v.className && (C += " " + v.className), b[P(y) && !ie.has(y) ? "class" : "className"] = C, i && (b.ref = i), p(y, b);
552
- }(T, e, n);
553
- }
554
- C.displayName = g;
555
- var T = f.forwardRef(C);
556
- return T.attrs = v, T.componentStyle = S, T.displayName = g, T.shouldForwardProp = y, T.foldedComponentIds = a ? L(o.foldedComponentIds, o.styledComponentId) : "", T.styledComponentId = _, T.target = a ? o.target : e, Object.defineProperty(T, "defaultProps", {
557
- get: function() {
558
- return this._foldedDefaultProps;
559
- },
560
- set: function(e) {
561
- this._foldedDefaultProps = a ? function(e) {
562
- for (var t = [...arguments].slice(1), n = 0, r = t; n < r.length; n++) B(e, r[n], !0);
563
- return e;
564
- }({}, o.defaultProps, e) : e;
565
- }
566
- }), process.env.NODE_ENV !== "production" && (ne(g, _), T.warnTooManyClasses = function(e, t) {
567
- var n = {}, r = !1;
568
- return function(i) {
569
- if (!r && (n[i] = !0, Object.keys(n).length >= 200)) {
570
- var a = t ? ` with the id of "${t}"` : "";
571
- console.warn(`Over 200 classes were generated for component ${e}${a}.
572
- Consider using the attrs method, together with a style object for frequently changed styles.
573
- Example:
574
- const Component = styled.div.attrs(props => ({
575
- style: {
576
- background: props.background,
577
- },
578
- }))\`width: 100%;\`
579
-
580
- <Component />`), r = !0, n = {};
581
- }
582
- };
583
- }(g, _)), V(T, function() {
584
- return `.${T.styledComponentId}`;
585
- }), s && Oe(T, e, {
586
- attrs: !0,
587
- componentStyle: !0,
588
- displayName: !0,
589
- foldedComponentIds: !0,
590
- shouldForwardProp: !0,
591
- styledComponentId: !0,
592
- target: !0
593
- }), T;
594
- }
595
- function ut(e, t) {
596
- for (var n = [e[0]], r = 0, i = t.length; r < i; r += 1) n.push(t[r], e[r + 1]);
597
- return n;
598
- }
599
- var dt = function(e) {
600
- return Object.assign(e, { isCss: !0 });
601
- };
602
- function ft(e) {
603
- var t = [...arguments].slice(1);
604
- if (F(e) || z(e)) return dt(Q(ut(O, n([e], t, !0))));
605
- var r = e;
606
- return t.length === 0 && r.length === 1 && typeof r[0] == "string" ? Q(r) : dt(Q(ut(r, t)));
607
- }
608
- function pt(e, r, i) {
609
- if (i === void 0 && (i = k), !r) throw H(1, r);
610
- var a = function(t) {
611
- var a = [...arguments].slice(1);
612
- return e(r, i, ft.apply(void 0, n([t], a, !1)));
613
- };
614
- return a.attrs = function(n) {
615
- return pt(e, r, t(t({}, i), { attrs: Array.prototype.concat(i.attrs, n).filter(Boolean) }));
616
- }, a.withConfig = function(n) {
617
- return pt(e, r, t(t({}, i), n));
618
- }, a;
619
- }
620
- var mt = function(e) {
621
- return pt(lt, e);
622
- }, ht = mt;
623
- ie.forEach(function(e) {
624
- ht[e] = mt(e);
625
- }), function() {
626
- function e(e, t) {
627
- this.rules = e, this.componentId = t, this.isStatic = rt(e), J.registerId(this.componentId + 1);
628
- }
629
- return e.prototype.createStyles = function(e, t, n, r) {
630
- var i = r(R(Q(this.rules, t, n, r)), ""), a = this.componentId + e;
631
- n.insertRules(a, a, i);
632
- }, e.prototype.removeStyles = function(e, t) {
633
- t.clearRules(this.componentId + e);
634
- }, e.prototype.renderStyles = function(e, t, n, r) {
635
- e > 2 && J.registerId(this.componentId + e), this.removeStyles(e, n), this.createStyles(e, t, n, r);
636
- }, e;
637
- }(), function() {
638
- function e() {
639
- var e = this;
640
- this._emitSheetCSS = function() {
641
- var t = e.instance.toString();
642
- if (!t) return "";
643
- var n = q();
644
- return `<style ${R([
645
- n && `nonce="${n}"`,
646
- `${x}="true"`,
647
- `${C}="${w}"`
648
- ].filter(Boolean), " ")}>${t}</style>`;
649
- }, this.getStyleTags = function() {
650
- if (e.sealed) throw H(2);
651
- return e._emitSheetCSS();
652
- }, this.getStyleElement = function() {
653
- var n;
654
- if (e.sealed) throw H(2);
655
- var r = e.instance.toString();
656
- if (!r) return [];
657
- var i = ((n = {})[x] = "", n[C] = w, n.dangerouslySetInnerHTML = { __html: r }, n), a = q();
658
- return a && (i.nonce = a), [f.createElement("style", t({}, i, { key: "sc-0-0" }))];
659
- }, this.seal = function() {
660
- e.sealed = !0;
661
- }, this.instance = new J({ isServer: !0 }), this.sealed = !1;
662
- }
663
- return e.prototype.collectStyles = function(e) {
664
- if (this.sealed) throw H(2);
665
- return f.createElement(Ze, { sheet: this.instance }, e);
666
- }, e.prototype.interleaveWithNodeStream = function(e) {
667
- throw H(3);
668
- }, e;
669
- }(), process.env.NODE_ENV !== "production" && typeof navigator < "u" && navigator.product === "ReactNative" && console.warn("It looks like you've imported 'styled-components' on React Native.\nPerhaps you're looking to import 'styled-components/native'?\nRead more about this at https://www.styled-components.com/docs/basics#react-native");
670
- var $ = `__sc-${x}__`;
671
- process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && typeof window < "u" && (window[$] || (window[$] = 0), window[$] === 1 && console.warn("It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\n\nSee https://s-c.sh/2BAXzed for more info."), window[$] += 1);
672
- //#endregion
673
- export { ht as dt };
@@ -1,4 +0,0 @@
1
- //#region ../../node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Enum.js
2
- var e = "-ms-", t = "-moz-", n = "-webkit-", r = "comm", i = "rule", a = "decl", o = "@import", s = "@keyframes", c = "@layer";
3
- //#endregion
4
- export { r as COMMENT, a as DECLARATION, o as IMPORT, s as KEYFRAMES, c as LAYER, t as MOZ, e as MS, i as RULESET, n as WEBKIT };