@unchainedshop/admin-ui 5.0.0-alpha.6 → 5.0.0-alpha.7

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 (711) hide show
  1. package/README.md +27 -19
  2. package/dist/chunk-2RTX42IE.js +2083 -0
  3. package/dist/chunk-6UGLNLJG.js +44 -0
  4. package/dist/{chunk-UXG7EYHC.js → chunk-7PPOGX7R.js} +2 -35
  5. package/dist/{chunk-45H2WVIC.js → chunk-COV7BREX.js} +0 -1
  6. package/dist/{chunk-RHUFQVKL.js → chunk-F2TCVEQX.js} +1 -1
  7. package/dist/{chunk-UFYR5WZT.js → chunk-GY2DRQGW.js} +2 -1
  8. package/dist/{chunk-BGCKJQGS.js → chunk-JAVEZY3Q.js} +22 -15
  9. package/dist/{chunk-6TXD4TA7.js → chunk-KCN7DDPH.js} +2 -82
  10. package/dist/{chunk-YSKZE2KN.js → chunk-MSPWYMDY.js} +37 -24
  11. package/dist/chunk-RORNAN2J.js +12 -0
  12. package/dist/chunk-YZGQJJCD.js +37 -0
  13. package/dist/components/ui/Tag/TagInput.d.ts +10 -5
  14. package/dist/components/ui/Tag/TagInput.d.ts.map +1 -1
  15. package/dist/components/ui/form/TagInputField.d.ts +2 -1
  16. package/dist/components/ui/form/TagInputField.d.ts.map +1 -1
  17. package/dist/form.js +699 -2497
  18. package/dist/gql/operation-types.d.ts +13043 -0
  19. package/dist/gql/operation-types.d.ts.map +1 -0
  20. package/dist/gql/schema-types.d.ts +3820 -0
  21. package/dist/gql/schema-types.d.ts.map +1 -0
  22. package/dist/gql/types.d.ts +2 -17208
  23. package/dist/gql/types.d.ts.map +1 -1
  24. package/dist/hooks.js +3 -2
  25. package/dist/modal.js +9 -5
  26. package/dist/modules/accounts/fragment/UserFragment.d.ts.map +1 -1
  27. package/dist/modules/accounts/hooks/useCurrentUser.d.ts.map +1 -1
  28. package/dist/modules/accounts.js +219 -63
  29. package/dist/modules/assortment.js +9 -4
  30. package/dist/modules/common/hooks/useApp.d.ts +1 -1
  31. package/dist/modules/common/hooks/useBulkResultHandler.d.ts +8 -0
  32. package/dist/modules/common/hooks/useBulkResultHandler.d.ts.map +1 -0
  33. package/dist/modules/common/hooks/useBulkSelection.d.ts +12 -0
  34. package/dist/modules/common/hooks/useBulkSelection.d.ts.map +1 -0
  35. package/dist/modules/common/hooks/useScrollRestoration.d.ts +8 -0
  36. package/dist/modules/common/hooks/useScrollRestoration.d.ts.map +1 -0
  37. package/dist/modules/common/hooks/useShopInfo.d.ts +13 -13
  38. package/dist/modules/common/hooks/useShopInfo.d.ts.map +1 -1
  39. package/dist/modules/common/utils/useFormatDateTime.d.ts +10 -1
  40. package/dist/modules/common/utils/useFormatDateTime.d.ts.map +1 -1
  41. package/dist/modules/country/hooks/useCountries.d.ts +4 -4
  42. package/dist/modules/enrollment.js +23 -2
  43. package/dist/modules/event.js +1 -1
  44. package/dist/modules/filter.js +1 -1
  45. package/dist/modules/language/hooks/useLanguages.d.ts +4 -4
  46. package/dist/modules/modal/components/DangerMessage.d.ts +2 -1
  47. package/dist/modules/modal/components/DangerMessage.d.ts.map +1 -1
  48. package/dist/modules/order/hooks/useOrders.d.ts +20 -20
  49. package/dist/modules/order/hooks/useOrders.d.ts.map +1 -1
  50. package/dist/modules/order.js +9 -3
  51. package/dist/modules/product-review.js +24 -5
  52. package/dist/modules/product.js +12 -16
  53. package/dist/modules/quotation.js +22 -2
  54. package/dist/modules/token.js +1 -1
  55. package/dist/modules/work/hooks/useWork.d.ts +14 -14
  56. package/dist/modules/work.js +17 -5
  57. package/dist/plugins.js +6 -1
  58. package/dist/providers.js +3 -3
  59. package/dist/sdk/plugins.d.ts +11 -0
  60. package/dist/sdk/plugins.d.ts.map +1 -1
  61. package/dist/sdk/shims/admin-ui-plugins.d.ts +3 -0
  62. package/dist/sdk/shims/admin-ui-plugins.d.ts.map +1 -0
  63. package/dist/sdk/shims/apollo-client-react.d.ts +3 -0
  64. package/dist/sdk/shims/apollo-client-react.d.ts.map +1 -0
  65. package/dist/sdk/shims/apollo-client.d.ts +3 -0
  66. package/dist/sdk/shims/apollo-client.d.ts.map +1 -0
  67. package/dist/sdk/shims/host.d.ts +17 -0
  68. package/dist/sdk/shims/host.d.ts.map +1 -0
  69. package/dist/sdk/shims/next-head.d.ts +3 -0
  70. package/dist/sdk/shims/next-head.d.ts.map +1 -0
  71. package/dist/sdk/shims/next-image.d.ts +3 -0
  72. package/dist/sdk/shims/next-image.d.ts.map +1 -0
  73. package/dist/sdk/shims/next-link.d.ts +3 -0
  74. package/dist/sdk/shims/next-link.d.ts.map +1 -0
  75. package/dist/sdk/shims/next-router.d.ts +3 -0
  76. package/dist/sdk/shims/next-router.d.ts.map +1 -0
  77. package/dist/sdk/shims/react-dom-client.d.ts +3 -0
  78. package/dist/sdk/shims/react-dom-client.d.ts.map +1 -0
  79. package/dist/sdk/shims/react-dom.d.ts +3 -0
  80. package/dist/sdk/shims/react-dom.d.ts.map +1 -0
  81. package/dist/sdk/shims/react-hook-form.d.ts +3 -0
  82. package/dist/sdk/shims/react-hook-form.d.ts.map +1 -0
  83. package/dist/sdk/shims/react-intl.d.ts +3 -0
  84. package/dist/sdk/shims/react-intl.d.ts.map +1 -0
  85. package/dist/sdk/shims/react-jsx-runtime.d.ts +3 -0
  86. package/dist/sdk/shims/react-jsx-runtime.d.ts.map +1 -0
  87. package/dist/sdk/shims/react-toastify.d.ts +3 -0
  88. package/dist/sdk/shims/react-toastify.d.ts.map +1 -0
  89. package/dist/sdk/shims/react.d.ts +3 -0
  90. package/dist/sdk/shims/react.d.ts.map +1 -0
  91. package/dist/shims/admin-ui-plugins.js +9 -0
  92. package/dist/shims/apollo-client-react.js +25 -0
  93. package/dist/shims/apollo-client.js +55 -0
  94. package/dist/shims/next-head.js +9 -0
  95. package/dist/shims/next-image.js +9 -0
  96. package/dist/shims/next-link.js +9 -0
  97. package/dist/shims/next-router.js +13 -0
  98. package/dist/shims/react-dom-client.js +11 -0
  99. package/dist/shims/react-dom.js +22 -0
  100. package/dist/shims/react-hook-form.js +25 -0
  101. package/dist/shims/react-intl.js +37 -0
  102. package/dist/shims/react-jsx-runtime.js +11 -0
  103. package/dist/shims/react-toastify.js +16 -0
  104. package/dist/shims/react.js +52 -0
  105. package/dist/ui.js +1261 -3443
  106. package/out/403/index.html +2 -2
  107. package/out/404/index.html +2 -2
  108. package/out/404.html +2 -2
  109. package/out/423/index.html +2 -2
  110. package/out/500/index.html +2 -2
  111. package/out/_next/static/chunks/0-2b37ubdpy0o.js +7 -0
  112. package/out/_next/static/chunks/0-cyinqk2ne8t.js +16 -0
  113. package/out/_next/static/chunks/00tf1qsuwqywe.js +17 -0
  114. package/out/_next/static/chunks/015ge5k3o3f-r.js +226 -0
  115. package/out/_next/static/chunks/0208v89kdo_s9.js +13 -0
  116. package/out/_next/static/chunks/05-ui58k9illr.js +234 -0
  117. package/out/_next/static/chunks/05au-xyt__0f2.js +3 -0
  118. package/out/_next/static/chunks/{087a2d-0e1pvn.js → 05nn5xr3ufcsh.js} +1 -1
  119. package/out/_next/static/chunks/{1m5m15javwn8p.js → 05o_q7jg8wucs.js} +1 -1
  120. package/out/_next/static/chunks/0752goe9_9g2s.js +110 -0
  121. package/out/_next/static/chunks/07o7bmqljy89r.js +1 -0
  122. package/out/_next/static/chunks/083ylavob4a8d.js +3 -0
  123. package/out/_next/static/chunks/09qx8ltnvw8f2.js +12 -0
  124. package/out/_next/static/chunks/0_puys1lwhv9m.js +16 -0
  125. package/out/_next/static/chunks/0_xtedn8e1vu_.js +13 -0
  126. package/out/_next/static/chunks/0a_bg-ub3r2eo.js +60 -0
  127. package/out/_next/static/chunks/0b33bcf7x5rgy.js +20 -0
  128. package/out/_next/static/chunks/0ckhtcvz1kyxg.js +1 -0
  129. package/out/_next/static/chunks/0dewly3vo-mcq.js +20 -0
  130. package/out/_next/static/chunks/{19y4w6_d_qiou.js → 0dnh0kr83_tj0.js} +1 -1
  131. package/out/_next/static/chunks/0dxu94yin5gdn.js +35 -0
  132. package/out/_next/static/chunks/0e2c-jlh2q_eq.js +74 -0
  133. package/out/_next/static/chunks/0fv1w56e25gt5.js +14 -0
  134. package/out/_next/static/chunks/0i9ymn9xxs0nx.js +18 -0
  135. package/out/_next/static/chunks/0ij8fs6-w0pr_.js +22 -0
  136. package/out/_next/static/chunks/0iqjlf_9c6eo_.js +59 -0
  137. package/out/_next/static/chunks/0j838r-8ied1f.js +1 -0
  138. package/out/_next/static/chunks/0jeddko6bac8h.js +1 -0
  139. package/out/_next/static/chunks/0kwf2vel2xmdi.js +13 -0
  140. package/out/_next/static/chunks/0m6jydfuy_4o3.js +1 -0
  141. package/out/_next/static/chunks/0mez27zlo26ni.js +103 -0
  142. package/out/_next/static/chunks/0n9to89fz811b.js +3 -0
  143. package/out/_next/static/chunks/0nga8f0q2d0bl.js +14 -0
  144. package/out/_next/static/chunks/0nkkcq0-s-9fo.js +1 -0
  145. package/out/_next/static/chunks/0nlirgt-x5pqr.js +337 -0
  146. package/out/_next/static/chunks/0o7k5vanq57ch.js +807 -0
  147. package/out/_next/static/chunks/0om7fxf5bczpu.js +13 -0
  148. package/out/_next/static/chunks/0ou6gsnpn0wml.js +1 -0
  149. package/out/_next/static/chunks/0p09_ncs0g7m2.js +14 -0
  150. package/out/_next/static/chunks/0pji5t2zheb2j.js +234 -0
  151. package/out/_next/static/chunks/0q6-fplpae_ie.js +21 -0
  152. package/out/_next/static/chunks/0qh0vqpui2alf.js +9 -0
  153. package/out/_next/static/chunks/0qq_lp3pk8bjf.js +27 -0
  154. package/out/_next/static/chunks/0rgdxqr_0y-g-.js +136 -0
  155. package/out/_next/static/chunks/0rqjr_lmrk4pz.js +5 -0
  156. package/out/_next/static/chunks/0sc71p-6lnm1e.js +13 -0
  157. package/out/_next/static/chunks/0tej_--_qru5h.js +126 -0
  158. package/out/_next/static/chunks/0tnyefaaxof6-.js +247 -0
  159. package/out/_next/static/chunks/{1dsjo02ozub3p.js → 0ubzi2s1spm4e.js} +4 -4
  160. package/out/_next/static/chunks/0uecw_5mn0zvr.js +110 -0
  161. package/out/_next/static/chunks/0vbqa5pd_ajm5.js +1 -0
  162. package/out/_next/static/chunks/0w7ic_22nz92w.js +58 -0
  163. package/out/_next/static/chunks/0y4eg57kgif01.js +1 -0
  164. package/out/_next/static/chunks/0ywlba3uh1t0x.js +16 -0
  165. package/out/_next/static/chunks/0zoum0jzrtu0s.js +145 -0
  166. package/out/_next/static/chunks/1184evhxs01_c.js +11 -0
  167. package/out/_next/static/chunks/11oq6l46lynfn.js +22 -0
  168. package/out/_next/static/chunks/11zynllx8mmh5.js +15 -0
  169. package/out/_next/static/chunks/13__7-sf28ub5.js +17 -0
  170. package/out/_next/static/chunks/13u_a5l2xngm4.js +1 -0
  171. package/out/_next/static/chunks/13wfvr2b0-qlj.js +30 -0
  172. package/out/_next/static/chunks/14c_mq04p7pu0.js +171 -0
  173. package/out/_next/static/chunks/151puw-sc__by.js +103 -0
  174. package/out/_next/static/chunks/15vz50rks0o2-.js +238 -0
  175. package/out/_next/static/chunks/17b4rvj5k8ye2.js +807 -0
  176. package/out/_next/static/chunks/188l-km9dyejj.js +34 -0
  177. package/out/_next/static/chunks/{252n_i72ate30.js → 18juy_eauk94g.js} +2 -2
  178. package/out/_next/static/chunks/{0k-vf2ns330qm.js → 19eflki8bmivb.js} +1 -1
  179. package/out/_next/static/chunks/19eu5d-wm2hfr.js +23 -0
  180. package/out/_next/static/chunks/19ou9pxeiwehs.js +15 -0
  181. package/out/_next/static/chunks/19pi48hqksvo9.js +9 -0
  182. package/out/_next/static/chunks/1_5ba1obzc231.js +1 -0
  183. package/out/_next/static/chunks/1_lrjs51fhhko.js +807 -0
  184. package/out/_next/static/chunks/1am9n6exll687.js +807 -0
  185. package/out/_next/static/chunks/1cfjbvjo0o9fx.js +104 -0
  186. package/out/_next/static/chunks/1cqhbfj3zp710.js +1 -0
  187. package/out/_next/static/chunks/1cy-2yb5j5_9b.js +157 -0
  188. package/out/_next/static/chunks/1dqgs827_hiod.js +16 -0
  189. package/out/_next/static/chunks/{1ji44prsmhq_a.js → 1dt9_bzfioi8a.js} +3 -3
  190. package/out/_next/static/chunks/1fg6jbuxeuj0w.js +14 -0
  191. package/out/_next/static/chunks/1fvr9k_o63j_m.js +16 -0
  192. package/out/_next/static/chunks/1h_o__x8jw8gt.js +15 -0
  193. package/out/_next/static/chunks/1imv5a-ymrj2t.js +15 -0
  194. package/out/_next/static/chunks/1k4ep4igedo8p.js +1 -0
  195. package/out/_next/static/chunks/1kn74nabrpy14.js +3 -0
  196. package/out/_next/static/chunks/{34sm1u3s14z4b.js → 1ndk3s-aeqfej.js} +1 -1
  197. package/out/_next/static/chunks/1o4hor3cwzcxc.js +15 -0
  198. package/out/_next/static/chunks/1og09fg689_nc.js +180 -0
  199. package/out/_next/static/chunks/1q_sewe1wbxsk.js +54 -0
  200. package/out/_next/static/chunks/1qwid0d89bzpw.js +17 -0
  201. package/out/_next/static/chunks/1r7dh_p70r7o8.js +13 -0
  202. package/out/_next/static/chunks/1r_e-dk-1oicl.js +2 -0
  203. package/out/_next/static/chunks/1rtv3c_klo0jk.js +1 -0
  204. package/out/_next/static/chunks/1rw6681ieb3-5.js +8 -0
  205. package/out/_next/static/chunks/1srfjl1rurrm9.js +3 -0
  206. package/out/_next/static/chunks/1t8mb2td_pm1h.js +43 -0
  207. package/out/_next/static/chunks/1v-2aqdslc2g1.js +1 -0
  208. package/out/_next/static/chunks/1w5uao_cylgd1.js +234 -0
  209. package/out/_next/static/chunks/1x-t9f0f5vr10.js +329 -0
  210. package/out/_next/static/chunks/1ylgjha1c0ua_.js +124 -0
  211. package/out/_next/static/chunks/1yp98n-n4gxwy.js +15 -0
  212. package/out/_next/static/chunks/1yy_-xc9xthfo.js +3 -0
  213. package/out/_next/static/chunks/1z1esw-t8kopy.js +1 -0
  214. package/out/_next/static/chunks/2-7e3ttj92hfr.js +17 -0
  215. package/out/_next/static/chunks/200_u2ywg-be1.js +43 -0
  216. package/out/_next/static/chunks/224ovcn90ebcs.js +25 -0
  217. package/out/_next/static/chunks/24-pobk4qjjvp.js +3 -0
  218. package/out/_next/static/chunks/2540mqfxc7ehr.js +15 -0
  219. package/out/_next/static/chunks/{1rgwj4dr0k4_b.js → 270ua9t85a7ev.js} +1 -1
  220. package/out/_next/static/chunks/27jaailh2k450.js +879 -0
  221. package/out/_next/static/chunks/2_l14rwu6kgzl.js +11 -0
  222. package/out/_next/static/chunks/2_vu2hve2j-6g.js +5 -0
  223. package/out/_next/static/chunks/2cmaw01_r48ot.js +21 -0
  224. package/out/_next/static/chunks/2d1zehr8zc3vb.js +9 -0
  225. package/out/_next/static/chunks/{2tw-iq1oliu-h.js → 2dvrbmh97duba.js} +1 -1
  226. package/out/_next/static/chunks/{34dhtdp_8idgm.js → 2dyj8q92_k5el.js} +112 -62
  227. package/out/_next/static/chunks/2e0dz59httb-e.js +43 -0
  228. package/out/_next/static/chunks/2e47h0g7w7si3.js +7 -0
  229. package/out/_next/static/chunks/2fjmw94mat8m0.js +807 -0
  230. package/out/_next/static/chunks/{0f7z8oojvqahv.js → 2fo2ki1egxbah.js} +1 -1
  231. package/out/_next/static/chunks/2httcwd92at4i.js +9 -0
  232. package/out/_next/static/chunks/2ib6fee-nqe-z.js +23 -0
  233. package/out/_next/static/chunks/2l4pfo_tsvn5w.js +11 -0
  234. package/out/_next/static/chunks/2l629mu99aqil.js +9 -0
  235. package/out/_next/static/chunks/2le8e8u2nvp0j.js +16 -0
  236. package/out/_next/static/chunks/2lx_iig9xewfj.js +52 -0
  237. package/out/_next/static/chunks/2nm_wdmfjcbyc.js +25 -0
  238. package/out/_next/static/chunks/2o9hdz0gk1-s7.js +165 -0
  239. package/out/_next/static/chunks/2ork76jhxvxke.js +138 -0
  240. package/out/_next/static/chunks/2ou2_nhvunq72.js +13 -0
  241. package/out/_next/static/chunks/2pf0d3jgcae7b.js +99 -0
  242. package/out/_next/static/chunks/2q-mpau-4gsvd.js +1 -0
  243. package/out/_next/static/chunks/2qzxq2qs80c_8.js +11 -0
  244. package/out/_next/static/chunks/2rddaar-ns45d.js +116 -0
  245. package/out/_next/static/chunks/2rve5gtfjiz-p.js +100 -0
  246. package/out/_next/static/chunks/2rywg4dn0aeez.js +1 -0
  247. package/out/_next/static/chunks/2s6u8274_jzk2.js +105 -0
  248. package/out/_next/static/chunks/2t-_fecnp5yzr.js +15 -0
  249. package/out/_next/static/chunks/2tm822rgn8g7-.js +19 -0
  250. package/out/_next/static/chunks/{1cgliwmj52a0t.js → 2u6jwsqz0uhes.js} +3 -3
  251. package/out/_next/static/chunks/2u8ns-x384r3i.js +22 -0
  252. package/out/_next/static/chunks/{08o69avnk4qvk.js → 2v4k4vpb2id7m.js} +1 -1
  253. package/out/_next/static/chunks/2v57_n8he320z.js +83 -0
  254. package/out/_next/static/chunks/2vkqez8xx-yp9.js +807 -0
  255. package/out/_next/static/chunks/2ztcyhxd9w5_m.js +1 -0
  256. package/out/_next/static/chunks/304cl99rh8rs_.js +2 -0
  257. package/out/_next/static/chunks/30_ns6urg1dkn.js +41 -0
  258. package/out/_next/static/chunks/{0gurfn3nhm859.js → 313i1x81q2xj1.js} +1 -1
  259. package/out/_next/static/chunks/325a7n__tfxy_.js +61 -0
  260. package/out/_next/static/chunks/326rk3t0gtxp_.js +14 -0
  261. package/out/_next/static/chunks/32te9ivrk54l0.js +15 -0
  262. package/out/_next/static/chunks/339y1tm7s80tn.js +22 -0
  263. package/out/_next/static/chunks/33emlry70k-lv.js +2 -0
  264. package/out/_next/static/chunks/{202a3z9hys0o7.js → 346itdsbw-5tn.js} +2 -2
  265. package/out/_next/static/chunks/351jscvbk_wb9.js +13 -0
  266. package/out/_next/static/chunks/355nca7if7l9n.js +17 -0
  267. package/out/_next/static/chunks/357odtev0t245.js +59 -0
  268. package/out/_next/static/chunks/{2oz58zpay0wub.js → 35fjd9uhctw7y.js} +1 -1
  269. package/out/_next/static/chunks/36aqs7u7s-lb1.js +119 -0
  270. package/out/_next/static/chunks/36zrtyhmqlx_n.js +807 -0
  271. package/out/_next/static/chunks/{18yg2pj3hb_in.js → 37uz0njkj43tz.js} +1 -1
  272. package/out/_next/static/chunks/38ffn8gazqz8_.js +3 -0
  273. package/out/_next/static/chunks/39-19ao-xkexy.js +2 -0
  274. package/out/_next/static/chunks/39m5tbxzzsmn4.js +807 -0
  275. package/out/_next/static/chunks/3_dqxs_vhmfqd.js +14 -0
  276. package/out/_next/static/chunks/3bgtu00fe99yc.js +1 -0
  277. package/out/_next/static/chunks/3c1rc1w-xe4u7.js +39 -0
  278. package/out/_next/static/chunks/3cdfuacs4_0d-.js +1 -0
  279. package/out/_next/static/chunks/3cp9qqljcytup.js +9 -0
  280. package/out/_next/static/chunks/3cq123yj25_36.js +1 -0
  281. package/out/_next/static/chunks/3d1ofcqmlbg-5.js +52 -0
  282. package/out/_next/static/chunks/3dopaxkoi5px6.js +1 -0
  283. package/out/_next/static/chunks/3doujqxnfq19f.js +16 -0
  284. package/out/_next/static/chunks/3grllla8v0ctl.js +14 -0
  285. package/out/_next/static/chunks/3hqec4-3one07.js +15 -0
  286. package/out/_next/static/chunks/3ic_dagw-uvrx.js +234 -0
  287. package/out/_next/static/chunks/3idwjqiel9n9v.js +18 -0
  288. package/out/_next/static/chunks/{0qjv_q4seojfh.js → 3il9u-mfrp2sn.js} +1 -1
  289. package/out/_next/static/chunks/3jtzvr48aaoo0.js +13 -0
  290. package/out/_next/static/chunks/3k5lt5_-g36w9.js +9 -0
  291. package/out/_next/static/chunks/3l-9xxd1i1sya.js +1 -0
  292. package/out/_next/static/chunks/3l1zucp3a411p.js +50 -0
  293. package/out/_next/static/chunks/3ls4kv54f3x8u.js +15 -0
  294. package/out/_next/static/chunks/3m2yam5_cs1h7.js +13 -0
  295. package/out/_next/static/chunks/3mancxzz8c7hl.js +51 -0
  296. package/out/_next/static/chunks/3nkse7h0-kbyx.js +126 -0
  297. package/out/_next/static/chunks/3o23w25lfn4mo.js +27 -0
  298. package/out/_next/static/chunks/{3m7-q-ztmzcf5.js → 3oynij37wfjb2.js} +2 -2
  299. package/out/_next/static/chunks/3oz5p4rrvnew1.js +807 -0
  300. package/out/_next/static/chunks/{434iz38padke2.js → 3pbyo5kkko3wh.js} +1 -1
  301. package/out/_next/static/chunks/3qjgt-x153i6u.js +234 -0
  302. package/out/_next/static/chunks/3s-n0xc-vi0ww.js +31 -0
  303. package/out/_next/static/chunks/3t_3vlnk1ntkb.js +95 -0
  304. package/out/_next/static/chunks/3ti7tims6gz1j.js +234 -0
  305. package/out/_next/static/chunks/3tzaludii6vtu.js +54 -0
  306. package/out/_next/static/chunks/{01q9gliprwq-_.js → 3u504487p_y7e.js} +2 -2
  307. package/out/_next/static/chunks/3ufg-in2riva7.js +1 -0
  308. package/out/_next/static/chunks/3ugwv1vrnbivg.js +1 -0
  309. package/out/_next/static/chunks/3ulbhhqw8rxd8.js +15 -0
  310. package/out/_next/static/chunks/3uytb2p7vzafp.js +15 -0
  311. package/out/_next/static/chunks/3v38tvcona4gy.js +16 -0
  312. package/out/_next/static/chunks/3vet2a9q9rf2c.js +61 -0
  313. package/out/_next/static/chunks/3vz3gqmojh7sx.js +4 -0
  314. package/out/_next/static/chunks/3w9xrlkiztuwi.js +23 -0
  315. package/out/_next/static/chunks/3wy5jhrulhwb9.js +15 -0
  316. package/out/_next/static/chunks/3xmtbqm0gddn8.js +3 -0
  317. package/out/_next/static/chunks/3yqmjvx7t3t0_.js +1 -0
  318. package/out/_next/static/chunks/3yvmkdc088aly.js +1 -0
  319. package/out/_next/static/chunks/401o5bfi_90qs.js +141 -0
  320. package/out/_next/static/chunks/40s6ngsexc737.js +15 -0
  321. package/out/_next/static/chunks/40xhwnc_48o73.js +297 -0
  322. package/out/_next/static/chunks/41e2wlkp9_pvk.js +28 -0
  323. package/out/_next/static/chunks/41g7mv3yuhz6k.js +68 -0
  324. package/out/_next/static/chunks/429ihwc6co7u7.js +32 -0
  325. package/out/_next/static/chunks/42p2hm8ca34f6.js +16 -0
  326. package/out/_next/static/chunks/43jyzccx6x0lw.js +1 -0
  327. package/out/_next/static/chunks/447b5tn4-avdv.js +16 -0
  328. package/out/_next/static/chunks/44daaafswok67.css +1 -0
  329. package/out/_next/static/chunks/turbopack-02cmv-knpzk52.js +1 -0
  330. package/out/_next/static/chunks/{turbopack-04ukk4jyuwwfc.js → turbopack-05rmr02n9n2u0.js} +1 -1
  331. package/out/_next/static/chunks/{turbopack-0cwxwz82vstff.js → turbopack-07fw0g9aver98.js} +1 -1
  332. package/out/_next/static/chunks/turbopack-08x92457_z4ve.js +1 -0
  333. package/out/_next/static/chunks/{turbopack-13v4uorj3l10n.js → turbopack-0a2sfur4bx222.js} +1 -1
  334. package/out/_next/static/chunks/{turbopack-3b2k0p0g1mako.js → turbopack-0b-g0lpiikryt.js} +1 -1
  335. package/out/_next/static/chunks/turbopack-0dj-aua684j9c.js +1 -0
  336. package/out/_next/static/chunks/{turbopack-3p-k1txa6-4ik.js → turbopack-0h5lj7lnf9_tb.js} +1 -1
  337. package/out/_next/static/chunks/{turbopack-04s7-zvvb1coi.js → turbopack-0k8oea6xmzbjh.js} +1 -1
  338. package/out/_next/static/chunks/{turbopack-14kspgbfigjpa.js → turbopack-0m1qzkhnpuk2j.js} +1 -1
  339. package/out/_next/static/chunks/{turbopack-41cj0-dssfw9l.js → turbopack-0n73ad0fad4yl.js} +1 -1
  340. package/out/_next/static/chunks/{turbopack-2k2d3c2qq-0z0.js → turbopack-0qxkaq0f9ka24.js} +1 -1
  341. package/out/_next/static/chunks/{turbopack-34749rlp0_n5c.js → turbopack-0ricnx7znhztj.js} +1 -1
  342. package/out/_next/static/chunks/turbopack-0s-h1cgwrfgo-.js +1 -0
  343. package/out/_next/static/chunks/turbopack-0xgswwqf_4vrt.js +1 -0
  344. package/out/_next/static/chunks/{turbopack-1sllc7f9its9a.js → turbopack-1330tdm8r390q.js} +1 -1
  345. package/out/_next/static/chunks/{turbopack-0qa163y1bx_g6.js → turbopack-14rn07-ki7f_7.js} +1 -1
  346. package/out/_next/static/chunks/turbopack-1azvbmrq_bxq7.js +1 -0
  347. package/out/_next/static/chunks/turbopack-1bjaxey2pj8nn.js +1 -0
  348. package/out/_next/static/chunks/turbopack-1csu0s9cycwgo.js +1 -0
  349. package/out/_next/static/chunks/{turbopack-0w2ztfttfubzl.js → turbopack-1g8mmayckmfib.js} +1 -1
  350. package/out/_next/static/chunks/turbopack-1hty_7i5tzg63.js +1 -0
  351. package/out/_next/static/chunks/turbopack-1p11xfz8qe15i.js +1 -0
  352. package/out/_next/static/chunks/turbopack-1r_uprn020kr7.js +1 -0
  353. package/out/_next/static/chunks/{turbopack-29n-soxzu37jf.js → turbopack-1rdxfvyldfwrq.js} +1 -1
  354. package/out/_next/static/chunks/{turbopack-40xcd2mr6qovi.js → turbopack-1td004byboyz2.js} +1 -1
  355. package/out/_next/static/chunks/turbopack-1y3x6n223v6d1.js +1 -0
  356. package/out/_next/static/chunks/turbopack-2068cl63o32re.js +1 -0
  357. package/out/_next/static/chunks/turbopack-298vdad77pw5z.js +1 -0
  358. package/out/_next/static/chunks/{turbopack-1wqjl3y4c1ij-.js → turbopack-2d5v28yt0xnri.js} +1 -1
  359. package/out/_next/static/chunks/{turbopack-3jw01psrsjqdi.js → turbopack-2dicmowo2x4t1.js} +1 -1
  360. package/out/_next/static/chunks/turbopack-2gehqsln39zg1.js +1 -0
  361. package/out/_next/static/chunks/turbopack-2hj-ffuco6-u7.js +1 -0
  362. package/out/_next/static/chunks/turbopack-2it1jk212m2ud.js +1 -0
  363. package/out/_next/static/chunks/{turbopack-0sv7lr_kx3kdq.js → turbopack-2l-gbnaw39ht4.js} +1 -1
  364. package/out/_next/static/chunks/turbopack-2mbsjg411_ndq.js +1 -0
  365. package/out/_next/static/chunks/turbopack-2n2ksqygaakbh.js +1 -0
  366. package/out/_next/static/chunks/turbopack-2q65pei-ck559.js +1 -0
  367. package/out/_next/static/chunks/turbopack-2sqnlbl-ardf7.js +1 -0
  368. package/out/_next/static/chunks/turbopack-2t6ex34_bkvoe.js +1 -0
  369. package/out/_next/static/chunks/{turbopack-1au-y5u3wzv22.js → turbopack-2w9_vscbr0eag.js} +1 -1
  370. package/out/_next/static/chunks/turbopack-2z2joyd6mdhpo.js +1 -0
  371. package/out/_next/static/chunks/turbopack-338xrj-0fpsqu.js +1 -0
  372. package/out/_next/static/chunks/turbopack-3458e7jmj1e27.js +1 -0
  373. package/out/_next/static/chunks/turbopack-351l-va10h8kw.js +1 -0
  374. package/out/_next/static/chunks/turbopack-35awx_qvevnch.js +1 -0
  375. package/out/_next/static/chunks/{turbopack-1noe2ur-_o71n.js → turbopack-3a196kafnj312.js} +1 -1
  376. package/out/_next/static/chunks/turbopack-3a6igydfvv1_v.js +1 -0
  377. package/out/_next/static/chunks/{turbopack-1-ceqxb_000x-.js → turbopack-3bnkwdcrz_ts-.js} +1 -1
  378. package/out/_next/static/chunks/{turbopack-32kxihayw_v97.js → turbopack-3hsu2nw8qlox4.js} +1 -1
  379. package/out/_next/static/chunks/turbopack-3iiyu2cek78ut.js +1 -0
  380. package/out/_next/static/chunks/turbopack-3nta8sa99guti.js +1 -0
  381. package/out/_next/static/chunks/turbopack-3r17oio1oe7jw.js +1 -0
  382. package/out/_next/static/chunks/turbopack-3r9uyzwi0dtwb.js +1 -0
  383. package/out/_next/static/chunks/turbopack-3rgdcfralfvsa.js +1 -0
  384. package/out/_next/static/chunks/{turbopack-1h9u07n6a83dl.js → turbopack-3tntqotcyx6oq.js} +1 -1
  385. package/out/_next/static/chunks/turbopack-3uc-2ah0uehj3.js +1 -0
  386. package/out/_next/static/chunks/turbopack-3uvfl95p1ubqn.js +1 -0
  387. package/out/_next/static/chunks/turbopack-3vncwrj5x9j44.js +1 -0
  388. package/out/_next/static/chunks/turbopack-3ww1zabqxbxit.js +1 -0
  389. package/out/_next/static/chunks/{turbopack-17gr4a9fxe8he.js → turbopack-3wxlut7e7jmsi.js} +1 -1
  390. package/out/_next/static/chunks/turbopack-3yk72bgipb8hc.js +1 -0
  391. package/out/_next/static/chunks/turbopack-4025_4zwqnrk-.js +1 -0
  392. package/out/_next/static/chunks/{turbopack-298r66lt68r_n.js → turbopack-425nfopoa8wxd.js} +1 -1
  393. package/out/_next/static/{VYWUvBJY94uiS3jm4HOFN → hH8h6SzcZWEUFySYqRPbW}/_buildManifest.js +63 -63
  394. package/out/_offline/index.html +2 -2
  395. package/out/account/forgot-password/index.html +2 -2
  396. package/out/account/index.html +2 -2
  397. package/out/assortments/AssortmentDetailPage/index.html +2 -2
  398. package/out/assortments/index.html +2 -2
  399. package/out/assortments/new/index.html +2 -2
  400. package/out/copilot/index.html +2 -2
  401. package/out/country/CountryDetailPage/index.html +2 -2
  402. package/out/country/index.html +2 -2
  403. package/out/country/new/index.html +2 -2
  404. package/out/currency/CurrencyDetailPage/index.html +2 -2
  405. package/out/currency/index.html +2 -2
  406. package/out/currency/new/index.html +2 -2
  407. package/out/delivery-provider/DeliveryProviderDetailPage/index.html +2 -2
  408. package/out/delivery-provider/index.html +2 -2
  409. package/out/delivery-provider/new/index.html +2 -2
  410. package/out/enrollments/EnrollmentDetailPage/index.html +2 -2
  411. package/out/enrollments/index.html +2 -2
  412. package/out/events/EventDetailPage/index.html +2 -2
  413. package/out/events/index.html +2 -2
  414. package/out/exports/index.html +2 -2
  415. package/out/ext/[[...slug]]/index.html +2 -2
  416. package/out/external/index.html +2 -2
  417. package/out/filters/FilterDetailPage/index.html +2 -2
  418. package/out/filters/index.html +2 -2
  419. package/out/filters/new/index.html +2 -2
  420. package/out/index.html +2 -2
  421. package/out/install/index.html +2 -2
  422. package/out/language/LanguageDetailPage/index.html +2 -2
  423. package/out/language/index.html +2 -2
  424. package/out/language/new/index.html +2 -2
  425. package/out/log-in/index.html +2 -2
  426. package/out/orders/OrderDetailPage/index.html +2 -2
  427. package/out/orders/index.html +2 -2
  428. package/out/payment-provider/PaymentProviderDetailPage/index.html +2 -2
  429. package/out/payment-provider/index.html +2 -2
  430. package/out/payment-provider/new/index.html +2 -2
  431. package/out/products/ProductDetailPage/index.html +2 -2
  432. package/out/products/index.html +2 -2
  433. package/out/products/new/index.html +2 -2
  434. package/out/quotations/QuotationDetailPage/index.html +2 -2
  435. package/out/quotations/index.html +2 -2
  436. package/out/reset-password/index.html +2 -2
  437. package/out/sign-up/index.html +2 -2
  438. package/out/styleguide/index.html +2 -2
  439. package/out/tokens/TokenDetailPage/index.html +2 -2
  440. package/out/tokens/index.html +2 -2
  441. package/out/users/UserDetailPage/index.html +2 -2
  442. package/out/users/index.html +2 -2
  443. package/out/users/new/index.html +2 -2
  444. package/out/verify-email/index.html +2 -2
  445. package/out/warehousing-provider/WarehousingProviderDetailPage/index.html +2 -2
  446. package/out/warehousing-provider/index.html +2 -2
  447. package/out/warehousing-provider/new/index.html +2 -2
  448. package/out/works/WorkDetailPage/index.html +2 -2
  449. package/out/works/WorkQueueListView/index.html +2 -2
  450. package/out/works/index.html +2 -2
  451. package/out/works/management/index.html +2 -2
  452. package/package.json +18 -13
  453. package/src/sdk/README.md +195 -0
  454. package/src/sdk/plugin-build.mjs +81 -98
  455. package/src/sdk/plugin-build.test.mjs +6 -3
  456. package/src/sdk/plugin-runtime.cjs +66 -0
  457. package/src/sdk/plugin-runtime.d.mts +11 -0
  458. package/src/sdk/plugin-runtime.mjs +27 -0
  459. package/src/sdk/plugin-runtime.test.mjs +32 -0
  460. package/src/sdk/plugins.mjs +17 -0
  461. package/src/sdk/plugins.ts +17 -0
  462. package/src/sdk/shims/admin-ui-plugins.ts +3 -0
  463. package/src/sdk/shims/apollo-client-react.ts +3 -0
  464. package/src/sdk/shims/apollo-client.ts +3 -0
  465. package/src/sdk/shims/host.ts +61 -0
  466. package/src/sdk/shims/next-head.ts +3 -0
  467. package/src/sdk/shims/next-image.ts +3 -0
  468. package/src/sdk/shims/next-link.ts +3 -0
  469. package/src/sdk/shims/next-router.ts +3 -0
  470. package/src/sdk/shims/react-dom-client.ts +3 -0
  471. package/src/sdk/shims/react-dom.ts +3 -0
  472. package/src/sdk/shims/react-hook-form.ts +3 -0
  473. package/src/sdk/shims/react-intl.ts +3 -0
  474. package/src/sdk/shims/react-jsx-runtime.ts +3 -0
  475. package/src/sdk/shims/react-toastify.ts +3 -0
  476. package/src/sdk/shims/react.ts +3 -0
  477. package/out/_next/static/chunks/00zpb_zgq36h-.js +0 -14
  478. package/out/_next/static/chunks/02aa23atze2y4.js +0 -119
  479. package/out/_next/static/chunks/02u93m0n7n-q-.js +0 -12
  480. package/out/_next/static/chunks/03n4up296yhei.js +0 -138
  481. package/out/_next/static/chunks/03zrzz0sb-gy8.js +0 -14
  482. package/out/_next/static/chunks/044dmimivt13x.js +0 -233
  483. package/out/_next/static/chunks/07pwkvl-lm4vp.js +0 -24
  484. package/out/_next/static/chunks/08vf2wf3mxta3.js +0 -13
  485. package/out/_next/static/chunks/094s-grteo6tb.js +0 -31
  486. package/out/_next/static/chunks/0_wt7zjqgpl76.js +0 -807
  487. package/out/_next/static/chunks/0a81cjauoijka.js +0 -1
  488. package/out/_next/static/chunks/0ab_-095b34n5.js +0 -90
  489. package/out/_next/static/chunks/0ac9c5ecooaav.js +0 -234
  490. package/out/_next/static/chunks/0b--0624xswmi.js +0 -16
  491. package/out/_next/static/chunks/0b3hl4d_27v6q.js +0 -173
  492. package/out/_next/static/chunks/0braigkg4hdry.js +0 -39
  493. package/out/_next/static/chunks/0cdcsn87u-tzw.js +0 -1
  494. package/out/_next/static/chunks/0d9cf7svcpjcu.js +0 -1
  495. package/out/_next/static/chunks/0eooy6dat270h.js +0 -226
  496. package/out/_next/static/chunks/0ety-u93s5lsq.js +0 -188
  497. package/out/_next/static/chunks/0fb5j_lva6f8h.js +0 -19
  498. package/out/_next/static/chunks/0hm6-xlqw4vmr.js +0 -1
  499. package/out/_next/static/chunks/0im5k2e2u2uz_.js +0 -8
  500. package/out/_next/static/chunks/0iv288bepx0ug.js +0 -29
  501. package/out/_next/static/chunks/0ld2eenwz_blg.js +0 -52
  502. package/out/_next/static/chunks/0m9y8-nk64c1e.js +0 -12
  503. package/out/_next/static/chunks/0nz8nqr7k7pni.js +0 -61
  504. package/out/_next/static/chunks/0pyfoz6288y0f.js +0 -1
  505. package/out/_next/static/chunks/0qfjbvj6nn9zr.js +0 -18
  506. package/out/_next/static/chunks/0r0l1vs8bls6y.js +0 -1
  507. package/out/_next/static/chunks/0r2v5se5riad_.js +0 -227
  508. package/out/_next/static/chunks/0rdl1jrsef2ew.js +0 -3
  509. package/out/_next/static/chunks/0sutuaadm9sa2.js +0 -11
  510. package/out/_next/static/chunks/0tmo-o_wjgk4-.js +0 -8
  511. package/out/_next/static/chunks/0u-md-qpvyccn.js +0 -149
  512. package/out/_next/static/chunks/0u881hesm8z4s.js +0 -14
  513. package/out/_next/static/chunks/0u_efcr52k9v1.js +0 -15
  514. package/out/_next/static/chunks/0ukobsq85_to1.js +0 -135
  515. package/out/_next/static/chunks/0vxvcl2s96x4f.js +0 -24
  516. package/out/_next/static/chunks/0vyfm3usoot1p.js +0 -60
  517. package/out/_next/static/chunks/0wr0r7tr1jbcz.js +0 -10
  518. package/out/_next/static/chunks/0x_i69reqib8u.js +0 -3
  519. package/out/_next/static/chunks/0xxl7fb2bi8_8.js +0 -82
  520. package/out/_next/static/chunks/0z7jldn83dst6.js +0 -13
  521. package/out/_next/static/chunks/1-4f-vlpf5end.js +0 -43
  522. package/out/_next/static/chunks/1293ysgb8y4y3.js +0 -12
  523. package/out/_next/static/chunks/129pi8m3j6761.js +0 -1
  524. package/out/_next/static/chunks/12lbg_ctrshrg.js +0 -1
  525. package/out/_next/static/chunks/13f9ypdy9t6l8.js +0 -15
  526. package/out/_next/static/chunks/13g90lbjehcp1.js +0 -12
  527. package/out/_next/static/chunks/1413uu5ol2rfr.js +0 -166
  528. package/out/_next/static/chunks/15-duc2e3btcy.js +0 -1
  529. package/out/_next/static/chunks/155jjdhtr4dhn.js +0 -30
  530. package/out/_next/static/chunks/1679i7xv8jnle.js +0 -117
  531. package/out/_next/static/chunks/16a-8jlyrl0m8.js +0 -12
  532. package/out/_next/static/chunks/16bdu48a5vry_.js +0 -13
  533. package/out/_next/static/chunks/16r_t7quts1w0.js +0 -289
  534. package/out/_next/static/chunks/189epg0ebf7bc.js +0 -13
  535. package/out/_next/static/chunks/18ujb5-7bg1p4.js +0 -1
  536. package/out/_next/static/chunks/19fzi9f2kw8zv.js +0 -233
  537. package/out/_next/static/chunks/1_ov-8bomgh6c.js +0 -54
  538. package/out/_next/static/chunks/1axp79-x4n7i4.js +0 -242
  539. package/out/_next/static/chunks/1bga5_ny7avyr.js +0 -23
  540. package/out/_next/static/chunks/1bgsls3okrjue.js +0 -1
  541. package/out/_next/static/chunks/1cliieayy_gw1.js +0 -13
  542. package/out/_next/static/chunks/1cvyi5qu_s_d7.js +0 -10
  543. package/out/_next/static/chunks/1dcw-b0uqh6b0.js +0 -1
  544. package/out/_next/static/chunks/1drrou5kp4qdz.js +0 -1
  545. package/out/_next/static/chunks/1e4ue1_7qn6kz.js +0 -14
  546. package/out/_next/static/chunks/1emope9zm_-ch.js +0 -14
  547. package/out/_next/static/chunks/1f7ar56dj5j8s.js +0 -21
  548. package/out/_next/static/chunks/1fk9whsy-495f.js +0 -1
  549. package/out/_next/static/chunks/1fp7uihlvzcij.js +0 -13
  550. package/out/_next/static/chunks/1g0syfr6r0rj8.js +0 -111
  551. package/out/_next/static/chunks/1g5l7e7du4p25.js +0 -1
  552. package/out/_next/static/chunks/1h03py7retxw8.js +0 -13
  553. package/out/_next/static/chunks/1i6-vxhyp4fan.js +0 -73
  554. package/out/_next/static/chunks/1ihjqvn68cj5e.js +0 -36
  555. package/out/_next/static/chunks/1ij-bgloqrwlw.js +0 -809
  556. package/out/_next/static/chunks/1l1_ntden2a5-.js +0 -58
  557. package/out/_next/static/chunks/1m0x2mb91rv2i.js +0 -13
  558. package/out/_next/static/chunks/1mw35msx036qx.js +0 -66
  559. package/out/_next/static/chunks/1ou8q3ltdifd1.js +0 -34
  560. package/out/_next/static/chunks/1prx7jjoz9cq8.js +0 -3
  561. package/out/_next/static/chunks/1q1js93yqv2ym.js +0 -14
  562. package/out/_next/static/chunks/1qkgln72hya5g.js +0 -1
  563. package/out/_next/static/chunks/1qn6du1pk46f0.js +0 -14
  564. package/out/_next/static/chunks/1r_q8-_cl6_b-.js +0 -23
  565. package/out/_next/static/chunks/1rirgtcu6_bpa.js +0 -17
  566. package/out/_next/static/chunks/1rpgl9uhsj7jq.js +0 -28
  567. package/out/_next/static/chunks/1tzo3v9d5ccon.js +0 -15
  568. package/out/_next/static/chunks/1uculcrefh01f.js +0 -16
  569. package/out/_next/static/chunks/1uinfdu-lhddb.js +0 -1
  570. package/out/_next/static/chunks/1uiqmuia9hpwc.js +0 -32
  571. package/out/_next/static/chunks/1ukg1j06gk9j7.js +0 -233
  572. package/out/_next/static/chunks/1v2r-dm5xnwxd.js +0 -95
  573. package/out/_next/static/chunks/1x8c4f-tlz8oq.js +0 -54
  574. package/out/_next/static/chunks/1xic7x33en-_t.js +0 -46
  575. package/out/_next/static/chunks/1y-vwb0-v5xv0.js +0 -304
  576. package/out/_next/static/chunks/1ymswtxkxcnfi.js +0 -11
  577. package/out/_next/static/chunks/1yrby6v2msnio.js +0 -13
  578. package/out/_next/static/chunks/1yx8v1-jzs__q.js +0 -234
  579. package/out/_next/static/chunks/1yxsj_p-0xiav.js +0 -14
  580. package/out/_next/static/chunks/2-1ihmwxm5nd8.js +0 -13
  581. package/out/_next/static/chunks/2-hsn5zne_kbo.js +0 -18
  582. package/out/_next/static/chunks/20ndjd4r5l6vk.js +0 -1
  583. package/out/_next/static/chunks/22l-2aehes9lx.js +0 -153
  584. package/out/_next/static/chunks/23ju3v8ue0m8a.js +0 -8
  585. package/out/_next/static/chunks/23lmor9w4r767.js +0 -1
  586. package/out/_next/static/chunks/24p5ic154k1id.js +0 -50
  587. package/out/_next/static/chunks/250qu8q7duhe7.js +0 -1
  588. package/out/_next/static/chunks/25asi1rq6d8hb.js +0 -7
  589. package/out/_next/static/chunks/263u-_eyq54xn.js +0 -155
  590. package/out/_next/static/chunks/26ca8aneaqvre.js +0 -2
  591. package/out/_next/static/chunks/27_5des_qn7kz.js +0 -1
  592. package/out/_next/static/chunks/27ek8w2c2mk46.js +0 -15
  593. package/out/_next/static/chunks/28d90lqq_6ddl.js +0 -135
  594. package/out/_next/static/chunks/29yitf66u5w9d.js +0 -1
  595. package/out/_next/static/chunks/2_3qu55ddb4jo.js +0 -3
  596. package/out/_next/static/chunks/2b8nhs_3rpawc.js +0 -1
  597. package/out/_next/static/chunks/2bby8chs2h2zt.js +0 -190
  598. package/out/_next/static/chunks/2ch1ir5bauqm-.js +0 -41
  599. package/out/_next/static/chunks/2cwzq52lgg7tg.js +0 -147
  600. package/out/_next/static/chunks/2dbrybnhe5thu.css +0 -1
  601. package/out/_next/static/chunks/2dddh3jepg6r9.js +0 -22
  602. package/out/_next/static/chunks/2epfbio36cp2x.js +0 -13
  603. package/out/_next/static/chunks/2ev7bgw2foqui.js +0 -12
  604. package/out/_next/static/chunks/2f0e2t3pz-rua.js +0 -1
  605. package/out/_next/static/chunks/2ibnigbqfhrjb.js +0 -8
  606. package/out/_next/static/chunks/2iuu4shi025hv.js +0 -10
  607. package/out/_next/static/chunks/2n3x1m3a_ria_.js +0 -1
  608. package/out/_next/static/chunks/2ngg-2uli_wsk.js +0 -17
  609. package/out/_next/static/chunks/2nofj6ud99639.js +0 -2
  610. package/out/_next/static/chunks/2onfts3kpe9d8.js +0 -1
  611. package/out/_next/static/chunks/2rdh3y4-gf0r1.js +0 -7
  612. package/out/_next/static/chunks/2ry72x6et3uyk.js +0 -235
  613. package/out/_next/static/chunks/2t2zzfasof1ej.js +0 -18
  614. package/out/_next/static/chunks/2twd9trj9horc.js +0 -61
  615. package/out/_next/static/chunks/2uln0xj_hk2xv.js +0 -22
  616. package/out/_next/static/chunks/2x0c4v5dipld3.js +0 -13
  617. package/out/_next/static/chunks/2xhllcys1_u52.js +0 -14
  618. package/out/_next/static/chunks/3-n5bzlk225-y.js +0 -1
  619. package/out/_next/static/chunks/3154519pby2gj.js +0 -5
  620. package/out/_next/static/chunks/327jk4epgudqh.js +0 -110
  621. package/out/_next/static/chunks/334lcmrt6lgtz.js +0 -14
  622. package/out/_next/static/chunks/33bnjdrokmipf.js +0 -12
  623. package/out/_next/static/chunks/33g91_yljnpiw.js +0 -807
  624. package/out/_next/static/chunks/33getgbb1rmpa.js +0 -43
  625. package/out/_next/static/chunks/342etvf_c28cb.js +0 -39
  626. package/out/_next/static/chunks/34kqgu8bnykwx.js +0 -315
  627. package/out/_next/static/chunks/34zya3wqxvl8k.js +0 -19
  628. package/out/_next/static/chunks/35k7e1g1muu56.js +0 -5
  629. package/out/_next/static/chunks/399t21noeueqk.js +0 -13
  630. package/out/_next/static/chunks/39ze4mwy903wm.js +0 -13
  631. package/out/_next/static/chunks/3_8h-x8lcmhr7.js +0 -339
  632. package/out/_next/static/chunks/3_j5zrbyysq1g.js +0 -31
  633. package/out/_next/static/chunks/3a8a8fpl7-ndf.js +0 -1
  634. package/out/_next/static/chunks/3a9g7ouf888jt.js +0 -1
  635. package/out/_next/static/chunks/3anxg7pk9-h3t.js +0 -50
  636. package/out/_next/static/chunks/3blzs4z5wryub.js +0 -1
  637. package/out/_next/static/chunks/3cfkqo3t0m0es.js +0 -3
  638. package/out/_next/static/chunks/3coz1fo064u6a.js +0 -12
  639. package/out/_next/static/chunks/3cr1as0q659er.js +0 -1
  640. package/out/_next/static/chunks/3crdcex_nrx3o.js +0 -12
  641. package/out/_next/static/chunks/3crkl2ligc-kt.js +0 -14
  642. package/out/_next/static/chunks/3d0ic2ovyeue7.js +0 -2
  643. package/out/_next/static/chunks/3ddaet08eakmw.js +0 -18
  644. package/out/_next/static/chunks/3dh3x6thy7fef.js +0 -1
  645. package/out/_next/static/chunks/3e75y5wr7_vem.js +0 -327
  646. package/out/_next/static/chunks/3e98ykfx_vamf.js +0 -60
  647. package/out/_next/static/chunks/3eq-uts_yz1e5.js +0 -1
  648. package/out/_next/static/chunks/3ghzaufs2n8uq.js +0 -2
  649. package/out/_next/static/chunks/3ie60090urams.js +0 -16
  650. package/out/_next/static/chunks/3jffivfbeet7f.js +0 -15
  651. package/out/_next/static/chunks/3mskn3uvx6s77.js +0 -142
  652. package/out/_next/static/chunks/3oppyz2wurlv-.js +0 -329
  653. package/out/_next/static/chunks/3p-pioxz8jyip.js +0 -15
  654. package/out/_next/static/chunks/3po1wffu1pc3k.js +0 -12
  655. package/out/_next/static/chunks/3rvxjwpm2hkzt.js +0 -13
  656. package/out/_next/static/chunks/3snnfwi0hsfwy.js +0 -31
  657. package/out/_next/static/chunks/3so-jsqyai73m.js +0 -1
  658. package/out/_next/static/chunks/3voheu4m42ctw.js +0 -14
  659. package/out/_next/static/chunks/3x3oqxb68-ull.js +0 -7
  660. package/out/_next/static/chunks/3ysj3lx_q697-.js +0 -124
  661. package/out/_next/static/chunks/3zncjth-kop8p.js +0 -1
  662. package/out/_next/static/chunks/3zp4iedgev460.js +0 -35
  663. package/out/_next/static/chunks/40jzqlki-ix7b.js +0 -17
  664. package/out/_next/static/chunks/4138xi7jgdv_o.js +0 -107
  665. package/out/_next/static/chunks/413d2n3_vvshb.js +0 -14
  666. package/out/_next/static/chunks/41mslgyvxwsej.js +0 -1
  667. package/out/_next/static/chunks/44kw4hk598ruu.js +0 -1
  668. package/out/_next/static/chunks/44um3bi95nxcy.js +0 -1
  669. package/out/_next/static/chunks/44xj9eghssy4h.js +0 -1
  670. package/out/_next/static/chunks/turbopack-00bqo3amk802l.js +0 -1
  671. package/out/_next/static/chunks/turbopack-00xv5x2980kaw.js +0 -1
  672. package/out/_next/static/chunks/turbopack-07riv31885zxj.js +0 -1
  673. package/out/_next/static/chunks/turbopack-0_sc_n1p1bcp9.js +0 -1
  674. package/out/_next/static/chunks/turbopack-0a3d8s54evtiu.js +0 -1
  675. package/out/_next/static/chunks/turbopack-0eg08vs3s4808.js +0 -1
  676. package/out/_next/static/chunks/turbopack-0j5aiynif9rh6.js +0 -1
  677. package/out/_next/static/chunks/turbopack-0utbjxefp9fml.js +0 -1
  678. package/out/_next/static/chunks/turbopack-12eu9ngd0g762.js +0 -1
  679. package/out/_next/static/chunks/turbopack-169mif_3j2xs7.js +0 -1
  680. package/out/_next/static/chunks/turbopack-16y9ecuw-sg_1.js +0 -1
  681. package/out/_next/static/chunks/turbopack-19agtluuz9hs9.js +0 -1
  682. package/out/_next/static/chunks/turbopack-1qm1ao7m24ujy.js +0 -1
  683. package/out/_next/static/chunks/turbopack-1tefm98ftz444.js +0 -1
  684. package/out/_next/static/chunks/turbopack-1yd96mx8ypi2r.js +0 -1
  685. package/out/_next/static/chunks/turbopack-1yr-b62bnm8pn.js +0 -1
  686. package/out/_next/static/chunks/turbopack-20jztdd3emk_4.js +0 -1
  687. package/out/_next/static/chunks/turbopack-24wh5-0ze4f20.js +0 -1
  688. package/out/_next/static/chunks/turbopack-27e97jv6b-s-_.js +0 -1
  689. package/out/_next/static/chunks/turbopack-2_-s3bsa7fy5n.js +0 -1
  690. package/out/_next/static/chunks/turbopack-2agmtzzi93gcu.js +0 -1
  691. package/out/_next/static/chunks/turbopack-2krkwbmqyusjo.js +0 -1
  692. package/out/_next/static/chunks/turbopack-2ktr6ad7w59-u.js +0 -1
  693. package/out/_next/static/chunks/turbopack-2o3ztc3qxaqmv.js +0 -1
  694. package/out/_next/static/chunks/turbopack-2ocojyxy_6ohm.js +0 -1
  695. package/out/_next/static/chunks/turbopack-2p09rgir8a_rr.js +0 -1
  696. package/out/_next/static/chunks/turbopack-2s314huts4-ih.js +0 -1
  697. package/out/_next/static/chunks/turbopack-2uy0-z_9q9r-t.js +0 -1
  698. package/out/_next/static/chunks/turbopack-2xkr4g1kb-c30.js +0 -1
  699. package/out/_next/static/chunks/turbopack-38uc2-slitwye.js +0 -1
  700. package/out/_next/static/chunks/turbopack-3_vxq7t7y83kn.js +0 -1
  701. package/out/_next/static/chunks/turbopack-3b4ho7bon8y1n.js +0 -1
  702. package/out/_next/static/chunks/turbopack-3j07f1odh4keh.js +0 -1
  703. package/out/_next/static/chunks/turbopack-3ldzloccscyev.js +0 -1
  704. package/out/_next/static/chunks/turbopack-3o2wlpvy73vfc.js +0 -1
  705. package/out/_next/static/chunks/turbopack-3u8iq4uiukeh-.js +0 -1
  706. package/out/_next/static/chunks/turbopack-3ywen4wf3l3h-.js +0 -1
  707. package/out/_next/static/chunks/turbopack-3zajpzv2knbum.js +0 -1
  708. package/out/_next/static/chunks/turbopack-42c24-sypz5zz.js +0 -1
  709. /package/dist/{chunk-BYXBJQAS.js → chunk-QWQ3WJJN.js} +0 -0
  710. /package/out/_next/static/{VYWUvBJY94uiS3jm4HOFN → hH8h6SzcZWEUFySYqRPbW}/_clientMiddlewareManifest.js +0 -0
  711. /package/out/_next/static/{VYWUvBJY94uiS3jm4HOFN → hH8h6SzcZWEUFySYqRPbW}/_ssgManifest.js +0 -0
