@preply/ds-docs 8.0.0 → 8.1.0

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 (272) hide show
  1. package/dist/assets/{00.LayoutFlex.stories-Trn9fl1r.js → 00.LayoutFlex.stories-CJPNUukL.js} +1 -1
  2. package/dist/assets/{00.applications-DgG50o0h.js → 00.applications-CHoFW9PY.js} +1 -1
  3. package/dist/assets/{00.favicons.guide-BPbT_6WU.js → 00.favicons.guide-m8NVYXUO.js} +1 -1
  4. package/dist/assets/{00.token-explorer-ClCpyqpc.js → 00.token-explorer-S06gFTVo.js} +5 -5
  5. package/dist/assets/{00.using-responsive-props-Bb1iomQW.js → 00.using-responsive-props-DNiUCUtO.js} +1 -1
  6. package/dist/assets/{01.semantic-tokens-C27rrlvA.js → 01.semantic-tokens-BNmRyCQI.js} +1 -1
  7. package/dist/assets/{01.using-shorthand-props-Cx8UqLGh.js → 01.using-shorthand-props-CSbd7ZDD.js} +1 -1
  8. package/dist/assets/{10.Combinations.stories-DW0Awy7g.js → 10.Combinations.stories-Bf4zAY3P.js} +1 -1
  9. package/dist/assets/{10.fonts.guide-mlrpbwOs.js → 10.fonts.guide-BktEG4ph.js} +1 -1
  10. package/dist/assets/{10.ssr-Bxv1R5s2.js → 10.ssr-BbwK7fWg.js} +1 -1
  11. package/dist/assets/{11.languageFont.explorer.stories-CduWkRQi.js → 11.languageFont.explorer.stories-lwnDMUWi.js} +1 -1
  12. package/dist/assets/{11.ssr.app-router-DaFyxoYP.js → 11.ssr.app-router-BXgcsgaV.js} +1 -1
  13. package/dist/assets/{20.libraries-B1FxeNSm.js → 20.libraries-BKoiVKcg.js} +1 -1
  14. package/dist/assets/{2025-q4-ds-cleanup-CyVfiEF_.js → 2025-q4-ds-cleanup-C20R7P1E.js} +1 -1
  15. package/dist/assets/{30.icons.explorer-J5XXpjOy.js → 30.icons.explorer-C6gqZfEw.js} +1 -1
  16. package/dist/assets/{30.storybook-BXPxdYYA.js → 30.storybook-BU086d_1.js} +1 -1
  17. package/dist/assets/{40.illustrations.explorer-Ll2UaYWn.js → 40.illustrations.explorer-sGKyZB80.js} +1 -1
  18. package/dist/assets/{90.advanced-BkBCaIij.js → 90.advanced-C3TfwIci.js} +1 -1
  19. package/dist/assets/Accordion-DBIXJNVb.css +1 -0
  20. package/dist/assets/Accordion-DtRani72.js +23 -0
  21. package/dist/assets/{Accordion.stories-CwmuD6M9.js → Accordion.stories-BDpMgJHx.js} +1 -1
  22. package/dist/assets/{Accordion.tests.stories-DycRaTsm.js → Accordion.tests.stories-LbLhGVb0.js} +1 -1
  23. package/dist/assets/{AlertDialog.stories-CMG96OPW.js → AlertDialog.stories-CK0mLbh0.js} +13 -10
  24. package/dist/assets/Avatar-BPcCbrhe.js +6 -0
  25. package/dist/assets/{Avatar.stories-DcHCuUcU.js → Avatar.stories-BilrA2xu.js} +1 -1
  26. package/dist/assets/AvatarWithStatus.stories-BaukENZ_.js +41 -0
  27. package/dist/assets/Badge.stories-BrRB7hv6.js +89 -0
  28. package/dist/assets/Box.stories-hA85wpDP.js +44 -0
  29. package/dist/assets/BubbleCounter.stories-DB1-aaBe.js +242 -0
  30. package/dist/assets/Button-AikOy3Q-.js +18 -0
  31. package/dist/assets/{Button-Db3mZeHX.js → Button-BYz70lft.js} +1 -1
  32. package/dist/assets/{Button.stories-DZXg3fC6.js → Button.stories-CsWOdTeh.js} +1 -1
  33. package/dist/assets/{ButtonBase-LoF75NjE.js → ButtonBase-DKiQXFbP.js} +8 -1
  34. package/dist/assets/Checkbox-eYnPJ1-n.js +10 -0
  35. package/dist/assets/{Checkbox.stories-Wzzjomc-.js → Checkbox.stories-xBzyhd_f.js} +1 -1
  36. package/dist/assets/{Checkbox.tests.stories-CGPErtLg.js → Checkbox.tests.stories-Df-iD-u1.js} +1 -1
  37. package/dist/assets/Chips.stories-BaqCiRQG.js +146 -0
  38. package/dist/assets/{Color-ASIRERSW-B8huhEry.js → Color-ASIRERSW-DD8eAgj9.js} +1 -1
  39. package/dist/assets/{ComposingPopovers.stories-CYrydDT0.js → ComposingPopovers.stories-CFwmQp8K.js} +1 -1
  40. package/dist/assets/CountryFlag-DZQJZn_o.js +49 -0
  41. package/dist/assets/{CountryFlag.stories-CV_Ix2uc.js → CountryFlag.stories-C8Mc1_yd.js} +1 -1
  42. package/dist/assets/{CountryFlag.test.stories-D-_jZuZ1.js → CountryFlag.test.stories-DCuw0NAk.js} +1 -1
  43. package/dist/assets/Dialog-CD2H-lOB.js +39 -0
  44. package/dist/assets/{Dialog.stories-CLAeCRCv.js → Dialog.stories-DvfkWMTU.js} +1 -1
  45. package/dist/assets/DismissibleChips-B-j7Gjee.js +1 -0
  46. package/dist/assets/{DismissibleChips.stories-DYuvYDPR.js → DismissibleChips.stories-CTxymGab.js} +1 -1
  47. package/dist/assets/Divider-DiDaDI5b.js +1 -0
  48. package/dist/assets/{Divider.stories-DY-9haru.js → Divider.stories-DyOj8not.js} +1 -1
  49. package/dist/assets/{DocsRenderer-GHJI37HO-ZaAnf_mS.js → DocsRenderer-GHJI37HO-BxbQ2XBy.js} +2 -2
  50. package/dist/assets/DropdownMenu-Ccl6S3ye.js +1229 -0
  51. package/dist/assets/{DropdownMenu.stories-DRc0OM4l.js → DropdownMenu.stories-Cs1jjQWO.js} +1 -1
  52. package/dist/assets/FieldButton-DtWX-vqw.js +1 -0
  53. package/dist/assets/{FieldButton.stories-0iohAlVk.js → FieldButton.stories-DK9G7fSy.js} +1 -1
  54. package/dist/assets/FormControl-BLXEVBx7.js +7 -0
  55. package/dist/assets/{FormControl.stories-B-wRzqin.js → FormControl.stories-CASS1xGU.js} +1 -1
  56. package/dist/assets/Heading-D0lR4rid.js +1 -0
  57. package/dist/assets/{Heading.stories-C--u6-XB.js → Heading.stories-B5q63XQN.js} +1 -1
  58. package/dist/assets/{Icon-RSC-iQ3CU9mQ.js → Icon-RSC-C-an1Lyn.js} +1 -1
  59. package/dist/assets/Icon-WyYz69YA.js +8 -0
  60. package/dist/assets/{Icon.stories-DRfWUzol.js → Icon.stories-BzkS2uZc.js} +1 -1
  61. package/dist/assets/IconButton-C8Rarkrv.js +8 -0
  62. package/dist/assets/Input-BunxDHKi.js +48 -0
  63. package/dist/assets/InputContainer-kefs6DXh.js +2 -0
  64. package/dist/assets/{IntegrationWithReactHookForm.stories-D7Os2mOo.js → IntegrationWithReactHookForm.stories-Czvxwz3J.js} +1 -1
  65. package/dist/assets/IntlFormattedCurrency.stories-B9Pd8BUH.js +481 -0
  66. package/dist/assets/IntlFormattedDateTime.stories-AKauO7eF.js +361 -0
  67. package/dist/assets/{LayoutFlex-CtFx5gUZ.js → LayoutFlex-D80s0Som.js} +1 -1
  68. package/dist/assets/LayoutFlex-DIVchljU.js +1 -0
  69. package/dist/assets/LayoutFlexItem-6Snr9uXg.js +1 -0
  70. package/dist/assets/{LayoutGrid-CyPyNDw1.js → LayoutGrid-Dw4RHbpQ.js} +1 -1
  71. package/dist/assets/{LayoutGrid-Ddqp2KT2.js → LayoutGrid-pA_9kQtt.js} +1 -1
  72. package/dist/assets/{LayoutGrid.stories-D1L7aqlu.js → LayoutGrid.stories-Drcz8QQh.js} +1 -1
  73. package/dist/assets/LayoutGridItem-DFvyT8FJ.js +1 -0
  74. package/dist/assets/Link-ekAiZrlJ.js +5 -0
  75. package/dist/assets/{Link.stories-BGk_oU7W.js → Link.stories-Dab6Maa_.js} +1 -1
  76. package/dist/assets/Loader.stories-D9VhgIg-.js +37 -0
  77. package/dist/assets/MultiSelectChips-DuyKXiHT.js +2 -0
  78. package/dist/assets/{MultiSelectChips.stories-DMQnklfd.js → MultiSelectChips.stories--tnSYEZN.js} +1 -1
  79. package/dist/assets/NativeSelectField.stories-a3kuRP77.js +295 -0
  80. package/dist/assets/NumberField-838MqpbA.js +6 -0
  81. package/dist/assets/{NumberField.stories-CHm83Evu.js → NumberField.stories-CuSf_jB6.js} +1 -1
  82. package/dist/assets/ObserveIntersection-ZBxTBXPM.js +8 -0
  83. package/dist/assets/{ObserveIntersection.stories-Crg5XGQK.js → ObserveIntersection.stories-4Ckr8zaP.js} +1 -1
  84. package/dist/assets/OnboardingTooltip-BLBHoSL1.js +16 -0
  85. package/dist/assets/{OnboardingTooltip.stories-1rbEN6tf.js → OnboardingTooltip.stories-Bc-4EECh.js} +1 -1
  86. package/dist/assets/{OnboardingTooltip.tests.stories-DbaxrQeh.js → OnboardingTooltip.tests.stories-DgJ4guR6.js} +1 -1
  87. package/dist/assets/OnboardingTour-BAGZ8guW.js +4 -0
  88. package/dist/assets/OnboardingTour.stories-DnpcZTIc.js +46 -0
  89. package/dist/assets/{OnboardingTour.tests.stories-nH2oAAkE.js → OnboardingTour.tests.stories-5XMTdQ02.js} +1 -1
  90. package/dist/assets/PasswordField-BUJLCQvx.js +6 -0
  91. package/dist/assets/{PasswordField.stories-BpCu_Nmu.js → PasswordField.stories-DAsZcQLI.js} +1 -1
  92. package/dist/assets/{PreplyLogo.stories-C7DVat2q.js → PreplyLogo.stories-Ce0v2sJ5.js} +6 -4
  93. package/dist/assets/ProgressBar.stories-BOaHN7_n.js +44 -0
  94. package/dist/assets/ProgressSteps-GYp7G-Tb.js +2 -0
  95. package/dist/assets/{ProgressSteps.stories-DkKhdsEq.js → ProgressSteps.stories-C_-Veeij.js} +1 -1
  96. package/dist/assets/{PromoDialog-BD77J0Sb.js → PromoDialog-BSAN4jSA.js} +1 -1
  97. package/dist/assets/RangeSlider-ClEtgZ0-.js +4 -0
  98. package/dist/assets/{RangeSlider.stories-BR0J8t26.js → RangeSlider.stories-BKSV6I3h.js} +1 -1
  99. package/dist/assets/Rating.stories-C1RlhB2r.js +116 -0
  100. package/dist/assets/{RatingInput.stories-C3TFrxw_.js → RatingInput.stories-k9b8qlPj.js} +54 -27
  101. package/dist/assets/SelectField-CPaEsici.js +19 -0
  102. package/dist/assets/{SelectField.stories-BkyQpgee.js → SelectField.stories-CY5qTUL5.js} +1 -1
  103. package/dist/assets/ShowOnIntersection.stories-BfrL6rMT.js +17 -0
  104. package/dist/assets/SingleSelectChips-CXWdLruJ.js +2 -0
  105. package/dist/assets/{SingleSelectChips.stories-C62wkEv2.js → SingleSelectChips.stories-DwXjQ8nU.js} +1 -1
  106. package/dist/assets/Slider-DN87jqz1.js +2 -0
  107. package/dist/assets/{Slider.stories-Ctv9GCye.js → Slider.stories-DZuBeZLh.js} +1 -1
  108. package/dist/assets/{Spinner-BtlYJQrD.js → Spinner-CEUinG6a.js} +1 -1
  109. package/dist/assets/Stars-WlopisEB.js +1 -0
  110. package/dist/assets/Steps-B3sJKCt8.js +26 -0
  111. package/dist/assets/{Steps.stories-DcQb87xm.js → Steps.stories-chKUeuea.js} +1 -1
  112. package/dist/assets/Switch-CtPeAbfr.js +12 -0
  113. package/dist/assets/{Switch.stories-DDel8GN3.js → Switch.stories-B_IVCVlM.js} +1 -1
  114. package/dist/assets/{Text-D2ssZW1_.js → Text-GK7LNFMQ.js} +1 -1
  115. package/dist/assets/{Text-BaQf6qnx.js → Text-Ggy7OGl1.js} +1 -1
  116. package/dist/assets/Text.stories-B_sG3ZC6.js +67 -0
  117. package/dist/assets/TextField-7isgKKW2.js +6 -0
  118. package/dist/assets/{TextField.stories-B7yiySGl.js → TextField.stories-BK_kfOl9.js} +1 -1
  119. package/dist/assets/TextHighlighted.stories-CTpCe7OM.js +32 -0
  120. package/dist/assets/TextInline.stories-l3TWjL_H.js +50 -0
  121. package/dist/assets/TextareaField-BOB_smYj.js +53 -0
  122. package/dist/assets/{TextareaField.stories-CSn1Y1es.js → TextareaField.stories-CxSzh-Uv.js} +1 -1
  123. package/dist/assets/{Toast.stories-WMpE2CUA.js → Toast.stories-Bwe-dOQQ.js} +15 -13
  124. package/dist/assets/{TokyoUIAttach-DEHypfd2.js → TokyoUIAttach-CVSc5UUC.js} +1 -1
  125. package/dist/assets/{TokyoUIAvailability7LateNight-DqIhY2LI.js → TokyoUIAvailability7LateNight-QoCY6qIK.js} +1 -1
  126. package/dist/assets/{TokyoUICheck-DFXDKlST.js → TokyoUICheck-CrSqYwS5.js} +1 -1
  127. package/dist/assets/{TokyoUICheckmark-CC75JvoU.js → TokyoUICheckmark-Bl_Jmxk5.js} +1 -1
  128. package/dist/assets/{TokyoUIChevronDown-CV0GTyb_.js → TokyoUIChevronDown-DVjyTqN8.js} +1 -1
  129. package/dist/assets/{TokyoUIClose-Bf-N_4aK.js → TokyoUIClose-DRL_GMkk.js} +1 -1
  130. package/dist/assets/{TokyoUIEmojiFrowning-CEEry-ar.js → TokyoUIEmojiFrowning-DGsx7ij_.js} +1 -1
  131. package/dist/assets/{TokyoUIEye-CvZmomj8.js → TokyoUIEye-CZDCU-n2.js} +1 -1
  132. package/dist/assets/{TokyoUIFav-CV3HlDno.js → TokyoUIFav-BAlSY-Li.js} +1 -1
  133. package/dist/assets/{TokyoUIInfo-S99idYL9.js → TokyoUIInfo-BT07RYtx.js} +1 -1
  134. package/dist/assets/{TokyoUILanguage-dDro1t5I.js → TokyoUILanguage-CKT6G-hS.js} +1 -1
  135. package/dist/assets/{TokyoUILibraryExplore-3boXHfri.js → TokyoUILibraryExplore-DPCvnX1V.js} +1 -1
  136. package/dist/assets/{TokyoUILock-Ddb0LZOj.js → TokyoUILock-CNyfiUjE.js} +1 -1
  137. package/dist/assets/{TokyoUIMessages-DddkimKx.js → TokyoUIMessages-BoJwKuox.js} +1 -1
  138. package/dist/assets/{TokyoUIMinus-BM97SQFD.js → TokyoUIMinus-BDerH3qn.js} +1 -1
  139. package/dist/assets/{TokyoUINotebook-CzW-xZ-S.js → TokyoUINotebook-C3enhUqk.js} +1 -1
  140. package/dist/assets/{TokyoUINotesWithPad-CZPHd-s1.js → TokyoUINotesWithPad-DDdTrKUJ.js} +1 -1
  141. package/dist/assets/{TokyoUIPhone-B41go8ay.js → TokyoUIPhone-C63CxeYt.js} +1 -1
  142. package/dist/assets/{TokyoUISettings-r8yUukmp.js → TokyoUISettings-C7knm4s4.js} +1 -1
  143. package/dist/assets/{TokyoUIStarFilled-DAFjKfr3.js → TokyoUIStarFilled-7p3O_EW6.js} +1 -1
  144. package/dist/assets/{TokyoUITag-BOlMKPwF.js → TokyoUITag-CK01JcnA.js} +1 -1
  145. package/dist/assets/{TokyoUIUpload-DqgHhwt9.js → TokyoUIUpload-B14jGQkb.js} +1 -1
  146. package/dist/assets/{TokyoUIUser-DQL_EW5M.js → TokyoUIUser-t3Qzgb8C.js} +1 -1
  147. package/dist/assets/Tooltip-CakRxo11.js +9 -0
  148. package/dist/assets/{Tooltip.stories-BCIj91Tz.js → Tooltip.stories-Qzb9EJ0v.js} +1 -1
  149. package/dist/assets/{Tooltip.tests.stories-BuldDnaS.js → Tooltip.tests.stories-C5tNFIJW.js} +1 -1
  150. package/dist/assets/VisuallyHidden-0cOrCoMj.js +1 -0
  151. package/dist/assets/{WithTooltip-IO6J4KBT-sdWoJ5kA.js → WithTooltip-IO6J4KBT-CVi9luQ3.js} +1 -1
  152. package/dist/assets/{align-self-Dj6Hw1ei.js → align-self-DXFgdd9y.js} +1 -1
  153. package/dist/assets/{axe-COSWniE7.js → axe-CA--ofMx.js} +1 -1
  154. package/dist/assets/{breakpoints-r5YNDlDj.js → breakpoints-BGz3SsyO.js} +1 -1
  155. package/dist/assets/{breakpoints-DAuVWyVl.js → breakpoints-Da7bu5DX.js} +1 -1
  156. package/dist/assets/{breakpoints-Bq0N-WKo.js → breakpoints-DwwWtHRA.js} +1 -1
  157. package/dist/assets/{changelog-DfbyLrVG.js → changelog-_SsC_nm-.js} +9 -1
  158. package/dist/assets/{client-B0RkqQz5.js → client-C1Ngt9Qe.js} +1 -1
  159. package/dist/assets/constants-B0ADAI0D.js +2808 -0
  160. package/dist/assets/createRequiredContext-lHJWE74K.js +241 -0
  161. package/dist/assets/{formatter-QJ4M4OGQ-DkyPaaGf.js → formatter-QJ4M4OGQ-DJgH6bdK.js} +1 -1
  162. package/dist/assets/{getTokenVar-DAf6Dqww.js → getTokenVar-DB5eH9Ap.js} +1 -1
  163. package/dist/assets/getTokenVar-voCaDXiD.js +1 -0
  164. package/dist/assets/{gradientBorders-BLAK8Z-v.js → gradientBorders-K7rKBnwC.js} +1 -1
  165. package/dist/assets/{hover-Bny3ccNR.js → hover-BtA-Yl1z.js} +1 -1
  166. package/dist/assets/{hover-BK-WJeH0.js → hover-CW3fXVyT.js} +1 -1
  167. package/dist/assets/{hover-reiWegqW.js → hover-Cd3sl7nT.js} +1 -1
  168. package/dist/assets/{iframe-CWgEsn_I.js → iframe-Bqhe7wZw.js} +42 -42
  169. package/dist/assets/{index-CC1MzVDH.js → index-B4xlYZ9u.js} +1 -1
  170. package/dist/assets/{index-DN8YXDVa.js → index-BnwQ8UTH.js} +1 -1
  171. package/dist/assets/{index-BAEPs7Y-.js → index-Bs4_IdoP.js} +1 -1
  172. package/dist/assets/{index-BiSZC2o0.js → index-CvK1AFYo.js} +1 -1
  173. package/dist/assets/index-DN0YeobD.js +81 -0
  174. package/dist/assets/{index-D3eu31XZ.js → index-PcJZmKzo.js} +1 -1
  175. package/dist/assets/{intro-BstePxGk.js → intro-BxKry9mD.js} +1 -1
  176. package/dist/assets/{layout-relative-Dd1oD7no.js → layout-relative-BMwmwxop.js} +1 -1
  177. package/dist/assets/{layout-relative.module-1z75aSwo-BlGCRaGo.js → layout-relative.module-1z75aSwo-B6m6YCBc.js} +1 -1
  178. package/dist/assets/{layout-relative.module-DtLbhGhZ.js → layout-relative.module-Bq_t8Q7G.js} +1 -1
  179. package/dist/assets/{mcp-BnvXyj7V.js → mcp-CyT8ZN-W.js} +1 -1
  180. package/dist/assets/{message-qc_MCF3J.js → message-CIDvwUOa.js} +1 -1
  181. package/dist/assets/{migrating-from-less-DeeEWMYL.js → migrating-from-less-DtmEYD28.js} +1 -1
  182. package/dist/assets/{options-BM-sJPHZ.js → options-DCAXF_A_.js} +1 -1
  183. package/dist/assets/{playground.stories-CvceWUq7.js → playground.stories-CuVmaYLs.js} +1 -1
  184. package/dist/assets/{react-18-Cn7fKkEX.js → react-18-DhGD9Avy.js} +1 -1
  185. package/dist/assets/{render-icon-CcTDatKg.js → render-icon-CGybdjoN.js} +1 -1
  186. package/dist/assets/{render-icon-DCa6Vadq.js → render-icon-DCiBrDQC.js} +1 -1
  187. package/dist/assets/{shared-strings-I9WUPC_k.js → shared-strings-BiyYhJiL.js} +1 -1
  188. package/dist/assets/{styled-components.browser.esm-BZ4U6qbl.js → styled-components.browser.esm-B02Fw6Mt.js} +1 -1
  189. package/dist/assets/{styled-components.browser.esm-DsfIp3u0.js → styled-components.browser.esm-smt_VktF.js} +1 -1
  190. package/dist/assets/{syntaxhighlighter-IQDEPFLK-BGcWLhM8.js → syntaxhighlighter-IQDEPFLK-AN8xk1AF.js} +1 -1
  191. package/dist/assets/{text-accent-CvDqGyH8.js → text-accent-CPEkSAkL.js} +1 -1
  192. package/dist/assets/{text-centered-nO9Uq8mN.js → text-centered-Cz4XMW69.js} +1 -1
  193. package/dist/assets/{text-centered-4FcavPd_.js → text-centered-ZFu7naC1.js} +1 -1
  194. package/dist/assets/{tokens-kjKX1OOx.js → tokens-BN7eHoH5.js} +1 -1
  195. package/dist/assets/tokens-BjR3hk0d.js +1 -0
  196. package/dist/assets/{tokens-as7cem5X.js → tokens-C3Hqqzis.js} +1 -1
  197. package/dist/assets/{tokens-BEq-FCvC.js → tokens-CyrwuS34.js} +1 -1
  198. package/dist/assets/{useControllableState-CB098DmS.js → useControllableState-DJZkoEjQ.js} +1 -1
  199. package/dist/assets/useHostname-fR0CbQub.js +1 -0
  200. package/dist/assets/{useMergeRefs-Cma75nFm.js → useMergeRefs--KSfryp8.js} +1 -1
  201. package/dist/assets/{useMergeRefs-DrdDSUH5.js → useMergeRefs-BnpMjIUt.js} +1 -1
  202. package/dist/assets/{useOpenInteractionType-DeCsKa-1.js → useOpenInteractionType-Dz9R-1-1.js} +1 -1
  203. package/dist/assets/{usePortalElement-CK58JXLC.js → usePortalElement-B5d1vkJz.js} +1 -1
  204. package/dist/assets/{useStableCallback-Cg8WkzY2.js → useStableCallback-BBl3RGfC.js} +1 -1
  205. package/dist/assets/{useToken-Dy7e7qui.js → useToken-BjKJKHaW.js} +1 -1
  206. package/dist/assets/{welcome-DnB7jiTV.js → welcome-C-gJqbc0.js} +1 -1
  207. package/dist/assets/{zeroheight-BLhCMMHP.js → zeroheight-2_PedqiZ.js} +1 -1
  208. package/dist/iframe.html +1 -1
  209. package/dist/preview-stats.json +9682 -9682
  210. package/dist/project.json +1 -1
  211. package/package.json +4 -4
  212. package/dist/assets/Accordion-Bjcf873X.js +0 -1
  213. package/dist/assets/Accordion-Dmg5cVbY.css +0 -1
  214. package/dist/assets/Avatar-BHWZ6iZn.js +0 -1
  215. package/dist/assets/AvatarWithStatus.stories-BQ9j0v-r.js +0 -36
  216. package/dist/assets/Badge.stories-CjBGqctl.js +0 -82
  217. package/dist/assets/Box.stories-F4YHVHtw.js +0 -44
  218. package/dist/assets/BubbleCounter.stories-W-QyzoZM.js +0 -238
  219. package/dist/assets/Button-KgwWX-kY.js +0 -1
  220. package/dist/assets/Checkbox-Bdi6imAj.js +0 -1
  221. package/dist/assets/Chips.stories-BwJJ2fGW.js +0 -140
  222. package/dist/assets/CountryFlag-BsylP9aC.js +0 -1
  223. package/dist/assets/Dialog-DBQC7rLf.js +0 -9
  224. package/dist/assets/DismissibleChips-BTc-ZGnG.js +0 -1
  225. package/dist/assets/Divider-aEUPegmM.js +0 -1
  226. package/dist/assets/DropdownMenu-Eg6NEumE.js +0 -1
  227. package/dist/assets/FieldButton-CE-kxD0a.js +0 -1
  228. package/dist/assets/FormControl-DI4h0Rn1.js +0 -1
  229. package/dist/assets/Heading-jyl-6mnE.js +0 -1
  230. package/dist/assets/Icon-BbVZ9NP7.js +0 -1
  231. package/dist/assets/IconButton-DvmHN9Bh.js +0 -1
  232. package/dist/assets/Input-qJLg_DQg.js +0 -1
  233. package/dist/assets/InputContainer-DxTdO3rg.js +0 -1
  234. package/dist/assets/IntlFormattedCurrency.stories-DsOonDv4.js +0 -1
  235. package/dist/assets/IntlFormattedDateTime.stories-CEfl-J8a.js +0 -1
  236. package/dist/assets/LayoutFlex-TxluN-Yw.js +0 -1
  237. package/dist/assets/LayoutFlexItem-CG7Crdkt.js +0 -1
  238. package/dist/assets/LayoutGridItem-D9IWdXiI.js +0 -1
  239. package/dist/assets/Link-DBtlp5DH.js +0 -1
  240. package/dist/assets/Loader.stories-BW_8B3fu.js +0 -37
  241. package/dist/assets/MultiSelectChips-vFJ-9-kf.js +0 -1
  242. package/dist/assets/NativeSelectField.stories-iktDEjbi.js +0 -243
  243. package/dist/assets/NumberField-DachAjtc.js +0 -1
  244. package/dist/assets/ObserveIntersection-Gkcdp17D.js +0 -1
  245. package/dist/assets/OnboardingTooltip-Clfuyvq4.js +0 -1
  246. package/dist/assets/OnboardingTour-DlsIO1Gv.js +0 -1
  247. package/dist/assets/OnboardingTour.stories-eO-vrmSq.js +0 -42
  248. package/dist/assets/PasswordField-Cb1fJLBM.js +0 -1
  249. package/dist/assets/ProgressBar.stories-CJTsS-k-.js +0 -43
  250. package/dist/assets/ProgressSteps-LRQw0WxN.js +0 -1
  251. package/dist/assets/RangeSlider-C7BMuKPO.js +0 -3
  252. package/dist/assets/Rating.stories-C4odIVLb.js +0 -115
  253. package/dist/assets/SelectField-qkC5zVlE.js +0 -1
  254. package/dist/assets/ShowOnIntersection.stories-DMrPWP_X.js +0 -17
  255. package/dist/assets/SingleSelectChips-URtzgStH.js +0 -1
  256. package/dist/assets/Slider-DwJ11rhB.js +0 -1
  257. package/dist/assets/Stars-noMq-Uej.js +0 -1
  258. package/dist/assets/Steps-ZKxhdp_N.js +0 -1
  259. package/dist/assets/Switch-CukXNUpT.js +0 -1
  260. package/dist/assets/Text.stories-DAYsyFR5.js +0 -58
  261. package/dist/assets/TextField-D3FL7yE0.js +0 -1
  262. package/dist/assets/TextHighlighted.stories-GrC4GB2n.js +0 -32
  263. package/dist/assets/TextInline.stories-CLDPL3xz.js +0 -50
  264. package/dist/assets/TextareaField-lItTPjhC.js +0 -1
  265. package/dist/assets/Tooltip-nL6-qc2S.js +0 -1
  266. package/dist/assets/VisuallyHidden-CBzPUOy4.js +0 -1
  267. package/dist/assets/constants-DiGI6Pao.js +0 -47
  268. package/dist/assets/createRequiredContext-Dh2RVm_M.js +0 -1
  269. package/dist/assets/getTokenVar-DGGittrV.js +0 -1
  270. package/dist/assets/index-DVMjwMfI.js +0 -1
  271. package/dist/assets/tokens-I7xc-5gL.js +0 -1
  272. package/dist/assets/useHostname-DENeD9To.js +0 -1
