@unchainedshop/admin-ui 4.6.0 → 4.6.1

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 (445) hide show
  1. package/out/403/index.html +2 -2
  2. package/out/404/index.html +2 -2
  3. package/out/404.html +2 -2
  4. package/out/423/index.html +2 -2
  5. package/out/500/index.html +2 -2
  6. package/out/_next/static/{N9Z2SsJs2tDfugfSzn0XU → 4R4_FCxNxvZw_XAhRC-kA}/_buildManifest.js +65 -61
  7. package/out/_next/static/chunks/003e4643471c4b6d.js +21 -0
  8. package/out/_next/static/chunks/{4834ec6ac33c6774.js → 00a3bff2b270c318.js} +2 -2
  9. package/out/_next/static/chunks/{48b67c3254c9af38.js → 049e8a5a6c3a9d56.js} +1 -1
  10. package/out/_next/static/chunks/{3668ae67081a69e3.js → 082ab3a1f1910856.js} +2 -2
  11. package/out/_next/static/chunks/091e9b99a2eb4b4e.js +471 -0
  12. package/out/_next/static/chunks/{4a41bb5444629faa.js → 0a7036066d4a9367.js} +1 -1
  13. package/out/_next/static/chunks/0ad72aeb247a93bf.js +18 -0
  14. package/out/_next/static/chunks/0b7e2dbf3863e501.js +8 -0
  15. package/out/_next/static/chunks/0f06fb41ae902fcd.js +10 -0
  16. package/out/_next/static/chunks/{398be80b131c086b.js → 0fd902fb3a6a2a69.js} +1 -1
  17. package/out/_next/static/chunks/{17a51698889f206f.js → 12587eb03cc97bcb.js} +4 -4
  18. package/out/_next/static/chunks/16b2a124e3ca7825.js +138 -0
  19. package/out/_next/static/chunks/1b6a09f9c0315b52.js +14 -0
  20. package/out/_next/static/chunks/1bc1cb9b0dc7ee81.js +2 -0
  21. package/out/_next/static/chunks/1d815b4154fd879c.js +1 -0
  22. package/out/_next/static/chunks/1ebef8e9f85897de.js +11 -0
  23. package/out/_next/static/chunks/{76526584207a694c.js → 1f337f1bc5e40b3e.js} +2 -2
  24. package/out/_next/static/chunks/230c65a06bfca8bc.js +16 -0
  25. package/out/_next/static/chunks/23101ef3fba29d4c.js +291 -0
  26. package/out/_next/static/chunks/23267f72d4c677bd.js +13 -0
  27. package/out/_next/static/chunks/{fbde3f4a69691196.js → 2426adb87b9bc198.js} +1 -1
  28. package/out/_next/static/chunks/25e9bc627fb3a5e2.js +15 -0
  29. package/out/_next/static/chunks/2d4fd5e1ddff0d8a.js +12 -0
  30. package/out/_next/static/chunks/2f7504bae6a09e6d.js +137 -0
  31. package/out/_next/static/chunks/2fa4365353bc832c.js +14 -0
  32. package/out/_next/static/chunks/30811fbbe997036e.js +144 -0
  33. package/out/_next/static/chunks/{7ddea44a67e3f4d2.js → 320cc644938eb6e3.js} +63 -63
  34. package/out/_next/static/chunks/34d8d6ba548e747a.js +46 -0
  35. package/out/_next/static/chunks/{b2717f6b4d13c00d.js → 3571c6e41584dddf.js} +1 -1
  36. package/out/_next/static/chunks/366c06d5edeeb6fc.js +13 -0
  37. package/out/_next/static/chunks/37e7709afcc90bb6.js +18 -0
  38. package/out/_next/static/chunks/{2d06af75ece8bc6d.js → 3980f673ad8c46eb.js} +3 -3
  39. package/out/_next/static/chunks/3a0cdb3b15998b6b.js +132 -0
  40. package/out/_next/static/chunks/3a107da8db4a419b.js +15 -0
  41. package/out/_next/static/chunks/3b5b960ec3c1dde2.js +73 -0
  42. package/out/_next/static/chunks/3d2bb44387b00d5f.js +22 -0
  43. package/out/_next/static/chunks/3f7d99a0cc76b497.js +12 -0
  44. package/out/_next/static/chunks/41525e4f40bff529.js +1 -0
  45. package/out/_next/static/chunks/4175d4b789ee44f3.js +10 -0
  46. package/out/_next/static/chunks/{cf023c047bfe3172.js → 421841bb42afc4be.js} +1 -1
  47. package/out/_next/static/chunks/{e08282f87c28d042.js → 422ee02a73e2338c.js} +26 -26
  48. package/out/_next/static/chunks/430a267b2d2f8d93.js +13 -0
  49. package/out/_next/static/chunks/{04be98027a2dc21d.js → 43ad9ee279363e7e.js} +2 -2
  50. package/out/_next/static/chunks/{cbced7e18621ef67.js → 444b5e10046fd993.js} +1 -1
  51. package/out/_next/static/chunks/{777412be81d9c33a.js → 47c0f532d8c0a50a.js} +1 -1
  52. package/out/_next/static/chunks/{2562397db3d3cad1.js → 48cce04f287c76fa.js} +2 -2
  53. package/out/_next/static/chunks/48d6a1be6d38f646.js +20 -0
  54. package/out/_next/static/chunks/492e9e9f81a4d037.js +23 -0
  55. package/out/_next/static/chunks/{ad8739afcbc536aa.js → 493f4e686d795f12.js} +2 -2
  56. package/out/_next/static/chunks/496d5d6ec78ca987.js +15 -0
  57. package/out/_next/static/chunks/4a30096edae6e148.js +81 -0
  58. package/out/_next/static/chunks/{a58247d14a314bda.js → 4b8061a707740e7d.js} +1 -1
  59. package/out/_next/static/chunks/4dfd973aa778e2bf.js +58 -0
  60. package/out/_next/static/chunks/4e48099ef87e5231.js +71 -0
  61. package/out/_next/static/chunks/{06b009dc933923df.js → 50453ce161d2e3c3.js} +4 -4
  62. package/out/_next/static/chunks/{af772d006fb559cc.js → 516c5d42838b20d4.js} +4 -4
  63. package/out/_next/static/chunks/524d043bdc9c45ed.js +111 -0
  64. package/out/_next/static/chunks/{0ed1db1732820209.js → 52bb95ecf48dacae.js} +3 -3
  65. package/out/_next/static/chunks/{180f19d81c896a56.js → 53180c77bf1bc739.js} +1 -1
  66. package/out/_next/static/chunks/53f314409521f64c.js +22 -0
  67. package/out/_next/static/chunks/5458003fdf33a49b.js +15 -0
  68. package/out/_next/static/chunks/{fe2b44ca7d9077b4.js → 553875c3687ce56b.js} +1 -1
  69. package/out/_next/static/chunks/579afb023750d2b5.js +8 -0
  70. package/out/_next/static/chunks/589ba731744b3bbb.js +1 -0
  71. package/out/_next/static/chunks/5a3b1caa9eeb3264.js +14 -0
  72. package/out/_next/static/chunks/{5e61314918ab1901.js → 5a4b1b68dccec912.js} +2 -2
  73. package/out/_next/static/chunks/5cc2513eaf268333.js +1 -0
  74. package/out/_next/static/chunks/5cd7bb2ff39b4594.js +1 -0
  75. package/out/_next/static/chunks/5e77dd248b5c9c6e.js +173 -0
  76. package/out/_next/static/chunks/6061aff66cb8e709.js +15 -0
  77. package/out/_next/static/chunks/606e549a9660bede.js +2 -0
  78. package/out/_next/static/chunks/{380087a616841542.js → 618f3339425a898e.js} +26 -26
  79. package/out/_next/static/chunks/62a88d1ec189f445.js +12 -0
  80. package/out/_next/static/chunks/67c5ce5ec36405ab.css +1 -0
  81. package/out/_next/static/chunks/{c9d2f92c023061f0.js → 69f004bf74f62380.js} +3 -3
  82. package/out/_next/static/chunks/6a24d3e3f430cd09.js +16 -0
  83. package/out/_next/static/chunks/6c5066831a22f782.js +14 -0
  84. package/out/_next/static/chunks/6d471cc5cbfa0173.js +11 -0
  85. package/out/_next/static/chunks/{d213dac8d0245238.js → 6df21a55398055b0.js} +1 -1
  86. package/out/_next/static/chunks/73bc11b01d76757c.js +101 -0
  87. package/out/_next/static/chunks/{8907db8e040efe5d.js → 74ec0d0eb52c7474.js} +3 -3
  88. package/out/_next/static/chunks/{de50b6fcd131b622.js → 75a0fa46e6b13f37.js} +1 -1
  89. package/out/_next/static/chunks/76cf755a9c8274a3.js +3 -0
  90. package/out/_next/static/chunks/782497c760b6c976.js +346 -0
  91. package/out/_next/static/chunks/79e63c78f38fd3b6.js +14 -0
  92. package/out/_next/static/chunks/{f332652322d66970.js → 7c2724c66cfbad91.js} +1 -1
  93. package/out/_next/static/chunks/{3d870a0e339f83b1.js → 7cefd616b1b6df16.js} +55 -104
  94. package/out/_next/static/chunks/7f2811f0564c94c7.js +7 -0
  95. package/out/_next/static/chunks/{61794d8ca01e79e1.js → 8021998b05fc1e49.js} +1 -1
  96. package/out/_next/static/chunks/806fc56704287b43.js +90 -0
  97. package/out/_next/static/chunks/82410cc6bb9b907a.js +16 -0
  98. package/out/_next/static/chunks/824852d3d8f348c7.js +13 -0
  99. package/out/_next/static/chunks/82d7e55df083b141.js +50 -0
  100. package/out/_next/static/chunks/{310f57d562073c82.js → 8304045a8e3301e6.js} +2 -2
  101. package/out/_next/static/chunks/83df95a61ab53e0a.js +209 -0
  102. package/out/_next/static/chunks/{1bb121543a6f1fbf.js → 841860da43e74da5.js} +1 -1
  103. package/out/_next/static/chunks/{80d9123c9f3abb30.js → 8592c150370d9363.js} +1 -1
  104. package/out/_next/static/chunks/86a36c145cb81685.js +100 -0
  105. package/out/_next/static/chunks/887c7cdc7d9c3616.js +1 -0
  106. package/out/_next/static/chunks/88af33f57c0d6bbb.js +1 -0
  107. package/out/_next/static/chunks/{bea7d18bcfa278cc.js → 8a7c6e309feb454f.js} +2 -2
  108. package/out/_next/static/chunks/8ae22de32e4a9fae.js +15 -0
  109. package/out/_next/static/chunks/8bf50a7a16de5432.js +61 -0
  110. package/out/_next/static/chunks/8da435d94b20224d.js +2 -0
  111. package/out/_next/static/chunks/8eb8aa4dbd1e97a4.js +1 -0
  112. package/out/_next/static/chunks/{5bcace73a8d9c6b0.js → 8f72aca434354e4f.js} +1 -1
  113. package/out/_next/static/chunks/8f8a42fc3a658f09.js +12 -0
  114. package/out/_next/static/chunks/911216b37df068f0.js +50 -0
  115. package/out/_next/static/chunks/{5573e42eb3314f57.js → 92692394d04be049.js} +1 -1
  116. package/out/_next/static/chunks/93ed26ea1ec243f1.js +13 -0
  117. package/out/_next/static/chunks/965bdf7743261653.js +5 -0
  118. package/out/_next/static/chunks/96a8ab43b5c5ad72.js +88 -0
  119. package/out/_next/static/chunks/{5763a0bcd3a13fa1.js → 9c09e6f647753146.js} +2 -2
  120. package/out/_next/static/chunks/{c511954c023d8fa5.js → 9c4a3a5a42cb8c43.js} +1 -1
  121. package/out/_next/static/chunks/9e593024fd72713f.js +61 -0
  122. package/out/_next/static/chunks/9ebdb9c036427c47.js +101 -0
  123. package/out/_next/static/chunks/{056c259617500a97.js → a07ce58daa89e354.js} +27 -27
  124. package/out/_next/static/chunks/a087355d78d2d46f.js +12 -0
  125. package/out/_next/static/chunks/a175c6579466cb96.js +8 -0
  126. package/out/_next/static/chunks/a1dd19867fc87c86.js +13 -0
  127. package/out/_next/static/chunks/a22c73115bbddb45.js +178 -0
  128. package/out/_next/static/chunks/a27b5df48cc1079b.js +324 -0
  129. package/out/_next/static/chunks/{2e1c75c452faae18.js → a39e40fa902e805e.js} +1 -1
  130. package/out/_next/static/chunks/a6a7cc6fba4cec34.js +20 -0
  131. package/out/_next/static/chunks/{12a85d4b9d6ed551.js → a7d8e15e4c6d1bb1.js} +11 -11
  132. package/out/_next/static/chunks/a7f103304201f44c.js +13 -0
  133. package/out/_next/static/chunks/{b22405aa65784fd1.js → a9623ad9095aa999.js} +2 -2
  134. package/out/_next/static/chunks/{08687e11efcba80d.js → aac8a0823d648ca4.js} +1 -1
  135. package/out/_next/static/chunks/{8cf6faffdff55492.js → ac1c0ce88d042d7b.js} +1 -1
  136. package/out/_next/static/chunks/{90989afd6f01d777.js → acbe507f9726578c.js} +1 -1
  137. package/out/_next/static/chunks/b1a25137954ecd81.js +15 -0
  138. package/out/_next/static/chunks/b1a365ae2ffa2d37.js +119 -0
  139. package/out/_next/static/chunks/b3137685555456c4.js +15 -0
  140. package/out/_next/static/chunks/b34678e690fcfd4f.js +13 -0
  141. package/out/_next/static/chunks/{d2a4c6262906cb68.js → b350bfa1b158d540.js} +1 -1
  142. package/out/_next/static/chunks/b46b07c553cbd014.js +1 -0
  143. package/out/_next/static/chunks/b4cfa7043c712110.js +13 -0
  144. package/out/_next/static/chunks/b6b0b82bf30ff269.js +19 -0
  145. package/out/_next/static/chunks/{7260c9ed446105c3.js → b86a988d652c1002.js} +2 -2
  146. package/out/_next/static/chunks/{d4e8f53e7a153ebf.js → b930222155336289.js} +62 -62
  147. package/out/_next/static/chunks/bb1f412e19d5fba0.js +16 -0
  148. package/out/_next/static/chunks/bc0e85787385345f.js +51 -0
  149. package/out/_next/static/chunks/bdbe2f0a93d5ccae.js +15 -0
  150. package/out/_next/static/chunks/be93f89956f05503.js +13 -0
  151. package/out/_next/static/chunks/bedb956d1ff325cf.js +13 -0
  152. package/out/_next/static/chunks/c10ab1c4641d1475.js +71 -0
  153. package/out/_next/static/chunks/c1c797c58bf2bcf3.js +14 -0
  154. package/out/_next/static/chunks/c61c8afe3f048af0.js +12 -0
  155. package/out/_next/static/chunks/{d82feacfdc37ffc6.js → c844b9d8b2ef3845.js} +2 -2
  156. package/out/_next/static/chunks/ca1b851b74352f08.js +13 -0
  157. package/out/_next/static/chunks/{7a4db36836cf15f9.js → ca6824e16bd47f68.js} +2 -2
  158. package/out/_next/static/chunks/{c4eaa6f8c3f94ce6.js → ca96c6c93bc5b9ff.js} +1 -1
  159. package/out/_next/static/chunks/{3a32c0d7bf016b19.js → cac184fdec7f8092.js} +2 -2
  160. package/out/_next/static/chunks/{a82b5e0a9fd2af1b.js → ccb6281db9301492.js} +1 -1
  161. package/out/_next/static/chunks/cf22bd7f999c9730.js +1 -0
  162. package/out/_next/static/chunks/cfcd9d675f3e604d.js +44 -0
  163. package/out/_next/static/chunks/da2c8907ba5046b3.js +13 -0
  164. package/out/_next/static/chunks/db033daf6f68cb06.js +12 -0
  165. package/out/_next/static/chunks/{b6446a534a83781d.js → db1309e70ffab17a.js} +27 -27
  166. package/out/_next/static/chunks/dc7555e46dfd342f.js +14 -0
  167. package/out/_next/static/chunks/{3c247fb4b62a4c6a.js → dfdf133aa9e1b8e1.js} +2 -2
  168. package/out/_next/static/chunks/{f0b4a38f0b700d5b.js → e0fce858df0b1e41.js} +1 -1
  169. package/out/_next/static/chunks/e1d1e16230797849.js +54 -0
  170. package/out/_next/static/chunks/e20c34f4033050f9.js +8 -0
  171. package/out/_next/static/chunks/e2832abce178498d.js +10 -0
  172. package/out/_next/static/chunks/{cf751731977de8a7.js → e2ea777b6b52d20c.js} +26 -26
  173. package/out/_next/static/chunks/{13ab0c90930f76c0.js → e4641e550815637f.js} +1 -1
  174. package/out/_next/static/chunks/e47e2b973c14240e.js +60 -0
  175. package/out/_next/static/chunks/e4fba946a6733841.js +15 -0
  176. package/out/_next/static/chunks/{bd7dffcbba9388ce.js → e6e1aeedff08580f.js} +1 -1
  177. package/out/_next/static/chunks/{58df71393b1870e6.js → e8b5e32e38fdac95.js} +2 -2
  178. package/out/_next/static/chunks/e945e00d7cbb3e91.js +288 -0
  179. package/out/_next/static/chunks/{202781ff93ff3a35.js → ea2ae07eeb9e8d90.js} +2 -2
  180. package/out/_next/static/chunks/ebf7a27d045c3278.js +87 -0
  181. package/out/_next/static/chunks/{b195fa15dd90d90d.js → ef3f1c3859f8002a.js} +2 -2
  182. package/out/_next/static/chunks/f0193ab028453217.js +22 -0
  183. package/out/_next/static/chunks/f0da8016bbf55600.js +13 -0
  184. package/out/_next/static/chunks/f0fb0819c8aa562c.js +14 -0
  185. package/out/_next/static/chunks/f23f93c1d2a472c8.js +44 -0
  186. package/out/_next/static/chunks/f4bc4294d572d481.js +14 -0
  187. package/out/_next/static/chunks/f6baf575a2275500.js +12 -0
  188. package/out/_next/static/chunks/{bc4fe1846c66514a.js → fabd4425b0b9469a.js} +1 -1
  189. package/out/_next/static/chunks/fb5053e71935a6b0.js +200 -0
  190. package/out/_next/static/chunks/fbeb41892939ec57.js +12 -0
  191. package/out/_next/static/chunks/fd3a23f57617580c.js +7 -0
  192. package/out/_next/static/chunks/{fe2b047fdc80b492.js → fdced80698bf4fa8.js} +2 -2
  193. package/out/_next/static/chunks/fee55c0e8f07b2bf.js +288 -0
  194. package/out/_next/static/chunks/{70fd8910b0212107.js → ff8cd9737ad8a1f0.js} +2 -2
  195. package/out/_next/static/chunks/{turbopack-a57eed18cbeb25e7.js → turbopack-0623c9eb08d4b277.js} +2 -2
  196. package/out/_next/static/chunks/{turbopack-4b488bf64a2e8dd1.js → turbopack-0f80c36eadf0d553.js} +2 -2
  197. package/out/_next/static/chunks/{turbopack-8003cebb87e02b6f.js → turbopack-1006733c229c0b78.js} +1 -1
  198. package/out/_next/static/chunks/{turbopack-b6ce904246ed7a9f.js → turbopack-126a1eaf861a06f7.js} +1 -1
  199. package/out/_next/static/chunks/{turbopack-2688a09e528b01fb.js → turbopack-1360a18f3afeaa59.js} +2 -2
  200. package/out/_next/static/chunks/{turbopack-f9eebeab42544066.js → turbopack-146cef4c159b7c52.js} +1 -1
  201. package/out/_next/static/chunks/{turbopack-29c231fbc65ef11d.js → turbopack-185a963802bcd371.js} +1 -1
  202. package/out/_next/static/chunks/{turbopack-deaa436e60eccde3.js → turbopack-19f750e47facd406.js} +2 -2
  203. package/out/_next/static/chunks/{turbopack-d8ed8a779ed564d6.js → turbopack-1fd3b236d6272742.js} +1 -1
  204. package/out/_next/static/chunks/{turbopack-f8e4bfb5ec24c06d.js → turbopack-2a7c044c3d0c1dd1.js} +2 -2
  205. package/out/_next/static/chunks/{turbopack-9b182fc4451b5698.js → turbopack-2a8579b8a376099a.js} +2 -2
  206. package/out/_next/static/chunks/turbopack-3033d6cf16df0f09.js +4 -0
  207. package/out/_next/static/chunks/{turbopack-88086a75b1e60f46.js → turbopack-3bfb41ce5f36bb2c.js} +2 -2
  208. package/out/_next/static/chunks/{turbopack-cc20aca40e453b88.js → turbopack-3c4a4525a4b0d520.js} +2 -2
  209. package/out/_next/static/chunks/{turbopack-2abec513e1b0311b.js → turbopack-3f41eb11c51b39a6.js} +1 -1
  210. package/out/_next/static/chunks/turbopack-42920ff855b36fda.js +4 -0
  211. package/out/_next/static/chunks/{turbopack-5f2bcdcaa043728a.js → turbopack-4905d034f67cd1a1.js} +2 -2
  212. package/out/_next/static/chunks/{turbopack-b9cef4be1decb7b2.js → turbopack-4974b1790de5d2cf.js} +1 -1
  213. package/out/_next/static/chunks/{turbopack-897ba35fba678b73.js → turbopack-4e22287de347f2db.js} +2 -2
  214. package/out/_next/static/chunks/{turbopack-dc4b2a768f14c44e.js → turbopack-52809c72270128c0.js} +1 -1
  215. package/out/_next/static/chunks/{turbopack-74fa79f5127116c8.js → turbopack-5321b42731719aa0.js} +2 -2
  216. package/out/_next/static/chunks/{turbopack-11490f589626ae95.js → turbopack-5b2da744ab72f755.js} +2 -2
  217. package/out/_next/static/chunks/{turbopack-4c7477517b52ba68.js → turbopack-5bafa263acf1fcdd.js} +1 -1
  218. package/out/_next/static/chunks/turbopack-5f682bd89a2a6b1f.js +4 -0
  219. package/out/_next/static/chunks/{turbopack-38d6ede5d54f26f2.js → turbopack-6826dba1986b2fbf.js} +2 -2
  220. package/out/_next/static/chunks/{turbopack-d37a5e6c8a834dea.js → turbopack-6a4ed6e7069f7e10.js} +2 -2
  221. package/out/_next/static/chunks/{turbopack-9a2df05b70127c82.js → turbopack-710967a98ea59300.js} +2 -2
  222. package/out/_next/static/chunks/{turbopack-723604d1148e5320.js → turbopack-73460d96f73fcb10.js} +1 -1
  223. package/out/_next/static/chunks/turbopack-780dd2688241a921.js +4 -0
  224. package/out/_next/static/chunks/{turbopack-8a1b19f230ba6880.js → turbopack-7e46a4f2f7de31e4.js} +2 -2
  225. package/out/_next/static/chunks/{turbopack-18c2df6a9c61dcf4.js → turbopack-8064356710e2c5ce.js} +1 -1
  226. package/out/_next/static/chunks/{turbopack-06326531308e420c.js → turbopack-82f9bd6745b5c2e7.js} +2 -2
  227. package/out/_next/static/chunks/{turbopack-5c983e42a1e260e4.js → turbopack-86a21dc378e90952.js} +1 -1
  228. package/out/_next/static/chunks/{turbopack-c44178b57b3e98b5.js → turbopack-8abcb49a46136bce.js} +2 -2
  229. package/out/_next/static/chunks/{turbopack-af20a66dd4bceecf.js → turbopack-8fa5dfca2f9aba0d.js} +2 -2
  230. package/out/_next/static/chunks/turbopack-91682ba005e23133.js +4 -0
  231. package/out/_next/static/chunks/{turbopack-d82b95fbbee71ed9.js → turbopack-97a8d8bca127f2b4.js} +2 -2
  232. package/out/_next/static/chunks/turbopack-991a2fb09f399f2b.js +4 -0
  233. package/out/_next/static/chunks/{turbopack-a7ff96ea75235751.js → turbopack-9a593a4220f4c2d1.js} +2 -2
  234. package/out/_next/static/chunks/{turbopack-671122c54887dc69.js → turbopack-9ec8f39a69795795.js} +1 -1
  235. package/out/_next/static/chunks/{turbopack-8140fe478fb3e120.js → turbopack-b04e0af4044d6261.js} +2 -2
  236. package/out/_next/static/chunks/{turbopack-998a786f942e947d.js → turbopack-b172c723088be417.js} +2 -2
  237. package/out/_next/static/chunks/{turbopack-bf2ca10d6641cd12.js → turbopack-b2ecf59aff5ae247.js} +2 -2
  238. package/out/_next/static/chunks/turbopack-b53ee2b5f29450b7.js +4 -0
  239. package/out/_next/static/chunks/{turbopack-dafa04d793b6860d.js → turbopack-b72ff4afbe7cd2da.js} +2 -2
  240. package/out/_next/static/chunks/{turbopack-f7b7451c68d69b3c.js → turbopack-b92797a413303b84.js} +2 -2
  241. package/out/_next/static/chunks/{turbopack-8ffb67edeb44d982.js → turbopack-bc6ef38f255f0565.js} +2 -2
  242. package/out/_next/static/chunks/{turbopack-439c52b77980c4c7.js → turbopack-c132ce116b7a155e.js} +2 -2
  243. package/out/_next/static/chunks/turbopack-c3eaf9bdf8d35529.js +4 -0
  244. package/out/_next/static/chunks/{turbopack-6d75f05ddacb7da2.js → turbopack-c55dd47b1f30d574.js} +2 -2
  245. package/out/_next/static/chunks/{turbopack-f67c925e56a43b50.js → turbopack-c7ea64a67495a61b.js} +1 -1
  246. package/out/_next/static/chunks/{turbopack-4ad063e3cbffc00c.js → turbopack-d3f046679e950cd0.js} +2 -2
  247. package/out/_next/static/chunks/{turbopack-a0ba8198cae7c432.js → turbopack-d490f12f1c65a699.js} +1 -1
  248. package/out/_next/static/chunks/turbopack-dbdca539895a8c69.js +4 -0
  249. package/out/_next/static/chunks/turbopack-e31824c793acf7f6.js +4 -0
  250. package/out/_next/static/chunks/{turbopack-c8e973d3b138f742.js → turbopack-e4a27de85ef4882c.js} +2 -2
  251. package/out/_next/static/chunks/{turbopack-c51548c040a966c5.js → turbopack-eecfbdbd2d6c682f.js} +2 -2
  252. package/out/_next/static/chunks/{turbopack-41573d526c4a948a.js → turbopack-f3e96a11b3f0e45b.js} +2 -2
  253. package/out/_next/static/chunks/{turbopack-203d6803feb3c33a.js → turbopack-f4ac8216346ac3ed.js} +2 -2
  254. package/out/_next/static/chunks/{turbopack-2f20f676ac5b125b.js → turbopack-f6c1e6a0168fae1b.js} +2 -2
  255. package/out/_next/static/chunks/{turbopack-369a26cc44caef3b.js → turbopack-f6efade6bac7735f.js} +1 -1
  256. package/out/_next/static/chunks/turbopack-f9405d5d3d28bb89.js +4 -0
  257. package/out/_next/static/chunks/{turbopack-d34b6cf8960cacf6.js → turbopack-fc2efafe768d9e9e.js} +2 -2
  258. package/out/_offline/index.html +2 -2
  259. package/out/account/forgot-password/index.html +2 -2
  260. package/out/account/index.html +2 -2
  261. package/out/assortments/AssortmentDetailPage/index.html +2 -2
  262. package/out/assortments/index.html +2 -2
  263. package/out/assortments/new/index.html +2 -2
  264. package/out/copilot/index.html +2 -2
  265. package/out/country/CountryDetailPage/index.html +2 -2
  266. package/out/country/index.html +2 -2
  267. package/out/country/new/index.html +2 -2
  268. package/out/currency/CurrencyDetailPage/index.html +2 -2
  269. package/out/currency/index.html +2 -2
  270. package/out/currency/new/index.html +2 -2
  271. package/out/delivery-provider/DeliveryProviderDetailPage/index.html +2 -2
  272. package/out/delivery-provider/index.html +2 -2
  273. package/out/delivery-provider/new/index.html +2 -2
  274. package/out/enrollments/EnrollmentDetailPage/index.html +2 -2
  275. package/out/enrollments/index.html +2 -2
  276. package/out/events/EventDetailPage/index.html +2 -2
  277. package/out/events/index.html +2 -2
  278. package/out/exports/index.html +11 -0
  279. package/out/external/index.html +2 -2
  280. package/out/filters/FilterDetailPage/index.html +2 -2
  281. package/out/filters/index.html +2 -2
  282. package/out/filters/new/index.html +2 -2
  283. package/out/index.html +2 -2
  284. package/out/install/index.html +2 -2
  285. package/out/language/LanguageDetailPage/index.html +2 -2
  286. package/out/language/index.html +2 -2
  287. package/out/language/new/index.html +2 -2
  288. package/out/log-in/index.html +2 -2
  289. package/out/orders/OrderDetailPage/index.html +2 -2
  290. package/out/orders/index.html +2 -2
  291. package/out/payment-provider/PaymentProviderDetailPage/index.html +2 -2
  292. package/out/payment-provider/index.html +2 -2
  293. package/out/payment-provider/new/index.html +2 -2
  294. package/out/products/ProductDetailPage/index.html +2 -2
  295. package/out/products/index.html +2 -2
  296. package/out/products/new/index.html +2 -2
  297. package/out/quotations/QuotationDetailPage/index.html +2 -2
  298. package/out/quotations/index.html +2 -2
  299. package/out/reset-password/index.html +2 -2
  300. package/out/sign-up/index.html +2 -2
  301. package/out/styleguide/index.html +2 -2
  302. package/out/tokens/TokenDetailPage/index.html +2 -2
  303. package/out/tokens/index.html +2 -2
  304. package/out/users/UserDetailPage/index.html +2 -2
  305. package/out/users/index.html +2 -2
  306. package/out/users/new/index.html +2 -2
  307. package/out/verify-email/index.html +2 -2
  308. package/out/warehousing-provider/WarehousingProviderDetailPage/index.html +2 -2
  309. package/out/warehousing-provider/index.html +2 -2
  310. package/out/warehousing-provider/new/index.html +2 -2
  311. package/out/works/WorkDetailPage/index.html +2 -2
  312. package/out/works/WorkQueueListView/index.html +2 -2
  313. package/out/works/index.html +2 -2
  314. package/out/works/management/index.html +2 -2
  315. package/package.json +2 -2
  316. package/out/_next/static/chunks/0096b9e4072ea982.js +0 -87
  317. package/out/_next/static/chunks/015a12a268d9d8cc.js +0 -13
  318. package/out/_next/static/chunks/01d02b25e90598b0.js +0 -2
  319. package/out/_next/static/chunks/0411c4be4ed602e6.js +0 -15
  320. package/out/_next/static/chunks/0454a7068dba9e50.js +0 -13
  321. package/out/_next/static/chunks/04f6e2039ed872b5.js +0 -13
  322. package/out/_next/static/chunks/06d6d8bf5f971763.js +0 -23
  323. package/out/_next/static/chunks/08542b2ec00cf886.js +0 -14
  324. package/out/_next/static/chunks/09ba49b4ce40eb8d.js +0 -12
  325. package/out/_next/static/chunks/0a2a08eb8b29ee43.js +0 -1
  326. package/out/_next/static/chunks/10e6f9a219fd2d59.js +0 -324
  327. package/out/_next/static/chunks/115ae5cbbc71c47b.js +0 -13
  328. package/out/_next/static/chunks/11bc210de354e563.js +0 -8
  329. package/out/_next/static/chunks/132a6033de66c4c2.js +0 -11
  330. package/out/_next/static/chunks/1393534a6af8c1bb.js +0 -39
  331. package/out/_next/static/chunks/1ac3c2ecd12b3c68.js +0 -13
  332. package/out/_next/static/chunks/1bfc8f4848828752.js +0 -344
  333. package/out/_next/static/chunks/1c545b91d2677a38.js +0 -260
  334. package/out/_next/static/chunks/1cbc5bab7320d121.js +0 -15
  335. package/out/_next/static/chunks/21e1b4ee63219a13.js +0 -12
  336. package/out/_next/static/chunks/2204d70f62d21522.js +0 -14
  337. package/out/_next/static/chunks/22e9c8414771b45f.js +0 -19
  338. package/out/_next/static/chunks/2d638de705f33182.js +0 -7
  339. package/out/_next/static/chunks/2f00317a0dfc6047.js +0 -10
  340. package/out/_next/static/chunks/2f23acb4a8a11b35.js +0 -44
  341. package/out/_next/static/chunks/2fe9dad1269d21d5.js +0 -214
  342. package/out/_next/static/chunks/311d1921e69f7c93.js +0 -7
  343. package/out/_next/static/chunks/31b59b4652d398c3.js +0 -3
  344. package/out/_next/static/chunks/33f61aeaa072ceb3.js +0 -16
  345. package/out/_next/static/chunks/34d24e57d297f025.js +0 -71
  346. package/out/_next/static/chunks/34df7e31e89a877f.js +0 -178
  347. package/out/_next/static/chunks/362c1460ecd452f0.js +0 -12
  348. package/out/_next/static/chunks/45f599929bd7f34f.js +0 -17
  349. package/out/_next/static/chunks/4e075951daaf40e9.js +0 -11
  350. package/out/_next/static/chunks/4ea20a695596f02c.js +0 -13
  351. package/out/_next/static/chunks/52161e2148039530.js +0 -22
  352. package/out/_next/static/chunks/53f8dde7813ae201.js +0 -119
  353. package/out/_next/static/chunks/578069c46ce13bdb.js +0 -14
  354. package/out/_next/static/chunks/589624f7093b23c5.js +0 -12
  355. package/out/_next/static/chunks/58efb06a97adf57e.js +0 -12
  356. package/out/_next/static/chunks/5a15295537deba19.js +0 -14
  357. package/out/_next/static/chunks/5afccd7f3bb23a0e.js +0 -20
  358. package/out/_next/static/chunks/5b4e690b002be10d.js +0 -101
  359. package/out/_next/static/chunks/5c2c8884164984d7.js +0 -23
  360. package/out/_next/static/chunks/63d4bf210999c12d.js +0 -15
  361. package/out/_next/static/chunks/674d5880aaf4d35e.js +0 -1
  362. package/out/_next/static/chunks/689f229f02e92ca8.js +0 -1
  363. package/out/_next/static/chunks/6a68747a19752b56.js +0 -22
  364. package/out/_next/static/chunks/6cca5ebda40e4477.js +0 -12
  365. package/out/_next/static/chunks/6fdd5525b8653974.js +0 -16
  366. package/out/_next/static/chunks/72d8edce9e613802.js +0 -16
  367. package/out/_next/static/chunks/7a033fad4428e1bc.js +0 -18
  368. package/out/_next/static/chunks/7ac7b6f89a6bb9c1.js +0 -51
  369. package/out/_next/static/chunks/7af6bc3590a522e4.js +0 -288
  370. package/out/_next/static/chunks/7ca7a803a8676541.js +0 -16
  371. package/out/_next/static/chunks/82599e21825addc9.js +0 -13
  372. package/out/_next/static/chunks/83619aa5695889d1.js +0 -58
  373. package/out/_next/static/chunks/83c4b2c785d33921.js +0 -1
  374. package/out/_next/static/chunks/8624972bdb99a2c8.js +0 -3
  375. package/out/_next/static/chunks/88e592fb9134cd52.js +0 -1
  376. package/out/_next/static/chunks/8a5f559fe8c1c489.js +0 -1
  377. package/out/_next/static/chunks/8b556a74079aba4f.js +0 -15
  378. package/out/_next/static/chunks/8ecf24ee3683d1cf.js +0 -15
  379. package/out/_next/static/chunks/967842635197ec2c.js +0 -8
  380. package/out/_next/static/chunks/9880e45a71e7b384.js +0 -13
  381. package/out/_next/static/chunks/995de591fb28d84b.js +0 -15
  382. package/out/_next/static/chunks/99fee86c1d424573.js +0 -15
  383. package/out/_next/static/chunks/9a9cf63d3876abbe.js +0 -10
  384. package/out/_next/static/chunks/9ce91f70bbd92b8b.js +0 -177
  385. package/out/_next/static/chunks/9f17f97b2086d6b1.js +0 -44
  386. package/out/_next/static/chunks/a66ae6f06537ef1e.js +0 -138
  387. package/out/_next/static/chunks/a70681ab87c1e5ed.js +0 -81
  388. package/out/_next/static/chunks/a8baa1a74b5a4b17.js +0 -3
  389. package/out/_next/static/chunks/a96e3623312d7877.js +0 -21
  390. package/out/_next/static/chunks/b08d768b4e6f0b30.js +0 -14
  391. package/out/_next/static/chunks/b211df15f812738a.js +0 -5
  392. package/out/_next/static/chunks/b31abd650a827ab7.js +0 -15
  393. package/out/_next/static/chunks/b34b4902bf5251c6.js +0 -1
  394. package/out/_next/static/chunks/b35962ad3916f370.js +0 -2
  395. package/out/_next/static/chunks/b4cf38e8cafd15dd.js +0 -3
  396. package/out/_next/static/chunks/b60f1005cfaa1e4d.js +0 -46
  397. package/out/_next/static/chunks/b6529b2854960106.js +0 -50
  398. package/out/_next/static/chunks/b69969599c4851a5.js +0 -54
  399. package/out/_next/static/chunks/b953be094d79c77a.js +0 -471
  400. package/out/_next/static/chunks/ba782714aa359eb3.js +0 -8
  401. package/out/_next/static/chunks/c04e3e14bae51ec0.js +0 -101
  402. package/out/_next/static/chunks/c2dab8d2d4aa1312.js +0 -12
  403. package/out/_next/static/chunks/c2e4e35e8bcfe434.js +0 -15
  404. package/out/_next/static/chunks/c5c35ce15c3a5bbf.js +0 -169
  405. package/out/_next/static/chunks/c7aebf8fb25b9bce.js +0 -16
  406. package/out/_next/static/chunks/c7b2620f6802dc60.js +0 -14
  407. package/out/_next/static/chunks/cb17f9a8eab1a071.js +0 -13
  408. package/out/_next/static/chunks/cb239694ac3b2a02.js +0 -12
  409. package/out/_next/static/chunks/cd972acf52b0c0b5.css +0 -1
  410. package/out/_next/static/chunks/d240afc78f4135a8.js +0 -14
  411. package/out/_next/static/chunks/d2649c1116becc6a.js +0 -13
  412. package/out/_next/static/chunks/d4f23097ae6ffeb8.js +0 -2
  413. package/out/_next/static/chunks/dd41138446700434.js +0 -8
  414. package/out/_next/static/chunks/dd7d77c8e91e2560.js +0 -132
  415. package/out/_next/static/chunks/ddfeca7dae96beb9.js +0 -20
  416. package/out/_next/static/chunks/e1a04f2b988c0127.js +0 -1
  417. package/out/_next/static/chunks/e45b45f51794fc91.js +0 -10
  418. package/out/_next/static/chunks/e7023915d17ccabc.js +0 -61
  419. package/out/_next/static/chunks/e7ae256d74cf1a79.js +0 -14
  420. package/out/_next/static/chunks/e90e3ae24a48fbc3.js +0 -13
  421. package/out/_next/static/chunks/e9e91f3763dfd8e6.js +0 -14
  422. package/out/_next/static/chunks/eab07a9d821cca6e.js +0 -15
  423. package/out/_next/static/chunks/eafd0f7a9dfe11e3.js +0 -2
  424. package/out/_next/static/chunks/eb8d19d35d559572.js +0 -61
  425. package/out/_next/static/chunks/ecbb43b35ec68dca.js +0 -173
  426. package/out/_next/static/chunks/f12fd60740986cd3.js +0 -13
  427. package/out/_next/static/chunks/f2a520d75ef83d66.js +0 -88
  428. package/out/_next/static/chunks/f3bbb6f5cd572aef.js +0 -71
  429. package/out/_next/static/chunks/f47bc797e90a14cd.js +0 -9
  430. package/out/_next/static/chunks/f4da369af633ca2c.js +0 -13
  431. package/out/_next/static/chunks/f62a9768f2112c4d.js +0 -2
  432. package/out/_next/static/chunks/f9369c39c18227dd.js +0 -137
  433. package/out/_next/static/chunks/fac4bb5cc7a79e00.js +0 -110
  434. package/out/_next/static/chunks/turbopack-0b2886eac294208b.js +0 -4
  435. package/out/_next/static/chunks/turbopack-176751ac2097a088.js +0 -4
  436. package/out/_next/static/chunks/turbopack-2665eff1cfad8581.js +0 -4
  437. package/out/_next/static/chunks/turbopack-36db2f05127f624f.js +0 -4
  438. package/out/_next/static/chunks/turbopack-6dc028ecebd94645.js +0 -4
  439. package/out/_next/static/chunks/turbopack-88eb03702be93ae0.js +0 -4
  440. package/out/_next/static/chunks/turbopack-9cc6b7acb7136339.js +0 -4
  441. package/out/_next/static/chunks/turbopack-b356908061e33334.js +0 -4
  442. package/out/_next/static/chunks/turbopack-c3399585cf5c035a.js +0 -4
  443. package/out/_next/static/chunks/turbopack-f58c8e41f737271a.js +0 -4
  444. /package/out/_next/static/{N9Z2SsJs2tDfugfSzn0XU → 4R4_FCxNxvZw_XAhRC-kA}/_clientMiddlewareManifest.json +0 -0
  445. /package/out/_next/static/{N9Z2SsJs2tDfugfSzn0XU → 4R4_FCxNxvZw_XAhRC-kA}/_ssgManifest.js +0 -0
