@unchainedshop/admin-ui 4.8.31 → 4.8.32

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 (458) hide show
  1. package/out/403/index.html +3 -3
  2. package/out/404/index.html +3 -3
  3. package/out/404.html +3 -3
  4. package/out/423/index.html +3 -3
  5. package/out/500/index.html +3 -3
  6. package/out/_next/static/chunks/{0696190awbl-j.js → 0a5nr3-_q7xx1.js} +10 -10
  7. package/out/_next/static/chunks/{1m85ne6w_6tei.js → 11go520d1hcm5.js} +1 -1
  8. package/out/_next/static/chunks/{2-kvt9e7irukm.js → 182l1mlbf0glb.js} +1 -1
  9. package/out/_next/static/chunks/{09avk6mqdin_1.js → 1wnuiwsbi70eq.js} +1 -1
  10. package/out/_next/static/chunks/{0uls4bq8a7gyh.js → 2wmsx4gjbgvfv.js} +3 -3
  11. package/out/_next/static/chunks/{1_3e6x79fcyv3.js → 41p3ng89i5lem.js} +1 -1
  12. package/out/_next/static/{4ESrB8YpR2n44PFePtbgX → jOx5PlckLwWIJ5yrvePdU}/_buildManifest.js +2 -2
  13. package/out/_offline/index.html +3 -3
  14. package/out/account/forgot-password/index.html +3 -3
  15. package/out/account/index.html +3 -3
  16. package/out/assortments/AssortmentDetailPage/index.html +3 -3
  17. package/out/assortments/index.html +3 -3
  18. package/out/assortments/new/index.html +3 -3
  19. package/out/copilot/index.html +3 -3
  20. package/out/country/CountryDetailPage/index.html +3 -3
  21. package/out/country/index.html +3 -3
  22. package/out/country/new/index.html +3 -3
  23. package/out/currency/CurrencyDetailPage/index.html +3 -3
  24. package/out/currency/index.html +3 -3
  25. package/out/currency/new/index.html +3 -3
  26. package/out/delivery-provider/DeliveryProviderDetailPage/index.html +3 -3
  27. package/out/delivery-provider/index.html +3 -3
  28. package/out/delivery-provider/new/index.html +3 -3
  29. package/out/enrollments/EnrollmentDetailPage/index.html +3 -3
  30. package/out/enrollments/index.html +3 -3
  31. package/out/events/EventDetailPage/index.html +3 -3
  32. package/out/events/index.html +3 -3
  33. package/out/exports/index.html +3 -3
  34. package/out/external/index.html +3 -3
  35. package/out/filters/FilterDetailPage/index.html +3 -3
  36. package/out/filters/index.html +3 -3
  37. package/out/filters/new/index.html +3 -3
  38. package/out/index.html +3 -3
  39. package/out/install/index.html +3 -3
  40. package/out/language/LanguageDetailPage/index.html +3 -3
  41. package/out/language/index.html +3 -3
  42. package/out/language/new/index.html +3 -3
  43. package/out/log-in/index.html +3 -3
  44. package/out/orders/OrderDetailPage/index.html +3 -3
  45. package/out/orders/index.html +3 -3
  46. package/out/payment-provider/PaymentProviderDetailPage/index.html +3 -3
  47. package/out/payment-provider/index.html +3 -3
  48. package/out/payment-provider/new/index.html +3 -3
  49. package/out/products/ProductDetailPage/index.html +3 -3
  50. package/out/products/index.html +3 -3
  51. package/out/products/new/index.html +3 -3
  52. package/out/quotations/QuotationDetailPage/index.html +3 -3
  53. package/out/quotations/index.html +3 -3
  54. package/out/reset-password/index.html +3 -3
  55. package/out/sign-up/index.html +3 -3
  56. package/out/styleguide/index.html +3 -3
  57. package/out/tokens/TokenDetailPage/index.html +3 -3
  58. package/out/tokens/index.html +3 -3
  59. package/out/users/UserDetailPage/index.html +3 -3
  60. package/out/users/index.html +3 -3
  61. package/out/users/new/index.html +3 -3
  62. package/out/verify-email/index.html +3 -3
  63. package/out/warehousing-provider/WarehousingProviderDetailPage/index.html +3 -3
  64. package/out/warehousing-provider/index.html +3 -3
  65. package/out/warehousing-provider/new/index.html +3 -3
  66. package/out/works/WorkDetailPage/index.html +3 -3
  67. package/out/works/WorkQueueListView/index.html +3 -3
  68. package/out/works/index.html +3 -3
  69. package/out/works/management/index.html +3 -3
  70. package/package.json +31 -31
  71. package/dist/chunk-3L6EZQ6P.js +0 -135
  72. package/dist/chunk-54DKBWXV.js +0 -33
  73. package/dist/chunk-5WPFHQZN.js +0 -388
  74. package/dist/chunk-6UGLNLJG.js +0 -44
  75. package/dist/chunk-BMDNY67T.js +0 -22547
  76. package/dist/chunk-BOMSMJF2.js +0 -77
  77. package/dist/chunk-COV7BREX.js +0 -50
  78. package/dist/chunk-E77YIMGR.js +0 -2083
  79. package/dist/chunk-EJDZRZSZ.js +0 -59
  80. package/dist/chunk-ELPURWDC.js +0 -75
  81. package/dist/chunk-F6LBNV3H.js +0 -9
  82. package/dist/chunk-FDHXLNZQ.js +0 -44
  83. package/dist/chunk-GY2DRQGW.js +0 -166
  84. package/dist/chunk-HERLM47Z.js +0 -309
  85. package/dist/chunk-HJKRGBDG.js +0 -694
  86. package/dist/chunk-I64TXIE7.js +0 -618
  87. package/dist/chunk-IAQPLRXZ.js +0 -16
  88. package/dist/chunk-ICJH36K4.js +0 -326
  89. package/dist/chunk-ILYPJE4N.js +0 -57
  90. package/dist/chunk-IWKDBADX.js +0 -73
  91. package/dist/chunk-IXBMHOB5.js +0 -13
  92. package/dist/chunk-IYKPRAWC.js +0 -26
  93. package/dist/chunk-J23QSWDL.js +0 -8
  94. package/dist/chunk-KH5MK6ZW.js +0 -18
  95. package/dist/chunk-KRIRF7F6.js +0 -76
  96. package/dist/chunk-NT7RB7AK.js +0 -70
  97. package/dist/chunk-OKGJ6HDE.js +0 -26
  98. package/dist/chunk-OTXM2UCD.js +0 -19
  99. package/dist/chunk-PJLYVMUM.js +0 -3308
  100. package/dist/chunk-PUI5BIKO.js +0 -41
  101. package/dist/chunk-Q6S3LBUF.js +0 -180
  102. package/dist/chunk-QHR23GVH.js +0 -1099
  103. package/dist/chunk-QWQ3WJJN.js +0 -1
  104. package/dist/chunk-RAQV2GYF.js +0 -70
  105. package/dist/chunk-VBO377AY.js +0 -14
  106. package/dist/chunk-VYEXPG3M.js +0 -107
  107. package/dist/chunk-WPLOTFGW.js +0 -36
  108. package/dist/chunk-YO6PT7KD.js +0 -13
  109. package/dist/chunk-ZUOVKRKC.js +0 -957
  110. package/dist/components/ui/Accordion/Accordion.d.ts +0 -11
  111. package/dist/components/ui/Accordion/Accordion.d.ts.map +0 -1
  112. package/dist/components/ui/Accordion/AccordionHeader.d.ts +0 -6
  113. package/dist/components/ui/Accordion/AccordionHeader.d.ts.map +0 -1
  114. package/dist/components/ui/Accordion/AccordionItem.d.ts +0 -11
  115. package/dist/components/ui/Accordion/AccordionItem.d.ts.map +0 -1
  116. package/dist/components/ui/ActiveInActive.d.ts +0 -10
  117. package/dist/components/ui/ActiveInActive.d.ts.map +0 -1
  118. package/dist/components/ui/AnimatedCounter.d.ts +0 -7
  119. package/dist/components/ui/AnimatedCounter.d.ts.map +0 -1
  120. package/dist/components/ui/Badge.d.ts +0 -10
  121. package/dist/components/ui/Badge.d.ts.map +0 -1
  122. package/dist/components/ui/BreadCrumbs.d.ts +0 -7
  123. package/dist/components/ui/BreadCrumbs.d.ts.map +0 -1
  124. package/dist/components/ui/Button.d.ts +0 -36
  125. package/dist/components/ui/Button.d.ts.map +0 -1
  126. package/dist/components/ui/CopyableText.d.ts +0 -5
  127. package/dist/components/ui/CopyableText.d.ts.map +0 -1
  128. package/dist/components/ui/DateInput.d.ts +0 -15
  129. package/dist/components/ui/DateInput.d.ts.map +0 -1
  130. package/dist/components/ui/DateRangeFilterInput.d.ts +0 -4
  131. package/dist/components/ui/DateRangeFilterInput.d.ts.map +0 -1
  132. package/dist/components/ui/DetailHeader.d.ts +0 -6
  133. package/dist/components/ui/DetailHeader.d.ts.map +0 -1
  134. package/dist/components/ui/DraggableIcon.d.ts +0 -3
  135. package/dist/components/ui/DraggableIcon.d.ts.map +0 -1
  136. package/dist/components/ui/ErrorBoundary.d.ts +0 -18
  137. package/dist/components/ui/ErrorBoundary.d.ts.map +0 -1
  138. package/dist/components/ui/ErrorFallback.d.ts +0 -6
  139. package/dist/components/ui/ErrorFallback.d.ts.map +0 -1
  140. package/dist/components/ui/HelpText.d.ts +0 -11
  141. package/dist/components/ui/HelpText.d.ts.map +0 -1
  142. package/dist/components/ui/ImageWithFallback.d.ts +0 -7
  143. package/dist/components/ui/ImageWithFallback.d.ts.map +0 -1
  144. package/dist/components/ui/InfoTextBanner.d.ts +0 -6
  145. package/dist/components/ui/InfoTextBanner.d.ts.map +0 -1
  146. package/dist/components/ui/JSONView.d.ts +0 -6
  147. package/dist/components/ui/JSONView.d.ts.map +0 -1
  148. package/dist/components/ui/ListHeader.d.ts +0 -6
  149. package/dist/components/ui/ListHeader.d.ts.map +0 -1
  150. package/dist/components/ui/Loading.d.ts +0 -10
  151. package/dist/components/ui/Loading.d.ts.map +0 -1
  152. package/dist/components/ui/NoData.d.ts +0 -7
  153. package/dist/components/ui/NoData.d.ts.map +0 -1
  154. package/dist/components/ui/NoImage.d.ts +0 -7
  155. package/dist/components/ui/NoImage.d.ts.map +0 -1
  156. package/dist/components/ui/NoImageSvg.d.ts +0 -8
  157. package/dist/components/ui/NoImageSvg.d.ts.map +0 -1
  158. package/dist/components/ui/PageHeader.d.ts +0 -11
  159. package/dist/components/ui/PageHeader.d.ts.map +0 -1
  160. package/dist/components/ui/Pagination.d.ts +0 -8
  161. package/dist/components/ui/Pagination.d.ts.map +0 -1
  162. package/dist/components/ui/Portal/Portal.d.ts +0 -16
  163. package/dist/components/ui/Portal/Portal.d.ts.map +0 -1
  164. package/dist/components/ui/Portal/Portal.types.d.ts +0 -16
  165. package/dist/components/ui/Portal/Portal.types.d.ts.map +0 -1
  166. package/dist/components/ui/SaveAndCancelButtons.d.ts +0 -10
  167. package/dist/components/ui/SaveAndCancelButtons.d.ts.map +0 -1
  168. package/dist/components/ui/SearchField.d.ts +0 -7
  169. package/dist/components/ui/SearchField.d.ts.map +0 -1
  170. package/dist/components/ui/Tab.d.ts +0 -18
  171. package/dist/components/ui/Tab.d.ts.map +0 -1
  172. package/dist/components/ui/Tag/TagInput.d.ts +0 -19
  173. package/dist/components/ui/Tag/TagInput.d.ts.map +0 -1
  174. package/dist/components/ui/Tag/TagList.d.ts +0 -8
  175. package/dist/components/ui/Tag/TagList.d.ts.map +0 -1
  176. package/dist/components/ui/Tag/TagListForm.d.ts +0 -8
  177. package/dist/components/ui/Tag/TagListForm.d.ts.map +0 -1
  178. package/dist/components/ui/Toggle.d.ts +0 -11
  179. package/dist/components/ui/Toggle.d.ts.map +0 -1
  180. package/dist/components/ui/ToolTip.d.ts +0 -7
  181. package/dist/components/ui/ToolTip.d.ts.map +0 -1
  182. package/dist/components/ui/card.d.ts +0 -9
  183. package/dist/components/ui/card.d.ts.map +0 -1
  184. package/dist/components/ui/chart.d.ts +0 -42
  185. package/dist/components/ui/chart.d.ts.map +0 -1
  186. package/dist/components/ui/form/CheckboxField.d.ts +0 -4
  187. package/dist/components/ui/form/CheckboxField.d.ts.map +0 -1
  188. package/dist/components/ui/form/ChoicesField.d.ts +0 -12
  189. package/dist/components/ui/form/ChoicesField.d.ts.map +0 -1
  190. package/dist/components/ui/form/Combobox.d.ts +0 -20
  191. package/dist/components/ui/form/Combobox.d.ts.map +0 -1
  192. package/dist/components/ui/form/DatePickerField.d.ts +0 -4
  193. package/dist/components/ui/form/DatePickerField.d.ts.map +0 -1
  194. package/dist/components/ui/form/EmailField.d.ts +0 -7
  195. package/dist/components/ui/form/EmailField.d.ts.map +0 -1
  196. package/dist/components/ui/form/FieldWithHelp.d.ts +0 -10
  197. package/dist/components/ui/form/FieldWithHelp.d.ts.map +0 -1
  198. package/dist/components/ui/form/FieldWrapper.d.ts +0 -8
  199. package/dist/components/ui/form/FieldWrapper.d.ts.map +0 -1
  200. package/dist/components/ui/form/FormErrors.d.ts +0 -6
  201. package/dist/components/ui/form/FormErrors.d.ts.map +0 -1
  202. package/dist/components/ui/form/JSONAreaField.d.ts +0 -7
  203. package/dist/components/ui/form/JSONAreaField.d.ts.map +0 -1
  204. package/dist/components/ui/form/MarkdownTextAreaField.d.ts +0 -8
  205. package/dist/components/ui/form/MarkdownTextAreaField.d.ts.map +0 -1
  206. package/dist/components/ui/form/PasswordField.d.ts +0 -3
  207. package/dist/components/ui/form/PasswordField.d.ts.map +0 -1
  208. package/dist/components/ui/form/SelectField.d.ts +0 -11
  209. package/dist/components/ui/form/SelectField.d.ts.map +0 -1
  210. package/dist/components/ui/form/SubmitButton.d.ts +0 -9
  211. package/dist/components/ui/form/SubmitButton.d.ts.map +0 -1
  212. package/dist/components/ui/form/TagInputField.d.ts +0 -7
  213. package/dist/components/ui/form/TagInputField.d.ts.map +0 -1
  214. package/dist/components/ui/form/TextAreaField.d.ts +0 -8
  215. package/dist/components/ui/form/TextAreaField.d.ts.map +0 -1
  216. package/dist/components/ui/form/TextField.d.ts +0 -10
  217. package/dist/components/ui/form/TextField.d.ts.map +0 -1
  218. package/dist/components/ui/form/index.d.ts +0 -18
  219. package/dist/components/ui/form/index.d.ts.map +0 -1
  220. package/dist/components/ui/icons.d.ts +0 -4
  221. package/dist/components/ui/icons.d.ts.map +0 -1
  222. package/dist/components/ui/index.d.ts +0 -47
  223. package/dist/components/ui/index.d.ts.map +0 -1
  224. package/dist/form.js +0 -2617
  225. package/dist/gql/operation-types.d.ts +0 -13239
  226. package/dist/gql/operation-types.d.ts.map +0 -1
  227. package/dist/gql/schema-types.d.ts +0 -3876
  228. package/dist/gql/schema-types.d.ts.map +0 -1
  229. package/dist/gql/types.d.ts +0 -3
  230. package/dist/gql/types.d.ts.map +0 -1
  231. package/dist/hooks.js +0 -49
  232. package/dist/lib/utils.d.ts +0 -3
  233. package/dist/lib/utils.d.ts.map +0 -1
  234. package/dist/modal.js +0 -51
  235. package/dist/modules/Auth/AuthContext.d.ts +0 -9
  236. package/dist/modules/Auth/AuthContext.d.ts.map +0 -1
  237. package/dist/modules/Auth/useAuth.d.ts +0 -6
  238. package/dist/modules/Auth/useAuth.d.ts.map +0 -1
  239. package/dist/modules/UnchainedContext/UnchainedContext.d.ts +0 -8
  240. package/dist/modules/UnchainedContext/UnchainedContext.d.ts.map +0 -1
  241. package/dist/modules/UnchainedContext/useUnchainedContext.d.ts +0 -7
  242. package/dist/modules/UnchainedContext/useUnchainedContext.d.ts.map +0 -1
  243. package/dist/modules/accounts/fragment/MD5MetaDataFragment.d.ts +0 -3
  244. package/dist/modules/accounts/fragment/MD5MetaDataFragment.d.ts.map +0 -1
  245. package/dist/modules/accounts/fragment/UserFragment.d.ts +0 -3
  246. package/dist/modules/accounts/fragment/UserFragment.d.ts.map +0 -1
  247. package/dist/modules/accounts/hooks/useCurrentUser.d.ts +0 -10
  248. package/dist/modules/accounts/hooks/useCurrentUser.d.ts.map +0 -1
  249. package/dist/modules/accounts/hooks/useUsersCount.d.ts +0 -8
  250. package/dist/modules/accounts/hooks/useUsersCount.d.ts.map +0 -1
  251. package/dist/modules/accounts.js +0 -1349
  252. package/dist/modules/assortment/hooks/useAssortmentsCount.d.ts +0 -8
  253. package/dist/modules/assortment/hooks/useAssortmentsCount.d.ts.map +0 -1
  254. package/dist/modules/assortment.js +0 -1205
  255. package/dist/modules/common/components/AppContext.d.ts +0 -18
  256. package/dist/modules/common/components/AppContext.d.ts.map +0 -1
  257. package/dist/modules/common/components/FormWrapper.d.ts +0 -8
  258. package/dist/modules/common/components/FormWrapper.d.ts.map +0 -1
  259. package/dist/modules/common/components/LocaleWrapper.d.ts +0 -7
  260. package/dist/modules/common/components/LocaleWrapper.d.ts.map +0 -1
  261. package/dist/modules/common/components/MediaAvatar.d.ts +0 -6
  262. package/dist/modules/common/components/MediaAvatar.d.ts.map +0 -1
  263. package/dist/modules/common/components/SelectOptions.d.ts +0 -17
  264. package/dist/modules/common/components/SelectOptions.d.ts.map +0 -1
  265. package/dist/modules/common/components/Table.d.ts +0 -25
  266. package/dist/modules/common/components/Table.d.ts.map +0 -1
  267. package/dist/modules/common/components/TableCell.d.ts +0 -12
  268. package/dist/modules/common/components/TableCell.d.ts.map +0 -1
  269. package/dist/modules/common/components/TableRow.d.ts +0 -10
  270. package/dist/modules/common/components/TableRow.d.ts.map +0 -1
  271. package/dist/modules/common/components/ThemeWrapper.d.ts +0 -10
  272. package/dist/modules/common/components/ThemeWrapper.d.ts.map +0 -1
  273. package/dist/modules/common/data/iso-codes.d.ts +0 -4
  274. package/dist/modules/common/data/iso-codes.d.ts.map +0 -1
  275. package/dist/modules/common/data/miscellaneous.d.ts +0 -52
  276. package/dist/modules/common/data/miscellaneous.d.ts.map +0 -1
  277. package/dist/modules/common/fragments/AddressFragment.d.ts +0 -3
  278. package/dist/modules/common/fragments/AddressFragment.d.ts.map +0 -1
  279. package/dist/modules/common/hooks/useApp.d.ts +0 -11
  280. package/dist/modules/common/hooks/useApp.d.ts.map +0 -1
  281. package/dist/modules/common/hooks/useBulkResultHandler.d.ts +0 -8
  282. package/dist/modules/common/hooks/useBulkResultHandler.d.ts.map +0 -1
  283. package/dist/modules/common/hooks/useBulkSelection.d.ts +0 -12
  284. package/dist/modules/common/hooks/useBulkSelection.d.ts.map +0 -1
  285. package/dist/modules/common/hooks/useCSVExport.d.ts +0 -10
  286. package/dist/modules/common/hooks/useCSVExport.d.ts.map +0 -1
  287. package/dist/modules/common/hooks/useCSVImport.d.ts +0 -18
  288. package/dist/modules/common/hooks/useCSVImport.d.ts.map +0 -1
  289. package/dist/modules/common/hooks/useChatEndpointChecker.d.ts +0 -5
  290. package/dist/modules/common/hooks/useChatEndpointChecker.d.ts.map +0 -1
  291. package/dist/modules/common/hooks/useConfirmMediaUpload.d.ts +0 -10
  292. package/dist/modules/common/hooks/useConfirmMediaUpload.d.ts.map +0 -1
  293. package/dist/modules/common/hooks/useDashboardMetrics.d.ts +0 -23
  294. package/dist/modules/common/hooks/useDashboardMetrics.d.ts.map +0 -1
  295. package/dist/modules/common/hooks/useLocalStorage.d.ts +0 -3
  296. package/dist/modules/common/hooks/useLocalStorage.d.ts.map +0 -1
  297. package/dist/modules/common/hooks/useOrderAnalytics.d.ts +0 -25
  298. package/dist/modules/common/hooks/useOrderAnalytics.d.ts.map +0 -1
  299. package/dist/modules/common/hooks/useOrderItemsAnalytics.d.ts +0 -16
  300. package/dist/modules/common/hooks/useOrderItemsAnalytics.d.ts.map +0 -1
  301. package/dist/modules/common/hooks/useOutsideClick.d.ts +0 -3
  302. package/dist/modules/common/hooks/useOutsideClick.d.ts.map +0 -1
  303. package/dist/modules/common/hooks/usePortal.d.ts +0 -20
  304. package/dist/modules/common/hooks/usePortal.d.ts.map +0 -1
  305. package/dist/modules/common/hooks/useScrollRestoration.d.ts +0 -8
  306. package/dist/modules/common/hooks/useScrollRestoration.d.ts.map +0 -1
  307. package/dist/modules/common/hooks/useShopConfiguration.d.ts +0 -8
  308. package/dist/modules/common/hooks/useShopConfiguration.d.ts.map +0 -1
  309. package/dist/modules/common/hooks/useShopInfo.d.ts +0 -41
  310. package/dist/modules/common/hooks/useShopInfo.d.ts.map +0 -1
  311. package/dist/modules/common/hooks/useStatusTypes.d.ts +0 -10
  312. package/dist/modules/common/hooks/useStatusTypes.d.ts.map +0 -1
  313. package/dist/modules/common/hooks/useSystemRoles.d.ts +0 -7
  314. package/dist/modules/common/hooks/useSystemRoles.d.ts.map +0 -1
  315. package/dist/modules/common/hooks/useTheme.d.ts +0 -7
  316. package/dist/modules/common/hooks/useTheme.d.ts.map +0 -1
  317. package/dist/modules/common/utils/deBounce.d.ts +0 -3
  318. package/dist/modules/common/utils/deBounce.d.ts.map +0 -1
  319. package/dist/modules/common/utils/defaultNextImageLoader.d.ts +0 -7
  320. package/dist/modules/common/utils/defaultNextImageLoader.d.ts.map +0 -1
  321. package/dist/modules/common/utils/formatUsername.d.ts +0 -3
  322. package/dist/modules/common/utils/formatUsername.d.ts.map +0 -1
  323. package/dist/modules/common/utils/getSetupStepsConfigurationsMeta.d.ts +0 -30
  324. package/dist/modules/common/utils/getSetupStepsConfigurationsMeta.d.ts.map +0 -1
  325. package/dist/modules/common/utils/normalizeFilterKeys.d.ts +0 -4
  326. package/dist/modules/common/utils/normalizeFilterKeys.d.ts.map +0 -1
  327. package/dist/modules/common/utils/sharedContext.d.ts +0 -9
  328. package/dist/modules/common/utils/sharedContext.d.ts.map +0 -1
  329. package/dist/modules/common/utils/useFormatDateTime.d.ts +0 -16
  330. package/dist/modules/common/utils/useFormatDateTime.d.ts.map +0 -1
  331. package/dist/modules/common/utils/utils.d.ts +0 -21
  332. package/dist/modules/common/utils/utils.d.ts.map +0 -1
  333. package/dist/modules/country/fragments/CountryFragment.d.ts +0 -3
  334. package/dist/modules/country/fragments/CountryFragment.d.ts.map +0 -1
  335. package/dist/modules/country/hooks/useCountries.d.ts +0 -22
  336. package/dist/modules/country/hooks/useCountries.d.ts.map +0 -1
  337. package/dist/modules/country.js +0 -108
  338. package/dist/modules/currency.js +0 -119
  339. package/dist/modules/delivery-provider.js +0 -269
  340. package/dist/modules/enrollment.js +0 -431
  341. package/dist/modules/event.js +0 -123
  342. package/dist/modules/filter.js +0 -497
  343. package/dist/modules/forms/components/Form.d.ts +0 -8
  344. package/dist/modules/forms/components/Form.d.ts.map +0 -1
  345. package/dist/modules/forms/hooks/useField.d.ts +0 -35
  346. package/dist/modules/forms/hooks/useField.d.ts.map +0 -1
  347. package/dist/modules/forms/hooks/useForm.d.ts +0 -44
  348. package/dist/modules/forms/hooks/useForm.d.ts.map +0 -1
  349. package/dist/modules/forms/hooks/useFormContext.d.ts +0 -3
  350. package/dist/modules/forms/hooks/useFormContext.d.ts.map +0 -1
  351. package/dist/modules/forms/lib/FormContext.d.ts +0 -13
  352. package/dist/modules/forms/lib/FormContext.d.ts.map +0 -1
  353. package/dist/modules/forms/lib/clean.d.ts +0 -3
  354. package/dist/modules/forms/lib/clean.d.ts.map +0 -1
  355. package/dist/modules/forms/lib/validators.d.ts +0 -20
  356. package/dist/modules/forms/lib/validators.d.ts.map +0 -1
  357. package/dist/modules/language/fragments/LanguageFragment.d.ts +0 -3
  358. package/dist/modules/language/fragments/LanguageFragment.d.ts.map +0 -1
  359. package/dist/modules/language/hooks/useLanguages.d.ts +0 -19
  360. package/dist/modules/language/hooks/useLanguages.d.ts.map +0 -1
  361. package/dist/modules/language.js +0 -106
  362. package/dist/modules/modal/components/AlertMessage.d.ts +0 -9
  363. package/dist/modules/modal/components/AlertMessage.d.ts.map +0 -1
  364. package/dist/modules/modal/components/DangerMessage.d.ts +0 -13
  365. package/dist/modules/modal/components/DangerMessage.d.ts.map +0 -1
  366. package/dist/modules/modal/components/ImportResultMessage.d.ts +0 -14
  367. package/dist/modules/modal/components/ImportResultMessage.d.ts.map +0 -1
  368. package/dist/modules/modal/components/Modal.d.ts +0 -10
  369. package/dist/modules/modal/components/Modal.d.ts.map +0 -1
  370. package/dist/modules/modal/components/ModalWrapper.d.ts +0 -6
  371. package/dist/modules/modal/components/ModalWrapper.d.ts.map +0 -1
  372. package/dist/modules/modal/hooks/useModal.d.ts +0 -7
  373. package/dist/modules/modal/hooks/useModal.d.ts.map +0 -1
  374. package/dist/modules/modal/utils/ModalContext.d.ts +0 -9
  375. package/dist/modules/modal/utils/ModalContext.d.ts.map +0 -1
  376. package/dist/modules/order/fragments/OrderDetailFragment.d.ts +0 -3
  377. package/dist/modules/order/fragments/OrderDetailFragment.d.ts.map +0 -1
  378. package/dist/modules/order/fragments/OrderFragment.d.ts +0 -3
  379. package/dist/modules/order/fragments/OrderFragment.d.ts.map +0 -1
  380. package/dist/modules/order/hooks/useOrders.d.ts +0 -46
  381. package/dist/modules/order/hooks/useOrders.d.ts.map +0 -1
  382. package/dist/modules/order.js +0 -569
  383. package/dist/modules/payment-providers.js +0 -206
  384. package/dist/modules/product/hooks/useProductsCount.d.ts +0 -8
  385. package/dist/modules/product/hooks/useProductsCount.d.ts.map +0 -1
  386. package/dist/modules/product-review.js +0 -270
  387. package/dist/modules/product.js +0 -6914
  388. package/dist/modules/quotation.js +0 -324
  389. package/dist/modules/token.js +0 -143
  390. package/dist/modules/warehousing-providers.js +0 -206
  391. package/dist/modules/work/fragments/WorkFragment.d.ts +0 -3
  392. package/dist/modules/work/fragments/WorkFragment.d.ts.map +0 -1
  393. package/dist/modules/work/hooks/useAddWork.d.ts +0 -6
  394. package/dist/modules/work/hooks/useAddWork.d.ts.map +0 -1
  395. package/dist/modules/work/hooks/useWork.d.ts +0 -32
  396. package/dist/modules/work/hooks/useWork.d.ts.map +0 -1
  397. package/dist/modules/work.js +0 -232
  398. package/dist/plugins.js +0 -13
  399. package/dist/providers.js +0 -9
  400. package/dist/sdk/hooks.d.ts +0 -12
  401. package/dist/sdk/hooks.d.ts.map +0 -1
  402. package/dist/sdk/modal.d.ts +0 -7
  403. package/dist/sdk/modal.d.ts.map +0 -1
  404. package/dist/sdk/plugins.d.ts +0 -78
  405. package/dist/sdk/plugins.d.ts.map +0 -1
  406. package/dist/sdk/providers.d.ts +0 -5
  407. package/dist/sdk/providers.d.ts.map +0 -1
  408. package/dist/sdk/shims/admin-ui-plugins.d.ts +0 -3
  409. package/dist/sdk/shims/admin-ui-plugins.d.ts.map +0 -1
  410. package/dist/sdk/shims/apollo-client-react.d.ts +0 -3
  411. package/dist/sdk/shims/apollo-client-react.d.ts.map +0 -1
  412. package/dist/sdk/shims/apollo-client.d.ts +0 -3
  413. package/dist/sdk/shims/apollo-client.d.ts.map +0 -1
  414. package/dist/sdk/shims/host.d.ts +0 -17
  415. package/dist/sdk/shims/host.d.ts.map +0 -1
  416. package/dist/sdk/shims/next-head.d.ts +0 -3
  417. package/dist/sdk/shims/next-head.d.ts.map +0 -1
  418. package/dist/sdk/shims/next-image.d.ts +0 -3
  419. package/dist/sdk/shims/next-image.d.ts.map +0 -1
  420. package/dist/sdk/shims/next-link.d.ts +0 -3
  421. package/dist/sdk/shims/next-link.d.ts.map +0 -1
  422. package/dist/sdk/shims/next-router.d.ts +0 -3
  423. package/dist/sdk/shims/next-router.d.ts.map +0 -1
  424. package/dist/sdk/shims/react-dom-client.d.ts +0 -3
  425. package/dist/sdk/shims/react-dom-client.d.ts.map +0 -1
  426. package/dist/sdk/shims/react-dom.d.ts +0 -3
  427. package/dist/sdk/shims/react-dom.d.ts.map +0 -1
  428. package/dist/sdk/shims/react-hook-form.d.ts +0 -3
  429. package/dist/sdk/shims/react-hook-form.d.ts.map +0 -1
  430. package/dist/sdk/shims/react-intl.d.ts +0 -3
  431. package/dist/sdk/shims/react-intl.d.ts.map +0 -1
  432. package/dist/sdk/shims/react-jsx-runtime.d.ts +0 -3
  433. package/dist/sdk/shims/react-jsx-runtime.d.ts.map +0 -1
  434. package/dist/sdk/shims/react-toastify.d.ts +0 -3
  435. package/dist/sdk/shims/react-toastify.d.ts.map +0 -1
  436. package/dist/sdk/shims/react.d.ts +0 -3
  437. package/dist/sdk/shims/react.d.ts.map +0 -1
  438. package/dist/sdk/theme.d.ts +0 -26
  439. package/dist/sdk/theme.d.ts.map +0 -1
  440. package/dist/shims/admin-ui-plugins.js +0 -9
  441. package/dist/shims/apollo-client-react.js +0 -25
  442. package/dist/shims/apollo-client.js +0 -55
  443. package/dist/shims/next-head.js +0 -9
  444. package/dist/shims/next-image.js +0 -9
  445. package/dist/shims/next-link.js +0 -9
  446. package/dist/shims/next-router.js +0 -13
  447. package/dist/shims/react-dom-client.js +0 -11
  448. package/dist/shims/react-dom.js +0 -22
  449. package/dist/shims/react-hook-form.js +0 -25
  450. package/dist/shims/react-intl.js +0 -37
  451. package/dist/shims/react-jsx-runtime.js +0 -11
  452. package/dist/shims/react-toastify.js +0 -16
  453. package/dist/shims/react.js +0 -52
  454. package/dist/theme.js +0 -34
  455. package/dist/ui.js +0 -19764
  456. package/out/manifest.json +0 -48
  457. /package/out/_next/static/{4ESrB8YpR2n44PFePtbgX → jOx5PlckLwWIJ5yrvePdU}/_clientMiddlewareManifest.js +0 -0
  458. /package/out/_next/static/{4ESrB8YpR2n44PFePtbgX → jOx5PlckLwWIJ5yrvePdU}/_ssgManifest.js +0 -0
