@unchainedshop/admin-ui 4.8.17 → 4.8.19
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/{ElK-EU4dUFcTKmDBC1Zne → FNg7dw2L88E-_7FIFWIOB}/_buildManifest.js +62 -62
- package/out/_next/static/chunks/0-_c63net7ool.js +288 -0
- package/out/_next/static/chunks/0-ewdgd-3fele.js +108 -0
- package/out/_next/static/chunks/0-kx7dau8mwj3.js +12 -0
- package/out/_next/static/chunks/0-vvjiu6i6io1.js +8 -0
- package/out/_next/static/chunks/019cyy1s5g_vv.js +1 -0
- package/out/_next/static/chunks/01g2163tzyp94.js +9 -0
- package/out/_next/static/chunks/01jj_whurmsv9.js +81 -0
- package/out/_next/static/chunks/020ygnpt2hvr6.js +12 -0
- package/out/_next/static/chunks/02789wou-krp2.js +17 -0
- package/out/_next/static/chunks/02pyaua1iclmh.js +14 -0
- package/out/_next/static/chunks/03p87qyak-kej.js +1 -0
- package/out/_next/static/chunks/04rnz0wyo1ztn.js +157 -0
- package/out/_next/static/chunks/05qpw6q8uiz3l.js +15 -0
- package/out/_next/static/chunks/075wli4d5-r2p.js +12 -0
- package/out/_next/static/chunks/07lpvxx321vm4.js +68 -0
- package/out/_next/static/chunks/07q8ufsdxo1tx.js +1 -0
- package/out/_next/static/chunks/07xk6mpkd-n5a.js +23 -0
- package/out/_next/static/chunks/09pees0w94cvm.js +1 -0
- package/out/_next/static/chunks/0a3azl0t7oxma.js +51 -0
- package/out/_next/static/chunks/0a6dpcp83gk_d.js +1 -0
- package/out/_next/static/chunks/0c9ruqj2wf3n6.js +905 -0
- package/out/_next/static/chunks/0d6coeyltto6f.js +14 -0
- package/out/_next/static/chunks/0fxe2yz57puxo.js +171 -0
- package/out/_next/static/chunks/{2-dekw6fz0zyy.js → 0h1tx_euiem85.js} +65 -65
- package/out/_next/static/chunks/0i9-n-ou9xlff.js +16 -0
- package/out/_next/static/chunks/0kj2fqqsy6i5a.js +14 -0
- package/out/_next/static/chunks/0mdsh3hratj8d.js +44 -0
- package/out/_next/static/chunks/0mzh9-epgepi1.js +119 -0
- package/out/_next/static/chunks/0nbl8z8pgn4hi.js +147 -0
- package/out/_next/static/chunks/0nwdczm-ggidm.js +10 -0
- package/out/_next/static/chunks/0o44zd65hf7ja.js +18 -0
- package/out/_next/static/chunks/0paxpysd7n2bf.js +142 -0
- package/out/_next/static/chunks/0pqur8ngvdiuk.js +31 -0
- package/out/_next/static/chunks/0q-14a7j6afh3.js +1 -0
- package/out/_next/static/chunks/0s_joidkwu3rl.js +12 -0
- package/out/_next/static/chunks/0smqsy4u3s0p_.js +18 -0
- package/out/_next/static/chunks/0t399g0sf94-s.js +1 -0
- package/out/_next/static/chunks/0tgsccom6_8bl.js +26 -0
- package/out/_next/static/chunks/0u7f6bhe_pq3r.js +807 -0
- package/out/_next/static/chunks/0ukyxgmnqos6o.js +1 -0
- package/out/_next/static/chunks/{03vpe61v8f-gu.js → 0vls1lbu_rh78.js} +118 -118
- package/out/_next/static/chunks/0w3869b8gkxvn.js +14 -0
- package/out/_next/static/chunks/0wjutk95t9soh.js +13 -0
- package/out/_next/static/chunks/0wpmgf2-hr2iv.js +1 -0
- package/out/_next/static/chunks/0x1z6teidvfkx.js +59 -0
- package/out/_next/static/chunks/0x_0u_0plqr2a.js +807 -0
- package/out/_next/static/chunks/0xxvsq70e4xn0.js +1 -0
- package/out/_next/static/chunks/0yxc1yy1eq4u3.js +149 -0
- package/out/_next/static/chunks/0zna0xdp64z_l.js +31 -0
- package/out/_next/static/chunks/1-bcv-77wl_kr.js +12 -0
- package/out/_next/static/chunks/10h7lznd10mmp.js +384 -0
- package/out/_next/static/chunks/1398hevtpl_69.js +1 -0
- package/out/_next/static/chunks/139j9yzp_s2dj.js +60 -0
- package/out/_next/static/chunks/145z4rx1s-om6.js +16 -0
- package/out/_next/static/chunks/14_1kd8rfy011.js +66 -0
- package/out/_next/static/chunks/14d4ht1a81_9x.js +137 -0
- package/out/_next/static/chunks/15efce81fs21v.js +1 -0
- package/out/_next/static/chunks/{3ciz0xpu_rprn.js → 1608o1bg3qrvl.js} +23 -23
- package/out/_next/static/chunks/166ijn8z_lj4u.js +107 -0
- package/out/_next/static/chunks/16h_9qcx1bkbi.js +12 -0
- package/out/_next/static/chunks/1765w9f3cd__i.js +9 -0
- package/out/_next/static/chunks/18-orz9acmfb5.js +5 -0
- package/out/_next/static/chunks/18karcwbeuhu0.js +23 -0
- package/out/_next/static/chunks/199qn4mcr74y9.js +13 -0
- package/out/_next/static/chunks/1_g-csysa-i-9.js +1 -0
- package/out/_next/static/chunks/1ak71-19pow9-.js +807 -0
- package/out/_next/static/chunks/1bg27j6ir_vye.js +110 -0
- package/out/_next/static/chunks/1bkf26dd0a1je.js +14 -0
- package/out/_next/static/chunks/1blrx65zlz-6e.js +73 -0
- package/out/_next/static/chunks/1cd0q27lcn0v9.js +12 -0
- package/out/_next/static/chunks/1crid0go3l_po.js +26 -0
- package/out/_next/static/chunks/1d2gpcttrfusd.js +15 -0
- package/out/_next/static/chunks/1d7yxt38n9q85.js +217 -0
- package/out/_next/static/chunks/1f3mflnvp8_7-.js +31 -0
- package/out/_next/static/chunks/1g685jdb1v1ic.js +10 -0
- package/out/_next/static/chunks/1gi1me_-4zp4j.js +20 -0
- package/out/_next/static/chunks/1gma2qehx-wg8.js +8 -0
- package/out/_next/static/chunks/1h9pl5vl0xk0u.js +66 -0
- package/out/_next/static/chunks/1iq49d9o76aue.js +288 -0
- package/out/_next/static/chunks/1l1jh7r2164fp.js +12 -0
- package/out/_next/static/chunks/1lewut00m9sq1.js +1 -0
- package/out/_next/static/chunks/1lwiflo8v2d93.js +1 -0
- package/out/_next/static/chunks/1n7i2rp59o9o8.js +384 -0
- package/out/_next/static/chunks/1oes025cnqfi6.js +101 -0
- package/out/_next/static/chunks/1ovn52nf7wkip.js +807 -0
- package/out/_next/static/chunks/1ozxpp_-0fs6j.js +101 -0
- package/out/_next/static/chunks/1paq5rkj25r88.js +1 -0
- package/out/_next/static/chunks/1pl21uldingrs.js +10 -0
- package/out/_next/static/chunks/{0x3i8esz6im79.js → 1pntoz1y5w4jv.js} +2 -2
- package/out/_next/static/chunks/1qbor4wcmq0tb.js +25 -0
- package/out/_next/static/chunks/1qp68765j1aiv.js +61 -0
- package/out/_next/static/chunks/1snnkviatd2ds.js +90 -0
- package/out/_next/static/chunks/1uhhsszv0yyqu.js +12 -0
- package/out/_next/static/chunks/1vnvinjvn78t3.js +1 -0
- package/out/_next/static/chunks/1vv5s7q0i03vv.js +13 -0
- package/out/_next/static/chunks/1w5v62vtd_95h.js +807 -0
- package/out/_next/static/chunks/1yyu_d1-f6du-.js +41 -0
- package/out/_next/static/chunks/1zad4c_24j5tx.js +51 -0
- package/out/_next/static/chunks/1zza9faw4t3b_.js +46 -0
- package/out/_next/static/chunks/2-4ng9fxftmld.js +1 -0
- package/out/_next/static/chunks/23wvgu9l7gubq.js +138 -0
- package/out/_next/static/chunks/25xp4jhpkoys-.js +15 -0
- package/out/_next/static/chunks/266ifjsae9o8y.js +15 -0
- package/out/_next/static/chunks/26ie8u_ab24o8.js +224 -0
- package/out/_next/static/chunks/26oz4niuq196h.js +15 -0
- package/out/_next/static/chunks/26vq8d2yx49i9.js +52 -0
- package/out/_next/static/chunks/27gg7ro90t698.js +12 -0
- package/out/_next/static/chunks/27jaj6rxxuu8m.js +13 -0
- package/out/_next/static/chunks/27zb6orujvv40.js +110 -0
- package/out/_next/static/chunks/295a0pnwvg1qc.js +16 -0
- package/out/_next/static/chunks/296i-4_dt00_q.js +195 -0
- package/out/_next/static/chunks/2_et414wqnlow.js +16 -0
- package/out/_next/static/chunks/2_km26udzt4rw.js +13 -0
- package/out/_next/static/chunks/2_ria73vuq53h.js +50 -0
- package/out/_next/static/chunks/2a4b5y3ivwz_k.js +16 -0
- package/out/_next/static/chunks/2a8d-7cbu-vup.js +1 -0
- package/out/_next/static/chunks/2ap6w76e8ol5u.js +22 -0
- package/out/_next/static/chunks/2bijmez61unrj.js +1 -0
- package/out/_next/static/chunks/2cpj8dwdlemoy.js +24 -0
- package/out/_next/static/chunks/2d3glkbseygki.js +807 -0
- package/out/_next/static/chunks/{2w9yaommb4zvu.js → 2gil5igdermzh.js} +1 -1
- package/out/_next/static/chunks/2h5g2a91memt0.js +14 -0
- package/out/_next/static/chunks/2hw-87k5hxjnd.js +7 -0
- package/out/_next/static/chunks/2i5s2lrccoh2z.js +8 -0
- package/out/_next/static/chunks/2i6ytth8ua7yu.js +1 -0
- package/out/_next/static/chunks/2ismth22knujm.js +1 -0
- package/out/_next/static/chunks/2j0l7kybho547.js +1 -0
- package/out/_next/static/chunks/2jln1kjysf99p.js +1 -0
- package/out/_next/static/chunks/2jtk4-i4e9lug.js +1 -0
- package/out/_next/static/chunks/2kbieaechn8m8.js +1 -0
- package/out/_next/static/chunks/2l4fd8k9i9ern.js +1 -0
- package/out/_next/static/chunks/2lieac0n6yk-w.js +21 -0
- package/out/_next/static/chunks/2mr2k4sb6i021.js +32 -0
- package/out/_next/static/chunks/2nloomc5p8k3z.js +15 -0
- package/out/_next/static/chunks/2obwy2cjs-tkl.js +807 -0
- package/out/_next/static/chunks/2od99og1m_66w.js +7 -0
- package/out/_next/static/chunks/2oj6yl1izft24.js +190 -0
- package/out/_next/static/chunks/2ph1xxjuzrdi5.js +43 -0
- package/out/_next/static/chunks/2qaf44ypuy_4z.js +1 -0
- package/out/_next/static/chunks/2qvjmevwc7-wa.js +73 -0
- package/out/_next/static/chunks/2r743v9afkc6o.js +21 -0
- package/out/_next/static/chunks/2rxn56o3dny16.js +13 -0
- package/out/_next/static/chunks/2s-a-q9n-4720.js +7 -0
- package/out/_next/static/chunks/2s426qu6fjzkw.js +3 -0
- package/out/_next/static/chunks/2su-xumzbu8do.js +144 -0
- package/out/_next/static/chunks/2t6-c849j1gzo.js +15 -0
- package/out/_next/static/chunks/2t8-bqg8qce33.js +28 -0
- package/out/_next/static/chunks/2ts8ed-v0uy3f.js +30 -0
- package/out/_next/static/chunks/2v5wqxg5po6bi.js +21 -0
- package/out/_next/static/chunks/2vvbiquh__xca.js +193 -0
- package/out/_next/static/chunks/2w5y5xf0nriwx.js +1 -0
- package/out/_next/static/chunks/2w9zv8rs1v2dp.js +5 -0
- package/out/_next/static/chunks/2xw9-6m7g1h0u.js +14 -0
- package/out/_next/static/chunks/2zifte49qslcg.js +31 -0
- package/out/_next/static/chunks/2zz0wsy9o6axm.js +17 -0
- package/out/_next/static/chunks/3-aohmw8_9eax.js +1 -0
- package/out/_next/static/chunks/301x4aphmzmmz.js +13 -0
- package/out/_next/static/chunks/30g-s0ioynhjx.js +224 -0
- package/out/_next/static/chunks/31y7dx6ytab7h.js +3 -0
- package/out/_next/static/chunks/34_uxvoed7itd.js +58 -0
- package/out/_next/static/chunks/350fjlg6t9ofm.js +132 -0
- package/out/_next/static/chunks/35995k_05rugk.js +5 -0
- package/out/_next/static/chunks/35ndg6fzxcnty.js +346 -0
- package/out/_next/static/chunks/36iem94awn5te.js +1 -0
- package/out/_next/static/chunks/36yqqmqp09-ru.js +807 -0
- package/out/_next/static/chunks/389ltf_fd8x4o.js +17 -0
- package/out/_next/static/chunks/38qud89s5advf.js +50 -0
- package/out/_next/static/chunks/3_0owfg_yy8cl.js +807 -0
- package/out/_next/static/chunks/3_aj_qrufrk1e.js +99 -0
- package/out/_next/static/chunks/3_jg-uorf4j_e.js +324 -0
- package/out/_next/static/chunks/3bdwwpbemvjx7.js +807 -0
- package/out/_next/static/chunks/3bxtyo0u_psf7.js +1 -0
- package/out/_next/static/chunks/3by6890zct23p.js +1 -0
- package/out/_next/static/chunks/3d8omzb1f_5o-.js +87 -0
- package/out/_next/static/chunks/3dhm792n15b_j.js +14 -0
- package/out/_next/static/chunks/3dktrkr-x_gg5.js +14 -0
- package/out/_next/static/chunks/3eifvfd9dxcau.js +16 -0
- package/out/_next/static/chunks/3fatocqr45gc-.js +1 -0
- package/out/_next/static/chunks/3g67xtrp0vv4m.js +1 -0
- package/out/_next/static/chunks/{22myl2_m23rb-.js → 3gls52bjnoo8q.js} +149 -149
- package/out/_next/static/chunks/3gps2w4oz_5nb.js +1 -0
- package/out/_next/static/chunks/3h0e1anfs79d8.js +807 -0
- package/out/_next/static/chunks/3hj289l9ticmi.js +188 -0
- package/out/_next/static/chunks/3k98cr566roh-.js +2 -0
- package/out/_next/static/chunks/3mggjyvwt-zcv.js +16 -0
- package/out/_next/static/chunks/3mmh55q1q01dm.js +1 -0
- package/out/_next/static/chunks/3q4vx3y0y3b8f.js +15 -0
- package/out/_next/static/chunks/3rj9t5qgjkv4i.js +44 -0
- package/out/_next/static/chunks/3shn20joqkv6a.js +3 -0
- package/out/_next/static/chunks/3t_5g2yunib45.js +188 -0
- package/out/_next/static/chunks/3tv9csz53av-5.js +1 -0
- package/out/_next/static/chunks/3v1dxn4rp-o3v.js +315 -0
- package/out/_next/static/chunks/3wgzrp3bxrd2j.js +135 -0
- package/out/_next/static/chunks/3wzzh45yillzb.js +1 -0
- package/out/_next/static/chunks/3xhmfg-981n_5.js +61 -0
- package/out/_next/static/chunks/3y40s9fvu5vvw.js +807 -0
- package/out/_next/static/chunks/3yqw8z_udrol0.js +1 -0
- package/out/_next/static/chunks/3zbvc7hsqe--6.js +17 -0
- package/out/_next/static/chunks/3zmshqnnou1t1.js +13 -0
- package/out/_next/static/chunks/3zqfchpzqxd92.css +1 -0
- package/out/_next/static/chunks/405g8in3lmiz-.js +807 -0
- package/out/_next/static/chunks/{2ng7fu4nip4iz.js → 40bj8p05_weue.js} +3 -3
- package/out/_next/static/chunks/40t7r6dc5nu9x.js +58 -0
- package/out/_next/static/chunks/413qu_x6yky1e.js +1 -0
- package/out/_next/static/chunks/4259vr3f_srqk.js +13 -0
- package/out/_next/static/chunks/436wzlp_dvy3-.js +13 -0
- package/out/_next/static/chunks/43_nzxwfqw0z1.js +43 -0
- package/out/_next/static/chunks/44z0hn5p9y_kc.js +14 -0
- package/out/_next/static/chunks/turbopack-00ci999vh-rng.js +1 -0
- package/out/_next/static/chunks/turbopack-06wgqo3oih99j.js +1 -0
- package/out/_next/static/chunks/turbopack-0bszywoq094m7.js +1 -0
- package/out/_next/static/chunks/turbopack-0buuzij_wb6oo.js +1 -0
- package/out/_next/static/chunks/turbopack-0eu635c5mf8n8.js +1 -0
- package/out/_next/static/chunks/turbopack-0fnpjhnuzd5u3.js +1 -0
- package/out/_next/static/chunks/turbopack-0g4rv9x40334-.js +1 -0
- package/out/_next/static/chunks/turbopack-0ji4m_gwcrznb.js +1 -0
- package/out/_next/static/chunks/turbopack-0lyjo4pc9gmta.js +1 -0
- package/out/_next/static/chunks/turbopack-0m_8d8fkbgdq2.js +1 -0
- package/out/_next/static/chunks/turbopack-0mrm_61ye6alf.js +1 -0
- package/out/_next/static/chunks/turbopack-0vye15xyn32t0.js +1 -0
- package/out/_next/static/chunks/turbopack-0zbiiplahh0oz.js +1 -0
- package/out/_next/static/chunks/turbopack-1-k77vmj16_cx.js +1 -0
- package/out/_next/static/chunks/turbopack-127hudw-h8baj.js +1 -0
- package/out/_next/static/chunks/turbopack-135_3fkj93zbs.js +1 -0
- package/out/_next/static/chunks/turbopack-15i5cecuky2l3.js +1 -0
- package/out/_next/static/chunks/turbopack-16qmgek24j718.js +1 -0
- package/out/_next/static/chunks/turbopack-16rsk8cgzyrid.js +1 -0
- package/out/_next/static/chunks/turbopack-17phmvom13nf9.js +1 -0
- package/out/_next/static/chunks/turbopack-18m7hwg4kb2kn.js +1 -0
- package/out/_next/static/chunks/turbopack-18n83cxq16dpq.js +1 -0
- package/out/_next/static/chunks/turbopack-1a-z9vrevc8ko.js +1 -0
- package/out/_next/static/chunks/turbopack-1b93bv1_u6do1.js +1 -0
- package/out/_next/static/chunks/turbopack-1ca001k8h1tj9.js +1 -0
- package/out/_next/static/chunks/turbopack-1kulpwt8cpabn.js +1 -0
- package/out/_next/static/chunks/turbopack-1s84g8rorq9z9.js +1 -0
- package/out/_next/static/chunks/turbopack-1udgwh4h-oxxi.js +1 -0
- package/out/_next/static/chunks/turbopack-204_fz_4gv1rb.js +1 -0
- package/out/_next/static/chunks/turbopack-23deartek7k-k.js +1 -0
- package/out/_next/static/chunks/turbopack-27_d4pvfj1l5l.js +1 -0
- package/out/_next/static/chunks/turbopack-28qsbatnihqpt.js +1 -0
- package/out/_next/static/chunks/turbopack-28uqnzo3g6ndb.js +1 -0
- package/out/_next/static/chunks/turbopack-2b1s2sz_wpnmj.js +1 -0
- package/out/_next/static/chunks/turbopack-2d5m_036sipx_.js +1 -0
- package/out/_next/static/chunks/turbopack-2fwm49apzpwdw.js +1 -0
- package/out/_next/static/chunks/turbopack-2ie3qfkx-wpx5.js +1 -0
- package/out/_next/static/chunks/turbopack-2mg7lq0gzqzmj.js +1 -0
- package/out/_next/static/chunks/turbopack-2qbdkv-049pcn.js +1 -0
- package/out/_next/static/chunks/turbopack-2qy0dj2qllnma.js +1 -0
- package/out/_next/static/chunks/turbopack-2rfxy8cvv65ky.js +1 -0
- package/out/_next/static/chunks/turbopack-2s0e_i163zhnh.js +1 -0
- package/out/_next/static/chunks/turbopack-2sh26n5idbo4t.js +1 -0
- package/out/_next/static/chunks/turbopack-2w5uttg2gaa96.js +1 -0
- package/out/_next/static/chunks/turbopack-2xogbjelfebs9.js +1 -0
- package/out/_next/static/chunks/turbopack-30360onh0u-p-.js +1 -0
- package/out/_next/static/chunks/turbopack-33v_pjoh5kiex.js +1 -0
- package/out/_next/static/chunks/turbopack-34h_7ojk9pxqb.js +1 -0
- package/out/_next/static/chunks/turbopack-34w-nmqfd_xdk.js +1 -0
- package/out/_next/static/chunks/turbopack-35oxrv2nrziql.js +1 -0
- package/out/_next/static/chunks/turbopack-36v8l4mm2nd3z.js +1 -0
- package/out/_next/static/chunks/turbopack-371tszwah_bcv.js +1 -0
- package/out/_next/static/chunks/turbopack-3bc1k7779spg8.js +1 -0
- package/out/_next/static/chunks/turbopack-3d3ft7r25v06f.js +1 -0
- package/out/_next/static/chunks/turbopack-3fzs_vfrvq1be.js +1 -0
- package/out/_next/static/chunks/turbopack-3h4zeqo_iafeu.js +1 -0
- package/out/_next/static/chunks/turbopack-3lruq1-v_utu8.js +1 -0
- package/out/_next/static/chunks/turbopack-3mjx39qg9tei_.js +1 -0
- package/out/_next/static/chunks/turbopack-3o7ajhrpw1q1f.js +1 -0
- package/out/_next/static/chunks/turbopack-3q2nl2ba0-b4r.js +1 -0
- package/out/_next/static/chunks/turbopack-3rx8eccbo_7r5.js +1 -0
- package/out/_next/static/chunks/turbopack-3sr314c8tit-f.js +1 -0
- package/out/_next/static/chunks/turbopack-3z1kj0q9v13m5.js +1 -0
- package/out/_offline/index.html +2 -2
- package/out/account/forgot-password/index.html +2 -2
- package/out/account/index.html +2 -2
- package/out/assortments/AssortmentDetailPage/index.html +2 -2
- package/out/assortments/index.html +2 -2
- package/out/assortments/new/index.html +2 -2
- package/out/copilot/index.html +2 -2
- package/out/country/CountryDetailPage/index.html +2 -2
- package/out/country/index.html +2 -2
- package/out/country/new/index.html +2 -2
- package/out/currency/CurrencyDetailPage/index.html +2 -2
- package/out/currency/index.html +2 -2
- package/out/currency/new/index.html +2 -2
- package/out/delivery-provider/DeliveryProviderDetailPage/index.html +2 -2
- package/out/delivery-provider/index.html +2 -2
- package/out/delivery-provider/new/index.html +2 -2
- package/out/enrollments/EnrollmentDetailPage/index.html +2 -2
- package/out/enrollments/index.html +2 -2
- package/out/events/EventDetailPage/index.html +2 -2
- package/out/events/index.html +2 -2
- package/out/exports/index.html +2 -2
- package/out/external/index.html +2 -2
- package/out/filters/FilterDetailPage/index.html +2 -2
- package/out/filters/index.html +2 -2
- package/out/filters/new/index.html +2 -2
- package/out/index.html +2 -2
- package/out/install/index.html +2 -2
- package/out/language/LanguageDetailPage/index.html +2 -2
- package/out/language/index.html +2 -2
- package/out/language/new/index.html +2 -2
- package/out/log-in/index.html +2 -2
- package/out/orders/OrderDetailPage/index.html +2 -2
- package/out/orders/index.html +2 -2
- package/out/payment-provider/PaymentProviderDetailPage/index.html +2 -2
- package/out/payment-provider/index.html +2 -2
- package/out/payment-provider/new/index.html +2 -2
- package/out/products/ProductDetailPage/index.html +2 -2
- package/out/products/index.html +2 -2
- package/out/products/new/index.html +2 -2
- package/out/quotations/QuotationDetailPage/index.html +2 -2
- package/out/quotations/index.html +2 -2
- package/out/reset-password/index.html +2 -2
- package/out/sign-up/index.html +2 -2
- package/out/styleguide/index.html +2 -2
- package/out/tokens/TokenDetailPage/index.html +2 -2
- package/out/tokens/index.html +2 -2
- package/out/users/UserDetailPage/index.html +2 -2
- package/out/users/index.html +2 -2
- package/out/users/new/index.html +2 -2
- package/out/verify-email/index.html +2 -2
- package/out/warehousing-provider/WarehousingProviderDetailPage/index.html +2 -2
- package/out/warehousing-provider/index.html +2 -2
- package/out/warehousing-provider/new/index.html +2 -2
- package/out/works/WorkDetailPage/index.html +2 -2
- package/out/works/WorkQueueListView/index.html +2 -2
- package/out/works/index.html +2 -2
- package/out/works/management/index.html +2 -2
- package/package.json +4 -4
- package/out/_next/static/chunks/0-5fyr7499zt-.js +0 -1
- package/out/_next/static/chunks/0-fh37zk913w7.js +0 -13
- package/out/_next/static/chunks/008lcuc11zfte.js +0 -43
- package/out/_next/static/chunks/016okam34efcb.js +0 -81
- package/out/_next/static/chunks/023-zg31-pn7e.js +0 -288
- package/out/_next/static/chunks/02vbc6plhv4r5.js +0 -384
- package/out/_next/static/chunks/0385oypvv03tp.js +0 -22
- package/out/_next/static/chunks/046r7jg73yrg4.js +0 -7
- package/out/_next/static/chunks/0476m35sf_p60.js +0 -147
- package/out/_next/static/chunks/04eely9r7xy_m.js +0 -12
- package/out/_next/static/chunks/0554zqf5q6aco.js +0 -103
- package/out/_next/static/chunks/05x_nq6c7164m.js +0 -1
- package/out/_next/static/chunks/06e1aw5kfb7xi.js +0 -5
- package/out/_next/static/chunks/083qufblh7mjm.js +0 -1
- package/out/_next/static/chunks/08k08iasjrir_.js +0 -31
- package/out/_next/static/chunks/0_zceuhyoka_a.js +0 -110
- package/out/_next/static/chunks/0aj0bvtuku7d_.js +0 -291
- package/out/_next/static/chunks/0altoqexicqbh.js +0 -1
- package/out/_next/static/chunks/0awxngl8a0ic5.js +0 -5
- package/out/_next/static/chunks/0chevnsryc57m.js +0 -16
- package/out/_next/static/chunks/0dbwh_dc2wx4a.js +0 -288
- package/out/_next/static/chunks/0es-a44yzoi_c.js +0 -3
- package/out/_next/static/chunks/0fxio1d8po6h5.js +0 -21
- package/out/_next/static/chunks/0h2609m294ysz.js +0 -41
- package/out/_next/static/chunks/0hgd0co23t_8i.js +0 -1
- package/out/_next/static/chunks/0hq1mco02oyfu.js +0 -15
- package/out/_next/static/chunks/0idef676w-1dr.js +0 -22
- package/out/_next/static/chunks/0ivn6vm7qrjvq.js +0 -1
- package/out/_next/static/chunks/0j01zkyli64rz.js +0 -14
- package/out/_next/static/chunks/0j1q0r96xzpzy.js +0 -46
- package/out/_next/static/chunks/0jian6h40drni.js +0 -13
- package/out/_next/static/chunks/0kj2b7pv7vovm.js +0 -22
- package/out/_next/static/chunks/0lt88y29dqxzp.js +0 -807
- package/out/_next/static/chunks/0m4bdyytr95sc.js +0 -177
- package/out/_next/static/chunks/0m7b5siv8r0ut.js +0 -1
- package/out/_next/static/chunks/0mpudwrx5wimh.js +0 -12
- package/out/_next/static/chunks/0nocitcg_prcn.js +0 -12
- package/out/_next/static/chunks/0nxlx7tthmg78.js +0 -31
- package/out/_next/static/chunks/0owtren6z_d3d.js +0 -15
- package/out/_next/static/chunks/0pc76ldf1jpm5.js +0 -807
- package/out/_next/static/chunks/0qchl2kwxk5_b.js +0 -9
- package/out/_next/static/chunks/0qxzncya34yzs.js +0 -135
- package/out/_next/static/chunks/0s1c1ap63wp7w.js +0 -1
- package/out/_next/static/chunks/0semy5tiq3zfa.js +0 -217
- package/out/_next/static/chunks/0sy4g9cj0c0nw.js +0 -1
- package/out/_next/static/chunks/0uvf4fw2u8xlt.js +0 -1
- package/out/_next/static/chunks/0v8wplj4_g1yk.js +0 -14
- package/out/_next/static/chunks/0vsekcvrno4r-.js +0 -12
- package/out/_next/static/chunks/0vskxstx7o46u.js +0 -200
- package/out/_next/static/chunks/0winpgp117o2-.js +0 -14
- package/out/_next/static/chunks/0wq-kibsj03f4.js +0 -3
- package/out/_next/static/chunks/0x8f0sp4gid52.js +0 -5
- package/out/_next/static/chunks/0xcsxtbxsj1ez.js +0 -807
- package/out/_next/static/chunks/0xmblnoqgtm4c.js +0 -13
- package/out/_next/static/chunks/0y9-ayhjhhngf.js +0 -101
- package/out/_next/static/chunks/0ysqpo9mvr0zd.js +0 -15
- package/out/_next/static/chunks/1-3-xh5bp6iml.js +0 -12
- package/out/_next/static/chunks/10a6m_uzed9ah.js +0 -7
- package/out/_next/static/chunks/110t5i029b2k2.js +0 -15
- package/out/_next/static/chunks/11p5hx0zojiun.js +0 -14
- package/out/_next/static/chunks/11tlxn06pl0v_.js +0 -807
- package/out/_next/static/chunks/1256wg-50z130.js +0 -224
- package/out/_next/static/chunks/12tyi7_yn5xtz.js +0 -13
- package/out/_next/static/chunks/14u7jeuqdz0nk.js +0 -108
- package/out/_next/static/chunks/14voa-w_qaloy.js +0 -10
- package/out/_next/static/chunks/151znlrk2b4e5.js +0 -61
- package/out/_next/static/chunks/1527ha2whtazw.js +0 -88
- package/out/_next/static/chunks/16dj7dz5shhv_.js +0 -1
- package/out/_next/static/chunks/17gp91vlnlpn7.js +0 -346
- package/out/_next/static/chunks/17h2_757nwv56.js +0 -807
- package/out/_next/static/chunks/18609lny07j4e.js +0 -1
- package/out/_next/static/chunks/18keiz8xbbpkq.js +0 -26
- package/out/_next/static/chunks/18pkchouqfxun.js +0 -1
- package/out/_next/static/chunks/199mkuw023v8s.js +0 -144
- package/out/_next/static/chunks/19wuto_c4vh0r.js +0 -1
- package/out/_next/static/chunks/1_evskl07e2cf.js +0 -132
- package/out/_next/static/chunks/1_pteaeq2-av2.js +0 -807
- package/out/_next/static/chunks/1_q3-gzp0dk5q.js +0 -59
- package/out/_next/static/chunks/1dr9_l25_z_bx.js +0 -1
- package/out/_next/static/chunks/1ec3to11jffvy.js +0 -10
- package/out/_next/static/chunks/1ev76ynqrcgrk.js +0 -1
- package/out/_next/static/chunks/1f3f0m0y4umue.js +0 -1
- package/out/_next/static/chunks/1gg4cjedszfwk.js +0 -13
- package/out/_next/static/chunks/1jhqf1cmlc7pe.js +0 -16
- package/out/_next/static/chunks/1jifp8h0xxr5a.js +0 -1
- package/out/_next/static/chunks/1jtbcag00kp9r.js +0 -90
- package/out/_next/static/chunks/1juxa73hu8ac4.js +0 -23
- package/out/_next/static/chunks/1kytgf0whx_qo.js +0 -14
- package/out/_next/static/chunks/1l2mamh-5uwio.js +0 -1
- package/out/_next/static/chunks/1l8j-zb8_9nsi.js +0 -1
- package/out/_next/static/chunks/1m_5ag79zi_f9.js +0 -14
- package/out/_next/static/chunks/1mnpt-bd73euh.js +0 -807
- package/out/_next/static/chunks/1mwnl27etu8p6.js +0 -1
- package/out/_next/static/chunks/1n0nlm7kpcww-.js +0 -61
- package/out/_next/static/chunks/1n3mdw-qdco80.js +0 -8
- package/out/_next/static/chunks/1nbgbej8adbrl.js +0 -188
- package/out/_next/static/chunks/1nj8g7amact5j.js +0 -8
- package/out/_next/static/chunks/1nzeajwrffqt9.js +0 -1
- package/out/_next/static/chunks/1oa-sp6_nb4s7.js +0 -119
- package/out/_next/static/chunks/1ocvav-_1h1ar.js +0 -13
- package/out/_next/static/chunks/1okn_q5vylut9.js +0 -384
- package/out/_next/static/chunks/1p8vfdg0fsork.js +0 -1
- package/out/_next/static/chunks/1qned-0hap5wh.js +0 -1
- package/out/_next/static/chunks/1tj0_95clq0gz.js +0 -13
- package/out/_next/static/chunks/1tss29yg71n68.js +0 -26
- package/out/_next/static/chunks/1uxu8tui0bawr.js +0 -286
- package/out/_next/static/chunks/1viswjqhymg_v.js +0 -836
- package/out/_next/static/chunks/1vt4kev5t-rtb.js +0 -16
- package/out/_next/static/chunks/1vvpmer7-2bqu.js +0 -73
- package/out/_next/static/chunks/1w-zy6fc2ehco.js +0 -1
- package/out/_next/static/chunks/1x-mhg4wgh8xs.js +0 -1
- package/out/_next/static/chunks/1x4ypu6tmfyhg.js +0 -14
- package/out/_next/static/chunks/1y4f465xdm5b5.js +0 -50
- package/out/_next/static/chunks/2--jjxpscypa2.js +0 -31
- package/out/_next/static/chunks/2-i1ckgje2swc.js +0 -20
- package/out/_next/static/chunks/20wpn0cmj1uyu.js +0 -7
- package/out/_next/static/chunks/223ol_txid_e9.js +0 -227
- package/out/_next/static/chunks/23o_a2htnomyg.js +0 -43
- package/out/_next/static/chunks/246yfl5ko957t.js +0 -103
- package/out/_next/static/chunks/26430jr5_zhmz.js +0 -193
- package/out/_next/static/chunks/26fgtdpouev8j.js +0 -1
- package/out/_next/static/chunks/26jxcw998t9wn.js +0 -10
- package/out/_next/static/chunks/26vkx8q85z8r4.js +0 -1
- package/out/_next/static/chunks/279v6ulm8bak8.js +0 -13
- package/out/_next/static/chunks/27c0k45sjypl5.js +0 -138
- package/out/_next/static/chunks/27xa29kcgotjt.js +0 -11
- package/out/_next/static/chunks/289aq9_pa_l-5.js +0 -1
- package/out/_next/static/chunks/28l8pqb5msman.js +0 -142
- package/out/_next/static/chunks/2_t9cm2tzlx6m.js +0 -1
- package/out/_next/static/chunks/2bejn7kgdoibj.js +0 -16
- package/out/_next/static/chunks/2c1gkwwv20spk.js +0 -384
- package/out/_next/static/chunks/2cykgzchwdf8h.js +0 -13
- package/out/_next/static/chunks/2d2xdaq--g766.js +0 -342
- package/out/_next/static/chunks/2dnaool9uxxya.js +0 -17
- package/out/_next/static/chunks/2dwssdhayrajs.js +0 -807
- package/out/_next/static/chunks/2fzxnvqcxp4zs.js +0 -13
- package/out/_next/static/chunks/2ghls3qe3puh7.js +0 -1
- package/out/_next/static/chunks/2h88_6ug5c-64.js +0 -46
- package/out/_next/static/chunks/2i__ckq4rpsy-.js +0 -16
- package/out/_next/static/chunks/2k7cmes14f81v.js +0 -14
- package/out/_next/static/chunks/2kcgr1_1bt0ja.js +0 -13
- package/out/_next/static/chunks/2kw8sncead6q1.js +0 -1
- package/out/_next/static/chunks/2kx374mbbo2fx.js +0 -23
- package/out/_next/static/chunks/2l05fni6rturu.js +0 -324
- package/out/_next/static/chunks/2lpu0fgihk_1a.js +0 -1
- package/out/_next/static/chunks/2n37m9ums7yxo.js +0 -209
- package/out/_next/static/chunks/2ndzew-ih0j7o.js +0 -1
- package/out/_next/static/chunks/2npbjddbiwni8.js +0 -87
- package/out/_next/static/chunks/2nqaesgt8e-dq.js +0 -807
- package/out/_next/static/chunks/2nwi9ew7sgrj3.js +0 -2
- package/out/_next/static/chunks/2ovkbxsq5d7zw.js +0 -101
- package/out/_next/static/chunks/2p2c9lu_w9xpm.js +0 -1
- package/out/_next/static/chunks/2p56h7y83ga43.js +0 -173
- package/out/_next/static/chunks/2q14v90xec8c3.js +0 -188
- package/out/_next/static/chunks/2tuoxofyqz54_.js +0 -12
- package/out/_next/static/chunks/2vg32f3cpxij2.js +0 -1
- package/out/_next/static/chunks/2vkhxhpfyjmdo.js +0 -14
- package/out/_next/static/chunks/2vtw28_by1t1w.js +0 -13
- package/out/_next/static/chunks/2y7sjkehompze.js +0 -32
- package/out/_next/static/chunks/2yme0y_2pzj9n.js +0 -44
- package/out/_next/static/chunks/30dk0bk_p44ir.js +0 -905
- package/out/_next/static/chunks/31eux-b8vx_2o.js +0 -596
- package/out/_next/static/chunks/31kcvq4mpuk-n.js +0 -8
- package/out/_next/static/chunks/32iahzknlfas2.js +0 -1
- package/out/_next/static/chunks/32l0f9qsyr70b.js +0 -1
- package/out/_next/static/chunks/32lrbx2g2oi58.js +0 -1
- package/out/_next/static/chunks/33lr5t1t8hzsu.js +0 -15
- package/out/_next/static/chunks/34erk-605s-mm.js +0 -1
- package/out/_next/static/chunks/36vha92ibdqa5.js +0 -12
- package/out/_next/static/chunks/37clktwywpajv.js +0 -1
- package/out/_next/static/chunks/37s4hnkf3fb_y.js +0 -807
- package/out/_next/static/chunks/37sa01ltf42fy.js +0 -13
- package/out/_next/static/chunks/38afjslqo-ezj.js +0 -8
- package/out/_next/static/chunks/38bczx6d8d6lo.js +0 -5
- package/out/_next/static/chunks/3a0mg8mbspn1l.js +0 -46
- package/out/_next/static/chunks/3blt-diyq-naw.js +0 -14
- package/out/_next/static/chunks/3e35x8fg5e3pv.js +0 -60
- package/out/_next/static/chunks/3f2jxhatqetvc.js +0 -807
- package/out/_next/static/chunks/3fj61jbc190pd.js +0 -13
- package/out/_next/static/chunks/3fq6z0s1jshzn.js +0 -15
- package/out/_next/static/chunks/3g4cm3-yeecm2.js +0 -44
- package/out/_next/static/chunks/3h3tsq4-en0ds.js +0 -51
- package/out/_next/static/chunks/3hu6bowb801qu.js +0 -73
- package/out/_next/static/chunks/3kml-ussugoev.js +0 -15
- package/out/_next/static/chunks/3l02yeb2txq56.js +0 -137
- package/out/_next/static/chunks/3ldab1ofpij6b.js +0 -19
- package/out/_next/static/chunks/3lvyfkgg8oenq.js +0 -13
- package/out/_next/static/chunks/3mflhqmkkt1mw.js +0 -807
- package/out/_next/static/chunks/3nvwtolqxr_ge.js +0 -1
- package/out/_next/static/chunks/3o4iqy5pws1z9.js +0 -1
- package/out/_next/static/chunks/3qz-e8u_rngvz.js +0 -1
- package/out/_next/static/chunks/3t_1dfdqi26e9.js +0 -18
- package/out/_next/static/chunks/3tl7_-7zqlvzg.js +0 -12
- package/out/_next/static/chunks/3tvg8ygnthkjr.js +0 -16
- package/out/_next/static/chunks/3v36muwibbmij.js +0 -58
- package/out/_next/static/chunks/3x304g0u9phqv.js +0 -51
- package/out/_next/static/chunks/3ya0b3uv203hq.js +0 -22
- package/out/_next/static/chunks/40ang7smtylgf.css +0 -1
- package/out/_next/static/chunks/40j1w9hi4os9m.js +0 -66
- package/out/_next/static/chunks/40kd8woagvta6.js +0 -471
- package/out/_next/static/chunks/42xkht0rt6xf_.js +0 -12
- package/out/_next/static/chunks/43a7fwbiu6x-5.js +0 -13
- package/out/_next/static/chunks/43uz-_umdm9hg.js +0 -50
- package/out/_next/static/chunks/44cjcus7fzro2.js +0 -5
- package/out/_next/static/chunks/455-ehefgubqn.js +0 -20
- package/out/_next/static/chunks/45cbkkq5ja1gw.js +0 -15
- package/out/_next/static/chunks/turbopack-060-1ln7tnj_o.js +0 -1
- package/out/_next/static/chunks/turbopack-06b_rq-xsg8x-.js +0 -1
- package/out/_next/static/chunks/turbopack-07j_ygzde0ibk.js +0 -1
- package/out/_next/static/chunks/turbopack-083kyitc50o38.js +0 -1
- package/out/_next/static/chunks/turbopack-0_j93cg1w4d7-.js +0 -1
- package/out/_next/static/chunks/turbopack-0bujhjoujrelz.js +0 -1
- package/out/_next/static/chunks/turbopack-0c990us3hqca2.js +0 -1
- package/out/_next/static/chunks/turbopack-0fneu371vdjf1.js +0 -1
- package/out/_next/static/chunks/turbopack-0fnocyew0acyq.js +0 -1
- package/out/_next/static/chunks/turbopack-0fr9xmcpxfoqa.js +0 -1
- package/out/_next/static/chunks/turbopack-0j5di01a8gcxh.js +0 -1
- package/out/_next/static/chunks/turbopack-0j_pfj3li7kkn.js +0 -1
- package/out/_next/static/chunks/turbopack-0jh0k3boktvim.js +0 -1
- package/out/_next/static/chunks/turbopack-0kwipuq5-xmz3.js +0 -1
- package/out/_next/static/chunks/turbopack-0n7sl47ktn9hk.js +0 -1
- package/out/_next/static/chunks/turbopack-0w37q33v5-6zm.js +0 -1
- package/out/_next/static/chunks/turbopack-1-j7m49r309x4.js +0 -1
- package/out/_next/static/chunks/turbopack-10nzf9877-okq.js +0 -1
- package/out/_next/static/chunks/turbopack-11yslp77vs6mo.js +0 -1
- package/out/_next/static/chunks/turbopack-12kl06t32c8h5.js +0 -1
- package/out/_next/static/chunks/turbopack-15ck0zsoo17qk.js +0 -1
- package/out/_next/static/chunks/turbopack-15z1m4_0bv4zo.js +0 -1
- package/out/_next/static/chunks/turbopack-17hgg9dccrviq.js +0 -1
- package/out/_next/static/chunks/turbopack-17mnrbrw40xul.js +0 -1
- package/out/_next/static/chunks/turbopack-1_alzj1dxez-l.js +0 -1
- package/out/_next/static/chunks/turbopack-1_ij44qvn9x25.js +0 -1
- package/out/_next/static/chunks/turbopack-1c3d9r9igrmgh.js +0 -1
- package/out/_next/static/chunks/turbopack-1dzfw_agzw78l.js +0 -1
- package/out/_next/static/chunks/turbopack-1e49xkg-hxkgw.js +0 -1
- package/out/_next/static/chunks/turbopack-1hz-oep9si1n4.js +0 -1
- package/out/_next/static/chunks/turbopack-1jsw2ikqqzdii.js +0 -1
- package/out/_next/static/chunks/turbopack-1kl8gahvsru18.js +0 -1
- package/out/_next/static/chunks/turbopack-1lzj42w3ao9lv.js +0 -1
- package/out/_next/static/chunks/turbopack-1nfsu5t6wryjs.js +0 -1
- package/out/_next/static/chunks/turbopack-1sqpspyd-b_u8.js +0 -1
- package/out/_next/static/chunks/turbopack-1yguzhp-196yl.js +0 -1
- package/out/_next/static/chunks/turbopack-2-2b7u4disa9e.js +0 -1
- package/out/_next/static/chunks/turbopack-216mhl7lyker7.js +0 -1
- package/out/_next/static/chunks/turbopack-251iteu80yhxd.js +0 -1
- package/out/_next/static/chunks/turbopack-25pjztf35pyvg.js +0 -1
- package/out/_next/static/chunks/turbopack-268fyi4wvgswd.js +0 -1
- package/out/_next/static/chunks/turbopack-2a85b71rfv1vo.js +0 -1
- package/out/_next/static/chunks/turbopack-2e_abq5410ocm.js +0 -1
- package/out/_next/static/chunks/turbopack-2jptw2odupw9z.js +0 -1
- package/out/_next/static/chunks/turbopack-2k6z_-8-c70t7.js +0 -1
- package/out/_next/static/chunks/turbopack-2ky1o00phr0zz.js +0 -1
- package/out/_next/static/chunks/turbopack-2n5cgk5tdnyrr.js +0 -1
- package/out/_next/static/chunks/turbopack-2qh9qcni48nfb.js +0 -1
- package/out/_next/static/chunks/turbopack-2ubouwa3lj2ih.js +0 -1
- package/out/_next/static/chunks/turbopack-2vs1uxhibnike.js +0 -1
- package/out/_next/static/chunks/turbopack-30nunvblnhi54.js +0 -1
- package/out/_next/static/chunks/turbopack-32v2pq35jf6zj.js +0 -1
- package/out/_next/static/chunks/turbopack-32zc13tm-_v-k.js +0 -1
- package/out/_next/static/chunks/turbopack-3_a0ktgrf9wjr.js +0 -1
- package/out/_next/static/chunks/turbopack-3a-4by2ed-ay-.js +0 -1
- package/out/_next/static/chunks/turbopack-3m-jkhd44c_0-.js +0 -1
- package/out/_next/static/chunks/turbopack-3nry4c4egh21l.js +0 -1
- package/out/_next/static/chunks/turbopack-3oyddom9vwd53.js +0 -1
- package/out/_next/static/chunks/turbopack-3oydg87ftdlr2.js +0 -1
- package/out/_next/static/chunks/turbopack-3qzb2zfs2-8io.js +0 -1
- package/out/_next/static/chunks/turbopack-3rxchig-6vsve.js +0 -1
- package/out/_next/static/chunks/turbopack-41o-6q85-g0ju.js +0 -1
- package/out/_next/static/chunks/turbopack-44efn8-0a_co0.js +0 -1
- /package/out/_next/static/{ElK-EU4dUFcTKmDBC1Zne → FNg7dw2L88E-_7FIFWIOB}/_clientMiddlewareManifest.js +0 -0
- /package/out/_next/static/{ElK-EU4dUFcTKmDBC1Zne → FNg7dw2L88E-_7FIFWIOB}/_ssgManifest.js +0 -0
|
@@ -1,346 +0,0 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,24608,e=>{"use strict";var t=e.i(91788);let s=t.forwardRef(function({title:e,titleId:s,...r},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":s},r),e?t.createElement("title",{id:s},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))});e.s(["XMarkIcon",0,s],24608)},81359,e=>{"use strict";var t=e.i(91398),s=e.i(24608),r=e.i(69322);e.s(["default",0,({onClick:e,text:a=null,Icon:l=null})=>{let{formatMessage:i}=(0,r.useIntl)();return(0,t.jsxs)("button",{type:"button",onClick:e,"aria-describedby":"header-delete-button",className:"inline-flex items-center gap-2 justify-center rounded-md border border-rose-500 px-4 py-2 text-sm font-medium leading-5 text-rose-600 dark:text-rose-200 shadow-sm hover:border-rose-600 hover:bg-rose-600 hover:text-white focus:outline-hidden focus:ring-2 focus:ring-rose-500 focus:ring-offset-2 h-[38px]",children:[(0,t.jsx)("span",{children:l||(0,t.jsx)(s.XMarkIcon,{className:"h-5 w-5"})}),a||i({id:"delete",defaultMessage:"Delete"})]})}])},38322,e=>{"use strict";var t=e.i(91788);let s=t.forwardRef(function({title:e,titleId:s,...r},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":s},r),e?t.createElement("title",{id:s},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 12.75 6 6 9-13.5"}))});e.s(["CheckIcon",0,s],38322)},34728,e=>{"use strict";var t=e.i(91398),s=e.i(38322);e.s(["default",0,({onOkClick:e,buttonText:r,headerText:a,message:l,icon:i=null})=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{children:[i||(0,t.jsx)("div",{className:"mx-auto flex h-12 w-12 items-center justify-center rounded-full bg-emerald-100 dark:bg-emerald-900/30",children:(0,t.jsx)(s.CheckIcon,{className:"h-6 w-6 text-emerald-600 dark:text-emerald-400",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true"})}),(0,t.jsxs)("div",{className:"mt-3 text-center sm:mt-5",children:[(0,t.jsx)("h3",{className:"text-lg text-slate-900 dark:text-slate-200",id:"modal-title",children:a}),(0,t.jsx)("div",{className:"mt-2",children:(0,t.jsx)("p",{className:"text-sm text-slate-500 dark:text-slate-200",children:l})})]})]}),(0,t.jsx)("div",{className:"mt-5 sm:mt-6",children:(0,t.jsx)("button",{id:"alert_ok",onClick:e,type:"button",className:"inline-flex w-full justify-center rounded-md border border-transparent bg-slate-800 dark:bg-slate-600 px-4 py-2 text-base font-medium text-white shadow-xs hover:bg-slate-950 dark:hover:bg-slate-500 focus:outline-hidden focus:ring-2 focus:ring-slate-800 dark:focus:ring-slate-400 focus:ring-offset-2 sm:text-sm",children:r})})]})])},15361,e=>{"use strict";var t=e.i(91788);let s=t.forwardRef(function({title:e,titleId:s,...r},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":s},r),e?t.createElement("title",{id:s},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))});e.s(["CheckCircleIcon",0,s],15361)},23647,26013,e=>{"use strict";var t=e.i(91398),s=e.i(69322),r=e.i(15361),a=e.i(91788);let l=a.forwardRef(function({title:e,titleId:t,...s},r){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},s),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m9.75 9.75 4.5 4.5m0-4.5-4.5 4.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))});e.s(["XCircleIcon",0,l],26013);var i=e.i(67912),d=e.i(41158),n=e.i(93380),o=e.i(35065);let c=({username:e})=>(0,t.jsx)(i.UserCircleIcon,{className:"h-8 w-8 text-slate-800 dark:text-slate-600"});e.s(["default",0,({user:e,contact:a})=>{let{formatMessage:i}=(0,s.useIntl)();return(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"h-8 w-8 rounded-full",children:e?.avatar?(0,t.jsx)(o.default,{src:e.avatar.url,alt:e.name||e.username,width:100,height:100}):(0,t.jsx)(c,{username:e?.username})}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-4",children:[(0,t.jsx)("div",{className:"flex items-center justify-between gap-3 flex-wrap",children:(0,t.jsxs)("span",{className:"flex items-center",children:[(0,t.jsx)("h3",{className:"text-xl font-semibold capitalize",children:(0,t.jsx)(d.default,{href:`/users?userId=${e?._id}`,className:"text-slate-800 dark:text-slate-300 hover:text-slate-900 dark:hover:text-slate-600",children:(0,n.default)(e)})}),e?.primaryEmail?.verified&&(0,t.jsxs)("dl",{className:"self-end",children:[(0,t.jsx)("dt",{className:"sr-only",children:i({id:"account_status",defaultMessage:"Account status"})}),(0,t.jsx)("dd",{className:"mt-3 flex items-center self-end text-sm font-medium capitalize text-slate-900 sm:mr-6 sm:mt-0",children:e?.primaryEmail?.verified?(0,t.jsx)(r.CheckCircleIcon,{className:"h-4 w-4 shrink-0 text-emerald-400","aria-hidden":"true"}):(0,t.jsx)(l,{className:"h-4 w-4 shrink-0 text-rose-400","aria-hidden":"true"})})]})]})}),a?.emailAddress&&(0,t.jsx)("div",{children:a.emailAddress}),a?.telNumber&&(0,t.jsx)("div",{children:a.telNumber})]})]})}],23647)},66885,e=>{"use strict";var t=e.i(91398),s=e.i(69322),r=e.i(38322),a=e.i(84818),l=e.i(83147),i=e.i(51782);e.s(["default",0,({data:e,statusTypes:d,timeline:n})=>{let{formatMessage:o}=(0,s.useIntl)(),{formatDateTime:c}=(0,a.default)(),{content:u={},id:m}=n[e?.status]||{},f=d.filter(({value:e})=>n[e]?.visible);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"flow-root sm:hidden",children:(0,t.jsx)("ul",{className:"my-4",children:f.map(({value:s,label:a},i)=>(0,t.jsx)("li",{children:(0,t.jsxs)("div",{className:"relative pb-8",children:[i!==f.length-1?(0,t.jsx)("span",{className:(0,l.classNames)(m>i+1?"bg-slate-900":"bg-slate-200","absolute top-2.5 left-2.5 -ml-px h-full w-0.5"),"aria-hidden":"true"}):null,(0,t.jsxs)("div",{className:"relative flex items-center space-x-3",children:[(0,t.jsx)("div",{children:(0,t.jsx)("span",{className:(0,l.classNames)(m>i?"bg-slate-900":"bg-slate-600","flex h-5 w-5 items-center justify-center rounded-full"),children:m>i?(0,t.jsx)(r.CheckIcon,{className:"h-5 w-5 text-white","aria-hidden":"true"}):null})}),(0,t.jsxs)("div",{className:"ml-4 flex min-w-0 flex-1 items-center justify-between",children:[(0,t.jsx)("div",{className:"flex-auto",children:(0,t.jsx)("p",{className:"text-sm text-slate-500",children:(0,t.jsxs)("span",{className:"flex w-full items-center justify-between text-slate-900 dark:text-slate-200",children:[s,n[s]?.Component&&n[s].Component]})})}),m>=n[s].id?(0,t.jsx)("div",{className:"whitespace-nowrap text-right text-sm text-slate-500 dark:text-slate-200 ml-4",children:e[n?.[s]?.content]?c(e[n?.[s]?.content],{dateStyle:"short",timeStyle:"short"}):null}):null]})]})]})},`${s}${a}`))})}),(0,t.jsxs)("div",{className:" p-4 bg-white shadow-sm dark:shadow-none dark:border dark:border-slate-700 sm:rounded-lg dark:bg-slate-900",children:[(0,t.jsxs)("p",{className:"font-medium flex items-center justify-between",children:[(0,t.jsx)(i.OrderStatusBadge,{status:e.status}),(0,t.jsx)("span",{children:e[u]?c(e[u],{dateStyle:"full",timeStyle:"medium"}):o({id:"in_cart",defaultMessage:"In cart"})})]}),(0,t.jsx)("div",{className:"mt-2","aria-hidden":"true",children:(0,t.jsx)("div",{className:"mt-2 hidden text-sm font-medium text-slate-600 sm:flex",children:f.map(({value:s,label:r})=>(0,t.jsxs)("div",{className:"sm:flex-auto",children:[(0,t.jsx)("div",{className:"relative mb-4 mr-1",children:(0,t.jsx)("span",{className:(0,l.classNames)(m>=n[s].id?e?.status==="CONFIRMED"?"bg-lime-600":e?.status==="PENDING"?"bg-amber-600":e?.status==="OPEN"?"bg-sky-600":"bg-emerald-600":"bg-slate-200 dark:bg-slate-700","absolute top-0 left-0 -ml-px h-2 w-full"),"aria-hidden":"true"})}),(0,t.jsxs)("div",{className:(0,l.classNames)(m>=n[s].id?"text-slate-900":"opacity-50","text-start"),children:[(0,t.jsx)("span",{className:"text-slate-900 dark:text-slate-400 uppercase",children:n[s]?.Component?n[s].Component:"CONFIRMED"===s?o({id:"confirmed",defaultMessage:"CONFIRMED"}):"PENDING"===s?o({id:"pending",defaultMessage:"PENDING"}):"OPEN"===s?o({id:"open",defaultMessage:"OPEN"}):"FULFILLED"===s?o({id:"fulfilled",defaultMessage:"FULFILLED"}):"REJECTED"===s?o({id:"rejected",defaultMessage:"REJECTED"}):s}),(0,t.jsx)("span",{className:"block text-slate-900 dark:text-slate-100",children:m>=n?.[s]?.id?c(e[n?.[s]?.content],{dateStyle:"short",timeStyle:"short"}):null})]})]},`${s}${r}`))})})]})]})}])},51782,e=>{"use strict";var t=e.i(91398),s=e.i(69322),r=e.i(65153),a=e.i(60193);let l={PENDING:"bg-yellow-100 text-yellow-800",CONFIRMED:"bg-blue-100 text-blue-800",OPEN:"bg-gray-100 text-gray-800",FULFILLED:"bg-green-100 text-green-800",REJECTED:"bg-red-100 text-red-800"};e.s(["OrderStatusBadge",0,({status:e,className:i=""})=>{let{formatMessage:d}=(0,s.useIntl)(),n={PENDING:d({id:"pending",defaultMessage:"PENDING"}),CONFIRMED:d({id:"confirmed",defaultMessage:"CONFIRMED"}),OPEN:d({id:"open",defaultMessage:"OPEN"}),FULFILLED:d({id:"fulfilled",defaultMessage:"FULFILLED"}),REJECTED:d({id:"rejected",defaultMessage:"REJECTED"})},o=n?.[e]??d({id:"cart",defaultMessage:"Cart"});return l?.[e],(0,t.jsx)(r.default,{text:o,color:a.ORDER_STATUSES[e],square:!0,className:`uppercase ${i}`})}])},26178,e=>{"use strict";var t=e.i(91398),s=e.i(91788);let r=s.forwardRef(function({title:e,titleId:t,...r},a){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?s.createElement("title",{id:t},e):null,s.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M18.364 18.364A9 9 0 0 0 5.636 5.636m12.728 12.728A9 9 0 0 1 5.636 5.636m12.728 12.728L5.636 5.636"}))});var a=e.i(72043),l=e.i(69322);e.s(["default",0,({message:e,className:s="",Icon:i=null})=>(0,t.jsx)("div",{className:(0,a.default)("rounded-md flex w-full flex-col items-center justify-center min-h-[176px] py-8 border-1 border-dashed border-slate-300 dark:border-slate-700 text-slate-500 dark:text-slate-600",s),children:(0,t.jsxs)("div",{className:"grid items-center justify-center",children:[(0,t.jsx)("div",{className:"flex items-center justify-center text-slate-400 dark:text-slate-600",children:i||(0,t.jsx)(r,{className:"h-6 w-6"})}),(0,t.jsx)(l.FormattedMessage,{id:"no_data_message",defaultMessage:"<p>No <span> {message} available</span> </p>",values:{p:e=>(0,t.jsx)("p",{className:"mt-2 m-auto flex items-center justify-center",children:e}),span:e=>(0,t.jsxs)("span",{className:"capitalize ml-1",children:[" ",e," "]}),message:e}})]})})],26178)},88566,25575,e=>{"use strict";var t=e.i(91788);let s=t.forwardRef(function({title:e,titleId:s,...r},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":s},r),e?t.createElement("title",{id:s},e):null,t.createElement("path",{fillRule:"evenodd",d:"M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))});e.s(["ChevronDownIcon",0,s],88566);let r=t.forwardRef(function({title:e,titleId:s,...r},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":s},r),e?t.createElement("title",{id:s},e):null,t.createElement("path",{fillRule:"evenodd",d:"M9.47 6.47a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 1 1-1.06 1.06L10 8.06l-3.72 3.72a.75.75 0 0 1-1.06-1.06l4.25-4.25Z",clipRule:"evenodd"}))});e.s(["ChevronUpIcon",0,r],25575)},8918,e=>{"use strict";var t=e.i(91398),s=e.i(91788),r=e.i(72043),a=e.i(69322),l=e.i(88566),i=e.i(25575),d=e.i(3828),n=e.i(83147);let o=({onSort:e,sortDirection:s})=>s?"ASC"===s?(0,t.jsx)(i.ChevronUpIcon,{className:"ml-2 w-5 h-5 text-slate-700",onClick:e}):(0,t.jsx)(l.ChevronDownIcon,{className:"ml-2 w-5 h-5 text-slate-700",onClick:e}):(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"ml-2 w-6 h-6",onClick:e,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 15L12 18.75 15.75 15m-7.5-6L12 5.25 15.75 9"})});var c=e.i(26178);let u=e=>{let t=[],r=[],a=[];return s.default.Children.forEach(e.children,e=>{e?.props?.header?t.push(e):e?.props?.footer?a.push(e):r.push(e)}),{header:t,footer:a,body:r}},m=({className:e="",...l})=>{let[i,d]=(0,s.useState)(u(l)),{formatMessage:n}=(0,a.useIntl)(),o={...i,header:s.default.Children.map(i.header,e=>s.default.cloneElement(e))};return(0,s.useEffect)(()=>{d(u(l))},[l.children]),o.header.length||o.body.length?(0,t.jsxs)("table",{className:(0,r.default)("overflow-hidden my-3 flex w-full flex-row flex-nowrap divide-y divide-slate-200 dark:divide-slate-600 shadow-sm sm:rounded-lg sm:bg-white dark:bg-slate-950",e),...l,children:[(0,t.jsx)("thead",{className:"hidden sm:table-header-group bg-slate-100 dark:bg-slate-700 text-sm text-slate-700 dark:text-slate-200",children:o.header}),o.body.length?(0,t.jsx)("tbody",{className:"space-y-4 sm:space-y-0 flex-1 sm:divide-y divide-slate-200 dark:divide-slate-700 sm:bg-white dark:sm:bg-slate-800 sm:flex-none",children:o.body}):null,o.footer.length?(0,t.jsx)("tfoot",{children:o.footer}):null]}):(0,t.jsx)(c.default,{message:n({id:"data",defaultMessage:"Data"})})};m.Row=({className:e="",children:a=[],header:l=!1,enablesort:i=!1,...d})=>{let n=s.default.Children.map(a,e=>s.default?.cloneElement(e||(0,t.jsx)("span",{}),{header:l,enablesort:i}));return(0,t.jsx)("tr",{className:(0,r.default)("grid grid-cols-1 auto-rows-fr border border-slate-100 dark:border-slate-700 sm:border-0 rounded-md sm:mb-0 sm:table-row sm:rounded-none bg-white dark:bg-slate-800 sm:bg-inherit dark:sm:bg-inherit",e),...d,children:n})},m.Cell=({className:e="",header:s=!1,enablesort:a=!1,children:l,sortKey:i=null,defaultSortDirection:c=null,...u})=>{let m=(0,d.useRouter)(),f=(0,n.getSortKeys)(m.query?.sort),x=s?"th":"td";return(0,t.jsx)(x,{className:(0,r.default)(s?"px-4 py-3 text-left text-slate-500 dark:text-slate-200":"whitespace-nowrap px-4 py-3 text-slate-500 dark:text-slate-200 border-b dark:border-slate-300 last:border-b-0 sm:border-b-0 text-left flex items-center sm:table-cell",e),...u,children:(0,t.jsxs)("div",{className:"flex items-center",children:[l,"th"===x&&a&&i&&(0,t.jsx)(o,{onSort:e=>{var t;let s;e.preventDefault(),((t=f[i])?"ASC"===t?"DESC":null:"ASC")||!f[i]?s={...f,[i]:"ASC"===f[i]?"DESC":"ASC"}:(delete f[i],s=f);let r=Object.entries(s).map(([e,t])=>[e,t].join("_")).join(","),{sort:a,...l}=m.query,d=Object.keys(l).map(e=>[e,l[e]].join("=")).join("&"),o=0===Object.keys(l).length?`${m.basePath}?sort=${r}`:`${m.basePath}?${d}&sort=${r}`;r?m.push(o):m.push({query:(0,n.normalizeQuery)(l)})},sortDirection:Object.keys(f).length?f[i]:c})]})})},e.s(["default",0,m],8918)},93380,e=>{"use strict";e.s(["default",0,e=>e?e?.username?e.username:e?.profile?.displayName?e?.profile?.displayName:e?.profile?.address?.firstName||e?.profile?.address?.lastName?`${e?.profile?.address?.firstName} ${e?.profile?.address?.lastName}`:e?.name?e.name:e.isGuest?e?.primaryEmail?.address?.split(".")?.[0]:null:null])},1880,e=>{"use strict";e.s(["default",0,(e={})=>{let{_id:t,texts:s}=e||{};return s||t?`${s?.slug?.split("/").join("")||""}_id_${t}`:null},"parseSlug",0,e=>{if(!e)return null;let[t]=e?.split("_id_")||[];return t},"parseUniqueId",0,e=>{if(!e)return null;let t=e?.split("_id_");return t?.pop()}])},15125,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0});var r={VALID_LOADERS:function(){return l},imageConfigDefault:function(){return i}};for(var a in r)Object.defineProperty(s,a,{enumerable:!0,get:r[a]});let l=["default","imgix","cloudinary","akamai","custom"],i={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],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}},13521,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"ImageConfigContext",{enumerable:!0,get:function(){return l}});let r=e.r(31640)._(e.r(91788)),a=e.r(15125),l=r.default.createContext(a.imageConfigDefault)},55034,(e,t,s)=>{"use strict";function r({widthInt:e,heightInt:t,blurWidth:s,blurHeight:a,blurDataURL:l,objectFit:i}){let d=s?40*s:e,n=a?40*a:t,o=d&&n?`viewBox='0 0 ${d} ${n}'`:"";return`%3Csvg xmlns='http://www.w3.org/2000/svg' ${o}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${o?"none":"contain"===i?"xMidYMid":"cover"===i?"xMidYMid slice":"none"}' style='filter: url(%23b);' href='${l}'/%3E%3C/svg%3E`}Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})},66785,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"getImgProps",{enumerable:!0,get:function(){return o}}),e.r(94470);let r=e.r(20262),a=e.r(55034),l=e.r(15125),i=["-moz-initial","fill","none","scale-down",void 0];function d(e){return void 0!==e.default}function n(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function o({src:e,sizes:t,unoptimized:s=!1,priority:c=!1,preload:u=!1,loading:m,className:f,quality:x,width:h,height:p,fill:g=!1,style:v,overrideSrc:b,onLoad:y,onLoadingComplete:j,placeholder:N="empty",blurDataURL:w,fetchPriority:k,decoding:_="async",layout:C,objectFit:E,objectPosition:M,lazyBoundary:I,lazyRoot:O,...P},S){var D;let R,T,L,{imgConf:A,showAltText:$,blurComplete:F,defaultLoader:q}=S,z=A||l.imageConfigDefault;if("allSizes"in z)R=z;else{let e=[...z.deviceSizes,...z.imageSizes].sort((e,t)=>e-t),t=z.deviceSizes.sort((e,t)=>e-t),s=z.qualities?.sort((e,t)=>e-t);R={...z,allSizes:e,deviceSizes:t,qualities:s}}if(void 0===q)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let U=P.loader||q;delete P.loader,delete P.srcSet;let B="__next_img_default"in U;if(B){if("custom"===R.loader)throw Object.defineProperty(Error(`Image with src "${e}" is missing "loader" prop.
|
|
2
|
-
Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=U;U=t=>{let{config:s,...r}=t;return e(r)}}if(C){"fill"===C&&(g=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[C];e&&(v={...v,...e});let s={responsive:"100vw",fill:"100vw"}[C];s&&!t&&(t=s)}let W="",G=n(h),V=n(p);if((D=e)&&"object"==typeof D&&(d(D)||void 0!==D.src)){let t=d(e)?e.default:e;if(!t.src)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!t.height||!t.width)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(T=t.blurWidth,L=t.blurHeight,w=w||t.blurDataURL,W=t.src,!g)if(G||V){if(G&&!V){let e=G/t.width;V=Math.round(t.height*e)}else if(!G&&V){let e=V/t.height;G=Math.round(t.width*e)}}else G=t.width,V=t.height}let Z=!c&&!u&&("lazy"===m||void 0===m);(!(e="string"==typeof e?e:W)||e.startsWith("data:")||e.startsWith("blob:"))&&(s=!0,Z=!1),R.unoptimized&&(s=!0),B&&!R.dangerouslyAllowSVG&&e.split("?",1)[0].endsWith(".svg")&&(s=!0);let Q=n(x),X=Object.assign(g?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:E,objectPosition:M}:{},$?{}:{color:"transparent"},v),J=F||"empty"===N?null:"blur"===N?`url("data:image/svg+xml;charset=utf-8,${(0,a.getImageBlurSvg)({widthInt:G,heightInt:V,blurWidth:T,blurHeight:L,blurDataURL:w||"",objectFit:X.objectFit})}")`:`url("${N}")`,H=i.includes(X.objectFit)?"fill"===X.objectFit?"100% 100%":"cover":X.objectFit,Y=J?{backgroundSize:H,backgroundPosition:X.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:J}:{},K=function({config:e,src:t,unoptimized:s,width:a,quality:l,sizes:i,loader:d}){if(s){if(t.startsWith("/")&&!t.startsWith("//")){let e=(0,r.getDeploymentId)();if(e){let s=t.indexOf("?");if(-1!==s){let r=new URLSearchParams(t.slice(s+1));r.get("dpl")||(r.append("dpl",e),t=t.slice(0,s)+"?"+r.toString())}else t+=`?dpl=${e}`}}return{src:t,srcSet:void 0,sizes:void 0}}let{widths:n,kind:o}=function({deviceSizes:e,allSizes:t},s,r){if(r){let s=/(^|\s)(1?\d?\d)vw/g,a=[];for(let e;e=s.exec(r);)a.push(parseInt(e[2]));if(a.length){let s=.01*Math.min(...a);return{widths:t.filter(t=>t>=e[0]*s),kind:"w"}}return{widths:t,kind:"w"}}return"number"!=typeof s?{widths:e,kind:"w"}:{widths:[...new Set([s,2*s].map(e=>t.find(t=>t>=e)||t[t.length-1]))],kind:"x"}}(e,a,i),c=n.length-1;return{sizes:i||"w"!==o?i:"100vw",srcSet:n.map((s,r)=>`${d({config:e,src:t,quality:l,width:s})} ${"w"===o?s:r+1}${o}`).join(", "),src:d({config:e,src:t,quality:l,width:n[c]})}}({config:R,src:e,unoptimized:s,width:G,quality:Q,sizes:t,loader:U}),ee=Z?"lazy":m;return{props:{...P,loading:ee,fetchPriority:k,width:G,height:V,decoding:_,className:f,style:{...X,...Y},sizes:K.sizes,srcSet:K.srcSet,src:b||K.src},meta:{unoptimized:s,preload:u||c,placeholder:N,fill:g}}}},15633,(e,t,s)=>{"use strict";function r(e,t){let s=e||75;return t?.qualities?.length?t.qualities.reduce((e,t)=>Math.abs(t-s)<Math.abs(e-s)?t:e,t.qualities[0]):s}Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"findClosestQuality",{enumerable:!0,get:function(){return r}})},3866,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"default",{enumerable:!0,get:function(){return i}});let r=e.r(15633),a=e.r(20262);function l({config:e,src:t,width:s,quality:i}){let d=(0,a.getDeploymentId)();if(t.startsWith("/")&&!t.startsWith("//")){let e=t.indexOf("?");if(-1!==e){let s=new URLSearchParams(t.slice(e+1)),r=s.get("dpl");if(r){d=r,s.delete("dpl");let a=s.toString();t=t.slice(0,e)+(a?"?"+a:"")}}}if(t.startsWith("/")&&t.includes("?")&&e.localPatterns?.length===1&&"**"===e.localPatterns[0].pathname&&""===e.localPatterns[0].search)throw Object.defineProperty(Error(`Image with src "${t}" is using a query string which is not configured in images.localPatterns.
|
|
3
|
-
Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,configurable:!0});let n=(0,r.findClosestQuality)(i,e);return`${e.path}?url=${encodeURIComponent(t)}&w=${s}&q=${n}${t.startsWith("/")&&d?`&dpl=${d}`:""}`}l.__next_img_default=!0;let i=l},49194,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"Image",{enumerable:!0,get:function(){return y}});let r=e.r(31640),a=e.r(71650),l=e.r(91398),i=a._(e.r(91788)),d=r._(e.r(30943)),n=r._(e.r(80963)),o=e.r(66785),c=e.r(15125),u=e.r(13521);e.r(94470);let m=e.r(25479),f=r._(e.r(3866)),x=e.r(63230),h={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0};function p(e,t,s,r,a,l,i){let d=e?.src;e&&e["data-loaded-src"]!==d&&(e["data-loaded-src"]=d,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&a(!0),s?.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let r=!1,a=!1;s.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>r,isPropagationStopped:()=>a,persist:()=>{},preventDefault:()=>{r=!0,t.preventDefault()},stopPropagation:()=>{a=!0,t.stopPropagation()}})}r?.current&&r.current(e)}}))}function g(e){return i.use?{fetchPriority:e}:{fetchpriority:e}}"u"<typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let v=(0,i.forwardRef)(({src:e,srcSet:t,sizes:s,height:r,width:a,decoding:d,className:n,style:o,fetchPriority:c,placeholder:u,loading:m,unoptimized:f,fill:h,onLoadRef:v,onLoadingCompleteRef:b,setBlurComplete:y,setShowAltText:j,sizesInput:N,onLoad:w,onError:k,..._},C)=>{let E=(0,i.useCallback)(e=>{e&&(k&&(e.src=e.src),e.complete&&p(e,u,v,b,y,f,N))},[e,u,v,b,y,k,f,N]),M=(0,x.useMergedRef)(C,E);return(0,l.jsx)("img",{..._,...g(c),loading:m,width:a,height:r,decoding:d,"data-nimg":h?"fill":"1",className:n,style:o,sizes:s,srcSet:t,src:e,ref:M,onLoad:e=>{p(e.currentTarget,u,v,b,y,f,N)},onError:e=>{j(!0),"empty"!==u&&y(!0),k&&k(e)}})});function b({isAppRouter:e,imgAttributes:t}){let s={as:"image",imageSrcSet:t.srcSet,imageSizes:t.sizes,crossOrigin:t.crossOrigin,referrerPolicy:t.referrerPolicy,...g(t.fetchPriority)};return e&&d.default.preload?(d.default.preload(t.src,s),null):(0,l.jsx)(n.default,{children:(0,l.jsx)("link",{rel:"preload",href:t.srcSet?void 0:t.src,...s},"__nimg-"+t.src+t.srcSet+t.sizes)})}let y=(0,i.forwardRef)((e,t)=>{let s=(0,i.useContext)(m.RouterContext),r=(0,i.useContext)(u.ImageConfigContext),a=(0,i.useMemo)(()=>{let e=h||r||c.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),s=e.deviceSizes.sort((e,t)=>e-t),a=e.qualities?.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:s,qualities:a,localPatterns:"u"<typeof window?r?.localPatterns:e.localPatterns}},[r]),{onLoad:d,onLoadingComplete:n}=e,x=(0,i.useRef)(d);(0,i.useEffect)(()=>{x.current=d},[d]);let p=(0,i.useRef)(n);(0,i.useEffect)(()=>{p.current=n},[n]);let[g,y]=(0,i.useState)(!1),[j,N]=(0,i.useState)(!1),{props:w,meta:k}=(0,o.getImgProps)(e,{defaultLoader:f.default,imgConf:a,blurComplete:g,showAltText:j});return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(v,{...w,unoptimized:k.unoptimized,placeholder:k.placeholder,fill:k.fill,onLoadRef:x,onLoadingCompleteRef:p,setBlurComplete:y,setShowAltText:N,sizesInput:e.sizes,ref:t}),k.preload?(0,l.jsx)(b,{isAppRouter:!s,imgAttributes:w}):null]})});("function"==typeof s.default||"object"==typeof s.default&&null!==s.default)&&void 0===s.default.__esModule&&(Object.defineProperty(s.default,"__esModule",{value:!0}),Object.assign(s.default,s),t.exports=s.default)},88961,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0});var r={default:function(){return c},getImageProps:function(){return o}};for(var a in r)Object.defineProperty(s,a,{enumerable:!0,get:r[a]});let l=e.r(31640),i=e.r(66785),d=e.r(49194),n=l._(e.r(3866));function o(e){let{props:t}=(0,i.getImgProps)(e,{defaultLoader:n.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[e,s]of Object.entries(t))void 0===s&&delete t[e];return{props:t}}let c=d.Image},26019,(e,t,s)=>{t.exports=e.r(88961)},35065,16509,e=>{"use strict";var t=e.i(91398),s=e.i(26019),r=e.i(91788),a=e.i(69322);let l=({src:e,width:t,quality:s=75})=>e?`${e}?w=${t}&q=${s}`:"/no-image.jpg";e.s(["default",0,l],16509);let i=({className:e="w-full h-full",width:s=200,height:r=200})=>(0,t.jsxs)("svg",{width:s,height:r,viewBox:"0 0 200 200",fill:"none",className:e,xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("rect",{x:"10",y:"10",width:"180",height:"180",rx:"8",stroke:"currentColor",strokeWidth:"3",strokeDasharray:"8 4",fill:"transparent",className:"text-slate-800 dark:text-slate-400"}),(0,t.jsx)("rect",{x:"40",y:"40",width:"120",height:"80",rx:"4",stroke:"currentColor",strokeWidth:"3",fill:"transparent"}),(0,t.jsx)("path",{d:"M50 100 L70 80 L90 95 L110 75 L130 90 L150 70",stroke:"currentColor",strokeWidth:"3",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),(0,t.jsx)("circle",{cx:"130",cy:"55",r:"8",stroke:"currentColor",strokeWidth:"3",fill:"transparent"}),(0,t.jsx)("text",{x:"100",y:"145",textAnchor:"middle",className:"text-slate-800 dark:text-slate-300 text-sm font-semibold",fill:"currentColor",children:"No Image"})]});e.s(["default",0,({fallbackSrc:e="",src:d,...n})=>{let[o,c]=(0,r.useState)(d),[u,m]=(0,r.useState)(!1),{formatMessage:f}=(0,a.useIntl)();return u||!o?(0,t.jsx)("div",{className:n.className||"w-full h-full flex items-center justify-center bg-slate-50 dark:bg-slate-800",children:(0,t.jsx)(i,{width:n.width||200,height:n.height||200,className:"max-w-full max-h-full"})}):(0,t.jsx)(s.default,{src:o,loader:l,alt:f({id:"image-not-found",defaultMessage:"Image not found"}),...n,onError:()=>{e&&o!==e?c(e):m(!0)}})}],35065)},67912,e=>{"use strict";var t=e.i(91788);let s=t.forwardRef(function({title:e,titleId:s,...r},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":s},r),e?t.createElement("title",{id:s},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.982 18.725A7.488 7.488 0 0 0 12 15.75a7.488 7.488 0 0 0-5.982 2.975m11.963 0a9 9 0 1 0-11.963 0m11.963 0A8.966 8.966 0 0 1 12 21a8.966 8.966 0 0 1-5.982-2.275M15 9.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))});e.s(["UserCircleIcon",0,s],67912)},64710,e=>{"use strict";var t=e.i(91788);let s=t.forwardRef(function({title:e,titleId:s,...r},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":s},r),e?t.createElement("title",{id:s},e):null,t.createElement("path",{fillRule:"evenodd",d:"M2.5 4A1.5 1.5 0 0 0 1 5.5V6h18v-.5A1.5 1.5 0 0 0 17.5 4h-15ZM19 8.5H1v6A1.5 1.5 0 0 0 2.5 16h15a1.5 1.5 0 0 0 1.5-1.5v-6ZM3 13.25a.75.75 0 0 1 .75-.75h1.5a.75.75 0 0 1 0 1.5h-1.5a.75.75 0 0 1-.75-.75Zm4.75-.75a.75.75 0 0 0 0 1.5h3.5a.75.75 0 0 0 0-1.5h-3.5Z",clipRule:"evenodd"}))});e.s(["CreditCardIcon",0,s],64710)},51967,e=>{"use strict";var t=e.i(59080),s=e.i(32171);let r=t.gql`
|
|
4
|
-
query PaymentProvidersType {
|
|
5
|
-
paymentProviderType: __type(name: "PaymentProviderType") {
|
|
6
|
-
options: enumValues {
|
|
7
|
-
value: name
|
|
8
|
-
label: description
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
`;e.s(["default",0,()=>{let{data:e,loading:t,error:a}=(0,s.useQuery)(r);return{paymentProviderType:e?.paymentProviderType?.options||[],loading:t,error:a}}])},36494,e=>{"use strict";var t=e.i(59080);let s=t.gql`
|
|
13
|
-
fragment AddressFragment on Address {
|
|
14
|
-
firstName
|
|
15
|
-
lastName
|
|
16
|
-
company
|
|
17
|
-
addressLine
|
|
18
|
-
postalCode
|
|
19
|
-
city
|
|
20
|
-
countryCode
|
|
21
|
-
regionCode
|
|
22
|
-
}
|
|
23
|
-
`;e.s(["default",0,s])},93333,e=>{"use strict";var t=e.i(59080),s=e.i(32171);let r=t.gql`
|
|
24
|
-
query DeliveryProvidersType {
|
|
25
|
-
deliveryProviderType: __type(name: "DeliveryProviderType") {
|
|
26
|
-
options: enumValues {
|
|
27
|
-
value: name
|
|
28
|
-
label: description
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
`;e.s(["default",0,()=>{let{data:e,loading:t,error:a}=(0,s.useQuery)(r);return{deliveryProviderType:e?.deliveryProviderType?.options||[],loading:t,error:a}}])},71774,e=>{"use strict";var t=e.i(91398),s=e.i(3828),r=e.i(66773),a=e.i(69322),l=e.i(28401),i=e.i(61494),d=e.i(12197),n=e.i(59080),o=e.i(32171),c=e.i(70693),u=e.i(36494);let m=n.gql`
|
|
33
|
-
fragment OrderDetailFragment on Order {
|
|
34
|
-
_id
|
|
35
|
-
totalTax: total(category: TAXES) {
|
|
36
|
-
amount
|
|
37
|
-
currencyCode
|
|
38
|
-
}
|
|
39
|
-
itemsTotal: total(category: ITEMS) {
|
|
40
|
-
amount
|
|
41
|
-
currencyCode
|
|
42
|
-
}
|
|
43
|
-
totalDiscount: total(category: DISCOUNTS) {
|
|
44
|
-
amount
|
|
45
|
-
currencyCode
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
totalPayment: total(category: PAYMENT) {
|
|
49
|
-
amount
|
|
50
|
-
currencyCode
|
|
51
|
-
}
|
|
52
|
-
totalDelivery: total(category: DELIVERY) {
|
|
53
|
-
amount
|
|
54
|
-
currencyCode
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
user {
|
|
58
|
-
_id
|
|
59
|
-
username
|
|
60
|
-
isGuest
|
|
61
|
-
avatar {
|
|
62
|
-
_id
|
|
63
|
-
url
|
|
64
|
-
}
|
|
65
|
-
profile {
|
|
66
|
-
displayName
|
|
67
|
-
address {
|
|
68
|
-
firstName
|
|
69
|
-
lastName
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
discounts {
|
|
74
|
-
_id
|
|
75
|
-
trigger
|
|
76
|
-
code
|
|
77
|
-
interface {
|
|
78
|
-
_id
|
|
79
|
-
label
|
|
80
|
-
version
|
|
81
|
-
}
|
|
82
|
-
total {
|
|
83
|
-
amount
|
|
84
|
-
currencyCode
|
|
85
|
-
isTaxable
|
|
86
|
-
isNetPrice
|
|
87
|
-
}
|
|
88
|
-
discounted {
|
|
89
|
-
_id
|
|
90
|
-
orderDiscount {
|
|
91
|
-
_id
|
|
92
|
-
total {
|
|
93
|
-
amount
|
|
94
|
-
currencyCode
|
|
95
|
-
isTaxable
|
|
96
|
-
isNetPrice
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
total {
|
|
100
|
-
amount
|
|
101
|
-
currencyCode
|
|
102
|
-
isTaxable
|
|
103
|
-
isNetPrice
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
payment {
|
|
108
|
-
_id
|
|
109
|
-
provider {
|
|
110
|
-
_id
|
|
111
|
-
type
|
|
112
|
-
interface {
|
|
113
|
-
_id
|
|
114
|
-
label
|
|
115
|
-
version
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
status
|
|
119
|
-
fee {
|
|
120
|
-
currencyCode
|
|
121
|
-
amount
|
|
122
|
-
}
|
|
123
|
-
paid
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
orderNumber
|
|
127
|
-
status
|
|
128
|
-
created
|
|
129
|
-
updated
|
|
130
|
-
ordered
|
|
131
|
-
|
|
132
|
-
confirmed
|
|
133
|
-
fulfilled
|
|
134
|
-
contact {
|
|
135
|
-
telNumber
|
|
136
|
-
emailAddress
|
|
137
|
-
}
|
|
138
|
-
country {
|
|
139
|
-
_id
|
|
140
|
-
isoCode
|
|
141
|
-
flagEmoji
|
|
142
|
-
name
|
|
143
|
-
}
|
|
144
|
-
currency {
|
|
145
|
-
_id
|
|
146
|
-
isoCode
|
|
147
|
-
isActive
|
|
148
|
-
}
|
|
149
|
-
billingAddress {
|
|
150
|
-
...AddressFragment
|
|
151
|
-
}
|
|
152
|
-
delivery {
|
|
153
|
-
_id
|
|
154
|
-
... on OrderDeliveryPickUp {
|
|
155
|
-
activePickUpLocation {
|
|
156
|
-
_id
|
|
157
|
-
name
|
|
158
|
-
address {
|
|
159
|
-
...AddressFragment
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
... on OrderDeliveryShipping {
|
|
164
|
-
address {
|
|
165
|
-
...AddressFragment
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
provider {
|
|
169
|
-
_id
|
|
170
|
-
created
|
|
171
|
-
updated
|
|
172
|
-
deleted
|
|
173
|
-
type
|
|
174
|
-
configuration
|
|
175
|
-
interface {
|
|
176
|
-
_id
|
|
177
|
-
label
|
|
178
|
-
version
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
status
|
|
182
|
-
delivered
|
|
183
|
-
fee {
|
|
184
|
-
isTaxable
|
|
185
|
-
isNetPrice
|
|
186
|
-
amount
|
|
187
|
-
currencyCode
|
|
188
|
-
}
|
|
189
|
-
discounts {
|
|
190
|
-
_id
|
|
191
|
-
orderDiscount {
|
|
192
|
-
_id
|
|
193
|
-
trigger
|
|
194
|
-
code
|
|
195
|
-
order {
|
|
196
|
-
_id
|
|
197
|
-
orderNumber
|
|
198
|
-
}
|
|
199
|
-
interface {
|
|
200
|
-
_id
|
|
201
|
-
label
|
|
202
|
-
version
|
|
203
|
-
}
|
|
204
|
-
total {
|
|
205
|
-
isTaxable
|
|
206
|
-
isNetPrice
|
|
207
|
-
amount
|
|
208
|
-
currencyCode
|
|
209
|
-
}
|
|
210
|
-
discounted {
|
|
211
|
-
_id
|
|
212
|
-
orderDiscount {
|
|
213
|
-
_id
|
|
214
|
-
trigger
|
|
215
|
-
code
|
|
216
|
-
order {
|
|
217
|
-
_id
|
|
218
|
-
orderNumber
|
|
219
|
-
}
|
|
220
|
-
interface {
|
|
221
|
-
_id
|
|
222
|
-
label
|
|
223
|
-
version
|
|
224
|
-
}
|
|
225
|
-
total {
|
|
226
|
-
isTaxable
|
|
227
|
-
isNetPrice
|
|
228
|
-
amount
|
|
229
|
-
currencyCode
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
delivered
|
|
237
|
-
}
|
|
238
|
-
total {
|
|
239
|
-
isTaxable
|
|
240
|
-
isTaxable
|
|
241
|
-
amount
|
|
242
|
-
currencyCode
|
|
243
|
-
}
|
|
244
|
-
items {
|
|
245
|
-
_id
|
|
246
|
-
product {
|
|
247
|
-
_id
|
|
248
|
-
texts {
|
|
249
|
-
_id
|
|
250
|
-
slug
|
|
251
|
-
brand
|
|
252
|
-
vendor
|
|
253
|
-
title
|
|
254
|
-
subtitle
|
|
255
|
-
}
|
|
256
|
-
media {
|
|
257
|
-
_id
|
|
258
|
-
file {
|
|
259
|
-
_id
|
|
260
|
-
url
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
quantity
|
|
265
|
-
|
|
266
|
-
unitPrice {
|
|
267
|
-
amount
|
|
268
|
-
isTaxable
|
|
269
|
-
isNetPrice
|
|
270
|
-
currencyCode
|
|
271
|
-
}
|
|
272
|
-
total {
|
|
273
|
-
amount
|
|
274
|
-
isTaxable
|
|
275
|
-
isNetPrice
|
|
276
|
-
currencyCode
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
${u.default}
|
|
281
|
-
`;var f=e.i(41158),x=e.i(83147),h=e.i(1880),p=e.i(35065);let g=({item:e})=>{let{formatMessage:s}=(0,a.useIntl)(),{formatPrice:r}=(0,x.useFormatPrice)();return(0,t.jsx)(f.default,{href:`/products?slug=${(0,h.default)(e.product)}`,children:(0,t.jsx)("div",{className:"space-y-8",children:(0,t.jsxs)("div",{className:"flex items-center flex-wrap",children:[(0,t.jsx)("div",{className:"flex shrink-0 overflow-hidden rounded-lg sm:mx-0 ",children:e.product?.media?.length?(0,t.jsx)(p.default,{src:`${e.product?.media[0].file.url}`,alt:e?.product?.texts?.title||e?.product?.texts?.subtitle,className:"object-cover object-center",width:80,height:80}):null}),(0,t.jsxs)("div",{className:"flex flex-col justify-center sm:mt-0 ml-3 sm:flex-auto",children:[(0,t.jsx)("h3",{className:"text-base text-slate-900 dark:text-slate-200 truncate",dangerouslySetInnerHTML:{__html:e?.product?.texts?.title||e?.product?.texts?.subtitle}}),(0,t.jsx)("div",{className:"mt-1 text-sm dark:text-slate-400",children:r(e?.unitPrice)}),(0,t.jsxs)("div",{className:"mt-1 text-sm dark:text-slate-400",children:[s({id:"item_quantity",defaultMessage:"Quantity:"}),(0,t.jsx)("span",{className:"ml-1",children:e?.quantity})]})]})]})})})},v=({order:e})=>{let{formatMessage:s}=(0,a.useIntl)(),{formatPrice:r}=(0,x.useFormatPrice)(),l=e?.status==="OPEN"||!e?.orderNumber;return(0,t.jsx)("div",{"aria-labelledby":"summary-heading",children:(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex items-center justify-between pb-3 text-xl",children:[(0,t.jsx)("dt",{className:"",children:s({id:"order_total",defaultMessage:"Order total"})}),(0,t.jsx)("dd",{className:"",children:r(e?.total)})]}),!l&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsx)("dt",{className:"text-slate-600 dark:text-slate-400",children:s({id:"discount",defaultMessage:"Discount"})}),(0,t.jsx)("dd",{className:"",children:r(e?.totalDiscount)})]}),(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsx)("dt",{className:"text-slate-600 dark:text-slate-400",children:s({id:"shipping",defaultMessage:"Shipping"})}),(0,t.jsx)("dd",{className:"",children:r(e?.totalDelivery)})]}),(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsx)("dt",{className:"text-slate-600 dark:text-slate-400",children:s({id:"tax",defaultMessage:"Tax"})}),(0,t.jsx)("dd",{className:"",children:r(e?.totalTax)})]}),(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsx)("dt",{className:"text-slate-600 dark:text-slate-400",children:s({id:"order_payment_fees",defaultMessage:"Fees"})}),(0,t.jsx)("dd",{className:"",children:r(e?.totalPayment)})]}),(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsx)("dt",{className:"text-slate-600 dark:text-slate-400",children:s({id:"subtotal",defaultMessage:"Subtotal"})}),(0,t.jsx)("dd",{className:"",children:r(e?.itemsTotal)})]})]})]})})};var b=e.i(37369),y=e.i(34728),j=e.i(6607),N=e.i(76204);let w=n.gql`
|
|
282
|
-
mutation PayOrder($orderId: ID!) {
|
|
283
|
-
payOrder(orderId: $orderId) {
|
|
284
|
-
_id
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
`;var k=e.i(51967);let _=n.gql`
|
|
288
|
-
query OrderPaymentStatus {
|
|
289
|
-
paymentStatusTypes: __type(name: "OrderPaymentStatus") {
|
|
290
|
-
options: enumValues {
|
|
291
|
-
value: name
|
|
292
|
-
label: description
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
}
|
|
296
|
-
`;var C=e.i(84818);let E=({enumType:e,currentType:s,label:r,component:l=null})=>{let{formatMessage:i}=(0,a.useIntl)();return l||(0,t.jsx)("span",{title:r,className:`${s===e?"border-slate-300 bg-slate-200 text-slate-950 dark:bg-slate-800 dark:text-slate-200":"opacity-10 dark:bg-slate-900 "} mr-2 mb-2 inline-flex items-center rounded-md border border-slate-300 bg-white px-2 py-1 text-sm uppercase dark:border-slate-700 dark:bg-slate-800 dark:text-slate-200 transition-colors duration-200 ease-in-out hover:bg-slate-100 dark:hover:bg-slate-700 focus:outline-hidden focus:ring-2 focus:ring-slate-800 focus:ring-offset-2 focus:ring-offset-white dark:focus:ring-offset-slate-800`,children:(e=>{switch(e){case"INVOICE":return i({id:"invoice",defaultMessage:"INVOICE"});case"SHIPPING":return i({id:"shipping_method",defaultMessage:"SHIPPING"});case"OPEN":return i({id:"open",defaultMessage:"OPEN"});case"DELIVERED":return i({id:"delivered",defaultMessage:"Delivered"}).toUpperCase();case"PAID":return i({id:"paid",defaultMessage:"Paid"}).toUpperCase();default:return e}})(e)})};var M=e.i(58971);let I=({order:e})=>{let{paymentProviderType:s}=(0,k.default)(),{paymentStatusTypes:i}=(()=>{let{data:e,loading:t,error:s}=(0,o.useQuery)(_);return{paymentStatusTypes:e?.paymentStatusTypes?.options||[],loading:t,error:s}})(),{formatDateTime:d}=(0,C.default)(),{formatPrice:n}=(0,x.useFormatPrice)(),{formatMessage:c}=(0,a.useIntl)(),{setModal:u}=(0,j.default)(),{payOrder:m}=(()=>{let[e]=(0,N.useMutation)(w);return{payOrder:async({orderId:t})=>e({variables:{orderId:t},refetchQueries:["Order"]})}})(),{hasRole:h}=(0,M.default)(),p=async()=>{await u((0,t.jsx)(y.default,{buttonText:c({id:"pay",defaultMessage:"Mark paid"}),message:c({id:"mark_as_paid_question",defaultMessage:"This will change the order payment status to Paid."}),headerText:c({id:"mark_as_paid_question_header",defaultMessage:"Mark as paid?"}),onOkClick:async()=>{u(""),await m({orderId:e._id}),l.toast.success(c({id:"order_paid",defaultMessage:"Order paid successfully"}))}}))};return(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex items-baseline gap-2",children:[(0,t.jsx)("h2",{className:"pt-4 text-2xl text-slate-900 dark:text-slate-200",children:c({id:"payment",defaultMessage:"Payment"})}),e?.payment?.fee?.currencyCode&&(0,t.jsx)("span",{className:"block",children:n(e.payment.fee)}),e?.payment?.paid&&(0,t.jsx)("span",{className:"font-mono",children:d(e.payment.paid,{timeStyle:"short",dateStyle:"medium"})})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{className:"mb-5 block text-xs font-mono",children:e?.payment?.provider&&(0,t.jsx)(f.default,{href:`/payment-provider?paymentProviderId=${e.payment.provider._id}`,className:"text-slate-500 dark:text-slate-300 hover:text-slate-800 dark:hover:text-slate-600",children:(0,x.getInterfaceLabel)(e.payment?.provider?.interface)})}),(0,t.jsx)("div",{className:"mt-3 text-sm text-slate-500 dark:text-slate-200",children:c({id:"method",defaultMessage:"Method"})}),(0,t.jsx)("span",{className:"mr-2 block rounded-full py-1 text-xs font-semibold leading-5",children:[...s].sort((t,s)=>t.value===e.payment?.provider?.type?-1:+(s.value===e.payment?.provider?.type)).map(s=>(0,t.jsx)(E,{enumType:s.value,currentType:e.payment?.provider?.type,label:s.label},s.value))}),(0,t.jsx)("div",{className:"mt-3 text-sm text-slate-500 dark:text-slate-200",children:c({id:"delivery_status",defaultMessage:"Status"})}),(0,t.jsx)("span",{className:"mr-2 block rounded-full py-1 text-xs font-semibold leading-5",children:[...i].sort((t,s)=>t.value===e.payment?.status?-1:+(s.value===e.payment?.status)).map(s=>(0,t.jsx)(E,{enumType:s.value,currentType:e.payment?.status,label:s.label,component:"OPEN"===e.payment.status&&"PAID"===s.value&&h(r.IRoleAction.MarkOrderPaid)&&(0,t.jsxs)("button",{id:"pay",type:"button",onClick:p,className:"cursor-pointer my-2 mr-2 inline-flex h-full items-center justify-center rounded-sm border border-transparent bg-slate-800 dark:bg-slate-600 py-1 px-2 text-xs font-semibold text-white shadow-xs hover:bg-slate-950 dark:hover:bg-slate-500 focus:outline-hidden focus:ring-2 focus:ring-slate-700 dark:focus:ring-slate-400 focus:ring-offset-2",children:[(0,t.jsx)("span",{className:"mr-1",children:(0,t.jsx)(b.PlusIcon,{className:"inline-block h-3 w-3 text-white"})}),c({id:"mark_as_paid",defaultMessage:"Mark as Paid"})]})},s.value))})]})]})};var O=e.i(93333);let P=n.gql`
|
|
297
|
-
query OrderDeliveryStatus {
|
|
298
|
-
deliveryStatusType: __type(name: "OrderDeliveryStatus") {
|
|
299
|
-
options: enumValues {
|
|
300
|
-
value: name
|
|
301
|
-
label: description
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
}
|
|
305
|
-
`,S=n.gql`
|
|
306
|
-
mutation DeliverOrder($orderId: ID!) {
|
|
307
|
-
deliverOrder(orderId: $orderId) {
|
|
308
|
-
_id
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
|
-
`,D=({order:e})=>{let{deliveryProviderType:s}=(0,O.default)(),{setModal:i}=(0,j.default)(),{deliveryStatusType:d}=(()=>{let{data:e,loading:t,error:s}=(0,o.useQuery)(P);return{deliveryStatusType:e?.deliveryStatusType?.options||[],loading:t,error:s}})(),{deliverOrder:n}=(()=>{let[e]=(0,N.useMutation)(S);return{deliverOrder:async({orderId:t})=>e({variables:{orderId:t},refetchQueries:["Order"]})}})(),{formatPrice:c}=(0,x.useFormatPrice)(),{formatMessage:u}=(0,a.useIntl)(),{formatDateTime:m}=(0,C.default)(),{hasRole:h}=(0,M.default)(),p=async()=>{await i((0,t.jsx)(y.default,{buttonText:u({id:"delivered",defaultMessage:"Delivered"}),message:u({id:"mark_as_delivered_message",defaultMessage:"This will change the order delivery status to delivered"}),headerText:u({id:"mark_as_delivered_question",defaultMessage:"Mark as delivered ?"}),onOkClick:async()=>{i(""),await n({orderId:e._id}),l.toast.success(u({id:"order__marked_delivered",defaultMessage:"Order marked as delivered successfully"}))}}))};return(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex items-baseline gap-2",children:[(0,t.jsx)("h2",{className:"pt-4 text-2xl",children:u({id:"delivery",defaultMessage:"Delivery"})}),e?.delivery?.fee?.currencyCode&&(0,t.jsx)("span",{className:"block",children:c(e.delivery.fee)}),e?.delivery?.delivered&&(0,t.jsx)("span",{className:"font-mono",children:m(e.delivery.delivered,{timeStyle:"short",dateStyle:"medium"})})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{className:"mb-5 block font-mono text-xs",children:e?.delivery&&(0,t.jsx)(f.default,{href:`/delivery-provider?deliveryProviderId=${e?.delivery?.provider?._id}`,className:"text-slate-500 dark:text-slate-300 hover:text-slate-800 dark:hover:text-slate-600",children:(0,x.getInterfaceLabel)(e?.delivery?.provider?.interface)})}),(0,t.jsx)("div",{className:"mt-3 text-sm text-slate-500 dark:text-slate-200",children:u({id:"method",defaultMessage:"Method"})}),(0,t.jsx)("span",{className:"mr-2 block rounded-full py-1 text-xs font-semibold leading-5",children:[...s].sort((t,s)=>t.value===e?.delivery?.provider?.type?-1:+(s.value===e?.delivery?.provider?.type)).map(s=>(0,t.jsx)(E,{enumType:s.value,currentType:e?.delivery?.provider?.type,label:s.label},s.value))}),(0,t.jsx)("div",{className:"mt-3 text-sm text-slate-500 dark:text-slate-200",children:u({id:"status",defaultMessage:"Status"})}),(0,t.jsx)("span",{className:"mr-2 block rounded-full py-1 text-xs font-semibold leading-5",children:[...d].sort((t,s)=>t.value===e?.delivery?.status?-1:+(s.value===e?.delivery?.status)).map(s=>(0,t.jsx)(E,{enumType:s.value,currentType:e?.delivery?.status,label:s.label,component:e?.delivery?.status==="OPEN"&&"DELIVERED"===s.value&&h(r.IRoleAction.MarkOrderDelivered)&&(0,t.jsxs)("button",{id:"deliver",type:"button",onClick:p,className:"my-2 mr-2 inline-flex h-full items-center justify-center rounded-sm border border-slate-300 border-transparent bg-slate-800 dark:bg-slate-600 py-1 px-2 text-xs font-semibold text-white shadow-xs hover:bg-slate-950 dark:hover:bg-slate-500 focus:outline-hidden focus:ring-2 focus:ring-slate-700 dark:focus:ring-slate-400 focus:ring-offset-2",children:[(0,t.jsx)("span",{className:"mr-1",children:(0,t.jsx)(b.PlusIcon,{className:"inline-block h-3 w-3 text-white"})}),u({id:"mark_as_delivered",defaultMessage:"Mark as delivered"})]})},s.value))})]})]})};var R=e.i(64710),T=e.i(91788);let L=T.forwardRef(function({title:e,titleId:t,...s},r){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:r,"aria-labelledby":t},s),e?T.createElement("title",{id:t},e):null,T.createElement("path",{d:"M6.5 3c-1.051 0-2.093.04-3.125.117A1.49 1.49 0 0 0 2 4.607V10.5h9V4.606c0-.771-.59-1.43-1.375-1.489A41.568 41.568 0 0 0 6.5 3ZM2 12v2.5A1.5 1.5 0 0 0 3.5 16h.041a3 3 0 0 1 5.918 0h.791a.75.75 0 0 0 .75-.75V12H2Z"}),T.createElement("path",{d:"M6.5 18a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM13.25 5a.75.75 0 0 0-.75.75v8.514a3.001 3.001 0 0 1 4.893 1.44c.37-.275.61-.719.595-1.227a24.905 24.905 0 0 0-1.784-8.549A1.486 1.486 0 0 0 14.823 5H13.25ZM14.5 18a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"}))}),A=T.forwardRef(function({title:e,titleId:t,...s},r){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:r,"aria-labelledby":t},s),e?T.createElement("title",{id:t},e):null,T.createElement("path",{d:"M2.879 7.121A3 3 0 0 0 7.5 6.66a2.997 2.997 0 0 0 2.5 1.34 2.997 2.997 0 0 0 2.5-1.34 3 3 0 1 0 4.622-3.78l-.293-.293A2 2 0 0 0 15.415 2H4.585a2 2 0 0 0-1.414.586l-.292.292a3 3 0 0 0 0 4.243ZM3 9.032a4.507 4.507 0 0 0 4.5-.29A4.48 4.48 0 0 0 10 9.5a4.48 4.48 0 0 0 2.5-.758 4.507 4.507 0 0 0 4.5.29V16.5h.25a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75v-3.5a.75.75 0 0 0-.75-.75h-2.5a.75.75 0 0 0-.75.75v3.5a.75.75 0 0 1-.75.75h-4.5a.75.75 0 0 1 0-1.5H3V9.032Z"}))}),$=({order:e})=>{let{formatMessage:s}=(0,a.useIntl)(),r=e?.delivery,l=r?.provider?.type==="PICKUP",i=r?.address||r?.activePickUpLocation?.address||{},d=r?.activePickUpLocation?.name;return(0,t.jsxs)("section",{"aria-labelledby":"addresses-heading",className:"lg:grid lg:grid-cols-2 flex flex-col gap-8",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"mb-2 text-xl dark:text-slate-400 flex items-center gap-2",children:[(0,t.jsx)(R.CreditCardIcon,{className:"h-5 w-5"}),s({id:"billing_address",defaultMessage:"Billing address"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{className:"block",children:e?.billingAddress?.firstName&&e?.billingAddress?.lastName?`${e.billingAddress.firstName} ${e.billingAddress.lastName}`:e?.billingAddress?.firstName||e?.billingAddress?.lastName||""}),(0,t.jsx)("span",{className:"block",children:e?.billingAddress?.addressLine}),e?.billingAddress?.addressLine2&&(0,t.jsx)("span",{className:"block",children:e.billingAddress.addressLine2}),(0,t.jsx)("span",{children:e?.billingAddress?.postalCode})," ",(0,t.jsx)("span",{children:e?.billingAddress?.city}),(0,t.jsx)("span",{className:"block",children:e?.country?.name&&(0,t.jsxs)(t.Fragment,{children:[e.country.name," ",(0,t.jsx)("span",{className:"inline-block grayscale hover:grayscale-0 transition-all text-xl",children:e.country.flagEmoji})]})})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"mb-2 text-xl dark:text-slate-400 flex items-center gap-2",children:[(0,t.jsx)(L,{className:"h-5 w-5"}),s({id:"delivery_details",defaultMessage:"Delivery details"})]}),(0,t.jsxs)("div",{children:[l?(0,t.jsxs)("div",{className:"mb-1 flex items-center gap-1",children:[(0,t.jsx)(A,{className:"h-5 w-5 text-gray-500"}),(0,t.jsx)("span",{className:"font-semibold",children:d||s({id:"pickup_location",defaultMessage:"Pickup Location"})})]}):null,(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{className:"block",children:i?.firstName&&i?.lastName?`${i.firstName} ${i.lastName}`:i?.firstName||i?.lastName||""}),i?.company&&(0,t.jsx)("span",{className:"block",children:i.company}),(0,t.jsx)("span",{className:"block",children:i?.addressLine}),i?.addressLine2&&(0,t.jsx)("span",{className:"block",children:i.addressLine2}),(0,t.jsx)("span",{children:i?.postalCode})," ",(0,t.jsx)("span",{children:i?.city}),(0,t.jsxs)("span",{className:"block text-gray-500 text-sm",children:[i?.regionCode," — ",i?.countryCode]})]})]})]})]})};var F=e.i(8918),q=e.i(65153),z=e.i(26178);let U={SYSTEM:"teal",USER:"indigo"},B=({discounts:e})=>{let{formatMessage:s}=(0,a.useIntl)(),{formatPrice:r}=(0,x.useFormatPrice)();return(0,t.jsxs)("div",{className:"flex flex-auto flex-col",children:[(0,t.jsx)("h2",{className:"text-2xl",children:s({id:"discount_information",defaultMessage:"Discounts"})}),(0,t.jsx)("div",{className:"mt-2",children:e?.length?(0,t.jsxs)(F.default,{className:"min-w-full ",children:[(e||[])?.map(e=>(0,t.jsxs)(F.default.Row,{header:!0,children:[(0,t.jsx)(F.default.Cell,{children:s({id:"code",defaultMessage:"Code"})}),(0,t.jsx)(F.default.Cell,{children:s({id:"discount_amount",defaultMessage:"Discount Amount"})})]},e._id)),(e||[])?.map(e=>(0,t.jsx)(T.Fragment,{children:(0,t.jsxs)(F.default.Row,{children:[(0,t.jsx)(F.default.Cell,{children:(0,t.jsxs)("div",{className:"flex items-center text-sm text-slate-900",children:[e.code?e.code:"n/a",(0,t.jsx)("span",{className:"mr-2 inline-block rounded-full py-1 text-xs font-semibold leading-5",children:(0,t.jsx)(q.default,{text:e.trigger,color:U[e.trigger],square:!0})})]})}),(0,t.jsx)(F.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm text-slate-900",children:r(e.total)})})]})},e._id))]}):(0,t.jsx)(z.default,{message:s({id:"discounts",defaultMessage:"Discounts"})})})]})},W=n.gql`
|
|
312
|
-
query OrderStatus {
|
|
313
|
-
orderStatusType: __type(name: "OrderStatus") {
|
|
314
|
-
options: enumValues {
|
|
315
|
-
value: name
|
|
316
|
-
label: description
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
}
|
|
320
|
-
`,G=n.gql`
|
|
321
|
-
mutation ConfirmOrder($orderId: ID!) {
|
|
322
|
-
confirmOrder(orderId: $orderId) {
|
|
323
|
-
_id
|
|
324
|
-
}
|
|
325
|
-
}
|
|
326
|
-
`;var V=e.i(66885),Z=e.i(23647);let Q=({order:e})=>{let{formatMessage:s,locale:r}=(0,a.useIntl)(),{formatDateTime:l}=(0,C.default)();if(!e)return null;let i=e?.status==="OPEN"||!e?.orderNumber;return(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex justify-between items-baseline flex-wrap mb-10",children:[(0,t.jsx)("div",{className:"flex items-center justify-between gap-5 flex-wrap",children:(0,t.jsx)("h2",{className:"text-2xl font-medium text-slate-900 dark:text-slate-200 sm:truncate sm:text-3xl lg:text-4xl xl:text-5xl",children:i?(0,t.jsxs)(t.Fragment,{children:[s({id:"cart",defaultMessage:"Cart"}),` ${e._id}`]}):(0,t.jsxs)(t.Fragment,{children:[s({id:"order_number",defaultMessage:"Order #"}),e?.orderNumber?`${e.orderNumber}`:""]})})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{className:"mr-1 text-slate-400 dark:text-slate-500",children:s(i?{id:"cart_created",defaultMessage:"Warenkorb erstellt"}:{id:"order_placed",defaultMessage:"Order placed"})}),i?l(e.created):e?.ordered?l(e.ordered):null]})]}),!i&&(0,t.jsx)(Z.default,{user:e?.user,contact:e?.contact}),i&&e?.user&&(0,t.jsx)("div",{className:"mt-5",children:(0,t.jsx)("span",{className:"text-lg text-slate-600 dark:text-slate-400",children:e.user.profile?.displayName||(e.user.profile?.address?.firstName&&e.user.profile?.address?.lastName?`${e.user.profile.address.firstName} ${e.user.profile.address.lastName}`:e.user.username)||"Guest"})})]})},X=n.gql`
|
|
327
|
-
mutation RejectOrder($orderId: ID!) {
|
|
328
|
-
rejectOrder(orderId: $orderId) {
|
|
329
|
-
_id
|
|
330
|
-
}
|
|
331
|
-
}
|
|
332
|
-
`;var J=e.i(15971);let H=({order:e})=>{let{formatMessage:s}=(0,a.useIntl)(),{setModal:i}=(0,j.default)(),{confirmOrder:d}=(()=>{let[e]=(0,N.useMutation)(G);return{confirmOrder:async({orderId:t})=>e({variables:{orderId:t},refetchQueries:["Order"]})}})(),{rejectOrder:n}=(()=>{let[e]=(0,N.useMutation)(X);return{rejectOrder:async({orderId:t})=>e({variables:{orderId:t},refetchQueries:["Order"]})}})(),{hasRole:c}=(0,M.default)(),{orderStatusType:u}=(()=>{let{data:e,loading:t,error:s}=(0,o.useQuery)(W);return{orderStatusType:e?.orderStatusType?.options||[],loading:t,error:s}})();if(!e)return null;let m=e?.status==="OPEN"||!e?.orderNumber,f=async()=>{await i((0,t.jsx)(y.default,{buttonText:s({id:"confirm_order_alert_button",defaultMessage:"Confirm"}),headerText:s({id:"confirm_order_alert_header",defaultMessage:"Confirm order?"}),message:s({id:"confirm_order_alert_message",defaultMessage:"This will mark order as confirmed"}),onOkClick:async()=>{i(""),await d({orderId:e._id}),l.toast.success(s({id:"order_confirmed_success",defaultMessage:"Order confirmed successfully"}))}}))},x=async()=>{await i((0,t.jsx)(J.default,{onCancelClick:async()=>i(""),okText:s({id:"reject_order_alert_button",defaultMessage:"Reject"}),headerText:s({id:"reject_order_alert_header",defaultMessage:"Reject order?"}),onOkClick:async()=>{i(""),await n({orderId:e._id}),l.toast.success(s({id:"order_reject_success",defaultMessage:"Order rejected successfully"}))}}))},h={OPEN:{id:1,content:"created",visible:!0},PENDING:{id:2,content:"ordered",Component:e?.status==="PENDING"&&(0,t.jsxs)(t.Fragment,{children:[c(r.IRoleAction.MarkOrderConfirmed)&&(0,t.jsx)("button",{id:"confirm_order",onClick:f,type:"button",className:"bg-white-300 relative -ml-px inline-flex items-center space-x-2 rounded-md border border-slate-900 dark:border-slate-600 bg-slate-800 dark:bg-slate-600 px-2 py-1 text-sm font-medium text-white hover:bg-slate-950 dark:hover:bg-slate-500 dark:focus:border-slate-400 focus:outline-hidden focus:ring-0 focus:ring-slate-800 dark:focus:ring-slate-400",children:s({id:"confirm_order",defaultMessage:"Confirm order"})}),c(r.IRoleAction.MarkOrderRejected)&&(0,t.jsx)("button",{id:"reject_order",onClick:x,type:"button",className:"bg-white-300 relative -ml-px inline-flex items-center space-x-2 rounded-md border border-rose-500 bg-rose-500 px-2 py-1 text-sm font-medium text-white hover:bg-rose-700 focus:border-rose-400 focus:outline-hidden focus:ring-0 focus:ring-rose-400",children:s({id:"reject_order",defaultMessage:"Reject order"})})]}),visible:!0},REJECTED:{id:3,content:"rejected",visible:e?.status==="REJECTED"},CONFIRMED:{id:4,content:"confirmed",visible:e?.status!=="REJECTED"},FULFILLED:{id:5,content:"fulfilled",visible:e?.status!=="REJECTED"}};return(0,t.jsxs)("div",{className:"space-y-4 lg:gap-10 dark:text-slate-200",children:[(0,t.jsx)("div",{children:(0,t.jsx)(Q,{order:e})}),!m&&(0,t.jsx)("div",{className:"mt-10",children:(0,t.jsx)($,{order:e})}),(0,t.jsxs)("div",{className:"mt-20 lg:grid lg:grid-cols-2 lg:gap-10",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"mb-6 text-xl dark:text-slate-400",children:s({id:"items_purchased",defaultMessage:"Items purchased"})}),(0,t.jsx)("div",{className:"flex gap-5 flex-col",children:e?.items.map(e=>(0,t.jsx)(g,{item:e},e._id))})]}),(0,t.jsx)("div",{children:(0,t.jsx)(v,{order:e})})]}),(0,t.jsx)("div",{className:"mt-20",children:(0,t.jsx)(V.default,{data:e,statusTypes:u,timeline:h})}),!m&&(0,t.jsxs)("div",{className:"mt-10 lg:mt-30 lg:grid lg:grid-cols-2 xl:grid-cols-3 lg:gap-10",children:[(0,t.jsx)(D,{order:e}),(0,t.jsx)(I,{order:e}),(0,t.jsx)(B,{discounts:e?.discounts})]})]})},Y=n.gql`
|
|
333
|
-
mutation RemoveOrder($orderId: ID!) {
|
|
334
|
-
removeOrder(orderId: $orderId) {
|
|
335
|
-
_id
|
|
336
|
-
}
|
|
337
|
-
}
|
|
338
|
-
`;var K=e.i(81359);e.s(["default",0,({orderId:e})=>{let{formatMessage:u}=(0,a.useIntl)(),{setModal:f}=(0,j.default)(),{removeOrder:x}=(()=>{let[e]=(0,N.useMutation)(Y);return{removeOrder:async({orderId:t})=>e({variables:{orderId:t},refetchQueries:["Order"]})}})(),h=(0,s.useRouter)(),{hasRole:p}=(0,M.default)(),{order:g,loading:v}=(({orderId:e=null})=>{let{customProperties:t}=(0,c.default)(),{data:s,loading:r,error:a}=(0,o.useQuery)(((e="")=>n.gql`
|
|
339
|
-
query Order($orderId: ID!) {
|
|
340
|
-
order(orderId: $orderId) {
|
|
341
|
-
...OrderDetailFragment
|
|
342
|
-
${e}
|
|
343
|
-
}
|
|
344
|
-
}
|
|
345
|
-
${m}
|
|
346
|
-
`)(t?.Order),{skip:!e,variables:{orderId:e}});return{order:s?.order,loading:r,error:a}})({orderId:e}),b=async()=>{await f((0,t.jsx)(J.default,{message:u({id:"delete_order_confirmation",defaultMessage:"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this order? "}),onCancelClick:async()=>f(""),onOkClick:async()=>{f(""),await x({orderId:e}),l.toast.success(u({id:"order_deleted",defaultMessage:"Order deleted successfully"})),h.push("/orders")},okText:u({id:"delete_order",defaultMessage:"Delete order"})}))};return(0,t.jsxs)("div",{className:"mt-5 max-w-full",children:[(0,t.jsx)(i.default,{currentPageTitle:g?.orderNumber?`#${g?.orderNumber}`:""}),(0,t.jsx)("div",{className:"items-center flex min-w-full justify-end gap-3 flex-wrap",children:g&&"OPEN"===g.status&&p(r.IRoleAction.UpdateOrder)?(0,t.jsx)(K.default,{onClick:b}):null}),v?(0,t.jsx)(d.default,{}):(0,t.jsx)(H,{order:g})]})}],71774)},32082,(e,t,s)=>{let r="/orders/OrderDetailPage";(window.__NEXT_P=window.__NEXT_P||[]).push([r,()=>e.r(71774)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([r])})},48761,e=>{e.v(t=>Promise.all(["static/chunks/0wooaklx8_14q.js"].map(t=>e.l(t))).then(()=>t(93594)))},28805,e=>{e.v(t=>Promise.all(["static/chunks/1jqnrnw0p9tw5.js"].map(t=>e.l(t))).then(()=>t(79466)))}]);
|