@unchainedshop/admin-ui 4.8.27 → 4.8.28

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 (331) hide show
  1. package/dist/chunk-2RTX42IE.js +2083 -0
  2. package/dist/chunk-6UGLNLJG.js +44 -0
  3. package/dist/{chunk-UXG7EYHC.js → chunk-7PPOGX7R.js} +2 -35
  4. package/dist/{chunk-45H2WVIC.js → chunk-COV7BREX.js} +0 -1
  5. package/dist/{chunk-RHUFQVKL.js → chunk-F2TCVEQX.js} +1 -1
  6. package/dist/{chunk-UFYR5WZT.js → chunk-GY2DRQGW.js} +2 -1
  7. package/dist/{chunk-BGCKJQGS.js → chunk-JAVEZY3Q.js} +22 -15
  8. package/dist/{chunk-6TXD4TA7.js → chunk-KCN7DDPH.js} +2 -82
  9. package/dist/{chunk-YSKZE2KN.js → chunk-MSPWYMDY.js} +37 -24
  10. package/dist/chunk-RORNAN2J.js +12 -0
  11. package/dist/chunk-YZGQJJCD.js +37 -0
  12. package/dist/components/ui/Tag/TagInput.d.ts +10 -5
  13. package/dist/components/ui/Tag/TagInput.d.ts.map +1 -1
  14. package/dist/components/ui/form/TagInputField.d.ts +2 -1
  15. package/dist/components/ui/form/TagInputField.d.ts.map +1 -1
  16. package/dist/form.js +699 -2497
  17. package/dist/gql/operation-types.d.ts +13043 -0
  18. package/dist/gql/operation-types.d.ts.map +1 -0
  19. package/dist/gql/schema-types.d.ts +3820 -0
  20. package/dist/gql/schema-types.d.ts.map +1 -0
  21. package/dist/gql/types.d.ts +2 -17208
  22. package/dist/gql/types.d.ts.map +1 -1
  23. package/dist/hooks.js +3 -2
  24. package/dist/modal.js +9 -5
  25. package/dist/modules/accounts/fragment/UserFragment.d.ts.map +1 -1
  26. package/dist/modules/accounts/hooks/useCurrentUser.d.ts.map +1 -1
  27. package/dist/modules/accounts.js +219 -63
  28. package/dist/modules/assortment.js +9 -4
  29. package/dist/modules/common/hooks/useApp.d.ts +1 -1
  30. package/dist/modules/common/hooks/useBulkResultHandler.d.ts +8 -0
  31. package/dist/modules/common/hooks/useBulkResultHandler.d.ts.map +1 -0
  32. package/dist/modules/common/hooks/useBulkSelection.d.ts +12 -0
  33. package/dist/modules/common/hooks/useBulkSelection.d.ts.map +1 -0
  34. package/dist/modules/common/hooks/useScrollRestoration.d.ts +8 -0
  35. package/dist/modules/common/hooks/useScrollRestoration.d.ts.map +1 -0
  36. package/dist/modules/common/hooks/useShopInfo.d.ts +13 -13
  37. package/dist/modules/common/hooks/useShopInfo.d.ts.map +1 -1
  38. package/dist/modules/common/utils/useFormatDateTime.d.ts +10 -1
  39. package/dist/modules/common/utils/useFormatDateTime.d.ts.map +1 -1
  40. package/dist/modules/country/hooks/useCountries.d.ts +4 -4
  41. package/dist/modules/enrollment.js +23 -2
  42. package/dist/modules/event.js +1 -1
  43. package/dist/modules/filter.js +1 -1
  44. package/dist/modules/language/hooks/useLanguages.d.ts +4 -4
  45. package/dist/modules/modal/components/DangerMessage.d.ts +2 -1
  46. package/dist/modules/modal/components/DangerMessage.d.ts.map +1 -1
  47. package/dist/modules/order/hooks/useOrders.d.ts +20 -20
  48. package/dist/modules/order/hooks/useOrders.d.ts.map +1 -1
  49. package/dist/modules/order.js +9 -3
  50. package/dist/modules/product-review.js +24 -5
  51. package/dist/modules/product.js +12 -16
  52. package/dist/modules/quotation.js +22 -2
  53. package/dist/modules/token.js +1 -1
  54. package/dist/modules/work/hooks/useWork.d.ts +14 -14
  55. package/dist/modules/work.js +17 -5
  56. package/dist/plugins.js +6 -1
  57. package/dist/providers.js +3 -3
  58. package/dist/sdk/plugins.d.ts +11 -0
  59. package/dist/sdk/plugins.d.ts.map +1 -1
  60. package/dist/sdk/shims/admin-ui-plugins.d.ts +3 -0
  61. package/dist/sdk/shims/admin-ui-plugins.d.ts.map +1 -0
  62. package/dist/sdk/shims/apollo-client-react.d.ts +3 -0
  63. package/dist/sdk/shims/apollo-client-react.d.ts.map +1 -0
  64. package/dist/sdk/shims/apollo-client.d.ts +3 -0
  65. package/dist/sdk/shims/apollo-client.d.ts.map +1 -0
  66. package/dist/sdk/shims/host.d.ts +17 -0
  67. package/dist/sdk/shims/host.d.ts.map +1 -0
  68. package/dist/sdk/shims/next-head.d.ts +3 -0
  69. package/dist/sdk/shims/next-head.d.ts.map +1 -0
  70. package/dist/sdk/shims/next-image.d.ts +3 -0
  71. package/dist/sdk/shims/next-image.d.ts.map +1 -0
  72. package/dist/sdk/shims/next-link.d.ts +3 -0
  73. package/dist/sdk/shims/next-link.d.ts.map +1 -0
  74. package/dist/sdk/shims/next-router.d.ts +3 -0
  75. package/dist/sdk/shims/next-router.d.ts.map +1 -0
  76. package/dist/sdk/shims/react-dom-client.d.ts +3 -0
  77. package/dist/sdk/shims/react-dom-client.d.ts.map +1 -0
  78. package/dist/sdk/shims/react-dom.d.ts +3 -0
  79. package/dist/sdk/shims/react-dom.d.ts.map +1 -0
  80. package/dist/sdk/shims/react-hook-form.d.ts +3 -0
  81. package/dist/sdk/shims/react-hook-form.d.ts.map +1 -0
  82. package/dist/sdk/shims/react-intl.d.ts +3 -0
  83. package/dist/sdk/shims/react-intl.d.ts.map +1 -0
  84. package/dist/sdk/shims/react-jsx-runtime.d.ts +3 -0
  85. package/dist/sdk/shims/react-jsx-runtime.d.ts.map +1 -0
  86. package/dist/sdk/shims/react-toastify.d.ts +3 -0
  87. package/dist/sdk/shims/react-toastify.d.ts.map +1 -0
  88. package/dist/sdk/shims/react.d.ts +3 -0
  89. package/dist/sdk/shims/react.d.ts.map +1 -0
  90. package/dist/shims/admin-ui-plugins.js +9 -0
  91. package/dist/shims/apollo-client-react.js +25 -0
  92. package/dist/shims/apollo-client.js +55 -0
  93. package/dist/shims/next-head.js +9 -0
  94. package/dist/shims/next-image.js +9 -0
  95. package/dist/shims/next-link.js +9 -0
  96. package/dist/shims/next-router.js +13 -0
  97. package/dist/shims/react-dom-client.js +11 -0
  98. package/dist/shims/react-dom.js +22 -0
  99. package/dist/shims/react-hook-form.js +25 -0
  100. package/dist/shims/react-intl.js +37 -0
  101. package/dist/shims/react-jsx-runtime.js +11 -0
  102. package/dist/shims/react-toastify.js +16 -0
  103. package/dist/shims/react.js +52 -0
  104. package/dist/ui.js +1261 -3443
  105. package/out/403/index.html +2 -2
  106. package/out/404/index.html +2 -2
  107. package/out/404.html +2 -2
  108. package/out/423/index.html +2 -2
  109. package/out/500/index.html +2 -2
  110. package/out/_next/static/chunks/04bb4k67x398t.js +1 -0
  111. package/out/_next/static/chunks/{2g0f0awj5p2qc.js → 06a1c2sikfkdk.js} +4 -4
  112. package/out/_next/static/chunks/{036jcj4okqca4.js → 06tejx8u1_0kg.js} +1 -1
  113. package/out/_next/static/chunks/{3u3tcrl7wxrzi.js → 0amvl_hv6wa7d.js} +5 -5
  114. package/out/_next/static/chunks/{2rw-r9fvx6t4y.js → 0bx11n-vs9rye.js} +5 -5
  115. package/out/_next/static/chunks/0fiwxqhlo_suy.js +14 -0
  116. package/out/_next/static/chunks/{18e-92lfg29wn.js → 0g1ikcsz2gw8d.js} +8 -8
  117. package/out/_next/static/chunks/{1bhsgjj7bbftc.js → 0g6hr3dmen536.js} +2 -2
  118. package/out/_next/static/chunks/{1r0jyqmys60fw.js → 0hg96-q-sy8p3.js} +5 -5
  119. package/out/_next/static/chunks/{21lf0tu71e9e5.js → 0irr04sbnadk8.js} +8 -8
  120. package/out/_next/static/chunks/{0pj6j2o4ya0xs.js → 0pp2j5ys0s75h.js} +8 -8
  121. package/out/_next/static/chunks/{3k98cr566roh-.js → 0prynyrvhm7ef.js} +2 -2
  122. package/out/_next/static/chunks/0r5wwinf72z4g.js +1 -0
  123. package/out/_next/static/chunks/{2cnc1jkfc85_x.js → 0t-8fvpr3gwkw.js} +4 -4
  124. package/out/_next/static/chunks/{1_g-csysa-i-9.js → 0w0zigi7aws2m.js} +1 -1
  125. package/out/_next/static/chunks/{1w_4l5gk0n27a.js → 0w6403ca0wd40.js} +5 -5
  126. package/out/_next/static/chunks/{1mo_wvf-1w8h-.js → 0x34_uvhgol1o.js} +5 -5
  127. package/out/_next/static/chunks/{2p6deqdf8dlo0.js → 11496j8y5izl0.js} +7 -7
  128. package/out/_next/static/chunks/{0dvf7ltl55td_.js → 16b-fme2lvyik.js} +6 -6
  129. package/out/_next/static/chunks/{0l3hp2c6_v3vu.js → 17rvdo97_73-r.js} +5 -5
  130. package/out/_next/static/chunks/{1gv6j3dx9s71x.js → 17t_4qy79-xou.js} +6 -6
  131. package/out/_next/static/chunks/{2v0koj5wv-png.js → 194e8b6x5qm5k.js} +5 -5
  132. package/out/_next/static/chunks/{0yhj5b33a-dp1.js → 1asyhd18d8b19.js} +12 -12
  133. package/out/_next/static/chunks/{40v94fy15qxej.js → 1dj6rtr2zagxl.js} +5 -5
  134. package/out/_next/static/chunks/{0172idn4wi-am.js → 1dv2thnikolnz.js} +6 -6
  135. package/out/_next/static/chunks/1f8hl62epp2bs.js +5 -0
  136. package/out/_next/static/chunks/1fzbon-ih4_3j.js +1 -0
  137. package/out/_next/static/chunks/{2vy8ae-zwwle1.js → 1ikc8-ca87tw_.js} +8 -8
  138. package/out/_next/static/chunks/{2ncenexps2330.js → 1pv3s5pi4mn-7.js} +8 -8
  139. package/out/_next/static/chunks/{404_8bnljpu18.js → 1qnsi9q49l6yt.js} +5 -5
  140. package/out/_next/static/chunks/{4188i5qe83m24.js → 1s5id04nxpmov.js} +7 -7
  141. package/out/_next/static/chunks/{05dtc5uryjkmn.js → 1u56ggvtfz1pw.js} +5 -5
  142. package/out/_next/static/chunks/{37rq4vcfobv9x.js → 1u9myfa-qi11x.js} +5 -5
  143. package/out/_next/static/chunks/{3dbskin37ha12.js → 1vmcguc9yb6gq.js} +6 -6
  144. package/out/_next/static/chunks/{0-b63f3cwlt9h.js → 1w30h0skp16nw.js} +5 -5
  145. package/out/_next/static/chunks/{1hpx7xjq9a5bq.js → 1wrffo12-xpad.js} +5 -5
  146. package/out/_next/static/chunks/{3-h5nu9jontfy.js → 1yi1a106ht-nz.js} +6 -6
  147. package/out/_next/static/chunks/{1epelh6347c59.js → 1zh3wmaf2a0wq.js} +9 -9
  148. package/out/_next/static/chunks/{1o41sjh1nhwir.js → 1zmw93-y4onb8.js} +7 -7
  149. package/out/_next/static/chunks/{3yqw8z_udrol0.js → 201rx84kyo8ag.js} +1 -1
  150. package/out/_next/static/chunks/22ial6oluoicg.js +100 -0
  151. package/out/_next/static/chunks/{21c515liq8_sf.js → 22mbms24up6d4.js} +4 -4
  152. package/out/_next/static/chunks/{1f536itbgwelp.js → 23thyqnxwb_h4.js} +6 -6
  153. package/out/_next/static/chunks/{2_0bsdj7k4kue.js → 24zql9mxp7je7.js} +5 -5
  154. package/out/_next/static/chunks/{31j6x_qgtn-7j.js → 26qclo9iliv0v.js} +5 -5
  155. package/out/_next/static/chunks/{2vhqw66fy605y.js → 2_kc34rl9smyf.js} +6 -6
  156. package/out/_next/static/chunks/{0c1eqd9oamcur.js → 2ay53yz_k-gka.js} +6 -6
  157. package/out/_next/static/chunks/{1k703f4i1hgfy.js → 2cl2qh-t0bp-x.js} +6 -6
  158. package/out/_next/static/chunks/{30zp6-w17u9rt.js → 2impwm9m10-y5.js} +6 -6
  159. package/out/_next/static/chunks/{3s18b668qqa87.js → 2mq7-oeknij50.js} +6 -6
  160. package/out/_next/static/chunks/{2f8qzo__ksyu7.js → 2puhcafuku-tt.js} +6 -6
  161. package/out/_next/static/chunks/{1szkbg0-e_tli.js → 2qocgb90m12d8.js} +1 -1
  162. package/out/_next/static/chunks/{2z5b35yv3i6aq.js → 2r9etl_ej7yq8.js} +5 -5
  163. package/out/_next/static/chunks/{0dtahnosgvou_.js → 2s6eb6877qk5z.js} +5 -5
  164. package/out/_next/static/chunks/{2b_lhf_533k0a.js → 2slrs8mk6-_qy.js} +7 -7
  165. package/out/_next/static/chunks/2t724bghemjmf.js +28 -0
  166. package/out/_next/static/chunks/{20wamkfz03l6l.js → 2u435g-3ydo_e.js} +6 -6
  167. package/out/_next/static/chunks/{0k433cermb_mg.js → 2vv2odme20_bj.js} +11 -11
  168. package/out/_next/static/chunks/{2-ciniqgtu96t.js → 2yjnzxw72qkwa.js} +4 -4
  169. package/out/_next/static/chunks/{40bl8g3_13c59.js → 2ypcj5e-tv2ki.js} +4 -4
  170. package/out/_next/static/chunks/{3wm88ukxj8u46.js → 31yuk0tzdgnsq.js} +6 -6
  171. package/out/_next/static/chunks/33tjpl4-mac6i.js +10 -0
  172. package/out/_next/static/chunks/36yth4lm03_j8.js +1 -0
  173. package/out/_next/static/chunks/{2eo4m196-t6ed.js → 389rjxe1t1mxi.js} +4 -4
  174. package/out/_next/static/chunks/{378867ti5yucc.js → 3a7wm2331v13r.js} +1 -1
  175. package/out/_next/static/chunks/{27tp9qrxhs6uf.js → 3dshohnaq5dpb.js} +7 -7
  176. package/out/_next/static/chunks/{0c2th4nk1xlfd.js → 3e-hohr5rbfgs.js} +6 -6
  177. package/out/_next/static/chunks/{0o16fnqhx30be.js → 3e2sowyws346l.js} +6 -6
  178. package/out/_next/static/chunks/{2y9z7y6i5cawj.js → 3gl6y4hg4xqh1.js} +5 -5
  179. package/out/_next/static/chunks/{1-mz7zwy-mbvq.js → 3js2_oj1o86yv.js} +9 -9
  180. package/out/_next/static/chunks/{17wc5344qnib1.js → 3nnzjetbwg4mr.js} +5 -5
  181. package/out/_next/static/chunks/{1v16gcok-ktdo.js → 3oxv1fo564rrf.js} +1 -1
  182. package/out/_next/static/chunks/3s22ovhmk-4h7.js +1 -0
  183. package/out/_next/static/chunks/3sktz8258so64.js +2 -0
  184. package/out/_next/static/chunks/{3-av_88np5f5_.js → 3t-cwqu-9qfvs.js} +4 -4
  185. package/out/_next/static/chunks/{2o7wjpjbr5vau.js → 3tn3fjkayia2l.js} +5 -5
  186. package/out/_next/static/chunks/{1bp_0jnta8nj1.js → 3v-4df_kpu7wl.js} +6 -6
  187. package/out/_next/static/chunks/3xfj8_2nd5d_1.js +1 -0
  188. package/out/_next/static/chunks/42gvqnnznu5d5.js +10 -0
  189. package/out/_next/static/chunks/{03_e40kzqm4nj.js → 44hx7evqwmlix.js} +4 -4
  190. package/out/_next/static/chunks/{turbopack-0bljt1tp0zt4q.js → turbopack-0-h3wxx12zewd.js} +1 -1
  191. package/out/_next/static/chunks/{turbopack-3xem4akmi9at9.js → turbopack-0-huij9pkr6i5.js} +1 -1
  192. package/out/_next/static/chunks/{turbopack-3-kzs1xrhesa8.js → turbopack-00ka03s4zfhmk.js} +1 -1
  193. package/out/_next/static/chunks/turbopack-00rnle9d3h5j8.js +1 -0
  194. package/out/_next/static/chunks/{turbopack-1gbk68s3o1ulv.js → turbopack-0a9my88c0do8o.js} +1 -1
  195. package/out/_next/static/chunks/{turbopack-058ikg9c4qsyu.js → turbopack-0ah23ustnbjgw.js} +1 -1
  196. package/out/_next/static/chunks/turbopack-0bj4v4kbzidiu.js +1 -0
  197. package/out/_next/static/chunks/{turbopack-3zxsk_hikkrwx.js → turbopack-0ca90b_8se2ws.js} +1 -1
  198. package/out/_next/static/chunks/{turbopack-1bnaj5x8w5m6z.js → turbopack-0hwktepjs4shu.js} +1 -1
  199. package/out/_next/static/chunks/{turbopack-328hjoqts5fe-.js → turbopack-0iqoh65_n4y31.js} +1 -1
  200. package/out/_next/static/chunks/{turbopack-0j92hsdmi8k6p.js → turbopack-0m53ts1akyqg9.js} +1 -1
  201. package/out/_next/static/chunks/{turbopack-1k2h3st-nygbo.js → turbopack-0mp6vcjbi4oj6.js} +1 -1
  202. package/out/_next/static/chunks/{turbopack-08u3rgl_09tb7.js → turbopack-0p995f9piwklo.js} +1 -1
  203. package/out/_next/static/chunks/{turbopack-0ywznohf-p_-1.js → turbopack-0pdfslh_xau4v.js} +1 -1
  204. package/out/_next/static/chunks/{turbopack-15x3cqzaaew93.js → turbopack-0q1m4v0r5_pw-.js} +1 -1
  205. package/out/_next/static/chunks/{turbopack-0cbhwv4g0ak0q.js → turbopack-0wc1wpl3t5cbf.js} +1 -1
  206. package/out/_next/static/chunks/{turbopack-34gjko7_04blz.js → turbopack-0wu_ea8477kfb.js} +1 -1
  207. package/out/_next/static/chunks/{turbopack-26z9lzkojt-cx.js → turbopack-0x-489k903f9f.js} +1 -1
  208. package/out/_next/static/chunks/{turbopack-252a5rlyrq9fk.js → turbopack-11i280gb7ytob.js} +1 -1
  209. package/out/_next/static/chunks/{turbopack-3cnuj1vf45306.js → turbopack-11mgtsuzuth10.js} +1 -1
  210. package/out/_next/static/chunks/{turbopack-1w3-o4vpw_tgq.js → turbopack-14elmv-0t42r4.js} +1 -1
  211. package/out/_next/static/chunks/{turbopack-10l1gows-lyo9.js → turbopack-18b89oxgeg1p3.js} +1 -1
  212. package/out/_next/static/chunks/{turbopack-0jijm5fs2d3pa.js → turbopack-1j4b2o2gyndaw.js} +1 -1
  213. package/out/_next/static/chunks/{turbopack-3qmjh91o7wte5.js → turbopack-1kg_x57lhnhln.js} +1 -1
  214. package/out/_next/static/chunks/{turbopack-2xm-84om1nxe3.js → turbopack-1m20zbo-8iwfh.js} +1 -1
  215. package/out/_next/static/chunks/{turbopack-34cd6px36-_ae.js → turbopack-1rmdtpi005n_6.js} +1 -1
  216. package/out/_next/static/chunks/{turbopack-0bp88aylp19tu.js → turbopack-1sy__tr_jpy9p.js} +1 -1
  217. package/out/_next/static/chunks/{turbopack-0hpk8f7-2xoz3.js → turbopack-22l2qxvuvnfnm.js} +1 -1
  218. package/out/_next/static/chunks/{turbopack-3ma-qc75tctdd.js → turbopack-259f81vw0sjro.js} +1 -1
  219. package/out/_next/static/chunks/{turbopack-42akqkt4irsps.js → turbopack-25n3ygfcffvqv.js} +1 -1
  220. package/out/_next/static/chunks/{turbopack-3ouyppea8jp6k.js → turbopack-2ah1mf3i_019l.js} +1 -1
  221. package/out/_next/static/chunks/{turbopack-272y7gt3ncsq7.js → turbopack-2d2i6sp7ig7ar.js} +1 -1
  222. package/out/_next/static/chunks/{turbopack-0i_uv1p6_dyo-.js → turbopack-2dog_ytiydz1b.js} +1 -1
  223. package/out/_next/static/chunks/{turbopack-3591lq9bl5zm-.js → turbopack-2dp-kk65cjuz1.js} +1 -1
  224. package/out/_next/static/chunks/turbopack-2kbsoz95aykk8.js +1 -0
  225. package/out/_next/static/chunks/{turbopack-3n_3uj335tm0n.js → turbopack-2rnunhgad49uw.js} +1 -1
  226. package/out/_next/static/chunks/{turbopack-2h3q2k9k2riyq.js → turbopack-2u8czufggehlj.js} +1 -1
  227. package/out/_next/static/chunks/{turbopack-06hufy_7yovzw.js → turbopack-2v6rz3zo07si0.js} +1 -1
  228. package/out/_next/static/chunks/{turbopack-25bgi6hb6qg8w.js → turbopack-2w27fkgilqbl3.js} +1 -1
  229. package/out/_next/static/chunks/{turbopack-0cu-maxx6s175.js → turbopack-2x4qn8b3l97el.js} +1 -1
  230. package/out/_next/static/chunks/{turbopack-3uov6gvwwuxmx.js → turbopack-31liqa7xywfc3.js} +1 -1
  231. package/out/_next/static/chunks/{turbopack-14qzcqdgveoel.js → turbopack-32aublis-jlvx.js} +1 -1
  232. package/out/_next/static/chunks/{turbopack-34rebh56g2zjd.js → turbopack-3467hrkyb1r4-.js} +1 -1
  233. package/out/_next/static/chunks/{turbopack-3aujkr72l5znq.js → turbopack-35lc2tzfqfnq3.js} +1 -1
  234. package/out/_next/static/chunks/{turbopack-3mxiudedhdbib.js → turbopack-37465j0f7qzui.js} +1 -1
  235. package/out/_next/static/chunks/{turbopack-3seov_dvv8im-.js → turbopack-374ar5091nfoc.js} +1 -1
  236. package/out/_next/static/chunks/{turbopack-2jpit5njafpgz.js → turbopack-37k0iid3ve75q.js} +1 -1
  237. package/out/_next/static/chunks/{turbopack-3np05fneli2gv.js → turbopack-37z02xo4d9761.js} +1 -1
  238. package/out/_next/static/chunks/{turbopack-22r1qh8g6munp.js → turbopack-3aw_3x16wx0hg.js} +1 -1
  239. package/out/_next/static/chunks/{turbopack-2b14t7jx5tgn7.js → turbopack-3d4st1erykui5.js} +1 -1
  240. package/out/_next/static/chunks/{turbopack-0nlhzx_9rg6_p.js → turbopack-3nxt9w32_n_vs.js} +1 -1
  241. package/out/_next/static/chunks/{turbopack-2h_05wv-1o-qp.js → turbopack-3p03o8o_0h4o1.js} +1 -1
  242. package/out/_next/static/chunks/turbopack-3qenf92gnhnqu.js +1 -0
  243. package/out/_next/static/chunks/{turbopack-148_1qw3wae7d.js → turbopack-3s9690f4fp1sr.js} +1 -1
  244. package/out/_next/static/chunks/{turbopack-13nb0axu41yph.js → turbopack-3v-9xb14o2wcf.js} +1 -1
  245. package/out/_next/static/chunks/{turbopack-2cvqtdfi5z-33.js → turbopack-3wy9kdvqtyrqr.js} +1 -1
  246. package/out/_next/static/chunks/{turbopack-3opb94dwpz7bg.js → turbopack-3xy1pj-av41-3.js} +1 -1
  247. package/out/_next/static/chunks/{turbopack-22gnlzp5il9ai.js → turbopack-3z_pmy149cb3t.js} +1 -1
  248. package/out/_next/static/chunks/{turbopack-1r4g2xna7gckz.js → turbopack-3zk-yr-2ktefz.js} +1 -1
  249. package/out/_next/static/chunks/{turbopack-2ihmy6dk991x4.js → turbopack-400v7uvt-ygyn.js} +1 -1
  250. package/out/_next/static/chunks/{turbopack-1ddkj8w1l0b4_.js → turbopack-41jswgtq4l3-n.js} +1 -1
  251. package/out/_next/static/chunks/{turbopack-0rt_vkqrb6ykb.js → turbopack-42kawbzqb610r.js} +1 -1
  252. package/out/_next/static/chunks/{turbopack-25hv3ltvy0wos.js → turbopack-430a09gmn8rwm.js} +1 -1
  253. package/out/_next/static/{hZLisNV-2KMtO7y1-ggVm → lMHTn15MSw1RJOw-DD9ir}/_buildManifest.js +62 -62
  254. package/out/_offline/index.html +2 -2
  255. package/out/account/forgot-password/index.html +2 -2
  256. package/out/account/index.html +2 -2
  257. package/out/assortments/AssortmentDetailPage/index.html +2 -2
  258. package/out/assortments/index.html +2 -2
  259. package/out/assortments/new/index.html +2 -2
  260. package/out/copilot/index.html +2 -2
  261. package/out/country/CountryDetailPage/index.html +2 -2
  262. package/out/country/index.html +2 -2
  263. package/out/country/new/index.html +2 -2
  264. package/out/currency/CurrencyDetailPage/index.html +2 -2
  265. package/out/currency/index.html +2 -2
  266. package/out/currency/new/index.html +2 -2
  267. package/out/delivery-provider/DeliveryProviderDetailPage/index.html +2 -2
  268. package/out/delivery-provider/index.html +2 -2
  269. package/out/delivery-provider/new/index.html +2 -2
  270. package/out/enrollments/EnrollmentDetailPage/index.html +2 -2
  271. package/out/enrollments/index.html +2 -2
  272. package/out/events/EventDetailPage/index.html +2 -2
  273. package/out/events/index.html +2 -2
  274. package/out/exports/index.html +2 -2
  275. package/out/external/index.html +2 -2
  276. package/out/filters/FilterDetailPage/index.html +2 -2
  277. package/out/filters/index.html +2 -2
  278. package/out/filters/new/index.html +2 -2
  279. package/out/index.html +2 -2
  280. package/out/install/index.html +2 -2
  281. package/out/language/LanguageDetailPage/index.html +2 -2
  282. package/out/language/index.html +2 -2
  283. package/out/language/new/index.html +2 -2
  284. package/out/log-in/index.html +2 -2
  285. package/out/orders/OrderDetailPage/index.html +2 -2
  286. package/out/orders/index.html +2 -2
  287. package/out/payment-provider/PaymentProviderDetailPage/index.html +2 -2
  288. package/out/payment-provider/index.html +2 -2
  289. package/out/payment-provider/new/index.html +2 -2
  290. package/out/products/ProductDetailPage/index.html +2 -2
  291. package/out/products/index.html +2 -2
  292. package/out/products/new/index.html +2 -2
  293. package/out/quotations/QuotationDetailPage/index.html +2 -2
  294. package/out/quotations/index.html +2 -2
  295. package/out/reset-password/index.html +2 -2
  296. package/out/sign-up/index.html +2 -2
  297. package/out/styleguide/index.html +2 -2
  298. package/out/tokens/TokenDetailPage/index.html +2 -2
  299. package/out/tokens/index.html +2 -2
  300. package/out/users/UserDetailPage/index.html +2 -2
  301. package/out/users/index.html +2 -2
  302. package/out/users/new/index.html +2 -2
  303. package/out/verify-email/index.html +2 -2
  304. package/out/warehousing-provider/WarehousingProviderDetailPage/index.html +2 -2
  305. package/out/warehousing-provider/index.html +2 -2
  306. package/out/warehousing-provider/new/index.html +2 -2
  307. package/out/works/WorkDetailPage/index.html +2 -2
  308. package/out/works/WorkQueueListView/index.html +2 -2
  309. package/out/works/index.html +2 -2
  310. package/out/works/management/index.html +2 -2
  311. package/package.json +2 -2
  312. package/out/_next/static/chunks/01crynfjy3xpb.js +0 -14
  313. package/out/_next/static/chunks/0cm0oyd82zvez.js +0 -1
  314. package/out/_next/static/chunks/119eyvb0tl4d7.js +0 -5
  315. package/out/_next/static/chunks/1shkyosfbiwr4.js +0 -1
  316. package/out/_next/static/chunks/1yv01jo2m1gkf.js +0 -1
  317. package/out/_next/static/chunks/2cwzp5h99c8es.js +0 -10
  318. package/out/_next/static/chunks/2tw-iq1oliu-h.js +0 -1
  319. package/out/_next/static/chunks/3-2opr3e2h-8o.js +0 -105
  320. package/out/_next/static/chunks/3-hdz4_6asex-.js +0 -10
  321. package/out/_next/static/chunks/3bxtyo0u_psf7.js +0 -1
  322. package/out/_next/static/chunks/3f-ap6wo94un_.js +0 -1
  323. package/out/_next/static/chunks/3ghzaufs2n8uq.js +0 -2
  324. package/out/_next/static/chunks/3rnl7-84z1op5.js +0 -28
  325. package/out/_next/static/chunks/turbopack-3-84r4h6w7ztq.js +0 -1
  326. package/out/_next/static/chunks/turbopack-3x5pttfv2qlpw.js +0 -1
  327. package/out/_next/static/chunks/turbopack-3z9v3oefxw81i.js +0 -1
  328. package/out/_next/static/chunks/turbopack-44bpgib3rn1s2.js +0 -1
  329. /package/dist/{chunk-BYXBJQAS.js → chunk-QWQ3WJJN.js} +0 -0
  330. /package/out/_next/static/{hZLisNV-2KMtO7y1-ggVm → lMHTn15MSw1RJOw-DD9ir}/_clientMiddlewareManifest.js +0 -0
  331. /package/out/_next/static/{hZLisNV-2KMtO7y1-ggVm → lMHTn15MSw1RJOw-DD9ir}/_ssgManifest.js +0 -0
