@sheetxl/studio-vanilla 0.4.15 → 0.4.17
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/browser/cjs/{CA0OjW0AOuGEjxZ2.cjs → 6biAKvO0L5uuCIZG.cjs} +2 -2
- package/browser/cjs/{DAxpZHSeQ9vUP1m6.cjs → 8cpAb8zuCRvgrhSi.cjs} +1 -1
- package/browser/cjs/{BgHBftj6ugXjpyaF.cjs → 9ZyrDXd_aJTOxZaN.cjs} +1 -1
- package/browser/cjs/{ClXfvzbTzK5w-Tv9.cjs → B0eMj3QF5QrwuQV9.cjs} +1 -1
- package/browser/cjs/{_OSzgfBNK1m22Jek.cjs → B8-LwimO49ed-ERb.cjs} +2 -2
- package/browser/cjs/{Ct0fgg-1dB-T7u7T.cjs → B9WwP6EQv_Fa_dR-.cjs} +2 -2
- package/browser/cjs/{YTXgMiobveLIPF9T.cjs → BHEatQMJJePGzkan.cjs} +1 -1
- package/browser/cjs/{BzRfETjQwEEJfpgZ.cjs → BYFzXSTbEpxkcnd1.cjs} +1 -1
- package/browser/cjs/{CRe-vd2WZQabNDDS.cjs → Bd7jl4AipYvkmHDC.cjs} +1 -1
- package/browser/cjs/{Bf0HoYuEDFO9Gwdv.cjs → BgAiDVJjk1i_ZFOH.cjs} +6 -6
- package/browser/cjs/{BG0zKZBHarIk0gKB.cjs → BqNZs_XIfzwqlDlN.cjs} +1 -1
- package/browser/cjs/{DY1iEDz8BWZpqFOo.cjs → BqNrgNvJPVpk8J7j.cjs} +2 -2
- package/browser/cjs/{BKIvZi8Z5lHc2S32.cjs → BwWfsee6CgDvi0_5.cjs} +1 -1
- package/browser/cjs/{vce4VfmWFd9ClUSo.cjs → BxREDzh95uVYfibX.cjs} +1 -1
- package/browser/cjs/{BdnGDChdub9m1gbK.cjs → By2ZGZJMoExtMfZl.cjs} +1 -1
- package/browser/cjs/{C8BQmea-gRcTEaYH.cjs → C17A-3Ti1pMG4ISj.cjs} +2 -2
- package/browser/cjs/C93vm3rYb2neksBv.cjs +364 -0
- package/browser/cjs/{CRe8klqBNVDkSDEr.cjs → CARZsdpF5OqYWiE4.cjs} +2 -2
- package/browser/cjs/{uryrVY1PPsKlOzso.cjs → CBDGjzOcgp6V_pE3.cjs} +2 -2
- package/browser/cjs/{D_RVszeEK0DfF-EN.cjs → CFpxo2YzoLcGlyjL.cjs} +1 -1
- package/browser/cjs/{fjQ9vPUSGRU1VSoH.cjs → CGqzdm1gPPCmrjaI.cjs} +1 -1
- package/browser/cjs/{BJu8UGaYuFmjvmwl.cjs → CMPauVL3M8tDeh0T.cjs} +1 -1
- package/browser/cjs/{BgsgGbpzcl7wg2IO.cjs → COB62qOQPls-ORlE.cjs} +1 -1
- package/browser/cjs/{BsCdHkza2KUgNs3F.cjs → CT7nRMk0BDAkl0BF.cjs} +1 -1
- package/browser/cjs/{CnDLmICwEpdeYECg.cjs → CT_0Nd7KbMe-Y6m5.cjs} +4 -4
- package/browser/cjs/{6DwFSFOve5d5Kh4O.cjs → CfPOTxKsNqeLdQq2.cjs} +2 -2
- package/browser/cjs/{BSJTx60VBwf450vd.cjs → ChRjklFq_BsZf2Iw.cjs} +1 -1
- package/browser/cjs/{CqILFqDohV7CdFQ1.cjs → Cl7Z5kDqJgCOLAc2.cjs} +1 -1
- package/browser/cjs/{DtQ-sP4vg1IpzFkc.cjs → CnUzYiLP3w2366r9.cjs} +1 -1
- package/browser/cjs/{DgFtbCf8dkncAq_r.cjs → Csse6ZfSbzMlHnw7.cjs} +1 -1
- package/browser/cjs/{sXSha5rBK3lo_tOD.cjs → CvP1iU7h-kIPosFU.cjs} +1 -1
- package/browser/cjs/{Ck8K0c7E5RT8WMbO.cjs → Cxm2nHmufmVWwYnh.cjs} +5 -5
- package/browser/cjs/{DWh6QtlFsPfZ3Asz.cjs → Cxq8seCgWHi5cMgM.cjs} +4 -4
- package/browser/cjs/{D4582BA0aCqJ_PrJ.cjs → DGBXTq7BHivFoTcl.cjs} +1 -1
- package/browser/cjs/{ArJueN3Q9EFBG6tK.cjs → DGK_Hbzv8kikUYBG.cjs} +2 -2
- package/browser/cjs/{CrnvoFSZfgmBlK86.cjs → DUMBZ_nlhE2mwGc5.cjs} +2 -2
- package/browser/cjs/{DotFGD_QKvqoQlAL.cjs → DV1QGi3oLVrpYy1b.cjs} +2 -2
- package/browser/cjs/{BVHaNjM0-FXL7gyh.cjs → DXiLHMmvYKY6hlQ6.cjs} +1 -1
- package/browser/cjs/{BH_qrKPpuqL9YxGP.cjs → DagLEH_ymYaCmAsb.cjs} +1 -1
- package/browser/cjs/{BUWv6Ysw6pYG7w7W.cjs → Db-9mhCwJcHfJrF8.cjs} +3 -3
- package/browser/cjs/{DDbNLc2mUv7Q6msK.cjs → Dg9lWhdjcYx-McwV.cjs} +1 -1
- package/browser/cjs/{BcHEeTMPgurSZ2Kh.cjs → DgxOqZ8rzK23p-di.cjs} +1 -1
- package/browser/cjs/{CXn4J7ISlTV_SfvZ.cjs → DhaHMyMcxGSWqI5B.cjs} +2 -2
- package/browser/cjs/{Dg9yKaBrYK9w4cQO.cjs → Dy9SnYaFa09xyxw5.cjs} +3 -3
- package/browser/cjs/{DAGEOiTL4sCagK3p.cjs → EDsPYwusbxNoHLGU.cjs} +1 -1
- package/browser/cjs/{CqugZolY4J8viegd.cjs → Ie3aYqZhR4mlRr4e.cjs} +2 -2
- package/browser/cjs/{EIY0bt22HqBjrvRt.cjs → KmmFDFEsREYYg23O.cjs} +2 -2
- package/browser/cjs/{mW3Ya0GEjpmsa_YK.cjs → Q_kMYzReMM5keFmR.cjs} +1 -1
- package/browser/cjs/{D74hXHJrfnGhbNBg.cjs → Ukc3hXVw3jmh1v1o.cjs} +2 -2
- package/browser/cjs/{3oobHi8j_DGW35rC.cjs → W2OA5_9ZJ6xkAXmp.cjs} +14 -14
- package/browser/cjs/{gI7uI_k_jVDAtJup.cjs → WqrXIil5jYvo3MDk.cjs} +1 -1
- package/browser/cjs/{qB-lxZgY2Iz9Bc6T.cjs → c7YGtqgALtf7uv7f.cjs} +2 -2
- package/browser/cjs/index.cjs +2 -2
- package/browser/cjs/{DrRRwzZUlGvA6cQT.cjs → mwprtkpfm815yW02.cjs} +1 -1
- package/browser/cjs/{0wJgZUT7DgId9Xtu.cjs → nBWWMENUR7eJsiwF.cjs} +6 -6
- package/browser/cjs/{CtLA5mrQxGamDt92.cjs → qWZ-F4TgryDZVy6z.cjs} +1 -1
- package/browser/cjs/{BFZbsyTO3uhLJbLO.cjs → rSvomYT1qvMeISi-.cjs} +1 -1
- package/browser/cjs/{BzhfyRZdk-oiyEa3.cjs → rqhkC0NWqih9Egon.cjs} +1 -1
- package/browser/esm/{CeDuz_yZT4XG-Pv8.mjs → 4V-QDCR_jsVY0LLV.mjs} +8 -8
- package/browser/esm/{B_JJ8lAbaPdlt8l4.mjs → B4b7vbAWqfaIiQ1P.mjs} +2 -2
- package/browser/esm/{Cb1Q2phpEESgs7mi.mjs → BBK3aWidGgBdiXPM.mjs} +6 -6
- package/browser/esm/{CfMo1fAExeFOibAQ.mjs → BUQfPI2iDmXlbLwv.mjs} +2 -2
- package/browser/esm/{Beqd_eZheAqcy9eR.mjs → BWSCF1flfPXCBkXM.mjs} +20386 -20418
- package/browser/esm/{DVqoG8OFm93ndK8u.mjs → BadAuKyzCBKeSYzj.mjs} +2 -2
- package/browser/esm/{Bp2dkgUm5zsuNnPH.mjs → BbCFZ7BuAewUhSlf.mjs} +1 -1
- package/{cdn/assets/CQoo-4sVCrOfP9iU.js → browser/esm/BcLNeDh-zvjwiAPK.mjs} +1 -1
- package/{cdn/assets/CnwSRSKNfq2GyXas.js → browser/esm/BcmOaJDGlkKqxG2K.mjs} +1 -1
- package/{cdn/assets/C2DVh9PCXymQ6Bku.js → browser/esm/BfVOxqqljfUOpqSh.mjs} +1 -1
- package/browser/esm/{D9ftd36uosOvK1Bz.mjs → BgOrmx5pwzxPjUy8.mjs} +2 -2
- package/browser/esm/{DVAgkqy1aZdEMIzM.mjs → Brn_BpM71L-VcKY7.mjs} +1 -1
- package/browser/esm/{YEeWnRTVhFsSnEoO.mjs → C3UQaCsEA-es0str.mjs} +3 -3
- package/{cdn/assets/BqmualWSYd-czqNW.js → browser/esm/C48-m1iFvg6_12Uj.mjs} +1 -1
- package/browser/esm/{DAM-CuXQIzcQS8y2.mjs → CCcZRLXoZkTb7wNc.mjs} +2 -2
- package/browser/esm/{CqRDFmwJualsG-hJ.mjs → CDhPfM0k-XhvF3vL.mjs} +1 -1
- package/browser/esm/{BmkIbFYjQZnaZGzF.mjs → CHmIf1kJ-17F8RFn.mjs} +1 -1
- package/{cdn/assets/DxOr3qEZVibn2HK7.js → browser/esm/CKWV0eStHBpV6av-.mjs} +1 -1
- package/browser/esm/{BFYBuTXa6xa5ZjBo.mjs → CNHLfE1ku29awT-p.mjs} +1 -1
- package/browser/esm/{Dre4qd4kiDqAnEpH.mjs → CPy6dd5idg0K5KeH.mjs} +2 -2
- package/browser/esm/{Bt1LjWrzTz3VQP5i.mjs → CQiFaCEUk0QjmZWK.mjs} +1 -1
- package/{cdn/assets/C5Vhk6RekNjP_kzl.js → browser/esm/CQtZib0FjKvQbiDG.mjs} +1 -1
- package/browser/esm/{CWSZwGuenxmHgLXd.mjs → CUxbeQfR9_P_knx7.mjs} +1 -1
- package/browser/esm/{D14VyfRK6-WOMJJO.mjs → CV0xwwpXwrx7cunJ.mjs} +1 -1
- package/{cdn/assets/Do7w66ZbyFAW-Kvo.js → browser/esm/CYTAZuWT3QJpoX75.mjs} +1 -1
- package/browser/esm/{B_YrH7VnXiUkYu8u.mjs → CcV9Pi58K6qlwYUt.mjs} +2 -2
- package/browser/esm/{BNuTKa0cEC3F4rTF.mjs → CiVx0tO0V_4ToonT.mjs} +1 -1
- package/browser/esm/{BUAQRxezxaeHUbwe.mjs → Cl6UhQ-Fa_tk1hMT.mjs} +1 -1
- package/browser/esm/{5RdhqzgwkuR2ox0E.mjs → Crw41yabEq-swm47.mjs} +1 -1
- package/{cdn/assets/BXhoPHXmFqGJhEOT.js → browser/esm/Ctz5ddsRjB0hnLdi.mjs} +1 -1
- package/{cdn/assets/DmSh4h3LBSgZNzzF.js → browser/esm/D4aBI8Q1QKmtd08h.mjs} +1 -1
- package/{cdn/assets/B9vAqNVLp_vCTrP_.js → browser/esm/DABEpoNSmkCOVa7X.mjs} +1 -1
- package/browser/esm/{Bh6dC8KTHWpKMi09.mjs → DB7KGUAeBmMUb77y.mjs} +1 -1
- package/{cdn/assets/ZciEgxXQYsHyV2gO.js → browser/esm/DBvsKienZ_WmcTGd.mjs} +1 -1
- package/{cdn/assets/IWZ_bebXCJeQz19V.js → browser/esm/DFvnp6cQLTr61-R4.mjs} +1 -1
- package/browser/esm/{DSBeC26EhsTkKu9_.mjs → DGZlQ3Ii1PAQ2lZ8.mjs} +7 -7
- package/browser/esm/{u8MA5qQcSH-VSLrB.mjs → DQreQ06iRjaxCupi.mjs} +4 -4
- package/browser/esm/{DQiTAq0r1q5Z_7H6.mjs → DRhZRc-tuAIETA4d.mjs} +11 -11
- package/{cdn/assets/BPDWQKVFxO_3IqZX.js → browser/esm/DZKgySEhRSd_acs_.mjs} +1 -1
- package/browser/esm/{DRoKqCpNKKdYKqZ3.mjs → DgFLc3B4NzW9gA8C.mjs} +707 -710
- package/browser/esm/{iXnpVI-bOFX7L6z-.mjs → DpzIeb_IueXMbSrg.mjs} +2 -2
- package/{cdn/assets/DT0kcrmyi0GrASFM.js → browser/esm/DviZK2hYv7CCV-Lx.mjs} +1 -1
- package/browser/esm/{BxForeOFuQExxhBo.mjs → DxAMqQQ_xqs8chgY.mjs} +2 -2
- package/browser/esm/{CSSayGD6fTeehKt_.mjs → DzfLSNBzDB-r7FLU.mjs} +4 -4
- package/browser/esm/{DdcqO--nszyX8nqj.mjs → DzjvCYfzsqrMiRuY.mjs} +2 -2
- package/browser/esm/{CMgjnCC7huqsMZ7l.mjs → EGRuGzY71Uc8-VbG.mjs} +9 -9
- package/{cdn/assets/DrVjmz0t2Y2eHDvu.js → browser/esm/NZdHbcc4A8aR8z_P.mjs} +1 -1
- package/{cdn/assets/CQMGhCDKbq2op_BI.js → browser/esm/OeqsE__gB5RRTktW.mjs} +1 -1
- package/browser/esm/{azuJCFiVoU4Ebb9P.mjs → R-nW2tm5BNGGDzxE.mjs} +2 -2
- package/browser/esm/{C0KLnjyGhfqKP-3J.mjs → Rv9ZXwwH6sDb3k1U.mjs} +2 -2
- package/browser/esm/{CslDdQ92RlF9XCcF.mjs → _m_kaz1LWJPmPRI7.mjs} +1 -1
- package/browser/esm/{CTEiaS8NJUMozWzX.mjs → b2KWP-FaZWiaod4k.mjs} +1 -1
- package/{cdn/assets/BwEUAuMX1MAp6TLB.js → browser/esm/exgvG80FM-7NUReB.mjs} +1 -1
- package/browser/esm/{ClLJBQr4mG8VGyC3.mjs → hSuzTdYFfLJRtWwH.mjs} +4 -4
- package/browser/esm/index.mjs +2 -2
- package/{cdn/assets/CvTxaj5stKRFGegY.js → browser/esm/itUp9Fcd7garj6Ei.mjs} +1 -1
- package/browser/esm/{Bpujg7eS-yYzfXnQ.mjs → iwN2flm94BM1XXBG.mjs} +125 -125
- package/browser/esm/{n6RMMH6ZZaYET-uv.mjs → yziS52QohW3BU1Sh.mjs} +2 -2
- package/cdn/assets/{C4PvQzHOWYFQIrTT.js → 58CC3MhIh4X10O2i.js} +6 -6
- package/cdn/assets/B22VKc9MeGgoPERI.js +46 -0
- package/cdn/assets/{D4UoNdvz3kZD9Fg7.js → BD4-oTjkO64sq4kk.js} +707 -710
- package/cdn/assets/{NPHYIK_SYI8TgWVt.js → BOtNnqa4VB1RNIe6.js} +5 -5
- package/cdn/assets/{clveP5QdWgiuzHNH.js → BS7Sy3gLMf1fncWO.js} +2 -2
- package/cdn/assets/{C8ZVHIXuFCsMz4su.js → BU_ZNBDdEe3h15pO.js} +1 -1
- package/cdn/assets/{Bp2dkgUm5zsuNnPH.js → BbCFZ7BuAewUhSlf.js} +1 -1
- package/{browser/esm/CQoo-4sVCrOfP9iU.mjs → cdn/assets/BcLNeDh-zvjwiAPK.js} +1 -1
- package/{browser/esm/CnwSRSKNfq2GyXas.mjs → cdn/assets/BcmOaJDGlkKqxG2K.js} +1 -1
- package/{browser/esm/C2DVh9PCXymQ6Bku.mjs → cdn/assets/BfVOxqqljfUOpqSh.js} +1 -1
- package/cdn/assets/{DVAgkqy1aZdEMIzM.js → Brn_BpM71L-VcKY7.js} +1 -1
- package/{browser/esm/BqmualWSYd-czqNW.mjs → cdn/assets/C48-m1iFvg6_12Uj.js} +1 -1
- package/cdn/assets/{DTlKjG3w2RgTejVm.js → C73uvrpgIvKNzNu2.js} +2 -2
- package/cdn/assets/{DPpga_z_sz7WeoGk.js → C7nVUBzSXM4b2lzJ.js} +21936 -21968
- package/cdn/assets/{CqRDFmwJualsG-hJ.js → CDhPfM0k-XhvF3vL.js} +1 -1
- package/cdn/assets/{BmkIbFYjQZnaZGzF.js → CHmIf1kJ-17F8RFn.js} +1 -1
- package/{browser/esm/DxOr3qEZVibn2HK7.mjs → cdn/assets/CKWV0eStHBpV6av-.js} +1 -1
- package/cdn/assets/{BFYBuTXa6xa5ZjBo.js → CNHLfE1ku29awT-p.js} +1 -1
- package/cdn/assets/{Bt1LjWrzTz3VQP5i.js → CQiFaCEUk0QjmZWK.js} +1 -1
- package/{browser/esm/C5Vhk6RekNjP_kzl.mjs → cdn/assets/CQtZib0FjKvQbiDG.js} +1 -1
- package/cdn/assets/{CQ_eXYB8jRiWFzL8.js → CUMtWe1gZL3FdBOP.js} +13 -13
- package/cdn/assets/{CWSZwGuenxmHgLXd.js → CUxbeQfR9_P_knx7.js} +1 -1
- package/cdn/assets/{D14VyfRK6-WOMJJO.js → CV0xwwpXwrx7cunJ.js} +1 -1
- package/cdn/assets/{BCMTnGKJGZCOn8RP.js → CWKMmCJHUVs8cZel.js} +6 -6
- package/{browser/esm/Do7w66ZbyFAW-Kvo.mjs → cdn/assets/CYTAZuWT3QJpoX75.js} +1 -1
- package/cdn/assets/{BNuTKa0cEC3F4rTF.js → CiVx0tO0V_4ToonT.js} +1 -1
- package/cdn/assets/{D3wy0hvPKjYlTqDZ.js → Ckl7hY7Un_-I-ccO.js} +1 -1
- package/cdn/assets/{BUAQRxezxaeHUbwe.js → Cl6UhQ-Fa_tk1hMT.js} +1 -1
- package/cdn/assets/{CsV6TK9KYwaT40Nd.js → Cn9K_ZpeVGyZT2dc.js} +57 -57
- package/cdn/assets/{5RdhqzgwkuR2ox0E.js → Crw41yabEq-swm47.js} +1 -1
- package/{browser/esm/BXhoPHXmFqGJhEOT.mjs → cdn/assets/Ctz5ddsRjB0hnLdi.js} +1 -1
- package/cdn/assets/CvL1mCgI9qA63YoA.js +49 -0
- package/cdn/assets/{D8Eij5qtEH8tI7eL.js → CxkEVmCPEVwHoHVF.js} +14 -14
- package/cdn/assets/{ChzKnwtP8tCXlyQC.js → D0Tbz1ciIX0rTyO0.js} +2 -2
- package/{browser/esm/DmSh4h3LBSgZNzzF.mjs → cdn/assets/D4aBI8Q1QKmtd08h.js} +1 -1
- package/cdn/assets/{DmTmS8Vw_AvNiuzU.js → D4xY65nrl6MJiaVd.js} +8 -8
- package/{browser/esm/B9vAqNVLp_vCTrP_.mjs → cdn/assets/DABEpoNSmkCOVa7X.js} +1 -1
- package/cdn/assets/{Bh6dC8KTHWpKMi09.js → DB7KGUAeBmMUb77y.js} +1 -1
- package/{browser/esm/ZciEgxXQYsHyV2gO.mjs → cdn/assets/DBvsKienZ_WmcTGd.js} +1 -1
- package/{browser/esm/IWZ_bebXCJeQz19V.mjs → cdn/assets/DFvnp6cQLTr61-R4.js} +1 -1
- package/{browser/esm/BPDWQKVFxO_3IqZX.mjs → cdn/assets/DZKgySEhRSd_acs_.js} +1 -1
- package/cdn/assets/{DrKm9mDEvFK0tW1J.js → Dinizrgo6WzR-giU.js} +4 -4
- package/cdn/assets/{C82_3AL3p2OPqUES.js → Djo6bf7iEUkSd5Xz.js} +42 -42
- package/cdn/assets/{BAARsakyOFrwNKVu.js → DkthCZzdpdE7Juh3.js} +43 -43
- package/{browser/esm/DT0kcrmyi0GrASFM.mjs → cdn/assets/DviZK2hYv7CCV-Lx.js} +1 -1
- package/cdn/assets/{bGhAFgohHm88dsqJ.js → H30wDkYjBtrT0ZgL.js} +10 -10
- package/{browser/esm/DrVjmz0t2Y2eHDvu.mjs → cdn/assets/NZdHbcc4A8aR8z_P.js} +1 -1
- package/{browser/esm/CQMGhCDKbq2op_BI.mjs → cdn/assets/OeqsE__gB5RRTktW.js} +1 -1
- package/cdn/assets/{DoiUKE9bzdCohsIn.js → U1xkKOphPZ8ViWfI.js} +2 -2
- package/cdn/assets/{CslDdQ92RlF9XCcF.js → _m_kaz1LWJPmPRI7.js} +1 -1
- package/cdn/assets/{CVtFEjbMohoQQwVa.js → c9gFvMeZ30QDtEkh.js} +2 -2
- package/{browser/esm/BwEUAuMX1MAp6TLB.mjs → cdn/assets/exgvG80FM-7NUReB.js} +1 -1
- package/{browser/esm/CvTxaj5stKRFGegY.mjs → cdn/assets/itUp9Fcd7garj6Ei.js} +1 -1
- package/cdn/assets/{ClwsvKMIARY6eKe8.js → oHD9nG-D3gooE_Xd.js} +8 -8
- package/cdn/assets/{CxPN10OK3cql47vK.js → oluj6lXacLog_eD5.js} +2 -2
- package/cdn/assets/{ByGApkjEdqWJCmIL.js → ovzl4gqfazeLyLYr.js} +4 -4
- package/cdn/assets/{BsNGXIjB2gB75oDq.js → tlLggOt3PbLk58j0.js} +11 -11
- package/cdn/index.js +2 -2
- package/cdn/loader.js +1 -1
- package/package.json +3 -3
- package/browser/cjs/TAIJH4y6CbXhFnhx.cjs +0 -364
- package/cdn/assets/CP0YRrUyk_DwRGye.js +0 -46
- package/cdn/assets/sMpbLhp97YEbNwUD.js +0 -49
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.17
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
-
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.TypeScriptCompiler=class{constructor(r={}){this.workerWrapper=null}async getWorkerWrapper(){if(this.workerWrapper)return this.workerWrapper;const{createCompilerWorker:r}=await Promise.resolve().then(()=>require("./
|
|
6
|
+
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.TypeScriptCompiler=class{constructor(r={}){this.workerWrapper=null}async getWorkerWrapper(){if(this.workerWrapper)return this.workerWrapper;const{createCompilerWorker:r}=await Promise.resolve().then(()=>require("./Cxq8seCgWHi5cMgM.cjs"));return this.workerWrapper=await r(),this.workerWrapper}async compileModule(r){try{return(await this.getWorkerWrapper()).execute(r)}catch(e){throw console.error("Failed to compile using worker:",e),e}}terminate(){this.workerWrapper?.terminate(),this.workerWrapper=null}};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.17
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.17
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.17
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.17
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
-
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./
|
|
6
|
+
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./C93vm3rYb2neksBv.cjs"),p=e.reactExports.memo(u=>{const{title:g,onHide:h,autoFocusSel:j=".range-input input",context:R,notifier:i=e.s5,command:a,commands:r,...f}=u,[y,l]=e.reactExports.useState(!1),[x,c]=e.reactExports.useState(!1),d=e.reactExports.useRef(null),[N,E]=e.reactExports.useReducer(t=>t+1,0),[b,{width:T}]=e.Is();e.sl(a);const o=R??a.context(),s=o.table(),[S,w]=e.reactExports.useState(()=>s?o.getNames().getRanges(s.getRange()):null),C=e.reactExports.useMemo(()=>s?.getName()??"",[s]);e.cn(o.table(),{onAnchorCoordsChange(t){w(o.getNames().getRanges(t.getRange()))},onProtectedChange(t){E()}});const v=e.he(t=>{o?.table().setName(t)},[o]),B=e.he(t=>{o?.table().resize(t.at(0))},[o]);let m=null;return o.table()||(m=e.jsxRuntimeExports.jsx("div",{style:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%",opacity:1,display:"flex",alignItems:"center",justifyItems:"center",justifyContent:"center",boxSizing:"border-box"},children:e.jsxRuntimeExports.jsx("div",{children:"No table selected"})})),e.jsxRuntimeExports.jsx(e.XC,{ref:d,title:g??"Table Details",initialPosition:{y:"35"},autoFocusSel:j,onHide:h,onFocus:()=>l(!0),onBlur:t=>{d?.current?.contains(t.relatedTarget)||l(!1)},PaperProps:{elevation:y?3:1},...f,children:e.jsxRuntimeExports.jsxs(e.DialogContent,{dividers:!0,ref:b,sx:{display:"flex",flexDirection:"column",position:"relative",paddingLeft:t=>t.spacing(1.5),paddingRight:t=>t.spacing(1.5)},children:[e.jsxRuntimeExports.jsxs(e.Box,{sx:{display:"flex",flexDirection:"column",transition:"opacity 60ms",opacity:o.table()?1:0},children:[e.jsxRuntimeExports.jsx(e.Box,{sx:{display:"flex",flexDirection:"row",gap:t=>t.spacing(1)},children:e.jsxRuntimeExports.jsx(e.Box,{sx:{display:"flex",flexDirection:"column",maxWidth:"100%",boxSizing:"border-box",paddingLeft:t=>t.spacing(2),paddingRight:t=>t.spacing(2)},children:e.jsxRuntimeExports.jsxs(e.Box,{sx:{display:"flex",flexDirection:"column",alignItems:"center"},children:[e.jsxRuntimeExports.jsx(e.tR,{formName:"name",defaultInput:C,value:s?.getName()??"No table",onChangeInput:v,onValidate:t=>{s&&s.getName().toLowerCase()===t.toLowerCase()||o?.getNames().validateName(t)},disabled:s?.isProtected()??!0,onFocus:t=>{x||t.target?.select(),c(!0)}}),e.jsxRuntimeExports.jsx(e.nR,{formName:"range",value:S,onChangeInput:B,resolvedAddress:o.getNames().getRanges.bind(o.getNames()),disabled:s?.isProtected()??!0,onFocus:t=>{x||t.target?.select(),c(!0)}})]})})}),e.jsxRuntimeExports.jsxs(e.Box,{sx:{minHeight:"10px",flex:"1 1 100%",display:"flex",flexDirection:"column",gap:t=>t.spacing(.5),marginTop:t=>t.spacing(1)},children:[e.jsxRuntimeExports.jsx(e.$t,{orientation:"horizontal",sx:{marginTop:t=>t.spacing(1.5),marginBottom:t=>t.spacing(.75)}}),e.jsxRuntimeExports.jsx(e.qL,{disabled:s?.isProtected(),styleOptions:s?.getStyleOptions()??null,onStyleOptionsChange:t=>{s.updateStyleOptions(t)},showHeaderRow:s?.getShowHeaders(),onShowHeaderRowChange:t=>{try{s.setShowHeaders(t)}catch(n){i.showError(n)}},showTotalRow:s?.getShowTotals(),onShowTotalRowChange:t=>{try{s.setShowTotals(t)}catch(n){i.showError(n)}},showFilterButton:s?.getFilter()?s.getShowFilterButton():null,onShowFilterButtonChange:t=>{try{s.setShowFilterButton(t)}catch(n){i.showError(n)}}}),e.jsxRuntimeExports.jsx(e.Box,{sx:{display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"column",marginTop:t=>t.spacing(2),marginBottom:t=>t.spacing(1)},children:e.jsxRuntimeExports.jsx(e.UD,{table:s,styles:o.styles(),bodyStyle:o.bodyStyle(),cellHeight:30,isLive:!0})}),e.jsxRuntimeExports.jsx(e.$t,{orientation:"horizontal"}),e.jsxRuntimeExports.jsxs(e.Box,{sx:{display:"flex",flexDirection:"column",justifyContent:"center"},children:[e.jsxRuntimeExports.jsx(e.Ae,{variant:e.Qt.Menuitem,command:r.getCommand("convertTableToRange"),commandState:s,icon:e.xe(e.jsxRuntimeExports.jsx(e.Sc,{}))}),e.jsxRuntimeExports.jsx(e.Ae,{variant:e.Qt.Menuitem,commandState:s,command:r.getCommand("deleteTable"),icon:e.xe(e.jsxRuntimeExports.jsx(e.Sc,{}))})]})]})]}),m]})})});exports.TableDetailsWindow=p,exports.default=p;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.17
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
-
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const xe=require("./TAIJH4y6CbXhFnhx.cjs");function gi(e,t){for(var n=e.length,i=0;i<n;++i)if(t(e[i],i))return!0;return!1}function Ro(e,t){for(var n=e.length,i=0;i<n;++i)if(t(e[i],i))return e[i];return null}function Ii(e){var t=e;if(t===void 0){if(typeof navigator>"u"||!navigator)return"";t=navigator.userAgent||""}return t.toLowerCase()}function $r(e,t){try{return new RegExp(e,"g").exec(t)}catch{return null}}function Kr(e){return e.replace(/_/g,".")}function Hn(e,t){var n=null,i="-1";return gi(e,function(r){var o,a,s,c=$r("("+r.test+")((?:\\/|\\s|:)([0-9|\\.|_]+))?",t);return!(!c||r.brand||(n=r,i=c[3]||"-1",r.versionAlias?i=r.versionAlias:r.versionTest&&(o=r.versionTest.toLowerCase(),a=t,s=$r("("+o+")((?:\\/|\\s|:)([0-9|\\.|_]+))",a),i=(s?s[3]:"")||i),i=Kr(i),0))}),{preset:n,version:i}}function fr(e,t){var n={brand:"",version:"-1"};return gi(e,function(i){var r=Fo(t,i);return!!r&&(n.brand=i.id,n.version=i.versionAlias||r.version,n.version!=="-1")}),n}function Fo(e,t){return Ro(e,function(n){var i=n.brand;return $r(""+t.test,i.toLowerCase())})}var Ni=[{test:"phantomjs",id:"phantomjs"},{test:"whale",id:"whale"},{test:"edgios|edge|edg",id:"edge"},{test:"msie|trident|windows phone",id:"ie",versionTest:"iemobile|msie|rv"},{test:"miuibrowser",id:"miui browser"},{test:"samsungbrowser",id:"samsung internet"},{test:"samsung",id:"samsung internet",versionTest:"version"},{test:"chrome|crios",id:"chrome"},{test:"firefox|fxios",id:"firefox"},{test:"android",id:"android browser",versionTest:"version"},{test:"safari|iphone|ipad|ipod",id:"safari",versionTest:"version"}],Yi=[{test:"(?=.*applewebkit/(53[0-7]|5[0-2]|[0-4]))(?=.*\\schrome)",id:"chrome",versionTest:"chrome"},{test:"chromium",id:"chrome"},{test:"whale",id:"chrome",versionAlias:"-1",brand:!0}],zr=[{test:"applewebkit",id:"webkit",versionTest:"applewebkit|safari"}],Bo=[{test:"(?=(iphone|ipad))(?!(.*version))",id:"webview"},{test:"(?=(android|iphone|ipad))(?=.*(naver|daum|; wv))",id:"webview"},{test:"webview",id:"webview"}],Wi=[{test:"windows phone",id:"windows phone"},{test:"windows 2000",id:"window",versionAlias:"5.0"},{test:"windows nt",id:"window"},{test:"win32|windows",id:"window"},{test:"iphone|ipad|ipod",id:"ios",versionTest:"iphone os|cpu os"},{test:"macos|macintel|mac os x",id:"mac"},{test:"android|linux armv81",id:"android"},{test:"tizen",id:"tizen"},{test:"webos|web0s",id:"webos"}];function Xi(e){return!!Hn(Bo,e).preset}function Na(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.map(function(i){return i.split(" ").map(function(r){return r?""+e+r:""}).join(" ")}).join(" ")}function un(e,t){return function(n){n&&(e[t]=n)}}function Go(e,t,n){return function(i){i&&(e[t][n]=i)}}var vi="undefined",ko=typeof window!==vi,Ya=typeof document!==vi&&document,Wa=[{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:'\\"',close:'\\"'},{open:"\\'",close:"\\'"}],ee=1e-7,pr={cm:function(e){return 96*e/2.54},mm:function(e){return 96*e/254},in:function(e){return 96*e},pt:function(e){return 96*e/72},pc:function(e){return 96*e/6},"%":function(e,t){return e*t/100},vw:function(e,t){return t===void 0&&(t=window.innerWidth),e/100*t},vh:function(e,t){return t===void 0&&(t=window.innerHeight),e/100*t},vmax:function(e,t){return t===void 0&&(t=Math.max(window.innerWidth,window.innerHeight)),e/100*t},vmin:function(e,t){return t===void 0&&(t=Math.min(window.innerWidth,window.innerHeight)),e/100*t}};function Hi(e,t,n,i){return(e*i+t*n)/(n+i)}function mi(e){return typeof e===vi}function qe(e){return e&&typeof e=="object"}function ye(e){return Array.isArray(e)}function On(e){return typeof e=="string"}function Sr(e){return typeof e=="number"}function zo(e){return typeof e=="function"}function Ao(e,t,n,i,r){return Jr(e,t,n)?n:function(o,a,s,c,u){for(var f,p=function(h){var g=a[h].trim();if(g===o.close&&!Jr(o,a,h))return{value:h};var v=h,m=Be(u,function(y){return y.open===g});if(m&&(v=Ao(m,a,h,c,u)),v===-1)return f=h,"break";f=h=v},l=s;l<c;++l){var d=p(l);if(l=f,typeof d=="object")return d.value;if(d==="break")break}return-1}(e,t,n+1,i,r)}function Jr(e,t,n){if(!e.ignore)return null;var i=t.slice(Math.max(n-3,0),n+3).join("");return new RegExp(e.ignore).exec(i)}function bi(e,t){var n=On(t)?{separator:t}:t,i=n.separator,r=i===void 0?",":i,o=n.isSeparateFirst,a=n.isSeparateOnlyOpenClose,s=n.isSeparateOpenClose,c=s===void 0?a:s,u=n.openCloseCharacters,f=u===void 0?Wa:u,p=f.map(function(b){var S=b.open,R=b.close;return S===R?S:S+"|"+R}).join("|"),l=new RegExp("(\\s*"+r+"\\s*|"+p+"|\\s+)","g"),d=e.split(l).filter(function(b){return b&&b!=="undefined"}),h=d.length,g=[],v=[];function m(){return!!v.length&&(g.push(v.join("")),v=[],!0)}for(var y,x=function(b){var S,R,G=d[b].trim(),P=b,D=Be(f,function(F){return F.open===G}),_=Be(f,function(F){return F.close===G});if(D){if((P=Ao(D,d,b,h,f))!==-1&&c)return m()&&o?(y=b,"break"):(g.push(d.slice(b,P+1).join("")),b=P,o?(y=b,"break"):(y=b,"continue"))}else{if(_&&!Jr(_,d,b)){var T=function(){for(var F=0,B=0,O=arguments.length;B<O;B++)F+=arguments[B].length;var I=Array(F),A=0;for(B=0;B<O;B++)for(var W=arguments[B],j=0,N=W.length;j<N;j++,A++)I[A]=W[j];return I}(f);return T.splice(f.indexOf(_),1),{value:bi(e,{separator:r,isSeparateFirst:o,isSeparateOnlyOpenClose:a,isSeparateOpenClose:c,openCloseCharacters:T})}}if(S=G,!(((R=r)!==""&&R!=" "||S!==""&&S!=" ")&&S!==R||a))return m(),o?(y=b,"break"):(y=b,"continue")}P===-1&&(P=h-1),v.push(d.slice(b,P+1).join("")),y=b=P},E=0;E<h;++E){var M=x(E);if(E=y,typeof M=="object")return M.value;if(M==="break")break}return v.length&&g.push(v.join("")),g}function Qn(e){return bi(e,"")}function jn(e){return bi(e,",")}function Rr(e){var t=/^([^\d|e|\-|\+]*)((?:\d|\.|-|e-|e\+)+)(\S*)$/g.exec(e);if(!t)return{prefix:"",unit:"",value:NaN};var n=t[1],i=t[2];return{prefix:n,unit:t[3],value:parseFloat(i)}}function Mr(){return Date.now?Date.now():new Date().getTime()}function wn(e,t,n){n===void 0&&(n=-1);for(var i=e.length,r=0;r<i;++r)if(t(e[r],r,e))return r;return n}function Be(e,t,n){var i=wn(e,t);return i>-1?e[i]:n}var ji,Li,qi,Io=(ji=Mr(),(Li=ko&&(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame))?Li.bind(window):function(e){var t=Mr();return setTimeout(function(){e(t-ji)},1e3/60)}),Xa=(qi=ko&&(window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.msCancelAnimationFrame))?qi.bind(window):function(e){clearTimeout(e)};function tr(e){return Object.keys(e)}function Se(e,t){var n=Rr(e),i=n.value,r=n.unit;if(qe(t)){var o=t[r];if(o){if(zo(o))return o(i);if(pr[r])return pr[r](i,o)}}else if(r==="%")return i*t/100;return pr[r]?pr[r](i):i}function Qr(e,t,n){return Math.max(t,Math.min(e,n))}function Vi(e,t,n,i){return i===void 0&&(i=e[0]/e[1]),[[kt(t[0],ee),kt(t[0]/i,ee)],[kt(t[1]*i,ee),kt(t[1],ee)]].filter(function(r){return r.every(function(o,a){var s=t[a],c=kt(s,ee);return n?o<=s||o<=c:o>=s||o>=c})})[0]||e}function ti(e){for(var t=e.length,n=0,i=t-1;i>=0;--i)n+=e[i];return t?n/t:0}function Fe(e,t){var n=t[0]-e[0],i=t[1]-e[1],r=Math.atan2(i,n);return r>=0?r:r+2*Math.PI}function Ui(e){var t,n=(t=e,[0,1].map(function(o){return ti(t.map(function(a){return a[o]}))})),i=Fe(n,e[0]),r=Fe(n,e[1]);return i<r&&r-i<Math.PI||i>r&&r-i<-Math.PI?1:-1}function Ln(e,t){return Math.sqrt(Math.pow((t?t[0]:0)-e[0],2)+Math.pow((t?t[1]:0)-e[1],2))}function kt(e,t){if(!t)return e;var n=1/t;return Math.round(e/t)/n}function Zi(e,t){return e.forEach(function(n,i){e[i]=kt(e[i],t)}),e}function We(e,t){return e.classList?e.classList.contains(t):!!e.className.match(new RegExp("(\\s|^)"+t+"(\\s|$)"))}function No(e,t){e.classList?e.classList.add(t):e.className+=" "+t}function Yo(e,t){if(e.classList)e.classList.remove(t);else{var n=new RegExp("(\\s|^)"+t+"(\\s|$)");e.className=e.className.replace(n," ")}}function ge(e,t,n,i){e.addEventListener(t,n,i)}function fe(e,t,n,i){e.removeEventListener(t,n,i)}function xi(e){return e?.ownerDocument||Ya}function yi(e){return xi(e).documentElement}function en(e){return xi(e).body}function Qe(e){var t;return((t=e?.ownerDocument)===null||t===void 0?void 0:t.defaultView)||window}function Wo(e){return e&&"postMessage"in e&&"blur"in e&&"self"in e}function Ei(e){return qe(e)&&e.nodeName&&e.nodeType&&"ownerDocument"in e}function Ha(e,t,n,i,r,o){for(var a=0;a<r;++a){var s=n+a*r,c=i+a*r;e[s]+=e[c]*o,t[s]+=t[c]*o}}function ja(e,t,n,i,r){for(var o=0;o<r;++o){var a=n+o*r,s=i+o*r,c=e[a],u=t[a];e[a]=e[s],e[s]=c,t[a]=t[s],t[s]=u}}function La(e,t,n,i,r){for(var o=0;o<i;++o){var a=n+o*i;e[a]/=r,t[a]/=r}}function cn(e,t){t===void 0&&(t=Math.sqrt(e.length));for(var n=e.slice(),i=Wt(t),r=0;r<t;++r){var o=t*r+r;if(!kt(n[o],ee)){for(var a=r+1;a<t;++a)if(n[t*r+a]){ja(n,i,r,a,t);break}}if(!kt(n[o],ee))return[];for(La(n,i,r,t,n[o]),a=0;a<t;++a){var s=a,c=n[a+r*t];kt(c,ee)&&r!==a&&Ha(n,i,s,r,t,-c)}}return i}function or(e,t){for(var n=e.slice(),i=e.length;i<t-1;++i)n[i]=0;return n[t-1]=1,n}function ln(e,t,n){if(t===void 0&&(t=Math.sqrt(e.length)),t===n)return e;for(var i=Wt(n),r=Math.min(t,n),o=0;o<r-1;++o){for(var a=0;a<r-1;++a)i[o*n+a]=e[o*t+a];i[(o+1)*n-1]=e[(o+1)*t-1],i[(n-1)*n+o]=e[(t-1)*t+o]}return i[n*n-1]=e[t*t-1],i}function wr(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var i=Wt(e);return t.forEach(function(r){i=ie(i,r,e)}),i}function ie(e,t,n){n===void 0&&(n=Math.sqrt(e.length));var i=[],r=e.length/n,o=t.length/r;if(!r)return t;if(!o)return e;for(var a=0;a<n;++a)for(var s=0;s<o;++s){i[s*n+a]=0;for(var c=0;c<r;++c)i[s*n+a]+=e[c*n+a]*t[s*r+c]}return i}function Ut(e,t){for(var n=Math.min(e.length,t.length),i=e.slice(),r=0;r<n;++r)i[r]=i[r]+t[r];return i}function ct(e,t){for(var n=Math.min(e.length,t.length),i=e.slice(),r=0;r<n;++r)i[r]=i[r]-t[r];return i}function qa(e,t){return t===void 0&&(t=e.length===6),t?[e[0],e[1],0,e[2],e[3],0,e[4],e[5],1]:e}function Xo(e,t){return t===void 0&&(t=e.length===9),t?[e[0],e[1],e[3],e[4],e[6],e[7]]:e}function ze(e,t,n){n===void 0&&(n=t.length);var i=ie(e,t,n),r=i[n-1];return i.map(function(o){return o/r})}function Va(e,t){return ie(e,[1,0,0,0,0,Math.cos(t),Math.sin(t),0,0,-Math.sin(t),Math.cos(t),0,0,0,0,1],4)}function Ua(e,t){return ie(e,[Math.cos(t),0,-Math.sin(t),0,0,1,0,0,Math.sin(t),0,Math.cos(t),0,0,0,0,1],4)}function Za(e,t){return ie(e,Fr(t,4))}function dr(e,t){var n=t[0],i=n===void 0?1:n,r=t[1],o=r===void 0?1:r,a=t[2];return ie(e,[i,0,0,0,0,o,0,0,0,0,a===void 0?1:a,0,0,0,0,1],4)}function Ar(e,t){var n=t[0],i=n===void 0?0:n,r=t[1],o=r===void 0?0:r,a=t[2];return ie(e,[1,0,0,0,0,1,0,0,0,0,1,0,i,o,a===void 0?0:a,1],4)}function $i(e,t){return ie(e,t,4)}function Fr(e,t){var n=Math.cos(e),i=Math.sin(e),r=Wt(t);return r[0]=n,r[1]=i,r[t]=-i,r[t+1]=n,r}function Wt(e){for(var t=e*e,n=[],i=0;i<t;++i)n[i]=i%(e+1)?0:1;return n}function Ho(e,t){for(var n=Wt(t),i=Math.min(e.length,t-1),r=0;r<i;++r)n[(t+1)*r]=e[r];return n}function fn(e,t){for(var n=Wt(t),i=Math.min(e.length,t-1),r=0;r<i;++r)n[t*(t-1)+r]=e[r];return n}function jo(e,t,n,i,r,o,a,s){var c=e[0],u=e[1],f=t[0],p=t[1],l=n[0],d=n[1],h=i[0],g=i[1],v=r[0],m=r[1],y=o[0],x=o[1],E=a[0],M=a[1],b=s[0],S=s[1],R=cn([c,0,f,0,l,0,h,0,u,0,p,0,d,0,g,0,1,0,1,0,1,0,1,0,0,c,0,f,0,l,0,h,0,u,0,p,0,d,0,g,0,1,0,1,0,1,0,1,-v*c,-m*c,-y*f,-x*f,-E*l,-M*l,-b*h,-S*h,-v*u,-m*u,-y*p,-x*p,-E*d,-M*d,-b*g,-S*g],8);if(!R.length)return[];var G=ie(R,[v,m,y,x,E,M,b,S],8);return G[8]=1,ln(function(P,D){D===void 0&&(D=Math.sqrt(P.length));for(var _=[],T=0;T<D;++T)for(var F=0;F<D;++F)_[F*D+T]=P[D*T+F];return _}(G),3,4)}var qn=function(){return qn=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},qn.apply(this,arguments)};function Si(e,t){return t===void 0&&(t=0),gn(Cn(e,t))}function gn(e){var t=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];return e.forEach(function(n){var i=n.matrixFunction,r=n.functionValue;i&&(t=i(t,r))}),t}function Cn(e,t){return t===void 0&&(t=0),(ye(e)?e:Qn(e)).map(function(n){var i,r=!(i=/([^(]*)\(([\s\S]*)\)([\s\S]*)/g.exec(n))||i.length<4?{}:{prefix:i[1],value:i[2],suffix:i[3]},o=r.prefix,a=r.value,s=null,c=o,u="";if(o==="translate"||o==="translateX"||o==="translate3d"){var f=qe(t)?qn(qn({},t),{"o%":t["%"]}):{"%":t,"o%":t},p=jn(a).map(function(G,P){return f["%"]=P===0&&"x%"in f?t["x%"]:P===1&&"y%"in f?t["y%"]:t["o%"],Se(G,f)}),l=p[0],d=p[1],h=d===void 0?0:d,g=p[2];s=Ar,u=[l,h,g===void 0?0:g]}else if(o==="translateY")s=Ar,u=[0,h=Se(a,qe(t)?qn({"%":t["y%"]},t):{"%":t}),0];else if(o==="translateZ")s=Ar,u=[0,0,parseFloat(a)];else if(o==="scale"||o==="scale3d"){var v=jn(a).map(function(G){return parseFloat(G)}),m=v[0],y=v[1],x=y===void 0?m:y,E=v[2];s=dr,u=[m,x,E===void 0?1:E]}else if(o==="scaleX")s=dr,u=[m=parseFloat(a),1,1];else if(o==="scaleY")s=dr,u=[1,x=parseFloat(a),1];else if(o==="scaleZ")s=dr,u=[1,1,parseFloat(a)];else if(o==="rotate"||o==="rotateZ"||o==="rotateX"||o==="rotateY"){var M=Rr(a),b=M.unit,S=M.value;o==="rotate"||o==="rotateZ"?(c="rotateZ",s=Za):o==="rotateX"?s=Va:o==="rotateY"&&(s=Ua),u=b==="rad"?S:S*Math.PI/180}else if(o==="matrix3d")s=$i,u=jn(a).map(function(G){return parseFloat(G)});else if(o==="matrix"){var R=jn(a).map(function(G){return parseFloat(G)});s=$i,u=[R[0],R[1],0,0,R[2],R[3],0,0,0,0,1,0,R[4],R[5],0,1]}else c="";return{name:o,functionName:c,value:a,matrixFunction:s,functionValue:u}})}var $a=function(){function e(){this.keys=[],this.values=[]}var t=e.prototype;return t.get=function(n){return this.values[this.keys.indexOf(n)]},t.set=function(n,i){var r=this.keys,o=this.values,a=r.indexOf(n),s=a===-1?r.length:a;r[s]=n,o[s]=i},e}(),Ka=function(){function e(){this.object={}}var t=e.prototype;return t.get=function(n){return this.object[n]},t.set=function(n,i){this.object[n]=i},e}(),Ja=typeof Map=="function",Qa=function(){function e(){}var t=e.prototype;return t.connect=function(n,i){this.prev=n,this.next=i,n&&(n.next=this),i&&(i.prev=this)},t.disconnect=function(){var n=this.prev,i=this.next;n&&(n.next=i),i&&(i.prev=n)},t.getIndex=function(){for(var n=this,i=-1;n;)n=n.prev,++i;return i},e}(),ts=function(){function e(n,i,r,o,a,s,c,u){this.prevList=n,this.list=i,this.added=r,this.removed=o,this.changed=a,this.maintained=s,this.changedBeforeAdded=c,this.fixed=u}var t=e.prototype;return Object.defineProperty(t,"ordered",{get:function(){return this.cacheOrdered||this.caculateOrdered(),this.cacheOrdered},enumerable:!0,configurable:!0}),Object.defineProperty(t,"pureChanged",{get:function(){return this.cachePureChanged||this.caculateOrdered(),this.cachePureChanged},enumerable:!0,configurable:!0}),t.caculateOrdered=function(){var n,i,r,o,a=(n=this.changedBeforeAdded,i=this.fixed,r=[],o=[],n.forEach(function(u){var f=u[0],p=u[1],l=new Qa;r[f]=l,o[p]=l}),r.forEach(function(u,f){u.connect(r[f-1])}),n.filter(function(u,f){return!i[f]}).map(function(u,f){var p=u[0],l=u[1];if(p===l)return[0,0];var d=r[p],h=o[l-1],g=d.getIndex();return d.disconnect(),h?d.connect(h,h.next):d.connect(void 0,r[0]),[g,d.getIndex()]})),s=this.changed,c=[];this.cacheOrdered=a.filter(function(u,f){var p=u[0],l=u[1],d=s[f],h=d[0],g=d[1];if(p!==l)return c.push([h,g]),!0}),this.cachePureChanged=c},e}();function Lo(e,t,n){var i=Ja?Map:n?Ka:$a,r=n||function(y){return y},o=[],a=[],s=[],c=e.map(r),u=t.map(r),f=new i,p=new i,l=[],d=[],h={},g=[],v=0,m=0;return c.forEach(function(y,x){f.set(y,x)}),u.forEach(function(y,x){p.set(y,x)}),c.forEach(function(y,x){var E=p.get(y);E===void 0?(++m,a.push(x)):h[E]=m}),u.forEach(function(y,x){var E=f.get(y);E===void 0?(o.push(x),++v):(s.push([E,x]),m=h[x]||0,l.push([E-m,x-v]),d.push(x===E),E!==x&&g.push([E,x]))}),a.reverse(),new ts(e,t,o,a,g,s,l,d)}var Ki,es=function(){function e(t,n){t===void 0&&(t=[]),this.findKeyCallback=n,this.list=[].slice.call(t)}return e.prototype.update=function(t){var n=[].slice.call(t),i=Lo(this.list,n,this.findKeyCallback);return this.list=n,i},e}(),qo=function(e,t){return(qo=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var r in i)i.hasOwnProperty(r)&&(n[r]=i[r])})(e,t)},ns=typeof Map=="function"?void 0:(Ki=0,function(e){return e.__DIFF_KEY__||(e.__DIFF_KEY__=++Ki)}),Vo=function(e){function t(n){return n===void 0&&(n=[]),e.call(this,n,ns)||this}return function(n,i){function r(){this.constructor=n}qo(n,i),n.prototype=i===null?Object.create(i):(r.prototype=i.prototype,new r)}(t,e),t}(es),ei=function(){return ei=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},ei.apply(this,arguments)},Uo=function(){function e(){this._events={}}var t=e.prototype;return t.on=function(n,i){if(qe(n))for(var r in n)this.on(r,n[r]);else this._addEvent(n,i,{});return this},t.off=function(n,i){if(n)if(qe(n))for(var r in n)this.off(r);else if(i){var o=this._events[n];if(o){var a=wn(o,function(s){return s.listener===i});a>-1&&o.splice(a,1)}}else this._events[n]=[];else this._events={};return this},t.once=function(n,i){var r=this;return i&&this._addEvent(n,i,{once:!0}),new Promise(function(o){r._addEvent(n,o,{once:!0})})},t.emit=function(n,i){var r=this;i===void 0&&(i={});var o=this._events[n];if(!n||!o)return!0;var a=!1;return i.eventType=n,i.stop=function(){a=!0},i.currentTarget=this,function(){for(var s=0,c=0,u=arguments.length;c<u;c++)s+=arguments[c].length;var f=Array(s),p=0;for(c=0;c<u;c++)for(var l=arguments[c],d=0,h=l.length;d<h;d++,p++)f[p]=l[d];return f}(o).forEach(function(s){s.listener(i),s.once&&r.off(n,s.listener)}),!a},t.trigger=function(n,i){return i===void 0&&(i={}),this.emit(n,i)},t._addEvent=function(n,i,r){var o=this._events;o[n]=o[n]||[],o[n].push(ei({listener:i},r))},e}();function Ee(e){return kt(e,ee)}function Ji(e){return e.length<3?0:Math.abs(function(t){for(var n=0,i=t.length-1;i>=0;--i)n+=t[i];return n}(e.map(function(t,n){var i=e[n+1]||e[0];return t[0]*i[1]-i[0]*t[1]})))/2}function Qi(e,t){var n=t.width,i=t.height,r=t.left,o=t.top,a=yn(e),s=a.minX,c=a.minY,u=a.maxX,f=a.maxY,p=n/(u-s),l=i/(f-c);return e.map(function(d){return[r+(d[0]-s)*p,o+(d[1]-c)*l]})}function yn(e){var t=e.map(function(i){return i[0]}),n=e.map(function(i){return i[1]});return{minX:Math.min.apply(Math,t),minY:Math.min.apply(Math,n),maxX:Math.max.apply(Math,t),maxY:Math.max.apply(Math,n)}}function Ir(e,t,n){var i=e[0],r=e[1],o=yn(t),a=o.minX,s=o.maxX,c=[[a,r],[s,r]],u=Cr(c[0],c[1]),f=ni(t),p=[];if(f.forEach(function(h){var g,v=Cr(h[0],h[1]),m=h[0];g=v,u.every(function(y,x){return Ee(y-g[x])===0})?p.push({pos:e,line:h,type:"line"}):Zo(Di(u,v),[c,h]).forEach(function(y){h.some(function(x){return M=y,!Ee((E=x)[0]-M[0])&&!Ee(E[1]-M[1]);var E,M})?p.push({pos:y,line:h,type:"point"}):Ee(m[1]-r)!==0&&p.push({pos:y,line:h,type:"intersection"})})}),Be(p,function(h){return h[0]===i}))return!0;var l=0,d={};return p.forEach(function(h){var g=h.pos,v=h.type,m=h.line;if(!(g[0]>i))if(v==="intersection")++l;else{if(v==="line")return;if(v==="point"){var y=Be(m,function(M){return M[1]!==r}),x=d[g[0]],E=y[1]>r?1:-1;x?x!==E&&++l:d[g[0]]=E}}}),l%2==1}function Cr(e,t){var n=e[0],i=e[1],r=t[0]-n,o=t[1]-i;Math.abs(r)<ee&&(r=0),Math.abs(o)<ee&&(o=0);var a=0,s=0,c=0;return r?o?(s=1,c=-(a=-o/r)*n-i):(s=1,c=-i):o&&(a=-1,c=n),[a,s,c]}function Di(e,t){var n=e[0],i=e[1],r=e[2],o=t[0],a=t[1],s=t[2],c=n===0&&o===0,u=i===0&&a===0,f=[];if(c&&u)return[];if(c){var p=-r/i;return p!==-s/a?[]:[[-1/0,p],[1/0,p]]}if(u){var l=-r/n;return l!==-s/o?[]:[[l,-1/0],[l,1/0]]}if(n===0)f=[[d=-(a*(h=-r/i)+s)/o,h]];else if(o===0)f=[[d=-(i*(h=-s/a)+r)/n,h]];else if(i===0)f=[[d=-r/n,h=-(o*d+s)/a]];else if(a===0)f=[[d=-s/o,h=-(n*d+r)/i]];else{var d,h;f=[[d=(i*s-a*r)/(a*n-i*o),h=-(n*d+r)/i]]}return f.map(function(g){return[g[0],g[1]]})}function Zo(e,t){var n=t.map(function(p){return[0,1].map(function(l){return[Math.min(p[0][l],p[1][l]),Math.max(p[0][l],p[1][l])]})}),i=[];if(e.length===2){var r=e[0],o=r[0],a=r[1];if(Ee(o-e[1][0])){if(!Ee(a-e[1][1])){var s=Math.max.apply(Math,n.map(function(p){return p[0][0]})),c=Math.min.apply(Math,n.map(function(p){return p[0][1]}));if(Ee(s-c)>0)return[];i=[[s,a],[c,a]]}}else{var u=Math.max.apply(Math,n.map(function(p){return p[1][0]})),f=Math.min.apply(Math,n.map(function(p){return p[1][1]}));if(Ee(u-f)>0)return[];i=[[o,u],[o,f]]}}return i.length||(i=e.filter(function(p){var l=p[0],d=p[1];return n.every(function(h){return 0<=Ee(l-h[0][0])&&0<=Ee(h[0][1]-l)&&0<=Ee(d-h[1][0])&&0<=Ee(h[1][1]-d)})})),i.map(function(p){return[Ee(p[0]),Ee(p[1])]})}function ni(e){return function(){for(var t=0,n=0,i=arguments.length;n<i;n++)t+=arguments[n].length;var r=Array(t),o=0;for(n=0;n<i;n++)for(var a=arguments[n],s=0,c=a.length;s<c;s++,o++)r[o]=a[s];return r}(e.slice(1),[e[0]]).map(function(t,n){return[e[n],t]})}var $o=function(e,t){return($o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var r in i)i.hasOwnProperty(r)&&(n[r]=i[r])})(e,t)},te=function(){return te=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},te.apply(this,arguments)};function Nr(e){return 180*(t=[e[0].clientX,e[0].clientY],i=(n=[e[1].clientX,e[1].clientY])[0]-t[0],r=n[1]-t[1],((o=Math.atan2(r,i))>=0?o:o+2*Math.PI)/Math.PI);var t,n,i,r,o}function hr(e){return e?e.touches?function(t){for(var n=Math.min(t.length,2),i=[],r=0;r<n;++r)i.push(eo(t[r]));return i}(e.touches):[eo(e)]:[]}function to(e,t,n){var i=n.length,r=Vn(e,i),o=r.clientX,a=r.clientY,s=r.originalClientX,c=r.originalClientY,u=Vn(t,i),f=u.clientX,p=u.clientY,l=Vn(n,i);return{clientX:s,clientY:c,deltaX:o-f,deltaY:a-p,distX:o-l.clientX,distY:a-l.clientY}}function Yr(e){return Math.sqrt(Math.pow(e[0].clientX-e[1].clientX,2)+Math.pow(e[0].clientY-e[1].clientY,2))}function eo(e){return{clientX:e.clientX,clientY:e.clientY}}function Vn(e,t){t===void 0&&(t=e.length);for(var n={clientX:0,clientY:0,originalClientX:0,originalClientY:0},i=Math.min(e.length,t),r=0;r<i;++r){var o=e[r];n.originalClientX+="originalClientX"in o?o.originalClientX:o.clientX,n.originalClientY+="originalClientY"in o?o.originalClientY:o.clientY,n.clientX+=o.clientX,n.clientY+=o.clientY}return t?{clientX:n.clientX/t,clientY:n.clientY/t,originalClientX:n.originalClientX/t,originalClientY:n.originalClientY/t}:n}var Wr=function(){function e(t){this.prevClients=[],this.startClients=[],this.movement=0,this.length=0,this.startClients=t,this.prevClients=t,this.length=t.length}return e.prototype.getAngle=function(t){return t===void 0&&(t=this.prevClients),Nr(t)},e.prototype.getRotation=function(t){return t===void 0&&(t=this.prevClients),Nr(t)-Nr(this.startClients)},e.prototype.getPosition=function(t,n){t===void 0&&(t=this.prevClients);var i=to(t||this.prevClients,this.prevClients,this.startClients),r=i.deltaX,o=i.deltaY;return this.movement+=Math.sqrt(r*r+o*o),this.prevClients=t,i},e.prototype.getPositions=function(t){t===void 0&&(t=this.prevClients);for(var n=this.prevClients,i=this.startClients,r=Math.min(this.length,n.length),o=[],a=0;a<r;++a)o[a]=to([t[a]],[n[a]],[i[a]]);return o},e.prototype.getMovement=function(t){var n=this.movement;if(!t)return n;var i=Vn(t,this.length),r=Vn(this.prevClients,this.length),o=i.clientX-r.clientX,a=i.clientY-r.clientY;return Math.sqrt(o*o+a*a)+n},e.prototype.getDistance=function(t){return t===void 0&&(t=this.prevClients),Yr(t)},e.prototype.getScale=function(t){return t===void 0&&(t=this.prevClients),Yr(t)/Yr(this.startClients)},e.prototype.move=function(t,n){this.startClients.forEach(function(i){i.clientX-=t,i.clientY-=n}),this.prevClients.forEach(function(i){i.clientX-=t,i.clientY-=n})},e}(),no=["textarea","input"],rs=function(e){function t(n,i){i===void 0&&(i={});var r=e.call(this)||this;r.options={},r.flag=!1,r.pinchFlag=!1,r.data={},r.isDrag=!1,r.isPinch=!1,r.clientStores=[],r.targets=[],r.prevTime=0,r.doubleFlag=!1,r._useMouse=!1,r._useTouch=!1,r._useDrag=!1,r._dragFlag=!1,r._isTrusted=!1,r._isMouseEvent=!1,r._isSecondaryButton=!1,r._preventMouseEvent=!1,r._prevInputEvent=null,r._isDragAPI=!1,r._isIdle=!0,r._preventMouseEventId=0,r._window=window,r.onDragStart=function(l,d){if(d===void 0&&(d=!0),r.flag||l.cancelable!==!1){var h=l.type.indexOf("drag")>=-1;if(!r.flag||!h){r._isDragAPI=!0;var g=r.options,v=g.container,m=g.pinchOutside,y=g.preventWheelClick,x=g.preventRightClick,E=g.preventDefault,M=g.checkInput,b=g.dragFocusedInput,S=g.preventClickEventOnDragStart,R=g.preventClickEventOnDrag,G=g.preventClickEventByCondition,P=r._useTouch,D=!r.flag;if(r._isSecondaryButton=l.which===3||l.button===2,y&&(l.which===2||l.button===1)||x&&(l.which===3||l.button===2))return r.stop(),!1;if(D){var _=r._window.document.activeElement,T=l.target;if(T){var F=T.tagName.toLowerCase(),B=no.indexOf(F)>-1,O=T.isContentEditable;if(B||O){if(M||!b&&_===T)return!1;if(_&&(_===T||O&&_.isContentEditable&&_.contains(T))){if(!b)return!1;T.blur()}}else if((E||l.type==="touchstart")&&_){var I=_.tagName.toLowerCase();(_.isContentEditable||no.indexOf(I)>-1)&&_.blur()}(S||R||G)&&ge(r._window,"click",r._onClick,!0)}r.clientStores=[new Wr(hr(l))],r._isIdle=!1,r.flag=!0,r.isDrag=!1,r._isTrusted=d,r._dragFlag=!0,r._prevInputEvent=l,r.data={},r.doubleFlag=Mr()-r.prevTime<200,r._isMouseEvent=(j=l)&&(j.type.indexOf("mouse")>-1||"button"in j),!r._isMouseEvent&&r._preventMouseEvent&&r._allowMouseEvent(),(r._preventMouseEvent||r.emit("dragStart",te(te({data:r.data,datas:r.data,inputEvent:l,isMouseEvent:r._isMouseEvent,isSecondaryButton:r._isSecondaryButton,isTrusted:d,isDouble:r.doubleFlag},r.getCurrentStore().getPosition()),{preventDefault:function(){l.preventDefault()},preventDrag:function(){r._dragFlag=!1}})))===!1&&r.stop(),r._isMouseEvent&&r.flag&&E&&l.preventDefault()}if(!r.flag)return!1;var A=0;if(D?(r._attchDragEvent(),P&&m&&(A=setTimeout(function(){ge(v,"touchstart",r.onDragStart,{passive:!1})}))):P&&m&&fe(v,"touchstart",r.onDragStart),r.flag&&(W=l).touches&&W.touches.length>=2){if(clearTimeout(A),D&&l.touches.length!==l.changedTouches.length)return;r.pinchFlag||r.onPinchStart(l)}}}var W,j},r.onDrag=function(l,d){if(r.flag){var h=r.options.preventDefault;!r._isMouseEvent&&h&&l.preventDefault(),r._prevInputEvent=l;var g=hr(l),v=r.moveClients(g,l,!1);if(r._dragFlag){if((r.pinchFlag||v.deltaX||v.deltaY)&&(r._preventMouseEvent||r.emit("drag",te(te({},v),{isScroll:!!d,inputEvent:l})))===!1)return void r.stop();r.pinchFlag&&r.onPinch(l,g)}r.getCurrentStore().getPosition(g,!0)}},r.onDragEnd=function(l){if(r.flag){var d=r.options,h=d.pinchOutside,g=d.container,v=d.preventClickEventOnDrag,m=d.preventClickEventOnDragStart,y=d.preventClickEventByCondition,x=r.isDrag;(v||m||y)&&requestAnimationFrame(function(){r._allowClickEvent()}),y||m||!v||x||r._allowClickEvent(),r._useTouch&&h&&fe(g,"touchstart",r.onDragStart),r.pinchFlag&&r.onPinchEnd(l);var E=l?.touches?hr(l):[];E.length!==0&&r.options.keepDragging?r._addStore(new Wr(E)):r.flag=!1;var M=r._getPosition(),b=Mr(),S=!x&&r.doubleFlag;r._prevInputEvent=null,r.prevTime=x||S?0:b,r.flag||(r._dettachDragEvent(),r._preventMouseEvent||r.emit("dragEnd",te({data:r.data,datas:r.data,isDouble:S,isDrag:x,isClick:!x,isMouseEvent:r._isMouseEvent,isSecondaryButton:r._isSecondaryButton,inputEvent:l,isTrusted:r._isTrusted},M)),r.clientStores=[],r._isMouseEvent||(r._preventMouseEvent=!0,clearTimeout(r._preventMouseEventId),r._preventMouseEventId=setTimeout(function(){r._preventMouseEvent=!1},200)),r._isIdle=!0)}},r.onBlur=function(){r.onDragEnd()},r._allowClickEvent=function(){fe(r._window,"click",r._onClick,!0)},r._onClick=function(l){r._allowClickEvent(),r._allowMouseEvent();var d=r.options.preventClickEventByCondition;d?.(l)||(l.stopPropagation(),l.preventDefault())},r._onContextMenu=function(l){r.options.preventRightClick?r.onDragEnd(l):l.preventDefault()},r._passCallback=function(){};var o=[].concat(n),a=o[0];r._window=Wo(a)?a:Qe(a),r.options=te({checkInput:!1,container:a&&!("document"in a)?Qe(a):a,preventRightClick:!0,preventWheelClick:!0,preventClickEventOnDragStart:!1,preventClickEventOnDrag:!1,preventClickEventByCondition:null,preventDefault:!0,checkWindowBlur:!1,keepDragging:!1,pinchThreshold:0,events:["touch","mouse"]},i);var s=r.options,c=s.container,u=s.events,f=s.checkWindowBlur;if(r._useDrag=u.indexOf("drag")>-1,r._useTouch=u.indexOf("touch")>-1,r._useMouse=u.indexOf("mouse")>-1,r.targets=o,r._useDrag&&o.forEach(function(l){ge(l,"dragstart",r.onDragStart)}),r._useMouse&&(o.forEach(function(l){ge(l,"mousedown",r.onDragStart),ge(l,"mousemove",r._passCallback)}),ge(c,"contextmenu",r._onContextMenu)),f&&ge(Qe(),"blur",r.onBlur),r._useTouch){var p={passive:!1};o.forEach(function(l){ge(l,"touchstart",r.onDragStart,p),ge(l,"touchmove",r._passCallback,p)})}return r}return function(n,i){function r(){this.constructor=n}$o(n,i),n.prototype=i===null?Object.create(i):(r.prototype=i.prototype,new r)}(t,e),t.prototype.stop=function(){this.isDrag=!1,this.data={},this.clientStores=[],this.pinchFlag=!1,this.doubleFlag=!1,this.prevTime=0,this.flag=!1,this._isIdle=!0,this._allowClickEvent(),this._dettachDragEvent(),this._isDragAPI=!1},t.prototype.getMovement=function(n){return this.getCurrentStore().getMovement(n)+this.clientStores.slice(1).reduce(function(i,r){return i+r.movement},0)},t.prototype.isDragging=function(){return this.isDrag},t.prototype.isIdle=function(){return this._isIdle},t.prototype.isFlag=function(){return this.flag},t.prototype.isPinchFlag=function(){return this.pinchFlag},t.prototype.isDoubleFlag=function(){return this.doubleFlag},t.prototype.isPinching=function(){return this.isPinch},t.prototype.scrollBy=function(n,i,r,o){o===void 0&&(o=!0),this.flag&&(this.clientStores[0].move(n,i),o&&this.onDrag(r,!0))},t.prototype.move=function(n,i){var r=n[0],o=n[1],a=this.getCurrentStore().prevClients;return this.moveClients(a.map(function(s){var c=s.clientX,u=s.clientY;return{clientX:c+r,clientY:u+o,originalClientX:c,originalClientY:u}}),i,!0)},t.prototype.triggerDragStart=function(n){this.onDragStart(n,!1)},t.prototype.setEventData=function(n){var i=this.data;for(var r in n)i[r]=n[r];return this},t.prototype.setEventDatas=function(n){return this.setEventData(n)},t.prototype.getCurrentEvent=function(n){return n===void 0&&(n=this._prevInputEvent),te(te({data:this.data,datas:this.data},this._getPosition()),{movement:this.getMovement(),isDrag:this.isDrag,isPinch:this.isPinch,isScroll:!1,inputEvent:n})},t.prototype.getEventData=function(){return this.data},t.prototype.getEventDatas=function(){return this.data},t.prototype.unset=function(){var n=this,i=this.targets,r=this.options.container;this.off(),fe(this._window,"blur",this.onBlur),this._useDrag&&i.forEach(function(o){fe(o,"dragstart",n.onDragStart)}),this._useMouse&&(i.forEach(function(o){fe(o,"mousedown",n.onDragStart)}),fe(r,"contextmenu",this._onContextMenu)),this._useTouch&&(i.forEach(function(o){fe(o,"touchstart",n.onDragStart)}),fe(r,"touchstart",this.onDragStart)),this._prevInputEvent=null,this._allowClickEvent(),this._dettachDragEvent()},t.prototype.onPinchStart=function(n){var i=this,r=this.options.pinchThreshold;if(!(this.isDrag&&this.getMovement()>r)){var o=new Wr(hr(n));this.pinchFlag=!0,this._addStore(o),this.emit("pinchStart",te(te({data:this.data,datas:this.data,angle:o.getAngle(),touches:this.getCurrentStore().getPositions()},o.getPosition()),{inputEvent:n,isTrusted:this._isTrusted,preventDefault:function(){n.preventDefault()},preventDrag:function(){i._dragFlag=!1}}))===!1&&(this.pinchFlag=!1)}},t.prototype.onPinch=function(n,i){if(this.flag&&this.pinchFlag&&!(i.length<2)){var r=this.getCurrentStore();this.isPinch=!0,this.emit("pinch",te(te({data:this.data,datas:this.data,movement:this.getMovement(i),angle:r.getAngle(i),rotation:r.getRotation(i),touches:r.getPositions(i),scale:r.getScale(i),distance:r.getDistance(i)},r.getPosition(i)),{inputEvent:n,isTrusted:this._isTrusted}))}},t.prototype.onPinchEnd=function(n){if(this.pinchFlag){var i=this.isPinch;this.isPinch=!1,this.pinchFlag=!1;var r=this.getCurrentStore();this.emit("pinchEnd",te(te({data:this.data,datas:this.data,isPinch:i,touches:r.getPositions()},r.getPosition()),{inputEvent:n}))}},t.prototype.getCurrentStore=function(){return this.clientStores[0]},t.prototype.moveClients=function(n,i,r){var o=this._getPosition(n,r),a=this.isDrag;(o.deltaX||o.deltaY)&&(this.isDrag=!0);var s=!1;return!a&&this.isDrag&&(s=!0),te(te({data:this.data,datas:this.data},o),{movement:this.getMovement(n),isDrag:this.isDrag,isPinch:this.isPinch,isScroll:!1,isMouseEvent:this._isMouseEvent,isSecondaryButton:this._isSecondaryButton,inputEvent:i,isTrusted:this._isTrusted,isFirstDrag:s})},t.prototype._addStore=function(n){this.clientStores.splice(0,0,n)},t.prototype._getPosition=function(n,i){var r=this.getCurrentStore().getPosition(n,i),o=this.clientStores.slice(1).reduce(function(c,u){var f=u.getPosition();return c.distX+=f.distX,c.distY+=f.distY,c},r),a=o.distX,s=o.distY;return te(te({},r),{distX:a,distY:s})},t.prototype._attchDragEvent=function(){var n=this._window,i=this.options.container,r={passive:!1};this._isDragAPI&&(ge(i,"dragover",this.onDrag,r),ge(n,"dragend",this.onDragEnd)),this._useMouse&&(ge(i,"mousemove",this.onDrag),ge(n,"mouseup",this.onDragEnd)),this._useTouch&&(ge(i,"touchmove",this.onDrag,r),ge(n,"touchend",this.onDragEnd,r),ge(n,"touchcancel",this.onDragEnd,r))},t.prototype._dettachDragEvent=function(){var n=this._window,i=this.options.container;this._isDragAPI&&(fe(i,"dragover",this.onDrag),fe(n,"dragend",this.onDragEnd)),this._useMouse&&(fe(i,"mousemove",this.onDrag),fe(n,"mouseup",this.onDragEnd)),this._useTouch&&(fe(i,"touchstart",this.onDragStart),fe(i,"touchmove",this.onDrag),fe(n,"touchend",this.onDragEnd),fe(n,"touchcancel",this.onDragEnd))},t.prototype._allowMouseEvent=function(){this._preventMouseEvent=!1,clearTimeout(this._preventMouseEventId)},t}(Uo),ri=function(){return ri=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},ri.apply(this,arguments)};function Ko(e,t){var n=function(r){var o="rCS"+function(a){for(var s=5381,c=a.length;c;)s=33*s^a.charCodeAt(--c);return s>>>0}(r).toString(36);return{className:o,inject:function(a,s){s===void 0&&(s={});var c,u,f,p,l,d,h,g,v=function(x){if(x&&x.getRootNode){var E=x.getRootNode();if(E.nodeType===11)return E}}(a),m=(v||a.ownerDocument||document).querySelector('style[data-styled-id="'.concat(o,'"]'));if(m){var y=parseFloat(m.getAttribute("data-styled-count"))||0;m.setAttribute("data-styled-count","".concat(y+1))}else c=o,u=r,f=s,p=v,(g=(h=xi(a)).createElement("style")).setAttribute("type","text/css"),g.setAttribute("data-styled-id",c),g.setAttribute("data-styled-count","1"),f.nonce&&g.setAttribute("nonce",f.nonce),g.innerHTML=(l=c,d=u,f.original?d:d.replace(/([^};{\s}][^};{]*|^\s*){/gm,function(x,E){var M=E.trim();return(M?jn(M):[""]).map(function(b){var S=b.trim();return S.indexOf("@")===0?S:S.indexOf(":global")>-1?S.replace(/\:global/g,""):S.indexOf(":host")>-1?"".concat(S.replace(/\:host/g,".".concat(l))):S?".".concat(l," ").concat(S):".".concat(l)}).join(", ")+" {"})),(p||h.head||h.body).appendChild(g),m=g;return{destroy:function(){var x,E=parseFloat(m.getAttribute("data-styled-count"))||0;E<=1?(m.remove?m.remove():(x=m.parentNode)===null||x===void 0||x.removeChild(m),m=null):m.setAttribute("data-styled-count","".concat(E-1))}}}}}(t),i=n.className;return xe.reactExports.forwardRef(function(r,o){var a=r.className,s=a===void 0?"":a;r.cspNonce;var c=function(f,p){var l={};for(var d in f)Object.prototype.hasOwnProperty.call(f,d)&&p.indexOf(d)<0&&(l[d]=f[d]);if(f!=null&&typeof Object.getOwnPropertySymbols=="function"){var h=0;for(d=Object.getOwnPropertySymbols(f);h<d.length;h++)p.indexOf(d[h])<0&&Object.prototype.propertyIsEnumerable.call(f,d[h])&&(l[d[h]]=f[d[h]])}return l}(r,["className","cspNonce"]),u=xe.reactExports.useRef();return xe.reactExports.useImperativeHandle(o,function(){return u.current},[]),xe.reactExports.useEffect(function(){var f=n.inject(u.current,{nonce:r.cspNonce});return function(){f.destroy()}},[]),xe.reactExports.createElement(e,ri({ref:u,"data-styled-id":i,className:"".concat(s," ").concat(i)},c))})}var Jo=function(e,t){return(Jo=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])})(e,t)};function ar(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Jo(e,t),e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var w=function(){return w=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},w.apply(this,arguments)};function C(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var i,r,o=n.call(e),a=[];try{for(;(t===void 0||t-- >0)&&!(i=o.next()).done;)a.push(i.value)}catch(s){r={error:s}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a}function L(e,t,n){if(arguments.length===2)for(var i,r=0,o=t.length;r<o;r++)!i&&r in t||(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}function er(e,t){return w({events:[],props:[],name:e},t)}var ro,io,is=["n","w","s","e"],Mi=["n","w","s","e","nw","ne","sw","se"],Pn=function(){if(typeof navigator>"u"||!navigator||!navigator.userAgentData)return!1;var e=navigator.userAgentData,t=e.brands||e.uaList;return!(!t||!t.length)}()?function(){var e=navigator.userAgentData,t=(e.uaList||e.brands).slice(),n=e.mobile||!1,i=t[0],r=(e.platform||navigator.platform).toLowerCase(),o={name:i.brand,version:i.version,majorVersion:-1,webkit:!1,webkitVersion:"-1",chromium:!1,chromiumVersion:"-1",webview:!!fr(Bo,t).brand||Xi(Ii())},a={name:"unknown",version:"-1",majorVersion:-1};o.webkit=!o.chromium&&gi(zr,function(p){return Fo(t,p)});var s=fr(Yi,t);if(o.chromium=!!s.brand,o.chromiumVersion=s.version||"-1",!o.chromium){var c=fr(zr,t);o.webkit=!!c.brand,o.webkitVersion=c.version||"-1"}var u=Ro(Wi,function(p){return new RegExp(""+p.test,"g").exec(r)});a.name=u?u.id:"";var f=fr(Ni,t);return o.name=f.brand||o.name,o.version=(f.brand,f.version),o.webkit&&(a.name=n?"ios":"mac"),a.name==="ios"&&o.webview&&(o.version="-1"),a.version=Kr(a.version),o.version=Kr(o.version),a.majorVersion=parseInt(a.version,10),o.majorVersion=parseInt(o.version,10),{browser:o,os:a,isMobile:n,isHints:!0}}():function(){var e=Ii(void 0),t=!!/mobi/g.exec(e),n={name:"unknown",version:"-1",majorVersion:-1,webview:Xi(e),chromium:!1,chromiumVersion:"-1",webkit:!1,webkitVersion:"-1"},i={name:"unknown",version:"-1",majorVersion:-1},r=Hn(Ni,e),o=r.preset,a=r.version,s=Hn(Wi,e),c=s.preset,u=s.version,f=Hn(Yi,e);if(n.chromium=!!f.preset,n.chromiumVersion=f.version,!n.chromium){var p=Hn(zr,e);n.webkit=!!p.preset,n.webkitVersion=p.version}return c&&(i.name=c.id,i.version=u,i.majorVersion=parseInt(u,10)),o&&(n.name=o.id,n.version=a,n.webview&&i.name==="ios"&&n.name!=="safari"&&(n.webview=!1)),n.majorVersion=parseInt(n.version,10),{browser:n,os:i,isMobile:t,isHints:!1}}(),Qo=Pn.browser.webkit,ta=Qo&&(ro=typeof window>"u"?{userAgent:""}:window.navigator,!!(io=/applewebkit\/([^\s]+)/g.exec(ro.userAgent.toLowerCase()))&&parseFloat(io[1])<605),ea=Pn.browser.name,na=parseInt(Pn.browser.version,10),os=ea==="chrome",as=Pn.browser.chromium,ss=parseInt(Pn.browser.chromiumVersion,10)||0,us=os&&na>=109||as&&ss>=109,cs=ea==="firefox",ls=parseInt(Pn.browser.webkitVersion,10)>=612||na>=15,wi="moveable-",fs=Mi.map(function(e){var t="",n="",i="center",r="center",o="calc(var(--moveable-control-padding, 20) * -1px)";return e.indexOf("n")>-1&&(t="top: ".concat(o,";"),r="bottom"),e.indexOf("s")>-1&&(t="top: 0px;",r="top"),e.indexOf("w")>-1&&(n="left: ".concat(o,";"),i="right"),e.indexOf("e")>-1&&(n="left: 0px;",i="left"),'.around-control[data-direction*="'.concat(e,`"] {
|
|
6
|
+
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const xe=require("./C93vm3rYb2neksBv.cjs");function gi(e,t){for(var n=e.length,i=0;i<n;++i)if(t(e[i],i))return!0;return!1}function Ro(e,t){for(var n=e.length,i=0;i<n;++i)if(t(e[i],i))return e[i];return null}function Ii(e){var t=e;if(t===void 0){if(typeof navigator>"u"||!navigator)return"";t=navigator.userAgent||""}return t.toLowerCase()}function $r(e,t){try{return new RegExp(e,"g").exec(t)}catch{return null}}function Kr(e){return e.replace(/_/g,".")}function Hn(e,t){var n=null,i="-1";return gi(e,function(r){var o,a,s,c=$r("("+r.test+")((?:\\/|\\s|:)([0-9|\\.|_]+))?",t);return!(!c||r.brand||(n=r,i=c[3]||"-1",r.versionAlias?i=r.versionAlias:r.versionTest&&(o=r.versionTest.toLowerCase(),a=t,s=$r("("+o+")((?:\\/|\\s|:)([0-9|\\.|_]+))",a),i=(s?s[3]:"")||i),i=Kr(i),0))}),{preset:n,version:i}}function fr(e,t){var n={brand:"",version:"-1"};return gi(e,function(i){var r=Fo(t,i);return!!r&&(n.brand=i.id,n.version=i.versionAlias||r.version,n.version!=="-1")}),n}function Fo(e,t){return Ro(e,function(n){var i=n.brand;return $r(""+t.test,i.toLowerCase())})}var Ni=[{test:"phantomjs",id:"phantomjs"},{test:"whale",id:"whale"},{test:"edgios|edge|edg",id:"edge"},{test:"msie|trident|windows phone",id:"ie",versionTest:"iemobile|msie|rv"},{test:"miuibrowser",id:"miui browser"},{test:"samsungbrowser",id:"samsung internet"},{test:"samsung",id:"samsung internet",versionTest:"version"},{test:"chrome|crios",id:"chrome"},{test:"firefox|fxios",id:"firefox"},{test:"android",id:"android browser",versionTest:"version"},{test:"safari|iphone|ipad|ipod",id:"safari",versionTest:"version"}],Yi=[{test:"(?=.*applewebkit/(53[0-7]|5[0-2]|[0-4]))(?=.*\\schrome)",id:"chrome",versionTest:"chrome"},{test:"chromium",id:"chrome"},{test:"whale",id:"chrome",versionAlias:"-1",brand:!0}],zr=[{test:"applewebkit",id:"webkit",versionTest:"applewebkit|safari"}],Bo=[{test:"(?=(iphone|ipad))(?!(.*version))",id:"webview"},{test:"(?=(android|iphone|ipad))(?=.*(naver|daum|; wv))",id:"webview"},{test:"webview",id:"webview"}],Wi=[{test:"windows phone",id:"windows phone"},{test:"windows 2000",id:"window",versionAlias:"5.0"},{test:"windows nt",id:"window"},{test:"win32|windows",id:"window"},{test:"iphone|ipad|ipod",id:"ios",versionTest:"iphone os|cpu os"},{test:"macos|macintel|mac os x",id:"mac"},{test:"android|linux armv81",id:"android"},{test:"tizen",id:"tizen"},{test:"webos|web0s",id:"webos"}];function Xi(e){return!!Hn(Bo,e).preset}function Na(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.map(function(i){return i.split(" ").map(function(r){return r?""+e+r:""}).join(" ")}).join(" ")}function un(e,t){return function(n){n&&(e[t]=n)}}function Go(e,t,n){return function(i){i&&(e[t][n]=i)}}var vi="undefined",ko=typeof window!==vi,Ya=typeof document!==vi&&document,Wa=[{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:'\\"',close:'\\"'},{open:"\\'",close:"\\'"}],ee=1e-7,pr={cm:function(e){return 96*e/2.54},mm:function(e){return 96*e/254},in:function(e){return 96*e},pt:function(e){return 96*e/72},pc:function(e){return 96*e/6},"%":function(e,t){return e*t/100},vw:function(e,t){return t===void 0&&(t=window.innerWidth),e/100*t},vh:function(e,t){return t===void 0&&(t=window.innerHeight),e/100*t},vmax:function(e,t){return t===void 0&&(t=Math.max(window.innerWidth,window.innerHeight)),e/100*t},vmin:function(e,t){return t===void 0&&(t=Math.min(window.innerWidth,window.innerHeight)),e/100*t}};function Hi(e,t,n,i){return(e*i+t*n)/(n+i)}function mi(e){return typeof e===vi}function qe(e){return e&&typeof e=="object"}function ye(e){return Array.isArray(e)}function On(e){return typeof e=="string"}function Sr(e){return typeof e=="number"}function zo(e){return typeof e=="function"}function Ao(e,t,n,i,r){return Jr(e,t,n)?n:function(o,a,s,c,u){for(var f,p=function(h){var g=a[h].trim();if(g===o.close&&!Jr(o,a,h))return{value:h};var v=h,m=Be(u,function(y){return y.open===g});if(m&&(v=Ao(m,a,h,c,u)),v===-1)return f=h,"break";f=h=v},l=s;l<c;++l){var d=p(l);if(l=f,typeof d=="object")return d.value;if(d==="break")break}return-1}(e,t,n+1,i,r)}function Jr(e,t,n){if(!e.ignore)return null;var i=t.slice(Math.max(n-3,0),n+3).join("");return new RegExp(e.ignore).exec(i)}function bi(e,t){var n=On(t)?{separator:t}:t,i=n.separator,r=i===void 0?",":i,o=n.isSeparateFirst,a=n.isSeparateOnlyOpenClose,s=n.isSeparateOpenClose,c=s===void 0?a:s,u=n.openCloseCharacters,f=u===void 0?Wa:u,p=f.map(function(b){var S=b.open,R=b.close;return S===R?S:S+"|"+R}).join("|"),l=new RegExp("(\\s*"+r+"\\s*|"+p+"|\\s+)","g"),d=e.split(l).filter(function(b){return b&&b!=="undefined"}),h=d.length,g=[],v=[];function m(){return!!v.length&&(g.push(v.join("")),v=[],!0)}for(var y,x=function(b){var S,R,G=d[b].trim(),P=b,D=Be(f,function(F){return F.open===G}),_=Be(f,function(F){return F.close===G});if(D){if((P=Ao(D,d,b,h,f))!==-1&&c)return m()&&o?(y=b,"break"):(g.push(d.slice(b,P+1).join("")),b=P,o?(y=b,"break"):(y=b,"continue"))}else{if(_&&!Jr(_,d,b)){var T=function(){for(var F=0,B=0,O=arguments.length;B<O;B++)F+=arguments[B].length;var I=Array(F),A=0;for(B=0;B<O;B++)for(var W=arguments[B],j=0,N=W.length;j<N;j++,A++)I[A]=W[j];return I}(f);return T.splice(f.indexOf(_),1),{value:bi(e,{separator:r,isSeparateFirst:o,isSeparateOnlyOpenClose:a,isSeparateOpenClose:c,openCloseCharacters:T})}}if(S=G,!(((R=r)!==""&&R!=" "||S!==""&&S!=" ")&&S!==R||a))return m(),o?(y=b,"break"):(y=b,"continue")}P===-1&&(P=h-1),v.push(d.slice(b,P+1).join("")),y=b=P},E=0;E<h;++E){var M=x(E);if(E=y,typeof M=="object")return M.value;if(M==="break")break}return v.length&&g.push(v.join("")),g}function Qn(e){return bi(e,"")}function jn(e){return bi(e,",")}function Rr(e){var t=/^([^\d|e|\-|\+]*)((?:\d|\.|-|e-|e\+)+)(\S*)$/g.exec(e);if(!t)return{prefix:"",unit:"",value:NaN};var n=t[1],i=t[2];return{prefix:n,unit:t[3],value:parseFloat(i)}}function Mr(){return Date.now?Date.now():new Date().getTime()}function wn(e,t,n){n===void 0&&(n=-1);for(var i=e.length,r=0;r<i;++r)if(t(e[r],r,e))return r;return n}function Be(e,t,n){var i=wn(e,t);return i>-1?e[i]:n}var ji,Li,qi,Io=(ji=Mr(),(Li=ko&&(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame))?Li.bind(window):function(e){var t=Mr();return setTimeout(function(){e(t-ji)},1e3/60)}),Xa=(qi=ko&&(window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.msCancelAnimationFrame))?qi.bind(window):function(e){clearTimeout(e)};function tr(e){return Object.keys(e)}function Se(e,t){var n=Rr(e),i=n.value,r=n.unit;if(qe(t)){var o=t[r];if(o){if(zo(o))return o(i);if(pr[r])return pr[r](i,o)}}else if(r==="%")return i*t/100;return pr[r]?pr[r](i):i}function Qr(e,t,n){return Math.max(t,Math.min(e,n))}function Vi(e,t,n,i){return i===void 0&&(i=e[0]/e[1]),[[kt(t[0],ee),kt(t[0]/i,ee)],[kt(t[1]*i,ee),kt(t[1],ee)]].filter(function(r){return r.every(function(o,a){var s=t[a],c=kt(s,ee);return n?o<=s||o<=c:o>=s||o>=c})})[0]||e}function ti(e){for(var t=e.length,n=0,i=t-1;i>=0;--i)n+=e[i];return t?n/t:0}function Fe(e,t){var n=t[0]-e[0],i=t[1]-e[1],r=Math.atan2(i,n);return r>=0?r:r+2*Math.PI}function Ui(e){var t,n=(t=e,[0,1].map(function(o){return ti(t.map(function(a){return a[o]}))})),i=Fe(n,e[0]),r=Fe(n,e[1]);return i<r&&r-i<Math.PI||i>r&&r-i<-Math.PI?1:-1}function Ln(e,t){return Math.sqrt(Math.pow((t?t[0]:0)-e[0],2)+Math.pow((t?t[1]:0)-e[1],2))}function kt(e,t){if(!t)return e;var n=1/t;return Math.round(e/t)/n}function Zi(e,t){return e.forEach(function(n,i){e[i]=kt(e[i],t)}),e}function We(e,t){return e.classList?e.classList.contains(t):!!e.className.match(new RegExp("(\\s|^)"+t+"(\\s|$)"))}function No(e,t){e.classList?e.classList.add(t):e.className+=" "+t}function Yo(e,t){if(e.classList)e.classList.remove(t);else{var n=new RegExp("(\\s|^)"+t+"(\\s|$)");e.className=e.className.replace(n," ")}}function ge(e,t,n,i){e.addEventListener(t,n,i)}function fe(e,t,n,i){e.removeEventListener(t,n,i)}function xi(e){return e?.ownerDocument||Ya}function yi(e){return xi(e).documentElement}function en(e){return xi(e).body}function Qe(e){var t;return((t=e?.ownerDocument)===null||t===void 0?void 0:t.defaultView)||window}function Wo(e){return e&&"postMessage"in e&&"blur"in e&&"self"in e}function Ei(e){return qe(e)&&e.nodeName&&e.nodeType&&"ownerDocument"in e}function Ha(e,t,n,i,r,o){for(var a=0;a<r;++a){var s=n+a*r,c=i+a*r;e[s]+=e[c]*o,t[s]+=t[c]*o}}function ja(e,t,n,i,r){for(var o=0;o<r;++o){var a=n+o*r,s=i+o*r,c=e[a],u=t[a];e[a]=e[s],e[s]=c,t[a]=t[s],t[s]=u}}function La(e,t,n,i,r){for(var o=0;o<i;++o){var a=n+o*i;e[a]/=r,t[a]/=r}}function cn(e,t){t===void 0&&(t=Math.sqrt(e.length));for(var n=e.slice(),i=Wt(t),r=0;r<t;++r){var o=t*r+r;if(!kt(n[o],ee)){for(var a=r+1;a<t;++a)if(n[t*r+a]){ja(n,i,r,a,t);break}}if(!kt(n[o],ee))return[];for(La(n,i,r,t,n[o]),a=0;a<t;++a){var s=a,c=n[a+r*t];kt(c,ee)&&r!==a&&Ha(n,i,s,r,t,-c)}}return i}function or(e,t){for(var n=e.slice(),i=e.length;i<t-1;++i)n[i]=0;return n[t-1]=1,n}function ln(e,t,n){if(t===void 0&&(t=Math.sqrt(e.length)),t===n)return e;for(var i=Wt(n),r=Math.min(t,n),o=0;o<r-1;++o){for(var a=0;a<r-1;++a)i[o*n+a]=e[o*t+a];i[(o+1)*n-1]=e[(o+1)*t-1],i[(n-1)*n+o]=e[(t-1)*t+o]}return i[n*n-1]=e[t*t-1],i}function wr(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var i=Wt(e);return t.forEach(function(r){i=ie(i,r,e)}),i}function ie(e,t,n){n===void 0&&(n=Math.sqrt(e.length));var i=[],r=e.length/n,o=t.length/r;if(!r)return t;if(!o)return e;for(var a=0;a<n;++a)for(var s=0;s<o;++s){i[s*n+a]=0;for(var c=0;c<r;++c)i[s*n+a]+=e[c*n+a]*t[s*r+c]}return i}function Ut(e,t){for(var n=Math.min(e.length,t.length),i=e.slice(),r=0;r<n;++r)i[r]=i[r]+t[r];return i}function ct(e,t){for(var n=Math.min(e.length,t.length),i=e.slice(),r=0;r<n;++r)i[r]=i[r]-t[r];return i}function qa(e,t){return t===void 0&&(t=e.length===6),t?[e[0],e[1],0,e[2],e[3],0,e[4],e[5],1]:e}function Xo(e,t){return t===void 0&&(t=e.length===9),t?[e[0],e[1],e[3],e[4],e[6],e[7]]:e}function ze(e,t,n){n===void 0&&(n=t.length);var i=ie(e,t,n),r=i[n-1];return i.map(function(o){return o/r})}function Va(e,t){return ie(e,[1,0,0,0,0,Math.cos(t),Math.sin(t),0,0,-Math.sin(t),Math.cos(t),0,0,0,0,1],4)}function Ua(e,t){return ie(e,[Math.cos(t),0,-Math.sin(t),0,0,1,0,0,Math.sin(t),0,Math.cos(t),0,0,0,0,1],4)}function Za(e,t){return ie(e,Fr(t,4))}function dr(e,t){var n=t[0],i=n===void 0?1:n,r=t[1],o=r===void 0?1:r,a=t[2];return ie(e,[i,0,0,0,0,o,0,0,0,0,a===void 0?1:a,0,0,0,0,1],4)}function Ar(e,t){var n=t[0],i=n===void 0?0:n,r=t[1],o=r===void 0?0:r,a=t[2];return ie(e,[1,0,0,0,0,1,0,0,0,0,1,0,i,o,a===void 0?0:a,1],4)}function $i(e,t){return ie(e,t,4)}function Fr(e,t){var n=Math.cos(e),i=Math.sin(e),r=Wt(t);return r[0]=n,r[1]=i,r[t]=-i,r[t+1]=n,r}function Wt(e){for(var t=e*e,n=[],i=0;i<t;++i)n[i]=i%(e+1)?0:1;return n}function Ho(e,t){for(var n=Wt(t),i=Math.min(e.length,t-1),r=0;r<i;++r)n[(t+1)*r]=e[r];return n}function fn(e,t){for(var n=Wt(t),i=Math.min(e.length,t-1),r=0;r<i;++r)n[t*(t-1)+r]=e[r];return n}function jo(e,t,n,i,r,o,a,s){var c=e[0],u=e[1],f=t[0],p=t[1],l=n[0],d=n[1],h=i[0],g=i[1],v=r[0],m=r[1],y=o[0],x=o[1],E=a[0],M=a[1],b=s[0],S=s[1],R=cn([c,0,f,0,l,0,h,0,u,0,p,0,d,0,g,0,1,0,1,0,1,0,1,0,0,c,0,f,0,l,0,h,0,u,0,p,0,d,0,g,0,1,0,1,0,1,0,1,-v*c,-m*c,-y*f,-x*f,-E*l,-M*l,-b*h,-S*h,-v*u,-m*u,-y*p,-x*p,-E*d,-M*d,-b*g,-S*g],8);if(!R.length)return[];var G=ie(R,[v,m,y,x,E,M,b,S],8);return G[8]=1,ln(function(P,D){D===void 0&&(D=Math.sqrt(P.length));for(var _=[],T=0;T<D;++T)for(var F=0;F<D;++F)_[F*D+T]=P[D*T+F];return _}(G),3,4)}var qn=function(){return qn=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},qn.apply(this,arguments)};function Si(e,t){return t===void 0&&(t=0),gn(Cn(e,t))}function gn(e){var t=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];return e.forEach(function(n){var i=n.matrixFunction,r=n.functionValue;i&&(t=i(t,r))}),t}function Cn(e,t){return t===void 0&&(t=0),(ye(e)?e:Qn(e)).map(function(n){var i,r=!(i=/([^(]*)\(([\s\S]*)\)([\s\S]*)/g.exec(n))||i.length<4?{}:{prefix:i[1],value:i[2],suffix:i[3]},o=r.prefix,a=r.value,s=null,c=o,u="";if(o==="translate"||o==="translateX"||o==="translate3d"){var f=qe(t)?qn(qn({},t),{"o%":t["%"]}):{"%":t,"o%":t},p=jn(a).map(function(G,P){return f["%"]=P===0&&"x%"in f?t["x%"]:P===1&&"y%"in f?t["y%"]:t["o%"],Se(G,f)}),l=p[0],d=p[1],h=d===void 0?0:d,g=p[2];s=Ar,u=[l,h,g===void 0?0:g]}else if(o==="translateY")s=Ar,u=[0,h=Se(a,qe(t)?qn({"%":t["y%"]},t):{"%":t}),0];else if(o==="translateZ")s=Ar,u=[0,0,parseFloat(a)];else if(o==="scale"||o==="scale3d"){var v=jn(a).map(function(G){return parseFloat(G)}),m=v[0],y=v[1],x=y===void 0?m:y,E=v[2];s=dr,u=[m,x,E===void 0?1:E]}else if(o==="scaleX")s=dr,u=[m=parseFloat(a),1,1];else if(o==="scaleY")s=dr,u=[1,x=parseFloat(a),1];else if(o==="scaleZ")s=dr,u=[1,1,parseFloat(a)];else if(o==="rotate"||o==="rotateZ"||o==="rotateX"||o==="rotateY"){var M=Rr(a),b=M.unit,S=M.value;o==="rotate"||o==="rotateZ"?(c="rotateZ",s=Za):o==="rotateX"?s=Va:o==="rotateY"&&(s=Ua),u=b==="rad"?S:S*Math.PI/180}else if(o==="matrix3d")s=$i,u=jn(a).map(function(G){return parseFloat(G)});else if(o==="matrix"){var R=jn(a).map(function(G){return parseFloat(G)});s=$i,u=[R[0],R[1],0,0,R[2],R[3],0,0,0,0,1,0,R[4],R[5],0,1]}else c="";return{name:o,functionName:c,value:a,matrixFunction:s,functionValue:u}})}var $a=function(){function e(){this.keys=[],this.values=[]}var t=e.prototype;return t.get=function(n){return this.values[this.keys.indexOf(n)]},t.set=function(n,i){var r=this.keys,o=this.values,a=r.indexOf(n),s=a===-1?r.length:a;r[s]=n,o[s]=i},e}(),Ka=function(){function e(){this.object={}}var t=e.prototype;return t.get=function(n){return this.object[n]},t.set=function(n,i){this.object[n]=i},e}(),Ja=typeof Map=="function",Qa=function(){function e(){}var t=e.prototype;return t.connect=function(n,i){this.prev=n,this.next=i,n&&(n.next=this),i&&(i.prev=this)},t.disconnect=function(){var n=this.prev,i=this.next;n&&(n.next=i),i&&(i.prev=n)},t.getIndex=function(){for(var n=this,i=-1;n;)n=n.prev,++i;return i},e}(),ts=function(){function e(n,i,r,o,a,s,c,u){this.prevList=n,this.list=i,this.added=r,this.removed=o,this.changed=a,this.maintained=s,this.changedBeforeAdded=c,this.fixed=u}var t=e.prototype;return Object.defineProperty(t,"ordered",{get:function(){return this.cacheOrdered||this.caculateOrdered(),this.cacheOrdered},enumerable:!0,configurable:!0}),Object.defineProperty(t,"pureChanged",{get:function(){return this.cachePureChanged||this.caculateOrdered(),this.cachePureChanged},enumerable:!0,configurable:!0}),t.caculateOrdered=function(){var n,i,r,o,a=(n=this.changedBeforeAdded,i=this.fixed,r=[],o=[],n.forEach(function(u){var f=u[0],p=u[1],l=new Qa;r[f]=l,o[p]=l}),r.forEach(function(u,f){u.connect(r[f-1])}),n.filter(function(u,f){return!i[f]}).map(function(u,f){var p=u[0],l=u[1];if(p===l)return[0,0];var d=r[p],h=o[l-1],g=d.getIndex();return d.disconnect(),h?d.connect(h,h.next):d.connect(void 0,r[0]),[g,d.getIndex()]})),s=this.changed,c=[];this.cacheOrdered=a.filter(function(u,f){var p=u[0],l=u[1],d=s[f],h=d[0],g=d[1];if(p!==l)return c.push([h,g]),!0}),this.cachePureChanged=c},e}();function Lo(e,t,n){var i=Ja?Map:n?Ka:$a,r=n||function(y){return y},o=[],a=[],s=[],c=e.map(r),u=t.map(r),f=new i,p=new i,l=[],d=[],h={},g=[],v=0,m=0;return c.forEach(function(y,x){f.set(y,x)}),u.forEach(function(y,x){p.set(y,x)}),c.forEach(function(y,x){var E=p.get(y);E===void 0?(++m,a.push(x)):h[E]=m}),u.forEach(function(y,x){var E=f.get(y);E===void 0?(o.push(x),++v):(s.push([E,x]),m=h[x]||0,l.push([E-m,x-v]),d.push(x===E),E!==x&&g.push([E,x]))}),a.reverse(),new ts(e,t,o,a,g,s,l,d)}var Ki,es=function(){function e(t,n){t===void 0&&(t=[]),this.findKeyCallback=n,this.list=[].slice.call(t)}return e.prototype.update=function(t){var n=[].slice.call(t),i=Lo(this.list,n,this.findKeyCallback);return this.list=n,i},e}(),qo=function(e,t){return(qo=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var r in i)i.hasOwnProperty(r)&&(n[r]=i[r])})(e,t)},ns=typeof Map=="function"?void 0:(Ki=0,function(e){return e.__DIFF_KEY__||(e.__DIFF_KEY__=++Ki)}),Vo=function(e){function t(n){return n===void 0&&(n=[]),e.call(this,n,ns)||this}return function(n,i){function r(){this.constructor=n}qo(n,i),n.prototype=i===null?Object.create(i):(r.prototype=i.prototype,new r)}(t,e),t}(es),ei=function(){return ei=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},ei.apply(this,arguments)},Uo=function(){function e(){this._events={}}var t=e.prototype;return t.on=function(n,i){if(qe(n))for(var r in n)this.on(r,n[r]);else this._addEvent(n,i,{});return this},t.off=function(n,i){if(n)if(qe(n))for(var r in n)this.off(r);else if(i){var o=this._events[n];if(o){var a=wn(o,function(s){return s.listener===i});a>-1&&o.splice(a,1)}}else this._events[n]=[];else this._events={};return this},t.once=function(n,i){var r=this;return i&&this._addEvent(n,i,{once:!0}),new Promise(function(o){r._addEvent(n,o,{once:!0})})},t.emit=function(n,i){var r=this;i===void 0&&(i={});var o=this._events[n];if(!n||!o)return!0;var a=!1;return i.eventType=n,i.stop=function(){a=!0},i.currentTarget=this,function(){for(var s=0,c=0,u=arguments.length;c<u;c++)s+=arguments[c].length;var f=Array(s),p=0;for(c=0;c<u;c++)for(var l=arguments[c],d=0,h=l.length;d<h;d++,p++)f[p]=l[d];return f}(o).forEach(function(s){s.listener(i),s.once&&r.off(n,s.listener)}),!a},t.trigger=function(n,i){return i===void 0&&(i={}),this.emit(n,i)},t._addEvent=function(n,i,r){var o=this._events;o[n]=o[n]||[],o[n].push(ei({listener:i},r))},e}();function Ee(e){return kt(e,ee)}function Ji(e){return e.length<3?0:Math.abs(function(t){for(var n=0,i=t.length-1;i>=0;--i)n+=t[i];return n}(e.map(function(t,n){var i=e[n+1]||e[0];return t[0]*i[1]-i[0]*t[1]})))/2}function Qi(e,t){var n=t.width,i=t.height,r=t.left,o=t.top,a=yn(e),s=a.minX,c=a.minY,u=a.maxX,f=a.maxY,p=n/(u-s),l=i/(f-c);return e.map(function(d){return[r+(d[0]-s)*p,o+(d[1]-c)*l]})}function yn(e){var t=e.map(function(i){return i[0]}),n=e.map(function(i){return i[1]});return{minX:Math.min.apply(Math,t),minY:Math.min.apply(Math,n),maxX:Math.max.apply(Math,t),maxY:Math.max.apply(Math,n)}}function Ir(e,t,n){var i=e[0],r=e[1],o=yn(t),a=o.minX,s=o.maxX,c=[[a,r],[s,r]],u=Cr(c[0],c[1]),f=ni(t),p=[];if(f.forEach(function(h){var g,v=Cr(h[0],h[1]),m=h[0];g=v,u.every(function(y,x){return Ee(y-g[x])===0})?p.push({pos:e,line:h,type:"line"}):Zo(Di(u,v),[c,h]).forEach(function(y){h.some(function(x){return M=y,!Ee((E=x)[0]-M[0])&&!Ee(E[1]-M[1]);var E,M})?p.push({pos:y,line:h,type:"point"}):Ee(m[1]-r)!==0&&p.push({pos:y,line:h,type:"intersection"})})}),Be(p,function(h){return h[0]===i}))return!0;var l=0,d={};return p.forEach(function(h){var g=h.pos,v=h.type,m=h.line;if(!(g[0]>i))if(v==="intersection")++l;else{if(v==="line")return;if(v==="point"){var y=Be(m,function(M){return M[1]!==r}),x=d[g[0]],E=y[1]>r?1:-1;x?x!==E&&++l:d[g[0]]=E}}}),l%2==1}function Cr(e,t){var n=e[0],i=e[1],r=t[0]-n,o=t[1]-i;Math.abs(r)<ee&&(r=0),Math.abs(o)<ee&&(o=0);var a=0,s=0,c=0;return r?o?(s=1,c=-(a=-o/r)*n-i):(s=1,c=-i):o&&(a=-1,c=n),[a,s,c]}function Di(e,t){var n=e[0],i=e[1],r=e[2],o=t[0],a=t[1],s=t[2],c=n===0&&o===0,u=i===0&&a===0,f=[];if(c&&u)return[];if(c){var p=-r/i;return p!==-s/a?[]:[[-1/0,p],[1/0,p]]}if(u){var l=-r/n;return l!==-s/o?[]:[[l,-1/0],[l,1/0]]}if(n===0)f=[[d=-(a*(h=-r/i)+s)/o,h]];else if(o===0)f=[[d=-(i*(h=-s/a)+r)/n,h]];else if(i===0)f=[[d=-r/n,h=-(o*d+s)/a]];else if(a===0)f=[[d=-s/o,h=-(n*d+r)/i]];else{var d,h;f=[[d=(i*s-a*r)/(a*n-i*o),h=-(n*d+r)/i]]}return f.map(function(g){return[g[0],g[1]]})}function Zo(e,t){var n=t.map(function(p){return[0,1].map(function(l){return[Math.min(p[0][l],p[1][l]),Math.max(p[0][l],p[1][l])]})}),i=[];if(e.length===2){var r=e[0],o=r[0],a=r[1];if(Ee(o-e[1][0])){if(!Ee(a-e[1][1])){var s=Math.max.apply(Math,n.map(function(p){return p[0][0]})),c=Math.min.apply(Math,n.map(function(p){return p[0][1]}));if(Ee(s-c)>0)return[];i=[[s,a],[c,a]]}}else{var u=Math.max.apply(Math,n.map(function(p){return p[1][0]})),f=Math.min.apply(Math,n.map(function(p){return p[1][1]}));if(Ee(u-f)>0)return[];i=[[o,u],[o,f]]}}return i.length||(i=e.filter(function(p){var l=p[0],d=p[1];return n.every(function(h){return 0<=Ee(l-h[0][0])&&0<=Ee(h[0][1]-l)&&0<=Ee(d-h[1][0])&&0<=Ee(h[1][1]-d)})})),i.map(function(p){return[Ee(p[0]),Ee(p[1])]})}function ni(e){return function(){for(var t=0,n=0,i=arguments.length;n<i;n++)t+=arguments[n].length;var r=Array(t),o=0;for(n=0;n<i;n++)for(var a=arguments[n],s=0,c=a.length;s<c;s++,o++)r[o]=a[s];return r}(e.slice(1),[e[0]]).map(function(t,n){return[e[n],t]})}var $o=function(e,t){return($o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var r in i)i.hasOwnProperty(r)&&(n[r]=i[r])})(e,t)},te=function(){return te=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},te.apply(this,arguments)};function Nr(e){return 180*(t=[e[0].clientX,e[0].clientY],i=(n=[e[1].clientX,e[1].clientY])[0]-t[0],r=n[1]-t[1],((o=Math.atan2(r,i))>=0?o:o+2*Math.PI)/Math.PI);var t,n,i,r,o}function hr(e){return e?e.touches?function(t){for(var n=Math.min(t.length,2),i=[],r=0;r<n;++r)i.push(eo(t[r]));return i}(e.touches):[eo(e)]:[]}function to(e,t,n){var i=n.length,r=Vn(e,i),o=r.clientX,a=r.clientY,s=r.originalClientX,c=r.originalClientY,u=Vn(t,i),f=u.clientX,p=u.clientY,l=Vn(n,i);return{clientX:s,clientY:c,deltaX:o-f,deltaY:a-p,distX:o-l.clientX,distY:a-l.clientY}}function Yr(e){return Math.sqrt(Math.pow(e[0].clientX-e[1].clientX,2)+Math.pow(e[0].clientY-e[1].clientY,2))}function eo(e){return{clientX:e.clientX,clientY:e.clientY}}function Vn(e,t){t===void 0&&(t=e.length);for(var n={clientX:0,clientY:0,originalClientX:0,originalClientY:0},i=Math.min(e.length,t),r=0;r<i;++r){var o=e[r];n.originalClientX+="originalClientX"in o?o.originalClientX:o.clientX,n.originalClientY+="originalClientY"in o?o.originalClientY:o.clientY,n.clientX+=o.clientX,n.clientY+=o.clientY}return t?{clientX:n.clientX/t,clientY:n.clientY/t,originalClientX:n.originalClientX/t,originalClientY:n.originalClientY/t}:n}var Wr=function(){function e(t){this.prevClients=[],this.startClients=[],this.movement=0,this.length=0,this.startClients=t,this.prevClients=t,this.length=t.length}return e.prototype.getAngle=function(t){return t===void 0&&(t=this.prevClients),Nr(t)},e.prototype.getRotation=function(t){return t===void 0&&(t=this.prevClients),Nr(t)-Nr(this.startClients)},e.prototype.getPosition=function(t,n){t===void 0&&(t=this.prevClients);var i=to(t||this.prevClients,this.prevClients,this.startClients),r=i.deltaX,o=i.deltaY;return this.movement+=Math.sqrt(r*r+o*o),this.prevClients=t,i},e.prototype.getPositions=function(t){t===void 0&&(t=this.prevClients);for(var n=this.prevClients,i=this.startClients,r=Math.min(this.length,n.length),o=[],a=0;a<r;++a)o[a]=to([t[a]],[n[a]],[i[a]]);return o},e.prototype.getMovement=function(t){var n=this.movement;if(!t)return n;var i=Vn(t,this.length),r=Vn(this.prevClients,this.length),o=i.clientX-r.clientX,a=i.clientY-r.clientY;return Math.sqrt(o*o+a*a)+n},e.prototype.getDistance=function(t){return t===void 0&&(t=this.prevClients),Yr(t)},e.prototype.getScale=function(t){return t===void 0&&(t=this.prevClients),Yr(t)/Yr(this.startClients)},e.prototype.move=function(t,n){this.startClients.forEach(function(i){i.clientX-=t,i.clientY-=n}),this.prevClients.forEach(function(i){i.clientX-=t,i.clientY-=n})},e}(),no=["textarea","input"],rs=function(e){function t(n,i){i===void 0&&(i={});var r=e.call(this)||this;r.options={},r.flag=!1,r.pinchFlag=!1,r.data={},r.isDrag=!1,r.isPinch=!1,r.clientStores=[],r.targets=[],r.prevTime=0,r.doubleFlag=!1,r._useMouse=!1,r._useTouch=!1,r._useDrag=!1,r._dragFlag=!1,r._isTrusted=!1,r._isMouseEvent=!1,r._isSecondaryButton=!1,r._preventMouseEvent=!1,r._prevInputEvent=null,r._isDragAPI=!1,r._isIdle=!0,r._preventMouseEventId=0,r._window=window,r.onDragStart=function(l,d){if(d===void 0&&(d=!0),r.flag||l.cancelable!==!1){var h=l.type.indexOf("drag")>=-1;if(!r.flag||!h){r._isDragAPI=!0;var g=r.options,v=g.container,m=g.pinchOutside,y=g.preventWheelClick,x=g.preventRightClick,E=g.preventDefault,M=g.checkInput,b=g.dragFocusedInput,S=g.preventClickEventOnDragStart,R=g.preventClickEventOnDrag,G=g.preventClickEventByCondition,P=r._useTouch,D=!r.flag;if(r._isSecondaryButton=l.which===3||l.button===2,y&&(l.which===2||l.button===1)||x&&(l.which===3||l.button===2))return r.stop(),!1;if(D){var _=r._window.document.activeElement,T=l.target;if(T){var F=T.tagName.toLowerCase(),B=no.indexOf(F)>-1,O=T.isContentEditable;if(B||O){if(M||!b&&_===T)return!1;if(_&&(_===T||O&&_.isContentEditable&&_.contains(T))){if(!b)return!1;T.blur()}}else if((E||l.type==="touchstart")&&_){var I=_.tagName.toLowerCase();(_.isContentEditable||no.indexOf(I)>-1)&&_.blur()}(S||R||G)&&ge(r._window,"click",r._onClick,!0)}r.clientStores=[new Wr(hr(l))],r._isIdle=!1,r.flag=!0,r.isDrag=!1,r._isTrusted=d,r._dragFlag=!0,r._prevInputEvent=l,r.data={},r.doubleFlag=Mr()-r.prevTime<200,r._isMouseEvent=(j=l)&&(j.type.indexOf("mouse")>-1||"button"in j),!r._isMouseEvent&&r._preventMouseEvent&&r._allowMouseEvent(),(r._preventMouseEvent||r.emit("dragStart",te(te({data:r.data,datas:r.data,inputEvent:l,isMouseEvent:r._isMouseEvent,isSecondaryButton:r._isSecondaryButton,isTrusted:d,isDouble:r.doubleFlag},r.getCurrentStore().getPosition()),{preventDefault:function(){l.preventDefault()},preventDrag:function(){r._dragFlag=!1}})))===!1&&r.stop(),r._isMouseEvent&&r.flag&&E&&l.preventDefault()}if(!r.flag)return!1;var A=0;if(D?(r._attchDragEvent(),P&&m&&(A=setTimeout(function(){ge(v,"touchstart",r.onDragStart,{passive:!1})}))):P&&m&&fe(v,"touchstart",r.onDragStart),r.flag&&(W=l).touches&&W.touches.length>=2){if(clearTimeout(A),D&&l.touches.length!==l.changedTouches.length)return;r.pinchFlag||r.onPinchStart(l)}}}var W,j},r.onDrag=function(l,d){if(r.flag){var h=r.options.preventDefault;!r._isMouseEvent&&h&&l.preventDefault(),r._prevInputEvent=l;var g=hr(l),v=r.moveClients(g,l,!1);if(r._dragFlag){if((r.pinchFlag||v.deltaX||v.deltaY)&&(r._preventMouseEvent||r.emit("drag",te(te({},v),{isScroll:!!d,inputEvent:l})))===!1)return void r.stop();r.pinchFlag&&r.onPinch(l,g)}r.getCurrentStore().getPosition(g,!0)}},r.onDragEnd=function(l){if(r.flag){var d=r.options,h=d.pinchOutside,g=d.container,v=d.preventClickEventOnDrag,m=d.preventClickEventOnDragStart,y=d.preventClickEventByCondition,x=r.isDrag;(v||m||y)&&requestAnimationFrame(function(){r._allowClickEvent()}),y||m||!v||x||r._allowClickEvent(),r._useTouch&&h&&fe(g,"touchstart",r.onDragStart),r.pinchFlag&&r.onPinchEnd(l);var E=l?.touches?hr(l):[];E.length!==0&&r.options.keepDragging?r._addStore(new Wr(E)):r.flag=!1;var M=r._getPosition(),b=Mr(),S=!x&&r.doubleFlag;r._prevInputEvent=null,r.prevTime=x||S?0:b,r.flag||(r._dettachDragEvent(),r._preventMouseEvent||r.emit("dragEnd",te({data:r.data,datas:r.data,isDouble:S,isDrag:x,isClick:!x,isMouseEvent:r._isMouseEvent,isSecondaryButton:r._isSecondaryButton,inputEvent:l,isTrusted:r._isTrusted},M)),r.clientStores=[],r._isMouseEvent||(r._preventMouseEvent=!0,clearTimeout(r._preventMouseEventId),r._preventMouseEventId=setTimeout(function(){r._preventMouseEvent=!1},200)),r._isIdle=!0)}},r.onBlur=function(){r.onDragEnd()},r._allowClickEvent=function(){fe(r._window,"click",r._onClick,!0)},r._onClick=function(l){r._allowClickEvent(),r._allowMouseEvent();var d=r.options.preventClickEventByCondition;d?.(l)||(l.stopPropagation(),l.preventDefault())},r._onContextMenu=function(l){r.options.preventRightClick?r.onDragEnd(l):l.preventDefault()},r._passCallback=function(){};var o=[].concat(n),a=o[0];r._window=Wo(a)?a:Qe(a),r.options=te({checkInput:!1,container:a&&!("document"in a)?Qe(a):a,preventRightClick:!0,preventWheelClick:!0,preventClickEventOnDragStart:!1,preventClickEventOnDrag:!1,preventClickEventByCondition:null,preventDefault:!0,checkWindowBlur:!1,keepDragging:!1,pinchThreshold:0,events:["touch","mouse"]},i);var s=r.options,c=s.container,u=s.events,f=s.checkWindowBlur;if(r._useDrag=u.indexOf("drag")>-1,r._useTouch=u.indexOf("touch")>-1,r._useMouse=u.indexOf("mouse")>-1,r.targets=o,r._useDrag&&o.forEach(function(l){ge(l,"dragstart",r.onDragStart)}),r._useMouse&&(o.forEach(function(l){ge(l,"mousedown",r.onDragStart),ge(l,"mousemove",r._passCallback)}),ge(c,"contextmenu",r._onContextMenu)),f&&ge(Qe(),"blur",r.onBlur),r._useTouch){var p={passive:!1};o.forEach(function(l){ge(l,"touchstart",r.onDragStart,p),ge(l,"touchmove",r._passCallback,p)})}return r}return function(n,i){function r(){this.constructor=n}$o(n,i),n.prototype=i===null?Object.create(i):(r.prototype=i.prototype,new r)}(t,e),t.prototype.stop=function(){this.isDrag=!1,this.data={},this.clientStores=[],this.pinchFlag=!1,this.doubleFlag=!1,this.prevTime=0,this.flag=!1,this._isIdle=!0,this._allowClickEvent(),this._dettachDragEvent(),this._isDragAPI=!1},t.prototype.getMovement=function(n){return this.getCurrentStore().getMovement(n)+this.clientStores.slice(1).reduce(function(i,r){return i+r.movement},0)},t.prototype.isDragging=function(){return this.isDrag},t.prototype.isIdle=function(){return this._isIdle},t.prototype.isFlag=function(){return this.flag},t.prototype.isPinchFlag=function(){return this.pinchFlag},t.prototype.isDoubleFlag=function(){return this.doubleFlag},t.prototype.isPinching=function(){return this.isPinch},t.prototype.scrollBy=function(n,i,r,o){o===void 0&&(o=!0),this.flag&&(this.clientStores[0].move(n,i),o&&this.onDrag(r,!0))},t.prototype.move=function(n,i){var r=n[0],o=n[1],a=this.getCurrentStore().prevClients;return this.moveClients(a.map(function(s){var c=s.clientX,u=s.clientY;return{clientX:c+r,clientY:u+o,originalClientX:c,originalClientY:u}}),i,!0)},t.prototype.triggerDragStart=function(n){this.onDragStart(n,!1)},t.prototype.setEventData=function(n){var i=this.data;for(var r in n)i[r]=n[r];return this},t.prototype.setEventDatas=function(n){return this.setEventData(n)},t.prototype.getCurrentEvent=function(n){return n===void 0&&(n=this._prevInputEvent),te(te({data:this.data,datas:this.data},this._getPosition()),{movement:this.getMovement(),isDrag:this.isDrag,isPinch:this.isPinch,isScroll:!1,inputEvent:n})},t.prototype.getEventData=function(){return this.data},t.prototype.getEventDatas=function(){return this.data},t.prototype.unset=function(){var n=this,i=this.targets,r=this.options.container;this.off(),fe(this._window,"blur",this.onBlur),this._useDrag&&i.forEach(function(o){fe(o,"dragstart",n.onDragStart)}),this._useMouse&&(i.forEach(function(o){fe(o,"mousedown",n.onDragStart)}),fe(r,"contextmenu",this._onContextMenu)),this._useTouch&&(i.forEach(function(o){fe(o,"touchstart",n.onDragStart)}),fe(r,"touchstart",this.onDragStart)),this._prevInputEvent=null,this._allowClickEvent(),this._dettachDragEvent()},t.prototype.onPinchStart=function(n){var i=this,r=this.options.pinchThreshold;if(!(this.isDrag&&this.getMovement()>r)){var o=new Wr(hr(n));this.pinchFlag=!0,this._addStore(o),this.emit("pinchStart",te(te({data:this.data,datas:this.data,angle:o.getAngle(),touches:this.getCurrentStore().getPositions()},o.getPosition()),{inputEvent:n,isTrusted:this._isTrusted,preventDefault:function(){n.preventDefault()},preventDrag:function(){i._dragFlag=!1}}))===!1&&(this.pinchFlag=!1)}},t.prototype.onPinch=function(n,i){if(this.flag&&this.pinchFlag&&!(i.length<2)){var r=this.getCurrentStore();this.isPinch=!0,this.emit("pinch",te(te({data:this.data,datas:this.data,movement:this.getMovement(i),angle:r.getAngle(i),rotation:r.getRotation(i),touches:r.getPositions(i),scale:r.getScale(i),distance:r.getDistance(i)},r.getPosition(i)),{inputEvent:n,isTrusted:this._isTrusted}))}},t.prototype.onPinchEnd=function(n){if(this.pinchFlag){var i=this.isPinch;this.isPinch=!1,this.pinchFlag=!1;var r=this.getCurrentStore();this.emit("pinchEnd",te(te({data:this.data,datas:this.data,isPinch:i,touches:r.getPositions()},r.getPosition()),{inputEvent:n}))}},t.prototype.getCurrentStore=function(){return this.clientStores[0]},t.prototype.moveClients=function(n,i,r){var o=this._getPosition(n,r),a=this.isDrag;(o.deltaX||o.deltaY)&&(this.isDrag=!0);var s=!1;return!a&&this.isDrag&&(s=!0),te(te({data:this.data,datas:this.data},o),{movement:this.getMovement(n),isDrag:this.isDrag,isPinch:this.isPinch,isScroll:!1,isMouseEvent:this._isMouseEvent,isSecondaryButton:this._isSecondaryButton,inputEvent:i,isTrusted:this._isTrusted,isFirstDrag:s})},t.prototype._addStore=function(n){this.clientStores.splice(0,0,n)},t.prototype._getPosition=function(n,i){var r=this.getCurrentStore().getPosition(n,i),o=this.clientStores.slice(1).reduce(function(c,u){var f=u.getPosition();return c.distX+=f.distX,c.distY+=f.distY,c},r),a=o.distX,s=o.distY;return te(te({},r),{distX:a,distY:s})},t.prototype._attchDragEvent=function(){var n=this._window,i=this.options.container,r={passive:!1};this._isDragAPI&&(ge(i,"dragover",this.onDrag,r),ge(n,"dragend",this.onDragEnd)),this._useMouse&&(ge(i,"mousemove",this.onDrag),ge(n,"mouseup",this.onDragEnd)),this._useTouch&&(ge(i,"touchmove",this.onDrag,r),ge(n,"touchend",this.onDragEnd,r),ge(n,"touchcancel",this.onDragEnd,r))},t.prototype._dettachDragEvent=function(){var n=this._window,i=this.options.container;this._isDragAPI&&(fe(i,"dragover",this.onDrag),fe(n,"dragend",this.onDragEnd)),this._useMouse&&(fe(i,"mousemove",this.onDrag),fe(n,"mouseup",this.onDragEnd)),this._useTouch&&(fe(i,"touchstart",this.onDragStart),fe(i,"touchmove",this.onDrag),fe(n,"touchend",this.onDragEnd),fe(n,"touchcancel",this.onDragEnd))},t.prototype._allowMouseEvent=function(){this._preventMouseEvent=!1,clearTimeout(this._preventMouseEventId)},t}(Uo),ri=function(){return ri=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},ri.apply(this,arguments)};function Ko(e,t){var n=function(r){var o="rCS"+function(a){for(var s=5381,c=a.length;c;)s=33*s^a.charCodeAt(--c);return s>>>0}(r).toString(36);return{className:o,inject:function(a,s){s===void 0&&(s={});var c,u,f,p,l,d,h,g,v=function(x){if(x&&x.getRootNode){var E=x.getRootNode();if(E.nodeType===11)return E}}(a),m=(v||a.ownerDocument||document).querySelector('style[data-styled-id="'.concat(o,'"]'));if(m){var y=parseFloat(m.getAttribute("data-styled-count"))||0;m.setAttribute("data-styled-count","".concat(y+1))}else c=o,u=r,f=s,p=v,(g=(h=xi(a)).createElement("style")).setAttribute("type","text/css"),g.setAttribute("data-styled-id",c),g.setAttribute("data-styled-count","1"),f.nonce&&g.setAttribute("nonce",f.nonce),g.innerHTML=(l=c,d=u,f.original?d:d.replace(/([^};{\s}][^};{]*|^\s*){/gm,function(x,E){var M=E.trim();return(M?jn(M):[""]).map(function(b){var S=b.trim();return S.indexOf("@")===0?S:S.indexOf(":global")>-1?S.replace(/\:global/g,""):S.indexOf(":host")>-1?"".concat(S.replace(/\:host/g,".".concat(l))):S?".".concat(l," ").concat(S):".".concat(l)}).join(", ")+" {"})),(p||h.head||h.body).appendChild(g),m=g;return{destroy:function(){var x,E=parseFloat(m.getAttribute("data-styled-count"))||0;E<=1?(m.remove?m.remove():(x=m.parentNode)===null||x===void 0||x.removeChild(m),m=null):m.setAttribute("data-styled-count","".concat(E-1))}}}}}(t),i=n.className;return xe.reactExports.forwardRef(function(r,o){var a=r.className,s=a===void 0?"":a;r.cspNonce;var c=function(f,p){var l={};for(var d in f)Object.prototype.hasOwnProperty.call(f,d)&&p.indexOf(d)<0&&(l[d]=f[d]);if(f!=null&&typeof Object.getOwnPropertySymbols=="function"){var h=0;for(d=Object.getOwnPropertySymbols(f);h<d.length;h++)p.indexOf(d[h])<0&&Object.prototype.propertyIsEnumerable.call(f,d[h])&&(l[d[h]]=f[d[h]])}return l}(r,["className","cspNonce"]),u=xe.reactExports.useRef();return xe.reactExports.useImperativeHandle(o,function(){return u.current},[]),xe.reactExports.useEffect(function(){var f=n.inject(u.current,{nonce:r.cspNonce});return function(){f.destroy()}},[]),xe.reactExports.createElement(e,ri({ref:u,"data-styled-id":i,className:"".concat(s," ").concat(i)},c))})}var Jo=function(e,t){return(Jo=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])})(e,t)};function ar(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Jo(e,t),e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var w=function(){return w=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},w.apply(this,arguments)};function C(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var i,r,o=n.call(e),a=[];try{for(;(t===void 0||t-- >0)&&!(i=o.next()).done;)a.push(i.value)}catch(s){r={error:s}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a}function L(e,t,n){if(arguments.length===2)for(var i,r=0,o=t.length;r<o;r++)!i&&r in t||(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}function er(e,t){return w({events:[],props:[],name:e},t)}var ro,io,is=["n","w","s","e"],Mi=["n","w","s","e","nw","ne","sw","se"],Pn=function(){if(typeof navigator>"u"||!navigator||!navigator.userAgentData)return!1;var e=navigator.userAgentData,t=e.brands||e.uaList;return!(!t||!t.length)}()?function(){var e=navigator.userAgentData,t=(e.uaList||e.brands).slice(),n=e.mobile||!1,i=t[0],r=(e.platform||navigator.platform).toLowerCase(),o={name:i.brand,version:i.version,majorVersion:-1,webkit:!1,webkitVersion:"-1",chromium:!1,chromiumVersion:"-1",webview:!!fr(Bo,t).brand||Xi(Ii())},a={name:"unknown",version:"-1",majorVersion:-1};o.webkit=!o.chromium&&gi(zr,function(p){return Fo(t,p)});var s=fr(Yi,t);if(o.chromium=!!s.brand,o.chromiumVersion=s.version||"-1",!o.chromium){var c=fr(zr,t);o.webkit=!!c.brand,o.webkitVersion=c.version||"-1"}var u=Ro(Wi,function(p){return new RegExp(""+p.test,"g").exec(r)});a.name=u?u.id:"";var f=fr(Ni,t);return o.name=f.brand||o.name,o.version=(f.brand,f.version),o.webkit&&(a.name=n?"ios":"mac"),a.name==="ios"&&o.webview&&(o.version="-1"),a.version=Kr(a.version),o.version=Kr(o.version),a.majorVersion=parseInt(a.version,10),o.majorVersion=parseInt(o.version,10),{browser:o,os:a,isMobile:n,isHints:!0}}():function(){var e=Ii(void 0),t=!!/mobi/g.exec(e),n={name:"unknown",version:"-1",majorVersion:-1,webview:Xi(e),chromium:!1,chromiumVersion:"-1",webkit:!1,webkitVersion:"-1"},i={name:"unknown",version:"-1",majorVersion:-1},r=Hn(Ni,e),o=r.preset,a=r.version,s=Hn(Wi,e),c=s.preset,u=s.version,f=Hn(Yi,e);if(n.chromium=!!f.preset,n.chromiumVersion=f.version,!n.chromium){var p=Hn(zr,e);n.webkit=!!p.preset,n.webkitVersion=p.version}return c&&(i.name=c.id,i.version=u,i.majorVersion=parseInt(u,10)),o&&(n.name=o.id,n.version=a,n.webview&&i.name==="ios"&&n.name!=="safari"&&(n.webview=!1)),n.majorVersion=parseInt(n.version,10),{browser:n,os:i,isMobile:t,isHints:!1}}(),Qo=Pn.browser.webkit,ta=Qo&&(ro=typeof window>"u"?{userAgent:""}:window.navigator,!!(io=/applewebkit\/([^\s]+)/g.exec(ro.userAgent.toLowerCase()))&&parseFloat(io[1])<605),ea=Pn.browser.name,na=parseInt(Pn.browser.version,10),os=ea==="chrome",as=Pn.browser.chromium,ss=parseInt(Pn.browser.chromiumVersion,10)||0,us=os&&na>=109||as&&ss>=109,cs=ea==="firefox",ls=parseInt(Pn.browser.webkitVersion,10)>=612||na>=15,wi="moveable-",fs=Mi.map(function(e){var t="",n="",i="center",r="center",o="calc(var(--moveable-control-padding, 20) * -1px)";return e.indexOf("n")>-1&&(t="top: ".concat(o,";"),r="bottom"),e.indexOf("s")>-1&&(t="top: 0px;",r="top"),e.indexOf("w")>-1&&(n="left: ".concat(o,";"),i="right"),e.indexOf("e")>-1&&(n="left: 0px;",i="left"),'.around-control[data-direction*="'.concat(e,`"] {
|
|
7
7
|
`).concat(n).concat(t,`
|
|
8
8
|
transform-origin: `).concat(i," ").concat(r,`;
|
|
9
9
|
}`)}).join(`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.17
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.17
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.17
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.17
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
-
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const J=require("./
|
|
7
|
-
`;for(let h=0;h<c;h++)y+=
|
|
6
|
+
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const J=require("./C93vm3rYb2neksBv.cjs");exports.fromBufferJSON=async(w,l)=>{let u=w;(function(t){if(t.byteLength<4)return!1;const i=new Uint8Array(t),r={gzip:[31,139],zip:[80,75,3,4],bz2:[66,90,104],br:[206,178,207,129]},n=Object.keys(r);for(let f=0;f<n.length;f++){const o=n[f],e=r[o];let a=!0;for(let s=0;s<e.length;s++)if(i[s]!==e[s]){a=!1;break}if(a)return o}return!1})(u)&&(u=await async function(t,i="gzip"){let r;typeof SharedArrayBuffer<"u"&&t instanceof SharedArrayBuffer?(r=new ArrayBuffer(t.byteLength),new Uint8Array(r).set(new Uint8Array(t))):r=t;const n=new Blob([r]).stream(),f=new DecompressionStream(i),o=n.pipeThrough(f);return(await new Response(o).blob()).arrayBuffer()}(u));let b=new TextDecoder().decode(u);const g=JSON.parse(b),p={...l?.createWorkbookOptions??{},json:g};return new J.z1(p)},exports.toBufferJSON=async(w,l)=>{const u=await w.toJSON(),b=l?.whiteSpace??0;let g;l?.beforeWrite?.(w,u),g=b===0?JSON.stringify(u):function(i,r=2){const n=[];function f(o){const e=r*o;return n[e]===void 0&&(n[e]=" ".repeat(e)),n[e]}return function o(e,a,s,m){if(e==null||typeof e!="object")return JSON.stringify(e);const A=f(a),O=f(a+1);if(Array.isArray(e)){const c=e.length;if(c===0)return"[]";if(s!==0)return JSON.stringify(e);let y=`[
|
|
7
|
+
`;for(let h=0;h<c;h++)y+=O+o(e[h],a+1,s+1,!0),h<c-1&&(y+=`,
|
|
8
8
|
`);return y+=`
|
|
9
|
-
`+
|
|
10
|
-
`;m||(s=0);for(let c=0;c<d;c++){const y=B[c];S+=
|
|
9
|
+
`+A+"]",y}const B=Object.keys(e),d=B.length;if(d===0)return"{}";if(!(s<2))return JSON.stringify(e);let S=`{
|
|
10
|
+
`;m||(s=0);for(let c=0;c<d;c++){const y=B[c];S+=O+JSON.stringify(y)+": "+o(e[y],a+1,s,!1),c<d-1&&(S+=`,
|
|
11
11
|
`)}return S+=`
|
|
12
|
-
`+
|
|
12
|
+
`+A+"}",S}(i,0,0,!1)}(u,b);let p=new TextEncoder().encode(g).buffer;const t=l?.compress??!0;return t&&(p=await async function(i,r="gzip"){let n;typeof SharedArrayBuffer<"u"&&i instanceof SharedArrayBuffer?(n=new ArrayBuffer(i.byteLength),new Uint8Array(n).set(new Uint8Array(i))):n=i;const f=new ReadableStream({start(a){a.enqueue(n),a.close()}}),o=new CompressionStream(r),e=f.pipeThrough(o);return(await new Response(e).blob()).arrayBuffer()}(p,typeof t=="string"?t:void 0)),p};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.17
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.17
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
-
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./
|
|
6
|
+
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./C93vm3rYb2neksBv.cjs");function me(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function re(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function ne(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?re(Object(r),!0).forEach(function(n){me(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):re(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function oe(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function ye(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ce(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function ie(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ce(Object(r),!0).forEach(function(n){ye(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ce(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function D(e){return function t(){for(var r=this,n=arguments.length,o=new Array(n),c=0;c<n;c++)o[c]=arguments[c];return o.length>=e.length?e.apply(this,o):function(){for(var a=arguments.length,u=new Array(a),s=0;s<a;s++)u[s]=arguments[s];return t.apply(r,[].concat(o,u))}}}function U(e){return{}.toString.call(e).includes("Object")}function V(e){return typeof e=="function"}var P=D(function(e,t){throw new Error(e[t]||e.default)})({initialIsRequired:"initial state is required",initialType:"initial state should be an object",initialContent:"initial state shouldn't be an empty object",handlerType:"handler should be an object or a function",handlersType:"all handlers should be a functions",selectorType:"selector should be a function",changeType:"provided value of changes should be an object",changeField:'it seams you want to change a field in the state which is not specified in the "initial" state',default:"an unknown error accured in `state-local` package"}),ve=function(e,t){return U(t)||P("changeType"),Object.keys(t).some(function(r){return n=e,o=r,!Object.prototype.hasOwnProperty.call(n,o);var n,o})&&P("changeField"),t};function be(e,t){return V(t)?t(e.current):t}function Ee(e,t){return e.current=ie(ie({},e.current),t),t}function Oe(e,t,r){return V(t)?t(e.current):Object.keys(r).forEach(function(n){var o;return(o=t[n])===null||o===void 0?void 0:o.call(t,e.current[n])}),r}var K,le={configIsRequired:"the configuration object is required",configType:"the configuration object should be an object",default:"an unknown error accured in `@monaco-editor/loader` package",deprecation:`Deprecation warning!
|
|
7
7
|
You are using deprecated way of configuration.
|
|
8
8
|
|
|
9
9
|
Instead of using
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.17
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.17
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.17
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.17
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
-
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./
|
|
6
|
+
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./C93vm3rYb2neksBv.cjs"),w=["Ok","Cancel"],T=t.reactExports.memo(E=>{const{value:a=null,context:s,onOption:u,onValidateOption:D,onDone:c,onUpdate:d,options:x=w,defaultOption:m=x?.[0],cancelOption:g="Cancel",sx:R,...h}=E,f=t.reactExports.useMemo(()=>s?.getNames().findValidName("Range1"),[]),i=t.reactExports.useMemo(()=>{if(!a)return!0},[]),[n,O]=t.reactExports.useState({displayText:a?.getName()??f,errorText:null}),[o,j]=t.reactExports.useState({displayValue:a?.getRanges()??s?.selection()??null,errorText:null}),[y,N]=t.reactExports.useState(!1),V=t.reactExports.useCallback(async e=>!n.errorText&&!o.errorText,[s]),C=t.he((e,l,p)=>{if(!l){let r=null;i?r=s?.getNames().addReference(n?.displayText,o?.displayValue,!1):(a.getType()==="reference"&&a.doBatch(()=>{a.setName(n?.displayText),a.setReference(o?.displayValue)},`Edit Named '${n?.displayText}'`),r=a),r&&(r.select(),d(r,i))}u?.(e,l,p),c?.()},[s,n,o,c,u,m,g,d]),v=t.he(e=>{let l=null;try{s?.getNames().validateName(e)}catch(p){l=p.message}O({displayText:e,errorText:l})},[]),S=t.he(e=>{a&&a.getName().toLowerCase()===e.toLowerCase()||s?.getNames().validateName(e)},[s,a]),b=t.reactExports.useCallback(e=>{j({displayValue:e??null,errorText:null})},[]);return t.jsxRuntimeExports.jsx(t.p7,{title:(i?"Define":"Edit")+" Range",options:x,onOption:C,onValidateOption:V,defaultOption:m,cancelOption:g,autoFocusSel:".autoFocus",sx:{width:"460px",...R},...h,children:t.jsxRuntimeExports.jsxs(t.Box,{sx:{paddingTop:e=>e.spacing(1),paddingBottom:e=>e.spacing(0),rowGap:e=>e.spacing(1),range:"flex",flexDirection:"column"},children:[t.jsxRuntimeExports.jsx(t.tR,{formName:"name",defaultInput:f,value:n.displayText,onChangeInput:v,onValidate:S,onFocus:e=>{y||e.target?.select(),N(!0)}}),t.jsxRuntimeExports.jsx(t.nR,{formName:"range",value:o.displayValue,onChangeInput:b,resolvedAddress:s.getNames().getRanges.bind(s.getNames()),onFocus:e=>{y||e.target?.select(),N(!0)}})]})})});exports.NamedReferenceDialog=T,exports.default=T;
|