@unchainedshop/admin-ui 4.8.10 → 4.8.13
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/{otKpCLWh7o3eVr5dCljNT → 4QFjEw4-i272QUPox_WDh}/_buildManifest.js +62 -62
- package/out/_next/static/chunks/0-e6qi8~9xsrc.js +13 -0
- package/out/_next/static/chunks/{0.v-jasmtyg-~.js → 0-p9pb.cw90kr.js} +3 -3
- package/out/_next/static/chunks/{0jsod19bi_.b4.js → 0-wmly9hlfl-h.js} +1 -1
- package/out/_next/static/chunks/0-zwze~bs8a64.js +18 -0
- package/out/_next/static/chunks/0.-5_4wqbbsaj.js +5 -0
- package/out/_next/static/chunks/0.66xfxxfu3yi.js +22 -0
- package/out/_next/static/chunks/{0fiu9kb2mg_pe.js → 0.j7go8pveth3.js} +1 -1
- package/out/_next/static/chunks/0.m.vjo-~7cpx.js +5 -0
- package/out/_next/static/chunks/0.mp22l4pgdc-.js +13 -0
- package/out/_next/static/chunks/0.~5t3sdxw~wm.js +16 -0
- package/out/_next/static/chunks/{0vesx2u8114dl.js → 00ec7abn0h4kb.js} +1 -1
- package/out/_next/static/chunks/00jz1vq7wpyol.js +14 -0
- package/out/_next/static/chunks/{0k6labie0t8-n.js → 00q8cuapvy.ul.js} +3 -3
- package/out/_next/static/chunks/018x3eivn1rz0.js +8 -0
- package/out/_next/static/chunks/019lb9wh64pyn.js +12 -0
- package/out/_next/static/chunks/01a_7f~h6r17i.js +15 -0
- package/out/_next/static/chunks/{13ztct7h9n9ly.js → 01ly37nt0r9t_.js} +1 -1
- package/out/_next/static/chunks/020yha000t-iu.js +288 -0
- package/out/_next/static/chunks/{181fxym9wgh_m.js → 02_3e~kbq3f_7.js} +1 -1
- package/out/_next/static/chunks/02k_d8_f063hp.js +807 -0
- package/out/_next/static/chunks/{0xczkhpv81j3p.js → 02ox.vp-1k8aw.js} +1 -1
- package/out/_next/static/chunks/{0znn2bf~0xx64.js → 02~2u2nfraaq0.js} +1 -1
- package/out/_next/static/chunks/032s_-1j0rpo7.js +13 -0
- package/out/_next/static/chunks/{13tjz9q-ls~t3.js → 03dmxy~08p.jp.js} +1 -1
- package/out/_next/static/chunks/03yxmebr52.v7.js +137 -0
- package/out/_next/static/chunks/043673aykwpgr.js +13 -0
- package/out/_next/static/chunks/{0.7jou~9s-9ly.js → 0444v9vs5vvje.js} +29 -29
- package/out/_next/static/chunks/04mfumih09kfm.js +16 -0
- package/out/_next/static/chunks/04tuvmeysc~sl.js +193 -0
- package/out/_next/static/chunks/05jdn254nz4zp.js +103 -0
- package/out/_next/static/chunks/060~mxp2wrj-r.js +19 -0
- package/out/_next/static/chunks/067_urd-skw__.js +15 -0
- package/out/_next/static/chunks/069adpw594mmv.js +807 -0
- package/out/_next/static/chunks/06tyi3kmnlup7.js +8 -0
- package/out/_next/static/chunks/{07absjbyi5efz.js → 06~j41cq6t4ez.js} +18 -18
- package/out/_next/static/chunks/072csnrob0ldo.js +13 -0
- package/out/_next/static/chunks/{0on_9mgul7_i2.js → 076fkz9jmd3rf.js} +5 -5
- package/out/_next/static/chunks/{0d1xe7n4~ift~.js → 07ji_96l7c-59.js} +15 -15
- package/out/_next/static/chunks/{0zhqlp5hndrqa.js → 08..-g2e2d85y.js} +1 -1
- package/out/_next/static/chunks/080v7qvc9_59v.js +20 -0
- package/out/_next/static/chunks/{09.xyqg-s5.hj.js → 0834492o--b0c.js} +1 -1
- package/out/_next/static/chunks/{0aokk5k383t_7.js → 087f.m8c9tvvy.js} +1 -1
- package/out/_next/static/chunks/{06c.18b146dst.js → 088sjtqtc1dog.js} +2 -2
- package/out/_next/static/chunks/08_3bc9rrp1nx.js +807 -0
- package/out/_next/static/chunks/{0p2l~~8x6478b.js → 08_t2zuh7p_8s.js} +4 -4
- package/out/_next/static/chunks/{0hggeos.n3ho1.js → 08e102fb8y-n0.js} +32 -32
- package/out/_next/static/chunks/{0kwn.hg1e.um~.js → 08ea123yfenal.js} +2 -2
- package/out/_next/static/chunks/08v8nb2-wa1z4.js +7 -0
- package/out/_next/static/chunks/08w_25l-9w__o.js +807 -0
- package/out/_next/static/chunks/{0plpuwh-.mwo5.js → 08y~zcyy7l.-w.js} +1 -1
- package/out/_next/static/chunks/08z7pg1y79q_2.js +807 -0
- package/out/_next/static/chunks/097t33pwe895m.js +1 -0
- package/out/_next/static/chunks/099-wzq75lo~z.js +61 -0
- package/out/_next/static/chunks/{0sqtyywk.m-gb.js → 09n7j2308y8rm.js} +4 -4
- package/out/_next/static/chunks/{17iwj3.fr3dk8.js → 09pznmi_a7y23.js} +1 -1
- package/out/_next/static/chunks/{0v20r7u~.j664.js → 09x0hx.fq_r1s.js} +4 -4
- package/out/_next/static/chunks/{0yx15fdi9lbmq.js → 0_bep1vjodl5x.js} +1 -1
- package/out/_next/static/chunks/0_zn2d6jyg7tl.js +1 -0
- package/out/_next/static/chunks/{0-3aqi0z~0~kq.js → 0a2p8fhu8my4l.js} +1 -1
- package/out/_next/static/chunks/0aibn-vwfwnf7.js +1 -0
- package/out/_next/static/chunks/0b.~8zc45d5bv.js +13 -0
- package/out/_next/static/chunks/0b36haj-8kx5j.js +12 -0
- package/out/_next/static/chunks/0b54kndi~x06n.js +14 -0
- package/out/_next/static/chunks/0bww50z~vg30m.js +23 -0
- package/out/_next/static/chunks/0b~l7.d_ld~b~.js +8 -0
- package/out/_next/static/chunks/{11sml2nj796.7.js → 0cdswa.k71071.js} +1 -1
- package/out/_next/static/chunks/{14e4xylnze3x2.js → 0cfvmvdajtt55.js} +1 -1
- package/out/_next/static/chunks/0d.w8~0.d2wc5.js +21 -0
- package/out/_next/static/chunks/{02mkjzfq3ks0c.js → 0dbnzgy__l-zl.js} +28 -28
- package/out/_next/static/chunks/{0f_2kctvcf9fc.js → 0ddrwf88~cv.0.js} +4 -4
- package/out/_next/static/chunks/0dmx4ccs_6hr0.css +1 -0
- package/out/_next/static/chunks/{0xve~a_ipc.21.js → 0dwhff.v_~qy~.js} +2 -2
- package/out/_next/static/chunks/{0myruxyjajors.js → 0e4s54md3mwug.js} +5 -5
- package/out/_next/static/chunks/0eggcuya6014g.js +14 -0
- package/out/_next/static/chunks/{0p1dktj9e81.u.js → 0ei31tr0nzzpl.js} +5 -5
- package/out/_next/static/chunks/{0_34hlmm2xs02.js → 0ei573_1yr..t.js} +1 -1
- package/out/_next/static/chunks/{0_0s9kzhzuc0n.js → 0fkb~clkm7ljr.js} +1 -1
- package/out/_next/static/chunks/{0y51ico3_h9g3.js → 0ft4-vz2clmus.js} +3 -3
- package/out/_next/static/chunks/0g2n98e~9qr0e.js +13 -0
- package/out/_next/static/chunks/0g3fxsc2q-~6x.js +16 -0
- package/out/_next/static/chunks/{0wbeo27c~tc9b.js → 0g50ay.2zkpi3.js} +2 -2
- package/out/_next/static/chunks/0gkl4g.-ckw_m.js +51 -0
- package/out/_next/static/chunks/{16~dpglx5e5~9.js → 0gum1rmu988ah.js} +2 -2
- package/out/_next/static/chunks/0h2.omn909o6x.js +384 -0
- package/out/_next/static/chunks/0h40.be829zzp.js +22 -0
- package/out/_next/static/chunks/{034ij~x6p.1xq.js → 0hhfluc_sufgg.js} +2 -2
- package/out/_next/static/chunks/0hj60nuxbwn6s.js +23 -0
- package/out/_next/static/chunks/0hv7e.jpmlvop.js +61 -0
- package/out/_next/static/chunks/0hw-42c0wy10j.js +10 -0
- package/out/_next/static/chunks/0h~eyc4sb.elz.js +10 -0
- package/out/_next/static/chunks/0iqqjeg8f~phg.js +836 -0
- package/out/_next/static/chunks/{0xua-t44xuvki.js → 0jc1lbc09a~4x.js} +58 -58
- package/out/_next/static/chunks/{15r--ckscx-95.js → 0jd8.rmorspgs.js} +40 -40
- package/out/_next/static/chunks/{02ljwx.y7xl4e.js → 0jkqe2ebokvyz.js} +4 -4
- package/out/_next/static/chunks/0jsvu8o-7b8w6.js +15 -0
- package/out/_next/static/chunks/0j~yr6ro9x-ya.js +11 -0
- package/out/_next/static/chunks/{0ut1av10o1-xk.js → 0kmh5j-_kjc~8.js} +4 -4
- package/out/_next/static/chunks/0kt-~qu194gy-.js +13 -0
- package/out/_next/static/chunks/{11x77ro8a08~_.js → 0kwrv_~caahvk.js} +2 -2
- package/out/_next/static/chunks/{0dcng-~m.1-6b.js → 0lf4oc~5k8ob9.js} +3 -3
- package/out/_next/static/chunks/{0.xzd30c1p.hb.js → 0mb684ugzx0cd.js} +2 -2
- package/out/_next/static/chunks/0mc.aeiu1ppv2.js +12 -0
- package/out/_next/static/chunks/0metkjrkkhwln.js +12 -0
- package/out/_next/static/chunks/0mzbq2gq9i27p.js +1 -0
- package/out/_next/static/chunks/{0sdtxgcidq~40.js → 0n4fjutti0~d7.js} +4 -4
- package/out/_next/static/chunks/0n8djcfqaa_s7.js +807 -0
- package/out/_next/static/chunks/{12id1_zdnq7qf.js → 0nin~q7khx0ai.js} +9 -9
- package/out/_next/static/chunks/{0wuu4uyer4mlk.js → 0njdnvxfz3dun.js} +2 -2
- package/out/_next/static/chunks/{0a6n-.sxlxj9i.js → 0nk56oi0x2gr8.js} +2 -2
- package/out/_next/static/chunks/{0n-s41muyuxz2.js → 0nqc.toz8_xyd.js} +1 -1
- package/out/_next/static/chunks/0o_fodapjeazn.js +14 -0
- package/out/_next/static/chunks/{022.6ji94gj66.js → 0oe8a9lw3ixw_.js} +4 -4
- package/out/_next/static/chunks/0oh2w_4sz604y.js +8 -0
- package/out/_next/static/chunks/{01m_2h75jti7r.js → 0oo9g8eo9h5yw.js} +5 -5
- package/out/_next/static/chunks/0ouimssgncvft.js +87 -0
- package/out/_next/static/chunks/{14vhb8kz5tl75.js → 0p4-vkuu76u5~.js} +11 -11
- package/out/_next/static/chunks/0pdx4h-l9hkr7.js +13 -0
- package/out/_next/static/chunks/{16s_3ks~~cizu.js → 0px8flnc6r_g4.js} +3 -3
- package/out/_next/static/chunks/0q1fz7vkf8-t2.js +13 -0
- package/out/_next/static/chunks/0q6b00wo_18iv.js +103 -0
- package/out/_next/static/chunks/{0k4s4ad64.vp-.js → 0qeca73h4q43p.js} +4 -4
- package/out/_next/static/chunks/0qmfpqem1hx7o.js +12 -0
- package/out/_next/static/chunks/{0ehfzo.p_8b1p.js → 0r7mdfigxa_pb.js} +2 -2
- package/out/_next/static/chunks/{0~dk.04oud9y0.js → 0rdjqb02ahjhr.js} +56 -56
- package/out/_next/static/chunks/0rjoi09g6zvql.js +22 -0
- package/out/_next/static/chunks/{0f7dus4chk-b7.js → 0rnvv95ulwms_.js} +1 -1
- package/out/_next/static/chunks/0rox359wiq487.js +807 -0
- package/out/_next/static/chunks/{0dwysww-f770p.js → 0ryq71192mcev.js} +1 -1
- package/out/_next/static/chunks/{05r6-kh0ahzac.js → 0smri9mw5phdg.js} +7 -7
- package/out/_next/static/chunks/{0eq_bq11j1d8h.js → 0t52j5xo_.0jd.js} +2 -2
- package/out/_next/static/chunks/0u-lf3~ymxgby.js +17 -0
- package/out/_next/static/chunks/{0~vw4ei2v-4t7.js → 0u-wjr2kshqm3.js} +2 -12
- package/out/_next/static/chunks/0u7424-if-bm5.js +15 -0
- package/out/_next/static/chunks/{10m8c175impy1.js → 0v4n6xg99spau.js} +1 -1
- package/out/_next/static/chunks/{04j3vrvch7ujx.js → 0v60wgjeky-zf.js} +1 -1
- package/out/_next/static/chunks/0v974u_fwz9t0.js +13 -0
- package/out/_next/static/chunks/0v9~9cfqrjwmk.js +15 -0
- package/out/_next/static/chunks/{0binkax94nk~0.js → 0vdmirwhkt_t7.js} +3 -3
- package/out/_next/static/chunks/0w.0xegzxxxx~.js +12 -0
- package/out/_next/static/chunks/{0klqyqhl-cmiq.js → 0w2~_0hgru~wr.js} +1 -1
- package/out/_next/static/chunks/0w7bou1i1pq~e.js +13 -0
- package/out/_next/static/chunks/0wacy80l.19rb.js +10 -0
- package/out/_next/static/chunks/{00.vtv-~sgyl1.js → 0wcvru_c_21av.js} +1 -1
- package/out/_next/static/chunks/0wg9romj03ok7.js +14 -0
- package/out/_next/static/chunks/0wkhi7vsft5zy.js +807 -0
- package/out/_next/static/chunks/{0s8kpaa2at0vl.js → 0wlfzb4sf55ow.js} +1 -1
- package/out/_next/static/chunks/0wxwb07thad_s.js +22 -0
- package/out/_next/static/chunks/{053ar3.2l-.gw.js → 0x5ilscrrv6~1.js} +2 -2
- package/out/_next/static/chunks/0xg13~h1q-4wq.js +807 -0
- package/out/_next/static/chunks/{0i2a62pwzd90a.js → 0xn3pmxvvf78p.js} +1 -1
- package/out/_next/static/chunks/{11rfgl5vsu7np.js → 0xo8shvrztopj.js} +3 -3
- package/out/_next/static/chunks/{15z9m-o4tbe0n.js → 0xpl074a7t.xv.js} +1 -1
- package/out/_next/static/chunks/0xu40j3x4u2c0.js +905 -0
- package/out/_next/static/chunks/0xx2_lgalibf2.js +12 -0
- package/out/_next/static/chunks/0xxv0h5xelyms.js +101 -0
- package/out/_next/static/chunks/{00am.v9yslbhb.js → 0yemg5dfo1d6c.js} +40 -40
- package/out/_next/static/chunks/0yi5ln7hm081g.js +13 -0
- package/out/_next/static/chunks/{01.ky4xf9k36u.js → 0yjqctx~9h.9k.js} +1 -1
- package/out/_next/static/chunks/{0ta5trm5g8qpx.js → 0ywby0vzwu-nx.js} +1 -1
- package/out/_next/static/chunks/0z55vj~dwehry.js +807 -0
- package/out/_next/static/chunks/0zbnvva1lpuz1.js +14 -0
- package/out/_next/static/chunks/{0pu7s41rb3je3.js → 0zd5afm6t81vs.js} +1 -1
- package/out/_next/static/chunks/{06em3notkoupj.js → 0zjngfnbmwi6m.js} +4 -4
- package/out/_next/static/chunks/{0wjcrj2l-j~_f.js → 0~0k0yxy.x0ih.js} +4 -4
- package/out/_next/static/chunks/{0tfa15y7gd6ol.js → 0~ldj8e4t-0-5.js} +2 -2
- package/out/_next/static/chunks/104mnt_p8vtj6.js +20 -0
- package/out/_next/static/chunks/{0_bohk37n03zc.js → 104vvv7d~c2eg.js} +2 -2
- package/out/_next/static/chunks/{0jy9qkxxq2k8m.js → 10k~k9x3.e99r.js} +1 -1
- package/out/_next/static/chunks/{0qsxmm8vi313~.js → 11-bnlqk4wf0j.js} +1 -1
- package/out/_next/static/chunks/111i6nh_2f7rm.js +14 -0
- package/out/_next/static/chunks/117qfpg418vc6.js +5 -0
- package/out/_next/static/chunks/{0ridpuenplsy6.js → 11bf5zm2mn9px.js} +1 -1
- package/out/_next/static/chunks/{0cnjwc8yv_7du.js → 11rru5ogzzx_j.js} +3 -3
- package/out/_next/static/chunks/11u2yybrs.lmt.js +15 -0
- package/out/_next/static/chunks/{0~tk5o7vtfrjq.js → 12.h76jtor_rj.js} +3 -3
- package/out/_next/static/chunks/{0oe9_~e6jba2c.js → 12e9r88m3f7iz.js} +2 -2
- package/out/_next/static/chunks/{0khvi32iw8ib..js → 12uh_yb_75x0h.js} +1 -1
- package/out/_next/static/chunks/{0j2~9scdvg.0r.js → 12uzfx.ke8-7g.js} +1 -1
- package/out/_next/static/chunks/12yq1ls494c3e.js +1 -0
- package/out/_next/static/chunks/{10bhd86pfsoy5.js → 131wlo42ote.p.js} +2 -2
- package/out/_next/static/chunks/132a7_rgx_rus.js +50 -0
- package/out/_next/static/chunks/132uukt0btf03.js +5 -0
- package/out/_next/static/chunks/13e2r-eo29ad~.js +217 -0
- package/out/_next/static/chunks/{00e3mi3~f0gn4.js → 13pxfk7r.f7az.js} +1 -1
- package/out/_next/static/chunks/1440uyef3_ev4.js +807 -0
- package/out/_next/static/chunks/14awfkq0dzq_r.js +14 -0
- package/out/_next/static/chunks/14wprr~qpys4q.js +14 -0
- package/out/_next/static/chunks/{0jl_db3hgihi8.js → 14wytn_hbqhnz.js} +1 -1
- package/out/_next/static/chunks/15-wwksq4a9o5.js +32 -0
- package/out/_next/static/chunks/155-4az~yzdaz.js +12 -0
- package/out/_next/static/chunks/157zhcb0h.3ky.js +15 -0
- package/out/_next/static/chunks/15smkfwzgkz~2.js +5 -0
- package/out/_next/static/chunks/{05b3l5s0nobkk.js → 15tvy019rwlb..js} +2 -2
- package/out/_next/static/chunks/16-ze4h5-hw5y.js +13 -0
- package/out/_next/static/chunks/{0b~s0.jgd-9e2.js → 16.yzw8q5dwcz.js} +1 -1
- package/out/_next/static/chunks/167p0dsz_1f4v.js +807 -0
- package/out/_next/static/chunks/{0aewtng76o8~g.js → 16as4rb85ngv2.js} +1 -1
- package/out/_next/static/chunks/{03nwhm6g6_duy.js → 16iaexcq32a3m.js} +27 -27
- package/out/_next/static/chunks/173r9ms_ng~xp.js +13 -0
- package/out/_next/static/chunks/{0__0blfuajz3u.js → 17mo31.py7rf3.js} +1 -1
- package/out/_next/static/chunks/17uir4iz7jiyu.js +16 -0
- package/out/_next/static/chunks/17yow~~6g42-5.js +14 -0
- package/out/_next/static/chunks/{0ltj_coftxt~y.js → 17~vl3.~grct0.js} +1 -1
- package/out/_next/static/chunks/1826ucaazqdc1.js +15 -0
- package/out/_next/static/chunks/187p.6-n6fx_x.js +1 -0
- package/out/_next/static/chunks/18b9rf9.e1h85.js +12 -0
- package/out/_next/static/chunks/{0.9xrb29zv20w.js → 18djseicy_rdm.js} +1 -1
- package/out/_next/static/chunks/turbopack-009_5das4urte.js +1 -0
- package/out/_next/static/chunks/{turbopack-1287bzoslk9u1.js → turbopack-00gm~0pq9.05r.js} +1 -1
- package/out/_next/static/chunks/{turbopack-17e.nh3b1c09s.js → turbopack-00yrc41a3l.4a.js} +1 -1
- package/out/_next/static/chunks/{turbopack-166o4xemgpzos.js → turbopack-01nxrefxv7uoo.js} +1 -1
- package/out/_next/static/chunks/{turbopack-08s~aiq3xlzcf.js → turbopack-01om2863__g6i.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0budji749klrw.js → turbopack-038fslettjma2.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0sxpn70gh2e1n.js → turbopack-03s1r5anr2jq-.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0dt1t2hal2eg_.js → turbopack-04vye_yn-tu09.js} +1 -1
- package/out/_next/static/chunks/{turbopack-02rvdb4tkgrjv.js → turbopack-05jituhuf8zti.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0d2at6-1dg7ic.js → turbopack-05zb9y-ylnaji.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0h3soig1zqjf9.js → turbopack-06gje18dh-see.js} +1 -1
- package/out/_next/static/chunks/{turbopack-08m73n7ghjje8.js → turbopack-08.dhrhv4zu10.js} +1 -1
- package/out/_next/static/chunks/turbopack-088x5sov8p6cu.js +1 -0
- package/out/_next/static/chunks/{turbopack-0fgfznzmtpqr3.js → turbopack-08d9k9lrqu4~8.js} +1 -1
- package/out/_next/static/chunks/{turbopack-13chj.kre5~-o.js → turbopack-09xvsu9uakq0-.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0rb3u467k882g.js → turbopack-0_t1-o~gdzb5i.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0za89bsm6j5j..js → turbopack-0bxb1rai6qp4k.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0_787f6sp.6cg.js → turbopack-0dkzt~vf9zb19.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0i~.gcydpbf0j.js → turbopack-0fuq_ha99txw6.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0rmpmbeh6h_a4.js → turbopack-0fzh24y7roj16.js} +1 -1
- package/out/_next/static/chunks/turbopack-0gjdg137089m-.js +1 -0
- package/out/_next/static/chunks/{turbopack-0h2mp92ryq~5n.js → turbopack-0gnp3pw1lf8yk.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0f0wbx2trvu-p.js → turbopack-0h6jhzffitxcs.js} +1 -1
- package/out/_next/static/chunks/{turbopack-08pymcuz~8k.6.js → turbopack-0hcb9ww4iozzj.js} +1 -1
- package/out/_next/static/chunks/{turbopack-10ws9ty~6v2y2.js → turbopack-0igdrfrah.21p.js} +1 -1
- package/out/_next/static/chunks/turbopack-0k.2oot894m-w.js +1 -0
- package/out/_next/static/chunks/turbopack-0k7mhc3m8sy6y.js +1 -0
- package/out/_next/static/chunks/{turbopack-05q-zo1f4_8nk.js → turbopack-0m7dv_.3idkgb.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0jez7c3m061n_.js → turbopack-0n8eho_biyoh1.js} +1 -1
- package/out/_next/static/chunks/{turbopack-02xo7halg3ijm.js → turbopack-0na56x3u0nebf.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0vrbuuqw7dhc8.js → turbopack-0ogwm2lgu-5b-.js} +1 -1
- package/out/_next/static/chunks/turbopack-0oq1xynzd1x9q.js +1 -0
- package/out/_next/static/chunks/{turbopack-0rmiwby2.tmuz.js → turbopack-0pl-ox0csid8l.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0bcnsy8.cv01n.js → turbopack-0q7eroc0oli9..js} +1 -1
- package/out/_next/static/chunks/{turbopack-0rdt6l7qhpc6o.js → turbopack-0r-mqgjurv8e0.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0h-4si8kzm06h.js → turbopack-0t5nw7wy7mmkf.js} +1 -1
- package/out/_next/static/chunks/{turbopack-10avw44hqcmmc.js → turbopack-0tcfm-vma~196.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0z10_wjj.m98_.js → turbopack-0td9m9tvbt~tl.js} +1 -1
- package/out/_next/static/chunks/{turbopack-17iad.fkpjmmi.js → turbopack-0tz1okkaewi1f.js} +1 -1
- package/out/_next/static/chunks/turbopack-0uh2l16gg51l4.js +1 -0
- package/out/_next/static/chunks/{turbopack-0ncri4kbpdo-1.js → turbopack-0uosbrkt5jhvc.js} +1 -1
- package/out/_next/static/chunks/{turbopack-03a4n7vjcdf4s.js → turbopack-0v71s7h0cqqmz.js} +1 -1
- package/out/_next/static/chunks/{turbopack-08pyudf17wsmf.js → turbopack-0vu6t16r8tw0z.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0uy2gsh_.8fz3.js → turbopack-0w2nsdnex0yyo.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0m8i.4_~7yq8u.js → turbopack-0x-jybbk68lat.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0-_glc2red725.js → turbopack-0x41tsty6_v~c.js} +1 -1
- package/out/_next/static/chunks/{turbopack-048nd5s3~~.zb.js → turbopack-0xaw7w_ida0~g.js} +1 -1
- package/out/_next/static/chunks/{turbopack-044-2cs2_1k10.js → turbopack-0y-boz7-x70ai.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0q9-bc3y8vc99.js → turbopack-0ydafi3r4dy2_.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0_qp.h.7wjz3a.js → turbopack-0ywe60oa5u778.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0we9iwtz4luye.js → turbopack-0z6zj99bxfxp~.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0cew10hju_kg6.js → turbopack-0zjfk945n6s3w.js} +1 -1
- package/out/_next/static/chunks/{turbopack-03.1yr.mqv410.js → turbopack-0~99919zcn3ua.js} +1 -1
- package/out/_next/static/chunks/{turbopack-073n1y44g.w66.js → turbopack-0~zgkntaky6ts.js} +1 -1
- package/out/_next/static/chunks/{turbopack-172v.0c7tctci.js → turbopack-10~2i8mks2f6q.js} +1 -1
- package/out/_next/static/chunks/turbopack-11ltzjul-nqo~.js +1 -0
- package/out/_next/static/chunks/turbopack-11vtz71du~b-..js +1 -0
- package/out/_next/static/chunks/{turbopack-01qu80_xgggyu.js → turbopack-13739_5vl90ry.js} +1 -1
- package/out/_next/static/chunks/{turbopack-122y_xmtdg5dz.js → turbopack-13rts.28rpnzx.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0zfwv86.il.ip.js → turbopack-14.ot88~pf-6_.js} +1 -1
- package/out/_next/static/chunks/{turbopack-07.jcxwysu1hq.js → turbopack-14hdry7m~2.4-.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0qownxdty61o4.js → turbopack-14z3gj4z2ad2z.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0xde_lwi~5lh~.js → turbopack-183gt2q.0a_-j.js} +1 -1
- 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 +5 -5
- package/out/_next/static/chunks/0-_n2k06ojx7r.js +0 -5
- package/out/_next/static/chunks/0.vy2.8wgggps.js +0 -2
- package/out/_next/static/chunks/005x.l2k6k-d..js +0 -18
- package/out/_next/static/chunks/00agabpi46wxi.js +0 -2
- package/out/_next/static/chunks/00k5o8.6bitwm.js +0 -14
- package/out/_next/static/chunks/00s_psirqn3t3.js +0 -16
- package/out/_next/static/chunks/00tw.9rk.17jh.js +0 -13
- package/out/_next/static/chunks/0114gg939kis..js +0 -13
- package/out/_next/static/chunks/01ua~kzkn_2re.js +0 -2
- package/out/_next/static/chunks/02d0usqoqjysl.js +0 -12
- package/out/_next/static/chunks/03j~743_iaz5a.js +0 -87
- package/out/_next/static/chunks/046~w9shfdja6.js +0 -12
- package/out/_next/static/chunks/04j~3i9gi2eo6.js +0 -16
- package/out/_next/static/chunks/04t59a562mha5.js +0 -31
- package/out/_next/static/chunks/04vdkmmacw9ha.js +0 -22
- package/out/_next/static/chunks/04y07w.dkuiwn.js +0 -13
- package/out/_next/static/chunks/055l.ongzthsf.js +0 -2
- package/out/_next/static/chunks/07e9hvcn2m7m0.css +0 -1
- package/out/_next/static/chunks/07f5t.c-xpf7h.js +0 -13
- package/out/_next/static/chunks/07gn.w-1ng2vv.js +0 -13
- package/out/_next/static/chunks/07zgccwz6dy77.js +0 -2
- package/out/_next/static/chunks/0889-5c7g4~23.js +0 -11
- package/out/_next/static/chunks/08uu~af75in0n.js +0 -12
- package/out/_next/static/chunks/08vod0vz9mfc4.js +0 -8
- package/out/_next/static/chunks/08yw1rglz~xb4.js +0 -101
- package/out/_next/static/chunks/0_hg8t71uww7s.js +0 -8
- package/out/_next/static/chunks/0anmp28qcvtz4.js +0 -8
- package/out/_next/static/chunks/0bblfu.xqcuns.js +0 -10
- package/out/_next/static/chunks/0bfcmu-br9e2u.js +0 -14
- package/out/_next/static/chunks/0c6p-vlcfco03.js +0 -2
- package/out/_next/static/chunks/0cau~hqb0jkf..js +0 -1
- package/out/_next/static/chunks/0dqc2kv2x_nk4.js +0 -2
- package/out/_next/static/chunks/0eg6xdu8x_d7y.js +0 -14
- package/out/_next/static/chunks/0eu4w.vyzr4b..js +0 -5
- package/out/_next/static/chunks/0exrsz6ax-mbc.js +0 -50
- package/out/_next/static/chunks/0gy3~~akjt5zb.js +0 -23
- package/out/_next/static/chunks/0j3v9dx4asjsq.js +0 -12
- package/out/_next/static/chunks/0j61yy5389cth.js +0 -14
- package/out/_next/static/chunks/0jbis591ftr-2.js +0 -2
- package/out/_next/static/chunks/0jxpx..caiup3.js +0 -51
- package/out/_next/static/chunks/0l5bh7qmjyy-x.js +0 -12
- package/out/_next/static/chunks/0lq8y5ij59ip~.js +0 -1
- package/out/_next/static/chunks/0lvph83c6z2a-.js +0 -1
- package/out/_next/static/chunks/0mit4c5ub3hzd.js +0 -21
- package/out/_next/static/chunks/0niisvr6tu_.s.js +0 -14
- package/out/_next/static/chunks/0opzztz1m3dgm.js +0 -13
- package/out/_next/static/chunks/0pvo5m24k8fer.js +0 -61
- package/out/_next/static/chunks/0pz95x3mf_1hi.js +0 -73
- package/out/_next/static/chunks/0q_s9ru.9iese.js +0 -193
- package/out/_next/static/chunks/0qqbfnn-8kyih.js +0 -13
- package/out/_next/static/chunks/0r2k5bkrp.2j8.js +0 -12
- package/out/_next/static/chunks/0r5v75~9w2i0e.js +0 -15
- package/out/_next/static/chunks/0sd4a-~9avn_p.js +0 -13
- package/out/_next/static/chunks/0sdjbs1dc.3lj.js +0 -13
- package/out/_next/static/chunks/0tdiq0k6ud52a.js +0 -16
- package/out/_next/static/chunks/0u5rgvh_590-0.js +0 -15
- package/out/_next/static/chunks/0um.1z-8.p8r0.js +0 -13
- package/out/_next/static/chunks/0uxau~e3~ssvm.js +0 -12
- package/out/_next/static/chunks/0v1w2aklpd~ye.js +0 -12
- package/out/_next/static/chunks/0v8yw1gejljj5.js +0 -15
- package/out/_next/static/chunks/0vgtn_yjxb6yd.js +0 -2
- package/out/_next/static/chunks/0vkv8dnei98d..js +0 -20
- package/out/_next/static/chunks/0w-uqbyam7n02.js +0 -12
- package/out/_next/static/chunks/0whq69wyy9mrh.js +0 -1
- package/out/_next/static/chunks/0wjmq3x2k52hq.js +0 -288
- package/out/_next/static/chunks/0wslgos8gylh0.js +0 -73
- package/out/_next/static/chunks/0wtfsg4jrar-7.js +0 -14
- package/out/_next/static/chunks/0x0k96-d.l089.js +0 -16
- package/out/_next/static/chunks/0x6_x80dsgoq7.js +0 -2
- package/out/_next/static/chunks/0x6g~zy3pnatc.js +0 -20
- package/out/_next/static/chunks/0xgvh8od~ro91.js +0 -10
- package/out/_next/static/chunks/0xtekgyob1epe.js +0 -13
- package/out/_next/static/chunks/0y8c.r4-4pjp8.js +0 -19
- package/out/_next/static/chunks/0ydngstm9snea.js +0 -13
- package/out/_next/static/chunks/0z11v4qnrllk9.js +0 -137
- package/out/_next/static/chunks/0zgodl8.5v--i.js +0 -14
- package/out/_next/static/chunks/0zidj~~gu3xxm.js +0 -16
- package/out/_next/static/chunks/0zpe1nbzz~f8h.js +0 -5
- package/out/_next/static/chunks/0zquhd.9in6fv.js +0 -14
- package/out/_next/static/chunks/0zxwd28vfhh3j.js +0 -2
- package/out/_next/static/chunks/0~40qa3pjlk_o.js +0 -17
- package/out/_next/static/chunks/0~7.i2rblczi..js +0 -16
- package/out/_next/static/chunks/103dw~jwhci8m.js +0 -61
- package/out/_next/static/chunks/1041bp0usprml.js +0 -217
- package/out/_next/static/chunks/10bnjtqxg.s.w.js +0 -12
- package/out/_next/static/chunks/10ega3iw-6b5u.js +0 -13
- package/out/_next/static/chunks/10jmwo0cv2790.js +0 -100
- package/out/_next/static/chunks/1132321dr4i_i.js +0 -7
- package/out/_next/static/chunks/1171_1hhzib8r.js +0 -13
- package/out/_next/static/chunks/11fl4v~k-i6dd.js +0 -1
- package/out/_next/static/chunks/11tni-.u6yn0f.js +0 -22
- package/out/_next/static/chunks/12cnjijto33li.js +0 -13
- package/out/_next/static/chunks/12e_gn-hj1ad4.js +0 -5
- package/out/_next/static/chunks/12t3.z4xdsbg9.js +0 -15
- package/out/_next/static/chunks/13h_3r03rklr2.js +0 -54
- package/out/_next/static/chunks/13y-i1vhr7vk9.js +0 -22
- package/out/_next/static/chunks/14a0inwv~jkby.js +0 -15
- package/out/_next/static/chunks/14tydvplo2zqd.js +0 -8
- package/out/_next/static/chunks/1659zpx9fjfpb.js +0 -5
- package/out/_next/static/chunks/169ub5vhwew62.js +0 -1
- package/out/_next/static/chunks/16h14.l-ka5.3.js +0 -10
- package/out/_next/static/chunks/16is~ty4.qd1f.js +0 -14
- package/out/_next/static/chunks/16y_d4bic~ecq.js +0 -14
- package/out/_next/static/chunks/172~p7wli5kgx.js +0 -2
- package/out/_next/static/chunks/17o8q4mprk6t1.js +0 -15
- package/out/_next/static/chunks/turbopack-0.dlptkjkvs9m.js +0 -1
- package/out/_next/static/chunks/turbopack-0222kx8reru8p.js +0 -1
- package/out/_next/static/chunks/turbopack-032096o54t6cf.js +0 -1
- package/out/_next/static/chunks/turbopack-0hoyuq03bzo4m.js +0 -1
- package/out/_next/static/chunks/turbopack-0j~_f6-nrmhx..js +0 -1
- package/out/_next/static/chunks/turbopack-0la4bps2data5.js +0 -1
- package/out/_next/static/chunks/turbopack-14jj2g_mtapbw.js +0 -1
- package/out/_next/static/chunks/turbopack-15s_9u5jtu5er.js +0 -1
- package/out/_next/static/chunks/turbopack-16qy70y_jrcle.js +0 -1
- /package/out/_next/static/{otKpCLWh7o3eVr5dCljNT → 4QFjEw4-i272QUPox_WDh}/_clientMiddlewareManifest.js +0 -0
- /package/out/_next/static/{otKpCLWh7o3eVr5dCljNT → 4QFjEw4-i272QUPox_WDh}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,68034,e=>{"use strict";function t(){for(var e,t,r=0,a="",s=arguments.length;r<s;r++)(e=arguments[r])&&(t=function e(t){var r,a,s="";if("string"==typeof t||"number"==typeof t)s+=t;else if("object"==typeof t)if(Array.isArray(t)){var n=t.length;for(r=0;r<n;r++)t[r]&&(a=e(t[r]))&&(s&&(s+=" "),s+=a)}else for(a in t)t[a]&&(s&&(s+=" "),s+=a);return s}(e))&&(a&&(a+=" "),a+=t);return a}e.s(["clsx",0,t,"default",0,t])},89317,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...a},s){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:s,"aria-labelledby":r},a),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 4.5v15m7.5-7.5h-15"}))});e.s(["PlusIcon",0,r],89317)},93734,e=>{"use strict";var t=e.i(69178),r=e.i(13071);e.s(["default",0,({text:e,children:a,onClick:s,className:n="",disabled:i=!1,id:l="",variant:o="primary",size:d="md",type:u="button",loading:c=!1,icon:f,iconRight:m,fullWidth:g=!1,rounded:h="md",ariaLabel:x,...p})=>{let v=a||e,b=(f||m)&&v?"gap-2":"";return(0,t.jsx)("button",{id:l,type:u,disabled:i||c,onClick:s,"aria-label":x,className:(0,r.default)("inline-flex items-center justify-center font-medium shadow-xs focus:outline-hidden focus:ring-2 focus:ring-offset-2 transition-colors duration-200 disabled:cursor-not-allowed disabled:opacity-50",{xs:"px-2.5 py-1.5 text-xs h-6",sm:"px-3 py-2 text-sm h-8",md:"px-4 py-2 text-sm h-9",lg:"px-6 py-3 text-base h-11"}[d],{none:"rounded-none",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",full:"rounded-full"}[h],{primary:"border border-slate-800 dark:border-slate-600 bg-slate-800 dark:bg-slate-600 text-white hover:bg-slate-900 dark:hover:bg-slate-500 focus:ring-slate-800 dark:focus:ring-slate-400",secondary:"border border-slate-300 dark:border-slate-600 bg-white dark:bg-slate-800 text-slate-700 dark:text-slate-200 hover:bg-slate-50 dark:hover:bg-slate-700 focus:ring-slate-500",tertiary:"border border-slate-200 dark:border-slate-700 bg-slate-50 dark:bg-slate-800 text-slate-600 dark:text-slate-300 hover:bg-slate-100 dark:hover:bg-slate-700 focus:ring-slate-400",quaternary:"bg-transparent text-slate-700 dark:text-slate-200 hover:bg-slate-100 dark:hover:bg-slate-800 focus:ring-slate-400",danger:"border border-rose-500 dark:border-rose-400 bg-white dark:bg-slate-800 text-rose-600 dark:text-rose-400 hover:bg-rose-50 dark:hover:bg-rose-900/10 focus:ring-rose-500",ghost:"bg-transparent border border-transparent text-slate-600 dark:text-slate-400 hover:text-slate-900 dark:hover:text-slate-200 hover:bg-slate-100 dark:hover:bg-slate-800 focus:ring-slate-400",success:"border border-emerald-500 dark:border-emerald-400 bg-emerald-50 dark:bg-emerald-900/20 text-emerald-600 dark:text-emerald-400 hover:bg-emerald-100 dark:hover:bg-emerald-900/30 focus:ring-emerald-500",neutral:"border border-slate-300 dark:border-slate-600 bg-slate-100 dark:bg-slate-700 text-slate-600 dark:text-slate-300 hover:bg-slate-200 dark:hover:bg-slate-600 focus:ring-slate-400",input:"border border-slate-300 dark:border-slate-600 bg-white dark:bg-slate-800 text-slate-900 dark:text-slate-100 hover:border-slate-400 dark:hover:border-slate-500 focus:ring-slate-500 focus:border-slate-500"}[o],b,{"w-full":g},n),...p,children:c?(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("div",{className:"w-4 h-4 border-2 border-current border-t-transparent rounded-full animate-spin"}),v]}):(0,t.jsxs)(t.Fragment,{children:[f,v,m]})})}])},19372,46554,e=>{"use strict";var t=e.i(1415);let r=t.default.createContext({isAdmin:()=>!1,hasRole:()=>!1});e.s(["default",0,r],46554),e.s(["default",0,()=>(0,t.useContext)(r)],19372)},69744,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...a},s){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:s,"aria-labelledby":r},a),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))});e.s(["XMarkIcon",0,r],69744)},39472,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...a},s){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:s,"aria-labelledby":r},a),e?t.createElement("title",{id:r},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,r],39472)},17362,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={VALID_LOADERS:function(){return n},imageConfigDefault:function(){return i}};for(var s in a)Object.defineProperty(r,s,{enumerable:!0,get:a[s]});let n=["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,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ImageConfigContext",{enumerable:!0,get:function(){return n}});let a=e.r(23726)._(e.r(1415)),s=e.r(17362),n=a.default.createContext(s.imageConfigDefault)},92699,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...a},s){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:s,"aria-labelledby":r},a),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 12.75 6 6 9-13.5"}))});e.s(["CheckIcon",0,r],92699)},30060,e=>{"use strict";var t=e.i(1415);e.s(["default",0,(e,r)=>{let[a,s]=(0,t.useState)(()=>{try{if(window.localStorage){let t=window.localStorage.getItem(e);return t?JSON.parse(t):r}return r}catch(e){return r}});return[a,t=>{try{if(window.localStorage){let r=t instanceof Function?t(a):t;s(r),window.localStorage.setItem(e,JSON.stringify(r))}else console.error("localStorage is not available")}catch(e){console.error(e)}}]}])},76691,e=>{"use strict";var t=e.i(71983);let r=t.gql`
|
|
2
|
+
fragment LanguageFragment on Language {
|
|
3
|
+
_id
|
|
4
|
+
isoCode
|
|
5
|
+
isActive
|
|
6
|
+
isBase
|
|
7
|
+
name
|
|
8
|
+
}
|
|
9
|
+
`;e.s(["default",0,r])},23335,e=>{"use strict";var t=e.i(71983),r=e.i(13699),a=e.i(76691);let s=t.gql`
|
|
10
|
+
query Languages(
|
|
11
|
+
$queryString: String
|
|
12
|
+
$offset: Int
|
|
13
|
+
$limit: Int
|
|
14
|
+
$includeInactive: Boolean
|
|
15
|
+
$sort: [SortOptionInput!]
|
|
16
|
+
) {
|
|
17
|
+
languages(
|
|
18
|
+
queryString: $queryString
|
|
19
|
+
offset: $offset
|
|
20
|
+
limit: $limit
|
|
21
|
+
includeInactive: $includeInactive
|
|
22
|
+
sort: $sort
|
|
23
|
+
) {
|
|
24
|
+
...LanguageFragment
|
|
25
|
+
}
|
|
26
|
+
languagesCount(includeInactive: $includeInactive, queryString: $queryString)
|
|
27
|
+
}
|
|
28
|
+
${a.default}
|
|
29
|
+
`;e.s(["default",0,({queryString:e="",limit:t=20,offset:a=0,includeInactive:n=!0,sort:i=[]}={})=>{let{data:l,loading:o,error:d,fetchMore:u}=(0,r.useQuery)(s,{variables:{queryString:e,limit:t,offset:a,includeInactive:n,sort:i}}),c=l?.languages||[],f=l?.languagesCount,m=c?.length<f;return{languages:c,languagesCount:f,hasMore:m,loading:o,error:d,loadMore:()=>{u({variables:{offset:c?.length}})}}}])},360,e=>{"use strict";var t=e.i(71983);let r=t.gql`
|
|
30
|
+
fragment CountryFragment on Country {
|
|
31
|
+
_id
|
|
32
|
+
isoCode
|
|
33
|
+
isActive
|
|
34
|
+
isBase
|
|
35
|
+
|
|
36
|
+
defaultCurrency {
|
|
37
|
+
_id
|
|
38
|
+
isoCode
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
`;e.s(["default",0,r])},63458,e=>{"use strict";var t=e.i(71983),r=e.i(13699),a=e.i(360);let s=t.gql`
|
|
42
|
+
query Countries(
|
|
43
|
+
$queryString: String
|
|
44
|
+
$limit: Int
|
|
45
|
+
$offset: Int
|
|
46
|
+
$includeInactive: Boolean
|
|
47
|
+
$sort: [SortOptionInput!]
|
|
48
|
+
) {
|
|
49
|
+
countries(
|
|
50
|
+
queryString: $queryString
|
|
51
|
+
limit: $limit
|
|
52
|
+
offset: $offset
|
|
53
|
+
includeInactive: $includeInactive
|
|
54
|
+
sort: $sort
|
|
55
|
+
) {
|
|
56
|
+
...CountryFragment
|
|
57
|
+
}
|
|
58
|
+
countriesCount(includeInactive: $includeInactive, queryString: $queryString)
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
${a.default}
|
|
62
|
+
`;e.s(["default",0,({queryString:e="",limit:t=20,offset:a=0,includeInactive:n=!0,sort:i=[]}={})=>{let{data:l,loading:o,error:d,fetchMore:u}=(0,r.useQuery)(s,{variables:{queryString:e,limit:t,offset:a,includeInactive:n,sort:i}}),c=l?.countries||[],f=l?.countriesCount,m=c?.length<f;return{countries:c,countriesCount:f,hasMore:m,loading:o,error:d,loadMore:()=>{u({variables:{offset:c?.length}})}}}])},81312,79174,58724,e=>{"use strict";var t=e.i(1415),r=e.i(69178),a=e.i(48021),s=e.i(23335),n=e.i(63458),i=e.i(71983),l=e.i(13699);let o=i.gql`
|
|
63
|
+
query ShopInfo {
|
|
64
|
+
shopInfo {
|
|
65
|
+
_id
|
|
66
|
+
version
|
|
67
|
+
language {
|
|
68
|
+
_id
|
|
69
|
+
isoCode
|
|
70
|
+
name
|
|
71
|
+
}
|
|
72
|
+
country {
|
|
73
|
+
_id
|
|
74
|
+
isoCode
|
|
75
|
+
flagEmoji
|
|
76
|
+
name
|
|
77
|
+
defaultCurrency {
|
|
78
|
+
_id
|
|
79
|
+
isoCode
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
adminUiConfig {
|
|
83
|
+
singleSignOnURL
|
|
84
|
+
externalLinks {
|
|
85
|
+
href
|
|
86
|
+
title
|
|
87
|
+
target
|
|
88
|
+
}
|
|
89
|
+
customProperties {
|
|
90
|
+
entityName
|
|
91
|
+
inlineFragment
|
|
92
|
+
}
|
|
93
|
+
productTags
|
|
94
|
+
assortmentTags
|
|
95
|
+
userTags
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
`,d=()=>{let{data:e,loading:t,error:r}=(0,l.useQuery)(o,{fetchPolicy:"cache-first"}),{shopInfo:a}=e||{};return{shopInfo:a,defaultLocale:[a?.language?.isoCode,a?.country?.isoCode?.toUpperCase()].filter(Boolean)?.join("-"),loading:t,error:r}};e.s(["default",0,d],79174);var u=e.i(30060);let c=(0,t.createContext)(void 0);e.s(["AppContextWrapper",0,({children:e,onlyFull:i=!1})=>{let l,{languages:o}=(0,s.default)(),{locale:f}=(0,a.useIntl)(),[m,g]=(0,u.default)("selectedLocale",null),{shopInfo:h,loading:x}=d(),{countries:p}=(0,n.default)(),[v,b]=(0,t.useState)(f),y=e=>{g(e),b(e)};(0,t.useEffect)(()=>{m?b(m):x||y(`${h?.language?.isoCode}-${h?.country?.isoCode?.toUpperCase()}`)},[h,x,f]);let k=(l=[],o.forEach(({_id:e,isoCode:t})=>{l.push({_id:e,isoCode:t}),p.forEach(({isoCode:r,_id:a})=>{let s=[t,r.toUpperCase()].join("-");(e=>{try{return new Intl.DateTimeFormat(e).resolvedOptions().locale.toLowerCase()===e.toLowerCase()}catch(e){return!1}})(s)&&l.push({_id:`${a}-${e}`,isoCode:s})})}),l).filter(e=>!i||e.isoCode.includes("-")),w=!!h?.language&&!!h?.country;return(0,r.jsx)(c.Provider,{value:{selectedLocale:v,setSelectedLocale:y,languageDialectList:k,isSystemReady:w,shopInfo:h},children:e})},"default",0,c],58724),e.s(["default",0,()=>{let e=(0,t.useContext)(c);if(!e)throw Error("useLocale must be used within a LocaleProvider");return e}],81312)},58930,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...a},s){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:s,"aria-labelledby":r},a),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"}))});e.s(["ChevronDownIcon",0,r],58930)},47426,(e,t,r)=>{"use strict";var a=e.r(1415),s="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},n=a.useSyncExternalStore,i=a.useRef,l=a.useEffect,o=a.useMemo,d=a.useDebugValue;r.useSyncExternalStoreWithSelector=function(e,t,r,a,u){var c=i(null);if(null===c.current){var f={hasValue:!1,value:null};c.current=f}else f=c.current;var m=n(e,(c=o(function(){function e(e){if(!l){if(l=!0,n=e,e=a(e),void 0!==u&&f.hasValue){var t=f.value;if(u(t,e))return i=t}return i=e}if(t=i,s(n,e))return t;var r=a(e);return void 0!==u&&u(t,r)?(n=e,t):(n=e,i=r)}var n,i,l=!1,o=void 0===r?null:r;return[function(){return e(t())},null===o?void 0:function(){return e(o())}]},[t,r,a,u]))[0],c[1]);return l(function(){f.hasValue=!0,f.value=m},[m]),d(m),m}},42806,(e,t,r)=>{"use strict";t.exports=e.r(47426)},5460,e=>{"use strict";var t=e.i(71983);let r=t.gql`
|
|
100
|
+
fragment OrderFragment on Order {
|
|
101
|
+
_id
|
|
102
|
+
status
|
|
103
|
+
created
|
|
104
|
+
updated
|
|
105
|
+
ordered
|
|
106
|
+
orderNumber
|
|
107
|
+
confirmed
|
|
108
|
+
fulfilled
|
|
109
|
+
contact {
|
|
110
|
+
telNumber
|
|
111
|
+
emailAddress
|
|
112
|
+
}
|
|
113
|
+
total {
|
|
114
|
+
isTaxable
|
|
115
|
+
isNetPrice
|
|
116
|
+
amount
|
|
117
|
+
currencyCode
|
|
118
|
+
}
|
|
119
|
+
user {
|
|
120
|
+
_id
|
|
121
|
+
username
|
|
122
|
+
isGuest
|
|
123
|
+
avatar {
|
|
124
|
+
_id
|
|
125
|
+
url
|
|
126
|
+
}
|
|
127
|
+
profile {
|
|
128
|
+
displayName
|
|
129
|
+
address {
|
|
130
|
+
firstName
|
|
131
|
+
lastName
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
`;e.s(["default",0,r])},73517,e=>{"use strict";var t=e.i(71983);let r=t.gql`
|
|
137
|
+
fragment WorkFragment on Work {
|
|
138
|
+
_id
|
|
139
|
+
type
|
|
140
|
+
scheduled
|
|
141
|
+
status
|
|
142
|
+
started
|
|
143
|
+
success
|
|
144
|
+
finished
|
|
145
|
+
created
|
|
146
|
+
deleted
|
|
147
|
+
retries
|
|
148
|
+
original {
|
|
149
|
+
_id
|
|
150
|
+
retries
|
|
151
|
+
}
|
|
152
|
+
input
|
|
153
|
+
result
|
|
154
|
+
}
|
|
155
|
+
`;e.s(["default",0,r])},37620,e=>{"use strict";var t=e.i(71983),r=e.i(13699),a=e.i(5858),s=e.i(73517);let n=t.gql`
|
|
156
|
+
query WorkQueue(
|
|
157
|
+
$queryString: String
|
|
158
|
+
$offset: Int
|
|
159
|
+
$limit: Int
|
|
160
|
+
$status: [WorkStatus!]
|
|
161
|
+
$types: [WorkType!]
|
|
162
|
+
$created: DateFilterInput
|
|
163
|
+
$sort: [SortOptionInput!]
|
|
164
|
+
) {
|
|
165
|
+
workQueue(
|
|
166
|
+
queryString: $queryString
|
|
167
|
+
offset: $offset
|
|
168
|
+
limit: $limit
|
|
169
|
+
status: $status
|
|
170
|
+
types: $types
|
|
171
|
+
created: $created
|
|
172
|
+
sort: $sort
|
|
173
|
+
) {
|
|
174
|
+
...WorkFragment
|
|
175
|
+
}
|
|
176
|
+
activeWorkTypes
|
|
177
|
+
workQueueCount(
|
|
178
|
+
status: $status
|
|
179
|
+
types: $types
|
|
180
|
+
created: $created
|
|
181
|
+
queryString: $queryString
|
|
182
|
+
)
|
|
183
|
+
}
|
|
184
|
+
${s.default}
|
|
185
|
+
`;e.s(["default",0,({queryString:e="",limit:t=50,status:s,types:i,created:l=null,sort:o=[],offset:d=0,pollInterval:u=1e3})=>{let{data:c,loading:f,error:m,fetchMore:g,previousData:h}=(0,r.useQuery)(n,{fetchPolicy:"cache-and-network",pollInterval:u,variables:{queryString:e,offset:d,limit:t,status:s,types:i,created:Object.fromEntries(Object.entries(l||{}).filter(([,e])=>e).map(([e,t])=>[e,t])),sort:(o||[]).length?o:[{key:"scheduled",value:a.ISortDirection.Desc}]}}),x=c?.workQueue||h?.workQueue||[],p=c?.activeWorkTypes||[],v=c?.workQueueCount||0,b=x?.length<v;return{workQueue:x,total:v,activeWorkTypes:p,hasMore:b,loading:f,error:m,loadMore:()=>{g({variables:{offset:x.length}})}}}])},83120,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...a},s){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:s,"aria-labelledby":r},a),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))});e.s(["ClockIcon",0,r],83120)},6833,e=>{"use strict";var t=e.i(71983),r=e.i(13699),a=e.i(5858),s=e.i(39381),n=e.i(5460);let i=t.gql`
|
|
186
|
+
query Orders(
|
|
187
|
+
$limit: Int
|
|
188
|
+
$offset: Int
|
|
189
|
+
$includeCarts: Boolean
|
|
190
|
+
$queryString: String
|
|
191
|
+
$sort: [SortOptionInput!]
|
|
192
|
+
$paymentProviderIds: [String!]
|
|
193
|
+
$deliveryProviderIds: [String!]
|
|
194
|
+
$dateRange: DateFilterInput
|
|
195
|
+
$status: [OrderStatus!]
|
|
196
|
+
) {
|
|
197
|
+
orders(
|
|
198
|
+
limit: $limit
|
|
199
|
+
offset: $offset
|
|
200
|
+
includeCarts: $includeCarts
|
|
201
|
+
queryString: $queryString
|
|
202
|
+
sort: $sort
|
|
203
|
+
paymentProviderIds: $paymentProviderIds
|
|
204
|
+
deliveryProviderIds: $deliveryProviderIds
|
|
205
|
+
dateRange: $dateRange
|
|
206
|
+
status: $status
|
|
207
|
+
) {
|
|
208
|
+
...OrderFragment
|
|
209
|
+
}
|
|
210
|
+
ordersCount(
|
|
211
|
+
includeCarts: $includeCarts
|
|
212
|
+
queryString: $queryString
|
|
213
|
+
paymentProviderIds: $paymentProviderIds
|
|
214
|
+
deliveryProviderIds: $deliveryProviderIds
|
|
215
|
+
dateRange: $dateRange
|
|
216
|
+
status: $status
|
|
217
|
+
)
|
|
218
|
+
}
|
|
219
|
+
${n.default}
|
|
220
|
+
`;e.s(["default",0,({limit:e=s.DefaultLimit,offset:t=0,includeCarts:n=!1,queryString:l="",sort:o=[],dateRange:d,status:u,deliveryProviderIds:c,paymentProviderIds:f}={})=>{let{data:m,loading:g,error:h,fetchMore:x}=(0,r.useQuery)(i,{variables:{limit:e,deliveryProviderIds:c?.length?c:null,paymentProviderIds:f?.length?f:null,offset:t,includeCarts:n,queryString:l,dateRange:d,status:u,sort:o.length?[...o,{key:"created",value:a.ISortDirection.Desc}]:[{key:"ordered",value:a.ISortDirection.Desc},{key:"created",value:a.ISortDirection.Desc}]}}),p=m?.orders||[],v=m?.ordersCount,b=p?.length<v;return{orders:p,ordersCount:v,hasMore:b,loading:g,error:h,loadMore:()=>{x({variables:{offset:p?.length}})}}}])},67455,e=>{"use strict";var t=e.i(1415);let r=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim(),a=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var s={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let n=(0,t.createContext)({}),i=(0,t.forwardRef)(({color:e,size:a,strokeWidth:i,absoluteStrokeWidth:l,className:o="",children:d,iconNode:u,...c},f)=>{let{size:m=24,strokeWidth:g=2,absoluteStrokeWidth:h=!1,color:x="currentColor",className:p=""}=(0,t.useContext)(n)??{},v=l??h?24*Number(i??g)/Number(a??m):i??g;return(0,t.createElement)("svg",{ref:f,...s,width:a??m??s.width,height:a??m??s.height,stroke:e??x,strokeWidth:v,className:r("lucide",p,o),...!d&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(c)&&{"aria-hidden":"true"},...c},[...u.map(([e,r])=>(0,t.createElement)(e,r)),...Array.isArray(d)?d:[d]])});e.s(["default",0,(e,s)=>{let n=(0,t.forwardRef)(({className:n,...l},o)=>(0,t.createElement)(i,{ref:o,iconNode:s,className:r(`lucide-${a(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,n),...l}));return n.displayName=a(e),n}],67455)},69090,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...a},s){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":r},a),e?t.createElement("title",{id:r},e):null,t.createElement("path",{d:"M7 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6ZM14.5 9a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5ZM1.615 16.428a1.224 1.224 0 0 1-.569-1.175 6.002 6.002 0 0 1 11.908 0c.058.467-.172.92-.57 1.174A9.953 9.953 0 0 1 7 18a9.953 9.953 0 0 1-5.385-1.572ZM14.5 16h-.106c.07-.297.088-.611.048-.933a7.47 7.47 0 0 0-1.588-3.755 4.502 4.502 0 0 1 5.874 2.636.818.818 0 0 1-.36.98A7.465 7.465 0 0 1 14.5 16Z"}))});e.s(["UsersIcon",0,r],69090)},74746,e=>{"use strict";var t=e.i(71983),r=e.i(13699);let a=t.gql`
|
|
221
|
+
query ProductsCount(
|
|
222
|
+
$queryString: String
|
|
223
|
+
$tags: [LowerCaseString!]
|
|
224
|
+
$slugs: [String!]
|
|
225
|
+
$includeDrafts: Boolean
|
|
226
|
+
) {
|
|
227
|
+
productsCount(
|
|
228
|
+
tags: $tags
|
|
229
|
+
slugs: $slugs
|
|
230
|
+
includeDrafts: $includeDrafts
|
|
231
|
+
queryString: $queryString
|
|
232
|
+
)
|
|
233
|
+
}
|
|
234
|
+
`;e.s(["default",0,({queryString:e="",tags:t=null,includeDrafts:s=!0})=>{let{data:n,loading:i,error:l}=(0,r.useQuery)(a,{variables:{queryString:e,includeDrafts:s,tags:t}});return{productsCount:n?.productsCount,loading:i,error:l}}])},30186,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...a},s){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:s,"aria-labelledby":r},a),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 21a9.004 9.004 0 0 0 8.716-6.747M12 21a9.004 9.004 0 0 1-8.716-6.747M12 21c2.485 0 4.5-4.03 4.5-9S14.485 3 12 3m0 18c-2.485 0-4.5-4.03-4.5-9S9.515 3 12 3m0 0a8.997 8.997 0 0 1 7.843 4.582M12 3a8.997 8.997 0 0 0-7.843 4.582m15.686 0A11.953 11.953 0 0 1 12 10.5c-2.998 0-5.74-1.1-7.843-2.918m15.686 0A8.959 8.959 0 0 1 21 12c0 .778-.099 1.533-.284 2.253m0 0A17.919 17.919 0 0 1 12 16.5c-3.162 0-6.133-.815-8.716-2.247m0 0A9.015 9.015 0 0 1 3 12c0-1.605.42-3.113 1.157-4.418"}))});e.s(["GlobeAltIcon",0,r],30186)},72608,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...a},s){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:s,"aria-labelledby":r},a),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m21 7.5-9-5.25L3 7.5m18 0-9 5.25m9-5.25v9l-9 5.25M3 7.5l9 5.25M3 7.5v9l9 5.25m0-9v9"}))});e.s(["CubeIcon",0,r],72608)},57363,(e,t,r)=>{"use strict";var a=e.r(1415),s="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},n=a.useState,i=a.useEffect,l=a.useLayoutEffect,o=a.useDebugValue;function d(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!s(e,r)}catch(e){return!0}}var u="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),a=n({inst:{value:r,getSnapshot:t}}),s=a[0].inst,u=a[1];return l(function(){s.value=r,s.getSnapshot=t,d(s)&&u({inst:s})},[e,r,t]),i(function(){return d(s)&&u({inst:s}),e(function(){d(s)&&u({inst:s})})},[e]),o(r),r};r.useSyncExternalStore=void 0!==a.useSyncExternalStore?a.useSyncExternalStore:u},64448,(e,t,r)=>{"use strict";t.exports=e.r(57363)},97524,e=>{"use strict";var t=e.i(1415),r=e.i(71983),a=e.i(13699),s=e.i(48021);let n=r.gql`
|
|
235
|
+
query ShopStatus {
|
|
236
|
+
countriesCount
|
|
237
|
+
currenciesCount
|
|
238
|
+
languagesCount
|
|
239
|
+
productsCount
|
|
240
|
+
assortmentsCount
|
|
241
|
+
filtersCount
|
|
242
|
+
deliveryProvidersCount
|
|
243
|
+
paymentProvidersCount
|
|
244
|
+
}
|
|
245
|
+
`;e.s(["default",0,()=>{let{formatMessage:e}=(0,s.useIntl)(),{data:r,loading:i,error:l}=(0,a.useQuery)(n);return{configuration:(0,t.useMemo)(()=>{let t,a,s,n,i,l,o,d={...{currenciesCount:{id:"currencies",title:e({id:"currencies",defaultMessage:"Currencies"}),description:e({id:"currency_config_description",defaultMessage:"Set up currencies for pricing and payments"}),isRequired:!0,setupUrl:"/currency/new",category:"essential",estimatedTime:"2 min",icon:"currency",isComplete:!1},countriesCount:{id:"countries",title:e({id:"countries",defaultMessage:"Countries"}),description:e({id:"countries_config_description",defaultMessage:"Configure countries and assign default currencies"}),isRequired:!0,setupUrl:"/country/new",category:"essential",estimatedTime:"2 min",icon:"globe",isComplete:!1},languagesCount:{id:"languages",title:e({id:"languages",defaultMessage:"Languages"}),description:e({id:"language_config_description",defaultMessage:"Configure languages for content localization"}),isRequired:!0,setupUrl:"/language/new",category:"essential",estimatedTime:"2 min",icon:"language",isComplete:!1},paymentProvidersCount:{id:"payment",title:e({id:"payment_processing",defaultMessage:"Payment Processing"}),description:e({id:"payment_processing_config_description",defaultMessage:"Invoice payment provider is already configured"}),isRequired:!0,setupUrl:"/payment-provider/new",category:"commerce",estimatedTime:"10 min",icon:"credit-card",isComplete:!1},deliveryProvidersCount:{id:"delivery",title:e({id:"delivery_processing",defaultMessage:"Shipping & Delivery"}),description:e({id:"delivery_processing_config_description",defaultMessage:"Delivery methods are already configured"}),isRequired:!0,setupUrl:"/delivery-provider/new",category:"commerce",estimatedTime:"10 min",icon:"truck",isComplete:!1},productsCount:{id:"products",title:e({id:"products",defaultMessage:"Products"}),description:e({id:"products_config_description",defaultMessage:"Create your first products"}),isRequired:!0,setupUrl:"/products/new",category:"content",estimatedTime:"5 min",icon:"cube",isComplete:!1},assortmentsCount:{id:"assortments",title:e({id:"assortments",defaultMessage:"Assortments"}),description:e({id:"assortment_config_description",defaultMessage:"Organize products into categories"}),isRequired:!1,setupUrl:"/assortments/new",category:"content",estimatedTime:"3 min",icon:"folder",isComplete:!1}}};if(r)for(let e of Object.keys(d))d[e]={...d[e],isComplete:r?.[e]>0};return a=(t=Object.values(d)).filter(e=>e.isComplete),n=(s=t.filter(e=>e.isRequired)).filter(e=>e.isComplete),i=t.filter(e=>"essential"===e.category),l=t.filter(e=>"commerce"===e.category),o=t.filter(e=>"content"===e.category),{steps:d,completedSteps:a,overallProgress:Math.round(a.length/t.length*100),isFullyConfigured:n.length===s.length,essentialStepsComplete:i.every(e=>e.isComplete),commerceStepsComplete:l.filter(e=>e.isRequired).every(e=>e.isComplete),contentStepsComplete:o.every(e=>e.isComplete),essentialSteps:i,commerceSteps:l,contentSteps:o}},[r]),loading:i,error:l}}],97524)},4134,e=>{"use strict";var t=e.i(71983),r=e.i(13699);let a=t.gql`
|
|
246
|
+
query UsersCount(
|
|
247
|
+
$includeGuests: Boolean
|
|
248
|
+
$queryString: String
|
|
249
|
+
$lastLogin: DateFilterInput
|
|
250
|
+
$emailVerified: Boolean
|
|
251
|
+
) {
|
|
252
|
+
usersCount(
|
|
253
|
+
includeGuests: $includeGuests
|
|
254
|
+
queryString: $queryString
|
|
255
|
+
lastLogin: $lastLogin
|
|
256
|
+
emailVerified: $emailVerified
|
|
257
|
+
)
|
|
258
|
+
}
|
|
259
|
+
`;e.s(["default",0,({includeGuests:e=!1,queryString:t=null,lastLogin:s=null,emailVerified:n=null}={})=>{let{data:i,loading:l,error:o}=(0,r.useQuery)(a,{variables:{includeGuests:e,queryString:t,lastLogin:s,emailVerified:n}});return{usersCount:i?.usersCount||0,loading:l,error:o}}])},43560,e=>{"use strict";e.s(["initInterpolator",0,function(e,t){switch(arguments.length){case 0:break;case 1:"function"==typeof e?this.interpolator(e):this.range(e);break;default:this.domain(e),"function"==typeof t?this.interpolator(t):this.range(t)}return this},"initRange",0,function(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}])},65991,e=>{"use strict";class t extends Map{constructor(e,t=a){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),null!=e)for(const[t,r]of e)this.set(t,r)}get(e){return super.get(r(this,e))}has(e){return super.has(r(this,e))}set(e,t){return super.set(function({_intern:e,_key:t},r){let a=t(r);return e.has(a)?e.get(a):(e.set(a,r),r)}(this,e),t)}delete(e){return super.delete(function({_intern:e,_key:t},r){let a=t(r);return e.has(a)&&(r=e.get(a),e.delete(a)),r}(this,e))}}function r({_intern:e,_key:t},a){let s=t(a);return e.has(s)?e.get(s):a}function a(e){return null!==e&&"object"==typeof e?e.valueOf():e}e.s(["InternMap",0,t])},12060,e=>{"use strict";var t=e.i(65991),r=e.i(43560);let a=Symbol("implicit");e.s(["default",0,function e(){var s=new t.InternMap,n=[],i=[],l=a;function o(e){let t=s.get(e);if(void 0===t){if(l!==a)return l;s.set(e,t=n.push(e)-1)}return i[t%i.length]}return o.domain=function(e){if(!arguments.length)return n.slice();for(let r of(n=[],s=new t.InternMap,e))s.has(r)||s.set(r,n.push(r)-1);return o},o.range=function(e){return arguments.length?(i=Array.from(e),o):i.slice()},o.unknown=function(e){return arguments.length?(l=e,o):l},o.copy=function(){return e(n,i).unknown(l)},r.initRange.apply(o,arguments),o},"implicit",0,a])},39439,e=>{"use strict";e.s(["default",0,function(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}])},7917,85867,85588,92365,50928,44178,75728,e=>{"use strict";function t(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function r(e,t){var r=Object.create(e.prototype);for(var a in t)r[a]=t[a];return r}function a(){}e.s(["default",()=>F],44178);var s="\\s*([+-]?\\d+)\\s*",n="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",i="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",l=/^#([0-9a-f]{3,8})$/,o=RegExp(`^rgb\\(${s},${s},${s}\\)$`),d=RegExp(`^rgb\\(${i},${i},${i}\\)$`),u=RegExp(`^rgba\\(${s},${s},${s},${n}\\)$`),c=RegExp(`^rgba\\(${i},${i},${i},${n}\\)$`),f=RegExp(`^hsl\\(${n},${i},${i}\\)$`),m=RegExp(`^hsla\\(${n},${i},${i},${n}\\)$`),g={aliceblue:0xf0f8ff,antiquewhite:0xfaebd7,aqua:65535,aquamarine:8388564,azure:0xf0ffff,beige:0xf5f5dc,bisque:0xffe4c4,black:0,blanchedalmond:0xffebcd,blue:255,blueviolet:9055202,brown:0xa52a2a,burlywood:0xdeb887,cadetblue:6266528,chartreuse:8388352,chocolate:0xd2691e,coral:0xff7f50,cornflowerblue:6591981,cornsilk:0xfff8dc,crimson:0xdc143c,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:0xb8860b,darkgray:0xa9a9a9,darkgreen:25600,darkgrey:0xa9a9a9,darkkhaki:0xbdb76b,darkmagenta:9109643,darkolivegreen:5597999,darkorange:0xff8c00,darkorchid:0x9932cc,darkred:9109504,darksalmon:0xe9967a,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:0xff1493,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:0xb22222,floralwhite:0xfffaf0,forestgreen:2263842,fuchsia:0xff00ff,gainsboro:0xdcdcdc,ghostwhite:0xf8f8ff,gold:0xffd700,goldenrod:0xdaa520,gray:8421504,green:32768,greenyellow:0xadff2f,grey:8421504,honeydew:0xf0fff0,hotpink:0xff69b4,indianred:0xcd5c5c,indigo:4915330,ivory:0xfffff0,khaki:0xf0e68c,lavender:0xe6e6fa,lavenderblush:0xfff0f5,lawngreen:8190976,lemonchiffon:0xfffacd,lightblue:0xadd8e6,lightcoral:0xf08080,lightcyan:0xe0ffff,lightgoldenrodyellow:0xfafad2,lightgray:0xd3d3d3,lightgreen:9498256,lightgrey:0xd3d3d3,lightpink:0xffb6c1,lightsalmon:0xffa07a,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:0xb0c4de,lightyellow:0xffffe0,lime:65280,limegreen:3329330,linen:0xfaf0e6,magenta:0xff00ff,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:0xba55d3,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:0xc71585,midnightblue:1644912,mintcream:0xf5fffa,mistyrose:0xffe4e1,moccasin:0xffe4b5,navajowhite:0xffdead,navy:128,oldlace:0xfdf5e6,olive:8421376,olivedrab:7048739,orange:0xffa500,orangered:0xff4500,orchid:0xda70d6,palegoldenrod:0xeee8aa,palegreen:0x98fb98,paleturquoise:0xafeeee,palevioletred:0xdb7093,papayawhip:0xffefd5,peachpuff:0xffdab9,peru:0xcd853f,pink:0xffc0cb,plum:0xdda0dd,powderblue:0xb0e0e6,purple:8388736,rebeccapurple:6697881,red:0xff0000,rosybrown:0xbc8f8f,royalblue:4286945,saddlebrown:9127187,salmon:0xfa8072,sandybrown:0xf4a460,seagreen:3050327,seashell:0xfff5ee,sienna:0xa0522d,silver:0xc0c0c0,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:0xfffafa,springgreen:65407,steelblue:4620980,tan:0xd2b48c,teal:32896,thistle:0xd8bfd8,tomato:0xff6347,turquoise:4251856,violet:0xee82ee,wheat:0xf5deb3,white:0xffffff,whitesmoke:0xf5f5f5,yellow:0xffff00,yellowgreen:0x9acd32};function h(){return this.rgb().formatHex()}function x(){return this.rgb().formatRgb()}function p(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=l.exec(e))?(r=t[1].length,t=parseInt(t[1],16),6===r?v(t):3===r?new k(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===r?b(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===r?b(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=o.exec(e))?new k(t[1],t[2],t[3],1):(t=d.exec(e))?new k(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=u.exec(e))?b(t[1],t[2],t[3],t[4]):(t=c.exec(e))?b(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=f.exec(e))?M(t[1],t[2]/100,t[3]/100,1):(t=m.exec(e))?M(t[1],t[2]/100,t[3]/100,t[4]):g.hasOwnProperty(e)?v(g[e]):"transparent"===e?new k(NaN,NaN,NaN,0):null}function v(e){return new k(e>>16&255,e>>8&255,255&e,1)}function b(e,t,r,a){return a<=0&&(e=t=r=NaN),new k(e,t,r,a)}function y(e,t,r,s){var n;return 1==arguments.length?((n=e)instanceof a||(n=p(n)),n)?new k((n=n.rgb()).r,n.g,n.b,n.opacity):new k:new k(e,t,r,null==s?1:s)}function k(e,t,r,a){this.r=+e,this.g=+t,this.b=+r,this.opacity=+a}function w(){return`#${$(this.r)}${$(this.g)}${$(this.b)}`}function j(){let e=C(this.opacity);return`${1===e?"rgb(":"rgba("}${N(this.r)}, ${N(this.g)}, ${N(this.b)}${1===e?")":`, ${e})`}`}function C(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function N(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function $(e){return((e=N(e))<16?"0":"")+e.toString(16)}function M(e,t,r,a){return a<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new I(e,t,r,a)}function S(e){if(e instanceof I)return new I(e.h,e.s,e.l,e.opacity);if(e instanceof a||(e=p(e)),!e)return new I;if(e instanceof I)return e;var t=(e=e.rgb()).r/255,r=e.g/255,s=e.b/255,n=Math.min(t,r,s),i=Math.max(t,r,s),l=NaN,o=i-n,d=(i+n)/2;return o?(l=t===i?(r-s)/o+(r<s)*6:r===i?(s-t)/o+2:(t-r)/o+4,o/=d<.5?i+n:2-i-n,l*=60):o=d>0&&d<1?0:l,new I(l,o,d,e.opacity)}function I(e,t,r,a){this.h=+e,this.s=+t,this.l=+r,this.opacity=+a}function _(e){return(e=(e||0)%360)<0?e+360:e}function E(e){return Math.max(0,Math.min(1,e||0))}function q(e,t,r){return(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)*255}function L(e,t,r,a,s){var n=e*e,i=n*e;return((1-3*e+3*n-i)*t+(4-6*n+3*i)*r+(1+3*e+3*n-3*i)*a+i*s)/6}t(a,p,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:h,formatHex:h,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return S(this).formatHsl()},formatRgb:x,toString:x}),t(k,y,r(a,{brighter(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new k(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new k(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new k(N(this.r),N(this.g),N(this.b),C(this.opacity))},displayable(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:w,formatHex:w,formatHex8:function(){return`#${$(this.r)}${$(this.g)}${$(this.b)}${$((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:j,toString:j})),t(I,function(e,t,r,a){return 1==arguments.length?S(e):new I(e,t,r,null==a?1:a)},r(a,{brighter(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new I(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new I(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,a=r+(r<.5?r:1-r)*t,s=2*r-a;return new k(q(e>=240?e-240:e+120,s,a),q(e,s,a),q(e<120?e+240:e-120,s,a),this.opacity)},clamp(){return new I(_(this.h),E(this.s),E(this.l),C(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let e=C(this.opacity);return`${1===e?"hsl(":"hsla("}${_(this.h)}, ${100*E(this.s)}%, ${100*E(this.l)}%${1===e?")":`, ${e})`}`}})),e.s(["color",0,p],85867);let R=e=>()=>e;function O(e,t){var r=t-e;return r?function(t){return e+t*r}:R(isNaN(e)?t:e)}let A=function e(t){var r,a=1==(r=+t)?O:function(e,t){var a,s,n;return t-e?(a=e,s=t,a=Math.pow(a,n=r),s=Math.pow(s,n)-a,n=1/n,function(e){return Math.pow(a+e*s,n)}):R(isNaN(e)?t:e)};function s(e,t){var r=a((e=y(e)).r,(t=y(t)).r),s=a(e.g,t.g),n=a(e.b,t.b),i=O(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=s(t),e.b=n(t),e.opacity=i(t),e+""}}return s.gamma=e,s}(1);function P(e){return function(t){var r,a,s=t.length,n=Array(s),i=Array(s),l=Array(s);for(r=0;r<s;++r)a=y(t[r]),n[r]=a.r||0,i[r]=a.g||0,l[r]=a.b||0;return n=e(n),i=e(i),l=e(l),a.opacity=1,function(e){return a.r=n(e),a.g=i(e),a.b=l(e),a+""}}}function D(e,t){return e*=1,t*=1,function(r){return e*(1-r)+t*r}}P(function(e){var t=e.length-1;return function(r){var a=r<=0?r=0:r>=1?(r=1,t-1):Math.floor(r*t),s=e[a],n=e[a+1],i=a>0?e[a-1]:2*s-n,l=a<t-1?e[a+2]:2*n-s;return L((r-a/t)*t,i,s,n,l)}}),P(function(e){var t=e.length;return function(r){var a=Math.floor(((r%=1)<0?++r:r)*t),s=e[(a+t-1)%t],n=e[a%t],i=e[(a+1)%t],l=e[(a+2)%t];return L((r-a/t)*t,s,n,i,l)}}),e.s(["default",0,A],85588),e.s(["default",0,D],92365);var B=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,T=RegExp(B.source,"g");function W(e,t){var r,a,s,n,i,l=B.lastIndex=T.lastIndex=0,o=-1,d=[],u=[];for(e+="",t+="";(s=B.exec(e))&&(n=T.exec(t));)(i=n.index)>l&&(i=t.slice(l,i),d[o]?d[o]+=i:d[++o]=i),(s=s[0])===(n=n[0])?d[o]?d[o]+=n:d[++o]=n:(d[++o]=null,u.push({i:o,x:D(s,n)})),l=T.lastIndex;return l<t.length&&(i=t.slice(l),d[o]?d[o]+=i:d[++o]=i),d.length<2?u[0]?(r=u[0].x,function(e){return r(e)+""}):(a=t,function(){return a}):(t=u.length,function(e){for(var r,a=0;a<t;++a)d[(r=u[a]).i]=r.x(e);return d.join("")})}function F(e,t){var r,a,s=typeof t;return null==t||"boolean"===s?R(t):("number"===s?D:"string"===s?(a=p(t))?(t=a,A):W:t instanceof p?A:t instanceof Date?function(e,t){var r=new Date;return e*=1,t*=1,function(a){return r.setTime(e*(1-a)+t*a),r}}:!ArrayBuffer.isView(r=t)||r instanceof DataView?Array.isArray(t)?function(e,t){var r,a=t?t.length:0,s=e?Math.min(a,e.length):0,n=Array(s),i=Array(a);for(r=0;r<s;++r)n[r]=F(e[r],t[r]);for(;r<a;++r)i[r]=t[r];return function(e){for(r=0;r<s;++r)i[r]=n[r](e);return i}}:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?function(e,t){var r,a={},s={};for(r in(null===e||"object"!=typeof e)&&(e={}),(null===t||"object"!=typeof t)&&(t={}),t)r in e?a[r]=F(e[r],t[r]):s[r]=t[r];return function(e){for(r in a)s[r]=a[r](e);return s}}:D:function(e,t){t||(t=[]);var r,a=e?Math.min(t.length,e.length):0,s=t.slice();return function(n){for(r=0;r<a;++r)s[r]=e[r]*(1-n)+t[r]*n;return s}})(e,t)}e.s(["default",0,W],50928),e.s(["interpolate",0,F],7917),e.s(["interpolateNumber",0,D],75728)},81040,e=>{"use strict";e.s(["default",0,function(e,t){let r;if(void 0===t)for(let t of e)null!=t&&(r<t||void 0===r&&t>=t)&&(r=t);else{let a=-1;for(let s of e)null!=(s=t(s,++a,e))&&(r<s||void 0===r&&s>=s)&&(r=s)}return r}])},85055,e=>{"use strict";e.s(["default",0,function(e,t){let r;if(void 0===t)for(let t of e)null!=t&&(r>t||void 0===r&&t>=t)&&(r=t);else{let a=-1;for(let s of e)null!=(s=t(s,++a,e))&&(r>s||void 0===r&&s>=s)&&(r=s)}return r}])},55336,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...a},s){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":r},a),e?t.createElement("title",{id:r},e):null,t.createElement("path",{d:"M10.362 1.093a.75.75 0 0 0-.724 0L2.523 5.018 10 9.143l7.477-4.125-7.115-3.925ZM18 6.443l-7.25 4v8.25l6.862-3.786A.75.75 0 0 0 18 14.25V6.443ZM9.25 18.693v-8.25l-7.25-4v7.807a.75.75 0 0 0 .388.657l6.862 3.786Z"}))});e.s(["CubeIcon",0,r],55336)},32680,e=>{"use strict";var t=e.i(71983),r=e.i(13699);let a=t.gql`
|
|
260
|
+
query AssortmentsCount(
|
|
261
|
+
$queryString: String
|
|
262
|
+
$tags: [LowerCaseString!]
|
|
263
|
+
$includeInactive: Boolean
|
|
264
|
+
$includeLeaves: Boolean
|
|
265
|
+
) {
|
|
266
|
+
assortmentsCount(
|
|
267
|
+
tags: $tags
|
|
268
|
+
includeInactive: $includeInactive
|
|
269
|
+
includeLeaves: $includeLeaves
|
|
270
|
+
queryString: $queryString
|
|
271
|
+
)
|
|
272
|
+
}
|
|
273
|
+
`;e.s(["default",0,({queryString:e="",tags:t=null,includeInactive:s=!0,includeLeaves:n=!1})=>{let{data:i,loading:l,error:o}=(0,r.useQuery)(a,{variables:{queryString:e,tags:t,includeInactive:s,includeLeaves:n}});return{loading:l,error:o,assortmentsCount:i?.assortmentsCount}}])},38085,e=>{"use strict";var t=e.i(69178),r=e.i(1415),a=e.i(48021),s=e.i(13071),n=e.i(58930),i=e.i(56982);let l=r.forwardRef(function({title:e,titleId:t,...a},s){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:s,"aria-labelledby":t},a),e?r.createElement("title",{id:t},e):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.59 14.37a6 6 0 0 1-5.84 7.38v-4.8m5.84-2.58a14.98 14.98 0 0 0 6.16-12.12A14.98 14.98 0 0 0 9.631 8.41m5.96 5.96a14.926 14.926 0 0 1-5.841 2.58m-.119-8.54a6 6 0 0 0-7.381 5.84h4.8m2.581-5.84a14.927 14.927 0 0 0-2.58 5.84m2.699 2.7c-.103.021-.207.041-.311.06a15.09 15.09 0 0 1-2.448-2.448 14.9 14.9 0 0 1 .06-.312m-2.24 2.39a4.493 4.493 0 0 0-1.757 4.306 4.493 4.493 0 0 0 4.306-1.758M16.5 9a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z"}))});var o=e.i(39472),d=e.i(69744),u=e.i(97524);let c=({progress:e,size:r="md",showPercentage:a=!0,className:n})=>(0,t.jsxs)("div",{className:(0,s.default)("flex items-center gap-3",n),children:[(0,t.jsx)("div",{className:"flex-1",children:(0,t.jsx)("div",{className:(0,s.default)("w-full rounded-full overflow-hidden",{sm:"h-1.5",md:"h-2",lg:"h-3"}[r],e<30?"bg-rose-100 dark:bg-rose-900/20":e<99?"bg-amber-100 dark:bg-amber-900/20":"bg-emerald-100 dark:bg-emerald-900/20"),children:(0,t.jsx)("div",{className:(0,s.default)("h-full transition-all duration-500 ease-out rounded-full",e<30?"bg-rose-500":e<99?"bg-amber-500":"bg-emerald-500"),style:{width:`${Math.min(e,100)}%`}})})}),a&&(0,t.jsxs)("span",{className:(0,s.default)("font-medium tabular-nums",{sm:"text-xs",md:"text-sm",lg:"text-base"}[r],100===e?"text-emerald-600 dark:text-emerald-400":"text-slate-600 dark:text-slate-400"),children:[e,"%"]})]});var f=e.i(30758),m=e.i(92699),g=e.i(30186);let h=r.forwardRef(function({title:e,titleId:t,...a},s){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:s,"aria-labelledby":t},a),e?r.createElement("title",{id:t},e):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6v12m-3-2.818.879.659c1.171.879 3.07.879 4.242 0 1.172-.879 1.172-2.303 0-3.182C13.536 12.219 12.768 12 12 12c-.725 0-1.45-.22-2.003-.659-1.106-.879-1.106-2.303 0-3.182s2.9-.879 4.006 0l.415.33M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}),x=r.forwardRef(function({title:e,titleId:t,...a},s){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:s,"aria-labelledby":t},a),e?r.createElement("title",{id:t},e):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m10.5 21 5.25-11.25L21 21m-9-3h7.5M3 5.621a48.474 48.474 0 0 1 6-.371m0 0c1.12 0 2.233.038 3.334.114M9 5.25V3m3.334 2.364C11.176 10.658 7.69 15.08 3 17.502m9.334-12.138c.896.061 1.785.147 2.666.257m-4.589 8.495a18.023 18.023 0 0 1-3.827-5.802"}))});var p=e.i(43677);let v=r.forwardRef(function({title:e,titleId:t,...a},s){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:s,"aria-labelledby":t},a),e?r.createElement("title",{id:t},e):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 18.75a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m3 0h6m-9 0H3.375a1.125 1.125 0 0 1-1.125-1.125V14.25m17.25 4.5a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m3 0h1.125c.621 0 1.129-.504 1.09-1.124a17.902 17.902 0 0 0-3.213-9.193 2.056 2.056 0 0 0-1.58-.86H14.25M16.5 18.75h-2.25m0-11.177v-.958c0-.568-.422-1.048-.987-1.106a48.554 48.554 0 0 0-10.026 0 1.106 1.106 0 0 0-.987 1.106v7.635m12-6.677v6.677m0 4.5v-4.5m0 0h-12"}))}),b=r.forwardRef(function({title:e,titleId:t,...a},s){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:s,"aria-labelledby":t},a),e?r.createElement("title",{id:t},e):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 21v-7.5a.75.75 0 0 1 .75-.75h3a.75.75 0 0 1 .75.75V21m-4.5 0H2.36m11.14 0H18m0 0h3.64m-1.39 0V9.349M3.75 21V9.349m0 0a3.001 3.001 0 0 0 3.75-.615A2.993 2.993 0 0 0 9.75 9.75c.896 0 1.7-.393 2.25-1.016a2.993 2.993 0 0 0 2.25 1.016c.896 0 1.7-.393 2.25-1.015a3.001 3.001 0 0 0 3.75.614m-16.5 0a3.004 3.004 0 0 1-.621-4.72l1.189-1.19A1.5 1.5 0 0 1 5.378 3h13.243a1.5 1.5 0 0 1 1.06.44l1.19 1.189a3 3 0 0 1-.621 4.72M6.75 18h3.75a.75.75 0 0 0 .75-.75V13.5a.75.75 0 0 0-.75-.75H6.75a.75.75 0 0 0-.75.75v3.75c0 .414.336.75.75.75Z"}))});var y=e.i(72608),k=e.i(42792),w=e.i(53568),j=e.i(83120);let C={globe:g.GlobeAltIcon,currency:h,language:x,"credit-card":p.CreditCardIcon,truck:v,warehouse:b,cube:y.CubeIcon,folder:k.FolderIcon,funnel:w.FunnelIcon},N=({step:e,onStepClick:r})=>{let{formatMessage:n}=(0,a.useIntl)(),i=C[e.icon]||y.CubeIcon;return(0,t.jsxs)("div",{className:(0,s.default)("relative p-4 rounded-lg border transition-all duration-200",e.isComplete?"bg-emerald-50 dark:bg-emerald-900/10 border-emerald-200 dark:border-emerald-700/50":"bg-white dark:bg-slate-800 border-slate-200 dark:border-slate-700 hover:border-slate-300 dark:hover:border-slate-600 hover:shadow-sm",!e.isComplete&&"cursor-pointer"),onClick:e.isComplete?void 0:()=>{r&&r(e)},children:[(0,t.jsxs)("div",{className:"flex items-start gap-3",children:[(0,t.jsx)("div",{className:(0,s.default)("flex-shrink-0 w-8 h-8 rounded-lg flex items-center justify-center",e.isComplete?"bg-emerald-100 dark:bg-emerald-900/30":"bg-slate-100 dark:bg-slate-700"),children:e.isComplete?(0,t.jsx)(m.CheckIcon,{className:"w-5 h-5 text-emerald-600 dark:text-emerald-400"}):(0,t.jsx)(i,{className:(0,s.default)("w-5 h-5",e.isRequired?"text-slate-600 dark:text-slate-400":"text-slate-500 dark:text-slate-500")})}),(0,t.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,t.jsxs)("div",{className:"flex items-start justify-between gap-2",children:[(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsxs)("h4",{className:(0,s.default)("font-medium text-sm",e.isComplete?"text-emerald-700 dark:text-emerald-300":"text-slate-900 dark:text-slate-100"),children:[e.title,e.isRequired&&!e.isComplete&&(0,t.jsx)("span",{className:"text-rose-500 ml-1",children:"*"})]}),(0,t.jsx)("p",{className:(0,s.default)("text-xs mt-1",e.isComplete?"text-emerald-600 dark:text-emerald-400":"text-slate-600 dark:text-slate-400"),children:e.description})]}),(0,t.jsxs)("div",{className:"flex flex-col items-end gap-1 text-xs",children:[!e.isComplete&&(0,t.jsxs)("div",{className:"flex items-center gap-1 text-slate-500 dark:text-slate-500",children:[(0,t.jsx)(j.ClockIcon,{className:"w-3 h-3"}),(0,t.jsx)("span",{children:e.estimatedTime})]}),e.isComplete&&(0,t.jsx)("span",{className:"text-emerald-600 dark:text-emerald-400 font-medium",children:n({id:"setup_complete",defaultMessage:"Complete"})})]})]}),!e.isComplete&&(0,t.jsx)("div",{className:"mt-3",children:(0,t.jsx)(f.default,{href:e.setupUrl,children:(0,t.jsx)("span",{className:(0,s.default)("inline-flex items-center px-3 py-1.5 text-xs font-medium rounded-md transition-colors",e.isRequired?"bg-slate-900 dark:bg-slate-200 text-white dark:text-slate-900 hover:bg-slate-800 dark:hover:bg-slate-300":"bg-slate-100 dark:bg-slate-700 text-slate-700 dark:text-slate-300 hover:bg-slate-200 dark:hover:bg-slate-600"),children:n({id:"setup_now",defaultMessage:"Setup Now"})})})})]})]}),e.isRequired&&!e.isComplete&&(0,t.jsx)("div",{className:"absolute top-2 right-2",children:(0,t.jsx)("div",{className:"w-2 h-2 bg-rose-500 rounded-full"})})]})};var $=e.i(81312);let M=({className:e})=>{let{formatMessage:f}=(0,a.useIntl)(),{configuration:m,loading:g,error:h}=(0,u.default)(),{isSystemReady:x}=(0,$.default)(),[p,v]=(0,r.useState)({essential:!0,commerce:!1,content:!1}),[b,y]=(0,r.useState)(()=>"true"===localStorage.getItem("shop_setup_message_dismissed")),{isFullyConfigured:k}=m;if((0,r.useEffect)(()=>{m&&v({commerce:!m.commerceStepsComplete,essential:!m.essentialStepsComplete,content:m.commerceStepsComplete&&!m.contentStepsComplete})},[m]),!m||g||h)return null;if(k&&!b)return(0,t.jsx)("div",{className:(0,s.default)("p-6 bg-gradient-to-r from-emerald-50 to-emerald-50 dark:from-emerald-900/20 dark:to-emerald-900/20 rounded-lg border border-emerald-200 dark:border-emerald-700/50",e),children:(0,t.jsxs)("div",{className:"flex items-start gap-4",children:[(0,t.jsx)("div",{className:"flex-shrink-0",children:(0,t.jsx)(o.CheckCircleIcon,{className:"w-8 h-8 text-emerald-600 dark:text-emerald-400"})}),(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsx)("h3",{className:"text-lg font-semibold text-emerald-800 dark:text-emerald-200 mb-2",children:f({id:"shop_setup_complete",defaultMessage:"Shop Setup Complete!"})}),(0,t.jsx)("p",{className:"text-emerald-700 dark:text-emerald-300 text-sm",children:f({id:"shop_setup_complete_description",defaultMessage:"Congratulations! Your shop is fully configured and ready to accept orders."})})]}),(0,t.jsx)("button",{onClick:()=>{y(!0),localStorage.setItem("shop_setup_message_dismissed","true")},className:"flex-shrink-0 p-1 rounded-md hover:bg-emerald-100 dark:hover:bg-emerald-800/50 transition-colors",title:f({id:"dismiss",defaultMessage:"Dismiss"}),children:(0,t.jsx)(d.XMarkIcon,{className:"w-5 h-5 text-emerald-600 dark:text-emerald-400"})})]})});if(k&&b)return null;let w=(e,r,a=!1)=>{let s=p[e],l=0===r.length?100:Math.round(r.filter(e=>e.isComplete).length/r.length*100);return(0,t.jsxs)("div",{className:"border border-slate-200 dark:border-slate-700 rounded-lg overflow-hidden",children:[(0,t.jsx)("button",{onClick:()=>{v(t=>({...t,[e]:!t[e]}))},className:"w-full p-4 bg-slate-50 dark:bg-slate-800/50 hover:bg-slate-100 dark:hover:bg-slate-800 transition-colors text-left",children:(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsxs)("h3",{className:"text-sm font-semibold text-slate-900 dark:text-slate-100",children:[(e=>{switch(e){case"essential":return f({id:"essential_setup",defaultMessage:"Essential Setup"});case"commerce":return f({id:"commerce_setup",defaultMessage:"Commerce Setup"});case"content":return f({id:"content_setup",defaultMessage:"Content Setup"});default:return e}})(e),!a&&(0,t.jsx)("span",{className:"text-rose-500 ml-1",children:"*"})]}),(0,t.jsx)(c,{progress:l,size:"sm",className:"w-24"})]}),(0,t.jsx)("p",{className:"text-xs text-slate-600 dark:text-slate-400 mt-1",children:(e=>{switch(e){case"essential":return f({id:"essential_setup_description",defaultMessage:"Core settings required for your shop to function"});case"commerce":return f({id:"commerce_setup_description",defaultMessage:"Payment and delivery configuration for transactions"});case"content":return f({id:"content_setup_description",defaultMessage:"Products and categories to start selling"});default:return""}})(e)})]}),s?(0,t.jsx)(i.ChevronUpIcon,{className:"w-5 h-5 text-slate-400"}):(0,t.jsx)(n.ChevronDownIcon,{className:"w-5 h-5 text-slate-400"})]})}),s&&(0,t.jsx)("div",{className:"p-4 space-y-3 bg-white dark:bg-slate-800",children:r.map(e=>(0,t.jsx)(N,{step:e},e.icon))})]})};return(0,t.jsxs)("div",{className:(0,s.default)("bg-white dark:bg-slate-800 rounded-lg border border-slate-200 dark:border-slate-700 overflow-hidden",e),children:[(0,t.jsx)("div",{className:"p-6 bg-gradient-to-r from-slate-50 to-slate-100 dark:from-slate-800 dark:to-slate-700 border-b border-slate-200 dark:border-slate-600",children:(0,t.jsxs)("div",{className:"flex items-start gap-4",children:[(0,t.jsx)("div",{className:"flex-shrink-0",children:(0,t.jsx)("div",{className:"w-12 h-12 bg-gradient-to-br from-slate-600 to-slate-800 dark:from-slate-500 dark:to-slate-700 rounded-xl flex items-center justify-center",children:(0,t.jsx)(l,{className:"w-6 h-6 text-white"})})}),(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsx)("h2",{className:"text-lg font-semibold text-slate-900 dark:text-slate-100 mb-2",children:f({id:"complete_shop_setup",defaultMessage:"Complete Your Shop Setup"})}),(0,t.jsx)("p",{className:"text-sm text-slate-600 dark:text-slate-400 mb-4",children:f({id:"shop_setup_description",defaultMessage:"Follow these steps to configure your shop and start selling."})}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between text-sm",children:[(0,t.jsx)("span",{className:"text-slate-600 dark:text-slate-400",children:f({id:"overall_progress",defaultMessage:"Overall Progress"})}),(0,t.jsxs)("span",{className:"font-medium text-slate-900 dark:text-slate-100",children:[m.completedSteps.length," of"," ",Object.keys(m.steps).length," complete"]})]}),(0,t.jsx)(c,{progress:m.overallProgress,size:"md"})]})]})]})}),(0,t.jsxs)("div",{className:"p-6 space-y-4",children:[w("essential",m.essentialSteps,m.essentialStepsComplete),x&&w("commerce",m.commerceSteps,m.commerceStepsComplete),x&&w("content",m.contentSteps,m.contentStepsComplete),(0,t.jsx)("div",{className:"pt-4 border-t border-slate-200 dark:border-slate-700",children:(0,t.jsxs)("p",{className:"text-xs text-slate-500 dark:text-slate-500 flex items-center gap-1",children:[(0,t.jsx)("span",{className:"inline-block w-2 h-2 bg-rose-500 rounded-full"}),f({id:"required_steps_note",defaultMessage:"Required for basic shop functionality"})]})})]})]})},S=r.forwardRef(function({title:e,titleId:t,...a},s){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:s,"aria-labelledby":t},a),e?r.createElement("title",{id:t},e):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008Z"}))});var I=e.i(37620),_=e.i(5858),E=e.i(30060);let q=()=>{let{formatMessage:e}=(0,a.useIntl)(),[r,s]=(0,E.default)("workQueueWarningBanner:dismissed",!1),{workQueue:n}=(0,I.default)({status:[_.IWorkStatus.Failed],pollInterval:0}),i=Object.entries(n.reduce((e,t)=>(e[t?.type]?e[t?.type]={...e[t?.type],count:e[t?.type].count+1}:e[t?.type]={...t,count:1},e),{})).map(([e,{count:t}])=>`${t} ${e}`).join(", ");return r||!n.length?null:(0,t.jsx)("div",{className:"p-5 bg-amber-50 dark:bg-amber-900/20 border border-amber-200 dark:border-amber-700/50 rounded-lg mb-6",children:(0,t.jsxs)("div",{className:"flex items-center gap-4",children:[(0,t.jsx)(S,{className:"w-6 h-6 text-amber-600 dark:text-amber-400"}),(0,t.jsxs)("div",{className:"flex-1 text-sm text-amber-800 dark:text-amber-200",children:[(0,t.jsx)("strong",{children:e({id:"work_queue_problem_detected",defaultMessage:"Problems detected in the Work Queue"})})," ",i]}),(0,t.jsx)(f.default,{href:"/works/?status=FAILED",className:"ml-4 text-amber-700 dark:text-amber-300 hover:underline text-sm font-medium",children:e({id:"check_work_queue_details",defaultMessage:"Check Work Queue for Details"})}),(0,t.jsx)("button",{onClick:()=>s(!0),className:"flex-shrink-0 p-1 text-amber-600 dark:text-amber-600 hover:text-amber-800 dark:hover:text-amber-200",children:(0,t.jsx)(d.XMarkIcon,{className:"w-5 h-5"})})]})})};var L=e.i(79174);let R=({label:e,value:r})=>(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsx)("span",{className:"text-sm text-slate-600 dark:text-slate-400",children:e}),(0,t.jsx)("span",{className:"text-sm text-slate-900 dark:text-slate-100",children:r})]}),O=()=>{let{formatMessage:e}=(0,a.useIntl)(),{shopInfo:r}=(0,L.default)();return(0,t.jsxs)("div",{className:"bg-white dark:bg-slate-800 rounded-lg border border-slate-200 dark:border-slate-700 p-6",children:[(0,t.jsx)("h3",{className:"text-lg font-semibold text-slate-900 dark:text-slate-100 mb-4",children:e({id:"system_information",defaultMessage:"System Information"})}),(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsx)(R,{label:e({id:"engine_version",defaultMessage:"Engine version"}),value:r?.version||"n/a"}),(0,t.jsx)(R,{label:e({id:"resolved_language",defaultMessage:"Resolved language"}),value:`${r?.language?.name||"n/a"} (${r?.language?.isoCode||"n/a"})`}),(0,t.jsx)(R,{label:e({id:"resolved_country",defaultMessage:"Resolved country"}),value:(0,t.jsxs)("span",{className:"flex items-center gap-2",children:[(0,t.jsx)("span",{className:"text-base",children:r?.country?.flagEmoji||"n/a"}),r?.country?.name||"n/a"," (",r?.country?.isoCode||"n/a",")"]})}),(0,t.jsx)(R,{label:e({id:"default_currency",defaultMessage:"Default currency"}),value:r?.country?.defaultCurrency?.isoCode||"n/a"})]})]})};var A=e.i(49061),P=e.i(89317),D=e.i(93734),B=e.i(19372);let T=()=>{let{formatMessage:e}=(0,a.useIntl)(),{hasRole:r}=(0,B.default)(),s=(0,A.useRouter)();return(0,t.jsxs)("div",{className:"bg-white dark:bg-slate-800 rounded-lg border border-slate-200 dark:border-slate-700 p-6",children:[(0,t.jsx)("h3",{className:"text-lg font-semibold text-slate-900 dark:text-slate-100 mb-4",children:e({id:"shortcuts",defaultMessage:"Shortcuts"})}),(0,t.jsxs)("div",{className:"grid xl:grid-cols-3 gap-3",children:[r(_.IRoleAction.ManageProducts)&&(0,t.jsx)(D.default,{onClick:()=>s.push("/products/new"),icon:(0,t.jsx)(P.PlusIcon,{className:"w-5 h-5"}),variant:"primary",size:"lg",text:e({id:"product",defaultMessage:"Product"})}),r(_.IRoleAction.CreateUser)&&(0,t.jsx)(D.default,{onClick:()=>s.push("/users/new"),icon:(0,t.jsx)(P.PlusIcon,{className:"w-5 h-5"}),variant:"primary",size:"lg",text:e({id:"user",defaultMessage:"User"})}),r(_.IRoleAction.ManageAssortments)&&(0,t.jsx)(D.default,{onClick:()=>s.push("/assortments/new"),icon:(0,t.jsx)(P.PlusIcon,{className:"w-5 h-5"}),variant:"primary",size:"lg",text:e({id:"assortment",defaultMessage:"Assortment"})})]})]})};var W=e.i(55336),F=e.i(69090);let V=r.forwardRef(function({title:e,titleId:t,...a},s){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":t},a),e?r.createElement("title",{id:t},e):null,r.createElement("path",{d:"M5.127 3.502 5.25 3.5h9.5c.041 0 .082 0 .123.002A2.251 2.251 0 0 0 12.75 2h-5.5a2.25 2.25 0 0 0-2.123 1.502ZM1 10.25A2.25 2.25 0 0 1 3.25 8h13.5A2.25 2.25 0 0 1 19 10.25v5.5A2.25 2.25 0 0 1 16.75 18H3.25A2.25 2.25 0 0 1 1 15.75v-5.5ZM3.25 6.5c-.04 0-.082 0-.123.002A2.25 2.25 0 0 1 5.25 5h9.5c.98 0 1.814.627 2.123 1.502a3.819 3.819 0 0 0-.123-.002H3.25Z"}))}),U=({title:e,value:r,icon:s,loading:n=!1,href:i})=>{let{formatNumber:l}=(0,a.useIntl)();return(0,t.jsx)(f.default,{href:i,className:`bg-white dark:bg-slate-800 rounded-lg border-slate-200 dark:border-slate-700 p-6
|
|
274
|
+
cursor-pointer hover:border-slate-500 border-1 dark:hover:bg-slate-750 transition-colors`,children:(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-sm font-medium text-slate-600 dark:text-slate-400",children:e}),(0,t.jsx)("p",{className:"text-2xl font-bold text-slate-900 dark:text-white mt-1",children:n?(0,t.jsx)("span",{className:"animate-pulse bg-slate-300 dark:bg-slate-600 rounded h-8 w-16 inline-block"}):"number"==typeof r?l(r):r})]}),(0,t.jsx)("div",{className:"flex-shrink-0",children:(0,t.jsx)("div",{className:"p-3 bg-slate-100 dark:bg-slate-700 rounded-lg",children:s})})]})})};var H=e.i(6833),Q=e.i(4134),Z=e.i(32680),z=e.i(74746);let G=()=>{let{formatMessage:e}=(0,a.useIntl)(),{metrics:r}=(()=>{let{ordersCount:e,loading:t}=(0,H.default)({limit:1}),{usersCount:r,loading:a}=(0,Q.default)(),{assortmentsCount:s,loading:n}=(0,Z.default)({}),{productsCount:i,loading:l}=(0,z.default)({});return{metrics:{orders:{value:e||0,loading:t},products:{value:i||0,loading:l},customers:{value:r,loading:a},categories:{value:s||0,loading:n}},isLoading:t||a||n||l}})(),s=[{title:e({id:"products_count",defaultMessage:"Products"}),value:r.products.value,icon:(0,t.jsx)(W.CubeIcon,{className:"h-6 w-6 text-slate-700 dark:text-slate-300"}),loading:r.products.loading,href:"/products"},{title:e({id:"categories_count",defaultMessage:"Assortments"}),value:r.categories.value,icon:(0,t.jsx)(V,{className:"h-6 w-6 text-slate-700 dark:text-slate-300"}),loading:r.categories.loading,href:"/assortments"},{title:e({id:"customers_count",defaultMessage:"Customers"}),value:r.customers.value,icon:(0,t.jsx)(F.UsersIcon,{className:"h-6 w-6 text-slate-700 dark:text-slate-300"}),loading:r.customers.loading,href:"/users"}];return(0,t.jsx)("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6 mb-8",children:s.map((e,r)=>(0,t.jsx)(U,{title:e.title,value:e.value,icon:e.icon,loading:e.loading,href:e.href},r))})};var X=e.i(92552),K=e.i(26062),Y=e.i(2036),J=e.i(91043),ee=e.i(17177),et=e.i(61085),er=e.i(39936),ea=e.i(67455);let es=(0,ea.default)("shopping-cart",[["circle",{cx:"8",cy:"21",r:"1",key:"jimo8o"}],["circle",{cx:"19",cy:"21",r:"1",key:"13723u"}],["path",{d:"M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",key:"9zh506"}]]),en=(0,ea.default)("calculator",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",key:"1nb95v"}],["line",{x1:"8",x2:"16",y1:"6",y2:"6",key:"x4nwl0"}],["line",{x1:"16",x2:"16",y1:"14",y2:"18",key:"wjye3r"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M8 18h.01",key:"lrp35t"}]]);var ei=e.i(88035),el=e.i(56391),eo=e.i(10006),ed=e.i(81907),eu=e.i(96586),ec=e.i(71983),ef=e.i(13699),em=e.i(70111),eg=e.i(14150),eh=e.i(92024),ex=e.i(23317);function ep(e,t,r){var a;let s;return a=-t,s=(0,ex.toDate)(e,r?.in),isNaN(a)?(0,eh.constructFrom)(r?.in||e,NaN):(a&&s.setDate(s.getDate()+a),s)}var ev=e.i(62845),eb=e.i(19994);let ey=ec.gql`
|
|
275
|
+
query OrderAnalytics($dateRange: DateFilterInput) {
|
|
276
|
+
orderStatistics(dateRange: $dateRange) {
|
|
277
|
+
confirmRecords {
|
|
278
|
+
date
|
|
279
|
+
total {
|
|
280
|
+
amount
|
|
281
|
+
currencyCode
|
|
282
|
+
}
|
|
283
|
+
count
|
|
284
|
+
}
|
|
285
|
+
confirmCount
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
`,ek={sales:{label:"Sales",color:"hsl(var(--chart-1))"},orders:{label:"Orders",color:"hsl(var(--chart-2))"},avgOrderValue:{label:"Avg Order Value",color:"hsl(var(--chart-3))"}},ew=()=>{let{formatMessage:e}=(0,a.useIntl)(),{dateRange:s,totalSales:n,totalOrders:i,averageOrderValue:l,salesData:o,loading:d,currencyCode:u}=(({days:e=30})=>{let t=(0,r.useMemo)(()=>new Date,[]),a=ep(t,e),s=(0,r.useMemo)(()=>({start:(0,ev.startOfDay)(a).toISOString(),end:(0,eb.endOfDay)(t).toISOString()}),[a,t]),{data:n,loading:i,error:l}=(0,ef.useQuery)(ey,{variables:{dateRange:s},errorPolicy:"all"});return(0,r.useMemo)(()=>{let r=n?.orderStatistics;if(!n?.orderStatistics?.confirmCount)return{totalSales:0,totalOrders:0,averageOrderValue:0,salesData:[],loading:i,error:l,dateRange:s};let a=((e,t)=>{let r=new Map;for(let a=0;a<e;a++){let e=(0,em.format)(ep(t,a),"MMM d");r.set(e,{sales:0,orders:0})}return r})(e,t),o=0,d=r.confirmRecords[0]?.total?.currencyCode;r.confirmRecords.forEach(e=>{if(!e.date||!e.total?.amount||!e.count)return;let t=(0,em.format)((0,eg.parseISO)(e.date),"MMM d"),r=a.get(t),s=Number(e.total.amount??0),n=e.count??0;r&&(r.sales+=s,r.orders+=n),o+=s});let u=r.confirmCount,c=u>0?o/u:0;return{totalSales:Math.round(o),totalOrders:u,currencyCode:d,averageOrderValue:Math.round(c),salesData:Array.from(a.entries()).map(([e,{sales:t,orders:r}])=>({date:e,sales:Number(t.toFixed(2)),orders:r,avgOrderValue:r>0?Math.round(t/r):0})).reverse(),loading:i,error:l,dateRange:s}},[n,i,l,s,e,t])})({days:30}),{formatPrice:c}=(0,ed.useFormatPrice)();return d?(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 my-8",children:[1,2,3].map(e=>(0,t.jsxs)(el.Card,{className:"animate-pulse",children:[(0,t.jsxs)(el.CardHeader,{className:"pb-2",children:[(0,t.jsx)("div",{className:"h-4 bg-slate-200 dark:bg-slate-700 rounded w-1/2"}),(0,t.jsx)("div",{className:"h-8 bg-slate-200 dark:bg-slate-700 rounded w-1/3"})]}),(0,t.jsx)(el.CardContent,{children:(0,t.jsx)("div",{className:"h-32 bg-slate-200 dark:bg-slate-700 rounded"})})]},e))}):(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 my-8",children:[(0,t.jsx)(eu.default,{icon:(0,t.jsx)(ei.CurrencyIcon,{className:"h-4 w-4"}),title:e({id:"total_sales",defaultMessage:"Total sales"}),value:c({currencyCode:u,amount:n}),chart:(0,t.jsx)(eo.ChartContainer,{config:ek,children:(0,t.jsxs)(X.LineChart,{accessibilityLayer:!0,data:o,margin:{left:12,right:12},children:[(0,t.jsx)(er.CartesianGrid,{vertical:!1}),(0,t.jsx)(ee.XAxis,{dataKey:"date",tickLine:!1,axisLine:!1,tickMargin:8,tickFormatter:e=>e.slice(0,6)}),(0,t.jsx)(et.YAxis,{hide:!0}),(0,t.jsx)(eo.ChartTooltip,{wrapperStyle:{pointerEvents:"auto",zIndex:50},cursor:!1,content:(0,t.jsx)(eo.ChartTooltipContent,{formatter:e=>c({currencyCode:u,amount:e})})}),(0,t.jsx)(K.Line,{dataKey:"sales",type:"natural",stroke:"var(--color-sales)",strokeWidth:2,dot:!1})]})}),dateRange:s}),(0,t.jsx)(eu.default,{icon:(0,t.jsx)(es,{className:"h-4 w-4"}),title:e({id:"total_orders",defaultMessage:"Total orders"}),value:i,chart:(0,t.jsx)(eo.ChartContainer,{config:ek,children:(0,t.jsxs)(Y.BarChart,{accessibilityLayer:!0,data:o,margin:{left:12,right:12},children:[(0,t.jsx)(er.CartesianGrid,{vertical:!1}),(0,t.jsx)(ee.XAxis,{dataKey:"date",tickLine:!1,axisLine:!1,tickMargin:8,tickFormatter:e=>e.slice(0,6)}),(0,t.jsx)(et.YAxis,{hide:!0}),(0,t.jsx)(eo.ChartTooltip,{cursor:!1,content:(0,t.jsx)(eo.ChartTooltipContent,{})}),(0,t.jsx)(J.Bar,{dataKey:"orders",fill:"var(--color-orders)",radius:4})]})}),dateRange:s}),(0,t.jsx)(eu.default,{icon:(0,t.jsx)(en,{className:"h-4 w-4"}),title:e({id:"average_order_value",defaultMessage:"Average order value"}),value:c({amount:l,currencyCode:u}),chart:(0,t.jsx)(eo.ChartContainer,{config:ek,children:(0,t.jsxs)(X.LineChart,{accessibilityLayer:!0,data:o,margin:{left:12,right:12},children:[(0,t.jsx)(er.CartesianGrid,{vertical:!1}),(0,t.jsx)(ee.XAxis,{dataKey:"date",tickLine:!1,axisLine:!1,tickMargin:8,tickFormatter:e=>e.slice(0,6)}),(0,t.jsx)(et.YAxis,{hide:!0}),(0,t.jsx)(eo.ChartTooltip,{cursor:!1,content:(0,t.jsx)(eo.ChartTooltipContent,{formatter:e=>c({currencyCode:u,amount:e})})}),(0,t.jsx)(K.Line,{dataKey:"avgOrderValue",type:"natural",stroke:"var(--color-avgOrderValue)",strokeWidth:2,dot:!1})]})}),dateRange:s})]})};e.s(["default",0,()=>{let{configuration:e}=(0,u.default)(),{isFullyConfigured:r}=e;return(0,t.jsxs)("div",{children:[(0,t.jsx)(q,{}),(0,t.jsx)("div",{className:"mt-5",children:(0,t.jsxs)("div",{className:"text-xl font-semibold text-slate-900 dark:text-slate-100",children:["Unchained",(0,t.jsxs)("span",{className:"font-light ml-1",children:["AdminUI",(0,t.jsxs)("span",{className:"text-xs ml-1",children:[" ","4.8.13"]})]})]})}),(0,t.jsxs)("div",{className:"mx-auto py-6",children:[(0,t.jsx)(M,{className:"mb-8"}),r&&(0,t.jsx)(G,{}),(0,t.jsx)(ew,{}),(0,t.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[r&&(0,t.jsx)("div",{className:"bg-white dark:bg-slate-800 rounded-lg border border-slate-200 dark:border-slate-700 p-6",children:(0,t.jsx)(T,{})}),(0,t.jsx)(O,{})]})]})]})}],38085)},30730,(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/",()=>e.r(38085)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push(["/"])})},8233,e=>{e.v(t=>Promise.all(["static/chunks/0-vzy055sp9wr.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)))}]);
|