@@ -2,11 +2,11 @@ __turbopack_load_page_chunks__("/styleguide", [
2
2
  "static/chunks/44nj9c766dqvc.js",
3
3
  "static/chunks/2kbieaechn8m8.js",
4
4
  "static/chunks/2hm0mbq0vtqmw.js",
5
- "static/chunks/3rnl7-84z1op5.js",
5
+ "static/chunks/252jebodi67kg.js",
6
6
  "static/chunks/2-4ng9fxftmld.js",
7
- "static/chunks/036jcj4okqca4.js",
7
+ "static/chunks/06tejx8u1_0kg.js",
8
8
  "static/chunks/2jtk4-i4e9lug.js",
9
- "static/chunks/252jebodi67kg.js",
9
+ "static/chunks/2t724bghemjmf.js",
10
10
  "static/chunks/3w_wwl_hd91od.js",
11
- "static/chunks/turbopack-328hjoqts5fe-.js"
11
+ "static/chunks/turbopack-0iqoh65_n4y31.js"
12
12
  ])
@@ -1,15 +1,15 @@
1
1
  __turbopack_load_page_chunks__("/payment-provider", [
2
2
  "static/chunks/16ey81skn09dz.js",
3
3
  "static/chunks/38pz7fmyf6ay0.js",
4
- "static/chunks/3bxtyo0u_psf7.js",
4
+ "static/chunks/36yth4lm03_j8.js",
5
5
  "static/chunks/0d6_opzy2p6ik.js",
6
6
  "static/chunks/1qp68765j1aiv.js",
7
- "static/chunks/3rnl7-84z1op5.js",
8
- "static/chunks/3ghzaufs2n8uq.js",
9
- "static/chunks/036jcj4okqca4.js",
10
- "static/chunks/252jebodi67kg.js",
7
+ "static/chunks/3sktz8258so64.js",
11
8
  "static/chunks/2hm0mbq0vtqmw.js",
9
+ "static/chunks/2t724bghemjmf.js",
10
+ "static/chunks/252jebodi67kg.js",
11
+ "static/chunks/06tejx8u1_0kg.js",
12
12
  "static/chunks/2w5y5xf0nriwx.js",
13
13
  "static/chunks/2-4ng9fxftmld.js",
14
- "static/chunks/turbopack-3-kzs1xrhesa8.js"
14
+ "static/chunks/turbopack-00ka03s4zfhmk.js"
15
15
  ])
@@ -1,12 +1,12 @@
1
1
  __turbopack_load_page_chunks__("/currency/new", [
2
2
  "static/chunks/1ziicn0eb_yji.js",
3
3
  "static/chunks/38pz7fmyf6ay0.js",
4
- "static/chunks/3rnl7-84z1op5.js",
4
+ "static/chunks/3sktz8258so64.js",
5
5
  "static/chunks/2c7gw8ronvu-c.js",
6
- "static/chunks/252jebodi67kg.js",
7
- "static/chunks/036jcj4okqca4.js",
8
6
  "static/chunks/2-4ng9fxftmld.js",
7
+ "static/chunks/06tejx8u1_0kg.js",
8
+ "static/chunks/2t724bghemjmf.js",
9
9
  "static/chunks/2hm0mbq0vtqmw.js",
10
- "static/chunks/3ghzaufs2n8uq.js",
11
- "static/chunks/turbopack-3x5pttfv2qlpw.js"
10
+ "static/chunks/252jebodi67kg.js",
11
+ "static/chunks/turbopack-1sy__tr_jpy9p.js"
12
12
  ])
@@ -1,15 +1,15 @@
1
1
  __turbopack_load_page_chunks__("/delivery-provider", [
2
2
  "static/chunks/16ey81skn09dz.js",
3
3
  "static/chunks/38pz7fmyf6ay0.js",
4
- "static/chunks/3bxtyo0u_psf7.js",
4
+ "static/chunks/36yth4lm03_j8.js",
5
5
  "static/chunks/0d6_opzy2p6ik.js",
6
6
  "static/chunks/0mzh9-epgepi1.js",
7
- "static/chunks/3rnl7-84z1op5.js",
7
+ "static/chunks/3sktz8258so64.js",
8
8
  "static/chunks/2-4ng9fxftmld.js",
9
+ "static/chunks/2t724bghemjmf.js",
9
10
  "static/chunks/252jebodi67kg.js",
10
- "static/chunks/3ghzaufs2n8uq.js",
11
11
  "static/chunks/2hm0mbq0vtqmw.js",
12
12
  "static/chunks/2w5y5xf0nriwx.js",
13
- "static/chunks/036jcj4okqca4.js",
14
- "static/chunks/turbopack-3seov_dvv8im-.js"
13
+ "static/chunks/06tejx8u1_0kg.js",
14
+ "static/chunks/turbopack-0hwktepjs4shu.js"
15
15
  ])