@@ -0,0 +1,52 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,25093,e=>{"use strict";var t=e.i(91398),r=e.i(91788);e.s(["default",0,({value:e,duration:s=300})=>{let[i,a]=(0,r.useState)(0);return(0,r.useEffect)(()=>{let t,r;if(0===e)return void a(0);let i=n=>{t||(t=n);let l=Math.min((n-t)/s,1);a(Math.round((1-Math.pow(1-l,3))*e)),l<1&&(r=requestAnimationFrame(i))};return r=requestAnimationFrame(i),()=>{r&&cancelAnimationFrame(r)}},[e,s]),(0,t.jsx)("span",{children:i})}])},70553,e=>{"use strict";var t=e.i(91398),r=e.i(69322);e.s(["default",0,({children:e=null,totalRecords:s=null})=>{let{formatMessage:i}=(0,r.useIntl)();return(0,t.jsxs)("div",{className:"mt-5",children:[null!==s?(0,t.jsx)("div",{className:"text-md text-slate-950 dark:text-slate-100 mb-3",children:i({id:"total_records",defaultMessage:"{total} records found"},{total:s??0})}):null,e&&(0,t.jsx)("div",{className:"flex items-center mt-10",children:(0,t.jsx)("h3",{className:"text-xs leading-6 text-text-muted",children:e})})]})}])},2194,e=>{"use strict";var t=e.i(91398),r=e.i(92802),r=r,s=e.i(56206),i=e.i(69322);e.s(["default",0,({message:e,className:a="",Icon:n=null})=>(0,t.jsx)("div",{className:(0,s.default)("rounded-md flex w-full flex-col items-center justify-center min-h-[176px] py-8 border-1 border-dashed border-border-default text-slate-500 dark:text-slate-600",a),children:(0,t.jsxs)("div",{className:"grid items-center justify-center",children:[(0,t.jsx)("div",{className:"flex items-center justify-center text-slate-400 dark:text-slate-600",children:n||(0,t.jsx)(r.default,{className:"h-6 w-6"})}),(0,t.jsx)(i.FormattedMessage,{id:"no_data_message",defaultMessage:"<p>No <span> {message} available</span> </p>",values:{p:e=>(0,t.jsx)("p",{className:"mt-2 m-auto flex items-center justify-center",children:e}),span:e=>(0,t.jsxs)("span",{className:"capitalize ml-1",children:[" ",e," "]}),message:e}})]})})],2194)},35793,e=>{"use strict";var t=e.i(91398),r=e.i(69322),s=e.i(2765);e.s(["default",0,({inputText:e=null,onInputChange:i,defaultValue:a})=>{let{formatMessage:n}=(0,r.useIntl)(),l=(0,s.default)(200)(i);return(0,t.jsxs)("div",{className:"w-full",children:[(0,t.jsx)("label",{htmlFor:"search",className:"sr-only",children:e||n({id:"search",defaultMessage:"Search"})}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("div",{className:"pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3",children:(0,t.jsx)("svg",{className:"h-5 w-5 text-slate-400 dark:text-slate-200",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z",clipRule:"evenodd"})})}),(0,t.jsx)("input",{onChange:e=>l(e.target.value),id:"search",defaultValue:a,name:"search",className:"block w-full rounded-md border-1 border-border-default text-slate-900 dark:bg-slate-900 dark:text-slate-200 py-3 pl-10 px-4 shadow-xs placeholder:text-slate-400 dark:placeholder:text-slate-400 focus:ring-2 focus:ring-focus-ring focus:outline-hidden sm:text-sm",placeholder:n({id:"search",defaultMessage:"Search"}),type:"search"})]})]})}])},76038,e=>{"use strict";var t=e.i(91398),r=e.i(91788),s=e.i(56206),i=e.i(69322),a=e.i(42469);let n=e=>e?Array.isArray(e)?e:e.toString()?.split(",")?.map(e=>e.trim()):[];e.s(["default",0,({tagList:e,onChange:l,disabled:o=!1,name:d="tag-input",id:u="tag-input",placeholder:c="",selectOptions:h=[],className:f="",buttonText:m="",showTagsInline:p=!0})=>{let{formatMessage:g}=(0,i.useIntl)(),[x,b]=(0,r.useState)(n(e)),[y,k]=(0,r.useState)(""),[w,v]=(0,r.useState)(!1),_=(0,r.useRef)(null);(0,r.useEffect)(()=>{b(n(e))},[e]),(0,r.useEffect)(()=>{let e=e=>{_.current&&!_.current.contains(e.target)&&v(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]);let C=(0,r.useCallback)(e=>{let t=e.trim(),r=h.find(e=>e.value.toLowerCase()===t.toLowerCase()),s=r?.value||t;if(!x.some(e=>e.toLowerCase()===s.toLowerCase())&&s){let e=[...x,s];b(e),l(e),k(""),v(!1)}},[x,l,h]),j=(0,r.useMemo)(()=>{let e=h.filter(e=>!x.some(t=>t.toLowerCase()===e.value.toLowerCase()));return y?e.filter(e=>e.label.toLowerCase().includes(y.toLowerCase())):e},[h,x,y]),E=y.trim().toLowerCase(),S=!!(E&&!x.some(e=>e.toLowerCase()===E)&&!h.some(e=>e.value.toLowerCase()===E)),R=(0,t.jsxs)("div",{className:"relative",ref:_,children:[(0,t.jsx)("input",{id:u,name:d,type:"text",role:"combobox","aria-expanded":w,"aria-autocomplete":"list",disabled:o,className:(0,s.default)("w-full rounded-md border border-border-default bg-surface-input py-2.5 pl-4 pr-4 text-sm text-text-primary placeholder:text-text-muted shadow-xs focus:outline-hidden focus:ring-2 focus:ring-focus-ring",f),placeholder:c,value:y,onChange:e=>{k(e.target.value),v(!0)},onFocus:()=>v(!0),onKeyDown:e=>{"Enter"===e.key&&y.trim()&&(e.preventDefault(),C(j[0]?.value||y.trim()))}}),w&&(S||j.length>0)&&(0,t.jsxs)("ul",{role:"listbox",className:"absolute z-9999999 mt-1 max-h-60 w-full overflow-auto rounded-md bg-surface border border-border-subtle py-1 text-sm shadow-lg",children:[j.map(e=>(0,t.jsx)("li",{role:"option","aria-selected":!1,className:"cursor-pointer select-none py-2 px-4 text-text-primary hover:bg-surface-raised",onMouseDown:t=>{t.preventDefault(),C(e.value)},children:e.label},e.value)),S&&(0,t.jsx)("li",{role:"option","aria-selected":!1,className:"cursor-pointer select-none border-t border-border-subtle py-2 px-4 text-text-primary hover:bg-surface-raised",onMouseDown:e=>{e.preventDefault(),C(y.trim())},children:m||g({id:"add_new_tag",defaultMessage:'Add "{inputValue}"'},{inputValue:y.trim()})})]})]});return p?(0,t.jsxs)(t.Fragment,{children:[R,(0,t.jsx)("div",{className:(0,s.default)("ml-4 flex items-center flex-wrap gap-5",x.length>0&&"mt-1"),children:x?.map(e=>(0,t.jsx)(a.default,{text:e,color:"slate",onClick:()=>(e=>{let t=x.indexOf(e);if(-1!==t){let e=[...x];e.splice(t,1),l(e),b(e)}})(e)},e))})]}):R}])},30434,e=>{"use strict";var t=e.i(91398),r=e.i(56206),s=e.i(60741);e.s(["default",0,e=>{let{disabled:i,labelClassName:a,containerClassName:n,inputClassName:l,...o}=e,d=(0,s.default)({...e,type:"checkbox"});return(0,t.jsxs)("div",{className:(0,r.default)("",{"text-rose-600":!!d.error,checkbox:!0,disabled:d.disabled,required:d.required},n),children:[(0,t.jsx)("input",{checked:!!d.value,disabled:i,id:d.name,name:d.name,onChange:d.onChange,onBlur:d.onBlur,type:"checkbox",className:(0,r.default)("h-4 w-4 rounded-xs border-border-default bg-white dark:!bg-slate-800 text-indigo-600 dark:text-slate-200 focus:ring-focus-ring",l,e.className),...o}),(0,t.jsx)("label",{htmlFor:d.name,className:(0,r.default)("text-sm text-text-primary",a,{"text-danger":!!d.error}),children:d.label})]})}])},71800,70050,71977,70316,e=>{"use strict";var t=e.i(91398),r=e.i(91788),s=e.i(69322);let i=r.forwardRef(function({title:e,titleId:t,...s},i){return r.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:i,"aria-labelledby":t},s),e?r.createElement("title",{id:t},e):null,r.createElement("path",{d:"M6.28 5.22a.75.75 0 0 0-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 1 0 1.06 1.06L10 11.06l3.72 3.72a.75.75 0 1 0 1.06-1.06L11.06 10l3.72-3.72a.75.75 0 0 0-1.06-1.06L10 8.94 6.28 5.22Z"}))});e.s(["default",0,({selectedCount:e,selectedIds:a,onClear:n,onSelectionChange:l,actions:o})=>{let{formatMessage:d}=(0,s.useIntl)(),[u,c]=(0,r.useState)(null),[h,f]=(0,r.useState)(!1),m=(0,r.useRef)(!1);(0,r.useEffect)(()=>{0===e&&c(null)},[e]);let p=async(e,t)=>{if(m.current)return null;m.current=!0,f(!0);try{let r=await e.onAction(a,t);return r&&(r.failedIds.length?l(r.failedIds):n()),r}finally{m.current=!1,f(!1)}},g=async e=>{if(!m.current){if(e.renderForm)return void c(e);await p(e)}},x=async e=>{!u||await p(u,e)&&c(null)};return 0===e?null:(0,t.jsxs)("div",{className:"sticky top-0 z-30 bg-white dark:bg-slate-700 text-slate-800 dark:text-white border border-slate-200 dark:border-slate-600 rounded-lg shadow-lg px-4 py-3 mb-3 flex flex-wrap items-center gap-3",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 mr-2",children:[(0,t.jsx)("span",{className:"bg-slate-800 dark:bg-white text-white dark:text-slate-800 text-xs font-bold rounded-full w-6 h-6 flex items-center justify-center",children:e}),(0,t.jsx)("span",{className:"text-sm font-medium",children:d({id:"bulk_selected",defaultMessage:"{count, plural, one {# selected} other {# selected}}"},{count:e})}),(0,t.jsx)("button",{type:"button",disabled:h,onClick:()=>{m.current||n()},className:"ml-1 p-0.5 rounded hover:bg-slate-100 dark:hover:bg-slate-600 transition-colors disabled:opacity-50","aria-label":d({id:"clear_selection",defaultMessage:"Clear selection"}),children:(0,t.jsx)(i,{className:"w-4 h-4"})})]}),(0,t.jsx)("div",{className:"h-5 w-px bg-slate-300 dark:bg-slate-500 hidden sm:block"}),(0,t.jsx)("div",{className:"flex flex-wrap items-center gap-2",children:o.map(e=>(0,t.jsx)("button",{type:"button",disabled:h||!!u,onClick:()=>g(e),className:`text-xs font-medium px-3 py-1.5 rounded-md transition-colors disabled:opacity-50 ${"danger"===e.variant?"bg-rose-600 hover:bg-rose-700 text-white":"bg-slate-100 hover:bg-slate-200 text-slate-800 dark:bg-white/10 dark:hover:bg-white/20 dark:text-white"}`,children:e.label},e.key))}),u?.renderForm&&(0,t.jsx)("div",{className:"w-full mt-2 pt-2 border-t border-slate-200 dark:border-slate-600",children:u.renderForm({onSubmit:x,onCancel:()=>c(null),loading:h})})]})}],71800);let a=[];e.s(["default",0,(e=a)=>{let[t,s]=(0,r.useState)(new Set),i=(0,r.useMemo)(()=>new Set(e),[e]);(0,r.useEffect)(()=>{s(e=>{let t=new Set([...e].filter(e=>i.has(e)));return t.size===e.size?e:t})},[i]);let n=(0,r.useCallback)(e=>{i.has(e)&&s(t=>{let r=new Set(t);return r.has(e)?r.delete(e):r.add(e),r})},[i]),l=(0,r.useCallback)((t=e)=>{s(new Set(t.filter(e=>i.has(e))))},[e,i]),o=(0,r.useCallback)(()=>{s(new Set)},[]),d=(0,r.useCallback)(e=>t.has(e),[t]),u=e.length>0&&e.every(e=>t.has(e)),c=(0,r.useCallback)(()=>{e.length>0&&e.every(e=>t.has(e))?o():l()},[e,t,l,o]);return(0,r.useMemo)(()=>({selectedIds:Array.from(t),selectedCount:t.size,allSelected:u,toggle:n,selectAll:l,clearAll:o,isSelected:d,toggleAll:c}),[t,u,n,l,o,d,c])}],70050);var n=e.i(28401);e.s(["default",0,()=>{let{formatMessage:e}=(0,s.useIntl)();return(0,r.useCallback)(async(t,r)=>{try{let s=await t(),i=s&&"object"==typeof s&&"data"in s?s.data:null,a=i&&"object"==typeof i&&r in i?i[r]:null;if(a&&"object"==typeof a&&"number"==typeof a.successCount&&"number"==typeof a.failedCount&&Array.isArray(a.failedIds))return a.failedCount>0?n.toast.warning(e({id:"bulk_operation_result",defaultMessage:"{successCount} succeeded, {failedCount} failed"},{successCount:a.successCount,failedCount:a.failedCount})):n.toast.success(e({id:"bulk_operation_success",defaultMessage:"{successCount} succeeded"},{successCount:a.successCount})),a;return null}catch(t){return n.toast.error(e({id:"bulk_operation_error",defaultMessage:"Operation failed. Please try again."})),null}},[e])}],71977);var l=e.i(15971),o=e.i(6607);let d=({message:e,okText:s,onConfirm:i,onClose:a})=>{let[n,o]=(0,r.useState)(!1),d=(0,r.useRef)(!1),u=async()=>{if(!d.current){d.current=!0,o(!0);try{a(await i())}catch{a(null)}}};return(0,t.jsx)(l.default,{loading:n,onCancelClick:()=>{d.current||a(null)},message:e,onOkClick:u,okText:s})};e.s(["default",0,()=>{let{setModal:e}=(0,o.default)();return(0,r.useCallback)(r=>new Promise(s=>{let i=!1;e((0,t.jsx)(d,{...r,onClose:t=>{i||(i=!0,e(""),s(t))}}))}),[e])}],70316)},97224,e=>{"use strict";var t=e.i(91398),r=e.i(91788),s=e.i(69322),i=e.i(76038);e.s(["default",0,({onSubmit:e,onCancel:a,loading:n=!1,availableTagOptions:l=[]})=>{let{formatMessage:o}=(0,s.useIntl)(),[d,u]=(0,r.useState)([]),[c,h]=(0,r.useState)([]);return(0,t.jsxs)("form",{onSubmit:t=>{if(t.preventDefault(),n)return;let r=[...new Set(d.map(e=>e.trim().toLowerCase()).filter(Boolean))],s=[...new Set(c.map(e=>e.trim().toLowerCase()).filter(Boolean))];e({add:r.length?r:void 0,remove:s.length?s:void 0})},className:"flex flex-wrap items-end gap-3",children:[(0,t.jsxs)("div",{className:"flex w-56 flex-col gap-1",children:[(0,t.jsx)("label",{htmlFor:"bulk-add-tags",className:"text-xs text-slate-500 dark:text-slate-300",children:o({id:"bulk_add_tags",defaultMessage:"Add tags"})}),(0,t.jsx)(i.default,{id:"bulk-add-tags",name:"bulk-add-tags",tagList:d,disabled:n,onChange:u,selectOptions:l,placeholder:o({id:"enter_tag",defaultMessage:"Enter tag..."})})]}),(0,t.jsxs)("div",{className:"flex w-56 flex-col gap-1",children:[(0,t.jsx)("label",{htmlFor:"bulk-remove-tags",className:"text-xs text-slate-500 dark:text-slate-300",children:o({id:"bulk_remove_tags",defaultMessage:"Remove tags"})}),(0,t.jsx)(i.default,{id:"bulk-remove-tags",name:"bulk-remove-tags",tagList:c,disabled:n,onChange:h,selectOptions:l,placeholder:o({id:"enter_tag",defaultMessage:"Enter tag..."})})]}),(0,t.jsx)("button",{type:"submit",disabled:n||!d.length&&!c.length,className:"text-xs font-medium px-3 py-1.5 rounded-md bg-slate-800 hover:bg-slate-900 text-white dark:bg-white/10 dark:hover:bg-white/20 disabled:opacity-50",children:o({id:"apply",defaultMessage:"Apply"})}),(0,t.jsx)("button",{type:"button",disabled:n,onClick:a,className:"text-xs font-medium px-3 py-1.5 rounded-md hover:bg-slate-100 dark:hover:bg-white/10 text-slate-500 dark:text-slate-300",children:o({id:"cancel",defaultMessage:"Cancel"})})]})}])},78704,e=>{"use strict";var t=e.i(91398),r=e.i(91788),s=e.i(53576);e.s(["default",0,({loading:e,hasMore:i,onLoadMore:a,children:n,threshold:l=200})=>{let o=(0,r.useRef)(null),d=(0,r.useRef)(e),u=(0,r.useRef)(i),c=(0,r.useRef)(a);return d.current=e,u.current=i,c.current=a,(0,r.useEffect)(()=>{let e=o.current;if(!e)return;let t=new IntersectionObserver(e=>{let t=e.at(-1);t?.isIntersecting&&u.current&&!d.current&&c.current()},{rootMargin:`${l}px`});return t.observe(e),()=>t.disconnect()},[l,i]),(0,t.jsxs)(t.Fragment,{children:[n,i&&(0,t.jsx)("div",{ref:o,className:"h-4"}),e&&(0,t.jsx)("div",{className:"flex justify-center py-4",children:(0,t.jsx)(s.default,{})})]})}])},51128,e=>{"use strict";var t=e.i(91398),r=e.i(69322),s=e.i(3828),i=e.i(35793),a=e.i(76038),n=e.i(42469),l=e.i(83147),o=e.i(73319);e.s(["default",0,({children:e,onSearchChange:d,defaultSearchValue:u,showTagFilter:c=!1,availableTagOptions:h=[]})=>{let{formatMessage:f}=(0,r.useIntl)(),{query:m,push:p}=(0,s.useRouter)(),g=e=>{if((0,o.isTruthy)(e))p({query:(0,l.normalizeQuery)(m,e?.join(","),"tags")});else{let{tags:e,...t}=m;p({query:(0,l.normalizeQuery)(t)})}};return(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"my-3 flex flex-col gap-3",children:(0,t.jsxs)("div",{className:"flex flex-col sm:flex-row sm:items-start gap-3",children:[(0,t.jsx)("div",{className:"flex-shrink-0",children:(0,t.jsx)(i.default,{onInputChange:d,defaultValue:u})}),c&&(0,t.jsxs)("div",{className:"flex flex-col gap-2 flex-1 sm:border-l sm:border-border-default sm:pl-3",children:[(0,t.jsx)("div",{className:"max-w-xs",children:(0,t.jsx)(a.default,{buttonText:f({id:"apply",defaultMessage:"Apply"}),placeholder:f({id:"enter_tag",defaultMessage:"Enter tag..."}),tagList:m?.tags?.split(","),onChange:g,selectOptions:h,showTagsInline:!1})}),m?.tags?.split(",").filter(Boolean).length>0&&(0,t.jsx)("div",{className:"flex flex-wrap gap-2",children:m?.tags?.split(",").filter(Boolean).map(e=>(0,t.jsx)(n.default,{text:e,color:"slate",onClick:()=>{let t=m?.tags?.split(",").filter(t=>t!==e);g(t.length>0?t:null)}},e))})]})]})}),e]})}])},8918,e=>{"use strict";var t=e.i(91398),r=e.i(91788),s=e.i(56206),i=e.i(69322),a=e.i(88566),n=e.i(25575),l=e.i(3828),o=e.i(83147);let d=({onSort:e,sortDirection:r})=>r?"ASC"===r?(0,t.jsx)(n.ChevronUpIcon,{className:"ml-2 w-5 h-5 text-slate-700",onClick:e}):(0,t.jsx)(a.ChevronDownIcon,{className:"ml-2 w-5 h-5 text-slate-700",onClick:e}):(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"ml-2 w-6 h-6",onClick:e,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 15L12 18.75 15.75 15m-7.5-6L12 5.25 15.75 9"})});var u=e.i(2194);let c=e=>{let t=[],s=[],i=[];return r.default.Children.forEach(e.children,e=>{e?.props?.header?t.push(e):e?.props?.footer?i.push(e):s.push(e)}),{header:t,footer:i,body:s}},h=({className:e="",...a})=>{let[n,l]=(0,r.useState)(c(a)),{formatMessage:o}=(0,i.useIntl)(),d={...n,header:r.default.Children.map(n.header,e=>r.default.cloneElement(e))};return(0,r.useEffect)(()=>{l(c(a))},[a.children]),d.header.length||d.body.length?(0,t.jsxs)("table",{className:(0,s.default)("overflow-hidden my-3 flex w-full flex-row flex-nowrap divide-y divide-slate-200 dark:divide-slate-600 shadow-sm sm:rounded-lg sm:bg-white dark:bg-slate-950",e),...a,children:[(0,t.jsx)("thead",{className:"hidden sm:table-header-group bg-surface-raised text-sm text-text-secondary",children:d.header}),d.body.length?(0,t.jsx)("tbody",{className:"space-y-4 sm:space-y-0 flex-1 sm:divide-y divide-slate-200 dark:divide-slate-700 sm:bg-white dark:sm:bg-slate-800 sm:flex-none",children:d.body}):null,d.footer.length?(0,t.jsx)("tfoot",{children:d.footer}):null]}):(0,t.jsx)(u.default,{message:o({id:"data",defaultMessage:"Data"})})};h.Row=({className:e="",children:i=[],header:a=!1,enablesort:n=!1,...l})=>{let o=r.default.Children.map(i,e=>r.default?.cloneElement(e||(0,t.jsx)("span",{}),{header:a,enablesort:n}));return(0,t.jsx)("tr",{className:(0,s.default)("grid grid-cols-1 auto-rows-fr border border-border-subtle sm:border-0 rounded-md sm:mb-0 sm:table-row sm:rounded-none bg-surface sm:bg-inherit dark:sm:bg-inherit",e),...l,children:o})},h.Cell=({className:e="",header:r=!1,enablesort:i=!1,children:a,sortKey:n=null,defaultSortDirection:u=null,...c})=>{let h=(0,l.useRouter)(),f=(0,o.getSortKeys)(h.query?.sort),m=r?"th":"td";return(0,t.jsx)(m,{className:(0,s.default)(r?"px-4 py-3 text-left text-text-muted":"whitespace-nowrap px-4 py-3 text-text-muted border-b dark:border-slate-300 last:border-b-0 sm:border-b-0 text-left flex items-center sm:table-cell",e),...c,children:(0,t.jsxs)("div",{className:"flex items-center",children:[a,"th"===m&&i&&n&&(0,t.jsx)(d,{onSort:e=>{var t;let r;e.preventDefault(),((t=f[n])?"ASC"===t?"DESC":null:"ASC")||!f[n]?r={...f,[n]:"ASC"===f[n]?"DESC":"ASC"}:(delete f[n],r=f);let s=Object.entries(r).map(([e,t])=>[e,t].join("_")).join(","),{sort:i,...a}=h.query,l=Object.keys(a).map(e=>[e,a[e]].join("=")).join("&"),d=0===Object.keys(a).length?`${h.basePath}?sort=${s}`:`${h.basePath}?${l}&sort=${s}`;s?h.push(d):h.push({query:(0,o.normalizeQuery)(a)})},sortDirection:Object.keys(f).length?f[n]:u})]})})},e.s(["default",0,h],8918)},60513,75284,e=>{"use strict";var t=e.i(91788),r=e.i(28401),s=e.i(69322),i=e.i(30086);e.i(51523);var a=e.i(19518),n=e.i(98926),l=e.i(63104),o=e.i(3828);e.s(["useCSVExport",0,()=>{let[e,d]=(0,t.useState)(!1),u=(0,n.useApolloClient)(),c=(0,o.useRouter)(),{addWork:h}=(0,i.default)(),{formatMessage:f}=(0,s.useIntl)(),m=(0,t.useCallback)(async e=>{let{data:t}=await u.query({query:(0,l.GetWorkQuery)(),variables:{workId:e},fetchPolicy:"network-only"});return t?.work??null},[u]);return{isExporting:e,exportCSV:(0,t.useCallback)(async({type:e,pollInterval:t=2e3,...s})=>{d(!0);try{let r=await h({type:a.IWorkType.BulkExport,input:{type:e,...s}}),i=r?.data?.addWork?._id;if(!i)throw Error("Failed to create export work");await new Promise((e,r)=>{let s=setInterval(async()=>{try{let t=await m(i);if(!t)throw Error("Work not found");(t.status===a.IWorkStatus.Success||t.status===a.IWorkStatus.Failed)&&(clearInterval(s),t.status===a.IWorkStatus.Success&&t.success?(c.push(`/exports?workId=${t._id}`),e(t)):r(t.error||Error("Export failed")))}catch(e){clearInterval(s),r(e)}},t)})}catch(e){return console.error("Export failed:",e),r.toast.error(f({id:"export_failed",defaultMessage:"Export failed. Please try again."})),null}finally{d(!1)}},[h,m,c,f])}}],60513);var d=e.i(91398),u=e.i(69211),c=e.i(30434),h=e.i(98949),f=e.i(21128);e.s(["default",0,function({options:e,onSubmit:r,loading:i=!1,successMessage:a=""}){let{formatMessage:n}=(0,s.useIntl)(),l=(0,t.useMemo)(()=>e.reduce((e,t)=>(e[t.key]=t.defaultChecked??!0,e),{}),[e]),o=async e=>(await r(e),{success:!0}),m=(0,h.default)({successMessage:a||n({id:"export_completed",defaultMessage:"Data exported successfully"}),submit:o,enableReinitialize:!0,initialValues:l});return(0,d.jsx)(u.default,{form:m,children:m.api.isSubmitting?(0,d.jsxs)("div",{className:"flex items-center gap-3 p-4 mb-4 rounded-lg animate-pulse",children:[(0,d.jsx)("div",{className:"w-5 h-5 border-2 border-blue-600 border-t-transparent rounded-full animate-spin"}),(0,d.jsx)("span",{className:"text-sm font-medium text-blue-700 dark:text-blue-300",children:n({id:"exporting_message",defaultMessage:"Generating your export files. This may take a moment..."})})]}):(0,d.jsxs)("fieldset",{disabled:i,style:{border:"none",padding:0},children:[(0,d.jsxs)("h3",{children:[" ",n({id:"export_options",defaultMessage:"Export options"})]}),e.map(e=>(0,d.jsx)(c.default,{name:e.key,label:e.label,hideLabel:!0,className:"mr-2 h-4 w-4 justify-between rounded-sm border-border-default bg-white text-slate-950 focus:ring-focus-ring lg:items-center",type:"checkbox"},e.key)),(0,d.jsx)(f.default,{label:n({id:"submit",defaultMessage:"Submit"}),disabled:i})]})})}],75284)},78193,e=>{"use strict";var t=e.i(91788),r=e.i(69322),s=e.i(30086);e.i(51523);var i=e.i(19518);e.s(["useCSVImport",0,({validate:e,process:a})=>{let{addWork:n}=(0,s.default)(),[l,o]=(0,t.useState)(!1),d=(0,r.useIntl)();return{isImporting:l,importItems:async t=>{let r={success:0,failed:0,errors:[]};try{o(!0);let s=e(t,d);s.length>0&&(r.failed+=s.length,r.errors.push(...s));let l=await a(t);for(let e=0;e<l.length;e+=100){let t=l.slice(e,e+100);try{await n({type:i.IWorkType.BulkImport,input:{createShouldUpsertIfIDExists:!0,events:t}}),r.success+=t.length}catch(s){console.error("Batch import failed:",s),r.failed+=t.length,r.errors.push(`Batch starting at index ${e} failed: ${s.message}`)}}return o(!1),r}catch(e){return console.error("Import failed:",e),o(!1),r.errors.push(e.message||"Unknown error"),r}}}}])},16785,e=>{"use strict";e.s(["downloadCSV",0,(e,t)=>{let r=new Blob([e],{type:"text/csv;charset=utf-8;"}),s=document.createElement("a");if(void 0!==s.download){let e=URL.createObjectURL(r);s.setAttribute("href",e),s.setAttribute("download",t),s.style.visibility="hidden",document.body.appendChild(s),s.click(),document.body.removeChild(s),URL.revokeObjectURL(e)}}])},2765,e=>{"use strict";e.s(["default",0,(e=500)=>t=>{let r;return(...s)=>{let i;clearTimeout(r),r=setTimeout(()=>t.apply(i,s),e)}}])},22003,e=>{"use strict";e.s(["default",0,e=>{if("string"==typeof e&&e.trim())try{let t=JSON.parse(e);return t&&"object"==typeof t&&Object.keys(t).length?t:void 0}catch{return}}])},42912,e=>{"use strict";var t=e.i(91398),r=e.i(69322);e.s(["default",0,({result:e,title:s,entityName:i="items"})=>{let{formatMessage:a}=(0,r.useIntl)();return(0,t.jsxs)("div",{className:"p-4",children:[(0,t.jsx)("h3",{className:"text-lg font-semibold mb-4",children:s||a({id:"import_results",defaultMessage:"Import Results"})}),(0,t.jsx)("p",{className:"text-green-600",children:a({id:"items_imported",defaultMessage:"{count} {entityName} imported successfully"},{count:e?.success,entityName:i})}),e?.failed>0&&(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-red-600 mt-2",children:a({id:"items_failed",defaultMessage:"{count} {entityName} failed to import"},{count:e?.failed,entityName:i})}),(0,t.jsxs)("div",{className:"mt-2 max-h-40 overflow-y-auto",children:[e.errors.slice(0,10).map((e,r)=>(0,t.jsx)("p",{className:"text-sm text-red-500",children:e},r)),e.errors.length>10&&(0,t.jsxs)("p",{className:"text-sm text-gray-500",children:["... and ",e.errors.length-10," more errors"]})]})]})]})}])},94672,e=>{"use strict";var t=e.i(59080);let r=t.gql`
2
+ fragment WorkFragment on Work {
3
+ _id
4
+ type
5
+ scheduled
6
+ status
7
+ started
8
+ success
9
+ finished
10
+ created
11
+ deleted
12
+ retries
13
+ original {
14
+ _id
15
+ retries
16
+ }
17
+ input
18
+ result
19
+ }
20
+ `;e.s(["default",0,r])},30086,e=>{"use strict";var t=e.i(59080),r=e.i(76204);let s=t.gql`
21
+ mutation AddWork(
22
+ $type: WorkType!
23
+ $priority: Int! = 0
24
+ $input: JSON
25
+ $originalWorkId: ID
26
+ $scheduled: Timestamp
27
+ $retries: Int! = 20
28
+ ) {
29
+ addWork(
30
+ type: $type
31
+ priority: $priority
32
+ input: $input
33
+ originalWorkId: $originalWorkId
34
+ scheduled: $scheduled
35
+ retries: $retries
36
+ ) {
37
+ _id
38
+ }
39
+ }
40
+ `;e.s(["default",0,()=>{let[e]=(0,r.useMutation)(s);return{addWork:async({type:t,priority:r,input:s,originalWorkId:i,scheduled:a=null,retries:n})=>e({variables:{type:t,priority:r,input:s,originalWorkId:i,scheduled:a,retries:n},refetchQueries:["WorkQueue"]})}}])},63104,e=>{"use strict";var t=e.i(59080),r=e.i(32171),s=e.i(70693),i=e.i(94672);let a=(e="")=>t.gql`
41
+ query Work($workId: ID!) {
42
+ work(workId: $workId) {
43
+ ...WorkFragment
44
+ ${e}
45
+ error
46
+ priority
47
+ worker
48
+ timeout
49
+ }
50
+ }
51
+ ${i.default}
52
+ `;e.s(["GetWorkQuery",0,a,"default",0,({workId:e=null,...t})=>{let{customProperties:i}=(0,s.default)(),{data:n,loading:l,error:o,previousData:d}=(0,r.useQuery)(a(i?.Work),{skip:!e,variables:{workId:e},...t});return{work:n?.work||d?.work,loading:l,error:o}}])},88566,25575,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},i){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:i,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{fillRule:"evenodd",d:"M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))});e.s(["ChevronDownIcon",0,r],88566);let s=t.forwardRef(function({title:e,titleId:r,...s},i){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:i,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{fillRule:"evenodd",d:"M9.47 6.47a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 1 1-1.06 1.06L10 8.06l-3.72 3.72a.75.75 0 0 1-1.06-1.06l4.25-4.25Z",clipRule:"evenodd"}))});e.s(["ChevronUpIcon",0,s],25575)},92802,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},i){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:i,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M18.364 18.364A9 9 0 0 0 5.636 5.636m12.728 12.728A9 9 0 0 1 5.636 5.636m12.728 12.728L5.636 5.636"}))});e.s(["default",0,r])},72552,(e,t,r)=>{var s;let i;e.e,s=function e(){var t="u">typeof self?self:"u">typeof window?window:void 0!==t?t:{},r=!t.document&&!!t.postMessage,s=t.IS_PAPA_WORKER||!1,i={},a=0,n={};function l(e){return 65279===e.charCodeAt(0)?e.slice(1):e}function o(e){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},(function(e){var t=y(e);t.chunkSize=parseInt(t.chunkSize),e.step||e.chunk||(t.chunkSize=null),this._handle=new f(t),(this._handle.streamer=this)._config=t}).call(this,e),this.parseChunk=function(e,r){var i=parseInt(this._config.skipFirstNLines)||0;if(this.isFirstChunk&&0<i){let t=this._config.newline;t||(a=this._config.quoteChar||'"',t=this._handle.guessLineEndings(e,a)),e=[...e.split(t).slice(i)].join(t)}this.isFirstChunk&&w(this._config.beforeFirstChunk)&&void 0!==(a=this._config.beforeFirstChunk(e))&&(e=a),this.isFirstChunk=!1,this._halted=!1;var i=this._partialLine+e,a=(this._partialLine="",this._handle.parse(i,this._baseIndex,!this._finished));if(!this._handle.paused()&&!this._handle.aborted()){if(e=a.meta.cursor,this._finished||(this._partialLine=i.substring(e-this._baseIndex),this._baseIndex=e),a&&a.data&&(this._rowCount+=a.data.length),i=this._finished||this._config.preview&&this._rowCount>=this._config.preview,s)t.postMessage({results:a,workerId:n.WORKER_ID,finished:i});else if(w(this._config.chunk)&&!r){if(this._config.chunk(a,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);this._completeResults=a=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(a.data),this._completeResults.errors=this._completeResults.errors.concat(a.errors),this._completeResults.meta=a.meta),this._completed||!i||!w(this._config.complete)||a&&a.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),i||a&&a.meta.paused||this._nextChunk(),a}this._halted=!0},this._sendError=function(e){w(this._config.error)?this._config.error(e):s&&this._config.error&&t.postMessage({workerId:n.WORKER_ID,error:e,finished:!1})}}function d(e){var t;(e=e||{}).chunkSize||(e.chunkSize=n.RemoteChunkSize),o.call(this,e),this._nextChunk=r?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(e){this._input=e,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(t=new XMLHttpRequest,this._config.withCredentials&&(t.withCredentials=this._config.withCredentials),r||(t.onload=k(this._chunkLoaded,this),t.onerror=k(this._chunkError,this)),t.ontimeout=k(this._chunkTimeout,this),t.open(this._config.downloadRequestBody?"POST":"GET",this._input,!r),this._config.downloadTimeout&&!r&&(t.timeout=this._config.downloadTimeout),this._config.downloadRequestHeaders){var e,s,i=this._config.downloadRequestHeaders;for(s in i)t.setRequestHeader(s,i[s])}this._config.chunkSize&&(e=this._start+this._config.chunkSize-1,t.setRequestHeader("Range","bytes="+this._start+"-"+e));try{t.send(this._config.downloadRequestBody)}catch(e){this._chunkError(e.message)}r&&0===t.status&&this._chunkError()}},this._chunkLoaded=function(){let e;4===t.readyState&&(t.status<200||400<=t.status?this._chunkError():(this._start+=this._config.chunkSize||t.responseText.length,this._finished=!this._config.chunkSize||this._start>=(null!==(e=(e=t).getResponseHeader("Content-Range"))?parseInt(e.substring(e.lastIndexOf("/")+1)):-1),this.parseChunk(t.responseText)))},this._chunkError=function(e){e=t.statusText||e,this._sendError(Error(e))},this._chunkTimeout=function(){this._chunkError("Request timed out after "+this._config.downloadTimeout+"ms")}}function u(e){(e=e||{}).chunkSize||(e.chunkSize=n.LocalChunkSize),o.call(this,e);var t,r,s="u">typeof FileReader;this.stream=function(e){this._input=e,r=e.slice||e.webkitSlice||e.mozSlice,s?((t=new FileReader).onload=k(this._chunkLoaded,this),t.onerror=k(this._chunkError,this)):t=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var e=this._input,i=(this._config.chunkSize&&(i=Math.min(this._start+this._config.chunkSize,this._input.size),e=r.call(e,this._start,i)),t.readAsText(e,this._config.encoding));s||this._chunkLoaded({target:{result:i}})},this._chunkLoaded=function(e){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(e.target.result)},this._chunkError=function(){this._sendError(t.error)}}function c(e){var t;o.call(this,e=e||{}),this.stream=function(e){return t=e,this._nextChunk()},this._nextChunk=function(){var e,r;if(!this._finished)return t=(e=this._config.chunkSize)?(r=t.substring(0,e),t.substring(e)):(r=t,""),this._finished=!t,this.parseChunk(r)}}function h(e){o.call(this,e=e||{});var t=[],r=!0,s=!1;this.pause=function(){o.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){o.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(e){this._input=e,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){s&&1===t.length&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),t.length?this.parseChunk(t.shift()):r=!0},this._streamData=k(function(e){try{t.push("string"==typeof e?e:e.toString(this._config.encoding)),r&&(r=!1,this._checkIsFinished(),this.parseChunk(t.shift()))}catch(e){this._streamError(e)}},this),this._streamError=k(function(e){this._streamCleanUp(),this._sendError(e)},this),this._streamEnd=k(function(){this._streamCleanUp(),s=!0,this._streamData("")},this),this._streamCleanUp=k(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function f(e){var t,r,s,i,a=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,l=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,o=this,d=0,u=0,c=!1,h=!1,f=[],g={data:[],errors:[],meta:{}};function x(t){return"greedy"===e.skipEmptyLines?""===t.join("").trim():1===t.length&&0===t[0].length}function b(){if(g&&s&&(v("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+n.DefaultDelimiter+"'"),s=!1),e.skipEmptyLines&&(g.data=g.data.filter(function(e){return!x(e)})),k()){if(g)if(Array.isArray(g.data[0])){for(var t,r=0;k()&&r<g.data.length;r++)g.data[r].forEach(i);g.data.splice(0,1)}else g.data.forEach(i);function i(e){f.push(e)}}function o(t,r){for(var s=e.header?{}:[],i=0;i<t.length;i++){var n=i,o=t[i],o=((t,r)=>(e.dynamicTypingFunction&&void 0===e.dynamicTyping[t]&&(e.dynamicTyping[t]=e.dynamicTypingFunction(t)),!0===(e.dynamicTyping[t]||e.dynamicTyping))?"true"===r||"TRUE"===r||"false"!==r&&"FALSE"!==r&&((e=>{if(a.test(e)&&-0x20000000000000<(e=parseFloat(e))&&e<0x20000000000000)return 1})(r)?parseFloat(r):l.test(r)?new Date(r):""===r?null:r):r)(n=e.header?i>=f.length?"__parsed_extra":f[i]:n,o=e.transform?e.transform(o,n):o);"__parsed_extra"===n?(s[n]=s[n]||[],s[n].push(o)):s[n]=o}return e.header&&(i>f.length?v("FieldMismatch","TooManyFields","Too many fields: expected "+f.length+" fields but parsed "+i,u+r):i<f.length&&v("FieldMismatch","TooFewFields","Too few fields: expected "+f.length+" fields but parsed "+i,u+r)),s}g&&(e.header||e.dynamicTyping||e.transform)&&(t=1,!g.data.length||Array.isArray(g.data[0])?(g.data=g.data.map(o),t=g.data.length):g.data=o(g.data,0),e.header&&g.meta&&(g.meta.fields=f),u+=t)}function k(){return e.header&&0===f.length}function v(e,t,r,s){e={type:e,code:t,message:r},void 0!==s&&(e.row=s),g.errors.push(e)}w(e.step)&&(i=e.step,e.step=function(t){g=t,k()?b():(b(),0!==g.data.length&&(d+=t.data.length,e.preview&&d>e.preview?r.abort():(g.data=g.data[0],i(g,o))))}),this.parse=function(i,a,l){var o=e.quoteChar||'"',o=(e.newline||(e.newline=this.guessLineEndings(i,o)),s=!1,e.delimiter?w(e.delimiter)&&(e.delimiter=e.delimiter(i),g.meta.delimiter=e.delimiter):((o=((t,r,s,i,a)=>{var l,o,d,u;a=a||[","," ","|",";",n.RECORD_SEP,n.UNIT_SEP];for(var c=0;c<a.length;c++){for(var h,f=a[c],m=0,g=0,b=0,y=(d=void 0,new p({comments:i,delimiter:f,newline:r,preview:10}).parse(t)),k=0;k<y.data.length;k++)s&&x(y.data[k])?b++:(g+=h=y.data[k].length,void 0===d?d=h:0<h&&(m+=Math.abs(h-d),d=h));0<y.data.length&&(g/=y.data.length-b),1.99<g&&(void 0===o||m<o||m===o&&u<g)&&(o=m,l=f,u=g)}return{successful:!!(e.delimiter=l),bestDelimiter:l}})(i,e.newline,e.skipEmptyLines,e.comments,e.delimitersToGuess)).successful?e.delimiter=o.bestDelimiter:(s=!0,e.delimiter=n.DefaultDelimiter),g.meta.delimiter=e.delimiter),y(e));return o.header=k(),e.preview&&e.header&&o.preview++,t=i,g=(r=new p(o)).parse(t,a,l),b(),c?{meta:{paused:!0}}:g||{meta:{paused:!1}}},this.paused=function(){return c},this.pause=function(){c=!0,r.abort(),t=w(e.chunk)?"":t.substring(r.getCharIndex())},this.resume=function(){o.streamer._halted?(c=!1,o.streamer.parseChunk(t,!0)):setTimeout(o.resume,3)},this.aborted=function(){return h},this.abort=function(){h=!0,r.abort(),g.meta.aborted=!0,w(e.complete)&&e.complete(g),t=""},this.guessLineEndings=function(e,t){e=e.substring(0,1048576);var t=RegExp(m(t)+"([^]*?)"+m(t),"gm"),r=(e=e.replace(t,"")).split("\r"),t=e.split("\n"),e=1<t.length&&t[0].length<r[0].length;if(1===r.length||e)return"\n";for(var s=0,i=0;i<r.length;i++)"\n"===r[i][0]&&s++;return s>=r.length/2?"\r\n":"\r"}}function m(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function p(e){var t=(e=e||{}).delimiter,r=e.newline,s=e.comments,i=e.step,a=e.preview,o=e.fastMode,d=null,u=!1,c=null==e.quoteChar?'"':e.quoteChar,h=c;if(void 0!==e.escapeChar&&(h=e.escapeChar),("string"!=typeof t||-1<n.BAD_DELIMITERS.indexOf(t))&&(t=","),s===t)throw Error("Comment character same as delimiter");!0===s?s="#":("string"!=typeof s||-1<n.BAD_DELIMITERS.indexOf(s))&&(s=!1),"\n"!==r&&"\r"!==r&&"\r\n"!==r&&(r="\n");var f=0,p=!1;this.parse=function(n,g,x){if("string"!=typeof n)throw Error("Input must be a string");var b=n.length,y=t.length,k=r.length,v=s.length,_=w(i),C=[],j=[],E=[],S=f=0;if(!n)return W();if(o||!1!==o&&-1===n.indexOf(c)){for(var R=n.split(r),I=0;I<R.length;I++){if(E=R[I],f+=E.length,I!==R.length-1)f+=r.length;else if(x)break;if(!s||E.substring(0,v)!==s){if(_){if(C=[],T(E.split(t)),q(),p)return W()}else T(E.split(t));if(a&&a<=I)return C=C.slice(0,a),W(!0)}}return W()}for(var N=n.indexOf(t,f),O=n.indexOf(r,f),L=RegExp(m(h)+m(c),"g"),A=n.indexOf(c,f);;)if(n[f]===c)for(A=f,f++;;){if(-1===(A=n.indexOf(c,A+1)))return x||j.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:C.length,index:f}),F();if(A===b-1)return F(n.substring(f,A).replace(L,c));if(c===h&&n[A+1]===h)A++;else if(c===h||0===A||n[A-1]!==h){-1!==N&&N<A+1&&(N=n.indexOf(t,A+1));var M=D(-1===(O=-1!==O&&O<A+1?n.indexOf(r,A+1):O)?N:Math.min(N,O));if(n.substr(A+1+M,y)===t){E.push(n.substring(f,A).replace(L,c)),n[f=A+1+M+y]!==c&&(A=n.indexOf(c,f)),N=n.indexOf(t,f),O=n.indexOf(r,f);break}if(M=D(O),n.substring(A+1+M,A+1+M+k)===r){if(E.push(n.substring(f,A).replace(L,c)),z(A+1+M+k),N=n.indexOf(t,f),A=n.indexOf(c,f),_&&(q(),p))return W();if(a&&C.length>=a)return W(!0);break}j.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:C.length,index:f}),A++}}else if(s&&0===E.length&&n.substring(f,f+v)===s){if(-1===O)return W();f=O+k,O=n.indexOf(r,f),N=n.indexOf(t,f)}else if(-1!==N&&(N<O||-1===O))E.push(n.substring(f,N)),f=N+y,N=n.indexOf(t,f);else{if(-1===O)break;if(E.push(n.substring(f,O)),z(O+k),_&&(q(),p))return W();if(a&&C.length>=a)return W(!0)}return F();function T(e){C.push(e),S=f}function D(e){return -1!==e&&(e=n.substring(A+1,e))&&""===e.trim()?e.length:0}function F(e){return x||(void 0===e&&(e=n.substring(f)),E.push(e),f=b,T(E),_&&q()),W()}function z(e){f=e,T(E),E=[],O=n.indexOf(r,f)}function W(s){if(e.header&&!g&&C.length&&!u){var i=C[0],a=Object.create(null),n=new Set(i);let t=!1;for(let r=0;r<i.length;r++){let s=l(i[r]);if(a[s=w(e.transformHeader)?e.transformHeader(s,r):s]){let e,l=a[s];for(;e=s+"_"+l,l++,n.has(e););n.add(e),i[r]=e,a[s]++,t=!0,(d=null===d?{}:d)[e]=s}else a[s]=1,i[r]=s;n.add(s)}t&&console.warn("Duplicate headers found and renamed."),u=!0}return{data:C,errors:j,meta:{delimiter:t,linebreak:r,aborted:p,truncated:!!s,cursor:S+(g||0),renamedHeaders:d}}}function q(){i(W()),C=[],j=[]}},this.abort=function(){p=!0},this.getCharIndex=function(){return f}}function g(e){var t=e.data,r=i[t.workerId],s=!1;if(t.error)r.userError(t.error,t.file);else if(t.results&&t.results.data){var a={abort:function(){s=!0,x(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:b,resume:b};if(w(r.userStep)){for(var n=0;n<t.results.data.length&&(r.userStep({data:t.results.data[n],errors:t.results.errors,meta:t.results.meta},a),!s);n++);delete t.results}else w(r.userChunk)&&(r.userChunk(t.results,a,t.file),delete t.results)}t.finished&&!s&&x(t.workerId,t.results)}function x(e,t){var r=i[e];w(r.userComplete)&&r.userComplete(t),r.terminate(),delete i[e]}function b(){throw Error("Not implemented.")}function y(e){if("object"!=typeof e||null===e)return e;var t,r=Array.isArray(e)?[]:{};for(t in e)r[t]=y(e[t]);return r}function k(e,t){return function(){e.apply(t,arguments)}}function w(e){return"function"==typeof e}return n.parse=function(r,s){var o,f,m,p=(s=s||{}).dynamicTyping||!1;if(w(p)&&(s.dynamicTypingFunction=p,p={}),s.dynamicTyping=p,s.transform=!!w(s.transform)&&s.transform,void 0!==s.downloadTimeout){var p=parseInt(s.downloadTimeout);if(isNaN(p))throw Error("Config downloadTimeout value ("+s.downloadTimeout+") not parsable by parseInt(val).");s.downloadTimeout=p}if(!s.worker||!n.WORKERS_SUPPORTED)return p=null,n.NODE_STREAM_INPUT,"string"==typeof r?(r=l(r),p=new(s.download?d:c)(s)):!0===r.readable&&w(r.read)&&w(r.on)?p=new h(s):(t.File&&r instanceof File||r instanceof Object)&&(p=new u(s)),p.stream(r);(p=!!n.WORKERS_SUPPORTED&&(f=t.URL||t.webkitURL||null,m=e.toString(),o=n.BLOB_URL||(n.BLOB_URL=f.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",m,")();"],{type:"text/javascript"}))),(o=new t.Worker(o)).onmessage=g,o.id=a++,i[o.id]=o)).userStep=s.step,p.userChunk=s.chunk,p.userComplete=s.complete,p.userError=s.error,s.step=w(s.step),s.chunk=w(s.chunk),s.complete=w(s.complete),s.error=w(s.error),delete s.worker,p.postMessage({input:r,config:s,workerId:p.id})},n.unparse=function(e,t){var r=!1,s=!0,i=",",a="\r\n",l='"',o=l+l,d=!1,u=null,c=!1,h=((()=>{if("object"==typeof t){if("string"!=typeof t.delimiter||n.BAD_DELIMITERS.filter(function(e){return -1!==t.delimiter.indexOf(e)}).length||(i=t.delimiter),("boolean"==typeof t.quotes||"function"==typeof t.quotes||Array.isArray(t.quotes))&&(r=t.quotes),"boolean"!=typeof t.skipEmptyLines&&"string"!=typeof t.skipEmptyLines||(d=t.skipEmptyLines),"string"==typeof t.newline&&(a=t.newline),"string"==typeof t.quoteChar&&(o=(l=t.quoteChar)+l),"boolean"==typeof t.header&&(s=t.header),Array.isArray(t.columns)){if(0===t.columns.length)throw Error("Option columns is empty");u=t.columns}void 0!==t.escapeChar&&(o=t.escapeChar+l),t.escapeFormulae instanceof RegExp?c=t.escapeFormulae:"boolean"==typeof t.escapeFormulae&&t.escapeFormulae&&(c=/^[=+\-@\t\r].*$/)}})(),RegExp(m(l),"g"));if("string"==typeof e&&(e=JSON.parse(e)),Array.isArray(e)){if(!e.length||Array.isArray(e[0]))return f(null,e,d);if("object"==typeof e[0])return f(u||Object.keys(e[0]),e,d)}else if("object"==typeof e)return"string"==typeof e.data&&(e.data=JSON.parse(e.data)),Array.isArray(e.data)&&(e.fields||(e.fields=e.meta&&e.meta.fields||u),e.fields||(e.fields=Array.isArray(e.data[0])?e.fields:"object"==typeof e.data[0]?Object.keys(e.data[0]):[]),Array.isArray(e.data[0])||"object"==typeof e.data[0]||(e.data=[e.data])),f(e.fields||[],e.data||[],d);throw Error("Unable to serialize unrecognized input");function f(e,t,r){var n="",l=("string"==typeof e&&(e=JSON.parse(e)),"string"==typeof t&&(t=JSON.parse(t)),Array.isArray(e)&&0<e.length),o=!Array.isArray(t[0]);if(l&&s){for(var d=0;d<e.length;d++)0<d&&(n+=i),n+=p(e[d],d);0<t.length&&(n+=a)}for(var u=0;u<t.length;u++){var c=(l?e:t[u]).length,h=!1,f=l?0===Object.keys(t[u]).length:0===t[u].length;if(r&&!l&&(h="greedy"===r?""===t[u].join("").trim():1===t[u].length&&0===t[u][0].length),"greedy"===r&&l){for(var m=[],g=0;g<c;g++){var x=o?e[g]:g;m.push(t[u][x])}h=""===m.join("").trim()}if(!h){for(var b=0;b<c;b++){0<b&&!f&&(n+=i);var y=l&&o?e[b]:b;n+=p(t[u][y],b)}u<t.length-1&&(!r||0<c&&!f)&&(n+=a)}}return n}function p(e,t){var s,a,d;return null==e?"":e.constructor===Date?isNaN(e.getTime())?"":e.toISOString():(d=!1,c&&"string"==typeof e&&c.test(e)&&(e="'"+e,d=!0),a=(s=e.toString()).replace(h,o),(d=d||!0===r||"function"==typeof r&&r(e,t)||Array.isArray(r)&&r[t]||((e,t)=>{for(var r=0;r<t.length;r++)if(-1<e.indexOf(t[r]))return!0;return!1})(a,n.BAD_DELIMITERS)||-1<a.indexOf(i)||-1<s.indexOf(l)||" "===a.charAt(0)||" "===a.charAt(a.length-1))?l+a+l:a)}},n.RECORD_SEP="\x1e",n.UNIT_SEP="\x1f",n.BYTE_ORDER_MARK="\uFEFF",n.BAD_DELIMITERS=["\r","\n",'"',n.BYTE_ORDER_MARK],n.WORKERS_SUPPORTED=!r&&!!t.Worker,n.NODE_STREAM_INPUT=1,n.LocalChunkSize=0xa00000,n.RemoteChunkSize=5242880,n.DefaultDelimiter=",",n.Parser=p,n.ParserHandle=f,n.NetworkStreamer=d,n.FileStreamer=u,n.StringStreamer=c,n.ReadableStreamStreamer=h,s&&(t.onmessage=function(e){e=e.data,void 0===n.WORKER_ID&&e&&(n.WORKER_ID=e.workerId),"string"==typeof e.input?t.postMessage({workerId:n.WORKER_ID,results:n.parse(e.input,e.config),finished:!0}):(t.File&&e.input instanceof File||e.input instanceof Object)&&(e=n.parse(e.input,e.config))&&t.postMessage({workerId:n.WORKER_ID,results:e,finished:!0})}),(d.prototype=Object.create(o.prototype)).constructor=d,(u.prototype=Object.create(o.prototype)).constructor=u,(c.prototype=Object.create(c.prototype)).constructor=c,(h.prototype=Object.create(o.prototype)).constructor=h,n},"function"==typeof define&&define.amd?void 0!==(i=s())&&e.v(i):t.exports=s()}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,42469,e=>{"use strict";var r=e.i(91398),t=e.i(56206),o=e.i(60193);e.s(["default",0,({text:e,className:d="",dotted:a=null,color:l="green",square:b=null,onClick:n=null})=>{let s=l?.trim(),g="rainbow"===s;return(0,r.jsx)("span",{id:"badge",className:(0,t.default)(g?"inline-flex items-center text-sm font-bold text-text-primary shadow-lg relative p-[2px] bg-gradient-to-r from-rose-500 via-emerald-500 to-sky-500":`inline-flex items-center border ${(0,o.borderColor)(s,400)} px-2.5 py-0.5 text-sm font-medium ${(0,o.bgColor)(s,100)} ${(0,o.textColor)(s,800)}`,d,{"rounded-full":!b,"rounded-md":b}),children:g?(0,r.jsxs)("span",{className:(0,t.default)("inline-flex items-center bg-white dark:bg-slate-700 px-2.5 py-0.5",{"rounded-full":!b,"rounded-md":b}),children:[a&&(0,r.jsx)("svg",{className:"text-text-primary -ml-1 mr-1.5 h-2 w-2",fill:"currentColor",viewBox:"0 0 8 8",children:(0,r.jsx)("circle",{cx:"4",cy:"4",r:"3"})}),e,n&&(0,r.jsx)("button",{id:"badge-x-button",type:"button",onClick:n,className:"ml-0.5 inline-flex h-4 w-4 shrink-0 items-center justify-center rounded-full text-text-primary hover:bg-slate-900 hover:bg-opacity-10 dark:hover:bg-white dark:hover:bg-opacity-20 focus:outline-hidden focus:bg-slate-900 focus:bg-opacity-20 dark:focus:bg-white dark:focus:bg-opacity-30",children:(0,r.jsx)("svg",{className:"h-2 w-2",stroke:"currentColor",fill:"none",viewBox:"0 0 8 8",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeWidth:"1.5",d:"M1 1l6 6m0-6L1 7"})})})]}):(0,r.jsxs)(r.Fragment,{children:[a&&(0,r.jsx)("svg",{className:`-ml-1 mr-1.5 h-2 w-2 ${(0,o.textColor)(s,400)}`,fill:"currentColor",viewBox:"0 0 8 8",children:(0,r.jsx)("circle",{cx:"4",cy:"4",r:"3"})}),e,n&&(0,r.jsx)("button",{id:"badge-x-button",type:"button",onClick:n,className:`ml-0.5 inline-flex h-4 w-4 shrink-0 items-center justify-center rounded-full ${(0,o.textColor)(s,400)} hover:${(0,o.bgColor)(s,200)} hover:text-${s}-500 focus:outline-hidden focus:${(0,o.bgColor)(s,500)} focus:text-white`,children:(0,r.jsx)("svg",{className:"h-2 w-2",stroke:"currentColor",fill:"none",viewBox:"0 0 8 8",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeWidth:"1.5",d:"M1 1l6 6m0-6L1 7"})})})]})})}])},53576,e=>{"use strict";var r=e.i(91398),t=e.i(69322);e.s(["default",0,()=>{let{formatMessage:e}=(0,t.useIntl)();return(0,r.jsx)("div",{className:"my-5 flex h-full w-full items-center justify-center bg-slate-50 dark:bg-slate-950 py-5",children:(0,r.jsxs)("div",{className:"flex items-center justify-center space-x-1 text-sm text-text-secondary",children:[(0,r.jsx)("svg",{fill:"none",className:"h-6 w-6 animate-spin",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{clipRule:"evenodd",d:"M15.165 8.53a.5.5 0 01-.404.58A7 7 0 1023 16a.5.5 0 011 0 8 8 0 11-9.416-7.874.5.5 0 01.58.404z",fill:"currentColor",fillRule:"evenodd"})}),(0,r.jsx)("div",{children:e({id:"loading",defaultMessage:"Loading ..."})})]})})}])},60193,e=>{"use strict";let r={red:{bg:{50:"bg-rose-50 dark:bg-rose-900/20",100:"bg-rose-100 dark:bg-rose-900/30",200:"bg-rose-200",300:"bg-rose-300 dark:bg-rose-900/30",400:"bg-rose-400",500:"bg-rose-500",600:"bg-rose-600",700:"bg-rose-700",800:"bg-rose-800",900:"bg-rose-900"},text:{50:"text-rose-50",100:"text-rose-100",200:"text-rose-200",300:"text-rose-300",400:"text-rose-400 dark:text-rose-300",500:"text-rose-500",600:"text-danger",700:"text-rose-700 dark:text-rose-300",800:"text-rose-800 dark:text-rose-200",900:"text-rose-900"},border:{50:"border-rose-50",100:"border-rose-100",200:"border-rose-200 dark:border-rose-800",300:"border-rose-300 dark:border-rose-700",400:"border-rose-400 dark:border-rose-600",500:"border-rose-500",600:"border-rose-600",700:"border-rose-700",800:"border-rose-800",900:"border-rose-900"}},pink:{bg:{50:"bg-pink-50",100:"bg-pink-100",200:"bg-pink-200",300:"bg-pink-300",400:"bg-pink-400",500:"bg-pink-500",600:"bg-pink-600",700:"bg-pink-700",800:"bg-pink-800",900:"bg-pink-900"},text:{50:"text-pink-50",100:"text-pink-100",200:"text-pink-200",300:"text-pink-300",400:"text-pink-400",500:"text-pink-500",600:"text-pink-600",700:"text-pink-700",800:"text-pink-800",900:"text-pink-900"},border:{50:"border-pink-50",100:"border-pink-100",200:"border-pink-200",300:"border-pink-300",400:"border-pink-400",500:"border-pink-500",600:"border-pink-600",700:"border-pink-700",800:"border-pink-800",900:"border-pink-900"}},purple:{bg:{50:"bg-purple-50 dark:bg-purple-900/20",100:"bg-purple-100 dark:bg-purple-900/30",200:"bg-purple-200",300:"bg-purple-300",400:"bg-purple-400",500:"bg-purple-500",600:"bg-purple-600",700:"bg-purple-700",800:"bg-purple-800",900:"bg-purple-900"},text:{50:"text-purple-50",100:"text-purple-100",200:"text-purple-200",300:"text-purple-300",400:"text-purple-400 dark:text-purple-300",500:"text-purple-500",600:"text-purple-600 dark:text-purple-400",700:"text-purple-700",800:"text-purple-800 dark:text-purple-300",900:"text-purple-900"},border:{50:"border-purple-50",100:"border-purple-100",200:"border-purple-200 dark:border-purple-600",300:"border-purple-300 dark:border-purple-500",400:"border-purple-400 dark:border-purple-500",500:"border-purple-500",600:"border-purple-600",700:"border-purple-700",800:"border-purple-800",900:"border-purple-900"}},"deep-purple":{bg:{50:"bg-deep-purple-50",100:"bg-deep-purple-100",200:"bg-deep-purple-200",300:"bg-deep-purple-300",400:"bg-deep-purple-400",500:"bg-deep-purple-500",600:"bg-deep-purple-600",700:"bg-deep-purple-700",800:"bg-deep-purple-800",900:"bg-deep-purple-900"},text:{50:"text-deep-purple-50",100:"text-deep-purple-100",200:"text-deep-purple-200",300:"text-deep-purple-300",400:"text-deep-purple-400",500:"text-deep-purple-500",600:"text-deep-purple-600",700:"text-deep-purple-700",800:"text-deep-purple-800",900:"text-deep-purple-900"},border:{50:"border-deep-purple-50",100:"border-deep-purple-100",200:"border-deep-purple-200",300:"border-deep-purple-300",400:"border-deep-purple-400",500:"border-deep-purple-500",600:"border-deep-purple-600",700:"border-deep-purple-700",800:"border-deep-purple-800",900:"border-deep-purple-900"}},blue:{bg:{50:"bg-sky-50 dark:bg-sky-900/20",100:"bg-sky-100 dark:bg-sky-900/30",200:"bg-sky-200",300:"bg-sky-300",400:"bg-sky-400",500:"bg-sky-500",600:"bg-sky-600",700:"bg-sky-700",800:"bg-sky-800",900:"bg-sky-900"},text:{50:"text-sky-50",100:"text-sky-100",200:"text-sky-200",300:"text-sky-300",400:"text-sky-400 dark:text-sky-300",500:"text-sky-500",600:"text-sky-600 dark:text-sky-400",700:"text-sky-700 dark:text-sky-300",800:"text-sky-800 dark:text-sky-200",900:"text-sky-900"},border:{50:"border-sky-50",100:"border-sky-100",200:"border-sky-200 dark:border-sky-800",300:"border-sky-300 dark:border-sky-700",400:"border-sky-400 dark:border-sky-600",500:"border-sky-500",600:"border-sky-600",700:"border-sky-700",800:"border-sky-800",900:"border-sky-900"}},"light-blue":{bg:{50:"bg-sky-50",100:"bg-sky-100",200:"bg-sky-200",300:"bg-sky-300",400:"bg-sky-400",500:"bg-sky-500",600:"bg-sky-600",700:"bg-sky-700",800:"bg-sky-800",900:"bg-sky-900"},text:{50:"text-sky-50",100:"text-sky-100",200:"text-sky-200",300:"text-sky-300",400:"text-sky-400",500:"text-sky-500",600:"text-sky-600",700:"text-sky-700",800:"text-sky-800",900:"text-sky-900"},border:{50:"border-sky-50",100:"border-sky-100",200:"border-sky-200",300:"border-sky-300",400:"border-sky-400",500:"border-sky-500",600:"border-sky-600",700:"border-sky-700",800:"border-sky-800",900:"border-sky-900"}},indigo:{bg:{50:"bg-indigo-50",100:"bg-indigo-100",200:"bg-indigo-200",300:"bg-indigo-300",400:"bg-indigo-400",500:"bg-indigo-500",600:"bg-indigo-600",700:"bg-indigo-700",800:"bg-indigo-800",900:"bg-indigo-900"},text:{50:"text-indigo-50",100:"text-indigo-100",200:"text-indigo-200",300:"text-indigo-300",400:"text-indigo-400",500:"text-indigo-500",600:"text-indigo-600",700:"text-indigo-700",800:"text-indigo-800",900:"text-indigo-900"},border:{50:"border-indigo-50",100:"border-indigo-100",200:"border-indigo-200",300:"border-indigo-300",400:"border-indigo-400",500:"border-indigo-500",600:"border-indigo-600",700:"border-indigo-700",800:"border-indigo-800",900:"border-indigo-900"}},cyan:{bg:{50:"bg-cyan-50 dark:bg-cyan-900/20",100:"bg-cyan-100 dark:bg-cyan-900/30",200:"bg-cyan-200",300:"bg-cyan-300",400:"bg-cyan-400",500:"bg-cyan-500",600:"bg-cyan-600",700:"bg-cyan-700",800:"bg-cyan-800",900:"bg-cyan-900"},text:{50:"text-cyan-50",100:"text-cyan-100",200:"text-cyan-200",300:"text-cyan-300",400:"text-cyan-400 dark:text-cyan-300",500:"text-cyan-500",600:"text-cyan-600 dark:text-cyan-400",700:"text-cyan-700 dark:text-cyan-300",800:"text-cyan-800 dark:text-cyan-200",900:"text-cyan-900"},border:{50:"border-cyan-50",100:"border-cyan-100",200:"border-cyan-200 dark:border-cyan-800",300:"border-cyan-300 dark:border-cyan-700",400:"border-cyan-400 dark:border-cyan-600",500:"border-cyan-500",600:"border-cyan-600",700:"border-cyan-700",800:"border-cyan-800",900:"border-cyan-900"}},teal:{bg:{50:"bg-teal-50 dark:bg-teal-900/20",100:"bg-teal-100 dark:bg-teal-900/30",200:"bg-teal-200",300:"bg-teal-300",400:"bg-teal-400",500:"bg-teal-500",600:"bg-teal-600",700:"bg-teal-700",800:"bg-teal-800",900:"bg-teal-900"},text:{50:"text-teal-50",100:"text-teal-100",200:"text-teal-200",300:"text-teal-300",400:"text-teal-400 dark:text-teal-300",500:"text-teal-500",600:"text-teal-600 dark:text-teal-400",700:"text-teal-700 dark:text-teal-300",800:"text-teal-800 dark:text-teal-200",900:"text-teal-900"},border:{50:"border-teal-50",100:"border-teal-100",200:"border-teal-200 dark:border-teal-800",300:"border-teal-300 dark:border-teal-700",400:"border-teal-400 dark:border-teal-600",500:"border-teal-500",600:"border-teal-600",700:"border-teal-700",800:"border-teal-800",900:"border-teal-900"}},green:{bg:{50:"bg-emerald-50 dark:bg-emerald-900/20",100:"bg-emerald-50 dark:bg-emerald-900/30",200:"bg-emerald-200",300:"bg-emerald-300",400:"bg-emerald-400",500:"bg-emerald-500",600:"bg-emerald-600",700:"bg-emerald-700",800:"bg-emerald-800",900:"bg-emerald-900"},text:{50:"text-emerald-50",100:"text-emerald-100",200:"text-emerald-200",300:"text-emerald-300",400:"text-emerald-400",500:"text-emerald-500",600:"text-emerald-600 dark:text-emerald-400",700:"text-emerald-700 dark:text-emerald-300",800:"text-emerald-700 dark:text-emerald-300",900:"text-emerald-900"},border:{50:"border-emerald-50",100:"border-emerald-100",200:"border-emerald-200 dark:border-emerald-800",300:"border-emerald-300 dark:border-emerald-700",400:"border-emerald-200 dark:border-emerald-800",500:"border-emerald-500",600:"border-emerald-600",700:"border-emerald-700",800:"border-emerald-800",900:"border-emerald-900"}},"light-green":{bg:{50:"bg-light-green-50",100:"bg-light-green-100",200:"bg-light-green-200",300:"bg-light-green-300",400:"bg-light-green-400",500:"bg-light-green-500",600:"bg-light-green-600",700:"bg-light-green-700",800:"bg-light-green-800",900:"bg-light-green-900"},text:{50:"text-light-green-50",100:"text-light-green-100",200:"text-light-green-200",300:"text-light-green-300",400:"text-light-green-400",500:"text-light-green-500",600:"text-light-green-600",700:"text-light-green-700",800:"text-light-green-800",900:"text-light-green-900"},border:{50:"border-light-green-50",100:"border-light-green-100",200:"border-light-green-200",300:"border-light-green-300",400:"border-light-green-400",500:"border-light-green-500",600:"border-light-green-600",700:"border-light-green-700",800:"border-light-green-800",900:"border-light-green-900"}},lime:{bg:{50:"bg-lime-50 dark:bg-lime-900/20",100:"bg-lime-100 dark:bg-lime-900/30",200:"bg-lime-200",300:"bg-lime-300",400:"bg-lime-400",500:"bg-lime-500",600:"bg-lime-600",700:"bg-lime-700",800:"bg-lime-800",900:"bg-lime-900"},text:{50:"text-lime-50",100:"text-lime-100",200:"text-lime-200",300:"text-lime-300",400:"text-lime-400 dark:text-lime-300",500:"text-lime-500",600:"text-lime-600 dark:text-lime-400",700:"text-lime-700 dark:text-lime-300",800:"text-lime-800 dark:text-lime-200",900:"text-lime-900"},border:{50:"border-lime-50",100:"border-lime-100",200:"border-lime-200 dark:border-lime-800",300:"border-lime-300 dark:border-lime-700",400:"border-lime-400 dark:border-lime-600",500:"border-lime-500",600:"border-lime-600",700:"border-lime-700",800:"border-lime-800",900:"border-lime-900"}},yellow:{bg:{50:"bg-yellow-50 dark:bg-yellow-900/20",100:"bg-amber-100 dark:bg-yellow-900/30",200:"bg-yellow-200",300:"bg-yellow-300",400:"bg-amber-400",500:"bg-amber-500",600:"bg-yellow-600",700:"bg-yellow-700",800:"bg-yellow-800",900:"bg-yellow-900"},text:{50:"text-yellow-50",100:"text-yellow-100",200:"text-yellow-200",300:"text-yellow-300",400:"text-amber-400 dark:text-yellow-300",500:"text-amber-500",600:"text-amber-600 dark:text-yellow-400",700:"text-yellow-700",800:"text-yellow-800 dark:text-yellow-300",900:"text-yellow-900"},border:{50:"border-yellow-50",100:"border-yellow-100",200:"border-yellow-200 dark:border-yellow-800",300:"border-yellow-300 dark:border-yellow-700",400:"border-amber-400 dark:border-yellow-800",500:"border-yellow-500",600:"border-yellow-600",700:"border-yellow-700",800:"border-yellow-800",900:"border-yellow-900"}},amber:{bg:{50:"bg-amber-50 dark:bg-amber-900/20",100:"bg-amber-100 dark:bg-amber-900/30",200:"bg-amber-200",300:"bg-amber-300",400:"bg-amber-400",500:"bg-amber-500",600:"bg-amber-600",700:"bg-amber-700",800:"bg-amber-800",900:"bg-amber-900"},text:{50:"text-amber-50",100:"text-amber-100",200:"text-amber-200",300:"text-amber-300",400:"text-amber-400 dark:text-amber-300",500:"text-amber-500",600:"text-amber-600 dark:text-amber-400",700:"text-amber-700 dark:text-amber-300",800:"text-amber-800 dark:text-amber-200",900:"text-amber-900"},border:{50:"border-amber-50",100:"border-amber-100",200:"border-amber-200 dark:border-amber-800",300:"border-amber-300 dark:border-amber-700",400:"border-amber-400 dark:border-amber-600",500:"border-amber-500",600:"border-amber-600",700:"border-amber-700",800:"border-amber-800",900:"border-amber-900"}},orange:{bg:{50:"bg-orange-50 dark:bg-orange-900/20",100:"bg-orange-100 dark:bg-orange-900/30",200:"bg-orange-200",300:"bg-orange-300",400:"bg-orange-400",500:"bg-orange-500",600:"bg-orange-600",700:"bg-orange-700",800:"bg-orange-800",900:"bg-orange-900"},text:{50:"text-orange-50",100:"text-orange-100",200:"text-orange-200",300:"text-orange-300",400:"text-orange-400 dark:text-orange-300",500:"text-orange-500",600:"text-orange-600 dark:text-orange-400",700:"text-orange-700 dark:text-orange-300",800:"text-orange-800 dark:text-orange-200",900:"text-orange-900"},border:{50:"border-orange-50",100:"border-orange-100",200:"border-orange-200 dark:border-orange-800",300:"border-orange-300 dark:border-orange-700",400:"border-orange-400 dark:border-orange-600",500:"border-orange-500",600:"border-orange-600",700:"border-orange-700",800:"border-orange-800",900:"border-orange-900"}},"deep-orange":{bg:{50:"bg-deep-orange-50",100:"bg-deep-orange-100",200:"bg-deep-orange-200",300:"bg-deep-orange-300",400:"bg-deep-orange-400",500:"bg-deep-orange-500",600:"bg-deep-orange-600",700:"bg-deep-orange-700",800:"bg-deep-orange-800",900:"bg-deep-orange-900"},text:{50:"text-deep-orange-50",100:"text-deep-orange-100",200:"text-deep-orange-200",300:"text-deep-orange-300",400:"text-deep-orange-400",500:"text-deep-orange-500",600:"text-deep-orange-600",700:"text-deep-orange-700",800:"text-deep-orange-800",900:"text-deep-orange-900"},border:{50:"border-deep-orange-50",100:"border-deep-orange-100",200:"border-deep-orange-200",300:"border-deep-orange-300",400:"border-deep-orange-400",500:"border-deep-orange-500",600:"border-deep-orange-600",700:"border-deep-orange-700",800:"border-deep-orange-800",900:"border-deep-orange-900"}},stone:{bg:{50:"bg-stone-50",100:"bg-stone-100",200:"bg-stone-200",300:"bg-stone-300",400:"bg-stone-400",500:"bg-stone-500",600:"bg-stone-600",700:"bg-stone-700",800:"bg-stone-800",900:"bg-stone-900"},text:{50:"text-stone-50",100:"text-stone-100",200:"text-stone-200",300:"text-stone-300",400:"text-stone-400",500:"text-stone-500",600:"text-stone-600",700:"text-stone-700",800:"text-stone-800",900:"text-stone-900"},border:{50:"border-stone-50",100:"border-stone-100",200:"border-stone-200",300:"border-stone-300",400:"border-stone-400",500:"border-stone-500",600:"border-stone-600",700:"border-stone-700",800:"border-stone-800",900:"border-stone-900"}},slate:{bg:{50:"bg-slate-50",100:"bg-surface/50",200:"bg-slate-200",300:"bg-slate-300",400:"bg-slate-400",500:"bg-slate-500",600:"bg-slate-600",700:"bg-slate-700",800:"bg-slate-800",900:"bg-slate-900"},text:{50:"text-slate-50",100:"text-slate-100",200:"text-slate-200",300:"text-slate-300",400:"text-slate-400",500:"text-slate-500",600:"text-text-secondary",700:"text-slate-700",800:"text-text-secondary",900:"text-slate-900"},border:{50:"border-slate-50",100:"border-slate-100",200:"border-border-default",300:"border-slate-300",400:"border-border-default",500:"border-slate-500",600:"border-slate-600",700:"border-slate-700",800:"border-slate-800",900:"border-slate-900"}},rose:{bg:{50:"bg-rose-50 dark:bg-rose-900/20",100:"bg-rose-100 dark:bg-rose-900/30",200:"bg-rose-200",300:"bg-rose-300 dark:bg-rose-900/30",400:"bg-rose-400",500:"bg-rose-500",600:"bg-rose-600",700:"bg-rose-700",800:"bg-rose-800",900:"bg-rose-900"},text:{50:"text-rose-50",100:"text-rose-100",200:"text-rose-200",300:"text-rose-300",400:"text-rose-400 dark:text-rose-300",500:"text-rose-500",600:"text-danger",700:"text-rose-700 dark:text-rose-300",800:"text-rose-800 dark:text-rose-200",900:"text-rose-900"},border:{50:"border-rose-50",100:"border-rose-100",200:"border-rose-200 dark:border-rose-800",300:"border-rose-300 dark:border-rose-700",400:"border-rose-400 dark:border-rose-600",500:"border-rose-500",600:"border-rose-600",700:"border-rose-700",800:"border-rose-800",900:"border-rose-900"}},sky:{bg:{50:"bg-sky-50 dark:bg-sky-900/20",100:"bg-sky-100 dark:bg-sky-900/30",200:"bg-sky-200",300:"bg-sky-300",400:"bg-sky-400",500:"bg-sky-500",600:"bg-sky-600",700:"bg-sky-700",800:"bg-sky-800",900:"bg-sky-900"},text:{50:"text-sky-50",100:"text-sky-100",200:"text-sky-200",300:"text-sky-300",400:"text-sky-400 dark:text-sky-300",500:"text-sky-500",600:"text-sky-600 dark:text-sky-400",700:"text-sky-700 dark:text-sky-300",800:"text-sky-800 dark:text-sky-200",900:"text-sky-900"},border:{50:"border-sky-50",100:"border-sky-100",200:"border-sky-200 dark:border-sky-800",300:"border-sky-300 dark:border-sky-700",400:"border-sky-400 dark:border-sky-600",500:"border-sky-500",600:"border-sky-600",700:"border-sky-700",800:"border-sky-800",900:"border-sky-900"}},emerald:{bg:{50:"bg-emerald-50 dark:bg-emerald-900/20",100:"bg-emerald-100 dark:bg-emerald-900/30",200:"bg-emerald-200",300:"bg-emerald-300",400:"bg-emerald-400",500:"bg-emerald-500",600:"bg-emerald-600",700:"bg-emerald-700",800:"bg-emerald-800",900:"bg-emerald-900"},text:{50:"text-emerald-50",100:"text-emerald-100",200:"text-emerald-200",300:"text-emerald-300",400:"text-emerald-400",500:"text-emerald-500",600:"text-emerald-600 dark:text-emerald-400",700:"text-emerald-700 dark:text-emerald-300",800:"text-emerald-800 dark:text-emerald-200",900:"text-emerald-900"},border:{50:"border-emerald-50",100:"border-emerald-100",200:"border-emerald-200 dark:border-emerald-800",300:"border-emerald-300 dark:border-emerald-700",400:"border-emerald-400 dark:border-emerald-600",500:"border-emerald-500",600:"border-emerald-600",700:"border-emerald-700",800:"border-emerald-800",900:"border-emerald-900"}},"blue-slate":{bg:{50:"bg-slate-50",100:"bg-slate-100",200:"bg-slate-200",300:"bg-slate-300",400:"bg-slate-400",500:"bg-slate-500",600:"bg-slate-600",700:"bg-slate-700",800:"bg-slate-800",900:"bg-slate-900"},text:{50:"text-slate-50",100:"text-slate-100",200:"text-slate-200",300:"text-slate-300",400:"text-slate-400",500:"text-slate-500",600:"text-slate-600",700:"text-slate-700",800:"text-slate-800",900:"text-slate-900"}}},t={NEW:"shadow-[inset_0_0_0_5px_rgb(168_85_247)]",ALLOCATED:"shadow-[inset_0_0_0_5px_rgb(14_165_233)]",SUCCESS:"shadow-[inset_0_0_0_5px_rgb(16_185_129)]",FAILED:"shadow-[inset_0_0_0_5px_rgb(244_63_94)]",DELETED:"shadow-[inset_0_0_0_5px_rgb(251_146_60)]"};e.s(["DELIVERY_STATUSES",0,{DELIVERED:"green",RETURNED:"red",OPEN:"yellow"},"DefaultLimit",0,50,"ORDER_STATUSES",0,{OPEN:"purple",PENDING:"sky",CONFIRMED:"lime",FULFILLED:"emerald",REJECTED:"rose"},"PAYMENT_STATUSES",0,{PAID:"green",REFUNDED:"red",OPEN:"yellow"},"PROVIDER_TYPE_CLASSES",0,{PHYSICAL:"emerald",CARD:"sky",INVOICE:"lime",GENERIC:"purple",PICKUP:"red",SHIPPING:"sky"},"QUOTATION_STATUS",0,{REQUESTED:"orange",PROCESSING:"yellow",PROPOSED:"cyan",REJECTED:"red",FULFILLED:"emerald"},"TOKEN_STATUSES",0,{CENTRALIZED:"sky",EXPORTING:"amber",DECENTRALIZED:"emerald"},"WORK_STATUSES",0,{NEW:"purple",ALLOCATED:"sky",SUCCESS:"emerald",FAILED:"rose",DELETED:"orange"},"bgColor",0,(e,t)=>`${r?.[e].bg[t]}`,"borderColor",0,(e,t)=>`${r[e]?.border[t]}`,"getShadowStyle",0,e=>`${t[e]}`,"textColor",0,(e,t)=>`${r[e].text[t]}`])},83147,e=>{"use strict";let r=e=>e&&e?.split(",").reduce((e,r)=>{let[t=null,o=null]=(r||"")?.split("_")||[];return{...e,[t]:o}},null)||{};e.s(["classNames",0,(...e)=>e.filter(Boolean).join(" "),"convertSortFieldsToQueryFormat",0,e=>Object.entries(r(e))?.map(([e,r])=>({key:e,value:r})),"getInterfaceLabel",0,e=>e?.label&&e?.version?`${e.label} ${e.version}`:"","getSortKeys",0,r,"normalizeCountryISOCode",0,(e,r,t=!0)=>{if(!r)return"";try{return`${new Intl.DisplayNames([e],{type:"region"}).of(r)} ${t?`(${r})`:""}`}catch{return r}},"normalizeCurrencyISOCode",0,(e,r,t=!0)=>{if(!r)return"";try{return`${new Intl.DisplayNames([e],{type:"currency"}).of(r)} ${t?`(${r})`:""}`}catch{return r}},"normalizeLanguageISOCode",0,(e,r,t=!0)=>{if(!r)return"";try{return`${new Intl.DisplayNames([e],{type:"language"}).of(r)} ${t?`(${r})`:""}`}catch{return r}},"normalizeQuery",0,(e,r,t)=>{let o;return o=t?{...e,[t]:r}:e,Object.keys(o)?.map(e=>[e,o[e]].join("="))?.join("&")},"useFormatPrice",0,()=>({formatPrice:e=>{if(!e?.currencyCode)return"n/a";if(e?.amount===void 0||e?.amount===null)return"";let{amount:r,currencyCode:t}=e||{};return new Intl.NumberFormat(navigator.language,{style:"currency",currency:t}).format(r/100)}})])},15971,e=>{"use strict";var r=e.i(91398),t=e.i(69322);e.s(["default",0,({onOkClick:e,onCancelClick:o,okText:d=null,cancelText:a=null,headerText:l=null,message:b=null,icon:n=null,close:s=null,loading:g=!1})=>{let{formatMessage:i}=(0,t.useIntl)();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"sm:flex sm:items-start",children:[n||(0,r.jsx)("div",{className:"mx-auto flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-rose-100 dark:bg-rose-900/30 sm:mx-0 sm:h-10 sm:w-10",children:(0,r.jsx)("svg",{className:"h-6 w-6 text-danger",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})})}),(0,r.jsxs)("div",{className:"mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left",children:[(0,r.jsx)("h3",{className:"text-lg text-text-primary",id:"modal-title",children:l||i({id:"warning",defaultMessage:"Warning!"})}),(0,r.jsx)("div",{className:"mt-2",children:(0,r.jsx)("p",{className:"text-sm text-text-muted",children:b||i({id:"are_you_sure",defaultMessage:"Are you sure?"})})})]})]}),(0,r.jsxs)("div",{className:"mt-5 sm:mt-4 sm:flex sm:flex-row-reverse",children:[(0,r.jsx)("button",{id:"danger_continue",onClick:e,disabled:g,"aria-busy":g,type:"button",className:"inline-flex w-full justify-center rounded-md border border-transparent bg-rose-600 px-4 py-2 text-base font-medium text-white shadow-xs hover:bg-rose-700 focus:outline-hidden focus:ring-2 focus:ring-rose-500 focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 sm:ml-3 sm:w-auto sm:text-sm",children:d||i({id:"continue",defaultMessage:"Continue"})}),(0,r.jsx)("button",{id:"danger_cancel",onClick:o||s,disabled:g,type:"button",className:"mt-3 inline-flex w-full justify-center rounded-md border border-border-default bg-surface px-4 py-2 text-base font-medium text-text-secondary shadow-xs hover:bg-surface-raised focus:outline-hidden focus:ring-2 focus:ring-focus-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm",children:a||i({id:"cancel",defaultMessage:"Cancel"})})]})]})}])},6607,e=>{"use strict";var r=e.i(91788),t=e.i(6444);e.s(["default",0,()=>(0,r.useContext)(t.default)])},6444,e=>{"use strict";let r=e.i(91788).default.createContext({setModal:()=>{throw Error("No ModalContext/ModalWrapper ancestor found.")}});e.s(["default",0,r])},75565,51358,36832,e=>{"use strict";var r=e.i(91788),t=e.i(15067);e.s(["useEventListener",0,function(e,o,d,a){let l=(0,t.useLatestValue)(d);(0,r.useEffect)(()=>{function r(e){l.current(e)}return(e=null!=e?e:window).addEventListener(o,r,a),()=>e.removeEventListener(o,r,a)},[e,o,a])}],75565);var o=e.i(93481);e.s(["useWatch",0,function(e,t){let d=(0,r.useRef)([]),a=(0,o.useEvent)(e);(0,r.useEffect)(()=>{let e=[...d.current];for(let[r,o]of t.entries())if(d.current[r]!==o){let r=a(t,e);return d.current=t,r}},[a,...t])}],51358);var d=e.i(55367),a=e.i(65383);let l=[];function b(){"loading"!==document.readyState&&((()=>{function e(e){if(!d.isHTMLorSVGElement(e.target)||e.target===document.body||l[0]===e.target)return;let r=e.target;r=r.closest(a.focusableSelector),l.unshift(null!=r?r:e.target),(l=l.filter(e=>null!=e&&e.isConnected)).splice(10)}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})})(),document.removeEventListener("DOMContentLoaded",b))}"u">typeof window&&"u">typeof document&&(document.addEventListener("DOMContentLoaded",b),b()),e.s(["history",()=>l],36832)},76237,e=>{"use strict";var r=e.i(91788);let t=r.forwardRef(function({title:e,titleId:t,...o},d){return r.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:d,"aria-labelledby":t},o),e?r.createElement("title",{id:t},e):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"}))});e.s(["default",0,t])},38187,e=>{"use strict";var r=e.i(76237);e.s(["ChevronDownIcon",()=>r.default])},30999,e=>{"use strict";var r=e.i(91788);let t=r.forwardRef(function({title:e,titleId:t,...o},d){return r.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:d,"aria-labelledby":t},o),e?r.createElement("title",{id:t},e):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))});e.s(["default",0,t])},24608,e=>{"use strict";var r=e.i(30999);e.s(["XMarkIcon",()=>r.default])},28805,e=>{e.v(r=>Promise.all(["static/chunks/0h0r_q6xa9qr_.js"].map(r=>e.l(r))).then(()=>r(79466)))},48761,e=>{e.v(r=>Promise.all(["static/chunks/1ae-9ft5cgojf.js"].map(r=>e.l(r))).then(()=>r(93594)))},13521,(e,r,t)=>{"use strict";e.i(50461),Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return a}});let o=e.r(41705)._(e.r(91788)),d=e.r(15125),a=o.default.createContext(d.imageConfigDefault)},15125,(e,r,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o={VALID_LOADERS:function(){return a},imageConfigDefault:function(){return l}};for(var d in o)Object.defineProperty(t,d,{enumerable:!0,get:o[d]});let a=["default","imgix","cloudinary","akamai","custom"],l={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1,customCacheHandler:!1}},40238,(e,r,t)=>{"use strict";var o=e.r(91788),d="function"==typeof Object.is?Object.is:function(e,r){return e===r&&(0!==e||1/e==1/r)||e!=e&&r!=r},a=o.useSyncExternalStore,l=o.useRef,b=o.useEffect,n=o.useMemo,s=o.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,r,t,o,g){var i=l(null);if(null===i.current){var x={hasValue:!1,value:null};i.current=x}else x=i.current;var u=a(e,(i=n(function(){function e(e){if(!b){if(b=!0,a=e,e=o(e),void 0!==g&&x.hasValue){var r=x.value;if(g(r,e))return l=r}return l=e}if(r=l,d(a,e))return r;var t=o(e);return void 0!==g&&g(r,t)?(a=e,r):(a=e,l=t)}var a,l,b=!1,n=void 0===t?null:t;return[function(){return e(r())},null===n?void 0:function(){return e(n())}]},[r,t,o,g]))[0],i[1]);return b(function(){x.hasValue=!0,x.value=u},[u]),s(u),u}},19979,(e,r,t)=>{"use strict";e.i(50461),r.exports=e.r(40238)}]);
@@ -0,0 +1,16 @@
1
+ __turbopack_load_page_chunks__("/delivery-provider", [
2
+ "static/chunks/36aqs7u7s-lb1.js",
3
+ "static/chunks/1k4ep4igedo8p.js",
4
+ "static/chunks/17b4rvj5k8ye2.js",
5
+ "static/chunks/1rtv3c_klo0jk.js",
6
+ "static/chunks/3yvmkdc088aly.js",
7
+ "static/chunks/1_5ba1obzc231.js",
8
+ "static/chunks/0rqjr_lmrk4pz.js",
9
+ "static/chunks/3cq123yj25_36.js",
10
+ "static/chunks/33emlry70k-lv.js",
11
+ "static/chunks/252jebodi67kg.js",
12
+ "static/chunks/05-ui58k9illr.js",
13
+ "static/chunks/0jeddko6bac8h.js",
14
+ "static/chunks/41e2wlkp9_pvk.js",
15
+ "static/chunks/turbopack-298vdad77pw5z.js"
16
+ ])
@@ -0,0 +1,14 @@
1
+ __turbopack_load_page_chunks__("/delivery-provider/new", [
2
+ "static/chunks/0iqjlf_9c6eo_.js",
3
+ "static/chunks/17b4rvj5k8ye2.js",
4
+ "static/chunks/33emlry70k-lv.js",
5
+ "static/chunks/1rtv3c_klo0jk.js",
6
+ "static/chunks/1k4ep4igedo8p.js",
7
+ "static/chunks/0rqjr_lmrk4pz.js",
8
+ "static/chunks/0jeddko6bac8h.js",
9
+ "static/chunks/41e2wlkp9_pvk.js",
10
+ "static/chunks/252jebodi67kg.js",
11
+ "static/chunks/3cq123yj25_36.js",
12
+ "static/chunks/3yvmkdc088aly.js",
13
+ "static/chunks/turbopack-1td004byboyz2.js"
14
+ ])
@@ -0,0 +1,15 @@
1
+ __turbopack_load_page_chunks__("/country/CountryDetailPage", [
2
+ "static/chunks/3jtzvr48aaoo0.js",
3
+ "static/chunks/1k4ep4igedo8p.js",
4
+ "static/chunks/17b4rvj5k8ye2.js",
5
+ "static/chunks/1rtv3c_klo0jk.js",
6
+ "static/chunks/3tzaludii6vtu.js",
7
+ "static/chunks/41e2wlkp9_pvk.js",
8
+ "static/chunks/0rqjr_lmrk4pz.js",
9
+ "static/chunks/252jebodi67kg.js",
10
+ "static/chunks/33emlry70k-lv.js",
11
+ "static/chunks/0jeddko6bac8h.js",
12
+ "static/chunks/3yvmkdc088aly.js",
13
+ "static/chunks/3cq123yj25_36.js",
14
+ "static/chunks/turbopack-2068cl63o32re.js"
15
+ ])