@unchainedshop/admin-ui 5.0.0-alpha.6 → 5.0.0-alpha.7
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/README.md +27 -19
- package/dist/chunk-2RTX42IE.js +2083 -0
- package/dist/chunk-6UGLNLJG.js +44 -0
- package/dist/{chunk-UXG7EYHC.js → chunk-7PPOGX7R.js} +2 -35
- package/dist/{chunk-45H2WVIC.js → chunk-COV7BREX.js} +0 -1
- package/dist/{chunk-RHUFQVKL.js → chunk-F2TCVEQX.js} +1 -1
- package/dist/{chunk-UFYR5WZT.js → chunk-GY2DRQGW.js} +2 -1
- package/dist/{chunk-BGCKJQGS.js → chunk-JAVEZY3Q.js} +22 -15
- package/dist/{chunk-6TXD4TA7.js → chunk-KCN7DDPH.js} +2 -82
- package/dist/{chunk-YSKZE2KN.js → chunk-MSPWYMDY.js} +37 -24
- package/dist/chunk-RORNAN2J.js +12 -0
- package/dist/chunk-YZGQJJCD.js +37 -0
- package/dist/components/ui/Tag/TagInput.d.ts +10 -5
- package/dist/components/ui/Tag/TagInput.d.ts.map +1 -1
- package/dist/components/ui/form/TagInputField.d.ts +2 -1
- package/dist/components/ui/form/TagInputField.d.ts.map +1 -1
- package/dist/form.js +699 -2497
- package/dist/gql/operation-types.d.ts +13043 -0
- package/dist/gql/operation-types.d.ts.map +1 -0
- package/dist/gql/schema-types.d.ts +3820 -0
- package/dist/gql/schema-types.d.ts.map +1 -0
- package/dist/gql/types.d.ts +2 -17208
- package/dist/gql/types.d.ts.map +1 -1
- package/dist/hooks.js +3 -2
- package/dist/modal.js +9 -5
- package/dist/modules/accounts/fragment/UserFragment.d.ts.map +1 -1
- package/dist/modules/accounts/hooks/useCurrentUser.d.ts.map +1 -1
- package/dist/modules/accounts.js +219 -63
- package/dist/modules/assortment.js +9 -4
- package/dist/modules/common/hooks/useApp.d.ts +1 -1
- package/dist/modules/common/hooks/useBulkResultHandler.d.ts +8 -0
- package/dist/modules/common/hooks/useBulkResultHandler.d.ts.map +1 -0
- package/dist/modules/common/hooks/useBulkSelection.d.ts +12 -0
- package/dist/modules/common/hooks/useBulkSelection.d.ts.map +1 -0
- package/dist/modules/common/hooks/useScrollRestoration.d.ts +8 -0
- package/dist/modules/common/hooks/useScrollRestoration.d.ts.map +1 -0
- package/dist/modules/common/hooks/useShopInfo.d.ts +13 -13
- package/dist/modules/common/hooks/useShopInfo.d.ts.map +1 -1
- package/dist/modules/common/utils/useFormatDateTime.d.ts +10 -1
- package/dist/modules/common/utils/useFormatDateTime.d.ts.map +1 -1
- package/dist/modules/country/hooks/useCountries.d.ts +4 -4
- package/dist/modules/enrollment.js +23 -2
- package/dist/modules/event.js +1 -1
- package/dist/modules/filter.js +1 -1
- package/dist/modules/language/hooks/useLanguages.d.ts +4 -4
- package/dist/modules/modal/components/DangerMessage.d.ts +2 -1
- package/dist/modules/modal/components/DangerMessage.d.ts.map +1 -1
- package/dist/modules/order/hooks/useOrders.d.ts +20 -20
- package/dist/modules/order/hooks/useOrders.d.ts.map +1 -1
- package/dist/modules/order.js +9 -3
- package/dist/modules/product-review.js +24 -5
- package/dist/modules/product.js +12 -16
- package/dist/modules/quotation.js +22 -2
- package/dist/modules/token.js +1 -1
- package/dist/modules/work/hooks/useWork.d.ts +14 -14
- package/dist/modules/work.js +17 -5
- package/dist/plugins.js +6 -1
- package/dist/providers.js +3 -3
- package/dist/sdk/plugins.d.ts +11 -0
- package/dist/sdk/plugins.d.ts.map +1 -1
- package/dist/sdk/shims/admin-ui-plugins.d.ts +3 -0
- package/dist/sdk/shims/admin-ui-plugins.d.ts.map +1 -0
- package/dist/sdk/shims/apollo-client-react.d.ts +3 -0
- package/dist/sdk/shims/apollo-client-react.d.ts.map +1 -0
- package/dist/sdk/shims/apollo-client.d.ts +3 -0
- package/dist/sdk/shims/apollo-client.d.ts.map +1 -0
- package/dist/sdk/shims/host.d.ts +17 -0
- package/dist/sdk/shims/host.d.ts.map +1 -0
- package/dist/sdk/shims/next-head.d.ts +3 -0
- package/dist/sdk/shims/next-head.d.ts.map +1 -0
- package/dist/sdk/shims/next-image.d.ts +3 -0
- package/dist/sdk/shims/next-image.d.ts.map +1 -0
- package/dist/sdk/shims/next-link.d.ts +3 -0
- package/dist/sdk/shims/next-link.d.ts.map +1 -0
- package/dist/sdk/shims/next-router.d.ts +3 -0
- package/dist/sdk/shims/next-router.d.ts.map +1 -0
- package/dist/sdk/shims/react-dom-client.d.ts +3 -0
- package/dist/sdk/shims/react-dom-client.d.ts.map +1 -0
- package/dist/sdk/shims/react-dom.d.ts +3 -0
- package/dist/sdk/shims/react-dom.d.ts.map +1 -0
- package/dist/sdk/shims/react-hook-form.d.ts +3 -0
- package/dist/sdk/shims/react-hook-form.d.ts.map +1 -0
- package/dist/sdk/shims/react-intl.d.ts +3 -0
- package/dist/sdk/shims/react-intl.d.ts.map +1 -0
- package/dist/sdk/shims/react-jsx-runtime.d.ts +3 -0
- package/dist/sdk/shims/react-jsx-runtime.d.ts.map +1 -0
- package/dist/sdk/shims/react-toastify.d.ts +3 -0
- package/dist/sdk/shims/react-toastify.d.ts.map +1 -0
- package/dist/sdk/shims/react.d.ts +3 -0
- package/dist/sdk/shims/react.d.ts.map +1 -0
- package/dist/shims/admin-ui-plugins.js +9 -0
- package/dist/shims/apollo-client-react.js +25 -0
- package/dist/shims/apollo-client.js +55 -0
- package/dist/shims/next-head.js +9 -0
- package/dist/shims/next-image.js +9 -0
- package/dist/shims/next-link.js +9 -0
- package/dist/shims/next-router.js +13 -0
- package/dist/shims/react-dom-client.js +11 -0
- package/dist/shims/react-dom.js +22 -0
- package/dist/shims/react-hook-form.js +25 -0
- package/dist/shims/react-intl.js +37 -0
- package/dist/shims/react-jsx-runtime.js +11 -0
- package/dist/shims/react-toastify.js +16 -0
- package/dist/shims/react.js +52 -0
- package/dist/ui.js +1261 -3443
- 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/chunks/0-2b37ubdpy0o.js +7 -0
- package/out/_next/static/chunks/0-cyinqk2ne8t.js +16 -0
- package/out/_next/static/chunks/00tf1qsuwqywe.js +17 -0
- package/out/_next/static/chunks/015ge5k3o3f-r.js +226 -0
- package/out/_next/static/chunks/0208v89kdo_s9.js +13 -0
- package/out/_next/static/chunks/05-ui58k9illr.js +234 -0
- package/out/_next/static/chunks/05au-xyt__0f2.js +3 -0
- package/out/_next/static/chunks/{087a2d-0e1pvn.js → 05nn5xr3ufcsh.js} +1 -1
- package/out/_next/static/chunks/{1m5m15javwn8p.js → 05o_q7jg8wucs.js} +1 -1
- package/out/_next/static/chunks/0752goe9_9g2s.js +110 -0
- package/out/_next/static/chunks/07o7bmqljy89r.js +1 -0
- package/out/_next/static/chunks/083ylavob4a8d.js +3 -0
- package/out/_next/static/chunks/09qx8ltnvw8f2.js +12 -0
- package/out/_next/static/chunks/0_puys1lwhv9m.js +16 -0
- package/out/_next/static/chunks/0_xtedn8e1vu_.js +13 -0
- package/out/_next/static/chunks/0a_bg-ub3r2eo.js +60 -0
- package/out/_next/static/chunks/0b33bcf7x5rgy.js +20 -0
- package/out/_next/static/chunks/0ckhtcvz1kyxg.js +1 -0
- package/out/_next/static/chunks/0dewly3vo-mcq.js +20 -0
- package/out/_next/static/chunks/{19y4w6_d_qiou.js → 0dnh0kr83_tj0.js} +1 -1
- package/out/_next/static/chunks/0dxu94yin5gdn.js +35 -0
- package/out/_next/static/chunks/0e2c-jlh2q_eq.js +74 -0
- package/out/_next/static/chunks/0fv1w56e25gt5.js +14 -0
- package/out/_next/static/chunks/0i9ymn9xxs0nx.js +18 -0
- package/out/_next/static/chunks/0ij8fs6-w0pr_.js +22 -0
- package/out/_next/static/chunks/0iqjlf_9c6eo_.js +59 -0
- package/out/_next/static/chunks/0j838r-8ied1f.js +1 -0
- package/out/_next/static/chunks/0jeddko6bac8h.js +1 -0
- package/out/_next/static/chunks/0kwf2vel2xmdi.js +13 -0
- package/out/_next/static/chunks/0m6jydfuy_4o3.js +1 -0
- package/out/_next/static/chunks/0mez27zlo26ni.js +103 -0
- package/out/_next/static/chunks/0n9to89fz811b.js +3 -0
- package/out/_next/static/chunks/0nga8f0q2d0bl.js +14 -0
- package/out/_next/static/chunks/0nkkcq0-s-9fo.js +1 -0
- package/out/_next/static/chunks/0nlirgt-x5pqr.js +337 -0
- package/out/_next/static/chunks/0o7k5vanq57ch.js +807 -0
- package/out/_next/static/chunks/0om7fxf5bczpu.js +13 -0
- package/out/_next/static/chunks/0ou6gsnpn0wml.js +1 -0
- package/out/_next/static/chunks/0p09_ncs0g7m2.js +14 -0
- package/out/_next/static/chunks/0pji5t2zheb2j.js +234 -0
- package/out/_next/static/chunks/0q6-fplpae_ie.js +21 -0
- package/out/_next/static/chunks/0qh0vqpui2alf.js +9 -0
- package/out/_next/static/chunks/0qq_lp3pk8bjf.js +27 -0
- package/out/_next/static/chunks/0rgdxqr_0y-g-.js +136 -0
- package/out/_next/static/chunks/0rqjr_lmrk4pz.js +5 -0
- package/out/_next/static/chunks/0sc71p-6lnm1e.js +13 -0
- package/out/_next/static/chunks/0tej_--_qru5h.js +126 -0
- package/out/_next/static/chunks/0tnyefaaxof6-.js +247 -0
- package/out/_next/static/chunks/{1dsjo02ozub3p.js → 0ubzi2s1spm4e.js} +4 -4
- package/out/_next/static/chunks/0uecw_5mn0zvr.js +110 -0
- package/out/_next/static/chunks/0vbqa5pd_ajm5.js +1 -0
- package/out/_next/static/chunks/0w7ic_22nz92w.js +58 -0
- package/out/_next/static/chunks/0y4eg57kgif01.js +1 -0
- package/out/_next/static/chunks/0ywlba3uh1t0x.js +16 -0
- package/out/_next/static/chunks/0zoum0jzrtu0s.js +145 -0
- package/out/_next/static/chunks/1184evhxs01_c.js +11 -0
- package/out/_next/static/chunks/11oq6l46lynfn.js +22 -0
- package/out/_next/static/chunks/11zynllx8mmh5.js +15 -0
- package/out/_next/static/chunks/13__7-sf28ub5.js +17 -0
- package/out/_next/static/chunks/13u_a5l2xngm4.js +1 -0
- package/out/_next/static/chunks/13wfvr2b0-qlj.js +30 -0
- package/out/_next/static/chunks/14c_mq04p7pu0.js +171 -0
- package/out/_next/static/chunks/151puw-sc__by.js +103 -0
- package/out/_next/static/chunks/15vz50rks0o2-.js +238 -0
- package/out/_next/static/chunks/17b4rvj5k8ye2.js +807 -0
- package/out/_next/static/chunks/188l-km9dyejj.js +34 -0
- package/out/_next/static/chunks/{252n_i72ate30.js → 18juy_eauk94g.js} +2 -2
- package/out/_next/static/chunks/{0k-vf2ns330qm.js → 19eflki8bmivb.js} +1 -1
- package/out/_next/static/chunks/19eu5d-wm2hfr.js +23 -0
- package/out/_next/static/chunks/19ou9pxeiwehs.js +15 -0
- package/out/_next/static/chunks/19pi48hqksvo9.js +9 -0
- package/out/_next/static/chunks/1_5ba1obzc231.js +1 -0
- package/out/_next/static/chunks/1_lrjs51fhhko.js +807 -0
- package/out/_next/static/chunks/1am9n6exll687.js +807 -0
- package/out/_next/static/chunks/1cfjbvjo0o9fx.js +104 -0
- package/out/_next/static/chunks/1cqhbfj3zp710.js +1 -0
- package/out/_next/static/chunks/1cy-2yb5j5_9b.js +157 -0
- package/out/_next/static/chunks/1dqgs827_hiod.js +16 -0
- package/out/_next/static/chunks/{1ji44prsmhq_a.js → 1dt9_bzfioi8a.js} +3 -3
- package/out/_next/static/chunks/1fg6jbuxeuj0w.js +14 -0
- package/out/_next/static/chunks/1fvr9k_o63j_m.js +16 -0
- package/out/_next/static/chunks/1h_o__x8jw8gt.js +15 -0
- package/out/_next/static/chunks/1imv5a-ymrj2t.js +15 -0
- package/out/_next/static/chunks/1k4ep4igedo8p.js +1 -0
- package/out/_next/static/chunks/1kn74nabrpy14.js +3 -0
- package/out/_next/static/chunks/{34sm1u3s14z4b.js → 1ndk3s-aeqfej.js} +1 -1
- package/out/_next/static/chunks/1o4hor3cwzcxc.js +15 -0
- package/out/_next/static/chunks/1og09fg689_nc.js +180 -0
- package/out/_next/static/chunks/1q_sewe1wbxsk.js +54 -0
- package/out/_next/static/chunks/1qwid0d89bzpw.js +17 -0
- package/out/_next/static/chunks/1r7dh_p70r7o8.js +13 -0
- package/out/_next/static/chunks/1r_e-dk-1oicl.js +2 -0
- package/out/_next/static/chunks/1rtv3c_klo0jk.js +1 -0
- package/out/_next/static/chunks/1rw6681ieb3-5.js +8 -0
- package/out/_next/static/chunks/1srfjl1rurrm9.js +3 -0
- package/out/_next/static/chunks/1t8mb2td_pm1h.js +43 -0
- package/out/_next/static/chunks/1v-2aqdslc2g1.js +1 -0
- package/out/_next/static/chunks/1w5uao_cylgd1.js +234 -0
- package/out/_next/static/chunks/1x-t9f0f5vr10.js +329 -0
- package/out/_next/static/chunks/1ylgjha1c0ua_.js +124 -0
- package/out/_next/static/chunks/1yp98n-n4gxwy.js +15 -0
- package/out/_next/static/chunks/1yy_-xc9xthfo.js +3 -0
- package/out/_next/static/chunks/1z1esw-t8kopy.js +1 -0
- package/out/_next/static/chunks/2-7e3ttj92hfr.js +17 -0
- package/out/_next/static/chunks/200_u2ywg-be1.js +43 -0
- package/out/_next/static/chunks/224ovcn90ebcs.js +25 -0
- package/out/_next/static/chunks/24-pobk4qjjvp.js +3 -0
- package/out/_next/static/chunks/2540mqfxc7ehr.js +15 -0
- package/out/_next/static/chunks/{1rgwj4dr0k4_b.js → 270ua9t85a7ev.js} +1 -1
- package/out/_next/static/chunks/27jaailh2k450.js +879 -0
- package/out/_next/static/chunks/2_l14rwu6kgzl.js +11 -0
- package/out/_next/static/chunks/2_vu2hve2j-6g.js +5 -0
- package/out/_next/static/chunks/2cmaw01_r48ot.js +21 -0
- package/out/_next/static/chunks/2d1zehr8zc3vb.js +9 -0
- package/out/_next/static/chunks/{2tw-iq1oliu-h.js → 2dvrbmh97duba.js} +1 -1
- package/out/_next/static/chunks/{34dhtdp_8idgm.js → 2dyj8q92_k5el.js} +112 -62
- package/out/_next/static/chunks/2e0dz59httb-e.js +43 -0
- package/out/_next/static/chunks/2e47h0g7w7si3.js +7 -0
- package/out/_next/static/chunks/2fjmw94mat8m0.js +807 -0
- package/out/_next/static/chunks/{0f7z8oojvqahv.js → 2fo2ki1egxbah.js} +1 -1
- package/out/_next/static/chunks/2httcwd92at4i.js +9 -0
- package/out/_next/static/chunks/2ib6fee-nqe-z.js +23 -0
- package/out/_next/static/chunks/2l4pfo_tsvn5w.js +11 -0
- package/out/_next/static/chunks/2l629mu99aqil.js +9 -0
- package/out/_next/static/chunks/2le8e8u2nvp0j.js +16 -0
- package/out/_next/static/chunks/2lx_iig9xewfj.js +52 -0
- package/out/_next/static/chunks/2nm_wdmfjcbyc.js +25 -0
- package/out/_next/static/chunks/2o9hdz0gk1-s7.js +165 -0
- package/out/_next/static/chunks/2ork76jhxvxke.js +138 -0
- package/out/_next/static/chunks/2ou2_nhvunq72.js +13 -0
- package/out/_next/static/chunks/2pf0d3jgcae7b.js +99 -0
- package/out/_next/static/chunks/2q-mpau-4gsvd.js +1 -0
- package/out/_next/static/chunks/2qzxq2qs80c_8.js +11 -0
- package/out/_next/static/chunks/2rddaar-ns45d.js +116 -0
- package/out/_next/static/chunks/2rve5gtfjiz-p.js +100 -0
- package/out/_next/static/chunks/2rywg4dn0aeez.js +1 -0
- package/out/_next/static/chunks/2s6u8274_jzk2.js +105 -0
- package/out/_next/static/chunks/2t-_fecnp5yzr.js +15 -0
- package/out/_next/static/chunks/2tm822rgn8g7-.js +19 -0
- package/out/_next/static/chunks/{1cgliwmj52a0t.js → 2u6jwsqz0uhes.js} +3 -3
- package/out/_next/static/chunks/2u8ns-x384r3i.js +22 -0
- package/out/_next/static/chunks/{08o69avnk4qvk.js → 2v4k4vpb2id7m.js} +1 -1
- package/out/_next/static/chunks/2v57_n8he320z.js +83 -0
- package/out/_next/static/chunks/2vkqez8xx-yp9.js +807 -0
- package/out/_next/static/chunks/2ztcyhxd9w5_m.js +1 -0
- package/out/_next/static/chunks/304cl99rh8rs_.js +2 -0
- package/out/_next/static/chunks/30_ns6urg1dkn.js +41 -0
- package/out/_next/static/chunks/{0gurfn3nhm859.js → 313i1x81q2xj1.js} +1 -1
- package/out/_next/static/chunks/325a7n__tfxy_.js +61 -0
- package/out/_next/static/chunks/326rk3t0gtxp_.js +14 -0
- package/out/_next/static/chunks/32te9ivrk54l0.js +15 -0
- package/out/_next/static/chunks/339y1tm7s80tn.js +22 -0
- package/out/_next/static/chunks/33emlry70k-lv.js +2 -0
- package/out/_next/static/chunks/{202a3z9hys0o7.js → 346itdsbw-5tn.js} +2 -2
- package/out/_next/static/chunks/351jscvbk_wb9.js +13 -0
- package/out/_next/static/chunks/355nca7if7l9n.js +17 -0
- package/out/_next/static/chunks/357odtev0t245.js +59 -0
- package/out/_next/static/chunks/{2oz58zpay0wub.js → 35fjd9uhctw7y.js} +1 -1
- package/out/_next/static/chunks/36aqs7u7s-lb1.js +119 -0
- package/out/_next/static/chunks/36zrtyhmqlx_n.js +807 -0
- package/out/_next/static/chunks/{18yg2pj3hb_in.js → 37uz0njkj43tz.js} +1 -1
- package/out/_next/static/chunks/38ffn8gazqz8_.js +3 -0
- package/out/_next/static/chunks/39-19ao-xkexy.js +2 -0
- package/out/_next/static/chunks/39m5tbxzzsmn4.js +807 -0
- package/out/_next/static/chunks/3_dqxs_vhmfqd.js +14 -0
- package/out/_next/static/chunks/3bgtu00fe99yc.js +1 -0
- package/out/_next/static/chunks/3c1rc1w-xe4u7.js +39 -0
- package/out/_next/static/chunks/3cdfuacs4_0d-.js +1 -0
- package/out/_next/static/chunks/3cp9qqljcytup.js +9 -0
- package/out/_next/static/chunks/3cq123yj25_36.js +1 -0
- package/out/_next/static/chunks/3d1ofcqmlbg-5.js +52 -0
- package/out/_next/static/chunks/3dopaxkoi5px6.js +1 -0
- package/out/_next/static/chunks/3doujqxnfq19f.js +16 -0
- package/out/_next/static/chunks/3grllla8v0ctl.js +14 -0
- package/out/_next/static/chunks/3hqec4-3one07.js +15 -0
- package/out/_next/static/chunks/3ic_dagw-uvrx.js +234 -0
- package/out/_next/static/chunks/3idwjqiel9n9v.js +18 -0
- package/out/_next/static/chunks/{0qjv_q4seojfh.js → 3il9u-mfrp2sn.js} +1 -1
- package/out/_next/static/chunks/3jtzvr48aaoo0.js +13 -0
- package/out/_next/static/chunks/3k5lt5_-g36w9.js +9 -0
- package/out/_next/static/chunks/3l-9xxd1i1sya.js +1 -0
- package/out/_next/static/chunks/3l1zucp3a411p.js +50 -0
- package/out/_next/static/chunks/3ls4kv54f3x8u.js +15 -0
- package/out/_next/static/chunks/3m2yam5_cs1h7.js +13 -0
- package/out/_next/static/chunks/3mancxzz8c7hl.js +51 -0
- package/out/_next/static/chunks/3nkse7h0-kbyx.js +126 -0
- package/out/_next/static/chunks/3o23w25lfn4mo.js +27 -0
- package/out/_next/static/chunks/{3m7-q-ztmzcf5.js → 3oynij37wfjb2.js} +2 -2
- package/out/_next/static/chunks/3oz5p4rrvnew1.js +807 -0
- package/out/_next/static/chunks/{434iz38padke2.js → 3pbyo5kkko3wh.js} +1 -1
- package/out/_next/static/chunks/3qjgt-x153i6u.js +234 -0
- package/out/_next/static/chunks/3s-n0xc-vi0ww.js +31 -0
- package/out/_next/static/chunks/3t_3vlnk1ntkb.js +95 -0
- package/out/_next/static/chunks/3ti7tims6gz1j.js +234 -0
- package/out/_next/static/chunks/3tzaludii6vtu.js +54 -0
- package/out/_next/static/chunks/{01q9gliprwq-_.js → 3u504487p_y7e.js} +2 -2
- package/out/_next/static/chunks/3ufg-in2riva7.js +1 -0
- package/out/_next/static/chunks/3ugwv1vrnbivg.js +1 -0
- package/out/_next/static/chunks/3ulbhhqw8rxd8.js +15 -0
- package/out/_next/static/chunks/3uytb2p7vzafp.js +15 -0
- package/out/_next/static/chunks/3v38tvcona4gy.js +16 -0
- package/out/_next/static/chunks/3vet2a9q9rf2c.js +61 -0
- package/out/_next/static/chunks/3vz3gqmojh7sx.js +4 -0
- package/out/_next/static/chunks/3w9xrlkiztuwi.js +23 -0
- package/out/_next/static/chunks/3wy5jhrulhwb9.js +15 -0
- package/out/_next/static/chunks/3xmtbqm0gddn8.js +3 -0
- package/out/_next/static/chunks/3yqmjvx7t3t0_.js +1 -0
- package/out/_next/static/chunks/3yvmkdc088aly.js +1 -0
- package/out/_next/static/chunks/401o5bfi_90qs.js +141 -0
- package/out/_next/static/chunks/40s6ngsexc737.js +15 -0
- package/out/_next/static/chunks/40xhwnc_48o73.js +297 -0
- package/out/_next/static/chunks/41e2wlkp9_pvk.js +28 -0
- package/out/_next/static/chunks/41g7mv3yuhz6k.js +68 -0
- package/out/_next/static/chunks/429ihwc6co7u7.js +32 -0
- package/out/_next/static/chunks/42p2hm8ca34f6.js +16 -0
- package/out/_next/static/chunks/43jyzccx6x0lw.js +1 -0
- package/out/_next/static/chunks/447b5tn4-avdv.js +16 -0
- package/out/_next/static/chunks/44daaafswok67.css +1 -0
- package/out/_next/static/chunks/turbopack-02cmv-knpzk52.js +1 -0
- package/out/_next/static/chunks/{turbopack-04ukk4jyuwwfc.js → turbopack-05rmr02n9n2u0.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0cwxwz82vstff.js → turbopack-07fw0g9aver98.js} +1 -1
- package/out/_next/static/chunks/turbopack-08x92457_z4ve.js +1 -0
- package/out/_next/static/chunks/{turbopack-13v4uorj3l10n.js → turbopack-0a2sfur4bx222.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3b2k0p0g1mako.js → turbopack-0b-g0lpiikryt.js} +1 -1
- package/out/_next/static/chunks/turbopack-0dj-aua684j9c.js +1 -0
- package/out/_next/static/chunks/{turbopack-3p-k1txa6-4ik.js → turbopack-0h5lj7lnf9_tb.js} +1 -1
- package/out/_next/static/chunks/{turbopack-04s7-zvvb1coi.js → turbopack-0k8oea6xmzbjh.js} +1 -1
- package/out/_next/static/chunks/{turbopack-14kspgbfigjpa.js → turbopack-0m1qzkhnpuk2j.js} +1 -1
- package/out/_next/static/chunks/{turbopack-41cj0-dssfw9l.js → turbopack-0n73ad0fad4yl.js} +1 -1
- package/out/_next/static/chunks/{turbopack-2k2d3c2qq-0z0.js → turbopack-0qxkaq0f9ka24.js} +1 -1
- package/out/_next/static/chunks/{turbopack-34749rlp0_n5c.js → turbopack-0ricnx7znhztj.js} +1 -1
- package/out/_next/static/chunks/turbopack-0s-h1cgwrfgo-.js +1 -0
- package/out/_next/static/chunks/turbopack-0xgswwqf_4vrt.js +1 -0
- package/out/_next/static/chunks/{turbopack-1sllc7f9its9a.js → turbopack-1330tdm8r390q.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0qa163y1bx_g6.js → turbopack-14rn07-ki7f_7.js} +1 -1
- package/out/_next/static/chunks/turbopack-1azvbmrq_bxq7.js +1 -0
- package/out/_next/static/chunks/turbopack-1bjaxey2pj8nn.js +1 -0
- package/out/_next/static/chunks/turbopack-1csu0s9cycwgo.js +1 -0
- package/out/_next/static/chunks/{turbopack-0w2ztfttfubzl.js → turbopack-1g8mmayckmfib.js} +1 -1
- package/out/_next/static/chunks/turbopack-1hty_7i5tzg63.js +1 -0
- package/out/_next/static/chunks/turbopack-1p11xfz8qe15i.js +1 -0
- package/out/_next/static/chunks/turbopack-1r_uprn020kr7.js +1 -0
- package/out/_next/static/chunks/{turbopack-29n-soxzu37jf.js → turbopack-1rdxfvyldfwrq.js} +1 -1
- package/out/_next/static/chunks/{turbopack-40xcd2mr6qovi.js → turbopack-1td004byboyz2.js} +1 -1
- package/out/_next/static/chunks/turbopack-1y3x6n223v6d1.js +1 -0
- package/out/_next/static/chunks/turbopack-2068cl63o32re.js +1 -0
- package/out/_next/static/chunks/turbopack-298vdad77pw5z.js +1 -0
- package/out/_next/static/chunks/{turbopack-1wqjl3y4c1ij-.js → turbopack-2d5v28yt0xnri.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3jw01psrsjqdi.js → turbopack-2dicmowo2x4t1.js} +1 -1
- package/out/_next/static/chunks/turbopack-2gehqsln39zg1.js +1 -0
- package/out/_next/static/chunks/turbopack-2hj-ffuco6-u7.js +1 -0
- package/out/_next/static/chunks/turbopack-2it1jk212m2ud.js +1 -0
- package/out/_next/static/chunks/{turbopack-0sv7lr_kx3kdq.js → turbopack-2l-gbnaw39ht4.js} +1 -1
- package/out/_next/static/chunks/turbopack-2mbsjg411_ndq.js +1 -0
- package/out/_next/static/chunks/turbopack-2n2ksqygaakbh.js +1 -0
- package/out/_next/static/chunks/turbopack-2q65pei-ck559.js +1 -0
- package/out/_next/static/chunks/turbopack-2sqnlbl-ardf7.js +1 -0
- package/out/_next/static/chunks/turbopack-2t6ex34_bkvoe.js +1 -0
- package/out/_next/static/chunks/{turbopack-1au-y5u3wzv22.js → turbopack-2w9_vscbr0eag.js} +1 -1
- package/out/_next/static/chunks/turbopack-2z2joyd6mdhpo.js +1 -0
- package/out/_next/static/chunks/turbopack-338xrj-0fpsqu.js +1 -0
- package/out/_next/static/chunks/turbopack-3458e7jmj1e27.js +1 -0
- package/out/_next/static/chunks/turbopack-351l-va10h8kw.js +1 -0
- package/out/_next/static/chunks/turbopack-35awx_qvevnch.js +1 -0
- package/out/_next/static/chunks/{turbopack-1noe2ur-_o71n.js → turbopack-3a196kafnj312.js} +1 -1
- package/out/_next/static/chunks/turbopack-3a6igydfvv1_v.js +1 -0
- package/out/_next/static/chunks/{turbopack-1-ceqxb_000x-.js → turbopack-3bnkwdcrz_ts-.js} +1 -1
- package/out/_next/static/chunks/{turbopack-32kxihayw_v97.js → turbopack-3hsu2nw8qlox4.js} +1 -1
- package/out/_next/static/chunks/turbopack-3iiyu2cek78ut.js +1 -0
- package/out/_next/static/chunks/turbopack-3nta8sa99guti.js +1 -0
- package/out/_next/static/chunks/turbopack-3r17oio1oe7jw.js +1 -0
- package/out/_next/static/chunks/turbopack-3r9uyzwi0dtwb.js +1 -0
- package/out/_next/static/chunks/turbopack-3rgdcfralfvsa.js +1 -0
- package/out/_next/static/chunks/{turbopack-1h9u07n6a83dl.js → turbopack-3tntqotcyx6oq.js} +1 -1
- package/out/_next/static/chunks/turbopack-3uc-2ah0uehj3.js +1 -0
- package/out/_next/static/chunks/turbopack-3uvfl95p1ubqn.js +1 -0
- package/out/_next/static/chunks/turbopack-3vncwrj5x9j44.js +1 -0
- package/out/_next/static/chunks/turbopack-3ww1zabqxbxit.js +1 -0
- package/out/_next/static/chunks/{turbopack-17gr4a9fxe8he.js → turbopack-3wxlut7e7jmsi.js} +1 -1
- package/out/_next/static/chunks/turbopack-3yk72bgipb8hc.js +1 -0
- package/out/_next/static/chunks/turbopack-4025_4zwqnrk-.js +1 -0
- package/out/_next/static/chunks/{turbopack-298r66lt68r_n.js → turbopack-425nfopoa8wxd.js} +1 -1
- package/out/_next/static/{VYWUvBJY94uiS3jm4HOFN → hH8h6SzcZWEUFySYqRPbW}/_buildManifest.js +63 -63
- 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/ext/[[...slug]]/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 +18 -13
- package/src/sdk/README.md +195 -0
- package/src/sdk/plugin-build.mjs +81 -98
- package/src/sdk/plugin-build.test.mjs +6 -3
- package/src/sdk/plugin-runtime.cjs +66 -0
- package/src/sdk/plugin-runtime.d.mts +11 -0
- package/src/sdk/plugin-runtime.mjs +27 -0
- package/src/sdk/plugin-runtime.test.mjs +32 -0
- package/src/sdk/plugins.mjs +17 -0
- package/src/sdk/plugins.ts +17 -0
- package/src/sdk/shims/admin-ui-plugins.ts +3 -0
- package/src/sdk/shims/apollo-client-react.ts +3 -0
- package/src/sdk/shims/apollo-client.ts +3 -0
- package/src/sdk/shims/host.ts +61 -0
- package/src/sdk/shims/next-head.ts +3 -0
- package/src/sdk/shims/next-image.ts +3 -0
- package/src/sdk/shims/next-link.ts +3 -0
- package/src/sdk/shims/next-router.ts +3 -0
- package/src/sdk/shims/react-dom-client.ts +3 -0
- package/src/sdk/shims/react-dom.ts +3 -0
- package/src/sdk/shims/react-hook-form.ts +3 -0
- package/src/sdk/shims/react-intl.ts +3 -0
- package/src/sdk/shims/react-jsx-runtime.ts +3 -0
- package/src/sdk/shims/react-toastify.ts +3 -0
- package/src/sdk/shims/react.ts +3 -0
- package/out/_next/static/chunks/00zpb_zgq36h-.js +0 -14
- package/out/_next/static/chunks/02aa23atze2y4.js +0 -119
- package/out/_next/static/chunks/02u93m0n7n-q-.js +0 -12
- package/out/_next/static/chunks/03n4up296yhei.js +0 -138
- package/out/_next/static/chunks/03zrzz0sb-gy8.js +0 -14
- package/out/_next/static/chunks/044dmimivt13x.js +0 -233
- package/out/_next/static/chunks/07pwkvl-lm4vp.js +0 -24
- package/out/_next/static/chunks/08vf2wf3mxta3.js +0 -13
- package/out/_next/static/chunks/094s-grteo6tb.js +0 -31
- package/out/_next/static/chunks/0_wt7zjqgpl76.js +0 -807
- package/out/_next/static/chunks/0a81cjauoijka.js +0 -1
- package/out/_next/static/chunks/0ab_-095b34n5.js +0 -90
- package/out/_next/static/chunks/0ac9c5ecooaav.js +0 -234
- package/out/_next/static/chunks/0b--0624xswmi.js +0 -16
- package/out/_next/static/chunks/0b3hl4d_27v6q.js +0 -173
- package/out/_next/static/chunks/0braigkg4hdry.js +0 -39
- package/out/_next/static/chunks/0cdcsn87u-tzw.js +0 -1
- package/out/_next/static/chunks/0d9cf7svcpjcu.js +0 -1
- package/out/_next/static/chunks/0eooy6dat270h.js +0 -226
- package/out/_next/static/chunks/0ety-u93s5lsq.js +0 -188
- package/out/_next/static/chunks/0fb5j_lva6f8h.js +0 -19
- package/out/_next/static/chunks/0hm6-xlqw4vmr.js +0 -1
- package/out/_next/static/chunks/0im5k2e2u2uz_.js +0 -8
- package/out/_next/static/chunks/0iv288bepx0ug.js +0 -29
- package/out/_next/static/chunks/0ld2eenwz_blg.js +0 -52
- package/out/_next/static/chunks/0m9y8-nk64c1e.js +0 -12
- package/out/_next/static/chunks/0nz8nqr7k7pni.js +0 -61
- package/out/_next/static/chunks/0pyfoz6288y0f.js +0 -1
- package/out/_next/static/chunks/0qfjbvj6nn9zr.js +0 -18
- package/out/_next/static/chunks/0r0l1vs8bls6y.js +0 -1
- package/out/_next/static/chunks/0r2v5se5riad_.js +0 -227
- package/out/_next/static/chunks/0rdl1jrsef2ew.js +0 -3
- package/out/_next/static/chunks/0sutuaadm9sa2.js +0 -11
- package/out/_next/static/chunks/0tmo-o_wjgk4-.js +0 -8
- package/out/_next/static/chunks/0u-md-qpvyccn.js +0 -149
- package/out/_next/static/chunks/0u881hesm8z4s.js +0 -14
- package/out/_next/static/chunks/0u_efcr52k9v1.js +0 -15
- package/out/_next/static/chunks/0ukobsq85_to1.js +0 -135
- package/out/_next/static/chunks/0vxvcl2s96x4f.js +0 -24
- package/out/_next/static/chunks/0vyfm3usoot1p.js +0 -60
- package/out/_next/static/chunks/0wr0r7tr1jbcz.js +0 -10
- package/out/_next/static/chunks/0x_i69reqib8u.js +0 -3
- package/out/_next/static/chunks/0xxl7fb2bi8_8.js +0 -82
- package/out/_next/static/chunks/0z7jldn83dst6.js +0 -13
- package/out/_next/static/chunks/1-4f-vlpf5end.js +0 -43
- package/out/_next/static/chunks/1293ysgb8y4y3.js +0 -12
- package/out/_next/static/chunks/129pi8m3j6761.js +0 -1
- package/out/_next/static/chunks/12lbg_ctrshrg.js +0 -1
- package/out/_next/static/chunks/13f9ypdy9t6l8.js +0 -15
- package/out/_next/static/chunks/13g90lbjehcp1.js +0 -12
- package/out/_next/static/chunks/1413uu5ol2rfr.js +0 -166
- package/out/_next/static/chunks/15-duc2e3btcy.js +0 -1
- package/out/_next/static/chunks/155jjdhtr4dhn.js +0 -30
- package/out/_next/static/chunks/1679i7xv8jnle.js +0 -117
- package/out/_next/static/chunks/16a-8jlyrl0m8.js +0 -12
- package/out/_next/static/chunks/16bdu48a5vry_.js +0 -13
- package/out/_next/static/chunks/16r_t7quts1w0.js +0 -289
- package/out/_next/static/chunks/189epg0ebf7bc.js +0 -13
- package/out/_next/static/chunks/18ujb5-7bg1p4.js +0 -1
- package/out/_next/static/chunks/19fzi9f2kw8zv.js +0 -233
- package/out/_next/static/chunks/1_ov-8bomgh6c.js +0 -54
- package/out/_next/static/chunks/1axp79-x4n7i4.js +0 -242
- package/out/_next/static/chunks/1bga5_ny7avyr.js +0 -23
- package/out/_next/static/chunks/1bgsls3okrjue.js +0 -1
- package/out/_next/static/chunks/1cliieayy_gw1.js +0 -13
- package/out/_next/static/chunks/1cvyi5qu_s_d7.js +0 -10
- package/out/_next/static/chunks/1dcw-b0uqh6b0.js +0 -1
- package/out/_next/static/chunks/1drrou5kp4qdz.js +0 -1
- package/out/_next/static/chunks/1e4ue1_7qn6kz.js +0 -14
- package/out/_next/static/chunks/1emope9zm_-ch.js +0 -14
- package/out/_next/static/chunks/1f7ar56dj5j8s.js +0 -21
- package/out/_next/static/chunks/1fk9whsy-495f.js +0 -1
- package/out/_next/static/chunks/1fp7uihlvzcij.js +0 -13
- package/out/_next/static/chunks/1g0syfr6r0rj8.js +0 -111
- package/out/_next/static/chunks/1g5l7e7du4p25.js +0 -1
- package/out/_next/static/chunks/1h03py7retxw8.js +0 -13
- package/out/_next/static/chunks/1i6-vxhyp4fan.js +0 -73
- package/out/_next/static/chunks/1ihjqvn68cj5e.js +0 -36
- package/out/_next/static/chunks/1ij-bgloqrwlw.js +0 -809
- package/out/_next/static/chunks/1l1_ntden2a5-.js +0 -58
- package/out/_next/static/chunks/1m0x2mb91rv2i.js +0 -13
- package/out/_next/static/chunks/1mw35msx036qx.js +0 -66
- package/out/_next/static/chunks/1ou8q3ltdifd1.js +0 -34
- package/out/_next/static/chunks/1prx7jjoz9cq8.js +0 -3
- package/out/_next/static/chunks/1q1js93yqv2ym.js +0 -14
- package/out/_next/static/chunks/1qkgln72hya5g.js +0 -1
- package/out/_next/static/chunks/1qn6du1pk46f0.js +0 -14
- package/out/_next/static/chunks/1r_q8-_cl6_b-.js +0 -23
- package/out/_next/static/chunks/1rirgtcu6_bpa.js +0 -17
- package/out/_next/static/chunks/1rpgl9uhsj7jq.js +0 -28
- package/out/_next/static/chunks/1tzo3v9d5ccon.js +0 -15
- package/out/_next/static/chunks/1uculcrefh01f.js +0 -16
- package/out/_next/static/chunks/1uinfdu-lhddb.js +0 -1
- package/out/_next/static/chunks/1uiqmuia9hpwc.js +0 -32
- package/out/_next/static/chunks/1ukg1j06gk9j7.js +0 -233
- package/out/_next/static/chunks/1v2r-dm5xnwxd.js +0 -95
- package/out/_next/static/chunks/1x8c4f-tlz8oq.js +0 -54
- package/out/_next/static/chunks/1xic7x33en-_t.js +0 -46
- package/out/_next/static/chunks/1y-vwb0-v5xv0.js +0 -304
- package/out/_next/static/chunks/1ymswtxkxcnfi.js +0 -11
- package/out/_next/static/chunks/1yrby6v2msnio.js +0 -13
- package/out/_next/static/chunks/1yx8v1-jzs__q.js +0 -234
- package/out/_next/static/chunks/1yxsj_p-0xiav.js +0 -14
- package/out/_next/static/chunks/2-1ihmwxm5nd8.js +0 -13
- package/out/_next/static/chunks/2-hsn5zne_kbo.js +0 -18
- package/out/_next/static/chunks/20ndjd4r5l6vk.js +0 -1
- package/out/_next/static/chunks/22l-2aehes9lx.js +0 -153
- package/out/_next/static/chunks/23ju3v8ue0m8a.js +0 -8
- package/out/_next/static/chunks/23lmor9w4r767.js +0 -1
- package/out/_next/static/chunks/24p5ic154k1id.js +0 -50
- package/out/_next/static/chunks/250qu8q7duhe7.js +0 -1
- package/out/_next/static/chunks/25asi1rq6d8hb.js +0 -7
- package/out/_next/static/chunks/263u-_eyq54xn.js +0 -155
- package/out/_next/static/chunks/26ca8aneaqvre.js +0 -2
- package/out/_next/static/chunks/27_5des_qn7kz.js +0 -1
- package/out/_next/static/chunks/27ek8w2c2mk46.js +0 -15
- package/out/_next/static/chunks/28d90lqq_6ddl.js +0 -135
- package/out/_next/static/chunks/29yitf66u5w9d.js +0 -1
- package/out/_next/static/chunks/2_3qu55ddb4jo.js +0 -3
- package/out/_next/static/chunks/2b8nhs_3rpawc.js +0 -1
- package/out/_next/static/chunks/2bby8chs2h2zt.js +0 -190
- package/out/_next/static/chunks/2ch1ir5bauqm-.js +0 -41
- package/out/_next/static/chunks/2cwzq52lgg7tg.js +0 -147
- package/out/_next/static/chunks/2dbrybnhe5thu.css +0 -1
- package/out/_next/static/chunks/2dddh3jepg6r9.js +0 -22
- package/out/_next/static/chunks/2epfbio36cp2x.js +0 -13
- package/out/_next/static/chunks/2ev7bgw2foqui.js +0 -12
- package/out/_next/static/chunks/2f0e2t3pz-rua.js +0 -1
- package/out/_next/static/chunks/2ibnigbqfhrjb.js +0 -8
- package/out/_next/static/chunks/2iuu4shi025hv.js +0 -10
- package/out/_next/static/chunks/2n3x1m3a_ria_.js +0 -1
- package/out/_next/static/chunks/2ngg-2uli_wsk.js +0 -17
- package/out/_next/static/chunks/2nofj6ud99639.js +0 -2
- package/out/_next/static/chunks/2onfts3kpe9d8.js +0 -1
- package/out/_next/static/chunks/2rdh3y4-gf0r1.js +0 -7
- package/out/_next/static/chunks/2ry72x6et3uyk.js +0 -235
- package/out/_next/static/chunks/2t2zzfasof1ej.js +0 -18
- package/out/_next/static/chunks/2twd9trj9horc.js +0 -61
- package/out/_next/static/chunks/2uln0xj_hk2xv.js +0 -22
- package/out/_next/static/chunks/2x0c4v5dipld3.js +0 -13
- package/out/_next/static/chunks/2xhllcys1_u52.js +0 -14
- package/out/_next/static/chunks/3-n5bzlk225-y.js +0 -1
- package/out/_next/static/chunks/3154519pby2gj.js +0 -5
- package/out/_next/static/chunks/327jk4epgudqh.js +0 -110
- package/out/_next/static/chunks/334lcmrt6lgtz.js +0 -14
- package/out/_next/static/chunks/33bnjdrokmipf.js +0 -12
- package/out/_next/static/chunks/33g91_yljnpiw.js +0 -807
- package/out/_next/static/chunks/33getgbb1rmpa.js +0 -43
- package/out/_next/static/chunks/342etvf_c28cb.js +0 -39
- package/out/_next/static/chunks/34kqgu8bnykwx.js +0 -315
- package/out/_next/static/chunks/34zya3wqxvl8k.js +0 -19
- package/out/_next/static/chunks/35k7e1g1muu56.js +0 -5
- package/out/_next/static/chunks/399t21noeueqk.js +0 -13
- package/out/_next/static/chunks/39ze4mwy903wm.js +0 -13
- package/out/_next/static/chunks/3_8h-x8lcmhr7.js +0 -339
- package/out/_next/static/chunks/3_j5zrbyysq1g.js +0 -31
- package/out/_next/static/chunks/3a8a8fpl7-ndf.js +0 -1
- package/out/_next/static/chunks/3a9g7ouf888jt.js +0 -1
- package/out/_next/static/chunks/3anxg7pk9-h3t.js +0 -50
- package/out/_next/static/chunks/3blzs4z5wryub.js +0 -1
- package/out/_next/static/chunks/3cfkqo3t0m0es.js +0 -3
- package/out/_next/static/chunks/3coz1fo064u6a.js +0 -12
- package/out/_next/static/chunks/3cr1as0q659er.js +0 -1
- package/out/_next/static/chunks/3crdcex_nrx3o.js +0 -12
- package/out/_next/static/chunks/3crkl2ligc-kt.js +0 -14
- package/out/_next/static/chunks/3d0ic2ovyeue7.js +0 -2
- package/out/_next/static/chunks/3ddaet08eakmw.js +0 -18
- package/out/_next/static/chunks/3dh3x6thy7fef.js +0 -1
- package/out/_next/static/chunks/3e75y5wr7_vem.js +0 -327
- package/out/_next/static/chunks/3e98ykfx_vamf.js +0 -60
- package/out/_next/static/chunks/3eq-uts_yz1e5.js +0 -1
- package/out/_next/static/chunks/3ghzaufs2n8uq.js +0 -2
- package/out/_next/static/chunks/3ie60090urams.js +0 -16
- package/out/_next/static/chunks/3jffivfbeet7f.js +0 -15
- package/out/_next/static/chunks/3mskn3uvx6s77.js +0 -142
- package/out/_next/static/chunks/3oppyz2wurlv-.js +0 -329
- package/out/_next/static/chunks/3p-pioxz8jyip.js +0 -15
- package/out/_next/static/chunks/3po1wffu1pc3k.js +0 -12
- package/out/_next/static/chunks/3rvxjwpm2hkzt.js +0 -13
- package/out/_next/static/chunks/3snnfwi0hsfwy.js +0 -31
- package/out/_next/static/chunks/3so-jsqyai73m.js +0 -1
- package/out/_next/static/chunks/3voheu4m42ctw.js +0 -14
- package/out/_next/static/chunks/3x3oqxb68-ull.js +0 -7
- package/out/_next/static/chunks/3ysj3lx_q697-.js +0 -124
- package/out/_next/static/chunks/3zncjth-kop8p.js +0 -1
- package/out/_next/static/chunks/3zp4iedgev460.js +0 -35
- package/out/_next/static/chunks/40jzqlki-ix7b.js +0 -17
- package/out/_next/static/chunks/4138xi7jgdv_o.js +0 -107
- package/out/_next/static/chunks/413d2n3_vvshb.js +0 -14
- package/out/_next/static/chunks/41mslgyvxwsej.js +0 -1
- package/out/_next/static/chunks/44kw4hk598ruu.js +0 -1
- package/out/_next/static/chunks/44um3bi95nxcy.js +0 -1
- package/out/_next/static/chunks/44xj9eghssy4h.js +0 -1
- package/out/_next/static/chunks/turbopack-00bqo3amk802l.js +0 -1
- package/out/_next/static/chunks/turbopack-00xv5x2980kaw.js +0 -1
- package/out/_next/static/chunks/turbopack-07riv31885zxj.js +0 -1
- package/out/_next/static/chunks/turbopack-0_sc_n1p1bcp9.js +0 -1
- package/out/_next/static/chunks/turbopack-0a3d8s54evtiu.js +0 -1
- package/out/_next/static/chunks/turbopack-0eg08vs3s4808.js +0 -1
- package/out/_next/static/chunks/turbopack-0j5aiynif9rh6.js +0 -1
- package/out/_next/static/chunks/turbopack-0utbjxefp9fml.js +0 -1
- package/out/_next/static/chunks/turbopack-12eu9ngd0g762.js +0 -1
- package/out/_next/static/chunks/turbopack-169mif_3j2xs7.js +0 -1
- package/out/_next/static/chunks/turbopack-16y9ecuw-sg_1.js +0 -1
- package/out/_next/static/chunks/turbopack-19agtluuz9hs9.js +0 -1
- package/out/_next/static/chunks/turbopack-1qm1ao7m24ujy.js +0 -1
- package/out/_next/static/chunks/turbopack-1tefm98ftz444.js +0 -1
- package/out/_next/static/chunks/turbopack-1yd96mx8ypi2r.js +0 -1
- package/out/_next/static/chunks/turbopack-1yr-b62bnm8pn.js +0 -1
- package/out/_next/static/chunks/turbopack-20jztdd3emk_4.js +0 -1
- package/out/_next/static/chunks/turbopack-24wh5-0ze4f20.js +0 -1
- package/out/_next/static/chunks/turbopack-27e97jv6b-s-_.js +0 -1
- package/out/_next/static/chunks/turbopack-2_-s3bsa7fy5n.js +0 -1
- package/out/_next/static/chunks/turbopack-2agmtzzi93gcu.js +0 -1
- package/out/_next/static/chunks/turbopack-2krkwbmqyusjo.js +0 -1
- package/out/_next/static/chunks/turbopack-2ktr6ad7w59-u.js +0 -1
- package/out/_next/static/chunks/turbopack-2o3ztc3qxaqmv.js +0 -1
- package/out/_next/static/chunks/turbopack-2ocojyxy_6ohm.js +0 -1
- package/out/_next/static/chunks/turbopack-2p09rgir8a_rr.js +0 -1
- package/out/_next/static/chunks/turbopack-2s314huts4-ih.js +0 -1
- package/out/_next/static/chunks/turbopack-2uy0-z_9q9r-t.js +0 -1
- package/out/_next/static/chunks/turbopack-2xkr4g1kb-c30.js +0 -1
- package/out/_next/static/chunks/turbopack-38uc2-slitwye.js +0 -1
- package/out/_next/static/chunks/turbopack-3_vxq7t7y83kn.js +0 -1
- package/out/_next/static/chunks/turbopack-3b4ho7bon8y1n.js +0 -1
- package/out/_next/static/chunks/turbopack-3j07f1odh4keh.js +0 -1
- package/out/_next/static/chunks/turbopack-3ldzloccscyev.js +0 -1
- package/out/_next/static/chunks/turbopack-3o2wlpvy73vfc.js +0 -1
- package/out/_next/static/chunks/turbopack-3u8iq4uiukeh-.js +0 -1
- package/out/_next/static/chunks/turbopack-3ywen4wf3l3h-.js +0 -1
- package/out/_next/static/chunks/turbopack-3zajpzv2knbum.js +0 -1
- package/out/_next/static/chunks/turbopack-42c24-sypz5zz.js +0 -1
- /package/dist/{chunk-BYXBJQAS.js → chunk-QWQ3WJJN.js} +0 -0
- /package/out/_next/static/{VYWUvBJY94uiS3jm4HOFN → hH8h6SzcZWEUFySYqRPbW}/_clientMiddlewareManifest.js +0 -0
- /package/out/_next/static/{VYWUvBJY94uiS3jm4HOFN → hH8h6SzcZWEUFySYqRPbW}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,36792,(e,t,r)=>{let s="/users/UserDetailPage";(window.__NEXT_P=window.__NEXT_P||[]).push([s,()=>e.r(2385)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([s])})},30434,e=>{"use strict";var t=e.i(91398),r=e.i(56206),s=e.i(60741);e.s(["default",0,e=>{let{disabled:a,labelClassName:i,containerClassName:l,inputClassName:d,...o}=e,u=(0,s.default)({...e,type:"checkbox"});return(0,t.jsxs)("div",{className:(0,r.default)("",{"text-rose-600":!!u.error,checkbox:!0,disabled:u.disabled,required:u.required},l),children:[(0,t.jsx)("input",{checked:!!u.value,disabled:a,id:u.name,name:u.name,onChange:u.onChange,onBlur:u.onBlur,type:"checkbox",className:(0,r.default)("h-4 w-4 rounded-xs border-border-default bg-white dark:!bg-slate-800 text-indigo-600 dark:text-slate-200 focus:ring-focus-ring",d,e.className),...o}),(0,t.jsx)("label",{htmlFor:u.name,className:(0,r.default)("text-sm text-text-primary",i,{"text-danger":!!u.error}),children:u.label})]})}])},60513,75284,e=>{"use strict";var t=e.i(91788),r=e.i(28401),s=e.i(69322),a=e.i(30086);e.i(51523);var i=e.i(19518),l=e.i(98926),d=e.i(63104),o=e.i(3828);e.s(["useCSVExport",0,()=>{let[e,u]=(0,t.useState)(!1),n=(0,l.useApolloClient)(),c=(0,o.useRouter)(),{addWork:f}=(0,a.default)(),{formatMessage:m}=(0,s.useIntl)(),p=(0,t.useCallback)(async e=>{let{data:t}=await n.query({query:(0,d.GetWorkQuery)(),variables:{workId:e},fetchPolicy:"network-only"});return t?.work??null},[n]);return{isExporting:e,exportCSV:(0,t.useCallback)(async({type:e,pollInterval:t=2e3,...s})=>{u(!0);try{let r=await f({type:i.IWorkType.BulkExport,input:{type:e,...s}}),a=r?.data?.addWork?._id;if(!a)throw Error("Failed to create export work");await new Promise((e,r)=>{let s=setInterval(async()=>{try{let t=await p(a);if(!t)throw Error("Work not found");(t.status===i.IWorkStatus.Success||t.status===i.IWorkStatus.Failed)&&(clearInterval(s),t.status===i.IWorkStatus.Success&&t.success?(c.push(`/exports?workId=${t._id}`),e(t)):r(t.error||Error("Export failed")))}catch(e){clearInterval(s),r(e)}},t)})}catch(e){return console.error("Export failed:",e),r.toast.error(m({id:"export_failed",defaultMessage:"Export failed. Please try again."})),null}finally{u(!1)}},[f,p,c,m])}}],60513);var u=e.i(91398),n=e.i(69211),c=e.i(30434),f=e.i(98949),m=e.i(21128);e.s(["default",0,function({options:e,onSubmit:r,loading:a=!1,successMessage:i=""}){let{formatMessage:l}=(0,s.useIntl)(),d=(0,t.useMemo)(()=>e.reduce((e,t)=>(e[t.key]=t.defaultChecked??!0,e),{}),[e]),o=async e=>(await r(e),{success:!0}),p=(0,f.default)({successMessage:i||l({id:"export_completed",defaultMessage:"Data exported successfully"}),submit:o,enableReinitialize:!0,initialValues:d});return(0,u.jsx)(n.default,{form:p,children:p.api.isSubmitting?(0,u.jsxs)("div",{className:"flex items-center gap-3 p-4 mb-4 rounded-lg animate-pulse",children:[(0,u.jsx)("div",{className:"w-5 h-5 border-2 border-blue-600 border-t-transparent rounded-full animate-spin"}),(0,u.jsx)("span",{className:"text-sm font-medium text-blue-700 dark:text-blue-300",children:l({id:"exporting_message",defaultMessage:"Generating your export files. This may take a moment..."})})]}):(0,u.jsxs)("fieldset",{disabled:a,style:{border:"none",padding:0},children:[(0,u.jsxs)("h3",{children:[" ",l({id:"export_options",defaultMessage:"Export options"})]}),e.map(e=>(0,u.jsx)(c.default,{name:e.key,label:e.label,hideLabel:!0,className:"mr-2 h-4 w-4 justify-between rounded-sm border-border-default bg-white text-slate-950 focus:ring-focus-ring lg:items-center",type:"checkbox"},e.key)),(0,u.jsx)(m.default,{label:l({id:"submit",defaultMessage:"Submit"}),disabled:a})]})})}],75284)},94672,e=>{"use strict";var t=e.i(59080);let r=t.gql`
|
|
2
|
+
fragment WorkFragment on Work {
|
|
3
|
+
_id
|
|
4
|
+
type
|
|
5
|
+
scheduled
|
|
6
|
+
status
|
|
7
|
+
started
|
|
8
|
+
success
|
|
9
|
+
finished
|
|
10
|
+
created
|
|
11
|
+
deleted
|
|
12
|
+
retries
|
|
13
|
+
original {
|
|
14
|
+
_id
|
|
15
|
+
retries
|
|
16
|
+
}
|
|
17
|
+
input
|
|
18
|
+
result
|
|
19
|
+
}
|
|
20
|
+
`;e.s(["default",0,r])},30086,e=>{"use strict";var t=e.i(59080),r=e.i(76204);let s=t.gql`
|
|
21
|
+
mutation AddWork(
|
|
22
|
+
$type: WorkType!
|
|
23
|
+
$priority: Int! = 0
|
|
24
|
+
$input: JSON
|
|
25
|
+
$originalWorkId: ID
|
|
26
|
+
$scheduled: Timestamp
|
|
27
|
+
$retries: Int! = 20
|
|
28
|
+
) {
|
|
29
|
+
addWork(
|
|
30
|
+
type: $type
|
|
31
|
+
priority: $priority
|
|
32
|
+
input: $input
|
|
33
|
+
originalWorkId: $originalWorkId
|
|
34
|
+
scheduled: $scheduled
|
|
35
|
+
retries: $retries
|
|
36
|
+
) {
|
|
37
|
+
_id
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
`;e.s(["default",0,()=>{let[e]=(0,r.useMutation)(s);return{addWork:async({type:t,priority:r,input:s,originalWorkId:a,scheduled:i=null,retries:l})=>e({variables:{type:t,priority:r,input:s,originalWorkId:a,scheduled:i,retries:l},refetchQueries:["WorkQueue"]})}}])},63104,e=>{"use strict";var t=e.i(59080),r=e.i(32171),s=e.i(70693),a=e.i(94672);let i=(e="")=>t.gql`
|
|
41
|
+
query Work($workId: ID!) {
|
|
42
|
+
work(workId: $workId) {
|
|
43
|
+
...WorkFragment
|
|
44
|
+
${e}
|
|
45
|
+
error
|
|
46
|
+
priority
|
|
47
|
+
worker
|
|
48
|
+
timeout
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
${a.default}
|
|
52
|
+
`;e.s(["GetWorkQuery",0,i,"default",0,({workId:e=null,...t})=>{let{customProperties:a}=(0,s.default)(),{data:l,loading:d,error:o,previousData:u}=(0,r.useQuery)(i(a?.Work),{skip:!e,variables:{workId:e},...t});return{work:l?.work||u?.work,loading:d,error:o}}])},2385,e=>{"use strict";var t=e.i(91398),r=e.i(3828);e.i(51523);var s=e.i(19518),a=e.i(69322),i=e.i(59080),l=e.i(32171),d=e.i(70693),o=e.i(2228);let u=i.gql`
|
|
53
|
+
query UserPermissions($userId: ID!) {
|
|
54
|
+
user(userId: $userId) {
|
|
55
|
+
_id
|
|
56
|
+
viewerAllowedActions
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
`;var n=e.i(50595),c=e.i(25327),f=e.i(62274),m=e.i(23745),p=e.i(91788),k=e.i(6607),y=e.i(15971),g=e.i(28401),x=e.i(93380),h=e.i(21623),b=e.i(60513),w=e.i(75284);let v=({userId:e,disabled:r=!1})=>{let{setModal:s}=(0,k.default)(),{exportUser:i,isExporting:l}=(()=>{let{exportCSV:e,isExporting:t}=(0,b.useCSVExport)();return{exportUser:(0,p.useCallback)(async t=>{await e({type:"User",...t})},[e]),isExporting:t}})(),{formatMessage:d}=(0,a.useIntl)(),o=[{key:"exportBookmarks",label:d({id:"bookmarks",defaultMessage:"Bookmarks"}),defaultChecked:!0},{key:"exportOrders",label:d({id:"orders",defaultMessage:"Orders"}),defaultChecked:!0},{key:"exportReviews",label:d({id:"reviews",defaultMessage:"Reviews"}),defaultChecked:!0},{key:"exportQuotations",label:d({id:"quotations",defaultMessage:"Quotations"}),defaultChecked:!0},{key:"exportEnrollments",label:d({id:"enrollments",defaultMessage:"Enrollments"}),defaultChecked:!0}],u=(0,p.useCallback)(async t=>{await i({userId:e,...t}),s(null)},[e,i,s]);return(0,t.jsx)(h.default,{onClick:()=>{s((0,t.jsx)(w.default,{options:o,onSubmit:u,loading:l}))},disabled:l||r,variant:"secondary",text:d(l?{id:"exporting",defaultMessage:"Exporting..."}:{id:"export",defaultMessage:"Export"})})};var I=e.i(72419);e.s(["default",0,({userId:e})=>{let{formatMessage:h}=(0,a.useIntl)(),{setModal:b}=(0,k.default)(),{deleteUser:w}=(0,m.default)(),{user:_,extendedData:C}=(({userId:e=null}={})=>{let{customProperties:t,hydrateFragment:r}=(0,d.default)(),a=!e,{data:n,loading:c,error:f}=(0,l.useQuery)(u,{skip:a,variables:{userId:e},fetchPolicy:"network-only"}),m=n?.user?._id===e?n.user:null,p=m?.viewerAllowedActions,k=e=>p?.includes(e)??!1,{data:y,loading:g,error:x}=(0,l.useQuery)(((e="")=>i.gql`
|
|
60
|
+
query User(
|
|
61
|
+
$userId: ID!
|
|
62
|
+
$includePrivateInfos: Boolean!
|
|
63
|
+
$includeRoles: Boolean!
|
|
64
|
+
$includeOrders: Boolean!
|
|
65
|
+
) {
|
|
66
|
+
user(userId: $userId) {
|
|
67
|
+
_id
|
|
68
|
+
name
|
|
69
|
+
avatar {
|
|
70
|
+
_id
|
|
71
|
+
name
|
|
72
|
+
size
|
|
73
|
+
type
|
|
74
|
+
url
|
|
75
|
+
}
|
|
76
|
+
... @include(if: $includePrivateInfos) {
|
|
77
|
+
${e}
|
|
78
|
+
lastBillingAddress {
|
|
79
|
+
firstName
|
|
80
|
+
lastName
|
|
81
|
+
company
|
|
82
|
+
addressLine
|
|
83
|
+
addressLine2
|
|
84
|
+
postalCode
|
|
85
|
+
countryCode
|
|
86
|
+
regionCode
|
|
87
|
+
city
|
|
88
|
+
}
|
|
89
|
+
lastContact {
|
|
90
|
+
emailAddress
|
|
91
|
+
telNumber
|
|
92
|
+
}
|
|
93
|
+
lastLogin {
|
|
94
|
+
countryCode
|
|
95
|
+
locale
|
|
96
|
+
remoteAddress
|
|
97
|
+
remotePort
|
|
98
|
+
timestamp
|
|
99
|
+
userAgent
|
|
100
|
+
}
|
|
101
|
+
paymentCredentials {
|
|
102
|
+
_id
|
|
103
|
+
isValid
|
|
104
|
+
isPreferred
|
|
105
|
+
paymentProvider {
|
|
106
|
+
_id
|
|
107
|
+
type
|
|
108
|
+
interface {
|
|
109
|
+
_id
|
|
110
|
+
label
|
|
111
|
+
version
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
emails {
|
|
116
|
+
verified
|
|
117
|
+
address
|
|
118
|
+
}
|
|
119
|
+
web3Addresses {
|
|
120
|
+
address
|
|
121
|
+
nonce
|
|
122
|
+
verified
|
|
123
|
+
}
|
|
124
|
+
webAuthnCredentials {
|
|
125
|
+
_id
|
|
126
|
+
created
|
|
127
|
+
aaguid
|
|
128
|
+
counter
|
|
129
|
+
mdsMetadata {
|
|
130
|
+
...MD5MetaDataFragment
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
profile {
|
|
134
|
+
displayName
|
|
135
|
+
phoneMobile
|
|
136
|
+
gender
|
|
137
|
+
address {
|
|
138
|
+
firstName
|
|
139
|
+
lastName
|
|
140
|
+
company
|
|
141
|
+
addressLine
|
|
142
|
+
addressLine2
|
|
143
|
+
postalCode
|
|
144
|
+
countryCode
|
|
145
|
+
regionCode
|
|
146
|
+
city
|
|
147
|
+
}
|
|
148
|
+
birthday
|
|
149
|
+
}
|
|
150
|
+
username
|
|
151
|
+
primaryEmail {
|
|
152
|
+
verified
|
|
153
|
+
address
|
|
154
|
+
}
|
|
155
|
+
isGuest
|
|
156
|
+
isInitialPassword
|
|
157
|
+
tags
|
|
158
|
+
deleted
|
|
159
|
+
}
|
|
160
|
+
... @include(if: $includeRoles) {
|
|
161
|
+
roles
|
|
162
|
+
}
|
|
163
|
+
... @include(if: $includeOrders) {
|
|
164
|
+
cart {
|
|
165
|
+
_id
|
|
166
|
+
items {
|
|
167
|
+
_id
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
orders {
|
|
171
|
+
_id
|
|
172
|
+
items {
|
|
173
|
+
_id
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
${o.default}
|
|
180
|
+
`)(t?.User),{skip:a||!m,variables:{userId:e,includePrivateInfos:k(s.IRoleAction.ViewUserPrivateInfos),includeRoles:k(s.IRoleAction.ViewUserRoles),includeOrders:k(s.IRoleAction.ViewUserOrders)}}),h=m&&y?.user?._id===e?{...m,...y.user}:null,b=k(s.IRoleAction.ViewUserPrivateInfos)?r(t?.User,h):null;return{user:h,loading:c||g,error:f||x,extendedData:b}})({userId:e}),$=(0,r.useRouter)(),j=_?.viewerAllowedActions?.includes(s.IRoleAction.RemoveUser),M=(0,p.useCallback)(async()=>{await b((0,t.jsx)(y.default,{onCancelClick:async()=>b(""),message:h({id:"delete_user_account_confirmation",defaultMessage:"This action might cause inconsistencies with other data that relates to it "}),onOkClick:async()=>{b("");try{await w(_._id),g.toast.success(h({id:"user_deleted",defaultMessage:"User deleted successfully"})),$.push("/users")}catch(e){g.toast.error((0,I.default)(e,h))}},okText:h({id:"delete_user_account",defaultMessage:"Delete user"})}))},[_]);return(0,t.jsxs)("div",{className:" max-w-6xl",children:[(0,t.jsx)(n.default,{currentPageTitle:_?`${_?.name}`:""}),(0,t.jsx)(c.default,{headerText:(0,x.default)(_)||h({id:"users_setting_list_header",defaultMessage:"User settings"}),onDelete:!_?.deleted&&j?M:null,title:h({id:"user_detail_title",defaultMessage:"User {id}"},{id:_?.username}),children:(0,t.jsx)(v,{userId:e,disabled:!_})}),(0,t.jsx)(f.default,{user:_,extendedData:C})]})}],2385)},28805,e=>{e.v(t=>Promise.all(["static/chunks/0h0r_q6xa9qr_.js"].map(t=>e.l(t))).then(()=>t(79466)))},48761,e=>{e.v(t=>Promise.all(["static/chunks/1ae-9ft5cgojf.js"].map(t=>e.l(t))).then(()=>t(93594)))}]);
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,75761,(e,t,s)=>{let r="/works/WorkQueueListView";(window.__NEXT_P=window.__NEXT_P||[]).push([r,()=>e.r(6506)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([r])})},56779,e=>{"use strict";var t=e.i(91398),s=e.i(56206),r=e.i(3828),a=e.i(91788),l=e.i(69322);e.s(["default",0,({children:e,tabItems:i,defaultTab:n,updateRoute:d=!0})=>{let u=(0,r.useRouter)(),{tab:o=n}=u?.query||{},c=Array.isArray(o)?o[0]:o,{formatMessage:f}=(0,l.useIntl)(),m=e=>{if(d){let{sort:t,...s}=u?.query||{};u.push({query:{...s,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:f({id:"select_tab",defaultMessage:"Select a tab"})}),(0,t.jsx)("select",{onChange:e=>m(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-border-default py-2 pl-3 pr-10 text-base capitalize focus:outline-none focus:ring-2 focus:ring-focus-ring focus:border-slate-800 dark:focus:border-slate-400 sm:text-sm",value:c,children:i.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:i.filter(Boolean).map(e=>(0,t.jsx)("a",{id:e.id,tabIndex:0,onClick:()=>m(e.id),onKeyDown:t=>{("Enter"===t.key||" "===t.key)&&(t.preventDefault(),m(e.id))},className:(0,s.default)({"cursor-pointer rounded-lg border border-border-default bg-white text-text-primary dark:bg-slate-900 shadow-sm dark:hover:border-slate-500 hover:border-slate-400 focus:outline-none focus:ring-2 focus:ring-focus-ring focus:ring-offset-2 dark:focus:ring-offset-slate-900":c===e.id},"cursor-pointer relative whitespace-nowrap border border-border-subtle 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-focus-ring 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:a.default.cloneElement(e,{selectedView:c})})]})}])},50647,e=>{"use strict";var t=e.i(91398),s=e.i(91788);e.s(["default",0,({text:e,children:r})=>{let[a,l]=(0,s.useState)(!1);return(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("div",{onMouseEnter:()=>{l(!0)},onMouseLeave:()=>{l(!1)},children:r}),a&&(0,t.jsx)("div",{className:"tooltip absolute p-2 bg-slate-700 text-white rounded-lg whitespace-nowrap",children:e})]})}])},92229,e=>{"use strict";var t=e.i(91398),s=e.i(91788),r=e.i(69322);e.s(["default",0,({selectedStatuses:e,onStatusChange:a,statuses:l})=>{let{formatMessage:i}=(0,r.useIntl)(),[n,d]=(0,s.useState)(e||[]),u=e=>{let t,{value:s,checked:r}=e.target;d(t=r?[...n,s]:n.filter(e=>e!==s)),a(t)};return l?.map(e=>(0,t.jsxs)("div",{className:"inline-flex items-center rounded-md py-2 text-sm font-medium text-slate-900",children:[(0,t.jsx)("input",{className:"h-4 w-4 rounded-sm border-border-default bg-white dark:!bg-slate-800 text-slate-950 focus:ring-focus-ring",type:"checkbox",id:e,name:e,value:e,checked:n.includes(e),onChange:u}),(0,t.jsx)("div",{className:"ml-2",children:(0,t.jsx)("label",{className:"text-sm text-slate-600 dark:text-slate-200",htmlFor:e,children:i({id:e.toLowerCase(),defaultMessage:e})})})]},e))}])},94672,e=>{"use strict";var t=e.i(59080);let s=t.gql`
|
|
2
|
+
fragment WorkFragment on Work {
|
|
3
|
+
_id
|
|
4
|
+
type
|
|
5
|
+
scheduled
|
|
6
|
+
status
|
|
7
|
+
started
|
|
8
|
+
success
|
|
9
|
+
finished
|
|
10
|
+
created
|
|
11
|
+
deleted
|
|
12
|
+
retries
|
|
13
|
+
original {
|
|
14
|
+
_id
|
|
15
|
+
retries
|
|
16
|
+
}
|
|
17
|
+
input
|
|
18
|
+
result
|
|
19
|
+
}
|
|
20
|
+
`;e.s(["default",0,s])},52835,e=>{"use strict";var t=e.i(59080),s=e.i(32171);e.i(51523);var r=e.i(19518),a=e.i(94672);let l=t.gql`
|
|
21
|
+
query WorkQueue(
|
|
22
|
+
$queryString: String
|
|
23
|
+
$offset: Int
|
|
24
|
+
$limit: Int
|
|
25
|
+
$status: [WorkStatus!]
|
|
26
|
+
$types: [WorkType!]
|
|
27
|
+
$created: DateFilterInput
|
|
28
|
+
$sort: [SortOptionInput!]
|
|
29
|
+
) {
|
|
30
|
+
workQueue(
|
|
31
|
+
queryString: $queryString
|
|
32
|
+
offset: $offset
|
|
33
|
+
limit: $limit
|
|
34
|
+
status: $status
|
|
35
|
+
types: $types
|
|
36
|
+
created: $created
|
|
37
|
+
sort: $sort
|
|
38
|
+
) {
|
|
39
|
+
...WorkFragment
|
|
40
|
+
}
|
|
41
|
+
activeWorkTypes
|
|
42
|
+
workQueueCount(
|
|
43
|
+
status: $status
|
|
44
|
+
types: $types
|
|
45
|
+
created: $created
|
|
46
|
+
queryString: $queryString
|
|
47
|
+
)
|
|
48
|
+
}
|
|
49
|
+
${a.default}
|
|
50
|
+
`;e.s(["default",0,({queryString:e="",limit:t=50,status:a,types:i,created:n=null,sort:d=[],offset:u=0,pollInterval:o=1e3,skip:c=!1})=>{let{data:f,loading:m,error:h,fetchMore:x,previousData:g}=(0,s.useQuery)(l,{fetchPolicy:"cache-and-network",pollInterval:c?0:o,skip:c,variables:{queryString:e,offset:u,limit:t,status:a,types:i,created:Object.fromEntries(Object.entries(n||{}).filter(([,e])=>e).map(([e,t])=>[e,t])),sort:(d||[]).length?d:[{key:"scheduled",value:r.ISortDirection.Desc}]}}),p=f?.workQueue||g?.workQueue||[],v=f?.activeWorkTypes||[],j=f?.workQueueCount||0,y=p?.length<j;return{workQueue:p,total:j,activeWorkTypes:v,hasMore:y,loading:m,error:h,loadMore:()=>{x({variables:{offset:p.length}})}}}])},30595,54020,e=>{"use strict";var t=e.i(98170),s=e.i(50216),r=e.i(27861),a=e.i(36980),l=e.i(57322),i=e.i(24323),n=e.i(60836),d=e.i(2848);let u=["years","months","weeks","days","hours","minutes","seconds"];e.s(["default",0,()=>({getScheduledTime:e=>{if(!e)return null;let{scheduled:u,status:o,started:c}=e;if("FAILED"===o||"SUCCESS"===o||"DELETED"===o)return null;let f=new Date(u).getTime();if("ALLOCATED"===o||"NEW"===o&&!c){var m;return m={addSuffix:!0},function(e,t,u){let o,c=(0,r.getDefaultOptions)(),f=u?.locale??c.locale??s.defaultLocale,m=(0,n.compareAsc)(e,t);if(isNaN(m))throw RangeError("Invalid time value");let h=Object.assign({},u,{addSuffix:u?.addSuffix,comparison:m}),[x,g]=(0,i.normalizeDates)(u?.in,...m>0?[t,e]:[e,t]),p=(0,a.getRoundingMethod)(u?.roundingMethod??"round"),v=g.getTime()-x.getTime(),j=v/d.millisecondsInMinute,y=(v-((0,l.getTimezoneOffsetInMilliseconds)(g)-(0,l.getTimezoneOffsetInMilliseconds)(x)))/d.millisecondsInMinute,w=u?.unit;if("second"===(o=w||(j<1?"second":j<60?"minute":j<d.minutesInDay?"hour":y<d.minutesInMonth?"day":y<d.minutesInYear?"month":"year"))){let e=p(v/1e3);return f.formatDistance("xSeconds",e,h)}if("minute"===o){let e=p(j);return f.formatDistance("xMinutes",e,h)}if("hour"===o){let e=p(j/60);return f.formatDistance("xHours",e,h)}if("day"===o){let e=p(y/d.minutesInDay);return f.formatDistance("xDays",e,h)}if("month"===o){let e=p(y/d.minutesInMonth);return 12===e&&"month"!==w?f.formatDistance("xYears",1,h):f.formatDistance("xMonths",e,h)}else{let e=p(y/d.minutesInYear);return f.formatDistance("xYears",e,h)}}(f,(0,t.constructFrom)(f,Date.now()),m)}return null},getDuration:e=>{var t,a;let l,i,n,d,o,c;if(!e)return null;let{started:f,finished:m}=e,h=new Date().getTime();return f?(t={hours:Number(Math.floor((l=m?new Date(m).getTime()-new Date(f).getTime():h-new Date(f).getTime())/1e3/60/60)%24),minutes:Number(Math.floor(l/1e3/60)%60),seconds:Number(Math.ceil(l/1e3)%60)},a={zero:!1},i=(0,r.getDefaultOptions)(),n=a?.locale??i.locale??s.defaultLocale,d=a?.format??u,o=a?.zero??!1,c=a?.delimiter??" ",n.formatDistance?d.reduce((e,s)=>{let r=`x${s.replace(/(^.)/,e=>e.toUpperCase())}`,a=t[s];return void 0!==a&&(o||t[s])?e.concat(n.formatDistance(r,a)):e},[]).join(c):""):null}})],30595);var o=e.i(91398);e.s(["default",0,({work:e,children:t=null})=>e?.original?e?.original?.retries===e?.retries?(0,o.jsxs)("span",{children:[(0,o.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-3 h-3 inline-block text-slate-500 mr-2",children:(0,o.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"})}),t]}):(0,o.jsx)("span",{children:(0,o.jsxs)("span",{children:[(0,o.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-3 h-3 inline-block text-slate-500 mr-2",children:(0,o.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"})}),t,(0,o.jsx)("span",{className:"text-rose-400 text-sm ml-2",children:`${e?.retries} / ${e?.original?.retries}`})]})}):t],54020)},6506,e=>{"use strict";var t=e.i(91398),s=e.i(69322),r=e.i(3828),a=e.i(91788),l=e.i(78704),i=e.i(53576),n=e.i(93924),d=e.i(92229),u=e.i(73319),o=e.i(83147),c=e.i(78205);let f=["NEW","ALLOCATED","SUCCESS","FAILED","DELETED"],m=({workTypes:e=[]})=>{let a=(0,r.useRouter)(),{formatMessage:l}=(0,s.useIntl)(),i=(0,u.extractQuery)(a.query.status),m=(0,u.extractQuery)(a.query.types);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"mt-5 text-md text-slate-600 dark:text-slate-200",children:l({id:"filter_by_creation_date",defaultMessage:"Filter by creation date"})}),(0,t.jsx)("div",{className:"mt-3",children:(0,t.jsx)(c.default,{})}),e?.length?(0,t.jsx)("div",{className:"mt-5",children:(0,t.jsx)(n.default,{label:l({id:"select_type",defaultMessage:"Select type"}),tagList:m,onChange:e=>{let{types:t,...s}=a.query;e?.length?a.push({query:(0,o.normalizeQuery)(s,e?.join(","),"types")}):a.push({query:(0,o.normalizeQuery)(s)})},options:e.map(e=>({label:e,value:e}))})}):null,(0,t.jsxs)("div",{className:"mt-5",children:[(0,t.jsx)("div",{className:"text-md text-text-secondary",children:l({id:"status",defaultMessage:"Status"})}),(0,t.jsx)("div",{className:"flex flex-wrap gap-5",children:(0,t.jsx)(d.default,{onStatusChange:e=>{let{status:t,...s}=a.query;e?.length?a.push({query:(0,o.normalizeQuery)(s,e,"status")}):a.push({query:s})},selectedStatuses:i,statuses:f})})]})]})};var h=e.i(8918),x=e.i(41158),g=e.i(42469),p=e.i(60193),v=e.i(84818),j=e.i(30595),y=e.i(50647),w=e.i(54020);let b=({work:e})=>{let{formatMessage:r}=(0,s.useIntl)(),{formatDateTime:l}=(0,v.default)(),{getScheduledTime:i,getDuration:n}=(0,j.default)(),[,d]=(0,a.useState)(null);(0,a.useEffect)(()=>{let t=null;return e&&("NEW"===e.status||"ALLOCATED"===e.status)&&(t=setInterval(()=>d(Date.now()),1e3)),()=>{clearInterval(t)}},[e?.status]);let u={dateStyle:"short",timeStyle:"short"};return(0,t.jsxs)(h.default.Row,{children:[(0,t.jsx)(h.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm",children:(0,t.jsx)(x.default,{href:`/works?workerId=${e._id}`,className:"text-text-primary",children:(0,t.jsx)(w.default,{work:e,children:e?.type||(0,t.jsxs)(t.Fragment,{children:[e._id," ",(0,t.jsx)(g.default,{color:"blue",text:r({id:"type",defaultMessage:"Type"})})]})})})})}),(0,t.jsx)(h.default.Cell,{children:(0,t.jsx)(g.default,{text:e?.status,color:p.WORK_STATUSES[e.status],square:!0})}),(0,t.jsx)(h.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm",children:e.created?l(e.created,u):"n/a"})}),(0,t.jsx)(h.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm",children:(0,t.jsx)(y.default,{text:l(e?.scheduled,u),children:i(e)})})}),(0,t.jsx)(h.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm",children:e.started?l(e.started,u):"n/a"})}),(0,t.jsx)(h.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm",children:e.finished?l(e.finished,u):"n/a"})}),(0,t.jsx)(h.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm",children:n(e)})})]})},k=({workQueue:e,sortable:r})=>{let{formatMessage:a}=(0,s.useIntl)();return(0,t.jsxs)(h.default,{className:"min-w-full",children:[e?.map(e=>(0,t.jsxs)(h.default.Row,{header:!0,enablesort:r,children:[(0,t.jsx)(h.default.Cell,{sortKey:"type",children:a({id:"work_type_header",defaultMessage:"Type"})}),(0,t.jsx)(h.default.Cell,{sortKey:"status",children:a({id:"status",defaultMessage:"Status"})}),(0,t.jsx)(h.default.Cell,{sortKey:"created",children:a({id:"created",defaultMessage:"Created"})}),(0,t.jsx)(h.default.Cell,{sortKey:"scheduled",defaultSortDirection:"DESC",children:a({id:"scheduled",defaultMessage:"Scheduled"})}),(0,t.jsx)(h.default.Cell,{sortKey:"started",children:a({id:"started",defaultMessage:"Started"})}),(0,t.jsx)(h.default.Cell,{sortKey:"finished",children:a({id:"finished",defaultMessage:"Finished"})}),(0,t.jsx)(h.default.Cell,{children:a({id:"duration",defaultMessage:"Duration"})})]},`${e._id}-header`)),e?.map(e=>(0,t.jsx)(b,{work:e},`${e?._id}-body-${JSON.stringify(e)}`))]})};var S=e.i(38187),C=e.i(95182),C=C;let E=({messageWork:e,childWorks:r,expanded:a,onToggleExpanded:l})=>{let{formatMessage:i}=(0,s.useIntl)(),{formatDateTime:n}=(0,v.default)(),d=((e,t,s)=>{if(Array.isArray(e?.result?.forked)&&0===e.result.forked.length||e?.result?.forked==="[]")return s({id:"message_status_skipped",defaultMessage:"Skipped"});if(!t||0===t.length)return s("SUCCESS"===e.status?{id:"message_status_sent",defaultMessage:"Sent"}:{id:"message_status_processing",defaultMessage:"Processing"});let r=t.some(e=>"SUCCESS"===e.status),a=t.every(e=>"FAILED"===e.status);return s(t.some(e=>"NEW"===e.status||"ALLOCATED"===e.status)?{id:"message_status_sending",defaultMessage:"Sending"}:r&&!a?{id:"message_status_sent",defaultMessage:"Sent"}:a?{id:"message_status_undeliverable",defaultMessage:"Undeliverable"}:{id:"message_status_processing",defaultMessage:"Processing"})})(e,r,i),u=((e,t)=>{if(Array.isArray(e?.result?.forked)&&0===e.result.forked.length||e?.result?.forked==="[]")return"slate";if(!t||0===t.length)return"SUCCESS"===e.status?"green":"yellow";let s=t.some(e=>"SUCCESS"===e.status),r=t.every(e=>"FAILED"===e.status);return t.some(e=>"NEW"===e.status||"ALLOCATED"===e.status)?"blue":s&&!r?"green":r?"red":"yellow"})(e,r),o={dateStyle:"short",timeStyle:"short"},c=Object.entries(r?.reduce((e,t)=>(e[t.type]||(e[t.type]=0),e[t.type]++,e),{})||{}).map(([e,t])=>`${t} ${e}${t>1?"s":""}`).join(", ")||i({id:"no_retries",defaultMessage:"No retries"});return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(h.default.Row,{className:"bg-surface/50",children:[(0,t.jsx)(h.default.Cell,{children:(0,t.jsxs)("div",{className:"flex items-center text-sm",children:[(0,t.jsx)("button",{onClick:l,className:"mr-2 p-1 hover:bg-slate-200 dark:hover:bg-slate-700 rounded",children:a?(0,t.jsx)(S.ChevronDownIcon,{className:"w-4 h-4"}):(0,t.jsx)(C.default,{className:"w-4 h-4"})}),(0,t.jsx)(x.default,{href:`/works?workerId=${e._id}`,className:"text-text-primary font-medium",children:e?.input?.template}),(0,t.jsxs)("span",{className:"ml-2 text-slate-500 text-xs",children:["(",c,")"]})]})}),(0,t.jsx)(h.default.Cell,{children:(0,t.jsx)(g.default,{text:d,color:u,square:!0})}),(0,t.jsx)(h.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm",children:e.created?n(e.created,o):"n/a"})}),(0,t.jsx)(h.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm",children:e.scheduled?n(e.scheduled,o):"n/a"})}),(0,t.jsx)(h.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm",children:e.started?n(e.started,o):"n/a"})}),(0,t.jsx)(h.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm",children:e.finished?n(e.finished,o):"n/a"})}),(0,t.jsx)(h.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm",children:"-"})})]}),a&&r?.map(e=>(0,t.jsxs)(h.default.Row,{className:"bg-slate-25 dark:bg-slate-900/30",children:[(0,t.jsx)(h.default.Cell,{children:(0,t.jsxs)("div",{className:"flex items-center text-sm pl-8",children:[(0,t.jsx)(x.default,{href:`/works?workerId=${e._id}`,className:"text-slate-700 dark:text-slate-400",children:e.type}),e.retries>0&&(0,t.jsxs)("span",{className:"ml-2 text-xs text-orange-600 dark:text-orange-400",children:["(",i({id:"retry_remaining",defaultMessage:"retry"})," ",e.retries,")"]})]})}),(0,t.jsx)(h.default.Cell,{children:(0,t.jsx)(g.default,{text:e.status,color:p.WORK_STATUSES[e.status],square:!0})}),(0,t.jsx)(h.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm",children:e.created?n(e.created,o):"n/a"})}),(0,t.jsx)(h.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm",children:e.scheduled?n(e.scheduled,o):"n/a"})}),(0,t.jsx)(h.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm",children:e.started?n(e.started,o):"n/a"})}),(0,t.jsx)(h.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm",children:e.finished?n(e.finished,o):"n/a"})}),(0,t.jsx)(h.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm",children:"-"})})]},e._id))]})},N=({messageGroups:e,sortable:r,expandedMessages:a,onToggleExpanded:l})=>{let{formatMessage:i}=(0,s.useIntl)();return(0,t.jsxs)(h.default,{className:"min-w-full",children:[(0,t.jsxs)(h.default.Row,{header:!0,enablesort:r,children:[(0,t.jsx)(h.default.Cell,{sortKey:"type",children:i({id:"work_type_header",defaultMessage:"Type"})}),(0,t.jsx)(h.default.Cell,{sortKey:"status",children:i({id:"status",defaultMessage:"Status"})}),(0,t.jsx)(h.default.Cell,{sortKey:"created",children:i({id:"created",defaultMessage:"Created"})}),(0,t.jsx)(h.default.Cell,{sortKey:"scheduled",defaultSortDirection:"DESC",children:i({id:"scheduled",defaultMessage:"Scheduled"})}),(0,t.jsx)(h.default.Cell,{sortKey:"started",children:i({id:"started",defaultMessage:"Started"})}),(0,t.jsx)(h.default.Cell,{sortKey:"finished",children:i({id:"finished",defaultMessage:"Finished"})}),(0,t.jsx)(h.default.Cell,{children:i({id:"duration",defaultMessage:"Duration"})})]}),e.filter(e=>e?.message?.input?.template)?.map(e=>(0,t.jsx)(E,{messageWork:e.message,childWorks:e.children,expanded:a.has(e.message._id),onToggleExpanded:()=>l(e.message._id)},`${e.message._id}-${e?.message?.created}-${e?.message?.status}-${e?.message?.scheduled}-${e?.message?.finished}`))]})};var M=e.i(56779),D=e.i(51128),_=e.i(52835),L=e.i(43547),L=L,I=e.i(85192),T=e.i(59080),A=e.i(32171);let $=T.gql`
|
|
51
|
+
query ActiveWorkTypes {
|
|
52
|
+
activeWorkTypes
|
|
53
|
+
}
|
|
54
|
+
`,q=["MESSAGE","EMAIL","SMS","PUSH"];e.s(["default",0,()=>{let e,{query:n,push:d}=(0,r.useRouter)(),{formatMessage:u}=(0,s.useIntl)(),[c,f]=(0,a.useState)(new Set),{activeWorkTypes:h}=(()=>{let{data:e,loading:t,error:s}=(0,A.useQuery)($);return{activeWorkTypes:e?.activeWorkTypes||[],loading:t,error:s}})(),x=(n.types??"").split(",").filter(Boolean),g=q;n?.tab==="messages"?e=h.filter(e=>q.includes(e)):(g=h.filter(e=>!q.includes(e)),e=x.length?x.filter(e=>!q.includes(e)):g);let v={created:{start:n?.start,end:n?.end},status:n?.status?.split(","),types:e.filter(Boolean)},j=parseInt(n?.limit,10)||p.DefaultLimit,y=parseInt(n?.skip,10)||0,w=n?.sort||"",{queryString:b,workerId:S,...C}=n,E=(0,o.convertSortFieldsToQueryFormat)(w),{workQueue:T,loadMore:O,loading:W,hasMore:R}=(0,_.default)({queryString:b,limit:j,...v,sort:E,offset:y}),{messageGroups:F}=(0,a.useMemo)(()=>({messageGroups:(e=>{if(!e)return[];let t=e.filter(e=>"MESSAGE"===e.type),s=e.filter(e=>e.original&&e.original._id),r=[];return t.forEach(e=>{let t=s.filter(t=>t.original._id===e._id);r.push({message:e,children:t.sort((e,t)=>e.retries-t.retries)})}),r.sort((e,t)=>new Date(t.message.created).getTime()-new Date(e.message.created).getTime())})(T)}),[T]),P=(0,a.useMemo)(()=>[{id:"all",title:u({id:"all_workers",defaultMessage:"All Workers"}),Icon:(0,t.jsx)(I.RectangleStackIcon,{className:"h-5 w-5"})},{id:"messages",title:u({id:"messages",defaultMessage:"Messages"}),Icon:(0,t.jsx)(L.default,{className:"h-5 w-5"})}],[u]),Q=(0,a.useCallback)(e=>{let{skip:t,...s}=C;e?d({query:(0,o.normalizeQuery)(s,e,"queryString")}):d({query:(0,o.normalizeQuery)(C)})},[C,d]),K=(0,a.useCallback)(e=>{f(t=>{let s=new Set(t);return s.has(e)?s.delete(e):s.add(e),s})},[]),z=(0,a.useCallback)(({selectedView:e="all"})=>{let s="messages"===e,r=s?R&&F.length>0:R;return(0,t.jsx)(l.default,{loading:W,hasMore:r,onLoadMore:O,threshold:s?600:200,children:W&&T?.length===0?(0,t.jsx)(i.default,{}):s?(0,t.jsx)(N,{messageGroups:F,sortable:!0,expandedMessages:c,onToggleExpanded:K}):(0,t.jsx)(k,{workQueue:T,sortable:!0})})},[W,R,O,T,F,c,K]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(m,{workTypes:n?.tab==="messages"?[]:g}),(0,t.jsx)(D.default,{onSearchChange:Q,defaultSearchValue:b,children:(0,t.jsx)(M.default,{tabItems:P,defaultTab:"all",children:(0,t.jsx)(z,{})})})]})}],6506)},75565,51358,36832,e=>{"use strict";var t=e.i(91788),s=e.i(15067);e.s(["useEventListener",0,function(e,r,a,l){let i=(0,s.useLatestValue)(a);(0,t.useEffect)(()=>{function t(e){i.current(e)}return(e=null!=e?e:window).addEventListener(r,t,l),()=>e.removeEventListener(r,t,l)},[e,r,l])}],75565);var r=e.i(93481);e.s(["useWatch",0,function(e,s){let a=(0,t.useRef)([]),l=(0,r.useEvent)(e);(0,t.useEffect)(()=>{let e=[...a.current];for(let[t,r]of s.entries())if(a.current[t]!==r){let t=l(s,e);return a.current=s,t}},[l,...s])}],51358);var a=e.i(55367),l=e.i(65383);let i=[];function n(){"loading"!==document.readyState&&((()=>{function e(e){if(!a.isHTMLorSVGElement(e.target)||e.target===document.body||i[0]===e.target)return;let t=e.target;t=t.closest(l.focusableSelector),i.unshift(null!=t?t:e.target),(i=i.filter(e=>null!=e&&e.isConnected)).splice(10)}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})})(),document.removeEventListener("DOMContentLoaded",n))}"u">typeof window&&"u">typeof document&&(document.addEventListener("DOMContentLoaded",n),n()),e.s(["history",()=>i],36832)},76237,e=>{"use strict";var t=e.i(91788);let s=t.forwardRef(function({title:e,titleId:s,...r},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":s},r),e?t.createElement("title",{id:s},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"}))});e.s(["default",0,s])},38187,e=>{"use strict";var t=e.i(76237);e.s(["ChevronDownIcon",()=>t.default])},95182,43547,e=>{"use strict";var t=e.i(91788);let s=t.forwardRef(function({title:e,titleId:s,...r},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":s},r),e?t.createElement("title",{id:s},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m8.25 4.5 7.5 7.5-7.5 7.5"}))});e.s(["default",0,s],95182);let r=t.forwardRef(function({title:e,titleId:s,...r},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":s},r),e?t.createElement("title",{id:s},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21.75 6.75v10.5a2.25 2.25 0 0 1-2.25 2.25h-15a2.25 2.25 0 0 1-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25m19.5 0v.243a2.25 2.25 0 0 1-1.07 1.916l-7.5 4.615a2.25 2.25 0 0 1-2.36 0L3.32 8.91a2.25 2.25 0 0 1-1.07-1.916V6.75"}))});e.s(["default",0,r],43547)},85192,14995,e=>{"use strict";var t=e.i(91788);let s=t.forwardRef(function({title:e,titleId:s,...r},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":s},r),e?t.createElement("title",{id:s},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 6.878V6a2.25 2.25 0 0 1 2.25-2.25h7.5A2.25 2.25 0 0 1 18 6v.878m-12 0c.235-.083.487-.128.75-.128h10.5c.263 0 .515.045.75.128m-12 0A2.25 2.25 0 0 0 4.5 9v.878m13.5-3A2.25 2.25 0 0 1 19.5 9v.878m0 0a2.246 2.246 0 0 0-.75-.128H5.25c-.263 0-.515.045-.75.128m15 0A2.25 2.25 0 0 1 21 12v6a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 18v-6c0-.98.626-1.813 1.5-2.122"}))});e.s(["default",0,s],14995),e.s(["RectangleStackIcon",0,s],85192)},36980,e=>{"use strict";e.s(["getRoundingMethod",0,function(e){return t=>{let s=(e?Math[e]:Math.trunc)(t);return 0===s?0:s}}])},60836,e=>{"use strict";var t=e.i(35113);e.s(["compareAsc",0,function(e,s){let r=(0,t.toDate)(e)-(0,t.toDate)(s);return r<0?-1:r>0?1:r}])},28805,e=>{e.v(t=>Promise.all(["static/chunks/0h0r_q6xa9qr_.js"].map(t=>e.l(t))).then(()=>t(79466)))},48761,e=>{e.v(t=>Promise.all(["static/chunks/2ljoq6sr-g2da.js"].map(t=>e.l(t))).then(()=>t(93594)))},13521,(e,t,s)=>{"use strict";e.i(50461),Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"ImageConfigContext",{enumerable:!0,get:function(){return l}});let r=e.r(41705)._(e.r(91788)),a=e.r(15125),l=r.default.createContext(a.imageConfigDefault)},15125,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0});var r={VALID_LOADERS:function(){return l},imageConfigDefault:function(){return i}};for(var a in r)Object.defineProperty(s,a,{enumerable:!0,get:r[a]});let l=["default","imgix","cloudinary","akamai","custom"],i={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1,customCacheHandler:!1}},40238,(e,t,s)=>{"use strict";var r=e.r(91788),a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},l=r.useSyncExternalStore,i=r.useRef,n=r.useEffect,d=r.useMemo,u=r.useDebugValue;s.useSyncExternalStoreWithSelector=function(e,t,s,r,o){var c=i(null);if(null===c.current){var f={hasValue:!1,value:null};c.current=f}else f=c.current;var m=l(e,(c=d(function(){function e(e){if(!n){if(n=!0,l=e,e=r(e),void 0!==o&&f.hasValue){var t=f.value;if(o(t,e))return i=t}return i=e}if(t=i,a(l,e))return t;var s=r(e);return void 0!==o&&o(t,s)?(l=e,t):(l=e,i=s)}var l,i,n=!1,d=void 0===s?null:s;return[function(){return e(t())},null===d?void 0:function(){return e(d())}]},[t,s,r,o]))[0],c[1]);return n(function(){f.hasValue=!0,f.value=m},[m]),u(m),m}},19979,(e,t,s)=>{"use strict";e.i(50461),t.exports=e.r(40238)}]);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
__turbopack_load_page_chunks__("/orders/OrderDetailPage", [
|
|
2
|
+
"static/chunks/1gt65pz91hyuz.js",
|
|
3
|
+
"static/chunks/1k4ep4igedo8p.js",
|
|
4
|
+
"static/chunks/3ti7tims6gz1j.js",
|
|
5
|
+
"static/chunks/33emlry70k-lv.js",
|
|
6
|
+
"static/chunks/3yvmkdc088aly.js",
|
|
7
|
+
"static/chunks/252jebodi67kg.js",
|
|
8
|
+
"static/chunks/05nn5xr3ufcsh.js",
|
|
9
|
+
"static/chunks/0jeddko6bac8h.js",
|
|
10
|
+
"static/chunks/41e2wlkp9_pvk.js",
|
|
11
|
+
"static/chunks/13u_a5l2xngm4.js",
|
|
12
|
+
"static/chunks/3oz5p4rrvnew1.js",
|
|
13
|
+
"static/chunks/3cq123yj25_36.js",
|
|
14
|
+
"static/chunks/1x-t9f0f5vr10.js",
|
|
15
|
+
"static/chunks/0rqjr_lmrk4pz.js",
|
|
16
|
+
"static/chunks/turbopack-0dj-aua684j9c.js"
|
|
17
|
+
])
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
__turbopack_load_page_chunks__("/sign-up", [
|
|
2
|
+
"static/chunks/1dt9_bzfioi8a.js",
|
|
3
|
+
"static/chunks/3yvmkdc088aly.js",
|
|
4
|
+
"static/chunks/3cq123yj25_36.js",
|
|
5
|
+
"static/chunks/33emlry70k-lv.js",
|
|
6
|
+
"static/chunks/1srfjl1rurrm9.js",
|
|
7
|
+
"static/chunks/0jeddko6bac8h.js",
|
|
8
|
+
"static/chunks/0rqjr_lmrk4pz.js",
|
|
9
|
+
"static/chunks/36zrtyhmqlx_n.js",
|
|
10
|
+
"static/chunks/252jebodi67kg.js",
|
|
11
|
+
"static/chunks/41e2wlkp9_pvk.js",
|
|
12
|
+
"static/chunks/turbopack-4025_4zwqnrk-.js"
|
|
13
|
+
])
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,56779,e=>{"use strict";var t=e.i(91398),r=e.i(56206),a=e.i(3828),s=e.i(91788),l=e.i(69322);e.s(["default",0,({children:e,tabItems:i,defaultTab:n,updateRoute:o=!0})=>{let u=(0,a.useRouter)(),{tab:d=n}=u?.query||{},c=Array.isArray(d)?d[0]:d,{formatMessage:f}=(0,l.useIntl)(),m=e=>{if(o){let{sort:t,...r}=u?.query||{};u.push({query:{...r,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:f({id:"select_tab",defaultMessage:"Select a tab"})}),(0,t.jsx)("select",{onChange:e=>m(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-border-default py-2 pl-3 pr-10 text-base capitalize focus:outline-none focus:ring-2 focus:ring-focus-ring focus:border-slate-800 dark:focus:border-slate-400 sm:text-sm",value:c,children:i.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:i.filter(Boolean).map(e=>(0,t.jsx)("a",{id:e.id,tabIndex:0,onClick:()=>m(e.id),onKeyDown:t=>{("Enter"===t.key||" "===t.key)&&(t.preventDefault(),m(e.id))},className:(0,r.default)({"cursor-pointer rounded-lg border border-border-default bg-white text-text-primary dark:bg-slate-900 shadow-sm dark:hover:border-slate-500 hover:border-slate-400 focus:outline-none focus:ring-2 focus:ring-focus-ring focus:ring-offset-2 dark:focus:ring-offset-slate-900":c===e.id},"cursor-pointer relative whitespace-nowrap border border-border-subtle 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-focus-ring 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:s.default.cloneElement(e,{selectedView:c})})]})}])},6634,e=>{"use strict";var t=e.i(91398),r=e.i(56206),a=e.i(3828),s=e.i(83147);e.s(["default",0,({toggleText:e="",toggleKey:l=null,onToggle:i=null,active:n=!1,className:o="",disabled:u=!1,...d})=>{let c=(0,a.useRouter)(),f=c?.query?.[l]==="true"||n;return(0,t.jsxs)("div",{className:(0,r.default)("",o),children:[(0,t.jsxs)("button",{id:l,disabled:u,type:"button",className:(0,r.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-focus-ring focus:ring-offset-2",{"bg-slate-200 dark:bg-slate-700":!f,"bg-emerald-500 dark:bg-emerald-600 shadow-sm":f}),role:"switch",onClick:i||(()=>{let{skip:e,...t}=c.query;c.push({query:(0,s.normalizeQuery)(t,!f,l)})}),"aria-checked":f?"true":"false",...d,children:[(0,t.jsx)("span",{className:"sr-only",children:e}),(0,t.jsxs)("span",{className:(0,r.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":f,"translate-x-0":!f}),children:[(0,t.jsx)("span",{className:(0,r.default)("absolute inset-0 flex h-full w-full items-center justify-center transition-opacity",{"opacity-0 duration-100 ease-out":f,"opacity-100 duration-200 ease-in":!f}),"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,r.default)("absolute inset-0 flex h-full w-full items-center justify-center transition-opacity",{"opacity-100 duration-200 ease-in":f,"opacity-0 duration-100 ease-out":!f}),"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-text-primary",children:e})})]})}])},54879,e=>{"use strict";var t=e.i(91398),r=e.i(56206);e.s(["default",0,({children:e,className:a,error:s,disabled:l,required:i,name:n,label:o,hideLabel:u,labelClassName:d})=>(0,t.jsxs)("div",{className:(0,r.default)("container",{"is-invalid":!!s,disabled:l,required:i},a),children:[(0,t.jsx)("label",{"aria-label":o,htmlFor:n,className:(0,r.default)("mb-2 block text-left text-sm font-light text-text-secondary",{"mt-1 rounded-sm border border-rose-100 dark:border-rose-800 bg-rose-50 dark:bg-rose-900/20 p-2 pl-4 text-rose-700 dark:text-rose-400":!!s,"sr-only":u},d),children:s||o}),e]})])},21128,e=>{"use strict";var t=e.i(91398),r=e.i(56206),a=e.i(58021),s=e.i(61898);e.s(["default",0,({label:e,disabled:l=!1,className:i="",hidden:n=!1,...o})=>{let{formState:u}=(0,a.useFormContext)(),{...d}=o,c=Object.keys(u.errors).length>0&&Object.values(u.errors).some(e=>!!e),{disabled:f}=(0,s.default)(),m=l||f||u.isSubmitting||c,p=u.isSubmitting&&!c,h=(l||f||c)&&!u.isSubmitting;return(0,t.jsx)("input",{className:(0,r.default)("inline-flex cursor-pointer justify-center rounded-sm border border-slate-300 px-4 py-2 text-center text-sm font-medium leading-5 shadow-sm hover:shadow-md focus:ring-focus-ring",i,{"bg-rose-50 dark:bg-slate-800 dark:text-rose-300 cursor-not-allowed border-rose-300 dark:border-rose-600 text-rose-900":h,"bg-slate-600 dark:bg-slate-700 text-white cursor-not-allowed border-slate-400 dark:border-slate-600":p,"bg-accent text-text-on-accent hover:bg-accent-hover focus:outline-hidden focus:ring-2 focus:ring-offset-2 border-transparent":!m,hidden:n}),"aria-label":e,type:"submit",value:e,disabled:m,...d})}])},16984,e=>{"use strict";var t=e.i(91398),r=e.i(56206),a=e.i(82226),s=e.i(60741),l=e.i(54879);e.s(["default",0,({maxLength:e=0,validators:i=[],...n})=>{let o=(0,s.default)({validators:[...i,e&&(0,a.validateMaxLength)(e)],...n});return(0,t.jsx)(l.default,{...o,children:(0,t.jsx)("input",{className:(0,r.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-focus-ring 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})})}])},31494,e=>{"use strict";var t=e.i(91398),r=e.i(69322),a=e.i(84818),s=e.i(87284),l=e.i(6634);let i=({value:e})=>{let{formatDateTime:i}=(0,a.default)(),{formatMessage:n}=(0,r.useIntl)();return(e=>{try{return new URL(e)}catch{return!1}})(e)?(e=>{try{let{pathname:t}=new URL(e),r=t?.split("."),a=`.${r[r.length-1]}`;return[".jpg",".jpeg",".png",".gif",".bmp"].includes(a)}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)(s.default,{src:e,className:"relative h-10 w-10 rounded-full",width:100,height:100,alt:n({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))?i(e,{dateStyle:"long",timeStyle:"short"}):(!Number.isNaN(e),e)},n=({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:r,parentKey:a}=e;if(!r)return null;let s=Object.keys(r),l=[];return void 0!==a&&l.push((0,t.jsx)(n,{value:a},a)),s.forEach(e=>{let s=r[e];if(Array.isArray(s))if(l.push((0,t.jsx)(n,{value:e},e)),s.every(e=>"string"==typeof e||"number"==typeof e))l.push((0,t.jsx)("div",{className:" p-2",children:s?.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)(i,{value:e})},e))},e));else{let r=[];s.forEach((e,a)=>{r.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:a})},a))}),l.push((0,t.jsx)("ul",{className:"divide-y divide-slate-200 rounded-md ",children:r},e))}else"object"==typeof s?l.push(o({data:s,parentKey:e})):void 0===a?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)(n,{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)(i,{value:s})})]},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)(n,{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)(i,{value:s})})]},e))}),(0,t.jsx)("div",{className:" bg-white px-4 py-5 ",children:(0,t.jsx)("dl",{children:l})})};e.s(["default",0,o])},5505,e=>{"use strict";var t=e.i(91398),r=e.i(91788),a=e.i(56206);let s=(0,r.createContext)(!1);e.s(["FormWrapperContext",0,s,"default",0,({children:e,className:r=""})=>(0,t.jsx)(s.Provider,{value:!0,children:(0,t.jsx)("div",{className:"sm:max-w-full",children:(0,t.jsx)("div",{className:(0,a.default)("bg-surface rounded-md shadow-sm overflow-hidden",r),children:e})})})])},60195,e=>{"use strict";var t=e.i(91398),r=e.i(56206);e.s(["default",0,({documentationLabel:e,documentation:a=null,mainContent:s=null,sideComponents:l=null,className:i=null,children:n})=>(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:(0,r.default)("mt-5 lg:grid lg:grid-cols-3 lg:gap-6",i),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-text-primary",children:e}),(0,t.jsx)("div",{className:"mt-1 text-sm text-slate-600 dark:text-slate-500",children:a}),l]})}),(0,t.jsx)("div",{className:"lg:col-span-2 lg:mt-0",children:n||s})]})})])},73319,e=>{"use strict";let t=e=>"[object Object]"===Object.prototype.toString.call(e);e.s(["extractQuery",0,e=>decodeURIComponent(e||[])?.split(",")?.filter(Boolean),"isObject",0,t,"isTruthy",0,e=>!(!e||null==e||t(e)&&!Object.keys(e).length||Array.isArray(e)&&!e.length)])},69211,e=>{"use strict";var t=e.i(91398),r=e.i(58021),a=e.i(60170);e.s(["default",0,({form:e,children:s,className:l="",...i})=>(0,t.jsx)(a.default.Provider,{value:e,children:(0,t.jsx)(r.FormProvider,{...e.rhf,children:(0,t.jsx)("form",{onReset:()=>e.api.handleReset(),onSubmit:e.api.handleSubmit,method:"POST",className:l,...i,children:s})})})])},60741,e=>{"use strict";var t=e.i(91788),r=e.i(69322),a=e.i(58021),s=e.i(82226),l=e.i(61898);e.s(["default",0,e=>{let i=(0,r.useIntl)(),{rhf:n,...o}=(0,l.default)(),{name:u,required:d,errorMessage:c,disabled:f=o.disabled||n?.formState?.isSubmitting,label:m=i.formatMessage({id:u,defaultMessage:"default_input_name",description:"DO not translate Skip this as it's the default given label when a component is not provided explicit label"}),validators:p=[]}=e,h=[...p,d&&s.validateRequired].filter(Boolean),g=e=>h.reduce((t,{isValid:r,intlMessageDescriptor:a,intlMessageValues:s})=>t||r(e)?t:c||i.formatMessage(a,{label:m,...s}),""),x=(0,t.useRef)(g);x.current=g;let{field:b,fieldState:v,formState:y}=(0,a.useController)({name:u,control:n?.control,rules:{validate:e=>x.current(e)||!0}}),j=(v.isTouched||y.isSubmitted)&&v.error?.message;return{...e,name:u,error:j,label:m,disabled:f,required:d,onChange:t=>{if(e.onChange&&e.onChange(t),"number"===e.type){let e=t?.target?.value,r=""===e||null==e?null:Number(e);b.onChange(r)}else b.onChange(t)},onBlur:b.onBlur,value:null==b.value?"":b.value,setValue:(e,t)=>{n?.setValue(u,e,{shouldDirty:!0,shouldValidate:t??!1})},setError:e=>{e?n?.setError(u,{type:"manual",message:e}):n?.clearErrors(u)},setTouched:e=>{e&&n?.trigger(u)}}}])},98949,e=>{"use strict";var t=e.i(91788),r=e.i(58021),a=e.i(69322),s=e.i(28401),l=e.i(73319);let i=e=>""===e||"string"==typeof e&&e?.trim()===""?null:"string"==typeof e&&e.length?e.trim():Array.isArray(e)&&e?.length&&"string"==typeof e[0]?e.map(e=>i(e)):Array.isArray(e)&&e?.length&&(0,l.isObject)(e[0])?e.map(e=>Object.fromEntries(Object.entries(e).map(([e,t])=>[e,i(t)]))):e,n=e=>e&&"object"==typeof e?"string"==typeof e.message&&e.message?e.message:Array.isArray(e)?e.map(e=>n(e)):Object.fromEntries(Object.entries(e).filter(([e])=>"ref"!==e).map(([e,t])=>[e,n(t)])):e;e.s(["default",0,({submit:e,getSubmitErrorMessage:l=()=>"",onSubmitSuccess:o=()=>!0,initialValues:u,initialErrors:d,initialTouched:c,successMessage:f,enableReinitialize:m,validate:p,disabled:h=!1})=>{let g=(0,a.useIntl)(),[x,b]=(0,t.useState)(""),v=(0,r.useForm)({mode:"onTouched",defaultValues:u,values:m?u:void 0,errors:d?Object.fromEntries(Object.entries(d).map(([e,t])=>[e,{type:"manual",message:t}])):void 0}),y=(0,t.useCallback)(e=>{let t=e?.errors?.[0];return g.formatMessage({id:"error_server",defaultMessage:"{details}"},{details:t?.message||""})},[g]),j=(0,t.useCallback)(async t=>{let r=!0;try{let a=await e(Object.fromEntries(Object.entries(t).map(([e,t])=>[e,i(t)]))),n=("boolean"==typeof a?a:a?.success)??!a?.error;if(n)f&&s.toast.success(f),await o(n,a?.data||t);else{let e="boolean"==typeof a?!a:a?.error;Array.isArray(e)?e.forEach(e=>{r=!1,b(l(e)||y(e))}):(r=!1,b(l(e)||y(e)))}}catch(e){r=!1,b(l(e)||y(e))}r&&b("")},[e,f,o,l,y]);return{submitError:x,api:(0,t.useMemo)(()=>({setFieldError:(e,t)=>{v.setError(e,{type:"manual",message:t})},setFieldValue:(e,t)=>{v.setValue(e,t,{shouldDirty:!0,shouldTouch:!0})},setValues:e=>{v.reset(e,{keepDirtyValues:!1,keepErrors:!1})},get values(){return v.getValues()},get isValid(){return v.formState.isValid},get isSubmitting(){return v.formState.isSubmitting},handleSubmit:v.handleSubmit(j),handleReset:()=>{v.reset()},resetForm:e=>{v.reset(e||u)},submitForm:()=>{v.handleSubmit(j)()},getFieldMeta:e=>{let t=v.getFieldState(e,v.formState);return{error:t.error?.message,touched:t.isTouched}},get initialValues(){return u},get errors(){return n(v.formState.errors)}}),[v,j,u]),rhf:v,setSubmitError:b,disabled:h}}],98949)},61898,e=>{"use strict";var t=e.i(91788),r=e.i(60170);e.s(["default",0,()=>(0,t.useContext)(r.default)])},60170,e=>{"use strict";let t=e.i(91788).default.createContext({submitError:"",rhf:null,api:null,setSubmitError:()=>{},disabled:!1});e.s(["default",0,t])},82226,e=>{"use strict";var t=e.i(73663),r=e.i(12051),a=e.i(35113),s=e.i(9356),l=e.i(49543);e.i(69322);let i=["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BR","BS","BT","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GH","GI","GL","GM","GN","GQ","GR","GT","GU","GW","GY","HK","HN","HR","HT","HU","ID","IE","IL","IM","IN","IQ","IR","IS","IT","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PT","PW","PY","QA","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SK","SL","SM","SN","SO","SR","ST","SV","SY","SZ","TC","TD","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","XK","YE","YT","ZA","ZM","ZW"],n=["ab","aa","af","ak","sq","am","ar","an","hy","as","av","ae","ay","az","bm","ba","eu","be","bn","bh","bi","bs","br","bg","my","ca","ch","ce","ny","zh","cv","kw","co","cr","hr","cs","da","dv","nl","en","eo","et","ee","fo","fj","fi","fr","ff","gl","ka","de","el","gn","gu","ht","ha","he","hz","hi","ho","hu","ia","id","ie","ga","ig","ik","io","is","it","iu","ja","jv","kl","kn","kr","ks","kk","km","ki","rw","ky","kv","kg","ko","ku","kj","la","lb","lg","li","ln","lo","lt","lu","lv","gv","mk","mg","ms","ml","mt","mi","mr","mh","mn","na","nv","nb","nd","ne","ng","nn","no","ii","nr","oc","oj","cu","om","or","os","pa","pi","fa","pl","ps","pt","qu","rm","rn","ro","ru","sa","sc","sd","se","sm","sg","sr","gd","sn","si","sk","sl","so","st","es","su","sw","ss","sv","ta","te","tg","th","ti","bo","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","cy","wo","fy","xh","yi","yo","za"];e.s(["isContractAddress",0,(e=!1)=>({isValid:t=>!e&&!t||/^(0x)?[a-z0-9]{40}$/i.test(t),intlMessageDescriptor:{id:"error_contract_address",defaultMessage:"Invalid contract address"}}),"validateBirthdate",0,{isValid:e=>{if(!e)return!0;let t=new Date(e);if(!(0,s.isValid)(t))return!1;let r=(0,l.startOfDay)(new Date);return!(+(0,a.toDate)(t)>+(0,a.toDate)(r))},intlMessageDescriptor:{id:"error_birthdate_in_future",defaultMessage:"{label} cannot be in the future"}},"validateCountry",0,()=>({isValid:e=>i.includes(e.toUpperCase()),intlMessageDescriptor:{id:"error_country_code",defaultMessage:"Invalid country code"}}),"validateDate",0,{isValid:e=>!e||(0,s.isValid)(new Date(e)),intlMessageDescriptor:{id:"error_invalid_date",defaultMessage:"{label} is not a valid date"}},"validateEmail",0,{isValid:e=>(0,r.default)(e||""),intlMessageDescriptor:{id:"error_email",defaultMessage:"{label} must be a valid email address"}},"validateInteger",0,()=>({isValid:e=>null==e||""===e||!Number.isNaN(e)&&Number.isInteger(Number(e)),intlMessageDescriptor:{id:"error_number_not_int",defaultMessage:"Invalid value please provide integer value"}}),"validateLanguage",0,()=>({isValid:e=>n.includes(e?.toLowerCase()),intlMessageDescriptor:{id:"error_language_code",defaultMessage:"Invalid language code"}}),"validateMaxLength",0,e=>({isValid:r=>(0,t.default)(r||"",{max:e}),intlMessageDescriptor:{id:"error_max_length"},intlMessageValues:{maxLength:e.toString()}}),"validateProductCommerce",0,(e,t)=>({isValid:()=>{let r="function"==typeof t?t():t;if(!r?.length||r?.length===1)return!0;let a=r[e];return r.filter((t,r)=>r!==e).every(({minQuantity:e,countryCode:t,currencyCode:r})=>e!==a?.minQuantity||t!==a?.countryCode||r!==a?.currencyCode)},intlMessageDescriptor:{id:"error_same_product_prices",defaultMessage:"{label} can not be equal for a price with the same country and currency"}}),"validateProductCommerceOneZero",0,e=>({isValid:()=>{let t="function"==typeof e?e():e;if(!t?.length)return!0;let r=e=>null===e||""===e||void 0===e||0===Number(e);return(1!==t.length||!!r(t[0].minQuantity))&&t.filter(({minQuantity:e})=>r(e))?.length===1},intlMessageDescriptor:{id:"error_commerce_quantity_null_required",defaultMessage:"{label} should have one price with min quantity of 0 or empty"}}),"validateRequired",0,{isValid:e=>"string"==typeof e?e.trim().length>0:"number"==typeof e||(Array.isArray(e)?e.length>0:!!e),intlMessageDescriptor:{id:"error_required",defaultMessage:"{label} is a required field"}},"validateRequiredTag",0,e=>({isValid:t=>!e||t.length>0,intlMessageDescriptor:{id:"error_tag_required",defaultMessage:"{label} you must provide at least one tag"}})],82226)},58668,e=>{"use strict";var t=e.i(91398),r=e.i(91788);class a extends r.default.Component{constructor(e){super(e),this.state={hasError:!1,error:null}}static getDerivedStateFromError(e){return{hasError:!0,error:e}}componentDidCatch(e,t){console.error(`Plugin "${this.props.pluginName}" crashed in component "${this.props.componentName}":`,e,t)}render(){return this.state.hasError?(0,t.jsx)("div",{className:"rounded-lg border border-danger bg-danger-surface p-4 my-2",children:(0,t.jsxs)("div",{className:"flex items-start justify-between",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("p",{className:"text-sm font-medium text-danger",children:['Plugin "',this.props.pluginName,'" encountered an error']}),(0,t.jsxs)("p",{className:"text-xs text-text-muted mt-1",children:["Component: ",this.props.componentName]}),this.state.error&&(0,t.jsxs)("details",{className:"mt-2",children:[(0,t.jsx)("summary",{className:"text-xs text-text-muted cursor-pointer hover:text-text-secondary",children:"Error details"}),(0,t.jsxs)("pre",{className:"mt-1 text-xs text-text-muted whitespace-pre-wrap break-words font-mono bg-surface p-2 rounded max-h-32 overflow-auto",children:[this.state.error.message,this.state.error.stack&&`
|
|
2
|
+
${this.state.error.stack.split("\n").slice(1,4).join("\n")}`]})]})]}),(0,t.jsxs)("button",{onClick:()=>this.setState({hasError:!1,error:null}),className:"ml-4 shrink-0 inline-flex items-center gap-1 rounded-md border border-border bg-surface px-3 py-1.5 text-xs font-medium text-text-primary hover:bg-surface-raised transition-colors",children:[(0,t.jsx)("svg",{className:"h-3 w-3",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0l3.181 3.183a8.25 8.25 0 0013.803-3.7M4.031 9.865a8.25 8.25 0 0113.803-3.7l3.181 3.182"})}),"Retry"]})]})}):this.props.children}}e.s(["default",0,a])},70475,e=>{"use strict";var t=e.i(91398),r=e.i(91788),a=e.i(13534),s=e.i(26539),l=e.i(58668),i=e.i(53576);e.s(["default",0,({slot:e,children:n,...o})=>{let{getSlotPlugins:u,getComponent:d,loading:c}=(0,a.usePlugins)();if(c)return null;let f=u(e);return 0===f.length?null:(0,t.jsx)(t.Fragment,{children:f.map(({manifest:a,config:u})=>{let c=u.component||u.components?.list,f=d(a.name,c);if(!f)return console.warn(`Plugin "${a.name}": component "${c}" not found in bundle`),null;let m={pluginName:a.name,version:a.version,slotId:e,config:u};return(0,t.jsx)(l.default,{pluginName:a.name,componentName:c,children:(0,t.jsx)(s.PluginRuntimeProvider,{value:m,children:(0,t.jsx)(r.Suspense,{fallback:(0,t.jsx)(i.default,{}),children:n?n(f,u,a):(0,t.jsx)(f,{...o})})})},`${a.name}-${c}`)})})}])},76929,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...a},s){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":r},a),e?t.createElement("title",{id:r},e):null,t.createElement("path",{d:"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,r],76929)},78262,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){if(null==e)throw TypeError("Expected a string but received a ".concat(e));if("String"!==e.constructor.name)throw TypeError("Expected a string but received a ".concat(e.constructor.name))},t.exports=r.default,t.exports.default=r.default},73663,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){(0,s.default)(e),"object"===l(t)?(r=t.min||0,a=t.max):(r=arguments[1]||0,a=arguments[2]);var r,a,i=e.match(/[^\uFE0F\uFE0E][\uFE0F\uFE0E]/g)||[],n=e.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g)||[],o=e.length-i.length-n.length,u=o>=r&&(void 0===a||o<=a);return u&&Array.isArray(null==t?void 0:t.discreteLengths)?t.discreteLengths.some(function(e){return e===o}):u};var a,s=(a=e.r(78262))&&a.__esModule?a:{default:a};function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.exports=r.default,t.exports.default=r.default},80930,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){for(var r=0;r<t.length;r++){var a=t[r];if(e===a||"[object RegExp]"===Object.prototype.toString.call(a)&&a.test(e))return!0}return!1},t.exports=r.default,t.exports.default=r.default},60054,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){(0,s.default)(e),"object"===l(t)?(r=t.min||0,a=t.max):(r=arguments[1],a=arguments[2]);var r,a,i=encodeURI(e).split(/%..|./).length-1;return i>=r&&(void 0===a||i<=a)};var a,s=(a=e.r(78262))&&a.__esModule?a:{default:a};function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.exports=r.default,t.exports.default=r.default},34058,(e,t,r)=>{"use strict";function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;for(var r in("object"!==a(e)||null===e)&&(e={}),t)void 0===e[r]&&(e[r]=t[r]);return e},t.exports=r.default,t.exports.default=r.default},96184,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){(0,a.default)(e),(t=(0,s.default)(t,i)).allow_trailing_dot&&"."===e[e.length-1]&&(e=e.substring(0,e.length-1)),!0===t.allow_wildcard&&0===e.indexOf("*.")&&(e=e.substring(2));var r=e.split("."),l=r[r.length-1];return!(t.require_tld&&(r.length<2||!t.allow_numeric_tld&&!/^([a-z\u00A1-\u00A8\u00AA-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}|xn[a-z0-9-]{2,})$/i.test(l)||/\s/.test(l)))&&!(!t.allow_numeric_tld&&/^\d+$/.test(l))&&r.every(function(e){return!(e.length>63&&!t.ignore_max_length||!/^[a-z_\u00a1-\uffff0-9-]+$/i.test(e)||/[\uff01-\uff5e]/.test(e)||/^-|-$/.test(e)||!t.allow_underscores&&/_/.test(e))})};var a=l(e.r(78262)),s=l(e.r(34058));function l(e){return e&&e.__esModule?e:{default:e}}var i={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_numeric_tld:!1,allow_wildcard:!1,ignore_max_length:!1};t.exports=r.default,t.exports.default=r.default},90498,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,s.default)(t);var a=("object"===l(r)?r.version:arguments[1])||"";return a?"4"===a.toString()?o.test(t):"6"===a.toString()&&d.test(t):e(t,{version:4})||e(t,{version:6})};var a,s=(a=e.r(78262))&&a.__esModule?a:{default:a};function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i="(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])",n="(".concat(i,"[.]){3}").concat(i),o=new RegExp("^".concat(n,"$")),u="(?:[0-9a-fA-F]{1,4})",d=RegExp("^("+"(?:".concat(u,":){7}(?:").concat(u,"|:)|")+"(?:".concat(u,":){6}(?:").concat(n,"|:").concat(u,"|:)|")+"(?:".concat(u,":){5}(?::").concat(n,"|(:").concat(u,"){1,2}|:)|")+"(?:".concat(u,":){4}(?:(:").concat(u,"){0,1}:").concat(n,"|(:").concat(u,"){1,3}|:)|")+"(?:".concat(u,":){3}(?:(:").concat(u,"){0,2}:").concat(n,"|(:").concat(u,"){1,4}|:)|")+"(?:".concat(u,":){2}(?:(:").concat(u,"){0,3}:").concat(n,"|(:").concat(u,"){1,5}|:)|")+"(?:".concat(u,":){1}(?:(:").concat(u,"){0,4}:").concat(n,"|(:").concat(u,"){1,6}|:)|")+"(?::((?::".concat(u,"){0,5}:").concat(n,"|(?::").concat(u,"){1,7}|:))")+")(%[0-9a-zA-Z.]{1,})?$");t.exports=r.default,t.exports.default=r.default},12051,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){if((0,a.default)(e),(t=(0,o.default)(t,d)).require_display_name||t.allow_display_name){var r=e.match(c);if(r){var u,x,b=r[1];if(e=e.replace(b,"").replace(/(^<|>$)/g,""),b.endsWith(" ")&&(b=b.slice(0,-1)),!(!(!(x=(u=b).replace(/^"(.+)"$/,"$1")).trim()||/[\.";<>]/.test(x)&&(x===u||x.split('"').length!==x.split('\\"').length))&&1))return!1}else if(t.require_display_name)return!1}if(!t.ignore_max_length&&e.length>254)return!1;var v=e.split("@"),y=v.pop(),j=y.toLowerCase();if(t.host_blacklist.length>0&&(0,s.default)(j,t.host_blacklist)||t.host_whitelist.length>0&&!(0,s.default)(j,t.host_whitelist))return!1;var _=v.join("@");if(t.domain_specific_validation&&("gmail.com"===j||"googlemail.com"===j)){var N=(_=_.toLowerCase()).split("+")[0];if(!(0,l.default)(N.replace(/\./g,""),{min:6,max:30}))return!1;for(var w=N.split("."),k=0;k<w.length;k++)if(!m.test(w[k]))return!1}if(!1===t.ignore_max_length&&(!(0,l.default)(_,{max:64})||!(0,l.default)(y,{max:254})))return!1;if(!(0,i.default)(y,{require_tld:t.require_tld,ignore_max_length:t.ignore_max_length,allow_underscores:t.allow_underscores})){if(!t.allow_ip_domain)return!1;if(!(0,n.default)(y)){if(!y.startsWith("[")||!y.endsWith("]"))return!1;var M=y.slice(1,-1);if(0===M.length||!(0,n.default)(M))return!1}}if(t.blacklisted_chars&&-1!==_.search(RegExp("[".concat(t.blacklisted_chars,"]+"),"g")))return!1;if('"'===_[0]&&'"'===_[_.length-1])return _=_.slice(1,_.length-1),t.allow_utf8_local_part?g.test(_):p.test(_);for(var F=t.allow_utf8_local_part?h:f,S=_.split("."),C=0;C<S.length;C++)if(!F.test(S[C]))return!1;return!0};var a=u(e.r(78262)),s=u(e.r(80930)),l=u(e.r(60054)),i=u(e.r(96184)),n=u(e.r(90498)),o=u(e.r(34058));function u(e){return e&&e.__esModule?e:{default:e}}var d={allow_display_name:!1,allow_underscores:!1,require_display_name:!1,allow_utf8_local_part:!0,require_tld:!0,blacklisted_chars:"",ignore_max_length:!1,host_blacklist:[],host_whitelist:[]},c=/^([^\x00-\x1F\x7F-\x9F\cX]+)</i,f=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,m=/^[a-z\d]+$/,p=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,h=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A1-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,g=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i;t.exports=r.default,t.exports.default=r.default}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,51523,19518,e=>{"use strict";var t,r,i,n,o,s,a,u,l,c,d,p=((t={}).Pickup="PICKUP",t.Shipping="SHIPPING",t),v=((r={}).MultiChoice="MULTI_CHOICE",r.Range="RANGE",r.SingleChoice="SINGLE_CHOICE",r.Switch="SWITCH",r),h=((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),m=((s={}).Color="COLOR",s.Text="TEXT",s),b=((a={}).AddCartQuotation="addCartQuotation",a.AnswerQuotation="answerQuotation",a.BookmarkProduct="bookmarkProduct",a.BulkAssignProductsToAssortment="bulkAssignProductsToAssortment",a.BulkImport="bulkImport",a.BulkRemoveAssortments="bulkRemoveAssortments",a.BulkRemoveFilters="bulkRemoveFilters",a.BulkRemoveProducts="bulkRemoveProducts",a.BulkRemoveUsers="bulkRemoveUsers",a.BulkSetAssortmentActive="bulkSetAssortmentActive",a.BulkSetFilterActive="bulkSetFilterActive",a.BulkSetProductStatus="bulkSetProductStatus",a.BulkSetUserRoles="bulkSetUserRoles",a.BulkUpdateAssortmentTags="bulkUpdateAssortmentTags",a.BulkUpdateProductTags="bulkUpdateProductTags",a.BulkUpdateUserTags="bulkUpdateUserTags",a.ChangePassword="changePassword",a.CheckoutCart="checkoutCart",a.ConfirmMediaUpload="confirmMediaUpload",a.CreateBookmark="createBookmark",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),w=((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.GcGuests="GC_GUESTS",d.Heartbeat="HEARTBEAT",d.HttpRequest="HTTP_REQUEST",d.InvalidateCarts="INVALIDATE_CARTS",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",()=>p,"IFilterType",()=>v,"IPaymentProviderType",()=>h,"IProductStatus",()=>f,"IProductType",()=>y,"IProductVariationType",()=>m,"IRoleAction",()=>b,"ISortDirection",()=>w,"IWarehousingProviderType",()=>g,"IWorkStatus",()=>P,"IWorkType",()=>_],19518),e.s([],51523)},76810,e=>{"use strict";var t,r;(r=t||(t={}))[r.loading=1]="loading",r[r.setVariables=2]="setVariables",r[r.fetchMore=3]="fetchMore",r[r.refetch=4]="refetch",r[r.poll=6]="poll",r[r.ready=7]="ready",r[r.error=8]="error",r[r.streaming=9]="streaming",e.s(["NetworkStatus",0,t])},1151,e=>{"use strict";let t=Symbol.for("apollo.skipToken");e.s(["skipToken",0,t])},28775,e=>{"use strict";var t=e.i(24669),r=e.i(91788);e.s(["useDeepMemo",0,function(e,i){let n=r.useRef(void 0);return n.current&&(0,t.equal)(n.current.deps,i)||(n.current={value:e(),deps:i}),n.current.value}])},97046,e=>{"use strict";var t=e.i(91788);let r=Symbol.for("apollo.hook.wrappers");var i=e.i(21805);e.s(["wrapHook",0,function(e,n,o){let s=[o.queryManager,e.startsWith("use")?t.useContext((0,i.getApolloContext)()):void 0],a=n;for(let t of s){let i=t?.[r]?.[e];i&&(a=i(a))}return a}],97046)},32171,e=>{"use strict";var t=e.i(24669),r=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),l=e.i(1151),c=e.i(28775),d=e.i(97046),p=e.i(98926),v=e.i(32854);let h=Symbol(),f=function(e,...[t]){return(0,d.wrapHook)("useQuery",y,(0,p.useApolloClient)("object"==typeof t?t.client:void 0))(e,t)};function y(e,o={}){var s,d,b,w,g,P,_,E;let S,T=(0,p.useApolloClient)("object"==typeof o?o.client:void 0),{ssr:A}="object"==typeof o?o:{},U=(s=e,d=o,b=T.defaultOptions.watchQuery,(0,c.useDeepMemo)(()=>{if(d===l.skipToken){let e={...(0,a.mergeOptions)(b,{query:s,fetchPolicy:"standby"}),[u.variablesUnknownSymbol]:!0};return e[m]=!0,e}let e=(0,a.mergeOptions)(b,{...d,query:s});return d.skip&&(e.initialFetchPolicy=d.initialFetchPolicy||d.fetchPolicy,e.fetchPolicy="standby"),e},[s,d,b]));function k(t){let r=T.watchQuery(U);return{client:T,query:e,observable:r,resultData:{current:r.getCurrentResult(),previousData:t?.resultData.current.data,variables:r.variables}}}let[I,C]=r.useState(k);(T!==I.client||e!==I.query)&&C(I=k(I));let{observable:O,resultData:R}=I;w=U,g=O,w.fetchPolicy||(w.fetchPolicy=g.options.initialFetchPolicy),function(e,r,i){if(r[h]&&!(0,t.equal)(r[h],i)){var n,o;r[h][m]&&!i.initialFetchPolicy&&(i.initialFetchPolicy=i.fetchPolicy),(n=r[h],o=i,n.query===o.query&&(0,t.equal)(n.variables,o.variables)&&(n.fetchPolicy===o.fetchPolicy||"standby"!==o.fetchPolicy&&"standby"!==n.fetchPolicy))?r.applyOptions(i):r.reobserve(i);let s=r.getCurrentResult();(0,t.equal)(s.data,e.current.data)||(e.previousData=e.current.data||e.previousData),e.current=s,e.variables=r.variables}r[h]=i}(R,O,U);let D=(P=O,_=R,E=A,S=P.options.fetchPolicy,(0,v.useSyncExternalStore)(r.useCallback(e=>{let r=P.pipe((0,n.observeOn)(i.asapScheduler)).subscribe(r=>{let i=_.current;(0,t.equal)(i,r)&&(0,t.equal)(_.variables,P.variables)||(_.variables=P.variables,i.data&&!(0,t.equal)(i.data,r.data)&&(_.previousData=i.data),_.current=r,e())});return()=>{setTimeout(()=>r.unsubscribe())}},[P,_]),()=>_.current,()=>"standby"!==S&&!1===E||"no-cache"===S?f.ssrDisabledResult:_.current)),V=r.useMemo(()=>({refetch:O.refetch.bind(O),fetchMore:O.fetchMore.bind(O),updateQuery:O.updateQuery.bind(O),startPolling:O.startPolling.bind(O),stopPolling:O.stopPolling.bind(O),subscribeToMore:O.subscribeToMore.bind(O)}),[O]),x=R.previousData;return r.useMemo(()=>{let{partial:e,...t}=D;return{...t,client:T,observable:O,variables:O.variables,previousData:x,...V}},[D,T,O,x,V])}let m=Symbol();f.ssrDisabledResult=(0,s.maybeDeepFreeze)({loading:!0,data:void 0,dataState:"empty",error:void 0,networkStatus:o.NetworkStatus.loading,partial:!0}),e.s(["useQuery",0,f])},32854,e=>{"use strict";var t=e.i(91788),r=e.i(29520),i=e.i(21953),n=e.i(22420),o=e.i(93532);let s=!1,a=t.useSyncExternalStore,u="ReactNative"==(0,n.maybe)(()=>navigator.product),l=(0,n.maybe)(()=>navigator.userAgent.indexOf("jsdom")>=0)||!1,c=(i.canUseDOM||u)&&!l,d=a||((e,i,n)=>{let a=i();r.__DEV__&&!s&&a!==i()&&(s=!0,o.invariant.error(36));let[{inst:u},l]=t.useState({inst:{value:a,getSnapshot:i}});return c?t.useLayoutEffect(()=>{Object.assign(u,{value:a,getSnapshot:i}),p(u)&&l({inst:u})},[e,a,i]):Object.assign(u,{value:a,getSnapshot:i}),t.useEffect(()=>(p(u)&&l({inst:u}),e(function(){p(u)&&l({inst:u})})),[e]),a});function p({value:e,getSnapshot:t}){try{return e!==t()}catch{return!0}}e.s(["useSyncExternalStore",0,d])},91584,66930,15953,e=>{"use strict";var t=e.i(29520);function r(e){return null!==e&&"object"==typeof e}e.s(["isNonNullObject",0,r],66930),e.s(["maybeDeepFreeze",0,function(e){let i;return t.__DEV__&&(i=new Set([e])).forEach(e=>{r(e)&&function(e){if(t.__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(t=>{r(e[t])&&i.add(e[t])})}),e}],91584);let i=Symbol.for("apollo.result.extensions"),n=Symbol.for("apollo.result.streamInfo"),o=Symbol.for("apollo.observableQuery.variablesUnknown"),s=Symbol.for("apollo.cache.handleIncremental");e.s(["extensionsSymbol",0,i,"handleIncrementalSymbol",0,s,"streamInfoSymbol",0,n,"variablesUnknownSymbol",0,o],15953)},61340,57070,72572,e=>{"use strict";var t=e.i(89280),r=e.i(49363);function i(e){var t=e(function(e){Error.call(e),e.stack=Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}e.s(["createErrorClass",0,i],57070);var n=i(function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}});function o(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,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,t.__values)(l),d=c.next();!d.done;d=c.next())d.value.remove(this)}catch(t){e={error:t}}finally{try{d&&!d.done&&(i=c.return)&&i.call(c)}finally{if(e)throw e.error}}else l.remove(this);var p=this.initialTeardown;if((0,r.isFunction)(p))try{p()}catch(e){a=e instanceof n?e.errors:[e]}var v=this._finalizers;if(v){this._finalizers=null;try{for(var h=(0,t.__values)(v),f=h.next();!f.done;f=h.next()){var y=f.value;try{u(y)}catch(e){a=null!=a?a:[],e instanceof n?a=(0,t.__spreadArray)((0,t.__spreadArray)([],(0,t.__read)(a)),(0,t.__read)(e.errors)):a.push(e)}}}catch(e){o={error:e}}finally{try{f&&!f.done&&(s=h.return)&&s.call(h)}finally{if(o)throw o.error}}}if(a)throw new n(a)}},i.prototype.add=function(e){var t;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!=(t=this._finalizers)?t:[]).push(e)}},i.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},i.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},i.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&o(t,e)},i.prototype.remove=function(e){var t=this._finalizers;t&&o(t,e),e instanceof i&&e._removeParent(this)},(e=new i).closed=!0,i.EMPTY=e,i}(),a=s.EMPTY;function u(e){(0,r.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,r.isFunction)(e.remove)&&(0,r.isFunction)(e.add)&&(0,r.isFunction)(e.unsubscribe)}],61340)},99657,80406,33229,58365,13616,e=>{"use strict";var t=e.i(89280),r=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,r){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,t.__spreadArray)([e,r],(0,t.__read)(i))):setTimeout.apply(void 0,(0,t.__spreadArray)([e,r],(0,t.__read)(i)))},clearTimeout:function(e){var t=o.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function s(e){o.setTimeout(function(){var t=n.onUnhandledError;if(t)t(e);else throw e})}function a(){}e.s(["reportUnhandledError",0,s],33229);var u=l("C",void 0,void 0);function l(e,t,r){return{kind:e,value:t,error:r}}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 t=!c;if(t&&(c={errorThrown:!1,error:null}),e(),t){var r=c,i=r.errorThrown,o=r.error;if(c=null,i)throw o}}else e()}],58365);var p=function(e){function r(t){var r=e.call(this)||this;return r.isStopped=!1,t?(r.destination=t,(0,i.isSubscription)(t)&&t.add(r)):r.destination=w,r}return(0,t.__extends)(r,e),r.create=function(e,t,r){return new y(e,t,r)},r.prototype.next=function(e){this.isStopped?b(l("N",e,void 0),this):this._next(e)},r.prototype.error=function(e){this.isStopped?b(l("E",void 0,e),this):(this.isStopped=!0,this._error(e))},r.prototype.complete=function(){this.isStopped?b(u,this):(this.isStopped=!0,this._complete())},r.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},r.prototype._next=function(e){this.destination.next(e)},r.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},r.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},r}(i.Subscription),v=Function.prototype.bind;function h(e,t){return v.call(e,t)}var f=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){m(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){m(e)}else m(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){m(e)}},e}(),y=function(e){function i(t,i,o){var s,a,u=e.call(this)||this;return(0,r.isFunction)(t)||!t?s={next:null!=t?t:void 0,error:null!=i?i:void 0,complete:null!=o?o:void 0}:u&&n.useDeprecatedNextContext?((a=Object.create(t)).unsubscribe=function(){return u.unsubscribe()},s={next:t.next&&h(t.next,a),error:t.error&&h(t.error,a),complete:t.complete&&h(t.complete,a)}):s=t,u.destination=new f(s),u}return(0,t.__extends)(i,e),i}(p);function m(e){n.useDeprecatedSynchronousErrorHandling?d(e):s(e)}function b(e,t){var r=n.onStoppedNotification;r&&o.setTimeout(function(){return r(e,t)})}var w={closed:!0,next:a,error:function(e){throw e},complete:a};e.s(["SafeSubscriber",0,y,"Subscriber",0,p],13616);var g=function(e){function r(t,r,i,n,o,s){var a=e.call(this,t)||this;return a.onFinalize=o,a.shouldUnsubscribe=s,a._next=r?function(e){try{r(e)}catch(e){t.error(e)}}:e.prototype._next,a._error=n?function(e){try{n(e)}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._error,a._complete=i?function(){try{i()}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._complete,a}return(0,t.__extends)(r,e),r.prototype.unsubscribe=function(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var r=this.closed;e.prototype.unsubscribe.call(this),r||null==(t=this.onFinalize)||t.call(this)}},r}(p);e.s(["createOperatorSubscriber",0,function(e,t,r,i,n){return new g(e,t,r,i,n)}],99657)},32106,e=>{"use strict";var t=e.i(95065),r=e.i(81288),i=e.i(99657);e.s(["observeOn",0,function(e,n){return void 0===n&&(n=0),(0,r.operate)(function(r,o){r.subscribe((0,i.createOperatorSubscriber)(o,function(r){return(0,t.executeSchedule)(o,e,function(){return o.next(r)},n)},function(){return(0,t.executeSchedule)(o,e,function(){return o.complete()},n)},function(r){return(0,t.executeSchedule)(o,e,function(){return o.error(r)},n)}))})}])},42410,e=>{"use strict";var t,r=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 r=n++;return o[r]=!0,t||(t=Promise.resolve()),t.then(function(){return s(r)&&e()}),r},u=function(e){s(e)},l={setImmediate:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var i=l.delegate;return((null==i?void 0:i.setImmediate)||a).apply(void 0,(0,r.__spreadArray)([],(0,r.__read)(e)))},clearImmediate:function(e){var t=l.delegate;return((null==t?void 0:t.clearImmediate)||u)(e)},delegate:void 0},c=function(e){function t(t,r){var i=e.call(this,t,r)||this;return i.scheduler=t,i.work=r,i}return(0,r.__extends)(t,e),t.prototype.requestAsyncId=function(t,r,i){return(void 0===i&&(i=0),null!==i&&i>0)?e.prototype.requestAsyncId.call(this,t,r,i):(t.actions.push(this),t._scheduled||(t._scheduled=l.setImmediate(t.flush.bind(t,void 0))))},t.prototype.recycleAsyncId=function(t,r,i){if(void 0===i&&(i=0),null!=i?i>0:this.delay>0)return e.prototype.recycleAsyncId.call(this,t,r,i);var n,o=t.actions;null!=r&&(null==(n=o[o.length-1])?void 0:n.id)!==r&&(l.clearImmediate(r),t._scheduled===r&&(t._scheduled=void 0))},t}(i.AsyncAction);e.s(["AsapAction",0,c],42410)},87268,e=>{"use strict";var t=e.i(89280),r=function(e){function r(t,r){return e.call(this)||this}return(0,t.__extends)(r,e),r.prototype.schedule=function(e,t){return void 0===t&&(t=0),this},r}(e.i(61340).Subscription),i={setInterval:function(e,r){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,t.__spreadArray)([e,r],(0,t.__read)(n))):setInterval.apply(void 0,(0,t.__spreadArray)([e,r],(0,t.__read)(n)))},clearInterval:function(e){var t=i.delegate;return((null==t?void 0:t.clearInterval)||clearInterval)(e)},delegate:void 0},n=e.i(72572),o=function(e){function r(t,r){var i=e.call(this,t,r)||this;return i.scheduler=t,i.work=r,i.pending=!1,i}return(0,t.__extends)(r,e),r.prototype.schedule=function(e,t){if(void 0===t&&(t=0),this.closed)return this;this.state=e;var r,i=this.id,n=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(n,i,t)),this.pending=!0,this.delay=t,this.id=null!=(r=this.id)?r:this.requestAsyncId(n,this.id,t),this},r.prototype.requestAsyncId=function(e,t,r){return void 0===r&&(r=0),i.setInterval(e.flush.bind(e,this),r)},r.prototype.recycleAsyncId=function(e,t,r){if(void 0===r&&(r=0),null!=r&&this.delay===r&&!1===this.pending)return t;null!=t&&i.clearInterval(t)},r.prototype.execute=function(e,t){if(this.closed)return Error("executing a cancelled action");this.pending=!1;var r=this._execute(e,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},r.prototype._execute=function(e,t){var r,i=!1;try{this.work(e)}catch(e){i=!0,r=e||Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r},r.prototype.unsubscribe=function(){if(!this.closed){var t=this.id,r=this.scheduler,i=r.actions;this.work=this.state=this.scheduler=null,this.pending=!1,(0,n.arrRemove)(i,this),null!=t&&(this.id=this.recycleAsyncId(r,t,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},r}(r);e.s(["AsyncAction",0,o],87268)},12884,e=>{"use strict";var t=e.i(89280),r=e.i(68827),i=function(){function e(t,r){void 0===r&&(r=e.now),this.schedulerActionCtor=t,this.now=r}return e.prototype.schedule=function(e,t,r){return void 0===t&&(t=0),new this.schedulerActionCtor(this,e).schedule(r,t)},e.now=r.dateTimestampProvider.now,e}(),n=function(e){function r(t,r){void 0===r&&(r=i.now);var n=e.call(this,t,r)||this;return n.actions=[],n._active=!1,n}return(0,t.__extends)(r,e),r.prototype.flush=function(e){var t,r=this.actions;if(this._active)return void r.push(e);this._active=!0;do if(t=e.execute(e.state,e.delay))break;while(e=r.shift())if(this._active=!1,t){for(;e=r.shift();)e.unsubscribe();throw t}},r}(i);e.s(["AsyncScheduler",0,n],12884)},18018,e=>{"use strict";var t=e.i(42410),r=e.i(89280),i=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.__extends)(t,e),t.prototype.flush=function(e){this._active=!0;var t,r=this._scheduled;this._scheduled=void 0;var i=this.actions;e=e||i.shift();do if(t=e.execute(e.state,e.delay))break;while((e=i[0])&&e.id===r&&i.shift())if(this._active=!1,t){for(;(e=i[0])&&e.id===r&&i.shift();)e.unsubscribe();throw t}},t}(e.i(12884).AsyncScheduler))(t.AsapAction);e.s(["asapScheduler",0,i],18018)},68827,e=>{"use strict";var t={now:function(){return(t.delegate||Date).now()},delegate:void 0};e.s(["dateTimestampProvider",0,t])},95065,e=>{"use strict";e.s(["executeSchedule",0,function(e,t,r,i,n){void 0===i&&(i=0),void 0===n&&(n=!1);var o=t.schedule(function(){r(),n?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(o),!n)return o}])},49363,e=>{"use strict";e.s(["isFunction",0,function(e){return"function"==typeof e}])},81288,e=>{"use strict";var t=e.i(49363);e.s(["operate",0,function(e){return function(r){if((0,t.isFunction)(null==r?void 0:r.lift))return r.lift(function(t){try{return e(t,this)}catch(e){this.error(e)}});throw TypeError("Unable to lift unknown Observable type")}}])}]);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
__turbopack_load_page_chunks__("/_error", [
|
|
2
|
+
"static/chunks/0dnh0kr83_tj0.js",
|
|
3
|
+
"static/chunks/3yvmkdc088aly.js",
|
|
4
|
+
"static/chunks/0jeddko6bac8h.js",
|
|
5
|
+
"static/chunks/0rqjr_lmrk4pz.js",
|
|
6
|
+
"static/chunks/252jebodi67kg.js",
|
|
7
|
+
"static/chunks/turbopack-05rmr02n9n2u0.js"
|
|
8
|
+
])
|