@@ -1,16 +1,16 @@
1
1
  __turbopack_load_page_chunks__("/tokens", [
2
2
  "static/chunks/2na27-e8gs0-f.js",
3
3
  "static/chunks/38pz7fmyf6ay0.js",
4
- "static/chunks/3bxtyo0u_psf7.js",
4
+ "static/chunks/36yth4lm03_j8.js",
5
5
  "static/chunks/2kbieaechn8m8.js",
6
6
  "static/chunks/2qprgjhjl8d4c.js",
7
7
  "static/chunks/0pecsk3c09b19.js",
8
8
  "static/chunks/2jtk4-i4e9lug.js",
9
+ "static/chunks/252jebodi67kg.js",
10
+ "static/chunks/3sktz8258so64.js",
9
11
  "static/chunks/2hm0mbq0vtqmw.js",
10
- "static/chunks/3rnl7-84z1op5.js",
11
- "static/chunks/3ghzaufs2n8uq.js",
12
12
  "static/chunks/2w5y5xf0nriwx.js",
13
- "static/chunks/036jcj4okqca4.js",
14
- "static/chunks/252jebodi67kg.js",
15
- "static/chunks/turbopack-0ywznohf-p_-1.js"
13
+ "static/chunks/06tejx8u1_0kg.js",
14
+ "static/chunks/2t724bghemjmf.js",
15
+ "static/chunks/turbopack-0pdfslh_xau4v.js"
16
16
  ])
@@ -1,17 +1,17 @@
1
1
  __turbopack_load_page_chunks__("/works", [
2
- "static/chunks/3bxtyo0u_psf7.js",
2
+ "static/chunks/36yth4lm03_j8.js",
3
3
  "static/chunks/38pz7fmyf6ay0.js",
4
4
  "static/chunks/1f3mflnvp8_7-.js",
5
+ "static/chunks/252jebodi67kg.js",
5
6
  "static/chunks/2kbieaechn8m8.js",
6
- "static/chunks/3rnl7-84z1op5.js",
7
7
  "static/chunks/2w5y5xf0nriwx.js",
8
8
  "static/chunks/3ebh4y7h6y1vq.js",
9
- "static/chunks/036jcj4okqca4.js",
10
9
  "static/chunks/2hm0mbq0vtqmw.js",
11
- "static/chunks/252jebodi67kg.js",
10
+ "static/chunks/2t724bghemjmf.js",
11
+ "static/chunks/06tejx8u1_0kg.js",
12
12
  "static/chunks/0d6_opzy2p6ik.js",
13
13
  "static/chunks/2jtk4-i4e9lug.js",
14
- "static/chunks/3ghzaufs2n8uq.js",
14
+ "static/chunks/3sktz8258so64.js",
15
15
  "static/chunks/2-4ng9fxftmld.js",
16
- "static/chunks/turbopack-3n_3uj335tm0n.js"
16
+ "static/chunks/turbopack-2rnunhgad49uw.js"
17
17
  ])
@@ -1,13 +1,13 @@
1
1
  __turbopack_load_page_chunks__("/payment-provider/new", [
2
2
  "static/chunks/20rtv8f0brb0n.js",
3
- "static/chunks/3bxtyo0u_psf7.js",
4
- "static/chunks/3rnl7-84z1op5.js",
3
+ "static/chunks/36yth4lm03_j8.js",
4
+ "static/chunks/3sktz8258so64.js",
5
5
  "static/chunks/0d6_opzy2p6ik.js",
6
6
  "static/chunks/38pz7fmyf6ay0.js",
7
- "static/chunks/036jcj4okqca4.js",
7
+ "static/chunks/06tejx8u1_0kg.js",
8
8
  "static/chunks/2hm0mbq0vtqmw.js",
9
- "static/chunks/2-4ng9fxftmld.js",
10
- "static/chunks/3ghzaufs2n8uq.js",
9
+ "static/chunks/2t724bghemjmf.js",
11
10
  "static/chunks/252jebodi67kg.js",
12
- "static/chunks/turbopack-3opb94dwpz7bg.js"
11
+ "static/chunks/2-4ng9fxftmld.js",
12
+ "static/chunks/turbopack-0mp6vcjbi4oj6.js"
13
13
  ])
@@ -1,14 +1,14 @@
1
1
  __turbopack_load_page_chunks__("/payment-provider/PaymentProviderDetailPage", [
2
2
  "static/chunks/12qzh85d5on4y.js",
3
- "static/chunks/3bxtyo0u_psf7.js",
4
- "static/chunks/3rnl7-84z1op5.js",
3
+ "static/chunks/36yth4lm03_j8.js",
4
+ "static/chunks/3sktz8258so64.js",
5
5
  "static/chunks/0d6_opzy2p6ik.js",
6
6
  "static/chunks/38pz7fmyf6ay0.js",
7
7
  "static/chunks/2hm0mbq0vtqmw.js",
8
- "static/chunks/252jebodi67kg.js",
9
- "static/chunks/036jcj4okqca4.js",
10
- "static/chunks/3ghzaufs2n8uq.js",
8
+ "static/chunks/2t724bghemjmf.js",
11
9
  "static/chunks/2-4ng9fxftmld.js",
10
+ "static/chunks/252jebodi67kg.js",
11
+ "static/chunks/06tejx8u1_0kg.js",
12
12
  "static/chunks/2w5y5xf0nriwx.js",
13
- "static/chunks/turbopack-3uov6gvwwuxmx.js"
13
+ "static/chunks/turbopack-259f81vw0sjro.js"
14
14
  ])
@@ -1,15 +1,15 @@
1
1
  __turbopack_load_page_chunks__("/quotations/QuotationDetailPage", [
2
2
  "static/chunks/1xbofs3ibkjvj.js",
3
3
  "static/chunks/38pz7fmyf6ay0.js",
4
- "static/chunks/3bxtyo0u_psf7.js",
4
+ "static/chunks/36yth4lm03_j8.js",
5
5
  "static/chunks/2w5y5xf0nriwx.js",
6
6
  "static/chunks/01h4ept18s-ns.js",
7
- "static/chunks/3rnl7-84z1op5.js",
7
+ "static/chunks/3sktz8258so64.js",
8
8
  "static/chunks/252jebodi67kg.js",
9
- "static/chunks/2-4ng9fxftmld.js",
10
- "static/chunks/3ghzaufs2n8uq.js",
11
9
  "static/chunks/2hm0mbq0vtqmw.js",
10
+ "static/chunks/2t724bghemjmf.js",
11
+ "static/chunks/2-4ng9fxftmld.js",
12
12
  "static/chunks/10os1s66nimmi.js",
13
- "static/chunks/036jcj4okqca4.js",
14
- "static/chunks/turbopack-1gbk68s3o1ulv.js"
13
+ "static/chunks/06tejx8u1_0kg.js",
14
+ "static/chunks/turbopack-0a9my88c0do8o.js"
15
15
  ])
@@ -1,12 +1,12 @@
1
1
  __turbopack_load_page_chunks__("/events/EventDetailPage", [
2
2
  "static/chunks/3z_c5kpm-e1ty.js",
3
3
  "static/chunks/38pz7fmyf6ay0.js",
4
- "static/chunks/0cm0oyd82zvez.js",
4
+ "static/chunks/1fzbon-ih4_3j.js",
5
5
  "static/chunks/3wzzh45yillzb.js",
6
- "static/chunks/252jebodi67kg.js",
7
- "static/chunks/036jcj4okqca4.js",
8
- "static/chunks/3rnl7-84z1op5.js",
9
6
  "static/chunks/2hm0mbq0vtqmw.js",
10
- "static/chunks/3ghzaufs2n8uq.js",
11
- "static/chunks/turbopack-252a5rlyrq9fk.js"
7
+ "static/chunks/252jebodi67kg.js",
8
+ "static/chunks/3sktz8258so64.js",
9
+ "static/chunks/06tejx8u1_0kg.js",
10
+ "static/chunks/2t724bghemjmf.js",
11
+ "static/chunks/turbopack-11i280gb7ytob.js"
12
12
  ])
@@ -187,4 +187,4 @@
187
187
  confirmCount
188
188
  }
189
189
  }
