@unchainedshop/admin-ui 4.8.32 → 4.8.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (817) hide show
  1. package/dist/chunk-2HTCKO4E.js +45 -0
  2. package/dist/chunk-4MXPTVDL.js +3308 -0
  3. package/dist/chunk-54DKBWXV.js +33 -0
  4. package/dist/chunk-6UGLNLJG.js +44 -0
  5. package/dist/chunk-ATZJXTRA.js +618 -0
  6. package/dist/chunk-BOMSMJF2.js +77 -0
  7. package/dist/chunk-COV7BREX.js +50 -0
  8. package/dist/chunk-CUYIP5XG.js +1099 -0
  9. package/dist/chunk-E6HDJYA6.js +388 -0
  10. package/dist/chunk-EAVP6XZQ.js +44 -0
  11. package/dist/chunk-ED2FP42R.js +2083 -0
  12. package/dist/chunk-EJDZRZSZ.js +59 -0
  13. package/dist/chunk-ELPURWDC.js +75 -0
  14. package/dist/chunk-F6LBNV3H.js +9 -0
  15. package/dist/chunk-GWMLIF3C.js +694 -0
  16. package/dist/chunk-GY2DRQGW.js +166 -0
  17. package/dist/chunk-HERLM47Z.js +309 -0
  18. package/dist/chunk-IAQPLRXZ.js +16 -0
  19. package/dist/chunk-ILYPJE4N.js +57 -0
  20. package/dist/chunk-IWKDBADX.js +73 -0
  21. package/dist/chunk-IXBMHOB5.js +13 -0
  22. package/dist/chunk-IYKPRAWC.js +26 -0
  23. package/dist/chunk-J23QSWDL.js +8 -0
  24. package/dist/chunk-KH5MK6ZW.js +18 -0
  25. package/dist/chunk-KRIRF7F6.js +76 -0
  26. package/dist/chunk-NFJE5EJG.js +135 -0
  27. package/dist/chunk-NT7RB7AK.js +70 -0
  28. package/dist/chunk-OKGJ6HDE.js +26 -0
  29. package/dist/chunk-OTXM2UCD.js +19 -0
  30. package/dist/chunk-PGJTFYBT.js +23000 -0
  31. package/dist/chunk-PUI5BIKO.js +41 -0
  32. package/dist/chunk-Q6S3LBUF.js +180 -0
  33. package/dist/chunk-QWQ3WJJN.js +1 -0
  34. package/dist/chunk-RAQV2GYF.js +70 -0
  35. package/dist/chunk-VBO377AY.js +14 -0
  36. package/dist/chunk-VYEXPG3M.js +107 -0
  37. package/dist/chunk-YO6PT7KD.js +13 -0
  38. package/dist/chunk-YUXHILXY.js +326 -0
  39. package/dist/chunk-ZUOVKRKC.js +957 -0
  40. package/dist/components/ui/Accordion/Accordion.d.ts +11 -0
  41. package/dist/components/ui/Accordion/Accordion.d.ts.map +1 -0
  42. package/dist/components/ui/Accordion/AccordionHeader.d.ts +6 -0
  43. package/dist/components/ui/Accordion/AccordionHeader.d.ts.map +1 -0
  44. package/dist/components/ui/Accordion/AccordionItem.d.ts +11 -0
  45. package/dist/components/ui/Accordion/AccordionItem.d.ts.map +1 -0
  46. package/dist/components/ui/ActiveInActive.d.ts +10 -0
  47. package/dist/components/ui/ActiveInActive.d.ts.map +1 -0
  48. package/dist/components/ui/AnimatedCounter.d.ts +7 -0
  49. package/dist/components/ui/AnimatedCounter.d.ts.map +1 -0
  50. package/dist/components/ui/Badge.d.ts +10 -0
  51. package/dist/components/ui/Badge.d.ts.map +1 -0
  52. package/dist/components/ui/BreadCrumbs.d.ts +7 -0
  53. package/dist/components/ui/BreadCrumbs.d.ts.map +1 -0
  54. package/dist/components/ui/Button.d.ts +36 -0
  55. package/dist/components/ui/Button.d.ts.map +1 -0
  56. package/dist/components/ui/CopyableText.d.ts +5 -0
  57. package/dist/components/ui/CopyableText.d.ts.map +1 -0
  58. package/dist/components/ui/DateInput.d.ts +15 -0
  59. package/dist/components/ui/DateInput.d.ts.map +1 -0
  60. package/dist/components/ui/DateRangeFilterInput.d.ts +4 -0
  61. package/dist/components/ui/DateRangeFilterInput.d.ts.map +1 -0
  62. package/dist/components/ui/DetailHeader.d.ts +6 -0
  63. package/dist/components/ui/DetailHeader.d.ts.map +1 -0
  64. package/dist/components/ui/DraggableIcon.d.ts +3 -0
  65. package/dist/components/ui/DraggableIcon.d.ts.map +1 -0
  66. package/dist/components/ui/ErrorBoundary.d.ts +18 -0
  67. package/dist/components/ui/ErrorBoundary.d.ts.map +1 -0
  68. package/dist/components/ui/ErrorFallback.d.ts +6 -0
  69. package/dist/components/ui/ErrorFallback.d.ts.map +1 -0
  70. package/dist/components/ui/HelpText.d.ts +11 -0
  71. package/dist/components/ui/HelpText.d.ts.map +1 -0
  72. package/dist/components/ui/ImageWithFallback.d.ts +7 -0
  73. package/dist/components/ui/ImageWithFallback.d.ts.map +1 -0
  74. package/dist/components/ui/InfoTextBanner.d.ts +6 -0
  75. package/dist/components/ui/InfoTextBanner.d.ts.map +1 -0
  76. package/dist/components/ui/JSONView.d.ts +6 -0
  77. package/dist/components/ui/JSONView.d.ts.map +1 -0
  78. package/dist/components/ui/ListHeader.d.ts +6 -0
  79. package/dist/components/ui/ListHeader.d.ts.map +1 -0
  80. package/dist/components/ui/Loading.d.ts +10 -0
  81. package/dist/components/ui/Loading.d.ts.map +1 -0
  82. package/dist/components/ui/NoData.d.ts +7 -0
  83. package/dist/components/ui/NoData.d.ts.map +1 -0
  84. package/dist/components/ui/NoImage.d.ts +7 -0
  85. package/dist/components/ui/NoImage.d.ts.map +1 -0
  86. package/dist/components/ui/NoImageSvg.d.ts +8 -0
  87. package/dist/components/ui/NoImageSvg.d.ts.map +1 -0
  88. package/dist/components/ui/PageHeader.d.ts +11 -0
  89. package/dist/components/ui/PageHeader.d.ts.map +1 -0
  90. package/dist/components/ui/Pagination.d.ts +8 -0
  91. package/dist/components/ui/Pagination.d.ts.map +1 -0
  92. package/dist/components/ui/Portal/Portal.d.ts +16 -0
  93. package/dist/components/ui/Portal/Portal.d.ts.map +1 -0
  94. package/dist/components/ui/Portal/Portal.types.d.ts +16 -0
  95. package/dist/components/ui/Portal/Portal.types.d.ts.map +1 -0
  96. package/dist/components/ui/SaveAndCancelButtons.d.ts +10 -0
  97. package/dist/components/ui/SaveAndCancelButtons.d.ts.map +1 -0
  98. package/dist/components/ui/SearchField.d.ts +7 -0
  99. package/dist/components/ui/SearchField.d.ts.map +1 -0
  100. package/dist/components/ui/Tab.d.ts +18 -0
  101. package/dist/components/ui/Tab.d.ts.map +1 -0
  102. package/dist/components/ui/Tag/TagInput.d.ts +19 -0
  103. package/dist/components/ui/Tag/TagInput.d.ts.map +1 -0
  104. package/dist/components/ui/Tag/TagList.d.ts +8 -0
  105. package/dist/components/ui/Tag/TagList.d.ts.map +1 -0
  106. package/dist/components/ui/Tag/TagListForm.d.ts +8 -0
  107. package/dist/components/ui/Tag/TagListForm.d.ts.map +1 -0
  108. package/dist/components/ui/Toggle.d.ts +11 -0
  109. package/dist/components/ui/Toggle.d.ts.map +1 -0
  110. package/dist/components/ui/ToolTip.d.ts +7 -0
  111. package/dist/components/ui/ToolTip.d.ts.map +1 -0
  112. package/dist/components/ui/card.d.ts +9 -0
  113. package/dist/components/ui/card.d.ts.map +1 -0
  114. package/dist/components/ui/chart.d.ts +42 -0
  115. package/dist/components/ui/chart.d.ts.map +1 -0
  116. package/dist/components/ui/form/CheckboxField.d.ts +4 -0
  117. package/dist/components/ui/form/CheckboxField.d.ts.map +1 -0
  118. package/dist/components/ui/form/ChoicesField.d.ts +12 -0
  119. package/dist/components/ui/form/ChoicesField.d.ts.map +1 -0
  120. package/dist/components/ui/form/Combobox.d.ts +20 -0
  121. package/dist/components/ui/form/Combobox.d.ts.map +1 -0
  122. package/dist/components/ui/form/DatePickerField.d.ts +4 -0
  123. package/dist/components/ui/form/DatePickerField.d.ts.map +1 -0
  124. package/dist/components/ui/form/EmailField.d.ts +7 -0
  125. package/dist/components/ui/form/EmailField.d.ts.map +1 -0
  126. package/dist/components/ui/form/FieldWithHelp.d.ts +10 -0
  127. package/dist/components/ui/form/FieldWithHelp.d.ts.map +1 -0
  128. package/dist/components/ui/form/FieldWrapper.d.ts +8 -0
  129. package/dist/components/ui/form/FieldWrapper.d.ts.map +1 -0
  130. package/dist/components/ui/form/FormErrors.d.ts +6 -0
  131. package/dist/components/ui/form/FormErrors.d.ts.map +1 -0
  132. package/dist/components/ui/form/JSONAreaField.d.ts +7 -0
  133. package/dist/components/ui/form/JSONAreaField.d.ts.map +1 -0
  134. package/dist/components/ui/form/MarkdownTextAreaField.d.ts +8 -0
  135. package/dist/components/ui/form/MarkdownTextAreaField.d.ts.map +1 -0
  136. package/dist/components/ui/form/PasswordField.d.ts +3 -0
  137. package/dist/components/ui/form/PasswordField.d.ts.map +1 -0
  138. package/dist/components/ui/form/SelectField.d.ts +11 -0
  139. package/dist/components/ui/form/SelectField.d.ts.map +1 -0
  140. package/dist/components/ui/form/SubmitButton.d.ts +9 -0
  141. package/dist/components/ui/form/SubmitButton.d.ts.map +1 -0
  142. package/dist/components/ui/form/TagInputField.d.ts +7 -0
  143. package/dist/components/ui/form/TagInputField.d.ts.map +1 -0
  144. package/dist/components/ui/form/TextAreaField.d.ts +8 -0
  145. package/dist/components/ui/form/TextAreaField.d.ts.map +1 -0
  146. package/dist/components/ui/form/TextField.d.ts +10 -0
  147. package/dist/components/ui/form/TextField.d.ts.map +1 -0
  148. package/dist/components/ui/form/index.d.ts +18 -0
  149. package/dist/components/ui/form/index.d.ts.map +1 -0
  150. package/dist/components/ui/icons.d.ts +4 -0
  151. package/dist/components/ui/icons.d.ts.map +1 -0
  152. package/dist/components/ui/index.d.ts +47 -0
  153. package/dist/components/ui/index.d.ts.map +1 -0
  154. package/dist/form.js +3128 -0
  155. package/dist/gql/operation-types.d.ts +13239 -0
  156. package/dist/gql/operation-types.d.ts.map +1 -0
  157. package/dist/gql/schema-types.d.ts +3876 -0
  158. package/dist/gql/schema-types.d.ts.map +1 -0
  159. package/dist/gql/types.d.ts +3 -0
  160. package/dist/gql/types.d.ts.map +1 -0
  161. package/dist/hooks.js +49 -0
  162. package/dist/lib/utils.d.ts +3 -0
  163. package/dist/lib/utils.d.ts.map +1 -0
  164. package/dist/modal.js +51 -0
  165. package/dist/modules/Auth/AuthContext.d.ts +9 -0
  166. package/dist/modules/Auth/AuthContext.d.ts.map +1 -0
  167. package/dist/modules/Auth/useAuth.d.ts +6 -0
  168. package/dist/modules/Auth/useAuth.d.ts.map +1 -0
  169. package/dist/modules/UnchainedContext/UnchainedContext.d.ts +8 -0
  170. package/dist/modules/UnchainedContext/UnchainedContext.d.ts.map +1 -0
  171. package/dist/modules/UnchainedContext/useUnchainedContext.d.ts +7 -0
  172. package/dist/modules/UnchainedContext/useUnchainedContext.d.ts.map +1 -0
  173. package/dist/modules/accounts/fragment/MD5MetaDataFragment.d.ts +3 -0
  174. package/dist/modules/accounts/fragment/MD5MetaDataFragment.d.ts.map +1 -0
  175. package/dist/modules/accounts/fragment/UserFragment.d.ts +3 -0
  176. package/dist/modules/accounts/fragment/UserFragment.d.ts.map +1 -0
  177. package/dist/modules/accounts/hooks/useCurrentUser.d.ts +10 -0
  178. package/dist/modules/accounts/hooks/useCurrentUser.d.ts.map +1 -0
  179. package/dist/modules/accounts/hooks/useUsersCount.d.ts +8 -0
  180. package/dist/modules/accounts/hooks/useUsersCount.d.ts.map +1 -0
  181. package/dist/modules/accounts.js +1349 -0
  182. package/dist/modules/assortment/hooks/useAssortmentsCount.d.ts +8 -0
  183. package/dist/modules/assortment/hooks/useAssortmentsCount.d.ts.map +1 -0
  184. package/dist/modules/assortment.js +1205 -0
  185. package/dist/modules/common/components/AppContext.d.ts +18 -0
  186. package/dist/modules/common/components/AppContext.d.ts.map +1 -0
  187. package/dist/modules/common/components/FormWrapper.d.ts +8 -0
  188. package/dist/modules/common/components/FormWrapper.d.ts.map +1 -0
  189. package/dist/modules/common/components/LocaleWrapper.d.ts +7 -0
  190. package/dist/modules/common/components/LocaleWrapper.d.ts.map +1 -0
  191. package/dist/modules/common/components/MediaAvatar.d.ts +6 -0
  192. package/dist/modules/common/components/MediaAvatar.d.ts.map +1 -0
  193. package/dist/modules/common/components/SelectOptions.d.ts +17 -0
  194. package/dist/modules/common/components/SelectOptions.d.ts.map +1 -0
  195. package/dist/modules/common/components/Table.d.ts +25 -0
  196. package/dist/modules/common/components/Table.d.ts.map +1 -0
  197. package/dist/modules/common/components/TableCell.d.ts +12 -0
  198. package/dist/modules/common/components/TableCell.d.ts.map +1 -0
  199. package/dist/modules/common/components/TableRow.d.ts +10 -0
  200. package/dist/modules/common/components/TableRow.d.ts.map +1 -0
  201. package/dist/modules/common/components/ThemeWrapper.d.ts +10 -0
  202. package/dist/modules/common/components/ThemeWrapper.d.ts.map +1 -0
  203. package/dist/modules/common/data/iso-codes.d.ts +4 -0
  204. package/dist/modules/common/data/iso-codes.d.ts.map +1 -0
  205. package/dist/modules/common/data/miscellaneous.d.ts +52 -0
  206. package/dist/modules/common/data/miscellaneous.d.ts.map +1 -0
  207. package/dist/modules/common/fragments/AddressFragment.d.ts +3 -0
  208. package/dist/modules/common/fragments/AddressFragment.d.ts.map +1 -0
  209. package/dist/modules/common/hooks/useApp.d.ts +11 -0
  210. package/dist/modules/common/hooks/useApp.d.ts.map +1 -0
  211. package/dist/modules/common/hooks/useBulkResultHandler.d.ts +8 -0
  212. package/dist/modules/common/hooks/useBulkResultHandler.d.ts.map +1 -0
  213. package/dist/modules/common/hooks/useBulkSelection.d.ts +12 -0
  214. package/dist/modules/common/hooks/useBulkSelection.d.ts.map +1 -0
  215. package/dist/modules/common/hooks/useCSVExport.d.ts +10 -0
  216. package/dist/modules/common/hooks/useCSVExport.d.ts.map +1 -0
  217. package/dist/modules/common/hooks/useCSVImport.d.ts +18 -0
  218. package/dist/modules/common/hooks/useCSVImport.d.ts.map +1 -0
  219. package/dist/modules/common/hooks/useChatEndpointChecker.d.ts +5 -0
  220. package/dist/modules/common/hooks/useChatEndpointChecker.d.ts.map +1 -0
  221. package/dist/modules/common/hooks/useConfirmMediaUpload.d.ts +10 -0
  222. package/dist/modules/common/hooks/useConfirmMediaUpload.d.ts.map +1 -0
  223. package/dist/modules/common/hooks/useDashboardMetrics.d.ts +23 -0
  224. package/dist/modules/common/hooks/useDashboardMetrics.d.ts.map +1 -0
  225. package/dist/modules/common/hooks/useLocalStorage.d.ts +3 -0
  226. package/dist/modules/common/hooks/useLocalStorage.d.ts.map +1 -0
  227. package/dist/modules/common/hooks/useOrderAnalytics.d.ts +25 -0
  228. package/dist/modules/common/hooks/useOrderAnalytics.d.ts.map +1 -0
  229. package/dist/modules/common/hooks/useOrderItemsAnalytics.d.ts +16 -0
  230. package/dist/modules/common/hooks/useOrderItemsAnalytics.d.ts.map +1 -0
  231. package/dist/modules/common/hooks/useOutsideClick.d.ts +3 -0
  232. package/dist/modules/common/hooks/useOutsideClick.d.ts.map +1 -0
  233. package/dist/modules/common/hooks/usePortal.d.ts +20 -0
  234. package/dist/modules/common/hooks/usePortal.d.ts.map +1 -0
  235. package/dist/modules/common/hooks/useScrollRestoration.d.ts +8 -0
  236. package/dist/modules/common/hooks/useScrollRestoration.d.ts.map +1 -0
  237. package/dist/modules/common/hooks/useShopConfiguration.d.ts +8 -0
  238. package/dist/modules/common/hooks/useShopConfiguration.d.ts.map +1 -0
  239. package/dist/modules/common/hooks/useShopInfo.d.ts +41 -0
  240. package/dist/modules/common/hooks/useShopInfo.d.ts.map +1 -0
  241. package/dist/modules/common/hooks/useStatusTypes.d.ts +10 -0
  242. package/dist/modules/common/hooks/useStatusTypes.d.ts.map +1 -0
  243. package/dist/modules/common/hooks/useSystemRoles.d.ts +7 -0
  244. package/dist/modules/common/hooks/useSystemRoles.d.ts.map +1 -0
  245. package/dist/modules/common/hooks/useTheme.d.ts +7 -0
  246. package/dist/modules/common/hooks/useTheme.d.ts.map +1 -0
  247. package/dist/modules/common/utils/deBounce.d.ts +3 -0
  248. package/dist/modules/common/utils/deBounce.d.ts.map +1 -0
  249. package/dist/modules/common/utils/defaultNextImageLoader.d.ts +7 -0
  250. package/dist/modules/common/utils/defaultNextImageLoader.d.ts.map +1 -0
  251. package/dist/modules/common/utils/formatUsername.d.ts +3 -0
  252. package/dist/modules/common/utils/formatUsername.d.ts.map +1 -0
  253. package/dist/modules/common/utils/getSetupStepsConfigurationsMeta.d.ts +30 -0
  254. package/dist/modules/common/utils/getSetupStepsConfigurationsMeta.d.ts.map +1 -0
  255. package/dist/modules/common/utils/normalizeFilterKeys.d.ts +4 -0
  256. package/dist/modules/common/utils/normalizeFilterKeys.d.ts.map +1 -0
  257. package/dist/modules/common/utils/sharedContext.d.ts +9 -0
  258. package/dist/modules/common/utils/sharedContext.d.ts.map +1 -0
  259. package/dist/modules/common/utils/useFormatDateTime.d.ts +16 -0
  260. package/dist/modules/common/utils/useFormatDateTime.d.ts.map +1 -0
  261. package/dist/modules/common/utils/utils.d.ts +21 -0
  262. package/dist/modules/common/utils/utils.d.ts.map +1 -0
  263. package/dist/modules/country/fragments/CountryFragment.d.ts +3 -0
  264. package/dist/modules/country/fragments/CountryFragment.d.ts.map +1 -0
  265. package/dist/modules/country/hooks/useCountries.d.ts +22 -0
  266. package/dist/modules/country/hooks/useCountries.d.ts.map +1 -0
  267. package/dist/modules/country.js +108 -0
  268. package/dist/modules/currency.js +119 -0
  269. package/dist/modules/delivery-provider.js +269 -0
  270. package/dist/modules/enrollment.js +431 -0
  271. package/dist/modules/event.js +123 -0
  272. package/dist/modules/filter.js +497 -0
  273. package/dist/modules/forms/components/Form.d.ts +8 -0
  274. package/dist/modules/forms/components/Form.d.ts.map +1 -0
  275. package/dist/modules/forms/hooks/useField.d.ts +35 -0
  276. package/dist/modules/forms/hooks/useField.d.ts.map +1 -0
  277. package/dist/modules/forms/hooks/useForm.d.ts +44 -0
  278. package/dist/modules/forms/hooks/useForm.d.ts.map +1 -0
  279. package/dist/modules/forms/hooks/useFormContext.d.ts +3 -0
  280. package/dist/modules/forms/hooks/useFormContext.d.ts.map +1 -0
  281. package/dist/modules/forms/lib/FormContext.d.ts +13 -0
  282. package/dist/modules/forms/lib/FormContext.d.ts.map +1 -0
  283. package/dist/modules/forms/lib/clean.d.ts +3 -0
  284. package/dist/modules/forms/lib/clean.d.ts.map +1 -0
  285. package/dist/modules/forms/lib/validators.d.ts +20 -0
  286. package/dist/modules/forms/lib/validators.d.ts.map +1 -0
  287. package/dist/modules/language/fragments/LanguageFragment.d.ts +3 -0
  288. package/dist/modules/language/fragments/LanguageFragment.d.ts.map +1 -0
  289. package/dist/modules/language/hooks/useLanguages.d.ts +19 -0
  290. package/dist/modules/language/hooks/useLanguages.d.ts.map +1 -0
  291. package/dist/modules/language.js +106 -0
  292. package/dist/modules/modal/components/AlertMessage.d.ts +9 -0
  293. package/dist/modules/modal/components/AlertMessage.d.ts.map +1 -0
  294. package/dist/modules/modal/components/DangerMessage.d.ts +13 -0
  295. package/dist/modules/modal/components/DangerMessage.d.ts.map +1 -0
  296. package/dist/modules/modal/components/ImportResultMessage.d.ts +14 -0
  297. package/dist/modules/modal/components/ImportResultMessage.d.ts.map +1 -0
  298. package/dist/modules/modal/components/Modal.d.ts +10 -0
  299. package/dist/modules/modal/components/Modal.d.ts.map +1 -0
  300. package/dist/modules/modal/components/ModalWrapper.d.ts +6 -0
  301. package/dist/modules/modal/components/ModalWrapper.d.ts.map +1 -0
  302. package/dist/modules/modal/hooks/useModal.d.ts +7 -0
  303. package/dist/modules/modal/hooks/useModal.d.ts.map +1 -0
  304. package/dist/modules/modal/utils/ModalContext.d.ts +9 -0
  305. package/dist/modules/modal/utils/ModalContext.d.ts.map +1 -0
  306. package/dist/modules/order/fragments/OrderDetailFragment.d.ts +3 -0
  307. package/dist/modules/order/fragments/OrderDetailFragment.d.ts.map +1 -0
  308. package/dist/modules/order/fragments/OrderFragment.d.ts +3 -0
  309. package/dist/modules/order/fragments/OrderFragment.d.ts.map +1 -0
  310. package/dist/modules/order/hooks/useOrders.d.ts +46 -0
  311. package/dist/modules/order/hooks/useOrders.d.ts.map +1 -0
  312. package/dist/modules/order.js +569 -0
  313. package/dist/modules/payment-providers.js +206 -0
  314. package/dist/modules/product/hooks/useProductsCount.d.ts +8 -0
  315. package/dist/modules/product/hooks/useProductsCount.d.ts.map +1 -0
  316. package/dist/modules/product-review.js +270 -0
  317. package/dist/modules/product.js +6914 -0
  318. package/dist/modules/quotation.js +324 -0
  319. package/dist/modules/token.js +143 -0
  320. package/dist/modules/warehousing-providers.js +206 -0
  321. package/dist/modules/work/fragments/WorkFragment.d.ts +3 -0
  322. package/dist/modules/work/fragments/WorkFragment.d.ts.map +1 -0
  323. package/dist/modules/work/hooks/useAddWork.d.ts +6 -0
  324. package/dist/modules/work/hooks/useAddWork.d.ts.map +1 -0
  325. package/dist/modules/work/hooks/useWork.d.ts +32 -0
  326. package/dist/modules/work/hooks/useWork.d.ts.map +1 -0
  327. package/dist/modules/work.js +232 -0
  328. package/dist/plugins.js +13 -0
  329. package/dist/providers.js +9 -0
  330. package/dist/sdk/hooks.d.ts +12 -0
  331. package/dist/sdk/hooks.d.ts.map +1 -0
  332. package/dist/sdk/modal.d.ts +7 -0
  333. package/dist/sdk/modal.d.ts.map +1 -0
  334. package/dist/sdk/plugins.d.ts +78 -0
  335. package/dist/sdk/plugins.d.ts.map +1 -0
  336. package/dist/sdk/providers.d.ts +5 -0
  337. package/dist/sdk/providers.d.ts.map +1 -0
  338. package/dist/sdk/shims/admin-ui-plugins.d.ts +3 -0
  339. package/dist/sdk/shims/admin-ui-plugins.d.ts.map +1 -0
  340. package/dist/sdk/shims/apollo-client-react.d.ts +3 -0
  341. package/dist/sdk/shims/apollo-client-react.d.ts.map +1 -0
  342. package/dist/sdk/shims/apollo-client.d.ts +3 -0
  343. package/dist/sdk/shims/apollo-client.d.ts.map +1 -0
  344. package/dist/sdk/shims/host.d.ts +17 -0
  345. package/dist/sdk/shims/host.d.ts.map +1 -0
  346. package/dist/sdk/shims/next-head.d.ts +3 -0
  347. package/dist/sdk/shims/next-head.d.ts.map +1 -0
  348. package/dist/sdk/shims/next-image.d.ts +3 -0
  349. package/dist/sdk/shims/next-image.d.ts.map +1 -0
  350. package/dist/sdk/shims/next-link.d.ts +3 -0
  351. package/dist/sdk/shims/next-link.d.ts.map +1 -0
  352. package/dist/sdk/shims/next-router.d.ts +3 -0
  353. package/dist/sdk/shims/next-router.d.ts.map +1 -0
  354. package/dist/sdk/shims/react-dom-client.d.ts +3 -0
  355. package/dist/sdk/shims/react-dom-client.d.ts.map +1 -0
  356. package/dist/sdk/shims/react-dom.d.ts +3 -0
  357. package/dist/sdk/shims/react-dom.d.ts.map +1 -0
  358. package/dist/sdk/shims/react-hook-form.d.ts +3 -0
  359. package/dist/sdk/shims/react-hook-form.d.ts.map +1 -0
  360. package/dist/sdk/shims/react-intl.d.ts +3 -0
  361. package/dist/sdk/shims/react-intl.d.ts.map +1 -0
  362. package/dist/sdk/shims/react-jsx-runtime.d.ts +3 -0
  363. package/dist/sdk/shims/react-jsx-runtime.d.ts.map +1 -0
  364. package/dist/sdk/shims/react-toastify.d.ts +3 -0
  365. package/dist/sdk/shims/react-toastify.d.ts.map +1 -0
  366. package/dist/sdk/shims/react.d.ts +3 -0
  367. package/dist/sdk/shims/react.d.ts.map +1 -0
  368. package/dist/sdk/theme.d.ts +26 -0
  369. package/dist/sdk/theme.d.ts.map +1 -0
  370. package/dist/shims/admin-ui-plugins.js +9 -0
  371. package/dist/shims/apollo-client-react.js +25 -0
  372. package/dist/shims/apollo-client.js +55 -0
  373. package/dist/shims/next-head.js +9 -0
  374. package/dist/shims/next-image.js +9 -0
  375. package/dist/shims/next-link.js +9 -0
  376. package/dist/shims/next-router.js +13 -0
  377. package/dist/shims/react-dom-client.js +11 -0
  378. package/dist/shims/react-dom.js +22 -0
  379. package/dist/shims/react-hook-form.js +25 -0
  380. package/dist/shims/react-intl.js +37 -0
  381. package/dist/shims/react-jsx-runtime.js +11 -0
  382. package/dist/shims/react-toastify.js +16 -0
  383. package/dist/shims/react.js +52 -0
  384. package/dist/theme.js +34 -0
  385. package/dist/ui.js +20247 -0
  386. package/out/403/index.html +3 -3
  387. package/out/404/index.html +3 -3
  388. package/out/404.html +3 -3
  389. package/out/423/index.html +3 -3
  390. package/out/500/index.html +3 -3
  391. package/out/_next/static/DUswS2PYjGTW9uUGVJ6xd/_buildManifest.js +258 -0
  392. package/out/_next/static/chunks/0-e21p2v90828.js +23 -0
  393. package/out/_next/static/chunks/0-w25xfpw-_e9.js +44 -0
  394. package/out/_next/static/chunks/011h6mc3kuxq9.js +217 -0
  395. package/out/_next/static/chunks/01n5rd9ngv-t4.js +1 -0
  396. package/out/_next/static/chunks/01rghd4wcj4ex.js +5 -0
  397. package/out/_next/static/chunks/03omde6jo6sta.js +1 -0
  398. package/out/_next/static/chunks/06gyzyq56kw_2.js +6 -0
  399. package/out/_next/static/chunks/{2ajr0rk0_yax6.js → 06kqbwwnuu3te.js} +1 -1
  400. package/out/_next/static/chunks/07i53w2a3x0so.js +1 -0
  401. package/out/_next/static/chunks/09irjy-7k1922.js +1 -0
  402. package/out/_next/static/chunks/09kihj6ay6mqn.js +39 -0
  403. package/out/_next/static/chunks/09ml8g7-byzio.js +71 -0
  404. package/out/_next/static/chunks/09yk8jmltcqcd.js +5 -0
  405. package/out/_next/static/chunks/0_m0oaoy22un6.js +5 -0
  406. package/out/_next/static/chunks/0af-w950yl0l5.js +277 -0
  407. package/out/_next/static/chunks/0ah2m5cl87avs.js +935 -0
  408. package/out/_next/static/chunks/0ahfhl4hk0fuj.js +12 -0
  409. package/out/_next/static/chunks/0b4rcc2y1ex8j.js +12 -0
  410. package/out/_next/static/chunks/0buyef0vid-ym.js +224 -0
  411. package/out/_next/static/chunks/0czpir4zjwmos.js +1 -0
  412. package/out/_next/static/chunks/0duy5y86n4tl3.js +5 -0
  413. package/out/_next/static/chunks/0dzn-wes7gjdt.js +33 -0
  414. package/out/_next/static/chunks/{2rmgaa88-4bpb.js → 0e4nzgbtw6x_d.js} +4 -4
  415. package/out/_next/static/chunks/0eb98o1s1ojq7.js +5 -0
  416. package/out/_next/static/chunks/0gow2wyosbjb6.js +71 -0
  417. package/out/_next/static/chunks/0h4ehpg2f7fp2.js +46 -0
  418. package/out/_next/static/chunks/0hgha-mywwcsd.js +8 -0
  419. package/out/_next/static/chunks/0iliy1guwadr4.js +7 -0
  420. package/out/_next/static/chunks/0l0hzoqd-va5-.js +1 -0
  421. package/out/_next/static/chunks/0l1xycyhdztmy.js +46 -0
  422. package/out/_next/static/chunks/0lh8xbz1qulcr.js +15 -0
  423. package/out/_next/static/chunks/0mavm6oemhb-d.js +152 -0
  424. package/out/_next/static/chunks/0nk0kgnsiap5g.js +116 -0
  425. package/out/_next/static/chunks/0o3o1f00j5wxa.js +8 -0
  426. package/out/_next/static/chunks/0pny1c_ni8rn7.js +39 -0
  427. package/out/_next/static/chunks/0q62hlhpcumrt.js +33 -0
  428. package/out/_next/static/chunks/0qkdih-hi6c2m.js +15 -0
  429. package/out/_next/static/chunks/0qz61g2g6ijfh.js +54 -0
  430. package/out/_next/static/chunks/0raj1enjck-ex.js +4 -0
  431. package/out/_next/static/chunks/0rmomvc8u__n4.js +10 -0
  432. package/out/_next/static/chunks/0s0ufx1fl32v7.js +12 -0
  433. package/out/_next/static/chunks/0sgxa66r-iing.js +1 -0
  434. package/out/_next/static/chunks/0sv5w2_cae8tj.js +7 -0
  435. package/out/_next/static/chunks/0u_zr87ce7iu-.js +1 -0
  436. package/out/_next/static/chunks/0ub1l2hrjkz2-.js +1 -0
  437. package/out/_next/static/chunks/0uef4ugmc_g10.js +1 -0
  438. package/out/_next/static/chunks/0uksleo_xd7j5.js +1 -0
  439. package/out/_next/static/chunks/0wbciytf8tnsa.js +18 -0
  440. package/out/_next/static/chunks/0wd1l2f5cin-0.js +4 -0
  441. package/out/_next/static/chunks/0zfm51umxvjc6.js +1 -0
  442. package/out/_next/static/chunks/10enect1zh1vj.js +3 -0
  443. package/out/_next/static/chunks/11e6h7l-whxh3.js +7 -0
  444. package/out/_next/static/chunks/11vnr4kb9qkjr.js +1 -0
  445. package/out/_next/static/chunks/13bcbgywansr-.js +130 -0
  446. package/out/_next/static/chunks/13ytpmhxkpnwy.js +1 -0
  447. package/out/_next/static/chunks/14pnkf7som1m1.js +1 -0
  448. package/out/_next/static/chunks/17nr-ur3sbo_z.js +24 -0
  449. package/out/_next/static/chunks/1802-tohqffps.js +1 -0
  450. package/out/_next/static/chunks/181-yaruteuqm.js +61 -0
  451. package/out/_next/static/chunks/181zsbok_ljo_.js +4 -0
  452. package/out/_next/static/chunks/187p6ryym-x3i.js +5 -0
  453. package/out/_next/static/chunks/198-_r3as1j63.js +8 -0
  454. package/out/_next/static/chunks/19f7gu0kvm7xl.js +7 -0
  455. package/out/_next/static/chunks/19kin-dby998k.js +8 -0
  456. package/out/_next/static/chunks/1aojv48cs6ufj.js +6 -0
  457. package/out/_next/static/chunks/1cs-w7vppvm8o.js +1 -0
  458. package/out/_next/static/chunks/1cz2fp89ssu5d.js +4 -0
  459. package/out/_next/static/chunks/1dedrypk-h8qr.js +1 -0
  460. package/out/_next/static/chunks/1edk56b1rx05q.js +4 -0
  461. package/out/_next/static/chunks/1ew4i-mm087xs.js +4 -0
  462. package/out/_next/static/chunks/1ewn0p_wru2ra.js +15 -0
  463. package/out/_next/static/chunks/1g1na7eoafolj.js +1 -0
  464. package/out/_next/static/chunks/1gfocmey44pyr.js +7 -0
  465. package/out/_next/static/chunks/1grwyry6zqknr.js +100 -0
  466. package/out/_next/static/chunks/1gyt_0aw92ysk.js +5 -0
  467. package/out/_next/static/chunks/1hvvot0p0442h.js +5 -0
  468. package/out/_next/static/chunks/1inbspyz1wpdj.js +1 -0
  469. package/out/_next/static/chunks/1l2p87t0w4-yb.js +8 -0
  470. package/out/_next/static/chunks/1lew6f82bg1x1.js +1 -0
  471. package/out/_next/static/chunks/1nbc2o30_g9bj.js +95 -0
  472. package/out/_next/static/chunks/1nikeez809jr8.js +2 -0
  473. package/out/_next/static/chunks/1p1f35qy1lt0s.js +7 -0
  474. package/out/_next/static/chunks/1p3agrt0e0t9t.js +5 -0
  475. package/out/_next/static/chunks/1p6qsnui0zjik.js +44 -0
  476. package/out/_next/static/chunks/1pbfjibxvspoj.js +5 -0
  477. package/out/_next/static/chunks/1pcrg5m_9agof.js +5 -0
  478. package/out/_next/static/chunks/1rm2w7nvmejdw.js +31 -0
  479. package/out/_next/static/chunks/{1---h4b693b81.js → 1t5wlk2j9d4ss.js} +1 -1
  480. package/out/_next/static/chunks/{12yd8t4k6c0t1.js → 1t8jj0-6g8uyd.js} +1 -1
  481. package/out/_next/static/chunks/1ttpypjue-zdo.js +63 -0
  482. package/out/_next/static/chunks/1uzvaujlk79rn.js +145 -0
  483. package/out/_next/static/chunks/1xnlhfvi8m4a8.js +1 -0
  484. package/out/_next/static/chunks/1y0mbad52vao6.js +5 -0
  485. package/out/_next/static/chunks/1zfhgsywbsg2e.js +5 -0
  486. package/out/_next/static/chunks/1zhfbuv-et-34.js +13 -0
  487. package/out/_next/static/chunks/2-2kg667v82ek.js +171 -0
  488. package/out/_next/static/chunks/21z3-xqp62vs8.js +7 -0
  489. package/out/_next/static/chunks/22odam86c8kps.js +1 -0
  490. package/out/_next/static/chunks/23wfelj92rx3n.js +1 -0
  491. package/out/_next/static/chunks/243ubs_ig9hwo.js +13 -0
  492. package/out/_next/static/chunks/249u7sg_mycfl.js +24 -0
  493. package/out/_next/static/chunks/24_57hr3o_ll8.js +1 -0
  494. package/out/_next/static/chunks/252_8-fyz3vjh.js +9 -0
  495. package/out/_next/static/chunks/25_kx8fsd5k0d.js +5 -0
  496. package/out/_next/static/chunks/26wuxv_gsk3jb.js +30 -0
  497. package/out/_next/static/chunks/26x7o2gzms54c.js +6 -0
  498. package/out/_next/static/chunks/27h86ht8kvqop.js +267 -0
  499. package/out/_next/static/chunks/27tf612b6s-45.js +7 -0
  500. package/out/_next/static/chunks/{3qzrrjb48t2w3.js → 2893194r7ays6.js} +5 -5
  501. package/out/_next/static/chunks/294uscwjocbpf.js +5 -0
  502. package/out/_next/static/chunks/29c8fj1poxxec.js +39 -0
  503. package/out/_next/static/chunks/{439tz_ubj8h-g.js → 29fdom9djvjop.js} +9 -9
  504. package/out/_next/static/chunks/2__om5ddn5b91.js +7 -0
  505. package/out/_next/static/chunks/2_krlw-01uumq.js +119 -0
  506. package/out/_next/static/chunks/2a1m9ia2zp2t9.js +6 -0
  507. package/out/_next/static/chunks/2c2arjke9rx-g.js +14 -0
  508. package/out/_next/static/chunks/2de99go2pdzl3.js +12 -0
  509. package/out/_next/static/chunks/2dnn7jhe55iy8.js +32 -0
  510. package/out/_next/static/chunks/2eac98hmhj8tp.js +5 -0
  511. package/out/_next/static/chunks/2fxjo2s_nsjsa.js +5 -0
  512. package/out/_next/static/chunks/2h_j6q1pnhf07.js +16 -0
  513. package/out/_next/static/chunks/2hthxhwh84ls1.css +1 -0
  514. package/out/_next/static/chunks/2i07f6t3xq708.js +5 -0
  515. package/out/_next/static/chunks/2i6nzzm63658q.js +10 -0
  516. package/out/_next/static/chunks/2ksch2zc9k7uj.js +71 -0
  517. package/out/_next/static/chunks/{1gqd9vrno0rq4.js → 2lh-lsn2en0pp.js} +2 -2
  518. package/out/_next/static/chunks/2luj-95aqr25b.js +1 -0
  519. package/out/_next/static/chunks/2m_p_bx_gsrlf.js +5 -0
  520. package/out/_next/static/chunks/2of_ro6r-fwjx.js +16 -0
  521. package/out/_next/static/chunks/2oyujmi3aqs6f.js +5 -0
  522. package/out/_next/static/chunks/2pumckmhpvlo2.js +23 -0
  523. package/out/_next/static/chunks/2r4x7nghsoqhe.js +7 -0
  524. package/out/_next/static/chunks/2s-226q_lc70k.js +9 -0
  525. package/out/_next/static/chunks/2sc_zg0bvlmak.js +78 -0
  526. package/out/_next/static/chunks/2tlxpweh5c3fh.js +43 -0
  527. package/out/_next/static/chunks/{1_55km6vm5mc0.js → 2w_0wk23uirx6.js} +7 -7
  528. package/out/_next/static/chunks/2wg_0x11ef6uc.js +7 -0
  529. package/out/_next/static/chunks/2zx42lz8zcp91.js +6 -0
  530. package/out/_next/static/chunks/3-l_ott2smmqm.js +7 -0
  531. package/out/_next/static/chunks/30lpu8mp25ag1.js +41 -0
  532. package/out/_next/static/chunks/3168hp9w1h68h.js +68 -0
  533. package/out/_next/static/chunks/3180oblgqnad5.js +194 -0
  534. package/out/_next/static/chunks/32traobkc55z_.js +54 -0
  535. package/out/_next/static/chunks/33s24dpx0eo63.js +2 -0
  536. package/out/_next/static/chunks/{153ec1_-yt3jb.js → 343n05fzlb2an.js} +5 -5
  537. package/out/_next/static/chunks/35odkwyh-md-p.js +59 -0
  538. package/out/_next/static/chunks/35tgy8og7dw73.js +149 -0
  539. package/out/_next/static/chunks/36mjt8cgckx2r.js +1 -0
  540. package/out/_next/static/chunks/37j2g662wreov.js +108 -0
  541. package/out/_next/static/chunks/37vezmh4pf5j4.js +12 -0
  542. package/out/_next/static/chunks/37y01hdz8sxhr.js +1 -0
  543. package/out/_next/static/chunks/38uyt89jy0tt7.js +1 -0
  544. package/out/_next/static/chunks/39-pv-7i0kah_.js +155 -0
  545. package/out/_next/static/chunks/3__spmlu2_ez6.js +41 -0
  546. package/out/_next/static/chunks/3_zgl8ng3nj3g.js +9 -0
  547. package/out/_next/static/chunks/3a6ahlxxtjn1v.js +8 -0
  548. package/out/_next/static/chunks/{1tkvi0wb-x3v8.js → 3ae7hwg50q67p.js} +2 -2
  549. package/out/_next/static/chunks/3btzusax1chra.js +36 -0
  550. package/out/_next/static/chunks/3ciuktttw5i71.js +277 -0
  551. package/out/_next/static/chunks/{2ho4591ngh3y2.js → 3d0cucf7-qlz9.js} +6 -6
  552. package/out/_next/static/chunks/3d2mjl6ls12h_.js +5 -0
  553. package/out/_next/static/chunks/3dxz87hw4lx39.js +1 -0
  554. package/out/_next/static/chunks/3f2rrfc7u_j6o.js +1 -0
  555. package/out/_next/static/chunks/3fvf-l1-bp--9.js +5 -0
  556. package/out/_next/static/chunks/3hubf9lb56zls.js +7 -0
  557. package/out/_next/static/chunks/3hxp-xwv4g3ek.js +1 -0
  558. package/out/_next/static/chunks/3ljqspad_536i.js +4 -0
  559. package/out/_next/static/chunks/3mnca5jc1q8c_.js +43 -0
  560. package/out/_next/static/chunks/{0q2e8h8498pvo.js → 3qqhr2o1soxh_.js} +1 -1
  561. package/out/_next/static/chunks/3skw31vkshyt2.js +1 -0
  562. package/out/_next/static/chunks/3szdkqecej3fb.js +1 -0
  563. package/out/_next/static/chunks/3t-6admtmkzzy.js +39 -0
  564. package/out/_next/static/chunks/3t1q9dc-nlr3j.js +1 -0
  565. package/out/_next/static/chunks/3u6_-nj6i_l_r.js +1 -0
  566. package/out/_next/static/chunks/3uekb_s0jaboj.js +1 -0
  567. package/out/_next/static/chunks/3uql2yuaknc-3.js +1 -0
  568. package/out/_next/static/chunks/3vf-3rhaiq_n1.js +6 -0
  569. package/out/_next/static/chunks/3xtawjchyn0qb.js +1 -0
  570. package/out/_next/static/chunks/3xze13c1irm_5.js +1 -0
  571. package/out/_next/static/chunks/3ylglplnmhho2.js +5 -0
  572. package/out/_next/static/chunks/3ym4exwo-py5d.js +23 -0
  573. package/out/_next/static/chunks/3yre4w19nehxf.js +1 -0
  574. package/out/_next/static/chunks/3z51ql4pljujr.js +81 -0
  575. package/out/_next/static/chunks/3zhcq27e8jjni.js +28 -0
  576. package/out/_next/static/chunks/40fs5lh83_iox.js +1 -0
  577. package/out/_next/static/chunks/40kvqov4hgd5s.js +31 -0
  578. package/out/_next/static/chunks/40trlm34cnu6v.js +108 -0
  579. package/out/_next/static/chunks/43n5979c79f0d.js +1 -0
  580. package/out/_next/static/chunks/{turbopack-2c3mg3r-05n1w.js → turbopack-077hmtqrhcoji.js} +1 -1
  581. package/out/_offline/index.html +3 -3
  582. package/out/account/forgot-password/index.html +3 -3
  583. package/out/account/index.html +3 -3
  584. package/out/assortments/AssortmentDetailPage/index.html +3 -3
  585. package/out/assortments/index.html +3 -3
  586. package/out/assortments/new/index.html +3 -3
  587. package/out/copilot/index.html +3 -3
  588. package/out/country/CountryDetailPage/index.html +3 -3
  589. package/out/country/index.html +3 -3
  590. package/out/country/new/index.html +3 -3
  591. package/out/currency/CurrencyDetailPage/index.html +3 -3
  592. package/out/currency/index.html +3 -3
  593. package/out/currency/new/index.html +3 -3
  594. package/out/delivery-provider/DeliveryProviderDetailPage/index.html +3 -3
  595. package/out/delivery-provider/index.html +3 -3
  596. package/out/delivery-provider/new/index.html +3 -3
  597. package/out/enrollments/EnrollmentDetailPage/index.html +3 -3
  598. package/out/enrollments/index.html +3 -3
  599. package/out/events/EventDetailPage/index.html +3 -3
  600. package/out/events/index.html +3 -3
  601. package/out/exports/index.html +3 -3
  602. package/out/external/index.html +3 -3
  603. package/out/filters/FilterDetailPage/index.html +3 -3
  604. package/out/filters/index.html +3 -3
  605. package/out/filters/new/index.html +3 -3
  606. package/out/index.html +3 -3
  607. package/out/install/index.html +3 -3
  608. package/out/language/LanguageDetailPage/index.html +3 -3
  609. package/out/language/index.html +3 -3
  610. package/out/language/new/index.html +3 -3
  611. package/out/log-in/index.html +3 -3
  612. package/out/manifest.json +48 -0
  613. package/out/orders/OrderDetailPage/index.html +3 -3
  614. package/out/orders/index.html +3 -3
  615. package/out/payment-provider/PaymentProviderDetailPage/index.html +3 -3
  616. package/out/payment-provider/index.html +3 -3
  617. package/out/payment-provider/new/index.html +3 -3
  618. package/out/products/ProductDetailPage/index.html +3 -3
  619. package/out/products/index.html +3 -3
  620. package/out/products/new/index.html +3 -3
  621. package/out/quotations/QuotationDetailPage/index.html +3 -3
  622. package/out/quotations/index.html +3 -3
  623. package/out/reset-password/index.html +3 -3
  624. package/out/sign-up/index.html +3 -3
  625. package/out/styleguide/index.html +3 -3
  626. package/out/tokens/TokenDetailPage/index.html +3 -3
  627. package/out/tokens/index.html +3 -3
  628. package/out/users/UserDetailPage/index.html +3 -3
  629. package/out/users/index.html +3 -3
  630. package/out/users/new/index.html +3 -3
  631. package/out/verify-email/index.html +3 -3
  632. package/out/warehousing-provider/WarehousingProviderDetailPage/index.html +3 -3
  633. package/out/warehousing-provider/index.html +3 -3
  634. package/out/warehousing-provider/new/index.html +3 -3
  635. package/out/works/WorkDetailPage/index.html +3 -3
  636. package/out/works/WorkQueueListView/index.html +3 -3
  637. package/out/works/index.html +3 -3
  638. package/out/works/management/index.html +3 -3
  639. package/package.json +2 -2
  640. package/out/_next/static/chunks/0-_s79k4_7ei_.js +0 -5
  641. package/out/_next/static/chunks/00aks9rqke2x0.js +0 -7
  642. package/out/_next/static/chunks/00az81dk4vdda.js +0 -54
  643. package/out/_next/static/chunks/01e4gd649r2tq.js +0 -7
  644. package/out/_next/static/chunks/01j2wi94k90x0.js +0 -5
  645. package/out/_next/static/chunks/043i-g05cyvrd.js +0 -1
  646. package/out/_next/static/chunks/04kyktzbxprj0.js +0 -61
  647. package/out/_next/static/chunks/05p330iybjojg.js +0 -44
  648. package/out/_next/static/chunks/05qk8ozexvlxp.js +0 -5
  649. package/out/_next/static/chunks/06i50j458a7g5.js +0 -12
  650. package/out/_next/static/chunks/07o9g5hqfpvjc.js +0 -12
  651. package/out/_next/static/chunks/08o61gwabp3h1.js +0 -33
  652. package/out/_next/static/chunks/0_bvgo8ev4gs7.js +0 -7
  653. package/out/_next/static/chunks/0a5nr3-_q7xx1.js +0 -100
  654. package/out/_next/static/chunks/0amj69l-d5-85.js +0 -1
  655. package/out/_next/static/chunks/0b05sca2hdcys.js +0 -30
  656. package/out/_next/static/chunks/0c3kwkqr9evm4.js +0 -5
  657. package/out/_next/static/chunks/0c4jv8pwvpxei.js +0 -1
  658. package/out/_next/static/chunks/0c7ljn9lo_0oh.js +0 -5
  659. package/out/_next/static/chunks/0ewr86ctcw7fx.js +0 -1
  660. package/out/_next/static/chunks/0jham55cr3rhy.js +0 -81
  661. package/out/_next/static/chunks/0lr7o7tyjmrmf.js +0 -8
  662. package/out/_next/static/chunks/0mx8opz23nwlb.js +0 -5
  663. package/out/_next/static/chunks/0n3ixknyc6_ma.js +0 -1
  664. package/out/_next/static/chunks/0o0e82-3pc7ur.js +0 -78
  665. package/out/_next/static/chunks/0ohk7l49gjm62.js +0 -5
  666. package/out/_next/static/chunks/0p31l6a9hynnt.js +0 -6
  667. package/out/_next/static/chunks/0qa-zbgmv-k3p.js +0 -9
  668. package/out/_next/static/chunks/0qj3xdz043z8l.js +0 -12
  669. package/out/_next/static/chunks/0skst735jufgh.js +0 -71
  670. package/out/_next/static/chunks/0t28q5fb2jp-6.js +0 -8
  671. package/out/_next/static/chunks/0tmamaq8exyij.js +0 -1
  672. package/out/_next/static/chunks/0ydy3ky15gx62.js +0 -1
  673. package/out/_next/static/chunks/0zh311lu9jf2x.js +0 -5
  674. package/out/_next/static/chunks/0zpyyygbqx3pf.js +0 -152
  675. package/out/_next/static/chunks/0zzoylv2rl1xu.js +0 -3
  676. package/out/_next/static/chunks/10m_etq9t2pkv.js +0 -7
  677. package/out/_next/static/chunks/11ehf3t7qzbua.js +0 -4
  678. package/out/_next/static/chunks/11go520d1hcm5.js +0 -1
  679. package/out/_next/static/chunks/16le3cqxj12u6.js +0 -5
  680. package/out/_next/static/chunks/16zxfacsu_jbq.js +0 -1
  681. package/out/_next/static/chunks/17fibl49qtd6c.js +0 -8
  682. package/out/_next/static/chunks/182l1mlbf0glb.js +0 -1
  683. package/out/_next/static/chunks/18xyj4i_i5lyn.js +0 -6
  684. package/out/_next/static/chunks/1aej6iqnlr74p.js +0 -1
  685. package/out/_next/static/chunks/1asbed4hne69c.js +0 -7
  686. package/out/_next/static/chunks/1c60nzy_x4kez.js +0 -277
  687. package/out/_next/static/chunks/1c77vl6xdqfd4.js +0 -15
  688. package/out/_next/static/chunks/1da89agg-nacc.js +0 -224
  689. package/out/_next/static/chunks/1f7-0l47bx76m.js +0 -13
  690. package/out/_next/static/chunks/1fbsyczyh9hwh.js +0 -1
  691. package/out/_next/static/chunks/1g96s7-fwvokd.js +0 -2
  692. package/out/_next/static/chunks/1hih2cxmgqcd3.js +0 -10
  693. package/out/_next/static/chunks/1hviha1jcz_og.js +0 -4
  694. package/out/_next/static/chunks/1il9vuoxtb2_n.js +0 -43
  695. package/out/_next/static/chunks/1jaatdt0mlypl.js +0 -16
  696. package/out/_next/static/chunks/1l4g6_of_bbr8.js +0 -5
  697. package/out/_next/static/chunks/1lezxecnoaxnn.js +0 -32
  698. package/out/_next/static/chunks/1m27au_nmk8_k.js +0 -71
  699. package/out/_next/static/chunks/1m4fwgl1mj4d-.js +0 -46
  700. package/out/_next/static/chunks/1ma82ip9shpkc.js +0 -24
  701. package/out/_next/static/chunks/1nbh1zkzirnuw.js +0 -1
  702. package/out/_next/static/chunks/1nohf8_cc6gmw.js +0 -9
  703. package/out/_next/static/chunks/1os6pvhjeb16o.js +0 -1
  704. package/out/_next/static/chunks/1qi5yjvzxspwv.js +0 -15
  705. package/out/_next/static/chunks/1rsexg6dg82f0.js +0 -7
  706. package/out/_next/static/chunks/1s9v5dndopkuz.js +0 -12
  707. package/out/_next/static/chunks/1sksqjru86hlm.js +0 -1
  708. package/out/_next/static/chunks/1u79pcgqjgjpq.js +0 -1
  709. package/out/_next/static/chunks/1uqiaqtv_0v2x.js +0 -5
  710. package/out/_next/static/chunks/1wnuiwsbi70eq.js +0 -116
  711. package/out/_next/static/chunks/1x8o-luxdxxk7.js +0 -1
  712. package/out/_next/static/chunks/1yjb7gogaf8po.js +0 -31
  713. package/out/_next/static/chunks/1zyhzessv0wtg.js +0 -1
  714. package/out/_next/static/chunks/2-pl31kdikt3k.js +0 -5
  715. package/out/_next/static/chunks/20c4_1i5r3kkz.js +0 -1
  716. package/out/_next/static/chunks/20f2gs8iua6fk.js +0 -1
  717. package/out/_next/static/chunks/20zdaln201w8j.js +0 -277
  718. package/out/_next/static/chunks/21l46nbaop06z.js +0 -39
  719. package/out/_next/static/chunks/22-o32hlte36e.js +0 -130
  720. package/out/_next/static/chunks/231j2_p-ha14w.js +0 -7
  721. package/out/_next/static/chunks/23s2f7_-ol94s.js +0 -8
  722. package/out/_next/static/chunks/26_mx-ritu68j.js +0 -24
  723. package/out/_next/static/chunks/26ckmxeluyknq.js +0 -1
  724. package/out/_next/static/chunks/26r0y7ldf3iqs.js +0 -6
  725. package/out/_next/static/chunks/27fzoozwycagi.js +0 -6
  726. package/out/_next/static/chunks/27jmq7a-vh0b4.js +0 -7
  727. package/out/_next/static/chunks/283567a82x9qi.js +0 -149
  728. package/out/_next/static/chunks/29he8uukp5s4u.js +0 -31
  729. package/out/_next/static/chunks/2adglo0sf0jcg.js +0 -905
  730. package/out/_next/static/chunks/2b4ewxxz6f462.js +0 -7
  731. package/out/_next/static/chunks/2bh2dv7j9m8c8.css +0 -1
  732. package/out/_next/static/chunks/2bi8v13lm76lr.js +0 -95
  733. package/out/_next/static/chunks/2burvpf9877y_.js +0 -44
  734. package/out/_next/static/chunks/2cj703xtrf5i6.js +0 -46
  735. package/out/_next/static/chunks/2cj8g3fxmitaa.js +0 -1
  736. package/out/_next/static/chunks/2ec7xatyld40t.js +0 -7
  737. package/out/_next/static/chunks/2hoi6cb1lromr.js +0 -4
  738. package/out/_next/static/chunks/2i5k6tlwd58hp.js +0 -1
  739. package/out/_next/static/chunks/2iy0jr00qhq-q.js +0 -5
  740. package/out/_next/static/chunks/2jonbba27xy3u.js +0 -14
  741. package/out/_next/static/chunks/2m0rrts8gwqwp.js +0 -1
  742. package/out/_next/static/chunks/2m_u12ggzosat.js +0 -5
  743. package/out/_next/static/chunks/2mdns56l5antm.js +0 -5
  744. package/out/_next/static/chunks/2mrbytgs3uetd.js +0 -4
  745. package/out/_next/static/chunks/2p9gwjxeui1zd.js +0 -71
  746. package/out/_next/static/chunks/2pfhy9qy_cijn.js +0 -5
  747. package/out/_next/static/chunks/2q5k4rozyr2wt.js +0 -4
  748. package/out/_next/static/chunks/2qx8nnki_qv5v.js +0 -171
  749. package/out/_next/static/chunks/2r_rj84l3cy7r.js +0 -119
  750. package/out/_next/static/chunks/2rb1-3t3-sv5s.js +0 -8
  751. package/out/_next/static/chunks/2swxmzb-xk_bo.js +0 -108
  752. package/out/_next/static/chunks/2t0biwx5e_4w_.js +0 -1
  753. package/out/_next/static/chunks/2ts3v72jkbcdr.js +0 -7
  754. package/out/_next/static/chunks/2vfexvltv2avy.js +0 -5
  755. package/out/_next/static/chunks/2vveotzevnkfp.js +0 -1
  756. package/out/_next/static/chunks/2wkg65dtx56je.js +0 -155
  757. package/out/_next/static/chunks/2wmsx4gjbgvfv.js +0 -18
  758. package/out/_next/static/chunks/2xixk0t9e9mnw.js +0 -1
  759. package/out/_next/static/chunks/2xz7hnr9ikqzq.js +0 -7
  760. package/out/_next/static/chunks/2y1lq1efnvcdt.js +0 -23
  761. package/out/_next/static/chunks/2ziasg8l_c9n7.js +0 -5
  762. package/out/_next/static/chunks/3-wsablhqgzoa.js +0 -1
  763. package/out/_next/static/chunks/30ppb2wc-m4ph.js +0 -1
  764. package/out/_next/static/chunks/336k08jwyc5i-.js +0 -1
  765. package/out/_next/static/chunks/33d061qpkafqm.js +0 -39
  766. package/out/_next/static/chunks/33fyy6d5mo55_.js +0 -8
  767. package/out/_next/static/chunks/33kh18frqc3b1.js +0 -5
  768. package/out/_next/static/chunks/33v05ol-ire9s.js +0 -10
  769. package/out/_next/static/chunks/33yzdcbu7w60l.js +0 -13
  770. package/out/_next/static/chunks/348l8p7-vo4l5.js +0 -63
  771. package/out/_next/static/chunks/35hu5vin0swdf.js +0 -41
  772. package/out/_next/static/chunks/37a6yquh875rn.js +0 -39
  773. package/out/_next/static/chunks/3_2i9du5-ffrp.js +0 -59
  774. package/out/_next/static/chunks/3_84h3z_tewmg.js +0 -145
  775. package/out/_next/static/chunks/3bo7uiy-wh63m.js +0 -108
  776. package/out/_next/static/chunks/3c-an5ft_3emc.js +0 -1
  777. package/out/_next/static/chunks/3d_222ci0_30_.js +0 -41
  778. package/out/_next/static/chunks/3dldch03dfaed.js +0 -1
  779. package/out/_next/static/chunks/3eedy49gsvv_t.js +0 -1
  780. package/out/_next/static/chunks/3fayuejnrsd90.js +0 -15
  781. package/out/_next/static/chunks/3fqonijzsxy8u.js +0 -28
  782. package/out/_next/static/chunks/3g1ale0hytu9q.js +0 -12
  783. package/out/_next/static/chunks/3k3gvr7-e3g_s.js +0 -5
  784. package/out/_next/static/chunks/3kwoyyxi_-q7m.js +0 -1
  785. package/out/_next/static/chunks/3le1bywe19_u9.js +0 -1
  786. package/out/_next/static/chunks/3lku4-9kpf-mj.js +0 -267
  787. package/out/_next/static/chunks/3lz5h1tw50wr_.js +0 -54
  788. package/out/_next/static/chunks/3oq-khgfpo0nx.js +0 -39
  789. package/out/_next/static/chunks/3ps25ocfalcap.js +0 -43
  790. package/out/_next/static/chunks/3q3m075m4bxz1.js +0 -2
  791. package/out/_next/static/chunks/3r0i-7zjuz9i1.js +0 -6
  792. package/out/_next/static/chunks/3rgn5xwtr51ul.js +0 -7
  793. package/out/_next/static/chunks/3ridg_u19b6ih.js +0 -8
  794. package/out/_next/static/chunks/3skzk-w2ytvku.js +0 -5
  795. package/out/_next/static/chunks/3srw10h0hcztd.js +0 -68
  796. package/out/_next/static/chunks/3tgrftdet8sna.js +0 -15
  797. package/out/_next/static/chunks/3uax_eq1kjjta.js +0 -1
  798. package/out/_next/static/chunks/3uj94afpsi6cs.js +0 -1
  799. package/out/_next/static/chunks/3vgurvjr6hkyv.js +0 -4
  800. package/out/_next/static/chunks/3viepyovs19ub.js +0 -23
  801. package/out/_next/static/chunks/3vnzp3n_wd3j_.js +0 -1
  802. package/out/_next/static/chunks/3w8h5lxnd0z4z.js +0 -1
  803. package/out/_next/static/chunks/3wh4xa9dnw-55.js +0 -194
  804. package/out/_next/static/chunks/3wlvio5id54ow.js +0 -5
  805. package/out/_next/static/chunks/3wzvscqui-9ml.js +0 -23
  806. package/out/_next/static/chunks/3y8h3g1tqukrv.js +0 -36
  807. package/out/_next/static/chunks/3zcilnj6p9-t5.js +0 -1
  808. package/out/_next/static/chunks/3zmmdm68s05-t.js +0 -217
  809. package/out/_next/static/chunks/40l5d7o95aw37.js +0 -4
  810. package/out/_next/static/chunks/417kn9hki8k81.js +0 -33
  811. package/out/_next/static/chunks/41p3ng89i5lem.js +0 -5
  812. package/out/_next/static/chunks/42mofxcd0l7qi.js +0 -1
  813. package/out/_next/static/chunks/43hfssep7ry-z.js +0 -5
  814. package/out/_next/static/chunks/45bcpjurhxb-j.js +0 -1
  815. package/out/_next/static/jOx5PlckLwWIJ5yrvePdU/_buildManifest.js +0 -258
  816. /package/out/_next/static/{jOx5PlckLwWIJ5yrvePdU → DUswS2PYjGTW9uUGVJ6xd}/_clientMiddlewareManifest.js +0 -0
  817. /package/out/_next/static/{jOx5PlckLwWIJ5yrvePdU → DUswS2PYjGTW9uUGVJ6xd}/_ssgManifest.js +0 -0