@@ -0,0 +1,58 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,12442,e=>{"use strict";var t=e.i(69178),s=e.i(1415),a=e.i(13071);let r=(0,s.createContext)(!1);e.s(["FormWrapperContext",0,r,"default",0,({children:e,className:s=""})=>(0,t.jsx)(r.Provider,{value:!0,children:(0,t.jsx)("div",{className:"sm:max-w-full",children:(0,t.jsx)("div",{className:(0,a.default)("bg-white dark:bg-slate-800 rounded-md shadow-sm overflow-hidden",s),children:e})})})])},68686,e=>{"use strict";var t=e.i(69178),s=e.i(13071),a=e.i(19892),r=e.i(4142),l=e.i(88500);e.s(["default",0,({maxLength:e=0,validators:i=[],...d})=>{let o=(0,r.default)({validators:[...i,e&&(0,a.validateMaxLength)(e)],...d});return(0,t.jsx)(l.default,{...o,children:(0,t.jsx)("input",{className:(0,s.default)("relative mt-1 block w-full dark:focus:autofill dark:hover:autofill dark:autofill dark:placeholder:text-slate-600 dark:bg-slate-900 dark:text-slate-200 appearance-none rounded-md border-1 dark:border-slate-700 px-4 py-2.5 text-sm text-slate-900 focus:outline-hidden focus:ring-2 focus:ring-slate-800 shadow-xs",{"border-rose-700 placeholder:text-rose-500":!!o.error,"border-slate-300 placeholder-slate-400":!o.error}),disabled:o.disabled,id:o.name,name:o.name,onChange:o.onChange,onClick:e=>{e.stopPropagation()},onBlur:o.onBlur,placeholder:o.placeholder,autoComplete:o.autoComplete||"off",type:o.type||"text",value:o.value,autoFocus:o.autoFocus})})}])},17362,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a={VALID_LOADERS:function(){return l},imageConfigDefault:function(){return i}};for(var r in a)Object.defineProperty(s,r,{enumerable:!0,get:a[r]});let l=["default","imgix","cloudinary","akamai","custom"],i={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumRedirects:3,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1}},76648,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"ImageConfigContext",{enumerable:!0,get:function(){return l}});let a=e.r(23726)._(e.r(1415)),r=e.r(17362),l=a.default.createContext(r.imageConfigDefault)},90575,19190,e=>{"use strict";var t=e.i(1415);let s=t.default.createContext({customProperties:{},hydrateFragment:(e,t)=>null});e.s(["default",0,s],19190),e.s(["default",0,()=>(0,t.useContext)(s)],90575)},53162,e=>{"use strict";let t=e.i(1415).default.createContext({setModal:()=>{throw Error("No ModalContext/ModalWrapper ancestor found.")}});e.s(["default",0,t])},31891,e=>{"use strict";var t=e.i(1415),s=e.i(53162);e.s(["default",0,()=>(0,t.useContext)(s.default)])},17831,e=>{"use strict";var t=e.i(69178),s=e.i(98183);e.s(["default",0,({onOkClick:e,onCancelClick:a,okText:r=null,cancelText:l=null,headerText:i=null,message:d=null,icon:o=null,close:n=null})=>{let{formatMessage:u}=(0,s.useIntl)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"sm:flex sm:items-start",children:[o||(0,t.jsx)("div",{className:"mx-auto flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-rose-100 dark:bg-rose-900/30 sm:mx-0 sm:h-10 sm:w-10",children:(0,t.jsx)("svg",{className:"h-6 w-6 text-rose-600 dark:text-rose-400",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})})}),(0,t.jsxs)("div",{className:"mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left",children:[(0,t.jsx)("h3",{className:"text-lg text-slate-900 dark:text-slate-200",id:"modal-title",children:i||u({id:"warning",defaultMessage:"Warning!"})}),(0,t.jsx)("div",{className:"mt-2",children:(0,t.jsx)("p",{className:"text-sm text-slate-500 dark:text-slate-200",children:d||u({id:"are_you_sure",defaultMessage:"Are you sure?"})})})]})]}),(0,t.jsxs)("div",{className:"mt-5 sm:mt-4 sm:flex sm:flex-row-reverse",children:[(0,t.jsx)("button",{id:"danger_continue",onClick:e,type:"button",className:"inline-flex w-full justify-center rounded-md border border-transparent bg-rose-600 px-4 py-2 text-base font-medium text-white shadow-xs hover:bg-rose-700 focus:outline-hidden focus:ring-2 focus:ring-rose-500 focus:ring-offset-2 sm:ml-3 sm:w-auto sm:text-sm",children:r||u({id:"continue",defaultMessage:"Continue"})}),(0,t.jsx)("button",{id:"danger_cancel",onClick:a||n,type:"button",className:"mt-3 inline-flex w-full justify-center rounded-md border border-slate-300 bg-white px-4 py-2 text-base font-medium text-slate-700 shadow-xs hover:bg-slate-50 focus:outline-hidden focus:ring-2 focus:ring-slate-800 focus:ring-offset-2 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm",children:l||u({id:"cancel",defaultMessage:"Cancel"})})]})]})}])},69744,e=>{"use strict";var t=e.i(1415);let s=t.forwardRef(function({title:e,titleId:s,...a},r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":s},a),e?t.createElement("title",{id:s},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))});e.s(["XMarkIcon",0,s],69744)},33362,e=>{"use strict";var t=e.i(69178),s=e.i(69744),a=e.i(98183);e.s(["default",0,({onClick:e,text:r=null,Icon:l=null})=>{let{formatMessage:i}=(0,a.useIntl)();return(0,t.jsxs)("button",{type:"button",onClick:e,"aria-describedby":"header-delete-button",className:"inline-flex items-center gap-2 justify-center rounded-md border border-rose-500 px-4 py-2 text-sm font-medium leading-5 text-rose-600 dark:text-rose-200 shadow-sm hover:border-rose-600 hover:bg-rose-600 hover:text-white focus:outline-hidden focus:ring-2 focus:ring-rose-500 focus:ring-offset-2 h-[38px]",children:[(0,t.jsx)("span",{children:l||(0,t.jsx)(s.XMarkIcon,{className:"h-5 w-5"})}),r||i({id:"delete",defaultMessage:"Delete"})]})}])},47822,e=>{"use strict";var t=e.i(69178),s=e.i(13071);e.s(["default",0,({value:e,className:a,onChange:r=()=>{},rows:l=7,...i})=>{let d=Math.max(e?e.split("\n").length:1,l);return(0,t.jsx)("textarea",{className:(0,s.default)("text-black dark:bg-slate-900 dark:text-slate-200 border-transparent border-t border-t-slate-200 dark:border-t-slate-800 resize-y",a),value:e,onChange:r,rows:d,...i})}])},36187,e=>{"use strict";var t=e.i(69178),s=e.i(13071),a=e.i(47822),r=e.i(4142),l=e.i(88500);e.s(["default",0,({validators:e=[],rows:i=10,...d})=>{let o=(0,r.default)({...d,validators:[...e,{isValid:e=>{try{return JSON?.parse(e),!0}catch(e){return!1}},intlMessageDescriptor:{id:"invalid_json_input",defaultMessage:"Invalid JSON input"}}]});return(0,t.jsx)(l.default,{...o,children:(0,t.jsx)(a.default,{className:(0,s.default)("mt-1 block w-full max-w-full rounded-md border-1 border-slate-300 dark:border-slate-800 dark:bg-slate-900 dark:text-slate-200 shadow-xs dark:shadow-none focus:ring-slate-800 sm:text-sm",{"border-rose-300 text-rose-600 focus:border-rose-600 focus:ring-rose-600":!!o.error},d.className),disabled:o.disabled,id:o.name,name:o.name,onChange:e=>{try{JSON.parse(e.target.value||"{}"),o.setError("")}catch(e){o.setError(e.message?.replace("JSON.parse",""))}finally{o.setValue(e.target.value,!0),o.setTouched(!0)}},onBlur:e=>{try{o.setValue(JSON.stringify(JSON.parse(e.target.value),void 0,2),!0),o.setError("")}catch(e){o.setError(e.message)}},placeholder:o.placeholder,autoComplete:o.autoComplete,value:o.value})})}])},95126,e=>{"use strict";var t=e.i(69178),s=e.i(13071),a=e.i(4142),r=e.i(19892),l=e.i(88500);let i=e=>{let t=new Date(e);return isNaN(t.getTime())?null:t.toISOString().split("T")[0]};e.s(["default",0,({validators:e=[],className:d,parseDate:o=i,...n})=>{let u=(0,a.default)({validators:[...e,r.validateDate],...n}),c=u.value?new Date(u.value).toISOString().split("T")[0]:"";return(0,t.jsx)(l.default,{...u,className:n.containerClassName,children:(0,t.jsx)("input",{type:"date",id:u.id,name:u.name,disabled:u.disabled,className:(0,s.default)("relative mt-0 block w-full appearance-none rounded-md rounded-b-md border-1 border-slate-300 dark:border-slate-700 px-4 py-2.5 text-sm text-slate-900 dark:text-slate-200 dark:bg-slate-900 placeholder-slate-400 shadow-xs focus:z-10 focus:outline-hidden focus:ring-2 focus:ring-slate-800",d,{"border-rose-700 placeholder:text-rose-300":!!u.error}),onChange:e=>u.setValue(e.target.value),value:c,placeholder:u.placeholder,autoComplete:"off",...n})})}])},15064,e=>{"use strict";var t=e.i(71983),s=e.i(13699),a=e.i(90575),r=e.i(73517);let l=(e="")=>t.gql`
2
+ query Work($workId: ID!) {
3
+ work(workId: $workId) {
4
+ ...WorkFragment
5
+ ${e}
6
+ error
7
+ priority
8
+ worker
9
+ timeout
10
+ }
11
+ }
12
+ ${r.default}
13
+ `;e.s(["GetWorkQuery",0,l,"default",0,({workId:e=null,...t})=>{let{customProperties:r}=(0,a.default)(),{data:i,loading:d,error:o,previousData:n}=(0,s.useQuery)(l(r?.Work),{skip:!e,variables:{workId:e},...t});return{work:i?.work||n?.work,loading:d,error:o}}])},73517,e=>{"use strict";var t=e.i(71983);let s=t.gql`
14
+ fragment WorkFragment on Work {
15
+ _id
16
+ type
17
+ scheduled
18
+ status
19
+ started
20
+ success
21
+ finished
22
+ created
23
+ deleted
24
+ retries
25
+ original {
26
+ _id
27
+ retries
28
+ }
29
+ input
30
+ result
31
+ }
32
+ `;e.s(["default",0,s])},23222,e=>{"use strict";var t=e.i(71983),s=e.i(13686);let a=t.gql`
33
+ mutation AddWork(
34
+ $type: WorkType!
35
+ $priority: Int! = 0
36
+ $input: JSON
37
+ $originalWorkId: ID
38
+ $scheduled: Timestamp
39
+ $retries: Int! = 20
40
+ ) {
41
+ addWork(
42
+ type: $type
43
+ priority: $priority
44
+ input: $input
45
+ originalWorkId: $originalWorkId
46
+ scheduled: $scheduled
47
+ retries: $retries
48
+ ) {
49
+ _id
50
+ }
51
+ }
52
+ `;e.s(["default",0,()=>{let[e]=(0,s.useMutation)(a);return{addWork:async({type:t,priority:s,input:a,originalWorkId:r,scheduled:l=null,retries:i})=>e({variables:{type:t,priority:s,input:a,originalWorkId:r,scheduled:l,retries:i},refetchQueries:["WorkQueue"]})}}])},79180,81856,52626,e=>{"use strict";var t=e.i(92024),s=e.i(27817),a=e.i(5944),r=e.i(77860),l=e.i(66752),i=e.i(44701),d=e.i(10863),o=e.i(31556);let n=["years","months","weeks","days","hours","minutes","seconds"];e.s(["default",0,()=>({getScheduledTime:e=>{if(!e)return null;let{scheduled:n,status:u,started:c}=e;if("FAILED"===u||"SUCCESS"===u||"DELETED"===u)return null;let m=new Date(n).getTime();if("ALLOCATED"===u||"NEW"===u&&!c){var x;return x={addSuffix:!0},function(e,t,n){let u,c=(0,a.getDefaultOptions)(),m=n?.locale??c.locale??s.defaultLocale,x=(0,d.compareAsc)(e,t);if(isNaN(x))throw RangeError("Invalid time value");let f=Object.assign({},n,{addSuffix:n?.addSuffix,comparison:x}),[h,g]=(0,i.normalizeDates)(n?.in,...x>0?[t,e]:[e,t]),p=(0,r.getRoundingMethod)(n?.roundingMethod??"round"),k=g.getTime()-h.getTime(),w=k/o.millisecondsInMinute,b=(k-((0,l.getTimezoneOffsetInMilliseconds)(g)-(0,l.getTimezoneOffsetInMilliseconds)(h)))/o.millisecondsInMinute,v=n?.unit;if("second"===(u=v||(w<1?"second":w<60?"minute":w<o.minutesInDay?"hour":b<o.minutesInMonth?"day":b<o.minutesInYear?"month":"year"))){let e=p(k/1e3);return m.formatDistance("xSeconds",e,f)}if("minute"===u){let e=p(w);return m.formatDistance("xMinutes",e,f)}if("hour"===u){let e=p(w/60);return m.formatDistance("xHours",e,f)}if("day"===u){let e=p(b/o.minutesInDay);return m.formatDistance("xDays",e,f)}if("month"===u){let e=p(b/o.minutesInMonth);return 12===e&&"month"!==v?m.formatDistance("xYears",1,f):m.formatDistance("xMonths",e,f)}else{let e=p(b/o.minutesInYear);return m.formatDistance("xYears",e,f)}}(m,(0,t.constructFrom)(m,Date.now()),x)}return null},getDuration:e=>{var t,r;let l,i,d,o,u;if(!e)return null;let{started:c,finished:m}=e,x=new Date().getTime();if(!c)return null;let f=null;return t={hours:Number(Math.floor((f=c&&!m?x-new Date(c).getTime():new Date(m).getTime()-new Date(c).getTime())/1e3/60/60)%24),minutes:Number(Math.floor(f/1e3/60)%60),seconds:Number(Math.ceil(f/1e3)%60)},r={zero:!1},l=(0,a.getDefaultOptions)(),i=r?.locale??l.locale??s.defaultLocale,d=r?.format??n,o=r?.zero??!1,u=r?.delimiter??" ",i.formatDistance?d.reduce((e,s)=>{let a=`x${s.replace(/(^.)/,e=>e.toUpperCase())}`,r=t[s];return void 0!==r&&(o||t[s])?e.concat(i.formatDistance(a,r)):e},[]).join(u):""}})],79180);var u=e.i(69178),c=e.i(1415);e.s(["default",0,({text:e,children:t})=>{let[s,a]=(0,c.useState)(!1);return(0,u.jsxs)("div",{className:"relative",children:[(0,u.jsx)("div",{onMouseEnter:()=>{a(!0)},onMouseLeave:()=>{a(!1)},children:t}),s&&(0,u.jsx)("div",{className:"tooltip absolute p-2 bg-slate-700 text-white rounded-lg whitespace-nowrap",children:e})]})}],81856),e.s(["default",0,({work:e,children:t=null})=>e?.original?e?.original?.retries===e?.retries?(0,u.jsxs)("span",{children:[(0,u.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-3 h-3 inline-block text-slate-500 mr-2",children:(0,u.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"})}),t]}):(0,u.jsx)("span",{children:(0,u.jsxs)("span",{children:[(0,u.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-3 h-3 inline-block text-slate-500 mr-2",children:(0,u.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"})}),t,(0,u.jsx)("span",{className:"text-rose-400 text-sm ml-2",children:`${e?.retries} / ${e?.original?.retries}`})]})}):t],52626)},77860,e=>{"use strict";function t(e){return t=>{let s=(e?Math[e]:Math.trunc)(t);return 0===s?0:s}}e.s(["getRoundingMethod",()=>t])},10863,e=>{"use strict";var t=e.i(23317);function s(e,s){let a=(0,t.toDate)(e)-(0,t.toDate)(s);return a<0?-1:a>0?1:a}e.s(["compareAsc",()=>s])},20124,e=>{"use strict";var t=e.i(1415);let s=t.forwardRef(function({title:e,titleId:s,...a},r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":s},a),e?t.createElement("title",{id:s},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"}))});e.s(["ArrowPathIcon",0,s],20124)},92648,e=>{"use strict";var t=e.i(69178),s=e.i(49061),a=e.i(98183),r=e.i(29252),l=e.i(30758),i=e.i(1415),d=e.i(72670),o=e.i(70079),n=e.i(39381),u=e.i(47822),c=e.i(79180),m=e.i(81856),x=e.i(52626);let f=({work:e})=>{let{formatMessage:s}=(0,a.useIntl)(),{formatDateTime:r}=(0,o.default)(),{getDuration:f,getScheduledTime:h}=(0,c.default)(),[,g]=(0,i.useState)(null);(0,i.useEffect)(()=>{let t=null;return e&&("NEW"===e.status||"ALLOCATED"===e.status)&&(t=setInterval(()=>g(Date.now()),1e3)),()=>{clearInterval(t)}},[e?.status]);let p={timeStyle:"medium",dateStyle:"long"};return(0,t.jsx)("div",{className:`rounded-xl xl:-mx-8 mt-10 p-2 sm:p-6 lg:p-8 ${(0,n.getShadowStyle)(e?.status)}`,children:(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-2 auto-rows-max",children:[(0,t.jsxs)("div",{className:"max-h-fit col-span-2 rounded-lg border border-slate-300 dark:border-slate-800 bg-white dark:bg-slate-900 p-4 shadow-md dark:shadow-none sm:p-6 lg:col-span-1 lg:p-8",children:[(0,t.jsxs)("div",{className:"mb-2 flex flex-wrap items-center justify-between",children:[(0,t.jsx)("div",{className:"mr-4 text-base text-slate-500 dark:text-slate-500 ",children:s({id:"work_type",defaultMessage:"Work type"})}),(0,t.jsx)("div",{className:"mt-2 max-w-prose space-y-5 text-sm",children:e?.type})]}),(0,t.jsxs)("div",{className:"mb-2 flex flex-wrap items-center justify-between",children:[(0,t.jsx)("div",{className:"mr-4 text-base text-slate-500 dark:text-slate-500 ",children:s({id:"work_status",defaultMessage:"Work Status"})}),(0,t.jsx)(d.default,{text:e?.status,color:n.WORK_STATUSES[e?.status]})]}),(0,t.jsxs)("div",{className:"mb-2 flex flex-wrap items-center justify-between",children:[(0,t.jsx)("div",{className:"mr-4 text-base text-slate-500 dark:text-slate-500 ",children:s({id:"work_priority",defaultMessage:"Priority"})}),(0,t.jsx)("div",{className:"mt-2 max-w-prose space-y-5 text-sm ",children:e?.priority})]}),(0,t.jsxs)("div",{className:"mb-2 flex flex-wrap items-center justify-between",children:[(0,t.jsx)("div",{className:"mr-4 text-base text-slate-500 dark:text-slate-500 ",children:s({id:"work_retries",defaultMessage:"Retries"})}),(0,t.jsx)("div",{className:"mt-2 max-w-prose space-y-5 text-sm",children:(0,t.jsx)(x.default,{work:e})})]}),(0,t.jsxs)("div",{className:"mb-2 flex flex-wrap items-center justify-between",children:[(0,t.jsx)("div",{className:"mr-4 text-base text-slate-500 dark:text-slate-500 ",children:s({id:"worker",defaultMessage:"Worker"})}),(0,t.jsx)("div",{className:"mt-2 max-w-prose space-y-5 text-sm",children:e?.worker?(0,t.jsx)(d.default,{text:s({id:"worker_dynamic",defaultMessage:"{worker}"},{worker:e?.worker}),color:"purple"}):"n/a"})]}),e?.retries||e?.original?(0,t.jsxs)("div",{className:"mb-2 flex flex-wrap items-center justify-between",children:[(0,t.jsx)("div",{className:"mr-4 text-base text-slate-500 dark:text-slate-500 ",children:s({id:"work_original",defaultMessage:"Original Work"})}),(0,t.jsx)("div",{className:"mt-2 max-w-prose space-y-5 text-sm",children:(0,t.jsx)(l.default,{href:`/works?workerId=${e?.original?._id}`,className:"text-slate-900 dark:text-slate-300",children:e?.original?._id})})]}):""]}),(0,t.jsx)("div",{className:"col-span-2 rounded-lg border border-slate-300 dark:border-slate-800 bg-white dark:bg-slate-900 p-4 shadow-md dark:shadow-none sm:p-6 lg:col-span-1 lg:p-8",children:(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-5",children:[(0,t.jsxs)("div",{className:"sm:col-span-1",children:[(0,t.jsx)("div",{className:"flex text-base text-slate-500 dark:text-slate-500 ",children:s({id:"work_created",defaultMessage:"Created"})}),(0,t.jsx)("div",{className:"flex text-sm",children:r(e?.created,p)})]}),(0,t.jsxs)("div",{className:"sm:col-span-1",children:[(0,t.jsx)("div",{className:"flex text-base text-slate-500 dark:text-slate-500 ",children:s({id:"work_scheduled",defaultMessage:"Scheduled"})}),(0,t.jsx)("div",{className:"flex text-sm w-100",children:(0,t.jsx)(m.default,{text:r(e?.scheduled,p),children:h(e)})})]}),(0,t.jsxs)("div",{className:"sm:col-span-1",children:[(0,t.jsx)("div",{className:"flex text-base text-slate-500 dark:text-slate-500 ",children:s({id:"work_started",defaultMessage:"Started"})}),(0,t.jsx)("div",{className:"flex text-sm",children:r(e?.started,p)})]}),(0,t.jsxs)("div",{className:"sm:col-span-1",children:[(0,t.jsx)("div",{className:"flex text-base text-slate-500 dark:text-slate-500 ",children:s({id:"work_finished",defaultMessage:"Finished"})}),(0,t.jsx)("div",{className:"flex text-sm",children:r(e?.finished,p)})]}),(0,t.jsxs)("div",{className:"sm:col-span-1",children:[(0,t.jsx)("div",{className:"flex text-base text-slate-500 dark:text-slate-500 ",children:s({id:"duration",defaultMessage:"Duration"})}),(0,t.jsx)("div",{className:"flex text-sm",children:f(e)})]}),e?.deleted&&(0,t.jsxs)("div",{className:"sm:col-span-1",children:[(0,t.jsx)("div",{className:"flex text-base text-slate-500 dark:text-slate-500 ",children:s({id:"deleted",defaultMessage:"Deleted"})}),(0,t.jsx)("div",{className:"flex text-sm",children:r(e?.deleted,p)})]})]})}),e?.error&&(0,t.jsxs)("div",{className:"rounded-lg shadow-md dark:shadow-none border-2 border-rose-300 dark:border-rose-800 col-span-2 lg:col-span-2 order-first overflow-hidden bg-rose-100 dark:bg-rose-800",children:[(0,t.jsx)("div",{className:"px-4 py-5 sm:px-6 border-b border-rose-300 dark:border-rose-800",children:(0,t.jsxs)("h3",{className:"text-lg font-medium leading-6 text-rose-700 dark:text-rose-300 flex items-center gap-2",children:[(0,t.jsx)("svg",{className:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})}),s({id:"error",defaultMessage:"Error"})]})}),(0,t.jsx)("div",{className:"bg-rose-50 dark:bg-rose-950",children:(0,t.jsx)(u.default,{value:decodeURI(JSON.stringify(e.error,null,2)),disabled:!0,className:"block border-none w-full max-w-full resize-none sm:text-sm text-rose-900 dark:text-rose-100"})})]}),e?.input&&(0,t.jsxs)("div",{className:"overflow-hidden rounded-lg border border-slate-300 dark:border-slate-800 col-span-2 shadow-md dark:shadow-none bg-white dark:bg-slate-900 lg:col-span-1",children:[(0,t.jsx)("div",{className:"px-4 py-5 sm:px-6",children:(0,t.jsx)("h3",{className:"text-lg font-medium leading-6 text-slate-900 dark:text-slate-500",children:s({id:"input",defaultMessage:"Input"})})}),(0,t.jsx)(u.default,{value:JSON.stringify(e.input,null,2),disabled:!0,className:"block w-full max-w-full resize-none sm:text-sm"})]}),e?.result&&(0,t.jsxs)("div",{className:"overflow-hidden rounded-lg shadow-md dark:shadow-none border border-slate-300 dark:border-slate-800 col-span-2 bg-white dark:bg-slate-900 lg:col-span-1",children:[(0,t.jsxs)("div",{className:"px-4 py-5 sm:px-6 flex items-center justify-between",children:[(0,t.jsx)("h3",{className:"text-lg font-medium leading-6 text-slate-900 dark:text-slate-500",children:s({id:"result",defaultMessage:"Result"})}),e?.type==="BULK_IMPORT"&&e?.result?.created&&(0,t.jsx)("span",{className:"text-sm text-slate-600 dark:text-slate-400",children:s({id:"items_created",defaultMessage:"{count} items created"},{count:e.result.created.length})})]}),(0,t.jsx)(u.default,{value:JSON.stringify(e.result,null,2),disabled:!0,className:`block w-full max-w-full resize-none sm:text-sm ${e?.type==="BULK_IMPORT"&&e?.result?.created?.length>50?"max-h-96 overflow-y-auto":""}`})]})]})})};var h=e.i(15064),g=e.i(71983),p=e.i(13686);let k=g.gql`
53
+ mutation RemoveWork($workId: ID!) {
54
+ removeWork(workId: $workId) {
55
+ _id
56
+ }
57
+ }
58
+ `;var w=e.i(23222),b=e.i(51443),v=e.i(71588),j=e.i(23529),y=e.i(17831),N=e.i(31891),M=e.i(33362),I=e.i(20124),C=e.i(5858),_=e.i(12442),S=e.i(95126),D=e.i(62010),W=e.i(36187),T=e.i(23518),O=e.i(68686),L=e.i(5641);let E=({work:e,onSubmit:r})=>{let{formatMessage:l,locale:i}=(0,a.useIntl)(),d=(0,s.useRouter)(),o=l({id:"work_added_success",defaultMessage:"Work added successfully!"}),n=(0,L.default)({submit:r,successMessage:o,onSubmitSuccess:(e,{_id:t})=>(d.replace(`/works?workerId=${t}`),!0),enableReinitialize:!0,initialValues:{...e,input:JSON.stringify(e?.input||{},null,2)}});return(0,t.jsx)(_.default,{children:(0,t.jsx)(D.default,{form:n,children:(0,t.jsxs)("div",{className:"space-y-6 rounded-md bg-white dark:bg-slate-900 shadow-md ",children:[(0,t.jsx)("h2",{className:"text-2xl font-bold text-slate-900 dark:text-slate-200 ",children:l({id:"retry_work",defaultMessage:"Retry Work"})}),(0,t.jsx)("div",{className:"flex flex-col sm:flex-row sm:justify-between sm:items-center dark:border-slate-700 pb-4 mb-4",children:(0,t.jsx)("div",{className:"text-sm text-slate-500 dark:text-slate-400 mt-2 sm:mt-0 flex flex-col sm:flex-row sm:gap-4",children:(0,t.jsxs)("span",{children:[(0,t.jsx)("strong",{children:l({id:"type",defaultMessage:"Type"})})," ",e.type]})})}),(0,t.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[(0,t.jsx)(O.default,{name:"priority",id:"priority",label:l({id:"priority",defaultMessage:"Priority"}),labelClassName:"text-sm font-medium text-slate-500 mb-1",type:"number",className:"w-full py-2 text-sm text-slate-900 dark:text-slate-200 dark:bg-slate-800 rounded-md"}),(0,t.jsx)(O.default,{name:"retries",id:"retries",label:l({id:"retries",defaultMessage:"Retries"}),labelClassName:"text-sm font-medium text-slate-500 mb-1",type:"number",className:"w-full py-2 text-sm text-slate-900 dark:text-slate-200 dark:bg-slate-800 rounded-md"})]}),(0,t.jsx)(S.default,{name:"scheduled",label:l({id:"scheduled",defaultMessage:"Scheduled"}),labelClassName:"text-sm font-medium text-slate-500 mb-1",className:"w-full py-2 text-sm text-slate-900 dark:text-slate-200 dark:bg-slate-800 rounded-md",containerClassName:"w-full",locale:i,showTimeInput:!0,timeFormat:"p",timeIntervals:15}),(0,t.jsx)("div",{children:(0,t.jsx)(W.default,{name:"input",label:l({id:"input",defaultMessage:"Input"}),labelClassName:"text-sm font-medium text-slate-500 mb-1",className:"w-full h-48 text-sm text-slate-900 dark:text-slate-200 dark:bg-slate-800 rounded-md"})}),(0,t.jsx)("div",{className:"border-t-slate-100 border-t dark:border-t-slate-700 space-y-6 bg-slate-50 dark:bg-slate-900 p-5 text-right",children:(0,t.jsx)(T.default,{label:l({id:"retry_submit",defaultMessage:"Retry"})})})]})})})};e.s(["default",0,({workerId:e})=>{let l,{formatMessage:d}=(0,a.useIntl)(),{push:o}=(0,s.useRouter)(),{work:n}=(0,h.default)({workId:e,pollInterval:2e3}),{setModal:u}=(0,N.default)(),{removeWork:c}=(()=>{let[e]=(0,p.useMutation)(k);return{removeWork:async({workId:t})=>e({variables:{workId:t},refetchQueries:["WorkQueue"]})}})(),{addWork:m}=(0,w.default)(),x=(0,i.useCallback)(async()=>{u((0,t.jsx)(E,{work:n,onSubmit:async e=>{try{let{data:t}=await m({type:n?.type,priority:e.priority||n?.priority,retries:e.retries,scheduled:e.scheduled,input:JSON.parse(e.input||"{}"),originalWorkId:n?._id});return o(`/works?workerId=${t.addWork._id}`),u(null),{success:!0}}catch(e){return{success:!1,error:e}}}}),{closeOnOutsideClick:!0})},[n]),g=async()=>{await u((0,t.jsx)(y.default,{onCancelClick:()=>u(""),message:d({id:"delete_work_confirmation",defaultMessage:"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this work? "}),onOkClick:async()=>{u(""),await c({workId:e}),r.toast.success(d({id:"work_deleted",defaultMessage:"Work deleted successfully"}))},okText:d({id:"delete_work",defaultMessage:"Delete work"})}))};return(0,t.jsxs)("div",{className:"mt-5 max-w-full",children:[(0,t.jsx)(j.default,{}),(0,t.jsxs)("div",{className:"items-center flex min-w-full justify-between gap-3 flex-wrap",children:[(0,t.jsx)(v.default,{headerText:d({id:"work_detail",defaultMessage:"Work Detail"}),title:d({id:"work_detail_title",defaultMessage:"Work {id}"},{id:n?._id})}),n&&(n?.status===C.IWorkStatus.Failed||n?.status===C.IWorkStatus.Success)?(0,t.jsxs)("button",{type:"button","aria-describedby":"header-delete-button",className:"my-auto flex items-center justify-center rounded-sm border-1 border-emerald-600 px-3 py-2 text-sm font-semibold text-emerald-600 shadow-xs hover:border-emerald-800 hover:bg-emerald-700 hover:text-white focus:outline-hidden focus:ring-2 focus:ring-emerald-700 focus:ring-offset-2",onClick:x,children:[(0,t.jsx)("span",{className:"pr-1",children:(0,t.jsx)(I.ArrowPathIcon,{className:"h-5 w-5"})}),d({id:"retry-work",defaultMessage:"Retry"})]}):null,n&&((l=n?.status)===C.IWorkStatus.New||l===C.IWorkStatus.Allocated)?(0,t.jsx)(M.default,{onClick:g}):null]}),n?(0,t.jsx)(f,{work:n}):(0,t.jsx)(b.default,{})]})}],92648)},67338,(e,t,s)=>{let a="/works/WorkDetailPage";(window.__NEXT_P=window.__NEXT_P||[]).push([a,()=>e.r(92648)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([a])})},8233,e=>{e.v(t=>Promise.all(["static/chunks/ca96c6c93bc5b9ff.js"].map(t=>e.l(t))).then(()=>t(64324)))},69209,e=>{e.v(t=>Promise.all(["static/chunks/aac8a0823d648ca4.js"].map(t=>e.l(t))).then(()=>t(3506)))}]);