190
- `,ej={sales:{label:"Sales",color:"hsl(var(--chart-1))"},orders:{label:"Orders",color:"hsl(var(--chart-2))"},avgOrderValue:{label:"Avg Order Value",color:"hsl(var(--chart-3))"}},eC=()=>{let{formatMessage:e}=(0,a.useIntl)(),{dateRange:s,totalSales:i,totalOrders:n,averageOrderValue:l,salesData:o,loading:d,currencyCode:c}=(({days:e=30})=>{let t=(0,r.useMemo)(()=>new Date,[]),a=ev(t,e),s=(0,r.useMemo)(()=>({start:(0,ey.startOfDay)(a).toISOString(),end:(0,ek.endOfDay)(t).toISOString()}),[a,t]),{data:i,loading:n,error:l}=(0,eg.useQuery)(ew,{variables:{dateRange:s},errorPolicy:"all"});return(0,r.useMemo)(()=>{let r=i?.orderStatistics;if(!i?.orderStatistics?.confirmCount)return{totalSales:0,totalOrders:0,averageOrderValue:0,salesData:[],loading:n,error:l,dateRange:s};let a=((e,t)=>{let r=new Map;for(let a=0;a<e;a++){let e=(0,eh.format)(ev(t,a),"MMM d");r.set(e,{sales:0,orders:0})}return r})(e,t),o=0,d=r.confirmRecords[0]?.total?.currencyCode;r.confirmRecords.forEach(e=>{if(!e.date||!e.total?.amount||!e.count)return;let t=(0,eh.format)((0,ex.parseISO)(e.date),"MMM d"),r=a.get(t),s=Number(e.total.amount??0),i=e.count??0;r&&(r.sales+=s,r.orders+=i),o+=s});let c=r.confirmCount,u=c>0?o/c:0;return{totalSales:Math.round(o),totalOrders:c,currencyCode:d,averageOrderValue:Math.round(u),salesData:Array.from(a.entries()).map(([e,{sales:t,orders:r}])=>({date:e,sales:Number(t.toFixed(2)),orders:r,avgOrderValue:r>0?Math.round(t/r):0})).reverse(),loading:n,error:l,dateRange:s}},[i,n,l,s,e,t])})({days:30}),{formatPrice:u}=(0,eu.useFormatPrice)();return d?(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 my-8",children:[1,2,3].map(e=>(0,t.jsxs)(ed.Card,{className:"animate-pulse",children:[(0,t.jsxs)(ed.CardHeader,{className:"pb-2",children:[(0,t.jsx)("div",{className:"h-4 bg-slate-200 dark:bg-slate-700 rounded w-1/2"}),(0,t.jsx)("div",{className:"h-8 bg-slate-200 dark:bg-slate-700 rounded w-1/3"})]}),(0,t.jsx)(ed.CardContent,{children:(0,t.jsx)("div",{className:"h-32 bg-slate-200 dark:bg-slate-700 rounded"})})]},e))}):(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 my-8",children:[(0,t.jsx)(ef.default,{icon:(0,t.jsx)(eo.CurrencyIcon,{className:"h-4 w-4"}),title:e({id:"total_sales",defaultMessage:"Total sales"}),value:u({currencyCode:c,amount:i}),chart:(0,t.jsx)(ec.ChartContainer,{config:ej,children:(0,t.jsxs)(X.LineChart,{accessibilityLayer:!0,data:o,margin:{left:12,right:12},children:[(0,t.jsx)(er.CartesianGrid,{vertical:!1}),(0,t.jsx)(ee.XAxis,{dataKey:"date",tickLine:!1,axisLine:!1,tickMargin:8,tickFormatter:e=>e.slice(0,6)}),(0,t.jsx)(et.YAxis,{hide:!0}),(0,t.jsx)(ec.ChartTooltip,{wrapperStyle:{pointerEvents:"auto",zIndex:50},cursor:!1,content:(0,t.jsx)(ec.ChartTooltipContent,{formatter:e=>u({currencyCode:c,amount:e})})}),(0,t.jsx)(K.Line,{dataKey:"sales",type:"natural",stroke:"var(--color-sales)",strokeWidth:2,dot:!1})]})}),dateRange:s}),(0,t.jsx)(ef.default,{icon:(0,t.jsx)(ei,{className:"h-4 w-4"}),title:e({id:"total_orders",defaultMessage:"Total orders"}),value:n,chart:(0,t.jsx)(ec.ChartContainer,{config:ej,children:(0,t.jsxs)(Y.BarChart,{accessibilityLayer:!0,data:o,margin:{left:12,right:12},children:[(0,t.jsx)(er.CartesianGrid,{vertical:!1}),(0,t.jsx)(ee.XAxis,{dataKey:"date",tickLine:!1,axisLine:!1,tickMargin:8,tickFormatter:e=>e.slice(0,6)}),(0,t.jsx)(et.YAxis,{hide:!0}),(0,t.jsx)(ec.ChartTooltip,{cursor:!1,content:(0,t.jsx)(ec.ChartTooltipContent,{})}),(0,t.jsx)(J.Bar,{dataKey:"orders",fill:"var(--color-orders)",radius:4})]})}),dateRange:s}),(0,t.jsx)(ef.default,{icon:(0,t.jsx)(el,{className:"h-4 w-4"}),title:e({id:"average_order_value",defaultMessage:"Average order value"}),value:u({amount:l,currencyCode:c}),chart:(0,t.jsx)(ec.ChartContainer,{config:ej,children:(0,t.jsxs)(X.LineChart,{accessibilityLayer:!0,data:o,margin:{left:12,right:12},children:[(0,t.jsx)(er.CartesianGrid,{vertical:!1}),(0,t.jsx)(ee.XAxis,{dataKey:"date",tickLine:!1,axisLine:!1,tickMargin:8,tickFormatter:e=>e.slice(0,6)}),(0,t.jsx)(et.YAxis,{hide:!0}),(0,t.jsx)(ec.ChartTooltip,{cursor:!1,content:(0,t.jsx)(ec.ChartTooltipContent,{formatter:e=>u({currencyCode:c,amount:e})})}),(0,t.jsx)(K.Line,{dataKey:"avgOrderValue",type:"natural",stroke:"var(--color-avgOrderValue)",strokeWidth:2,dot:!1})]})}),dateRange:s})]})};e.s(["default",0,()=>{let{configuration:e}=(0,c.default)(),{isFullyConfigured:r}=e;return(0,t.jsxs)("div",{children:[(0,t.jsx)(R,{}),(0,t.jsx)("div",{className:"mt-5",children:(0,t.jsxs)("div",{className:"text-xl font-semibold text-slate-900 dark:text-slate-100",children:["Unchained",(0,t.jsxs)("span",{className:"font-light ml-1",children:["AdminUI",(0,t.jsxs)("span",{className:"text-xs ml-1",children:[" ","4.8.27"]})]})]})}),(0,t.jsxs)("div",{className:"mx-auto py-6",children:[(0,t.jsx)($,{className:"mb-8"}),r&&(0,t.jsx)(G,{}),(0,t.jsx)(eC,{}),(0,t.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[r&&(0,t.jsx)("div",{className:"bg-white dark:bg-slate-800 rounded-lg border border-slate-200 dark:border-slate-700 p-6",children:(0,t.jsx)(B,{})}),(0,t.jsx)(L,{})]})]})]})}],57201)},3050,(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/",()=>e.r(57201)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push(["/"])})},52745,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...a},s){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:s,"aria-labelledby":r},a),e?t.createElement("title",{id:r},e):null,t.createElement("path",{d:"M10.362 1.093a.75.75 0 0 0-.724 0L2.523 5.018 10 9.143l7.477-4.125-7.115-3.925ZM18 6.443l-7.25 4v8.25l6.862-3.786A.75.75 0 0 0 18 14.25V6.443ZM9.25 18.693v-8.25l-7.25-4v7.807a.75.75 0 0 0 .388.657l6.862 3.786Z"}))});e.s(["CubeIcon",0,r],52745)},31004,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...a},s){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:s,"aria-labelledby":r},a),e?t.createElement("title",{id:r},e):null,t.createElement("path",{d:"M7 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6ZM14.5 9a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5ZM1.615 16.428a1.224 1.224 0 0 1-.569-1.175 6.002 6.002 0 0 1 11.908 0c.058.467-.172.92-.57 1.174A9.953 9.953 0 0 1 7 18a9.953 9.953 0 0 1-5.385-1.572ZM14.5 16h-.106c.07-.297.088-.611.048-.933a7.47 7.47 0 0 0-1.588-3.755 4.502 4.502 0 0 1 5.874 2.636.818.818 0 0 1-.36.98A7.465 7.465 0 0 1 14.5 16Z"}))});e.s(["UsersIcon",0,r],31004)},15361,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...a},s){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:s,"aria-labelledby":r},a),e?t.createElement("title",{id:r},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(["CheckCircleIcon",0,r],15361)},48953,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...a},s){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:s,"aria-labelledby":r},a),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))});e.s(["ClockIcon",0,r],48953)},83345,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...a},s){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:s,"aria-labelledby":r},a),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m21 7.5-9-5.25L3 7.5m18 0-9 5.25m9-5.25v9l-9 5.25M3 7.5l9 5.25M3 7.5v9l9 5.25m0-9v9"}))});e.s(["CubeIcon",0,r],83345)},24629,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...a},s){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:s,"aria-labelledby":r},a),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 21a9.004 9.004 0 0 0 8.716-6.747M12 21a9.004 9.004 0 0 1-8.716-6.747M12 21c2.485 0 4.5-4.03 4.5-9S14.485 3 12 3m0 18c-2.485 0-4.5-4.03-4.5-9S9.515 3 12 3m0 0a8.997 8.997 0 0 1 7.843 4.582M12 3a8.997 8.997 0 0 0-7.843 4.582m15.686 0A11.953 11.953 0 0 1 12 10.5c-2.998 0-5.74-1.1-7.843-2.918m15.686 0A8.959 8.959 0 0 1 21 12c0 .778-.099 1.533-.284 2.253m0 0A17.919 17.919 0 0 1 12 16.5c-3.162 0-6.133-.815-8.716-2.247m0 0A9.015 9.015 0 0 1 3 12c0-1.605.42-3.113 1.157-4.418"}))});e.s(["GlobeAltIcon",0,r],24629)},37369,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...a},s){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:s,"aria-labelledby":r},a),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(["PlusIcon",0,r],37369)},24608,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...a},s){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:s,"aria-labelledby":r},a),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))});e.s(["XMarkIcon",0,r],24608)},56206,e=>{"use strict";function t(){for(var e,t,r=0,a="",s=arguments.length;r<s;r++)(e=arguments[r])&&(t=function e(t){var r,a,s="";if("string"==typeof t||"number"==typeof t)s+=t;else if("object"==typeof t)if(Array.isArray(t)){var i=t.length;for(r=0;r<i;r++)t[r]&&(a=e(t[r]))&&(s&&(s+=" "),s+=a)}else for(a in t)t[a]&&(s&&(s+=" "),s+=a);return s}(e))&&(a&&(a+=" "),a+=t);return a}e.s(["clsx",0,t,"default",0,t])},31599,e=>{"use strict";e.s(["default",0,function(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}])},59015,e=>{"use strict";e.s(["default",0,function(e,t){let r;if(void 0===t)for(let t of e)null!=t&&(r<t||void 0===r&&t>=t)&&(r=t);else{let a=-1;for(let s of e)null!=(s=t(s,++a,e))&&(r<s||void 0===r&&s>=s)&&(r=s)}return r}])},28917,e=>{"use strict";e.s(["default",0,function(e,t){let r;if(void 0===t)for(let t of e)null!=t&&(r>t||void 0===r&&t>=t)&&(r=t);else{let a=-1;for(let s of e)null!=(s=t(s,++a,e))&&(r>s||void 0===r&&s>=s)&&(r=s)}return r}])},98952,19903,47672,11049,74037,44641,25369,e=>{"use strict";function t(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function r(e,t){var r=Object.create(e.prototype);for(var a in t)r[a]=t[a];return r}function a(){}e.s(["default",()=>z],44641);var s="\\s*([+-]?\\d+)\\s*",i="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",n="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",l=/^#([0-9a-f]{3,8})$/,o=RegExp(`^rgb\\(${s},${s},${s}\\)$`),d=RegExp(`^rgb\\(${n},${n},${n}\\)$`),c=RegExp(`^rgba\\(${s},${s},${s},${i}\\)$`),u=RegExp(`^rgba\\(${n},${n},${n},${i}\\)$`),f=RegExp(`^hsl\\(${i},${n},${n}\\)$`),m=RegExp(`^hsla\\(${i},${n},${n},${i}\\)$`),g={aliceblue:0xf0f8ff,antiquewhite:0xfaebd7,aqua:65535,aquamarine:8388564,azure:0xf0ffff,beige:0xf5f5dc,bisque:0xffe4c4,black:0,blanchedalmond:0xffebcd,blue:255,blueviolet:9055202,brown:0xa52a2a,burlywood:0xdeb887,cadetblue:6266528,chartreuse:8388352,chocolate:0xd2691e,coral:0xff7f50,cornflowerblue:6591981,cornsilk:0xfff8dc,crimson:0xdc143c,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:0xb8860b,darkgray:0xa9a9a9,darkgreen:25600,darkgrey:0xa9a9a9,darkkhaki:0xbdb76b,darkmagenta:9109643,darkolivegreen:5597999,darkorange:0xff8c00,darkorchid:0x9932cc,darkred:9109504,darksalmon:0xe9967a,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:0xff1493,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:0xb22222,floralwhite:0xfffaf0,forestgreen:2263842,fuchsia:0xff00ff,gainsboro:0xdcdcdc,ghostwhite:0xf8f8ff,gold:0xffd700,goldenrod:0xdaa520,gray:8421504,green:32768,greenyellow:0xadff2f,grey:8421504,honeydew:0xf0fff0,hotpink:0xff69b4,indianred:0xcd5c5c,indigo:4915330,ivory:0xfffff0,khaki:0xf0e68c,lavender:0xe6e6fa,lavenderblush:0xfff0f5,lawngreen:8190976,lemonchiffon:0xfffacd,lightblue:0xadd8e6,lightcoral:0xf08080,lightcyan:0xe0ffff,lightgoldenrodyellow:0xfafad2,lightgray:0xd3d3d3,lightgreen:9498256,lightgrey:0xd3d3d3,lightpink:0xffb6c1,lightsalmon:0xffa07a,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:0xb0c4de,lightyellow:0xffffe0,lime:65280,limegreen:3329330,linen:0xfaf0e6,magenta:0xff00ff,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:0xba55d3,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:0xc71585,midnightblue:1644912,mintcream:0xf5fffa,mistyrose:0xffe4e1,moccasin:0xffe4b5,navajowhite:0xffdead,navy:128,oldlace:0xfdf5e6,olive:8421376,olivedrab:7048739,orange:0xffa500,orangered:0xff4500,orchid:0xda70d6,palegoldenrod:0xeee8aa,palegreen:0x98fb98,paleturquoise:0xafeeee,palevioletred:0xdb7093,papayawhip:0xffefd5,peachpuff:0xffdab9,peru:0xcd853f,pink:0xffc0cb,plum:0xdda0dd,powderblue:0xb0e0e6,purple:8388736,rebeccapurple:6697881,red:0xff0000,rosybrown:0xbc8f8f,royalblue:4286945,saddlebrown:9127187,salmon:0xfa8072,sandybrown:0xf4a460,seagreen:3050327,seashell:0xfff5ee,sienna:0xa0522d,silver:0xc0c0c0,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:0xfffafa,springgreen:65407,steelblue:4620980,tan:0xd2b48c,teal:32896,thistle:0xd8bfd8,tomato:0xff6347,turquoise:4251856,violet:0xee82ee,wheat:0xf5deb3,white:0xffffff,whitesmoke:0xf5f5f5,yellow:0xffff00,yellowgreen:0x9acd32};function h(){return this.rgb().formatHex()}function x(){return this.rgb().formatRgb()}function p(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=l.exec(e))?(r=t[1].length,t=parseInt(t[1],16),6===r?b(t):3===r?new k(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===r?v(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===r?v(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=o.exec(e))?new k(t[1],t[2],t[3],1):(t=d.exec(e))?new k(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=c.exec(e))?v(t[1],t[2],t[3],t[4]):(t=u.exec(e))?v(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=f.exec(e))?$(t[1],t[2]/100,t[3]/100,1):(t=m.exec(e))?$(t[1],t[2]/100,t[3]/100,t[4]):g.hasOwnProperty(e)?b(g[e]):"transparent"===e?new k(NaN,NaN,NaN,0):null}function b(e){return new k(e>>16&255,e>>8&255,255&e,1)}function v(e,t,r,a){return a<=0&&(e=t=r=NaN),new k(e,t,r,a)}function y(e,t,r,s){var i;return 1==arguments.length?((i=e)instanceof a||(i=p(i)),i)?new k((i=i.rgb()).r,i.g,i.b,i.opacity):new k:new k(e,t,r,null==s?1:s)}function k(e,t,r,a){this.r=+e,this.g=+t,this.b=+r,this.opacity=+a}function w(){return`#${M(this.r)}${M(this.g)}${M(this.b)}`}function j(){let e=C(this.opacity);return`${1===e?"rgb(":"rgba("}${N(this.r)}, ${N(this.g)}, ${N(this.b)}${1===e?")":`, ${e})`}`}function C(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function N(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function M(e){return((e=N(e))<16?"0":"")+e.toString(16)}function $(e,t,r,a){return a<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new I(e,t,r,a)}function S(e){if(e instanceof I)return new I(e.h,e.s,e.l,e.opacity);if(e instanceof a||(e=p(e)),!e)return new I;if(e instanceof I)return e;var t=(e=e.rgb()).r/255,r=e.g/255,s=e.b/255,i=Math.min(t,r,s),n=Math.max(t,r,s),l=NaN,o=n-i,d=(n+i)/2;return o?(l=t===n?(r-s)/o+(r<s)*6:r===n?(s-t)/o+2:(t-r)/o+4,o/=d<.5?n+i:2-n-i,l*=60):o=d>0&&d<1?0:l,new I(l,o,d,e.opacity)}function I(e,t,r,a){this.h=+e,this.s=+t,this.l=+r,this.opacity=+a}function _(e){return(e=(e||0)%360)<0?e+360:e}function E(e){return Math.max(0,Math.min(1,e||0))}function R(e,t,r){return(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)*255}function q(e,t,r,a,s){var i=e*e,n=i*e;return((1-3*e+3*i-n)*t+(4-6*i+3*n)*r+(1+3*e+3*i-3*n)*a+n*s)/6}t(a,p,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:h,formatHex:h,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return S(this).formatHsl()},formatRgb:x,toString:x}),t(k,y,r(a,{brighter(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new k(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new k(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new k(N(this.r),N(this.g),N(this.b),C(this.opacity))},displayable(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:w,formatHex:w,formatHex8:function(){return`#${M(this.r)}${M(this.g)}${M(this.b)}${M((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:j,toString:j})),t(I,function(e,t,r,a){return 1==arguments.length?S(e):new I(e,t,r,null==a?1:a)},r(a,{brighter(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new I(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new I(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,a=r+(r<.5?r:1-r)*t,s=2*r-a;return new k(R(e>=240?e-240:e+120,s,a),R(e,s,a),R(e<120?e+240:e-120,s,a),this.opacity)},clamp(){return new I(_(this.h),E(this.s),E(this.l),C(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let e=C(this.opacity);return`${1===e?"hsl(":"hsla("}${_(this.h)}, ${100*E(this.s)}%, ${100*E(this.l)}%${1===e?")":`, ${e})`}`}})),e.s(["color",0,p],19903);let A=e=>()=>e;function L(e,t){var r=t-e;return r?function(t){return e+t*r}:A(isNaN(e)?t:e)}let O=function e(t){var r,a=1==(r=+t)?L:function(e,t){var a,s,i;return t-e?(a=e,s=t,a=Math.pow(a,i=r),s=Math.pow(s,i)-a,i=1/i,function(e){return Math.pow(a+e*s,i)}):A(isNaN(e)?t:e)};function s(e,t){var r=a((e=y(e)).r,(t=y(t)).r),s=a(e.g,t.g),i=a(e.b,t.b),n=L(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=s(t),e.b=i(t),e.opacity=n(t),e+""}}return s.gamma=e,s}(1);function P(e){return function(t){var r,a,s=t.length,i=Array(s),n=Array(s),l=Array(s);for(r=0;r<s;++r)a=y(t[r]),i[r]=a.r||0,n[r]=a.g||0,l[r]=a.b||0;return i=e(i),n=e(n),l=e(l),a.opacity=1,function(e){return a.r=i(e),a.g=n(e),a.b=l(e),a+""}}}function D(e,t){return e*=1,t*=1,function(r){return e*(1-r)+t*r}}P(function(e){var t=e.length-1;return function(r){var a=r<=0?r=0:r>=1?(r=1,t-1):Math.floor(r*t),s=e[a],i=e[a+1],n=a>0?e[a-1]:2*s-i,l=a<t-1?e[a+2]:2*i-s;return q((r-a/t)*t,n,s,i,l)}}),P(function(e){var t=e.length;return function(r){var a=Math.floor(((r%=1)<0?++r:r)*t),s=e[(a+t-1)%t],i=e[a%t],n=e[(a+1)%t],l=e[(a+2)%t];return q((r-a/t)*t,s,i,n,l)}}),e.s(["default",0,O],47672),e.s(["default",0,D],11049);var W=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,B=RegExp(W.source,"g");function T(e,t){var r,a,s,i,n,l=W.lastIndex=B.lastIndex=0,o=-1,d=[],c=[];for(e+="",t+="";(s=W.exec(e))&&(i=B.exec(t));)(n=i.index)>l&&(n=t.slice(l,n),d[o]?d[o]+=n:d[++o]=n),(s=s[0])===(i=i[0])?d[o]?d[o]+=i:d[++o]=i:(d[++o]=null,c.push({i:o,x:D(s,i)})),l=B.lastIndex;return l<t.length&&(n=t.slice(l),d[o]?d[o]+=n:d[++o]=n),d.length<2?c[0]?(r=c[0].x,function(e){return r(e)+""}):(a=t,function(){return a}):(t=c.length,function(e){for(var r,a=0;a<t;++a)d[(r=c[a]).i]=r.x(e);return d.join("")})}function z(e,t){var r,a,s=typeof t;return null==t||"boolean"===s?A(t):("number"===s?D:"string"===s?(a=p(t))?(t=a,O):T:t instanceof p?O:t instanceof Date?function(e,t){var r=new Date;return e*=1,t*=1,function(a){return r.setTime(e*(1-a)+t*a),r}}:!ArrayBuffer.isView(r=t)||r instanceof DataView?Array.isArray(t)?function(e,t){var r,a=t?t.length:0,s=e?Math.min(a,e.length):0,i=Array(s),n=Array(a);for(r=0;r<s;++r)i[r]=z(e[r],t[r]);for(;r<a;++r)n[r]=t[r];return function(e){for(r=0;r<s;++r)n[r]=i[r](e);return n}}:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?function(e,t){var r,a={},s={};for(r in(null===e||"object"!=typeof e)&&(e={}),(null===t||"object"!=typeof t)&&(t={}),t)r in e?a[r]=z(e[r],t[r]):s[r]=t[r];return function(e){for(r in a)s[r]=a[r](e);return s}}:D:function(e,t){t||(t=[]);var r,a=e?Math.min(t.length,e.length):0,s=t.slice();return function(i){for(r=0;r<a;++r)s[r]=e[r]*(1-i)+t[r]*i;return s}})(e,t)}e.s(["default",0,T],74037),e.s(["interpolate",0,z],98952),e.s(["interpolateNumber",0,D],25369)},23874,e=>{"use strict";e.s(["initInterpolator",0,function(e,t){switch(arguments.length){case 0:break;case 1:"function"==typeof e?this.interpolator(e):this.range(e);break;default:this.domain(e),"function"==typeof t?this.interpolator(t):this.range(t)}return this},"initRange",0,function(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}])},28120,e=>{"use strict";var t=e.i(21791),r=e.i(23874);let a=Symbol("implicit");e.s(["default",0,function e(){var s=new t.InternMap,i=[],n=[],l=a;function o(e){let t=s.get(e);if(void 0===t){if(l!==a)return l;s.set(e,t=i.push(e)-1)}return n[t%n.length]}return o.domain=function(e){if(!arguments.length)return i.slice();for(let r of(i=[],s=new t.InternMap,e))s.has(r)||s.set(r,i.push(r)-1);return o},o.range=function(e){return arguments.length?(n=Array.from(e),o):n.slice()},o.unknown=function(e){return arguments.length?(l=e,o):l},o.copy=function(){return e(i,n).unknown(l)},r.initRange.apply(o,arguments),o},"implicit",0,a])},21791,e=>{"use strict";class t extends Map{constructor(e,t=a){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),null!=e)for(const[t,r]of e)this.set(t,r)}get(e){return super.get(r(this,e))}has(e){return super.has(r(this,e))}set(e,t){return super.set(function({_intern:e,_key:t},r){let a=t(r);return e.has(a)?e.get(a):(e.set(a,r),r)}(this,e),t)}delete(e){return super.delete(function({_intern:e,_key:t},r){let a=t(r);return e.has(a)&&(r=e.get(a),e.delete(a)),r}(this,e))}}function r({_intern:e,_key:t},a){let s=t(a);return e.has(s)?e.get(s):a}function a(e){return null!==e&&"object"==typeof e?e.valueOf():e}e.s(["InternMap",0,t])},5270,e=>{"use strict";var t=e.i(91788);let r=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim(),a={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"},s=(0,t.createContext)({}),i=(0,t.forwardRef)(({color:e,size:i,width:n,height:l,strokeWidth:o,absoluteStrokeWidth:d,nonScalingStroke:c,className:u="",children:f,iconNode:m=[],icon:g={node:m,aliases:[],size:24},...h},x)=>{let{size:p=24,strokeWidth:b=2,absoluteStrokeWidth:v=!1,nonScalingStroke:y=!1,color:k="currentColor",className:w=""}=(0,t.useContext)(s)??{},j=!!f||(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(h),[C,N,M=[]]=function(e,t={}){return function(e,t={}){let s=t.attributeNames??{},i=e=>s[e]??e,n=e.size??e.width??a.width,l=e.size??e.height??a.height,o=e.aliases?.filter(e=>"string"==typeof e&&""!==e.trim()).map(e=>`lucide-${e}`)??[],d=[...e.name?[`lucide-${e.name}`]:[],...o],c=t.className?.split(" ").filter(Boolean)??[],u=!1===t.includeDefaultClasses?r(...c):r("lucide",...d,...c),f=t.absoluteStrokeWidth?Number(t.strokeWidth??a["stroke-width"])*Number(e.size??e.width??a.width)/Number(t.size??t.width??a.width):t.strokeWidth??a["stroke-width"];return["svg",{...Object.entries(a).reduce((e,[t,r])=>(e[i(t)]=r,e),{}),..."color"in t&&t.color&&{[i("stroke")]:t.color},..."size"in t&&null!=t.size&&{[i("width")]:t.size,[i("height")]:t.size},..."width"in t&&null!=t.width&&{[i("width")]:t.width},..."height"in t&&null!=t.height&&{[i("height")]:t.height},[i("stroke-width")]:f,...u&&{[i("class")]:u},[i("viewBox")]:`0 0 ${n} ${l}`,...!1===t.hasA11yProp?{[i("aria-hidden")]:"true"}:{},..."attributes"in t&&t.attributes},e.node.map(e=>{let[r,a,s]=e,n=t.nonScalingStroke?{[i("vector-effect")]:"non-scaling-stroke",...a}:a;return s?[r,n,s]:[r,n]})]}(e,{...t,attributeNames:{...t.attributeNames,class:"className","stroke-width":"strokeWidth","stroke-linecap":"strokeLinecap","stroke-linejoin":"strokeLinejoin","vector-effect":"vectorEffect"}})}(g,{color:e??k,width:n??i??p,height:l??i??p,strokeWidth:o??b,absoluteStrokeWidth:d??v,nonScalingStroke:c??y,className:r(w,u),hasA11yProp:j,attributes:h});return(0,t.createElement)(C,{ref:x,...N},[...M.map(([e,r])=>(0,t.createElement)(e,r)),...Array.isArray(f)?f:[f]])});e.s(["default",0,function(e,r=[],a=[]){let s,n="string"==typeof e?function(e,t,r=[]){if(null==t)throw Error("[lucide]: iconNode is required when icon name is used");return{name:e?.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),size:24,node:t,...r.length>0?{aliases:r}:{}}}(e,r,a):e,l=(0,t.forwardRef)(({className:e,...r},a)=>(0,t.createElement)(i,{ref:a,icon:n,className:e,...r}));return n.name&&(l.displayName=(s=(e=>{let t="",r=!1;for(let a of e){if("-"===a||"_"===a||a<=" "){r=t.length>0;continue}0===t.length?t+=a.toLowerCase():t+=r?a.toUpperCase():a,r=!1}return t})(n.name)).charAt(0).toUpperCase()+s.slice(1)),l}],5270)},60121,(e,t,r)=>{"use strict";var a=e.r(91788),s="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=a.useState,n=a.useEffect,l=a.useLayoutEffect,o=a.useDebugValue;function d(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!s(e,r)}catch(e){return!0}}var c="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),a=i({inst:{value:r,getSnapshot:t}}),s=a[0].inst,c=a[1];return l(function(){s.value=r,s.getSnapshot=t,d(s)&&c({inst:s})},[e,r,t]),n(function(){return d(s)&&c({inst:s}),e(function(){d(s)&&c({inst:s})})},[e]),o(r),r};r.useSyncExternalStore=void 0!==a.useSyncExternalStore?a.useSyncExternalStore:c},90979,(e,t,r)=>{"use strict";e.i(50461),t.exports=e.r(60121)}]);
190
+ `,ej={sales:{label:"Sales",color:"hsl(var(--chart-1))"},orders:{label:"Orders",color:"hsl(var(--chart-2))"},avgOrderValue:{label:"Avg Order Value",color:"hsl(var(--chart-3))"}},eC=()=>{let{formatMessage:e}=(0,a.useIntl)(),{dateRange:s,totalSales:i,totalOrders:n,averageOrderValue:l,salesData:o,loading:d,currencyCode:c}=(({days:e=30})=>{let t=(0,r.useMemo)(()=>new Date,[]),a=ev(t,e),s=(0,r.useMemo)(()=>({start:(0,ey.startOfDay)(a).toISOString(),end:(0,ek.endOfDay)(t).toISOString()}),[a,t]),{data:i,loading:n,error:l}=(0,eg.useQuery)(ew,{variables:{dateRange:s},errorPolicy:"all"});return(0,r.useMemo)(()=>{let r=i?.orderStatistics;if(!i?.orderStatistics?.confirmCount)return{totalSales:0,totalOrders:0,averageOrderValue:0,salesData:[],loading:n,error:l,dateRange:s};let a=((e,t)=>{let r=new Map;for(let a=0;a<e;a++){let e=(0,eh.format)(ev(t,a),"MMM d");r.set(e,{sales:0,orders:0})}return r})(e,t),o=0,d=r.confirmRecords[0]?.total?.currencyCode;r.confirmRecords.forEach(e=>{if(!e.date||!e.total?.amount||!e.count)return;let t=(0,eh.format)((0,ex.parseISO)(e.date),"MMM d"),r=a.get(t),s=Number(e.total.amount??0),i=e.count??0;r&&(r.sales+=s,r.orders+=i),o+=s});let c=r.confirmCount,u=c>0?o/c:0;return{totalSales:Math.round(o),totalOrders:c,currencyCode:d,averageOrderValue:Math.round(u),salesData:Array.from(a.entries()).map(([e,{sales:t,orders:r}])=>({date:e,sales:Number(t.toFixed(2)),orders:r,avgOrderValue:r>0?Math.round(t/r):0})).reverse(),loading:n,error:l,dateRange:s}},[i,n,l,s,e,t])})({days:30}),{formatPrice:u}=(0,eu.useFormatPrice)();return d?(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 my-8",children:[1,2,3].map(e=>(0,t.jsxs)(ed.Card,{className:"animate-pulse",children:[(0,t.jsxs)(ed.CardHeader,{className:"pb-2",children:[(0,t.jsx)("div",{className:"h-4 bg-slate-200 dark:bg-slate-700 rounded w-1/2"}),(0,t.jsx)("div",{className:"h-8 bg-slate-200 dark:bg-slate-700 rounded w-1/3"})]}),(0,t.jsx)(ed.CardContent,{children:(0,t.jsx)("div",{className:"h-32 bg-slate-200 dark:bg-slate-700 rounded"})})]},e))}):(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 my-8",children:[(0,t.jsx)(ef.default,{icon:(0,t.jsx)(eo.CurrencyIcon,{className:"h-4 w-4"}),title:e({id:"total_sales",defaultMessage:"Total sales"}),value:u({currencyCode:c,amount:i}),chart:(0,t.jsx)(ec.ChartContainer,{config:ej,children:(0,t.jsxs)(X.LineChart,{accessibilityLayer:!0,data:o,margin:{left:12,right:12},children:[(0,t.jsx)(er.CartesianGrid,{vertical:!1}),(0,t.jsx)(ee.XAxis,{dataKey:"date",tickLine:!1,axisLine:!1,tickMargin:8,tickFormatter:e=>e.slice(0,6)}),(0,t.jsx)(et.YAxis,{hide:!0}),(0,t.jsx)(ec.ChartTooltip,{wrapperStyle:{pointerEvents:"auto",zIndex:50},cursor:!1,content:(0,t.jsx)(ec.ChartTooltipContent,{formatter:e=>u({currencyCode:c,amount:e})})}),(0,t.jsx)(K.Line,{dataKey:"sales",type:"natural",stroke:"var(--color-sales)",strokeWidth:2,dot:!1})]})}),dateRange:s}),(0,t.jsx)(ef.default,{icon:(0,t.jsx)(ei,{className:"h-4 w-4"}),title:e({id:"total_orders",defaultMessage:"Total orders"}),value:n,chart:(0,t.jsx)(ec.ChartContainer,{config:ej,children:(0,t.jsxs)(Y.BarChart,{accessibilityLayer:!0,data:o,margin:{left:12,right:12},children:[(0,t.jsx)(er.CartesianGrid,{vertical:!1}),(0,t.jsx)(ee.XAxis,{dataKey:"date",tickLine:!1,axisLine:!1,tickMargin:8,tickFormatter:e=>e.slice(0,6)}),(0,t.jsx)(et.YAxis,{hide:!0}),(0,t.jsx)(ec.ChartTooltip,{cursor:!1,content:(0,t.jsx)(ec.ChartTooltipContent,{})}),(0,t.jsx)(J.Bar,{dataKey:"orders",fill:"var(--color-orders)",radius:4})]})}),dateRange:s}),(0,t.jsx)(ef.default,{icon:(0,t.jsx)(el,{className:"h-4 w-4"}),title:e({id:"average_order_value",defaultMessage:"Average order value"}),value:u({amount:l,currencyCode:c}),chart:(0,t.jsx)(ec.ChartContainer,{config:ej,children:(0,t.jsxs)(X.LineChart,{accessibilityLayer:!0,data:o,margin:{left:12,right:12},children:[(0,t.jsx)(er.CartesianGrid,{vertical:!1}),(0,t.jsx)(ee.XAxis,{dataKey:"date",tickLine:!1,axisLine:!1,tickMargin:8,tickFormatter:e=>e.slice(0,6)}),(0,t.jsx)(et.YAxis,{hide:!0}),(0,t.jsx)(ec.ChartTooltip,{cursor:!1,content:(0,t.jsx)(ec.ChartTooltipContent,{formatter:e=>u({currencyCode:c,amount:e})})}),(0,t.jsx)(K.Line,{dataKey:"avgOrderValue",type:"natural",stroke:"var(--color-avgOrderValue)",strokeWidth:2,dot:!1})]})}),dateRange:s})]})};e.s(["default",0,()=>{let{configuration:e}=(0,c.default)(),{isFullyConfigured:r}=e;return(0,t.jsxs)("div",{children:[(0,t.jsx)(R,{}),(0,t.jsx)("div",{className:"mt-5",children:(0,t.jsxs)("div",{className:"text-xl font-semibold text-slate-900 dark:text-slate-100",children:["Unchained",(0,t.jsxs)("span",{className:"font-light ml-1",children:["AdminUI",(0,t.jsxs)("span",{className:"text-xs ml-1",children:[" ","4.8.28"]})]})]})}),(0,t.jsxs)("div",{className:"mx-auto py-6",children:[(0,t.jsx)($,{className:"mb-8"}),r&&(0,t.jsx)(G,{}),(0,t.jsx)(eC,{}),(0,t.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[r&&(0,t.jsx)("div",{className:"bg-white dark:bg-slate-800 rounded-lg border border-slate-200 dark:border-slate-700 p-6",children:(0,t.jsx)(B,{})}),(0,t.jsx)(L,{})]})]})]})}],57201)},3050,(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/",()=>e.r(57201)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push(["/"])})},52745,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...a},s){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:s,"aria-labelledby":r},a),e?t.createElement("title",{id:r},e):null,t.createElement("path",{d:"M10.362 1.093a.75.75 0 0 0-.724 0L2.523 5.018 10 9.143l7.477-4.125-7.115-3.925ZM18 6.443l-7.25 4v8.25l6.862-3.786A.75.75 0 0 0 18 14.25V6.443ZM9.25 18.693v-8.25l-7.25-4v7.807a.75.75 0 0 0 .388.657l6.862 3.786Z"}))});e.s(["CubeIcon",0,r],52745)},31004,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...a},s){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:s,"aria-labelledby":r},a),e?t.createElement("title",{id:r},e):null,t.createElement("path",{d:"M7 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6ZM14.5 9a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5ZM1.615 16.428a1.224 1.224 0 0 1-.569-1.175 6.002 6.002 0 0 1 11.908 0c.058.467-.172.92-.57 1.174A9.953 9.953 0 0 1 7 18a9.953 9.953 0 0 1-5.385-1.572ZM14.5 16h-.106c.07-.297.088-.611.048-.933a7.47 7.47 0 0 0-1.588-3.755 4.502 4.502 0 0 1 5.874 2.636.818.818 0 0 1-.36.98A7.465 7.465 0 0 1 14.5 16Z"}))});e.s(["UsersIcon",0,r],31004)},15361,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...a},s){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:s,"aria-labelledby":r},a),e?t.createElement("title",{id:r},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(["CheckCircleIcon",0,r],15361)},48953,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...a},s){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:s,"aria-labelledby":r},a),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))});e.s(["ClockIcon",0,r],48953)},83345,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...a},s){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:s,"aria-labelledby":r},a),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m21 7.5-9-5.25L3 7.5m18 0-9 5.25m9-5.25v9l-9 5.25M3 7.5l9 5.25M3 7.5v9l9 5.25m0-9v9"}))});e.s(["CubeIcon",0,r],83345)},24629,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...a},s){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:s,"aria-labelledby":r},a),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 21a9.004 9.004 0 0 0 8.716-6.747M12 21a9.004 9.004 0 0 1-8.716-6.747M12 21c2.485 0 4.5-4.03 4.5-9S14.485 3 12 3m0 18c-2.485 0-4.5-4.03-4.5-9S9.515 3 12 3m0 0a8.997 8.997 0 0 1 7.843 4.582M12 3a8.997 8.997 0 0 0-7.843 4.582m15.686 0A11.953 11.953 0 0 1 12 10.5c-2.998 0-5.74-1.1-7.843-2.918m15.686 0A8.959 8.959 0 0 1 21 12c0 .778-.099 1.533-.284 2.253m0 0A17.919 17.919 0 0 1 12 16.5c-3.162 0-6.133-.815-8.716-2.247m0 0A9.015 9.015 0 0 1 3 12c0-1.605.42-3.113 1.157-4.418"}))});e.s(["GlobeAltIcon",0,r],24629)},37369,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...a},s){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:s,"aria-labelledby":r},a),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(["PlusIcon",0,r],37369)},24608,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...a},s){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:s,"aria-labelledby":r},a),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))});e.s(["XMarkIcon",0,r],24608)},56206,e=>{"use strict";function t(){for(var e,t,r=0,a="",s=arguments.length;r<s;r++)(e=arguments[r])&&(t=function e(t){var r,a,s="";if("string"==typeof t||"number"==typeof t)s+=t;else if("object"==typeof t)if(Array.isArray(t)){var i=t.length;for(r=0;r<i;r++)t[r]&&(a=e(t[r]))&&(s&&(s+=" "),s+=a)}else for(a in t)t[a]&&(s&&(s+=" "),s+=a);return s}(e))&&(a&&(a+=" "),a+=t);return a}e.s(["clsx",0,t,"default",0,t])},31599,e=>{"use strict";e.s(["default",0,function(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}])},59015,e=>{"use strict";e.s(["default",0,function(e,t){let r;if(void 0===t)for(let t of e)null!=t&&(r<t||void 0===r&&t>=t)&&(r=t);else{let a=-1;for(let s of e)null!=(s=t(s,++a,e))&&(r<s||void 0===r&&s>=s)&&(r=s)}return r}])},28917,e=>{"use strict";e.s(["default",0,function(e,t){let r;if(void 0===t)for(let t of e)null!=t&&(r>t||void 0===r&&t>=t)&&(r=t);else{let a=-1;for(let s of e)null!=(s=t(s,++a,e))&&(r>s||void 0===r&&s>=s)&&(r=s)}return r}])},98952,19903,47672,11049,74037,44641,25369,e=>{"use strict";function t(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function r(e,t){var r=Object.create(e.prototype);for(var a in t)r[a]=t[a];return r}function a(){}e.s(["default",()=>z],44641);var s="\\s*([+-]?\\d+)\\s*",i="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",n="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",l=/^#([0-9a-f]{3,8})$/,o=RegExp(`^rgb\\(${s},${s},${s}\\)$`),d=RegExp(`^rgb\\(${n},${n},${n}\\)$`),c=RegExp(`^rgba\\(${s},${s},${s},${i}\\)$`),u=RegExp(`^rgba\\(${n},${n},${n},${i}\\)$`),f=RegExp(`^hsl\\(${i},${n},${n}\\)$`),m=RegExp(`^hsla\\(${i},${n},${n},${i}\\)$`),g={aliceblue:0xf0f8ff,antiquewhite:0xfaebd7,aqua:65535,aquamarine:8388564,azure:0xf0ffff,beige:0xf5f5dc,bisque:0xffe4c4,black:0,blanchedalmond:0xffebcd,blue:255,blueviolet:9055202,brown:0xa52a2a,burlywood:0xdeb887,cadetblue:6266528,chartreuse:8388352,chocolate:0xd2691e,coral:0xff7f50,cornflowerblue:6591981,cornsilk:0xfff8dc,crimson:0xdc143c,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:0xb8860b,darkgray:0xa9a9a9,darkgreen:25600,darkgrey:0xa9a9a9,darkkhaki:0xbdb76b,darkmagenta:9109643,darkolivegreen:5597999,darkorange:0xff8c00,darkorchid:0x9932cc,darkred:9109504,darksalmon:0xe9967a,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:0xff1493,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:0xb22222,floralwhite:0xfffaf0,forestgreen:2263842,fuchsia:0xff00ff,gainsboro:0xdcdcdc,ghostwhite:0xf8f8ff,gold:0xffd700,goldenrod:0xdaa520,gray:8421504,green:32768,greenyellow:0xadff2f,grey:8421504,honeydew:0xf0fff0,hotpink:0xff69b4,indianred:0xcd5c5c,indigo:4915330,ivory:0xfffff0,khaki:0xf0e68c,lavender:0xe6e6fa,lavenderblush:0xfff0f5,lawngreen:8190976,lemonchiffon:0xfffacd,lightblue:0xadd8e6,lightcoral:0xf08080,lightcyan:0xe0ffff,lightgoldenrodyellow:0xfafad2,lightgray:0xd3d3d3,lightgreen:9498256,lightgrey:0xd3d3d3,lightpink:0xffb6c1,lightsalmon:0xffa07a,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:0xb0c4de,lightyellow:0xffffe0,lime:65280,limegreen:3329330,linen:0xfaf0e6,magenta:0xff00ff,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:0xba55d3,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:0xc71585,midnightblue:1644912,mintcream:0xf5fffa,mistyrose:0xffe4e1,moccasin:0xffe4b5,navajowhite:0xffdead,navy:128,oldlace:0xfdf5e6,olive:8421376,olivedrab:7048739,orange:0xffa500,orangered:0xff4500,orchid:0xda70d6,palegoldenrod:0xeee8aa,palegreen:0x98fb98,paleturquoise:0xafeeee,palevioletred:0xdb7093,papayawhip:0xffefd5,peachpuff:0xffdab9,peru:0xcd853f,pink:0xffc0cb,plum:0xdda0dd,powderblue:0xb0e0e6,purple:8388736,rebeccapurple:6697881,red:0xff0000,rosybrown:0xbc8f8f,royalblue:4286945,saddlebrown:9127187,salmon:0xfa8072,sandybrown:0xf4a460,seagreen:3050327,seashell:0xfff5ee,sienna:0xa0522d,silver:0xc0c0c0,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:0xfffafa,springgreen:65407,steelblue:4620980,tan:0xd2b48c,teal:32896,thistle:0xd8bfd8,tomato:0xff6347,turquoise:4251856,violet:0xee82ee,wheat:0xf5deb3,white:0xffffff,whitesmoke:0xf5f5f5,yellow:0xffff00,yellowgreen:0x9acd32};function h(){return this.rgb().formatHex()}function x(){return this.rgb().formatRgb()}function p(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=l.exec(e))?(r=t[1].length,t=parseInt(t[1],16),6===r?b(t):3===r?new k(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===r?v(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===r?v(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=o.exec(e))?new k(t[1],t[2],t[3],1):(t=d.exec(e))?new k(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=c.exec(e))?v(t[1],t[2],t[3],t[4]):(t=u.exec(e))?v(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=f.exec(e))?$(t[1],t[2]/100,t[3]/100,1):(t=m.exec(e))?$(t[1],t[2]/100,t[3]/100,t[4]):g.hasOwnProperty(e)?b(g[e]):"transparent"===e?new k(NaN,NaN,NaN,0):null}function b(e){return new k(e>>16&255,e>>8&255,255&e,1)}function v(e,t,r,a){return a<=0&&(e=t=r=NaN),new k(e,t,r,a)}function y(e,t,r,s){var i;return 1==arguments.length?((i=e)instanceof a||(i=p(i)),i)?new k((i=i.rgb()).r,i.g,i.b,i.opacity):new k:new k(e,t,r,null==s?1:s)}function k(e,t,r,a){this.r=+e,this.g=+t,this.b=+r,this.opacity=+a}function w(){return`#${M(this.r)}${M(this.g)}${M(this.b)}`}function j(){let e=C(this.opacity);return`${1===e?"rgb(":"rgba("}${N(this.r)}, ${N(this.g)}, ${N(this.b)}${1===e?")":`, ${e})`}`}function C(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function N(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function M(e){return((e=N(e))<16?"0":"")+e.toString(16)}function $(e,t,r,a){return a<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new I(e,t,r,a)}function S(e){if(e instanceof I)return new I(e.h,e.s,e.l,e.opacity);if(e instanceof a||(e=p(e)),!e)return new I;if(e instanceof I)return e;var t=(e=e.rgb()).r/255,r=e.g/255,s=e.b/255,i=Math.min(t,r,s),n=Math.max(t,r,s),l=NaN,o=n-i,d=(n+i)/2;return o?(l=t===n?(r-s)/o+(r<s)*6:r===n?(s-t)/o+2:(t-r)/o+4,o/=d<.5?n+i:2-n-i,l*=60):o=d>0&&d<1?0:l,new I(l,o,d,e.opacity)}function I(e,t,r,a){this.h=+e,this.s=+t,this.l=+r,this.opacity=+a}function _(e){return(e=(e||0)%360)<0?e+360:e}function E(e){return Math.max(0,Math.min(1,e||0))}function R(e,t,r){return(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)*255}function q(e,t,r,a,s){var i=e*e,n=i*e;return((1-3*e+3*i-n)*t+(4-6*i+3*n)*r+(1+3*e+3*i-3*n)*a+n*s)/6}t(a,p,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:h,formatHex:h,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return S(this).formatHsl()},formatRgb:x,toString:x}),t(k,y,r(a,{brighter(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new k(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new k(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new k(N(this.r),N(this.g),N(this.b),C(this.opacity))},displayable(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:w,formatHex:w,formatHex8:function(){return`#${M(this.r)}${M(this.g)}${M(this.b)}${M((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:j,toString:j})),t(I,function(e,t,r,a){return 1==arguments.length?S(e):new I(e,t,r,null==a?1:a)},r(a,{brighter(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new I(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new I(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,a=r+(r<.5?r:1-r)*t,s=2*r-a;return new k(R(e>=240?e-240:e+120,s,a),R(e,s,a),R(e<120?e+240:e-120,s,a),this.opacity)},clamp(){return new I(_(this.h),E(this.s),E(this.l),C(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let e=C(this.opacity);return`${1===e?"hsl(":"hsla("}${_(this.h)}, ${100*E(this.s)}%, ${100*E(this.l)}%${1===e?")":`, ${e})`}`}})),e.s(["color",0,p],19903);let A=e=>()=>e;function L(e,t){var r=t-e;return r?function(t){return e+t*r}:A(isNaN(e)?t:e)}let O=function e(t){var r,a=1==(r=+t)?L:function(e,t){var a,s,i;return t-e?(a=e,s=t,a=Math.pow(a,i=r),s=Math.pow(s,i)-a,i=1/i,function(e){return Math.pow(a+e*s,i)}):A(isNaN(e)?t:e)};function s(e,t){var r=a((e=y(e)).r,(t=y(t)).r),s=a(e.g,t.g),i=a(e.b,t.b),n=L(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=s(t),e.b=i(t),e.opacity=n(t),e+""}}return s.gamma=e,s}(1);function P(e){return function(t){var r,a,s=t.length,i=Array(s),n=Array(s),l=Array(s);for(r=0;r<s;++r)a=y(t[r]),i[r]=a.r||0,n[r]=a.g||0,l[r]=a.b||0;return i=e(i),n=e(n),l=e(l),a.opacity=1,function(e){return a.r=i(e),a.g=n(e),a.b=l(e),a+""}}}function D(e,t){return e*=1,t*=1,function(r){return e*(1-r)+t*r}}P(function(e){var t=e.length-1;return function(r){var a=r<=0?r=0:r>=1?(r=1,t-1):Math.floor(r*t),s=e[a],i=e[a+1],n=a>0?e[a-1]:2*s-i,l=a<t-1?e[a+2]:2*i-s;return q((r-a/t)*t,n,s,i,l)}}),P(function(e){var t=e.length;return function(r){var a=Math.floor(((r%=1)<0?++r:r)*t),s=e[(a+t-1)%t],i=e[a%t],n=e[(a+1)%t],l=e[(a+2)%t];return q((r-a/t)*t,s,i,n,l)}}),e.s(["default",0,O],47672),e.s(["default",0,D],11049);var W=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,B=RegExp(W.source,"g");function T(e,t){var r,a,s,i,n,l=W.lastIndex=B.lastIndex=0,o=-1,d=[],c=[];for(e+="",t+="";(s=W.exec(e))&&(i=B.exec(t));)(n=i.index)>l&&(n=t.slice(l,n),d[o]?d[o]+=n:d[++o]=n),(s=s[0])===(i=i[0])?d[o]?d[o]+=i:d[++o]=i:(d[++o]=null,c.push({i:o,x:D(s,i)})),l=B.lastIndex;return l<t.length&&(n=t.slice(l),d[o]?d[o]+=n:d[++o]=n),d.length<2?c[0]?(r=c[0].x,function(e){return r(e)+""}):(a=t,function(){return a}):(t=c.length,function(e){for(var r,a=0;a<t;++a)d[(r=c[a]).i]=r.x(e);return d.join("")})}function z(e,t){var r,a,s=typeof t;return null==t||"boolean"===s?A(t):("number"===s?D:"string"===s?(a=p(t))?(t=a,O):T:t instanceof p?O:t instanceof Date?function(e,t){var r=new Date;return e*=1,t*=1,function(a){return r.setTime(e*(1-a)+t*a),r}}:!ArrayBuffer.isView(r=t)||r instanceof DataView?Array.isArray(t)?function(e,t){var r,a=t?t.length:0,s=e?Math.min(a,e.length):0,i=Array(s),n=Array(a);for(r=0;r<s;++r)i[r]=z(e[r],t[r]);for(;r<a;++r)n[r]=t[r];return function(e){for(r=0;r<s;++r)n[r]=i[r](e);return n}}:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?function(e,t){var r,a={},s={};for(r in(null===e||"object"!=typeof e)&&(e={}),(null===t||"object"!=typeof t)&&(t={}),t)r in e?a[r]=z(e[r],t[r]):s[r]=t[r];return function(e){for(r in a)s[r]=a[r](e);return s}}:D:function(e,t){t||(t=[]);var r,a=e?Math.min(t.length,e.length):0,s=t.slice();return function(i){for(r=0;r<a;++r)s[r]=e[r]*(1-i)+t[r]*i;return s}})(e,t)}e.s(["default",0,T],74037),e.s(["interpolate",0,z],98952),e.s(["interpolateNumber",0,D],25369)},23874,e=>{"use strict";e.s(["initInterpolator",0,function(e,t){switch(arguments.length){case 0:break;case 1:"function"==typeof e?this.interpolator(e):this.range(e);break;default:this.domain(e),"function"==typeof t?this.interpolator(t):this.range(t)}return this},"initRange",0,function(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}])},28120,e=>{"use strict";var t=e.i(21791),r=e.i(23874);let a=Symbol("implicit");e.s(["default",0,function e(){var s=new t.InternMap,i=[],n=[],l=a;function o(e){let t=s.get(e);if(void 0===t){if(l!==a)return l;s.set(e,t=i.push(e)-1)}return n[t%n.length]}return o.domain=function(e){if(!arguments.length)return i.slice();for(let r of(i=[],s=new t.InternMap,e))s.has(r)||s.set(r,i.push(r)-1);return o},o.range=function(e){return arguments.length?(n=Array.from(e),o):n.slice()},o.unknown=function(e){return arguments.length?(l=e,o):l},o.copy=function(){return e(i,n).unknown(l)},r.initRange.apply(o,arguments),o},"implicit",0,a])},21791,e=>{"use strict";class t extends Map{constructor(e,t=a){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),null!=e)for(const[t,r]of e)this.set(t,r)}get(e){return super.get(r(this,e))}has(e){return super.has(r(this,e))}set(e,t){return super.set(function({_intern:e,_key:t},r){let a=t(r);return e.has(a)?e.get(a):(e.set(a,r),r)}(this,e),t)}delete(e){return super.delete(function({_intern:e,_key:t},r){let a=t(r);return e.has(a)&&(r=e.get(a),e.delete(a)),r}(this,e))}}function r({_intern:e,_key:t},a){let s=t(a);return e.has(s)?e.get(s):a}function a(e){return null!==e&&"object"==typeof e?e.valueOf():e}e.s(["InternMap",0,t])},5270,e=>{"use strict";var t=e.i(91788);let r=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim(),a={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"},s=(0,t.createContext)({}),i=(0,t.forwardRef)(({color:e,size:i,width:n,height:l,strokeWidth:o,absoluteStrokeWidth:d,nonScalingStroke:c,className:u="",children:f,iconNode:m=[],icon:g={node:m,aliases:[],size:24},...h},x)=>{let{size:p=24,strokeWidth:b=2,absoluteStrokeWidth:v=!1,nonScalingStroke:y=!1,color:k="currentColor",className:w=""}=(0,t.useContext)(s)??{},j=!!f||(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(h),[C,N,M=[]]=function(e,t={}){return function(e,t={}){let s=t.attributeNames??{},i=e=>s[e]??e,n=e.size??e.width??a.width,l=e.size??e.height??a.height,o=e.aliases?.filter(e=>"string"==typeof e&&""!==e.trim()).map(e=>`lucide-${e}`)??[],d=[...e.name?[`lucide-${e.name}`]:[],...o],c=t.className?.split(" ").filter(Boolean)??[],u=!1===t.includeDefaultClasses?r(...c):r("lucide",...d,...c),f=t.absoluteStrokeWidth?Number(t.strokeWidth??a["stroke-width"])*Number(e.size??e.width??a.width)/Number(t.size??t.width??a.width):t.strokeWidth??a["stroke-width"];return["svg",{...Object.entries(a).reduce((e,[t,r])=>(e[i(t)]=r,e),{}),..."color"in t&&t.color&&{[i("stroke")]:t.color},..."size"in t&&null!=t.size&&{[i("width")]:t.size,[i("height")]:t.size},..."width"in t&&null!=t.width&&{[i("width")]:t.width},..."height"in t&&null!=t.height&&{[i("height")]:t.height},[i("stroke-width")]:f,...u&&{[i("class")]:u},[i("viewBox")]:`0 0 ${n} ${l}`,...!1===t.hasA11yProp?{[i("aria-hidden")]:"true"}:{},..."attributes"in t&&t.attributes},e.node.map(e=>{let[r,a,s]=e,n=t.nonScalingStroke?{[i("vector-effect")]:"non-scaling-stroke",...a}:a;return s?[r,n,s]:[r,n]})]}(e,{...t,attributeNames:{...t.attributeNames,class:"className","stroke-width":"strokeWidth","stroke-linecap":"strokeLinecap","stroke-linejoin":"strokeLinejoin","vector-effect":"vectorEffect"}})}(g,{color:e??k,width:n??i??p,height:l??i??p,strokeWidth:o??b,absoluteStrokeWidth:d??v,nonScalingStroke:c??y,className:r(w,u),hasA11yProp:j,attributes:h});return(0,t.createElement)(C,{ref:x,...N},[...M.map(([e,r])=>(0,t.createElement)(e,r)),...Array.isArray(f)?f:[f]])});e.s(["default",0,function(e,r=[],a=[]){let s,n="string"==typeof e?function(e,t,r=[]){if(null==t)throw Error("[lucide]: iconNode is required when icon name is used");return{name:e?.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),size:24,node:t,...r.length>0?{aliases:r}:{}}}(e,r,a):e,l=(0,t.forwardRef)(({className:e,...r},a)=>(0,t.createElement)(i,{ref:a,icon:n,className:e,...r}));return n.name&&(l.displayName=(s=(e=>{let t="",r=!1;for(let a of e){if("-"===a||"_"===a||a<=" "){r=t.length>0;continue}0===t.length?t+=a.toLowerCase():t+=r?a.toUpperCase():a,r=!1}return t})(n.name)).charAt(0).toUpperCase()+s.slice(1)),l}],5270)},60121,(e,t,r)=>{"use strict";var a=e.r(91788),s="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=a.useState,n=a.useEffect,l=a.useLayoutEffect,o=a.useDebugValue;function d(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!s(e,r)}catch(e){return!0}}var c="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),a=i({inst:{value:r,getSnapshot:t}}),s=a[0].inst,c=a[1];return l(function(){s.value=r,s.getSnapshot=t,d(s)&&c({inst:s})},[e,r,t]),n(function(){return d(s)&&c({inst:s}),e(function(){d(s)&&c({inst:s})})},[e]),o(r),r};r.useSyncExternalStore=void 0!==a.useSyncExternalStore?a.useSyncExternalStore:c},90979,(e,t,r)=>{"use strict";e.i(50461),t.exports=e.r(60121)}]);
@@ -1,12 +1,12 @@
1
1
  __turbopack_load_page_chunks__("/log-in", [
2
2
  "static/chunks/1e4_28-3u5o85.js",
3
3
  "static/chunks/45cd4ypk94sw2.js",
4
- "static/chunks/3rnl7-84z1op5.js",
4
+ "static/chunks/3sktz8258so64.js",
5
5
  "static/chunks/38pz7fmyf6ay0.js",
6
- "static/chunks/2-4ng9fxftmld.js",
6
+ "static/chunks/06tejx8u1_0kg.js",
7
7
  "static/chunks/2hm0mbq0vtqmw.js",
8
8
  "static/chunks/252jebodi67kg.js",
9
- "static/chunks/036jcj4okqca4.js",
10
- "static/chunks/3ghzaufs2n8uq.js",
11
- "static/chunks/turbopack-34rebh56g2zjd.js"
9
+ "static/chunks/2-4ng9fxftmld.js",
10
+ "static/chunks/2t724bghemjmf.js",
11
+ "static/chunks/turbopack-2kbsoz95aykk8.js"
12
12
  ])
