@unchainedshop/admin-ui 4.8.30 → 4.8.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/403/index.html +3 -2
- package/out/404/index.html +3 -2
- package/out/404.html +3 -2
- package/out/423/index.html +3 -2
- package/out/500/index.html +3 -2
- package/out/_next/static/chunks/0-_s79k4_7ei_.js +5 -0
- package/out/_next/static/chunks/00aks9rqke2x0.js +7 -0
- package/out/_next/static/chunks/00az81dk4vdda.js +54 -0
- package/out/_next/static/chunks/01e4gd649r2tq.js +7 -0
- package/out/_next/static/chunks/01j2wi94k90x0.js +5 -0
- package/out/_next/static/chunks/043i-g05cyvrd.js +1 -0
- package/out/_next/static/chunks/04kyktzbxprj0.js +61 -0
- package/out/_next/static/chunks/05p330iybjojg.js +44 -0
- package/out/_next/static/chunks/05qk8ozexvlxp.js +5 -0
- package/out/_next/static/chunks/06i50j458a7g5.js +12 -0
- package/out/_next/static/chunks/07o9g5hqfpvjc.js +12 -0
- package/out/_next/static/chunks/08o61gwabp3h1.js +33 -0
- package/out/_next/static/chunks/0_bvgo8ev4gs7.js +7 -0
- package/out/_next/static/chunks/0a5nr3-_q7xx1.js +100 -0
- package/out/_next/static/chunks/0amj69l-d5-85.js +1 -0
- package/out/_next/static/chunks/0b05sca2hdcys.js +30 -0
- package/out/_next/static/chunks/0c3kwkqr9evm4.js +5 -0
- package/out/_next/static/chunks/0c4jv8pwvpxei.js +1 -0
- package/out/_next/static/chunks/0c7ljn9lo_0oh.js +5 -0
- package/out/_next/static/chunks/0dqw1oya___hr.js +1 -0
- package/out/_next/static/chunks/0ewr86ctcw7fx.js +1 -0
- package/out/_next/static/chunks/0jham55cr3rhy.js +81 -0
- package/out/_next/static/chunks/0lr7o7tyjmrmf.js +8 -0
- package/out/_next/static/chunks/0mx8opz23nwlb.js +5 -0
- package/out/_next/static/chunks/0n3ixknyc6_ma.js +1 -0
- package/out/_next/static/chunks/0o0e82-3pc7ur.js +78 -0
- package/out/_next/static/chunks/0ohk7l49gjm62.js +5 -0
- package/out/_next/static/chunks/0p31l6a9hynnt.js +6 -0
- package/out/_next/static/chunks/0p7said9rdor1.js +1 -0
- package/out/_next/static/chunks/0q2e8h8498pvo.js +4 -0
- package/out/_next/static/chunks/0qa-zbgmv-k3p.js +9 -0
- package/out/_next/static/chunks/0qj3xdz043z8l.js +12 -0
- package/out/_next/static/chunks/0skst735jufgh.js +71 -0
- package/out/_next/static/chunks/0t28q5fb2jp-6.js +8 -0
- package/out/_next/static/chunks/0tmamaq8exyij.js +1 -0
- package/out/_next/static/chunks/0ydy3ky15gx62.js +1 -0
- package/out/_next/static/chunks/0zh311lu9jf2x.js +5 -0
- package/out/_next/static/chunks/0zpyyygbqx3pf.js +152 -0
- package/out/_next/static/chunks/0zzoylv2rl1xu.js +3 -0
- package/out/_next/static/chunks/1---h4b693b81.js +1 -0
- package/out/_next/static/chunks/10m_etq9t2pkv.js +7 -0
- package/out/_next/static/chunks/11ehf3t7qzbua.js +4 -0
- package/out/_next/static/chunks/11go520d1hcm5.js +1 -0
- package/out/_next/static/chunks/120k989vjsno4.js +1 -0
- package/out/_next/static/chunks/12yd8t4k6c0t1.js +1 -0
- package/out/_next/static/chunks/153ec1_-yt3jb.js +344 -0
- package/out/_next/static/chunks/16le3cqxj12u6.js +5 -0
- package/out/_next/static/chunks/16zxfacsu_jbq.js +1 -0
- package/out/_next/static/chunks/17fibl49qtd6c.js +8 -0
- package/out/_next/static/chunks/182l1mlbf0glb.js +1 -0
- package/out/_next/static/chunks/18xyj4i_i5lyn.js +6 -0
- package/out/_next/static/chunks/1_55km6vm5mc0.js +596 -0
- package/out/_next/static/chunks/1aej6iqnlr74p.js +1 -0
- package/out/_next/static/chunks/1asbed4hne69c.js +7 -0
- package/out/_next/static/chunks/1c60nzy_x4kez.js +277 -0
- package/out/_next/static/chunks/1c77vl6xdqfd4.js +15 -0
- package/out/_next/static/chunks/1da89agg-nacc.js +224 -0
- package/out/_next/static/chunks/1f7-0l47bx76m.js +13 -0
- package/out/_next/static/chunks/1fbsyczyh9hwh.js +1 -0
- package/out/_next/static/chunks/1g96s7-fwvokd.js +2 -0
- package/out/_next/static/chunks/1gqd9vrno0rq4.js +315 -0
- package/out/_next/static/chunks/1hih2cxmgqcd3.js +10 -0
- package/out/_next/static/chunks/1hviha1jcz_og.js +4 -0
- package/out/_next/static/chunks/1il9vuoxtb2_n.js +43 -0
- package/out/_next/static/chunks/1jaatdt0mlypl.js +16 -0
- package/out/_next/static/chunks/1l4g6_of_bbr8.js +5 -0
- package/out/_next/static/chunks/1lezxecnoaxnn.js +32 -0
- package/out/_next/static/chunks/1m27au_nmk8_k.js +71 -0
- package/out/_next/static/chunks/1m4fwgl1mj4d-.js +46 -0
- package/out/_next/static/chunks/1ma82ip9shpkc.js +24 -0
- package/out/_next/static/chunks/1nbh1zkzirnuw.js +1 -0
- package/out/_next/static/chunks/1nohf8_cc6gmw.js +9 -0
- package/out/_next/static/chunks/1os6pvhjeb16o.js +1 -0
- package/out/_next/static/chunks/1qi5yjvzxspwv.js +15 -0
- package/out/_next/static/chunks/1rsexg6dg82f0.js +7 -0
- package/out/_next/static/chunks/1s9v5dndopkuz.js +12 -0
- package/out/_next/static/chunks/1sh2ogc7tcbu-.js +1 -0
- package/out/_next/static/chunks/1sksqjru86hlm.js +1 -0
- package/out/_next/static/chunks/1tkvi0wb-x3v8.js +16 -0
- package/out/_next/static/chunks/1u79pcgqjgjpq.js +1 -0
- package/out/_next/static/chunks/1uqiaqtv_0v2x.js +5 -0
- package/out/_next/static/chunks/1wnuiwsbi70eq.js +116 -0
- package/out/_next/static/chunks/1x8o-luxdxxk7.js +1 -0
- package/out/_next/static/chunks/1yjb7gogaf8po.js +31 -0
- package/out/_next/static/chunks/1zyhzessv0wtg.js +1 -0
- package/out/_next/static/chunks/2-4610weysas_.js +1 -0
- package/out/_next/static/chunks/2-pl31kdikt3k.js +5 -0
- package/out/_next/static/chunks/20c4_1i5r3kkz.js +1 -0
- package/out/_next/static/chunks/20f2gs8iua6fk.js +1 -0
- package/out/_next/static/chunks/20zdaln201w8j.js +277 -0
- package/out/_next/static/chunks/21l46nbaop06z.js +39 -0
- package/out/_next/static/chunks/22-o32hlte36e.js +130 -0
- package/out/_next/static/chunks/231j2_p-ha14w.js +7 -0
- package/out/_next/static/chunks/23s2f7_-ol94s.js +8 -0
- package/out/_next/static/chunks/26_mx-ritu68j.js +24 -0
- package/out/_next/static/chunks/26ckmxeluyknq.js +1 -0
- package/out/_next/static/chunks/26r0y7ldf3iqs.js +6 -0
- package/out/_next/static/chunks/27fzoozwycagi.js +6 -0
- package/out/_next/static/chunks/27jmq7a-vh0b4.js +7 -0
- package/out/_next/static/chunks/283567a82x9qi.js +149 -0
- package/out/_next/static/chunks/29he8uukp5s4u.js +31 -0
- package/out/_next/static/chunks/2adglo0sf0jcg.js +905 -0
- package/out/_next/static/chunks/{2kzyda4a6mqut.js → 2ajr0rk0_yax6.js} +1 -1
- package/out/_next/static/chunks/2b4ewxxz6f462.js +7 -0
- package/out/_next/static/chunks/{3zqfchpzqxd92.css → 2bh2dv7j9m8c8.css} +1 -1
- package/out/_next/static/chunks/2bi8v13lm76lr.js +95 -0
- package/out/_next/static/chunks/2burvpf9877y_.js +44 -0
- package/out/_next/static/chunks/2cj703xtrf5i6.js +46 -0
- package/out/_next/static/chunks/2cj8g3fxmitaa.js +1 -0
- package/out/_next/static/chunks/2ec7xatyld40t.js +7 -0
- package/out/_next/static/chunks/2ho4591ngh3y2.js +61 -0
- package/out/_next/static/chunks/2hoi6cb1lromr.js +4 -0
- package/out/_next/static/chunks/2i5k6tlwd58hp.js +1 -0
- package/out/_next/static/chunks/2iy0jr00qhq-q.js +5 -0
- package/out/_next/static/chunks/2jonbba27xy3u.js +14 -0
- package/out/_next/static/chunks/2l8gepfm4kyjp.js +1 -0
- package/out/_next/static/chunks/2m0rrts8gwqwp.js +1 -0
- package/out/_next/static/chunks/2m_u12ggzosat.js +5 -0
- package/out/_next/static/chunks/2mdns56l5antm.js +5 -0
- package/out/_next/static/chunks/2mrbytgs3uetd.js +4 -0
- package/out/_next/static/chunks/2p9gwjxeui1zd.js +71 -0
- package/out/_next/static/chunks/2pfhy9qy_cijn.js +5 -0
- package/out/_next/static/chunks/2q5k4rozyr2wt.js +4 -0
- package/out/_next/static/chunks/2qx8nnki_qv5v.js +171 -0
- package/out/_next/static/chunks/2r_rj84l3cy7r.js +119 -0
- package/out/_next/static/chunks/2rb1-3t3-sv5s.js +8 -0
- package/out/_next/static/chunks/2rmgaa88-4bpb.js +227 -0
- package/out/_next/static/chunks/2swxmzb-xk_bo.js +108 -0
- package/out/_next/static/chunks/2t0biwx5e_4w_.js +1 -0
- package/out/_next/static/chunks/2ts3v72jkbcdr.js +7 -0
- package/out/_next/static/chunks/2vfexvltv2avy.js +5 -0
- package/out/_next/static/chunks/2vveotzevnkfp.js +1 -0
- package/out/_next/static/chunks/2wkg65dtx56je.js +155 -0
- package/out/_next/static/chunks/2wmsx4gjbgvfv.js +18 -0
- package/out/_next/static/chunks/2xixk0t9e9mnw.js +1 -0
- package/out/_next/static/chunks/2xz7hnr9ikqzq.js +7 -0
- package/out/_next/static/chunks/2y1lq1efnvcdt.js +23 -0
- package/out/_next/static/chunks/2ziasg8l_c9n7.js +5 -0
- package/out/_next/static/chunks/3-ve59izq9j-p.js +1 -0
- package/out/_next/static/chunks/3-wsablhqgzoa.js +1 -0
- package/out/_next/static/chunks/30ppb2wc-m4ph.js +1 -0
- package/out/_next/static/chunks/336k08jwyc5i-.js +1 -0
- package/out/_next/static/chunks/33d061qpkafqm.js +39 -0
- package/out/_next/static/chunks/33fyy6d5mo55_.js +8 -0
- package/out/_next/static/chunks/33kh18frqc3b1.js +5 -0
- package/out/_next/static/chunks/33v05ol-ire9s.js +10 -0
- package/out/_next/static/chunks/33yzdcbu7w60l.js +13 -0
- package/out/_next/static/chunks/348l8p7-vo4l5.js +63 -0
- package/out/_next/static/chunks/35hu5vin0swdf.js +41 -0
- package/out/_next/static/chunks/37a6yquh875rn.js +39 -0
- package/out/_next/static/chunks/3_2i9du5-ffrp.js +59 -0
- package/out/_next/static/chunks/3_84h3z_tewmg.js +145 -0
- package/out/_next/static/chunks/3bo7uiy-wh63m.js +108 -0
- package/out/_next/static/chunks/3c-an5ft_3emc.js +1 -0
- package/out/_next/static/chunks/3d_222ci0_30_.js +41 -0
- package/out/_next/static/chunks/3dldch03dfaed.js +1 -0
- package/out/_next/static/chunks/3eedy49gsvv_t.js +1 -0
- package/out/_next/static/chunks/3fayuejnrsd90.js +15 -0
- package/out/_next/static/chunks/3fqonijzsxy8u.js +28 -0
- package/out/_next/static/chunks/3g1ale0hytu9q.js +12 -0
- package/out/_next/static/chunks/3jxeyjg2g7w94.js +1 -0
- package/out/_next/static/chunks/3k3gvr7-e3g_s.js +5 -0
- package/out/_next/static/chunks/3kwoyyxi_-q7m.js +1 -0
- package/out/_next/static/chunks/3le1bywe19_u9.js +1 -0
- package/out/_next/static/chunks/3lku4-9kpf-mj.js +267 -0
- package/out/_next/static/chunks/3lz5h1tw50wr_.js +54 -0
- package/out/_next/static/chunks/3oq-khgfpo0nx.js +39 -0
- package/out/_next/static/chunks/3ps25ocfalcap.js +43 -0
- package/out/_next/static/chunks/3q3m075m4bxz1.js +2 -0
- package/out/_next/static/chunks/3qzrrjb48t2w3.js +119 -0
- package/out/_next/static/chunks/3r0i-7zjuz9i1.js +6 -0
- package/out/_next/static/chunks/3rgn5xwtr51ul.js +7 -0
- package/out/_next/static/chunks/3ridg_u19b6ih.js +8 -0
- package/out/_next/static/chunks/3skzk-w2ytvku.js +5 -0
- package/out/_next/static/chunks/3srw10h0hcztd.js +68 -0
- package/out/_next/static/chunks/3tgrftdet8sna.js +15 -0
- package/out/_next/static/chunks/3uax_eq1kjjta.js +1 -0
- package/out/_next/static/chunks/3uj94afpsi6cs.js +1 -0
- package/out/_next/static/chunks/3vgurvjr6hkyv.js +4 -0
- package/out/_next/static/chunks/3viepyovs19ub.js +23 -0
- package/out/_next/static/chunks/3vnzp3n_wd3j_.js +1 -0
- package/out/_next/static/chunks/3w8h5lxnd0z4z.js +1 -0
- package/out/_next/static/chunks/3wh4xa9dnw-55.js +194 -0
- package/out/_next/static/chunks/3wlvio5id54ow.js +5 -0
- package/out/_next/static/chunks/3wzvscqui-9ml.js +23 -0
- package/out/_next/static/chunks/3y8h3g1tqukrv.js +36 -0
- package/out/_next/static/chunks/3zcilnj6p9-t5.js +1 -0
- package/out/_next/static/chunks/3zmmdm68s05-t.js +217 -0
- package/out/_next/static/chunks/40l5d7o95aw37.js +4 -0
- package/out/_next/static/chunks/417kn9hki8k81.js +33 -0
- package/out/_next/static/chunks/41p3ng89i5lem.js +5 -0
- package/out/_next/static/chunks/42mofxcd0l7qi.js +1 -0
- package/out/_next/static/chunks/439tz_ubj8h-g.js +342 -0
- package/out/_next/static/chunks/43hfssep7ry-z.js +5 -0
- package/out/_next/static/chunks/45bcpjurhxb-j.js +1 -0
- package/out/_next/static/chunks/turbopack-2c3mg3r-05n1w.js +1 -0
- package/out/_next/static/jOx5PlckLwWIJ5yrvePdU/_buildManifest.js +258 -0
- package/out/_offline/index.html +3 -2
- package/out/account/forgot-password/index.html +3 -2
- package/out/account/index.html +3 -2
- package/out/assortments/AssortmentDetailPage/index.html +3 -2
- package/out/assortments/index.html +3 -2
- package/out/assortments/new/index.html +3 -2
- package/out/copilot/index.html +3 -2
- package/out/country/CountryDetailPage/index.html +3 -2
- package/out/country/index.html +3 -2
- package/out/country/new/index.html +3 -2
- package/out/currency/CurrencyDetailPage/index.html +3 -2
- package/out/currency/index.html +3 -2
- package/out/currency/new/index.html +3 -2
- package/out/delivery-provider/DeliveryProviderDetailPage/index.html +3 -2
- package/out/delivery-provider/index.html +3 -2
- package/out/delivery-provider/new/index.html +3 -2
- package/out/enrollments/EnrollmentDetailPage/index.html +3 -2
- package/out/enrollments/index.html +3 -2
- package/out/events/EventDetailPage/index.html +3 -2
- package/out/events/index.html +3 -2
- package/out/exports/index.html +3 -2
- package/out/external/index.html +3 -2
- package/out/filters/FilterDetailPage/index.html +3 -2
- package/out/filters/index.html +3 -2
- package/out/filters/new/index.html +3 -2
- package/out/index.html +3 -2
- package/out/install/index.html +3 -2
- package/out/language/LanguageDetailPage/index.html +3 -2
- package/out/language/index.html +3 -2
- package/out/language/new/index.html +3 -2
- package/out/log-in/index.html +3 -2
- package/out/orders/OrderDetailPage/index.html +3 -2
- package/out/orders/index.html +3 -2
- package/out/payment-provider/PaymentProviderDetailPage/index.html +3 -2
- package/out/payment-provider/index.html +3 -2
- package/out/payment-provider/new/index.html +3 -2
- package/out/products/ProductDetailPage/index.html +3 -2
- package/out/products/index.html +3 -2
- package/out/products/new/index.html +3 -2
- package/out/quotations/QuotationDetailPage/index.html +3 -2
- package/out/quotations/index.html +3 -2
- package/out/reset-password/index.html +3 -2
- package/out/sign-up/index.html +3 -2
- package/out/styleguide/index.html +3 -2
- package/out/tokens/TokenDetailPage/index.html +3 -2
- package/out/tokens/index.html +3 -2
- package/out/users/UserDetailPage/index.html +3 -2
- package/out/users/index.html +3 -2
- package/out/users/new/index.html +3 -2
- package/out/verify-email/index.html +3 -2
- package/out/warehousing-provider/WarehousingProviderDetailPage/index.html +3 -2
- package/out/warehousing-provider/index.html +3 -2
- package/out/warehousing-provider/new/index.html +3 -2
- package/out/works/WorkDetailPage/index.html +3 -2
- package/out/works/WorkQueueListView/index.html +3 -2
- package/out/works/index.html +3 -2
- package/out/works/management/index.html +3 -2
- package/package.json +36 -36
- package/dist/chunk-3L6EZQ6P.js +0 -135
- package/dist/chunk-54DKBWXV.js +0 -33
- package/dist/chunk-5WPFHQZN.js +0 -388
- package/dist/chunk-6UGLNLJG.js +0 -44
- package/dist/chunk-BMDNY67T.js +0 -22547
- package/dist/chunk-BOMSMJF2.js +0 -77
- package/dist/chunk-COV7BREX.js +0 -50
- package/dist/chunk-E77YIMGR.js +0 -2083
- package/dist/chunk-EJDZRZSZ.js +0 -59
- package/dist/chunk-ELPURWDC.js +0 -75
- package/dist/chunk-F6LBNV3H.js +0 -9
- package/dist/chunk-FDHXLNZQ.js +0 -44
- package/dist/chunk-GY2DRQGW.js +0 -166
- package/dist/chunk-HERLM47Z.js +0 -309
- package/dist/chunk-HJKRGBDG.js +0 -694
- package/dist/chunk-I64TXIE7.js +0 -618
- package/dist/chunk-IAQPLRXZ.js +0 -16
- package/dist/chunk-ICJH36K4.js +0 -326
- package/dist/chunk-ILYPJE4N.js +0 -57
- package/dist/chunk-IWKDBADX.js +0 -73
- package/dist/chunk-IXBMHOB5.js +0 -13
- package/dist/chunk-IYKPRAWC.js +0 -26
- package/dist/chunk-J23QSWDL.js +0 -8
- package/dist/chunk-KH5MK6ZW.js +0 -18
- package/dist/chunk-KRIRF7F6.js +0 -76
- package/dist/chunk-NT7RB7AK.js +0 -70
- package/dist/chunk-OKGJ6HDE.js +0 -26
- package/dist/chunk-OTXM2UCD.js +0 -19
- package/dist/chunk-PJLYVMUM.js +0 -3308
- package/dist/chunk-PUI5BIKO.js +0 -41
- package/dist/chunk-Q6S3LBUF.js +0 -180
- package/dist/chunk-QHR23GVH.js +0 -1099
- package/dist/chunk-QWQ3WJJN.js +0 -1
- package/dist/chunk-RAQV2GYF.js +0 -70
- package/dist/chunk-VBO377AY.js +0 -14
- package/dist/chunk-VYEXPG3M.js +0 -107
- package/dist/chunk-WPLOTFGW.js +0 -36
- package/dist/chunk-YO6PT7KD.js +0 -13
- package/dist/chunk-ZUOVKRKC.js +0 -957
- package/dist/components/ui/Accordion/Accordion.d.ts +0 -11
- package/dist/components/ui/Accordion/Accordion.d.ts.map +0 -1
- package/dist/components/ui/Accordion/AccordionHeader.d.ts +0 -6
- package/dist/components/ui/Accordion/AccordionHeader.d.ts.map +0 -1
- package/dist/components/ui/Accordion/AccordionItem.d.ts +0 -11
- package/dist/components/ui/Accordion/AccordionItem.d.ts.map +0 -1
- package/dist/components/ui/ActiveInActive.d.ts +0 -10
- package/dist/components/ui/ActiveInActive.d.ts.map +0 -1
- package/dist/components/ui/AnimatedCounter.d.ts +0 -7
- package/dist/components/ui/AnimatedCounter.d.ts.map +0 -1
- package/dist/components/ui/Badge.d.ts +0 -10
- package/dist/components/ui/Badge.d.ts.map +0 -1
- package/dist/components/ui/BreadCrumbs.d.ts +0 -7
- package/dist/components/ui/BreadCrumbs.d.ts.map +0 -1
- package/dist/components/ui/Button.d.ts +0 -36
- package/dist/components/ui/Button.d.ts.map +0 -1
- package/dist/components/ui/CopyableText.d.ts +0 -5
- package/dist/components/ui/CopyableText.d.ts.map +0 -1
- package/dist/components/ui/DateInput.d.ts +0 -15
- package/dist/components/ui/DateInput.d.ts.map +0 -1
- package/dist/components/ui/DateRangeFilterInput.d.ts +0 -4
- package/dist/components/ui/DateRangeFilterInput.d.ts.map +0 -1
- package/dist/components/ui/DetailHeader.d.ts +0 -6
- package/dist/components/ui/DetailHeader.d.ts.map +0 -1
- package/dist/components/ui/DraggableIcon.d.ts +0 -3
- package/dist/components/ui/DraggableIcon.d.ts.map +0 -1
- package/dist/components/ui/ErrorBoundary.d.ts +0 -18
- package/dist/components/ui/ErrorBoundary.d.ts.map +0 -1
- package/dist/components/ui/ErrorFallback.d.ts +0 -6
- package/dist/components/ui/ErrorFallback.d.ts.map +0 -1
- package/dist/components/ui/HelpText.d.ts +0 -11
- package/dist/components/ui/HelpText.d.ts.map +0 -1
- package/dist/components/ui/ImageWithFallback.d.ts +0 -7
- package/dist/components/ui/ImageWithFallback.d.ts.map +0 -1
- package/dist/components/ui/InfoTextBanner.d.ts +0 -6
- package/dist/components/ui/InfoTextBanner.d.ts.map +0 -1
- package/dist/components/ui/JSONView.d.ts +0 -6
- package/dist/components/ui/JSONView.d.ts.map +0 -1
- package/dist/components/ui/ListHeader.d.ts +0 -6
- package/dist/components/ui/ListHeader.d.ts.map +0 -1
- package/dist/components/ui/Loading.d.ts +0 -3
- package/dist/components/ui/Loading.d.ts.map +0 -1
- package/dist/components/ui/NoData.d.ts +0 -7
- package/dist/components/ui/NoData.d.ts.map +0 -1
- package/dist/components/ui/NoImage.d.ts +0 -7
- package/dist/components/ui/NoImage.d.ts.map +0 -1
- package/dist/components/ui/NoImageSvg.d.ts +0 -8
- package/dist/components/ui/NoImageSvg.d.ts.map +0 -1
- package/dist/components/ui/PageHeader.d.ts +0 -11
- package/dist/components/ui/PageHeader.d.ts.map +0 -1
- package/dist/components/ui/Pagination.d.ts +0 -8
- package/dist/components/ui/Pagination.d.ts.map +0 -1
- package/dist/components/ui/Portal/Portal.d.ts +0 -16
- package/dist/components/ui/Portal/Portal.d.ts.map +0 -1
- package/dist/components/ui/Portal/Portal.types.d.ts +0 -16
- package/dist/components/ui/Portal/Portal.types.d.ts.map +0 -1
- package/dist/components/ui/SaveAndCancelButtons.d.ts +0 -10
- package/dist/components/ui/SaveAndCancelButtons.d.ts.map +0 -1
- package/dist/components/ui/SearchField.d.ts +0 -7
- package/dist/components/ui/SearchField.d.ts.map +0 -1
- package/dist/components/ui/Tab.d.ts +0 -18
- package/dist/components/ui/Tab.d.ts.map +0 -1
- package/dist/components/ui/Tag/TagInput.d.ts +0 -19
- package/dist/components/ui/Tag/TagInput.d.ts.map +0 -1
- package/dist/components/ui/Tag/TagList.d.ts +0 -8
- package/dist/components/ui/Tag/TagList.d.ts.map +0 -1
- package/dist/components/ui/Tag/TagListForm.d.ts +0 -8
- package/dist/components/ui/Tag/TagListForm.d.ts.map +0 -1
- package/dist/components/ui/Toggle.d.ts +0 -11
- package/dist/components/ui/Toggle.d.ts.map +0 -1
- package/dist/components/ui/ToolTip.d.ts +0 -7
- package/dist/components/ui/ToolTip.d.ts.map +0 -1
- package/dist/components/ui/card.d.ts +0 -9
- package/dist/components/ui/card.d.ts.map +0 -1
- package/dist/components/ui/chart.d.ts +0 -42
- package/dist/components/ui/chart.d.ts.map +0 -1
- package/dist/components/ui/form/CheckboxField.d.ts +0 -4
- package/dist/components/ui/form/CheckboxField.d.ts.map +0 -1
- package/dist/components/ui/form/ChoicesField.d.ts +0 -12
- package/dist/components/ui/form/ChoicesField.d.ts.map +0 -1
- package/dist/components/ui/form/Combobox.d.ts +0 -20
- package/dist/components/ui/form/Combobox.d.ts.map +0 -1
- package/dist/components/ui/form/DatePickerField.d.ts +0 -4
- package/dist/components/ui/form/DatePickerField.d.ts.map +0 -1
- package/dist/components/ui/form/EmailField.d.ts +0 -7
- package/dist/components/ui/form/EmailField.d.ts.map +0 -1
- package/dist/components/ui/form/FieldWithHelp.d.ts +0 -10
- package/dist/components/ui/form/FieldWithHelp.d.ts.map +0 -1
- package/dist/components/ui/form/FieldWrapper.d.ts +0 -8
- package/dist/components/ui/form/FieldWrapper.d.ts.map +0 -1
- package/dist/components/ui/form/FormErrors.d.ts +0 -6
- package/dist/components/ui/form/FormErrors.d.ts.map +0 -1
- package/dist/components/ui/form/JSONAreaField.d.ts +0 -7
- package/dist/components/ui/form/JSONAreaField.d.ts.map +0 -1
- package/dist/components/ui/form/MarkdownTextAreaField.d.ts +0 -8
- package/dist/components/ui/form/MarkdownTextAreaField.d.ts.map +0 -1
- package/dist/components/ui/form/PasswordField.d.ts +0 -3
- package/dist/components/ui/form/PasswordField.d.ts.map +0 -1
- package/dist/components/ui/form/SelectField.d.ts +0 -11
- package/dist/components/ui/form/SelectField.d.ts.map +0 -1
- package/dist/components/ui/form/SubmitButton.d.ts +0 -9
- package/dist/components/ui/form/SubmitButton.d.ts.map +0 -1
- package/dist/components/ui/form/TagInputField.d.ts +0 -7
- package/dist/components/ui/form/TagInputField.d.ts.map +0 -1
- package/dist/components/ui/form/TextAreaField.d.ts +0 -8
- package/dist/components/ui/form/TextAreaField.d.ts.map +0 -1
- package/dist/components/ui/form/TextField.d.ts +0 -10
- package/dist/components/ui/form/TextField.d.ts.map +0 -1
- package/dist/components/ui/form/index.d.ts +0 -18
- package/dist/components/ui/form/index.d.ts.map +0 -1
- package/dist/components/ui/icons.d.ts +0 -4
- package/dist/components/ui/icons.d.ts.map +0 -1
- package/dist/components/ui/index.d.ts +0 -46
- package/dist/components/ui/index.d.ts.map +0 -1
- package/dist/form.js +0 -2617
- package/dist/gql/operation-types.d.ts +0 -13239
- package/dist/gql/operation-types.d.ts.map +0 -1
- package/dist/gql/schema-types.d.ts +0 -3876
- package/dist/gql/schema-types.d.ts.map +0 -1
- package/dist/gql/types.d.ts +0 -3
- package/dist/gql/types.d.ts.map +0 -1
- package/dist/hooks.js +0 -49
- package/dist/lib/utils.d.ts +0 -3
- package/dist/lib/utils.d.ts.map +0 -1
- package/dist/modal.js +0 -51
- package/dist/modules/Auth/AuthContext.d.ts +0 -9
- package/dist/modules/Auth/AuthContext.d.ts.map +0 -1
- package/dist/modules/Auth/useAuth.d.ts +0 -6
- package/dist/modules/Auth/useAuth.d.ts.map +0 -1
- package/dist/modules/UnchainedContext/UnchainedContext.d.ts +0 -8
- package/dist/modules/UnchainedContext/UnchainedContext.d.ts.map +0 -1
- package/dist/modules/UnchainedContext/useUnchainedContext.d.ts +0 -7
- package/dist/modules/UnchainedContext/useUnchainedContext.d.ts.map +0 -1
- package/dist/modules/accounts/fragment/MD5MetaDataFragment.d.ts +0 -3
- package/dist/modules/accounts/fragment/MD5MetaDataFragment.d.ts.map +0 -1
- package/dist/modules/accounts/fragment/UserFragment.d.ts +0 -3
- package/dist/modules/accounts/fragment/UserFragment.d.ts.map +0 -1
- package/dist/modules/accounts/hooks/useCurrentUser.d.ts +0 -10
- package/dist/modules/accounts/hooks/useCurrentUser.d.ts.map +0 -1
- package/dist/modules/accounts/hooks/useUsersCount.d.ts +0 -8
- package/dist/modules/accounts/hooks/useUsersCount.d.ts.map +0 -1
- package/dist/modules/accounts.js +0 -1349
- package/dist/modules/assortment/hooks/useAssortmentsCount.d.ts +0 -8
- package/dist/modules/assortment/hooks/useAssortmentsCount.d.ts.map +0 -1
- package/dist/modules/assortment.js +0 -1205
- package/dist/modules/common/components/AppContext.d.ts +0 -18
- package/dist/modules/common/components/AppContext.d.ts.map +0 -1
- package/dist/modules/common/components/FormWrapper.d.ts +0 -8
- package/dist/modules/common/components/FormWrapper.d.ts.map +0 -1
- package/dist/modules/common/components/LocaleWrapper.d.ts +0 -7
- package/dist/modules/common/components/LocaleWrapper.d.ts.map +0 -1
- package/dist/modules/common/components/MediaAvatar.d.ts +0 -6
- package/dist/modules/common/components/MediaAvatar.d.ts.map +0 -1
- package/dist/modules/common/components/SelectOptions.d.ts +0 -17
- package/dist/modules/common/components/SelectOptions.d.ts.map +0 -1
- package/dist/modules/common/components/Table.d.ts +0 -25
- package/dist/modules/common/components/Table.d.ts.map +0 -1
- package/dist/modules/common/components/TableCell.d.ts +0 -12
- package/dist/modules/common/components/TableCell.d.ts.map +0 -1
- package/dist/modules/common/components/TableRow.d.ts +0 -10
- package/dist/modules/common/components/TableRow.d.ts.map +0 -1
- package/dist/modules/common/components/ThemeWrapper.d.ts +0 -10
- package/dist/modules/common/components/ThemeWrapper.d.ts.map +0 -1
- package/dist/modules/common/data/iso-codes.d.ts +0 -4
- package/dist/modules/common/data/iso-codes.d.ts.map +0 -1
- package/dist/modules/common/data/miscellaneous.d.ts +0 -52
- package/dist/modules/common/data/miscellaneous.d.ts.map +0 -1
- package/dist/modules/common/fragments/AddressFragment.d.ts +0 -3
- package/dist/modules/common/fragments/AddressFragment.d.ts.map +0 -1
- package/dist/modules/common/hooks/useApp.d.ts +0 -11
- package/dist/modules/common/hooks/useApp.d.ts.map +0 -1
- package/dist/modules/common/hooks/useBulkResultHandler.d.ts +0 -8
- package/dist/modules/common/hooks/useBulkResultHandler.d.ts.map +0 -1
- package/dist/modules/common/hooks/useBulkSelection.d.ts +0 -12
- package/dist/modules/common/hooks/useBulkSelection.d.ts.map +0 -1
- package/dist/modules/common/hooks/useCSVExport.d.ts +0 -10
- package/dist/modules/common/hooks/useCSVExport.d.ts.map +0 -1
- package/dist/modules/common/hooks/useCSVImport.d.ts +0 -18
- package/dist/modules/common/hooks/useCSVImport.d.ts.map +0 -1
- package/dist/modules/common/hooks/useChatEndpointChecker.d.ts +0 -5
- package/dist/modules/common/hooks/useChatEndpointChecker.d.ts.map +0 -1
- package/dist/modules/common/hooks/useConfirmMediaUpload.d.ts +0 -10
- package/dist/modules/common/hooks/useConfirmMediaUpload.d.ts.map +0 -1
- package/dist/modules/common/hooks/useDashboardMetrics.d.ts +0 -23
- package/dist/modules/common/hooks/useDashboardMetrics.d.ts.map +0 -1
- package/dist/modules/common/hooks/useLocalStorage.d.ts +0 -3
- package/dist/modules/common/hooks/useLocalStorage.d.ts.map +0 -1
- package/dist/modules/common/hooks/useOrderAnalytics.d.ts +0 -25
- package/dist/modules/common/hooks/useOrderAnalytics.d.ts.map +0 -1
- package/dist/modules/common/hooks/useOrderItemsAnalytics.d.ts +0 -16
- package/dist/modules/common/hooks/useOrderItemsAnalytics.d.ts.map +0 -1
- package/dist/modules/common/hooks/useOutsideClick.d.ts +0 -3
- package/dist/modules/common/hooks/useOutsideClick.d.ts.map +0 -1
- package/dist/modules/common/hooks/usePortal.d.ts +0 -20
- package/dist/modules/common/hooks/usePortal.d.ts.map +0 -1
- package/dist/modules/common/hooks/useScrollRestoration.d.ts +0 -8
- package/dist/modules/common/hooks/useScrollRestoration.d.ts.map +0 -1
- package/dist/modules/common/hooks/useShopConfiguration.d.ts +0 -8
- package/dist/modules/common/hooks/useShopConfiguration.d.ts.map +0 -1
- package/dist/modules/common/hooks/useShopInfo.d.ts +0 -41
- package/dist/modules/common/hooks/useShopInfo.d.ts.map +0 -1
- package/dist/modules/common/hooks/useStatusTypes.d.ts +0 -10
- package/dist/modules/common/hooks/useStatusTypes.d.ts.map +0 -1
- package/dist/modules/common/hooks/useSystemRoles.d.ts +0 -7
- package/dist/modules/common/hooks/useSystemRoles.d.ts.map +0 -1
- package/dist/modules/common/hooks/useTheme.d.ts +0 -7
- package/dist/modules/common/hooks/useTheme.d.ts.map +0 -1
- package/dist/modules/common/utils/deBounce.d.ts +0 -3
- package/dist/modules/common/utils/deBounce.d.ts.map +0 -1
- package/dist/modules/common/utils/defaultNextImageLoader.d.ts +0 -7
- package/dist/modules/common/utils/defaultNextImageLoader.d.ts.map +0 -1
- package/dist/modules/common/utils/formatUsername.d.ts +0 -3
- package/dist/modules/common/utils/formatUsername.d.ts.map +0 -1
- package/dist/modules/common/utils/getSetupStepsConfigurationsMeta.d.ts +0 -30
- package/dist/modules/common/utils/getSetupStepsConfigurationsMeta.d.ts.map +0 -1
- package/dist/modules/common/utils/normalizeFilterKeys.d.ts +0 -4
- package/dist/modules/common/utils/normalizeFilterKeys.d.ts.map +0 -1
- package/dist/modules/common/utils/sharedContext.d.ts +0 -9
- package/dist/modules/common/utils/sharedContext.d.ts.map +0 -1
- package/dist/modules/common/utils/useFormatDateTime.d.ts +0 -16
- package/dist/modules/common/utils/useFormatDateTime.d.ts.map +0 -1
- package/dist/modules/common/utils/utils.d.ts +0 -21
- package/dist/modules/common/utils/utils.d.ts.map +0 -1
- package/dist/modules/country/fragments/CountryFragment.d.ts +0 -3
- package/dist/modules/country/fragments/CountryFragment.d.ts.map +0 -1
- package/dist/modules/country/hooks/useCountries.d.ts +0 -22
- package/dist/modules/country/hooks/useCountries.d.ts.map +0 -1
- package/dist/modules/country.js +0 -108
- package/dist/modules/currency.js +0 -119
- package/dist/modules/delivery-provider.js +0 -269
- package/dist/modules/enrollment.js +0 -431
- package/dist/modules/event.js +0 -123
- package/dist/modules/filter.js +0 -497
- package/dist/modules/forms/components/Form.d.ts +0 -8
- package/dist/modules/forms/components/Form.d.ts.map +0 -1
- package/dist/modules/forms/hooks/useField.d.ts +0 -35
- package/dist/modules/forms/hooks/useField.d.ts.map +0 -1
- package/dist/modules/forms/hooks/useForm.d.ts +0 -44
- package/dist/modules/forms/hooks/useForm.d.ts.map +0 -1
- package/dist/modules/forms/hooks/useFormContext.d.ts +0 -3
- package/dist/modules/forms/hooks/useFormContext.d.ts.map +0 -1
- package/dist/modules/forms/lib/FormContext.d.ts +0 -13
- package/dist/modules/forms/lib/FormContext.d.ts.map +0 -1
- package/dist/modules/forms/lib/clean.d.ts +0 -3
- package/dist/modules/forms/lib/clean.d.ts.map +0 -1
- package/dist/modules/forms/lib/validators.d.ts +0 -20
- package/dist/modules/forms/lib/validators.d.ts.map +0 -1
- package/dist/modules/language/fragments/LanguageFragment.d.ts +0 -3
- package/dist/modules/language/fragments/LanguageFragment.d.ts.map +0 -1
- package/dist/modules/language/hooks/useLanguages.d.ts +0 -19
- package/dist/modules/language/hooks/useLanguages.d.ts.map +0 -1
- package/dist/modules/language.js +0 -106
- package/dist/modules/modal/components/AlertMessage.d.ts +0 -9
- package/dist/modules/modal/components/AlertMessage.d.ts.map +0 -1
- package/dist/modules/modal/components/DangerMessage.d.ts +0 -13
- package/dist/modules/modal/components/DangerMessage.d.ts.map +0 -1
- package/dist/modules/modal/components/ImportResultMessage.d.ts +0 -14
- package/dist/modules/modal/components/ImportResultMessage.d.ts.map +0 -1
- package/dist/modules/modal/components/Modal.d.ts +0 -10
- package/dist/modules/modal/components/Modal.d.ts.map +0 -1
- package/dist/modules/modal/components/ModalWrapper.d.ts +0 -6
- package/dist/modules/modal/components/ModalWrapper.d.ts.map +0 -1
- package/dist/modules/modal/hooks/useModal.d.ts +0 -7
- package/dist/modules/modal/hooks/useModal.d.ts.map +0 -1
- package/dist/modules/modal/utils/ModalContext.d.ts +0 -9
- package/dist/modules/modal/utils/ModalContext.d.ts.map +0 -1
- package/dist/modules/order/fragments/OrderDetailFragment.d.ts +0 -3
- package/dist/modules/order/fragments/OrderDetailFragment.d.ts.map +0 -1
- package/dist/modules/order/fragments/OrderFragment.d.ts +0 -3
- package/dist/modules/order/fragments/OrderFragment.d.ts.map +0 -1
- package/dist/modules/order/hooks/useOrders.d.ts +0 -46
- package/dist/modules/order/hooks/useOrders.d.ts.map +0 -1
- package/dist/modules/order.js +0 -569
- package/dist/modules/payment-providers.js +0 -206
- package/dist/modules/product/hooks/useProductsCount.d.ts +0 -8
- package/dist/modules/product/hooks/useProductsCount.d.ts.map +0 -1
- package/dist/modules/product-review.js +0 -270
- package/dist/modules/product.js +0 -6914
- package/dist/modules/quotation.js +0 -324
- package/dist/modules/token.js +0 -143
- package/dist/modules/warehousing-providers.js +0 -206
- package/dist/modules/work/fragments/WorkFragment.d.ts +0 -3
- package/dist/modules/work/fragments/WorkFragment.d.ts.map +0 -1
- package/dist/modules/work/hooks/useAddWork.d.ts +0 -6
- package/dist/modules/work/hooks/useAddWork.d.ts.map +0 -1
- package/dist/modules/work/hooks/useWork.d.ts +0 -32
- package/dist/modules/work/hooks/useWork.d.ts.map +0 -1
- package/dist/modules/work.js +0 -232
- package/dist/plugins.js +0 -13
- package/dist/providers.js +0 -9
- package/dist/sdk/hooks.d.ts +0 -12
- package/dist/sdk/hooks.d.ts.map +0 -1
- package/dist/sdk/modal.d.ts +0 -7
- package/dist/sdk/modal.d.ts.map +0 -1
- package/dist/sdk/plugins.d.ts +0 -78
- package/dist/sdk/plugins.d.ts.map +0 -1
- package/dist/sdk/providers.d.ts +0 -5
- package/dist/sdk/providers.d.ts.map +0 -1
- package/dist/sdk/shims/admin-ui-plugins.d.ts +0 -3
- package/dist/sdk/shims/admin-ui-plugins.d.ts.map +0 -1
- package/dist/sdk/shims/apollo-client-react.d.ts +0 -3
- package/dist/sdk/shims/apollo-client-react.d.ts.map +0 -1
- package/dist/sdk/shims/apollo-client.d.ts +0 -3
- package/dist/sdk/shims/apollo-client.d.ts.map +0 -1
- package/dist/sdk/shims/host.d.ts +0 -17
- package/dist/sdk/shims/host.d.ts.map +0 -1
- package/dist/sdk/shims/next-head.d.ts +0 -3
- package/dist/sdk/shims/next-head.d.ts.map +0 -1
- package/dist/sdk/shims/next-image.d.ts +0 -3
- package/dist/sdk/shims/next-image.d.ts.map +0 -1
- package/dist/sdk/shims/next-link.d.ts +0 -3
- package/dist/sdk/shims/next-link.d.ts.map +0 -1
- package/dist/sdk/shims/next-router.d.ts +0 -3
- package/dist/sdk/shims/next-router.d.ts.map +0 -1
- package/dist/sdk/shims/react-dom-client.d.ts +0 -3
- package/dist/sdk/shims/react-dom-client.d.ts.map +0 -1
- package/dist/sdk/shims/react-dom.d.ts +0 -3
- package/dist/sdk/shims/react-dom.d.ts.map +0 -1
- package/dist/sdk/shims/react-hook-form.d.ts +0 -3
- package/dist/sdk/shims/react-hook-form.d.ts.map +0 -1
- package/dist/sdk/shims/react-intl.d.ts +0 -3
- package/dist/sdk/shims/react-intl.d.ts.map +0 -1
- package/dist/sdk/shims/react-jsx-runtime.d.ts +0 -3
- package/dist/sdk/shims/react-jsx-runtime.d.ts.map +0 -1
- package/dist/sdk/shims/react-toastify.d.ts +0 -3
- package/dist/sdk/shims/react-toastify.d.ts.map +0 -1
- package/dist/sdk/shims/react.d.ts +0 -3
- package/dist/sdk/shims/react.d.ts.map +0 -1
- package/dist/sdk/theme.d.ts +0 -26
- package/dist/sdk/theme.d.ts.map +0 -1
- package/dist/shims/admin-ui-plugins.js +0 -9
- package/dist/shims/apollo-client-react.js +0 -25
- package/dist/shims/apollo-client.js +0 -55
- package/dist/shims/next-head.js +0 -9
- package/dist/shims/next-image.js +0 -9
- package/dist/shims/next-link.js +0 -9
- package/dist/shims/next-router.js +0 -13
- package/dist/shims/react-dom-client.js +0 -11
- package/dist/shims/react-dom.js +0 -22
- package/dist/shims/react-hook-form.js +0 -25
- package/dist/shims/react-intl.js +0 -37
- package/dist/shims/react-jsx-runtime.js +0 -11
- package/dist/shims/react-toastify.js +0 -16
- package/dist/shims/react.js +0 -52
- package/dist/theme.js +0 -34
- package/dist/ui.js +0 -19731
- package/out/_next/static/F8ReqaxPvLqFJ2DaPfMdn/_buildManifest.js +0 -258
- package/out/_next/static/chunks/0-mytn4v5bu5h.js +0 -12
- package/out/_next/static/chunks/0-uh133eqcz6n.js +0 -60
- package/out/_next/static/chunks/0060t3kg_i0lf.js +0 -10
- package/out/_next/static/chunks/0186bg0b60cid.js +0 -13
- package/out/_next/static/chunks/018n9pot9f5uf.js +0 -90
- package/out/_next/static/chunks/01h4ept18s-ns.js +0 -807
- package/out/_next/static/chunks/02cdoh48sex9m.js +0 -1
- package/out/_next/static/chunks/03-z1yl608b56.js +0 -807
- package/out/_next/static/chunks/030bzkeke0edz.js +0 -7
- package/out/_next/static/chunks/037vsiy28s6dg.js +0 -41
- package/out/_next/static/chunks/049clkw76lm67.js +0 -16
- package/out/_next/static/chunks/04bb4k67x398t.js +0 -1
- package/out/_next/static/chunks/057evs7qr5y-t.js +0 -17
- package/out/_next/static/chunks/05qpw6q8uiz3l.js +0 -15
- package/out/_next/static/chunks/062myzj-2ehu-.js +0 -52
- package/out/_next/static/chunks/06l-rqlf4bp81.js +0 -108
- package/out/_next/static/chunks/06tejx8u1_0kg.js +0 -1
- package/out/_next/static/chunks/07nffhr51vke6.js +0 -59
- package/out/_next/static/chunks/08tyybz20igty.js +0 -15
- package/out/_next/static/chunks/0989pcuje2j55.js +0 -66
- package/out/_next/static/chunks/0_02skyivjqh6.js +0 -14
- package/out/_next/static/chunks/0_ngi84ak813x.js +0 -288
- package/out/_next/static/chunks/0bc02hascgv7z.js +0 -1
- package/out/_next/static/chunks/0c9ruqj2wf3n6.js +0 -905
- package/out/_next/static/chunks/0cblqqpscyy7w.js +0 -12
- package/out/_next/static/chunks/0cotrfgh1n2cx.js +0 -346
- package/out/_next/static/chunks/0d6_opzy2p6ik.js +0 -807
- package/out/_next/static/chunks/0e2e0srgvkzk9.js +0 -144
- package/out/_next/static/chunks/0g6hr3dmen536.js +0 -7
- package/out/_next/static/chunks/0gurfn3nhm859.js +0 -1
- package/out/_next/static/chunks/0h0r_q6xa9qr_.js +0 -1
- package/out/_next/static/chunks/0ht2wu-61vq9v.js +0 -807
- package/out/_next/static/chunks/0ibp5q64hnd88.js +0 -18
- package/out/_next/static/chunks/0ichlp5c67dko.js +0 -12
- package/out/_next/static/chunks/0iui_zfuxfa45.js +0 -12
- package/out/_next/static/chunks/0k6z6zl_zxqp7.js +0 -13
- package/out/_next/static/chunks/0kkky_8vhaeaz.js +0 -227
- package/out/_next/static/chunks/0lutmpv07icdg.js +0 -8
- package/out/_next/static/chunks/0m6jydfuy_4o3.js +0 -1
- package/out/_next/static/chunks/0mzh9-epgepi1.js +0 -119
- package/out/_next/static/chunks/0n0uzfbkfb7e5.js +0 -12
- package/out/_next/static/chunks/0nhczsa2mm354.js +0 -16
- package/out/_next/static/chunks/0pecsk3c09b19.js +0 -3
- package/out/_next/static/chunks/0prynyrvhm7ef.js +0 -2
- package/out/_next/static/chunks/0q-14a7j6afh3.js +0 -1
- package/out/_next/static/chunks/0r5wwinf72z4g.js +0 -1
- package/out/_next/static/chunks/0razrbxeai797.js +0 -807
- package/out/_next/static/chunks/0ryqvctymlr3k.js +0 -12
- package/out/_next/static/chunks/0se09klbk8drd.js +0 -68
- package/out/_next/static/chunks/0sh5256hzmj3b.js +0 -14
- package/out/_next/static/chunks/0srpqs12m-bwy.js +0 -13
- package/out/_next/static/chunks/0ukyxgmnqos6o.js +0 -1
- package/out/_next/static/chunks/0uv4d5f9o8wu1.js +0 -10
- package/out/_next/static/chunks/0uw9cbq0ivaz0.js +0 -1
- package/out/_next/static/chunks/0vls1lbu_rh78.js +0 -342
- package/out/_next/static/chunks/0vx_1vxljh4tn.js +0 -13
- package/out/_next/static/chunks/0vxe9bw7ffqy2.js +0 -15
- package/out/_next/static/chunks/0w0zigi7aws2m.js +0 -1
- package/out/_next/static/chunks/0w2zoz_fn_wha.js +0 -137
- package/out/_next/static/chunks/0xuevvy5i5d12.js +0 -138
- package/out/_next/static/chunks/0xxvsq70e4xn0.js +0 -1
- package/out/_next/static/chunks/0yxc1yy1eq4u3.js +0 -149
- package/out/_next/static/chunks/1-uz_5-063kh9.js +0 -188
- package/out/_next/static/chunks/10h7lznd10mmp.js +0 -384
- package/out/_next/static/chunks/10os1s66nimmi.js +0 -110
- package/out/_next/static/chunks/12_5-baf13q49.js +0 -195
- package/out/_next/static/chunks/12qzh85d5on4y.js +0 -44
- package/out/_next/static/chunks/12ukdi5bzlbeo.js +0 -596
- package/out/_next/static/chunks/1398hevtpl_69.js +0 -1
- package/out/_next/static/chunks/13qk8ukzu1snm.js +0 -288
- package/out/_next/static/chunks/164wr2-2gfnlb.js +0 -1
- package/out/_next/static/chunks/16ey81skn09dz.js +0 -1
- package/out/_next/static/chunks/18kae_yjyhjwf.js +0 -16
- package/out/_next/static/chunks/19y4w6_d_qiou.js +0 -1
- package/out/_next/static/chunks/1_quktgfhf40v.js +0 -31
- package/out/_next/static/chunks/1ae-9ft5cgojf.js +0 -1
- package/out/_next/static/chunks/1aegvtb5jv57q.js +0 -12
- package/out/_next/static/chunks/1cgxgd2cf8u3j.js +0 -157
- package/out/_next/static/chunks/1cp4-dvxowp4c.js +0 -24
- package/out/_next/static/chunks/1d951b6ed8oqn.js +0 -110
- package/out/_next/static/chunks/1d_puhcn8lg6q.js +0 -51
- package/out/_next/static/chunks/1drrou5kp4qdz.js +0 -1
- package/out/_next/static/chunks/1e4_28-3u5o85.js +0 -30
- package/out/_next/static/chunks/1f3mflnvp8_7-.js +0 -31
- package/out/_next/static/chunks/1f5-j4f3irx0j.js +0 -147
- package/out/_next/static/chunks/1fzbon-ih4_3j.js +0 -1
- package/out/_next/static/chunks/1g57y7cq7tjcb.js +0 -9
- package/out/_next/static/chunks/1g8f6jrb9cp9v.js +0 -13
- package/out/_next/static/chunks/1gksg35fivk0-.js +0 -224
- package/out/_next/static/chunks/1gt65pz91hyuz.js +0 -1
- package/out/_next/static/chunks/1gy9ae4fpd6jm.js +0 -17
- package/out/_next/static/chunks/1hq9yt63076pk.js +0 -16
- package/out/_next/static/chunks/1ikm9qcx--k3u.js +0 -807
- package/out/_next/static/chunks/1izpxynqp99t4.js +0 -193
- package/out/_next/static/chunks/1j2ko85jp-5wy.js +0 -807
- package/out/_next/static/chunks/1k-cn_5ey1u62.js +0 -15
- package/out/_next/static/chunks/1k0mvn915uz76.js +0 -14
- package/out/_next/static/chunks/1l4snbkce_jb6.js +0 -15
- package/out/_next/static/chunks/1lbsdlf5h6ojc.js +0 -16
- package/out/_next/static/chunks/1mwvnv71bl7mc.js +0 -1
- package/out/_next/static/chunks/1n7i2rp59o9o8.js +0 -384
- package/out/_next/static/chunks/1pklei2ds10d2.js +0 -66
- package/out/_next/static/chunks/1pxor-3_vf3du.js +0 -31
- package/out/_next/static/chunks/1qp68765j1aiv.js +0 -61
- package/out/_next/static/chunks/1r-cvj3mpr-7x.js +0 -87
- package/out/_next/static/chunks/1sivy8bkkmwxl.js +0 -5
- package/out/_next/static/chunks/1vk6h4qps69vq.js +0 -12
- package/out/_next/static/chunks/1vx8_u7-f7q8u.js +0 -28
- package/out/_next/static/chunks/1weq9keqxiqpy.js +0 -73
- package/out/_next/static/chunks/1xbofs3ibkjvj.js +0 -1
- package/out/_next/static/chunks/1ziicn0eb_yji.js +0 -16
- package/out/_next/static/chunks/1zza9faw4t3b_.js +0 -46
- package/out/_next/static/chunks/1zzpf1xbmchcj.js +0 -132
- package/out/_next/static/chunks/2-4ng9fxftmld.js +0 -1
- package/out/_next/static/chunks/201rx84kyo8ag.js +0 -1
- package/out/_next/static/chunks/20rtv8f0brb0n.js +0 -43
- package/out/_next/static/chunks/217_5onj-woma.js +0 -190
- package/out/_next/static/chunks/21a19t2pe0fpg.js +0 -81
- package/out/_next/static/chunks/21o2yfegozc0m.js +0 -16
- package/out/_next/static/chunks/22w2ovaffle-i.js +0 -21
- package/out/_next/static/chunks/234pfdqctlnyt.js +0 -100
- package/out/_next/static/chunks/252jebodi67kg.js +0 -1
- package/out/_next/static/chunks/25d8wr34sbm__.js +0 -15
- package/out/_next/static/chunks/275o3ly3svw4p.js +0 -1
- package/out/_next/static/chunks/28z1z7in8-kbg.js +0 -26
- package/out/_next/static/chunks/29w1exzy704_7.js +0 -8
- package/out/_next/static/chunks/2bb7696udjx6k.js +0 -44
- package/out/_next/static/chunks/2bm5aw8hqlgf2.js +0 -50
- package/out/_next/static/chunks/2c4vy8ofex0ti.js +0 -14
- package/out/_next/static/chunks/2c7gw8ronvu-c.js +0 -807
- package/out/_next/static/chunks/2cbr3ybo4xsrv.js +0 -43
- package/out/_next/static/chunks/2eh6ku1a1zbs4.js +0 -135
- package/out/_next/static/chunks/2fed4-6c0ghqp.js +0 -99
- package/out/_next/static/chunks/2g39exixp92yf.js +0 -13
- package/out/_next/static/chunks/2gil5igdermzh.js +0 -36
- package/out/_next/static/chunks/2hm0mbq0vtqmw.js +0 -5
- package/out/_next/static/chunks/2hvt_8j6jkd_n.js +0 -14
- package/out/_next/static/chunks/2i5uj5i4z-xu8.js +0 -188
- package/out/_next/static/chunks/2ismth22knujm.js +0 -1
- package/out/_next/static/chunks/2iuznbar_ttrh.js +0 -18
- package/out/_next/static/chunks/2j6cph79-th54.js +0 -7
- package/out/_next/static/chunks/2jjgby8cd1gdj.js +0 -14
- package/out/_next/static/chunks/2jln1kjysf99p.js +0 -1
- package/out/_next/static/chunks/2jtk4-i4e9lug.js +0 -1
- package/out/_next/static/chunks/2k020ab3luqev.js +0 -1
- package/out/_next/static/chunks/2kbieaechn8m8.js +0 -1
- package/out/_next/static/chunks/2ljoq6sr-g2da.js +0 -1
- package/out/_next/static/chunks/2lwxs_ly4bz1o.js +0 -12
- package/out/_next/static/chunks/2mr2k4sb6i021.js +0 -32
- package/out/_next/static/chunks/2na27-e8gs0-f.js +0 -171
- package/out/_next/static/chunks/2nn3_f04lnr0b.js +0 -807
- package/out/_next/static/chunks/2ocwu5vbc5r34.js +0 -73
- package/out/_next/static/chunks/2qprgjhjl8d4c.js +0 -807
- package/out/_next/static/chunks/2rtyphk0o1hbr.js +0 -5
- package/out/_next/static/chunks/2skxi0oqka3ef.js +0 -26
- package/out/_next/static/chunks/2sukt9l-1md8_.js +0 -25
- package/out/_next/static/chunks/2t3t6gm5vlg_0.js +0 -58
- package/out/_next/static/chunks/2vt52_i-6cdbh.js +0 -10
- package/out/_next/static/chunks/2w5y5xf0nriwx.js +0 -1
- package/out/_next/static/chunks/30g-s0ioynhjx.js +0 -224
- package/out/_next/static/chunks/31y7dx6ytab7h.js +0 -3
- package/out/_next/static/chunks/363ng2l8o_bee.js +0 -101
- package/out/_next/static/chunks/36jick0alh9oa.js +0 -50
- package/out/_next/static/chunks/36pa0vs0telmp.js +0 -1
- package/out/_next/static/chunks/36yth4lm03_j8.js +0 -1
- package/out/_next/static/chunks/37phwvegpccj0.js +0 -217
- package/out/_next/static/chunks/38b7m-s26ciug.js +0 -137
- package/out/_next/static/chunks/38ipj45w-tqay.js +0 -21
- package/out/_next/static/chunks/38pz7fmyf6ay0.js +0 -1
- package/out/_next/static/chunks/39634va9fx9s2.js +0 -13
- package/out/_next/static/chunks/3a0hqx7ohm5lh.js +0 -23
- package/out/_next/static/chunks/3a7wm2331v13r.js +0 -3
- package/out/_next/static/chunks/3dr_oa5hx41is.js +0 -14
- package/out/_next/static/chunks/3e7w6ko5psik7.js +0 -17
- package/out/_next/static/chunks/3ebh4y7h6y1vq.js +0 -58
- package/out/_next/static/chunks/3eow7lw1727kt.js +0 -13
- package/out/_next/static/chunks/3f1gb4_hyhtho.js +0 -20
- package/out/_next/static/chunks/3g4qj6_qh97q_.js +0 -12
- package/out/_next/static/chunks/3gfjdynb9mg8h.js +0 -23
- package/out/_next/static/chunks/3gx4smk7pb27x.js +0 -119
- package/out/_next/static/chunks/3jcf4ei6zgnca.js +0 -17
- package/out/_next/static/chunks/3kisw9hre44e5.js +0 -807
- package/out/_next/static/chunks/3mnt471ayfsvh.js +0 -22
- package/out/_next/static/chunks/3ondw3-zthjz5.js +0 -15
- package/out/_next/static/chunks/3opuxnw_w3yb5.js +0 -101
- package/out/_next/static/chunks/3oxv1fo564rrf.js +0 -142
- package/out/_next/static/chunks/3ra_41-fw410n.js +0 -14
- package/out/_next/static/chunks/3s22ovhmk-4h7.js +0 -1
- package/out/_next/static/chunks/3sktz8258so64.js +0 -2
- package/out/_next/static/chunks/3tq-bb0j1_lpu.js +0 -14
- package/out/_next/static/chunks/3v1dxn4rp-o3v.js +0 -315
- package/out/_next/static/chunks/3w_wwl_hd91od.js +0 -1
- package/out/_next/static/chunks/3ww_p-agyd9u-.js +0 -14
- package/out/_next/static/chunks/3wzzh45yillzb.js +0 -1
- package/out/_next/static/chunks/3xfj8_2nd5d_1.js +0 -1
- package/out/_next/static/chunks/3xhmfg-981n_5.js +0 -61
- package/out/_next/static/chunks/3yz34q3ulli7q.js +0 -12
- package/out/_next/static/chunks/3z_c5kpm-e1ty.js +0 -15
- package/out/_next/static/chunks/3zs002htik_8l.js +0 -21
- package/out/_next/static/chunks/4079hjuumfmm2.js +0 -31
- package/out/_next/static/chunks/40922jbr_e5ug.js +0 -51
- package/out/_next/static/chunks/40zy6mxa-be0m.js +0 -1
- package/out/_next/static/chunks/41fbmiggueudh.js +0 -13
- package/out/_next/static/chunks/43e0fp97w800k.js +0 -13
- package/out/_next/static/chunks/43gv4x1sfyb5l.js +0 -9
- package/out/_next/static/chunks/44nj9c766dqvc.js +0 -807
- package/out/_next/static/chunks/44r51e87s4z_d.js +0 -8
- package/out/_next/static/chunks/458tg2eg5h8j5.js +0 -324
- package/out/_next/static/chunks/45cd4ypk94sw2.js +0 -807
- package/out/_next/static/chunks/turbopack-01866gjdddrxa.js +0 -1
- package/out/_next/static/chunks/turbopack-08ttg7vxsdnsj.js +0 -1
- package/out/_next/static/chunks/turbopack-0a3j0ezn8okfg.js +0 -1
- package/out/_next/static/chunks/turbopack-0anbjm4c1j4u4.js +0 -1
- package/out/_next/static/chunks/turbopack-0ga3wfg-oyyst.js +0 -1
- package/out/_next/static/chunks/turbopack-0m3lvbvrn923g.js +0 -1
- package/out/_next/static/chunks/turbopack-0pmjdjcdx7cqp.js +0 -1
- package/out/_next/static/chunks/turbopack-0ptvhnhsw0_c7.js +0 -1
- package/out/_next/static/chunks/turbopack-0s4b5r_1d8yqv.js +0 -1
- package/out/_next/static/chunks/turbopack-0sihqflu4qpvw.js +0 -1
- package/out/_next/static/chunks/turbopack-0tc31uax4buqq.js +0 -1
- package/out/_next/static/chunks/turbopack-0w2rzh4i3j2og.js +0 -1
- package/out/_next/static/chunks/turbopack-10ldzl5n31zl-.js +0 -1
- package/out/_next/static/chunks/turbopack-19e_bi5k2rqyy.js +0 -1
- package/out/_next/static/chunks/turbopack-19i6-4a5o4fil.js +0 -1
- package/out/_next/static/chunks/turbopack-19vr9o5829d-f.js +0 -1
- package/out/_next/static/chunks/turbopack-19yw5qwon7l57.js +0 -1
- package/out/_next/static/chunks/turbopack-1cx5i7_gdoz5k.js +0 -1
- package/out/_next/static/chunks/turbopack-1d-c7awe26kf5.js +0 -1
- package/out/_next/static/chunks/turbopack-1l1aen9tojmq4.js +0 -1
- package/out/_next/static/chunks/turbopack-1o1rar8ouv6h9.js +0 -1
- package/out/_next/static/chunks/turbopack-1od_4a7nj02l4.js +0 -1
- package/out/_next/static/chunks/turbopack-1r_0o22d_puxo.js +0 -1
- package/out/_next/static/chunks/turbopack-1rmdtpi005n_6.js +0 -1
- package/out/_next/static/chunks/turbopack-1wx5785osz26z.js +0 -1
- package/out/_next/static/chunks/turbopack-21vayl2_q4r5u.js +0 -1
- package/out/_next/static/chunks/turbopack-23nr2ioaqw90j.js +0 -1
- package/out/_next/static/chunks/turbopack-23u97wxsuqiqb.js +0 -1
- package/out/_next/static/chunks/turbopack-24ylsu2au7hg1.js +0 -1
- package/out/_next/static/chunks/turbopack-28_dvdmt6lvhn.js +0 -1
- package/out/_next/static/chunks/turbopack-2bo7hmw4eirxu.js +0 -1
- package/out/_next/static/chunks/turbopack-2dk8ur1fvwxzj.js +0 -1
- package/out/_next/static/chunks/turbopack-2e_wy0ffi64id.js +0 -1
- package/out/_next/static/chunks/turbopack-2fuk9oepxr5n0.js +0 -1
- package/out/_next/static/chunks/turbopack-2g2viapamsvwe.js +0 -1
- package/out/_next/static/chunks/turbopack-2ga09m38zacev.js +0 -1
- package/out/_next/static/chunks/turbopack-2pxtve7lryqre.js +0 -1
- package/out/_next/static/chunks/turbopack-2qbfd_-7v5dbo.js +0 -1
- package/out/_next/static/chunks/turbopack-2rz_y4ejrvafp.js +0 -1
- package/out/_next/static/chunks/turbopack-2u0ls0liblo_9.js +0 -1
- package/out/_next/static/chunks/turbopack-2u_328z53ed9p.js +0 -1
- package/out/_next/static/chunks/turbopack-2xfom16ggx1i3.js +0 -1
- package/out/_next/static/chunks/turbopack-2ycfwit0p-fkf.js +0 -1
- package/out/_next/static/chunks/turbopack-2yekm5ij2g-aw.js +0 -1
- package/out/_next/static/chunks/turbopack-3-w-v8og1lok2.js +0 -1
- package/out/_next/static/chunks/turbopack-30qkgccwlkv7n.js +0 -1
- package/out/_next/static/chunks/turbopack-36bl9-rerhcfg.js +0 -1
- package/out/_next/static/chunks/turbopack-37a6lyjyz7fts.js +0 -1
- package/out/_next/static/chunks/turbopack-37lb9ujef-ujm.js +0 -1
- package/out/_next/static/chunks/turbopack-39nctu3yv9iv4.js +0 -1
- package/out/_next/static/chunks/turbopack-3_mmmbs60vr14.js +0 -1
- package/out/_next/static/chunks/turbopack-3_o3qz69ih0uu.js +0 -1
- package/out/_next/static/chunks/turbopack-3cv39r7v3s2gr.js +0 -1
- package/out/_next/static/chunks/turbopack-3cv3hgsoo_z1k.js +0 -1
- package/out/_next/static/chunks/turbopack-3pgmc-lv74ewz.js +0 -1
- package/out/_next/static/chunks/turbopack-3uj40sz7i7jg0.js +0 -1
- package/out/_next/static/chunks/turbopack-3v4nxmdavly34.js +0 -1
- package/out/_next/static/chunks/turbopack-3vfm6fp92up6y.js +0 -1
- package/out/_next/static/chunks/turbopack-3vyi51cuxeowy.js +0 -1
- package/out/_next/static/chunks/turbopack-3w26eu86co02z.js +0 -1
- package/out/_next/static/chunks/turbopack-3zc0h1216mtm2.js +0 -1
- package/out/_next/static/chunks/turbopack-4166pmk5_y_4x.js +0 -1
- package/out/_next/static/chunks/turbopack-431y1sh-m_0mp.js +0 -1
- package/out/manifest.json +0 -48
- /package/out/_next/static/{F8ReqaxPvLqFJ2DaPfMdn → jOx5PlckLwWIJ5yrvePdU}/_clientMiddlewareManifest.js +0 -0
- /package/out/_next/static/{F8ReqaxPvLqFJ2DaPfMdn → jOx5PlckLwWIJ5yrvePdU}/_ssgManifest.js +0 -0
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,5505,e=>{"use strict";var r=e.i(91398),a=e.i(91788),i=e.i(72043);let s=(0,a.createContext)(!1);e.s(["FormWrapperContext",0,s,"default",0,({children:e,className:a=""})=>(0,r.jsx)(s.Provider,{value:!0,children:(0,r.jsx)("div",{className:"sm:max-w-full",children:(0,r.jsx)("div",{className:(0,i.default)("bg-white dark:bg-slate-800 rounded-md shadow-sm overflow-hidden",a),children:e})})})])},68057,e=>{"use strict";var r=e.i(91398),a=e.i(69322),i=e.i(69211),s=e.i(73419),t=e.i(99160),d=e.i(98949),o=e.i(5505);e.s(["default",0,({onSubmit:e,onSubmitSuccess:l,providerTypes:n,providerInterfaces:u,onProviderChange:c,readOnly:m})=>{let{formatMessage:h}=(0,a.useIntl)(),g=h({id:"provider_created_success",defaultMessage:"Provider created successfully!"}),v=(0,d.default)({submit:e,onSubmitSuccess:l,successMessage:g,enableReinitialize:!0,initialValues:{adapterKey:"",type:""}});return(0,r.jsx)(o.default,{children:(0,r.jsx)(i.default,{form:v,children:(0,r.jsxs)("div",{className:"shadow-sm dark:shadow-none sm:max-w-full sm:rounded-lg",children:[(0,r.jsxs)("div",{className:"px-4 pt-4 pb-6",children:[(0,r.jsx)(s.default,{onChange:e=>c(e.target.value),name:"type",disabled:m,required:!0,label:h({id:"type",defaultMessage:"Type"}),options:n,className:"mb-5"}),(0,r.jsx)(s.default,{name:"adapterKey",required:!0,disabled:m,options:u,label:h({id:"adapter",defaultMessage:"Adapter"}),className:"mt-2"})]}),!m&&(0,r.jsx)("div",{className:"border-t-slate-100 border-t dark:border-t-slate-700 space-y-6 bg-slate-50 dark:bg-slate-900 p-6 px-5 text-right",children:(0,r.jsx)(t.default,{label:h({id:"create_provider",defaultMessage:"Create provider"})})})]})})})}])},1504,e=>{"use strict";e.s(["default",0,(e,r,a)=>Object.assign({},...e?.map(e=>({[e[a]]:e[r]}))||[])])},73419,e=>{"use strict";var r=e.i(91398),a=e.i(72043),i=e.i(60741),s=e.i(29691);e.s(["default",0,e=>{let{options:t,...d}=(0,i.default)(e),{className:o}=e||{className:""};return(0,r.jsx)(s.default,{...d,children:(0,r.jsx)("div",{className:"select-wrap",children:(0,r.jsxs)("select",{className:(0,a.default)("block w-full dark:bg-slate-900 dark:text-white rounded-md border-1 border-slate-300 dark:border-slate-700 py-2.5 pl-3 pr-10 text-base text-black shadow-xs focus:outline-hidden focus:ring-2 focus:ring-slate-800 sm:text-sm",o,{"border-rose-700 text-rose-600 dark:border-rose-500 dark:text-rose-400":!!d.error}),disabled:d.disabled,id:d.name,name:d.name,onChange:d.onChange,onBlur:d.onBlur,value:d.value,children:[(0,r.jsx)("option",{className:"dark:text-slate-200",value:"",disabled:d.required,hidden:d.required,children:d.placeholder||d.label}),Object.entries(t).map(([e,a])=>(0,r.jsx)("option",{className:"dark:text-slate-200",value:e,children:a},e))]})})})}])},13543,e=>{"use strict";var r=e.i(59080);let a=r.gql`
|
|
2
|
-
fragment WarehousingProviderFragment on WarehousingProvider {
|
|
3
|
-
_id
|
|
4
|
-
created
|
|
5
|
-
updated
|
|
6
|
-
deleted
|
|
7
|
-
isActive
|
|
8
|
-
type
|
|
9
|
-
interface {
|
|
10
|
-
_id
|
|
11
|
-
label
|
|
12
|
-
version
|
|
13
|
-
}
|
|
14
|
-
configuration
|
|
15
|
-
configurationError
|
|
16
|
-
}
|
|
17
|
-
`;e.s(["default",0,a])},13271,e=>{"use strict";var r=e.i(59080),a=e.i(32171);let i=r.gql`
|
|
18
|
-
query WarehousingProvidersType {
|
|
19
|
-
warehousingProviderType: __type(name: "WarehousingProviderType") {
|
|
20
|
-
options: enumValues {
|
|
21
|
-
value: name
|
|
22
|
-
label: description
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
`;e.s(["default",0,()=>{let{data:e,loading:r,error:s}=(0,a.useQuery)(i);return{warehousingProviderType:e?.warehousingProviderType?.options||[],loading:r,error:s}}])},10983,e=>{"use strict";var r=e.i(91398),a=e.i(91788),i=e.i(66773),s=e.i(3828),t=e.i(69322),d=e.i(58971),o=e.i(61494),l=e.i(68057),n=e.i(17644),u=e.i(1504),c=e.i(59080),m=e.i(76204),h=e.i(13543);let g=c.gql`
|
|
27
|
-
mutation CreateWarehousingProvider(
|
|
28
|
-
$warehousingProvider: CreateWarehousingProviderInput!
|
|
29
|
-
) {
|
|
30
|
-
createWarehousingProvider(warehousingProvider: $warehousingProvider) {
|
|
31
|
-
...WarehousingProviderFragment
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
${h.default}
|
|
35
|
-
`;var v=e.i(32171);let p=c.gql`
|
|
36
|
-
query WarehousingInterfaces($providerType: WarehousingProviderType) {
|
|
37
|
-
warehousingInterfaces(type: $providerType) {
|
|
38
|
-
_id
|
|
39
|
-
value: _id
|
|
40
|
-
label
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
`;var f=e.i(13271);e.s(["default",0,()=>{let[e,c]=(0,a.useState)(i.IWarehousingProviderType.Physical),{formatMessage:h}=(0,t.useIntl)(),{createWarehousingProvider:b}=(()=>{let[e,{data:r,loading:a,error:i}]=(0,m.useMutation)(g);return{createWarehousingProvider:async({warehousingProvider:{adapterKey:r,type:a}})=>e({variables:{warehousingProvider:{adapterKey:r,type:a}},refetchQueries:["WarehousingProviders","ShopStatus"]}),newWarehousingProvider:r?.createWarehousingProvider,loading:a,error:i}})(),{warehousingProviderType:x}=(0,f.default)(),{warehousingInterfaces:P}=(({providerType:e})=>{let{data:r,loading:a,error:i}=(0,v.useQuery)(p,{skip:!e,variables:{providerType:e}});return{warehousingInterfaces:r?.warehousingInterfaces||[],loading:a,error:i}})({providerType:e}),{hasRole:w}=(0,d.default)(),y=async({adapterKey:e,type:r})=>{let{data:a,error:i}=await b({warehousingProvider:{adapterKey:e,type:r}});return!i&&{success:!0,data:a?.createWarehousingProvider}},j=(0,s.useRouter)();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.default,{}),(0,r.jsxs)("div",{className:"mx-auto sm:max-w-2xl",children:[(0,r.jsx)(n.default,{headerText:h({id:"new_warehousing_provider_header",defaultMessage:"New warehousing provider"})}),(0,r.jsx)("div",{className:"mt-6",children:(0,r.jsx)(l.default,{readOnly:!w(i.IRoleAction.ManageWarehousingProviders),providerInterfaces:(0,u.default)(P,"label","value"),providerTypes:(0,u.default)(x,"label","value"),onSubmit:y,onSubmitSuccess:(e,{_id:r})=>{j.replace(`/warehousing-provider?warehousingProviderId=${r}`)},onProviderChange:e=>c(e)})})]})]})}],10983)},50411,(e,r,a)=>{let i="/warehousing-provider/new";(window.__NEXT_P=window.__NEXT_P||[]).push([i,()=>e.r(10983)]),r.hot&&r.hot.dispose(function(){window.__NEXT_P.push([i])})},28805,e=>{e.v(r=>Promise.all(["static/chunks/0h0r_q6xa9qr_.js"].map(r=>e.l(r))).then(()=>r(79466)))},48761,e=>{e.v(r=>Promise.all(["static/chunks/1ae-9ft5cgojf.js"].map(r=>e.l(r))).then(()=>r(93594)))},13521,(e,r,a)=>{"use strict";e.i(50461),Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"ImageConfigContext",{enumerable:!0,get:function(){return t}});let i=e.r(41705)._(e.r(91788)),s=e.r(15125),t=i.default.createContext(s.imageConfigDefault)},15125,(e,r,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var i={VALID_LOADERS:function(){return t},imageConfigDefault:function(){return d}};for(var s in i)Object.defineProperty(a,s,{enumerable:!0,get:i[s]});let t=["default","imgix","cloudinary","akamai","custom"],d={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}}]);
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,70693,12970,e=>{"use strict";var t=e.i(91788);let a=t.default.createContext({customProperties:{},hydrateFragment:(e,t)=>null});e.s(["default",0,a],12970),e.s(["default",0,()=>(0,t.useContext)(a)],70693)},73298,2228,e=>{"use strict";var t=e.i(59080);let a=t.gql`
|
|
2
|
-
fragment MD5MetaDataFragment on WebAuthnMDSv3Metadata {
|
|
3
|
-
legalHeader
|
|
4
|
-
description
|
|
5
|
-
authenticatorVersion
|
|
6
|
-
protocolFamily
|
|
7
|
-
schema
|
|
8
|
-
authenticationAlgorithms
|
|
9
|
-
publicKeyAlgAndEncodings
|
|
10
|
-
attestationTypes
|
|
11
|
-
keyProtection
|
|
12
|
-
upv
|
|
13
|
-
tcDisplay
|
|
14
|
-
authenticationAlgorithms
|
|
15
|
-
publicKeyAlgAndEncodings
|
|
16
|
-
icon
|
|
17
|
-
authenticatorGetInfo
|
|
18
|
-
}
|
|
19
|
-
`;e.s(["default",0,a],2228);let s=t.gql`
|
|
20
|
-
fragment UserFragment on User {
|
|
21
|
-
_id
|
|
22
|
-
lastBillingAddress {
|
|
23
|
-
firstName
|
|
24
|
-
lastName
|
|
25
|
-
company
|
|
26
|
-
addressLine
|
|
27
|
-
addressLine2
|
|
28
|
-
postalCode
|
|
29
|
-
countryCode
|
|
30
|
-
regionCode
|
|
31
|
-
city
|
|
32
|
-
}
|
|
33
|
-
lastContact {
|
|
34
|
-
emailAddress
|
|
35
|
-
telNumber
|
|
36
|
-
}
|
|
37
|
-
lastLogin {
|
|
38
|
-
countryCode
|
|
39
|
-
locale
|
|
40
|
-
remoteAddress
|
|
41
|
-
remotePort
|
|
42
|
-
timestamp
|
|
43
|
-
userAgent
|
|
44
|
-
}
|
|
45
|
-
avatar {
|
|
46
|
-
_id
|
|
47
|
-
name
|
|
48
|
-
size
|
|
49
|
-
type
|
|
50
|
-
url
|
|
51
|
-
}
|
|
52
|
-
allowedActions
|
|
53
|
-
paymentCredentials {
|
|
54
|
-
_id
|
|
55
|
-
isValid
|
|
56
|
-
isPreferred
|
|
57
|
-
paymentProvider {
|
|
58
|
-
_id
|
|
59
|
-
type
|
|
60
|
-
interface {
|
|
61
|
-
_id
|
|
62
|
-
label
|
|
63
|
-
version
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
emails {
|
|
68
|
-
verified
|
|
69
|
-
address
|
|
70
|
-
}
|
|
71
|
-
web3Addresses {
|
|
72
|
-
address
|
|
73
|
-
nonce
|
|
74
|
-
verified
|
|
75
|
-
}
|
|
76
|
-
webAuthnCredentials {
|
|
77
|
-
_id
|
|
78
|
-
created
|
|
79
|
-
aaguid
|
|
80
|
-
counter
|
|
81
|
-
mdsMetadata {
|
|
82
|
-
...MD5MetaDataFragment
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
profile {
|
|
86
|
-
displayName
|
|
87
|
-
phoneMobile
|
|
88
|
-
gender
|
|
89
|
-
address {
|
|
90
|
-
firstName
|
|
91
|
-
lastName
|
|
92
|
-
company
|
|
93
|
-
addressLine
|
|
94
|
-
addressLine2
|
|
95
|
-
postalCode
|
|
96
|
-
countryCode
|
|
97
|
-
regionCode
|
|
98
|
-
city
|
|
99
|
-
}
|
|
100
|
-
birthday
|
|
101
|
-
}
|
|
102
|
-
username
|
|
103
|
-
primaryEmail {
|
|
104
|
-
verified
|
|
105
|
-
address
|
|
106
|
-
}
|
|
107
|
-
isGuest
|
|
108
|
-
isInitialPassword
|
|
109
|
-
name
|
|
110
|
-
roles
|
|
111
|
-
tags
|
|
112
|
-
deleted
|
|
113
|
-
cart {
|
|
114
|
-
_id
|
|
115
|
-
items {
|
|
116
|
-
_id
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
orders {
|
|
120
|
-
_id
|
|
121
|
-
items {
|
|
122
|
-
_id
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
${a}
|
|
127
|
-
`;e.s(["default",0,s],73298)},51870,e=>{"use strict";var t=e.i(59080),a=e.i(32171),s=e.i(70693),r=e.i(73298);e.s(["default",0,e=>{let{customProperties:i,hydrateFragment:l}=(0,s.default)(),{data:d,loading:o,error:n}=(0,a.useQuery)(((e="")=>t.gql`
|
|
128
|
-
query CurrentUser {
|
|
129
|
-
me {
|
|
130
|
-
...UserFragment
|
|
131
|
-
${e}
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
${r.default}
|
|
135
|
-
`)(i?.User)),c=d?.me,u=l(i?.User,c||null);return{currentUser:c,loading:o,error:n,extendedData:u}}])},5505,e=>{"use strict";var t=e.i(91398),a=e.i(91788),s=e.i(72043);let r=(0,a.createContext)(!1);e.s(["FormWrapperContext",0,r,"default",0,({children:e,className:a=""})=>(0,t.jsx)(r.Provider,{value:!0,children:(0,t.jsx)("div",{className:"sm:max-w-full",children:(0,t.jsx)("div",{className:(0,s.default)("bg-white dark:bg-slate-800 rounded-md shadow-sm overflow-hidden",a),children:e})})})])},79227,e=>{"use strict";var t=e.i(91398),a=e.i(91788);let s=a.forwardRef(function({title:e,titleId:t,...s},r){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},s),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.5 10.5V6.75a4.5 4.5 0 1 0-9 0v3.75m-.75 11.25h10.5a2.25 2.25 0 0 0 2.25-2.25v-6.75a2.25 2.25 0 0 0-2.25-2.25H6.75a2.25 2.25 0 0 0-2.25 2.25v6.75a2.25 2.25 0 0 0 2.25 2.25Z"}))});var r=e.i(41158),i=e.i(69322),l=e.i(51870),d=e.i(5505);let o=()=>{let{formatMessage:e}=(0,i.useIntl)(),{currentUser:a}=(0,l.default)();return(0,t.jsx)("div",{className:"flex min-h-screen items-center justify-center py-12 px-4 sm:px-6 lg:px-8",children:(0,t.jsxs)("div",{className:"w-full max-w-md space-y-4 text-center",children:[(0,t.jsx)("div",{children:(0,t.jsx)("h2",{className:"text-center text-3xl text-slate-900 dark:text-slate-200",children:e({id:"unauthorized_page",defaultMessage:"Access Forbidden"})})}),(0,t.jsx)(d.default,{children:(0,t.jsxs)("div",{className:"space-y-6 px-4 pb-5 pt-3 sm:rounded-lg sm:px-10",children:[(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("div",{className:"mx-auto flex h-12 w-12 items-center justify-center rounded-full bg-rose-100 dark:bg-rose-900",children:(0,t.jsx)(s,{className:"h-6 w-6 text-rose-600 dark:text-rose-400"})}),(0,t.jsx)("p",{className:"mt-4 text-sm font-semibold uppercase tracking-wide text-rose-600 dark:text-rose-400",children:e({id:"error_403",defaultMessage:"403 Unauthorized"})}),(0,t.jsx)("p",{className:"mt-2 text-base text-slate-500 dark:text-slate-400",children:e({id:"not_access_message",defaultMessage:"Sorry, the page you are trying to access has restricted access."})})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-3 mt-6",children:[a?._id?(0,t.jsxs)(r.default,{href:"/",className:"group relative flex w-full justify-center rounded-md border border-transparent bg-slate-800 dark:bg-slate-600 py-2 px-4 text-sm font-medium text-white hover:bg-slate-950 dark:hover:bg-slate-500 focus:outline-hidden focus:ring-2 focus:ring-slate-800 dark:focus:ring-slate-400 focus:ring-offset-2",children:[(0,t.jsx)("span",{className:"absolute inset-y-0 left-0 flex items-center pl-3",children:(0,t.jsx)("svg",{className:"h-5 w-5 text-white group-hover:text-slate-200",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M9.707 16.707a1 1 0 01-1.414 0l-6-6a1 1 0 010-1.414l6-6a1 1 0 011.414 1.414L5.414 9H17a1 1 0 110 2H5.414l4.293 4.293a1 1 0 010 1.414z",clipRule:"evenodd"})})}),e({id:"back_to_home",defaultMessage:"Back to Home"})]}):(0,t.jsxs)(r.default,{href:"/log-in",className:"group relative flex w-full justify-center rounded-md border border-transparent bg-slate-800 dark:bg-slate-600 py-2 px-4 text-sm font-medium text-white hover:bg-slate-950 dark:hover:bg-slate-500 focus:outline-hidden focus:ring-2 focus:ring-slate-800 dark:focus:ring-slate-400 focus:ring-offset-2",children:[(0,t.jsx)("span",{className:"absolute inset-y-0 left-0 flex items-center pl-3",children:(0,t.jsx)("svg",{className:"h-5 w-5 text-white group-hover:text-slate-200",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M5 9V7a5 5 0 0110 0v2a2 2 0 012 2v5a2 2 0 01-2 2H5a2 2 0 01-2-2v-5a2 2 0 012-2zm8-2v2H7V7a3 3 0 016 0z",clipRule:"evenodd"})})}),e({id:"go_to_login",defaultMessage:"Go to Login"})]}),(0,t.jsxs)("button",{type:"button",onClick:()=>window.history.back(),className:"group relative flex w-full justify-center rounded-md border border-slate-300 bg-slate-100 dark:bg-slate-700 dark:border-slate-600 py-2 px-4 text-sm font-medium text-slate-700 dark:text-slate-300 hover:bg-slate-200 dark:hover:bg-slate-600 focus:outline-hidden focus:ring-2 focus:ring-slate-500 dark:focus:ring-slate-400 focus:ring-offset-2",children:[(0,t.jsx)("span",{className:"absolute inset-y-0 left-0 flex items-center pl-3",children:(0,t.jsx)("svg",{className:"h-5 w-5 text-slate-500 dark:text-slate-400 group-hover:text-slate-600 dark:group-hover:text-slate-300",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M7.707 14.707a1 1 0 01-1.414 0L3 11.414V13a1 1 0 11-2 0V9a1 1 0 011-1h4a1 1 0 110 2H4.414l3.293 3.293a1 1 0 010 1.414z",clipRule:"evenodd"})})}),e({id:"go_back",defaultMessage:"Go Back"})]})]})]})})]})})};o.getLayout=e=>e,e.s(["default",0,o],79227)},50899,(e,t,a)=>{let s="/403";(window.__NEXT_P=window.__NEXT_P||[]).push([s,()=>e.r(79227)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([s])})},28805,e=>{e.v(t=>Promise.all(["static/chunks/0h0r_q6xa9qr_.js"].map(t=>e.l(t))).then(()=>t(79466)))},48761,e=>{e.v(t=>Promise.all(["static/chunks/2ljoq6sr-g2da.js"].map(t=>e.l(t))).then(()=>t(93594)))},13521,(e,t,a)=>{"use strict";e.i(50461),Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"ImageConfigContext",{enumerable:!0,get:function(){return i}});let s=e.r(41705)._(e.r(91788)),r=e.r(15125),i=s.default.createContext(r.imageConfigDefault)},15125,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var s={VALID_LOADERS:function(){return i},imageConfigDefault:function(){return l}};for(var r in s)Object.defineProperty(a,r,{enumerable:!0,get:s[r]});let i=["default","imgix","cloudinary","akamai","custom"],l={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1,customCacheHandler:!1}}]);
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,57561,48539,55989,e=>{"use strict";var t=e.i(91788),r=e.i(91398),n=e.i(69322),i=e.i(51713),o=e.i(98520),a=e.i(59080),l=e.i(32171);let u=a.gql`
|
|
2
|
-
query ShopInfo {
|
|
3
|
-
shopInfo {
|
|
4
|
-
_id
|
|
5
|
-
version
|
|
6
|
-
language {
|
|
7
|
-
_id
|
|
8
|
-
isoCode
|
|
9
|
-
name
|
|
10
|
-
}
|
|
11
|
-
country {
|
|
12
|
-
_id
|
|
13
|
-
isoCode
|
|
14
|
-
flagEmoji
|
|
15
|
-
name
|
|
16
|
-
defaultCurrency {
|
|
17
|
-
_id
|
|
18
|
-
isoCode
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
adminUiConfig {
|
|
22
|
-
singleSignOnURL
|
|
23
|
-
externalLinks {
|
|
24
|
-
href
|
|
25
|
-
title
|
|
26
|
-
target
|
|
27
|
-
}
|
|
28
|
-
customProperties {
|
|
29
|
-
entityName
|
|
30
|
-
inlineFragment
|
|
31
|
-
}
|
|
32
|
-
productTags
|
|
33
|
-
assortmentTags
|
|
34
|
-
userTags
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
`,s=()=>{let{data:e,loading:t,error:r}=(0,l.useQuery)(u,{fetchPolicy:"cache-first"}),{shopInfo:n}=e||{};return{shopInfo:n,defaultLocale:[n?.language?.isoCode,n?.country?.isoCode?.toUpperCase()].filter(Boolean)?.join("-"),loading:t,error:r}};e.s(["default",0,s],48539);var c=e.i(79684);let d=(0,t.createContext)(void 0);e.s(["AppContextWrapper",0,({children:e,onlyFull:a=!1})=>{let l,{languages:u}=(0,i.default)(),{locale:f}=(0,n.useIntl)(),[g,m]=(0,c.default)("selectedLocale",null),{shopInfo:v,loading:y}=s(),{countries:C}=(0,o.default)(),[h,p]=(0,t.useState)(f),S=e=>{m(e),p(e)};(0,t.useEffect)(()=>{g?p(g):y||S(`${v?.language?.isoCode}-${v?.country?.isoCode?.toUpperCase()}`)},[v,y,f]);let $=(l=[],u.forEach(({_id:e,isoCode:t})=>{l.push({_id:e,isoCode:t}),C.forEach(({isoCode:r,_id:n})=>{let i=[t,r.toUpperCase()].join("-");(e=>{try{return new Intl.DateTimeFormat(e).resolvedOptions().locale.toLowerCase()===e.toLowerCase()}catch(e){return!1}})(i)&&l.push({_id:`${n}-${e}`,isoCode:i})})}),l).filter(e=>!a||e.isoCode.includes("-")),w=!!v?.language&&!!v?.country;return(0,r.jsx)(d.Provider,{value:{selectedLocale:h,setSelectedLocale:S,languageDialectList:$,isSystemReady:w,shopInfo:v},children:e})},"default",0,d],55989),e.s(["default",0,()=>{let e=(0,t.useContext)(d);if(!e)throw Error("useLocale must be used within a LocaleProvider");return e}],57561)},79684,e=>{"use strict";var t=e.i(91788);e.s(["default",0,(e,r)=>{let[n,i]=(0,t.useState)(()=>{try{if(window.localStorage){let t=window.localStorage.getItem(e);return t?JSON.parse(t):r}return r}catch(e){return r}});return[n,t=>{try{if(window.localStorage){let r=t instanceof Function?t(n):t;i(r),window.localStorage.setItem(e,JSON.stringify(r))}else console.error("localStorage is not available")}catch(e){console.error(e)}}]}])},77846,e=>{"use strict";var t=e.i(59080);let r=t.gql`
|
|
39
|
-
fragment CountryFragment on Country {
|
|
40
|
-
_id
|
|
41
|
-
isoCode
|
|
42
|
-
isActive
|
|
43
|
-
isBase
|
|
44
|
-
|
|
45
|
-
defaultCurrency {
|
|
46
|
-
_id
|
|
47
|
-
isoCode
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
`;e.s(["default",0,r])},98520,e=>{"use strict";var t=e.i(59080),r=e.i(32171),n=e.i(77846);let i=t.gql`
|
|
51
|
-
query Countries(
|
|
52
|
-
$queryString: String
|
|
53
|
-
$limit: Int
|
|
54
|
-
$offset: Int
|
|
55
|
-
$includeInactive: Boolean
|
|
56
|
-
$sort: [SortOptionInput!]
|
|
57
|
-
) {
|
|
58
|
-
countries(
|
|
59
|
-
queryString: $queryString
|
|
60
|
-
limit: $limit
|
|
61
|
-
offset: $offset
|
|
62
|
-
includeInactive: $includeInactive
|
|
63
|
-
sort: $sort
|
|
64
|
-
) {
|
|
65
|
-
...CountryFragment
|
|
66
|
-
}
|
|
67
|
-
countriesCount(includeInactive: $includeInactive, queryString: $queryString)
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
${n.default}
|
|
71
|
-
`;e.s(["default",0,({queryString:e="",limit:t=20,offset:n=0,includeInactive:o=!0,sort:a=[]}={})=>{let{data:l,loading:u,error:s,fetchMore:c}=(0,r.useQuery)(i,{variables:{queryString:e,limit:t,offset:n,includeInactive:o,sort:a}}),d=l?.countries||[],f=l?.countriesCount,g=d?.length<f;return{countries:d,countriesCount:f,hasMore:g,loading:u,error:s,loadMore:()=>{c({variables:{offset:d?.length}})}}}])},95064,e=>{"use strict";var t=e.i(59080);let r=t.gql`
|
|
72
|
-
fragment LanguageFragment on Language {
|
|
73
|
-
_id
|
|
74
|
-
isoCode
|
|
75
|
-
isActive
|
|
76
|
-
isBase
|
|
77
|
-
name
|
|
78
|
-
}
|
|
79
|
-
`;e.s(["default",0,r])},51713,e=>{"use strict";var t=e.i(59080),r=e.i(32171),n=e.i(95064);let i=t.gql`
|
|
80
|
-
query Languages(
|
|
81
|
-
$queryString: String
|
|
82
|
-
$offset: Int
|
|
83
|
-
$limit: Int
|
|
84
|
-
$includeInactive: Boolean
|
|
85
|
-
$sort: [SortOptionInput!]
|
|
86
|
-
) {
|
|
87
|
-
languages(
|
|
88
|
-
queryString: $queryString
|
|
89
|
-
offset: $offset
|
|
90
|
-
limit: $limit
|
|
91
|
-
includeInactive: $includeInactive
|
|
92
|
-
sort: $sort
|
|
93
|
-
) {
|
|
94
|
-
...LanguageFragment
|
|
95
|
-
}
|
|
96
|
-
languagesCount(includeInactive: $includeInactive, queryString: $queryString)
|
|
97
|
-
}
|
|
98
|
-
${n.default}
|
|
99
|
-
`;e.s(["default",0,({queryString:e="",limit:t=20,offset:n=0,includeInactive:o=!0,sort:a=[]}={})=>{let{data:l,loading:u,error:s,fetchMore:c}=(0,r.useQuery)(i,{variables:{queryString:e,limit:t,offset:n,includeInactive:o,sort:a}}),d=l?.languages||[],f=l?.languagesCount,g=d?.length<f;return{languages:d,languagesCount:f,hasMore:g,loading:u,error:s,loadMore:()=>{c({variables:{offset:d?.length}})}}}])},38322,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(["CheckIcon",0,r],38322)},38187,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(["ChevronDownIcon",0,r],38187)},28805,e=>{e.v(t=>Promise.all(["static/chunks/0h0r_q6xa9qr_.js"].map(t=>e.l(t))).then(()=>t(79466)))},48761,e=>{e.v(t=>Promise.all(["static/chunks/2ljoq6sr-g2da.js"].map(t=>e.l(t))).then(()=>t(93594)))},13521,(e,t,r)=>{"use strict";e.i(50461),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ImageConfigContext",{enumerable:!0,get:function(){return o}});let n=e.r(41705)._(e.r(91788)),i=e.r(15125),o=n.default.createContext(i.imageConfigDefault)},15125,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={VALID_LOADERS:function(){return o},imageConfigDefault:function(){return a}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let o=["default","imgix","cloudinary","akamai","custom"],a={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},o=n.useSyncExternalStore,a=n.useRef,l=n.useEffect,u=n.useMemo,s=n.useDebugValue;r.useSyncExternalStoreWithSelector=function(e,t,r,n,c){var d=a(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;var g=o(e,(d=u(function(){function e(e){if(!l){if(l=!0,o=e,e=n(e),void 0!==c&&f.hasValue){var t=f.value;if(c(t,e))return a=t}return a=e}if(t=a,i(o,e))return t;var r=n(e);return void 0!==c&&c(t,r)?(o=e,t):(o=e,a=r)}var o,a,l=!1,u=void 0===r?null:r;return[function(){return e(t())},null===u?void 0:function(){return e(u())}]},[t,r,n,c]))[0],d[1]);return l(function(){f.hasValue=!0,f.value=g},[g]),s(g),g}},19979,(e,t,r)=>{"use strict";e.i(50461),t.exports=e.r(40238)}]);
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
__turbopack_load_page_chunks__("/filters/new", [
|
|
2
|
-
"static/chunks/38b7m-s26ciug.js",
|
|
3
|
-
"static/chunks/36yth4lm03_j8.js",
|
|
4
|
-
"static/chunks/3sktz8258so64.js",
|
|
5
|
-
"static/chunks/0d6_opzy2p6ik.js",
|
|
6
|
-
"static/chunks/38pz7fmyf6ay0.js",
|
|
7
|
-
"static/chunks/06tejx8u1_0kg.js",
|
|
8
|
-
"static/chunks/2hm0mbq0vtqmw.js",
|
|
9
|
-
"static/chunks/2-4ng9fxftmld.js",
|
|
10
|
-
"static/chunks/252jebodi67kg.js",
|
|
11
|
-
"static/chunks/1vx8_u7-f7q8u.js",
|
|
12
|
-
"static/chunks/turbopack-19vr9o5829d-f.js"
|
|
13
|
-
])
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,58656,t=>{"use strict";var e,n=t.i(91398),r=t.i(69322),s=t.i(66773),i=t.i(3828),a=t.i(61494),l=t.i(94724),o=t.i(17644),u=t.i(64591),c=t.i(60193),d=t.i(58971),f=t.i(12197),h=t.i(91788),p={value:()=>{}};function m(){for(var t,e=0,n=arguments.length,r={};e<n;++e){if(!(t=arguments[e]+"")||t in r||/[\s.]/.test(t))throw Error("illegal type: "+t);r[t]=[]}return new _(r)}function _(t){this._=t}function g(t,e,n){for(var r=0,s=t.length;r<s;++r)if(t[r].name===e){t[r]=p,t=t.slice(0,r).concat(t.slice(r+1));break}return null!=n&&t.push({name:e,value:n}),t}function v(){}function y(t){return null==t?v:function(){return this.querySelector(t)}}function x(){return[]}function w(t){return null==t?x:function(){return this.querySelectorAll(t)}}function b(t){return function(){return this.matches(t)}}function A(t){return function(e){return e.matches(t)}}_.prototype=m.prototype={constructor:_,on:function(t,e){var n,r=this._,s=(t+"").trim().split(/^|\s+/).map(function(t){var e="",n=t.indexOf(".");if(n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),t&&!r.hasOwnProperty(t))throw Error("unknown type: "+t);return{type:t,name:e}}),i=-1,a=s.length;if(arguments.length<2){for(;++i<a;)if((n=(t=s[i]).type)&&(n=function(t,e){for(var n,r=0,s=t.length;r<s;++r)if((n=t[r]).name===e)return n.value}(r[n],t.name)))return n;return}if(null!=e&&"function"!=typeof e)throw Error("invalid callback: "+e);for(;++i<a;)if(n=(t=s[i]).type)r[n]=g(r[n],t.name,e);else if(null==e)for(n in r)r[n]=g(r[n],t.name,null);return this},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new _(t)},call:function(t,e){if((n=arguments.length-2)>0)for(var n,r,s=Array(n),i=0;i<n;++i)s[i]=arguments[i+2];if(!this._.hasOwnProperty(t))throw Error("unknown type: "+t);for(r=this._[t],i=0,n=r.length;i<n;++i)r[i].value.apply(e,s)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw Error("unknown type: "+t);for(var r=this._[t],s=0,i=r.length;s<i;++s)r[s].value.apply(e,n)}};var C=Array.prototype.find;function j(){return this.firstElementChild}var k=Array.prototype.filter;function S(){return Array.from(this.children)}function M(t){return Array(t.length)}function E(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function N(t,e,n,r,s,i){for(var a,l=0,o=e.length,u=i.length;l<u;++l)(a=e[l])?(a.__data__=i[l],r[l]=a):n[l]=new E(t,i[l]);for(;l<o;++l)(a=e[l])&&(s[l]=a)}function I(t,e,n,r,s,i,a){var l,o,u,c=new Map,d=e.length,f=i.length,h=Array(d);for(l=0;l<d;++l)(o=e[l])&&(h[l]=u=a.call(o,o.__data__,l,e)+"",c.has(u)?s[l]=o:c.set(u,o));for(l=0;l<f;++l)u=a.call(t,i[l],l,i)+"",(o=c.get(u))?(r[l]=o,o.__data__=i[l],c.delete(u)):n[l]=new E(t,i[l]);for(l=0;l<d;++l)(o=e[l])&&c.get(h[l])===o&&(s[l]=o)}function $(t){return t.__data__}function V(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}E.prototype={constructor:E,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var T="http://www.w3.org/1999/xhtml";let q={svg:"http://www.w3.org/2000/svg",xhtml:T,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function O(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),q.hasOwnProperty(e)?{space:q[e],local:t}:t}function P(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function L(t,e){return t.style.getPropertyValue(e)||P(t).getComputedStyle(t,null).getPropertyValue(e)}function R(t){return t.trim().split(/^|\s+/)}function F(t){return t.classList||new X(t)}function X(t){this._node=t,this._names=R(t.getAttribute("class")||"")}function B(t,e){for(var n=F(t),r=-1,s=e.length;++r<s;)n.add(e[r])}function D(t,e){for(var n=F(t),r=-1,s=e.length;++r<s;)n.remove(e[r])}function K(){this.textContent=""}function Y(){this.innerHTML=""}function z(){this.nextSibling&&this.parentNode.appendChild(this)}function U(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function G(t){var e=O(t);return(e.local?function(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}:function(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===T&&e.documentElement.namespaceURI===T?e.createElement(t):e.createElementNS(n,t)}})(e)}function Q(){return null}function W(){var t=this.parentNode;t&&t.removeChild(this)}function H(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function J(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function Z(t){return function(){var e=this.__on;if(e){for(var n,r=0,s=-1,i=e.length;r<i;++r)(n=e[r],t.type&&n.type!==t.type||n.name!==t.name)?e[++s]=n:this.removeEventListener(n.type,n.listener,n.options);++s?e.length=s:delete this.__on}}}function tt(t,e,n){return function(){var r,s=this.__on,i=function(t){e.call(this,t,this.__data__)};if(s){for(var a=0,l=s.length;a<l;++a)if((r=s[a]).type===t.type&&r.name===t.name){this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=i,r.options=n),r.value=e;return}}this.addEventListener(t.type,i,n),r={type:t.type,name:t.name,value:e,listener:i,options:n},s?s.push(r):this.__on=[r]}}function te(t,e,n){var r=P(t),s=r.CustomEvent;"function"==typeof s?s=new s(e,n):(s=r.document.createEvent("Event"),n?(s.initEvent(e,n.bubbles,n.cancelable),s.detail=n.detail):s.initEvent(e,!1,!1)),t.dispatchEvent(s)}X.prototype={add:function(t){0>this._names.indexOf(t)&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var tn=[null];function tr(t,e){this._groups=t,this._parents=e}function ts(){return new tr([[document.documentElement]],tn)}tr.prototype=ts.prototype={constructor:tr,select:function(t){"function"!=typeof t&&(t=y(t));for(var e=this._groups,n=e.length,r=Array(n),s=0;s<n;++s)for(var i,a,l=e[s],o=l.length,u=r[s]=Array(o),c=0;c<o;++c)(i=l[c])&&(a=t.call(i,i.__data__,c,l))&&("__data__"in i&&(a.__data__=i.__data__),u[c]=a);return new tr(r,this._parents)},selectAll:function(t){if("function"==typeof t){var e;e=t,t=function(){var t;return t=e.apply(this,arguments),null==t?[]:Array.isArray(t)?t:Array.from(t)}}else t=w(t);for(var n=this._groups,r=n.length,s=[],i=[],a=0;a<r;++a)for(var l,o=n[a],u=o.length,c=0;c<u;++c)(l=o[c])&&(s.push(t.call(l,l.__data__,c,o)),i.push(l));return new tr(s,i)},selectChild:function(t){var e;return this.select(null==t?j:(e="function"==typeof t?t:A(t),function(){return C.call(this.children,e)}))},selectChildren:function(t){var e;return this.selectAll(null==t?S:(e="function"==typeof t?t:A(t),function(){return k.call(this.children,e)}))},filter:function(t){"function"!=typeof t&&(t=b(t));for(var e=this._groups,n=e.length,r=Array(n),s=0;s<n;++s)for(var i,a=e[s],l=a.length,o=r[s]=[],u=0;u<l;++u)(i=a[u])&&t.call(i,i.__data__,u,a)&&o.push(i);return new tr(r,this._parents)},data:function(t,e){if(!arguments.length)return Array.from(this,$);var n=e?I:N,r=this._parents,s=this._groups;"function"!=typeof t&&(v=t,t=function(){return v});for(var i=s.length,a=Array(i),l=Array(i),o=Array(i),u=0;u<i;++u){var c=r[u],d=s[u],f=d.length,h="object"==typeof(g=t.call(c,c&&c.__data__,u,r))&&"length"in g?g:Array.from(g),p=h.length,m=l[u]=Array(p),_=a[u]=Array(p);n(c,d,m,_,o[u]=Array(f),h,e);for(var g,v,y,x,w=0,b=0;w<p;++w)if(y=m[w]){for(w>=b&&(b=w+1);!(x=_[b])&&++b<p;);y._next=x||null}}return(a=new tr(a,r))._enter=l,a._exit=o,a},enter:function(){return new tr(this._enter||this._groups.map(M),this._parents)},exit:function(){return new tr(this._exit||this._groups.map(M),this._parents)},join:function(t,e,n){var r=this.enter(),s=this,i=this.exit();return"function"==typeof t?(r=t(r))&&(r=r.selection()):r=r.append(t+""),null!=e&&(s=e(s))&&(s=s.selection()),null==n?i.remove():n(i),r&&s?r.merge(s).order():s},merge:function(t){for(var e=t.selection?t.selection():t,n=this._groups,r=e._groups,s=n.length,i=r.length,a=Math.min(s,i),l=Array(s),o=0;o<a;++o)for(var u,c=n[o],d=r[o],f=c.length,h=l[o]=Array(f),p=0;p<f;++p)(u=c[p]||d[p])&&(h[p]=u);for(;o<s;++o)l[o]=n[o];return new tr(l,this._parents)},selection:function(){return this},order:function(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var r,s=t[e],i=s.length-1,a=s[i];--i>=0;)(r=s[i])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=V);for(var n=this._groups,r=n.length,s=Array(r),i=0;i<r;++i){for(var a,l=n[i],o=l.length,u=s[i]=Array(o),c=0;c<o;++c)(a=l[c])&&(u[c]=a);u.sort(e)}return new tr(s,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],s=0,i=r.length;s<i;++s){var a=r[s];if(a)return a}return null},size:function(){let t=0;for(let e of this)++t;return t},empty:function(){return!this.node()},each:function(t){for(var e=this._groups,n=0,r=e.length;n<r;++n)for(var s,i=e[n],a=0,l=i.length;a<l;++a)(s=i[a])&&t.call(s,s.__data__,a,i);return this},attr:function(t,e){var n=O(t);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==e?n.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}}:"function"==typeof e?n.local?function(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}:function(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}:n.local?function(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}:function(t,e){return function(){this.setAttribute(t,e)}})(n,e))},style:function(t,e,n){return arguments.length>1?this.each((null==e?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof e?function(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}:function(t,e,n){return function(){this.style.setProperty(t,e,n)}})(t,e,null==n?"":n)):L(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?function(t){return function(){delete this[t]}}:"function"==typeof e?function(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}:function(t,e){return function(){this[t]=e}})(t,e)):this.node()[t]},classed:function(t,e){var n=R(t+"");if(arguments.length<2){for(var r=F(this.node()),s=-1,i=n.length;++s<i;)if(!r.contains(n[s]))return!1;return!0}return this.each(("function"==typeof e?function(t,e){return function(){(e.apply(this,arguments)?B:D)(this,t)}}:e?function(t){return function(){B(this,t)}}:function(t){return function(){D(this,t)}})(n,e))},text:function(t){return arguments.length?this.each(null==t?K:("function"==typeof t?function(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}:function(t){return function(){this.textContent=t}})(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?Y:("function"==typeof t?function(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}}:function(t){return function(){this.innerHTML=t}})(t)):this.node().innerHTML},raise:function(){return this.each(z)},lower:function(){return this.each(U)},append:function(t){var e="function"==typeof t?t:G(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})},insert:function(t,e){var n="function"==typeof t?t:G(t),r=null==e?Q:"function"==typeof e?e:y(e);return this.select(function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)})},remove:function(){return this.each(W)},clone:function(t){return this.select(t?J:H)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,e,n){var r,s,i=(t+"").trim().split(/^|\s+/).map(function(t){var e="",n=t.indexOf(".");return n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}),a=i.length;if(arguments.length<2){var l=this.node().__on;if(l){for(var o,u=0,c=l.length;u<c;++u)for(r=0,o=l[u];r<a;++r)if((s=i[r]).type===o.type&&s.name===o.name)return o.value}return}for(l=e?tt:Z,r=0;r<a;++r)this.each(l(i[r],e,n));return this},dispatch:function(t,e){return this.each(("function"==typeof e?function(t,e){return function(){return te(this,t,e.apply(this,arguments))}}:function(t,e){return function(){return te(this,t,e)}})(t,e))},[Symbol.iterator]:function*(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r,s=t[e],i=0,a=s.length;i<a;++i)(r=s[i])&&(yield r)}},t.i(98952);var ti,ta,tl=0,to=0,tu=0,tc=0,td=0,tf=0,th="object"==typeof performance&&performance.now?performance:Date,tp="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function tm(){return td||(tp(t_),td=th.now()+tf)}function t_(){td=0}function tg(){this._call=this._time=this._next=null}function tv(t,e,n){var r=new tg;return r.restart(t,e,n),r}function ty(){td=(tc=th.now())+tf,tl=to=0;try{tm(),++tl;for(var t,e=ti;e;)(t=td-e._time)>=0&&e._call.call(void 0,t),e=e._next;--tl}finally{tl=0,function(){for(var t,e,n=ti,r=1/0;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:ti=e);ta=t,tw(r)}(),td=0}}function tx(){var t=th.now(),e=t-tc;e>1e3&&(tf-=e,tc=t)}function tw(t){!tl&&(to&&(to=clearTimeout(to)),t-td>24?(t<1/0&&(to=setTimeout(ty,t-th.now()-tf)),tu&&(tu=clearInterval(tu))):(tu||(tc=th.now(),tu=setInterval(tx,1e3)),tl=1,tp(ty)))}function tb(t,e,n){var r=new tg;return e=null==e?0:+e,r.restart(n=>{r.stop(),t(n+e)},e,n),r}tg.prototype=tv.prototype={constructor:tg,restart:function(t,e,n){if("function"!=typeof t)throw TypeError("callback is not a function");n=(null==n?tm():+n)+(null==e?0:+e),this._next||ta===this||(ta?ta._next=this:ti=this,ta=this),this._call=t,this._time=n,tw()},stop:function(){this._call&&(this._call=null,this._time=1/0,tw())}};var tA=m("start","end","cancel","interrupt"),tC=[];function tj(t,e,n,r,s,i){var a=t.__transition;if(a){if(n in a)return}else t.__transition={};!function(t,e,n){var r,s=t.__transition;function i(o){var u,c,d,f;if(1!==n.state)return l();for(u in s)if((f=s[u]).name===n.name){if(3===f.state)return tb(i);4===f.state?(f.state=6,f.timer.stop(),f.on.call("interrupt",t,t.__data__,f.index,f.group),delete s[u]):+u<e&&(f.state=6,f.timer.stop(),f.on.call("cancel",t,t.__data__,f.index,f.group),delete s[u])}if(tb(function(){3===n.state&&(n.state=4,n.timer.restart(a,n.delay,n.time),a(o))}),n.state=2,n.on.call("start",t,t.__data__,n.index,n.group),2===n.state){for(n.state=3,r=Array(d=n.tween.length),u=0,c=-1;u<d;++u)(f=n.tween[u].value.call(t,t.__data__,n.index,n.group))&&(r[++c]=f);r.length=c+1}}function a(e){for(var s=e<n.duration?n.ease.call(null,e/n.duration):(n.timer.restart(l),n.state=5,1),i=-1,a=r.length;++i<a;)r[i].call(t,s);5===n.state&&(n.on.call("end",t,t.__data__,n.index,n.group),l())}function l(){for(var r in n.state=6,n.timer.stop(),delete s[e],s)return;delete t.__transition}s[e]=n,n.timer=tv(function(t){n.state=1,n.timer.restart(i,n.delay,n.time),n.delay<=t&&i(t-n.delay)},0,n.time)}(t,n,{name:e,index:r,group:s,on:tA,tween:tC,time:i.time,delay:i.delay,duration:i.duration,ease:i.ease,timer:null,state:0})}function tk(t,e){var n=tM(t,e);if(n.state>0)throw Error("too late; already scheduled");return n}function tS(t,e){var n=tM(t,e);if(n.state>3)throw Error("too late; already running");return n}function tM(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw Error("transition not found");return n}var tE=t.i(11049),tN=180/Math.PI,tI={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function t$(t,e,n,r,s,i){var a,l,o;return(a=Math.sqrt(t*t+e*e))&&(t/=a,e/=a),(o=t*n+e*r)&&(n-=t*o,r-=e*o),(l=Math.sqrt(n*n+r*r))&&(n/=l,r/=l,o/=l),t*r<e*n&&(t=-t,e=-e,o=-o,a=-a),{translateX:s,translateY:i,rotate:Math.atan2(e,t)*tN,skewX:Math.atan(o)*tN,scaleX:a,scaleY:l}}function tV(t,e,n,r){function s(t){return t.length?t.pop()+" ":""}return function(i,a){var l,o,u,c,d=[],f=[];return i=t(i),a=t(a),!function(t,r,s,i,a,l){if(t!==s||r!==i){var o=a.push("translate(",null,e,null,n);l.push({i:o-4,x:(0,tE.default)(t,s)},{i:o-2,x:(0,tE.default)(r,i)})}else(s||i)&&a.push("translate("+s+e+i+n)}(i.translateX,i.translateY,a.translateX,a.translateY,d,f),l=i.rotate,o=a.rotate,l!==o?(l-o>180?o+=360:o-l>180&&(l+=360),f.push({i:d.push(s(d)+"rotate(",null,r)-2,x:(0,tE.default)(l,o)})):o&&d.push(s(d)+"rotate("+o+r),u=i.skewX,c=a.skewX,u!==c?f.push({i:d.push(s(d)+"skewX(",null,r)-2,x:(0,tE.default)(u,c)}):c&&d.push(s(d)+"skewX("+c+r),!function(t,e,n,r,i,a){if(t!==n||e!==r){var l=i.push(s(i)+"scale(",null,",",null,")");a.push({i:l-4,x:(0,tE.default)(t,n)},{i:l-2,x:(0,tE.default)(e,r)})}else(1!==n||1!==r)&&i.push(s(i)+"scale("+n+","+r+")")}(i.scaleX,i.scaleY,a.scaleX,a.scaleY,d,f),i=a=null,function(t){for(var e,n=-1,r=f.length;++n<r;)d[(e=f[n]).i]=e.x(t);return d.join("")}}}var tT=tV(function(t){let e=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?tI:t$(e.a,e.b,e.c,e.d,e.e,e.f)},"px, ","px)","deg)"),tq=tV(function(t){return null==t?tI:(e||(e=document.createElementNS("http://www.w3.org/2000/svg","g")),e.setAttribute("transform",t),t=e.transform.baseVal.consolidate())?t$((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):tI},", ",")",")");function tO(t,e,n){var r=t._id;return t.each(function(){var t=tS(this,r);(t.value||(t.value={}))[e]=n.apply(this,arguments)}),function(t){return tM(t,r).value[e]}}var tP=t.i(19903),tL=t.i(25369),tR=t.i(47672),tR=tR,tF=t.i(74037),tF=tF;function tX(t,e){var n;return("number"==typeof e?tL.interpolateNumber:e instanceof tP.color?tR.default:(n=(0,tP.color)(e))?(e=n,tR.default):tF.default)(t,e)}var tB=ts.prototype.constructor;function tD(t){return function(){this.style.removeProperty(t)}}var tK=0;function tY(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}var tz=ts.prototype;tY.prototype=(function(t){return ts().transition(t)}).prototype={constructor:tY,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=y(t));for(var r=this._groups,s=r.length,i=Array(s),a=0;a<s;++a)for(var l,o,u=r[a],c=u.length,d=i[a]=Array(c),f=0;f<c;++f)(l=u[f])&&(o=t.call(l,l.__data__,f,u))&&("__data__"in l&&(o.__data__=l.__data__),d[f]=o,tj(d[f],e,n,f,d,tM(l,n)));return new tY(i,this._parents,e,n)},selectAll:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=w(t));for(var r=this._groups,s=r.length,i=[],a=[],l=0;l<s;++l)for(var o,u=r[l],c=u.length,d=0;d<c;++d)if(o=u[d]){for(var f,h=t.call(o,o.__data__,d,u),p=tM(o,n),m=0,_=h.length;m<_;++m)(f=h[m])&&tj(f,e,n,m,h,p);i.push(h),a.push(o)}return new tY(i,a,e,n)},selectChild:tz.selectChild,selectChildren:tz.selectChildren,filter:function(t){"function"!=typeof t&&(t=b(t));for(var e=this._groups,n=e.length,r=Array(n),s=0;s<n;++s)for(var i,a=e[s],l=a.length,o=r[s]=[],u=0;u<l;++u)(i=a[u])&&t.call(i,i.__data__,u,a)&&o.push(i);return new tY(r,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw Error();for(var e=this._groups,n=t._groups,r=e.length,s=n.length,i=Math.min(r,s),a=Array(r),l=0;l<i;++l)for(var o,u=e[l],c=n[l],d=u.length,f=a[l]=Array(d),h=0;h<d;++h)(o=u[h]||c[h])&&(f[h]=o);for(;l<r;++l)a[l]=e[l];return new tY(a,this._parents,this._name,this._id)},selection:function(){return new tB(this._groups,this._parents)},transition:function(){for(var t=this._name,e=this._id,n=++tK,r=this._groups,s=r.length,i=0;i<s;++i)for(var a,l=r[i],o=l.length,u=0;u<o;++u)if(a=l[u]){var c=tM(a,e);tj(a,t,n,u,l,{time:c.time+c.delay+c.duration,delay:0,duration:c.duration,ease:c.ease})}return new tY(r,this._parents,t,n)},call:tz.call,nodes:tz.nodes,node:tz.node,size:tz.size,empty:tz.empty,each:tz.each,on:function(t,e){var n,r,s,i,a,l,o=this._id;return arguments.length<2?tM(this.node(),o).on.on(t):this.each((n=o,r=t,s=e,l=(r+"").trim().split(/^|\s+/).every(function(t){var e=t.indexOf(".");return e>=0&&(t=t.slice(0,e)),!t||"start"===t})?tk:tS,function(){var t=l(this,n),e=t.on;e!==i&&(a=(i=e).copy()).on(r,s),t.on=a}))},attr:function(t,e){var n=O(t),r="transform"===n?tq:tX;return this.attrTween(t,"function"==typeof e?(n.local?function(t,e,n){var r,s,i;return function(){var a,l,o=n(this);return null==o?void this.removeAttributeNS(t.space,t.local):(a=this.getAttributeNS(t.space,t.local))===(l=o+"")?null:a===r&&l===s?i:(s=l,i=e(r=a,o))}}:function(t,e,n){var r,s,i;return function(){var a,l,o=n(this);return null==o?void this.removeAttribute(t):(a=this.getAttribute(t))===(l=o+"")?null:a===r&&l===s?i:(s=l,i=e(r=a,o))}})(n,r,tO(this,"attr."+t,e)):null==e?(n.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}})(n):(n.local?function(t,e,n){var r,s,i=n+"";return function(){var a=this.getAttributeNS(t.space,t.local);return a===i?null:a===r?s:s=e(r=a,n)}}:function(t,e,n){var r,s,i=n+"";return function(){var a=this.getAttribute(t);return a===i?null:a===r?s:s=e(r=a,n)}})(n,r,e))},attrTween:function(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==e)return this.tween(n,null);if("function"!=typeof e)throw Error();var r=O(t);return this.tween(n,(r.local?function(t,e){var n,r;function s(){var s=e.apply(this,arguments);return s!==r&&(n=(r=s)&&function(e){this.setAttributeNS(t.space,t.local,s.call(this,e))}),n}return s._value=e,s}:function(t,e){var n,r;function s(){var s=e.apply(this,arguments);return s!==r&&(n=(r=s)&&function(e){this.setAttribute(t,s.call(this,e))}),n}return s._value=e,s})(r,e))},style:function(t,e,n){var r,s,i,a,l,o,u,c,d,f,h,p,m,_,g,v,y,x,w,b,A,C="transform"==(t+="")?tT:tX;return null==e?this.styleTween(t,(r=t,function(){var t=L(this,r),e=(this.style.removeProperty(r),L(this,r));return t===e?null:t===s&&e===i?a:a=C(s=t,i=e)})).on("end.style."+t,tD(t)):"function"==typeof e?this.styleTween(t,(l=t,o=tO(this,"style."+t,e),function(){var t=L(this,l),e=o(this),n=e+"";return null==e&&(this.style.removeProperty(l),n=e=L(this,l)),t===n?null:t===u&&n===c?d:(c=n,d=C(u=t,e))})).each((f=this._id,y="end."+(v="style."+(h=t)),function(){var t=tS(this,f),e=t.on,n=null==t.value[v]?g||(g=tD(h)):void 0;(e!==p||_!==n)&&(m=(p=e).copy()).on(y,_=n),t.on=m})):this.styleTween(t,(x=t,A=e+"",function(){var t=L(this,x);return t===A?null:t===w?b:b=C(w=t,e)}),n).on("end.style."+t,null)},styleTween:function(t,e,n){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==e)return this.tween(r,null);if("function"!=typeof e)throw Error();return this.tween(r,function(t,e,n){var r,s;function i(){var i=e.apply(this,arguments);return i!==s&&(r=(s=i)&&function(e){this.style.setProperty(t,i.call(this,e),n)}),r}return i._value=e,i}(t,e,null==n?"":n))},text:function(t){var e,n;return this.tween("text","function"==typeof t?(e=tO(this,"text",t),function(){var t=e(this);this.textContent=null==t?"":t}):(n=null==t?"":t+"",function(){this.textContent=n}))},textTween:function(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(null==t)return this.tween(e,null);if("function"!=typeof t)throw Error();return this.tween(e,function(t){var e,n;function r(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&function(t){this.textContent=r.call(this,t)}),e}return r._value=t,r}(t))},remove:function(){var t;return this.on("end.remove",(t=this._id,function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}))},tween:function(t,e){var n=this._id;if(t+="",arguments.length<2){for(var r,s=tM(this.node(),n).tween,i=0,a=s.length;i<a;++i)if((r=s[i]).name===t)return r.value;return null}return this.each((null==e?function(t,e){var n,r;return function(){var s=tS(this,t),i=s.tween;if(i!==n){r=n=i;for(var a=0,l=r.length;a<l;++a)if(r[a].name===e){(r=r.slice()).splice(a,1);break}}s.tween=r}}:function(t,e,n){var r,s;if("function"!=typeof n)throw Error();return function(){var i=tS(this,t),a=i.tween;if(a!==r){s=(r=a).slice();for(var l={name:e,value:n},o=0,u=s.length;o<u;++o)if(s[o].name===e){s[o]=l;break}o===u&&s.push(l)}i.tween=s}})(n,t,e))},delay:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?function(t,e){return function(){tk(this,t).delay=+e.apply(this,arguments)}}:function(t,e){return e*=1,function(){tk(this,t).delay=e}})(e,t)):tM(this.node(),e).delay},duration:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?function(t,e){return function(){tS(this,t).duration=+e.apply(this,arguments)}}:function(t,e){return e*=1,function(){tS(this,t).duration=e}})(e,t)):tM(this.node(),e).duration},ease:function(t){var e=this._id;return arguments.length?this.each(function(t,e){if("function"!=typeof e)throw Error();return function(){tS(this,t).ease=e}}(e,t)):tM(this.node(),e).ease},easeVarying:function(t){var e;if("function"!=typeof t)throw Error();return this.each((e=this._id,function(){var n=t.apply(this,arguments);if("function"!=typeof n)throw Error();tS(this,e).ease=n}))},end:function(){var t,e,n=this,r=n._id,s=n.size();return new Promise(function(i,a){var l={value:a},o={value:function(){0==--s&&i()}};n.each(function(){var n=tS(this,r),s=n.on;s!==t&&((e=(t=s).copy())._.cancel.push(l),e._.interrupt.push(l),e._.end.push(o)),n.on=e}),0===s&&i()})},[Symbol.iterator]:tz[Symbol.iterator]};var tU={time:null,delay:0,duration:250,ease:function(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}};ts.prototype.interrupt=function(t){return this.each(function(){!function(t,e){var n,r,s,i=t.__transition,a=!0;if(i){for(s in e=null==e?null:e+"",i){if((n=i[s]).name!==e){a=!1;continue}r=n.state>2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete i[s]}a&&delete t.__transition}}(this,t)})},ts.prototype.transition=function(t){var e,n;t instanceof tY?(e=t._id,t=t._name):(e=++tK,(n=tU).time=tm(),t=null==t?null:t+"");for(var r=this._groups,s=r.length,i=0;i<s;++i)for(var a,l=r[i],o=l.length,u=0;u<o;++u)(a=l[u])&&tj(a,t,e,u,l,n||function(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))throw Error(`transition ${e} not found`);return n}(a,e));return new tY(r,this._parents,t,e)};let{abs:tG,max:tQ,min:tW}=Math;function tH(t){return{type:t}}function tJ(t){return((t=Math.exp(t))+1/t)/2}function tZ(t,e,n){this.k=t,this.x=e,this.y=n}["w","e"].map(tH),["n","s"].map(tH),["n","w","e","s","nw","ne","sw","se"].map(tH),!function t(e,n,r){function s(t,s){var i,a,l=t[0],o=t[1],u=t[2],c=s[0],d=s[1],f=s[2],h=c-l,p=d-o,m=h*h+p*p;if(m<1e-12)a=Math.log(f/u)/e,i=function(t){return[l+t*h,o+t*p,u*Math.exp(e*t*a)]};else{var _=Math.sqrt(m),g=(f*f-u*u+r*m)/(2*u*n*_),v=(f*f-u*u-r*m)/(2*f*n*_),y=Math.log(Math.sqrt(g*g+1)-g);a=(Math.log(Math.sqrt(v*v+1)-v)-y)/e,i=function(t){var r,s,i=t*a,c=tJ(y),d=u/(n*_)*(c*(((r=Math.exp(2*(r=e*i+y)))-1)/(r+1))-((s=Math.exp(s=y))-1/s)/2);return[l+d*h,o+d*p,u*c/tJ(e*i+y)]}}return i.duration=1e3*a*e/Math.SQRT2,i}return s.rho=function(e){var n=Math.max(.001,+e),r=n*n;return t(n,r,r*r)},s}(Math.SQRT2,2,4),tZ.prototype={constructor:tZ,scale:function(t){return 1===t?this:new tZ(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new tZ(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};new tZ(1,0,0);tZ.prototype;var t0=t.i(28120),t0=t0;let t1=function(t){for(var e=t.length/6|0,n=Array(e),r=0;r<e;)n[r]="#"+t.slice(6*r,6*++r);return n}("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666");var t2=t.i(13938),t6=t.i(41158),t9=t.i(28917),t9=t9,t5=t.i(59015),t5=t5,t3=t.i(31599),t3=t3,t4=t.i(65153),t8=t.i(1880);let t7=(0,t0.default)(t1),et=({data:t,options:e={}})=>{let{formatMessage:s}=(0,r.useIntl)(),a=(0,i.useRouter)(),l=((t,e={})=>{t.forEach((t,e)=>t.forEach(t=>{t.level=e}));let n=t.reduce((t,e)=>t.concat(e),[]),r={};n.forEach(t=>{r[t.id]=t}),n.forEach(t=>{t.parents=(void 0===t.parents?[]:t.parents).map(t=>r[t])}),t.forEach((t,e)=>{let n={};t.forEach(t=>{if(0===t.parents.length)return;let r=t.parents.filter(Boolean).map(t=>t.id).sort().join("-X-");r in n?n[r].parents=n[r].parents.concat(t.parents):n[r]={id:r,parents:t.parents.slice(),level:e,span:e-(0,t9.default)(t.parents,t=>t?.level)},t.bundle=n[r]}),t.bundles=Object.keys(n).map(t=>n[t]),t.bundles.forEach((t,e)=>{t.i=e})});let s=[];n.forEach(t=>{t.parents.forEach(e=>s.push({source:t,bundle:t.bundle,target:e}))});let i=t.reduce((t,e)=>t.concat(e.bundles),[]);(i||[]).forEach(t=>t.parents.filter(Boolean).forEach(e=>{e?.bundles_index===void 0&&(e.bundles_index={}),t.id in(e?.bundles_index||[])||(e.bundles_index[t.id]=[]),e.bundles_index[t.id].push(t)})),n.forEach(t=>{void 0!==t.bundles_index?t.bundles=Object.keys(t.bundles_index).map(e=>t.bundles_index[e]):(t.bundles_index={},t.bundles=[]),t.bundles.sort((t,e)=>(0,t3.default)((0,t5.default)(t,t=>t.span),(0,t5.default)(e,t=>t.span))),t.bundles.forEach((t,e)=>{t.i=e})}),s.forEach(t=>{void 0===t.bundle.links&&(t.bundle.links=[]),t.bundle.links.push(t)}),e.c||=16;let{c:a}=e;e.bigc||=100+a,n.forEach(t=>t.height=(Math.max(1,t.bundles.length)-1)*4);let l=8,o=8;t.forEach(t=>{l+=14*t.bundles.length,o+=16,t.forEach(t=>{t.x=100*t.level+l,t.y=30+o+t.height/2,o+=30+t.height})});let u=0;t.forEach(t=>{t.bundles.filter(Boolean).forEach(e=>{e.x=(0,t5.default)(e.parents,t=>t?.x)+100+(t.bundles.length-1-e.i)*14,e.y=30*u}),u+=t.length}),s.forEach(t=>{t.xt=t.target.x,t.yt=t.target.y+4*t.target.bundles_index[t.bundle.id].i-4*t.target.bundles.length/2+2,t.xb=t.bundle.x,t.yb=t.bundle.y,t.xs=t.source.x,t.ys=t.source.y});let c=0;t.forEach(t=>{c+=-22+(0,t9.default)(t.bundles,t=>(0,t9.default)(t.links,t=>t.ys-2*a-(t.yt+a)))||0,t.forEach(t=>t.y-=c)}),s.forEach(t=>{t.yt=t.target.y+4*t.target.bundles_index[t.bundle.id].i-4*t.target.bundles.length/2+2,t.ys=t.source.y,t.c1=t.source.level-t.target.level>1?Math.min(e.bigc,t.xb-t.xt,t.yb-t.yt)-a:a,t.c2=a});let d={width:(0,t5.default)(n,t=>t.x)+100+16,height:(0,t5.default)(n,t=>t.y)+15+16,node_height:30,node_width:100,bundle_width:14,level_y_padding:16,metro_d:4};return{levels:t,nodes:n,nodes_index:r,links:s,bundles:i,layout:d}})(t,e);return e.color||=(t,e)=>t7(e),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{className:"absolute top-2 left-8",children:(0,n.jsx)("button",{type:"button",className:"inline-flex items-center justify-center px-2 py-2 hover:bg-amber-100 dark:hover:bg-yellow-700 rounded-full focus:outline-hidden focus:ring-2 focus:ring-offset-2 focus:ring-yellow-600 dark:focus:ring-yellow-500",onClick:()=>a.back(),children:(0,n.jsx)(t2.ArrowLeftIcon,{className:"h-6 w-6 text-teal-600 hover:text-teal-800"})})}),(0,n.jsxs)("svg",{id:"tangle-tree",width:"100%",height:`${l.layout.height+6}`,className:"fill-transparent pt-2 mx-10 w-full",children:[l.bundles.map((t,r)=>{let s=t.links.map(t=>`
|
|
2
|
-
M${t.xt} ${t.yt}
|
|
3
|
-
L${t.xb-t.c1} ${t.yt}
|
|
4
|
-
A${t.c1} ${t.c1} 90 0 1 ${t.xb} ${t.yt+t.c1}
|
|
5
|
-
L${t.xb} ${t.ys-t.c2}
|
|
6
|
-
A${t.c2} ${t.c2} 90 0 0 ${t.xb+t.c2} ${t.ys}
|
|
7
|
-
L${t.xs} ${t.ys}`).join("");return(0,n.jsxs)(h.Fragment,{children:[(0,n.jsx)("path",{className:"link stroke-white dark:stroke-slate-600",d:`${s}`,strokeWidth:"5"}),(0,n.jsx)("path",{className:"link",d:`${s}`,stroke:`${e.color(t,r)}`,strokeWidth:"2"})]},s)}),l.nodes.map((t,e)=>(0,n.jsxs)(h.Fragment,{children:[(0,n.jsx)("path",{className:"selectable node","data-id":`${t.id}`,stroke:"black",strokeWidth:"8",d:`M${t.x} ${t.y-t.height/2} L${t.x} ${t.y+t.height/2}`}),(0,n.jsx)("path",{className:"node",stroke:"white",strokeWidth:"4",d:`M${t.x} ${t.y-t.height/2} L${t.x} ${t.y+t.height/2}`}),(0,n.jsx)("foreignObject",{"data-id":`${t.id}`,x:`${t.x+4}`,y:`${t.y-t.height/2-4}`,width:"100%",height:"100%",children:(0,n.jsxs)("div",{children:[(0,n.jsx)(t6.default,{href:`/assortments?assortmentSlug=${(0,t8.default)({_id:t?.id,texts:t})}`,className:'className="selectable text-slate-950 hover:text-slate-950 dark:text-lime-400 dark:hover:text-lime-500 text-base',id:"root",children:t?.title}),t?.childCount!==void 0&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t6.default,{href:`/assortments?viewGraph=true&slug=${(0,t8.default)({_id:t?.id,texts:t})}`,className:"text-slate-900 dark:text-fuchsia-400 dark:hover:text-fuchsia-600 ml-2 inline-flex items-center px-4 border border-slate-300 shadow-xs text-sm font-medium rounded-md bg-white dark:bg-slate-500 hover:bg-slate-50 dark:hover:bg-slate-400 focus:outline-hidden focus:ring-2 focus:ring-offset-2 focus:ring-slate-900",children:s({id:"children",defaultMessage:"Children:"})}),(0,n.jsx)(t4.default,{text:t?.childCount,color:"purple",className:"inline-block mx-2 dark:bg-slate-500 dark:text-purple-400"})]})]})})]},`${t.id}+${e}`))]})]})},ee=({assortments:t})=>(0,n.jsx)("div",{className:"relative w-full h-max rounded-lg bg-white dark:shadow-none dark:bg-slate-900 text-slate-900 dark:text-slate-200",children:(0,n.jsx)(et,{data:[t?.map(t=>({id:t?._id,slug:t?.texts.slug,title:t?.texts.title,subtitle:t?.texts.subtitle})),t?.map(t=>t?.children?.map(e=>({id:e?._id,slug:e?.texts.slug,title:e?.texts.title,subtitle:e?.texts.subtitle,childCount:e?.childrenCount,parents:[t?._id]})))?.flat()].filter(Boolean)})});var en=t.i(59080),er=t.i(32171);let es=en.gql`
|
|
8
|
-
fragment AssortmentChildrenFragment on Assortment {
|
|
9
|
-
_id
|
|
10
|
-
texts {
|
|
11
|
-
_id
|
|
12
|
-
slug
|
|
13
|
-
title
|
|
14
|
-
subtitle
|
|
15
|
-
}
|
|
16
|
-
childrenCount
|
|
17
|
-
}
|
|
18
|
-
`,ei=en.gql`
|
|
19
|
-
query AssortmentChildren(
|
|
20
|
-
$slugs: [String!]
|
|
21
|
-
$includeInactive: Boolean
|
|
22
|
-
$includeLeaves: Boolean
|
|
23
|
-
) {
|
|
24
|
-
assortments(
|
|
25
|
-
slugs: $slugs
|
|
26
|
-
includeInactive: $includeInactive
|
|
27
|
-
includeLeaves: $includeLeaves
|
|
28
|
-
) {
|
|
29
|
-
...AssortmentChildrenFragment
|
|
30
|
-
children {
|
|
31
|
-
...AssortmentChildrenFragment
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
${es}
|
|
36
|
-
`;var ea=t.i(57561);let el=({options:t})=>{let{includeInactive:e,slug:r}=t,{selectedLocale:s}=(0,ea.default)(),{assortments:i,loading:a}=(({slugs:t,includeInactive:e=!1,includeLeaves:n=!1,forceLocale:r})=>{let s=t?.map(t=>(0,t8.parseSlug)(t)),{data:i,loading:a,error:l}=(0,er.useQuery)(ei,{variables:{slugs:s,includeInactive:e,includeLeaves:n},context:{headers:{forceLocale:r}}});return{assortments:i?.assortments||[],loading:a,error:l}})({slugs:r?[r].filter(Boolean):null,includeInactive:e,includeLeaves:!!r,forceLocale:s});return(0,n.jsx)("div",{className:"mt-5",children:a?(0,n.jsx)(f.default,{}):(0,n.jsx)(ee,{assortments:i})})};var eo=t.i(78704),eu=t.i(83147),ec=t.i(37547),ed=t.i(8918),ef=t.i(77043),eh=t.i(3095),ep=t.i(6607),em=t.i(15971),e_=t.i(921),eg=t.i(75818);let ev=({assortment:t,showAvatar:e})=>{let{formatMessage:a}=(0,r.useIntl)(),l=(0,i.useRouter)(),{hasRole:o}=(0,d.default)(),{setModal:u}=(0,ep.default)(),{updateAssortment:c}=(0,e_.default)(),{removeAssortment:f}=(0,eg.default)(),h={true:a({id:"active",defaultMessage:"Active"}),false:a({id:"in_active",defaultMessage:"In-Active"})},p=async()=>{await u((0,n.jsx)(em.default,{onCancelClick:async()=>u(""),message:a({id:"delete_assortment_warning",defaultMessage:"This action will permanently delete this assortment and all associated data. Are you sure you want to continue?"}),onOkClick:async()=>{u(""),await f({assortmentId:t._id})},okText:a({id:"delete_assortment",defaultMessage:"Delete Assortment"})}))},m=async e=>{e.target.value&&await c({assortmentId:t?._id,assortment:{sequence:parseInt(e.target.value,10)}})};return(0,n.jsxs)(ed.default.Row,{children:[(0,n.jsx)(ed.default.Cell,{className:"whitespace-nowrap",children:(0,n.jsxs)("div",{className:"flex items-center text-sm text-slate-900",children:[e&&(0,n.jsx)(ef.default,{file:t?.media?.length&&t.media[0].file,className:"mr-3"}),(0,n.jsx)(t6.default,{href:`/assortments?assortmentSlug=${(0,t8.default)(t)}`,className:"text-slate-900 dark:text-slate-300",children:t?.texts?.title||(0,n.jsxs)(n.Fragment,{children:[t._id," ",(0,n.jsx)(t4.default,{color:"blue",text:a({id:"name",defaultMessage:"Name"})})]})})]})}),(0,n.jsx)(ed.default.Cell,{className:"whitespace-nowrap",children:(0,n.jsx)(t4.default,{text:h[t.isActive],color:t.isActive?"emerald":"yellow",square:!0})}),(0,n.jsx)(ed.default.Cell,{className:"whitespace-nowrap",children:(0,n.jsx)("div",{className:"flex items-center text-sm text-slate-900",children:t.isRoot&&(0,n.jsx)(t4.default,{text:a({id:"root_assortment",defaultMessage:"Root"}),color:"stone",square:!0})})}),(0,n.jsx)(ed.default.Cell,{children:(0,n.jsx)("input",{type:"number",id:`${t._id}-sequence`,className:"text-center w-16 shadow-xs focus:ring-slate-900 dark:bg-slate-800 dark:border-slate-700 focus:border-slate-900 block text-sm border-slate-300 rounded-md mr-2 font-semibold text-slate-900 dark:text-slate-300",defaultValue:t?.sequence,onBlur:m,disabled:!o(s.IRoleAction.ManageAssortments)})}),(0,n.jsx)(ed.default.Cell,{className:"text-right",children:(0,n.jsx)(eh.default,{onEdit:()=>{l.push(`/assortments?assortmentSlug=${(0,t8.default)(t)}`)},onDelete:p,showEdit:!0,showDelete:o(s.IRoleAction.ManageAssortments)})})]})},ey=({assortments:t,showAvatar:e=!0,sortable:s})=>{let{formatMessage:i}=(0,r.useIntl)();return(0,n.jsxs)(ed.default,{className:"min-w-full",children:[t?.map(t=>(0,n.jsxs)(ed.default.Row,{header:!0,enablesort:s,children:[(0,n.jsx)(ed.default.Cell,{children:i({id:"name",defaultMessage:"Name"})}),(0,n.jsx)(ed.default.Cell,{sortKey:"isActive",children:i({id:"active",defaultMessage:"Active"})}),(0,n.jsx)(ed.default.Cell,{sortKey:"isRoot",children:i({id:"root",defaultMessage:"Root"})}),(0,n.jsx)(ed.default.Cell,{sortKey:"sequence",defaultSortDirection:"ASC",children:i({id:"sequence",defaultMessage:"Display Order"})}),(0,n.jsx)(ed.default.Cell,{children:" "})]},t._id)),t?.map(t=>(0,n.jsx)(ev,{showAvatar:e,assortment:t},`${t?._id}-body`))]})},ex=({options:t,queryString:e,sortable:r})=>{let{includeInactive:s,includeLeaves:i,limit:a,offset:l,tags:o,slug:u,sort:c}=t,{selectedLocale:d}=(0,ea.default)(),h=(0,eu.convertSortFieldsToQueryFormat)(c),{assortments:p,loading:m,loadMore:_,hasMore:g}=(0,ec.default)({queryString:e,includeInactive:s,includeLeaves:i,limit:a,offset:l,tags:o,slugs:u,sort:h,forceLocale:d});return m&&p?.length===0?(0,n.jsx)(f.default,{}):(0,n.jsx)(eo.default,{loading:m,hasMore:g,onLoadMore:_,children:(0,n.jsx)(ey,{assortments:p,sortable:r})})};var ew=t.i(51128),eb=t.i(89462),eA=t.i(98568),eC=t.i(11056),ej=t.i(74954),ek=t.i(81013),eS=t.i(60513);let eM=["_id","isActive","isRoot","sequence","tags"],eE=["title","subtitle","description","slug"],eN=["_id","assortmentId","filterId","tags","sortKey"],eI=["_id","assortmentId","productId","tags","sortKey"],e$=["_id","assortmentId","childAssortmentId","tags","sortKey"];var eV=t.i(75284);let eT=({includeInactive:t,includeLeaves:e,queryString:s,tags:i})=>{let{setModal:a}=(0,ep.default)(),{assortmentsCount:l,loading:o}=(0,eb.default)({queryString:s,includeInactive:t,includeLeaves:e,tags:i}),{exportAssortments:u,isExporting:c}=(()=>{let{exportCSV:t,isExporting:e}=(0,eS.useCSVExport)();return{exportAssortments:(0,h.useCallback)(async e=>{await t({type:"ASSORTMENTS",...e})},[t]),isExporting:e}})(),{formatMessage:d}=(0,r.useIntl)(),f=[{key:"exportAssortments",label:d({id:"assortments",defaultMessage:"Assortments"}),defaultChecked:!0},{key:"exportProducts",label:d({id:"assortment_products",defaultMessage:"Assortment products"}),defaultChecked:!0},{key:"exportLinks",label:d({id:"assortment_links",defaultMessage:"Assortment links"}),defaultChecked:!0},{key:"exportFilters",label:d({id:"assortment_filters",defaultMessage:"Assortment filters"}),defaultChecked:!0}],p=(0,h.useCallback)(async n=>{await u({queryString:s,includeInactive:t,includeLeaves:e,tags:i,...n}),a(null)},[s,t,e,i,u,a]);return o?null:(0,n.jsx)(ek.default,{onClick:()=>{a((0,n.jsx)(eV.default,{options:f,onSubmit:p,loading:c}))},disabled:c||!l,variant:"secondary",text:d(c?{id:"exporting",defaultMessage:"Exporting..."}:{id:"export",defaultMessage:"Export"})})};var eq=t.i(78193),eO=t.i(42912),eP=t.i(22003);let eL=t=>{let e={};return Object.entries(t).forEach(([t,n])=>{if(!t.startsWith("texts."))return;let[,r,s]=t.split(".");e[r]||={},e[r][s]=n||""}),Object.keys(e).forEach(t=>{Object.values(e[t]).every(t=>!t)||delete e[t]}),Object.keys(e).length?e:null},eR=({assortmentCSV:t,assortmentChildrenCSV:e,assortmentFiltersCSV:n,assortmentProductsCSV:r},s)=>{let i=[];for(let e of t)eL(e)||i.push(s.formatMessage({id:"assortment_import_localized_texts_missing",defaultMessage:"Title is required"}));for(let t of e)t.assortmentId||i.push(s.formatMessage({id:"assortment_children_CSV_import_assortment_id_missing",defaultMessage:"Child csv record missing assortmentId"})),t.childAssortmentId||i.push(s.formatMessage({id:"assortment_children_CSV_import_child_id_missing",defaultMessage:"Child csv record missing childAssortmentId"}));for(let t of n)t.assortmentId||i.push(s.formatMessage({id:"assortment_filter_CSV_import_assortment_id_missing",defaultMessage:"Assortment filter csv record missing assortmentId"})),t.filterId||i.push(s.formatMessage({id:"assortment_filter_CSV_import_filter_id_missing",defaultMessage:"Assortment filter csv record missing filterId"}));for(let t of r)t.assortmentId||i.push(s.formatMessage({id:"assortment_product_CSV_import_assortment_id_missing",defaultMessage:"Product csv record missing assortmentId"})),t.productId||i.push(s.formatMessage({id:"assortment_product_CSV_import_product_id_missing",defaultMessage:"Product csv record missing productId"}));return i};var eF=t.i(72552),eX=t.i(16785);let eB={assortmentCSV:eM,assortmentChildrenCSV:e$,assortmentFiltersCSV:eN,assortmentProductsCSV:eI},eD=({onImport:t})=>{let e=(0,h.useRef)({}),{languageDialectList:s}=(0,ea.default)(),i=s?.map(t=>t.isoCode)||[],[a,l]=(0,h.useState)({}),[o,u]=(0,h.useState)({assortmentCSV:[],assortmentProductsCSV:[],assortmentChildrenCSV:[],assortmentFiltersCSV:[]}),[c,d]=(0,h.useState)(!1),{formatMessage:f}=(0,r.useIntl)(),p=[{key:"assortmentCSV",label:f({id:"assortment_csv_file",defaultMessage:"Assortments CSV"})},{key:"assortmentProductsCSV",label:f({id:"assortment_products_csv_file",defaultMessage:"Assortment products CSV (Optional)"}),optional:!0},{key:"assortmentChildrenCSV",label:f({id:"assortment_children_csv_file",defaultMessage:"Assortment children CSV (Optional)"}),optional:!0},{key:"assortmentFiltersCSV",label:f({id:"assortment_filters_csv_file",defaultMessage:"Assortment filters CSV (Optional)"}),optional:!0}],m=async t=>{let e=await t.text();return eF.default.parse(e,{header:!0,skipEmptyLines:!0}).data},_=async(t,e)=>{if(!e)return;let n=await m(e);((t,e)=>{if(!e.length)return!1;let n=Object.keys(e[0]),r=eB[t].filter(t=>!n.includes(t));return r.length?(l(e=>({...e,[t]:f({id:"csv_missing_fields",defaultMessage:"Missing required columns: {fields}"},{fields:r.join(", ")})})),!1):(l(e=>({...e,[t]:void 0})),!0)})(t,n)?u(e=>({...e,[t]:n})):u(e=>({...e,[t]:[]}))},g=async(t,e)=>{let n=t.target.files?.[0];await _(e,n),t.target.value=""},v=(0,h.useCallback)(async()=>{d(!0);try{await t(o)}catch(t){console.error("Error importing assortments:",t)}finally{d(!1)}},[o,t]),y=o.assortmentCSV.length>0,x=Object.values(a).some(Boolean);return(0,n.jsxs)("div",{className:"max-w-md mx-auto p-6 bg-gray-50 border border-gray-200 rounded-lg flex flex-col gap-4",children:[(0,n.jsx)("h3",{className:"text-center text-lg font-semibold",children:f({id:"assortments_import_title",defaultMessage:"Import Assortments"})}),(0,n.jsx)("p",{className:"text-center text-sm text-gray-600",children:f({id:"assortment_import_description",defaultMessage:"Select your assortments CSV and optional related CSV files, then click Import."})}),p.map(({key:t,label:r,optional:s})=>(0,n.jsx)(h.default.Fragment,{children:(0,n.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,n.jsx)("input",{ref:n=>{e.current[t]=n??null},type:"file",accept:".csv",onChange:e=>g(e,t),className:"hidden"}),(0,n.jsxs)("div",{className:"flex justify-between items-center gap-2",children:[(0,n.jsx)(ek.default,{text:o[t].length?f({id:`${t}_file_selected`,defaultMessage:`${r} Selected`}):f({id:`select_${t}`,defaultMessage:`Select ${r}`}),onClick:()=>e.current[t]?.click(),variant:"secondary",className:"flex-1",disabled:c||!y&&s}),(0,n.jsx)("button",{type:"button",className:"text-xs text-blue-600 hover:underline",title:"Download a CSV template with required columns",onClick:()=>((t,e,n=[])=>{let r=((t,e=[])=>{if("assortmentCSV"===t)return[...eM,...e.flatMap(t=>eE.map(e=>`texts.${t}.${e}`))];return"assortmentChildrenCSV"===t?[...e$]:"assortmentFiltersCSV"===t?[...eN]:"assortmentProductsCSV"===t?[...eI]:[]})(t,n).join(",");(0,eX.downloadCSV)(r,e)})(t,`${t}_template.csv`,i),children:f({id:"download_csv_template",defaultMessage:"Download template"})})]}),a[t]&&(0,n.jsxs)("p",{className:"text-red-600 text-xs flex items-center gap-1",children:["⚠ ",a[t]]})]},t)},t)),(0,n.jsx)(ek.default,{text:c?f({id:"importing",defaultMessage:"Importing..."}):f({id:"import",defaultMessage:"Import"}),onClick:v,disabled:c||!y||x,variant:"primary",className:"w-full"}),y&&!x&&(0,n.jsx)("p",{className:"text-center text-xs text-gray-500",children:f({id:"ready_to_import_assortments",defaultMessage:"Ready to import {assortments} assortments{products}{children}{filters}."},{assortments:o.assortmentCSV.length,products:o.assortmentProductsCSV.length?` with ${o.assortmentProductsCSV.length} products`:"",children:o.assortmentChildrenCSV.length?` with ${o.assortmentChildrenCSV.length} children`:"",filters:o.assortmentFiltersCSV.length?` with ${o.assortmentFiltersCSV.length} filters`:""})})]})};var eK=t.i(28401);let eY=()=>{let{formatMessage:t}=(0,r.useIntl)(),{hasRole:e}=(0,d.default)(),{setModal:i}=(0,ep.default)(),{prepareAssortmentImport:a}={prepareAssortmentImport:async({assortmentCSV:t,assortmentProductsCSV:e,assortmentChildrenCSV:n,assortmentFiltersCSV:r})=>t.map(t=>{let s,i,a,l,o,u=(e||[])?.filter(e=>e.assortmentId===t._id),c=(n||[])?.filter(e=>e.assortmentId===t._id),d=(r||[])?.filter(e=>e.assortmentId===t._id);return u.length&&(a=u.map(({productId:t,tags:e,sortKey:n,_id:r})=>({productId:t,tags:e?e.split(";"):[],sortKey:n?Number(n):void 0,_id:r}))),c.length&&(s=c.map(({childAssortmentId:t,tags:e,sortKey:n,_id:r})=>({assortmentId:t,tags:e?e.split(";"):[],sortKey:n?Number(n):void 0,_id:r}))),d.length&&(i=d.map(({filterId:t,tags:e,sortKey:n,_id:r})=>({filterId:t,tags:e?e.split(";"):[],sortKey:n?Number(n):void 0,_id:r}))),(({children:t,products:e,filters:n,...r})=>({entity:"assortment",operation:"CREATE",payload:{_id:r._id,specification:{...r},products:e,filters:n,children:t}}))({...(l=eL(t),o=(0,eP.default)(t.meta),{_id:t._id||void 0,sequence:"string"==typeof t.sequence?parseInt(t.sequence||"0",10):t.sequence||0,isActive:"true"===t.isActive,isRoot:"true"===t.isRoot,meta:o,tags:t.tags?t.tags.split(";"):[],content:l}),filters:i,products:a,children:s})})},{isImporting:l,importItems:o}=(0,eq.useCSVImport)({validate:eR,process:a});return e(s.IRoleAction.ManageAssortments)?(0,n.jsx)(ek.default,{onClick:()=>{i((0,n.jsx)(eD,{onImport:async t=>{let e=await o(t);i(null),(0,eK.toast)((0,n.jsx)(eO.default,{result:e,entityName:"Assortments"}))}}))},disabled:l,variant:"secondary",text:t(l?{id:"importing",defaultMessage:"Importing..."}:{id:"import",defaultMessage:"Import"})}):null},ez=({options:t,queryString:e,onSearchChange:r,defaultSearchValue:s,availableTagOptions:i})=>{let{graph:a,...l}=t;return(0,n.jsx)(ew.default,{onSearchChange:r,defaultSearchValue:s,showTagFilter:!0,availableTagOptions:i,children:(0,n.jsx)(eC.default,{onlyFull:!0,children:"true"===a?(0,n.jsx)(el,{options:l}):(0,n.jsx)(ex,{options:l,queryString:e,sortable:!0})})})};t.s(["default",0,()=>{let{formatMessage:t}=(0,r.useIntl)(),{shopInfo:e}=(0,ea.default)(),f=(0,i.useRouter)(),{hasRole:h}=(0,d.default)(),{query:p,push:m}=f,_=parseInt(p?.limit,10)||c.DefaultLimit,g=parseInt(p?.skip,10)||0,v=p?.includeInactive==="true"||!p?.includeInactive,y=p?.includeLeaves==="true",x=p?.tags?.split(",")||void 0,w=p?.viewGraph||!1,b=p?.slug||"",A=p?.sort||"",{queryString:C,assortmentSlug:j,...k}=p,{assortmentsCount:S}=(0,eb.default)({includeInactive:v,includeLeaves:y,queryString:C,tags:x});if(j)return(0,n.jsx)(eA.default,{assortmentSlug:j});let M=1===S?t({id:"assortments_header",defaultMessage:"1 Assortment"}):t({id:"assortments_count_header",defaultMessage:"{count} Assortments"},{count:(0,n.jsx)(ej.default,{value:S})});return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a.default,{}),(0,n.jsxs)(o.default,{title:t({id:"assortments_page_title",defaultMessage:"{count, plural, one {# Assortment} other {# Assortments}}"},{count:S}),headerText:M,addPath:h(s.IRoleAction.ManageAssortments)&&"/assortments/new",addButtonText:t({id:"add_assortment",defaultMessage:"Add Assortment"}),children:[(0,n.jsx)(eT,{includeInactive:v,includeLeaves:y,queryString:C,tags:x}),(0,n.jsx)(eY,{})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)(l.default,{children:(0,n.jsxs)("div",{className:"lg:flex gap-5",children:[(0,n.jsx)(u.default,{toggleKey:"includeInactive",toggleText:t({id:"include_inactive",defaultMessage:"Include inactive"}),active:v}),(0,n.jsx)(u.default,{toggleKey:"includeLeaves",toggleText:t({id:"include_leaf",defaultMessage:"Include leafs",description:"Assortment children"})}),(0,n.jsx)(u.default,{toggleKey:"viewGraph",toggleText:t({id:"display_as_graph",defaultMessage:"Display as Graph"}),onToggle:()=>{p.viewGraph?m("/assortments"):m({query:{...p,viewGraph:!0}})}})]})}),(0,n.jsx)(ez,{availableTagOptions:(e?.adminUiConfig?.assortmentTags||[]).map(t=>({value:t,label:t})),queryString:C,onSearchChange:t=>{let{skip:e,...n}=k;t?m({query:(0,eu.normalizeQuery)(n,t,"queryString")}):m({query:(0,eu.normalizeQuery)(k)})},defaultSearchValue:C,options:{graph:w,includeInactive:v,includeLeaves:y,slug:b,tags:x,limit:_,offset:g,sort:A}})]})]})}],58656)},34984,(t,e,n)=>{let r="/assortments";(window.__NEXT_P=window.__NEXT_P||[]).push([r,()=>t.r(58656)]),e.hot&&e.hot.dispose(function(){window.__NEXT_P.push([r])})}]);
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,62205,(e,t,r)=>{"use strict";e.i(50461),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"detectDomainLocale",{enumerable:!0,get:function(){return a}});let a=(...e)=>{};("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)},76149,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isJavaScriptURLString",{enumerable:!0,get:function(){return n}});let a=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function n(e){return a.test(""+e)}("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)},24438,(e,t,r)=>{"use strict";e.i(50461),Object.defineProperty(r,"__esModule",{value:!0});var a={createKey:function(){return z},default:function(){return Y},matchesMiddleware:function(){return $}};for(var n in a)Object.defineProperty(r,n,{enumerable:!0,get:a[n]});let o=e.r(41705),i=e.r(52456),s=e.r(23486),l=e.r(55447),u=e.r(61457),c=i._(e.r(53910)),h=e.r(10291),d=e.r(92090),f=o._(e.r(47194)),p=e.r(89129),_=e.r(78690),m=e.r(69590),g=e.r(29944),b=e.r(94599),y=e.r(73110),P=e.r(28169);e.r(62205);let v=e.r(72796),O=e.r(14862),E=e.r(57396),w=e.r(44691),R=e.r(44113),j=e.r(68186),S=e.r(60472),L=e.r(45399),C=e.r(71755),T=e.r(65746),M=e.r(15755),x=e.r(71112),I=e.r(47852),A=e.r(57285),D=e.r(50169),N=e.r(1280),B=e.r(2987),H=e.r(20262),k=e.r(76149);function U(){return Object.assign(Object.defineProperty(Error("Route Cancelled"),"__NEXT_ERROR_CODE",{value:"E315",enumerable:!1,configurable:!0}),{cancelled:!0})}async function $(e){let t=await Promise.resolve(e.router.pageLoader.getMiddleware());if(!t)return!1;let{pathname:r}=(0,v.parsePath)(e.asPath),a=(0,j.hasBasePath)(r)?(0,w.removeBasePath)(r):r,n=(0,R.addBasePath)((0,O.addLocale)(a,e.locale));return t.some(e=>new RegExp(e.regexp).test(n))}function F(e){let t=(0,p.getLocationOrigin)();return e.startsWith(t)?e.substring(t.length):e}function W(e,t,r){let[a,n]=(0,S.resolveHref)(e,t,!0),o=(0,p.getLocationOrigin)(),i=a.startsWith(o),s=n&&n.startsWith(o);a=F(a),n=n?F(n):n;let l=i?a:(0,R.addBasePath)(a),u=r?F((0,S.resolveHref)(e,r)):n||a;return{url:l,as:s?u:(0,R.addBasePath)(u)}}function X(e,t){let r=(0,s.removeTrailingSlash)((0,h.denormalizePagePath)(e));return"/404"===r||"/_error"===r?e:(t.includes(r)||t.some(t=>{if((0,_.isDynamicRoute)(t)&&(0,b.getRouteRegex)(t).re.test(r))return e=t,!0}),(0,s.removeTrailingSlash)(e))}async function q(e){if(!await $(e)||!e.fetchData)return null;let t=await e.fetchData(),r=await function(e,t,r){let a={basePath:r.router.basePath,i18n:{locales:r.router.locales},trailingSlash:!0},n=t.headers.get("x-nextjs-rewrite"),o=n||t.headers.get("x-nextjs-matched-path"),i=t.headers.get(B.MATCHED_PATH_HEADER);if(!i||o||i.includes("__next_data_catchall")||i.includes("/_error")||i.includes("/404")||(o=i),o){if(o.startsWith("/")){let t=(0,m.parseRelativeUrl)(o),i=(0,C.getNextPathnameInfo)(t.pathname,{nextConfig:a,parseData:!0}),u=(0,s.removeTrailingSlash)(i.pathname);return Promise.all([r.router.pageLoader.getPageList(),(0,l.getClientBuildManifest)()]).then(([o,{__rewrites:s}])=>{let l=(0,O.addLocale)(i.pathname,i.locale);if((0,_.isDynamicRoute)(l)||!n&&o.includes((0,d.normalizeLocalePath)((0,w.removeBasePath)(l),r.router.locales).pathname)){let r=(0,C.getNextPathnameInfo)((0,m.parseRelativeUrl)(e).pathname,{nextConfig:{basePath:a.basePath,trailingSlash:a.trailingSlash},parseData:!0});t.pathname=l=(0,R.addBasePath)(r.pathname)}if(!o.includes(u)){let e=X(u,o);e!==u&&(u=e)}let c=o.includes(u)?u:X((0,d.normalizeLocalePath)((0,w.removeBasePath)(t.pathname),r.router.locales).pathname,o);if((0,_.isDynamicRoute)(c)){let e=(0,g.getRouteMatcher)((0,b.getRouteRegex)(c))(l);Object.assign(t.query,e||{})}return{type:"rewrite",parsedAs:t,resolvedHref:c}})}let t=(0,v.parsePath)(e),i=(0,T.formatNextPathnameInfo)({...(0,C.getNextPathnameInfo)(t.pathname,{nextConfig:a,parseData:!0}),defaultLocale:r.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-external",destination:`${i}${t.query}${t.hash}`})}let u=t.headers.get("x-nextjs-redirect");if(u){if(u.startsWith("/")){let e=(0,v.parsePath)(u),t=(0,T.formatNextPathnameInfo)({...(0,C.getNextPathnameInfo)(e.pathname,{nextConfig:a,parseData:!0}),defaultLocale:r.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-internal",newAs:`${t}${e.query}${e.hash}`,newUrl:`${t}${e.query}${e.hash}`})}return Promise.resolve({type:"redirect-external",destination:u})}return Promise.resolve({type:"next"})}(t.dataHref,t.response,e);return{dataHref:t.dataHref,json:t.json,response:t.response,text:t.text,cacheKey:t.cacheKey,effect:r}}let G=Symbol("SSG_DATA_NOT_FOUND");function J(e){try{return JSON.parse(e)}catch(e){return null}}function V({dataHref:e,inflightCache:t,isPrefetch:r,hasMiddleware:a,isServerRender:n,parseJSON:o,persistCache:i,isBackground:s,unstable_skipClientCache:u}){let{href:c}=new URL(e,window.location.href),h=(0,H.getDeploymentId)(),d=s=>(function e(t,r,a){return fetch(t,{credentials:"same-origin",method:a.method||"GET",headers:Object.assign({},a.headers,{"x-nextjs-data":"1"})}).then(n=>!n.ok&&r>1&&n.status>=500?e(t,r-1,a):n)})(e,n?3:1,{headers:Object.assign({},r?{purpose:"prefetch"}:{},r&&a?{"x-middleware-prefetch":"1"}:{},h?{"x-deployment-id":h}:{}),method:s?.method??"GET"}).then(t=>t.ok&&s?.method==="HEAD"?{dataHref:e,response:t,text:"",json:{},cacheKey:c}:t.text().then(r=>{if(!t.ok){if(a&&[301,302,307,308].includes(t.status))return{dataHref:e,response:t,text:r,json:{},cacheKey:c};if(404===t.status&&J(r)?.notFound)return{dataHref:e,json:{notFound:G},response:t,text:r,cacheKey:c};let o=Object.defineProperty(Error("Failed to load static props"),"__NEXT_ERROR_CODE",{value:"E124",enumerable:!1,configurable:!0});throw n||(0,l.markAssetError)(o),o}let i=t.headers.get(B.NEXT_NAV_DEPLOYMENT_ID_HEADER);if(null!=i&&i!==h){let e=Object.defineProperty(Error("Loaded static props were from an outdated deployment, forcing a hard reload"),"__NEXT_ERROR_CODE",{value:"E989",enumerable:!1,configurable:!0});throw n||(0,l.markAssetError)(e),e}return{dataHref:e,json:o?J(r):null,response:t,text:r,cacheKey:c}})).then(e=>(i&&"no-cache"!==e.response.headers.get("x-middleware-cache")||delete t[c],e)).catch(e=>{throw u||delete t[c],("Failed to fetch"===e.message||"NetworkError when attempting to fetch resource."===e.message||"Load failed"===e.message)&&(0,l.markAssetError)(e),e});return u&&i?d({}).then(e=>("no-cache"!==e.response.headers.get("x-middleware-cache")&&(t[c]=Promise.resolve(e)),e)):void 0!==t[c]?t[c]:t[c]=d(s?{method:"HEAD"}:{})}function z(){return Math.random().toString(36).slice(2,10)}function K({url:e,router:t}){if(e===(0,R.addBasePath)((0,O.addLocale)(t.asPath,t.locale)))throw Object.defineProperty(Error(`Invariant: attempted to hard navigate to the same URL ${e} ${location.href}`),"__NEXT_ERROR_CODE",{value:"E282",enumerable:!1,configurable:!0});window.location.href=e}let Q=({route:e,router:t})=>{let r=!1,a=t.clc=()=>{r=!0};return()=>{if(r){let t=Object.defineProperty(Error(`Abort fetching component for route: "${e}"`),"__NEXT_ERROR_CODE",{value:"E483",enumerable:!1,configurable:!0});throw t.cancelled=!0,t}a===t.clc&&(t.clc=null)}};class Y{static{this.events=(0,f.default)()}constructor(e,t,r,{initialProps:a,pageLoader:n,App:o,wrapApp:i,Component:l,err:u,subscription:c,isFallback:h,locale:d,locales:f,defaultLocale:g,domainLocales:b,isPreview:y}){this.sdc={},this.sbc={},this.isFirstPopStateEvent=!0,this._key=z(),this.onPopState=e=>{let t,{isFirstPopStateEvent:r}=this;this.isFirstPopStateEvent=!1;let a=e.state;if(!a){let{pathname:e,query:t}=this;this.changeState("replaceState",(0,P.formatWithValidation)({pathname:(0,R.addBasePath)(e),query:t}),(0,p.getURL)());return}if(a.__NA)return void window.location.reload();if(!a.__N||r&&this.locale===a.options.locale&&a.as===this.asPath)return;let{url:n,as:o,options:i,key:s}=a;this._key=s;let{pathname:l}=(0,m.parseRelativeUrl)(n);this.isSsr&&o===(0,R.addBasePath)(this.asPath)&&l===(0,R.addBasePath)(this.pathname)||(!this._bps||this._bps(a))&&this.change("replaceState",n,o,Object.assign({},i,{shallow:i.shallow&&this._shallow,locale:i.locale||this.defaultLocale,_h:0}),t)};const v=(0,s.removeTrailingSlash)(e);this.components={},"/_error"!==e&&(this.components[v]={Component:l,initial:!0,props:a,err:u,__N_SSG:a&&a.__N_SSG,__N_SSP:a&&a.__N_SSP}),this.components["/_app"]={Component:o,styleSheets:[]},this.events=Y.events,this.pageLoader=n;const O=(0,_.isDynamicRoute)(e)&&self.__NEXT_DATA__.autoExport;if(this.basePath="",this.sub=c,this.clc=null,this._wrapApp=i,this.isSsr=!0,this.isLocaleDomain=!1,this.isReady=!!(self.__NEXT_DATA__.gssp||self.__NEXT_DATA__.gip||self.__NEXT_DATA__.isExperimentalCompile||self.__NEXT_DATA__.appGip&&!self.__NEXT_DATA__.gsp||!O&&!self.location.search),this.state={route:v,pathname:e,query:t,asPath:O?e:r,isPreview:!!y,locale:void 0,isFallback:h},this._initialMatchesMiddlewarePromise=Promise.resolve(!1),"u">typeof window){if(!r.startsWith("//")){const a={locale:d},n=(0,p.getURL)();this._initialMatchesMiddlewarePromise=$({router:this,locale:d,asPath:n}).then(o=>(a._shouldResolveHref=r!==e,this.changeState("replaceState",o?n:(0,P.formatWithValidation)({pathname:(0,R.addBasePath)(e),query:t}),n,a),o))}window.addEventListener("popstate",this.onPopState)}}reload(){window.location.reload()}back(){window.history.back()}forward(){window.history.forward()}push(e,t,r={}){if((0,k.isJavaScriptURLString)(e.toString())||t&&(0,k.isJavaScriptURLString)(t.toString()))throw Object.defineProperty(Error("Next.js has blocked a javascript: URL as a security precaution."),"__NEXT_ERROR_CODE",{value:"E978",enumerable:!1,configurable:!0});return{url:e,as:t}=W(this,e,t),this.change("pushState",e,t,r)}replace(e,t,r={}){if((0,k.isJavaScriptURLString)(e.toString())||t&&(0,k.isJavaScriptURLString)(t.toString()))throw Object.defineProperty(Error("Next.js has blocked a javascript: URL as a security precaution."),"__NEXT_ERROR_CODE",{value:"E978",enumerable:!1,configurable:!0});return{url:e,as:t}=W(this,e,t),this.change("replaceState",e,t,r)}async _bfl(t,r,a,n){{if(!this._bfl_s&&!this._bfl_d){let r,o,{BloomFilter:i}=e.r(72522);try{({__routerFilterStatic:r,__routerFilterDynamic:o}=await (0,l.getClientBuildManifest)())}catch(e){if(console.error(e),n)return!0;return K({url:(0,R.addBasePath)((0,O.addLocale)(t,a||this.locale,this.defaultLocale)),router:this}),new Promise(()=>{})}let s={numItems:0,errorRate:1e-4,numBits:0,numHashes:null,bitArray:[]};!r&&s&&(r=s);let u={numItems:0,errorRate:1e-4,numBits:0,numHashes:null,bitArray:[]};!o&&u&&(o=u),r?.numHashes&&(this._bfl_s=new i(r.numItems,r.errorRate),this._bfl_s.import(r)),o?.numHashes&&(this._bfl_d=new i(o.numItems,o.errorRate),this._bfl_d.import(o))}let o=!1,i=!1;for(let{as:e,allowMatchCurrent:l}of[{as:t},{as:r}])if(e){let r=(0,s.removeTrailingSlash)(new URL(e,"http://n").pathname),u=(0,R.addBasePath)((0,O.addLocale)(r,a||this.locale));if(l||r!==(0,s.removeTrailingSlash)(new URL(this.asPath,"http://n").pathname)){for(let e of(o=o||!!this._bfl_s?.contains(r)||!!this._bfl_s?.contains(u),[r,u])){let t=e.split("/");for(let e=0;!i&&e<t.length+1;e++){let r=t.slice(0,e).join("/");if(r&&this._bfl_d?.contains(r)){i=!0;break}}}if(o||i){if(n)return!0;return K({url:(0,R.addBasePath)((0,O.addLocale)(t,a||this.locale,this.defaultLocale)),router:this}),new Promise(()=>{})}}}}return!1}async change(e,t,r,a,n){let o,i;if(!(0,x.isLocalURL)(t))return K({url:t,router:this}),!1;let h=1===a._h;h||a.shallow||await this._bfl(r,void 0,a.locale);let d=h||a._shouldResolveHref||(0,v.parsePath)(t).pathname===(0,v.parsePath)(r).pathname,f={...this.state},S=!0!==this.isReady;this.isReady=!0;let L=this.isSsr;if(h||(this.isSsr=!1),h&&this.clc)return!1;let C=f.locale;p.ST&&performance.mark("routeChange");let{shallow:T=!1,scroll:I=!0}=a,N={shallow:T};this._inFlightRoute&&this.clc&&(L||Y.events.emit("routeChangeError",U(),this._inFlightRoute,N),this.clc(),this.clc=null),r=(0,R.addBasePath)((0,O.addLocale)((0,j.hasBasePath)(r)?(0,w.removeBasePath)(r):r,a.locale,this.defaultLocale));let B=(0,E.removeLocale)((0,j.hasBasePath)(r)?(0,w.removeBasePath)(r):r,f.locale);this._inFlightRoute=r;let H=C!==f.locale;if(!h&&this.onlyAHashChange(B)&&!H){f.asPath=B,Y.events.emit("hashChangeStart",r,N),this.changeState(e,t,r,{...a,scroll:!1}),I&&this.scrollToHash(B);try{await this.set(f,this.components[f.route],null)}catch(e){throw(0,c.default)(e)&&e.cancelled&&Y.events.emit("routeChangeError",e,B,N),e}return Y.events.emit("hashChangeComplete",r,N),!0}let k=(0,m.parseRelativeUrl)(t),{pathname:F,query:q}=k;try{[o,{__rewrites:i}]=await Promise.all([this.pageLoader.getPageList(),(0,l.getClientBuildManifest)(),this.pageLoader.getMiddleware()])}catch(e){return K({url:r,router:this}),!1}this.urlIsNew(B)||H||(e="replaceState");let J=r;F=F?(0,s.removeTrailingSlash)((0,w.removeBasePath)(F)):F;let V=(0,s.removeTrailingSlash)(F),z=r.startsWith("/")&&(0,m.parseRelativeUrl)(r).pathname;if(this.components[F]?.__appRouter)return K({url:r,router:this}),new Promise(()=>{});let Q=!!(z&&V!==z&&(!(0,_.isDynamicRoute)(V)||!(0,g.getRouteMatcher)((0,b.getRouteRegex)(V))(z))),Z=!a.shallow&&await $({asPath:r,locale:f.locale,router:this});if(h&&Z&&(d=!1),d&&"/_error"!==F&&(a._shouldResolveHref=!0,k.pathname=X(F,o),k.pathname!==F&&(F=k.pathname,k.pathname=(0,R.addBasePath)(F),Z||(t=(0,P.formatWithValidation)(k)))),!h&&!a.shallow&&this._bfl_d&&(0,_.isDynamicRoute)(F)){let e=(0,s.removeTrailingSlash)((0,m.parseRelativeUrl)(B).pathname);if((0,y.hasDynamicFilterCandidate)(F,e,e=>!!this._bfl_d?.contains(e)))return K({url:r,router:this}),new Promise(()=>{})}if(!(0,x.isLocalURL)(r))return K({url:r,router:this}),!1;J=(0,E.removeLocale)((0,w.removeBasePath)(J),f.locale),V=(0,s.removeTrailingSlash)(F);let ee=!1;if((0,_.isDynamicRoute)(V)){let e=(0,m.parseRelativeUrl)(J),a=e.pathname,n=(0,b.getRouteRegex)(V);ee=(0,g.getRouteMatcher)(n)(a);let o=V===a,i=o?(0,D.interpolateAs)(V,a,q):{};if(ee&&(!o||i.result))o?r=(0,P.formatWithValidation)(Object.assign({},e,{pathname:i.result,query:(0,A.omit)(q,i.params)})):Object.assign(q,ee);else{let e=Object.keys(n.groups).filter(e=>!q[e]&&!n.groups[e].optional);if(e.length>0&&!Z)throw Object.defineProperty(Error((o?`The provided \`href\` (${t}) value is missing query values (${e.join(", ")}) to be interpolated properly. `:`The provided \`as\` value (${a}) is incompatible with the \`href\` value (${V}). `)+`Read more: https://nextjs.org/docs/messages/${o?"href-interpolation-failed":"incompatible-href-as"}`),"__NEXT_ERROR_CODE",{value:"E344",enumerable:!1,configurable:!0})}}h||Y.events.emit("routeChangeStart",r,N);let et="/404"===this.pathname||"/_error"===this.pathname;try{let i=await this.getRouteInfo({route:V,pathname:F,query:q,as:r,resolvedAs:J,routeProps:N,locale:f.locale,isPreview:f.isPreview,hasMiddleware:Z,unstable_skipClientCache:a.unstable_skipClientCache,isQueryUpdating:h&&!this.isFallback,isMiddlewareRewrite:Q});if(h||a.shallow||await this._bfl(r,"resolvedAs"in i?i.resolvedAs:void 0,f.locale),"route"in i&&Z){V=F=i.route||V,N.shallow||(q=Object.assign({},i.query||{},q));let e=(0,j.hasBasePath)(k.pathname)?(0,w.removeBasePath)(k.pathname):k.pathname;if(ee&&F!==e&&Object.keys(ee).forEach(e=>{ee&&q[e]===ee[e]&&delete q[e]}),(0,_.isDynamicRoute)(F)){let e=!N.shallow&&i.resolvedAs?i.resolvedAs:(0,R.addBasePath)((0,O.addLocale)(new URL(r,location.href).pathname,f.locale),!0);(0,j.hasBasePath)(e)&&(e=(0,w.removeBasePath)(e));let t=(0,b.getRouteRegex)(F),a=(0,g.getRouteMatcher)(t)(new URL(e,location.href).pathname);a&&Object.assign(q,a)}}if("type"in i)if("redirect-internal"===i.type)return this.change(e,i.newUrl,i.newAs,a);else return K({url:i.destination,router:this}),new Promise(()=>{});let s=i.Component;if(s&&s.unstable_scriptLoader&&[].concat(s.unstable_scriptLoader()).forEach(e=>{(0,u.handleClientScriptLoad)(e.props)}),(i.__N_SSG||i.__N_SSP)&&i.props){if(i.props.pageProps&&i.props.pageProps.__N_REDIRECT){a.locale=!1;let t=i.props.pageProps.__N_REDIRECT;if(t.startsWith("/")&&!1!==i.props.pageProps.__N_REDIRECT_BASE_PATH){let r=(0,m.parseRelativeUrl)(t);r.pathname=X(r.pathname,o);let{url:n,as:i}=W(this,t,t);return this.change(e,n,i,a)}return K({url:t,router:this}),new Promise(()=>{})}if(f.isPreview=!!i.props.__N_PREVIEW,i.props.notFound===G){let e;try{await this.fetchComponent("/404"),e="/404"}catch(t){e="/_error"}if(i=await this.getRouteInfo({route:e,pathname:e,query:q,as:r,resolvedAs:J,routeProps:{shallow:!1},locale:f.locale,isPreview:f.isPreview,isNotFound:!0}),"type"in i)throw Object.defineProperty(Error("Unexpected middleware effect on /404"),"__NEXT_ERROR_CODE",{value:"E158",enumerable:!1,configurable:!0})}}h&&"/_error"===this.pathname&&self.__NEXT_DATA__.props?.pageProps?.statusCode===500&&i.props?.pageProps&&(i.props.pageProps.statusCode=500);let l=a.shallow&&f.route===(i.route??V),d=a.scroll??(!h&&!l),p=n??(d?{x:0,y:0}:null),y={...f,route:V,pathname:F,query:q,asPath:B,isFallback:!1};if(h&&et){if(i=await this.getRouteInfo({route:this.pathname,pathname:this.pathname,query:q,as:r,resolvedAs:J,routeProps:{shallow:!1},locale:f.locale,isPreview:f.isPreview,isQueryUpdating:h&&!this.isFallback}),"type"in i)throw Object.defineProperty(Error(`Unexpected middleware effect on ${this.pathname}`),"__NEXT_ERROR_CODE",{value:"E225",enumerable:!1,configurable:!0});"/_error"===this.pathname&&self.__NEXT_DATA__.props?.pageProps?.statusCode===500&&i.props?.pageProps&&(i.props.pageProps.statusCode=500);try{await this.set(y,i,p)}catch(e){throw(0,c.default)(e)&&e.cancelled&&Y.events.emit("routeChangeError",e,B,N),e}return!0}if(Y.events.emit("beforeHistoryChange",r,N),this.changeState(e,t,r,a),!(h&&!p&&!S&&!H&&(0,M.compareRouterStates)(y,this.state))){try{await this.set(y,i,p)}catch(e){if(e.cancelled)i.error=i.error||e;else throw e}if(i.error)throw h||Y.events.emit("routeChangeError",i.error,B,N),i.error;h||Y.events.emit("routeChangeComplete",r,N),d&&/#.+$/.test(r)&&this.scrollToHash(r)}return!0}catch(e){if((0,c.default)(e)&&e.cancelled)return!1;throw e}}changeState(e,t,r,a={}){("pushState"!==e||(0,p.getURL)()!==r)&&(this._shallow=a.shallow,window.history[e]({url:t,as:r,options:a,__N:!0,key:this._key="pushState"!==e?this._key:z()},"",r))}async handleRouteInfoError(e,t,r,a,n,o){if(e.cancelled)throw e;if((0,l.isAssetError)(e)||o)throw Y.events.emit("routeChangeError",e,a,n),K({url:a,router:this}),U();console.error(e);try{let a,{page:n,styleSheets:o}=await this.fetchComponent("/_error"),i={props:a,Component:n,styleSheets:o,err:e,error:e};if(!i.props)try{i.props=await this.getInitialProps(n,{err:e,pathname:t,query:r})}catch(e){console.error("Error in error page `getInitialProps`: ",e),i.props={}}return i}catch(e){return this.handleRouteInfoError((0,c.default)(e)?e:Object.defineProperty(Error(e+""),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0}),t,r,a,n,!0)}}async getRouteInfo({route:e,pathname:t,query:r,as:a,resolvedAs:n,routeProps:o,locale:i,hasMiddleware:l,isPreview:u,unstable_skipClientCache:h,isQueryUpdating:f,isMiddlewareRewrite:p,isNotFound:_}){let m=e;try{let e=this.components[m];if(o.shallow&&e&&this.route===m)return e;let c=Q({route:m,router:this});l&&(e=void 0);let g=!e||"initial"in e?void 0:e,b={dataHref:this.pageLoader.getDataHref({href:(0,P.formatWithValidation)({pathname:t,query:r}),skipInterpolation:!0,asPath:_?"/404":n,locale:i}),hasMiddleware:!0,isServerRender:this.isSsr,parseJSON:!0,inflightCache:f?this.sbc:this.sdc,persistCache:!u,isPrefetch:!1,unstable_skipClientCache:h,isBackground:f},y=f&&!p?null:await q({fetchData:()=>V(b),asPath:_?"/404":n,locale:i,router:this}).catch(e=>{if(f)return null;throw e});if(y&&("/_error"===t||"/404"===t)&&(y.effect=void 0),f&&(y?y.json=self.__NEXT_DATA__.props:y={json:self.__NEXT_DATA__.props}),c(),y?.effect?.type==="redirect-internal"||y?.effect?.type==="redirect-external")return y.effect;if(y?.effect?.type==="rewrite"){let a=(0,s.removeTrailingSlash)(y.effect.resolvedHref),i=await this.pageLoader.getPageList();if((!f||i.includes(a))&&(m=a,t=y.effect.resolvedHref,r={...r,...y.effect.parsedAs.query},n=(0,w.removeBasePath)((0,d.normalizeLocalePath)(y.effect.parsedAs.pathname,this.locales).pathname),e=this.components[m],o.shallow&&e&&this.route===m&&!l))return{...e,route:m}}if((0,L.isAPIRoute)(m))return K({url:a,router:this}),new Promise(()=>{});let v=g||await this.fetchComponent(m).then(e=>({Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP})),O=y?.response?.headers.get("x-middleware-skip"),E=v.__N_SSG||v.__N_SSP;O&&y?.dataHref&&delete this.sdc[y.dataHref];let{props:R,cacheKey:j}=await this._getData(async()=>{if(E){if(y?.json&&!O)return{cacheKey:y.cacheKey,props:y.json};let e=y?.dataHref?y.dataHref:this.pageLoader.getDataHref({href:(0,P.formatWithValidation)({pathname:t,query:r}),asPath:n,locale:i}),a=await V({dataHref:e,isServerRender:this.isSsr,parseJSON:!0,inflightCache:O?{}:this.sdc,persistCache:!u,isPrefetch:!1,unstable_skipClientCache:h});return{cacheKey:a.cacheKey,props:a.json||{}}}return{headers:{},props:await this.getInitialProps(v.Component,{pathname:t,query:r,asPath:a,locale:i,locales:this.locales,defaultLocale:this.defaultLocale})}});return v.__N_SSP&&b.dataHref&&j&&delete this.sdc[j],this.isPreview||!v.__N_SSG||f||V(Object.assign({},b,{isBackground:!0,persistCache:!1,inflightCache:this.sbc})).catch(()=>{}),R.pageProps=Object.assign({},R.pageProps),v.props=R,v.route=m,v.query=r,v.resolvedAs=n,this.components[m]=v,v}catch(e){return this.handleRouteInfoError((0,c.getProperError)(e),t,r,a,o)}}set(e,t,r){return this.state=e,this.sub(t,this.components["/_app"].Component,r)}beforePopState(e){this._bps=e}onlyAHashChange(e){if(!this.asPath)return!1;let[t,r]=this.asPath.split("#",2),[a,n]=e.split("#",2);return!!n&&t===a&&r===n||t===a&&r!==n}scrollToHash(e){let[,t=""]=e.split("#",2);(0,N.disableSmoothScrollDuringRouteTransition)(()=>{if(""===t||"top"===t)return void window.scrollTo(0,0);let e=decodeURIComponent(t),r=document.getElementById(e);if(r)return void r.scrollIntoView();let a=document.getElementsByName(e)[0];a&&a.scrollIntoView()},{onlyHashChange:this.onlyAHashChange(e)})}urlIsNew(e){return this.asPath!==e}async prefetch(e,t=e,r={}){if("u">typeof window&&(0,I.isBot)(window.navigator.userAgent))return;let a=(0,m.parseRelativeUrl)(e),n=a.pathname,{pathname:o,query:i}=a,l=o,u=await this.pageLoader.getPageList(),c=t,h=void 0!==r.locale?r.locale||void 0:this.locale,d=await $({asPath:t,locale:h,router:this});a.pathname=X(a.pathname,u),(0,_.isDynamicRoute)(a.pathname)&&(o=a.pathname,a.pathname=o,Object.assign(i,(0,g.getRouteMatcher)((0,b.getRouteRegex)(a.pathname))((0,v.parsePath)(t).pathname)||{}),d||(e=(0,P.formatWithValidation)(a)));let f=await q({fetchData:()=>V({dataHref:this.pageLoader.getDataHref({href:(0,P.formatWithValidation)({pathname:l,query:i}),skipInterpolation:!0,asPath:c,locale:h}),hasMiddleware:!0,isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0}),asPath:t,locale:h,router:this});if(f?.effect.type==="rewrite"&&(a.pathname=f.effect.resolvedHref,o=f.effect.resolvedHref,i={...i,...f.effect.parsedAs.query},c=f.effect.parsedAs.pathname,e=(0,P.formatWithValidation)(a)),f?.effect.type==="redirect-external")return;let p=(0,s.removeTrailingSlash)(o);await this._bfl(t,c,r.locale,!0)&&(this.components[n]={__appRouter:!0}),await Promise.all([this.pageLoader._isSsg(p).then(t=>!!t&&V({dataHref:f?.json?f?.dataHref:this.pageLoader.getDataHref({href:e,asPath:c,locale:h}),isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0,unstable_skipClientCache:r.unstable_skipClientCache||r.priority&&!0}).then(()=>!1).catch(()=>!1)),this.pageLoader[r.priority?"loadPage":"prefetch"](p)])}async fetchComponent(e){let t=Q({route:e,router:this});try{let r=await this.pageLoader.loadPage(e);return t(),r}catch(e){throw t(),e}}_getData(e){let t=!1,r=()=>{t=!0};return this.clc=r,e().then(e=>{if(r===this.clc&&(this.clc=null),t){let e=Object.defineProperty(Error("Loading initial props cancelled"),"__NEXT_ERROR_CODE",{value:"E405",enumerable:!1,configurable:!0});throw e.cancelled=!0,e}return e})}getInitialProps(e,t){let{Component:r}=this.components["/_app"],a=this._wrapApp(r);return t.AppTree=a,(0,p.loadGetInitialProps)(r,{AppTree:a,Component:e,router:this,ctx:t})}get route(){return this.state.route}get pathname(){return this.state.pathname}get query(){return this.state.query}get asPath(){return this.state.asPath}get locale(){return this.state.locale}get isFallback(){return this.state.isFallback}get isPreview(){return this.state.isPreview}}},61741,(e,t,r)=>{"use strict";e.i(50461),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"resolvePromiseWithTimeout",{enumerable:!0,get:function(){return n}});let a=e.r(99604);function n(e,t,r){return new Promise((r,n)=>{let o=!1;e.then(e=>{o=!0,r(e)}).catch(n),(0,a.requestIdleCallback)(()=>setTimeout(()=>{o||n(t)},3800))})}("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)},44691,(e,t,r)=>{"use strict";function a(e){return e}e.i(50461),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"removeBasePath",{enumerable:!0,get:function(){return a}}),e.r(68186),("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)},57396,(e,t,r)=>{"use strict";function a(e,t){return e}e.i(50461),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"removeLocale",{enumerable:!0,get:function(){return a}}),e.r(72796),("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)},55447,(e,t,r)=>{"use strict";let a;e.i(50461),Object.defineProperty(r,"__esModule",{value:!0});var n={createRouteLoader:function(){return b},getClientBuildManifest:function(){return m},isAssetError:function(){return p},markAssetError:function(){return f}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});e.r(41705),e.r(16544);let i=e.r(88862),s=e.r(99604),l=e.r(20262),u=e.r(55583),c=e.r(61741);function h(e,t,r){let a,n=t.get(e);if(n)return"future"in n?n.future:Promise.resolve(n);let o=new Promise(e=>{a=e});return t.set(e,{resolve:a,future:o}),r?r().then(e=>(a(e),e)).catch(r=>{throw t.delete(e),r}):o}let d=Symbol("ASSET_LOAD_ERROR");function f(e){return Object.defineProperty(e,d,{})}function p(e){return e&&d in e}let _=function(e){try{return e=document.createElement("link"),!!window.MSInputMethodContext&&!!document.documentMode||e.relList.supports("prefetch")}catch{return!1}}();function m(){if(self.__BUILD_MANIFEST)return Promise.resolve(self.__BUILD_MANIFEST);let e=new Promise(e=>{let t=self.__BUILD_MANIFEST_CB;self.__BUILD_MANIFEST_CB=()=>{e(self.__BUILD_MANIFEST),t&&t()}});return(0,c.resolvePromiseWithTimeout)(e,f(Object.defineProperty(Error("Failed to load client build manifest"),"__NEXT_ERROR_CODE",{value:"E273",enumerable:!1,configurable:!0})),a)}function g(e,t){return m().then(r=>{if(!(t in r))throw f(Object.defineProperty(Error(`Failed to lookup route: ${t}`),"__NEXT_ERROR_CODE",{value:"E446",enumerable:!1,configurable:!0}));let a=r[t].map(t=>e+"/_next/"+(0,u.encodeURIPath)(t));return{scripts:a.filter(e=>e.endsWith(".js")).map(e=>(0,i.__unsafeCreateTrustedScriptURL)(e)+(0,l.getAssetTokenQuery)()),css:a.filter(e=>e.endsWith(".css")).map(e=>e+(0,l.getAssetTokenQuery)())}})}function b(e){let t=new Map,r=new Map,n=new Map,o=new Map;function i(e){{var t;let a=r.get(e.toString());return a?a:document.querySelector(`script[src^="${e}"]`)?Promise.resolve():(r.set(e.toString(),a=new Promise((r,a)=>{(t=document.createElement("script")).onload=r,t.onerror=()=>a(f(Object.defineProperty(Error(`Failed to load script: ${e}`),"__NEXT_ERROR_CODE",{value:"E74",enumerable:!1,configurable:!0}))),t.crossOrigin=void 0,t.src=e,document.body.appendChild(t)})),a)}}function l(e){let t=n.get(e);return t||n.set(e,t=fetch(e,{credentials:"same-origin"}).then(t=>{if(!t.ok)throw Object.defineProperty(Error(`Failed to load stylesheet: ${e}`),"__NEXT_ERROR_CODE",{value:"E189",enumerable:!1,configurable:!0});return t.text().then(t=>({href:e,content:t}))}).catch(e=>{throw f(e)})),t}return{whenEntrypoint:e=>h(e,t),onEntrypoint(e,r){(r?Promise.resolve().then(()=>r()).then(e=>({component:e&&e.default||e,exports:e}),e=>({error:e})):Promise.resolve(void 0)).then(r=>{let a=t.get(e);a&&"resolve"in a?r&&(t.set(e,r),a.resolve(r)):(r?t.set(e,r):t.delete(e),o.delete(e))})},loadRoute(r,n){return h(r,o,()=>{let o;return(0,c.resolvePromiseWithTimeout)(g(e,r).then(({scripts:e,css:a})=>Promise.all([t.has(r)?[]:Promise.all(e.map(i)).then(e=>e),Promise.all(a.map(l))])).then(e=>this.whenEntrypoint(r).then(t=>({entrypoint:t,styles:e[1]}))),f(Object.defineProperty(Error(`Route did not complete loading: ${r}`),"__NEXT_ERROR_CODE",{value:"E12",enumerable:!1,configurable:!0})),a).then(({entrypoint:e,styles:t})=>{let r=Object.assign({styles:t},e);return"error"in e?e:r}).catch(e=>{if(n)throw e;return{error:e}}).finally(()=>o?.())})},prefetch(t){let r;return(r=navigator.connection)&&(r.saveData||/2g/.test(r.effectiveType))?Promise.resolve():g(e,t).then(e=>Promise.all(_?e.scripts.map(e=>{var t,r,a;return t=e.toString(),r="script",new Promise((e,n)=>{let o=`
|
|
2
|
-
link[rel="prefetch"][href^="${t}"],
|
|
3
|
-
link[rel="preload"][href^="${t}"],
|
|
4
|
-
script[src^="${t}"]`;if(document.querySelector(o))return e();a=document.createElement("link"),r&&(a.as=r),a.rel="prefetch",a.crossOrigin=void 0,a.onload=e,a.onerror=()=>n(f(Object.defineProperty(Error(`Failed to prefetch: ${t}`),"__NEXT_ERROR_CODE",{value:"E268",enumerable:!1,configurable:!0}))),a.href=t,document.head.appendChild(a)})}):[])).then(()=>{(0,s.requestIdleCallback)(()=>this.loadRoute(t,!0).catch(()=>{}))}).catch(()=>{})}}}("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)},26990,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={Router:function(){return s.default},createRouter:function(){return g},default:function(){return _},makePublicRouterInstance:function(){return b},useRouter:function(){return m},withRouter:function(){return c.default}};for(var n in a)Object.defineProperty(r,n,{enumerable:!0,get:a[n]});let o=e.r(41705),i=o._(e.r(91788)),s=o._(e.r(24438)),l=e.r(25479),u=o._(e.r(53910)),c=o._(e.r(94408)),h={router:null,readyCallbacks:[],ready(e){if(this.router)return e();"u">typeof window&&this.readyCallbacks.push(e)}},d=["pathname","route","query","asPath","components","isFallback","basePath","locale","locales","defaultLocale","isReady","isPreview","isLocaleDomain","domainLocales"],f=["push","replace","reload","back","prefetch","beforePopState"];function p(){if(!h.router)throw Object.defineProperty(Error('No router instance found.\nYou should only use "next/router" on the client side of your app.\n'),"__NEXT_ERROR_CODE",{value:"E1044",enumerable:!1,configurable:!0});return h.router}Object.defineProperty(h,"events",{get:()=>s.default.events}),d.forEach(e=>{Object.defineProperty(h,e,{get:()=>p()[e]})}),f.forEach(e=>{h[e]=(...t)=>p()[e](...t)}),["routeChangeStart","beforeHistoryChange","routeChangeComplete","routeChangeError","hashChangeStart","hashChangeComplete"].forEach(e=>{h.ready(()=>{s.default.events.on(e,(...t)=>{let r=`on${e.charAt(0).toUpperCase()}${e.substring(1)}`;if(h[r])try{h[r](...t)}catch(e){console.error(`Error when running the Router event: ${r}`),console.error((0,u.default)(e)?`${e.message}
|
|
5
|
-
${e.stack}`:e+"")}})})});let _=h;function m(){let e=i.default.useContext(l.RouterContext);if(!e)throw Object.defineProperty(Error("NextRouter was not mounted. https://nextjs.org/docs/messages/next-router-not-mounted"),"__NEXT_ERROR_CODE",{value:"E509",enumerable:!1,configurable:!0});return e}function g(...e){return h.router=new s.default(...e),h.readyCallbacks.forEach(e=>e()),h.readyCallbacks=[],h.router}function b(e){let t={};for(let r of d){if("object"==typeof e[r]){t[r]=Object.assign(Array.isArray(e[r])?[]:{},e[r]);continue}t[r]=e[r]}return t.events=s.default.events,f.forEach(r=>{t[r]=(...t)=>e[r](...t)}),t}("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)},26016,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"setAttributesFromProps",{enumerable:!0,get:function(){return i}});let a={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"},n=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy","stylesheets"];function o(e){return["async","defer","noModule"].includes(e)}function i(e,t){for(let[r,i]of Object.entries(t)){if(!t.hasOwnProperty(r)||n.includes(r)||void 0===i)continue;let s=a[r]||r.toLowerCase();"SCRIPT"===e.tagName&&o(s)?e[s]=!!i:e.setAttribute(s,String(i)),(!1===i||"SCRIPT"===e.tagName&&o(s)&&(!i||"false"===i))&&(e.setAttribute(s,""),e.removeAttribute(s))}}("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)},88862,(e,t,r)=>{"use strict";let a;function n(e){return(void 0===a&&"u">typeof window&&(a=window.trustedTypes?.createPolicy("nextjs",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})||null),a)?.createScriptURL(e)||e}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"__unsafeCreateTrustedScriptURL",{enumerable:!0,get:function(){return n}}),("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)},94408,(e,t,r)=>{"use strict";e.i(50461),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return o}}),e.r(41705);let a=e.r(91398);e.r(91788);let n=e.r(26990);function o(e){function t(t){return(0,a.jsx)(e,{router:(0,n.useRouter)(),...t})}return t.getInitialProps=e.getInitialProps,t.origGetInitialProps=e.origGetInitialProps,t}("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)},45399,(e,t,r)=>{"use strict";function a(e){return"/api"===e||!!(null==e?void 0:e.startsWith("/api/"))}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isAPIRoute",{enumerable:!0,get:function(){return a}})},72522,(e,t,r)=>{"use strict";e.i(50461),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"BloomFilter",{enumerable:!0,get:function(){return a}});class a{constructor(e,t=1e-4){this.numItems=e,this.errorRate=t,this.numBits=Math.ceil(-(e*Math.log(t))/(Math.log(2)*Math.log(2))),this.numHashes=Math.ceil(this.numBits/e*Math.log(2)),this.bitArray=Array(this.numBits).fill(0)}static from(e,t=1e-4){let r=new a(e.length,t);for(let t of e)r.add(t);return r}export(){return{numItems:this.numItems,errorRate:this.errorRate,numBits:this.numBits,numHashes:this.numHashes,bitArray:this.bitArray}}import(e){this.numItems=e.numItems,this.errorRate=e.errorRate,this.numBits=e.numBits,this.numHashes=e.numHashes,this.bitArray=e.bitArray}add(e){this.getHashValues(e).forEach(e=>{this.bitArray[e]=1})}contains(e){return this.getHashValues(e).every(e=>this.bitArray[e])}getHashValues(e){let t=[];for(let r=1;r<=this.numHashes;r++){let a=function(e){let t=0;for(let r=0;r<e.length;r++)t=Math.imul(t^e.charCodeAt(r),0x5bd1e995),t^=t>>>13,t=Math.imul(t,0x5bd1e995);return t>>>0}(`${e}${r}`)%this.numBits;t.push(a)}return t}}},55583,(e,t,r)=>{"use strict";function a(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"encodeURIPath",{enumerable:!0,get:function(){return a}})},10616,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={ESCAPE_REGEX:function(){return i},htmlEscapeAttributeString:function(){return c},htmlEscapeJsonString:function(){return u}};for(var n in a)Object.defineProperty(r,n,{enumerable:!0,get:a[n]});let o={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},i=/[&><\u2028\u2029]/g,s={"&":"&",'"':""","'":"'","<":"<",">":">"},l=/[&"'<>]/g;function u(e){return e.replace(i,e=>o[e])}function c(e){return e.replace(l,e=>s[e])}},61457,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={default:function(){return P},handleClientScriptLoad:function(){return g},initScriptLoader:function(){return b}};for(var n in a)Object.defineProperty(r,n,{enumerable:!0,get:a[n]});let o=e.r(41705),i=e.r(52456),s=e.r(91398),l=o._(e.r(30943)),u=i._(e.r(91788)),c=e.r(13584),h=e.r(26016),d=e.r(99604),f=e.r(10616),p=new Map,_=new Set,m=e=>{let{src:t,id:r,onLoad:a=()=>{},onReady:n=null,dangerouslySetInnerHTML:o,children:i="",strategy:s="afterInteractive",onError:u,stylesheets:c}=e,d=r||t;if(d&&_.has(d))return;if(p.has(t)){_.add(d),p.get(t).then(a,u);return}let f=()=>{n&&n(),_.add(d)},m=document.createElement("script"),g=new Promise((e,t)=>{m.addEventListener("load",function(t){e(),a&&a.call(this,t),f()}),m.addEventListener("error",function(e){t(e)})}).catch(function(e){u&&u(e)});o?(m.innerHTML=o.__html||"",f()):i?(m.textContent="string"==typeof i?i:Array.isArray(i)?i.join(""):"",f()):t&&(m.src=t,p.set(t,g)),(0,h.setAttributesFromProps)(m,e),"worker"===s&&m.setAttribute("type","text/partytown"),m.setAttribute("data-nscript",s),c&&(e=>{if(l.default.preinit)return e.forEach(e=>{l.default.preinit(e,{as:"style"})});if("u">typeof window){let t=document.head;e.forEach(e=>{let r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,t.appendChild(r)})}})(c),document.body.appendChild(m)};function g(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,d.requestIdleCallback)(()=>m(e))}):m(e)}function b(e){e.forEach(g),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");_.add(t)})}function y(e){let{id:t,src:r="",onLoad:a=()=>{},onReady:n=null,strategy:o="afterInteractive",onError:i,stylesheets:h,...p}=e,{updateScripts:g,scripts:b,getIsSsr:y,appDir:P,nonce:v}=(0,u.useContext)(c.HeadManagerContext);v=p.nonce||v;let O=(0,u.useRef)(!1);(0,u.useEffect)(()=>{let e=t||r;O.current||(n&&e&&_.has(e)&&n(),O.current=!0)},[n,t,r]);let E=(0,u.useRef)(!1);if((0,u.useEffect)(()=>{if(!E.current){if("afterInteractive"===o)m(e);else"lazyOnload"===o&&("complete"===document.readyState?(0,d.requestIdleCallback)(()=>m(e)):window.addEventListener("load",()=>{(0,d.requestIdleCallback)(()=>m(e))}));E.current=!0}},[e,o]),("beforeInteractive"===o||"worker"===o)&&(g?(b[o]=(b[o]||[]).concat([{id:t,src:r,onLoad:a,onReady:n,onError:i,...p,nonce:v}]),g(b)):y&&y()?_.add(t||r):y&&!y()&&m({...e,nonce:v})),P){if(h&&h.forEach(e=>{l.default.preinit(e,{as:"style"})}),"beforeInteractive"===o)if(!r)return p.dangerouslySetInnerHTML&&(p.children=p.dangerouslySetInnerHTML.__html,delete p.dangerouslySetInnerHTML),(0,s.jsx)("script",{nonce:v,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${(0,f.htmlEscapeJsonString)(JSON.stringify([0,{...p,id:t}]))})`}});else return l.default.preload(r,p.integrity?{as:"script",integrity:p.integrity,nonce:v,crossOrigin:p.crossOrigin}:{as:"script",nonce:v,crossOrigin:p.crossOrigin}),(0,s.jsx)("script",{nonce:v,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${(0,f.htmlEscapeJsonString)(JSON.stringify([r,{...p,id:t}]))})`}});"afterInteractive"===o&&r&&l.default.preload(r,p.integrity?{as:"script",integrity:p.integrity,nonce:v,crossOrigin:p.crossOrigin}:{as:"script",nonce:v,crossOrigin:p.crossOrigin})}return null}Object.defineProperty(y,"__nextScript",{value:!0});let P=y;("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)},27361,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={getObjectClassLabel:function(){return o},isPlainObject:function(){return i}};for(var n in a)Object.defineProperty(r,n,{enumerable:!0,get:a[n]});function o(e){return Object.prototype.toString.call(e)}function i(e){if("[object Object]"!==o(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t.hasOwnProperty("isPrototypeOf")}},53910,(e,t,r)=>{"use strict";e.i(50461),Object.defineProperty(r,"__esModule",{value:!0});var a={default:function(){return i},getProperError:function(){return s}};for(var n in a)Object.defineProperty(r,n,{enumerable:!0,get:a[n]});let o=e.r(27361);function i(e){return"object"==typeof e&&null!==e&&"name"in e&&"message"in e}function s(e){let t;return i(e)?e:Object.defineProperty(Error((0,o.isPlainObject)(e)?(t=new WeakSet,JSON.stringify(e,(e,r)=>{if("object"==typeof r&&null!==r){if(t.has(r))return"[Circular]";t.add(r)}return r})):e+""),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}},47194,(e,t,r)=>{"use strict";function a(){let e=Object.create(null);return{on(t,r){(e[t]||(e[t]=[])).push(r)},off(t,r){e[t]&&e[t].splice(e[t].indexOf(r)>>>0,1)},emit(t,...r){(e[t]||[]).slice().map(e=>{e(...r)})}}}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return a}})},36090,(e,t,r)=>{"use strict";function a(e){return e.replace(/\\/g,"/")}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"normalizePathSep",{enumerable:!0,get:function(){return a}})},10291,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"denormalizePagePath",{enumerable:!0,get:function(){return o}});let a=e.r(31235),n=e.r(36090);function o(e){let t=(0,n.normalizePathSep)(e);return t.startsWith("/index/")&&!(0,a.isDynamicRoute)(t)?t.slice(6):"/index"!==t?t:"/"}},92090,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"normalizeLocalePath",{enumerable:!0,get:function(){return n}});let a=new WeakMap;function n(e,t){let r;if(!t)return{pathname:e};let n=a.get(t);n||(n=t.map(e=>e.toLowerCase()),a.set(t,n));let o=e.split("/",2);if(!o[1])return{pathname:e};let i=o[1].toLowerCase(),s=n.indexOf(i);return s<0?{pathname:e}:(r=t[s],{pathname:e=e.slice(r.length+1)||"/",detectedLocale:r})}},42393,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"addPathSuffix",{enumerable:!0,get:function(){return n}});let a=e.r(72796);function n(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:n,hash:o}=(0,a.parsePath)(e);return`${r}${t}${n}${o}`}},52419,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"addLocale",{enumerable:!0,get:function(){return o}});let a=e.r(43980),n=e.r(97742);function o(e,t,r,o){if(!t||t===r)return e;let i=e.toLowerCase();return!o&&((0,n.pathHasPrefix)(i,"/api")||(0,n.pathHasPrefix)(i,`/${t.toLowerCase()}`))?e:(0,a.addPathPrefix)(e,`/${t}`)}},65746,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"formatNextPathnameInfo",{enumerable:!0,get:function(){return s}});let a=e.r(23486),n=e.r(43980),o=e.r(42393),i=e.r(52419);function s(e){let t=(0,i.addLocale)(e.pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix);return(e.buildId||!e.trailingSlash)&&(t=(0,a.removeTrailingSlash)(t)),e.buildId&&(t=(0,o.addPathSuffix)((0,n.addPathPrefix)(t,`/_next/data/${e.buildId}`),"/"===e.pathname?"index.json":".json")),t=(0,n.addPathPrefix)(t,e.basePath),!e.buildId&&e.trailingSlash?t.endsWith("/")?t:(0,o.addPathSuffix)(t,"/"):(0,a.removeTrailingSlash)(t)}},15755,(e,t,r)=>{"use strict";function a(e,t){let r=Object.keys(e);if(r.length!==Object.keys(t).length)return!1;for(let a=r.length;a--;){let n=r[a];if("query"===n){let r=Object.keys(e.query);if(r.length!==Object.keys(t.query).length)return!1;for(let a=r.length;a--;){let n=r[a];if(!t.query.hasOwnProperty(n)||e.query[n]!==t.query[n])return!1}}else if(!t.hasOwnProperty(n)||e[n]!==t[n])return!1}return!0}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"compareRouterStates",{enumerable:!0,get:function(){return a}})},1280,(e,t,r)=>{"use strict";function a(e,t={}){if(t.onlyHashChange)return void e();let r=document.documentElement;if("smooth"!==r.dataset.scrollBehavior)return void e();let n=r.style.scrollBehavior;r.style.scrollBehavior="auto",t.dontForceLayout||r.getClientRects(),e(),r.style.scrollBehavior=n}e.i(50461),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"disableSmoothScrollDuringRouteTransition",{enumerable:!0,get:function(){return a}})},73110,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={DYNAMIC_FILTER_PLACEHOLDER:function(){return o},hasDynamicFilterCandidate:function(){return i}};for(var n in a)Object.defineProperty(r,n,{enumerable:!0,get:a[n]});let o="[]";function i(e,t,r){let a=e.split("/"),n=t.split("/"),i=a[a.length-1]??"";if(!(i.startsWith("[...")||i.startsWith("[[..."))&&a.length!==n.length)return!1;let s=[];for(let e=1;e<n.length;e++){if(""===n[e])continue;let t=a[e];(void 0===t||t.startsWith("["))&&s.push(e)}if(0===s.length||s.length>8)return!1;let l=(1<<s.length)-1;for(let e=0;e<l;e++){let t=n.slice();for(let r=0;r<s.length;r++)(e&1<<r)==0&&(t[s[r]]=o);if(r(t.join("/")))return!0}return!1}},16544,(e,t,r)=>{"use strict";function a(e,t=""){return("/"===e?"/index":/^\/index(\/|$)/.test(e)?`/index${e}`:e)+t}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return a}})},93857,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"HTML_LIMITED_BOT_UA_RE",{enumerable:!0,get:function(){return a}});let a=/[\w-]+-Google|Google-[\w-]+|Chrome-Lighthouse|Slurp|DuckDuckBot|baiduspider|yandex|sogou|bitlybot|tumblr|vkShare|quora link preview|redditbot|ia_archiver|Bingbot|BingPreview|applebot|facebookexternalhit|facebookcatalog|Twitterbot|LinkedInBot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|Yeti|googleweblight/i},47852,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={HTML_LIMITED_BOT_UA_RE:function(){return o.HTML_LIMITED_BOT_UA_RE},HTML_LIMITED_BOT_UA_RE_STRING:function(){return s},getBotType:function(){return c},isBot:function(){return u}};for(var n in a)Object.defineProperty(r,n,{enumerable:!0,get:a[n]});let o=e.r(93857),i=/Googlebot(?!-)|Googlebot$/i,s=o.HTML_LIMITED_BOT_UA_RE.source;function l(e){return o.HTML_LIMITED_BOT_UA_RE.test(e)}function u(e){return i.test(e)||l(e)}function c(e){return i.test(e)?"dom":l(e)?"html":void 0}},69590,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"parseRelativeUrl",{enumerable:!0,get:function(){return o}});let a=e.r(89129),n=e.r(98928);function o(e,t,r=!0){let i=new URL("u"<typeof window?"http://n":(0,a.getLocationOrigin)()),s=t?new URL(t,i):e.startsWith(".")?new URL("u"<typeof window?"http://n":window.location.href):i,{pathname:l,searchParams:u,search:c,hash:h,href:d,origin:f}=e.startsWith("/")?new URL(`${s.protocol}//${s.host}${e}`):new URL(e,s);if(f!==i.origin)throw Object.defineProperty(Error(`invariant: invalid relative URL, router received ${e}`),"__NEXT_ERROR_CODE",{value:"E159",enumerable:!1,configurable:!0});return{auth:null,host:null,hostname:null,pathname:l,port:null,protocol:null,query:r?(0,n.searchParamsToUrlQuery)(u):void 0,search:c,hash:h,href:d.slice(f.length),slashes:null}}},40671,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"removePathPrefix",{enumerable:!0,get:function(){return n}});let a=e.r(97742);function n(e,t){if(!(0,a.pathHasPrefix)(e,t))return e;let r=e.slice(t.length);return r.startsWith("/")?r:`/${r}`}},71755,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getNextPathnameInfo",{enumerable:!0,get:function(){return i}});let a=e.r(92090),n=e.r(40671),o=e.r(97742);function i(e,t){let{basePath:r,i18n:i,trailingSlash:s}=t.nextConfig??{},l={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):s};r&&(0,o.pathHasPrefix)(l.pathname,r)&&(l.pathname=(0,n.removePathPrefix)(l.pathname,r),l.basePath=r);let u=l.pathname;if(l.pathname.startsWith("/_next/data/")&&l.pathname.endsWith(".json")){let e=l.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/");l.buildId=e[0],u="index"!==e[1]?`/${e.slice(1).join("/")}`:"/",!0===t.parseData&&(l.pathname=u)}if(i){let e=t.i18nProvider?t.i18nProvider.analyze(l.pathname):(0,a.normalizeLocalePath)(l.pathname,i.locales);l.locale=e.detectedLocale,l.pathname=e.pathname??l.pathname,!e.detectedLocale&&l.buildId&&(e=t.i18nProvider?t.i18nProvider.analyze(u):(0,a.normalizeLocalePath)(u,i.locales)).detectedLocale&&(l.locale=e.detectedLocale)}return l}}]);
|