@@ -1,4 +1,4 @@
1
- import{j as e,M as t}from"./iframe-CWgEsn_I.js";import{useMDXComponents as o}from"./index-BiSZC2o0.js";import"./preload-helper-Dp1pzeXC.js";function i(s){const n={a:"a",h1:"h1",li:"li",p:"p",ul:"ul",...o(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx(t,{title:"Guides/Custom Components/Introduction"}),`
1
+ import{j as e,M as t}from"./iframe-Bqhe7wZw.js";import{useMDXComponents as o}from"./index-CvK1AFYo.js";import"./preload-helper-Dp1pzeXC.js";function i(s){const n={a:"a",h1:"h1",li:"li",p:"p",ul:"ul",...o(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx(t,{title:"Guides/Custom Components/Introduction"}),`
2
2
  `,e.jsx(n.h1,{id:"developing-custom-components-with-ds-primitives",children:"Developing custom components with DS primitives"}),`
3
3
  `,e.jsx(n.p,{children:`The DS provides lower level primitives for building custom components that you can use
4
4
  if existing DS components are not enough to implement complex or unique designs.
@@ -1 +1 @@
1
- import{ab as y,R as l,aj as v,j as C,ak as E,r as a}from"./iframe-CWgEsn_I.js";function h(e){const t=e+"CollectionProvider",[f,A]=y(t),[N,m]=f(t,{collectionRef:{current:null},itemMap:new Map}),x=c=>{const{scope:o,children:i}=c,r=l.useRef(null),n=l.useRef(new Map).current;return C.jsx(N,{scope:o,itemMap:n,collectionRef:r,children:i})};x.displayName=t;const d=e+"CollectionSlot",T=E(d),R=l.forwardRef((c,o)=>{const{scope:i,children:r}=c,n=m(d,i),s=v(o,n.collectionRef);return C.jsx(T,{ref:s,children:r})});R.displayName=d;const p=e+"CollectionItemSlot",M="data-radix-collection-item",O=E(p),I=l.forwardRef((c,o)=>{const{scope:i,children:r,...n}=c,s=l.useRef(null),S=v(o,s),u=m(p,i);return l.useEffect(()=>(u.itemMap.set(s,{ref:s,...n}),()=>void u.itemMap.delete(s))),C.jsx(O,{[M]:"",ref:S,children:r})});I.displayName=p;function _(c){const o=m(e+"CollectionConsumer",c);return l.useCallback(()=>{const r=o.collectionRef.current;if(!r)return[];const n=Array.from(r.querySelectorAll(`[${M}]`));return Array.from(o.itemMap.values()).sort((u,j)=>n.indexOf(u.ref.current)-n.indexOf(j.ref.current))},[o.collectionRef,o.itemMap])}return[{Provider:x,Slot:R,ItemSlot:I},_,A]}var D=a.createContext(void 0);function b(e){const t=a.useContext(D);return e||t||"ltr"}function w(e){const t=a.useRef({value:e,previous:e});return a.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}function L(e,[t,f]){return Math.min(f,Math.max(t,e))}export{L as a,w as b,h as c,b as u};
1
+ import{ab as y,R as l,aj as v,j as C,ak as E,r as a}from"./iframe-Bqhe7wZw.js";function h(e){const t=e+"CollectionProvider",[f,A]=y(t),[N,m]=f(t,{collectionRef:{current:null},itemMap:new Map}),x=c=>{const{scope:o,children:i}=c,r=l.useRef(null),n=l.useRef(new Map).current;return C.jsx(N,{scope:o,itemMap:n,collectionRef:r,children:i})};x.displayName=t;const d=e+"CollectionSlot",T=E(d),R=l.forwardRef((c,o)=>{const{scope:i,children:r}=c,n=m(d,i),s=v(o,n.collectionRef);return C.jsx(T,{ref:s,children:r})});R.displayName=d;const p=e+"CollectionItemSlot",M="data-radix-collection-item",O=E(p),I=l.forwardRef((c,o)=>{const{scope:i,children:r,...n}=c,s=l.useRef(null),S=v(o,s),u=m(p,i);return l.useEffect(()=>(u.itemMap.set(s,{ref:s,...n}),()=>void u.itemMap.delete(s))),C.jsx(O,{[M]:"",ref:S,children:r})});I.displayName=p;function _(c){const o=m(e+"CollectionConsumer",c);return l.useCallback(()=>{const r=o.collectionRef.current;if(!r)return[];const n=Array.from(r.querySelectorAll(`[${M}]`));return Array.from(o.itemMap.values()).sort((u,j)=>n.indexOf(u.ref.current)-n.indexOf(j.ref.current))},[o.collectionRef,o.itemMap])}return[{Provider:x,Slot:R,ItemSlot:I},_,A]}var D=a.createContext(void 0);function b(e){const t=a.useContext(D);return e||t||"ltr"}function w(e){const t=a.useRef({value:e,previous:e});return a.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}function L(e,[t,f]){return Math.min(f,Math.max(t,e))}export{L as a,w as b,h as c,b as u};
@@ -1,4 +1,4 @@
1
- import{aG as p,aH as T,_ as $,aI as B,r as S}from"./iframe-CWgEsn_I.js";function Ne(e,t,r){if(r===void 0&&(r=Error),!e)throw new r(t)}var m;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(m||(m={}));var v;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(v||(v={}));var R;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(R||(R={}));function re(e){return e.type===v.literal}function Se(e){return e.type===v.argument}function le(e){return e.type===v.number}function fe(e){return e.type===v.date}function me(e){return e.type===v.time}function ce(e){return e.type===v.select}function Ee(e){return e.type===v.plural}function Pe(e){return e.type===v.pound}function pe(e){return e.type===v.tag}function ve(e){return!!(e&&typeof e=="object"&&e.type===R.number)}function W(e){return!!(e&&typeof e=="object"&&e.type===R.dateTime)}var xe=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Le=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Re(e){var t={};return e.replace(Le,function(r){var n=r.length;switch(r[0]){case"G":t.era=n===4?"long":n===5?"narrow":"short";break;case"y":t.year=n===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=n===4?"long":n===5?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var Ce=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Me(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Ce).filter(function(f){return f.length>0}),r=[],n=0,i=t;n<i.length;n++){var a=i[n],s=a.split("/");if(s.length===0)throw new Error("Invalid number skeleton");for(var o=s[0],h=s.slice(1),u=0,l=h;u<l.length;u++){var c=l[u];if(c.length===0)throw new Error("Invalid number skeleton")}r.push({stem:o,options:h})}return r}function Oe(e){return e.replace(/^(.*?)-/,"")}var ne=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,be=/^(@+)?(\+|#+)?[rs]?$/g,De=/(\*)(0+)|(#+)(0+)|(0+)/g,ge=/^(0+)$/;function ie(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(be,function(r,n,i){return typeof i!="string"?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):i==="+"?t.minimumSignificantDigits=n.length:n[0]==="#"?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof i=="string"?i.length:0)),""}),t}function Te(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Ge(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if(r==="+!"?(t.signDisplay="always",e=e.slice(2)):r==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!ge.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function ae(e){var t={},r=Te(e);return r||t}function Ue(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=Oe(i.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=p(p(p({},t),{notation:"scientific"}),i.options.reduce(function(h,u){return p(p({},h),ae(u))},{}));continue;case"engineering":t=p(p(p({},t),{notation:"engineering"}),i.options.reduce(function(h,u){return p(p({},h),ae(u))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(De,function(h,u,l,c,f,x){if(u)t.minimumIntegerDigits=l.length;else{if(c&&f)throw new Error("We currently do not support maximum integer digits");if(x)throw new Error("We currently do not support exact integer digits")}return""});continue}if(ge.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(ne.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(ne,function(h,u,l,c,f,x){return l==="*"?t.minimumFractionDigits=u.length:c&&c[0]==="#"?t.maximumFractionDigits=c.length:f&&x?(t.minimumFractionDigits=f.length,t.maximumFractionDigits=f.length+x.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var a=i.options[0];a==="w"?t=p(p({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=p(p({},t),ie(a)));continue}if(be.test(i.stem)){t=p(p({},t),ie(i.stem));continue}var s=Te(i.stem);s&&(t=p(p({},t),s));var o=Ge(i.stem);o&&(t=p(p({},t),o))}return t}var F={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function Fe(e,t){for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if(i==="j"){for(var a=0;n+1<e.length&&e.charAt(n+1)===i;)a++,n++;var s=1+(a&1),o=a<2?1:3+(a>>1),h="a",u=we(t);for((u=="H"||u=="k")&&(o=0);o-- >0;)r+=h;for(;s-- >0;)r=u+r}else i==="J"?r+="H":r+=i}return r}function we(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,n;r!=="root"&&(n=e.maximize().region);var i=F[n||""]||F[r||""]||F["".concat(r,"-001")]||F["001"];return i[0]}var X,Ve=new RegExp("^".concat(xe.source,"*")),Xe=new RegExp("".concat(xe.source,"*$"));function E(e,t){return{start:e,end:t}}var ke=!!String.prototype.startsWith&&"_a".startsWith("a",1),We=!!String.fromCodePoint,Ze=!!Object.fromEntries,je=!!String.prototype.codePointAt,ze=!!String.prototype.trimStart,Je=!!String.prototype.trimEnd,qe=!!Number.isSafeInteger,Qe=qe?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Z=!0;try{var Ye=He("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Z=((X=Ye.exec("a"))===null||X===void 0?void 0:X[0])==="a"}catch{Z=!1}var se=ke?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},j=We?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",i=t.length,a=0,s;i>a;){if(s=t[a++],s>1114111)throw RangeError(s+" is not a valid code point");n+=s<65536?String.fromCharCode(s):String.fromCharCode(((s-=65536)>>10)+55296,s%1024+56320)}return n},oe=Ze?Object.fromEntries:function(t){for(var r={},n=0,i=t;n<i.length;n++){var a=i[n],s=a[0],o=a[1];r[s]=o}return r},de=je?function(t,r){return t.codePointAt(r)}:function(t,r){var n=t.length;if(!(r<0||r>=n)){var i=t.charCodeAt(r),a;return i<55296||i>56319||r+1===n||(a=t.charCodeAt(r+1))<56320||a>57343?i:(i-55296<<10)+(a-56320)+65536}},$e=ze?function(t){return t.trimStart()}:function(t){return t.replace(Ve,"")},Ke=Je?function(t){return t.trimEnd()}:function(t){return t.replace(Xe,"")};function He(e,t){return new RegExp(e,t)}var z;if(Z){var he=He("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");z=function(t,r){var n;he.lastIndex=r;var i=he.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}}else z=function(t,r){for(var n=[];;){var i=de(t,r);if(i===void 0||ye(i)||nt(i))break;n.push(i),r+=i>=65536?2:1}return j.apply(void 0,n)};var et=(function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,n){for(var i=[];!this.isEOF();){var a=this.char();if(a===123){var s=this.parseArgument(t,n);if(s.err)return s;i.push(s.val)}else{if(a===125&&t>0)break;if(a===35&&(r==="plural"||r==="selectordinal")){var o=this.clonePosition();this.bump(),i.push({type:v.pound,location:E(o,this.clonePosition())})}else if(a===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(m.UNMATCHED_CLOSING_TAG,E(this.clonePosition(),this.clonePosition()))}else if(a===60&&!this.ignoreTag&&J(this.peek()||0)){var s=this.parseTag(t,r);if(s.err)return s;i.push(s.val)}else{var s=this.parseLiteral(t,r);if(s.err)return s;i.push(s.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:v.literal,value:"<".concat(i,"/>"),location:E(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var a=this.parseMessage(t+1,r,!0);if(a.err)return a;var s=a.val,o=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!J(this.char()))return this.error(m.INVALID_TAG,E(o,this.clonePosition()));var h=this.clonePosition(),u=this.parseTagName();return i!==u?this.error(m.UNMATCHED_CLOSING_TAG,E(h,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:v.tag,value:i,children:s,location:E(n,this.clonePosition())},err:null}:this.error(m.INVALID_TAG,E(o,this.clonePosition())))}else return this.error(m.UNCLOSED_TAG,E(n,this.clonePosition()))}else return this.error(m.INVALID_TAG,E(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&rt(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),i="";;){var a=this.tryParseQuote(r);if(a){i+=a;continue}var s=this.tryParseUnquoted(t,r);if(s){i+=s;continue}var o=this.tryParseLeftAngleBracket();if(o){i+=o;continue}break}var h=E(n,this.clonePosition());return{val:{type:v.literal,value:i,location:h},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!tt(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return j.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&t>0?null:(this.bump(),j(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,E(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(m.EMPTY_ARGUMENT,E(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(m.MALFORMED_ARGUMENT,E(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,E(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:v.argument,value:i,location:E(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,E(n,this.clonePosition())):this.parseArgumentOptions(t,r,i,n);default:return this.error(m.MALFORMED_ARGUMENT,E(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=z(this.message,r),i=r+n.length;this.bumpTo(i);var a=this.clonePosition(),s=E(t,a);return{value:n,location:s}},e.prototype.parseArgumentOptions=function(t,r,n,i){var a,s=this.clonePosition(),o=this.parseIdentifierIfPossible().value,h=this.clonePosition();switch(o){case"":return this.error(m.EXPECT_ARGUMENT_TYPE,E(s,h));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var l=this.clonePosition(),c=this.parseSimpleArgStyleIfPossible();if(c.err)return c;var f=Ke(c.val);if(f.length===0)return this.error(m.EXPECT_ARGUMENT_STYLE,E(this.clonePosition(),this.clonePosition()));var x=E(l,this.clonePosition());u={style:f,styleLocation:x}}var g=this.tryParseArgumentClose(i);if(g.err)return g;var d=E(i,this.clonePosition());if(u&&se(u==null?void 0:u.style,"::",0)){var I=$e(u.style.slice(2));if(o==="number"){var c=this.parseNumberSkeletonFromString(I,u.styleLocation);return c.err?c:{val:{type:v.number,value:n,location:d,style:c.val},err:null}}else{if(I.length===0)return this.error(m.EXPECT_DATE_TIME_SKELETON,d);var M=I;this.locale&&(M=Fe(I,this.locale));var f={type:R.dateTime,pattern:M,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?Re(M):{}},L=o==="date"?v.date:v.time;return{val:{type:L,value:n,location:d,style:f},err:null}}}return{val:{type:o==="number"?v.number:o==="date"?v.date:v.time,value:n,location:d,style:(a=u==null?void 0:u.style)!==null&&a!==void 0?a:null},err:null}}case"plural":case"selectordinal":case"select":{var H=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS,E(H,p({},H)));this.bumpSpace();var O=this.parseIdentifierIfPossible(),A=0;if(o!=="select"&&O.value==="offset"){if(!this.bumpIf(":"))return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,E(this.clonePosition(),this.clonePosition()));this.bumpSpace();var c=this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(c.err)return c;this.bumpSpace(),O=this.parseIdentifierIfPossible(),A=c.val}var U=this.tryParsePluralOrSelectOptions(t,o,r,O);if(U.err)return U;var g=this.tryParseArgumentClose(i);if(g.err)return g;var te=E(i,this.clonePosition());return o==="select"?{val:{type:v.select,value:n,options:oe(U.val),location:te},err:null}:{val:{type:v.plural,value:n,options:oe(U.val),offset:A,pluralType:o==="plural"?"cardinal":"ordinal",location:te},err:null}}default:return this.error(m.INVALID_ARGUMENT_TYPE,E(s,h))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,E(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(m.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,E(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=Me(t)}catch{return this.error(m.INVALID_NUMBER_SKELETON,r)}return{val:{type:R.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?Ue(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,i){for(var a,s=!1,o=[],h=new Set,u=i.value,l=i.location;;){if(u.length===0){var c=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var f=this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR,m.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;l=E(c,this.clonePosition()),u=this.message.slice(c.offset,this.offset())}else break}if(h.has(u))return this.error(r==="select"?m.DUPLICATE_SELECT_ARGUMENT_SELECTOR:m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);u==="other"&&(s=!0),this.bumpSpace();var x=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,E(this.clonePosition(),this.clonePosition()));var g=this.parseMessage(t+1,r,n);if(g.err)return g;var d=this.tryParseArgumentClose(x);if(d.err)return d;o.push([u,{value:g.val,location:E(x,this.clonePosition())}]),h.add(u),this.bumpSpace(),a=this.parseIdentifierIfPossible(),u=a.value,l=a.location}return o.length===0?this.error(r==="select"?m.EXPECT_SELECT_ARGUMENT_SELECTOR:m.EXPECT_PLURAL_ARGUMENT_SELECTOR,E(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(m.MISSING_OTHER_CLAUSE,E(this.clonePosition(),this.clonePosition())):{val:o,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var a=!1,s=0;!this.isEOF();){var o=this.char();if(o>=48&&o<=57)a=!0,s=s*10+(o-48),this.bump();else break}var h=E(i,this.clonePosition());return a?(s*=n,Qe(s)?{val:s,err:null}:this.error(r,h)):this.error(t,h)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=de(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(se(this.message,t,this.offset())){for(var r=0;r<t.length;r++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var r=this.offset(),n=this.message.indexOf(t,r);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&ye(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return n??null},e})();function J(e){return e>=97&&e<=122||e>=65&&e<=90}function tt(e){return J(e)||e===47}function rt(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function ye(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function nt(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function q(e){e.forEach(function(t){if(delete t.location,ce(t)||Ee(t))for(var r in t.options)delete t.options[r].location,q(t.options[r].value);else le(t)&&ve(t.style)||(fe(t)||me(t))&&W(t.style)?delete t.style.location:pe(t)&&q(t.children)})}function it(e,t){t===void 0&&(t={}),t=p({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new et(e,t).parse();if(r.err){var n=SyntaxError(m[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t!=null&&t.captureLocation||q(r.val),r.val}function y(e,t){var r=t&&t.cache?t.cache:lt,n=t&&t.serializer?t.serializer:ut,i=t&&t.strategy?t.strategy:ot;return i(e,{cache:r,serializer:n})}function at(e){return e==null||typeof e=="number"||typeof e=="boolean"}function st(e,t,r,n){var i=at(n)?n:r(n),a=t.get(i);return typeof a>"u"&&(a=e.call(this,n),t.set(i,a)),a}function _e(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),a=t.get(i);return typeof a>"u"&&(a=e.apply(this,n),t.set(i,a)),a}function Be(e,t,r,n,i){return r.bind(t,e,n,i)}function ot(e,t){var r=e.length===1?st:_e;return Be(e,this,r,t.cache.create(),t.serializer)}function ht(e,t){return Be(e,this,_e,t.cache.create(),t.serializer)}var ut=function(){return JSON.stringify(arguments)};function K(){this.cache=Object.create(null)}K.prototype.get=function(e){return this.cache[e]};K.prototype.set=function(e,t){this.cache[e]=t};var lt={create:function(){return new K}},_={variadic:ht},C;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(C||(C={}));var V=(function(e){T(t,e);function t(r,n,i){var a=e.call(this,r)||this;return a.code=n,a.originalMessage=i,a}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t})(Error),ue=(function(e){T(t,e);function t(r,n,i,a){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),C.INVALID_VALUE,a)||this}return t})(V),ft=(function(e){T(t,e);function t(r,n,i){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),C.INVALID_VALUE,i)||this}return t})(V),mt=(function(e){T(t,e);function t(r,n){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),C.MISSING_VALUE,n)||this}return t})(V),b;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(b||(b={}));function ct(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==b.literal||r.type!==b.literal?t.push(r):n.value+=r.value,t},[])}function Et(e){return typeof e=="function"}function w(e,t,r,n,i,a,s){if(e.length===1&&re(e[0]))return[{type:b.literal,value:e[0].value}];for(var o=[],h=0,u=e;h<u.length;h++){var l=u[h];if(re(l)){o.push({type:b.literal,value:l.value});continue}if(Pe(l)){typeof a=="number"&&o.push({type:b.literal,value:r.getNumberFormat(t).format(a)});continue}var c=l.value;if(!(i&&c in i))throw new mt(c,s);var f=i[c];if(Se(l)){(!f||typeof f=="string"||typeof f=="number")&&(f=typeof f=="string"||typeof f=="number"?String(f):""),o.push({type:typeof f=="string"?b.literal:b.object,value:f});continue}if(fe(l)){var x=typeof l.style=="string"?n.date[l.style]:W(l.style)?l.style.parsedOptions:void 0;o.push({type:b.literal,value:r.getDateTimeFormat(t,x).format(f)});continue}if(me(l)){var x=typeof l.style=="string"?n.time[l.style]:W(l.style)?l.style.parsedOptions:n.time.medium;o.push({type:b.literal,value:r.getDateTimeFormat(t,x).format(f)});continue}if(le(l)){var x=typeof l.style=="string"?n.number[l.style]:ve(l.style)?l.style.parsedOptions:void 0;x&&x.scale&&(f=f*(x.scale||1)),o.push({type:b.literal,value:r.getNumberFormat(t,x).format(f)});continue}if(pe(l)){var g=l.children,d=l.value,I=i[d];if(!Et(I))throw new ft(d,"function",s);var M=w(g,t,r,n,i,a),L=I(M.map(function(A){return A.value}));Array.isArray(L)||(L=[L]),o.push.apply(o,L.map(function(A){return{type:typeof A=="string"?b.literal:b.object,value:A}}))}if(ce(l)){var H=l.options[f]||l.options.other;if(!H)throw new ue(l.value,f,Object.keys(l.options),s);o.push.apply(o,w(H.value,t,r,n,i));continue}if(Ee(l)){var H=l.options["=".concat(f)];if(!H){if(!Intl.PluralRules)throw new V(`Intl.PluralRules is not available in this environment.
1
+ import{aG as p,aH as T,_ as $,aI as B,r as S}from"./iframe-Bqhe7wZw.js";function Ne(e,t,r){if(r===void 0&&(r=Error),!e)throw new r(t)}var m;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(m||(m={}));var v;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(v||(v={}));var R;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(R||(R={}));function re(e){return e.type===v.literal}function Se(e){return e.type===v.argument}function le(e){return e.type===v.number}function fe(e){return e.type===v.date}function me(e){return e.type===v.time}function ce(e){return e.type===v.select}function Ee(e){return e.type===v.plural}function Pe(e){return e.type===v.pound}function pe(e){return e.type===v.tag}function ve(e){return!!(e&&typeof e=="object"&&e.type===R.number)}function W(e){return!!(e&&typeof e=="object"&&e.type===R.dateTime)}var xe=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Le=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Re(e){var t={};return e.replace(Le,function(r){var n=r.length;switch(r[0]){case"G":t.era=n===4?"long":n===5?"narrow":"short";break;case"y":t.year=n===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=n===4?"long":n===5?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var Ce=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Me(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Ce).filter(function(f){return f.length>0}),r=[],n=0,i=t;n<i.length;n++){var a=i[n],s=a.split("/");if(s.length===0)throw new Error("Invalid number skeleton");for(var o=s[0],h=s.slice(1),u=0,l=h;u<l.length;u++){var c=l[u];if(c.length===0)throw new Error("Invalid number skeleton")}r.push({stem:o,options:h})}return r}function Oe(e){return e.replace(/^(.*?)-/,"")}var ne=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,be=/^(@+)?(\+|#+)?[rs]?$/g,De=/(\*)(0+)|(#+)(0+)|(0+)/g,ge=/^(0+)$/;function ie(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(be,function(r,n,i){return typeof i!="string"?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):i==="+"?t.minimumSignificantDigits=n.length:n[0]==="#"?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof i=="string"?i.length:0)),""}),t}function Te(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Ge(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if(r==="+!"?(t.signDisplay="always",e=e.slice(2)):r==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!ge.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function ae(e){var t={},r=Te(e);return r||t}function Ue(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=Oe(i.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=p(p(p({},t),{notation:"scientific"}),i.options.reduce(function(h,u){return p(p({},h),ae(u))},{}));continue;case"engineering":t=p(p(p({},t),{notation:"engineering"}),i.options.reduce(function(h,u){return p(p({},h),ae(u))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(De,function(h,u,l,c,f,x){if(u)t.minimumIntegerDigits=l.length;else{if(c&&f)throw new Error("We currently do not support maximum integer digits");if(x)throw new Error("We currently do not support exact integer digits")}return""});continue}if(ge.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(ne.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(ne,function(h,u,l,c,f,x){return l==="*"?t.minimumFractionDigits=u.length:c&&c[0]==="#"?t.maximumFractionDigits=c.length:f&&x?(t.minimumFractionDigits=f.length,t.maximumFractionDigits=f.length+x.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var a=i.options[0];a==="w"?t=p(p({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=p(p({},t),ie(a)));continue}if(be.test(i.stem)){t=p(p({},t),ie(i.stem));continue}var s=Te(i.stem);s&&(t=p(p({},t),s));var o=Ge(i.stem);o&&(t=p(p({},t),o))}return t}var F={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function Fe(e,t){for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if(i==="j"){for(var a=0;n+1<e.length&&e.charAt(n+1)===i;)a++,n++;var s=1+(a&1),o=a<2?1:3+(a>>1),h="a",u=we(t);for((u=="H"||u=="k")&&(o=0);o-- >0;)r+=h;for(;s-- >0;)r=u+r}else i==="J"?r+="H":r+=i}return r}function we(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,n;r!=="root"&&(n=e.maximize().region);var i=F[n||""]||F[r||""]||F["".concat(r,"-001")]||F["001"];return i[0]}var X,Ve=new RegExp("^".concat(xe.source,"*")),Xe=new RegExp("".concat(xe.source,"*$"));function E(e,t){return{start:e,end:t}}var ke=!!String.prototype.startsWith&&"_a".startsWith("a",1),We=!!String.fromCodePoint,Ze=!!Object.fromEntries,je=!!String.prototype.codePointAt,ze=!!String.prototype.trimStart,Je=!!String.prototype.trimEnd,qe=!!Number.isSafeInteger,Qe=qe?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Z=!0;try{var Ye=He("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Z=((X=Ye.exec("a"))===null||X===void 0?void 0:X[0])==="a"}catch{Z=!1}var se=ke?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},j=We?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",i=t.length,a=0,s;i>a;){if(s=t[a++],s>1114111)throw RangeError(s+" is not a valid code point");n+=s<65536?String.fromCharCode(s):String.fromCharCode(((s-=65536)>>10)+55296,s%1024+56320)}return n},oe=Ze?Object.fromEntries:function(t){for(var r={},n=0,i=t;n<i.length;n++){var a=i[n],s=a[0],o=a[1];r[s]=o}return r},de=je?function(t,r){return t.codePointAt(r)}:function(t,r){var n=t.length;if(!(r<0||r>=n)){var i=t.charCodeAt(r),a;return i<55296||i>56319||r+1===n||(a=t.charCodeAt(r+1))<56320||a>57343?i:(i-55296<<10)+(a-56320)+65536}},$e=ze?function(t){return t.trimStart()}:function(t){return t.replace(Ve,"")},Ke=Je?function(t){return t.trimEnd()}:function(t){return t.replace(Xe,"")};function He(e,t){return new RegExp(e,t)}var z;if(Z){var he=He("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");z=function(t,r){var n;he.lastIndex=r;var i=he.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}}else z=function(t,r){for(var n=[];;){var i=de(t,r);if(i===void 0||ye(i)||nt(i))break;n.push(i),r+=i>=65536?2:1}return j.apply(void 0,n)};var et=(function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,n){for(var i=[];!this.isEOF();){var a=this.char();if(a===123){var s=this.parseArgument(t,n);if(s.err)return s;i.push(s.val)}else{if(a===125&&t>0)break;if(a===35&&(r==="plural"||r==="selectordinal")){var o=this.clonePosition();this.bump(),i.push({type:v.pound,location:E(o,this.clonePosition())})}else if(a===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(m.UNMATCHED_CLOSING_TAG,E(this.clonePosition(),this.clonePosition()))}else if(a===60&&!this.ignoreTag&&J(this.peek()||0)){var s=this.parseTag(t,r);if(s.err)return s;i.push(s.val)}else{var s=this.parseLiteral(t,r);if(s.err)return s;i.push(s.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:v.literal,value:"<".concat(i,"/>"),location:E(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var a=this.parseMessage(t+1,r,!0);if(a.err)return a;var s=a.val,o=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!J(this.char()))return this.error(m.INVALID_TAG,E(o,this.clonePosition()));var h=this.clonePosition(),u=this.parseTagName();return i!==u?this.error(m.UNMATCHED_CLOSING_TAG,E(h,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:v.tag,value:i,children:s,location:E(n,this.clonePosition())},err:null}:this.error(m.INVALID_TAG,E(o,this.clonePosition())))}else return this.error(m.UNCLOSED_TAG,E(n,this.clonePosition()))}else return this.error(m.INVALID_TAG,E(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&rt(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),i="";;){var a=this.tryParseQuote(r);if(a){i+=a;continue}var s=this.tryParseUnquoted(t,r);if(s){i+=s;continue}var o=this.tryParseLeftAngleBracket();if(o){i+=o;continue}break}var h=E(n,this.clonePosition());return{val:{type:v.literal,value:i,location:h},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!tt(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return j.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&t>0?null:(this.bump(),j(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,E(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(m.EMPTY_ARGUMENT,E(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(m.MALFORMED_ARGUMENT,E(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,E(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:v.argument,value:i,location:E(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,E(n,this.clonePosition())):this.parseArgumentOptions(t,r,i,n);default:return this.error(m.MALFORMED_ARGUMENT,E(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=z(this.message,r),i=r+n.length;this.bumpTo(i);var a=this.clonePosition(),s=E(t,a);return{value:n,location:s}},e.prototype.parseArgumentOptions=function(t,r,n,i){var a,s=this.clonePosition(),o=this.parseIdentifierIfPossible().value,h=this.clonePosition();switch(o){case"":return this.error(m.EXPECT_ARGUMENT_TYPE,E(s,h));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var l=this.clonePosition(),c=this.parseSimpleArgStyleIfPossible();if(c.err)return c;var f=Ke(c.val);if(f.length===0)return this.error(m.EXPECT_ARGUMENT_STYLE,E(this.clonePosition(),this.clonePosition()));var x=E(l,this.clonePosition());u={style:f,styleLocation:x}}var g=this.tryParseArgumentClose(i);if(g.err)return g;var d=E(i,this.clonePosition());if(u&&se(u==null?void 0:u.style,"::",0)){var I=$e(u.style.slice(2));if(o==="number"){var c=this.parseNumberSkeletonFromString(I,u.styleLocation);return c.err?c:{val:{type:v.number,value:n,location:d,style:c.val},err:null}}else{if(I.length===0)return this.error(m.EXPECT_DATE_TIME_SKELETON,d);var M=I;this.locale&&(M=Fe(I,this.locale));var f={type:R.dateTime,pattern:M,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?Re(M):{}},L=o==="date"?v.date:v.time;return{val:{type:L,value:n,location:d,style:f},err:null}}}return{val:{type:o==="number"?v.number:o==="date"?v.date:v.time,value:n,location:d,style:(a=u==null?void 0:u.style)!==null&&a!==void 0?a:null},err:null}}case"plural":case"selectordinal":case"select":{var H=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS,E(H,p({},H)));this.bumpSpace();var O=this.parseIdentifierIfPossible(),A=0;if(o!=="select"&&O.value==="offset"){if(!this.bumpIf(":"))return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,E(this.clonePosition(),this.clonePosition()));this.bumpSpace();var c=this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(c.err)return c;this.bumpSpace(),O=this.parseIdentifierIfPossible(),A=c.val}var U=this.tryParsePluralOrSelectOptions(t,o,r,O);if(U.err)return U;var g=this.tryParseArgumentClose(i);if(g.err)return g;var te=E(i,this.clonePosition());return o==="select"?{val:{type:v.select,value:n,options:oe(U.val),location:te},err:null}:{val:{type:v.plural,value:n,options:oe(U.val),offset:A,pluralType:o==="plural"?"cardinal":"ordinal",location:te},err:null}}default:return this.error(m.INVALID_ARGUMENT_TYPE,E(s,h))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,E(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(m.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,E(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=Me(t)}catch{return this.error(m.INVALID_NUMBER_SKELETON,r)}return{val:{type:R.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?Ue(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,i){for(var a,s=!1,o=[],h=new Set,u=i.value,l=i.location;;){if(u.length===0){var c=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var f=this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR,m.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;l=E(c,this.clonePosition()),u=this.message.slice(c.offset,this.offset())}else break}if(h.has(u))return this.error(r==="select"?m.DUPLICATE_SELECT_ARGUMENT_SELECTOR:m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);u==="other"&&(s=!0),this.bumpSpace();var x=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,E(this.clonePosition(),this.clonePosition()));var g=this.parseMessage(t+1,r,n);if(g.err)return g;var d=this.tryParseArgumentClose(x);if(d.err)return d;o.push([u,{value:g.val,location:E(x,this.clonePosition())}]),h.add(u),this.bumpSpace(),a=this.parseIdentifierIfPossible(),u=a.value,l=a.location}return o.length===0?this.error(r==="select"?m.EXPECT_SELECT_ARGUMENT_SELECTOR:m.EXPECT_PLURAL_ARGUMENT_SELECTOR,E(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(m.MISSING_OTHER_CLAUSE,E(this.clonePosition(),this.clonePosition())):{val:o,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var a=!1,s=0;!this.isEOF();){var o=this.char();if(o>=48&&o<=57)a=!0,s=s*10+(o-48),this.bump();else break}var h=E(i,this.clonePosition());return a?(s*=n,Qe(s)?{val:s,err:null}:this.error(r,h)):this.error(t,h)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=de(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(se(this.message,t,this.offset())){for(var r=0;r<t.length;r++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var r=this.offset(),n=this.message.indexOf(t,r);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&ye(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return n??null},e})();function J(e){return e>=97&&e<=122||e>=65&&e<=90}function tt(e){return J(e)||e===47}function rt(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function ye(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function nt(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function q(e){e.forEach(function(t){if(delete t.location,ce(t)||Ee(t))for(var r in t.options)delete t.options[r].location,q(t.options[r].value);else le(t)&&ve(t.style)||(fe(t)||me(t))&&W(t.style)?delete t.style.location:pe(t)&&q(t.children)})}function it(e,t){t===void 0&&(t={}),t=p({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new et(e,t).parse();if(r.err){var n=SyntaxError(m[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t!=null&&t.captureLocation||q(r.val),r.val}function y(e,t){var r=t&&t.cache?t.cache:lt,n=t&&t.serializer?t.serializer:ut,i=t&&t.strategy?t.strategy:ot;return i(e,{cache:r,serializer:n})}function at(e){return e==null||typeof e=="number"||typeof e=="boolean"}function st(e,t,r,n){var i=at(n)?n:r(n),a=t.get(i);return typeof a>"u"&&(a=e.call(this,n),t.set(i,a)),a}function _e(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),a=t.get(i);return typeof a>"u"&&(a=e.apply(this,n),t.set(i,a)),a}function Be(e,t,r,n,i){return r.bind(t,e,n,i)}function ot(e,t){var r=e.length===1?st:_e;return Be(e,this,r,t.cache.create(),t.serializer)}function ht(e,t){return Be(e,this,_e,t.cache.create(),t.serializer)}var ut=function(){return JSON.stringify(arguments)};function K(){this.cache=Object.create(null)}K.prototype.get=function(e){return this.cache[e]};K.prototype.set=function(e,t){this.cache[e]=t};var lt={create:function(){return new K}},_={variadic:ht},C;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(C||(C={}));var V=(function(e){T(t,e);function t(r,n,i){var a=e.call(this,r)||this;return a.code=n,a.originalMessage=i,a}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t})(Error),ue=(function(e){T(t,e);function t(r,n,i,a){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),C.INVALID_VALUE,a)||this}return t})(V),ft=(function(e){T(t,e);function t(r,n,i){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),C.INVALID_VALUE,i)||this}return t})(V),mt=(function(e){T(t,e);function t(r,n){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),C.MISSING_VALUE,n)||this}return t})(V),b;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(b||(b={}));function ct(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==b.literal||r.type!==b.literal?t.push(r):n.value+=r.value,t},[])}function Et(e){return typeof e=="function"}function w(e,t,r,n,i,a,s){if(e.length===1&&re(e[0]))return[{type:b.literal,value:e[0].value}];for(var o=[],h=0,u=e;h<u.length;h++){var l=u[h];if(re(l)){o.push({type:b.literal,value:l.value});continue}if(Pe(l)){typeof a=="number"&&o.push({type:b.literal,value:r.getNumberFormat(t).format(a)});continue}var c=l.value;if(!(i&&c in i))throw new mt(c,s);var f=i[c];if(Se(l)){(!f||typeof f=="string"||typeof f=="number")&&(f=typeof f=="string"||typeof f=="number"?String(f):""),o.push({type:typeof f=="string"?b.literal:b.object,value:f});continue}if(fe(l)){var x=typeof l.style=="string"?n.date[l.style]:W(l.style)?l.style.parsedOptions:void 0;o.push({type:b.literal,value:r.getDateTimeFormat(t,x).format(f)});continue}if(me(l)){var x=typeof l.style=="string"?n.time[l.style]:W(l.style)?l.style.parsedOptions:n.time.medium;o.push({type:b.literal,value:r.getDateTimeFormat(t,x).format(f)});continue}if(le(l)){var x=typeof l.style=="string"?n.number[l.style]:ve(l.style)?l.style.parsedOptions:void 0;x&&x.scale&&(f=f*(x.scale||1)),o.push({type:b.literal,value:r.getNumberFormat(t,x).format(f)});continue}if(pe(l)){var g=l.children,d=l.value,I=i[d];if(!Et(I))throw new ft(d,"function",s);var M=w(g,t,r,n,i,a),L=I(M.map(function(A){return A.value}));Array.isArray(L)||(L=[L]),o.push.apply(o,L.map(function(A){return{type:typeof A=="string"?b.literal:b.object,value:A}}))}if(ce(l)){var H=l.options[f]||l.options.other;if(!H)throw new ue(l.value,f,Object.keys(l.options),s);o.push.apply(o,w(H.value,t,r,n,i));continue}if(Ee(l)){var H=l.options["=".concat(f)];if(!H){if(!Intl.PluralRules)throw new V(`Intl.PluralRules is not available in this environment.
2
2
  Try polyfilling it using "@formatjs/intl-pluralrules"
3
3
  `,C.MISSING_INTL_API,s);var O=r.getPluralRules(t,{type:l.pluralType}).select(f-(l.offset||0));H=l.options[O]||l.options.other}if(!H)throw new ue(l.value,f,Object.keys(l.options),s);o.push.apply(o,w(H.value,t,r,n,i,f-(l.offset||0)));continue}}return ct(o)}function pt(e,t){return t?p(p(p({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=p(p({},e[n]),t[n]||{}),r},{})):e}function vt(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=pt(e[n],t[n]),r},p({},e)):e}function k(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function xt(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:y(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,B([void 0],r,!1)))},{cache:k(e.number),strategy:_.variadic}),getDateTimeFormat:y(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,B([void 0],r,!1)))},{cache:k(e.dateTime),strategy:_.variadic}),getPluralRules:y(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,B([void 0],r,!1)))},{cache:k(e.pluralRules),strategy:_.variadic})}}var bt=(function(){function e(t,r,n,i){var a=this;if(r===void 0&&(r=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(h){var u=a.formatToParts(h);if(u.length===1)return u[0].value;var l=u.reduce(function(c,f){return!c.length||f.type!==b.literal||typeof c[c.length-1]!="string"?c.push(f.value):c[c.length-1]+=f.value,c},[]);return l.length<=1?l[0]||"":l},this.formatToParts=function(h){return w(a.ast,a.locales,a.formatters,a.formats,h,void 0,a.message)},this.resolvedOptions=function(){var h;return{locale:((h=a.resolvedLocale)===null||h===void 0?void 0:h.toString())||Intl.NumberFormat.supportedLocalesOf(a.locales)[0]}},this.getAst=function(){return a.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var s=i||{};s.formatters;var o=$(s,["formatters"]);this.ast=e.__parse(t,p(p({},o),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=vt(e.formats,n),this.formatters=i&&i.formatters||xt(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(!(typeof Intl.Locale>"u")){var r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=it,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e})(),P;(function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"})(P||(P={}));var D=(function(e){T(t,e);function t(r,n,i){var a=this,s=i?i instanceof Error?i:new Error(String(i)):void 0;return a=e.call(this,"[@formatjs/intl Error ".concat(r,"] ").concat(n,`
4
4
  `).concat(s?`
@@ -1 +1 @@
1
- import{R as e}from"./iframe-CWgEsn_I.js";import"./preload-helper-Dp1pzeXC.js";const o={},c=e.createContext(o);function u(n){const t=e.useContext(c);return e.useMemo(function(){return typeof n=="function"?n(t):{...t,...n}},[t,n])}function r(n){let t;return n.disableParentContext?t=typeof n.components=="function"?n.components(o):n.components||o:t=u(n.components),e.createElement(c.Provider,{value:t},n.children)}export{r as MDXProvider,u as useMDXComponents};
1
+ import{R as e}from"./iframe-Bqhe7wZw.js";import"./preload-helper-Dp1pzeXC.js";const o={},c=e.createContext(o);function u(n){const t=e.useContext(c);return e.useMemo(function(){return typeof n=="function"?n(t):{...t,...n}},[t,n])}function r(n){let t;return n.disableParentContext?t=typeof n.components=="function"?n.components(o):n.components||o:t=u(n.components),e.createElement(c.Provider,{value:t},n.children)}export{r as MDXProvider,u as useMDXComponents};
@@ -0,0 +1,81 @@
1
+ import{r as i,j as n}from"./iframe-Bqhe7wZw.js";import{s as t,D as b}from"./Dialog-CD2H-lOB.js";import{S as p,u as h}from"./Steps-B3sJKCt8.js";const s=({className:e="",children:r})=>{const l=i.useRef(null),a=i.useRef(null);return i.useLayoutEffect(()=>{if(!a.current||!l.current)return;const u=new IntersectionObserver(([c])=>{var o,S;c.isIntersecting?(o=a.current)==null||o.classList.remove(t.sticky):(S=a.current)==null||S.classList.add(t.sticky)},{root:a.current.closest("[role=dialog]"),rootMargin:`0px 0px -${a.current.offsetHeight}px 0px`});return u.observe(l.current),()=>u.disconnect()},[]),n.jsxs(n.Fragment,{children:[n.jsx("div",{className:t.scrollEndDetector,ref:l}),n.jsx("div",{className:`${t.footer} ${e}`,ref:a,children:r})]})};try{s.displayName="DialogFooter",s.__docgenInfo={description:"",displayName:"DialogFooter",props:{className:{defaultValue:{value:""},description:"",name:"className",required:!1,type:{name:"enum",value:[{value:"string"}]}}}}}catch{}const v=({primaryButton:e,secondaryButton:r})=>{const l=i.useCallback(a=>{var u;(u=a.currentTarget.closest("[role=dialog]"))==null||u.classList.add(t.slidesUp)},[]);return n.jsxs(s,{className:t.actions,children:[r,n.jsx("div",{style:{display:"contents"},onClick:l,children:e})]})};try{v.displayName="DialogActions",v.__docgenInfo={description:"",displayName:"DialogActions",props:{primaryButton:{defaultValue:null,description:`Primary action button.
2
+ @example <DialogActions
3
+ primaryButton={<Button size="medium" variant="primary" onClick={() => {}}>Let's go</Button>}
4
+ />`,name:"primaryButton",required:!0,type:{name:"enum",value:[{value:"undefined"},{value:"null"},{value:"string"},{value:"number"},{value:"false"},{value:"true"},{value:"ReactElement<any, string | JSXElementConstructor<any>>"},{value:"Iterable<ReactNode>"},{value:"ReactPortal"}]}},secondaryButton:{defaultValue:null,description:`Secondary action button.
5
+ @example <DialogActions
6
+ secondaryButton={<Button size="medium" variant="tertiary" onClick={() => {}}>Cancel</Button>}
7
+ />`,name:"secondaryButton",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"number"},{value:"false"},{value:"true"},{value:"ReactElement<any, string | JSXElementConstructor<any>>"},{value:"Iterable<ReactNode>"},{value:"ReactPortal"}]}}}}}catch{}const f=p,y=p.Step,d=p.Next,m=p.Previous;function g({primaryButton:e,nextButton:r=n.jsx(d,{}),previousButton:l=n.jsx(m,{})}){const{currentStep:a,totalSteps:u}=h(),c=a===1,o=a===u;return n.jsxs(s,{className:t.stepsActions,children:[!c&&n.jsx("div",{className:t.previous,children:l}),n.jsx("div",{className:t.next,children:o?e:r})]})}try{g.displayName="DialogStepsActions",g.__docgenInfo={description:"Wrapper around the Steps actions for usage in Dialog.",displayName:"DialogStepsActions",props:{primaryButton:{defaultValue:null,description:`Primary action button.
8
+
9
+ This button will be displayed on the last step.
10
+ @example <DialogStepsActions
11
+ primaryButton={<Button size="medium" variant="primary" onClick={() => {}}>Finish</Button>}
12
+ />`,name:"primaryButton",required:!0,type:{name:"enum",value:[{value:"undefined"},{value:"null"},{value:"string"},{value:"number"},{value:"false"},{value:"true"},{value:"ReactElement<any, string | JSXElementConstructor<any>>"},{value:"Iterable<ReactNode>"},{value:"ReactPortal"}]}},nextButton:{defaultValue:{value:"<DialogStepsNext />"},description:`Next step button.
13
+
14
+ This button will be used on all steps except the last one. When not provided, a default button will be used.
15
+ @example <DialogStepsActions
16
+ nextButton={<DialogStepsNext onClick={() => {}}>Next</DialogStepsNext>}
17
+ />`,name:"nextButton",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"number"},{value:"false"},{value:"true"},{value:"ReactElement<any, string | JSXElementConstructor<any>>"},{value:"Iterable<ReactNode>"},{value:"ReactPortal"}]}},previousButton:{defaultValue:{value:"<DialogStepsPrevious />"},description:`Previous step button.
18
+
19
+ This button will be used on all steps except the first one. When not provided, a default button will be used.
20
+ @example <DialogStepsActions
21
+ previousButton={<DialogStepsPrevious onClick={() => {}}>Previous</DialogStepsPrevious>}
22
+ />`,name:"previousButton",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"number"},{value:"false"},{value:"true"},{value:"ReactElement<any, string | JSXElementConstructor<any>>"},{value:"Iterable<ReactNode>"},{value:"ReactPortal"}]}}}}}catch{}try{f.displayName="DialogSteps",f.__docgenInfo={description:"",displayName:"DialogSteps",props:{"aria-label":{defaultValue:null,description:`A description of the step flow and its content for screen readers.
23
+ @example 'Onboarding Steps', 'Checkout Steps', 'Survey Steps', etc.`,name:"aria-label",required:!0,type:{name:"string"}},initialStep:{defaultValue:{value:"1"},description:"The initial step to start at (from `1` to `children.length`).",name:"initialStep",required:!1,type:{name:"enum",value:[{value:"number"}]}},onStepChange:{defaultValue:null,description:`Optional callback to control navigation between steps.
24
+
25
+ This is triggered either by using the \`Steps.Previous\` and \`Steps.Next\`
26
+ components, or by calling \`goToPreviousStep\`, \`goToNextStep\`, or
27
+ \`goToStep\` from the \`StepsContext\`.
28
+
29
+ Can be used to:
30
+ - Skip/redirect steps conditionally
31
+ - Perform async process (e.g. validation) on step changes, marking the
32
+ element as busy/loading
33
+ @param currentStep The current step (1-based)
34
+ @param nextStep The next, incoming step
35
+ @returns Promise that resolves to:
36
+ - \`undefined\`: proceed with default navigation
37
+ - \`number\`: override the destination step
38
+ @example Add async validation
39
+ const handleStepChange = async (current, next) => {
40
+ await validateStep(current);
41
+ return next;
42
+ };
43
+ @example Skip a step
44
+ const handleStepChange = async (current, next) => {
45
+ if (next === 2) return 3; // Skip step 2
46
+ return next;
47
+ };`,name:"onStepChange",required:!1,type:{name:"enum",value:[{value:"(currentStep: number, nextStep: number) => number | Promise<number | undefined> | undefined"}]}},dataset:{defaultValue:null,description:"",name:"dataset",required:!1,type:{name:"enum",value:[{value:"Dataset"}]}}}}}catch{}try{y.displayName="DialogStep",y.__docgenInfo={description:"",displayName:"DialogStep",props:{title:{defaultValue:null,description:"Main heading for the step.",name:"title",required:!0,type:{name:"enum",value:[{value:"undefined"},{value:"null"},{value:"string"},{value:"number"},{value:"false"},{value:"true"},{value:"ReactElement<any, string | JSXElementConstructor<any>>"},{value:"Iterable<ReactNode>"},{value:"ReactPortal"}]}},description:{defaultValue:null,description:"Optional description text displayed below the title.",name:"description",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"number"},{value:"false"},{value:"true"},{value:"ReactElement<any, string | JSXElementConstructor<any>>"},{value:"Iterable<ReactNode>"},{value:"ReactPortal"}]}},hideHeader:{defaultValue:null,description:"If true, hides the step title and description.",name:"hideHeader",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},children:{defaultValue:null,description:"Step content.",name:"children",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"number"},{value:"false"},{value:"true"},{value:"ReactElement<any, string | JSXElementConstructor<any>>"},{value:"Iterable<ReactNode>"},{value:"ReactPortal"}]}}}}}catch{}try{d.displayName="DialogStepsNext",d.__docgenInfo={description:"",displayName:"DialogStepsNext",props:{id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"enum",value:[{value:"string"}]}},dataset:{defaultValue:null,description:"",name:"dataset",required:!1,type:{name:"enum",value:[{value:"Dataset"}]}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"enum",value:[{value:"MouseEventHandler"}]}},onKeyDown:{defaultValue:null,description:"",name:"onKeyDown",required:!1,type:{name:"enum",value:[{value:"KeyboardEventHandler"}]}},onKeyUp:{defaultValue:null,description:"",name:"onKeyUp",required:!1,type:{name:"enum",value:[{value:"KeyboardEventHandler"}]}},onMouseDown:{defaultValue:null,description:"",name:"onMouseDown",required:!1,type:{name:"enum",value:[{value:"MouseEventHandler"}]}},onMouseEnter:{defaultValue:null,description:"",name:"onMouseEnter",required:!1,type:{name:"enum",value:[{value:"MouseEventHandler"}]}},onMouseMove:{defaultValue:null,description:"",name:"onMouseMove",required:!1,type:{name:"enum",value:[{value:"MouseEventHandler"}]}},onMouseUp:{defaultValue:null,description:"",name:"onMouseUp",required:!1,type:{name:"enum",value:[{value:"MouseEventHandler"}]}},onPointerDown:{defaultValue:null,description:"",name:"onPointerDown",required:!1,type:{name:"enum",value:[{value:"MouseEventHandler"}]}},onPointerEnter:{defaultValue:null,description:"",name:"onPointerEnter",required:!1,type:{name:"enum",value:[{value:"MouseEventHandler"}]}},as:{defaultValue:null,description:`Custom element to render the button.
48
+
49
+ Allows rendering the button using a different React element or component.
50
+ This is particularly useful for integrating with router libraries like \`react-router\` or \`next/router\`.
51
+ @example // Render as a react router link component
52
+ import { Link } from 'react-router-dom';
53
+
54
+ <ButtonBase as={<Link to="/home" />} />`,name:"as",required:!1,type:{name:"enum",value:[{value:"ReactElement<any, string | JSXElementConstructor<any>>"}]}},download:{defaultValue:null,description:"",name:"download",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},href:{defaultValue:null,description:"",name:"href",required:!1,type:{name:"enum",value:[{value:"string"}]}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:"enum",value:[{value:'"small"'},{value:'"large"'},{value:'"medium"'},{value:"ResponsiveProp<ButtonSize>"}]}},wrap:{defaultValue:null,description:"",name:"wrap",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},url:{defaultValue:null,description:"@deprecated Use `href` instead",name:"url",required:!1,type:{name:"enum",value:[{value:"string"}]}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"inverted"'},{value:'"primary"'},{value:'"secondary"'},{value:'"tertiary"'},{value:'"critical"'},{value:'"quaternary"'},{value:'"ghost"'},{value:'"onColor"'},{value:'"classroom"'},{value:'"primaryB2b"'},{value:'"primaryTutor"'},{value:'"newFeature"'},{value:'"ai"'}]}},fullWidth:{defaultValue:null,description:"",name:"fullWidth",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:"ResponsiveProp<boolean>"}]}},opensInNewTab:{defaultValue:null,description:"",name:"opensInNewTab",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},nofollow:{defaultValue:null,description:"",name:"nofollow",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},submitsForm:{defaultValue:null,description:"",name:"submitsForm",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},assistiveText:{defaultValue:null,description:"",name:"assistiveText",required:!1,type:{name:"enum",value:[{value:"string"}]}},busy:{defaultValue:null,description:"Replaces the content with a loading indicator.",name:"busy",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},a11yLabel:{defaultValue:null,description:"@deprecated Use `assistiveText` instead",name:"a11yLabel",required:!1,type:{name:"enum",value:[{value:"string"}]}},leadingSvgIcon:{defaultValue:null,description:`The leading SVG icon.
55
+ @example import TokyoUITag from '@preply/ds-media-icons/dist/24/TokyoUITag.svg';
56
+
57
+ <Button leadingSvgIcon={TokyoUITag}>Button</Button>
58
+ or
59
+ <Button leadingSvgIcon={<TokyoUITag />}>Button</Button>`,name:"leadingSvgIcon",required:!1,type:{name:"enum",value:[{value:"ComponentClass<SVGAttributes<SVGElement>, any>"},{value:"FunctionComponent<SVGAttributes<SVGElement>>"},{value:"ReactElement<any, string | JSXElementConstructor<any>>"}]}},trailingSvgIcon:{defaultValue:null,description:`The trailing SVG icon.
60
+ @example import TokyoUITag from '@preply/ds-media-icons/dist/24/TokyoUITag.svg';
61
+
62
+ <Button trailingSvgIcon={TokyoUITag}>Button</Button>
63
+ or
64
+ <Button trailingSvgIcon={<TokyoUITag />}>Button</Button>`,name:"trailingSvgIcon",required:!1,type:{name:"enum",value:[{value:"ComponentClass<SVGAttributes<SVGElement>, any>"},{value:"FunctionComponent<SVGAttributes<SVGElement>>"},{value:"ReactElement<any, string | JSXElementConstructor<any>>"}]}},ref:{defaultValue:null,description:"Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}",name:"ref",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"(instance: HTMLAnchorElement | HTMLButtonElement | null) => void"},{value:"RefObject<HTMLAnchorElement | HTMLButtonElement>"}]}},key:{defaultValue:null,description:"",name:"key",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"number"},{value:"bigint"}]}}}}}catch{}try{m.displayName="DialogStepsPrevious",m.__docgenInfo={description:"",displayName:"DialogStepsPrevious",props:{id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"enum",value:[{value:"string"}]}},dataset:{defaultValue:null,description:"",name:"dataset",required:!1,type:{name:"enum",value:[{value:"Dataset"}]}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"enum",value:[{value:"MouseEventHandler"}]}},onKeyDown:{defaultValue:null,description:"",name:"onKeyDown",required:!1,type:{name:"enum",value:[{value:"KeyboardEventHandler"}]}},onKeyUp:{defaultValue:null,description:"",name:"onKeyUp",required:!1,type:{name:"enum",value:[{value:"KeyboardEventHandler"}]}},onMouseDown:{defaultValue:null,description:"",name:"onMouseDown",required:!1,type:{name:"enum",value:[{value:"MouseEventHandler"}]}},onMouseEnter:{defaultValue:null,description:"",name:"onMouseEnter",required:!1,type:{name:"enum",value:[{value:"MouseEventHandler"}]}},onMouseMove:{defaultValue:null,description:"",name:"onMouseMove",required:!1,type:{name:"enum",value:[{value:"MouseEventHandler"}]}},onMouseUp:{defaultValue:null,description:"",name:"onMouseUp",required:!1,type:{name:"enum",value:[{value:"MouseEventHandler"}]}},onPointerDown:{defaultValue:null,description:"",name:"onPointerDown",required:!1,type:{name:"enum",value:[{value:"MouseEventHandler"}]}},onPointerEnter:{defaultValue:null,description:"",name:"onPointerEnter",required:!1,type:{name:"enum",value:[{value:"MouseEventHandler"}]}},as:{defaultValue:null,description:`Custom element to render the button.
65
+
66
+ Allows rendering the button using a different React element or component.
67
+ This is particularly useful for integrating with router libraries like \`react-router\` or \`next/router\`.
68
+ @example // Render as a react router link component
69
+ import { Link } from 'react-router-dom';
70
+
71
+ <ButtonBase as={<Link to="/home" />} />`,name:"as",required:!1,type:{name:"enum",value:[{value:"ReactElement<any, string | JSXElementConstructor<any>>"}]}},download:{defaultValue:null,description:"",name:"download",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},href:{defaultValue:null,description:"",name:"href",required:!1,type:{name:"enum",value:[{value:"string"}]}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:"enum",value:[{value:'"small"'},{value:'"large"'},{value:'"medium"'},{value:"ResponsiveProp<ButtonSize>"}]}},wrap:{defaultValue:null,description:"",name:"wrap",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},url:{defaultValue:null,description:"@deprecated Use `href` instead",name:"url",required:!1,type:{name:"enum",value:[{value:"string"}]}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"inverted"'},{value:'"primary"'},{value:'"secondary"'},{value:'"tertiary"'},{value:'"critical"'},{value:'"quaternary"'},{value:'"ghost"'},{value:'"onColor"'},{value:'"classroom"'},{value:'"primaryB2b"'},{value:'"primaryTutor"'},{value:'"newFeature"'},{value:'"ai"'}]}},fullWidth:{defaultValue:null,description:"",name:"fullWidth",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:"ResponsiveProp<boolean>"}]}},opensInNewTab:{defaultValue:null,description:"",name:"opensInNewTab",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},nofollow:{defaultValue:null,description:"",name:"nofollow",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},submitsForm:{defaultValue:null,description:"",name:"submitsForm",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},assistiveText:{defaultValue:null,description:"",name:"assistiveText",required:!1,type:{name:"enum",value:[{value:"string"}]}},busy:{defaultValue:null,description:"Replaces the content with a loading indicator.",name:"busy",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},a11yLabel:{defaultValue:null,description:"@deprecated Use `assistiveText` instead",name:"a11yLabel",required:!1,type:{name:"enum",value:[{value:"string"}]}},leadingSvgIcon:{defaultValue:null,description:`The leading SVG icon.
72
+ @example import TokyoUITag from '@preply/ds-media-icons/dist/24/TokyoUITag.svg';
73
+
74
+ <Button leadingSvgIcon={TokyoUITag}>Button</Button>
75
+ or
76
+ <Button leadingSvgIcon={<TokyoUITag />}>Button</Button>`,name:"leadingSvgIcon",required:!1,type:{name:"enum",value:[{value:"ComponentClass<SVGAttributes<SVGElement>, any>"},{value:"FunctionComponent<SVGAttributes<SVGElement>>"},{value:"ReactElement<any, string | JSXElementConstructor<any>>"}]}},trailingSvgIcon:{defaultValue:null,description:`The trailing SVG icon.
77
+ @example import TokyoUITag from '@preply/ds-media-icons/dist/24/TokyoUITag.svg';
78
+
79
+ <Button trailingSvgIcon={TokyoUITag}>Button</Button>
80
+ or
81
+ <Button trailingSvgIcon={<TokyoUITag />}>Button</Button>`,name:"trailingSvgIcon",required:!1,type:{name:"enum",value:[{value:"ComponentClass<SVGAttributes<SVGElement>, any>"},{value:"FunctionComponent<SVGAttributes<SVGElement>>"},{value:"ReactElement<any, string | JSXElementConstructor<any>>"}]}},ref:{defaultValue:null,description:"Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}",name:"ref",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"(instance: HTMLAnchorElement | HTMLButtonElement | null) => void"},{value:"RefObject<HTMLAnchorElement | HTMLButtonElement>"}]}},key:{defaultValue:null,description:"",name:"key",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"number"},{value:"bigint"}]}}}}}catch{}const x=Object.assign(b,{Actions:v,Steps:f,Step:y,StepsActions:g,StepsNext:d,StepsPrevious:m});export{x as D};
@@ -1,4 +1,4 @@
1
- import{r as c,aC as z,aj as he,j as me,ag as ge,aG as k,_ as oe,aI as pe}from"./iframe-CWgEsn_I.js";var U="focusScope.autoFocusOnMount",_="focusScope.autoFocusOnUnmount",Z={bubbles:!1,cancelable:!0},ye="FocusScope",be=c.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:u,onUnmountAutoFocus:i,...s}=e,[a,S]=c.useState(null),y=z(u),g=z(i),f=c.useRef(null),v=he(t,o=>S(o)),h=c.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;c.useEffect(()=>{if(r){let o=function(m){if(h.paused||!a)return;const p=m.target;a.contains(p)?f.current=p:C(f.current,{select:!0})},l=function(m){if(h.paused||!a)return;const p=m.relatedTarget;p!==null&&(a.contains(p)||C(f.current,{select:!0}))},d=function(m){if(document.activeElement===document.body)for(const b of m)b.removedNodes.length>0&&C(a)};document.addEventListener("focusin",o),document.addEventListener("focusout",l);const E=new MutationObserver(d);return a&&E.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",o),document.removeEventListener("focusout",l),E.disconnect()}}},[r,a,h.paused]),c.useEffect(()=>{if(a){Q.add(h);const o=document.activeElement;if(!a.contains(o)){const d=new CustomEvent(U,Z);a.addEventListener(U,y),a.dispatchEvent(d),d.defaultPrevented||(Ee(Re(ce(a)),{select:!0}),document.activeElement===o&&C(a))}return()=>{a.removeEventListener(U,y),setTimeout(()=>{const d=new CustomEvent(_,Z);a.addEventListener(_,g),a.dispatchEvent(d),d.defaultPrevented||C(o??document.body,{select:!0}),a.removeEventListener(_,g),Q.remove(h)},0)}}},[a,y,g,h]);const w=c.useCallback(o=>{if(!n&&!r||h.paused)return;const l=o.key==="Tab"&&!o.altKey&&!o.ctrlKey&&!o.metaKey,d=document.activeElement;if(l&&d){const E=o.currentTarget,[m,p]=Se(E);m&&p?!o.shiftKey&&d===p?(o.preventDefault(),n&&C(m,{select:!0})):o.shiftKey&&d===m&&(o.preventDefault(),n&&C(p,{select:!0})):d===E&&o.preventDefault()}},[n,r,h.paused]);return me.jsx(ge.div,{tabIndex:-1,...s,ref:v,onKeyDown:w})});be.displayName=ye;function Ee(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(C(r,{select:t}),document.activeElement!==n)return}function Se(e){const t=ce(e),n=q(t,e),r=q(t.reverse(),e);return[n,r]}function ce(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const u=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||u?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function q(e,t){for(const n of e)if(!we(n,{upTo:t}))return n}function we(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Ce(e){return e instanceof HTMLInputElement&&"select"in e}function C(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Ce(e)&&t&&e.select()}}var Q=ke();function ke(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=$(e,t),e.unshift(t)},remove(t){var n;e=$(e,t),(n=e[0])==null||n.resume()}}}function $(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function Re(e){return e.filter(t=>t.tagName!=="A")}var K=0;function dt(){c.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??J()),document.body.insertAdjacentElement("beforeend",e[1]??J()),K++,()=>{K===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),K--}},[])}function J(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var W="right-scroll-bar-position",B="width-before-scroll-bar",Ae="with-scroll-bars-hidden",Te="--removed-body-scroll-bar-size";function H(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Me(e,t){var n=c.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var u=n.value;u!==r&&(n.value=r,n.callback(r,u))}}}})[0];return n.callback=t,n.facade}var Ne=typeof window<"u"?c.useLayoutEffect:c.useEffect,ee=new WeakMap;function Fe(e,t){var n=Me(null,function(r){return e.forEach(function(u){return H(u,r)})});return Ne(function(){var r=ee.get(n);if(r){var u=new Set(r),i=new Set(e),s=n.current;u.forEach(function(a){i.has(a)||H(a,null)}),i.forEach(function(a){u.has(a)||H(a,s)})}ee.set(n,e)},[e]),n}function Le(e){return e}function Pe(e,t){t===void 0&&(t=Le);var n=[],r=!1,u={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(i){var s=t(i,r);return n.push(s),function(){n=n.filter(function(a){return a!==s})}},assignSyncMedium:function(i){for(r=!0;n.length;){var s=n;n=[],s.forEach(i)}n={push:function(a){return i(a)},filter:function(){return n}}},assignMedium:function(i){r=!0;var s=[];if(n.length){var a=n;n=[],a.forEach(i),s=n}var S=function(){var g=s;s=[],g.forEach(i)},y=function(){return Promise.resolve().then(S)};y(),n={push:function(g){s.push(g),y()},filter:function(g){return s=s.filter(g),n}}}};return u}function Ie(e){e===void 0&&(e={});var t=Pe(null);return t.options=k({async:!0,ssr:!1},e),t}var ue=function(e){var t=e.sideCar,n=oe(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return c.createElement(r,k({},n))};ue.isSideCarExport=!0;function xe(e,t){return e.useMedium(t),ue}var ie=Ie(),V=function(){},D=c.forwardRef(function(e,t){var n=c.useRef(null),r=c.useState({onScrollCapture:V,onWheelCapture:V,onTouchMoveCapture:V}),u=r[0],i=r[1],s=e.forwardProps,a=e.children,S=e.className,y=e.removeScrollBar,g=e.enabled,f=e.shards,v=e.sideCar,h=e.noIsolation,w=e.inert,o=e.allowPinchZoom,l=e.as,d=l===void 0?"div":l,E=e.gapMode,m=oe(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),p=v,b=Fe([n,t]),R=k(k({},m),u);return c.createElement(c.Fragment,null,g&&c.createElement(p,{sideCar:ie,removeScrollBar:y,shards:f,noIsolation:h,inert:w,setCallbacks:i,allowPinchZoom:!!o,lockRef:n,gapMode:E}),s?c.cloneElement(c.Children.only(a),k(k({},R),{ref:b})):c.createElement(d,k({},R,{className:S,ref:b}),a))});D.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};D.classNames={fullWidth:B,zeroRight:W};var Oe=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function We(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Oe();return t&&e.setAttribute("nonce",t),e}function Be(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function De(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Ue=function(){var e=0,t=null;return{add:function(n){e==0&&(t=We())&&(Be(t,n),De(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},_e=function(){var e=Ue();return function(t,n){c.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},le=function(){var e=_e(),t=function(n){var r=n.styles,u=n.dynamic;return e(r,u),null};return t},Ke={left:0,top:0,right:0,gap:0},X=function(e){return parseInt(e||"",10)||0},He=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],u=t[e==="padding"?"paddingRight":"marginRight"];return[X(n),X(r),X(u)]},Ve=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Ke;var t=He(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},Xe=le(),N="data-scroll-locked",Ye=function(e,t,n,r){var u=e.left,i=e.top,s=e.right,a=e.gap;return n===void 0&&(n="margin"),`
1
+ import{r as c,aC as z,aj as he,j as me,ag as ge,aG as k,_ as oe,aI as pe}from"./iframe-Bqhe7wZw.js";var U="focusScope.autoFocusOnMount",_="focusScope.autoFocusOnUnmount",Z={bubbles:!1,cancelable:!0},ye="FocusScope",be=c.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:u,onUnmountAutoFocus:i,...s}=e,[a,S]=c.useState(null),y=z(u),g=z(i),f=c.useRef(null),v=he(t,o=>S(o)),h=c.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;c.useEffect(()=>{if(r){let o=function(m){if(h.paused||!a)return;const p=m.target;a.contains(p)?f.current=p:C(f.current,{select:!0})},l=function(m){if(h.paused||!a)return;const p=m.relatedTarget;p!==null&&(a.contains(p)||C(f.current,{select:!0}))},d=function(m){if(document.activeElement===document.body)for(const b of m)b.removedNodes.length>0&&C(a)};document.addEventListener("focusin",o),document.addEventListener("focusout",l);const E=new MutationObserver(d);return a&&E.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",o),document.removeEventListener("focusout",l),E.disconnect()}}},[r,a,h.paused]),c.useEffect(()=>{if(a){Q.add(h);const o=document.activeElement;if(!a.contains(o)){const d=new CustomEvent(U,Z);a.addEventListener(U,y),a.dispatchEvent(d),d.defaultPrevented||(Ee(Re(ce(a)),{select:!0}),document.activeElement===o&&C(a))}return()=>{a.removeEventListener(U,y),setTimeout(()=>{const d=new CustomEvent(_,Z);a.addEventListener(_,g),a.dispatchEvent(d),d.defaultPrevented||C(o??document.body,{select:!0}),a.removeEventListener(_,g),Q.remove(h)},0)}}},[a,y,g,h]);const w=c.useCallback(o=>{if(!n&&!r||h.paused)return;const l=o.key==="Tab"&&!o.altKey&&!o.ctrlKey&&!o.metaKey,d=document.activeElement;if(l&&d){const E=o.currentTarget,[m,p]=Se(E);m&&p?!o.shiftKey&&d===p?(o.preventDefault(),n&&C(m,{select:!0})):o.shiftKey&&d===m&&(o.preventDefault(),n&&C(p,{select:!0})):d===E&&o.preventDefault()}},[n,r,h.paused]);return me.jsx(ge.div,{tabIndex:-1,...s,ref:v,onKeyDown:w})});be.displayName=ye;function Ee(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(C(r,{select:t}),document.activeElement!==n)return}function Se(e){const t=ce(e),n=q(t,e),r=q(t.reverse(),e);return[n,r]}function ce(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const u=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||u?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function q(e,t){for(const n of e)if(!we(n,{upTo:t}))return n}function we(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Ce(e){return e instanceof HTMLInputElement&&"select"in e}function C(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Ce(e)&&t&&e.select()}}var Q=ke();function ke(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=$(e,t),e.unshift(t)},remove(t){var n;e=$(e,t),(n=e[0])==null||n.resume()}}}function $(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function Re(e){return e.filter(t=>t.tagName!=="A")}var K=0;function dt(){c.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??J()),document.body.insertAdjacentElement("beforeend",e[1]??J()),K++,()=>{K===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),K--}},[])}function J(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var W="right-scroll-bar-position",B="width-before-scroll-bar",Ae="with-scroll-bars-hidden",Te="--removed-body-scroll-bar-size";function H(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Me(e,t){var n=c.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var u=n.value;u!==r&&(n.value=r,n.callback(r,u))}}}})[0];return n.callback=t,n.facade}var Ne=typeof window<"u"?c.useLayoutEffect:c.useEffect,ee=new WeakMap;function Fe(e,t){var n=Me(null,function(r){return e.forEach(function(u){return H(u,r)})});return Ne(function(){var r=ee.get(n);if(r){var u=new Set(r),i=new Set(e),s=n.current;u.forEach(function(a){i.has(a)||H(a,null)}),i.forEach(function(a){u.has(a)||H(a,s)})}ee.set(n,e)},[e]),n}function Le(e){return e}function Pe(e,t){t===void 0&&(t=Le);var n=[],r=!1,u={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(i){var s=t(i,r);return n.push(s),function(){n=n.filter(function(a){return a!==s})}},assignSyncMedium:function(i){for(r=!0;n.length;){var s=n;n=[],s.forEach(i)}n={push:function(a){return i(a)},filter:function(){return n}}},assignMedium:function(i){r=!0;var s=[];if(n.length){var a=n;n=[],a.forEach(i),s=n}var S=function(){var g=s;s=[],g.forEach(i)},y=function(){return Promise.resolve().then(S)};y(),n={push:function(g){s.push(g),y()},filter:function(g){return s=s.filter(g),n}}}};return u}function Ie(e){e===void 0&&(e={});var t=Pe(null);return t.options=k({async:!0,ssr:!1},e),t}var ue=function(e){var t=e.sideCar,n=oe(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return c.createElement(r,k({},n))};ue.isSideCarExport=!0;function xe(e,t){return e.useMedium(t),ue}var ie=Ie(),V=function(){},D=c.forwardRef(function(e,t){var n=c.useRef(null),r=c.useState({onScrollCapture:V,onWheelCapture:V,onTouchMoveCapture:V}),u=r[0],i=r[1],s=e.forwardProps,a=e.children,S=e.className,y=e.removeScrollBar,g=e.enabled,f=e.shards,v=e.sideCar,h=e.noIsolation,w=e.inert,o=e.allowPinchZoom,l=e.as,d=l===void 0?"div":l,E=e.gapMode,m=oe(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),p=v,b=Fe([n,t]),R=k(k({},m),u);return c.createElement(c.Fragment,null,g&&c.createElement(p,{sideCar:ie,removeScrollBar:y,shards:f,noIsolation:h,inert:w,setCallbacks:i,allowPinchZoom:!!o,lockRef:n,gapMode:E}),s?c.cloneElement(c.Children.only(a),k(k({},R),{ref:b})):c.createElement(d,k({},R,{className:S,ref:b}),a))});D.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};D.classNames={fullWidth:B,zeroRight:W};var Oe=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function We(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Oe();return t&&e.setAttribute("nonce",t),e}function Be(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function De(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Ue=function(){var e=0,t=null;return{add:function(n){e==0&&(t=We())&&(Be(t,n),De(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},_e=function(){var e=Ue();return function(t,n){c.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},le=function(){var e=_e(),t=function(n){var r=n.styles,u=n.dynamic;return e(r,u),null};return t},Ke={left:0,top:0,right:0,gap:0},X=function(e){return parseInt(e||"",10)||0},He=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],u=t[e==="padding"?"paddingRight":"marginRight"];return[X(n),X(r),X(u)]},Ve=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Ke;var t=He(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},Xe=le(),N="data-scroll-locked",Ye=function(e,t,n,r){var u=e.left,i=e.top,s=e.right,a=e.gap;return n===void 0&&(n="margin"),`
2
2
  .`.concat(Ae,` {
3
3
  overflow: hidden `).concat(r,`;
4
4
  padding-right: `).concat(a,"px ").concat(r,`;
@@ -1,4 +1,4 @@
1
- import{j as e,M as t}from"./iframe-CWgEsn_I.js";import{useMDXComponents as r}from"./index-BiSZC2o0.js";import"./preload-helper-Dp1pzeXC.js";function o(s){const n={a:"a",code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",strong:"strong",...r(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx(t,{title:"Guides/Custom Components/StyledComponents/Intro"}),`
1
+ import{j as e,M as t}from"./iframe-Bqhe7wZw.js";import{useMDXComponents as r}from"./index-CvK1AFYo.js";import"./preload-helper-Dp1pzeXC.js";function o(s){const n={a:"a",code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",strong:"strong",...r(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx(t,{title:"Guides/Custom Components/StyledComponents/Intro"}),`
2
2
  `,e.jsx(n.h1,{id:"developing-custom-components-with-styledcomponents",children:"Developing custom components with StyledComponents"}),`
3
3
  `,e.jsxs(n.p,{children:["Make sure you read ",e.jsx(n.a,{href:"/story/guides-custom-components-introduction--page",children:"Guide: Developing custom components with DS primitives"})]}),`
4
4
  `,e.jsx(n.h2,{id:"guidelines",children:"Guidelines"}),`
@@ -1 +1 @@
1
- import{s as o,a as r}from"./layout-relative.module-DtLbhGhZ.js";import{L as l}from"./constants-DYYVurUY.js";import{t as a,v as e}from"./iframe-CWgEsn_I.js";const m="LayoutHide",y=(s,t=l)=>a(o,m,[e("hide",t,s)]),L="LayoutRelative",A=s=>a(r,L,[e("relative",void 0,s)]);export{A as a,y as g};
1
+ import{s as o,a as r}from"./layout-relative.module-Bq_t8Q7G.js";import{L as l}from"./constants-DYYVurUY.js";import{t as a,v as e}from"./iframe-Bqhe7wZw.js";const m="LayoutHide",y=(s,t=l)=>a(o,m,[e("hide",t,s)]),L="LayoutRelative",A=s=>a(r,L,[e("relative",void 0,s)]);export{A as a,y as g};