@@ -1,16 +1,16 @@
1
1
  __turbopack_load_page_chunks__("/enrollments", [
2
2
  "static/chunks/0uw9cbq0ivaz0.js",
3
3
  "static/chunks/38pz7fmyf6ay0.js",
4
- "static/chunks/3bxtyo0u_psf7.js",
4
+ "static/chunks/36yth4lm03_j8.js",
5
5
  "static/chunks/2kbieaechn8m8.js",
6
6
  "static/chunks/2nn3_f04lnr0b.js",
7
7
  "static/chunks/252jebodi67kg.js",
8
8
  "static/chunks/2jtk4-i4e9lug.js",
9
- "static/chunks/3ghzaufs2n8uq.js",
10
- "static/chunks/3rnl7-84z1op5.js",
9
+ "static/chunks/2t724bghemjmf.js",
10
+ "static/chunks/3sktz8258so64.js",
11
11
  "static/chunks/2hm0mbq0vtqmw.js",
12
12
  "static/chunks/0ukyxgmnqos6o.js",
13
- "static/chunks/036jcj4okqca4.js",
13
+ "static/chunks/06tejx8u1_0kg.js",
14
14
  "static/chunks/458tg2eg5h8j5.js",
15
- "static/chunks/turbopack-0cu-maxx6s175.js"
15
+ "static/chunks/turbopack-2x4qn8b3l97el.js"
16
16
  ])
