@unchainedshop/admin-ui 4.4.2 → 4.6.0

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 (452) 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/_buildManifest.js +254 -0
  7. package/out/_next/static/N9Z2SsJs2tDfugfSzn0XU/_clientMiddlewareManifest.json +1 -0
  8. package/out/_next/static/N9Z2SsJs2tDfugfSzn0XU/_ssgManifest.js +1 -0
  9. package/out/_next/static/chunks/0096b9e4072ea982.js +87 -0
  10. package/out/_next/static/chunks/015a12a268d9d8cc.js +13 -0
  11. package/out/_next/static/chunks/01d02b25e90598b0.js +2 -0
  12. package/out/_next/static/chunks/01ebe787a8ddd0f8.js +1 -0
  13. package/out/_next/static/chunks/0411c4be4ed602e6.js +15 -0
  14. package/out/_next/static/chunks/0454a7068dba9e50.js +13 -0
  15. package/out/_next/static/chunks/04be98027a2dc21d.js +2 -0
  16. package/out/_next/static/chunks/04f6e2039ed872b5.js +13 -0
  17. package/out/_next/static/chunks/054f8ab329a69595.js +1 -0
  18. package/out/_next/static/chunks/056c259617500a97.js +342 -0
  19. package/out/_next/static/chunks/06b009dc933923df.js +224 -0
  20. package/out/_next/static/chunks/06d6d8bf5f971763.js +23 -0
  21. package/out/_next/static/chunks/08542b2ec00cf886.js +14 -0
  22. package/out/_next/static/chunks/08687e11efcba80d.js +1 -0
  23. package/out/_next/static/chunks/09ba49b4ce40eb8d.js +12 -0
  24. package/out/_next/static/chunks/0a2a08eb8b29ee43.js +1 -0
  25. package/out/_next/static/chunks/0ed1db1732820209.js +36 -0
  26. package/out/_next/static/chunks/10e6f9a219fd2d59.js +324 -0
  27. package/out/_next/static/chunks/115ae5cbbc71c47b.js +13 -0
  28. package/out/_next/static/chunks/11bc210de354e563.js +8 -0
  29. package/out/_next/static/chunks/12a85d4b9d6ed551.js +119 -0
  30. package/out/_next/static/chunks/132a6033de66c4c2.js +11 -0
  31. package/out/_next/static/chunks/1393534a6af8c1bb.js +39 -0
  32. package/out/_next/static/chunks/13ab0c90930f76c0.js +1 -0
  33. package/out/_next/static/chunks/17a51698889f206f.js +10 -0
  34. package/out/_next/static/chunks/180f19d81c896a56.js +1 -0
  35. package/out/_next/static/chunks/1ac3c2ecd12b3c68.js +13 -0
  36. package/out/_next/static/chunks/1b7969a2d3aaaf50.js +1 -0
  37. package/out/_next/static/chunks/1bb121543a6f1fbf.js +1 -0
  38. package/out/_next/static/chunks/1bfc8f4848828752.js +344 -0
  39. package/out/_next/static/chunks/1c545b91d2677a38.js +260 -0
  40. package/out/_next/static/chunks/1cbc5bab7320d121.js +15 -0
  41. package/out/_next/static/chunks/202781ff93ff3a35.js +43 -0
  42. package/out/_next/static/chunks/21e1b4ee63219a13.js +12 -0
  43. package/out/_next/static/chunks/2204d70f62d21522.js +14 -0
  44. package/out/_next/static/chunks/22e9c8414771b45f.js +19 -0
  45. package/out/_next/static/chunks/2562397db3d3cad1.js +188 -0
  46. package/out/_next/static/chunks/2d06af75ece8bc6d.js +26 -0
  47. package/out/_next/static/chunks/2d638de705f33182.js +7 -0
  48. package/out/_next/static/chunks/2e1c75c452faae18.js +16 -0
  49. package/out/_next/static/chunks/2f00317a0dfc6047.js +10 -0
  50. package/out/_next/static/chunks/2f23acb4a8a11b35.js +44 -0
  51. package/out/_next/static/chunks/2fe9dad1269d21d5.js +214 -0
  52. package/out/_next/static/chunks/310f57d562073c82.js +66 -0
  53. package/out/_next/static/chunks/311d1921e69f7c93.js +7 -0
  54. package/out/_next/static/chunks/31b59b4652d398c3.js +3 -0
  55. package/out/_next/static/chunks/33f61aeaa072ceb3.js +16 -0
  56. package/out/_next/static/chunks/34d24e57d297f025.js +71 -0
  57. package/out/_next/static/chunks/34df7e31e89a877f.js +178 -0
  58. package/out/_next/static/chunks/362c1460ecd452f0.js +12 -0
  59. package/out/_next/static/chunks/3668ae67081a69e3.js +193 -0
  60. package/out/_next/static/chunks/380087a616841542.js +384 -0
  61. package/out/_next/static/chunks/398be80b131c086b.js +2 -0
  62. package/out/_next/static/chunks/3a32c0d7bf016b19.js +43 -0
  63. package/out/_next/static/chunks/3c247fb4b62a4c6a.js +7 -0
  64. package/out/_next/static/chunks/3d870a0e339f83b1.js +266 -0
  65. package/out/_next/static/chunks/44cc864453be04d0.js +5 -0
  66. package/out/_next/static/chunks/45f599929bd7f34f.js +17 -0
  67. package/out/_next/static/chunks/4834ec6ac33c6774.js +13 -0
  68. package/out/_next/static/chunks/48b67c3254c9af38.js +1 -0
  69. package/out/_next/static/chunks/4a41bb5444629faa.js +1 -0
  70. package/out/_next/static/chunks/4e075951daaf40e9.js +11 -0
  71. package/out/_next/static/chunks/4ea20a695596f02c.js +13 -0
  72. package/out/_next/static/chunks/52161e2148039530.js +22 -0
  73. package/out/_next/static/chunks/53f8dde7813ae201.js +119 -0
  74. package/out/_next/static/chunks/5573e42eb3314f57.js +1 -0
  75. package/out/_next/static/chunks/5689c09869e48b86.js +1 -0
  76. package/out/_next/static/chunks/5763a0bcd3a13fa1.js +135 -0
  77. package/out/_next/static/chunks/578069c46ce13bdb.js +14 -0
  78. package/out/_next/static/chunks/589624f7093b23c5.js +12 -0
  79. package/out/_next/static/chunks/58df71393b1870e6.js +31 -0
  80. package/out/_next/static/chunks/58efb06a97adf57e.js +12 -0
  81. package/out/_next/static/chunks/5a15295537deba19.js +14 -0
  82. package/out/_next/static/chunks/5afccd7f3bb23a0e.js +20 -0
  83. package/out/_next/static/chunks/5b4e690b002be10d.js +101 -0
  84. package/out/_next/static/chunks/5bcace73a8d9c6b0.js +1 -0
  85. package/out/_next/static/chunks/5c2c8884164984d7.js +23 -0
  86. package/out/_next/static/chunks/5e61314918ab1901.js +73 -0
  87. package/out/_next/static/chunks/61794d8ca01e79e1.js +1 -0
  88. package/out/_next/static/chunks/63420020fcc3c50f.js +1 -0
  89. package/out/_next/static/chunks/63d4bf210999c12d.js +15 -0
  90. package/out/_next/static/chunks/6450e0b75a6a8e0b.js +1 -0
  91. package/out/_next/static/chunks/674d5880aaf4d35e.js +1 -0
  92. package/out/_next/static/chunks/689f229f02e92ca8.js +1 -0
  93. package/out/_next/static/chunks/6a68747a19752b56.js +22 -0
  94. package/out/_next/static/chunks/6cca5ebda40e4477.js +12 -0
  95. package/out/_next/static/chunks/6e7adaa6d233dba1.js +46 -0
  96. package/out/_next/static/chunks/6fdd5525b8653974.js +16 -0
  97. package/out/_next/static/chunks/70fd8910b0212107.js +137 -0
  98. package/out/_next/static/chunks/7260c9ed446105c3.js +2 -0
  99. package/out/_next/static/chunks/72d8edce9e613802.js +16 -0
  100. package/out/_next/static/chunks/72da749fb2eb00ad.js +1 -0
  101. package/out/_next/static/chunks/76526584207a694c.js +31 -0
  102. package/out/_next/static/chunks/777412be81d9c33a.js +1 -0
  103. package/out/_next/static/chunks/7a033fad4428e1bc.js +18 -0
  104. package/out/_next/static/chunks/7a4db36836cf15f9.js +2 -0
  105. package/out/_next/static/chunks/7ac7b6f89a6bb9c1.js +51 -0
  106. package/out/_next/static/chunks/7af6bc3590a522e4.js +288 -0
  107. package/out/_next/static/chunks/7ca7a803a8676541.js +16 -0
  108. package/out/_next/static/chunks/7ddea44a67e3f4d2.js +596 -0
  109. package/out/_next/static/chunks/80d9123c9f3abb30.js +1 -0
  110. package/out/_next/static/chunks/8250360d92610891.js +1 -0
  111. package/out/_next/static/chunks/82599e21825addc9.js +13 -0
  112. package/out/_next/static/chunks/83619aa5695889d1.js +58 -0
  113. package/out/_next/static/chunks/838b910ef7e4c0ca.js +1 -0
  114. package/out/_next/static/chunks/83c4b2c785d33921.js +1 -0
  115. package/out/_next/static/chunks/844f642223bd65be.js +1 -0
  116. package/out/_next/static/chunks/854229936d29e550.js +286 -0
  117. package/out/_next/static/chunks/8624972bdb99a2c8.js +3 -0
  118. package/out/_next/static/chunks/88e592fb9134cd52.js +1 -0
  119. package/out/_next/static/chunks/8907db8e040efe5d.js +36 -0
  120. package/out/_next/static/chunks/8a5f559fe8c1c489.js +1 -0
  121. package/out/_next/static/chunks/8b556a74079aba4f.js +15 -0
  122. package/out/_next/static/chunks/8cf6faffdff55492.js +2 -0
  123. package/out/_next/static/chunks/8e8ba9e4c57f576c.js +46 -0
  124. package/out/_next/static/chunks/8ecf24ee3683d1cf.js +15 -0
  125. package/out/_next/static/chunks/90989afd6f01d777.js +5 -0
  126. package/out/_next/static/chunks/967842635197ec2c.js +8 -0
  127. package/out/_next/static/chunks/9880e45a71e7b384.js +13 -0
  128. package/out/_next/static/chunks/995de591fb28d84b.js +15 -0
  129. package/out/_next/static/chunks/99fee86c1d424573.js +15 -0
  130. package/out/_next/static/chunks/9a9cf63d3876abbe.js +10 -0
  131. package/out/_next/static/chunks/9ce91f70bbd92b8b.js +177 -0
  132. package/out/_next/static/chunks/9d64dabee2592951.js +1 -0
  133. package/out/_next/static/chunks/9f17f97b2086d6b1.js +44 -0
  134. package/out/_next/static/chunks/a58247d14a314bda.js +1 -0
  135. package/out/_next/static/chunks/a66ae6f06537ef1e.js +138 -0
  136. package/out/_next/static/chunks/a70681ab87c1e5ed.js +81 -0
  137. package/out/_next/static/chunks/a82b5e0a9fd2af1b.js +1 -0
  138. package/out/_next/static/chunks/a8baa1a74b5a4b17.js +3 -0
  139. package/out/_next/static/chunks/a96e3623312d7877.js +21 -0
  140. package/out/_next/static/chunks/ad8739afcbc536aa.js +142 -0
  141. package/out/_next/static/chunks/af772d006fb559cc.js +147 -0
  142. package/out/_next/static/chunks/b08d768b4e6f0b30.js +14 -0
  143. package/out/_next/static/chunks/b195fa15dd90d90d.js +5 -0
  144. package/out/_next/static/chunks/b211df15f812738a.js +5 -0
  145. package/out/_next/static/chunks/b22405aa65784fd1.js +59 -0
  146. package/out/_next/static/chunks/b2717f6b4d13c00d.js +12 -0
  147. package/out/_next/static/chunks/b31abd650a827ab7.js +15 -0
  148. package/out/_next/static/chunks/b34b4902bf5251c6.js +1 -0
  149. package/out/_next/static/chunks/b35962ad3916f370.js +2 -0
  150. package/out/_next/static/chunks/b4cf38e8cafd15dd.js +3 -0
  151. package/out/_next/static/chunks/b60f1005cfaa1e4d.js +46 -0
  152. package/out/_next/static/chunks/b6446a534a83781d.js +108 -0
  153. package/out/_next/static/chunks/b6529b2854960106.js +50 -0
  154. package/out/_next/static/chunks/b69969599c4851a5.js +54 -0
  155. package/out/_next/static/chunks/b953be094d79c77a.js +471 -0
  156. package/out/_next/static/chunks/ba782714aa359eb3.js +8 -0
  157. package/out/_next/static/chunks/bc4fe1846c66514a.js +13 -0
  158. package/out/_next/static/chunks/bd7dffcbba9388ce.js +1 -0
  159. package/out/_next/static/chunks/bea7d18bcfa278cc.js +51 -0
  160. package/out/_next/static/chunks/c04e3e14bae51ec0.js +101 -0
  161. package/out/_next/static/chunks/c2dab8d2d4aa1312.js +12 -0
  162. package/out/_next/static/chunks/c2e4e35e8bcfe434.js +15 -0
  163. package/out/_next/static/chunks/c4eaa6f8c3f94ce6.js +1 -0
  164. package/out/_next/static/chunks/c511954c023d8fa5.js +1 -0
  165. package/out/_next/static/chunks/c5c35ce15c3a5bbf.js +169 -0
  166. package/out/_next/static/chunks/c7aebf8fb25b9bce.js +16 -0
  167. package/out/_next/static/chunks/c7b2620f6802dc60.js +14 -0
  168. package/out/_next/static/chunks/c9d2f92c023061f0.js +26 -0
  169. package/out/_next/static/chunks/cb17f9a8eab1a071.js +13 -0
  170. package/out/_next/static/chunks/cb239694ac3b2a02.js +12 -0
  171. package/out/_next/static/chunks/cbced7e18621ef67.js +1 -0
  172. package/out/_next/static/chunks/cd972acf52b0c0b5.css +1 -0
  173. package/out/_next/static/chunks/cf023c047bfe3172.js +1 -0
  174. package/out/_next/static/chunks/cf751731977de8a7.js +384 -0
  175. package/out/_next/static/chunks/d213dac8d0245238.js +1 -0
  176. package/out/_next/static/chunks/d240afc78f4135a8.js +14 -0
  177. package/out/_next/static/chunks/d2649c1116becc6a.js +13 -0
  178. package/out/_next/static/chunks/d2a4c6262906cb68.js +1 -0
  179. package/out/_next/static/chunks/d4e8f53e7a153ebf.js +596 -0
  180. package/out/_next/static/chunks/d4f23097ae6ffeb8.js +2 -0
  181. package/out/_next/static/chunks/d82feacfdc37ffc6.js +3 -0
  182. package/out/_next/static/chunks/dd41138446700434.js +8 -0
  183. package/out/_next/static/chunks/dd7d77c8e91e2560.js +132 -0
  184. package/out/_next/static/chunks/dddc02f5e3f90a22.js +46 -0
  185. package/out/_next/static/chunks/ddfeca7dae96beb9.js +20 -0
  186. package/out/_next/static/chunks/de50b6fcd131b622.js +13 -0
  187. package/out/_next/static/chunks/de5bc771274d7fa2.js +1 -0
  188. package/out/_next/static/chunks/e08282f87c28d042.js +342 -0
  189. package/out/_next/static/chunks/e1a04f2b988c0127.js +1 -0
  190. package/out/_next/static/chunks/e45b45f51794fc91.js +10 -0
  191. package/out/_next/static/chunks/e5f0ab61a0737b88.js +1 -0
  192. package/out/_next/static/chunks/e6f8531b24c4d8aa.js +227 -0
  193. package/out/_next/static/chunks/e7023915d17ccabc.js +61 -0
  194. package/out/_next/static/chunks/e7ae256d74cf1a79.js +14 -0
  195. package/out/_next/static/chunks/e90e3ae24a48fbc3.js +13 -0
  196. package/out/_next/static/chunks/e9e91f3763dfd8e6.js +14 -0
  197. package/out/_next/static/chunks/eab07a9d821cca6e.js +15 -0
  198. package/out/_next/static/chunks/eafd0f7a9dfe11e3.js +2 -0
  199. package/out/_next/static/chunks/eb8d19d35d559572.js +61 -0
  200. package/out/_next/static/chunks/ecbb43b35ec68dca.js +173 -0
  201. package/out/_next/static/chunks/f0b4a38f0b700d5b.js +13 -0
  202. package/out/_next/static/chunks/f12fd60740986cd3.js +13 -0
  203. package/out/_next/static/chunks/f2a520d75ef83d66.js +88 -0
  204. package/out/_next/static/chunks/f332652322d66970.js +1 -0
  205. package/out/_next/static/chunks/f3bbb6f5cd572aef.js +71 -0
  206. package/out/_next/static/chunks/f3f5bb2da4be059c.js +227 -0
  207. package/out/_next/static/chunks/f47bc797e90a14cd.js +9 -0
  208. package/out/_next/static/chunks/f4da369af633ca2c.js +13 -0
  209. package/out/_next/static/chunks/f585cc7fc2c34888.js +5 -0
  210. package/out/_next/static/chunks/f62a9768f2112c4d.js +2 -0
  211. package/out/_next/static/chunks/f764df1e357b1af0.js +1 -0
  212. package/out/_next/static/chunks/f9369c39c18227dd.js +137 -0
  213. package/out/_next/static/chunks/f98be5df0ea84e80.js +1 -0
  214. package/out/_next/static/chunks/fac4bb5cc7a79e00.js +110 -0
  215. package/out/_next/static/chunks/fbde3f4a69691196.js +2 -0
  216. package/out/_next/static/chunks/fe2b047fdc80b492.js +31 -0
  217. package/out/_next/static/chunks/fe2b44ca7d9077b4.js +2 -0
  218. package/out/_next/static/chunks/turbopack-06326531308e420c.js +4 -0
  219. package/out/_next/static/chunks/turbopack-0b2886eac294208b.js +4 -0
  220. package/out/_next/static/chunks/turbopack-11490f589626ae95.js +4 -0
  221. package/out/_next/static/chunks/turbopack-176751ac2097a088.js +4 -0
  222. package/out/_next/static/chunks/turbopack-18c2df6a9c61dcf4.js +4 -0
  223. package/out/_next/static/chunks/turbopack-203d6803feb3c33a.js +4 -0
  224. package/out/_next/static/chunks/turbopack-2665eff1cfad8581.js +4 -0
  225. package/out/_next/static/chunks/turbopack-2688a09e528b01fb.js +4 -0
  226. package/out/_next/static/chunks/turbopack-29c231fbc65ef11d.js +4 -0
  227. package/out/_next/static/chunks/turbopack-2abec513e1b0311b.js +4 -0
  228. package/out/_next/static/chunks/turbopack-2f20f676ac5b125b.js +4 -0
  229. package/out/_next/static/chunks/turbopack-369a26cc44caef3b.js +4 -0
  230. package/out/_next/static/chunks/turbopack-36db2f05127f624f.js +4 -0
  231. package/out/_next/static/chunks/turbopack-38d6ede5d54f26f2.js +4 -0
  232. package/out/_next/static/chunks/turbopack-41573d526c4a948a.js +4 -0
  233. package/out/_next/static/chunks/turbopack-439c52b77980c4c7.js +4 -0
  234. package/out/_next/static/chunks/turbopack-4ad063e3cbffc00c.js +4 -0
  235. package/out/_next/static/chunks/turbopack-4b488bf64a2e8dd1.js +4 -0
  236. package/out/_next/static/chunks/turbopack-4c7477517b52ba68.js +4 -0
  237. package/out/_next/static/chunks/turbopack-5c983e42a1e260e4.js +4 -0
  238. package/out/_next/static/chunks/turbopack-5f2bcdcaa043728a.js +4 -0
  239. package/out/_next/static/chunks/turbopack-671122c54887dc69.js +4 -0
  240. package/out/_next/static/chunks/turbopack-6d75f05ddacb7da2.js +4 -0
  241. package/out/_next/static/chunks/turbopack-6dc028ecebd94645.js +4 -0
  242. package/out/_next/static/chunks/turbopack-723604d1148e5320.js +4 -0
  243. package/out/_next/static/chunks/turbopack-74fa79f5127116c8.js +4 -0
  244. package/out/_next/static/chunks/turbopack-8003cebb87e02b6f.js +4 -0
  245. package/out/_next/static/chunks/turbopack-8140fe478fb3e120.js +4 -0
  246. package/out/_next/static/chunks/turbopack-88086a75b1e60f46.js +4 -0
  247. package/out/_next/static/chunks/turbopack-88eb03702be93ae0.js +4 -0
  248. package/out/_next/static/chunks/turbopack-897ba35fba678b73.js +4 -0
  249. package/out/_next/static/chunks/turbopack-8a1b19f230ba6880.js +4 -0
  250. package/out/_next/static/chunks/turbopack-8ffb67edeb44d982.js +4 -0
  251. package/out/_next/static/chunks/turbopack-998a786f942e947d.js +4 -0
  252. package/out/_next/static/chunks/turbopack-9a2df05b70127c82.js +4 -0
  253. package/out/_next/static/chunks/turbopack-9b182fc4451b5698.js +4 -0
  254. package/out/_next/static/chunks/turbopack-9cc6b7acb7136339.js +4 -0
  255. package/out/_next/static/chunks/turbopack-a0ba8198cae7c432.js +4 -0
  256. package/out/_next/static/chunks/turbopack-a57eed18cbeb25e7.js +4 -0
  257. package/out/_next/static/chunks/turbopack-a7ff96ea75235751.js +4 -0
  258. package/out/_next/static/chunks/turbopack-af20a66dd4bceecf.js +4 -0
  259. package/out/_next/static/chunks/turbopack-b356908061e33334.js +4 -0
  260. package/out/_next/static/chunks/turbopack-b6ce904246ed7a9f.js +4 -0
  261. package/out/_next/static/chunks/turbopack-b9cef4be1decb7b2.js +4 -0
  262. package/out/_next/static/chunks/turbopack-bf2ca10d6641cd12.js +4 -0
  263. package/out/_next/static/chunks/turbopack-c3399585cf5c035a.js +4 -0
  264. package/out/_next/static/chunks/turbopack-c44178b57b3e98b5.js +4 -0
  265. package/out/_next/static/chunks/turbopack-c51548c040a966c5.js +4 -0
  266. package/out/_next/static/chunks/turbopack-c8e973d3b138f742.js +4 -0
  267. package/out/_next/static/chunks/turbopack-cc20aca40e453b88.js +4 -0
  268. package/out/_next/static/chunks/turbopack-d34b6cf8960cacf6.js +4 -0
  269. package/out/_next/static/chunks/turbopack-d37a5e6c8a834dea.js +4 -0
  270. package/out/_next/static/chunks/turbopack-d82b95fbbee71ed9.js +4 -0
  271. package/out/_next/static/chunks/turbopack-d8ed8a779ed564d6.js +4 -0
  272. package/out/_next/static/chunks/turbopack-dafa04d793b6860d.js +4 -0
  273. package/out/_next/static/chunks/turbopack-dc4b2a768f14c44e.js +4 -0
  274. package/out/_next/static/chunks/turbopack-deaa436e60eccde3.js +4 -0
  275. package/out/_next/static/chunks/turbopack-f58c8e41f737271a.js +4 -0
  276. package/out/_next/static/chunks/turbopack-f67c925e56a43b50.js +4 -0
  277. package/out/_next/static/chunks/turbopack-f7b7451c68d69b3c.js +4 -0
  278. package/out/_next/static/chunks/turbopack-f8e4bfb5ec24c06d.js +4 -0
  279. package/out/_next/static/chunks/turbopack-f9eebeab42544066.js +4 -0
  280. package/out/_offline/index.html +2 -2
  281. package/out/account/forgot-password/index.html +2 -2
  282. package/out/account/index.html +2 -2
  283. package/out/assortments/AssortmentDetailPage/index.html +2 -2
  284. package/out/assortments/index.html +2 -2
  285. package/out/assortments/new/index.html +2 -2
  286. package/out/copilot/index.html +2 -2
  287. package/out/country/CountryDetailPage/index.html +2 -2
  288. package/out/country/index.html +2 -2
  289. package/out/country/new/index.html +2 -2
  290. package/out/currency/CurrencyDetailPage/index.html +2 -2
  291. package/out/currency/index.html +2 -2
  292. package/out/currency/new/index.html +2 -2
  293. package/out/delivery-provider/DeliveryProviderDetailPage/index.html +2 -2
  294. package/out/delivery-provider/index.html +2 -2
  295. package/out/delivery-provider/new/index.html +2 -2
  296. package/out/enrollments/EnrollmentDetailPage/index.html +2 -2
  297. package/out/enrollments/index.html +2 -2
  298. package/out/events/EventDetailPage/index.html +2 -2
  299. package/out/events/index.html +2 -2
  300. package/out/external/index.html +2 -2
  301. package/out/filters/FilterDetailPage/index.html +2 -2
  302. package/out/filters/index.html +2 -2
  303. package/out/filters/new/index.html +2 -2
  304. package/out/index.html +2 -2
  305. package/out/install/index.html +2 -2
  306. package/out/language/LanguageDetailPage/index.html +2 -2
  307. package/out/language/index.html +2 -2
  308. package/out/language/new/index.html +2 -2
  309. package/out/log-in/index.html +2 -2
  310. package/out/orders/OrderDetailPage/index.html +2 -2
  311. package/out/orders/index.html +2 -2
  312. package/out/payment-provider/PaymentProviderDetailPage/index.html +2 -2
  313. package/out/payment-provider/index.html +2 -2
  314. package/out/payment-provider/new/index.html +2 -2
  315. package/out/products/ProductDetailPage/index.html +2 -2
  316. package/out/products/index.html +2 -2
  317. package/out/products/new/index.html +2 -2
  318. package/out/quotations/QuotationDetailPage/index.html +2 -2
  319. package/out/quotations/index.html +2 -2
  320. package/out/reset-password/index.html +2 -2
  321. package/out/sign-up/index.html +2 -2
  322. package/out/styleguide/index.html +2 -2
  323. package/out/tokens/TokenDetailPage/index.html +2 -2
  324. package/out/tokens/index.html +2 -2
  325. package/out/users/UserDetailPage/index.html +2 -2
  326. package/out/users/index.html +2 -2
  327. package/out/users/new/index.html +2 -2
  328. package/out/verify-email/index.html +2 -2
  329. package/out/warehousing-provider/WarehousingProviderDetailPage/index.html +2 -2
  330. package/out/warehousing-provider/index.html +2 -2
  331. package/out/warehousing-provider/new/index.html +2 -2
  332. package/out/works/WorkDetailPage/index.html +2 -2
  333. package/out/works/WorkQueueListView/index.html +2 -2
  334. package/out/works/index.html +2 -2
  335. package/out/works/management/index.html +2 -2
  336. package/package.json +35 -35
  337. package/out/_next/static/ZINZExBw48QXAnmZi6Rup/_buildManifest.js +0 -1
  338. package/out/_next/static/ZINZExBw48QXAnmZi6Rup/_ssgManifest.js +0 -1
  339. package/out/_next/static/chunks/1098-f06e88084df9b348.js +0 -1
  340. package/out/_next/static/chunks/1362-226d9559808706fc.js +0 -1
  341. package/out/_next/static/chunks/1381-76db46dc20b92879.js +0 -1
  342. package/out/_next/static/chunks/1676-3e866ed86d2da007.js +0 -1
  343. package/out/_next/static/chunks/1715-6127e34a03342576.js +0 -1
  344. package/out/_next/static/chunks/1940-7b7e1d94d001480f.js +0 -1
  345. package/out/_next/static/chunks/2160-4ad6a3cf212c1874.js +0 -1
  346. package/out/_next/static/chunks/2186-0f0b937b7680da4f.js +0 -1
  347. package/out/_next/static/chunks/2281-ad67f157caaf9efc.js +0 -1
  348. package/out/_next/static/chunks/2506-3f08aebcd05156a8.js +0 -1
  349. package/out/_next/static/chunks/2683-4d012b08d3181a14.js +0 -1
  350. package/out/_next/static/chunks/2910-fa17aebaa2094a8e.js +0 -1
  351. package/out/_next/static/chunks/3154-a4c5da4384a47804.js +0 -1
  352. package/out/_next/static/chunks/3282-94459d44b61b3901.js +0 -1
  353. package/out/_next/static/chunks/3286-4d962b31f1d3cfef.js +0 -1
  354. package/out/_next/static/chunks/3790-8c09af288c7bcab4.js +0 -1
  355. package/out/_next/static/chunks/381-b7661fa0164a4922.js +0 -1
  356. package/out/_next/static/chunks/3908-6852b2e785d79ac3.js +0 -1
  357. package/out/_next/static/chunks/4027-38c935801e906ed4.js +0 -1
  358. package/out/_next/static/chunks/4082-483d3a6b6f425579.js +0 -1
  359. package/out/_next/static/chunks/4341-63b049a3ad8c2f00.js +0 -1
  360. package/out/_next/static/chunks/5433-6236c5f79aea6cc5.js +0 -1
  361. package/out/_next/static/chunks/5581-bc65da430c8c77fb.js +0 -1
  362. package/out/_next/static/chunks/5918-4dd79ffe11400a1f.js +0 -1
  363. package/out/_next/static/chunks/5994-b34c301bc531a27c.js +0 -1
  364. package/out/_next/static/chunks/603-2b774eddf2ea575f.js +0 -1
  365. package/out/_next/static/chunks/6267-75b48608109279c3.js +0 -1
  366. package/out/_next/static/chunks/6475-007aa40a81622387.js +0 -1
  367. package/out/_next/static/chunks/676-3c25d070720f719d.js +0 -1
  368. package/out/_next/static/chunks/6825-2a2e2f05a7611391.js +0 -1
  369. package/out/_next/static/chunks/6984-ec6e71d0c29f8ddf.js +0 -1
  370. package/out/_next/static/chunks/7291-4b866be4e8f0f76d.js +0 -1
  371. package/out/_next/static/chunks/7434-d333bf785a339ef8.js +0 -1
  372. package/out/_next/static/chunks/824-fd8ea3573638c07d.js +0 -1
  373. package/out/_next/static/chunks/8356-d5d642356fe3df07.js +0 -1
  374. package/out/_next/static/chunks/8474-cc16eb7b40a6b8f0.js +0 -1
  375. package/out/_next/static/chunks/8479-514f7826abaa5283.js +0 -1
  376. package/out/_next/static/chunks/8488-7648939f32accbe2.js +0 -1
  377. package/out/_next/static/chunks/8837-1ab5639468c8382b.js +0 -1
  378. package/out/_next/static/chunks/9031-fb515c7190302286.js +0 -1
  379. package/out/_next/static/chunks/9135-dd8b92edf33cb911.js +0 -1
  380. package/out/_next/static/chunks/9317-9b5d0ffd1091a4a0.js +0 -1
  381. package/out/_next/static/chunks/9527-15a5be9dda0b576e.js +0 -1
  382. package/out/_next/static/chunks/9681-21f91d8189fe6bac.js +0 -1
  383. package/out/_next/static/chunks/9692-8bfb316546b7a271.js +0 -1
  384. package/out/_next/static/chunks/9771-7c85d5564dae1b5d.js +0 -1
  385. package/out/_next/static/chunks/fce541bf-03f2c61f9d385b96.js +0 -1
  386. package/out/_next/static/chunks/framework-fdb7dfb9c66112bd.js +0 -1
  387. package/out/_next/static/chunks/main-0b7c28ac78dca0b0.js +0 -1
  388. package/out/_next/static/chunks/pages/403-409c684420c6cdb8.js +0 -1
  389. package/out/_next/static/chunks/pages/404-7e6e5f5b28517f5a.js +0 -1
  390. package/out/_next/static/chunks/pages/423-dd33e5a8f5f1bb79.js +0 -1
  391. package/out/_next/static/chunks/pages/500-9847c2012b290bc5.js +0 -1
  392. package/out/_next/static/chunks/pages/_app-5dcbe8fa50ed1458.js +0 -47
  393. package/out/_next/static/chunks/pages/_error-960d04c21f6e7c04.js +0 -1
  394. package/out/_next/static/chunks/pages/_offline-3eb9308dfa1a3078.js +0 -1
  395. package/out/_next/static/chunks/pages/account/forgot-password-564df5febbdf6a83.js +0 -1
  396. package/out/_next/static/chunks/pages/account-d16dc335af24a873.js +0 -1
  397. package/out/_next/static/chunks/pages/assortments/AssortmentDetailPage-dad9408a6c01517f.js +0 -1
  398. package/out/_next/static/chunks/pages/assortments/new-02439b7f8c406a8b.js +0 -1
  399. package/out/_next/static/chunks/pages/assortments-2632b05c72ac776c.js +0 -1
  400. package/out/_next/static/chunks/pages/copilot-6b52f3936598ea18.js +0 -1
  401. package/out/_next/static/chunks/pages/country/CountryDetailPage-dd2154c275bcfe47.js +0 -1
  402. package/out/_next/static/chunks/pages/country/new-2d92bd673b224a9f.js +0 -1
  403. package/out/_next/static/chunks/pages/country-cd79b3149c976f66.js +0 -1
  404. package/out/_next/static/chunks/pages/currency/CurrencyDetailPage-fafeb3ea84faa8b2.js +0 -1
  405. package/out/_next/static/chunks/pages/currency/new-c5ee3befef36df04.js +0 -1
  406. package/out/_next/static/chunks/pages/currency-ceba77b93e6df120.js +0 -1
  407. package/out/_next/static/chunks/pages/delivery-provider/DeliveryProviderDetailPage-4261990f6f8cb8ca.js +0 -1
  408. package/out/_next/static/chunks/pages/delivery-provider/new-362fbd08a261c266.js +0 -1
  409. package/out/_next/static/chunks/pages/delivery-provider-82ec58c28d76a6ee.js +0 -1
  410. package/out/_next/static/chunks/pages/enrollments/EnrollmentDetailPage-b5301327c4739e82.js +0 -1
  411. package/out/_next/static/chunks/pages/enrollments-1a2b2ca33b372fa8.js +0 -1
  412. package/out/_next/static/chunks/pages/events/EventDetailPage-0ef072701050ea9f.js +0 -1
  413. package/out/_next/static/chunks/pages/events-ec19df1a71ebf5ee.js +0 -1
  414. package/out/_next/static/chunks/pages/external-831f8fda63b56492.js +0 -1
  415. package/out/_next/static/chunks/pages/filters/FilterDetailPage-6bb8beaa35b66cfa.js +0 -1
  416. package/out/_next/static/chunks/pages/filters/new-728984fbf1519419.js +0 -1
  417. package/out/_next/static/chunks/pages/filters-b83fb111f232404c.js +0 -1
  418. package/out/_next/static/chunks/pages/index-cbe65d651f31437e.js +0 -1
  419. package/out/_next/static/chunks/pages/install-1c59fb0f9f0bc2c4.js +0 -1
  420. package/out/_next/static/chunks/pages/language/LanguageDetailPage-5fe4a80071e1aceb.js +0 -1
  421. package/out/_next/static/chunks/pages/language/new-200939ee06b64389.js +0 -1
  422. package/out/_next/static/chunks/pages/language-bff90b88f8ea466b.js +0 -1
  423. package/out/_next/static/chunks/pages/log-in-c93e9fc59a057d25.js +0 -1
  424. package/out/_next/static/chunks/pages/orders/OrderDetailPage-1a2b04572645f9b7.js +0 -1
  425. package/out/_next/static/chunks/pages/orders-0bff059400d018fd.js +0 -1
  426. package/out/_next/static/chunks/pages/payment-provider/PaymentProviderDetailPage-989c4cd9084c2c38.js +0 -1
  427. package/out/_next/static/chunks/pages/payment-provider/new-b83e33896adddba1.js +0 -1
  428. package/out/_next/static/chunks/pages/payment-provider-c8c5c502d45a605a.js +0 -1
  429. package/out/_next/static/chunks/pages/products/ProductDetailPage-b486d7c00f51d654.js +0 -1
  430. package/out/_next/static/chunks/pages/products/new-04fe5222e2a1b6fd.js +0 -1
  431. package/out/_next/static/chunks/pages/products-423ebc7d61aebce3.js +0 -1
  432. package/out/_next/static/chunks/pages/quotations/QuotationDetailPage-eb70509ae3ac67a3.js +0 -1
  433. package/out/_next/static/chunks/pages/quotations-8efd2456618935a3.js +0 -1
  434. package/out/_next/static/chunks/pages/reset-password-4520c3db78d411ac.js +0 -1
  435. package/out/_next/static/chunks/pages/sign-up-d4736e09396bc548.js +0 -1
  436. package/out/_next/static/chunks/pages/styleguide-70d0516a6a8cd10f.js +0 -1
  437. package/out/_next/static/chunks/pages/tokens/TokenDetailPage-22da2eed34a6ce3d.js +0 -1
  438. package/out/_next/static/chunks/pages/tokens-64f66e15dfaf736b.js +0 -1
  439. package/out/_next/static/chunks/pages/users/UserDetailPage-a42896a64002a2d9.js +0 -1
  440. package/out/_next/static/chunks/pages/users/new-a878520f80c25473.js +0 -1
  441. package/out/_next/static/chunks/pages/users-c5a15e2e173d3ece.js +0 -1
  442. package/out/_next/static/chunks/pages/verify-email-12f6e59db9c1f7e1.js +0 -1
  443. package/out/_next/static/chunks/pages/warehousing-provider/WarehousingProviderDetailPage-3c4b9862f1dab920.js +0 -1
  444. package/out/_next/static/chunks/pages/warehousing-provider/new-5962205d43675498.js +0 -1
  445. package/out/_next/static/chunks/pages/warehousing-provider-1a2acf68795037de.js +0 -1
  446. package/out/_next/static/chunks/pages/works/WorkDetailPage-b6850b0befe6d400.js +0 -1
  447. package/out/_next/static/chunks/pages/works/WorkQueueListView-619dbc619e328f71.js +0 -1
  448. package/out/_next/static/chunks/pages/works/management-0c5b3c46b8513d59.js +0 -1
  449. package/out/_next/static/chunks/pages/works-9d1e4f01b5612cac.js +0 -1
  450. package/out/_next/static/chunks/polyfills-42372ed130431b0a.js +0 -1
  451. package/out/_next/static/chunks/webpack-e67b0ff03d96edf5.js +0 -1
  452. package/out/_next/static/css/66bf20079561271a.css +0 -1
