@unchainedshop/admin-ui 5.0.0-alpha.11 → 5.0.0-alpha.14

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 (785) hide show
  1. package/README.md +1 -1
  2. package/dist/{chunk-WPLOTFGW.js → chunk-2HTCKO4E.js} +12 -3
  3. package/dist/{chunk-I64TXIE7.js → chunk-5UHBGLFV.js} +40 -2
  4. package/dist/{chunk-PJLYVMUM.js → chunk-6WMH7PLC.js} +2 -2
  5. package/dist/{chunk-QHR23GVH.js → chunk-CUYIP5XG.js} +1 -1
  6. package/dist/{chunk-5WPFHQZN.js → chunk-E6HDJYA6.js} +3 -3
  7. package/dist/{chunk-FDHXLNZQ.js → chunk-EAVP6XZQ.js} +1 -1
  8. package/dist/{chunk-HJKRGBDG.js → chunk-EKWWSFDK.js} +1 -1
  9. package/dist/{chunk-Q6S3LBUF.js → chunk-JC6PXYZP.js} +7 -1
  10. package/dist/{chunk-BOMSMJF2.js → chunk-JGER2LQO.js} +1 -0
  11. package/dist/{chunk-ICJH36K4.js → chunk-M2242FCR.js} +1 -1
  12. package/dist/{chunk-3L6EZQ6P.js → chunk-NFJE5EJG.js} +1 -1
  13. package/dist/{chunk-BMDNY67T.js → chunk-NUGWX3KO.js} +3361 -1769
  14. package/dist/{chunk-E77YIMGR.js → chunk-XZ2V6XTD.js} +2 -2
  15. package/dist/components/ui/Loading.d.ts +8 -1
  16. package/dist/components/ui/Loading.d.ts.map +1 -1
  17. package/dist/components/ui/index.d.ts +2 -0
  18. package/dist/components/ui/index.d.ts.map +1 -1
  19. package/dist/form.js +798 -379
  20. package/dist/gql/operation-types.d.ts +51 -18
  21. package/dist/gql/operation-types.d.ts.map +1 -1
  22. package/dist/gql/schema-types.d.ts +28 -2
  23. package/dist/gql/schema-types.d.ts.map +1 -1
  24. package/dist/hooks.js +5 -5
  25. package/dist/modal.js +5 -5
  26. package/dist/modules/UnchainedContext/UnchainedContext.d.ts +1 -0
  27. package/dist/modules/UnchainedContext/UnchainedContext.d.ts.map +1 -1
  28. package/dist/modules/UnchainedContext/useUnchainedContext.d.ts +1 -0
  29. package/dist/modules/UnchainedContext/useUnchainedContext.d.ts.map +1 -1
  30. package/dist/modules/accounts.js +48 -2
  31. package/dist/modules/assortment.js +2 -2
  32. package/dist/modules/common/components/SearchWithTags.d.ts +10 -0
  33. package/dist/modules/common/components/SearchWithTags.d.ts.map +1 -0
  34. package/dist/modules/common/hooks/useShopInfo.d.ts +1 -0
  35. package/dist/modules/common/hooks/useShopInfo.d.ts.map +1 -1
  36. package/dist/modules/country.js +1 -1
  37. package/dist/modules/currency.js +1 -1
  38. package/dist/modules/delivery-provider.js +1 -1
  39. package/dist/modules/enrollment.js +25 -11
  40. package/dist/modules/event.js +1 -1
  41. package/dist/modules/filter.js +1 -1
  42. package/dist/modules/forms/lib/validators.d.ts +3 -1
  43. package/dist/modules/forms/lib/validators.d.ts.map +1 -1
  44. package/dist/modules/language.js +1 -1
  45. package/dist/modules/order/fragments/OrderDetailFragment.d.ts.map +1 -1
  46. package/dist/modules/order.js +1 -2
  47. package/dist/modules/payment-providers.js +1 -1
  48. package/dist/modules/product/hooks/useProductsCount.d.ts +1 -1
  49. package/dist/modules/product/hooks/useProductsCount.d.ts.map +1 -1
  50. package/dist/modules/product-review.js +2 -2
  51. package/dist/modules/product.js +437 -25
  52. package/dist/modules/quotation.js +2 -1
  53. package/dist/modules/token.js +1 -1
  54. package/dist/modules/warehousing-providers.js +1 -1
  55. package/dist/modules/work.js +1 -1
  56. package/dist/plugins.js +1 -1
  57. package/dist/providers.js +5 -5
  58. package/dist/shims/admin-ui-plugins.js +1 -1
  59. package/dist/shims/apollo-client-react.js +1 -1
  60. package/dist/shims/apollo-client.js +1 -1
  61. package/dist/shims/next-head.js +1 -1
  62. package/dist/shims/next-image.js +1 -1
  63. package/dist/shims/next-link.js +1 -1
  64. package/dist/shims/next-router.js +1 -1
  65. package/dist/shims/react-dom-client.js +1 -1
  66. package/dist/shims/react-dom.js +1 -1
  67. package/dist/shims/react-hook-form.js +1 -1
  68. package/dist/shims/react-intl.js +1 -1
  69. package/dist/shims/react-jsx-runtime.js +1 -1
  70. package/dist/shims/react-toastify.js +1 -1
  71. package/dist/shims/react.js +1 -1
  72. package/dist/theme.js +1 -1
  73. package/dist/ui.js +9627 -8204
  74. package/out/403/index.html +3 -3
  75. package/out/404/index.html +3 -3
  76. package/out/404.html +3 -3
  77. package/out/423/index.html +3 -3
  78. package/out/500/index.html +3 -3
  79. package/out/_next/static/WEaZ5SW9HLnJWzXs84JMH/_buildManifest.js +266 -0
  80. package/out/_next/static/chunks/0-kvzk5p0hp-4.js +11 -0
  81. package/out/_next/static/chunks/0-nzk-g6k41e-.js +119 -0
  82. package/out/_next/static/chunks/00p6gl0n0kga2.js +46 -0
  83. package/out/_next/static/chunks/01otzjqxk372n.js +1 -0
  84. package/out/_next/static/chunks/0389l__ljgq-b.js +1 -0
  85. package/out/_next/static/chunks/039xltalow0bh.js +1 -0
  86. package/out/_next/static/chunks/03awz8e25u6-9.js +33 -0
  87. package/out/_next/static/chunks/04_r4qnsjmy81.js +4 -0
  88. package/out/_next/static/chunks/04egfa7kckou_.js +165 -0
  89. package/out/_next/static/chunks/04kydtjv2qqb1.js +39 -0
  90. package/out/_next/static/chunks/05ghb-a4hshp1.js +24 -0
  91. package/out/_next/static/chunks/06gqojz2tfk7h.js +33 -0
  92. package/out/_next/static/chunks/{2ajr0rk0_yax6.js → 06kqbwwnuu3te.js} +1 -1
  93. package/out/_next/static/chunks/0728622u98g6r.js +1 -0
  94. package/out/_next/static/chunks/08e3-wndual-j.js +183 -0
  95. package/out/_next/static/chunks/08gngcgmdigfl.js +7 -0
  96. package/out/_next/static/chunks/{01xy3u9ybz9ts.js → 08htfpcq8k2ct.js} +2 -2
  97. package/out/_next/static/chunks/09irjy-7k1922.js +1 -0
  98. package/out/_next/static/chunks/0_ppdn6x6ci0v.js +31 -0
  99. package/out/_next/static/chunks/0ao00r36i0nko.js +4 -0
  100. package/out/_next/static/chunks/0az9r1m1m5nw7.js +5 -0
  101. package/out/_next/static/chunks/0bahbwxzev843.js +8 -0
  102. package/out/_next/static/chunks/0ejd4so6pfsb9.js +8 -0
  103. package/out/_next/static/chunks/0f0aouv41459l.js +99 -0
  104. package/out/_next/static/chunks/0f4mwm9gegsvc.js +8 -0
  105. package/out/_next/static/chunks/0ffdde8s4b7e2.js +5 -0
  106. package/out/_next/static/chunks/0ftb36h7poyeo.js +235 -0
  107. package/out/_next/static/chunks/0gclli_nyb0px.js +4 -0
  108. package/out/_next/static/chunks/0hv62tllrjbgx.js +5 -0
  109. package/out/_next/static/chunks/0ik3suboifvvc.js +1 -0
  110. package/out/_next/static/chunks/0iohwbogpxe5r.js +1 -0
  111. package/out/_next/static/chunks/0jsbw2npug66o.js +54 -0
  112. package/out/_next/static/chunks/0lgoprkr2wj68.js +12 -0
  113. package/out/_next/static/chunks/0mpgc4f7hc1dd.js +7 -0
  114. package/out/_next/static/chunks/0o4aj3bm49d_h.js +61 -0
  115. package/out/_next/static/chunks/0oauw10y-zu7q.js +14 -0
  116. package/out/_next/static/chunks/0p55j-ysba0wq.js +63 -0
  117. package/out/_next/static/chunks/0pnifxx4n6jz4.js +30 -0
  118. package/out/_next/static/chunks/0rj53mrsrvu49.js +5 -0
  119. package/out/_next/static/chunks/0s2jvi6_qj0lc.js +16 -0
  120. package/out/_next/static/chunks/0uef4ugmc_g10.js +1 -0
  121. package/out/_next/static/chunks/0v2f0xq8mp63h.js +1 -0
  122. package/out/_next/static/chunks/0wvck3kmtd8h3.js +5 -0
  123. package/out/_next/static/chunks/0y-xf7e4lgmru.js +4 -0
  124. package/out/_next/static/chunks/0zlzflyq18hhy.js +4 -0
  125. package/out/_next/static/chunks/12cy_5m_0fj96.js +44 -0
  126. package/out/_next/static/chunks/12z0--swhgre2.js +33 -0
  127. package/out/_next/static/chunks/139wqbl161pdw.js +12 -0
  128. package/out/_next/static/chunks/13sl42_jx13hh.js +7 -0
  129. package/out/_next/static/chunks/14jd75j8ij4u2.js +3 -0
  130. package/out/_next/static/chunks/14wav1vmqi2oo.js +371 -0
  131. package/out/_next/static/chunks/15oodwh44nrve.js +43 -0
  132. package/out/_next/static/chunks/15ullli2vlj87.js +8 -0
  133. package/out/_next/static/chunks/177p92k5pdloo.js +1 -0
  134. package/out/_next/static/chunks/17g3a6iz0s59f.js +837 -0
  135. package/out/_next/static/chunks/19-1z6h5eeq_w.js +134 -0
  136. package/out/_next/static/chunks/19-fs9eq1syvw.js +103 -0
  137. package/out/_next/static/chunks/195cwzh3q1i0h.js +7 -0
  138. package/out/_next/static/chunks/1cz2fp89ssu5d.js +4 -0
  139. package/out/_next/static/chunks/1e2jykfql801f.js +16 -0
  140. package/out/_next/static/chunks/1fou9xz0_rm6d.js +5 -0
  141. package/out/_next/static/chunks/1gl4h7w9t850f.js +1 -0
  142. package/out/_next/static/chunks/1in8spfokcjsp.js +8 -0
  143. package/out/_next/static/chunks/1k1b69hvwr-0g.js +5 -0
  144. package/out/_next/static/chunks/1kdcu-0jkya-b.js +61 -0
  145. package/out/_next/static/chunks/1kyjdq0bnkw10.js +95 -0
  146. package/out/_next/static/chunks/1l2ix83845lui.js +5 -0
  147. package/out/_next/static/chunks/{1iamjw8qh1m4o.js → 1mx0p6r-9c5u_.js} +1 -1
  148. package/out/_next/static/chunks/1ossmsdseqyeu.js +147 -0
  149. package/out/_next/static/chunks/1p5lt4tkyouxz.js +4 -0
  150. package/out/_next/static/chunks/1pm7k55e4pfpm.js +59 -0
  151. package/out/_next/static/chunks/1pqyz1opm5_7r.js +1 -0
  152. package/out/_next/static/chunks/1qd4fupa708s4.js +5 -0
  153. package/out/_next/static/chunks/1r61kgm2ct0nf.js +74 -0
  154. package/out/_next/static/chunks/1rmlm4404fsge.js +15 -0
  155. package/out/_next/static/chunks/1s3ool53utm9o.js +39 -0
  156. package/out/_next/static/chunks/1sc2ug6_szd_d.js +2 -0
  157. package/out/_next/static/chunks/1t1ecrjkykbv1.js +4 -0
  158. package/out/_next/static/chunks/{12yd8t4k6c0t1.js → 1t8jj0-6g8uyd.js} +1 -1
  159. package/out/_next/static/chunks/1tej7js0fwv1h.js +11 -0
  160. package/out/_next/static/chunks/1th8knz7txt9f.js +5 -0
  161. package/out/_next/static/chunks/1tosw188dr9d6.js +44 -0
  162. package/out/_next/static/chunks/1tuf110jbpl_r.js +1 -0
  163. package/out/_next/static/chunks/1tzkeg4c-br-z.js +17 -0
  164. package/out/_next/static/chunks/1u7l4tos3wysc.js +5 -0
  165. package/out/_next/static/chunks/1v0ag3k96c56s.js +1 -0
  166. package/out/_next/static/chunks/1w6iuc_ba9g-3.js +3 -0
  167. package/out/_next/static/chunks/1x7cm_fuwp9m8.js +1 -0
  168. package/out/_next/static/chunks/1yv22tvuqofr_.js +296 -0
  169. package/out/_next/static/chunks/1yvl8l5yx1rj8.js +4 -0
  170. package/out/_next/static/chunks/2-s-hteo3lrnj.js +21 -0
  171. package/out/_next/static/chunks/20au-bdji0nu2.js +14 -0
  172. package/out/_next/static/chunks/20p146xfq-xrq.js +5 -0
  173. package/out/_next/static/chunks/20t2g2u3jhtvy.js +5 -0
  174. package/out/_next/static/chunks/21zghy5-42i1e.js +1 -0
  175. package/out/_next/static/chunks/{43uqmej6-s4am.js → 231mhpexhdm2g.js} +3 -3
  176. package/out/_next/static/chunks/{3m_9ozv0orvze.js → 249b4cg2ev597.js} +3 -3
  177. package/out/_next/static/chunks/24zfmgc4cu-n1.js +9 -0
  178. package/out/_next/static/chunks/25b_pi2_ro9yy.js +5 -0
  179. package/out/_next/static/chunks/25ite4-jpq_mo.js +4 -0
  180. package/out/_next/static/chunks/25vdihxswn7dy.js +1 -0
  181. package/out/_next/static/chunks/2693w1263bb3s.js +5 -0
  182. package/out/_next/static/chunks/26guwpx1_pkxv.js +1 -0
  183. package/out/_next/static/chunks/26yarz_db5ms0.js +5 -0
  184. package/out/_next/static/chunks/28xbb7hkhkoup.js +1 -0
  185. package/out/_next/static/chunks/299pou8yuoq6b.js +116 -0
  186. package/out/_next/static/chunks/29x7cj-318eaa.js +1 -0
  187. package/out/_next/static/chunks/2_cq751vth7u7.js +81 -0
  188. package/out/_next/static/chunks/2a2cayocu5mc3.js +1 -0
  189. package/out/_next/static/chunks/2a9dpzjx5mfjp.js +4 -0
  190. package/out/_next/static/chunks/2apnv1hcv-4zc.js +23 -0
  191. package/out/_next/static/chunks/2bugi3kot5jtu.js +1 -0
  192. package/out/_next/static/chunks/2dn2ma73q9ye0.js +5 -0
  193. package/out/_next/static/chunks/2ege1545af18d.js +4 -0
  194. package/out/_next/static/chunks/2fnn6q9fmhu3s.js +4 -0
  195. package/out/_next/static/chunks/2ga95n_v_6_7b.js +175 -0
  196. package/out/_next/static/chunks/2gfljy_oo0nnr.js +12 -0
  197. package/out/_next/static/chunks/2gfot_-pkeohl.js +103 -0
  198. package/out/_next/static/chunks/2gfzt_fdr-h96.js +81 -0
  199. package/out/_next/static/chunks/2h4bxz0oww5pk.js +4 -0
  200. package/out/_next/static/chunks/2hc3d38gb0q-v.js +1 -0
  201. package/out/_next/static/chunks/2hci18oosfv5d.js +5 -0
  202. package/out/_next/static/chunks/{3fpgg_wy6j2ph.js → 2ipcn3vy6d4_6.js} +1 -1
  203. package/out/_next/static/chunks/2j4g1tyyp8ta1.js +1 -0
  204. package/out/_next/static/chunks/2mt78e61hd_4p.js +100 -0
  205. package/out/_next/static/chunks/2rri_ex6s-d8g.js +4 -0
  206. package/out/_next/static/chunks/2sc6dwzzc2t7n.js +5 -0
  207. package/out/_next/static/chunks/2texlu369byon.js +1 -0
  208. package/out/_next/static/chunks/2tq8sqd3-wavo.js +6 -0
  209. package/out/_next/static/chunks/2u2obxhc_n6xk.js +119 -0
  210. package/out/_next/static/chunks/{0m73vd78oga92.js → 2u4cc_r_qo0s4.js} +14 -14
  211. package/out/_next/static/chunks/2u6n7ohruqpxp.js +1 -0
  212. package/out/_next/static/chunks/2u9myo1sjc-q0.js +276 -0
  213. package/out/_next/static/chunks/2ubbeh02scr2l.js +7 -0
  214. package/out/_next/static/chunks/2v_bdu-atp2qq.js +5 -0
  215. package/out/_next/static/chunks/2vyv371s8n48m.js +41 -0
  216. package/out/_next/static/chunks/2xd_5hafdvicw.js +5 -0
  217. package/out/_next/static/chunks/{2yw5sk06gdixu.js → 2y8uau15r3p-o.js} +1 -1
  218. package/out/_next/static/chunks/2ym9q2u0yw0m8.js +326 -0
  219. package/out/_next/static/chunks/2zb-xmda5rbn0.js +1 -0
  220. package/out/_next/static/chunks/2zsvxbghbsuz1.js +4 -0
  221. package/out/_next/static/chunks/3-grp4-_b_uin.js +5 -0
  222. package/out/_next/static/chunks/31i76bjr7wp3u.js +5 -0
  223. package/out/_next/static/chunks/32g5gxee1kcdc.js +28 -0
  224. package/out/_next/static/chunks/32thgoqghnqfk.js +5 -0
  225. package/out/_next/static/chunks/33svzh7wrh2ca.js +147 -0
  226. package/out/_next/static/chunks/33v1m9okpss0r.js +5 -0
  227. package/out/_next/static/chunks/34gspkpv7wikw.js +8 -0
  228. package/out/_next/static/chunks/34wf3lz_fft3k.js +2 -0
  229. package/out/_next/static/chunks/{1jmdpa0tc5puj.js → 35zhvtyq31ani.js} +3 -3
  230. package/out/_next/static/chunks/36vqjcd_y2j30.js +1 -0
  231. package/out/_next/static/chunks/{3btkj1_irjkq7.js → 36x7q29atus_r.js} +6 -6
  232. package/out/_next/static/chunks/38043sp-g7lor.js +43 -0
  233. package/out/_next/static/chunks/{1so6ouxrq_ffa.js → 393--hagnnm97.js} +3 -3
  234. package/out/_next/static/chunks/395bs5xmcnl_3.js +31 -0
  235. package/out/_next/static/chunks/3_0q-dmk8few_.css +1 -0
  236. package/out/_next/static/chunks/3_adkt8r_brx4.js +165 -0
  237. package/out/_next/static/chunks/3_jqu6hq_bq0s.js +23 -0
  238. package/out/_next/static/chunks/3_tuio1shb_8w.js +4 -0
  239. package/out/_next/static/chunks/3_u_uxeaysv2y.js +6 -0
  240. package/out/_next/static/chunks/3e9x78_cfl4gs.js +59 -0
  241. package/out/_next/static/chunks/3ek1bahoqa_ll.js +5 -0
  242. package/out/_next/static/chunks/3i7obrooylax2.js +1 -0
  243. package/out/_next/static/chunks/3ij_85v4doyfu.js +2 -0
  244. package/out/_next/static/chunks/3jfe0uesrzz7a.js +1 -0
  245. package/out/_next/static/chunks/3jgmo9q79w1-c.js +290 -0
  246. package/out/_next/static/chunks/3jp_xvjzuj3ts.js +33 -0
  247. package/out/_next/static/chunks/3l9ixfzewn8ct.js +5 -0
  248. package/out/_next/static/chunks/3ltrxqm61t2um.js +1 -0
  249. package/out/_next/static/chunks/3nrrzhhoy8amt.js +4 -0
  250. package/out/_next/static/chunks/3qt1oiw306jtf.js +5 -0
  251. package/out/_next/static/chunks/3s5_6nq23zb_5.js +7 -0
  252. package/out/_next/static/chunks/3s_74oi_rqb7q.js +5 -0
  253. package/out/_next/static/chunks/3skconxcf6r_s.js +156 -0
  254. package/out/_next/static/chunks/3t48n1yk76zoa.js +1 -0
  255. package/out/_next/static/chunks/3t_520l4ihlg3.js +54 -0
  256. package/out/_next/static/chunks/{3j25u7rzawm9f.js → 3ud-crkzgoj7q.js} +8 -8
  257. package/out/_next/static/chunks/3uekb_s0jaboj.js +1 -0
  258. package/out/_next/static/chunks/3wr9v36meolw7.js +710 -0
  259. package/out/_next/static/chunks/3xun85a44o067.js +1 -0
  260. package/out/_next/static/chunks/3yktizlgzr6vc.js +4 -0
  261. package/out/_next/static/chunks/407elvwrmcfn6.js +5 -0
  262. package/out/_next/static/chunks/40j4nxaeofft-.js +1 -0
  263. package/out/_next/static/chunks/42ijceja_327z.js +54 -0
  264. package/out/_next/static/chunks/440jwge6wnjj6.js +1 -0
  265. package/out/_next/static/chunks/449x6nw2kd7l6.js +119 -0
  266. package/out/_next/static/chunks/44xnlcqhabyj6.js +174 -0
  267. package/out/_next/static/chunks/{turbopack-2c3mg3r-05n1w.js → turbopack-077hmtqrhcoji.js} +1 -1
  268. package/out/_offline/index.html +3 -3
  269. package/out/account/forgot-password/index.html +3 -3
  270. package/out/account/index.html +3 -3
  271. package/out/assortments/AssortmentDetailPage/index.html +3 -3
  272. package/out/assortments/index.html +3 -3
  273. package/out/assortments/new/index.html +3 -3
  274. package/out/copilot/index.html +3 -3
  275. package/out/country/CountryDetailPage/index.html +3 -3
  276. package/out/country/index.html +3 -3
  277. package/out/country/new/index.html +3 -3
  278. package/out/currency/CurrencyDetailPage/index.html +3 -3
  279. package/out/currency/index.html +3 -3
  280. package/out/currency/new/index.html +3 -3
  281. package/out/delivery-provider/DeliveryProviderDetailPage/index.html +3 -3
  282. package/out/delivery-provider/index.html +3 -3
  283. package/out/delivery-provider/new/index.html +3 -3
  284. package/out/enrollments/EnrollmentDetailPage/index.html +3 -3
  285. package/out/enrollments/index.html +3 -3
  286. package/out/events/EventDetailPage/index.html +3 -3
  287. package/out/events/index.html +3 -3
  288. package/out/exports/index.html +3 -3
  289. package/out/ext/[[...slug]]/index.html +3 -3
  290. package/out/external/index.html +3 -3
  291. package/out/filters/FilterDetailPage/index.html +3 -3
  292. package/out/filters/index.html +3 -3
  293. package/out/filters/new/index.html +3 -3
  294. package/out/index.html +3 -3
  295. package/out/install/index.html +3 -3
  296. package/out/language/LanguageDetailPage/index.html +3 -3
  297. package/out/language/index.html +3 -3
  298. package/out/language/new/index.html +3 -3
  299. package/out/log-in/index.html +3 -3
  300. package/out/login-code/index.html +12 -0
  301. package/out/orders/OrderDetailPage/index.html +3 -3
  302. package/out/orders/index.html +3 -3
  303. package/out/payment-provider/PaymentProviderDetailPage/index.html +3 -3
  304. package/out/payment-provider/index.html +3 -3
  305. package/out/payment-provider/new/index.html +3 -3
  306. package/out/products/ProductDetailPage/index.html +3 -3
  307. package/out/products/index.html +3 -3
  308. package/out/products/new/index.html +3 -3
  309. package/out/quotations/QuotationDetailPage/index.html +3 -3
  310. package/out/quotations/index.html +3 -3
  311. package/out/reset-password/index.html +3 -3
  312. package/out/sign-up/index.html +3 -3
  313. package/out/styleguide/index.html +3 -3
  314. package/out/tokens/TokenDetailPage/index.html +3 -3
  315. package/out/tokens/index.html +3 -3
  316. package/out/users/UserDetailPage/index.html +3 -3
  317. package/out/users/index.html +3 -3
  318. package/out/users/new/index.html +3 -3
  319. package/out/verify-email/index.html +3 -3
  320. package/out/warehousing-provider/WarehousingProviderDetailPage/index.html +3 -3
  321. package/out/warehousing-provider/index.html +3 -3
  322. package/out/warehousing-provider/new/index.html +3 -3
  323. package/out/works/WorkDetailPage/index.html +3 -3
  324. package/out/works/WorkQueueListView/index.html +3 -3
  325. package/out/works/index.html +3 -3
  326. package/out/works/management/index.html +3 -3
  327. package/package.json +10 -10
  328. package/src/modules/accounts/hooks/logOut.ts +26 -0
  329. package/src/modules/accounts/hooks/useAddEmail.ts +34 -0
  330. package/src/modules/accounts/hooks/useAddWeb3Address.ts +38 -0
  331. package/src/modules/accounts/hooks/useAddWebAuthnCredentials.ts +48 -0
  332. package/src/modules/accounts/hooks/useBulkUserOperations.ts +91 -0
  333. package/src/modules/accounts/hooks/useChangePassword.ts +36 -0
  334. package/src/modules/accounts/hooks/useCreateUser.ts +74 -0
  335. package/src/modules/accounts/hooks/useCreateWebAuthnCredentialCreationOptions.ts +31 -0
  336. package/src/modules/accounts/hooks/useCreateWebAuthnCredentialRequestOptions.ts +30 -0
  337. package/src/modules/accounts/hooks/useCurrentUser.ts +44 -0
  338. package/src/modules/accounts/hooks/useDeleteUser.ts +26 -0
  339. package/src/modules/accounts/hooks/useEnrollUser.ts +48 -0
  340. package/src/modules/accounts/hooks/useForgotPassword.ts +35 -0
  341. package/src/modules/accounts/hooks/useGenerateLoginCredentials.ts +80 -0
  342. package/src/modules/accounts/hooks/useGenerateWebAuthCredentials.ts +102 -0
  343. package/src/modules/accounts/hooks/useLoginWithLoginCode.ts +45 -0
  344. package/src/modules/accounts/hooks/useLoginWithPassword.ts +65 -0
  345. package/src/modules/accounts/hooks/useLoginWithWebAuthn.ts +38 -0
  346. package/src/modules/accounts/hooks/useLogoutAllSessions.ts +27 -0
  347. package/src/modules/accounts/hooks/useRemoveBookmark.ts +36 -0
  348. package/src/modules/accounts/hooks/useRemoveEmail.ts +40 -0
  349. package/src/modules/accounts/hooks/useRemoveWeb3Address.ts +38 -0
  350. package/src/modules/accounts/hooks/useRemoveWebAuthCredentials.ts +36 -0
  351. package/src/modules/accounts/hooks/useRequestLoginCode.ts +31 -0
  352. package/src/modules/accounts/hooks/useResetPassword.ts +46 -0
  353. package/src/modules/accounts/hooks/useSendVerificationEmail.ts +35 -0
  354. package/src/modules/accounts/hooks/useSetPassword.ts +38 -0
  355. package/src/modules/accounts/hooks/useSetRoles.ts +40 -0
  356. package/src/modules/accounts/hooks/useSetUserTags.ts +48 -0
  357. package/src/modules/accounts/hooks/useSetUsername.ts +40 -0
  358. package/src/modules/accounts/hooks/useUpdateUserAvatar.ts +49 -0
  359. package/src/modules/accounts/hooks/useUpdateUserProfile.ts +40 -0
  360. package/src/modules/accounts/hooks/useUser.ts +201 -0
  361. package/src/modules/accounts/hooks/useUserBookmarks.ts +51 -0
  362. package/src/modules/accounts/hooks/useUserExport.ts +107 -0
  363. package/src/modules/accounts/hooks/useUserWebAuthnCredentials.ts +44 -0
  364. package/src/modules/accounts/hooks/useUsers.ts +82 -0
  365. package/src/modules/accounts/hooks/useUsersCount.ts +50 -0
  366. package/src/modules/accounts/hooks/useValidateEmailVerificationToken.ts +34 -0
  367. package/src/modules/accounts/hooks/useValidateResetPasswordToken.ts +35 -0
  368. package/src/modules/accounts/hooks/useVerifyEmail.ts +41 -0
  369. package/src/modules/accounts/hooks/useVerifyWeb3Address.ts +40 -0
  370. package/src/modules/accounts/index.ts +2 -0
  371. package/src/modules/assortment/fragments/AssortmentChildrenFragment.ts +16 -0
  372. package/src/modules/assortment/fragments/AssortmentFragment.ts +31 -0
  373. package/src/modules/assortment/fragments/AssortmentLinkFragment.ts +18 -0
  374. package/src/modules/assortment/fragments/AssortmentMediaFragment.ts +19 -0
  375. package/src/modules/assortment/fragments/AssortmentMediaTextsFragment.ts +12 -0
  376. package/src/modules/assortment/fragments/AssortmentTextsFragment.ts +14 -0
  377. package/src/modules/assortment/hooks/useAddAssortmentFilter.ts +46 -0
  378. package/src/modules/assortment/hooks/useAddAssortmentLink.ts +46 -0
  379. package/src/modules/assortment/hooks/useAddAssortmentMedia.ts +52 -0
  380. package/src/modules/assortment/hooks/useAddAssortmentProduct.ts +46 -0
  381. package/src/modules/assortment/hooks/useAssortment.ts +56 -0
  382. package/src/modules/assortment/hooks/useAssortmentChildren.ts +58 -0
  383. package/src/modules/assortment/hooks/useAssortmentExport.ts +60 -0
  384. package/src/modules/assortment/hooks/useAssortmentFilters.ts +51 -0
  385. package/src/modules/assortment/hooks/useAssortmentLinks.ts +54 -0
  386. package/src/modules/assortment/hooks/useAssortmentMedia.ts +57 -0
  387. package/src/modules/assortment/hooks/useAssortmentPaths.ts +39 -0
  388. package/src/modules/assortment/hooks/useAssortmentProducts.ts +62 -0
  389. package/src/modules/assortment/hooks/useAssortments.ts +103 -0
  390. package/src/modules/assortment/hooks/useAssortmentsCount.ts +51 -0
  391. package/src/modules/assortment/hooks/useBulkAssortmentOperations.ts +100 -0
  392. package/src/modules/assortment/hooks/useCreateAssortment.ts +55 -0
  393. package/src/modules/assortment/hooks/usePrepareAssortmentImport.ts +211 -0
  394. package/src/modules/assortment/hooks/useRemoveAssortment.ts +36 -0
  395. package/src/modules/assortment/hooks/useRemoveAssortmentFilter.ts +36 -0
  396. package/src/modules/assortment/hooks/useRemoveAssortmentLink.ts +36 -0
  397. package/src/modules/assortment/hooks/useRemoveAssortmentMedia.ts +36 -0
  398. package/src/modules/assortment/hooks/useRemoveAssortmentProduct.ts +36 -0
  399. package/src/modules/assortment/hooks/useReorderAssortmentFilters.ts +39 -0
  400. package/src/modules/assortment/hooks/useReorderAssortmentLinks.ts +37 -0
  401. package/src/modules/assortment/hooks/useReorderAssortmentMedia.ts +37 -0
  402. package/src/modules/assortment/hooks/useReorderAssortmentProducts.ts +39 -0
  403. package/src/modules/assortment/hooks/useTranslatedAssortmentMediaTexts.ts +41 -0
  404. package/src/modules/assortment/hooks/useTranslatedAssortmentTexts.ts +40 -0
  405. package/src/modules/assortment/hooks/useUpdateAssortment.ts +43 -0
  406. package/src/modules/assortment/hooks/useUpdateAssortmentMediaTexts.ts +45 -0
  407. package/src/modules/assortment/hooks/useUpdateAssortmentTexts.ts +42 -0
  408. package/src/modules/common/fragments/AddressFragment.ts +16 -0
  409. package/src/modules/common/hooks/useApp.ts +11 -0
  410. package/src/modules/common/hooks/useBulkActionConfirmation.tsx +68 -0
  411. package/src/modules/common/hooks/useBulkResultHandler.ts +83 -0
  412. package/src/modules/common/hooks/useBulkSelection.ts +86 -0
  413. package/src/modules/common/hooks/useCSVExport.ts +94 -0
  414. package/src/modules/common/hooks/useCSVImport.ts +69 -0
  415. package/src/modules/common/hooks/useChatEndpointChecker.ts +25 -0
  416. package/src/modules/common/hooks/useConfirmMediaUpload.ts +45 -0
  417. package/src/modules/common/hooks/useDashboardMetrics.ts +42 -0
  418. package/src/modules/common/hooks/useLocalStorage.ts +34 -0
  419. package/src/modules/common/hooks/useOrderAnalytics.ts +139 -0
  420. package/src/modules/common/hooks/useOrderItemsAnalytics.ts +107 -0
  421. package/src/modules/common/hooks/useOutsideClick.ts +29 -0
  422. package/src/modules/common/hooks/usePortal.ts +54 -0
  423. package/src/modules/common/hooks/useScrollRestoration.ts +123 -0
  424. package/src/modules/common/hooks/useShopConfiguration.ts +83 -0
  425. package/src/modules/common/hooks/useShopInfo.ts +66 -0
  426. package/src/modules/common/hooks/useStatusTypes.ts +29 -0
  427. package/src/modules/common/hooks/useSystemRoles.ts +29 -0
  428. package/src/modules/common/hooks/useTheme.ts +14 -0
  429. package/src/modules/copilot/hooks/useAvailableTools.ts +92 -0
  430. package/src/modules/copilot/hooks/useChatManager.ts +169 -0
  431. package/src/modules/copilot/hooks/useToolTextNormalizer.ts +84 -0
  432. package/src/modules/country/fragments/CountryFragment.ts +17 -0
  433. package/src/modules/country/hooks/useCountries.ts +66 -0
  434. package/src/modules/country/hooks/useCountry.ts +34 -0
  435. package/src/modules/country/hooks/useCreateCountry.ts +41 -0
  436. package/src/modules/country/hooks/useRemoveCountry.ts +38 -0
  437. package/src/modules/country/hooks/useUpdateCountry.ts +42 -0
  438. package/src/modules/currency/fragments/CurrencyFragment.ts +13 -0
  439. package/src/modules/currency/hooks/useCreateCurrency.ts +48 -0
  440. package/src/modules/currency/hooks/useCurrencies.ts +68 -0
  441. package/src/modules/currency/hooks/useCurrency.ts +34 -0
  442. package/src/modules/currency/hooks/useRemoveCurrency.ts +38 -0
  443. package/src/modules/currency/hooks/useUpdateCurrency.ts +47 -0
  444. package/src/modules/delivery-provider/hooks/useCreateDeliveryProvider.ts +67 -0
  445. package/src/modules/delivery-provider/hooks/useDeliveryInterfacesByType.ts +38 -0
  446. package/src/modules/delivery-provider/hooks/useDeliveryProvider.ts +60 -0
  447. package/src/modules/delivery-provider/hooks/useDeliveryProviderTypes.ts +34 -0
  448. package/src/modules/delivery-provider/hooks/useDeliveryProviders.ts +59 -0
  449. package/src/modules/delivery-provider/hooks/useRemoveDeliveryProvider.ts +38 -0
  450. package/src/modules/delivery-provider/hooks/useUpdateDeliveryProvider.ts +68 -0
  451. package/src/modules/enrollment/fragments/EnrollmentDetailFragment.ts +111 -0
  452. package/src/modules/enrollment/fragments/EnrollmentFragment.ts +66 -0
  453. package/src/modules/enrollment/hooks/useActivateEnrollment.ts +36 -0
  454. package/src/modules/enrollment/hooks/useEnrollment.ts +39 -0
  455. package/src/modules/enrollment/hooks/useEnrollments.ts +70 -0
  456. package/src/modules/enrollment/hooks/useSendEnrollmentEmail.ts +35 -0
  457. package/src/modules/enrollment/hooks/useSuspendEnrollment.ts +31 -0
  458. package/src/modules/enrollment/hooks/useTerminateEnrollment.ts +48 -0
  459. package/src/modules/enrollment/hooks/useUpdateEnrollmentExpires.ts +38 -0
  460. package/src/modules/enrollment/hooks/useUpdateEnrollmentPlan.ts +45 -0
  461. package/src/modules/enrollment/hooks/useUserEnrollments.ts +61 -0
  462. package/src/modules/event/fragments/EventFragment.ts +12 -0
  463. package/src/modules/event/hooks/useEvent.ts +32 -0
  464. package/src/modules/event/hooks/useEventTypes.ts +29 -0
  465. package/src/modules/event/hooks/useEvents.ts +77 -0
  466. package/src/modules/filter/fragments/FilterFragment.ts +24 -0
  467. package/src/modules/filter/fragments/FilterOptionFragment.ts +16 -0
  468. package/src/modules/filter/fragments/FilterTextsFragment.ts +12 -0
  469. package/src/modules/filter/hooks/useBulkFilterOperations.ts +59 -0
  470. package/src/modules/filter/hooks/useCreateFilter.ts +44 -0
  471. package/src/modules/filter/hooks/useCreateFilterOption.ts +42 -0
  472. package/src/modules/filter/hooks/useFilter.ts +44 -0
  473. package/src/modules/filter/hooks/useFilterExport.ts +35 -0
  474. package/src/modules/filter/hooks/useFilterOptions.ts +40 -0
  475. package/src/modules/filter/hooks/useFilterTypes.ts +34 -0
  476. package/src/modules/filter/hooks/useFilters.ts +78 -0
  477. package/src/modules/filter/hooks/useFiltersCount.ts +37 -0
  478. package/src/modules/filter/hooks/usePrepareFilterImport.ts +142 -0
  479. package/src/modules/filter/hooks/useRemoveFilter.ts +34 -0
  480. package/src/modules/filter/hooks/useRemoveFilterOption.ts +40 -0
  481. package/src/modules/filter/hooks/useTranslatedFilterTexts.ts +40 -0
  482. package/src/modules/filter/hooks/useUpdateFilter.ts +38 -0
  483. package/src/modules/filter/hooks/useUpdateFilterTexts.ts +48 -0
  484. package/src/modules/forms/hooks/useField.ts +151 -0
  485. package/src/modules/forms/hooks/useForm.ts +210 -0
  486. package/src/modules/forms/hooks/useFormContext.ts +7 -0
  487. package/src/modules/language/fragments/LanguageFragment.ts +13 -0
  488. package/src/modules/language/hooks/useCreateLanguage.ts +40 -0
  489. package/src/modules/language/hooks/useLanguage.ts +34 -0
  490. package/src/modules/language/hooks/useLanguages.ts +64 -0
  491. package/src/modules/language/hooks/useRemoveLanguage.ts +38 -0
  492. package/src/modules/language/hooks/useUpdateLanguage.ts +42 -0
  493. package/src/modules/modal/hooks/useModal.ts +8 -0
  494. package/src/modules/order/fragments/OrderDetailFragment.ts +254 -0
  495. package/src/modules/order/fragments/OrderFragment.ts +42 -0
  496. package/src/modules/order/hooks/useConfirmOrder.ts +36 -0
  497. package/src/modules/order/hooks/useDeliverOrder.ts +36 -0
  498. package/src/modules/order/hooks/useOrder.ts +35 -0
  499. package/src/modules/order/hooks/useOrders.ts +105 -0
  500. package/src/modules/order/hooks/usePayOrder.ts +36 -0
  501. package/src/modules/order/hooks/useRejectOrder.ts +36 -0
  502. package/src/modules/order/hooks/useRemoveOrder.ts +36 -0
  503. package/src/modules/order/hooks/useUserCart.ts +71 -0
  504. package/src/modules/order/hooks/useUserOrders.ts +65 -0
  505. package/src/modules/payment-providers/fragments/PaymentProviderFragment.ts +21 -0
  506. package/src/modules/payment-providers/hooks/useCreatePaymentProvider.ts +43 -0
  507. package/src/modules/payment-providers/hooks/usePaymentInterfacesByType.ts +38 -0
  508. package/src/modules/payment-providers/hooks/usePaymentProvider.ts +39 -0
  509. package/src/modules/payment-providers/hooks/usePaymentProviderTypes.ts +34 -0
  510. package/src/modules/payment-providers/hooks/usePaymentProviders.ts +42 -0
  511. package/src/modules/payment-providers/hooks/useRemovePaymentProvider.ts +38 -0
  512. package/src/modules/payment-providers/hooks/useUpdatePaymentProvider.ts +47 -0
  513. package/src/modules/product/fragments/ProductAssignmentFragment.ts +39 -0
  514. package/src/modules/product/fragments/ProductBriefFragment.ts +57 -0
  515. package/src/modules/product/fragments/ProductCatalogPriceFragment.ts +23 -0
  516. package/src/modules/product/fragments/ProductDetailFragment.ts +51 -0
  517. package/src/modules/product/fragments/ProductDimensionFragment.ts +12 -0
  518. package/src/modules/product/fragments/ProductMediaFragment.ts +24 -0
  519. package/src/modules/product/fragments/ProductMediaTextsFragment.ts +12 -0
  520. package/src/modules/product/fragments/ProductPlanConfigurationFragment.ts +14 -0
  521. package/src/modules/product/fragments/ProductTextsFragment.ts +17 -0
  522. package/src/modules/product/fragments/ProductVariationFragment.ts +27 -0
  523. package/src/modules/product/fragments/TokenFragment.ts +24 -0
  524. package/src/modules/product/hooks/useAddProductAssignment.ts +46 -0
  525. package/src/modules/product/hooks/useAddProductMedia.ts +47 -0
  526. package/src/modules/product/hooks/useBulkProductOperations.ts +123 -0
  527. package/src/modules/product/hooks/useCreateProduct.ts +72 -0
  528. package/src/modules/product/hooks/useCreateProductBundleItem.ts +40 -0
  529. package/src/modules/product/hooks/useCreateProductVariation.ts +46 -0
  530. package/src/modules/product/hooks/useCreateProductVariationOption.ts +46 -0
  531. package/src/modules/product/hooks/useExportToken.ts +51 -0
  532. package/src/modules/product/hooks/useMenuPosition.ts +34 -0
  533. package/src/modules/product/hooks/usePrepareProductImport.ts +350 -0
  534. package/src/modules/product/hooks/useProduct.ts +93 -0
  535. package/src/modules/product/hooks/useProductAssignments.ts +71 -0
  536. package/src/modules/product/hooks/useProductBundleItems.ts +61 -0
  537. package/src/modules/product/hooks/useProductCatalogPrices.ts +39 -0
  538. package/src/modules/product/hooks/useProductExport.ts +90 -0
  539. package/src/modules/product/hooks/useProductFulfillmentSimulation.ts +137 -0
  540. package/src/modules/product/hooks/useProductMedia.ts +44 -0
  541. package/src/modules/product/hooks/useProductPlan.ts +50 -0
  542. package/src/modules/product/hooks/useProductPlanConfigurationOptions.ts +42 -0
  543. package/src/modules/product/hooks/useProductReviews.ts +62 -0
  544. package/src/modules/product/hooks/useProductSupply.ts +52 -0
  545. package/src/modules/product/hooks/useProductTokenization.ts +52 -0
  546. package/src/modules/product/hooks/useProductVariationTypes.ts +34 -0
  547. package/src/modules/product/hooks/useProductVariations.ts +50 -0
  548. package/src/modules/product/hooks/useProductWarehousing.ts +45 -0
  549. package/src/modules/product/hooks/useProducts.ts +111 -0
  550. package/src/modules/product/hooks/useProductsCount.ts +54 -0
  551. package/src/modules/product/hooks/usePublishProduct.ts +39 -0
  552. package/src/modules/product/hooks/useReOrderProductMedia.ts +36 -0
  553. package/src/modules/product/hooks/useRemoveBundleItem.ts +37 -0
  554. package/src/modules/product/hooks/useRemoveProduct.ts +36 -0
  555. package/src/modules/product/hooks/useRemoveProductAssignment.ts +40 -0
  556. package/src/modules/product/hooks/useRemoveProductMedia.ts +36 -0
  557. package/src/modules/product/hooks/useRemoveProductVariation.ts +36 -0
  558. package/src/modules/product/hooks/useRemoveProductVariationOption.ts +43 -0
  559. package/src/modules/product/hooks/useScaffoldBundleItem.ts +38 -0
  560. package/src/modules/product/hooks/useScaffoldVariationProduct.ts +50 -0
  561. package/src/modules/product/hooks/useSmartContractStandards.ts +34 -0
  562. package/src/modules/product/hooks/useTranslatedProductMediaTexts.ts +39 -0
  563. package/src/modules/product/hooks/useTranslatedProductTexts.ts +42 -0
  564. package/src/modules/product/hooks/useUnPublishProduct.ts +39 -0
  565. package/src/modules/product/hooks/useUpdateProduct.ts +46 -0
  566. package/src/modules/product/hooks/useUpdateProductCommerce.ts +50 -0
  567. package/src/modules/product/hooks/useUpdateProductMediaTexts.ts +42 -0
  568. package/src/modules/product/hooks/useUpdateProductPlan.ts +54 -0
  569. package/src/modules/product/hooks/useUpdateProductSupply.ts +60 -0
  570. package/src/modules/product/hooks/useUpdateProductTexts.ts +39 -0
  571. package/src/modules/product/hooks/useUpdateProductTokenization.ts +58 -0
  572. package/src/modules/product/hooks/useUpdateProductVariationTexts.ts +50 -0
  573. package/src/modules/product/hooks/useUpdateProductWarehousing.ts +50 -0
  574. package/src/modules/product/hooks/useUserTokens.ts +48 -0
  575. package/src/modules/product/index.ts +3 -0
  576. package/src/modules/product-review/fragments/ProductReviewDetailFragment.ts +55 -0
  577. package/src/modules/product-review/hooks/useAddProductReviewVote.ts +55 -0
  578. package/src/modules/product-review/hooks/useCreateProductReview.ts +47 -0
  579. package/src/modules/product-review/hooks/useProductReviewsByProductId.ts +70 -0
  580. package/src/modules/product-review/hooks/useRemoveProductReview.ts +38 -0
  581. package/src/modules/product-review/hooks/useRemoveProductReviewVote.ts +43 -0
  582. package/src/modules/product-review/hooks/useUserProductReviews.ts +92 -0
  583. package/src/modules/quotation/fragments/QuotationDetailFragment.ts +71 -0
  584. package/src/modules/quotation/fragments/QuotationFragment.ts +54 -0
  585. package/src/modules/quotation/hooks/useMakeQuotationProposal.ts +41 -0
  586. package/src/modules/quotation/hooks/useQuotation.ts +37 -0
  587. package/src/modules/quotation/hooks/useQuotations.ts +61 -0
  588. package/src/modules/quotation/hooks/useRejectQuotation.ts +41 -0
  589. package/src/modules/quotation/hooks/useUserQuotations.ts +60 -0
  590. package/src/modules/quotation/hooks/useVerifyQuotation.ts +41 -0
  591. package/src/modules/search/fragments/GlobalSearchFragment.ts +20 -0
  592. package/src/modules/search/hooks/useGlobalSearch.ts +168 -0
  593. package/src/modules/token/hooks/useInvalidateTicket.ts +27 -0
  594. package/src/modules/token/hooks/useToken.ts +64 -0
  595. package/src/modules/token/hooks/useTokens.ts +72 -0
  596. package/src/modules/warehousing-providers/fragments/WarehousingProviderFragment.ts +21 -0
  597. package/src/modules/warehousing-providers/hooks/useCreateWarehousingProvider.ts +46 -0
  598. package/src/modules/warehousing-providers/hooks/useRemoveWarehousingProvider.ts +38 -0
  599. package/src/modules/warehousing-providers/hooks/useUpdateWarehousingProvider.ts +47 -0
  600. package/src/modules/warehousing-providers/hooks/useWarehousingInterfacesByType.ts +38 -0
  601. package/src/modules/warehousing-providers/hooks/useWarehousingProvider.ts +39 -0
  602. package/src/modules/warehousing-providers/hooks/useWarehousingProviderTypes.ts +34 -0
  603. package/src/modules/warehousing-providers/hooks/useWarehousingProviders.ts +41 -0
  604. package/src/modules/work/fragments/WorkFragment.ts +24 -0
  605. package/src/modules/work/hooks/useActiveWorkTypes.ts +29 -0
  606. package/src/modules/work/hooks/useAddWork.ts +62 -0
  607. package/src/modules/work/hooks/useAllocateWork.ts +40 -0
  608. package/src/modules/work/hooks/useRecentExports.ts +129 -0
  609. package/src/modules/work/hooks/useRegisteredWorkTypes.ts +27 -0
  610. package/src/modules/work/hooks/useRemoveWork.ts +36 -0
  611. package/src/modules/work/hooks/useWork.ts +42 -0
  612. package/src/modules/work/hooks/useWorkQueue.ts +98 -0
  613. package/src/sdk/README.md +2 -2
  614. package/out/_next/static/BPoacQET3TJr2q9E370Ez/_buildManifest.js +0 -262
  615. package/out/_next/static/chunks/02ir8k2vqhw7u.js +0 -4
  616. package/out/_next/static/chunks/03mdkmx9pb3yx.js +0 -28
  617. package/out/_next/static/chunks/03spbldywp99b.js +0 -31
  618. package/out/_next/static/chunks/0531sa8v36e39.js +0 -1
  619. package/out/_next/static/chunks/065ltxdt7s8b2.js +0 -134
  620. package/out/_next/static/chunks/06b1jza2fvc6f.js +0 -4
  621. package/out/_next/static/chunks/0701uizxsgs75.js +0 -4
  622. package/out/_next/static/chunks/09olk50zbo5r6.js +0 -5
  623. package/out/_next/static/chunks/09pabifvs84zb.js +0 -12
  624. package/out/_next/static/chunks/0_pn7w49dpkak.js +0 -5
  625. package/out/_next/static/chunks/0a_gulnq-c7to.js +0 -709
  626. package/out/_next/static/chunks/0agx-csdwbk-x.js +0 -5
  627. package/out/_next/static/chunks/0clmvy-auef0p.js +0 -14
  628. package/out/_next/static/chunks/0czktxcs2aa12.js +0 -1
  629. package/out/_next/static/chunks/0d_qylr054ab-.js +0 -5
  630. package/out/_next/static/chunks/0e2znhpcecrqs.js +0 -175
  631. package/out/_next/static/chunks/0ef4vp3ehm369.js +0 -4
  632. package/out/_next/static/chunks/0fggi8jpi5gjk.js +0 -165
  633. package/out/_next/static/chunks/0gyabz3vqllr6.js +0 -83
  634. package/out/_next/static/chunks/0j05dboa5_xkw.js +0 -5
  635. package/out/_next/static/chunks/0kr4ift9_1a3s.js +0 -1
  636. package/out/_next/static/chunks/0l8tmlevl_6p0.js +0 -1
  637. package/out/_next/static/chunks/0o91usftba97q.js +0 -54
  638. package/out/_next/static/chunks/0oi1kpp0levnm.js +0 -1
  639. package/out/_next/static/chunks/0p86ng98eiz5q.js +0 -11
  640. package/out/_next/static/chunks/0pw1zl8_l93xl.js +0 -5
  641. package/out/_next/static/chunks/0py8-umjmwiwi.js +0 -156
  642. package/out/_next/static/chunks/0q0m2pv-3b2e2.js +0 -4
  643. package/out/_next/static/chunks/0r57e83u39trg.js +0 -5
  644. package/out/_next/static/chunks/0r9a_mcjh1k24.js +0 -6
  645. package/out/_next/static/chunks/0rgtc82y8z7_x.js +0 -5
  646. package/out/_next/static/chunks/0rxhx_x-7dojh.js +0 -182
  647. package/out/_next/static/chunks/0s6u_6w75ggbw.js +0 -297
  648. package/out/_next/static/chunks/0teb3b5h78855.js +0 -44
  649. package/out/_next/static/chunks/0thsuuvsozjop.js +0 -54
  650. package/out/_next/static/chunks/0v6x3uondh5hw.js +0 -5
  651. package/out/_next/static/chunks/0v_uz3j8jolmq.js +0 -4
  652. package/out/_next/static/chunks/0vwmp6qrw7odm.js +0 -7
  653. package/out/_next/static/chunks/0w6t6v_jzrudq.js +0 -4
  654. package/out/_next/static/chunks/0w7gz501ry22r.js +0 -4
  655. package/out/_next/static/chunks/0xgn-89s97a5w.js +0 -1
  656. package/out/_next/static/chunks/0xqtemh7t38y9.js +0 -119
  657. package/out/_next/static/chunks/1-1rj15j67dqt.js +0 -1
  658. package/out/_next/static/chunks/10drou7w-k58p.js +0 -4
  659. package/out/_next/static/chunks/11w7hldkge7sg.js +0 -8
  660. package/out/_next/static/chunks/130c8cta7pec6.js +0 -1
  661. package/out/_next/static/chunks/13qi39a_b6gkv.js +0 -1
  662. package/out/_next/static/chunks/15142badc5ufq.js +0 -4
  663. package/out/_next/static/chunks/155boltbcvwo-.js +0 -63
  664. package/out/_next/static/chunks/15_nwd8p454gd.js +0 -1
  665. package/out/_next/static/chunks/15s4qkdyz56pg.js +0 -115
  666. package/out/_next/static/chunks/15vdx0kewzv-6.js +0 -33
  667. package/out/_next/static/chunks/16shuavdpgni8.js +0 -327
  668. package/out/_next/static/chunks/170j06y4-47o4.js +0 -5
  669. package/out/_next/static/chunks/18a5kibvycb6u.js +0 -1
  670. package/out/_next/static/chunks/1_bckhq06wfmb.js +0 -4
  671. package/out/_next/static/chunks/1_ymf_rfke1aw.js +0 -6
  672. package/out/_next/static/chunks/1a1m389awxw4k.js +0 -1
  673. package/out/_next/static/chunks/1albq_5cppsa1.js +0 -5
  674. package/out/_next/static/chunks/1bhibqf8k2-z1.js +0 -117
  675. package/out/_next/static/chunks/1bxesp6kakz8_.js +0 -353
  676. package/out/_next/static/chunks/1d80ahah359g5.js +0 -174
  677. package/out/_next/static/chunks/1dbjry-rs_5we.js +0 -1
  678. package/out/_next/static/chunks/1dlr1eig6zpl1.js +0 -12
  679. package/out/_next/static/chunks/1gq8ickcg_vmv.js +0 -147
  680. package/out/_next/static/chunks/1gyrsx1nip-lm.js +0 -2
  681. package/out/_next/static/chunks/1hma23kynopdj.js +0 -3
  682. package/out/_next/static/chunks/1i996uxxmc736.js +0 -234
  683. package/out/_next/static/chunks/1ivhp-mi-5l--.js +0 -57
  684. package/out/_next/static/chunks/1ktkks-wpk8q-.js +0 -1
  685. package/out/_next/static/chunks/1kz62r46jwi0y.js +0 -5
  686. package/out/_next/static/chunks/1lex3myb5hmsw.js +0 -1
  687. package/out/_next/static/chunks/1lha1nklxo2g7.js +0 -1
  688. package/out/_next/static/chunks/1mwmcucidjio0.js +0 -8
  689. package/out/_next/static/chunks/1mzejejof4s6g.js +0 -147
  690. package/out/_next/static/chunks/1os6pvhjeb16o.js +0 -1
  691. package/out/_next/static/chunks/1p937fyqa7ssz.js +0 -1
  692. package/out/_next/static/chunks/1po7d3udj6iv4.js +0 -5
  693. package/out/_next/static/chunks/1qxxbcidu-hmv.js +0 -1
  694. package/out/_next/static/chunks/1re4i2t_po4sr.js +0 -95
  695. package/out/_next/static/chunks/1s4oi1bw8zl5d.js +0 -31
  696. package/out/_next/static/chunks/1sb04cqudnfpj.js +0 -4
  697. package/out/_next/static/chunks/1uom050rz5iol.js +0 -272
  698. package/out/_next/static/chunks/1uymuiqrms2h8.js +0 -103
  699. package/out/_next/static/chunks/1wijj_fal57co.js +0 -2
  700. package/out/_next/static/chunks/1wpen9t3_zbte.js +0 -1
  701. package/out/_next/static/chunks/1wpv1sl7vwg04.js +0 -99
  702. package/out/_next/static/chunks/1y3poj860g968.js +0 -24
  703. package/out/_next/static/chunks/1yk0pxcl4urkd.js +0 -4
  704. package/out/_next/static/chunks/1z2rl3h7scna4.js +0 -7
  705. package/out/_next/static/chunks/1zyhq82pkterc.js +0 -61
  706. package/out/_next/static/chunks/2-4610weysas_.js +0 -1
  707. package/out/_next/static/chunks/2-zr9-ri30va5.css +0 -1
  708. package/out/_next/static/chunks/20j8cdot33hql.js +0 -13
  709. package/out/_next/static/chunks/21fo9zerxyx-l.js +0 -59
  710. package/out/_next/static/chunks/22sxsq82r3cwy.js +0 -41
  711. package/out/_next/static/chunks/23nwkbry8kz0-.js +0 -1
  712. package/out/_next/static/chunks/259ckrmoldaqg.js +0 -5
  713. package/out/_next/static/chunks/25y2dqqrhstuq.js +0 -5
  714. package/out/_next/static/chunks/28myh-gi8t3t7.js +0 -7
  715. package/out/_next/static/chunks/29y82c6-u55hj.js +0 -5
  716. package/out/_next/static/chunks/2ahlen2u4lbnm.js +0 -16
  717. package/out/_next/static/chunks/2c3ehieqiwiw8.js +0 -119
  718. package/out/_next/static/chunks/2c5gq6izeq6nx.js +0 -81
  719. package/out/_next/static/chunks/2cj8g3fxmitaa.js +0 -1
  720. package/out/_next/static/chunks/2d9lzme_uzwvq.js +0 -1
  721. package/out/_next/static/chunks/2dqoft2pp4355.js +0 -1
  722. package/out/_next/static/chunks/2gso7_8v7owco.js +0 -1
  723. package/out/_next/static/chunks/2hc4nowrexhn3.js +0 -100
  724. package/out/_next/static/chunks/2hoi6cb1lromr.js +0 -4
  725. package/out/_next/static/chunks/2hw2_8kkf_2fg.js +0 -1
  726. package/out/_next/static/chunks/2kd4p_esjbozz.js +0 -21
  727. package/out/_next/static/chunks/2lwhn1ypqwukz.js +0 -11
  728. package/out/_next/static/chunks/2oz432iieo_c6.js +0 -43
  729. package/out/_next/static/chunks/2qjnhmz4c5fq1.js +0 -23
  730. package/out/_next/static/chunks/2rdjgc7_za785.js +0 -9
  731. package/out/_next/static/chunks/2ru66cyp0hbxn.js +0 -103
  732. package/out/_next/static/chunks/2ung-az_h871_.js +0 -4
  733. package/out/_next/static/chunks/2v4rvvdyh028e.js +0 -1
  734. package/out/_next/static/chunks/2vsl3-revotpl.js +0 -43
  735. package/out/_next/static/chunks/2wbc_9uwtsjbp.js +0 -15
  736. package/out/_next/static/chunks/2xixk0t9e9mnw.js +0 -1
  737. package/out/_next/static/chunks/2y6i_xssusr93.js +0 -1
  738. package/out/_next/static/chunks/2y_t26eglpeka.js +0 -4
  739. package/out/_next/static/chunks/3-hgyqm9mhcm9.js +0 -33
  740. package/out/_next/static/chunks/364y5vueeinvz.js +0 -276
  741. package/out/_next/static/chunks/366b9y413lk4d.js +0 -33
  742. package/out/_next/static/chunks/36vauyb71ot_b.js +0 -61
  743. package/out/_next/static/chunks/394m309ssmlo3.js +0 -5
  744. package/out/_next/static/chunks/39pveojee3ma1.js +0 -33
  745. package/out/_next/static/chunks/3_--novhq2u1q.js +0 -807
  746. package/out/_next/static/chunks/3apnk6kuvwze8.js +0 -5
  747. package/out/_next/static/chunks/3b0868kyqqkn3.js +0 -5
  748. package/out/_next/static/chunks/3dcwbsiechj8e.js +0 -7
  749. package/out/_next/static/chunks/3dyd0ilb-ee5w.js +0 -8
  750. package/out/_next/static/chunks/3eftzknnu45-s.js +0 -1
  751. package/out/_next/static/chunks/3ejsx4af27cct.js +0 -7
  752. package/out/_next/static/chunks/3es4yddhl8uwc.js +0 -7
  753. package/out/_next/static/chunks/3inp15oicq85k.js +0 -1
  754. package/out/_next/static/chunks/3kd-t_qz3nxh7.js +0 -30
  755. package/out/_next/static/chunks/3kl8vv7w9jkjr.js +0 -23
  756. package/out/_next/static/chunks/3kmfx3f7oyfdm.js +0 -5
  757. package/out/_next/static/chunks/3koj4-48a7p_9.js +0 -4
  758. package/out/_next/static/chunks/3l7glrtu8ueuo.js +0 -4
  759. package/out/_next/static/chunks/3lgq9oa_2erwo.js +0 -5
  760. package/out/_next/static/chunks/3muxcxam24i5z.js +0 -1
  761. package/out/_next/static/chunks/3nimt7ngr5zv6.js +0 -46
  762. package/out/_next/static/chunks/3pwezwpggrz59.js +0 -74
  763. package/out/_next/static/chunks/3r02t7a7jknrv.js +0 -7
  764. package/out/_next/static/chunks/3s40iuaou1rt4.js +0 -1
  765. package/out/_next/static/chunks/3selzn479n73i.js +0 -16
  766. package/out/_next/static/chunks/3srflqnqdfd60.js +0 -5
  767. package/out/_next/static/chunks/3t57k35xu2eo8.js +0 -5
  768. package/out/_next/static/chunks/3tu90a7do336z.js +0 -12
  769. package/out/_next/static/chunks/3ukgj2jzxf10n.js +0 -5
  770. package/out/_next/static/chunks/3vosu-lpiis6v.js +0 -5
  771. package/out/_next/static/chunks/3xaz8fvw2x6b3.js +0 -5
  772. package/out/_next/static/chunks/3xgjhwzul66dp.js +0 -4
  773. package/out/_next/static/chunks/3zze6y1x00k__.js +0 -165
  774. package/out/_next/static/chunks/40730dyt912zu.js +0 -5
  775. package/out/_next/static/chunks/40f26tfp8txip.js +0 -5
  776. package/out/_next/static/chunks/40kc42ezz2dri.js +0 -1
  777. package/out/_next/static/chunks/41f60q88qcigi.js +0 -39
  778. package/out/_next/static/chunks/41l5iphw-rna3.js +0 -44
  779. package/out/_next/static/chunks/423kk9x5t9_b8.js +0 -5
  780. package/out/_next/static/chunks/42k5e3tr3uyzs.js +0 -54
  781. package/out/_next/static/chunks/4481d7yj7bm2q.js +0 -5
  782. package/out/_next/static/chunks/448is1kpt9eaa.js +0 -39
  783. package/out/_next/static/chunks/44fkzg2e80pqt.js +0 -8
  784. /package/out/_next/static/{BPoacQET3TJr2q9E370Ez → WEaZ5SW9HLnJWzXs84JMH}/_clientMiddlewareManifest.js +0 -0
  785. /package/out/_next/static/{BPoacQET3TJr2q9E370Ez → WEaZ5SW9HLnJWzXs84JMH}/_ssgManifest.js +0 -0
