@unchainedshop/admin-ui 4.8.3 → 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/{LwzGrKYFysZkSMLq4V2qC → 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/{2331231c001354e3.js → 0-fxw4nvnyd3r.js} +28 -28
- package/out/_next/static/chunks/0-tf-b8ycy7nw.js +14 -0
- package/out/_next/static/chunks/{f7831be34027369d.js → 0-vzy055sp9wr.js} +1 -1
- 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/{08687e11efcba80d.js → 0.qq-wh2-26q3.js} +1 -1
- package/out/_next/static/chunks/{3a4ed3781f94ae14.js → 0.v-jasmtyg-~.js} +19 -19
- 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/06c.18b146dst.js +43 -0
- 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/{2b38a3e4f3ec8006.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/{1023ab11055a9cdb.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/{ebe86b0efc1cf8f7.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/{253c158a09cd7d7f.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/{37fb42670222595a.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/{94a4b9165b43f06c.js → 0hggeos.n3ho1.js} +27 -27
- package/out/_next/static/chunks/0hou_u24cky19.js +14 -0
- package/out/_next/static/chunks/{2b2a5b40ef9c9a74.js → 0i.xcdg6xys-l.js} +1 -1
- 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/{b95f770b791a5cd8.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/{8104e7db4dbd95a9.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/{71aa080e5d93723b.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/{33c54f0b7f55600f.js → 0sqtyywk.m-gb.js} +2 -2
- package/out/_next/static/chunks/0ta5trm5g8qpx.js +1 -0
- package/out/_next/static/chunks/{18ef0cbb148be289.js → 0tfa15y7gd6ol.js} +28 -28
- 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/{1fae4a04bcbd6f57.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/0wuu4uyer4mlk.js +31 -0
- 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/{e3b9a73e75e5970f.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/{acbc1223808c6c32.js → 10m8c175impy1.js} +3 -3
- 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/{0a8883ab190a8c25.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/LwzGrKYFysZkSMLq4V2qC/_clientMiddlewareManifest.json +0 -1
- package/out/_next/static/chunks/024034bd453b55c2.js +0 -15
- package/out/_next/static/chunks/062df18244428e79.js +0 -19
- package/out/_next/static/chunks/06a43b7fe6eee0c5.js +0 -26
- package/out/_next/static/chunks/0849f6b1fcc13de5.js +0 -1
- package/out/_next/static/chunks/08d070e1430f1d82.js +0 -5
- package/out/_next/static/chunks/0bb854db5636667d.js +0 -1
- package/out/_next/static/chunks/0c76c6ccf53752a9.js +0 -8
- package/out/_next/static/chunks/0d9ed91755412d86.js +0 -1
- package/out/_next/static/chunks/0e655d84b797b7c2.js +0 -18
- package/out/_next/static/chunks/0f6d8de6ecf959a9.js +0 -10
- package/out/_next/static/chunks/10b89ed0ee88efdd.js +0 -1
- package/out/_next/static/chunks/10f8841948039d3c.js +0 -7
- package/out/_next/static/chunks/12749529b97e9c9f.js +0 -188
- package/out/_next/static/chunks/1284534d238fa547.js +0 -16
- package/out/_next/static/chunks/15a061f7784e67be.js +0 -1
- package/out/_next/static/chunks/172033707fa614c7.js +0 -31
- package/out/_next/static/chunks/18fa9312c778c4d6.js +0 -81
- package/out/_next/static/chunks/19184cd935c5cdfc.js +0 -13
- package/out/_next/static/chunks/1b3370ee76fcc08d.js +0 -1
- package/out/_next/static/chunks/1bbc041c84cc1c5c.js +0 -15
- package/out/_next/static/chunks/1ca27993521eb235.js +0 -288
- package/out/_next/static/chunks/1f5c5ce43daec737.js +0 -2
- package/out/_next/static/chunks/1fd677372a4dacde.js +0 -111
- package/out/_next/static/chunks/1fd6fd2b880cbd2d.js +0 -21
- package/out/_next/static/chunks/22263f160dc934b1.js +0 -13
- package/out/_next/static/chunks/22a4e640ddffd16e.js +0 -26
- package/out/_next/static/chunks/22bec393a4d1f42a.js +0 -173
- package/out/_next/static/chunks/23b1b3fc4799a497.js +0 -1
- package/out/_next/static/chunks/260478fa98dce8a8.js +0 -14
- package/out/_next/static/chunks/27694a6685c33b11.js +0 -2
- package/out/_next/static/chunks/282fb1e4e8805b17.js +0 -1
- package/out/_next/static/chunks/2d3f1fd0f09a9dcd.js +0 -15
- package/out/_next/static/chunks/2e3a4d1647743cd9.js +0 -50
- package/out/_next/static/chunks/2e7db060d5a7404b.js +0 -12
- package/out/_next/static/chunks/2f675ed07fbb3571.js +0 -22
- package/out/_next/static/chunks/2f90d345b2dcc8e9.js +0 -3
- package/out/_next/static/chunks/330837992d56bd8a.js +0 -1
- package/out/_next/static/chunks/34cdee51a883e092.js +0 -1
- package/out/_next/static/chunks/369b9bc791d3b6b2.js +0 -13
- package/out/_next/static/chunks/3a15e95c7be1e0ad.js +0 -12
- package/out/_next/static/chunks/3a81602389d2df54.js +0 -13
- package/out/_next/static/chunks/40753fe032e64b67.js +0 -1
- package/out/_next/static/chunks/424ff3d6b18a542e.js +0 -23
- package/out/_next/static/chunks/44a4b681fa0bb489.js +0 -15
- package/out/_next/static/chunks/46aca804f54d4c1c.js +0 -217
- package/out/_next/static/chunks/4799215a99ee5f96.js +0 -13
- package/out/_next/static/chunks/47f8b293061e827a.js +0 -12
- package/out/_next/static/chunks/49c6f70a695418a8.js +0 -132
- package/out/_next/static/chunks/4a434ac87d5df19d.js +0 -5
- package/out/_next/static/chunks/4db442a9db9c6222.js +0 -31
- package/out/_next/static/chunks/4e4e21d30f88f94a.js +0 -22
- package/out/_next/static/chunks/4f74537b6a99d0ef.js +0 -88
- package/out/_next/static/chunks/4fed90e0ae93ca78.js +0 -20
- package/out/_next/static/chunks/52e61caab8d5d49b.js +0 -2
- package/out/_next/static/chunks/534e3040e11607bb.js +0 -54
- package/out/_next/static/chunks/5419a295cc04d965.js +0 -16
- package/out/_next/static/chunks/54a04379917dc8db.js +0 -1
- package/out/_next/static/chunks/54c8ace4e13fa6d2.js +0 -2
- package/out/_next/static/chunks/55d7410229e81cef.js +0 -10
- package/out/_next/static/chunks/571e09eb4690914c.js +0 -13
- package/out/_next/static/chunks/573494e79ceb095d.js +0 -10
- package/out/_next/static/chunks/589ba731744b3bbb.js +0 -1
- package/out/_next/static/chunks/5b35b656a5cf2537.js +0 -178
- package/out/_next/static/chunks/5cc2513eaf268333.js +0 -1
- package/out/_next/static/chunks/5cd7bb2ff39b4594.js +0 -1
- package/out/_next/static/chunks/5fb9a6995905a886.js +0 -1
- package/out/_next/static/chunks/612105a592b0f6f2.js +0 -15
- package/out/_next/static/chunks/624b37840de53245.js +0 -101
- package/out/_next/static/chunks/6284ae8026b3ec15.js +0 -2
- package/out/_next/static/chunks/62d9827d793271b3.js +0 -1
- package/out/_next/static/chunks/633e5c380ebdc458.js +0 -60
- package/out/_next/static/chunks/63c03aeeb5583d48.js +0 -46
- package/out/_next/static/chunks/645115d54ce42edd.js +0 -2
- package/out/_next/static/chunks/65cf017dbb3312cc.js +0 -1
- package/out/_next/static/chunks/673a224001dabe79.js +0 -1
- package/out/_next/static/chunks/67f499b7f6a7b6e4.js +0 -18
- package/out/_next/static/chunks/6a5a361dc7d12e6d.js +0 -31
- package/out/_next/static/chunks/6d803e17f44694ff.js +0 -14
- package/out/_next/static/chunks/6e5dae8ed625e7d9.js +0 -58
- package/out/_next/static/chunks/728bf5482d4c4b24.js +0 -147
- package/out/_next/static/chunks/735af5e051f61e12.js +0 -12
- package/out/_next/static/chunks/75228986952a2f5f.js +0 -14
- package/out/_next/static/chunks/76cf755a9c8274a3.js +0 -3
- package/out/_next/static/chunks/774be1452eaae7bc.js +0 -44
- package/out/_next/static/chunks/7876fd667108ff0b.js +0 -1
- package/out/_next/static/chunks/789c663bbba51ed0.js +0 -73
- package/out/_next/static/chunks/79182002cd9d529e.js +0 -1
- package/out/_next/static/chunks/797980668b156f05.js +0 -5
- package/out/_next/static/chunks/7a5f326e329e3503.js +0 -13
- package/out/_next/static/chunks/7b909791b59bd1d1.js +0 -22
- package/out/_next/static/chunks/7e525e3f2dbc57f6.js +0 -87
- package/out/_next/static/chunks/81a6d7fc6b961356.js +0 -137
- package/out/_next/static/chunks/837dae894379da89.js +0 -12
- package/out/_next/static/chunks/83df11b76806c36b.js +0 -138
- package/out/_next/static/chunks/84614457241a2532.js +0 -291
- package/out/_next/static/chunks/8481204b6f8a478a.js +0 -1
- package/out/_next/static/chunks/849633866e8f5b59.js +0 -5
- package/out/_next/static/chunks/88af33f57c0d6bbb.js +0 -1
- package/out/_next/static/chunks/89871a4939f19971.js +0 -13
- package/out/_next/static/chunks/8c37f0eccbf891ae.js +0 -10
- package/out/_next/static/chunks/8d537fdcf9ad3376.js +0 -108
- package/out/_next/static/chunks/8d983b4b9169e996.js +0 -73
- package/out/_next/static/chunks/92b4856858c2c501.js +0 -8
- package/out/_next/static/chunks/935f75d91f080d4a.js +0 -13
- package/out/_next/static/chunks/9505a3f621b21ccc.js +0 -16
- package/out/_next/static/chunks/956ce1cb07e57a26.js +0 -142
- package/out/_next/static/chunks/95ed0d70c975eb05.js +0 -46
- package/out/_next/static/chunks/96fbe29a492ffffa.js +0 -2
- package/out/_next/static/chunks/970c284e31011901.js +0 -1
- package/out/_next/static/chunks/98580b6824bffbe2.js +0 -14
- package/out/_next/static/chunks/99801ddebd49661d.js +0 -16
- package/out/_next/static/chunks/9ac0481ee09dab36.js +0 -14
- package/out/_next/static/chunks/9ade09b8c3868354.js +0 -15
- package/out/_next/static/chunks/9cc9be90cce32dea.js +0 -73
- package/out/_next/static/chunks/9cd4a32017538104.js +0 -7
- package/out/_next/static/chunks/9e0701164987627b.js +0 -12
- package/out/_next/static/chunks/9e93a0737ea87ec3.js +0 -13
- package/out/_next/static/chunks/9f408c46ef34663f.js +0 -13
- package/out/_next/static/chunks/a346b2c9a094e108.js +0 -1
- package/out/_next/static/chunks/a528809515876da6.js +0 -1
- package/out/_next/static/chunks/a586e5fb387a069a.js +0 -209
- package/out/_next/static/chunks/a7d81b970a4c6713.js +0 -11
- package/out/_next/static/chunks/aadd5f8e1a246f50.js +0 -50
- package/out/_next/static/chunks/ade59b1609628136.js +0 -59
- package/out/_next/static/chunks/afe9e039c13cd58d.js +0 -20
- package/out/_next/static/chunks/b041b3cb01e454bf.js +0 -46
- package/out/_next/static/chunks/b04ac9091cebe47e.js +0 -15
- package/out/_next/static/chunks/b04e93fe1cefa749.js +0 -1
- package/out/_next/static/chunks/b46b07c553cbd014.js +0 -1
- package/out/_next/static/chunks/b696d8b40d0e9db0.js +0 -13
- package/out/_next/static/chunks/baa8d5424eaf8f0b.js +0 -51
- package/out/_next/static/chunks/bc43d7d4b567b5ea.js +0 -1
- package/out/_next/static/chunks/bc82867f4a2a8569.js +0 -8
- package/out/_next/static/chunks/bc8492ea8abd66da.js +0 -1
- package/out/_next/static/chunks/c0c169c9b9fe262c.js +0 -14
- package/out/_next/static/chunks/c14dcaa32afa2d7d.js +0 -61
- package/out/_next/static/chunks/c2858c39274243b9.js +0 -1
- package/out/_next/static/chunks/c49c95540ffc03e2.js +0 -61
- package/out/_next/static/chunks/c566c87f4624f220.js +0 -1
- package/out/_next/static/chunks/c5ac934e92c969d9.js +0 -1
- package/out/_next/static/chunks/c9a56a6f01c7fbeb.js +0 -13
- package/out/_next/static/chunks/c9ba82c57894870b.js +0 -101
- package/out/_next/static/chunks/ca99edf9f5f563ec.js +0 -2
- package/out/_next/static/chunks/cce85e848c5c50c9.js +0 -12
- package/out/_next/static/chunks/cd4b1d554140e38a.js +0 -1
- package/out/_next/static/chunks/ce24ea4ccc64b5d8.js +0 -5
- package/out/_next/static/chunks/ced67effbb174f33.js +0 -100
- package/out/_next/static/chunks/d0a4348ea04a55d6.js +0 -15
- package/out/_next/static/chunks/d211a2fd31fe667b.js +0 -12
- package/out/_next/static/chunks/d62a71a9616d03f6.css +0 -1
- package/out/_next/static/chunks/d7632292db719469.js +0 -1
- package/out/_next/static/chunks/dad232b1629a2302.js +0 -13
- package/out/_next/static/chunks/dc051b878869f61d.js +0 -11
- package/out/_next/static/chunks/dced82261863fb2d.js +0 -471
- package/out/_next/static/chunks/df5d555c6c60529c.js +0 -16
- package/out/_next/static/chunks/dfcb9c2444b25239.js +0 -13
- package/out/_next/static/chunks/e017ca76ca31390f.js +0 -14
- package/out/_next/static/chunks/e077de9a00188d29.js +0 -31
- package/out/_next/static/chunks/e1c466414429fb2c.js +0 -43
- package/out/_next/static/chunks/e2ea777b6b52d20c.js +0 -384
- package/out/_next/static/chunks/e36448686df07275.js +0 -1
- package/out/_next/static/chunks/e4c799d36a06e3a0.js +0 -2
- package/out/_next/static/chunks/e579d99178340e26.js +0 -73
- package/out/_next/static/chunks/e74260bc14f9f873.js +0 -15
- package/out/_next/static/chunks/e750165af20a1037.js +0 -12
- package/out/_next/static/chunks/ecca620eba02fe99.js +0 -12
- package/out/_next/static/chunks/ed77b1a52c0c0319.js +0 -90
- package/out/_next/static/chunks/edbe28ccea259911.js +0 -2
- package/out/_next/static/chunks/edf3c79b748cd5ef.js +0 -1
- package/out/_next/static/chunks/ee675c25f432f8c1.js +0 -41
- package/out/_next/static/chunks/f74a227d73b38b08.js +0 -44
- package/out/_next/static/chunks/f84d6b33d953a2ab.js +0 -14
- package/out/_next/static/chunks/f8f534d24461b280.js +0 -14
- package/out/_next/static/chunks/f9aed1e0353964e8.js +0 -15
- package/out/_next/static/chunks/fa6fde66d532ec0b.js +0 -8
- package/out/_next/static/chunks/fe029116a8f4aa10.js +0 -66
- package/out/_next/static/chunks/turbopack-040c06010ecec3e3.js +0 -4
- package/out/_next/static/chunks/turbopack-048d6f75ff5b8422.js +0 -4
- package/out/_next/static/chunks/turbopack-051e1eae4de5067b.js +0 -4
- package/out/_next/static/chunks/turbopack-0c45fe3727c90f00.js +0 -4
- package/out/_next/static/chunks/turbopack-1080abdf3d705c40.js +0 -4
- package/out/_next/static/chunks/turbopack-11b924a5d1328ebd.js +0 -4
- package/out/_next/static/chunks/turbopack-133c989cbcda988e.js +0 -4
- package/out/_next/static/chunks/turbopack-13577daebf65a081.js +0 -4
- package/out/_next/static/chunks/turbopack-1618866e0a22a1a2.js +0 -4
- package/out/_next/static/chunks/turbopack-18fb0eba407f0751.js +0 -4
- package/out/_next/static/chunks/turbopack-1a1849aead6c5b38.js +0 -4
- package/out/_next/static/chunks/turbopack-20e9fbf321e88611.js +0 -4
- package/out/_next/static/chunks/turbopack-21283f16601785c2.js +0 -4
- package/out/_next/static/chunks/turbopack-2222da4f157e96f3.js +0 -4
- package/out/_next/static/chunks/turbopack-2274cc69ad68f7fe.js +0 -4
- package/out/_next/static/chunks/turbopack-2480f46a39056b63.js +0 -4
- package/out/_next/static/chunks/turbopack-2b99322b5bc3a69a.js +0 -4
- package/out/_next/static/chunks/turbopack-2d102be33a9e20e9.js +0 -4
- package/out/_next/static/chunks/turbopack-37d0156e29d3c744.js +0 -4
- package/out/_next/static/chunks/turbopack-4508667adba1bb36.js +0 -4
- package/out/_next/static/chunks/turbopack-480d32155f9b7334.js +0 -4
- package/out/_next/static/chunks/turbopack-488ea7f6c75a537e.js +0 -4
- package/out/_next/static/chunks/turbopack-527bed56f405385a.js +0 -4
- package/out/_next/static/chunks/turbopack-598b1342a6fd4835.js +0 -4
- package/out/_next/static/chunks/turbopack-677723379f9d7fdf.js +0 -4
- package/out/_next/static/chunks/turbopack-6b9b8e12eddb81a0.js +0 -4
- package/out/_next/static/chunks/turbopack-708622bdf7bb9109.js +0 -4
- package/out/_next/static/chunks/turbopack-7c69ad315aa26863.js +0 -4
- package/out/_next/static/chunks/turbopack-7dc3ebb68de060aa.js +0 -4
- package/out/_next/static/chunks/turbopack-8017dfcca36bf7a6.js +0 -4
- package/out/_next/static/chunks/turbopack-86881b713248af60.js +0 -4
- package/out/_next/static/chunks/turbopack-89aef8310cf73766.js +0 -4
- package/out/_next/static/chunks/turbopack-8a2096f2057f1f9a.js +0 -4
- package/out/_next/static/chunks/turbopack-8d6acad30d291788.js +0 -4
- package/out/_next/static/chunks/turbopack-97c6bafcfbf87df8.js +0 -4
- package/out/_next/static/chunks/turbopack-99019b4331e3b52e.js +0 -4
- package/out/_next/static/chunks/turbopack-99b9a819c186b742.js +0 -4
- package/out/_next/static/chunks/turbopack-a1302aaa1af43eff.js +0 -4
- package/out/_next/static/chunks/turbopack-a5130d5c94a33411.js +0 -4
- package/out/_next/static/chunks/turbopack-a8cdbe1547170d43.js +0 -4
- package/out/_next/static/chunks/turbopack-ac20d232335b4f43.js +0 -4
- package/out/_next/static/chunks/turbopack-ac3c3519a80f8eb5.js +0 -4
- package/out/_next/static/chunks/turbopack-ac9d2e6c1fd8a3b6.js +0 -4
- package/out/_next/static/chunks/turbopack-b10db4512a0ed84a.js +0 -4
- package/out/_next/static/chunks/turbopack-b62f1c0c5bd51371.js +0 -4
- package/out/_next/static/chunks/turbopack-b688a64544b0aa98.js +0 -4
- package/out/_next/static/chunks/turbopack-b779f6d98886e19b.js +0 -4
- package/out/_next/static/chunks/turbopack-b7fc3a09c3aa08dd.js +0 -4
- package/out/_next/static/chunks/turbopack-bd1d99bf167c64ae.js +0 -4
- package/out/_next/static/chunks/turbopack-bdc8f3d06852deb9.js +0 -4
- package/out/_next/static/chunks/turbopack-c0d3db8546dd55d3.js +0 -4
- package/out/_next/static/chunks/turbopack-c591d2745fa15d21.js +0 -4
- package/out/_next/static/chunks/turbopack-c8571e964151ac28.js +0 -4
- package/out/_next/static/chunks/turbopack-d63bf3c7c777dd62.js +0 -4
- package/out/_next/static/chunks/turbopack-dad3b69ace8a1494.js +0 -4
- package/out/_next/static/chunks/turbopack-df7e52dcd1556ac5.js +0 -4
- package/out/_next/static/chunks/turbopack-e132e6cf72537554.js +0 -4
- package/out/_next/static/chunks/turbopack-e947ab9c20152a6d.js +0 -4
- package/out/_next/static/chunks/turbopack-eae6869759d81697.js +0 -4
- package/out/_next/static/chunks/turbopack-eeeab7ca960c13cc.js +0 -4
- package/out/_next/static/chunks/turbopack-f0612a61ecc725d6.js +0 -4
- package/out/_next/static/chunks/turbopack-f4f6b0f60ab30b4a.js +0 -4
- package/out/_next/static/chunks/turbopack-fac592123c8b5c14.js +0 -4
- /package/out/_next/static/{LwzGrKYFysZkSMLq4V2qC → N4ZykTcWoLUOIWmA5GZc9}/_ssgManifest.js +0 -0
- /package/out/_next/static/chunks/{a07ce58daa89e354.js → 0.7jou~9s-9ly.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/{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
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
__turbopack_load_page_chunks__("/language/new", [
|
|
2
|
+
"static/chunks/0jy9qkxxq2k8m.js",
|
|
3
|
+
"static/chunks/14e4xylnze3x2.js",
|
|
4
|
+
"static/chunks/046~w9shfdja6.js",
|
|
5
|
+
"static/chunks/0zxwd28vfhh3j.js",
|
|
6
|
+
"static/chunks/0_bohk37n03zc.js",
|
|
7
|
+
"static/chunks/0fiu9kb2mg_pe.js",
|
|
8
|
+
"static/chunks/12e_gn-hj1ad4.js",
|
|
9
|
+
"static/chunks/07_4agv0uff.h.js",
|
|
10
|
+
"static/chunks/181fxym9wgh_m.js",
|
|
11
|
+
"static/chunks/turbopack-01x7kt6kdqflp.js"
|
|
12
|
+
])
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,56510,e=>{"use strict";var t=e.i(69178),s=e.i(13071),a=e.i(98183),r=e.i(23518);e.s(["default",0,({cancelText:e=null,showCancel:i=!0,submitText:l=null,showSubmit:n=!0,onCancel:o,className:d=""})=>{let{formatMessage:u}=(0,a.useIntl)();return(0,t.jsxs)("span",{className:(0,s.default)("flex shrink-0 items-center space-x-4 py-5 pl-1",d),children:[i?(0,t.jsx)("button",{onClick:o,"data-id":"cancel_update",type:"button",className:(0,s.default)("focus:ring-slate-800","inline-flex items-center rounded-md border border-slate-300 dark:border-slate-700 bg-white dark:bg-slate-800 px-4 py-2 text-sm font-medium text-slate-700 dark:text-slate-300 shadow-xs hover:bg-slate-50 dark:hover:bg-slate-700 focus:outline-hidden focus:ring-2 focus:ring-slate-800 focus:ring-offset-2"),children:e||u({id:"cancel",defaultMessage:"Cancel"})}):null,n?(0,t.jsx)(r.default,{label:l||u({id:"save",defaultMessage:"Save"})}):null]})}])},47822,e=>{"use strict";var t=e.i(69178),s=e.i(13071);e.s(["default",0,({value:e,className:a,onChange:r=()=>{},rows:i=7,...l})=>{let n=Math.max(e?e.split("\n").length:1,i);return(0,t.jsx)("textarea",{className:(0,s.default)("text-black dark:bg-slate-900 dark:text-slate-200 border-transparent border-t border-t-slate-200 dark:border-t-slate-800 resize-y",a),value:e,onChange:r,rows:n,...l})}])},36187,e=>{"use strict";var t=e.i(69178),s=e.i(13071),a=e.i(47822),r=e.i(4142),i=e.i(88500);e.s(["default",0,({validators:e=[],rows:l=10,...n})=>{let o=(0,r.default)({...n,validators:[...e,{isValid:e=>{try{return JSON?.parse(e),!0}catch(e){return!1}},intlMessageDescriptor:{id:"invalid_json_input",defaultMessage:"Invalid JSON input"}}]});return(0,t.jsx)(i.default,{...o,children:(0,t.jsx)(a.default,{className:(0,s.default)("mt-1 block w-full max-w-full rounded-md border-1 border-slate-300 dark:border-slate-800 dark:bg-slate-900 dark:text-slate-200 shadow-xs dark:shadow-none focus:ring-slate-800 sm:text-sm",{"border-rose-300 text-rose-600 focus:border-rose-600 focus:ring-rose-600":!!o.error},n.className),disabled:o.disabled,id:o.name,name:o.name,onChange:e=>{try{JSON.parse(e.target.value||"{}"),o.setError("")}catch(e){o.setError(e.message?.replace("JSON.parse",""))}finally{o.setValue(e.target.value,!0),o.setTouched(!0)}},onBlur:e=>{try{o.setValue(JSON.stringify(JSON.parse(e.target.value),void 0,2),!0),o.setError("")}catch(e){o.setError(e.message)}},placeholder:o.placeholder,autoComplete:o.autoComplete,value:o.value})})}])},25863,e=>{"use strict";e.s(["default",0,e=>e?e?.username?e.username:e?.profile?.displayName?e?.profile?.displayName:e?.profile?.address?.firstName||e?.profile?.address?.lastName?`${e?.profile?.address?.firstName} ${e?.profile?.address?.lastName}`:e?.name?e.name:e.isGuest?e?.primaryEmail?.address?.split(".")?.[0]:null:null])},6356,e=>{"use strict";e.s(["default",0,(e={})=>{let{_id:t,texts:s}=e||{};return s||t?`${s?.slug?.split("/").join("")||""}_id_${t}`:null},"parseSlug",0,e=>{if(!e)return null;let[t]=e?.split("_id_")||[];return t},"parseUniqueId",0,e=>{if(!e)return null;let t=e?.split("_id_");return t?.pop()}])},17362,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a={VALID_LOADERS:function(){return i},imageConfigDefault:function(){return l}};for(var r in a)Object.defineProperty(s,r,{enumerable:!0,get:a[r]});let i=["default","imgix","cloudinary","akamai","custom"],l={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],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,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"ImageConfigContext",{enumerable:!0,get:function(){return i}});let a=e.r(23726)._(e.r(1415)),r=e.r(17362),i=a.default.createContext(r.imageConfigDefault)},27946,(e,t,s)=>{"use strict";function a({widthInt:e,heightInt:t,blurWidth:s,blurHeight:r,blurDataURL:i,objectFit:l}){let n=s?40*s:e,o=r?40*r:t,d=n&&o?`viewBox='0 0 ${n} ${o}'`:"";return`%3Csvg xmlns='http://www.w3.org/2000/svg' ${d}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${d?"none":"contain"===l?"xMidYMid":"cover"===l?"xMidYMid slice":"none"}' style='filter: url(%23b);' href='${i}'/%3E%3C/svg%3E`}Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"getImageBlurSvg",{enumerable:!0,get:function(){return a}})},6611,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"getImgProps",{enumerable:!0,get:function(){return d}}),e.r(59523);let a=e.r(50907),r=e.r(27946),i=e.r(17362),l=["-moz-initial","fill","none","scale-down",void 0];function n(e){return void 0!==e.default}function o(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function d({src:e,sizes:t,unoptimized:s=!1,priority:u=!1,preload:c=!1,loading:m,className:f,quality:x,width:g,height:h,fill:p=!1,style:b,overrideSrc:j,onLoad:v,onLoadingComplete:w,placeholder:y="empty",blurDataURL:N,fetchPriority:E,decoding:C="async",layout:k,objectFit:_,objectPosition:S,lazyBoundary:I,lazyRoot:q,...O},M){var P;let R,D,L,{imgConf:$,showAltText:T,blurComplete:z,defaultLoader:F}=M,Q=$||i.imageConfigDefault;if("allSizes"in Q)R=Q;else{let e=[...Q.deviceSizes,...Q.imageSizes].sort((e,t)=>e-t),t=Q.deviceSizes.sort((e,t)=>e-t),s=Q.qualities?.sort((e,t)=>e-t);R={...Q,allSizes:e,deviceSizes:t,qualities:s}}if(void 0===F)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let A=O.loader||F;delete O.loader,delete O.srcSet;let B="__next_img_default"in A;if(B){if("custom"===R.loader)throw Object.defineProperty(Error(`Image with src "${e}" is missing "loader" prop.
|
|
2
|
+
Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=A;A=t=>{let{config:s,...a}=t;return e(a)}}if(k){"fill"===k&&(p=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[k];e&&(b={...b,...e});let s={responsive:"100vw",fill:"100vw"}[k];s&&!t&&(t=s)}let J="",U=o(g),W=o(h);if((P=e)&&"object"==typeof P&&(n(P)||void 0!==P.src)){let t=n(e)?e.default:e;if(!t.src)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!t.height||!t.width)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(D=t.blurWidth,L=t.blurHeight,N=N||t.blurDataURL,J=t.src,!p)if(U||W){if(U&&!W){let e=U/t.width;W=Math.round(t.height*e)}else if(!U&&W){let e=W/t.height;U=Math.round(t.width*e)}}else U=t.width,W=t.height}let G=!u&&!c&&("lazy"===m||void 0===m);(!(e="string"==typeof e?e:J)||e.startsWith("data:")||e.startsWith("blob:"))&&(s=!0,G=!1),R.unoptimized&&(s=!0),B&&!R.dangerouslyAllowSVG&&e.split("?",1)[0].endsWith(".svg")&&(s=!0);let V=o(x),X=Object.assign(p?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:_,objectPosition:S}:{},T?{}:{color:"transparent"},b),Z=z||"empty"===y?null:"blur"===y?`url("data:image/svg+xml;charset=utf-8,${(0,r.getImageBlurSvg)({widthInt:U,heightInt:W,blurWidth:D,blurHeight:L,blurDataURL:N||"",objectFit:X.objectFit})}")`:`url("${y}")`,H=l.includes(X.objectFit)?"fill"===X.objectFit?"100% 100%":"cover":X.objectFit,K=Z?{backgroundSize:H,backgroundPosition:X.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:Z}:{},Y=function({config:e,src:t,unoptimized:s,width:r,quality:i,sizes:l,loader:n}){if(s){if(t.startsWith("/")&&!t.startsWith("//")){let e=(0,a.getDeploymentId)();if(e){let s=t.indexOf("?");if(-1!==s){let a=new URLSearchParams(t.slice(s+1));a.get("dpl")||(a.append("dpl",e),t=t.slice(0,s)+"?"+a.toString())}else t+=`?dpl=${e}`}}return{src:t,srcSet:void 0,sizes:void 0}}let{widths:o,kind:d}=function({deviceSizes:e,allSizes:t},s,a){if(a){let s=/(^|\s)(1?\d?\d)vw/g,r=[];for(let e;e=s.exec(a);)r.push(parseInt(e[2]));if(r.length){let s=.01*Math.min(...r);return{widths:t.filter(t=>t>=e[0]*s),kind:"w"}}return{widths:t,kind:"w"}}return"number"!=typeof s?{widths:e,kind:"w"}:{widths:[...new Set([s,2*s].map(e=>t.find(t=>t>=e)||t[t.length-1]))],kind:"x"}}(e,r,l),u=o.length-1;return{sizes:l||"w"!==d?l:"100vw",srcSet:o.map((s,a)=>`${n({config:e,src:t,quality:i,width:s})} ${"w"===d?s:a+1}${d}`).join(", "),src:n({config:e,src:t,quality:i,width:o[u]})}}({config:R,src:e,unoptimized:s,width:U,quality:V,sizes:t,loader:A}),ee=G?"lazy":m;return{props:{...O,loading:ee,fetchPriority:E,width:U,height:W,decoding:C,className:f,style:{...X,...K},sizes:Y.sizes,srcSet:Y.srcSet,src:j||Y.src},meta:{unoptimized:s,preload:c||u,placeholder:y,fill:p}}}},73837,(e,t,s)=>{"use strict";function a(e,t){let s=e||75;return t?.qualities?.length?t.qualities.reduce((e,t)=>Math.abs(t-s)<Math.abs(e-s)?t:e,t.qualities[0]):s}Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"findClosestQuality",{enumerable:!0,get:function(){return a}})},47189,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"default",{enumerable:!0,get:function(){return l}});let a=e.r(73837),r=e.r(50907);function i({config:e,src:t,width:s,quality:l}){let n=(0,r.getDeploymentId)();if(t.startsWith("/")&&!t.startsWith("//")){let e=t.indexOf("?");if(-1!==e){let s=new URLSearchParams(t.slice(e+1)),a=s.get("dpl");if(a){n=a,s.delete("dpl");let r=s.toString();t=t.slice(0,e)+(r?"?"+r:"")}}}if(t.startsWith("/")&&t.includes("?")&&e.localPatterns?.length===1&&"**"===e.localPatterns[0].pathname&&""===e.localPatterns[0].search)throw Object.defineProperty(Error(`Image with src "${t}" is using a query string which is not configured in images.localPatterns.
|
|
3
|
+
Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,configurable:!0});let o=(0,a.findClosestQuality)(l,e);return`${e.path}?url=${encodeURIComponent(t)}&w=${s}&q=${o}${t.startsWith("/")&&n?`&dpl=${n}`:""}`}i.__next_img_default=!0;let l=i},68610,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"Image",{enumerable:!0,get:function(){return v}});let a=e.r(23726),r=e.r(10902),i=e.r(69178),l=r._(e.r(1415)),n=a._(e.r(93736)),o=a._(e.r(84437)),d=e.r(6611),u=e.r(17362),c=e.r(76648);e.r(59523);let m=e.r(73757),f=a._(e.r(47189)),x=e.r(77902),g={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0};function h(e,t,s,a,r,i,l){let n=e?.src;e&&e["data-loaded-src"]!==n&&(e["data-loaded-src"]=n,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&r(!0),s?.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let a=!1,r=!1;s.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>a,isPropagationStopped:()=>r,persist:()=>{},preventDefault:()=>{a=!0,t.preventDefault()},stopPropagation:()=>{r=!0,t.stopPropagation()}})}a?.current&&a.current(e)}}))}function p(e){return l.use?{fetchPriority:e}:{fetchpriority:e}}"u"<typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let b=(0,l.forwardRef)(({src:e,srcSet:t,sizes:s,height:a,width:r,decoding:n,className:o,style:d,fetchPriority:u,placeholder:c,loading:m,unoptimized:f,fill:g,onLoadRef:b,onLoadingCompleteRef:j,setBlurComplete:v,setShowAltText:w,sizesInput:y,onLoad:N,onError:E,...C},k)=>{let _=(0,l.useCallback)(e=>{e&&(E&&(e.src=e.src),e.complete&&h(e,c,b,j,v,f,y))},[e,c,b,j,v,E,f,y]),S=(0,x.useMergedRef)(k,_);return(0,i.jsx)("img",{...C,...p(u),loading:m,width:r,height:a,decoding:n,"data-nimg":g?"fill":"1",className:o,style:d,sizes:s,srcSet:t,src:e,ref:S,onLoad:e=>{h(e.currentTarget,c,b,j,v,f,y)},onError:e=>{w(!0),"empty"!==c&&v(!0),E&&E(e)}})});function j({isAppRouter:e,imgAttributes:t}){let s={as:"image",imageSrcSet:t.srcSet,imageSizes:t.sizes,crossOrigin:t.crossOrigin,referrerPolicy:t.referrerPolicy,...p(t.fetchPriority)};return e&&n.default.preload?(n.default.preload(t.src,s),null):(0,i.jsx)(o.default,{children:(0,i.jsx)("link",{rel:"preload",href:t.srcSet?void 0:t.src,...s},"__nimg-"+t.src+t.srcSet+t.sizes)})}let v=(0,l.forwardRef)((e,t)=>{let s=(0,l.useContext)(m.RouterContext),a=(0,l.useContext)(c.ImageConfigContext),r=(0,l.useMemo)(()=>{let e=g||a||u.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),s=e.deviceSizes.sort((e,t)=>e-t),r=e.qualities?.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:s,qualities:r,localPatterns:"u"<typeof window?a?.localPatterns:e.localPatterns}},[a]),{onLoad:n,onLoadingComplete:o}=e,x=(0,l.useRef)(n);(0,l.useEffect)(()=>{x.current=n},[n]);let h=(0,l.useRef)(o);(0,l.useEffect)(()=>{h.current=o},[o]);let[p,v]=(0,l.useState)(!1),[w,y]=(0,l.useState)(!1),{props:N,meta:E}=(0,d.getImgProps)(e,{defaultLoader:f.default,imgConf:r,blurComplete:p,showAltText:w});return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(b,{...N,unoptimized:E.unoptimized,placeholder:E.placeholder,fill:E.fill,onLoadRef:x,onLoadingCompleteRef:h,setBlurComplete:v,setShowAltText:y,sizesInput:e.sizes,ref:t}),E.preload?(0,i.jsx)(j,{isAppRouter:!s,imgAttributes:N}):null]})});("function"==typeof s.default||"object"==typeof s.default&&null!==s.default)&&void 0===s.default.__esModule&&(Object.defineProperty(s.default,"__esModule",{value:!0}),Object.assign(s.default,s),t.exports=s.default)},537,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a={default:function(){return u},getImageProps:function(){return d}};for(var r in a)Object.defineProperty(s,r,{enumerable:!0,get:a[r]});let i=e.r(23726),l=e.r(6611),n=e.r(68610),o=i._(e.r(47189));function d(e){let{props:t}=(0,l.getImgProps)(e,{defaultLoader:o.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[e,s]of Object.entries(t))void 0===s&&delete t[e];return{props:t}}let u=n.Image},78338,(e,t,s)=>{t.exports=e.r(537)},53041,9570,e=>{"use strict";var t=e.i(69178),s=e.i(78338),a=e.i(1415),r=e.i(98183);let i=({src:e,width:t,quality:s=75})=>e?`${e}?w=${t}&q=${s}`:"/no-image.jpg";e.s(["default",0,i],9570);let l=({className:e="w-full h-full",width:s=200,height:a=200})=>(0,t.jsxs)("svg",{width:s,height:a,viewBox:"0 0 200 200",fill:"none",className:e,xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("rect",{x:"10",y:"10",width:"180",height:"180",rx:"8",stroke:"currentColor",strokeWidth:"3",strokeDasharray:"8 4",fill:"transparent",className:"text-slate-800 dark:text-slate-400"}),(0,t.jsx)("rect",{x:"40",y:"40",width:"120",height:"80",rx:"4",stroke:"currentColor",strokeWidth:"3",fill:"transparent"}),(0,t.jsx)("path",{d:"M50 100 L70 80 L90 95 L110 75 L130 90 L150 70",stroke:"currentColor",strokeWidth:"3",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),(0,t.jsx)("circle",{cx:"130",cy:"55",r:"8",stroke:"currentColor",strokeWidth:"3",fill:"transparent"}),(0,t.jsx)("text",{x:"100",y:"145",textAnchor:"middle",className:"text-slate-800 dark:text-slate-300 text-sm font-semibold",fill:"currentColor",children:"No Image"})]});e.s(["default",0,({fallbackSrc:e="",src:n,...o})=>{let[d,u]=(0,a.useState)(n),[c,m]=(0,a.useState)(!1),{formatMessage:f}=(0,r.useIntl)();return c||!d?(0,t.jsx)("div",{className:o.className||"w-full h-full flex items-center justify-center bg-slate-50 dark:bg-slate-800",children:(0,t.jsx)(l,{width:o.width||200,height:o.height||200,className:"max-w-full max-h-full"})}):(0,t.jsx)(s.default,{src:d,loader:i,alt:f({id:"image-not-found",defaultMessage:"Image not found"}),...o,onError:()=>{e&&d!==e?u(e):m(!0)}})}],53041)},666,e=>{"use strict";var t=e.i(1415);let s=t.forwardRef(function({title:e,titleId:s,...a},r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":s},a),e?t.createElement("title",{id:s},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.982 18.725A7.488 7.488 0 0 0 12 15.75a7.488 7.488 0 0 0-5.982 2.975m11.963 0a9 9 0 1 0-11.963 0m11.963 0A8.966 8.966 0 0 1 12 21a8.966 8.966 0 0 1-5.982-2.275M15 9.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))});e.s(["UserCircleIcon",0,s],666)},89145,e=>{"use strict";var t=e.i(69178),s=e.i(98183),a=e.i(72670),r=e.i(39381);let i={PENDING:"bg-yellow-100 text-yellow-800",CONFIRMED:"bg-blue-100 text-blue-800",OPEN:"bg-gray-100 text-gray-800",FULFILLED:"bg-green-100 text-green-800",REJECTED:"bg-red-100 text-red-800"};e.s(["OrderStatusBadge",0,({status:e,className:l=""})=>{let{formatMessage:n}=(0,s.useIntl)(),o={PENDING:n({id:"pending",defaultMessage:"PENDING"}),CONFIRMED:n({id:"confirmed",defaultMessage:"CONFIRMED"}),OPEN:n({id:"open",defaultMessage:"OPEN"}),FULFILLED:n({id:"fulfilled",defaultMessage:"FULFILLED"}),REJECTED:n({id:"rejected",defaultMessage:"REJECTED"})},d=o?.[e]??n({id:"cart",defaultMessage:"Cart"});return i?.[e],(0,t.jsx)(a.default,{text:d,color:r.ORDER_STATUSES[e],square:!0,className:`uppercase ${l}`})}])},92699,e=>{"use strict";var t=e.i(1415);let s=t.forwardRef(function({title:e,titleId:s,...a},r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":s},a),e?t.createElement("title",{id:s},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 12.75 6 6 9-13.5"}))});e.s(["CheckIcon",0,s],92699)},39472,e=>{"use strict";var t=e.i(1415);let s=t.forwardRef(function({title:e,titleId:s,...a},r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":s},a),e?t.createElement("title",{id:s},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))});e.s(["CheckCircleIcon",0,s],39472)},3130,24278,e=>{"use strict";var t=e.i(69178),s=e.i(98183),a=e.i(39472),r=e.i(1415);let i=r.forwardRef(function({title:e,titleId:t,...s},a){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},s),e?r.createElement("title",{id:t},e):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m9.75 9.75 4.5 4.5m0-4.5-4.5 4.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))});e.s(["XCircleIcon",0,i],24278);var l=e.i(666),n=e.i(30758),o=e.i(25863),d=e.i(53041);let u=({username:e})=>(0,t.jsx)(l.UserCircleIcon,{className:"h-8 w-8 text-slate-800 dark:text-slate-600"});e.s(["default",0,({user:e,contact:r})=>{let{formatMessage:l}=(0,s.useIntl)();return(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"h-8 w-8 rounded-full",children:e?.avatar?(0,t.jsx)(d.default,{src:e.avatar.url,alt:e.name||e.username,width:100,height:100}):(0,t.jsx)(u,{username:e?.username})}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-4",children:[(0,t.jsx)("div",{className:"flex items-center justify-between gap-3 flex-wrap",children:(0,t.jsxs)("span",{className:"flex items-center",children:[(0,t.jsx)("h3",{className:"text-xl font-semibold capitalize",children:(0,t.jsx)(n.default,{href:`/users?userId=${e?._id}`,className:"text-slate-800 dark:text-slate-300 hover:text-slate-900 dark:hover:text-slate-600",children:(0,o.default)(e)})}),e?.primaryEmail?.verified&&(0,t.jsxs)("dl",{className:"self-end",children:[(0,t.jsx)("dt",{className:"sr-only",children:l({id:"account_status",defaultMessage:"Account status"})}),(0,t.jsx)("dd",{className:"mt-3 flex items-center self-end text-sm font-medium capitalize text-slate-900 sm:mr-6 sm:mt-0",children:e?.primaryEmail?.verified?(0,t.jsx)(a.CheckCircleIcon,{className:"h-4 w-4 shrink-0 text-emerald-400","aria-hidden":"true"}):(0,t.jsx)(i,{className:"h-4 w-4 shrink-0 text-rose-400","aria-hidden":"true"})})]})]})}),r?.emailAddress&&(0,t.jsx)("div",{children:r.emailAddress}),r?.telNumber&&(0,t.jsx)("div",{children:r.telNumber})]})]})}],3130)},39759,e=>{"use strict";var t=e.i(69178),s=e.i(98183),a=e.i(92699),r=e.i(70079),i=e.i(81907),l=e.i(89145);e.s(["default",0,({data:e,statusTypes:n,timeline:o})=>{let{formatMessage:d}=(0,s.useIntl)(),{formatDateTime:u}=(0,r.default)(),{content:c={},id:m}=o[e?.status]||{},f=n.filter(({value:e})=>o[e]?.visible);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"flow-root sm:hidden",children:(0,t.jsx)("ul",{className:"my-4",children:f.map(({value:s,label:r},l)=>(0,t.jsx)("li",{children:(0,t.jsxs)("div",{className:"relative pb-8",children:[l!==f.length-1?(0,t.jsx)("span",{className:(0,i.classNames)(m>l+1?"bg-slate-900":"bg-slate-200","absolute top-2.5 left-2.5 -ml-px h-full w-0.5"),"aria-hidden":"true"}):null,(0,t.jsxs)("div",{className:"relative flex items-center space-x-3",children:[(0,t.jsx)("div",{children:(0,t.jsx)("span",{className:(0,i.classNames)(m>l?"bg-slate-900":"bg-slate-600","flex h-5 w-5 items-center justify-center rounded-full"),children:m>l?(0,t.jsx)(a.CheckIcon,{className:"h-5 w-5 text-white","aria-hidden":"true"}):null})}),(0,t.jsxs)("div",{className:"ml-4 flex min-w-0 flex-1 items-center justify-between",children:[(0,t.jsx)("div",{className:"flex-auto",children:(0,t.jsx)("p",{className:"text-sm text-slate-500",children:(0,t.jsxs)("span",{className:"flex w-full items-center justify-between text-slate-900 dark:text-slate-200",children:[s,o[s]?.Component&&o[s].Component]})})}),m>=o[s].id?(0,t.jsx)("div",{className:"whitespace-nowrap text-right text-sm text-slate-500 dark:text-slate-200 ml-4",children:e[o?.[s]?.content]?u(e[o?.[s]?.content],{dateStyle:"short",timeStyle:"short"}):null}):null]})]})]})},`${s}${r}`))})}),(0,t.jsxs)("div",{className:" p-4 bg-white shadow-sm dark:shadow-none dark:border dark:border-slate-700 sm:rounded-lg dark:bg-slate-900",children:[(0,t.jsxs)("p",{className:"font-medium flex items-center justify-between",children:[(0,t.jsx)(l.OrderStatusBadge,{status:e.status}),(0,t.jsx)("span",{children:e[c]?u(e[c],{dateStyle:"full",timeStyle:"medium"}):d({id:"in_cart",defaultMessage:"In cart"})})]}),(0,t.jsx)("div",{className:"mt-2","aria-hidden":"true",children:(0,t.jsx)("div",{className:"mt-2 hidden text-sm font-medium text-slate-600 sm:flex",children:f.map(({value:s,label:a})=>(0,t.jsxs)("div",{className:"sm:flex-auto",children:[(0,t.jsx)("div",{className:"relative mb-4 mr-1",children:(0,t.jsx)("span",{className:(0,i.classNames)(m>=o[s].id?e?.status==="CONFIRMED"?"bg-lime-600":e?.status==="PENDING"?"bg-amber-600":e?.status==="OPEN"?"bg-sky-600":"bg-emerald-600":"bg-slate-200 dark:bg-slate-700","absolute top-0 left-0 -ml-px h-2 w-full"),"aria-hidden":"true"})}),(0,t.jsxs)("div",{className:(0,i.classNames)(m>=o[s].id?"text-slate-900":"opacity-50","text-start"),children:[(0,t.jsx)("span",{className:"text-slate-900 dark:text-slate-400 uppercase",children:o[s]?.Component?o[s].Component:"CONFIRMED"===s?d({id:"confirmed",defaultMessage:"CONFIRMED"}):"PENDING"===s?d({id:"pending",defaultMessage:"PENDING"}):"OPEN"===s?d({id:"open",defaultMessage:"OPEN"}):"FULFILLED"===s?d({id:"fulfilled",defaultMessage:"FULFILLED"}):"REJECTED"===s?d({id:"rejected",defaultMessage:"REJECTED"}):s}),(0,t.jsx)("span",{className:"block text-slate-900 dark:text-slate-100",children:m>=o?.[s]?.id?u(e[o?.[s]?.content],{dateStyle:"short",timeStyle:"short"}):null})]})]},`${s}${a}`))})})]})]})}])},28389,e=>{"use strict";var t=e.i(1415);let s=t.forwardRef(function({title:e,titleId:s,...a},r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":s},a),e?t.createElement("title",{id:s},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 12 3.269 3.125A59.769 59.769 0 0 1 21.485 12 59.768 59.768 0 0 1 3.27 20.875L5.999 12Zm0 0h7.5"}))});e.s(["PaperAirplaneIcon",0,s],28389)},34742,e=>{"use strict";var t=e.i(69178),s=e.i(98183),a=e.i(23529),r=e.i(51443),i=e.i(71588),l=e.i(30758),n=e.i(28389),o=e.i(24278),d=e.i(39759),u=e.i(71983),c=e.i(13699);let m=u.gql`
|
|
4
|
+
query QuotationStatus {
|
|
5
|
+
quotationStatusType: __type(name: "QuotationStatus") {
|
|
6
|
+
options: enumValues {
|
|
7
|
+
value: name
|
|
8
|
+
label: description
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
`;var f=e.i(93734),x=e.i(31891),g=e.i(13686);let h=u.gql`
|
|
13
|
+
fragment QuotationDetailFragment on Quotation {
|
|
14
|
+
_id
|
|
15
|
+
user {
|
|
16
|
+
_id
|
|
17
|
+
username
|
|
18
|
+
avatar {
|
|
19
|
+
_id
|
|
20
|
+
url
|
|
21
|
+
}
|
|
22
|
+
name
|
|
23
|
+
primaryEmail {
|
|
24
|
+
verified
|
|
25
|
+
address
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
configuration {
|
|
29
|
+
key
|
|
30
|
+
value
|
|
31
|
+
}
|
|
32
|
+
country {
|
|
33
|
+
_id
|
|
34
|
+
isoCode
|
|
35
|
+
flagEmoji
|
|
36
|
+
name
|
|
37
|
+
}
|
|
38
|
+
currency {
|
|
39
|
+
_id
|
|
40
|
+
isoCode
|
|
41
|
+
isActive
|
|
42
|
+
}
|
|
43
|
+
product {
|
|
44
|
+
_id
|
|
45
|
+
texts {
|
|
46
|
+
_id
|
|
47
|
+
slug
|
|
48
|
+
subtitle
|
|
49
|
+
title
|
|
50
|
+
description
|
|
51
|
+
}
|
|
52
|
+
media {
|
|
53
|
+
_id
|
|
54
|
+
file {
|
|
55
|
+
_id
|
|
56
|
+
type
|
|
57
|
+
url
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
status
|
|
62
|
+
created
|
|
63
|
+
expires
|
|
64
|
+
updated
|
|
65
|
+
isExpired
|
|
66
|
+
quotationNumber
|
|
67
|
+
fulfilled
|
|
68
|
+
rejected
|
|
69
|
+
}
|
|
70
|
+
`,p=u.gql`
|
|
71
|
+
mutation VerifyQuotation($quotationId: ID!, $quotationContext: JSON) {
|
|
72
|
+
verifyQuotation(
|
|
73
|
+
quotationId: $quotationId
|
|
74
|
+
quotationContext: $quotationContext
|
|
75
|
+
) {
|
|
76
|
+
...QuotationDetailFragment
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
${h}
|
|
80
|
+
`;var b=e.i(70079),j=e.i(72670),v=e.i(3130),w=e.i(81907);let y=({quotation:e})=>{let{formatMessage:a,locale:r}=(0,s.useIntl)(),{formatDateTime:i}=(0,b.default)();return(0,t.jsxs)("section",{children:[(0,t.jsx)(v.default,{user:e?.user,contact:e?.contact}),(0,t.jsxs)("div",{className:"mt-2 flex border-b border-slate-300 dark:border-slate-800 pb-2 text-sm",children:[(0,t.jsxs)("dl",{className:"flex flex-wrap items-center gap-1",children:[(0,t.jsxs)("dt",{className:"hidden capitalize text-slate-500 sm:block",children:[a({id:"quotation",defaultMessage:"quotation"}),"# "]}),(0,t.jsxs)("dd",{className:"inline-flex text-lg font-medium text-slate-900 sm:text-xl sm:font-semibold",children:[(0,t.jsx)("span",{className:"sm:hidden",children:"# "}),e?.quotationNumber?(0,t.jsx)(j.default,{text:e?.quotationNumber,color:"slate",square:!0,className:"text-lg font-medium sm:text-xl sm:font-semibold"}):(0,t.jsx)(j.default,{text:a({id:"requested",defaultMessage:"Requested"}),color:"yellow",className:"text-lg font-medium sm:text-xl sm:font-semibold"})]}),(0,t.jsx)("dt",{children:(0,t.jsx)("span",{className:"sr-only",children:a({id:"date",defaultMessage:"Date"})})}),(0,t.jsx)("dd",{className:"font-medium text-slate-900",children:e?.ordered&&i(e?.ordered,{timeStyle:"short",dateStyle:"full"})})]}),(0,t.jsxs)("div",{className:"ml-auto flex flex-wrap items-center justify-center gap-x-2 gap-y-1 text-sm text-slate-900 sm:text-base",children:[(0,t.jsx)("span",{children:e?.country?.flagEmoji}),(0,t.jsx)("span",{children:(0,w.normalizeCurrencyISOCode)(r,e?.currency?.isoCode)}),(0,t.jsx)("span",{children:e?.currency?.isoCode&&(0,t.jsx)(j.default,{text:e?.currency?.isoCode,color:"amber",className:"px-2 py-0 sm:py-1",square:!0})})]})]})]})},N=u.gql`
|
|
81
|
+
mutation RejectQuotation($quotationId: ID!, $quotationContext: JSON) {
|
|
82
|
+
rejectQuotation(
|
|
83
|
+
quotationId: $quotationId
|
|
84
|
+
quotationContext: $quotationContext
|
|
85
|
+
) {
|
|
86
|
+
...QuotationDetailFragment
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
${h}
|
|
90
|
+
`;var E=e.i(6356),C=e.i(92699),k=e.i(56510),_=e.i(62010),S=e.i(36187),I=e.i(5641);let q=({successMessage:e,onSubmit:a,onCancel:r,icon:i=null,headerText:l,submitButtonText:n})=>{let{formatMessage:o}=(0,s.useIntl)(),d=o({id:"quotation_updated",defaultMessage:"Quotation updated successfuly"}),u=(0,I.default)({submit:a,successMessage:e??d,onSubmitSuccess:r,initialValues:{quotationContext:null}});return(0,t.jsxs)(_.default,{form:u,id:"quotation_configuration",children:[(0,t.jsxs)("div",{className:"flex items-center text-center mb-3",children:[i||(0,t.jsx)("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-emerald-100 dark:bg-emerald-900/30",children:(0,t.jsx)(C.CheckIcon,{className:"h-8 w-8 text-emerald-600 dark:text-emerald-400",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true"})}),(0,t.jsx)("div",{className:"text-center",children:(0,t.jsx)("h3",{className:"text-lg text-slate-900 dark:text-slate-200",id:"modal-title",children:l})})]}),(0,t.jsx)("div",{children:(0,t.jsx)(S.default,{name:"quotationContext",required:!1,label:o({id:"quotation-context-input-label",defaultMessage:"Quotation context"}),rows:10,labelClassName:"text-sm font-medium text-slate-500 mb-2"})}),(0,t.jsx)("div",{className:"border border-t-slate-100 bg-slate-50 mt-6 -mx-5 -mb-6 dark:bg-slate-500 dark:border-0",children:(0,t.jsx)(k.default,{onCancel:r,submitText:n,className:"justify-end "})})]})},O=u.gql`
|
|
91
|
+
mutation MakeQuotationProposal($quotationId: ID!, $quotationContext: JSON) {
|
|
92
|
+
makeQuotationProposal(
|
|
93
|
+
quotationId: $quotationId
|
|
94
|
+
quotationContext: $quotationContext
|
|
95
|
+
) {
|
|
96
|
+
...QuotationDetailFragment
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
${h}
|
|
100
|
+
`;var M=e.i(47822),P=e.i(53041);let R=({quotation:e})=>{let{formatMessage:a}=(0,s.useIntl)(),{setModal:r}=(0,x.default)(),{quotationStatusTypes:i}=(()=>{let{data:e,loading:t,error:s}=(0,c.useQuery)(m);return{quotationStatusTypes:e?.quotationStatusType?.options||[],loading:t,error:s}})(),{VerifyQuotation:u}=(()=>{let[e]=(0,g.useMutation)(p);return{VerifyQuotation:async({quotationId:t=null,quotationContext:s={}})=>e({variables:{quotationId:t,quotationContext:s}})}})(),{rejectQuotation:h}=(()=>{let[e]=(0,g.useMutation)(N);return{rejectQuotation:async({quotationId:t=null,quotationContext:s={}})=>e({variables:{quotationId:t,quotationContext:s}})}})(),{makeQuotationProposal:b}=(()=>{let[e]=(0,g.useMutation)(O);return{makeQuotationProposal:async({quotationId:t=null,quotationContext:s={}})=>e({variables:{quotationId:t,quotationContext:s}})}})();if(!e)return null;let j=async()=>{await r((0,t.jsx)(q,{onSubmit:async({quotationContext:t})=>{await u({quotationId:e?._id,quotationContext:t?JSON.parse(t||null):null}),r("")},onCancel:()=>r(""),successMessage:a({id:"quotation-verified-successfully",defaultMessage:"Quotation verified successfully"}),submitButtonText:a({id:"verify-quotation-submit",defaultMessage:"Verify"}),headerText:a({id:"verify-quotation-quotation",defaultMessage:"Verify quotation?"})}))},v=async()=>{await r((0,t.jsx)(q,{onSubmit:async({quotationContext:t})=>{await h({quotationId:e?._id,quotationContext:t?JSON.parse(t||null):null}),r("")},onCancel:()=>r(""),successMessage:a({id:"quotation-rejection-successfully",defaultMessage:"Quotation rejected successfully"}),headerText:a({id:"reject-quotation-quotation",defaultMessage:"Reject quotation?"}),submitButtonText:a({id:"reject-quotation-submit",defaultMessage:"Reject"}),icon:(0,t.jsx)("div",{className:"flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-rose-100 sm:mx-0 sm:h-10 sm:w-10",children:(0,t.jsx)(o.XCircleIcon,{className:"h-6 w-6 text-rose-600"})})}))},w=async()=>{await r((0,t.jsx)(q,{onSubmit:async({quotationContext:t})=>{await b({quotationId:e?._id,quotationContext:t?JSON.parse(t||null):null}),r("")},onCancel:()=>r(""),successMessage:a({id:"quotation-quoted-successfully",defaultMessage:"Quoted successfully"}),headerText:a({id:"make-proposal-header",defaultMessage:"Make quotation proposal"}),submitButtonText:a({id:"process-quotation-submit",defaultMessage:"Mark as processed"}),icon:(0,t.jsx)("div",{className:"flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-slate-200 sm:mx-0 sm:h-10 sm:w-10 mr-3",children:(0,t.jsx)(n.PaperAirplaneIcon,{className:"h-6 w-6 text-slate-950"})})}))},C={REQUESTED:{id:1,content:"created",visible:!0,Component:e?.status==="REQUESTED"&&(0,t.jsx)(f.default,{text:"Verify",onClick:j,className:"bg-white-300 relative -ml-px inline-flex items-center space-x-2 rounded-md border border-slate-900 dark:border-slate-600 bg-slate-800 dark:bg-slate-600 px-2 py-1 text-base font-medium text-white hover:bg-slate-950 dark:hover:bg-slate-500 dark:focus:border-slate-400 focus:outline-hidden focus:ring-0 focus:ring-slate-800 dark:focus:ring-slate-400"})},PROCESSING:{id:2,content:"updated",visible:e?.status==="PROCESSING",Component:e?.status==="PROCESSING"&&(0,t.jsx)(f.default,{text:"Propose",onClick:w,className:"bg-white-300 relative -ml-px inline-flex items-center space-x-2 rounded-md border border-slate-900 dark:border-slate-600 bg-slate-800 dark:bg-slate-600 px-2 py-1 text-base font-medium text-white hover:bg-slate-950 dark:hover:bg-slate-500 dark:focus:border-slate-400 focus:outline-hidden focus:ring-0 focus:ring-slate-800 dark:focus:ring-slate-400"})},PROPOSED:{id:3,content:"updated",visible:!0},REJECTED:{id:4,content:"rejected",visible:e?.status!=="FULFILLED",Component:e?.status!=="FULFILLED"&&e?.status!=="REJECTED"&&(0,t.jsx)(f.default,{text:"Reject",onClick:v,className:"bg-white-300 relative -ml-px inline-flex items-center space-x-2 rounded-md border border-rose-500 bg-rose-500 px-2 py-2 text-base font-medium text-white hover:bg-rose-700 focus:border-rose-400 focus:outline-hidden focus:ring-0 focus:ring-rose-400"})},FULFILLED:{id:5,content:"fulfilled",visible:!0}};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(y,{quotation:e}),(0,t.jsx)(d.default,{data:e,statusTypes:i,timeline:C}),(0,t.jsx)("section",{"aria-labelledby":"products-heading",className:"my-6",children:(0,t.jsx)("div",{className:"rounded-lg border-t border-b border-slate-300 dark:border-slate-800 bg-white shadow-xs sm:border",children:(0,t.jsxs)("div",{className:"grid grid-cols-1 text-sm sm:grid-cols-12 sm:grid-rows-1 sm:gap-x-6 md:gap-x-8 lg:gap-x-8",children:[(0,t.jsx)("div",{className:"sm:col-span-4 md:col-span-5 md:row-span-2 md:row-end-2",children:(0,t.jsx)("div",{className:"m:col-span-4 rounded-lg bg-slate-50 md:col-span-5 md:row-span-2 md:row-end-2",children:(0,t.jsx)(P.default,{src:e?.product?.media[0]?.file?.url||"/no-image.jpg",layout:"responsive",width:100,height:100,alt:a({id:"image-not-found",defaultMessage:"Image not found"})})})}),(0,t.jsxs)("div",{className:"pt-6 pl-4 sm:col-span-7 md:row-end-1",children:[(0,t.jsx)("h3",{className:"text-lg font-medium text-slate-900",children:(0,t.jsx)(l.default,{href:`/products?slug=${(0,E.default)(e?.product)}`,children:e?.product?.texts?.title})}),(0,t.jsx)("p",{className:"mt-3 text-slate-500",children:e?.product?.description}),(0,t.jsx)(M.default,{disabled:!0,value:JSON.stringify((e?.configuration||[]).map(({__typename:e,...t})=>t),null,2),className:"bg-white dark:bg-slate-900 dark:text-slate-200 mt-1 block w-full rounded-md resize-none border-slate-300 dark:border-slate-800 sm:text-sm"})]})]})})})]})};var D=e.i(90575);e.s(["default",0,({quotationId:e})=>{let{formatMessage:l}=(0,s.useIntl)(),{quotation:n,loading:o}=(({quotationId:e})=>{let{customProperties:t}=(0,D.default)(),{data:s,loading:a,error:r}=(0,c.useQuery)(((e="")=>u.gql`
|
|
101
|
+
query Quotation($quotationId: ID!) {
|
|
102
|
+
quotation(quotationId: $quotationId) {
|
|
103
|
+
_id
|
|
104
|
+
...QuotationDetailFragment
|
|
105
|
+
${e}
|
|
106
|
+
}
|
|
107
|
+
quotationsCount
|
|
108
|
+
}
|
|
109
|
+
${h}
|
|
110
|
+
`)(t?.Quotation),{skip:!e,variables:{quotationId:e}});return{quotation:s?.quotation,loading:a,error:r}})({quotationId:e});return(0,t.jsxs)("div",{className:"mt-5 max-w-full",children:[(0,t.jsx)(a.default,{currentPageTitle:n?.quotationNumber??""}),(0,t.jsx)("div",{className:"items-center flex min-w-full justify-between gap-3 flex-wrap",children:(0,t.jsx)(i.default,{headerText:l({id:"quotation_detail",defaultMessage:"Quotation Detail"}),title:l({id:"quotation_detail_title",defaultMessage:"Quotation {id}"},{id:n?._id})})}),o?(0,t.jsx)(r.default,{}):(0,t.jsx)(R,{quotation:n})]})}],34742)},6782,(e,t,s)=>{let a="/quotations/QuotationDetailPage";(window.__NEXT_P=window.__NEXT_P||[]).push([a,()=>e.r(34742)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([a])})},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,2 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,1429,(t,e,o)=>{var r={229:function(t){var e,o,r,n=t.exports={};function a(){throw Error("setTimeout has not been defined")}function i(){throw Error("clearTimeout has not been defined")}try{e="function"==typeof setTimeout?setTimeout:a}catch(t){e=a}try{o="function"==typeof clearTimeout?clearTimeout:i}catch(t){o=i}function s(t){if(e===setTimeout)return setTimeout(t,0);if((e===a||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(o){try{return e.call(null,t,0)}catch(o){return e.call(this,t,0)}}}var l=[],f=!1,c=-1;function u(){f&&r&&(f=!1,r.length?l=r.concat(l):c=-1,l.length&&d())}function d(){if(!f){var t=s(u);f=!0;for(var e=l.length;e;){for(r=l,l=[];++c<e;)r&&r[c].run();c=-1,e=l.length}r=null,f=!1,function(t){if(o===clearTimeout)return clearTimeout(t);if((o===i||!o)&&clearTimeout)return o=clearTimeout,clearTimeout(t);try{o(t)}catch(e){try{return o.call(null,t)}catch(e){return o.call(this,t)}}}(t)}}function p(t,e){this.fun=t,this.array=e}function y(){}n.nextTick=function(t){var e=Array(arguments.length-1);if(arguments.length>1)for(var o=1;o<arguments.length;o++)e[o-1]=arguments[o];l.push(new p(t,e)),1!==l.length||f||s(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=y,n.addListener=y,n.once=y,n.off=y,n.removeListener=y,n.removeAllListeners=y,n.emit=y,n.prependListener=y,n.prependOnceListener=y,n.listeners=function(t){return[]},n.binding=function(t){throw Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(t){throw Error("process.chdir is not supported")},n.umask=function(){return 0}}},n={};function a(t){var e=n[t];if(void 0!==e)return e.exports;var o=n[t]={exports:{}},i=!0;try{r[t](o,o.exports,a),i=!1}finally{i&&delete n[t]}return o.exports}a.ab="/ROOT/unchained/node_modules/next/dist/compiled/process/",e.exports=a(229)},27999,(t,e,o)=>{"use strict";var r,n;e.exports=(null==(r=t.g.process)?void 0:r.env)&&"object"==typeof(null==(n=t.g.process)?void 0:n.env)?t.g.process:t.r(1429)},58995,(t,e,o)=>{"use strict";var r=Symbol.for("react.transitional.element");function n(t,e,o){var n=null;if(void 0!==o&&(n=""+o),void 0!==e.key&&(n=""+e.key),"key"in e)for(var a in o={},e)"key"!==a&&(o[a]=e[a]);else o=e;return{$$typeof:r,type:t,key:n,ref:void 0!==(e=o.ref)?e:null,props:o}}o.Fragment=Symbol.for("react.fragment"),o.jsx=n,o.jsxs=n},69178,(t,e,o)=>{"use strict";e.exports=t.r(58995)},59883,(t,e,o)=>{"use strict";var r=t.i(27999),n=Symbol.for("react.transitional.element"),a=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),c=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),m=Symbol.for("react.activity"),_=Symbol.iterator,g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v=Object.assign,h={};function b(t,e,o){this.props=t,this.context=e,this.refs=h,this.updater=o||g}function T(){}function x(t,e,o){this.props=t,this.context=e,this.refs=h,this.updater=o||g}b.prototype.isReactComponent={},b.prototype.setState=function(t,e){if("object"!=typeof t&&"function"!=typeof t&&null!=t)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")},b.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},T.prototype=b.prototype;var E=x.prototype=new T;E.constructor=x,v(E,b.prototype),E.isPureReactComponent=!0;var w=Array.isArray;function k(){}var O={H:null,A:null,T:null,S:null},S=Object.prototype.hasOwnProperty;function I(t,e,o){var r=o.ref;return{$$typeof:n,type:t,key:e,ref:void 0!==r?r:null,props:o}}function C(t){return"object"==typeof t&&null!==t&&t.$$typeof===n}var P=/\/+/g;function L(t,e){var o,r;return"object"==typeof t&&null!==t&&null!=t.key?(o=""+t.key,r={"=":"=0",":":"=2"},"$"+o.replace(/[=:]/g,function(t){return r[t]})):e.toString(36)}function R(t,e,o){if(null==t)return t;var r=[],i=0;return!function t(e,o,r,i,s){var l,f,c,u=typeof e;("undefined"===u||"boolean"===u)&&(e=null);var d=!1;if(null===e)d=!0;else switch(u){case"bigint":case"string":case"number":d=!0;break;case"object":switch(e.$$typeof){case n:case a:d=!0;break;case y:return t((d=e._init)(e._payload),o,r,i,s)}}if(d)return s=s(e),d=""===i?"."+L(e,0):i,w(s)?(r="",null!=d&&(r=d.replace(P,"$&/")+"/"),t(s,o,r,"",function(t){return t})):null!=s&&(C(s)&&(l=s,f=r+(null==s.key||e&&e.key===s.key?"":(""+s.key).replace(P,"$&/")+"/")+d,s=I(l.type,f,l.props)),o.push(s)),1;d=0;var p=""===i?".":i+":";if(w(e))for(var m=0;m<e.length;m++)u=p+L(i=e[m],m),d+=t(i,o,r,u,s);else if("function"==typeof(m=null===(c=e)||"object"!=typeof c?null:"function"==typeof(c=_&&c[_]||c["@@iterator"])?c:null))for(e=m.call(e),m=0;!(i=e.next()).done;)u=p+L(i=i.value,m++),d+=t(i,o,r,u,s);else if("object"===u){if("function"==typeof e.then)return t(function(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch("string"==typeof t.status?t.then(k,k):(t.status="pending",t.then(function(e){"pending"===t.status&&(t.status="fulfilled",t.value=e)},function(e){"pending"===t.status&&(t.status="rejected",t.reason=e)})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}}throw t}(e),o,r,i,s);throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(o=String(e))?"object with keys {"+Object.keys(e).join(", ")+"}":o)+"). If you meant to render a collection of children, use an array instead.")}return d}(t,r,"","",function(t){return e.call(o,t,i++)}),r}function N(t){if(-1===t._status){var e=t._result;(e=e()).then(function(e){(0===t._status||-1===t._status)&&(t._status=1,t._result=e)},function(e){(0===t._status||-1===t._status)&&(t._status=2,t._result=e)}),-1===t._status&&(t._status=0,t._result=e)}if(1===t._status)return t._result.default;throw t._result}var A="function"==typeof reportError?reportError:function(t){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof t&&null!==t&&"string"==typeof t.message?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if("object"==typeof r.default&&"function"==typeof r.default.emit)return void r.default.emit("uncaughtException",t);console.error(t)};o.Activity=m,o.Children={map:R,forEach:function(t,e,o){R(t,function(){e.apply(this,arguments)},o)},count:function(t){var e=0;return R(t,function(){e++}),e},toArray:function(t){return R(t,function(t){return t})||[]},only:function(t){if(!C(t))throw Error("React.Children.only expected to receive a single React element child.");return t}},o.Component=b,o.Fragment=i,o.Profiler=l,o.PureComponent=x,o.StrictMode=s,o.Suspense=d,o.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=O,o.__COMPILER_RUNTIME={__proto__:null,c:function(t){return O.H.useMemoCache(t)}},o.cache=function(t){return function(){return t.apply(null,arguments)}},o.cacheSignal=function(){return null},o.cloneElement=function(t,e,o){if(null==t)throw Error("The argument must be a React element, but you passed "+t+".");var r=v({},t.props),n=t.key;if(null!=e)for(a in void 0!==e.key&&(n=""+e.key),e)S.call(e,a)&&"key"!==a&&"__self"!==a&&"__source"!==a&&("ref"!==a||void 0!==e.ref)&&(r[a]=e[a]);var a=arguments.length-2;if(1===a)r.children=o;else if(1<a){for(var i=Array(a),s=0;s<a;s++)i[s]=arguments[s+2];r.children=i}return I(t.type,n,r)},o.createContext=function(t){return(t={$$typeof:c,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null}).Provider=t,t.Consumer={$$typeof:f,_context:t},t},o.createElement=function(t,e,o){var r,n={},a=null;if(null!=e)for(r in void 0!==e.key&&(a=""+e.key),e)S.call(e,r)&&"key"!==r&&"__self"!==r&&"__source"!==r&&(n[r]=e[r]);var i=arguments.length-2;if(1===i)n.children=o;else if(1<i){for(var s=Array(i),l=0;l<i;l++)s[l]=arguments[l+2];n.children=s}if(t&&t.defaultProps)for(r in i=t.defaultProps)void 0===n[r]&&(n[r]=i[r]);return I(t,a,n)},o.createRef=function(){return{current:null}},o.forwardRef=function(t){return{$$typeof:u,render:t}},o.isValidElement=C,o.lazy=function(t){return{$$typeof:y,_payload:{_status:-1,_result:t},_init:N}},o.memo=function(t,e){return{$$typeof:p,type:t,compare:void 0===e?null:e}},o.startTransition=function(t){var e=O.T,o={};O.T=o;try{var r=t(),n=O.S;null!==n&&n(o,r),"object"==typeof r&&null!==r&&"function"==typeof r.then&&r.then(k,A)}catch(t){A(t)}finally{null!==e&&null!==o.types&&(e.types=o.types),O.T=e}},o.unstable_useCacheRefresh=function(){return O.H.useCacheRefresh()},o.use=function(t){return O.H.use(t)},o.useActionState=function(t,e,o){return O.H.useActionState(t,e,o)},o.useCallback=function(t,e){return O.H.useCallback(t,e)},o.useContext=function(t){return O.H.useContext(t)},o.useDebugValue=function(){},o.useDeferredValue=function(t,e){return O.H.useDeferredValue(t,e)},o.useEffect=function(t,e){return O.H.useEffect(t,e)},o.useEffectEvent=function(t){return O.H.useEffectEvent(t)},o.useId=function(){return O.H.useId()},o.useImperativeHandle=function(t,e,o){return O.H.useImperativeHandle(t,e,o)},o.useInsertionEffect=function(t,e){return O.H.useInsertionEffect(t,e)},o.useLayoutEffect=function(t,e){return O.H.useLayoutEffect(t,e)},o.useMemo=function(t,e){return O.H.useMemo(t,e)},o.useOptimistic=function(t,e){return O.H.useOptimistic(t,e)},o.useReducer=function(t,e,o){return O.H.useReducer(t,e,o)},o.useRef=function(t){return O.H.useRef(t)},o.useState=function(t){return O.H.useState(t)},o.useSyncExternalStore=function(t,e,o){return O.H.useSyncExternalStore(t,e,o)},o.useTransition=function(){return O.H.useTransition()},o.version="19.2.4"},1415,(t,e,o)=>{"use strict";e.exports=t.r(59883)},23726,(t,e,o)=>{"use strict";o._=function(t){return t&&t.__esModule?t:{default:t}}},10902,(t,e,o)=>{"use strict";function r(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,o=new WeakMap;return(r=function(t){return t?o:e})(t)}o._=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=r(e);if(o&&o.has(t))return o.get(t);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if("default"!==i&&Object.prototype.hasOwnProperty.call(t,i)){var s=a?Object.getOwnPropertyDescriptor(t,i):null;s&&(s.get||s.set)?Object.defineProperty(n,i,s):n[i]=t[i]}return n.default=t,o&&o.set(t,n),n}},96651,(t,e,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0});var r={DecodeError:function(){return g},MiddlewareNotFoundError:function(){return T},MissingStaticPage:function(){return b},NormalizeError:function(){return v},PageNotFoundError:function(){return h},SP:function(){return m},ST:function(){return _},WEB_VITALS:function(){return a},execOnce:function(){return i},getDisplayName:function(){return u},getLocationOrigin:function(){return f},getURL:function(){return c},isAbsoluteUrl:function(){return l},isResSent:function(){return d},loadGetInitialProps:function(){return y},normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return x}};for(var n in r)Object.defineProperty(o,n,{enumerable:!0,get:r[n]});let a=["CLS","FCP","FID","INP","LCP","TTFB"];function i(t){let e,o=!1;return(...r)=>(o||(o=!0,e=t(...r)),e)}let s=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,l=t=>s.test(t);function f(){let{protocol:t,hostname:e,port:o}=window.location;return`${t}//${e}${o?":"+o:""}`}function c(){let{href:t}=window.location,e=f();return t.substring(e.length)}function u(t){return"string"==typeof t?t:t.displayName||t.name||"Unknown"}function d(t){return t.finished||t.headersSent}function p(t){let e=t.split("?");return e[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(e[1]?`?${e.slice(1).join("?")}`:"")}async function y(t,e){let o=e.res||e.ctx&&e.ctx.res;if(!t.getInitialProps)return e.ctx&&e.Component?{pageProps:await y(e.Component,e.ctx)}:{};let r=await t.getInitialProps(e);if(o&&d(o))return r;if(!r)throw Object.defineProperty(Error(`"${u(t)}.getInitialProps()" should resolve to an object. But found "${r}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return r}let m="u">typeof performance,_=m&&["mark","measure","getEntriesByName"].every(t=>"function"==typeof performance[t]);class g extends Error{}class v extends Error{}class h extends Error{constructor(t){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${t}`}}class b extends Error{constructor(t,e){super(),this.message=`Failed to load static file for page: ${t} ${e}`}}class T extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function x(t){return JSON.stringify({message:t.message,stack:t.stack})}},13071,(t,e,o)=>{!function(){"use strict";var o={}.hasOwnProperty;function r(){for(var t="",e=0;e<arguments.length;e++){var a=arguments[e];a&&(t=n(t,function(t){if("string"==typeof t||"number"==typeof t)return t;if("object"!=typeof t)return"";if(Array.isArray(t))return r.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]"))return t.toString();var e="";for(var a in t)o.call(t,a)&&t[a]&&(e=n(e,a));return e}(a)))}return t}function n(t,e){return e?t?t+" "+e:t+e:t}if(e.exports)r.default=r,e.exports=r;else if("function"==typeof define&&"object"==typeof define.amd&&define.amd)void 0!==r&&t.v(r);else window.classNames=r}()},24312,(t,e,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),Object.defineProperty(o,"HeadManagerContext",{enumerable:!0,get:function(){return r}});let r=t.r(23726)._(t.r(1415)).default.createContext({})},59523,(t,e,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),Object.defineProperty(o,"warnOnce",{enumerable:!0,get:function(){return r}});let r=t=>{}},50101,(t,e,o)=>{"use strict";var r=t.r(1415);function n(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var o=2;o<arguments.length;o++)e+="&args[]="+encodeURIComponent(arguments[o])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(){}var i={d:{f:a,r:function(){throw Error(n(522))},D:a,C:a,L:a,m:a,X:a,S:a,M:a},p:0,findDOMNode:null},s=Symbol.for("react.portal"),l=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function f(t,e){return"font"===t?"":"string"==typeof e?"use-credentials"===e?e:"":void 0}o.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,o.createPortal=function(t,e){var o=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)throw Error(n(299));return function(t,e,o){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:s,key:null==r?null:""+r,children:t,containerInfo:e,implementation:o}}(t,e,null,o)},o.flushSync=function(t){var e=l.T,o=i.p;try{if(l.T=null,i.p=2,t)return t()}finally{l.T=e,i.p=o,i.d.f()}},o.preconnect=function(t,e){"string"==typeof t&&(e=e?"string"==typeof(e=e.crossOrigin)?"use-credentials"===e?e:"":void 0:null,i.d.C(t,e))},o.prefetchDNS=function(t){"string"==typeof t&&i.d.D(t)},o.preinit=function(t,e){if("string"==typeof t&&e&&"string"==typeof e.as){var o=e.as,r=f(o,e.crossOrigin),n="string"==typeof e.integrity?e.integrity:void 0,a="string"==typeof e.fetchPriority?e.fetchPriority:void 0;"style"===o?i.d.S(t,"string"==typeof e.precedence?e.precedence:void 0,{crossOrigin:r,integrity:n,fetchPriority:a}):"script"===o&&i.d.X(t,{crossOrigin:r,integrity:n,fetchPriority:a,nonce:"string"==typeof e.nonce?e.nonce:void 0})}},o.preinitModule=function(t,e){if("string"==typeof t)if("object"==typeof e&&null!==e){if(null==e.as||"script"===e.as){var o=f(e.as,e.crossOrigin);i.d.M(t,{crossOrigin:o,integrity:"string"==typeof e.integrity?e.integrity:void 0,nonce:"string"==typeof e.nonce?e.nonce:void 0})}}else null==e&&i.d.M(t)},o.preload=function(t,e){if("string"==typeof t&&"object"==typeof e&&null!==e&&"string"==typeof e.as){var o=e.as,r=f(o,e.crossOrigin);i.d.L(t,o,{crossOrigin:r,integrity:"string"==typeof e.integrity?e.integrity:void 0,nonce:"string"==typeof e.nonce?e.nonce:void 0,type:"string"==typeof e.type?e.type:void 0,fetchPriority:"string"==typeof e.fetchPriority?e.fetchPriority:void 0,referrerPolicy:"string"==typeof e.referrerPolicy?e.referrerPolicy:void 0,imageSrcSet:"string"==typeof e.imageSrcSet?e.imageSrcSet:void 0,imageSizes:"string"==typeof e.imageSizes?e.imageSizes:void 0,media:"string"==typeof e.media?e.media:void 0})}},o.preloadModule=function(t,e){if("string"==typeof t)if(e){var o=f(e.as,e.crossOrigin);i.d.m(t,{as:"string"==typeof e.as&&"script"!==e.as?e.as:void 0,crossOrigin:o,integrity:"string"==typeof e.integrity?e.integrity:void 0})}else i.d.m(t)},o.requestFormReset=function(t){i.d.r(t)},o.unstable_batchedUpdates=function(t,e){return t(e)},o.useFormState=function(t,e,o){return l.H.useFormState(t,e,o)},o.useFormStatus=function(){return l.H.useHostTransitionStatus()},o.version="19.2.4"},93736,(t,e,o)=>{"use strict";!function t(){if("u">typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(t){console.error(t)}}(),e.exports=t.r(50101)},50907,(t,e,o)=>{"use strict";let r;Object.defineProperty(o,"__esModule",{value:!0});var n={getAssetToken:function(){return l},getAssetTokenQuery:function(){return f},getDeploymentId:function(){return i},getDeploymentIdQuery:function(){return s}};for(var a in n)Object.defineProperty(o,a,{enumerable:!0,get:n[a]});function i(){return r}function s(t=!1){let e=r;return e?`${t?"&":"?"}dpl=${e}`:""}function l(){return!1}function f(t=!1){return""}"u">typeof window?(r=document.documentElement.dataset.dplId,delete document.documentElement.dataset.dplId):r=void 0},49061,(t,e,o)=>{e.exports=t.r(345)},68034,t=>{"use strict";function e(){for(var t,e,o=0,r="",n=arguments.length;o<n;o++)(t=arguments[o])&&(e=function t(e){var o,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var a=e.length;for(o=0;o<a;o++)e[o]&&(r=t(e[o]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}(t))&&(r&&(r+=" "),r+=e);return r}t.s(["clsx",0,e,"default",0,e])},29252,t=>{"use strict";var e=t.i(1415),o=t.i(68034);!function(t){if(!t||"u"<typeof document)return;let e=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css",e.firstChild?e.insertBefore(o,e.firstChild):e.appendChild(o),o.styleSheet?o.styleSheet.cssText=t:o.appendChild(document.createTextNode(t))}(`:root{--toastify-color-light: #fff;--toastify-color-dark: #121212;--toastify-color-info: #3498db;--toastify-color-success: #07bc0c;--toastify-color-warning: #f1c40f;--toastify-color-error: hsl(6, 78%, 57%);--toastify-color-transparent: rgba(255, 255, 255, .7);--toastify-icon-color-info: var(--toastify-color-info);--toastify-icon-color-success: var(--toastify-color-success);--toastify-icon-color-warning: var(--toastify-color-warning);--toastify-icon-color-error: var(--toastify-color-error);--toastify-container-width: fit-content;--toastify-toast-width: 320px;--toastify-toast-offset: 16px;--toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));--toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right));--toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));--toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));--toastify-toast-background: #fff;--toastify-toast-padding: 14px;--toastify-toast-min-height: 64px;--toastify-toast-max-height: 800px;--toastify-toast-bd-radius: 6px;--toastify-toast-shadow: 0px 4px 12px rgba(0, 0, 0, .1);--toastify-font-family: sans-serif;--toastify-z-index: 9999;--toastify-text-color-light: #757575;--toastify-text-color-dark: #fff;--toastify-text-color-info: #fff;--toastify-text-color-success: #fff;--toastify-text-color-warning: #fff;--toastify-text-color-error: #fff;--toastify-spinner-color: #616161;--toastify-spinner-color-empty-area: #e0e0e0;--toastify-color-progress-light: linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55);--toastify-color-progress-dark: #bb86fc;--toastify-color-progress-info: var(--toastify-color-info);--toastify-color-progress-success: var(--toastify-color-success);--toastify-color-progress-warning: var(--toastify-color-warning);--toastify-color-progress-error: var(--toastify-color-error);--toastify-color-progress-bgo: .2}.Toastify__toast-container{z-index:var(--toastify-z-index);-webkit-transform:translate3d(0,0,var(--toastify-z-index));position:fixed;width:var(--toastify-container-width);box-sizing:border-box;color:#fff;display:flex;flex-direction:column}.Toastify__toast-container--top-left{top:var(--toastify-toast-top);left:var(--toastify-toast-left)}.Toastify__toast-container--top-center{top:var(--toastify-toast-top);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--top-right{top:var(--toastify-toast-top);right:var(--toastify-toast-right);align-items:end}.Toastify__toast-container--bottom-left{bottom:var(--toastify-toast-bottom);left:var(--toastify-toast-left)}.Toastify__toast-container--bottom-center{bottom:var(--toastify-toast-bottom);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--bottom-right{bottom:var(--toastify-toast-bottom);right:var(--toastify-toast-right);align-items:end}.Toastify__toast{--y: 0;position:relative;touch-action:none;width:var(--toastify-toast-width);min-height:var(--toastify-toast-min-height);box-sizing:border-box;margin-bottom:1rem;padding:var(--toastify-toast-padding);border-radius:var(--toastify-toast-bd-radius);box-shadow:var(--toastify-toast-shadow);max-height:var(--toastify-toast-max-height);font-family:var(--toastify-font-family);z-index:0;display:flex;flex:1 auto;align-items:center;word-break:break-word}@media only screen and (max-width: 480px){.Toastify__toast-container{width:100vw;left:env(safe-area-inset-left);margin:0}.Toastify__toast-container--top-left,.Toastify__toast-container--top-center,.Toastify__toast-container--top-right{top:env(safe-area-inset-top);transform:translate(0)}.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-right{bottom:env(safe-area-inset-bottom);transform:translate(0)}.Toastify__toast-container--rtl{right:env(safe-area-inset-right);left:initial}.Toastify__toast{--toastify-toast-width: 100%;margin-bottom:0;border-radius:0}}.Toastify__toast-container[data-stacked=true]{width:var(--toastify-toast-width)}.Toastify__toast--stacked{position:absolute;width:100%;transform:translate3d(0,var(--y),0) scale(var(--s));transition:transform .3s}.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body,.Toastify__toast--stacked[data-collapsed] .Toastify__close-button{transition:opacity .1s}.Toastify__toast--stacked[data-collapsed=false]{overflow:visible}.Toastify__toast--stacked[data-collapsed=true]:not(:last-child)>*{opacity:0}.Toastify__toast--stacked:after{content:"";position:absolute;left:0;right:0;height:calc(var(--g) * 1px);bottom:100%}.Toastify__toast--stacked[data-pos=top]{top:0}.Toastify__toast--stacked[data-pos=bot]{bottom:0}.Toastify__toast--stacked[data-pos=bot].Toastify__toast--stacked:before{transform-origin:top}.Toastify__toast--stacked[data-pos=top].Toastify__toast--stacked:before{transform-origin:bottom}.Toastify__toast--stacked:before{content:"";position:absolute;left:0;right:0;bottom:0;height:100%;transform:scaleY(3);z-index:-1}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--close-on-click{cursor:pointer}.Toastify__toast-icon{margin-inline-end:10px;width:22px;flex-shrink:0;display:flex}.Toastify--animate{animation-fill-mode:both;animation-duration:.5s}.Toastify--animate-icon{animation-fill-mode:both;animation-duration:.3s}.Toastify__toast-theme--dark{background:var(--toastify-color-dark);color:var(--toastify-text-color-dark)}.Toastify__toast-theme--light,.Toastify__toast-theme--colored.Toastify__toast--default{background:var(--toastify-color-light);color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{color:var(--toastify-text-color-info);background:var(--toastify-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{color:var(--toastify-text-color-success);background:var(--toastify-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{color:var(--toastify-text-color-warning);background:var(--toastify-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{color:var(--toastify-text-color-error);background:var(--toastify-color-error)}.Toastify__progress-bar-theme--light{background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error{background:var(--toastify-color-transparent)}.Toastify__close-button{color:#fff;position:absolute;top:6px;right:6px;background:transparent;outline:none;border:none;padding:0;cursor:pointer;opacity:.7;transition:.3s ease;z-index:1}.Toastify__toast--rtl .Toastify__close-button{left:6px;right:unset}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentColor;height:16px;width:14px}.Toastify__close-button:hover,.Toastify__close-button:focus{opacity:1}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:100%;z-index:1;opacity:.7;transform-origin:left}.Toastify__progress-bar--animated{animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{right:0;left:initial;transform-origin:right;border-bottom-left-radius:initial}.Toastify__progress-bar--wrp{position:absolute;overflow:hidden;bottom:0;left:0;width:100%;height:5px;border-bottom-left-radius:var(--toastify-toast-bd-radius);border-bottom-right-radius:var(--toastify-toast-bd-radius)}.Toastify__progress-bar--wrp[data-hidden=true]{opacity:0}.Toastify__progress-bar--bg{opacity:var(--toastify-color-progress-bgo);width:100%;height:100%}.Toastify__spinner{width:20px;height:20px;box-sizing:border-box;border:2px solid;border-radius:100%;border-color:var(--toastify-spinner-color-empty-area);border-right-color:var(--toastify-spinner-color);animation:Toastify__spin .65s linear infinite}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,var(--y),0)}to{opacity:0;transform:translate3d(2000px,var(--y),0)}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,var(--y),0)}to{opacity:0;transform:translate3d(-2000px,var(--y),0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--top-left,.Toastify__bounce-enter--bottom-left{animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--top-right,.Toastify__bounce-enter--bottom-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--top-left,.Toastify__bounce-exit--bottom-left{animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--top-right,.Toastify__bounce-exit--bottom-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{animation-name:Toastify__bounceOutDown}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:translate3d(0,var(--y),0) scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{animation-name:Toastify__zoomIn}.Toastify__zoom-exit{animation-name:Toastify__zoomOut}@keyframes Toastify__flipIn{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipOut{0%{transform:translate3d(0,var(--y),0) perspective(400px)}30%{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(-20deg);opacity:1}to{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(90deg);opacity:0}}.Toastify__flip-enter{animation-name:Toastify__flipIn}.Toastify__flip-exit{animation-name:Toastify__flipOut}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideOutRight{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(110%,var(--y),0)}}@keyframes Toastify__slideOutLeft{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(-110%,var(--y),0)}}@keyframes Toastify__slideOutDown{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@keyframes Toastify__slideOutUp{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}.Toastify__slide-enter--top-left,.Toastify__slide-enter--bottom-left{animation-name:Toastify__slideInLeft}.Toastify__slide-enter--top-right,.Toastify__slide-enter--bottom-right{animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{animation-name:Toastify__slideInUp}.Toastify__slide-exit--top-left,.Toastify__slide-exit--bottom-left{animation-name:Toastify__slideOutLeft;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-right,.Toastify__slide-exit--bottom-right{animation-name:Toastify__slideOutRight;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-center{animation-name:Toastify__slideOutUp;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--bottom-center{animation-name:Toastify__slideOutDown;animation-timing-function:ease-in;animation-duration:.3s}@keyframes Toastify__spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}
|
|
2
|
+
`);var r=t=>"number"==typeof t&&!isNaN(t),n=t=>"string"==typeof t||"function"==typeof t?t:null,a=t=>(0,e.isValidElement)(t)||"string"==typeof t||"function"==typeof t||r(t);function i({enter:t,exit:o,appendPosition:r=!1,collapse:n=!0,collapseDuration:a=300}){return function({children:i,position:s,preventExitTransition:l,done:f,nodeRef:c,isIn:u,playToast:d}){let p=r?`${t}--${s}`:t,y=r?`${o}--${s}`:o,m=(0,e.useRef)(0);return(0,e.useLayoutEffect)(()=>{let t=c.current,e=p.split(" "),o=r=>{r.target===c.current&&(d(),t.removeEventListener("animationend",o),t.removeEventListener("animationcancel",o),0===m.current&&"animationcancel"!==r.type&&t.classList.remove(...e))};t.classList.add(...e),t.addEventListener("animationend",o),t.addEventListener("animationcancel",o)},[]),(0,e.useEffect)(()=>{let t=c.current,e=()=>{t.removeEventListener("animationend",e),n?function(t,e,o=300){let{scrollHeight:r,style:n}=t;requestAnimationFrame(()=>{n.minHeight="initial",n.height=r+"px",n.transition=`all ${o}ms`,requestAnimationFrame(()=>{n.height="0",n.padding="0",n.margin="0",setTimeout(e,o)})})}(t,f,a):f()};u||(l?e():(m.current=1,t.className+=` ${y}`,t.addEventListener("animationend",e)))},[u]),e.default.createElement(e.default.Fragment,null,i)}}function s(t,e){return{content:l(t.content,t.props),containerId:t.props.containerId,id:t.props.toastId,theme:t.props.theme,type:t.props.type,data:t.props.data||{},isLoading:t.props.isLoading,icon:t.props.icon,reason:t.removalReason,status:e}}function l(t,o,r=!1){return(0,e.isValidElement)(t)&&"string"!=typeof t.type?(0,e.cloneElement)(t,{closeToast:o.closeToast,toastProps:o,data:o.data,isPaused:r}):"function"==typeof t?t({closeToast:o.closeToast,toastProps:o,data:o.data,isPaused:r}):t}function f({delay:t,isRunning:r,closeToast:n,type:a="default",hide:i,className:s,controlledProgress:l,progress:c,rtl:u,isIn:d,theme:p}){let y=i||l&&0===c,m={animationDuration:`${t}ms`,animationPlayState:r?"running":"paused"};l&&(m.transform=`scaleX(${c})`);let _=(0,o.default)("Toastify__progress-bar",l?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${p}`,`Toastify__progress-bar--${a}`,{"Toastify__progress-bar--rtl":u}),g="function"==typeof s?s({rtl:u,type:a,defaultClassName:_}):(0,o.default)(_,s);return e.default.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":y},e.default.createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${p} Toastify__progress-bar--${a}`}),e.default.createElement("div",{role:"progressbar","aria-hidden":y?"true":"false","aria-label":"notification timer",className:g,style:m,...{[l&&c>=1?"onTransitionEnd":"onAnimationEnd"]:l&&c<1?null:()=>{d&&n()}}}))}var c=1,u=()=>`${c++}`,d=new Map,p=[],y=new Set,m=t=>y.forEach(e=>e(t));function _(t,e){var o;if(e)return!!(null!=(o=d.get(e))&&o.isToastActive(t));let r=!1;return d.forEach(e=>{e.isToastActive(t)&&(r=!0)}),r}function g(t,e){a(t)&&(d.size>0||p.push({content:t,options:e}),d.forEach(o=>{o.buildToast(t,e)}))}function v(t,e){d.forEach(o=>{null!=e&&null!=e&&e.containerId&&(null==e?void 0:e.containerId)!==o.id||o.toggle(t,null==e?void 0:e.id)})}function h(t,e){return g(t,e),e.toastId}function b(t,e){var o;return{...e,type:e&&e.type||t,toastId:(o=e)&&("string"==typeof o.toastId||r(o.toastId))?o.toastId:u()}}function T(t){return(e,o)=>h(e,b(t,o))}function x(t,e){return h(t,b("default",e))}x.loading=(t,e)=>h(t,b("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...e})),x.promise=function(t,{pending:e,error:o,success:r},n){let a;e&&(a="string"==typeof e?x.loading(e,n):x.loading(e.render,{...n,...e}));let i={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},s=(t,e,o)=>{if(null==e)return void x.dismiss(a);let r={type:t,...i,...n,data:o},s="string"==typeof e?{render:e}:e;return a?x.update(a,{...r,...s}):x(s.render,{...r,...s}),o},l="function"==typeof t?t():t;return l.then(t=>s("success",r,t)).catch(t=>s("error",o,t)),l},x.success=T("success"),x.info=T("info"),x.error=T("error"),x.warning=T("warning"),x.warn=x.warning,x.dark=(t,e)=>h(t,b("default",{theme:"dark",...e})),x.dismiss=function(t){!function(t){let e;if(!(d.size>0)){p=p.filter(e=>null!=t&&e.options.toastId!==t);return}if(null==t||"string"==typeof(e=t)||r(e))d.forEach(e=>{e.removeToast(t)});else if(t&&("containerId"in t||"id"in t)){let e=d.get(t.containerId);e?e.removeToast(t.id):d.forEach(e=>{e.removeToast(t.id)})}}(t)},x.clearWaitingQueue=(t={})=>{d.forEach(e=>{e.props.limit&&(!t.containerId||e.id===t.containerId)&&e.clearQueue()})},x.isActive=_,x.update=(t,e={})=>{let o=((t,{containerId:e})=>{var o;return null==(o=d.get(e||1))?void 0:o.toasts.get(t)})(t,e);if(o){let{props:r,content:n}=o,a={delay:100,...r,...e,toastId:e.toastId||t,updateId:u()};a.toastId!==t&&(a.staleId=t);let i=a.render||n;delete a.render,h(i,a)}},x.done=t=>{x.update(t,{progress:1})},x.onChange=function(t){return y.add(t),()=>{y.delete(t)}},x.play=t=>v(!0,t),x.pause=t=>v(!1,t);var E="u">typeof window?e.useLayoutEffect:e.useEffect,w=({theme:t,type:o,isLoading:r,...n})=>e.default.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:"colored"===t?"currentColor":`var(--toastify-icon-color-${o})`,...n}),k={info:function(t){return e.default.createElement(w,{...t},e.default.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(t){return e.default.createElement(w,{...t},e.default.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(t){return e.default.createElement(w,{...t},e.default.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(t){return e.default.createElement(w,{...t},e.default.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return e.default.createElement("div",{className:"Toastify__spinner"})}},O=t=>{let{isRunning:r,preventExitTransition:n,toastRef:a,eventHandlers:i,playToast:s}=function(t){var o,r;let[n,a]=(0,e.useState)(!1),[i,s]=(0,e.useState)(!1),l=(0,e.useRef)(null),f=(0,e.useRef)({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:c,pauseOnHover:u,closeToast:p,onClick:y,closeOnClick:m}=t;function _(){a(!0)}function g(){a(!1)}function v(e){let o=l.current;if(f.canDrag&&o){f.didMove=!0,n&&g(),"x"===t.draggableDirection?f.delta=e.clientX-f.start:f.delta=e.clientY-f.start,f.start!==e.clientX&&(f.canCloseOnClick=!1);let r="x"===t.draggableDirection?`${f.delta}px, var(--y)`:`0, calc(${f.delta}px + var(--y))`;o.style.transform=`translate3d(${r},0)`,o.style.opacity=`${1-Math.abs(f.delta/f.removalDistance)}`}}function h(){document.removeEventListener("pointermove",v),document.removeEventListener("pointerup",h);let e=l.current;if(f.canDrag&&f.didMove&&e){if(f.canDrag=!1,Math.abs(f.delta)>f.removalDistance){s(!0),t.closeToast(!0),t.collapseAll();return}e.style.transition="transform 0.2s, opacity 0.2s",e.style.removeProperty("transform"),e.style.removeProperty("opacity")}}o={id:t.toastId,containerId:t.containerId,fn:a},null==(r=d.get(o.containerId||1))||r.setToggle(o.id,o.fn),(0,e.useEffect)(()=>{if(t.pauseOnFocusLoss)return document.hasFocus()||g(),window.addEventListener("focus",_),window.addEventListener("blur",g),()=>{window.removeEventListener("focus",_),window.removeEventListener("blur",g)}},[t.pauseOnFocusLoss]);let b={onPointerDown:function(e){if(!0===t.draggable||t.draggable===e.pointerType){f.didMove=!1,document.addEventListener("pointermove",v),document.addEventListener("pointerup",h);let o=l.current;f.canCloseOnClick=!0,f.canDrag=!0,o.style.transition="none","x"===t.draggableDirection?(f.start=e.clientX,f.removalDistance=o.offsetWidth*(t.draggablePercent/100)):(f.start=e.clientY,f.removalDistance=o.offsetHeight*(80===t.draggablePercent?1.5*t.draggablePercent:t.draggablePercent)/100)}},onPointerUp:function(e){let{top:o,bottom:r,left:n,right:a}=l.current.getBoundingClientRect();"touchend"!==e.nativeEvent.type&&t.pauseOnHover&&e.clientX>=n&&e.clientX<=a&&e.clientY>=o&&e.clientY<=r?g():_()}};return c&&u&&(b.onMouseEnter=g,t.stacked||(b.onMouseLeave=_)),m&&(b.onClick=t=>{y&&y(t),f.canCloseOnClick&&p(!0)}),{playToast:_,pauseToast:g,isRunning:n,preventExitTransition:i,toastRef:l,eventHandlers:b}}(t),{closeButton:c,children:u,autoClose:p,onClick:y,type:m,hideProgressBar:_,closeToast:g,transition:v,position:h,className:b,style:T,progressClassName:x,updateId:E,role:w,progress:O,rtl:S,toastId:I,deleteToast:C,isIn:P,isLoading:L,closeOnClick:R,theme:N,ariaLabel:A}=t,$=(0,o.default)("Toastify__toast",`Toastify__toast-theme--${N}`,`Toastify__toast--${m}`,{"Toastify__toast--rtl":S},{"Toastify__toast--close-on-click":R}),j="function"==typeof b?b({rtl:S,position:h,type:m,defaultClassName:$}):(0,o.default)($,b),D=function({theme:t,type:o,isLoading:r,icon:n}){let a=null,i={theme:t,type:o};return!1===n||("function"==typeof n?a=n({...i,isLoading:r}):(0,e.isValidElement)(n)?a=(0,e.cloneElement)(n,i):r?a=k.spinner():o in k&&(a=k[o](i))),a}(t),M=!!O||!p,z={closeToast:g,type:m,theme:N},H=null;return!1===c||(H="function"==typeof c?c(z):(0,e.isValidElement)(c)?(0,e.cloneElement)(c,z):function({closeToast:t,theme:o,ariaLabel:r="close"}){return e.default.createElement("button",{className:`Toastify__close-button Toastify__close-button--${o}`,type:"button",onClick:e=>{e.stopPropagation(),t(!0)},"aria-label":r},e.default.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},e.default.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}(z)),e.default.createElement(v,{isIn:P,done:C,position:h,preventExitTransition:n,nodeRef:a,playToast:s},e.default.createElement("div",{id:I,tabIndex:0,onClick:y,"data-in":P,className:j,...i,style:T,ref:a,...P&&{role:w,"aria-label":A}},null!=D&&e.default.createElement("div",{className:(0,o.default)("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!L})},D),l(u,t,!r),H,!t.customProgressBar&&e.default.createElement(f,{...E&&!M?{key:`p-${E}`}:{},rtl:S,theme:N,delay:p,isRunning:r,isIn:P,closeToast:g,hide:_,type:m,className:x,controlledProgress:M,progress:O||0})))},S=(t,e=!1)=>({enter:`Toastify--animate Toastify__${t}-enter`,exit:`Toastify--animate Toastify__${t}-exit`,appendPosition:e}),I=i(S("bounce",!0));i(S("slide",!0)),i(S("zoom")),i(S("flip"));var C={position:"top-right",transition:I,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light","aria-label":"Notifications Alt+T",hotKeys:t=>t.altKey&&"KeyT"===t.code};t.s(["ToastContainer",0,function(t){let i={...C,...t},l=t.stacked,[f,c]=(0,e.useState)(!0),u=(0,e.useRef)(null),{getToastToRender:y,isToastActive:v,count:h}=function(t){var o;let i,{subscribe:l,getSnapshot:f,setProps:c}=(0,e.useRef)((i=t.containerId||1,{subscribe(e){let o,l,f,c,u,y,_,v,h,b,T,x=(o=1,l=0,f=[],c=[],u=t,y=new Map,_=new Set,v=()=>{c=Array.from(y.values()),_.forEach(t=>t())},h=t=>{var e,o;null==(o=null==(e=t.props)?void 0:e.onClose)||o.call(e,t.removalReason),t.isActive=!1},b=t=>{if(null==t)y.forEach(h);else{let e=y.get(t);e&&h(e)}v()},T=t=>{var e,o;let{toastId:r,updateId:n}=t.props,a=null==n;t.staleId&&y.delete(t.staleId),t.isActive=!0,y.set(r,t),v(),m(s(t,a?"added":"updated")),a&&(null==(o=(e=t.props).onOpen)||o.call(e))},{id:i,props:u,observe:t=>(_.add(t),()=>_.delete(t)),toggle:(t,e)=>{y.forEach(o=>{var r;(null==e||e===o.props.toastId)&&(null==(r=o.toggle)||r.call(o,t))})},removeToast:b,toasts:y,clearQueue:()=>{l-=f.length,f=[]},buildToast:(t,e)=>{let c,d;if((({containerId:t,toastId:e,updateId:o})=>{let r=y.has(e)&&null==o;return(t?t!==i:1!==i)||r})(e))return;let{toastId:p,updateId:_,data:g,staleId:h,delay:x}=e,E=null==_;E&&l++;let w={...u,style:u.toastStyle,key:o++,...Object.fromEntries(Object.entries(e).filter(([t,e])=>null!=e)),toastId:p,updateId:_,data:g,isIn:!1,className:n(e.className||u.toastClassName),progressClassName:n(e.progressClassName||u.progressClassName),autoClose:!e.isLoading&&(c=e.autoClose,d=u.autoClose,!1===c||r(c)&&c>0?c:d),closeToast(t){y.get(p).removalReason=t,b(p)},deleteToast(){let t=y.get(p);if(null!=t){if(m(s(t,"removed")),y.delete(p),--l<0&&(l=0),f.length>0)return void T(f.shift());v()}}};w.closeButton=u.closeButton,!1===e.closeButton||a(e.closeButton)?w.closeButton=e.closeButton:!0===e.closeButton&&(w.closeButton=!a(u.closeButton)||u.closeButton);let k={content:t,props:w,staleId:h};u.limit&&u.limit>0&&l>u.limit&&E?f.push(k):r(x)?setTimeout(()=>{T(k)},x):T(k)},setProps(t){u=t},setToggle:(t,e)=>{let o=y.get(t);o&&(o.toggle=e)},isToastActive:t=>{var e;return null==(e=y.get(t))?void 0:e.isActive},getSnapshot:()=>c});d.set(i,x);let E=x.observe(e);return p.forEach(t=>g(t.content,t.options)),p=[],()=>{E(),d.delete(i)}},setProps(t){var e;null==(e=d.get(i))||e.setProps(t)},getSnapshot(){var t;return null==(t=d.get(i))?void 0:t.getSnapshot()}})).current;c(t);let u=null==(o=(0,e.useSyncExternalStore)(l,f,f))?void 0:o.slice();return{getToastToRender:function(e){if(!u)return[];let o=new Map;return t.newestOnTop&&u.reverse(),u.forEach(t=>{let{position:e}=t.props;o.has(e)||o.set(e,[]),o.get(e).push(t)}),Array.from(o,t=>e(t[0],t[1]))},isToastActive:_,count:null==u?void 0:u.length}}(i),{className:b,style:T,rtl:w,containerId:k,hotKeys:S}=i;function I(){l&&(c(!0),x.play())}return E(()=>{var t;if(l){let e=u.current.querySelectorAll('[data-in="true"]'),o=null==(t=i.position)?void 0:t.includes("top"),r=0,n=0;Array.from(e).reverse().forEach((t,e)=>{t.classList.add("Toastify__toast--stacked"),e>0&&(t.dataset.collapsed=`${f}`),t.dataset.pos||(t.dataset.pos=o?"top":"bot");let a=r*(f?.2:1)+(f?0:12*e);t.style.setProperty("--y",`${o?a:-1*a}px`),t.style.setProperty("--g","12"),t.style.setProperty("--s",`${1-(f?n:0)}`),r+=t.offsetHeight,n+=.025})}},[f,h,l]),(0,e.useEffect)(()=>{function t(t){var e;let o=u.current;S(t)&&(null==(e=o.querySelector('[tabIndex="0"]'))||e.focus(),c(!1),x.pause()),"Escape"===t.key&&(document.activeElement===o||null!=o&&o.contains(document.activeElement))&&(c(!0),x.play())}return document.addEventListener("keydown",t),()=>{document.removeEventListener("keydown",t)}},[S]),e.default.createElement("section",{ref:u,className:"Toastify",id:k,onMouseEnter:()=>{l&&(c(!1),x.pause())},onMouseLeave:I,"aria-live":"polite","aria-atomic":"false","aria-relevant":"additions text","aria-label":i["aria-label"]},y((t,r)=>{var a;let i,s=r.length?{...T}:{...T,pointerEvents:"none"};return e.default.createElement("div",{tabIndex:-1,className:(a=t,i=(0,o.default)("Toastify__toast-container",`Toastify__toast-container--${a}`,{"Toastify__toast-container--rtl":w}),"function"==typeof b?b({position:a,rtl:w,defaultClassName:i}):(0,o.default)(i,n(b))),"data-stacked":l,style:s,key:`c-${t}`},r.map(({content:t,props:o})=>e.default.createElement(O,{...o,stacked:l,collapseAll:I,isIn:v(o.toastId,o.containerId),key:`t-${o.key}`},t)))}))},"toast",0,x])}]);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
__turbopack_load_page_chunks__("/assortments/AssortmentDetailPage", [
|
|
2
|
+
"static/chunks/0tfa15y7gd6ol.js",
|
|
3
|
+
"static/chunks/04j3vrvch7ujx.js",
|
|
4
|
+
"static/chunks/14e4xylnze3x2.js",
|
|
5
|
+
"static/chunks/14tbg01czewdy.js",
|
|
6
|
+
"static/chunks/12e_gn-hj1ad4.js",
|
|
7
|
+
"static/chunks/0-_n2k06ojx7r.js",
|
|
8
|
+
"static/chunks/046~w9shfdja6.js",
|
|
9
|
+
"static/chunks/0wbeo27c~tc9b.js",
|
|
10
|
+
"static/chunks/0p2l~~8x6478b.js",
|
|
11
|
+
"static/chunks/11fl4v~k-i6dd.js",
|
|
12
|
+
"static/chunks/0xczkhpv81j3p.js",
|
|
13
|
+
"static/chunks/0.7jou~9s-9ly.js",
|
|
14
|
+
"static/chunks/181fxym9wgh_m.js",
|
|
15
|
+
"static/chunks/0fiu9kb2mg_pe.js",
|
|
16
|
+
"static/chunks/0dqc2kv2x_nk4.js",
|
|
17
|
+
"static/chunks/0whq69wyy9mrh.js",
|
|
18
|
+
"static/chunks/0klqyqhl-cmiq.js",
|
|
19
|
+
"static/chunks/07_4agv0uff.h.js",
|
|
20
|
+
"static/chunks/0o~whquist5u6.js",
|
|
21
|
+
"static/chunks/turbopack-15~bjsxndh_8j.js"
|
|
22
|
+
])
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,12442,e=>{"use strict";var t=e.i(69178),s=e.i(1415),a=e.i(13071);let r=(0,s.createContext)(!1);e.s(["FormWrapperContext",0,r,"default",0,({children:e,className:s=""})=>(0,t.jsx)(r.Provider,{value:!0,children:(0,t.jsx)("div",{className:"sm:max-w-full",children:(0,t.jsx)("div",{className:(0,a.default)("bg-white dark:bg-slate-800 rounded-md shadow-sm overflow-hidden",s),children:e})})})])},68686,e=>{"use strict";var t=e.i(69178),s=e.i(13071),a=e.i(19892),r=e.i(4142),l=e.i(88500);e.s(["default",0,({maxLength:e=0,validators:i=[],...d})=>{let o=(0,r.default)({validators:[...i,e&&(0,a.validateMaxLength)(e)],...d});return(0,t.jsx)(l.default,{...o,children:(0,t.jsx)("input",{className:(0,s.default)("relative mt-1 block w-full dark:focus:autofill dark:hover:autofill dark:autofill dark:placeholder:text-slate-600 dark:bg-slate-900 dark:text-slate-200 appearance-none rounded-md border-1 dark:border-slate-700 px-4 py-2.5 text-sm text-slate-900 focus:outline-hidden focus:ring-2 focus:ring-slate-800 shadow-xs",{"border-rose-700 placeholder:text-rose-500":!!o.error,"border-slate-300 placeholder-slate-400":!o.error}),disabled:o.disabled,id:o.name,name:o.name,onChange:o.onChange,onClick:e=>{e.stopPropagation()},onBlur:o.onBlur,placeholder:o.placeholder,autoComplete:o.autoComplete||"off",type:o.type||"text",value:o.value,autoFocus:o.autoFocus})})}])},17362,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a={VALID_LOADERS:function(){return l},imageConfigDefault:function(){return i}};for(var r in a)Object.defineProperty(s,r,{enumerable:!0,get:a[r]});let l=["default","imgix","cloudinary","akamai","custom"],i={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],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,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"ImageConfigContext",{enumerable:!0,get:function(){return l}});let a=e.r(23726)._(e.r(1415)),r=e.r(17362),l=a.default.createContext(r.imageConfigDefault)},90575,19190,e=>{"use strict";var t=e.i(1415);let s=t.default.createContext({customProperties:{},hydrateFragment:(e,t)=>null});e.s(["default",0,s],19190),e.s(["default",0,()=>(0,t.useContext)(s)],90575)},51443,e=>{"use strict";var t=e.i(69178),s=e.i(98183);e.s(["default",0,()=>{let{formatMessage:e}=(0,s.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),s=e.i(53162);e.s(["default",0,()=>(0,t.useContext)(s.default)])},17831,e=>{"use strict";var t=e.i(69178),s=e.i(98183);e.s(["default",0,({onOkClick:e,onCancelClick:a,okText:r=null,cancelText:l=null,headerText:i=null,message:d=null,icon:o=null,close:n=null})=>{let{formatMessage:u}=(0,s.useIntl)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"sm:flex sm:items-start",children:[o||(0,t.jsx)("div",{className:"mx-auto flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-rose-100 dark:bg-rose-900/30 sm:mx-0 sm:h-10 sm:w-10",children:(0,t.jsx)("svg",{className:"h-6 w-6 text-rose-600 dark:text-rose-400",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})})}),(0,t.jsxs)("div",{className:"mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left",children:[(0,t.jsx)("h3",{className:"text-lg text-slate-900 dark:text-slate-200",id:"modal-title",children:i||u({id:"warning",defaultMessage:"Warning!"})}),(0,t.jsx)("div",{className:"mt-2",children:(0,t.jsx)("p",{className:"text-sm text-slate-500 dark:text-slate-200",children:d||u({id:"are_you_sure",defaultMessage:"Are you sure?"})})})]})]}),(0,t.jsxs)("div",{className:"mt-5 sm:mt-4 sm:flex sm:flex-row-reverse",children:[(0,t.jsx)("button",{id:"danger_continue",onClick:e,type:"button",className:"inline-flex w-full justify-center rounded-md border border-transparent bg-rose-600 px-4 py-2 text-base font-medium text-white shadow-xs hover:bg-rose-700 focus:outline-hidden focus:ring-2 focus:ring-rose-500 focus:ring-offset-2 sm:ml-3 sm:w-auto sm:text-sm",children:r||u({id:"continue",defaultMessage:"Continue"})}),(0,t.jsx)("button",{id:"danger_cancel",onClick:a||n,type:"button",className:"mt-3 inline-flex w-full justify-center rounded-md border border-slate-300 bg-white px-4 py-2 text-base font-medium text-slate-700 shadow-xs hover:bg-slate-50 focus:outline-hidden focus:ring-2 focus:ring-slate-800 focus:ring-offset-2 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm",children:l||u({id:"cancel",defaultMessage:"Cancel"})})]})]})}])},69744,e=>{"use strict";var t=e.i(1415);let s=t.forwardRef(function({title:e,titleId:s,...a},r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":s},a),e?t.createElement("title",{id:s},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))});e.s(["XMarkIcon",0,s],69744)},33362,e=>{"use strict";var t=e.i(69178),s=e.i(69744),a=e.i(98183);e.s(["default",0,({onClick:e,text:r=null,Icon:l=null})=>{let{formatMessage:i}=(0,a.useIntl)();return(0,t.jsxs)("button",{type:"button",onClick:e,"aria-describedby":"header-delete-button",className:"inline-flex items-center gap-2 justify-center rounded-md border border-rose-500 px-4 py-2 text-sm font-medium leading-5 text-rose-600 dark:text-rose-200 shadow-sm hover:border-rose-600 hover:bg-rose-600 hover:text-white focus:outline-hidden focus:ring-2 focus:ring-rose-500 focus:ring-offset-2 h-[38px]",children:[(0,t.jsx)("span",{children:l||(0,t.jsx)(s.XMarkIcon,{className:"h-5 w-5"})}),r||i({id:"delete",defaultMessage:"Delete"})]})}])},47822,e=>{"use strict";var t=e.i(69178),s=e.i(13071);e.s(["default",0,({value:e,className:a,onChange:r=()=>{},rows:l=7,...i})=>{let d=Math.max(e?e.split("\n").length:1,l);return(0,t.jsx)("textarea",{className:(0,s.default)("text-black dark:bg-slate-900 dark:text-slate-200 border-transparent border-t border-t-slate-200 dark:border-t-slate-800 resize-y",a),value:e,onChange:r,rows:d,...i})}])},36187,e=>{"use strict";var t=e.i(69178),s=e.i(13071),a=e.i(47822),r=e.i(4142),l=e.i(88500);e.s(["default",0,({validators:e=[],rows:i=10,...d})=>{let o=(0,r.default)({...d,validators:[...e,{isValid:e=>{try{return JSON?.parse(e),!0}catch(e){return!1}},intlMessageDescriptor:{id:"invalid_json_input",defaultMessage:"Invalid JSON input"}}]});return(0,t.jsx)(l.default,{...o,children:(0,t.jsx)(a.default,{className:(0,s.default)("mt-1 block w-full max-w-full rounded-md border-1 border-slate-300 dark:border-slate-800 dark:bg-slate-900 dark:text-slate-200 shadow-xs dark:shadow-none focus:ring-slate-800 sm:text-sm",{"border-rose-300 text-rose-600 focus:border-rose-600 focus:ring-rose-600":!!o.error},d.className),disabled:o.disabled,id:o.name,name:o.name,onChange:e=>{try{JSON.parse(e.target.value||"{}"),o.setError("")}catch(e){o.setError(e.message?.replace("JSON.parse",""))}finally{o.setValue(e.target.value,!0),o.setTouched(!0)}},onBlur:e=>{try{o.setValue(JSON.stringify(JSON.parse(e.target.value),void 0,2),!0),o.setError("")}catch(e){o.setError(e.message)}},placeholder:o.placeholder,autoComplete:o.autoComplete,value:o.value})})}])},95126,e=>{"use strict";var t=e.i(69178),s=e.i(13071),a=e.i(4142),r=e.i(19892),l=e.i(88500);let i=e=>{let t=new Date(e);return isNaN(t.getTime())?null:t.toISOString().split("T")[0]};e.s(["default",0,({validators:e=[],className:d,parseDate:o=i,...n})=>{let u=(0,a.default)({validators:[...e,r.validateDate],...n}),c=u.value?new Date(u.value).toISOString().split("T")[0]:"";return(0,t.jsx)(l.default,{...u,className:n.containerClassName,children:(0,t.jsx)("input",{type:"date",id:u.id,name:u.name,disabled:u.disabled,className:(0,s.default)("relative mt-0 block w-full appearance-none rounded-md rounded-b-md border-1 border-slate-300 dark:border-slate-700 px-4 py-2.5 text-sm text-slate-900 dark:text-slate-200 dark:bg-slate-900 placeholder-slate-400 shadow-xs focus:z-10 focus:outline-hidden focus:ring-2 focus:ring-slate-800",d,{"border-rose-700 placeholder:text-rose-300":!!u.error}),onChange:e=>u.setValue(e.target.value),value:c,placeholder:u.placeholder,autoComplete:"off",...n})})}])},73517,e=>{"use strict";var t=e.i(71983);let s=t.gql`
|
|
2
|
+
fragment WorkFragment on Work {
|
|
3
|
+
_id
|
|
4
|
+
type
|
|
5
|
+
scheduled
|
|
6
|
+
status
|
|
7
|
+
started
|
|
8
|
+
success
|
|
9
|
+
finished
|
|
10
|
+
created
|
|
11
|
+
deleted
|
|
12
|
+
retries
|
|
13
|
+
original {
|
|
14
|
+
_id
|
|
15
|
+
retries
|
|
16
|
+
}
|
|
17
|
+
input
|
|
18
|
+
result
|
|
19
|
+
}
|
|
20
|
+
`;e.s(["default",0,s])},23222,e=>{"use strict";var t=e.i(71983),s=e.i(13686);let a=t.gql`
|
|
21
|
+
mutation AddWork(
|
|
22
|
+
$type: WorkType!
|
|
23
|
+
$priority: Int! = 0
|
|
24
|
+
$input: JSON
|
|
25
|
+
$originalWorkId: ID
|
|
26
|
+
$scheduled: Timestamp
|
|
27
|
+
$retries: Int! = 20
|
|
28
|
+
) {
|
|
29
|
+
addWork(
|
|
30
|
+
type: $type
|
|
31
|
+
priority: $priority
|
|
32
|
+
input: $input
|
|
33
|
+
originalWorkId: $originalWorkId
|
|
34
|
+
scheduled: $scheduled
|
|
35
|
+
retries: $retries
|
|
36
|
+
) {
|
|
37
|
+
_id
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
`;e.s(["default",0,()=>{let[e]=(0,s.useMutation)(a);return{addWork:async({type:t,priority:s,input:a,originalWorkId:r,scheduled:l=null,retries:i})=>e({variables:{type:t,priority:s,input:a,originalWorkId:r,scheduled:l,retries:i},refetchQueries:["WorkQueue"]})}}])},15064,e=>{"use strict";var t=e.i(71983),s=e.i(13699),a=e.i(90575),r=e.i(73517);let l=(e="")=>t.gql`
|
|
41
|
+
query Work($workId: ID!) {
|
|
42
|
+
work(workId: $workId) {
|
|
43
|
+
...WorkFragment
|
|
44
|
+
${e}
|
|
45
|
+
error
|
|
46
|
+
priority
|
|
47
|
+
worker
|
|
48
|
+
timeout
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
${r.default}
|
|
52
|
+
`;e.s(["GetWorkQuery",0,l,"default",0,({workId:e=null,...t})=>{let{customProperties:r}=(0,a.default)(),{data:i,loading:d,error:o,previousData:n}=(0,s.useQuery)(l(r?.Work),{skip:!e,variables:{workId:e},...t});return{work:i?.work||n?.work,loading:d,error:o}}])},79180,81856,52626,e=>{"use strict";var t=e.i(92024),s=e.i(27817),a=e.i(5944),r=e.i(77860),l=e.i(66752),i=e.i(44701),d=e.i(10863),o=e.i(31556);let n=["years","months","weeks","days","hours","minutes","seconds"];e.s(["default",0,()=>({getScheduledTime:e=>{if(!e)return null;let{scheduled:n,status:u,started:c}=e;if("FAILED"===u||"SUCCESS"===u||"DELETED"===u)return null;let m=new Date(n).getTime();if("ALLOCATED"===u||"NEW"===u&&!c){var x;return x={addSuffix:!0},function(e,t,n){let u,c=(0,a.getDefaultOptions)(),m=n?.locale??c.locale??s.defaultLocale,x=(0,d.compareAsc)(e,t);if(isNaN(x))throw RangeError("Invalid time value");let f=Object.assign({},n,{addSuffix:n?.addSuffix,comparison:x}),[h,g]=(0,i.normalizeDates)(n?.in,...x>0?[t,e]:[e,t]),p=(0,r.getRoundingMethod)(n?.roundingMethod??"round"),w=g.getTime()-h.getTime(),k=w/o.millisecondsInMinute,b=(w-((0,l.getTimezoneOffsetInMilliseconds)(g)-(0,l.getTimezoneOffsetInMilliseconds)(h)))/o.millisecondsInMinute,v=n?.unit;if("second"===(u=v||(k<1?"second":k<60?"minute":k<o.minutesInDay?"hour":b<o.minutesInMonth?"day":b<o.minutesInYear?"month":"year"))){let e=p(w/1e3);return m.formatDistance("xSeconds",e,f)}if("minute"===u){let e=p(k);return m.formatDistance("xMinutes",e,f)}if("hour"===u){let e=p(k/60);return m.formatDistance("xHours",e,f)}if("day"===u){let e=p(b/o.minutesInDay);return m.formatDistance("xDays",e,f)}if("month"===u){let e=p(b/o.minutesInMonth);return 12===e&&"month"!==v?m.formatDistance("xYears",1,f):m.formatDistance("xMonths",e,f)}else{let e=p(b/o.minutesInYear);return m.formatDistance("xYears",e,f)}}(m,(0,t.constructFrom)(m,Date.now()),x)}return null},getDuration:e=>{var t,r;let l,i,d,o,u,c;if(!e)return null;let{started:m,finished:x}=e,f=new Date().getTime();return m?(t={hours:Number(Math.floor((l=x?new Date(x).getTime()-new Date(m).getTime():f-new Date(m).getTime())/1e3/60/60)%24),minutes:Number(Math.floor(l/1e3/60)%60),seconds:Number(Math.ceil(l/1e3)%60)},r={zero:!1},i=(0,a.getDefaultOptions)(),d=r?.locale??i.locale??s.defaultLocale,o=r?.format??n,u=r?.zero??!1,c=r?.delimiter??" ",d.formatDistance?o.reduce((e,s)=>{let a=`x${s.replace(/(^.)/,e=>e.toUpperCase())}`,r=t[s];return void 0!==r&&(u||t[s])?e.concat(d.formatDistance(a,r)):e},[]).join(c):""):null}})],79180);var u=e.i(69178),c=e.i(1415);e.s(["default",0,({text:e,children:t})=>{let[s,a]=(0,c.useState)(!1);return(0,u.jsxs)("div",{className:"relative",children:[(0,u.jsx)("div",{onMouseEnter:()=>{a(!0)},onMouseLeave:()=>{a(!1)},children:t}),s&&(0,u.jsx)("div",{className:"tooltip absolute p-2 bg-slate-700 text-white rounded-lg whitespace-nowrap",children:e})]})}],81856),e.s(["default",0,({work:e,children:t=null})=>e?.original?e?.original?.retries===e?.retries?(0,u.jsxs)("span",{children:[(0,u.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-3 h-3 inline-block text-slate-500 mr-2",children:(0,u.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"})}),t]}):(0,u.jsx)("span",{children:(0,u.jsxs)("span",{children:[(0,u.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-3 h-3 inline-block text-slate-500 mr-2",children:(0,u.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"})}),t,(0,u.jsx)("span",{className:"text-rose-400 text-sm ml-2",children:`${e?.retries} / ${e?.original?.retries}`})]})}):t],52626)},77860,e=>{"use strict";e.s(["getRoundingMethod",0,function(e){return t=>{let s=(e?Math[e]:Math.trunc)(t);return 0===s?0:s}}])},10863,e=>{"use strict";var t=e.i(23317);e.s(["compareAsc",0,function(e,s){let a=(0,t.toDate)(e)-(0,t.toDate)(s);return a<0?-1:a>0?1:a}])},20124,e=>{"use strict";var t=e.i(1415);let s=t.forwardRef(function({title:e,titleId:s,...a},r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":s},a),e?t.createElement("title",{id:s},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"}))});e.s(["ArrowPathIcon",0,s],20124)},92648,e=>{"use strict";var t=e.i(69178),s=e.i(49061),a=e.i(98183),r=e.i(29252),l=e.i(30758),i=e.i(1415),d=e.i(72670),o=e.i(70079),n=e.i(39381),u=e.i(47822),c=e.i(79180),m=e.i(81856),x=e.i(52626);let f=({work:e})=>{let{formatMessage:s}=(0,a.useIntl)(),{formatDateTime:r}=(0,o.default)(),{getDuration:f,getScheduledTime:h}=(0,c.default)(),[,g]=(0,i.useState)(null);(0,i.useEffect)(()=>{let t=null;return e&&("NEW"===e.status||"ALLOCATED"===e.status)&&(t=setInterval(()=>g(Date.now()),1e3)),()=>{clearInterval(t)}},[e?.status]);let p={timeStyle:"medium",dateStyle:"long"};return(0,t.jsx)("div",{className:`rounded-xl xl:-mx-8 mt-10 p-2 sm:p-6 lg:p-8 ${(0,n.getShadowStyle)(e?.status)}`,children:(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-2 auto-rows-max",children:[(0,t.jsxs)("div",{className:"max-h-fit col-span-2 rounded-lg border border-slate-300 dark:border-slate-800 bg-white dark:bg-slate-900 p-4 shadow-md dark:shadow-none sm:p-6 lg:col-span-1 lg:p-8",children:[(0,t.jsxs)("div",{className:"mb-2 flex flex-wrap items-center justify-between",children:[(0,t.jsx)("div",{className:"mr-4 text-base text-slate-500 dark:text-slate-500 ",children:s({id:"work_type",defaultMessage:"Work type"})}),(0,t.jsx)("div",{className:"mt-2 max-w-prose space-y-5 text-sm",children:e?.type})]}),(0,t.jsxs)("div",{className:"mb-2 flex flex-wrap items-center justify-between",children:[(0,t.jsx)("div",{className:"mr-4 text-base text-slate-500 dark:text-slate-500 ",children:s({id:"work_status",defaultMessage:"Work Status"})}),(0,t.jsx)(d.default,{text:e?.status,color:n.WORK_STATUSES[e?.status]})]}),(0,t.jsxs)("div",{className:"mb-2 flex flex-wrap items-center justify-between",children:[(0,t.jsx)("div",{className:"mr-4 text-base text-slate-500 dark:text-slate-500 ",children:s({id:"work_priority",defaultMessage:"Priority"})}),(0,t.jsx)("div",{className:"mt-2 max-w-prose space-y-5 text-sm ",children:e?.priority})]}),(0,t.jsxs)("div",{className:"mb-2 flex flex-wrap items-center justify-between",children:[(0,t.jsx)("div",{className:"mr-4 text-base text-slate-500 dark:text-slate-500 ",children:s({id:"work_retries",defaultMessage:"Retries"})}),(0,t.jsx)("div",{className:"mt-2 max-w-prose space-y-5 text-sm",children:(0,t.jsx)(x.default,{work:e})})]}),(0,t.jsxs)("div",{className:"mb-2 flex flex-wrap items-center justify-between",children:[(0,t.jsx)("div",{className:"mr-4 text-base text-slate-500 dark:text-slate-500 ",children:s({id:"worker",defaultMessage:"Worker"})}),(0,t.jsx)("div",{className:"mt-2 max-w-prose space-y-5 text-sm",children:e?.worker?(0,t.jsx)(d.default,{text:s({id:"worker_dynamic",defaultMessage:"{worker}"},{worker:e?.worker}),color:"purple"}):"n/a"})]}),e?.retries||e?.original?(0,t.jsxs)("div",{className:"mb-2 flex flex-wrap items-center justify-between",children:[(0,t.jsx)("div",{className:"mr-4 text-base text-slate-500 dark:text-slate-500 ",children:s({id:"work_original",defaultMessage:"Original Work"})}),(0,t.jsx)("div",{className:"mt-2 max-w-prose space-y-5 text-sm",children:(0,t.jsx)(l.default,{href:`/works?workerId=${e?.original?._id}`,className:"text-slate-900 dark:text-slate-300",children:e?.original?._id})})]}):""]}),(0,t.jsx)("div",{className:"col-span-2 rounded-lg border border-slate-300 dark:border-slate-800 bg-white dark:bg-slate-900 p-4 shadow-md dark:shadow-none sm:p-6 lg:col-span-1 lg:p-8",children:(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-5",children:[(0,t.jsxs)("div",{className:"sm:col-span-1",children:[(0,t.jsx)("div",{className:"flex text-base text-slate-500 dark:text-slate-500 ",children:s({id:"work_created",defaultMessage:"Created"})}),(0,t.jsx)("div",{className:"flex text-sm",children:r(e?.created,p)})]}),(0,t.jsxs)("div",{className:"sm:col-span-1",children:[(0,t.jsx)("div",{className:"flex text-base text-slate-500 dark:text-slate-500 ",children:s({id:"work_scheduled",defaultMessage:"Scheduled"})}),(0,t.jsx)("div",{className:"flex text-sm w-100",children:(0,t.jsx)(m.default,{text:r(e?.scheduled,p),children:h(e)})})]}),(0,t.jsxs)("div",{className:"sm:col-span-1",children:[(0,t.jsx)("div",{className:"flex text-base text-slate-500 dark:text-slate-500 ",children:s({id:"work_started",defaultMessage:"Started"})}),(0,t.jsx)("div",{className:"flex text-sm",children:r(e?.started,p)})]}),(0,t.jsxs)("div",{className:"sm:col-span-1",children:[(0,t.jsx)("div",{className:"flex text-base text-slate-500 dark:text-slate-500 ",children:s({id:"work_finished",defaultMessage:"Finished"})}),(0,t.jsx)("div",{className:"flex text-sm",children:r(e?.finished,p)})]}),(0,t.jsxs)("div",{className:"sm:col-span-1",children:[(0,t.jsx)("div",{className:"flex text-base text-slate-500 dark:text-slate-500 ",children:s({id:"duration",defaultMessage:"Duration"})}),(0,t.jsx)("div",{className:"flex text-sm",children:f(e)})]}),e?.deleted&&(0,t.jsxs)("div",{className:"sm:col-span-1",children:[(0,t.jsx)("div",{className:"flex text-base text-slate-500 dark:text-slate-500 ",children:s({id:"deleted",defaultMessage:"Deleted"})}),(0,t.jsx)("div",{className:"flex text-sm",children:r(e?.deleted,p)})]})]})}),e?.error&&(0,t.jsxs)("div",{className:"rounded-lg shadow-md dark:shadow-none border-2 border-rose-300 dark:border-rose-800 col-span-2 lg:col-span-2 order-first overflow-hidden bg-rose-100 dark:bg-rose-800",children:[(0,t.jsx)("div",{className:"px-4 py-5 sm:px-6 border-b border-rose-300 dark:border-rose-800",children:(0,t.jsxs)("h3",{className:"text-lg font-medium leading-6 text-rose-700 dark:text-rose-300 flex items-center gap-2",children:[(0,t.jsx)("svg",{className:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})}),s({id:"error",defaultMessage:"Error"})]})}),(0,t.jsx)("div",{className:"bg-rose-50 dark:bg-rose-950",children:(0,t.jsx)(u.default,{value:decodeURI(JSON.stringify(e.error,null,2)),disabled:!0,className:"block border-none w-full max-w-full resize-none sm:text-sm text-rose-900 dark:text-rose-100"})})]}),e?.input&&(0,t.jsxs)("div",{className:"overflow-hidden rounded-lg border border-slate-300 dark:border-slate-800 col-span-2 shadow-md dark:shadow-none bg-white dark:bg-slate-900 lg:col-span-1",children:[(0,t.jsx)("div",{className:"px-4 py-5 sm:px-6",children:(0,t.jsx)("h3",{className:"text-lg font-medium leading-6 text-slate-900 dark:text-slate-500",children:s({id:"input",defaultMessage:"Input"})})}),(0,t.jsx)(u.default,{value:JSON.stringify(e.input,null,2),disabled:!0,className:"block w-full max-w-full resize-none sm:text-sm"})]}),e?.result&&(0,t.jsxs)("div",{className:"overflow-hidden rounded-lg shadow-md dark:shadow-none border border-slate-300 dark:border-slate-800 col-span-2 bg-white dark:bg-slate-900 lg:col-span-1",children:[(0,t.jsxs)("div",{className:"px-4 py-5 sm:px-6 flex items-center justify-between",children:[(0,t.jsx)("h3",{className:"text-lg font-medium leading-6 text-slate-900 dark:text-slate-500",children:s({id:"result",defaultMessage:"Result"})}),e?.type==="BULK_IMPORT"&&e?.result?.created&&(0,t.jsx)("span",{className:"text-sm text-slate-600 dark:text-slate-400",children:s({id:"items_created",defaultMessage:"{count} items created"},{count:e.result.created.length})})]}),(0,t.jsx)(u.default,{value:JSON.stringify(e.result,null,2),disabled:!0,className:`block w-full max-w-full resize-none sm:text-sm ${e?.type==="BULK_IMPORT"&&e?.result?.created?.length>50?"max-h-96 overflow-y-auto":""}`})]})]})})};var h=e.i(15064),g=e.i(71983),p=e.i(13686);let w=g.gql`
|
|
53
|
+
mutation RemoveWork($workId: ID!) {
|
|
54
|
+
removeWork(workId: $workId) {
|
|
55
|
+
_id
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
`;var k=e.i(23222),b=e.i(51443),v=e.i(71588),j=e.i(23529),y=e.i(17831),N=e.i(31891),M=e.i(33362),I=e.i(20124),C=e.i(5858),_=e.i(12442),S=e.i(95126),D=e.i(62010),W=e.i(36187),T=e.i(23518),O=e.i(68686),L=e.i(5641);let E=({work:e,onSubmit:r})=>{let{formatMessage:l,locale:i}=(0,a.useIntl)(),d=(0,s.useRouter)(),o=l({id:"work_added_success",defaultMessage:"Work added successfully!"}),n=(0,L.default)({submit:r,successMessage:o,onSubmitSuccess:(e,{_id:t})=>(d.replace(`/works?workerId=${t}`),!0),enableReinitialize:!0,initialValues:{...e,input:JSON.stringify(e?.input||{},null,2)}});return(0,t.jsx)(_.default,{children:(0,t.jsx)(D.default,{form:n,children:(0,t.jsxs)("div",{className:"space-y-6 rounded-md bg-white dark:bg-slate-900 shadow-md ",children:[(0,t.jsx)("h2",{className:"text-2xl font-bold text-slate-900 dark:text-slate-200 ",children:l({id:"retry_work",defaultMessage:"Retry Work"})}),(0,t.jsx)("div",{className:"flex flex-col sm:flex-row sm:justify-between sm:items-center dark:border-slate-700 pb-4 mb-4",children:(0,t.jsx)("div",{className:"text-sm text-slate-500 dark:text-slate-400 mt-2 sm:mt-0 flex flex-col sm:flex-row sm:gap-4",children:(0,t.jsxs)("span",{children:[(0,t.jsx)("strong",{children:l({id:"type",defaultMessage:"Type"})})," ",e.type]})})}),(0,t.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[(0,t.jsx)(O.default,{name:"priority",id:"priority",label:l({id:"priority",defaultMessage:"Priority"}),labelClassName:"text-sm font-medium text-slate-500 mb-1",type:"number",className:"w-full py-2 text-sm text-slate-900 dark:text-slate-200 dark:bg-slate-800 rounded-md"}),(0,t.jsx)(O.default,{name:"retries",id:"retries",label:l({id:"retries",defaultMessage:"Retries"}),labelClassName:"text-sm font-medium text-slate-500 mb-1",type:"number",className:"w-full py-2 text-sm text-slate-900 dark:text-slate-200 dark:bg-slate-800 rounded-md"})]}),(0,t.jsx)(S.default,{name:"scheduled",label:l({id:"scheduled",defaultMessage:"Scheduled"}),labelClassName:"text-sm font-medium text-slate-500 mb-1",className:"w-full py-2 text-sm text-slate-900 dark:text-slate-200 dark:bg-slate-800 rounded-md",containerClassName:"w-full",locale:i,showTimeInput:!0,timeFormat:"p",timeIntervals:15}),(0,t.jsx)("div",{children:(0,t.jsx)(W.default,{name:"input",label:l({id:"input",defaultMessage:"Input"}),labelClassName:"text-sm font-medium text-slate-500 mb-1",className:"w-full h-48 text-sm text-slate-900 dark:text-slate-200 dark:bg-slate-800 rounded-md"})}),(0,t.jsx)("div",{className:"border-t-slate-100 border-t dark:border-t-slate-700 space-y-6 bg-slate-50 dark:bg-slate-900 p-5 text-right",children:(0,t.jsx)(T.default,{label:l({id:"retry_submit",defaultMessage:"Retry"})})})]})})})};e.s(["default",0,({workerId:e})=>{let l,{formatMessage:d}=(0,a.useIntl)(),{push:o}=(0,s.useRouter)(),{work:n}=(0,h.default)({workId:e,pollInterval:2e3}),{setModal:u}=(0,N.default)(),{removeWork:c}=(()=>{let[e]=(0,p.useMutation)(w);return{removeWork:async({workId:t})=>e({variables:{workId:t},refetchQueries:["WorkQueue"]})}})(),{addWork:m}=(0,k.default)(),x=(0,i.useCallback)(async()=>{u((0,t.jsx)(E,{work:n,onSubmit:async e=>{try{let{data:t}=await m({type:n?.type,priority:e.priority||n?.priority,retries:e.retries,scheduled:e.scheduled,input:JSON.parse(e.input||"{}"),originalWorkId:n?._id});return o(`/works?workerId=${t.addWork._id}`),u(null),{success:!0}}catch(e){return{success:!1,error:e}}}}),{closeOnOutsideClick:!0})},[n]),g=async()=>{await u((0,t.jsx)(y.default,{onCancelClick:()=>u(""),message:d({id:"delete_work_confirmation",defaultMessage:"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this work? "}),onOkClick:async()=>{u(""),await c({workId:e}),r.toast.success(d({id:"work_deleted",defaultMessage:"Work deleted successfully"}))},okText:d({id:"delete_work",defaultMessage:"Delete work"})}))};return(0,t.jsxs)("div",{className:"mt-5 max-w-full",children:[(0,t.jsx)(j.default,{}),(0,t.jsxs)("div",{className:"items-center flex min-w-full justify-between gap-3 flex-wrap",children:[(0,t.jsx)(v.default,{headerText:d({id:"work_detail",defaultMessage:"Work Detail"}),title:d({id:"work_detail_title",defaultMessage:"Work {id}"},{id:n?._id})}),n&&(n?.status===C.IWorkStatus.Failed||n?.status===C.IWorkStatus.Success)?(0,t.jsxs)("button",{type:"button","aria-describedby":"header-delete-button",className:"my-auto flex items-center justify-center rounded-sm border-1 border-emerald-600 px-3 py-2 text-sm font-semibold text-emerald-600 shadow-xs hover:border-emerald-800 hover:bg-emerald-700 hover:text-white focus:outline-hidden focus:ring-2 focus:ring-emerald-700 focus:ring-offset-2",onClick:x,children:[(0,t.jsx)("span",{className:"pr-1",children:(0,t.jsx)(I.ArrowPathIcon,{className:"h-5 w-5"})}),d({id:"retry-work",defaultMessage:"Retry"})]}):null,n&&((l=n?.status)===C.IWorkStatus.New||l===C.IWorkStatus.Allocated)?(0,t.jsx)(M.default,{onClick:g}):null]}),n?(0,t.jsx)(f,{work:n}):(0,t.jsx)(b.default,{})]})}],92648)},67338,(e,t,s)=>{let a="/works/WorkDetailPage";(window.__NEXT_P=window.__NEXT_P||[]).push([a,()=>e.r(92648)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([a])})},8233,e=>{e.v(t=>Promise.all(["static/chunks/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,14 @@
|
|
|
1
|
+
__turbopack_load_page_chunks__("/works/WorkQueueListView", [
|
|
2
|
+
"static/chunks/0s8kpaa2at0vl.js",
|
|
3
|
+
"static/chunks/14tbg01czewdy.js",
|
|
4
|
+
"static/chunks/046~w9shfdja6.js",
|
|
5
|
+
"static/chunks/13ztct7h9n9ly.js",
|
|
6
|
+
"static/chunks/0j2~9scdvg.0r.js",
|
|
7
|
+
"static/chunks/09.xyqg-s5.hj.js",
|
|
8
|
+
"static/chunks/12e_gn-hj1ad4.js",
|
|
9
|
+
"static/chunks/0wbeo27c~tc9b.js",
|
|
10
|
+
"static/chunks/181fxym9wgh_m.js",
|
|
11
|
+
"static/chunks/07_4agv0uff.h.js",
|
|
12
|
+
"static/chunks/0sdtxgcidq~40.js",
|
|
13
|
+
"static/chunks/turbopack-15137qvk4g_l5.js"
|
|
14
|
+
])
|