@@ -0,0 +1,43 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,17362,(e,r,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var i={VALID_LOADERS:function(){return t},imageConfigDefault:function(){return d}};for(var s in i)Object.defineProperty(a,s,{enumerable:!0,get:i[s]});let t=["default","imgix","cloudinary","akamai","custom"],d={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,r,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"ImageConfigContext",{enumerable:!0,get:function(){return t}});let i=e.r(11004)._(e.r(1415)),s=e.r(17362),t=i.default.createContext(s.imageConfigDefault)},12442,e=>{"use strict";var r=e.i(69178),a=e.i(1415),i=e.i(13071);let s=(0,a.createContext)(!1);e.s(["FormWrapperContext",0,s,"default",0,({children:e,className:a=""})=>(0,r.jsx)(s.Provider,{value:!0,children:(0,r.jsx)("div",{className:"sm:max-w-full",children:(0,r.jsx)("div",{className:(0,i.default)("bg-white dark:bg-slate-800 rounded-md shadow-sm overflow-hidden",a),children:e})})})])},82028,e=>{"use strict";var r=e.i(69178),a=e.i(13071),i=e.i(4142),s=e.i(88500);e.s(["default",0,e=>{let{options:t,...d}=(0,i.default)(e),{className:o}=e||{className:""};return(0,r.jsx)(s.default,{...d,children:(0,r.jsx)("div",{className:"select-wrap",children:(0,r.jsxs)("select",{className:(0,a.default)("block w-full dark:bg-slate-900 dark:text-white rounded-md border-1 border-slate-300 dark:border-slate-700 py-2.5 pl-3 pr-10 text-base text-black shadow-xs focus:outline-hidden focus:ring-2 focus:ring-slate-800 sm:text-sm",o,{"border-rose-700 text-rose-600 dark:border-rose-500 dark:text-rose-400":!!d.error}),disabled:d.disabled,id:d.name,name:d.name,onChange:d.onChange,onBlur:d.onBlur,value:d.value,children:[(0,r.jsx)("option",{className:"dark:text-slate-200",value:"",disabled:d.required,hidden:d.required,children:d.placeholder||d.label}),Object.entries(t).map(([e,a])=>(0,r.jsx)("option",{className:"dark:text-slate-200",value:e,children:a},e))]})})})}])},96459,e=>{"use strict";e.s(["default",0,(e,r,a)=>Object.assign({},...e?.map(e=>({[e[a]]:e[r]}))||[])])},40892,e=>{"use strict";var r=e.i(69178),a=e.i(98183),i=e.i(62010),s=e.i(82028),t=e.i(23518),d=e.i(5641),o=e.i(12442);e.s(["default",0,({onSubmit:e,onSubmitSuccess:l,providerTypes:n,providerInterfaces:u,onProviderChange:c,readOnly:h})=>{let{formatMessage:g}=(0,a.useIntl)(),m=g({id:"provider_created_success",defaultMessage:"Provider created successfully!"}),v=(0,d.default)({submit:e,onSubmitSuccess:l,successMessage:m,enableReinitialize:!0,initialValues:{adapterKey:"",type:""}});return(0,r.jsx)(o.default,{children:(0,r.jsx)(i.default,{form:v,children:(0,r.jsxs)("div",{className:"shadow-sm dark:shadow-none sm:max-w-full sm:rounded-lg",children:[(0,r.jsxs)("div",{className:"px-4 pt-4 pb-6",children:[(0,r.jsx)(s.default,{onChange:e=>c(e.target.value),name:"type",disabled:h,required:!0,label:g({id:"type",defaultMessage:"Type"}),options:n,className:"mb-5"}),(0,r.jsx)(s.default,{name:"adapterKey",required:!0,disabled:h,options:u,label:g({id:"adapter",defaultMessage:"Adapter"}),className:"mt-2"})]}),!h&&(0,r.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-6 px-5 text-right",children:(0,r.jsx)(t.default,{label:g({id:"create_provider",defaultMessage:"Create provider"})})})]})})})}])},68957,e=>{"use strict";var r=e.i(71983);let a=r.gql`
2
+ fragment WarehousingProviderFragment on WarehousingProvider {
3
+ _id
4
+ created
5
+ updated
6
+ deleted
7
+ isActive
8
+ type
9
+ interface {
10
+ _id
11
+ label
12
+ version
13
+ }
14
+ configuration
15
+ configurationError
16
+ }
17
+ `;e.s(["default",0,a])},48168,e=>{"use strict";var r=e.i(71983),a=e.i(13699);let i=r.gql`
18
+ query WarehousingProvidersType {
19
+ warehousingProviderType: __type(name: "WarehousingProviderType") {
20
+ options: enumValues {
21
+ value: name
22
+ label: description
23
+ }
24
+ }
25
+ }
26
+ `;e.s(["default",0,()=>{let{data:e,loading:r,error:s}=(0,a.useQuery)(i);return{warehousingProviderType:e?.warehousingProviderType?.options||[],loading:r,error:s}}])},87842,e=>{"use strict";var r=e.i(69178),a=e.i(1415),i=e.i(5858),s=e.i(49061),t=e.i(98183),d=e.i(19372),o=e.i(23529),l=e.i(40892),n=e.i(71588),u=e.i(96459),c=e.i(71983),h=e.i(13686),g=e.i(68957);let m=c.gql`
27
+ mutation CreateWarehousingProvider(
28
+ $warehousingProvider: CreateWarehousingProviderInput!
29
+ ) {
30
+ createWarehousingProvider(warehousingProvider: $warehousingProvider) {
31
+ ...WarehousingProviderFragment
32
+ }
33
+ }
34
+ ${g.default}
35
+ `;var v=e.i(13699);let p=c.gql`
36
+ query WarehousingInterfaces($providerType: WarehousingProviderType) {
37
+ warehousingInterfaces(type: $providerType) {
38
+ _id
39
+ value: _id
40
+ label
41
+ }
42
+ }
43
+ `;var f=e.i(48168);e.s(["default",0,()=>{let[e,c]=(0,a.useState)(i.IWarehousingProviderType.Physical),{formatMessage:g}=(0,t.useIntl)(),{createWarehousingProvider:b}=(()=>{let[e,{data:r,loading:a,error:i}]=(0,h.useMutation)(m);return{createWarehousingProvider:async({warehousingProvider:{adapterKey:r,type:a}})=>e({variables:{warehousingProvider:{adapterKey:r,type:a}},refetchQueries:["WarehousingProviders","ShopStatus"]}),newWarehousingProvider:r?.createWarehousingProvider,loading:a,error:i}})(),{warehousingProviderType:x}=(0,f.default)(),{warehousingInterfaces:P}=(({providerType:e})=>{let{data:r,loading:a,error:i}=(0,v.useQuery)(p,{skip:!e,variables:{providerType:e}});return{warehousingInterfaces:r?.warehousingInterfaces||[],loading:a,error:i}})({providerType:e}),{hasRole:w}=(0,d.default)(),y=async({adapterKey:e,type:r})=>{let{data:a,error:i}=await b({warehousingProvider:{adapterKey:e,type:r}});return!i&&{success:!0,data:a?.createWarehousingProvider}},j=(0,s.useRouter)();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.default,{}),(0,r.jsxs)("div",{className:"mx-auto sm:max-w-2xl",children:[(0,r.jsx)(n.default,{headerText:g({id:"new_warehousing_provider_header",defaultMessage:"New warehousing provider"})}),(0,r.jsx)("div",{className:"mt-6",children:(0,r.jsx)(l.default,{readOnly:!w(i.IRoleAction.ManageWarehousingProviders),providerInterfaces:(0,u.default)(P,"label","value"),providerTypes:(0,u.default)(x,"label","value"),onSubmit:y,onSubmitSuccess:(e,{_id:r})=>{j.replace(`/warehousing-provider?warehousingProviderId=${r}`)},onProviderChange:e=>c(e)})})]})]})}],87842)},1164,(e,r,a)=>{let i="/warehousing-provider/new";(window.__NEXT_P=window.__NEXT_P||[]).push([i,()=>e.r(87842)]),r.hot&&r.hot.dispose(function(){window.__NEXT_P.push([i])})},8233,e=>{e.v(r=>Promise.all(["static/chunks/c4eaa6f8c3f94ce6.js"].map(r=>e.l(r))).then(()=>r(64324)))},69209,e=>{e.v(r=>Promise.all(["static/chunks/08687e11efcba80d.js"].map(r=>e.l(r))).then(()=>r(3506)))}]);
@@ -0,0 +1,12 @@
1
+ __turbopack_load_page_chunks__("/events/EventDetailPage", [
2
+ "static/chunks/c2e4e35e8bcfe434.js",
3
+ "static/chunks/1bb121543a6f1fbf.js",
4
+ "static/chunks/689f229f02e92ca8.js",
5
+ "static/chunks/a82b5e0a9fd2af1b.js",
6
+ "static/chunks/b195fa15dd90d90d.js",
7
+ "static/chunks/80d9123c9f3abb30.js",
8
+ "static/chunks/de50b6fcd131b622.js",
9
+ "static/chunks/777412be81d9c33a.js",
10
+ "static/chunks/b2717f6b4d13c00d.js",
11
+ "static/chunks/turbopack-11490f589626ae95.js"
12
+ ])
@@ -0,0 +1,14 @@
1
+ __turbopack_load_page_chunks__("/warehousing-provider", [
2
+ "static/chunks/1bb121543a6f1fbf.js",
3
+ "static/chunks/6450e0b75a6a8e0b.js",
4
+ "static/chunks/b2717f6b4d13c00d.js",
5
+ "static/chunks/689f229f02e92ca8.js",
6
+ "static/chunks/b35962ad3916f370.js",
7
+ "static/chunks/b195fa15dd90d90d.js",
8
+ "static/chunks/80d9123c9f3abb30.js",
9
+ "static/chunks/bc4fe1846c66514a.js",
10
+ "static/chunks/777412be81d9c33a.js",
11
+ "static/chunks/01ebe787a8ddd0f8.js",
12
+ "static/chunks/eb8d19d35d559572.js",
13
+ "static/chunks/turbopack-8003cebb87e02b6f.js"
14
+ ])
@@ -0,0 +1,19 @@
1
+ __turbopack_load_page_chunks__("/filters", [
2
+ "static/chunks/61794d8ca01e79e1.js",
3
+ "static/chunks/689f229f02e92ca8.js",
4
+ "static/chunks/054f8ab329a69595.js",
5
+ "static/chunks/777412be81d9c33a.js",
6
+ "static/chunks/b2717f6b4d13c00d.js",
7
+ "static/chunks/b35962ad3916f370.js",
8
+ "static/chunks/6450e0b75a6a8e0b.js",
9
+ "static/chunks/b195fa15dd90d90d.js",
10
+ "static/chunks/72da749fb2eb00ad.js",
11
+ "static/chunks/1b7969a2d3aaaf50.js",
12
+ "static/chunks/44cc864453be04d0.js",
13
+ "static/chunks/80d9123c9f3abb30.js",
14
+ "static/chunks/de50b6fcd131b622.js",
15
+ "static/chunks/844f642223bd65be.js",
16
+ "static/chunks/c04e3e14bae51ec0.js",
17
+ "static/chunks/c5c35ce15c3a5bbf.js",
18
+ "static/chunks/turbopack-723604d1148e5320.js"
19
+ ])
@@ -0,0 +1,188 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,27559,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.19 8.688a4.5 4.5 0 0 1 1.242 7.244l-4.5 4.5a4.5 4.5 0 0 1-6.364-6.364l1.757-1.757m13.35-.622 1.757-1.757a4.5 4.5 0 0 0-6.364-6.364l-4.5 4.5a4.5 4.5 0 0 0 1.242 7.244"}))});e.s(["LinkIcon",0,r],27559)},40981,e=>{"use strict";e.s(["default",0,e=>e?`${e.substr(0,6)}...${e.substr(-4,4)}`:"0x0"])},23878,e=>{"use strict";var t=e.i(71983);let r=t.gql`
2
+ fragment TokenFragment on Token {
3
+ _id
4
+ walletAddress
5
+ status
6
+ quantity
7
+ contractAddress
8
+ chainId
9
+ tokenSerialNumber
10
+ invalidatedDate
11
+ expiryDate
12
+ ercMetadata
13
+ accessKey
14
+ isInvalidateable
15
+ }
16
+ `;e.s(["default",0,r])},13167,e=>{"use strict";var t=e.i(69178),r=e.i(27559),s=e.i(13071),a=e.i(1415),l=e.i(98183),i=e.i(71983),n=e.i(13686),d=e.i(23878);let o=i.gql`
17
+ mutation ExportToken(
18
+ $tokenId: ID!
19
+ $quantity: Int! = 1
20
+ $recipientWalletAddress: String!
21
+ ) {
22
+ exportToken(
23
+ tokenId: $tokenId
24
+ quantity: $quantity
25
+ recipientWalletAddress: $recipientWalletAddress
26
+ ) {
27
+ ...TokenFragment
28
+ }
29
+ }
30
+ ${d.default}
31
+ `,u=({isOpen:e,addresses:r,cancel:s,onExport:i})=>{let[n,d]=(0,a.useState)(""),{formatMessage:o}=(0,l.useIntl)();return e&&(0,t.jsxs)("div",{className:"relative z-10","aria-labelledby":"modal-title",role:"dialog","aria-modal":"true",children:[(0,t.jsx)("div",{className:"fixed inset-0 bg-slate-500 bg-opacity/75 transition-opacity"}),(0,t.jsx)("div",{className:"fixed inset-0 z-10 overflow-y-auto",children:(0,t.jsx)("div",{className:"flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0",children:(0,t.jsxs)("div",{className:"relative transform overflow-hidden rounded-lg bg-white px-4 pt-5 pb-4 text-left shadow-xl transition-all sm:my-8 sm:w-full sm:max-w-lg sm:p-6",children:[(0,t.jsx)("div",{children:(0,t.jsx)("fieldset",{className:"space-y-5",children:r?.map(e=>(0,t.jsxs)("div",{className:"relative flex items-start",children:[(0,t.jsx)("div",{className:"flex h-5 items-center",children:(0,t.jsx)("input",{id:e.address,name:"addresses",value:e.address,onChange:()=>{d(e.address)},checked:n?.toLowerCase()===e.address?.toLowerCase(),type:"checkbox",className:"h-4 w-4 rounded-sm border-slate-300 dark:border-slate-600 bg-white dark:!bg-slate-800 text-slate-950 focus:ring-slate-900"})}),(0,t.jsx)("div",{className:"ml-3 text-sm",children:(0,t.jsx)("label",{htmlFor:"comments",className:"font-medium text-slate-700",children:e.address})})]},e.address))})}),(0,t.jsxs)("div",{className:"mt-4",children:[(0,t.jsx)("label",{htmlFor:"Address",className:"block text-sm font-medium text-slate-700",children:o({id:"or_manually_enter_address",defaultMessage:"Or enter address manually"})}),(0,t.jsx)("div",{className:"mt-1",children:(0,t.jsx)("input",{type:"text",onChange:e=>d(e.target.value),value:n,name:"Address",id:"Address",className:"block w-full rounded-md border-slate-300 shadow-xs focus:border-slate-900 focus:ring-slate-900 sm:text-sm",placeholder:"0xF5F72AE7fa1fa990ebaF163208Ed7aD6a3f42DEA"})})]}),(0,t.jsxs)("div",{className:"mt-5 sm:mt-6 sm:grid sm:grid-flow-row-dense sm:grid-cols-2 sm:gap-3",children:[(0,t.jsx)("button",{type:"button",onClick:()=>i(n),className:"inline-flex w-full justify-center rounded-md border border-transparent bg-slate-950 px-4 py-2 text-base font-medium text-white shadow-xs hover:bg-slate-950 focus:outline-hidden focus:ring-2 focus:ring-slate-900 focus:ring-offset-2 sm:col-start-2 sm:text-sm",children:o({id:"export",defaultMessage:"Export"})}),(0,t.jsx)("button",{type:"button",onClick:s,className:"mt-3 inline-flex w-full justify-center rounded-md border border-slate-300 bg-white px-4 py-2 text-base font-medium text-slate-700 shadow-xs hover:bg-slate-50 focus:outline-hidden focus:ring-2 focus:ring-slate-900 focus:ring-offset-2 sm:col-start-1 sm:mt-0 sm:text-sm",children:o({id:"cancel",defaultMessage:"Cancel"})})]})]})})})]})};e.s(["default",0,({tokenId:e,tokenStatus:i,addresses:d=[]})=>{let{exportToken:c}=(()=>{let[e]=(0,n.useMutation)(o);return{exportToken:async({quantity:t,recipientWalletAddress:r,tokenId:s})=>e({variables:{quantity:t,recipientWalletAddress:r,tokenId:s}})}})(),{formatMessage:f}=(0,l.useIntl)(),[m,h]=(0,a.useState)(!1),x=async t=>{await c({tokenId:e,recipientWalletAddress:t}),h(!1)};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(u,{isOpen:m,cancel:()=>{h(!1)},onExport:x,addresses:d}),"DECENTRALIZED"!==i&&(0,t.jsxs)("button",{type:"button",onClick:()=>h(!0),disabled:"EXPORTING"===i,className:(0,s.default)(" text-center inline-flex truncate rounded-md border border-transparent bg-slate-950 px-5 py-1 text-base font-medium text-white shadow-xs hover:bg-slate-950 focus:outline-hidden focus:ring-2 focus:ring-slate-900 focus:ring-offset-2",{"bg-slate-400 hover:bg-slate-500":"EXPORTING"===i}),children:[(0,t.jsx)(r.LinkIcon,{className:"w-6 h-6 mr-2"}),f("CENTRALIZED"===i?{id:"export",defaultMessage:"Export"}:{id:"exporting",defaultMessage:"Exporting..."})]})]})}],13167)},97946,e=>{"use strict";var t=e.i(69178),r=e.i(13071),s=e.i(1415),a=e.i(68686);e.s(["default",0,({autoComplete:e="on",...l})=>{let[i,n]=(0,s.useState)(!1),d=e=>{e.preventDefault(),n(!i)};return(0,t.jsxs)("div",{className:(0,r.default)("relative",l.className),children:[(0,t.jsx)(a.default,{autoComplete:e||"on",name:"password",...l,type:i?"text":"password"}),(0,t.jsx)("span",{role:"button",tabIndex:-1,"aria-label":"toggle password visibility",className:"absolute translate-y-[-137%] outline-hidden block right-3",onClick:d,onKeyUp:d,children:i?(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6 stroke-slate-700",fill:"none",viewBox:"0 0 24 24",children:[(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"}),(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"})]}):(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6 stroke-slate-700",fill:"none",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M13.875 18.825A10.05 10.05 0 0112 19c-4.478 0-8.268-2.943-9.543-7a9.97 9.97 0 011.563-3.029m5.858.908a3 3 0 114.243 4.243M9.878 9.878l4.242 4.242M9.88 9.88l-3.29-3.29m7.532 7.532l3.29 3.29M3 3l3.59 3.59m0 0A9.953 9.953 0 0112 5c4.478 0 8.268 2.943 9.543 7a10.025 10.025 0 01-4.132 5.411m0 0L21 21"})})})]})}])},71987,e=>{"use strict";e.s(["default",0,e=>{if(window.atob&&Uint8Array){let t=e.replace(/-/g,"+").replace(/_/g,"/"),r=t+"=".repeat((4-t.length%4)%4),s=window.atob(r),a=s.length,l=new Uint8Array(a);for(let e=0;e<a;e+=1)l[e]=s.charCodeAt(e);return l.buffer}throw Error("The atob and Uint8Array methods are not available")}])},75005,e=>{"use strict";var t=e.i(71987),r=e.i(71983),s=e.i(13686);let a=r.gql`
32
+ mutation CreateWebAuthnCredentialCreationOptions($username: String!) {
33
+ createWebAuthnCredentialCreationOptions(username: $username)
34
+ }
35
+ `,l=e=>window.btoa(String.fromCharCode(...new Uint8Array(e))).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"");e.s(["default",0,()=>{let{createWebAuthnCredentialCreationOptions:e}=(()=>{let[e]=(0,s.useMutation)(a);return{createWebAuthnCredentialCreationOptions:async({username:t})=>e({variables:{username:t}})}})();return{generateWebAuthCredentials:async({username:r})=>{let{data:s}=await e({username:r}),{createWebAuthnCredentialCreationOptions:a}=s,i=new TextEncoder;a.challenge=(0,t.default)(a.challenge),a.user={id:i.encode(r),name:r,displayName:r};let n=await navigator.credentials.create({publicKey:a}),d=l(n.response.attestationObject),o=l(n.response.clientDataJSON),u=l(n.rawId),c=n.response.getAuthenticatorData?l(n.response.getAuthenticatorData()):"",f=n.response.getPublicKey?l(n.response.getPublicKey()):"";return{id:u,rawId:u,response:{clientDataJSON:o,attestationObject:d,authenticatorData:c,publicKey:f,publicKeyAlgorithm:n.response.getPublicKeyAlgorithm?n.response.getPublicKeyAlgorithm():-7,transports:n.response.getTransports?n.response.getTransports():["internal"]},authenticatorAttachment:n.authenticatorAttachment||"platform",clientExtensionResults:n.getClientExtensionResults?.()||{},type:"public-key",user:{id:r,name:r,displayName:r}}}}}],75005)},33105,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{fillRule:"evenodd",d:"M15.988 3.012A2.25 2.25 0 0 1 18 5.25v6.5A2.25 2.25 0 0 1 15.75 14H13.5V7A2.5 2.5 0 0 0 11 4.5H8.128a2.252 2.252 0 0 1 1.884-1.488A2.25 2.25 0 0 1 12.25 1h1.5a2.25 2.25 0 0 1 2.238 2.012ZM11.5 3.25a.75.75 0 0 1 .75-.75h1.5a.75.75 0 0 1 .75.75v.25h-3v-.25Z",clipRule:"evenodd"}),t.createElement("path",{fillRule:"evenodd",d:"M2 7a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V7Zm2 3.25a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75Zm0 3.5a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))});e.s(["ClipboardDocumentListIcon",0,r],33105)},39827,63009,e=>{"use strict";var t=e.i(69178),r=e.i(98183),s=e.i(98531),a=e.i(30758),l=e.i(72670),i=e.i(70079),n=e.i(6356),d=e.i(81751),o=e.i(25863);let u={INITIAL:"orange",PAUSED:"yellow",TERMINATED:"amber",ACTIVE:"emerald"},c=({enrollment:e,showUser:c})=>{let{formatMessage:f}=(0,r.useIntl)(),{formatDateTime:m}=(0,i.default)();return(0,t.jsxs)(s.default.Row,{children:[(0,t.jsx)(s.default.Cell,{children:(0,t.jsx)("div",{className:"text-sm",children:(0,t.jsx)(a.default,{href:`/enrollments?enrollmentId=${e._id}`,className:"font-medium text-slate-800 dark:text-slate-700",children:e?.enrollmentNumber||e._id?.substr(0,10)})})}),(0,t.jsx)(s.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm ",children:m(e.created,{dateStyle:"medium",timeStyle:"medium"})})}),(0,t.jsx)(s.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm ",children:e.isExpired?(0,t.jsx)(l.default,{text:f({id:"expired",defaultMessage:"Expired"}),color:"amber"}):m(e.expires,{dateStyle:"medium",timeStyle:"medium"})})}),c&&e.user&&(0,t.jsx)(s.default.Cell,{children:(0,t.jsxs)(a.default,{href:`/users?userId=${e.user._id}`,className:"flex items-center text-sm text-slate-800 dark:text-slate-700 hover:text-decoration",children:[(0,t.jsx)("span",{className:"inline-block h-9 w-9 rounded-full",children:(0,t.jsx)(d.default,{file:e?.user?.avatar,className:"mr-3"})}),(0,t.jsx)("span",{className:"ml-2",children:(0,o.default)(e.user)})]})}),(0,t.jsx)(s.default.Cell,{children:(0,t.jsxs)(a.default,{href:`/products?slug=${(0,n.default)(e.plan.product)}`,className:"flex items-center text-sm text-slate-800 dark:text-slate-700 hover:text-decoration",children:[(0,t.jsx)(d.default,{file:e?.plan?.product?.media?.file,className:"mr-3"}),(0,t.jsx)("span",{className:"ml-2",children:e?.plan?.product?.texts?.title})]})}),(0,t.jsx)(s.default.Cell,{children:(0,t.jsx)(l.default,{text:e?.status,color:u[e.status],square:!0})})]})};e.s(["default",0,({enrollments:e,showUser:a=null,sortable:l=!1})=>{let{formatMessage:i}=(0,r.useIntl)();return(0,t.jsxs)(s.default,{className:"min-w-full",children:[e?.map(e=>(0,t.jsxs)(s.default.Row,{header:!0,enablesort:l,children:[(0,t.jsx)(s.default.Cell,{sortKey:"enrollmentNumber",children:i({id:"enrollment_number",defaultMessage:"Enrollment number"})}),(0,t.jsx)(s.default.Cell,{sortKey:"created",children:i({id:"created",defaultMessage:"Created"})}),(0,t.jsx)(s.default.Cell,{children:i({id:"expires",defaultMessage:"Expires"})}),a&&(0,t.jsx)(s.default.Cell,{children:i({id:"user",defaultMessage:"User"})}),(0,t.jsx)(s.default.Cell,{children:i({id:"product",defaultMessage:"Product"})}),(0,t.jsx)(s.default.Cell,{sortKey:"status",children:i({id:"status",defaultMessage:"Status"})})]},e._id)),e?.map(e=>(0,t.jsx)(c,{showUser:!0,enrollment:e},`${e?._id}-body`))]})}],39827);var f=e.i(71983);let m=f.gql`
36
+ fragment EnrollmentFragment on Enrollment {
37
+ _id
38
+ country {
39
+ _id
40
+ isoCode
41
+ }
42
+ currency {
43
+ _id
44
+ isoCode
45
+ }
46
+ enrollmentNumber
47
+ updated
48
+ status
49
+ created
50
+ expires
51
+ isExpired
52
+ periods {
53
+ start
54
+ end
55
+ isTrial
56
+ }
57
+ payment {
58
+ provider {
59
+ _id
60
+ }
61
+ }
62
+ delivery {
63
+ provider {
64
+ _id
65
+ }
66
+ }
67
+ plan {
68
+ product {
69
+ _id
70
+ media {
71
+ _id
72
+ file {
73
+ _id
74
+ url
75
+ }
76
+ }
77
+ texts {
78
+ _id
79
+ title
80
+ }
81
+ }
82
+ quantity
83
+ }
84
+ user {
85
+ _id
86
+ username
87
+ name
88
+ avatar {
89
+ _id
90
+ url
91
+ }
92
+ }
93
+ }
94
+ `;e.s(["default",0,m],63009)},81751,e=>{"use strict";var t=e.i(69178),r=e.i(13071),s=e.i(98183),a=e.i(53041),l=e.i(71038);e.s(["default",0,({file:e,className:i=""})=>{let{formatMessage:n}=(0,s.useIntl)();return(0,t.jsx)("div",{className:(0,r.default)("h-10 w-10 shrink-0",i),children:e?(0,t.jsx)(a.default,{className:"relative h-10 w-10 rounded-sm",src:e.url,width:100,height:100,alt:n({id:"image_not_available",defaultMessage:"Image not available"})}):(0,t.jsx)(l.default,{})})}])},25863,e=>{"use strict";e.s(["default",0,e=>e?e?.username?e.username:e?.profile?.displayName?e?.profile?.displayName:e?.profile?.address?.firstName||e?.profile?.address?.lastName?`${e?.profile?.address?.firstName} ${e?.profile?.address?.lastName}`:e?.name?e.name:e.isGuest?e?.primaryEmail?.address?.split(".")?.[0]:null:null])},666,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.982 18.725A7.488 7.488 0 0 0 12 15.75a7.488 7.488 0 0 0-5.982 2.975m11.963 0a9 9 0 1 0-11.963 0m11.963 0A8.966 8.966 0 0 1 12 21a8.966 8.966 0 0 1-5.982-2.275M15 9.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))});e.s(["UserCircleIcon",0,r],666)},17362,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s={VALID_LOADERS:function(){return l},imageConfigDefault:function(){return i}};for(var a in s)Object.defineProperty(r,a,{enumerable:!0,get:s[a]});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,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ImageConfigContext",{enumerable:!0,get:function(){return l}});let s=e.r(11004)._(e.r(1415)),a=e.r(17362),l=s.default.createContext(a.imageConfigDefault)},27946,(e,t,r)=>{"use strict";function s({widthInt:e,heightInt:t,blurWidth:r,blurHeight:s,blurDataURL:a,objectFit:l}){let i=r?40*r:e,n=s?40*s:t,d=i&&n?`viewBox='0 0 ${i} ${n}'`:"";return`%3Csvg xmlns='http://www.w3.org/2000/svg' ${d}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${d?"none":"contain"===l?"xMidYMid":"cover"===l?"xMidYMid slice":"none"}' style='filter: url(%23b);' href='${a}'/%3E%3C/svg%3E`}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getImageBlurSvg",{enumerable:!0,get:function(){return s}})},6611,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getImgProps",{enumerable:!0,get:function(){return o}}),e.r(59523);let s=e.r(50907),a=e.r(27946),l=e.r(17362),i=["-moz-initial","fill","none","scale-down",void 0];function n(e){return void 0!==e.default}function d(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function o({src:e,sizes:t,unoptimized:r=!1,priority:o=!1,preload:u=!1,loading:c,className:f,quality:m,width:h,height:x,fill:g=!1,style:p,overrideSrc:b,onLoad:j,onLoadingComplete:v,placeholder:w="empty",blurDataURL:y,fetchPriority:C,decoding:E="async",layout:N,objectFit:_,objectPosition:k,lazyBoundary:I,lazyRoot:M,...S},O){var R;let P,A,$,{imgConf:D,showAltText:L,blurComplete:T,defaultLoader:z}=O,q=D||l.imageConfigDefault;if("allSizes"in q)P=q;else{let e=[...q.deviceSizes,...q.imageSizes].sort((e,t)=>e-t),t=q.deviceSizes.sort((e,t)=>e-t),r=q.qualities?.sort((e,t)=>e-t);P={...q,allSizes:e,deviceSizes:t,qualities:r}}if(void 0===z)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let F=S.loader||z;delete S.loader,delete S.srcSet;let W="__next_img_default"in F;if(W){if("custom"===P.loader)throw Object.defineProperty(Error(`Image with src "${e}" is missing "loader" prop.
95
+ Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=F;F=t=>{let{config:r,...s}=t;return e(s)}}if(N){"fill"===N&&(g=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[N];e&&(p={...p,...e});let r={responsive:"100vw",fill:"100vw"}[N];r&&!t&&(t=r)}let U="",K=d(h),B=d(x);if((R=e)&&"object"==typeof R&&(n(R)||void 0!==R.src)){let t=n(e)?e.default:e;if(!t.src)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!t.height||!t.width)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(A=t.blurWidth,$=t.blurHeight,y=y||t.blurDataURL,U=t.src,!g)if(K||B){if(K&&!B){let e=K/t.width;B=Math.round(t.height*e)}else if(!K&&B){let e=B/t.height;K=Math.round(t.width*e)}}else K=t.width,B=t.height}let G=!o&&!u&&("lazy"===c||void 0===c);(!(e="string"==typeof e?e:U)||e.startsWith("data:")||e.startsWith("blob:"))&&(r=!0,G=!1),P.unoptimized&&(r=!0),W&&!P.dangerouslyAllowSVG&&e.split("?",1)[0].endsWith(".svg")&&(r=!0);let Z=d(m),V=Object.assign(g?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:_,objectPosition:k}:{},L?{}:{color:"transparent"},p),X=T||"empty"===w?null:"blur"===w?`url("data:image/svg+xml;charset=utf-8,${(0,a.getImageBlurSvg)({widthInt:K,heightInt:B,blurWidth:A,blurHeight:$,blurDataURL:y||"",objectFit:V.objectFit})}")`:`url("${w}")`,H=i.includes(V.objectFit)?"fill"===V.objectFit?"100% 100%":"cover":V.objectFit,J=X?{backgroundSize:H,backgroundPosition:V.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:X}:{},Q=function({config:e,src:t,unoptimized:r,width:a,quality:l,sizes:i,loader:n}){if(r){let e=(0,s.getDeploymentId)();if(t.startsWith("/")&&!t.startsWith("//")&&e){let r=t.includes("?")?"&":"?";t=`${t}${r}dpl=${e}`}return{src:t,srcSet:void 0,sizes:void 0}}let{widths:d,kind:o}=function({deviceSizes:e,allSizes:t},r,s){if(s){let r=/(^|\s)(1?\d?\d)vw/g,a=[];for(let e;e=r.exec(s);)a.push(parseInt(e[2]));if(a.length){let r=.01*Math.min(...a);return{widths:t.filter(t=>t>=e[0]*r),kind:"w"}}return{widths:t,kind:"w"}}return"number"!=typeof r?{widths:e,kind:"w"}:{widths:[...new Set([r,2*r].map(e=>t.find(t=>t>=e)||t[t.length-1]))],kind:"x"}}(e,a,i),u=d.length-1;return{sizes:i||"w"!==o?i:"100vw",srcSet:d.map((r,s)=>`${n({config:e,src:t,quality:l,width:r})} ${"w"===o?r:s+1}${o}`).join(", "),src:n({config:e,src:t,quality:l,width:d[u]})}}({config:P,src:e,unoptimized:r,width:K,quality:Z,sizes:t,loader:F}),Y=G?"lazy":c;return{props:{...S,loading:Y,fetchPriority:C,width:K,height:B,decoding:E,className:f,style:{...V,...J},sizes:Q.sizes,srcSet:Q.srcSet,src:b||Q.src},meta:{unoptimized:r,preload:u||o,placeholder:w,fill:g}}}},73837,(e,t,r)=>{"use strict";function s(e,t){let r=e||75;return t?.qualities?.length?t.qualities.reduce((e,t)=>Math.abs(t-r)<Math.abs(e-r)?t:e,0):r}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"findClosestQuality",{enumerable:!0,get:function(){return s}})},47189,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return i}});let s=e.r(73837),a=e.r(50907);function l({config:e,src:t,width:r,quality:l}){if(t.startsWith("/")&&t.includes("?")&&e.localPatterns?.length===1&&"**"===e.localPatterns[0].pathname&&""===e.localPatterns[0].search)throw Object.defineProperty(Error(`Image with src "${t}" is using a query string which is not configured in images.localPatterns.
96
+ Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,configurable:!0});let i=(0,s.findClosestQuality)(l,e),n=(0,a.getDeploymentId)();return`${e.path}?url=${encodeURIComponent(t)}&w=${r}&q=${i}${t.startsWith("/")&&n?`&dpl=${n}`:""}`}l.__next_img_default=!0;let i=l},68610,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"Image",{enumerable:!0,get:function(){return v}});let s=e.r(11004),a=e.r(11080),l=e.r(69178),i=a._(e.r(1415)),n=s._(e.r(93736)),d=s._(e.r(84437)),o=e.r(6611),u=e.r(17362),c=e.r(76648);e.r(59523);let f=e.r(73757),m=s._(e.r(47189)),h=e.r(77902),x={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0};function g(e,t,r,s,a,l,i){let n=e?.src;e&&e["data-loaded-src"]!==n&&(e["data-loaded-src"]=n,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&a(!0),r?.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let s=!1,a=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>s,isPropagationStopped:()=>a,persist:()=>{},preventDefault:()=>{s=!0,t.preventDefault()},stopPropagation:()=>{a=!0,t.stopPropagation()}})}s?.current&&s.current(e)}}))}function p(e){return i.use?{fetchPriority:e}:{fetchpriority:e}}"undefined"==typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let b=(0,i.forwardRef)(({src:e,srcSet:t,sizes:r,height:s,width:a,decoding:n,className:d,style:o,fetchPriority:u,placeholder:c,loading:f,unoptimized:m,fill:x,onLoadRef:b,onLoadingCompleteRef:j,setBlurComplete:v,setShowAltText:w,sizesInput:y,onLoad:C,onError:E,...N},_)=>{let k=(0,i.useCallback)(e=>{e&&(E&&(e.src=e.src),e.complete&&g(e,c,b,j,v,m,y))},[e,c,b,j,v,E,m,y]),I=(0,h.useMergedRef)(_,k);return(0,l.jsx)("img",{...N,...p(u),loading:f,width:a,height:s,decoding:n,"data-nimg":x?"fill":"1",className:d,style:o,sizes:r,srcSet:t,src:e,ref:I,onLoad:e=>{g(e.currentTarget,c,b,j,v,m,y)},onError:e=>{w(!0),"empty"!==c&&v(!0),E&&E(e)}})});function j({isAppRouter:e,imgAttributes:t}){let r={as:"image",imageSrcSet:t.srcSet,imageSizes:t.sizes,crossOrigin:t.crossOrigin,referrerPolicy:t.referrerPolicy,...p(t.fetchPriority)};return e&&n.default.preload?(n.default.preload(t.src,r),null):(0,l.jsx)(d.default,{children:(0,l.jsx)("link",{rel:"preload",href:t.srcSet?void 0:t.src,...r},"__nimg-"+t.src+t.srcSet+t.sizes)})}let v=(0,i.forwardRef)((e,t)=>{let r=(0,i.useContext)(f.RouterContext),s=(0,i.useContext)(c.ImageConfigContext),a=(0,i.useMemo)(()=>{let e=x||s||u.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),r=e.deviceSizes.sort((e,t)=>e-t),a=e.qualities?.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:r,qualities:a,localPatterns:"undefined"==typeof window?s?.localPatterns:e.localPatterns}},[s]),{onLoad:n,onLoadingComplete:d}=e,h=(0,i.useRef)(n);(0,i.useEffect)(()=>{h.current=n},[n]);let g=(0,i.useRef)(d);(0,i.useEffect)(()=>{g.current=d},[d]);let[p,v]=(0,i.useState)(!1),[w,y]=(0,i.useState)(!1),{props:C,meta:E}=(0,o.getImgProps)(e,{defaultLoader:m.default,imgConf:a,blurComplete:p,showAltText:w});return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(b,{...C,unoptimized:E.unoptimized,placeholder:E.placeholder,fill:E.fill,onLoadRef:h,onLoadingCompleteRef:g,setBlurComplete:v,setShowAltText:y,sizesInput:e.sizes,ref:t}),E.preload?(0,l.jsx)(j,{isAppRouter:!r,imgAttributes:C}):null]})});("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},537,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s={default:function(){return u},getImageProps:function(){return o}};for(var a in s)Object.defineProperty(r,a,{enumerable:!0,get:s[a]});let l=e.r(11004),i=e.r(6611),n=e.r(68610),d=l._(e.r(47189));function o(e){let{props:t}=(0,i.getImgProps)(e,{defaultLoader:d.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let u=n.Image},78338,(e,t,r)=>{t.exports=e.r(537)},53041,9570,e=>{"use strict";var t=e.i(69178),r=e.i(78338),s=e.i(1415),a=e.i(98183);let l=({src:e,width:t,quality:r=75})=>e?`${e}?w=${t}&q=${r}`:"/no-image.jpg";e.s(["default",0,l],9570);let i=({className:e="w-full h-full",width:r=200,height:s=200})=>(0,t.jsxs)("svg",{width:r,height:s,viewBox:"0 0 200 200",fill:"none",className:e,xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("rect",{x:"10",y:"10",width:"180",height:"180",rx:"8",stroke:"currentColor",strokeWidth:"3",strokeDasharray:"8 4",fill:"transparent",className:"text-slate-800 dark:text-slate-400"}),(0,t.jsx)("rect",{x:"40",y:"40",width:"120",height:"80",rx:"4",stroke:"currentColor",strokeWidth:"3",fill:"transparent"}),(0,t.jsx)("path",{d:"M50 100 L70 80 L90 95 L110 75 L130 90 L150 70",stroke:"currentColor",strokeWidth:"3",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),(0,t.jsx)("circle",{cx:"130",cy:"55",r:"8",stroke:"currentColor",strokeWidth:"3",fill:"transparent"}),(0,t.jsx)("text",{x:"100",y:"145",textAnchor:"middle",className:"text-slate-800 dark:text-slate-300 text-sm font-semibold",fill:"currentColor",children:"No Image"})]});e.s(["default",0,({fallbackSrc:e="",src:n,...d})=>{let[o,u]=(0,s.useState)(n),[c,f]=(0,s.useState)(!1),{formatMessage:m}=(0,a.useIntl)();return c||!o?(0,t.jsx)("div",{className:d.className||"w-full h-full flex items-center justify-center bg-slate-50 dark:bg-slate-800",children:(0,t.jsx)(i,{width:d.width||200,height:d.height||200,className:"max-w-full max-h-full"})}):(0,t.jsx)(r.default,{src:o,loader:l,alt:m({id:"image-not-found",defaultMessage:"Image not found"}),...d,onError:()=>{e&&o!==e?u(e):f(!0)}})}],53041)},6356,e=>{"use strict";e.s(["default",0,(e={})=>{let{_id:t,texts:r}=e||{};return r||t?`${r?.slug?.split("/").join("")||""}_id_${t}`:null},"parseSlug",0,e=>{if(!e)return null;let[t]=e?.split("_id_")||[];return t},"parseUniqueId",0,e=>{if(!e)return null;let t=e?.split("_id_");return t?.pop()}])},21935,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m2.25 15.75 5.159-5.159a2.25 2.25 0 0 1 3.182 0l5.159 5.159m-1.5-1.5 1.409-1.409a2.25 2.25 0 0 1 3.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 0 0 1.5-1.5V6a1.5 1.5 0 0 0-1.5-1.5H3.75A1.5 1.5 0 0 0 2.25 6v12a1.5 1.5 0 0 0 1.5 1.5Zm10.5-11.25h.008v.008h-.008V8.25Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"}))});e.s(["PhotoIcon",0,r],21935)},71038,e=>{"use strict";var t=e.i(69178),r=e.i(21935),s=e.i(13071);e.s(["default",0,({className:e="",containerClassName:a="",Icon:l=null})=>(0,t.jsx)("span",{className:(0,s.default)("text-slate-400",a),children:l||(0,t.jsx)(r.PhotoIcon,{className:(0,s.default)(e)})})])},89145,e=>{"use strict";var t=e.i(69178),r=e.i(98183),s=e.i(72670),a=e.i(39381);let l={PENDING:"bg-yellow-100 text-yellow-800",CONFIRMED:"bg-blue-100 text-blue-800",OPEN:"bg-gray-100 text-gray-800",FULFILLED:"bg-green-100 text-green-800",REJECTED:"bg-red-100 text-red-800"};e.s(["OrderStatusBadge",0,({status:e,className:i=""})=>{let{formatMessage:n}=(0,r.useIntl)(),d={PENDING:n({id:"pending",defaultMessage:"PENDING"}),CONFIRMED:n({id:"confirmed",defaultMessage:"CONFIRMED"}),OPEN:n({id:"open",defaultMessage:"OPEN"}),FULFILLED:n({id:"fulfilled",defaultMessage:"FULFILLED"}),REJECTED:n({id:"rejected",defaultMessage:"REJECTED"})},o=d?.[e]??n({id:"cart",defaultMessage:"Cart"});return l?.[e],(0,t.jsx)(s.default,{text:o,color:a.ORDER_STATUSES[e],square:!0,className:`uppercase ${i}`})}])},38727,e=>{"use strict";var t=e.i(71983),r=e.i(13686);let s=t.gql`
97
+ mutation SendEnrollmentEmail($email: String!) {
98
+ sendEnrollmentEmail(email: $email) {
99
+ success
100
+ }
101
+ }
102
+ `;e.s(["default",0,()=>{let[e]=(0,r.useMutation)(s);return{sendEnrollmentEmail:async({email:t})=>e({variables:{email:t}})}}])},80823,54126,e=>{"use strict";var t=e.i(69178),r=e.i(98183),s=e.i(98531),a=e.i(30758),l=e.i(72670),i=e.i(81751),n=e.i(25863),d=e.i(6356),o=e.i(70079),u=e.i(39381);let c=({quotation:e,showUser:c})=>{let{formatMessage:f}=(0,r.useIntl)(),{formatDateTime:m}=(0,o.default)();return(0,t.jsxs)(s.default.Row,{children:[(0,t.jsx)(s.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm ",children:(0,t.jsx)(a.default,{href:`/quotations?quotationId=${e?._id}`,className:"font-medium text-slate-800 dark:text-slate-700",children:e?.quotationNumber||e?._id})})}),(0,t.jsx)(s.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm ",children:m(e.created,{dateStyle:"short",timeStyle:"short"})})}),(0,t.jsx)(s.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm ",children:e.isExpired?(0,t.jsx)(l.default,{text:f({id:"expired",defaultMessage:"Expired"}),color:"amber"}):m(e?.expires,{dateStyle:"short",timeStyle:"short"})})}),c&&(0,t.jsx)(s.default.Cell,{children:(0,t.jsxs)(a.default,{href:`/users?userId=${e?.user._id}`,className:"flex items-center text-sm text-slate-800 dark:text-slate-700 hover:text-decoration",children:[(0,t.jsx)(i.default,{file:e?.user?.avatar,className:"mr-2"}),(0,t.jsx)("span",{className:"font-medium ml-2",children:(0,n.default)(e?.user)})]})}),(0,t.jsx)(s.default.Cell,{children:(0,t.jsx)("div",{children:(0,t.jsxs)(a.default,{href:`/products?slug=${(0,d.default)(e.product)}`,className:"flex items-center text-sm text-slate-800 dark:text-slate-700 hover:text-decoration",children:[(0,t.jsx)(i.default,{file:e.product?.media[0]?.file,className:"mr-3"}),(0,t.jsx)("span",{className:"font-medium ml-2",children:e?.product.texts.title})]})})}),(0,t.jsx)(s.default.Cell,{children:(0,t.jsx)(l.default,{text:e?.status,color:u.QUOTATION_STATUS[e?.status],square:!0})})]})};e.s(["default",0,({quotations:e,sortable:a=!1,showUser:l=!1})=>{let{formatMessage:i}=(0,r.useIntl)();return(0,t.jsxs)(s.default,{className:"min-w-full",children:[e?.map(e=>(0,t.jsxs)(s.default.Row,{header:!0,enablesort:a,children:[(0,t.jsx)(s.default.Cell,{sortKey:"quotationNumber",children:i({id:"quotation_number",defaultMessage:"Quotation number"})}),(0,t.jsx)(s.default.Cell,{sortKey:"created",children:i({id:"created",defaultMessage:"Created"})}),(0,t.jsx)(s.default.Cell,{sortKey:"expires",children:i({id:"expires",defaultMessage:"Expires"})}),l&&(0,t.jsx)(s.default.Cell,{children:i({id:"user",defaultMessage:"User"})}),(0,t.jsx)(s.default.Cell,{children:i({id:"product",defaultMessage:"Product"})}),(0,t.jsx)(s.default.Cell,{sortKey:"status",children:i({id:"status",defaultMessage:"Status"})})]},e._id)),e?.map(e=>(0,t.jsx)(c,{showUser:l,quotation:e},`${e?._id}-body`))]})}],80823);var f=e.i(71983);let m=f.gql`
103
+ fragment QuotationFragment on Quotation {
104
+ _id
105
+ user {
106
+ _id
107
+ username
108
+ avatar {
109
+ _id
110
+ url
111
+ }
112
+ name
113
+ primaryEmail {
114
+ verified
115
+ address
116
+ }
117
+ }
118
+ product {
119
+ _id
120
+ texts {
121
+ _id
122
+ slug
123
+ subtitle
124
+ title
125
+ description
126
+ }
127
+ media {
128
+ _id
129
+ file {
130
+ _id
131
+ type
132
+ url
133
+ }
134
+ }
135
+ }
136
+ currency {
137
+ _id
138
+ contractAddress
139
+ decimals
140
+ isoCode
141
+ }
142
+ status
143
+ created
144
+ expires
145
+ updated
146
+ isExpired
147
+ quotationNumber
148
+ fulfilled
149
+ rejected
150
+ }
151
+ `;e.s(["default",0,m],54126)},5460,e=>{"use strict";var t=e.i(71983);let r=t.gql`
152
+ fragment OrderFragment on Order {
153
+ _id
154
+ status
155
+ created
156
+ updated
157
+ ordered
158
+ orderNumber
159
+ confirmed
160
+ fulfilled
161
+ contact {
162
+ telNumber
163
+ emailAddress
164
+ }
165
+ total {
166
+ isTaxable
167
+ isNetPrice
168
+ amount
169
+ currencyCode
170
+ }
171
+ user {
172
+ _id
173
+ username
174
+ isGuest
175
+ avatar {
176
+ _id
177
+ url
178
+ }
179
+ profile {
180
+ displayName
181
+ address {
182
+ firstName
183
+ lastName
184
+ }
185
+ }
186
+ }
187
+ }
188
+ `;e.s(["default",0,r])},10464,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{fillRule:"evenodd",d:"M2.5 4A1.5 1.5 0 0 0 1 5.5V6h18v-.5A1.5 1.5 0 0 0 17.5 4h-15ZM19 8.5H1v6A1.5 1.5 0 0 0 2.5 16h15a1.5 1.5 0 0 0 1.5-1.5v-6ZM3 13.25a.75.75 0 0 1 .75-.75h1.5a.75.75 0 0 1 0 1.5h-1.5a.75.75 0 0 1-.75-.75Zm4.75-.75a.75.75 0 0 0 0 1.5h3.5a.75.75 0 0 0 0-1.5h-3.5Z",clipRule:"evenodd"}))});e.s(["CreditCardIcon",0,r],10464)},46738,e=>{"use strict";var t=e.i(69178),r=e.i(98183),s=e.i(98531),a=e.i(30758),l=e.i(72670),i=e.i(25863),n=e.i(70079),d=e.i(81907),o=e.i(89145);let u=({order:e,showUser:u})=>{let{formatMessage:c}=(0,r.useIntl)(),{formatPrice:f}=(0,d.useFormatPrice)(),{formatDateTime:m}=(0,n.default)();return(0,t.jsxs)(s.default.Row,{className:"group",children:[(0,t.jsx)(s.default.Cell,{children:(0,t.jsx)(a.default,{href:`/orders?orderId=${e._id}`,className:"flex items-center gap-3 text-sm font-medium text-slate-800 dark:text-slate-300 group-hover:text-slate-900 dark:group-hover:text-slate-200",children:e?.orderNumber||(0,t.jsxs)(t.Fragment,{children:[e._id," ",(0,t.jsx)(l.default,{color:"yellow",text:c({id:"cart",defaultMessage:"Cart"})})]})})}),(0,t.jsx)(s.default.Cell,{children:(0,t.jsx)(a.default,{href:`/orders?orderId=${e._id}`,className:"flex items-center text-sm dark:text-slate-300",children:m(e.ordered,{dateStyle:"short",timeStyle:"short"})})}),(0,t.jsx)(s.default.Cell,{children:(0,t.jsx)(a.default,{href:`/orders?orderId=${e._id}`,className:"flex items-center text-sm dark:text-slate-300",children:f(e.total)})}),u&&e.user&&(0,t.jsx)(s.default.Cell,{children:(0,t.jsx)(a.default,{href:`/users?userId=${e.user._id}`,className:"flex items-center text-sm text-slate-800 dark:text-slate-300 hover:text-decoration",onClick:e=>e.stopPropagation(),children:(0,t.jsx)("span",{className:"font-medium",children:(0,i.default)(e.user)})})}),(0,t.jsx)(s.default.Cell,{children:(0,t.jsx)(a.default,{href:`/orders?orderId=${e._id}`,className:"block",children:(0,t.jsx)(o.OrderStatusBadge,{status:e.status})})})]})};e.s(["default",0,({orders:e,showUser:a,loading:l,sortable:i})=>{let{formatMessage:n}=(0,r.useIntl)();return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(s.default,{className:"min-w-full",children:[(e||[])?.map(e=>(0,t.jsxs)(s.default.Row,{header:!0,enablesort:i,children:[(0,t.jsx)(s.default.Cell,{sortKey:"orderNumber",children:n({id:"order_number",defaultMessage:"Order #"})}),(0,t.jsx)(s.default.Cell,{sortKey:"ordered",defaultSortDirection:"DESC",children:n({id:"order_date",defaultMessage:"Order date"})}),(0,t.jsx)(s.default.Cell,{children:n({id:"total",defaultMessage:"Total"})}),a&&(0,t.jsx)(s.default.Cell,{children:n({id:"user",defaultMessage:"User"})}),(0,t.jsx)(s.default.Cell,{sortKey:"status",children:n({id:"status",defaultMessage:"Status"})})]},e._id)),(e||[])?.map(e=>(0,t.jsx)(u,{order:e,showUser:!0},`${e?._id}-body`))]})})}],46738)}]);
@@ -0,0 +1,26 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,17362,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s={VALID_LOADERS:function(){return a},imageConfigDefault:function(){return l}};for(var i in s)Object.defineProperty(r,i,{enumerable:!0,get:s[i]});let a=["default","imgix","cloudinary","akamai","custom"],l={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],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,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ImageConfigContext",{enumerable:!0,get:function(){return a}});let s=e.r(11004)._(e.r(1415)),i=e.r(17362),a=s.default.createContext(i.imageConfigDefault)},27946,(e,t,r)=>{"use strict";function s({widthInt:e,heightInt:t,blurWidth:r,blurHeight:s,blurDataURL:i,objectFit:a}){let l=r?40*r:e,n=s?40*s:t,o=l&&n?`viewBox='0 0 ${l} ${n}'`:"";return`%3Csvg xmlns='http://www.w3.org/2000/svg' ${o}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${o?"none":"contain"===a?"xMidYMid":"cover"===a?"xMidYMid slice":"none"}' style='filter: url(%23b);' href='${i}'/%3E%3C/svg%3E`}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getImageBlurSvg",{enumerable:!0,get:function(){return s}})},6611,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getImgProps",{enumerable:!0,get:function(){return d}}),e.r(59523);let s=e.r(50907),i=e.r(27946),a=e.r(17362),l=["-moz-initial","fill","none","scale-down",void 0];function n(e){return void 0!==e.default}function o(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function d({src:e,sizes:t,unoptimized:r=!1,priority:d=!1,preload:u=!1,loading:c,className:m,quality:f,width:g,height:h,fill:p=!1,style:x,overrideSrc:b,onLoad:w,onLoadingComplete:v,placeholder:y="empty",blurDataURL:j,fetchPriority:_,decoding:P="async",layout:C,objectFit:E,objectPosition:S,lazyBoundary:k,lazyRoot:O,...M},N){var R;let $,A,I,{imgConf:z,showAltText:L,blurComplete:T,defaultLoader:D}=N,U=z||a.imageConfigDefault;if("allSizes"in U)$=U;else{let e=[...U.deviceSizes,...U.imageSizes].sort((e,t)=>e-t),t=U.deviceSizes.sort((e,t)=>e-t),r=U.qualities?.sort((e,t)=>e-t);$={...U,allSizes:e,deviceSizes:t,qualities:r}}if(void 0===D)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let W=M.loader||D;delete M.loader,delete M.srcSet;let q="__next_img_default"in W;if(q){if("custom"===$.loader)throw Object.defineProperty(Error(`Image with src "${e}" is missing "loader" prop.
2
+ Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=W;W=t=>{let{config:r,...s}=t;return e(s)}}if(C){"fill"===C&&(p=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[C];e&&(x={...x,...e});let r={responsive:"100vw",fill:"100vw"}[C];r&&!t&&(t=r)}let B="",F=o(g),K=o(h);if((R=e)&&"object"==typeof R&&(n(R)||void 0!==R.src)){let t=n(e)?e.default:e;if(!t.src)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!t.height||!t.width)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(A=t.blurWidth,I=t.blurHeight,j=j||t.blurDataURL,B=t.src,!p)if(F||K){if(F&&!K){let e=F/t.width;K=Math.round(t.height*e)}else if(!F&&K){let e=K/t.height;F=Math.round(t.width*e)}}else F=t.width,K=t.height}let V=!d&&!u&&("lazy"===c||void 0===c);(!(e="string"==typeof e?e:B)||e.startsWith("data:")||e.startsWith("blob:"))&&(r=!0,V=!1),$.unoptimized&&(r=!0),q&&!$.dangerouslyAllowSVG&&e.split("?",1)[0].endsWith(".svg")&&(r=!0);let G=o(f),X=Object.assign(p?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:E,objectPosition:S}:{},L?{}:{color:"transparent"},x),H=T||"empty"===y?null:"blur"===y?`url("data:image/svg+xml;charset=utf-8,${(0,i.getImageBlurSvg)({widthInt:F,heightInt:K,blurWidth:A,blurHeight:I,blurDataURL:j||"",objectFit:X.objectFit})}")`:`url("${y}")`,J=l.includes(X.objectFit)?"fill"===X.objectFit?"100% 100%":"cover":X.objectFit,Q=H?{backgroundSize:J,backgroundPosition:X.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:H}:{},Y=function({config:e,src:t,unoptimized:r,width:i,quality:a,sizes:l,loader:n}){if(r){let e=(0,s.getDeploymentId)();if(t.startsWith("/")&&!t.startsWith("//")&&e){let r=t.includes("?")?"&":"?";t=`${t}${r}dpl=${e}`}return{src:t,srcSet:void 0,sizes:void 0}}let{widths:o,kind:d}=function({deviceSizes:e,allSizes:t},r,s){if(s){let r=/(^|\s)(1?\d?\d)vw/g,i=[];for(let e;e=r.exec(s);)i.push(parseInt(e[2]));if(i.length){let r=.01*Math.min(...i);return{widths:t.filter(t=>t>=e[0]*r),kind:"w"}}return{widths:t,kind:"w"}}return"number"!=typeof r?{widths:e,kind:"w"}:{widths:[...new Set([r,2*r].map(e=>t.find(t=>t>=e)||t[t.length-1]))],kind:"x"}}(e,i,l),u=o.length-1;return{sizes:l||"w"!==d?l:"100vw",srcSet:o.map((r,s)=>`${n({config:e,src:t,quality:a,width:r})} ${"w"===d?r:s+1}${d}`).join(", "),src:n({config:e,src:t,quality:a,width:o[u]})}}({config:$,src:e,unoptimized:r,width:F,quality:G,sizes:t,loader:W}),Z=V?"lazy":c;return{props:{...M,loading:Z,fetchPriority:_,width:F,height:K,decoding:P,className:m,style:{...X,...Q},sizes:Y.sizes,srcSet:Y.srcSet,src:b||Y.src},meta:{unoptimized:r,preload:u||d,placeholder:y,fill:p}}}},73837,(e,t,r)=>{"use strict";function s(e,t){let r=e||75;return t?.qualities?.length?t.qualities.reduce((e,t)=>Math.abs(t-r)<Math.abs(e-r)?t:e,0):r}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"findClosestQuality",{enumerable:!0,get:function(){return s}})},47189,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return l}});let s=e.r(73837),i=e.r(50907);function a({config:e,src:t,width:r,quality:a}){if(t.startsWith("/")&&t.includes("?")&&e.localPatterns?.length===1&&"**"===e.localPatterns[0].pathname&&""===e.localPatterns[0].search)throw Object.defineProperty(Error(`Image with src "${t}" is using a query string which is not configured in images.localPatterns.
3
+ Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,configurable:!0});let l=(0,s.findClosestQuality)(a,e),n=(0,i.getDeploymentId)();return`${e.path}?url=${encodeURIComponent(t)}&w=${r}&q=${l}${t.startsWith("/")&&n?`&dpl=${n}`:""}`}a.__next_img_default=!0;let l=a},68610,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"Image",{enumerable:!0,get:function(){return v}});let s=e.r(11004),i=e.r(11080),a=e.r(69178),l=i._(e.r(1415)),n=s._(e.r(93736)),o=s._(e.r(84437)),d=e.r(6611),u=e.r(17362),c=e.r(76648);e.r(59523);let m=e.r(73757),f=s._(e.r(47189)),g=e.r(77902),h={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0};function p(e,t,r,s,i,a,l){let n=e?.src;e&&e["data-loaded-src"]!==n&&(e["data-loaded-src"]=n,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),r?.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let s=!1,i=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>s,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{s=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}s?.current&&s.current(e)}}))}function x(e){return l.use?{fetchPriority:e}:{fetchpriority:e}}"undefined"==typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let b=(0,l.forwardRef)(({src:e,srcSet:t,sizes:r,height:s,width:i,decoding:n,className:o,style:d,fetchPriority:u,placeholder:c,loading:m,unoptimized:f,fill:h,onLoadRef:b,onLoadingCompleteRef:w,setBlurComplete:v,setShowAltText:y,sizesInput:j,onLoad:_,onError:P,...C},E)=>{let S=(0,l.useCallback)(e=>{e&&(P&&(e.src=e.src),e.complete&&p(e,c,b,w,v,f,j))},[e,c,b,w,v,P,f,j]),k=(0,g.useMergedRef)(E,S);return(0,a.jsx)("img",{...C,...x(u),loading:m,width:i,height:s,decoding:n,"data-nimg":h?"fill":"1",className:o,style:d,sizes:r,srcSet:t,src:e,ref:k,onLoad:e=>{p(e.currentTarget,c,b,w,v,f,j)},onError:e=>{y(!0),"empty"!==c&&v(!0),P&&P(e)}})});function w({isAppRouter:e,imgAttributes:t}){let r={as:"image",imageSrcSet:t.srcSet,imageSizes:t.sizes,crossOrigin:t.crossOrigin,referrerPolicy:t.referrerPolicy,...x(t.fetchPriority)};return e&&n.default.preload?(n.default.preload(t.src,r),null):(0,a.jsx)(o.default,{children:(0,a.jsx)("link",{rel:"preload",href:t.srcSet?void 0:t.src,...r},"__nimg-"+t.src+t.srcSet+t.sizes)})}let v=(0,l.forwardRef)((e,t)=>{let r=(0,l.useContext)(m.RouterContext),s=(0,l.useContext)(c.ImageConfigContext),i=(0,l.useMemo)(()=>{let e=h||s||u.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),r=e.deviceSizes.sort((e,t)=>e-t),i=e.qualities?.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:r,qualities:i,localPatterns:"undefined"==typeof window?s?.localPatterns:e.localPatterns}},[s]),{onLoad:n,onLoadingComplete:o}=e,g=(0,l.useRef)(n);(0,l.useEffect)(()=>{g.current=n},[n]);let p=(0,l.useRef)(o);(0,l.useEffect)(()=>{p.current=o},[o]);let[x,v]=(0,l.useState)(!1),[y,j]=(0,l.useState)(!1),{props:_,meta:P}=(0,d.getImgProps)(e,{defaultLoader:f.default,imgConf:i,blurComplete:x,showAltText:y});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(b,{..._,unoptimized:P.unoptimized,placeholder:P.placeholder,fill:P.fill,onLoadRef:g,onLoadingCompleteRef:p,setBlurComplete:v,setShowAltText:j,sizesInput:e.sizes,ref:t}),P.preload?(0,a.jsx)(w,{isAppRouter:!r,imgAttributes:_}):null]})});("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},537,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s={default:function(){return u},getImageProps:function(){return d}};for(var i in s)Object.defineProperty(r,i,{enumerable:!0,get:s[i]});let a=e.r(11004),l=e.r(6611),n=e.r(68610),o=a._(e.r(47189));function d(e){let{props:t}=(0,l.getImgProps)(e,{defaultLoader:o.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let u=n.Image},78338,(e,t,r)=>{t.exports=e.r(537)},53041,9570,e=>{"use strict";var t=e.i(69178),r=e.i(78338),s=e.i(1415),i=e.i(98183);let a=({src:e,width:t,quality:r=75})=>e?`${e}?w=${t}&q=${r}`:"/no-image.jpg";e.s(["default",0,a],9570);let l=({className:e="w-full h-full",width:r=200,height:s=200})=>(0,t.jsxs)("svg",{width:r,height:s,viewBox:"0 0 200 200",fill:"none",className:e,xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("rect",{x:"10",y:"10",width:"180",height:"180",rx:"8",stroke:"currentColor",strokeWidth:"3",strokeDasharray:"8 4",fill:"transparent",className:"text-slate-800 dark:text-slate-400"}),(0,t.jsx)("rect",{x:"40",y:"40",width:"120",height:"80",rx:"4",stroke:"currentColor",strokeWidth:"3",fill:"transparent"}),(0,t.jsx)("path",{d:"M50 100 L70 80 L90 95 L110 75 L130 90 L150 70",stroke:"currentColor",strokeWidth:"3",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),(0,t.jsx)("circle",{cx:"130",cy:"55",r:"8",stroke:"currentColor",strokeWidth:"3",fill:"transparent"}),(0,t.jsx)("text",{x:"100",y:"145",textAnchor:"middle",className:"text-slate-800 dark:text-slate-300 text-sm font-semibold",fill:"currentColor",children:"No Image"})]});e.s(["default",0,({fallbackSrc:e="",src:n,...o})=>{let[d,u]=(0,s.useState)(n),[c,m]=(0,s.useState)(!1),{formatMessage:f}=(0,i.useIntl)();return c||!d?(0,t.jsx)("div",{className:o.className||"w-full h-full flex items-center justify-center bg-slate-50 dark:bg-slate-800",children:(0,t.jsx)(l,{width:o.width||200,height:o.height||200,className:"max-w-full max-h-full"})}):(0,t.jsx)(r.default,{src:d,loader:a,alt:f({id:"image-not-found",defaultMessage:"Image not found"}),...o,onError:()=>{e&&d!==e?u(e):m(!0)}})}],53041)},28156,e=>{"use strict";var t=e.i(69178),r=e.i(1415),s=e.i(70882);let i=(e,t="")=>Object.fromEntries(Object.entries(e).reduce((e=[],[s,a])=>"string"==typeof a||r.default.isValidElement(a)?[...e,[`${t}${s}`,a]]:[...Object.entries(i(Object.assign({},...a),`${t}${s}.`)),...e],[])),a=({submitError:e="",fieldErrors:s=[]})=>(0,t.jsx)("div",{className:"my-2 mb-5 text-rose-700",children:(0,t.jsxs)("ul",{className:"space-y-1",children:[e&&(0,t.jsx)("li",{className:"disabled",children:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:e}})},"submitError"),Object.entries(i(s)).map(([e,s])=>(0,t.jsx)("li",{className:"disabled",children:(0,t.jsx)("button",{type:"button",className:"no-button text-rose-600 dark:text-rose-400","aria-label":"Error button",onClick:()=>{let t=document.getElementById(e);t&&t.focus()},children:r.default.isValidElement(s)?s:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:s}})})},e))]})});e.s(["default",0,({displayFieldErrors:e=!1})=>{let{submitError:r,formik:i}=(0,s.default)(),l=i?.errors;return(r||e)&&(0,t.jsx)(a,{submitError:r,fieldErrors:e&&l})}])},97946,e=>{"use strict";var t=e.i(69178),r=e.i(13071),s=e.i(1415),i=e.i(68686);e.s(["default",0,({autoComplete:e="on",...a})=>{let[l,n]=(0,s.useState)(!1),o=e=>{e.preventDefault(),n(!l)};return(0,t.jsxs)("div",{className:(0,r.default)("relative",a.className),children:[(0,t.jsx)(i.default,{autoComplete:e||"on",name:"password",...a,type:l?"text":"password"}),(0,t.jsx)("span",{role:"button",tabIndex:-1,"aria-label":"toggle password visibility",className:"absolute translate-y-[-137%] outline-hidden block right-3",onClick:o,onKeyUp:o,children:l?(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6 stroke-slate-700",fill:"none",viewBox:"0 0 24 24",children:[(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"}),(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"})]}):(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6 stroke-slate-700",fill:"none",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M13.875 18.825A10.05 10.05 0 0112 19c-4.478 0-8.268-2.943-9.543-7a9.97 9.97 0 011.563-3.029m5.858.908a3 3 0 114.243 4.243M9.878 9.878l4.242 4.242M9.88 9.88l-3.29-3.29m7.532 7.532l3.29 3.29M3 3l3.59 3.59m0 0A9.953 9.953 0 0112 5c4.478 0 8.268 2.943 9.543 7a10.025 10.025 0 01-4.132 5.411m0 0L21 21"})})})]})}])},71987,e=>{"use strict";e.s(["default",0,e=>{if(window.atob&&Uint8Array){let t=e.replace(/-/g,"+").replace(/_/g,"/"),r=t+"=".repeat((4-t.length%4)%4),s=window.atob(r),i=s.length,a=new Uint8Array(i);for(let e=0;e<i;e+=1)a[e]=s.charCodeAt(e);return a.buffer}throw Error("The atob and Uint8Array methods are not available")}])},75005,e=>{"use strict";var t=e.i(71987),r=e.i(71983),s=e.i(13686);let i=r.gql`
4
+ mutation CreateWebAuthnCredentialCreationOptions($username: String!) {
5
+ createWebAuthnCredentialCreationOptions(username: $username)
6
+ }
7
+ `,a=e=>window.btoa(String.fromCharCode(...new Uint8Array(e))).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"");e.s(["default",0,()=>{let{createWebAuthnCredentialCreationOptions:e}=(()=>{let[e]=(0,s.useMutation)(i);return{createWebAuthnCredentialCreationOptions:async({username:t})=>e({variables:{username:t}})}})();return{generateWebAuthCredentials:async({username:r})=>{let{data:s}=await e({username:r}),{createWebAuthnCredentialCreationOptions:i}=s,l=new TextEncoder;i.challenge=(0,t.default)(i.challenge),i.user={id:l.encode(r),name:r,displayName:r};let n=await navigator.credentials.create({publicKey:i}),o=a(n.response.attestationObject),d=a(n.response.clientDataJSON),u=a(n.rawId),c=n.response.getAuthenticatorData?a(n.response.getAuthenticatorData()):"",m=n.response.getPublicKey?a(n.response.getPublicKey()):"";return{id:u,rawId:u,response:{clientDataJSON:d,attestationObject:o,authenticatorData:c,publicKey:m,publicKeyAlgorithm:n.response.getPublicKeyAlgorithm?n.response.getPublicKeyAlgorithm():-7,transports:n.response.getTransports?n.response.getTransports():["internal"]},authenticatorAttachment:n.authenticatorAttachment||"platform",clientExtensionResults:n.getClientExtensionResults?.()||{},type:"public-key",user:{id:r,name:r,displayName:r}}}}}],75005)},52089,e=>{"use strict";var t=e.i(69178),r=e.i(49061),s=e.i(1415),i=e.i(71983),a=e.i(13686);let l=i.gql`
8
+ mutation CreateUser(
9
+ $username: String
10
+ $email: String
11
+ $plainPassword: String
12
+ $profile: UserProfileInput
13
+ $webAuthnPublicKeyCredentials: JSON
14
+ ) {
15
+ createUser(
16
+ username: $username
17
+ email: $email
18
+ password: $plainPassword
19
+ profile: $profile
20
+ webAuthnPublicKeyCredentials: $webAuthnPublicKeyCredentials
21
+ ) {
22
+ _id
23
+ tokenExpires
24
+ }
25
+ }
26
+ `;var n=e.i(75005);e.i(27999);var o=e.i(30758),d=e.i(98183),u=e.i(12442),c=e.i(53041),m=e.i(62010),f=e.i(28156),g=e.i(97946),h=e.i(68686),p=e.i(5641),x=e.i(62458);let b=({onSubmit:e,onSubmitSuccess:r,authenticateWithDevice:i,onAuthenticateWithDeviceChange:a,disableLoginRedirectLink:l=!1,submitButtonText:n=null,formHeaderText:b=null})=>{let{formatMessage:w}=(0,d.useIntl)(),[v,y]=(0,s.useState)(!1),j=(0,p.default)({getSubmitErrorMessage:e=>e?.message?.toLowerCase().includes("email already exists")?(j.formik.setFieldError("email",w({id:"email_exists_error",defaultMessage:"Email already exists"})),w({id:"email_exists_error",defaultMessage:"Email already exists"})):e?.message?.includes("challenge mismatch")||e?.message?.includes("already exists")?(j.formik.setFieldError("username",w({id:"username_or_email_taken",defaultMessage:"Username taken, Please provided different username"})),w({id:"username_or_email_taken",defaultMessage:"Username taken, Please provided different username"})):e?.extensions?.code.includes("PasswordInvalidError")?(j.formik.setFieldError("plainPassword",w({id:"password_insecure",defaultMessage:"Password is invalid, maybe too insecure"})),w({id:"password_insecure",defaultMessage:"Password is invalid, maybe too insecure"})):e?.message||"",submit:e,onSubmitSuccess:r,initialValues:{username:null,email:null,plainPassword:null}});return(0,s.useEffect)(()=>{window.PublicKeyCredential&&y(!0)},[]),(0,t.jsx)("div",{className:"flex min-h-full items-center justify-center py-12 px-4 sm:px-6 lg:px-8",children:(0,t.jsxs)("div",{className:"w-full max-w-md space-y-4 text-center",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(c.default,{className:"mx-auto",src:"/logo-light.svg",width:160,height:100,alt:w({id:"unchained_logo",defaultMessage:"Unchained Logo"})}),(0,t.jsx)("h2",{className:"text-center text-3xl text-slate-900 dark:text-slate-200",children:b||w({id:"sign_up_header",defaultMessage:"Create new account"})})]}),(0,t.jsx)(u.default,{children:(0,t.jsxs)(m.default,{form:j,className:"mt-8 space-y-6 pt-4 pb-8 shadow-sm sm:rounded-lg sm:px-10",children:[(0,t.jsx)("input",{type:"hidden",name:"remember",value:"true"}),(0,t.jsxs)("div",{className:"space-y-6 rounded-md shadow-xs",children:[(0,t.jsx)("div",{children:(0,t.jsx)(h.default,{id:"username",name:"username",required:i,type:"text",label:w({id:"username",defaultMessage:"Username"})})}),!i&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{children:(0,t.jsx)(h.default,{id:"email",name:"email",type:"email",required:!0,label:w({id:"email",defaultMessage:"Email"})})}),(0,t.jsx)("div",{children:(0,t.jsx)(g.default,{id:"plainPassword",name:"plainPassword",autoComplete:"current-password",required:!0,label:w({id:"password",defaultMessage:"Password"})})})]}),v&&(0,t.jsx)(x.default,{onToggle:a,toggleText:w({id:"use_authenticator",defaultMessage:"Use authenticator"}),className:"ml-2 my-3",active:i})]}),(0,t.jsx)(f.default,{}),(0,t.jsx)("div",{className:"my-2",children:(0,t.jsxs)("button",{type:"submit",className:"group relative flex w-full justify-center rounded-md border border-transparent bg-slate-800 dark:bg-slate-600 py-2 px-4 text-sm font-medium text-white hover:bg-slate-950 dark:hover:bg-slate-500 focus:outline-hidden focus:ring-2 focus:ring-slate-800 dark:focus:ring-slate-400 focus:ring-offset-2",children:[(0,t.jsx)("span",{className:"absolute inset-y-0 left-0 flex items-center pl-3",children:(0,t.jsx)("svg",{className:"h-5 w-5 text-slate-900 group-hover:text-slate-800",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M5 9V7a5 5 0 0110 0v2a2 2 0 012 2v5a2 2 0 01-2 2H5a2 2 0 01-2-2v-5a2 2 0 012-2zm8-2v2H7V7a3 3 0 016 0z",clipRule:"evenodd"})})}),n||w({id:"sign_up",defaultMessage:"Sign up"})]})}),!l&&(0,t.jsxs)("div",{className:"text-sm text-slate-400 dark:text-slate-200",children:[w({id:"already_got_a_user",defaultMessage:"Already got a user?"}),(0,t.jsx)(o.default,{href:"/log-in",className:" ml-2 font-medium text-slate-950 hover:text-slate-900 dark:text-slate-800 dark:hover:text-slate-400",children:w({id:"log_in",defaultMessage:"Log in"})})]})]})})]})})};e.s(["default",0,({formHeaderText:e,submitButtonText:i,disableLoginRedirectLink:o=!1,successRedirectPath:d="/account"})=>{let{push:u}=(0,r.useRouter)(),{createUser:c}=(()=>{let[e,{data:t,error:r,loading:s,client:i}]=(0,a.useMutation)(l);return{createUser:async({username:t,email:r,plainPassword:s,profile:a,webAuthnPublicKeyCredentials:l})=>{let n={username:null,email:null,profile:a,plainPassword:null,webAuthnPublicKeyCredentials:l};r&&(n.email=r),t&&(n.username=t),n.plainPassword=s;let o=await e({variables:n,refetchQueries:["Users","ShopStatus","ShopInfo"]});return await i.resetStore(),o},newUser:t?.createUser,error:r,loading:s}})(),{generateWebAuthCredentials:m}=(0,n.default)(),[f,g]=(0,s.useState)(!1),h=async e=>{let t=await m({username:e}),{data:r}=await c({username:e,webAuthnPublicKeyCredentials:t});return r},p=async e=>{let{username:t,email:r,plainPassword:s}=e;if(f)return await h(t),{success:!0};let{data:i,error:a}=await c({username:t,email:r,plainPassword:s}),{_id:l}=i?.createUser||{};return l?{success:!0}:{success:!1,data:i,error:a}};return(0,t.jsx)(b,{formHeaderText:e,submitButtonText:i,disableLoginRedirectLink:o,onSubmit:p,onSubmitSuccess:()=>(u(d),!0),authenticateWithDevice:f,onAuthenticateWithDeviceChange:()=>g(e=>!e)})}],52089)},36944,e=>{"use strict";var t=e.i(69178),r=e.i(98183),s=e.i(52089);let i=()=>{let{formatMessage:e}=(0,r.useIntl)();return(0,t.jsx)(s.default,{formHeaderText:e({id:"install",defaultMessage:"Install"}),submitButtonText:e({id:"create_admin_account",defaultMessage:"Create Administrator"}),disableLoginRedirectLink:!0,successRedirectPath:"/"})};i.getLayout=e=>e,e.s(["default",0,i])},60725,(e,t,r)=>{let s="/install";(window.__NEXT_P=window.__NEXT_P||[]).push([s,()=>e.r(36944)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([s])})},8233,e=>{e.v(t=>Promise.all(["static/chunks/c4eaa6f8c3f94ce6.js"].map(t=>e.l(t))).then(()=>t(64324)))},69209,e=>{e.v(t=>Promise.all(["static/chunks/08687e11efcba80d.js"].map(t=>e.l(t))).then(()=>t(3506)))}]);
@@ -0,0 +1,7 @@
1
+ __turbopack_load_page_chunks__("/_error", [
2
+ "static/chunks/d213dac8d0245238.js",
3
+ "static/chunks/777412be81d9c33a.js",
4
+ "static/chunks/80d9123c9f3abb30.js",
5
+ "static/chunks/b195fa15dd90d90d.js",
6
+ "static/chunks/turbopack-af20a66dd4bceecf.js"
7
+ ])