@unchainedshop/admin-ui 4.9.0 → 4.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-WPLOTFGW.js → chunk-2HTCKO4E.js} +12 -3
- package/dist/{chunk-PJLYVMUM.js → chunk-4MXPTVDL.js} +2 -2
- package/dist/{chunk-I64TXIE7.js → chunk-ATZJXTRA.js} +1 -1
- package/dist/{chunk-QHR23GVH.js → chunk-CUYIP5XG.js} +1 -1
- package/dist/{chunk-5WPFHQZN.js → chunk-E6HDJYA6.js} +3 -3
- package/dist/{chunk-FDHXLNZQ.js → chunk-EAVP6XZQ.js} +1 -1
- package/dist/{chunk-E77YIMGR.js → chunk-ED2FP42R.js} +1 -1
- package/dist/{chunk-HJKRGBDG.js → chunk-GWMLIF3C.js} +1 -1
- package/dist/{chunk-3L6EZQ6P.js → chunk-NFJE5EJG.js} +1 -1
- package/dist/{chunk-BMDNY67T.js → chunk-PGJTFYBT.js} +1385 -932
- package/dist/{chunk-ICJH36K4.js → chunk-YUXHILXY.js} +1 -1
- package/dist/form.js +797 -286
- package/dist/hooks.js +3 -3
- package/dist/modal.js +5 -5
- package/dist/modules/accounts.js +1 -1
- package/dist/modules/assortment.js +1 -1
- package/dist/modules/country.js +1 -1
- package/dist/modules/currency.js +1 -1
- package/dist/modules/delivery-provider.js +1 -1
- package/dist/modules/enrollment.js +1 -1
- package/dist/modules/event.js +1 -1
- package/dist/modules/filter.js +1 -1
- package/dist/modules/language.js +1 -1
- package/dist/modules/order.js +1 -1
- package/dist/modules/payment-providers.js +1 -1
- package/dist/modules/product-review.js +1 -1
- package/dist/modules/product.js +5 -5
- package/dist/modules/quotation.js +1 -1
- package/dist/modules/token.js +1 -1
- package/dist/modules/warehousing-providers.js +1 -1
- package/dist/modules/work.js +1 -1
- package/dist/plugins.js +1 -1
- package/dist/providers.js +5 -5
- package/dist/shims/admin-ui-plugins.js +1 -1
- package/dist/shims/apollo-client-react.js +1 -1
- package/dist/shims/apollo-client.js +1 -1
- package/dist/shims/next-head.js +1 -1
- package/dist/shims/next-image.js +1 -1
- package/dist/shims/next-link.js +1 -1
- package/dist/shims/next-router.js +1 -1
- package/dist/shims/react-dom-client.js +1 -1
- package/dist/shims/react-dom.js +1 -1
- package/dist/shims/react-hook-form.js +1 -1
- package/dist/shims/react-intl.js +1 -1
- package/dist/shims/react-jsx-runtime.js +1 -1
- package/dist/shims/react-toastify.js +1 -1
- package/dist/shims/react.js +1 -1
- package/dist/theme.js +1 -1
- package/dist/ui.js +3884 -3401
- package/out/403/index.html +3 -3
- package/out/404/index.html +3 -3
- package/out/404.html +3 -3
- package/out/423/index.html +3 -3
- package/out/500/index.html +3 -3
- package/out/_next/static/TwsufYu8Ldt9ZNxtvzshp/_buildManifest.js +258 -0
- package/out/_next/static/chunks/0-66i4h-noxvn.js +7 -0
- package/out/_next/static/chunks/0-wbl3cr3959x.js +1 -0
- package/out/_next/static/chunks/01bmb-z2nror5.js +63 -0
- package/out/_next/static/chunks/01ehk69jm7o3h.js +1 -0
- package/out/_next/static/chunks/01v4zuf_1s632.js +24 -0
- package/out/_next/static/chunks/02bw09719wk6m.js +59 -0
- package/out/_next/static/chunks/04u9l5z90u8zc.js +108 -0
- package/out/_next/static/chunks/{439tz_ubj8h-g.js → 05kae8xt4d-mt.js} +9 -9
- package/out/_next/static/chunks/060-0-y0yq4tn.js +4 -0
- package/out/_next/static/chunks/06umepciqel5y.js +15 -0
- package/out/_next/static/chunks/{2rmgaa88-4bpb.js → 07oa-1j75vunn.js} +4 -4
- package/out/_next/static/chunks/{0zzoylv2rl1xu.js → 07qh9c3qklj41.js} +1 -1
- package/out/_next/static/chunks/08aonh4sng6e2.js +7 -0
- package/out/_next/static/chunks/08u8uu0r0k0o9.js +9 -0
- package/out/_next/static/chunks/096x-m7s73l-c.js +1 -0
- package/out/_next/static/chunks/0ab6zl-u7ml1p.js +5 -0
- package/out/_next/static/chunks/{40l5d7o95aw37.js → 0bvh9mjjgn_w3.js} +1 -1
- package/out/_next/static/chunks/0crno_6ew111i.js +8 -0
- package/out/_next/static/chunks/0czpir4zjwmos.js +1 -0
- package/out/_next/static/chunks/0fogiqvh9bznp.js +2 -0
- package/out/_next/static/chunks/0g1uyaoneybnf.js +41 -0
- package/out/_next/static/chunks/0h373kx_wlwzy.js +1 -0
- package/out/_next/static/chunks/{2hoi6cb1lromr.js → 0hq9p72y7ki0h.js} +1 -1
- package/out/_next/static/chunks/0hqvf-b6yry5-.js +12 -0
- package/out/_next/static/chunks/0ikig1vazlo5p.js +1 -0
- package/out/_next/static/chunks/0jol393fjamwq.js +277 -0
- package/out/_next/static/chunks/0jr0_6oupairk.js +13 -0
- package/out/_next/static/chunks/0l0hzoqd-va5-.js +1 -0
- package/out/_next/static/chunks/0m006z-rbif-h.js +5 -0
- package/out/_next/static/chunks/0nsa2b75vwe9r.js +43 -0
- package/out/_next/static/chunks/0oeas4d1fnzbb.js +36 -0
- package/out/_next/static/chunks/0q7n10ncl7jak.js +119 -0
- package/out/_next/static/chunks/0qyx2854lfah9.js +152 -0
- package/out/_next/static/chunks/0rjrvdq5w-984.js +78 -0
- package/out/_next/static/chunks/0tavmhzr7m3u9.js +5 -0
- package/out/_next/static/chunks/0tp8_k14lgo7i.js +12 -0
- package/out/_next/static/chunks/{1tkvi0wb-x3v8.js → 0u290yfuv_u2_.js} +2 -2
- package/out/_next/static/chunks/0u_zr87ce7iu-.js +1 -0
- package/out/_next/static/chunks/0v2v5x8dtpfh6.js +7 -0
- package/out/_next/static/chunks/0var4u7x1jrna.js +1 -0
- package/out/_next/static/chunks/0vik72soxnie0.js +32 -0
- package/out/_next/static/chunks/0xry2ss7g-gk_.js +33 -0
- package/out/_next/static/chunks/0xywzizg7ntfd.js +44 -0
- package/out/_next/static/chunks/0y3lr_rwmezii.js +1 -0
- package/out/_next/static/chunks/0zvpipo0q47xl.js +15 -0
- package/out/_next/static/chunks/1-jp7as2d7zp6.js +44 -0
- package/out/_next/static/chunks/10jrq6wew06i6.js +23 -0
- package/out/_next/static/chunks/1164-c5abnfyy.js +5 -0
- package/out/_next/static/chunks/{3qzrrjb48t2w3.js → 119d8cbr8mij2.js} +5 -5
- package/out/_next/static/chunks/122a0xxhrak7b.js +1 -0
- package/out/_next/static/chunks/129-110-fx4g2.js +277 -0
- package/out/_next/static/chunks/12hh2h53sa5vl.js +33 -0
- package/out/_next/static/chunks/14qvgxj89rj3h.js +16 -0
- package/out/_next/static/chunks/179acu8_sgizp.js +4 -0
- package/out/_next/static/chunks/1a120nyn1xssj.js +46 -0
- package/out/_next/static/chunks/1ata93ftwo5e5.js +1 -0
- package/out/_next/static/chunks/1ca5de-nq28g5.js +5 -0
- package/out/_next/static/chunks/1cm161_p0htmv.js +6 -0
- package/out/_next/static/chunks/1cp5rjbtbj7im.js +7 -0
- package/out/_next/static/chunks/1d-xju_35oiky.js +7 -0
- package/out/_next/static/chunks/1d2l6vs2y96io.js +5 -0
- package/out/_next/static/chunks/1dedrypk-h8qr.js +1 -0
- package/out/_next/static/chunks/1dl-ild2tc5fi.js +10 -0
- package/out/_next/static/chunks/1eh2ap8tgodgp.js +224 -0
- package/out/_next/static/chunks/1eq7kau-2figm.js +81 -0
- package/out/_next/static/chunks/1h9sc720aq7zm.js +5 -0
- package/out/_next/static/chunks/1i-6ya37cs5-w.js +116 -0
- package/out/_next/static/chunks/1igwz8p4ycvw8.js +68 -0
- package/out/_next/static/chunks/1kti-rwl34_4h.js +194 -0
- package/out/_next/static/chunks/{2ho4591ngh3y2.js → 1l_4m35yky3vy.js} +6 -6
- package/out/_next/static/chunks/1n3dc-2mpab65.js +39 -0
- package/out/_next/static/chunks/1nmwo96drt-k-.js +18 -0
- package/out/_next/static/chunks/1o2f_mtcw23zu.js +7 -0
- package/out/_next/static/chunks/1p6gh68l05_ak.js +1 -0
- package/out/_next/static/chunks/1sf71q2hkno8s.js +43 -0
- package/out/_next/static/chunks/{1gqd9vrno0rq4.js → 1u0hy0trwf8uk.js} +2 -2
- package/out/_next/static/chunks/1w22i299136_d.js +5 -0
- package/out/_next/static/chunks/1w69w7bav5fw7.js +5 -0
- package/out/_next/static/chunks/1xjtni6_z8nxp.js +15 -0
- package/out/_next/static/chunks/1y-db7_k0jgmb.js +1 -0
- package/out/_next/static/chunks/1y7wv_pb43doo.js +31 -0
- package/out/_next/static/chunks/1y84xua0xgwrn.js +39 -0
- package/out/_next/static/chunks/1yqexzm6_8pjh.js +71 -0
- package/out/_next/static/chunks/1zsrg53se30e4.js +7 -0
- package/out/_next/static/chunks/2-e86kt6vo58k.js +24 -0
- package/out/_next/static/chunks/2-lj_k3ewua_k.js +71 -0
- package/out/_next/static/chunks/2-omz_z29hp_j.js +1 -0
- package/out/_next/static/chunks/21hoklicpietg.js +41 -0
- package/out/_next/static/chunks/22kqizuxl67c-.js +108 -0
- package/out/_next/static/chunks/22odam86c8kps.js +1 -0
- package/out/_next/static/chunks/23wfelj92rx3n.js +1 -0
- package/out/_next/static/chunks/259obwu0l4d7_.js +8 -0
- package/out/_next/static/chunks/{22-o32hlte36e.js → 25k-q1asg1of_.js} +6 -6
- package/out/_next/static/chunks/28cyd6sk-kr-8.js +8 -0
- package/out/_next/static/chunks/{3vgurvjr6hkyv.js → 29j-tq9ymqima.js} +1 -1
- package/out/_next/static/chunks/29lz37yh8ev4g.js +267 -0
- package/out/_next/static/chunks/29qzk6rf1oo1g.js +8 -0
- package/out/_next/static/chunks/2_0nlvri-u3yb.js +5 -0
- package/out/_next/static/chunks/2_ebmmbmnfung.js +5 -0
- package/out/_next/static/chunks/2_nlmvpwjvbuc.js +1 -0
- package/out/_next/static/chunks/2abvgs_fkmp8g.js +12 -0
- package/out/_next/static/chunks/2ad3aff-kd860.js +16 -0
- package/out/_next/static/chunks/2asfqwl1f6ptd.js +71 -0
- package/out/_next/static/chunks/2bo7flfdpsojx.js +1 -0
- package/out/_next/static/chunks/2c3pj-ifdt9sv.js +8 -0
- package/out/_next/static/chunks/2cdf8zir46fgf.js +6 -0
- package/out/_next/static/chunks/{1_55km6vm5mc0.js → 2dem0g4wrt39t.js} +5 -5
- package/out/_next/static/chunks/{153ec1_-yt3jb.js → 2dg0lloufpbdb.js} +5 -5
- package/out/_next/static/chunks/2e-u5srw2p0n6.js +23 -0
- package/out/_next/static/chunks/2fxjo2s_nsjsa.js +5 -0
- package/out/_next/static/chunks/2gfl5yx5-dzk7.js +5 -0
- package/out/_next/static/chunks/2gqvhjmjfypz9.js +6 -0
- package/out/_next/static/chunks/2hqwx9e8xxk58.js +1 -0
- package/out/_next/static/chunks/2hthxhwh84ls1.css +1 -0
- package/out/_next/static/chunks/2jro0zgoal0kz.js +39 -0
- package/out/_next/static/chunks/2khmu80rhpzi0.js +7 -0
- package/out/_next/static/chunks/2luj-95aqr25b.js +1 -0
- package/out/_next/static/chunks/2mohqnh8393k0.js +935 -0
- package/out/_next/static/chunks/{11ehf3t7qzbua.js → 2ozm0eim2f3sc.js} +1 -1
- package/out/_next/static/chunks/2pass0agqwhhu.js +30 -0
- package/out/_next/static/chunks/2q16yoj85f5--.js +217 -0
- package/out/_next/static/chunks/2qgzju2ps7tn2.js +5 -0
- package/out/_next/static/chunks/2qmtn9qs15pe6.js +23 -0
- package/out/_next/static/chunks/2starzmj1ng6d.js +13 -0
- package/out/_next/static/chunks/2tltorbhbyodj.js +1 -0
- package/out/_next/static/chunks/2u8vf0tm3oweg.js +145 -0
- package/out/_next/static/chunks/2xq9wvqdb609r.js +1 -0
- package/out/_next/static/chunks/2ye-zd_107wh_.js +6 -0
- package/out/_next/static/chunks/2yttr5mp9mh23.js +171 -0
- package/out/_next/static/chunks/2z6e-_lzi04v4.js +149 -0
- package/out/_next/static/chunks/2z_zbj33aeywz.js +5 -0
- package/out/_next/static/chunks/2zq9_3p7cg3wb.js +9 -0
- package/out/_next/static/chunks/2zuoqtb2013in.js +7 -0
- package/out/_next/static/chunks/302pe6kwodzps.js +31 -0
- package/out/_next/static/chunks/30c42kdwlkc30.js +7 -0
- package/out/_next/static/chunks/30jqt_vus0ht9.js +1 -0
- package/out/_next/static/chunks/30lj8m3h07k4v.js +1 -0
- package/out/_next/static/chunks/3328j3xx0enu_.js +1 -0
- package/out/_next/static/chunks/339grcmrh2be_.js +1 -0
- package/out/_next/static/chunks/33pzdslirf1vx.js +6 -0
- package/out/_next/static/chunks/33s24dpx0eo63.js +2 -0
- package/out/_next/static/chunks/33w88h3hbfzbk.js +1 -0
- package/out/_next/static/chunks/35wqmtcm47y_w.js +39 -0
- package/out/_next/static/chunks/36o0xcj8l-mau.js +9 -0
- package/out/_next/static/chunks/37lm6c8w-c7bs.js +5 -0
- package/out/_next/static/chunks/37y01hdz8sxhr.js +1 -0
- package/out/_next/static/chunks/38op2tjm2a38-.js +10 -0
- package/out/_next/static/chunks/398z-133dgtem.js +14 -0
- package/out/_next/static/chunks/39_3a5rlqmxjd.js +5 -0
- package/out/_next/static/chunks/3admj5_pwyksw.js +1 -0
- package/out/_next/static/chunks/3c7j6t3by9tj7.js +155 -0
- package/out/_next/static/chunks/3cyj5euwvlu1t.js +1 -0
- package/out/_next/static/chunks/3d8yko5j3oni7.js +100 -0
- package/out/_next/static/chunks/3de9en65e-2qx.js +1 -0
- package/out/_next/static/chunks/3f_aw3x3h5zrb.js +54 -0
- package/out/_next/static/chunks/3fdcfxfy7_ijd.js +5 -0
- package/out/_next/static/chunks/3g-zjnc7_4583.js +1 -0
- package/out/_next/static/chunks/3h22kt6ngwxji.js +12 -0
- package/out/_next/static/chunks/3id1esivwnwn0.js +5 -0
- package/out/_next/static/chunks/{3fqonijzsxy8u.js → 3jy48b2yol0pg.js} +1 -1
- package/out/_next/static/chunks/3k_w16w3eoy6p.js +7 -0
- package/out/_next/static/chunks/3ks-dq47wvmwf.js +5 -0
- package/out/_next/static/chunks/3lch4_9c5hsbw.js +5 -0
- package/out/_next/static/chunks/3lirqns-0nf0z.js +5 -0
- package/out/_next/static/chunks/{1hviha1jcz_og.js → 3o83hyi0qcw6f.js} +1 -1
- package/out/_next/static/chunks/3ot810y4c4j5w.js +7 -0
- package/out/_next/static/chunks/3q2g8_47dz6k3.js +95 -0
- package/out/_next/static/chunks/{0q2e8h8498pvo.js → 3qqhr2o1soxh_.js} +1 -1
- package/out/_next/static/chunks/3s0alhaimym6o.js +61 -0
- package/out/_next/static/chunks/3sull2f3eleju.js +6 -0
- package/out/_next/static/chunks/3tzv_v3fezh8p.js +1 -0
- package/out/_next/static/chunks/3uekb_s0jaboj.js +1 -0
- package/out/_next/static/chunks/3xtawjchyn0qb.js +1 -0
- package/out/_next/static/chunks/3xze13c1irm_5.js +1 -0
- package/out/_next/static/chunks/3z14p5htgyrv9.js +7 -0
- package/out/_next/static/chunks/40vdr7s_c0h75.js +8 -0
- package/out/_next/static/chunks/41184_al87--k.js +46 -0
- package/out/_next/static/chunks/42iy04ceb32i1.js +5 -0
- package/out/_next/static/chunks/438vgwwahfwwj.js +54 -0
- package/out/_next/static/chunks/44l-287ai2bc0.js +12 -0
- package/out/_next/static/chunks/44p9j-nopxm66.js +1 -0
- package/out/_next/static/chunks/{turbopack-2c3mg3r-05n1w.js → turbopack-077hmtqrhcoji.js} +1 -1
- package/out/_offline/index.html +3 -3
- package/out/account/forgot-password/index.html +3 -3
- package/out/account/index.html +3 -3
- package/out/assortments/AssortmentDetailPage/index.html +3 -3
- package/out/assortments/index.html +3 -3
- package/out/assortments/new/index.html +3 -3
- package/out/copilot/index.html +3 -3
- package/out/country/CountryDetailPage/index.html +3 -3
- package/out/country/index.html +3 -3
- package/out/country/new/index.html +3 -3
- package/out/currency/CurrencyDetailPage/index.html +3 -3
- package/out/currency/index.html +3 -3
- package/out/currency/new/index.html +3 -3
- package/out/delivery-provider/DeliveryProviderDetailPage/index.html +3 -3
- package/out/delivery-provider/index.html +3 -3
- package/out/delivery-provider/new/index.html +3 -3
- package/out/enrollments/EnrollmentDetailPage/index.html +3 -3
- package/out/enrollments/index.html +3 -3
- package/out/events/EventDetailPage/index.html +3 -3
- package/out/events/index.html +3 -3
- package/out/exports/index.html +3 -3
- package/out/external/index.html +3 -3
- package/out/filters/FilterDetailPage/index.html +3 -3
- package/out/filters/index.html +3 -3
- package/out/filters/new/index.html +3 -3
- package/out/index.html +3 -3
- package/out/install/index.html +3 -3
- package/out/language/LanguageDetailPage/index.html +3 -3
- package/out/language/index.html +3 -3
- package/out/language/new/index.html +3 -3
- package/out/log-in/index.html +3 -3
- package/out/orders/OrderDetailPage/index.html +3 -3
- package/out/orders/index.html +3 -3
- package/out/payment-provider/PaymentProviderDetailPage/index.html +3 -3
- package/out/payment-provider/index.html +3 -3
- package/out/payment-provider/new/index.html +3 -3
- package/out/products/ProductDetailPage/index.html +3 -3
- package/out/products/index.html +3 -3
- package/out/products/new/index.html +3 -3
- package/out/quotations/QuotationDetailPage/index.html +3 -3
- package/out/quotations/index.html +3 -3
- package/out/reset-password/index.html +3 -3
- package/out/sign-up/index.html +3 -3
- package/out/styleguide/index.html +3 -3
- package/out/tokens/TokenDetailPage/index.html +3 -3
- package/out/tokens/index.html +3 -3
- package/out/users/UserDetailPage/index.html +3 -3
- package/out/users/index.html +3 -3
- package/out/users/new/index.html +3 -3
- package/out/verify-email/index.html +3 -3
- package/out/warehousing-provider/WarehousingProviderDetailPage/index.html +3 -3
- package/out/warehousing-provider/index.html +3 -3
- package/out/warehousing-provider/new/index.html +3 -3
- package/out/works/WorkDetailPage/index.html +3 -3
- package/out/works/WorkQueueListView/index.html +3 -3
- package/out/works/index.html +3 -3
- package/out/works/management/index.html +3 -3
- package/package.json +26 -26
- package/out/_next/static/chunks/0-_s79k4_7ei_.js +0 -5
- package/out/_next/static/chunks/00aks9rqke2x0.js +0 -7
- package/out/_next/static/chunks/00az81dk4vdda.js +0 -54
- package/out/_next/static/chunks/01e4gd649r2tq.js +0 -7
- package/out/_next/static/chunks/01j2wi94k90x0.js +0 -5
- package/out/_next/static/chunks/043i-g05cyvrd.js +0 -1
- package/out/_next/static/chunks/04kyktzbxprj0.js +0 -61
- package/out/_next/static/chunks/05p330iybjojg.js +0 -44
- package/out/_next/static/chunks/05qk8ozexvlxp.js +0 -5
- package/out/_next/static/chunks/06i50j458a7g5.js +0 -12
- package/out/_next/static/chunks/08o61gwabp3h1.js +0 -33
- package/out/_next/static/chunks/0_bvgo8ev4gs7.js +0 -7
- package/out/_next/static/chunks/0b05sca2hdcys.js +0 -30
- package/out/_next/static/chunks/0bc8hmxlcg6h5.js +0 -18
- package/out/_next/static/chunks/0c3kwkqr9evm4.js +0 -5
- package/out/_next/static/chunks/0c4jv8pwvpxei.js +0 -1
- package/out/_next/static/chunks/0c7ljn9lo_0oh.js +0 -5
- package/out/_next/static/chunks/0djb38xrt32ao.js +0 -12
- package/out/_next/static/chunks/0drw_p7p-jjq1.js +0 -5
- package/out/_next/static/chunks/0ewr86ctcw7fx.js +0 -1
- package/out/_next/static/chunks/0hz0qu27uks3z.js +0 -8
- package/out/_next/static/chunks/0jham55cr3rhy.js +0 -81
- package/out/_next/static/chunks/0lr7o7tyjmrmf.js +0 -8
- package/out/_next/static/chunks/0mx8opz23nwlb.js +0 -5
- package/out/_next/static/chunks/0o0e82-3pc7ur.js +0 -78
- package/out/_next/static/chunks/0ohk7l49gjm62.js +0 -5
- package/out/_next/static/chunks/0p31l6a9hynnt.js +0 -6
- package/out/_next/static/chunks/0qa-zbgmv-k3p.js +0 -9
- package/out/_next/static/chunks/0rzjz052fwjjc.js +0 -12
- package/out/_next/static/chunks/0skst735jufgh.js +0 -71
- package/out/_next/static/chunks/0t28q5fb2jp-6.js +0 -8
- package/out/_next/static/chunks/0tmamaq8exyij.js +0 -1
- package/out/_next/static/chunks/0ydy3ky15gx62.js +0 -1
- package/out/_next/static/chunks/0zh311lu9jf2x.js +0 -5
- package/out/_next/static/chunks/0zpyyygbqx3pf.js +0 -152
- package/out/_next/static/chunks/10m_etq9t2pkv.js +0 -7
- package/out/_next/static/chunks/16le3cqxj12u6.js +0 -5
- package/out/_next/static/chunks/16zxfacsu_jbq.js +0 -1
- package/out/_next/static/chunks/170d-jbu8ilzu.js +0 -100
- package/out/_next/static/chunks/17fibl49qtd6c.js +0 -8
- package/out/_next/static/chunks/182l1mlbf0glb.js +0 -1
- package/out/_next/static/chunks/18xyj4i_i5lyn.js +0 -6
- package/out/_next/static/chunks/1a9-pdm78ri7r.js +0 -1
- package/out/_next/static/chunks/1aej6iqnlr74p.js +0 -1
- package/out/_next/static/chunks/1asbed4hne69c.js +0 -7
- package/out/_next/static/chunks/1c60nzy_x4kez.js +0 -277
- package/out/_next/static/chunks/1c77vl6xdqfd4.js +0 -15
- package/out/_next/static/chunks/1da89agg-nacc.js +0 -224
- package/out/_next/static/chunks/1epju6xepfqtq.js +0 -2
- package/out/_next/static/chunks/1fbsyczyh9hwh.js +0 -1
- package/out/_next/static/chunks/1hih2cxmgqcd3.js +0 -10
- package/out/_next/static/chunks/1il9vuoxtb2_n.js +0 -43
- package/out/_next/static/chunks/1jaatdt0mlypl.js +0 -16
- package/out/_next/static/chunks/1l4g6_of_bbr8.js +0 -5
- package/out/_next/static/chunks/1lezxecnoaxnn.js +0 -32
- package/out/_next/static/chunks/1m27au_nmk8_k.js +0 -71
- package/out/_next/static/chunks/1m4fwgl1mj4d-.js +0 -46
- package/out/_next/static/chunks/1ma82ip9shpkc.js +0 -24
- package/out/_next/static/chunks/1nbh1zkzirnuw.js +0 -1
- package/out/_next/static/chunks/1nohf8_cc6gmw.js +0 -9
- package/out/_next/static/chunks/1os6pvhjeb16o.js +0 -1
- package/out/_next/static/chunks/1r0w-hk6d2kqw.js +0 -15
- package/out/_next/static/chunks/1rsexg6dg82f0.js +0 -7
- package/out/_next/static/chunks/1u79pcgqjgjpq.js +0 -1
- package/out/_next/static/chunks/1uqiaqtv_0v2x.js +0 -5
- package/out/_next/static/chunks/1x8o-luxdxxk7.js +0 -1
- package/out/_next/static/chunks/1yjb7gogaf8po.js +0 -31
- package/out/_next/static/chunks/1zyhzessv0wtg.js +0 -1
- package/out/_next/static/chunks/2-pl31kdikt3k.js +0 -5
- package/out/_next/static/chunks/20c4_1i5r3kkz.js +0 -1
- package/out/_next/static/chunks/20zdaln201w8j.js +0 -277
- package/out/_next/static/chunks/21l46nbaop06z.js +0 -39
- package/out/_next/static/chunks/231j2_p-ha14w.js +0 -7
- package/out/_next/static/chunks/23s2f7_-ol94s.js +0 -8
- package/out/_next/static/chunks/25frktmrq-xu0.js +0 -1
- package/out/_next/static/chunks/26_mx-ritu68j.js +0 -24
- package/out/_next/static/chunks/26ckmxeluyknq.js +0 -1
- package/out/_next/static/chunks/26r0y7ldf3iqs.js +0 -6
- package/out/_next/static/chunks/27fzoozwycagi.js +0 -6
- package/out/_next/static/chunks/27jmq7a-vh0b4.js +0 -7
- package/out/_next/static/chunks/283567a82x9qi.js +0 -149
- package/out/_next/static/chunks/29he8uukp5s4u.js +0 -31
- package/out/_next/static/chunks/2adglo0sf0jcg.js +0 -905
- package/out/_next/static/chunks/2ajr0rk0_yax6.js +0 -1
- package/out/_next/static/chunks/2b4ewxxz6f462.js +0 -7
- package/out/_next/static/chunks/2bh2dv7j9m8c8.css +0 -1
- package/out/_next/static/chunks/2bi8v13lm76lr.js +0 -95
- package/out/_next/static/chunks/2burvpf9877y_.js +0 -44
- package/out/_next/static/chunks/2cclew3l28rc4.js +0 -14
- package/out/_next/static/chunks/2cj703xtrf5i6.js +0 -46
- package/out/_next/static/chunks/2ec7xatyld40t.js +0 -7
- package/out/_next/static/chunks/2iy0jr00qhq-q.js +0 -5
- package/out/_next/static/chunks/2m0rrts8gwqwp.js +0 -1
- package/out/_next/static/chunks/2m_u12ggzosat.js +0 -5
- package/out/_next/static/chunks/2mdns56l5antm.js +0 -5
- package/out/_next/static/chunks/2mrbytgs3uetd.js +0 -4
- package/out/_next/static/chunks/2olb298bph2yc.js +0 -13
- package/out/_next/static/chunks/2p9gwjxeui1zd.js +0 -71
- package/out/_next/static/chunks/2pfhy9qy_cijn.js +0 -5
- package/out/_next/static/chunks/2q5k4rozyr2wt.js +0 -4
- package/out/_next/static/chunks/2qx8nnki_qv5v.js +0 -171
- package/out/_next/static/chunks/2r_rj84l3cy7r.js +0 -119
- package/out/_next/static/chunks/2swxmzb-xk_bo.js +0 -108
- package/out/_next/static/chunks/2t0biwx5e_4w_.js +0 -1
- package/out/_next/static/chunks/2ts3v72jkbcdr.js +0 -7
- package/out/_next/static/chunks/2vfexvltv2avy.js +0 -5
- package/out/_next/static/chunks/2wkg65dtx56je.js +0 -155
- package/out/_next/static/chunks/2xixk0t9e9mnw.js +0 -1
- package/out/_next/static/chunks/2xz7hnr9ikqzq.js +0 -7
- package/out/_next/static/chunks/2y1lq1efnvcdt.js +0 -23
- package/out/_next/static/chunks/2ziasg8l_c9n7.js +0 -5
- package/out/_next/static/chunks/3-wsablhqgzoa.js +0 -1
- package/out/_next/static/chunks/30ppb2wc-m4ph.js +0 -1
- package/out/_next/static/chunks/336k08jwyc5i-.js +0 -1
- package/out/_next/static/chunks/33_-2ne9ecvay.js +0 -1
- package/out/_next/static/chunks/33d061qpkafqm.js +0 -39
- package/out/_next/static/chunks/33fyy6d5mo55_.js +0 -8
- package/out/_next/static/chunks/33kh18frqc3b1.js +0 -5
- package/out/_next/static/chunks/33qeilxkl3ckn.js +0 -116
- package/out/_next/static/chunks/33tewe5d_lfl-.js +0 -13
- package/out/_next/static/chunks/33v05ol-ire9s.js +0 -10
- package/out/_next/static/chunks/348l8p7-vo4l5.js +0 -63
- package/out/_next/static/chunks/35hu5vin0swdf.js +0 -41
- package/out/_next/static/chunks/37a6yquh875rn.js +0 -39
- package/out/_next/static/chunks/3_2i9du5-ffrp.js +0 -59
- package/out/_next/static/chunks/3_84h3z_tewmg.js +0 -145
- package/out/_next/static/chunks/3bo7uiy-wh63m.js +0 -108
- package/out/_next/static/chunks/3c-an5ft_3emc.js +0 -1
- package/out/_next/static/chunks/3d_222ci0_30_.js +0 -41
- package/out/_next/static/chunks/3dldch03dfaed.js +0 -1
- package/out/_next/static/chunks/3eedy49gsvv_t.js +0 -1
- package/out/_next/static/chunks/3fayuejnrsd90.js +0 -15
- package/out/_next/static/chunks/3g1ale0hytu9q.js +0 -12
- package/out/_next/static/chunks/3i9q2-4e0mix5.js +0 -12
- package/out/_next/static/chunks/3k3gvr7-e3g_s.js +0 -5
- package/out/_next/static/chunks/3kwoyyxi_-q7m.js +0 -1
- package/out/_next/static/chunks/3le1bywe19_u9.js +0 -1
- package/out/_next/static/chunks/3lku4-9kpf-mj.js +0 -267
- package/out/_next/static/chunks/3lz5h1tw50wr_.js +0 -54
- package/out/_next/static/chunks/3m4smrmdqi2-3.js +0 -5
- package/out/_next/static/chunks/3oq-khgfpo0nx.js +0 -39
- package/out/_next/static/chunks/3ps25ocfalcap.js +0 -43
- package/out/_next/static/chunks/3r0i-7zjuz9i1.js +0 -6
- package/out/_next/static/chunks/3rgn5xwtr51ul.js +0 -7
- package/out/_next/static/chunks/3ridg_u19b6ih.js +0 -8
- package/out/_next/static/chunks/3skzk-w2ytvku.js +0 -5
- package/out/_next/static/chunks/3srw10h0hcztd.js +0 -68
- package/out/_next/static/chunks/3tgrftdet8sna.js +0 -15
- package/out/_next/static/chunks/3uax_eq1kjjta.js +0 -1
- package/out/_next/static/chunks/3uj94afpsi6cs.js +0 -1
- package/out/_next/static/chunks/3viepyovs19ub.js +0 -23
- package/out/_next/static/chunks/3vnzp3n_wd3j_.js +0 -1
- package/out/_next/static/chunks/3w8h5lxnd0z4z.js +0 -1
- package/out/_next/static/chunks/3wh4xa9dnw-55.js +0 -194
- package/out/_next/static/chunks/3wzvscqui-9ml.js +0 -23
- package/out/_next/static/chunks/3y8h3g1tqukrv.js +0 -36
- package/out/_next/static/chunks/3zcilnj6p9-t5.js +0 -1
- package/out/_next/static/chunks/3zmmdm68s05-t.js +0 -217
- package/out/_next/static/chunks/3zw4-oie-f7_0.js +0 -2
- package/out/_next/static/chunks/417kn9hki8k81.js +0 -33
- package/out/_next/static/chunks/42mofxcd0l7qi.js +0 -1
- package/out/_next/static/chunks/43hfssep7ry-z.js +0 -5
- package/out/_next/static/chunks/45bcpjurhxb-j.js +0 -1
- package/out/_next/static/nrNmgRi1nHylx_8lvjG2D/_buildManifest.js +0 -258
- /package/out/_next/static/{nrNmgRi1nHylx_8lvjG2D → TwsufYu8Ldt9ZNxtvzshp}/_clientMiddlewareManifest.js +0 -0
- /package/out/_next/static/{nrNmgRi1nHylx_8lvjG2D → TwsufYu8Ldt9ZNxtvzshp}/_ssgManifest.js +0 -0
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,[81359,e=>{var t=e.i(91398),r=e.i(24608),i=e.i(69322);e.s(["f",0,({onClick:e,text:n=null,Icon:s=null})=>{let{formatMessage:a}=(0,i.S)();return(0,t.jsxs)("button",{type:"button",onClick:e,"aria-describedby":"header-delete-button",className:"inline-flex items-center gap-2 justify-center rounded-md border border-rose-500 px-4 py-2 text-sm font-medium leading-5 text-rose-600 dark:text-rose-200 shadow-sm hover:border-rose-600 hover:bg-rose-600 hover:text-white focus:outline-hidden focus:ring-2 focus:ring-rose-500 focus:ring-offset-2 h-[38px]",children:[(0,t.jsx)("span",{children:s||(0,t.jsx)(r.f,{className:"h-5 w-5"})}),n||a({id:"delete",defaultMessage:"Delete"})]})}])},11056,e=>{var t=e.i(91398),r=e.i(91788),i=e.i(5505),n=e.i(57561);e.s(["f",0,({children:e,onlyFull:s=!1})=>{let{languageDialectList:a,selectedLocale:o,setSelectedLocale:l}=(0,n.f)(),u=(0,r.useContext)(i.W),d=a.filter(e=>!s||e.isoCode.includes("-"));return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:`w-fit mt-5 mb-3 ${u?"ml-5":""}`,children:(0,t.jsx)("select",{id:"locale-wrapper",className:"cursor-pointer rounded-md border-1 border-slate-300 dark:border-slate-700 py-1 pr-8 text-sm lg:py-1 lg:pr-10 text-black dark:text-white dark:bg-slate-800 shadow-xs focus:outline-hidden focus:ring-2 focus:ring-slate-800",value:o||"",onChange:e=>{e.stopPropagation(),l(e.target.value)},children:d?.map(e=>(0,t.jsx)("option",{value:e.isoCode,children:e.isoCode},e._id))})}),(0,t.jsx)("div",{children:r.default.cloneElement(e)})]})}])},16371,e=>{var t=e.i(91788),r=e.i(30943);e.s(["f",0,({children:e,container:i=null,className:n=""})=>{let s=(0,t.useRef)(null),[a,o]=(0,t.useState)(!1);return((0,t.useEffect)(()=>{let e=document.createElement("div");n&&(e.className=n),s.current=e;let t=i||document.body;return t.appendChild(e),o(!0),()=>{s.current&&t.contains(s.current)&&t.removeChild(s.current)}},[i,n]),a&&s.current)?(0,r.createPortal)(e,s.current):null}])},3095,e=>{var t=e.i(91398),r=e.i(91788),i=e.i(69322),n=e.i(86712),s=e.i(76842),a=e.i(24557),o=e.i(16371);e.s(["f",0,({onEdit:e,onDelete:l,editLabel:u,deleteLabel:d,showEdit:c=!0,showDelete:h=!0})=>{let{formatMessage:f}=(0,i.S)(),[m,p]=(0,r.useState)(!1),[g,y]=(0,r.useState)({top:0,left:0}),_=(0,r.useRef)(null),x=(0,r.useRef)(null);(0,r.useEffect)(()=>{let e=e=>{_.current&&!_.current.contains(e.target)&&p(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]);let b=(e,t)=>{e.stopPropagation(),e.preventDefault(),t&&t(),p(!1)};return 0===[c&&e,h&&l].filter(Boolean).length?null:(0,t.jsxs)("div",{className:"flex justify-end w-full",children:[(0,t.jsx)("button",{ref:x,type:"button",onClick:e=>{e.stopPropagation(),e.preventDefault(),m||(()=>{if(!x.current)return;let e=x.current.getBoundingClientRect(),t=e.bottom+4,r=e.right-192;r<8&&(r=8),t+80>window.innerHeight-8&&(t=e.top-80-4),y({top:t,left:r})})(),p(!m)},className:"flex items-center justify-center w-8 h-8 rounded-md hover:bg-slate-100 dark:hover:bg-slate-700 transition-colors","aria-label":f({id:"table_actions_menu",defaultMessage:"Actions menu"}),children:(0,t.jsx)(n.f,{className:"w-5 h-5 text-slate-500 dark:text-slate-400"})}),m&&(0,t.jsx)(o.f,{children:(0,t.jsx)("div",{ref:_,className:"fixed w-48 bg-white dark:bg-slate-800 rounded-md shadow-xl border border-slate-200 dark:border-slate-700 z-[9999]",style:{top:g.top,left:g.left},children:(0,t.jsxs)("div",{className:"py-1",children:[c&&e&&(0,t.jsxs)("button",{type:"button",onClick:t=>b(t,e),className:"flex items-center w-full px-4 py-2 text-sm text-slate-700 dark:text-slate-200 hover:bg-slate-100 dark:hover:bg-slate-700 transition-colors",children:[(0,t.jsx)(s.f,{className:"mr-3 h-5 w-5"}),u||f({id:"edit",defaultMessage:"Edit"})]}),h&&l&&(0,t.jsxs)("button",{type:"button",onClick:e=>b(e,l),className:"flex items-center w-full px-4 py-2 text-sm text-rose-500 dark:text-rose-400 hover:bg-rose-50 dark:hover:bg-rose-900/20 transition-colors",children:[(0,t.jsx)(a.f,{className:"mr-3 h-5 w-5"}),d||f({id:"delete",defaultMessage:"Delete"})]})]})})})]})}])},60513,75284,e=>{var t=e.i(91788),r=e.i(28401),i=e.i(69322),n=e.i(30086),s=e.i(66773),a=e.i(98926),o=e.i(63104),l=e.i(3828);e.s(["f",0,()=>{let[e,u]=(0,t.useState)(!1),d=(0,a.f)(),c=(0,l.useRouter)(),{addWork:h}=(0,n.f)(),{formatMessage:f}=(0,i.S)(),m=(0,t.useCallback)(async e=>{let{data:t}=await d.query({query:(0,o.k)(),variables:{workId:e},fetchPolicy:"network-only"});return t?.work??null},[d]);return{isExporting:e,exportCSV:(0,t.useCallback)(async({type:e,pollInterval:t=2e3,...i})=>{u(!0);try{let r=await h({type:s.i.BulkExport,input:{type:e,...i}}),n=r?.data?.addWork?._id;if(!n)throw Error("Failed to create export work");await new Promise((e,r)=>{let i=setInterval(async()=>{try{let t=await m(n);if(!t)throw Error("Work not found");(t.status===s.h.Success||t.status===s.h.Failed)&&(clearInterval(i),t.status===s.h.Success&&t.success?(c.push(`/exports?workId=${t._id}`),e(t)):r(t.error||Error("Export failed")))}catch(e){clearInterval(i),r(e)}},t)})}catch(e){return console.error("Export failed:",e),r.c.error(f({id:"export_failed",defaultMessage:"Export failed. Please try again."})),null}finally{u(!1)}},[h,m,c,f])}}],60513);var u=e.i(91398),d=e.i(69211),c=e.i(64127),h=e.i(98949),f=e.i(99160);e.s(["f",0,function({options:e,onSubmit:r,loading:n=!1,successMessage:s=""}){let{formatMessage:a}=(0,i.S)(),o=(0,t.useMemo)(()=>e.reduce((e,t)=>(e[t.key]=t.defaultChecked??!0,e),{}),[e]),l=async e=>(await r(e),{success:!0}),m=(0,h.f)({successMessage:s||a({id:"export_completed",defaultMessage:"Data exported successfully"}),submit:l,enableReinitialize:!0,initialValues:o});return(0,u.jsx)(d.f,{form:m,children:m.formik.isSubmitting?(0,u.jsxs)("div",{className:"flex items-center gap-3 p-4 mb-4 rounded-lg animate-pulse",children:[(0,u.jsx)("div",{className:"w-5 h-5 border-2 border-blue-600 border-t-transparent rounded-full animate-spin"}),(0,u.jsx)("span",{className:"text-sm font-medium text-blue-700 dark:text-blue-300",children:a({id:"exporting_message",defaultMessage:"Generating your export files. This may take a moment..."})})]}):(0,u.jsxs)("fieldset",{disabled:n,style:{border:"none",padding:0},children:[(0,u.jsxs)("h3",{children:[" ",a({id:"export_options",defaultMessage:"Export options"})]}),e.map(e=>(0,u.jsx)(c.f,{name:e.key,label:e.label,hideLabel:!0,className:"mr-2 h-4 w-4 justify-between rounded-sm border-slate-300 dark:border-slate-600 bg-white text-slate-950 focus:ring-slate-800 lg:items-center",type:"checkbox"},e.key)),(0,u.jsx)(f.f,{label:a({id:"submit",defaultMessage:"Submit"}),disabled:n})]})})}],75284)},78193,e=>{var t=e.i(91788),r=e.i(69322),i=e.i(30086),n=e.i(66773);e.s(["f",0,({validate:e,process:s})=>{let{addWork:a}=(0,i.f)(),[o,l]=(0,t.useState)(!1),u=(0,r.S)();return{isImporting:o,importItems:async t=>{let r={success:0,failed:0,errors:[]};try{l(!0);let i=e(t,u);i.length>0&&(r.failed+=i.length,r.errors.push(...i));let o=await s(t);for(let e=0;e<o.length;e+=100){let t=o.slice(e,e+100);try{await a({type:n.i.BulkImport,input:{createShouldUpsertIfIDExists:!0,events:t}}),r.success+=t.length}catch(i){console.error("Batch import failed:",i),r.failed+=t.length,r.errors.push(`Batch starting at index ${e} failed: ${i.message}`)}}return l(!1),r}catch(e){return console.error("Import failed:",e),l(!1),r.errors.push(e.message||"Unknown error"),r}}}}])},16785,e=>{e.s(["f",0,(e,t)=>{let r=new Blob([e],{type:"text/csv;charset=utf-8;"}),i=document.createElement("a");if(void 0!==i.download){let e=URL.createObjectURL(r);i.setAttribute("href",e),i.setAttribute("download",t),i.style.visibility="hidden",document.body.appendChild(i),i.click(),document.body.removeChild(i),URL.revokeObjectURL(e)}}])},22003,e=>{e.s(["f",0,e=>{if("string"==typeof e&&e.trim())try{let t=JSON.parse(e);return t&&"object"==typeof t&&Object.keys(t).length?t:void 0}catch{return}}])},83147,e=>{let t=e=>e&&e?.split(",").reduce((e,t)=>{let[r=null,i=null]=(t||"")?.split("_")||[];return{...e,[r]:i}},null)||{};e.s(["S",0,(...e)=>e.filter(Boolean).join(" "),"R",0,e=>Object.entries(t(e))?.map(([e,t])=>({key:e,value:t})),"D",0,e=>e?.label&&e?.version?`${e.label} ${e.version}`:"","v",0,t,"Q",0,(e,t,r=!0)=>{if(!t)return"";try{return`${new Intl.DisplayNames([e],{type:"region"}).of(t)} ${r?`(${t})`:""}`}catch{return t}},"j",0,(e,t,r=!0)=>{if(!t)return"";try{return`${new Intl.DisplayNames([e],{type:"currency"}).of(t)} ${r?`(${t})`:""}`}catch{return t}},"I",0,(e,t,r=!0)=>{if(!t)return"";try{return`${new Intl.DisplayNames([e],{type:"language"}).of(t)} ${r?`(${t})`:""}`}catch{return t}},"_",0,(e,t,r)=>{let i;return i=r?{...e,[r]:t}:e,Object.keys(i)?.map(e=>[e,i[e]].join("="))?.join("&")},"d",0,()=>({formatPrice:e=>{if(!e?.currencyCode)return"n/a";if(e?.amount===void 0||e?.amount===null)return"";let{amount:t,currencyCode:r}=e||{};return new Intl.NumberFormat(navigator.language,{style:"currency",currency:r}).format(t/100)}})])},80294,e=>{var t=e.i(59080);let r=t.f`
|
|
2
|
-
fragment FilterFragment on Filter {
|
|
3
|
-
_id
|
|
4
|
-
updated
|
|
5
|
-
created
|
|
6
|
-
key
|
|
7
|
-
isActive
|
|
8
|
-
type
|
|
9
|
-
options {
|
|
10
|
-
_id
|
|
11
|
-
texts {
|
|
12
|
-
_id
|
|
13
|
-
title
|
|
14
|
-
subtitle
|
|
15
|
-
locale
|
|
16
|
-
}
|
|
17
|
-
value
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
`;e.s(["f",0,r])},54680,e=>{var t=e.i(59080),r=e.i(32171),i=e.i(80294);let n=t.f`
|
|
21
|
-
query Filters(
|
|
22
|
-
$queryString: String
|
|
23
|
-
$limit: Int
|
|
24
|
-
$offset: Int
|
|
25
|
-
$includeInactive: Boolean
|
|
26
|
-
$sort: [SortOptionInput!]
|
|
27
|
-
) {
|
|
28
|
-
filters(
|
|
29
|
-
queryString: $queryString
|
|
30
|
-
limit: $limit
|
|
31
|
-
offset: $offset
|
|
32
|
-
includeInactive: $includeInactive
|
|
33
|
-
sort: $sort
|
|
34
|
-
) {
|
|
35
|
-
...FilterFragment
|
|
36
|
-
texts {
|
|
37
|
-
_id
|
|
38
|
-
title
|
|
39
|
-
subtitle
|
|
40
|
-
locale
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
filtersCount(includeInactive: $includeInactive, queryString: $queryString)
|
|
44
|
-
}
|
|
45
|
-
${i.f}
|
|
46
|
-
`;e.s(["f",0,({queryString:e="",limit:t=20,offset:i=0,includeInactive:s=!0,sort:a=[],forceLocale:o=""}={})=>{let{data:l,loading:u,error:d,fetchMore:c,client:h}=(0,r.f)(n,{context:{headers:{forceLocale:o}},variables:{queryString:e,limit:t,offset:i,includeInactive:s,sort:a}}),f=l?.filters||[],m=l?.filtersCount,p=f?.length<m;return{filters:f,filtersCount:m,hasMore:p,loading:u,error:d,loadMore:()=>{c({variables:{offset:f?.length}})},client:h}}])},64127,e=>{var t=e.i(91398),r=e.i(72043),i=e.i(60741);e.s(["f",0,e=>{let{disabled:n,labelClassName:s,containerClassName:a,inputClassName:o,...l}=e,u=(0,i.f)({...e,type:"checkbox"});return(0,t.jsxs)("div",{className:(0,r.default)("",{"text-rose-600":!!u.error,checkbox:!0,disabled:u.disabled,required:u.required},a),children:[(0,t.jsx)("input",{checked:!!u.value,disabled:n,id:u.name,name:u.name,onChange:u.onChange,onBlur:u.onBlur,type:"checkbox",className:(0,r.default)("h-4 w-4 rounded-xs border-slate-300 dark:border-slate-600 bg-white dark:!bg-slate-800 text-indigo-600 dark:text-slate-200 focus:ring-slate-800",o,e.className),...l}),(0,t.jsx)("label",{htmlFor:u.name,className:(0,r.default)("text-sm text-slate-900 dark:text-slate-200",s,{"text-danger":!!u.error}),children:u.label})]})}])},15971,e=>{var t=e.i(91398),r=e.i(69322);e.s(["f",0,({onOkClick:e,onCancelClick:i,okText:n=null,cancelText:s=null,headerText:a=null,message:o=null,icon:l=null,close:u=null})=>{let{formatMessage:d}=(0,r.S)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"sm:flex sm:items-start",children:[l||(0,t.jsx)("div",{className:"mx-auto flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-rose-100 dark:bg-rose-900/30 sm:mx-0 sm:h-10 sm:w-10",children:(0,t.jsx)("svg",{className:"h-6 w-6 text-rose-600 dark:text-rose-400",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})})}),(0,t.jsxs)("div",{className:"mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left",children:[(0,t.jsx)("h3",{className:"text-lg text-slate-900 dark:text-slate-200",id:"modal-title",children:a||d({id:"warning",defaultMessage:"Warning!"})}),(0,t.jsx)("div",{className:"mt-2",children:(0,t.jsx)("p",{className:"text-sm text-slate-500 dark:text-slate-200",children:o||d({id:"are_you_sure",defaultMessage:"Are you sure?"})})})]})]}),(0,t.jsxs)("div",{className:"mt-5 sm:mt-4 sm:flex sm:flex-row-reverse",children:[(0,t.jsx)("button",{id:"danger_continue",onClick:e,type:"button",className:"inline-flex w-full justify-center rounded-md border border-transparent bg-rose-600 px-4 py-2 text-base font-medium text-white shadow-xs hover:bg-rose-700 focus:outline-hidden focus:ring-2 focus:ring-rose-500 focus:ring-offset-2 sm:ml-3 sm:w-auto sm:text-sm",children:n||d({id:"continue",defaultMessage:"Continue"})}),(0,t.jsx)("button",{id:"danger_cancel",onClick:i||u,type:"button",className:"mt-3 inline-flex w-full justify-center rounded-md border border-slate-300 bg-white px-4 py-2 text-base font-medium text-slate-700 shadow-xs hover:bg-slate-50 focus:outline-hidden focus:ring-2 focus:ring-slate-800 focus:ring-offset-2 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm",children:s||d({id:"cancel",defaultMessage:"Cancel"})})]})]})}])},42912,e=>{var t=e.i(91398),r=e.i(69322);e.s(["f",0,({result:e,title:i,entityName:n="items"})=>{let{formatMessage:s}=(0,r.S)();return(0,t.jsxs)("div",{className:"p-4",children:[(0,t.jsx)("h3",{className:"text-lg font-semibold mb-4",children:i||s({id:"import_results",defaultMessage:"Import Results"})}),(0,t.jsx)("p",{className:"text-green-600",children:s({id:"items_imported",defaultMessage:"{count} {entityName} imported successfully"},{count:e?.success,entityName:n})}),e?.failed>0&&(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-red-600 mt-2",children:s({id:"items_failed",defaultMessage:"{count} {entityName} failed to import"},{count:e?.failed,entityName:n})}),(0,t.jsxs)("div",{className:"mt-2 max-h-40 overflow-y-auto",children:[e.errors.slice(0,10).map((e,r)=>(0,t.jsx)("p",{className:"text-sm text-red-500",children:e},r)),e.errors.length>10&&(0,t.jsxs)("p",{className:"text-sm text-gray-500",children:["... and ",e.errors.length-10," more errors"]})]})]})]})}])},6607,e=>{var t=e.i(91788),r=e.i(6444);e.s(["f",0,()=>(0,t.useContext)(r.f)])},30086,e=>{var t=e.i(59080),r=e.i(76204);let i=t.f`
|
|
47
|
-
mutation AddWork(
|
|
48
|
-
$type: WorkType!
|
|
49
|
-
$priority: Int! = 0
|
|
50
|
-
$input: JSON
|
|
51
|
-
$originalWorkId: ID
|
|
52
|
-
$scheduled: Timestamp
|
|
53
|
-
$retries: Int! = 20
|
|
54
|
-
) {
|
|
55
|
-
addWork(
|
|
56
|
-
type: $type
|
|
57
|
-
priority: $priority
|
|
58
|
-
input: $input
|
|
59
|
-
originalWorkId: $originalWorkId
|
|
60
|
-
scheduled: $scheduled
|
|
61
|
-
retries: $retries
|
|
62
|
-
) {
|
|
63
|
-
_id
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
`;e.s(["f",0,()=>{let[e]=(0,r.f)(i);return{addWork:async({type:t,priority:r,input:i,originalWorkId:n,scheduled:s=null,retries:a})=>e({variables:{type:t,priority:r,input:i,originalWorkId:n,scheduled:s,retries:a},refetchQueries:["WorkQueue"]})}}])},63104,e=>{var t=e.i(59080),r=e.i(32171),i=e.i(70693),n=e.i(94672);let s=(e="")=>t.f`
|
|
67
|
-
query Work($workId: ID!) {
|
|
68
|
-
work(workId: $workId) {
|
|
69
|
-
...WorkFragment
|
|
70
|
-
${e}
|
|
71
|
-
error
|
|
72
|
-
priority
|
|
73
|
-
worker
|
|
74
|
-
timeout
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
${n.f}
|
|
78
|
-
`;e.s(["k",0,s,"U",0,({workId:e=null,...t})=>{let{customProperties:n}=(0,i.f)(),{data:a,loading:o,error:l,previousData:u}=(0,r.f)(s(n?.Work),{skip:!e,variables:{workId:e},...t});return{work:a?.work||u?.work,loading:o,error:l}}])},76842,e=>{var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...i},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":r},i),e?t.createElement("title",{id:r},e):null,t.createElement("path",{d:"m2.695 14.762-1.262 3.155a.5.5 0 0 0 .65.65l3.155-1.262a4 4 0 0 0 1.343-.886L17.5 5.501a2.121 2.121 0 0 0-3-3L3.58 13.419a4 4 0 0 0-.885 1.343Z"}))});e.s(["f",0,r],76842)},24557,e=>{var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...i},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":r},i),e?t.createElement("title",{id:r},e):null,t.createElement("path",{fillRule:"evenodd",d:"M8.75 1A2.75 2.75 0 0 0 6 3.75v.443c-.795.077-1.584.176-2.365.298a.75.75 0 1 0 .23 1.482l.149-.022.841 10.518A2.75 2.75 0 0 0 7.596 19h4.807a2.75 2.75 0 0 0 2.742-2.53l.841-10.52.149.023a.75.75 0 0 0 .23-1.482A41.03 41.03 0 0 0 14 4.193V3.75A2.75 2.75 0 0 0 11.25 1h-2.5ZM10 4c.84 0 1.673.025 2.5.075V3.75c0-.69-.56-1.25-1.25-1.25h-2.5c-.69 0-1.25.56-1.25 1.25v.325C8.327 4.025 9.16 4 10 4ZM8.58 7.72a.75.75 0 0 0-1.5.06l.3 7.5a.75.75 0 1 0 1.5-.06l-.3-7.5Zm4.34.06a.75.75 0 1 0-1.5-.06l-.3 7.5a.75.75 0 1 0 1.5.06l.3-7.5Z",clipRule:"evenodd"}))});e.s(["f",0,r],24557)},38322,e=>{var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...i},n){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:n,"aria-labelledby":r},i),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(["f",0,r],38322)},38187,e=>{var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...i},n){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:n,"aria-labelledby":r},i),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(["f",0,r],38187)},86712,e=>{var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...i},n){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:n,"aria-labelledby":r},i),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM12.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM18.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"}))});e.s(["f",0,r],86712)},24608,e=>{var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...i},n){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:n,"aria-labelledby":r},i),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))});e.s(["f",0,r],24608)},40238,(e,t,r)=>{var i=e.r(91788),n="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},s=i.useSyncExternalStore,a=i.useRef,o=i.useEffect,l=i.useMemo,u=i.useDebugValue;r.useSyncExternalStoreWithSelector=function(e,t,r,i,d){var c=a(null);if(null===c.current){var h={hasValue:!1,value:null};c.current=h}else h=c.current;var f=s(e,(c=l(function(){function e(e){if(!o){if(o=!0,s=e,e=i(e),void 0!==d&&h.hasValue){var t=h.value;if(d(t,e))return a=t}return a=e}if(t=a,n(s,e))return t;var r=i(e);return void 0!==d&&d(t,r)?(s=e,t):(s=e,a=r)}var s,a,o=!1,l=void 0===r?null:r;return[function(){return e(t())},null===l?void 0:function(){return e(l())}]},[t,r,i,d]))[0],c[1]);return o(function(){h.hasValue=!0,h.value=f},[f]),u(f),f}},19979,(e,t,r)=>{e.i(50461),t.exports=e.r(40238)}],72552,(e,t,r)=>{var i;let n;e.e,i=function e(){var t="u">typeof self?self:"u">typeof window?window:void 0!==t?t:{},r=!t.document&&!!t.postMessage,i=t.IS_PAPA_WORKER||!1,n={},s=0,a={};function o(e){return 65279===e.charCodeAt(0)?e.slice(1):e}function l(e){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},(function(e){var t=x(e);t.chunkSize=parseInt(t.chunkSize),e.step||e.chunk||(t.chunkSize=null),this._handle=new f(t),(this._handle.streamer=this)._config=t}).call(this,e),this.parseChunk=function(e,r){var n=parseInt(this._config.skipFirstNLines)||0;if(this.isFirstChunk&&0<n){let t=this._config.newline;t||(s=this._config.quoteChar||'"',t=this._handle.guessLineEndings(e,s)),e=[...e.split(t).slice(n)].join(t)}this.isFirstChunk&&v(this._config.beforeFirstChunk)&&void 0!==(s=this._config.beforeFirstChunk(e))&&(e=s),this.isFirstChunk=!1,this._halted=!1;var n=this._partialLine+e,s=(this._partialLine="",this._handle.parse(n,this._baseIndex,!this._finished));if(!this._handle.paused()&&!this._handle.aborted()){if(e=s.meta.cursor,this._finished||(this._partialLine=n.substring(e-this._baseIndex),this._baseIndex=e),s&&s.data&&(this._rowCount+=s.data.length),n=this._finished||this._config.preview&&this._rowCount>=this._config.preview,i)t.postMessage({results:s,workerId:a.WORKER_ID,finished:n});else if(v(this._config.chunk)&&!r){if(this._config.chunk(s,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);this._completeResults=s=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(s.data),this._completeResults.errors=this._completeResults.errors.concat(s.errors),this._completeResults.meta=s.meta),this._completed||!n||!v(this._config.complete)||s&&s.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),n||s&&s.meta.paused||this._nextChunk(),s}this._halted=!0},this._sendError=function(e){v(this._config.error)?this._config.error(e):i&&this._config.error&&t.postMessage({workerId:a.WORKER_ID,error:e,finished:!1})}}function u(e){var t;(e=e||{}).chunkSize||(e.chunkSize=a.RemoteChunkSize),l.call(this,e),this._nextChunk=r?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(e){this._input=e,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(t=new XMLHttpRequest,this._config.withCredentials&&(t.withCredentials=this._config.withCredentials),r||(t.onload=b(this._chunkLoaded,this),t.onerror=b(this._chunkError,this)),t.ontimeout=b(this._chunkTimeout,this),t.open(this._config.downloadRequestBody?"POST":"GET",this._input,!r),this._config.downloadTimeout&&!r&&(t.timeout=this._config.downloadTimeout),this._config.downloadRequestHeaders){var e,i,n=this._config.downloadRequestHeaders;for(i in n)t.setRequestHeader(i,n[i])}this._config.chunkSize&&(e=this._start+this._config.chunkSize-1,t.setRequestHeader("Range","bytes="+this._start+"-"+e));try{t.send(this._config.downloadRequestBody)}catch(e){this._chunkError(e.message)}r&&0===t.status&&this._chunkError()}},this._chunkLoaded=function(){let e;4===t.readyState&&(t.status<200||400<=t.status?this._chunkError():(this._start+=this._config.chunkSize||t.responseText.length,this._finished=!this._config.chunkSize||this._start>=(null!==(e=(e=t).getResponseHeader("Content-Range"))?parseInt(e.substring(e.lastIndexOf("/")+1)):-1),this.parseChunk(t.responseText)))},this._chunkError=function(e){e=t.statusText||e,this._sendError(Error(e))},this._chunkTimeout=function(){this._chunkError("Request timed out after "+this._config.downloadTimeout+"ms")}}function d(e){(e=e||{}).chunkSize||(e.chunkSize=a.LocalChunkSize),l.call(this,e);var t,r,i="u">typeof FileReader;this.stream=function(e){this._input=e,r=e.slice||e.webkitSlice||e.mozSlice,i?((t=new FileReader).onload=b(this._chunkLoaded,this),t.onerror=b(this._chunkError,this)):t=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var e=this._input,n=(this._config.chunkSize&&(n=Math.min(this._start+this._config.chunkSize,this._input.size),e=r.call(e,this._start,n)),t.readAsText(e,this._config.encoding));i||this._chunkLoaded({target:{result:n}})},this._chunkLoaded=function(e){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(e.target.result)},this._chunkError=function(){this._sendError(t.error)}}function c(e){var t;l.call(this,e=e||{}),this.stream=function(e){return t=e,this._nextChunk()},this._nextChunk=function(){var e,r;if(!this._finished)return t=(e=this._config.chunkSize)?(r=t.substring(0,e),t.substring(e)):(r=t,""),this._finished=!t,this.parseChunk(r)}}function h(e){l.call(this,e=e||{});var t=[],r=!0,i=!1;this.pause=function(){l.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){l.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(e){this._input=e,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){i&&1===t.length&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),t.length?this.parseChunk(t.shift()):r=!0},this._streamData=b(function(e){try{t.push("string"==typeof e?e:e.toString(this._config.encoding)),r&&(r=!1,this._checkIsFinished(),this.parseChunk(t.shift()))}catch(e){this._streamError(e)}},this),this._streamError=b(function(e){this._streamCleanUp(),this._sendError(e)},this),this._streamEnd=b(function(){this._streamCleanUp(),i=!0,this._streamData("")},this),this._streamCleanUp=b(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function f(e){var t,r,i,n,s=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,o=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,l=this,u=0,d=0,c=!1,h=!1,f=[],g={data:[],errors:[],meta:{}};function y(t){return"greedy"===e.skipEmptyLines?""===t.join("").trim():1===t.length&&0===t[0].length}function _(){if(g&&i&&(k("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+a.DefaultDelimiter+"'"),i=!1),e.skipEmptyLines&&(g.data=g.data.filter(function(e){return!y(e)})),b()){if(g)if(Array.isArray(g.data[0])){for(var t,r=0;b()&&r<g.data.length;r++)g.data[r].forEach(n);g.data.splice(0,1)}else g.data.forEach(n);function n(e){f.push(e)}}function l(t,r){for(var i=e.header?{}:[],n=0;n<t.length;n++){var a=n,l=t[n],l=((t,r)=>(e.dynamicTypingFunction&&void 0===e.dynamicTyping[t]&&(e.dynamicTyping[t]=e.dynamicTypingFunction(t)),!0===(e.dynamicTyping[t]||e.dynamicTyping))?"true"===r||"TRUE"===r||"false"!==r&&"FALSE"!==r&&((e=>{if(s.test(e)&&-0x20000000000000<(e=parseFloat(e))&&e<0x20000000000000)return 1})(r)?parseFloat(r):o.test(r)?new Date(r):""===r?null:r):r)(a=e.header?n>=f.length?"__parsed_extra":f[n]:a,l=e.transform?e.transform(l,a):l);"__parsed_extra"===a?(i[a]=i[a]||[],i[a].push(l)):i[a]=l}return e.header&&(n>f.length?k("FieldMismatch","TooManyFields","Too many fields: expected "+f.length+" fields but parsed "+n,d+r):n<f.length&&k("FieldMismatch","TooFewFields","Too few fields: expected "+f.length+" fields but parsed "+n,d+r)),i}g&&(e.header||e.dynamicTyping||e.transform)&&(t=1,!g.data.length||Array.isArray(g.data[0])?(g.data=g.data.map(l),t=g.data.length):g.data=l(g.data,0),e.header&&g.meta&&(g.meta.fields=f),d+=t)}function b(){return e.header&&0===f.length}function k(e,t,r,i){e={type:e,code:t,message:r},void 0!==i&&(e.row=i),g.errors.push(e)}v(e.step)&&(n=e.step,e.step=function(t){g=t,b()?_():(_(),0!==g.data.length&&(u+=t.data.length,e.preview&&u>e.preview?r.abort():(g.data=g.data[0],n(g,l))))}),this.parse=function(n,s,o){var l=e.quoteChar||'"',l=(e.newline||(e.newline=this.guessLineEndings(n,l)),i=!1,e.delimiter?v(e.delimiter)&&(e.delimiter=e.delimiter(n),g.meta.delimiter=e.delimiter):((l=((t,r,i,n,s)=>{var o,l,u,d;s=s||[","," ","|",";",a.RECORD_SEP,a.UNIT_SEP];for(var c=0;c<s.length;c++){for(var h,f=s[c],m=0,g=0,_=0,x=(u=void 0,new p({comments:n,delimiter:f,newline:r,preview:10}).parse(t)),b=0;b<x.data.length;b++)i&&y(x.data[b])?_++:(g+=h=x.data[b].length,void 0===u?u=h:0<h&&(m+=Math.abs(h-u),u=h));0<x.data.length&&(g/=x.data.length-_),1.99<g&&(void 0===l||m<l||m===l&&d<g)&&(l=m,o=f,d=g)}return{successful:!!(e.delimiter=o),bestDelimiter:o}})(n,e.newline,e.skipEmptyLines,e.comments,e.delimitersToGuess)).successful?e.delimiter=l.bestDelimiter:(i=!0,e.delimiter=a.DefaultDelimiter),g.meta.delimiter=e.delimiter),x(e));return l.header=b(),e.preview&&e.header&&l.preview++,t=n,g=(r=new p(l)).parse(t,s,o),_(),c?{meta:{paused:!0}}:g||{meta:{paused:!1}}},this.paused=function(){return c},this.pause=function(){c=!0,r.abort(),t=v(e.chunk)?"":t.substring(r.getCharIndex())},this.resume=function(){l.streamer._halted?(c=!1,l.streamer.parseChunk(t,!0)):setTimeout(l.resume,3)},this.aborted=function(){return h},this.abort=function(){h=!0,r.abort(),g.meta.aborted=!0,v(e.complete)&&e.complete(g),t=""},this.guessLineEndings=function(e,t){e=e.substring(0,1048576);var t=RegExp(m(t)+"([^]*?)"+m(t),"gm"),r=(e=e.replace(t,"")).split("\r"),t=e.split("\n"),e=1<t.length&&t[0].length<r[0].length;if(1===r.length||e)return"\n";for(var i=0,n=0;n<r.length;n++)"\n"===r[n][0]&&i++;return i>=r.length/2?"\r\n":"\r"}}function m(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function p(e){var t=(e=e||{}).delimiter,r=e.newline,i=e.comments,n=e.step,s=e.preview,l=e.fastMode,u=null,d=!1,c=null==e.quoteChar?'"':e.quoteChar,h=c;if(void 0!==e.escapeChar&&(h=e.escapeChar),("string"!=typeof t||-1<a.BAD_DELIMITERS.indexOf(t))&&(t=","),i===t)throw Error("Comment character same as delimiter");!0===i?i="#":("string"!=typeof i||-1<a.BAD_DELIMITERS.indexOf(i))&&(i=!1),"\n"!==r&&"\r"!==r&&"\r\n"!==r&&(r="\n");var f=0,p=!1;this.parse=function(a,g,y){if("string"!=typeof a)throw Error("Input must be a string");var _=a.length,x=t.length,b=r.length,k=i.length,w=v(n),E=[],C=[],j=[],R=f=0;if(!a)return B();if(l||!1!==l&&-1===a.indexOf(c)){for(var S=a.split(r),I=0;I<S.length;I++){if(j=S[I],f+=j.length,I!==S.length-1)f+=r.length;else if(y)break;if(!i||j.substring(0,k)!==i){if(w){if(E=[],D(j.split(t)),W(),p)return B()}else D(j.split(t));if(s&&s<=I)return E=E.slice(0,s),B(!0)}}return B()}for(var O=a.indexOf(t,f),N=a.indexOf(r,f),L=RegExp(m(h)+m(c),"g"),T=a.indexOf(c,f);;)if(a[f]===c)for(T=f,f++;;){if(-1===(T=a.indexOf(c,T+1)))return y||C.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:E.length,index:f}),F();if(T===_-1)return F(a.substring(f,T).replace(L,c));if(c===h&&a[T+1]===h)T++;else if(c===h||0===T||a[T-1]!==h){-1!==O&&O<T+1&&(O=a.indexOf(t,T+1));var A=M(-1===(N=-1!==N&&N<T+1?a.indexOf(r,T+1):N)?O:Math.min(O,N));if(a.substr(T+1+A,x)===t){j.push(a.substring(f,T).replace(L,c)),a[f=T+1+A+x]!==c&&(T=a.indexOf(c,f)),O=a.indexOf(t,f),N=a.indexOf(r,f);break}if(A=M(N),a.substring(T+1+A,T+1+A+b)===r){if(j.push(a.substring(f,T).replace(L,c)),$(T+1+A+b),O=a.indexOf(t,f),T=a.indexOf(c,f),w&&(W(),p))return B();if(s&&E.length>=s)return B(!0);break}C.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:E.length,index:f}),T++}}else if(i&&0===j.length&&a.substring(f,f+k)===i){if(-1===N)return B();f=N+b,N=a.indexOf(r,f),O=a.indexOf(t,f)}else if(-1!==O&&(O<N||-1===N))j.push(a.substring(f,O)),f=O+x,O=a.indexOf(t,f);else{if(-1===N)break;if(j.push(a.substring(f,N)),$(N+b),w&&(W(),p))return B();if(s&&E.length>=s)return B(!0)}return F();function D(e){E.push(e),R=f}function M(e){return -1!==e&&(e=a.substring(T+1,e))&&""===e.trim()?e.length:0}function F(e){return y||(void 0===e&&(e=a.substring(f)),j.push(e),f=_,D(j),w&&W()),B()}function $(e){f=e,D(j),j=[],N=a.indexOf(r,f)}function B(i){if(e.header&&!g&&E.length&&!d){var n=E[0],s=Object.create(null),a=new Set(n);let t=!1;for(let r=0;r<n.length;r++){let i=o(n[r]);if(s[i=v(e.transformHeader)?e.transformHeader(i,r):i]){let e,o=s[i];for(;e=i+"_"+o,o++,a.has(e););a.add(e),n[r]=e,s[i]++,t=!0,(u=null===u?{}:u)[e]=i}else s[i]=1,n[r]=i;a.add(i)}t&&console.warn("Duplicate headers found and renamed."),d=!0}return{data:E,errors:C,meta:{delimiter:t,linebreak:r,aborted:p,truncated:!!i,cursor:R+(g||0),renamedHeaders:u}}}function W(){n(B()),E=[],C=[]}},this.abort=function(){p=!0},this.getCharIndex=function(){return f}}function g(e){var t=e.data,r=n[t.workerId],i=!1;if(t.error)r.userError(t.error,t.file);else if(t.results&&t.results.data){var s={abort:function(){i=!0,y(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:_,resume:_};if(v(r.userStep)){for(var a=0;a<t.results.data.length&&(r.userStep({data:t.results.data[a],errors:t.results.errors,meta:t.results.meta},s),!i);a++);delete t.results}else v(r.userChunk)&&(r.userChunk(t.results,s,t.file),delete t.results)}t.finished&&!i&&y(t.workerId,t.results)}function y(e,t){var r=n[e];v(r.userComplete)&&r.userComplete(t),r.terminate(),delete n[e]}function _(){throw Error("Not implemented.")}function x(e){if("object"!=typeof e||null===e)return e;var t,r=Array.isArray(e)?[]:{};for(t in e)r[t]=x(e[t]);return r}function b(e,t){return function(){e.apply(t,arguments)}}function v(e){return"function"==typeof e}return a.parse=function(r,i){var l,f,m,p=(i=i||{}).dynamicTyping||!1;if(v(p)&&(i.dynamicTypingFunction=p,p={}),i.dynamicTyping=p,i.transform=!!v(i.transform)&&i.transform,void 0!==i.downloadTimeout){var p=parseInt(i.downloadTimeout);if(isNaN(p))throw Error("Config downloadTimeout value ("+i.downloadTimeout+") not parsable by parseInt(val).");i.downloadTimeout=p}if(!i.worker||!a.WORKERS_SUPPORTED)return p=null,a.NODE_STREAM_INPUT,"string"==typeof r?(r=o(r),p=new(i.download?u:c)(i)):!0===r.readable&&v(r.read)&&v(r.on)?p=new h(i):(t.File&&r instanceof File||r instanceof Object)&&(p=new d(i)),p.stream(r);(p=!!a.WORKERS_SUPPORTED&&(f=t.URL||t.webkitURL||null,m=e.toString(),l=a.BLOB_URL||(a.BLOB_URL=f.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",m,")();"],{type:"text/javascript"}))),(l=new t.Worker(l)).onmessage=g,l.id=s++,n[l.id]=l)).userStep=i.step,p.userChunk=i.chunk,p.userComplete=i.complete,p.userError=i.error,i.step=v(i.step),i.chunk=v(i.chunk),i.complete=v(i.complete),i.error=v(i.error),delete i.worker,p.postMessage({input:r,config:i,workerId:p.id})},a.unparse=function(e,t){var r=!1,i=!0,n=",",s="\r\n",o='"',l=o+o,u=!1,d=null,c=!1,h=((()=>{if("object"==typeof t){if("string"!=typeof t.delimiter||a.BAD_DELIMITERS.filter(function(e){return -1!==t.delimiter.indexOf(e)}).length||(n=t.delimiter),("boolean"==typeof t.quotes||"function"==typeof t.quotes||Array.isArray(t.quotes))&&(r=t.quotes),"boolean"!=typeof t.skipEmptyLines&&"string"!=typeof t.skipEmptyLines||(u=t.skipEmptyLines),"string"==typeof t.newline&&(s=t.newline),"string"==typeof t.quoteChar&&(l=(o=t.quoteChar)+o),"boolean"==typeof t.header&&(i=t.header),Array.isArray(t.columns)){if(0===t.columns.length)throw Error("Option columns is empty");d=t.columns}void 0!==t.escapeChar&&(l=t.escapeChar+o),t.escapeFormulae instanceof RegExp?c=t.escapeFormulae:"boolean"==typeof t.escapeFormulae&&t.escapeFormulae&&(c=/^[=+\-@\t\r].*$/)}})(),RegExp(m(o),"g"));if("string"==typeof e&&(e=JSON.parse(e)),Array.isArray(e)){if(!e.length||Array.isArray(e[0]))return f(null,e,u);if("object"==typeof e[0])return f(d||Object.keys(e[0]),e,u)}else if("object"==typeof e)return"string"==typeof e.data&&(e.data=JSON.parse(e.data)),Array.isArray(e.data)&&(e.fields||(e.fields=e.meta&&e.meta.fields||d),e.fields||(e.fields=Array.isArray(e.data[0])?e.fields:"object"==typeof e.data[0]?Object.keys(e.data[0]):[]),Array.isArray(e.data[0])||"object"==typeof e.data[0]||(e.data=[e.data])),f(e.fields||[],e.data||[],u);throw Error("Unable to serialize unrecognized input");function f(e,t,r){var a="",o=("string"==typeof e&&(e=JSON.parse(e)),"string"==typeof t&&(t=JSON.parse(t)),Array.isArray(e)&&0<e.length),l=!Array.isArray(t[0]);if(o&&i){for(var u=0;u<e.length;u++)0<u&&(a+=n),a+=p(e[u],u);0<t.length&&(a+=s)}for(var d=0;d<t.length;d++){var c=(o?e:t[d]).length,h=!1,f=o?0===Object.keys(t[d]).length:0===t[d].length;if(r&&!o&&(h="greedy"===r?""===t[d].join("").trim():1===t[d].length&&0===t[d][0].length),"greedy"===r&&o){for(var m=[],g=0;g<c;g++){var y=l?e[g]:g;m.push(t[d][y])}h=""===m.join("").trim()}if(!h){for(var _=0;_<c;_++){0<_&&!f&&(a+=n);var x=o&&l?e[_]:_;a+=p(t[d][x],_)}d<t.length-1&&(!r||0<c&&!f)&&(a+=s)}}return a}function p(e,t){var i,s,u;return null==e?"":e.constructor===Date?isNaN(e.getTime())?"":e.toISOString():(u=!1,c&&"string"==typeof e&&c.test(e)&&(e="'"+e,u=!0),s=(i=e.toString()).replace(h,l),(u=u||!0===r||"function"==typeof r&&r(e,t)||Array.isArray(r)&&r[t]||((e,t)=>{for(var r=0;r<t.length;r++)if(-1<e.indexOf(t[r]))return!0;return!1})(s,a.BAD_DELIMITERS)||-1<s.indexOf(n)||-1<i.indexOf(o)||" "===s.charAt(0)||" "===s.charAt(s.length-1))?o+s+o:s)}},a.RECORD_SEP="\x1e",a.UNIT_SEP="\x1f",a.BYTE_ORDER_MARK="\uFEFF",a.BAD_DELIMITERS=["\r","\n",'"',a.BYTE_ORDER_MARK],a.WORKERS_SUPPORTED=!r&&!!t.Worker,a.NODE_STREAM_INPUT=1,a.LocalChunkSize=0xa00000,a.RemoteChunkSize=5242880,a.DefaultDelimiter=",",a.Parser=p,a.ParserHandle=f,a.NetworkStreamer=u,a.FileStreamer=d,a.StringStreamer=c,a.ReadableStreamStreamer=h,i&&(t.onmessage=function(e){e=e.data,void 0===a.WORKER_ID&&e&&(a.WORKER_ID=e.workerId),"string"==typeof e.input?t.postMessage({workerId:a.WORKER_ID,results:a.parse(e.input,e.config),finished:!0}):(t.File&&e.input instanceof File||e.input instanceof Object)&&(e=a.parse(e.input,e.config))&&t.postMessage({workerId:a.WORKER_ID,results:e,finished:!0})}),(u.prototype=Object.create(l.prototype)).constructor=u,(d.prototype=Object.create(l.prototype)).constructor=d,(c.prototype=Object.create(c.prototype)).constructor=c,(h.prototype=Object.create(l.prototype)).constructor=h,a},"function"==typeof define&&define.amd?void 0!==(n=i())&&e.v(n):t.exports=i()}]);
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
__turbopack_load_page_chunks__("/quotations", [
|
|
2
|
-
"static/chunks/3srw10h0hcztd.js",
|
|
3
|
-
"static/chunks/3bo7uiy-wh63m.js",
|
|
4
|
-
"static/chunks/0ydy3ky15gx62.js",
|
|
5
|
-
"static/chunks/336k08jwyc5i-.js",
|
|
6
|
-
"static/chunks/0ewr86ctcw7fx.js",
|
|
7
|
-
"static/chunks/3c-an5ft_3emc.js",
|
|
8
|
-
"static/chunks/turbopack-2c3mg3r-05n1w.js"
|
|
9
|
-
])
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
__turbopack_load_page_chunks__("/users/UserDetailPage", [
|
|
2
|
-
"static/chunks/35hu5vin0swdf.js",
|
|
3
|
-
"static/chunks/2p9gwjxeui1zd.js",
|
|
4
|
-
"static/chunks/3-wsablhqgzoa.js",
|
|
5
|
-
"static/chunks/3lku4-9kpf-mj.js",
|
|
6
|
-
"static/chunks/3c-an5ft_3emc.js",
|
|
7
|
-
"static/chunks/336k08jwyc5i-.js",
|
|
8
|
-
"static/chunks/0ewr86ctcw7fx.js",
|
|
9
|
-
"static/chunks/1a9-pdm78ri7r.js",
|
|
10
|
-
"static/chunks/2rmgaa88-4bpb.js",
|
|
11
|
-
"static/chunks/turbopack-2c3mg3r-05n1w.js"
|
|
12
|
-
])
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
(()=>{"use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,61494,e=>{var t=e.i(91398),r=e.i(41158),a=e.i(3828),s=e.i(69322);e.s(["f",0,({routeName:e=null,currentPageTitle:l=null,depth:n=null})=>{let o=(0,a.useRouter)(),{formatMessage:i}=(0,s.S)(),d={home:"home",products:"products",orders:"orders",users:"users",assortments:"assortments",filters:"filters",tokens:"tokens",quotations:"quotations",enrollments:"enrollments",activities:"activities",works:"work_queue",events:"events",currency:"currencies",country:"countries",language:"languages","delivery-provider":"delivery_providers","payment-provider":"payment_providers","warehousing-provider":"warehousing_provider",system:"system",account:"account",new:"new",edit:"edit"},c=o.asPath?.split("/")?.filter((e,t)=>o.asPath?.split("/")?.indexOf(e)===t);if(1===c.length)return null;let u="";n&&c.splice(n),e&&(c[c.length-1]=e);let f=c?.map(t=>{if(u+=`${t}/`,!t)return{name:i({id:"home",defaultMessage:"Home"}),path:"/"};let r=t?.split("?")[0],a=e?r:r.replace(/-/g," "),s=d[r];return{name:s?i({id:s,defaultMessage:a}):decodeURIComponent(a),path:u.replace(/.$/,"")}});return(0,t.jsx)("nav",{className:"mb-5 hidden sm:flex lg:mt-5 lg:mb-8","aria-label":"Breadcrumb",children:(0,t.jsx)("ol",{className:"flex items-center space-x-4",children:f?.map((e,a)=>(0,t.jsx)("li",{children:(0,t.jsxs)("div",{className:"flex items-center",children:[0!==a&&(0,t.jsx)("svg",{className:"mr-4 h-5 w-5 shrink-0 text-slate-400",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.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z",clipRule:"evenodd"})}),(0,t.jsx)(r.default,{href:e.path,className:"text-sm font-medium capitalize text-slate-500 dark:text-slate-400 dark:hover:text-slate-300 hover:text-slate-700 focus:outline-hidden focus:ring-2 focus:ring-slate-800 rounded-md px-1 py-1",children:a===f.length-1&&l?l:e.name})]})},e.path))})})}])},81013,e=>{var t=e.i(91398),r=e.i(72043);e.s(["f",0,({text:e,children:a,onClick:s,className:l="",disabled:n=!1,id:o="",variant:i="primary",size:d="md",type:c="button",loading:u=!1,icon:f,iconRight:m,fullWidth:p=!1,rounded:x="md",ariaLabel:h,...b})=>{let g=a||e,v=(f||m)&&g?"gap-2":"";return(0,t.jsx)("button",{id:o,type:c,disabled:n||u,onClick:s,"aria-label":h,className:(0,r.default)("inline-flex items-center justify-center font-medium shadow-xs focus:outline-hidden focus:ring-2 focus:ring-offset-2 transition-colors duration-200 disabled:cursor-not-allowed disabled:opacity-50",{xs:"px-2.5 py-1.5 text-xs h-6",sm:"px-3 py-2 text-sm h-8",md:"px-4 py-2 text-sm h-9",lg:"px-6 py-3 text-base h-11"}[d],{none:"rounded-none",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",full:"rounded-full"}[x],{primary:"border border-slate-800 dark:border-slate-600 bg-slate-800 dark:bg-slate-600 text-white hover:bg-slate-900 dark:hover:bg-slate-500 focus:ring-slate-800 dark:focus:ring-slate-400",secondary:"border border-slate-300 dark:border-slate-600 bg-white dark:bg-slate-800 text-slate-700 dark:text-slate-200 hover:bg-slate-50 dark:hover:bg-slate-700 focus:ring-slate-500",tertiary:"border border-slate-200 dark:border-slate-700 bg-slate-50 dark:bg-slate-800 text-slate-600 dark:text-slate-300 hover:bg-slate-100 dark:hover:bg-slate-700 focus:ring-slate-400",quaternary:"bg-transparent text-slate-700 dark:text-slate-200 hover:bg-slate-100 dark:hover:bg-slate-800 focus:ring-slate-400",danger:"border border-rose-500 dark:border-rose-400 bg-white dark:bg-slate-800 text-rose-600 dark:text-rose-400 hover:bg-rose-50 dark:hover:bg-rose-900/10 focus:ring-rose-500",ghost:"bg-transparent border border-transparent text-slate-600 dark:text-slate-400 hover:text-slate-900 dark:hover:text-slate-200 hover:bg-slate-100 dark:hover:bg-slate-800 focus:ring-slate-400",success:"border border-emerald-500 dark:border-emerald-400 bg-emerald-50 dark:bg-emerald-900/20 text-emerald-600 dark:text-emerald-400 hover:bg-emerald-100 dark:hover:bg-emerald-900/30 focus:ring-emerald-500",neutral:"border border-slate-300 dark:border-slate-600 bg-slate-100 dark:bg-slate-700 text-slate-600 dark:text-slate-300 hover:bg-slate-200 dark:hover:bg-slate-600 focus:ring-slate-400",input:"border border-slate-300 dark:border-slate-600 bg-white dark:bg-slate-800 text-slate-900 dark:text-slate-100 hover:border-slate-400 dark:hover:border-slate-500 focus:ring-slate-500 focus:border-slate-500"}[i],v,{"w-full":p},l),...b,children:u?(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("div",{className:"w-4 h-4 border-2 border-current border-t-transparent rounded-full animate-spin"}),g]}):(0,t.jsxs)(t.Fragment,{children:[f,g,m]})})}])},62100,e=>{var t=e.i(91398),r=e.i(24557),a=e.i(72043),s=e.i(69322);e.s(["f",0,({onClick:e,className:l="",icon:n=null,textRight:o="",textLeft:i="",ariaLabel:d=""})=>{let{formatMessage:c}=(0,s.S)();return(0,t.jsxs)("button",{"aria-label":d||c({id:"delete",defaultMessage:"Delete"}),id:"delete_button",type:"button",onClick:e,className:(0,a.default)("flex justify-center items-center rounded-full dark:bg-slate-800 p-2 w-8 h-8 text-sm text-rose-500 dark:text-rose-400 hover:bg-rose-50 dark:hover:bg-rose-900/20 focus:outline-hidden focus:ring-2 focus:ring-rose-500 focus:ring-offset-2",l),children:[i||"",n||(0,t.jsx)(r.f,{className:"h-5 w-5"}),o||""]})}])},31494,e=>{var t=e.i(91398),r=e.i(69322),a=e.i(84818),s=e.i(35065),l=e.i(64591);let n=({value:e})=>{let{formatDateTime:n}=(0,a.f)(),{formatMessage:o}=(0,r.S)();return(e=>{try{return new URL(e)}catch{return!1}})(e)?(e=>{try{let{pathname:t}=new URL(e),r=t?.split("."),a=`.${r[r.length-1]}`;return[".jpg",".jpeg",".png",".gif",".bmp"].includes(a)}catch{return!1}})(e)?(0,t.jsx)("div",{className:"ring-2 ring-offset-2 ring-slate-900 group block w-full aspect-w-10 aspect-h-7 rounded-lg bg-slate-50 overflow-hidden",children:(0,t.jsx)(s.f,{src:e,className:"relative h-10 w-10 rounded-full",width:100,height:100,alt:o({id:"image_not_available",defaultMessage:"Image not available"})})}):(0,t.jsx)("div",{className:"ml-4 shrink-0",children:(0,t.jsxs)("a",{href:e,className:"font-medium text-slate-900 hover:text-slate-800",target:"_blank",rel:"noreferrer",children:[new URL(e).host,"...",new URL(e).pathname]})}):(e=>{try{return"boolean"==typeof JSON.parse(e)}catch{return!1}})(e)?(0,t.jsx)(l.f,{disabled:!0,active:JSON.parse(e)}):!Number.isNaN(Date.parse(e))&&Number.isNaN(Number(e))?n(e,{dateStyle:"long",timeStyle:"short"}):(!Number.isNaN(e),e)},o=({value:e})=>(0,t.jsx)("h3",{className:"text-base font-medium",children:(0,t.jsx)("span",{className:"text-slate-900",children:e})}),i=e=>{let{data:r,parentKey:a}=e;if(!r)return null;let s=Object.keys(r),l=[];return void 0!==a&&l.push((0,t.jsx)(o,{value:a},a)),s.forEach(e=>{let s=r[e];if(Array.isArray(s))if(l.push((0,t.jsx)(o,{value:e},e)),s.every(e=>"string"==typeof e||"number"==typeof e))l.push((0,t.jsx)("div",{className:" p-2",children:s?.map(e=>(0,t.jsx)("span",{className:"inline-flex items-center rounded-md bg-slate-50 px-2.5 py-0.5 text-sm font-medium text-slate-800 ml-2",children:(0,t.jsx)(n,{value:e})},e))},e));else{let r=[];s.forEach((e,a)=>{r.push((0,t.jsx)("li",{className:"flex items-center text-slate-600 justify-between py-3 pl-3 pr-4 text-sm",children:i({data:e,parentKey:a})},a))}),l.push((0,t.jsx)("ul",{className:"divide-y divide-slate-200 rounded-md ",children:r},e))}else"object"==typeof s?l.push(i({data:s,parentKey:e})):void 0===a?l.push((0,t.jsxs)("div",{className:"py-4 sm:grid sm:grid-cols-3 sm:gap-4 sm:py-5",children:[(0,t.jsx)("dt",{className:"text-sm font-medium text-slate-700",children:(0,t.jsx)(o,{value:e},e)}),(0,t.jsx)("dd",{className:"mt-1 text-sm text-slate-900 sm:col-span-2 sm:mt-0",children:(0,t.jsx)(n,{value:s})})]},e)):l.push((0,t.jsxs)("div",{className:"py-4 sm:grid sm:grid-cols-3 sm:gap-4 sm:py-5 sm:px-6",children:[(0,t.jsx)("dt",{className:"text-sm font-medium text-slate-700",children:(0,t.jsx)(o,{value:e},e)}),(0,t.jsx)("dd",{className:"mt-1 text-sm text-slate-900 sm:col-span-2 sm:mt-0",children:(0,t.jsx)(n,{value:s})})]},e))}),(0,t.jsx)("div",{className:" bg-white px-4 py-5 ",children:(0,t.jsx)("dl",{children:l})})};e.s(["f",0,i])},17644,e=>{var t=e.i(91398),r=e.i(58678),a=e.i(41158),s=e.i(69322),l=e.i(37369),n=e.i(81013);e.s(["f",0,({headerText:e=null,onEdit:o=null,onDelete:i=null,children:d=null,title:c=null,addPath:u=null,addButtonText:f=null})=>{let{formatMessage:m}=(0,s.S)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.default,{children:(0,t.jsxs)("title",{children:["Unchained AdminUI - ",c||e," "]})}),(0,t.jsx)("div",{className:"flex gap-3 flex-wrap items-center justify-between",children:(0,t.jsxs)("div",{className:"flex items-center flex-wrap justify-between w-full gap-4",children:[e&&(0,t.jsx)("h2",{className:"text-2xl font-medium text-slate-900 dark:text-slate-300 sm:truncate sm:text-3xl lg:text-4xl",children:e}),(0,t.jsxs)("div",{className:"flex items-center gap-3 flex-shrink-0",children:[d,u&&(0,t.jsx)(a.default,{href:u,children:(0,t.jsx)(n.f,{variant:"secondary",icon:(0,t.jsx)(l.f,{className:"h-5 w-5"}),text:f||m({id:"add",defaultMessage:"Add"})})}),o&&(0,t.jsx)(n.f,{variant:"secondary",onClick:o,text:m({id:"edit",defaultMessage:"Edit"})}),i&&(0,t.jsx)(n.f,{variant:"danger",onClick:i,text:m({id:"delete",defaultMessage:"Delete"})})]})]})})]})}])},57468,e=>{var t=e.i(91398),r=e.i(72043),a=e.i(69322),s=e.i(99160);e.s(["f",0,({cancelText:e=null,showCancel:l=!0,submitText:n=null,showSubmit:o=!0,onCancel:i,className:d=""})=>{let{formatMessage:c}=(0,a.S)();return(0,t.jsxs)("span",{className:(0,r.default)("flex shrink-0 items-center space-x-4 py-5 pl-1",d),children:[l?(0,t.jsx)("button",{onClick:i,"data-id":"cancel_update",type:"button",className:(0,r.default)("focus:ring-slate-800","inline-flex items-center rounded-md border border-slate-300 dark:border-slate-700 bg-white dark:bg-slate-800 px-4 py-2 text-sm font-medium text-slate-700 dark:text-slate-300 shadow-xs hover:bg-slate-50 dark:hover:bg-slate-700 focus:outline-hidden focus:ring-2 focus:ring-slate-800 focus:ring-offset-2"),children:e||c({id:"cancel",defaultMessage:"Cancel"})}):null,o?(0,t.jsx)(s.f,{label:n||c({id:"save",defaultMessage:"Save"})}):null]})}])},60195,e=>{var t=e.i(91398),r=e.i(72043);e.s(["f",0,({documentationLabel:e,documentation:a=null,mainContent:s=null,sideComponents:l=null,className:n=null,children:o})=>(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:(0,r.default)("mt-5 lg:grid lg:grid-cols-3 lg:gap-6",n),children:[(0,t.jsx)("div",{className:"lg:col-span-1 mt-10 lg:mt-1",children:(0,t.jsxs)("div",{className:"px-4 sm:px-0",children:[(0,t.jsx)("h3",{className:"text-lg text-slate-900 dark:text-slate-200",children:e}),(0,t.jsx)("div",{className:"mt-1 text-sm text-slate-600 dark:text-slate-500",children:a}),l]})}),(0,t.jsx)("div",{className:"lg:col-span-2 lg:mt-0",children:o||s})]})})])},41523,e=>{var t=e.i(91398),r=e.i(72043),a=e.i(3828),s=e.i(91788),l=e.i(69322);e.s(["f",0,({children:e,tabItems:n,defaultTab:o,updateRoute:i=!0})=>{let d=(0,a.useRouter)(),{tab:c=o}=d?.query||{},u=Array.isArray(c)?c[0]:c,{formatMessage:f}=(0,l.S)(),m=e=>{if(i){let{sort:t,...r}=d?.query||{};d.push({query:{...r,tab:e}},void 0,{shallow:!0})}};return(0,t.jsxs)("div",{className:"mt-10",children:[(0,t.jsxs)("div",{className:"lg:hidden",children:[(0,t.jsx)("label",{htmlFor:"selected-tab",className:"sr-only",children:f({id:"select_tab",defaultMessage:"Select a tab"})}),(0,t.jsx)("select",{onChange:e=>m(e.target.value),id:"selected-tab",name:"selected-tab",className:"mt-1 block dark:bg-slate-800 dark:text-white w-full rounded-md border-slate-300 dark:border-slate-600 py-2 pl-3 pr-10 text-base capitalize focus:outline-none focus:ring-2 focus:ring-slate-800 dark:focus:ring-slate-400 focus:border-slate-800 dark:focus:border-slate-400 sm:text-sm",value:u,children:n.filter(Boolean).map(e=>(0,t.jsx)("option",{value:e.id,className:"dark:text-white",children:e?.title||e?.id},e.id))})]}),(0,t.jsx)("div",{className:"mt-5 hidden lg:block",children:(0,t.jsx)("div",{className:"",children:(0,t.jsx)("nav",{className:"flex flex-wrap gap-3",children:n.filter(Boolean).map(e=>(0,t.jsx)("a",{id:e.id,tabIndex:0,onClick:()=>m(e.id),onKeyDown:t=>{("Enter"===t.key||" "===t.key)&&(t.preventDefault(),m(e.id))},className:(0,r.default)({"cursor-pointer rounded-lg border border-slate-300 dark:border-slate-600 bg-white text-slate-900 dark:text-slate-100 dark:bg-slate-900 shadow-sm dark:hover:border-slate-500 hover:border-slate-400 focus:outline-none focus:ring-2 focus:ring-slate-800 dark:focus:ring-slate-400 focus:ring-offset-2 dark:focus:ring-offset-slate-900":u===e.id},"cursor-pointer relative whitespace-nowrap border border-slate-200 dark:border-slate-800 py-2 px-1 pr-3 pl-2 text-sm dark:text-slate-400 font-medium hover:bg-white dark:hover:bg-slate-800 hover:border-slate-300 dark:hover:border-slate-500 rounded-lg focus:outline-none focus:ring-2 focus:ring-slate-800 dark:focus:ring-slate-400 focus:ring-offset-2 dark:focus:ring-offset-slate-900"),children:(0,t.jsxs)("div",{className:"flex items-center space-x-1",children:[(0,t.jsx)("div",{children:e.Icon}),(0,t.jsx)("div",{className:"capitalize",children:e?.title||e?.id}),e?.length?(0,t.jsx)("span",{className:"absolute top-0 right-0 inline-flex translate-x-1/2 -translate-y-1/2 transform items-center justify-center rounded-full bg-slate-400 px-1 py-0.5 text-sm leading-none text-slate-900",children:e?.length}):null]})},e.id))})})}),(0,t.jsx)("div",{className:"mt-5",children:s.default.cloneElement(e,{selectedView:u})})]})}])},37932,e=>{var t=e.i(91398),r=e.i(69322),a=e.i(6607),s=e.i(65153),l=e.i(69211),n=e.i(96015),o=e.i(98949),i=e.i(57468);let d=({tags:e,onSubmit:a,onCancel:s,selectOptions:d=[]})=>{let{formatMessage:c}=(0,r.S)(),u=c({id:"tags_updated",defaultMessage:"Tags updated successfully"}),f=(0,o.f)({submit:a,successMessage:u,onSubmitSuccess:s,initialValues:{tags:e}});return(0,t.jsxs)(l.f,{form:f,id:"add_tag_form",children:[(0,t.jsx)("div",{children:(0,t.jsx)(n.f,{name:"tags",id:"tags",label:c({id:"tags",defaultMessage:"Tags"}),tagList:e,selectOptions:d})}),(0,t.jsx)("div",{className:"border border-t-slate-100 bg-slate-50 mt-6 -mx-6 -mb-6 px-6 dark:bg-slate-900 dark:border-0",children:(0,t.jsx)(i.f,{onCancel:s,className:"justify-end "})})]})};e.s(["f",0,({defaultValue:e,onSubmit:l,enableEdit:n,availableTagOptions:o=[]})=>{let{formatMessage:i}=(0,r.S)(),{setModal:c}=(0,a.f)();return(0,t.jsxs)("div",{className:"flex items-center mr-auto gap-2",children:[(0,t.jsx)("div",{className:"flex flex-wrap items-center gap-2",children:e?.length?e.map((e,r)=>(0,t.jsx)("span",{children:(0,t.jsx)(s.f,{text:e,color:"sky"})},`${e}${r+1}`)):(0,t.jsx)("span",{children:(0,t.jsx)(s.f,{text:i({id:"no_tag",defaultMessage:"No Tag"}),color:"slate"})})}),n&&(0,t.jsx)("button",{id:"add_tag",type:"button",className:"rounded-sm hover:shadow-sm px-3 py-2 text-xs inline-flex items-center justify-center text-slate-800 hover:text-slate-900 hover:bg-slate-50 hover:border border-transparent border-1 hover:border-slate-300 dark:text-slate-400 dark:hover:text-slate-200 dark:hover:bg-slate-800 transition-colors focus:outline-hidden focus:ring-2 focus:ring-slate-800",onClick:()=>c((0,t.jsx)(d,{tags:e||[],onCancel:()=>c(""),onSubmit:l,selectOptions:o})),children:i({id:"edit_tags",defaultMessage:"Edit tags"})})]})}],37932)},64591,e=>{var t=e.i(91398),r=e.i(72043),a=e.i(3828),s=e.i(83147);e.s(["f",0,({toggleText:e="",toggleKey:l=null,onToggle:n=null,active:o=!1,className:i="",disabled:d=!1,...c})=>{let u=(0,a.useRouter)(),f=u?.query?.[l]==="true"||o;return(0,t.jsxs)("div",{className:(0,r.default)("",i),children:[(0,t.jsxs)("button",{id:l,disabled:d,type:"button",className:(0,r.default)("relative inline-flex h-3.5 w-9 shrink-0 cursor-pointer rounded-full border-1 border-transparent transition-all duration-200 ease-in-out focus:outline-hidden focus:ring-2 focus:ring-slate-400 focus:ring-offset-2",{"bg-slate-200 dark:bg-slate-700":!f,"bg-emerald-500 dark:bg-emerald-600 shadow-sm":f}),role:"switch",onClick:n||(()=>{let{skip:e,...t}=u.query;u.push({query:(0,s._)(t,!f,l)})}),"aria-checked":f?"true":"false",...c,children:[(0,t.jsx)("span",{className:"sr-only",children:e}),(0,t.jsxs)("span",{className:(0,r.default)("ml-0.5 pointer-events-none relative inline-block h-3 w-3 transform rounded-full bg-white shadow-sm ring-0 transition-all duration-200 ease-in-out",{"translate-x-5 shadow-md":f,"translate-x-0":!f}),children:[(0,t.jsx)("span",{className:(0,r.default)("absolute inset-0 flex h-full w-full items-center justify-center transition-opacity",{"opacity-0 duration-100 ease-out":f,"opacity-100 duration-200 ease-in":!f}),"aria-hidden":"true",children:(0,t.jsx)("svg",{className:"h-3 w-3 text-slate-400",fill:"none",viewBox:"0 0 12 12",children:(0,t.jsx)("path",{d:"M4 8l2-2m0 0l2-2M6 6L4 4m2 2l2 2",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,t.jsx)("span",{className:(0,r.default)("absolute inset-0 flex h-full w-full items-center justify-center transition-opacity",{"opacity-100 duration-200 ease-in":f,"opacity-0 duration-100 ease-out":!f}),"aria-hidden":"true",children:(0,t.jsx)("svg",{className:"h-3 w-3 text-emerald-500",fill:"currentColor",viewBox:"0 0 12 12",children:(0,t.jsx)("path",{d:"M3.707 5.293a1 1 0 00-1.414 1.414l1.414-1.414zM5 8l-.707.707a1 1 0 001.414 0L5 8zm4.707-3.293a1 1 0 00-1.414-1.414l1.414 1.414zm-7.414 2l2 2 1.414-1.414-2-2-1.414 1.414zm3.414 2l4-4-1.414-1.414-4 4 1.414 1.414z"})})})]})]}),(0,t.jsx)("span",{className:"ml-3",id:"annual-billing-label",children:(0,t.jsx)("span",{className:"text-sm font-medium text-slate-900 dark:text-slate-200",children:e})})]})}])},64479,e=>{var t=e.i(59080),r=e.i(76204);let a=t.f`
|
|
2
|
-
mutation ConfirmMediaUpload(
|
|
3
|
-
$mediaUploadTicketId: ID!
|
|
4
|
-
$size: Int!
|
|
5
|
-
$type: String!
|
|
6
|
-
) {
|
|
7
|
-
confirmMediaUpload(
|
|
8
|
-
mediaUploadTicketId: $mediaUploadTicketId
|
|
9
|
-
size: $size
|
|
10
|
-
type: $type
|
|
11
|
-
) {
|
|
12
|
-
_id
|
|
13
|
-
name
|
|
14
|
-
type
|
|
15
|
-
size
|
|
16
|
-
url
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
`;e.s(["f",0,(e={})=>{let[t]=(0,r.f)(a,e);return{confirmMediaUpload:async({mediaUploadTicketId:e,size:r,type:a})=>t({variables:{mediaUploadTicketId:e,size:r,type:a}})}}])},93994,e=>{let t=async(e,t)=>{let r=await fetch(t,{method:"PUT",body:e});return r.ok?Promise.resolve({}):Promise.reject(Error(r.statusText))};e.s(["f",0,t])},1880,e=>{e.s(["U",0,(e={})=>{let{_id:t,texts:r}=e||{};return r||t?`${r?.slug?.split("/").join("")||""}_id_${t}`:null},"P",0,e=>{if(!e)return null;let[t]=e?.split("_id_")||[];return t},"Q",0,e=>{if(!e)return null;let t=e?.split("_id_");return t?.pop()}])},73319,e=>{let t=e=>"[object Object]"===Object.prototype.toString.call(e);e.s(["Q",0,e=>decodeURIComponent(e||[])?.split(",")?.filter(Boolean),"C",0,t,"T",0,e=>!(!e||null==e||t(e)&&!Object.keys(e).length||Array.isArray(e)&&!e.length)])},72094,e=>{var t=e.i(91398),r=e.i(91788),a=e.i(61898);let s=(e,t="")=>Object.fromEntries(Object.entries(e).reduce((e=[],[a,l])=>"string"==typeof l||r.default.isValidElement(l)?[...e,[`${t}${a}`,l]]:[...Object.entries(s(Object.assign({},...l),`${t}${a}.`)),...e],[])),l=({submitError:e="",fieldErrors:a=[]})=>(0,t.jsx)("div",{className:"my-2 mb-5 text-rose-700",children:(0,t.jsxs)("ul",{className:"space-y-1",children:[e&&(0,t.jsx)("li",{className:"disabled",children:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:e}})},"submitError"),Object.entries(s(a)).map(([e,a])=>(0,t.jsx)("li",{className:"disabled",children:(0,t.jsx)("button",{type:"button",className:"no-button text-rose-600 dark:text-rose-400","aria-label":"Error button",onClick:()=>{let t=document.getElementById(e);t&&t.focus()},children:r.default.isValidElement(a)?a:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:a}})})},e))]})});e.s(["f",0,({displayFieldErrors:e=!1})=>{let{submitError:r,formik:s}=(0,a.f)(),n=s?.errors;return(r||e)&&(0,t.jsx)(l,{submitError:r,fieldErrors:e&&n})}])},73483,e=>{var t=e.i(91398),r=e.i(72043),a=e.i(69322),s=e.i(91412),l=e.i(91788);let n=l.forwardRef(function({title:e,titleId:t,...r},a){return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?l.createElement("title",{id:t},e):null,l.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L6.832 19.82a4.5 4.5 0 0 1-1.897 1.13l-2.685.8.8-2.685a4.5 4.5 0 0 1 1.13-1.897L16.863 4.487Zm0 0L19.5 7.125"}))});var o=e.i(7654),i=e.i(31858),d=e.i(3812),c=e.i(98634),u=e.i(82226),f=e.i(60741),m=e.i(29691),p=e.i(41523);let x=({selectedView:e="edit",...a})=>"preview"===e?(0,t.jsx)("div",{className:"prose dark:prose-invert",children:(0,t.jsx)(o.f,{rehypePlugins:[i.f,d.f,c.f],children:a.value})}):(0,t.jsx)("textarea",{className:(0,r.default)("relative mt-1 block w-full dark:focus:autofill dark:hover:autofill dark:autofill dark:placeholder:text-slate-400 dark:bg-slate-900 dark:text-slate-200 appearance-none rounded-md border-1 border-slate-300 dark:border-slate-700 px-4 py-2.5 text-sm text-slate-900 placeholder-slate-400 shadow-xs placeholder:text-slate-400 focus:outline-hidden focus:ring-2 focus:ring-slate-800",a.className,{"border-rose-700 placeholder:text-rose-300 placeholder-rose-300":!!a.error}),disabled:a.disabled,id:a.name,name:a.name,rows:a.rows||10,onChange:a.onChange,onBlur:a.onBlur,placeholder:a.placeholder,autoComplete:a.autoComplete||"off",value:a.value});e.s(["f",0,({maxLength:e,validators:r=[],...l})=>{let{formatMessage:o}=(0,a.S)(),i=(0,f.f)({validators:[...r,e&&(0,u.f)(e)],...l}),d=[{id:"editor",title:o({id:"editor",defaultMessage:"Editor"}),Icon:(0,t.jsx)(n,{className:"h-4 w-5"})},{id:"preview",title:o({id:"preview",defaultMessage:"preview"}),Icon:(0,t.jsx)(s.f,{className:"h-4 w-5"})}];return(0,t.jsx)(m.f,{...i,children:(0,t.jsx)("div",{className:"-mt-8",children:(0,t.jsx)(p.f,{tabItems:d,defaultTab:"editor",children:(0,t.jsx)(x,{...i})})})})}],73483)},99160,e=>{var t=e.i(91398),r=e.i(72043),a=e.i(38865),s=e.i(61898);e.s(["f",0,({label:e,disabled:l=!1,className:n="",hidden:o=!1,...i})=>{let d=(0,a.m)(),{...c}=i,u=Object.fromEntries(Object.keys(d.initialValues).map(e=>[e,d.getFieldMeta(e)])),{disabled:f}=(0,s.f)(),m=Object.values(u).reduce((e,{error:t,touched:r})=>e||t&&r,!1),p=l||f||d.isSubmitting||m,x=d.isSubmitting&&!m,h=(l||f||m)&&!d.isSubmitting;return(0,t.jsx)("input",{className:(0,r.default)("inline-flex cursor-pointer justify-center rounded-sm border border-slate-300 px-4 py-2 text-center text-sm font-medium leading-5 shadow-sm hover:shadow-md focus:ring-slate-800 dark:focus:ring-slate-400",n,{"bg-rose-50 dark:bg-slate-800 dark:text-rose-300 cursor-not-allowed border-rose-300 dark:border-rose-600 text-rose-900":h,"bg-slate-600 dark:bg-slate-700 text-white cursor-not-allowed border-slate-400 dark:border-slate-600":x,"bg-slate-800 dark:bg-slate-600 text-white hover:bg-slate-900 dark:hover:bg-slate-500 focus:outline-hidden focus:ring-2 focus:ring-offset-2 border-transparent":!p,hidden:o}),"aria-label":e,type:"submit",value:e,disabled:p,...c})}])},96015,e=>{var t=e.i(91398),r=e.i(72043),a=e.i(68835),s=e.i(60741),l=e.i(82226),n=e.i(29691);e.s(["f",0,({buttonText:e="",validators:o=[],selectOptions:i=[],...d})=>{let c=(0,s.f)({validators:[...o,(0,l.z)(d?.required)],label:"Tags",...d});return(0,t.jsx)(n.f,{...c,children:(0,t.jsx)(a.f,{disabled:c.disabled,id:c.id,name:c.name,className:(0,r.default)({"border-rose-300":!!c.error}),onChange:e=>c.setValue(e),placeholder:c.placeholder,tagList:c.value,buttonText:e,selectOptions:i})})}])},45229,e=>{var t=e.i(91398),r=e.i(72043),a=e.i(82226),s=e.i(60741),l=e.i(29691);e.s(["f",0,({maxLength:e=0,validators:n=[],...o})=>{let i=(0,s.f)({validators:[...n,e&&(0,a.f)(e)],...o});return(0,t.jsx)(l.f,{...i,children:(0,t.jsx)("input",{className:(0,r.default)("relative mt-1 block w-full dark:focus:autofill dark:hover:autofill dark:autofill dark:placeholder:text-slate-600 dark:bg-slate-900 dark:text-slate-200 appearance-none rounded-md border-1 dark:border-slate-700 px-4 py-2.5 text-sm text-slate-900 focus:outline-hidden focus:ring-2 focus:ring-slate-800 shadow-xs",{"border-rose-700 placeholder:text-rose-500":!!i.error,"border-slate-300 placeholder-slate-400":!i.error}),disabled:i.disabled,id:i.name,name:i.name,onChange:i.onChange,onClick:e=>{e.stopPropagation()},onBlur:i.onBlur,placeholder:i.placeholder,autoComplete:i.autoComplete||"off",type:i.type||"text",value:i.value,autoFocus:i.autoFocus})})}])},54529,e=>{var t=e.i(59080);let r=t.f`
|
|
20
|
-
fragment ProductBriefFragment on Product {
|
|
21
|
-
texts(forceLocale: $forceLocale) {
|
|
22
|
-
_id
|
|
23
|
-
slug
|
|
24
|
-
title
|
|
25
|
-
subtitle
|
|
26
|
-
description
|
|
27
|
-
vendor
|
|
28
|
-
brand
|
|
29
|
-
labels
|
|
30
|
-
locale
|
|
31
|
-
}
|
|
32
|
-
_id
|
|
33
|
-
sequence
|
|
34
|
-
status
|
|
35
|
-
tags
|
|
36
|
-
sequence
|
|
37
|
-
updated
|
|
38
|
-
published
|
|
39
|
-
media {
|
|
40
|
-
_id
|
|
41
|
-
tags
|
|
42
|
-
file {
|
|
43
|
-
_id
|
|
44
|
-
url
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
... on BundleProduct {
|
|
48
|
-
proxies {
|
|
49
|
-
__typename
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
... on SimpleProduct {
|
|
53
|
-
catalogPrice {
|
|
54
|
-
amount
|
|
55
|
-
currencyCode
|
|
56
|
-
}
|
|
57
|
-
proxies {
|
|
58
|
-
__typename
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
... on PlanProduct {
|
|
62
|
-
catalogPrice {
|
|
63
|
-
amount
|
|
64
|
-
currencyCode
|
|
65
|
-
}
|
|
66
|
-
proxies {
|
|
67
|
-
__typename
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
`;e.s(["f",0,r])},76204,e=>{var t=e.i(24669),r=e.i(91788),a=e.i(30928),s=e.i(52006);let l=e.i(21953).f?r.useLayoutEffect:r.useEffect;var n=e.i(98926);function o(e){return{data:void 0,error:void 0,called:!1,loading:!1,client:e}}e.s(["f",0,function(e,i){let d=(0,n.f)(i?.client),[c,u]=r.useState(()=>o(d)),f=r.useRef({result:c,mutationId:0,isMounted:!0,client:d,mutation:e,options:i});l(()=>{Object.assign(f.current,{client:d,options:i,mutation:e})});let m=r.useCallback((e={})=>{let{options:r,mutation:l}=f.current,n={...r,mutation:l},o=e.client||f.current.client,i="function"==typeof e.context?e.context(r?.context):e.context;!f.current.result.loading&&f.current.isMounted&&u(f.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:o});let d=++f.current.mutationId,c=(0,a.f)(n,{...e,context:i});return(0,s.f)(o.mutate(c).then(r=>{let{data:a,error:s}=r,l=e.onError||f.current.options?.onError;if(s&&l&&l(s,c),d===f.current.mutationId){let e={called:!0,loading:!1,data:a,error:s,client:o};f.current.isMounted&&!(0,t.f)(f.current.result,e)&&u(f.current.result=e)}let n=e.onCompleted||f.current.options?.onCompleted;return s||n?.(r.data,c),r},r=>{if(d===f.current.mutationId&&f.current.isMounted){let e={loading:!1,error:r,data:void 0,called:!0,client:o};(0,t.f)(f.current.result,e)||u(f.current.result=e)}let a=e.onError||f.current.options?.onError;throw a&&a(r,c),r}))},[]),p=r.useCallback(()=>{if(f.current.isMounted){let e=o(f.current.client);Object.assign(f.current,{mutationId:0,result:e}),u(e)}},[]);return r.useEffect(()=>{let e=f.current;return e.isMounted=!0,()=>{e.isMounted=!1}},[]),[m,{reset:p,...c}]}],76204)},76929,e=>{var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...a},s){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":r},a),e?t.createElement("title",{id:r},e):null,t.createElement("path",{d:"M12 4.467c0-.405.262-.75.559-1.027.276-.257.441-.584.441-.94 0-.828-.895-1.5-2-1.5s-2 .672-2 1.5c0 .362.171.694.456.953.29.265.544.6.544.994a.968.968 0 0 1-1.024.974 39.655 39.655 0 0 1-3.014-.306.75.75 0 0 0-.847.847c.14.993.242 1.999.306 3.014A.968.968 0 0 1 4.447 10c-.393 0-.729-.253-.994-.544C3.194 9.17 2.862 9 2.5 9 1.672 9 1 9.895 1 11s.672 2 1.5 2c.356 0 .683-.165.94-.441.276-.297.622-.559 1.027-.559a.997.997 0 0 1 1.004 1.03 39.747 39.747 0 0 1-.319 3.734.75.75 0 0 0 .64.842c1.05.146 2.111.252 3.184.318A.97.97 0 0 0 10 16.948c0-.394-.254-.73-.545-.995C9.171 15.693 9 15.362 9 15c0-.828.895-1.5 2-1.5s2 .672 2 1.5c0 .356-.165.683-.441.94-.297.276-.559.622-.559 1.027a.998.998 0 0 0 1.03 1.005c1.337-.05 2.659-.162 3.961-.337a.75.75 0 0 0 .644-.644c.175-1.302.288-2.624.337-3.961A.998.998 0 0 0 16.967 12c-.405 0-.75.262-1.027.559-.257.276-.584.441-.94.441-.828 0-1.5-.895-1.5-2s.672-2 1.5-2c.362 0 .694.17.953.455.265.291.601.545.995.545a.97.97 0 0 0 .976-1.024 41.159 41.159 0 0 0-.318-3.184.75.75 0 0 0-.842-.64c-1.228.164-2.473.271-3.734.319A.997.997 0 0 1 12 4.467Z"}))});e.s(["f",0,r],76929)},91412,e=>{var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...a},s){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":r},a),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"}),t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))});e.s(["f",0,r],91412)},37369,e=>{var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...a},s){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":r},a),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 4.5v15m7.5-7.5h-15"}))});e.s(["f",0,r],37369)},67912,e=>{var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...a},s){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":r},a),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.982 18.725A7.488 7.488 0 0 0 12 15.75a7.488 7.488 0 0 0-5.982 2.975m11.963 0a9 9 0 1 0-11.963 0m11.963 0A8.966 8.966 0 0 1 12 21a8.966 8.966 0 0 1-5.982-2.275M15 9.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))});e.s(["f",0,r],67912)},9356,e=>{var t=e.i(35113);e.s(["f",0,function(e){return!(!(e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))&&"number"!=typeof e||isNaN(+(0,t.f)(e)))}],9356)},49543,e=>{var t=e.i(35113);e.s(["f",0,function(e,r){let a=(0,t.f)(e,r?.in);return a.setHours(0,0,0,0),a}])},35113,2848,98170,e=>{let t=Symbol.for("constructDateFrom");function r(e,r){return"function"==typeof e?e(r):e&&"object"==typeof e&&t in e?e[t](r):e instanceof Date?new e.constructor(r):new Date(r)}e.s(["C",0,t,"_",0,864e5,"r",0,36e5,"z",0,6e4,"A",0,6048e5,"k",0,1440,"d",0,43200,"l",0,525600],2848),e.s(["f",0,r],98170),e.s(["f",0,function(e,t){return r(t||e,e)}],35113)},34980,(e,t,r)=>{var a=e.r(49957),s={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},l={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};function i(e){return a.isMemo(e)?n:o[e.$$typeof]||s}o[a.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o[a.Memo]=n;var d=Object.defineProperty,c=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,p=Object.prototype;t.exports=function e(t,r,a){if("string"!=typeof r){if(p){var s=m(r);s&&s!==p&&e(t,s,a)}var n=c(r);u&&(n=n.concat(u(r)));for(var o=i(t),x=i(r),h=0;h<n.length;++h){var b=n[h];if(!l[b]&&!(a&&a[b])&&!(x&&x[b])&&!(o&&o[b])){var g=f(r,b);try{d(t,b,g)}catch(e){}}}}return t}},40563,(e,t,r)=>{var a="function"==typeof Symbol&&Symbol.for,s=a?Symbol.for("react.element"):60103,l=a?Symbol.for("react.portal"):60106,n=a?Symbol.for("react.fragment"):60107,o=a?Symbol.for("react.strict_mode"):60108,i=a?Symbol.for("react.profiler"):60114,d=a?Symbol.for("react.provider"):60109,c=a?Symbol.for("react.context"):60110,u=a?Symbol.for("react.async_mode"):60111,f=a?Symbol.for("react.concurrent_mode"):60111,m=a?Symbol.for("react.forward_ref"):60112,p=a?Symbol.for("react.suspense"):60113,x=a?Symbol.for("react.suspense_list"):60120,h=a?Symbol.for("react.memo"):60115,b=a?Symbol.for("react.lazy"):60116,g=a?Symbol.for("react.block"):60121,v=a?Symbol.for("react.fundamental"):60117,y=a?Symbol.for("react.responder"):60118,j=a?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case s:switch(e=e.type){case u:case f:case n:case i:case o:case p:return e;default:switch(e=e&&e.$$typeof){case c:case m:case b:case h:case d:return e;default:return t}}case l:return t}}}function w(e){return k(e)===f}r.AsyncMode=u,r.ConcurrentMode=f,r.ContextConsumer=c,r.ContextProvider=d,r.Element=s,r.ForwardRef=m,r.Fragment=n,r.Lazy=b,r.Memo=h,r.Portal=l,r.Profiler=i,r.StrictMode=o,r.Suspense=p,r.isAsyncMode=function(e){return w(e)||k(e)===u},r.isConcurrentMode=w,r.isContextConsumer=function(e){return k(e)===c},r.isContextProvider=function(e){return k(e)===d},r.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===s},r.isForwardRef=function(e){return k(e)===m},r.isFragment=function(e){return k(e)===n},r.isLazy=function(e){return k(e)===b},r.isMemo=function(e){return k(e)===h},r.isPortal=function(e){return k(e)===l},r.isProfiler=function(e){return k(e)===i},r.isStrictMode=function(e){return k(e)===o},r.isSuspense=function(e){return k(e)===p},r.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===f||e===i||e===o||e===p||e===x||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===h||e.$$typeof===d||e.$$typeof===c||e.$$typeof===m||e.$$typeof===v||e.$$typeof===y||e.$$typeof===j||e.$$typeof===g)},r.typeOf=k},49957,(e,t,r)=>{e.i(50461),t.exports=e.r(40563)}])})();
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,[61494,e=>{var t=e.i(91398),r=e.i(41158),a=e.i(3828),s=e.i(69322);e.s(["f",0,({routeName:e=null,currentPageTitle:l=null,depth:n=null})=>{let o=(0,a.useRouter)(),{formatMessage:i}=(0,s.S)(),d={home:"home",products:"products",orders:"orders",users:"users",assortments:"assortments",filters:"filters",tokens:"tokens",quotations:"quotations",enrollments:"enrollments",activities:"activities",works:"work_queue",events:"events",currency:"currencies",country:"countries",language:"languages","delivery-provider":"delivery_providers","payment-provider":"payment_providers","warehousing-provider":"warehousing_provider",system:"system",account:"account",new:"new",edit:"edit"},u=o.asPath?.split("/")?.filter((e,t)=>o.asPath?.split("/")?.indexOf(e)===t);if(1===u.length)return null;let c="";n&&u.splice(n),e&&(u[u.length-1]=e);let f=u?.map(t=>{if(c+=`${t}/`,!t)return{name:i({id:"home",defaultMessage:"Home"}),path:"/"};let r=t?.split("?")[0],a=e?r:r.replace(/-/g," "),s=d[r];return{name:s?i({id:s,defaultMessage:a}):decodeURIComponent(a),path:c.replace(/.$/,"")}});return(0,t.jsx)("nav",{className:"mb-5 hidden sm:flex lg:mt-5 lg:mb-8","aria-label":"Breadcrumb",children:(0,t.jsx)("ol",{className:"flex items-center space-x-4",children:f?.map((e,a)=>(0,t.jsx)("li",{children:(0,t.jsxs)("div",{className:"flex items-center",children:[0!==a&&(0,t.jsx)("svg",{className:"mr-4 h-5 w-5 shrink-0 text-slate-400",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.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z",clipRule:"evenodd"})}),(0,t.jsx)(r.default,{href:e.path,className:"text-sm font-medium capitalize text-slate-500 dark:text-slate-400 dark:hover:text-slate-300 hover:text-slate-700 focus:outline-hidden focus:ring-2 focus:ring-slate-800 rounded-md px-1 py-1",children:a===f.length-1&&l?l:e.name})]})},e.path))})})}])},81013,e=>{var t=e.i(91398),r=e.i(72043);e.s(["f",0,({text:e,children:a,onClick:s,className:l="",disabled:n=!1,id:o="",variant:i="primary",size:d="md",type:u="button",loading:c=!1,icon:f,iconRight:m,fullWidth:g=!1,rounded:p="md",ariaLabel:b,...x})=>{let h=a||e,y=(f||m)&&h?"gap-2":"";return(0,t.jsx)("button",{id:o,type:u,disabled:n||c,onClick:s,"aria-label":b,className:(0,r.default)("inline-flex items-center justify-center font-medium shadow-xs focus:outline-hidden focus:ring-2 focus:ring-offset-2 transition-colors duration-200 disabled:cursor-not-allowed disabled:opacity-50",{xs:"px-2.5 py-1.5 text-xs h-6",sm:"px-3 py-2 text-sm h-8",md:"px-4 py-2 text-sm h-9",lg:"px-6 py-3 text-base h-11"}[d],{none:"rounded-none",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",full:"rounded-full"}[p],{primary:"border border-slate-800 dark:border-slate-600 bg-slate-800 dark:bg-slate-600 text-white hover:bg-slate-900 dark:hover:bg-slate-500 focus:ring-slate-800 dark:focus:ring-slate-400",secondary:"border border-slate-300 dark:border-slate-600 bg-white dark:bg-slate-800 text-slate-700 dark:text-slate-200 hover:bg-slate-50 dark:hover:bg-slate-700 focus:ring-slate-500",tertiary:"border border-slate-200 dark:border-slate-700 bg-slate-50 dark:bg-slate-800 text-slate-600 dark:text-slate-300 hover:bg-slate-100 dark:hover:bg-slate-700 focus:ring-slate-400",quaternary:"bg-transparent text-slate-700 dark:text-slate-200 hover:bg-slate-100 dark:hover:bg-slate-800 focus:ring-slate-400",danger:"border border-rose-500 dark:border-rose-400 bg-white dark:bg-slate-800 text-rose-600 dark:text-rose-400 hover:bg-rose-50 dark:hover:bg-rose-900/10 focus:ring-rose-500",ghost:"bg-transparent border border-transparent text-slate-600 dark:text-slate-400 hover:text-slate-900 dark:hover:text-slate-200 hover:bg-slate-100 dark:hover:bg-slate-800 focus:ring-slate-400",success:"border border-emerald-500 dark:border-emerald-400 bg-emerald-50 dark:bg-emerald-900/20 text-emerald-600 dark:text-emerald-400 hover:bg-emerald-100 dark:hover:bg-emerald-900/30 focus:ring-emerald-500",neutral:"border border-slate-300 dark:border-slate-600 bg-slate-100 dark:bg-slate-700 text-slate-600 dark:text-slate-300 hover:bg-slate-200 dark:hover:bg-slate-600 focus:ring-slate-400",input:"border border-slate-300 dark:border-slate-600 bg-white dark:bg-slate-800 text-slate-900 dark:text-slate-100 hover:border-slate-400 dark:hover:border-slate-500 focus:ring-slate-500 focus:border-slate-500"}[i],y,{"w-full":g},l),...x,children:c?(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("div",{className:"w-4 h-4 border-2 border-current border-t-transparent rounded-full animate-spin"}),h]}):(0,t.jsxs)(t.Fragment,{children:[f,h,m]})})}])},17644,e=>{var t=e.i(91398),r=e.i(58678),a=e.i(41158),s=e.i(69322),l=e.i(37369),n=e.i(81013);e.s(["f",0,({headerText:e=null,onEdit:o=null,onDelete:i=null,children:d=null,title:u=null,addPath:c=null,addButtonText:f=null})=>{let{formatMessage:m}=(0,s.S)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.default,{children:(0,t.jsxs)("title",{children:["Unchained AdminUI - ",u||e," "]})}),(0,t.jsx)("div",{className:"flex gap-3 flex-wrap items-center justify-between",children:(0,t.jsxs)("div",{className:"flex items-center flex-wrap justify-between w-full gap-4",children:[e&&(0,t.jsx)("h2",{className:"text-2xl font-medium text-slate-900 dark:text-slate-300 sm:truncate sm:text-3xl lg:text-4xl",children:e}),(0,t.jsxs)("div",{className:"flex items-center gap-3 flex-shrink-0",children:[d,c&&(0,t.jsx)(a.default,{href:c,children:(0,t.jsx)(n.f,{variant:"secondary",icon:(0,t.jsx)(l.f,{className:"h-5 w-5"}),text:f||m({id:"add",defaultMessage:"Add"})})}),o&&(0,t.jsx)(n.f,{variant:"secondary",onClick:o,text:m({id:"edit",defaultMessage:"Edit"})}),i&&(0,t.jsx)(n.f,{variant:"danger",onClick:i,text:m({id:"delete",defaultMessage:"Delete"})})]})]})})]})}])},64591,e=>{var t=e.i(91398),r=e.i(72043),a=e.i(3828),s=e.i(83147);e.s(["f",0,({toggleText:e="",toggleKey:l=null,onToggle:n=null,active:o=!1,className:i="",disabled:d=!1,...u})=>{let c=(0,a.useRouter)(),f=c?.query?.[l]==="true"||o;return(0,t.jsxs)("div",{className:(0,r.default)("",i),children:[(0,t.jsxs)("button",{id:l,disabled:d,type:"button",className:(0,r.default)("relative inline-flex h-3.5 w-9 shrink-0 cursor-pointer rounded-full border-1 border-transparent transition-all duration-200 ease-in-out focus:outline-hidden focus:ring-2 focus:ring-slate-400 focus:ring-offset-2",{"bg-slate-200 dark:bg-slate-700":!f,"bg-emerald-500 dark:bg-emerald-600 shadow-sm":f}),role:"switch",onClick:n||(()=>{let{skip:e,...t}=c.query;c.push({query:(0,s._)(t,!f,l)})}),"aria-checked":f?"true":"false",...u,children:[(0,t.jsx)("span",{className:"sr-only",children:e}),(0,t.jsxs)("span",{className:(0,r.default)("ml-0.5 pointer-events-none relative inline-block h-3 w-3 transform rounded-full bg-white shadow-sm ring-0 transition-all duration-200 ease-in-out",{"translate-x-5 shadow-md":f,"translate-x-0":!f}),children:[(0,t.jsx)("span",{className:(0,r.default)("absolute inset-0 flex h-full w-full items-center justify-center transition-opacity",{"opacity-0 duration-100 ease-out":f,"opacity-100 duration-200 ease-in":!f}),"aria-hidden":"true",children:(0,t.jsx)("svg",{className:"h-3 w-3 text-slate-400",fill:"none",viewBox:"0 0 12 12",children:(0,t.jsx)("path",{d:"M4 8l2-2m0 0l2-2M6 6L4 4m2 2l2 2",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,t.jsx)("span",{className:(0,r.default)("absolute inset-0 flex h-full w-full items-center justify-center transition-opacity",{"opacity-100 duration-200 ease-in":f,"opacity-0 duration-100 ease-out":!f}),"aria-hidden":"true",children:(0,t.jsx)("svg",{className:"h-3 w-3 text-emerald-500",fill:"currentColor",viewBox:"0 0 12 12",children:(0,t.jsx)("path",{d:"M3.707 5.293a1 1 0 00-1.414 1.414l1.414-1.414zM5 8l-.707.707a1 1 0 001.414 0L5 8zm4.707-3.293a1 1 0 00-1.414-1.414l1.414 1.414zm-7.414 2l2 2 1.414-1.414-2-2-1.414 1.414zm3.414 2l4-4-1.414-1.414-4 4 1.414 1.414z"})})})]})]}),(0,t.jsx)("span",{className:"ml-3",id:"annual-billing-label",children:(0,t.jsx)("span",{className:"text-sm font-medium text-slate-900 dark:text-slate-200",children:e})})]})}])},73319,e=>{let t=e=>"[object Object]"===Object.prototype.toString.call(e);e.s(["Q",0,e=>decodeURIComponent(e||[])?.split(",")?.filter(Boolean),"C",0,t,"T",0,e=>!(!e||null==e||t(e)&&!Object.keys(e).length||Array.isArray(e)&&!e.length)])},83147,e=>{let t=e=>e&&e?.split(",").reduce((e,t)=>{let[r=null,a=null]=(t||"")?.split("_")||[];return{...e,[r]:a}},null)||{};e.s(["S",0,(...e)=>e.filter(Boolean).join(" "),"R",0,e=>Object.entries(t(e))?.map(([e,t])=>({key:e,value:t})),"D",0,e=>e?.label&&e?.version?`${e.label} ${e.version}`:"","v",0,t,"Q",0,(e,t,r=!0)=>{if(!t)return"";try{return`${new Intl.DisplayNames([e],{type:"region"}).of(t)} ${r?`(${t})`:""}`}catch{return t}},"j",0,(e,t,r=!0)=>{if(!t)return"";try{return`${new Intl.DisplayNames([e],{type:"currency"}).of(t)} ${r?`(${t})`:""}`}catch{return t}},"I",0,(e,t,r=!0)=>{if(!t)return"";try{return`${new Intl.DisplayNames([e],{type:"language"}).of(t)} ${r?`(${t})`:""}`}catch{return t}},"_",0,(e,t,r)=>{let a;return a=r?{...e,[r]:t}:e,Object.keys(a)?.map(e=>[e,a[e]].join("="))?.join("&")},"d",0,()=>({formatPrice:e=>{if(!e?.currencyCode)return"n/a";if(e?.amount===void 0||e?.amount===null)return"";let{amount:t,currencyCode:r}=e||{};return new Intl.NumberFormat(navigator.language,{style:"currency",currency:r}).format(t/100)}})])},99160,e=>{var t=e.i(91398),r=e.i(72043),a=e.i(38865),s=e.i(61898);e.s(["f",0,({label:e,disabled:l=!1,className:n="",hidden:o=!1,...i})=>{let d=(0,a.m)(),{...u}=i,c=Object.fromEntries(Object.keys(d.initialValues).map(e=>[e,d.getFieldMeta(e)])),{disabled:f}=(0,s.f)(),m=Object.values(c).reduce((e,{error:t,touched:r})=>e||t&&r,!1),g=l||f||d.isSubmitting||m,p=d.isSubmitting&&!m,b=(l||f||m)&&!d.isSubmitting;return(0,t.jsx)("input",{className:(0,r.default)("inline-flex cursor-pointer justify-center rounded-sm border border-slate-300 px-4 py-2 text-center text-sm font-medium leading-5 shadow-sm hover:shadow-md focus:ring-slate-800 dark:focus:ring-slate-400",n,{"bg-rose-50 dark:bg-slate-800 dark:text-rose-300 cursor-not-allowed border-rose-300 dark:border-rose-600 text-rose-900":b,"bg-slate-600 dark:bg-slate-700 text-white cursor-not-allowed border-slate-400 dark:border-slate-600":p,"bg-slate-800 dark:bg-slate-600 text-white hover:bg-slate-900 dark:hover:bg-slate-500 focus:outline-hidden focus:ring-2 focus:ring-offset-2 border-transparent":!g,hidden:o}),"aria-label":e,type:"submit",value:e,disabled:g,...u})}])},45229,e=>{var t=e.i(91398),r=e.i(72043),a=e.i(82226),s=e.i(60741),l=e.i(29691);e.s(["f",0,({maxLength:e=0,validators:n=[],...o})=>{let i=(0,s.f)({validators:[...n,e&&(0,a.f)(e)],...o});return(0,t.jsx)(l.f,{...i,children:(0,t.jsx)("input",{className:(0,r.default)("relative mt-1 block w-full dark:focus:autofill dark:hover:autofill dark:autofill dark:placeholder:text-slate-600 dark:bg-slate-900 dark:text-slate-200 appearance-none rounded-md border-1 dark:border-slate-700 px-4 py-2.5 text-sm text-slate-900 focus:outline-hidden focus:ring-2 focus:ring-slate-800 shadow-xs",{"border-rose-700 placeholder:text-rose-500":!!i.error,"border-slate-300 placeholder-slate-400":!i.error}),disabled:i.disabled,id:i.name,name:i.name,onChange:i.onChange,onClick:e=>{e.stopPropagation()},onBlur:i.onBlur,placeholder:i.placeholder,autoComplete:i.autoComplete||"off",type:i.type||"text",value:i.value,autoFocus:i.autoFocus})})}])},95148,e=>{var t=e.i(91398),r=e.i(69322),a=e.i(66773),s=e.i(58971),l=e.i(64591),n=e.i(69211),o=e.i(99160),i=e.i(45229),d=e.i(98949),u=e.i(82226);e.s(["f",0,({onSubmit:e,onSubmitSuccess:c=null,isEdit:f=!1,defaultValue:m})=>{let{formatMessage:g}=(0,r.S)(),{hasRole:p}=(0,s.f)(),b=g({id:"language_added",defaultMessage:"Language added successfully!"}),x=g({id:"language_updated",defaultMessage:"Language updated successfully!"}),h=(0,d.f)({submit:e,onSubmitSuccess:c,successMessage:f?x:b,getSubmitErrorMessage:e=>{if(e?.message?.includes("duplicate"))return h.formik.setFieldError("isoCode",g({id:"language_exists",defaultMessage:"Language with the same ISO code already exists"})),""},enableReinitialize:!0,initialValues:{isoCode:"",isActive:"",...m}});return(0,t.jsxs)(n.f,{form:h,children:[(0,t.jsxs)("div",{className:"p-5",children:[(0,t.jsx)(i.f,{name:"isoCode",disabled:!p(a.C.ManageLanguages),id:"isoCode",validators:[(0,u.y)()],label:g({id:"iso_code",defaultMessage:"ISO code"}),autoComplete:"on",required:!0}),f&&(0,t.jsx)("div",{className:"mt-5 flex items-center flex-wrap",children:(0,t.jsx)(l.f,{toggleText:g({id:"active",defaultMessage:"Active"}),disabled:!p(a.C.ManageLanguages),active:h.formik.values.isActive,onToggle:()=>h.formik.setFieldValue("isActive",!h.formik.values.isActive)})})]}),p(a.C.ManageLanguages)&&(0,t.jsx)("div",{className:"border-t-slate-100 border-t dark:border-t-slate-700 mt-5 space-y-6 bg-slate-50 dark:bg-slate-900 p-5 text-right",children:(0,t.jsx)(o.f,{label:f?g({id:"update_language",defaultMessage:"Update Language"}):g({id:"add_language",defaultMessage:"Add Language"})})})]})}])},98555,e=>{var t=e.i(91398),r=e.i(3828),a=e.i(69322),s=e.i(61494),l=e.i(5505),n=e.i(17644),o=e.i(95148),i=e.i(59080),d=e.i(76204),u=e.i(95064);let c=i.f`
|
|
2
|
-
mutation CreateLanguage($language: CreateLanguageInput!) {
|
|
3
|
-
createLanguage(language: $language) {
|
|
4
|
-
...LanguageFragment
|
|
5
|
-
}
|
|
6
|
-
}
|
|
7
|
-
${u.f}
|
|
8
|
-
`;e.s(["default",0,()=>{let{createLanguage:e}=(()=>{let[e,{data:t,loading:r,error:a}]=(0,d.f)(c);return{createLanguage:async({isoCode:t})=>e({variables:{language:{isoCode:t}},refetchQueries:["ShopStatus","ShopInfo","Languages"]}),newLanguage:t?.createLanguage,loading:r,error:a}})(),{formatMessage:i}=(0,a.S)(),u=(0,r.useRouter)(),f=async({isoCode:t})=>{let{data:r,error:a}=await e({isoCode:t});return!a&&{success:!0,data:r?.createLanguage}};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.f,{}),(0,t.jsxs)("div",{className:"mx-auto sm:max-w-2xl",children:[(0,t.jsx)(n.f,{headerText:i({id:"new_language_header",defaultMessage:"New language"})}),(0,t.jsx)("div",{className:"mt-6 sm:max-w-xl",children:(0,t.jsx)(l.U,{children:(0,t.jsx)(o.f,{defaultValue:{isoCode:"",isActive:""},onSubmit:f,onSubmitSuccess:(e,{_id:t})=>(u.replace(`/language?languageId=${t}`),!0)})})})]})]})}],98555)},76204,e=>{var t=e.i(24669),r=e.i(91788),a=e.i(30928),s=e.i(52006);let l=e.i(21953).f?r.useLayoutEffect:r.useEffect;var n=e.i(98926);function o(e){return{data:void 0,error:void 0,called:!1,loading:!1,client:e}}e.s(["f",0,function(e,i){let d=(0,n.f)(i?.client),[u,c]=r.useState(()=>o(d)),f=r.useRef({result:u,mutationId:0,isMounted:!0,client:d,mutation:e,options:i});l(()=>{Object.assign(f.current,{client:d,options:i,mutation:e})});let m=r.useCallback((e={})=>{let{options:r,mutation:l}=f.current,n={...r,mutation:l},o=e.client||f.current.client,i="function"==typeof e.context?e.context(r?.context):e.context;!f.current.result.loading&&f.current.isMounted&&c(f.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:o});let d=++f.current.mutationId,u=(0,a.f)(n,{...e,context:i});return(0,s.f)(o.mutate(u).then(r=>{let{data:a,error:s}=r,l=e.onError||f.current.options?.onError;if(s&&l&&l(s,u),d===f.current.mutationId){let e={called:!0,loading:!1,data:a,error:s,client:o};f.current.isMounted&&!(0,t.f)(f.current.result,e)&&c(f.current.result=e)}let n=e.onCompleted||f.current.options?.onCompleted;return s||n?.(r.data,u),r},r=>{if(d===f.current.mutationId&&f.current.isMounted){let e={loading:!1,error:r,data:void 0,called:!0,client:o};(0,t.f)(f.current.result,e)||c(f.current.result=e)}let a=e.onError||f.current.options?.onError;throw a&&a(r,u),r}))},[]),g=r.useCallback(()=>{if(f.current.isMounted){let e=o(f.current.client);Object.assign(f.current,{mutationId:0,result:e}),c(e)}},[]);return r.useEffect(()=>{let e=f.current;return e.isMounted=!0,()=>{e.isMounted=!1}},[]),[m,{reset:g,...u}]}],76204)},37369,e=>{var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...a},s){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":r},a),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 4.5v15m7.5-7.5h-15"}))});e.s(["f",0,r],37369)},9356,e=>{var t=e.i(35113);e.s(["f",0,function(e){return!(!(e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))&&"number"!=typeof e||isNaN(+(0,t.f)(e)))}],9356)},49543,e=>{var t=e.i(35113);e.s(["f",0,function(e,r){let a=(0,t.f)(e,r?.in);return a.setHours(0,0,0,0),a}])},35113,2848,98170,e=>{let t=Symbol.for("constructDateFrom");function r(e,r){return"function"==typeof e?e(r):e&&"object"==typeof e&&t in e?e[t](r):e instanceof Date?new e.constructor(r):new Date(r)}e.s(["C",0,t,"_",0,864e5,"r",0,36e5,"z",0,6e4,"A",0,6048e5,"k",0,1440,"d",0,43200,"l",0,525600],2848),e.s(["f",0,r],98170),e.s(["f",0,function(e,t){return r(t||e,e)}],35113)},34980,(e,t,r)=>{var a=e.r(49957),s={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},l={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};function i(e){return a.isMemo(e)?n:o[e.$$typeof]||s}o[a.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o[a.Memo]=n;var d=Object.defineProperty,u=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,g=Object.prototype;t.exports=function e(t,r,a){if("string"!=typeof r){if(g){var s=m(r);s&&s!==g&&e(t,s,a)}var n=u(r);c&&(n=n.concat(c(r)));for(var o=i(t),p=i(r),b=0;b<n.length;++b){var x=n[b];if(!l[x]&&!(a&&a[x])&&!(p&&p[x])&&!(o&&o[x])){var h=f(r,x);try{d(t,x,h)}catch(e){}}}}return t}},40563,(e,t,r)=>{var a="function"==typeof Symbol&&Symbol.for,s=a?Symbol.for("react.element"):60103,l=a?Symbol.for("react.portal"):60106,n=a?Symbol.for("react.fragment"):60107,o=a?Symbol.for("react.strict_mode"):60108,i=a?Symbol.for("react.profiler"):60114,d=a?Symbol.for("react.provider"):60109,u=a?Symbol.for("react.context"):60110,c=a?Symbol.for("react.async_mode"):60111,f=a?Symbol.for("react.concurrent_mode"):60111,m=a?Symbol.for("react.forward_ref"):60112,g=a?Symbol.for("react.suspense"):60113,p=a?Symbol.for("react.suspense_list"):60120,b=a?Symbol.for("react.memo"):60115,x=a?Symbol.for("react.lazy"):60116,h=a?Symbol.for("react.block"):60121,y=a?Symbol.for("react.fundamental"):60117,v=a?Symbol.for("react.responder"):60118,j=a?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case s:switch(e=e.type){case c:case f:case n:case i:case o:case g:return e;default:switch(e=e&&e.$$typeof){case u:case m:case x:case b:case d:return e;default:return t}}case l:return t}}}function w(e){return k(e)===f}r.AsyncMode=c,r.ConcurrentMode=f,r.ContextConsumer=u,r.ContextProvider=d,r.Element=s,r.ForwardRef=m,r.Fragment=n,r.Lazy=x,r.Memo=b,r.Portal=l,r.Profiler=i,r.StrictMode=o,r.Suspense=g,r.isAsyncMode=function(e){return w(e)||k(e)===c},r.isConcurrentMode=w,r.isContextConsumer=function(e){return k(e)===u},r.isContextProvider=function(e){return k(e)===d},r.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===s},r.isForwardRef=function(e){return k(e)===m},r.isFragment=function(e){return k(e)===n},r.isLazy=function(e){return k(e)===x},r.isMemo=function(e){return k(e)===b},r.isPortal=function(e){return k(e)===l},r.isProfiler=function(e){return k(e)===i},r.isStrictMode=function(e){return k(e)===o},r.isSuspense=function(e){return k(e)===g},r.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===f||e===i||e===o||e===g||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===x||e.$$typeof===b||e.$$typeof===d||e.$$typeof===u||e.$$typeof===m||e.$$typeof===y||e.$$typeof===v||e.$$typeof===j||e.$$typeof===h)},r.typeOf=k},49957,(e,t,r)=>{e.i(50461),t.exports=e.r(40563)}],13061,(e,t,r)=>{let a="/language/new";(window.__NEXT_P=window.__NEXT_P||[]).push([a,()=>e.r(98555)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([a])})}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(()=>{"use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,96015,t=>{var e=t.i(91398),n=t.i(72043),i=t.i(68835),r=t.i(60741),l=t.i(82226),o=t.i(29691);t.s(["f",0,({buttonText:t="",validators:f=[],selectOptions:a=[],...c})=>{let u=(0,r.f)({validators:[...f,(0,l.z)(c?.required)],label:"Tags",...c});return(0,e.jsx)(o.f,{...u,children:(0,e.jsx)(i.f,{disabled:u.disabled,id:u.id,name:u.name,className:(0,n.default)({"border-rose-300":!!u.error}),onChange:t=>u.setValue(t),placeholder:u.placeholder,tagList:u.value,buttonText:t,selectOptions:a})})}])},95963,32572,36394,t=>{let e,n=["top","right","bottom","left"],i=n.reduce((t,e)=>t.concat(e,e+"-start",e+"-end"),[]),r=Math.min,l=Math.max,o=Math.round,f=Math.floor,a=t=>({x:t,y:t}),c={left:"right",right:"left",bottom:"top",top:"bottom"};function u(t,e,n){return l(t,r(e,n))}function s(t,e){return"function"==typeof t?t(e):t}function d(t){return t.split("-")[0]}function h(t){return t.split("-")[1]}function m(t){return"x"===t?"y":"x"}function g(t){return"y"===t?"height":"width"}function p(t){let e=t[0];return"t"===e||"b"===e?"y":"x"}function w(t){return m(p(t))}function v(t,e,n){void 0===n&&(n=!1);let i=h(t),r=w(t),l=g(r),o="x"===r?i===(n?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[l]>e.floating[l]&&(o=O(o)),[o,O(o)]}function y(t){let e=O(t);return[x(t),e,x(e)]}function x(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}let b=["left","right"],R=["right","left"],T=["top","bottom"],L=["bottom","top"];function A(t,e,n,i){let r=h(t),l=function(t,e,n){switch(t){case"top":case"bottom":if(n)return e?R:b;return e?b:R;case"left":case"right":return e?T:L;default:return[]}}(d(t),"start"===n,i);return r&&(l=l.map(t=>t+"-"+r),e&&(l=l.concat(l.map(x)))),l}function O(t){let e=d(t);return c[e]+t.slice(e.length)}function E(t){var e,n,i,r;return"number"!=typeof t?{top:null!=(e=t.top)?e:0,right:null!=(n=t.right)?n:0,bottom:null!=(i=t.bottom)?i:0,left:null!=(r=t.left)?r:0}:{top:t,right:t,bottom:t,left:t}}function C(t){let{x:e,y:n,width:i,height:r}=t;return{width:i,height:r,top:n,left:e,right:e+i,bottom:n+r,x:e,y:n}}function P(t,e,n){let i,{reference:r,floating:l}=t,o=p(e),f=w(e),a=g(f),c=d(e),u=r.x+r.width/2-l.width/2,s=r.y+r.height/2-l.height/2,m=r[a]/2-l[a]/2;switch(c){case"top":i={x:u,y:r.y-l.height};break;case"bottom":i={x:u,y:r.y+r.height};break;case"right":i={x:r.x+r.width,y:s};break;case"left":i={x:r.x-l.width,y:s};break;default:i={x:r.x,y:r.y}}let v=h(e);return v&&(i[f]+=m*("end"===v?1:-1)*(n&&"y"===o?-1:1)),i}async function S(t,e){var n;void 0===e&&(e={});let{x:i,y:r,platform:l,rects:o,elements:f,strategy:a}=t,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:h=!1,padding:m=0}=s(e,t),g=E(m),p=f[h?"floating"===d?"reference":"floating":d],w=C(await l.getClippingRect({element:null==(n=await (null==l.isElement?void 0:l.isElement(p)))||n?p:p.contextElement||await (null==l.getDocumentElement?void 0:l.getDocumentElement(f.floating)),boundary:c,rootBoundary:u,strategy:a})),v="floating"===d?{x:i,y:r,width:o.floating.width,height:o.floating.height}:o.reference,y=await (null==l.getOffsetParent?void 0:l.getOffsetParent(f.floating)),x=await (null==l.isElement?void 0:l.isElement(y))&&await (null==l.getScale?void 0:l.getScale(y))||{x:1,y:1},b=C(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:f,rect:v,offsetParent:y,strategy:a}):v);return{top:(w.top-b.top+g.top)/x.y,bottom:(b.bottom-w.bottom+g.bottom)/x.y,left:(w.left-b.left+g.left)/x.x,right:(b.right-w.right+g.right)/x.x}}t.s(["O",0,u,"I",0,a,"h",0,s,"w",0,f,"R",0,h,"i",0,w,"N",0,v,"T",0,g,"P",0,y,"o",0,x,"J",0,m,"K",0,A,"t",0,O,"j",0,E,"m",0,d,"$",0,p,"y",0,l,"u",0,r,"Z",0,i,"_",0,C,"H",0,o,"M",0,n],32572);let D=async(t,e,n)=>{let{placement:i="bottom",strategy:r="absolute",middleware:l=[],platform:o}=n,f=o.detectOverflow?o:{...o,detectOverflow:S},a=await (null==o.isRTL?void 0:o.isRTL(e)),c=await o.getElementRects({reference:t,floating:e,strategy:r}),{x:u,y:s}=P(c,i,a),d=i,h=0,m={};for(let n=0;n<l.length;n++){let g=l[n];if(!g)continue;let{name:p,fn:w}=g,{x:v,y:y,data:x,reset:b}=await w({x:u,y:s,initialPlacement:i,placement:d,strategy:r,middlewareData:m,rects:c,platform:f,elements:{reference:t,floating:e}});u=null!=v?v:u,s=null!=y?y:s,m[p]={...m[p],...x},b&&h<50&&(h++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(c=!0===b.rects?await o.getElementRects({reference:t,floating:e,strategy:r}):b.rects),{x:u,y:s}=P(c,d,a)),n=-1)}return{x:u,y:s,placement:d,strategy:r,middlewareData:m}};function H(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function F(t){return n.some(e=>t[e]>=0)}function W(t){let e=r(...t.map(t=>t.left)),n=r(...t.map(t=>t.top));return{x:e,y:n,width:l(...t.map(t=>t.right))-e,height:l(...t.map(t=>t.bottom))-n}}let V=new Set(["left","top"]);async function k(t,e){let{placement:n,platform:i,elements:r}=t,l=await (null==i.isRTL?void 0:i.isRTL(r.floating)),o=d(n),f=h(n),a="y"===p(n),c=V.has(o)?-1:1,u=l&&a?-1:1,m=s(e,t),{mainAxis:g,crossAxis:w,alignmentAxis:v}="number"==typeof m?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return f&&"number"==typeof v&&(w="end"===f?-1*v:v),a?{x:w*u,y:g*c}:{x:g*c,y:w*u}}function B(){return"u">typeof window}function M(t){return j(t)?(t.nodeName||"").toLowerCase():"#document"}function z(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function N(t){var e;return null==(e=(j(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function j(t){return!!B()&&(t instanceof Node||t instanceof z(t).Node)}function _(t){return!!B()&&(t instanceof Element||t instanceof z(t).Element)}function I(t){return!!B()&&(t instanceof HTMLElement||t instanceof z(t).HTMLElement)}function q(t){return!(!B()||"u"<typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof z(t).ShadowRoot)}function K(t){let{overflow:e,overflowX:n,overflowY:i,display:r}=te(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+n)&&"inline"!==r&&"contents"!==r}function $(t){return/^(table|td|th)$/.test(M(t))}function G(t){try{if(t.matches(":popover-open"))return!0}catch(t){}try{return t.matches(":modal")}catch(t){return!1}}let J=/transform|translate|scale|rotate|perspective|filter/,U=/paint|layout|strict|content/,X=t=>!!t&&"none"!==t;function Z(t){let e=_(t)?te(t):t;return X(e.transform)||X(e.translate)||X(e.scale)||X(e.rotate)||X(e.perspective)||!Y()&&(X(e.backdropFilter)||X(e.filter))||J.test(e.willChange||"")||U.test(e.contain||"")}function Q(t){let e=ti(t);for(;I(e)&&!tt(e);){if(Z(e))return e;if(G(e))break;e=ti(e)}return null}function Y(){return null==e&&(e="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),e}function tt(t){return/^(html|body|#document)$/.test(M(t))}function te(t){return z(t).getComputedStyle(t)}function tn(t){return _(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function ti(t){if("html"===M(t))return t;let e=t.assignedSlot||t.parentNode||q(t)&&t.host||N(t);return q(e)?e.host:e}function tr(t,e,n){var i;void 0===e&&(e=[]),void 0===n&&(n=!0);let r=function t(e){let n=ti(e);return tt(n)?(e.ownerDocument||e).body:I(n)&&K(n)?n:t(n)}(t),l=r===(null==(i=t.ownerDocument)?void 0:i.body),o=z(r);if(!l)return e.concat(r,tr(r,[],n));{let t=tl(o);return e.concat(o,o.visualViewport||[],K(r)?r:[],t&&n?tr(t):[])}}function tl(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function to(t){let e=te(t),n=parseFloat(e.width)||0,i=parseFloat(e.height)||0,r=I(t),l=r?t.offsetWidth:n,f=r?t.offsetHeight:i,a=o(n)!==l||o(i)!==f;return a&&(n=l,i=f),{width:n,height:i,$:a}}function tf(t){return _(t)?t:t.contextElement}function ta(t){let e=tf(t);if(!I(e))return a(1);let n=e.getBoundingClientRect(),{width:i,height:r,$:l}=to(e),f=(l?o(n.width):n.width)/i,c=(l?o(n.height):n.height)/r;return f&&Number.isFinite(f)||(f=1),c&&Number.isFinite(c)||(c=1),{x:f,y:c}}t.s(["X",0,te,"f",0,Q,"I",0,N,"w",0,tl,"A",0,M,"Q",0,tn,"G",0,tr,"J",0,ti,"K",0,z,"e",0,Z,"m",0,_,"E",0,I,"Z",0,tt,"B",0,K,"R",0,q,"S",0,$,"D",0,G,"i",0,Y],36394);let tc=a(0);function tu(t){let e=z(t);return Y()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:tc}function ts(t,e,n,i){var r;void 0===e&&(e=!1),void 0===n&&(n=!1);let l=t.getBoundingClientRect(),o=tf(t),f=a(1);e&&(i?_(i)&&(f=ta(i)):f=ta(t));let c=(void 0===(r=n)&&(r=!1),i&&r&&i===z(o))?tu(o):a(0),u=(l.left+c.x)/f.x,s=(l.top+c.y)/f.y,d=l.width/f.x,h=l.height/f.y;if(o&&i){let t=z(o),e=_(i)?z(i):i,n=t,r=tl(n);for(;r&&e!==n;){let t=ta(r),e=r.getBoundingClientRect(),i=te(r),l=e.left+(r.clientLeft+parseFloat(i.paddingLeft))*t.x,o=e.top+(r.clientTop+parseFloat(i.paddingTop))*t.y;u*=t.x,s*=t.y,d*=t.x,h*=t.y,u+=l,s+=o,r=tl(n=z(r))}}return C({width:d,height:h,x:u,y:s})}function td(t,e){let n=tn(t).scrollLeft;return e?e.left+n:ts(N(t)).left+n}function th(t,e){let n=t.getBoundingClientRect();return{x:n.left+e.scrollLeft-td(t,n),y:n.top+e.scrollTop}}function tm(t,e,n){var i;let r;if("viewport"===e||"layoutViewport"===e)r=function(t,e,n){void 0===n&&(n="viewport");let i="layoutViewport"===n,r=z(t),l=N(t),o=r.visualViewport,f=l.clientWidth,a=l.clientHeight,c=0,u=0;if(o){let t=!Y()||"fixed"===e;i?t||(c=-o.offsetLeft,u=-o.offsetTop):(f=o.width,a=o.height,t&&(c=o.offsetLeft,u=o.offsetTop))}if(0>=td(l)){let t=l.ownerDocument,e=t.body,n=getComputedStyle(e),i="CSS1Compat"===t.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,r=Math.abs(l.clientWidth-e.clientWidth-i),o="stable both-edges"===getComputedStyle(l).scrollbarGutter?r/2:r;o<=25&&(f-=o)}return{width:f,height:a,x:c,y:u}}(t,n,e);else if("document"===e){let e,n,o,f,a,c;e=tn(i=N(t)),n=i.ownerDocument.body,o=l(i.scrollWidth,i.clientWidth,n.scrollWidth,n.clientWidth),f=l(i.scrollHeight,i.clientHeight,n.scrollHeight,n.clientHeight),a=-e.scrollLeft+td(i),c=-e.scrollTop,"rtl"===te(n).direction&&(a+=l(i.clientWidth,n.clientWidth)-o),r={width:o,height:f,x:a,y:c}}else if(_(e)){let t,i,l,o,f,a;i=(t=ts(e,!0,"fixed"===n)).top+e.clientTop,l=t.left+e.clientLeft,o=ta(e),f=e.clientWidth*o.x,a=e.clientHeight*o.y,r={width:f,height:a,x:l*o.x,y:i*o.y}}else{let n=tu(t);r={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return C(r)}function tg(t){return"static"===te(t).position}function tp(t,e){if(!I(t)||"fixed"===te(t).position)return null;if(e)return e(t);let n=t.offsetParent;return N(t)===n&&(n=n.ownerDocument.body),n}function tw(t,e){let n=z(t);if(G(t))return n;if(!I(t)){let e=ti(t);for(;e&&!tt(e);){if(_(e)&&!tg(e))return e;e=ti(e)}return n}let i=tp(t,e);for(;i&&$(i)&&tg(i);)i=tp(i,e);return i&&tt(i)&&tg(i)&&!Z(i)?n:i||Q(t)||n}let tv=async function(t){let e=this.getOffsetParent||tw,n=this.getDimensions,i=await n(t.floating);return{reference:function(t,e,n){let i=I(e),r=N(e),l="fixed"===n,o=ts(t,!0,l,e),f={scrollLeft:0,scrollTop:0},c=a(0);if((i||!l)&&(("body"!==M(e)||K(r))&&(f=tn(e)),i)){let t=ts(e,!0,l,e);c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}!i&&r&&(c.x=td(r));let u=!r||i||l?a(0):th(r,f);return{x:o.left+f.scrollLeft-c.x-u.x,y:o.top+f.scrollTop-c.y-u.y,width:o.width,height:o.height}}(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}},ty={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:i,strategy:r}=t,l="fixed"===r,o=N(i),f=!!e&&G(e.floating);if(i===o||f&&l)return n;let c={scrollLeft:0,scrollTop:0},u=a(1),s=a(0),d=I(i);if((d||!l)&&(("body"!==M(i)||K(o))&&(c=tn(i)),d)){let t=ts(i);u=ta(i),s.x=t.x+i.clientLeft,s.y=t.y+i.clientTop}let h=!o||d||l?a(0):th(o,c);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+s.x+h.x,y:n.y*u.y-c.scrollTop*u.y+s.y+h.y}},getDocumentElement:N,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:i,strategy:o}=t,f=[..."clippingAncestors"===n?G(e)?[]:function(t,e){let n=e.get(t);if(n)return n;let i=tr(t,[],!1).filter(t=>_(t)&&"body"!==M(t)),r=null,l="fixed"===te(t).position,o=l?ti(t):t;for(;_(o)&&!tt(o);){let t=te(o),e=Z(o),n=r?r.position:l?"fixed":"";e||"fixed"!==n&&("absolute"!==n||"static"!==t.position)?r=t:i=i.filter(t=>t!==o),o=ti(o)}return e.set(t,i),i}(e,this._c):[].concat(n),i],a=tm(e,f[0],o),c=a.top,u=a.right,s=a.bottom,d=a.left;for(let t=1;t<f.length;t++){let n=tm(e,f[t],o);c=l(n.top,c),u=r(n.right,u),s=r(n.bottom,s),d=l(n.left,d)}return{width:u-d,height:s-c,x:d,y:c}},getOffsetParent:tw,getElementRects:tv,getClientRects:function(t){return t.getClientRects?Array.from(t.getClientRects()):[]},getDimensions:function(t){let{width:e,height:n}=to(t);return{width:e,height:n}},getScale:ta,isElement:_,isRTL:function(t){return"rtl"===te(t).direction}};function tx(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}t.s(["P",0,t=>({name:"arrow",options:t,async fn(e){let{x:n,y:i,placement:l,rects:o,platform:f,elements:a,middlewareData:c}=e,{element:d,padding:m=0}=s(t,e)||{};if(null==d)return{};let p=E(m),v={x:n,y:i},y=w(l),x=g(y),b=await f.getDimensions(d),R="y"===y,T=R?"clientHeight":"clientWidth",L=o.reference[x]+o.reference[y]-v[y]-o.floating[x],A=v[y]-o.reference[y],O=await (null==f.getOffsetParent?void 0:f.getOffsetParent(d)),C=O?O[T]:0;C&&await (null==f.isElement?void 0:f.isElement(O))||(C=a.floating[T]||o.floating[x]);let P=C/2-b[x]/2-1,S=r(p[R?"top":"left"],P),D=r(p[R?"bottom":"right"],P),H=C-b[x]-D,F=C/2-b[x]/2+(L/2-A/2),W=u(S,F,H),V=!c.arrow&&null!=h(l)&&F!==W&&o.reference[x]/2-(F<S?S:D)-b[x]/2<0,k=V?F<S?F-S:F-H:0;return{[y]:v[y]+k,data:{[y]:W,centerOffset:F-W-k,...V&&{alignmentOffset:k}},reset:V}}}),"p",0,function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var n,r,l,o;let{rects:f,middlewareData:a,placement:c,platform:u,elements:m}=e,{crossAxis:g=!1,alignment:p,allowedPlacements:w=i,autoAlignment:y=!0,...b}=s(t,e),R=void 0!==p||w===i?((o=p||null)?[...w.filter(t=>h(t)===o),...w.filter(t=>h(t)!==o)]:w.filter(t=>d(t)===t)).filter(t=>!o||h(t)===o||!!y&&x(t)!==t):w,T=(null==(n=a.autoPlacement)?void 0:n.index)||0,L=R[T];if(null==L)return{};if(c!==L)return{reset:{placement:R[0]}};let A=await u.detectOverflow(e,b),O=v(L,f,await (null==u.isRTL?void 0:u.isRTL(m.floating))),E=[A[d(L)],A[O[0]],A[O[1]]],C=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:L,overflows:E}],P=R[T+1];if(P)return{data:{index:T+1,overflows:C},reset:{placement:P}};let S=C.map(t=>{let e=h(t.placement);return[t.placement,e&&g?t.overflows.slice(0,2).reduce((t,e)=>t+e,0):t.overflows[0],t.overflows]}).sort((t,e)=>t[1]-e[1]),D=(null==(l=S.filter(t=>t[2].slice(0,h(t[0])?2:3).every(t=>t<=0))[0])?void 0:l[0])||S[0][0];return D!==c?{data:{index:T+1,overflows:C},reset:{placement:D}}:{}}}},"n",0,function(t,e,n,i){let o;void 0===i&&(i={});let{ancestorScroll:a=!0,ancestorResize:c=!0,elementResize:u="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:d=!1}=i,h=tf(t),m=a||c?[...h?tr(h):[],...e?tr(e):[]]:[];m.forEach(t=>{a&&t.addEventListener("scroll",n),c&&t.addEventListener("resize",n)});let g=h&&s?function(t,e,n){let i,o=null,a=N(t);function c(){var t;clearTimeout(i),null==(t=o)||t.disconnect(),o=null}function u(n,s){void 0===n&&(n=!1),void 0===s&&(s=1),c();let d=t.getBoundingClientRect(),{left:h,top:m,width:g,height:p}=d;if(n||e(),!g||!p)return;let w={rootMargin:-f(m)+"px "+-f(a.clientWidth-(h+g))+"px "+-f(a.clientHeight-(m+p))+"px "+-f(h)+"px",threshold:l(0,r(1,s))||1},v=!0;function y(e){let n=e[0].intersectionRatio;if(!tx(d,t.getBoundingClientRect()))return u();if(n!==s){if(!v)return u();n?u(!1,n):i=setTimeout(()=>{u(!1,1e-7)},1e3)}v=!1}try{o=new IntersectionObserver(y,{...w,root:a.ownerDocument})}catch(t){o=new IntersectionObserver(y,w)}o.observe(t)}let s=z(t),d=()=>u(n);return s.addEventListener("resize",d),u(!0),()=>{s.removeEventListener("resize",d),c()}}(h,n,c):null,p=-1,w=null;u&&(w=new ResizeObserver(t=>{let[i]=t;i&&i.target===h&&w&&e&&(w.unobserve(e),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var t;null==(t=w)||t.observe(e)})),n()}),h&&!d&&w.observe(h),e&&w.observe(e));let v=d?ts(t):null;return d&&function e(){let i=ts(t);v&&!tx(v,i)&&n(),v=i,o=requestAnimationFrame(e)}(),n(),()=>{var t;m.forEach(t=>{a&&t.removeEventListener("scroll",n),c&&t.removeEventListener("resize",n)}),null==g||g(),null==(t=w)||t.disconnect(),w=null,d&&cancelAnimationFrame(o)}},"A",0,(t,e,n)=>{let i=new Map,r=null!=n?n:{},l={...ty,...r.platform,_c:i};return D(t,e,{...r,platform:l})},"k",0,S,"x",0,function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,i,r,l,o;let{placement:f,middlewareData:a,rects:c,initialPlacement:u,platform:h,elements:m}=e,{mainAxis:g=!0,crossAxis:w=!0,fallbackPlacements:x,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:R="none",flipAlignment:T=!0,...L}=s(t,e);if(null!=(n=a.arrow)&&n.alignmentOffset)return{};let E=d(f),C=p(u),P=d(u)===u,S=await (null==h.isRTL?void 0:h.isRTL(m.floating)),D=x||(P||!T?[O(u)]:y(u)),H="none"!==R;!x&&H&&D.push(...A(u,T,R,S));let F=[u,...D],W=await h.detectOverflow(e,L),V=[],k=(null==(i=a.flip)?void 0:i.overflows)||[];if(g&&V.push(W[E]),w){let t=v(f,c,S);V.push(W[t[0]],W[t[1]])}if(k=[...k,{placement:f,overflows:V}],!V.every(t=>t<=0)){let t=((null==(r=a.flip)?void 0:r.index)||0)+1,e=F[t];if(e&&("alignment"!==w||C===p(e)||k.every(t=>p(t.placement)!==C||t.overflows[0]>0)))return{data:{index:t,overflows:k},reset:{placement:e}};let n=null==(l=k.filter(t=>t.overflows[0]<=0).sort((t,e)=>t.overflows[1]-e.overflows[1])[0])?void 0:l.placement;if(!n)switch(b){case"bestFit":{let t=null==(o=k.filter(t=>{if(H){let e=p(t.placement);return e===C||"y"===e}return!0}).map(t=>[t.placement,t.overflows.filter(t=>t>0).reduce((t,e)=>t+e,0)]).sort((t,e)=>t[1]-e[1])[0])?void 0:o[0];t&&(n=t);break}case"initialPlacement":n=u}if(f!==n)return{reset:{placement:n}}}return{}}}},"c",0,function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(e){let{rects:n,platform:i}=e,{strategy:r="referenceHidden",...l}=s(t,e);switch(r){case"referenceHidden":{let t=H(await i.detectOverflow(e,{...l,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:F(t)}}}case"escaped":{let t=H(await i.detectOverflow(e,{...l,altBoundary:!0}),n.floating);return{data:{escapedOffsets:t,escaped:F(t)}}}default:return{}}}}},"g",0,function(t){return void 0===t&&(t={}),{name:"inline",options:t,async fn(e){let{placement:n,elements:i,rects:o,platform:f,strategy:a}=e,{padding:c=2,x:u,y:h}=s(t,e),m=Array.from(await (null==f.getClientRects?void 0:f.getClientRects(i.reference))||[]);if(!m.length)return{};let g=function(t){let e=t.slice().sort((t,e)=>t.y-e.y),n=[],i=null;for(let t=0;t<e.length;t++){let r=e[t];!i||r.y-i.y>i.height/2?n.push([r]):n[n.length-1].push(r),i=r}return n.map(t=>C(W(t)))}(m),w=C(W(m)),v=E(c),y=await f.getElementRects({reference:{getBoundingClientRect:function(){if(2===g.length&&(g[0].left>g[1].right||g[1].left>g[0].right)&&null!=u&&null!=h)return g.find(t=>u>t.left-v.left&&u<t.right+v.right&&h>t.top-v.top&&h<t.bottom+v.bottom)||w;if(g.length>=2){if("y"===p(n)){let t=g[0],e=g[g.length-1],i="top"===d(n),r=t.top,l=e.bottom,o=i?t.left:e.left;return C({x:o,y:r,width:(i?t.right:e.right)-o,height:l-r})}let t="left"===d(n),e=l(...g.map(t=>t.right)),i=r(...g.map(t=>t.left)),o=g.filter(n=>t?n.left===i:n.right===e),f=o[0].top;return C({x:i,y:f,width:e-i,height:o[o.length-1].bottom-f})}return w}},floating:i.floating,strategy:a});return o.reference.x!==y.reference.x||o.reference.y!==y.reference.y||o.reference.width!==y.reference.width||o.reference.height!==y.reference.height?{reset:{rects:y}}:{}}}},"o",0,function(t){return void 0===t&&(t={}),{options:t,fn(e){var n,i,r,l;let{x:o,y:f,placement:a,rects:c,middlewareData:u}=e,{offset:h=0,mainAxis:g=!0,crossAxis:w=!0}=s(t,e),v={x:o,y:f},y=p(a),x=m(y),b=v[x],R=v[y],T=s(h,e),L="number"==typeof T?{mainAxis:T,crossAxis:0}:{mainAxis:null!=(n=T.mainAxis)?n:0,crossAxis:null!=(i=T.crossAxis)?i:0};if(g){let t="y"===x?"height":"width",e=c.reference[x]-c.floating[t]+L.mainAxis,n=c.reference[x]+c.reference[t]-L.mainAxis;b<e?b=e:b>n&&(b=n)}if(w){let t="y"===x?"width":"height",e=V.has(d(a)),n=c.reference[y]-c.floating[t]+(e&&(null==(r=u.offset)?void 0:r[y])||0)+(e?0:L.crossAxis),i=c.reference[y]+c.reference[t]+(e?0:(null==(l=u.offset)?void 0:l[y])||0)-(e?L.crossAxis:0);R<n?R=n:R>i&&(R=i)}return{[x]:b,[y]:R}}}},"T",0,function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var n,i;let{x:r,y:l,placement:o,middlewareData:f}=e,a=await k(e,t);return o===(null==(n=f.offset)?void 0:n.placement)&&null!=(i=f.arrow)&&i.alignmentOffset?{}:{x:r+a.x,y:l+a.y,data:{...a,placement:o}}}}},"e",0,function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:i,placement:r,platform:l}=e,{mainAxis:o=!0,crossAxis:f=!1,limiter:a={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...c}=s(t,e),d={x:n,y:i},h=await l.detectOverflow(e,c),g=p(r),w=m(g),v=d[w],y=d[g],x=(t,e)=>u(e+h["y"===t?"top":"left"],e,e-h["y"===t?"bottom":"right"]);o&&(v=x(w,v)),f&&(y=x(g,y));let b=a.fn({...e,[w]:v,[g]:y});return{...b,data:{x:b.x-n,y:b.y-i,enabled:{[w]:o,[g]:f}}}}}},"q",0,function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){let n,i,{placement:o,rects:f,platform:a,elements:c}=e,{apply:u=()=>{},...m}=s(t,e),g=await a.detectOverflow(e,m),w=d(o),v=h(o),y="y"===p(o),{width:x,height:b}=f.floating;"top"===w||"bottom"===w?(n=w,i=v===(await (null==a.isRTL?void 0:a.isRTL(c.floating))?"start":"end")?"left":"right"):(i=w,n="end"===v?"top":"bottom");let R=b-g.top-g.bottom,T=x-g.left-g.right,L=r(b-g[n],R),A=r(x-g[i],T),O=e.middlewareData.shift,E=!O,C=L,P=A;null!=O&&O.enabled.x&&(P=T),null!=O&&O.enabled.y&&(C=R),E&&!v&&(y?P=x-2*l(g.left,g.right):C=b-2*l(g.top,g.bottom)),await u({...e,availableWidth:P,availableHeight:C});let S=await a.getDimensions(c.floating);return x!==S.width||b!==S.height?{reset:{rects:!0}}:{}}}}],95963)}])})();
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(()=>{"use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,84818,e=>{var t=e.i(92042);e.i(27861);let n={year:0,month:1,day:2,hour:3,minute:4,second:5},r={},a=new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),i="06/25/2014, 00:00:00"===a||"06/25/2014 00:00:00"===a;function o(e,t,n,r,a,i,o){let u=new Date(0);return u.setUTCFullYear(e,t,n),u.setUTCHours(r,a,i,o),u}let u=/^(Z)$/,l=/^([+-]\d{2})$/,s=/^([+-])(\d{2}):?(\d{2})$/;function d(e,t,n){let r,a;if(!e)return 0;let i=u.exec(e);if(i)return 0;if(i=l.exec(e))return h(r=parseInt(i[1],10))?-(36e5*r):0/0;if(i=s.exec(e)){r=parseInt(i[2],10);let e=parseInt(i[3],10);return h(r,e)?(a=36e5*Math.abs(r)+6e4*e,"+"===i[1]?-a:a):0/0}if(function(e){if(f[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),f[e]=!0,!0}catch(e){return!1}}(e)){var d;t=new Date(t||Date.now());let r=c(n?t:o((d=t).getFullYear(),d.getMonth(),d.getDate(),d.getHours(),d.getMinutes(),d.getSeconds(),d.getMilliseconds()),e);return-(n?r:function(e,t,n){let r=e.getTime()-t,a=c(new Date(r),n);if(t===a)return t;let i=c(new Date(r-=a-t),n);return a===i?a:Math.max(a,i)}(t,r,e))}return 0/0}function c(e,t){var a,u,l;let s,d,c,h=(r[a=t]||(r[a]=i?new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:a,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:a,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})),"formatToParts"in(c=r[a])?function(e,t){try{let r=e.formatToParts(t),a=[];for(let e=0;e<r.length;e++){let t=n[r[e].type];void 0!==t&&(a[t]=parseInt(r[e].value,10))}return a}catch(e){if(e instanceof RangeError)return[0/0];throw e}}(c,e):(u=c,l=e,s=u.format(l),[parseInt((d=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(s))[3],10),parseInt(d[1],10),parseInt(d[2],10),parseInt(d[4],10),parseInt(d[5],10),parseInt(d[6],10)])),f=o(h[0],h[1]-1,h[2],h[3]%24,h[4],h[5],0).getTime(),m=e.getTime(),g=m%1e3;return f-(m-=g>=0?g:1e3+g)}function h(e,t){return -23<=e&&e<=23&&(null==t||0<=t&&t<=59)}let f={};function m(e){let t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e-t}let g=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,w=/^([0-9W+-]+)(T| )(.*)/,y=/^([0-9W+-]+)(.*)/,b=/^(\d{2})$/,p=[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],v=/^(\d{4})/,D=[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],M=/^-(\d{2})$/,x=/^-?(\d{3})$/,T=/^-?(\d{2})-?(\d{2})$/,k=/^-?W(\d{2})$/,P=/^-?W(\d{2})-?(\d{1})$/,S=/^(\d{2}([.,]\d*)?)$/,C=/^(\d{2}):?(\d{2}([.,]\d*)?)$/,W=/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/;function F(e,t={}){if(arguments.length<1)throw TypeError("1 argument required, but only "+arguments.length+" present");if(null===e)return new Date(0/0);let n=null==t.additionalDigits?2:Number(t.additionalDigits);if(2!==n&&1!==n&&0!==n)throw RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))return new Date(e.getTime());if("number"==typeof e||"[object Number]"===Object.prototype.toString.call(e))return new Date(e);if("[object String]"!==Object.prototype.toString.call(e))return new Date(0/0);let r=function(e){let t,n={},r=w.exec(e);if(r?(n.date=r[1],t=r[3]):(r=y.exec(e))?(n.date=r[1],t=r[2]):(n.date=null,t=e),t){let e=g.exec(t);e?(n.time=t.replace(e[1],""),n.timeZone=e[1].trim()):n.time=t}return n}(e),{year:a,restDateString:i}=function(e,t){if(e){let n=p[t],r=D[t],a=v.exec(e)||r.exec(e);if(a){let t=a[1];return{year:parseInt(t,10),restDateString:e.slice(t.length)}}if(a=b.exec(e)||n.exec(e)){let t=a[1];return{year:100*parseInt(t,10),restDateString:e.slice(t.length)}}}return{year:null}}(r.date,n),o=function(e,t){let n,r,a;if(null===t)return null;if(!e||!e.length)return(n=new Date(0)).setUTCFullYear(t),n;let i=M.exec(e);if(i)return(n=new Date(0),$(t,r=parseInt(i[1],10)-1))?(n.setUTCFullYear(t,r),n):new Date(0/0);if(i=x.exec(e)){n=new Date(0);let e=parseInt(i[1],10);return!function(e,t){if(t<1)return!1;let n=O(e);return(!n||!(t>366))&&(!!n||!(t>365))}(t,e)?new Date(0/0):(n.setUTCFullYear(t,0,e),n)}if(i=T.exec(e)){n=new Date(0),r=parseInt(i[1],10)-1;let e=parseInt(i[2],10);return $(t,r,e)?(n.setUTCFullYear(t,r,e),n):new Date(0/0)}if(i=k.exec(e))return j(a=parseInt(i[1],10)-1)?Y(t,a):new Date(0/0);if(i=P.exec(e)){a=parseInt(i[1],10)-1;let e=parseInt(i[2],10)-1;return j(a,e)?Y(t,a,e):new Date(0/0)}return null}(i,a);if(null===o||isNaN(o.getTime())||!o)return new Date(0/0);{let e,n=o.getTime(),a=0;if(r.time&&(null===(a=function(e){let t,n,r=S.exec(e);if(r)return q(t=parseFloat(r[1].replace(",",".")))?t%24*36e5:0/0;if(r=C.exec(e))return q(t=parseInt(r[1],10),n=parseFloat(r[2].replace(",",".")))?t%24*36e5+6e4*n:0/0;if(r=W.exec(e)){t=parseInt(r[1],10),n=parseInt(r[2],10);let e=parseFloat(r[3].replace(",","."));return q(t,n,e)?t%24*36e5+6e4*n+1e3*e:0/0}return null}(r.time))||isNaN(a)))return new Date(0/0);if(r.timeZone||t.timeZone){if(isNaN(e=d(r.timeZone||t.timeZone,new Date(n+a))))return new Date(0/0)}else e=m(new Date(n+a)),e=m(new Date(n+a+e));return new Date(n+a+e)}}function Y(e,t,n){t=t||0,n=n||0;let r=new Date(0);r.setUTCFullYear(e,0,4);let a=7*t+n+1-(r.getUTCDay()||7);return r.setUTCDate(r.getUTCDate()+a),r}let I=[31,28,31,30,31,30,31,31,30,31,30,31],N=[31,29,31,30,31,30,31,31,30,31,30,31];function O(e){return e%400==0||e%4==0&&e%100!=0}function $(e,t,n){if(t<0||t>11)return!1;if(null!=n){if(n<1)return!1;let r=O(e);if(r&&n>N[t]||!r&&n>I[t])return!1}return!0}function j(e,t){return!(e<0)&&!(e>52)&&(null==t||!(t<0)&&!(t>6))}function q(e,t,n){return!(e<0)&&!(e>=25)&&(null==t||!(t<0)&&!(t>=60))&&(null==n||!(n<0)&&!(n>=60))}e.s(["f",0,()=>({formatDateTime:(e,t={})=>e&&Date.parse(e)?Intl.DateTimeFormat(void 0,t).format(new Date(e).getTime()):"n/a",getDateFormatPattern:()=>new Intl.DateTimeFormat(void 0).formatToParts(new Date).map(e=>{switch(e.type){case"day":return"d".repeat(e.value.length);case"month":return"M".repeat(e.value.length);case"year":return"y".repeat(e.value.length);case"literal":return e.value;default:return"dd.mm.yyyy"}}).join(""),parseDate:e=>(0,t.f)(function(e,t){if("string"==typeof e&&!e.match(g))return F(e,{timeZone:t});let n=o((e=F(e,void 0)).getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()).getTime(),r=d(t,new Date(n));return new Date(n+r)}(e,Intl.DateTimeFormat().resolvedOptions().timeZone),"yyyy-MM-dd")})],84818)},83147,e=>{let t=e=>e&&e?.split(",").reduce((e,t)=>{let[n=null,r=null]=(t||"")?.split("_")||[];return{...e,[n]:r}},null)||{};e.s(["S",0,(...e)=>e.filter(Boolean).join(" "),"R",0,e=>Object.entries(t(e))?.map(([e,t])=>({key:e,value:t})),"D",0,e=>e?.label&&e?.version?`${e.label} ${e.version}`:"","v",0,t,"Q",0,(e,t,n=!0)=>{if(!t)return"";try{return`${new Intl.DisplayNames([e],{type:"region"}).of(t)} ${n?`(${t})`:""}`}catch{return t}},"j",0,(e,t,n=!0)=>{if(!t)return"";try{return`${new Intl.DisplayNames([e],{type:"currency"}).of(t)} ${n?`(${t})`:""}`}catch{return t}},"I",0,(e,t,n=!0)=>{if(!t)return"";try{return`${new Intl.DisplayNames([e],{type:"language"}).of(t)} ${n?`(${t})`:""}`}catch{return t}},"_",0,(e,t,n)=>{let r;return r=n?{...e,[n]:t}:e,Object.keys(r)?.map(e=>[e,r[e]].join("="))?.join("&")},"d",0,()=>({formatPrice:e=>{if(!e?.currencyCode)return"n/a";if(e?.amount===void 0||e?.amount===null)return"";let{amount:t,currencyCode:n}=e||{};return new Intl.NumberFormat(navigator.language,{style:"currency",currency:n}).format(t/100)}})])},6607,e=>{var t=e.i(91788),n=e.i(6444);e.s(["f",0,()=>(0,t.useContext)(n.f)])},92042,50216,27861,57322,24323,e=>{let t={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function n(e){return (t={})=>{let n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}let r={date:n({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:n({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:n({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function i(e){return(t,n)=>{let r;if("formatting"===(n?.context?String(n.context):"standalone")&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,a=n?.width?String(n.width):t;r=e.formattingValues[a]||e.formattingValues[t]}else{let t=e.defaultWidth,a=n?.width?String(n.width):e.defaultWidth;r=e.values[a]||e.values[t]}return r[e.argumentCallback?e.argumentCallback(t):t]}}function o(e){return(t,n={})=>{let r,a=n.width,i=a&&e.matchPatterns[a]||e.matchPatterns[e.defaultMatchWidth],o=t.match(i);if(!o)return null;let u=o[0],l=a&&e.parsePatterns[a]||e.parsePatterns[e.defaultParseWidth],s=Array.isArray(l)?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}(l,e=>e.test(u)):function(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}(l,e=>e.test(u));return r=e.valueCallback?e.valueCallback(s):s,{value:r=n.valueCallback?n.valueCallback(r):r,rest:t.slice(u.length)}}}let u={code:"en-US",formatDistance:(e,n,r)=>{let a,i=t[e];if(a="string"==typeof i?i:1===n?i.one:i.other.replace("{{count}}",n.toString()),r?.addSuffix)if(r.comparison&&r.comparison>0)return"in "+a;else return a+" ago";return a},formatLong:r,formatRelative:(e,t,n,r)=>a[e],localize:{ordinalNumber:(e,t)=>{let n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:i({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:i({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:i({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:i({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:i({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(d={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)},(e,t={})=>{let n=e.match(d.matchPattern);if(!n)return null;let r=n[0],a=e.match(d.parsePattern);if(!a)return null;let i=d.valueCallback?d.valueCallback(a[0]):a[0];return{value:i=t.valueCallback?t.valueCallback(i):i,rest:e.slice(r.length)}}),era:o({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:o({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:o({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:o({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:o({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};e.s(["f",0,u],50216);let l={};function s(){return l}e.s(["f",0,s],27861);var d,c=e.i(35113);function h(e){let t=(0,c.f)(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),e-n}e.s(["f",0,h],57322);var f=e.i(98170);function m(e,...t){let n=f.f.bind(null,e||t.find(e=>"object"==typeof e));return t.map(n)}e.s(["f",0,m],24323);var g=e.i(2848),w=e.i(49543);function y(e,t){let n=s(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,a=(0,c.f)(e,t?.in),i=a.getDay();return a.setDate(a.getDate()-(7*(i<r)+i-r)),a.setHours(0,0,0,0),a}function b(e,t){return y(e,{...t,weekStartsOn:1})}function p(e,t){let n=(0,c.f)(e,t?.in),r=n.getFullYear(),a=(0,f.f)(n,0);a.setFullYear(r+1,0,4),a.setHours(0,0,0,0);let i=b(a),o=(0,f.f)(n,0);o.setFullYear(r,0,4),o.setHours(0,0,0,0);let u=b(o);return n.getTime()>=i.getTime()?r+1:n.getTime()>=u.getTime()?r:r-1}function v(e,t){let n=(0,c.f)(e,t?.in),r=n.getFullYear(),a=s(),i=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,o=(0,f.f)(t?.in||e,0);o.setFullYear(r+1,0,i),o.setHours(0,0,0,0);let u=y(o,t),l=(0,f.f)(t?.in||e,0);l.setFullYear(r,0,i),l.setHours(0,0,0,0);let d=y(l,t);return+n>=+u?r+1:+n>=+d?r:r-1}function D(e,t){let n=Math.abs(e).toString().padStart(t,"0");return(e<0?"-":"")+n}let M={y(e,t){let n=e.getFullYear(),r=n>0?n:1-n;return D("yy"===t?r%100:r,t.length)},M(e,t){let n=e.getMonth();return"M"===t?String(n+1):D(n+1,2)},d:(e,t)=>D(e.getDate(),t.length),a(e,t){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>D(e.getHours()%12||12,t.length),H:(e,t)=>D(e.getHours(),t.length),m:(e,t)=>D(e.getMinutes(),t.length),s:(e,t)=>D(e.getSeconds(),t.length),S(e,t){let n=t.length;return D(Math.trunc(e.getMilliseconds()*Math.pow(10,n-3)),t.length)}},x={G:function(e,t,n){let r=+(e.getFullYear()>0);switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){let t=e.getFullYear();return n.ordinalNumber(t>0?t:1-t,{unit:"year"})}return M.y(e,t)},Y:function(e,t,n,r){let a=v(e,r),i=a>0?a:1-a;return"YY"===t?D(i%100,2):"Yo"===t?n.ordinalNumber(i,{unit:"year"}):D(i,t.length)},R:function(e,t){return D(p(e),t.length)},u:function(e,t){return D(e.getFullYear(),t.length)},Q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return D(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return D(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){let r=e.getMonth();switch(t){case"M":case"MM":return M.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){let r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return D(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){let a,i,o,u,l,d=Math.round((y(a=(0,c.f)(e,r?.in),r)-(i=s(),o=r?.firstWeekContainsDate??r?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,u=v(a,r),(l=(0,f.f)(r?.in||a,0)).setFullYear(u,0,o),l.setHours(0,0,0,0),y(l,r)))/g.A)+1;return"wo"===t?n.ordinalNumber(d,{unit:"week"}):D(d,t.length)},I:function(e,t,n){let r,a,i,o=Math.round((b(r=(0,c.f)(e,void 0))-(a=p(r,void 0),(i=(0,f.f)(r,0)).setFullYear(a,0,4),i.setHours(0,0,0,0),b(i)))/g.A)+1;return"Io"===t?n.ordinalNumber(o,{unit:"week"}):D(o,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):M.d(e,t)},D:function(e,t,n){let r,a,i=function(e,t){let[n,r]=m(void 0,e,t),a=(0,w.f)(n),i=(0,w.f)(r);return Math.round((a-h(a)-(i-h(i)))/g._)}(r=(0,c.f)(e,void 0),((a=(0,c.f)(r,void 0)).setFullYear(a.getFullYear(),0,1),a.setHours(0,0,0,0),a))+1;return"Do"===t?n.ordinalNumber(i,{unit:"dayOfYear"}):D(i,t.length)},E:function(e,t,n){let r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){let a=e.getDay(),i=(a-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return D(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(a,{width:"short",context:"formatting"});default:return n.day(a,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){let a=e.getDay(),i=(a-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return D(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(a,{width:"narrow",context:"standalone"});case"cccccc":return n.day(a,{width:"short",context:"standalone"});default:return n.day(a,{width:"wide",context:"standalone"})}},i:function(e,t,n){let r=e.getDay(),a=0===r?7:r;switch(t){case"i":return String(a);case"ii":return D(a,t.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){let r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){let r,a=e.getHours();switch(r=12===a?"noon":0===a?"midnight":a/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){let r,a=e.getHours();switch(r=a>=17?"evening":a>=12?"afternoon":a>=4?"morning":"night",t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return M.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):M.H(e,t)},K:function(e,t,n){let r=e.getHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):D(r,t.length)},k:function(e,t,n){let r=e.getHours();return(0===r&&(r=24),"ko"===t)?n.ordinalNumber(r,{unit:"hour"}):D(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):M.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):M.s(e,t)},S:function(e,t){return M.S(e,t)},X:function(e,t,n){let r=e.getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return k(r);case"XXXX":case"XX":return P(r);default:return P(r,":")}},x:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"x":return k(r);case"xxxx":case"xx":return P(r);default:return P(r,":")}},O:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+T(r,":");default:return"GMT"+P(r,":")}},z:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+T(r,":");default:return"GMT"+P(r,":")}},t:function(e,t,n){return D(Math.trunc(e/1e3),t.length)},T:function(e,t,n){return D(+e,t.length)}};function T(e,t=""){let n=e>0?"-":"+",r=Math.abs(e),a=Math.trunc(r/60),i=r%60;return 0===i?n+String(a):n+String(a)+t+D(i,2)}function k(e,t){return e%60==0?(e>0?"-":"+")+D(Math.abs(e)/60,2):P(e,t)}function P(e,t=""){let n=Math.abs(e);return(e>0?"-":"+")+D(Math.trunc(n/60),2)+t+D(n%60,2)}let S=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},C=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},W={p:C,P:(e,t)=>{let n,r=e.match(/(P+)(p+)?/)||[],a=r[1],i=r[2];if(!i)return S(e,t);switch(a){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",S(a,t)).replace("{{time}}",C(i,t))}},F=/^D+$/,Y=/^Y+$/,I=["D","DD","YY","YYYY"];var N=e.i(9356);let O=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,$=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,j=/^'([^]*?)'?$/,q=/''/g,H=/[a-zA-Z]/;e.s(["f",0,function(e,t,n){let r=s(),a=n?.locale??r.locale??u,i=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,o=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,l=(0,c.f)(e,n?.in);if(!(0,N.f)(l))throw RangeError("Invalid time value");let d=t.match($).map(e=>{let t=e[0];return"p"===t||"P"===t?(0,W[t])(e,a.formatLong):e}).join("").match(O).map(e=>{if("''"===e)return{isToken:!1,value:"'"};let t=e[0];if("'"===t){var n;let t;return{isToken:!1,value:(t=(n=e).match(j))?t[1].replace(q,"'"):n}}if(x[t])return{isToken:!0,value:e};if(t.match(H))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});a.localize.preprocessor&&(d=a.localize.preprocessor(l,d));let h={firstWeekContainsDate:i,weekStartsOn:o,locale:a};return d.map(r=>{if(!r.isToken)return r.value;let i=r.value;return(!n?.useAdditionalWeekYearTokens&&Y.test(i)||!n?.useAdditionalDayOfYearTokens&&F.test(i))&&function(e,t,n){var r,a,i;let o,u=(r=e,a=t,i=n,o="Y"===r[0]?"years":"days of the month",`Use \`${r.toLowerCase()}\` instead of \`${r}\` (in \`${a}\`) for formatting ${o} to the input \`${i}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`);if(console.warn(u),I.includes(e))throw RangeError(u)}(i,t,String(e)),(0,x[i[0]])(l,i,a.localize,h)}).join("")}],92042)}])})();
|