@unchainedshop/admin-ui 4.9.0 → 4.9.2

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 (461) hide show
  1. package/dist/{chunk-WPLOTFGW.js → chunk-2HTCKO4E.js} +12 -3
  2. package/dist/{chunk-PJLYVMUM.js → chunk-4MXPTVDL.js} +2 -2
  3. package/dist/{chunk-I64TXIE7.js → chunk-ATZJXTRA.js} +1 -1
  4. package/dist/{chunk-QHR23GVH.js → chunk-CUYIP5XG.js} +1 -1
  5. package/dist/{chunk-5WPFHQZN.js → chunk-E6HDJYA6.js} +3 -3
  6. package/dist/{chunk-FDHXLNZQ.js → chunk-EAVP6XZQ.js} +1 -1
  7. package/dist/{chunk-E77YIMGR.js → chunk-ED2FP42R.js} +1 -1
  8. package/dist/{chunk-HJKRGBDG.js → chunk-GWMLIF3C.js} +1 -1
  9. package/dist/{chunk-3L6EZQ6P.js → chunk-NFJE5EJG.js} +1 -1
  10. package/dist/{chunk-BMDNY67T.js → chunk-PGJTFYBT.js} +1385 -932
  11. package/dist/{chunk-ICJH36K4.js → chunk-YUXHILXY.js} +1 -1
  12. package/dist/form.js +797 -286
  13. package/dist/hooks.js +3 -3
  14. package/dist/modal.js +5 -5
  15. package/dist/modules/accounts.js +1 -1
  16. package/dist/modules/assortment.js +1 -1
  17. package/dist/modules/country.js +1 -1
  18. package/dist/modules/currency.js +1 -1
  19. package/dist/modules/delivery-provider.js +1 -1
  20. package/dist/modules/enrollment.js +1 -1
  21. package/dist/modules/event.js +1 -1
  22. package/dist/modules/filter.js +1 -1
  23. package/dist/modules/language.js +1 -1
  24. package/dist/modules/order.js +1 -1
  25. package/dist/modules/payment-providers.js +1 -1
  26. package/dist/modules/product-review.js +1 -1
  27. package/dist/modules/product.js +5 -5
  28. package/dist/modules/quotation.js +1 -1
  29. package/dist/modules/token.js +1 -1
  30. package/dist/modules/warehousing-providers.js +1 -1
  31. package/dist/modules/work.js +1 -1
  32. package/dist/plugins.js +1 -1
  33. package/dist/providers.js +5 -5
  34. package/dist/shims/admin-ui-plugins.js +1 -1
  35. package/dist/shims/apollo-client-react.js +1 -1
  36. package/dist/shims/apollo-client.js +1 -1
  37. package/dist/shims/next-head.js +1 -1
  38. package/dist/shims/next-image.js +1 -1
  39. package/dist/shims/next-link.js +1 -1
  40. package/dist/shims/next-router.js +1 -1
  41. package/dist/shims/react-dom-client.js +1 -1
  42. package/dist/shims/react-dom.js +1 -1
  43. package/dist/shims/react-hook-form.js +1 -1
  44. package/dist/shims/react-intl.js +1 -1
  45. package/dist/shims/react-jsx-runtime.js +1 -1
  46. package/dist/shims/react-toastify.js +1 -1
  47. package/dist/shims/react.js +1 -1
  48. package/dist/theme.js +1 -1
  49. package/dist/ui.js +3884 -3401
  50. package/out/403/index.html +3 -3
  51. package/out/404/index.html +3 -3
  52. package/out/404.html +3 -3
  53. package/out/423/index.html +3 -3
  54. package/out/500/index.html +3 -3
  55. package/out/_next/static/TwsufYu8Ldt9ZNxtvzshp/_buildManifest.js +258 -0
  56. package/out/_next/static/chunks/0-66i4h-noxvn.js +7 -0
  57. package/out/_next/static/chunks/0-wbl3cr3959x.js +1 -0
  58. package/out/_next/static/chunks/01bmb-z2nror5.js +63 -0
  59. package/out/_next/static/chunks/01ehk69jm7o3h.js +1 -0
  60. package/out/_next/static/chunks/01v4zuf_1s632.js +24 -0
  61. package/out/_next/static/chunks/02bw09719wk6m.js +59 -0
  62. package/out/_next/static/chunks/04u9l5z90u8zc.js +108 -0
  63. package/out/_next/static/chunks/{439tz_ubj8h-g.js → 05kae8xt4d-mt.js} +9 -9
  64. package/out/_next/static/chunks/060-0-y0yq4tn.js +4 -0
  65. package/out/_next/static/chunks/06umepciqel5y.js +15 -0
  66. package/out/_next/static/chunks/{2rmgaa88-4bpb.js → 07oa-1j75vunn.js} +4 -4
  67. package/out/_next/static/chunks/{0zzoylv2rl1xu.js → 07qh9c3qklj41.js} +1 -1
  68. package/out/_next/static/chunks/08aonh4sng6e2.js +7 -0
  69. package/out/_next/static/chunks/08u8uu0r0k0o9.js +9 -0
  70. package/out/_next/static/chunks/096x-m7s73l-c.js +1 -0
  71. package/out/_next/static/chunks/0ab6zl-u7ml1p.js +5 -0
  72. package/out/_next/static/chunks/{40l5d7o95aw37.js → 0bvh9mjjgn_w3.js} +1 -1
  73. package/out/_next/static/chunks/0crno_6ew111i.js +8 -0
  74. package/out/_next/static/chunks/0czpir4zjwmos.js +1 -0
  75. package/out/_next/static/chunks/0fogiqvh9bznp.js +2 -0
  76. package/out/_next/static/chunks/0g1uyaoneybnf.js +41 -0
  77. package/out/_next/static/chunks/0h373kx_wlwzy.js +1 -0
  78. package/out/_next/static/chunks/{2hoi6cb1lromr.js → 0hq9p72y7ki0h.js} +1 -1
  79. package/out/_next/static/chunks/0hqvf-b6yry5-.js +12 -0
  80. package/out/_next/static/chunks/0ikig1vazlo5p.js +1 -0
  81. package/out/_next/static/chunks/0jol393fjamwq.js +277 -0
  82. package/out/_next/static/chunks/0jr0_6oupairk.js +13 -0
  83. package/out/_next/static/chunks/0l0hzoqd-va5-.js +1 -0
  84. package/out/_next/static/chunks/0m006z-rbif-h.js +5 -0
  85. package/out/_next/static/chunks/0nsa2b75vwe9r.js +43 -0
  86. package/out/_next/static/chunks/0oeas4d1fnzbb.js +36 -0
  87. package/out/_next/static/chunks/0q7n10ncl7jak.js +119 -0
  88. package/out/_next/static/chunks/0qyx2854lfah9.js +152 -0
  89. package/out/_next/static/chunks/0rjrvdq5w-984.js +78 -0
  90. package/out/_next/static/chunks/0tavmhzr7m3u9.js +5 -0
  91. package/out/_next/static/chunks/0tp8_k14lgo7i.js +12 -0
  92. package/out/_next/static/chunks/{1tkvi0wb-x3v8.js → 0u290yfuv_u2_.js} +2 -2
  93. package/out/_next/static/chunks/0u_zr87ce7iu-.js +1 -0
  94. package/out/_next/static/chunks/0v2v5x8dtpfh6.js +7 -0
  95. package/out/_next/static/chunks/0var4u7x1jrna.js +1 -0
  96. package/out/_next/static/chunks/0vik72soxnie0.js +32 -0
  97. package/out/_next/static/chunks/0xry2ss7g-gk_.js +33 -0
  98. package/out/_next/static/chunks/0xywzizg7ntfd.js +44 -0
  99. package/out/_next/static/chunks/0y3lr_rwmezii.js +1 -0
  100. package/out/_next/static/chunks/0zvpipo0q47xl.js +15 -0
  101. package/out/_next/static/chunks/1-jp7as2d7zp6.js +44 -0
  102. package/out/_next/static/chunks/10jrq6wew06i6.js +23 -0
  103. package/out/_next/static/chunks/1164-c5abnfyy.js +5 -0
  104. package/out/_next/static/chunks/{3qzrrjb48t2w3.js → 119d8cbr8mij2.js} +5 -5
  105. package/out/_next/static/chunks/122a0xxhrak7b.js +1 -0
  106. package/out/_next/static/chunks/129-110-fx4g2.js +277 -0
  107. package/out/_next/static/chunks/12hh2h53sa5vl.js +33 -0
  108. package/out/_next/static/chunks/14qvgxj89rj3h.js +16 -0
  109. package/out/_next/static/chunks/179acu8_sgizp.js +4 -0
  110. package/out/_next/static/chunks/1a120nyn1xssj.js +46 -0
  111. package/out/_next/static/chunks/1ata93ftwo5e5.js +1 -0
  112. package/out/_next/static/chunks/1ca5de-nq28g5.js +5 -0
  113. package/out/_next/static/chunks/1cm161_p0htmv.js +6 -0
  114. package/out/_next/static/chunks/1cp5rjbtbj7im.js +7 -0
  115. package/out/_next/static/chunks/1d-xju_35oiky.js +7 -0
  116. package/out/_next/static/chunks/1d2l6vs2y96io.js +5 -0
  117. package/out/_next/static/chunks/1dedrypk-h8qr.js +1 -0
  118. package/out/_next/static/chunks/1dl-ild2tc5fi.js +10 -0
  119. package/out/_next/static/chunks/1eh2ap8tgodgp.js +224 -0
  120. package/out/_next/static/chunks/1eq7kau-2figm.js +81 -0
  121. package/out/_next/static/chunks/1h9sc720aq7zm.js +5 -0
  122. package/out/_next/static/chunks/1i-6ya37cs5-w.js +116 -0
  123. package/out/_next/static/chunks/1igwz8p4ycvw8.js +68 -0
  124. package/out/_next/static/chunks/1kti-rwl34_4h.js +194 -0
  125. package/out/_next/static/chunks/{2ho4591ngh3y2.js → 1l_4m35yky3vy.js} +6 -6
  126. package/out/_next/static/chunks/1n3dc-2mpab65.js +39 -0
  127. package/out/_next/static/chunks/1nmwo96drt-k-.js +18 -0
  128. package/out/_next/static/chunks/1o2f_mtcw23zu.js +7 -0
  129. package/out/_next/static/chunks/1p6gh68l05_ak.js +1 -0
  130. package/out/_next/static/chunks/1sf71q2hkno8s.js +43 -0
  131. package/out/_next/static/chunks/{1gqd9vrno0rq4.js → 1u0hy0trwf8uk.js} +2 -2
  132. package/out/_next/static/chunks/1w22i299136_d.js +5 -0
  133. package/out/_next/static/chunks/1w69w7bav5fw7.js +5 -0
  134. package/out/_next/static/chunks/1xjtni6_z8nxp.js +15 -0
  135. package/out/_next/static/chunks/1y-db7_k0jgmb.js +1 -0
  136. package/out/_next/static/chunks/1y7wv_pb43doo.js +31 -0
  137. package/out/_next/static/chunks/1y84xua0xgwrn.js +39 -0
  138. package/out/_next/static/chunks/1yqexzm6_8pjh.js +71 -0
  139. package/out/_next/static/chunks/1zsrg53se30e4.js +7 -0
  140. package/out/_next/static/chunks/2-e86kt6vo58k.js +24 -0
  141. package/out/_next/static/chunks/2-lj_k3ewua_k.js +71 -0
  142. package/out/_next/static/chunks/2-omz_z29hp_j.js +1 -0
  143. package/out/_next/static/chunks/21hoklicpietg.js +41 -0
  144. package/out/_next/static/chunks/22kqizuxl67c-.js +108 -0
  145. package/out/_next/static/chunks/22odam86c8kps.js +1 -0
  146. package/out/_next/static/chunks/23wfelj92rx3n.js +1 -0
  147. package/out/_next/static/chunks/259obwu0l4d7_.js +8 -0
  148. package/out/_next/static/chunks/{22-o32hlte36e.js → 25k-q1asg1of_.js} +6 -6
  149. package/out/_next/static/chunks/28cyd6sk-kr-8.js +8 -0
  150. package/out/_next/static/chunks/{3vgurvjr6hkyv.js → 29j-tq9ymqima.js} +1 -1
  151. package/out/_next/static/chunks/29lz37yh8ev4g.js +267 -0
  152. package/out/_next/static/chunks/29qzk6rf1oo1g.js +8 -0
  153. package/out/_next/static/chunks/2_0nlvri-u3yb.js +5 -0
  154. package/out/_next/static/chunks/2_ebmmbmnfung.js +5 -0
  155. package/out/_next/static/chunks/2_nlmvpwjvbuc.js +1 -0
  156. package/out/_next/static/chunks/2abvgs_fkmp8g.js +12 -0
  157. package/out/_next/static/chunks/2ad3aff-kd860.js +16 -0
  158. package/out/_next/static/chunks/2asfqwl1f6ptd.js +71 -0
  159. package/out/_next/static/chunks/2bo7flfdpsojx.js +1 -0
  160. package/out/_next/static/chunks/2c3pj-ifdt9sv.js +8 -0
  161. package/out/_next/static/chunks/2cdf8zir46fgf.js +6 -0
  162. package/out/_next/static/chunks/{1_55km6vm5mc0.js → 2dem0g4wrt39t.js} +5 -5
  163. package/out/_next/static/chunks/{153ec1_-yt3jb.js → 2dg0lloufpbdb.js} +5 -5
  164. package/out/_next/static/chunks/2e-u5srw2p0n6.js +23 -0
  165. package/out/_next/static/chunks/2fxjo2s_nsjsa.js +5 -0
  166. package/out/_next/static/chunks/2gfl5yx5-dzk7.js +5 -0
  167. package/out/_next/static/chunks/2gqvhjmjfypz9.js +6 -0
  168. package/out/_next/static/chunks/2hqwx9e8xxk58.js +1 -0
  169. package/out/_next/static/chunks/2hthxhwh84ls1.css +1 -0
  170. package/out/_next/static/chunks/2jro0zgoal0kz.js +39 -0
  171. package/out/_next/static/chunks/2khmu80rhpzi0.js +7 -0
  172. package/out/_next/static/chunks/2luj-95aqr25b.js +1 -0
  173. package/out/_next/static/chunks/2mohqnh8393k0.js +935 -0
  174. package/out/_next/static/chunks/{11ehf3t7qzbua.js → 2ozm0eim2f3sc.js} +1 -1
  175. package/out/_next/static/chunks/2pass0agqwhhu.js +30 -0
  176. package/out/_next/static/chunks/2q16yoj85f5--.js +217 -0
  177. package/out/_next/static/chunks/2qgzju2ps7tn2.js +5 -0
  178. package/out/_next/static/chunks/2qmtn9qs15pe6.js +23 -0
  179. package/out/_next/static/chunks/2starzmj1ng6d.js +13 -0
  180. package/out/_next/static/chunks/2tltorbhbyodj.js +1 -0
  181. package/out/_next/static/chunks/2u8vf0tm3oweg.js +145 -0
  182. package/out/_next/static/chunks/2xq9wvqdb609r.js +1 -0
  183. package/out/_next/static/chunks/2ye-zd_107wh_.js +6 -0
  184. package/out/_next/static/chunks/2yttr5mp9mh23.js +171 -0
  185. package/out/_next/static/chunks/2z6e-_lzi04v4.js +149 -0
  186. package/out/_next/static/chunks/2z_zbj33aeywz.js +5 -0
  187. package/out/_next/static/chunks/2zq9_3p7cg3wb.js +9 -0
  188. package/out/_next/static/chunks/2zuoqtb2013in.js +7 -0
  189. package/out/_next/static/chunks/302pe6kwodzps.js +31 -0
  190. package/out/_next/static/chunks/30c42kdwlkc30.js +7 -0
  191. package/out/_next/static/chunks/30jqt_vus0ht9.js +1 -0
  192. package/out/_next/static/chunks/30lj8m3h07k4v.js +1 -0
  193. package/out/_next/static/chunks/3328j3xx0enu_.js +1 -0
  194. package/out/_next/static/chunks/339grcmrh2be_.js +1 -0
  195. package/out/_next/static/chunks/33pzdslirf1vx.js +6 -0
  196. package/out/_next/static/chunks/33s24dpx0eo63.js +2 -0
  197. package/out/_next/static/chunks/33w88h3hbfzbk.js +1 -0
  198. package/out/_next/static/chunks/35wqmtcm47y_w.js +39 -0
  199. package/out/_next/static/chunks/36o0xcj8l-mau.js +9 -0
  200. package/out/_next/static/chunks/37lm6c8w-c7bs.js +5 -0
  201. package/out/_next/static/chunks/37y01hdz8sxhr.js +1 -0
  202. package/out/_next/static/chunks/38op2tjm2a38-.js +10 -0
  203. package/out/_next/static/chunks/398z-133dgtem.js +14 -0
  204. package/out/_next/static/chunks/39_3a5rlqmxjd.js +5 -0
  205. package/out/_next/static/chunks/3admj5_pwyksw.js +1 -0
  206. package/out/_next/static/chunks/3c7j6t3by9tj7.js +155 -0
  207. package/out/_next/static/chunks/3cyj5euwvlu1t.js +1 -0
  208. package/out/_next/static/chunks/3d8yko5j3oni7.js +100 -0
  209. package/out/_next/static/chunks/3de9en65e-2qx.js +1 -0
  210. package/out/_next/static/chunks/3f_aw3x3h5zrb.js +54 -0
  211. package/out/_next/static/chunks/3fdcfxfy7_ijd.js +5 -0
  212. package/out/_next/static/chunks/3g-zjnc7_4583.js +1 -0
  213. package/out/_next/static/chunks/3h22kt6ngwxji.js +12 -0
  214. package/out/_next/static/chunks/3id1esivwnwn0.js +5 -0
  215. package/out/_next/static/chunks/{3fqonijzsxy8u.js → 3jy48b2yol0pg.js} +1 -1
  216. package/out/_next/static/chunks/3k_w16w3eoy6p.js +7 -0
  217. package/out/_next/static/chunks/3ks-dq47wvmwf.js +5 -0
  218. package/out/_next/static/chunks/3lch4_9c5hsbw.js +5 -0
  219. package/out/_next/static/chunks/3lirqns-0nf0z.js +5 -0
  220. package/out/_next/static/chunks/{1hviha1jcz_og.js → 3o83hyi0qcw6f.js} +1 -1
  221. package/out/_next/static/chunks/3ot810y4c4j5w.js +7 -0
  222. package/out/_next/static/chunks/3q2g8_47dz6k3.js +95 -0
  223. package/out/_next/static/chunks/{0q2e8h8498pvo.js → 3qqhr2o1soxh_.js} +1 -1
  224. package/out/_next/static/chunks/3s0alhaimym6o.js +61 -0
  225. package/out/_next/static/chunks/3sull2f3eleju.js +6 -0
  226. package/out/_next/static/chunks/3tzv_v3fezh8p.js +1 -0
  227. package/out/_next/static/chunks/3uekb_s0jaboj.js +1 -0
  228. package/out/_next/static/chunks/3xtawjchyn0qb.js +1 -0
  229. package/out/_next/static/chunks/3xze13c1irm_5.js +1 -0
  230. package/out/_next/static/chunks/3z14p5htgyrv9.js +7 -0
  231. package/out/_next/static/chunks/40vdr7s_c0h75.js +8 -0
  232. package/out/_next/static/chunks/41184_al87--k.js +46 -0
  233. package/out/_next/static/chunks/42iy04ceb32i1.js +5 -0
  234. package/out/_next/static/chunks/438vgwwahfwwj.js +54 -0
  235. package/out/_next/static/chunks/44l-287ai2bc0.js +12 -0
  236. package/out/_next/static/chunks/44p9j-nopxm66.js +1 -0
  237. package/out/_next/static/chunks/{turbopack-2c3mg3r-05n1w.js → turbopack-077hmtqrhcoji.js} +1 -1
  238. package/out/_offline/index.html +3 -3
  239. package/out/account/forgot-password/index.html +3 -3
  240. package/out/account/index.html +3 -3
  241. package/out/assortments/AssortmentDetailPage/index.html +3 -3
  242. package/out/assortments/index.html +3 -3
  243. package/out/assortments/new/index.html +3 -3
  244. package/out/copilot/index.html +3 -3
  245. package/out/country/CountryDetailPage/index.html +3 -3
  246. package/out/country/index.html +3 -3
  247. package/out/country/new/index.html +3 -3
  248. package/out/currency/CurrencyDetailPage/index.html +3 -3
  249. package/out/currency/index.html +3 -3
  250. package/out/currency/new/index.html +3 -3
  251. package/out/delivery-provider/DeliveryProviderDetailPage/index.html +3 -3
  252. package/out/delivery-provider/index.html +3 -3
  253. package/out/delivery-provider/new/index.html +3 -3
  254. package/out/enrollments/EnrollmentDetailPage/index.html +3 -3
  255. package/out/enrollments/index.html +3 -3
  256. package/out/events/EventDetailPage/index.html +3 -3
  257. package/out/events/index.html +3 -3
  258. package/out/exports/index.html +3 -3
  259. package/out/external/index.html +3 -3
  260. package/out/filters/FilterDetailPage/index.html +3 -3
  261. package/out/filters/index.html +3 -3
  262. package/out/filters/new/index.html +3 -3
  263. package/out/index.html +3 -3
  264. package/out/install/index.html +3 -3
  265. package/out/language/LanguageDetailPage/index.html +3 -3
  266. package/out/language/index.html +3 -3
  267. package/out/language/new/index.html +3 -3
  268. package/out/log-in/index.html +3 -3
  269. package/out/orders/OrderDetailPage/index.html +3 -3
  270. package/out/orders/index.html +3 -3
  271. package/out/payment-provider/PaymentProviderDetailPage/index.html +3 -3
  272. package/out/payment-provider/index.html +3 -3
  273. package/out/payment-provider/new/index.html +3 -3
  274. package/out/products/ProductDetailPage/index.html +3 -3
  275. package/out/products/index.html +3 -3
  276. package/out/products/new/index.html +3 -3
  277. package/out/quotations/QuotationDetailPage/index.html +3 -3
  278. package/out/quotations/index.html +3 -3
  279. package/out/reset-password/index.html +3 -3
  280. package/out/sign-up/index.html +3 -3
  281. package/out/styleguide/index.html +3 -3
  282. package/out/tokens/TokenDetailPage/index.html +3 -3
  283. package/out/tokens/index.html +3 -3
  284. package/out/users/UserDetailPage/index.html +3 -3
  285. package/out/users/index.html +3 -3
  286. package/out/users/new/index.html +3 -3
  287. package/out/verify-email/index.html +3 -3
  288. package/out/warehousing-provider/WarehousingProviderDetailPage/index.html +3 -3
  289. package/out/warehousing-provider/index.html +3 -3
  290. package/out/warehousing-provider/new/index.html +3 -3
  291. package/out/works/WorkDetailPage/index.html +3 -3
  292. package/out/works/WorkQueueListView/index.html +3 -3
  293. package/out/works/index.html +3 -3
  294. package/out/works/management/index.html +3 -3
  295. package/package.json +26 -26
  296. package/out/_next/static/chunks/0-_s79k4_7ei_.js +0 -5
  297. package/out/_next/static/chunks/00aks9rqke2x0.js +0 -7
  298. package/out/_next/static/chunks/00az81dk4vdda.js +0 -54
  299. package/out/_next/static/chunks/01e4gd649r2tq.js +0 -7
  300. package/out/_next/static/chunks/01j2wi94k90x0.js +0 -5
  301. package/out/_next/static/chunks/043i-g05cyvrd.js +0 -1
  302. package/out/_next/static/chunks/04kyktzbxprj0.js +0 -61
  303. package/out/_next/static/chunks/05p330iybjojg.js +0 -44
  304. package/out/_next/static/chunks/05qk8ozexvlxp.js +0 -5
  305. package/out/_next/static/chunks/06i50j458a7g5.js +0 -12
  306. package/out/_next/static/chunks/08o61gwabp3h1.js +0 -33
  307. package/out/_next/static/chunks/0_bvgo8ev4gs7.js +0 -7
  308. package/out/_next/static/chunks/0b05sca2hdcys.js +0 -30
  309. package/out/_next/static/chunks/0bc8hmxlcg6h5.js +0 -18
  310. package/out/_next/static/chunks/0c3kwkqr9evm4.js +0 -5
  311. package/out/_next/static/chunks/0c4jv8pwvpxei.js +0 -1
  312. package/out/_next/static/chunks/0c7ljn9lo_0oh.js +0 -5
  313. package/out/_next/static/chunks/0djb38xrt32ao.js +0 -12
  314. package/out/_next/static/chunks/0drw_p7p-jjq1.js +0 -5
  315. package/out/_next/static/chunks/0ewr86ctcw7fx.js +0 -1
  316. package/out/_next/static/chunks/0hz0qu27uks3z.js +0 -8
  317. package/out/_next/static/chunks/0jham55cr3rhy.js +0 -81
  318. package/out/_next/static/chunks/0lr7o7tyjmrmf.js +0 -8
  319. package/out/_next/static/chunks/0mx8opz23nwlb.js +0 -5
  320. package/out/_next/static/chunks/0o0e82-3pc7ur.js +0 -78
  321. package/out/_next/static/chunks/0ohk7l49gjm62.js +0 -5
  322. package/out/_next/static/chunks/0p31l6a9hynnt.js +0 -6
  323. package/out/_next/static/chunks/0qa-zbgmv-k3p.js +0 -9
  324. package/out/_next/static/chunks/0rzjz052fwjjc.js +0 -12
  325. package/out/_next/static/chunks/0skst735jufgh.js +0 -71
  326. package/out/_next/static/chunks/0t28q5fb2jp-6.js +0 -8
  327. package/out/_next/static/chunks/0tmamaq8exyij.js +0 -1
  328. package/out/_next/static/chunks/0ydy3ky15gx62.js +0 -1
  329. package/out/_next/static/chunks/0zh311lu9jf2x.js +0 -5
  330. package/out/_next/static/chunks/0zpyyygbqx3pf.js +0 -152
  331. package/out/_next/static/chunks/10m_etq9t2pkv.js +0 -7
  332. package/out/_next/static/chunks/16le3cqxj12u6.js +0 -5
  333. package/out/_next/static/chunks/16zxfacsu_jbq.js +0 -1
  334. package/out/_next/static/chunks/170d-jbu8ilzu.js +0 -100
  335. package/out/_next/static/chunks/17fibl49qtd6c.js +0 -8
  336. package/out/_next/static/chunks/182l1mlbf0glb.js +0 -1
  337. package/out/_next/static/chunks/18xyj4i_i5lyn.js +0 -6
  338. package/out/_next/static/chunks/1a9-pdm78ri7r.js +0 -1
  339. package/out/_next/static/chunks/1aej6iqnlr74p.js +0 -1
  340. package/out/_next/static/chunks/1asbed4hne69c.js +0 -7
  341. package/out/_next/static/chunks/1c60nzy_x4kez.js +0 -277
  342. package/out/_next/static/chunks/1c77vl6xdqfd4.js +0 -15
  343. package/out/_next/static/chunks/1da89agg-nacc.js +0 -224
  344. package/out/_next/static/chunks/1epju6xepfqtq.js +0 -2
  345. package/out/_next/static/chunks/1fbsyczyh9hwh.js +0 -1
  346. package/out/_next/static/chunks/1hih2cxmgqcd3.js +0 -10
  347. package/out/_next/static/chunks/1il9vuoxtb2_n.js +0 -43
  348. package/out/_next/static/chunks/1jaatdt0mlypl.js +0 -16
  349. package/out/_next/static/chunks/1l4g6_of_bbr8.js +0 -5
  350. package/out/_next/static/chunks/1lezxecnoaxnn.js +0 -32
  351. package/out/_next/static/chunks/1m27au_nmk8_k.js +0 -71
  352. package/out/_next/static/chunks/1m4fwgl1mj4d-.js +0 -46
  353. package/out/_next/static/chunks/1ma82ip9shpkc.js +0 -24
  354. package/out/_next/static/chunks/1nbh1zkzirnuw.js +0 -1
  355. package/out/_next/static/chunks/1nohf8_cc6gmw.js +0 -9
  356. package/out/_next/static/chunks/1os6pvhjeb16o.js +0 -1
  357. package/out/_next/static/chunks/1r0w-hk6d2kqw.js +0 -15
  358. package/out/_next/static/chunks/1rsexg6dg82f0.js +0 -7
  359. package/out/_next/static/chunks/1u79pcgqjgjpq.js +0 -1
  360. package/out/_next/static/chunks/1uqiaqtv_0v2x.js +0 -5
  361. package/out/_next/static/chunks/1x8o-luxdxxk7.js +0 -1
  362. package/out/_next/static/chunks/1yjb7gogaf8po.js +0 -31
  363. package/out/_next/static/chunks/1zyhzessv0wtg.js +0 -1
  364. package/out/_next/static/chunks/2-pl31kdikt3k.js +0 -5
  365. package/out/_next/static/chunks/20c4_1i5r3kkz.js +0 -1
  366. package/out/_next/static/chunks/20zdaln201w8j.js +0 -277
  367. package/out/_next/static/chunks/21l46nbaop06z.js +0 -39
  368. package/out/_next/static/chunks/231j2_p-ha14w.js +0 -7
  369. package/out/_next/static/chunks/23s2f7_-ol94s.js +0 -8
  370. package/out/_next/static/chunks/25frktmrq-xu0.js +0 -1
  371. package/out/_next/static/chunks/26_mx-ritu68j.js +0 -24
  372. package/out/_next/static/chunks/26ckmxeluyknq.js +0 -1
  373. package/out/_next/static/chunks/26r0y7ldf3iqs.js +0 -6
  374. package/out/_next/static/chunks/27fzoozwycagi.js +0 -6
  375. package/out/_next/static/chunks/27jmq7a-vh0b4.js +0 -7
  376. package/out/_next/static/chunks/283567a82x9qi.js +0 -149
  377. package/out/_next/static/chunks/29he8uukp5s4u.js +0 -31
  378. package/out/_next/static/chunks/2adglo0sf0jcg.js +0 -905
  379. package/out/_next/static/chunks/2ajr0rk0_yax6.js +0 -1
  380. package/out/_next/static/chunks/2b4ewxxz6f462.js +0 -7
  381. package/out/_next/static/chunks/2bh2dv7j9m8c8.css +0 -1
  382. package/out/_next/static/chunks/2bi8v13lm76lr.js +0 -95
  383. package/out/_next/static/chunks/2burvpf9877y_.js +0 -44
  384. package/out/_next/static/chunks/2cclew3l28rc4.js +0 -14
  385. package/out/_next/static/chunks/2cj703xtrf5i6.js +0 -46
  386. package/out/_next/static/chunks/2ec7xatyld40t.js +0 -7
  387. package/out/_next/static/chunks/2iy0jr00qhq-q.js +0 -5
  388. package/out/_next/static/chunks/2m0rrts8gwqwp.js +0 -1
  389. package/out/_next/static/chunks/2m_u12ggzosat.js +0 -5
  390. package/out/_next/static/chunks/2mdns56l5antm.js +0 -5
  391. package/out/_next/static/chunks/2mrbytgs3uetd.js +0 -4
  392. package/out/_next/static/chunks/2olb298bph2yc.js +0 -13
  393. package/out/_next/static/chunks/2p9gwjxeui1zd.js +0 -71
  394. package/out/_next/static/chunks/2pfhy9qy_cijn.js +0 -5
  395. package/out/_next/static/chunks/2q5k4rozyr2wt.js +0 -4
  396. package/out/_next/static/chunks/2qx8nnki_qv5v.js +0 -171
  397. package/out/_next/static/chunks/2r_rj84l3cy7r.js +0 -119
  398. package/out/_next/static/chunks/2swxmzb-xk_bo.js +0 -108
  399. package/out/_next/static/chunks/2t0biwx5e_4w_.js +0 -1
  400. package/out/_next/static/chunks/2ts3v72jkbcdr.js +0 -7
  401. package/out/_next/static/chunks/2vfexvltv2avy.js +0 -5
  402. package/out/_next/static/chunks/2wkg65dtx56je.js +0 -155
  403. package/out/_next/static/chunks/2xixk0t9e9mnw.js +0 -1
  404. package/out/_next/static/chunks/2xz7hnr9ikqzq.js +0 -7
  405. package/out/_next/static/chunks/2y1lq1efnvcdt.js +0 -23
  406. package/out/_next/static/chunks/2ziasg8l_c9n7.js +0 -5
  407. package/out/_next/static/chunks/3-wsablhqgzoa.js +0 -1
  408. package/out/_next/static/chunks/30ppb2wc-m4ph.js +0 -1
  409. package/out/_next/static/chunks/336k08jwyc5i-.js +0 -1
  410. package/out/_next/static/chunks/33_-2ne9ecvay.js +0 -1
  411. package/out/_next/static/chunks/33d061qpkafqm.js +0 -39
  412. package/out/_next/static/chunks/33fyy6d5mo55_.js +0 -8
  413. package/out/_next/static/chunks/33kh18frqc3b1.js +0 -5
  414. package/out/_next/static/chunks/33qeilxkl3ckn.js +0 -116
  415. package/out/_next/static/chunks/33tewe5d_lfl-.js +0 -13
  416. package/out/_next/static/chunks/33v05ol-ire9s.js +0 -10
  417. package/out/_next/static/chunks/348l8p7-vo4l5.js +0 -63
  418. package/out/_next/static/chunks/35hu5vin0swdf.js +0 -41
  419. package/out/_next/static/chunks/37a6yquh875rn.js +0 -39
  420. package/out/_next/static/chunks/3_2i9du5-ffrp.js +0 -59
  421. package/out/_next/static/chunks/3_84h3z_tewmg.js +0 -145
  422. package/out/_next/static/chunks/3bo7uiy-wh63m.js +0 -108
  423. package/out/_next/static/chunks/3c-an5ft_3emc.js +0 -1
  424. package/out/_next/static/chunks/3d_222ci0_30_.js +0 -41
  425. package/out/_next/static/chunks/3dldch03dfaed.js +0 -1
  426. package/out/_next/static/chunks/3eedy49gsvv_t.js +0 -1
  427. package/out/_next/static/chunks/3fayuejnrsd90.js +0 -15
  428. package/out/_next/static/chunks/3g1ale0hytu9q.js +0 -12
  429. package/out/_next/static/chunks/3i9q2-4e0mix5.js +0 -12
  430. package/out/_next/static/chunks/3k3gvr7-e3g_s.js +0 -5
  431. package/out/_next/static/chunks/3kwoyyxi_-q7m.js +0 -1
  432. package/out/_next/static/chunks/3le1bywe19_u9.js +0 -1
  433. package/out/_next/static/chunks/3lku4-9kpf-mj.js +0 -267
  434. package/out/_next/static/chunks/3lz5h1tw50wr_.js +0 -54
  435. package/out/_next/static/chunks/3m4smrmdqi2-3.js +0 -5
  436. package/out/_next/static/chunks/3oq-khgfpo0nx.js +0 -39
  437. package/out/_next/static/chunks/3ps25ocfalcap.js +0 -43
  438. package/out/_next/static/chunks/3r0i-7zjuz9i1.js +0 -6
  439. package/out/_next/static/chunks/3rgn5xwtr51ul.js +0 -7
  440. package/out/_next/static/chunks/3ridg_u19b6ih.js +0 -8
  441. package/out/_next/static/chunks/3skzk-w2ytvku.js +0 -5
  442. package/out/_next/static/chunks/3srw10h0hcztd.js +0 -68
  443. package/out/_next/static/chunks/3tgrftdet8sna.js +0 -15
  444. package/out/_next/static/chunks/3uax_eq1kjjta.js +0 -1
  445. package/out/_next/static/chunks/3uj94afpsi6cs.js +0 -1
  446. package/out/_next/static/chunks/3viepyovs19ub.js +0 -23
  447. package/out/_next/static/chunks/3vnzp3n_wd3j_.js +0 -1
  448. package/out/_next/static/chunks/3w8h5lxnd0z4z.js +0 -1
  449. package/out/_next/static/chunks/3wh4xa9dnw-55.js +0 -194
  450. package/out/_next/static/chunks/3wzvscqui-9ml.js +0 -23
  451. package/out/_next/static/chunks/3y8h3g1tqukrv.js +0 -36
  452. package/out/_next/static/chunks/3zcilnj6p9-t5.js +0 -1
  453. package/out/_next/static/chunks/3zmmdm68s05-t.js +0 -217
  454. package/out/_next/static/chunks/3zw4-oie-f7_0.js +0 -2
  455. package/out/_next/static/chunks/417kn9hki8k81.js +0 -33
  456. package/out/_next/static/chunks/42mofxcd0l7qi.js +0 -1
  457. package/out/_next/static/chunks/43hfssep7ry-z.js +0 -5
  458. package/out/_next/static/chunks/45bcpjurhxb-j.js +0 -1
  459. package/out/_next/static/nrNmgRi1nHylx_8lvjG2D/_buildManifest.js +0 -258
  460. /package/out/_next/static/{nrNmgRi1nHylx_8lvjG2D → TwsufYu8Ldt9ZNxtvzshp}/_clientMiddlewareManifest.js +0 -0
  461. /package/out/_next/static/{nrNmgRi1nHylx_8lvjG2D → TwsufYu8Ldt9ZNxtvzshp}/_ssgManifest.js +0 -0
