@unchainedshop/admin-ui 5.0.0-alpha.6 → 5.0.0-alpha.8
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-2ARWAOZW.js +17 -0
- package/dist/chunk-6UGLNLJG.js +44 -0
- package/dist/{chunk-UXG7EYHC.js → chunk-6ZZIMVID.js} +1 -1
- package/dist/{chunk-6TXD4TA7.js → chunk-A3WBMBUF.js} +5 -84
- package/dist/{chunk-45H2WVIC.js → chunk-COV7BREX.js} +0 -1
- package/dist/{chunk-UFYR5WZT.js → chunk-GY2DRQGW.js} +2 -1
- package/dist/{chunk-QNLGYFV7.js → chunk-IYKPRAWC.js} +4 -0
- package/dist/{chunk-BGCKJQGS.js → chunk-JAVEZY3Q.js} +22 -15
- package/dist/{chunk-RHUFQVKL.js → chunk-QVKXUZEC.js} +1 -1
- package/dist/chunk-RORNAN2J.js +12 -0
- package/dist/{chunk-YSKZE2KN.js → chunk-SDA2A6TP.js} +37 -24
- package/dist/{chunk-4VNS5WPM.js → chunk-WPLOTFGW.js} +7 -8
- 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/ChoicesField.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/components/ui/index.d.ts +2 -0
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/form.js +1071 -2806
- package/dist/gql/operation-types.d.ts +13063 -0
- package/dist/gql/operation-types.d.ts.map +1 -0
- package/dist/gql/schema-types.d.ts +3821 -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 -3
- package/dist/modal.js +11 -6
- 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 +220 -64
- package/dist/modules/assortment.js +10 -5
- package/dist/modules/common/components/MediaAvatar.d.ts +6 -0
- package/dist/modules/common/components/MediaAvatar.d.ts.map +1 -0
- package/dist/modules/common/components/Table.d.ts +25 -0
- package/dist/modules/common/components/Table.d.ts.map +1 -0
- package/dist/modules/common/components/TableCell.d.ts +12 -0
- package/dist/modules/common/components/TableCell.d.ts.map +1 -0
- package/dist/modules/common/components/TableRow.d.ts +10 -0
- package/dist/modules/common/components/TableRow.d.ts.map +1 -0
- 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/country.js +1 -1
- package/dist/modules/currency.js +1 -1
- package/dist/modules/delivery-provider.js +1 -1
- package/dist/modules/enrollment.js +24 -3
- package/dist/modules/event.js +2 -2
- package/dist/modules/filter.js +2 -2
- package/dist/modules/language/hooks/useLanguages.d.ts +4 -4
- package/dist/modules/language.js +1 -1
- 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 +10 -4
- package/dist/modules/payment-providers.js +1 -1
- package/dist/modules/product-review.js +25 -6
- package/dist/modules/product.js +14 -18
- package/dist/modules/quotation.js +23 -3
- package/dist/modules/token.js +3 -3
- package/dist/modules/warehousing-providers.js +1 -1
- package/dist/modules/work/hooks/useWork.d.ts +14 -14
- package/dist/modules/work.js +15 -7
- package/dist/plugins.js +7 -2
- package/dist/providers.js +5 -4
- 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/theme.js +1 -1
- package/dist/ui.js +1438 -1465
- 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/{VYWUvBJY94uiS3jm4HOFN → 9EKCOng_3jDFmFdZSuNp0}/_buildManifest.js +63 -63
- package/out/_next/static/chunks/0-2b37ubdpy0o.js +7 -0
- package/out/_next/static/chunks/015ge5k3o3f-r.js +226 -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/065x9wl2mga3m.js +11 -0
- package/out/_next/static/chunks/0752goe9_9g2s.js +110 -0
- package/out/_next/static/chunks/07evy5u8ldd1y.js +50 -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_o5motvr7gdv.js +21 -0
- package/out/_next/static/chunks/0_puys1lwhv9m.js +16 -0
- package/out/_next/static/chunks/0a_bg-ub3r2eo.js +60 -0
- package/out/_next/static/chunks/0b28h3157pjxr.js +17 -0
- package/out/_next/static/chunks/0bd_--7-52ko6.js +13 -0
- package/out/_next/static/chunks/0bg4_y1qh5y5h.js +47 -0
- package/out/_next/static/chunks/0ckhtcvz1kyxg.js +1 -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/0e7hhok2eawc3.js +9 -0
- package/out/_next/static/chunks/0el-98_f_r8ex.js +27 -0
- package/out/_next/static/chunks/0g2igd8sj5-gg.js +16 -0
- package/out/_next/static/chunks/0gx9t6j5kx_ho.js +9 -0
- package/out/_next/static/chunks/0i9ymn9xxs0nx.js +18 -0
- package/out/_next/static/chunks/0iebz0rtddbw8.js +15 -0
- package/out/_next/static/chunks/0iqjlf_9c6eo_.js +59 -0
- package/out/_next/static/chunks/0iy11ws57hzzr.js +99 -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/0l4eldqr95f75.js +16 -0
- package/out/_next/static/chunks/0ld6wd2it3xix.js +18 -0
- package/out/_next/static/chunks/0lzvfs3koqtzr.js +15 -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/0nkkcq0-s-9fo.js +1 -0
- package/out/_next/static/chunks/0o7k5vanq57ch.js +807 -0
- package/out/_next/static/chunks/0ou6gsnpn0wml.js +1 -0
- package/out/_next/static/chunks/0pgpevl26rrte.js +13 -0
- package/out/_next/static/chunks/0pji5t2zheb2j.js +234 -0
- package/out/_next/static/chunks/0r5wwinf72z4g.js +1 -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/0s165pqd53i2e.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/0v0928tdjepyk.js +16 -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/0x97pf4va0tdj.js +17 -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/10u71-qve349q.js +14 -0
- package/out/_next/static/chunks/10vpdjjvq7u53.js +15 -0
- package/out/_next/static/chunks/13pcz259h-_kj.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/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/1_5ba1obzc231.js +1 -0
- package/out/_next/static/chunks/1_lrjs51fhhko.js +807 -0
- package/out/_next/static/chunks/1a5z9hqww-usq.js +20 -0
- package/out/_next/static/chunks/1am9n6exll687.js +807 -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/{1ji44prsmhq_a.js → 1dt9_bzfioi8a.js} +3 -3
- package/out/_next/static/chunks/1feyuu-4twwai.js +15 -0
- package/out/_next/static/chunks/1i8wb5lh3jac1.js +13 -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/1ngpcnj86ohnv.js +14 -0
- package/out/_next/static/chunks/1ocvneidf1syf.js +25 -0
- package/out/_next/static/chunks/1og09fg689_nc.js +180 -0
- package/out/_next/static/chunks/1p639idox1vll.js +16 -0
- package/out/_next/static/chunks/1q5b4oexneef5.js +17 -0
- package/out/_next/static/chunks/1q_sewe1wbxsk.js +54 -0
- package/out/_next/static/chunks/1r_e-dk-1oicl.js +2 -0
- package/out/_next/static/chunks/1rkg8vhvo8vgz.js +83 -0
- package/out/_next/static/chunks/1rtv3c_klo0jk.js +1 -0
- package/out/_next/static/chunks/1s8vxngh_0xfn.js +13 -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/1tkaly-z0eb-q.js +14 -0
- package/out/_next/static/chunks/1tvr-10z5x0by.js +104 -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/1z1jxtjhg_5v6.js +11 -0
- package/out/_next/static/chunks/1zgah7t55d46v.js +19 -0
- package/out/_next/static/chunks/200_u2ywg-be1.js +43 -0
- package/out/_next/static/chunks/205q4wv45jomk.js +13 -0
- package/out/_next/static/chunks/20usp87kxiivk.js +14 -0
- package/out/_next/static/chunks/224p31baeu3c3.js +15 -0
- package/out/_next/static/chunks/22mj125470p07.js +15 -0
- package/out/_next/static/chunks/22ud9v8dzixqk.js +15 -0
- package/out/_next/static/chunks/24-pobk4qjjvp.js +3 -0
- package/out/_next/static/chunks/24mbze45k4evy.js +22 -0
- package/out/_next/static/chunks/26mue2l4069m0.js +22 -0
- package/out/_next/static/chunks/26yksvb45bfug.js +13 -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/29m1e34-eyni_.js +9 -0
- package/out/_next/static/chunks/2__i5ksblcvil.js +16 -0
- package/out/_next/static/chunks/2d_tll2e3tyei.js +9 -0
- package/out/_next/static/chunks/2dnjzvnx4dg-n.js +22 -0
- package/out/_next/static/chunks/{34dhtdp_8idgm.js → 2dyj8q92_k5el.js} +112 -62
- package/out/_next/static/chunks/2e47h0g7w7si3.js +7 -0
- package/out/_next/static/chunks/2f16josk9b_cl.js +8 -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/2g7t-73faoik2.js +15 -0
- package/out/_next/static/chunks/2hg887w-4-saz.js +11 -0
- 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/2j3p_ne416507.js +16 -0
- package/out/_next/static/chunks/2k5rg3rwz2qz1.js +15 -0
- package/out/_next/static/chunks/2kjux30i3gg-c.js +5 -0
- package/out/_next/static/chunks/2l629mu99aqil.js +9 -0
- package/out/_next/static/chunks/2lal4ruoql8-s.js +16 -0
- package/out/_next/static/chunks/2lx_iig9xewfj.js +52 -0
- package/out/_next/static/chunks/2m4su5mqey5cb.js +14 -0
- package/out/_next/static/chunks/2o9hdz0gk1-s7.js +165 -0
- package/out/_next/static/chunks/2on7of8c32boh.js +15 -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/2rywg4dn0aeez.js +1 -0
- package/out/_next/static/chunks/2s6u8274_jzk2.js +105 -0
- package/out/_next/static/chunks/{0qjv_q4seojfh.js → 2skfzjx2g9hkk.js} +7 -3
- package/out/_next/static/chunks/2sw8wfufjrcpb.js +14 -0
- package/out/_next/static/chunks/2szj6o9fr-rib.js +15 -0
- package/out/_next/static/chunks/{1cgliwmj52a0t.js → 2u6jwsqz0uhes.js} +3 -3
- package/out/_next/static/chunks/{08o69avnk4qvk.js → 2v4k4vpb2id7m.js} +1 -1
- 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/2zynam_mr2g6y.js +21 -0
- package/out/_next/static/chunks/3-xi25w8-k-02.js +15 -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/32gi2dpw3twz7.js +17 -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/348d_4lpnrkzq.js +100 -0
- package/out/_next/static/chunks/351jscvbk_wb9.js +13 -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/35mb--fw85e9-.js +20 -0
- package/out/_next/static/chunks/360g4b1clnt45.js +142 -0
- 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/38kjuo_3xeof3.js +14 -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/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/3d1ofcqmlbg-5.js +52 -0
- package/out/_next/static/chunks/3dopaxkoi5px6.js +1 -0
- package/out/_next/static/chunks/3ic_dagw-uvrx.js +234 -0
- package/out/_next/static/chunks/3jtzvr48aaoo0.js +13 -0
- package/out/_next/static/chunks/3k5lt5_-g36w9.js +9 -0
- package/out/_next/static/chunks/3krpx72smyufn.js +15 -0
- package/out/_next/static/chunks/3l-9xxd1i1sya.js +1 -0
- package/out/_next/static/chunks/3m2hre_c-kclo.js +25 -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/3om1fkw-lrmng.js +1 -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/3p0ir-pqcslbi.js +175 -0
- package/out/_next/static/chunks/{434iz38padke2.js → 3pbyo5kkko3wh.js} +1 -1
- package/out/_next/static/chunks/3pr477_ci25mm.js +22 -0
- package/out/_next/static/chunks/3qjgt-x153i6u.js +234 -0
- package/out/_next/static/chunks/3r54d1b_uyq95.js +13 -0
- package/out/_next/static/chunks/3rh3nigvg06yu.js +337 -0
- package/out/_next/static/chunks/3s-n0xc-vi0ww.js +31 -0
- package/out/_next/static/chunks/3sc7jsyx25g08.js +16 -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/3vet2a9q9rf2c.js +61 -0
- package/out/_next/static/chunks/3vjgbl76cgrmt.js +1 -0
- package/out/_next/static/chunks/3vz3gqmojh7sx.js +4 -0
- package/out/_next/static/chunks/3w9xrlkiztuwi.js +23 -0
- package/out/_next/static/chunks/3xmtbqm0gddn8.js +3 -0
- package/out/_next/static/chunks/3yqmjvx7t3t0_.js +1 -0
- package/out/_next/static/chunks/3z3k6qx61arup.js +27 -0
- package/out/_next/static/chunks/401o5bfi_90qs.js +141 -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/42x9tn0uff92o.js +15 -0
- package/out/_next/static/chunks/43jyzccx6x0lw.js +1 -0
- package/out/_next/static/chunks/44daaafswok67.css +1 -0
- package/out/_next/static/chunks/turbopack-02-k6w2e9_3af.js +1 -0
- package/out/_next/static/chunks/{turbopack-04ukk4jyuwwfc.js → turbopack-03fj2scz_09ul.js} +1 -1
- package/out/_next/static/chunks/{turbopack-40xcd2mr6qovi.js → turbopack-0_42u9tky4zng.js} +1 -1
- package/out/_next/static/chunks/turbopack-0gnmdx6ye6n_e.js +1 -0
- package/out/_next/static/chunks/turbopack-0iozo8xy34oiw.js +1 -0
- package/out/_next/static/chunks/turbopack-0rb_mm-wnau-3.js +1 -0
- package/out/_next/static/chunks/{turbopack-29n-soxzu37jf.js → turbopack-0v5-op7r79bhf.js} +1 -1
- package/out/_next/static/chunks/{turbopack-34749rlp0_n5c.js → turbopack-0zf_85we0x_rs.js} +1 -1
- package/out/_next/static/chunks/turbopack-1-ukcimwb2wq1.js +1 -0
- package/out/_next/static/chunks/turbopack-10anz7o9kcb98.js +1 -0
- package/out/_next/static/chunks/{turbopack-0w2ztfttfubzl.js → turbopack-12-4lgc8wbnmx.js} +1 -1
- package/out/_next/static/chunks/turbopack-14bpgd3qmna2b.js +1 -0
- package/out/_next/static/chunks/{turbopack-04s7-zvvb1coi.js → turbopack-16ecm5pf7vta6.js} +1 -1
- package/out/_next/static/chunks/{turbopack-298r66lt68r_n.js → turbopack-16gej7p33tsw5.js} +1 -1
- package/out/_next/static/chunks/{turbopack-41cj0-dssfw9l.js → turbopack-1iglf5syrme2d.js} +1 -1
- package/out/_next/static/chunks/turbopack-1l2mxrtt6fj2q.js +1 -0
- package/out/_next/static/chunks/turbopack-1nwkuzx-97xdl.js +1 -0
- package/out/_next/static/chunks/{turbopack-1h9u07n6a83dl.js → turbopack-1od40dnbx8fg3.js} +1 -1
- package/out/_next/static/chunks/turbopack-1qg_72lzl6ek8.js +1 -0
- package/out/_next/static/chunks/turbopack-1rmjnbaunrx2u.js +1 -0
- package/out/_next/static/chunks/{turbopack-3b2k0p0g1mako.js → turbopack-1wpa09idv1cyh.js} +1 -1
- package/out/_next/static/chunks/turbopack-1ykuk8u3enawr.js +1 -0
- package/out/_next/static/chunks/{turbopack-0cwxwz82vstff.js → turbopack-21_p8k9zs76-x.js} +1 -1
- package/out/_next/static/chunks/{turbopack-13v4uorj3l10n.js → turbopack-220rj632xmu2e.js} +1 -1
- package/out/_next/static/chunks/turbopack-22p012gdqk61c.js +1 -0
- package/out/_next/static/chunks/turbopack-25j7jj4dskbwu.js +1 -0
- package/out/_next/static/chunks/turbopack-27pc-r2lunwha.js +1 -0
- package/out/_next/static/chunks/{turbopack-3p-k1txa6-4ik.js → turbopack-2bb143jjb45b6.js} +1 -1
- package/out/_next/static/chunks/turbopack-2esinq43hb-vc.js +1 -0
- package/out/_next/static/chunks/{turbopack-32kxihayw_v97.js → turbopack-2g3vf-v8r3qd2.js} +1 -1
- package/out/_next/static/chunks/{turbopack-1noe2ur-_o71n.js → turbopack-2gxln6h99_6pp.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3j07f1odh4keh.js → turbopack-2j5sxbr_zaxjf.js} +1 -1
- package/out/_next/static/chunks/turbopack-2j61phdts4xpn.js +1 -0
- package/out/_next/static/chunks/{turbopack-2k2d3c2qq-0z0.js → turbopack-2nd6qjscj3z2p.js} +1 -1
- package/out/_next/static/chunks/turbopack-2o76al0gsswxo.js +1 -0
- package/out/_next/static/chunks/turbopack-2pe-c3nyyswmm.js +1 -0
- package/out/_next/static/chunks/{turbopack-0sv7lr_kx3kdq.js → turbopack-2tz1t67cqt8ex.js} +1 -1
- package/out/_next/static/chunks/turbopack-2u-4w10t8mu6i.js +1 -0
- package/out/_next/static/chunks/turbopack-2u879ap4um9kt.js +1 -0
- package/out/_next/static/chunks/turbopack-2ubl1vyufevbf.js +1 -0
- package/out/_next/static/chunks/{turbopack-1wqjl3y4c1ij-.js → turbopack-2x85w-5txf7i5.js} +1 -1
- package/out/_next/static/chunks/turbopack-32oolm1x2hqm8.js +1 -0
- package/out/_next/static/chunks/turbopack-32unbrrzdhim9.js +1 -0
- package/out/_next/static/chunks/{turbopack-3jw01psrsjqdi.js → turbopack-37e-e484qmc03.js} +1 -1
- package/out/_next/static/chunks/turbopack-3aa45-9tjh99k.js +1 -0
- package/out/_next/static/chunks/{turbopack-1-ceqxb_000x-.js → turbopack-3d9zuhypuljic.js} +1 -1
- package/out/_next/static/chunks/turbopack-3dl00zga30bss.js +1 -0
- package/out/_next/static/chunks/turbopack-3f06s1e12y6j9.js +1 -0
- package/out/_next/static/chunks/{turbopack-0qa163y1bx_g6.js → turbopack-3g98_iakkqypg.js} +1 -1
- package/out/_next/static/chunks/turbopack-3j4bdo8-ldea5.js +1 -0
- package/out/_next/static/chunks/{turbopack-1au-y5u3wzv22.js → turbopack-3l3o1x7j1z_63.js} +1 -1
- package/out/_next/static/chunks/{turbopack-1sllc7f9its9a.js → turbopack-3lm631px3s8-4.js} +1 -1
- package/out/_next/static/chunks/{turbopack-14kspgbfigjpa.js → turbopack-3mwf6he42ff9n.js} +1 -1
- package/out/_next/static/chunks/turbopack-3oih6rrmvb7t3.js +1 -0
- package/out/_next/static/chunks/turbopack-3oq88d3632ksa.js +1 -0
- package/out/_next/static/chunks/turbopack-3q1s32jzw2pnu.js +1 -0
- package/out/_next/static/chunks/turbopack-3snas0eww9sey.js +1 -0
- package/out/_next/static/chunks/turbopack-3tg-pp9_bemtn.js +1 -0
- package/out/_next/static/chunks/turbopack-3tlngjwse53m1.js +1 -0
- package/out/_next/static/chunks/turbopack-3tp3s3o8o9e-_.js +1 -0
- package/out/_next/static/chunks/turbopack-3tyhe6yjnx5h6.js +1 -0
- package/out/_next/static/chunks/turbopack-3v3wnwaeu0os5.js +1 -0
- package/out/_next/static/chunks/turbopack-3xc_rmnnnzfkm.js +1 -0
- package/out/_next/static/chunks/turbopack-4592lth1oe0jg.js +1 -0
- package/out/_offline/index.html +2 -2
- package/out/account/forgot-password/index.html +2 -2
- package/out/account/index.html +2 -2
- package/out/assortments/AssortmentDetailPage/index.html +2 -2
- package/out/assortments/index.html +2 -2
- package/out/assortments/new/index.html +2 -2
- package/out/copilot/index.html +2 -2
- package/out/country/CountryDetailPage/index.html +2 -2
- package/out/country/index.html +2 -2
- package/out/country/new/index.html +2 -2
- package/out/currency/CurrencyDetailPage/index.html +2 -2
- package/out/currency/index.html +2 -2
- package/out/currency/new/index.html +2 -2
- package/out/delivery-provider/DeliveryProviderDetailPage/index.html +2 -2
- package/out/delivery-provider/index.html +2 -2
- package/out/delivery-provider/new/index.html +2 -2
- package/out/enrollments/EnrollmentDetailPage/index.html +2 -2
- package/out/enrollments/index.html +2 -2
- package/out/events/EventDetailPage/index.html +2 -2
- package/out/events/index.html +2 -2
- package/out/exports/index.html +2 -2
- package/out/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 +83 -98
- package/src/sdk/plugin-build.test.mjs +39 -4
- 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/2tw-iq1oliu-h.js +0 -1
- 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-17gr4a9fxe8he.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-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 → 9EKCOng_3jDFmFdZSuNp0}/_clientMiddlewareManifest.js +0 -0
- /package/out/_next/static/{VYWUvBJY94uiS3jm4HOFN → 9EKCOng_3jDFmFdZSuNp0}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,89462,e=>{"use strict";var t=e.i(59080),r=e.i(32171);let n=t.gql`
|
|
2
|
+
query AssortmentsCount(
|
|
3
|
+
$queryString: String
|
|
4
|
+
$tags: [LowerCaseString!]
|
|
5
|
+
$includeInactive: Boolean
|
|
6
|
+
$includeLeaves: Boolean
|
|
7
|
+
) {
|
|
8
|
+
assortmentsCount(
|
|
9
|
+
tags: $tags
|
|
10
|
+
includeInactive: $includeInactive
|
|
11
|
+
includeLeaves: $includeLeaves
|
|
12
|
+
queryString: $queryString
|
|
13
|
+
)
|
|
14
|
+
}
|
|
15
|
+
`;e.s(["default",0,({queryString:e="",tags:t=null,includeInactive:i=!0,includeLeaves:a=!1})=>{let{data:s,loading:o,error:l}=(0,r.useQuery)(n,{errorPolicy:"all",variables:{queryString:e,tags:t,includeInactive:i,includeLeaves:a}});return{loading:o,error:l,assortmentsCount:s?.assortmentsCount}}])},57561,e=>{"use strict";var t=e.i(91788),r=e.i(55989);e.s(["default",0,()=>{let e=(0,t.useContext)(r.default);if(!e)throw Error("useLocale must be used within a LocaleProvider");return e}])},58668,e=>{"use strict";var t=e.i(91398),r=e.i(91788);class n 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&&`
|
|
16
|
+
${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,n])},70475,e=>{"use strict";var t=e.i(91398),r=e.i(91788),n=e.i(13534),i=e.i(26539),a=e.i(58668),s=e.i(53576);e.s(["default",0,({slot:e,children:o,...l})=>{let{getSlotPlugins:u,getComponent:c,loading:f}=(0,n.usePlugins)();if(f)return null;let d=u(e);return 0===d.length?null:(0,t.jsx)(t.Fragment,{children:d.map(({manifest:n,config:u})=>{let f=u.component||u.components?.list,d=c(n.name,f);if(!d)return console.warn(`Plugin "${n.name}": component "${f}" not found in bundle`),null;let h={pluginName:n.name,version:n.version,slotId:e,config:u};return(0,t.jsx)(a.default,{pluginName:n.name,componentName:f,children:(0,t.jsx)(i.PluginRuntimeProvider,{value:h,children:(0,t.jsx)(r.Suspense,{fallback:(0,t.jsx)(s.default,{}),children:o?o(d,u,n):(0,t.jsx)(d,{...l})})})},`${n.name}-${f}`)})})}])},52745,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...n},i){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:i,"aria-labelledby":r},n),e?t.createElement("title",{id:r},e):null,t.createElement("path",{d:"M10.362 1.093a.75.75 0 0 0-.724 0L2.523 5.018 10 9.143l7.477-4.125-7.115-3.925ZM18 6.443l-7.25 4v8.25l6.862-3.786A.75.75 0 0 0 18 14.25V6.443ZM9.25 18.693v-8.25l-7.25-4v7.807a.75.75 0 0 0 .388.657l6.862 3.786Z"}))});e.s(["CubeIcon",0,r],52745)},57862,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...n},i){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:i,"aria-labelledby":r},n),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 12.75 6 6 9-13.5"}))});e.s(["default",0,r])},38322,e=>{"use strict";var t=e.i(57862);e.s(["CheckIcon",()=>t.default])},76237,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...n},i){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:i,"aria-labelledby":r},n),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"}))});e.s(["default",0,r])},38187,e=>{"use strict";var t=e.i(76237);e.s(["ChevronDownIcon",()=>t.default])},31599,e=>{"use strict";e.s(["default",0,function(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}])},59015,e=>{"use strict";e.s(["default",0,function(e,t){let r;if(void 0===t)for(let t of e)null!=t&&(r<t||void 0===r&&t>=t)&&(r=t);else{let n=-1;for(let i of e)null!=(i=t(i,++n,e))&&(r<i||void 0===r&&i>=i)&&(r=i)}return r}])},28917,e=>{"use strict";e.s(["default",0,function(e,t){let r;if(void 0===t)for(let t of e)null!=t&&(r>t||void 0===r&&t>=t)&&(r=t);else{let n=-1;for(let i of e)null!=(i=t(i,++n,e))&&(r>i||void 0===r&&i>=i)&&(r=i)}return r}])},98952,19903,47672,11049,74037,44641,25369,e=>{"use strict";function t(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function r(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}function n(){}e.s(["default",()=>W],44641);var i="\\s*([+-]?\\d+)\\s*",a="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",s="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",o=/^#([0-9a-f]{3,8})$/,l=RegExp(`^rgb\\(${i},${i},${i}\\)$`),u=RegExp(`^rgb\\(${s},${s},${s}\\)$`),c=RegExp(`^rgba\\(${i},${i},${i},${a}\\)$`),f=RegExp(`^rgba\\(${s},${s},${s},${a}\\)$`),d=RegExp(`^hsl\\(${a},${s},${s}\\)$`),h=RegExp(`^hsla\\(${a},${s},${s},${a}\\)$`),g={aliceblue:0xf0f8ff,antiquewhite:0xfaebd7,aqua:65535,aquamarine:8388564,azure:0xf0ffff,beige:0xf5f5dc,bisque:0xffe4c4,black:0,blanchedalmond:0xffebcd,blue:255,blueviolet:9055202,brown:0xa52a2a,burlywood:0xdeb887,cadetblue:6266528,chartreuse:8388352,chocolate:0xd2691e,coral:0xff7f50,cornflowerblue:6591981,cornsilk:0xfff8dc,crimson:0xdc143c,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:0xb8860b,darkgray:0xa9a9a9,darkgreen:25600,darkgrey:0xa9a9a9,darkkhaki:0xbdb76b,darkmagenta:9109643,darkolivegreen:5597999,darkorange:0xff8c00,darkorchid:0x9932cc,darkred:9109504,darksalmon:0xe9967a,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:0xff1493,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:0xb22222,floralwhite:0xfffaf0,forestgreen:2263842,fuchsia:0xff00ff,gainsboro:0xdcdcdc,ghostwhite:0xf8f8ff,gold:0xffd700,goldenrod:0xdaa520,gray:8421504,green:32768,greenyellow:0xadff2f,grey:8421504,honeydew:0xf0fff0,hotpink:0xff69b4,indianred:0xcd5c5c,indigo:4915330,ivory:0xfffff0,khaki:0xf0e68c,lavender:0xe6e6fa,lavenderblush:0xfff0f5,lawngreen:8190976,lemonchiffon:0xfffacd,lightblue:0xadd8e6,lightcoral:0xf08080,lightcyan:0xe0ffff,lightgoldenrodyellow:0xfafad2,lightgray:0xd3d3d3,lightgreen:9498256,lightgrey:0xd3d3d3,lightpink:0xffb6c1,lightsalmon:0xffa07a,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:0xb0c4de,lightyellow:0xffffe0,lime:65280,limegreen:3329330,linen:0xfaf0e6,magenta:0xff00ff,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:0xba55d3,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:0xc71585,midnightblue:1644912,mintcream:0xf5fffa,mistyrose:0xffe4e1,moccasin:0xffe4b5,navajowhite:0xffdead,navy:128,oldlace:0xfdf5e6,olive:8421376,olivedrab:7048739,orange:0xffa500,orangered:0xff4500,orchid:0xda70d6,palegoldenrod:0xeee8aa,palegreen:0x98fb98,paleturquoise:0xafeeee,palevioletred:0xdb7093,papayawhip:0xffefd5,peachpuff:0xffdab9,peru:0xcd853f,pink:0xffc0cb,plum:0xdda0dd,powderblue:0xb0e0e6,purple:8388736,rebeccapurple:6697881,red:0xff0000,rosybrown:0xbc8f8f,royalblue:4286945,saddlebrown:9127187,salmon:0xfa8072,sandybrown:0xf4a460,seagreen:3050327,seashell:0xfff5ee,sienna:0xa0522d,silver:0xc0c0c0,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:0xfffafa,springgreen:65407,steelblue:4620980,tan:0xd2b48c,teal:32896,thistle:0xd8bfd8,tomato:0xff6347,turquoise:4251856,violet:0xee82ee,wheat:0xf5deb3,white:0xffffff,whitesmoke:0xf5f5f5,yellow:0xffff00,yellowgreen:0x9acd32};function m(){return this.rgb().formatHex()}function p(){return this.rgb().formatRgb()}function b(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=o.exec(e))?(r=t[1].length,t=parseInt(t[1],16),6===r?x(t):3===r?new w(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===r?v(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===r?v(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=l.exec(e))?new w(t[1],t[2],t[3],1):(t=u.exec(e))?new w(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=c.exec(e))?v(t[1],t[2],t[3],t[4]):(t=f.exec(e))?v(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=d.exec(e))?N(t[1],t[2]/100,t[3]/100,1):(t=h.exec(e))?N(t[1],t[2]/100,t[3]/100,t[4]):g.hasOwnProperty(e)?x(g[e]):"transparent"===e?new w(NaN,NaN,NaN,0):null}function x(e){return new w(e>>16&255,e>>8&255,255&e,1)}function v(e,t,r,n){return n<=0&&(e=t=r=NaN),new w(e,t,r,n)}function y(e,t,r,i){var a;return 1==arguments.length?((a=e)instanceof n||(a=b(a)),a)?new w((a=a.rgb()).r,a.g,a.b,a.opacity):new w:new w(e,t,r,null==i?1:i)}function w(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}function $(){return`#${_(this.r)}${_(this.g)}${_(this.b)}`}function j(){let e=E(this.opacity);return`${1===e?"rgb(":"rgba("}${k(this.r)}, ${k(this.g)}, ${k(this.b)}${1===e?")":`, ${e})`}`}function E(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function k(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function _(e){return((e=k(e))<16?"0":"")+e.toString(16)}function N(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new P(e,t,r,n)}function S(e){if(e instanceof P)return new P(e.h,e.s,e.l,e.opacity);if(e instanceof n||(e=b(e)),!e)return new P;if(e instanceof P)return e;var t=(e=e.rgb()).r/255,r=e.g/255,i=e.b/255,a=Math.min(t,r,i),s=Math.max(t,r,i),o=NaN,l=s-a,u=(s+a)/2;return l?(o=t===s?(r-i)/l+(r<i)*6:r===s?(i-t)/l+2:(t-r)/l+4,l/=u<.5?s+a:2-s-a,o*=60):l=u>0&&u<1?0:o,new P(o,l,u,e.opacity)}function P(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}function R(e){return(e=(e||0)%360)<0?e+360:e}function C(e){return Math.max(0,Math.min(1,e||0))}function O(e,t,r){return(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)*255}function M(e,t,r,n,i){var a=e*e,s=a*e;return((1-3*e+3*a-s)*t+(4-6*a+3*s)*r+(1+3*e+3*a-3*s)*n+s*i)/6}t(n,b,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:m,formatHex:m,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return S(this).formatHsl()},formatRgb:p,toString:p}),t(w,y,r(n,{brighter(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new w(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new w(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new w(k(this.r),k(this.g),k(this.b),E(this.opacity))},displayable(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:$,formatHex:$,formatHex8:function(){return`#${_(this.r)}${_(this.g)}${_(this.b)}${_((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:j,toString:j})),t(P,function(e,t,r,n){return 1==arguments.length?S(e):new P(e,t,r,null==n?1:n)},r(n,{brighter(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new P(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new P(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*t,i=2*r-n;return new w(O(e>=240?e-240:e+120,i,n),O(e,i,n),O(e<120?e+240:e-120,i,n),this.opacity)},clamp(){return new P(R(this.h),C(this.s),C(this.l),E(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let e=E(this.opacity);return`${1===e?"hsl(":"hsla("}${R(this.h)}, ${100*C(this.s)}%, ${100*C(this.l)}%${1===e?")":`, ${e})`}`}})),e.s(["color",0,b],19903);let I=e=>()=>e;function z(e,t){var r=t-e;return r?function(t){return e+t*r}:I(isNaN(e)?t:e)}let D=function e(t){var r,n=1==(r=+t)?z:function(e,t){var n,i,a;return t-e?(n=e,i=t,n=Math.pow(n,a=r),i=Math.pow(i,a)-n,a=1/a,function(e){return Math.pow(n+e*i,a)}):I(isNaN(e)?t:e)};function i(e,t){var r=n((e=y(e)).r,(t=y(t)).r),i=n(e.g,t.g),a=n(e.b,t.b),s=z(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=i(t),e.b=a(t),e.opacity=s(t),e+""}}return i.gamma=e,i}(1);function A(e){return function(t){var r,n,i=t.length,a=Array(i),s=Array(i),o=Array(i);for(r=0;r<i;++r)n=y(t[r]),a[r]=n.r||0,s[r]=n.g||0,o[r]=n.b||0;return a=e(a),s=e(s),o=e(o),n.opacity=1,function(e){return n.r=a(e),n.g=s(e),n.b=o(e),n+""}}}function L(e,t){return e*=1,t*=1,function(r){return e*(1-r)+t*r}}A(function(e){var t=e.length-1;return function(r){var n=r<=0?r=0:r>=1?(r=1,t-1):Math.floor(r*t),i=e[n],a=e[n+1],s=n>0?e[n-1]:2*i-a,o=n<t-1?e[n+2]:2*a-i;return M((r-n/t)*t,s,i,a,o)}}),A(function(e){var t=e.length;return function(r){var n=Math.floor(((r%=1)<0?++r:r)*t),i=e[(n+t-1)%t],a=e[n%t],s=e[(n+1)%t],o=e[(n+2)%t];return M((r-n/t)*t,i,a,s,o)}}),e.s(["default",0,D],47672),e.s(["default",0,L],11049);var q=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,T=RegExp(q.source,"g");function B(e,t){var r,n,i,a,s,o=q.lastIndex=T.lastIndex=0,l=-1,u=[],c=[];for(e+="",t+="";(i=q.exec(e))&&(a=T.exec(t));)(s=a.index)>o&&(s=t.slice(o,s),u[l]?u[l]+=s:u[++l]=s),(i=i[0])===(a=a[0])?u[l]?u[l]+=a:u[++l]=a:(u[++l]=null,c.push({i:l,x:L(i,a)})),o=T.lastIndex;return o<t.length&&(s=t.slice(o),u[l]?u[l]+=s:u[++l]=s),u.length<2?c[0]?(r=c[0].x,function(e){return r(e)+""}):(n=t,function(){return n}):(t=c.length,function(e){for(var r,n=0;n<t;++n)u[(r=c[n]).i]=r.x(e);return u.join("")})}function W(e,t){var r,n,i=typeof t;return null==t||"boolean"===i?I(t):("number"===i?L:"string"===i?(n=b(t))?(t=n,D):B:t instanceof b?D:t instanceof Date?function(e,t){var r=new Date;return e*=1,t*=1,function(n){return r.setTime(e*(1-n)+t*n),r}}:!ArrayBuffer.isView(r=t)||r instanceof DataView?Array.isArray(t)?function(e,t){var r,n=t?t.length:0,i=e?Math.min(n,e.length):0,a=Array(i),s=Array(n);for(r=0;r<i;++r)a[r]=W(e[r],t[r]);for(;r<n;++r)s[r]=t[r];return function(e){for(r=0;r<i;++r)s[r]=a[r](e);return s}}:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?function(e,t){var r,n={},i={};for(r in(null===e||"object"!=typeof e)&&(e={}),(null===t||"object"!=typeof t)&&(t={}),t)r in e?n[r]=W(e[r],t[r]):i[r]=t[r];return function(e){for(r in n)i[r]=n[r](e);return i}}:L:function(e,t){t||(t=[]);var r,n=e?Math.min(t.length,e.length):0,i=t.slice();return function(a){for(r=0;r<n;++r)i[r]=e[r]*(1-a)+t[r]*a;return i}})(e,t)}e.s(["default",0,B],74037),e.s(["interpolate",0,W],98952),e.s(["interpolateNumber",0,L],25369)},23874,e=>{"use strict";e.s(["initInterpolator",0,function(e,t){switch(arguments.length){case 0:break;case 1:"function"==typeof e?this.interpolator(e):this.range(e);break;default:this.domain(e),"function"==typeof t?this.interpolator(t):this.range(t)}return this},"initRange",0,function(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}])},28120,e=>{"use strict";var t=e.i(21791),r=e.i(23874);let n=Symbol("implicit");e.s(["default",0,function e(){var i=new t.InternMap,a=[],s=[],o=n;function l(e){let t=i.get(e);if(void 0===t){if(o!==n)return o;i.set(e,t=a.push(e)-1)}return s[t%s.length]}return l.domain=function(e){if(!arguments.length)return a.slice();for(let r of(a=[],i=new t.InternMap,e))i.has(r)||i.set(r,a.push(r)-1);return l},l.range=function(e){return arguments.length?(s=Array.from(e),l):s.slice()},l.unknown=function(e){return arguments.length?(o=e,l):o},l.copy=function(){return e(a,s).unknown(o)},r.initRange.apply(l,arguments),l},"implicit",0,n])},21791,e=>{"use strict";class t extends Map{constructor(e,t=n){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),null!=e)for(const[t,r]of e)this.set(t,r)}get(e){return super.get(r(this,e))}has(e){return super.has(r(this,e))}set(e,t){return super.set(function({_intern:e,_key:t},r){let n=t(r);return e.has(n)?e.get(n):(e.set(n,r),r)}(this,e),t)}delete(e){return super.delete(function({_intern:e,_key:t},r){let n=t(r);return e.has(n)&&(r=e.get(n),e.delete(n)),r}(this,e))}}function r({_intern:e,_key:t},n){let i=t(n);return e.has(i)?e.get(i):n}function n(e){return null!==e&&"object"==typeof e?e.valueOf():e}e.s(["InternMap",0,t])},49194,(e,t,r)=>{"use strict";e.i(50461),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"Image",{enumerable:!0,get:function(){return w}});let n=e.r(41705),i=e.r(52456),a=e.r(91398),s=i._(e.r(91788)),o=n._(e.r(30943)),l=n._(e.r(80963)),u=e.r(66785),c=e.r(15125),f=e.r(13521),d=e.r(25479),h=n._(e.r(3866)),g=e.r(63230),m={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0};function p(e,t,r,n,i,a,s){let o=e?.src;e&&e["data-loaded-src"]!==o&&(e["data-loaded-src"]=o,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),r?.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,i=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}n?.current&&n.current(e)}}))}function b(e){return s.use?{fetchPriority:e}:{fetchpriority:e}}"u"<typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let x="u"<typeof window?s.useEffect:s.useLayoutEffect,v=(0,s.forwardRef)(({src:e,srcSet:t,sizes:r,height:n,width:i,decoding:o,className:l,style:u,fetchPriority:c,placeholder:f,loading:d,unoptimized:h,fill:m,onLoadRef:v,onLoadingCompleteRef:y,setBlurComplete:w,setShowAltText:$,sizesInput:j,onLoad:E,onError:k,..._},N)=>{let S=(0,s.useRef)(!1),P=(0,s.useRef)(null);x(()=>{let{current:e}=S,{current:t}=P;e||null===t||(k&&(t.src=t.src),t.complete&&p(t,f,v,y,w,h,j),S.current=!0)},[e,f,v,y,k,h,j]);let R=(0,g.useMergedRef)(N,P);return(0,a.jsx)("img",{..._,...b(c),loading:d,width:i,height:n,decoding:o,"data-nimg":m?"fill":"1",className:l,style:u,sizes:r,srcSet:t,src:e,ref:R,onLoad:e=>{p(e.currentTarget,f,v,y,w,h,j)},onError:e=>{$(!0),"empty"!==f&&w(!0),k&&k(e)}})});function y({isAppRouter:e,imgAttributes:t}){let r={as:"image",imageSrcSet:t.srcSet,imageSizes:t.sizes,crossOrigin:t.crossOrigin,referrerPolicy:t.referrerPolicy,...b(t.fetchPriority)};return e&&o.default.preload?(o.default.preload(t.src,r),null):(0,a.jsx)(l.default,{children:(0,a.jsx)("link",{rel:"preload",href:t.srcSet?void 0:t.src,...r},"__nimg-"+t.src+t.srcSet+t.sizes)})}let w=(0,s.forwardRef)((e,t)=>{let r=(0,s.useContext)(d.RouterContext),n=(0,s.useContext)(f.ImageConfigContext),i=(0,s.useMemo)(()=>{let e=m||n||c.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),r=e.deviceSizes.sort((e,t)=>e-t),i=e.qualities?.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:r,qualities:i,localPatterns:"u"<typeof window?n?.localPatterns:e.localPatterns}},[n]),{onLoad:o,onLoadingComplete:l}=e,g=(0,s.useRef)(o);(0,s.useEffect)(()=>{g.current=o},[o]);let p=(0,s.useRef)(l);(0,s.useEffect)(()=>{p.current=l},[l]);let[b,x]=(0,s.useState)(!1),[w,$]=(0,s.useState)(!1),{props:j,meta:E}=(0,u.getImgProps)(e,{defaultLoader:h.default,imgConf:i,blurComplete:b,showAltText:w});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(v,{...j,unoptimized:E.unoptimized,placeholder:E.placeholder,fill:E.fill,onLoadRef:g,onLoadingCompleteRef:p,setBlurComplete:x,setShowAltText:$,sizesInput:e.sizes,ref:t}),E.preload?(0,a.jsx)(y,{isAppRouter:!r,imgAttributes:j}):null]})});("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},88961,(e,t,r)=>{"use strict";e.i(50461),Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return c},getImageProps:function(){return u}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let a=e.r(41705),s=e.r(66785),o=e.r(49194),l=a._(e.r(3866));function u(e){let{props:t}=(0,s.getImgProps)(e,{defaultLoader:l.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let c=o.Image},26019,(e,t,r)=>{t.exports=e.r(88961)},68816,(e,t,r)=>{"use strict";function n(e,t){let r=e||75;return t?.qualities?.length?t.qualities.reduce((e,t)=>Math.abs(t-r)<Math.abs(e-r)?t:e,t.qualities[0]):r}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"findClosestQuality",{enumerable:!0,get:function(){return n}})},3866,(e,t,r)=>{"use strict";e.i(50461),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return s}});let n=e.r(68816),i=e.r(20262);function a({config:e,src:t,width:r,quality:s}){let o=(0,i.getDeploymentId)();if(t.startsWith("/")&&!t.startsWith("//"))if(t.includes("/_next/static/immutable")&&!(0,i.getAssetToken)())o=void 0;else{let e=t.indexOf("?");if(-1!==e){let r=new URLSearchParams(t.slice(e+1)),n=r.get("dpl");if(n){o=n,r.delete("dpl");let i=r.toString();t=t.slice(0,e)+(i?"?"+i:"")}}}if(t.startsWith("/")&&t.includes("?")&&e.localPatterns?.length===1&&"**"===e.localPatterns[0].pathname&&""===e.localPatterns[0].search)throw Object.defineProperty(Error(`Image with src "${t}" is using a query string which is not configured in images.localPatterns.
|
|
17
|
+
Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,configurable:!0});let l=(0,n.findClosestQuality)(s,e);return`${e.path}?url=${encodeURIComponent(t)}&w=${r}&q=${l}${t.startsWith("/")&&o?`&dpl=${o}`:""}`}a.__next_img_default=!0;let s=a},66785,(e,t,r)=>{"use strict";e.i(50461),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getImgProps",{enumerable:!0,get:function(){return u}});let n=e.r(20262),i=e.r(55034),a=e.r(15125),s=["-moz-initial","fill","none","scale-down",void 0];function o(e){return void 0!==e.default}function l(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function u({src:e,sizes:t,unoptimized:r=!1,priority:c=!1,preload:f=!1,loading:d,className:h,quality:g,width:m,height:p,fill:b=!1,style:x,overrideSrc:v,onLoad:y,onLoadingComplete:w,placeholder:$="empty",blurDataURL:j,fetchPriority:E,decoding:k="async",layout:_,objectFit:N,objectPosition:S,lazyBoundary:P,lazyRoot:R,...C},O){var M;let I,z,D,{imgConf:A,showAltText:L,blurComplete:q,defaultLoader:T}=O,B=A||a.imageConfigDefault;if("allSizes"in B)I=B;else{let e=[...B.deviceSizes,...B.imageSizes].sort((e,t)=>e-t),t=B.deviceSizes.sort((e,t)=>e-t),r=B.qualities?.sort((e,t)=>e-t);I={...B,allSizes:e,deviceSizes:t,qualities:r}}if(void 0===T)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let W=C.loader||T;delete C.loader,delete C.srcSet;let F="__next_img_default"in W;if(F){if("custom"===I.loader)throw Object.defineProperty(Error(`Image with src "${e}" is missing "loader" prop.
|
|
18
|
+
Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=W;W=t=>{let{config:r,...n}=t;return e(n)}}if(_){"fill"===_&&(b=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[_];e&&(x={...x,...e});let r={responsive:"100vw",fill:"100vw"}[_];r&&!t&&(t=r)}let V="",H=l(m),G=l(p);if((M=e)&&"object"==typeof M&&(o(M)||void 0!==M.src)){let t=o(e)?e.default:e;if(!t.src)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!t.height||!t.width)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(z=t.blurWidth,D=t.blurHeight,j=j||t.blurDataURL,V=t.src,!b)if(H||G){if(H&&!G){let e=H/t.width;G=Math.round(t.height*e)}else if(!H&&G){let e=G/t.height;H=Math.round(t.width*e)}}else H=t.width,G=t.height}let U=!c&&!f&&("lazy"===d||void 0===d);(!(e="string"==typeof e?e:V)||e.startsWith("data:")||e.startsWith("blob:"))&&(r=!0,U=!1),I.unoptimized&&(r=!0),F&&!I.dangerouslyAllowSVG&&e.split("?",1)[0].endsWith(".svg")&&(r=!0);let X=l(g),Q=Object.assign(b?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:N,objectPosition:S}:{},L?{}:{color:"transparent"},x),Z=q||"empty"===$?null:"blur"===$?`url("data:image/svg+xml;charset=utf-8,${(0,i.getImageBlurSvg)({widthInt:H,heightInt:G,blurWidth:z,blurHeight:D,blurDataURL:j||"",objectFit:Q.objectFit})}")`:`url("${$}")`,J=s.includes(Q.objectFit)?"fill"===Q.objectFit?"100% 100%":"cover":Q.objectFit,K=Z?{backgroundSize:J,backgroundPosition:Q.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:Z}:{},Y=function({config:e,src:t,unoptimized:r,width:i,quality:a,sizes:s,loader:o}){if(r){if(t.startsWith("/")&&!t.startsWith("//")){let e=(0,n.getDeploymentId)();if(t.includes("/_next/static/immutable")&&!(0,n.getAssetToken)())e=void 0;else if(e){let r=t.indexOf("?");if(-1!==r){let n=new URLSearchParams(t.slice(r+1));n.get("dpl")||(n.append("dpl",e),t=t.slice(0,r)+"?"+n.toString())}else t+=`?dpl=${e}`}}return{src:t,srcSet:void 0,sizes:void 0}}let{widths:l,kind:u}=function({deviceSizes:e,allSizes:t},r,n){if(n){let r=/(^|\s)(1?\d?\d)vw/g,i=[];for(let e;e=r.exec(n);)i.push(parseInt(e[2]));if(i.length){let r=.01*Math.min(...i);return{widths:t.filter(t=>t>=e[0]*r),kind:"w"}}return{widths:t,kind:"w"}}return"number"!=typeof r?{widths:e,kind:"w"}:{widths:[...new Set([r,2*r].map(e=>t.find(t=>t>=e)||t[t.length-1]))],kind:"x"}}(e,i,s),c=l.length-1;return{sizes:s||"w"!==u?s:"100vw",srcSet:l.map((r,n)=>`${o({config:e,src:t,quality:a,width:r})} ${"w"===u?r:n+1}${u}`).join(", "),src:o({config:e,src:t,quality:a,width:l[c]})}}({config:I,src:e,unoptimized:r,width:H,quality:X,sizes:t,loader:W}),ee=U?"lazy":d;return{props:{...C,loading:ee,fetchPriority:E,width:H,height:G,decoding:k,className:h,style:{...Q,...K},sizes:Y.sizes,srcSet:Y.srcSet,src:v||Y.src},meta:{unoptimized:r,preload:f||c,placeholder:$,fill:b}}}},55034,(e,t,r)=>{"use strict";function n({widthInt:e,heightInt:t,blurWidth:r,blurHeight:i,blurDataURL:a,objectFit:s}){let o=r?40*r:e,l=i?40*i:t,u=o&&l?`viewBox='0 0 ${o} ${l}'`:"";return`%3Csvg xmlns='http://www.w3.org/2000/svg' ${u}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${u?"none":"contain"===s?"xMidYMid":"cover"===s?"xMidYMid slice":"none"}' style='filter: url(%23b);' href='${a}'/%3E%3C/svg%3E`}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getImageBlurSvg",{enumerable:!0,get:function(){return n}})},13521,(e,t,r)=>{"use strict";e.i(50461),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ImageConfigContext",{enumerable:!0,get:function(){return a}});let n=e.r(41705)._(e.r(91788)),i=e.r(15125),a=n.default.createContext(i.imageConfigDefault)},15125,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={VALID_LOADERS:function(){return a},imageConfigDefault:function(){return s}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let a=["default","imgix","cloudinary","akamai","custom"],s={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,r)=>{"use strict";var n=e.r(91788),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=n.useSyncExternalStore,s=n.useRef,o=n.useEffect,l=n.useMemo,u=n.useDebugValue;r.useSyncExternalStoreWithSelector=function(e,t,r,n,c){var f=s(null);if(null===f.current){var d={hasValue:!1,value:null};f.current=d}else d=f.current;var h=a(e,(f=l(function(){function e(e){if(!o){if(o=!0,a=e,e=n(e),void 0!==c&&d.hasValue){var t=d.value;if(c(t,e))return s=t}return s=e}if(t=s,i(a,e))return t;var r=n(e);return void 0!==c&&c(t,r)?(a=e,t):(a=e,s=r)}var a,s,o=!1,l=void 0===r?null:r;return[function(){return e(t())},null===l?void 0:function(){return e(l())}]},[t,r,n,c]))[0],f[1]);return o(function(){d.hasValue=!0,d.value=h},[h]),u(h),h}},19979,(e,t,r)=>{"use strict";e.i(50461),t.exports=e.r(40238)}]);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
__turbopack_load_page_chunks__("/tokens/TokenDetailPage", [
|
|
2
|
+
"static/chunks/2skfzjx2g9hkk.js",
|
|
3
|
+
"static/chunks/1k4ep4igedo8p.js",
|
|
4
|
+
"static/chunks/17b4rvj5k8ye2.js",
|
|
5
|
+
"static/chunks/1rtv3c_klo0jk.js",
|
|
6
|
+
"static/chunks/1kn74nabrpy14.js",
|
|
7
|
+
"static/chunks/3vjgbl76cgrmt.js",
|
|
8
|
+
"static/chunks/0rqjr_lmrk4pz.js",
|
|
9
|
+
"static/chunks/252jebodi67kg.js",
|
|
10
|
+
"static/chunks/33emlry70k-lv.js",
|
|
11
|
+
"static/chunks/41e2wlkp9_pvk.js",
|
|
12
|
+
"static/chunks/05-ui58k9illr.js",
|
|
13
|
+
"static/chunks/0jeddko6bac8h.js",
|
|
14
|
+
"static/chunks/turbopack-0iozo8xy34oiw.js"
|
|
15
|
+
])
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,54879,e=>{"use strict";var t=e.i(91398),r=e.i(56206);e.s(["default",0,({children:e,className:a,error:i,disabled:l,required:s,name:o,label:n,hideLabel:u,labelClassName:d})=>(0,t.jsxs)("div",{className:(0,r.default)("container",{"is-invalid":!!i,disabled:l,required:s},a),children:[(0,t.jsx)("label",{"aria-label":n,htmlFor:o,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":!!i,"sr-only":u},d),children:i||n}),e]})])},10685,e=>{"use strict";var t=e.i(91398),r=e.i(56206),a=e.i(60741),i=e.i(54879);e.s(["default",0,e=>{let{options:l,...s}=(0,a.default)(e),{className:o}=e||{className:""};return(0,t.jsx)(i.default,{...s,children:(0,t.jsx)("div",{className:"select-wrap",children:(0,t.jsxs)("select",{className:(0,r.default)("block w-full dark:bg-slate-900 dark:text-white rounded-md border-1 border-border-default py-2.5 pl-3 pr-10 text-base text-black shadow-xs focus:outline-hidden focus:ring-2 focus:ring-focus-ring sm:text-sm",o,{"border-rose-700 text-rose-600 dark:border-rose-500 dark:text-rose-400":!!s.error}),disabled:s.disabled,id:s.name,name:s.name,onChange:s.onChange,onBlur:s.onBlur,value:s.value,children:[(0,t.jsx)("option",{className:"dark:text-slate-200",value:"",disabled:s.required,hidden:s.required,children:s.placeholder||s.label}),Object.entries(l).map(([e,r])=>(0,t.jsx)("option",{className:"dark:text-slate-200",value:e,children:r},e))]})})})}])},21128,e=>{"use strict";var t=e.i(91398),r=e.i(56206),a=e.i(58021),i=e.i(61898);e.s(["default",0,({label:e,disabled:l=!1,className:s="",hidden:o=!1,...n})=>{let{formState:u}=(0,a.useFormContext)(),{...d}=n,c=Object.keys(u.errors).length>0&&Object.values(u.errors).some(e=>!!e),{disabled:f}=(0,i.default)(),m=l||f||u.isSubmitting||c,p=u.isSubmitting&&!c,g=(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",s,{"bg-rose-50 dark:bg-slate-800 dark:text-rose-300 cursor-not-allowed border-rose-300 dark:border-rose-600 text-rose-900":g,"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:o}),"aria-label":e,type:"submit",value:e,disabled:m,...d})}])},5505,e=>{"use strict";var t=e.i(91398),r=e.i(91788),a=e.i(56206);let i=(0,r.createContext)(!1);e.s(["FormWrapperContext",0,i,"default",0,({children:e,className:r=""})=>(0,t.jsx)(i.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})})})])},68057,e=>{"use strict";var t=e.i(91398),r=e.i(69322),a=e.i(69211),i=e.i(10685),l=e.i(21128),s=e.i(98949),o=e.i(5505);e.s(["default",0,({onSubmit:e,onSubmitSuccess:n,providerTypes:u,providerInterfaces:d,onProviderChange:c,readOnly:f})=>{let{formatMessage:m}=(0,r.useIntl)(),p=m({id:"provider_created_success",defaultMessage:"Provider created successfully!"}),g=(0,s.default)({submit:e,onSubmitSuccess:n,successMessage:p,enableReinitialize:!0,initialValues:{adapterKey:"",type:""}});return(0,t.jsx)(o.default,{children:(0,t.jsx)(a.default,{form:g,children:(0,t.jsxs)("div",{className:"shadow-sm dark:shadow-none sm:max-w-full sm:rounded-lg",children:[(0,t.jsxs)("div",{className:"px-4 pt-4 pb-6",children:[(0,t.jsx)(i.default,{onChange:e=>c(e.target.value),name:"type",disabled:f,required:!0,label:m({id:"type",defaultMessage:"Type"}),options:u,className:"mb-5"}),(0,t.jsx)(i.default,{name:"adapterKey",required:!0,disabled:f,options:d,label:m({id:"adapter",defaultMessage:"Adapter"}),className:"mt-2"})]}),!f&&(0,t.jsx)("div",{className:"border-t-slate-100 border-t border-t-border-subtle space-y-6 bg-surface-subtle p-6 px-5 text-right",children:(0,t.jsx)(l.default,{label:m({id:"create_provider",defaultMessage:"Create provider"})})})]})})})}])},1504,e=>{"use strict";e.s(["default",0,(e,t,r)=>Object.assign({},...e?.map(e=>({[e[r]]:e[t]}))||[])])},36494,e=>{"use strict";var t=e.i(59080);let r=t.gql`
|
|
2
|
+
fragment AddressFragment on Address {
|
|
3
|
+
firstName
|
|
4
|
+
lastName
|
|
5
|
+
company
|
|
6
|
+
addressLine
|
|
7
|
+
postalCode
|
|
8
|
+
city
|
|
9
|
+
countryCode
|
|
10
|
+
regionCode
|
|
11
|
+
}
|
|
12
|
+
`;e.s(["default",0,r])},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)])},93333,e=>{"use strict";var t=e.i(59080),r=e.i(32171);let a=t.gql`
|
|
13
|
+
query DeliveryProvidersType {
|
|
14
|
+
deliveryProviderType: __type(name: "DeliveryProviderType") {
|
|
15
|
+
options: enumValues {
|
|
16
|
+
value: name
|
|
17
|
+
label: description
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
`;e.s(["default",0,()=>{let{data:e,loading:t,error:i}=(0,r.useQuery)(a);return{deliveryProviderType:e?.deliveryProviderType?.options||[],loading:t,error:i}}])},69211,e=>{"use strict";var t=e.i(91398),r=e.i(58021),a=e.i(60170);e.s(["default",0,({form:e,children:i,className:l="",...s})=>(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,...s,children:i})})})])},60741,e=>{"use strict";var t=e.i(91788),r=e.i(69322),a=e.i(58021),i=e.i(82226),l=e.i(61898);e.s(["default",0,e=>{let s=(0,r.useIntl)(),{rhf:o,...n}=(0,l.default)(),{name:u,required:d,errorMessage:c,disabled:f=n.disabled||o?.formState?.isSubmitting,label:m=s.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,g=[...p,d&&i.validateRequired].filter(Boolean),v=e=>g.reduce((t,{isValid:r,intlMessageDescriptor:a,intlMessageValues:i})=>t||r(e)?t:c||s.formatMessage(a,{label:m,...i}),""),y=(0,t.useRef)(v);y.current=v;let{field:b,fieldState:h,formState:x}=(0,a.useController)({name:u,control:o?.control,rules:{validate:e=>y.current(e)||!0}}),_=(h.isTouched||x.isSubmitted)&&h.error?.message;return{...e,name:u,error:_,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)=>{o?.setValue(u,e,{shouldDirty:!0,shouldValidate:t??!1})},setError:e=>{e?o?.setError(u,{type:"manual",message:e}):o?.clearErrors(u)},setTouched:e=>{e&&o?.trigger(u)}}}])},98949,e=>{"use strict";var t=e.i(91788),r=e.i(58021),a=e.i(69322),i=e.i(28401),l=e.i(73319);let s=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=>s(e)):Array.isArray(e)&&e?.length&&(0,l.isObject)(e[0])?e.map(e=>Object.fromEntries(Object.entries(e).map(([e,t])=>[e,s(t)]))):e,o=e=>e&&"object"==typeof e?"string"==typeof e.message&&e.message?e.message:Array.isArray(e)?e.map(e=>o(e)):Object.fromEntries(Object.entries(e).filter(([e])=>"ref"!==e).map(([e,t])=>[e,o(t)])):e;e.s(["default",0,({submit:e,getSubmitErrorMessage:l=()=>"",onSubmitSuccess:n=()=>!0,initialValues:u,initialErrors:d,initialTouched:c,successMessage:f,enableReinitialize:m,validate:p,disabled:g=!1})=>{let v=(0,a.useIntl)(),[y,b]=(0,t.useState)(""),h=(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}),x=(0,t.useCallback)(e=>{let t=e?.errors?.[0];return v.formatMessage({id:"error_server",defaultMessage:"{details}"},{details:t?.message||""})},[v]),_=(0,t.useCallback)(async t=>{let r=!0;try{let a=await e(Object.fromEntries(Object.entries(t).map(([e,t])=>[e,s(t)]))),o=("boolean"==typeof a?a:a?.success)??!a?.error;if(o)f&&i.toast.success(f),await n(o,a?.data||t);else{let e="boolean"==typeof a?!a:a?.error;Array.isArray(e)?e.forEach(e=>{r=!1,b(l(e)||x(e))}):(r=!1,b(l(e)||x(e)))}}catch(e){r=!1,b(l(e)||x(e))}r&&b("")},[e,f,n,l,x]);return{submitError:y,api:(0,t.useMemo)(()=>({setFieldError:(e,t)=>{h.setError(e,{type:"manual",message:t})},setFieldValue:(e,t)=>{h.setValue(e,t,{shouldDirty:!0,shouldTouch:!0})},setValues:e=>{h.reset(e,{keepDirtyValues:!1,keepErrors:!1})},get values(){return h.getValues()},get isValid(){return h.formState.isValid},get isSubmitting(){return h.formState.isSubmitting},handleSubmit:h.handleSubmit(_),handleReset:()=>{h.reset()},resetForm:e=>{h.reset(e||u)},submitForm:()=>{h.handleSubmit(_)()},getFieldMeta:e=>{let t=h.getFieldState(e,h.formState);return{error:t.error?.message,touched:t.isTouched}},get initialValues(){return u},get errors(){return o(h.formState.errors)}}),[h,_,u]),rhf:h,setSubmitError:b,disabled:g}}],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),i=e.i(9356),l=e.i(49543);e.i(69322);let s=["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"],o=["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,i.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=>s.includes(e.toUpperCase()),intlMessageDescriptor:{id:"error_country_code",defaultMessage:"Invalid country code"}}),"validateDate",0,{isValid:e=>!e||(0,i.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=>o.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)},8320,e=>{"use strict";var t=e.i(91398),r=e.i(91788);e.i(51523);var a=e.i(19518),i=e.i(3828),l=e.i(69322),s=e.i(58971),o=e.i(50595),n=e.i(68057),u=e.i(25327),d=e.i(1504),c=e.i(59080),f=e.i(76204),m=e.i(36494);let p=c.gql`
|
|
22
|
+
mutation CreateDeliveryProvider(
|
|
23
|
+
$deliveryProvider: CreateDeliveryProviderInput!
|
|
24
|
+
) {
|
|
25
|
+
createDeliveryProvider(deliveryProvider: $deliveryProvider) {
|
|
26
|
+
_id
|
|
27
|
+
created
|
|
28
|
+
updated
|
|
29
|
+
deleted
|
|
30
|
+
type
|
|
31
|
+
isActive
|
|
32
|
+
configuration
|
|
33
|
+
interface {
|
|
34
|
+
_id
|
|
35
|
+
label
|
|
36
|
+
version
|
|
37
|
+
}
|
|
38
|
+
configurationError
|
|
39
|
+
... on DeliveryProviderPickUp {
|
|
40
|
+
pickUpLocations {
|
|
41
|
+
_id
|
|
42
|
+
name
|
|
43
|
+
address {
|
|
44
|
+
...AddressFragment
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
${m.default}
|
|
51
|
+
`;var g=e.i(32171);let v=c.gql`
|
|
52
|
+
query DeliveryInterfaces($providerType: DeliveryProviderType) {
|
|
53
|
+
deliveryInterfaces(type: $providerType) {
|
|
54
|
+
_id
|
|
55
|
+
value: _id
|
|
56
|
+
label
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
`;var y=e.i(93333);e.s(["default",0,()=>{let[e,c]=(0,r.useState)(a.IDeliveryProviderType.Shipping),{formatMessage:m}=(0,l.useIntl)(),{createDeliveryProvider:b}=(()=>{let[e,{data:t,error:r,loading:a}]=(0,f.useMutation)(p);return{createDeliveryProvider:async({deliveryProvider:{adapterKey:t,type:r}})=>e({variables:{deliveryProvider:{adapterKey:t,type:r}},refetchQueries:["DeliveryProviders","ShopStatus"]}),newDeliveryProvider:t?.createDeliveryProvider,loading:a,error:r}})(),{deliveryProviderType:h}=(0,y.default)(),{deliveryInterfaces:x}=(({providerType:e=null})=>{let{data:t,loading:r,error:a}=(0,g.useQuery)(v,{skip:!e,variables:{providerType:e}});return{deliveryInterfaces:t?.deliveryInterfaces||[],loading:r,error:a}})({providerType:e}),{hasRole:_}=(0,s.default)(),M=async({adapterKey:e,type:t})=>{let{data:r,error:a}=await b({deliveryProvider:{adapterKey:e,type:t}});return!a&&{success:!0,data:r?.createDeliveryProvider}},S=(0,i.useRouter)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o.default,{}),(0,t.jsxs)("div",{className:"mx-auto sm:max-w-2xl",children:[(0,t.jsx)(u.default,{headerText:m({id:"new_delivery_provider",defaultMessage:"New delivery provider"})}),(0,t.jsx)("div",{className:"mt-6",children:(0,t.jsx)(n.default,{readOnly:!_(a.IRoleAction.ManageDeliveryProviders),providerInterfaces:(0,d.default)(x,"label","value"),providerTypes:(0,d.default)(h,"label","value"),onSubmit:M,onSubmitSuccess:(e,{_id:t})=>{S.replace(`/delivery-provider?deliveryProviderId=${t}`)},onProviderChange:e=>c(e)})})]})]})}],8320)},74795,(e,t,r)=>{let a="/delivery-provider/new";(window.__NEXT_P=window.__NEXT_P||[]).push([a,()=>e.r(8320)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([a])})},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)))},13521,(e,t,r)=>{"use strict";e.i(50461),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ImageConfigContext",{enumerable:!0,get:function(){return l}});let a=e.r(41705)._(e.r(91788)),i=e.r(15125),l=a.default.createContext(i.imageConfigDefault)},15125,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={VALID_LOADERS:function(){return l},imageConfigDefault:function(){return s}};for(var i in a)Object.defineProperty(r,i,{enumerable:!0,get:a[i]});let l=["default","imgix","cloudinary","akamai","custom"],s={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}},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,i.default)(e),"object"===l(t)?(r=t.min||0,a=t.max):(r=arguments[1]||0,a=arguments[2]);var r,a,s=e.match(/[^\uFE0F\uFE0E][\uFE0F\uFE0E]/g)||[],o=e.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g)||[],n=e.length-s.length-o.length,u=n>=r&&(void 0===a||n<=a);return u&&Array.isArray(null==t?void 0:t.discreteLengths)?t.discreteLengths.some(function(e){return e===n}):u};var a,i=(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,i.default)(e),"object"===l(t)?(r=t.min||0,a=t.max):(r=arguments[1],a=arguments[2]);var r,a,s=encodeURI(e).split(/%..|./).length-1;return s>=r&&(void 0===a||s<=a)};var a,i=(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,i.default)(t,s)).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)),i=l(e.r(34058));function l(e){return e&&e.__esModule?e:{default:e}}var s={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,i.default)(t);var a=("object"===l(r)?r.version:arguments[1])||"";return a?"4"===a.toString()?n.test(t):"6"===a.toString()&&d.test(t):e(t,{version:4})||e(t,{version:6})};var a,i=(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 s="(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])",o="(".concat(s,"[.]){3}").concat(s),n=new RegExp("^".concat(o,"$")),u="(?:[0-9a-fA-F]{1,4})",d=RegExp("^("+"(?:".concat(u,":){7}(?:").concat(u,"|:)|")+"(?:".concat(u,":){6}(?:").concat(o,"|:").concat(u,"|:)|")+"(?:".concat(u,":){5}(?::").concat(o,"|(:").concat(u,"){1,2}|:)|")+"(?:".concat(u,":){4}(?:(:").concat(u,"){0,1}:").concat(o,"|(:").concat(u,"){1,3}|:)|")+"(?:".concat(u,":){3}(?:(:").concat(u,"){0,2}:").concat(o,"|(:").concat(u,"){1,4}|:)|")+"(?:".concat(u,":){2}(?:(:").concat(u,"){0,3}:").concat(o,"|(:").concat(u,"){1,5}|:)|")+"(?:".concat(u,":){1}(?:(:").concat(u,"){0,4}:").concat(o,"|(:").concat(u,"){1,6}|:)|")+"(?::((?::".concat(u,"){0,5}:").concat(o,"|(?::").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,n.default)(t,d)).require_display_name||t.allow_display_name){var r=e.match(c);if(r){var u,y,b=r[1];if(e=e.replace(b,"").replace(/(^<|>$)/g,""),b.endsWith(" ")&&(b=b.slice(0,-1)),!(!(!(y=(u=b).replace(/^"(.+)"$/,"$1")).trim()||/[\.";<>]/.test(y)&&(y===u||y.split('"').length!==y.split('\\"').length))&&1))return!1}else if(t.require_display_name)return!1}if(!t.ignore_max_length&&e.length>254)return!1;var h=e.split("@"),x=h.pop(),_=x.toLowerCase();if(t.host_blacklist.length>0&&(0,i.default)(_,t.host_blacklist)||t.host_whitelist.length>0&&!(0,i.default)(_,t.host_whitelist))return!1;var M=h.join("@");if(t.domain_specific_validation&&("gmail.com"===_||"googlemail.com"===_)){var S=(M=M.toLowerCase()).split("+")[0];if(!(0,l.default)(S.replace(/\./g,""),{min:6,max:30}))return!1;for(var F=S.split("."),j=0;j<F.length;j++)if(!m.test(F[j]))return!1}if(!1===t.ignore_max_length&&(!(0,l.default)(M,{max:64})||!(0,l.default)(x,{max:254})))return!1;if(!(0,s.default)(x,{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,o.default)(x)){if(!x.startsWith("[")||!x.endsWith("]"))return!1;var C=x.slice(1,-1);if(0===C.length||!(0,o.default)(C))return!1}}if(t.blacklisted_chars&&-1!==M.search(RegExp("[".concat(t.blacklisted_chars,"]+"),"g")))return!1;if('"'===M[0]&&'"'===M[M.length-1])return M=M.slice(1,M.length-1),t.allow_utf8_local_part?v.test(M):p.test(M);for(var D=t.allow_utf8_local_part?g:f,w=M.split("."),P=0;P<w.length;P++)if(!D.test(w[P]))return!1;return!0};var a=u(e.r(78262)),i=u(e.r(80930)),l=u(e.r(60054)),s=u(e.r(96184)),o=u(e.r(90498)),n=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,g=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A1-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,v=/^([\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}]);
|