@stihl-design-system/components 1.0.0-RC.31 → 1.0.0-RC.34

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 (286) hide show
  1. package/accordion.Dmqocj97.js +12 -0
  2. package/actionbutton.DLQJU6AV.js +12 -0
  3. package/actionlink.DEBrWfN3.js +12 -0
  4. package/{arialiveregions.Fgcshs5k.js → arialiveregions.BUVY9NpY.js} +2 -2
  5. package/assets/Accordion.CzBGud45.css +1 -0
  6. package/assets/Button.C8sNwIeW.css +1 -0
  7. package/assets/Checkbox.CyOw3rXI.css +1 -0
  8. package/assets/CustomReactSelect.E_jJFVew.css +1 -0
  9. package/assets/Dialog.DJkn65Es.css +1 -0
  10. package/assets/Drawer.x3BCQvWE.css +1 -0
  11. package/assets/InputFile.BnIvK65P.css +1 -0
  12. package/assets/InputNumber.BoiCIR1f.css +1 -0
  13. package/assets/InputPassword.Dk3_vNLV.css +1 -0
  14. package/assets/InputSearch.C1_4cVCi.css +1 -0
  15. package/assets/LinkButton.B86yacK5.css +1 -0
  16. package/assets/{MegaMenu.DX9gChtY.css → MegaMenu.D5EtjFeL.css} +1 -1
  17. package/assets/Notification.CvohYEvT.css +1 -0
  18. package/assets/Popover.CXyUaXiO.css +1 -0
  19. package/assets/Select.COxLltX7.css +1 -0
  20. package/assets/Slider.DPEmJ3HD.css +1 -0
  21. package/assets/Stepper.tXJl15yL.css +1 -0
  22. package/assets/{SystemFeedback.RcrPepSZ.css → SystemFeedback.PKzqnXUe.css} +1 -1
  23. package/assets/Textarea.y3MW7VW0.css +1 -0
  24. package/assets/Toast.CGyKXb4V.css +1 -0
  25. package/assets/buttonround.BN3vUDc_.css +1 -0
  26. package/assets/input.DTu4g_iA.css +1 -0
  27. package/assets/logo100years.CQrEg-Vo.css +1 -0
  28. package/assets/step.BeLporJO.css +1 -0
  29. package/assets/switch.B9B-n_3y.css +1 -0
  30. package/assets/tooltip.Co1gWF_0.css +1 -0
  31. package/{asterisk.CR60hx8S.js → asterisk.B2ih8VwF.js} +1 -1
  32. package/{banner.j9YpudOS.js → banner.CI5HnDqD.js} +3 -3
  33. package/breadcrumb.CtwAux3P.js +11 -0
  34. package/button.DHuKanZP.js +13 -0
  35. package/buttonround.CMlmEDaN.js +96 -0
  36. package/checkbox.DwccD0Mp.js +12 -0
  37. package/checkboxgroup.ZiUFfCJ1.js +9 -0
  38. package/chip.B0s_fS8L.js +12 -0
  39. package/chipgroup.Dpu66bo5.js +143 -0
  40. package/chunks/Accordion.CYIfNOWr.js +168 -0
  41. package/chunks/ActionButton.DOYsEHPr.js +180 -0
  42. package/chunks/ActionLink.DbyciN3Y.js +153 -0
  43. package/chunks/{AriaLiveRegions.utils.Cb327d_2.js → AriaLiveRegions.utils.CybNIBSa.js} +2 -2
  44. package/chunks/{Breadcrumb.BGzwzvh8.js → Breadcrumb.BgnpTo01.js} +35 -37
  45. package/chunks/Button.DCZgBNmA.js +142 -0
  46. package/chunks/Checkbox.BcGXAuuP.js +88 -0
  47. package/chunks/{CheckboxGroup.Dy_6tiGk.js → CheckboxGroup.BuFd1luB.js} +5 -5
  48. package/chunks/Chip.D6pubCZV.js +133 -0
  49. package/chunks/{CustomReactSelect.iE5iTdez.js → CustomReactSelect.Dg3wC_VH.js} +484 -473
  50. package/chunks/Dialog.DpqSVrYR.js +102 -0
  51. package/chunks/Drawer.DISWybOa.js +107 -0
  52. package/chunks/{Fieldset.CjIfmN_5.js → Fieldset.DiMtr6Vw.js} +6 -6
  53. package/chunks/Header.7TQL_J9t.js +370 -0
  54. package/chunks/Icon.CDLyB7Pv.js +229 -0
  55. package/chunks/{Input.utils.Cnnzvuk4.js → Input.utils.Dkw7gRrr.js} +17 -17
  56. package/chunks/InputFile.C8nt9Fu8.js +218 -0
  57. package/chunks/InputNumber.CbH1XJfl.js +267 -0
  58. package/chunks/{InputPassword.DC2POUc1.js → InputPassword.DbdjuSiJ.js} +34 -34
  59. package/chunks/InputSearch.joxmugiv.js +173 -0
  60. package/chunks/LinkButton.BZgIGgc8.js +132 -0
  61. package/chunks/MegaMenu.CQbOeaib.js +189 -0
  62. package/chunks/NavigationTabList.G_l0GiUa.js +67 -0
  63. package/chunks/{NavigationTabs.ClpVGcl0.js → NavigationTabs.BwM-6CRm.js} +13 -14
  64. package/chunks/Notification.CrojkJ0E.js +91 -0
  65. package/chunks/Popover.Bb0Pjmvg.js +215 -0
  66. package/chunks/{RadioGroup.peTeMK45.js → RadioGroup.CexC4v2Z.js} +5 -5
  67. package/chunks/Select.BEIdNMML.js +164 -0
  68. package/chunks/{Slider.kyVr7BLk.js → Slider.CR0zYHeZ.js} +70 -71
  69. package/chunks/Stepper.PTQdQBYf.js +152 -0
  70. package/chunks/{SystemFeedback.B9f67mjJ.js → SystemFeedback.CjlARKki.js} +9 -9
  71. package/chunks/Tabs.DyP4whX0.js +83 -0
  72. package/chunks/{Text.DGWeWF1y.js → Text.DpRtTpB4.js} +3 -3
  73. package/chunks/Textarea.Du2RII5u.js +168 -0
  74. package/chunks/Toast.ug_RjGgF.js +76 -0
  75. package/chunks/{arrow-clockwise.BefOjGPg.js → arrow-clockwise.C4iOgjOc.js} +1 -1
  76. package/chunks/{arrow-counterclockwise.C7Ov32BZ.js → arrow-counterclockwise.CgQAuBUe.js} +1 -1
  77. package/chunks/battery-charge-0.DxlgEAto.js +10 -0
  78. package/chunks/battery-charge-100.D0Cax7dU.js +10 -0
  79. package/chunks/{battery.YCg9lYqC.js → battery.6Idoickg.js} +3 -3
  80. package/chunks/bluetooth-off.BzZCh4Q8.js +10 -0
  81. package/chunks/{circle-check-colored.Bye_GwLy.js → circle-check-colored.qP2s3vjI.js} +1 -1
  82. package/chunks/{diamond-exclamationmark-colored.WNKYwZ8q.js → diamond-exclamationmark-colored.CzYiaTZ0.js} +1 -1
  83. package/chunks/document-s.CoOp0kBK.js +10 -0
  84. package/chunks/feather.l1E4nFBx.js +10 -0
  85. package/chunks/file-type-doc.B_RSSYbu.js +10 -0
  86. package/chunks/floating-ui.dom.BT8pKtCQ.js +1005 -0
  87. package/chunks/floating-ui.react.3FjeMiuN.js +1999 -0
  88. package/chunks/helpers.CexwVao7.js +38 -0
  89. package/chunks/{index.CgTHIF3K.js → index.D-sRdssb.js} +1 -1
  90. package/chunks/{index.CEyLAtio.js → index.DL9mof6u.js} +2 -2
  91. package/chunks/{is-animation-disabled.CUl4N3LI.js → is-animation-disabled.B-V_68K-.js} +5 -5
  92. package/chunks/{map.CXgG1iGz.js → map.DNl7PF61.js} +1 -1
  93. package/chunks/moon.5yILPYXs.js +10 -0
  94. package/chunks/muscle.DbNjWasV.js +10 -0
  95. package/chunks/petrol.BGWwCsTw.js +10 -0
  96. package/chunks/sun.CY6ttzTL.js +10 -0
  97. package/chunks/{triangle-exclamationmark-colored.CbVC3Gzi.js → triangle-exclamationmark-colored.e93zvQ6Q.js} +1 -1
  98. package/chunks/upload.BogDfonx.js +10 -0
  99. package/chunks/useBreakpoint.BzR_yaIv.js +42 -0
  100. package/chunks/variants.-R3_RCW8.js +10 -0
  101. package/chunks/weight.DUPu2UT0.js +10 -0
  102. package/combobox.jG5GRA7C.js +65 -0
  103. package/components/ActionButton/ActionButton.d.ts +2 -0
  104. package/components/Button/Button.d.ts +4 -0
  105. package/components/ChipGroup/Chip.d.ts +1 -0
  106. package/components/ChipGroup/ChipGroup.d.ts +4 -0
  107. package/components/ChipGroup/ChipGroup.utils.d.ts +10 -12
  108. package/components/Combobox/Combobox.utils.d.ts +3 -4
  109. package/components/Combobox/CustomReactSelect/CustomReactSelect.d.ts +4 -2
  110. package/components/Header/Header.d.ts +4 -5
  111. package/components/{InputStepper/InputStepper.d.ts → InputNumber/InputNumber.d.ts} +10 -4
  112. package/components/InputNumber/InputNumber.utils.d.ts +13 -0
  113. package/components/LinkButton/LinkButton.d.ts +2 -0
  114. package/components/Logo100Years/Logo100Years.d.ts +1 -0
  115. package/components/Popover/Popover.d.ts +29 -7
  116. package/components/Popover/Popover.utils.d.ts +34 -3
  117. package/components/Scroller/Scroller.d.ts +6 -2
  118. package/components/Stepper/Step.d.ts +33 -0
  119. package/components/Stepper/Step.utils.d.ts +5 -0
  120. package/components/Stepper/Stepper.d.ts +56 -0
  121. package/components/Stepper/Stepper.test.d.ts +1 -0
  122. package/components/Stepper/Stepper.utils.d.ts +30 -0
  123. package/components/Stepper/Stepper.utils.test.d.ts +1 -0
  124. package/components/Tooltip/Tooltip.d.ts +40 -0
  125. package/components/Tooltip/Tooltip.test.d.ts +1 -0
  126. package/components/Tooltip/Tooltip.utils.d.ts +70 -0
  127. package/components/Tooltip/Tooltip.utils.test.d.ts +1 -0
  128. package/components/TopBar/TopBar.d.ts +4 -4
  129. package/components/TopBar/TopBar.utils.d.ts +1 -1
  130. package/customreactselect.BFN8cYJi.js +14 -0
  131. package/dialog.CzM_Cxp0.js +9 -0
  132. package/drawer._A9MQ8Cj.js +9 -0
  133. package/fieldset.CId-NtI5.js +11 -0
  134. package/{filelist.nunJKxkv.js → filelist.DgVuWpR3.js} +23 -24
  135. package/{flag.D_iN8iD6.js → flag.CE32qHPa.js} +3 -3
  136. package/floatingactionbutton.Bsnncudt.js +87 -0
  137. package/header.CelAkqtp.js +12 -0
  138. package/{heading.BXFBZhKv.js → heading.DHLpT4dc.js} +2 -2
  139. package/icon.vzkPwgjZ.js +9 -0
  140. package/index.d.ts +4 -2
  141. package/index.es.js +217 -204
  142. package/input.DuEbg7d6.js +206 -0
  143. package/inputfile.BjgJGefV.js +17 -0
  144. package/inputnumber.BcrxBVv0.js +16 -0
  145. package/inputnumber.d.ts +2 -0
  146. package/inputpassword.CddmBW-T.js +13 -0
  147. package/inputsearch.CFOASqrd.js +14 -0
  148. package/link.f8MMZo-w.js +81 -0
  149. package/linkbutton.BYAvi-_V.js +12 -0
  150. package/{logo.C96KaG1P.js → logo.DprmD8HU.js} +3 -3
  151. package/logo100years.B4d_DIiB.js +24 -0
  152. package/logo100years.d.ts +2 -0
  153. package/megamenu.Cy9Cc-mC.js +12 -0
  154. package/navigationtablist.CkkLyHrM.js +10 -0
  155. package/navigationtabs.Dp7D2fnc.js +9 -0
  156. package/notification.B-norGiB.js +10 -0
  157. package/{numberindicator.Ddf3ESi7.js → numberindicator.BdnPMogE.js} +2 -2
  158. package/{optioncheckbox.D97W3zeW.js → optioncheckbox.nBVwGv6c.js} +3 -3
  159. package/package.json +41 -51
  160. package/partials/index.js +58 -52
  161. package/partials/lib/partials.d.ts +1 -1
  162. package/popover.DFVDZY-m.js +12 -0
  163. package/{radio.7_N_alaS.js → radio.DHUfSPai.js} +2 -2
  164. package/radiogroup.DaThoMfq.js +11 -0
  165. package/scroller.Cu7H_VCT.js +98 -0
  166. package/select.CMdKf7tC.js +13 -0
  167. package/{skiptocontent._F-d8y5b.js → skiptocontent.CHVh0hbr.js} +4 -4
  168. package/slider.C5dK6KcG.js +11 -0
  169. package/{spinner.Dht6FspZ.js → spinner.C9qCeq0R.js} +18 -18
  170. package/step.DKf4CHGr.js +82 -0
  171. package/step.d.ts +6 -0
  172. package/stepper.CCP_igpJ.js +16 -0
  173. package/stepper.d.ts +2 -0
  174. package/{switch.B37S4vfP.js → switch.Bqdyzi2E.js} +5 -5
  175. package/systemfeedback.O7tj1juR.js +10 -0
  176. package/tablist.DZgo49nZ.js +209 -0
  177. package/{tabpane.CB-eudyw.js → tabpane.C4nsUlwc.js} +2 -2
  178. package/tabs.BkoT7feH.js +11 -0
  179. package/text.cLv2PhjQ.js +10 -0
  180. package/textarea.DMn20z4p.js +13 -0
  181. package/{title.Bz_k5Vda.js → title.DuLPB-VK.js} +2 -2
  182. package/toast.Dvs8woTH.js +11 -0
  183. package/toastmanager.pi_Fhd5t.js +89 -0
  184. package/tooltip.QJe_bfO-.js +178 -0
  185. package/tooltip.d.ts +2 -0
  186. package/topbar.Bxwvp9Lf.js +12 -0
  187. package/types/icon-types.d.ts +1 -1
  188. package/types/prettier-plugin-organize-imports.d.ts +1 -0
  189. package/utils/index.d.ts +1 -0
  190. package/utils/mergeRefs.d.ts +5 -0
  191. package/utils/mergeRefs.test.d.ts +1 -0
  192. package/accordion.DkwtJy--.js +0 -12
  193. package/actionbutton.u1qp8oGC.js +0 -11
  194. package/actionlink.C7HzeIVa.js +0 -11
  195. package/assets/Accordion.BJb4TOG0.css +0 -1
  196. package/assets/Button.Dw8H5nFS.css +0 -1
  197. package/assets/Checkbox.BKHQN_tu.css +0 -1
  198. package/assets/CustomReactSelect.D0b1Hg1T.css +0 -1
  199. package/assets/Dialog.CGAg7bnN.css +0 -1
  200. package/assets/Drawer.VOvWQoEr.css +0 -1
  201. package/assets/InputFile.CCQxsulT.css +0 -1
  202. package/assets/InputPassword.124xVOiO.css +0 -1
  203. package/assets/InputSearch.Bkg-1urJ.css +0 -1
  204. package/assets/InputStepper.Dth4qZN_.css +0 -1
  205. package/assets/LinkButton.xMvg_ojf.css +0 -1
  206. package/assets/Notification.BOuaA5GT.css +0 -1
  207. package/assets/Popover.BDTDsPAt.css +0 -1
  208. package/assets/Select.CYACicZ3.css +0 -1
  209. package/assets/Slider.DzwSjDPV.css +0 -1
  210. package/assets/Textarea.BXWhXpXx.css +0 -1
  211. package/assets/Toast.CJ1zhDIT.css +0 -1
  212. package/assets/buttonround.Cw9hnUan.css +0 -1
  213. package/assets/input.ONbL-_C1.css +0 -1
  214. package/assets/switch.Bc9KIyw9.css +0 -1
  215. package/breadcrumb.BS-S3zUI.js +0 -11
  216. package/button.CPilCCUI.js +0 -12
  217. package/buttonround.C426mO4d.js +0 -81
  218. package/checkbox.BtlUvs0z.js +0 -12
  219. package/checkboxgroup.C5NgyyQF.js +0 -9
  220. package/chip.tVIG1ysH.js +0 -11
  221. package/chipgroup.CjIK0Z0x.js +0 -209
  222. package/chunks/Accordion.C5V5IcM-.js +0 -170
  223. package/chunks/ActionButton.B8zFwOrJ.js +0 -165
  224. package/chunks/ActionLink.IX6oRXU3.js +0 -138
  225. package/chunks/Button.B7xF1E19.js +0 -127
  226. package/chunks/Checkbox.DxV7-F5W.js +0 -88
  227. package/chunks/Chip.31UfPwQF.js +0 -119
  228. package/chunks/Dialog.B_2pKRnd.js +0 -135
  229. package/chunks/Drawer.HFlBTcqN.js +0 -140
  230. package/chunks/Header.DqZRryB5.js +0 -366
  231. package/chunks/Icon.DGTYCv63.js +0 -231
  232. package/chunks/InputFile.DvOatDzg.js +0 -220
  233. package/chunks/InputSearch.B0aCuPRZ.js +0 -174
  234. package/chunks/InputStepper.D_1YqlWl.js +0 -263
  235. package/chunks/LinkButton.DdTspmJz.js +0 -117
  236. package/chunks/MegaMenu.BY7eOnhj.js +0 -189
  237. package/chunks/NavigationTabList.dYFYTmWv.js +0 -57
  238. package/chunks/Notification.DIdIhGTQ.js +0 -92
  239. package/chunks/Popover.NGetxKGg.js +0 -159
  240. package/chunks/Select.BDHLJ2ma.js +0 -162
  241. package/chunks/Tabs.CkVL8Jw8.js +0 -83
  242. package/chunks/Textarea.ORkJUx-S.js +0 -163
  243. package/chunks/Toast.DHo4pLH3.js +0 -76
  244. package/chunks/file-type-doc.DlovDOBh.js +0 -10
  245. package/chunks/floating-ui.dom.C9TD1WpB.js +0 -950
  246. package/chunks/floating-ui.react.x0F9CYgn.js +0 -1637
  247. package/chunks/helpers.BbWkXTr3.js +0 -37
  248. package/chunks/petrol.Du6qAgp0.js +0 -10
  249. package/chunks/upload.ZImTAIgx.js +0 -10
  250. package/chunks/useBreakpoint.CMOR9ZOB.js +0 -44
  251. package/combobox.Bk2ycofh.js +0 -60
  252. package/components/InputStepper/InputStepper.utils.d.ts +0 -12
  253. package/customreactselect.Hnch9LGg.js +0 -14
  254. package/dialog.7sWoqGwL.js +0 -10
  255. package/drawer.DsF4KIPn.js +0 -10
  256. package/fieldset.DUFUMcT-.js +0 -11
  257. package/floatingactionbutton.DOH2k0gv.js +0 -72
  258. package/header.QpNjE3N-.js +0 -12
  259. package/icon.vMQcEBnH.js +0 -9
  260. package/input.BKHOY118.js +0 -203
  261. package/inputfile.DK8759wV.js +0 -17
  262. package/inputpassword.rV_ZZw5F.js +0 -13
  263. package/inputsearch.CmhakTpa.js +0 -14
  264. package/inputstepper.Y-YzUHhF.js +0 -16
  265. package/inputstepper.d.ts +0 -2
  266. package/link.D_FjTyoZ.js +0 -66
  267. package/linkbutton.D2C4vykc.js +0 -11
  268. package/megamenu.CdHrEeoh.js +0 -12
  269. package/navigationtablist.CVjh1k-b.js +0 -9
  270. package/navigationtabs.BGfi9AG2.js +0 -9
  271. package/notification.Dn-FZWEL.js +0 -10
  272. package/popover.DXxm1oWI.js +0 -11
  273. package/radiogroup.J8WpEEo8.js +0 -11
  274. package/scroller.BiRLQg__.js +0 -123
  275. package/select.DIzGPVx3.js +0 -13
  276. package/slider.DuJK0RdB.js +0 -11
  277. package/systemfeedback.C_2PhwKe.js +0 -10
  278. package/tablist.g_Nwu6GA.js +0 -256
  279. package/tabs.oh9-wHPp.js +0 -11
  280. package/text.ZOUuesnU.js +0 -10
  281. package/textarea.dQ12-oYB.js +0 -13
  282. package/toast.sMNbfKxi.js +0 -11
  283. package/toastmanager.CVamaS5T.js +0 -116
  284. package/topbar.Dhy_TL0U.js +0 -11
  285. /package/components/{InputStepper/InputStepper.test.d.ts → InputNumber/InputNumber.test.d.ts} +0 -0
  286. /package/components/{InputStepper/InputStepper.utils.test.d.ts → InputNumber/InputNumberutils.test.d.ts} +0 -0
