@unchainedshop/admin-ui 5.0.0-alpha.1 → 5.0.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/{_ZCNVAj2ptQ3WvyS9d8fH → NCD-SJ8yCV0Afw8rFopK9}/_buildManifest.js +62 -62
- package/out/_next/static/chunks/0-beu4vu82jrh.js +1 -0
- package/out/_next/static/chunks/0-bq_~1lrxscv.js +1 -0
- package/out/_next/static/chunks/0-gs6rs8.en66.js +807 -0
- package/out/_next/static/chunks/0.4qfzuvwzsxc.js +346 -0
- package/out/_next/static/chunks/0.ezy3xvxrqcc.js +15 -0
- package/out/_next/static/chunks/0.i9a933lfo25.js +110 -0
- package/out/_next/static/chunks/0.qv4h3l4v.mz.js +807 -0
- package/out/_next/static/chunks/00-1l-sb67jn-.js +807 -0
- package/out/_next/static/chunks/0063j04yfdol-.js +13 -0
- package/out/_next/static/chunks/006d2uxhsngs-.js +1 -0
- package/out/_next/static/chunks/00d66~in48qe1.js +108 -0
- package/out/_next/static/chunks/00u_9mz-xfmbu.js +119 -0
- package/out/_next/static/chunks/00ysn67q-k.lf.js +384 -0
- package/out/_next/static/chunks/00z8y5zmd5ley.js +16 -0
- package/out/_next/static/chunks/01.ug0e_hak5n.js +31 -0
- package/out/_next/static/chunks/{0.7jou~9s-9ly.js → 01755gvyv1u4p.js} +35 -35
- package/out/_next/static/chunks/024hggxa5rlsk.js +16 -0
- package/out/_next/static/chunks/025rs.6-.kttm.js +177 -0
- package/out/_next/static/chunks/029met6o9c69_.js +132 -0
- package/out/_next/static/chunks/035ijcwfe128..js +13 -0
- package/out/_next/static/chunks/039.n12k.ourz.js +1 -0
- package/out/_next/static/chunks/039laq217w5af.js +1 -0
- package/out/_next/static/chunks/03awhk2amfyg9.js +13 -0
- package/out/_next/static/chunks/03b6o0yl3wq69.js +324 -0
- package/out/_next/static/chunks/03exf~-d8n0~p.js +12 -0
- package/out/_next/static/chunks/043qhigp~b~xd.js +288 -0
- package/out/_next/static/chunks/047b32b2zk0zr.js +50 -0
- package/out/_next/static/chunks/{0ltj_coftxt~y.js → 04ljxsi4h8opa.js} +2 -2
- package/out/_next/static/chunks/05-wy9wkovd44.js +66 -0
- package/out/_next/static/chunks/059j6ba8pjbxt.js +2 -0
- package/out/_next/static/chunks/05c669_6-rcl4.js +15 -0
- package/out/_next/static/chunks/05ebn-rbx77t1.js +1 -0
- package/out/_next/static/chunks/05ijoypg9erzj.js +15 -0
- package/out/_next/static/chunks/05mdbs7fsyl0j.js +15 -0
- package/out/_next/static/chunks/05xkbw-s9zm4v.js +1 -0
- package/out/_next/static/chunks/05y5i1xi9l7xo.js +46 -0
- package/out/_next/static/chunks/06jxo~w32bob0.js +14 -0
- package/out/_next/static/chunks/06l-x0hfnht~9.js +12 -0
- package/out/_next/static/chunks/06rpbu900ohev.js +807 -0
- package/out/_next/static/chunks/06wxd~64yev29.js +1 -0
- package/out/_next/static/chunks/074t2kkalxoor.js +54 -0
- package/out/_next/static/chunks/0757.exyqs35o.js +1 -0
- package/out/_next/static/chunks/07bj_95mgrfr7.js +81 -0
- package/out/_next/static/chunks/07gsr_4x3t83l.js +1 -0
- package/out/_next/static/chunks/07m0kcby2q9_3.js +119 -0
- package/out/_next/static/chunks/07rosayyue4dv.js +5 -0
- package/out/_next/static/chunks/07vc0lr9~n374.js +807 -0
- package/out/_next/static/chunks/07we~tcuuf587.js +1 -0
- package/out/_next/static/chunks/08-e12375gky7.js +1 -0
- package/out/_next/static/chunks/08g5cr0k-wewy.js +13 -0
- package/out/_next/static/chunks/08gnfg~ucaonj.js +31 -0
- package/out/_next/static/chunks/08l8.c5-zq8l_.js +13 -0
- package/out/_next/static/chunks/08s08655wboxs.js +224 -0
- package/out/_next/static/chunks/08ubwqxtv1pi8.js +471 -0
- package/out/_next/static/chunks/093du9_a7j~e9.js +22 -0
- package/out/_next/static/chunks/09ar00gwggnv2.js +92 -0
- package/out/_next/static/chunks/09ew07.pd~qmo.js +31 -0
- package/out/_next/static/chunks/09h16th.ukf49.js +9 -0
- package/out/_next/static/chunks/09i.iewg619r8.js +1 -0
- package/out/_next/static/chunks/09ird980jk5l4.js +1 -0
- package/out/_next/static/chunks/09ti6--w-81qk.js +12 -0
- package/out/_next/static/chunks/0_.rynghl8eid.js +16 -0
- package/out/_next/static/chunks/0_fjllta7r.pd.js +1 -0
- package/out/_next/static/chunks/0_hapi9~w_m74.js +807 -0
- package/out/_next/static/chunks/0_rymam7ts5h_.js +61 -0
- package/out/_next/static/chunks/0_tmrtwx_w001.js +1 -0
- package/out/_next/static/chunks/0_wmd30ovkohg.js +14 -0
- package/out/_next/static/chunks/0a1flay6uksa2.js +1 -0
- package/out/_next/static/chunks/0a4iuso54enw6.js +43 -0
- package/out/_next/static/chunks/0a9xn3eyi55p7.js +807 -0
- package/out/_next/static/chunks/0ab-_zb.d-ta~.js +13 -0
- package/out/_next/static/chunks/0agmcim_ow38h.js +41 -0
- package/out/_next/static/chunks/0ah_xk7gumihc.js +10 -0
- package/out/_next/static/chunks/0al9fetggpofs.js +101 -0
- package/out/_next/static/chunks/0apih1f_pg7x5.js +22 -0
- package/out/_next/static/chunks/0aqef_pw6d4-x.js +12 -0
- package/out/_next/static/chunks/0av.mpk52l~sj.js +78 -0
- package/out/_next/static/chunks/0b26w_2v.jnnp.js +23 -0
- package/out/_next/static/chunks/{0y153o27bxgcb.js → 0bgpq4k~.1ow~.js} +1 -1
- package/out/_next/static/chunks/0b~~k586vhgzn.js +22 -0
- package/out/_next/static/chunks/0c1ohyu0~45-6.js +16 -0
- package/out/_next/static/chunks/0c6zpdc5tnyit.js +14 -0
- package/out/_next/static/chunks/0cxr_f9owlixa.js +147 -0
- package/out/_next/static/chunks/0d4_~230qii9x.js +8 -0
- package/out/_next/static/chunks/0d7ng.3g0fqyq.js +14 -0
- package/out/_next/static/chunks/0dgzbrz_ks6y3.js +836 -0
- package/out/_next/static/chunks/0dmlsqy.34z7l.js +5 -0
- package/out/_next/static/chunks/0d~mpqdnsqc_3.js +217 -0
- package/out/_next/static/chunks/0e.ov59u.i2g..js +26 -0
- package/out/_next/static/chunks/0e7j7~xp-kfcl.js +1 -0
- package/out/_next/static/chunks/0eshxr9tyc-ob.js +1 -0
- package/out/_next/static/chunks/0eyuawigvkque.js +144 -0
- package/out/_next/static/chunks/0f0p~b_1z06f-.js +12 -0
- package/out/_next/static/chunks/0f1vh2kuipe~w.js +1 -0
- package/out/_next/static/chunks/0f2lcm2fvm0o4.js +15 -0
- package/out/_next/static/chunks/0f5-n-rcb1ksy.js +61 -0
- package/out/_next/static/chunks/0f7rfo-9v~6ta.js +16 -0
- package/out/_next/static/chunks/0fadm_h6dqral.js +1 -0
- package/out/_next/static/chunks/0fgje3pp6kr-..js +21 -0
- package/out/_next/static/chunks/0fixfg1.spty7.js +8 -0
- package/out/_next/static/chunks/0fo857sizpzb..js +14 -0
- package/out/_next/static/chunks/0fpmn5~h1l5fy.js +51 -0
- package/out/_next/static/chunks/0fzx56yu8w89-.js +1 -0
- package/out/_next/static/chunks/0g5.zeq8z86p8.js +22 -0
- package/out/_next/static/chunks/0gcrw01taxxl6.js +1 -0
- package/out/_next/static/chunks/0hprhos6ompyh.js +1 -0
- package/out/_next/static/chunks/0htfk2vj7m.9j.js +1 -0
- package/out/_next/static/chunks/0hv.16xst798a.js +807 -0
- package/out/_next/static/chunks/0i67~d9m79069.js +1 -0
- package/out/_next/static/chunks/0i9ujbll13rjg.js +7 -0
- package/out/_next/static/chunks/0ixp-hqnt2hdk.js +188 -0
- package/out/_next/static/chunks/0j3_ll.umtrlh.js +15 -0
- package/out/_next/static/chunks/0j8_vntnh3wh1.js +384 -0
- package/out/_next/static/chunks/0jcl.bguz9-il.js +173 -0
- package/out/_next/static/chunks/0jhfv_wn9s6x1.js +1 -0
- package/out/_next/static/chunks/0jthyhkkkajye.js +87 -0
- package/out/_next/static/chunks/0jyfzjlxmkv47.js +1 -0
- package/out/_next/static/chunks/0k33b3l3swmdp.js +14 -0
- package/out/_next/static/chunks/0k8cqr5rpupnp.js +12 -0
- package/out/_next/static/chunks/0kacoozv1plky.js +12 -0
- package/out/_next/static/chunks/{17l28vjc_z915.js → 0kb8vq-u9e5ie.js} +61 -61
- package/out/_next/static/chunks/0kpfj.1wbd8ym.js +200 -0
- package/out/_next/static/chunks/0kws6.oh9adj9.js +14 -0
- package/out/_next/static/chunks/0l6-vjb..0-s7.js +286 -0
- package/out/_next/static/chunks/0l8ujxmk7702g.js +1 -0
- package/out/_next/static/chunks/0lcd2so6jg-_l.js +44 -0
- package/out/_next/static/chunks/0lhvveiv7i555.js +13 -0
- package/out/_next/static/chunks/0lim3v66fnjbi.js +73 -0
- package/out/_next/static/chunks/0lj_~1h9s9o4p.js +15 -0
- package/out/_next/static/chunks/0m2jz56bm31rn.js +13 -0
- package/out/_next/static/chunks/0mw6751mia5o-.js +13 -0
- package/out/_next/static/chunks/0m~4npg.nbafl.js +807 -0
- package/out/_next/static/chunks/0nnrgfwlre~2w.js +12 -0
- package/out/_next/static/chunks/0nvdm-r7zmv-l.js +1 -0
- package/out/_next/static/chunks/0nyyy1v4911lw.js +59 -0
- package/out/_next/static/chunks/0o05daemjdhug.js +227 -0
- package/out/_next/static/chunks/0o6szwcbqvtk..js +1 -0
- package/out/_next/static/chunks/0oq1lazm-ypco.js +15 -0
- package/out/_next/static/chunks/0owfq70q4gv3g.js +11 -0
- package/out/_next/static/chunks/0o~ytet2snd7..js +18 -0
- package/out/_next/static/chunks/0pooq0ei74.fu.js +17 -0
- package/out/_next/static/chunks/0q92oiu-paus_.js +1 -0
- package/out/_next/static/chunks/{0wc49~p9kujfb.js → 0r.pkr~.dyugv.js} +30 -30
- package/out/_next/static/chunks/0r.xn-_woklgt.js +138 -0
- package/out/_next/static/chunks/0r2eg~z0yxhkm.js +384 -0
- package/out/_next/static/chunks/{02mkjzfq3ks0c.js → 0rf4yd5v399-n.js} +35 -35
- package/out/_next/static/chunks/0s9gw8v77opep.js +12 -0
- package/out/_next/static/chunks/0sq1ba8siz_al.js +46 -0
- package/out/_next/static/chunks/0tgyufn7ieyma.js +23 -0
- package/out/_next/static/chunks/0tq-lptj3-s~9.js +7 -0
- package/out/_next/static/chunks/0tur4u0bq8afu.js +1 -0
- package/out/_next/static/chunks/0u.p7-5euvw9g.js +101 -0
- package/out/_next/static/chunks/0u0zlnx_0uuo~.js +1 -0
- package/out/_next/static/chunks/0ud072y3rsxuo.js +26 -0
- package/out/_next/static/chunks/0ueboweabxsm_.js +12 -0
- package/out/_next/static/chunks/0ulpot4q9efmn.js +1 -0
- package/out/_next/static/chunks/0up4o93erzv5i.js +15 -0
- package/out/_next/static/chunks/0uppdoxx035f~.js +807 -0
- package/out/_next/static/chunks/0v01e3xk0z2zz.js +10 -0
- package/out/_next/static/chunks/0v7odmyxhwxk9.js +5 -0
- package/out/_next/static/chunks/0vaop4ncta92i.js +43 -0
- package/out/_next/static/chunks/0vef8~~ul~q~3.js +188 -0
- package/out/_next/static/chunks/0vjviijon1cf_.js +227 -0
- package/out/_next/static/chunks/0vo3lqvc1gnao.js +1 -0
- package/out/_next/static/chunks/0vqde~70jg4mp.js +13 -0
- package/out/_next/static/chunks/0w_lpiygl_gbj.js +51 -0
- package/out/_next/static/chunks/0wm9vrqp0f2-g.js +1 -0
- package/out/_next/static/chunks/0wt4fkc59wtk~.js +1 -0
- package/out/_next/static/chunks/0x0ro0p0oede-.js +1 -0
- package/out/_next/static/chunks/0x5~rk9ckvkzm.js +5 -0
- package/out/_next/static/chunks/0xa.gldl0ypuc.js +36 -0
- package/out/_next/static/chunks/0xyz4eb8oj14e.js +32 -0
- package/out/_next/static/chunks/0x~m529wi_q8r.js +807 -0
- package/out/_next/static/chunks/0ygzo.kyf038-.js +13 -0
- package/out/_next/static/chunks/0z5_-ukry36hl.js +905 -0
- package/out/_next/static/chunks/0z69nmy7s-zha.js +10 -0
- package/out/_next/static/chunks/0zcy4ll048jyy.js +13 -0
- package/out/_next/static/chunks/0zpa9vt2u_r06.js +14 -0
- package/out/_next/static/chunks/0zsl0gp2-m_8s.js +1 -0
- package/out/_next/static/chunks/0zw1-wa39f8lg.js +1 -0
- package/out/_next/static/chunks/0z~lvtnl1p.em.js +78 -0
- package/out/_next/static/chunks/0~4r9ol9.3i_l.js +46 -0
- package/out/_next/static/chunks/0~4s5vi61p7ev.js +291 -0
- package/out/_next/static/chunks/0~6ud_t-945ch.js +288 -0
- package/out/_next/static/chunks/0~mh5ybxo9nf2.js +19 -0
- package/out/_next/static/chunks/0~zg_~~subg_x.js +1 -0
- package/out/_next/static/chunks/10.uqlra33~68.js +13 -0
- package/out/_next/static/chunks/10g0ipk~-ofy6.js +20 -0
- package/out/_next/static/chunks/10h4imeqlg217.js +8 -0
- package/out/_next/static/chunks/10jiudk1sj2jm.js +14 -0
- package/out/_next/static/chunks/10kcfk2uu1e6x.js +73 -0
- package/out/_next/static/chunks/10pv9vc9myzuy.js +58 -0
- package/out/_next/static/chunks/11d00p~.l1k_u.js +8 -0
- package/out/_next/static/chunks/{0ei4k52e-lv4o.js → 11lx7_qu.04js.js} +61 -61
- package/out/_next/static/chunks/11svm4d1gbpg3.js +13 -0
- package/out/_next/static/chunks/11xvbwibrxg70.js +44 -0
- package/out/_next/static/chunks/12_-fnbe.fpy3.js +142 -0
- package/out/_next/static/chunks/12_5sds1suvhm.js +13 -0
- package/out/_next/static/chunks/12eo~x2_f0n1c.js +1 -0
- package/out/_next/static/chunks/131o1ib1p4q0~.js +807 -0
- package/out/_next/static/chunks/13azvhnsuoq~i.js +193 -0
- package/out/_next/static/chunks/13qkehmx~~nca.js +1 -0
- package/out/_next/static/chunks/13xo605mvuvr..js +137 -0
- package/out/_next/static/chunks/14-js791sn0n..js +90 -0
- package/out/_next/static/chunks/149uwpe4mqt~4.js +3 -0
- package/out/_next/static/chunks/152e33k3zn_7h.js +13 -0
- package/out/_next/static/chunks/{10m8c175impy1.js → 156o0mg9e~c1z.js} +4 -4
- package/out/_next/static/chunks/15946_7~ym9mj.js +1 -0
- package/out/_next/static/chunks/15im3g6.ezb86.js +16 -0
- package/out/_next/static/chunks/167enz~evud8u.js +1 -0
- package/out/_next/static/chunks/16dxg.m0iyhff.js +20 -0
- package/out/_next/static/chunks/16e76-izprx_3.js +60 -0
- package/out/_next/static/chunks/17556jivokcgt.js +13 -0
- package/out/_next/static/chunks/17831iuhggap-.js +5 -0
- package/out/_next/static/chunks/17lq99ack-rqn.js +7 -0
- package/out/_next/static/chunks/1801hoawv7tvj.js +209 -0
- package/out/_next/static/chunks/turbopack-0-f1h~_vf~hgt.js +1 -0
- package/out/_next/static/chunks/turbopack-00gp6932c5-pc.js +1 -0
- package/out/_next/static/chunks/turbopack-00tplfce3sqmv.js +1 -0
- package/out/_next/static/chunks/turbopack-02xfqg-e5e5bq.js +1 -0
- package/out/_next/static/chunks/turbopack-033ew5zdp4sni.js +1 -0
- package/out/_next/static/chunks/turbopack-04ryg.qj6ce.e.js +1 -0
- package/out/_next/static/chunks/turbopack-05pr_j8b3qpck.js +1 -0
- package/out/_next/static/chunks/turbopack-05t73_ssb6_h5.js +1 -0
- package/out/_next/static/chunks/turbopack-06k1fv3edi.oc.js +1 -0
- package/out/_next/static/chunks/turbopack-06s9wk6xrnhe..js +1 -0
- package/out/_next/static/chunks/turbopack-07pf350usbyrn.js +1 -0
- package/out/_next/static/chunks/turbopack-07qx6il~q8zvj.js +1 -0
- package/out/_next/static/chunks/turbopack-093c3g8x0fud~.js +1 -0
- package/out/_next/static/chunks/turbopack-09mkh-~o1m0t4.js +1 -0
- package/out/_next/static/chunks/turbopack-0_6hyjgtzvvlt.js +1 -0
- package/out/_next/static/chunks/turbopack-0_jrb8zv4u-h5.js +1 -0
- package/out/_next/static/chunks/turbopack-0_z4clx8_mihg.js +1 -0
- package/out/_next/static/chunks/turbopack-0_~3azjxcbh7b.js +1 -0
- package/out/_next/static/chunks/{turbopack-0uukmkfqyl0h8.js → turbopack-0acoq2sfyoi9y.js} +1 -1
- package/out/_next/static/chunks/turbopack-0ce310hugu4ud.js +1 -0
- package/out/_next/static/chunks/turbopack-0cq29kq0j_4v~.js +1 -0
- package/out/_next/static/chunks/turbopack-0e-cncqz58fjt.js +1 -0
- package/out/_next/static/chunks/turbopack-0e2su8irrrxe9.js +1 -0
- package/out/_next/static/chunks/turbopack-0e8f.eohopo8i.js +1 -0
- package/out/_next/static/chunks/turbopack-0ek~cn8gmycju.js +1 -0
- package/out/_next/static/chunks/turbopack-0eywiuu9zzv~v.js +1 -0
- package/out/_next/static/chunks/turbopack-0ft2eo1uoq84f.js +1 -0
- package/out/_next/static/chunks/turbopack-0h0v60mhtl8e5.js +1 -0
- package/out/_next/static/chunks/turbopack-0hd7gd_hw0ffd.js +1 -0
- package/out/_next/static/chunks/turbopack-0ho~reia368_n.js +1 -0
- package/out/_next/static/chunks/turbopack-0hs67a4-408yr.js +1 -0
- package/out/_next/static/chunks/turbopack-0hzo_yuvuoq4p.js +1 -0
- package/out/_next/static/chunks/turbopack-0iqen9zbwhwwt.js +1 -0
- package/out/_next/static/chunks/turbopack-0lse_458kpvoc.js +1 -0
- package/out/_next/static/chunks/turbopack-0m802fcmg9zeo.js +1 -0
- package/out/_next/static/chunks/turbopack-0mh8jqpakiu6t.js +1 -0
- package/out/_next/static/chunks/turbopack-0n7uk~in3~kz5.js +1 -0
- package/out/_next/static/chunks/turbopack-0oq4yqp_mwlp8.js +1 -0
- package/out/_next/static/chunks/turbopack-0p8.m9z07pk0d.js +1 -0
- package/out/_next/static/chunks/turbopack-0q35m3rl2~7_w.js +1 -0
- package/out/_next/static/chunks/turbopack-0qj_d90z9-.xb.js +1 -0
- package/out/_next/static/chunks/turbopack-0rw3antw3c5q1.js +1 -0
- package/out/_next/static/chunks/turbopack-0s1w5b4s~tq0a.js +1 -0
- package/out/_next/static/chunks/turbopack-0s3brlp4-qpvy.js +1 -0
- package/out/_next/static/chunks/turbopack-0ssu8b8ns4wgj.js +1 -0
- package/out/_next/static/chunks/turbopack-0txlw7w4nbwom.js +1 -0
- package/out/_next/static/chunks/turbopack-0umaqu4ffby0g.js +1 -0
- package/out/_next/static/chunks/turbopack-0upagoxw-k-s-.js +1 -0
- package/out/_next/static/chunks/turbopack-0v97f616jctw_.js +1 -0
- package/out/_next/static/chunks/turbopack-0vborwvkaogp3.js +1 -0
- package/out/_next/static/chunks/turbopack-0vii195vc_rhx.js +1 -0
- package/out/_next/static/chunks/turbopack-0vy4m9hkmjj~..js +1 -0
- package/out/_next/static/chunks/turbopack-0wkwlz_hsol74.js +1 -0
- package/out/_next/static/chunks/turbopack-0w~j_hagmzb-9.js +1 -0
- package/out/_next/static/chunks/turbopack-0xe-7k8uoudaf.js +1 -0
- package/out/_next/static/chunks/turbopack-107_r~te8y84z.js +1 -0
- package/out/_next/static/chunks/turbopack-10m1bv2pqkdnu.js +1 -0
- package/out/_next/static/chunks/turbopack-11b3cci1vf3sv.js +1 -0
- package/out/_next/static/chunks/turbopack-11bncwch._hz4.js +1 -0
- package/out/_next/static/chunks/turbopack-11f~mh1t1pbfv.js +1 -0
- package/out/_next/static/chunks/turbopack-14fqn-ie4g30t.js +1 -0
- package/out/_next/static/chunks/turbopack-151-hh8klk1hk.js +1 -0
- package/out/_next/static/chunks/turbopack-16yza259goc47.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 +9 -13
- package/out/_next/static/chunks/0-3aqi0z~0~kq.js +0 -1
- package/out/_next/static/chunks/0-_n2k06ojx7r.js +0 -5
- package/out/_next/static/chunks/0-b7z0cgkcxjg.js +0 -12
- package/out/_next/static/chunks/0-khetjtcca7j.js +0 -23
- package/out/_next/static/chunks/0-vzy055sp9wr.js +0 -1
- package/out/_next/static/chunks/0.7c6ora-keix.js +0 -291
- package/out/_next/static/chunks/0.9xrb29zv20w.js +0 -1
- package/out/_next/static/chunks/0.qq-wh2-26q3.js +0 -1
- package/out/_next/static/chunks/00.vtv-~sgyl1.js +0 -1
- package/out/_next/static/chunks/002w~0kz13czu.js +0 -2
- package/out/_next/static/chunks/00am.v9yslbhb.js +0 -227
- package/out/_next/static/chunks/00z-be-uhq5~b.js +0 -138
- package/out/_next/static/chunks/01.ky4xf9k36u.js +0 -1
- package/out/_next/static/chunks/01m_2h75jti7r.js +0 -173
- package/out/_next/static/chunks/01r~p51b_ree7.js +0 -12
- package/out/_next/static/chunks/01ua~kzkn_2re.js +0 -2
- package/out/_next/static/chunks/01~bicjgx9ycz.js +0 -13
- package/out/_next/static/chunks/02.h.hxc5z45l.js +0 -58
- package/out/_next/static/chunks/020ov1cd5ubsp.js +0 -1
- package/out/_next/static/chunks/022.6ji94gj66.js +0 -90
- package/out/_next/static/chunks/02ljwx.y7xl4e.js +0 -384
- package/out/_next/static/chunks/034ij~x6p.1xq.js +0 -7
- package/out/_next/static/chunks/0387wujkm6quw.js +0 -26
- package/out/_next/static/chunks/03j~743_iaz5a.js +0 -87
- package/out/_next/static/chunks/03zc-8olk-a4z.js +0 -11
- package/out/_next/static/chunks/042vny1lzms1d.js +0 -1
- package/out/_next/static/chunks/045b8oqunhkwz.js +0 -1
- package/out/_next/static/chunks/04d1nicvb1h43.js +0 -12
- package/out/_next/static/chunks/04hnzv8.xnhtq.js +0 -12
- package/out/_next/static/chunks/04j3vrvch7ujx.js +0 -1
- package/out/_next/static/chunks/04j47t-gfncz0.js +0 -17
- package/out/_next/static/chunks/04wxvqon75sl5.js +0 -15
- package/out/_next/static/chunks/0511iudhvmzyd.js +0 -14
- package/out/_next/static/chunks/054x6af~vznwl.js +0 -13
- package/out/_next/static/chunks/055l.ongzthsf.js +0 -2
- package/out/_next/static/chunks/05r6-kh0ahzac.js +0 -288
- package/out/_next/static/chunks/068vu6mcq90.a.js +0 -14
- package/out/_next/static/chunks/069qmjrpifff9.js +0 -10
- package/out/_next/static/chunks/06c.18b146dst.js +0 -43
- package/out/_next/static/chunks/06ciqx79i2-.y.js +0 -16
- package/out/_next/static/chunks/06em3notkoupj.js +0 -60
- package/out/_next/static/chunks/06fu~nzcm6-xx.js +0 -13
- package/out/_next/static/chunks/06ldt6o0kv861.js +0 -12
- package/out/_next/static/chunks/06nnfpkytc2xp.js +0 -101
- package/out/_next/static/chunks/071ms7.~t3bpc.js +0 -73
- package/out/_next/static/chunks/07absjbyi5efz.js +0 -200
- package/out/_next/static/chunks/07gn.w-1ng2vv.js +0 -13
- package/out/_next/static/chunks/07ok4zsn3fbvv.js +0 -8
- package/out/_next/static/chunks/07rzofd~n_8p3.js +0 -111
- package/out/_next/static/chunks/08mu1xcbu0z5i.js +0 -1
- package/out/_next/static/chunks/08np.usn69g26.js +0 -12
- package/out/_next/static/chunks/08oxo2i_s5k32.js +0 -22
- package/out/_next/static/chunks/09.xyqg-s5.hj.js +0 -1
- package/out/_next/static/chunks/09kdzdul.4ws~.js +0 -5
- package/out/_next/static/chunks/09u84u49rpg~q.js +0 -10
- package/out/_next/static/chunks/0_0s9kzhzuc0n.js +0 -51
- package/out/_next/static/chunks/0_34hlmm2xs02.js +0 -1
- package/out/_next/static/chunks/0__0blfuajz3u.js +0 -1
- package/out/_next/static/chunks/0_bohk37n03zc.js +0 -13
- package/out/_next/static/chunks/0_fs4fka5dmk4.js +0 -14
- package/out/_next/static/chunks/0_t._or66p529.js +0 -10
- package/out/_next/static/chunks/0a6n-.sxlxj9i.js +0 -44
- package/out/_next/static/chunks/0aewtng76o8~g.js +0 -1
- package/out/_next/static/chunks/0aokk5k383t_7.js +0 -1
- package/out/_next/static/chunks/0bb3o6y0psmp~.js +0 -137
- package/out/_next/static/chunks/0binkax94nk~0.js +0 -286
- package/out/_next/static/chunks/0b~s0.jgd-9e2.js +0 -1
- package/out/_next/static/chunks/0c6p-vlcfco03.js +0 -2
- package/out/_next/static/chunks/0cau~hqb0jkf..js +0 -1
- package/out/_next/static/chunks/0chk_j9c0w74~.js +0 -21
- package/out/_next/static/chunks/0cnjwc8yv_7du.js +0 -36
- package/out/_next/static/chunks/0d1xe7n4~ift~.js +0 -119
- package/out/_next/static/chunks/0d2egm4vz55tp.js +0 -16
- package/out/_next/static/chunks/0dcng-~m.1-6b.js +0 -31
- package/out/_next/static/chunks/0dwysww-f770p.js +0 -43
- package/out/_next/static/chunks/0d~ogeoavcw1p.js +0 -2
- package/out/_next/static/chunks/0eh08mw_ge-97.js +0 -20
- package/out/_next/static/chunks/0ehfzo.p_8b1p.js +0 -142
- package/out/_next/static/chunks/0eq_bq11j1d8h.js +0 -73
- package/out/_next/static/chunks/0exrsz6ax-mbc.js +0 -50
- package/out/_next/static/chunks/0f7dus4chk-b7.js +0 -1
- package/out/_next/static/chunks/0f_2kctvcf9fc.js +0 -132
- package/out/_next/static/chunks/0fiu9kb2mg_pe.js +0 -1
- package/out/_next/static/chunks/0fzcyuwh8xfnw.js +0 -2
- package/out/_next/static/chunks/0gepdh_x8l03e.js +0 -31
- package/out/_next/static/chunks/0h3apzm4sorb-.js +0 -144
- package/out/_next/static/chunks/0hf6k~k9i9dml.js +0 -101
- package/out/_next/static/chunks/0hggeos.n3ho1.js +0 -324
- package/out/_next/static/chunks/0hs_qs3vvqt40.js +0 -224
- package/out/_next/static/chunks/0i.xcdg6xys-l.js +0 -1
- package/out/_next/static/chunks/0i2a62pwzd90a.js +0 -1
- package/out/_next/static/chunks/0i6yv64iri6c7.js +0 -14
- package/out/_next/static/chunks/0id0hab4x07mp.js +0 -13
- package/out/_next/static/chunks/0itsov_woj_gc.js +0 -11
- package/out/_next/static/chunks/0j0vos96uuvzn.js +0 -19
- package/out/_next/static/chunks/0jl_db3hgihi8.js +0 -1
- package/out/_next/static/chunks/0jsod19bi_.b4.js +0 -1
- package/out/_next/static/chunks/0jt2g8-m-bu3h.js +0 -15
- package/out/_next/static/chunks/0jxpx..caiup3.js +0 -51
- package/out/_next/static/chunks/0k3anlop2ta22.js +0 -1
- package/out/_next/static/chunks/0kg9ib_s2gdgg.js +0 -13
- package/out/_next/static/chunks/0klqyqhl-cmiq.js +0 -46
- package/out/_next/static/chunks/0krimw~~gz366.js +0 -2
- package/out/_next/static/chunks/0kwn.hg1e.um~.js +0 -44
- package/out/_next/static/chunks/0kwrzdkwhn88r.js +0 -13
- package/out/_next/static/chunks/0lcrt1adr76yw.js +0 -8
- package/out/_next/static/chunks/0ljk.6lm3l484.js +0 -7
- package/out/_next/static/chunks/0lq8y5ij59ip~.js +0 -1
- package/out/_next/static/chunks/0lvph83c6z2a-.js +0 -1
- package/out/_next/static/chunks/0mehfyjroyd5m.js +0 -22
- package/out/_next/static/chunks/0n0rvtqgyilhu.js +0 -13
- package/out/_next/static/chunks/0n_8yfa~wwmvn.js +0 -16
- package/out/_next/static/chunks/0ncx_fjx5r3e9.js +0 -13
- package/out/_next/static/chunks/0njruqifmj7eb.js +0 -73
- package/out/_next/static/chunks/0nxa2d3rd~_hk.js +0 -20
- package/out/_next/static/chunks/0oavskn-j3nfr.js +0 -12
- package/out/_next/static/chunks/0oe9_~e6jba2c.js +0 -108
- package/out/_next/static/chunks/0on_9mgul7_i2.js +0 -188
- package/out/_next/static/chunks/0o~whquist5u6.js +0 -1
- package/out/_next/static/chunks/0p1dktj9e81.u.js +0 -209
- package/out/_next/static/chunks/0p2l~~8x6478b.js +0 -73
- package/out/_next/static/chunks/0p47r5clv~tji.js +0 -10
- package/out/_next/static/chunks/0pu7s41rb3je3.js +0 -1
- package/out/_next/static/chunks/0pvo5m24k8fer.js +0 -61
- package/out/_next/static/chunks/0q_s9ru.9iese.js +0 -193
- package/out/_next/static/chunks/0qoukboupb.ht.js +0 -14
- package/out/_next/static/chunks/0qsxmm8vi313~.js +0 -1
- package/out/_next/static/chunks/0qvf8s9fxj~ah.js +0 -41
- package/out/_next/static/chunks/0qy-relppwey0.js +0 -384
- package/out/_next/static/chunks/0r-a0zxkpzy.c.js +0 -14
- package/out/_next/static/chunks/0r017e-0mhnx2.js +0 -16
- package/out/_next/static/chunks/0r4jylm5inuxv.js +0 -13
- package/out/_next/static/chunks/0r6m.pwe-fw0s.js +0 -18
- package/out/_next/static/chunks/0rbjbp6y.a5ze.js +0 -8
- package/out/_next/static/chunks/0rds3div~3bsj.js +0 -15
- package/out/_next/static/chunks/0ridpuenplsy6.js +0 -46
- package/out/_next/static/chunks/0rwb5kn3yi~nn.js +0 -16
- package/out/_next/static/chunks/0s8kpaa2at0vl.js +0 -1
- package/out/_next/static/chunks/0sbwu9f3ons7y.js +0 -13
- package/out/_next/static/chunks/0sqtyywk.m-gb.js +0 -119
- package/out/_next/static/chunks/0suvx3w6t11x1.js +0 -14
- package/out/_next/static/chunks/0t.cqbkm36.29.js +0 -16
- package/out/_next/static/chunks/0ta5trm5g8qpx.js +0 -1
- package/out/_next/static/chunks/0u5rgvh_590-0.js +0 -15
- package/out/_next/static/chunks/0uzv9isqw0xwo.js +0 -12
- package/out/_next/static/chunks/0vu00vv4k8fm2.js +0 -5
- package/out/_next/static/chunks/0wbeo27c~tc9b.js +0 -13
- package/out/_next/static/chunks/0we-.8a4ky2dw.js +0 -2
- package/out/_next/static/chunks/0whq69wyy9mrh.js +0 -1
- package/out/_next/static/chunks/0wjcrj2l-j~_f.js +0 -188
- package/out/_next/static/chunks/0wo4urhtm22ug.js +0 -1
- package/out/_next/static/chunks/0wuu4uyer4mlk.js +0 -31
- package/out/_next/static/chunks/0x4-t7xmjlqx1.js +0 -12
- package/out/_next/static/chunks/0x6_x80dsgoq7.js +0 -2
- package/out/_next/static/chunks/0xczkhpv81j3p.js +0 -1
- package/out/_next/static/chunks/0xo2uquse155f.js +0 -26
- package/out/_next/static/chunks/0xve~a_ipc.21.js +0 -81
- package/out/_next/static/chunks/0y51ico3_h9g3.js +0 -346
- package/out/_next/static/chunks/0y5ttyo5uc5l-.js +0 -15
- package/out/_next/static/chunks/0ydxs-rl4u1j7.js +0 -8
- package/out/_next/static/chunks/0yrt60iy59wz5.js +0 -13
- package/out/_next/static/chunks/0z.rzro53h5n6.js +0 -15
- package/out/_next/static/chunks/0zhqlp5hndrqa.js +0 -1
- package/out/_next/static/chunks/0znn2bf~0xx64.js +0 -46
- package/out/_next/static/chunks/0zpe1nbzz~f8h.js +0 -5
- package/out/_next/static/chunks/0zr4c4gwoe48t.js +0 -15
- package/out/_next/static/chunks/0~gsuncyic_fy.js +0 -2
- package/out/_next/static/chunks/0~tk5o7vtfrjq.js +0 -66
- package/out/_next/static/chunks/103dw~jwhci8m.js +0 -61
- package/out/_next/static/chunks/1041bp0usprml.js +0 -217
- package/out/_next/static/chunks/10bhd86pfsoy5.js +0 -3
- package/out/_next/static/chunks/10jmwo0cv2790.js +0 -100
- package/out/_next/static/chunks/10y5-.kflf93t.js +0 -13
- package/out/_next/static/chunks/11_s223xijkg..js +0 -14
- package/out/_next/static/chunks/11fl4v~k-i6dd.js +0 -1
- package/out/_next/static/chunks/11rfgl5vsu7np.js +0 -147
- package/out/_next/static/chunks/11sml2nj796.7.js +0 -59
- package/out/_next/static/chunks/11smy7~k0731f.js +0 -12
- package/out/_next/static/chunks/12e_gn-hj1ad4.js +0 -5
- package/out/_next/static/chunks/12nnf6pgi3n_-.js +0 -16
- package/out/_next/static/chunks/12q9qfk5yyvku.js +0 -288
- package/out/_next/static/chunks/13h_3r03rklr2.js +0 -54
- package/out/_next/static/chunks/13tjz9q-ls~t3.js +0 -1
- package/out/_next/static/chunks/13ytbvm.zbpoc.js +0 -13
- package/out/_next/static/chunks/13ztct7h9n9ly.js +0 -1
- package/out/_next/static/chunks/14.go5qd.nd-p.js +0 -22
- package/out/_next/static/chunks/14e4xylnze3x2.js +0 -1
- package/out/_next/static/chunks/14kk7enrk.1zd.js +0 -14
- package/out/_next/static/chunks/14q69-rwokbvm.js +0 -13
- package/out/_next/static/chunks/14tbg01czewdy.js +0 -1
- package/out/_next/static/chunks/14vhb8kz5tl75.js +0 -471
- package/out/_next/static/chunks/15r--ckscx-95.js +0 -227
- package/out/_next/static/chunks/15wy-.8-w435h.js +0 -92
- package/out/_next/static/chunks/15z9m-o4tbe0n.js +0 -1
- package/out/_next/static/chunks/169ub5vhwew62.js +0 -1
- package/out/_next/static/chunks/16_-z_hnq-xk7.js +0 -12
- package/out/_next/static/chunks/16s_3ks~~cizu.js +0 -31
- package/out/_next/static/chunks/16wl81ja44b1o.js +0 -54
- package/out/_next/static/chunks/16yuttvlotzf1.js +0 -13
- package/out/_next/static/chunks/17iwj3.fr3dk8.js +0 -7
- package/out/_next/static/chunks/17v04.so.9g1..js +0 -1
- package/out/_next/static/chunks/181fxym9wgh_m.js +0 -1
- package/out/_next/static/chunks/188m.-obobpy_.js +0 -178
- package/out/_next/static/chunks/turbopack-0-c-m~y_.l8n2.js +0 -1
- package/out/_next/static/chunks/turbopack-0-ly3m1ffx4wa.js +0 -1
- package/out/_next/static/chunks/turbopack-0-w~ect25bcud.js +0 -1
- package/out/_next/static/chunks/turbopack-0.2nskz5ux6vf.js +0 -1
- package/out/_next/static/chunks/turbopack-00s1egv_1qxjy.js +0 -1
- package/out/_next/static/chunks/turbopack-00xxfsstzot2t.js +0 -1
- package/out/_next/static/chunks/turbopack-01cocbtxks9vh.js +0 -1
- package/out/_next/static/chunks/turbopack-032afnigdvseo.js +0 -1
- package/out/_next/static/chunks/turbopack-03hvtuilfwgpp.js +0 -1
- package/out/_next/static/chunks/turbopack-04r-j8f.wnbc8.js +0 -1
- package/out/_next/static/chunks/turbopack-06m0ig9acgabg.js +0 -1
- package/out/_next/static/chunks/turbopack-06rfum.y.5-0h.js +0 -1
- package/out/_next/static/chunks/turbopack-07kkmwgy.zqc4.js +0 -1
- package/out/_next/static/chunks/turbopack-07qbascdm6h.j.js +0 -1
- package/out/_next/static/chunks/turbopack-087jzd1gou_ln.js +0 -1
- package/out/_next/static/chunks/turbopack-08h61bgwzagra.js +0 -1
- package/out/_next/static/chunks/turbopack-09d04tqccs343.js +0 -1
- package/out/_next/static/chunks/turbopack-0a1fdpd8.q282.js +0 -1
- package/out/_next/static/chunks/turbopack-0azc8sns1skk7.js +0 -1
- package/out/_next/static/chunks/turbopack-0b6fo_~4ih.xu.js +0 -1
- package/out/_next/static/chunks/turbopack-0bv6z-ics5a1v.js +0 -1
- package/out/_next/static/chunks/turbopack-0c6v~i5zl-_gb.js +0 -1
- package/out/_next/static/chunks/turbopack-0cn_kcha7l~dv.js +0 -1
- package/out/_next/static/chunks/turbopack-0d6899l2l47lo.js +0 -1
- package/out/_next/static/chunks/turbopack-0f3a-2xdfi37o.js +0 -1
- package/out/_next/static/chunks/turbopack-0h1nt4kh7q.sg.js +0 -1
- package/out/_next/static/chunks/turbopack-0hh49n1y8gh-z.js +0 -1
- package/out/_next/static/chunks/turbopack-0ike2xsgynih8.js +0 -1
- package/out/_next/static/chunks/turbopack-0iyvc628rll34.js +0 -1
- package/out/_next/static/chunks/turbopack-0j-vlj505~ob9.js +0 -1
- package/out/_next/static/chunks/turbopack-0j4w2c8pgyzts.js +0 -1
- package/out/_next/static/chunks/turbopack-0kblf3k62bseb.js +0 -1
- package/out/_next/static/chunks/turbopack-0l-~7v3-4~9hg.js +0 -1
- package/out/_next/static/chunks/turbopack-0lb9brrvzbipj.js +0 -1
- package/out/_next/static/chunks/turbopack-0lxybl6vxlhqz.js +0 -1
- package/out/_next/static/chunks/turbopack-0mlri9n~ktoxa.js +0 -1
- package/out/_next/static/chunks/turbopack-0mrgw~e1q9n4l.js +0 -1
- package/out/_next/static/chunks/turbopack-0na33zduv8spb.js +0 -1
- package/out/_next/static/chunks/turbopack-0o_.gb8s5jo85.js +0 -1
- package/out/_next/static/chunks/turbopack-0ofwh3p918g-t.js +0 -1
- package/out/_next/static/chunks/turbopack-0o~anfgw~s_~q.js +0 -1
- package/out/_next/static/chunks/turbopack-0q3dp3wkxb9ro.js +0 -1
- package/out/_next/static/chunks/turbopack-0q5hq623ooh_q.js +0 -1
- package/out/_next/static/chunks/turbopack-0rd~zo~yh9.xl.js +0 -1
- package/out/_next/static/chunks/turbopack-0s3jauzip9.x..js +0 -1
- package/out/_next/static/chunks/turbopack-0w_qsium_grk3.js +0 -1
- package/out/_next/static/chunks/turbopack-0wbajkw2~1l3z.js +0 -1
- package/out/_next/static/chunks/turbopack-0wej6bu7ey9au.js +0 -1
- package/out/_next/static/chunks/turbopack-0wk424kj.kar2.js +0 -1
- package/out/_next/static/chunks/turbopack-0xew6rccsve8y.js +0 -1
- package/out/_next/static/chunks/turbopack-0y898tb-~kae~.js +0 -1
- package/out/_next/static/chunks/turbopack-0~lzxx1ip4b0u.js +0 -1
- package/out/_next/static/chunks/turbopack-11.ar48mv3rch.js +0 -1
- package/out/_next/static/chunks/turbopack-11eqwvrhzm6gb.js +0 -1
- package/out/_next/static/chunks/turbopack-12cd3.da_pv_e.js +0 -1
- package/out/_next/static/chunks/turbopack-12hcx9pi_e_wy.js +0 -1
- package/out/_next/static/chunks/turbopack-12pksi_8~z4-a.js +0 -1
- package/out/_next/static/chunks/turbopack-146i7rj93.pk3.js +0 -1
- package/out/_next/static/chunks/turbopack-15d8c1ob0a6m0.js +0 -1
- package/out/_next/static/chunks/turbopack-16-bzzuvc9d9..js +0 -1
- package/out/_next/static/chunks/turbopack-17sr.m9o6jhdb.js +0 -1
- package/out/_next/static/chunks/turbopack-1829xb~o3h36e.js +0 -1
- /package/out/_next/static/{_ZCNVAj2ptQ3WvyS9d8fH → NCD-SJ8yCV0Afw8rFopK9}/_clientMiddlewareManifest.js +0 -0
- /package/out/_next/static/{_ZCNVAj2ptQ3WvyS9d8fH → NCD-SJ8yCV0Afw8rFopK9}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,73298,2228,e=>{"use strict";var t=e.i(59080);let a=t.gql`
|
|
2
|
+
fragment MD5MetaDataFragment on WebAuthnMDSv3Metadata {
|
|
3
|
+
legalHeader
|
|
4
|
+
description
|
|
5
|
+
authenticatorVersion
|
|
6
|
+
protocolFamily
|
|
7
|
+
schema
|
|
8
|
+
authenticationAlgorithms
|
|
9
|
+
publicKeyAlgAndEncodings
|
|
10
|
+
attestationTypes
|
|
11
|
+
keyProtection
|
|
12
|
+
upv
|
|
13
|
+
tcDisplay
|
|
14
|
+
authenticationAlgorithms
|
|
15
|
+
publicKeyAlgAndEncodings
|
|
16
|
+
icon
|
|
17
|
+
authenticatorGetInfo
|
|
18
|
+
}
|
|
19
|
+
`;e.s(["default",0,a],2228);let s=t.gql`
|
|
20
|
+
fragment UserFragment on User {
|
|
21
|
+
_id
|
|
22
|
+
lastBillingAddress {
|
|
23
|
+
firstName
|
|
24
|
+
lastName
|
|
25
|
+
company
|
|
26
|
+
addressLine
|
|
27
|
+
addressLine2
|
|
28
|
+
postalCode
|
|
29
|
+
countryCode
|
|
30
|
+
regionCode
|
|
31
|
+
city
|
|
32
|
+
}
|
|
33
|
+
lastContact {
|
|
34
|
+
emailAddress
|
|
35
|
+
telNumber
|
|
36
|
+
}
|
|
37
|
+
lastLogin {
|
|
38
|
+
countryCode
|
|
39
|
+
locale
|
|
40
|
+
remoteAddress
|
|
41
|
+
remotePort
|
|
42
|
+
timestamp
|
|
43
|
+
userAgent
|
|
44
|
+
}
|
|
45
|
+
avatar {
|
|
46
|
+
_id
|
|
47
|
+
name
|
|
48
|
+
size
|
|
49
|
+
type
|
|
50
|
+
url
|
|
51
|
+
}
|
|
52
|
+
allowedActions
|
|
53
|
+
paymentCredentials {
|
|
54
|
+
_id
|
|
55
|
+
isValid
|
|
56
|
+
isPreferred
|
|
57
|
+
paymentProvider {
|
|
58
|
+
_id
|
|
59
|
+
type
|
|
60
|
+
interface {
|
|
61
|
+
_id
|
|
62
|
+
label
|
|
63
|
+
version
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
emails {
|
|
68
|
+
verified
|
|
69
|
+
address
|
|
70
|
+
}
|
|
71
|
+
web3Addresses {
|
|
72
|
+
address
|
|
73
|
+
nonce
|
|
74
|
+
verified
|
|
75
|
+
}
|
|
76
|
+
webAuthnCredentials {
|
|
77
|
+
_id
|
|
78
|
+
created
|
|
79
|
+
aaguid
|
|
80
|
+
counter
|
|
81
|
+
mdsMetadata {
|
|
82
|
+
...MD5MetaDataFragment
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
profile {
|
|
86
|
+
displayName
|
|
87
|
+
phoneMobile
|
|
88
|
+
gender
|
|
89
|
+
address {
|
|
90
|
+
firstName
|
|
91
|
+
lastName
|
|
92
|
+
company
|
|
93
|
+
addressLine
|
|
94
|
+
addressLine2
|
|
95
|
+
postalCode
|
|
96
|
+
countryCode
|
|
97
|
+
regionCode
|
|
98
|
+
city
|
|
99
|
+
}
|
|
100
|
+
birthday
|
|
101
|
+
}
|
|
102
|
+
username
|
|
103
|
+
primaryEmail {
|
|
104
|
+
verified
|
|
105
|
+
address
|
|
106
|
+
}
|
|
107
|
+
isGuest
|
|
108
|
+
isInitialPassword
|
|
109
|
+
name
|
|
110
|
+
roles
|
|
111
|
+
tags
|
|
112
|
+
deleted
|
|
113
|
+
cart {
|
|
114
|
+
_id
|
|
115
|
+
items {
|
|
116
|
+
_id
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
orders {
|
|
120
|
+
_id
|
|
121
|
+
items {
|
|
122
|
+
_id
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
${a}
|
|
127
|
+
`;e.s(["default",0,s],73298)},51870,e=>{"use strict";var t=e.i(59080),a=e.i(32171),s=e.i(70693),r=e.i(73298);e.s(["default",0,e=>{let{customProperties:l,hydrateFragment:d}=(0,s.default)(),{data:i,loading:o,error:n}=(0,a.useQuery)(((e="")=>t.gql`
|
|
128
|
+
query CurrentUser {
|
|
129
|
+
me {
|
|
130
|
+
...UserFragment
|
|
131
|
+
${e}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
${r.default}
|
|
135
|
+
`)(l?.User)),c=i?.me,u=d(l?.User,c||null);return{currentUser:c,loading:o,error:n,extendedData:u}}])},5505,e=>{"use strict";var t=e.i(91398),a=e.i(91788),s=e.i(72043);let r=(0,a.createContext)(!1);e.s(["FormWrapperContext",0,r,"default",0,({children:e,className:a=""})=>(0,t.jsx)(r.Provider,{value:!0,children:(0,t.jsx)("div",{className:"sm:max-w-full",children:(0,t.jsx)("div",{className:(0,s.default)("bg-white dark:bg-slate-800 rounded-md shadow-sm overflow-hidden",a),children:e})})})])},45229,e=>{"use strict";var t=e.i(91398),a=e.i(72043),s=e.i(82226),r=e.i(60741),l=e.i(29691);e.s(["default",0,({maxLength:e=0,validators:d=[],...i})=>{let o=(0,r.default)({validators:[...d,e&&(0,s.validateMaxLength)(e)],...i});return(0,t.jsx)(l.default,{...o,children:(0,t.jsx)("input",{className:(0,a.default)("relative mt-1 block w-full dark:focus:autofill dark:hover:autofill dark:autofill dark:placeholder:text-slate-600 dark:bg-slate-900 dark:text-slate-200 appearance-none rounded-md border-1 dark:border-slate-700 px-4 py-2.5 text-sm text-slate-900 focus:outline-hidden focus:ring-2 focus:ring-slate-800 shadow-xs",{"border-rose-700 placeholder:text-rose-500":!!o.error,"border-slate-300 placeholder-slate-400":!o.error}),disabled:o.disabled,id:o.name,name:o.name,onChange:o.onChange,onClick:e=>{e.stopPropagation()},onBlur:o.onBlur,placeholder:o.placeholder,autoComplete:o.autoComplete||"off",type:o.type||"text",value:o.value,autoFocus:o.autoFocus})})}])},64591,e=>{"use strict";var t=e.i(91398),a=e.i(72043),s=e.i(3828),r=e.i(83147);e.s(["default",0,({toggleText:e="",toggleKey:l=null,onToggle:d=null,active:i=!1,className:o="",disabled:n=!1,...c})=>{let u=(0,s.useRouter)(),m=u?.query?.[l]==="true"||i;return(0,t.jsxs)("div",{className:(0,a.default)("",o),children:[(0,t.jsxs)("button",{id:l,disabled:n,type:"button",className:(0,a.default)("relative inline-flex h-3.5 w-9 shrink-0 cursor-pointer rounded-full border-1 border-transparent transition-all duration-200 ease-in-out focus:outline-hidden focus:ring-2 focus:ring-slate-400 focus:ring-offset-2",{"bg-slate-200 dark:bg-slate-700":!m,"bg-emerald-500 dark:bg-emerald-600 shadow-sm":m}),role:"switch",onClick:d||(()=>{let{skip:e,...t}=u.query;u.push({query:(0,r.normalizeQuery)(t,!m,l)})}),"aria-checked":m?"true":"false",...c,children:[(0,t.jsx)("span",{className:"sr-only",children:e}),(0,t.jsxs)("span",{className:(0,a.default)("ml-0.5 pointer-events-none relative inline-block h-3 w-3 transform rounded-full bg-white shadow-sm ring-0 transition-all duration-200 ease-in-out",{"translate-x-5 shadow-md":m,"translate-x-0":!m}),children:[(0,t.jsx)("span",{className:(0,a.default)("absolute inset-0 flex h-full w-full items-center justify-center transition-opacity",{"opacity-0 duration-100 ease-out":m,"opacity-100 duration-200 ease-in":!m}),"aria-hidden":"true",children:(0,t.jsx)("svg",{className:"h-3 w-3 text-slate-400",fill:"none",viewBox:"0 0 12 12",children:(0,t.jsx)("path",{d:"M4 8l2-2m0 0l2-2M6 6L4 4m2 2l2 2",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,t.jsx)("span",{className:(0,a.default)("absolute inset-0 flex h-full w-full items-center justify-center transition-opacity",{"opacity-100 duration-200 ease-in":m,"opacity-0 duration-100 ease-out":!m}),"aria-hidden":"true",children:(0,t.jsx)("svg",{className:"h-3 w-3 text-emerald-500",fill:"currentColor",viewBox:"0 0 12 12",children:(0,t.jsx)("path",{d:"M3.707 5.293a1 1 0 00-1.414 1.414l1.414-1.414zM5 8l-.707.707a1 1 0 001.414 0L5 8zm4.707-3.293a1 1 0 00-1.414-1.414l1.414 1.414zm-7.414 2l2 2 1.414-1.414-2-2-1.414 1.414zm3.414 2l4-4-1.414-1.414-4 4 1.414 1.414z"})})})]})]}),(0,t.jsx)("span",{className:"ml-3",id:"annual-billing-label",children:(0,t.jsx)("span",{className:"text-sm font-medium text-slate-900 dark:text-slate-200",children:e})})]})}])},41523,e=>{"use strict";var t=e.i(91398),a=e.i(72043),s=e.i(3828),r=e.i(91788),l=e.i(69322);e.s(["default",0,({children:e,tabItems:d,defaultTab:i,updateRoute:o=!0})=>{let n=(0,s.useRouter)(),{tab:c=i}=n?.query||{},u=Array.isArray(c)?c[0]:c,{formatMessage:m}=(0,l.useIntl)(),f=e=>{if(o){let{sort:t,...a}=n?.query||{};n.push({query:{...a,tab:e}},void 0,{shallow:!0})}};return(0,t.jsxs)("div",{className:"mt-10",children:[(0,t.jsxs)("div",{className:"lg:hidden",children:[(0,t.jsx)("label",{htmlFor:"selected-tab",className:"sr-only",children:m({id:"select_tab",defaultMessage:"Select a tab"})}),(0,t.jsx)("select",{onChange:e=>f(e.target.value),id:"selected-tab",name:"selected-tab",className:"mt-1 block dark:bg-slate-800 dark:text-white w-full rounded-md border-slate-300 dark:border-slate-600 py-2 pl-3 pr-10 text-base capitalize focus:outline-none focus:ring-2 focus:ring-slate-800 dark:focus:ring-slate-400 focus:border-slate-800 dark:focus:border-slate-400 sm:text-sm",value:u,children:d.filter(Boolean).map(e=>(0,t.jsx)("option",{value:e.id,className:"dark:text-white",children:e?.title||e?.id},e.id))})]}),(0,t.jsx)("div",{className:"mt-5 hidden lg:block",children:(0,t.jsx)("div",{className:"",children:(0,t.jsx)("nav",{className:"flex flex-wrap gap-3",children:d.filter(Boolean).map(e=>(0,t.jsx)("a",{id:e.id,tabIndex:0,onClick:()=>f(e.id),onKeyDown:t=>{("Enter"===t.key||" "===t.key)&&(t.preventDefault(),f(e.id))},className:(0,a.default)({"cursor-pointer rounded-lg border border-slate-300 dark:border-slate-600 bg-white text-slate-900 dark:text-slate-100 dark:bg-slate-900 shadow-sm dark:hover:border-slate-500 hover:border-slate-400 focus:outline-none focus:ring-2 focus:ring-slate-800 dark:focus:ring-slate-400 focus:ring-offset-2 dark:focus:ring-offset-slate-900":u===e.id},"cursor-pointer relative whitespace-nowrap border border-slate-200 dark:border-slate-800 py-2 px-1 pr-3 pl-2 text-sm dark:text-slate-400 font-medium hover:bg-white dark:hover:bg-slate-800 hover:border-slate-300 dark:hover:border-slate-500 rounded-lg focus:outline-none focus:ring-2 focus:ring-slate-800 dark:focus:ring-slate-400 focus:ring-offset-2 dark:focus:ring-offset-slate-900"),children:(0,t.jsxs)("div",{className:"flex items-center space-x-1",children:[(0,t.jsx)("div",{children:e.Icon}),(0,t.jsx)("div",{className:"capitalize",children:e?.title||e?.id}),e?.length?(0,t.jsx)("span",{className:"absolute top-0 right-0 inline-flex translate-x-1/2 -translate-y-1/2 transform items-center justify-center rounded-full bg-slate-400 px-1 py-0.5 text-sm leading-none text-slate-900",children:e?.length}):null]})},e.id))})})}),(0,t.jsx)("div",{className:"mt-5",children:r.default.cloneElement(e,{selectedView:u})})]})}])},76929,e=>{"use strict";var t=e.i(91788);let a=t.forwardRef(function({title:e,titleId:a,...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":a},s),e?t.createElement("title",{id:a},e):null,t.createElement("path",{d:"M12 4.467c0-.405.262-.75.559-1.027.276-.257.441-.584.441-.94 0-.828-.895-1.5-2-1.5s-2 .672-2 1.5c0 .362.171.694.456.953.29.265.544.6.544.994a.968.968 0 0 1-1.024.974 39.655 39.655 0 0 1-3.014-.306.75.75 0 0 0-.847.847c.14.993.242 1.999.306 3.014A.968.968 0 0 1 4.447 10c-.393 0-.729-.253-.994-.544C3.194 9.17 2.862 9 2.5 9 1.672 9 1 9.895 1 11s.672 2 1.5 2c.356 0 .683-.165.94-.441.276-.297.622-.559 1.027-.559a.997.997 0 0 1 1.004 1.03 39.747 39.747 0 0 1-.319 3.734.75.75 0 0 0 .64.842c1.05.146 2.111.252 3.184.318A.97.97 0 0 0 10 16.948c0-.394-.254-.73-.545-.995C9.171 15.693 9 15.362 9 15c0-.828.895-1.5 2-1.5s2 .672 2 1.5c0 .356-.165.683-.441.94-.297.276-.559.622-.559 1.027a.998.998 0 0 0 1.03 1.005c1.337-.05 2.659-.162 3.961-.337a.75.75 0 0 0 .644-.644c.175-1.302.288-2.624.337-3.961A.998.998 0 0 0 16.967 12c-.405 0-.75.262-1.027.559-.257.276-.584.441-.94.441-.828 0-1.5-.895-1.5-2s.672-2 1.5-2c.362 0 .694.17.953.455.265.291.601.545.995.545a.97.97 0 0 0 .976-1.024 41.159 41.159 0 0 0-.318-3.184.75.75 0 0 0-.842-.64c-1.228.164-2.473.271-3.734.319A.997.997 0 0 1 12 4.467Z"}))});e.s(["PuzzlePieceIcon",0,a],76929)},60195,e=>{"use strict";var t=e.i(91398),a=e.i(72043);e.s(["default",0,({documentationLabel:e,documentation:s=null,mainContent:r=null,sideComponents:l=null,className:d=null,children:i})=>(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:(0,a.default)("mt-5 lg:grid lg:grid-cols-3 lg:gap-6",d),children:[(0,t.jsx)("div",{className:"lg:col-span-1 mt-10 lg:mt-1",children:(0,t.jsxs)("div",{className:"px-4 sm:px-0",children:[(0,t.jsx)("h3",{className:"text-lg text-slate-900 dark:text-slate-200",children:e}),(0,t.jsx)("div",{className:"mt-1 text-sm text-slate-600 dark:text-slate-500",children:s}),l]})}),(0,t.jsx)("div",{className:"lg:col-span-2 lg:mt-0",children:i||r})]})})])},31494,e=>{"use strict";var t=e.i(91398),a=e.i(69322),s=e.i(84818),r=e.i(35065),l=e.i(64591);let d=({value:e})=>{let{formatDateTime:d}=(0,s.default)(),{formatMessage:i}=(0,a.useIntl)();return(e=>{try{return new URL(e)}catch{return!1}})(e)?(e=>{try{let{pathname:t}=new URL(e),a=t?.split("."),s=`.${a[a.length-1]}`;return[".jpg",".jpeg",".png",".gif",".bmp"].includes(s)}catch{return!1}})(e)?(0,t.jsx)("div",{className:"ring-2 ring-offset-2 ring-slate-900 group block w-full aspect-w-10 aspect-h-7 rounded-lg bg-slate-50 overflow-hidden",children:(0,t.jsx)(r.default,{src:e,className:"relative h-10 w-10 rounded-full",width:100,height:100,alt:i({id:"image_not_available",defaultMessage:"Image not available"})})}):(0,t.jsx)("div",{className:"ml-4 shrink-0",children:(0,t.jsxs)("a",{href:e,className:"font-medium text-slate-900 hover:text-slate-800",target:"_blank",rel:"noreferrer",children:[new URL(e).host,"...",new URL(e).pathname]})}):(e=>{try{return"boolean"==typeof JSON.parse(e)}catch{return!1}})(e)?(0,t.jsx)(l.default,{disabled:!0,active:JSON.parse(e)}):!Number.isNaN(Date.parse(e))&&Number.isNaN(Number(e))?d(e,{dateStyle:"long",timeStyle:"short"}):(!Number.isNaN(e),e)},i=({value:e})=>(0,t.jsx)("h3",{className:"text-base font-medium",children:(0,t.jsx)("span",{className:"text-slate-900",children:e})}),o=e=>{let{data:a,parentKey:s}=e;if(!a)return null;let r=Object.keys(a),l=[];return void 0!==s&&l.push((0,t.jsx)(i,{value:s},s)),r.forEach(e=>{let r=a[e];if(Array.isArray(r))if(l.push((0,t.jsx)(i,{value:e},e)),r.every(e=>"string"==typeof e||"number"==typeof e))l.push((0,t.jsx)("div",{className:" p-2",children:r?.map(e=>(0,t.jsx)("span",{className:"inline-flex items-center rounded-md bg-slate-50 px-2.5 py-0.5 text-sm font-medium text-slate-800 ml-2",children:(0,t.jsx)(d,{value:e})},e))},e));else{let a=[];r.forEach((e,s)=>{a.push((0,t.jsx)("li",{className:"flex items-center text-slate-600 justify-between py-3 pl-3 pr-4 text-sm",children:o({data:e,parentKey:s})},s))}),l.push((0,t.jsx)("ul",{className:"divide-y divide-slate-200 rounded-md ",children:a},e))}else"object"==typeof r?l.push(o({data:r,parentKey:e})):void 0===s?l.push((0,t.jsxs)("div",{className:"py-4 sm:grid sm:grid-cols-3 sm:gap-4 sm:py-5",children:[(0,t.jsx)("dt",{className:"text-sm font-medium text-slate-700",children:(0,t.jsx)(i,{value:e},e)}),(0,t.jsx)("dd",{className:"mt-1 text-sm text-slate-900 sm:col-span-2 sm:mt-0",children:(0,t.jsx)(d,{value:r})})]},e)):l.push((0,t.jsxs)("div",{className:"py-4 sm:grid sm:grid-cols-3 sm:gap-4 sm:py-5 sm:px-6",children:[(0,t.jsx)("dt",{className:"text-sm font-medium text-slate-700",children:(0,t.jsx)(i,{value:e},e)}),(0,t.jsx)("dd",{className:"mt-1 text-sm text-slate-900 sm:col-span-2 sm:mt-0",children:(0,t.jsx)(d,{value:r})})]},e))}),(0,t.jsx)("div",{className:" bg-white px-4 py-5 ",children:(0,t.jsx)("dl",{children:l})})};e.s(["default",0,o])},72094,e=>{"use strict";var t=e.i(91398),a=e.i(91788),s=e.i(61898);let r=(e,t="")=>Object.fromEntries(Object.entries(e).reduce((e=[],[s,l])=>"string"==typeof l||a.default.isValidElement(l)?[...e,[`${t}${s}`,l]]:[...Object.entries(r(Object.assign({},...l),`${t}${s}.`)),...e],[])),l=({submitError:e="",fieldErrors:s=[]})=>(0,t.jsx)("div",{className:"my-2 mb-5 text-rose-700",children:(0,t.jsxs)("ul",{className:"space-y-1",children:[e&&(0,t.jsx)("li",{className:"disabled",children:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:e}})},"submitError"),Object.entries(r(s)).map(([e,s])=>(0,t.jsx)("li",{className:"disabled",children:(0,t.jsx)("button",{type:"button",className:"no-button text-rose-600 dark:text-rose-400","aria-label":"Error button",onClick:()=>{let t=document.getElementById(e);t&&t.focus()},children:a.default.isValidElement(s)?s:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:s}})})},e))]})});e.s(["default",0,({displayFieldErrors:e=!1})=>{let{submitError:a,formik:r}=(0,s.default)(),d=r?.errors;return(a||e)&&(0,t.jsx)(l,{submitError:a,fieldErrors:e&&d})}])},62100,e=>{"use strict";var t=e.i(91398),a=e.i(24557),s=e.i(72043),r=e.i(69322);e.s(["default",0,({onClick:e,className:l="",icon:d=null,textRight:i="",textLeft:o="",ariaLabel:n=""})=>{let{formatMessage:c}=(0,r.useIntl)();return(0,t.jsxs)("button",{"aria-label":n||c({id:"delete",defaultMessage:"Delete"}),id:"delete_button",type:"button",onClick:e,className:(0,s.default)("flex justify-center items-center rounded-full dark:bg-slate-800 p-2 w-8 h-8 text-sm text-rose-500 dark:text-rose-400 hover:bg-rose-50 dark:hover:bg-rose-900/20 focus:outline-hidden focus:ring-2 focus:ring-rose-500 focus:ring-offset-2",l),children:[o||"",d||(0,t.jsx)(a.TrashIcon,{className:"h-5 w-5"}),i||""]})}])},54529,e=>{"use strict";var t=e.i(59080);let a=t.gql`
|
|
136
|
+
fragment ProductBriefFragment on Product {
|
|
137
|
+
texts(forceLocale: $forceLocale) {
|
|
138
|
+
_id
|
|
139
|
+
slug
|
|
140
|
+
title
|
|
141
|
+
subtitle
|
|
142
|
+
description
|
|
143
|
+
vendor
|
|
144
|
+
brand
|
|
145
|
+
labels
|
|
146
|
+
locale
|
|
147
|
+
}
|
|
148
|
+
_id
|
|
149
|
+
sequence
|
|
150
|
+
status
|
|
151
|
+
tags
|
|
152
|
+
sequence
|
|
153
|
+
updated
|
|
154
|
+
published
|
|
155
|
+
media {
|
|
156
|
+
_id
|
|
157
|
+
tags
|
|
158
|
+
file {
|
|
159
|
+
_id
|
|
160
|
+
url
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
... on BundleProduct {
|
|
164
|
+
proxies {
|
|
165
|
+
__typename
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
... on SimpleProduct {
|
|
169
|
+
catalogPrice {
|
|
170
|
+
amount
|
|
171
|
+
currencyCode
|
|
172
|
+
}
|
|
173
|
+
proxies {
|
|
174
|
+
__typename
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
... on PlanProduct {
|
|
178
|
+
catalogPrice {
|
|
179
|
+
amount
|
|
180
|
+
currencyCode
|
|
181
|
+
}
|
|
182
|
+
proxies {
|
|
183
|
+
__typename
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
`;e.s(["default",0,a])},57468,e=>{"use strict";var t=e.i(91398),a=e.i(72043),s=e.i(69322),r=e.i(99160);e.s(["default",0,({cancelText:e=null,showCancel:l=!0,submitText:d=null,showSubmit:i=!0,onCancel:o,className:n=""})=>{let{formatMessage:c}=(0,s.useIntl)();return(0,t.jsxs)("span",{className:(0,a.default)("flex shrink-0 items-center space-x-4 py-5 pl-1",n),children:[l?(0,t.jsx)("button",{onClick:o,"data-id":"cancel_update",type:"button",className:(0,a.default)("focus:ring-slate-800","inline-flex items-center rounded-md border border-slate-300 dark:border-slate-700 bg-white dark:bg-slate-800 px-4 py-2 text-sm font-medium text-slate-700 dark:text-slate-300 shadow-xs hover:bg-slate-50 dark:hover:bg-slate-700 focus:outline-hidden focus:ring-2 focus:ring-slate-800 focus:ring-offset-2"),children:e||c({id:"cancel",defaultMessage:"Cancel"})}):null,i?(0,t.jsx)(r.default,{label:d||c({id:"save",defaultMessage:"Save"})}):null]})}])},96015,e=>{"use strict";var t=e.i(91398),a=e.i(72043),s=e.i(68835),r=e.i(60741),l=e.i(82226),d=e.i(29691);e.s(["default",0,({buttonText:e="",validators:i=[],selectOptions:o=[],...n})=>{let c=(0,r.default)({validators:[...i,(0,l.validateRequiredTag)(n?.required)],label:"Tags",...n});return(0,t.jsx)(d.default,{...c,children:(0,t.jsx)(s.default,{disabled:c.disabled,id:c.id,name:c.name,className:(0,a.default)({"border-rose-300":!!c.error}),onChange:e=>c.setValue(e),placeholder:c.placeholder,tagList:c.value,buttonText:e,selectOptions:o})})}])},91412,e=>{"use strict";var t=e.i(91788);let a=t.forwardRef(function({title:e,titleId:a,...s},r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":a},s),e?t.createElement("title",{id:a},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"}),t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))});e.s(["EyeIcon",0,a],91412)},37932,e=>{"use strict";var t=e.i(91398),a=e.i(69322),s=e.i(6607),r=e.i(65153),l=e.i(69211),d=e.i(96015),i=e.i(98949),o=e.i(57468);let n=({tags:e,onSubmit:s,onCancel:r,selectOptions:n=[]})=>{let{formatMessage:c}=(0,a.useIntl)(),u=c({id:"tags_updated",defaultMessage:"Tags updated successfully"}),m=(0,i.default)({submit:s,successMessage:u,onSubmitSuccess:r,initialValues:{tags:e}});return(0,t.jsxs)(l.default,{form:m,id:"add_tag_form",children:[(0,t.jsx)("div",{children:(0,t.jsx)(d.default,{name:"tags",id:"tags",label:c({id:"tags",defaultMessage:"Tags"}),tagList:e,selectOptions:n})}),(0,t.jsx)("div",{className:"border border-t-slate-100 bg-slate-50 mt-6 -mx-6 -mb-6 px-6 dark:bg-slate-900 dark:border-0",children:(0,t.jsx)(o.default,{onCancel:r,className:"justify-end "})})]})};e.s(["default",0,({defaultValue:e,onSubmit:l,enableEdit:d,availableTagOptions:i=[]})=>{let{formatMessage:o}=(0,a.useIntl)(),{setModal:c}=(0,s.default)();return(0,t.jsxs)("div",{className:"flex items-center mr-auto gap-2",children:[(0,t.jsx)("div",{className:"flex flex-wrap items-center gap-2",children:e?.length?e.map((e,a)=>(0,t.jsx)("span",{children:(0,t.jsx)(r.default,{text:e,color:"sky"})},`${e}${a+1}`)):(0,t.jsx)("span",{children:(0,t.jsx)(r.default,{text:o({id:"no_tag",defaultMessage:"No Tag"}),color:"slate"})})}),d&&(0,t.jsx)("button",{id:"add_tag",type:"button",className:"rounded-sm hover:shadow-sm px-3 py-2 text-xs inline-flex items-center justify-center text-slate-800 hover:text-slate-900 hover:bg-slate-50 hover:border border-transparent border-1 hover:border-slate-300 dark:text-slate-400 dark:hover:text-slate-200 dark:hover:bg-slate-800 transition-colors focus:outline-hidden focus:ring-2 focus:ring-slate-800",onClick:()=>c((0,t.jsx)(n,{tags:e||[],onCancel:()=>c(""),onSubmit:l,selectOptions:i})),children:o({id:"edit_tags",defaultMessage:"Edit tags"})})]})}],37932)},73483,e=>{"use strict";var t=e.i(91398),a=e.i(72043),s=e.i(69322),r=e.i(91412),l=e.i(91788);let d=l.forwardRef(function({title:e,titleId:t,...a},s){return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":t},a),e?l.createElement("title",{id:t},e):null,l.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L6.832 19.82a4.5 4.5 0 0 1-1.897 1.13l-2.685.8.8-2.685a4.5 4.5 0 0 1 1.13-1.897L16.863 4.487Zm0 0L19.5 7.125"}))});var i=e.i(7654),o=e.i(31858),n=e.i(3812),c=e.i(98634),u=e.i(82226),m=e.i(60741),f=e.i(29691),h=e.i(41523);let x=({selectedView:e="edit",...s})=>"preview"===e?(0,t.jsx)("div",{className:"prose dark:prose-invert",children:(0,t.jsx)(i.default,{rehypePlugins:[o.default,n.default,c.default],children:s.value})}):(0,t.jsx)("textarea",{className:(0,a.default)("relative mt-1 block w-full dark:focus:autofill dark:hover:autofill dark:autofill dark:placeholder:text-slate-400 dark:bg-slate-900 dark:text-slate-200 appearance-none rounded-md border-1 border-slate-300 dark:border-slate-700 px-4 py-2.5 text-sm text-slate-900 placeholder-slate-400 shadow-xs placeholder:text-slate-400 focus:outline-hidden focus:ring-2 focus:ring-slate-800",s.className,{"border-rose-700 placeholder:text-rose-300 placeholder-rose-300":!!s.error}),disabled:s.disabled,id:s.name,name:s.name,rows:s.rows||10,onChange:s.onChange,onBlur:s.onBlur,placeholder:s.placeholder,autoComplete:s.autoComplete||"off",value:s.value});e.s(["default",0,({maxLength:e,validators:a=[],...l})=>{let{formatMessage:i}=(0,s.useIntl)(),o=(0,m.default)({validators:[...a,e&&(0,u.validateMaxLength)(e)],...l}),n=[{id:"editor",title:i({id:"editor",defaultMessage:"Editor"}),Icon:(0,t.jsx)(d,{className:"h-4 w-5"})},{id:"preview",title:i({id:"preview",defaultMessage:"preview"}),Icon:(0,t.jsx)(r.EyeIcon,{className:"h-4 w-5"})}];return(0,t.jsx)(f.default,{...o,children:(0,t.jsx)("div",{className:"-mt-8",children:(0,t.jsx)(h.default,{tabItems:n,defaultTab:"editor",children:(0,t.jsx)(x,{...o})})})})}],73483)},93994,e=>{"use strict";let t=async(e,t)=>{let a=await fetch(t,{method:"PUT",body:e});return a.ok?Promise.resolve({}):Promise.reject(Error(a.statusText))};e.s(["default",0,t])},64479,e=>{"use strict";var t=e.i(59080),a=e.i(76204);let s=t.gql`
|
|
188
|
+
mutation ConfirmMediaUpload(
|
|
189
|
+
$mediaUploadTicketId: ID!
|
|
190
|
+
$size: Int!
|
|
191
|
+
$type: String!
|
|
192
|
+
) {
|
|
193
|
+
confirmMediaUpload(
|
|
194
|
+
mediaUploadTicketId: $mediaUploadTicketId
|
|
195
|
+
size: $size
|
|
196
|
+
type: $type
|
|
197
|
+
) {
|
|
198
|
+
_id
|
|
199
|
+
name
|
|
200
|
+
type
|
|
201
|
+
size
|
|
202
|
+
url
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
`;e.s(["default",0,(e={})=>{let[t]=(0,a.useMutation)(s,e);return{confirmMediaUpload:async({mediaUploadTicketId:e,size:a,type:s})=>t({variables:{mediaUploadTicketId:e,size:a,type:s}})}}])},41215,e=>{"use strict";class t extends Error{constructor(e){super(e),this.name="CustomError"}}e.s(["default",()=>t])},61113,87593,39833,84339,19471,66859,e=>{"use strict";var t,a=e.i(91788);let s=a.forwardRef(function({title:e,titleId:t,...s},r){return a.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?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M10.868 2.884c-.321-.772-1.415-.772-1.736 0l-1.83 4.401-4.753.381c-.833.067-1.171 1.107-.536 1.651l3.62 3.102-1.106 4.637c-.194.813.691 1.456 1.405 1.02L10 15.591l4.069 2.485c.713.436 1.598-.207 1.404-1.02l-1.106-4.637 3.62-3.102c.635-.544.297-1.584-.536-1.65l-4.752-.382-1.831-4.401Z",clipRule:"evenodd"}))});e.s(["StarIcon",0,s],61113);var r=e.i(59080);let l=r.gql`
|
|
206
|
+
fragment ProductReviewDetailFragment on ProductReview {
|
|
207
|
+
_id
|
|
208
|
+
created
|
|
209
|
+
updated
|
|
210
|
+
deleted
|
|
211
|
+
author {
|
|
212
|
+
_id
|
|
213
|
+
username
|
|
214
|
+
name
|
|
215
|
+
profile {
|
|
216
|
+
displayName
|
|
217
|
+
address {
|
|
218
|
+
firstName
|
|
219
|
+
lastName
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
isGuest
|
|
223
|
+
avatar {
|
|
224
|
+
_id
|
|
225
|
+
|
|
226
|
+
url
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
product {
|
|
230
|
+
_id
|
|
231
|
+
texts(forceLocale: $forceLocale) {
|
|
232
|
+
_id
|
|
233
|
+
title
|
|
234
|
+
subtitle
|
|
235
|
+
}
|
|
236
|
+
media {
|
|
237
|
+
_id
|
|
238
|
+
file {
|
|
239
|
+
_id
|
|
240
|
+
url
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
rating
|
|
245
|
+
title
|
|
246
|
+
review
|
|
247
|
+
upVote: voteCount(type: UPVOTE)
|
|
248
|
+
downVote: voteCount(type: DOWNVOTE)
|
|
249
|
+
voteReport: voteCount(type: REPORT)
|
|
250
|
+
ownVotes {
|
|
251
|
+
timestamp
|
|
252
|
+
type
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
`;e.s(["default",0,l],87593);var d=e.i(91398);let i=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:"M3 3v1.5M3 21v-6m0 0 2.77-.693a9 9 0 0 1 6.208.682l.108.054a9 9 0 0 0 6.086.71l3.114-.732a48.524 48.524 0 0 1-.005-10.499l-3.11.732a9 9 0 0 1-6.085-.711l-.108-.054a9 9 0 0 0-6.208-.682L3 4.5M3 15V4.5"}))}),o=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:"M7.498 15.25H4.372c-1.026 0-1.945-.694-2.054-1.715a12.137 12.137 0 0 1-.068-1.285c0-2.848.992-5.464 2.649-7.521C5.287 4.247 5.886 4 6.504 4h4.016a4.5 4.5 0 0 1 1.423.23l3.114 1.04a4.5 4.5 0 0 0 1.423.23h1.294M7.498 15.25c.618 0 .991.724.725 1.282A7.471 7.471 0 0 0 7.5 19.75 2.25 2.25 0 0 0 9.75 22a.75.75 0 0 0 .75-.75v-.633c0-.573.11-1.14.322-1.672.304-.76.93-1.33 1.653-1.715a9.04 9.04 0 0 0 2.86-2.4c.498-.634 1.226-1.08 2.032-1.08h.384m-10.253 1.5H9.7m8.075-9.75c.01.05.027.1.05.148.593 1.2.925 2.55.925 3.977 0 1.487-.36 2.89-.999 4.125m.023-8.25c-.076-.365.183-.75.575-.75h.908c.889 0 1.713.518 1.972 1.368.339 1.11.521 2.287.521 3.507 0 1.553-.295 3.036-.831 4.398-.306.774-1.086 1.227-1.918 1.227h-1.053c-.472 0-.745-.556-.5-.96a8.95 8.95 0 0 0 .303-.54"}))});e.s(["HandThumbDownIcon",0,o],39833);let n=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:"M6.633 10.25c.806 0 1.533-.446 2.031-1.08a9.041 9.041 0 0 1 2.861-2.4c.723-.384 1.35-.956 1.653-1.715a4.498 4.498 0 0 0 .322-1.672V2.75a.75.75 0 0 1 .75-.75 2.25 2.25 0 0 1 2.25 2.25c0 1.152-.26 2.243-.723 3.218-.266.558.107 1.282.725 1.282m0 0h3.126c1.026 0 1.945.694 2.054 1.715.045.422.068.85.068 1.285a11.95 11.95 0 0 1-2.649 7.521c-.388.482-.987.729-1.605.729H13.48c-.483 0-.964-.078-1.423-.23l-3.114-1.04a4.501 4.501 0 0 0-1.423-.23H5.904m10.598-9.75H14.25M5.904 18.5c.083.205.173.405.27.602.197.4-.078.898-.523.898h-.908c-.889 0-1.713-.518-1.972-1.368a12 12 0 0 1-.521-3.507c0-1.553.295-3.036.831-4.398C3.387 9.953 4.167 9.5 5 9.5h1.053c.472 0 .745.556.5.96a8.958 8.958 0 0 0-1.302 4.665c0 1.194.232 2.333.654 3.375Z"}))});e.s(["HandThumbUpIcon",0,n],84339);var c=e.i(69322),u=e.i(66773),m=e.i(28401),f=e.i(72043),h=e.i(62100),x=e.i(84818),p=e.i(15971),g=e.i(6607),v=e.i(76204);let b=r.gql`
|
|
256
|
+
mutation RemoveProductReview($productReviewId: ID!) {
|
|
257
|
+
removeProductReview(productReviewId: $productReviewId) {
|
|
258
|
+
_id
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
`;var w=e.i(65153),y=e.i(35065),j=e.i(93380);(t={}).UPVOTE="UPVOTE",t.DOWNVOTE="DOWNVOTE",t.REPORT="REPORT";let k=r.gql`
|
|
262
|
+
mutation AddProductReviewVote(
|
|
263
|
+
$productReviewId: ID!
|
|
264
|
+
$type: ProductReviewVoteType!
|
|
265
|
+
$meta: JSON
|
|
266
|
+
$forceLocale: Locale
|
|
267
|
+
) {
|
|
268
|
+
addProductReviewVote(
|
|
269
|
+
productReviewId: $productReviewId
|
|
270
|
+
type: $type
|
|
271
|
+
meta: $meta
|
|
272
|
+
) {
|
|
273
|
+
_id
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
`,N=r.gql`
|
|
277
|
+
mutation RemoveProductReviewVote(
|
|
278
|
+
$productReviewId: ID!
|
|
279
|
+
$type: ProductReviewVoteType!
|
|
280
|
+
$forceLocale: Locale
|
|
281
|
+
) {
|
|
282
|
+
removeProductReviewVote(productReviewId: $productReviewId, type: $type) {
|
|
283
|
+
_id
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
`;var R=e.i(58971),C=e.i(51870),_=e.i(69211),E=e.i(99160),P=e.i(82226),M=e.i(60741),I=e.i(29691);let L=({maxLength:e,validators:t=[],...a})=>{let s=(0,M.default)({validators:[...t,e&&(0,P.validateMaxLength)(e)],...a});return(0,d.jsx)(I.default,{...s,children:(0,d.jsx)("textarea",{className:(0,f.default)("relative mt-1 block w-full dark:focus:autofill dark:hover:autofill dark:autofill dark:placeholder:text-slate-400 dark:bg-slate-900 dark:text-slate-200 appearance-none rounded-md border-1 border-slate-300 dark:border-slate-700 px-4 py-2.5 text-sm text-slate-900 placeholder-slate-400 shadow-xs placeholder:text-slate-400 focus:outline-hidden focus:ring-2 focus:ring-slate-800",s.className,{"border-rose-700 placeholder:text-rose-300 placeholder-rose-300":!!s.error}),disabled:s.disabled,id:s.name,name:s.name,rows:s.rows||10,onChange:s.onChange,onBlur:s.onBlur,placeholder:s.placeholder,autoComplete:s.autoComplete||"off",value:s.value})})};e.s(["default",0,L],19471);var T=e.i(98949);let $=({onSubmit:e,onSubmitSuccess:t=async()=>!0})=>{let{formatMessage:a}=(0,c.useIntl)(),s=a({id:"product_review_added",defaultMessage:"Review added successfully!"}),r=(0,T.default)({submit:e,successMessage:s,onSubmitSuccess:t,initialValues:{message:""}});return(0,d.jsxs)(_.default,{form:r,children:[(0,d.jsx)(L,{rows:3,required:!0,name:"message",id:"message",label:a({id:"message",defaultMessage:"Message"})}),(0,d.jsx)("div",{className:"-mx-6 -mb-6 mt-6 border-t-slate-100 border-t dark:border-t-slate-700 space-y-6 rounded-b-md bg-slate-50 dark:bg-slate-900 p-5 text-right",children:(0,d.jsx)(E.default,{label:a({id:"report-submit",defaultMessage:"Submit"})})})]})};var O=e.i(41215);let V="UPVOTE",A="DOWNVOTE",B="REPORT";e.s(["default",0,({review:e,enableDelete:t=!0,showProduct:a=!1})=>{let{formatMessage:s}=(0,c.useIntl)(),{currentUser:r}=(0,C.default)(),{formatDateTime:l}=(0,x.default)(),{setModal:_}=(0,g.default)(),{addProductReviewVote:E}=(()=>{let[e]=(0,v.useMutation)(k);return{addProductReviewVote:async({productReviewId:t,type:a,meta:s})=>e({variables:{productReviewId:t,type:a,meta:s},refetchQueries:["ProductReviewByProduct","ProductReviewByUser"]})}})(),{removeProductReviewVote:P}=(()=>{let[e]=(0,v.useMutation)(N);return{removeProductReviewVote:async({productReviewId:t,type:a})=>e({variables:{productReviewId:t,type:a},refetchQueries:["ProductReviewByProduct","ProductReviewByUser"]})}})(),{hasRole:M,isAdmin:I}=(0,R.default)(),L=t=>!!e.ownVotes.find(e=>e.type===t),T=async t=>{let a=async({message:a})=>{try{return await E({productReviewId:e._id,type:t,meta:{message:a}}),{success:!0}}catch(e){if(e instanceof O.default)return{success:!1,error:e?.message};return{success:!1,error:e}}};L(t)?await P({productReviewId:e._id,type:t}):t===B?await _((0,d.jsx)($,{onSubmit:a,onSubmitSuccess:async()=>_(null)})):await E({productReviewId:e._id,type:t})},{removeProductReview:U}=(()=>{let[e]=(0,v.useMutation)(b);return{removeProductReview:async({productReviewId:t})=>e({variables:{productReviewId:t},refetchQueries:["ProductReviewByProduct","ProductReviewByUser"]})}})(),q=!e.deleted&&M(u.IRoleAction.VoteProductReview)&&t&&e?.author?._id===r?._id||I()&&!e.deleted,S=!e.deleted&&M(u.IRoleAction.VoteProductReview),D=e?.product,z=async e=>{await _((0,d.jsx)(p.default,{onCancelClick:async()=>_(""),message:s({id:"delete_review_confirmation",defaultMessage:"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this review? "}),onOkClick:async()=>{_(""),await U({productReviewId:e}),m.toast.success(s({id:"review_deleted",defaultMessage:"Review deleted successfully"}))},okText:s({id:"delete_review",defaultMessage:"Delete review"})}))};return(0,d.jsxs)("div",{className:(0,f.default)("mb-4 rounded-lg shadow-sm bg-white dark:bg-slate-800 p-4",{"border-rose-200 bg-rose-50 dark:bg-rose-950":e.deleted},{"border-slate-200 dark:border-slate-700":!e.deleted}),children:[(0,d.jsxs)("div",{className:"flex items-center",children:[a?(0,d.jsx)(y.default,{src:D?.media[0]?.file?.url,alt:e?.author?.username,width:48,height:48,className:"h-12 w-12 rounded-full aspect-square object-cover object-center"}):(0,d.jsx)(y.default,{src:e?.author?.avatar?.url,alt:e?.author?.username,width:48,height:48,className:"h-12 w-12 rounded-full aspect-square object-cover object-center"}),(0,d.jsxs)("div",{className:"ml-4 flex-1",children:[(0,d.jsx)("h4",{className:"text-sm font-semibold text-slate-900 dark:text-slate-100",children:a?D?.texts?.title||(0,d.jsxs)(d.Fragment,{children:[D._id," ",(0,d.jsx)(w.default,{color:"yellow",text:s({id:"title_not_found",defaultMessage:"Title not found"})})]}):(0,j.default)(e?.author)}),(0,d.jsx)("p",{className:"text-xs text-slate-500 dark:text-slate-400",children:(0,d.jsx)("time",{dateTime:e.updated||e.created,children:l(e.updated||e.created,{dateStyle:"short",timeStyle:"short"})})})]}),(0,d.jsxs)("div",{className:"flex items-center gap-3",children:[(0,d.jsxs)("button",{type:"button",disabled:!S,onClick:async()=>T(V),className:`flex items-center gap-1 px-2 py-1 rounded-md transition-colors disabled:opacity-50 ${L(V)?"bg-emerald-100 dark:bg-emerald-900 hover:bg-emerald-200 dark:hover:bg-emerald-800":"hover:bg-slate-100 dark:hover:bg-slate-700"}`,children:[(0,d.jsx)(n,{className:`h-5 w-5 ${L(V)?"text-emerald-600 dark:text-emerald-400":"text-slate-400 dark:text-slate-500"}`}),(0,d.jsx)("span",{className:`text-sm font-medium ${L(V)?"text-emerald-700 dark:text-emerald-300":"text-slate-700 dark:text-slate-300"}`,children:e.upVote})]}),(0,d.jsxs)("button",{type:"button",disabled:!S,onClick:async()=>T(A),className:`flex items-center gap-1 px-2 py-1 rounded-md transition-colors disabled:opacity-50 ${L(A)?"bg-rose-100 dark:bg-rose-900 hover:bg-rose-200 dark:hover:bg-rose-800":"hover:bg-slate-100 dark:hover:bg-slate-700"}`,children:[(0,d.jsx)(o,{className:`h-5 w-5 ${L(A)?"text-rose-600 dark:text-rose-400":"text-slate-400 dark:text-slate-500"}`}),(0,d.jsx)("span",{className:`text-sm font-medium ${L(A)?"text-rose-700 dark:text-rose-300":"text-slate-700 dark:text-slate-300"}`,children:e.downVote})]})]}),(0,d.jsxs)("div",{className:"flex items-center gap-2 ml-4",children:[M(u.IRoleAction.VoteProductReview)&&(0,d.jsx)("button",{type:"button",disabled:!S,onClick:async()=>T(B),className:`p-2 rounded-md transition-colors disabled:opacity-50 ${L(B)?"bg-orange-100 dark:bg-orange-900 hover:bg-orange-200 dark:hover:bg-orange-800":"hover:bg-slate-100 dark:hover:bg-slate-700"}`,title:"Report review",children:(0,d.jsx)(i,{className:(0,f.default)("h-4 w-4",{"text-orange-600 dark:text-orange-400":L(B),"text-slate-400 dark:text-slate-500":!L(B)})})}),q&&(0,d.jsx)(h.default,{onClick:()=>z(e._id),className:""}),e.deleted&&(0,d.jsx)(w.default,{text:s({id:"deleted_text",defaultMessage:"Deleted"}),color:"red",className:"ml-2"})]})]}),(0,d.jsxs)("div",{className:"mt-4 space-y-3",children:[(0,d.jsx)("h3",{className:"text-base font-semibold text-slate-900 dark:text-slate-100",children:e.title}),(0,d.jsx)("p",{className:"text-sm text-slate-700 dark:text-slate-300 leading-relaxed",children:e.review})]})]},e._id)}],66859)}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,49363,e=>{"use strict";e.s(["isFunction",0,function(e){return"function"==typeof e}])},61340,57070,72572,e=>{"use strict";var r=e.i(89280),t=e.i(49363);function i(e){var r=e(function(e){Error.call(e),e.stack=Error().stack});return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}e.s(["createErrorClass",0,i],57070);var n=i(function(e){return function(r){e(this),this.message=r?r.length+" errors occurred during unsubscription:\n"+r.map(function(e,r){return r+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=r}});function o(e,r){if(e){var t=e.indexOf(r);0<=t&&e.splice(t,1)}}e.s(["arrRemove",0,o],72572);var s=function(){var e;function i(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return i.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e,i,o,s,a,l=this._parentage;if(l)if(this._parentage=null,Array.isArray(l))try{for(var c=(0,r.__values)(l),d=c.next();!d.done;d=c.next())d.value.remove(this)}catch(r){e={error:r}}finally{try{d&&!d.done&&(i=c.return)&&i.call(c)}finally{if(e)throw e.error}}else l.remove(this);var h=this.initialTeardown;if((0,t.isFunction)(h))try{h()}catch(e){a=e instanceof n?e.errors:[e]}var p=this._finalizers;if(p){this._finalizers=null;try{for(var v=(0,r.__values)(p),f=v.next();!f.done;f=v.next()){var y=f.value;try{u(y)}catch(e){a=null!=a?a:[],e instanceof n?a=(0,r.__spreadArray)((0,r.__spreadArray)([],(0,r.__read)(a)),(0,r.__read)(e.errors)):a.push(e)}}}catch(e){o={error:e}}finally{try{f&&!f.done&&(s=v.return)&&s.call(v)}finally{if(o)throw o.error}}}if(a)throw new n(a)}},i.prototype.add=function(e){var r;if(e&&e!==this)if(this.closed)u(e);else{if(e instanceof i){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(r=this._finalizers)?r:[]).push(e)}},i.prototype._hasParent=function(e){var r=this._parentage;return r===e||Array.isArray(r)&&r.includes(e)},i.prototype._addParent=function(e){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(e),r):r?[r,e]:e},i.prototype._removeParent=function(e){var r=this._parentage;r===e?this._parentage=null:Array.isArray(r)&&o(r,e)},i.prototype.remove=function(e){var r=this._finalizers;r&&o(r,e),e instanceof i&&e._removeParent(this)},(e=new i).closed=!0,i.EMPTY=e,i}(),a=s.EMPTY;function u(e){(0,t.isFunction)(e)?e():e.unsubscribe()}e.s(["EMPTY_SUBSCRIPTION",0,a,"Subscription",0,s,"isSubscription",0,function(e){return e instanceof s||e&&"closed"in e&&(0,t.isFunction)(e.remove)&&(0,t.isFunction)(e.add)&&(0,t.isFunction)(e.unsubscribe)}],61340)},87268,e=>{"use strict";var r=e.i(89280),t=function(e){function t(r,t){return e.call(this)||this}return(0,r.__extends)(t,e),t.prototype.schedule=function(e,r){return void 0===r&&(r=0),this},t}(e.i(61340).Subscription),i={setInterval:function(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];var s=i.delegate;return(null==s?void 0:s.setInterval)?s.setInterval.apply(s,(0,r.__spreadArray)([e,t],(0,r.__read)(n))):setInterval.apply(void 0,(0,r.__spreadArray)([e,t],(0,r.__read)(n)))},clearInterval:function(e){var r=i.delegate;return((null==r?void 0:r.clearInterval)||clearInterval)(e)},delegate:void 0},n=e.i(72572),o=function(e){function t(r,t){var i=e.call(this,r,t)||this;return i.scheduler=r,i.work=t,i.pending=!1,i}return(0,r.__extends)(t,e),t.prototype.schedule=function(e,r){if(void 0===r&&(r=0),this.closed)return this;this.state=e;var t,i=this.id,n=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(n,i,r)),this.pending=!0,this.delay=r,this.id=null!=(t=this.id)?t:this.requestAsyncId(n,this.id,r),this},t.prototype.requestAsyncId=function(e,r,t){return void 0===t&&(t=0),i.setInterval(e.flush.bind(e,this),t)},t.prototype.recycleAsyncId=function(e,r,t){if(void 0===t&&(t=0),null!=t&&this.delay===t&&!1===this.pending)return r;null!=r&&i.clearInterval(r)},t.prototype.execute=function(e,r){if(this.closed)return Error("executing a cancelled action");this.pending=!1;var t=this._execute(e,r);if(t)return t;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,r){var t,i=!1;try{this.work(e)}catch(e){i=!0,t=e||Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),t},t.prototype.unsubscribe=function(){if(!this.closed){var r=this.id,t=this.scheduler,i=t.actions;this.work=this.state=this.scheduler=null,this.pending=!1,(0,n.arrRemove)(i,this),null!=r&&(this.id=this.recycleAsyncId(t,r,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(t);e.s(["AsyncAction",0,o],87268)},42410,e=>{"use strict";var r,t=e.i(89280),i=e.i(87268),n=1,o={};function s(e){return e in o&&(delete o[e],!0)}var a=function(e){var t=n++;return o[t]=!0,r||(r=Promise.resolve()),r.then(function(){return s(t)&&e()}),t},u=function(e){s(e)},l={setImmediate:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=l.delegate;return((null==i?void 0:i.setImmediate)||a).apply(void 0,(0,t.__spreadArray)([],(0,t.__read)(e)))},clearImmediate:function(e){var r=l.delegate;return((null==r?void 0:r.clearImmediate)||u)(e)},delegate:void 0},c=function(e){function r(r,t){var i=e.call(this,r,t)||this;return i.scheduler=r,i.work=t,i}return(0,t.__extends)(r,e),r.prototype.requestAsyncId=function(r,t,i){return(void 0===i&&(i=0),null!==i&&i>0)?e.prototype.requestAsyncId.call(this,r,t,i):(r.actions.push(this),r._scheduled||(r._scheduled=l.setImmediate(r.flush.bind(r,void 0))))},r.prototype.recycleAsyncId=function(r,t,i){if(void 0===i&&(i=0),null!=i?i>0:this.delay>0)return e.prototype.recycleAsyncId.call(this,r,t,i);var n,o=r.actions;null!=t&&(null==(n=o[o.length-1])?void 0:n.id)!==t&&(l.clearImmediate(t),r._scheduled===t&&(r._scheduled=void 0))},r}(i.AsyncAction);e.s(["AsapAction",0,c],42410)},68827,e=>{"use strict";var r={now:function(){return(r.delegate||Date).now()},delegate:void 0};e.s(["dateTimestampProvider",0,r])},12884,e=>{"use strict";var r=e.i(89280),t=e.i(68827),i=function(){function e(r,t){void 0===t&&(t=e.now),this.schedulerActionCtor=r,this.now=t}return e.prototype.schedule=function(e,r,t){return void 0===r&&(r=0),new this.schedulerActionCtor(this,e).schedule(t,r)},e.now=t.dateTimestampProvider.now,e}(),n=function(e){function t(r,t){void 0===t&&(t=i.now);var n=e.call(this,r,t)||this;return n.actions=[],n._active=!1,n}return(0,r.__extends)(t,e),t.prototype.flush=function(e){var r,t=this.actions;if(this._active)return void t.push(e);this._active=!0;do if(r=e.execute(e.state,e.delay))break;while(e=t.shift())if(this._active=!1,r){for(;e=t.shift();)e.unsubscribe();throw r}},t}(i);e.s(["AsyncScheduler",0,n],12884)},18018,e=>{"use strict";var r=e.i(42410),t=e.i(89280),i=new(function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return(0,t.__extends)(r,e),r.prototype.flush=function(e){this._active=!0;var r,t=this._scheduled;this._scheduled=void 0;var i=this.actions;e=e||i.shift();do if(r=e.execute(e.state,e.delay))break;while((e=i[0])&&e.id===t&&i.shift())if(this._active=!1,r){for(;(e=i[0])&&e.id===t&&i.shift();)e.unsubscribe();throw r}},r}(e.i(12884).AsyncScheduler))(r.AsapAction);e.s(["asapScheduler",0,i],18018)},95065,e=>{"use strict";e.s(["executeSchedule",0,function(e,r,t,i,n){void 0===i&&(i=0),void 0===n&&(n=!1);var o=r.schedule(function(){t(),n?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(o),!n)return o}])},81288,e=>{"use strict";var r=e.i(49363);e.s(["operate",0,function(e){return function(t){if((0,r.isFunction)(null==t?void 0:t.lift))return t.lift(function(r){try{return e(r,this)}catch(e){this.error(e)}});throw TypeError("Unable to lift unknown Observable type")}}])},99657,80406,33229,58365,13616,e=>{"use strict";var r=e.i(89280),t=e.i(49363),i=e.i(61340),n={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};e.s(["config",0,n],80406);var o={setTimeout:function(e,t){for(var i=[],n=2;n<arguments.length;n++)i[n-2]=arguments[n];var s=o.delegate;return(null==s?void 0:s.setTimeout)?s.setTimeout.apply(s,(0,r.__spreadArray)([e,t],(0,r.__read)(i))):setTimeout.apply(void 0,(0,r.__spreadArray)([e,t],(0,r.__read)(i)))},clearTimeout:function(e){var r=o.delegate;return((null==r?void 0:r.clearTimeout)||clearTimeout)(e)},delegate:void 0};function s(e){o.setTimeout(function(){var r=n.onUnhandledError;if(r)r(e);else throw e})}function a(){}e.s(["reportUnhandledError",0,s],33229);var u=l("C",void 0,void 0);function l(e,r,t){return{kind:e,value:r,error:t}}var c=null;function d(e){n.useDeprecatedSynchronousErrorHandling&&c&&(c.errorThrown=!0,c.error=e)}e.s(["captureError",0,d,"errorContext",0,function(e){if(n.useDeprecatedSynchronousErrorHandling){var r=!c;if(r&&(c={errorThrown:!1,error:null}),e(),r){var t=c,i=t.errorThrown,o=t.error;if(c=null,i)throw o}}else e()}],58365);var h=function(e){function t(r){var t=e.call(this)||this;return t.isStopped=!1,r?(t.destination=r,(0,i.isSubscription)(r)&&r.add(t)):t.destination=b,t}return(0,r.__extends)(t,e),t.create=function(e,r,t){return new y(e,r,t)},t.prototype.next=function(e){this.isStopped?m(l("N",e,void 0),this):this._next(e)},t.prototype.error=function(e){this.isStopped?m(l("E",void 0,e),this):(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped?m(u,this):(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(i.Subscription),p=Function.prototype.bind;function v(e,r){return p.call(e,r)}var f=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var r=this.partialObserver;if(r.next)try{r.next(e)}catch(e){w(e)}},e.prototype.error=function(e){var r=this.partialObserver;if(r.error)try{r.error(e)}catch(e){w(e)}else w(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){w(e)}},e}(),y=function(e){function i(r,i,o){var s,a,u=e.call(this)||this;return(0,t.isFunction)(r)||!r?s={next:null!=r?r:void 0,error:null!=i?i:void 0,complete:null!=o?o:void 0}:u&&n.useDeprecatedNextContext?((a=Object.create(r)).unsubscribe=function(){return u.unsubscribe()},s={next:r.next&&v(r.next,a),error:r.error&&v(r.error,a),complete:r.complete&&v(r.complete,a)}):s=r,u.destination=new f(s),u}return(0,r.__extends)(i,e),i}(h);function w(e){n.useDeprecatedSynchronousErrorHandling?d(e):s(e)}function m(e,r){var t=n.onStoppedNotification;t&&o.setTimeout(function(){return t(e,r)})}var b={closed:!0,next:a,error:function(e){throw e},complete:a};e.s(["SafeSubscriber",0,y,"Subscriber",0,h],13616);var g=function(e){function t(r,t,i,n,o,s){var a=e.call(this,r)||this;return a.onFinalize=o,a.shouldUnsubscribe=s,a._next=t?function(e){try{t(e)}catch(e){r.error(e)}}:e.prototype._next,a._error=n?function(e){try{n(e)}catch(e){r.error(e)}finally{this.unsubscribe()}}:e.prototype._error,a._complete=i?function(){try{i()}catch(e){r.error(e)}finally{this.unsubscribe()}}:e.prototype._complete,a}return(0,r.__extends)(t,e),t.prototype.unsubscribe=function(){var r;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var t=this.closed;e.prototype.unsubscribe.call(this),t||null==(r=this.onFinalize)||r.call(this)}},t}(h);e.s(["createOperatorSubscriber",0,function(e,r,t,i,n){return new g(e,r,t,i,n)}],99657)},32106,e=>{"use strict";var r=e.i(95065),t=e.i(81288),i=e.i(99657);e.s(["observeOn",0,function(e,n){return void 0===n&&(n=0),(0,t.operate)(function(t,o){t.subscribe((0,i.createOperatorSubscriber)(o,function(t){return(0,r.executeSchedule)(o,e,function(){return o.next(t)},n)},function(){return(0,r.executeSchedule)(o,e,function(){return o.complete()},n)},function(t){return(0,r.executeSchedule)(o,e,function(){return o.error(t)},n)}))})}])},76810,e=>{"use strict";var r,t;(t=r||(r={}))[t.loading=1]="loading",t[t.setVariables=2]="setVariables",t[t.fetchMore=3]="fetchMore",t[t.refetch=4]="refetch",t[t.poll=6]="poll",t[t.ready=7]="ready",t[t.error=8]="error",t[t.streaming=9]="streaming",e.s(["NetworkStatus",0,r])},91584,66930,15953,e=>{"use strict";var r=e.i(29520);function t(e){return null!==e&&"object"==typeof e}e.s(["isNonNullObject",0,t],66930),e.s(["maybeDeepFreeze",0,function(e){let i;return r.__DEV__&&(i=new Set([e])).forEach(e=>{t(e)&&function(e){if(r.__DEV__&&!Object.isFrozen(e))try{Object.freeze(e)}catch(e){if(e instanceof TypeError)return null;throw e}return e}(e)===e&&Object.getOwnPropertyNames(e).forEach(r=>{t(e[r])&&i.add(e[r])})}),e}],91584);let i=Symbol.for("apollo.result.extensions"),n=Symbol.for("apollo.result.streamInfo"),o=Symbol.for("apollo.observableQuery.variablesUnknown");e.s(["extensionsSymbol",0,i,"streamInfoSymbol",0,n,"variablesUnknownSymbol",0,o],15953)},32171,e=>{"use strict";var r=e.i(24669),t=e.i(91788),i=e.i(18018),n=e.i(32106),o=e.i(76810),s=e.i(91584),a=e.i(30928),u=e.i(15953);let l=Symbol.for("apollo.skipToken"),c=Symbol.for("apollo.hook.wrappers");var d=e.i(21805),h=e.i(98926),p=e.i(29520),v=e.i(21953),f=e.i(22420),y=e.i(93532);let w=!1,m=t.useSyncExternalStore,b="ReactNative"==(0,f.maybe)(()=>navigator.product),g=(0,f.maybe)(()=>navigator.userAgent.indexOf("jsdom")>=0)||!1,P=(v.canUseDOM||b)&&!g,_=m||((e,r,i)=>{let n=r();p.__DEV__&&!w&&n!==r()&&(w=!0,y.invariant.error(34));let[{inst:o},s]=t.useState({inst:{value:n,getSnapshot:r}});return P?t.useLayoutEffect(()=>{Object.assign(o,{value:n,getSnapshot:r}),E(o)&&s({inst:o})},[e,n,r]):Object.assign(o,{value:n,getSnapshot:r}),t.useEffect(()=>(E(o)&&s({inst:o}),e(function(){E(o)&&s({inst:o})})),[e]),n});function E({value:e,getSnapshot:r}){try{return e!==r()}catch{return!0}}let S=Symbol();function T(e,...[r]){return(function(e,r,i){let n=[i.queryManager,e.startsWith("use")?t.useContext((0,d.getApolloContext)()):void 0],o=r;for(let r of n){let t=r?.[c]?.[e];t&&(o=t(o))}return o})("useQuery",U,(0,h.useApolloClient)("object"==typeof r?r.client:void 0))(e,r)}function U(e,o={}){var s,c,d,p,v,f,y,w,m,b;let g,P,E=(0,h.useApolloClient)("object"==typeof o?o.client:void 0),{ssr:A}="object"==typeof o?o:{},O=(s=e,c=o,d=E.defaultOptions.watchQuery,p=()=>{if(c===l){let e={...(0,a.mergeOptions)(d,{query:s,fetchPolicy:"standby"}),[u.variablesUnknownSymbol]:!0};return e[I]=!0,e}let e=(0,a.mergeOptions)(d,{...c,query:s});return c.skip&&(e.initialFetchPolicy=c.initialFetchPolicy||c.fetchPolicy,e.fetchPolicy="standby"),e},v=[s,c,d],(g=t.useRef(void 0)).current&&(0,r.equal)(g.current.deps,v)||(g.current={value:p(),deps:v}),g.current.value);function C(r){let t=E.watchQuery(O);return{client:E,query:e,observable:t,resultData:{current:t.getCurrentResult(),previousData:r?.resultData.current.data,variables:t.variables}}}let[k,R]=t.useState(C);(E!==k.client||e!==k.query)&&R(k=C(k));let{observable:D,resultData:V}=k;f=O,y=D,f.fetchPolicy||(f.fetchPolicy=y.options.initialFetchPolicy),function(e,t,i){if(t[S]&&!(0,r.equal)(t[S],i)){var n,o;t[S][I]&&!i.initialFetchPolicy&&(i.initialFetchPolicy=i.fetchPolicy),(n=t[S],o=i,n.query===o.query&&(0,r.equal)(n.variables,o.variables)&&(n.fetchPolicy===o.fetchPolicy||"standby"!==o.fetchPolicy&&"standby"!==n.fetchPolicy))?t.applyOptions(i):t.reobserve(i);let s=t.getCurrentResult();(0,r.equal)(s.data,e.current.data)||(e.previousData=e.current.data||e.previousData),e.current=s,e.variables=t.variables}t[S]=i}(V,D,O);let x=(w=D,m=V,b=A,P=w.options.fetchPolicy,_(t.useCallback(e=>{let t=w.pipe((0,n.observeOn)(i.asapScheduler)).subscribe(t=>{let i=m.current;(0,r.equal)(i,t)&&(0,r.equal)(m.variables,w.variables)||(m.variables=w.variables,i.data&&!(0,r.equal)(i.data,t.data)&&(m.previousData=i.data),m.current=t,e())});return()=>{setTimeout(()=>t.unsubscribe())}},[w,m]),()=>m.current,()=>"standby"!==P&&!1===b||"no-cache"===P?T.ssrDisabledResult:m.current)),M=t.useMemo(()=>({refetch:D.refetch.bind(D),fetchMore:D.fetchMore.bind(D),updateQuery:D.updateQuery.bind(D),startPolling:D.startPolling.bind(D),stopPolling:D.stopPolling.bind(D),subscribeToMore:D.subscribeToMore.bind(D)}),[D]),L=V.previousData;return t.useMemo(()=>{let{partial:e,...r}=x;return{...r,client:E,observable:D,variables:D.variables,previousData:L,...M}},[x,E,D,L,M])}let I=Symbol();T.ssrDisabledResult=(0,s.maybeDeepFreeze)({loading:!0,data:void 0,dataState:"empty",error:void 0,networkStatus:o.NetworkStatus.loading,partial:!0}),e.s(["useQuery",0,T],32171)},66773,e=>{"use strict";var r,t,i,n,o,s,a,u,l,c,d,h=((r={}).Pickup="PICKUP",r.Shipping="SHIPPING",r),p=((t={}).MultiChoice="MULTI_CHOICE",t.Range="RANGE",t.SingleChoice="SINGLE_CHOICE",t.Switch="SWITCH",t),v=((i={}).Generic="GENERIC",i.Invoice="INVOICE",i),f=((n={}).Active="ACTIVE",n.Deleted="DELETED",n.Draft="DRAFT",n),y=((o={}).BundleProduct="BUNDLE_PRODUCT",o.ConfigurableProduct="CONFIGURABLE_PRODUCT",o.PlanProduct="PLAN_PRODUCT",o.SimpleProduct="SIMPLE_PRODUCT",o.TokenizedProduct="TOKENIZED_PRODUCT",o),w=((s={}).Color="COLOR",s.Text="TEXT",s),m=((a={}).AnswerQuotation="answerQuotation",a.BookmarkProduct="bookmarkProduct",a.BulkImport="bulkImport",a.ChangePassword="changePassword",a.CheckoutCart="checkoutCart",a.ConfirmMediaUpload="confirmMediaUpload",a.CreateCart="createCart",a.CreateEnrollment="createEnrollment",a.CreateUser="createUser",a.DownloadFile="downloadFile",a.EnrollUser="enrollUser",a.ForgotPassword="forgotPassword",a.Heartbeat="heartbeat",a.Impersonate="impersonate",a.LoginAsGuest="loginAsGuest",a.LoginWithPassword="loginWithPassword",a.LoginWithWebAuthn="loginWithWebAuthn",a.Logout="logout",a.LogoutAllSessions="logoutAllSessions",a.ManageAssortments="manageAssortments",a.ManageBookmarks="manageBookmarks",a.ManageCountries="manageCountries",a.ManageCurrencies="manageCurrencies",a.ManageDeliveryProviders="manageDeliveryProviders",a.ManageFilters="manageFilters",a.ManageLanguages="manageLanguages",a.ManagePaymentCredentials="managePaymentCredentials",a.ManagePaymentProviders="managePaymentProviders",a.ManageProductReviews="manageProductReviews",a.ManageProducts="manageProducts",a.ManageQuotations="manageQuotations",a.ManageUsers="manageUsers",a.ManageWarehousingProviders="manageWarehousingProviders",a.ManageWorker="manageWorker",a.MarkOrderConfirmed="markOrderConfirmed",a.MarkOrderDelivered="markOrderDelivered",a.MarkOrderPaid="markOrderPaid",a.MarkOrderRejected="markOrderRejected",a.PageView="pageView",a.RegisterPaymentCredentials="registerPaymentCredentials",a.RemoveUser="removeUser",a.RequestQuotation="requestQuotation",a.ResetPassword="resetPassword",a.ReviewProduct="reviewProduct",a.Search="search",a.SendEmail="sendEmail",a.StopImpersonation="stopImpersonation",a.UpdateCart="updateCart",a.UpdateEnrollment="updateEnrollment",a.UpdateOrder="updateOrder",a.UpdateOrderDelivery="updateOrderDelivery",a.UpdateOrderDiscount="updateOrderDiscount",a.UpdateOrderItem="updateOrderItem",a.UpdateOrderPayment="updateOrderPayment",a.UpdateProductReview="updateProductReview",a.UpdateToken="updateToken",a.UpdateUser="updateUser",a.UpdateUsername="updateUsername",a.UploadTempFile="uploadTempFile",a.UploadUserAvatar="uploadUserAvatar",a.UseWebAuthn="useWebAuthn",a.VerifyEmail="verifyEmail",a.ViewAssortment="viewAssortment",a.ViewAssortments="viewAssortments",a.ViewCountries="viewCountries",a.ViewCountry="viewCountry",a.ViewCurrencies="viewCurrencies",a.ViewCurrency="viewCurrency",a.ViewDeliveryInterfaces="viewDeliveryInterfaces",a.ViewDeliveryProvider="viewDeliveryProvider",a.ViewDeliveryProviders="viewDeliveryProviders",a.ViewEnrollment="viewEnrollment",a.ViewEnrollments="viewEnrollments",a.ViewEvent="viewEvent",a.ViewEvents="viewEvents",a.ViewFilter="viewFilter",a.ViewFilters="viewFilters",a.ViewLanguage="viewLanguage",a.ViewLanguages="viewLanguages",a.ViewLogs="viewLogs",a.ViewOrder="viewOrder",a.ViewOrders="viewOrders",a.ViewPaymentInterfaces="viewPaymentInterfaces",a.ViewPaymentProvider="viewPaymentProvider",a.ViewPaymentProviders="viewPaymentProviders",a.ViewProduct="viewProduct",a.ViewProducts="viewProducts",a.ViewQuotation="viewQuotation",a.ViewQuotations="viewQuotations",a.ViewShopInfo="viewShopInfo",a.ViewStatistics="viewStatistics",a.ViewToken="viewToken",a.ViewTokens="viewTokens",a.ViewTranslations="viewTranslations",a.ViewUser="viewUser",a.ViewUserCount="viewUserCount",a.ViewUserEnrollments="viewUserEnrollments",a.ViewUserOrders="viewUserOrders",a.ViewUserPrivateInfos="viewUserPrivateInfos",a.ViewUserProductReviews="viewUserProductReviews",a.ViewUserPublicInfos="viewUserPublicInfos",a.ViewUserQuotations="viewUserQuotations",a.ViewUserRoles="viewUserRoles",a.ViewUserTokens="viewUserTokens",a.ViewUsers="viewUsers",a.ViewWarehousingInterfaces="viewWarehousingInterfaces",a.ViewWarehousingProvider="viewWarehousingProvider",a.ViewWarehousingProviders="viewWarehousingProviders",a.ViewWork="viewWork",a.ViewWorkQueue="viewWorkQueue",a.VoteProductReview="voteProductReview",a),b=((u={}).Asc="ASC",u.Desc="DESC",u),g=((l={}).Physical="PHYSICAL",l.Virtual="VIRTUAL",l),P=((c={}).Allocated="ALLOCATED",c.Deleted="DELETED",c.Failed="FAILED",c.New="NEW",c.Success="SUCCESS",c),_=((d={}).Budgetsms="BUDGETSMS",d.Bulkgate="BULKGATE",d.BulkExport="BULK_EXPORT",d.BulkImport="BULK_IMPORT",d.Email="EMAIL",d.EnrollmentOrderGenerator="ENROLLMENT_ORDER_GENERATOR",d.ErrorNotifications="ERROR_NOTIFICATIONS",d.ExportToken="EXPORT_TOKEN",d.External="EXTERNAL",d.Heartbeat="HEARTBEAT",d.HttpRequest="HTTP_REQUEST",d.Message="MESSAGE",d.Push="PUSH",d.RefreshTokens="REFRESH_TOKENS",d.Twilio="TWILIO",d.Unknown="UNKNOWN",d.UpdateCoinbaseRates="UPDATE_COINBASE_RATES",d.UpdateEcbRates="UPDATE_ECB_RATES",d.UpdateTokenOwnership="UPDATE_TOKEN_OWNERSHIP",d.ZombieKiller="ZOMBIE_KILLER",d);e.s(["IDeliveryProviderType",()=>h,"IFilterType",()=>p,"IPaymentProviderType",()=>v,"IProductStatus",()=>f,"IProductType",()=>y,"IProductVariationType",()=>w,"IRoleAction",()=>m,"ISortDirection",()=>b,"IWarehousingProviderType",()=>g,"IWorkStatus",()=>P,"IWorkType",()=>_])}]);
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,15125,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s={VALID_LOADERS:function(){return i},imageConfigDefault:function(){return l}};for(var a in s)Object.defineProperty(r,a,{enumerable:!0,get:s[a]});let i=["default","imgix","cloudinary","akamai","custom"],l={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1,customCacheHandler:!1}},13521,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ImageConfigContext",{enumerable:!0,get:function(){return i}});let s=e.r(31640)._(e.r(91788)),a=e.r(15125),i=s.default.createContext(a.imageConfigDefault)},70693,12970,e=>{"use strict";var t=e.i(91788);let r=t.default.createContext({customProperties:{},hydrateFragment:(e,t)=>null});e.s(["default",0,r],12970),e.s(["default",0,()=>(0,t.useContext)(r)],70693)},12197,e=>{"use strict";var t=e.i(91398),r=e.i(69322);e.s(["default",0,()=>{let{formatMessage:e}=(0,r.useIntl)();return(0,t.jsx)("div",{className:"my-5 flex h-full w-full items-center justify-center bg-slate-50 dark:bg-slate-950 py-5",children:(0,t.jsxs)("div",{className:"flex items-center justify-center space-x-1 text-sm text-slate-700 dark:text-slate-200",children:[(0,t.jsx)("svg",{fill:"none",className:"h-6 w-6 animate-spin",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{clipRule:"evenodd",d:"M15.165 8.53a.5.5 0 01-.404.58A7 7 0 1023 16a.5.5 0 011 0 8 8 0 11-9.416-7.874.5.5 0 01.58.404z",fill:"currentColor",fillRule:"evenodd"})}),(0,t.jsx)("div",{children:e({id:"loading",defaultMessage:"Loading ..."})})]})})}])},6444,e=>{"use strict";let t=e.i(91788).default.createContext({setModal:()=>{throw Error("No ModalContext/ModalWrapper ancestor found.")}});e.s(["default",0,t])},6607,e=>{"use strict";var t=e.i(91788),r=e.i(6444);e.s(["default",0,()=>(0,t.useContext)(r.default)])},15971,e=>{"use strict";var t=e.i(91398),r=e.i(69322);e.s(["default",0,({onOkClick:e,onCancelClick:s,okText:a=null,cancelText:i=null,headerText:l=null,message:d=null,icon:n=null,close:o=null})=>{let{formatMessage:u}=(0,r.useIntl)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"sm:flex sm:items-start",children:[n||(0,t.jsx)("div",{className:"mx-auto flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-rose-100 dark:bg-rose-900/30 sm:mx-0 sm:h-10 sm:w-10",children:(0,t.jsx)("svg",{className:"h-6 w-6 text-rose-600 dark:text-rose-400",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})})}),(0,t.jsxs)("div",{className:"mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left",children:[(0,t.jsx)("h3",{className:"text-lg text-slate-900 dark:text-slate-200",id:"modal-title",children:l||u({id:"warning",defaultMessage:"Warning!"})}),(0,t.jsx)("div",{className:"mt-2",children:(0,t.jsx)("p",{className:"text-sm text-slate-500 dark:text-slate-200",children:d||u({id:"are_you_sure",defaultMessage:"Are you sure?"})})})]})]}),(0,t.jsxs)("div",{className:"mt-5 sm:mt-4 sm:flex sm:flex-row-reverse",children:[(0,t.jsx)("button",{id:"danger_continue",onClick:e,type:"button",className:"inline-flex w-full justify-center rounded-md border border-transparent bg-rose-600 px-4 py-2 text-base font-medium text-white shadow-xs hover:bg-rose-700 focus:outline-hidden focus:ring-2 focus:ring-rose-500 focus:ring-offset-2 sm:ml-3 sm:w-auto sm:text-sm",children:a||u({id:"continue",defaultMessage:"Continue"})}),(0,t.jsx)("button",{id:"danger_cancel",onClick:s||o,type:"button",className:"mt-3 inline-flex w-full justify-center rounded-md border border-slate-300 bg-white px-4 py-2 text-base font-medium text-slate-700 shadow-xs hover:bg-slate-50 focus:outline-hidden focus:ring-2 focus:ring-slate-800 focus:ring-offset-2 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm",children:i||u({id:"cancel",defaultMessage:"Cancel"})})]})]})}])},24608,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))});e.s(["XMarkIcon",0,r],24608)},81359,e=>{"use strict";var t=e.i(91398),r=e.i(24608),s=e.i(69322);e.s(["default",0,({onClick:e,text:a=null,Icon:i=null})=>{let{formatMessage:l}=(0,s.useIntl)();return(0,t.jsxs)("button",{type:"button",onClick:e,"aria-describedby":"header-delete-button",className:"inline-flex items-center gap-2 justify-center rounded-md border border-rose-500 px-4 py-2 text-sm font-medium leading-5 text-rose-600 dark:text-rose-200 shadow-sm hover:border-rose-600 hover:bg-rose-600 hover:text-white focus:outline-hidden focus:ring-2 focus:ring-rose-500 focus:ring-offset-2 h-[38px]",children:[(0,t.jsx)("span",{children:i||(0,t.jsx)(r.XMarkIcon,{className:"h-5 w-5"})}),a||l({id:"delete",defaultMessage:"Delete"})]})}])},72094,e=>{"use strict";var t=e.i(91398),r=e.i(91788),s=e.i(61898);let a=(e,t="")=>Object.fromEntries(Object.entries(e).reduce((e=[],[s,i])=>"string"==typeof i||r.default.isValidElement(i)?[...e,[`${t}${s}`,i]]:[...Object.entries(a(Object.assign({},...i),`${t}${s}.`)),...e],[])),i=({submitError:e="",fieldErrors:s=[]})=>(0,t.jsx)("div",{className:"my-2 mb-5 text-rose-700",children:(0,t.jsxs)("ul",{className:"space-y-1",children:[e&&(0,t.jsx)("li",{className:"disabled",children:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:e}})},"submitError"),Object.entries(a(s)).map(([e,s])=>(0,t.jsx)("li",{className:"disabled",children:(0,t.jsx)("button",{type:"button",className:"no-button text-rose-600 dark:text-rose-400","aria-label":"Error button",onClick:()=>{let t=document.getElementById(e);t&&t.focus()},children:r.default.isValidElement(s)?s:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:s}})})},e))]})});e.s(["default",0,({displayFieldErrors:e=!1})=>{let{submitError:r,formik:a}=(0,s.default)(),l=a?.errors;return(r||e)&&(0,t.jsx)(i,{submitError:r,fieldErrors:e&&l})}])},44926,e=>{"use strict";var t=e.i(91398),r=e.i(72043),s=e.i(69322);e.s(["default",0,({isActive:e,activeText:a=null,activeClassName:i="",inActiveClassName:l="",inActiveText:d=null,containerClassName:n=""})=>{let{formatMessage:o}=(0,s.useIntl)();return(0,t.jsx)("span",{className:(0,r.default)("",n),children:e?(0,t.jsx)("span",{className:(0,r.default)("inline-flex items-center border rounded-full px-2.5 py-0.5 text-sm font-medium bg-emerald-50 dark:bg-emerald-900/30 text-emerald-700 dark:text-emerald-300 border-emerald-200 dark:border-emerald-800 uppercase",i),children:a||o({id:"active",defaultMessage:"Active"})}):(0,t.jsx)("span",{className:(0,r.default)("inline-flex items-center border rounded-full px-2.5 py-0.5 text-sm font-medium bg-amber-100 dark:bg-yellow-900/30 text-yellow-800 dark:text-yellow-300 border-amber-400 dark:border-yellow-800 uppercase",l),children:d||o({id:"inactive",defaultMessage:"In-Active"})})})}])},15361,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))});e.s(["CheckCircleIcon",0,r],15361)},55215,e=>{"use strict";var t=e.i(91398),r=e.i(72043);e.s(["default",0,({value:e,className:s,onChange:a=()=>{},rows:i=7,...l})=>{let d=Math.max(e?e.split("\n").length:1,i);return(0,t.jsx)("textarea",{className:(0,r.default)("text-black dark:bg-slate-900 dark:text-slate-200 border-transparent border-t border-t-slate-200 dark:border-t-slate-800 resize-y",s),value:e,onChange:a,rows:d,...l})}])},7105,e=>{"use strict";var t=e.i(91398),r=e.i(72043),s=e.i(55215),a=e.i(60741),i=e.i(29691);e.s(["default",0,({validators:e=[],rows:l=10,...d})=>{let n=(0,a.default)({...d,validators:[...e,{isValid:e=>{try{return JSON?.parse(e),!0}catch(e){return!1}},intlMessageDescriptor:{id:"invalid_json_input",defaultMessage:"Invalid JSON input"}}]});return(0,t.jsx)(i.default,{...n,children:(0,t.jsx)(s.default,{className:(0,r.default)("mt-1 block w-full max-w-full rounded-md border-1 border-slate-300 dark:border-slate-800 dark:bg-slate-900 dark:text-slate-200 shadow-xs dark:shadow-none focus:ring-slate-800 sm:text-sm",{"border-rose-300 text-rose-600 focus:border-rose-600 focus:ring-rose-600":!!n.error},d.className),disabled:n.disabled,id:n.name,name:n.name,onChange:e=>{try{JSON.parse(e.target.value||"{}"),n.setError("")}catch(e){n.setError(e.message?.replace("JSON.parse",""))}finally{n.setValue(e.target.value,!0),n.setTouched(!0)}},onBlur:e=>{try{n.setValue(JSON.stringify(JSON.parse(e.target.value),void 0,2),!0),n.setError("")}catch(e){n.setError(e.message)}},placeholder:n.placeholder,autoComplete:n.autoComplete,value:n.value})})}])},33457,e=>{"use strict";var t=e.i(91398),r=e.i(15361),s=e.i(69322),a=e.i(83147),i=e.i(84818),l=e.i(60193),d=e.i(7105),n=e.i(99160),o=e.i(98949),u=e.i(69211),c=e.i(72094);let m=({onSubmit:e,onSubmitSuccess:r,provider:a,disabled:i})=>{let{formatMessage:l}=(0,s.useIntl)(),m=(0,o.default)({initialValues:{configuration:JSON.stringify(a?.configuration||{},null,2)},submit:e,getSubmitErrorMessage:e=>e?.message||"",onSubmitSuccess:r});return(0,t.jsx)(u.default,{form:m,className:"mt-6",children:(0,t.jsxs)("div",{className:"mt-1 sm:mt-0",children:[(0,t.jsx)(d.default,{id:"configuration",name:"configuration",disabled:i,value:m.formik.values.configuration,label:l({id:"configuration",defaultMessage:"Configuration"})}),(0,t.jsx)(c.default,{}),!i&&(0,t.jsx)(n.default,{label:l({id:"update_configuration",defaultMessage:"Update configuration"}),className:"mt-3"})]})})};var f=e.i(44926),x=e.i(65153);e.s(["default",0,({provider:e,onSubmit:d,onSubmitSuccess:n,readOnly:o,children:u=null})=>{let{formatMessage:c}=(0,s.useIntl)(),{formatDateTime:g}=(0,i.default)();return(0,t.jsx)("div",{className:"my-6",children:(0,t.jsx)("div",{className:"space-y-8",children:(0,t.jsxs)("div",{className:"space-y-8 sm:space-y-5",children:[(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsx)("h3",{className:"text-2xl leading-6 text-slate-900 dark:text-slate-200 mr-2",children:(0,a.getInterfaceLabel)(e?.interface)}),(0,t.jsx)(f.default,{containerClassName:"self-end",isActive:e?.isActive})]}),(0,t.jsxs)("div",{className:"space-y-4 max-w-xs",children:[(0,t.jsxs)("div",{className:"flex justify-between w-full gap-3",children:[(0,t.jsx)("dt",{className:"my-auto inline-block text-sm text-slate-400 ",children:c({id:"type_colon",defaultMessage:"Type:"})}),(0,t.jsx)("dd",{children:(0,t.jsx)(x.default,{text:e?.type,color:l.PROVIDER_TYPE_CLASSES[e?.type]})})]}),(0,t.jsxs)("div",{className:"flex flex-col justify-center space-y-2",children:[(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsx)("dt",{className:"text-sm font-normal text-slate-400 pr-2",children:c({id:"created_colon",defaultMessage:"Created:"})}),(0,t.jsx)("dd",{className:"ml-auto text-base",children:g(e?.created,{dateStyle:"long",timeStyle:"short"})})]}),(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsx)("dt",{className:"text-sm font-normal text-slate-400 pr-2",children:c({id:"last_updated",defaultMessage:"Last Updated:"})}),(0,t.jsx)("dd",{className:"ml-auto text-base",children:g(e?.updated,{dateStyle:"long",timeStyle:"short"})})]})]})]}),u&&(0,t.jsx)("div",{className:"w-full",children:u}),(0,t.jsx)(m,{onSubmit:d,onSubmitSuccess:n,provider:e,disabled:o}),(0,t.jsxs)("div",{className:"mt-6 mb-3",children:[(0,t.jsx)("dt",{className:"inline-block text-sm font-normal text-slate-400",children:c({id:"configuration_status",defaultMessage:"Configuration status"})}),e?.configurationError?(0,t.jsx)("dd",{className:"mt-2",children:(0,t.jsxs)("div",{className:"flex items-start p-3 bg-rose-50 dark:bg-rose-900/20 border border-rose-200 dark:border-rose-800 rounded-md",children:[(0,t.jsx)("svg",{className:"h-5 w-5 text-rose-400 dark:text-rose-500 mt-0.5 mr-3 flex-shrink-0",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM8.28 7.22a.75.75 0 00-1.06 1.06L8.94 10l-1.72 1.72a.75.75 0 101.06 1.06L10 11.06l1.72 1.72a.75.75 0 101.06-1.06L11.06 10l1.72-1.72a.75.75 0 00-1.06-1.06L10 8.94 8.28 7.22z",clipRule:"evenodd"})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-sm font-medium text-rose-800 dark:text-rose-200",children:c({id:"configuration_invalid",defaultMessage:"Invalid configuration"})}),(0,t.jsx)("div",{className:"mt-1 text-sm text-rose-700 dark:text-rose-300",children:e?.configurationError})]})]})}):(0,t.jsx)("dd",{className:"mt-2",children:(0,t.jsxs)("div",{className:"flex items-center p-3 bg-emerald-50 dark:bg-emerald-900/20 border border-emerald-200 dark:border-emerald-800 rounded-md",children:[(0,t.jsx)(r.CheckCircleIcon,{className:"h-5 w-5 text-emerald-600 dark:text-emerald-400 mr-3 flex-shrink-0"}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-sm font-medium text-emerald-800 dark:text-emerald-200",children:c({id:"configuration_valid",defaultMessage:"Valid configuration"})}),(0,t.jsx)("p",{className:"mt-1 text-sm text-emerald-700 dark:text-emerald-300",children:c({id:"configuration_valid_description",defaultMessage:"All configuration parameters are correctly set and validated."})})]})]})})]})]})})})}],33457)},13543,e=>{"use strict";var t=e.i(59080);let r=t.gql`
|
|
2
|
+
fragment WarehousingProviderFragment on WarehousingProvider {
|
|
3
|
+
_id
|
|
4
|
+
created
|
|
5
|
+
updated
|
|
6
|
+
deleted
|
|
7
|
+
isActive
|
|
8
|
+
type
|
|
9
|
+
interface {
|
|
10
|
+
_id
|
|
11
|
+
label
|
|
12
|
+
version
|
|
13
|
+
}
|
|
14
|
+
configuration
|
|
15
|
+
configurationError
|
|
16
|
+
}
|
|
17
|
+
`;e.s(["default",0,r])},50849,855,e=>{"use strict";var t=e.i(91398),r=e.i(3828),s=e.i(66773),a=e.i(69322),i=e.i(28401),l=e.i(61494),d=e.i(17644),n=e.i(59080),o=e.i(76204);let u=n.gql`
|
|
18
|
+
mutation RemoveWarehousingProvider($warehousingProviderId: ID!) {
|
|
19
|
+
removeWarehousingProvider(warehousingProviderId: $warehousingProviderId) {
|
|
20
|
+
_id
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
`,c=()=>{let[e]=(0,o.useMutation)(u);return{removeWarehousingProvider:async({warehousingProviderId:t})=>e({variables:{warehousingProviderId:t},refetchQueries:["WarehousingProviders","ShopStatus"]})}};e.s(["default",0,c],855);var m=e.i(13543);let f=n.gql`
|
|
24
|
+
mutation UpdateWarehousingProvider(
|
|
25
|
+
$warehousingProvider: UpdateProviderInput!
|
|
26
|
+
$warehousingProviderId: ID!
|
|
27
|
+
) {
|
|
28
|
+
updateWarehousingProvider(
|
|
29
|
+
warehousingProvider: $warehousingProvider
|
|
30
|
+
warehousingProviderId: $warehousingProviderId
|
|
31
|
+
) {
|
|
32
|
+
...WarehousingProviderFragment
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
${m.default}
|
|
36
|
+
`;var x=e.i(32171),g=e.i(70693),h=e.i(6607),v=e.i(33457),p=e.i(12197),b=e.i(15971),j=e.i(81359),w=e.i(83147),y=e.i(58971);e.s(["default",0,({warehousingProviderId:e})=>{let{formatMessage:u}=(0,a.useIntl)(),{setModal:k}=(0,h.default)(),{push:N,query:P}=(0,r.useRouter)(),{hasRole:_}=(0,y.default)(),{updateWarehousingProvider:M}=(()=>{let[e]=(0,o.useMutation)(f);return{updateWarehousingProvider:async({warehousingProvider:{configuration:t},warehousingProviderId:r})=>e({variables:{warehousingProvider:{configuration:t},warehousingProviderId:r}})}})(),{removeWarehousingProvider:C}=c(),{warehousingProvider:I,loading:S}=(({warehousingProviderId:e=null})=>{let{customProperties:t}=(0,g.default)(),{data:r,loading:s,error:a}=(0,x.useQuery)(((e="")=>n.gql`
|
|
37
|
+
query WarehousingProvider($warehousingProviderId: ID!) {
|
|
38
|
+
warehousingProvider(warehousingProviderId: $warehousingProviderId) {
|
|
39
|
+
...WarehousingProviderFragment
|
|
40
|
+
${e}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
${m.default}
|
|
44
|
+
`)(t?.WarehousingProvider),{skip:!e,variables:{warehousingProviderId:e}});return{warehousingProvider:r?.warehousingProvider,loading:s,error:a}})({warehousingProviderId:e}),E=async({configuration:t})=>(await M({warehousingProvider:{configuration:JSON.parse(t||"[]")},warehousingProviderId:e}),!0),O=async()=>{await k((0,t.jsx)(b.default,{onCancelClick:()=>k(""),message:u({id:"delete_warehousing_provider_confirmation",defaultMessage:"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this warehousing provider? "}),onOkClick:async()=>{k(""),await C({warehousingProviderId:e}),i.toast.success(u({id:"warehousing_provider_deleted",defaultMessage:"Warehousing provider deleted successfully"})),N("/warehousing-provider")},okText:u({id:"delete_warehousing_provider",defaultMessage:"Delete warehousing Provider"})}))};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l.default,{currentPageTitle:(0,w.getInterfaceLabel)(I?.interface)}),(0,t.jsxs)("div",{className:"items-center flex min-w-full justify-between gap-3 flex-wrap",children:[(0,t.jsx)(d.default,{headerText:u({id:"update_warehousing_provider_header",defaultMessage:"Update warehousing provider"}),title:u({id:"warehouse_detail_title",defaultMessage:"Warehouse {id}"},{id:I?._id})}),_(s.IRoleAction.ManageWarehousingProviders)&&(0,t.jsx)(j.default,{onClick:O})]}),S?(0,t.jsx)(p.default,{}):(0,t.jsx)(v.default,{readOnly:!_(s.IRoleAction.ManageWarehousingProviders),provider:I,onSubmit:E,onSubmitSuccess:()=>{N("/warehousing-provider")}})]})}],50849)},1581,(e,t,r)=>{let s="/warehousing-provider/WarehousingProviderDetailPage";(window.__NEXT_P=window.__NEXT_P||[]).push([s,()=>e.r(50849)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([s])})},48761,e=>{e.v(t=>Promise.all(["static/chunks/0a1flay6uksa2.js"].map(t=>e.l(t))).then(()=>t(93594)))},28805,e=>{e.v(t=>Promise.all(["static/chunks/0htfk2vj7m.9j.js"].map(t=>e.l(t))).then(()=>t(79466)))}]);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
__turbopack_load_page_chunks__("/country/CountryDetailPage", [
|
|
2
|
+
"static/chunks/05-wy9wkovd44.js",
|
|
3
|
+
"static/chunks/15946_7~ym9mj.js",
|
|
4
|
+
"static/chunks/0apih1f_pg7x5.js",
|
|
5
|
+
"static/chunks/131o1ib1p4q0~.js",
|
|
6
|
+
"static/chunks/13qkehmx~~nca.js",
|
|
7
|
+
"static/chunks/0x5~rk9ckvkzm.js",
|
|
8
|
+
"static/chunks/05xkbw-s9zm4v.js",
|
|
9
|
+
"static/chunks/0-beu4vu82jrh.js",
|
|
10
|
+
"static/chunks/12_5sds1suvhm.js",
|
|
11
|
+
"static/chunks/0jyfzjlxmkv47.js",
|
|
12
|
+
"static/chunks/turbopack-0upagoxw-k-s-.js"
|
|
13
|
+
])
|