@unchainedshop/admin-ui 4.8.25 → 4.8.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/403/index.html +2 -2
- package/out/404/index.html +2 -2
- package/out/404.html +2 -2
- package/out/423/index.html +2 -2
- package/out/500/index.html +2 -2
- package/out/_next/static/{s9JIgzylJK2SpeEcB-ZI9 → _TiowajLX6Z3MYsLPNgxd}/_buildManifest.js +62 -62
- package/out/_next/static/chunks/{24-r3ko_zk9tx.js → 0-b63f3cwlt9h.js} +2 -2
- package/out/_next/static/chunks/{3_oq57mmti33y.js → 0-uh133eqcz6n.js} +1 -1
- package/out/_next/static/chunks/{0__v8hox2f99w.js → 0172idn4wi-am.js} +3 -3
- package/out/_next/static/chunks/{1snnkviatd2ds.js → 018n9pot9f5uf.js} +3 -3
- package/out/_next/static/chunks/{41mslgyvxwsej.js → 036jcj4okqca4.js} +1 -1
- package/out/_next/static/chunks/{33ndyf-aam_my.js → 03_e40kzqm4nj.js} +2 -2
- package/out/_next/static/chunks/{2yg0gngo1ojjy.js → 05dtc5uryjkmn.js} +2 -2
- package/out/_next/static/chunks/{3laksuh0hh5mn.js → 0989pcuje2j55.js} +1 -1
- package/out/_next/static/chunks/{3t-bgqidpfg2p.js → 0_ngi84ak813x.js} +1 -1
- package/out/_next/static/chunks/{0oikfwsuec7ab.js → 0ac5zzn3zeki5.js} +7 -7
- package/out/_next/static/chunks/{02az0am12ruz7.js → 0c1eqd9oamcur.js} +2 -2
- package/out/_next/static/chunks/{0uh50ckof6hx6.js → 0c2th4nk1xlfd.js} +2 -2
- package/out/_next/static/chunks/{1xp6bya-kpwfn.js → 0cotrfgh1n2cx.js} +1 -1
- package/out/_next/static/chunks/{2vhrwf77u-txi.js → 0dtahnosgvou_.js} +3 -3
- package/out/_next/static/chunks/{3dstnf59_lxjk.js → 0dvf7ltl55td_.js} +2 -2
- package/out/_next/static/chunks/{0rhsm8uteluq4.js → 0k433cermb_mg.js} +11 -11
- package/out/_next/static/chunks/0kkky_8vhaeaz.js +227 -0
- package/out/_next/static/chunks/{2jz9857mvxw1f.js → 0l3hp2c6_v3vu.js} +2 -2
- package/out/_next/static/chunks/{2zclrb781ijot.js → 0o16fnqhx30be.js} +2 -2
- package/out/_next/static/chunks/{2516fxi011eb1.js → 0pecsk3c09b19.js} +2 -2
- package/out/_next/static/chunks/{2k53q5l-08fs3.js → 0pj6j2o4ya0xs.js} +4 -4
- package/out/_next/static/chunks/{079edy40hhkgj.js → 0w2zoz_fn_wha.js} +4 -4
- package/out/_next/static/chunks/{3ahj8n2x-j99f.js → 0yhj5b33a-dp1.js} +4 -4
- package/out/_next/static/chunks/1-uz_5-063kh9.js +188 -0
- package/out/_next/static/chunks/{2jdelz2l311he.js → 10os1s66nimmi.js} +1 -1
- package/out/_next/static/chunks/119eyvb0tl4d7.js +5 -0
- package/out/_next/static/chunks/{3gls52bjnoo8q.js → 12ukdi5bzlbeo.js} +5 -5
- package/out/_next/static/chunks/{2rjnybq036zly.js → 13qk8ukzu1snm.js} +1 -1
- package/out/_next/static/chunks/{3_12z4kmwbyi-.js → 17wc5344qnib1.js} +3 -3
- package/out/_next/static/chunks/{37kg802txlx94.js → 18e-92lfg29wn.js} +9 -9
- package/out/_next/static/chunks/{277akhd6xt9p_.js → 1bhsgjj7bbftc.js} +2 -2
- package/out/_next/static/chunks/{42fk1xz9mr0ln.js → 1bp_0jnta8nj1.js} +2 -2
- package/out/_next/static/chunks/{3v80f5bymfjvd.js → 1cgxgd2cf8u3j.js} +1 -1
- package/out/_next/static/chunks/{0z3r-u3woyf5f.js → 1d951b6ed8oqn.js} +10 -10
- package/out/_next/static/chunks/{2qz0jmtz3yn40.js → 1epelh6347c59.js} +4 -4
- package/out/_next/static/chunks/{05j07j2bqc6wn.js → 1f5-j4f3irx0j.js} +1 -1
- package/out/_next/static/chunks/{32u64w60mh-qb.js → 1f536itbgwelp.js} +2 -2
- package/out/_next/static/chunks/{3uhtf9i__bqje.js → 1g57y7cq7tjcb.js} +3 -3
- package/out/_next/static/chunks/{26ie8u_ab24o8.js → 1gksg35fivk0-.js} +6 -6
- package/out/_next/static/chunks/{278a5_xfwj8t8.js → 1gv6j3dx9s71x.js} +3 -3
- package/out/_next/static/chunks/{238_wkbkqe4ru.js → 1hpx7xjq9a5bq.js} +2 -2
- package/out/_next/static/chunks/{2_bwqw4n9gs7w.js → 1hwup6qqzqzh8.js} +8 -8
- package/out/_next/static/chunks/{1jvgta6cg9f63.js → 1k703f4i1hgfy.js} +2 -2
- package/out/_next/static/chunks/{0qz4fmzwbpwoh.js → 1mo_wvf-1w8h-.js} +3 -3
- package/out/_next/static/chunks/{1_b14nl6-4wtw.js → 1o41sjh1nhwir.js} +10 -10
- package/out/_next/static/chunks/{2ckezjg_6i9cn.js → 1r0jyqmys60fw.js} +2 -2
- package/out/_next/static/chunks/1shkyosfbiwr4.js +1 -0
- package/out/_next/static/chunks/{35995k_05rugk.js → 1sivy8bkkmwxl.js} +1 -1
- package/out/_next/static/chunks/1t20r1ofch5r3.js +95 -0
- package/out/_next/static/chunks/{3ggt1tip88nkp.js → 1w_4l5gk0n27a.js} +2 -2
- package/out/_next/static/chunks/{3g0xmbqgxpj7o.js → 1weq9keqxiqpy.js} +1 -1
- package/out/_next/static/chunks/{3pu2ctsxqn-fl.js → 1zzpf1xbmchcj.js} +1 -1
- package/out/_next/static/chunks/{1wcwzekzzjwlq.js → 2-ciniqgtu96t.js} +3 -3
- package/out/_next/static/chunks/{16eus7dy50oyb.js → 20wamkfz03l6l.js} +2 -2
- package/out/_next/static/chunks/{2soyg4wxppe6n.js → 21c515liq8_sf.js} +2 -2
- package/out/_next/static/chunks/{0ij8zl3c4lqsk.js → 21lf0tu71e9e5.js} +4 -4
- package/out/_next/static/chunks/{3b1om2xaljjvh.js → 27tp9qrxhs6uf.js} +2 -2
- package/out/_next/static/chunks/{003ookoyh79au.js → 28z1z7in8-kbg.js} +1 -1
- package/out/_next/static/chunks/{3j7lb46_vxpd6.js → 2_0bsdj7k4kue.js} +2 -2
- package/out/_next/static/chunks/{1h4ckn5mxvi_8.js → 2b_lhf_533k0a.js} +3 -3
- package/out/_next/static/chunks/{1wez602sl5xny.js → 2cnc1jkfc85_x.js} +2 -2
- package/out/_next/static/chunks/{3_t_mtrxdgcpx.js → 2cwzp5h99c8es.js} +2 -2
- package/out/_next/static/chunks/{2wzimhcqk94rf.js → 2ecq8dhsm2eu1.js} +9 -9
- package/out/_next/static/chunks/{0x1q_xhnh-ahz.js → 2eo4m196-t6ed.js} +2 -2
- package/out/_next/static/chunks/{0id72_o51c3wx.js → 2f8qzo__ksyu7.js} +2 -2
- package/out/_next/static/chunks/{127vzg0pzx801.js → 2g0f0awj5p2qc.js} +2 -2
- package/out/_next/static/chunks/2i5uj5i4z-xu8.js +188 -0
- package/out/_next/static/chunks/2j6cph79-th54.js +7 -0
- package/out/_next/static/chunks/{0frvaf7psqfd-.js → 2o7wjpjbr5vau.js} +2 -2
- package/out/_next/static/chunks/{0feoncudhgyln.js → 2ocwu5vbc5r34.js} +1 -1
- package/out/_next/static/chunks/{43sqln4o-0sbu.js → 2p6deqdf8dlo0.js} +12 -12
- package/out/_next/static/chunks/{2ify0_8_eg6i8.js → 2rw-r9fvx6t4y.js} +2 -2
- package/out/_next/static/chunks/{3rskgltgatai7.js → 2skxi0oqka3ef.js} +4 -4
- package/out/_next/static/chunks/{0v97keszuu2ye.js → 2v0koj5wv-png.js} +2 -2
- package/out/_next/static/chunks/{36wixjyjpx2kp.js → 2vhqw66fy605y.js} +3 -3
- package/out/_next/static/chunks/{2lgzijzm81h5i.js → 2vy8ae-zwwle1.js} +3 -3
- package/out/_next/static/chunks/{3kniyx4tjrwz2.js → 2y9z7y6i5cawj.js} +3 -3
- package/out/_next/static/chunks/{2blfxtx5ec8hc.js → 2z5b35yv3i6aq.js} +2 -2
- package/out/_next/static/chunks/{0je6_km9r9fy3.js → 3-av_88np5f5_.js} +2 -2
- package/out/_next/static/chunks/{2pg_bikt9gdq9.js → 3-h5nu9jontfy.js} +2 -2
- package/out/_next/static/chunks/{2t8p0kniibzz0.js → 3-hdz4_6asex-.js} +2 -2
- package/out/_next/static/chunks/{2tn-d1ba-rexw.js → 30zp6-w17u9rt.js} +2 -2
- package/out/_next/static/chunks/{03lxylxrb--nr.js → 31_pg1fxqgdfx.js} +5 -5
- package/out/_next/static/chunks/{15qb_nbftdngf.js → 31j6x_qgtn-7j.js} +2 -2
- package/out/_next/static/chunks/{1530qvlw3k6-r.js → 363ng2l8o_bee.js} +1 -1
- package/out/_next/static/chunks/378867ti5yucc.js +3 -0
- package/out/_next/static/chunks/{3zscwdzfvog6_.js → 37phwvegpccj0.js} +3 -3
- package/out/_next/static/chunks/{1b350uot8ezcc.js → 37rq4vcfobv9x.js} +2 -2
- package/out/_next/static/chunks/{095k8hpxw-xbn.js → 3dbskin37ha12.js} +2 -2
- package/out/_next/static/chunks/{3h7u-1nejqqtb.js → 3opuxnw_w3yb5.js} +1 -1
- package/out/_next/static/chunks/{3oa7poag0otjv.js → 3s18b668qqa87.js} +3 -3
- package/out/_next/static/chunks/{41zg0kqiqrk1p.js → 3u3tcrl7wxrzi.js} +2 -2
- package/out/_next/static/chunks/{40xs4068rcf2a.js → 3wm88ukxj8u46.js} +2 -2
- package/out/_next/static/chunks/{17oybfz0_w57_.js → 404_8bnljpu18.js} +3 -3
- package/out/_next/static/chunks/{1ape9gu816w4y.js → 40bl8g3_13c59.js} +2 -2
- package/out/_next/static/chunks/{2gkktfamtwne7.js → 40v94fy15qxej.js} +2 -2
- package/out/_next/static/chunks/{1rjt4878-6jpq.js → 4188i5qe83m24.js} +9 -9
- package/out/_next/static/chunks/{39yikkubmtgqz.js → 458tg2eg5h8j5.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3kacigl3rdfnv.js → turbopack-06hufy_7yovzw.js} +1 -1
- package/out/_next/static/chunks/{turbopack-36iwsu47bxp33.js → turbopack-08u3rgl_09tb7.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3krde2-jab_v8.js → turbopack-0bljt1tp0zt4q.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3r3t_benyr3e0.js → turbopack-0bp88aylp19tu.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3ooud-27zb68g.js → turbopack-0cbhwv4g0ak0q.js} +1 -1
- package/out/_next/static/chunks/{turbopack-1w4scyf6vpol5.js → turbopack-0cu-maxx6s175.js} +1 -1
- package/out/_next/static/chunks/{turbopack-44xximgh8gm_p.js → turbopack-0hpk8f7-2xoz3.js} +1 -1
- package/out/_next/static/chunks/{turbopack-2b1khd4qbo4g_.js → turbopack-0i_uv1p6_dyo-.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3qzwty6gp2rp6.js → turbopack-0j92hsdmi8k6p.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3aomwkxdb1xcd.js → turbopack-0jijm5fs2d3pa.js} +1 -1
- package/out/_next/static/chunks/{turbopack-2zkucstqs-uas.js → turbopack-0la8grv9f6bxn.js} +1 -1
- package/out/_next/static/chunks/{turbopack-1nyeff6x3-pse.js → turbopack-0nlhzx_9rg6_p.js} +1 -1
- package/out/_next/static/chunks/{turbopack-1_gglg3dpcrb9.js → turbopack-0rt_vkqrb6ykb.js} +1 -1
- package/out/_next/static/chunks/{turbopack-2qna1gaz_m8yg.js → turbopack-0ywznohf-p_-1.js} +1 -1
- package/out/_next/static/chunks/{turbopack-1sbxamm6uhuz5.js → turbopack-10l1gows-lyo9.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0zgk48rvr1ido.js → turbopack-13nb0axu41yph.js} +1 -1
- package/out/_next/static/chunks/{turbopack-43nacpl_z8zcq.js → turbopack-148_1qw3wae7d.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3it6l3zzhdo9p.js → turbopack-14qzcqdgveoel.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0f19levb05q7i.js → turbopack-14zydki2yqyd3.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0_rgd_u2af3ru.js → turbopack-15x3cqzaaew93.js} +1 -1
- package/out/_next/static/chunks/{turbopack-1us_6ukt1jk6-.js → turbopack-1bnaj5x8w5m6z.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0u-4g74a2wwm5.js → turbopack-1ddkj8w1l0b4_.js} +1 -1
- package/out/_next/static/chunks/{turbopack-2sq3dp63iy9sc.js → turbopack-1gbk68s3o1ulv.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3_5cgc46h8vnh.js → turbopack-1k2h3st-nygbo.js} +1 -1
- package/out/_next/static/chunks/{turbopack-2gd0kzz1h3hib.js → turbopack-1r4g2xna7gckz.js} +1 -1
- package/out/_next/static/chunks/{turbopack-24dn7pallse3c.js → turbopack-1w2r6t0rjz8pp.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0hqshmcyjb59f.js → turbopack-1w3-o4vpw_tgq.js} +1 -1
- package/out/_next/static/chunks/{turbopack-37s27yvm7wqhz.js → turbopack-22r1qh8g6munp.js} +1 -1
- package/out/_next/static/chunks/{turbopack-21wpv-2yjj_2k.js → turbopack-252a5rlyrq9fk.js} +1 -1
- package/out/_next/static/chunks/{turbopack-1hmv9sdzrieda.js → turbopack-25bgi6hb6qg8w.js} +1 -1
- package/out/_next/static/chunks/{turbopack-17yo0nf9vriak.js → turbopack-25hv3ltvy0wos.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3q_fl6svn9p5v.js → turbopack-26z9lzkojt-cx.js} +1 -1
- package/out/_next/static/chunks/{turbopack-2xi5gbt97onhy.js → turbopack-272y7gt3ncsq7.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0ck9bx9i_235a.js → turbopack-2b14t7jx5tgn7.js} +1 -1
- package/out/_next/static/chunks/{turbopack-411xj3ahxrm7x.js → turbopack-2cvqtdfi5z-33.js} +1 -1
- package/out/_next/static/chunks/{turbopack-211nr22unb6cu.js → turbopack-2h3q2k9k2riyq.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3hwp80k71dv65.js → turbopack-2ihmy6dk991x4.js} +1 -1
- package/out/_next/static/chunks/{turbopack-2oib8sz_w6hep.js → turbopack-2jpit5njafpgz.js} +1 -1
- package/out/_next/static/chunks/{turbopack-1tt8er6zdq9n9.js → turbopack-2xm-84om1nxe3.js} +1 -1
- package/out/_next/static/chunks/{turbopack-34ki5zh3v60qq.js → turbopack-3-84r4h6w7ztq.js} +1 -1
- package/out/_next/static/chunks/{turbopack-31mn29md8ofl3.js → turbopack-3-kzs1xrhesa8.js} +1 -1
- package/out/_next/static/chunks/{turbopack-392y78oof71z2.js → turbopack-328hjoqts5fe-.js} +1 -1
- package/out/_next/static/chunks/{turbopack-028t8_6fqod-c.js → turbopack-34cd6px36-_ae.js} +1 -1
- package/out/_next/static/chunks/{turbopack-086jsmtsvtaec.js → turbopack-34gjko7_04blz.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3_-rg9lmp4h0e.js → turbopack-34rebh56g2zjd.js} +1 -1
- package/out/_next/static/chunks/{turbopack-2jz68yzgjx-xl.js → turbopack-3591lq9bl5zm-.js} +1 -1
- package/out/_next/static/chunks/{turbopack-2uzg6ysxx6cf5.js → turbopack-3aujkr72l5znq.js} +1 -1
- package/out/_next/static/chunks/{turbopack-1pld3p02m7h8c.js → turbopack-3cnuj1vf45306.js} +1 -1
- package/out/_next/static/chunks/{turbopack-33hnf_-ch94yh.js → turbopack-3ma-qc75tctdd.js} +1 -1
- package/out/_next/static/chunks/{turbopack-2y9g0j3n6bhv8.js → turbopack-3mxiudedhdbib.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3xna14y4x6294.js → turbopack-3n_3uj335tm0n.js} +1 -1
- package/out/_next/static/chunks/{turbopack-2e4vvf8-6h7il.js → turbopack-3np05fneli2gv.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3vj5mrb50cv96.js → turbopack-3opb94dwpz7bg.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3en5il6z7-a36.js → turbopack-3ouyppea8jp6k.js} +1 -1
- package/out/_next/static/chunks/{turbopack-1xt9y6imo4y47.js → turbopack-3qmjh91o7wte5.js} +1 -1
- package/out/_next/static/chunks/{turbopack-2tvzuc7lcku4v.js → turbopack-3seov_dvv8im-.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0ougsw-ryfqrq.js → turbopack-3uov6gvwwuxmx.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3p5qeedyziucp.js → turbopack-3x5pttfv2qlpw.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3vozqs8tej365.js → turbopack-3xem4akmi9at9.js} +1 -1
- package/out/_next/static/chunks/{turbopack-2u4m169_39_qy.js → turbopack-3z9v3oefxw81i.js} +1 -1
- package/out/_next/static/chunks/{turbopack-2gq3nwbp7cjh5.js → turbopack-3zxsk_hikkrwx.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0bro3_e58rpi5.js → turbopack-42akqkt4irsps.js} +1 -1
- package/out/_next/static/chunks/{turbopack-1hmil1x9p77h_.js → turbopack-44bpgib3rn1s2.js} +1 -1
- package/out/_offline/index.html +2 -2
- package/out/account/forgot-password/index.html +2 -2
- package/out/account/index.html +2 -2
- package/out/assortments/AssortmentDetailPage/index.html +2 -2
- package/out/assortments/index.html +2 -2
- package/out/assortments/new/index.html +2 -2
- package/out/copilot/index.html +2 -2
- package/out/country/CountryDetailPage/index.html +2 -2
- package/out/country/index.html +2 -2
- package/out/country/new/index.html +2 -2
- package/out/currency/CurrencyDetailPage/index.html +2 -2
- package/out/currency/index.html +2 -2
- package/out/currency/new/index.html +2 -2
- package/out/delivery-provider/DeliveryProviderDetailPage/index.html +2 -2
- package/out/delivery-provider/index.html +2 -2
- package/out/delivery-provider/new/index.html +2 -2
- package/out/enrollments/EnrollmentDetailPage/index.html +2 -2
- package/out/enrollments/index.html +2 -2
- package/out/events/EventDetailPage/index.html +2 -2
- package/out/events/index.html +2 -2
- package/out/exports/index.html +2 -2
- package/out/external/index.html +2 -2
- package/out/filters/FilterDetailPage/index.html +2 -2
- package/out/filters/index.html +2 -2
- package/out/filters/new/index.html +2 -2
- package/out/index.html +2 -2
- package/out/install/index.html +2 -2
- package/out/language/LanguageDetailPage/index.html +2 -2
- package/out/language/index.html +2 -2
- package/out/language/new/index.html +2 -2
- package/out/log-in/index.html +2 -2
- package/out/orders/OrderDetailPage/index.html +2 -2
- package/out/orders/index.html +2 -2
- package/out/payment-provider/PaymentProviderDetailPage/index.html +2 -2
- package/out/payment-provider/index.html +2 -2
- package/out/payment-provider/new/index.html +2 -2
- package/out/products/ProductDetailPage/index.html +2 -2
- package/out/products/index.html +2 -2
- package/out/products/new/index.html +2 -2
- package/out/quotations/QuotationDetailPage/index.html +2 -2
- package/out/quotations/index.html +2 -2
- package/out/reset-password/index.html +2 -2
- package/out/sign-up/index.html +2 -2
- package/out/styleguide/index.html +2 -2
- package/out/tokens/TokenDetailPage/index.html +2 -2
- package/out/tokens/index.html +2 -2
- package/out/users/UserDetailPage/index.html +2 -2
- package/out/users/index.html +2 -2
- package/out/users/new/index.html +2 -2
- package/out/verify-email/index.html +2 -2
- package/out/warehousing-provider/WarehousingProviderDetailPage/index.html +2 -2
- package/out/warehousing-provider/index.html +2 -2
- package/out/warehousing-provider/new/index.html +2 -2
- package/out/works/WorkDetailPage/index.html +2 -2
- package/out/works/WorkQueueListView/index.html +2 -2
- package/out/works/index.html +2 -2
- package/out/works/management/index.html +2 -2
- package/package.json +1 -1
- package/dist/chunk-45H2WVIC.js +0 -51
- package/dist/chunk-4VNS5WPM.js +0 -37
- package/dist/chunk-54DKBWXV.js +0 -33
- package/dist/chunk-6TXD4TA7.js +0 -1196
- package/dist/chunk-BGCKJQGS.js +0 -58
- package/dist/chunk-BYXBJQAS.js +0 -1
- package/dist/chunk-EJDZRZSZ.js +0 -59
- package/dist/chunk-ELPURWDC.js +0 -75
- package/dist/chunk-IAQPLRXZ.js +0 -16
- package/dist/chunk-ILYPJE4N.js +0 -57
- package/dist/chunk-IXBMHOB5.js +0 -13
- package/dist/chunk-KH5MK6ZW.js +0 -18
- package/dist/chunk-NT7RB7AK.js +0 -70
- package/dist/chunk-OKGJ6HDE.js +0 -26
- package/dist/chunk-Q6S3LBUF.js +0 -180
- package/dist/chunk-QNLGYFV7.js +0 -22
- package/dist/chunk-RAQV2GYF.js +0 -70
- package/dist/chunk-RHUFQVKL.js +0 -514
- package/dist/chunk-RVG6IOFC.js +0 -11
- package/dist/chunk-SRAAKMWY.js +0 -39
- package/dist/chunk-UFYR5WZT.js +0 -165
- package/dist/chunk-UXG7EYHC.js +0 -614
- package/dist/chunk-VDKQGOMV.js +0 -840
- package/dist/chunk-XHOCXPD5.js +0 -9
- package/dist/chunk-XJBPMIC4.js +0 -284
- package/dist/chunk-YO6PT7KD.js +0 -13
- package/dist/chunk-YSKZE2KN.js +0 -652
- package/dist/components/ui/Accordion/Accordion.d.ts +0 -11
- package/dist/components/ui/Accordion/Accordion.d.ts.map +0 -1
- package/dist/components/ui/Accordion/AccordionHeader.d.ts +0 -6
- package/dist/components/ui/Accordion/AccordionHeader.d.ts.map +0 -1
- package/dist/components/ui/Accordion/AccordionItem.d.ts +0 -11
- package/dist/components/ui/Accordion/AccordionItem.d.ts.map +0 -1
- package/dist/components/ui/ActiveInActive.d.ts +0 -10
- package/dist/components/ui/ActiveInActive.d.ts.map +0 -1
- package/dist/components/ui/AnimatedCounter.d.ts +0 -7
- package/dist/components/ui/AnimatedCounter.d.ts.map +0 -1
- package/dist/components/ui/Badge.d.ts +0 -10
- package/dist/components/ui/Badge.d.ts.map +0 -1
- package/dist/components/ui/BreadCrumbs.d.ts +0 -7
- package/dist/components/ui/BreadCrumbs.d.ts.map +0 -1
- package/dist/components/ui/Button.d.ts +0 -36
- package/dist/components/ui/Button.d.ts.map +0 -1
- package/dist/components/ui/CopyableText.d.ts +0 -5
- package/dist/components/ui/CopyableText.d.ts.map +0 -1
- package/dist/components/ui/DateInput.d.ts +0 -15
- package/dist/components/ui/DateInput.d.ts.map +0 -1
- package/dist/components/ui/DateRangeFilterInput.d.ts +0 -4
- package/dist/components/ui/DateRangeFilterInput.d.ts.map +0 -1
- package/dist/components/ui/DetailHeader.d.ts +0 -6
- package/dist/components/ui/DetailHeader.d.ts.map +0 -1
- package/dist/components/ui/DraggableIcon.d.ts +0 -3
- package/dist/components/ui/DraggableIcon.d.ts.map +0 -1
- package/dist/components/ui/ErrorBoundary.d.ts +0 -18
- package/dist/components/ui/ErrorBoundary.d.ts.map +0 -1
- package/dist/components/ui/ErrorFallback.d.ts +0 -6
- package/dist/components/ui/ErrorFallback.d.ts.map +0 -1
- package/dist/components/ui/HelpText.d.ts +0 -11
- package/dist/components/ui/HelpText.d.ts.map +0 -1
- package/dist/components/ui/ImageWithFallback.d.ts +0 -7
- package/dist/components/ui/ImageWithFallback.d.ts.map +0 -1
- package/dist/components/ui/InfoTextBanner.d.ts +0 -6
- package/dist/components/ui/InfoTextBanner.d.ts.map +0 -1
- package/dist/components/ui/JSONView.d.ts +0 -6
- package/dist/components/ui/JSONView.d.ts.map +0 -1
- package/dist/components/ui/ListHeader.d.ts +0 -6
- package/dist/components/ui/ListHeader.d.ts.map +0 -1
- package/dist/components/ui/Loading.d.ts +0 -3
- package/dist/components/ui/Loading.d.ts.map +0 -1
- package/dist/components/ui/NoData.d.ts +0 -7
- package/dist/components/ui/NoData.d.ts.map +0 -1
- package/dist/components/ui/NoImage.d.ts +0 -7
- package/dist/components/ui/NoImage.d.ts.map +0 -1
- package/dist/components/ui/NoImageSvg.d.ts +0 -8
- package/dist/components/ui/NoImageSvg.d.ts.map +0 -1
- package/dist/components/ui/PageHeader.d.ts +0 -11
- package/dist/components/ui/PageHeader.d.ts.map +0 -1
- package/dist/components/ui/Pagination.d.ts +0 -8
- package/dist/components/ui/Pagination.d.ts.map +0 -1
- package/dist/components/ui/Portal/Portal.d.ts +0 -16
- package/dist/components/ui/Portal/Portal.d.ts.map +0 -1
- package/dist/components/ui/Portal/Portal.types.d.ts +0 -16
- package/dist/components/ui/Portal/Portal.types.d.ts.map +0 -1
- package/dist/components/ui/SaveAndCancelButtons.d.ts +0 -10
- package/dist/components/ui/SaveAndCancelButtons.d.ts.map +0 -1
- package/dist/components/ui/SearchField.d.ts +0 -7
- package/dist/components/ui/SearchField.d.ts.map +0 -1
- package/dist/components/ui/Tab.d.ts +0 -18
- package/dist/components/ui/Tab.d.ts.map +0 -1
- package/dist/components/ui/Tag/TagInput.d.ts +0 -14
- package/dist/components/ui/Tag/TagInput.d.ts.map +0 -1
- package/dist/components/ui/Tag/TagList.d.ts +0 -8
- package/dist/components/ui/Tag/TagList.d.ts.map +0 -1
- package/dist/components/ui/Tag/TagListForm.d.ts +0 -8
- package/dist/components/ui/Tag/TagListForm.d.ts.map +0 -1
- package/dist/components/ui/Toggle.d.ts +0 -11
- package/dist/components/ui/Toggle.d.ts.map +0 -1
- package/dist/components/ui/ToolTip.d.ts +0 -7
- package/dist/components/ui/ToolTip.d.ts.map +0 -1
- package/dist/components/ui/card.d.ts +0 -9
- package/dist/components/ui/card.d.ts.map +0 -1
- package/dist/components/ui/chart.d.ts +0 -42
- package/dist/components/ui/chart.d.ts.map +0 -1
- package/dist/components/ui/form/CheckboxField.d.ts +0 -4
- package/dist/components/ui/form/CheckboxField.d.ts.map +0 -1
- package/dist/components/ui/form/ChoicesField.d.ts +0 -12
- package/dist/components/ui/form/ChoicesField.d.ts.map +0 -1
- package/dist/components/ui/form/Combobox.d.ts +0 -20
- package/dist/components/ui/form/Combobox.d.ts.map +0 -1
- package/dist/components/ui/form/DatePickerField.d.ts +0 -4
- package/dist/components/ui/form/DatePickerField.d.ts.map +0 -1
- package/dist/components/ui/form/EmailField.d.ts +0 -7
- package/dist/components/ui/form/EmailField.d.ts.map +0 -1
- package/dist/components/ui/form/FieldWithHelp.d.ts +0 -10
- package/dist/components/ui/form/FieldWithHelp.d.ts.map +0 -1
- package/dist/components/ui/form/FieldWrapper.d.ts +0 -8
- package/dist/components/ui/form/FieldWrapper.d.ts.map +0 -1
- package/dist/components/ui/form/FormErrors.d.ts +0 -6
- package/dist/components/ui/form/FormErrors.d.ts.map +0 -1
- package/dist/components/ui/form/JSONAreaField.d.ts +0 -7
- package/dist/components/ui/form/JSONAreaField.d.ts.map +0 -1
- package/dist/components/ui/form/MarkdownTextAreaField.d.ts +0 -8
- package/dist/components/ui/form/MarkdownTextAreaField.d.ts.map +0 -1
- package/dist/components/ui/form/PasswordField.d.ts +0 -3
- package/dist/components/ui/form/PasswordField.d.ts.map +0 -1
- package/dist/components/ui/form/SelectField.d.ts +0 -11
- package/dist/components/ui/form/SelectField.d.ts.map +0 -1
- package/dist/components/ui/form/SubmitButton.d.ts +0 -9
- package/dist/components/ui/form/SubmitButton.d.ts.map +0 -1
- package/dist/components/ui/form/TagInputField.d.ts +0 -6
- package/dist/components/ui/form/TagInputField.d.ts.map +0 -1
- package/dist/components/ui/form/TextAreaField.d.ts +0 -8
- package/dist/components/ui/form/TextAreaField.d.ts.map +0 -1
- package/dist/components/ui/form/TextField.d.ts +0 -10
- package/dist/components/ui/form/TextField.d.ts.map +0 -1
- package/dist/components/ui/form/index.d.ts +0 -17
- package/dist/components/ui/form/index.d.ts.map +0 -1
- package/dist/components/ui/icons.d.ts +0 -4
- package/dist/components/ui/icons.d.ts.map +0 -1
- package/dist/components/ui/index.d.ts +0 -41
- package/dist/components/ui/index.d.ts.map +0 -1
- package/dist/form.js +0 -30102
- package/dist/gql/types.d.ts +0 -17209
- package/dist/gql/types.d.ts.map +0 -1
- package/dist/hooks.js +0 -41
- package/dist/lib/utils.d.ts +0 -3
- package/dist/lib/utils.d.ts.map +0 -1
- package/dist/modal.js +0 -114
- package/dist/modules/UnchainedContext/UnchainedContext.d.ts +0 -8
- package/dist/modules/UnchainedContext/UnchainedContext.d.ts.map +0 -1
- package/dist/modules/UnchainedContext/useUnchainedContext.d.ts +0 -7
- package/dist/modules/UnchainedContext/useUnchainedContext.d.ts.map +0 -1
- package/dist/modules/accounts/fragment/MD5MetaDataFragment.d.ts +0 -3
- package/dist/modules/accounts/fragment/MD5MetaDataFragment.d.ts.map +0 -1
- package/dist/modules/accounts/fragment/UserFragment.d.ts +0 -3
- package/dist/modules/accounts/fragment/UserFragment.d.ts.map +0 -1
- package/dist/modules/accounts/hooks/useCurrentUser.d.ts +0 -10
- package/dist/modules/accounts/hooks/useCurrentUser.d.ts.map +0 -1
- package/dist/modules/accounts/hooks/useUsersCount.d.ts +0 -8
- package/dist/modules/accounts/hooks/useUsersCount.d.ts.map +0 -1
- package/dist/modules/accounts.js +0 -1013
- package/dist/modules/assortment/hooks/useAssortmentsCount.d.ts +0 -8
- package/dist/modules/assortment/hooks/useAssortmentsCount.d.ts.map +0 -1
- package/dist/modules/assortment.js +0 -1121
- package/dist/modules/common/components/AppContext.d.ts +0 -18
- package/dist/modules/common/components/AppContext.d.ts.map +0 -1
- package/dist/modules/common/components/FormWrapper.d.ts +0 -8
- package/dist/modules/common/components/FormWrapper.d.ts.map +0 -1
- package/dist/modules/common/components/ThemeWrapper.d.ts +0 -10
- package/dist/modules/common/components/ThemeWrapper.d.ts.map +0 -1
- package/dist/modules/common/data/iso-codes.d.ts +0 -4
- package/dist/modules/common/data/iso-codes.d.ts.map +0 -1
- package/dist/modules/common/data/miscellaneous.d.ts +0 -51
- package/dist/modules/common/data/miscellaneous.d.ts.map +0 -1
- package/dist/modules/common/fragments/AddressFragment.d.ts +0 -3
- package/dist/modules/common/fragments/AddressFragment.d.ts.map +0 -1
- package/dist/modules/common/hooks/useApp.d.ts +0 -11
- package/dist/modules/common/hooks/useApp.d.ts.map +0 -1
- package/dist/modules/common/hooks/useCSVExport.d.ts +0 -10
- package/dist/modules/common/hooks/useCSVExport.d.ts.map +0 -1
- package/dist/modules/common/hooks/useCSVImport.d.ts +0 -18
- package/dist/modules/common/hooks/useCSVImport.d.ts.map +0 -1
- package/dist/modules/common/hooks/useChatEndpointChecker.d.ts +0 -5
- package/dist/modules/common/hooks/useChatEndpointChecker.d.ts.map +0 -1
- package/dist/modules/common/hooks/useConfirmMediaUpload.d.ts +0 -10
- package/dist/modules/common/hooks/useConfirmMediaUpload.d.ts.map +0 -1
- package/dist/modules/common/hooks/useDashboardMetrics.d.ts +0 -23
- package/dist/modules/common/hooks/useDashboardMetrics.d.ts.map +0 -1
- package/dist/modules/common/hooks/useLocalStorage.d.ts +0 -3
- package/dist/modules/common/hooks/useLocalStorage.d.ts.map +0 -1
- package/dist/modules/common/hooks/useOrderAnalytics.d.ts +0 -25
- package/dist/modules/common/hooks/useOrderAnalytics.d.ts.map +0 -1
- package/dist/modules/common/hooks/useOrderItemsAnalytics.d.ts +0 -16
- package/dist/modules/common/hooks/useOrderItemsAnalytics.d.ts.map +0 -1
- package/dist/modules/common/hooks/useOutsideClick.d.ts +0 -3
- package/dist/modules/common/hooks/useOutsideClick.d.ts.map +0 -1
- package/dist/modules/common/hooks/usePortal.d.ts +0 -20
- package/dist/modules/common/hooks/usePortal.d.ts.map +0 -1
- package/dist/modules/common/hooks/useShopConfiguration.d.ts +0 -8
- package/dist/modules/common/hooks/useShopConfiguration.d.ts.map +0 -1
- package/dist/modules/common/hooks/useShopInfo.d.ts +0 -41
- package/dist/modules/common/hooks/useShopInfo.d.ts.map +0 -1
- package/dist/modules/common/hooks/useStatusTypes.d.ts +0 -10
- package/dist/modules/common/hooks/useStatusTypes.d.ts.map +0 -1
- package/dist/modules/common/hooks/useSystemRoles.d.ts +0 -7
- package/dist/modules/common/hooks/useSystemRoles.d.ts.map +0 -1
- package/dist/modules/common/hooks/useTheme.d.ts +0 -7
- package/dist/modules/common/hooks/useTheme.d.ts.map +0 -1
- package/dist/modules/common/utils/deBounce.d.ts +0 -3
- package/dist/modules/common/utils/deBounce.d.ts.map +0 -1
- package/dist/modules/common/utils/defaultNextImageLoader.d.ts +0 -7
- package/dist/modules/common/utils/defaultNextImageLoader.d.ts.map +0 -1
- package/dist/modules/common/utils/formatUsername.d.ts +0 -3
- package/dist/modules/common/utils/formatUsername.d.ts.map +0 -1
- package/dist/modules/common/utils/getSetupStepsConfigurationsMeta.d.ts +0 -30
- package/dist/modules/common/utils/getSetupStepsConfigurationsMeta.d.ts.map +0 -1
- package/dist/modules/common/utils/normalizeFilterKeys.d.ts +0 -4
- package/dist/modules/common/utils/normalizeFilterKeys.d.ts.map +0 -1
- package/dist/modules/common/utils/useFormatDateTime.d.ts +0 -7
- package/dist/modules/common/utils/useFormatDateTime.d.ts.map +0 -1
- package/dist/modules/common/utils/utils.d.ts +0 -21
- package/dist/modules/common/utils/utils.d.ts.map +0 -1
- package/dist/modules/country/fragments/CountryFragment.d.ts +0 -3
- package/dist/modules/country/fragments/CountryFragment.d.ts.map +0 -1
- package/dist/modules/country/hooks/useCountries.d.ts +0 -22
- package/dist/modules/country/hooks/useCountries.d.ts.map +0 -1
- package/dist/modules/country.js +0 -108
- package/dist/modules/currency.js +0 -119
- package/dist/modules/delivery-provider.js +0 -269
- package/dist/modules/enrollment.js +0 -353
- package/dist/modules/event.js +0 -123
- package/dist/modules/filter.js +0 -448
- package/dist/modules/forms/components/Form.d.ts +0 -8
- package/dist/modules/forms/components/Form.d.ts.map +0 -1
- package/dist/modules/forms/hooks/useField.d.ts +0 -35
- package/dist/modules/forms/hooks/useField.d.ts.map +0 -1
- package/dist/modules/forms/hooks/useForm.d.ts +0 -44
- package/dist/modules/forms/hooks/useForm.d.ts.map +0 -1
- package/dist/modules/forms/hooks/useFormContext.d.ts +0 -3
- package/dist/modules/forms/hooks/useFormContext.d.ts.map +0 -1
- package/dist/modules/forms/lib/FormContext.d.ts +0 -13
- package/dist/modules/forms/lib/FormContext.d.ts.map +0 -1
- package/dist/modules/forms/lib/clean.d.ts +0 -3
- package/dist/modules/forms/lib/clean.d.ts.map +0 -1
- package/dist/modules/forms/lib/validators.d.ts +0 -20
- package/dist/modules/forms/lib/validators.d.ts.map +0 -1
- package/dist/modules/language/fragments/LanguageFragment.d.ts +0 -3
- package/dist/modules/language/fragments/LanguageFragment.d.ts.map +0 -1
- package/dist/modules/language/hooks/useLanguages.d.ts +0 -19
- package/dist/modules/language/hooks/useLanguages.d.ts.map +0 -1
- package/dist/modules/language.js +0 -106
- package/dist/modules/modal/components/AlertMessage.d.ts +0 -9
- package/dist/modules/modal/components/AlertMessage.d.ts.map +0 -1
- package/dist/modules/modal/components/DangerMessage.d.ts +0 -12
- package/dist/modules/modal/components/DangerMessage.d.ts.map +0 -1
- package/dist/modules/modal/components/ImportResultMessage.d.ts +0 -14
- package/dist/modules/modal/components/ImportResultMessage.d.ts.map +0 -1
- package/dist/modules/modal/components/Modal.d.ts +0 -10
- package/dist/modules/modal/components/Modal.d.ts.map +0 -1
- package/dist/modules/modal/components/ModalWrapper.d.ts +0 -6
- package/dist/modules/modal/components/ModalWrapper.d.ts.map +0 -1
- package/dist/modules/modal/hooks/useModal.d.ts +0 -7
- package/dist/modules/modal/hooks/useModal.d.ts.map +0 -1
- package/dist/modules/modal/utils/ModalContext.d.ts +0 -9
- package/dist/modules/modal/utils/ModalContext.d.ts.map +0 -1
- package/dist/modules/order/fragments/OrderDetailFragment.d.ts +0 -3
- package/dist/modules/order/fragments/OrderDetailFragment.d.ts.map +0 -1
- package/dist/modules/order/fragments/OrderFragment.d.ts +0 -3
- package/dist/modules/order/fragments/OrderFragment.d.ts.map +0 -1
- package/dist/modules/order/hooks/useOrders.d.ts +0 -46
- package/dist/modules/order/hooks/useOrders.d.ts.map +0 -1
- package/dist/modules/order.js +0 -563
- package/dist/modules/payment-providers.js +0 -206
- package/dist/modules/product/hooks/useProductsCount.d.ts +0 -8
- package/dist/modules/product/hooks/useProductsCount.d.ts.map +0 -1
- package/dist/modules/product-review.js +0 -251
- package/dist/modules/product.js +0 -1929
- package/dist/modules/quotation.js +0 -297
- package/dist/modules/token.js +0 -143
- package/dist/modules/warehousing-providers.js +0 -206
- package/dist/modules/work/fragments/WorkFragment.d.ts +0 -3
- package/dist/modules/work/fragments/WorkFragment.d.ts.map +0 -1
- package/dist/modules/work/hooks/useAddWork.d.ts +0 -6
- package/dist/modules/work/hooks/useAddWork.d.ts.map +0 -1
- package/dist/modules/work/hooks/useWork.d.ts +0 -32
- package/dist/modules/work/hooks/useWork.d.ts.map +0 -1
- package/dist/modules/work.js +0 -308
- package/dist/plugins.js +0 -8
- package/dist/providers.js +0 -6
- package/dist/sdk/hooks.d.ts +0 -9
- package/dist/sdk/hooks.d.ts.map +0 -1
- package/dist/sdk/modal.d.ts +0 -7
- package/dist/sdk/modal.d.ts.map +0 -1
- package/dist/sdk/plugins.d.ts +0 -67
- package/dist/sdk/plugins.d.ts.map +0 -1
- package/dist/sdk/providers.d.ts +0 -5
- package/dist/sdk/providers.d.ts.map +0 -1
- package/dist/sdk/theme.d.ts +0 -26
- package/dist/sdk/theme.d.ts.map +0 -1
- package/dist/theme.js +0 -34
- package/dist/ui.js +0 -21540
- package/out/_next/static/chunks/0-kffmdf1lcxk.js +0 -1
- package/out/_next/static/chunks/0axbsyx70ajmu.js +0 -5
- package/out/_next/static/chunks/0dlg390tt3o1_.js +0 -107
- package/out/_next/static/chunks/0ki8gfs3dlslv.js +0 -3
- package/out/_next/static/chunks/140i5f2n-78cg.js +0 -7
- package/out/_next/static/chunks/1qx9z7kl93y0b.js +0 -188
- package/out/_next/static/chunks/25mevljp4o01b.js +0 -188
- package/out/_next/static/chunks/2qhvt2n_whgz1.js +0 -227
- package/out/manifest.json +0 -48
- /package/out/_next/static/{s9JIgzylJK2SpeEcB-ZI9 → _TiowajLX6Z3MYsLPNgxd}/_clientMiddlewareManifest.js +0 -0
- /package/out/_next/static/{s9JIgzylJK2SpeEcB-ZI9 → _TiowajLX6Z3MYsLPNgxd}/_ssgManifest.js +0 -0
package/dist/chunk-6TXD4TA7.js
DELETED
|
@@ -1,1196 +0,0 @@
|
|
|
1
|
-
import { __commonJS, __require, __toESM } from './chunk-4VNS5WPM.js';
|
|
2
|
-
import * as t9 from 'react';
|
|
3
|
-
import t9__default, { createContext, forwardRef, useId, Fragment, useContext, useRef, useEffect, useLayoutEffect, useMemo, useCallback, useState, isValidElement, cloneElement, createElement, useSyncExternalStore } from 'react';
|
|
4
|
-
export { useId as r } from 'react';
|
|
5
|
-
import { createPortal } from 'react-dom';
|
|
6
|
-
|
|
7
|
-
// ../node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.production.js
|
|
8
|
-
var require_use_sync_external_store_with_selector_production = __commonJS({
|
|
9
|
-
"../node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.production.js"(exports) {
|
|
10
|
-
var React = __require("react");
|
|
11
|
-
function is(x6, y4) {
|
|
12
|
-
return x6 === y4 && (0 !== x6 || 1 / x6 === 1 / y4) || x6 !== x6 && y4 !== y4;
|
|
13
|
-
}
|
|
14
|
-
var objectIs = "function" === typeof Object.is ? Object.is : is;
|
|
15
|
-
var useSyncExternalStore = React.useSyncExternalStore;
|
|
16
|
-
var useRef = React.useRef;
|
|
17
|
-
var useEffect2 = React.useEffect;
|
|
18
|
-
var useMemo = React.useMemo;
|
|
19
|
-
var useDebugValue = React.useDebugValue;
|
|
20
|
-
exports.useSyncExternalStoreWithSelector = function(subscribe, getSnapshot, getServerSnapshot, selector, isEqual) {
|
|
21
|
-
var instRef = useRef(null);
|
|
22
|
-
if (null === instRef.current) {
|
|
23
|
-
var inst = { hasValue: false, value: null };
|
|
24
|
-
instRef.current = inst;
|
|
25
|
-
} else inst = instRef.current;
|
|
26
|
-
instRef = useMemo(
|
|
27
|
-
function() {
|
|
28
|
-
function memoizedSelector(nextSnapshot) {
|
|
29
|
-
if (!hasMemo) {
|
|
30
|
-
hasMemo = true;
|
|
31
|
-
memoizedSnapshot = nextSnapshot;
|
|
32
|
-
nextSnapshot = selector(nextSnapshot);
|
|
33
|
-
if (void 0 !== isEqual && inst.hasValue) {
|
|
34
|
-
var currentSelection = inst.value;
|
|
35
|
-
if (isEqual(currentSelection, nextSnapshot))
|
|
36
|
-
return memoizedSelection = currentSelection;
|
|
37
|
-
}
|
|
38
|
-
return memoizedSelection = nextSnapshot;
|
|
39
|
-
}
|
|
40
|
-
currentSelection = memoizedSelection;
|
|
41
|
-
if (objectIs(memoizedSnapshot, nextSnapshot)) return currentSelection;
|
|
42
|
-
var nextSelection = selector(nextSnapshot);
|
|
43
|
-
if (void 0 !== isEqual && isEqual(currentSelection, nextSelection))
|
|
44
|
-
return memoizedSnapshot = nextSnapshot, currentSelection;
|
|
45
|
-
memoizedSnapshot = nextSnapshot;
|
|
46
|
-
return memoizedSelection = nextSelection;
|
|
47
|
-
}
|
|
48
|
-
var hasMemo = false, memoizedSnapshot, memoizedSelection, maybeGetServerSnapshot = void 0 === getServerSnapshot ? null : getServerSnapshot;
|
|
49
|
-
return [
|
|
50
|
-
function() {
|
|
51
|
-
return memoizedSelector(getSnapshot());
|
|
52
|
-
},
|
|
53
|
-
null === maybeGetServerSnapshot ? void 0 : function() {
|
|
54
|
-
return memoizedSelector(maybeGetServerSnapshot());
|
|
55
|
-
}
|
|
56
|
-
];
|
|
57
|
-
},
|
|
58
|
-
[getSnapshot, getServerSnapshot, selector, isEqual]
|
|
59
|
-
);
|
|
60
|
-
var value = useSyncExternalStore(subscribe, instRef[0], instRef[1]);
|
|
61
|
-
useEffect2(
|
|
62
|
-
function() {
|
|
63
|
-
inst.hasValue = true;
|
|
64
|
-
inst.value = value;
|
|
65
|
-
},
|
|
66
|
-
[value]
|
|
67
|
-
);
|
|
68
|
-
useDebugValue(value);
|
|
69
|
-
return value;
|
|
70
|
-
};
|
|
71
|
-
}
|
|
72
|
-
});
|
|
73
|
-
|
|
74
|
-
// ../node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.development.js
|
|
75
|
-
var require_use_sync_external_store_with_selector_development = __commonJS({
|
|
76
|
-
"../node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.development.js"(exports) {
|
|
77
|
-
"production" !== process.env.NODE_ENV && (function() {
|
|
78
|
-
function is(x6, y4) {
|
|
79
|
-
return x6 === y4 && (0 !== x6 || 1 / x6 === 1 / y4) || x6 !== x6 && y4 !== y4;
|
|
80
|
-
}
|
|
81
|
-
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
82
|
-
var React = __require("react"), objectIs = "function" === typeof Object.is ? Object.is : is, useSyncExternalStore = React.useSyncExternalStore, useRef = React.useRef, useEffect2 = React.useEffect, useMemo = React.useMemo, useDebugValue = React.useDebugValue;
|
|
83
|
-
exports.useSyncExternalStoreWithSelector = function(subscribe, getSnapshot, getServerSnapshot, selector, isEqual) {
|
|
84
|
-
var instRef = useRef(null);
|
|
85
|
-
if (null === instRef.current) {
|
|
86
|
-
var inst = { hasValue: false, value: null };
|
|
87
|
-
instRef.current = inst;
|
|
88
|
-
} else inst = instRef.current;
|
|
89
|
-
instRef = useMemo(
|
|
90
|
-
function() {
|
|
91
|
-
function memoizedSelector(nextSnapshot) {
|
|
92
|
-
if (!hasMemo) {
|
|
93
|
-
hasMemo = true;
|
|
94
|
-
memoizedSnapshot = nextSnapshot;
|
|
95
|
-
nextSnapshot = selector(nextSnapshot);
|
|
96
|
-
if (void 0 !== isEqual && inst.hasValue) {
|
|
97
|
-
var currentSelection = inst.value;
|
|
98
|
-
if (isEqual(currentSelection, nextSnapshot))
|
|
99
|
-
return memoizedSelection = currentSelection;
|
|
100
|
-
}
|
|
101
|
-
return memoizedSelection = nextSnapshot;
|
|
102
|
-
}
|
|
103
|
-
currentSelection = memoizedSelection;
|
|
104
|
-
if (objectIs(memoizedSnapshot, nextSnapshot))
|
|
105
|
-
return currentSelection;
|
|
106
|
-
var nextSelection = selector(nextSnapshot);
|
|
107
|
-
if (void 0 !== isEqual && isEqual(currentSelection, nextSelection))
|
|
108
|
-
return memoizedSnapshot = nextSnapshot, currentSelection;
|
|
109
|
-
memoizedSnapshot = nextSnapshot;
|
|
110
|
-
return memoizedSelection = nextSelection;
|
|
111
|
-
}
|
|
112
|
-
var hasMemo = false, memoizedSnapshot, memoizedSelection, maybeGetServerSnapshot = void 0 === getServerSnapshot ? null : getServerSnapshot;
|
|
113
|
-
return [
|
|
114
|
-
function() {
|
|
115
|
-
return memoizedSelector(getSnapshot());
|
|
116
|
-
},
|
|
117
|
-
null === maybeGetServerSnapshot ? void 0 : function() {
|
|
118
|
-
return memoizedSelector(maybeGetServerSnapshot());
|
|
119
|
-
}
|
|
120
|
-
];
|
|
121
|
-
},
|
|
122
|
-
[getSnapshot, getServerSnapshot, selector, isEqual]
|
|
123
|
-
);
|
|
124
|
-
var value = useSyncExternalStore(subscribe, instRef[0], instRef[1]);
|
|
125
|
-
useEffect2(
|
|
126
|
-
function() {
|
|
127
|
-
inst.hasValue = true;
|
|
128
|
-
inst.value = value;
|
|
129
|
-
},
|
|
130
|
-
[value]
|
|
131
|
-
);
|
|
132
|
-
useDebugValue(value);
|
|
133
|
-
return value;
|
|
134
|
-
};
|
|
135
|
-
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
136
|
-
})();
|
|
137
|
-
}
|
|
138
|
-
});
|
|
139
|
-
|
|
140
|
-
// ../node_modules/use-sync-external-store/with-selector.js
|
|
141
|
-
var require_with_selector = __commonJS({
|
|
142
|
-
"../node_modules/use-sync-external-store/with-selector.js"(exports, module) {
|
|
143
|
-
if (process.env.NODE_ENV === "production") {
|
|
144
|
-
module.exports = require_use_sync_external_store_with_selector_production();
|
|
145
|
-
} else {
|
|
146
|
-
module.exports = require_use_sync_external_store_with_selector_development();
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
});
|
|
150
|
-
|
|
151
|
-
// ../node_modules/@headlessui/react/dist/utils/env.js
|
|
152
|
-
var i = Object.defineProperty;
|
|
153
|
-
var d = (t11, e5, n11) => e5 in t11 ? i(t11, e5, { enumerable: true, configurable: true, writable: true, value: n11 }) : t11[e5] = n11;
|
|
154
|
-
var r = (t11, e5, n11) => (d(t11, typeof e5 != "symbol" ? e5 + "" : e5, n11), n11);
|
|
155
|
-
var o = class {
|
|
156
|
-
constructor() {
|
|
157
|
-
r(this, "current", this.detect());
|
|
158
|
-
r(this, "handoffState", "pending");
|
|
159
|
-
r(this, "currentId", 0);
|
|
160
|
-
}
|
|
161
|
-
set(e5) {
|
|
162
|
-
this.current !== e5 && (this.handoffState = "pending", this.currentId = 0, this.current = e5);
|
|
163
|
-
}
|
|
164
|
-
reset() {
|
|
165
|
-
this.set(this.detect());
|
|
166
|
-
}
|
|
167
|
-
nextId() {
|
|
168
|
-
return ++this.currentId;
|
|
169
|
-
}
|
|
170
|
-
get isServer() {
|
|
171
|
-
return this.current === "server";
|
|
172
|
-
}
|
|
173
|
-
get isClient() {
|
|
174
|
-
return this.current === "client";
|
|
175
|
-
}
|
|
176
|
-
detect() {
|
|
177
|
-
return typeof window == "undefined" || typeof document == "undefined" ? "server" : "client";
|
|
178
|
-
}
|
|
179
|
-
handoff() {
|
|
180
|
-
this.handoffState === "pending" && (this.handoffState = "complete");
|
|
181
|
-
}
|
|
182
|
-
get isHandoffComplete() {
|
|
183
|
-
return this.handoffState === "complete";
|
|
184
|
-
}
|
|
185
|
-
};
|
|
186
|
-
var s = new o();
|
|
187
|
-
|
|
188
|
-
// ../node_modules/@headlessui/react/dist/utils/owner.js
|
|
189
|
-
function l(n11) {
|
|
190
|
-
var u11;
|
|
191
|
-
return s.isServer ? null : n11 == null ? document : (u11 = n11 == null ? void 0 : n11.ownerDocument) != null ? u11 : document;
|
|
192
|
-
}
|
|
193
|
-
function r2(n11) {
|
|
194
|
-
var u11, o11;
|
|
195
|
-
return s.isServer ? null : n11 == null ? document : (o11 = (u11 = n11 == null ? void 0 : n11.getRootNode) == null ? void 0 : u11.call(n11)) != null ? o11 : document;
|
|
196
|
-
}
|
|
197
|
-
function e(n11) {
|
|
198
|
-
var u11, o11;
|
|
199
|
-
return (o11 = (u11 = r2(n11)) == null ? void 0 : u11.activeElement) != null ? o11 : null;
|
|
200
|
-
}
|
|
201
|
-
function d2(n11) {
|
|
202
|
-
return e(n11) === n11;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
// ../node_modules/@headlessui/react/dist/utils/micro-task.js
|
|
206
|
-
function t(e5) {
|
|
207
|
-
typeof queueMicrotask == "function" ? queueMicrotask(e5) : Promise.resolve().then(e5).catch((o11) => setTimeout(() => {
|
|
208
|
-
throw o11;
|
|
209
|
-
}));
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
// ../node_modules/@headlessui/react/dist/utils/disposables.js
|
|
213
|
-
function o2() {
|
|
214
|
-
let s10 = [], r11 = { addEventListener(e5, t11, n11, i10) {
|
|
215
|
-
return e5.addEventListener(t11, n11, i10), r11.add(() => e5.removeEventListener(t11, n11, i10));
|
|
216
|
-
}, requestAnimationFrame(...e5) {
|
|
217
|
-
let t11 = requestAnimationFrame(...e5);
|
|
218
|
-
return r11.add(() => cancelAnimationFrame(t11));
|
|
219
|
-
}, nextFrame(...e5) {
|
|
220
|
-
return r11.requestAnimationFrame(() => r11.requestAnimationFrame(...e5));
|
|
221
|
-
}, setTimeout(...e5) {
|
|
222
|
-
let t11 = setTimeout(...e5);
|
|
223
|
-
return r11.add(() => clearTimeout(t11));
|
|
224
|
-
}, microTask(...e5) {
|
|
225
|
-
let t11 = { current: true };
|
|
226
|
-
return t(() => {
|
|
227
|
-
t11.current && e5[0]();
|
|
228
|
-
}), r11.add(() => {
|
|
229
|
-
t11.current = false;
|
|
230
|
-
});
|
|
231
|
-
}, style(e5, t11, n11) {
|
|
232
|
-
let i10 = e5.style.getPropertyValue(t11);
|
|
233
|
-
return Object.assign(e5.style, { [t11]: n11 }), this.add(() => {
|
|
234
|
-
Object.assign(e5.style, { [t11]: i10 });
|
|
235
|
-
});
|
|
236
|
-
}, group(e5) {
|
|
237
|
-
let t11 = o2();
|
|
238
|
-
return e5(t11), this.add(() => t11.dispose());
|
|
239
|
-
}, add(e5) {
|
|
240
|
-
return s10.includes(e5) || s10.push(e5), () => {
|
|
241
|
-
let t11 = s10.indexOf(e5);
|
|
242
|
-
if (t11 >= 0) for (let n11 of s10.splice(t11, 1)) n11();
|
|
243
|
-
};
|
|
244
|
-
}, dispose() {
|
|
245
|
-
for (let e5 of s10.splice(0)) e5();
|
|
246
|
-
} };
|
|
247
|
-
return r11;
|
|
248
|
-
}
|
|
249
|
-
function p() {
|
|
250
|
-
let [e5] = useState(o2);
|
|
251
|
-
return useEffect(() => () => e5.dispose(), [e5]), e5;
|
|
252
|
-
}
|
|
253
|
-
var n = (e5, t11) => {
|
|
254
|
-
s.isServer ? useEffect(e5, t11) : useLayoutEffect(e5, t11);
|
|
255
|
-
};
|
|
256
|
-
function s3(e5) {
|
|
257
|
-
let r11 = useRef(e5);
|
|
258
|
-
return n(() => {
|
|
259
|
-
r11.current = e5;
|
|
260
|
-
}, [e5]), r11;
|
|
261
|
-
}
|
|
262
|
-
var o4 = function(t11) {
|
|
263
|
-
let e5 = s3(t11);
|
|
264
|
-
return t9__default.useCallback((...r11) => e5.current(...r11), [e5]);
|
|
265
|
-
};
|
|
266
|
-
function n2(e5) {
|
|
267
|
-
return useMemo(() => e5, Object.values(e5));
|
|
268
|
-
}
|
|
269
|
-
var e2 = createContext(void 0);
|
|
270
|
-
function a2() {
|
|
271
|
-
return useContext(e2);
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
// ../node_modules/@headlessui/react/dist/utils/class-names.js
|
|
275
|
-
function t4(...r11) {
|
|
276
|
-
return Array.from(new Set(r11.flatMap((n11) => typeof n11 == "string" ? n11.split(" ") : []))).filter(Boolean).join(" ");
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
// ../node_modules/@headlessui/react/dist/utils/match.js
|
|
280
|
-
function u(r11, n11, ...a14) {
|
|
281
|
-
if (r11 in n11) {
|
|
282
|
-
let e5 = n11[r11];
|
|
283
|
-
return typeof e5 == "function" ? e5(...a14) : e5;
|
|
284
|
-
}
|
|
285
|
-
let t11 = new Error(`Tried to handle "${r11}" but there is no handler defined. Only defined handlers are: ${Object.keys(n11).map((e5) => `"${e5}"`).join(", ")}.`);
|
|
286
|
-
throw Error.captureStackTrace && Error.captureStackTrace(t11, u), t11;
|
|
287
|
-
}
|
|
288
|
-
var A = ((a14) => (a14[a14.None = 0] = "None", a14[a14.RenderStrategy = 1] = "RenderStrategy", a14[a14.Static = 2] = "Static", a14))(A || {});
|
|
289
|
-
var C = ((t11) => (t11[t11.Unmount = 0] = "Unmount", t11[t11.Hidden = 1] = "Hidden", t11))(C || {});
|
|
290
|
-
function K() {
|
|
291
|
-
let e5 = I();
|
|
292
|
-
return useCallback((r11) => U({ mergeRefs: e5, ...r11 }), [e5]);
|
|
293
|
-
}
|
|
294
|
-
function U({ ourProps: e5, theirProps: r11, slot: t11, defaultTag: a14, features: o11, visible: n11 = true, name: i10, mergeRefs: l9 }) {
|
|
295
|
-
l9 = l9 != null ? l9 : H;
|
|
296
|
-
let s10 = P(r11, e5);
|
|
297
|
-
if (n11) return F(s10, t11, a14, i10, l9);
|
|
298
|
-
let y4 = o11 != null ? o11 : 0;
|
|
299
|
-
if (y4 & 2) {
|
|
300
|
-
let { static: f9 = false, ...u11 } = s10;
|
|
301
|
-
if (f9) return F(u11, t11, a14, i10, l9);
|
|
302
|
-
}
|
|
303
|
-
if (y4 & 1) {
|
|
304
|
-
let { unmount: f9 = true, ...u11 } = s10;
|
|
305
|
-
return u(f9 ? 0 : 1, { [0]() {
|
|
306
|
-
return null;
|
|
307
|
-
}, [1]() {
|
|
308
|
-
return F({ ...u11, hidden: true, style: { display: "none" } }, t11, a14, i10, l9);
|
|
309
|
-
} });
|
|
310
|
-
}
|
|
311
|
-
return F(s10, t11, a14, i10, l9);
|
|
312
|
-
}
|
|
313
|
-
function F(e5, r11 = {}, t11, a14, o11) {
|
|
314
|
-
let { as: n11 = t11, children: i10, refName: l9 = "ref", ...s10 } = h(e5, ["unmount", "static"]), y4 = e5.ref !== void 0 ? { [l9]: e5.ref } : {}, f9 = typeof i10 == "function" ? i10(r11) : i10;
|
|
315
|
-
f9 = E(f9), "className" in s10 && s10.className && typeof s10.className == "function" && (s10.className = s10.className(r11)), s10["aria-labelledby"] && s10["aria-labelledby"] === s10.id && (s10["aria-labelledby"] = void 0);
|
|
316
|
-
let u11 = {};
|
|
317
|
-
if (r11) {
|
|
318
|
-
let d7 = false, p5 = [];
|
|
319
|
-
for (let [c11, T7] of Object.entries(r11)) typeof T7 == "boolean" && (d7 = true), T7 === true && p5.push(c11.replace(/([A-Z])/g, (g2) => `-${g2.toLowerCase()}`));
|
|
320
|
-
if (d7) {
|
|
321
|
-
u11["data-headlessui-state"] = p5.join(" ");
|
|
322
|
-
for (let c11 of p5) u11[`data-${c11}`] = "";
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
if (b(n11) && (Object.keys(m(s10)).length > 0 || Object.keys(m(u11)).length > 0)) if (!isValidElement(f9) || Array.isArray(f9) && f9.length > 1 || L(f9)) {
|
|
326
|
-
if (Object.keys(m(s10)).length > 0) throw new Error(['Passing props on "Fragment"!', "", `The current component <${a14} /> is rendering a "Fragment".`, "However we need to passthrough the following props:", Object.keys(m(s10)).concat(Object.keys(m(u11))).map((d7) => ` - ${d7}`).join(`
|
|
327
|
-
`), "", "You can apply a few solutions:", ['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".', "Render a single element as the child so that we can forward the props onto that element."].map((d7) => ` - ${d7}`).join(`
|
|
328
|
-
`)].join(`
|
|
329
|
-
`));
|
|
330
|
-
} else {
|
|
331
|
-
let d7 = f9.props, p5 = d7 == null ? void 0 : d7.className, c11 = typeof p5 == "function" ? (...R2) => t4(p5(...R2), s10.className) : t4(p5, s10.className), T7 = c11 ? { className: c11 } : {}, g2 = P(f9.props, m(h(s10, ["ref"])));
|
|
332
|
-
for (let R2 in u11) R2 in g2 && delete u11[R2];
|
|
333
|
-
return cloneElement(f9, Object.assign({}, g2, u11, y4, { ref: o11(D(f9), y4.ref) }, T7));
|
|
334
|
-
}
|
|
335
|
-
return createElement(n11, Object.assign({}, h(s10, ["ref"]), !b(n11) && y4, !b(n11) && u11), f9);
|
|
336
|
-
}
|
|
337
|
-
function I() {
|
|
338
|
-
let e5 = useRef([]), r11 = useCallback((t11) => {
|
|
339
|
-
for (let a14 of e5.current) a14 != null && (typeof a14 == "function" ? a14(t11) : a14.current = t11);
|
|
340
|
-
}, []);
|
|
341
|
-
return (...t11) => {
|
|
342
|
-
if (!t11.every((a14) => a14 == null)) return e5.current = t11, r11;
|
|
343
|
-
};
|
|
344
|
-
}
|
|
345
|
-
function H(...e5) {
|
|
346
|
-
return e5.every((r11) => r11 == null) ? void 0 : (r11) => {
|
|
347
|
-
for (let t11 of e5) t11 != null && (typeof t11 == "function" ? t11(r11) : t11.current = r11);
|
|
348
|
-
};
|
|
349
|
-
}
|
|
350
|
-
function P(...e5) {
|
|
351
|
-
if (e5.length === 0) return {};
|
|
352
|
-
if (e5.length === 1) return e5[0];
|
|
353
|
-
let r11 = {}, t11 = {};
|
|
354
|
-
for (let o11 of e5) for (let n11 in o11) n11.startsWith("on") && typeof o11[n11] == "function" ? ((t11[n11]) != null || (t11[n11] = []), t11[n11].push(o11[n11])) : r11[n11] = o11[n11];
|
|
355
|
-
if (r11.disabled || r11["aria-disabled"]) for (let o11 in t11) /^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(o11) && (t11[o11] = [(n11) => {
|
|
356
|
-
var i10;
|
|
357
|
-
return (i10 = n11 == null ? void 0 : n11.preventDefault) == null ? void 0 : i10.call(n11);
|
|
358
|
-
}]);
|
|
359
|
-
for (let o11 in t11) Object.assign(r11, { [o11](n11, ...i10) {
|
|
360
|
-
let l9 = t11[o11];
|
|
361
|
-
for (let s10 of l9) {
|
|
362
|
-
if ((n11 instanceof Event || (n11 == null ? void 0 : n11.nativeEvent) instanceof Event) && n11.defaultPrevented) return;
|
|
363
|
-
s10(n11, ...i10);
|
|
364
|
-
}
|
|
365
|
-
} });
|
|
366
|
-
return r11;
|
|
367
|
-
}
|
|
368
|
-
function V(...e5) {
|
|
369
|
-
if (e5.length === 0) return {};
|
|
370
|
-
if (e5.length === 1) return e5[0];
|
|
371
|
-
let r11 = {}, t11 = {};
|
|
372
|
-
for (let o11 of e5) for (let n11 in o11) n11.startsWith("on") && typeof o11[n11] == "function" ? ((t11[n11]) != null || (t11[n11] = []), t11[n11].push(o11[n11])) : r11[n11] = o11[n11];
|
|
373
|
-
for (let o11 in t11) Object.assign(r11, { [o11](...n11) {
|
|
374
|
-
let i10 = t11[o11];
|
|
375
|
-
for (let l9 of i10) l9 == null || l9(...n11);
|
|
376
|
-
} });
|
|
377
|
-
return r11;
|
|
378
|
-
}
|
|
379
|
-
function Y(e5) {
|
|
380
|
-
var r11;
|
|
381
|
-
return Object.assign(forwardRef(e5), { displayName: (r11 = e5.displayName) != null ? r11 : e5.name });
|
|
382
|
-
}
|
|
383
|
-
function m(e5) {
|
|
384
|
-
let r11 = Object.assign({}, e5);
|
|
385
|
-
for (let t11 in r11) r11[t11] === void 0 && delete r11[t11];
|
|
386
|
-
return r11;
|
|
387
|
-
}
|
|
388
|
-
function h(e5, r11 = []) {
|
|
389
|
-
let t11 = Object.assign({}, e5);
|
|
390
|
-
for (let a14 of r11) a14 in t11 && delete t11[a14];
|
|
391
|
-
return t11;
|
|
392
|
-
}
|
|
393
|
-
function D(e5) {
|
|
394
|
-
return t9__default.version.split(".")[0] >= "19" ? e5.props.ref : e5.ref;
|
|
395
|
-
}
|
|
396
|
-
function E(e5) {
|
|
397
|
-
if (e5 != null && e5.$$typeof === /* @__PURE__ */ Symbol.for("react.lazy")) {
|
|
398
|
-
let r11 = e5._payload;
|
|
399
|
-
if (r11 != null && r11.status === "fulfilled") return E(r11.value);
|
|
400
|
-
}
|
|
401
|
-
return e5;
|
|
402
|
-
}
|
|
403
|
-
function b(e5) {
|
|
404
|
-
return e5 === Fragment || e5 === /* @__PURE__ */ Symbol.for("react.fragment");
|
|
405
|
-
}
|
|
406
|
-
function L(e5) {
|
|
407
|
-
return b(e5.type);
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
// ../node_modules/@headlessui/react/dist/utils/dom.js
|
|
411
|
-
function o5(e5) {
|
|
412
|
-
return typeof e5 != "object" || e5 === null ? false : "nodeType" in e5;
|
|
413
|
-
}
|
|
414
|
-
function t5(e5) {
|
|
415
|
-
return o5(e5) && "tagName" in e5;
|
|
416
|
-
}
|
|
417
|
-
function n4(e5) {
|
|
418
|
-
return t5(e5) && "accessKey" in e5;
|
|
419
|
-
}
|
|
420
|
-
function i3(e5) {
|
|
421
|
-
return t5(e5) && "tabIndex" in e5;
|
|
422
|
-
}
|
|
423
|
-
function r5(e5) {
|
|
424
|
-
return t5(e5) && "style" in e5;
|
|
425
|
-
}
|
|
426
|
-
function u2(e5) {
|
|
427
|
-
return n4(e5) && e5.nodeName === "IFRAME";
|
|
428
|
-
}
|
|
429
|
-
function l2(e5) {
|
|
430
|
-
return n4(e5) && e5.nodeName === "INPUT";
|
|
431
|
-
}
|
|
432
|
-
function m2(e5) {
|
|
433
|
-
return n4(e5) && e5.nodeName === "LABEL";
|
|
434
|
-
}
|
|
435
|
-
function a3(e5) {
|
|
436
|
-
return n4(e5) && e5.nodeName === "FIELDSET";
|
|
437
|
-
}
|
|
438
|
-
function E2(e5) {
|
|
439
|
-
return n4(e5) && e5.nodeName === "LEGEND";
|
|
440
|
-
}
|
|
441
|
-
function L2(e5) {
|
|
442
|
-
return t5(e5) ? e5.matches('a[href],audio[controls],button,details,embed,iframe,img[usemap],input:not([type="hidden"]),label,select,textarea,video[controls]') : false;
|
|
443
|
-
}
|
|
444
|
-
var u3 = /* @__PURE__ */ Symbol();
|
|
445
|
-
function T(t11, n11 = true) {
|
|
446
|
-
return Object.assign(t11, { [u3]: n11 });
|
|
447
|
-
}
|
|
448
|
-
function y(...t11) {
|
|
449
|
-
let n11 = useRef(t11);
|
|
450
|
-
useEffect(() => {
|
|
451
|
-
n11.current = t11;
|
|
452
|
-
}, [t11]);
|
|
453
|
-
let c11 = o4((e5) => {
|
|
454
|
-
for (let o11 of n11.current) o11 != null && (typeof o11 == "function" ? o11(e5) : o11.current = e5);
|
|
455
|
-
});
|
|
456
|
-
return t11.every((e5) => e5 == null || (e5 == null ? void 0 : e5[u3])) ? void 0 : c11;
|
|
457
|
-
}
|
|
458
|
-
var a4 = createContext(null);
|
|
459
|
-
a4.displayName = "DescriptionContext";
|
|
460
|
-
function f2() {
|
|
461
|
-
let r11 = useContext(a4);
|
|
462
|
-
if (r11 === null) {
|
|
463
|
-
let e5 = new Error("You used a <Description /> component, but it is not inside a relevant parent.");
|
|
464
|
-
throw Error.captureStackTrace && Error.captureStackTrace(e5, f2), e5;
|
|
465
|
-
}
|
|
466
|
-
return r11;
|
|
467
|
-
}
|
|
468
|
-
function w2() {
|
|
469
|
-
var r11, e5;
|
|
470
|
-
return (e5 = (r11 = useContext(a4)) == null ? void 0 : r11.value) != null ? e5 : void 0;
|
|
471
|
-
}
|
|
472
|
-
function H2() {
|
|
473
|
-
let [r11, e5] = useState([]);
|
|
474
|
-
return [r11.length > 0 ? r11.join(" ") : void 0, useMemo(() => function(t11) {
|
|
475
|
-
let i10 = o4((n11) => (e5((o11) => [...o11, n11]), () => e5((o11) => {
|
|
476
|
-
let s10 = o11.slice(), p5 = s10.indexOf(n11);
|
|
477
|
-
return p5 !== -1 && s10.splice(p5, 1), s10;
|
|
478
|
-
}))), l9 = useMemo(() => ({ register: i10, slot: t11.slot, name: t11.name, props: t11.props, value: t11.value }), [i10, t11.slot, t11.name, t11.props, t11.value]);
|
|
479
|
-
return t9__default.createElement(a4.Provider, { value: l9 }, t11.children);
|
|
480
|
-
}, [e5])];
|
|
481
|
-
}
|
|
482
|
-
var I2 = "p";
|
|
483
|
-
function C2(r11, e5) {
|
|
484
|
-
let c11 = useId(), t11 = a2(), { id: i10 = `headlessui-description-${c11}`, ...l9 } = r11, n11 = f2(), o11 = y(e5);
|
|
485
|
-
n(() => n11.register(i10), [i10, n11.register]);
|
|
486
|
-
let s10 = n2({ ...n11.slot, disabled: t11 || false }), p5 = { ref: o11, ...n11.props, id: i10 };
|
|
487
|
-
return K()({ ourProps: p5, theirProps: l9, slot: s10, defaultTag: I2, name: n11.name || "Description" });
|
|
488
|
-
}
|
|
489
|
-
var _ = Y(C2);
|
|
490
|
-
var M2 = Object.assign(_, {});
|
|
491
|
-
|
|
492
|
-
// ../node_modules/@headlessui/react/dist/components/keyboard.js
|
|
493
|
-
var o6 = ((r11) => (r11.Space = " ", r11.Enter = "Enter", r11.Escape = "Escape", r11.Backspace = "Backspace", r11.Delete = "Delete", r11.ArrowLeft = "ArrowLeft", r11.ArrowUp = "ArrowUp", r11.ArrowRight = "ArrowRight", r11.ArrowDown = "ArrowDown", r11.Home = "Home", r11.End = "End", r11.PageUp = "PageUp", r11.PageDown = "PageDown", r11.Tab = "Tab", r11))(o6 || {});
|
|
494
|
-
|
|
495
|
-
// ../node_modules/@headlessui/react/dist/utils/default-map.js
|
|
496
|
-
var a5 = class extends Map {
|
|
497
|
-
constructor(t11) {
|
|
498
|
-
super();
|
|
499
|
-
this.factory = t11;
|
|
500
|
-
}
|
|
501
|
-
get(t11) {
|
|
502
|
-
let e5 = super.get(t11);
|
|
503
|
-
return e5 === void 0 && (e5 = this.factory(t11), this.set(t11, e5)), e5;
|
|
504
|
-
}
|
|
505
|
-
};
|
|
506
|
-
|
|
507
|
-
// ../node_modules/@headlessui/react/dist/machine.js
|
|
508
|
-
var h2 = Object.defineProperty;
|
|
509
|
-
var v2 = (t11, e5, r11) => e5 in t11 ? h2(t11, e5, { enumerable: true, configurable: true, writable: true, value: r11 }) : t11[e5] = r11;
|
|
510
|
-
var S2 = (t11, e5, r11) => (v2(t11, e5 + "" , r11), r11);
|
|
511
|
-
var b2 = (t11, e5, r11) => {
|
|
512
|
-
if (!e5.has(t11)) throw TypeError("Cannot " + r11);
|
|
513
|
-
};
|
|
514
|
-
var i5 = (t11, e5, r11) => (b2(t11, e5, "read from private field"), r11 ? r11.call(t11) : e5.get(t11));
|
|
515
|
-
var c2 = (t11, e5, r11) => {
|
|
516
|
-
if (e5.has(t11)) throw TypeError("Cannot add the same private member more than once");
|
|
517
|
-
e5 instanceof WeakSet ? e5.add(t11) : e5.set(t11, r11);
|
|
518
|
-
};
|
|
519
|
-
var u5 = (t11, e5, r11, s10) => (b2(t11, e5, "write to private field"), e5.set(t11, r11), r11);
|
|
520
|
-
var n5;
|
|
521
|
-
var a6;
|
|
522
|
-
var o7;
|
|
523
|
-
var T3 = class {
|
|
524
|
-
constructor(e5) {
|
|
525
|
-
c2(this, n5, {});
|
|
526
|
-
c2(this, a6, new a5(() => /* @__PURE__ */ new Set()));
|
|
527
|
-
c2(this, o7, /* @__PURE__ */ new Set());
|
|
528
|
-
S2(this, "disposables", o2());
|
|
529
|
-
u5(this, n5, e5), s.isServer && this.disposables.microTask(() => {
|
|
530
|
-
this.dispose();
|
|
531
|
-
});
|
|
532
|
-
}
|
|
533
|
-
dispose() {
|
|
534
|
-
this.disposables.dispose();
|
|
535
|
-
}
|
|
536
|
-
get state() {
|
|
537
|
-
return i5(this, n5);
|
|
538
|
-
}
|
|
539
|
-
subscribe(e5, r11) {
|
|
540
|
-
if (s.isServer) return () => {
|
|
541
|
-
};
|
|
542
|
-
let s10 = { selector: e5, callback: r11, current: e5(i5(this, n5)) };
|
|
543
|
-
return i5(this, o7).add(s10), this.disposables.add(() => {
|
|
544
|
-
i5(this, o7).delete(s10);
|
|
545
|
-
});
|
|
546
|
-
}
|
|
547
|
-
on(e5, r11) {
|
|
548
|
-
return s.isServer ? () => {
|
|
549
|
-
} : (i5(this, a6).get(e5).add(r11), this.disposables.add(() => {
|
|
550
|
-
i5(this, a6).get(e5).delete(r11);
|
|
551
|
-
}));
|
|
552
|
-
}
|
|
553
|
-
send(e5) {
|
|
554
|
-
let r11 = this.reduce(i5(this, n5), e5);
|
|
555
|
-
if (r11 !== i5(this, n5)) {
|
|
556
|
-
u5(this, n5, r11);
|
|
557
|
-
for (let s10 of i5(this, o7)) {
|
|
558
|
-
let l9 = s10.selector(i5(this, n5));
|
|
559
|
-
j2(s10.current, l9) || (s10.current = l9, s10.callback(l9));
|
|
560
|
-
}
|
|
561
|
-
for (let s10 of i5(this, a6).get(e5.type)) s10(i5(this, n5), e5);
|
|
562
|
-
}
|
|
563
|
-
}
|
|
564
|
-
};
|
|
565
|
-
n5 = /* @__PURE__ */ new WeakMap(), a6 = /* @__PURE__ */ new WeakMap(), o7 = /* @__PURE__ */ new WeakMap();
|
|
566
|
-
function j2(t11, e5) {
|
|
567
|
-
return Object.is(t11, e5) ? true : typeof t11 != "object" || t11 === null || typeof e5 != "object" || e5 === null ? false : Array.isArray(t11) && Array.isArray(e5) ? t11.length !== e5.length ? false : f3(t11[Symbol.iterator](), e5[Symbol.iterator]()) : t11 instanceof Map && e5 instanceof Map || t11 instanceof Set && e5 instanceof Set ? t11.size !== e5.size ? false : f3(t11.entries(), e5.entries()) : p2(t11) && p2(e5) ? f3(Object.entries(t11)[Symbol.iterator](), Object.entries(e5)[Symbol.iterator]()) : false;
|
|
568
|
-
}
|
|
569
|
-
function f3(t11, e5) {
|
|
570
|
-
do {
|
|
571
|
-
let r11 = t11.next(), s10 = e5.next();
|
|
572
|
-
if (r11.done && s10.done) return true;
|
|
573
|
-
if (r11.done || s10.done || !Object.is(r11.value, s10.value)) return false;
|
|
574
|
-
} while (true);
|
|
575
|
-
}
|
|
576
|
-
function p2(t11) {
|
|
577
|
-
if (Object.prototype.toString.call(t11) !== "[object Object]") return false;
|
|
578
|
-
let e5 = Object.getPrototypeOf(t11);
|
|
579
|
-
return e5 === null || Object.getPrototypeOf(e5) === null;
|
|
580
|
-
}
|
|
581
|
-
|
|
582
|
-
// ../node_modules/@headlessui/react/dist/machines/stack-machine.js
|
|
583
|
-
var a7 = Object.defineProperty;
|
|
584
|
-
var r6 = (e5, c11, t11) => c11 in e5 ? a7(e5, c11, { enumerable: true, configurable: true, writable: true, value: t11 }) : e5[c11] = t11;
|
|
585
|
-
var p3 = (e5, c11, t11) => (r6(e5, typeof c11 != "symbol" ? c11 + "" : c11, t11), t11);
|
|
586
|
-
var k2 = ((t11) => (t11[t11.Push = 0] = "Push", t11[t11.Pop = 1] = "Pop", t11))(k2 || {});
|
|
587
|
-
var y2 = { [0](e5, c11) {
|
|
588
|
-
let t11 = c11.id, s10 = e5.stack, i10 = e5.stack.indexOf(t11);
|
|
589
|
-
if (i10 !== -1) {
|
|
590
|
-
let n11 = e5.stack.slice();
|
|
591
|
-
return n11.splice(i10, 1), n11.push(t11), s10 = n11, { ...e5, stack: s10 };
|
|
592
|
-
}
|
|
593
|
-
return { ...e5, stack: [...e5.stack, t11] };
|
|
594
|
-
}, [1](e5, c11) {
|
|
595
|
-
let t11 = c11.id, s10 = e5.stack.indexOf(t11);
|
|
596
|
-
if (s10 === -1) return e5;
|
|
597
|
-
let i10 = e5.stack.slice();
|
|
598
|
-
return i10.splice(s10, 1), { ...e5, stack: i10 };
|
|
599
|
-
} };
|
|
600
|
-
var o8 = class _o extends T3 {
|
|
601
|
-
constructor() {
|
|
602
|
-
super(...arguments);
|
|
603
|
-
p3(this, "actions", { push: (t11) => this.send({ type: 0, id: t11 }), pop: (t11) => this.send({ type: 1, id: t11 }) });
|
|
604
|
-
p3(this, "selectors", { isTop: (t11, s10) => t11.stack[t11.stack.length - 1] === s10, inStack: (t11, s10) => t11.stack.includes(s10) });
|
|
605
|
-
}
|
|
606
|
-
static new() {
|
|
607
|
-
return new _o({ stack: [] });
|
|
608
|
-
}
|
|
609
|
-
reduce(t11, s10) {
|
|
610
|
-
return u(s10.type, y2, t11, s10);
|
|
611
|
-
}
|
|
612
|
-
};
|
|
613
|
-
var x2 = new a5(() => o8.new());
|
|
614
|
-
|
|
615
|
-
// ../node_modules/@headlessui/react/dist/react-glue.js
|
|
616
|
-
var import_with_selector = __toESM(require_with_selector(), 1);
|
|
617
|
-
function S3(e5, n11, r11 = j2) {
|
|
618
|
-
return (0, import_with_selector.useSyncExternalStoreWithSelector)(o4((i10) => e5.subscribe(s4, i10)), o4(() => e5.state), o4(() => e5.state), o4(n11), r11);
|
|
619
|
-
}
|
|
620
|
-
function s4(e5) {
|
|
621
|
-
return e5;
|
|
622
|
-
}
|
|
623
|
-
function I3(o11, s10) {
|
|
624
|
-
let t11 = useId(), r11 = x2.get(s10), [i10, c11] = S3(r11, useCallback((e5) => [r11.selectors.isTop(e5, t11), r11.selectors.inStack(e5, t11)], [r11, t11]));
|
|
625
|
-
return n(() => {
|
|
626
|
-
if (o11) return r11.actions.push(t11), () => r11.actions.pop(t11);
|
|
627
|
-
}, [r11, o11, t11]), o11 ? c11 ? i10 : true : false;
|
|
628
|
-
}
|
|
629
|
-
|
|
630
|
-
// ../node_modules/@headlessui/react/dist/hooks/use-inert-others.js
|
|
631
|
-
var f4 = /* @__PURE__ */ new Map();
|
|
632
|
-
var u7 = /* @__PURE__ */ new Map();
|
|
633
|
-
function h3(t11) {
|
|
634
|
-
var e5;
|
|
635
|
-
let r11 = (e5 = u7.get(t11)) != null ? e5 : 0;
|
|
636
|
-
return u7.set(t11, r11 + 1), r11 !== 0 ? () => m4(t11) : (f4.set(t11, { "aria-hidden": t11.getAttribute("aria-hidden"), inert: t11.inert }), t11.setAttribute("aria-hidden", "true"), t11.inert = true, () => m4(t11));
|
|
637
|
-
}
|
|
638
|
-
function m4(t11) {
|
|
639
|
-
var i10;
|
|
640
|
-
let r11 = (i10 = u7.get(t11)) != null ? i10 : 1;
|
|
641
|
-
if (r11 === 1 ? u7.delete(t11) : u7.set(t11, r11 - 1), r11 !== 1) return;
|
|
642
|
-
let e5 = f4.get(t11);
|
|
643
|
-
e5 && (e5["aria-hidden"] === null ? t11.removeAttribute("aria-hidden") : t11.setAttribute("aria-hidden", e5["aria-hidden"]), t11.inert = e5.inert, f4.delete(t11));
|
|
644
|
-
}
|
|
645
|
-
function y3(t11, { allowed: r11, disallowed: e5 } = {}) {
|
|
646
|
-
let i10 = I3(t11, "inert-others");
|
|
647
|
-
n(() => {
|
|
648
|
-
var d7, c11;
|
|
649
|
-
if (!i10) return;
|
|
650
|
-
let a14 = o2();
|
|
651
|
-
for (let n11 of (d7 = e5 == null ? void 0 : e5()) != null ? d7 : []) n11 && a14.add(h3(n11));
|
|
652
|
-
let s10 = (c11 = r11 == null ? void 0 : r11()) != null ? c11 : [];
|
|
653
|
-
for (let n11 of s10) {
|
|
654
|
-
if (!n11) continue;
|
|
655
|
-
let l9 = l(n11);
|
|
656
|
-
if (!l9) continue;
|
|
657
|
-
let o11 = n11.parentElement;
|
|
658
|
-
for (; o11 && o11 !== l9.body; ) {
|
|
659
|
-
for (let p5 of o11.children) s10.some((E7) => p5.contains(E7)) || a14.add(h3(p5));
|
|
660
|
-
o11 = o11.parentElement;
|
|
661
|
-
}
|
|
662
|
-
}
|
|
663
|
-
return a14.dispose;
|
|
664
|
-
}, [i10, r11, e5]);
|
|
665
|
-
}
|
|
666
|
-
function p4(s10, n11, o11) {
|
|
667
|
-
let i10 = s3((t11) => {
|
|
668
|
-
let e5 = t11.getBoundingClientRect();
|
|
669
|
-
e5.x === 0 && e5.y === 0 && e5.width === 0 && e5.height === 0 && o11();
|
|
670
|
-
});
|
|
671
|
-
useEffect(() => {
|
|
672
|
-
if (!s10) return;
|
|
673
|
-
let t11 = n11 === null ? null : n4(n11) ? n11 : n11.current;
|
|
674
|
-
if (!t11) return;
|
|
675
|
-
let e5 = o2();
|
|
676
|
-
if (typeof ResizeObserver != "undefined") {
|
|
677
|
-
let r11 = new ResizeObserver(() => i10.current(t11));
|
|
678
|
-
r11.observe(t11), e5.add(() => r11.disconnect());
|
|
679
|
-
}
|
|
680
|
-
if (typeof IntersectionObserver != "undefined") {
|
|
681
|
-
let r11 = new IntersectionObserver(() => i10.current(t11));
|
|
682
|
-
r11.observe(t11), e5.add(() => r11.disconnect());
|
|
683
|
-
}
|
|
684
|
-
return () => e5.dispose();
|
|
685
|
-
}, [n11, i10, s10]);
|
|
686
|
-
}
|
|
687
|
-
|
|
688
|
-
// ../node_modules/@headlessui/react/dist/utils/platform.js
|
|
689
|
-
function t6() {
|
|
690
|
-
return /iPhone/gi.test(window.navigator.platform) || /Mac/gi.test(window.navigator.platform) && window.navigator.maxTouchPoints > 0;
|
|
691
|
-
}
|
|
692
|
-
function i6() {
|
|
693
|
-
return /Android/gi.test(window.navigator.userAgent);
|
|
694
|
-
}
|
|
695
|
-
function n7() {
|
|
696
|
-
return t6() || i6();
|
|
697
|
-
}
|
|
698
|
-
|
|
699
|
-
// ../node_modules/@headlessui/react/dist/utils/focus-management.js
|
|
700
|
-
var E3 = ["[contentEditable=true]", "[tabindex]", "a[href]", "area[href]", "button:not([disabled])", "iframe", "input:not([disabled])", "select:not([disabled])", "details>summary", "textarea:not([disabled])"].map((e5) => `${e5}:not([tabindex='-1'])`).join(",");
|
|
701
|
-
var S4 = ["[data-autofocus]"].map((e5) => `${e5}:not([tabindex='-1'])`).join(",");
|
|
702
|
-
var T4 = ((o11) => (o11[o11.First = 1] = "First", o11[o11.Previous = 2] = "Previous", o11[o11.Next = 4] = "Next", o11[o11.Last = 8] = "Last", o11[o11.WrapAround = 16] = "WrapAround", o11[o11.NoScroll = 32] = "NoScroll", o11[o11.AutoFocus = 64] = "AutoFocus", o11))(T4 || {});
|
|
703
|
-
var A2 = ((n11) => (n11[n11.Error = 0] = "Error", n11[n11.Overflow = 1] = "Overflow", n11[n11.Success = 2] = "Success", n11[n11.Underflow = 3] = "Underflow", n11))(A2 || {});
|
|
704
|
-
var O2 = ((t11) => (t11[t11.Previous = -1] = "Previous", t11[t11.Next = 1] = "Next", t11))(O2 || {});
|
|
705
|
-
function x3(e5 = document.body) {
|
|
706
|
-
return e5 == null ? [] : Array.from(e5.querySelectorAll(E3)).sort((r11, t11) => Math.sign((r11.tabIndex || Number.MAX_SAFE_INTEGER) - (t11.tabIndex || Number.MAX_SAFE_INTEGER)));
|
|
707
|
-
}
|
|
708
|
-
function h4(e5 = document.body) {
|
|
709
|
-
return e5 == null ? [] : Array.from(e5.querySelectorAll(S4)).sort((r11, t11) => Math.sign((r11.tabIndex || Number.MAX_SAFE_INTEGER) - (t11.tabIndex || Number.MAX_SAFE_INTEGER)));
|
|
710
|
-
}
|
|
711
|
-
var I4 = ((t11) => (t11[t11.Strict = 0] = "Strict", t11[t11.Loose = 1] = "Loose", t11))(I4 || {});
|
|
712
|
-
function H3(e5, r11 = 0) {
|
|
713
|
-
var t11;
|
|
714
|
-
return e5 === ((t11 = l(e5)) == null ? void 0 : t11.body) ? false : u(r11, { [0]() {
|
|
715
|
-
return e5.matches(E3);
|
|
716
|
-
}, [1]() {
|
|
717
|
-
let l9 = e5;
|
|
718
|
-
for (; l9 !== null; ) {
|
|
719
|
-
if (l9.matches(E3)) return true;
|
|
720
|
-
l9 = l9.parentElement;
|
|
721
|
-
}
|
|
722
|
-
return false;
|
|
723
|
-
} });
|
|
724
|
-
}
|
|
725
|
-
var g = ((t11) => (t11[t11.Keyboard = 0] = "Keyboard", t11[t11.Mouse = 1] = "Mouse", t11))(g || {});
|
|
726
|
-
typeof window != "undefined" && typeof document != "undefined" && (document.addEventListener("keydown", (e5) => {
|
|
727
|
-
e5.metaKey || e5.altKey || e5.ctrlKey || (document.documentElement.dataset.headlessuiFocusVisible = "");
|
|
728
|
-
}, true), document.addEventListener("click", (e5) => {
|
|
729
|
-
e5.detail === 1 ? delete document.documentElement.dataset.headlessuiFocusVisible : e5.detail === 0 && (document.documentElement.dataset.headlessuiFocusVisible = "");
|
|
730
|
-
}, true));
|
|
731
|
-
function w3(e5) {
|
|
732
|
-
e5 == null || e5.focus({ preventScroll: true });
|
|
733
|
-
}
|
|
734
|
-
var _2 = ["textarea", "input"].join(",");
|
|
735
|
-
function P2(e5) {
|
|
736
|
-
var r11, t11;
|
|
737
|
-
return (t11 = (r11 = e5 == null ? void 0 : e5.matches) == null ? void 0 : r11.call(e5, _2)) != null ? t11 : false;
|
|
738
|
-
}
|
|
739
|
-
function G(e5, r11 = (t11) => t11) {
|
|
740
|
-
return e5.slice().sort((t11, l9) => {
|
|
741
|
-
let n11 = r11(t11), a14 = r11(l9);
|
|
742
|
-
if (n11 === null || a14 === null) return 0;
|
|
743
|
-
let u11 = n11.compareDocumentPosition(a14);
|
|
744
|
-
return u11 & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : u11 & Node.DOCUMENT_POSITION_PRECEDING ? 1 : 0;
|
|
745
|
-
});
|
|
746
|
-
}
|
|
747
|
-
function v3(e5, r11, { sorted: t11 = true, relativeTo: l9 = null, skipElements: n11 = [] } = {}) {
|
|
748
|
-
let a14 = Array.isArray(e5) ? e5.length > 0 ? r2(e5[0]) : document : r2(e5), u11 = Array.isArray(e5) ? t11 ? G(e5) : e5 : r11 & 64 ? h4(e5) : x3(e5);
|
|
749
|
-
n11.length > 0 && u11.length > 1 && (u11 = u11.filter((i10) => !n11.some((d7) => d7 != null && "current" in d7 ? (d7 == null ? void 0 : d7.current) === i10 : d7 === i10))), l9 = l9 != null ? l9 : a14 == null ? void 0 : a14.activeElement;
|
|
750
|
-
let o11 = (() => {
|
|
751
|
-
if (r11 & 5) return 1;
|
|
752
|
-
if (r11 & 10) return -1;
|
|
753
|
-
throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last");
|
|
754
|
-
})(), M4 = (() => {
|
|
755
|
-
if (r11 & 1) return 0;
|
|
756
|
-
if (r11 & 2) return Math.max(0, u11.indexOf(l9)) - 1;
|
|
757
|
-
if (r11 & 4) return Math.max(0, u11.indexOf(l9)) + 1;
|
|
758
|
-
if (r11 & 8) return u11.length - 1;
|
|
759
|
-
throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last");
|
|
760
|
-
})(), N2 = r11 & 32 ? { preventScroll: true } : {}, m7 = 0, c11 = u11.length, s10;
|
|
761
|
-
do {
|
|
762
|
-
if (m7 >= c11 || m7 + c11 <= 0) return 0;
|
|
763
|
-
let i10 = M4 + m7;
|
|
764
|
-
if (r11 & 16) i10 = (i10 + c11) % c11;
|
|
765
|
-
else {
|
|
766
|
-
if (i10 < 0) return 3;
|
|
767
|
-
if (i10 >= c11) return 1;
|
|
768
|
-
}
|
|
769
|
-
s10 = u11[i10], s10 == null || s10.focus(N2), m7 += o11;
|
|
770
|
-
} while (s10 !== e(s10));
|
|
771
|
-
return r11 & 6 && P2(s10) && s10.select(), 2;
|
|
772
|
-
}
|
|
773
|
-
function i7(t11, e5, o11, n11) {
|
|
774
|
-
let u11 = s3(o11);
|
|
775
|
-
useEffect(() => {
|
|
776
|
-
if (!t11) return;
|
|
777
|
-
function r11(m7) {
|
|
778
|
-
u11.current(m7);
|
|
779
|
-
}
|
|
780
|
-
return document.addEventListener(e5, r11, n11), () => document.removeEventListener(e5, r11, n11);
|
|
781
|
-
}, [t11, e5, n11]);
|
|
782
|
-
}
|
|
783
|
-
function s5(t11, e5, o11, n11) {
|
|
784
|
-
let i10 = s3(o11);
|
|
785
|
-
useEffect(() => {
|
|
786
|
-
if (!t11) return;
|
|
787
|
-
function r11(d7) {
|
|
788
|
-
i10.current(d7);
|
|
789
|
-
}
|
|
790
|
-
return window.addEventListener(e5, r11, n11), () => window.removeEventListener(e5, r11, n11);
|
|
791
|
-
}, [t11, e5, n11]);
|
|
792
|
-
}
|
|
793
|
-
|
|
794
|
-
// ../node_modules/@headlessui/react/dist/hooks/use-outside-click.js
|
|
795
|
-
var C3 = 30;
|
|
796
|
-
function k3(o11, f9, h5) {
|
|
797
|
-
let m7 = s3(h5), s10 = useCallback(function(e5, c11) {
|
|
798
|
-
if (e5.defaultPrevented) return;
|
|
799
|
-
let r11 = c11(e5);
|
|
800
|
-
if (r11 === null || !r11.getRootNode().contains(r11) || !r11.isConnected) return;
|
|
801
|
-
let M4 = (function u11(n11) {
|
|
802
|
-
return typeof n11 == "function" ? u11(n11()) : Array.isArray(n11) || n11 instanceof Set ? n11 : [n11];
|
|
803
|
-
})(f9);
|
|
804
|
-
for (let u11 of M4) if (u11 !== null && (u11.contains(r11) || e5.composed && e5.composedPath().includes(u11))) return;
|
|
805
|
-
return !H3(r11, I4.Loose) && r11.tabIndex !== -1 && e5.preventDefault(), m7.current(e5, r11);
|
|
806
|
-
}, [m7, f9]), i10 = useRef(null);
|
|
807
|
-
i7(o11, "pointerdown", (t11) => {
|
|
808
|
-
var e5, c11;
|
|
809
|
-
n7() || (i10.current = ((c11 = (e5 = t11.composedPath) == null ? void 0 : e5.call(t11)) == null ? void 0 : c11[0]) || t11.target);
|
|
810
|
-
}, true), i7(o11, "pointerup", (t11) => {
|
|
811
|
-
if (n7() || !i10.current) return;
|
|
812
|
-
let e5 = i10.current;
|
|
813
|
-
return i10.current = null, s10(t11, () => e5);
|
|
814
|
-
}, true);
|
|
815
|
-
let l9 = useRef({ x: 0, y: 0 });
|
|
816
|
-
i7(o11, "touchstart", (t11) => {
|
|
817
|
-
l9.current.x = t11.touches[0].clientX, l9.current.y = t11.touches[0].clientY;
|
|
818
|
-
}, true), i7(o11, "touchend", (t11) => {
|
|
819
|
-
let e5 = { x: t11.changedTouches[0].clientX, y: t11.changedTouches[0].clientY };
|
|
820
|
-
if (!(Math.abs(e5.x - l9.current.x) >= C3 || Math.abs(e5.y - l9.current.y) >= C3)) return s10(t11, () => i3(t11.target) ? t11.target : null);
|
|
821
|
-
}, true), s5(o11, "blur", (t11) => s10(t11, () => u2(window.document.activeElement) ? window.document.activeElement : null), true);
|
|
822
|
-
}
|
|
823
|
-
function u8(...e5) {
|
|
824
|
-
return useMemo(() => l(...e5), [...e5]);
|
|
825
|
-
}
|
|
826
|
-
function o10(t11) {
|
|
827
|
-
return useSyncExternalStore(t11.subscribe, t11.getSnapshot, t11.getSnapshot);
|
|
828
|
-
}
|
|
829
|
-
|
|
830
|
-
// ../node_modules/@headlessui/react/dist/utils/store.js
|
|
831
|
-
function a10(o11, r11) {
|
|
832
|
-
let t11 = o11(), n11 = /* @__PURE__ */ new Set();
|
|
833
|
-
return { getSnapshot() {
|
|
834
|
-
return t11;
|
|
835
|
-
}, subscribe(e5) {
|
|
836
|
-
return n11.add(e5), () => n11.delete(e5);
|
|
837
|
-
}, dispatch(e5, ...s10) {
|
|
838
|
-
let i10 = r11[e5].call(t11, ...s10);
|
|
839
|
-
i10 && (t11 = i10, n11.forEach((c11) => c11()));
|
|
840
|
-
} };
|
|
841
|
-
}
|
|
842
|
-
|
|
843
|
-
// ../node_modules/@headlessui/react/dist/hooks/document-overflow/adjust-scrollbar-padding.js
|
|
844
|
-
function d4() {
|
|
845
|
-
let r11;
|
|
846
|
-
return { before({ doc: e5 }) {
|
|
847
|
-
var l9;
|
|
848
|
-
let o11 = e5.documentElement, t11 = (l9 = e5.defaultView) != null ? l9 : window;
|
|
849
|
-
r11 = Math.max(0, t11.innerWidth - o11.clientWidth);
|
|
850
|
-
}, after({ doc: e5, d: o11 }) {
|
|
851
|
-
let t11 = e5.documentElement, l9 = Math.max(0, t11.clientWidth - t11.offsetWidth), n11 = Math.max(0, r11 - l9);
|
|
852
|
-
o11.style(t11, "paddingRight", `${n11}px`);
|
|
853
|
-
} };
|
|
854
|
-
}
|
|
855
|
-
|
|
856
|
-
// ../node_modules/@headlessui/react/dist/hooks/document-overflow/handle-ios-locking.js
|
|
857
|
-
function w4() {
|
|
858
|
-
return t6() ? { before({ doc: o11, d: r11, meta: m7 }) {
|
|
859
|
-
function a14(s10) {
|
|
860
|
-
for (let l9 of m7().containers) for (let c11 of l9()) if (c11.contains(s10)) return true;
|
|
861
|
-
return false;
|
|
862
|
-
}
|
|
863
|
-
r11.microTask(() => {
|
|
864
|
-
var c11;
|
|
865
|
-
if (window.getComputedStyle(o11.documentElement).scrollBehavior !== "auto") {
|
|
866
|
-
let t11 = o2();
|
|
867
|
-
t11.style(o11.documentElement, "scrollBehavior", "auto"), r11.add(() => r11.microTask(() => t11.dispose()));
|
|
868
|
-
}
|
|
869
|
-
let s10 = (c11 = window.scrollY) != null ? c11 : window.pageYOffset, l9 = null;
|
|
870
|
-
r11.addEventListener(o11, "click", (t11) => {
|
|
871
|
-
if (i3(t11.target)) try {
|
|
872
|
-
let e5 = t11.target.closest("a");
|
|
873
|
-
if (!e5) return;
|
|
874
|
-
let { hash: n11 } = new URL(e5.href), f9 = o11.querySelector(n11);
|
|
875
|
-
i3(f9) && !a14(f9) && (l9 = f9);
|
|
876
|
-
} catch {
|
|
877
|
-
}
|
|
878
|
-
}, true), r11.group((t11) => {
|
|
879
|
-
r11.addEventListener(o11, "touchstart", (e5) => {
|
|
880
|
-
if (t11.dispose(), i3(e5.target) && r5(e5.target)) if (a14(e5.target)) {
|
|
881
|
-
let n11 = e5.target;
|
|
882
|
-
for (; n11.parentElement && a14(n11.parentElement); ) n11 = n11.parentElement;
|
|
883
|
-
t11.style(n11, "overscrollBehavior", "contain");
|
|
884
|
-
} else t11.style(e5.target, "touchAction", "none");
|
|
885
|
-
});
|
|
886
|
-
}), r11.addEventListener(o11, "touchmove", (t11) => {
|
|
887
|
-
if (i3(t11.target)) {
|
|
888
|
-
if (l2(t11.target)) return;
|
|
889
|
-
if (a14(t11.target)) {
|
|
890
|
-
let e5 = t11.target;
|
|
891
|
-
for (; e5.parentElement && e5.dataset.headlessuiPortal !== "" && !(e5.scrollHeight > e5.clientHeight || e5.scrollWidth > e5.clientWidth); ) e5 = e5.parentElement;
|
|
892
|
-
e5.dataset.headlessuiPortal === "" && t11.preventDefault();
|
|
893
|
-
} else t11.preventDefault();
|
|
894
|
-
}
|
|
895
|
-
}, { passive: false }), r11.add(() => {
|
|
896
|
-
var e5;
|
|
897
|
-
let t11 = (e5 = window.scrollY) != null ? e5 : window.pageYOffset;
|
|
898
|
-
s10 !== t11 && window.scrollTo(0, s10), l9 && l9.isConnected && (l9.scrollIntoView({ block: "nearest" }), l9 = null);
|
|
899
|
-
});
|
|
900
|
-
});
|
|
901
|
-
} } : {};
|
|
902
|
-
}
|
|
903
|
-
|
|
904
|
-
// ../node_modules/@headlessui/react/dist/hooks/document-overflow/prevent-scroll.js
|
|
905
|
-
function r7() {
|
|
906
|
-
return { before({ doc: e5, d: o11 }) {
|
|
907
|
-
o11.style(e5.documentElement, "overflow", "hidden");
|
|
908
|
-
} };
|
|
909
|
-
}
|
|
910
|
-
|
|
911
|
-
// ../node_modules/@headlessui/react/dist/hooks/document-overflow/overflow-store.js
|
|
912
|
-
function r8(e5) {
|
|
913
|
-
let o11 = {};
|
|
914
|
-
for (let t11 of e5) Object.assign(o11, t11(o11));
|
|
915
|
-
return o11;
|
|
916
|
-
}
|
|
917
|
-
var c4 = a10(() => /* @__PURE__ */ new Map(), { PUSH(e5, o11) {
|
|
918
|
-
var n11;
|
|
919
|
-
let t11 = (n11 = this.get(e5)) != null ? n11 : { doc: e5, count: 0, d: o2(), meta: /* @__PURE__ */ new Set(), computedMeta: {} };
|
|
920
|
-
return t11.count++, t11.meta.add(o11), t11.computedMeta = r8(t11.meta), this.set(e5, t11), this;
|
|
921
|
-
}, POP(e5, o11) {
|
|
922
|
-
let t11 = this.get(e5);
|
|
923
|
-
return t11 && (t11.count--, t11.meta.delete(o11), t11.computedMeta = r8(t11.meta)), this;
|
|
924
|
-
}, SCROLL_PREVENT(e5) {
|
|
925
|
-
let o11 = { doc: e5.doc, d: e5.d, meta() {
|
|
926
|
-
return e5.computedMeta;
|
|
927
|
-
} }, t11 = [w4(), d4(), r7()];
|
|
928
|
-
t11.forEach(({ before: n11 }) => n11 == null ? void 0 : n11(o11)), t11.forEach(({ after: n11 }) => n11 == null ? void 0 : n11(o11));
|
|
929
|
-
}, SCROLL_ALLOW({ d: e5 }) {
|
|
930
|
-
e5.dispose();
|
|
931
|
-
}, TEARDOWN({ doc: e5 }) {
|
|
932
|
-
this.delete(e5);
|
|
933
|
-
} });
|
|
934
|
-
c4.subscribe(() => {
|
|
935
|
-
let e5 = c4.getSnapshot(), o11 = /* @__PURE__ */ new Map();
|
|
936
|
-
for (let [t11] of e5) o11.set(t11, t11.documentElement.style.overflow);
|
|
937
|
-
for (let t11 of e5.values()) {
|
|
938
|
-
let n11 = o11.get(t11.doc) === "hidden", a14 = t11.count !== 0;
|
|
939
|
-
(a14 && !n11 || !a14 && n11) && c4.dispatch(t11.count > 0 ? "SCROLL_PREVENT" : "SCROLL_ALLOW", t11), t11.count === 0 && c4.dispatch("TEARDOWN", t11);
|
|
940
|
-
}
|
|
941
|
-
});
|
|
942
|
-
|
|
943
|
-
// ../node_modules/@headlessui/react/dist/hooks/document-overflow/use-document-overflow.js
|
|
944
|
-
function a11(r11, e5, n11 = () => ({ containers: [] })) {
|
|
945
|
-
let f9 = o10(c4), o11 = e5 ? f9.get(e5) : void 0, i10 = o11 ? o11.count > 0 : false;
|
|
946
|
-
return n(() => {
|
|
947
|
-
if (!(!e5 || !r11)) return c4.dispatch("PUSH", e5, n11), () => c4.dispatch("POP", e5, n11);
|
|
948
|
-
}, [r11, e5]), i10;
|
|
949
|
-
}
|
|
950
|
-
|
|
951
|
-
// ../node_modules/@headlessui/react/dist/hooks/use-scroll-lock.js
|
|
952
|
-
function f5(e5, c11, n11 = () => [document.body]) {
|
|
953
|
-
let r11 = I3(e5, "scroll-lock");
|
|
954
|
-
a11(r11, c11, (t11) => {
|
|
955
|
-
var o11;
|
|
956
|
-
return { containers: [...(o11 = t11.containers) != null ? o11 : [], n11] };
|
|
957
|
-
});
|
|
958
|
-
}
|
|
959
|
-
function c5(u11 = 0) {
|
|
960
|
-
let [r11, a14] = useState(u11), g2 = useCallback((e5) => a14(e5), []), s10 = useCallback((e5) => a14((l9) => l9 | e5), []), m7 = useCallback((e5) => (r11 & e5) === e5, [r11]), n11 = useCallback((e5) => a14((l9) => l9 & ~e5), []), F2 = useCallback((e5) => a14((l9) => l9 ^ e5), []);
|
|
961
|
-
return { flags: r11, setFlag: g2, addFlag: s10, hasFlag: m7, removeFlag: n11, toggleFlag: F2 };
|
|
962
|
-
}
|
|
963
|
-
|
|
964
|
-
// ../node_modules/@headlessui/react/dist/hooks/use-transition.js
|
|
965
|
-
var T6;
|
|
966
|
-
var S5;
|
|
967
|
-
typeof process != "undefined" && typeof globalThis != "undefined" && typeof Element != "undefined" && ((T6 = process == null ? void 0 : process.env) == null ? void 0 : T6["NODE_ENV"]) === "test" && typeof ((S5 = Element == null ? void 0 : Element.prototype) == null ? void 0 : S5.getAnimations) == "undefined" && (Element.prototype.getAnimations = function() {
|
|
968
|
-
return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.", "Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.", "", "Example usage:", "```js", "import { mockAnimationsApi } from 'jsdom-testing-mocks'", "mockAnimationsApi()", "```"].join(`
|
|
969
|
-
`)), [];
|
|
970
|
-
});
|
|
971
|
-
var A3 = ((i10) => (i10[i10.None = 0] = "None", i10[i10.Closed = 1] = "Closed", i10[i10.Enter = 2] = "Enter", i10[i10.Leave = 4] = "Leave", i10))(A3 || {});
|
|
972
|
-
function x4(e5) {
|
|
973
|
-
let r11 = {};
|
|
974
|
-
for (let t11 in e5) e5[t11] === true && (r11[`data-${t11}`] = "");
|
|
975
|
-
return r11;
|
|
976
|
-
}
|
|
977
|
-
function N(e5, r11, t11, n11) {
|
|
978
|
-
let [i10, a14] = useState(t11), { hasFlag: s10, addFlag: o11, removeFlag: l9 } = c5(e5 && i10 ? 3 : 0), u11 = useRef(false), f9 = useRef(false), E7 = p();
|
|
979
|
-
return n(() => {
|
|
980
|
-
var d7;
|
|
981
|
-
if (e5) {
|
|
982
|
-
if (t11 && a14(true), !r11) {
|
|
983
|
-
t11 && o11(3);
|
|
984
|
-
return;
|
|
985
|
-
}
|
|
986
|
-
return (d7 = n11 == null ? void 0 : n11.start) == null || d7.call(n11, t11), C4(r11, { inFlight: u11, prepare() {
|
|
987
|
-
f9.current ? f9.current = false : f9.current = u11.current, u11.current = true, !f9.current && (t11 ? (o11(3), l9(4)) : (o11(4), l9(2)));
|
|
988
|
-
}, run() {
|
|
989
|
-
f9.current ? t11 ? (l9(3), o11(4)) : (l9(4), o11(3)) : t11 ? l9(1) : o11(1);
|
|
990
|
-
}, done() {
|
|
991
|
-
var p5;
|
|
992
|
-
f9.current && D3(r11) || (u11.current = false, l9(7), t11 || a14(false), (p5 = n11 == null ? void 0 : n11.end) == null || p5.call(n11, t11));
|
|
993
|
-
} });
|
|
994
|
-
}
|
|
995
|
-
}, [e5, t11, r11, E7]), e5 ? [i10, { closed: s10(1), enter: s10(2), leave: s10(4), transition: s10(2) || s10(4) }] : [t11, { closed: void 0, enter: void 0, leave: void 0, transition: void 0 }];
|
|
996
|
-
}
|
|
997
|
-
function C4(e5, { prepare: r11, run: t11, done: n11, inFlight: i10 }) {
|
|
998
|
-
let a14 = o2();
|
|
999
|
-
return j3(e5, { prepare: r11, inFlight: i10 }), a14.nextFrame(() => {
|
|
1000
|
-
t11(), a14.requestAnimationFrame(() => {
|
|
1001
|
-
a14.add(M3(e5, n11));
|
|
1002
|
-
});
|
|
1003
|
-
}), a14.dispose;
|
|
1004
|
-
}
|
|
1005
|
-
function M3(e5, r11) {
|
|
1006
|
-
var a14, s10;
|
|
1007
|
-
let t11 = o2();
|
|
1008
|
-
if (!e5) return t11.dispose;
|
|
1009
|
-
let n11 = false;
|
|
1010
|
-
t11.add(() => {
|
|
1011
|
-
n11 = true;
|
|
1012
|
-
});
|
|
1013
|
-
let i10 = (s10 = (a14 = e5.getAnimations) == null ? void 0 : a14.call(e5).filter((o11) => o11 instanceof CSSTransition)) != null ? s10 : [];
|
|
1014
|
-
return i10.length === 0 ? (r11(), t11.dispose) : (Promise.allSettled(i10.map((o11) => o11.finished)).then(() => {
|
|
1015
|
-
n11 || r11();
|
|
1016
|
-
}), t11.dispose);
|
|
1017
|
-
}
|
|
1018
|
-
function j3(e5, { inFlight: r11, prepare: t11 }) {
|
|
1019
|
-
if (r11 != null && r11.current) {
|
|
1020
|
-
t11();
|
|
1021
|
-
return;
|
|
1022
|
-
}
|
|
1023
|
-
let n11 = e5.style.transition;
|
|
1024
|
-
e5.style.transition = "none", t11(), e5.offsetHeight, e5.style.transition = n11;
|
|
1025
|
-
}
|
|
1026
|
-
function D3(e5) {
|
|
1027
|
-
var t11, n11;
|
|
1028
|
-
return ((n11 = (t11 = e5.getAnimations) == null ? void 0 : t11.call(e5)) != null ? n11 : []).some((i10) => i10 instanceof CSSTransition && i10.playState !== "finished");
|
|
1029
|
-
}
|
|
1030
|
-
function m5(u11, t11) {
|
|
1031
|
-
let e5 = useRef([]), r11 = o4(u11);
|
|
1032
|
-
useEffect(() => {
|
|
1033
|
-
let o11 = [...e5.current];
|
|
1034
|
-
for (let [a14, l9] of t11.entries()) if (e5.current[a14] !== l9) {
|
|
1035
|
-
let n11 = r11(t11, o11);
|
|
1036
|
-
return e5.current = t11, n11;
|
|
1037
|
-
}
|
|
1038
|
-
}, [r11, ...t11]);
|
|
1039
|
-
}
|
|
1040
|
-
var n8 = createContext(null);
|
|
1041
|
-
n8.displayName = "OpenClosedContext";
|
|
1042
|
-
var i8 = ((e5) => (e5[e5.Open = 1] = "Open", e5[e5.Closed = 2] = "Closed", e5[e5.Closing = 4] = "Closing", e5[e5.Opening = 8] = "Opening", e5))(i8 || {});
|
|
1043
|
-
function u9() {
|
|
1044
|
-
return useContext(n8);
|
|
1045
|
-
}
|
|
1046
|
-
function c7({ value: o11, children: t11 }) {
|
|
1047
|
-
return t9__default.createElement(n8.Provider, { value: o11 }, t11);
|
|
1048
|
-
}
|
|
1049
|
-
function s7({ children: o11 }) {
|
|
1050
|
-
return t9__default.createElement(n8.Provider, { value: null }, o11);
|
|
1051
|
-
}
|
|
1052
|
-
|
|
1053
|
-
// ../node_modules/@headlessui/react/dist/utils/document-ready.js
|
|
1054
|
-
function t8(n11) {
|
|
1055
|
-
function e5() {
|
|
1056
|
-
document.readyState !== "loading" && (n11(), document.removeEventListener("DOMContentLoaded", e5));
|
|
1057
|
-
}
|
|
1058
|
-
typeof window != "undefined" && typeof document != "undefined" && (document.addEventListener("DOMContentLoaded", e5), e5());
|
|
1059
|
-
}
|
|
1060
|
-
|
|
1061
|
-
// ../node_modules/@headlessui/react/dist/utils/active-element-history.js
|
|
1062
|
-
var n9 = [];
|
|
1063
|
-
t8(() => {
|
|
1064
|
-
function e5(t11) {
|
|
1065
|
-
if (!i3(t11.target) || t11.target === document.body || n9[0] === t11.target) return;
|
|
1066
|
-
let r11 = t11.target;
|
|
1067
|
-
r11 = r11.closest(E3), n9.unshift(r11 != null ? r11 : t11.target), n9 = n9.filter((o11) => o11 != null && o11.isConnected), n9.splice(10);
|
|
1068
|
-
}
|
|
1069
|
-
window.addEventListener("click", e5, { capture: true }), window.addEventListener("mousedown", e5, { capture: true }), window.addEventListener("focus", e5, { capture: true }), document.body.addEventListener("click", e5, { capture: true }), document.body.addEventListener("mousedown", e5, { capture: true }), document.body.addEventListener("focus", e5, { capture: true });
|
|
1070
|
-
});
|
|
1071
|
-
function s8() {
|
|
1072
|
-
let r11 = typeof document == "undefined";
|
|
1073
|
-
return "useSyncExternalStore" in t9 ? ((o11) => o11.useSyncExternalStore)(t9)(() => () => {
|
|
1074
|
-
}, () => false, () => !r11) : false;
|
|
1075
|
-
}
|
|
1076
|
-
function l6() {
|
|
1077
|
-
let r11 = s8(), [e5, n11] = t9.useState(s.isHandoffComplete);
|
|
1078
|
-
return e5 && s.isHandoffComplete === false && n11(false), t9.useEffect(() => {
|
|
1079
|
-
e5 !== true && n11(true);
|
|
1080
|
-
}, [e5]), t9.useEffect(() => s.handoff(), []), r11 ? false : e5;
|
|
1081
|
-
}
|
|
1082
|
-
var e4 = createContext(false);
|
|
1083
|
-
function a12() {
|
|
1084
|
-
return useContext(e4);
|
|
1085
|
-
}
|
|
1086
|
-
function l7(o11) {
|
|
1087
|
-
return t9__default.createElement(e4.Provider, { value: o11.force }, o11.children);
|
|
1088
|
-
}
|
|
1089
|
-
function c9(t11) {
|
|
1090
|
-
let r11 = o4(t11), e5 = useRef(false);
|
|
1091
|
-
useEffect(() => (e5.current = false, () => {
|
|
1092
|
-
e5.current = true, t(() => {
|
|
1093
|
-
e5.current && r11();
|
|
1094
|
-
});
|
|
1095
|
-
}), [r11]);
|
|
1096
|
-
}
|
|
1097
|
-
|
|
1098
|
-
// ../node_modules/@headlessui/react/dist/components/portal/portal.js
|
|
1099
|
-
function j4(e5) {
|
|
1100
|
-
let o11 = a12(), l9 = useContext(c10), [r11, p5] = useState(() => {
|
|
1101
|
-
var s10;
|
|
1102
|
-
if (!o11 && l9 !== null) return (s10 = l9.current) != null ? s10 : null;
|
|
1103
|
-
if (s.isServer) return null;
|
|
1104
|
-
let t11 = e5 == null ? void 0 : e5.getElementById("headlessui-portal-root");
|
|
1105
|
-
if (t11) return t11;
|
|
1106
|
-
if (e5 === null) return null;
|
|
1107
|
-
let n11 = e5.createElement("div");
|
|
1108
|
-
return n11.setAttribute("id", "headlessui-portal-root"), e5.body.appendChild(n11);
|
|
1109
|
-
});
|
|
1110
|
-
return useEffect(() => {
|
|
1111
|
-
r11 !== null && (e5 != null && e5.body.contains(r11) || e5 == null || e5.body.appendChild(r11));
|
|
1112
|
-
}, [r11, e5]), useEffect(() => {
|
|
1113
|
-
o11 || l9 !== null && p5(l9.current);
|
|
1114
|
-
}, [l9, p5, o11]), r11;
|
|
1115
|
-
}
|
|
1116
|
-
var _3 = Fragment;
|
|
1117
|
-
var I5 = Y(function(o11, l9) {
|
|
1118
|
-
let { ownerDocument: r11 = null, ...p5 } = o11, t11 = useRef(null), n11 = y(T((a14) => {
|
|
1119
|
-
t11.current = a14;
|
|
1120
|
-
}), l9), s10 = u8(t11.current), C5 = r11 != null ? r11 : s10, u11 = j4(C5), y4 = useContext(m6), g2 = p(), v4 = l6(), M4 = K();
|
|
1121
|
-
return c9(() => {
|
|
1122
|
-
var a14;
|
|
1123
|
-
u11 && u11.childNodes.length <= 0 && ((a14 = u11.parentElement) == null || a14.removeChild(u11));
|
|
1124
|
-
}), !u11 || !v4 ? null : createPortal(t9__default.createElement("div", { "data-headlessui-portal": "", ref: (a14) => {
|
|
1125
|
-
g2.dispose(), y4 && a14 && g2.add(y4.register(a14));
|
|
1126
|
-
} }, M4({ ourProps: { ref: n11 }, theirProps: p5, slot: {}, defaultTag: _3, name: "Portal" })), u11);
|
|
1127
|
-
});
|
|
1128
|
-
function D4(e5, o11) {
|
|
1129
|
-
let l9 = y(o11), { enabled: r11 = true, ownerDocument: p5, ...t11 } = e5, n11 = K();
|
|
1130
|
-
return r11 ? t9__default.createElement(I5, { ...t11, ownerDocument: p5, ref: l9 }) : n11({ ourProps: { ref: l9 }, theirProps: t11, slot: {}, defaultTag: _3, name: "Portal" });
|
|
1131
|
-
}
|
|
1132
|
-
var J = Fragment;
|
|
1133
|
-
var c10 = createContext(null);
|
|
1134
|
-
function X(e5, o11) {
|
|
1135
|
-
let { target: l9, ...r11 } = e5, t11 = { ref: y(o11) }, n11 = K();
|
|
1136
|
-
return t9__default.createElement(c10.Provider, { value: l9 }, n11({ ourProps: t11, theirProps: r11, defaultTag: J, name: "Popover.Group" }));
|
|
1137
|
-
}
|
|
1138
|
-
var m6 = createContext(null);
|
|
1139
|
-
function oe() {
|
|
1140
|
-
let e5 = useContext(m6), o11 = useRef([]), l9 = o4((t11) => (o11.current.push(t11), e5 && e5.register(t11), () => r11(t11))), r11 = o4((t11) => {
|
|
1141
|
-
let n11 = o11.current.indexOf(t11);
|
|
1142
|
-
n11 !== -1 && o11.current.splice(n11, 1), e5 && e5.unregister(t11);
|
|
1143
|
-
}), p5 = useMemo(() => ({ register: l9, unregister: r11, portals: o11 }), [l9, r11, o11]);
|
|
1144
|
-
return [o11, useMemo(() => function({ children: n11 }) {
|
|
1145
|
-
return t9__default.createElement(m6.Provider, { value: p5 }, n11);
|
|
1146
|
-
}, [p5])];
|
|
1147
|
-
}
|
|
1148
|
-
var k4 = Y(D4);
|
|
1149
|
-
var B = Y(X);
|
|
1150
|
-
var le = Object.assign(k4, { Group: B });
|
|
1151
|
-
|
|
1152
|
-
// ../node_modules/@headlessui/react/dist/internal/hidden.js
|
|
1153
|
-
var a13 = "span";
|
|
1154
|
-
var s9 = ((e5) => (e5[e5.None = 1] = "None", e5[e5.Focusable = 2] = "Focusable", e5[e5.Hidden = 4] = "Hidden", e5))(s9 || {});
|
|
1155
|
-
function l8(t11, r11) {
|
|
1156
|
-
var n11;
|
|
1157
|
-
let { features: d7 = 1, ...e5 } = t11, o11 = { ref: r11, "aria-hidden": (d7 & 2) === 2 ? true : (n11 = e5["aria-hidden"]) != null ? n11 : void 0, hidden: (d7 & 4) === 4 ? true : void 0, style: { position: "fixed", top: 1, left: 1, width: 1, height: 0, padding: 0, margin: -1, overflow: "hidden", clip: "rect(0, 0, 0, 0)", whiteSpace: "nowrap", borderWidth: "0", ...(d7 & 4) === 4 && (d7 & 2) !== 2 && { display: "none" } } };
|
|
1158
|
-
return K()({ ourProps: o11, theirProps: e5, slot: {}, defaultTag: a13, name: "Hidden" });
|
|
1159
|
-
}
|
|
1160
|
-
var f8 = Y(l8);
|
|
1161
|
-
function E6(n11, e5, a14, t11) {
|
|
1162
|
-
let i10 = s3(a14);
|
|
1163
|
-
useEffect(() => {
|
|
1164
|
-
n11 = n11 != null ? n11 : window;
|
|
1165
|
-
function r11(o11) {
|
|
1166
|
-
i10.current(o11);
|
|
1167
|
-
}
|
|
1168
|
-
return n11.addEventListener(e5, r11, t11), () => n11.removeEventListener(e5, r11, t11);
|
|
1169
|
-
}, [n11, e5, t11]);
|
|
1170
|
-
}
|
|
1171
|
-
/*! Bundled license information:
|
|
1172
|
-
|
|
1173
|
-
use-sync-external-store/cjs/use-sync-external-store-with-selector.production.js:
|
|
1174
|
-
(**
|
|
1175
|
-
* @license React
|
|
1176
|
-
* use-sync-external-store-with-selector.production.js
|
|
1177
|
-
*
|
|
1178
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
1179
|
-
*
|
|
1180
|
-
* This source code is licensed under the MIT license found in the
|
|
1181
|
-
* LICENSE file in the root directory of this source tree.
|
|
1182
|
-
*)
|
|
1183
|
-
|
|
1184
|
-
use-sync-external-store/cjs/use-sync-external-store-with-selector.development.js:
|
|
1185
|
-
(**
|
|
1186
|
-
* @license React
|
|
1187
|
-
* use-sync-external-store-with-selector.development.js
|
|
1188
|
-
*
|
|
1189
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
1190
|
-
*
|
|
1191
|
-
* This source code is licensed under the MIT license found in the
|
|
1192
|
-
* LICENSE file in the root directory of this source tree.
|
|
1193
|
-
*)
|
|
1194
|
-
*/
|
|
1195
|
-
|
|
1196
|
-
export { A, A2, B, C, E2 as E, E6 as E2, G, H2 as H, I3 as I, K, L2 as L, M2 as M, N, S3 as S, T3 as T, T4 as T2, V, Y, a2 as a, a3 as a2, b, c7 as c, c9 as c2, d2 as d, f8 as f, f5 as f2, i3 as i, i7 as i2, i8 as i3, k2 as k, k3 as k2, l, l2, l6 as l3, l7 as l4, le, m, m2, m5 as m3, n, n2, n4 as n3, n7 as n4, n9 as n5, o2 as o, o4 as o2, o5 as o3, o6 as o4, oe, p, p4 as p2, s3 as s, s9 as s2, s5 as s3, s7 as s4, t, t4 as t2, t5 as t3, u, u8 as u2, u9 as u3, v3 as v, w2 as w, w3 as w2, x2 as x, x4 as x2, y, y3 as y2 };
|