@@ -1,1099 +0,0 @@
1
- import { __export, __esm, __reExport, __commonJS, __toCommonJS, __toESM } from './chunk-WPLOTFGW.js';
2
- import * as t8 from 'react';
3
- import t8__default, { createContext, forwardRef, useId, Fragment, useContext, useRef, useEffect, useLayoutEffect, useMemo, useCallback, useState, isValidElement, cloneElement, createElement, useSyncExternalStore } from 'react';
4
- export { useId as r } from 'react';
5
- import { createPortal } from 'react-dom';
6
-
7
- // unchained-cjs-esm-bridge:react
8
- var react_exports = {};
9
- __export(react_exports, {
10
- default: () => react_default
11
- });
12
- var react_default;
13
- var init_react = __esm({
14
- "unchained-cjs-esm-bridge:react"() {
15
- __reExport(react_exports, t8);
16
- react_default = t8.default;
17
- }
18
- });
19
-
20
- // ../node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.development.js
21
- var require_use_sync_external_store_with_selector_development = __commonJS({
22
- "../node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.development.js"(exports) {
23
- (function() {
24
- function is(x6, y4) {
25
- return x6 === y4 && (0 !== x6 || 1 / x6 === 1 / y4) || x6 !== x6 && y4 !== y4;
26
- }
27
- "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
28
- var React = (init_react(), __toCommonJS(react_exports)), objectIs = "function" === typeof Object.is ? Object.is : is, useSyncExternalStore = React.useSyncExternalStore, useRef = React.useRef, useEffect2 = React.useEffect, useMemo = React.useMemo, useDebugValue = React.useDebugValue;
29
- exports.useSyncExternalStoreWithSelector = function(subscribe, getSnapshot, getServerSnapshot, selector, isEqual) {
30
- var instRef = useRef(null);
31
- if (null === instRef.current) {
32
- var inst = { hasValue: false, value: null };
33
- instRef.current = inst;
34
- } else inst = instRef.current;
35
- instRef = useMemo(
36
- function() {
37
- function memoizedSelector(nextSnapshot) {
38
- if (!hasMemo) {
39
- hasMemo = true;
40
- memoizedSnapshot = nextSnapshot;
41
- nextSnapshot = selector(nextSnapshot);
42
- if (void 0 !== isEqual && inst.hasValue) {
43
- var currentSelection = inst.value;
44
- if (isEqual(currentSelection, nextSnapshot))
45
- return memoizedSelection = currentSelection;
46
- }
47
- return memoizedSelection = nextSnapshot;
48
- }
49
- currentSelection = memoizedSelection;
50
- if (objectIs(memoizedSnapshot, nextSnapshot))
51
- return currentSelection;
52
- var nextSelection = selector(nextSnapshot);
53
- if (void 0 !== isEqual && isEqual(currentSelection, nextSelection))
54
- return memoizedSnapshot = nextSnapshot, currentSelection;
55
- memoizedSnapshot = nextSnapshot;
56
- return memoizedSelection = nextSelection;
57
- }
58
- var hasMemo = false, memoizedSnapshot, memoizedSelection, maybeGetServerSnapshot = void 0 === getServerSnapshot ? null : getServerSnapshot;
59
- return [
60
- function() {
61
- return memoizedSelector(getSnapshot());
62
- },
63
- null === maybeGetServerSnapshot ? void 0 : function() {
64
- return memoizedSelector(maybeGetServerSnapshot());
65
- }
66
- ];
67
- },
68
- [getSnapshot, getServerSnapshot, selector, isEqual]
69
- );
70
- var value = useSyncExternalStore(subscribe, instRef[0], instRef[1]);
71
- useEffect2(
72
- function() {
73
- inst.hasValue = true;
74
- inst.value = value;
75
- },
76
- [value]
77
- );
78
- useDebugValue(value);
79
- return value;
80
- };
81
- "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
82
- })();
83
- }
84
- });
85
-
86
- // ../node_modules/use-sync-external-store/with-selector.js
87
- var require_with_selector = __commonJS({
88
- "../node_modules/use-sync-external-store/with-selector.js"(exports, module) {
89
- {
90
- module.exports = require_use_sync_external_store_with_selector_development();
91
- }
92
- }
93
- });
94
-
95
- // ../node_modules/@headlessui/react/dist/utils/env.js
96
- var i = Object.defineProperty;
97
- var d = (t10, e5, n10) => e5 in t10 ? i(t10, e5, { enumerable: true, configurable: true, writable: true, value: n10 }) : t10[e5] = n10;
98
- var r = (t10, e5, n10) => (d(t10, typeof e5 != "symbol" ? e5 + "" : e5, n10), n10);
99
- var o = class {
100
- constructor() {
101
- r(this, "current", this.detect());
102
- r(this, "handoffState", "pending");
103
- r(this, "currentId", 0);
104
- }
105
- set(e5) {
106
- this.current !== e5 && (this.handoffState = "pending", this.currentId = 0, this.current = e5);
107
- }
108
- reset() {
109
- this.set(this.detect());
110
- }
111
- nextId() {
112
- return ++this.currentId;
113
- }
114
- get isServer() {
115
- return this.current === "server";
116
- }
117
- get isClient() {
118
- return this.current === "client";
119
- }
120
- detect() {
121
- return typeof window == "undefined" || typeof document == "undefined" ? "server" : "client";
122
- }
123
- handoff() {
124
- this.handoffState === "pending" && (this.handoffState = "complete");
125
- }
126
- get isHandoffComplete() {
127
- return this.handoffState === "complete";
128
- }
129
- };
130
- var s = new o();
131
-
132
- // ../node_modules/@headlessui/react/dist/utils/owner.js
133
- function l(n10) {
134
- var u11;
135
- return s.isServer ? null : n10 == null ? document : (u11 = n10 == null ? void 0 : n10.ownerDocument) != null ? u11 : document;
136
- }
137
- function r2(n10) {
138
- var u11, o11;
139
- return s.isServer ? null : n10 == null ? document : (o11 = (u11 = n10 == null ? void 0 : n10.getRootNode) == null ? void 0 : u11.call(n10)) != null ? o11 : document;
140
- }
141
- function e(n10) {
142
- var u11, o11;
143
- return (o11 = (u11 = r2(n10)) == null ? void 0 : u11.activeElement) != null ? o11 : null;
144
- }
145
- function d2(n10) {
146
- return e(n10) === n10;
147
- }
148
-
149
- // ../node_modules/@headlessui/react/dist/utils/micro-task.js
150
- function t(e5) {
151
- typeof queueMicrotask == "function" ? queueMicrotask(e5) : Promise.resolve().then(e5).catch((o11) => setTimeout(() => {
152
- throw o11;
153
- }));
154
- }
155
-
156
- // ../node_modules/@headlessui/react/dist/utils/disposables.js
157
- function o2() {
158
- let s9 = [], r11 = { addEventListener(e5, t10, n10, i10) {
159
- return e5.addEventListener(t10, n10, i10), r11.add(() => e5.removeEventListener(t10, n10, i10));
160
- }, requestAnimationFrame(...e5) {
161
- let t10 = requestAnimationFrame(...e5);
162
- return r11.add(() => cancelAnimationFrame(t10));
163
- }, nextFrame(...e5) {
164
- return r11.requestAnimationFrame(() => r11.requestAnimationFrame(...e5));
165
- }, setTimeout(...e5) {
166
- let t10 = setTimeout(...e5);
167
- return r11.add(() => clearTimeout(t10));
168
- }, microTask(...e5) {
169
- let t10 = { current: true };
170
- return t(() => {
171
- t10.current && e5[0]();
172
- }), r11.add(() => {
173
- t10.current = false;
174
- });
175
- }, style(e5, t10, n10) {
176
- let i10 = e5.style.getPropertyValue(t10);
177
- return Object.assign(e5.style, { [t10]: n10 }), this.add(() => {
178
- Object.assign(e5.style, { [t10]: i10 });
179
- });
180
- }, group(e5) {
181
- let t10 = o2();
182
- return e5(t10), this.add(() => t10.dispose());
183
- }, add(e5) {
184
- return s9.includes(e5) || s9.push(e5), () => {
185
- let t10 = s9.indexOf(e5);
186
- if (t10 >= 0) for (let n10 of s9.splice(t10, 1)) n10();
187
- };
188
- }, dispose() {
189
- for (let e5 of s9.splice(0)) e5();
190
- } };
191
- return r11;
192
- }
193
- function p() {
194
- let [e5] = useState(o2);
195
- return useEffect(() => () => e5.dispose(), [e5]), e5;
196
- }
197
- var n = (e5, t10) => {
198
- s.isServer ? useEffect(e5, t10) : useLayoutEffect(e5, t10);
199
- };
200
- function s3(e5) {
201
- let r11 = useRef(e5);
202
- return n(() => {
203
- r11.current = e5;
204
- }, [e5]), r11;
205
- }
206
- var o4 = function(t10) {
207
- let e5 = s3(t10);
208
- return t8__default.useCallback((...r11) => e5.current(...r11), [e5]);
209
- };
210
- function n2(e5) {
211
- return useMemo(() => e5, Object.values(e5));
212
- }
213
- var e2 = createContext(void 0);
214
- function a2() {
215
- return useContext(e2);
216
- }
217
-
218
- // ../node_modules/@headlessui/react/dist/utils/class-names.js
219
- function t4(...r11) {
220
- return Array.from(new Set(r11.flatMap((n10) => typeof n10 == "string" ? n10.split(" ") : []))).filter(Boolean).join(" ");
221
- }
222
-
223
- // ../node_modules/@headlessui/react/dist/utils/match.js
224
- function u(r11, n10, ...a14) {
225
- if (r11 in n10) {
226
- let e5 = n10[r11];
227
- return typeof e5 == "function" ? e5(...a14) : e5;
228
- }
229
- let t10 = new Error(`Tried to handle "${r11}" but there is no handler defined. Only defined handlers are: ${Object.keys(n10).map((e5) => `"${e5}"`).join(", ")}.`);
230
- throw Error.captureStackTrace && Error.captureStackTrace(t10, u), t10;
231
- }
232
- var A = ((a14) => (a14[a14.None = 0] = "None", a14[a14.RenderStrategy = 1] = "RenderStrategy", a14[a14.Static = 2] = "Static", a14))(A || {});
233
- var C = ((t10) => (t10[t10.Unmount = 0] = "Unmount", t10[t10.Hidden = 1] = "Hidden", t10))(C || {});
234
- function K() {
235
- let e5 = I();
236
- return useCallback((r11) => U({ mergeRefs: e5, ...r11 }), [e5]);
237
- }
238
- function U({ ourProps: e5, theirProps: r11, slot: t10, defaultTag: a14, features: o11, visible: n10 = true, name: i10, mergeRefs: l9 }) {
239
- l9 = l9 != null ? l9 : H;
240
- let s9 = P(r11, e5);
241
- if (n10) return F(s9, t10, a14, i10, l9);
242
- let y4 = o11 != null ? o11 : 0;
243
- if (y4 & 2) {
244
- let { static: f8 = false, ...u11 } = s9;
245
- if (f8) return F(u11, t10, a14, i10, l9);
246
- }
247
- if (y4 & 1) {
248
- let { unmount: f8 = true, ...u11 } = s9;
249
- return u(f8 ? 0 : 1, { [0]() {
250
- return null;
251
- }, [1]() {
252
- return F({ ...u11, hidden: true, style: { display: "none" } }, t10, a14, i10, l9);
253
- } });
254
- }
255
- return F(s9, t10, a14, i10, l9);
256
- }
257
- function F(e5, r11 = {}, t10, a14, o11) {
258
- let { as: n10 = t10, children: i10, refName: l9 = "ref", ...s9 } = h(e5, ["unmount", "static"]), y4 = e5.ref !== void 0 ? { [l9]: e5.ref } : {}, f8 = typeof i10 == "function" ? i10(r11) : i10;
259
- f8 = E(f8), "className" in s9 && s9.className && typeof s9.className == "function" && (s9.className = s9.className(r11)), s9["aria-labelledby"] && s9["aria-labelledby"] === s9.id && (s9["aria-labelledby"] = void 0);
260
- let u11 = {};
261
- if (r11) {
262
- let d6 = false, p5 = [];
263
- for (let [c11, T7] of Object.entries(r11)) typeof T7 == "boolean" && (d6 = true), T7 === true && p5.push(c11.replace(/([A-Z])/g, (g2) => `-${g2.toLowerCase()}`));
264
- if (d6) {
265
- u11["data-headlessui-state"] = p5.join(" ");
266
- for (let c11 of p5) u11[`data-${c11}`] = "";
267
- }
268
- }
269
- if (b(n10) && (Object.keys(m(s9)).length > 0 || Object.keys(m(u11)).length > 0)) if (!isValidElement(f8) || Array.isArray(f8) && f8.length > 1 || L(f8)) {
270
- if (Object.keys(m(s9)).length > 0) throw new Error(['Passing props on "Fragment"!', "", `The current component <${a14} /> is rendering a "Fragment".`, "However we need to passthrough the following props:", Object.keys(m(s9)).concat(Object.keys(m(u11))).map((d6) => ` - ${d6}`).join(`
271
- `), "", "You can apply a few solutions:", ['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".', "Render a single element as the child so that we can forward the props onto that element."].map((d6) => ` - ${d6}`).join(`
272
- `)].join(`
273
- `));
274
- } else {
275
- let d6 = f8.props, p5 = d6 == null ? void 0 : d6.className, c11 = typeof p5 == "function" ? (...R3) => t4(p5(...R3), s9.className) : t4(p5, s9.className), T7 = c11 ? { className: c11 } : {}, g2 = P(f8.props, m(h(s9, ["ref"])));
276
- for (let R3 in u11) R3 in g2 && delete u11[R3];
277
- return cloneElement(f8, Object.assign({}, g2, u11, y4, { ref: o11(D(f8), y4.ref) }, T7));
278
- }
279
- return createElement(n10, Object.assign({}, h(s9, ["ref"]), !b(n10) && y4, !b(n10) && u11), f8);
280
- }
281
- function I() {
282
- let e5 = useRef([]), r11 = useCallback((t10) => {
283
- for (let a14 of e5.current) a14 != null && (typeof a14 == "function" ? a14(t10) : a14.current = t10);
284
- }, []);
285
- return (...t10) => {
286
- if (!t10.every((a14) => a14 == null)) return e5.current = t10, r11;
287
- };
288
- }
289
- function H(...e5) {
290
- return e5.every((r11) => r11 == null) ? void 0 : (r11) => {
291
- for (let t10 of e5) t10 != null && (typeof t10 == "function" ? t10(r11) : t10.current = r11);
292
- };
293
- }
294
- function P(...e5) {
295
- if (e5.length === 0) return {};
296
- if (e5.length === 1) return e5[0];
297
- let r11 = {}, t10 = {};
298
- for (let o11 of e5) for (let n10 in o11) n10.startsWith("on") && typeof o11[n10] == "function" ? ((t10[n10]) != null || (t10[n10] = []), t10[n10].push(o11[n10])) : r11[n10] = o11[n10];
299
- if (r11.disabled || r11["aria-disabled"]) for (let o11 in t10) /^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(o11) && (t10[o11] = [(n10) => {
300
- var i10;
301
- return (i10 = n10 == null ? void 0 : n10.preventDefault) == null ? void 0 : i10.call(n10);
302
- }]);
303
- for (let o11 in t10) Object.assign(r11, { [o11](n10, ...i10) {
304
- let l9 = t10[o11];
305
- for (let s9 of l9) {
306
- if ((n10 instanceof Event || (n10 == null ? void 0 : n10.nativeEvent) instanceof Event) && n10.defaultPrevented) return;
307
- s9(n10, ...i10);
308
- }
309
- } });
310
- return r11;
311
- }
312
- function V(...e5) {
313
- if (e5.length === 0) return {};
314
- if (e5.length === 1) return e5[0];
315
- let r11 = {}, t10 = {};
316
- for (let o11 of e5) for (let n10 in o11) n10.startsWith("on") && typeof o11[n10] == "function" ? ((t10[n10]) != null || (t10[n10] = []), t10[n10].push(o11[n10])) : r11[n10] = o11[n10];
317
- for (let o11 in t10) Object.assign(r11, { [o11](...n10) {
318
- let i10 = t10[o11];
319
- for (let l9 of i10) l9 == null || l9(...n10);
320
- } });
321
- return r11;
322
- }
323
- function Y(e5) {
324
- var r11;
325
- return Object.assign(forwardRef(e5), { displayName: (r11 = e5.displayName) != null ? r11 : e5.name });
326
- }
327
- function m(e5) {
328
- let r11 = Object.assign({}, e5);
329
- for (let t10 in r11) r11[t10] === void 0 && delete r11[t10];
330
- return r11;
331
- }
332
- function h(e5, r11 = []) {
333
- let t10 = Object.assign({}, e5);
334
- for (let a14 of r11) a14 in t10 && delete t10[a14];
335
- return t10;
336
- }
337
- function D(e5) {
338
- return t8__default.version.split(".")[0] >= "19" ? e5.props.ref : e5.ref;
339
- }
340
- function E(e5) {
341
- if (e5 != null && e5.$$typeof === /* @__PURE__ */ Symbol.for("react.lazy")) {
342
- let r11 = e5._payload;
343
- if (r11 != null && r11.status === "fulfilled") return E(r11.value);
344
- }
345
- return e5;
346
- }
347
- function b(e5) {
348
- return e5 === Fragment || e5 === /* @__PURE__ */ Symbol.for("react.fragment");
349
- }
350
- function L(e5) {
351
- return b(e5.type);
352
- }
353
-
354
- // ../node_modules/@headlessui/react/dist/utils/dom.js
355
- function o5(e5) {
356
- return typeof e5 != "object" || e5 === null ? false : "nodeType" in e5;
357
- }
358
- function t5(e5) {
359
- return o5(e5) && "tagName" in e5;
360
- }
361
- function n4(e5) {
362
- return t5(e5) && "accessKey" in e5;
363
- }
364
- function i3(e5) {
365
- return t5(e5) && "tabIndex" in e5;
366
- }
367
- function r5(e5) {
368
- return t5(e5) && "style" in e5;
369
- }
370
- function u2(e5) {
371
- return n4(e5) && e5.nodeName === "IFRAME";
372
- }
373
- function l2(e5) {
374
- return n4(e5) && e5.nodeName === "INPUT";
375
- }
376
- function m2(e5) {
377
- return n4(e5) && e5.nodeName === "LABEL";
378
- }
379
- function a3(e5) {
380
- return n4(e5) && e5.nodeName === "FIELDSET";
381
- }
382
- function E2(e5) {
383
- return n4(e5) && e5.nodeName === "LEGEND";
384
- }
385
- function L2(e5) {
386
- return t5(e5) ? e5.matches('a[href],audio[controls],button,details,embed,iframe,img[usemap],input:not([type="hidden"]),label,select,textarea,video[controls]') : false;
387
- }
388
- var u3 = /* @__PURE__ */ Symbol();
389
- function T(t10, n10 = true) {
390
- return Object.assign(t10, { [u3]: n10 });
391
- }
392
- function y(...t10) {
393
- let n10 = useRef(t10);
394
- useEffect(() => {
395
- n10.current = t10;
396
- }, [t10]);
397
- let c11 = o4((e5) => {
398
- for (let o11 of n10.current) o11 != null && (typeof o11 == "function" ? o11(e5) : o11.current = e5);
399
- });
400
- return t10.every((e5) => e5 == null || (e5 == null ? void 0 : e5[u3])) ? void 0 : c11;
401
- }
402
- var a4 = createContext(null);
403
- a4.displayName = "DescriptionContext";
404
- function f2() {
405
- let r11 = useContext(a4);
406
- if (r11 === null) {
407
- let e5 = new Error("You used a <Description /> component, but it is not inside a relevant parent.");
408
- throw Error.captureStackTrace && Error.captureStackTrace(e5, f2), e5;
409
- }
410
- return r11;
411
- }
412
- function w2() {
413
- var r11, e5;
414
- return (e5 = (r11 = useContext(a4)) == null ? void 0 : r11.value) != null ? e5 : void 0;
415
- }
416
- function H2() {
417
- let [r11, e5] = useState([]);
418
- return [r11.length > 0 ? r11.join(" ") : void 0, useMemo(() => function(t10) {
419
- let i10 = o4((n10) => (e5((o11) => [...o11, n10]), () => e5((o11) => {
420
- let s9 = o11.slice(), p5 = s9.indexOf(n10);
421
- return p5 !== -1 && s9.splice(p5, 1), s9;
422
- }))), l9 = useMemo(() => ({ register: i10, slot: t10.slot, name: t10.name, props: t10.props, value: t10.value }), [i10, t10.slot, t10.name, t10.props, t10.value]);
423
- return t8__default.createElement(a4.Provider, { value: l9 }, t10.children);
424
- }, [e5])];
425
- }
426
- var I2 = "p";
427
- function C2(r11, e5) {
428
- let c11 = useId(), t10 = a2(), { id: i10 = `headlessui-description-${c11}`, ...l9 } = r11, n10 = f2(), o11 = y(e5);
429
- n(() => n10.register(i10), [i10, n10.register]);
430
- let s9 = n2({ ...n10.slot, disabled: t10 || false }), p5 = { ref: o11, ...n10.props, id: i10 };
431
- return K()({ ourProps: p5, theirProps: l9, slot: s9, defaultTag: I2, name: n10.name || "Description" });
432
- }
433
- var _ = Y(C2);
434
- var M2 = Object.assign(_, {});
435
-
436
- // ../node_modules/@headlessui/react/dist/components/keyboard.js
437
- var o6 = ((r11) => (r11.Space = " ", r11.Enter = "Enter", r11.Escape = "Escape", r11.Backspace = "Backspace", r11.Delete = "Delete", r11.ArrowLeft = "ArrowLeft", r11.ArrowUp = "ArrowUp", r11.ArrowRight = "ArrowRight", r11.ArrowDown = "ArrowDown", r11.Home = "Home", r11.End = "End", r11.PageUp = "PageUp", r11.PageDown = "PageDown", r11.Tab = "Tab", r11))(o6 || {});
438
-
439
- // ../node_modules/@headlessui/react/dist/utils/default-map.js
440
- var a5 = class extends Map {
441
- constructor(t10) {
442
- super();
443
- this.factory = t10;
444
- }
445
- get(t10) {
446
- let e5 = super.get(t10);
447
- return e5 === void 0 && (e5 = this.factory(t10), this.set(t10, e5)), e5;
448
- }
449
- };
450
-
451
- // ../node_modules/@headlessui/react/dist/machine.js
452
- var h2 = Object.defineProperty;
453
- var v2 = (t10, e5, r11) => e5 in t10 ? h2(t10, e5, { enumerable: true, configurable: true, writable: true, value: r11 }) : t10[e5] = r11;
454
- var S2 = (t10, e5, r11) => (v2(t10, e5 + "" , r11), r11);
455
- var b2 = (t10, e5, r11) => {
456
- if (!e5.has(t10)) throw TypeError("Cannot " + r11);
457
- };
458
- var i5 = (t10, e5, r11) => (b2(t10, e5, "read from private field"), r11 ? r11.call(t10) : e5.get(t10));
459
- var c2 = (t10, e5, r11) => {
460
- if (e5.has(t10)) throw TypeError("Cannot add the same private member more than once");
461
- e5 instanceof WeakSet ? e5.add(t10) : e5.set(t10, r11);
462
- };
463
- var u5 = (t10, e5, r11, s9) => (b2(t10, e5, "write to private field"), e5.set(t10, r11), r11);
464
- var n5;
465
- var a6;
466
- var o7;
467
- var T3 = class {
468
- constructor(e5) {
469
- c2(this, n5, {});
470
- c2(this, a6, new a5(() => /* @__PURE__ */ new Set()));
471
- c2(this, o7, /* @__PURE__ */ new Set());
472
- S2(this, "disposables", o2());
473
- u5(this, n5, e5), s.isServer && this.disposables.microTask(() => {
474
- this.dispose();
475
- });
476
- }
477
- dispose() {
478
- this.disposables.dispose();
479
- }
480
- get state() {
481
- return i5(this, n5);
482
- }
483
- subscribe(e5, r11) {
484
- if (s.isServer) return () => {
485
- };
486
- let s9 = { selector: e5, callback: r11, current: e5(i5(this, n5)) };
487
- return i5(this, o7).add(s9), this.disposables.add(() => {
488
- i5(this, o7).delete(s9);
489
- });
490
- }
491
- on(e5, r11) {
492
- return s.isServer ? () => {
493
- } : (i5(this, a6).get(e5).add(r11), this.disposables.add(() => {
494
- i5(this, a6).get(e5).delete(r11);
495
- }));
496
- }
497
- send(e5) {
498
- let r11 = this.reduce(i5(this, n5), e5);
499
- if (r11 !== i5(this, n5)) {
500
- u5(this, n5, r11);
501
- for (let s9 of i5(this, o7)) {
502
- let l9 = s9.selector(i5(this, n5));
503
- j2(s9.current, l9) || (s9.current = l9, s9.callback(l9));
504
- }
505
- for (let s9 of i5(this, a6).get(e5.type)) s9(i5(this, n5), e5);
506
- }
507
- }
508
- };
509
- n5 = /* @__PURE__ */ new WeakMap(), a6 = /* @__PURE__ */ new WeakMap(), o7 = /* @__PURE__ */ new WeakMap();
510
- function j2(t10, e5) {
511
- return Object.is(t10, e5) ? true : typeof t10 != "object" || t10 === null || typeof e5 != "object" || e5 === null ? false : Array.isArray(t10) && Array.isArray(e5) ? t10.length !== e5.length ? false : f3(t10[Symbol.iterator](), e5[Symbol.iterator]()) : t10 instanceof Map && e5 instanceof Map || t10 instanceof Set && e5 instanceof Set ? t10.size !== e5.size ? false : f3(t10.entries(), e5.entries()) : p2(t10) && p2(e5) ? f3(Object.entries(t10)[Symbol.iterator](), Object.entries(e5)[Symbol.iterator]()) : false;
512
- }
513
- function f3(t10, e5) {
514
- do {
515
- let r11 = t10.next(), s9 = e5.next();
516
- if (r11.done && s9.done) return true;
517
- if (r11.done || s9.done || !Object.is(r11.value, s9.value)) return false;
518
- } while (true);
519
- }
520
- function p2(t10) {
521
- if (Object.prototype.toString.call(t10) !== "[object Object]") return false;
522
- let e5 = Object.getPrototypeOf(t10);
523
- return e5 === null || Object.getPrototypeOf(e5) === null;
524
- }
525
- function k2(t10) {
526
- let [e5, r11] = t10(), s9 = o2();
527
- return (...l9) => {
528
- e5(...l9), s9.dispose(), s9.microTask(r11);
529
- };
530
- }
531
-
532
- // ../node_modules/@headlessui/react/dist/machines/stack-machine.js
533
- var a7 = Object.defineProperty;
534
- var r6 = (e5, c11, t10) => c11 in e5 ? a7(e5, c11, { enumerable: true, configurable: true, writable: true, value: t10 }) : e5[c11] = t10;
535
- var p3 = (e5, c11, t10) => (r6(e5, typeof c11 != "symbol" ? c11 + "" : c11, t10), t10);
536
- var k3 = ((t10) => (t10[t10.Push = 0] = "Push", t10[t10.Pop = 1] = "Pop", t10))(k3 || {});
537
- var y2 = { [0](e5, c11) {
538
- let t10 = c11.id, s9 = e5.stack, i10 = e5.stack.indexOf(t10);
539
- if (i10 !== -1) {
540
- let n10 = e5.stack.slice();
541
- return n10.splice(i10, 1), n10.push(t10), s9 = n10, { ...e5, stack: s9 };
542
- }
543
- return { ...e5, stack: [...e5.stack, t10] };
544
- }, [1](e5, c11) {
545
- let t10 = c11.id, s9 = e5.stack.indexOf(t10);
546
- if (s9 === -1) return e5;
547
- let i10 = e5.stack.slice();
548
- return i10.splice(s9, 1), { ...e5, stack: i10 };
549
- } };
550
- var o8 = class _o extends T3 {
551
- constructor() {
552
- super(...arguments);
553
- p3(this, "actions", { push: (t10) => this.send({ type: 0, id: t10 }), pop: (t10) => this.send({ type: 1, id: t10 }) });
554
- p3(this, "selectors", { isTop: (t10, s9) => t10.stack[t10.stack.length - 1] === s9, inStack: (t10, s9) => t10.stack.includes(s9) });
555
- }
556
- static new() {
557
- return new _o({ stack: [] });
558
- }
559
- reduce(t10, s9) {
560
- return u(s9.type, y2, t10, s9);
561
- }
562
- };
563
- var x2 = new a5(() => o8.new());
564
-
565
- // ../node_modules/@headlessui/react/dist/react-glue.js
566
- var import_with_selector = __toESM(require_with_selector(), 1);
567
- function S3(e5, n10, r11 = j2) {
568
- return (0, import_with_selector.useSyncExternalStoreWithSelector)(o4((i10) => e5.subscribe(s4, i10)), o4(() => e5.state), o4(() => e5.state), o4(n10), r11);
569
- }
570
- function s4(e5) {
571
- return e5;
572
- }
573
- function I3(o11, s9) {
574
- let t10 = useId(), r11 = x2.get(s9), [i10, c11] = S3(r11, useCallback((e5) => [r11.selectors.isTop(e5, t10), r11.selectors.inStack(e5, t10)], [r11, t10]));
575
- return n(() => {
576
- if (o11) return r11.actions.push(t10), () => r11.actions.pop(t10);
577
- }, [r11, o11, t10]), o11 ? c11 ? i10 : true : false;
578
- }
579
-
580
- // ../node_modules/@headlessui/react/dist/hooks/use-inert-others.js
581
- var f4 = /* @__PURE__ */ new Map();
582
- var u7 = /* @__PURE__ */ new Map();
583
- function h3(t10) {
584
- var e5;
585
- let r11 = (e5 = u7.get(t10)) != null ? e5 : 0;
586
- return u7.set(t10, r11 + 1), r11 !== 0 ? () => m4(t10) : (f4.set(t10, { "aria-hidden": t10.getAttribute("aria-hidden"), inert: t10.inert }), t10.setAttribute("aria-hidden", "true"), t10.inert = true, () => m4(t10));
587
- }
588
- function m4(t10) {
589
- var i10;
590
- let r11 = (i10 = u7.get(t10)) != null ? i10 : 1;
591
- if (r11 === 1 ? u7.delete(t10) : u7.set(t10, r11 - 1), r11 !== 1) return;
592
- let e5 = f4.get(t10);
593
- e5 && (e5["aria-hidden"] === null ? t10.removeAttribute("aria-hidden") : t10.setAttribute("aria-hidden", e5["aria-hidden"]), t10.inert = e5.inert, f4.delete(t10));
594
- }
595
- function y3(t10, { allowed: r11, disallowed: e5 } = {}) {
596
- let i10 = I3(t10, "inert-others");
597
- n(() => {
598
- var d6, c11;
599
- if (!i10) return;
600
- let a14 = o2();
601
- for (let n10 of (d6 = e5 == null ? void 0 : e5()) != null ? d6 : []) n10 && a14.add(h3(n10));
602
- let s9 = (c11 = r11 == null ? void 0 : r11()) != null ? c11 : [];
603
- for (let n10 of s9) {
604
- if (!n10) continue;
605
- let l9 = l(n10);
606
- if (!l9) continue;
607
- let o11 = n10.parentElement;
608
- for (; o11 && o11 !== l9.body; ) {
609
- for (let p5 of o11.children) s9.some((E6) => p5.contains(E6)) || a14.add(h3(p5));
610
- o11 = o11.parentElement;
611
- }
612
- }
613
- return a14.dispose;
614
- }, [i10, r11, e5]);
615
- }
616
- function p4(s9, n10, o11) {
617
- let i10 = s3((t10) => {
618
- let e5 = t10.getBoundingClientRect();
619
- e5.x === 0 && e5.y === 0 && e5.width === 0 && e5.height === 0 && o11();
620
- });
621
- useEffect(() => {
622
- if (!s9) return;
623
- let t10 = n10 === null ? null : n4(n10) ? n10 : n10.current;
624
- if (!t10) return;
625
- let e5 = o2();
626
- if (typeof ResizeObserver != "undefined") {
627
- let r11 = new ResizeObserver(() => i10.current(t10));
628
- r11.observe(t10), e5.add(() => r11.disconnect());
629
- }
630
- if (typeof IntersectionObserver != "undefined") {
631
- let r11 = new IntersectionObserver(() => i10.current(t10));
632
- r11.observe(t10), e5.add(() => r11.disconnect());
633
- }
634
- return () => e5.dispose();
635
- }, [n10, i10, s9]);
636
- }
637
-
638
- // ../node_modules/@headlessui/react/dist/utils/focus-management.js
639
- var E3 = ["[contentEditable=true]", "[tabindex]", "a[href]", "area[href]", "button:not([disabled])", "iframe", "input:not([disabled])", "select:not([disabled])", "details>summary", "textarea:not([disabled])"].map((e5) => `${e5}:not([tabindex='-1'])`).join(",");
640
- var S4 = ["[data-autofocus]"].map((e5) => `${e5}:not([tabindex='-1'])`).join(",");
641
- var T4 = ((o11) => (o11[o11.First = 1] = "First", o11[o11.Previous = 2] = "Previous", o11[o11.Next = 4] = "Next", o11[o11.Last = 8] = "Last", o11[o11.WrapAround = 16] = "WrapAround", o11[o11.NoScroll = 32] = "NoScroll", o11[o11.AutoFocus = 64] = "AutoFocus", o11))(T4 || {});
642
- var A2 = ((n10) => (n10[n10.Error = 0] = "Error", n10[n10.Overflow = 1] = "Overflow", n10[n10.Success = 2] = "Success", n10[n10.Underflow = 3] = "Underflow", n10))(A2 || {});
643
- var O2 = ((t10) => (t10[t10.Previous = -1] = "Previous", t10[t10.Next = 1] = "Next", t10))(O2 || {});
644
- function x3(e5 = document.body) {
645
- return e5 == null ? [] : Array.from(e5.querySelectorAll(E3)).sort((r11, t10) => Math.sign((r11.tabIndex || Number.MAX_SAFE_INTEGER) - (t10.tabIndex || Number.MAX_SAFE_INTEGER)));
646
- }
647
- function h4(e5 = document.body) {
648
- return e5 == null ? [] : Array.from(e5.querySelectorAll(S4)).sort((r11, t10) => Math.sign((r11.tabIndex || Number.MAX_SAFE_INTEGER) - (t10.tabIndex || Number.MAX_SAFE_INTEGER)));
649
- }
650
- var I4 = ((t10) => (t10[t10.Strict = 0] = "Strict", t10[t10.Loose = 1] = "Loose", t10))(I4 || {});
651
- function H3(e5, r11 = 0) {
652
- var t10;
653
- return e5 === ((t10 = l(e5)) == null ? void 0 : t10.body) ? false : u(r11, { [0]() {
654
- return e5.matches(E3);
655
- }, [1]() {
656
- let l9 = e5;
657
- for (; l9 !== null; ) {
658
- if (l9.matches(E3)) return true;
659
- l9 = l9.parentElement;
660
- }
661
- return false;
662
- } });
663
- }
664
- var g = ((t10) => (t10[t10.Keyboard = 0] = "Keyboard", t10[t10.Mouse = 1] = "Mouse", t10))(g || {});
665
- typeof window != "undefined" && typeof document != "undefined" && (document.addEventListener("keydown", (e5) => {
666
- e5.metaKey || e5.altKey || e5.ctrlKey || (document.documentElement.dataset.headlessuiFocusVisible = "");
667
- }, true), document.addEventListener("click", (e5) => {
668
- e5.detail === 1 ? delete document.documentElement.dataset.headlessuiFocusVisible : e5.detail === 0 && (document.documentElement.dataset.headlessuiFocusVisible = "");
669
- }, true));
670
- function w3(e5) {
671
- e5 == null || e5.focus({ preventScroll: true });
672
- }
673
- var _2 = ["textarea", "input"].join(",");
674
- function P2(e5) {
675
- var r11, t10;
676
- return (t10 = (r11 = e5 == null ? void 0 : e5.matches) == null ? void 0 : r11.call(e5, _2)) != null ? t10 : false;
677
- }
678
- function G(e5, r11 = (t10) => t10) {
679
- return e5.slice().sort((t10, l9) => {
680
- let n10 = r11(t10), a14 = r11(l9);
681
- if (n10 === null || a14 === null) return 0;
682
- let u11 = n10.compareDocumentPosition(a14);
683
- return u11 & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : u11 & Node.DOCUMENT_POSITION_PRECEDING ? 1 : 0;
684
- });
685
- }
686
- function R(e5, r11, t10 = e5 === null ? document.body : r2(e5)) {
687
- return v3(x3(t10), r11, { relativeTo: e5 });
688
- }
689
- function v3(e5, r11, { sorted: t10 = true, relativeTo: l9 = null, skipElements: n10 = [] } = {}) {
690
- let a14 = Array.isArray(e5) ? e5.length > 0 ? r2(e5[0]) : document : r2(e5), u11 = Array.isArray(e5) ? t10 ? G(e5) : e5 : r11 & 64 ? h4(e5) : x3(e5);
691
- n10.length > 0 && u11.length > 1 && (u11 = u11.filter((i10) => !n10.some((d6) => d6 != null && "current" in d6 ? (d6 == null ? void 0 : d6.current) === i10 : d6 === i10))), l9 = l9 != null ? l9 : a14 == null ? void 0 : a14.activeElement;
692
- let o11 = (() => {
693
- if (r11 & 5) return 1;
694
- if (r11 & 10) return -1;
695
- throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last");
696
- })(), M4 = (() => {
697
- if (r11 & 1) return 0;
698
- if (r11 & 2) return Math.max(0, u11.indexOf(l9)) - 1;
699
- if (r11 & 4) return Math.max(0, u11.indexOf(l9)) + 1;
700
- if (r11 & 8) return u11.length - 1;
701
- throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last");
702
- })(), N2 = r11 & 32 ? { preventScroll: true } : {}, m6 = 0, c11 = u11.length, s9;
703
- do {
704
- if (m6 >= c11 || m6 + c11 <= 0) return 0;
705
- let i10 = M4 + m6;
706
- if (r11 & 16) i10 = (i10 + c11) % c11;
707
- else {
708
- if (i10 < 0) return 3;
709
- if (i10 >= c11) return 1;
710
- }
711
- s9 = u11[i10], s9 == null || s9.focus(N2), m6 += o11;
712
- } while (s9 !== e(s9));
713
- return r11 & 6 && P2(s9) && s9.select(), 2;
714
- }
715
-
716
- // ../node_modules/@headlessui/react/dist/utils/platform.js
717
- function t6() {
718
- return /iPhone/gi.test(window.navigator.platform) || /Mac/gi.test(window.navigator.platform) && window.navigator.maxTouchPoints > 0;
719
- }
720
- function i6() {
721
- return /Android/gi.test(window.navigator.userAgent);
722
- }
723
- function n7() {
724
- return t6() || i6();
725
- }
726
- function i7(t10, e5, o11, n10) {
727
- let u11 = s3(o11);
728
- useEffect(() => {
729
- if (!t10) return;
730
- function r11(m6) {
731
- u11.current(m6);
732
- }
733
- return document.addEventListener(e5, r11, n10), () => document.removeEventListener(e5, r11, n10);
734
- }, [t10, e5, n10]);
735
- }
736
- function s5(t10, e5, o11, n10) {
737
- let i10 = s3(o11);
738
- useEffect(() => {
739
- if (!t10) return;
740
- function r11(d6) {
741
- i10.current(d6);
742
- }
743
- return window.addEventListener(e5, r11, n10), () => window.removeEventListener(e5, r11, n10);
744
- }, [t10, e5, n10]);
745
- }
746
-
747
- // ../node_modules/@headlessui/react/dist/hooks/use-outside-click.js
748
- var C3 = 30;
749
- function k4(o11, f8, h5) {
750
- let m6 = s3(h5), s9 = useCallback(function(e5, c11) {
751
- if (e5.defaultPrevented) return;
752
- let r11 = c11(e5);
753
- if (r11 === null || !r11.getRootNode().contains(r11) || !r11.isConnected) return;
754
- let M4 = (function u11(n10) {
755
- return typeof n10 == "function" ? u11(n10()) : Array.isArray(n10) || n10 instanceof Set ? n10 : [n10];
756
- })(f8);
757
- for (let u11 of M4) if (u11 !== null && (u11.contains(r11) || e5.composed && e5.composedPath().includes(u11))) return;
758
- return !H3(r11, I4.Loose) && r11.tabIndex !== -1 && e5.preventDefault(), m6.current(e5, r11);
759
- }, [m6, f8]), i10 = useRef(null);
760
- i7(o11, "pointerdown", (t10) => {
761
- var e5, c11;
762
- n7() || (i10.current = ((c11 = (e5 = t10.composedPath) == null ? void 0 : e5.call(t10)) == null ? void 0 : c11[0]) || t10.target);
763
- }, true), i7(o11, "pointerup", (t10) => {
764
- if (n7() || !i10.current) return;
765
- let e5 = i10.current;
766
- return i10.current = null, s9(t10, () => e5);
767
- }, true);
768
- let l9 = useRef({ x: 0, y: 0 });
769
- i7(o11, "touchstart", (t10) => {
770
- l9.current.x = t10.touches[0].clientX, l9.current.y = t10.touches[0].clientY;
771
- }, true), i7(o11, "touchend", (t10) => {
772
- let e5 = { x: t10.changedTouches[0].clientX, y: t10.changedTouches[0].clientY };
773
- if (!(Math.abs(e5.x - l9.current.x) >= C3 || Math.abs(e5.y - l9.current.y) >= C3)) return s9(t10, () => i3(t10.target) ? t10.target : null);
774
- }, true), s5(o11, "blur", (t10) => s9(t10, () => u2(window.document.activeElement) ? window.document.activeElement : null), true);
775
- }
776
- function u8(...e5) {
777
- return useMemo(() => l(...e5), [...e5]);
778
- }
779
- function o10(t10) {
780
- return useSyncExternalStore(t10.subscribe, t10.getSnapshot, t10.getSnapshot);
781
- }
782
-
783
- // ../node_modules/@headlessui/react/dist/utils/store.js
784
- function a10(o11, r11) {
785
- let t10 = o11(), n10 = /* @__PURE__ */ new Set();
786
- return { getSnapshot() {
787
- return t10;
788
- }, subscribe(e5) {
789
- return n10.add(e5), () => n10.delete(e5);
790
- }, dispatch(e5, ...s9) {
791
- let i10 = r11[e5].call(t10, ...s9);
792
- i10 && (t10 = i10, n10.forEach((c11) => c11()));
793
- } };
794
- }
795
-
796
- // ../node_modules/@headlessui/react/dist/hooks/document-overflow/adjust-scrollbar-padding.js
797
- function d4() {
798
- let r11;
799
- return { before({ doc: e5 }) {
800
- var l9;
801
- let o11 = e5.documentElement, t10 = (l9 = e5.defaultView) != null ? l9 : window;
802
- r11 = Math.max(0, t10.innerWidth - o11.clientWidth);
803
- }, after({ doc: e5, d: o11 }) {
804
- let t10 = e5.documentElement, l9 = Math.max(0, t10.clientWidth - t10.offsetWidth), n10 = Math.max(0, r11 - l9);
805
- o11.style(t10, "paddingRight", `${n10}px`);
806
- } };
807
- }
808
-
809
- // ../node_modules/@headlessui/react/dist/hooks/document-overflow/handle-ios-locking.js
810
- function w4() {
811
- return t6() ? { before({ doc: o11, d: r11, meta: m6 }) {
812
- function a14(s9) {
813
- for (let l9 of m6().containers) for (let c11 of l9()) if (c11.contains(s9)) return true;
814
- return false;
815
- }
816
- r11.microTask(() => {
817
- var c11;
818
- if (window.getComputedStyle(o11.documentElement).scrollBehavior !== "auto") {
819
- let t10 = o2();
820
- t10.style(o11.documentElement, "scrollBehavior", "auto"), r11.add(() => r11.microTask(() => t10.dispose()));
821
- }
822
- let s9 = (c11 = window.scrollY) != null ? c11 : window.pageYOffset, l9 = null;
823
- r11.addEventListener(o11, "click", (t10) => {
824
- if (i3(t10.target)) try {
825
- let e5 = t10.target.closest("a");
826
- if (!e5) return;
827
- let { hash: n10 } = new URL(e5.href), f8 = o11.querySelector(n10);
828
- i3(f8) && !a14(f8) && (l9 = f8);
829
- } catch {
830
- }
831
- }, true), r11.group((t10) => {
832
- r11.addEventListener(o11, "touchstart", (e5) => {
833
- if (t10.dispose(), i3(e5.target) && r5(e5.target)) if (a14(e5.target)) {
834
- let n10 = e5.target;
835
- for (; n10.parentElement && a14(n10.parentElement); ) n10 = n10.parentElement;
836
- t10.style(n10, "overscrollBehavior", "contain");
837
- } else t10.style(e5.target, "touchAction", "none");
838
- });
839
- }), r11.addEventListener(o11, "touchmove", (t10) => {
840
- if (i3(t10.target)) {
841
- if (l2(t10.target)) return;
842
- if (a14(t10.target)) {
843
- let e5 = t10.target;
844
- for (; e5.parentElement && e5.dataset.headlessuiPortal !== "" && !(e5.scrollHeight > e5.clientHeight || e5.scrollWidth > e5.clientWidth); ) e5 = e5.parentElement;
845
- e5.dataset.headlessuiPortal === "" && t10.preventDefault();
846
- } else t10.preventDefault();
847
- }
848
- }, { passive: false }), r11.add(() => {
849
- var e5;
850
- let t10 = (e5 = window.scrollY) != null ? e5 : window.pageYOffset;
851
- s9 !== t10 && window.scrollTo(0, s9), l9 && l9.isConnected && (l9.scrollIntoView({ block: "nearest" }), l9 = null);
852
- });
853
- });
854
- } } : {};
855
- }
856
-
857
- // ../node_modules/@headlessui/react/dist/hooks/document-overflow/prevent-scroll.js
858
- function r7() {
859
- return { before({ doc: e5, d: o11 }) {
860
- o11.style(e5.documentElement, "overflow", "hidden");
861
- } };
862
- }
863
-
864
- // ../node_modules/@headlessui/react/dist/hooks/document-overflow/overflow-store.js
865
- function r8(e5) {
866
- let o11 = {};
867
- for (let t10 of e5) Object.assign(o11, t10(o11));
868
- return o11;
869
- }
870
- var c4 = a10(() => /* @__PURE__ */ new Map(), { PUSH(e5, o11) {
871
- var n10;
872
- let t10 = (n10 = this.get(e5)) != null ? n10 : { doc: e5, count: 0, d: o2(), meta: /* @__PURE__ */ new Set(), computedMeta: {} };
873
- return t10.count++, t10.meta.add(o11), t10.computedMeta = r8(t10.meta), this.set(e5, t10), this;
874
- }, POP(e5, o11) {
875
- let t10 = this.get(e5);
876
- return t10 && (t10.count--, t10.meta.delete(o11), t10.computedMeta = r8(t10.meta)), this;
877
- }, SCROLL_PREVENT(e5) {
878
- let o11 = { doc: e5.doc, d: e5.d, meta() {
879
- return e5.computedMeta;
880
- } }, t10 = [w4(), d4(), r7()];
881
- t10.forEach(({ before: n10 }) => n10 == null ? void 0 : n10(o11)), t10.forEach(({ after: n10 }) => n10 == null ? void 0 : n10(o11));
882
- }, SCROLL_ALLOW({ d: e5 }) {
883
- e5.dispose();
884
- }, TEARDOWN({ doc: e5 }) {
885
- this.delete(e5);
886
- } });
887
- c4.subscribe(() => {
888
- let e5 = c4.getSnapshot(), o11 = /* @__PURE__ */ new Map();
889
- for (let [t10] of e5) o11.set(t10, t10.documentElement.style.overflow);
890
- for (let t10 of e5.values()) {
891
- let n10 = o11.get(t10.doc) === "hidden", a14 = t10.count !== 0;
892
- (a14 && !n10 || !a14 && n10) && c4.dispatch(t10.count > 0 ? "SCROLL_PREVENT" : "SCROLL_ALLOW", t10), t10.count === 0 && c4.dispatch("TEARDOWN", t10);
893
- }
894
- });
895
-
896
- // ../node_modules/@headlessui/react/dist/hooks/document-overflow/use-document-overflow.js
897
- function a11(r11, e5, n10 = () => ({ containers: [] })) {
898
- let f8 = o10(c4), o11 = e5 ? f8.get(e5) : void 0, i10 = o11 ? o11.count > 0 : false;
899
- return n(() => {
900
- if (!(!e5 || !r11)) return c4.dispatch("PUSH", e5, n10), () => c4.dispatch("POP", e5, n10);
901
- }, [r11, e5]), i10;
902
- }
903
-
904
- // ../node_modules/@headlessui/react/dist/hooks/use-scroll-lock.js
905
- function f5(e5, c11, n10 = () => [document.body]) {
906
- let r11 = I3(e5, "scroll-lock");
907
- a11(r11, c11, (t10) => {
908
- var o11;
909
- return { containers: [...(o11 = t10.containers) != null ? o11 : [], n10] };
910
- });
911
- }
912
- function c5(u11 = 0) {
913
- let [r11, a14] = useState(u11), g2 = useCallback((e5) => a14(e5), []), s9 = useCallback((e5) => a14((l9) => l9 | e5), []), m6 = useCallback((e5) => (r11 & e5) === e5, [r11]), n10 = useCallback((e5) => a14((l9) => l9 & ~e5), []), F2 = useCallback((e5) => a14((l9) => l9 ^ e5), []);
914
- return { flags: r11, setFlag: g2, addFlag: s9, hasFlag: m6, removeFlag: n10, toggleFlag: F2 };
915
- }
916
-
917
- // ../node_modules/@headlessui/react/dist/hooks/use-transition.js
918
- var T6;
919
- var S5;
920
- typeof process != "undefined" && typeof globalThis != "undefined" && typeof Element != "undefined" && ((T6 = process == null ? void 0 : process.env) == null ? void 0 : T6["NODE_ENV"]) === "test" && typeof ((S5 = Element == null ? void 0 : Element.prototype) == null ? void 0 : S5.getAnimations) == "undefined" && (Element.prototype.getAnimations = function() {
921
- return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.", "Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.", "", "Example usage:", "```js", "import { mockAnimationsApi } from 'jsdom-testing-mocks'", "mockAnimationsApi()", "```"].join(`
922
- `)), [];
923
- });
924
- var A3 = ((i10) => (i10[i10.None = 0] = "None", i10[i10.Closed = 1] = "Closed", i10[i10.Enter = 2] = "Enter", i10[i10.Leave = 4] = "Leave", i10))(A3 || {});
925
- function x4(e5) {
926
- let r11 = {};
927
- for (let t10 in e5) e5[t10] === true && (r11[`data-${t10}`] = "");
928
- return r11;
929
- }
930
- function N(e5, r11, t10, n10) {
931
- let [i10, a14] = useState(t10), { hasFlag: s9, addFlag: o11, removeFlag: l9 } = c5(e5 && i10 ? 3 : 0), u11 = useRef(false), f8 = useRef(false), E6 = p();
932
- return n(() => {
933
- var d6;
934
- if (e5) {
935
- if (t10 && a14(true), !r11) {
936
- t10 && o11(3);
937
- return;
938
- }
939
- return (d6 = n10 == null ? void 0 : n10.start) == null || d6.call(n10, t10), C4(r11, { inFlight: u11, prepare() {
940
- f8.current ? f8.current = false : f8.current = u11.current, u11.current = true, !f8.current && (t10 ? (o11(3), l9(4)) : (o11(4), l9(2)));
941
- }, run() {
942
- f8.current ? t10 ? (l9(3), o11(4)) : (l9(4), o11(3)) : t10 ? l9(1) : o11(1);
943
- }, done() {
944
- var p5;
945
- f8.current && D3(r11) || (u11.current = false, l9(7), t10 || a14(false), (p5 = n10 == null ? void 0 : n10.end) == null || p5.call(n10, t10));
946
- } });
947
- }
948
- }, [e5, t10, r11, E6]), e5 ? [i10, { closed: s9(1), enter: s9(2), leave: s9(4), transition: s9(2) || s9(4) }] : [t10, { closed: void 0, enter: void 0, leave: void 0, transition: void 0 }];
949
- }
950
- function C4(e5, { prepare: r11, run: t10, done: n10, inFlight: i10 }) {
951
- let a14 = o2();
952
- return j3(e5, { prepare: r11, inFlight: i10 }), a14.nextFrame(() => {
953
- t10(), a14.requestAnimationFrame(() => {
954
- a14.add(M3(e5, n10));
955
- });
956
- }), a14.dispose;
957
- }
958
- function M3(e5, r11) {
959
- var a14, s9;
960
- let t10 = o2();
961
- if (!e5) return t10.dispose;
962
- let n10 = false;
963
- t10.add(() => {
964
- n10 = true;
965
- });
966
- let i10 = (s9 = (a14 = e5.getAnimations) == null ? void 0 : a14.call(e5).filter((o11) => o11 instanceof CSSTransition)) != null ? s9 : [];
967
- return i10.length === 0 ? (r11(), t10.dispose) : (Promise.allSettled(i10.map((o11) => o11.finished)).then(() => {
968
- n10 || r11();
969
- }), t10.dispose);
970
- }
971
- function j3(e5, { inFlight: r11, prepare: t10 }) {
972
- if (r11 != null && r11.current) {
973
- t10();
974
- return;
975
- }
976
- let n10 = e5.style.transition;
977
- e5.style.transition = "none", t10(), e5.offsetHeight, e5.style.transition = n10;
978
- }
979
- function D3(e5) {
980
- var t10, n10;
981
- return ((n10 = (t10 = e5.getAnimations) == null ? void 0 : t10.call(e5)) != null ? n10 : []).some((i10) => i10 instanceof CSSTransition && i10.playState !== "finished");
982
- }
983
- var n8 = createContext(null);
984
- n8.displayName = "OpenClosedContext";
985
- var i8 = ((e5) => (e5[e5.Open = 1] = "Open", e5[e5.Closed = 2] = "Closed", e5[e5.Closing = 4] = "Closing", e5[e5.Opening = 8] = "Opening", e5))(i8 || {});
986
- function u9() {
987
- return useContext(n8);
988
- }
989
- function c7({ value: o11, children: t10 }) {
990
- return t8__default.createElement(n8.Provider, { value: o11 }, t10);
991
- }
992
- function s6({ children: o11 }) {
993
- return t8__default.createElement(n8.Provider, { value: null }, o11);
994
- }
995
- function s7() {
996
- let r11 = typeof document == "undefined";
997
- return "useSyncExternalStore" in t8 ? ((o11) => o11.useSyncExternalStore)(t8)(() => () => {
998
- }, () => false, () => !r11) : false;
999
- }
1000
- function l6() {
1001
- let r11 = s7(), [e5, n10] = t8.useState(s.isHandoffComplete);
1002
- return e5 && s.isHandoffComplete === false && n10(false), t8.useEffect(() => {
1003
- e5 !== true && n10(true);
1004
- }, [e5]), t8.useEffect(() => s.handoff(), []), r11 ? false : e5;
1005
- }
1006
- var e4 = createContext(false);
1007
- function a12() {
1008
- return useContext(e4);
1009
- }
1010
- function l7(o11) {
1011
- return t8__default.createElement(e4.Provider, { value: o11.force }, o11.children);
1012
- }
1013
- function c9(t10) {
1014
- let r11 = o4(t10), e5 = useRef(false);
1015
- useEffect(() => (e5.current = false, () => {
1016
- e5.current = true, t(() => {
1017
- e5.current && r11();
1018
- });
1019
- }), [r11]);
1020
- }
1021
-
1022
- // ../node_modules/@headlessui/react/dist/components/portal/portal.js
1023
- function j4(e5) {
1024
- let o11 = a12(), l9 = useContext(c10), [r11, p5] = useState(() => {
1025
- var s9;
1026
- if (!o11 && l9 !== null) return (s9 = l9.current) != null ? s9 : null;
1027
- if (s.isServer) return null;
1028
- let t10 = e5 == null ? void 0 : e5.getElementById("headlessui-portal-root");
1029
- if (t10) return t10;
1030
- if (e5 === null) return null;
1031
- let n10 = e5.createElement("div");
1032
- return n10.setAttribute("id", "headlessui-portal-root"), e5.body.appendChild(n10);
1033
- });
1034
- return useEffect(() => {
1035
- r11 !== null && (e5 != null && e5.body.contains(r11) || e5 == null || e5.body.appendChild(r11));
1036
- }, [r11, e5]), useEffect(() => {
1037
- o11 || l9 !== null && p5(l9.current);
1038
- }, [l9, p5, o11]), r11;
1039
- }
1040
- var _3 = Fragment;
1041
- var I5 = Y(function(o11, l9) {
1042
- let { ownerDocument: r11 = null, ...p5 } = o11, t10 = useRef(null), n10 = y(T((a14) => {
1043
- t10.current = a14;
1044
- }), l9), s9 = u8(t10.current), C5 = r11 != null ? r11 : s9, u11 = j4(C5), y4 = useContext(m5), g2 = p(), v4 = l6(), M4 = K();
1045
- return c9(() => {
1046
- var a14;
1047
- u11 && u11.childNodes.length <= 0 && ((a14 = u11.parentElement) == null || a14.removeChild(u11));
1048
- }), !u11 || !v4 ? null : createPortal(t8__default.createElement("div", { "data-headlessui-portal": "", ref: (a14) => {
1049
- g2.dispose(), y4 && a14 && g2.add(y4.register(a14));
1050
- } }, M4({ ourProps: { ref: n10 }, theirProps: p5, slot: {}, defaultTag: _3, name: "Portal" })), u11);
1051
- });
1052
- function D4(e5, o11) {
1053
- let l9 = y(o11), { enabled: r11 = true, ownerDocument: p5, ...t10 } = e5, n10 = K();
1054
- return r11 ? t8__default.createElement(I5, { ...t10, ownerDocument: p5, ref: l9 }) : n10({ ourProps: { ref: l9 }, theirProps: t10, slot: {}, defaultTag: _3, name: "Portal" });
1055
- }
1056
- var J = Fragment;
1057
- var c10 = createContext(null);
1058
- function X(e5, o11) {
1059
- let { target: l9, ...r11 } = e5, t10 = { ref: y(o11) }, n10 = K();
1060
- return t8__default.createElement(c10.Provider, { value: l9 }, n10({ ourProps: t10, theirProps: r11, defaultTag: J, name: "Popover.Group" }));
1061
- }
1062
- var m5 = createContext(null);
1063
- function oe() {
1064
- let e5 = useContext(m5), o11 = useRef([]), l9 = o4((t10) => (o11.current.push(t10), e5 && e5.register(t10), () => r11(t10))), r11 = o4((t10) => {
1065
- let n10 = o11.current.indexOf(t10);
1066
- n10 !== -1 && o11.current.splice(n10, 1), e5 && e5.unregister(t10);
1067
- }), p5 = useMemo(() => ({ register: l9, unregister: r11, portals: o11 }), [l9, r11, o11]);
1068
- return [o11, useMemo(() => function({ children: n10 }) {
1069
- return t8__default.createElement(m5.Provider, { value: p5 }, n10);
1070
- }, [p5])];
1071
- }
1072
- var k5 = Y(D4);
1073
- var B = Y(X);
1074
- var le = Object.assign(k5, { Group: B });
1075
-
1076
- // ../node_modules/@headlessui/react/dist/internal/hidden.js
1077
- var a13 = "span";
1078
- var s8 = ((e5) => (e5[e5.None = 1] = "None", e5[e5.Focusable = 2] = "Focusable", e5[e5.Hidden = 4] = "Hidden", e5))(s8 || {});
1079
- function l8(t10, r11) {
1080
- var n10;
1081
- let { features: d6 = 1, ...e5 } = t10, o11 = { ref: r11, "aria-hidden": (d6 & 2) === 2 ? true : (n10 = e5["aria-hidden"]) != null ? n10 : void 0, hidden: (d6 & 4) === 4 ? true : void 0, style: { position: "fixed", top: 1, left: 1, width: 1, height: 0, padding: 0, margin: -1, overflow: "hidden", clip: "rect(0, 0, 0, 0)", whiteSpace: "nowrap", borderWidth: "0", ...(d6 & 4) === 4 && (d6 & 2) !== 2 && { display: "none" } } };
1082
- return K()({ ourProps: o11, theirProps: e5, slot: {}, defaultTag: a13, name: "Hidden" });
1083
- }
1084
- var f7 = Y(l8);
1085
- /*! Bundled license information:
1086
-
1087
- use-sync-external-store/cjs/use-sync-external-store-with-selector.development.js:
1088
- (**
1089
- * @license React
1090
- * use-sync-external-store-with-selector.development.js
1091
- *
1092
- * Copyright (c) Meta Platforms, Inc. and affiliates.
1093
- *
1094
- * This source code is licensed under the MIT license found in the
1095
- * LICENSE file in the root directory of this source tree.
1096
- *)
1097
- */
1098
-
1099
- export { A, A2, B, C, E2 as E, E3 as E2, G, H2 as H, H3 as H2, I3 as I, I4 as I2, K, L2 as L, M2 as M, N, R, S3 as S, T3 as T, T4 as T2, V, Y, a2 as a, a3 as a2, b, c7 as c, c9 as c2, d2 as d, f7 as f, f5 as f2, i3 as i, i7 as i2, i8 as i3, init_react, k2 as k, k3 as k2, k4 as k3, l, l2, l6 as l3, l7 as l4, le, m, m2, n, n2, n4 as n3, n7 as n4, o2 as o, o4 as o2, o5 as o3, o6 as o4, oe, p, p4 as p2, react_exports, s3 as s, s8 as s2, s5 as s3, s6 as s4, t, t4 as t2, t5 as t3, u, u8 as u2, u9 as u3, v3 as v, w2 as w, w3 as w2, x2 as x, x4 as x2, y, y3 as y2 };