@@ -1,17 +1,17 @@
1
1
  __turbopack_load_page_chunks__("/orders", [
2
2
  "static/chunks/0uw9cbq0ivaz0.js",
3
3
  "static/chunks/38pz7fmyf6ay0.js",
4
- "static/chunks/3bxtyo0u_psf7.js",
5
- "static/chunks/3rnl7-84z1op5.js",
4
+ "static/chunks/36yth4lm03_j8.js",
5
+ "static/chunks/2kbieaechn8m8.js",
6
6
  "static/chunks/2qprgjhjl8d4c.js",
7
- "static/chunks/3ghzaufs2n8uq.js",
7
+ "static/chunks/3sktz8258so64.js",
8
8
  "static/chunks/3v1dxn4rp-o3v.js",
9
+ "static/chunks/2jtk4-i4e9lug.js",
9
10
  "static/chunks/252jebodi67kg.js",
10
- "static/chunks/2kbieaechn8m8.js",
11
11
  "static/chunks/2hm0mbq0vtqmw.js",
12
12
  "static/chunks/2w5y5xf0nriwx.js",
13
- "static/chunks/036jcj4okqca4.js",
13
+ "static/chunks/06tejx8u1_0kg.js",
14
14
  "static/chunks/1cgxgd2cf8u3j.js",
15
- "static/chunks/2jtk4-i4e9lug.js",
16
- "static/chunks/turbopack-42akqkt4irsps.js"
15
+ "static/chunks/2t724bghemjmf.js",
16
+ "static/chunks/turbopack-25n3ygfcffvqv.js"
17
17
  ])