@@ -1,39 +0,0 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,[61494,e=>{var t=e.i(91398),r=e.i(41158),s=e.i(3828),a=e.i(69322);e.s(["f",0,({routeName:e=null,currentPageTitle:l=null,depth:o=null})=>{let i=(0,s.useRouter)(),{formatMessage:n}=(0,a.S)(),d={home:"home",products:"products",orders:"orders",users:"users",assortments:"assortments",filters:"filters",tokens:"tokens",quotations:"quotations",enrollments:"enrollments",activities:"activities",works:"work_queue",events:"events",currency:"currencies",country:"countries",language:"languages","delivery-provider":"delivery_providers","payment-provider":"payment_providers","warehousing-provider":"warehousing_provider",system:"system",account:"account",new:"new",edit:"edit"},c=i.asPath?.split("/")?.filter((e,t)=>i.asPath?.split("/")?.indexOf(e)===t);if(1===c.length)return null;let u="";o&&c.splice(o),e&&(c[c.length-1]=e);let f=c?.map(t=>{if(u+=`${t}/`,!t)return{name:n({id:"home",defaultMessage:"Home"}),path:"/"};let r=t?.split("?")[0],s=e?r:r.replace(/-/g," "),a=d[r];return{name:a?n({id:a,defaultMessage:s}):decodeURIComponent(s),path:u.replace(/.$/,"")}});return(0,t.jsx)("nav",{className:"mb-5 hidden sm:flex lg:mt-5 lg:mb-8","aria-label":"Breadcrumb",children:(0,t.jsx)("ol",{className:"flex items-center space-x-4",children:f?.map((e,s)=>(0,t.jsx)("li",{children:(0,t.jsxs)("div",{className:"flex items-center",children:[0!==s&&(0,t.jsx)("svg",{className:"mr-4 h-5 w-5 shrink-0 text-slate-400",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z",clipRule:"evenodd"})}),(0,t.jsx)(r.default,{href:e.path,className:"text-sm font-medium capitalize text-slate-500 dark:text-slate-400 dark:hover:text-slate-300 hover:text-slate-700 focus:outline-hidden focus:ring-2 focus:ring-slate-800 rounded-md px-1 py-1",children:s===f.length-1&&l?l:e.name})]})},e.path))})})}])},81013,e=>{var t=e.i(91398),r=e.i(72043);e.s(["f",0,({text:e,children:s,onClick:a,className:l="",disabled:o=!1,id:i="",variant:n="primary",size:d="md",type:c="button",loading:u=!1,icon:f,iconRight:m,fullWidth:p=!1,rounded:b="md",ariaLabel:x,...g})=>{let h=s||e,y=(f||m)&&h?"gap-2":"";return(0,t.jsx)("button",{id:i,type:c,disabled:o||u,onClick:a,"aria-label":x,className:(0,r.default)("inline-flex items-center justify-center font-medium shadow-xs focus:outline-hidden focus:ring-2 focus:ring-offset-2 transition-colors duration-200 disabled:cursor-not-allowed disabled:opacity-50",{xs:"px-2.5 py-1.5 text-xs h-6",sm:"px-3 py-2 text-sm h-8",md:"px-4 py-2 text-sm h-9",lg:"px-6 py-3 text-base h-11"}[d],{none:"rounded-none",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",full:"rounded-full"}[b],{primary:"border border-slate-800 dark:border-slate-600 bg-slate-800 dark:bg-slate-600 text-white hover:bg-slate-900 dark:hover:bg-slate-500 focus:ring-slate-800 dark:focus:ring-slate-400",secondary:"border border-slate-300 dark:border-slate-600 bg-white dark:bg-slate-800 text-slate-700 dark:text-slate-200 hover:bg-slate-50 dark:hover:bg-slate-700 focus:ring-slate-500",tertiary:"border border-slate-200 dark:border-slate-700 bg-slate-50 dark:bg-slate-800 text-slate-600 dark:text-slate-300 hover:bg-slate-100 dark:hover:bg-slate-700 focus:ring-slate-400",quaternary:"bg-transparent text-slate-700 dark:text-slate-200 hover:bg-slate-100 dark:hover:bg-slate-800 focus:ring-slate-400",danger:"border border-rose-500 dark:border-rose-400 bg-white dark:bg-slate-800 text-rose-600 dark:text-rose-400 hover:bg-rose-50 dark:hover:bg-rose-900/10 focus:ring-rose-500",ghost:"bg-transparent border border-transparent text-slate-600 dark:text-slate-400 hover:text-slate-900 dark:hover:text-slate-200 hover:bg-slate-100 dark:hover:bg-slate-800 focus:ring-slate-400",success:"border border-emerald-500 dark:border-emerald-400 bg-emerald-50 dark:bg-emerald-900/20 text-emerald-600 dark:text-emerald-400 hover:bg-emerald-100 dark:hover:bg-emerald-900/30 focus:ring-emerald-500",neutral:"border border-slate-300 dark:border-slate-600 bg-slate-100 dark:bg-slate-700 text-slate-600 dark:text-slate-300 hover:bg-slate-200 dark:hover:bg-slate-600 focus:ring-slate-400",input:"border border-slate-300 dark:border-slate-600 bg-white dark:bg-slate-800 text-slate-900 dark:text-slate-100 hover:border-slate-400 dark:hover:border-slate-500 focus:ring-slate-500 focus:border-slate-500"}[n],y,{"w-full":p},l),...g,children:u?(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("div",{className:"w-4 h-4 border-2 border-current border-t-transparent rounded-full animate-spin"}),h]}):(0,t.jsxs)(t.Fragment,{children:[f,h,m]})})}])},62100,e=>{var t=e.i(91398),r=e.i(24557),s=e.i(72043),a=e.i(69322);e.s(["f",0,({onClick:e,className:l="",icon:o=null,textRight:i="",textLeft:n="",ariaLabel:d=""})=>{let{formatMessage:c}=(0,a.S)();return(0,t.jsxs)("button",{"aria-label":d||c({id:"delete",defaultMessage:"Delete"}),id:"delete_button",type:"button",onClick:e,className:(0,s.default)("flex justify-center items-center rounded-full dark:bg-slate-800 p-2 w-8 h-8 text-sm text-rose-500 dark:text-rose-400 hover:bg-rose-50 dark:hover:bg-rose-900/20 focus:outline-hidden focus:ring-2 focus:ring-rose-500 focus:ring-offset-2",l),children:[n||"",o||(0,t.jsx)(r.f,{className:"h-5 w-5"}),i||""]})}])},11056,e=>{var t=e.i(91398),r=e.i(91788),s=e.i(5505),a=e.i(57561);e.s(["f",0,({children:e,onlyFull:l=!1})=>{let{languageDialectList:o,selectedLocale:i,setSelectedLocale:n}=(0,a.f)(),d=(0,r.useContext)(s.W),c=o.filter(e=>!l||e.isoCode.includes("-"));return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:`w-fit mt-5 mb-3 ${d?"ml-5":""}`,children:(0,t.jsx)("select",{id:"locale-wrapper",className:"cursor-pointer rounded-md border-1 border-slate-300 dark:border-slate-700 py-1 pr-8 text-sm lg:py-1 lg:pr-10 text-black dark:text-white dark:bg-slate-800 shadow-xs focus:outline-hidden focus:ring-2 focus:ring-slate-800",value:i||"",onChange:e=>{e.stopPropagation(),n(e.target.value)},children:c?.map(e=>(0,t.jsx)("option",{value:e.isoCode,children:e.isoCode},e._id))})}),(0,t.jsx)("div",{children:r.default.cloneElement(e)})]})}])},17644,e=>{var t=e.i(91398),r=e.i(58678),s=e.i(41158),a=e.i(69322),l=e.i(37369),o=e.i(81013);e.s(["f",0,({headerText:e=null,onEdit:i=null,onDelete:n=null,children:d=null,title:c=null,addPath:u=null,addButtonText:f=null})=>{let{formatMessage:m}=(0,a.S)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.default,{children:(0,t.jsxs)("title",{children:["Unchained AdminUI - ",c||e," "]})}),(0,t.jsx)("div",{className:"flex gap-3 flex-wrap items-center justify-between",children:(0,t.jsxs)("div",{className:"flex items-center flex-wrap justify-between w-full gap-4",children:[e&&(0,t.jsx)("h2",{className:"text-2xl font-medium text-slate-900 dark:text-slate-300 sm:truncate sm:text-3xl lg:text-4xl",children:e}),(0,t.jsxs)("div",{className:"flex items-center gap-3 flex-shrink-0",children:[d,u&&(0,t.jsx)(s.default,{href:u,children:(0,t.jsx)(o.f,{variant:"secondary",icon:(0,t.jsx)(l.f,{className:"h-5 w-5"}),text:f||m({id:"add",defaultMessage:"Add"})})}),i&&(0,t.jsx)(o.f,{variant:"secondary",onClick:i,text:m({id:"edit",defaultMessage:"Edit"})}),n&&(0,t.jsx)(o.f,{variant:"danger",onClick:n,text:m({id:"delete",defaultMessage:"Delete"})})]})]})})]})}])},1504,e=>{e.s(["f",0,(e,t,r)=>Object.assign({},...e?.map(e=>({[e[r]]:e[t]}))||[])])},73319,e=>{let t=e=>"[object Object]"===Object.prototype.toString.call(e);e.s(["Q",0,e=>decodeURIComponent(e||[])?.split(",")?.filter(Boolean),"C",0,t,"T",0,e=>!(!e||null==e||t(e)&&!Object.keys(e).length||Array.isArray(e)&&!e.length)])},80294,e=>{var t=e.i(59080);let r=t.f`
2
- fragment FilterFragment on Filter {
3
- _id
4
- updated
5
- created
6
- key
7
- isActive
8
- type
9
- options {
10
- _id
11
- texts {
12
- _id
13
- title
14
- subtitle
15
- locale
16
- }
17
- value
18
- }
19
- }
20
- `;e.s(["f",0,r])},72094,e=>{var t=e.i(91398),r=e.i(91788),s=e.i(61898);let a=(e,t="")=>Object.fromEntries(Object.entries(e).reduce((e=[],[s,l])=>"string"==typeof l||r.default.isValidElement(l)?[...e,[`${t}${s}`,l]]:[...Object.entries(a(Object.assign({},...l),`${t}${s}.`)),...e],[])),l=({submitError:e="",fieldErrors:s=[]})=>(0,t.jsx)("div",{className:"my-2 mb-5 text-rose-700",children:(0,t.jsxs)("ul",{className:"space-y-1",children:[e&&(0,t.jsx)("li",{className:"disabled",children:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:e}})},"submitError"),Object.entries(a(s)).map(([e,s])=>(0,t.jsx)("li",{className:"disabled",children:(0,t.jsx)("button",{type:"button",className:"no-button text-rose-600 dark:text-rose-400","aria-label":"Error button",onClick:()=>{let t=document.getElementById(e);t&&t.focus()},children:r.default.isValidElement(s)?s:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:s}})})},e))]})});e.s(["f",0,({displayFieldErrors:e=!1})=>{let{submitError:r,formik:a}=(0,s.f)(),o=a?.errors;return(r||e)&&(0,t.jsx)(l,{submitError:r,fieldErrors:e&&o})}])},73419,e=>{var t=e.i(91398),r=e.i(72043),s=e.i(60741),a=e.i(29691);e.s(["f",0,e=>{let{options:l,...o}=(0,s.f)(e),{className:i}=e||{className:""};return(0,t.jsx)(a.f,{...o,children:(0,t.jsx)("div",{className:"select-wrap",children:(0,t.jsxs)("select",{className:(0,r.default)("block w-full dark:bg-slate-900 dark:text-white rounded-md border-1 border-slate-300 dark:border-slate-700 py-2.5 pl-3 pr-10 text-base text-black shadow-xs focus:outline-hidden focus:ring-2 focus:ring-slate-800 sm:text-sm",i,{"border-rose-700 text-rose-600 dark:border-rose-500 dark:text-rose-400":!!o.error}),disabled:o.disabled,id:o.name,name:o.name,onChange:o.onChange,onBlur:o.onBlur,value:o.value,children:[(0,t.jsx)("option",{className:"dark:text-slate-200",value:"",disabled:o.required,hidden:o.required,children:o.placeholder||o.label}),Object.entries(l).map(([e,r])=>(0,t.jsx)("option",{className:"dark:text-slate-200",value:e,children:r},e))]})})})}])},99160,e=>{var t=e.i(91398),r=e.i(72043),s=e.i(38865),a=e.i(61898);e.s(["f",0,({label:e,disabled:l=!1,className:o="",hidden:i=!1,...n})=>{let d=(0,s.m)(),{...c}=n,u=Object.fromEntries(Object.keys(d.initialValues).map(e=>[e,d.getFieldMeta(e)])),{disabled:f}=(0,a.f)(),m=Object.values(u).reduce((e,{error:t,touched:r})=>e||t&&r,!1),p=l||f||d.isSubmitting||m,b=d.isSubmitting&&!m,x=(l||f||m)&&!d.isSubmitting;return(0,t.jsx)("input",{className:(0,r.default)("inline-flex cursor-pointer justify-center rounded-sm border border-slate-300 px-4 py-2 text-center text-sm font-medium leading-5 shadow-sm hover:shadow-md focus:ring-slate-800 dark:focus:ring-slate-400",o,{"bg-rose-50 dark:bg-slate-800 dark:text-rose-300 cursor-not-allowed border-rose-300 dark:border-rose-600 text-rose-900":x,"bg-slate-600 dark:bg-slate-700 text-white cursor-not-allowed border-slate-400 dark:border-slate-600":b,"bg-slate-800 dark:bg-slate-600 text-white hover:bg-slate-900 dark:hover:bg-slate-500 focus:outline-hidden focus:ring-2 focus:ring-offset-2 border-transparent":!p,hidden:i}),"aria-label":e,type:"submit",value:e,disabled:p,...c})}])},45229,e=>{var t=e.i(91398),r=e.i(72043),s=e.i(82226),a=e.i(60741),l=e.i(29691);e.s(["f",0,({maxLength:e=0,validators:o=[],...i})=>{let n=(0,a.f)({validators:[...o,e&&(0,s.f)(e)],...i});return(0,t.jsx)(l.f,{...n,children:(0,t.jsx)("input",{className:(0,r.default)("relative mt-1 block w-full dark:focus:autofill dark:hover:autofill dark:autofill dark:placeholder:text-slate-600 dark:bg-slate-900 dark:text-slate-200 appearance-none rounded-md border-1 dark:border-slate-700 px-4 py-2.5 text-sm text-slate-900 focus:outline-hidden focus:ring-2 focus:ring-slate-800 shadow-xs",{"border-rose-700 placeholder:text-rose-500":!!n.error,"border-slate-300 placeholder-slate-400":!n.error}),disabled:n.disabled,id:n.name,name:n.name,onChange:n.onChange,onClick:e=>{e.stopPropagation()},onBlur:n.onBlur,placeholder:n.placeholder,autoComplete:n.autoComplete||"off",type:n.type||"text",value:n.value,autoFocus:n.autoFocus})})}])},76921,e=>{var t=e.i(91398),r=e.i(3828),s=e.i(69322),a=e.i(61494),l=e.i(5505),o=e.i(17644),i=e.i(38865),n=e.i(66773),d=e.i(58971),c=e.i(62100),u=e.i(1504),f=e.i(69211),m=e.i(72094),p=e.i(73419),b=e.i(99160),x=e.i(45229),g=e.i(98949),h=e.i(59080),y=e.i(32171);let v=h.f`
21
- query FilterTypes {
22
- filterTypes: __type(name: "FilterType") {
23
- options: enumValues {
24
- label: name
25
- value: name
26
- }
27
- }
28
- }
29
- `;var j=e.i(57561);let k=({onSubmit:e,onSubmitSuccess:r})=>{let{filterTypes:a}=(()=>{let{data:e,loading:t,error:r}=(0,y.f)(v);return{filterTypes:e?.filterTypes?.options||[],loading:t,error:r}})(),{formatMessage:l}=(0,s.S)(),{selectedLocale:o}=(0,j.f)(),{hasRole:h}=(0,d.f)(),k=l({id:"filter_created",defaultMessage:"Filter created successfully!"}),w=(0,g.f)({submit:t=>e({...t,locale:o}),onSubmitSuccess:r,successMessage:k,enableReinitialize:!0,initialValues:{title:"",type:"",key:"",options:[""]},getSubmitErrorMessage:e=>e?.extensions?.code==="DuplicateFilterKeyError"?(w.formik.setFieldError("key",l({id:"filter_key_already_exists",defaultMessage:"Filter key already exists, please provide unique key"})),l({id:"filter_key_already_exists",defaultMessage:"Filter key already exists, please provide unique key"})):e?.message||l({id:"error-something-went-wrong",defaultMessage:"Unable to complete the task successfully please try again"})}),{values:N}=w.formik;return(0,t.jsxs)(f.f,{form:w,children:[(0,t.jsxs)("div",{className:"p-5",children:[(0,t.jsx)(x.f,{name:"title",id:"title",label:l({id:"title",defaultMessage:"Title"}),required:!0,className:"mb-5"}),(0,t.jsx)(x.f,{name:"key",id:"key",label:l({id:"key",defaultMessage:"Key"}),required:!0,className:"mb-5"}),(0,t.jsx)(p.f,{className:"mb-5",label:l({id:"type",defaultMessage:"Type"}),required:!0,name:"type",options:(0,u.f)(a,"label","value")}),(0,t.jsx)(i.j,{name:"options",children:({push:e,remove:r})=>(0,t.jsxs)("div",{children:[N.options.map((e,s)=>(0,t.jsxs)("div",{className:"mb-3 flex justify-between align-baseline",children:[(0,t.jsx)(x.f,{name:`options[${s}]`,id:`options[${s}]`,required:!0,label:l({id:"option",defaultMessage:"Option"})}),(0,t.jsx)("div",{className:"ml-2 shrink-0 mt-8",children:(0,t.jsx)(c.f,{onClick:()=>r(s)})})]},s)),(0,t.jsx)("div",{className:"mt-2 flex flex-wrap items-center justify-between sm:flex-nowrap",children:(0,t.jsx)("div",{className:" mt-2 shrink-0",children:(0,t.jsx)("div",{className:"shrink-0",children:(0,t.jsxs)("button",{type:"button",className:"items-right inline-flex rounded-sm border border-transparent bg-slate-800 px-2 py-2 text-sm font-medium text-white shadow-xs hover:bg-slate-950 focus:outline-hidden focus:ring-2 focus:ring-slate-800 focus:ring-offset-2",onClick:()=>e(""),children:[(0,t.jsx)("svg",{className:"h-5 w-5",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M10 5a1 1 0 011 1v3h3a1 1 0 110 2h-3v3a1 1 0 11-2 0v-3H6a1 1 0 110-2h3V6a1 1 0 011-1z",clipRule:"evenodd"})}),(0,t.jsxs)("span",{className:"ml-2",children:[l({id:"add_option",defaultMessage:"Add option"})," "]})]})})})})]})})]}),(0,t.jsx)(m.f,{}),h(n.C.ManageFilters)&&(0,t.jsx)("div",{className:"space-y-6 bg-slate-50 dark:bg-slate-900 border-t-slate-100 dark:border-t-slate-700 p-5 text-right",children:(0,t.jsx)(b.f,{label:l({id:"create_filter",defaultMessage:"Create Filter"})})})]})};var w=e.i(76204),N=e.i(80294);let C=h.f`
30
- mutation CreateFilter(
31
- $filter: CreateFilterInput!
32
- $texts: [FilterTextInput!]!
33
- ) {
34
- createFilter(filter: $filter, texts: $texts) {
35
- ...FilterFragment
36
- }
37
- }
38
- ${N.f}
39
- `;var S=e.i(11056);e.s(["default",0,()=>{let e=(0,r.useRouter)(),{formatMessage:i}=(0,s.S)(),{createFilter:n}=(()=>{let[e,{data:t,loading:r,error:s}]=(0,w.f)(C);return{createFilter:async({filter:{key:t,type:r,options:s},texts:a})=>e({variables:{filter:{key:t,type:r,options:s},texts:a}}),newFilter:t?.createFilter,loading:r,error:s}})(),d=async({key:e,title:t,type:r,options:s,locale:a})=>{try{let{data:l,error:o}=await n({filter:{options:s,key:e,type:r},texts:[{title:t,locale:a}]});return{success:!o,data:l?.createFilter,error:o}}catch(e){return{success:!1,error:e}}};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.f,{}),(0,t.jsxs)("div",{className:"mx-auto sm:max-w-2xl",children:[(0,t.jsx)(o.f,{headerText:i({id:"new_filter_header",defaultMessage:"New filter"})}),(0,t.jsx)("div",{className:"mt-6",children:(0,t.jsx)(l.U,{children:(0,t.jsx)(S.f,{children:(0,t.jsx)(k,{onSubmit:d,onSubmitSuccess:(t,{_id:r})=>(e.replace(`/filters?filterId=${r}`),null)})})})})]})]})}],76921)},76204,e=>{var t=e.i(24669),r=e.i(91788),s=e.i(30928),a=e.i(52006);let l=e.i(21953).f?r.useLayoutEffect:r.useEffect;var o=e.i(98926);function i(e){return{data:void 0,error:void 0,called:!1,loading:!1,client:e}}e.s(["f",0,function(e,n){let d=(0,o.f)(n?.client),[c,u]=r.useState(()=>i(d)),f=r.useRef({result:c,mutationId:0,isMounted:!0,client:d,mutation:e,options:n});l(()=>{Object.assign(f.current,{client:d,options:n,mutation:e})});let m=r.useCallback((e={})=>{let{options:r,mutation:l}=f.current,o={...r,mutation:l},i=e.client||f.current.client,n="function"==typeof e.context?e.context(r?.context):e.context;!f.current.result.loading&&f.current.isMounted&&u(f.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:i});let d=++f.current.mutationId,c=(0,s.f)(o,{...e,context:n});return(0,a.f)(i.mutate(c).then(r=>{let{data:s,error:a}=r,l=e.onError||f.current.options?.onError;if(a&&l&&l(a,c),d===f.current.mutationId){let e={called:!0,loading:!1,data:s,error:a,client:i};f.current.isMounted&&!(0,t.f)(f.current.result,e)&&u(f.current.result=e)}let o=e.onCompleted||f.current.options?.onCompleted;return a||o?.(r.data,c),r},r=>{if(d===f.current.mutationId&&f.current.isMounted){let e={loading:!1,error:r,data:void 0,called:!0,client:i};(0,t.f)(f.current.result,e)||u(f.current.result=e)}let s=e.onError||f.current.options?.onError;throw s&&s(r,c),r}))},[]),p=r.useCallback(()=>{if(f.current.isMounted){let e=i(f.current.client);Object.assign(f.current,{mutationId:0,result:e}),u(e)}},[]);return r.useEffect(()=>{let e=f.current;return e.isMounted=!0,()=>{e.isMounted=!1}},[]),[m,{reset:p,...c}]}],76204)},24557,e=>{var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{fillRule:"evenodd",d:"M8.75 1A2.75 2.75 0 0 0 6 3.75v.443c-.795.077-1.584.176-2.365.298a.75.75 0 1 0 .23 1.482l.149-.022.841 10.518A2.75 2.75 0 0 0 7.596 19h4.807a2.75 2.75 0 0 0 2.742-2.53l.841-10.52.149.023a.75.75 0 0 0 .23-1.482A41.03 41.03 0 0 0 14 4.193V3.75A2.75 2.75 0 0 0 11.25 1h-2.5ZM10 4c.84 0 1.673.025 2.5.075V3.75c0-.69-.56-1.25-1.25-1.25h-2.5c-.69 0-1.25.56-1.25 1.25v.325C8.327 4.025 9.16 4 10 4ZM8.58 7.72a.75.75 0 0 0-1.5.06l.3 7.5a.75.75 0 1 0 1.5-.06l-.3-7.5Zm4.34.06a.75.75 0 1 0-1.5-.06l-.3 7.5a.75.75 0 1 0 1.5.06l.3-7.5Z",clipRule:"evenodd"}))});e.s(["f",0,r],24557)},37369,e=>{var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 4.5v15m7.5-7.5h-15"}))});e.s(["f",0,r],37369)},9356,e=>{var t=e.i(35113);e.s(["f",0,function(e){return!(!(e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))&&"number"!=typeof e||isNaN(+(0,t.f)(e)))}],9356)},49543,e=>{var t=e.i(35113);e.s(["f",0,function(e,r){let s=(0,t.f)(e,r?.in);return s.setHours(0,0,0,0),s}])},35113,2848,98170,e=>{let t=Symbol.for("constructDateFrom");function r(e,r){return"function"==typeof e?e(r):e&&"object"==typeof e&&t in e?e[t](r):e instanceof Date?new e.constructor(r):new Date(r)}e.s(["C",0,t,"_",0,864e5,"r",0,36e5,"z",0,6e4,"A",0,6048e5,"k",0,1440,"d",0,43200,"l",0,525600],2848),e.s(["f",0,r],98170),e.s(["f",0,function(e,t){return r(t||e,e)}],35113)},34980,(e,t,r)=>{var s=e.r(49957),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},l={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};function n(e){return s.isMemo(e)?o:i[e.$$typeof]||a}i[s.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i[s.Memo]=o;var d=Object.defineProperty,c=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,p=Object.prototype;t.exports=function e(t,r,s){if("string"!=typeof r){if(p){var a=m(r);a&&a!==p&&e(t,a,s)}var o=c(r);u&&(o=o.concat(u(r)));for(var i=n(t),b=n(r),x=0;x<o.length;++x){var g=o[x];if(!l[g]&&!(s&&s[g])&&!(b&&b[g])&&!(i&&i[g])){var h=f(r,g);try{d(t,g,h)}catch(e){}}}}return t}},40563,(e,t,r)=>{var s="function"==typeof Symbol&&Symbol.for,a=s?Symbol.for("react.element"):60103,l=s?Symbol.for("react.portal"):60106,o=s?Symbol.for("react.fragment"):60107,i=s?Symbol.for("react.strict_mode"):60108,n=s?Symbol.for("react.profiler"):60114,d=s?Symbol.for("react.provider"):60109,c=s?Symbol.for("react.context"):60110,u=s?Symbol.for("react.async_mode"):60111,f=s?Symbol.for("react.concurrent_mode"):60111,m=s?Symbol.for("react.forward_ref"):60112,p=s?Symbol.for("react.suspense"):60113,b=s?Symbol.for("react.suspense_list"):60120,x=s?Symbol.for("react.memo"):60115,g=s?Symbol.for("react.lazy"):60116,h=s?Symbol.for("react.block"):60121,y=s?Symbol.for("react.fundamental"):60117,v=s?Symbol.for("react.responder"):60118,j=s?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case a:switch(e=e.type){case u:case f:case o:case n:case i:case p:return e;default:switch(e=e&&e.$$typeof){case c:case m:case g:case x:case d:return e;default:return t}}case l:return t}}}function w(e){return k(e)===f}r.AsyncMode=u,r.ConcurrentMode=f,r.ContextConsumer=c,r.ContextProvider=d,r.Element=a,r.ForwardRef=m,r.Fragment=o,r.Lazy=g,r.Memo=x,r.Portal=l,r.Profiler=n,r.StrictMode=i,r.Suspense=p,r.isAsyncMode=function(e){return w(e)||k(e)===u},r.isConcurrentMode=w,r.isContextConsumer=function(e){return k(e)===c},r.isContextProvider=function(e){return k(e)===d},r.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===a},r.isForwardRef=function(e){return k(e)===m},r.isFragment=function(e){return k(e)===o},r.isLazy=function(e){return k(e)===g},r.isMemo=function(e){return k(e)===x},r.isPortal=function(e){return k(e)===l},r.isProfiler=function(e){return k(e)===n},r.isStrictMode=function(e){return k(e)===i},r.isSuspense=function(e){return k(e)===p},r.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===f||e===n||e===i||e===p||e===b||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===x||e.$$typeof===d||e.$$typeof===c||e.$$typeof===m||e.$$typeof===y||e.$$typeof===v||e.$$typeof===j||e.$$typeof===h)},r.typeOf=k},49957,(e,t,r)=>{e.i(50461),t.exports=e.r(40563)}],49758,(e,t,r)=>{let s="/filters/new";(window.__NEXT_P=window.__NEXT_P||[]).push([s,()=>e.r(76921)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([s])})}]);
@@ -1,130 +0,0 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,[56599,e=>{var t=e.i(91398),s=e.i(90645),a=e.i(72043),l=e.i(91788),r=e.i(69322),i=e.i(59080),d=e.i(76204),n=e.i(21649);let o=i.f`
2
- mutation ExportToken(
3
- $tokenId: ID!
4
- $quantity: Int! = 1
5
- $recipientWalletAddress: String!
6
- ) {
7
- exportToken(
8
- tokenId: $tokenId
9
- quantity: $quantity
10
- recipientWalletAddress: $recipientWalletAddress
11
- ) {
12
- ...TokenFragment
13
- }
14
- }
15
- ${n.f}
16
- `,c=({isOpen:e,addresses:s,cancel:a,onExport:i})=>{let[d,n]=(0,l.useState)(""),{formatMessage:o}=(0,r.S)();return e&&(0,t.jsxs)("div",{className:"relative z-10","aria-labelledby":"modal-title",role:"dialog","aria-modal":"true",children:[(0,t.jsx)("div",{className:"fixed inset-0 bg-slate-500 bg-opacity/75 transition-opacity"}),(0,t.jsx)("div",{className:"fixed inset-0 z-10 overflow-y-auto",children:(0,t.jsx)("div",{className:"flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0",children:(0,t.jsxs)("div",{className:"relative transform overflow-hidden rounded-lg bg-white px-4 pt-5 pb-4 text-left shadow-xl transition-all sm:my-8 sm:w-full sm:max-w-lg sm:p-6",children:[(0,t.jsx)("div",{children:(0,t.jsx)("fieldset",{className:"space-y-5",children:s?.map(e=>(0,t.jsxs)("div",{className:"relative flex items-start",children:[(0,t.jsx)("div",{className:"flex h-5 items-center",children:(0,t.jsx)("input",{id:e.address,name:"addresses",value:e.address,onChange:()=>{n(e.address)},checked:d?.toLowerCase()===e.address?.toLowerCase(),type:"checkbox",className:"h-4 w-4 rounded-sm border-slate-300 dark:border-slate-600 bg-white dark:!bg-slate-800 text-slate-950 focus:ring-slate-900"})}),(0,t.jsx)("div",{className:"ml-3 text-sm",children:(0,t.jsx)("label",{htmlFor:"comments",className:"font-medium text-slate-700",children:e.address})})]},e.address))})}),(0,t.jsxs)("div",{className:"mt-4",children:[(0,t.jsx)("label",{htmlFor:"Address",className:"block text-sm font-medium text-slate-700",children:o({id:"or_manually_enter_address",defaultMessage:"Or enter address manually"})}),(0,t.jsx)("div",{className:"mt-1",children:(0,t.jsx)("input",{type:"text",onChange:e=>n(e.target.value),value:d,name:"Address",id:"Address",className:"block w-full rounded-md border-slate-300 shadow-xs focus:border-slate-900 focus:ring-slate-900 sm:text-sm",placeholder:"0xF5F72AE7fa1fa990ebaF163208Ed7aD6a3f42DEA"})})]}),(0,t.jsxs)("div",{className:"mt-5 sm:mt-6 sm:grid sm:grid-flow-row-dense sm:grid-cols-2 sm:gap-3",children:[(0,t.jsx)("button",{type:"button",onClick:()=>i(d),className:"inline-flex w-full justify-center rounded-md border border-transparent bg-slate-950 px-4 py-2 text-base font-medium text-white shadow-xs hover:bg-slate-950 focus:outline-hidden focus:ring-2 focus:ring-slate-900 focus:ring-offset-2 sm:col-start-2 sm:text-sm",children:o({id:"export",defaultMessage:"Export"})}),(0,t.jsx)("button",{type:"button",onClick:a,className:"mt-3 inline-flex w-full justify-center rounded-md border border-slate-300 bg-white px-4 py-2 text-base font-medium text-slate-700 shadow-xs hover:bg-slate-50 focus:outline-hidden focus:ring-2 focus:ring-slate-900 focus:ring-offset-2 sm:col-start-1 sm:mt-0 sm:text-sm",children:o({id:"cancel",defaultMessage:"Cancel"})})]})]})})})]})};e.s(["f",0,({tokenId:e,tokenStatus:i,addresses:n=[]})=>{let{exportToken:m}=(()=>{let[e]=(0,d.f)(o);return{exportToken:async({quantity:t,recipientWalletAddress:s,tokenId:a})=>e({variables:{quantity:t,recipientWalletAddress:s,tokenId:a}})}})(),{formatMessage:u}=(0,r.S)(),[x,f]=(0,l.useState)(!1),h=async t=>{await m({tokenId:e,recipientWalletAddress:t}),f(!1)};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(c,{isOpen:x,cancel:()=>{f(!1)},onExport:h,addresses:n}),"DECENTRALIZED"!==i&&(0,t.jsxs)("button",{type:"button",onClick:()=>f(!0),disabled:"EXPORTING"===i,className:(0,a.default)(" text-center inline-flex truncate rounded-md border border-transparent bg-slate-950 px-5 py-1 text-base font-medium text-white shadow-xs hover:bg-slate-950 focus:outline-hidden focus:ring-2 focus:ring-slate-900 focus:ring-offset-2",{"bg-slate-400 hover:bg-slate-500":"EXPORTING"===i}),children:[(0,t.jsx)(s.f,{className:"w-6 h-6 mr-2"}),u("CENTRALIZED"===i?{id:"export",defaultMessage:"Export"}:{id:"exporting",defaultMessage:"Exporting..."})]})]})}],56599)},23647,26013,e=>{var t=e.i(91398),s=e.i(69322),a=e.i(15361),l=e.i(91788);let r=l.forwardRef(function({title:e,titleId:t,...s},a){return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},s),e?l.createElement("title",{id:t},e):null,l.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m9.75 9.75 4.5 4.5m0-4.5-4.5 4.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))});e.s(["f",0,r],26013);var i=e.i(67912),d=e.i(41158),n=e.i(93380),o=e.i(35065);let c=({username:e})=>(0,t.jsx)(i.f,{className:"h-8 w-8 text-slate-800 dark:text-slate-600"});e.s(["f",0,({user:e,contact:l})=>{let{formatMessage:i}=(0,s.S)();return(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"h-8 w-8 rounded-full",children:e?.avatar?(0,t.jsx)(o.f,{src:e.avatar.url,alt:e.name||e.username,width:100,height:100}):(0,t.jsx)(c,{username:e?.username})}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-4",children:[(0,t.jsx)("div",{className:"flex items-center justify-between gap-3 flex-wrap",children:(0,t.jsxs)("span",{className:"flex items-center",children:[(0,t.jsx)("h3",{className:"text-xl font-semibold capitalize",children:(0,t.jsx)(d.default,{href:`/users?userId=${e?._id}`,className:"text-slate-800 dark:text-slate-300 hover:text-slate-900 dark:hover:text-slate-600",children:(0,n.f)(e)})}),e?.primaryEmail?.verified&&(0,t.jsxs)("dl",{className:"self-end",children:[(0,t.jsx)("dt",{className:"sr-only",children:i({id:"account_status",defaultMessage:"Account status"})}),(0,t.jsx)("dd",{className:"mt-3 flex items-center self-end text-sm font-medium capitalize text-slate-900 sm:mr-6 sm:mt-0",children:e?.primaryEmail?.verified?(0,t.jsx)(a.f,{className:"h-4 w-4 shrink-0 text-emerald-400","aria-hidden":"true"}):(0,t.jsx)(r,{className:"h-4 w-4 shrink-0 text-rose-400","aria-hidden":"true"})})]})]})}),l?.emailAddress&&(0,t.jsx)("div",{children:l.emailAddress}),l?.telNumber&&(0,t.jsx)("div",{children:l.telNumber})]})]})}],23647)},1880,e=>{e.s(["U",0,(e={})=>{let{_id:t,texts:s}=e||{};return s||t?`${s?.slug?.split("/").join("")||""}_id_${t}`:null},"P",0,e=>{if(!e)return null;let[t]=e?.split("_id_")||[];return t},"Q",0,e=>{if(!e)return null;let t=e?.split("_id_");return t?.pop()}])},15356,e=>{e.s(["f",0,e=>e?`${e.substr(0,6)}...${e.substr(-4,4)}`:"0x0"])},54529,e=>{var t=e.i(59080);let s=t.f`
17
- fragment ProductBriefFragment on Product {
18
- texts(forceLocale: $forceLocale) {
19
- _id
20
- slug
21
- title
22
- subtitle
23
- description
24
- vendor
25
- brand
26
- labels
27
- locale
28
- }
29
- _id
30
- sequence
31
- status
32
- tags
33
- sequence
34
- updated
35
- published
36
- media {
37
- _id
38
- tags
39
- file {
40
- _id
41
- url
42
- }
43
- }
44
- ... on BundleProduct {
45
- proxies {
46
- __typename
47
- }
48
- }
49
- ... on SimpleProduct {
50
- catalogPrice {
51
- amount
52
- currencyCode
53
- }
54
- proxies {
55
- __typename
56
- }
57
- }
58
- ... on PlanProduct {
59
- catalogPrice {
60
- amount
61
- currencyCode
62
- }
63
- proxies {
64
- __typename
65
- }
66
- }
67
- }
68
- `;e.s(["f",0,s])},21649,e=>{var t=e.i(59080);let s=t.f`
69
- fragment TokenFragment on Token {
70
- _id
71
- walletAddress
72
- status
73
- quantity
74
- contractAddress
75
- chainId
76
- tokenSerialNumber
77
- invalidatedDate
78
- expiryDate
79
- ercMetadata
80
- accessKey
81
- isInvalidateable
82
- }
83
- `;e.s(["f",0,s])},95267,e=>{var t=e.i(91398),s=e.i(66773),a=e.i(59080),l=e.i(32171),r=e.i(21649),i=e.i(54529);let d=a.f`
84
- query Token($tokenId: ID!, $forceLocale: Locale) {
85
- token(tokenId: $tokenId) {
86
- ...TokenFragment
87
- product {
88
- ...ProductBriefFragment
89
- simulatedPrice {
90
- amount
91
- currencyCode
92
- }
93
- }
94
- user {
95
- _id
96
- username
97
- isGuest
98
- avatar {
99
- _id
100
- url
101
- }
102
- name
103
- primaryEmail {
104
- verified
105
- address
106
- }
107
- lastContact {
108
- telNumber
109
- emailAddress
110
- }
111
- profile {
112
- displayName
113
- address {
114
- firstName
115
- lastName
116
- }
117
- }
118
- }
119
- }
120
- }
121
- ${r.f}
122
- ${i.f}
123
- `;var n=e.i(61494),o=e.i(17644),c=e.i(69322),m=e.i(12197),u=e.i(41158),x=e.i(1880),f=e.i(35065),h=e.i(16509),p=e.i(60193),g=e.i(65153),b=e.i(84818),k=e.i(23647),v=e.i(15356),j=e.i(83147);let N=({token:e})=>{let{formatMessage:s}=(0,c.S)(),{formatDateTime:a}=(0,b.f)(),{formatPrice:l}=(0,j.d)();return e?(0,t.jsxs)("div",{className:"grid gap-8 bg-white dark:bg-slate-800 p-6 rounded-lg shadow-md",children:[(0,t.jsxs)("div",{className:"border-b border-slate-300 dark:border-slate-700 pb-6",children:[(0,t.jsx)(u.default,{href:`/products?slug=${(0,x.U)(e?.product)}`,className:"block overflow-hidden rounded-lg bg-slate-50 dark:bg-slate-700 hover:opacity-90",children:(0,t.jsx)(f.f,{src:e?.product?.media?.length&&e?.product.media[0].file?.url||"/no-image.jpg",loader:h.f,alt:s({id:"product-image",defaultMessage:"Product image"}),width:200,height:200,layout:"responsive",className:"h-full w-full object-cover"})}),(0,t.jsxs)("div",{className:"mt-4",children:[(0,t.jsx)("h3",{className:"text-xl font-semibold text-slate-900 dark:text-slate-100",children:e?.product?.texts?.title||"Untitled Product"}),(0,t.jsx)("p",{className:"mt-2 text-lg font-semibold text-slate-800 dark:text-slate-300",children:l(e?.product?.simulatedPrice)}),(0,t.jsxs)("p",{className:"mt-2 text-slate-700 dark:text-slate-400",children:[s({id:"item_quantity",defaultMessage:"Quantity:"})," ",(0,t.jsx)("span",{className:"font-semibold",children:e?.quantity})]})]})]}),(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{className:"block font-medium text-slate-700 dark:text-slate-300",children:s({id:"status",defaultMessage:"Status"})}),(0,t.jsx)(g.f,{text:e?.status==="CENTRALIZED"?"Off-Chain 🏛":"On-Chain ⛓",color:p.a[e.status],square:!0})]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("span",{className:"block font-medium text-slate-700 dark:text-slate-300",children:[s({id:"chain-token-id",defaultMessage:"Token Serial Number"}),":"]}),(0,t.jsx)("p",{className:"text-slate-900 dark:text-slate-100",children:e?.tokenSerialNumber})]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("span",{className:"block font-medium text-slate-700 dark:text-slate-300",children:[s({id:"chain-id",defaultMessage:"Chain ID {chainId}"}),":"]}),(0,t.jsx)("p",{className:"text-slate-900 dark:text-slate-100",children:e?.chainId})]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("span",{className:"block font-medium text-slate-700 dark:text-slate-300",children:[s({id:"order",defaultMessage:"Order"}),":"]}),(0,t.jsx)(u.default,{href:`/orders?orderId=${e.ercMetadata?.orderId}`,className:"text-slate-800 dark:text-slate-700 hover:underline",children:e?.ercMetadata?.orderId})]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("span",{className:"block font-medium text-slate-700 dark:text-slate-300",children:[s({id:"invalidated",defaultMessage:"Invalidated"}),":"]}),(0,t.jsx)("p",{className:"text-slate-900 dark:text-slate-100",children:e?.invalidatedDate?a(e.invalidatedDate):s({id:"not-applicable",defaultMessage:"N/A"})})]}),e?.walletAddress&&(0,t.jsx)("div",{children:(0,t.jsx)("span",{className:"block font-medium text-slate-700 dark:text-slate-300",children:s({id:"wallet-address",defaultMessage:"Wallet {walletAddress}"},{walletAddress:(0,v.f)(e?.walletAddress)})})})]}),(0,t.jsx)("div",{className:"pt-6",children:(0,t.jsx)(k.f,{user:e?.user,contact:e?.user?.lastContact})})]}):null};var w=e.i(56599),y=e.i(81359),_=e.i(15971),T=e.i(6607),E=e.i(76204);let I=a.f`
124
- mutation InvalidateToken($tokenId: ID!) {
125
- invalidateToken(tokenId: $tokenId) {
126
- ...TokenFragment
127
- }
128
- }
129
- ${r.f}
130
- `;var C=e.i(28401),A=e.i(91788),M=e.i(58971);e.s(["default",0,({tokenId:e})=>{let{formatMessage:a}=(0,c.S)(),{setModal:r}=(0,T.f)(),{token:i,loading:u}=(({tokenId:e})=>{let{data:t,loading:s,error:a}=(0,l.f)(d,{variables:{tokenId:e}});return{token:t?.token,loading:s,error:a}})({tokenId:e}),{invalidateTicket:x}=(()=>{let[e]=(0,E.f)(I);return{invalidateTicket:async({tokenId:t})=>await e({variables:{tokenId:t},refetchQueries:["Tokens","Token"]})}})(),{hasRole:f}=(0,M.f)(),h=(0,A.useCallback)(async()=>{await r((0,t.jsx)(_.f,{onCancelClick:()=>r(""),message:a({id:"delete_paymentProvider_confirmation",defaultMessage:"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this Payment provider? "}),onOkClick:async()=>{r(""),await x({tokenId:e}),C.c.success(a({id:"payment_provider_deleted",defaultMessage:"Payment provider deleted successfully"}))},okText:a({id:"delete_payment_provider",defaultMessage:"Delete payment provider"})}))},[e]);return u?(0,t.jsx)(m.f,{}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.f,{currentPageTitle:i?.tokenSerialNumber}),(0,t.jsxs)("div",{className:"items-center flex min-w-full justify-between gap-3 flex-wrap",children:[(0,t.jsx)(o.f,{headerText:a({id:"token-id",defaultMessage:"Token Serial Number {tokenSerialNumber}"},{tokenSerialNumber:i?.tokenSerialNumber}),children:"DECENTRALIZED"!==i.status&&f(s.C.UpdateToken)&&(0,t.jsx)("div",{className:"mr-2",children:(0,t.jsx)(w.f,{tokenId:i._id,tokenStatus:i.status})})}),!i.invalidatedDate&&i.isInvalidateable&&f(s.C.UpdateToken)?(0,t.jsx)(y.f,{onClick:h,text:a({id:"invalidate-token",defaultMessage:"Invalidate"})}):null]}),(0,t.jsx)(N,{token:i})]})}],95267)},15361,e=>{var t=e.i(91788);let s=t.forwardRef(function({title:e,titleId:s,...a},l){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:l,"aria-labelledby":s},a),e?t.createElement("title",{id:s},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))});e.s(["f",0,s],15361)},67912,e=>{var t=e.i(91788);let s=t.forwardRef(function({title:e,titleId:s,...a},l){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:l,"aria-labelledby":s},a),e?t.createElement("title",{id:s},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.982 18.725A7.488 7.488 0 0 0 12 15.75a7.488 7.488 0 0 0-5.982 2.975m11.963 0a9 9 0 1 0-11.963 0m11.963 0A8.966 8.966 0 0 1 12 21a8.966 8.966 0 0 1-5.982-2.275M15 9.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))});e.s(["f",0,s],67912)}],88970,(e,t,s)=>{let a="/tokens/TokenDetailPage";(window.__NEXT_P=window.__NEXT_P||[]).push([a,()=>e.r(95267)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([a])})}]);
@@ -1,7 +0,0 @@
1
- __turbopack_load_page_chunks__("/enrollments", [
2
- "static/chunks/26ckmxeluyknq.js",
3
- "static/chunks/1da89agg-nacc.js",
4
- "static/chunks/3w8h5lxnd0z4z.js",
5
- "static/chunks/336k08jwyc5i-.js",
6
- "static/chunks/turbopack-2c3mg3r-05n1w.js"
7
- ])
@@ -1,8 +0,0 @@
1
- __turbopack_load_page_chunks__("/currency", [
2
- "static/chunks/2y1lq1efnvcdt.js",
3
- "static/chunks/1lezxecnoaxnn.js",
4
- "static/chunks/3c-an5ft_3emc.js",
5
- "static/chunks/336k08jwyc5i-.js",
6
- "static/chunks/0ewr86ctcw7fx.js",
7
- "static/chunks/turbopack-2c3mg3r-05n1w.js"
8
- ])
@@ -1,24 +0,0 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,[53211,e=>{var t=e.i(91398),r=e.i(3828),a=e.i(91788),s=e.i(59080),n=e.i(76204);let o=s.f`
2
- mutation CreateUser(
3
- $username: String
4
- $email: String
5
- $plainPassword: String
6
- $profile: UserProfileInput
7
- $webAuthnPublicKeyCredentials: JSON
8
- ) {
9
- createUser(
10
- username: $username
11
- email: $email
12
- password: $plainPassword
13
- profile: $profile
14
- webAuthnPublicKeyCredentials: $webAuthnPublicKeyCredentials
15
- ) {
16
- _id
17
- tokenExpires
18
- }
19
- }
20
- `;var l=e.i(97351),i=e.i(41158),u=e.i(69322),c=e.i(5505),d=e.i(35065),f=e.i(69211),m=e.i(72094),p=e.i(68095),y=e.i(45229),h=e.i(98949),g=e.i(64591);let x=({onSubmit:e,onSubmitSuccess:r,authenticateWithDevice:s,onAuthenticateWithDeviceChange:n,disableLoginRedirectLink:o=!1,submitButtonText:l=null,formHeaderText:x=null})=>{let{formatMessage:b}=(0,u.S)(),[w,v]=(0,a.useState)(!1),j=(0,h.f)({getSubmitErrorMessage:e=>e?.message?.toLowerCase().includes("email already exists")?(j.formik.setFieldError("email",b({id:"email_exists_error",defaultMessage:"Email already exists"})),b({id:"email_exists_error",defaultMessage:"Email already exists"})):e?.message?.includes("challenge mismatch")||e?.message?.includes("already exists")?(j.formik.setFieldError("username",b({id:"username_or_email_taken",defaultMessage:"Username taken, Please provided different username"})),b({id:"username_or_email_taken",defaultMessage:"Username taken, Please provided different username"})):e?.extensions?.code.includes("PasswordInvalidError")?(j.formik.setFieldError("plainPassword",b({id:"password_insecure",defaultMessage:"Password is invalid, maybe too insecure"})),b({id:"password_insecure",defaultMessage:"Password is invalid, maybe too insecure"})):e?.message||"",submit:e,onSubmitSuccess:r,initialValues:{username:null,email:null,plainPassword:null}});return(0,a.useEffect)(()=>{window.PublicKeyCredential&&v(!0)},[]),(0,t.jsx)("div",{className:"flex min-h-full items-center justify-center py-12 px-4 sm:px-6 lg:px-8",children:(0,t.jsxs)("div",{className:"w-full max-w-md space-y-4 text-center",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(d.f,{className:"mx-auto",src:"/logo-light.svg",width:160,height:100,alt:b({id:"unchained_logo",defaultMessage:"Unchained Logo"})}),(0,t.jsx)("h2",{className:"text-center text-3xl text-slate-900 dark:text-slate-200",children:x||b({id:"sign_up_header",defaultMessage:"Create new account"})})]}),(0,t.jsx)(c.U,{children:(0,t.jsxs)(f.f,{form:j,className:"mt-8 space-y-6 pt-4 pb-8 shadow-sm sm:rounded-lg sm:px-10",children:[(0,t.jsx)("input",{type:"hidden",name:"remember",value:"true"}),(0,t.jsxs)("div",{className:"space-y-6 rounded-md shadow-xs",children:[(0,t.jsx)("div",{children:(0,t.jsx)(y.f,{id:"username",name:"username",required:s,type:"text",label:b({id:"username",defaultMessage:"Username"})})}),!s&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{children:(0,t.jsx)(y.f,{id:"email",name:"email",type:"email",required:!0,label:b({id:"email",defaultMessage:"Email"})})}),(0,t.jsx)("div",{children:(0,t.jsx)(p.f,{id:"plainPassword",name:"plainPassword",autoComplete:"current-password",required:!0,label:b({id:"password",defaultMessage:"Password"})})})]}),w&&(0,t.jsx)(g.f,{onToggle:n,toggleText:b({id:"use_authenticator",defaultMessage:"Use authenticator"}),className:"ml-2 my-3",active:s})]}),(0,t.jsx)(m.f,{}),(0,t.jsx)("div",{className:"my-2",children:(0,t.jsxs)("button",{type:"submit",className:"group relative flex w-full justify-center rounded-md border border-transparent bg-slate-800 dark:bg-slate-600 py-2 px-4 text-sm font-medium text-white hover:bg-slate-950 dark:hover:bg-slate-500 focus:outline-hidden focus:ring-2 focus:ring-slate-800 dark:focus:ring-slate-400 focus:ring-offset-2",children:[(0,t.jsx)("span",{className:"absolute inset-y-0 left-0 flex items-center pl-3",children:(0,t.jsx)("svg",{className:"h-5 w-5 text-slate-900 group-hover:text-slate-800",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M5 9V7a5 5 0 0110 0v2a2 2 0 012 2v5a2 2 0 01-2 2H5a2 2 0 01-2-2v-5a2 2 0 012-2zm8-2v2H7V7a3 3 0 016 0z",clipRule:"evenodd"})})}),l||b({id:"sign_up",defaultMessage:"Sign up"})]})}),!o&&(0,t.jsxs)("div",{className:"text-sm text-slate-400 dark:text-slate-200",children:[b({id:"already_got_a_user",defaultMessage:"Already got a user?"}),(0,t.jsx)(i.default,{href:"/log-in",className:" ml-2 font-medium text-slate-950 hover:text-slate-900 dark:text-slate-800 dark:hover:text-slate-400",children:b({id:"log_in",defaultMessage:"Log in"})})]})]})})]})})};e.s(["f",0,({formHeaderText:e,submitButtonText:s,disableLoginRedirectLink:i=!1,successRedirectPath:u="/account"})=>{let{push:c}=(0,r.useRouter)(),{createUser:d}=(()=>{let[e,{data:t,error:r,loading:a,client:s}]=(0,n.f)(o);return{createUser:async({username:t,email:r,plainPassword:a,profile:n,webAuthnPublicKeyCredentials:o})=>{let l={username:null,email:null,profile:n,plainPassword:null,webAuthnPublicKeyCredentials:o};r&&(l.email=r),t&&(l.username=t),l.plainPassword=a;let i=await e({variables:l,refetchQueries:["Users","ShopStatus","ShopInfo"]});return await s.resetStore(),i},newUser:t?.createUser,error:r,loading:a}})(),{generateWebAuthCredentials:f}=(0,l.f)(),[m,p]=(0,a.useState)(!1),y=async e=>{let t=await f({username:e}),{data:r}=await d({username:e,webAuthnPublicKeyCredentials:t});return r},h=async e=>{let{username:t,email:r,plainPassword:a}=e;if(m)return await y(t),{success:!0};let{data:s,error:n}=await d({username:t,email:r,plainPassword:a}),{_id:o}=s?.createUser||{};return o?{success:!0}:{success:!1,data:s,error:n}};return(0,t.jsx)(x,{formHeaderText:e,submitButtonText:s,disableLoginRedirectLink:i,onSubmit:h,onSubmitSuccess:()=>(c(u),!0),authenticateWithDevice:m,onAuthenticateWithDeviceChange:()=>p(e=>!e)})}],53211)},97351,e=>{var t=e.i(10576),r=e.i(59080),a=e.i(76204);let s=r.f`
21
- mutation CreateWebAuthnCredentialCreationOptions($username: String!) {
22
- createWebAuthnCredentialCreationOptions(username: $username)
23
- }
24
- `,n=e=>window.btoa(String.fromCharCode(...new Uint8Array(e))).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"");e.s(["f",0,()=>{let{createWebAuthnCredentialCreationOptions:e}=(()=>{let[e]=(0,a.f)(s);return{createWebAuthnCredentialCreationOptions:async({username:t})=>e({variables:{username:t}})}})();return{generateWebAuthCredentials:async({username:r})=>{let{data:a}=await e({username:r}),{createWebAuthnCredentialCreationOptions:s}=a,o=new TextEncoder;s.challenge=(0,t.f)(s.challenge),s.user={id:o.encode(r),name:r,displayName:r};let l=await navigator.credentials.create({publicKey:s}),i=n(l.response.attestationObject),u=n(l.response.clientDataJSON),c=n(l.rawId),d=l.response.getAuthenticatorData?n(l.response.getAuthenticatorData()):"",f=l.response.getPublicKey?n(l.response.getPublicKey()):"";return{id:c,rawId:c,response:{clientDataJSON:u,attestationObject:i,authenticatorData:d,publicKey:f,publicKeyAlgorithm:l.response.getPublicKeyAlgorithm?l.response.getPublicKeyAlgorithm():-7,transports:l.response.getTransports?l.response.getTransports():["internal"]},authenticatorAttachment:l.authenticatorAttachment||"platform",clientExtensionResults:l.getClientExtensionResults?.()||{},type:"public-key",user:{id:r,name:r,displayName:r}}}}}],97351)},64591,e=>{var t=e.i(91398),r=e.i(72043),a=e.i(3828),s=e.i(83147);e.s(["f",0,({toggleText:e="",toggleKey:n=null,onToggle:o=null,active:l=!1,className:i="",disabled:u=!1,...c})=>{let d=(0,a.useRouter)(),f=d?.query?.[n]==="true"||l;return(0,t.jsxs)("div",{className:(0,r.default)("",i),children:[(0,t.jsxs)("button",{id:n,disabled:u,type:"button",className:(0,r.default)("relative inline-flex h-3.5 w-9 shrink-0 cursor-pointer rounded-full border-1 border-transparent transition-all duration-200 ease-in-out focus:outline-hidden focus:ring-2 focus:ring-slate-400 focus:ring-offset-2",{"bg-slate-200 dark:bg-slate-700":!f,"bg-emerald-500 dark:bg-emerald-600 shadow-sm":f}),role:"switch",onClick:o||(()=>{let{skip:e,...t}=d.query;d.push({query:(0,s._)(t,!f,n)})}),"aria-checked":f?"true":"false",...c,children:[(0,t.jsx)("span",{className:"sr-only",children:e}),(0,t.jsxs)("span",{className:(0,r.default)("ml-0.5 pointer-events-none relative inline-block h-3 w-3 transform rounded-full bg-white shadow-sm ring-0 transition-all duration-200 ease-in-out",{"translate-x-5 shadow-md":f,"translate-x-0":!f}),children:[(0,t.jsx)("span",{className:(0,r.default)("absolute inset-0 flex h-full w-full items-center justify-center transition-opacity",{"opacity-0 duration-100 ease-out":f,"opacity-100 duration-200 ease-in":!f}),"aria-hidden":"true",children:(0,t.jsx)("svg",{className:"h-3 w-3 text-slate-400",fill:"none",viewBox:"0 0 12 12",children:(0,t.jsx)("path",{d:"M4 8l2-2m0 0l2-2M6 6L4 4m2 2l2 2",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,t.jsx)("span",{className:(0,r.default)("absolute inset-0 flex h-full w-full items-center justify-center transition-opacity",{"opacity-100 duration-200 ease-in":f,"opacity-0 duration-100 ease-out":!f}),"aria-hidden":"true",children:(0,t.jsx)("svg",{className:"h-3 w-3 text-emerald-500",fill:"currentColor",viewBox:"0 0 12 12",children:(0,t.jsx)("path",{d:"M3.707 5.293a1 1 0 00-1.414 1.414l1.414-1.414zM5 8l-.707.707a1 1 0 001.414 0L5 8zm4.707-3.293a1 1 0 00-1.414-1.414l1.414 1.414zm-7.414 2l2 2 1.414-1.414-2-2-1.414 1.414zm3.414 2l4-4-1.414-1.414-4 4 1.414 1.414z"})})})]})]}),(0,t.jsx)("span",{className:"ml-3",id:"annual-billing-label",children:(0,t.jsx)("span",{className:"text-sm font-medium text-slate-900 dark:text-slate-200",children:e})})]})}])},10576,e=>{e.s(["f",0,e=>{if(window.atob&&Uint8Array){let t=e.replace(/-/g,"+").replace(/_/g,"/"),r=t+"=".repeat((4-t.length%4)%4),a=window.atob(r),s=a.length,n=new Uint8Array(s);for(let e=0;e<s;e+=1)n[e]=a.charCodeAt(e);return n.buffer}throw Error("The atob and Uint8Array methods are not available")}])},73319,e=>{let t=e=>"[object Object]"===Object.prototype.toString.call(e);e.s(["Q",0,e=>decodeURIComponent(e||[])?.split(",")?.filter(Boolean),"C",0,t,"T",0,e=>!(!e||null==e||t(e)&&!Object.keys(e).length||Array.isArray(e)&&!e.length)])},83147,e=>{let t=e=>e&&e?.split(",").reduce((e,t)=>{let[r=null,a=null]=(t||"")?.split("_")||[];return{...e,[r]:a}},null)||{};e.s(["S",0,(...e)=>e.filter(Boolean).join(" "),"R",0,e=>Object.entries(t(e))?.map(([e,t])=>({key:e,value:t})),"D",0,e=>e?.label&&e?.version?`${e.label} ${e.version}`:"","v",0,t,"Q",0,(e,t,r=!0)=>{if(!t)return"";try{return`${new Intl.DisplayNames([e],{type:"region"}).of(t)} ${r?`(${t})`:""}`}catch{return t}},"j",0,(e,t,r=!0)=>{if(!t)return"";try{return`${new Intl.DisplayNames([e],{type:"currency"}).of(t)} ${r?`(${t})`:""}`}catch{return t}},"I",0,(e,t,r=!0)=>{if(!t)return"";try{return`${new Intl.DisplayNames([e],{type:"language"}).of(t)} ${r?`(${t})`:""}`}catch{return t}},"_",0,(e,t,r)=>{let a;return a=r?{...e,[r]:t}:e,Object.keys(a)?.map(e=>[e,a[e]].join("="))?.join("&")},"d",0,()=>({formatPrice:e=>{if(!e?.currencyCode)return"n/a";if(e?.amount===void 0||e?.amount===null)return"";let{amount:t,currencyCode:r}=e||{};return new Intl.NumberFormat(navigator.language,{style:"currency",currency:r}).format(t/100)}})])},72094,e=>{var t=e.i(91398),r=e.i(91788),a=e.i(61898);let s=(e,t="")=>Object.fromEntries(Object.entries(e).reduce((e=[],[a,n])=>"string"==typeof n||r.default.isValidElement(n)?[...e,[`${t}${a}`,n]]:[...Object.entries(s(Object.assign({},...n),`${t}${a}.`)),...e],[])),n=({submitError:e="",fieldErrors:a=[]})=>(0,t.jsx)("div",{className:"my-2 mb-5 text-rose-700",children:(0,t.jsxs)("ul",{className:"space-y-1",children:[e&&(0,t.jsx)("li",{className:"disabled",children:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:e}})},"submitError"),Object.entries(s(a)).map(([e,a])=>(0,t.jsx)("li",{className:"disabled",children:(0,t.jsx)("button",{type:"button",className:"no-button text-rose-600 dark:text-rose-400","aria-label":"Error button",onClick:()=>{let t=document.getElementById(e);t&&t.focus()},children:r.default.isValidElement(a)?a:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:a}})})},e))]})});e.s(["f",0,({displayFieldErrors:e=!1})=>{let{submitError:r,formik:s}=(0,a.f)(),o=s?.errors;return(r||e)&&(0,t.jsx)(n,{submitError:r,fieldErrors:e&&o})}])},68095,e=>{var t=e.i(91398),r=e.i(72043),a=e.i(91788),s=e.i(45229);e.s(["f",0,({autoComplete:e="on",...n})=>{let[o,l]=(0,a.useState)(!1),i=e=>{e.preventDefault(),l(!o)};return(0,t.jsxs)("div",{className:(0,r.default)("relative",n.className),children:[(0,t.jsx)(s.f,{autoComplete:e||"on",name:"password",...n,type:o?"text":"password"}),(0,t.jsx)("span",{role:"button",tabIndex:-1,"aria-label":"toggle password visibility",className:"absolute translate-y-[-137%] outline-hidden block right-3",onClick:i,onKeyUp:i,children:o?(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6 stroke-slate-700",fill:"none",viewBox:"0 0 24 24",children:[(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"}),(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"})]}):(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6 stroke-slate-700",fill:"none",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M13.875 18.825A10.05 10.05 0 0112 19c-4.478 0-8.268-2.943-9.543-7a9.97 9.97 0 011.563-3.029m5.858.908a3 3 0 114.243 4.243M9.878 9.878l4.242 4.242M9.88 9.88l-3.29-3.29m7.532 7.532l3.29 3.29M3 3l3.59 3.59m0 0A9.953 9.953 0 0112 5c4.478 0 8.268 2.943 9.543 7a10.025 10.025 0 01-4.132 5.411m0 0L21 21"})})})]})}])},45229,e=>{var t=e.i(91398),r=e.i(72043),a=e.i(82226),s=e.i(60741),n=e.i(29691);e.s(["f",0,({maxLength:e=0,validators:o=[],...l})=>{let i=(0,s.f)({validators:[...o,e&&(0,a.f)(e)],...l});return(0,t.jsx)(n.f,{...i,children:(0,t.jsx)("input",{className:(0,r.default)("relative mt-1 block w-full dark:focus:autofill dark:hover:autofill dark:autofill dark:placeholder:text-slate-600 dark:bg-slate-900 dark:text-slate-200 appearance-none rounded-md border-1 dark:border-slate-700 px-4 py-2.5 text-sm text-slate-900 focus:outline-hidden focus:ring-2 focus:ring-slate-800 shadow-xs",{"border-rose-700 placeholder:text-rose-500":!!i.error,"border-slate-300 placeholder-slate-400":!i.error}),disabled:i.disabled,id:i.name,name:i.name,onChange:i.onChange,onClick:e=>{e.stopPropagation()},onBlur:i.onBlur,placeholder:i.placeholder,autoComplete:i.autoComplete||"off",type:i.type||"text",value:i.value,autoFocus:i.autoFocus})})}])},63036,e=>{var t=e.i(91398),r=e.i(53211),a=e.i(69322);let s=()=>{let{formatMessage:e}=(0,a.S)();return(0,t.jsx)(r.f,{formHeaderText:e({id:"sign_up_header",defaultMessage:"Create new account"}),submitButtonText:e({id:"sign_up",defaultMessage:"Sign up"})})};s.getLayout=e=>e,e.s(["default",0,s])},76204,e=>{var t=e.i(24669),r=e.i(91788),a=e.i(30928),s=e.i(52006);let n=e.i(21953).f?r.useLayoutEffect:r.useEffect;var o=e.i(98926);function l(e){return{data:void 0,error:void 0,called:!1,loading:!1,client:e}}e.s(["f",0,function(e,i){let u=(0,o.f)(i?.client),[c,d]=r.useState(()=>l(u)),f=r.useRef({result:c,mutationId:0,isMounted:!0,client:u,mutation:e,options:i});n(()=>{Object.assign(f.current,{client:u,options:i,mutation:e})});let m=r.useCallback((e={})=>{let{options:r,mutation:n}=f.current,o={...r,mutation:n},l=e.client||f.current.client,i="function"==typeof e.context?e.context(r?.context):e.context;!f.current.result.loading&&f.current.isMounted&&d(f.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:l});let u=++f.current.mutationId,c=(0,a.f)(o,{...e,context:i});return(0,s.f)(l.mutate(c).then(r=>{let{data:a,error:s}=r,n=e.onError||f.current.options?.onError;if(s&&n&&n(s,c),u===f.current.mutationId){let e={called:!0,loading:!1,data:a,error:s,client:l};f.current.isMounted&&!(0,t.f)(f.current.result,e)&&d(f.current.result=e)}let o=e.onCompleted||f.current.options?.onCompleted;return s||o?.(r.data,c),r},r=>{if(u===f.current.mutationId&&f.current.isMounted){let e={loading:!1,error:r,data:void 0,called:!0,client:l};(0,t.f)(f.current.result,e)||d(f.current.result=e)}let a=e.onError||f.current.options?.onError;throw a&&a(r,c),r}))},[]),p=r.useCallback(()=>{if(f.current.isMounted){let e=l(f.current.client);Object.assign(f.current,{mutationId:0,result:e}),d(e)}},[]);return r.useEffect(()=>{let e=f.current;return e.isMounted=!0,()=>{e.isMounted=!1}},[]),[m,{reset:p,...c}]}],76204)},9356,e=>{var t=e.i(35113);e.s(["f",0,function(e){return!(!(e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))&&"number"!=typeof e||isNaN(+(0,t.f)(e)))}],9356)},49543,e=>{var t=e.i(35113);e.s(["f",0,function(e,r){let a=(0,t.f)(e,r?.in);return a.setHours(0,0,0,0),a}])},35113,2848,98170,e=>{let t=Symbol.for("constructDateFrom");function r(e,r){return"function"==typeof e?e(r):e&&"object"==typeof e&&t in e?e[t](r):e instanceof Date?new e.constructor(r):new Date(r)}e.s(["C",0,t,"_",0,864e5,"r",0,36e5,"z",0,6e4,"A",0,6048e5,"k",0,1440,"d",0,43200,"l",0,525600],2848),e.s(["f",0,r],98170),e.s(["f",0,function(e,t){return r(t||e,e)}],35113)},34980,(e,t,r)=>{var a=e.r(49957),s={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function i(e){return a.isMemo(e)?o:l[e.$$typeof]||s}l[a.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[a.Memo]=o;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,p=Object.prototype;t.exports=function e(t,r,a){if("string"!=typeof r){if(p){var s=m(r);s&&s!==p&&e(t,s,a)}var o=c(r);d&&(o=o.concat(d(r)));for(var l=i(t),y=i(r),h=0;h<o.length;++h){var g=o[h];if(!n[g]&&!(a&&a[g])&&!(y&&y[g])&&!(l&&l[g])){var x=f(r,g);try{u(t,g,x)}catch(e){}}}}return t}},40563,(e,t,r)=>{var a="function"==typeof Symbol&&Symbol.for,s=a?Symbol.for("react.element"):60103,n=a?Symbol.for("react.portal"):60106,o=a?Symbol.for("react.fragment"):60107,l=a?Symbol.for("react.strict_mode"):60108,i=a?Symbol.for("react.profiler"):60114,u=a?Symbol.for("react.provider"):60109,c=a?Symbol.for("react.context"):60110,d=a?Symbol.for("react.async_mode"):60111,f=a?Symbol.for("react.concurrent_mode"):60111,m=a?Symbol.for("react.forward_ref"):60112,p=a?Symbol.for("react.suspense"):60113,y=a?Symbol.for("react.suspense_list"):60120,h=a?Symbol.for("react.memo"):60115,g=a?Symbol.for("react.lazy"):60116,x=a?Symbol.for("react.block"):60121,b=a?Symbol.for("react.fundamental"):60117,w=a?Symbol.for("react.responder"):60118,v=a?Symbol.for("react.scope"):60119;function j(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case s:switch(e=e.type){case d:case f:case o:case i:case l:case p:return e;default:switch(e=e&&e.$$typeof){case c:case m:case g:case h:case u:return e;default:return t}}case n:return t}}}function k(e){return j(e)===f}r.AsyncMode=d,r.ConcurrentMode=f,r.ContextConsumer=c,r.ContextProvider=u,r.Element=s,r.ForwardRef=m,r.Fragment=o,r.Lazy=g,r.Memo=h,r.Portal=n,r.Profiler=i,r.StrictMode=l,r.Suspense=p,r.isAsyncMode=function(e){return k(e)||j(e)===d},r.isConcurrentMode=k,r.isContextConsumer=function(e){return j(e)===c},r.isContextProvider=function(e){return j(e)===u},r.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===s},r.isForwardRef=function(e){return j(e)===m},r.isFragment=function(e){return j(e)===o},r.isLazy=function(e){return j(e)===g},r.isMemo=function(e){return j(e)===h},r.isPortal=function(e){return j(e)===n},r.isProfiler=function(e){return j(e)===i},r.isStrictMode=function(e){return j(e)===l},r.isSuspense=function(e){return j(e)===p},r.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===f||e===i||e===l||e===p||e===y||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===h||e.$$typeof===u||e.$$typeof===c||e.$$typeof===m||e.$$typeof===b||e.$$typeof===w||e.$$typeof===v||e.$$typeof===x)},r.typeOf=j},49957,(e,t,r)=>{e.i(50461),t.exports=e.r(40563)}],64670,(e,t,r)=>{let a="/sign-up";(window.__NEXT_P=window.__NEXT_P||[]).push([a,()=>e.r(63036)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([a])})}]);
@@ -1 +0,0 @@
1
- (()=>{"use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,20495,e=>{var t=e.i(91398),n=e.i(69322),i=e.i(2765);e.s(["f",0,({inputText:e=null,onInputChange:r,defaultValue:l})=>{let{formatMessage:o}=(0,n.S)(),a=(0,i.f)(200)(r);return(0,t.jsxs)("div",{className:"w-full",children:[(0,t.jsx)("label",{htmlFor:"search",className:"sr-only",children:e||o({id:"search",defaultMessage:"Search"})}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("div",{className:"pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3",children:(0,t.jsx)("svg",{className:"h-5 w-5 text-slate-400 dark:text-slate-200",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z",clipRule:"evenodd"})})}),(0,t.jsx)("input",{onChange:e=>a(e.target.value),id:"search",defaultValue:l,name:"search",className:"block w-full rounded-md border-1 border-slate-300 dark:border-slate-700 text-slate-900 dark:bg-slate-900 dark:text-slate-200 py-3 pl-10 px-4 shadow-xs placeholder:text-slate-400 dark:placeholder:text-slate-400 focus:ring-2 focus:ring-slate-800 focus:outline-hidden sm:text-sm",placeholder:o({id:"search",defaultMessage:"Search"}),type:"search"})]})]})}])},2765,e=>{e.s(["f",0,(e=500)=>t=>{let n;return(...i)=>{let r;clearTimeout(n),n=setTimeout(()=>t.apply(r,i),e)}}])},95963,32572,36394,e=>{let t,n=["top","right","bottom","left"],i=n.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]),r=Math.min,l=Math.max,o=Math.round,a=Math.floor,f=e=>({x:e,y:e}),c={left:"right",right:"left",bottom:"top",top:"bottom"};function s(e,t,n){return l(e,r(t,n))}function u(e,t){return"function"==typeof e?e(t):e}function d(e){return e.split("-")[0]}function h(e){return e.split("-")[1]}function m(e){return"x"===e?"y":"x"}function p(e){return"y"===e?"height":"width"}function g(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function w(e){return m(g(e))}function v(e,t,n){void 0===n&&(n=!1);let i=h(e),r=w(e),l=p(r),o="x"===r?i===(n?"end":"start")?"right":"left":"start"===i?"bottom":"top";return t.reference[l]>t.floating[l]&&(o=E(o)),[o,E(o)]}function y(e){let t=E(e);return[x(e),t,x(t)]}function x(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let b=["left","right"],R=["right","left"],T=["top","bottom"],L=["bottom","top"];function A(e,t,n,i){let r=h(e),l=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?R:b;return t?b:R;case"left":case"right":return t?T:L;default:return[]}}(d(e),"start"===n,i);return r&&(l=l.map(e=>e+"-"+r),t&&(l=l.concat(l.map(x)))),l}function E(e){let t=d(e);return c[t]+e.slice(t.length)}function O(e){var t,n,i,r;return"number"!=typeof e?{top:null!=(t=e.top)?t:0,right:null!=(n=e.right)?n:0,bottom:null!=(i=e.bottom)?i:0,left:null!=(r=e.left)?r:0}:{top:e,right:e,bottom:e,left:e}}function C(e){let{x:t,y:n,width:i,height:r}=e;return{width:i,height:r,top:n,left:t,right:t+i,bottom:n+r,x:t,y:n}}function S(e,t,n){let i,{reference:r,floating:l}=e,o=g(t),a=w(t),f=p(a),c=d(t),s=r.x+r.width/2-l.width/2,u=r.y+r.height/2-l.height/2,m=r[f]/2-l[f]/2;switch(c){case"top":i={x:s,y:r.y-l.height};break;case"bottom":i={x:s,y:r.y+r.height};break;case"right":i={x:r.x+r.width,y:u};break;case"left":i={x:r.x-l.width,y:u};break;default:i={x:r.x,y:r.y}}let v=h(t);return v&&(i[a]+=m*("end"===v?1:-1)*(n&&"y"===o?-1:1)),i}async function P(e,t){var n;void 0===t&&(t={});let{x:i,y:r,platform:l,rects:o,elements:a,strategy:f}=e,{boundary:c="clippingAncestors",rootBoundary:s="viewport",elementContext:d="floating",altBoundary:h=!1,padding:m=0}=u(t,e),p=O(m),g=a[h?"floating"===d?"reference":"floating":d],w=C(await l.getClippingRect({element:null==(n=await (null==l.isElement?void 0:l.isElement(g)))||n?g:g.contextElement||await (null==l.getDocumentElement?void 0:l.getDocumentElement(a.floating)),boundary:c,rootBoundary:s,strategy:f})),v="floating"===d?{x:i,y:r,width:o.floating.width,height:o.floating.height}:o.reference,y=await (null==l.getOffsetParent?void 0:l.getOffsetParent(a.floating)),x=await (null==l.isElement?void 0:l.isElement(y))&&await (null==l.getScale?void 0:l.getScale(y))||{x:1,y:1},b=C(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:y,strategy:f}):v);return{top:(w.top-b.top+p.top)/x.y,bottom:(b.bottom-w.bottom+p.bottom)/x.y,left:(w.left-b.left+p.left)/x.x,right:(b.right-w.right+p.right)/x.x}}e.s(["O",0,s,"I",0,f,"h",0,u,"w",0,a,"R",0,h,"i",0,w,"N",0,v,"T",0,p,"P",0,y,"o",0,x,"J",0,m,"K",0,A,"t",0,E,"j",0,O,"m",0,d,"$",0,g,"y",0,l,"u",0,r,"Z",0,i,"_",0,C,"H",0,o,"M",0,n],32572);let k=async(e,t,n)=>{let{placement:i="bottom",strategy:r="absolute",middleware:l=[],platform:o}=n,a=o.detectOverflow?o:{...o,detectOverflow:P},f=await (null==o.isRTL?void 0:o.isRTL(t)),c=await o.getElementRects({reference:e,floating:t,strategy:r}),{x:s,y:u}=S(c,i,f),d=i,h=0,m={};for(let n=0;n<l.length;n++){let p=l[n];if(!p)continue;let{name:g,fn:w}=p,{x:v,y:y,data:x,reset:b}=await w({x:s,y:u,initialPlacement:i,placement:d,strategy:r,middlewareData:m,rects:c,platform:a,elements:{reference:e,floating:t}});s=null!=v?v:s,u=null!=y?y:u,m[g]={...m[g],...x},b&&h<50&&(h++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(c=!0===b.rects?await o.getElementRects({reference:e,floating:t,strategy:r}):b.rects),{x:s,y:u}=S(c,d,f)),n=-1)}return{x:s,y:u,placement:d,strategy:r,middlewareData:m}};function D(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function F(e){return n.some(t=>e[t]>=0)}function H(e){let t=r(...e.map(e=>e.left)),n=r(...e.map(e=>e.top));return{x:t,y:n,width:l(...e.map(e=>e.right))-t,height:l(...e.map(e=>e.bottom))-n}}let M=new Set(["left","top"]);async function N(e,t){let{placement:n,platform:i,elements:r}=e,l=await (null==i.isRTL?void 0:i.isRTL(r.floating)),o=d(n),a=h(n),f="y"===g(n),c=M.has(o)?-1:1,s=l&&f?-1:1,m=u(t,e),{mainAxis:p,crossAxis:w,alignmentAxis:v}="number"==typeof m?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return a&&"number"==typeof v&&(w="end"===a?-1*v:v),f?{x:w*s,y:p*c}:{x:p*c,y:w*s}}function W(){return"u">typeof window}function B(e){return z(e)?(e.nodeName||"").toLowerCase():"#document"}function V(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function j(e){var t;return null==(t=(z(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function z(e){return!!W()&&(e instanceof Node||e instanceof V(e).Node)}function _(e){return!!W()&&(e instanceof Element||e instanceof V(e).Element)}function I(e){return!!W()&&(e instanceof HTMLElement||e instanceof V(e).HTMLElement)}function K(e){return!(!W()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof V(e).ShadowRoot)}function $(e){let{overflow:t,overflowX:n,overflowY:i,display:r}=et(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+n)&&"inline"!==r&&"contents"!==r}function q(e){return/^(table|td|th)$/.test(B(e))}function G(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let J=/transform|translate|scale|rotate|perspective|filter/,U=/paint|layout|strict|content/,X=e=>!!e&&"none"!==e;function Z(e){let t=_(e)?et(e):e;return X(t.transform)||X(t.translate)||X(t.scale)||X(t.rotate)||X(t.perspective)||!Y()&&(X(t.backdropFilter)||X(t.filter))||J.test(t.willChange||"")||U.test(t.contain||"")}function Q(e){let t=ei(e);for(;I(t)&&!ee(t);){if(Z(t))return t;if(G(t))break;t=ei(t)}return null}function Y(){return null==t&&(t="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),t}function ee(e){return/^(html|body|#document)$/.test(B(e))}function et(e){return V(e).getComputedStyle(e)}function en(e){return _(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ei(e){if("html"===B(e))return e;let t=e.assignedSlot||e.parentNode||K(e)&&e.host||j(e);return K(t)?t.host:t}function er(e,t,n){var i;void 0===t&&(t=[]),void 0===n&&(n=!0);let r=function e(t){let n=ei(t);return ee(n)?(t.ownerDocument||t).body:I(n)&&$(n)?n:e(n)}(e),l=r===(null==(i=e.ownerDocument)?void 0:i.body),o=V(r);if(!l)return t.concat(r,er(r,[],n));{let e=el(o);return t.concat(o,o.visualViewport||[],$(r)?r:[],e&&n?er(e):[])}}function el(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function eo(e){let t=et(e),n=parseFloat(t.width)||0,i=parseFloat(t.height)||0,r=I(e),l=r?e.offsetWidth:n,a=r?e.offsetHeight:i,f=o(n)!==l||o(i)!==a;return f&&(n=l,i=a),{width:n,height:i,$:f}}function ea(e){return _(e)?e:e.contextElement}function ef(e){let t=ea(e);if(!I(t))return f(1);let n=t.getBoundingClientRect(),{width:i,height:r,$:l}=eo(t),a=(l?o(n.width):n.width)/i,c=(l?o(n.height):n.height)/r;return a&&Number.isFinite(a)||(a=1),c&&Number.isFinite(c)||(c=1),{x:a,y:c}}e.s(["X",0,et,"f",0,Q,"I",0,j,"w",0,el,"A",0,B,"Q",0,en,"G",0,er,"J",0,ei,"K",0,V,"e",0,Z,"m",0,_,"E",0,I,"Z",0,ee,"B",0,$,"R",0,K,"S",0,q,"D",0,G,"i",0,Y],36394);let ec=f(0);function es(e){let t=V(e);return Y()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:ec}function eu(e,t,n,i){var r;void 0===t&&(t=!1),void 0===n&&(n=!1);let l=e.getBoundingClientRect(),o=ea(e),a=f(1);t&&(i?_(i)&&(a=ef(i)):a=ef(e));let c=(void 0===(r=n)&&(r=!1),i&&r&&i===V(o))?es(o):f(0),s=(l.left+c.x)/a.x,u=(l.top+c.y)/a.y,d=l.width/a.x,h=l.height/a.y;if(o&&i){let e=V(o),t=_(i)?V(i):i,n=e,r=el(n);for(;r&&t!==n;){let e=ef(r),t=r.getBoundingClientRect(),i=et(r),l=t.left+(r.clientLeft+parseFloat(i.paddingLeft))*e.x,o=t.top+(r.clientTop+parseFloat(i.paddingTop))*e.y;s*=e.x,u*=e.y,d*=e.x,h*=e.y,s+=l,u+=o,r=el(n=V(r))}}return C({width:d,height:h,x:s,y:u})}function ed(e,t){let n=en(e).scrollLeft;return t?t.left+n:eu(j(e)).left+n}function eh(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-ed(e,n),y:n.top+t.scrollTop}}function em(e,t,n){var i;let r;if("viewport"===t||"layoutViewport"===t)r=function(e,t,n){void 0===n&&(n="viewport");let i="layoutViewport"===n,r=V(e),l=j(e),o=r.visualViewport,a=l.clientWidth,f=l.clientHeight,c=0,s=0;if(o){let e=!Y()||"fixed"===t;i?e||(c=-o.offsetLeft,s=-o.offsetTop):(a=o.width,f=o.height,e&&(c=o.offsetLeft,s=o.offsetTop))}if(0>=ed(l)){let e=l.ownerDocument,t=e.body,n=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,r=Math.abs(l.clientWidth-t.clientWidth-i),o="stable both-edges"===getComputedStyle(l).scrollbarGutter?r/2:r;o<=25&&(a-=o)}return{width:a,height:f,x:c,y:s}}(e,n,t);else if("document"===t){let t,n,o,a,f,c;t=en(i=j(e)),n=i.ownerDocument.body,o=l(i.scrollWidth,i.clientWidth,n.scrollWidth,n.clientWidth),a=l(i.scrollHeight,i.clientHeight,n.scrollHeight,n.clientHeight),f=-t.scrollLeft+ed(i),c=-t.scrollTop,"rtl"===et(n).direction&&(f+=l(i.clientWidth,n.clientWidth)-o),r={width:o,height:a,x:f,y:c}}else if(_(t)){let e,i,l,o,a,f;i=(e=eu(t,!0,"fixed"===n)).top+t.clientTop,l=e.left+t.clientLeft,o=ef(t),a=t.clientWidth*o.x,f=t.clientHeight*o.y,r={width:a,height:f,x:l*o.x,y:i*o.y}}else{let n=es(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return C(r)}function ep(e){return"static"===et(e).position}function eg(e,t){if(!I(e)||"fixed"===et(e).position)return null;if(t)return t(e);let n=e.offsetParent;return j(e)===n&&(n=n.ownerDocument.body),n}function ew(e,t){let n=V(e);if(G(e))return n;if(!I(e)){let t=ei(e);for(;t&&!ee(t);){if(_(t)&&!ep(t))return t;t=ei(t)}return n}let i=eg(e,t);for(;i&&q(i)&&ep(i);)i=eg(i,t);return i&&ee(i)&&ep(i)&&!Z(i)?n:i||Q(e)||n}let ev=async function(e){let t=this.getOffsetParent||ew,n=this.getDimensions,i=await n(e.floating);return{reference:function(e,t,n){let i=I(t),r=j(t),l="fixed"===n,o=eu(e,!0,l,t),a={scrollLeft:0,scrollTop:0},c=f(0);if((i||!l)&&(("body"!==B(t)||$(r))&&(a=en(t)),i)){let e=eu(t,!0,l,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}!i&&r&&(c.x=ed(r));let s=!r||i||l?f(0):eh(r,a);return{x:o.left+a.scrollLeft-c.x-s.x,y:o.top+a.scrollTop-c.y-s.y,width:o.width,height:o.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}},ey={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:i,strategy:r}=e,l="fixed"===r,o=j(i),a=!!t&&G(t.floating);if(i===o||a&&l)return n;let c={scrollLeft:0,scrollTop:0},s=f(1),u=f(0),d=I(i);if((d||!l)&&(("body"!==B(i)||$(o))&&(c=en(i)),d)){let e=eu(i);s=ef(i),u.x=e.x+i.clientLeft,u.y=e.y+i.clientTop}let h=!o||d||l?f(0):eh(o,c);return{width:n.width*s.x,height:n.height*s.y,x:n.x*s.x-c.scrollLeft*s.x+u.x+h.x,y:n.y*s.y-c.scrollTop*s.y+u.y+h.y}},getDocumentElement:j,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:i,strategy:o}=e,a=[..."clippingAncestors"===n?G(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let i=er(e,[],!1).filter(e=>_(e)&&"body"!==B(e)),r=null,l="fixed"===et(e).position,o=l?ei(e):e;for(;_(o)&&!ee(o);){let e=et(o),t=Z(o),n=r?r.position:l?"fixed":"";t||"fixed"!==n&&("absolute"!==n||"static"!==e.position)?r=e:i=i.filter(e=>e!==o),o=ei(o)}return t.set(e,i),i}(t,this._c):[].concat(n),i],f=em(t,a[0],o),c=f.top,s=f.right,u=f.bottom,d=f.left;for(let e=1;e<a.length;e++){let n=em(t,a[e],o);c=l(n.top,c),s=r(n.right,s),u=r(n.bottom,u),d=l(n.left,d)}return{width:s-d,height:u-c,x:d,y:c}},getOffsetParent:ew,getElementRects:ev,getClientRects:function(e){return e.getClientRects?Array.from(e.getClientRects()):[]},getDimensions:function(e){let{width:t,height:n}=eo(e);return{width:t,height:n}},getScale:ef,isElement:_,isRTL:function(e){return"rtl"===et(e).direction}};function ex(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}e.s(["P",0,e=>({name:"arrow",options:e,async fn(t){let{x:n,y:i,placement:l,rects:o,platform:a,elements:f,middlewareData:c}=t,{element:d,padding:m=0}=u(e,t)||{};if(null==d)return{};let g=O(m),v={x:n,y:i},y=w(l),x=p(y),b=await a.getDimensions(d),R="y"===y,T=R?"clientHeight":"clientWidth",L=o.reference[x]+o.reference[y]-v[y]-o.floating[x],A=v[y]-o.reference[y],E=await (null==a.getOffsetParent?void 0:a.getOffsetParent(d)),C=E?E[T]:0;C&&await (null==a.isElement?void 0:a.isElement(E))||(C=f.floating[T]||o.floating[x]);let S=C/2-b[x]/2-1,P=r(g[R?"top":"left"],S),k=r(g[R?"bottom":"right"],S),D=C-b[x]-k,F=C/2-b[x]/2+(L/2-A/2),H=s(P,F,D),M=!c.arrow&&null!=h(l)&&F!==H&&o.reference[x]/2-(F<P?P:k)-b[x]/2<0,N=M?F<P?F-P:F-D:0;return{[y]:v[y]+N,data:{[y]:H,centerOffset:F-H-N,...M&&{alignmentOffset:N}},reset:M}}}),"p",0,function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,r,l,o;let{rects:a,middlewareData:f,placement:c,platform:s,elements:m}=t,{crossAxis:p=!1,alignment:g,allowedPlacements:w=i,autoAlignment:y=!0,...b}=u(e,t),R=void 0!==g||w===i?((o=g||null)?[...w.filter(e=>h(e)===o),...w.filter(e=>h(e)!==o)]:w.filter(e=>d(e)===e)).filter(e=>!o||h(e)===o||!!y&&x(e)!==e):w,T=(null==(n=f.autoPlacement)?void 0:n.index)||0,L=R[T];if(null==L)return{};if(c!==L)return{reset:{placement:R[0]}};let A=await s.detectOverflow(t,b),E=v(L,a,await (null==s.isRTL?void 0:s.isRTL(m.floating))),O=[A[d(L)],A[E[0]],A[E[1]]],C=[...(null==(r=f.autoPlacement)?void 0:r.overflows)||[],{placement:L,overflows:O}],S=R[T+1];if(S)return{data:{index:T+1,overflows:C},reset:{placement:S}};let P=C.map(e=>{let t=h(e.placement);return[e.placement,t&&p?e.overflows.slice(0,2).reduce((e,t)=>e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),k=(null==(l=P.filter(e=>e[2].slice(0,h(e[0])?2:3).every(e=>e<=0))[0])?void 0:l[0])||P[0][0];return k!==c?{data:{index:T+1,overflows:C},reset:{placement:k}}:{}}}},"n",0,function(e,t,n,i){let o;void 0===i&&(i={});let{ancestorScroll:f=!0,ancestorResize:c=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:d=!1}=i,h=ea(e),m=f||c?[...h?er(h):[],...t?er(t):[]]:[];m.forEach(e=>{f&&e.addEventListener("scroll",n),c&&e.addEventListener("resize",n)});let p=h&&u?function(e,t,n){let i,o=null,f=j(e);function c(){var e;clearTimeout(i),null==(e=o)||e.disconnect(),o=null}function s(n,u){void 0===n&&(n=!1),void 0===u&&(u=1),c();let d=e.getBoundingClientRect(),{left:h,top:m,width:p,height:g}=d;if(n||t(),!p||!g)return;let w={rootMargin:-a(m)+"px "+-a(f.clientWidth-(h+p))+"px "+-a(f.clientHeight-(m+g))+"px "+-a(h)+"px",threshold:l(0,r(1,u))||1},v=!0;function y(t){let n=t[0].intersectionRatio;if(!ex(d,e.getBoundingClientRect()))return s();if(n!==u){if(!v)return s();n?s(!1,n):i=setTimeout(()=>{s(!1,1e-7)},1e3)}v=!1}try{o=new IntersectionObserver(y,{...w,root:f.ownerDocument})}catch(e){o=new IntersectionObserver(y,w)}o.observe(e)}let u=V(e),d=()=>s(n);return u.addEventListener("resize",d),s(!0),()=>{u.removeEventListener("resize",d),c()}}(h,n,c):null,g=-1,w=null;s&&(w=new ResizeObserver(e=>{let[i]=e;i&&i.target===h&&w&&t&&(w.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=w)||e.observe(t)})),n()}),h&&!d&&w.observe(h),t&&w.observe(t));let v=d?eu(e):null;return d&&function t(){let i=eu(e);v&&!ex(v,i)&&n(),v=i,o=requestAnimationFrame(t)}(),n(),()=>{var e;m.forEach(e=>{f&&e.removeEventListener("scroll",n),c&&e.removeEventListener("resize",n)}),null==p||p(),null==(e=w)||e.disconnect(),w=null,d&&cancelAnimationFrame(o)}},"A",0,(e,t,n)=>{let i=new Map,r=null!=n?n:{},l={...ey,...r.platform,_c:i};return k(e,t,{...r,platform:l})},"k",0,P,"x",0,function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,i,r,l,o;let{placement:a,middlewareData:f,rects:c,initialPlacement:s,platform:h,elements:m}=t,{mainAxis:p=!0,crossAxis:w=!0,fallbackPlacements:x,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:R="none",flipAlignment:T=!0,...L}=u(e,t);if(null!=(n=f.arrow)&&n.alignmentOffset)return{};let O=d(a),C=g(s),S=d(s)===s,P=await (null==h.isRTL?void 0:h.isRTL(m.floating)),k=x||(S||!T?[E(s)]:y(s)),D="none"!==R;!x&&D&&k.push(...A(s,T,R,P));let F=[s,...k],H=await h.detectOverflow(t,L),M=[],N=(null==(i=f.flip)?void 0:i.overflows)||[];if(p&&M.push(H[O]),w){let e=v(a,c,P);M.push(H[e[0]],H[e[1]])}if(N=[...N,{placement:a,overflows:M}],!M.every(e=>e<=0)){let e=((null==(r=f.flip)?void 0:r.index)||0)+1,t=F[e];if(t&&("alignment"!==w||C===g(t)||N.every(e=>g(e.placement)!==C||e.overflows[0]>0)))return{data:{index:e,overflows:N},reset:{placement:t}};let n=null==(l=N.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:l.placement;if(!n)switch(b){case"bestFit":{let e=null==(o=N.filter(e=>{if(D){let t=g(e.placement);return t===C||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:o[0];e&&(n=e);break}case"initialPlacement":n=s}if(a!==n)return{reset:{placement:n}}}return{}}}},"c",0,function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n,platform:i}=t,{strategy:r="referenceHidden",...l}=u(e,t);switch(r){case"referenceHidden":{let e=D(await i.detectOverflow(t,{...l,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:F(e)}}}case"escaped":{let e=D(await i.detectOverflow(t,{...l,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:F(e)}}}default:return{}}}}},"g",0,function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){let{placement:n,elements:i,rects:o,platform:a,strategy:f}=t,{padding:c=2,x:s,y:h}=u(e,t),m=Array.from(await (null==a.getClientRects?void 0:a.getClientRects(i.reference))||[]);if(!m.length)return{};let p=function(e){let t=e.slice().sort((e,t)=>e.y-t.y),n=[],i=null;for(let e=0;e<t.length;e++){let r=t[e];!i||r.y-i.y>i.height/2?n.push([r]):n[n.length-1].push(r),i=r}return n.map(e=>C(H(e)))}(m),w=C(H(m)),v=O(c),y=await a.getElementRects({reference:{getBoundingClientRect:function(){if(2===p.length&&(p[0].left>p[1].right||p[1].left>p[0].right)&&null!=s&&null!=h)return p.find(e=>s>e.left-v.left&&s<e.right+v.right&&h>e.top-v.top&&h<e.bottom+v.bottom)||w;if(p.length>=2){if("y"===g(n)){let e=p[0],t=p[p.length-1],i="top"===d(n),r=e.top,l=t.bottom,o=i?e.left:t.left;return C({x:o,y:r,width:(i?e.right:t.right)-o,height:l-r})}let e="left"===d(n),t=l(...p.map(e=>e.right)),i=r(...p.map(e=>e.left)),o=p.filter(n=>e?n.left===i:n.right===t),a=o[0].top;return C({x:i,y:a,width:t-i,height:o[o.length-1].bottom-a})}return w}},floating:i.floating,strategy:f});return o.reference.x!==y.reference.x||o.reference.y!==y.reference.y||o.reference.width!==y.reference.width||o.reference.height!==y.reference.height?{reset:{rects:y}}:{}}}},"o",0,function(e){return void 0===e&&(e={}),{options:e,fn(t){var n,i,r,l;let{x:o,y:a,placement:f,rects:c,middlewareData:s}=t,{offset:h=0,mainAxis:p=!0,crossAxis:w=!0}=u(e,t),v={x:o,y:a},y=g(f),x=m(y),b=v[x],R=v[y],T=u(h,t),L="number"==typeof T?{mainAxis:T,crossAxis:0}:{mainAxis:null!=(n=T.mainAxis)?n:0,crossAxis:null!=(i=T.crossAxis)?i:0};if(p){let e="y"===x?"height":"width",t=c.reference[x]-c.floating[e]+L.mainAxis,n=c.reference[x]+c.reference[e]-L.mainAxis;b<t?b=t:b>n&&(b=n)}if(w){let e="y"===x?"width":"height",t=M.has(d(f)),n=c.reference[y]-c.floating[e]+(t&&(null==(r=s.offset)?void 0:r[y])||0)+(t?0:L.crossAxis),i=c.reference[y]+c.reference[e]+(t?0:(null==(l=s.offset)?void 0:l[y])||0)-(t?L.crossAxis:0);R<n?R=n:R>i&&(R=i)}return{[x]:b,[y]:R}}}},"T",0,function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,i;let{x:r,y:l,placement:o,middlewareData:a}=t,f=await N(t,e);return o===(null==(n=a.offset)?void 0:n.placement)&&null!=(i=a.arrow)&&i.alignmentOffset?{}:{x:r+f.x,y:l+f.y,data:{...f,placement:o}}}}},"e",0,function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:i,placement:r,platform:l}=t,{mainAxis:o=!0,crossAxis:a=!1,limiter:f={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=u(e,t),d={x:n,y:i},h=await l.detectOverflow(t,c),p=g(r),w=m(p),v=d[w],y=d[p],x=(e,t)=>s(t+h["y"===e?"top":"left"],t,t-h["y"===e?"bottom":"right"]);o&&(v=x(w,v)),a&&(y=x(p,y));let b=f.fn({...t,[w]:v,[p]:y});return{...b,data:{x:b.x-n,y:b.y-i,enabled:{[w]:o,[p]:a}}}}}},"q",0,function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){let n,i,{placement:o,rects:a,platform:f,elements:c}=t,{apply:s=()=>{},...m}=u(e,t),p=await f.detectOverflow(t,m),w=d(o),v=h(o),y="y"===g(o),{width:x,height:b}=a.floating;"top"===w||"bottom"===w?(n=w,i=v===(await (null==f.isRTL?void 0:f.isRTL(c.floating))?"start":"end")?"left":"right"):(i=w,n="end"===v?"top":"bottom");let R=b-p.top-p.bottom,T=x-p.left-p.right,L=r(b-p[n],R),A=r(x-p[i],T),E=t.middlewareData.shift,O=!E,C=L,S=A;null!=E&&E.enabled.x&&(S=T),null!=E&&E.enabled.y&&(C=R),O&&!v&&(y?S=x-2*l(p.left,p.right):C=b-2*l(p.top,p.bottom)),await s({...t,availableWidth:S,availableHeight:C});let P=await f.getDimensions(c.floating);return x!==P.width||b!==P.height?{reset:{rects:!0}}:{}}}}],95963)}])})();
@@ -1,6 +0,0 @@
1
- __turbopack_load_page_chunks__("/orders/OrderDetailPage", [
2
- "static/chunks/1sh2ogc7tcbu-.js",
3
- "static/chunks/153ec1_-yt3jb.js",
4
- "static/chunks/3w8h5lxnd0z4z.js",
5
- "static/chunks/turbopack-2c3mg3r-05n1w.js"
6
- ])
@@ -1,6 +0,0 @@
1
- __turbopack_load_page_chunks__("/payment-provider/PaymentProviderDetailPage", [
2
- "static/chunks/05p330iybjojg.js",
3
- "static/chunks/3c-an5ft_3emc.js",
4
- "static/chunks/3le1bywe19_u9.js",
5
- "static/chunks/turbopack-2c3mg3r-05n1w.js"
6
- ])
@@ -1,7 +0,0 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,[73319,e=>{let t=e=>"[object Object]"===Object.prototype.toString.call(e);e.s(["Q",0,e=>decodeURIComponent(e||[])?.split(",")?.filter(Boolean),"C",0,t,"T",0,e=>!(!e||null==e||t(e)&&!Object.keys(e).length||Array.isArray(e)&&!e.length)])},73462,e=>{var t=e.i(91398),r=e.i(45229),o=e.i(82226);e.s(["f",0,({validators:e=[],value:s="",...a})=>(0,t.jsx)(r.f,{value:s,autoComplete:a?.autoComplete||"on",name:"email",validators:[...e,o.L],...a})])},72094,e=>{var t=e.i(91398),r=e.i(91788),o=e.i(61898);let s=(e,t="")=>Object.fromEntries(Object.entries(e).reduce((e=[],[o,a])=>"string"==typeof a||r.default.isValidElement(a)?[...e,[`${t}${o}`,a]]:[...Object.entries(s(Object.assign({},...a),`${t}${o}.`)),...e],[])),a=({submitError:e="",fieldErrors:o=[]})=>(0,t.jsx)("div",{className:"my-2 mb-5 text-rose-700",children:(0,t.jsxs)("ul",{className:"space-y-1",children:[e&&(0,t.jsx)("li",{className:"disabled",children:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:e}})},"submitError"),Object.entries(s(o)).map(([e,o])=>(0,t.jsx)("li",{className:"disabled",children:(0,t.jsx)("button",{type:"button",className:"no-button text-rose-600 dark:text-rose-400","aria-label":"Error button",onClick:()=>{let t=document.getElementById(e);t&&t.focus()},children:r.default.isValidElement(o)?o:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:o}})})},e))]})});e.s(["f",0,({displayFieldErrors:e=!1})=>{let{submitError:r,formik:s}=(0,o.f)(),n=s?.errors;return(r||e)&&(0,t.jsx)(a,{submitError:r,fieldErrors:e&&n})}])},99160,e=>{var t=e.i(91398),r=e.i(72043),o=e.i(38865),s=e.i(61898);e.s(["f",0,({label:e,disabled:a=!1,className:n="",hidden:l=!1,...i})=>{let c=(0,o.m)(),{...u}=i,d=Object.fromEntries(Object.keys(c.initialValues).map(e=>[e,c.getFieldMeta(e)])),{disabled:f}=(0,s.f)(),m=Object.values(d).reduce((e,{error:t,touched:r})=>e||t&&r,!1),p=a||f||c.isSubmitting||m,y=c.isSubmitting&&!m,b=(a||f||m)&&!c.isSubmitting;return(0,t.jsx)("input",{className:(0,r.default)("inline-flex cursor-pointer justify-center rounded-sm border border-slate-300 px-4 py-2 text-center text-sm font-medium leading-5 shadow-sm hover:shadow-md focus:ring-slate-800 dark:focus:ring-slate-400",n,{"bg-rose-50 dark:bg-slate-800 dark:text-rose-300 cursor-not-allowed border-rose-300 dark:border-rose-600 text-rose-900":b,"bg-slate-600 dark:bg-slate-700 text-white cursor-not-allowed border-slate-400 dark:border-slate-600":y,"bg-slate-800 dark:bg-slate-600 text-white hover:bg-slate-900 dark:hover:bg-slate-500 focus:outline-hidden focus:ring-2 focus:ring-offset-2 border-transparent":!p,hidden:l}),"aria-label":e,type:"submit",value:e,disabled:p,...u})}])},45229,e=>{var t=e.i(91398),r=e.i(72043),o=e.i(82226),s=e.i(60741),a=e.i(29691);e.s(["f",0,({maxLength:e=0,validators:n=[],...l})=>{let i=(0,s.f)({validators:[...n,e&&(0,o.f)(e)],...l});return(0,t.jsx)(a.f,{...i,children:(0,t.jsx)("input",{className:(0,r.default)("relative mt-1 block w-full dark:focus:autofill dark:hover:autofill dark:autofill dark:placeholder:text-slate-600 dark:bg-slate-900 dark:text-slate-200 appearance-none rounded-md border-1 dark:border-slate-700 px-4 py-2.5 text-sm text-slate-900 focus:outline-hidden focus:ring-2 focus:ring-slate-800 shadow-xs",{"border-rose-700 placeholder:text-rose-500":!!i.error,"border-slate-300 placeholder-slate-400":!i.error}),disabled:i.disabled,id:i.name,name:i.name,onChange:i.onChange,onClick:e=>{e.stopPropagation()},onBlur:i.onBlur,placeholder:i.placeholder,autoComplete:i.autoComplete||"off",type:i.type||"text",value:i.value,autoFocus:i.autoFocus})})}])},47863,e=>{var t=e.i(91398),r=e.i(69322),o=e.i(28401),s=e.i(41158),a=e.i(5505),n=e.i(73462),l=e.i(69211),i=e.i(72094),c=e.i(99160),u=e.i(98949);let d=({onSubmit:e,onSubmitSuccess:o})=>{let{formatMessage:d}=(0,r.S)(),f=(0,u.f)({submit:e,onSubmitSuccess:o,getSubmitErrorMessage:()=>(f.formik.setFieldError("email",d({id:"email_address_not_exist",defaultMessage:"Provided email does not exist"})),null),initialValues:{email:""}});return(0,t.jsx)(a.U,{children:(0,t.jsxs)(l.f,{form:f,className:"mt-8 space-y-6 px-4 pt-3 pb-8 shadow-sm sm:rounded-lg sm:px-10",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"py-4",children:d({id:"forgot_password_header_description",defaultMessage:"Enter your email address below and we'll send you a link to reset your password!"})}),(0,t.jsx)(n.f,{name:"email",id:"email-address",label:d({id:"email_address",defaultMessage:"Email Address"}),placeholder:d({id:"email_address",defaultMessage:"Email Address"}),required:!0})]}),(0,t.jsx)(i.f,{}),(0,t.jsx)("div",{className:"mb-6",children:(0,t.jsx)(c.f,{className:"w-full ",label:d({id:"send_reset_link",defaultMessage:"Send reset link"})})}),(0,t.jsxs)("p",{className:"text-center text-sm text-slate-400",children:[d({id:"dont_have_account",defaultMessage:"Don't have an account yet?"})," ",(0,t.jsx)(s.default,{href:"/sign-up",className:"font-semibold text-slate-900 dark:text-slate-800 focus:text-slate-950 dark:hover:text-slate-400 focus:underline focus:outline-hidden",children:d({id:"sign_up",defaultMessage:"Sign up"})}),"."]})]})})};var f=e.i(59080),m=e.i(76204);let p=f.f`
2
- mutation ForgotPassword($email: String!) {
3
- forgotPassword(email: $email) {
4
- success
5
- }
6
- }
7
- `;var y=e.i(35065);let b=()=>{let{forgotPassword:e}=(()=>{let[e]=(0,m.f)(p);return{forgotPassword:async({email:t})=>e({variables:{email:t}})}})(),{formatMessage:s}=(0,r.S)(),a=async({email:t})=>{let{data:r}=await e({email:t});return{success:r?.forgotPassword?.success}};return(0,t.jsx)("div",{className:"flex min-h-full items-center justify-center py-12 px-4 sm:px-6 lg:px-8",children:(0,t.jsxs)("div",{className:"w-full max-w-md space-y-4 text-center",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(y.f,{className:"mx-auto",src:"/logo-light.svg",width:160,height:100,alt:s({id:"unchained_logo",defaultMessage:"Unchained Logo"})}),(0,t.jsx)("h2",{className:"text-center text-3xl text-slate-900 dark:text-slate-200",children:s({id:"forget_password",defaultMessage:"Forgot your password?"})})]}),(0,t.jsx)(d,{onSubmit:a,onSubmitSuccess:(e,{email:t})=>(o.c.success(s({id:"reset_link_sent",defaultMessage:"Password reset link sent to {email} "},{email:t})),!0)})]})})};b.getLayout=e=>e,e.s(["default",0,b],47863)},76204,e=>{var t=e.i(24669),r=e.i(91788),o=e.i(30928),s=e.i(52006);let a=e.i(21953).f?r.useLayoutEffect:r.useEffect;var n=e.i(98926);function l(e){return{data:void 0,error:void 0,called:!1,loading:!1,client:e}}e.s(["f",0,function(e,i){let c=(0,n.f)(i?.client),[u,d]=r.useState(()=>l(c)),f=r.useRef({result:u,mutationId:0,isMounted:!0,client:c,mutation:e,options:i});a(()=>{Object.assign(f.current,{client:c,options:i,mutation:e})});let m=r.useCallback((e={})=>{let{options:r,mutation:a}=f.current,n={...r,mutation:a},l=e.client||f.current.client,i="function"==typeof e.context?e.context(r?.context):e.context;!f.current.result.loading&&f.current.isMounted&&d(f.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:l});let c=++f.current.mutationId,u=(0,o.f)(n,{...e,context:i});return(0,s.f)(l.mutate(u).then(r=>{let{data:o,error:s}=r,a=e.onError||f.current.options?.onError;if(s&&a&&a(s,u),c===f.current.mutationId){let e={called:!0,loading:!1,data:o,error:s,client:l};f.current.isMounted&&!(0,t.f)(f.current.result,e)&&d(f.current.result=e)}let n=e.onCompleted||f.current.options?.onCompleted;return s||n?.(r.data,u),r},r=>{if(c===f.current.mutationId&&f.current.isMounted){let e={loading:!1,error:r,data:void 0,called:!0,client:l};(0,t.f)(f.current.result,e)||d(f.current.result=e)}let o=e.onError||f.current.options?.onError;throw o&&o(r,u),r}))},[]),p=r.useCallback(()=>{if(f.current.isMounted){let e=l(f.current.client);Object.assign(f.current,{mutationId:0,result:e}),d(e)}},[]);return r.useEffect(()=>{let e=f.current;return e.isMounted=!0,()=>{e.isMounted=!1}},[]),[m,{reset:p,...u}]}],76204)},9356,e=>{var t=e.i(35113);e.s(["f",0,function(e){return!(!(e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))&&"number"!=typeof e||isNaN(+(0,t.f)(e)))}],9356)},49543,e=>{var t=e.i(35113);e.s(["f",0,function(e,r){let o=(0,t.f)(e,r?.in);return o.setHours(0,0,0,0),o}])},35113,2848,98170,e=>{let t=Symbol.for("constructDateFrom");function r(e,r){return"function"==typeof e?e(r):e&&"object"==typeof e&&t in e?e[t](r):e instanceof Date?new e.constructor(r):new Date(r)}e.s(["C",0,t,"_",0,864e5,"r",0,36e5,"z",0,6e4,"A",0,6048e5,"k",0,1440,"d",0,43200,"l",0,525600],2848),e.s(["f",0,r],98170),e.s(["f",0,function(e,t){return r(t||e,e)}],35113)},34980,(e,t,r)=>{var o=e.r(49957),s={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function i(e){return o.isMemo(e)?n:l[e.$$typeof]||s}l[o.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[o.Memo]=n;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,p=Object.prototype;t.exports=function e(t,r,o){if("string"!=typeof r){if(p){var s=m(r);s&&s!==p&&e(t,s,o)}var n=u(r);d&&(n=n.concat(d(r)));for(var l=i(t),y=i(r),b=0;b<n.length;++b){var g=n[b];if(!a[g]&&!(o&&o[g])&&!(y&&y[g])&&!(l&&l[g])){var x=f(r,g);try{c(t,g,x)}catch(e){}}}}return t}},40563,(e,t,r)=>{var o="function"==typeof Symbol&&Symbol.for,s=o?Symbol.for("react.element"):60103,a=o?Symbol.for("react.portal"):60106,n=o?Symbol.for("react.fragment"):60107,l=o?Symbol.for("react.strict_mode"):60108,i=o?Symbol.for("react.profiler"):60114,c=o?Symbol.for("react.provider"):60109,u=o?Symbol.for("react.context"):60110,d=o?Symbol.for("react.async_mode"):60111,f=o?Symbol.for("react.concurrent_mode"):60111,m=o?Symbol.for("react.forward_ref"):60112,p=o?Symbol.for("react.suspense"):60113,y=o?Symbol.for("react.suspense_list"):60120,b=o?Symbol.for("react.memo"):60115,g=o?Symbol.for("react.lazy"):60116,x=o?Symbol.for("react.block"):60121,h=o?Symbol.for("react.fundamental"):60117,j=o?Symbol.for("react.responder"):60118,v=o?Symbol.for("react.scope"):60119;function S(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case s:switch(e=e.type){case d:case f:case n:case i:case l:case p:return e;default:switch(e=e&&e.$$typeof){case u:case m:case g:case b:case c:return e;default:return t}}case a:return t}}}function w(e){return S(e)===f}r.AsyncMode=d,r.ConcurrentMode=f,r.ContextConsumer=u,r.ContextProvider=c,r.Element=s,r.ForwardRef=m,r.Fragment=n,r.Lazy=g,r.Memo=b,r.Portal=a,r.Profiler=i,r.StrictMode=l,r.Suspense=p,r.isAsyncMode=function(e){return w(e)||S(e)===d},r.isConcurrentMode=w,r.isContextConsumer=function(e){return S(e)===u},r.isContextProvider=function(e){return S(e)===c},r.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===s},r.isForwardRef=function(e){return S(e)===m},r.isFragment=function(e){return S(e)===n},r.isLazy=function(e){return S(e)===g},r.isMemo=function(e){return S(e)===b},r.isPortal=function(e){return S(e)===a},r.isProfiler=function(e){return S(e)===i},r.isStrictMode=function(e){return S(e)===l},r.isSuspense=function(e){return S(e)===p},r.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===f||e===i||e===l||e===p||e===y||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===b||e.$$typeof===c||e.$$typeof===u||e.$$typeof===m||e.$$typeof===h||e.$$typeof===j||e.$$typeof===v||e.$$typeof===x)},r.typeOf=S},49957,(e,t,r)=>{e.i(50461),t.exports=e.r(40563)}],8530,(e,t,r)=>{let o="/account/forgot-password";(window.__NEXT_P=window.__NEXT_P||[]).push([o,()=>e.r(47863)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([o])})}]);