@@ -0,0 +1,12 @@
1
+ __turbopack_load_page_chunks__("/account", [
2
+ "static/chunks/2vveotzevnkfp.js",
3
+ "static/chunks/1yqexzm6_8pjh.js",
4
+ "static/chunks/339grcmrh2be_.js",
5
+ "static/chunks/29lz37yh8ev4g.js",
6
+ "static/chunks/30jqt_vus0ht9.js",
7
+ "static/chunks/2hqwx9e8xxk58.js",
8
+ "static/chunks/0ikig1vazlo5p.js",
9
+ "static/chunks/096x-m7s73l-c.js",
10
+ "static/chunks/07oa-1j75vunn.js",
11
+ "static/chunks/turbopack-077hmtqrhcoji.js"
12
+ ])
@@ -0,0 +1,5 @@
1
+ __turbopack_load_page_chunks__("/country/CountryDetailPage", [
2
+ "static/chunks/438vgwwahfwwj.js",
3
+ "static/chunks/30jqt_vus0ht9.js",
4
+ "static/chunks/turbopack-077hmtqrhcoji.js"
5
+ ])
@@ -1,4 +1,4 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,69322,15845,e=>{"use strict";var t,r,i,n,s,o=e.i(91788);function a(e,t){let r=t&&t.cache?t.cache:m,i=t&&t.serializer?t.serializer:u;return(t&&t.strategy?t.strategy:function(e,t){var r,i;let n=1===e.length?h:l;return r=t.cache.create(),i=t.serializer,n.bind(this,e,r,i)})(e,{cache:r,serializer:i})}function h(e,t,r,i){let n=null==i||"number"==typeof i||"boolean"==typeof i?i:r(i),s=t.get(n);return void 0===s&&(s=e.call(this,i),t.set(n,s)),s}function l(e,t,r){let i=Array.prototype.slice.call(arguments,3),n=r(i),s=t.get(n);return void 0===s&&(s=e.apply(this,i),t.set(n,s)),s}let u=function(){return JSON.stringify(arguments)};var c=class{constructor(){this.cache=Object.create(null)}get(e){return this.cache[e]}set(e,t){this.cache[e]=t}};let m={create:function(){return new c}},f={variadic:function(e,t){var r,i;return r=t.cache.create(),i=t.serializer,l.bind(this,e,r,i)},monadic:function(e,t){var r,i;return r=t.cache.create(),i=t.serializer,h.bind(this,e,r,i)}};e.s(["Z",0,a,"f",0,f],15845);let p=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g,g=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,d=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,b=/^(@+)?(\+|#+)?[rs]?$/g,y=/(\*)(0+)|(#+)(0+)|(0+)/g,E=/^(0+)$/;function H(e){let t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(b,function(e,r,i){return"string"!=typeof i?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):"+"===i?t.minimumSignificantDigits=r.length:"#"===r[0]?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+("string"==typeof i?i.length:0)),""}),t}function B(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function T(e){let t=B(e);return t||{}}let I=((t={})[t.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",t[t.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",t[t.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",t[t.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",t[t.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",t[t.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",t[t.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",t[t.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",t[t.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",t[t.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",t[t.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",t[t.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",t[t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",t[t.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",t[t.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",t[t.INVALID_TAG=23]="INVALID_TAG",t[t.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",t[t.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",t[t.UNCLOSED_TAG=27]="UNCLOSED_TAG",t),S=((r={})[r.literal=0]="literal",r[r.argument=1]="argument",r[r.number=2]="number",r[r.date=3]="date",r[r.time=4]="time",r[r.select=5]="select",r[r.plural=6]="plural",r[r.pound=7]="pound",r[r.tag=8]="tag",r);function P(e){return!!(e&&"object"==typeof e&&0===e.type)}function A(e){return!!(e&&"object"==typeof e&&1===e.type)}let N=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,L=/([^\t-\r -\/:-@\[-\^`\{-~\x85\xA0-\xA7\xA9\xAB\xAC\xAE\xB0\xB1\xB6\xBB\xBF\xD7\xF7\u1680\u2000-\u200A\u2010-\u2029\u202F-\u203E\u2041-\u2053\u2055-\u205F\u2190-\u245F\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3000-\u3003\u3008-\u3020\u3030\uFD3E\uFD3F\uFE45\uFE46]*)/g,D={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GS:["H","h","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ku-SY":["H","hB"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]},_=RegExp(`^${N.source}*`),v=RegExp(`${N.source}*$`);function F(e,t){return{start:e,end:t}}let R=!!Object.fromEntries,M=!!String.prototype.trimStart,w=!!String.prototype.trimEnd,O=R?Object.fromEntries:function(e){let t={};for(let[r,i]of e)t[r]=i;return t},C=M?function(e){return e.trimStart()}:function(e){return e.replace(_,"")},U=w?function(e){return e.trimEnd()}:function(e){return e.replace(v,"")},G=function(){try{let e=RegExp("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");if(e.exec("a ")?.[1]==="a")return e}catch{}return L}();var k=class{constructor(e,t={}){this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}parse(){if(0!==this.offset())throw Error("parser can only be used once");if(this.message.length>0){let e=this.message.charCodeAt(0);if(35!==e&&39!==e&&60!==e&&123!==e&&125!==e){let e=function(e){if(0===e.length)return null;let t=1,r=1;for(let i=0;i<e.length;){let n=e.charCodeAt(i);switch(n){case 35:case 39:case 60:case 123:case 125:return null}if(10===n)t++,r=1,i++;else if(r++,n>=55296&&n<=56319&&i+1<e.length){let t=e.charCodeAt(i+1);i+=t>=56320&&t<=57343?2:1}else i++}return{offset:e.length,line:t,column:r}}(this.message);if(e){let t=this.clonePosition();return this.position=e,{val:[{type:0,value:this.message,location:F(t,this.clonePosition())}],err:null}}}}return this.parseMessage(0,"",!1)}parseMessage(e,t,r){let i=[];for(;!this.isEOF();){let n=this.char();if(123===n){let t=this.parseArgument(e,r);if(t.err)return t;i.push(t.val)}else if(125===n&&e>0)break;else if(35===n&&("plural"===t||"selectordinal"===t)){let e=this.clonePosition();this.bump(),i.push({type:7,location:F(e,this.clonePosition())})}else if(60!==n||this.ignoreTag||47!==this.peek())if(60===n&&!this.ignoreTag&&x(this.peek()||0)){let r=this.parseTag(e,t);if(r.err)return r;i.push(r.val)}else{let r=this.parseLiteral(e,t);if(r.err)return r;i.push(r.val)}else if(!r)return this.error(26,F(this.clonePosition(),this.clonePosition()));else break}return{val:i,err:null}}parseTag(e,t){let r=this.clonePosition();this.bump();let i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:0,value:`<${i}/>`,location:F(r,this.clonePosition())},err:null};if(!this.bumpIf(">"))return this.error(23,F(r,this.clonePosition()));{let n=this.parseMessage(e+1,t,!0);if(n.err)return n;let s=n.val,o=this.clonePosition();if(!this.bumpIf("</"))return this.error(27,F(r,this.clonePosition()));{if(this.isEOF()||!x(this.char()))return this.error(23,F(o,this.clonePosition()));let e=this.clonePosition();return i!==this.parseTagName()?this.error(26,F(e,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">"))?{val:{type:8,value:i,children:s,location:F(r,this.clonePosition())},err:null}:this.error(23,F(o,this.clonePosition()))}}}parseTagName(){var e;let t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())}parseLiteral(e,t){let r=this.clonePosition(),i="";for(;;){let r=this.tryParseQuote(t);if(r){i+=r;continue}let n=this.tryParseUnquoted(e,t);if(n){i+=n;continue}let s=this.tryParseLeftAngleBracket();if(s){i+=s;continue}break}return{val:{type:0,value:i,location:F(r,this.clonePosition())},err:null}}tryParseLeftAngleBracket(){var e;return this.isEOF()||60!==this.char()||!this.ignoreTag&&(x(e=this.peek()||0)||47===e)?null:(this.bump(),"<")}tryParseQuote(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();let t=[this.char()];for(this.bump();!this.isEOF();){let e=this.char();if(39===e)if(39===this.peek())t.push(39),this.bump();else{this.bump();break}else t.push(e);this.bump()}return String.fromCodePoint(...t)}tryParseUnquoted(e,t){if(this.isEOF())return null;let r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&e>0?null:(this.bump(),String.fromCodePoint(r))}parseArgument(e,t){let r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(1,F(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(2,F(r,this.clonePosition()));let i=this.parseIdentifierIfPossible().value;if(!i)return this.error(3,F(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(1,F(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:1,value:i,location:F(r,this.clonePosition())},err:null};case 44:if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(1,F(r,this.clonePosition()));return this.parseArgumentOptions(e,t,i,r);default:return this.error(3,F(r,this.clonePosition()))}}parseIdentifierIfPossible(){var e;let t=this.clonePosition(),r=this.offset(),i=(e=this.message,G.lastIndex=r,G.exec(e)[1]??""),n=r+i.length;return this.bumpTo(n),{value:i,location:F(t,this.clonePosition())}}parseArgumentOptions(e,t,r,i){let n=this.clonePosition(),s=this.parseIdentifierIfPossible().value,o=this.clonePosition();switch(s){case"":return this.error(4,F(n,o));case"number":case"date":case"time":{this.bumpSpace();let e=null;if(this.bumpIf(",")){this.bumpSpace();let t=this.clonePosition(),r=this.parseSimpleArgStyleIfPossible();if(r.err)return r;let i=U(r.val);if(0===i.length)return this.error(6,F(this.clonePosition(),this.clonePosition()));e={style:i,styleLocation:F(t,this.clonePosition())}}let t=this.tryParseArgumentClose(i);if(t.err)return t;let n=F(i,this.clonePosition());if(e&&e.style.startsWith("::")){let t=C(e.style.slice(2));if("number"===s){let i=this.parseNumberSkeletonFromString(t,e.styleLocation);if(i.err)return i;return{val:{type:2,value:r,location:n,style:i.val},err:null}}{let i;if(0===t.length)return this.error(10,n);let o=t;return this.locale&&(o=function(e,t){let r="";for(let i=0;i<e.length;i++){let n=e.charAt(i);if("j"===n){let s=0;for(;i+1<e.length&&e.charAt(i+1)===n;)s++,i++;let o=1+(1&s),a=s<2?1:3+(s>>1),h=function(e){let t,r=e.hourCycle;if(void 0===r&&(r=e.getHourCycles?.()[0]??e.hourCycles?.[0]),r)switch(r){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw Error("Invalid hourCycle")}let i=e.language;return"root"!==i&&(t=e.maximize().region),(D[`${i}-${t}`]||D[t||""]||D[i||""]||D[`${i}-001`]||D["001"])[0].charAt(0)}(t);for(("H"==h||"k"==h)&&(a=0);a-- >0;)r+="a";for(;o-- >0;)r=h+r}else"J"===n?r+="H":r+=n}return r}(t,this.locale)),{val:{type:"date"===s?3:4,value:r,location:n,style:{type:1,pattern:o,location:e.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},o.replace(p,e=>{let t=e.length;switch(e[0]){case"G":i.era=4===t?"long":5===t?"narrow":"short";break;case"y":i.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":i.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw RangeError("`w/W` (week) patterns are not supported");case"d":i.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":i.weekday=4===t?"long":5===t?"narrow":"short";break;case"e":if(t<4)throw RangeError("`e..eee` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-3];break;case"c":if(t<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-3];break;case"a":i.hour12=!0;break;case"b":case"B":throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":i.hourCycle="h12",i.hour=["numeric","2-digit"][t-1];break;case"H":i.hourCycle="h23",i.hour=["numeric","2-digit"][t-1];break;case"K":i.hourCycle="h11",i.hour=["numeric","2-digit"][t-1];break;case"k":i.hourCycle="h24",i.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":i.minute=["numeric","2-digit"][t-1];break;case"s":i.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":i.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),i):{}}},err:null}}}return{val:{type:"number"===s?2:"date"===s?3:4,value:r,location:n,style:e?.style??null},err:null}}case"plural":case"selectordinal":case"select":{let n=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(12,F(n,{...n}));this.bumpSpace();let o=this.parseIdentifierIfPossible(),a=0;if("select"!==s&&"offset"===o.value){if(!this.bumpIf(":"))return this.error(13,F(this.clonePosition(),this.clonePosition()));this.bumpSpace();let e=this.tryParseDecimalInteger(13,14);if(e.err)return e;this.bumpSpace(),o=this.parseIdentifierIfPossible(),a=e.val}let h=this.tryParsePluralOrSelectOptions(e,s,t,o);if(h.err)return h;let l=this.tryParseArgumentClose(i);if(l.err)return l;let u=F(i,this.clonePosition());if("select"===s)return{val:{type:5,value:r,options:O(h.val),location:u},err:null};return{val:{type:6,value:r,options:O(h.val),offset:a,pluralType:"plural"===s?"cardinal":"ordinal",location:u},err:null}}default:return this.error(5,F(n,o))}}tryParseArgumentClose(e){return this.isEOF()||125!==this.char()?this.error(1,F(e,this.clonePosition())):(this.bump(),{val:!0,err:null})}parseSimpleArgStyleIfPossible(){let e=0,t=this.clonePosition();for(;!this.isEOF();)switch(this.char()){case 39:{this.bump();let e=this.clonePosition();if(!this.bumpUntil("'"))return this.error(11,F(e,this.clonePosition()));this.bump();break}case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}}parseNumberSkeletonFromString(e,t){let r=[];try{r=function(e){if(0===e.length)throw Error("Number skeleton cannot be empty");let t=e.split(g).filter(e=>e.length>0),r=[];for(let e of t){let t=e.split("/");if(0===t.length)throw Error("Invalid number skeleton");let[i,...n]=t;for(let e of n)if(0===e.length)throw Error("Invalid number skeleton");r.push({stem:i,options:n})}return r}(e)}catch{return this.error(7,t)}return{val:{type:0,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?function(e){let t={};for(let r of e){switch(r.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=r.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=r.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t={...t,notation:"scientific",...r.options.reduce((e,t)=>({...e,...T(t)}),{})};continue;case"engineering":t={...t,notation:"engineering",...r.options.reduce((e,t)=>({...e,...T(t)}),{})};continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(r.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(r.options.length>1)throw RangeError("integer-width stems only accept a single optional option");r.options[0].replace(y,function(e,r,i,n,s,o){if(r)t.minimumIntegerDigits=i.length;else if(n&&s)throw Error("We currently do not support maximum integer digits");else if(o)throw Error("We currently do not support exact integer digits");return""});continue}if(E.test(r.stem)){t.minimumIntegerDigits=r.stem.length;continue}if(d.test(r.stem)){if(r.options.length>1)throw RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(d,function(e,r,i,n,s,o){return"*"===i?t.minimumFractionDigits=r.length:n&&"#"===n[0]?t.maximumFractionDigits=n.length:s&&o?(t.minimumFractionDigits=s.length,t.maximumFractionDigits=s.length+o.length):(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length),""});let e=r.options[0];"w"===e?t={...t,trailingZeroDisplay:"stripIfInteger"}:e&&(t={...t,...H(e)});continue}if(b.test(r.stem)){t={...t,...H(r.stem)};continue}let e=B(r.stem);e&&(t={...t,...e});let i=function(e){let t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){let r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!E.test(e))throw Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(r.stem);i&&(t={...t,...i})}return t}(r):{}},err:null}}tryParsePluralOrSelectOptions(e,t,r,i){let n=!1,s=[],o=new Set,{value:a,location:h}=i;for(;;){if(0===a.length){let e=this.clonePosition();if("select"!==t&&this.bumpIf("=")){let t=this.tryParseDecimalInteger(16,19);if(t.err)return t;h=F(e,this.clonePosition()),a=this.message.slice(e.offset,this.offset())}else break}if(o.has(a))return this.error("select"===t?21:20,h);"other"===a&&(n=!0),this.bumpSpace();let i=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?17:18,F(this.clonePosition(),this.clonePosition()));let l=this.parseMessage(e+1,t,r);if(l.err)return l;let u=this.tryParseArgumentClose(i);if(u.err)return u;s.push([a,{value:l.val,location:F(i,this.clonePosition())}]),o.add(a),this.bumpSpace(),{value:a,location:h}=this.parseIdentifierIfPossible()}return 0===s.length?this.error("select"===t?15:16,F(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!n?this.error(22,F(this.clonePosition(),this.clonePosition())):{val:s,err:null}}tryParseDecimalInteger(e,t){let r=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);let n=!1,s=0;for(;!this.isEOF();){let e=this.char();if(e>=48&&e<=57)n=!0,s=10*s+(e-48),this.bump();else break}let o=F(i,this.clonePosition());return n?Number.isSafeInteger(s*=r)?{val:s,err:null}:this.error(t,o):this.error(e,o)}offset(){return this.position.offset}isEOF(){return this.offset()===this.message.length}clonePosition(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}}char(){let e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");let t=this.message.codePointAt(e);if(void 0===t)throw Error(`Offset ${e} is at invalid UTF-16 code unit boundary`);return t}error(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}}bump(){if(this.isEOF())return;let e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}bumpIf(e){let t=this.offset();if(this.message.slice(t,t+e.length)===e){for(let t=0;t<e.length;t++)this.bump();return!0}return!1}bumpUntil(e){let t=this.offset(),r=this.message.indexOf(e,t);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)}bumpTo(e){if(this.offset()>e)throw Error(`targetOffset ${e} must be greater than or equal to the current offset ${this.offset()}`);for(e=Math.min(e,this.message.length);;){let t=this.offset();if(t===e)break;if(t>e)throw Error(`targetOffset ${e} is at invalid UTF-16 code unit boundary`);if(this.bump(),this.isEOF())break}}bumpSpace(){for(var e;!this.isEOF()&&((e=this.char())>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e);)this.bump()}peek(){if(this.isEOF())return null;let e=this.char(),t=this.offset();return this.message.charCodeAt(t+(e>=65536?2:1))??null}};function x(e){return e>=97&&e<=122||e>=65&&e<=90}function $(e,t={}){let r=new k(e,t={shouldParseSkeletons:!0,requiresOtherClause:!0,...t}).parse();if(r.err){let e=SyntaxError(I[r.err.kind]);throw e.location=r.err.location,e.originalMessage=r.err.message,e}return t?.captureLocation||function e(t){t.forEach(t=>{if(delete t.location,5===t.type||6===t.type)for(let r in t.options)delete t.options[r].location,e(t.options[r].value);else 2===t.type&&P(t.style)||(3===t.type||4===t.type)&&A(t.style)?delete t.style.location:8===t.type&&e(t.children)})}(r.val),r.val}let j=((i={}).MISSING_VALUE="MISSING_VALUE",i.INVALID_VALUE="INVALID_VALUE",i.MISSING_INTL_API="MISSING_INTL_API",i);var V=class extends Error{constructor(e,t,r){super(e),this.code=t,this.originalMessage=r}toString(){return`[formatjs Error: ${this.code}] ${this.message}`}},K=class extends V{constructor(e,t,r,i){super(`Invalid values for "${e}": "${t}". Options are "${Object.keys(r).join('", "')}"`,"INVALID_VALUE",i)}},Z=class extends V{constructor(e,t,r){super(`Value for "${e}" must be of type ${t}`,"INVALID_VALUE",r)}},X=class extends V{constructor(e,t){super(`The intl string context variable "${e}" was not provided to the string "${t}"`,"MISSING_VALUE",t)}};function Y(e){return"function"==typeof e}function W(e){return{create:()=>({get:t=>e[t],set(t,r){e[t]=r}})}}var z=class e{constructor(t,r=e.defaultLocale,i,n){var s;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=e=>{let t=this.formatToParts(e);if(1===t.length)return t[0].value;let r=t.reduce((e,t)=>(e.length&&0===t.type&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e),[]);return r.length<=1?r[0]||"":r},this.formatToParts=e=>(function e(t,r,i,n,s,o,a){if(1===t.length&&0===t[0].type)return[{type:0,value:t[0].value}];let h=[];for(let l of t){if(0===l.type){h.push({type:0,value:l.value});continue}if(7===l.type){"number"==typeof o&&h.push({type:0,value:i.getNumberFormat(r).format(o)});continue}let{value:t}=l;if(!(s&&t in s))throw new X(t,a);let u=s[t];if(1===l.type){u&&"string"!=typeof u&&"number"!=typeof u&&"bigint"!=typeof u||(u="string"==typeof u||"number"==typeof u||"bigint"==typeof u?String(u):""),h.push({type:+("string"!=typeof u),value:u});continue}if(3===l.type){let e="string"==typeof l.style?n.date[l.style]:A(l.style)?l.style.parsedOptions:void 0;h.push({type:0,value:i.getDateTimeFormat(r,e).format(u)});continue}if(4===l.type){let e="string"==typeof l.style?n.time[l.style]:A(l.style)?l.style.parsedOptions:n.time.medium;h.push({type:0,value:i.getDateTimeFormat(r,e).format(u)});continue}if(2===l.type){let e="string"==typeof l.style?n.number[l.style]:P(l.style)?l.style.parsedOptions:void 0;if(e&&e.scale){let t=e.scale||1;if("bigint"==typeof u){if(!Number.isInteger(t))throw TypeError(`Cannot apply fractional scale ${t} to bigint value. Scale must be an integer when formatting bigint.`);u*=BigInt(t)}else u*=t}h.push({type:0,value:i.getNumberFormat(r,e).format(u)});continue}if(8===l.type){let{children:t,value:u}=l,c=s[u];if(!Y(c))throw new Z(u,"function",a);let m=c(e(t,r,i,n,s,o).map(e=>e.value));Array.isArray(m)||(m=[m]),h.push(...m.map(e=>({type:+("string"!=typeof e),value:e})))}if(5===l.type){let t=u,o=(Object.prototype.hasOwnProperty.call(l.options,t)?l.options[t]:void 0)||l.options.other;if(!o)throw new K(l.value,u,Object.keys(l.options),a);h.push(...e(o.value,r,i,n,s));continue}if(6===l.type){let t=`=${u}`,o=Object.prototype.hasOwnProperty.call(l.options,t)?l.options[t]:void 0;if(!o){if(!Intl.PluralRules)throw new V(`Intl.PluralRules is not available in this environment.
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,69322,15845,e=>{"use strict";var t,r,i,n,s,o=e.i(91788);function a(e,t){let r=t&&t.cache?t.cache:m,i=t&&t.serializer?t.serializer:u;return(t&&t.strategy?t.strategy:function(e,t){var r,i;let n=1===e.length?h:l;return r=t.cache.create(),i=t.serializer,n.bind(this,e,r,i)})(e,{cache:r,serializer:i})}function h(e,t,r,i){let n=null==i||"number"==typeof i||"boolean"==typeof i?i:r(i),s=t.get(n);return void 0===s&&(s=e.call(this,i),t.set(n,s)),s}function l(e,t,r){let i=Array.prototype.slice.call(arguments,3),n=r(i),s=t.get(n);return void 0===s&&(s=e.apply(this,i),t.set(n,s)),s}let u=function(){return JSON.stringify(arguments)};var c=class{constructor(){this.cache=Object.create(null)}get(e){return this.cache[e]}set(e,t){this.cache[e]=t}};let m={create:function(){return new c}},f={variadic:function(e,t){var r,i;return r=t.cache.create(),i=t.serializer,l.bind(this,e,r,i)},monadic:function(e,t){var r,i;return r=t.cache.create(),i=t.serializer,h.bind(this,e,r,i)}};e.s(["Z",0,a,"f",0,f],15845);let p=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g,g=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,d=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,b=/^(@+)?(\+|#+)?[rs]?$/g,y=/(\*)(0+)|(#+)(0+)|(0+)/g,E=/^(0+)$/;function H(e){let t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(b,function(e,r,i){return"string"!=typeof i?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):"+"===i?t.minimumSignificantDigits=r.length:"#"===r[0]?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+("string"==typeof i?i.length:0)),""}),t}function B(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function T(e){let t=B(e);return t||{}}let I=((t={})[t.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",t[t.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",t[t.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",t[t.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",t[t.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",t[t.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",t[t.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",t[t.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",t[t.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",t[t.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",t[t.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",t[t.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",t[t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",t[t.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",t[t.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",t[t.INVALID_TAG=23]="INVALID_TAG",t[t.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",t[t.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",t[t.UNCLOSED_TAG=27]="UNCLOSED_TAG",t),S=((r={})[r.literal=0]="literal",r[r.argument=1]="argument",r[r.number=2]="number",r[r.date=3]="date",r[r.time=4]="time",r[r.select=5]="select",r[r.plural=6]="plural",r[r.pound=7]="pound",r[r.tag=8]="tag",r);function P(e){return!!(e&&"object"==typeof e&&0===e.type)}function A(e){return!!(e&&"object"==typeof e&&1===e.type)}let N=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,L=/([^\t-\r -\/:-@\[-\^`\{-~\x85\xA0-\xA7\xA9\xAB\xAC\xAE\xB0\xB1\xB6\xBB\xBF\xD7\xF7\u1680\u2000-\u200A\u2010-\u2029\u202F-\u203E\u2041-\u2053\u2055-\u205F\u2190-\u245F\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3000-\u3003\u3008-\u3020\u3030\uFD3E\uFD3F\uFE45\uFE46]*)/g,D={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GS:["H","h","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HT:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["hB","hb","H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ku-SY":["H","hB"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]},_=RegExp(`^${N.source}*`),v=RegExp(`${N.source}*$`);function F(e,t){return{start:e,end:t}}let R=!!Object.fromEntries,M=!!String.prototype.trimStart,w=!!String.prototype.trimEnd,O=R?Object.fromEntries:function(e){let t={};for(let[r,i]of e)t[r]=i;return t},C=M?function(e){return e.trimStart()}:function(e){return e.replace(_,"")},U=w?function(e){return e.trimEnd()}:function(e){return e.replace(v,"")},G=function(){try{let e=RegExp("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");if(e.exec("a ")?.[1]==="a")return e}catch{}return L}();var k=class{constructor(e,t={}){this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons,this.captureEscapes=!!t.captureEscapes}parse(){if(0!==this.offset())throw Error("parser can only be used once");if(this.message.length>0){let e=this.message.charCodeAt(0);if(35!==e&&39!==e&&60!==e&&123!==e&&125!==e){let e=function(e){if(0===e.length)return null;let t=1,r=1;for(let i=0;i<e.length;){let n=e.charCodeAt(i);switch(n){case 35:case 39:case 60:case 123:case 125:return null}if(10===n)t++,r=1,i++;else if(r++,n>=55296&&n<=56319&&i+1<e.length){let t=e.charCodeAt(i+1);i+=t>=56320&&t<=57343?2:1}else i++}return{offset:e.length,line:t,column:r}}(this.message);if(e){let t=this.clonePosition();return this.position=e,{val:[{type:0,value:this.message,...this.captureEscapes&&{rawValue:this.message},location:F(t,this.clonePosition())}],err:null}}}}return this.parseMessage(0,"",!1)}parseMessage(e,t,r){let i=[];for(;!this.isEOF();){let n=this.char();if(123===n){let t=this.parseArgument(e,r);if(t.err)return t;i.push(t.val)}else if(125===n&&e>0)break;else if(35===n&&("plural"===t||"selectordinal"===t)){let e=this.clonePosition();this.bump(),i.push({type:7,location:F(e,this.clonePosition())})}else if(60!==n||this.ignoreTag||47!==this.peek())if(60===n&&!this.ignoreTag&&x(this.peek()||0)){let r=this.parseTag(e,t);if(r.err)return r;i.push(r.val)}else{let r=this.parseLiteral(e,t);if(r.err)return r;i.push(r.val)}else if(!r)return this.error(26,F(this.clonePosition(),this.clonePosition()));else break}return{val:i,err:null}}parseTag(e,t){let r=this.clonePosition();this.bump();let i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:0,value:`<${i}/>`,location:F(r,this.clonePosition())},err:null};if(!this.bumpIf(">"))return this.error(23,F(r,this.clonePosition()));{let n=this.parseMessage(e+1,t,!0);if(n.err)return n;let s=n.val,o=this.clonePosition();if(!this.bumpIf("</"))return this.error(27,F(r,this.clonePosition()));{if(this.isEOF()||!x(this.char()))return this.error(23,F(o,this.clonePosition()));let e=this.clonePosition();return i!==this.parseTagName()?this.error(26,F(e,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">"))?{val:{type:8,value:i,children:s,location:F(r,this.clonePosition())},err:null}:this.error(23,F(o,this.clonePosition()))}}}parseTagName(){var e;let t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())}parseLiteral(e,t){let r=this.clonePosition(),i="";for(;;){let r=this.tryParseQuote(t);if(r){i+=r;continue}let n=this.tryParseUnquoted(e,t);if(n){i+=n;continue}let s=this.tryParseLeftAngleBracket();if(s){i+=s;continue}break}return{val:{type:0,value:i,location:F(r,this.clonePosition()),...this.captureEscapes&&{rawValue:this.message.slice(r.offset,this.offset())}},err:null}}tryParseLeftAngleBracket(){var e;return this.isEOF()||60!==this.char()||!this.ignoreTag&&(x(e=this.peek()||0)||47===e)?null:(this.bump(),"<")}tryParseQuote(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();let t=[this.char()];for(this.bump();!this.isEOF();){let e=this.char();if(39===e)if(39===this.peek())t.push(39),this.bump();else{this.bump();break}else t.push(e);this.bump()}return String.fromCodePoint(...t)}tryParseUnquoted(e,t){if(this.isEOF())return null;let r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&e>0?null:(this.bump(),String.fromCodePoint(r))}parseArgument(e,t){let r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(1,F(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(2,F(r,this.clonePosition()));let i=this.parseIdentifierIfPossible().value;if(!i)return this.error(3,F(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(1,F(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:1,value:i,location:F(r,this.clonePosition())},err:null};case 44:if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(1,F(r,this.clonePosition()));return this.parseArgumentOptions(e,t,i,r);default:return this.error(3,F(r,this.clonePosition()))}}parseIdentifierIfPossible(){var e;let t=this.clonePosition(),r=this.offset(),i=(e=this.message,G.lastIndex=r,G.exec(e)[1]??""),n=r+i.length;return this.bumpTo(n),{value:i,location:F(t,this.clonePosition())}}parseArgumentOptions(e,t,r,i){let n=this.clonePosition(),s=this.parseIdentifierIfPossible().value,o=this.clonePosition();switch(s){case"":return this.error(4,F(n,o));case"number":case"date":case"time":{this.bumpSpace();let e=null;if(this.bumpIf(",")){this.bumpSpace();let t=this.clonePosition(),r=this.parseSimpleArgStyleIfPossible();if(r.err)return r;let i=U(r.val);if(0===i.length)return this.error(6,F(this.clonePosition(),this.clonePosition()));e={style:i,styleLocation:F(t,this.clonePosition())}}let t=this.tryParseArgumentClose(i);if(t.err)return t;let n=F(i,this.clonePosition());if(e&&e.style.startsWith("::")){let t=C(e.style.slice(2));if("number"===s){let i=this.parseNumberSkeletonFromString(t,e.styleLocation);if(i.err)return i;return{val:{type:2,value:r,location:n,style:i.val},err:null}}{let i;if(0===t.length)return this.error(10,n);let o=t;return this.locale&&(o=function(e,t){let r="";for(let i=0;i<e.length;i++){let n=e.charAt(i);if("j"===n){let s=0;for(;i+1<e.length&&e.charAt(i+1)===n;)s++,i++;let o=1+(1&s),a=s<2?1:3+(s>>1),h=function(e){let t,r=e.hourCycle;if(void 0===r&&(r=e.getHourCycles?.()[0]??e.hourCycles?.[0]),r)switch(r){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw Error("Invalid hourCycle")}let i=e.language;return"root"!==i&&(t=e.maximize().region),(D[`${i}-${t}`]||D[t||""]||D[i||""]||D[`${i}-001`]||D["001"])[0].charAt(0)}(t);for(("H"==h||"k"==h)&&(a=0);a-- >0;)r+="a";for(;o-- >0;)r=h+r}else"J"===n?r+="H":r+=n}return r}(t,this.locale)),{val:{type:"date"===s?3:4,value:r,location:n,style:{type:1,pattern:o,location:e.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},o.replace(p,e=>{let t=e.length;switch(e[0]){case"G":i.era=4===t?"long":5===t?"narrow":"short";break;case"y":i.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":i.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw RangeError("`w/W` (week) patterns are not supported");case"d":i.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":i.weekday=4===t?"long":5===t?"narrow":"short";break;case"e":if(t<4)throw RangeError("`e..eee` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-3];break;case"c":if(t<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-3];break;case"a":i.hour12=!0;break;case"b":case"B":throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":i.hourCycle="h12",i.hour=["numeric","2-digit"][t-1];break;case"H":i.hourCycle="h23",i.hour=["numeric","2-digit"][t-1];break;case"K":i.hourCycle="h11",i.hour=["numeric","2-digit"][t-1];break;case"k":i.hourCycle="h24",i.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":i.minute=["numeric","2-digit"][t-1];break;case"s":i.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":i.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),i):{}}},err:null}}}return{val:{type:"number"===s?2:"date"===s?3:4,value:r,location:n,style:e?.style??null},err:null}}case"plural":case"selectordinal":case"select":{let n=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(12,F(n,{...n}));this.bumpSpace();let o=this.parseIdentifierIfPossible(),a=0;if("select"!==s&&"offset"===o.value){if(!this.bumpIf(":"))return this.error(13,F(this.clonePosition(),this.clonePosition()));this.bumpSpace();let e=this.tryParseDecimalInteger(13,14);if(e.err)return e;this.bumpSpace(),o=this.parseIdentifierIfPossible(),a=e.val}let h=this.tryParsePluralOrSelectOptions(e,s,t,o);if(h.err)return h;let l=this.tryParseArgumentClose(i);if(l.err)return l;let u=F(i,this.clonePosition());if("select"===s)return{val:{type:5,value:r,options:O(h.val),location:u},err:null};return{val:{type:6,value:r,options:O(h.val),offset:a,pluralType:"plural"===s?"cardinal":"ordinal",location:u},err:null}}default:return this.error(5,F(n,o))}}tryParseArgumentClose(e){return this.isEOF()||125!==this.char()?this.error(1,F(e,this.clonePosition())):(this.bump(),{val:!0,err:null})}parseSimpleArgStyleIfPossible(){let e=0,t=this.clonePosition();for(;!this.isEOF();)switch(this.char()){case 39:{this.bump();let e=this.clonePosition();if(!this.bumpUntil("'"))return this.error(11,F(e,this.clonePosition()));this.bump();break}case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}}parseNumberSkeletonFromString(e,t){let r=[];try{r=function(e){if(0===e.length)throw Error("Number skeleton cannot be empty");let t=e.split(g).filter(e=>e.length>0),r=[];for(let e of t){let t=e.split("/");if(0===t.length)throw Error("Invalid number skeleton");let[i,...n]=t;for(let e of n)if(0===e.length)throw Error("Invalid number skeleton");r.push({stem:i,options:n})}return r}(e)}catch{return this.error(7,t)}return{val:{type:0,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?function(e){let t={};for(let r of e){switch(r.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=r.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":t.style="unit",t.unit=r.options[0].replace(/^(.*?)-/,"");continue;case"unit":t.style="unit",t.unit=r.options[0];continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t={...t,notation:"scientific",...r.options.reduce((e,t)=>({...e,...T(t)}),{})};continue;case"engineering":t={...t,notation:"engineering",...r.options.reduce((e,t)=>({...e,...T(t)}),{})};continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(r.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(r.options.length>1)throw RangeError("integer-width stems only accept a single optional option");r.options[0].replace(y,function(e,r,i,n,s,o){if(r)t.minimumIntegerDigits=i.length;else if(n&&s)throw Error("We currently do not support maximum integer digits");else if(o)throw Error("We currently do not support exact integer digits");return""});continue}if(E.test(r.stem)){t.minimumIntegerDigits=r.stem.length;continue}if(d.test(r.stem)){if(r.options.length>1)throw RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(d,function(e,r,i,n,s,o){return"*"===i?t.minimumFractionDigits=r.length:n&&"#"===n[0]?t.maximumFractionDigits=n.length:s&&o?(t.minimumFractionDigits=s.length,t.maximumFractionDigits=s.length+o.length):(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length),""});let e=r.options[0];"w"===e?t={...t,trailingZeroDisplay:"stripIfInteger"}:e&&(t={...t,...H(e)});continue}if(b.test(r.stem)){t={...t,...H(r.stem)};continue}let e=B(r.stem);e&&(t={...t,...e});let i=function(e){let t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){let r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!E.test(e))throw Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(r.stem);i&&(t={...t,...i})}return t}(r):{}},err:null}}tryParsePluralOrSelectOptions(e,t,r,i){let n=!1,s=[],o=new Set,{value:a,location:h}=i;for(;;){if(0===a.length){let e=this.clonePosition();if("select"!==t&&this.bumpIf("=")){let t=this.tryParseDecimalInteger(16,19);if(t.err)return t;h=F(e,this.clonePosition()),a=this.message.slice(e.offset,this.offset())}else break}if(o.has(a))return this.error("select"===t?21:20,h);"other"===a&&(n=!0),this.bumpSpace();let i=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?17:18,F(this.clonePosition(),this.clonePosition()));let l=this.parseMessage(e+1,t,r);if(l.err)return l;let u=this.tryParseArgumentClose(i);if(u.err)return u;s.push([a,{value:l.val,location:F(i,this.clonePosition())}]),o.add(a),this.bumpSpace(),{value:a,location:h}=this.parseIdentifierIfPossible()}return 0===s.length?this.error("select"===t?15:16,F(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!n?this.error(22,F(this.clonePosition(),this.clonePosition())):{val:s,err:null}}tryParseDecimalInteger(e,t){let r=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);let n=!1,s=0;for(;!this.isEOF();){let e=this.char();if(e>=48&&e<=57)n=!0,s=10*s+(e-48),this.bump();else break}let o=F(i,this.clonePosition());return n?Number.isSafeInteger(s*=r)?{val:s,err:null}:this.error(t,o):this.error(e,o)}offset(){return this.position.offset}isEOF(){return this.offset()===this.message.length}clonePosition(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}}char(){let e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");let t=this.message.codePointAt(e);if(void 0===t)throw Error(`Offset ${e} is at invalid UTF-16 code unit boundary`);return t}error(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}}bump(){if(this.isEOF())return;let e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}bumpIf(e){let t=this.offset();if(this.message.slice(t,t+e.length)===e){for(let t=0;t<e.length;t++)this.bump();return!0}return!1}bumpUntil(e){let t=this.offset(),r=this.message.indexOf(e,t);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)}bumpTo(e){if(this.offset()>e)throw Error(`targetOffset ${e} must be greater than or equal to the current offset ${this.offset()}`);for(e=Math.min(e,this.message.length);;){let t=this.offset();if(t===e)break;if(t>e)throw Error(`targetOffset ${e} is at invalid UTF-16 code unit boundary`);if(this.bump(),this.isEOF())break}}bumpSpace(){for(var e;!this.isEOF()&&((e=this.char())>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e);)this.bump()}peek(){if(this.isEOF())return null;let e=this.char(),t=this.offset();return this.message.charCodeAt(t+(e>=65536?2:1))??null}};function x(e){return e>=97&&e<=122||e>=65&&e<=90}function $(e,t={}){let r=new k(e,t={shouldParseSkeletons:!0,requiresOtherClause:!0,...t}).parse();if(r.err){let e=SyntaxError(I[r.err.kind]);throw e.location=r.err.location,e.originalMessage=r.err.message,e}return t?.captureLocation||function e(t){t.forEach(t=>{if(delete t.location,5===t.type||6===t.type)for(let r in t.options)delete t.options[r].location,e(t.options[r].value);else 2===t.type&&P(t.style)||(3===t.type||4===t.type)&&A(t.style)?delete t.style.location:8===t.type&&e(t.children)})}(r.val),r.val}let j=((i={}).MISSING_VALUE="MISSING_VALUE",i.INVALID_VALUE="INVALID_VALUE",i.MISSING_INTL_API="MISSING_INTL_API",i);var V=class extends Error{constructor(e,t,r){super(e),this.code=t,this.originalMessage=r}toString(){return`[formatjs Error: ${this.code}] ${this.message}`}},K=class extends V{constructor(e,t,r,i){super(`Invalid values for "${e}": "${t}". Options are "${Object.keys(r).join('", "')}"`,"INVALID_VALUE",i)}},Z=class extends V{constructor(e,t,r){super(`Value for "${e}" must be of type ${t}`,"INVALID_VALUE",r)}},X=class extends V{constructor(e,t){super(`The intl string context variable "${e}" was not provided to the string "${t}"`,"MISSING_VALUE",t)}};function Y(e){return"function"==typeof e}function W(e){return{create:()=>({get:t=>e[t],set(t,r){e[t]=r}})}}var z=class e{constructor(t,r=e.defaultLocale,i,n){var s;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=e=>{let t=this.formatToParts(e);if(1===t.length)return t[0].value;let r=t.reduce((e,t)=>(e.length&&0===t.type&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e),[]);return r.length<=1?r[0]||"":r},this.formatToParts=e=>(function e(t,r,i,n,s,o,a){if(1===t.length&&0===t[0].type)return[{type:0,value:t[0].value}];let h=[];for(let l of t){if(0===l.type){h.push({type:0,value:l.value});continue}if(7===l.type){"number"==typeof o&&h.push({type:0,value:i.getNumberFormat(r).format(o)});continue}let{value:t}=l;if(!(s&&t in s))throw new X(t,a);let u=s[t];if(1===l.type){u&&"string"!=typeof u&&"number"!=typeof u&&"bigint"!=typeof u||(u="string"==typeof u||"number"==typeof u||"bigint"==typeof u?String(u):""),h.push({type:+("string"!=typeof u),value:u});continue}if(3===l.type){let e="string"==typeof l.style?n.date[l.style]:A(l.style)?l.style.parsedOptions:void 0;h.push({type:0,value:i.getDateTimeFormat(r,e).format(u)});continue}if(4===l.type){let e="string"==typeof l.style?n.time[l.style]:A(l.style)?l.style.parsedOptions:n.time.medium;h.push({type:0,value:i.getDateTimeFormat(r,e).format(u)});continue}if(2===l.type){let e="string"==typeof l.style?n.number[l.style]:P(l.style)?l.style.parsedOptions:void 0;if(e&&e.scale){let t=e.scale||1;if("bigint"==typeof u){if(!Number.isInteger(t))throw TypeError(`Cannot apply fractional scale ${t} to bigint value. Scale must be an integer when formatting bigint.`);u*=BigInt(t)}else u*=t}h.push({type:0,value:i.getNumberFormat(r,e).format(u)});continue}if(8===l.type){let{children:t,value:u}=l,c=s[u];if(!Y(c))throw new Z(u,"function",a);let m=c(e(t,r,i,n,s,o).map(e=>e.value));Array.isArray(m)||(m=[m]),h.push(...m.map(e=>({type:+("string"!=typeof e),value:e})))}if(5===l.type){let t=u,o=(Object.prototype.hasOwnProperty.call(l.options,t)?l.options[t]:void 0)||l.options.other;if(!o)throw new K(l.value,u,Object.keys(l.options),a);h.push(...e(o.value,r,i,n,s));continue}if(6===l.type){let t=`=${u}`,o=Object.prototype.hasOwnProperty.call(l.options,t)?l.options[t]:void 0;if(!o){if(!Intl.PluralRules)throw new V(`Intl.PluralRules is not available in this environment.
2
2
  Try polyfilling it using "@formatjs/intl-pluralrules"
3
3
  `,"MISSING_INTL_API",a);let e="bigint"==typeof u?Number(u):u,t=i.getPluralRules(r,{type:l.pluralType}).select(e-(l.offset||0));o=(Object.prototype.hasOwnProperty.call(l.options,t)?l.options[t]:void 0)||l.options.other}if(!o)throw new K(l.value,u,Object.keys(l.options),a);let c="bigint"==typeof u?Number(u):u;h.push(...e(o.value,r,i,n,s,c-(l.offset||0)));continue}}return h.length<2?h:h.reduce((e,t)=>{let r=e[e.length-1];return r&&0===r.type&&0===t.type?r.value+=t.value:e.push(t),e},[])})(this.ast,this.locales,this.formatters,this.formats,e,void 0,this.message),this.resolvedOptions=()=>({locale:this.resolvedLocale?.toString()||Intl.NumberFormat.supportedLocalesOf(this.locales)[0]}),this.getAst=()=>this.ast,this.locales=r,this.resolvedLocale=e.resolveLocale(r),"string"==typeof t){if(this.message=t,!e.__parse)throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");let{...r}=n||{};this.ast=e.__parse(t,{...r,locale:this.resolvedLocale})}else this.ast=t;if(!Array.isArray(this.ast))throw TypeError("A message must be provided as a String or AST.");this.formats=(s=e.formats,i?Object.keys(s).reduce((e,t)=>{var r,n;return e[t]=(r=s[t],(n=i[t])?{...r,...n,...Object.keys(r).reduce((e,t)=>(e[t]={...r[t],...n[t]},e),{})}:r),e},{...s}):s),this.formatters=n&&n.formatters||function(e={number:{},dateTime:{},pluralRules:{}}){return{getNumberFormat:a((...e)=>new Intl.NumberFormat(...e),{cache:W(e.number),strategy:f.variadic}),getDateTimeFormat:a((...e)=>new Intl.DateTimeFormat(...e),{cache:W(e.dateTime),strategy:f.variadic}),getPluralRules:a((...e)=>new Intl.PluralRules(...e),{cache:W(e.pluralRules),strategy:f.variadic})}}(this.formatterCache)}static{this.memoizedDefaultLocale=null}static get defaultLocale(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale}static{this.resolveLocale=e=>{if(void 0===Intl.Locale)return;let t=Intl.NumberFormat.supportedLocalesOf(e);return new Intl.Locale(t.length>0?t[0]:"string"==typeof e?e:e[0])}}static{this.__parse=$}static{this.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}}}},J=class e extends Error{constructor(t,r,i){let n=i?i instanceof Error?i:Error(String(i)):void 0;super(`[@formatjs/intl Error ${t}] ${r}
4
4
  ${n?`
@@ -0,0 +1,7 @@
1
+ __turbopack_load_page_chunks__("/styleguide", [
2
+ "static/chunks/37y01hdz8sxhr.js",
3
+ "static/chunks/1y-db7_k0jgmb.js",
4
+ "static/chunks/30jqt_vus0ht9.js",
5
+ "static/chunks/2hqwx9e8xxk58.js",
6
+ "static/chunks/turbopack-077hmtqrhcoji.js"
7
+ ])
@@ -0,0 +1,5 @@
1
+ __turbopack_load_page_chunks__("/users/new", [
2
+ "static/chunks/2abvgs_fkmp8g.js",
3
+ "static/chunks/30jqt_vus0ht9.js",
4
+ "static/chunks/turbopack-077hmtqrhcoji.js"
5
+ ])
@@ -0,0 +1,5 @@
1
+ __turbopack_load_page_chunks__("/filters/new", [
2
+ "static/chunks/1n3dc-2mpab65.js",
3
+ "static/chunks/30jqt_vus0ht9.js",
4
+ "static/chunks/turbopack-077hmtqrhcoji.js"
5
+ ])
@@ -0,0 +1,5 @@
1
+ __turbopack_load_page_chunks__("/reset-password", [
2
+ "static/chunks/44l-287ai2bc0.js",
3
+ "static/chunks/30jqt_vus0ht9.js",
4
+ "static/chunks/turbopack-077hmtqrhcoji.js"
5
+ ])
@@ -1,4 +1,4 @@
1
1
  __turbopack_load_page_chunks__("/404", [
2
2
  "static/chunks/20f2gs8iua6fk.js",
3
- "static/chunks/turbopack-2c3mg3r-05n1w.js"
3
+ "static/chunks/turbopack-077hmtqrhcoji.js"
4
4
  ])
@@ -0,0 +1,7 @@
1
+ __turbopack_load_page_chunks__("/country", [
2
+ "static/chunks/0ikig1vazlo5p.js",
3
+ "static/chunks/3f_aw3x3h5zrb.js",
4
+ "static/chunks/30jqt_vus0ht9.js",
5
+ "static/chunks/2hqwx9e8xxk58.js",
6
+ "static/chunks/turbopack-077hmtqrhcoji.js"
7
+ ])
@@ -0,0 +1,95 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,85463,(e,t,r)=>{let s="/products/new";(window.__NEXT_P=window.__NEXT_P||[]).push([s,()=>e.r(46342)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([s])})},61494,e=>{"use strict";var t=e.i(91398),r=e.i(41158),s=e.i(3828),a=e.i(69322);e.s(["f",0,({routeName:e=null,currentPageTitle:o=null,depth:l=null})=>{let i=(0,s.useRouter)(),{formatMessage:n}=(0,a.S)(),d={home:"home",products:"products",orders:"orders",users:"users",assortments:"assortments",filters:"filters",tokens:"tokens",quotations:"quotations",enrollments:"enrollments",activities:"activities",works:"work_queue",events:"events",currency:"currencies",country:"countries",language:"languages","delivery-provider":"delivery_providers","payment-provider":"payment_providers","warehousing-provider":"warehousing_provider",system:"system",account:"account",new:"new",edit:"edit"},c=i.asPath?.split("/")?.filter((e,t)=>i.asPath?.split("/")?.indexOf(e)===t);if(1===c.length)return null;let u="";l&&c.splice(l),e&&(c[c.length-1]=e);let f=c?.map(t=>{if(u+=`${t}/`,!t)return{name:n({id:"home",defaultMessage:"Home"}),path:"/"};let r=t?.split("?")[0],s=e?r:r.replace(/-/g," "),a=d[r];return{name:a?n({id:a,defaultMessage:s}):decodeURIComponent(s),path:u.replace(/.$/,"")}});return(0,t.jsx)("nav",{className:"mb-5 hidden sm:flex lg:mt-5 lg:mb-8","aria-label":"Breadcrumb",children:(0,t.jsx)("ol",{className:"flex items-center space-x-4",children:f?.map((e,s)=>(0,t.jsx)("li",{children:(0,t.jsxs)("div",{className:"flex items-center",children:[0!==s&&(0,t.jsx)("svg",{className:"mr-4 h-5 w-5 shrink-0 text-slate-400",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:"M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z",clipRule:"evenodd"})}),(0,t.jsx)(r.default,{href:e.path,className:"text-sm font-medium capitalize text-slate-500 dark:text-slate-400 dark:hover:text-slate-300 hover:text-slate-700 focus:outline-hidden focus:ring-2 focus:ring-slate-800 rounded-md px-1 py-1",children:s===f.length-1&&o?o:e.name})]})},e.path))})})}])},81013,e=>{"use strict";var t=e.i(91398),r=e.i(72043);e.s(["f",0,({text:e,children:s,onClick:a,className:o="",disabled:l=!1,id:i="",variant:n="primary",size:d="md",type:c="button",loading:u=!1,icon:f,iconRight:p,fullWidth:m=!1,rounded:g="md",ariaLabel:b,...h})=>{let x=s||e,y=(f||p)&&x?"gap-2":"";return(0,t.jsx)("button",{id:i,type:c,disabled:l||u,onClick:a,"aria-label":b,className:(0,r.default)("inline-flex items-center justify-center font-medium shadow-xs focus:outline-hidden focus:ring-2 focus:ring-offset-2 transition-colors duration-200 disabled:cursor-not-allowed disabled:opacity-50",{xs:"px-2.5 py-1.5 text-xs h-6",sm:"px-3 py-2 text-sm h-8",md:"px-4 py-2 text-sm h-9",lg:"px-6 py-3 text-base h-11"}[d],{none:"rounded-none",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",full:"rounded-full"}[g],{primary:"border border-slate-800 dark:border-slate-600 bg-slate-800 dark:bg-slate-600 text-white hover:bg-slate-900 dark:hover:bg-slate-500 focus:ring-slate-800 dark:focus:ring-slate-400",secondary:"border border-slate-300 dark:border-slate-600 bg-white dark:bg-slate-800 text-slate-700 dark:text-slate-200 hover:bg-slate-50 dark:hover:bg-slate-700 focus:ring-slate-500",tertiary:"border border-slate-200 dark:border-slate-700 bg-slate-50 dark:bg-slate-800 text-slate-600 dark:text-slate-300 hover:bg-slate-100 dark:hover:bg-slate-700 focus:ring-slate-400",quaternary:"bg-transparent text-slate-700 dark:text-slate-200 hover:bg-slate-100 dark:hover:bg-slate-800 focus:ring-slate-400",danger:"border border-rose-500 dark:border-rose-400 bg-white dark:bg-slate-800 text-rose-600 dark:text-rose-400 hover:bg-rose-50 dark:hover:bg-rose-900/10 focus:ring-rose-500",ghost:"bg-transparent border border-transparent text-slate-600 dark:text-slate-400 hover:text-slate-900 dark:hover:text-slate-200 hover:bg-slate-100 dark:hover:bg-slate-800 focus:ring-slate-400",success:"border border-emerald-500 dark:border-emerald-400 bg-emerald-50 dark:bg-emerald-900/20 text-emerald-600 dark:text-emerald-400 hover:bg-emerald-100 dark:hover:bg-emerald-900/30 focus:ring-emerald-500",neutral:"border border-slate-300 dark:border-slate-600 bg-slate-100 dark:bg-slate-700 text-slate-600 dark:text-slate-300 hover:bg-slate-200 dark:hover:bg-slate-600 focus:ring-slate-400",input:"border border-slate-300 dark:border-slate-600 bg-white dark:bg-slate-800 text-slate-900 dark:text-slate-100 hover:border-slate-400 dark:hover:border-slate-500 focus:ring-slate-500 focus:border-slate-500"}[n],y,{"w-full":m},o),...h,children:u?(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("div",{className:"w-4 h-4 border-2 border-current border-t-transparent rounded-full animate-spin"}),x]}):(0,t.jsxs)(t.Fragment,{children:[f,x,p]})})}])},30276,e=>{"use strict";var t=e.i(91398),r=e.i(91788);let s=r.forwardRef(function({title:e,titleId:t,...s},a){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},s),e?r.createElement("title",{id:t},e):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 5.25h.008v.008H12v-.008Z"}))});var a=e.i(69322);e.s(["f",0,({messageKey:e,defaultMessage:r,values:o,className:l="",showIcon:i=!0})=>{let{formatMessage:n}=(0,a.S)(),d=n({id:e,defaultMessage:r},o);return d?(0,t.jsxs)("div",{className:`flex items-start space-x-1 text-sm text-slate-600 dark:text-slate-400 ${l}`,children:[i&&(0,t.jsx)(s,{className:"h-4 w-4 mt-0.5 flex-shrink-0"}),(0,t.jsx)("span",{children:d})]}):null}],30276)},11056,e=>{"use strict";var t=e.i(91398),r=e.i(91788),s=e.i(5505),a=e.i(57561);e.s(["f",0,({children:e,onlyFull:o=!1})=>{let{languageDialectList:l,selectedLocale:i,setSelectedLocale:n}=(0,a.f)(),d=(0,r.useContext)(s.W),c=l.filter(e=>!o||e.isoCode.includes("-"));return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:`w-fit mt-5 mb-3 ${d?"ml-5":""}`,children:(0,t.jsx)("select",{id:"locale-wrapper",className:"cursor-pointer rounded-md border-1 border-slate-300 dark:border-slate-700 py-1 pr-8 text-sm lg:py-1 lg:pr-10 text-black dark:text-white dark:bg-slate-800 shadow-xs focus:outline-hidden focus:ring-2 focus:ring-slate-800",value:i||"",onChange:e=>{e.stopPropagation(),n(e.target.value)},children:c?.map(e=>(0,t.jsx)("option",{value:e.isoCode,children:e.isoCode},e._id))})}),(0,t.jsx)("div",{children:r.default.cloneElement(e)})]})}])},17644,e=>{"use strict";var t=e.i(91398),r=e.i(58678),s=e.i(41158),a=e.i(69322),o=e.i(37369),l=e.i(81013);e.s(["f",0,({headerText:e=null,onEdit:i=null,onDelete:n=null,children:d=null,title:c=null,addPath:u=null,addButtonText:f=null})=>{let{formatMessage:p}=(0,a.S)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.default,{children:(0,t.jsxs)("title",{children:["Unchained AdminUI - ",c||e," "]})}),(0,t.jsx)("div",{className:"flex gap-3 flex-wrap items-center justify-between",children:(0,t.jsxs)("div",{className:"flex items-center flex-wrap justify-between w-full gap-4",children:[e&&(0,t.jsx)("h2",{className:"text-2xl font-medium text-slate-900 dark:text-slate-300 sm:truncate sm:text-3xl lg:text-4xl",children:e}),(0,t.jsxs)("div",{className:"flex items-center gap-3 flex-shrink-0",children:[d,u&&(0,t.jsx)(s.default,{href:u,children:(0,t.jsx)(l.f,{variant:"secondary",icon:(0,t.jsx)(o.f,{className:"h-5 w-5"}),text:f||p({id:"add",defaultMessage:"Add"})})}),i&&(0,t.jsx)(l.f,{variant:"secondary",onClick:i,text:p({id:"edit",defaultMessage:"Edit"})}),n&&(0,t.jsx)(l.f,{variant:"danger",onClick:n,text:p({id:"delete",defaultMessage:"Delete"})})]})]})})]})}])},73319,e=>{"use strict";let t=e=>"[object Object]"===Object.prototype.toString.call(e);e.s(["Q",0,e=>decodeURIComponent(e||[])?.split(",")?.filter(Boolean),"C",0,t,"T",0,e=>!(!e||null==e||t(e)&&!Object.keys(e).length||Array.isArray(e)&&!e.length)])},73419,e=>{"use strict";var t=e.i(91398),r=e.i(72043),s=e.i(60741),a=e.i(29691);e.s(["f",0,e=>{let{options:o,...l}=(0,s.f)(e),{className:i}=e||{className:""};return(0,t.jsx)(a.f,{...l,children:(0,t.jsx)("div",{className:"select-wrap",children:(0,t.jsxs)("select",{className:(0,r.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",i,{"border-rose-700 text-rose-600 dark:border-rose-500 dark:text-rose-400":!!l.error}),disabled:l.disabled,id:l.name,name:l.name,onChange:l.onChange,onBlur:l.onBlur,value:l.value,children:[(0,t.jsx)("option",{className:"dark:text-slate-200",value:"",disabled:l.required,hidden:l.required,children:l.placeholder||l.label}),Object.entries(o).map(([e,r])=>(0,t.jsx)("option",{className:"dark:text-slate-200",value:e,children:r},e))]})})})}])},99160,e=>{"use strict";var t=e.i(91398),r=e.i(72043),s=e.i(38865),a=e.i(61898);e.s(["f",0,({label:e,disabled:o=!1,className:l="",hidden:i=!1,...n})=>{let d=(0,s.m)(),{...c}=n,u=Object.fromEntries(Object.keys(d.initialValues).map(e=>[e,d.getFieldMeta(e)])),{disabled:f}=(0,a.f)(),p=Object.values(u).reduce((e,{error:t,touched:r})=>e||t&&r,!1),m=o||f||d.isSubmitting||p,g=d.isSubmitting&&!p,b=(o||f||p)&&!d.isSubmitting;return(0,t.jsx)("input",{className:(0,r.default)("inline-flex cursor-pointer justify-center rounded-sm border border-slate-300 px-4 py-2 text-center text-sm font-medium leading-5 shadow-sm hover:shadow-md focus:ring-slate-800 dark:focus:ring-slate-400",l,{"bg-rose-50 dark:bg-slate-800 dark:text-rose-300 cursor-not-allowed border-rose-300 dark:border-rose-600 text-rose-900":b,"bg-slate-600 dark:bg-slate-700 text-white cursor-not-allowed border-slate-400 dark:border-slate-600":g,"bg-slate-800 dark:bg-slate-600 text-white hover:bg-slate-900 dark:hover:bg-slate-500 focus:outline-hidden focus:ring-2 focus:ring-offset-2 border-transparent":!m,hidden:i}),"aria-label":e,type:"submit",value:e,disabled:m,...c})}])},45229,e=>{"use strict";var t=e.i(91398),r=e.i(72043),s=e.i(82226),a=e.i(60741),o=e.i(29691);e.s(["f",0,({maxLength:e=0,validators:l=[],...i})=>{let n=(0,a.f)({validators:[...l,e&&(0,s.f)(e)],...i});return(0,t.jsx)(o.f,{...n,children:(0,t.jsx)("input",{className:(0,r.default)("relative mt-1 block w-full dark:focus:autofill dark:hover:autofill dark:autofill dark:placeholder:text-slate-600 dark:bg-slate-900 dark:text-slate-200 appearance-none rounded-md border-1 dark:border-slate-700 px-4 py-2.5 text-sm text-slate-900 focus:outline-hidden focus:ring-2 focus:ring-slate-800 shadow-xs",{"border-rose-700 placeholder:text-rose-500":!!n.error,"border-slate-300 placeholder-slate-400":!n.error}),disabled:n.disabled,id:n.name,name:n.name,onChange:n.onChange,onClick:e=>{e.stopPropagation()},onBlur:n.onBlur,placeholder:n.placeholder,autoComplete:n.autoComplete||"off",type:n.type||"text",value:n.value,autoFocus:n.autoFocus})})}])},62199,14336,e=>{"use strict";var t=e.i(59080);let r=t.f`
2
+ fragment ProductDetailFragment on Product {
3
+ _id
4
+ sequence
5
+ status
6
+ created
7
+ tags
8
+ updated
9
+ published
10
+
11
+ media {
12
+ _id
13
+ tags
14
+ file {
15
+ _id
16
+ url
17
+ }
18
+ }
19
+ reviews {
20
+ _id
21
+ created
22
+ author {
23
+ _id
24
+ username
25
+ isGuest
26
+ }
27
+ rating
28
+ title
29
+ review
30
+ voteCount
31
+ ownVotes {
32
+ type
33
+ timestamp
34
+ }
35
+ }
36
+ siblings {
37
+ _id
38
+ media {
39
+ _id
40
+ file {
41
+ _id
42
+ url
43
+ }
44
+ }
45
+ }
46
+ }
47
+ `;e.s(["f",0,r],62199);let s=t.f`
48
+ fragment ProductTextsFragment on ProductTexts {
49
+ _id
50
+ locale
51
+ slug
52
+ title
53
+ subtitle
54
+ description
55
+ vendor
56
+ brand
57
+ labels
58
+ }
59
+ `;e.s(["f",0,s],14336)},38994,e=>{"use strict";var t=e.i(59080),r=e.i(76204),s=e.i(62199),a=e.i(14336);let o=t.f`
60
+ mutation CreateProduct(
61
+ $product: CreateProductInput!
62
+ $texts: [ProductTextInput!]
63
+ ) {
64
+ createProduct(product: $product, texts: $texts) {
65
+ ...ProductDetailFragment
66
+ ... on SimpleProduct {
67
+ texts {
68
+ ...ProductTextsFragment
69
+ }
70
+ }
71
+ ... on ConfigurableProduct {
72
+ texts {
73
+ ...ProductTextsFragment
74
+ }
75
+ }
76
+ ... on BundleProduct {
77
+ texts {
78
+ ...ProductTextsFragment
79
+ }
80
+ }
81
+ ... on TokenizedProduct {
82
+ texts {
83
+ ...ProductTextsFragment
84
+ }
85
+ }
86
+ ... on PlanProduct {
87
+ texts {
88
+ ...ProductTextsFragment
89
+ }
90
+ }
91
+ }
92
+ }
93
+ ${s.f}
94
+ ${a.f}
95
+ `;e.s(["f",0,()=>{let[e,{data:t,error:s,loading:a}]=(0,r.f)(o);return{createProduct:async({product:{type:t,tags:r},texts:s})=>e({variables:{product:{type:t,tags:r},texts:s},refetchQueries:["Products","ShopStatus","ShopInfo"]}),newProduct:t?.createProduct,error:s,loading:a}}])},46342,e=>{"use strict";var t=e.i(91398),r=e.i(3828),s=e.i(69322),a=e.i(61494),o=e.i(5505),l=e.i(17644),i=e.i(1880),n=e.i(66773),d=e.i(58971),c=e.i(69211),u=e.i(73419),f=e.i(99160),p=e.i(96015),m=e.i(45229),g=e.i(98949),b=e.i(30276),h=e.i(57561);let x=({onSubmit:e,onSubmitSuccess:r})=>{let{formatMessage:a}=(0,s.S)(),{hasRole:o}=(0,d.f)(),{selectedLocale:l,shopInfo:i}=(0,h.f)(),x=a({id:"product_added",defaultMessage:"Product added successfully!"}),y=(0,g.f)({submit:async t=>{let{title:r,subtitle:s,type:a,tags:o}=t;if(!r||!a)return{success:!1};let i=[{title:r,subtitle:s||"",slug:r.toLowerCase().replace(/\s+/g,"-"),locale:l}];return await e({texts:i,type:a,tags:o||[]})},onSubmitSuccess:r,successMessage:x,initialValues:{title:"",subtitle:"",type:n.f.SimpleProduct,tags:[]}});return(0,t.jsxs)(c.f,{form:y,children:[(0,t.jsxs)("div",{className:"p-5 pb-7 sm:max-w-full flex flex-col gap-3",children:[(0,t.jsx)(m.f,{name:"title",id:"title",label:a({id:"name",defaultMessage:"Name"}),required:!0,className:"block w-full max-w-full rounded-md border-slate-300 dark:border-slate-800 text-sm focus:ring-slate-800 sm:text-sm"}),(0,t.jsx)(m.f,{name:"subtitle",id:"subtitle",label:a({id:"subtitle",defaultMessage:"Subtitle"}),className:"block w-full max-w-full rounded-md border-slate-300 dark:border-slate-800 text-sm focus:ring-slate-800 sm:text-sm"}),(0,t.jsx)(u.f,{className:"mt-1 w-full",label:a({id:"type",defaultMessage:"Type"}),placeholder:a({id:"type",defaultMessage:"Type"}),required:!0,name:"type",options:Object.fromEntries(Object.entries(n.f).map(([e,t])=>[t,e]))}),(0,t.jsx)(p.f,{name:"tags",label:a({id:"tags",defaultMessage:"Tags"}),placeholder:a({id:"enter_tag",defaultMessage:"Enter tag..."}),selectOptions:(i?.adminUiConfig.productTags||[]).map(e=>({value:e,label:e}))}),(0,t.jsx)(b.f,{messageKey:"product_tags_help",defaultMessage:"Add keywords to organize and filter products (e.g., 'electronics', 'outdoor', 'premium'). These work across all languages and help customers find products through search and filters.",className:"mt-1"})]}),o(n.C.ManageProducts)&&(0,t.jsx)("div",{className:"border-t border-t-slate-100 dark:border-t-slate-700 bg-slate-50 dark:bg-slate-900 p-5 text-right",children:(0,t.jsx)(f.f,{label:a({id:"add_product",defaultMessage:"Add Product"})})})]})};var y=e.i(38994),v=e.i(11056);e.s(["default",0,()=>{let{createProduct:e}=(0,y.f)(),n=(0,r.useRouter)(),{formatMessage:d}=(0,s.S)(),c=async({texts:t,type:r,tags:s})=>{let{data:a,error:o}=await e({product:{type:r,tags:s},texts:t});return o?{success:!1}:{success:!0,data:a?.createProduct}};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.f,{}),(0,t.jsx)(l.f,{headerText:d({id:"new_product_header",defaultMessage:"New product"})}),(0,t.jsxs)("div",{className:"mt-6 lg:grid lg:grid-cols-3 gap-10",children:[(0,t.jsx)("div",{className:"lg:col-span-2",children:(0,t.jsx)(o.U,{children:(0,t.jsx)(v.f,{children:(0,t.jsx)(x,{onSubmit:c,onSubmitSuccess:(e,{...t})=>(n.replace(`/products?slug=${(0,i.U)(t)}`),!0)})})})}),(0,t.jsxs)("div",{className:"mt-10 lg:mt-0 lg:col-span-1 space-y-2",children:[(0,t.jsx)("h3",{className:"text-lg text-slate-900 dark:text-slate-200",children:d({id:"product_type",defaultMessage:"Product type"})}),(0,t.jsxs)("div",{className:"text-sm divide-y divide-slate-200 dark:divide-slate-800 dark:text-slate-400 lg:mr-10",children:[(0,t.jsx)("div",{className:"my-2 py-2",children:(0,t.jsx)(s.K,{id:"simple_product_definition",defaultMessage:" <h3>Simple</h3> <p>Simple product is the most commonly used type of product type. It accepts configuration values for price, dimension and warehousing. Most e-commerce product needs are satisfied by this type </p>",values:{h3:e=>(0,t.jsx)("h3",{className:"font-semibold ",children:e}),p:e=>(0,t.jsx)("p",{children:e})}})}),(0,t.jsx)("div",{className:"my-2 py-2",children:(0,t.jsx)(s.K,{id:"plan_product_definition",defaultMessage:" <h3>Plan</h3> <p>Plan product is use when you have a product that is offered per subscription base. Since for this type of product the payment is usually recurring, you can adjust the interval of payment calculation.\n\n </p>",values:{h3:e=>(0,t.jsx)("h3",{className:"font-semibold ",children:e}),p:e=>(0,t.jsx)("p",{children:e})}})}),(0,t.jsx)("div",{className:"my-2 py-2",children:(0,t.jsx)(s.K,{id:"bundle_product_definition",defaultMessage:" <h3>Bundle</h3> <p>As the name suggest this product type enables you to create a collection/bundle of products as one and set the price accordingly. This type of product is useful if you have christmas package for example. </p>",values:{h3:e=>(0,t.jsx)("h3",{className:"font-semibold ",children:e}),p:e=>(0,t.jsx)("p",{children:e})}})}),(0,t.jsx)("div",{className:"my-2 py-2",children:(0,t.jsx)(s.K,{id:"configurable_product_definition",defaultMessage:" <h3>Configurable</h3> <p>Configurable Product is used to organize varieties of a product. A product might have a variation in color, size or other distinct property in that case you can use a configurable product type to organize all the variation under one category and outline-solid there difference. </p>",values:{h3:e=>(0,t.jsx)("h3",{className:"font-semibold ",children:e}),p:e=>(0,t.jsx)("p",{children:e})}})})]})]})]})]})}],46342)},76204,e=>{"use strict";var t=e.i(24669),r=e.i(91788),s=e.i(30928),a=e.i(52006);let o=e.i(21953).f?r.useLayoutEffect:r.useEffect;var l=e.i(98926);function i(e){return{data:void 0,error:void 0,called:!1,loading:!1,client:e}}e.s(["f",0,function(e,n){let d=(0,l.f)(n?.client),[c,u]=r.useState(()=>i(d)),f=r.useRef({result:c,mutationId:0,isMounted:!0,client:d,mutation:e,options:n});o(()=>{Object.assign(f.current,{client:d,options:n,mutation:e})});let p=r.useCallback((e={})=>{let{options:r,mutation:o}=f.current,l={...r,mutation:o},i=e.client||f.current.client,n="function"==typeof e.context?e.context(r?.context):e.context;!f.current.result.loading&&f.current.isMounted&&u(f.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:i});let d=++f.current.mutationId,c=(0,s.f)(l,{...e,context:n});return(0,a.f)(i.mutate(c).then(r=>{let{data:s,error:a}=r,o=e.onError||f.current.options?.onError;if(a&&o&&o(a,c),d===f.current.mutationId){let e={called:!0,loading:!1,data:s,error:a,client:i};f.current.isMounted&&!(0,t.f)(f.current.result,e)&&u(f.current.result=e)}let l=e.onCompleted||f.current.options?.onCompleted;return a||l?.(r.data,c),r},r=>{if(d===f.current.mutationId&&f.current.isMounted){let e={loading:!1,error:r,data:void 0,called:!0,client:i};(0,t.f)(f.current.result,e)||u(f.current.result=e)}let s=e.onError||f.current.options?.onError;throw s&&s(r,c),r}))},[]),m=r.useCallback(()=>{if(f.current.isMounted){let e=i(f.current.client);Object.assign(f.current,{mutationId:0,result:e}),u(e)}},[]);return r.useEffect(()=>{let e=f.current;return e.isMounted=!0,()=>{e.isMounted=!1}},[]),[p,{reset:m,...c}]}],76204)},37369,e=>{"use strict";var t=e.i(91788);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:"M12 4.5v15m7.5-7.5h-15"}))});e.s(["f",0,r],37369)},9356,e=>{"use strict";var t=e.i(35113);e.s(["f",0,function(e){return!(!(e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))&&"number"!=typeof e||isNaN(+(0,t.f)(e)))}],9356)},49543,e=>{"use strict";var t=e.i(35113);e.s(["f",0,function(e,r){let s=(0,t.f)(e,r?.in);return s.setHours(0,0,0,0),s}])},35113,2848,98170,e=>{"use strict";let t=Symbol.for("constructDateFrom");function r(e,r){return"function"==typeof e?e(r):e&&"object"==typeof e&&t in e?e[t](r):e instanceof Date?new e.constructor(r):new Date(r)}e.s(["C",0,t,"_",0,864e5,"r",0,36e5,"z",0,6e4,"A",0,6048e5,"k",0,1440,"d",0,43200,"l",0,525600],2848),e.s(["f",0,r],98170),e.s(["f",0,function(e,t){return r(t||e,e)}],35113)},34980,(e,t,r)=>{"use strict";var s=e.r(49957),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},l={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};function n(e){return s.isMemo(e)?l:i[e.$$typeof]||a}i[s.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i[s.Memo]=l;var d=Object.defineProperty,c=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;t.exports=function e(t,r,s){if("string"!=typeof r){if(m){var a=p(r);a&&a!==m&&e(t,a,s)}var l=c(r);u&&(l=l.concat(u(r)));for(var i=n(t),g=n(r),b=0;b<l.length;++b){var h=l[b];if(!o[h]&&!(s&&s[h])&&!(g&&g[h])&&!(i&&i[h])){var x=f(r,h);try{d(t,h,x)}catch(e){}}}}return t}},40563,(e,t,r)=>{"use strict";var s="function"==typeof Symbol&&Symbol.for,a=s?Symbol.for("react.element"):60103,o=s?Symbol.for("react.portal"):60106,l=s?Symbol.for("react.fragment"):60107,i=s?Symbol.for("react.strict_mode"):60108,n=s?Symbol.for("react.profiler"):60114,d=s?Symbol.for("react.provider"):60109,c=s?Symbol.for("react.context"):60110,u=s?Symbol.for("react.async_mode"):60111,f=s?Symbol.for("react.concurrent_mode"):60111,p=s?Symbol.for("react.forward_ref"):60112,m=s?Symbol.for("react.suspense"):60113,g=s?Symbol.for("react.suspense_list"):60120,b=s?Symbol.for("react.memo"):60115,h=s?Symbol.for("react.lazy"):60116,x=s?Symbol.for("react.block"):60121,y=s?Symbol.for("react.fundamental"):60117,v=s?Symbol.for("react.responder"):60118,j=s?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case a:switch(e=e.type){case u:case f:case l:case n:case i:case m:return e;default:switch(e=e&&e.$$typeof){case c:case p:case h:case b:case d:return e;default:return t}}case o:return t}}}function w(e){return k(e)===f}r.AsyncMode=u,r.ConcurrentMode=f,r.ContextConsumer=c,r.ContextProvider=d,r.Element=a,r.ForwardRef=p,r.Fragment=l,r.Lazy=h,r.Memo=b,r.Portal=o,r.Profiler=n,r.StrictMode=i,r.Suspense=m,r.isAsyncMode=function(e){return w(e)||k(e)===u},r.isConcurrentMode=w,r.isContextConsumer=function(e){return k(e)===c},r.isContextProvider=function(e){return k(e)===d},r.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===a},r.isForwardRef=function(e){return k(e)===p},r.isFragment=function(e){return k(e)===l},r.isLazy=function(e){return k(e)===h},r.isMemo=function(e){return k(e)===b},r.isPortal=function(e){return k(e)===o},r.isProfiler=function(e){return k(e)===n},r.isStrictMode=function(e){return k(e)===i},r.isSuspense=function(e){return k(e)===m},r.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===l||e===f||e===n||e===i||e===m||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===b||e.$$typeof===d||e.$$typeof===c||e.$$typeof===p||e.$$typeof===y||e.$$typeof===v||e.$$typeof===j||e.$$typeof===x)},r.typeOf=k},49957,(e,t,r)=>{"use strict";e.i(50461),t.exports=e.r(40563)}]);
@@ -1,4 +1,4 @@
1
1
  __turbopack_load_page_chunks__("/500", [
2
2
  "static/chunks/0dqw1oya___hr.js",
3
- "static/chunks/turbopack-2c3mg3r-05n1w.js"
3
+ "static/chunks/turbopack-077hmtqrhcoji.js"
4
4
  ])
@@ -0,0 +1,61 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,33777,(e,t,r)=>{let i="/payment-provider";(window.__NEXT_P=window.__NEXT_P||[]).push([i,()=>e.r(45753)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([i])})},16238,e=>{"use strict";var t=e.i(59080);let r=t.f`
2
+ fragment PaymentProviderFragment on PaymentProvider {
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(["f",0,r])},53555,e=>{"use strict";var t=e.i(59080),r=e.i(32171),i=e.i(70693),a=e.i(16238);e.s(["f",0,({paymentProviderId:e=null})=>{let{customProperties:d}=(0,i.f)(),{data:n,loading:o,error:s}=(0,r.f)(((e="")=>t.f`
18
+ query PaymentProvider($paymentProviderId: ID!) {
19
+ paymentProvider(paymentProviderId: $paymentProviderId) {
20
+ ...PaymentProviderFragment
21
+ ${e}
22
+ }
23
+ }
24
+ ${a.f}
25
+ `)(d?.PaymentProvider),{skip:!e,variables:{paymentProviderId:e}});return{paymentProvider:n?.paymentProvider,loading:o,error:s}}])},51967,e=>{"use strict";var t=e.i(59080),r=e.i(32171);let i=t.f`
26
+ query PaymentProvidersType {
27
+ paymentProviderType: __type(name: "PaymentProviderType") {
28
+ options: enumValues {
29
+ value: name
30
+ label: description
31
+ }
32
+ }
33
+ }
34
+ `;e.s(["f",0,()=>{let{data:e,loading:t,error:a}=(0,r.f)(i);return{paymentProviderType:e?.paymentProviderType?.options||[],loading:t,error:a}}])},29338,e=>{"use strict";var t=e.i(59080),r=e.i(32171),i=e.i(16238);let a=t.f`
35
+ query PaymentProviders($type: PaymentProviderType) {
36
+ paymentProviders(type: $type) {
37
+ ...PaymentProviderFragment
38
+ }
39
+ paymentProvidersCount(type: $type)
40
+ }
41
+ ${i.f}
42
+ `;e.s(["f",0,({type:e=null}={})=>{let t={};e&&(t.type=e);let{data:i,loading:d,error:n}=(0,r.f)(a,{variables:t});return{paymentProviders:i?.paymentProviders||[],loading:d,error:n,paymentProvidersCount:i?.paymentProvidersCount||0}}])},74982,e=>{"use strict";var t=e.i(59080),r=e.i(76204);let i=t.f`
43
+ mutation RemovePaymentProvider($paymentProviderId: ID!) {
44
+ removePaymentProvider(paymentProviderId: $paymentProviderId) {
45
+ _id
46
+ }
47
+ }
48
+ `;e.s(["f",0,()=>{let[e]=(0,r.f)(i);return{removePaymentProvider:async({paymentProviderId:t})=>e({variables:{paymentProviderId:t},refetchQueries:["PaymentProviders","ShopStatus"]})}}])},70365,e=>{"use strict";var t=e.i(91398),r=e.i(3828),i=e.i(66773),a=e.i(69322),d=e.i(28401),n=e.i(61494),o=e.i(17644),s=e.i(53555),y=e.i(74982),p=e.i(59080),m=e.i(76204),v=e.i(16238);let P=p.f`
49
+ mutation UpdatePaymentProvider(
50
+ $paymentProvider: UpdateProviderInput!
51
+ $paymentProviderId: ID!
52
+ ) {
53
+ updatePaymentProvider(
54
+ paymentProvider: $paymentProvider
55
+ paymentProviderId: $paymentProviderId
56
+ ) {
57
+ ...PaymentProviderFragment
58
+ }
59
+ }
60
+ ${v.f}
61
+ `;var u=e.i(12197),l=e.i(15971),c=e.i(6607),f=e.i(33457),_=e.i(81359),g=e.i(83147),h=e.i(58971);e.s(["default",0,({paymentProviderId:e})=>{let{formatMessage:p}=(0,a.S)(),{setModal:v}=(0,c.f)(),{push:x,replace:T}=(0,r.useRouter)(),{hasRole:j}=(0,h.f)(),{updatePaymentProvider:w}=(()=>{let[e]=(0,m.f)(P);return{updatePaymentProvider:async({configuration:t,paymentProviderId:r})=>e({variables:{paymentProvider:{configuration:t},paymentProviderId:r}})}})(),{removePaymentProvider:C}=(0,y.f)(),{paymentProvider:I,loading:M}=(0,s.f)({paymentProviderId:e}),$=async({configuration:t})=>(await w({configuration:JSON.parse(t||"[]"),paymentProviderId:e}),!0),b=async()=>{await v((0,t.jsx)(l.f,{onCancelClick:async()=>v(""),message:p({id:"delete_payment_provider_confirmation",defaultMessage:"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this payment provider? "}),onOkClick:async()=>{v(""),await C({paymentProviderId:e}),d.c.success(p({id:"payment_provider_deleted",defaultMessage:"Payment provider deleted successfully"})),x("/payment-provider")},okText:p({id:"delete_payment_provider",defaultMessage:"Delete payment provider"})}))};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.f,{currentPageTitle:(0,g.D)(I?.interface)}),(0,t.jsxs)("div",{className:"items-center flex min-w-full justify-between",children:[(0,t.jsx)(o.f,{headerText:p({id:"update_payment_provider_header",defaultMessage:"Update payment provider"}),title:p({id:"payment_detail_title",defaultMessage:"Payment provider {id}"},{id:I?._id})}),j(i.C.ManagePaymentProviders)&&(0,t.jsx)(_.f,{onClick:b})]}),M?(0,t.jsx)(u.f,{}):(0,t.jsx)(f.f,{readOnly:!j(i.C.ManagePaymentProviders),provider:I,onSubmit:$,onSubmitSuccess:()=>{T("/payment-provider")}})]})}],70365)},45753,e=>{"use strict";var t=e.i(91398),r=e.i(28401),i=e.i(66773),a=e.i(69322),d=e.i(3828),n=e.i(29338),o=e.i(74982),s=e.i(65395),y=e.i(61494),p=e.i(17644),m=e.i(6607),v=e.i(15971),P=e.i(12197),u=e.i(94724),l=e.i(44658),c=e.i(51967),f=e.i(58971),_=e.i(70365);e.s(["default",0,()=>{let{formatMessage:e}=(0,a.S)(),{query:g}=(0,d.useRouter)(),{type:h,paymentProviderId:x}=g,{paymentProviders:T,paymentProvidersCount:j,loading:w}=(0,n.f)({type:h}),{setModal:C}=(0,m.f)(),{removePaymentProvider:I}=(0,o.f)(),{paymentProviderType:M}=(0,c.f)(),{hasRole:$}=(0,f.f)(),b=async i=>{await C((0,t.jsx)(v.f,{onCancelClick:()=>C(""),message:e({id:"delete_paymentProvider_confirmation",defaultMessage:"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this Payment provider? "}),onOkClick:async()=>{C(""),await I({paymentProviderId:i}),r.c.success(e({id:"payment_provider_deleted",defaultMessage:"Payment provider deleted successfully"}))},okText:e({id:"delete_payment_provider",defaultMessage:"Delete payment provider"})}))};return x?(0,t.jsx)(_.default,{paymentProviderId:x}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(y.f,{}),(0,t.jsx)(p.f,{headerText:e((j??0)===1?{id:"payment_provider_count_header_singular",defaultMessage:"1 Payment Provider"}:{id:"payment_providers_count_header",defaultMessage:"{count} Payment Providers"},{count:j??0}),addPath:$(i.C.ManagePaymentProviders)&&"/payment-provider/new",addButtonText:e({id:"add_payment_provider",defaultMessage:"Add Payment Provider"})}),(0,t.jsx)(u.f,{children:(0,t.jsx)(l.f,{providerType:M?.map(({value:e})=>e)})}),w?(0,t.jsx)(P.f,{}):(0,t.jsx)(s.f,{providerPath:"/payment-provider?paymentProviderId",providers:T,onRemove:b,canDelete:$(i.C.ManagePaymentProviders),canEdit:$(i.C.ViewPaymentProvider)})]})}])}]);
@@ -0,0 +1,6 @@
1
+ __turbopack_load_page_chunks__("/orders/OrderDetailPage", [
2
+ "static/chunks/1sh2ogc7tcbu-.js",
3
+ "static/chunks/2dg0lloufpbdb.js",
4
+ "static/chunks/2tltorbhbyodj.js",
5
+ "static/chunks/turbopack-077hmtqrhcoji.js"
6
+ ])
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,20495,e=>{"use strict";var t=e.i(91398),n=e.i(69322),i=e.i(2765);e.s(["f",0,({inputText:e=null,onInputChange:r,defaultValue:l})=>{let{formatMessage:o}=(0,n.S)(),a=(0,i.f)(200)(r);return(0,t.jsxs)("div",{className:"w-full",children:[(0,t.jsx)("label",{htmlFor:"search",className:"sr-only",children:e||o({id:"search",defaultMessage:"Search"})}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("div",{className:"pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3",children:(0,t.jsx)("svg",{className:"h-5 w-5 text-slate-400 dark:text-slate-200",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z",clipRule:"evenodd"})})}),(0,t.jsx)("input",{onChange:e=>a(e.target.value),id:"search",defaultValue:l,name:"search",className:"block w-full rounded-md border-1 border-slate-300 dark:border-slate-700 text-slate-900 dark:bg-slate-900 dark:text-slate-200 py-3 pl-10 px-4 shadow-xs placeholder:text-slate-400 dark:placeholder:text-slate-400 focus:ring-2 focus:ring-slate-800 focus:outline-hidden sm:text-sm",placeholder:o({id:"search",defaultMessage:"Search"}),type:"search"})]})]})}])},2765,e=>{"use strict";e.s(["f",0,(e=500)=>t=>{let n;return(...i)=>{let r;clearTimeout(n),n=setTimeout(()=>t.apply(r,i),e)}}])},95963,32572,36394,e=>{"use strict";let t,n=["top","right","bottom","left"],i=n.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]),r=Math.min,l=Math.max,o=Math.round,a=Math.floor,f=e=>({x:e,y:e}),c={left:"right",right:"left",bottom:"top",top:"bottom"};function s(e,t,n){return l(e,r(t,n))}function u(e,t){return"function"==typeof e?e(t):e}function d(e){return e.split("-")[0]}function h(e){return e.split("-")[1]}function m(e){return"x"===e?"y":"x"}function p(e){return"y"===e?"height":"width"}function g(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function w(e){return m(g(e))}function v(e,t,n){void 0===n&&(n=!1);let i=h(e),r=w(e),l=p(r),o="x"===r?i===(n?"end":"start")?"right":"left":"start"===i?"bottom":"top";return t.reference[l]>t.floating[l]&&(o=E(o)),[o,E(o)]}function y(e){let t=E(e);return[x(e),t,x(t)]}function x(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let b=["left","right"],R=["right","left"],T=["top","bottom"],L=["bottom","top"];function A(e,t,n,i){let r=h(e),l=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?R:b;return t?b:R;case"left":case"right":return t?T:L;default:return[]}}(d(e),"start"===n,i);return r&&(l=l.map(e=>e+"-"+r),t&&(l=l.concat(l.map(x)))),l}function E(e){let t=d(e);return c[t]+e.slice(t.length)}function O(e){var t,n,i,r;return"number"!=typeof e?{top:null!=(t=e.top)?t:0,right:null!=(n=e.right)?n:0,bottom:null!=(i=e.bottom)?i:0,left:null!=(r=e.left)?r:0}:{top:e,right:e,bottom:e,left:e}}function C(e){let{x:t,y:n,width:i,height:r}=e;return{width:i,height:r,top:n,left:t,right:t+i,bottom:n+r,x:t,y:n}}function S(e,t,n){let i,{reference:r,floating:l}=e,o=g(t),a=w(t),f=p(a),c=d(t),s=r.x+r.width/2-l.width/2,u=r.y+r.height/2-l.height/2,m=r[f]/2-l[f]/2;switch(c){case"top":i={x:s,y:r.y-l.height};break;case"bottom":i={x:s,y:r.y+r.height};break;case"right":i={x:r.x+r.width,y:u};break;case"left":i={x:r.x-l.width,y:u};break;default:i={x:r.x,y:r.y}}let v=h(t);return v&&(i[a]+=m*("end"===v?1:-1)*(n&&"y"===o?-1:1)),i}async function P(e,t){var n;void 0===t&&(t={});let{x:i,y:r,platform:l,rects:o,elements:a,strategy:f}=e,{boundary:c="clippingAncestors",rootBoundary:s="viewport",elementContext:d="floating",altBoundary:h=!1,padding:m=0}=u(t,e),p=O(m),g=a[h?"floating"===d?"reference":"floating":d],w=C(await l.getClippingRect({element:null==(n=await (null==l.isElement?void 0:l.isElement(g)))||n?g:g.contextElement||await (null==l.getDocumentElement?void 0:l.getDocumentElement(a.floating)),boundary:c,rootBoundary:s,strategy:f})),v="floating"===d?{x:i,y:r,width:o.floating.width,height:o.floating.height}:o.reference,y=await (null==l.getOffsetParent?void 0:l.getOffsetParent(a.floating)),x=await (null==l.isElement?void 0:l.isElement(y))&&await (null==l.getScale?void 0:l.getScale(y))||{x:1,y:1},b=C(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:y,strategy:f}):v);return{top:(w.top-b.top+p.top)/x.y,bottom:(b.bottom-w.bottom+p.bottom)/x.y,left:(w.left-b.left+p.left)/x.x,right:(b.right-w.right+p.right)/x.x}}e.s(["O",0,s,"I",0,f,"h",0,u,"w",0,a,"R",0,h,"i",0,w,"N",0,v,"T",0,p,"P",0,y,"o",0,x,"J",0,m,"K",0,A,"t",0,E,"j",0,O,"m",0,d,"$",0,g,"y",0,l,"u",0,r,"Z",0,i,"_",0,C,"H",0,o,"M",0,n],32572);let k=async(e,t,n)=>{let{placement:i="bottom",strategy:r="absolute",middleware:l=[],platform:o}=n,a=o.detectOverflow?o:{...o,detectOverflow:P},f=await (null==o.isRTL?void 0:o.isRTL(t)),c=await o.getElementRects({reference:e,floating:t,strategy:r}),{x:s,y:u}=S(c,i,f),d=i,h=0,m={};for(let n=0;n<l.length;n++){let p=l[n];if(!p)continue;let{name:g,fn:w}=p,{x:v,y:y,data:x,reset:b}=await w({x:s,y:u,initialPlacement:i,placement:d,strategy:r,middlewareData:m,rects:c,platform:a,elements:{reference:e,floating:t}});s=null!=v?v:s,u=null!=y?y:u,m[g]={...m[g],...x},b&&h<50&&(h++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(c=!0===b.rects?await o.getElementRects({reference:e,floating:t,strategy:r}):b.rects),{x:s,y:u}=S(c,d,f)),n=-1)}return{x:s,y:u,placement:d,strategy:r,middlewareData:m}};function D(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function F(e){return n.some(t=>e[t]>=0)}function H(e){let t=r(...e.map(e=>e.left)),n=r(...e.map(e=>e.top));return{x:t,y:n,width:l(...e.map(e=>e.right))-t,height:l(...e.map(e=>e.bottom))-n}}let M=new Set(["left","top"]);async function N(e,t){let{placement:n,platform:i,elements:r}=e,l=await (null==i.isRTL?void 0:i.isRTL(r.floating)),o=d(n),a=h(n),f="y"===g(n),c=M.has(o)?-1:1,s=l&&f?-1:1,m=u(t,e),{mainAxis:p,crossAxis:w,alignmentAxis:v}="number"==typeof m?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return a&&"number"==typeof v&&(w="end"===a?-1*v:v),f?{x:w*s,y:p*c}:{x:p*c,y:w*s}}function W(){return"u">typeof window}function B(e){return z(e)?(e.nodeName||"").toLowerCase():"#document"}function V(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function j(e){var t;return null==(t=(z(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function z(e){return!!W()&&(e instanceof Node||e instanceof V(e).Node)}function _(e){return!!W()&&(e instanceof Element||e instanceof V(e).Element)}function I(e){return!!W()&&(e instanceof HTMLElement||e instanceof V(e).HTMLElement)}function K(e){return!(!W()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof V(e).ShadowRoot)}function $(e){let{overflow:t,overflowX:n,overflowY:i,display:r}=et(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+n)&&"inline"!==r&&"contents"!==r}function q(e){return/^(table|td|th)$/.test(B(e))}function G(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let J=/transform|translate|scale|rotate|perspective|filter/,U=/paint|layout|strict|content/,X=e=>!!e&&"none"!==e;function Z(e){let t=_(e)?et(e):e;return X(t.transform)||X(t.translate)||X(t.scale)||X(t.rotate)||X(t.perspective)||!Y()&&(X(t.backdropFilter)||X(t.filter))||J.test(t.willChange||"")||U.test(t.contain||"")}function Q(e){let t=ei(e);for(;I(t)&&!ee(t);){if(Z(t))return t;if(G(t))break;t=ei(t)}return null}function Y(){return null==t&&(t="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),t}function ee(e){return/^(html|body|#document)$/.test(B(e))}function et(e){return V(e).getComputedStyle(e)}function en(e){return _(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ei(e){if("html"===B(e))return e;let t=e.assignedSlot||e.parentNode||K(e)&&e.host||j(e);return K(t)?t.host:t}function er(e,t,n){var i;void 0===t&&(t=[]),void 0===n&&(n=!0);let r=function e(t){let n=ei(t);return ee(n)?(t.ownerDocument||t).body:I(n)&&$(n)?n:e(n)}(e),l=r===(null==(i=e.ownerDocument)?void 0:i.body),o=V(r);if(!l)return t.concat(r,er(r,[],n));{let e=el(o);return t.concat(o,o.visualViewport||[],$(r)?r:[],e&&n?er(e):[])}}function el(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function eo(e){let t=et(e),n=parseFloat(t.width)||0,i=parseFloat(t.height)||0,r=I(e),l=r?e.offsetWidth:n,a=r?e.offsetHeight:i,f=o(n)!==l||o(i)!==a;return f&&(n=l,i=a),{width:n,height:i,$:f}}function ea(e){return _(e)?e:e.contextElement}function ef(e){let t=ea(e);if(!I(t))return f(1);let n=t.getBoundingClientRect(),{width:i,height:r,$:l}=eo(t),a=(l?o(n.width):n.width)/i,c=(l?o(n.height):n.height)/r;return a&&Number.isFinite(a)||(a=1),c&&Number.isFinite(c)||(c=1),{x:a,y:c}}e.s(["X",0,et,"f",0,Q,"I",0,j,"w",0,el,"A",0,B,"Q",0,en,"G",0,er,"J",0,ei,"K",0,V,"e",0,Z,"m",0,_,"E",0,I,"Z",0,ee,"B",0,$,"R",0,K,"S",0,q,"D",0,G,"i",0,Y],36394);let ec=f(0);function es(e){let t=V(e);return Y()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:ec}function eu(e,t,n,i){var r;void 0===t&&(t=!1),void 0===n&&(n=!1);let l=e.getBoundingClientRect(),o=ea(e),a=f(1);t&&(i?_(i)&&(a=ef(i)):a=ef(e));let c=(void 0===(r=n)&&(r=!1),i&&r&&i===V(o))?es(o):f(0),s=(l.left+c.x)/a.x,u=(l.top+c.y)/a.y,d=l.width/a.x,h=l.height/a.y;if(o&&i){let e=V(o),t=_(i)?V(i):i,n=e,r=el(n);for(;r&&t!==n;){let e=ef(r),t=r.getBoundingClientRect(),i=et(r),l=t.left+(r.clientLeft+parseFloat(i.paddingLeft))*e.x,o=t.top+(r.clientTop+parseFloat(i.paddingTop))*e.y;s*=e.x,u*=e.y,d*=e.x,h*=e.y,s+=l,u+=o,r=el(n=V(r))}}return C({width:d,height:h,x:s,y:u})}function ed(e,t){let n=en(e).scrollLeft;return t?t.left+n:eu(j(e)).left+n}function eh(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-ed(e,n),y:n.top+t.scrollTop}}function em(e,t,n){var i;let r;if("viewport"===t||"layoutViewport"===t)r=function(e,t,n){void 0===n&&(n="viewport");let i="layoutViewport"===n,r=V(e),l=j(e),o=r.visualViewport,a=l.clientWidth,f=l.clientHeight,c=0,s=0;if(o){let e=!Y()||"fixed"===t;i?e||(c=-o.offsetLeft,s=-o.offsetTop):(a=o.width,f=o.height,e&&(c=o.offsetLeft,s=o.offsetTop))}if(0>=ed(l)){let e=l.ownerDocument,t=e.body,n=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,r=Math.abs(l.clientWidth-t.clientWidth-i),o="stable both-edges"===getComputedStyle(l).scrollbarGutter?r/2:r;o<=25&&(a-=o)}return{width:a,height:f,x:c,y:s}}(e,n,t);else if("document"===t){let t,n,o,a,f,c;t=en(i=j(e)),n=i.ownerDocument.body,o=l(i.scrollWidth,i.clientWidth,n.scrollWidth,n.clientWidth),a=l(i.scrollHeight,i.clientHeight,n.scrollHeight,n.clientHeight),f=-t.scrollLeft+ed(i),c=-t.scrollTop,"rtl"===et(n).direction&&(f+=l(i.clientWidth,n.clientWidth)-o),r={width:o,height:a,x:f,y:c}}else if(_(t)){let e,i,l,o,a,f;i=(e=eu(t,!0,"fixed"===n)).top+t.clientTop,l=e.left+t.clientLeft,o=ef(t),a=t.clientWidth*o.x,f=t.clientHeight*o.y,r={width:a,height:f,x:l*o.x,y:i*o.y}}else{let n=es(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return C(r)}function ep(e){return"static"===et(e).position}function eg(e,t){if(!I(e)||"fixed"===et(e).position)return null;if(t)return t(e);let n=e.offsetParent;return j(e)===n&&(n=n.ownerDocument.body),n}function ew(e,t){let n=V(e);if(G(e))return n;if(!I(e)){let t=ei(e);for(;t&&!ee(t);){if(_(t)&&!ep(t))return t;t=ei(t)}return n}let i=eg(e,t);for(;i&&q(i)&&ep(i);)i=eg(i,t);return i&&ee(i)&&ep(i)&&!Z(i)?n:i||Q(e)||n}let ev=async function(e){let t=this.getOffsetParent||ew,n=this.getDimensions,i=await n(e.floating);return{reference:function(e,t,n){let i=I(t),r=j(t),l="fixed"===n,o=eu(e,!0,l,t),a={scrollLeft:0,scrollTop:0},c=f(0);if((i||!l)&&(("body"!==B(t)||$(r))&&(a=en(t)),i)){let e=eu(t,!0,l,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}!i&&r&&(c.x=ed(r));let s=!r||i||l?f(0):eh(r,a);return{x:o.left+a.scrollLeft-c.x-s.x,y:o.top+a.scrollTop-c.y-s.y,width:o.width,height:o.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}},ey={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:i,strategy:r}=e,l="fixed"===r,o=j(i),a=!!t&&G(t.floating);if(i===o||a&&l)return n;let c={scrollLeft:0,scrollTop:0},s=f(1),u=f(0),d=I(i);if((d||!l)&&(("body"!==B(i)||$(o))&&(c=en(i)),d)){let e=eu(i);s=ef(i),u.x=e.x+i.clientLeft,u.y=e.y+i.clientTop}let h=!o||d||l?f(0):eh(o,c);return{width:n.width*s.x,height:n.height*s.y,x:n.x*s.x-c.scrollLeft*s.x+u.x+h.x,y:n.y*s.y-c.scrollTop*s.y+u.y+h.y}},getDocumentElement:j,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:i,strategy:o}=e,a=[..."clippingAncestors"===n?G(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let i=er(e,[],!1).filter(e=>_(e)&&"body"!==B(e)),r=null,l="fixed"===et(e).position,o=l?ei(e):e;for(;_(o)&&!ee(o);){let e=et(o),t=Z(o),n=r?r.position:l?"fixed":"";t||"fixed"!==n&&("absolute"!==n||"static"!==e.position)?r=e:i=i.filter(e=>e!==o),o=ei(o)}return t.set(e,i),i}(t,this._c):[].concat(n),i],f=em(t,a[0],o),c=f.top,s=f.right,u=f.bottom,d=f.left;for(let e=1;e<a.length;e++){let n=em(t,a[e],o);c=l(n.top,c),s=r(n.right,s),u=r(n.bottom,u),d=l(n.left,d)}return{width:s-d,height:u-c,x:d,y:c}},getOffsetParent:ew,getElementRects:ev,getClientRects:function(e){return e.getClientRects?Array.from(e.getClientRects()):[]},getDimensions:function(e){let{width:t,height:n}=eo(e);return{width:t,height:n}},getScale:ef,isElement:_,isRTL:function(e){return"rtl"===et(e).direction}};function ex(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}e.s(["P",0,e=>({name:"arrow",options:e,async fn(t){let{x:n,y:i,placement:l,rects:o,platform:a,elements:f,middlewareData:c}=t,{element:d,padding:m=0}=u(e,t)||{};if(null==d)return{};let g=O(m),v={x:n,y:i},y=w(l),x=p(y),b=await a.getDimensions(d),R="y"===y,T=R?"clientHeight":"clientWidth",L=o.reference[x]+o.reference[y]-v[y]-o.floating[x],A=v[y]-o.reference[y],E=await (null==a.getOffsetParent?void 0:a.getOffsetParent(d)),C=E?E[T]:0;C&&await (null==a.isElement?void 0:a.isElement(E))||(C=f.floating[T]||o.floating[x]);let S=C/2-b[x]/2-1,P=r(g[R?"top":"left"],S),k=r(g[R?"bottom":"right"],S),D=C-b[x]-k,F=C/2-b[x]/2+(L/2-A/2),H=s(P,F,D),M=!c.arrow&&null!=h(l)&&F!==H&&o.reference[x]/2-(F<P?P:k)-b[x]/2<0,N=M?F<P?F-P:F-D:0;return{[y]:v[y]+N,data:{[y]:H,centerOffset:F-H-N,...M&&{alignmentOffset:N}},reset:M}}}),"p",0,function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,r,l,o;let{rects:a,middlewareData:f,placement:c,platform:s,elements:m}=t,{crossAxis:p=!1,alignment:g,allowedPlacements:w=i,autoAlignment:y=!0,...b}=u(e,t),R=void 0!==g||w===i?((o=g||null)?[...w.filter(e=>h(e)===o),...w.filter(e=>h(e)!==o)]:w.filter(e=>d(e)===e)).filter(e=>!o||h(e)===o||!!y&&x(e)!==e):w,T=(null==(n=f.autoPlacement)?void 0:n.index)||0,L=R[T];if(null==L)return{};if(c!==L)return{reset:{placement:R[0]}};let A=await s.detectOverflow(t,b),E=v(L,a,await (null==s.isRTL?void 0:s.isRTL(m.floating))),O=[A[d(L)],A[E[0]],A[E[1]]],C=[...(null==(r=f.autoPlacement)?void 0:r.overflows)||[],{placement:L,overflows:O}],S=R[T+1];if(S)return{data:{index:T+1,overflows:C},reset:{placement:S}};let P=C.map(e=>{let t=h(e.placement);return[e.placement,t&&p?e.overflows.slice(0,2).reduce((e,t)=>e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),k=(null==(l=P.filter(e=>e[2].slice(0,h(e[0])?2:3).every(e=>e<=0))[0])?void 0:l[0])||P[0][0];return k!==c?{data:{index:T+1,overflows:C},reset:{placement:k}}:{}}}},"n",0,function(e,t,n,i){let o;void 0===i&&(i={});let{ancestorScroll:f=!0,ancestorResize:c=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:d=!1}=i,h=ea(e),m=f||c?[...h?er(h):[],...t?er(t):[]]:[];m.forEach(e=>{f&&e.addEventListener("scroll",n),c&&e.addEventListener("resize",n)});let p=h&&u?function(e,t,n){let i,o=null,f=j(e);function c(){var e;clearTimeout(i),null==(e=o)||e.disconnect(),o=null}function s(n,u){void 0===n&&(n=!1),void 0===u&&(u=1),c();let d=e.getBoundingClientRect(),{left:h,top:m,width:p,height:g}=d;if(n||t(),!p||!g)return;let w={rootMargin:-a(m)+"px "+-a(f.clientWidth-(h+p))+"px "+-a(f.clientHeight-(m+g))+"px "+-a(h)+"px",threshold:l(0,r(1,u))||1},v=!0;function y(t){let n=t[0].intersectionRatio;if(!ex(d,e.getBoundingClientRect()))return s();if(n!==u){if(!v)return s();n?s(!1,n):i=setTimeout(()=>{s(!1,1e-7)},1e3)}v=!1}try{o=new IntersectionObserver(y,{...w,root:f.ownerDocument})}catch(e){o=new IntersectionObserver(y,w)}o.observe(e)}let u=V(e),d=()=>s(n);return u.addEventListener("resize",d),s(!0),()=>{u.removeEventListener("resize",d),c()}}(h,n,c):null,g=-1,w=null;s&&(w=new ResizeObserver(e=>{let[i]=e;i&&i.target===h&&w&&t&&(w.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=w)||e.observe(t)})),n()}),h&&!d&&w.observe(h),t&&w.observe(t));let v=d?eu(e):null;return d&&function t(){let i=eu(e);v&&!ex(v,i)&&n(),v=i,o=requestAnimationFrame(t)}(),n(),()=>{var e;m.forEach(e=>{f&&e.removeEventListener("scroll",n),c&&e.removeEventListener("resize",n)}),null==p||p(),null==(e=w)||e.disconnect(),w=null,d&&cancelAnimationFrame(o)}},"A",0,(e,t,n)=>{let i=new Map,r=null!=n?n:{},l={...ey,...r.platform,_c:i};return k(e,t,{...r,platform:l})},"k",0,P,"x",0,function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,i,r,l,o;let{placement:a,middlewareData:f,rects:c,initialPlacement:s,platform:h,elements:m}=t,{mainAxis:p=!0,crossAxis:w=!0,fallbackPlacements:x,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:R="none",flipAlignment:T=!0,...L}=u(e,t);if(null!=(n=f.arrow)&&n.alignmentOffset)return{};let O=d(a),C=g(s),S=d(s)===s,P=await (null==h.isRTL?void 0:h.isRTL(m.floating)),k=x||(S||!T?[E(s)]:y(s)),D="none"!==R;!x&&D&&k.push(...A(s,T,R,P));let F=[s,...k],H=await h.detectOverflow(t,L),M=[],N=(null==(i=f.flip)?void 0:i.overflows)||[];if(p&&M.push(H[O]),w){let e=v(a,c,P);M.push(H[e[0]],H[e[1]])}if(N=[...N,{placement:a,overflows:M}],!M.every(e=>e<=0)){let e=((null==(r=f.flip)?void 0:r.index)||0)+1,t=F[e];if(t&&("alignment"!==w||C===g(t)||N.every(e=>g(e.placement)!==C||e.overflows[0]>0)))return{data:{index:e,overflows:N},reset:{placement:t}};let n=null==(l=N.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:l.placement;if(!n)switch(b){case"bestFit":{let e=null==(o=N.filter(e=>{if(D){let t=g(e.placement);return t===C||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:o[0];e&&(n=e);break}case"initialPlacement":n=s}if(a!==n)return{reset:{placement:n}}}return{}}}},"c",0,function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n,platform:i}=t,{strategy:r="referenceHidden",...l}=u(e,t);switch(r){case"referenceHidden":{let e=D(await i.detectOverflow(t,{...l,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:F(e)}}}case"escaped":{let e=D(await i.detectOverflow(t,{...l,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:F(e)}}}default:return{}}}}},"g",0,function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){let{placement:n,elements:i,rects:o,platform:a,strategy:f}=t,{padding:c=2,x:s,y:h}=u(e,t),m=Array.from(await (null==a.getClientRects?void 0:a.getClientRects(i.reference))||[]);if(!m.length)return{};let p=function(e){let t=e.slice().sort((e,t)=>e.y-t.y),n=[],i=null;for(let e=0;e<t.length;e++){let r=t[e];!i||r.y-i.y>i.height/2?n.push([r]):n[n.length-1].push(r),i=r}return n.map(e=>C(H(e)))}(m),w=C(H(m)),v=O(c),y=await a.getElementRects({reference:{getBoundingClientRect:function(){if(2===p.length&&(p[0].left>p[1].right||p[1].left>p[0].right)&&null!=s&&null!=h)return p.find(e=>s>e.left-v.left&&s<e.right+v.right&&h>e.top-v.top&&h<e.bottom+v.bottom)||w;if(p.length>=2){if("y"===g(n)){let e=p[0],t=p[p.length-1],i="top"===d(n),r=e.top,l=t.bottom,o=i?e.left:t.left;return C({x:o,y:r,width:(i?e.right:t.right)-o,height:l-r})}let e="left"===d(n),t=l(...p.map(e=>e.right)),i=r(...p.map(e=>e.left)),o=p.filter(n=>e?n.left===i:n.right===t),a=o[0].top;return C({x:i,y:a,width:t-i,height:o[o.length-1].bottom-a})}return w}},floating:i.floating,strategy:f});return o.reference.x!==y.reference.x||o.reference.y!==y.reference.y||o.reference.width!==y.reference.width||o.reference.height!==y.reference.height?{reset:{rects:y}}:{}}}},"o",0,function(e){return void 0===e&&(e={}),{options:e,fn(t){var n,i,r,l;let{x:o,y:a,placement:f,rects:c,middlewareData:s}=t,{offset:h=0,mainAxis:p=!0,crossAxis:w=!0}=u(e,t),v={x:o,y:a},y=g(f),x=m(y),b=v[x],R=v[y],T=u(h,t),L="number"==typeof T?{mainAxis:T,crossAxis:0}:{mainAxis:null!=(n=T.mainAxis)?n:0,crossAxis:null!=(i=T.crossAxis)?i:0};if(p){let e="y"===x?"height":"width",t=c.reference[x]-c.floating[e]+L.mainAxis,n=c.reference[x]+c.reference[e]-L.mainAxis;b<t?b=t:b>n&&(b=n)}if(w){let e="y"===x?"width":"height",t=M.has(d(f)),n=c.reference[y]-c.floating[e]+(t&&(null==(r=s.offset)?void 0:r[y])||0)+(t?0:L.crossAxis),i=c.reference[y]+c.reference[e]+(t?0:(null==(l=s.offset)?void 0:l[y])||0)-(t?L.crossAxis:0);R<n?R=n:R>i&&(R=i)}return{[x]:b,[y]:R}}}},"T",0,function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,i;let{x:r,y:l,placement:o,middlewareData:a}=t,f=await N(t,e);return o===(null==(n=a.offset)?void 0:n.placement)&&null!=(i=a.arrow)&&i.alignmentOffset?{}:{x:r+f.x,y:l+f.y,data:{...f,placement:o}}}}},"e",0,function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:i,placement:r,platform:l}=t,{mainAxis:o=!0,crossAxis:a=!1,limiter:f={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=u(e,t),d={x:n,y:i},h=await l.detectOverflow(t,c),p=g(r),w=m(p),v=d[w],y=d[p],x=(e,t)=>s(t+h["y"===e?"top":"left"],t,t-h["y"===e?"bottom":"right"]);o&&(v=x(w,v)),a&&(y=x(p,y));let b=f.fn({...t,[w]:v,[p]:y});return{...b,data:{x:b.x-n,y:b.y-i,enabled:{[w]:o,[p]:a}}}}}},"q",0,function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){let n,i,{placement:o,rects:a,platform:f,elements:c}=t,{apply:s=()=>{},...m}=u(e,t),p=await f.detectOverflow(t,m),w=d(o),v=h(o),y="y"===g(o),{width:x,height:b}=a.floating;"top"===w||"bottom"===w?(n=w,i=v===(await (null==f.isRTL?void 0:f.isRTL(c.floating))?"start":"end")?"left":"right"):(i=w,n="end"===v?"top":"bottom");let R=b-p.top-p.bottom,T=x-p.left-p.right,L=r(b-p[n],R),A=r(x-p[i],T),E=t.middlewareData.shift,O=!E,C=L,S=A;null!=E&&E.enabled.x&&(S=T),null!=E&&E.enabled.y&&(C=R),O&&!v&&(y?S=x-2*l(p.left,p.right):C=b-2*l(p.top,p.bottom)),await s({...t,availableWidth:S,availableHeight:C});let P=await f.getDimensions(c.floating);return x!==P.width||b!==P.height?{reset:{rects:!0}}:{}}}}],95963)}]);