@@ -0,0 +1,28 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,69322,15845,e=>{"use strict";var t,r,i,n,s,o=e.i(91788);function a(e,t){let r=t&&t.cache?t.cache:m,i=t&&t.serializer?t.serializer:u;return(t&&t.strategy?t.strategy:function(e,t){var r,i;let n=1===e.length?h:l;return r=t.cache.create(),i=t.serializer,n.bind(this,e,r,i)})(e,{cache:r,serializer:i})}function h(e,t,r,i){let n=null==i||"number"==typeof i||"boolean"==typeof i?i:r(i),s=t.get(n);return void 0===s&&(s=e.call(this,i),t.set(n,s)),s}function l(e,t,r){let i=Array.prototype.slice.call(arguments,3),n=r(i),s=t.get(n);return void 0===s&&(s=e.apply(this,i),t.set(n,s)),s}let u=function(){return JSON.stringify(arguments)};var c=class{constructor(){this.cache=Object.create(null)}get(e){return this.cache[e]}set(e,t){this.cache[e]=t}};let m={create:function(){return new c}},f={variadic:function(e,t){var r,i;return r=t.cache.create(),i=t.serializer,l.bind(this,e,r,i)},monadic:function(e,t){var r,i;return r=t.cache.create(),i=t.serializer,h.bind(this,e,r,i)}};e.s(["memoize",0,a,"strategies",0,f],15845);let p=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g,g=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,d=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,b=/^(@+)?(\+|#+)?[rs]?$/g,y=/(\*)(0+)|(#+)(0+)|(0+)/g,E=/^(0+)$/;function H(e){let t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(b,function(e,r,i){return"string"!=typeof i?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):"+"===i?t.minimumSignificantDigits=r.length:"#"===r[0]?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+("string"==typeof i?i.length:0)),""}),t}function B(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function T(e){let t=B(e);return t||{}}let I=((t={})[t.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",t[t.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",t[t.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",t[t.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",t[t.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",t[t.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",t[t.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",t[t.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",t[t.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",t[t.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",t[t.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",t[t.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",t[t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",t[t.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",t[t.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",t[t.INVALID_TAG=23]="INVALID_TAG",t[t.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",t[t.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",t[t.UNCLOSED_TAG=27]="UNCLOSED_TAG",t),P=((r={})[r.literal=0]="literal",r[r.argument=1]="argument",r[r.number=2]="number",r[r.date=3]="date",r[r.time=4]="time",r[r.select=5]="select",r[r.plural=6]="plural",r[r.pound=7]="pound",r[r.tag=8]="tag",r);function S(e){return!!(e&&"object"==typeof e&&0===e.type)}function N(e){return!!(e&&"object"==typeof e&&1===e.type)}let A=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,L={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GS:["H","h","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ku-SY":["H","hB"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]},D=RegExp(`^${A.source}*`),_=RegExp(`${A.source}*$`);function v(e,t){return{start:e,end:t}}let M=!!Object.fromEntries,R=!!String.prototype.trimStart,w=!!String.prototype.trimEnd,O=M?Object.fromEntries:function(e){let t={};for(let[r,i]of e)t[r]=i;return t},F=R?function(e){return e.trimStart()}:function(e){return e.replace(D,"")},C=w?function(e){return e.trimEnd()}:function(e){return e.replace(_,"")},U=RegExp("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");var G=class{constructor(e,t={}){this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}parse(){if(0!==this.offset())throw Error("parser can only be used once");if(this.message.length>0){let e=this.message.charCodeAt(0);if(35!==e&&39!==e&&60!==e&&123!==e&&125!==e){let e=function(e){if(0===e.length)return null;let t=1,r=1;for(let i=0;i<e.length;){let n=e.charCodeAt(i);switch(n){case 35:case 39:case 60:case 123:case 125:return null}if(10===n)t++,r=1,i++;else if(r++,n>=55296&&n<=56319&&i+1<e.length){let t=e.charCodeAt(i+1);i+=t>=56320&&t<=57343?2:1}else i++}return{offset:e.length,line:t,column:r}}(this.message);if(e){let t=this.clonePosition();return this.position=e,{val:[{type:0,value:this.message,location:v(t,this.clonePosition())}],err:null}}}}return this.parseMessage(0,"",!1)}parseMessage(e,t,r){let i=[];for(;!this.isEOF();){let n=this.char();if(123===n){let t=this.parseArgument(e,r);if(t.err)return t;i.push(t.val)}else if(125===n&&e>0)break;else if(35===n&&("plural"===t||"selectordinal"===t)){let e=this.clonePosition();this.bump(),i.push({type:7,location:v(e,this.clonePosition())})}else if(60!==n||this.ignoreTag||47!==this.peek())if(60===n&&!this.ignoreTag&&k(this.peek()||0)){let r=this.parseTag(e,t);if(r.err)return r;i.push(r.val)}else{let r=this.parseLiteral(e,t);if(r.err)return r;i.push(r.val)}else if(!r)return this.error(26,v(this.clonePosition(),this.clonePosition()));else break}return{val:i,err:null}}parseTag(e,t){let r=this.clonePosition();this.bump();let i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:0,value:`<${i}/>`,location:v(r,this.clonePosition())},err:null};if(!this.bumpIf(">"))return this.error(23,v(r,this.clonePosition()));{let n=this.parseMessage(e+1,t,!0);if(n.err)return n;let s=n.val,o=this.clonePosition();if(!this.bumpIf("</"))return this.error(27,v(r,this.clonePosition()));{if(this.isEOF()||!k(this.char()))return this.error(23,v(o,this.clonePosition()));let e=this.clonePosition();return i!==this.parseTagName()?this.error(26,v(e,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">"))?{val:{type:8,value:i,children:s,location:v(r,this.clonePosition())},err:null}:this.error(23,v(o,this.clonePosition()))}}}parseTagName(){var e;let t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())}parseLiteral(e,t){let r=this.clonePosition(),i="";for(;;){let r=this.tryParseQuote(t);if(r){i+=r;continue}let n=this.tryParseUnquoted(e,t);if(n){i+=n;continue}let s=this.tryParseLeftAngleBracket();if(s){i+=s;continue}break}return{val:{type:0,value:i,location:v(r,this.clonePosition())},err:null}}tryParseLeftAngleBracket(){var e;return this.isEOF()||60!==this.char()||!this.ignoreTag&&(k(e=this.peek()||0)||47===e)?null:(this.bump(),"<")}tryParseQuote(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();let t=[this.char()];for(this.bump();!this.isEOF();){let e=this.char();if(39===e)if(39===this.peek())t.push(39),this.bump();else{this.bump();break}else t.push(e);this.bump()}return String.fromCodePoint(...t)}tryParseUnquoted(e,t){if(this.isEOF())return null;let r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&e>0?null:(this.bump(),String.fromCodePoint(r))}parseArgument(e,t){let r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(1,v(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(2,v(r,this.clonePosition()));let i=this.parseIdentifierIfPossible().value;if(!i)return this.error(3,v(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(1,v(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:1,value:i,location:v(r,this.clonePosition())},err:null};case 44:if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(1,v(r,this.clonePosition()));return this.parseArgumentOptions(e,t,i,r);default:return this.error(3,v(r,this.clonePosition()))}}parseIdentifierIfPossible(){var e;let t=this.clonePosition(),r=this.offset(),i=(e=this.message,U.lastIndex=r,U.exec(e)[1]??""),n=r+i.length;return this.bumpTo(n),{value:i,location:v(t,this.clonePosition())}}parseArgumentOptions(e,t,r,i){let n=this.clonePosition(),s=this.parseIdentifierIfPossible().value,o=this.clonePosition();switch(s){case"":return this.error(4,v(n,o));case"number":case"date":case"time":{this.bumpSpace();let e=null;if(this.bumpIf(",")){this.bumpSpace();let t=this.clonePosition(),r=this.parseSimpleArgStyleIfPossible();if(r.err)return r;let i=C(r.val);if(0===i.length)return this.error(6,v(this.clonePosition(),this.clonePosition()));e={style:i,styleLocation:v(t,this.clonePosition())}}let t=this.tryParseArgumentClose(i);if(t.err)return t;let n=v(i,this.clonePosition());if(e&&e.style.startsWith("::")){let t=F(e.style.slice(2));if("number"===s){let i=this.parseNumberSkeletonFromString(t,e.styleLocation);if(i.err)return i;return{val:{type:2,value:r,location:n,style:i.val},err:null}}{let i;if(0===t.length)return this.error(10,n);let o=t;return this.locale&&(o=function(e,t){let r="";for(let i=0;i<e.length;i++){let n=e.charAt(i);if("j"===n){let s=0;for(;i+1<e.length&&e.charAt(i+1)===n;)s++,i++;let o=1+(1&s),a=s<2?1:3+(s>>1),h=function(e){let t,r=e.hourCycle;if(void 0===r&&(r=e.getHourCycles?.()[0]??e.hourCycles?.[0]),r)switch(r){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw Error("Invalid hourCycle")}let i=e.language;return"root"!==i&&(t=e.maximize().region),(L[`${i}-${t}`]||L[t||""]||L[i||""]||L[`${i}-001`]||L["001"])[0].charAt(0)}(t);for(("H"==h||"k"==h)&&(a=0);a-- >0;)r+="a";for(;o-- >0;)r=h+r}else"J"===n?r+="H":r+=n}return r}(t,this.locale)),{val:{type:"date"===s?3:4,value:r,location:n,style:{type:1,pattern:o,location:e.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},o.replace(p,e=>{let t=e.length;switch(e[0]){case"G":i.era=4===t?"long":5===t?"narrow":"short";break;case"y":i.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":i.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw RangeError("`w/W` (week) patterns are not supported");case"d":i.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":i.weekday=4===t?"long":5===t?"narrow":"short";break;case"e":if(t<4)throw RangeError("`e..eee` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-3];break;case"c":if(t<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-3];break;case"a":i.hour12=!0;break;case"b":case"B":throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":i.hourCycle="h12",i.hour=["numeric","2-digit"][t-1];break;case"H":i.hourCycle="h23",i.hour=["numeric","2-digit"][t-1];break;case"K":i.hourCycle="h11",i.hour=["numeric","2-digit"][t-1];break;case"k":i.hourCycle="h24",i.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":i.minute=["numeric","2-digit"][t-1];break;case"s":i.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":i.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),i):{}}},err:null}}}return{val:{type:"number"===s?2:"date"===s?3:4,value:r,location:n,style:e?.style??null},err:null}}case"plural":case"selectordinal":case"select":{let n=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(12,v(n,{...n}));this.bumpSpace();let o=this.parseIdentifierIfPossible(),a=0;if("select"!==s&&"offset"===o.value){if(!this.bumpIf(":"))return this.error(13,v(this.clonePosition(),this.clonePosition()));this.bumpSpace();let e=this.tryParseDecimalInteger(13,14);if(e.err)return e;this.bumpSpace(),o=this.parseIdentifierIfPossible(),a=e.val}let h=this.tryParsePluralOrSelectOptions(e,s,t,o);if(h.err)return h;let l=this.tryParseArgumentClose(i);if(l.err)return l;let u=v(i,this.clonePosition());if("select"===s)return{val:{type:5,value:r,options:O(h.val),location:u},err:null};return{val:{type:6,value:r,options:O(h.val),offset:a,pluralType:"plural"===s?"cardinal":"ordinal",location:u},err:null}}default:return this.error(5,v(n,o))}}tryParseArgumentClose(e){return this.isEOF()||125!==this.char()?this.error(1,v(e,this.clonePosition())):(this.bump(),{val:!0,err:null})}parseSimpleArgStyleIfPossible(){let e=0,t=this.clonePosition();for(;!this.isEOF();)switch(this.char()){case 39:{this.bump();let e=this.clonePosition();if(!this.bumpUntil("'"))return this.error(11,v(e,this.clonePosition()));this.bump();break}case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}}parseNumberSkeletonFromString(e,t){let r=[];try{r=function(e){if(0===e.length)throw Error("Number skeleton cannot be empty");let t=e.split(g).filter(e=>e.length>0),r=[];for(let e of t){let t=e.split("/");if(0===t.length)throw Error("Invalid number skeleton");let[i,...n]=t;for(let e of n)if(0===e.length)throw Error("Invalid number skeleton");r.push({stem:i,options:n})}return r}(e)}catch{return this.error(7,t)}return{val:{type:0,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?function(e){let t={};for(let r of e){switch(r.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=r.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=r.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t={...t,notation:"scientific",...r.options.reduce((e,t)=>({...e,...T(t)}),{})};continue;case"engineering":t={...t,notation:"engineering",...r.options.reduce((e,t)=>({...e,...T(t)}),{})};continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(r.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(r.options.length>1)throw RangeError("integer-width stems only accept a single optional option");r.options[0].replace(y,function(e,r,i,n,s,o){if(r)t.minimumIntegerDigits=i.length;else if(n&&s)throw Error("We currently do not support maximum integer digits");else if(o)throw Error("We currently do not support exact integer digits");return""});continue}if(E.test(r.stem)){t.minimumIntegerDigits=r.stem.length;continue}if(d.test(r.stem)){if(r.options.length>1)throw RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(d,function(e,r,i,n,s,o){return"*"===i?t.minimumFractionDigits=r.length:n&&"#"===n[0]?t.maximumFractionDigits=n.length:s&&o?(t.minimumFractionDigits=s.length,t.maximumFractionDigits=s.length+o.length):(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length),""});let e=r.options[0];"w"===e?t={...t,trailingZeroDisplay:"stripIfInteger"}:e&&(t={...t,...H(e)});continue}if(b.test(r.stem)){t={...t,...H(r.stem)};continue}let e=B(r.stem);e&&(t={...t,...e});let i=function(e){let t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){let r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!E.test(e))throw Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(r.stem);i&&(t={...t,...i})}return t}(r):{}},err:null}}tryParsePluralOrSelectOptions(e,t,r,i){let n=!1,s=[],o=new Set,{value:a,location:h}=i;for(;;){if(0===a.length){let e=this.clonePosition();if("select"!==t&&this.bumpIf("=")){let t=this.tryParseDecimalInteger(16,19);if(t.err)return t;h=v(e,this.clonePosition()),a=this.message.slice(e.offset,this.offset())}else break}if(o.has(a))return this.error("select"===t?21:20,h);"other"===a&&(n=!0),this.bumpSpace();let i=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?17:18,v(this.clonePosition(),this.clonePosition()));let l=this.parseMessage(e+1,t,r);if(l.err)return l;let u=this.tryParseArgumentClose(i);if(u.err)return u;s.push([a,{value:l.val,location:v(i,this.clonePosition())}]),o.add(a),this.bumpSpace(),{value:a,location:h}=this.parseIdentifierIfPossible()}return 0===s.length?this.error("select"===t?15:16,v(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!n?this.error(22,v(this.clonePosition(),this.clonePosition())):{val:s,err:null}}tryParseDecimalInteger(e,t){let r=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);let n=!1,s=0;for(;!this.isEOF();){let e=this.char();if(e>=48&&e<=57)n=!0,s=10*s+(e-48),this.bump();else break}let o=v(i,this.clonePosition());return n?Number.isSafeInteger(s*=r)?{val:s,err:null}:this.error(t,o):this.error(e,o)}offset(){return this.position.offset}isEOF(){return this.offset()===this.message.length}clonePosition(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}}char(){let e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");let t=this.message.codePointAt(e);if(void 0===t)throw Error(`Offset ${e} is at invalid UTF-16 code unit boundary`);return t}error(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}}bump(){if(this.isEOF())return;let e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}bumpIf(e){if(this.message.startsWith(e,this.offset())){for(let t=0;t<e.length;t++)this.bump();return!0}return!1}bumpUntil(e){let t=this.offset(),r=this.message.indexOf(e,t);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)}bumpTo(e){if(this.offset()>e)throw Error(`targetOffset ${e} must be greater than or equal to the current offset ${this.offset()}`);for(e=Math.min(e,this.message.length);;){let t=this.offset();if(t===e)break;if(t>e)throw Error(`targetOffset ${e} is at invalid UTF-16 code unit boundary`);if(this.bump(),this.isEOF())break}}bumpSpace(){for(var e;!this.isEOF()&&((e=this.char())>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e);)this.bump()}peek(){if(this.isEOF())return null;let e=this.char(),t=this.offset();return this.message.charCodeAt(t+(e>=65536?2:1))??null}};function k(e){return e>=97&&e<=122||e>=65&&e<=90}function x(e,t={}){let r=new G(e,t={shouldParseSkeletons:!0,requiresOtherClause:!0,...t}).parse();if(r.err){let e=SyntaxError(I[r.err.kind]);throw e.location=r.err.location,e.originalMessage=r.err.message,e}return t?.captureLocation||function e(t){t.forEach(t=>{if(delete t.location,5===t.type||6===t.type)for(let r in t.options)delete t.options[r].location,e(t.options[r].value);else 2===t.type&&S(t.style)||(3===t.type||4===t.type)&&N(t.style)?delete t.style.location:8===t.type&&e(t.children)})}(r.val),r.val}let $=((i={}).MISSING_VALUE="MISSING_VALUE",i.INVALID_VALUE="INVALID_VALUE",i.MISSING_INTL_API="MISSING_INTL_API",i);var j=class extends Error{constructor(e,t,r){super(e),this.code=t,this.originalMessage=r}toString(){return`[formatjs Error: ${this.code}] ${this.message}`}},V=class extends j{constructor(e,t,r,i){super(`Invalid values for "${e}": "${t}". Options are "${Object.keys(r).join('", "')}"`,"INVALID_VALUE",i)}},K=class extends j{constructor(e,t,r){super(`Value for "${e}" must be of type ${t}`,"INVALID_VALUE",r)}},Z=class extends j{constructor(e,t){super(`The intl string context variable "${e}" was not provided to the string "${t}"`,"MISSING_VALUE",t)}};function X(e){return"function"==typeof e}function Y(e){return{create:()=>({get:t=>e[t],set(t,r){e[t]=r}})}}var W=class e{constructor(t,r=e.defaultLocale,i,n){if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=e=>{let t=this.formatToParts(e);if(1===t.length)return t[0].value;let r=t.reduce((e,t)=>(e.length&&0===t.type&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e),[]);return r.length<=1?r[0]||"":r},this.formatToParts=e=>(function e(t,r,i,n,s,o,a){if(1===t.length&&0===t[0].type)return[{type:0,value:t[0].value}];let h=[];for(let l of t){if(0===l.type){h.push({type:0,value:l.value});continue}if(7===l.type){"number"==typeof o&&h.push({type:0,value:i.getNumberFormat(r).format(o)});continue}let{value:t}=l;if(!(s&&t in s))throw new Z(t,a);let u=s[t];if(1===l.type){u&&"string"!=typeof u&&"number"!=typeof u&&"bigint"!=typeof u||(u="string"==typeof u||"number"==typeof u||"bigint"==typeof u?String(u):""),h.push({type:+("string"!=typeof u),value:u});continue}if(3===l.type){let e="string"==typeof l.style?n.date[l.style]:N(l.style)?l.style.parsedOptions:void 0;h.push({type:0,value:i.getDateTimeFormat(r,e).format(u)});continue}if(4===l.type){let e="string"==typeof l.style?n.time[l.style]:N(l.style)?l.style.parsedOptions:n.time.medium;h.push({type:0,value:i.getDateTimeFormat(r,e).format(u)});continue}if(2===l.type){let e="string"==typeof l.style?n.number[l.style]:S(l.style)?l.style.parsedOptions:void 0;if(e&&e.scale){let t=e.scale||1;if("bigint"==typeof u){if(!Number.isInteger(t))throw TypeError(`Cannot apply fractional scale ${t} to bigint value. Scale must be an integer when formatting bigint.`);u*=BigInt(t)}else u*=t}h.push({type:0,value:i.getNumberFormat(r,e).format(u)});continue}if(8===l.type){let{children:t,value:u}=l,c=s[u];if(!X(c))throw new K(u,"function",a);let m=c(e(t,r,i,n,s,o).map(e=>e.value));Array.isArray(m)||(m=[m]),h.push(...m.map(e=>({type:+("string"!=typeof e),value:e})))}if(5===l.type){let t=u,o=(Object.prototype.hasOwnProperty.call(l.options,t)?l.options[t]:void 0)||l.options.other;if(!o)throw new V(l.value,u,Object.keys(l.options),a);h.push(...e(o.value,r,i,n,s));continue}if(6===l.type){let t=`=${u}`,o=Object.prototype.hasOwnProperty.call(l.options,t)?l.options[t]:void 0;if(!o){if(!Intl.PluralRules)throw new j(`Intl.PluralRules is not available in this environment.
2
+ Try polyfilling it using "@formatjs/intl-pluralrules"
3
+ `,"MISSING_INTL_API",a);let e="bigint"==typeof u?Number(u):u,t=i.getPluralRules(r,{type:l.pluralType}).select(e-(l.offset||0));o=(Object.prototype.hasOwnProperty.call(l.options,t)?l.options[t]:void 0)||l.options.other}if(!o)throw new V(l.value,u,Object.keys(l.options),a);let c="bigint"==typeof u?Number(u):u;h.push(...e(o.value,r,i,n,s,c-(l.offset||0)));continue}}return h.length<2?h:h.reduce((e,t)=>{let r=e[e.length-1];return r&&0===r.type&&0===t.type?r.value+=t.value:e.push(t),e},[])})(this.ast,this.locales,this.formatters,this.formats,e,void 0,this.message),this.resolvedOptions=()=>({locale:this.resolvedLocale?.toString()||Intl.NumberFormat.supportedLocalesOf(this.locales)[0]}),this.getAst=()=>this.ast,this.locales=r,this.resolvedLocale=e.resolveLocale(r),"string"==typeof t){if(this.message=t,!e.__parse)throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");const{...r}=n||{};this.ast=e.__parse(t,{...r,locale:this.resolvedLocale})}else this.ast=t;if(!Array.isArray(this.ast))throw TypeError("A message must be provided as a String or AST.");this.formats=function(e,t){return t?Object.keys(e).reduce((r,i)=>{var n,s;return r[i]=(n=e[i],(s=t[i])?{...n,...s,...Object.keys(n).reduce((e,t)=>(e[t]={...n[t],...s[t]},e),{})}:n),r},{...e}):e}(e.formats,i),this.formatters=n&&n.formatters||function(e={number:{},dateTime:{},pluralRules:{}}){return{getNumberFormat:a((...e)=>new Intl.NumberFormat(...e),{cache:Y(e.number),strategy:f.variadic}),getDateTimeFormat:a((...e)=>new Intl.DateTimeFormat(...e),{cache:Y(e.dateTime),strategy:f.variadic}),getPluralRules:a((...e)=>new Intl.PluralRules(...e),{cache:Y(e.pluralRules),strategy:f.variadic})}}(this.formatterCache)}static{this.memoizedDefaultLocale=null}static get defaultLocale(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale}static{this.resolveLocale=e=>{if(void 0===Intl.Locale)return;let t=Intl.NumberFormat.supportedLocalesOf(e);return new Intl.Locale(t.length>0?t[0]:"string"==typeof e?e:e[0])}}static{this.__parse=x}static{this.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}}}},z=class e extends Error{constructor(t,r,i){const n=i?i instanceof Error?i:Error(String(i)):void 0;super(`[@formatjs/intl Error ${t}] ${r}
4
+ ${n?`
5
+ ${n.message}
6
+ ${n.stack}`:""}`),this.code=t,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,e)}},J=class extends z{constructor(e,t){super("UNSUPPORTED_FORMATTER",e,t)}},q=class extends z{constructor(e,t){super("INVALID_CONFIG",e,t)}},Q=class extends z{constructor(e,t){super("MISSING_DATA",e,t)}},ee=class extends z{constructor(e,t,r){super("FORMAT_ERROR",`${e}
7
+ Locale: ${t}
8
+ `,r),this.locale=t}},et=class extends ee{constructor(e,t,r,i){super(`${e}
9
+ MessageID: ${r?.id}
10
+ Default Message: ${r?.defaultMessage}
11
+ Description: ${r?.description}
12
+ `,t,i),this.descriptor=r,this.locale=t}},er=class extends z{constructor(e,t){super("MISSING_TRANSLATION",`Missing message: "${e.id}" for locale "${t}", using ${e.defaultMessage?`default message (${"string"==typeof e.defaultMessage?e.defaultMessage:e.defaultMessage.map(e=>e.value??JSON.stringify(e)).join()})`:"id"} as fallback.`),this.descriptor=e}};function ei(e,t,r={}){return t.reduce((t,i)=>(i in e?t[i]=e[i]:i in r&&(t[i]=r[i]),t),{})}let en={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:e=>{},onWarn:e=>{}};function es(){return{dateTime:{},number:{},message:{},duration:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function eo(e){return{create:()=>({get:t=>e[t],set(t,r){e[t]=r}})}}function ea(e,t,r,i){let n,s=e&&e[t];if(s&&(n=s[r]),n)return n;i(new J(`No ${t} format named: ${r}`))}function eh(e,t){return Object.keys(e).reduce((r,i)=>(r[i]={timeZone:t,...e[i]},r),{})}function el(e,t){return Object.keys({...e,...t}).reduce((r,i)=>(r[i]={...e[i],...t[i]},r),{})}function eu(e,t){if(!t)return e;let r=W.formats;return{...r,...e,date:el(eh(r.date,t),eh(e.date||{},t)),time:el(eh(r.time,t),eh(e.time||{},t))}}let ec=({locale:e,formats:t,messages:r,defaultLocale:i,defaultFormats:n,fallbackOnEmptyString:s,onError:o,timeZone:a,defaultRichTextElements:h},l,u={id:""},c,m)=>{let{id:f,defaultMessage:p}=u;f||function(e,t,r=Error){if(!e)throw new r(t)}(!1,`[@formatjs/intl] An \`id\` must be provided to format a message. You can either:
13
+ 1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.github.io/docs/tooling/babel-plugin)
14
+ or [@formatjs/ts-transformer](https://formatjs.github.io/docs/tooling/ts-transformer) OR
15
+ 2. Configure your \`eslint\` config to include [eslint-plugin-formatjs](https://formatjs.github.io/docs/tooling/linter#enforce-id)
16
+ to autofix this issue${function(e){let{defaultMessage:t}=e;try{return void 0!==t?`
17
+ Default Message: ${"string"==typeof t?t:JSON.stringify(t)}`:`
18
+ Message Descriptor: ${JSON.stringify(e)}`}catch{return""}}(u)}`);let g=String(f),d=r&&Object.prototype.hasOwnProperty.call(r,g)&&r[g];if(Array.isArray(d)&&1===d.length&&d[0].type===P.literal)return d[0].value;if(c={...h,...c},t=eu(t,a),n=eu(n,a),!d){if(!1===s&&""===d)return d;if((!p||e&&e.toLowerCase()!==i.toLowerCase())&&o(new er(u,e)),p)try{return l.getMessageFormat(p,i,n,m).format(c)}catch(t){return o(new et(`Error formatting default message for: "${g}", rendering default message verbatim`,e,u,t)),"string"==typeof p?p:g}return g}try{return l.getMessageFormat(d,e,t,{formatters:l,...m}).format(c)}catch(t){o(new et(`Error formatting message: "${g}", using ${p?"default message":"id"} as fallback.`,e,u,t))}if(p)try{return l.getMessageFormat(p,i,n,m).format(c)}catch(t){o(new et(`Error formatting the default message for: "${g}", rendering message verbatim`,e,u,t))}return"string"==typeof d?d:"string"==typeof p?p:g},em=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function ef({locale:e,formats:t,onError:r,timeZone:i},n,s,o={}){let{format:a}=o,h=ei(o,em,{...i&&{timeZone:i},...a&&ea(t,n,a,r)});return"time"!==n||h.hour||h.minute||h.second||h.timeStyle||h.dateStyle||(h={...h,hour:"numeric",minute:"numeric"}),s(e,h)}function ep(e,t,r,i={}){let n="string"==typeof r?new Date(r||0):r;try{return ef(e,"date",t,i).format(n)}catch(t){e.onError(new ee("Error formatting date.",e.locale,t))}return String(n)}function eg(e,t,r,i={}){let n="string"==typeof r?new Date(r||0):r;try{return ef(e,"time",t,i).format(n)}catch(t){e.onError(new ee("Error formatting time.",e.locale,t))}return String(n)}function ed(e,t,r,i,n={}){let s="string"==typeof r?new Date(r||0):r,o="string"==typeof i?new Date(i||0):i;try{return ef(e,"dateTimeRange",t,n).formatRange(s,o)}catch(t){e.onError(new ee("Error formatting date time range.",e.locale,t))}return String(s)}function eb(e,t,r,i={}){let n="string"==typeof r?new Date(r||0):r;try{return ef(e,"date",t,i).formatToParts(n)}catch(t){e.onError(new ee("Error formatting date.",e.locale,t))}return[]}function ey(e,t,r,i={}){let n="string"==typeof r?new Date(r||0):r;try{return ef(e,"time",t,i).formatToParts(n)}catch(t){e.onError(new ee("Error formatting time.",e.locale,t))}return[]}let eE=["style","numberingSystem","years","yearsDisplay","months","monthsDisplay","weeks","weeksDisplay","days","daysDisplay","hours","hoursDisplay","minutes","minutesDisplay","seconds","secondsDisplay","milliseconds","millisecondsDisplay","microseconds","microsecondsDisplay","nanoseconds","nanosecondsDisplay","fractionalDigits"];function eH({locale:e,formats:t,onError:r},i,n){if(!Intl.DurationFormat)return void r(new j('Intl.DurationFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-durationformat"',$.MISSING_INTL_API));let{format:s}=n;return i(e,ei(n,eE,s&&ea(t,"duration",s,r)||{}))}function eB(e,t,r,i={}){try{return eH(e,t,i)?.format(r)??""}catch(t){e.onError(new ee("Error formatting duration.",e.locale,t))}return""}function eT(e,t,r,i={}){try{return eH(e,t,i)?.formatToParts(r)??[]}catch(t){e.onError(new ee("Error formatting duration.",e.locale,t))}return[]}let eI=["style","type","fallback","languageDisplay"];function eP({locale:e,onError:t},r,i,n){Intl.DisplayNames||t(new j(`Intl.DisplayNames is not available in this environment.
19
+ Try polyfilling it using "@formatjs/intl-displaynames"
20
+ `,$.MISSING_INTL_API));let s=ei(n,eI);try{return r(e,s).of(i)}catch(r){t(new ee("Error formatting display name.",e,r))}}let eS=["type","style"],eN=Date.now();function eA(e,t,r,i={}){let n=eL(e,t,r,i).reduce((e,t)=>{let r=t.value;return"string"!=typeof r?e.push(r):"string"==typeof e[e.length-1]?e[e.length-1]+=r:e.push(r),e},[]);return 1===n.length?n[0]:0===n.length?"":n}function eL({locale:e,onError:t},r,i,n={}){Intl.ListFormat||t(new j(`Intl.ListFormat is not available in this environment.
21
+ Try polyfilling it using "@formatjs/intl-listformat"
22
+ `,$.MISSING_INTL_API));let s=ei(n,eS);try{let t={},n=Array.from(i).map((e,r)=>{if("object"==typeof e&&null!==e){let i=`${eN}_${r}_${eN}`;return t[i]=e,i}return String(e)});return r(e,s).formatToParts(n).map(e=>"literal"===e.type?e:{...e,value:t[e.value]||e.value})}catch(r){t(new ee("Error formatting list.",e,r))}return i}let eD=["type"];function e_({locale:e,onError:t},r,i,n={}){Intl.PluralRules||t(new j(`Intl.PluralRules is not available in this environment.
23
+ Try polyfilling it using "@formatjs/intl-pluralrules"
24
+ `,$.MISSING_INTL_API));let s=ei(n,eD);try{return r(e,s).select(i)}catch(r){t(new ee("Error formatting plural.",e,r))}return"other"}let ev=["numeric","style"];function eM(e,t,r,i,n={}){i||(i="second"),Intl.RelativeTimeFormat||e.onError(new j(`Intl.RelativeTimeFormat is not available in this environment.
25
+ Try polyfilling it using "@formatjs/intl-relativetimeformat"
26
+ `,$.MISSING_INTL_API));try{return(function({locale:e,formats:t,onError:r},i,n={}){let{format:s}=n;return i(e,ei(n,ev,!!s&&ea(t,"relative",s,r)||{}))})(e,t,n).format(r,i)}catch(t){e.onError(new ee("Error formatting relative time.",e.locale,t))}return String(r)}let eR=["style","currency","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem","trailingZeroDisplay","roundingPriority","roundingIncrement","roundingMode"];function ew({locale:e,formats:t,onError:r},i,n={}){let{format:s}=n;return i(e,ei(n,eR,s&&ea(t,"number",s,r)||{}))}function eO(e,t,r,i={}){try{return ew(e,t,i).format(r)}catch(t){e.onError(new ee("Error formatting number.",e.locale,t))}return String(r)}function eF(e,t,r,i={}){try{return ew(e,t,i).formatToParts(r)}catch(t){e.onError(new ee("Error formatting number.",e.locale,t))}return[]}var eC=e.i(91398);function eU(e){!function(e,t,r=Error){if(!e)throw new r(t)}(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}let eG={...en,textComponent:o.Fragment},ek=e=>o.Children.toArray(e).map((e,t)=>o.isValidElement(e)?(0,eC.jsx)(o.Fragment,{children:e},t):e);function ex(e,t){if(e===t)return!0;if(!e||!t)return!1;var r=Object.keys(e),i=Object.keys(t),n=r.length;if(i.length!==n)return!1;for(var s=0;s<n;s++){var o=r[s];if(e[o]!==t[o]||!Object.prototype.hasOwnProperty.call(t,o))return!1}return!0}let e$=o.createContext(null),ej=e$.Provider;function eV(){let e=o.useContext(e$);return eU(e),e}var eK=((n=eK||{}).formatDate="FormattedDate",n.formatTime="FormattedTime",n.formatNumber="FormattedNumber",n.formatList="FormattedList",n.formatDuration="FormattedDuration",n.formatDisplayName="FormattedDisplayName",n),eZ=((s=eZ||{}).formatDate="FormattedDateParts",s.formatTime="FormattedTimeParts",s.formatNumber="FormattedNumberParts",s.formatList="FormattedListParts",s);function eX(e){let t=t=>{let r=eV(),{value:i,children:n,...s}=t,o="string"==typeof i?new Date(i||0):i;return n("formatDate"===e?r.formatDateToParts(o,s):r.formatTimeToParts(o,s))};return t.displayName=eZ[e],t}function eY(e){let t=t=>{let r=eV(),{value:i,children:n,...s}=t,a=r[e](i,s);if("function"==typeof n)return n(a);let h=r.textComponent||o.Fragment;return(0,eC.jsx)(h,{children:a})};return t.displayName=eK[e],t}function eW(e){return e?Object.keys(e).reduce((t,r)=>{let i=e[r];return t[r]=X(i)?function(e){return i(ek(e))}:i,t},{}):e}let ez=(e,t,r,i,...n)=>{let s=ec(e,t,r,eW(i),...n);return Array.isArray(s)?ek(s):s};function eJ(e){let{formatMessage:t,textComponent:r=o.Fragment}=eV(),{id:i,description:n,defaultMessage:s,values:a,children:h,tagName:l=r,ignoreTag:u}=e,c=t({id:i,description:n,defaultMessage:s},a,{ignoreTag:u});return"function"==typeof h?h(Array.isArray(c)?c:[c]):l?(0,eC.jsx)(l,{children:c}):(0,eC.jsx)(eC.Fragment,{children:c})}eJ.displayName="FormattedMessage";let eq=o.memo(eJ,function(e,t){let{values:r,...i}=e,{values:n,...s}=t;return ex(n,r)&&ex(i,s)});function eQ(e){var t;let r=o.useRef(es()),i=o.useRef(void 0),n=o.useRef(void 0),s={};for(let t in e)void 0!==e[t]&&(s[t]=e[t]);let h={locale:(t={...eG,...s}).locale,timeZone:t.timeZone,fallbackOnEmptyString:t.fallbackOnEmptyString,formats:t.formats,textComponent:t.textComponent,messages:t.messages,defaultLocale:t.defaultLocale,defaultFormats:t.defaultFormats,onError:t.onError,onWarn:t.onWarn,wrapRichTextChunksInFragment:t.wrapRichTextChunksInFragment,defaultRichTextElements:t.defaultRichTextElements};return i.current&&ex(i.current,h)||(i.current=h,n.current=(({defaultRichTextElements:e,...t},r)=>{let i=eW(e),n=function(e,t){var r;let i=function(e=es()){let t=Intl.RelativeTimeFormat,r=Intl.ListFormat,i=Intl.DisplayNames,n=a((...e)=>new Intl.DateTimeFormat(...e),{cache:eo(e.dateTime),strategy:f.variadic}),s=a((...e)=>new Intl.NumberFormat(...e),{cache:eo(e.number),strategy:f.variadic}),o=a((...e)=>new Intl.PluralRules(...e),{cache:eo(e.pluralRules),strategy:f.variadic});return{getDateTimeFormat:n,getNumberFormat:s,getMessageFormat:a((e,t,r,i)=>new W(e,t,r,{formatters:{getNumberFormat:s,getDateTimeFormat:n,getPluralRules:o},...i}),{cache:eo(e.message),strategy:f.variadic}),getDurationFormat:a((...e)=>new Intl.DurationFormat(...e),{cache:eo(e.duration),strategy:f.variadic}),getRelativeTimeFormat:a((...e)=>new t(...e),{cache:eo(e.relativeTime),strategy:f.variadic}),getPluralRules:o,getListFormat:a((...e)=>new r(...e),{cache:eo(e.list),strategy:f.variadic}),getDisplayNames:a((...e)=>new i(...e),{cache:eo(e.displayNames),strategy:f.variadic})}}(t),n={...en,...e},{locale:s,defaultLocale:o,onError:h}=n;return s?!Intl.NumberFormat.supportedLocalesOf(s).length&&h?h(new Q(`Missing locale data for locale: "${s}" in Intl.NumberFormat. Using default locale: "${o}" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details`)):!Intl.DateTimeFormat.supportedLocalesOf(s).length&&h&&h(new Q(`Missing locale data for locale: "${s}" in Intl.DateTimeFormat. Using default locale: "${o}" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details`)):(h&&h(new q(`"locale" was not configured, using "${o}" as fallback. See https://formatjs.github.io/docs/react-intl/api#intlshape for more details`)),n.locale=n.defaultLocale||"en"),n.onWarn&&n.defaultRichTextElements&&"string"==typeof(r=n.messages||{})[Object.keys(r)[0]]&&n.onWarn(`[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled.
27
+ Please consider using "@formatjs/cli" to pre-compile your messages for performance.
28
+ For more details see https://formatjs.github.io/docs/getting-started/message-distribution`),{...n,formatters:i,formatNumber:eO.bind(null,n,i.getNumberFormat),formatNumberToParts:eF.bind(null,n,i.getNumberFormat),formatDuration:eB.bind(null,n,i.getDurationFormat),formatDurationToParts:eT.bind(null,n,i.getDurationFormat),formatRelativeTime:eM.bind(null,n,i.getRelativeTimeFormat),formatDate:ep.bind(null,n,i.getDateTimeFormat),formatDateToParts:eb.bind(null,n,i.getDateTimeFormat),formatTime:eg.bind(null,n,i.getDateTimeFormat),formatDateTimeRange:ed.bind(null,n,i.getDateTimeFormat),formatTimeToParts:ey.bind(null,n,i.getDateTimeFormat),formatPlural:e_.bind(null,n,i.getPluralRules),formatMessage:ec.bind(null,n,i),$t:ec.bind(null,n,i),formatList:eA.bind(null,n,i.getListFormat),formatListToParts:eL.bind(null,n,i.getListFormat),formatDisplayName:eP.bind(null,n,i.getDisplayNames)}}({...eG,...t,defaultRichTextElements:i},r),s={locale:n.locale,timeZone:n.timeZone,fallbackOnEmptyString:n.fallbackOnEmptyString,formats:n.formats,defaultLocale:n.defaultLocale,defaultFormats:n.defaultFormats,messages:n.messages,onError:n.onError,defaultRichTextElements:i};return{...n,formatMessage:ez.bind(null,s,n.formatters),$t:ez.bind(null,s,n.formatters)}})(h,r.current)),eU(n.current),(0,eC.jsx)(ej,{value:n.current,children:e.children})}eq.displayName="MemoizedFormattedMessage",eQ.displayName="IntlProvider";eY("formatDate"),eY("formatTime"),eY("formatNumber"),eY("formatDuration"),eY("formatList"),eY("formatDisplayName"),eX("formatDate"),eX("formatTime"),e.s(["FormattedMessage",0,eq,"IntlProvider",0,eQ,"useIntl",0,eV],69322)}]);