@@ -0,0 +1,33 @@
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(["f",0,({value:e,duration:s=300})=>{let[i,n]=(0,r.useState)(0);return(0,r.useEffect)(()=>{let t,r;if(0===e)return void n(0);let i=a=>{t||(t=a);let l=Math.min((a-t)/s,1);n(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(3326);e.s(["f",0,({children:e=null,totalRecords:s=null})=>{let{formatMessage:i}=(0,r.X)();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(3326);e.s(["f",0,({message:e,className:n="",Icon:a=null})=>(0,t.jsx)("div",{className:(0,s.U)("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",n),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:a||(0,t.jsx)(r.f,{className:"h-6 w-6"})}),(0,t.jsx)(i.L,{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(3326),s=e.i(2765);e.s(["f",0,({inputText:e=null,onInputChange:i,defaultValue:n})=>{let{formatMessage:a}=(0,r.X)(),l=(0,s.f)(200)(i);return(0,t.jsxs)("div",{className:"w-full",children:[(0,t.jsx)("label",{htmlFor:"search",className:"sr-only",children:e||a({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:n,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:a({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(3326),n=e.i(42469);let a=e=>e?Array.isArray(e)?e:e.toString()?.split(",")?.map(e=>e.trim()):[];e.s(["f",0,({tagList:e,onChange:l,disabled:o=!1,name:d="tag-input",id:u="tag-input",placeholder:c="",selectOptions:h=[],className:f="",buttonText:p="",showTagsInline:m=!0})=>{let{formatMessage:g}=(0,i.X)(),[x,b]=(0,r.useState)(a(e)),[y,_]=(0,r.useState)(""),[w,v]=(0,r.useState)(!1),k=(0,r.useRef)(null);(0,r.useEffect)(()=>{b(a(e))},[e]),(0,r.useEffect)(()=>{let e=e=>{k.current&&!k.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),_(""),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(),R=!!(E&&!x.some(e=>e.toLowerCase()===E)&&!h.some(e=>e.value.toLowerCase()===E)),S=(0,t.jsxs)("div",{className:"relative",ref:k,children:[(0,t.jsx)("input",{id:u,name:d,type:"text",role:"combobox","aria-expanded":w,"aria-autocomplete":"list",disabled:o,className:(0,s.U)("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=>{_(e.target.value),v(!0)},onFocus:()=>v(!0),onKeyDown:e=>{"Enter"===e.key&&y.trim()&&(e.preventDefault(),C(j[0]?.value||y.trim()))}}),w&&(R||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)),R&&(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:p||g({id:"add_new_tag",defaultMessage:'Add "{inputValue}"'},{inputValue:y.trim()})})]})]});return m?(0,t.jsxs)(t.Fragment,{children:[S,(0,t.jsx)("div",{className:(0,s.U)("ml-4 flex items-center flex-wrap gap-5",x.length>0&&"mt-1"),children:x?.map(e=>(0,t.jsx)(n.f,{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))})]}):S}])},30434,e=>{"use strict";var t=e.i(91398),r=e.i(56206),s=e.i(60741);e.s(["f",0,e=>{let{disabled:i,labelClassName:n,containerClassName:a,inputClassName:l,...o}=e,d=(0,s.f)({...e,type:"checkbox"});return(0,t.jsxs)("div",{className:(0,r.U)("",{"text-rose-600":!!d.error,checkbox:!0,disabled:d.disabled,required:d.required},a),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.U)("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.U)("text-sm text-text-primary",n,{"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(3326);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(["f",0,({selectedCount:e,selectedIds:n,onClear:a,onSelectionChange:l,actions:o})=>{let{formatMessage:d}=(0,s.X)(),[u,c]=(0,r.useState)(null),[h,f]=(0,r.useState)(!1),p=(0,r.useRef)(!1);(0,r.useEffect)(()=>{0===e&&c(null)},[e]);let m=async(e,t)=>{if(p.current)return null;p.current=!0,f(!0);try{let r=await e.onAction(n,t);return r&&(r.failedIds.length?l(r.failedIds):a()),r}finally{p.current=!1,f(!1)}},g=async e=>{if(!p.current){if(e.renderForm)return void c(e);await m(e)}},x=async e=>{!u||await m(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:()=>{p.current||a()},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 n=[];e.s(["f",0,(e=n)=>{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 a=(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:a,selectAll:l,clearAll:o,isSelected:d,toggleAll:c}),[t,u,a,l,o,d,c])}],70050);var a=e.i(28401);e.s(["f",0,()=>{let{formatMessage:e}=(0,s.X)();return(0,r.useCallback)(async(t,r)=>{try{let s=await t(),i=s&&"object"==typeof s&&"data"in s?s.data:null,n=i&&"object"==typeof i&&r in i?i[r]:null;if(n&&"object"==typeof n&&"number"==typeof n.successCount&&"number"==typeof n.failedCount&&Array.isArray(n.failedIds))return n.failedCount>0?a.toast.warning(e({id:"bulk_operation_result",defaultMessage:"{successCount} succeeded, {failedCount} failed"},{successCount:n.successCount,failedCount:n.failedCount})):a.toast.success(e({id:"bulk_operation_success",defaultMessage:"{successCount} succeeded"},{successCount:n.successCount})),n;return null}catch(t){return a.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:n})=>{let[a,o]=(0,r.useState)(!1),d=(0,r.useRef)(!1),u=async()=>{if(!d.current){d.current=!0,o(!0);try{n(await i())}catch{n(null)}}};return(0,t.jsx)(l.f,{loading:a,onCancelClick:()=>{d.current||n(null)},message:e,onOkClick:u,okText:s})};e.s(["f",0,()=>{let{setModal:e}=(0,o.f)();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)},78704,e=>{"use strict";var t=e.i(91398),r=e.i(91788),s=e.i(53576);e.s(["f",0,({loading:e,hasMore:i,onLoadMore:n,children:a,threshold:l=200})=>{let o=(0,r.useRef)(null),d=(0,r.useRef)(e),u=(0,r.useRef)(i),c=(0,r.useRef)(n);return d.current=e,u.current=i,c.current=n,(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:[a,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.f,{variant:"list"})})]})}])},51128,e=>{"use strict";var t=e.i(91398),r=e.i(3326),s=e.i(3828),i=e.i(35793),n=e.i(76038),a=e.i(42469),l=e.i(83147),o=e.i(73319);e.s(["f",0,({children:e,onSearchChange:d,defaultSearchValue:u,showTagFilter:c=!1,availableTagOptions:h=[]})=>{let{formatMessage:f}=(0,r.X)(),{query:p,push:m}=(0,s.useRouter)(),g=e=>{let{skip:t,tags:r,...s}=p;m({query:(0,o.T)(e)?(0,l._)(s,e.join(","),"tags"):(0,l._)(s)})};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.f,{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)(n.f,{buttonText:f({id:"apply",defaultMessage:"Apply"}),placeholder:f({id:"enter_tag",defaultMessage:"Enter tag..."}),tagList:p?.tags?.split(","),onChange:g,selectOptions:h,showTagsInline:!1})}),p?.tags?.split(",").filter(Boolean).length>0&&(0,t.jsx)("div",{className:"flex flex-wrap gap-2",children:p?.tags?.split(",").filter(Boolean).map(e=>(0,t.jsx)(a.f,{text:e,color:"slate",onClick:()=>{let t=p?.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(3326),n=e.i(88566),a=e.i(25575),l=e.i(3828),o=e.i(83147);let d=({onSort:e,sortDirection:r})=>r?"ASC"===r?(0,t.jsx)(a.f,{className:"ml-2 w-5 h-5 text-slate-700",onClick:e}):(0,t.jsx)(n.f,{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="",...n})=>{let[a,l]=(0,r.useState)(c(n)),{formatMessage:o}=(0,i.X)(),d={...a,header:r.default.Children.map(a.header,e=>r.default.cloneElement(e))};return(0,r.useEffect)(()=>{l(c(n))},[n.children]),d.header.length||d.body.length?(0,t.jsxs)("table",{className:(0,s.U)("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),...n,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.f,{message:o({id:"data",defaultMessage:"Data"})})};h.Row=({className:e="",children:i=[],header:n=!1,enablesort:a=!1,...l})=>{let o=r.default.Children.map(i,e=>r.default?.cloneElement(e||(0,t.jsx)("span",{}),{header:n,enablesort:a}));return(0,t.jsx)("tr",{className:(0,s.U)("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:n,sortKey:a=null,defaultSortDirection:u=null,...c})=>{let h=(0,l.useRouter)(),f=(0,o.v)(h.query?.sort),p=r?"th":"td";return(0,t.jsx)(p,{className:(0,s.U)(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:[n,"th"===p&&i&&a&&(0,t.jsx)(d,{onSort:e=>{var t;let r;e.preventDefault(),((t=f[a])?"ASC"===t?"DESC":null:"ASC")||!f[a]?r={...f,[a]:"ASC"===f[a]?"DESC":"ASC"}:(delete f[a],r=f);let s=Object.entries(r).map(([e,t])=>[e,t].join("_")).join(","),{sort:i,...n}=h.query,l=Object.keys(n).map(e=>[e,n[e]].join("=")).join("&"),d=0===Object.keys(n).length?`${h.basePath}?sort=${s}`:`${h.basePath}?${l}&sort=${s}`;s?h.push(d):h.push({query:(0,o._)(n)})},sortDirection:Object.keys(f).length?f[a]:u})]})})},e.s(["f",0,h],8918)},60513,75284,e=>{"use strict";var t=e.i(91788),r=e.i(28401),s=e.i(3326),i=e.i(30086);e.i(51523);var n=e.i(19518),a=e.i(98926),l=e.i(63104),o=e.i(3828);e.s(["f",0,()=>{let[e,d]=(0,t.useState)(!1),u=(0,a.f)(),c=(0,o.useRouter)(),{addWork:h}=(0,i.f)(),{formatMessage:f}=(0,s.X)(),p=(0,t.useCallback)(async e=>{let{data:t}=await u.query({query:(0,l.k)(),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:n.j.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 p(i);if(!t)throw Error("Work not found");(t.status===n.i.Success||t.status===n.i.Failed)&&(clearInterval(s),t.status===n.i.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,p,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(["f",0,function({options:e,onSubmit:r,loading:i=!1,successMessage:n=""}){let{formatMessage:a}=(0,s.X)(),l=(0,t.useMemo)(()=>e.reduce((e,t)=>(e[t.key]=t.defaultChecked??!0,e),{}),[e]),o=async e=>(await r(e),{success:!0}),p=(0,h.f)({successMessage:n||a({id:"export_completed",defaultMessage:"Data exported successfully"}),submit:o,enableReinitialize:!0,initialValues:l});return(0,d.jsx)(u.f,{form:p,children:p.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:a({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:[" ",a({id:"export_options",defaultMessage:"Export options"})]}),e.map(e=>(0,d.jsx)(c.f,{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.f,{label:a({id:"submit",defaultMessage:"Submit"}),disabled:i})]})})}],75284)},78193,e=>{"use strict";var t=e.i(91788),r=e.i(3326),s=e.i(30086);e.i(51523);var i=e.i(19518);e.s(["f",0,({validate:e,process:n})=>{let{addWork:a}=(0,s.f)(),[l,o]=(0,t.useState)(!1),d=(0,r.X)();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 n(t);for(let e=0;e<l.length;e+=100){let t=l.slice(e,e+100);try{await a({type:i.j.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(["f",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(["f",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(["f",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(3326);e.s(["f",0,({result:e,title:s,entityName:i="items"})=>{let{formatMessage:n}=(0,r.X)();return(0,t.jsxs)("div",{className:"p-4",children:[(0,t.jsx)("h3",{className:"text-lg font-semibold mb-4",children:s||n({id:"import_results",defaultMessage:"Import Results"})}),(0,t.jsx)("p",{className:"text-green-600",children:n({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:n({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"]})]})]})]})}])},30086,e=>{"use strict";var t=e.i(59080),r=e.i(76204);let s=t.a`
2
+ mutation AddWork(
3
+ $type: WorkType!
4
+ $priority: Int! = 0
5
+ $input: JSON
6
+ $originalWorkId: ID
7
+ $scheduled: Timestamp
8
+ $retries: Int! = 20
9
+ ) {
10
+ addWork(
11
+ type: $type
12
+ priority: $priority
13
+ input: $input
14
+ originalWorkId: $originalWorkId
15
+ scheduled: $scheduled
16
+ retries: $retries
17
+ ) {
18
+ _id
19
+ }
20
+ }
21
+ `;e.s(["f",0,()=>{let[e]=(0,r.f)(s);return{addWork:async({type:t,priority:r,input:s,originalWorkId:i,scheduled:n=null,retries:a})=>e({variables:{type:t,priority:r,input:s,originalWorkId:i,scheduled:n,retries:a},refetchQueries:["WorkQueue"]})}}])},63104,e=>{"use strict";var t=e.i(59080),r=e.i(32171),s=e.i(70693),i=e.i(94672);let n=(e="")=>t.a`
22
+ query Work($workId: ID!) {
23
+ work(workId: $workId) {
24
+ ...WorkFragment
25
+ ${e}
26
+ error
27
+ priority
28
+ worker
29
+ timeout
30
+ }
31
+ }
32
+ ${i.f}
33
+ `;e.s(["k",0,n,"U",0,({workId:e=null,...t})=>{let{customProperties:i}=(0,s.f)(),{data:a,loading:l,error:o,previousData:d}=(0,r.f)(n(i?.Work),{skip:!e,variables:{workId:e},...t});return{work:a?.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(["f",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(["f",0,s],25575)},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={},n=0,a={};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||(n=this._config.quoteChar||'"',t=this._handle.guessLineEndings(e,n)),e=[...e.split(t).slice(i)].join(t)}this.isFirstChunk&&w(this._config.beforeFirstChunk)&&void 0!==(n=this._config.beforeFirstChunk(e))&&(e=n),this.isFirstChunk=!1,this._halted=!1;var i=this._partialLine+e,n=(this._partialLine="",this._handle.parse(i,this._baseIndex,!this._finished));if(!this._handle.paused()&&!this._handle.aborted()){if(e=n.meta.cursor,this._finished||(this._partialLine=i.substring(e-this._baseIndex),this._baseIndex=e),n&&n.data&&(this._rowCount+=n.data.length),i=this._finished||this._config.preview&&this._rowCount>=this._config.preview,s)t.postMessage({results:n,workerId:a.WORKER_ID,finished:i});else if(w(this._config.chunk)&&!r){if(this._config.chunk(n,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);this._completeResults=n=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(n.data),this._completeResults.errors=this._completeResults.errors.concat(n.errors),this._completeResults.meta=n.meta),this._completed||!i||!w(this._config.complete)||n&&n.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),i||n&&n.meta.paused||this._nextChunk(),n}this._halted=!0},this._sendError=function(e){w(this._config.error)?this._config.error(e):s&&this._config.error&&t.postMessage({workerId:a.WORKER_ID,error:e,finished:!1})}}function d(e){var t;(e=e||{}).chunkSize||(e.chunkSize=a.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=_(this._chunkLoaded,this),t.onerror=_(this._chunkError,this)),t.ontimeout=_(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=a.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=_(this._chunkLoaded,this),t.onerror=_(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=_(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=_(function(e){this._streamCleanUp(),this._sendError(e)},this),this._streamEnd=_(function(){this._streamCleanUp(),s=!0,this._streamData("")},this),this._streamCleanUp=_(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,n=/^\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 '"+a.DefaultDelimiter+"'"),s=!1),e.skipEmptyLines&&(g.data=g.data.filter(function(e){return!x(e)})),_()){if(g)if(Array.isArray(g.data[0])){for(var t,r=0;_()&&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 a=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(n.test(e)&&-0x20000000000000<(e=parseFloat(e))&&e<0x20000000000000)return 1})(r)?parseFloat(r):l.test(r)?new Date(r):""===r?null:r):r)(a=e.header?i>=f.length?"__parsed_extra":f[i]:a,o=e.transform?e.transform(o,a):o);"__parsed_extra"===a?(s[a]=s[a]||[],s[a].push(o)):s[a]=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 _(){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,_()?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,n,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,n)=>{var l,o,d,u;n=n||[","," ","|",";",a.RECORD_SEP,a.UNIT_SEP];for(var c=0;c<n.length;c++){for(var h,f=n[c],p=0,g=0,b=0,y=(d=void 0,new m({comments:i,delimiter:f,newline:r,preview:10}).parse(t)),_=0;_<y.data.length;_++)s&&x(y.data[_])?b++:(g+=h=y.data[_].length,void 0===d?d=h:0<h&&(p+=Math.abs(h-d),d=h));0<y.data.length&&(g/=y.data.length-b),1.99<g&&(void 0===o||p<o||p===o&&u<g)&&(o=p,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=a.DefaultDelimiter),g.meta.delimiter=e.delimiter),y(e));return o.header=_(),e.preview&&e.header&&o.preview++,t=i,g=(r=new m(o)).parse(t,n,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(p(t)+"([^]*?)"+p(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 p(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function m(e){var t=(e=e||{}).delimiter,r=e.newline,s=e.comments,i=e.step,n=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<a.BAD_DELIMITERS.indexOf(t))&&(t=","),s===t)throw Error("Comment character same as delimiter");!0===s?s="#":("string"!=typeof s||-1<a.BAD_DELIMITERS.indexOf(s))&&(s=!1),"\n"!==r&&"\r"!==r&&"\r\n"!==r&&(r="\n");var f=0,m=!1;this.parse=function(a,g,x){if("string"!=typeof a)throw Error("Input must be a string");var b=a.length,y=t.length,_=r.length,v=s.length,k=w(i),C=[],j=[],E=[],R=f=0;if(!a)return z();if(o||!1!==o&&-1===a.indexOf(c)){for(var S=a.split(r),N=0;N<S.length;N++){if(E=S[N],f+=E.length,N!==S.length-1)f+=r.length;else if(x)break;if(!s||E.substring(0,v)!==s){if(k){if(C=[],M(E.split(t)),q(),m)return z()}else M(E.split(t));if(n&&n<=N)return C=C.slice(0,n),z(!0)}}return z()}for(var O=a.indexOf(t,f),I=a.indexOf(r,f),L=RegExp(p(h)+p(c),"g"),T=a.indexOf(c,f);;)if(a[f]===c)for(T=f,f++;;){if(-1===(T=a.indexOf(c,T+1)))return x||j.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:C.length,index:f}),F();if(T===b-1)return F(a.substring(f,T).replace(L,c));if(c===h&&a[T+1]===h)T++;else if(c===h||0===T||a[T-1]!==h){-1!==O&&O<T+1&&(O=a.indexOf(t,T+1));var A=D(-1===(I=-1!==I&&I<T+1?a.indexOf(r,T+1):I)?O:Math.min(O,I));if(a.substr(T+1+A,y)===t){E.push(a.substring(f,T).replace(L,c)),a[f=T+1+A+y]!==c&&(T=a.indexOf(c,f)),-1!==O&&O<f&&(O=a.indexOf(t,f)),-1!==I&&I<f&&(I=a.indexOf(r,f));break}if(A=D(I),a.substring(T+1+A,T+1+A+_)===r){if(E.push(a.substring(f,T).replace(L,c)),U(T+1+A+_),-1!==O&&O<f&&(O=a.indexOf(t,f)),T=a.indexOf(c,f),k&&(q(),m))return z();if(n&&C.length>=n)return z(!0);break}j.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:C.length,index:f}),T++}}else if(s&&0===E.length&&a.substring(f,f+v)===s){if(-1===I)return z();f=I+_,I=a.indexOf(r,f),-1!==O&&O<f&&(O=a.indexOf(t,f))}else if(-1!==O&&(O<I||-1===I))E.push(a.substring(f,O)),f=O+y,O=a.indexOf(t,f);else{if(-1===I)break;if(E.push(a.substring(f,I)),U(I+_),k&&(q(),m))return z();if(n&&C.length>=n)return z(!0)}return F();function M(e){C.push(e),R=f}function D(e){return -1!==e&&(e=a.substring(T+1,e))&&""===e.trim()?e.length:0}function F(e){return x||(void 0===e&&(e=a.substring(f)),E.push(e),f=b,M(E),k&&q()),z()}function U(e){f=e,M(E),E=[],I=a.indexOf(r,f)}function z(s){if(e.header&&!g&&C.length&&!u){var i=C[0],n=Object.create(null),a=new Set(i);let t=!1;for(let r=0;r<i.length;r++){let s=l(i[r]);if(n[s=w(e.transformHeader)?e.transformHeader(s,r):s]){let e,l=n[s];for(;e=s+"_"+l,l++,a.has(e););a.add(e),i[r]=e,n[s]++,t=!0,(d=null===d?{}:d)[e]=s}else n[s]=1,i[r]=s;a.add(s)}t&&console.warn("Duplicate headers found and renamed."),u=!0}return{data:C,errors:j,meta:{delimiter:t,linebreak:r,aborted:m,truncated:!!s,cursor:R+(g||0),renamedHeaders:d}}}function q(){i(z()),C=[],j=[]}},this.abort=function(){m=!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 n={abort:function(){s=!0,x(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:b,resume:b};if(w(r.userStep)){for(var a=0;a<t.results.data.length&&(r.userStep({data:t.results.data[a],errors:t.results.errors,meta:t.results.meta},n),!s);a++);delete t.results}else w(r.userChunk)&&(r.userChunk(t.results,n,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 _(e,t){return function(){e.apply(t,arguments)}}function w(e){return"function"==typeof e}return a.parse=function(r,s){var o,f,p,m=(s=s||{}).dynamicTyping||!1;if(w(m)&&(s.dynamicTypingFunction=m,m={}),s.dynamicTyping=m,s.transform=!!w(s.transform)&&s.transform,void 0!==s.downloadTimeout){var m=parseInt(s.downloadTimeout);if(isNaN(m))throw Error("Config downloadTimeout value ("+s.downloadTimeout+") not parsable by parseInt(val).");s.downloadTimeout=m}if(!s.worker||!a.WORKERS_SUPPORTED)return m=null,a.NODE_STREAM_INPUT,"string"==typeof r?(r=l(r),m=new(s.download?d:c)(s)):!0===r.readable&&w(r.read)&&w(r.on)?m=new h(s):(t.File&&r instanceof File||r instanceof Object)&&(m=new u(s)),m.stream(r);(m=!!a.WORKERS_SUPPORTED&&(f=t.URL||t.webkitURL||null,p=e.toString(),o=a.BLOB_URL||(a.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; ","(",p,")();"],{type:"text/javascript"}))),(o=new t.Worker(o)).onmessage=g,o.id=n++,i[o.id]=o)).userStep=s.step,m.userChunk=s.chunk,m.userComplete=s.complete,m.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,m.postMessage({input:r,config:s,workerId:m.id})},a.unparse=function(e,t){var r=!1,s=!0,i=",",n="\r\n",l='"',o=l+l,d=!1,u=null,c=!1,h=((()=>{if("object"==typeof t){if("string"!=typeof t.delimiter||a.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&&(n=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(p(l),"g"));if("string"==typeof e&&(e=JSON.parse(e)),Array.isArray(e)){if(!e.length)return f(u,e,d);if(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 a="",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&&(a+=i),a+=m(e[d],d);0<t.length&&(a+=n)}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&&(null==t[u][0]||0===t[u][0].length)),"greedy"===r&&l){for(var p=[],g=0;g<c;g++){var x=o?e[g]:g;p.push(t[u][x])}h=""===p.join("").trim()}if(!h){for(var b=0;b<c;b++){0<b&&!f&&(a+=i);var y=l&&o?e[b]:b;a+=m(t[u][y],b)}u<t.length-1&&(!r||0<c&&!f)&&(a+=n)}}return a}function m(e,t){var s,n,d;return null==e?"":e.constructor===Date?isNaN(e.getTime())?"":e.toISOString():(d=!1,s=e.toString(),c&&"number"!=typeof e&&"bigint"!=typeof e&&"boolean"!=typeof e&&c.test(s)&&(e=s="'"+s,d=!0),n=s.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})(n,a.BAD_DELIMITERS)||-1<n.indexOf(i)||-1<s.indexOf(l)||" "===n.charAt(0)||" "===n.charAt(n.length-1))?l+n+l:n)}},a.RECORD_SEP="\x1e",a.UNIT_SEP="\x1f",a.BYTE_ORDER_MARK="\uFEFF",a.BAD_DELIMITERS=["\r","\n",'"',a.BYTE_ORDER_MARK],a.WORKERS_SUPPORTED=!r&&!!t.Worker,a.NODE_STREAM_INPUT=1,a.LocalChunkSize=0xa00000,a.RemoteChunkSize=5242880,a.DefaultDelimiter=",",a.Parser=m,a.ParserHandle=f,a.NetworkStreamer=d,a.FileStreamer=u,a.StringStreamer=c,a.ReadableStreamStreamer=h,s&&(t.onmessage=function(e){e=e.data,void 0===a.WORKER_ID&&e&&(a.WORKER_ID=e.workerId),"string"==typeof e.input?t.postMessage({workerId:a.WORKER_ID,results:a.parse(e.input,e.config),finished:!0}):(t.File&&e.input instanceof File||e.input instanceof Object)&&(e=a.parse(e.input,e.config))&&t.postMessage({workerId:a.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,a},"function"==typeof define&&define.amd?void 0!==(i=s())&&e.v(i):t.exports=s()}]);
@@ -1 +1 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,28805,e=>{e.v(e=>Promise.resolve().then(()=>e(79466)))},48761,e=>{e.v(o=>Promise.all(["static/chunks/1os6pvhjeb16o.js"].map(o=>e.l(o))).then(()=>o(93594)))}]);
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,28805,e=>{e.v(e=>Promise.resolve().then(()=>e(79466)))},48761,e=>{e.v(o=>Promise.all(["static/chunks/09irjy-7k1922.js"].map(o=>e.l(o))).then(()=>o(93594)))}]);