@@ -1,366 +0,0 @@
1
- "use client";
2
- import { jsx as v, jsxs as Ae, Fragment as ge } from "react/jsx-runtime";
3
- import { d as T } from "./index.CgTHIF3K.js";
4
- import { c as x } from "./index.CEyLAtio.js";
5
- import { useState as V, useEffect as ne, useContext as oe, createContext as De, useRef as U } from "react";
6
- import { g as j, c as R, p as fe } from "./helpers.BbWkXTr3.js";
7
- import { u as He } from "./useIsomorphicLayoutEffect.CnJ9AMFS.js";
8
- import { DSLogo as Pe } from "../logo.C96KaG1P.js";
9
- import '../assets/Header.CNqtWTxB.css';const Te = (c) => {
10
- const e = T.c(3), t = 0, [r, n] = V("down");
11
- let a, s;
12
- return e[0] !== t ? (a = () => {
13
- let d;
14
- d = window.scrollY;
15
- const l = () => {
16
- const i = window.scrollY, h = i > d ? "down" : "up";
17
- Math.abs(i - d) > t && (n(h), d = i);
18
- };
19
- return window.addEventListener("scroll", l, {
20
- passive: !0
21
- }), () => window.removeEventListener("scroll", l);
22
- }, s = [t], e[0] = t, e[1] = a, e[2] = s) : (a = e[1], s = e[2]), ne(a, s), r;
23
- }, At = ["full", "main"], Ee = ({
24
- hasBrandArea: c,
25
- hasPrimaryArea: e,
26
- hasSecondaryArea: t
27
- }) => {
28
- if (c)
29
- throw new Error(j("DSHeader", "A <DSTopBar.BrandArea> component was detected as a direct child of DSHeader. Please move it into the DSTopBar component."));
30
- if (e)
31
- throw new Error(j("DSHeader", "A <DSTopBar.PrimaryArea> component was detected as a direct child of DSHeader. Please move it into the DSTopBar component."));
32
- if (t)
33
- throw new Error(j("DSHeader", "A <DSTopBar.SecondaryArea> component was detected as a direct child of DSHeader. Please move it into the DSTopBar component."));
34
- }, Fe = "ds-top-bar_root_q6oxc_1", Ce = "ds-top-bar_root--sticky_q6oxc_49", Oe = "ds-top-bar_root--fixed_q6oxc_53", Ve = "ds-top-bar_content_q6oxc_62", Re = "ds-top-bar_content--variant-full_q6oxc_81", Me = "ds-top-bar_content--has-primary-area-and-secondary-area_q6oxc_85", qe = "ds-top-bar_primary_q6oxc_90", ke = "ds-top-bar_content--has-brand-add-on-with-primary-area-and-secondary-area_q6oxc_105", $e = "ds-top-bar_brand_q6oxc_110", We = "ds-top-bar_content--has-primary-area_q6oxc_85", Ie = "ds-top-bar_content--has-primary-area--with-brand-add-on_q6oxc_149", Le = "ds-top-bar_brand-add-on_q6oxc_213", Ye = "ds-top-bar_brand-add-on--double_q6oxc_234", ze = "ds-top-bar_sub-title_q6oxc_248", Ue = "ds-top-bar_secondary_q6oxc_274", je = "ds-top-bar_logo_q6oxc_283", Ge = "ds-top-bar_logo--reduced_q6oxc_293", _ = {
35
- root: Fe,
36
- rootSticky: Ce,
37
- rootFixed: Oe,
38
- content: Ve,
39
- contentVariantFull: Re,
40
- contentHasPrimaryAreaAndSecondaryArea: Me,
41
- primary: qe,
42
- contentHasBrandAddOnWithPrimaryAreaAndSecondaryArea: ke,
43
- brand: $e,
44
- contentHasPrimaryArea: We,
45
- contentHasPrimaryAreaWithBrandAddOn: Ie,
46
- brandAddOn: Le,
47
- brandAddOnDouble: Ye,
48
- subTitle: ze,
49
- secondary: Ue,
50
- logo: je,
51
- logoReduced: Ge
52
- }, Je = ({
53
- hasBrandArea: c,
54
- hasPrimaryArea: e,
55
- hasSecondaryArea: t
56
- }) => {
57
- if (!c)
58
- throw new Error(j("DSTopBar", "A <DSTopBar.BrandArea> component is required. Please include it as a child of DSTopBar."));
59
- if (!e && t)
60
- throw new Error(j("DSTopBar", "A <DSTopBar.PrimaryArea> is required when using <DSTopBar.SecondaryArea>. Please include <DSTopBar.PrimaryArea> as a child of DSTopBar, or move the content from <DSTopBar.SecondaryArea> into <DSTopBar.PrimaryArea>."));
61
- }, ve = (c) => c == null || typeof c == "object" && !Array.isArray(c) && c !== null && Object.keys(c).length === 0, pt = ["double", "single"], L = (c) => {
62
- const e = T.c(28);
63
- let t, r, n, a;
64
- e[0] !== c ? ({
65
- children: t,
66
- className: r,
67
- rootClassName: a,
68
- ...n
69
- } = c, e[0] = c, e[1] = t, e[2] = r, e[3] = n, e[4] = a) : (t = e[1], r = e[2], n = e[3], a = e[4]);
70
- const {
71
- variant: s,
72
- isHeaderSticky: d,
73
- isMobile: l,
74
- topBarAreaRef: i,
75
- isStickyMainNavigationVisible: h,
76
- hasBrandAddOn: m
77
- } = oe(G);
78
- let A, p;
79
- if (e[5] !== t || e[6] !== r || e[7] !== m || e[8] !== d || e[9] !== l || e[10] !== h || e[11] !== a || e[12] !== s) {
80
- const E = R(t, pe), u = R(t, ue), o = R(t, _e);
81
- process.env.NODE_ENV !== "production" && Je({
82
- hasBrandArea: E,
83
- hasPrimaryArea: u,
84
- hasSecondaryArea: o
85
- });
86
- let b;
87
- e[15] !== d || e[16] !== l || e[17] !== h || e[18] !== a ? (b = x(_.root, a, d ? {
88
- [_.rootSticky]: !l && h,
89
- [_.rootFixed]: !l && !h
90
- } : {}), e[15] = d, e[16] = l, e[17] = h, e[18] = a, e[19] = b) : b = e[19], A = b, p = x(_.content, r, {
91
- [_.contentHasPrimaryArea]: u && !m && !o,
92
- [_.contentHasPrimaryAreaWithBrandAddOn]: u && m && !o,
93
- [_.contentHasBrandAddOnWithPrimaryAreaAndSecondaryArea]: m && u && o,
94
- [_.contentHasPrimaryAreaAndSecondaryArea]: u && o && !m,
95
- [_.contentVariantFull]: s === "full"
96
- }), e[5] = t, e[6] = r, e[7] = m, e[8] = d, e[9] = l, e[10] = h, e[11] = a, e[12] = s, e[13] = A, e[14] = p;
97
- } else
98
- A = e[13], p = e[14];
99
- const g = p;
100
- let f;
101
- e[20] !== t || e[21] !== g || e[22] !== n ? (f = /* @__PURE__ */ v("section", { className: g, ...n, children: t }), e[20] = t, e[21] = g, e[22] = n, e[23] = f) : f = e[23];
102
- let y;
103
- return e[24] !== A || e[25] !== f || e[26] !== i ? (y = /* @__PURE__ */ v("div", { className: A, ref: i, children: f }), e[24] = A, e[25] = f, e[26] = i, e[27] = y) : y = e[27], y;
104
- }, pe = (c) => {
105
- const e = T.c(26), {
106
- children: t,
107
- className: r
108
- } = c, {
109
- logoProps: n,
110
- brandAddOnProps: a,
111
- setHasBrandAddOn: s
112
- } = oe(G);
113
- let d;
114
- e[0] !== n ? (d = n || {}, e[0] = n, e[1] = d) : d = e[1];
115
- const {
116
- aria: l,
117
- logo: i,
118
- href: h,
119
- target: m
120
- } = d, A = i === void 0 ? "main" : i, p = h === void 0 ? "/" : h, g = m === void 0 ? "_self" : m;
121
- let f;
122
- e[2] !== a || e[3] !== t || e[4] !== s ? (f = () => {
123
- t || !ve(a) ? s == null || s(!0) : s == null || s(!1);
124
- }, e[2] = a, e[3] = t, e[4] = s, e[5] = f) : f = e[5];
125
- let y;
126
- e[6] !== a || e[7] !== t ? (y = [t, a], e[6] = a, e[7] = t, e[8] = y) : y = e[8], ne(f, y);
127
- let E;
128
- e[9] !== A ? (E = x(_.logo, {
129
- [_.logoReduced]: A.includes("reduced")
130
- }), e[9] = A, e[10] = E) : E = e[10];
131
- const u = E;
132
- let o;
133
- e[11] !== r ? (o = x(_.brand, r), e[11] = r, e[12] = o) : o = e[12];
134
- let b;
135
- e[13] !== l || e[14] !== p || e[15] !== A || e[16] !== u || e[17] !== g ? (b = /* @__PURE__ */ v(Pe, { className: u, aria: l, logo: A, href: p, target: g }), e[13] = l, e[14] = p, e[15] = A, e[16] = u, e[17] = g, e[18] = b) : b = e[18];
136
- let S;
137
- e[19] !== a ? (S = ve(a) ? void 0 : /* @__PURE__ */ v(be, { ...a }), e[19] = a, e[20] = S) : S = e[20];
138
- let D;
139
- return e[21] !== t || e[22] !== S || e[23] !== o || e[24] !== b ? (D = /* @__PURE__ */ Ae("div", { className: o, children: [
140
- b,
141
- S,
142
- t
143
- ] }), e[21] = t, e[22] = S, e[23] = o, e[24] = b, e[25] = D) : D = e[25], D;
144
- };
145
- pe.displayName = "DSTopBar.BrandArea";
146
- const be = (c) => {
147
- const e = T.c(10), {
148
- children: t,
149
- className: r,
150
- subTitle: n,
151
- variant: a
152
- } = c, s = a === void 0 ? "single" : a, d = s === "double";
153
- let l;
154
- e[0] !== r || e[1] !== d ? (l = x(_.brandAddOn, r, {
155
- [_.brandAddOnDouble]: d
156
- }), e[0] = r, e[1] = d, e[2] = l) : l = e[2];
157
- const i = l;
158
- let h;
159
- e[3] !== t || e[4] !== n || e[5] !== s ? (h = s === "single" ? t : /* @__PURE__ */ Ae(ge, { children: [
160
- /* @__PURE__ */ v("span", { children: t }),
161
- n && /* @__PURE__ */ v("span", { className: _.subTitle, children: n })
162
- ] }), e[3] = t, e[4] = n, e[5] = s, e[6] = h) : h = e[6];
163
- let m;
164
- return e[7] !== i || e[8] !== h ? (m = /* @__PURE__ */ v("span", { className: i, children: h }), e[7] = i, e[8] = h, e[9] = m) : m = e[9], m;
165
- };
166
- be.displayName = "DSTopBar.BrandAddOn";
167
- const ue = (c) => {
168
- const e = T.c(5), {
169
- children: t,
170
- className: r
171
- } = c;
172
- let n;
173
- e[0] !== r ? (n = x(_.primary, r), e[0] = r, e[1] = n) : n = e[1];
174
- let a;
175
- return e[2] !== t || e[3] !== n ? (a = /* @__PURE__ */ v("div", { className: n, children: t }), e[2] = t, e[3] = n, e[4] = a) : a = e[4], a;
176
- };
177
- ue.displayName = "DSTopBar.PrimaryArea";
178
- const _e = (c) => {
179
- const e = T.c(5), {
180
- children: t,
181
- className: r
182
- } = c;
183
- let n;
184
- e[0] !== r ? (n = x(_.secondary, r), e[0] = r, e[1] = n) : n = e[1];
185
- let a;
186
- return e[2] !== t || e[3] !== n ? (a = /* @__PURE__ */ v("div", { className: n, children: t }), e[2] = t, e[3] = n, e[4] = a) : a = e[4], a;
187
- };
188
- _e.displayName = "DSTopBar.SecondaryArea";
189
- L.BrandArea = pe;
190
- L.PrimaryArea = ue;
191
- L.SecondaryArea = _e;
192
- const Ke = "ds-header_root_c5fh4_1", Qe = "ds-header_root--sticky_c5fh4_4", Xe = "ds-header_root--hidden_c5fh4_9", Ze = "ds-header_root--fixed_c5fh4_20", et = "ds-header_main-navigation-area_c5fh4_37", tt = "ds-header_main-navigation-area--fixed_c5fh4_90", at = "ds-header_main-navigation-area--fixed--visible_c5fh4_105", rt = "ds-header_main-navigation-content_c5fh4_111", nt = "ds-header_main-navigation-content--variant-full_c5fh4_115", ot = "ds-header_header-placeholder_c5fh4_120", it = "ds-header_header-placeholder--with-banner_c5fh4_123", N = {
193
- root: Ke,
194
- rootSticky: Qe,
195
- rootHidden: Xe,
196
- rootFixed: Ze,
197
- mainNavigationArea: et,
198
- mainNavigationAreaFixed: tt,
199
- mainNavigationAreaFixedVisible: at,
200
- mainNavigationContent: rt,
201
- mainNavigationContentVariantFull: nt,
202
- headerPlaceholder: ot,
203
- headerPlaceholderWithBanner: it
204
- }, G = De({
205
- variant: "main"
206
- }), ie = (c) => {
207
- const e = T.c(57);
208
- let t, r, n, a, s, d, l;
209
- e[0] !== c ? ({
210
- children: r,
211
- brandAddOnProps: t,
212
- className: n,
213
- isHeaderSticky: d,
214
- variant: l,
215
- logoProps: a,
216
- ...s
217
- } = c, e[0] = c, e[1] = t, e[2] = r, e[3] = n, e[4] = a, e[5] = s, e[6] = d, e[7] = l) : (t = e[1], r = e[2], n = e[3], a = e[4], s = e[5], d = e[6], l = e[7]);
218
- const i = d === void 0 ? !1 : d, h = l === void 0 ? "main" : l, [m, A] = V(!1);
219
- let p;
220
- e[8] !== r ? (p = R(r, ie.BannerArea, !0), e[8] = r, e[9] = p) : p = e[9];
221
- const g = p, f = R(r, L.BrandArea), y = R(r, L.PrimaryArea), E = R(r, L.SecondaryArea);
222
- process.env.NODE_ENV !== "production" && Ee({
223
- hasBrandArea: f,
224
- hasPrimaryArea: y,
225
- hasSecondaryArea: E
226
- });
227
- const u = Te(), [o, b] = V(!1), S = U(null), D = U(null), se = U(null), ce = U(null), [de, Be] = V(!1), [M, we] = V(!1), [w, ye] = V(!0), [le, xe] = V(!1), he = U(o);
228
- let J, K;
229
- e[10] !== i ? (J = () => {
230
- if (i) {
231
- const B = () => {
232
- b((H) => (he.current = H, window.innerWidth < 1024));
233
- };
234
- return B(), window.addEventListener("resize", B), () => window.removeEventListener("resize", B);
235
- }
236
- }, K = [i], e[10] = i, e[11] = J, e[12] = K) : (J = e[11], K = e[12]), ne(J, K);
237
- let Q, X;
238
- e[13] === Symbol.for("react.memo_cache_sentinel") ? (Q = () => {
239
- const B = () => {
240
- var F, O, re;
241
- const H = document.documentElement, Y = ((F = S.current) == null ? void 0 : F.offsetHeight) || 0, P = ((O = se.current) == null ? void 0 : O.offsetHeight) || 0;
242
- let C;
243
- if (!ce.current)
244
- C = Y + P;
245
- else {
246
- const z = (re = D.current) == null ? void 0 : re.offsetHeight;
247
- !z || z === Y ? C = parseInt(H.style.getPropertyValue("--ds-header-height").replace("rem", "")) * 16 || 0 : C = z;
248
- }
249
- H.style.setProperty("--ds-banner-height", `${fe(Y)}rem`), H.style.setProperty("--ds-header-height", `${fe(C)}rem`), H.style.setProperty("--ds-top-bar-height", `${fe(P)}rem`);
250
- };
251
- return B(), window.addEventListener("resize", B), () => window.removeEventListener("resize", B);
252
- }, X = [], e[13] = Q, e[14] = X) : (Q = e[13], X = e[14]), He(Q, X);
253
- let Z;
254
- e[15] !== i || e[16] !== o || e[17] !== w || e[18] !== u ? (Z = () => {
255
- if (i) {
256
- const B = () => {
257
- const P = D.current, C = !!P && window.scrollY <= P.offsetHeight;
258
- Be(C);
259
- const F = ce.current, O = se.current;
260
- if (!o && he.current && !w) {
261
- ye(C && !!P && window.scrollY <= P.offsetHeight);
262
- return;
263
- }
264
- const re = !!O && !!F && F.getBoundingClientRect().bottom > O.getBoundingClientRect().bottom, z = !F && !!O && !!S.current && (window.scrollY >= S.current.offsetHeight || 0) || !F && !S.current && !!O && window.scrollY >= 1;
265
- ye(F ? re && !!P && window.scrollY <= P.offsetHeight : !z);
266
- };
267
- window.addEventListener("scroll", B, {
268
- passive: !0
269
- }), B();
270
- const H = D.current, Y = !!H && H.getBoundingClientRect().bottom > 0;
271
- return o && we(u === "up" && !Y), o || xe(u === "up" && !w), () => {
272
- window.removeEventListener("scroll", B);
273
- };
274
- }
275
- }, e[15] = i, e[16] = o, e[17] = w, e[18] = u, e[19] = Z) : Z = e[19];
276
- let ee;
277
- e[20] !== i || e[21] !== o || e[22] !== u ? (ee = [i, o, he, u], e[20] = i, e[21] = o, e[22] = u, e[23] = ee) : ee = e[23], ne(Z, ee);
278
- let te;
279
- e[24] !== n || e[25] !== M || e[26] !== i || e[27] !== de || e[28] !== o ? (te = x(N.root, n, i ? {
280
- [N.rootSticky]: o,
281
- [N.rootHidden]: o && !de,
282
- [N.rootFixed]: o && M
283
- } : {}), e[24] = n, e[25] = M, e[26] = i, e[27] = de, e[28] = o, e[29] = te) : te = e[29];
284
- const me = te;
285
- let q;
286
- e[30] !== t || e[31] !== m || e[32] !== le || e[33] !== i || e[34] !== o || e[35] !== w || e[36] !== a || e[37] !== h ? (q = {
287
- variant: h,
288
- bannerAreaRef: S,
289
- brandAddOnProps: t,
290
- hasBrandAddOn: m,
291
- setHasBrandAddOn: A,
292
- isFixedMainNavigation: le,
293
- isHeaderSticky: i,
294
- isMobile: o,
295
- isStickyMainNavigationVisible: w,
296
- mainNavigationAreaRef: ce,
297
- topBarAreaRef: se,
298
- logoProps: a
299
- }, e[30] = t, e[31] = m, e[32] = le, e[33] = i, e[34] = o, e[35] = w, e[36] = a, e[37] = h, e[38] = q) : q = e[38];
300
- let k;
301
- e[39] !== r || e[40] !== q ? (k = /* @__PURE__ */ v(G.Provider, { value: q, children: r }), e[39] = r, e[40] = q, e[41] = k) : k = e[41];
302
- let $;
303
- e[42] !== s || e[43] !== me || e[44] !== k ? ($ = /* @__PURE__ */ v("header", { className: me, ...s, ref: D, children: k }), e[42] = s, e[43] = me, e[44] = k, e[45] = $) : $ = e[45];
304
- let W;
305
- e[46] !== M || e[47] !== o ? (W = o && M && /* @__PURE__ */ v("div", { className: N.headerPlaceholder }), e[46] = M, e[47] = o, e[48] = W) : W = e[48];
306
- let I;
307
- e[49] !== g || e[50] !== o || e[51] !== w ? (I = !o && !w && /* @__PURE__ */ v("div", { className: g ? N.headerPlaceholderWithBanner : N.headerPlaceholder }), e[49] = g, e[50] = o, e[51] = w, e[52] = I) : I = e[52];
308
- let ae;
309
- return e[53] !== $ || e[54] !== W || e[55] !== I ? (ae = /* @__PURE__ */ Ae(ge, { children: [
310
- $,
311
- W,
312
- I
313
- ] }), e[53] = $, e[54] = W, e[55] = I, e[56] = ae) : ae = e[56], ae;
314
- }, Se = (c) => {
315
- const e = T.c(4), {
316
- children: t,
317
- className: r
318
- } = c, {
319
- bannerAreaRef: n
320
- } = oe(G);
321
- let a;
322
- return e[0] !== n || e[1] !== t || e[2] !== r ? (a = /* @__PURE__ */ v("div", { ref: n, className: r, children: t }), e[0] = n, e[1] = t, e[2] = r, e[3] = a) : a = e[3], a;
323
- };
324
- Se.displayName = "DSHeader.BannerArea";
325
- const Ne = (c) => {
326
- const e = T.c(15), {
327
- children: t,
328
- className: r
329
- } = c, {
330
- variant: n,
331
- isFixedMainNavigation: a,
332
- isHeaderSticky: s,
333
- isMobile: d,
334
- isStickyMainNavigationVisible: l,
335
- mainNavigationAreaRef: i
336
- } = oe(G);
337
- let h;
338
- e[0] !== r || e[1] !== a || e[2] !== s || e[3] !== d || e[4] !== l ? (h = x(N.mainNavigationArea, r, s ? {
339
- [N.mainNavigationAreaFixed]: !d && !l,
340
- [N.mainNavigationAreaFixedVisible]: !d && a
341
- } : {}), e[0] = r, e[1] = a, e[2] = s, e[3] = d, e[4] = l, e[5] = h) : h = e[5];
342
- const m = h, A = n === "full";
343
- let p;
344
- e[6] !== A ? (p = x(N.mainNavigationContent, {
345
- [N.mainNavigationContentVariantFull]: A
346
- }), e[6] = A, e[7] = p) : p = e[7];
347
- const g = p;
348
- let f;
349
- e[8] !== t || e[9] !== g ? (f = /* @__PURE__ */ v("div", { className: g, children: t }), e[8] = t, e[9] = g, e[10] = f) : f = e[10];
350
- let y;
351
- return e[11] !== i || e[12] !== m || e[13] !== f ? (y = /* @__PURE__ */ v("div", { className: m, ref: i, children: f }), e[11] = i, e[12] = m, e[13] = f, e[14] = y) : y = e[14], y;
352
- };
353
- Ne.displayName = "DSHeader.MainNavigationArea";
354
- ie.BannerArea = Se;
355
- ie.MainNavigationArea = Ne;
356
- ie.displayName = "DSHeader";
357
- export {
358
- pt as B,
359
- G as D,
360
- At as H,
361
- ie as a,
362
- L as b,
363
- Je as c,
364
- ve as i,
365
- Ee as v
366
- };
@@ -1,231 +0,0 @@
1
- "use client";
2
- import { jsx as A } from "react/jsx-runtime";
3
- import { d as P } from "./index.CgTHIF3K.js";
4
- import { c as H } from "./index.CEyLAtio.js";
5
- import * as x from "react";
6
- import { useRef as U, useState as C, useEffect as G } from "react";
7
- import { g as W } from "./helpers.BbWkXTr3.js";
8
- import '../assets/Icon.QeJ7TxZs.css';var $ = /* @__PURE__ */ new Map(), D = /* @__PURE__ */ new WeakMap(), B = 0, Z = void 0;
9
- function F(t) {
10
- return t ? (D.has(t) || (B += 1, D.set(t, B.toString())), D.get(t)) : "0";
11
- }
12
- function J(t) {
13
- return Object.keys(t).sort().filter(
14
- (s) => t[s] !== void 0
15
- ).map((s) => `${s}_${s === "root" ? F(t.root) : t[s]}`).toString();
16
- }
17
- function K(t) {
18
- const s = J(t);
19
- let i = $.get(s);
20
- if (!i) {
21
- const o = /* @__PURE__ */ new Map();
22
- let c;
23
- const e = new IntersectionObserver((n) => {
24
- n.forEach((r) => {
25
- var a;
26
- const m = r.isIntersecting && c.some((d) => r.intersectionRatio >= d);
27
- t.trackVisibility && typeof r.isVisible > "u" && (r.isVisible = m), (a = o.get(r.target)) == null || a.forEach((d) => {
28
- d(m, r);
29
- });
30
- });
31
- }, t);
32
- c = e.thresholds || (Array.isArray(t.threshold) ? t.threshold : [t.threshold || 0]), i = {
33
- id: s,
34
- observer: e,
35
- elements: o
36
- }, $.set(s, i);
37
- }
38
- return i;
39
- }
40
- function Q(t, s, i = {}, o = Z) {
41
- if (typeof window.IntersectionObserver > "u" && o !== void 0) {
42
- const a = t.getBoundingClientRect();
43
- return s(o, {
44
- isIntersecting: o,
45
- target: t,
46
- intersectionRatio: typeof i.threshold == "number" ? i.threshold : 0,
47
- time: 0,
48
- boundingClientRect: a,
49
- intersectionRect: a,
50
- rootBounds: a
51
- }), () => {
52
- };
53
- }
54
- const { id: c, observer: e, elements: n } = K(i), r = n.get(t) || [];
55
- return n.has(t) || n.set(t, r), r.push(s), e.observe(t), function() {
56
- r.splice(r.indexOf(s), 1), r.length === 0 && (n.delete(t), e.unobserve(t)), n.size === 0 && (e.disconnect(), $.delete(c));
57
- };
58
- }
59
- function Y({
60
- threshold: t,
61
- delay: s,
62
- trackVisibility: i,
63
- rootMargin: o,
64
- root: c,
65
- triggerOnce: e,
66
- skip: n,
67
- initialInView: r,
68
- fallbackInView: a,
69
- onChange: m
70
- } = {}) {
71
- var d;
72
- const [h, b] = x.useState(null), u = x.useRef(m), [f, w] = x.useState({
73
- inView: !!r,
74
- entry: void 0
75
- });
76
- u.current = m, x.useEffect(
77
- () => {
78
- if (n || !h) return;
79
- let p;
80
- return p = Q(
81
- h,
82
- (S, v) => {
83
- w({
84
- inView: S,
85
- entry: v
86
- }), u.current && u.current(S, v), v.isIntersecting && e && p && (p(), p = void 0);
87
- },
88
- {
89
- root: c,
90
- rootMargin: o,
91
- threshold: t,
92
- // @ts-ignore
93
- trackVisibility: i,
94
- // @ts-ignore
95
- delay: s
96
- },
97
- a
98
- ), () => {
99
- p && p();
100
- };
101
- },
102
- // We break the rule here, because we aren't including the actual `threshold` variable
103
- // eslint-disable-next-line react-hooks/exhaustive-deps
104
- [
105
- // If the threshold is an array, convert it to a string, so it won't change between renders.
106
- Array.isArray(t) ? t.toString() : t,
107
- h,
108
- c,
109
- o,
110
- e,
111
- n,
112
- i,
113
- a,
114
- s
115
- ]
116
- );
117
- const l = (d = f.entry) == null ? void 0 : d.target, k = x.useRef(void 0);
118
- !h && l && !e && !n && k.current !== l && (k.current = l, w({
119
- inView: !!r,
120
- entry: void 0
121
- }));
122
- const g = [b, f.inView, f.entry];
123
- return g.ref = g[0], g.inView = g[1], g.entry = g[2], g;
124
- }
125
- const ss = "ds-icon_image_clh5i_1", ts = "ds-icon_image--theme-dark_clh5i_10", is = "ds-icon_image--size-x-large_clh5i_13", es = "ds-icon_image--size-medium_clh5i_19", os = "ds-icon_image--size-small_clh5i_25", rs = "ds-icon_image--size-x-small_clh5i_31", y = {
126
- image: ss,
127
- imageThemeDark: ts,
128
- imageSizeXLarge: is,
129
- imageSizeMedium: es,
130
- imageSizeSmall: os,
131
- imageSizeXSmall: rs
132
- }, ns = (t, s, i) => {
133
- const o = t[s];
134
- return o ? typeof o == "function" ? o() : Promise.resolve(o) : new Promise((c, e) => {
135
- (typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
136
- e.bind(
137
- null,
138
- new Error(
139
- "Unknown variable dynamic import: " + s + (s.split("/").length !== i ? ". Note that variables only represent file names one level deep." : "")
140
- )
141
- )
142
- );
143
- });
144
- }, vs = ["x-large", "large", "medium", "small", "x-small"], as = (t) => {
145
- var n;
146
- const s = U(void 0), [i, o] = C(!1), [c, e] = C(!0);
147
- return G(() => {
148
- i && (e(!0), (async () => {
149
- try {
150
- s.current = await ns(/* @__PURE__ */ Object.assign({ "../../../../icons/dist/assets/360.svg": () => import("./360.CfjUtgxq.js"), "../../../../icons/dist/assets/academic-cap.svg": () => import("./academic-cap.OBigTQQS.js"), "../../../../icons/dist/assets/accessibility.svg": () => import("./accessibility.B57oX4yV.js"), "../../../../icons/dist/assets/alarm-clock.svg": () => import("./alarm-clock.CpK-AEZG.js"), "../../../../icons/dist/assets/arrow-clockwise.svg": () => import("./arrow-clockwise.BefOjGPg.js"), "../../../../icons/dist/assets/arrow-counterclockwise.svg": () => import("./arrow-counterclockwise.C7Ov32BZ.js"), "../../../../icons/dist/assets/arrow-down-line.svg": () => import("./arrow-down-line.RDD2pRZY.js"), "../../../../icons/dist/assets/arrow-down.svg": () => import("./arrow-down.XpokLh98.js"), "../../../../icons/dist/assets/arrow-edge.svg": () => import("./arrow-edge.CPA93M81.js"), "../../../../icons/dist/assets/arrow-left.svg": () => import("./arrow-left.C8NG5I2X.js"), "../../../../icons/dist/assets/arrow-out.svg": () => import("./arrow-out.CsHHHYN9.js"), "../../../../icons/dist/assets/arrow-outline-left.svg": () => import("./arrow-outline-left.Bhw_LzfV.js"), "../../../../icons/dist/assets/arrow-right.svg": () => import("./arrow-right.HNwAz18h.js"), "../../../../icons/dist/assets/arrow-up-arrow-down.svg": () => import("./arrow-up-arrow-down.BVyuVJP5.js"), "../../../../icons/dist/assets/arrow-up.svg": () => import("./arrow-up.Ca1GnLaY.js"), "../../../../icons/dist/assets/at.svg": () => import("./at.BNfdp4M0.js"), "../../../../icons/dist/assets/barcode-scanner.svg": () => import("./barcode-scanner.D0olxB_m.js"), "../../../../icons/dist/assets/battery.svg": () => import("./battery.YCg9lYqC.js"), "../../../../icons/dist/assets/bell.svg": () => import("./bell.DbPxCAUM.js"), "../../../../icons/dist/assets/bin-open.svg": () => import("./bin-open.DsjIBW00.js"), "../../../../icons/dist/assets/bin.svg": () => import("./bin.ktpYUJmK.js"), "../../../../icons/dist/assets/bluetooth.svg": () => import("./bluetooth.dW5tTwby.js"), "../../../../icons/dist/assets/bookmark.svg": () => import("./bookmark.B7Mbr-d6.js"), "../../../../icons/dist/assets/burger.svg": () => import("./burger.DLP81BXa.js"), "../../../../icons/dist/assets/calendar.svg": () => import("./calendar.Cig7yG7m.js"), "../../../../icons/dist/assets/camera.svg": () => import("./camera.BoCB0Emp.js"), "../../../../icons/dist/assets/caret-down.svg": () => import("./caret-down.CupuwAF6.js"), "../../../../icons/dist/assets/caret-right.svg": () => import("./caret-right.DKtu4PQe.js"), "../../../../icons/dist/assets/cart-check.svg": () => import("./cart-check.CYH0vTB8.js"), "../../../../icons/dist/assets/cart-plus.svg": () => import("./cart-plus.DzXXFMZj.js"), "../../../../icons/dist/assets/cart.svg": () => import("./cart.CoEwMABr.js"), "../../../../icons/dist/assets/catalog.svg": () => import("./catalog.CwV-J6Kb.js"), "../../../../icons/dist/assets/certificate.svg": () => import("./certificate.Crs4RohK.js"), "../../../../icons/dist/assets/chain-link.svg": () => import("./chain-link.BMV2WV6k.js"), "../../../../icons/dist/assets/chainsaw.svg": () => import("./chainsaw.CI1EYF7a.js"), "../../../../icons/dist/assets/check.svg": () => import("./check.CuZKWgYj.js"), "../../../../icons/dist/assets/chevron-down.svg": () => import("./chevron-down.5UkGOwK_.js"), "../../../../icons/dist/assets/chevron-left.svg": () => import("./chevron-left.DRFQ-efY.js"), "../../../../icons/dist/assets/chevron-line-left.svg": () => import("./chevron-line-left.SQvDJQ1t.js"), "../../../../icons/dist/assets/chevron-line-right.svg": () => import("./chevron-line-right.CYQ3b2cQ.js"), "../../../../icons/dist/assets/chevron-right.svg": () => import("./chevron-right.B_Ew9QUt.js"), "../../../../icons/dist/assets/chevron-up.svg": () => import("./chevron-up.DqETUWqG.js"), "../../../../icons/dist/assets/circle-check-colored.svg": () => import("./circle-check-colored.Bye_GwLy.js"), "../../../../icons/dist/assets/circle-check-inverted.svg": () => import("./circle-check-inverted.Cc2cUmWT.js"), "../../../../icons/dist/assets/circle-info-colored.svg": () => import("./circle-info-colored.D2pp54gf.js"), "../../../../icons/dist/assets/circle-info-inverted.svg": () => import("./circle-info-inverted.D8Z0vTmu.js"), "../../../../icons/dist/assets/circle-pause.svg": () => import("./circle-pause.DaRfXOff.js"), "../../../../icons/dist/assets/circle-stroke.svg": () => import("./circle-stroke.CWu_o3Gx.js"), "../../../../icons/dist/assets/circle.svg": () => import("./circle.471EUzv6.js"), "../../../../icons/dist/assets/clock.svg": () => import("./clock.Bw5ICIVH.js"), "../../../../icons/dist/assets/coffee-cup.svg": () => import("./coffee-cup.DIijzKx_.js"), "../../../../icons/dist/assets/collapse.svg": () => import("./collapse.Dvv3mgkv.js"), "../../../../icons/dist/assets/compare.svg": () => import("./compare.BgktBbYD.js"), "../../../../icons/dist/assets/connected-box-mobile.svg": () => import("./connected-box-mobile.DboMCVxp.js"), "../../../../icons/dist/assets/connected-box-stationary.svg": () => import("./connected-box-stationary.CAPCPQ1d.js"), "../../../../icons/dist/assets/connected-box.svg": () => import("./connected-box.DVqJw-ws.js"), "../../../../icons/dist/assets/cross.svg": () => import("./cross.rEw3TuHs.js"), "../../../../icons/dist/assets/diamond-exclamationmark-colored.svg": () => import("./diamond-exclamationmark-colored.WNKYwZ8q.js"), "../../../../icons/dist/assets/diamond-exclamationmark-inverted.svg": () => import("./diamond-exclamationmark-inverted.DzAIb8Nt.js"), "../../../../icons/dist/assets/diamond.svg": () => import("./diamond.CXZHFpPC.js"), "../../../../icons/dist/assets/diskette.svg": () => import("./diskette._0C2VZ9v.js"), "../../../../icons/dist/assets/distance.svg": () => import("./distance.FA6pTjcW.js"), "../../../../icons/dist/assets/document-magnifying-glass.svg": () => import("./document-magnifying-glass.DkvpNz-D.js"), "../../../../icons/dist/assets/dots-connected.svg": () => import("./dots-connected.ZMYjHeNS.js"), "../../../../icons/dist/assets/download-complete.svg": () => import("./download-complete.CZVpzrvY.js"), "../../../../icons/dist/assets/envelope-open.svg": () => import("./envelope-open.CA4cE5lk.js"), "../../../../icons/dist/assets/envelope.svg": () => import("./envelope.re-RxZVw.js"), "../../../../icons/dist/assets/exclamationmark.svg": () => import("./exclamationmark.DEbIGqGC.js"), "../../../../icons/dist/assets/exit.svg": () => import("./exit.Cgb8AB-k.js"), "../../../../icons/dist/assets/eye-closed.svg": () => import("./eye-closed.CvqozUwK.js"), "../../../../icons/dist/assets/eye.svg": () => import("./eye.CRQMKZs4.js"), "../../../../icons/dist/assets/facebook.svg": () => import("./facebook.CVcxa0rV.js"), "../../../../icons/dist/assets/file-type-doc.svg": () => import("./file-type-doc.DlovDOBh.js"), "../../../../icons/dist/assets/file-type-image.svg": () => import("./file-type-image.Cg2NRd7y.js"), "../../../../icons/dist/assets/file-type-pdf.svg": () => import("./file-type-pdf.Dm94xL2i.js"), "../../../../icons/dist/assets/file-type-video.svg": () => import("./file-type-video.CFwfiP-D.js"), "../../../../icons/dist/assets/file-type-zip.svg": () => import("./file-type-zip.SNixmKhQ.js"), "../../../../icons/dist/assets/file.svg": () => import("./file.DLgRXiem.js"), "../../../../icons/dist/assets/filter.svg": () => import("./filter.DrPSKpaG.js"), "../../../../icons/dist/assets/finger-double-arrow.svg": () => import("./finger-double-arrow.DDUZoPh8.js"), "../../../../icons/dist/assets/flash.svg": () => import("./flash.CgJJ1bUx.js"), "../../../../icons/dist/assets/fullscreen.svg": () => import("./fullscreen.Be2rBj1i.js"), "../../../../icons/dist/assets/gear.svg": () => import("./gear.DEltGVSA.js"), "../../../../icons/dist/assets/globe.svg": () => import("./globe.DG6uw6fi.js"), "../../../../icons/dist/assets/grid.svg": () => import("./grid.DH1impeF.js"), "../../../../icons/dist/assets/guidance.svg": () => import("./guidance.BBYB3JpW.js"), "../../../../icons/dist/assets/haircross.svg": () => import("./haircross.D-whkit9.js"), "../../../../icons/dist/assets/hanger.svg": () => import("./hanger.Bo8qtNo5.js"), "../../../../icons/dist/assets/headphones.svg": () => import("./headphones.DjWXOuJJ.js"), "../../../../icons/dist/assets/heart.svg": () => import("./heart.D-BnHMb-.js"), "../../../../icons/dist/assets/hexagon-arrow-clockwise.svg": () => import("./hexagon-arrow-clockwise.D0eeDQQx.js"), "../../../../icons/dist/assets/horizontal-ellipsis.svg": () => import("./horizontal-ellipsis.ChdN6RnG.js"), "../../../../icons/dist/assets/house.svg": () => import("./house.BohpDQ3q.js"), "../../../../icons/dist/assets/imow.svg": () => import("./imow.Dh1oMqcW.js"), "../../../../icons/dist/assets/info.svg": () => import("./info.BZVg9FLA.js"), "../../../../icons/dist/assets/instagram.svg": () => import("./instagram.CIlKb7xj.js"), "../../../../icons/dist/assets/leave-fullscreen.svg": () => import("./leave-fullscreen.BC5iwDur.js"), "../../../../icons/dist/assets/lightbulb.svg": () => import("./lightbulb.DQ7TiRsr.js"), "../../../../icons/dist/assets/linkedin.svg": () => import("./linkedin.br5zvxco.js"), "../../../../icons/dist/assets/list-three-rows.svg": () => import("./list-three-rows.Cso4ybs8.js"), "../../../../icons/dist/assets/list-two-rows.svg": () => import("./list-two-rows.DOsZEv0-.js"), "../../../../icons/dist/assets/loading-spinner.svg": () => import("./loading-spinner.BukfMaU6.js"), "../../../../icons/dist/assets/lock.svg": () => import("./lock.Dw_GOpTn.js"), "../../../../icons/dist/assets/magnifying-glass-minus.svg": () => import("./magnifying-glass-minus.BYztw2P1.js"), "../../../../icons/dist/assets/magnifying-glass-plus.svg": () => import("./magnifying-glass-plus.BTgviDVh.js"), "../../../../icons/dist/assets/magnifying-glass.svg": () => import("./magnifying-glass.C8DfRaIO.js"), "../../../../icons/dist/assets/map.svg": () => import("./map.CXgG1iGz.js"), "../../../../icons/dist/assets/minus.svg": () => import("./minus.BkhCuIH4.js"), "../../../../icons/dist/assets/mobile.svg": () => import("./mobile.C1Kj9VnC.js"), "../../../../icons/dist/assets/nine-squares.svg": () => import("./nine-squares.DVsNAOzz.js"), "../../../../icons/dist/assets/note-check.svg": () => import("./note-check.CM_kmt0M.js"), "../../../../icons/dist/assets/note-plus.svg": () => import("./note-plus.Bkn78EyA.js"), "../../../../icons/dist/assets/note.svg": () => import("./note.CE0ACLn8.js"), "../../../../icons/dist/assets/number-input.svg": () => import("./number-input.BLhoh5mh.js"), "../../../../icons/dist/assets/paperclip.svg": () => import("./paperclip.BMerX4rj.js"), "../../../../icons/dist/assets/parcel.svg": () => import("./parcel.Ve9GL_EG.js"), "../../../../icons/dist/assets/pause.svg": () => import("./pause.B91Ejn-O.js"), "../../../../icons/dist/assets/pen.svg": () => import("./pen.CvKw2PvE.js"), "../../../../icons/dist/assets/percent.svg": () => import("./percent.BlB6rG-B.js"), "../../../../icons/dist/assets/petrol.svg": () => import("./petrol.Du6qAgp0.js"), "../../../../icons/dist/assets/phone.svg": () => import("./phone.DzdXfmNC.js"), "../../../../icons/dist/assets/pin-s.svg": () => import("./pin-s.DXgYuN9C.js"), "../../../../icons/dist/assets/pin.svg": () => import("./pin.DZfZr4El.js"), "../../../../icons/dist/assets/pinterest.svg": () => import("./pinterest.sUPAub_q.js"), "../../../../icons/dist/assets/placeholder.svg": () => import("./placeholder.Dbb0hT5R.js"), "../../../../icons/dist/assets/play.svg": () => import("./play.BDiY2JrT.js"), "../../../../icons/dist/assets/plug.svg": () => import("./plug.DZozve4C.js"), "../../../../icons/dist/assets/plus.svg": () => import("./plus.zdu17kAe.js"), "../../../../icons/dist/assets/printer.svg": () => import("./printer.CaFaWfeS.js"), "../../../../icons/dist/assets/prohibition-sign.svg": () => import("./prohibition-sign.DUFn0QiV.js"), "../../../../icons/dist/assets/questionmark.svg": () => import("./questionmark.QyDxanQy.js"), "../../../../icons/dist/assets/security.svg": () => import("./security.DkLw5ym4.js"), "../../../../icons/dist/assets/share.svg": () => import("./share.C3wwEl8n.js"), "../../../../icons/dist/assets/shirt.svg": () => import("./shirt.BC8W-yCI.js"), "../../../../icons/dist/assets/shop.svg": () => import("./shop.DdPV35mK.js"), "../../../../icons/dist/assets/sound-off.svg": () => import("./sound-off.D4kGcehG.js"), "../../../../icons/dist/assets/sound-on.svg": () => import("./sound-on.Cynkb0_t.js"), "../../../../icons/dist/assets/speechbubble.svg": () => import("./speechbubble.87vuoKUp.js"), "../../../../icons/dist/assets/speechbubbles.svg": () => import("./speechbubbles.CSFhpNJn.js"), "../../../../icons/dist/assets/square.svg": () => import("./square.D6PgEi_r.js"), "../../../../icons/dist/assets/star-half.svg": () => import("./star-half.DZTtM5Bw.js"), "../../../../icons/dist/assets/star.svg": () => import("./star.BkjednvI.js"), "../../../../icons/dist/assets/tag.svg": () => import("./tag.yO7uMsHj.js"), "../../../../icons/dist/assets/thumbs-down.svg": () => import("./thumbs-down.DeBD6wnK.js"), "../../../../icons/dist/assets/thumbs-up.svg": () => import("./thumbs-up.D-44gexH.js"), "../../../../icons/dist/assets/tiktok.svg": () => import("./tiktok.BWJTDGYm.js"), "../../../../icons/dist/assets/triangle-exclamationmark-colored.svg": () => import("./triangle-exclamationmark-colored.CbVC3Gzi.js"), "../../../../icons/dist/assets/triangle-exclamationmark-inverted.svg": () => import("./triangle-exclamationmark-inverted.BiGoK7TV.js"), "../../../../icons/dist/assets/triangle.svg": () => import("./triangle.ibv6NDnt.js"), "../../../../icons/dist/assets/truck.svg": () => import("./truck.xIk5wW6T.js"), "../../../../icons/dist/assets/twitch.svg": () => import("./twitch.C893cAK8.js"), "../../../../icons/dist/assets/two-people-screen.svg": () => import("./two-people-screen.BBLouaW4.js"), "../../../../icons/dist/assets/two-sheets.svg": () => import("./two-sheets.DWFmuL7N.js"), "../../../../icons/dist/assets/upload.svg": () => import("./upload.ZImTAIgx.js"), "../../../../icons/dist/assets/user.svg": () => import("./user.BMARueuy.js"), "../../../../icons/dist/assets/vertical-ellipsis.svg": () => import("./vertical-ellipsis.Bc9eBsDF.js"), "../../../../icons/dist/assets/wc.svg": () => import("./wc.gmKE1r5l.js"), "../../../../icons/dist/assets/whatsapp.svg": () => import("./whatsapp.CPpu-7Nn.js"), "../../../../icons/dist/assets/wifi-1bar.svg": () => import("./wifi-1bar.BcEP-r8w.js"), "../../../../icons/dist/assets/wifi-2bars.svg": () => import("./wifi-2bars.jDOd4Q3q.js"), "../../../../icons/dist/assets/wifi-off.svg": () => import("./wifi-off.D9xPqVWn.js"), "../../../../icons/dist/assets/wifi.svg": () => import("./wifi.CuQykF6X.js"), "../../../../icons/dist/assets/wind-rose.svg": () => import("./wind-rose.C-XcKdy-.js"), "../../../../icons/dist/assets/wrench.svg": () => import("./wrench.DMFV2S9u.js"), "../../../../icons/dist/assets/x.svg": () => import("./x.BqbpXd7O.js"), "../../../../icons/dist/assets/xing.svg": () => import("./xing.CiKYLbPq.js"), "../../../../icons/dist/assets/youtube.svg": () => import("./youtube.DrImaRSP.js") }), `../../../../icons/dist/assets/${t}.svg`, 8);
151
- } catch (a) {
152
- console.error(W("DSIcon", a instanceof Error ? a.message : String(a)));
153
- } finally {
154
- e(!1);
155
- }
156
- })());
157
- }, [t, i]), {
158
- isLoading: c,
159
- SVGIcon: (n = s.current) == null ? void 0 : n.default,
160
- setShouldLoad: o
161
- };
162
- }, ls = (t) => {
163
- const s = P.c(38);
164
- let i, o, c, e, n, r, a;
165
- s[0] !== t ? ({
166
- aria: i,
167
- className: o,
168
- name: n,
169
- size: r,
170
- source: e,
171
- theme: a,
172
- ...c
173
- } = t, s[0] = t, s[1] = i, s[2] = o, s[3] = c, s[4] = e, s[5] = n, s[6] = r, s[7] = a) : (i = s[1], o = s[2], c = s[3], e = s[4], n = s[5], r = s[6], a = s[7]);
174
- const m = n === void 0 ? "placeholder" : n, d = r === void 0 ? "large" : r, h = a === void 0 ? "light" : a, {
175
- SVGIcon: b,
176
- isLoading: u,
177
- setShouldLoad: f
178
- } = as(m), [, w] = C(m);
179
- let l;
180
- s[8] === Symbol.for("react.memo_cache_sentinel") ? (l = {
181
- "x-large": 24,
182
- large: 16,
183
- medium: 12,
184
- small: 10,
185
- "x-small": 8
186
- }, s[8] = l) : l = s[8];
187
- const k = l;
188
- let g;
189
- s[9] !== m || s[10] !== w ? (g = () => {
190
- w(m);
191
- }, s[9] = m, s[10] = w, s[11] = g) : g = s[11];
192
- let p;
193
- s[12] !== m ? (p = [m], s[12] = m, s[13] = p) : p = s[13], G(g, p);
194
- const S = !!e;
195
- let v;
196
- s[14] !== f ? (v = (q) => {
197
- f(q);
198
- }, s[14] = f, s[15] = v) : v = s[15];
199
- let z;
200
- s[16] !== S || s[17] !== v ? (z = {
201
- rootMargin: "200px 0px",
202
- triggerOnce: !0,
203
- fallbackInView: !0,
204
- skip: S,
205
- onChange: v
206
- }, s[16] = S, s[17] = v, s[18] = z) : z = s[18];
207
- const {
208
- ref: E
209
- } = Y(z);
210
- let I;
211
- s[19] !== e ? (I = (q) => (j) => {
212
- e && j && (j.src = q);
213
- }, s[19] = e, s[20] = I) : I = s[20];
214
- const L = I, N = h === "dark" && !e && !m.includes("-colored"), T = d === "x-large", V = d === "medium", O = d === "small", X = d === "x-small";
215
- let R;
216
- s[21] !== o || s[22] !== N || s[23] !== T || s[24] !== V || s[25] !== O || s[26] !== X ? (R = H(y.image, o, {
217
- [y.imageThemeDark]: N,
218
- [y.imageSizeXLarge]: T,
219
- [y.imageSizeMedium]: V,
220
- [y.imageSizeSmall]: O,
221
- [y.imageSizeXSmall]: X
222
- }), s[21] = o, s[22] = N, s[23] = T, s[24] = V, s[25] = O, s[26] = X, s[27] = R) : R = s[27];
223
- const _ = R;
224
- let M;
225
- return s[28] !== b || s[29] !== L || s[30] !== i || s[31] !== _ || s[32] !== u || s[33] !== E || s[34] !== c || s[35] !== d || s[36] !== e ? (M = e ? /* @__PURE__ */ A("img", { className: _, ref: L(e), width: k[d], height: k[d], loading: "lazy", alt: (i == null ? void 0 : i["aria-label"]) || "", ...c }) : !u && b ? /* @__PURE__ */ A(b, { className: _, title: (i == null ? void 0 : i["aria-label"]) || "", role: i != null && i["aria-label"] ? "img" : void 0, ...c }) : /* @__PURE__ */ A("div", { className: _, ref: E }), s[28] = b, s[29] = L, s[30] = i, s[31] = _, s[32] = u, s[33] = E, s[34] = c, s[35] = d, s[36] = e, s[37] = M) : M = s[37], M;
226
- };
227
- export {
228
- ls as D,
229
- vs as I,
230
- as as u
231
- };