@unchainedshop/admin-ui 4.8.4 → 4.8.9
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.
- package/out/403/index.html +2 -2
- package/out/404/index.html +2 -2
- package/out/404.html +2 -2
- package/out/423/index.html +2 -2
- package/out/500/index.html +2 -2
- package/out/_next/static/{B_HQG2nskQonyzu_4cgAO → N4ZykTcWoLUOIWmA5GZc9}/_buildManifest.js +62 -62
- package/out/_next/static/N4ZykTcWoLUOIWmA5GZc9/_clientMiddlewareManifest.js +1 -0
- package/out/_next/static/chunks/0-3aqi0z~0~kq.js +1 -0
- package/out/_next/static/chunks/0-_n2k06ojx7r.js +5 -0
- package/out/_next/static/chunks/{4f1de04ffe9710b8.js → 0-fxw4nvnyd3r.js} +28 -28
- package/out/_next/static/chunks/0-tf-b8ycy7nw.js +14 -0
- package/out/_next/static/chunks/0-w~00dzluqxw.js +17 -0
- package/out/_next/static/chunks/0.9xrb29zv20w.js +1 -0
- package/out/_next/static/chunks/{e7d35c2c47c89107.js → 0.v-jasmtyg-~.js} +17 -17
- package/out/_next/static/chunks/0.vy2.8wgggps.js +2 -0
- package/out/_next/static/chunks/0.xzd30c1p.hb.js +26 -0
- package/out/_next/static/chunks/00.vtv-~sgyl1.js +1 -0
- package/out/_next/static/chunks/00_p5c.t5qyvq.js +23 -0
- package/out/_next/static/chunks/00agabpi46wxi.js +2 -0
- package/out/_next/static/chunks/01.ky4xf9k36u.js +1 -0
- package/out/_next/static/chunks/01m_2h75jti7r.js +173 -0
- package/out/_next/static/chunks/01ua~kzkn_2re.js +2 -0
- package/out/_next/static/chunks/01xs.g4mzzhui.js +14 -0
- package/out/_next/static/chunks/022.6ji94gj66.js +90 -0
- package/out/_next/static/chunks/{618f3339425a898e.js → 02ljwx.y7xl4e.js} +168 -168
- package/out/_next/static/chunks/034ij~x6p.1xq.js +7 -0
- package/out/_next/static/chunks/03gyp4v6z7_ll.js +13 -0
- package/out/_next/static/chunks/03j~743_iaz5a.js +87 -0
- package/out/_next/static/chunks/03nwhm6g6_duy.js +101 -0
- package/out/_next/static/chunks/03zprk58poh5x.js +16 -0
- package/out/_next/static/chunks/046~w9shfdja6.js +12 -0
- package/out/_next/static/chunks/04j3vrvch7ujx.js +1 -0
- package/out/_next/static/chunks/04t59a562mha5.js +31 -0
- package/out/_next/static/chunks/04yfds6u6dpuz.js +73 -0
- package/out/_next/static/chunks/051.awid9.i7z.js +12 -0
- package/out/_next/static/chunks/053ar3.2l-.gw.js +110 -0
- package/out/_next/static/chunks/055l.ongzthsf.js +2 -0
- package/out/_next/static/chunks/056ao1x67rrp-.js +22 -0
- package/out/_next/static/chunks/05b3l5s0nobkk.js +58 -0
- package/out/_next/static/chunks/05by010i5e4.l.js +14 -0
- package/out/_next/static/chunks/05r6-kh0ahzac.js +288 -0
- package/out/_next/static/chunks/{56b82382d313b5ff.js → 06c.18b146dst.js} +2 -2
- package/out/_next/static/chunks/06em3notkoupj.js +60 -0
- package/out/_next/static/chunks/06~1fnirgm9jc.js +12 -0
- package/out/_next/static/chunks/07_4agv0uff.h.js +1 -0
- package/out/_next/static/chunks/{bf0397bb49e85f73.js → 07absjbyi5efz.js} +15 -15
- package/out/_next/static/chunks/07c1a7r_j5sc4.js +12 -0
- package/out/_next/static/chunks/07e9hvcn2m7m0.css +1 -0
- package/out/_next/static/chunks/{fddd71acbe862123.js → 07gn.w-1ng2vv.js} +3 -3
- package/out/_next/static/chunks/07if_dpuq5_97.js +18 -0
- package/out/_next/static/chunks/07zgccwz6dy77.js +2 -0
- package/out/_next/static/chunks/{cf22bd7f999c9730.js → 08mu1xcbu0z5i.js} +1 -1
- package/out/_next/static/chunks/08yw1rglz~xb4.js +101 -0
- package/out/_next/static/chunks/09.xyqg-s5.hj.js +1 -0
- package/out/_next/static/chunks/09_lw2vh9sphe.js +12 -0
- package/out/_next/static/chunks/{b191de8f41e00ce4.js → 0_0s9kzhzuc0n.js} +2 -2
- package/out/_next/static/chunks/0_34hlmm2xs02.js +1 -0
- package/out/_next/static/chunks/0_85l9_wkn2xe.js +13 -0
- package/out/_next/static/chunks/0__0blfuajz3u.js +1 -0
- package/out/_next/static/chunks/{1fae4a04bcbd6f57.js → 0_bohk37n03zc.js} +3 -3
- package/out/_next/static/chunks/0a6n-.sxlxj9i.js +44 -0
- package/out/_next/static/chunks/0aewtng76o8~g.js +1 -0
- package/out/_next/static/chunks/0aokk5k383t_7.js +1 -0
- package/out/_next/static/chunks/{854229936d29e550.js → 0binkax94nk~0.js} +72 -72
- package/out/_next/static/chunks/0b~-c32pa86mt.js +10 -0
- package/out/_next/static/chunks/0b~s0.jgd-9e2.js +1 -0
- package/out/_next/static/chunks/0c6p-vlcfco03.js +2 -0
- package/out/_next/static/chunks/{2bd8be232a656040.js → 0cau~hqb0jkf..js} +1 -1
- package/out/_next/static/chunks/{d4099cc5c04e160f.js → 0d1xe7n4~ift~.js} +3 -3
- package/out/_next/static/chunks/0dcng-~m.1-6b.js +31 -0
- package/out/_next/static/chunks/0dla6_2dcjfxz.js +15 -0
- package/out/_next/static/chunks/0dqc2kv2x_nk4.js +2 -0
- package/out/_next/static/chunks/{795536cdbb6857ff.js → 0dwysww-f770p.js} +2 -2
- package/out/_next/static/chunks/0ehfzo.p_8b1p.js +142 -0
- package/out/_next/static/chunks/0eq_bq11j1d8h.js +73 -0
- package/out/_next/static/chunks/0esy~ot9karwc.js +73 -0
- package/out/_next/static/chunks/0eu4w.vyzr4b..js +5 -0
- package/out/_next/static/chunks/0exrsz6ax-mbc.js +50 -0
- package/out/_next/static/chunks/0f.tc6bt0__k..js +15 -0
- package/out/_next/static/chunks/0f7dus4chk-b7.js +1 -0
- package/out/_next/static/chunks/0f_2kctvcf9fc.js +132 -0
- package/out/_next/static/chunks/0fefbupbr6p-g.js +14 -0
- package/out/_next/static/chunks/0fey0yg2.p3e2.js +14 -0
- package/out/_next/static/chunks/0fiu9kb2mg_pe.js +1 -0
- package/out/_next/static/chunks/0fn03afamve8r.js +13 -0
- package/out/_next/static/chunks/0ghtx7c7h-588.js +15 -0
- package/out/_next/static/chunks/0h7hcwkf8n3y3.js +21 -0
- package/out/_next/static/chunks/{3b5339be122ea5eb.js → 0hggeos.n3ho1.js} +27 -27
- package/out/_next/static/chunks/0hou_u24cky19.js +14 -0
- package/out/_next/static/chunks/0i2a62pwzd90a.js +1 -0
- package/out/_next/static/chunks/0j2~9scdvg.0r.js +1 -0
- package/out/_next/static/chunks/0jbis591ftr-2.js +2 -0
- package/out/_next/static/chunks/0jl_db3hgihi8.js +1 -0
- package/out/_next/static/chunks/{9e08c1215dba1e05.js → 0jsod19bi_.b4.js} +1 -1
- package/out/_next/static/chunks/0jxpx..caiup3.js +51 -0
- package/out/_next/static/chunks/0jy9qkxxq2k8m.js +16 -0
- package/out/_next/static/chunks/0k3anlop2ta22.js +1 -0
- package/out/_next/static/chunks/0k4s4ad64.vp-.js +41 -0
- package/out/_next/static/chunks/0k5w4r~syay5t.js +13 -0
- package/out/_next/static/chunks/0k6labie0t8-n.js +88 -0
- package/out/_next/static/chunks/0khvi32iw8ib..js +1 -0
- package/out/_next/static/chunks/0kkj6ijphkjab.js +16 -0
- package/out/_next/static/chunks/0klqyqhl-cmiq.js +46 -0
- package/out/_next/static/chunks/0kwn.hg1e.um~.js +44 -0
- package/out/_next/static/chunks/0lq8y5ij59ip~.js +1 -0
- package/out/_next/static/chunks/0ltj_coftxt~y.js +3 -0
- package/out/_next/static/chunks/{65cd6908c81558be.js → 0lvph83c6z2a-.js} +1 -1
- package/out/_next/static/chunks/{a51e6aa89d2a14ce.js → 0myruxyjajors.js} +3 -3
- package/out/_next/static/chunks/0n-s41muyuxz2.js +12 -0
- package/out/_next/static/chunks/0n_l4icbjsa15.js +20 -0
- package/out/_next/static/chunks/0nb43v1f1yf60.js +13 -0
- package/out/_next/static/chunks/0ni0p2m~re4bq.js +13 -0
- package/out/_next/static/chunks/0nmy7y8e0~_o4.js +10 -0
- package/out/_next/static/chunks/0oe9_~e6jba2c.js +108 -0
- package/out/_next/static/chunks/0on_9mgul7_i2.js +188 -0
- package/out/_next/static/chunks/0ov5y8kzeii0~.js +8 -0
- package/out/_next/static/chunks/0oxpg91w3r_hi.js +16 -0
- package/out/_next/static/chunks/0o~whquist5u6.js +1 -0
- package/out/_next/static/chunks/0p1dktj9e81.u.js +209 -0
- package/out/_next/static/chunks/0p2l~~8x6478b.js +73 -0
- package/out/_next/static/chunks/0plpuwh-.mwo5.js +1 -0
- package/out/_next/static/chunks/0pu7s41rb3je3.js +1 -0
- package/out/_next/static/chunks/0pvo5m24k8fer.js +61 -0
- package/out/_next/static/chunks/0p~yxkjys3pml.js +13 -0
- package/out/_next/static/chunks/{5655a77e7f2e8be6.js → 0q_s9ru.9iese.js} +28 -28
- package/out/_next/static/chunks/0qsxmm8vi313~.js +1 -0
- package/out/_next/static/chunks/0r6en8biort7k.js +13 -0
- package/out/_next/static/chunks/0refc~nvrcr-g.js +19 -0
- package/out/_next/static/chunks/0ridpuenplsy6.js +46 -0
- package/out/_next/static/chunks/0s8kpaa2at0vl.js +1 -0
- package/out/_next/static/chunks/0sdtxgcidq~40.js +50 -0
- package/out/_next/static/chunks/0sqtyywk.m-gb.js +119 -0
- package/out/_next/static/chunks/0ta5trm5g8qpx.js +1 -0
- package/out/_next/static/chunks/{6d7135bc7cc257ba.js → 0tfa15y7gd6ol.js} +27 -27
- package/out/_next/static/chunks/0u43d.6clpol9.js +13 -0
- package/out/_next/static/chunks/0u4quuvhyhi_a.js +15 -0
- package/out/_next/static/chunks/0u5jc_t7cvmay.js +12 -0
- package/out/_next/static/chunks/0u5rgvh_590-0.js +15 -0
- package/out/_next/static/chunks/0uad85elbn2m1.js +8 -0
- package/out/_next/static/chunks/0uernz7pdw0_-.js +20 -0
- package/out/_next/static/chunks/0ut1av10o1-xk.js +177 -0
- package/out/_next/static/chunks/0v20r7u~.j664.js +384 -0
- package/out/_next/static/chunks/0vesx2u8114dl.js +16 -0
- package/out/_next/static/chunks/0vgtn_yjxb6yd.js +2 -0
- package/out/_next/static/chunks/0vo.w1x~0irle.js +14 -0
- package/out/_next/static/chunks/0vvhq2hfb6_73.js +16 -0
- package/out/_next/static/chunks/{ebe86b0efc1cf8f7.js → 0wbeo27c~tc9b.js} +3 -3
- package/out/_next/static/chunks/0whq69wyy9mrh.js +1 -0
- package/out/_next/static/chunks/0wjcrj2l-j~_f.js +188 -0
- package/out/_next/static/chunks/{e4a18aa7277cccf4.js → 0wuu4uyer4mlk.js} +2 -2
- package/out/_next/static/chunks/0x6_x80dsgoq7.js +2 -0
- package/out/_next/static/chunks/0x6nm6r163uft.js +13 -0
- package/out/_next/static/chunks/0xczkhpv81j3p.js +1 -0
- package/out/_next/static/chunks/0xve~a_ipc.21.js +81 -0
- package/out/_next/static/chunks/0y-5d9w-~an.2.js +13 -0
- package/out/_next/static/chunks/0y153o27bxgcb.js +1 -0
- package/out/_next/static/chunks/{f9cabd452c34b5ad.js → 0y51ico3_h9g3.js} +10 -10
- package/out/_next/static/chunks/0y9zzwhthjzp_.js +14 -0
- package/out/_next/static/chunks/0yx15fdi9lbmq.js +9 -0
- package/out/_next/static/chunks/0yxzpftenasbo.js +13 -0
- package/out/_next/static/chunks/0z11v4qnrllk9.js +137 -0
- package/out/_next/static/chunks/0zhqlp5hndrqa.js +1 -0
- package/out/_next/static/chunks/0zjvpfr1jz1wc.js +14 -0
- package/out/_next/static/chunks/0znn2bf~0xx64.js +46 -0
- package/out/_next/static/chunks/0zpe1nbzz~f8h.js +5 -0
- package/out/_next/static/chunks/0zxwd28vfhh3j.js +2 -0
- package/out/_next/static/chunks/0~tk5o7vtfrjq.js +66 -0
- package/out/_next/static/chunks/0~vw4ei2v-4t7.js +12 -0
- package/out/_next/static/chunks/103dw~jwhci8m.js +61 -0
- package/out/_next/static/chunks/1041bp0usprml.js +217 -0
- package/out/_next/static/chunks/10bhd86pfsoy5.js +3 -0
- package/out/_next/static/chunks/10jmwo0cv2790.js +100 -0
- package/out/_next/static/chunks/{8917382fb74b9b3a.js → 10m8c175impy1.js} +2 -2
- package/out/_next/static/chunks/111dri9-9n17d.js +12 -0
- package/out/_next/static/chunks/11a2sdal5hv-p.js +14 -0
- package/out/_next/static/chunks/11kkkj1.y8lon.js +7 -0
- package/out/_next/static/chunks/11rfgl5vsu7np.js +147 -0
- package/out/_next/static/chunks/11sml2nj796.7.js +59 -0
- package/out/_next/static/chunks/11x77ro8a08~_.js +26 -0
- package/out/_next/static/chunks/127v02-54ig0..js +8 -0
- package/out/_next/static/chunks/12e_gn-hj1ad4.js +5 -0
- package/out/_next/static/chunks/12id1_zdnq7qf.js +291 -0
- package/out/_next/static/chunks/13fa8xmxc3789.js +22 -0
- package/out/_next/static/chunks/13h_3r03rklr2.js +54 -0
- package/out/_next/static/chunks/13tjz9q-ls~t3.js +1 -0
- package/out/_next/static/chunks/{1d815b4154fd879c.js → 13ztct7h9n9ly.js} +1 -1
- package/out/_next/static/chunks/141twllyuli8l.js +10 -0
- package/out/_next/static/chunks/145u~ah4rk2oy.js +8 -0
- package/out/_next/static/chunks/148ak2o1btva1.js +16 -0
- package/out/_next/static/chunks/14e4xylnze3x2.js +1 -0
- package/out/_next/static/chunks/14f3lt_1q09w4.js +12 -0
- package/out/_next/static/chunks/14g9i0dbuweue.js +15 -0
- package/out/_next/static/chunks/14iad85fby.42.js +12 -0
- package/out/_next/static/chunks/14tbg01czewdy.js +1 -0
- package/out/_next/static/chunks/14vhb8kz5tl75.js +471 -0
- package/out/_next/static/chunks/14xq_6eem1~e_.js +22 -0
- package/out/_next/static/chunks/14ybs778yhn-o.js +11 -0
- package/out/_next/static/chunks/156cj~6emqmr~.js +13 -0
- package/out/_next/static/chunks/15vrb983agqpw.js +16 -0
- package/out/_next/static/chunks/15wk0oyu.adi8.js +1 -0
- package/out/_next/static/chunks/15z9m-o4tbe0n.js +1 -0
- package/out/_next/static/chunks/1659zpx9fjfpb.js +5 -0
- package/out/_next/static/chunks/169ub5vhwew62.js +1 -0
- package/out/_next/static/chunks/16mtoyb0mxww0.js +12 -0
- package/out/_next/static/chunks/16s_3ks~~cizu.js +31 -0
- package/out/_next/static/chunks/16~dpglx5e5~9.js +138 -0
- package/out/_next/static/chunks/172~p7wli5kgx.js +2 -0
- package/out/_next/static/chunks/{4d3445d499eaf3fa.js → 17iwj3.fr3dk8.js} +2 -2
- package/out/_next/static/chunks/181fxym9wgh_m.js +1 -0
- package/out/_next/static/chunks/1841ri79q-dhm.js +13 -0
- package/out/_next/static/chunks/turbopack-0-q2y4br45~pw.js +1 -0
- package/out/_next/static/chunks/turbopack-0.m1lc_35e70n.js +1 -0
- package/out/_next/static/chunks/turbopack-00265n5u--w6g.js +1 -0
- package/out/_next/static/chunks/turbopack-0181928.t_0o0.js +1 -0
- package/out/_next/static/chunks/turbopack-01x7kt6kdqflp.js +1 -0
- package/out/_next/static/chunks/turbopack-02jq81.yuwyye.js +1 -0
- package/out/_next/static/chunks/turbopack-03-oftk~9e43h.js +1 -0
- package/out/_next/static/chunks/turbopack-04fgrx~myrc8a.js +1 -0
- package/out/_next/static/chunks/turbopack-05_h1xg3~znbn.js +1 -0
- package/out/_next/static/chunks/turbopack-05bzimj9uzaex.js +1 -0
- package/out/_next/static/chunks/turbopack-06.wq9f2zlm3q.js +1 -0
- package/out/_next/static/chunks/turbopack-06z9r.jdqfksw.js +1 -0
- package/out/_next/static/chunks/turbopack-07643cuhqyzj8.js +1 -0
- package/out/_next/static/chunks/turbopack-09_6at5p3-m0a.js +1 -0
- package/out/_next/static/chunks/turbopack-09wkbf9tcw_tz.js +1 -0
- package/out/_next/static/chunks/turbopack-0a2ieakw7xhz7.js +1 -0
- package/out/_next/static/chunks/turbopack-0a_9h.ku1e7k~.js +1 -0
- package/out/_next/static/chunks/turbopack-0ag5rkihzgshw.js +1 -0
- package/out/_next/static/chunks/turbopack-0cau-j4tvg~ms.js +1 -0
- package/out/_next/static/chunks/turbopack-0cbz198xhu0g5.js +1 -0
- package/out/_next/static/chunks/turbopack-0cnk9mbyiu17o.js +1 -0
- package/out/_next/static/chunks/turbopack-0d6nbqqph_c-m.js +1 -0
- package/out/_next/static/chunks/turbopack-0dn1vshxdfbd-.js +1 -0
- package/out/_next/static/chunks/turbopack-0d~wdp5it8e3i.js +1 -0
- package/out/_next/static/chunks/turbopack-0e65frtvghvor.js +1 -0
- package/out/_next/static/chunks/turbopack-0ec3n.ihvnz_s.js +1 -0
- package/out/_next/static/chunks/turbopack-0fuox7sleygyu.js +1 -0
- package/out/_next/static/chunks/turbopack-0hf6tnt3kqvuh.js +1 -0
- package/out/_next/static/chunks/turbopack-0hvttu1y95~67.js +1 -0
- package/out/_next/static/chunks/turbopack-0h~2bok-wm5el.js +1 -0
- package/out/_next/static/chunks/turbopack-0i3yt07cch-fb.js +1 -0
- package/out/_next/static/chunks/turbopack-0j.xnde.rztrw.js +1 -0
- package/out/_next/static/chunks/turbopack-0kwg0kz~1xo00.js +1 -0
- package/out/_next/static/chunks/turbopack-0k~gh1su~i3zo.js +1 -0
- package/out/_next/static/chunks/turbopack-0lbbpq.jfxala.js +1 -0
- package/out/_next/static/chunks/turbopack-0mdhjc0c56apo.js +1 -0
- package/out/_next/static/chunks/turbopack-0mwjsty156.c..js +1 -0
- package/out/_next/static/chunks/turbopack-0o-w8p.hnoydv.js +1 -0
- package/out/_next/static/chunks/turbopack-0p17hi0ksf5gr.js +1 -0
- package/out/_next/static/chunks/turbopack-0ponmw3--k_oh.js +1 -0
- package/out/_next/static/chunks/turbopack-0r6wqo5k2ceyt.js +1 -0
- package/out/_next/static/chunks/turbopack-0s5qx55tdk7c2.js +1 -0
- package/out/_next/static/chunks/turbopack-0udiaj9.gr-yo.js +1 -0
- package/out/_next/static/chunks/turbopack-0upk7r.pp~y~u.js +1 -0
- package/out/_next/static/chunks/turbopack-0wbt5v4who9yx.js +1 -0
- package/out/_next/static/chunks/turbopack-0xa8-ipjqtpfd.js +1 -0
- package/out/_next/static/chunks/turbopack-0y58j7_.3y1qb.js +1 -0
- package/out/_next/static/chunks/turbopack-0~.-06l.x95e8.js +1 -0
- package/out/_next/static/chunks/turbopack-0~s._3ty2qyf4.js +1 -0
- package/out/_next/static/chunks/turbopack-0~wzh5al1hge4.js +1 -0
- package/out/_next/static/chunks/turbopack-10g1nb9hew261.js +1 -0
- package/out/_next/static/chunks/turbopack-12n8g7x9-sr.i.js +1 -0
- package/out/_next/static/chunks/turbopack-1345bgc2qli-k.js +1 -0
- package/out/_next/static/chunks/turbopack-13p7.bzpi5b.5.js +1 -0
- package/out/_next/static/chunks/turbopack-14hgnkos6tpd1.js +1 -0
- package/out/_next/static/chunks/turbopack-14y0hf0j8k5w6.js +1 -0
- package/out/_next/static/chunks/turbopack-15137qvk4g_l5.js +1 -0
- package/out/_next/static/chunks/turbopack-15bmdom9d_n0r.js +1 -0
- package/out/_next/static/chunks/turbopack-15t4.s2zp9qwl.js +1 -0
- package/out/_next/static/chunks/turbopack-15~bjsxndh_8j.js +1 -0
- package/out/_next/static/chunks/turbopack-16_o51.l67jon.js +1 -0
- package/out/_next/static/chunks/turbopack-177dndlwr918n.js +1 -0
- package/out/_next/static/chunks/turbopack-17twbt05yyf0y.js +1 -0
- package/out/_offline/index.html +2 -2
- package/out/account/forgot-password/index.html +2 -2
- package/out/account/index.html +2 -2
- package/out/assortments/AssortmentDetailPage/index.html +2 -2
- package/out/assortments/index.html +2 -2
- package/out/assortments/new/index.html +2 -2
- package/out/copilot/index.html +2 -2
- package/out/country/CountryDetailPage/index.html +2 -2
- package/out/country/index.html +2 -2
- package/out/country/new/index.html +2 -2
- package/out/currency/CurrencyDetailPage/index.html +2 -2
- package/out/currency/index.html +2 -2
- package/out/currency/new/index.html +2 -2
- package/out/delivery-provider/DeliveryProviderDetailPage/index.html +2 -2
- package/out/delivery-provider/index.html +2 -2
- package/out/delivery-provider/new/index.html +2 -2
- package/out/enrollments/EnrollmentDetailPage/index.html +2 -2
- package/out/enrollments/index.html +2 -2
- package/out/events/EventDetailPage/index.html +2 -2
- package/out/events/index.html +2 -2
- package/out/exports/index.html +2 -2
- package/out/external/index.html +2 -2
- package/out/filters/FilterDetailPage/index.html +2 -2
- package/out/filters/index.html +2 -2
- package/out/filters/new/index.html +2 -2
- package/out/index.html +2 -2
- package/out/install/index.html +2 -2
- package/out/language/LanguageDetailPage/index.html +2 -2
- package/out/language/index.html +2 -2
- package/out/language/new/index.html +2 -2
- package/out/log-in/index.html +2 -2
- package/out/orders/OrderDetailPage/index.html +2 -2
- package/out/orders/index.html +2 -2
- package/out/payment-provider/PaymentProviderDetailPage/index.html +2 -2
- package/out/payment-provider/index.html +2 -2
- package/out/payment-provider/new/index.html +2 -2
- package/out/products/ProductDetailPage/index.html +2 -2
- package/out/products/index.html +2 -2
- package/out/products/new/index.html +2 -2
- package/out/quotations/QuotationDetailPage/index.html +2 -2
- package/out/quotations/index.html +2 -2
- package/out/reset-password/index.html +2 -2
- package/out/sign-up/index.html +2 -2
- package/out/styleguide/index.html +2 -2
- package/out/tokens/TokenDetailPage/index.html +2 -2
- package/out/tokens/index.html +2 -2
- package/out/users/UserDetailPage/index.html +2 -2
- package/out/users/index.html +2 -2
- package/out/users/new/index.html +2 -2
- package/out/verify-email/index.html +2 -2
- package/out/warehousing-provider/WarehousingProviderDetailPage/index.html +2 -2
- package/out/warehousing-provider/index.html +2 -2
- package/out/warehousing-provider/new/index.html +2 -2
- package/out/works/WorkDetailPage/index.html +2 -2
- package/out/works/WorkQueueListView/index.html +2 -2
- package/out/works/index.html +2 -2
- package/out/works/management/index.html +2 -2
- package/package.json +7 -12
- package/out/_next/static/B_HQG2nskQonyzu_4cgAO/_clientMiddlewareManifest.json +0 -1
- package/out/_next/static/chunks/041829d0d3c657f2.js +0 -2
- package/out/_next/static/chunks/04ec3d03402261dc.js +0 -14
- package/out/_next/static/chunks/0644143aefa7f14a.js +0 -2
- package/out/_next/static/chunks/0849f6b1fcc13de5.js +0 -1
- package/out/_next/static/chunks/08d070e1430f1d82.js +0 -5
- package/out/_next/static/chunks/0a0e112312b8a78b.js +0 -173
- package/out/_next/static/chunks/0a238e070d8d1b77.js +0 -13
- package/out/_next/static/chunks/0c85a487e925a8fb.js +0 -31
- package/out/_next/static/chunks/0d9ed91755412d86.js +0 -1
- package/out/_next/static/chunks/11554da02dc15e56.js +0 -178
- package/out/_next/static/chunks/156b3bf2bdcc3422.js +0 -13
- package/out/_next/static/chunks/18a777407d3164bc.js +0 -2
- package/out/_next/static/chunks/18f40edfac0fb728.js +0 -188
- package/out/_next/static/chunks/1db4e58a3d233a7d.js +0 -15
- package/out/_next/static/chunks/1dd753318de9207d.js +0 -13
- package/out/_next/static/chunks/1e2f9b43a8359523.js +0 -14
- package/out/_next/static/chunks/1ebe5c69c03e28e8.js +0 -14
- package/out/_next/static/chunks/1f7d9381ae4b531f.js +0 -18
- package/out/_next/static/chunks/212d59d405dc08f0.js +0 -13
- package/out/_next/static/chunks/2166718575524f12.js +0 -61
- package/out/_next/static/chunks/24d82657dd0bcd84.js +0 -14
- package/out/_next/static/chunks/2e1c43b5d421f19d.js +0 -1
- package/out/_next/static/chunks/319e9a96c9819e4e.js +0 -20
- package/out/_next/static/chunks/32c96e48b43ea68a.js +0 -10
- package/out/_next/static/chunks/330837992d56bd8a.js +0 -1
- package/out/_next/static/chunks/3398dc70e287e1b3.js +0 -5
- package/out/_next/static/chunks/34b346f4983e1b17.js +0 -61
- package/out/_next/static/chunks/34cdee51a883e092.js +0 -1
- package/out/_next/static/chunks/3566cef038dbf652.js +0 -15
- package/out/_next/static/chunks/36e7312fa0833335.js +0 -288
- package/out/_next/static/chunks/3793e819cd9a77f7.js +0 -14
- package/out/_next/static/chunks/37a7130d9fc778ee.js +0 -471
- package/out/_next/static/chunks/3825de60ef0c1c62.js +0 -13
- package/out/_next/static/chunks/3bf952ce3db5ae2b.js +0 -54
- package/out/_next/static/chunks/3cd9a008acc9705e.js +0 -14
- package/out/_next/static/chunks/40753fe032e64b67.js +0 -1
- package/out/_next/static/chunks/43b8d6759ea7be62.js +0 -1
- package/out/_next/static/chunks/4490e31d3fa6cac8.js +0 -16
- package/out/_next/static/chunks/483fd905b44fe16c.js +0 -13
- package/out/_next/static/chunks/4a434ac87d5df19d.js +0 -5
- package/out/_next/static/chunks/4af99bc523179eda.js +0 -13
- package/out/_next/static/chunks/4b7fc205c0dcfc85.js +0 -12
- package/out/_next/static/chunks/4c013c12029d0098.js +0 -15
- package/out/_next/static/chunks/4db79e826af39e32.js +0 -2
- package/out/_next/static/chunks/4f810ce035ebc0e5.js +0 -2
- package/out/_next/static/chunks/5262febd43777bb8.js +0 -132
- package/out/_next/static/chunks/52910f0ec7e1a29b.js +0 -26
- package/out/_next/static/chunks/547f5a7b04856830.js +0 -12
- package/out/_next/static/chunks/55b8a04d8afe9758.js +0 -1
- package/out/_next/static/chunks/56f115f08656beaa.js +0 -101
- package/out/_next/static/chunks/589ba731744b3bbb.js +0 -1
- package/out/_next/static/chunks/58b61ebadd6c7280.js +0 -31
- package/out/_next/static/chunks/5a297caf182b5914.js +0 -2
- package/out/_next/static/chunks/5cc2513eaf268333.js +0 -1
- package/out/_next/static/chunks/5cd7bb2ff39b4594.js +0 -1
- package/out/_next/static/chunks/5e96ea5f1375529f.js +0 -15
- package/out/_next/static/chunks/62a396b33a7905ad.js +0 -13
- package/out/_next/static/chunks/62befc2d2d6a72ed.js +0 -23
- package/out/_next/static/chunks/62d9827d793271b3.js +0 -1
- package/out/_next/static/chunks/637c63a979962578.js +0 -2
- package/out/_next/static/chunks/63c03aeeb5583d48.js +0 -46
- package/out/_next/static/chunks/65cf017dbb3312cc.js +0 -1
- package/out/_next/static/chunks/663b8a5cb50f1b6e.js +0 -1
- package/out/_next/static/chunks/6762e034cb8089d6.js +0 -44
- package/out/_next/static/chunks/67b074bcbeba5d6e.js +0 -15
- package/out/_next/static/chunks/6ae1423b22f32db7.js +0 -21
- package/out/_next/static/chunks/6e395f899facce17.js +0 -88
- package/out/_next/static/chunks/740474d96218c3a8.js +0 -12
- package/out/_next/static/chunks/76cf755a9c8274a3.js +0 -3
- package/out/_next/static/chunks/777daca5f7cb7b6c.js +0 -14
- package/out/_next/static/chunks/77f32f3ed3956189.js +0 -2
- package/out/_next/static/chunks/780939c727334fbe.js +0 -137
- package/out/_next/static/chunks/78454d4e5456396d.js +0 -59
- package/out/_next/static/chunks/7876fd667108ff0b.js +0 -1
- package/out/_next/static/chunks/79182002cd9d529e.js +0 -1
- package/out/_next/static/chunks/797980668b156f05.js +0 -5
- package/out/_next/static/chunks/7a5b84c2fc0b6f35.js +0 -8
- package/out/_next/static/chunks/7b47feb1b227ac46.js +0 -10
- package/out/_next/static/chunks/7bce7b23bf7578ee.js +0 -16
- package/out/_next/static/chunks/7ca5a17fd8470247.js +0 -12
- package/out/_next/static/chunks/7cf83c5d61ee1111.js +0 -12
- package/out/_next/static/chunks/809a82e5c1947547.js +0 -16
- package/out/_next/static/chunks/81b92bd0789c83db.js +0 -44
- package/out/_next/static/chunks/831f8d669ee17245.js +0 -22
- package/out/_next/static/chunks/8481204b6f8a478a.js +0 -1
- package/out/_next/static/chunks/849633866e8f5b59.js +0 -5
- package/out/_next/static/chunks/85168dcbf11483d8.js +0 -12
- package/out/_next/static/chunks/88af33f57c0d6bbb.js +0 -1
- package/out/_next/static/chunks/89088a7386e3ea6f.js +0 -1
- package/out/_next/static/chunks/89c3b98838a5884f.js +0 -13
- package/out/_next/static/chunks/8adf2e89b587e1c7.js +0 -217
- package/out/_next/static/chunks/8d3d36493b61ddaa.js +0 -87
- package/out/_next/static/chunks/8d983b4b9169e996.js +0 -73
- package/out/_next/static/chunks/8ed834a5eee89f61.js +0 -58
- package/out/_next/static/chunks/91173824ec07a715.js +0 -26
- package/out/_next/static/chunks/92b3c4e79de63a77.js +0 -13
- package/out/_next/static/chunks/92baa0dcd7ccc61d.js +0 -12
- package/out/_next/static/chunks/958ce42925e8f006.js +0 -2
- package/out/_next/static/chunks/95ed0d70c975eb05.js +0 -46
- package/out/_next/static/chunks/96954669c3ee7b65.js +0 -81
- package/out/_next/static/chunks/970c284e31011901.js +0 -1
- package/out/_next/static/chunks/97da9b3750340537.js +0 -51
- package/out/_next/static/chunks/9a437959eebacf8d.js +0 -10
- package/out/_next/static/chunks/9cc9be90cce32dea.js +0 -73
- package/out/_next/static/chunks/9dd12f280237fabf.js +0 -147
- package/out/_next/static/chunks/a1b66d526ee855a7.js +0 -20
- package/out/_next/static/chunks/a2bc6bcbb9fa94be.js +0 -209
- package/out/_next/static/chunks/a346b2c9a094e108.js +0 -1
- package/out/_next/static/chunks/a35c032fdf8bfdb9.js +0 -50
- package/out/_next/static/chunks/a3e4946a30eb2613.js +0 -13
- package/out/_next/static/chunks/a63069897da911ff.js +0 -15
- package/out/_next/static/chunks/aabef77277776632.js +0 -13
- package/out/_next/static/chunks/aba2c52046d027ff.js +0 -15
- package/out/_next/static/chunks/ad5bc88dc8def64f.js +0 -15
- package/out/_next/static/chunks/aebcca205530f759.js +0 -13
- package/out/_next/static/chunks/af276dfcea23702d.js +0 -7
- package/out/_next/static/chunks/af45e5d574bd00f9.js +0 -11
- package/out/_next/static/chunks/b041b3cb01e454bf.js +0 -46
- package/out/_next/static/chunks/b04e93fe1cefa749.js +0 -1
- package/out/_next/static/chunks/b153c5647937fae8.js +0 -1
- package/out/_next/static/chunks/b2b8a21eba41b1d9.js +0 -22
- package/out/_next/static/chunks/b32109dba223c54f.js +0 -1
- package/out/_next/static/chunks/b46b07c553cbd014.js +0 -1
- package/out/_next/static/chunks/b81419564400ce65.js +0 -1
- package/out/_next/static/chunks/b85acf5da5994927.js +0 -3
- package/out/_next/static/chunks/b960c3c83b1c4bee.js +0 -1
- package/out/_next/static/chunks/bc26e83b8c56a9bf.js +0 -111
- package/out/_next/static/chunks/bc43d7d4b567b5ea.js +0 -1
- package/out/_next/static/chunks/bdc7506704cdc8f1.js +0 -1
- package/out/_next/static/chunks/be18fecf33b8aff4.js +0 -2
- package/out/_next/static/chunks/c022a8ee59e1360f.js +0 -41
- package/out/_next/static/chunks/c1ae2fff3412fc3b.js +0 -16
- package/out/_next/static/chunks/c26fdd51c0a8dd1b.js +0 -11
- package/out/_next/static/chunks/c6935c7d1f702a72.js +0 -22
- package/out/_next/static/chunks/c8c017654455a3db.js +0 -73
- package/out/_next/static/chunks/c99d4094871d4c32.js +0 -1
- package/out/_next/static/chunks/cb9c84baad137d78.js +0 -19
- package/out/_next/static/chunks/cd4b1d554140e38a.js +0 -1
- package/out/_next/static/chunks/ced67effbb174f33.js +0 -100
- package/out/_next/static/chunks/d099b624842dedde.js +0 -108
- package/out/_next/static/chunks/d19d35f3f58f81c4.js +0 -10
- package/out/_next/static/chunks/d1a23aff64c67058.js +0 -12
- package/out/_next/static/chunks/d1e05ddd40d8b838.js +0 -50
- package/out/_next/static/chunks/d4797c1d8d5f8d16.js +0 -15
- package/out/_next/static/chunks/d5465c55cda4c7ee.js +0 -14
- package/out/_next/static/chunks/d59872edc473de58.js +0 -1
- package/out/_next/static/chunks/d5d4fe0c2f022c56.js +0 -90
- package/out/_next/static/chunks/d62a71a9616d03f6.css +0 -1
- package/out/_next/static/chunks/d6d09fbd247f490a.js +0 -60
- package/out/_next/static/chunks/d7146be452420d99.js +0 -8
- package/out/_next/static/chunks/d72644f384b07353.js +0 -8
- package/out/_next/static/chunks/d7afa35f4b0e93e2.js +0 -15
- package/out/_next/static/chunks/da6824f16a8c9c16.js +0 -1
- package/out/_next/static/chunks/dbd9d92143ac3f09.js +0 -8
- package/out/_next/static/chunks/dc1a5c6d670f4d85.js +0 -101
- package/out/_next/static/chunks/dd3ab8c44071f106.js +0 -13
- package/out/_next/static/chunks/e215055a16899d84.js +0 -1
- package/out/_next/static/chunks/e2ea777b6b52d20c.js +0 -384
- package/out/_next/static/chunks/e48a99fc33082cdb.js +0 -14
- package/out/_next/static/chunks/e91218bc9a43ab15.js +0 -119
- package/out/_next/static/chunks/ead734ac488ae47d.js +0 -12
- package/out/_next/static/chunks/edf3c79b748cd5ef.js +0 -1
- package/out/_next/static/chunks/ee25c9fda8624149.js +0 -7
- package/out/_next/static/chunks/f11033e87a574c20.js +0 -31
- package/out/_next/static/chunks/f1b505e78dc22c33.js +0 -142
- package/out/_next/static/chunks/f25b1e5de69c63ec.js +0 -18
- package/out/_next/static/chunks/f6c1f05d71ee9988.js +0 -291
- package/out/_next/static/chunks/f71f08f9a8f8e966.js +0 -16
- package/out/_next/static/chunks/f8749bfff24ae02d.js +0 -73
- package/out/_next/static/chunks/f985949c0c96da68.js +0 -12
- package/out/_next/static/chunks/fa0b6dc3c794ad70.js +0 -1
- package/out/_next/static/chunks/fa7e6edd281ca588.js +0 -66
- package/out/_next/static/chunks/fd0b983618670559.js +0 -1
- package/out/_next/static/chunks/fe47fa22d80a1567.js +0 -138
- package/out/_next/static/chunks/ff5993cac4be61a6.js +0 -13
- package/out/_next/static/chunks/turbopack-0618bf27d24a19ff.js +0 -4
- package/out/_next/static/chunks/turbopack-0713648134b7749b.js +0 -4
- package/out/_next/static/chunks/turbopack-0e598fcf385644dd.js +0 -4
- package/out/_next/static/chunks/turbopack-0f7ad1d620e1f5dd.js +0 -4
- package/out/_next/static/chunks/turbopack-136a534a868add2d.js +0 -4
- package/out/_next/static/chunks/turbopack-183e22721cfd2290.js +0 -4
- package/out/_next/static/chunks/turbopack-1b10c04a632f5f9a.js +0 -4
- package/out/_next/static/chunks/turbopack-1cfb05dc03815c33.js +0 -4
- package/out/_next/static/chunks/turbopack-1f96045f0c9bbcc5.js +0 -4
- package/out/_next/static/chunks/turbopack-21e2f449da4aa40f.js +0 -4
- package/out/_next/static/chunks/turbopack-2f4395d184cbbe2a.js +0 -4
- package/out/_next/static/chunks/turbopack-30183490f349fa52.js +0 -4
- package/out/_next/static/chunks/turbopack-31a61cf8179589b9.js +0 -4
- package/out/_next/static/chunks/turbopack-32bda3d7a0ab79bc.js +0 -4
- package/out/_next/static/chunks/turbopack-335374aae4f6f7ba.js +0 -4
- package/out/_next/static/chunks/turbopack-3ca3b817ce31197c.js +0 -4
- package/out/_next/static/chunks/turbopack-3ea50a1a5b658ad9.js +0 -4
- package/out/_next/static/chunks/turbopack-403e981d4fb006b9.js +0 -4
- package/out/_next/static/chunks/turbopack-41139da59c1ae910.js +0 -4
- package/out/_next/static/chunks/turbopack-43c25afcb55040b5.js +0 -4
- package/out/_next/static/chunks/turbopack-5215d08471196b30.js +0 -4
- package/out/_next/static/chunks/turbopack-5459976f56ad97b2.js +0 -4
- package/out/_next/static/chunks/turbopack-557fb226e46069bc.js +0 -4
- package/out/_next/static/chunks/turbopack-5ad30fd672f3e8c8.js +0 -4
- package/out/_next/static/chunks/turbopack-62649e3cb4c72ddc.js +0 -4
- package/out/_next/static/chunks/turbopack-65b51f58ee703548.js +0 -4
- package/out/_next/static/chunks/turbopack-6bd3313da6ac60b4.js +0 -4
- package/out/_next/static/chunks/turbopack-6f7d6215fc38554b.js +0 -4
- package/out/_next/static/chunks/turbopack-71bff6add558c43b.js +0 -4
- package/out/_next/static/chunks/turbopack-75664160f7f57d09.js +0 -4
- package/out/_next/static/chunks/turbopack-77758797b5677cd0.js +0 -4
- package/out/_next/static/chunks/turbopack-7a0a4849df31a8a2.js +0 -4
- package/out/_next/static/chunks/turbopack-7d565f917a5c8617.js +0 -4
- package/out/_next/static/chunks/turbopack-80dc8e7be69963e5.js +0 -4
- package/out/_next/static/chunks/turbopack-84f0759b46af1a9b.js +0 -4
- package/out/_next/static/chunks/turbopack-8a9c5308a5a90809.js +0 -4
- package/out/_next/static/chunks/turbopack-8c32b3ffd43866ed.js +0 -4
- package/out/_next/static/chunks/turbopack-95e9218f8fdda09a.js +0 -4
- package/out/_next/static/chunks/turbopack-9c4570e723cfcc78.js +0 -4
- package/out/_next/static/chunks/turbopack-9c4ad976eb86594c.js +0 -4
- package/out/_next/static/chunks/turbopack-a60e32cc986ebda8.js +0 -4
- package/out/_next/static/chunks/turbopack-a9a6da78ac431c29.js +0 -4
- package/out/_next/static/chunks/turbopack-acf8186fdbc4a75a.js +0 -4
- package/out/_next/static/chunks/turbopack-b5920136e79ad850.js +0 -4
- package/out/_next/static/chunks/turbopack-b674b9a8ee12399a.js +0 -4
- package/out/_next/static/chunks/turbopack-c09314d0421dc801.js +0 -4
- package/out/_next/static/chunks/turbopack-c92b46c7347de0ba.js +0 -4
- package/out/_next/static/chunks/turbopack-cad30ef4ef504ca6.js +0 -4
- package/out/_next/static/chunks/turbopack-d55d81dd3ca3cff8.js +0 -4
- package/out/_next/static/chunks/turbopack-d7298beb454fbd65.js +0 -4
- package/out/_next/static/chunks/turbopack-de62fc013488af79.js +0 -4
- package/out/_next/static/chunks/turbopack-e01194e51434ff5a.js +0 -4
- package/out/_next/static/chunks/turbopack-e2b9c6d7a153fa8f.js +0 -4
- package/out/_next/static/chunks/turbopack-e86727b963006ac4.js +0 -4
- package/out/_next/static/chunks/turbopack-edcbeaf096e3b920.js +0 -4
- package/out/_next/static/chunks/turbopack-efe9558d7badf0ca.js +0 -4
- package/out/_next/static/chunks/turbopack-f0c906545b0bc82b.js +0 -4
- package/out/_next/static/chunks/turbopack-f4b16491beaa8f76.js +0 -4
- package/out/_next/static/chunks/turbopack-f644394dfcba2b4e.js +0 -4
- package/out/_next/static/chunks/turbopack-fb645ff11da2afbd.js +0 -4
- package/out/_next/static/chunks/turbopack-fb6eae536665a180.js +0 -4
- package/out/_next/static/chunks/turbopack-fdf95d9ff3fd7bfc.js +0 -4
- package/out/_next/static/chunks/turbopack-fe0a3841bd1334b7.js +0 -4
- /package/out/_next/static/{B_HQG2nskQonyzu_4cgAO → N4ZykTcWoLUOIWmA5GZc9}/_ssgManifest.js +0 -0
- /package/out/_next/static/chunks/{d9f5be23c99d734d.js → 0-vzy055sp9wr.js} +0 -0
- /package/out/_next/static/chunks/{a07ce58daa89e354.js → 0.7jou~9s-9ly.js} +0 -0
- /package/out/_next/static/chunks/{aac8a0823d648ca4.js → 0.qq-wh2-26q3.js} +0 -0
- /package/out/_next/static/chunks/{f3f5bb2da4be059c.js → 00am.v9yslbhb.js} +0 -0
- /package/out/_next/static/chunks/{422ee02a73e2338c.js → 02mkjzfq3ks0c.js} +0 -0
- /package/out/_next/static/chunks/{52bb95ecf48dacae.js → 0cnjwc8yv_7du.js} +0 -0
- /package/out/_next/static/chunks/{c88c6cd9171a39a6.js → 0i.xcdg6xys-l.js} +0 -0
- /package/out/_next/static/chunks/{320cc644938eb6e3.js → 0xua-t44xuvki.js} +0 -0
- /package/out/_next/static/chunks/{b930222155336289.js → 0~dk.04oud9y0.js} +0 -0
- /package/out/_next/static/chunks/{2295bdc38440f7f1.js → 11fl4v~k-i6dd.js} +0 -0
- /package/out/_next/static/chunks/{e6f8531b24c4d8aa.js → 15r--ckscx-95.js} +0 -0
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
)
|
|
30
30
|
}
|
|
31
31
|
${s.default}
|
|
32
|
-
`;e.s(["default",0,({queryString:e="",limit:t=20,offset:s=0,includeInactive:l=!0,sort:n=[]}={})=>{let{data:i,loading:o,error:d,fetchMore:u}=(0,r.useQuery)(a,{variables:{queryString:e,limit:t,offset:s,includeInactive:l,sort:n}}),c=i?.currencies||[],m=i?.currenciesCount,f=c?.length<m;return{currencies:c,currenciesCount:m,hasMore:f,loading:o,error:d,loadMore:()=>{u({variables:{offset:c?.length}})}}}])},90575,19190,e=>{"use strict";var t=e.i(1415);let r=t.default.createContext({customProperties:{},hydrateFragment:(e,t)=>null});e.s(["default",0,r],19190),e.s(["default",0,()=>(0,t.useContext)(r)],90575)},81907,e=>{"use strict";let t=()=>({formatPrice:e=>{if(!e?.currencyCode)return"n/a";if(e?.amount===void 0||e?.amount===null)return"";let{amount:t,currencyCode:r}=e||{};return new Intl.NumberFormat(navigator.language,{style:"currency",currency:r}).format(t/100)}}),r=e=>e?.label&&e?.version?`${e.label} ${e.version}`:"",s=(...e)=>e.filter(Boolean).join(" "),a=(e,t,r=!0)=>{if(!t)return"";try{return`${new Intl.DisplayNames([e],{type:"region"}).of(t)} ${r?`(${t})`:""}`}catch{return t}},l=(e,t,r=!0)=>{if(!t)return"";try{return`${new Intl.DisplayNames([e],{type:"language"}).of(t)} ${r?`(${t})`:""}`}catch{return t}},n=(e,t,r=!0)=>{if(!t)return"";try{return`${new Intl.DisplayNames([e],{type:"currency"}).of(t)} ${r?`(${t})`:""}`}catch{return t}},i=e=>e&&e?.split(",").reduce((e,t)=>{let[r=null,s=null]=(t||"")?.split("_")||[];return{...e,[r]:s}},null)||{},o=(e,t,r)=>{let s;return s=r?{...e,[r]:t}:e,Object.keys(s)?.map(e=>[e,s[e]].join("="))?.join("&")};e.s(["classNames",()=>s,"convertSortFieldsToQueryFormat",0,e=>Object.entries(i(e))?.map(([e,t])=>({key:e,value:t})),"getInterfaceLabel",()=>r,"getSortKeys",()=>i,"normalizeCountryISOCode",()=>a,"normalizeCurrencyISOCode",()=>n,"normalizeLanguageISOCode",()=>l,"normalizeQuery",()=>o,"useFormatPrice",()=>t])},53162,e=>{"use strict";let t=e.i(1415).default.createContext({setModal:()=>{throw Error("No ModalContext/ModalWrapper ancestor found.")}});e.s(["default",0,t])},31891,e=>{"use strict";var t=e.i(1415),r=e.i(53162);e.s(["default",0,()=>(0,t.useContext)(r.default)])},17831,e=>{"use strict";var t=e.i(69178),r=e.i(98183);e.s(["default",0,({onOkClick:e,onCancelClick:s,okText:a=null,cancelText:l=null,headerText:n=null,message:i=null,icon:o=null,close:d=null})=>{let{formatMessage:u}=(0,r.useIntl)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"sm:flex sm:items-start",children:[o||(0,t.jsx)("div",{className:"mx-auto flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-rose-100 dark:bg-rose-900/30 sm:mx-0 sm:h-10 sm:w-10",children:(0,t.jsx)("svg",{className:"h-6 w-6 text-rose-600 dark:text-rose-400",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})})}),(0,t.jsxs)("div",{className:"mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left",children:[(0,t.jsx)("h3",{className:"text-lg text-slate-900 dark:text-slate-200",id:"modal-title",children:n||u({id:"warning",defaultMessage:"Warning!"})}),(0,t.jsx)("div",{className:"mt-2",children:(0,t.jsx)("p",{className:"text-sm text-slate-500 dark:text-slate-200",children:i||u({id:"are_you_sure",defaultMessage:"Are you sure?"})})})]})]}),(0,t.jsxs)("div",{className:"mt-5 sm:mt-4 sm:flex sm:flex-row-reverse",children:[(0,t.jsx)("button",{id:"danger_continue",onClick:e,type:"button",className:"inline-flex w-full justify-center rounded-md border border-transparent bg-rose-600 px-4 py-2 text-base font-medium text-white shadow-xs hover:bg-rose-700 focus:outline-hidden focus:ring-2 focus:ring-rose-500 focus:ring-offset-2 sm:ml-3 sm:w-auto sm:text-sm",children:a||u({id:"continue",defaultMessage:"Continue"})}),(0,t.jsx)("button",{id:"danger_cancel",onClick:s||d,type:"button",className:"mt-3 inline-flex w-full justify-center rounded-md border border-slate-300 bg-white px-4 py-2 text-base font-medium text-slate-700 shadow-xs hover:bg-slate-50 focus:outline-hidden focus:ring-2 focus:ring-slate-800 focus:ring-offset-2 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm",children:l||u({id:"cancel",defaultMessage:"Cancel"})})]})]})}])},69744,e=>{"use strict";var t=e.i(1415);let 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:"M6 18 18 6M6 6l12 12"}))});e.s(["XMarkIcon",0,r],69744)},33362,e=>{"use strict";var t=e.i(69178),r=e.i(69744),s=e.i(98183);e.s(["default",0,({onClick:e,text:a=null,Icon:l=null})=>{let{formatMessage:n}=(0,s.useIntl)();return(0,t.jsxs)("button",{type:"button",onClick:e,"aria-describedby":"header-delete-button",className:"inline-flex items-center gap-2 justify-center rounded-md border border-rose-500 px-4 py-2 text-sm font-medium leading-5 text-rose-600 dark:text-rose-200 shadow-sm hover:border-rose-600 hover:bg-rose-600 hover:text-white focus:outline-hidden focus:ring-2 focus:ring-rose-500 focus:ring-offset-2 h-[38px]",children:[(0,t.jsx)("span",{children:l||(0,t.jsx)(r.XMarkIcon,{className:"h-5 w-5"})}),a||n({id:"delete",defaultMessage:"Delete"})]})}])},71747,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{fillRule:"evenodd",d:"M8.75 1A2.75 2.75 0 0 0 6 3.75v.443c-.795.077-1.584.176-2.365.298a.75.75 0 1 0 .23 1.482l.149-.022.841 10.518A2.75 2.75 0 0 0 7.596 19h4.807a2.75 2.75 0 0 0 2.742-2.53l.841-10.52.149.023a.75.75 0 0 0 .23-1.482A41.03 41.03 0 0 0 14 4.193V3.75A2.75 2.75 0 0 0 11.25 1h-2.5ZM10 4c.84 0 1.673.025 2.5.075V3.75c0-.69-.56-1.25-1.25-1.25h-2.5c-.69 0-1.25.56-1.25 1.25v.325C8.327 4.025 9.16 4 10 4ZM8.58 7.72a.75.75 0 0 0-1.5.06l.3 7.5a.75.75 0 1 0 1.5-.06l-.3-7.5Zm4.34.06a.75.75 0 1 0-1.5-.06l-.3 7.5a.75.75 0 1 0 1.5.06l.3-7.5Z",clipRule:"evenodd"}))});e.s(["TrashIcon",0,r],71747)},14936,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM12.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM18.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"}))});e.s(["EllipsisHorizontalIcon",0,r],14936)},38163,e=>{"use strict";var t=e.i(1415),r=e.i(93736);e.s(["default",0,({children:e,container:s=null,className:a=""})=>{let l=(0,t.useRef)(null),[n,i]=(0,t.useState)(!1);return((0,t.useEffect)(()=>{let e=document.createElement("div");a&&(e.className=a),l.current=e;let t=s||document.body;return t.appendChild(e),i(!0),()=>{l.current&&t.contains(l.current)&&t.removeChild(l.current)}},[s,a]),n&&l.current)?(0,r.createPortal)(e,l.current):null}])},21924,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{d:"m2.695 14.762-1.262 3.155a.5.5 0 0 0 .65.65l3.155-1.262a4 4 0 0 0 1.343-.886L17.5 5.501a2.121 2.121 0 0 0-3-3L3.58 13.419a4 4 0 0 0-.885 1.343Z"}))});e.s(["PencilIcon",0,r],21924)},22103,e=>{"use strict";var t=e.i(69178),r=e.i(1415),s=e.i(98183),a=e.i(14936),l=e.i(21924),n=e.i(71747),i=e.i(38163);e.s(["default",0,({onEdit:e,onDelete:o,editLabel:d,deleteLabel:u,showEdit:c=!0,showDelete:m=!0})=>{let{formatMessage:f}=(0,s.useIntl)(),[x,h]=(0,r.useState)(!1),[g,v]=(0,r.useState)({top:0,left:0}),p=(0,r.useRef)(null),b=(0,r.useRef)(null);(0,r.useEffect)(()=>{let e=e=>{p.current&&!p.current.contains(e.target)&&h(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]);let w=(e,t)=>{e.stopPropagation(),e.preventDefault(),t&&t(),h(!1)};return 0===[c&&e,m&&o].filter(Boolean).length?null:(0,t.jsxs)("div",{className:"flex justify-end w-full",children:[(0,t.jsx)("button",{ref:b,type:"button",onClick:e=>{e.stopPropagation(),e.preventDefault(),x||(()=>{if(!b.current)return;let e=b.current.getBoundingClientRect(),t=e.bottom+4,r=e.right-192;r<8&&(r=8),t+80>window.innerHeight-8&&(t=e.top-80-4),v({top:t,left:r})})(),h(!x)},className:"flex items-center justify-center w-8 h-8 rounded-md hover:bg-slate-100 dark:hover:bg-slate-700 transition-colors","aria-label":f({id:"table_actions_menu",defaultMessage:"Actions menu"}),children:(0,t.jsx)(a.EllipsisHorizontalIcon,{className:"w-5 h-5 text-slate-500 dark:text-slate-400"})}),x&&(0,t.jsx)(i.default,{children:(0,t.jsx)("div",{ref:p,className:"fixed w-48 bg-white dark:bg-slate-800 rounded-md shadow-xl border border-slate-200 dark:border-slate-700 z-[9999]",style:{top:g.top,left:g.left},children:(0,t.jsxs)("div",{className:"py-1",children:[c&&e&&(0,t.jsxs)("button",{type:"button",onClick:t=>w(t,e),className:"flex items-center w-full px-4 py-2 text-sm text-slate-700 dark:text-slate-200 hover:bg-slate-100 dark:hover:bg-slate-700 transition-colors",children:[(0,t.jsx)(l.PencilIcon,{className:"mr-3 h-5 w-5"}),d||f({id:"edit",defaultMessage:"Edit"})]}),m&&o&&(0,t.jsxs)("button",{type:"button",onClick:e=>w(e,o),className:"flex items-center w-full px-4 py-2 text-sm text-rose-500 dark:text-rose-400 hover:bg-rose-50 dark:hover:bg-rose-900/20 transition-colors",children:[(0,t.jsx)(n.TrashIcon,{className:"mr-3 h-5 w-5"}),u||f({id:"delete",defaultMessage:"Delete"})]})]})})})]})}])},76691,e=>{"use strict";var t=e.i(71983);let r=t.gql`
|
|
32
|
+
`;e.s(["default",0,({queryString:e="",limit:t=20,offset:s=0,includeInactive:l=!0,sort:n=[]}={})=>{let{data:i,loading:o,error:d,fetchMore:u}=(0,r.useQuery)(a,{variables:{queryString:e,limit:t,offset:s,includeInactive:l,sort:n}}),c=i?.currencies||[],m=i?.currenciesCount,f=c?.length<m;return{currencies:c,currenciesCount:m,hasMore:f,loading:o,error:d,loadMore:()=>{u({variables:{offset:c?.length}})}}}])},90575,19190,e=>{"use strict";var t=e.i(1415);let r=t.default.createContext({customProperties:{},hydrateFragment:(e,t)=>null});e.s(["default",0,r],19190),e.s(["default",0,()=>(0,t.useContext)(r)],90575)},51443,e=>{"use strict";var t=e.i(69178),r=e.i(98183);e.s(["default",0,()=>{let{formatMessage:e}=(0,r.useIntl)();return(0,t.jsx)("div",{className:"my-5 flex h-full w-full items-center justify-center bg-slate-50 dark:bg-slate-950 py-5",children:(0,t.jsxs)("div",{className:"flex items-center justify-center space-x-1 text-sm text-slate-700 dark:text-slate-200",children:[(0,t.jsx)("svg",{fill:"none",className:"h-6 w-6 animate-spin",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{clipRule:"evenodd",d:"M15.165 8.53a.5.5 0 01-.404.58A7 7 0 1023 16a.5.5 0 011 0 8 8 0 11-9.416-7.874.5.5 0 01.58.404z",fill:"currentColor",fillRule:"evenodd"})}),(0,t.jsx)("div",{children:e({id:"loading",defaultMessage:"Loading ..."})})]})})}])},53162,e=>{"use strict";let t=e.i(1415).default.createContext({setModal:()=>{throw Error("No ModalContext/ModalWrapper ancestor found.")}});e.s(["default",0,t])},31891,e=>{"use strict";var t=e.i(1415),r=e.i(53162);e.s(["default",0,()=>(0,t.useContext)(r.default)])},17831,e=>{"use strict";var t=e.i(69178),r=e.i(98183);e.s(["default",0,({onOkClick:e,onCancelClick:s,okText:a=null,cancelText:l=null,headerText:n=null,message:i=null,icon:o=null,close:d=null})=>{let{formatMessage:u}=(0,r.useIntl)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"sm:flex sm:items-start",children:[o||(0,t.jsx)("div",{className:"mx-auto flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-rose-100 dark:bg-rose-900/30 sm:mx-0 sm:h-10 sm:w-10",children:(0,t.jsx)("svg",{className:"h-6 w-6 text-rose-600 dark:text-rose-400",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})})}),(0,t.jsxs)("div",{className:"mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left",children:[(0,t.jsx)("h3",{className:"text-lg text-slate-900 dark:text-slate-200",id:"modal-title",children:n||u({id:"warning",defaultMessage:"Warning!"})}),(0,t.jsx)("div",{className:"mt-2",children:(0,t.jsx)("p",{className:"text-sm text-slate-500 dark:text-slate-200",children:i||u({id:"are_you_sure",defaultMessage:"Are you sure?"})})})]})]}),(0,t.jsxs)("div",{className:"mt-5 sm:mt-4 sm:flex sm:flex-row-reverse",children:[(0,t.jsx)("button",{id:"danger_continue",onClick:e,type:"button",className:"inline-flex w-full justify-center rounded-md border border-transparent bg-rose-600 px-4 py-2 text-base font-medium text-white shadow-xs hover:bg-rose-700 focus:outline-hidden focus:ring-2 focus:ring-rose-500 focus:ring-offset-2 sm:ml-3 sm:w-auto sm:text-sm",children:a||u({id:"continue",defaultMessage:"Continue"})}),(0,t.jsx)("button",{id:"danger_cancel",onClick:s||d,type:"button",className:"mt-3 inline-flex w-full justify-center rounded-md border border-slate-300 bg-white px-4 py-2 text-base font-medium text-slate-700 shadow-xs hover:bg-slate-50 focus:outline-hidden focus:ring-2 focus:ring-slate-800 focus:ring-offset-2 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm",children:l||u({id:"cancel",defaultMessage:"Cancel"})})]})]})}])},69744,e=>{"use strict";var t=e.i(1415);let 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:"M6 18 18 6M6 6l12 12"}))});e.s(["XMarkIcon",0,r],69744)},33362,e=>{"use strict";var t=e.i(69178),r=e.i(69744),s=e.i(98183);e.s(["default",0,({onClick:e,text:a=null,Icon:l=null})=>{let{formatMessage:n}=(0,s.useIntl)();return(0,t.jsxs)("button",{type:"button",onClick:e,"aria-describedby":"header-delete-button",className:"inline-flex items-center gap-2 justify-center rounded-md border border-rose-500 px-4 py-2 text-sm font-medium leading-5 text-rose-600 dark:text-rose-200 shadow-sm hover:border-rose-600 hover:bg-rose-600 hover:text-white focus:outline-hidden focus:ring-2 focus:ring-rose-500 focus:ring-offset-2 h-[38px]",children:[(0,t.jsx)("span",{children:l||(0,t.jsx)(r.XMarkIcon,{className:"h-5 w-5"})}),a||n({id:"delete",defaultMessage:"Delete"})]})}])},71747,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{fillRule:"evenodd",d:"M8.75 1A2.75 2.75 0 0 0 6 3.75v.443c-.795.077-1.584.176-2.365.298a.75.75 0 1 0 .23 1.482l.149-.022.841 10.518A2.75 2.75 0 0 0 7.596 19h4.807a2.75 2.75 0 0 0 2.742-2.53l.841-10.52.149.023a.75.75 0 0 0 .23-1.482A41.03 41.03 0 0 0 14 4.193V3.75A2.75 2.75 0 0 0 11.25 1h-2.5ZM10 4c.84 0 1.673.025 2.5.075V3.75c0-.69-.56-1.25-1.25-1.25h-2.5c-.69 0-1.25.56-1.25 1.25v.325C8.327 4.025 9.16 4 10 4ZM8.58 7.72a.75.75 0 0 0-1.5.06l.3 7.5a.75.75 0 1 0 1.5-.06l-.3-7.5Zm4.34.06a.75.75 0 1 0-1.5-.06l-.3 7.5a.75.75 0 1 0 1.5.06l.3-7.5Z",clipRule:"evenodd"}))});e.s(["TrashIcon",0,r],71747)},14936,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM12.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM18.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"}))});e.s(["EllipsisHorizontalIcon",0,r],14936)},38163,e=>{"use strict";var t=e.i(1415),r=e.i(93736);e.s(["default",0,({children:e,container:s=null,className:a=""})=>{let l=(0,t.useRef)(null),[n,i]=(0,t.useState)(!1);return((0,t.useEffect)(()=>{let e=document.createElement("div");a&&(e.className=a),l.current=e;let t=s||document.body;return t.appendChild(e),i(!0),()=>{l.current&&t.contains(l.current)&&t.removeChild(l.current)}},[s,a]),n&&l.current)?(0,r.createPortal)(e,l.current):null}])},21924,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{d:"m2.695 14.762-1.262 3.155a.5.5 0 0 0 .65.65l3.155-1.262a4 4 0 0 0 1.343-.886L17.5 5.501a2.121 2.121 0 0 0-3-3L3.58 13.419a4 4 0 0 0-.885 1.343Z"}))});e.s(["PencilIcon",0,r],21924)},22103,e=>{"use strict";var t=e.i(69178),r=e.i(1415),s=e.i(98183),a=e.i(14936),l=e.i(21924),n=e.i(71747),i=e.i(38163);e.s(["default",0,({onEdit:e,onDelete:o,editLabel:d,deleteLabel:u,showEdit:c=!0,showDelete:m=!0})=>{let{formatMessage:f}=(0,s.useIntl)(),[x,h]=(0,r.useState)(!1),[g,v]=(0,r.useState)({top:0,left:0}),p=(0,r.useRef)(null),b=(0,r.useRef)(null);(0,r.useEffect)(()=>{let e=e=>{p.current&&!p.current.contains(e.target)&&h(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]);let w=(e,t)=>{e.stopPropagation(),e.preventDefault(),t&&t(),h(!1)};return 0===[c&&e,m&&o].filter(Boolean).length?null:(0,t.jsxs)("div",{className:"flex justify-end w-full",children:[(0,t.jsx)("button",{ref:b,type:"button",onClick:e=>{e.stopPropagation(),e.preventDefault(),x||(()=>{if(!b.current)return;let e=b.current.getBoundingClientRect(),t=e.bottom+4,r=e.right-192;r<8&&(r=8),t+80>window.innerHeight-8&&(t=e.top-80-4),v({top:t,left:r})})(),h(!x)},className:"flex items-center justify-center w-8 h-8 rounded-md hover:bg-slate-100 dark:hover:bg-slate-700 transition-colors","aria-label":f({id:"table_actions_menu",defaultMessage:"Actions menu"}),children:(0,t.jsx)(a.EllipsisHorizontalIcon,{className:"w-5 h-5 text-slate-500 dark:text-slate-400"})}),x&&(0,t.jsx)(i.default,{children:(0,t.jsx)("div",{ref:p,className:"fixed w-48 bg-white dark:bg-slate-800 rounded-md shadow-xl border border-slate-200 dark:border-slate-700 z-[9999]",style:{top:g.top,left:g.left},children:(0,t.jsxs)("div",{className:"py-1",children:[c&&e&&(0,t.jsxs)("button",{type:"button",onClick:t=>w(t,e),className:"flex items-center w-full px-4 py-2 text-sm text-slate-700 dark:text-slate-200 hover:bg-slate-100 dark:hover:bg-slate-700 transition-colors",children:[(0,t.jsx)(l.PencilIcon,{className:"mr-3 h-5 w-5"}),d||f({id:"edit",defaultMessage:"Edit"})]}),m&&o&&(0,t.jsxs)("button",{type:"button",onClick:e=>w(e,o),className:"flex items-center w-full px-4 py-2 text-sm text-rose-500 dark:text-rose-400 hover:bg-rose-50 dark:hover:bg-rose-900/20 transition-colors",children:[(0,t.jsx)(n.TrashIcon,{className:"mr-3 h-5 w-5"}),u||f({id:"delete",defaultMessage:"Delete"})]})]})})})]})}])},76691,e=>{"use strict";var t=e.i(71983);let r=t.gql`
|
|
33
33
|
fragment LanguageFragment on Language {
|
|
34
34
|
_id
|
|
35
35
|
isoCode
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
|
-
`,d=()=>{let{data:e,loading:t,error:r}=(0,i.useQuery)(o,{fetchPolicy:"cache-first"}),{shopInfo:s}=e||{};return{shopInfo:s,defaultLocale:[s?.language?.isoCode,s?.country?.isoCode?.toUpperCase()].filter(Boolean)?.join("-"),loading:t,error:r}};e.s(["default",0,d],79174);var u=e.i(30060);let c=(0,t.createContext)(void 0);e.s(["AppContextWrapper",0,({children:e,onlyFull:n=!1})=>{let i,{languages:o}=(0,a.default)(),{locale:m}=(0,s.useIntl)(),[f,x]=(0,u.default)("selectedLocale",null),{shopInfo:h,loading:g}=d(),{countries:v}=(0,l.default)(),[p,b]=(0,t.useState)(m),w=e=>{x(e),b(e)};(0,t.useEffect)(()=>{f?b(f):g||w(`${h?.language?.isoCode}-${h?.country?.isoCode?.toUpperCase()}`)},[h,g,m]);let j=(i=[],o.forEach(({_id:e,isoCode:t})=>{i.push({_id:e,isoCode:t}),v.forEach(({isoCode:r,_id:s})=>{let a=[t,r.toUpperCase()].join("-");(e=>{try{return new Intl.DateTimeFormat(e).resolvedOptions().locale.toLowerCase()===e.toLowerCase()}catch(e){return!1}})(a)&&i.push({_id:`${s}-${e}`,isoCode:a})})}),i).filter(e=>!n||e.isoCode.includes("-")),k=!!h?.language&&!!h?.country;return(0,r.jsx)(c.Provider,{value:{selectedLocale:p,setSelectedLocale:w,languageDialectList:j,isSystemReady:k,shopInfo:h},children:e})},"default",0,c],58724),e.s(["default",0,()=>{let e=(0,t.useContext)(c);if(!e)throw Error("useLocale must be used within a LocaleProvider");return e}],81312)},47024,e=>{"use strict";var t=e.i(69178),r=e.i(1415),s=e.i(12442),a=e.i(81312);e.s(["default",0,({children:e,onlyFull:l=!1})=>{let{languageDialectList:n,selectedLocale:i,setSelectedLocale:o}=(0,a.default)(),d=(0,r.useContext)(s.FormWrapperContext),u=n.filter(e=>!l||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(),o(e.target.value)},children:u?.map(e=>(0,t.jsx)("option",{value:e.isoCode,children:e.isoCode},e._id))})}),(0,t.jsx)("div",{children:r.default.cloneElement(e)})]})}])},92699,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 12.75 6 6 9-13.5"}))});e.s(["CheckIcon",0,r],92699)},58930,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"}))});e.s(["ChevronDownIcon",0,r],58930)},47426,(e,t,r)=>{"use strict";var s=e.r(1415),a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},l=s.useSyncExternalStore,n=s.useRef,i=s.useEffect,o=s.useMemo,d=s.useDebugValue;r.useSyncExternalStoreWithSelector=function(e,t,r,s,u){var c=n(null);if(null===c.current){var m={hasValue:!1,value:null};c.current=m}else m=c.current;var f=l(e,(c=o(function(){function e(e){if(!i){if(i=!0,l=e,e=s(e),void 0!==u&&m.hasValue){var t=m.value;if(u(t,e))return n=t}return n=e}if(t=n,a(l,e))return t;var r=s(e);return void 0!==u&&u(t,r)?(l=e,t):(l=e,n=r)}var l,n,i=!1,o=void 0===r?null:r;return[function(){return e(t())},null===o?void 0:function(){return e(o())}]},[t,r,s,u]))[0],c[1]);return i(function(){m.hasValue=!0,m.value=f},[f]),d(f),f}},42806,(e,t,r)=>{"use strict";t.exports=e.r(47426)},55628,e=>{"use strict";var t=e.i(69178),r=e.i(30758),s=e.i(98183),a=e.i(12442);e.s(["default",0,({error:e=null,resetError:l=null})=>{let{formatMessage:n}=(0,s.useIntl)();return(0,t.jsx)("div",{className:"flex min-h-screen items-center justify-center py-12 px-4 sm:px-6 lg:px-8",children:(0,t.jsxs)("div",{className:"w-full max-w-md space-y-4 text-center",children:[(0,t.jsx)("div",{children:(0,t.jsx)("h2",{className:"text-center text-3xl text-slate-900 dark:text-slate-200",children:n({id:"internal_server_error",defaultMessage:"500 Internal Server Error"})})}),(0,t.jsx)(a.default,{children:(0,t.jsxs)("div",{className:"space-y-6 px-4 pb-5 pt-3 sm:rounded-lg sm:px-10",children:[(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("div",{className:"mx-auto flex h-12 w-12 items-center justify-center rounded-full bg-rose-100 dark:bg-rose-900",children:(0,t.jsx)("svg",{className:"h-6 w-6 text-rose-600 dark:text-rose-400",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-2.5L13.732 4c-.77-.833-1.964-.833-2.732 0L3.732 16.5c-.77.833.192 2.5 1.732 2.5z"})})}),(0,t.jsx)("p",{className:"mt-4 text-sm font-semibold uppercase tracking-wide text-rose-600 dark:text-rose-400",children:n({id:"error_500",defaultMessage:"500 Error"})}),(0,t.jsx)("p",{className:"mt-2 text-base text-slate-500 dark:text-slate-400",children:n({id:"internal_server_error_message",defaultMessage:"Sorry, something went wrong on our end. We are working to fix this."})}),e?.message&&(0,t.jsxs)("details",{className:"mt-4 text-left",children:[(0,t.jsx)("summary",{className:"cursor-pointer text-sm text-slate-600 dark:text-slate-400 hover:text-slate-800 dark:hover:text-slate-300",children:n({id:"show_error_details",defaultMessage:"Show error details"})}),(0,t.jsx)("pre",{className:"mt-2 text-xs text-slate-500 dark:text-slate-400 whitespace-pre-wrap break-all",children:e?.message})]})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-3 mt-6",children:[(0,t.jsxs)(r.default,{href:"/",className:"group relative flex w-full justify-center rounded-md border border-transparent bg-slate-800 dark:bg-slate-600 py-2 px-4 text-sm font-medium text-white hover:bg-slate-950 dark:hover:bg-slate-500 focus:outline-hidden focus:ring-2 focus:ring-slate-800 dark:focus:ring-slate-400 focus:ring-offset-2",children:[(0,t.jsx)("span",{className:"absolute inset-y-0 left-0 flex items-center pl-3",children:(0,t.jsx)("svg",{className:"h-5 w-5 text-white group-hover: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:"M9.707 16.707a1 1 0 01-1.414 0l-6-6a1 1 0 010-1.414l6-6a1 1 0 011.414 1.414L5.414 9H17a1 1 0 110 2H5.414l4.293 4.293a1 1 0 010 1.414z",clipRule:"evenodd"})})}),n({id:"back_to_home",defaultMessage:"Back to Home"})]}),l&&(0,t.jsxs)("button",{type:"button",onClick:l,className:"group relative flex w-full justify-center rounded-md border border-slate-300 bg-slate-100 dark:bg-slate-700 dark:border-slate-600 py-2 px-4 text-sm font-medium text-slate-700 dark:text-slate-300 hover:bg-slate-200 dark:hover:bg-slate-600 focus:outline-hidden focus:ring-2 focus:ring-slate-500 dark:focus:ring-slate-400 focus:ring-offset-2",children:[(0,t.jsx)("span",{className:"absolute inset-y-0 left-0 flex items-center pl-3",children:(0,t.jsx)("svg",{className:"h-5 w-5 text-slate-500 dark:text-slate-400 group-hover:text-slate-600 dark:group-hover:text-slate-300",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:"M4 2a1 1 0 011 1v2.101a7.002 7.002 0 0111.601 2.566 1 1 0 11-1.885.666A5.002 5.002 0 005.999 7H9a1 1 0 010 2H4a1 1 0 01-1-1V3a1 1 0 011-1zm.008 9.057a1 1 0 011.276.61A5.002 5.002 0 0014.001 13H11a1 1 0 110-2h5a1 1 0 011 1v5a1 1 0 11-2 0v-2.101a7.002 7.002 0 01-11.601-2.566 1 1 0 01.61-1.276z",clipRule:"evenodd"})})}),n({id:"try_again",defaultMessage:"Try Again"})]})]})]})})]})})}])},18524,e=>{"use strict";var t=e.i(69178),r=e.i(1415),s=e.i(55628);class a extends r.default.Component{constructor(e){super(e),this.state={hasError:!1,error:null}}static getDerivedStateFromError(e){return{hasError:!0,error:e}}componentDidCatch(e,t){console.error({error:e,errorInfo:t})}render(){return this.state.hasError?(0,t.jsx)(s.default,{error:this.state.error,resetError:()=>this.setState({hasError:!1,error:null})}):this.props.children}}e.s(["default",0,a])},14638,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.813 15.904 9 18.75l-.813-2.846a4.5 4.5 0 0 0-3.09-3.09L2.25 12l2.846-.813a4.5 4.5 0 0 0 3.09-3.09L9 5.25l.813 2.846a4.5 4.5 0 0 0 3.09 3.09L15.75 12l-2.846.813a4.5 4.5 0 0 0-3.09 3.09ZM18.259 8.715 18 9.75l-.259-1.035a3.375 3.375 0 0 0-2.455-2.456L14.25 6l1.036-.259a3.375 3.375 0 0 0 2.455-2.456L18 2.25l.259 1.035a3.375 3.375 0 0 0 2.456 2.456L21.75 6l-1.035.259a3.375 3.375 0 0 0-2.456 2.456ZM16.894 20.567 16.5 21.75l-.394-1.183a2.25 2.25 0 0 0-1.423-1.423L13.5 18.75l1.183-.394a2.25 2.25 0 0 0 1.423-1.423l.394-1.183.394 1.183a2.25 2.25 0 0 0 1.423 1.423l1.183.394-1.183.394a2.25 2.25 0 0 0-1.423 1.423Z"}))});e.s(["SparklesIcon",0,r],14638)},41909,e=>{"use strict";var t=e.i(1415);let r=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim(),s=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var a={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let l=(0,t.forwardRef)(({color:e="currentColor",size:s=24,strokeWidth:l=2,absoluteStrokeWidth:n,className:i="",children:o,iconNode:d,...u},c)=>(0,t.createElement)("svg",{ref:c,...a,width:s,height:s,stroke:e,strokeWidth:n?24*Number(l)/Number(s):l,className:r("lucide",i),...!o&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(u)&&{"aria-hidden":"true"},...u},[...d.map(([e,r])=>(0,t.createElement)(e,r)),...Array.isArray(o)?o:[o]])),n=(e,a)=>{let n=(0,t.forwardRef)(({className:n,...i},o)=>(0,t.createElement)(l,{ref:o,iconNode:a,className:r(`lucide-${s(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,n),...i}));return n.displayName=s(e),n};e.s(["default",()=>n],41909)},69090,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{d:"M7 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6ZM14.5 9a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5ZM1.615 16.428a1.224 1.224 0 0 1-.569-1.175 6.002 6.002 0 0 1 11.908 0c.058.467-.172.92-.57 1.174A9.953 9.953 0 0 1 7 18a9.953 9.953 0 0 1-5.385-1.572ZM14.5 16h-.106c.07-.297.088-.611.048-.933a7.47 7.47 0 0 0-1.588-3.755 4.502 4.502 0 0 1 5.874 2.636.818.818 0 0 1-.36.98A7.465 7.465 0 0 1 14.5 16Z"}))});e.s(["UsersIcon",0,r],69090)},60474,21205,e=>{"use strict";var t=e.i(71983);let r=t.gql`
|
|
130
|
+
`,d=()=>{let{data:e,loading:t,error:r}=(0,i.useQuery)(o,{fetchPolicy:"cache-first"}),{shopInfo:s}=e||{};return{shopInfo:s,defaultLocale:[s?.language?.isoCode,s?.country?.isoCode?.toUpperCase()].filter(Boolean)?.join("-"),loading:t,error:r}};e.s(["default",0,d],79174);var u=e.i(30060);let c=(0,t.createContext)(void 0);e.s(["AppContextWrapper",0,({children:e,onlyFull:n=!1})=>{let i,{languages:o}=(0,a.default)(),{locale:m}=(0,s.useIntl)(),[f,x]=(0,u.default)("selectedLocale",null),{shopInfo:h,loading:g}=d(),{countries:v}=(0,l.default)(),[p,b]=(0,t.useState)(m),w=e=>{x(e),b(e)};(0,t.useEffect)(()=>{f?b(f):g||w(`${h?.language?.isoCode}-${h?.country?.isoCode?.toUpperCase()}`)},[h,g,m]);let k=(i=[],o.forEach(({_id:e,isoCode:t})=>{i.push({_id:e,isoCode:t}),v.forEach(({isoCode:r,_id:s})=>{let a=[t,r.toUpperCase()].join("-");(e=>{try{return new Intl.DateTimeFormat(e).resolvedOptions().locale.toLowerCase()===e.toLowerCase()}catch(e){return!1}})(a)&&i.push({_id:`${s}-${e}`,isoCode:a})})}),i).filter(e=>!n||e.isoCode.includes("-")),j=!!h?.language&&!!h?.country;return(0,r.jsx)(c.Provider,{value:{selectedLocale:p,setSelectedLocale:w,languageDialectList:k,isSystemReady:j,shopInfo:h},children:e})},"default",0,c],58724),e.s(["default",0,()=>{let e=(0,t.useContext)(c);if(!e)throw Error("useLocale must be used within a LocaleProvider");return e}],81312)},47024,e=>{"use strict";var t=e.i(69178),r=e.i(1415),s=e.i(12442),a=e.i(81312);e.s(["default",0,({children:e,onlyFull:l=!1})=>{let{languageDialectList:n,selectedLocale:i,setSelectedLocale:o}=(0,a.default)(),d=(0,r.useContext)(s.FormWrapperContext),u=n.filter(e=>!l||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(),o(e.target.value)},children:u?.map(e=>(0,t.jsx)("option",{value:e.isoCode,children:e.isoCode},e._id))})}),(0,t.jsx)("div",{children:r.default.cloneElement(e)})]})}])},92699,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 12.75 6 6 9-13.5"}))});e.s(["CheckIcon",0,r],92699)},58930,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"}))});e.s(["ChevronDownIcon",0,r],58930)},47426,(e,t,r)=>{"use strict";var s=e.r(1415),a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},l=s.useSyncExternalStore,n=s.useRef,i=s.useEffect,o=s.useMemo,d=s.useDebugValue;r.useSyncExternalStoreWithSelector=function(e,t,r,s,u){var c=n(null);if(null===c.current){var m={hasValue:!1,value:null};c.current=m}else m=c.current;var f=l(e,(c=o(function(){function e(e){if(!i){if(i=!0,l=e,e=s(e),void 0!==u&&m.hasValue){var t=m.value;if(u(t,e))return n=t}return n=e}if(t=n,a(l,e))return t;var r=s(e);return void 0!==u&&u(t,r)?(l=e,t):(l=e,n=r)}var l,n,i=!1,o=void 0===r?null:r;return[function(){return e(t())},null===o?void 0:function(){return e(o())}]},[t,r,s,u]))[0],c[1]);return i(function(){m.hasValue=!0,m.value=f},[f]),d(f),f}},42806,(e,t,r)=>{"use strict";t.exports=e.r(47426)},55628,e=>{"use strict";var t=e.i(69178),r=e.i(30758),s=e.i(98183),a=e.i(12442);e.s(["default",0,({error:e=null,resetError:l=null})=>{let{formatMessage:n}=(0,s.useIntl)();return(0,t.jsx)("div",{className:"flex min-h-screen items-center justify-center py-12 px-4 sm:px-6 lg:px-8",children:(0,t.jsxs)("div",{className:"w-full max-w-md space-y-4 text-center",children:[(0,t.jsx)("div",{children:(0,t.jsx)("h2",{className:"text-center text-3xl text-slate-900 dark:text-slate-200",children:n({id:"internal_server_error",defaultMessage:"500 Internal Server Error"})})}),(0,t.jsx)(a.default,{children:(0,t.jsxs)("div",{className:"space-y-6 px-4 pb-5 pt-3 sm:rounded-lg sm:px-10",children:[(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("div",{className:"mx-auto flex h-12 w-12 items-center justify-center rounded-full bg-rose-100 dark:bg-rose-900",children:(0,t.jsx)("svg",{className:"h-6 w-6 text-rose-600 dark:text-rose-400",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-2.5L13.732 4c-.77-.833-1.964-.833-2.732 0L3.732 16.5c-.77.833.192 2.5 1.732 2.5z"})})}),(0,t.jsx)("p",{className:"mt-4 text-sm font-semibold uppercase tracking-wide text-rose-600 dark:text-rose-400",children:n({id:"error_500",defaultMessage:"500 Error"})}),(0,t.jsx)("p",{className:"mt-2 text-base text-slate-500 dark:text-slate-400",children:n({id:"internal_server_error_message",defaultMessage:"Sorry, something went wrong on our end. We are working to fix this."})}),e?.message&&(0,t.jsxs)("details",{className:"mt-4 text-left",children:[(0,t.jsx)("summary",{className:"cursor-pointer text-sm text-slate-600 dark:text-slate-400 hover:text-slate-800 dark:hover:text-slate-300",children:n({id:"show_error_details",defaultMessage:"Show error details"})}),(0,t.jsx)("pre",{className:"mt-2 text-xs text-slate-500 dark:text-slate-400 whitespace-pre-wrap break-all",children:e?.message})]})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-3 mt-6",children:[(0,t.jsxs)(r.default,{href:"/",className:"group relative flex w-full justify-center rounded-md border border-transparent bg-slate-800 dark:bg-slate-600 py-2 px-4 text-sm font-medium text-white hover:bg-slate-950 dark:hover:bg-slate-500 focus:outline-hidden focus:ring-2 focus:ring-slate-800 dark:focus:ring-slate-400 focus:ring-offset-2",children:[(0,t.jsx)("span",{className:"absolute inset-y-0 left-0 flex items-center pl-3",children:(0,t.jsx)("svg",{className:"h-5 w-5 text-white group-hover: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:"M9.707 16.707a1 1 0 01-1.414 0l-6-6a1 1 0 010-1.414l6-6a1 1 0 011.414 1.414L5.414 9H17a1 1 0 110 2H5.414l4.293 4.293a1 1 0 010 1.414z",clipRule:"evenodd"})})}),n({id:"back_to_home",defaultMessage:"Back to Home"})]}),l&&(0,t.jsxs)("button",{type:"button",onClick:l,className:"group relative flex w-full justify-center rounded-md border border-slate-300 bg-slate-100 dark:bg-slate-700 dark:border-slate-600 py-2 px-4 text-sm font-medium text-slate-700 dark:text-slate-300 hover:bg-slate-200 dark:hover:bg-slate-600 focus:outline-hidden focus:ring-2 focus:ring-slate-500 dark:focus:ring-slate-400 focus:ring-offset-2",children:[(0,t.jsx)("span",{className:"absolute inset-y-0 left-0 flex items-center pl-3",children:(0,t.jsx)("svg",{className:"h-5 w-5 text-slate-500 dark:text-slate-400 group-hover:text-slate-600 dark:group-hover:text-slate-300",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:"M4 2a1 1 0 011 1v2.101a7.002 7.002 0 0111.601 2.566 1 1 0 11-1.885.666A5.002 5.002 0 005.999 7H9a1 1 0 010 2H4a1 1 0 01-1-1V3a1 1 0 011-1zm.008 9.057a1 1 0 011.276.61A5.002 5.002 0 0014.001 13H11a1 1 0 110-2h5a1 1 0 011 1v5a1 1 0 11-2 0v-2.101a7.002 7.002 0 01-11.601-2.566 1 1 0 01.61-1.276z",clipRule:"evenodd"})})}),n({id:"try_again",defaultMessage:"Try Again"})]})]})]})})]})})}])},18524,e=>{"use strict";var t=e.i(69178),r=e.i(1415),s=e.i(55628);class a extends r.default.Component{constructor(e){super(e),this.state={hasError:!1,error:null}}static getDerivedStateFromError(e){return{hasError:!0,error:e}}componentDidCatch(e,t){console.error({error:e,errorInfo:t})}render(){return this.state.hasError?(0,t.jsx)(s.default,{error:this.state.error,resetError:()=>this.setState({hasError:!1,error:null})}):this.props.children}}e.s(["default",0,a])},14638,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.813 15.904 9 18.75l-.813-2.846a4.5 4.5 0 0 0-3.09-3.09L2.25 12l2.846-.813a4.5 4.5 0 0 0 3.09-3.09L9 5.25l.813 2.846a4.5 4.5 0 0 0 3.09 3.09L15.75 12l-2.846.813a4.5 4.5 0 0 0-3.09 3.09ZM18.259 8.715 18 9.75l-.259-1.035a3.375 3.375 0 0 0-2.455-2.456L14.25 6l1.036-.259a3.375 3.375 0 0 0 2.455-2.456L18 2.25l.259 1.035a3.375 3.375 0 0 0 2.456 2.456L21.75 6l-1.035.259a3.375 3.375 0 0 0-2.456 2.456ZM16.894 20.567 16.5 21.75l-.394-1.183a2.25 2.25 0 0 0-1.423-1.423L13.5 18.75l1.183-.394a2.25 2.25 0 0 0 1.423-1.423l.394-1.183.394 1.183a2.25 2.25 0 0 0 1.423 1.423l1.183.394-1.183.394a2.25 2.25 0 0 0-1.423 1.423Z"}))});e.s(["SparklesIcon",0,r],14638)},60474,21205,e=>{"use strict";var t=e.i(71983);let r=t.gql`
|
|
131
131
|
fragment ProductDetailFragment on Product {
|
|
132
132
|
_id
|
|
133
133
|
sequence
|
|
@@ -221,4 +221,4 @@
|
|
|
221
221
|
}
|
|
222
222
|
${s.default}
|
|
223
223
|
${a.default}
|
|
224
|
-
`;e.s(["default",0,()=>{let[e,{data:t,error:s,loading:a}]=(0,r.useMutation)(l);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}}])},90641,(e,t,r)=>{let s="/products/ProductDetailPage";(window.__NEXT_P=window.__NEXT_P||[]).push([s,()=>e.r(98445)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([s])})},8233,e=>{e.v(t=>Promise.all(["static/chunks/
|
|
224
|
+
`;e.s(["default",0,()=>{let[e,{data:t,error:s,loading:a}]=(0,r.useMutation)(l);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}}])},41909,e=>{"use strict";var t=e.i(1415);let r=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim(),s=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var a={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let l=(0,t.createContext)({}),n=(0,t.forwardRef)(({color:e,size:s,strokeWidth:n,absoluteStrokeWidth:i,className:o="",children:d,iconNode:u,...c},m)=>{let{size:f=24,strokeWidth:x=2,absoluteStrokeWidth:h=!1,color:g="currentColor",className:v=""}=(0,t.useContext)(l)??{},p=i??h?24*Number(n??x)/Number(s??f):n??x;return(0,t.createElement)("svg",{ref:m,...a,width:s??f??a.width,height:s??f??a.height,stroke:e??g,strokeWidth:p,className:r("lucide",v,o),...!d&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(c)&&{"aria-hidden":"true"},...c},[...u.map(([e,r])=>(0,t.createElement)(e,r)),...Array.isArray(d)?d:[d]])});e.s(["default",0,(e,a)=>{let l=(0,t.forwardRef)(({className:l,...i},o)=>(0,t.createElement)(n,{ref:o,iconNode:a,className:r(`lucide-${s(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,l),...i}));return l.displayName=s(e),l}],41909)},69090,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{d:"M7 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6ZM14.5 9a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5ZM1.615 16.428a1.224 1.224 0 0 1-.569-1.175 6.002 6.002 0 0 1 11.908 0c.058.467-.172.92-.57 1.174A9.953 9.953 0 0 1 7 18a9.953 9.953 0 0 1-5.385-1.572ZM14.5 16h-.106c.07-.297.088-.611.048-.933a7.47 7.47 0 0 0-1.588-3.755 4.502 4.502 0 0 1 5.874 2.636.818.818 0 0 1-.36.98A7.465 7.465 0 0 1 14.5 16Z"}))});e.s(["UsersIcon",0,r],69090)},90641,(e,t,r)=>{let s="/products/ProductDetailPage";(window.__NEXT_P=window.__NEXT_P||[]).push([s,()=>e.r(98445)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([s])})},8233,e=>{e.v(t=>Promise.all(["static/chunks/0i.xcdg6xys-l.js"].map(t=>e.l(t))).then(()=>t(64324)))},69209,e=>{e.v(t=>Promise.all(["static/chunks/0.qq-wh2-26q3.js"].map(t=>e.l(t))).then(()=>t(3506)))}]);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,28156,e=>{"use strict";var s=e.i(69178),t=e.i(1415),a=e.i(70882);let r=(e,s="")=>Object.fromEntries(Object.entries(e).reduce((e=[],[a,l])=>"string"==typeof l||t.default.isValidElement(l)?[...e,[`${s}${a}`,l]]:[...Object.entries(r(Object.assign({},...l),`${s}${a}.`)),...e],[])),l=({submitError:e="",fieldErrors:a=[]})=>(0,s.jsx)("div",{className:"my-2 mb-5 text-rose-700",children:(0,s.jsxs)("ul",{className:"space-y-1",children:[e&&(0,s.jsx)("li",{className:"disabled",children:(0,s.jsx)("span",{dangerouslySetInnerHTML:{__html:e}})},"submitError"),Object.entries(r(a)).map(([e,a])=>(0,s.jsx)("li",{className:"disabled",children:(0,s.jsx)("button",{type:"button",className:"no-button text-rose-600 dark:text-rose-400","aria-label":"Error button",onClick:()=>{let s=document.getElementById(e);s&&s.focus()},children:t.default.isValidElement(a)?a:(0,s.jsx)("span",{dangerouslySetInnerHTML:{__html:a}})})},e))]})});e.s(["default",0,({displayFieldErrors:e=!1})=>{let{submitError:t,formik:r}=(0,a.default)(),i=r?.errors;return(t||e)&&(0,s.jsx)(l,{submitError:t,fieldErrors:e&&i})}])},97946,e=>{"use strict";var s=e.i(69178),t=e.i(13071),a=e.i(1415),r=e.i(68686);e.s(["default",0,({autoComplete:e="on",...l})=>{let[i,d]=(0,a.useState)(!1),n=e=>{e.preventDefault(),d(!i)};return(0,s.jsxs)("div",{className:(0,t.default)("relative",l.className),children:[(0,s.jsx)(r.default,{autoComplete:e||"on",name:"password",...l,type:i?"text":"password"}),(0,s.jsx)("span",{role:"button",tabIndex:-1,"aria-label":"toggle password visibility",className:"absolute translate-y-[-137%] outline-hidden block right-3",onClick:n,onKeyUp:n,children:i?(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6 stroke-slate-700",fill:"none",viewBox:"0 0 24 24",children:[(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"}),(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"})]}):(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6 stroke-slate-700",fill:"none",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M13.875 18.825A10.05 10.05 0 0112 19c-4.478 0-8.268-2.943-9.543-7a9.97 9.97 0 011.563-3.029m5.858.908a3 3 0 114.243 4.243M9.878 9.878l4.242 4.242M9.88 9.88l-3.29-3.29m7.532 7.532l3.29 3.29M3 3l3.59 3.59m0 0A9.953 9.953 0 0112 5c4.478 0 8.268 2.943 9.543 7a10.025 10.025 0 01-4.132 5.411m0 0L21 21"})})})]})}])},40638,e=>{"use strict";e.i(27999);var s=e.i(69178),t=e.i(49061),a=e.i(98183),r=e.i(29252),l=e.i(62010),i=e.i(28156),d=e.i(97946),n=e.i(23518),o=e.i(5641);let c=({onSubmit:e,onSubmitSuccess:t=()=>!0})=>{let{formatMessage:r}=(0,a.useIntl)(),c=(0,o.default)({submit:e,onSubmitSuccess:t,getSubmitErrorMessage:e=>e?.message?.toLowerCase().includes("link expired")?r({id:"reset_token_expired",defaultMessage:"Token link invalid or has expired"}):"",validate:({newPassword:e,confirmPassword:s})=>e!==s?{misMatchError:r({id:"password_mismatch",defaultMessage:"Password fields don't match"})}:{},initialValues:{newPassword:"",confirmPassword:""}});return(0,s.jsxs)(l.default,{form:c,children:[(0,s.jsx)("div",{children:(0,s.jsx)(d.default,{required:!0,name:"newPassword",id:"new-password",placeholder:r({id:"new_password",defaultMessage:"New password"}),label:r({id:"new_password",defaultMessage:"New password"})})}),(0,s.jsx)("div",{children:(0,s.jsx)(d.default,{required:!0,name:"confirmPassword",id:"confirm-password",placeholder:r({id:"confirm_password",defaultMessage:"Confirm password"}),label:r({id:"confirm_password",defaultMessage:"Confirm password"})})}),(0,s.jsx)("div",{className:"p-3 pl-0 text-left ",children:(0,s.jsx)(i.default,{displayFieldErrors:!0})}),(0,s.jsx)(n.default,{label:r({id:"rest_password",defaultMessage:"Reset password"})})]})};var u=e.i(71983),x=e.i(13699);let h=u.gql`
|
|
2
|
+
query ValidateResetPasswordToken($token: String!) {
|
|
3
|
+
validateResetPasswordToken(token: $token)
|
|
4
|
+
}
|
|
5
|
+
`;var m=e.i(13686);let w=u.gql`
|
|
6
|
+
mutation ResetPassword($newPlainPassword: String!, $token: String!) {
|
|
7
|
+
resetPassword(newPassword: $newPlainPassword, token: $token) {
|
|
8
|
+
_id
|
|
9
|
+
tokenExpires
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
`;var f=e.i(30758),p=e.i(51443),g=e.i(12442),j=e.i(53041);let k=()=>{let{query:e,push:l}=(0,t.useRouter)(),{formatMessage:i}=(0,a.useIntl)(),{resetPassword:d}=(()=>{let[e,{client:s}]=(0,m.useMutation)(w);return{resetPassword:async({newPlainPassword:t,token:a})=>{let r={token:a,newPlainPassword:null};r.newPlainPassword=t;let l=await e({variables:r,awaitRefetchQueries:!0});return await s.resetStore(),l}}})(),{token:n}=e,{isValid:o,loading:u}=(({token:e})=>{let{data:s,loading:t,error:a,previousData:r}=(0,x.useQuery)(h,{skip:!e,variables:{token:e},fetchPolicy:"network-only"});return{loading:t,error:a,isValid:r?.validateResetPasswordToken||s?.validateResetPasswordToken}})({token:n}),k=async e=>{let{newPassword:s}=e;return{success:!0,data:await d({newPlainPassword:s,token:n})}};return u||"boolean"!=typeof o?(0,s.jsx)(p.default,{}):o?(0,s.jsx)("div",{className:"flex min-h-screen items-center justify-center py-12 px-4 sm:px-6 lg:px-8",children:(0,s.jsxs)("div",{className:"w-full max-w-md space-y-4 text-center",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("h2",{className:"text-center text-3xl text-slate-900 dark:text-slate-200",children:i({id:"reset_password",defaultMessage:"Reset Password"})}),(0,s.jsx)("p",{className:"mt-2 text-sm text-slate-600 dark:text-slate-400",children:i({id:"reset_password_header_description",defaultMessage:"Enter your new password and make sure you don't forget it this time."})})]}),(0,s.jsx)(c,{onSubmit:k,onSubmitSuccess:()=>(r.toast.success(i({id:"password_changed_success",defaultMessage:"Password changed successfully."})),l("/"),!0)}),(0,s.jsx)("div",{className:"flex justify-center dark:brightness-0 dark:invert",children:(0,s.jsx)(j.default,{src:"/logo-light.svg",width:60,height:37,alt:i({id:"unchained_logo",defaultMessage:"Unchained Logo"})})})]})}):(0,s.jsx)("div",{className:"flex min-h-screen items-center justify-center py-12 px-4 sm:px-6 lg:px-8",children:(0,s.jsxs)("div",{className:"w-full max-w-md space-y-4 text-center",children:[(0,s.jsx)("div",{children:(0,s.jsx)("h2",{className:"text-center text-3xl text-slate-900 dark:text-slate-200",children:i({id:"reset_token_error",defaultMessage:"Reset Token Error"})})}),(0,s.jsx)(g.default,{children:(0,s.jsxs)("div",{className:"space-y-6 px-4 pb-5 pt-3 sm:rounded-lg sm:px-10",children:[(0,s.jsxs)("div",{className:"text-center",children:[(0,s.jsx)("div",{className:"mx-auto flex h-12 w-12 items-center justify-center rounded-full bg-rose-100 dark:bg-rose-900",children:(0,s.jsx)("svg",{className:"h-6 w-6 text-rose-600 dark:text-rose-400",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z"})})}),(0,s.jsx)("p",{className:"mt-4 text-sm font-semibold uppercase tracking-wide text-rose-600 dark:text-rose-400",children:i({id:"token_invalid_expired",defaultMessage:"Token Invalid/Expired"})}),(0,s.jsx)("p",{className:"mt-2 text-base text-slate-500 dark:text-slate-400",children:i({id:"reset_token_invalid_warning",defaultMessage:"The reset token is either invalid or expired."})}),(0,s.jsx)("p",{className:"mt-2 text-sm text-slate-400 dark:text-slate-500",children:i({id:"use_latest_reset_link",defaultMessage:"Please use the latest reset link sent to your email or request a new one."})})]}),(0,s.jsxs)("div",{className:"flex flex-col gap-3 mt-6",children:[(0,s.jsxs)(f.default,{href:"/account/forgot-password",className:"group relative flex w-full justify-center rounded-md border border-transparent bg-slate-800 dark:bg-slate-600 py-2 px-4 text-sm font-medium text-white hover:bg-slate-950 dark:hover:bg-slate-500 focus:outline-hidden focus:ring-2 focus:ring-slate-800 dark:focus:ring-slate-400 focus:ring-offset-2",children:[(0,s.jsx)("span",{className:"absolute inset-y-0 left-0 flex items-center pl-3",children:(0,s.jsx)("svg",{className:"h-5 w-5 text-white group-hover:text-slate-200",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M2.94 6.412A2 2 0 002 8.108V16a2 2 0 002 2h12a2 2 0 002-2V8.108a2 2 0 00-.94-1.696l-6-3.75a2 2 0 00-2.12 0l-6 3.75zm2.615 2.423a1 1 0 10-1.11 1.664l5 3.333a1 1 0 001.11 0l5-3.333a1 1 0 00-1.11-1.664L10 11.798 5.555 8.835z",clipRule:"evenodd"})})}),i({id:"request_new_reset_link",defaultMessage:"Request New Reset Link"})]}),(0,s.jsxs)(f.default,{href:"/",className:"group relative flex w-full justify-center rounded-md border border-slate-300 bg-slate-100 dark:bg-slate-700 dark:border-slate-600 py-2 px-4 text-sm font-medium text-slate-700 dark:text-slate-300 hover:bg-slate-200 dark:hover:bg-slate-600 focus:outline-hidden focus:ring-2 focus:ring-slate-500 dark:focus:ring-slate-400 focus:ring-offset-2",children:[(0,s.jsx)("span",{className:"absolute inset-y-0 left-0 flex items-center pl-3",children:(0,s.jsx)("svg",{className:"h-5 w-5 text-slate-500 dark:text-slate-400 group-hover:text-slate-600 dark:group-hover:text-slate-300",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M9.707 16.707a1 1 0 01-1.414 0l-6-6a1 1 0 010-1.414l6-6a1 1 0 011.414 1.414L5.414 9H17a1 1 0 110 2H5.414l4.293 4.293a1 1 0 010 1.414z",clipRule:"evenodd"})})}),i({id:"back_to_home",defaultMessage:"Back to Home"})]})]})]})}),(0,s.jsx)("div",{className:"flex justify-center dark:brightness-0 dark:invert",children:(0,s.jsx)(j.default,{src:"/logo-light.svg",width:60,height:37,alt:i({id:"unchained_logo",defaultMessage:"Unchained Logo"})})})]})})};k.getLayout=e=>e,e.s(["default",0,k],40638)},68236,(e,s,t)=>{let a="/reset-password";(window.__NEXT_P=window.__NEXT_P||[]).push([a,()=>e.r(40638)]),s.hot&&s.hot.dispose(function(){window.__NEXT_P.push([a])})},8233,e=>{e.v(s=>Promise.all(["static/chunks/0i.xcdg6xys-l.js"].map(s=>e.l(s))).then(()=>s(64324)))},69209,e=>{e.v(s=>Promise.all(["static/chunks/0.qq-wh2-26q3.js"].map(s=>e.l(s))).then(()=>s(3506)))}]);
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
__turbopack_load_page_chunks__("/users/UserDetailPage", [
|
|
2
|
+
"static/chunks/06em3notkoupj.js",
|
|
3
|
+
"static/chunks/04j3vrvch7ujx.js",
|
|
4
|
+
"static/chunks/14tbg01czewdy.js",
|
|
5
|
+
"static/chunks/0s8kpaa2at0vl.js",
|
|
6
|
+
"static/chunks/046~w9shfdja6.js",
|
|
7
|
+
"static/chunks/0o~whquist5u6.js",
|
|
8
|
+
"static/chunks/02ljwx.y7xl4e.js",
|
|
9
|
+
"static/chunks/0on_9mgul7_i2.js",
|
|
10
|
+
"static/chunks/09.xyqg-s5.hj.js",
|
|
11
|
+
"static/chunks/15r--ckscx-95.js",
|
|
12
|
+
"static/chunks/0wbeo27c~tc9b.js",
|
|
13
|
+
"static/chunks/12e_gn-hj1ad4.js",
|
|
14
|
+
"static/chunks/181fxym9wgh_m.js",
|
|
15
|
+
"static/chunks/07_4agv0uff.h.js",
|
|
16
|
+
"static/chunks/0dqc2kv2x_nk4.js",
|
|
17
|
+
"static/chunks/0whq69wyy9mrh.js",
|
|
18
|
+
"static/chunks/0fiu9kb2mg_pe.js",
|
|
19
|
+
"static/chunks/turbopack-0h~2bok-wm5el.js"
|
|
20
|
+
])
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
__turbopack_load_page_chunks__("/delivery-provider/new", [
|
|
2
|
+
"static/chunks/11sml2nj796.7.js",
|
|
3
|
+
"static/chunks/04j3vrvch7ujx.js",
|
|
4
|
+
"static/chunks/046~w9shfdja6.js",
|
|
5
|
+
"static/chunks/0dqc2kv2x_nk4.js",
|
|
6
|
+
"static/chunks/14e4xylnze3x2.js",
|
|
7
|
+
"static/chunks/07_4agv0uff.h.js",
|
|
8
|
+
"static/chunks/12e_gn-hj1ad4.js",
|
|
9
|
+
"static/chunks/0_bohk37n03zc.js",
|
|
10
|
+
"static/chunks/181fxym9wgh_m.js",
|
|
11
|
+
"static/chunks/01.ky4xf9k36u.js",
|
|
12
|
+
"static/chunks/turbopack-09_6at5p3-m0a.js"
|
|
13
|
+
])
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
__turbopack_load_page_chunks__("/country/new", [
|
|
2
|
+
"static/chunks/0_0s9kzhzuc0n.js",
|
|
3
|
+
"static/chunks/04j3vrvch7ujx.js",
|
|
4
|
+
"static/chunks/046~w9shfdja6.js",
|
|
5
|
+
"static/chunks/0dqc2kv2x_nk4.js",
|
|
6
|
+
"static/chunks/14e4xylnze3x2.js",
|
|
7
|
+
"static/chunks/12e_gn-hj1ad4.js",
|
|
8
|
+
"static/chunks/181fxym9wgh_m.js",
|
|
9
|
+
"static/chunks/07_4agv0uff.h.js",
|
|
10
|
+
"static/chunks/0wbeo27c~tc9b.js",
|
|
11
|
+
"static/chunks/01.ky4xf9k36u.js",
|
|
12
|
+
"static/chunks/turbopack-0ponmw3--k_oh.js"
|
|
13
|
+
])
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
__turbopack_load_page_chunks__("/verify-email", [
|
|
2
|
+
"static/chunks/0zhqlp5hndrqa.js",
|
|
3
|
+
"static/chunks/181fxym9wgh_m.js",
|
|
4
|
+
"static/chunks/0ehfzo.p_8b1p.js",
|
|
5
|
+
"static/chunks/12e_gn-hj1ad4.js",
|
|
6
|
+
"static/chunks/07_4agv0uff.h.js",
|
|
7
|
+
"static/chunks/0_bohk37n03zc.js",
|
|
8
|
+
"static/chunks/046~w9shfdja6.js",
|
|
9
|
+
"static/chunks/turbopack-1345bgc2qli-k.js"
|
|
10
|
+
])
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,28156,e=>{"use strict";var r=e.i(69178),t=e.i(1415),a=e.i(70882);let o=(e,r="")=>Object.fromEntries(Object.entries(e).reduce((e=[],[a,l])=>"string"==typeof l||t.default.isValidElement(l)?[...e,[`${r}${a}`,l]]:[...Object.entries(o(Object.assign({},...l),`${r}${a}.`)),...e],[])),l=({submitError:e="",fieldErrors:a=[]})=>(0,r.jsx)("div",{className:"my-2 mb-5 text-rose-700",children:(0,r.jsxs)("ul",{className:"space-y-1",children:[e&&(0,r.jsx)("li",{className:"disabled",children:(0,r.jsx)("span",{dangerouslySetInnerHTML:{__html:e}})},"submitError"),Object.entries(o(a)).map(([e,a])=>(0,r.jsx)("li",{className:"disabled",children:(0,r.jsx)("button",{type:"button",className:"no-button text-rose-600 dark:text-rose-400","aria-label":"Error button",onClick:()=>{let r=document.getElementById(e);r&&r.focus()},children:t.default.isValidElement(a)?a:(0,r.jsx)("span",{dangerouslySetInnerHTML:{__html:a}})})},e))]})});e.s(["default",0,({displayFieldErrors:e=!1})=>{let{submitError:t,formik:o}=(0,a.default)(),d=o?.errors;return(t||e)&&(0,r.jsx)(l,{submitError:t,fieldErrors:e&&d})}])},12442,e=>{"use strict";var r=e.i(69178),t=e.i(1415),a=e.i(13071);let o=(0,t.createContext)(!1);e.s(["FormWrapperContext",0,o,"default",0,({children:e,className:t=""})=>(0,r.jsx)(o.Provider,{value:!0,children:(0,r.jsx)("div",{className:"sm:max-w-full",children:(0,r.jsx)("div",{className:(0,a.default)("bg-white dark:bg-slate-800 rounded-md shadow-sm overflow-hidden",t),children:e})})})])},68686,e=>{"use strict";var r=e.i(69178),t=e.i(13071),a=e.i(19892),o=e.i(4142),l=e.i(88500);e.s(["default",0,({maxLength:e=0,validators:d=[],...s})=>{let n=(0,o.default)({validators:[...d,e&&(0,a.validateMaxLength)(e)],...s});return(0,r.jsx)(l.default,{...n,children:(0,r.jsx)("input",{className:(0,t.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})})}])},62458,e=>{"use strict";var r=e.i(69178),t=e.i(13071),a=e.i(49061),o=e.i(81907);e.s(["default",0,({toggleText:e="",toggleKey:l=null,onToggle:d=null,active:s=!1,className:n="",disabled:i=!1,...b})=>{let g=(0,a.useRouter)(),u=g?.query?.[l]==="true"||s;return(0,r.jsxs)("div",{className:(0,t.default)("",n),children:[(0,r.jsxs)("button",{id:l,disabled:i,type:"button",className:(0,t.default)("relative inline-flex h-3.5 w-9 shrink-0 cursor-pointer rounded-full border-1 border-transparent transition-all duration-200 ease-in-out focus:outline-hidden focus:ring-2 focus:ring-slate-400 focus:ring-offset-2",{"bg-slate-200 dark:bg-slate-700":!u,"bg-emerald-500 dark:bg-emerald-600 shadow-sm":u}),role:"switch",onClick:d||(()=>{let{skip:e,...r}=g.query;g.push({query:(0,o.normalizeQuery)(r,!u,l)})}),"aria-checked":u?"true":"false",...b,children:[(0,r.jsx)("span",{className:"sr-only",children:e}),(0,r.jsxs)("span",{className:(0,t.default)("ml-0.5 pointer-events-none relative inline-block h-3 w-3 transform rounded-full bg-white shadow-sm ring-0 transition-all duration-200 ease-in-out",{"translate-x-5 shadow-md":u,"translate-x-0":!u}),children:[(0,r.jsx)("span",{className:(0,t.default)("absolute inset-0 flex h-full w-full items-center justify-center transition-opacity",{"opacity-0 duration-100 ease-out":u,"opacity-100 duration-200 ease-in":!u}),"aria-hidden":"true",children:(0,r.jsx)("svg",{className:"h-3 w-3 text-slate-400",fill:"none",viewBox:"0 0 12 12",children:(0,r.jsx)("path",{d:"M4 8l2-2m0 0l2-2M6 6L4 4m2 2l2 2",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,r.jsx)("span",{className:(0,t.default)("absolute inset-0 flex h-full w-full items-center justify-center transition-opacity",{"opacity-100 duration-200 ease-in":u,"opacity-0 duration-100 ease-out":!u}),"aria-hidden":"true",children:(0,r.jsx)("svg",{className:"h-3 w-3 text-emerald-500",fill:"currentColor",viewBox:"0 0 12 12",children:(0,r.jsx)("path",{d:"M3.707 5.293a1 1 0 00-1.414 1.414l1.414-1.414zM5 8l-.707.707a1 1 0 001.414 0L5 8zm4.707-3.293a1 1 0 00-1.414-1.414l1.414 1.414zm-7.414 2l2 2 1.414-1.414-2-2-1.414 1.414zm3.414 2l4-4-1.414-1.414-4 4 1.414 1.414z"})})})]})]}),(0,r.jsx)("span",{className:"ml-3",id:"annual-billing-label",children:(0,r.jsx)("span",{className:"text-sm font-medium text-slate-900 dark:text-slate-200",children:e})})]})}])},81907,e=>{"use strict";let r=e=>e&&e?.split(",").reduce((e,r)=>{let[t=null,a=null]=(r||"")?.split("_")||[];return{...e,[t]:a}},null)||{};e.s(["classNames",0,(...e)=>e.filter(Boolean).join(" "),"convertSortFieldsToQueryFormat",0,e=>Object.entries(r(e))?.map(([e,r])=>({key:e,value:r})),"getInterfaceLabel",0,e=>e?.label&&e?.version?`${e.label} ${e.version}`:"","getSortKeys",0,r,"normalizeCountryISOCode",0,(e,r,t=!0)=>{if(!r)return"";try{return`${new Intl.DisplayNames([e],{type:"region"}).of(r)} ${t?`(${r})`:""}`}catch{return r}},"normalizeCurrencyISOCode",0,(e,r,t=!0)=>{if(!r)return"";try{return`${new Intl.DisplayNames([e],{type:"currency"}).of(r)} ${t?`(${r})`:""}`}catch{return r}},"normalizeLanguageISOCode",0,(e,r,t=!0)=>{if(!r)return"";try{return`${new Intl.DisplayNames([e],{type:"language"}).of(r)} ${t?`(${r})`:""}`}catch{return r}},"normalizeQuery",0,(e,r,t)=>{let a;return a=t?{...e,[t]:r}:e,Object.keys(a)?.map(e=>[e,a[e]].join("="))?.join("&")},"useFormatPrice",0,()=>({formatPrice:e=>{if(!e?.currencyCode)return"n/a";if(e?.amount===void 0||e?.amount===null)return"";let{amount:r,currencyCode:t}=e||{};return new Intl.NumberFormat(navigator.language,{style:"currency",currency:t}).format(r/100)}})])},39381,e=>{"use strict";let r={red:{bg:{50:"bg-rose-50 dark:bg-rose-900/20",100:"bg-rose-100 dark:bg-rose-900/30",200:"bg-rose-200",300:"bg-rose-300 dark:bg-rose-900/30",400:"bg-rose-400",500:"bg-rose-500",600:"bg-rose-600",700:"bg-rose-700",800:"bg-rose-800",900:"bg-rose-900"},text:{50:"text-rose-50",100:"text-rose-100",200:"text-rose-200",300:"text-rose-300",400:"text-rose-400 dark:text-rose-300",500:"text-rose-500",600:"text-rose-600 dark:text-rose-400",700:"text-rose-700 dark:text-rose-300",800:"text-rose-800 dark:text-rose-200",900:"text-rose-900"},border:{50:"border-rose-50",100:"border-rose-100",200:"border-rose-200 dark:border-rose-800",300:"border-rose-300 dark:border-rose-700",400:"border-rose-400 dark:border-rose-600",500:"border-rose-500",600:"border-rose-600",700:"border-rose-700",800:"border-rose-800",900:"border-rose-900"}},pink:{bg:{50:"bg-pink-50",100:"bg-pink-100",200:"bg-pink-200",300:"bg-pink-300",400:"bg-pink-400",500:"bg-pink-500",600:"bg-pink-600",700:"bg-pink-700",800:"bg-pink-800",900:"bg-pink-900"},text:{50:"text-pink-50",100:"text-pink-100",200:"text-pink-200",300:"text-pink-300",400:"text-pink-400",500:"text-pink-500",600:"text-pink-600",700:"text-pink-700",800:"text-pink-800",900:"text-pink-900"},border:{50:"border-pink-50",100:"border-pink-100",200:"border-pink-200",300:"border-pink-300",400:"border-pink-400",500:"border-pink-500",600:"border-pink-600",700:"border-pink-700",800:"border-pink-800",900:"border-pink-900"}},purple:{bg:{50:"bg-purple-50 dark:bg-purple-900/20",100:"bg-purple-100 dark:bg-purple-900/30",200:"bg-purple-200",300:"bg-purple-300",400:"bg-purple-400",500:"bg-purple-500",600:"bg-purple-600",700:"bg-purple-700",800:"bg-purple-800",900:"bg-purple-900"},text:{50:"text-purple-50",100:"text-purple-100",200:"text-purple-200",300:"text-purple-300",400:"text-purple-400 dark:text-purple-300",500:"text-purple-500",600:"text-purple-600 dark:text-purple-400",700:"text-purple-700",800:"text-purple-800 dark:text-purple-300",900:"text-purple-900"},border:{50:"border-purple-50",100:"border-purple-100",200:"border-purple-200 dark:border-purple-600",300:"border-purple-300 dark:border-purple-500",400:"border-purple-400 dark:border-purple-500",500:"border-purple-500",600:"border-purple-600",700:"border-purple-700",800:"border-purple-800",900:"border-purple-900"}},"deep-purple":{bg:{50:"bg-deep-purple-50",100:"bg-deep-purple-100",200:"bg-deep-purple-200",300:"bg-deep-purple-300",400:"bg-deep-purple-400",500:"bg-deep-purple-500",600:"bg-deep-purple-600",700:"bg-deep-purple-700",800:"bg-deep-purple-800",900:"bg-deep-purple-900"},text:{50:"text-deep-purple-50",100:"text-deep-purple-100",200:"text-deep-purple-200",300:"text-deep-purple-300",400:"text-deep-purple-400",500:"text-deep-purple-500",600:"text-deep-purple-600",700:"text-deep-purple-700",800:"text-deep-purple-800",900:"text-deep-purple-900"},border:{50:"border-deep-purple-50",100:"border-deep-purple-100",200:"border-deep-purple-200",300:"border-deep-purple-300",400:"border-deep-purple-400",500:"border-deep-purple-500",600:"border-deep-purple-600",700:"border-deep-purple-700",800:"border-deep-purple-800",900:"border-deep-purple-900"}},blue:{bg:{50:"bg-sky-50 dark:bg-sky-900/20",100:"bg-sky-100 dark:bg-sky-900/30",200:"bg-sky-200",300:"bg-sky-300",400:"bg-sky-400",500:"bg-sky-500",600:"bg-sky-600",700:"bg-sky-700",800:"bg-sky-800",900:"bg-sky-900"},text:{50:"text-sky-50",100:"text-sky-100",200:"text-sky-200",300:"text-sky-300",400:"text-sky-400 dark:text-sky-300",500:"text-sky-500",600:"text-sky-600 dark:text-sky-400",700:"text-sky-700 dark:text-sky-300",800:"text-sky-800 dark:text-sky-200",900:"text-sky-900"},border:{50:"border-sky-50",100:"border-sky-100",200:"border-sky-200 dark:border-sky-800",300:"border-sky-300 dark:border-sky-700",400:"border-sky-400 dark:border-sky-600",500:"border-sky-500",600:"border-sky-600",700:"border-sky-700",800:"border-sky-800",900:"border-sky-900"}},"light-blue":{bg:{50:"bg-sky-50",100:"bg-sky-100",200:"bg-sky-200",300:"bg-sky-300",400:"bg-sky-400",500:"bg-sky-500",600:"bg-sky-600",700:"bg-sky-700",800:"bg-sky-800",900:"bg-sky-900"},text:{50:"text-sky-50",100:"text-sky-100",200:"text-sky-200",300:"text-sky-300",400:"text-sky-400",500:"text-sky-500",600:"text-sky-600",700:"text-sky-700",800:"text-sky-800",900:"text-sky-900"},border:{50:"border-sky-50",100:"border-sky-100",200:"border-sky-200",300:"border-sky-300",400:"border-sky-400",500:"border-sky-500",600:"border-sky-600",700:"border-sky-700",800:"border-sky-800",900:"border-sky-900"}},indigo:{bg:{50:"bg-indigo-50",100:"bg-indigo-100",200:"bg-indigo-200",300:"bg-indigo-300",400:"bg-indigo-400",500:"bg-indigo-500",600:"bg-indigo-600",700:"bg-indigo-700",800:"bg-indigo-800",900:"bg-indigo-900"},text:{50:"text-indigo-50",100:"text-indigo-100",200:"text-indigo-200",300:"text-indigo-300",400:"text-indigo-400",500:"text-indigo-500",600:"text-indigo-600",700:"text-indigo-700",800:"text-indigo-800",900:"text-indigo-900"},border:{50:"border-indigo-50",100:"border-indigo-100",200:"border-indigo-200",300:"border-indigo-300",400:"border-indigo-400",500:"border-indigo-500",600:"border-indigo-600",700:"border-indigo-700",800:"border-indigo-800",900:"border-indigo-900"}},cyan:{bg:{50:"bg-cyan-50 dark:bg-cyan-900/20",100:"bg-cyan-100 dark:bg-cyan-900/30",200:"bg-cyan-200",300:"bg-cyan-300",400:"bg-cyan-400",500:"bg-cyan-500",600:"bg-cyan-600",700:"bg-cyan-700",800:"bg-cyan-800",900:"bg-cyan-900"},text:{50:"text-cyan-50",100:"text-cyan-100",200:"text-cyan-200",300:"text-cyan-300",400:"text-cyan-400 dark:text-cyan-300",500:"text-cyan-500",600:"text-cyan-600 dark:text-cyan-400",700:"text-cyan-700 dark:text-cyan-300",800:"text-cyan-800 dark:text-cyan-200",900:"text-cyan-900"},border:{50:"border-cyan-50",100:"border-cyan-100",200:"border-cyan-200 dark:border-cyan-800",300:"border-cyan-300 dark:border-cyan-700",400:"border-cyan-400 dark:border-cyan-600",500:"border-cyan-500",600:"border-cyan-600",700:"border-cyan-700",800:"border-cyan-800",900:"border-cyan-900"}},teal:{bg:{50:"bg-teal-50 dark:bg-teal-900/20",100:"bg-teal-100 dark:bg-teal-900/30",200:"bg-teal-200",300:"bg-teal-300",400:"bg-teal-400",500:"bg-teal-500",600:"bg-teal-600",700:"bg-teal-700",800:"bg-teal-800",900:"bg-teal-900"},text:{50:"text-teal-50",100:"text-teal-100",200:"text-teal-200",300:"text-teal-300",400:"text-teal-400 dark:text-teal-300",500:"text-teal-500",600:"text-teal-600 dark:text-teal-400",700:"text-teal-700 dark:text-teal-300",800:"text-teal-800 dark:text-teal-200",900:"text-teal-900"},border:{50:"border-teal-50",100:"border-teal-100",200:"border-teal-200 dark:border-teal-800",300:"border-teal-300 dark:border-teal-700",400:"border-teal-400 dark:border-teal-600",500:"border-teal-500",600:"border-teal-600",700:"border-teal-700",800:"border-teal-800",900:"border-teal-900"}},green:{bg:{50:"bg-emerald-50 dark:bg-emerald-900/20",100:"bg-emerald-50 dark:bg-emerald-900/30",200:"bg-emerald-200",300:"bg-emerald-300",400:"bg-emerald-400",500:"bg-emerald-500",600:"bg-emerald-600",700:"bg-emerald-700",800:"bg-emerald-800",900:"bg-emerald-900"},text:{50:"text-emerald-50",100:"text-emerald-100",200:"text-emerald-200",300:"text-emerald-300",400:"text-emerald-400",500:"text-emerald-500",600:"text-emerald-600 dark:text-emerald-400",700:"text-emerald-700 dark:text-emerald-300",800:"text-emerald-700 dark:text-emerald-300",900:"text-emerald-900"},border:{50:"border-emerald-50",100:"border-emerald-100",200:"border-emerald-200 dark:border-emerald-800",300:"border-emerald-300 dark:border-emerald-700",400:"border-emerald-200 dark:border-emerald-800",500:"border-emerald-500",600:"border-emerald-600",700:"border-emerald-700",800:"border-emerald-800",900:"border-emerald-900"}},"light-green":{bg:{50:"bg-light-green-50",100:"bg-light-green-100",200:"bg-light-green-200",300:"bg-light-green-300",400:"bg-light-green-400",500:"bg-light-green-500",600:"bg-light-green-600",700:"bg-light-green-700",800:"bg-light-green-800",900:"bg-light-green-900"},text:{50:"text-light-green-50",100:"text-light-green-100",200:"text-light-green-200",300:"text-light-green-300",400:"text-light-green-400",500:"text-light-green-500",600:"text-light-green-600",700:"text-light-green-700",800:"text-light-green-800",900:"text-light-green-900"},border:{50:"border-light-green-50",100:"border-light-green-100",200:"border-light-green-200",300:"border-light-green-300",400:"border-light-green-400",500:"border-light-green-500",600:"border-light-green-600",700:"border-light-green-700",800:"border-light-green-800",900:"border-light-green-900"}},lime:{bg:{50:"bg-lime-50 dark:bg-lime-900/20",100:"bg-lime-100 dark:bg-lime-900/30",200:"bg-lime-200",300:"bg-lime-300",400:"bg-lime-400",500:"bg-lime-500",600:"bg-lime-600",700:"bg-lime-700",800:"bg-lime-800",900:"bg-lime-900"},text:{50:"text-lime-50",100:"text-lime-100",200:"text-lime-200",300:"text-lime-300",400:"text-lime-400 dark:text-lime-300",500:"text-lime-500",600:"text-lime-600 dark:text-lime-400",700:"text-lime-700 dark:text-lime-300",800:"text-lime-800 dark:text-lime-200",900:"text-lime-900"},border:{50:"border-lime-50",100:"border-lime-100",200:"border-lime-200 dark:border-lime-800",300:"border-lime-300 dark:border-lime-700",400:"border-lime-400 dark:border-lime-600",500:"border-lime-500",600:"border-lime-600",700:"border-lime-700",800:"border-lime-800",900:"border-lime-900"}},yellow:{bg:{50:"bg-yellow-50 dark:bg-yellow-900/20",100:"bg-amber-100 dark:bg-yellow-900/30",200:"bg-yellow-200",300:"bg-yellow-300",400:"bg-amber-400",500:"bg-amber-500",600:"bg-yellow-600",700:"bg-yellow-700",800:"bg-yellow-800",900:"bg-yellow-900"},text:{50:"text-yellow-50",100:"text-yellow-100",200:"text-yellow-200",300:"text-yellow-300",400:"text-amber-400 dark:text-yellow-300",500:"text-amber-500",600:"text-amber-600 dark:text-yellow-400",700:"text-yellow-700",800:"text-yellow-800 dark:text-yellow-300",900:"text-yellow-900"},border:{50:"border-yellow-50",100:"border-yellow-100",200:"border-yellow-200 dark:border-yellow-800",300:"border-yellow-300 dark:border-yellow-700",400:"border-amber-400 dark:border-yellow-800",500:"border-yellow-500",600:"border-yellow-600",700:"border-yellow-700",800:"border-yellow-800",900:"border-yellow-900"}},amber:{bg:{50:"bg-amber-50 dark:bg-amber-900/20",100:"bg-amber-100 dark:bg-amber-900/30",200:"bg-amber-200",300:"bg-amber-300",400:"bg-amber-400",500:"bg-amber-500",600:"bg-amber-600",700:"bg-amber-700",800:"bg-amber-800",900:"bg-amber-900"},text:{50:"text-amber-50",100:"text-amber-100",200:"text-amber-200",300:"text-amber-300",400:"text-amber-400 dark:text-amber-300",500:"text-amber-500",600:"text-amber-600 dark:text-amber-400",700:"text-amber-700 dark:text-amber-300",800:"text-amber-800 dark:text-amber-200",900:"text-amber-900"},border:{50:"border-amber-50",100:"border-amber-100",200:"border-amber-200 dark:border-amber-800",300:"border-amber-300 dark:border-amber-700",400:"border-amber-400 dark:border-amber-600",500:"border-amber-500",600:"border-amber-600",700:"border-amber-700",800:"border-amber-800",900:"border-amber-900"}},orange:{bg:{50:"bg-orange-50 dark:bg-orange-900/20",100:"bg-orange-100 dark:bg-orange-900/30",200:"bg-orange-200",300:"bg-orange-300",400:"bg-orange-400",500:"bg-orange-500",600:"bg-orange-600",700:"bg-orange-700",800:"bg-orange-800",900:"bg-orange-900"},text:{50:"text-orange-50",100:"text-orange-100",200:"text-orange-200",300:"text-orange-300",400:"text-orange-400 dark:text-orange-300",500:"text-orange-500",600:"text-orange-600 dark:text-orange-400",700:"text-orange-700 dark:text-orange-300",800:"text-orange-800 dark:text-orange-200",900:"text-orange-900"},border:{50:"border-orange-50",100:"border-orange-100",200:"border-orange-200 dark:border-orange-800",300:"border-orange-300 dark:border-orange-700",400:"border-orange-400 dark:border-orange-600",500:"border-orange-500",600:"border-orange-600",700:"border-orange-700",800:"border-orange-800",900:"border-orange-900"}},"deep-orange":{bg:{50:"bg-deep-orange-50",100:"bg-deep-orange-100",200:"bg-deep-orange-200",300:"bg-deep-orange-300",400:"bg-deep-orange-400",500:"bg-deep-orange-500",600:"bg-deep-orange-600",700:"bg-deep-orange-700",800:"bg-deep-orange-800",900:"bg-deep-orange-900"},text:{50:"text-deep-orange-50",100:"text-deep-orange-100",200:"text-deep-orange-200",300:"text-deep-orange-300",400:"text-deep-orange-400",500:"text-deep-orange-500",600:"text-deep-orange-600",700:"text-deep-orange-700",800:"text-deep-orange-800",900:"text-deep-orange-900"},border:{50:"border-deep-orange-50",100:"border-deep-orange-100",200:"border-deep-orange-200",300:"border-deep-orange-300",400:"border-deep-orange-400",500:"border-deep-orange-500",600:"border-deep-orange-600",700:"border-deep-orange-700",800:"border-deep-orange-800",900:"border-deep-orange-900"}},stone:{bg:{50:"bg-stone-50",100:"bg-stone-100",200:"bg-stone-200",300:"bg-stone-300",400:"bg-stone-400",500:"bg-stone-500",600:"bg-stone-600",700:"bg-stone-700",800:"bg-stone-800",900:"bg-stone-900"},text:{50:"text-stone-50",100:"text-stone-100",200:"text-stone-200",300:"text-stone-300",400:"text-stone-400",500:"text-stone-500",600:"text-stone-600",700:"text-stone-700",800:"text-stone-800",900:"text-stone-900"},border:{50:"border-stone-50",100:"border-stone-100",200:"border-stone-200",300:"border-stone-300",400:"border-stone-400",500:"border-stone-500",600:"border-stone-600",700:"border-stone-700",800:"border-stone-800",900:"border-stone-900"}},slate:{bg:{50:"bg-slate-50",100:"bg-slate-50 dark:bg-slate-800/50",200:"bg-slate-200",300:"bg-slate-300",400:"bg-slate-400",500:"bg-slate-500",600:"bg-slate-600",700:"bg-slate-700",800:"bg-slate-800",900:"bg-slate-900"},text:{50:"text-slate-50",100:"text-slate-100",200:"text-slate-200",300:"text-slate-300",400:"text-slate-400",500:"text-slate-500",600:"text-slate-600 dark:text-slate-400",700:"text-slate-700",800:"text-slate-600 dark:text-slate-400",900:"text-slate-900"},border:{50:"border-slate-50",100:"border-slate-100",200:"border-slate-300 dark:border-slate-700",300:"border-slate-300",400:"border-slate-300 dark:border-slate-700",500:"border-slate-500",600:"border-slate-600",700:"border-slate-700",800:"border-slate-800",900:"border-slate-900"}},rose:{bg:{50:"bg-rose-50 dark:bg-rose-900/20",100:"bg-rose-100 dark:bg-rose-900/30",200:"bg-rose-200",300:"bg-rose-300 dark:bg-rose-900/30",400:"bg-rose-400",500:"bg-rose-500",600:"bg-rose-600",700:"bg-rose-700",800:"bg-rose-800",900:"bg-rose-900"},text:{50:"text-rose-50",100:"text-rose-100",200:"text-rose-200",300:"text-rose-300",400:"text-rose-400 dark:text-rose-300",500:"text-rose-500",600:"text-rose-600 dark:text-rose-400",700:"text-rose-700 dark:text-rose-300",800:"text-rose-800 dark:text-rose-200",900:"text-rose-900"},border:{50:"border-rose-50",100:"border-rose-100",200:"border-rose-200 dark:border-rose-800",300:"border-rose-300 dark:border-rose-700",400:"border-rose-400 dark:border-rose-600",500:"border-rose-500",600:"border-rose-600",700:"border-rose-700",800:"border-rose-800",900:"border-rose-900"}},sky:{bg:{50:"bg-sky-50 dark:bg-sky-900/20",100:"bg-sky-100 dark:bg-sky-900/30",200:"bg-sky-200",300:"bg-sky-300",400:"bg-sky-400",500:"bg-sky-500",600:"bg-sky-600",700:"bg-sky-700",800:"bg-sky-800",900:"bg-sky-900"},text:{50:"text-sky-50",100:"text-sky-100",200:"text-sky-200",300:"text-sky-300",400:"text-sky-400 dark:text-sky-300",500:"text-sky-500",600:"text-sky-600 dark:text-sky-400",700:"text-sky-700 dark:text-sky-300",800:"text-sky-800 dark:text-sky-200",900:"text-sky-900"},border:{50:"border-sky-50",100:"border-sky-100",200:"border-sky-200 dark:border-sky-800",300:"border-sky-300 dark:border-sky-700",400:"border-sky-400 dark:border-sky-600",500:"border-sky-500",600:"border-sky-600",700:"border-sky-700",800:"border-sky-800",900:"border-sky-900"}},emerald:{bg:{50:"bg-emerald-50 dark:bg-emerald-900/20",100:"bg-emerald-100 dark:bg-emerald-900/30",200:"bg-emerald-200",300:"bg-emerald-300",400:"bg-emerald-400",500:"bg-emerald-500",600:"bg-emerald-600",700:"bg-emerald-700",800:"bg-emerald-800",900:"bg-emerald-900"},text:{50:"text-emerald-50",100:"text-emerald-100",200:"text-emerald-200",300:"text-emerald-300",400:"text-emerald-400",500:"text-emerald-500",600:"text-emerald-600 dark:text-emerald-400",700:"text-emerald-700 dark:text-emerald-300",800:"text-emerald-800 dark:text-emerald-200",900:"text-emerald-900"},border:{50:"border-emerald-50",100:"border-emerald-100",200:"border-emerald-200 dark:border-emerald-800",300:"border-emerald-300 dark:border-emerald-700",400:"border-emerald-400 dark:border-emerald-600",500:"border-emerald-500",600:"border-emerald-600",700:"border-emerald-700",800:"border-emerald-800",900:"border-emerald-900"}},"blue-slate":{bg:{50:"bg-slate-50",100:"bg-slate-100",200:"bg-slate-200",300:"bg-slate-300",400:"bg-slate-400",500:"bg-slate-500",600:"bg-slate-600",700:"bg-slate-700",800:"bg-slate-800",900:"bg-slate-900"},text:{50:"text-slate-50",100:"text-slate-100",200:"text-slate-200",300:"text-slate-300",400:"text-slate-400",500:"text-slate-500",600:"text-slate-600",700:"text-slate-700",800:"text-slate-800",900:"text-slate-900"}}},t={NEW:"shadow-[inset_0_0_0_5px_rgb(168_85_247)]",ALLOCATED:"shadow-[inset_0_0_0_5px_rgb(14_165_233)]",SUCCESS:"shadow-[inset_0_0_0_5px_rgb(16_185_129)]",FAILED:"shadow-[inset_0_0_0_5px_rgb(244_63_94)]",DELETED:"shadow-[inset_0_0_0_5px_rgb(251_146_60)]"};e.s(["DELIVERY_STATUSES",0,{DELIVERED:"green",RETURNED:"red",OPEN:"yellow"},"DefaultLimit",0,50,"ORDER_STATUSES",0,{OPEN:"purple",PENDING:"sky",CONFIRMED:"lime",FULFILLED:"emerald",REJECTED:"rose"},"PAYMENT_STATUSES",0,{PAID:"green",REFUNDED:"red",OPEN:"yellow"},"PROVIDER_TYPE_CLASSES",0,{PHYSICAL:"emerald",CARD:"sky",INVOICE:"lime",GENERIC:"purple",PICKUP:"red",SHIPPING:"sky"},"QUOTATION_STATUS",0,{REQUESTED:"orange",PROCESSING:"yellow",PROPOSED:"cyan",REJECTED:"red",FULFILLED:"emerald"},"TOKEN_STATUSES",0,{CENTRALIZED:"sky",EXPORTING:"amber",DECENTRALIZED:"emerald"},"WORK_STATUSES",0,{NEW:"purple",ALLOCATED:"sky",SUCCESS:"emerald",FAILED:"rose",DELETED:"orange"},"bgColor",0,(e,t)=>`${r?.[e].bg[t]}`,"borderColor",0,(e,t)=>`${r[e]?.border[t]}`,"getShadowStyle",0,e=>`${t[e]}`,"textColor",0,(e,t)=>`${r[e].text[t]}`])},72670,e=>{"use strict";var r=e.i(69178),t=e.i(13071),a=e.i(39381);e.s(["default",0,({text:e,className:o="",dotted:l=null,color:d="green",square:s=null,onClick:n=null})=>{let i=d?.trim(),b="rainbow"===i;return(0,r.jsx)("span",{id:"badge",className:(0,t.default)(b?"inline-flex items-center text-sm font-bold text-slate-900 dark:text-white shadow-lg relative p-[2px] bg-gradient-to-r from-rose-500 via-emerald-500 to-sky-500":`inline-flex items-center border ${(0,a.borderColor)(i,400)} px-2.5 py-0.5 text-sm font-medium ${(0,a.bgColor)(i,100)} ${(0,a.textColor)(i,800)}`,o,{"rounded-full":!s,"rounded-md":s}),children:b?(0,r.jsxs)("span",{className:(0,t.default)("inline-flex items-center bg-white dark:bg-slate-700 px-2.5 py-0.5",{"rounded-full":!s,"rounded-md":s}),children:[l&&(0,r.jsx)("svg",{className:"text-slate-900 dark:text-white -ml-1 mr-1.5 h-2 w-2",fill:"currentColor",viewBox:"0 0 8 8",children:(0,r.jsx)("circle",{cx:"4",cy:"4",r:"3"})}),e,n&&(0,r.jsx)("button",{id:"badge-x-button",type:"button",onClick:n,className:"ml-0.5 inline-flex h-4 w-4 shrink-0 items-center justify-center rounded-full text-slate-900 dark:text-white hover:bg-slate-900 hover:bg-opacity-10 dark:hover:bg-white dark:hover:bg-opacity-20 focus:outline-hidden focus:bg-slate-900 focus:bg-opacity-20 dark:focus:bg-white dark:focus:bg-opacity-30",children:(0,r.jsx)("svg",{className:"h-2 w-2",stroke:"currentColor",fill:"none",viewBox:"0 0 8 8",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeWidth:"1.5",d:"M1 1l6 6m0-6L1 7"})})})]}):(0,r.jsxs)(r.Fragment,{children:[l&&(0,r.jsx)("svg",{className:`-ml-1 mr-1.5 h-2 w-2 ${(0,a.textColor)(i,400)}`,fill:"currentColor",viewBox:"0 0 8 8",children:(0,r.jsx)("circle",{cx:"4",cy:"4",r:"3"})}),e,n&&(0,r.jsx)("button",{id:"badge-x-button",type:"button",onClick:n,className:`ml-0.5 inline-flex h-4 w-4 shrink-0 items-center justify-center rounded-full ${(0,a.textColor)(i,400)} hover:${(0,a.bgColor)(i,200)} hover:text-${i}-500 focus:outline-hidden focus:${(0,a.bgColor)(i,500)} focus:text-white`,children:(0,r.jsx)("svg",{className:"h-2 w-2",stroke:"currentColor",fill:"none",viewBox:"0 0 8 8",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeWidth:"1.5",d:"M1 1l6 6m0-6L1 7"})})})]})})}])},17362,(e,r,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={VALID_LOADERS:function(){return l},imageConfigDefault:function(){return d}};for(var o in a)Object.defineProperty(t,o,{enumerable:!0,get:a[o]});let l=["default","imgix","cloudinary","akamai","custom"],d={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1,customCacheHandler:!1}},76648,(e,r,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return l}});let a=e.r(23726)._(e.r(1415)),o=e.r(17362),l=a.default.createContext(o.imageConfigDefault)},6356,e=>{"use strict";e.s(["default",0,(e={})=>{let{_id:r,texts:t}=e||{};return t||r?`${t?.slug?.split("/").join("")||""}_id_${r}`:null},"parseSlug",0,e=>{if(!e)return null;let[r]=e?.split("_id_")||[];return r},"parseUniqueId",0,e=>{if(!e)return null;let r=e?.split("_id_");return r?.pop()}])},88611,e=>{"use strict";var r=e.i(69178),t=e.i(13071),a=e.i(38524),o=e.i(4142),l=e.i(19892),d=e.i(88500);e.s(["default",0,({buttonText:e="",validators:s=[],selectOptions:n=[],...i})=>{let b=(0,o.default)({validators:[...s,(0,l.validateRequiredTag)(i?.required)],label:"Tags",...i});return(0,r.jsx)(d.default,{...b,children:(0,r.jsx)(a.default,{disabled:b.disabled,id:b.id,name:b.name,className:(0,t.default)({"border-rose-300":!!b.error}),onChange:e=>b.setValue(e),placeholder:b.placeholder,tagList:b.value,buttonText:e,selectOptions:n})})}])},76691,e=>{"use strict";var r=e.i(71983);let t=r.gql`
|
|
2
|
+
fragment LanguageFragment on Language {
|
|
3
|
+
_id
|
|
4
|
+
isoCode
|
|
5
|
+
isActive
|
|
6
|
+
isBase
|
|
7
|
+
name
|
|
8
|
+
}
|
|
9
|
+
`;e.s(["default",0,t])},23335,e=>{"use strict";var r=e.i(71983),t=e.i(13699),a=e.i(76691);let o=r.gql`
|
|
10
|
+
query Languages(
|
|
11
|
+
$queryString: String
|
|
12
|
+
$offset: Int
|
|
13
|
+
$limit: Int
|
|
14
|
+
$includeInactive: Boolean
|
|
15
|
+
$sort: [SortOptionInput!]
|
|
16
|
+
) {
|
|
17
|
+
languages(
|
|
18
|
+
queryString: $queryString
|
|
19
|
+
offset: $offset
|
|
20
|
+
limit: $limit
|
|
21
|
+
includeInactive: $includeInactive
|
|
22
|
+
sort: $sort
|
|
23
|
+
) {
|
|
24
|
+
...LanguageFragment
|
|
25
|
+
}
|
|
26
|
+
languagesCount(includeInactive: $includeInactive, queryString: $queryString)
|
|
27
|
+
}
|
|
28
|
+
${a.default}
|
|
29
|
+
`;e.s(["default",0,({queryString:e="",limit:r=20,offset:a=0,includeInactive:l=!0,sort:d=[]}={})=>{let{data:s,loading:n,error:i,fetchMore:b}=(0,t.useQuery)(o,{variables:{queryString:e,limit:r,offset:a,includeInactive:l,sort:d}}),g=s?.languages||[],u=s?.languagesCount,x=g?.length<u;return{languages:g,languagesCount:u,hasMore:x,loading:n,error:i,loadMore:()=>{b({variables:{offset:g?.length}})}}}])},360,e=>{"use strict";var r=e.i(71983);let t=r.gql`
|
|
30
|
+
fragment CountryFragment on Country {
|
|
31
|
+
_id
|
|
32
|
+
isoCode
|
|
33
|
+
isActive
|
|
34
|
+
isBase
|
|
35
|
+
|
|
36
|
+
defaultCurrency {
|
|
37
|
+
_id
|
|
38
|
+
isoCode
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
`;e.s(["default",0,t])},63458,e=>{"use strict";var r=e.i(71983),t=e.i(13699),a=e.i(360);let o=r.gql`
|
|
42
|
+
query Countries(
|
|
43
|
+
$queryString: String
|
|
44
|
+
$limit: Int
|
|
45
|
+
$offset: Int
|
|
46
|
+
$includeInactive: Boolean
|
|
47
|
+
$sort: [SortOptionInput!]
|
|
48
|
+
) {
|
|
49
|
+
countries(
|
|
50
|
+
queryString: $queryString
|
|
51
|
+
limit: $limit
|
|
52
|
+
offset: $offset
|
|
53
|
+
includeInactive: $includeInactive
|
|
54
|
+
sort: $sort
|
|
55
|
+
) {
|
|
56
|
+
...CountryFragment
|
|
57
|
+
}
|
|
58
|
+
countriesCount(includeInactive: $includeInactive, queryString: $queryString)
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
${a.default}
|
|
62
|
+
`;e.s(["default",0,({queryString:e="",limit:r=20,offset:a=0,includeInactive:l=!0,sort:d=[]}={})=>{let{data:s,loading:n,error:i,fetchMore:b}=(0,t.useQuery)(o,{variables:{queryString:e,limit:r,offset:a,includeInactive:l,sort:d}}),g=s?.countries||[],u=s?.countriesCount,x=g?.length<u;return{countries:g,countriesCount:u,hasMore:x,loading:n,error:i,loadMore:()=>{b({variables:{offset:g?.length}})}}}])},81312,79174,58724,e=>{"use strict";var r=e.i(1415),t=e.i(69178),a=e.i(98183),o=e.i(23335),l=e.i(63458),d=e.i(71983),s=e.i(13699);let n=d.gql`
|
|
63
|
+
query ShopInfo {
|
|
64
|
+
shopInfo {
|
|
65
|
+
_id
|
|
66
|
+
version
|
|
67
|
+
language {
|
|
68
|
+
_id
|
|
69
|
+
isoCode
|
|
70
|
+
name
|
|
71
|
+
}
|
|
72
|
+
country {
|
|
73
|
+
_id
|
|
74
|
+
isoCode
|
|
75
|
+
flagEmoji
|
|
76
|
+
name
|
|
77
|
+
defaultCurrency {
|
|
78
|
+
_id
|
|
79
|
+
isoCode
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
adminUiConfig {
|
|
83
|
+
singleSignOnURL
|
|
84
|
+
externalLinks {
|
|
85
|
+
href
|
|
86
|
+
title
|
|
87
|
+
target
|
|
88
|
+
}
|
|
89
|
+
customProperties {
|
|
90
|
+
entityName
|
|
91
|
+
inlineFragment
|
|
92
|
+
}
|
|
93
|
+
productTags
|
|
94
|
+
assortmentTags
|
|
95
|
+
userTags
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
`,i=()=>{let{data:e,loading:r,error:t}=(0,s.useQuery)(n,{fetchPolicy:"cache-first"}),{shopInfo:a}=e||{};return{shopInfo:a,defaultLocale:[a?.language?.isoCode,a?.country?.isoCode?.toUpperCase()].filter(Boolean)?.join("-"),loading:r,error:t}};e.s(["default",0,i],79174);var b=e.i(30060);let g=(0,r.createContext)(void 0);e.s(["AppContextWrapper",0,({children:e,onlyFull:d=!1})=>{let s,{languages:n}=(0,o.default)(),{locale:u}=(0,a.useIntl)(),[x,m]=(0,b.default)("selectedLocale",null),{shopInfo:p,loading:c}=i(),{countries:k}=(0,l.default)(),[y,f]=(0,r.useState)(u),h=e=>{m(e),f(e)};(0,r.useEffect)(()=>{x?f(x):c||h(`${p?.language?.isoCode}-${p?.country?.isoCode?.toUpperCase()}`)},[p,c,u]);let w=(s=[],n.forEach(({_id:e,isoCode:r})=>{s.push({_id:e,isoCode:r}),k.forEach(({isoCode:t,_id:a})=>{let o=[r,t.toUpperCase()].join("-");(e=>{try{return new Intl.DateTimeFormat(e).resolvedOptions().locale.toLowerCase()===e.toLowerCase()}catch(e){return!1}})(o)&&s.push({_id:`${a}-${e}`,isoCode:o})})}),s).filter(e=>!d||e.isoCode.includes("-")),v=!!p?.language&&!!p?.country;return(0,t.jsx)(g.Provider,{value:{selectedLocale:y,setSelectedLocale:h,languageDialectList:w,isSystemReady:v,shopInfo:p},children:e})},"default",0,g],58724),e.s(["default",0,()=>{let e=(0,r.useContext)(g);if(!e)throw Error("useLocale must be used within a LocaleProvider");return e}],81312)},47024,e=>{"use strict";var r=e.i(69178),t=e.i(1415),a=e.i(12442),o=e.i(81312);e.s(["default",0,({children:e,onlyFull:l=!1})=>{let{languageDialectList:d,selectedLocale:s,setSelectedLocale:n}=(0,o.default)(),i=(0,t.useContext)(a.FormWrapperContext),b=d.filter(e=>!l||e.isoCode.includes("-"));return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:`w-fit mt-5 mb-3 ${i?"ml-5":""}`,children:(0,r.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:s||"",onChange:e=>{e.stopPropagation(),n(e.target.value)},children:b?.map(e=>(0,r.jsx)("option",{value:e.isoCode,children:e.isoCode},e._id))})}),(0,r.jsx)("div",{children:t.default.cloneElement(e)})]})}])},41922,e=>{"use strict";var r=e.i(69178),t=e.i(49061),a=e.i(98183),o=e.i(5858),l=e.i(19372),d=e.i(62458),s=e.i(62010),n=e.i(28156),i=e.i(23518),b=e.i(88611),g=e.i(68686),u=e.i(5641),x=e.i(81312);let m=({onSubmit:e,onSubmitSuccess:t})=>{let{formatMessage:m}=(0,a.useIntl)(),{hasRole:p}=(0,l.default)(),{selectedLocale:c,shopInfo:k}=(0,x.default)(),y=m({id:"assortment_added",defaultMessage:"Assortment added successfully!"}),f=(0,u.default)({submit:async r=>e({...r,locale:c}),onSubmitSuccess:t,successMessage:y,enableReinitialize:!0,initialValues:{isRoot:!0,title:"",subtitle:"",tags:[]}});return(0,r.jsxs)(s.default,{form:f,children:[(0,r.jsxs)("div",{className:"py-5 px-5",children:[(0,r.jsx)(g.default,{name:"title",id:"title",label:m({id:"title",defaultMessage:"Title"}),autoComplete:"off",required:!0,className:"mb-5"}),(0,r.jsx)(g.default,{name:"subtitle",id:"subtitle",label:m({id:"subtitle",defaultMessage:"Subtitle"}),autoComplete:"off",className:"mb-5"}),(0,r.jsx)(b.default,{name:"tags",id:"tags",label:m({id:"tags",defaultMessage:"Tags"}),selectOptions:(k?.adminUiConfig?.assortmentTags||[]).map(e=>({value:e,label:e}))})]}),(0,r.jsxs)("div",{className:"mx-5 mb-5",children:[(0,r.jsx)(d.default,{toggleText:m({id:"root_node",defaultMessage:"Root node"}),active:f.formik.values.isRoot,onToggle:()=>f.formik.setFieldValue("isRoot",!f.formik.values.isRoot)}),(0,r.jsx)("span",{className:"block text-sm text-slate-400 dark:text-slate-500 mt-2",children:m({id:"root_description",defaultMessage:"This makes the assortment a top level category"})})]}),(0,r.jsx)(n.default,{}),p(o.IRoleAction.ManageAssortments)&&(0,r.jsx)("div",{className:"border-t-slate-100 border-t dark:border-t-slate-700 space-y-6 bg-slate-50 dark:bg-slate-900 p-5 text-right",children:(0,r.jsx)(i.default,{label:m({id:"add_assortment",defaultMessage:"Add Assortment"})})})]})};var p=e.i(71983),c=e.i(13686);let k=p.gql`
|
|
100
|
+
mutation CreateAssortment(
|
|
101
|
+
$assortment: CreateAssortmentInput!
|
|
102
|
+
$texts: [AssortmentTextInput!]
|
|
103
|
+
) {
|
|
104
|
+
createAssortment(assortment: $assortment, texts: $texts) {
|
|
105
|
+
_id
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
`;var y=e.i(23529),f=e.i(12442),h=e.i(71588),w=e.i(6356),v=e.i(47024);e.s(["default",0,()=>{let{formatMessage:e}=(0,a.useIntl)(),o=(0,t.useRouter)(),{createAssortment:l}=(()=>{let[e,{data:r,error:t,loading:a}]=(0,c.useMutation)(k);return{createAssortment:async({isRoot:r=!1,tags:t=[],texts:a})=>e({variables:{assortment:{isRoot:r,tags:t},texts:a},refetchQueries:["Assortments","TranslatedAssortmentTexts","ShopStatus","ShopInfo"]}),loading:a,newAssortment:r?.createAssortment,error:t}})(),d=async({title:e,subtitle:r,isRoot:t,tags:a,locale:o})=>{let{data:d,error:s}=await l({isRoot:t,texts:[{title:e,subtitle:r,locale:o}],tags:a});return!s&&{success:!0,data:d?.createAssortment}};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(y.default,{}),(0,r.jsxs)("div",{className:"mx-auto sm:max-w-2xl",children:[(0,r.jsx)(h.default,{headerText:e({id:"new_assortment_header",defaultMessage:"New Assortment"})}),(0,r.jsx)("div",{className:"mt-6 sm:max-w-2xl",children:(0,r.jsx)(f.default,{children:(0,r.jsx)(v.default,{children:(0,r.jsx)(m,{onSubmitSuccess:(e,r)=>{o.replace(`/assortments?assortmentSlug=${(0,w.default)(r)}`)},onSubmit:d})})})})]})]})}],41922)},53449,(e,r,t)=>{let a="/assortments/new";(window.__NEXT_P=window.__NEXT_P||[]).push([a,()=>e.r(41922)]),r.hot&&r.hot.dispose(function(){window.__NEXT_P.push([a])})},8233,e=>{e.v(r=>Promise.all(["static/chunks/0i.xcdg6xys-l.js"].map(r=>e.l(r))).then(()=>r(64324)))},69209,e=>{e.v(r=>Promise.all(["static/chunks/0.qq-wh2-26q3.js"].map(r=>e.l(r))).then(()=>r(3506)))}]);
|