@esri/calcite-components 3.2.0-next.21 → 3.2.0-next.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/23TS7SAK.js +4 -0
- package/dist/calcite/2DC4UOLG.js +4 -0
- package/dist/calcite/2DC4UOLG.js.LEGAL.txt +3 -0
- package/dist/calcite/2FB4QUFD.js +4 -0
- package/dist/calcite/2FB4QUFD.js.LEGAL.txt +3 -0
- package/dist/calcite/2FPUGMP2.js +4 -0
- package/dist/calcite/32ZC5CT6.js +4 -0
- package/dist/calcite/3BBQEPPJ.js +4 -0
- package/dist/calcite/3BBQEPPJ.js.LEGAL.txt +3 -0
- package/dist/calcite/3F4XTSCY.js +4 -0
- package/dist/calcite/3IKIVSOV.js +4 -0
- package/dist/calcite/3IKIVSOV.js.LEGAL.txt +3 -0
- package/dist/calcite/3RKBTSAO.js +4 -0
- package/dist/calcite/3RKBTSAO.js.LEGAL.txt +3 -0
- package/dist/calcite/3Y7VWRKR.js +4 -0
- package/dist/calcite/3Y7VWRKR.js.LEGAL.txt +3 -0
- package/dist/calcite/46FU4CXH.js +4 -0
- package/dist/calcite/46FU4CXH.js.LEGAL.txt +3 -0
- package/dist/calcite/4DZKCBTM.js +6 -0
- package/dist/calcite/4DZKCBTM.js.LEGAL.txt +145 -0
- package/dist/calcite/4VRPU76F.js +4 -0
- package/dist/calcite/4VRPU76F.js.LEGAL.txt +3 -0
- package/dist/calcite/4XRDJTZB.js +4 -0
- package/dist/calcite/54NRNQDV.js +4 -0
- package/dist/calcite/57ISZUZQ.js +4 -0
- package/dist/calcite/5BXWR62Y.js +4 -0
- package/dist/calcite/5BXWR62Y.js.LEGAL.txt +3 -0
- package/dist/calcite/62HHC3DR.js +4 -0
- package/dist/calcite/62HHC3DR.js.LEGAL.txt +3 -0
- package/dist/calcite/6FVTFZY5.js +4 -0
- package/dist/calcite/6FVTFZY5.js.LEGAL.txt +3 -0
- package/dist/calcite/6MMLH4CO.js +4 -0
- package/dist/calcite/6MMLH4CO.js.LEGAL.txt +3 -0
- package/dist/calcite/6SDUEPSW.js +4 -0
- package/dist/calcite/6SDUEPSW.js.LEGAL.txt +3 -0
- package/dist/calcite/722NCXSZ.js +4 -0
- package/dist/calcite/722NCXSZ.js.LEGAL.txt +3 -0
- package/dist/calcite/77JRIUR2.js +4 -0
- package/dist/calcite/77JRIUR2.js.LEGAL.txt +3 -0
- package/dist/calcite/7ISFZ3HT.js +4 -0
- package/dist/calcite/7ISFZ3HT.js.LEGAL.txt +3 -0
- package/dist/calcite/7KQOHMAJ.js +4 -0
- package/dist/calcite/7KQOHMAJ.js.LEGAL.txt +3 -0
- package/dist/calcite/7MJSMZ7Q.js +4 -0
- package/dist/calcite/7MJSMZ7Q.js.LEGAL.txt +3 -0
- package/dist/calcite/7PSI5BB2.js +4 -0
- package/dist/calcite/7PSI5BB2.js.LEGAL.txt +3 -0
- package/dist/calcite/7VMV6V4U.js +4 -0
- package/dist/calcite/7VMV6V4U.js.LEGAL.txt +3 -0
- package/dist/calcite/A2O2572B.js +4 -0
- package/dist/calcite/ADAO3U5P.js +4 -0
- package/dist/calcite/AE5TAZFA.js +4 -0
- package/dist/calcite/AF732L33.js +4 -0
- package/dist/calcite/AF732L33.js.LEGAL.txt +3 -0
- package/dist/calcite/AFAFXZFS.js +5 -0
- package/dist/calcite/AGGDCAIL.js +4 -0
- package/dist/calcite/AGGDCAIL.js.LEGAL.txt +3 -0
- package/dist/calcite/ALF7QZUS.js +4 -0
- package/dist/calcite/ALF7QZUS.js.LEGAL.txt +3 -0
- package/dist/calcite/AOHLKRXJ.js +4 -0
- package/dist/calcite/AOHLKRXJ.js.LEGAL.txt +3 -0
- package/dist/calcite/AS5CU3AA.js +4 -0
- package/dist/calcite/AS5CU3AA.js.LEGAL.txt +3 -0
- package/dist/calcite/AX7GJZCC.js +4 -0
- package/dist/calcite/AX7GJZCC.js.LEGAL.txt +3 -0
- package/dist/calcite/BDPXXRIR.js +4 -0
- package/dist/calcite/BI3K4NNN.js +4 -0
- package/dist/calcite/BI3K4NNN.js.LEGAL.txt +3 -0
- package/dist/calcite/BNJLBHST.js +4 -0
- package/dist/calcite/BNJLBHST.js.LEGAL.txt +3 -0
- package/dist/calcite/BNWELE52.js +4 -0
- package/dist/calcite/BNWELE52.js.LEGAL.txt +3 -0
- package/dist/calcite/BPREVB4Y.js +4 -0
- package/dist/calcite/BPREVB4Y.js.LEGAL.txt +3 -0
- package/dist/calcite/BQ5OI6BK.js +4 -0
- package/dist/calcite/BQ5OI6BK.js.LEGAL.txt +3 -0
- package/dist/calcite/BRMJVHNY.js +4 -0
- package/dist/calcite/BRMJVHNY.js.LEGAL.txt +3 -0
- package/dist/calcite/BRYCKVQZ.js +4 -0
- package/dist/calcite/BRYCKVQZ.js.LEGAL.txt +3 -0
- package/dist/calcite/BYQ4O54D.js +4 -0
- package/dist/calcite/BYQ4O54D.js.LEGAL.txt +3 -0
- package/dist/calcite/C6N3QCXL.js +4 -0
- package/dist/calcite/C6VBSQ6A.js +4 -0
- package/dist/calcite/C6VBSQ6A.js.LEGAL.txt +3 -0
- package/dist/calcite/CEQUSH7X.js +4 -0
- package/dist/calcite/CEQUSH7X.js.LEGAL.txt +3 -0
- package/dist/calcite/CLWGSGT6.js +4 -0
- package/dist/calcite/CML2LHDU.js +4 -0
- package/dist/calcite/CML2LHDU.js.LEGAL.txt +3 -0
- package/dist/calcite/CP2EZD74.js +4 -0
- package/dist/calcite/CQFJEDU7.js +4 -0
- package/dist/calcite/CVL7GFMG.js +4 -0
- package/dist/calcite/CVL7GFMG.js.LEGAL.txt +3 -0
- package/dist/calcite/CWA35YIN.js +4 -0
- package/dist/calcite/CWA35YIN.js.LEGAL.txt +3 -0
- package/dist/calcite/D26XE36Y.js +4 -0
- package/dist/calcite/D2CH5URF.js +4 -0
- package/dist/calcite/D2CH5URF.js.LEGAL.txt +3 -0
- package/dist/calcite/DFGJ5SF6.js +4 -0
- package/dist/calcite/DFGJ5SF6.js.LEGAL.txt +3 -0
- package/dist/calcite/DLFE2BDO.js +4 -0
- package/dist/calcite/DOO5O5VU.js +4 -0
- package/dist/calcite/DOO5O5VU.js.LEGAL.txt +3 -0
- package/dist/calcite/DOWHH2AA.js +4 -0
- package/dist/calcite/DOWHH2AA.js.LEGAL.txt +3 -0
- package/dist/calcite/DX4CIIU2.js +4 -0
- package/dist/calcite/DX4CIIU2.js.LEGAL.txt +3 -0
- package/dist/calcite/DYSCH3LY.js +4 -0
- package/dist/calcite/DYSCH3LY.js.LEGAL.txt +3 -0
- package/dist/calcite/DYT7YUUC.js +4 -0
- package/dist/calcite/E2VVV2OE.js +4 -0
- package/dist/calcite/E2VVV2OE.js.LEGAL.txt +3 -0
- package/dist/calcite/EAEZGC2S.js +4 -0
- package/dist/calcite/EAEZGC2S.js.LEGAL.txt +3 -0
- package/dist/calcite/EBSGZNAK.js +4 -0
- package/dist/calcite/EBSGZNAK.js.LEGAL.txt +3 -0
- package/dist/calcite/EJSYBNZW.js +4 -0
- package/dist/calcite/EJSYBNZW.js.LEGAL.txt +3 -0
- package/dist/calcite/EMIMYIRV.js +4 -0
- package/dist/calcite/ETJ5QKML.js +4 -0
- package/dist/calcite/ETJ5QKML.js.LEGAL.txt +3 -0
- package/dist/calcite/EUTRN4IC.js +4 -0
- package/dist/calcite/EUTRN4IC.js.LEGAL.txt +3 -0
- package/dist/calcite/EXEL5KIF.js +4 -0
- package/dist/calcite/EY5YUQMJ.js +4 -0
- package/dist/calcite/EY5YUQMJ.js.LEGAL.txt +3 -0
- package/dist/calcite/F236HBQV.js +4 -0
- package/dist/calcite/F72UE3QY.js +4 -0
- package/dist/calcite/FD2U5J3Z.js +4 -0
- package/dist/calcite/FD2U5J3Z.js.LEGAL.txt +3 -0
- package/dist/calcite/FESTMZTS.js +5 -0
- package/dist/calcite/FG2ZLO76.js +4 -0
- package/dist/calcite/FG2ZLO76.js.LEGAL.txt +3 -0
- package/dist/calcite/FSD73OTF.js +4 -0
- package/dist/calcite/FSD73OTF.js.LEGAL.txt +3 -0
- package/dist/calcite/FX6ODNKN.js +4 -0
- package/dist/calcite/FX6ODNKN.js.LEGAL.txt +3 -0
- package/dist/calcite/FZG37BNV.js +4 -0
- package/dist/calcite/FZG37BNV.js.LEGAL.txt +3 -0
- package/dist/calcite/G4KZAKQP.js +4 -0
- package/dist/calcite/G4KZAKQP.js.LEGAL.txt +3 -0
- package/dist/calcite/GE4QQJS6.js +4 -0
- package/dist/calcite/GE4QQJS6.js.LEGAL.txt +3 -0
- package/dist/calcite/GJ5Z6EFN.js +4 -0
- package/dist/calcite/GNDH3CPY.js +4 -0
- package/dist/calcite/GNDH3CPY.js.LEGAL.txt +3 -0
- package/dist/calcite/GOC66CWV.js +4 -0
- package/dist/calcite/GOC66CWV.js.LEGAL.txt +3 -0
- package/dist/calcite/GUT5D7FR.js +4 -0
- package/dist/calcite/H2GWUVVC.js +4 -0
- package/dist/calcite/H43FC4UU.js +5 -0
- package/dist/calcite/H43FC4UU.js.LEGAL.txt +3 -0
- package/dist/calcite/H4OK2ZFA.js +4 -0
- package/dist/calcite/H4OK2ZFA.js.LEGAL.txt +3 -0
- package/dist/calcite/HC7NYN57.js +4 -0
- package/dist/calcite/HI6B4SKQ.js +4 -0
- package/dist/calcite/HLSVNIQ5.js +4 -0
- package/dist/calcite/HQMJJI3S.js +4 -0
- package/dist/calcite/HQMJJI3S.js.LEGAL.txt +3 -0
- package/dist/calcite/HS657RFR.js +4 -0
- package/dist/calcite/HY2OXP65.js +4 -0
- package/dist/calcite/HY2OXP65.js.LEGAL.txt +3 -0
- package/dist/calcite/I5EBCMDD.js +4 -0
- package/dist/calcite/IBBIEARZ.js +4 -0
- package/dist/calcite/IE6TRHXJ.js +4 -0
- package/dist/calcite/IE6TRHXJ.js.LEGAL.txt +3 -0
- package/dist/calcite/IQVQVSB2.js +4 -0
- package/dist/calcite/IQVQVSB2.js.LEGAL.txt +3 -0
- package/dist/calcite/ITCXDRHL.js +4 -0
- package/dist/calcite/ITCXDRHL.js.LEGAL.txt +3 -0
- package/dist/calcite/IWVWSL5G.js +4 -0
- package/dist/calcite/IWVWSL5G.js.LEGAL.txt +3 -0
- package/dist/calcite/JHSXZ7CE.js +4 -0
- package/dist/calcite/JHSXZ7CE.js.LEGAL.txt +3 -0
- package/dist/calcite/JL7Q7RC4.js +4 -0
- package/dist/calcite/JL7Q7RC4.js.LEGAL.txt +3 -0
- package/dist/calcite/JLYIMPDV.js +4 -0
- package/dist/calcite/JLYROX6L.js +4 -0
- package/dist/calcite/JLYROX6L.js.LEGAL.txt +3 -0
- package/dist/calcite/JO7HSQDP.js +4 -0
- package/dist/calcite/JO7HSQDP.js.LEGAL.txt +3 -0
- package/dist/calcite/JQAP6ARW.js +4 -0
- package/dist/calcite/JS54VPMJ.js +4 -0
- package/dist/calcite/JS54VPMJ.js.LEGAL.txt +3 -0
- package/dist/calcite/JSXFGUPZ.js +4 -0
- package/dist/calcite/JSXFGUPZ.js.LEGAL.txt +3 -0
- package/dist/calcite/JTXHZJDP.js +28 -0
- package/dist/calcite/JTXHZJDP.js.LEGAL.txt +3 -0
- package/dist/calcite/K27VZQHO.js +4 -0
- package/dist/calcite/K27VZQHO.js.LEGAL.txt +3 -0
- package/dist/calcite/K7EJBWN3.js +4 -0
- package/dist/calcite/K7EJBWN3.js.LEGAL.txt +3 -0
- package/dist/calcite/KDGMPT3W.js +4 -0
- package/dist/calcite/KDGMPT3W.js.LEGAL.txt +3 -0
- package/dist/calcite/KFSTSAJK.js +4 -0
- package/dist/calcite/KFSTSAJK.js.LEGAL.txt +3 -0
- package/dist/calcite/KG4EOUC2.js +4 -0
- package/dist/calcite/KG4EOUC2.js.LEGAL.txt +3 -0
- package/dist/calcite/KIHGOZWE.js +4 -0
- package/dist/calcite/KIHGOZWE.js.LEGAL.txt +3 -0
- package/dist/calcite/KNFJLEEG.js +4 -0
- package/dist/calcite/KOM7DLHR.js +4 -0
- package/dist/calcite/KOM7DLHR.js.LEGAL.txt +3 -0
- package/dist/calcite/KSQJ25LS.js +4 -0
- package/dist/calcite/KSQJ25LS.js.LEGAL.txt +3 -0
- package/dist/calcite/KVWN6MOC.js +4 -0
- package/dist/calcite/KVWN6MOC.js.LEGAL.txt +3 -0
- package/dist/calcite/KVZN7IAF.js +4 -0
- package/dist/calcite/KVZN7IAF.js.LEGAL.txt +3 -0
- package/dist/calcite/KW2XHBCJ.js +4 -0
- package/dist/calcite/KZ2JZDPG.js +4 -0
- package/dist/calcite/KZ2JZDPG.js.LEGAL.txt +7 -0
- package/dist/calcite/L36FXETA.js +4 -0
- package/dist/calcite/L36FXETA.js.LEGAL.txt +3 -0
- package/dist/calcite/L6SA4PG6.js +4 -0
- package/dist/calcite/L6SA4PG6.js.LEGAL.txt +3 -0
- package/dist/calcite/L7CNTTIR.js +4 -0
- package/dist/calcite/L7CNTTIR.js.LEGAL.txt +3 -0
- package/dist/calcite/L7RTVFHJ.js +4 -0
- package/dist/calcite/L7RTVFHJ.js.LEGAL.txt +3 -0
- package/dist/calcite/LFQ2GWQH.js +4 -0
- package/dist/calcite/LFQ2GWQH.js.LEGAL.txt +3 -0
- package/dist/calcite/LG2KB47S.js +4 -0
- package/dist/calcite/LG2KB47S.js.LEGAL.txt +3 -0
- package/dist/calcite/LMPURG6M.js +4 -0
- package/dist/calcite/LMPURG6M.js.LEGAL.txt +3 -0
- package/dist/calcite/LYHCUUTL.js +4 -0
- package/dist/calcite/MBLYS4DX.js +4 -0
- package/dist/calcite/MBLYS4DX.js.LEGAL.txt +3 -0
- package/dist/calcite/MRF3KMW4.js +4 -0
- package/dist/calcite/MRF3KMW4.js.LEGAL.txt +3 -0
- package/dist/calcite/MTWQOBTM.js +4 -0
- package/dist/calcite/MTWQOBTM.js.LEGAL.txt +3 -0
- package/dist/calcite/NGJ2EB3M.js +4 -0
- package/dist/calcite/NHIJGP4P.js +4 -0
- package/dist/calcite/NHIJGP4P.js.LEGAL.txt +3 -0
- package/dist/calcite/NJSAAXBH.js +4 -0
- package/dist/calcite/NJSAAXBH.js.LEGAL.txt +3 -0
- package/dist/calcite/NJU36BD7.js +4 -0
- package/dist/calcite/NKRCDMVN.js +4 -0
- package/dist/calcite/NKRCDMVN.js.LEGAL.txt +3 -0
- package/dist/calcite/NNA3C2LE.js +4 -0
- package/dist/calcite/NNUEKXCN.js +4 -0
- package/dist/calcite/NNUEKXCN.js.LEGAL.txt +3 -0
- package/dist/calcite/NULRGKGN.js +5 -0
- package/dist/calcite/NULRGKGN.js.LEGAL.txt +17 -0
- package/dist/calcite/NVMLMXU4.js +4 -0
- package/dist/calcite/NVMLMXU4.js.LEGAL.txt +3 -0
- package/dist/calcite/NVSUEGAB.js +4 -0
- package/dist/calcite/NVSUEGAB.js.LEGAL.txt +3 -0
- package/dist/calcite/NYPAMQVE.js +4 -0
- package/dist/calcite/NYPAMQVE.js.LEGAL.txt +3 -0
- package/dist/calcite/O3UJBRQX.js +4 -0
- package/dist/calcite/O4NMAXIM.js +4 -0
- package/dist/calcite/O4NMAXIM.js.LEGAL.txt +3 -0
- package/dist/calcite/O5ZZBOT5.js +4 -0
- package/dist/calcite/O5ZZBOT5.js.LEGAL.txt +3 -0
- package/dist/calcite/OF6ZAOBR.js +4 -0
- package/dist/calcite/OF6ZAOBR.js.LEGAL.txt +3 -0
- package/dist/calcite/OIMCZ6NN.js +4 -0
- package/dist/calcite/OMWQA5JK.js +4 -0
- package/dist/calcite/OMWQA5JK.js.LEGAL.txt +3 -0
- package/dist/calcite/OV2Q6I5T.js +4 -0
- package/dist/calcite/OV2Q6I5T.js.LEGAL.txt +3 -0
- package/dist/calcite/OW5IM25Y.js +4 -0
- package/dist/calcite/OW5IM25Y.js.LEGAL.txt +3 -0
- package/dist/calcite/P4LCKKO3.js +4 -0
- package/dist/calcite/P6X27UEA.js +4 -0
- package/dist/calcite/P6X27UEA.js.LEGAL.txt +3 -0
- package/dist/calcite/POHB67PJ.js +4 -0
- package/dist/calcite/POHB67PJ.js.LEGAL.txt +3 -0
- package/dist/calcite/PV22IS64.js +4 -0
- package/dist/calcite/PWEFJA4G.js +4 -0
- package/dist/calcite/PWEFJA4G.js.LEGAL.txt +3 -0
- package/dist/calcite/PWQ4TQQ7.js +4 -0
- package/dist/calcite/PWQ4TQQ7.js.LEGAL.txt +3 -0
- package/dist/calcite/RDY7I7T6.js +4 -0
- package/dist/calcite/S4CEQNHT.js +4 -0
- package/dist/calcite/S4CEQNHT.js.LEGAL.txt +3 -0
- package/dist/calcite/SA53KXLR.js +4 -0
- package/dist/calcite/SA53KXLR.js.LEGAL.txt +3 -0
- package/dist/calcite/SDF3KDIP.js +4 -0
- package/dist/calcite/SFNJ7MBM.js +4 -0
- package/dist/calcite/SFNJ7MBM.js.LEGAL.txt +3 -0
- package/dist/calcite/SMOZX7GP.js +4 -0
- package/dist/calcite/SMOZX7GP.js.LEGAL.txt +3 -0
- package/dist/calcite/SOATIHW2.js +4 -0
- package/dist/calcite/SOATIHW2.js.LEGAL.txt +3 -0
- package/dist/calcite/SOONZL4P.js +4 -0
- package/dist/calcite/SRLONXNN.js +4 -0
- package/dist/calcite/SSTZFSOT.js +4 -0
- package/dist/calcite/SSTZFSOT.js.LEGAL.txt +3 -0
- package/dist/calcite/T3I2RMTV.js +4 -0
- package/dist/calcite/T3I2RMTV.js.LEGAL.txt +3 -0
- package/dist/calcite/T625BCNR.js +4 -0
- package/dist/calcite/TA2SPXCK.js +4 -0
- package/dist/calcite/TA2SPXCK.js.LEGAL.txt +3 -0
- package/dist/calcite/TA3EODXC.js +4 -0
- package/dist/calcite/TA3EODXC.js.LEGAL.txt +3 -0
- package/dist/calcite/TONDSGZQ.js +4 -0
- package/dist/calcite/TPPBOWEU.js +4 -0
- package/dist/calcite/TPPBOWEU.js.LEGAL.txt +3 -0
- package/dist/calcite/TSAAXS7H.js +4 -0
- package/dist/calcite/TSAAXS7H.js.LEGAL.txt +3 -0
- package/dist/calcite/TY75T7NI.js +4 -0
- package/dist/calcite/TY75T7NI.js.LEGAL.txt +3 -0
- package/dist/calcite/TZW77TP6.js +4 -0
- package/dist/calcite/TZW77TP6.js.LEGAL.txt +13 -0
- package/dist/calcite/U4ZYXN6D.js +4 -0
- package/dist/calcite/U4ZYXN6D.js.LEGAL.txt +3 -0
- package/dist/calcite/UFMHTW3U.js +4 -0
- package/dist/calcite/UFMHTW3U.js.LEGAL.txt +3 -0
- package/dist/calcite/UHBFQGYE.js +4 -0
- package/dist/calcite/UHBFQGYE.js.LEGAL.txt +3 -0
- package/dist/calcite/UKABGQXE.js +4 -0
- package/dist/calcite/UKABGQXE.js.LEGAL.txt +3 -0
- package/dist/calcite/ULJZQ42X.js +4 -0
- package/dist/calcite/ULJZQ42X.js.LEGAL.txt +3 -0
- package/dist/calcite/UNNSDQGI.js +4 -0
- package/dist/calcite/UNNSDQGI.js.LEGAL.txt +3 -0
- package/dist/calcite/UNWDZJNX.js +4 -0
- package/dist/calcite/UNWDZJNX.js.LEGAL.txt +3 -0
- package/dist/calcite/USXDBM2Q.js +4 -0
- package/dist/calcite/USXDBM2Q.js.LEGAL.txt +3 -0
- package/dist/calcite/UYJVVOVA.js +4 -0
- package/dist/calcite/UYJVVOVA.js.LEGAL.txt +3 -0
- package/dist/calcite/V3WSF432.js +4 -0
- package/dist/calcite/V3WSF432.js.LEGAL.txt +3 -0
- package/dist/calcite/V44J4TO6.js +4 -0
- package/dist/calcite/V44J4TO6.js.LEGAL.txt +3 -0
- package/dist/calcite/V5KZVC43.js +4 -0
- package/dist/calcite/V5KZVC43.js.LEGAL.txt +3 -0
- package/dist/calcite/VAXMC7RZ.js +4 -0
- package/dist/calcite/VFLWJMAN.js +4 -0
- package/dist/calcite/VFLWJMAN.js.LEGAL.txt +3 -0
- package/dist/calcite/VGGFB4ZN.js +4 -0
- package/dist/calcite/VOIUO7ZT.js +4 -0
- package/dist/calcite/VOIUO7ZT.js.LEGAL.txt +3 -0
- package/dist/calcite/VXYRKVIV.js +4 -0
- package/dist/calcite/VXYRKVIV.js.LEGAL.txt +3 -0
- package/dist/calcite/W24R55TQ.js +4 -0
- package/dist/calcite/W5JMLQU3.js +4 -0
- package/dist/calcite/W6KENT4L.js +4 -0
- package/dist/calcite/W6KENT4L.js.LEGAL.txt +3 -0
- package/dist/calcite/WCVMSSW6.js +4 -0
- package/dist/calcite/WJAFMZTI.js +4 -0
- package/dist/calcite/WQAGHGSW.js +4 -0
- package/dist/calcite/WV4QNJ5X.js +4 -0
- package/dist/calcite/X3FSELRD.js +4 -0
- package/dist/calcite/X3FSELRD.js.LEGAL.txt +3 -0
- package/dist/calcite/X777JUIZ.js +4 -0
- package/dist/calcite/X777JUIZ.js.LEGAL.txt +3 -0
- package/dist/calcite/XNNYKBPT.js +4 -0
- package/dist/calcite/XVAF6XYG.js +4 -0
- package/dist/calcite/XY7QACBD.js +4 -0
- package/dist/calcite/Y5I3NLIT.js +4 -0
- package/dist/calcite/Y5I3NLIT.js.LEGAL.txt +3 -0
- package/dist/calcite/YA4EQDVL.js +22 -0
- package/dist/calcite/YA4EQDVL.js.LEGAL.txt +3 -0
- package/dist/calcite/YBK67K55.js +4 -0
- package/dist/calcite/YILQBBCE.js +4 -0
- package/dist/calcite/YWMXEGGW.js +4 -0
- package/dist/calcite/YWMXEGGW.js.LEGAL.txt +3 -0
- package/dist/calcite/Z3NCWWMA.js +4 -0
- package/dist/calcite/ZEGG2QAC.js +4 -0
- package/dist/calcite/ZEGG2QAC.js.LEGAL.txt +3 -0
- package/dist/calcite/ZF4UBBVP.js +4 -0
- package/dist/calcite/ZF4UBBVP.js.LEGAL.txt +3 -0
- package/dist/calcite/ZFYAG7DY.js +4 -0
- package/dist/calcite/ZL4245KC.js +4 -0
- package/dist/calcite/ZL7HADO3.js +4 -0
- package/dist/calcite/ZL7HADO3.js.LEGAL.txt +3 -0
- package/dist/calcite/ZT4QH5HP.js +4 -0
- package/dist/calcite/ZT4QH5HP.js.LEGAL.txt +3 -0
- package/dist/calcite/ZYWLZVZY.js +4 -0
- package/dist/calcite/ZYWLZVZY.js.LEGAL.txt +3 -0
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/calcite.esm.js.LEGAL.txt +1 -1
- package/dist/chunks/ExpandToggle.js +1 -1
- package/dist/chunks/FloatingArrow.js +1 -1
- package/dist/chunks/Heading.js +1 -1
- package/dist/chunks/Validation.js +1 -1
- package/dist/chunks/XButton.js +1 -1
- package/dist/chunks/array.js +1 -1
- package/dist/chunks/component.js +1 -1
- package/dist/chunks/core.js +1 -1
- package/dist/chunks/date.js +1 -1
- package/dist/chunks/dom.js +1 -1
- package/dist/chunks/dynamicClasses.js +1 -1
- package/dist/chunks/filter.js +1 -1
- package/dist/chunks/floating-ui.js +1 -1
- package/dist/chunks/form.js +1 -1
- package/dist/chunks/global.js +1 -1
- package/dist/chunks/guid.js +1 -1
- package/dist/chunks/input.js +1 -1
- package/dist/chunks/interact.min.js +1 -1
- package/dist/chunks/interactive.js +1 -1
- package/dist/chunks/key.js +1 -1
- package/dist/chunks/label.js +1 -1
- package/dist/chunks/locale.js +1 -1
- package/dist/chunks/logger.js +1 -1
- package/dist/chunks/math.js +1 -1
- package/dist/chunks/observers.js +1 -1
- package/dist/chunks/openCloseComponent.js +1 -1
- package/dist/chunks/resources.js +1 -1
- package/dist/chunks/resources2.js +1 -1
- package/dist/chunks/resources3.js +1 -1
- package/dist/chunks/resources4.js +1 -1
- package/dist/chunks/resources5.js +1 -1
- package/dist/chunks/resources6.js +1 -1
- package/dist/chunks/resources7.js +1 -1
- package/dist/chunks/responsive.js +1 -1
- package/dist/chunks/runtime.js +5 -5
- package/dist/chunks/sortableComponent.js +1 -1
- package/dist/chunks/text.js +1 -1
- package/dist/chunks/time.js +1 -1
- package/dist/chunks/useFocusTrap.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/utils3.js +1 -1
- package/dist/chunks/utils4.js +1 -1
- package/dist/components/calcite-accordion/customElement.js +1 -1
- package/dist/components/calcite-accordion-item/customElement.js +1 -1
- package/dist/components/calcite-action/customElement.js +1 -1
- package/dist/components/calcite-action-bar/customElement.js +1 -1
- package/dist/components/calcite-action-group/customElement.js +1 -1
- package/dist/components/calcite-action-menu/customElement.js +1 -1
- package/dist/components/calcite-action-pad/customElement.js +1 -1
- package/dist/components/calcite-alert/customElement.js +1 -1
- package/dist/components/calcite-autocomplete/customElement.js +1 -1
- package/dist/components/calcite-autocomplete-item/customElement.js +1 -1
- package/dist/components/calcite-autocomplete-item-group/customElement.js +1 -1
- package/dist/components/calcite-avatar/customElement.js +1 -1
- package/dist/components/calcite-block/customElement.js +1 -1
- package/dist/components/calcite-block-group/customElement.js +1 -1
- package/dist/components/calcite-block-section/customElement.js +1 -1
- package/dist/components/calcite-button/customElement.js +1 -1
- package/dist/components/calcite-card/customElement.js +1 -1
- package/dist/components/calcite-card-group/customElement.js +1 -1
- package/dist/components/calcite-carousel/customElement.js +1 -1
- package/dist/components/calcite-carousel-item/customElement.js +1 -1
- package/dist/components/calcite-checkbox/customElement.js +1 -1
- package/dist/components/calcite-chip/customElement.js +1 -1
- package/dist/components/calcite-chip-group/customElement.js +1 -1
- package/dist/components/calcite-color-picker/customElement.js +1 -1
- package/dist/components/calcite-color-picker-hex-input/customElement.js +1 -1
- package/dist/components/calcite-color-picker-swatch/customElement.js +1 -1
- package/dist/components/calcite-combobox/customElement.js +2 -2
- package/dist/components/calcite-combobox-item/customElement.js +1 -1
- package/dist/components/calcite-combobox-item-group/customElement.js +1 -1
- package/dist/components/calcite-date-picker/customElement.js +1 -1
- package/dist/components/calcite-date-picker-day/customElement.js +1 -1
- package/dist/components/calcite-date-picker-month/customElement.js +1 -1
- package/dist/components/calcite-date-picker-month-header/customElement.js +1 -1
- package/dist/components/calcite-dialog/customElement.js +1 -1
- package/dist/components/calcite-dropdown/customElement.js +1 -1
- package/dist/components/calcite-dropdown-group/customElement.js +1 -1
- package/dist/components/calcite-dropdown-item/customElement.js +1 -1
- package/dist/components/calcite-fab/customElement.js +1 -1
- package/dist/components/calcite-filter/customElement.js +1 -1
- package/dist/components/calcite-flow/customElement.js +1 -1
- package/dist/components/calcite-flow-item/customElement.js +1 -1
- package/dist/components/calcite-graph/customElement.js +1 -1
- package/dist/components/calcite-handle/customElement.js +1 -1
- package/dist/components/calcite-icon/customElement.js +1 -1
- package/dist/components/calcite-inline-editable/customElement.js +1 -1
- package/dist/components/calcite-input/customElement.js +2 -2
- package/dist/components/calcite-input-date-picker/customElement.js +1 -1
- package/dist/components/calcite-input-message/customElement.js +1 -1
- package/dist/components/calcite-input-number/customElement.js +2 -2
- package/dist/components/calcite-input-text/customElement.js +2 -2
- package/dist/components/calcite-input-time-picker/customElement.js +1 -1
- package/dist/components/calcite-input-time-zone/customElement.js +1 -1
- package/dist/components/calcite-label/customElement.js +1 -1
- package/dist/components/calcite-link/customElement.js +1 -1
- package/dist/components/calcite-list/customElement.js +1 -1
- package/dist/components/calcite-list-item/customElement.js +2 -2
- package/dist/components/calcite-list-item-group/customElement.js +1 -1
- package/dist/components/calcite-loader/customElement.js +1 -1
- package/dist/components/calcite-menu/customElement.js +1 -1
- package/dist/components/calcite-menu-item/customElement.js +1 -1
- package/dist/components/calcite-meter/customElement.js +1 -1
- package/dist/components/calcite-modal/customElement.js +1 -1
- package/dist/components/calcite-navigation/customElement.js +1 -1
- package/dist/components/calcite-navigation-logo/customElement.js +1 -1
- package/dist/components/calcite-navigation-user/customElement.js +1 -1
- package/dist/components/calcite-notice/customElement.js +1 -1
- package/dist/components/calcite-option/customElement.js +1 -1
- package/dist/components/calcite-option-group/customElement.js +1 -1
- package/dist/components/calcite-pagination/customElement.js +1 -1
- package/dist/components/calcite-panel/customElement.js +1 -1
- package/dist/components/calcite-popover/customElement.js +1 -1
- package/dist/components/calcite-progress/customElement.js +1 -1
- package/dist/components/calcite-radio-button/customElement.js +1 -1
- package/dist/components/calcite-radio-button-group/customElement.js +1 -1
- package/dist/components/calcite-rating/customElement.js +1 -1
- package/dist/components/calcite-scrim/customElement.js +1 -1
- package/dist/components/calcite-segmented-control/customElement.js +1 -1
- package/dist/components/calcite-segmented-control-item/customElement.js +1 -1
- package/dist/components/calcite-select/customElement.js +1 -1
- package/dist/components/calcite-sheet/customElement.js +1 -1
- package/dist/components/calcite-shell/customElement.js +1 -1
- package/dist/components/calcite-shell-center-row/customElement.js +1 -1
- package/dist/components/calcite-shell-panel/customElement.js +1 -1
- package/dist/components/calcite-slider/customElement.js +1 -1
- package/dist/components/calcite-sort-handle/customElement.js +1 -1
- package/dist/components/calcite-sortable-list/customElement.js +1 -1
- package/dist/components/calcite-split-button/customElement.js +1 -1
- package/dist/components/calcite-stack/customElement.js +1 -1
- package/dist/components/calcite-stepper/customElement.js +1 -1
- package/dist/components/calcite-stepper-item/customElement.js +1 -1
- package/dist/components/calcite-switch/customElement.js +1 -1
- package/dist/components/calcite-tab/customElement.js +1 -1
- package/dist/components/calcite-tab-nav/customElement.js +1 -1
- package/dist/components/calcite-tab-title/customElement.js +1 -1
- package/dist/components/calcite-table/customElement.js +1 -1
- package/dist/components/calcite-table-cell/customElement.js +1 -1
- package/dist/components/calcite-table-header/customElement.js +1 -1
- package/dist/components/calcite-table-row/customElement.js +1 -1
- package/dist/components/calcite-tabs/customElement.js +1 -1
- package/dist/components/calcite-text-area/customElement.js +2 -2
- package/dist/components/calcite-tile/customElement.js +1 -1
- package/dist/components/calcite-tile-group/customElement.js +1 -1
- package/dist/components/calcite-tile-select/customElement.js +1 -1
- package/dist/components/calcite-tile-select-group/customElement.js +1 -1
- package/dist/components/calcite-time-picker/customElement.js +1 -1
- package/dist/components/calcite-tip/customElement.js +1 -1
- package/dist/components/calcite-tip-group/customElement.js +1 -1
- package/dist/components/calcite-tip-manager/customElement.js +1 -1
- package/dist/components/calcite-tooltip/customElement.js +1 -1
- package/dist/components/calcite-tree/customElement.js +1 -1
- package/dist/components/calcite-tree-item/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +2 -2
- package/dist/calcite/2AG2ERM7.js +0 -4
- package/dist/calcite/2AG2ERM7.js.LEGAL.txt +0 -3
- package/dist/calcite/2BV3NL5X.js +0 -4
- package/dist/calcite/2BV3NL5X.js.LEGAL.txt +0 -3
- package/dist/calcite/2C2PG4D2.js +0 -4
- package/dist/calcite/2C2PG4D2.js.LEGAL.txt +0 -3
- package/dist/calcite/2FJ7N6T3.js +0 -4
- package/dist/calcite/2FKXUEGS.js +0 -4
- package/dist/calcite/2YWXMHYQ.js +0 -4
- package/dist/calcite/2YWXMHYQ.js.LEGAL.txt +0 -3
- package/dist/calcite/353NCDJ2.js +0 -4
- package/dist/calcite/356RJVZA.js +0 -4
- package/dist/calcite/356RJVZA.js.LEGAL.txt +0 -3
- package/dist/calcite/376LWB6D.js +0 -4
- package/dist/calcite/376LWB6D.js.LEGAL.txt +0 -3
- package/dist/calcite/3K3AVQES.js +0 -4
- package/dist/calcite/3K3AVQES.js.LEGAL.txt +0 -3
- package/dist/calcite/3LCIHNFR.js +0 -4
- package/dist/calcite/3LCIHNFR.js.LEGAL.txt +0 -3
- package/dist/calcite/3RJ5SXIX.js +0 -4
- package/dist/calcite/3VCUZZUC.js +0 -4
- package/dist/calcite/3VCUZZUC.js.LEGAL.txt +0 -3
- package/dist/calcite/3VRCKXWY.js +0 -4
- package/dist/calcite/3VRCKXWY.js.LEGAL.txt +0 -3
- package/dist/calcite/43QSM7N6.js +0 -4
- package/dist/calcite/4AWDWC6H.js +0 -4
- package/dist/calcite/4AWDWC6H.js.LEGAL.txt +0 -3
- package/dist/calcite/4C7WAS2O.js +0 -4
- package/dist/calcite/4C7WAS2O.js.LEGAL.txt +0 -3
- package/dist/calcite/4GJY6CSV.js +0 -4
- package/dist/calcite/4GJY6CSV.js.LEGAL.txt +0 -3
- package/dist/calcite/4OSBWR5S.js +0 -4
- package/dist/calcite/4OSBWR5S.js.LEGAL.txt +0 -3
- package/dist/calcite/57WVKMKO.js +0 -4
- package/dist/calcite/5BP7BD74.js +0 -4
- package/dist/calcite/5BP7BD74.js.LEGAL.txt +0 -3
- package/dist/calcite/5BPMW4J2.js +0 -4
- package/dist/calcite/5PJB7WIB.js +0 -4
- package/dist/calcite/5POL3W7I.js +0 -4
- package/dist/calcite/5U3GC5ZZ.js +0 -4
- package/dist/calcite/5U3GC5ZZ.js.LEGAL.txt +0 -3
- package/dist/calcite/66FWDK3T.js +0 -4
- package/dist/calcite/6AATHCDM.js +0 -4
- package/dist/calcite/6AATHCDM.js.LEGAL.txt +0 -3
- package/dist/calcite/6EXYE7BX.js +0 -4
- package/dist/calcite/6F6U5E5V.js +0 -4
- package/dist/calcite/6F6U5E5V.js.LEGAL.txt +0 -3
- package/dist/calcite/6IACMHAB.js +0 -4
- package/dist/calcite/6IACMHAB.js.LEGAL.txt +0 -3
- package/dist/calcite/6IKG3LIC.js +0 -4
- package/dist/calcite/6KCSRTHC.js +0 -4
- package/dist/calcite/6KCSRTHC.js.LEGAL.txt +0 -3
- package/dist/calcite/6LQTBMWW.js +0 -4
- package/dist/calcite/6LQTBMWW.js.LEGAL.txt +0 -3
- package/dist/calcite/7AVQIEJU.js +0 -4
- package/dist/calcite/7AVQIEJU.js.LEGAL.txt +0 -3
- package/dist/calcite/7DWUTET6.js +0 -4
- package/dist/calcite/7DWUTET6.js.LEGAL.txt +0 -3
- package/dist/calcite/7EBHMPGS.js +0 -4
- package/dist/calcite/7EQXLLQL.js +0 -4
- package/dist/calcite/7EQXLLQL.js.LEGAL.txt +0 -3
- package/dist/calcite/7SBXI52Z.js +0 -4
- package/dist/calcite/7SBXI52Z.js.LEGAL.txt +0 -3
- package/dist/calcite/7SGTLML3.js +0 -4
- package/dist/calcite/7SGTLML3.js.LEGAL.txt +0 -3
- package/dist/calcite/7VZLWRYI.js +0 -6
- package/dist/calcite/7VZLWRYI.js.LEGAL.txt +0 -145
- package/dist/calcite/A6DWA4CR.js +0 -4
- package/dist/calcite/A6DWA4CR.js.LEGAL.txt +0 -3
- package/dist/calcite/A6O3A7NT.js +0 -4
- package/dist/calcite/A6O3A7NT.js.LEGAL.txt +0 -3
- package/dist/calcite/ABKIZ3LR.js +0 -4
- package/dist/calcite/ABKIZ3LR.js.LEGAL.txt +0 -3
- package/dist/calcite/ABP72LQ4.js +0 -4
- package/dist/calcite/AD3WRVEU.js +0 -4
- package/dist/calcite/AD3WRVEU.js.LEGAL.txt +0 -3
- package/dist/calcite/AEWW42GL.js +0 -4
- package/dist/calcite/AEWW42GL.js.LEGAL.txt +0 -3
- package/dist/calcite/AHN7FKAX.js +0 -4
- package/dist/calcite/AHN7FKAX.js.LEGAL.txt +0 -3
- package/dist/calcite/AJSLARZR.js +0 -4
- package/dist/calcite/AOAWCDAB.js +0 -4
- package/dist/calcite/AR4VH5B7.js +0 -4
- package/dist/calcite/AUSWKUOU.js +0 -4
- package/dist/calcite/AUSWKUOU.js.LEGAL.txt +0 -3
- package/dist/calcite/AY6236GH.js +0 -4
- package/dist/calcite/B6O2ONOC.js +0 -4
- package/dist/calcite/B6O2ONOC.js.LEGAL.txt +0 -3
- package/dist/calcite/B74QD6IE.js +0 -4
- package/dist/calcite/BETR2CRN.js +0 -4
- package/dist/calcite/BYFAGRTB.js +0 -4
- package/dist/calcite/BYFAGRTB.js.LEGAL.txt +0 -3
- package/dist/calcite/BZQSQOIO.js +0 -4
- package/dist/calcite/BZQSQOIO.js.LEGAL.txt +0 -3
- package/dist/calcite/CJPY6ILE.js +0 -4
- package/dist/calcite/CS2L7BZD.js +0 -4
- package/dist/calcite/CS2L7BZD.js.LEGAL.txt +0 -3
- package/dist/calcite/CW66JCG4.js +0 -4
- package/dist/calcite/D2UTBDBC.js +0 -4
- package/dist/calcite/D2UTBDBC.js.LEGAL.txt +0 -3
- package/dist/calcite/D5I6D53Y.js +0 -4
- package/dist/calcite/D5I6D53Y.js.LEGAL.txt +0 -3
- package/dist/calcite/DDFZSG2Z.js +0 -4
- package/dist/calcite/DDFZSG2Z.js.LEGAL.txt +0 -3
- package/dist/calcite/DFGMJG4H.js +0 -4
- package/dist/calcite/DFGMJG4H.js.LEGAL.txt +0 -3
- package/dist/calcite/DFSTAFNB.js +0 -4
- package/dist/calcite/DFSTAFNB.js.LEGAL.txt +0 -3
- package/dist/calcite/DGRJHVVW.js +0 -4
- package/dist/calcite/DP5Y23HX.js +0 -4
- package/dist/calcite/DR2A2DWR.js +0 -4
- package/dist/calcite/E2WJ4M3R.js +0 -4
- package/dist/calcite/E2WJ4M3R.js.LEGAL.txt +0 -3
- package/dist/calcite/E4WYS2TH.js +0 -4
- package/dist/calcite/EA6FHTR2.js +0 -4
- package/dist/calcite/EA6FHTR2.js.LEGAL.txt +0 -3
- package/dist/calcite/EJ23FEQN.js +0 -4
- package/dist/calcite/EJ23FEQN.js.LEGAL.txt +0 -3
- package/dist/calcite/EMZ3UPXP.js +0 -4
- package/dist/calcite/EMZ3UPXP.js.LEGAL.txt +0 -3
- package/dist/calcite/EQXOE4S6.js +0 -4
- package/dist/calcite/EX6UDN7B.js +0 -4
- package/dist/calcite/EX6UDN7B.js.LEGAL.txt +0 -3
- package/dist/calcite/F2VHLWMV.js +0 -4
- package/dist/calcite/F2VHLWMV.js.LEGAL.txt +0 -3
- package/dist/calcite/F6LBIEVH.js +0 -4
- package/dist/calcite/FARVYTBH.js +0 -4
- package/dist/calcite/FPMSNAWN.js +0 -4
- package/dist/calcite/FPMSNAWN.js.LEGAL.txt +0 -3
- package/dist/calcite/FRGHHFM4.js +0 -4
- package/dist/calcite/FRGHHFM4.js.LEGAL.txt +0 -3
- package/dist/calcite/FSJGTRVS.js +0 -22
- package/dist/calcite/FSJGTRVS.js.LEGAL.txt +0 -3
- package/dist/calcite/FU5O5LU5.js +0 -4
- package/dist/calcite/FU5O5LU5.js.LEGAL.txt +0 -3
- package/dist/calcite/FWUIA62S.js +0 -4
- package/dist/calcite/FWUIA62S.js.LEGAL.txt +0 -3
- package/dist/calcite/FXJRVUST.js +0 -4
- package/dist/calcite/FYWYTI5T.js +0 -4
- package/dist/calcite/G7N5TOQC.js +0 -4
- package/dist/calcite/G7N5TOQC.js.LEGAL.txt +0 -3
- package/dist/calcite/GKNYY5KA.js +0 -4
- package/dist/calcite/GKNYY5KA.js.LEGAL.txt +0 -3
- package/dist/calcite/GS6K2INL.js +0 -4
- package/dist/calcite/GS6K2INL.js.LEGAL.txt +0 -3
- package/dist/calcite/GSFBHDLB.js +0 -4
- package/dist/calcite/GSFBHDLB.js.LEGAL.txt +0 -3
- package/dist/calcite/GVIL7QWU.js +0 -4
- package/dist/calcite/GVIL7QWU.js.LEGAL.txt +0 -3
- package/dist/calcite/GVRQ3JYS.js +0 -4
- package/dist/calcite/GVRQ3JYS.js.LEGAL.txt +0 -3
- package/dist/calcite/GZJEJF4U.js +0 -4
- package/dist/calcite/GZJEJF4U.js.LEGAL.txt +0 -3
- package/dist/calcite/H6N6ISOH.js +0 -5
- package/dist/calcite/H6N6ISOH.js.LEGAL.txt +0 -3
- package/dist/calcite/HD4B2VRJ.js +0 -4
- package/dist/calcite/HD4B2VRJ.js.LEGAL.txt +0 -3
- package/dist/calcite/I7EVZUEE.js +0 -4
- package/dist/calcite/I7EVZUEE.js.LEGAL.txt +0 -3
- package/dist/calcite/IEM5P4XA.js +0 -4
- package/dist/calcite/IXGCZMVA.js +0 -4
- package/dist/calcite/IXGCZMVA.js.LEGAL.txt +0 -3
- package/dist/calcite/IYQRK5WH.js +0 -4
- package/dist/calcite/IYQRK5WH.js.LEGAL.txt +0 -3
- package/dist/calcite/J3TTK4YH.js +0 -4
- package/dist/calcite/J3TTK4YH.js.LEGAL.txt +0 -3
- package/dist/calcite/J46GMBM7.js +0 -4
- package/dist/calcite/J5RKTQUH.js +0 -4
- package/dist/calcite/J5RKTQUH.js.LEGAL.txt +0 -3
- package/dist/calcite/J5UBUOBX.js +0 -4
- package/dist/calcite/J5UBUOBX.js.LEGAL.txt +0 -3
- package/dist/calcite/JAQNFJMS.js +0 -4
- package/dist/calcite/JAQNFJMS.js.LEGAL.txt +0 -3
- package/dist/calcite/JEZ6KHDG.js +0 -4
- package/dist/calcite/JEZ6KHDG.js.LEGAL.txt +0 -3
- package/dist/calcite/JH5RGATP.js +0 -4
- package/dist/calcite/JH5RGATP.js.LEGAL.txt +0 -3
- package/dist/calcite/JZLIGKF2.js +0 -4
- package/dist/calcite/JZLIGKF2.js.LEGAL.txt +0 -3
- package/dist/calcite/JZVHPNUZ.js +0 -5
- package/dist/calcite/K3L7BRZJ.js +0 -4
- package/dist/calcite/K3L7BRZJ.js.LEGAL.txt +0 -3
- package/dist/calcite/KA5G2LVC.js +0 -4
- package/dist/calcite/KA5G2LVC.js.LEGAL.txt +0 -3
- package/dist/calcite/KHYVM4CC.js +0 -5
- package/dist/calcite/KKSXPVA7.js +0 -4
- package/dist/calcite/KKSXPVA7.js.LEGAL.txt +0 -3
- package/dist/calcite/KMDQBHFG.js +0 -4
- package/dist/calcite/KMDQBHFG.js.LEGAL.txt +0 -3
- package/dist/calcite/KOZIBZOA.js +0 -4
- package/dist/calcite/KOZIBZOA.js.LEGAL.txt +0 -3
- package/dist/calcite/KSOYYS75.js +0 -4
- package/dist/calcite/KSOYYS75.js.LEGAL.txt +0 -3
- package/dist/calcite/KX2JQXCJ.js +0 -4
- package/dist/calcite/KX2JQXCJ.js.LEGAL.txt +0 -3
- package/dist/calcite/KXSARWKQ.js +0 -4
- package/dist/calcite/KXSARWKQ.js.LEGAL.txt +0 -3
- package/dist/calcite/LAGKPZ2V.js +0 -4
- package/dist/calcite/LAGKPZ2V.js.LEGAL.txt +0 -3
- package/dist/calcite/LHQO6GSF.js +0 -4
- package/dist/calcite/LK466N5Z.js +0 -4
- package/dist/calcite/LK466N5Z.js.LEGAL.txt +0 -3
- package/dist/calcite/LNAK7HYZ.js +0 -4
- package/dist/calcite/LPO4HRZF.js +0 -4
- package/dist/calcite/LPO4HRZF.js.LEGAL.txt +0 -3
- package/dist/calcite/LUVVZFO5.js +0 -5
- package/dist/calcite/LUVVZFO5.js.LEGAL.txt +0 -17
- package/dist/calcite/LV6VXTOS.js +0 -4
- package/dist/calcite/M6SY5E7A.js +0 -4
- package/dist/calcite/M6SY5E7A.js.LEGAL.txt +0 -3
- package/dist/calcite/MHZK7K6R.js +0 -4
- package/dist/calcite/MPVK5PGB.js +0 -4
- package/dist/calcite/MPVK5PGB.js.LEGAL.txt +0 -3
- package/dist/calcite/MW5CJZUF.js +0 -4
- package/dist/calcite/MXWGHUBW.js +0 -4
- package/dist/calcite/MXWGHUBW.js.LEGAL.txt +0 -3
- package/dist/calcite/N5WIM6MC.js +0 -4
- package/dist/calcite/N7F3C74A.js +0 -4
- package/dist/calcite/ND57BU5H.js +0 -4
- package/dist/calcite/ND57BU5H.js.LEGAL.txt +0 -3
- package/dist/calcite/NLKSH3DG.js +0 -4
- package/dist/calcite/NLKSH3DG.js.LEGAL.txt +0 -3
- package/dist/calcite/NOFQWT32.js +0 -4
- package/dist/calcite/NOFQWT32.js.LEGAL.txt +0 -3
- package/dist/calcite/NQLW2NXI.js +0 -4
- package/dist/calcite/NQLW2NXI.js.LEGAL.txt +0 -3
- package/dist/calcite/NRBPBNDZ.js +0 -4
- package/dist/calcite/NRBPBNDZ.js.LEGAL.txt +0 -3
- package/dist/calcite/NVP3ZBE3.js +0 -4
- package/dist/calcite/NVP3ZBE3.js.LEGAL.txt +0 -3
- package/dist/calcite/O3GRRJJQ.js +0 -4
- package/dist/calcite/O3GRRJJQ.js.LEGAL.txt +0 -3
- package/dist/calcite/O3TN2BAA.js +0 -4
- package/dist/calcite/O3TN2BAA.js.LEGAL.txt +0 -3
- package/dist/calcite/O5EDSU2D.js +0 -4
- package/dist/calcite/O5EDSU2D.js.LEGAL.txt +0 -3
- package/dist/calcite/O7HGSVZ3.js +0 -4
- package/dist/calcite/O7HGSVZ3.js.LEGAL.txt +0 -3
- package/dist/calcite/OBIIWVP7.js +0 -4
- package/dist/calcite/OBIIWVP7.js.LEGAL.txt +0 -3
- package/dist/calcite/ODRXUIWG.js +0 -4
- package/dist/calcite/ODRXUIWG.js.LEGAL.txt +0 -3
- package/dist/calcite/OGVP7CKM.js +0 -4
- package/dist/calcite/OGVP7CKM.js.LEGAL.txt +0 -3
- package/dist/calcite/OVC3RME5.js +0 -4
- package/dist/calcite/OWO3OKD2.js +0 -4
- package/dist/calcite/OWO3OKD2.js.LEGAL.txt +0 -7
- package/dist/calcite/P7V7OY5K.js +0 -4
- package/dist/calcite/PDF76WNY.js +0 -4
- package/dist/calcite/PDF76WNY.js.LEGAL.txt +0 -3
- package/dist/calcite/PFSWDLJF.js +0 -4
- package/dist/calcite/PMNHG7WL.js +0 -4
- package/dist/calcite/PMNHG7WL.js.LEGAL.txt +0 -3
- package/dist/calcite/PPM32NKX.js +0 -4
- package/dist/calcite/PPM32NKX.js.LEGAL.txt +0 -3
- package/dist/calcite/PVCQJV2D.js +0 -4
- package/dist/calcite/PVCQJV2D.js.LEGAL.txt +0 -3
- package/dist/calcite/PVNGCHBH.js +0 -4
- package/dist/calcite/PVNGCHBH.js.LEGAL.txt +0 -3
- package/dist/calcite/PWFTKBNY.js +0 -4
- package/dist/calcite/PWFTKBNY.js.LEGAL.txt +0 -3
- package/dist/calcite/Q27S6A3B.js +0 -4
- package/dist/calcite/Q27S6A3B.js.LEGAL.txt +0 -3
- package/dist/calcite/Q6KJXBJZ.js +0 -4
- package/dist/calcite/Q7LUMP4V.js +0 -4
- package/dist/calcite/Q7LUMP4V.js.LEGAL.txt +0 -3
- package/dist/calcite/QALWWYGY.js +0 -4
- package/dist/calcite/QALWWYGY.js.LEGAL.txt +0 -3
- package/dist/calcite/QCMESDTX.js +0 -4
- package/dist/calcite/QCMESDTX.js.LEGAL.txt +0 -3
- package/dist/calcite/QNMS3YXP.js +0 -4
- package/dist/calcite/QNMS3YXP.js.LEGAL.txt +0 -3
- package/dist/calcite/QTIHMSQS.js +0 -4
- package/dist/calcite/QW2GWNGB.js +0 -4
- package/dist/calcite/QW2GWNGB.js.LEGAL.txt +0 -3
- package/dist/calcite/QXDCL47N.js +0 -4
- package/dist/calcite/QZJ5ZLBW.js +0 -4
- package/dist/calcite/QZJ5ZLBW.js.LEGAL.txt +0 -3
- package/dist/calcite/R4DCUP3Q.js +0 -4
- package/dist/calcite/R4DCUP3Q.js.LEGAL.txt +0 -3
- package/dist/calcite/RCJIYMBO.js +0 -4
- package/dist/calcite/RGB7KKRK.js +0 -4
- package/dist/calcite/RGB7KKRK.js.LEGAL.txt +0 -3
- package/dist/calcite/RGCWPT77.js +0 -4
- package/dist/calcite/RGCWPT77.js.LEGAL.txt +0 -3
- package/dist/calcite/ROK45EN3.js +0 -4
- package/dist/calcite/ROK45EN3.js.LEGAL.txt +0 -3
- package/dist/calcite/RY2M5BIZ.js +0 -4
- package/dist/calcite/S2W6YFAM.js +0 -4
- package/dist/calcite/S2W6YFAM.js.LEGAL.txt +0 -3
- package/dist/calcite/SF5LLCSS.js +0 -4
- package/dist/calcite/SF5LLCSS.js.LEGAL.txt +0 -3
- package/dist/calcite/SFY6GQNB.js +0 -4
- package/dist/calcite/SFY6GQNB.js.LEGAL.txt +0 -3
- package/dist/calcite/SHK5ESMF.js +0 -4
- package/dist/calcite/SIHHQ5DX.js +0 -4
- package/dist/calcite/SIHHQ5DX.js.LEGAL.txt +0 -3
- package/dist/calcite/SKYZ7UER.js +0 -4
- package/dist/calcite/SYYUGGLK.js +0 -4
- package/dist/calcite/SYYUGGLK.js.LEGAL.txt +0 -3
- package/dist/calcite/SZZDYTWX.js +0 -4
- package/dist/calcite/SZZDYTWX.js.LEGAL.txt +0 -13
- package/dist/calcite/T3L4ZGMO.js +0 -4
- package/dist/calcite/TBIT2UX7.js +0 -4
- package/dist/calcite/TBIT2UX7.js.LEGAL.txt +0 -3
- package/dist/calcite/TDI3GXKM.js +0 -4
- package/dist/calcite/TDI3GXKM.js.LEGAL.txt +0 -3
- package/dist/calcite/THLT2CA3.js +0 -4
- package/dist/calcite/TSIRKQUB.js +0 -4
- package/dist/calcite/TSIRKQUB.js.LEGAL.txt +0 -3
- package/dist/calcite/TSP54YC3.js +0 -4
- package/dist/calcite/TSP54YC3.js.LEGAL.txt +0 -3
- package/dist/calcite/UHV7JGSK.js +0 -28
- package/dist/calcite/UHV7JGSK.js.LEGAL.txt +0 -3
- package/dist/calcite/ULW667UF.js +0 -4
- package/dist/calcite/ULW667UF.js.LEGAL.txt +0 -3
- package/dist/calcite/UWX3K4QN.js +0 -4
- package/dist/calcite/V43QFXNF.js +0 -4
- package/dist/calcite/V43QFXNF.js.LEGAL.txt +0 -3
- package/dist/calcite/VL7PY5WG.js +0 -4
- package/dist/calcite/VL7PY5WG.js.LEGAL.txt +0 -3
- package/dist/calcite/VQFI4ITF.js +0 -4
- package/dist/calcite/VQFI4ITF.js.LEGAL.txt +0 -3
- package/dist/calcite/VSFK7AKV.js +0 -4
- package/dist/calcite/VSFK7AKV.js.LEGAL.txt +0 -3
- package/dist/calcite/VST5PYZJ.js +0 -4
- package/dist/calcite/VST5PYZJ.js.LEGAL.txt +0 -3
- package/dist/calcite/VWEKQ3PB.js +0 -4
- package/dist/calcite/VXVTJYDW.js +0 -4
- package/dist/calcite/VXVTJYDW.js.LEGAL.txt +0 -3
- package/dist/calcite/VYTEK6CA.js +0 -4
- package/dist/calcite/VYTEK6CA.js.LEGAL.txt +0 -3
- package/dist/calcite/WCAWCVGM.js +0 -4
- package/dist/calcite/WCAWCVGM.js.LEGAL.txt +0 -3
- package/dist/calcite/WOKADAY2.js +0 -4
- package/dist/calcite/WOKADAY2.js.LEGAL.txt +0 -3
- package/dist/calcite/WSJITXRJ.js +0 -4
- package/dist/calcite/WSJITXRJ.js.LEGAL.txt +0 -3
- package/dist/calcite/WSRWEV4O.js +0 -4
- package/dist/calcite/WY5YF6EB.js +0 -4
- package/dist/calcite/WY5YF6EB.js.LEGAL.txt +0 -3
- package/dist/calcite/WYLSWE65.js +0 -4
- package/dist/calcite/WYLSWE65.js.LEGAL.txt +0 -3
- package/dist/calcite/WZRRGWHO.js +0 -4
- package/dist/calcite/WZRRGWHO.js.LEGAL.txt +0 -3
- package/dist/calcite/X4ACNXBW.js +0 -4
- package/dist/calcite/X5IMGG2N.js +0 -4
- package/dist/calcite/X5WOVSUL.js +0 -4
- package/dist/calcite/X5WOVSUL.js.LEGAL.txt +0 -3
- package/dist/calcite/XAYIC6TC.js +0 -4
- package/dist/calcite/XAYIC6TC.js.LEGAL.txt +0 -3
- package/dist/calcite/XFUDLNEW.js +0 -4
- package/dist/calcite/XM3WPHV6.js +0 -4
- package/dist/calcite/XM3WPHV6.js.LEGAL.txt +0 -3
- package/dist/calcite/XQUGBSYC.js +0 -4
- package/dist/calcite/XQUGBSYC.js.LEGAL.txt +0 -3
- package/dist/calcite/XWQ7NL2E.js +0 -4
- package/dist/calcite/XYZVRF62.js +0 -4
- package/dist/calcite/XYZVRF62.js.LEGAL.txt +0 -3
- package/dist/calcite/XZSQMJRX.js +0 -4
- package/dist/calcite/XZSQMJRX.js.LEGAL.txt +0 -3
- package/dist/calcite/YKTRGAWD.js +0 -4
- package/dist/calcite/YKTRGAWD.js.LEGAL.txt +0 -3
- package/dist/calcite/YOZZESHJ.js +0 -4
- package/dist/calcite/YOZZESHJ.js.LEGAL.txt +0 -3
- package/dist/calcite/Z3YXRBI2.js +0 -4
- package/dist/calcite/Z5QK6NJH.js +0 -4
- package/dist/calcite/ZAZ2E7UJ.js +0 -4
- package/dist/calcite/ZAZ2E7UJ.js.LEGAL.txt +0 -3
- package/dist/calcite/ZG3RGZ6M.js +0 -4
- package/dist/calcite/ZKJJLA57.js +0 -4
- package/dist/calcite/ZMFPON5C.js +0 -4
- package/dist/calcite/ZMFPON5C.js.LEGAL.txt +0 -3
- package/dist/calcite/ZO7KO2HA.js +0 -4
- package/dist/calcite/ZPWEDNOB.js +0 -4
- package/dist/calcite/ZYLD6FKO.js +0 -4
- package/dist/calcite/ZYLD6FKO.js.LEGAL.txt +0 -3
- /package/dist/calcite/{2FJ7N6T3.js.LEGAL.txt → 23TS7SAK.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{2FKXUEGS.js.LEGAL.txt → 2FPUGMP2.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{353NCDJ2.js.LEGAL.txt → 32ZC5CT6.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{3RJ5SXIX.js.LEGAL.txt → 3F4XTSCY.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{43QSM7N6.js.LEGAL.txt → 4XRDJTZB.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{J46GMBM7.js.LEGAL.txt → 54NRNQDV.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{57WVKMKO.js.LEGAL.txt → 57ISZUZQ.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{5BPMW4J2.js.LEGAL.txt → A2O2572B.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{5PJB7WIB.js.LEGAL.txt → ADAO3U5P.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{5POL3W7I.js.LEGAL.txt → AE5TAZFA.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{66FWDK3T.js.LEGAL.txt → AFAFXZFS.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{6EXYE7BX.js.LEGAL.txt → BDPXXRIR.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{6IKG3LIC.js.LEGAL.txt → C6N3QCXL.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{MHZK7K6R.js.LEGAL.txt → CLWGSGT6.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{AOAWCDAB.js.LEGAL.txt → CP2EZD74.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{7EBHMPGS.js.LEGAL.txt → CQFJEDU7.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{ABP72LQ4.js.LEGAL.txt → D26XE36Y.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{AJSLARZR.js.LEGAL.txt → DLFE2BDO.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{AR4VH5B7.js.LEGAL.txt → DYT7YUUC.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{ZPWEDNOB.js.LEGAL.txt → EMIMYIRV.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{AY6236GH.js.LEGAL.txt → EXEL5KIF.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{B74QD6IE.js.LEGAL.txt → F236HBQV.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{BETR2CRN.js.LEGAL.txt → F72UE3QY.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{KHYVM4CC.js.LEGAL.txt → FESTMZTS.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{CJPY6ILE.js.LEGAL.txt → GJ5Z6EFN.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{CW66JCG4.js.LEGAL.txt → GUT5D7FR.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{DGRJHVVW.js.LEGAL.txt → H2GWUVVC.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{DP5Y23HX.js.LEGAL.txt → HC7NYN57.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{DR2A2DWR.js.LEGAL.txt → HI6B4SKQ.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{E4WYS2TH.js.LEGAL.txt → HLSVNIQ5.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{EQXOE4S6.js.LEGAL.txt → HS657RFR.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{F6LBIEVH.js.LEGAL.txt → I5EBCMDD.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{FARVYTBH.js.LEGAL.txt → IBBIEARZ.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{FXJRVUST.js.LEGAL.txt → JLYIMPDV.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{FYWYTI5T.js.LEGAL.txt → JQAP6ARW.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{IEM5P4XA.js.LEGAL.txt → KNFJLEEG.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{JZVHPNUZ.js.LEGAL.txt → KW2XHBCJ.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{LHQO6GSF.js.LEGAL.txt → LYHCUUTL.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{LNAK7HYZ.js.LEGAL.txt → NGJ2EB3M.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{LV6VXTOS.js.LEGAL.txt → NJU36BD7.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{MW5CJZUF.js.LEGAL.txt → NNA3C2LE.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{N5WIM6MC.js.LEGAL.txt → O3UJBRQX.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{N7F3C74A.js.LEGAL.txt → OIMCZ6NN.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{OVC3RME5.js.LEGAL.txt → P4LCKKO3.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{P7V7OY5K.js.LEGAL.txt → PV22IS64.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{PFSWDLJF.js.LEGAL.txt → RDY7I7T6.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{Q6KJXBJZ.js.LEGAL.txt → SDF3KDIP.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{QTIHMSQS.js.LEGAL.txt → SOONZL4P.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{QXDCL47N.js.LEGAL.txt → SRLONXNN.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{RCJIYMBO.js.LEGAL.txt → T625BCNR.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{RY2M5BIZ.js.LEGAL.txt → TONDSGZQ.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{SHK5ESMF.js.LEGAL.txt → VAXMC7RZ.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{SKYZ7UER.js.LEGAL.txt → VGGFB4ZN.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{T3L4ZGMO.js.LEGAL.txt → W24R55TQ.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{THLT2CA3.js.LEGAL.txt → W5JMLQU3.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{UWX3K4QN.js.LEGAL.txt → WCVMSSW6.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{VWEKQ3PB.js.LEGAL.txt → WJAFMZTI.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{WSRWEV4O.js.LEGAL.txt → WQAGHGSW.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{X4ACNXBW.js.LEGAL.txt → WV4QNJ5X.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{X5IMGG2N.js.LEGAL.txt → XNNYKBPT.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{XFUDLNEW.js.LEGAL.txt → XVAF6XYG.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{XWQ7NL2E.js.LEGAL.txt → XY7QACBD.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{Z3YXRBI2.js.LEGAL.txt → YBK67K55.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{Z5QK6NJH.js.LEGAL.txt → YILQBBCE.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{ZG3RGZ6M.js.LEGAL.txt → Z3NCWWMA.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{ZKJJLA57.js.LEGAL.txt → ZFYAG7DY.js.LEGAL.txt} +0 -0
- /package/dist/calcite/{ZO7KO2HA.js.LEGAL.txt → ZL4245KC.js.LEGAL.txt} +0 -0
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.23 */
|
|
4
|
+
import{b as I}from"./FD2U5J3Z.js";import"./FESTMZTS.js";import{b as w}from"./OV2Q6I5T.js";import"./VGGFB4ZN.js";import{a as O}from"./KOM7DLHR.js";import{a as H,b as B}from"./CEQUSH7X.js";import{a as s}from"./CLWGSGT6.js";import"./EMIMYIRV.js";import{a as E}from"./6MMLH4CO.js";import{b as S}from"./CP2EZD74.js";import{n as C,u as d}from"./KZ2JZDPG.js";import{d as y}from"./3Y7VWRKR.js";import{a as f}from"./SA53KXLR.js";import"./VXYRKVIV.js";import{H as k,e as $,f as o,j as u,v as l,w as x,x as a}from"./4DZKCBTM.js";var c={content:"content",toggle:"toggle",header:"header"},t={actionsEnd:"actions-end",container:"container",content:"content",contentStart:"content-start",controlContainer:"control-container",description:"description",header:"header",headerContainer:"header-container",headerHasText:"header--has-text",heading:"heading",icon:"icon",iconStart:"icon--start",iconEnd:"icon--end",iconEndContainer:"icon-end-container",invalid:"invalid",statusIcon:"status-icon",title:"title",toggle:"toggle",toggleIcon:"toggle-icon",valid:"valid"},h={actionsEnd:"actions-end",contentStart:"content-start",control:"control",headerMenuActions:"header-menu-actions",icon:"icon"},b={expanded:"chevron-up",collapsed:"chevron-down",valid:"check-circle",invalid:"exclamation-mark-triangle"},j=$`:host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{--calcite-icon-size: 1rem;--calcite-spacing-eighth: .125rem;--calcite-spacing-quarter: .25rem;--calcite-spacing-half: .5rem;--calcite-spacing-three-quarters: .75rem;--calcite-spacing: 1rem;--calcite-spacing-plus-quarter: 1.25rem;--calcite-spacing-plus-half: 1.5rem;--calcite-spacing-double: 2rem;--calcite-menu-min-width: 10rem;--calcite-header-min-height: 3rem;--calcite-footer-min-height: 3rem}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;flex-shrink:0;flex-grow:0;flex-direction:column;border-width:0px;border-block-end-width:1px;border-style:solid;padding:0;transition-property:margin;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-timing-function:cubic-bezier(.215,.44,.42,.88);flex-basis:auto;transition-duration:var(--calcite-animation-timing);border-color:var(--calcite-block-border-color, var(--calcite-color-border-3))}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.header{margin:0;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-color-text-2);color:var(--calcite-color-text-2)}.heading{margin:0;padding:0;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:.5rem}.header{justify-content:flex-start}.header--has-text{padding:var(--calcite-spacing-md)}.header,.toggle{grid-area:header}.header-container{display:grid;align-items:stretch;grid-template:auto/auto 1fr auto auto;grid-template-areas:"handle header control menu actions-end";grid-column:header-start/actions-end;grid-row:1/2}.content-start,.icon,.icon--start,.icon--end{margin-inline-end:var(--calcite-spacing-md)}.icon calcite-loader{margin-inline-end:var(--calcite-spacing-xxxs)}.icon--start,.icon--end{color:var(--calcite-block-text-color, var(--calcite-color-text-3))}.actions-end{grid-area:actions-end}.toggle{margin:0;display:flex;cursor:pointer;flex-wrap:nowrap;align-items:center;justify-content:space-between;border-style:none;padding:0;font-family:var(--calcite-font-family);outline-color:transparent;text-align:initial;background-color:var(--calcite-block-header-background-color, transparent)}.toggle:hover{background-color:var(--calcite-block-header-background-color-hover, var(--calcite-color-foreground-2))}.toggle:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.toggle:active{background-color:var(--calcite-block-header-background-color-press, var(--calcite-color-foreground-3))}calcite-loader[inline]{grid-area:control;align-self:center}calcite-handle{grid-area:handle}.title{margin:0}.header .title .heading{padding:0;font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;transition-property:color;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1);word-wrap:break-word;word-break:break-word;color:var(--calcite-block-heading-text-color, var(--calcite-color-text-2))}.description{margin-block-start:.125rem;padding:0;font-size:var(--calcite-font-size--2);line-height:1.375;word-wrap:break-word;word-break:break-word;color:var(--calcite-block-text-color, var(--calcite-color-text-3))}.icon{display:flex}.status-icon.valid{color:var(--calcite-color-status-success)}.status-icon.invalid{color:var(--calcite-color-status-danger)}@keyframes spin{0%{transform:rotate(0)}50%{transform:rotate(180deg)}to{transform:rotate(360deg)}}.icon-end-container{display:flex;align-items:center;margin-inline-start:auto}.toggle-icon{align-self:center;justify-self:end;transition-property:color;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1);margin-inline-end:var(--calcite-spacing-md);color:var(--calcite-block-text-color, var(--calcite-color-text-3))}.toggle:hover .toggle-icon{color:var(--calcite-block-heading-text-color-press, var(--calcite-color-text-1))}.container{position:relative;display:flex;block-size:100%;flex-direction:column}.content{position:relative;min-block-size:0px;flex:1 1 0%}@keyframes in{0%{opacity:0}to{opacity:1}}.content{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;padding-block:var(--calcite-block-padding, var(--calcite-spacing-sm));padding-inline:var(--calcite-block-padding, var(--calcite-spacing-md))}.content-start{display:flex;align-items:center;color:var(--calcite-block-text-color, var(--calcite-color-text-3))}.control-container{margin:0;display:flex;grid-area:control}calcite-action-menu{grid-area:menu}.actions-end{display:flex;align-items:stretch}:host([expanded]){margin-block:.5rem}:host([expanded]) .header .title .heading{color:var(--calcite-block-heading-text-color-press, var(--calcite-color-text-1))}:host([expanded]) .description{color:var(--calcite-block-text-color, var(--calcite-color-text-2))}:host([expanded]) .icon--start,:host([expanded]) .icon--end{color:var(--calcite-block-text-color, var(--calcite-color-text-1))}:host([hidden]){display:none}[hidden]{display:none}`,v=class extends x{constructor(){super(...arguments),this.transitionProp="margin-top",this.hasContentStart=!1,this.hasControl=!1,this.hasEndActions=!1,this.hasIcon=!1,this.hasMenuActions=!1,this.collapsible=!1,this.disabled=!1,this.dragDisabled=!1,this.dragHandle=!1,this.expanded=!1,this.loading=!1,this.menuPlacement=w,this.messages=E(),this.moveToItems=[],this.overlayPositioning="absolute",this.setPosition=null,this.setSize=null,this.sortHandleOpen=!1,this.calciteBlockBeforeClose=l({cancelable:!1}),this.calciteBlockBeforeOpen=l({cancelable:!1}),this.calciteBlockClose=l({cancelable:!1}),this.calciteBlockOpen=l({cancelable:!1}),this.calciteBlockSortHandleBeforeClose=l({cancelable:!1}),this.calciteBlockSortHandleBeforeOpen=l({cancelable:!1}),this.calciteBlockSortHandleClose=l({cancelable:!1}),this.calciteBlockSortHandleOpen=l({cancelable:!1}),this.calciteBlockToggle=l({cancelable:!1})}static{this.properties={hasContentStart:[16,{state:!0}],hasControl:[16,{state:!0}],hasEndActions:[16,{state:!0}],hasIcon:[16,{state:!0}],hasMenuActions:[16,{state:!0}],collapsible:[7,{reflect:!0,type:Boolean}],description:1,disabled:[7,{reflect:!0,type:Boolean}],dragDisabled:[7,{reflect:!0,type:Boolean}],dragHandle:[7,{reflect:!0,type:Boolean}],expanded:[7,{reflect:!0,type:Boolean}],heading:1,headingLevel:[11,{type:Number,reflect:!0}],iconEnd:[3,{reflect:!0}],iconFlipRtl:[3,{reflect:!0}],iconStart:[3,{reflect:!0}],loading:[7,{reflect:!0,type:Boolean}],label:1,menuFlipPlacements:[0,{attribute:!1}],menuPlacement:[3,{reflect:!0}],messageOverrides:[0,{attribute:!1}],moveToItems:[0,{attribute:!1}],open:[7,{reflect:!0,type:Boolean}],overlayPositioning:[3,{reflect:!0}],setPosition:[9,{type:Number}],setSize:[9,{type:Number}],sortHandleOpen:[7,{reflect:!0,type:Boolean}],status:[3,{reflect:!0}]}}static{this.styles=j}get open(){return this.expanded}set open(e){f.deprecated("property",{name:"open",removalVersion:4,suggested:"expanded"}),this.expanded=e}async setFocus(){await y(this),C(this.el)}connectedCallback(){super.connectedCallback(),this.transitionEl=this.el}load(){!this.heading&&!this.label&&f.warn(`${this.el.tagName} is missing both heading & label. Please provide a heading or label for the component to be accessible.`)}willUpdate(e){e.has("expanded")&&(this.hasUpdated||this.expanded!==!1)&&O(this),e.has("sortHandleOpen")&&(this.hasUpdated||this.sortHandleOpen!==!1)&&this.sortHandleOpenHandler()}updated(){H(this)}onBeforeOpen(){this.calciteBlockBeforeOpen.emit()}onOpen(){this.calciteBlockOpen.emit()}onBeforeClose(){this.calciteBlockBeforeClose.emit()}onClose(){this.calciteBlockClose.emit()}sortHandleOpenHandler(){this.sortHandleEl&&(this.sortHandleEl.open=this.sortHandleOpen)}setSortHandleEl(e){this.sortHandleEl=e,this.sortHandleOpenHandler()}handleSortHandleBeforeOpen(e){e.stopPropagation(),this.calciteBlockSortHandleBeforeOpen.emit()}handleSortHandleBeforeClose(e){e.stopPropagation(),this.calciteBlockSortHandleBeforeClose.emit()}handleSortHandleClose(e){e.stopPropagation(),this.sortHandleOpen=!1,this.calciteBlockSortHandleClose.emit()}handleSortHandleOpen(e){e.stopPropagation(),this.sortHandleOpen=!0,this.calciteBlockSortHandleOpen.emit()}onHeaderClick(){this.expanded=!this.expanded,this.calciteBlockToggle.emit()}controlSlotChangeHandler(e){this.hasControl=d(e)}menuActionsSlotChangeHandler(e){this.hasMenuActions=d(e)}iconSlotChangeHandler(e){this.hasIcon=d(e)}actionsEndSlotChangeHandler(e){this.hasEndActions=d(e)}handleContentStartSlotChange(e){this.hasContentStart=d(e)}renderScrim(){let{loading:e}=this,i=o`<slot></slot>`;return[e?o`<calcite-scrim .loading=${e}></calcite-scrim>`:null,i]}renderLoaderStatusIcon(){let{loading:e,messages:i,status:n}=this;return e?s("loader",o`<div class=${a(t.icon)}><calcite-loader inline .label=${i.loading}></calcite-loader></div>`):n?s("status-icon",o`<div class=${a(t.icon)}><calcite-icon class=${a({[t.statusIcon]:!0,[t.valid]:n=="valid",[t.invalid]:n=="invalid"})} .icon=${b[n]} scale=s></calcite-icon></div>`):s("icon-slot",o`<div class=${a(t.icon)} .hidden=${!this.hasIcon}>${s("icon-slot",o`<slot name=${h.icon} @slotchange=${this.iconSlotChangeHandler}></slot>`)}</div>`)}renderActionsEnd(){return o`<div class=${a(t.actionsEnd)} .hidden=${!this.hasEndActions}><slot name=${h.actionsEnd} @slotchange=${this.actionsEndSlotChangeHandler}></slot></div>`}renderContentStart(){return o`<div class=${a(t.contentStart)} .hidden=${!this.hasContentStart}><slot name=${h.contentStart} @slotchange=${this.handleContentStartSlotChange}></slot></div>`}renderTitle(){let{heading:e,headingLevel:i,description:n}=this;return e||n?o`<div class=${a(t.title)}>${I({class:t.heading,level:i,children:e})}${n?o`<div class=${a(t.description)}>${n}</div>`:null}</div>`:null}renderIcon(e){let{iconFlipRtl:i}=this,n=i==="both"||e==="start"?i==="start":i==="end",r=e==="start"?this.iconStart:this.iconEnd,g=e==="start"?t.iconStart:t.iconEnd;if(r)return s(r,o`<calcite-icon class=${a(g)} .flipRtl=${n} .icon=${r} scale=s></calcite-icon>`)}render(){let{collapsible:e,loading:i,expanded:n,label:r,heading:g,messages:p,description:P,menuFlipPlacements:z,menuPlacement:A,moveToItems:T,setPosition:M,setSize:F,dragDisabled:L}=this,N=n?p.collapse:p.expand,m=o`<header class=${a({[t.header]:!0,[t.headerHasText]:!!(g||P)})} id=${c.header}>${this.renderIcon("start")}${this.renderContentStart()}${this.renderLoaderStatusIcon()}${this.renderTitle()}</header>`,D=n?b.expanded:b.collapsed,R=o`<div class=${a(t.headerContainer)}>${this.dragHandle?o`<calcite-sort-handle .disabled=${L} .label=${g||r} .moveToItems=${T} @calciteSortHandleBeforeClose=${this.handleSortHandleBeforeClose} @calciteSortHandleBeforeOpen=${this.handleSortHandleBeforeOpen} @calciteSortHandleClose=${this.handleSortHandleClose} @calciteSortHandleOpen=${this.handleSortHandleOpen} overlay-positioning=fixed .setPosition=${M} .setSize=${F} ${S(this.setSortHandleEl)}></calcite-sort-handle>`:null}${e?o`<button aria-controls=${c.content} aria-describedby=${c.header} .ariaExpanded=${e?n:null} class=${a(t.toggle)} id=${c.toggle} @click=${this.onHeaderClick} title=${N??u}>${m}<div class=${a(t.iconEndContainer)}>${this.renderIcon("end")}<calcite-icon class=${a(t.toggleIcon)} .icon=${D} scale=s></calcite-icon></div></button>`:this.iconEnd?o`<div>${m}<div class=${a(t.iconEndContainer)}>${this.renderIcon("end")}</div></div>`:m}<div aria-labelledby=${c.header} class=${a(t.controlContainer)} .hidden=${!this.hasControl}><slot name=${h.control} @slotchange=${this.controlSlotChangeHandler}></slot></div><calcite-action-menu .flipPlacements=${z??["top","bottom"]} .hidden=${!this.hasMenuActions} .label=${p.options} .overlayPositioning=${this.overlayPositioning} .placement=${A}><slot name=${h.headerMenuActions} @slotchange=${this.menuActionsSlotChangeHandler}></slot></calcite-action-menu>${this.renderActionsEnd()}</div>`;return B({disabled:this.disabled,children:o`<article aria-label=${r??u} .ariaBusy=${i} class=${a({[t.container]:!0})}>${R}<section aria-labelledby=${c.toggle} class=${a(t.content)} .hidden=${!n} id=${c.content}>${this.renderScrim()}</section></article>`})}};k("calcite-block",v);export{v as Block};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.23 */
|
|
4
|
+
import{b as a}from"./GUT5D7FR.js";import"./ZFYAG7DY.js";var i="sausio_vasario_kovo_baland\u017Eio_gegu\u017E\u0117s_bir\u017Eelio_liepos_rugpj\u016B\u010Dio_rugs\u0117jo_spalio_lapkri\u010Dio_gruod\u017Eio".split("_"),Y="sausis_vasaris_kovas_balandis_gegu\u017E\u0117_bir\u017Eelis_liepa_rugpj\u016Btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),d=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/,M=function(s,_){return d.test(_)?i[s.month()]:Y[s.month()]};M.s=Y;M.f=i;var l={name:"lt",weekdays:"sekmadienis_pirmadienis_antradienis_tre\u010Diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),weekdaysShort:"sek_pir_ant_tre_ket_pen_\u0161e\u0161".split("_"),weekdaysMin:"s_p_a_t_k_pn_\u0161".split("_"),months:M,monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),ordinal:function(s){return s+"."},weekStart:1,relativeTime:{future:"u\u017E %s",past:"prie\u0161 %s",s:"kelias sekundes",m:"minut\u0119",mm:"%d minutes",h:"valand\u0105",hh:"%d valandas",d:"dien\u0105",dd:"%d dienas",M:"m\u0117nes\u012F",MM:"%d m\u0117nesius",y:"metus",yy:"%d metus"},format:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"}};a.locale(l,null,!0);var t=l;export{t as default};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.23 */
|
|
4
|
+
import{c as y,e as z,h as C}from"./UFMHTW3U.js";import{c as k,d as v,e as x}from"./AGGDCAIL.js";import{a as f,b as p}from"./CEQUSH7X.js";import{a as m}from"./NJSAAXBH.js";import{a as d,b as g}from"./CP2EZD74.js";import{e as u}from"./KZ2JZDPG.js";import{d as b}from"./3Y7VWRKR.js";import"./SA53KXLR.js";import"./VXYRKVIV.js";import{C as n,H as h,e as s,f as a,g as l,v as t,w as r,x as o,z as i}from"./4DZKCBTM.js";var w={toggle:"toggle",check:"check-svg"},I=s`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]) .check-svg,:host([scale=s]) .toggle{inline-size:var(--calcite-checkbox-size, .75rem);block-size:var(--calcite-checkbox-size, .75rem)}:host([scale=m]) .check-svg,:host([scale=m]) .toggle{inline-size:var(--calcite-checkbox-size, var(--calcite-font-size--1));block-size:var(--calcite-checkbox-size, var(--calcite-font-size--1))}:host([scale=l]) .check-svg,:host([scale=l]) .toggle{inline-size:var(--calcite-checkbox-size, 1rem);block-size:var(--calcite-checkbox-size, 1rem)}:host{position:relative;display:inline-flex;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}:host .check-svg{pointer-events:none;box-sizing:border-box;display:block;overflow:hidden;background-color:var(--calcite-color-foreground-1);fill:currentColor;stroke:currentColor;stroke-width:1;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;box-shadow:inset 0 0 0 1px var(--calcite-checkbox-border-color, var(--calcite-color-border-input));color:var(--calcite-checkbox-icon-color, var(--calcite-color-background))}:host([status=invalid]:not([checked])) .check-svg{box-shadow:inset 0 0 0 1px var(--calcite-color-status-danger)}:host([status=invalid]:not([checked])) .toggle:focus{outline:2px solid var(--calcite-color-status-danger);outline-offset:calc(2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([checked]) .check-svg,:host([indeterminate]) .check-svg{background-color:var(--calcite-color-brand);box-shadow:inset 0 0 0 1px var(--calcite-color-brand)}:host([hovered]) .toggle .check-svg,:host .toggle:hover .check-svg{box-shadow:inset 0 0 0 2px var(--calcite-checkbox-border-color-hover, var(--calcite-color-brand))}.toggle{position:relative;outline-color:transparent}.toggle:active,.toggle:focus,.toggle:focus-visible{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.toggle:after,.toggle:before{inset-block-start:50%;inset-inline-start:50%;min-block-size:1.5rem;min-inline-size:1.5rem;position:absolute}.toggle:not(.calcite--rtl):after{content:"";transform:translate(-50%) translateY(-50%)}.toggle.calcite--rtl:before{content:"";transform:translate(50%) translateY(-50%)}@media (forced-colors: active){.check-svg{border:1px solid currentColor}}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([hidden]){display:none}[hidden]{display:none}`,c=class extends r{constructor(){super(),this.checkedPath="M5.5 12L2 8.689l.637-.636L5.5 10.727l8.022-7.87.637.637z",this.indeterminatePath="M13 8v1H3V8z",this.onLabelClick=()=>{this.toggle()},this.toggleEl=d(),this.checked=!1,this.disabled=!1,this.hovered=!1,this.indeterminate=!1,this.required=!1,this.scale="m",this.status="idle",this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.calciteCheckboxChange=t({cancelable:!1}),this.calciteInternalCheckboxBlur=t({cancelable:!1}),this.calciteInternalCheckboxFocus=t({cancelable:!1}),this.listen("click",this.clickHandler),this.listen("keydown",this.keyDownHandler)}static{this.properties={checked:[7,{reflect:!0,type:Boolean}],disabled:[7,{reflect:!0,type:Boolean}],form:[3,{reflect:!0}],hovered:[7,{reflect:!0,type:Boolean}],indeterminate:[7,{reflect:!0,type:Boolean}],label:1,name:[3,{reflect:!0}],required:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],status:[3,{reflect:!0}],validity:[0,{attribute:!1}],value:1}}static{this.styles=I}async setFocus(){await b(this),this.toggleEl.value?.focus()}connectedCallback(){super.connectedCallback(),k(this),y(this)}updated(){f(this)}disconnectedCallback(){super.disconnectedCallback(),v(this),z(this)}syncHiddenFormInput(e){e.type="checkbox"}getPath(){return this.indeterminate?this.indeterminatePath:this.checked?this.checkedPath:""}toggle(){this.disabled||(this.checked=!this.checked,this.setFocus(),this.indeterminate=!1,this.calciteCheckboxChange.emit())}keyDownHandler(e){m(e.key)&&(this.toggle(),e.preventDefault())}clickHandler(){this.toggle()}onToggleBlur(){this.calciteInternalCheckboxBlur.emit(!1)}onToggleFocus(){this.calciteInternalCheckboxFocus.emit(!0)}render(){let e=u(this.el)==="rtl";return p({disabled:this.disabled,children:a`<div .ariaChecked=${this.checked} .ariaLabel=${x(this)} class=${o({[w.toggle]:!0,[n.rtl]:e})} @blur=${this.onToggleBlur} @focus=${this.onToggleFocus} role=checkbox tabindex=${(this.disabled?void 0:0)??i} ${g(this.toggleEl)}><svg aria-hidden=true class=${o(w.check)} viewBox="0 0 16 16">${l`<path d=${this.getPath()??i} />`}</svg><slot></slot></div>${C({component:this})}`})}};h("calcite-checkbox",c);export{c as Checkbox};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.23 */
|
|
4
|
+
import{a as c,b as r,f as d}from"./AGGDCAIL.js";import"./KZ2JZDPG.js";import"./VXYRKVIV.js";import{H as o,e as a,f as l,v as i,w as n,x as s}from"./4DZKCBTM.js";var m={container:"container"},b=a`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}:host([alignment=start]){text-align:start}:host([alignment=end]){text-align:end}:host([alignment=center]){text-align:center}:host([scale=s]) .container{gap:.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;margin-block-end:var(--calcite-label-margin-bottom, .5rem)}:host([scale=m]) .container{gap:.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-block-end:var(--calcite-label-margin-bottom, .75rem)}:host([scale=l]) .container{gap:.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-block-end:var(--calcite-label-margin-bottom, 1rem)}:host .container{margin-inline:0px;margin-block-start:0px;inline-size:100%;line-height:1.375;color:var(--calcite-color-text-1);color:var(--calcite-label-text-color, var(--calcite-color-text-1))}:host([layout=default]) .container{display:flex;flex-direction:column}:host([layout=inline]) .container,:host([layout=inline-space-between]) .container{display:flex;flex-direction:row;align-items:center;gap:.5rem}:host([layout=inline][scale=l]) .container{gap:.75rem}:host([layout=inline-space-between]) .container{justify-content:space-between}:host([disabled])>.container{opacity:var(--calcite-opacity-disabled)}:host([disabled]) ::slotted(*[disabled]),:host([disabled]) ::slotted(*[disabled] *){--tw-bg-opacity: 1}:host([disabled]) ::slotted(calcite-input-message:not([active])){--tw-bg-opacity: 0}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`,t=class extends n{constructor(){super(),this.alignment="start",this.layout="default",this.scale="m",this.calciteInternalLabelClick=i({bubbles:!1,cancelable:!1}),this.listen("click",this.labelClickHandler)}static{this.properties={alignment:[3,{reflect:!0}],for:[3,{reflect:!0}],layout:[3,{reflect:!0}],scale:[3,{reflect:!0}]}}static{this.styles=b}connectedCallback(){super.connectedCallback(),document.dispatchEvent(new CustomEvent(c))}willUpdate(e){e.has("for")&&d(this.el)}disconnectedCallback(){super.disconnectedCallback(),document.dispatchEvent(new CustomEvent(r))}labelClickHandler(e){window.getSelection()?.type!=="Range"&&this.calciteInternalLabelClick.emit({sourceEvent:e})}render(){return l`<div class=${s(m.container)}><slot></slot></div>`}};o("calcite-label",t);export{t as Label};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.23 */
|
|
4
|
+
import{a as E}from"./NULRGKGN.js";import{p as g}from"./VGGFB4ZN.js";import{a as S}from"./KOM7DLHR.js";import{a as p}from"./CLWGSGT6.js";import{a as m}from"./7ISFZ3HT.js";import{a as O}from"./6MMLH4CO.js";import{a as u,b as r}from"./CP2EZD74.js";import{b,n as z,u as n,v as f}from"./KZ2JZDPG.js";import{a as $,d as B}from"./3Y7VWRKR.js";import{a as C}from"./SA53KXLR.js";import"./VXYRKVIV.js";import{A as h,H as w,e as y,f as a,j as x,v as l,w as k,x as o}from"./4DZKCBTM.js";var t={modal:"modal",title:"title",header:"header",footer:"footer",scrim:"scrim",back:"back",close:"close",secondary:"secondary",primary:"primary",container:"container",containerOpen:"container--open",content:"content",contentNoFooter:"content--no-footer",contentBottom:"content-bottom",contentTop:"content-top",openingIdle:"modal--opening-idle",openingActive:"modal--opening-active",closingIdle:"modal--closing-idle",closingActive:"modal--closing-active"},D={close:"x"},s={content:"content",contentBottom:"content-bottom",contentTop:"content-top",back:"back",secondary:"secondary",primary:"primary"},M=y`:host{--calcite-modal-scrim-background: rgba(0, 0, 0, .85);position:fixed;inset:0;z-index:var(--calcite-z-index-overlay);display:flex;opacity:0;visibility:hidden!important;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow),opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(.215,.44,.42,.88);--calcite-modal-scrim-background-internal: rgba(0, 0, 0, .85)}.content-top[hidden],.content-bottom[hidden]{display:none}.container{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;overflow-y:hidden;color:var(--calcite-color-text-2);opacity:0;visibility:hidden!important;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow),opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(.215,.44,.42,.88)}:host([scale=s]){--calcite-modal-padding-internal: .75rem;--calcite-modal-padding-large-internal: 1rem;--calcite-modal-title-text-internal: var(--calcite-font-size-1);--calcite-modal-content-text-internal: var(--calcite-font-size--1)}:host([scale=m]){--calcite-modal-padding-internal: 1rem;--calcite-modal-padding-large-internal: 1.25rem;--calcite-modal-title-text-internal: var(--calcite-font-size-2);--calcite-modal-content-text-internal: var(--calcite-font-size-0)}:host([scale=l]){--calcite-modal-padding-internal: 1.25rem;--calcite-modal-padding-large-internal: 1.5rem;--calcite-modal-title-text-internal: var(--calcite-font-size-3);--calcite-modal-content-text-internal: var(--calcite-font-size-1)}.scrim{--calcite-scrim-background: var(--calcite-modal-scrim-background, var(--calcite-color-transparent-scrim));position:absolute;inset:0;display:flex;overflow-y:hidden}.modal{pointer-events:none;z-index:var(--calcite-z-index-modal);float:none;margin:1.5rem;box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;overflow:hidden;border-radius:.25rem;background-color:var(--calcite-color-foreground-1);opacity:0;--tw-shadow: 0 2px 12px -4px rgba(0, 0, 0, .2), 0 2px 4px -2px rgba(0, 0, 0, .16);--tw-shadow-colored: 0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);-webkit-overflow-scrolling:touch;visibility:hidden;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(.215,.44,.42,.88),visibility 0ms linear var(--calcite-internal-animation-timing-slow),opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(.215,.44,.42,.88);--calcite-modal-hidden-position: translate3d(0, 20px, 0);--calcite-modal-shown-position: translate3d(0, 0, 0)}.modal--opening-idle{transform:var(--calcite-modal-hidden-position)}.modal--opening-active,.modal--closing-idle{transform:var(--calcite-modal-shown-position)}.modal--closing-active{transform:var(--calcite-modal-hidden-position)}:host([opened]){opacity:1;visibility:visible!important;transition-delay:0ms}.container--open{opacity:1;visibility:visible!important;transition-delay:0ms}.container--open .modal{pointer-events:auto;visibility:visible;opacity:1;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(.215,.44,.42,.88),visibility 0ms linear,opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(.215,.44,.42,.88),max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(.215,.44,.42,.88),max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(.215,.44,.42,.88);transition-delay:0ms}.header{z-index:var(--calcite-z-index-header);display:flex;min-inline-size:0px;max-inline-size:100%;border-start-start-radius:.25rem;border-start-end-radius:.25rem;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-1);flex:0 0 auto}.close{order:2;margin:0;cursor:pointer;appearance:none;border-style:none;background-color:transparent;color:var(--calcite-color-text-3);outline-color:transparent;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-internal);flex:0 0 auto}.close calcite-icon{vertical-align:-2px}.close:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.close:hover,.close:focus,.close:active{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}.title{order:1;display:flex;min-inline-size:0px;align-items:center;flex:1 1 auto;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-large-internal)}slot[name=header]::slotted(*),*::slotted([slot=header]){margin:0;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-1);font-size:var(--calcite-modal-title-text-internal)}.content{position:relative;box-sizing:border-box;display:block;block-size:100%;overflow:auto;padding:0;background-color:var(--calcite-modal-content-background, var(--calcite-color-foreground-1));max-block-size:100%;padding:var(--calcite-modal-content-padding, var(--calcite-modal-padding-internal))}.content-top,.content-bottom{z-index:var(--calcite-z-index-header);display:flex;border-width:0px;border-style:solid;border-color:var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-1);flex:0 0 auto;padding:var(--calcite-modal-padding-internal)}.content-top{min-inline-size:0px;max-inline-size:100%;border-block-end-width:1px}.content-bottom{margin-block-start:auto;box-sizing:border-box;inline-size:100%;justify-content:space-between;border-block-start-width:1px}.content-top:not(.header~.content-top){border-start-start-radius:.25rem;border-start-end-radius:.25rem}.content-bottom:not(.content-bottom~.footer),.content--no-footer{border-end-end-radius:.25rem;border-end-start-radius:.25rem}slot[name=content]::slotted(*),*::slotted([slot=content]){font-size:var(--calcite-modal-context-text-internal)}.footer{z-index:var(--calcite-z-index-header);margin-block-start:auto;box-sizing:border-box;display:flex;inline-size:100%;justify-content:space-between;border-end-end-radius:.25rem;border-end-start-radius:.25rem;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-1);flex:0 0 auto;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-large-internal)}.footer--hide-back .back,.footer--hide-secondary .secondary{display:none}.back{display:block;margin-inline-end:auto}.secondary{margin-inline:.25rem;display:block}slot[name=primary]{display:block}:host([width=small]) .modal{inline-size:auto}:host([width-scale=s]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 32rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 35rem){:host([width-scale=s]) .modal{margin:0;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width-scale=s]) .content{flex:1 1 auto;max-block-size:unset}:host([width-scale=s][docked]) .container{align-items:flex-end}}:host([width-scale=m]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 48rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 51rem){:host([width-scale=m]) .modal{margin:0;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width-scale=m]) .content{flex:1 1 auto;max-block-size:unset}:host([width-scale=m][docked]) .container{align-items:flex-end}}:host([width-scale=l]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 94rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 97rem){:host([width-scale=l]) .modal{margin:0;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width-scale=l]) .content{flex:1 1 auto;max-block-size:unset}:host([width-scale=l][docked]) .container{align-items:flex-end}}:host([fullscreen]) .modal{margin:0;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0;--calcite-modal-hidden-position: translate3D(0, 20px, 0) scale(.95);--calcite-modal-shown-position: translate3D(0, 0, 0) scale(1)}:host([fullscreen]) .content{max-block-size:100%;flex:1 1 auto}:host([opened][fullscreen]) .header,:host([opened][fullscreen]) .footer,:host([opened][fullscreen]) .content-top,:host([opened][fullscreen]) .content-bottom{border-radius:0}:host([docked]) .modal{block-size:var(--calcite-modal-height, auto)}:host([docked]) .content{block-size:auto;flex:1 1 auto}:host([kind=brand]) .modal{border-color:var(--calcite-color-brand)}:host([kind=danger]) .modal{border-color:var(--calcite-color-status-danger)}:host([kind=info]) .modal{border-color:var(--calcite-color-status-info)}:host([kind=success]) .modal{border-color:var(--calcite-color-status-success)}:host([kind=warning]) .modal{border-color:var(--calcite-color-status-warning)}:host([kind=brand]) .modal,:host([kind=danger]) .modal,:host([kind=info]) .modal,:host([kind=success]) .modal,:host([kind=warning]) .modal{border-width:0px;border-block-start-width:4px;border-style:solid}:host([kind=brand]) .header,:host([kind=brand]) .content-top,:host([kind=danger]) .header,:host([kind=danger]) .content-top,:host([kind=info]) .header,:host([kind=info]) .content-top,:host([kind=success]) .header,:host([kind=success]) .content-top,:host([kind=warning]) .header,:host([kind=warning]) .content-top{border-radius:.25rem;border-end-end-radius:0px;border-end-start-radius:0px}@media screen and (max-width: 860px){* slot[name=header]::slotted(content-top),* content-top::slotted([slot=header]){font-size:var(--calcite-font-size-1)}.footer,.content-bottom{position:sticky;inset-block-end:0px}}@media screen and (max-width: 480px){.footer,.content-bottom{flex-direction:column}.back,.secondary{margin:0;margin-block-end:.25rem}}:host([hidden]){display:none}[hidden]{display:none}`,c=0,T="",v=class extends k{constructor(){super(),this.closeButtonEl=u(),this.cssVarObserver=m("mutation",()=>{this.updateSizeCssVars()}),this.focusTrap=E({triggerProp:"open",focusTrapOptions:{clickOutsideDeactivates:!1,escapeDeactivates:e=>(!e.defaultPrevented&&!this.escapeDisabled&&(this.open=!1,e.preventDefault()),!1)}})(this),this.ignoreOpenChange=!1,this.modalContent=u(),this.mutationObserver=m("mutation",()=>this.focusTrap.updateContainerElements()),this._open=!1,this.openEnd=()=>{this.setFocus(),this.el.removeEventListener("calciteModalOpen",this.openEnd)},this.openProp="opened",this.transitionProp="opacity",this.hasBack=!1,this.hasContentBottom=!1,this.hasContentTop=!1,this.hasFooter=!1,this.hasPrimary=!1,this.hasSecondary=!1,this.closeButtonDisabled=!1,this.escapeDisabled=!1,this.focusTrapDisabled=!1,this.messages=O(),this.opened=!1,this.outsideCloseDisabled=!1,this.scale="m",this.widthScale="m",this.calciteModalBeforeClose=l({cancelable:!1}),this.calciteModalBeforeOpen=l({cancelable:!1}),this.calciteModalClose=l({cancelable:!1}),this.calciteModalOpen=l({cancelable:!1}),this.keyDownHandler=e=>{let{defaultPrevented:i,key:d}=e;!i&&this.focusTrapDisabled&&this.open&&!this.escapeDisabled&&d==="Escape"&&(e.preventDefault(),this.open=!1)},this.listen("keydown",this.keyDownHandler)}static{this.properties={contentEl:[16,{state:!0}],cssHeight:[16,{state:!0}],cssWidth:[16,{state:!0}],hasBack:[16,{state:!0}],hasContentBottom:[16,{state:!0}],hasContentTop:[16,{state:!0}],hasFooter:[16,{state:!0}],hasPrimary:[16,{state:!0}],hasSecondary:[16,{state:!0}],titleEl:[16,{state:!0}],beforeClose:[0,{attribute:!1}],closeButtonDisabled:[7,{reflect:!0,type:Boolean}],docked:[7,{reflect:!0,type:Boolean}],escapeDisabled:[7,{reflect:!0,type:Boolean}],focusTrapDisabled:[7,{reflect:!0,type:Boolean}],focusTrapOptions:[0,{attribute:!1}],fullscreen:[7,{reflect:!0,type:Boolean}],kind:[3,{reflect:!0}],messageOverrides:[0,{attribute:!1}],open:[7,{reflect:!0,type:Boolean}],opened:[7,{reflect:!0,type:Boolean}],outsideCloseDisabled:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],widthScale:[3,{reflect:!0}]}}static{this.styles=M}get open(){return this._open}set open(e){let i=this._open;e!==i&&(this._open=e,this.toggleModal(e))}async scrollContent(e=0,i=0){this.modalContent.value&&(this.modalContent.value.scrollTo?this.modalContent.value.scrollTo({top:e,left:i,behavior:"smooth"}):(this.modalContent.value.scrollTop=e,this.modalContent.value.scrollLeft=i))}async setFocus(){await B(this),z(this.el)}async updateFocusTrapElements(e){this.focusTrap.setExtraContainers(e),this.focusTrap.updateContainerElements()}connectedCallback(){super.connectedCallback(),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.cssVarObserver?.observe(this.el,{attributeFilter:["style"]}),this.updateSizeCssVars()}async load(){C.deprecated("component",{name:"modal",removalVersion:4,suggested:"dialog"}),this.open&&this.openModal()}willUpdate(e){(e.has("hasBack")&&(this.hasUpdated||this.hasBack!==!1)||e.has("hasPrimary")&&(this.hasUpdated||this.hasPrimary!==!1)||e.has("hasSecondary")&&(this.hasUpdated||this.hasSecondary!==!1))&&(this.hasFooter=this.hasBack||this.hasPrimary||this.hasSecondary),e.has("opened")&&(this.hasUpdated||this.opened!==!1)&&this.handleOpenedChange(this.opened)}disconnectedCallback(){super.disconnectedCallback(),this.removeOverflowHiddenClass(),this.mutationObserver?.disconnect(),this.cssVarObserver?.disconnect()}handleHeaderSlotChange(e){this.titleEl=f(e)[0]}handleContentSlotChange(e){this.contentEl=f(e)[0]}handleBackSlotChange(e){this.hasBack=n(e)}handlePrimarySlotChange(e){this.hasPrimary=n(e)}handleSecondarySlotChange(e){this.hasSecondary=n(e)}setTransitionEl(e){e&&(this.transitionEl=e)}onBeforeOpen(){this.transitionEl?.classList.add(t.openingActive),this.calciteModalBeforeOpen.emit()}onOpen(){this.transitionEl?.classList.remove(t.openingIdle,t.openingActive),this.calciteModalOpen.emit(),this.focusTrap.activate()}onBeforeClose(){this.transitionEl?.classList.add(t.closingActive),this.calciteModalBeforeClose.emit()}onClose(){this.transitionEl?.classList.remove(t.closingIdle,t.closingActive),this.calciteModalClose.emit(),this.focusTrap.deactivate()}toggleModal(e){this.ignoreOpenChange||(e?this.openModal():this.closeModal())}handleOpenedChange(e){let{transitionEl:i}=this;if(!i)return;let d=e?t.openingIdle:t.closingIdle;i.classList.add(d),S(this)}handleCloseClick(){this.open=!1}async openModal(){await this.componentOnReady(),this.el.addEventListener("calciteModalOpen",this.openEnd),this.opened=!0,this.titleId=b(this.titleEl),this.contentId=b(this.contentEl),g(this.el)===document.body&&(c===0&&(T=document.documentElement.style.overflow),c++,document.documentElement.style.setProperty("overflow","hidden"))}handleOutsideClose(){this.outsideCloseDisabled||(this.open=!1)}async closeModal(){if(this.beforeClose)try{await this.beforeClose(this.el)}catch{requestAnimationFrame(()=>{this.ignoreOpenChange=!0,this.open=!0,this.ignoreOpenChange=!1});return}g(this.el)===document.body&&(c--,c===0&&this.removeOverflowHiddenClass()),this.opened=!1}removeOverflowHiddenClass(){document.documentElement.style.setProperty("overflow",T)}updateSizeCssVars(){this.cssWidth=getComputedStyle(this.el).getPropertyValue("--calcite-modal-width"),this.cssHeight=getComputedStyle(this.el).getPropertyValue("--calcite-modal-height")}contentTopSlotChangeHandler(e){this.hasContentTop=n(e)}contentBottomSlotChangeHandler(e){this.hasContentBottom=n(e)}render(){return h(this.el,"aria-describedby",this.contentId),h(this.el,"aria-labelledby",this.titleId),this.el.ariaModal="true",this.el.role="dialog",a`<div class=${o({[t.container]:!0,[t.containerOpen]:this.opened})}><calcite-scrim class=${o(t.scrim)} @click=${this.handleOutsideClose}></calcite-scrim>${this.renderStyle()}<div class=${o({[t.modal]:!0})} ${r(this.setTransitionEl)}><div class=${o(t.header)}>${this.renderCloseButton()}<header class=${o(t.title)}><slot name=${t.header} @slotchange=${this.handleHeaderSlotChange}></slot></header></div>${this.renderContentTop()}<div class=${o({[t.content]:!0,[t.contentNoFooter]:!this.hasFooter})} ${r(this.modalContent)}><slot name=${s.content} @slotchange=${this.handleContentSlotChange}></slot></div>${this.renderContentBottom()}${this.renderFooter()}</div></div>`}renderFooter(){return p("footer",a`<div class=${o(t.footer)} .hidden=${!this.hasFooter}><span class=${o(t.back)}><slot name=${s.back} @slotchange=${this.handleBackSlotChange}></slot></span><span class=${o(t.secondary)}><slot name=${s.secondary} @slotchange=${this.handleSecondarySlotChange}></slot></span><span class=${o(t.primary)}><slot name=${s.primary} @slotchange=${this.handlePrimarySlotChange}></slot></span></div>`)}renderContentTop(){return a`<div class=${o(t.contentTop)} .hidden=${!this.hasContentTop}><slot name=${s.contentTop} @slotchange=${this.contentTopSlotChangeHandler}></slot></div>`}renderContentBottom(){return a`<div class=${o(t.contentBottom)} .hidden=${!this.hasContentBottom}><slot name=${s.contentBottom} @slotchange=${this.contentBottomSlotChangeHandler}></slot></div>`}renderCloseButton(){return this.closeButtonDisabled?null:p("button",a`<button .ariaLabel=${this.messages.close} class=${o(t.close)} @click=${this.handleCloseClick} title=${this.messages.close??x} ${r(this.closeButtonEl)}><calcite-icon .icon=${D.close} .scale=${$(this.scale)}></calcite-icon></button>`)}renderStyle(){if(!this.fullscreen&&(this.cssWidth||this.cssHeight))return a`<style>${`.${t.container} {
|
|
5
|
+
${this.docked&&this.cssWidth?"align-items: center !important;":""}
|
|
6
|
+
}
|
|
7
|
+
.${t.modal} {
|
|
8
|
+
block-size: ${this.cssHeight?this.cssHeight:"auto"} !important;
|
|
9
|
+
${this.cssWidth?`inline-size: ${this.cssWidth} !important;`:""}
|
|
10
|
+
${this.cssWidth?`max-inline-size: ${this.cssWidth} !important;`:""}
|
|
11
|
+
${this.docked?"border-radius: var(--calcite-border-radius) !important;":""}
|
|
12
|
+
}
|
|
13
|
+
@media screen and (max-width: ${this.cssWidth}) {
|
|
14
|
+
.${t.container} {
|
|
15
|
+
${this.docked?"align-items: flex-end !important;":""}
|
|
16
|
+
}
|
|
17
|
+
.${t.modal} {
|
|
18
|
+
max-block-size: 100% !important;
|
|
19
|
+
inline-size: 100% !important;
|
|
20
|
+
max-inline-size: 100% !important;
|
|
21
|
+
min-inline-size: 100% !important;
|
|
22
|
+
margin: 0 !important;
|
|
23
|
+
${this.docked?"":"block-size: 100% !important;"}
|
|
24
|
+
${this.docked?"":"border-radius: 0 !important;"}
|
|
25
|
+
${this.docked?"border-radius: var(--calcite-border-radius) var(--calcite-border-radius) 0 0 !important;":""}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
`}</style>`}};w("calcite-modal",v);export{v as Modal};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.23 */
|
|
4
|
+
var Cr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Rr(F){return F&&F.__esModule&&Object.prototype.hasOwnProperty.call(F,"default")?F.default:F}var Xe={exports:{}};Xe.exports;(function(F,Fr){(function(Ye,ie){F.exports=ie()})(Cr,function(){function Ye(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function ie(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Ye(Object(n),!0).forEach(function(r){xn(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ye(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function ee(t){return ee=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ee(t)}function k(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,ht(r.key),r)}}function D(t,e,n){return e&&bn(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function xn(t,e,n){return(e=ht(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function oe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Le(t,e)}function H(t){return H=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},H(t)}function Le(t,e){return Le=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Le(t,e)}function be(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ae(t){var e=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var n,r=H(t);if(e){var i=H(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(o,a){if(a&&(typeof a=="object"||typeof a=="function"))return a;if(a!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return be(o)}(this,n)}}function xe(){return xe=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(t,e,n){var r=function(o,a){for(;!Object.prototype.hasOwnProperty.call(o,a)&&(o=H(o))!==null;);return o}(t,e);if(r){var i=Object.getOwnPropertyDescriptor(r,e);return i.get?i.get.call(arguments.length<3?t:n):i.value}},xe.apply(this,arguments)}function ht(t){var e=function(n,r){if(typeof n!="object"||n===null)return n;var i=n[Symbol.toPrimitive];if(i!==void 0){var o=i.call(n,r);if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(t,"string");return typeof e=="symbol"?e:e+""}var gt=function(t){return!(!t||!t.Window)&&t instanceof t.Window},mt=void 0,K=void 0;function yt(t){mt=t;var e=t.document.createTextNode("");e.ownerDocument!==t.document&&typeof t.wrap=="function"&&t.wrap(e)===e&&(t=t.wrap(t)),K=t}function X(t){return gt(t)?t:(t.ownerDocument||t).defaultView||K.window}typeof window<"u"&&window&&yt(window);var we=function(t){return!!t&&ee(t)==="object"},bt=function(t){return typeof t=="function"},d={window:function(t){return t===K||gt(t)},docFrag:function(t){return we(t)&&t.nodeType===11},object:we,func:bt,number:function(t){return typeof t=="number"},bool:function(t){return typeof t=="boolean"},string:function(t){return typeof t=="string"},element:function(t){if(!t||ee(t)!=="object")return!1;var e=X(t)||K;return/object|function/.test(typeof Element>"u"?"undefined":ee(Element))?t instanceof Element||t instanceof e.Element:t.nodeType===1&&typeof t.nodeName=="string"},plainObject:function(t){return we(t)&&!!t.constructor&&/function Object\b/.test(t.constructor.toString())},array:function(t){return we(t)&&t.length!==void 0&&bt(t.splice)}};function qe(t){var e=t.interaction;if(e.prepared.name==="drag"){var n=e.prepared.axis;n==="x"?(e.coords.cur.page.y=e.coords.start.page.y,e.coords.cur.client.y=e.coords.start.client.y,e.coords.velocity.client.y=0,e.coords.velocity.page.y=0):n==="y"&&(e.coords.cur.page.x=e.coords.start.page.x,e.coords.cur.client.x=e.coords.start.client.x,e.coords.velocity.client.x=0,e.coords.velocity.page.x=0)}}function xt(t){var e=t.iEvent,n=t.interaction;if(n.prepared.name==="drag"){var r=n.prepared.axis;if(r==="x"||r==="y"){var i=r==="x"?"y":"x";e.page[i]=n.coords.start.page[i],e.client[i]=n.coords.start.client[i],e.delta[i]=0}}}var Ee={id:"actions/drag",install:function(t){var e=t.actions,n=t.Interactable,r=t.defaults;n.prototype.draggable=Ee.draggable,e.map.drag=Ee,e.methodDict.drag="draggable",r.actions.drag=Ee.defaults},listeners:{"interactions:before-action-move":qe,"interactions:action-resume":qe,"interactions:action-move":xt,"auto-start:check":function(t){var e=t.interaction,n=t.interactable,r=t.buttons,i=n.options.drag;if(i&&i.enabled&&(!e.pointerIsDown||!/mouse|pointer/.test(e.pointerType)||r&n.options.drag.mouseButtons))return t.action={name:"drag",axis:i.lockAxis==="start"?i.startAxis:i.lockAxis},!1}},draggable:function(t){return d.object(t)?(this.options.drag.enabled=t.enabled!==!1,this.setPerAction("drag",t),this.setOnEvents("drag",t),/^(xy|x|y|start)$/.test(t.lockAxis)&&(this.options.drag.lockAxis=t.lockAxis),/^(xy|x|y)$/.test(t.startAxis)&&(this.options.drag.startAxis=t.startAxis),this):d.bool(t)?(this.options.drag.enabled=t,this):this.options.drag},beforeMove:qe,move:xt,defaults:{startAxis:"xy",lockAxis:"xy"},getCursor:function(){return"move"},filterEventType:function(t){return t.search("drag")===0}},wt=Ee,A={init:function(t){var e=t;A.document=e.document,A.DocumentFragment=e.DocumentFragment||te,A.SVGElement=e.SVGElement||te,A.SVGSVGElement=e.SVGSVGElement||te,A.SVGElementInstance=e.SVGElementInstance||te,A.Element=e.Element||te,A.HTMLElement=e.HTMLElement||A.Element,A.Event=e.Event,A.Touch=e.Touch||te,A.PointerEvent=e.PointerEvent||e.MSPointerEvent},document:null,DocumentFragment:null,SVGElement:null,SVGSVGElement:null,SVGElementInstance:null,Element:null,HTMLElement:null,Event:null,Touch:null,PointerEvent:null};function te(){}var O=A,C={init:function(t){var e=O.Element,n=t.navigator||{};C.supportsTouch="ontouchstart"in t||d.func(t.DocumentTouch)&&O.document instanceof t.DocumentTouch,C.supportsPointerEvent=n.pointerEnabled!==!1&&!!O.PointerEvent,C.isIOS=/iP(hone|od|ad)/.test(n.platform),C.isIOS7=/iP(hone|od|ad)/.test(n.platform)&&/OS 7[^\d]/.test(n.appVersion),C.isIe9=/MSIE 9/.test(n.userAgent),C.isOperaMobile=n.appName==="Opera"&&C.supportsTouch&&/Presto/.test(n.userAgent),C.prefixedMatchesSelector="matches"in e.prototype?"matches":"webkitMatchesSelector"in e.prototype?"webkitMatchesSelector":"mozMatchesSelector"in e.prototype?"mozMatchesSelector":"oMatchesSelector"in e.prototype?"oMatchesSelector":"msMatchesSelector",C.pEventTypes=C.supportsPointerEvent?O.PointerEvent===t.MSPointerEvent?{up:"MSPointerUp",down:"MSPointerDown",over:"mouseover",out:"mouseout",move:"MSPointerMove",cancel:"MSPointerCancel"}:{up:"pointerup",down:"pointerdown",over:"pointerover",out:"pointerout",move:"pointermove",cancel:"pointercancel"}:null,C.wheelEvent=O.document&&"onmousewheel"in O.document?"mousewheel":"wheel"},supportsTouch:null,supportsPointerEvent:null,isIOS7:null,isIOS:null,isIe9:null,isOperaMobile:null,prefixedMatchesSelector:null,pEventTypes:null,wheelEvent:null},R=C;function $(t,e){if(t.contains)return t.contains(e);for(;e;){if(e===t)return!0;e=e.parentNode}return!1}function Et(t,e){for(;d.element(t);){if(V(t,e))return t;t=Y(t)}return null}function Y(t){var e=t.parentNode;if(d.docFrag(e)){for(;(e=e.host)&&d.docFrag(e););return e}return e}function V(t,e){return K!==mt&&(e=e.replace(/\/deep\//g," ")),t[R.prefixedMatchesSelector](e)}var Be=function(t){return t.parentNode||t.host};function Tt(t,e){for(var n,r=[],i=t;(n=Be(i))&&i!==e&&n!==i.ownerDocument;)r.unshift(i),i=n;return r}function Ve(t,e,n){for(;d.element(t);){if(V(t,e))return!0;if((t=Y(t))===n)return V(t,e)}return!1}function St(t){return t.correspondingUseElement||t}function We(t){var e=t instanceof O.SVGElement?t.getBoundingClientRect():t.getClientRects()[0];return e&&{left:e.left,right:e.right,top:e.top,bottom:e.bottom,width:e.width||e.right-e.left,height:e.height||e.bottom-e.top}}function Ge(t){var e,n=We(t);if(!R.isIOS7&&n){var r={x:(e=(e=X(t))||K).scrollX||e.document.documentElement.scrollLeft,y:e.scrollY||e.document.documentElement.scrollTop};n.left+=r.x,n.right+=r.x,n.top+=r.y,n.bottom+=r.y}return n}function _t(t){for(var e=[];t;)e.push(t),t=Y(t);return e}function Pt(t){return!!d.string(t)&&(O.document.querySelector(t),!0)}function x(t,e){for(var n in e)t[n]=e[n];return t}function Ot(t,e,n){return t==="parent"?Y(n):t==="self"?e.getRect(n):Et(n,t)}function se(t,e,n,r){var i=t;return d.string(i)?i=Ot(i,e,n):d.func(i)&&(i=i.apply(void 0,r)),d.element(i)&&(i=Ge(i)),i}function Te(t){return t&&{x:"x"in t?t.x:t.left,y:"y"in t?t.y:t.top}}function Ne(t){return!t||"x"in t&&"y"in t||((t=x({},t)).x=t.left||0,t.y=t.top||0,t.width=t.width||(t.right||0)-t.x,t.height=t.height||(t.bottom||0)-t.y),t}function Se(t,e,n){t.left&&(e.left+=n.x),t.right&&(e.right+=n.x),t.top&&(e.top+=n.y),t.bottom&&(e.bottom+=n.y),e.width=e.right-e.left,e.height=e.bottom-e.top}function ce(t,e,n){var r=n&&t.options[n];return Te(se(r&&r.origin||t.options.origin,t,e,[t&&e]))||{x:0,y:0}}function J(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(c){return!0},r=arguments.length>3?arguments[3]:void 0;if(r=r||{},d.string(t)&&t.search(" ")!==-1&&(t=kt(t)),d.array(t))return t.forEach(function(c){return J(c,e,n,r)}),r;if(d.object(t)&&(e=t,t=""),d.func(e)&&n(t))r[t]=r[t]||[],r[t].push(e);else if(d.array(e))for(var i=0,o=e;i<o.length;i++){var a=o[i];J(t,a,n,r)}else if(d.object(e))for(var s in e)J(kt(s).map(function(c){return"".concat(t).concat(c)}),e[s],n,r);return r}function kt(t){return t.trim().split(/ +/)}var le=function(t,e){return Math.sqrt(t*t+e*e)},wn=["webkit","moz"];function _e(t,e){t.__set||(t.__set={});var n=function(i){if(wn.some(function(o){return i.indexOf(o)===0}))return 1;typeof t[i]!="function"&&i!=="__set"&&Object.defineProperty(t,i,{get:function(){return i in t.__set?t.__set[i]:t.__set[i]=e[i]},set:function(o){t.__set[i]=o},configurable:!0})};for(var r in e)n(r);return t}function Pe(t,e){t.page=t.page||{},t.page.x=e.page.x,t.page.y=e.page.y,t.client=t.client||{},t.client.x=e.client.x,t.client.y=e.client.y,t.timeStamp=e.timeStamp}function Dt(t){t.page.x=0,t.page.y=0,t.client.x=0,t.client.y=0}function It(t){return t instanceof O.Event||t instanceof O.Touch}function Oe(t,e,n){return t=t||"page",(n=n||{}).x=e[t+"X"],n.y=e[t+"Y"],n}function Mt(t,e){return e=e||{x:0,y:0},R.isOperaMobile&&It(t)?(Oe("screen",t,e),e.x+=window.scrollX,e.y+=window.scrollY):Oe("page",t,e),e}function ue(t){return d.number(t.pointerId)?t.pointerId:t.identifier}function En(t,e,n){var r=e.length>1?zt(e):e[0];Mt(r,t.page),function(i,o){o=o||{},R.isOperaMobile&&It(i)?Oe("screen",i,o):Oe("client",i,o)}(r,t.client),t.timeStamp=n}function Ue(t){var e=[];return d.array(t)?(e[0]=t[0],e[1]=t[1]):t.type==="touchend"?t.touches.length===1?(e[0]=t.touches[0],e[1]=t.changedTouches[0]):t.touches.length===0&&(e[0]=t.changedTouches[0],e[1]=t.changedTouches[1]):(e[0]=t.touches[0],e[1]=t.touches[1]),e}function zt(t){for(var e={pageX:0,pageY:0,clientX:0,clientY:0,screenX:0,screenY:0},n=0;n<t.length;n++){var r=t[n];for(var i in e)e[i]+=r[i]}for(var o in e)e[o]/=t.length;return e}function He(t){if(!t.length)return null;var e=Ue(t),n=Math.min(e[0].pageX,e[1].pageX),r=Math.min(e[0].pageY,e[1].pageY),i=Math.max(e[0].pageX,e[1].pageX),o=Math.max(e[0].pageY,e[1].pageY);return{x:n,y:r,left:n,top:r,right:i,bottom:o,width:i-n,height:o-r}}function Ke(t,e){var n=e+"X",r=e+"Y",i=Ue(t),o=i[0][n]-i[1][n],a=i[0][r]-i[1][r];return le(o,a)}function $e(t,e){var n=e+"X",r=e+"Y",i=Ue(t),o=i[1][n]-i[0][n],a=i[1][r]-i[0][r];return 180*Math.atan2(a,o)/Math.PI}function At(t){return d.string(t.pointerType)?t.pointerType:d.number(t.pointerType)?[void 0,void 0,"touch","pen","mouse"][t.pointerType]:/touch/.test(t.type||"")||t instanceof O.Touch?"touch":"mouse"}function Ct(t){var e=d.func(t.composedPath)?t.composedPath():t.path;return[St(e?e[0]:t.target),St(t.currentTarget)]}var ke=function(){function t(e){k(this,t),this.immediatePropagationStopped=!1,this.propagationStopped=!1,this._interaction=e}return D(t,[{key:"preventDefault",value:function(){}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}}]),t}();Object.defineProperty(ke.prototype,"interaction",{get:function(){return this._interaction._proxy},set:function(){}});var Rt=function(t,e){for(var n=0;n<e.length;n++){var r=e[n];t.push(r)}return t},jt=function(t){return Rt([],t)},pe=function(t,e){for(var n=0;n<t.length;n++)if(e(t[n],n,t))return n;return-1},fe=function(t,e){return t[pe(t,e)]},ne=function(t){oe(n,t);var e=ae(n);function n(r,i,o){var a;k(this,n),(a=e.call(this,i._interaction)).dropzone=void 0,a.dragEvent=void 0,a.relatedTarget=void 0,a.draggable=void 0,a.propagationStopped=!1,a.immediatePropagationStopped=!1;var s=o==="dragleave"?r.prev:r.cur,c=s.element,u=s.dropzone;return a.type=o,a.target=c,a.currentTarget=c,a.dropzone=u,a.dragEvent=i,a.relatedTarget=i.target,a.draggable=i.interactable,a.timeStamp=i.timeStamp,a}return D(n,[{key:"reject",value:function(){var r=this,i=this._interaction.dropState;if(this.type==="dropactivate"||this.dropzone&&i.cur.dropzone===this.dropzone&&i.cur.element===this.target)if(i.prev.dropzone=this.dropzone,i.prev.element=this.target,i.rejected=!0,i.events.enter=null,this.stopImmediatePropagation(),this.type==="dropactivate"){var o=i.activeDrops,a=pe(o,function(c){var u=c.dropzone,l=c.element;return u===r.dropzone&&l===r.target});i.activeDrops.splice(a,1);var s=new n(i,this.dragEvent,"dropdeactivate");s.dropzone=this.dropzone,s.target=this.target,this.dropzone.fire(s)}else this.dropzone.fire(new n(i,this.dragEvent,"dragleave"))}},{key:"preventDefault",value:function(){}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}}]),n}(ke);function Ft(t,e){for(var n=0,r=t.slice();n<r.length;n++){var i=r[n],o=i.dropzone,a=i.element;e.dropzone=o,e.target=a,o.fire(e),e.propagationStopped=e.immediatePropagationStopped=!1}}function Je(t,e){for(var n=function(o,a){for(var s=[],c=0,u=o.interactables.list;c<u.length;c++){var l=u[c];if(l.options.drop.enabled){var p=l.options.drop.accept;if(!(d.element(p)&&p!==a||d.string(p)&&!V(a,p)||d.func(p)&&!p({dropzone:l,draggableElement:a})))for(var f=0,h=l.getAllElements();f<h.length;f++){var v=h[f];v!==a&&s.push({dropzone:l,element:v,rect:l.getRect(v)})}}}return s}(t,e),r=0;r<n.length;r++){var i=n[r];i.rect=i.dropzone.getRect(i.element)}return n}function Xt(t,e,n){for(var r=t.dropState,i=t.interactable,o=t.element,a=[],s=0,c=r.activeDrops;s<c.length;s++){var u=c[s],l=u.dropzone,p=u.element,f=u.rect,h=l.dropCheck(e,n,i,o,p,f);a.push(h?p:null)}var v=function(g){for(var y,m,b,T=[],_=0;_<g.length;_++){var w=g[_],S=g[y];if(w&&_!==y)if(S){var M=Be(w),P=Be(S);if(M!==w.ownerDocument)if(P!==w.ownerDocument)if(M!==P){T=T.length?T:Tt(S);var z=void 0;if(S instanceof O.HTMLElement&&w instanceof O.SVGElement&&!(w instanceof O.SVGSVGElement)){if(w===P)continue;z=w.ownerSVGElement}else z=w;for(var j=Tt(z,S.ownerDocument),B=0;j[B]&&j[B]===T[B];)B++;var Fe=[j[B-1],j[B],T[B]];if(Fe[0])for(var ye=Fe[0].lastChild;ye;){if(ye===Fe[1]){y=_,T=j;break}if(ye===Fe[2])break;ye=ye.previousSibling}}else b=S,(parseInt(X(m=w).getComputedStyle(m).zIndex,10)||0)>=(parseInt(X(b).getComputedStyle(b).zIndex,10)||0)&&(y=_);else y=_}else y=_}return y}(a);return r.activeDrops[v]||null}function Qe(t,e,n){var r=t.dropState,i={enter:null,leave:null,activate:null,deactivate:null,move:null,drop:null};return n.type==="dragstart"&&(i.activate=new ne(r,n,"dropactivate"),i.activate.target=null,i.activate.dropzone=null),n.type==="dragend"&&(i.deactivate=new ne(r,n,"dropdeactivate"),i.deactivate.target=null,i.deactivate.dropzone=null),r.rejected||(r.cur.element!==r.prev.element&&(r.prev.dropzone&&(i.leave=new ne(r,n,"dragleave"),n.dragLeave=i.leave.target=r.prev.element,n.prevDropzone=i.leave.dropzone=r.prev.dropzone),r.cur.dropzone&&(i.enter=new ne(r,n,"dragenter"),n.dragEnter=r.cur.element,n.dropzone=r.cur.dropzone)),n.type==="dragend"&&r.cur.dropzone&&(i.drop=new ne(r,n,"drop"),n.dropzone=r.cur.dropzone,n.relatedTarget=r.cur.element),n.type==="dragmove"&&r.cur.dropzone&&(i.move=new ne(r,n,"dropmove"),n.dropzone=r.cur.dropzone)),i}function Ze(t,e){var n=t.dropState,r=n.activeDrops,i=n.cur,o=n.prev;e.leave&&o.dropzone.fire(e.leave),e.enter&&i.dropzone.fire(e.enter),e.move&&i.dropzone.fire(e.move),e.drop&&i.dropzone.fire(e.drop),e.deactivate&&Ft(r,e.deactivate),n.prev.dropzone=i.dropzone,n.prev.element=i.element}function Yt(t,e){var n=t.interaction,r=t.iEvent,i=t.event;if(r.type==="dragmove"||r.type==="dragend"){var o=n.dropState;e.dynamicDrop&&(o.activeDrops=Je(e,n.element));var a=r,s=Xt(n,a,i);o.rejected=o.rejected&&!!s&&s.dropzone===o.cur.dropzone&&s.element===o.cur.element,o.cur.dropzone=s&&s.dropzone,o.cur.element=s&&s.element,o.events=Qe(n,0,a)}}var Lt={id:"actions/drop",install:function(t){var e=t.actions,n=t.interactStatic,r=t.Interactable,i=t.defaults;t.usePlugin(wt),r.prototype.dropzone=function(o){return function(a,s){if(d.object(s)){if(a.options.drop.enabled=s.enabled!==!1,s.listeners){var c=J(s.listeners),u=Object.keys(c).reduce(function(p,f){return p[/^(enter|leave)/.test(f)?"drag".concat(f):/^(activate|deactivate|move)/.test(f)?"drop".concat(f):f]=c[f],p},{}),l=a.options.drop.listeners;l&&a.off(l),a.on(u),a.options.drop.listeners=u}return d.func(s.ondrop)&&a.on("drop",s.ondrop),d.func(s.ondropactivate)&&a.on("dropactivate",s.ondropactivate),d.func(s.ondropdeactivate)&&a.on("dropdeactivate",s.ondropdeactivate),d.func(s.ondragenter)&&a.on("dragenter",s.ondragenter),d.func(s.ondragleave)&&a.on("dragleave",s.ondragleave),d.func(s.ondropmove)&&a.on("dropmove",s.ondropmove),/^(pointer|center)$/.test(s.overlap)?a.options.drop.overlap=s.overlap:d.number(s.overlap)&&(a.options.drop.overlap=Math.max(Math.min(1,s.overlap),0)),"accept"in s&&(a.options.drop.accept=s.accept),"checker"in s&&(a.options.drop.checker=s.checker),a}return d.bool(s)?(a.options.drop.enabled=s,a):a.options.drop}(this,o)},r.prototype.dropCheck=function(o,a,s,c,u,l){return function(p,f,h,v,g,y,m){var b=!1;if(!(m=m||p.getRect(y)))return!!p.options.drop.checker&&p.options.drop.checker(f,h,b,p,y,v,g);var T=p.options.drop.overlap;if(T==="pointer"){var _=ce(v,g,"drag"),w=Mt(f);w.x+=_.x,w.y+=_.y;var S=w.x>m.left&&w.x<m.right,M=w.y>m.top&&w.y<m.bottom;b=S&&M}var P=v.getRect(g);if(P&&T==="center"){var z=P.left+P.width/2,j=P.top+P.height/2;b=z>=m.left&&z<=m.right&&j>=m.top&&j<=m.bottom}return P&&d.number(T)&&(b=Math.max(0,Math.min(m.right,P.right)-Math.max(m.left,P.left))*Math.max(0,Math.min(m.bottom,P.bottom)-Math.max(m.top,P.top))/(P.width*P.height)>=T),p.options.drop.checker&&(b=p.options.drop.checker(f,h,b,p,y,v,g)),b}(this,o,a,s,c,u,l)},n.dynamicDrop=function(o){return d.bool(o)?(t.dynamicDrop=o,n):t.dynamicDrop},x(e.phaselessTypes,{dragenter:!0,dragleave:!0,dropactivate:!0,dropdeactivate:!0,dropmove:!0,drop:!0}),e.methodDict.drop="dropzone",t.dynamicDrop=!1,i.actions.drop=Lt.defaults},listeners:{"interactions:before-action-start":function(t){var e=t.interaction;e.prepared.name==="drag"&&(e.dropState={cur:{dropzone:null,element:null},prev:{dropzone:null,element:null},rejected:null,events:null,activeDrops:[]})},"interactions:after-action-start":function(t,e){var n=t.interaction,r=(t.event,t.iEvent);if(n.prepared.name==="drag"){var i=n.dropState;i.activeDrops=[],i.events={},i.activeDrops=Je(e,n.element),i.events=Qe(n,0,r),i.events.activate&&(Ft(i.activeDrops,i.events.activate),e.fire("actions/drop:start",{interaction:n,dragEvent:r}))}},"interactions:action-move":Yt,"interactions:after-action-move":function(t,e){var n=t.interaction,r=t.iEvent;if(n.prepared.name==="drag"){var i=n.dropState;Ze(n,i.events),e.fire("actions/drop:move",{interaction:n,dragEvent:r}),i.events={}}},"interactions:action-end":function(t,e){if(t.interaction.prepared.name==="drag"){var n=t.interaction,r=t.iEvent;Yt(t,e),Ze(n,n.dropState.events),e.fire("actions/drop:end",{interaction:n,dragEvent:r})}},"interactions:stop":function(t){var e=t.interaction;if(e.prepared.name==="drag"){var n=e.dropState;n&&(n.activeDrops=null,n.events=null,n.cur.dropzone=null,n.cur.element=null,n.prev.dropzone=null,n.prev.element=null,n.rejected=!1)}}},getActiveDrops:Je,getDrop:Xt,getDropEvents:Qe,fireDropEvents:Ze,filterEventType:function(t){return t.search("drag")===0||t.search("drop")===0},defaults:{enabled:!1,accept:null,overlap:"pointer"}},Tn=Lt;function et(t){var e=t.interaction,n=t.iEvent,r=t.phase;if(e.prepared.name==="gesture"){var i=e.pointers.map(function(u){return u.pointer}),o=r==="start",a=r==="end",s=e.interactable.options.deltaSource;if(n.touches=[i[0],i[1]],o)n.distance=Ke(i,s),n.box=He(i),n.scale=1,n.ds=0,n.angle=$e(i,s),n.da=0,e.gesture.startDistance=n.distance,e.gesture.startAngle=n.angle;else if(a||e.pointers.length<2){var c=e.prevEvent;n.distance=c.distance,n.box=c.box,n.scale=c.scale,n.ds=0,n.angle=c.angle,n.da=0}else n.distance=Ke(i,s),n.box=He(i),n.scale=n.distance/e.gesture.startDistance,n.angle=$e(i,s),n.ds=n.scale-e.gesture.scale,n.da=n.angle-e.gesture.angle;e.gesture.distance=n.distance,e.gesture.angle=n.angle,d.number(n.scale)&&n.scale!==1/0&&!isNaN(n.scale)&&(e.gesture.scale=n.scale)}}var tt={id:"actions/gesture",before:["actions/drag","actions/resize"],install:function(t){var e=t.actions,n=t.Interactable,r=t.defaults;n.prototype.gesturable=function(i){return d.object(i)?(this.options.gesture.enabled=i.enabled!==!1,this.setPerAction("gesture",i),this.setOnEvents("gesture",i),this):d.bool(i)?(this.options.gesture.enabled=i,this):this.options.gesture},e.map.gesture=tt,e.methodDict.gesture="gesturable",r.actions.gesture=tt.defaults},listeners:{"interactions:action-start":et,"interactions:action-move":et,"interactions:action-end":et,"interactions:new":function(t){t.interaction.gesture={angle:0,distance:0,scale:1,startAngle:0,startDistance:0}},"auto-start:check":function(t){if(!(t.interaction.pointers.length<2)){var e=t.interactable.options.gesture;if(e&&e.enabled)return t.action={name:"gesture"},!1}}},defaults:{},getCursor:function(){return""},filterEventType:function(t){return t.search("gesture")===0}},Sn=tt;function _n(t,e,n,r,i,o,a){if(!e)return!1;if(e===!0){var s=d.number(o.width)?o.width:o.right-o.left,c=d.number(o.height)?o.height:o.bottom-o.top;if(a=Math.min(a,Math.abs((t==="left"||t==="right"?s:c)/2)),s<0&&(t==="left"?t="right":t==="right"&&(t="left")),c<0&&(t==="top"?t="bottom":t==="bottom"&&(t="top")),t==="left"){var u=s>=0?o.left:o.right;return n.x<u+a}if(t==="top"){var l=c>=0?o.top:o.bottom;return n.y<l+a}if(t==="right")return n.x>(s>=0?o.right:o.left)-a;if(t==="bottom")return n.y>(c>=0?o.bottom:o.top)-a}return!!d.element(r)&&(d.element(e)?e===r:Ve(r,e,i))}function qt(t){var e=t.iEvent,n=t.interaction;if(n.prepared.name==="resize"&&n.resizeAxes){var r=e;n.interactable.options.resize.square?(n.resizeAxes==="y"?r.delta.x=r.delta.y:r.delta.y=r.delta.x,r.axes="xy"):(r.axes=n.resizeAxes,n.resizeAxes==="x"?r.delta.y=0:n.resizeAxes==="y"&&(r.delta.x=0))}}var L,Q,q={id:"actions/resize",before:["actions/drag"],install:function(t){var e=t.actions,n=t.browser,r=t.Interactable,i=t.defaults;q.cursors=function(o){return o.isIe9?{x:"e-resize",y:"s-resize",xy:"se-resize",top:"n-resize",left:"w-resize",bottom:"s-resize",right:"e-resize",topleft:"se-resize",bottomright:"se-resize",topright:"ne-resize",bottomleft:"ne-resize"}:{x:"ew-resize",y:"ns-resize",xy:"nwse-resize",top:"ns-resize",left:"ew-resize",bottom:"ns-resize",right:"ew-resize",topleft:"nwse-resize",bottomright:"nwse-resize",topright:"nesw-resize",bottomleft:"nesw-resize"}}(n),q.defaultMargin=n.supportsTouch||n.supportsPointerEvent?20:10,r.prototype.resizable=function(o){return function(a,s,c){return d.object(s)?(a.options.resize.enabled=s.enabled!==!1,a.setPerAction("resize",s),a.setOnEvents("resize",s),d.string(s.axis)&&/^x$|^y$|^xy$/.test(s.axis)?a.options.resize.axis=s.axis:s.axis===null&&(a.options.resize.axis=c.defaults.actions.resize.axis),d.bool(s.preserveAspectRatio)?a.options.resize.preserveAspectRatio=s.preserveAspectRatio:d.bool(s.square)&&(a.options.resize.square=s.square),a):d.bool(s)?(a.options.resize.enabled=s,a):a.options.resize}(this,o,t)},e.map.resize=q,e.methodDict.resize="resizable",i.actions.resize=q.defaults},listeners:{"interactions:new":function(t){t.interaction.resizeAxes="xy"},"interactions:action-start":function(t){(function(e){var n=e.iEvent,r=e.interaction;if(r.prepared.name==="resize"&&r.prepared.edges){var i=n,o=r.rect;r._rects={start:x({},o),corrected:x({},o),previous:x({},o),delta:{left:0,right:0,width:0,top:0,bottom:0,height:0}},i.edges=r.prepared.edges,i.rect=r._rects.corrected,i.deltaRect=r._rects.delta}})(t),qt(t)},"interactions:action-move":function(t){(function(e){var n=e.iEvent,r=e.interaction;if(r.prepared.name==="resize"&&r.prepared.edges){var i=n,o=r.interactable.options.resize.invert,a=o==="reposition"||o==="negate",s=r.rect,c=r._rects,u=c.start,l=c.corrected,p=c.delta,f=c.previous;if(x(f,l),a){if(x(l,s),o==="reposition"){if(l.top>l.bottom){var h=l.top;l.top=l.bottom,l.bottom=h}if(l.left>l.right){var v=l.left;l.left=l.right,l.right=v}}}else l.top=Math.min(s.top,u.bottom),l.bottom=Math.max(s.bottom,u.top),l.left=Math.min(s.left,u.right),l.right=Math.max(s.right,u.left);for(var g in l.width=l.right-l.left,l.height=l.bottom-l.top,l)p[g]=l[g]-f[g];i.edges=r.prepared.edges,i.rect=l,i.deltaRect=p}})(t),qt(t)},"interactions:action-end":function(t){var e=t.iEvent,n=t.interaction;if(n.prepared.name==="resize"&&n.prepared.edges){var r=e;r.edges=n.prepared.edges,r.rect=n._rects.corrected,r.deltaRect=n._rects.delta}},"auto-start:check":function(t){var e=t.interaction,n=t.interactable,r=t.element,i=t.rect,o=t.buttons;if(i){var a=x({},e.coords.cur.page),s=n.options.resize;if(s&&s.enabled&&(!e.pointerIsDown||!/mouse|pointer/.test(e.pointerType)||o&s.mouseButtons)){if(d.object(s.edges)){var c={left:!1,right:!1,top:!1,bottom:!1};for(var u in c)c[u]=_n(u,s.edges[u],a,e._latestPointer.eventTarget,r,i,s.margin||q.defaultMargin);c.left=c.left&&!c.right,c.top=c.top&&!c.bottom,(c.left||c.right||c.top||c.bottom)&&(t.action={name:"resize",edges:c})}else{var l=s.axis!=="y"&&a.x>i.right-q.defaultMargin,p=s.axis!=="x"&&a.y>i.bottom-q.defaultMargin;(l||p)&&(t.action={name:"resize",axes:(l?"x":"")+(p?"y":"")})}return!t.action&&void 0}}}},defaults:{square:!1,preserveAspectRatio:!1,axis:"xy",margin:NaN,edges:null,invert:"none"},cursors:null,getCursor:function(t){var e=t.edges,n=t.axis,r=t.name,i=q.cursors,o=null;if(n)o=i[r+n];else if(e){for(var a="",s=0,c=["top","bottom","left","right"];s<c.length;s++){var u=c[s];e[u]&&(a+=u)}o=i[a]}return o},filterEventType:function(t){return t.search("resize")===0},defaultMargin:null},Pn=q,On={id:"actions",install:function(t){t.usePlugin(Sn),t.usePlugin(Pn),t.usePlugin(wt),t.usePlugin(Tn)}},Bt=0,W={request:function(t){return L(t)},cancel:function(t){return Q(t)},init:function(t){if(L=t.requestAnimationFrame,Q=t.cancelAnimationFrame,!L)for(var e=["ms","moz","webkit","o"],n=0;n<e.length;n++){var r=e[n];L=t["".concat(r,"RequestAnimationFrame")],Q=t["".concat(r,"CancelAnimationFrame")]||t["".concat(r,"CancelRequestAnimationFrame")]}L=L&&L.bind(t),Q=Q&&Q.bind(t),L||(L=function(i){var o=Date.now(),a=Math.max(0,16-(o-Bt)),s=t.setTimeout(function(){i(o+a)},a);return Bt=o+a,s},Q=function(i){return clearTimeout(i)})}},E={defaults:{enabled:!1,margin:60,container:null,speed:300},now:Date.now,interaction:null,i:0,x:0,y:0,isScrolling:!1,prevTime:0,margin:0,speed:0,start:function(t){E.isScrolling=!0,W.cancel(E.i),t.autoScroll=E,E.interaction=t,E.prevTime=E.now(),E.i=W.request(E.scroll)},stop:function(){E.isScrolling=!1,E.interaction&&(E.interaction.autoScroll=null),W.cancel(E.i)},scroll:function(){var t=E.interaction,e=t.interactable,n=t.element,r=t.prepared.name,i=e.options[r].autoScroll,o=Vt(i.container,e,n),a=E.now(),s=(a-E.prevTime)/1e3,c=i.speed*s;if(c>=1){var u={x:E.x*c,y:E.y*c};if(u.x||u.y){var l=Wt(o);d.window(o)?o.scrollBy(u.x,u.y):o&&(o.scrollLeft+=u.x,o.scrollTop+=u.y);var p=Wt(o),f={x:p.x-l.x,y:p.y-l.y};(f.x||f.y)&&e.fire({type:"autoscroll",target:n,interactable:e,delta:f,interaction:t,container:o})}E.prevTime=a}E.isScrolling&&(W.cancel(E.i),E.i=W.request(E.scroll))},check:function(t,e){var n;return(n=t.options[e].autoScroll)==null?void 0:n.enabled},onInteractionMove:function(t){var e=t.interaction,n=t.pointer;if(e.interacting()&&E.check(e.interactable,e.prepared.name))if(e.simulation)E.x=E.y=0;else{var r,i,o,a,s=e.interactable,c=e.element,u=e.prepared.name,l=s.options[u].autoScroll,p=Vt(l.container,s,c);if(d.window(p))a=n.clientX<E.margin,r=n.clientY<E.margin,i=n.clientX>p.innerWidth-E.margin,o=n.clientY>p.innerHeight-E.margin;else{var f=We(p);a=n.clientX<f.left+E.margin,r=n.clientY<f.top+E.margin,i=n.clientX>f.right-E.margin,o=n.clientY>f.bottom-E.margin}E.x=i?1:a?-1:0,E.y=o?1:r?-1:0,E.isScrolling||(E.margin=l.margin,E.speed=l.speed,E.start(e))}}};function Vt(t,e,n){return(d.string(t)?Ot(t,e,n):t)||X(n)}function Wt(t){return d.window(t)&&(t=window.document.body),{x:t.scrollLeft,y:t.scrollTop}}var kn={id:"auto-scroll",install:function(t){var e=t.defaults,n=t.actions;t.autoScroll=E,E.now=function(){return t.now()},n.phaselessTypes.autoscroll=!0,e.perAction.autoScroll=E.defaults},listeners:{"interactions:new":function(t){t.interaction.autoScroll=null},"interactions:destroy":function(t){t.interaction.autoScroll=null,E.stop(),E.interaction&&(E.interaction=null)},"interactions:stop":E.stop,"interactions:action-move":function(t){return E.onInteractionMove(t)}}},Dn=kn;function de(t,e){var n=!1;return function(){return n||(K.console.warn(e),n=!0),t.apply(this,arguments)}}function nt(t,e){return t.name=e.name,t.axis=e.axis,t.edges=e.edges,t}function In(t){return d.bool(t)?(this.options.styleCursor=t,this):t===null?(delete this.options.styleCursor,this):this.options.styleCursor}function Mn(t){return d.func(t)?(this.options.actionChecker=t,this):t===null?(delete this.options.actionChecker,this):this.options.actionChecker}var zn={id:"auto-start/interactableMethods",install:function(t){var e=t.Interactable;e.prototype.getAction=function(n,r,i,o){var a=function(s,c,u,l,p){var f=s.getRect(l),h=c.buttons||{0:1,1:4,3:8,4:16}[c.button],v={action:null,interactable:s,interaction:u,element:l,rect:f,buttons:h};return p.fire("auto-start:check",v),v.action}(this,r,i,o,t);return this.options.actionChecker?this.options.actionChecker(n,r,a,this,o,i):a},e.prototype.ignoreFrom=de(function(n){return this._backCompatOption("ignoreFrom",n)},"Interactable.ignoreFrom() has been deprecated. Use Interactble.draggable({ignoreFrom: newValue})."),e.prototype.allowFrom=de(function(n){return this._backCompatOption("allowFrom",n)},"Interactable.allowFrom() has been deprecated. Use Interactble.draggable({allowFrom: newValue})."),e.prototype.actionChecker=Mn,e.prototype.styleCursor=In}};function Gt(t,e,n,r,i){return e.testIgnoreAllow(e.options[t.name],n,r)&&e.options[t.name].enabled&&De(e,n,t,i)?t:null}function An(t,e,n,r,i,o,a){for(var s=0,c=r.length;s<c;s++){var u=r[s],l=i[s],p=u.getAction(e,n,t,l);if(p){var f=Gt(p,u,l,o,a);if(f)return{action:f,interactable:u,element:l}}}return{action:null,interactable:null,element:null}}function Nt(t,e,n,r,i){var o=[],a=[],s=r;function c(l){o.push(l),a.push(s)}for(;d.element(s);){o=[],a=[],i.interactables.forEachMatch(s,c);var u=An(t,e,n,o,a,r,i);if(u.action&&!u.interactable.options[u.action.name].manualStart)return u;s=Y(s)}return{action:null,interactable:null,element:null}}function Ut(t,e,n){var r=e.action,i=e.interactable,o=e.element;r=r||{name:null},t.interactable=i,t.element=o,nt(t.prepared,r),t.rect=i&&r.name?i.getRect(o):null,Kt(t,n),n.fire("autoStart:prepared",{interaction:t})}function De(t,e,n,r){var i=t.options,o=i[n.name].max,a=i[n.name].maxPerElement,s=r.autoStart.maxInteractions,c=0,u=0,l=0;if(!(o&&a&&s))return!1;for(var p=0,f=r.interactions.list;p<f.length;p++){var h=f[p],v=h.prepared.name;if(h.interacting()&&(++c>=s||h.interactable===t&&((u+=v===n.name?1:0)>=o||h.element===e&&(l++,v===n.name&&l>=a))))return!1}return s>0}function Ht(t,e){return d.number(t)?(e.autoStart.maxInteractions=t,this):e.autoStart.maxInteractions}function rt(t,e,n){var r=n.autoStart.cursorElement;r&&r!==t&&(r.style.cursor=""),t.ownerDocument.documentElement.style.cursor=e,t.style.cursor=e,n.autoStart.cursorElement=e?t:null}function Kt(t,e){var n=t.interactable,r=t.element,i=t.prepared;if(t.pointerType==="mouse"&&n&&n.options.styleCursor){var o="";if(i.name){var a=n.options[i.name].cursorChecker;o=d.func(a)?a(i,n,r,t._interacting):e.actions.map[i.name].getCursor(i)}rt(t.element,o||"",e)}else e.autoStart.cursorElement&&rt(e.autoStart.cursorElement,"",e)}var Cn={id:"auto-start/base",before:["actions"],install:function(t){var e=t.interactStatic,n=t.defaults;t.usePlugin(zn),n.base.actionChecker=null,n.base.styleCursor=!0,x(n.perAction,{manualStart:!1,max:1/0,maxPerElement:1,allowFrom:null,ignoreFrom:null,mouseButtons:1}),e.maxInteractions=function(r){return Ht(r,t)},t.autoStart={maxInteractions:1/0,withinInteractionLimit:De,cursorElement:null}},listeners:{"interactions:down":function(t,e){var n=t.interaction,r=t.pointer,i=t.event,o=t.eventTarget;n.interacting()||Ut(n,Nt(n,r,i,o,e),e)},"interactions:move":function(t,e){(function(n,r){var i=n.interaction,o=n.pointer,a=n.event,s=n.eventTarget;i.pointerType!=="mouse"||i.pointerIsDown||i.interacting()||Ut(i,Nt(i,o,a,s,r),r)})(t,e),function(n,r){var i=n.interaction;if(i.pointerIsDown&&!i.interacting()&&i.pointerWasMoved&&i.prepared.name){r.fire("autoStart:before-start",n);var o=i.interactable,a=i.prepared.name;a&&o&&(o.options[a].manualStart||!De(o,i.element,i.prepared,r)?i.stop():(i.start(i.prepared,o,i.element),Kt(i,r)))}}(t,e)},"interactions:stop":function(t,e){var n=t.interaction,r=n.interactable;r&&r.options.styleCursor&&rt(n.element,"",e)}},maxInteractions:Ht,withinInteractionLimit:De,validateAction:Gt},it=Cn,Rn={id:"auto-start/dragAxis",listeners:{"autoStart:before-start":function(t,e){var n=t.interaction,r=t.eventTarget,i=t.dx,o=t.dy;if(n.prepared.name==="drag"){var a=Math.abs(i),s=Math.abs(o),c=n.interactable.options.drag,u=c.startAxis,l=a>s?"x":a<s?"y":"xy";if(n.prepared.axis=c.lockAxis==="start"?l[0]:c.lockAxis,l!=="xy"&&u!=="xy"&&u!==l){n.prepared.name=null;for(var p=r,f=function(v){if(v!==n.interactable){var g=n.interactable.options.drag;if(!g.manualStart&&v.testIgnoreAllow(g,p,r)){var y=v.getAction(n.downPointer,n.downEvent,n,p);if(y&&y.name==="drag"&&function(m,b){if(!b)return!1;var T=b.options.drag.startAxis;return m==="xy"||T==="xy"||T===m}(l,v)&&it.validateAction(y,v,p,r,e))return v}}};d.element(p);){var h=e.interactables.forEachMatch(p,f);if(h){n.prepared.name="drag",n.interactable=h,n.element=p;break}p=Y(p)}}}}}};function ot(t){var e=t.prepared&&t.prepared.name;if(!e)return null;var n=t.interactable.options;return n[e].hold||n[e].delay}var jn={id:"auto-start/hold",install:function(t){var e=t.defaults;t.usePlugin(it),e.perAction.hold=0,e.perAction.delay=0},listeners:{"interactions:new":function(t){t.interaction.autoStartHoldTimer=null},"autoStart:prepared":function(t){var e=t.interaction,n=ot(e);n>0&&(e.autoStartHoldTimer=setTimeout(function(){e.start(e.prepared,e.interactable,e.element)},n))},"interactions:move":function(t){var e=t.interaction,n=t.duplicate;e.autoStartHoldTimer&&e.pointerWasMoved&&!n&&(clearTimeout(e.autoStartHoldTimer),e.autoStartHoldTimer=null)},"autoStart:before-start":function(t){var e=t.interaction;ot(e)>0&&(e.prepared.name=null)}},getHoldDuration:ot},Fn=jn,Xn={id:"auto-start",install:function(t){t.usePlugin(it),t.usePlugin(Fn),t.usePlugin(Rn)}},Yn=function(t){return/^(always|never|auto)$/.test(t)?(this.options.preventDefault=t,this):d.bool(t)?(this.options.preventDefault=t?"always":"never",this):this.options.preventDefault};function Ln(t){var e=t.interaction,n=t.event;e.interactable&&e.interactable.checkAndPreventDefault(n)}var $t={id:"core/interactablePreventDefault",install:function(t){var e=t.Interactable;e.prototype.preventDefault=Yn,e.prototype.checkAndPreventDefault=function(n){return function(r,i,o){var a=r.options.preventDefault;if(a!=="never")if(a!=="always"){if(i.events.supportsPassive&&/^touch(start|move)$/.test(o.type)){var s=X(o.target).document,c=i.getDocOptions(s);if(!c||!c.events||c.events.passive!==!1)return}/^(mouse|pointer|touch)*(down|start)/i.test(o.type)||d.element(o.target)&&V(o.target,"input,select,textarea,[contenteditable=true],[contenteditable=true] *")||o.preventDefault()}else o.preventDefault()}(this,t,n)},t.interactions.docEvents.push({type:"dragstart",listener:function(n){for(var r=0,i=t.interactions.list;r<i.length;r++){var o=i[r];if(o.element&&(o.element===n.target||$(o.element,n.target)))return void o.interactable.checkAndPreventDefault(n)}}})},listeners:["down","move","up","cancel"].reduce(function(t,e){return t["interactions:".concat(e)]=Ln,t},{})};function Ie(t,e){if(e.phaselessTypes[t])return!0;for(var n in e.map)if(t.indexOf(n)===0&&t.substr(n.length)in e.phases)return!0;return!1}function re(t){var e={};for(var n in t){var r=t[n];d.plainObject(r)?e[n]=re(r):d.array(r)?e[n]=jt(r):e[n]=r}return e}var at=function(){function t(e){k(this,t),this.states=[],this.startOffset={left:0,right:0,top:0,bottom:0},this.startDelta=void 0,this.result=void 0,this.endResult=void 0,this.startEdges=void 0,this.edges=void 0,this.interaction=void 0,this.interaction=e,this.result=Me(),this.edges={left:!1,right:!1,top:!1,bottom:!1}}return D(t,[{key:"start",value:function(e,n){var r,i,o=e.phase,a=this.interaction,s=function(u){var l=u.interactable.options[u.prepared.name],p=l.modifiers;return p&&p.length?p:["snap","snapSize","snapEdges","restrict","restrictEdges","restrictSize"].map(function(f){var h=l[f];return h&&h.enabled&&{options:h,methods:h._methods}}).filter(function(f){return!!f})}(a);this.prepareStates(s),this.startEdges=x({},a.edges),this.edges=x({},this.startEdges),this.startOffset=(r=a.rect,i=n,r?{left:i.x-r.left,top:i.y-r.top,right:r.right-i.x,bottom:r.bottom-i.y}:{left:0,top:0,right:0,bottom:0}),this.startDelta={x:0,y:0};var c=this.fillArg({phase:o,pageCoords:n,preEnd:!1});return this.result=Me(),this.startAll(c),this.result=this.setAll(c)}},{key:"fillArg",value:function(e){var n=this.interaction;return e.interaction=n,e.interactable=n.interactable,e.element=n.element,e.rect||(e.rect=n.rect),e.edges||(e.edges=this.startEdges),e.startOffset=this.startOffset,e}},{key:"startAll",value:function(e){for(var n=0,r=this.states;n<r.length;n++){var i=r[n];i.methods.start&&(e.state=i,i.methods.start(e))}}},{key:"setAll",value:function(e){var n=e.phase,r=e.preEnd,i=e.skipModifiers,o=e.rect,a=e.edges;e.coords=x({},e.pageCoords),e.rect=x({},o),e.edges=x({},a);for(var s=i?this.states.slice(i):this.states,c=Me(e.coords,e.rect),u=0;u<s.length;u++){var l,p=s[u],f=p.options,h=x({},e.coords),v=null;(l=p.methods)!=null&&l.set&&this.shouldDo(f,r,n)&&(e.state=p,v=p.methods.set(e),Se(e.edges,e.rect,{x:e.coords.x-h.x,y:e.coords.y-h.y})),c.eventProps.push(v)}x(this.edges,e.edges),c.delta.x=e.coords.x-e.pageCoords.x,c.delta.y=e.coords.y-e.pageCoords.y,c.rectDelta.left=e.rect.left-o.left,c.rectDelta.right=e.rect.right-o.right,c.rectDelta.top=e.rect.top-o.top,c.rectDelta.bottom=e.rect.bottom-o.bottom;var g=this.result.coords,y=this.result.rect;if(g&&y){var m=c.rect.left!==y.left||c.rect.right!==y.right||c.rect.top!==y.top||c.rect.bottom!==y.bottom;c.changed=m||g.x!==c.coords.x||g.y!==c.coords.y}return c}},{key:"applyToInteraction",value:function(e){var n=this.interaction,r=e.phase,i=n.coords.cur,o=n.coords.start,a=this.result,s=this.startDelta,c=a.delta;r==="start"&&x(this.startDelta,a.delta);for(var u=0,l=[[o,s],[i,c]];u<l.length;u++){var p=l[u],f=p[0],h=p[1];f.page.x+=h.x,f.page.y+=h.y,f.client.x+=h.x,f.client.y+=h.y}var v=this.result.rectDelta,g=e.rect||n.rect;g.left+=v.left,g.right+=v.right,g.top+=v.top,g.bottom+=v.bottom,g.width=g.right-g.left,g.height=g.bottom-g.top}},{key:"setAndApply",value:function(e){var n=this.interaction,r=e.phase,i=e.preEnd,o=e.skipModifiers,a=this.setAll(this.fillArg({preEnd:i,phase:r,pageCoords:e.modifiedCoords||n.coords.cur.page}));if(this.result=a,!a.changed&&(!o||o<this.states.length)&&n.interacting())return!1;if(e.modifiedCoords){var s=n.coords.cur.page,c={x:e.modifiedCoords.x-s.x,y:e.modifiedCoords.y-s.y};a.coords.x+=c.x,a.coords.y+=c.y,a.delta.x+=c.x,a.delta.y+=c.y}this.applyToInteraction(e)}},{key:"beforeEnd",value:function(e){var n=e.interaction,r=e.event,i=this.states;if(i&&i.length){for(var o=!1,a=0;a<i.length;a++){var s=i[a];e.state=s;var c=s.options,u=s.methods,l=u.beforeEnd&&u.beforeEnd(e);if(l)return this.endResult=l,!1;o=o||!o&&this.shouldDo(c,!0,e.phase,!0)}o&&n.move({event:r,preEnd:!0})}}},{key:"stop",value:function(e){var n=e.interaction;if(this.states&&this.states.length){var r=x({states:this.states,interactable:n.interactable,element:n.element,rect:null},e);this.fillArg(r);for(var i=0,o=this.states;i<o.length;i++){var a=o[i];r.state=a,a.methods.stop&&a.methods.stop(r)}this.states=null,this.endResult=null}}},{key:"prepareStates",value:function(e){this.states=[];for(var n=0;n<e.length;n++){var r=e[n],i=r.options,o=r.methods,a=r.name;this.states.push({options:i,methods:o,index:n,name:a})}return this.states}},{key:"restoreInteractionCoords",value:function(e){var n=e.interaction,r=n.coords,i=n.rect,o=n.modification;if(o.result){for(var a=o.startDelta,s=o.result,c=s.delta,u=s.rectDelta,l=0,p=[[r.start,a],[r.cur,c]];l<p.length;l++){var f=p[l],h=f[0],v=f[1];h.page.x-=v.x,h.page.y-=v.y,h.client.x-=v.x,h.client.y-=v.y}i.left-=u.left,i.right-=u.right,i.top-=u.top,i.bottom-=u.bottom}}},{key:"shouldDo",value:function(e,n,r,i){return!(!e||e.enabled===!1||i&&!e.endOnly||e.endOnly&&!n||r==="start"&&!e.setStart)}},{key:"copyFrom",value:function(e){this.startOffset=e.startOffset,this.startDelta=e.startDelta,this.startEdges=e.startEdges,this.edges=e.edges,this.states=e.states.map(function(n){return re(n)}),this.result=Me(x({},e.result.coords),x({},e.result.rect))}},{key:"destroy",value:function(){for(var e in this)this[e]=null}}]),t}();function Me(t,e){return{rect:e,coords:t,delta:{x:0,y:0},rectDelta:{left:0,right:0,top:0,bottom:0},eventProps:[],changed:!0}}function G(t,e){var n=t.defaults,r={start:t.start,set:t.set,beforeEnd:t.beforeEnd,stop:t.stop},i=function(o){var a=o||{};for(var s in a.enabled=a.enabled!==!1,n)s in a||(a[s]=n[s]);var c={options:a,methods:r,name:e,enable:function(){return a.enabled=!0,c},disable:function(){return a.enabled=!1,c}};return c};return e&&typeof e=="string"&&(i._defaults=n,i._methods=r),i}function ve(t){var e=t.iEvent,n=t.interaction.modification.result;n&&(e.modifiers=n.eventProps)}var qn={id:"modifiers/base",before:["actions"],install:function(t){t.defaults.perAction.modifiers=[]},listeners:{"interactions:new":function(t){var e=t.interaction;e.modification=new at(e)},"interactions:before-action-start":function(t){var e=t.interaction,n=t.interaction.modification;n.start(t,e.coords.start.page),e.edges=n.edges,n.applyToInteraction(t)},"interactions:before-action-move":function(t){var e=t.interaction,n=e.modification,r=n.setAndApply(t);return e.edges=n.edges,r},"interactions:before-action-end":function(t){var e=t.interaction,n=e.modification,r=n.beforeEnd(t);return e.edges=n.startEdges,r},"interactions:action-start":ve,"interactions:action-move":ve,"interactions:action-end":ve,"interactions:after-action-start":function(t){return t.interaction.modification.restoreInteractionCoords(t)},"interactions:after-action-move":function(t){return t.interaction.modification.restoreInteractionCoords(t)},"interactions:stop":function(t){return t.interaction.modification.stop(t)}}},Jt=qn,Qt={base:{preventDefault:"auto",deltaSource:"page"},perAction:{enabled:!1,origin:{x:0,y:0}},actions:{}},st=function(t){oe(n,t);var e=ae(n);function n(r,i,o,a,s,c,u){var l;k(this,n),(l=e.call(this,r)).relatedTarget=null,l.screenX=void 0,l.screenY=void 0,l.button=void 0,l.buttons=void 0,l.ctrlKey=void 0,l.shiftKey=void 0,l.altKey=void 0,l.metaKey=void 0,l.page=void 0,l.client=void 0,l.delta=void 0,l.rect=void 0,l.x0=void 0,l.y0=void 0,l.t0=void 0,l.dt=void 0,l.duration=void 0,l.clientX0=void 0,l.clientY0=void 0,l.velocity=void 0,l.speed=void 0,l.swipe=void 0,l.axes=void 0,l.preEnd=void 0,s=s||r.element;var p=r.interactable,f=(p&&p.options||Qt).deltaSource,h=ce(p,s,o),v=a==="start",g=a==="end",y=v?be(l):r.prevEvent,m=v?r.coords.start:g?{page:y.page,client:y.client,timeStamp:r.coords.cur.timeStamp}:r.coords.cur;return l.page=x({},m.page),l.client=x({},m.client),l.rect=x({},r.rect),l.timeStamp=m.timeStamp,g||(l.page.x-=h.x,l.page.y-=h.y,l.client.x-=h.x,l.client.y-=h.y),l.ctrlKey=i.ctrlKey,l.altKey=i.altKey,l.shiftKey=i.shiftKey,l.metaKey=i.metaKey,l.button=i.button,l.buttons=i.buttons,l.target=s,l.currentTarget=s,l.preEnd=c,l.type=u||o+(a||""),l.interactable=p,l.t0=v?r.pointers[r.pointers.length-1].downTime:y.t0,l.x0=r.coords.start.page.x-h.x,l.y0=r.coords.start.page.y-h.y,l.clientX0=r.coords.start.client.x-h.x,l.clientY0=r.coords.start.client.y-h.y,l.delta=v||g?{x:0,y:0}:{x:l[f].x-y[f].x,y:l[f].y-y[f].y},l.dt=r.coords.delta.timeStamp,l.duration=l.timeStamp-l.t0,l.velocity=x({},r.coords.velocity[f]),l.speed=le(l.velocity.x,l.velocity.y),l.swipe=g||a==="inertiastart"?l.getSwipe():null,l}return D(n,[{key:"getSwipe",value:function(){var r=this._interaction;if(r.prevEvent.speed<600||this.timeStamp-r.prevEvent.timeStamp>150)return null;var i=180*Math.atan2(r.prevEvent.velocityY,r.prevEvent.velocityX)/Math.PI;i<0&&(i+=360);var o=112.5<=i&&i<247.5,a=202.5<=i&&i<337.5;return{up:a,down:!a&&22.5<=i&&i<157.5,left:o,right:!o&&(292.5<=i||i<67.5),angle:i,speed:r.prevEvent.speed,velocity:{x:r.prevEvent.velocityX,y:r.prevEvent.velocityY}}}},{key:"preventDefault",value:function(){}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}}]),n}(ke);Object.defineProperties(st.prototype,{pageX:{get:function(){return this.page.x},set:function(t){this.page.x=t}},pageY:{get:function(){return this.page.y},set:function(t){this.page.y=t}},clientX:{get:function(){return this.client.x},set:function(t){this.client.x=t}},clientY:{get:function(){return this.client.y},set:function(t){this.client.y=t}},dx:{get:function(){return this.delta.x},set:function(t){this.delta.x=t}},dy:{get:function(){return this.delta.y},set:function(t){this.delta.y=t}},velocityX:{get:function(){return this.velocity.x},set:function(t){this.velocity.x=t}},velocityY:{get:function(){return this.velocity.y},set:function(t){this.velocity.y=t}}});var Bn=D(function t(e,n,r,i,o){k(this,t),this.id=void 0,this.pointer=void 0,this.event=void 0,this.downTime=void 0,this.downTarget=void 0,this.id=e,this.pointer=n,this.event=r,this.downTime=i,this.downTarget=o}),Vn=function(t){return t.interactable="",t.element="",t.prepared="",t.pointerIsDown="",t.pointerWasMoved="",t._proxy="",t}({}),Zt=function(t){return t.start="",t.move="",t.end="",t.stop="",t.interacting="",t}({}),Wn=0,Gn=function(){function t(e){var n=this,r=e.pointerType,i=e.scopeFire;k(this,t),this.interactable=null,this.element=null,this.rect=null,this._rects=void 0,this.edges=null,this._scopeFire=void 0,this.prepared={name:null,axis:null,edges:null},this.pointerType=void 0,this.pointers=[],this.downEvent=null,this.downPointer={},this._latestPointer={pointer:null,event:null,eventTarget:null},this.prevEvent=null,this.pointerIsDown=!1,this.pointerWasMoved=!1,this._interacting=!1,this._ending=!1,this._stopped=!0,this._proxy=void 0,this.simulation=null,this.doMove=de(function(l){this.move(l)},"The interaction.doMove() method has been renamed to interaction.move()"),this.coords={start:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},prev:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},cur:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},delta:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},velocity:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0}},this._id=Wn++,this._scopeFire=i,this.pointerType=r;var o=this;this._proxy={};var a=function(l){Object.defineProperty(n._proxy,l,{get:function(){return o[l]}})};for(var s in Vn)a(s);var c=function(l){Object.defineProperty(n._proxy,l,{value:function(){return o[l].apply(o,arguments)}})};for(var u in Zt)c(u);this._scopeFire("interactions:new",{interaction:this})}return D(t,[{key:"pointerMoveTolerance",get:function(){return 1}},{key:"pointerDown",value:function(e,n,r){var i=this.updatePointer(e,n,r,!0),o=this.pointers[i];this._scopeFire("interactions:down",{pointer:e,event:n,eventTarget:r,pointerIndex:i,pointerInfo:o,type:"down",interaction:this})}},{key:"start",value:function(e,n,r){return!(this.interacting()||!this.pointerIsDown||this.pointers.length<(e.name==="gesture"?2:1)||!n.options[e.name].enabled)&&(nt(this.prepared,e),this.interactable=n,this.element=r,this.rect=n.getRect(r),this.edges=this.prepared.edges?x({},this.prepared.edges):{left:!0,right:!0,top:!0,bottom:!0},this._stopped=!1,this._interacting=this._doPhase({interaction:this,event:this.downEvent,phase:"start"})&&!this._stopped,this._interacting)}},{key:"pointerMove",value:function(e,n,r){this.simulation||this.modification&&this.modification.endResult||this.updatePointer(e,n,r,!1);var i,o,a=this.coords.cur.page.x===this.coords.prev.page.x&&this.coords.cur.page.y===this.coords.prev.page.y&&this.coords.cur.client.x===this.coords.prev.client.x&&this.coords.cur.client.y===this.coords.prev.client.y;this.pointerIsDown&&!this.pointerWasMoved&&(i=this.coords.cur.client.x-this.coords.start.client.x,o=this.coords.cur.client.y-this.coords.start.client.y,this.pointerWasMoved=le(i,o)>this.pointerMoveTolerance);var s,c,u,l=this.getPointerIndex(e),p={pointer:e,pointerIndex:l,pointerInfo:this.pointers[l],event:n,type:"move",eventTarget:r,dx:i,dy:o,duplicate:a,interaction:this};a||(s=this.coords.velocity,c=this.coords.delta,u=Math.max(c.timeStamp/1e3,.001),s.page.x=c.page.x/u,s.page.y=c.page.y/u,s.client.x=c.client.x/u,s.client.y=c.client.y/u,s.timeStamp=u),this._scopeFire("interactions:move",p),a||this.simulation||(this.interacting()&&(p.type=null,this.move(p)),this.pointerWasMoved&&Pe(this.coords.prev,this.coords.cur))}},{key:"move",value:function(e){e&&e.event||Dt(this.coords.delta),(e=x({pointer:this._latestPointer.pointer,event:this._latestPointer.event,eventTarget:this._latestPointer.eventTarget,interaction:this},e||{})).phase="move",this._doPhase(e)}},{key:"pointerUp",value:function(e,n,r,i){var o=this.getPointerIndex(e);o===-1&&(o=this.updatePointer(e,n,r,!1));var a=/cancel$/i.test(n.type)?"cancel":"up";this._scopeFire("interactions:".concat(a),{pointer:e,pointerIndex:o,pointerInfo:this.pointers[o],event:n,eventTarget:r,type:a,curEventTarget:i,interaction:this}),this.simulation||this.end(n),this.removePointer(e,n)}},{key:"documentBlur",value:function(e){this.end(e),this._scopeFire("interactions:blur",{event:e,type:"blur",interaction:this})}},{key:"end",value:function(e){var n;this._ending=!0,e=e||this._latestPointer.event,this.interacting()&&(n=this._doPhase({event:e,interaction:this,phase:"end"})),this._ending=!1,n===!0&&this.stop()}},{key:"currentAction",value:function(){return this._interacting?this.prepared.name:null}},{key:"interacting",value:function(){return this._interacting}},{key:"stop",value:function(){this._scopeFire("interactions:stop",{interaction:this}),this.interactable=this.element=null,this._interacting=!1,this._stopped=!0,this.prepared.name=this.prevEvent=null}},{key:"getPointerIndex",value:function(e){var n=ue(e);return this.pointerType==="mouse"||this.pointerType==="pen"?this.pointers.length-1:pe(this.pointers,function(r){return r.id===n})}},{key:"getPointerInfo",value:function(e){return this.pointers[this.getPointerIndex(e)]}},{key:"updatePointer",value:function(e,n,r,i){var o,a,s,c=ue(e),u=this.getPointerIndex(e),l=this.pointers[u];return i=i!==!1&&(i||/(down|start)$/i.test(n.type)),l?l.pointer=e:(l=new Bn(c,e,n,null,null),u=this.pointers.length,this.pointers.push(l)),En(this.coords.cur,this.pointers.map(function(p){return p.pointer}),this._now()),o=this.coords.delta,a=this.coords.prev,s=this.coords.cur,o.page.x=s.page.x-a.page.x,o.page.y=s.page.y-a.page.y,o.client.x=s.client.x-a.client.x,o.client.y=s.client.y-a.client.y,o.timeStamp=s.timeStamp-a.timeStamp,i&&(this.pointerIsDown=!0,l.downTime=this.coords.cur.timeStamp,l.downTarget=r,_e(this.downPointer,e),this.interacting()||(Pe(this.coords.start,this.coords.cur),Pe(this.coords.prev,this.coords.cur),this.downEvent=n,this.pointerWasMoved=!1)),this._updateLatestPointer(e,n,r),this._scopeFire("interactions:update-pointer",{pointer:e,event:n,eventTarget:r,down:i,pointerInfo:l,pointerIndex:u,interaction:this}),u}},{key:"removePointer",value:function(e,n){var r=this.getPointerIndex(e);if(r!==-1){var i=this.pointers[r];this._scopeFire("interactions:remove-pointer",{pointer:e,event:n,eventTarget:null,pointerIndex:r,pointerInfo:i,interaction:this}),this.pointers.splice(r,1),this.pointerIsDown=!1}}},{key:"_updateLatestPointer",value:function(e,n,r){this._latestPointer.pointer=e,this._latestPointer.event=n,this._latestPointer.eventTarget=r}},{key:"destroy",value:function(){this._latestPointer.pointer=null,this._latestPointer.event=null,this._latestPointer.eventTarget=null}},{key:"_createPreparedEvent",value:function(e,n,r,i){return new st(this,e,this.prepared.name,n,this.element,r,i)}},{key:"_fireEvent",value:function(e){var n;(n=this.interactable)==null||n.fire(e),(!this.prevEvent||e.timeStamp>=this.prevEvent.timeStamp)&&(this.prevEvent=e)}},{key:"_doPhase",value:function(e){var n=e.event,r=e.phase,i=e.preEnd,o=e.type,a=this.rect;if(a&&r==="move"&&(Se(this.edges,a,this.coords.delta[this.interactable.options.deltaSource]),a.width=a.right-a.left,a.height=a.bottom-a.top),this._scopeFire("interactions:before-action-".concat(r),e)===!1)return!1;var s=e.iEvent=this._createPreparedEvent(n,r,i,o);return this._scopeFire("interactions:action-".concat(r),e),r==="start"&&(this.prevEvent=s),this._fireEvent(s),this._scopeFire("interactions:after-action-".concat(r),e),!0}},{key:"_now",value:function(){return Date.now()}}]),t}();function en(t){tn(t.interaction)}function tn(t){if(!function(n){return!(!n.offset.pending.x&&!n.offset.pending.y)}(t))return!1;var e=t.offset.pending;return ct(t.coords.cur,e),ct(t.coords.delta,e),Se(t.edges,t.rect,e),e.x=0,e.y=0,!0}function Nn(t){var e=t.x,n=t.y;this.offset.pending.x+=e,this.offset.pending.y+=n,this.offset.total.x+=e,this.offset.total.y+=n}function ct(t,e){var n=t.page,r=t.client,i=e.x,o=e.y;n.x+=i,n.y+=o,r.x+=i,r.y+=o}Zt.offsetBy="";var Un={id:"offset",before:["modifiers","pointer-events","actions","inertia"],install:function(t){t.Interaction.prototype.offsetBy=Nn},listeners:{"interactions:new":function(t){t.interaction.offset={total:{x:0,y:0},pending:{x:0,y:0}}},"interactions:update-pointer":function(t){return function(e){e.pointerIsDown&&(ct(e.coords.cur,e.offset.total),e.offset.pending.x=0,e.offset.pending.y=0)}(t.interaction)},"interactions:before-action-start":en,"interactions:before-action-move":en,"interactions:before-action-end":function(t){var e=t.interaction;if(tn(e))return e.move({offset:!0}),e.end(),!1},"interactions:stop":function(t){var e=t.interaction;e.offset.total.x=0,e.offset.total.y=0,e.offset.pending.x=0,e.offset.pending.y=0}}},nn=Un,Hn=function(){function t(e){k(this,t),this.active=!1,this.isModified=!1,this.smoothEnd=!1,this.allowResume=!1,this.modification=void 0,this.modifierCount=0,this.modifierArg=void 0,this.startCoords=void 0,this.t0=0,this.v0=0,this.te=0,this.targetOffset=void 0,this.modifiedOffset=void 0,this.currentOffset=void 0,this.lambda_v0=0,this.one_ve_v0=0,this.timeout=void 0,this.interaction=void 0,this.interaction=e}return D(t,[{key:"start",value:function(e){var n=this.interaction,r=ze(n);if(!r||!r.enabled)return!1;var i=n.coords.velocity.client,o=le(i.x,i.y),a=this.modification||(this.modification=new at(n));if(a.copyFrom(n.modification),this.t0=n._now(),this.allowResume=r.allowResume,this.v0=o,this.currentOffset={x:0,y:0},this.startCoords=n.coords.cur.page,this.modifierArg=a.fillArg({pageCoords:this.startCoords,preEnd:!0,phase:"inertiastart"}),this.t0-n.coords.cur.timeStamp<50&&o>r.minSpeed&&o>r.endSpeed)this.startInertia();else{if(a.result=a.setAll(this.modifierArg),!a.result.changed)return!1;this.startSmoothEnd()}return n.modification.result.rect=null,n.offsetBy(this.targetOffset),n._doPhase({interaction:n,event:e,phase:"inertiastart"}),n.offsetBy({x:-this.targetOffset.x,y:-this.targetOffset.y}),n.modification.result.rect=null,this.active=!0,n.simulation=this,!0}},{key:"startInertia",value:function(){var e=this,n=this.interaction.coords.velocity.client,r=ze(this.interaction),i=r.resistance,o=-Math.log(r.endSpeed/this.v0)/i;this.targetOffset={x:(n.x-o)/i,y:(n.y-o)/i},this.te=o,this.lambda_v0=i/this.v0,this.one_ve_v0=1-r.endSpeed/this.v0;var a=this.modification,s=this.modifierArg;s.pageCoords={x:this.startCoords.x+this.targetOffset.x,y:this.startCoords.y+this.targetOffset.y},a.result=a.setAll(s),a.result.changed&&(this.isModified=!0,this.modifiedOffset={x:this.targetOffset.x+a.result.delta.x,y:this.targetOffset.y+a.result.delta.y}),this.onNextFrame(function(){return e.inertiaTick()})}},{key:"startSmoothEnd",value:function(){var e=this;this.smoothEnd=!0,this.isModified=!0,this.targetOffset={x:this.modification.result.delta.x,y:this.modification.result.delta.y},this.onNextFrame(function(){return e.smoothEndTick()})}},{key:"onNextFrame",value:function(e){var n=this;this.timeout=W.request(function(){n.active&&e()})}},{key:"inertiaTick",value:function(){var e,n,r,i,o,a,s,c=this,u=this.interaction,l=ze(u).resistance,p=(u._now()-this.t0)/1e3;if(p<this.te){var f,h=1-(Math.exp(-l*p)-this.lambda_v0)/this.one_ve_v0;this.isModified?(e=0,n=0,r=this.targetOffset.x,i=this.targetOffset.y,o=this.modifiedOffset.x,a=this.modifiedOffset.y,f={x:rn(s=h,e,r,o),y:rn(s,n,i,a)}):f={x:this.targetOffset.x*h,y:this.targetOffset.y*h};var v={x:f.x-this.currentOffset.x,y:f.y-this.currentOffset.y};this.currentOffset.x+=v.x,this.currentOffset.y+=v.y,u.offsetBy(v),u.move(),this.onNextFrame(function(){return c.inertiaTick()})}else u.offsetBy({x:this.modifiedOffset.x-this.currentOffset.x,y:this.modifiedOffset.y-this.currentOffset.y}),this.end()}},{key:"smoothEndTick",value:function(){var e=this,n=this.interaction,r=n._now()-this.t0,i=ze(n).smoothEndDuration;if(r<i){var o={x:on(r,0,this.targetOffset.x,i),y:on(r,0,this.targetOffset.y,i)},a={x:o.x-this.currentOffset.x,y:o.y-this.currentOffset.y};this.currentOffset.x+=a.x,this.currentOffset.y+=a.y,n.offsetBy(a),n.move({skipModifiers:this.modifierCount}),this.onNextFrame(function(){return e.smoothEndTick()})}else n.offsetBy({x:this.targetOffset.x-this.currentOffset.x,y:this.targetOffset.y-this.currentOffset.y}),this.end()}},{key:"resume",value:function(e){var n=e.pointer,r=e.event,i=e.eventTarget,o=this.interaction;o.offsetBy({x:-this.currentOffset.x,y:-this.currentOffset.y}),o.updatePointer(n,r,i,!0),o._doPhase({interaction:o,event:r,phase:"resume"}),Pe(o.coords.prev,o.coords.cur),this.stop()}},{key:"end",value:function(){this.interaction.move(),this.interaction.end(),this.stop()}},{key:"stop",value:function(){this.active=this.smoothEnd=!1,this.interaction.simulation=null,W.cancel(this.timeout)}}]),t}();function ze(t){var e=t.interactable,n=t.prepared;return e&&e.options&&n.name&&e.options[n.name].inertia}var Kn={id:"inertia",before:["modifiers","actions"],install:function(t){var e=t.defaults;t.usePlugin(nn),t.usePlugin(Jt),t.actions.phases.inertiastart=!0,t.actions.phases.resume=!0,e.perAction.inertia={enabled:!1,resistance:10,minSpeed:100,endSpeed:10,allowResume:!0,smoothEndDuration:300}},listeners:{"interactions:new":function(t){var e=t.interaction;e.inertia=new Hn(e)},"interactions:before-action-end":function(t){var e=t.interaction,n=t.event;return(!e._interacting||e.simulation||!e.inertia.start(n))&&null},"interactions:down":function(t){var e=t.interaction,n=t.eventTarget,r=e.inertia;if(r.active)for(var i=n;d.element(i);){if(i===e.element){r.resume(t);break}i=Y(i)}},"interactions:stop":function(t){var e=t.interaction.inertia;e.active&&e.stop()},"interactions:before-action-resume":function(t){var e=t.interaction.modification;e.stop(t),e.start(t,t.interaction.coords.cur.page),e.applyToInteraction(t)},"interactions:before-action-inertiastart":function(t){return t.interaction.modification.setAndApply(t)},"interactions:action-resume":ve,"interactions:action-inertiastart":ve,"interactions:after-action-inertiastart":function(t){return t.interaction.modification.restoreInteractionCoords(t)},"interactions:after-action-resume":function(t){return t.interaction.modification.restoreInteractionCoords(t)}}};function rn(t,e,n,r){var i=1-t;return i*i*e+2*i*t*n+t*t*r}function on(t,e,n,r){return-n*(t/=r)*(t-2)+e}var $n=Kn;function an(t,e){for(var n=0;n<e.length;n++){var r=e[n];if(t.immediatePropagationStopped)break;r(t)}}var sn=function(){function t(e){k(this,t),this.options=void 0,this.types={},this.propagationStopped=!1,this.immediatePropagationStopped=!1,this.global=void 0,this.options=x({},e||{})}return D(t,[{key:"fire",value:function(e){var n,r=this.global;(n=this.types[e.type])&&an(e,n),!e.propagationStopped&&r&&(n=r[e.type])&&an(e,n)}},{key:"on",value:function(e,n){var r=J(e,n);for(e in r)this.types[e]=Rt(this.types[e]||[],r[e])}},{key:"off",value:function(e,n){var r=J(e,n);for(e in r){var i=this.types[e];if(i&&i.length)for(var o=0,a=r[e];o<a.length;o++){var s=a[o],c=i.indexOf(s);c!==-1&&i.splice(c,1)}}}},{key:"getRect",value:function(e){return null}}]),t}(),Jn=function(){function t(e){k(this,t),this.currentTarget=void 0,this.originalEvent=void 0,this.type=void 0,this.originalEvent=e,_e(this,e)}return D(t,[{key:"preventOriginalDefault",value:function(){this.originalEvent.preventDefault()}},{key:"stopPropagation",value:function(){this.originalEvent.stopPropagation()}},{key:"stopImmediatePropagation",value:function(){this.originalEvent.stopImmediatePropagation()}}]),t}();function he(t){return d.object(t)?{capture:!!t.capture,passive:!!t.passive}:{capture:!!t,passive:!1}}function Ae(t,e){return t===e||(typeof t=="boolean"?!!e.capture===t&&!e.passive:!!t.capture==!!e.capture&&!!t.passive==!!e.passive)}var Qn={id:"events",install:function(t){var e,n=[],r={},i=[],o={add:a,remove:s,addDelegate:function(l,p,f,h,v){var g=he(v);if(!r[f]){r[f]=[];for(var y=0;y<i.length;y++){var m=i[y];a(m,f,c),a(m,f,u,!0)}}var b=r[f],T=fe(b,function(_){return _.selector===l&&_.context===p});T||(T={selector:l,context:p,listeners:[]},b.push(T)),T.listeners.push({func:h,options:g})},removeDelegate:function(l,p,f,h,v){var g,y=he(v),m=r[f],b=!1;if(m)for(g=m.length-1;g>=0;g--){var T=m[g];if(T.selector===l&&T.context===p){for(var _=T.listeners,w=_.length-1;w>=0;w--){var S=_[w];if(S.func===h&&Ae(S.options,y)){_.splice(w,1),_.length||(m.splice(g,1),s(p,f,c),s(p,f,u,!0)),b=!0;break}}if(b)break}}},delegateListener:c,delegateUseCapture:u,delegatedEvents:r,documents:i,targets:n,supportsOptions:!1,supportsPassive:!1};function a(l,p,f,h){if(l.addEventListener){var v=he(h),g=fe(n,function(y){return y.eventTarget===l});g||(g={eventTarget:l,events:{}},n.push(g)),g.events[p]||(g.events[p]=[]),fe(g.events[p],function(y){return y.func===f&&Ae(y.options,v)})||(l.addEventListener(p,f,o.supportsOptions?v:v.capture),g.events[p].push({func:f,options:v}))}}function s(l,p,f,h){if(l.addEventListener&&l.removeEventListener){var v=pe(n,function(M){return M.eventTarget===l}),g=n[v];if(g&&g.events)if(p!=="all"){var y=!1,m=g.events[p];if(m){if(f==="all"){for(var b=m.length-1;b>=0;b--){var T=m[b];s(l,p,T.func,T.options)}return}for(var _=he(h),w=0;w<m.length;w++){var S=m[w];if(S.func===f&&Ae(S.options,_)){l.removeEventListener(p,f,o.supportsOptions?_:_.capture),m.splice(w,1),m.length===0&&(delete g.events[p],y=!0);break}}}y&&!Object.keys(g.events).length&&n.splice(v,1)}else for(p in g.events)g.events.hasOwnProperty(p)&&s(l,p,"all")}}function c(l,p){for(var f=he(p),h=new Jn(l),v=r[l.type],g=Ct(l)[0],y=g;d.element(y);){for(var m=0;m<v.length;m++){var b=v[m],T=b.selector,_=b.context;if(V(y,T)&&$(_,g)&&$(_,y)){var w=b.listeners;h.currentTarget=y;for(var S=0;S<w.length;S++){var M=w[S];Ae(M.options,f)&&M.func(h)}}}y=Y(y)}}function u(l){return c(l,!0)}return(e=t.document)==null||e.createElement("div").addEventListener("test",null,{get capture(){return o.supportsOptions=!0},get passive(){return o.supportsPassive=!0}}),t.events=o,o}},lt={methodOrder:["simulationResume","mouseOrPen","hasPointer","idle"],search:function(t){for(var e=0,n=lt.methodOrder;e<n.length;e++){var r=n[e],i=lt[r](t);if(i)return i}return null},simulationResume:function(t){var e=t.pointerType,n=t.eventType,r=t.eventTarget,i=t.scope;if(!/down|start/i.test(n))return null;for(var o=0,a=i.interactions.list;o<a.length;o++){var s=a[o],c=r;if(s.simulation&&s.simulation.allowResume&&s.pointerType===e)for(;c;){if(c===s.element)return s;c=Y(c)}}return null},mouseOrPen:function(t){var e,n=t.pointerId,r=t.pointerType,i=t.eventType,o=t.scope;if(r!=="mouse"&&r!=="pen")return null;for(var a=0,s=o.interactions.list;a<s.length;a++){var c=s[a];if(c.pointerType===r){if(c.simulation&&!cn(c,n))continue;if(c.interacting())return c;e||(e=c)}}if(e)return e;for(var u=0,l=o.interactions.list;u<l.length;u++){var p=l[u];if(!(p.pointerType!==r||/down/i.test(i)&&p.simulation))return p}return null},hasPointer:function(t){for(var e=t.pointerId,n=0,r=t.scope.interactions.list;n<r.length;n++){var i=r[n];if(cn(i,e))return i}return null},idle:function(t){for(var e=t.pointerType,n=0,r=t.scope.interactions.list;n<r.length;n++){var i=r[n];if(i.pointers.length===1){var o=i.interactable;if(o&&(!o.options.gesture||!o.options.gesture.enabled))continue}else if(i.pointers.length>=2)continue;if(!i.interacting()&&e===i.pointerType)return i}return null}};function cn(t,e){return t.pointers.some(function(n){return n.id===e})}var Zn=lt,ut=["pointerDown","pointerMove","pointerUp","updatePointer","removePointer","windowBlur"];function ln(t,e){return function(n){var r=e.interactions.list,i=At(n),o=Ct(n),a=o[0],s=o[1],c=[];if(/^touch/.test(n.type)){e.prevTouchTime=e.now();for(var u=0,l=n.changedTouches;u<l.length;u++){var p=l[u],f={pointer:p,pointerId:ue(p),pointerType:i,eventType:n.type,eventTarget:a,curEventTarget:s,scope:e},h=un(f);c.push([f.pointer,f.eventTarget,f.curEventTarget,h])}}else{var v=!1;if(!R.supportsPointerEvent&&/mouse/.test(n.type)){for(var g=0;g<r.length&&!v;g++)v=r[g].pointerType!=="mouse"&&r[g].pointerIsDown;v=v||e.now()-e.prevTouchTime<500||n.timeStamp===0}if(!v){var y={pointer:n,pointerId:ue(n),pointerType:i,eventType:n.type,curEventTarget:s,eventTarget:a,scope:e},m=un(y);c.push([y.pointer,y.eventTarget,y.curEventTarget,m])}}for(var b=0;b<c.length;b++){var T=c[b],_=T[0],w=T[1],S=T[2];T[3][t](_,n,w,S)}}}function un(t){var e=t.pointerType,n=t.scope,r={interaction:Zn.search(t),searchDetails:t};return n.fire("interactions:find",r),r.interaction||n.interactions.new({pointerType:e})}function pt(t,e){var n=t.doc,r=t.scope,i=t.options,o=r.interactions.docEvents,a=r.events,s=a[e];for(var c in r.browser.isIOS&&!i.events&&(i.events={passive:!1}),a.delegatedEvents)s(n,c,a.delegateListener),s(n,c,a.delegateUseCapture,!0);for(var u=i&&i.events,l=0;l<o.length;l++){var p=o[l];s(n,p.type,p.listener,u)}}var er={id:"core/interactions",install:function(t){for(var e={},n=0;n<ut.length;n++){var r=ut[n];e[r]=ln(r,t)}var i,o=R.pEventTypes;function a(){for(var s=0,c=t.interactions.list;s<c.length;s++){var u=c[s];if(u.pointerIsDown&&u.pointerType==="touch"&&!u._interacting)for(var l=function(){var h=f[p];t.documents.some(function(v){return $(v.doc,h.downTarget)})||u.removePointer(h.pointer,h.event)},p=0,f=u.pointers;p<f.length;p++)l()}}(i=O.PointerEvent?[{type:o.down,listener:a},{type:o.down,listener:e.pointerDown},{type:o.move,listener:e.pointerMove},{type:o.up,listener:e.pointerUp},{type:o.cancel,listener:e.pointerUp}]:[{type:"mousedown",listener:e.pointerDown},{type:"mousemove",listener:e.pointerMove},{type:"mouseup",listener:e.pointerUp},{type:"touchstart",listener:a},{type:"touchstart",listener:e.pointerDown},{type:"touchmove",listener:e.pointerMove},{type:"touchend",listener:e.pointerUp},{type:"touchcancel",listener:e.pointerUp}]).push({type:"blur",listener:function(s){for(var c=0,u=t.interactions.list;c<u.length;c++)u[c].documentBlur(s)}}),t.prevTouchTime=0,t.Interaction=function(s){oe(u,s);var c=ae(u);function u(){return k(this,u),c.apply(this,arguments)}return D(u,[{key:"pointerMoveTolerance",get:function(){return t.interactions.pointerMoveTolerance},set:function(l){t.interactions.pointerMoveTolerance=l}},{key:"_now",value:function(){return t.now()}}]),u}(Gn),t.interactions={list:[],new:function(s){s.scopeFire=function(u,l){return t.fire(u,l)};var c=new t.Interaction(s);return t.interactions.list.push(c),c},listeners:e,docEvents:i,pointerMoveTolerance:1},t.usePlugin($t)},listeners:{"scope:add-document":function(t){return pt(t,"add")},"scope:remove-document":function(t){return pt(t,"remove")},"interactable:unset":function(t,e){for(var n=t.interactable,r=e.interactions.list.length-1;r>=0;r--){var i=e.interactions.list[r];i.interactable===n&&(i.stop(),e.fire("interactions:destroy",{interaction:i}),i.destroy(),e.interactions.list.length>2&&e.interactions.list.splice(r,1))}}},onDocSignal:pt,doOnInteractions:ln,methodNames:ut},tr=er,N=function(t){return t[t.On=0]="On",t[t.Off=1]="Off",t}(N||{}),nr=function(){function t(e,n,r,i){k(this,t),this.target=void 0,this.options=void 0,this._actions=void 0,this.events=new sn,this._context=void 0,this._win=void 0,this._doc=void 0,this._scopeEvents=void 0,this._actions=n.actions,this.target=e,this._context=n.context||r,this._win=X(Pt(e)?this._context:e),this._doc=this._win.document,this._scopeEvents=i,this.set(n)}return D(t,[{key:"_defaults",get:function(){return{base:{},perAction:{},actions:{}}}},{key:"setOnEvents",value:function(e,n){return d.func(n.onstart)&&this.on("".concat(e,"start"),n.onstart),d.func(n.onmove)&&this.on("".concat(e,"move"),n.onmove),d.func(n.onend)&&this.on("".concat(e,"end"),n.onend),d.func(n.oninertiastart)&&this.on("".concat(e,"inertiastart"),n.oninertiastart),this}},{key:"updatePerActionListeners",value:function(e,n,r){var i,o=this,a=(i=this._actions.map[e])==null?void 0:i.filterEventType,s=function(c){return(a==null||a(c))&&Ie(c,o._actions)};(d.array(n)||d.object(n))&&this._onOff(N.Off,e,n,void 0,s),(d.array(r)||d.object(r))&&this._onOff(N.On,e,r,void 0,s)}},{key:"setPerAction",value:function(e,n){var r=this._defaults;for(var i in n){var o=i,a=this.options[e],s=n[o];o==="listeners"&&this.updatePerActionListeners(e,a.listeners,s),d.array(s)?a[o]=jt(s):d.plainObject(s)?(a[o]=x(a[o]||{},re(s)),d.object(r.perAction[o])&&"enabled"in r.perAction[o]&&(a[o].enabled=s.enabled!==!1)):d.bool(s)&&d.object(r.perAction[o])?a[o].enabled=s:a[o]=s}}},{key:"getRect",value:function(e){return e=e||(d.element(this.target)?this.target:null),d.string(this.target)&&(e=e||this._context.querySelector(this.target)),Ge(e)}},{key:"rectChecker",value:function(e){var n=this;return d.func(e)?(this.getRect=function(r){var i=x({},e.apply(n,r));return"width"in i||(i.width=i.right-i.left,i.height=i.bottom-i.top),i},this):e===null?(delete this.getRect,this):this.getRect}},{key:"_backCompatOption",value:function(e,n){if(Pt(n)||d.object(n)){for(var r in this.options[e]=n,this._actions.map)this.options[r][e]=n;return this}return this.options[e]}},{key:"origin",value:function(e){return this._backCompatOption("origin",e)}},{key:"deltaSource",value:function(e){return e==="page"||e==="client"?(this.options.deltaSource=e,this):this.options.deltaSource}},{key:"getAllElements",value:function(){var e=this.target;return d.string(e)?Array.from(this._context.querySelectorAll(e)):d.func(e)&&e.getAllElements?e.getAllElements():d.element(e)?[e]:[]}},{key:"context",value:function(){return this._context}},{key:"inContext",value:function(e){return this._context===e.ownerDocument||$(this._context,e)}},{key:"testIgnoreAllow",value:function(e,n,r){return!this.testIgnore(e.ignoreFrom,n,r)&&this.testAllow(e.allowFrom,n,r)}},{key:"testAllow",value:function(e,n,r){return!e||!!d.element(r)&&(d.string(e)?Ve(r,e,n):!!d.element(e)&&$(e,r))}},{key:"testIgnore",value:function(e,n,r){return!(!e||!d.element(r))&&(d.string(e)?Ve(r,e,n):!!d.element(e)&&$(e,r))}},{key:"fire",value:function(e){return this.events.fire(e),this}},{key:"_onOff",value:function(e,n,r,i,o){d.object(n)&&!d.array(n)&&(i=r,r=null);var a=J(n,r,o);for(var s in a){s==="wheel"&&(s=R.wheelEvent);for(var c=0,u=a[s];c<u.length;c++){var l=u[c];Ie(s,this._actions)?this.events[e===N.On?"on":"off"](s,l):d.string(this.target)?this._scopeEvents[e===N.On?"addDelegate":"removeDelegate"](this.target,this._context,s,l,i):this._scopeEvents[e===N.On?"add":"remove"](this.target,s,l,i)}}return this}},{key:"on",value:function(e,n,r){return this._onOff(N.On,e,n,r)}},{key:"off",value:function(e,n,r){return this._onOff(N.Off,e,n,r)}},{key:"set",value:function(e){var n=this._defaults;for(var r in d.object(e)||(e={}),this.options=re(n.base),this._actions.methodDict){var i=r,o=this._actions.methodDict[i];this.options[i]={},this.setPerAction(i,x(x({},n.perAction),n.actions[i])),this[o](e[i])}for(var a in e)a!=="getRect"?d.func(this[a])&&this[a](e[a]):this.rectChecker(e.getRect);return this}},{key:"unset",value:function(){if(d.string(this.target))for(var e in this._scopeEvents.delegatedEvents)for(var n=this._scopeEvents.delegatedEvents[e],r=n.length-1;r>=0;r--){var i=n[r],o=i.selector,a=i.context,s=i.listeners;o===this.target&&a===this._context&&n.splice(r,1);for(var c=s.length-1;c>=0;c--)this._scopeEvents.removeDelegate(this.target,this._context,e,s[c][0],s[c][1])}else this._scopeEvents.remove(this.target,"all")}}]),t}(),rr=function(){function t(e){var n=this;k(this,t),this.list=[],this.selectorMap={},this.scope=void 0,this.scope=e,e.addListeners({"interactable:unset":function(r){var i=r.interactable,o=i.target,a=d.string(o)?n.selectorMap[o]:o[n.scope.id],s=pe(a,function(c){return c===i});a.splice(s,1)}})}return D(t,[{key:"new",value:function(e,n){n=x(n||{},{actions:this.scope.actions});var r=new this.scope.Interactable(e,n,this.scope.document,this.scope.events);return this.scope.addDocument(r._doc),this.list.push(r),d.string(e)?(this.selectorMap[e]||(this.selectorMap[e]=[]),this.selectorMap[e].push(r)):(r.target[this.scope.id]||Object.defineProperty(e,this.scope.id,{value:[],configurable:!0}),e[this.scope.id].push(r)),this.scope.fire("interactable:new",{target:e,options:n,interactable:r,win:this.scope._win}),r}},{key:"getExisting",value:function(e,n){var r=n&&n.context||this.scope.document,i=d.string(e),o=i?this.selectorMap[e]:e[this.scope.id];if(o)return fe(o,function(a){return a._context===r&&(i||a.inContext(e))})}},{key:"forEachMatch",value:function(e,n){for(var r=0,i=this.list;r<i.length;r++){var o=i[r],a=void 0;if((d.string(o.target)?d.element(e)&&V(e,o.target):e===o.target)&&o.inContext(e)&&(a=n(o)),a!==void 0)return a}}}]),t}(),ir=function(){function t(){var e=this;k(this,t),this.id="__interact_scope_".concat(Math.floor(100*Math.random())),this.isInitialized=!1,this.listenerMaps=[],this.browser=R,this.defaults=re(Qt),this.Eventable=sn,this.actions={map:{},phases:{start:!0,move:!0,end:!0},methodDict:{},phaselessTypes:{}},this.interactStatic=function(r){var i=function o(a,s){var c=r.interactables.getExisting(a,s);return c||((c=r.interactables.new(a,s)).events.global=o.globalEvents),c};return i.getPointerAverage=zt,i.getTouchBBox=He,i.getTouchDistance=Ke,i.getTouchAngle=$e,i.getElementRect=Ge,i.getElementClientRect=We,i.matchesSelector=V,i.closest=Et,i.globalEvents={},i.version="1.10.27",i.scope=r,i.use=function(o,a){return this.scope.usePlugin(o,a),this},i.isSet=function(o,a){return!!this.scope.interactables.get(o,a&&a.context)},i.on=de(function(o,a,s){if(d.string(o)&&o.search(" ")!==-1&&(o=o.trim().split(/ +/)),d.array(o)){for(var c=0,u=o;c<u.length;c++){var l=u[c];this.on(l,a,s)}return this}if(d.object(o)){for(var p in o)this.on(p,o[p],a);return this}return Ie(o,this.scope.actions)?this.globalEvents[o]?this.globalEvents[o].push(a):this.globalEvents[o]=[a]:this.scope.events.add(this.scope.document,o,a,{options:s}),this},"The interact.on() method is being deprecated"),i.off=de(function(o,a,s){if(d.string(o)&&o.search(" ")!==-1&&(o=o.trim().split(/ +/)),d.array(o)){for(var c=0,u=o;c<u.length;c++){var l=u[c];this.off(l,a,s)}return this}if(d.object(o)){for(var p in o)this.off(p,o[p],a);return this}var f;return Ie(o,this.scope.actions)?o in this.globalEvents&&(f=this.globalEvents[o].indexOf(a))!==-1&&this.globalEvents[o].splice(f,1):this.scope.events.remove(this.scope.document,o,a,s),this},"The interact.off() method is being deprecated"),i.debug=function(){return this.scope},i.supportsTouch=function(){return R.supportsTouch},i.supportsPointerEvent=function(){return R.supportsPointerEvent},i.stop=function(){for(var o=0,a=this.scope.interactions.list;o<a.length;o++)a[o].stop();return this},i.pointerMoveTolerance=function(o){return d.number(o)?(this.scope.interactions.pointerMoveTolerance=o,this):this.scope.interactions.pointerMoveTolerance},i.addDocument=function(o,a){this.scope.addDocument(o,a)},i.removeDocument=function(o){this.scope.removeDocument(o)},i}(this),this.InteractEvent=st,this.Interactable=void 0,this.interactables=new rr(this),this._win=void 0,this.document=void 0,this.window=void 0,this.documents=[],this._plugins={list:[],map:{}},this.onWindowUnload=function(r){return e.removeDocument(r.target)};var n=this;this.Interactable=function(r){oe(o,r);var i=ae(o);function o(){return k(this,o),i.apply(this,arguments)}return D(o,[{key:"_defaults",get:function(){return n.defaults}},{key:"set",value:function(a){return xe(H(o.prototype),"set",this).call(this,a),n.fire("interactable:set",{options:a,interactable:this}),this}},{key:"unset",value:function(){xe(H(o.prototype),"unset",this).call(this);var a=n.interactables.list.indexOf(this);a<0||(n.interactables.list.splice(a,1),n.fire("interactable:unset",{interactable:this}))}}]),o}(nr)}return D(t,[{key:"addListeners",value:function(e,n){this.listenerMaps.push({id:n,map:e})}},{key:"fire",value:function(e,n){for(var r=0,i=this.listenerMaps;r<i.length;r++){var o=i[r].map[e];if(o&&o(n,this,e)===!1)return!1}}},{key:"init",value:function(e){return this.isInitialized?this:function(n,r){return n.isInitialized=!0,d.window(r)&&yt(r),O.init(r),R.init(r),W.init(r),n.window=r,n.document=r.document,n.usePlugin(tr),n.usePlugin(Qn),n}(this,e)}},{key:"pluginIsInstalled",value:function(e){var n=e.id;return n?!!this._plugins.map[n]:this._plugins.list.indexOf(e)!==-1}},{key:"usePlugin",value:function(e,n){if(!this.isInitialized)return this;if(this.pluginIsInstalled(e))return this;if(e.id&&(this._plugins.map[e.id]=e),this._plugins.list.push(e),e.install&&e.install(this,n),e.listeners&&e.before){for(var r=0,i=this.listenerMaps.length,o=e.before.reduce(function(s,c){return s[c]=!0,s[pn(c)]=!0,s},{});r<i;r++){var a=this.listenerMaps[r].id;if(a&&(o[a]||o[pn(a)]))break}this.listenerMaps.splice(r,0,{id:e.id,map:e.listeners})}else e.listeners&&this.listenerMaps.push({id:e.id,map:e.listeners});return this}},{key:"addDocument",value:function(e,n){if(this.getDocIndex(e)!==-1)return!1;var r=X(e);n=n?x({},n):{},this.documents.push({doc:e,options:n}),this.events.documents.push(e),e!==this.document&&this.events.add(r,"unload",this.onWindowUnload),this.fire("scope:add-document",{doc:e,window:r,scope:this,options:n})}},{key:"removeDocument",value:function(e){var n=this.getDocIndex(e),r=X(e),i=this.documents[n].options;this.events.remove(r,"unload",this.onWindowUnload),this.documents.splice(n,1),this.events.documents.splice(n,1),this.fire("scope:remove-document",{doc:e,window:r,scope:this,options:i})}},{key:"getDocIndex",value:function(e){for(var n=0;n<this.documents.length;n++)if(this.documents[n].doc===e)return n;return-1}},{key:"getDocOptions",value:function(e){var n=this.getDocIndex(e);return n===-1?null:this.documents[n].options}},{key:"now",value:function(){return(this.window.Date||Date).now()}}]),t}();function pn(t){return t&&t.replace(/\/.*$/,"")}var fn=new ir,I=fn.interactStatic,or=typeof globalThis<"u"?globalThis:window;fn.init(or);var ar=Object.freeze({__proto__:null,edgeTarget:function(){},elements:function(){},grid:function(t){var e=[["x","y"],["left","top"],["right","bottom"],["width","height"]].filter(function(r){var i=r[0],o=r[1];return i in t||o in t}),n=function(r,i){for(var o=t.range,a=t.limits,s=a===void 0?{left:-1/0,right:1/0,top:-1/0,bottom:1/0}:a,c=t.offset,u=c===void 0?{x:0,y:0}:c,l={range:o,grid:t,x:null,y:null},p=0;p<e.length;p++){var f=e[p],h=f[0],v=f[1],g=Math.round((r-u.x)/t[h]),y=Math.round((i-u.y)/t[v]);l[h]=Math.max(s.left,Math.min(s.right,g*t[h]+u.x)),l[v]=Math.max(s.top,Math.min(s.bottom,y*t[v]+u.y))}return l};return n.grid=t,n.coordFields=e,n}}),sr={id:"snappers",install:function(t){var e=t.interactStatic;e.snappers=x(e.snappers||{},ar),e.createSnapGrid=e.snappers.grid}},cr=sr,lr={start:function(t){var e=t.state,n=t.rect,r=t.edges,i=t.pageCoords,o=e.options,a=o.ratio,s=o.enabled,c=e.options,u=c.equalDelta,l=c.modifiers;a==="preserve"&&(a=n.width/n.height),e.startCoords=x({},i),e.startRect=x({},n),e.ratio=a,e.equalDelta=u;var p=e.linkedEdges={top:r.top||r.left&&!r.bottom,left:r.left||r.top&&!r.right,bottom:r.bottom||r.right&&!r.top,right:r.right||r.bottom&&!r.left};if(e.xIsPrimaryAxis=!(!r.left&&!r.right),e.equalDelta){var f=(p.left?1:-1)*(p.top?1:-1);e.edgeSign={x:f,y:f}}else e.edgeSign={x:p.left?-1:1,y:p.top?-1:1};if(s!==!1&&x(r,p),l!=null&&l.length){var h=new at(t.interaction);h.copyFrom(t.interaction.modification),h.prepareStates(l),e.subModification=h,h.startAll(ie({},t))}},set:function(t){var e=t.state,n=t.rect,r=t.coords,i=e.linkedEdges,o=x({},r),a=e.equalDelta?ur:pr;if(x(t.edges,i),a(e,e.xIsPrimaryAxis,r,n),!e.subModification)return null;var s=x({},n);Se(i,s,{x:r.x-o.x,y:r.y-o.y});var c=e.subModification.setAll(ie(ie({},t),{},{rect:s,edges:i,pageCoords:r,prevCoords:r,prevRect:s})),u=c.delta;return c.changed&&(a(e,Math.abs(u.x)>Math.abs(u.y),c.coords,c.rect),x(r,c.coords)),c.eventProps},defaults:{ratio:"preserve",equalDelta:!1,modifiers:[],enabled:!1}};function ur(t,e,n){var r=t.startCoords,i=t.edgeSign;e?n.y=r.y+(n.x-r.x)*i.y:n.x=r.x+(n.y-r.y)*i.x}function pr(t,e,n,r){var i=t.startRect,o=t.startCoords,a=t.ratio,s=t.edgeSign;if(e){var c=r.width/a;n.y=o.y+(c-i.height)*s.y}else{var u=r.height*a;n.x=o.x+(u-i.width)*s.x}}var fr=G(lr,"aspectRatio"),dn=function(){};dn._defaults={};var Ce=dn;function Z(t,e,n){return d.func(t)?se(t,e.interactable,e.element,[n.x,n.y,e]):se(t,e.interactable,e.element)}var Re={start:function(t){var e=t.rect,n=t.startOffset,r=t.state,i=t.interaction,o=t.pageCoords,a=r.options,s=a.elementRect,c=x({left:0,top:0,right:0,bottom:0},a.offset||{});if(e&&s){var u=Z(a.restriction,i,o);if(u){var l=u.right-u.left-e.width,p=u.bottom-u.top-e.height;l<0&&(c.left+=l,c.right+=l),p<0&&(c.top+=p,c.bottom+=p)}c.left+=n.left-e.width*s.left,c.top+=n.top-e.height*s.top,c.right+=n.right-e.width*(1-s.right),c.bottom+=n.bottom-e.height*(1-s.bottom)}r.offset=c},set:function(t){var e=t.coords,n=t.interaction,r=t.state,i=r.options,o=r.offset,a=Z(i.restriction,n,e);if(a){var s=function(c){return!c||"left"in c&&"top"in c||((c=x({},c)).left=c.x||0,c.top=c.y||0,c.right=c.right||c.left+c.width,c.bottom=c.bottom||c.top+c.height),c}(a);e.x=Math.max(Math.min(s.right-o.right,e.x),s.left+o.left),e.y=Math.max(Math.min(s.bottom-o.bottom,e.y),s.top+o.top)}},defaults:{restriction:null,elementRect:null,offset:null,endOnly:!1,enabled:!1}},dr=G(Re,"restrict"),vn={top:1/0,left:1/0,bottom:-1/0,right:-1/0},hn={top:-1/0,left:-1/0,bottom:1/0,right:1/0};function gn(t,e){for(var n=0,r=["top","left","bottom","right"];n<r.length;n++){var i=r[n];i in t||(t[i]=e[i])}return t}var ge={noInner:vn,noOuter:hn,start:function(t){var e,n=t.interaction,r=t.startOffset,i=t.state,o=i.options;o&&(e=Te(Z(o.offset,n,n.coords.start.page))),e=e||{x:0,y:0},i.offset={top:e.y+r.top,left:e.x+r.left,bottom:e.y-r.bottom,right:e.x-r.right}},set:function(t){var e=t.coords,n=t.edges,r=t.interaction,i=t.state,o=i.offset,a=i.options;if(n){var s=x({},e),c=Z(a.inner,r,s)||{},u=Z(a.outer,r,s)||{};gn(c,vn),gn(u,hn),n.top?e.y=Math.min(Math.max(u.top+o.top,s.y),c.top+o.top):n.bottom&&(e.y=Math.max(Math.min(u.bottom+o.bottom,s.y),c.bottom+o.bottom)),n.left?e.x=Math.min(Math.max(u.left+o.left,s.x),c.left+o.left):n.right&&(e.x=Math.max(Math.min(u.right+o.right,s.x),c.right+o.right))}},defaults:{inner:null,outer:null,offset:null,endOnly:!1,enabled:!1}},vr=G(ge,"restrictEdges"),hr=x({get elementRect(){return{top:0,left:0,bottom:1,right:1}},set elementRect(t){}},Re.defaults),gr=G({start:Re.start,set:Re.set,defaults:hr},"restrictRect"),mr={width:-1/0,height:-1/0},yr={width:1/0,height:1/0},br=G({start:function(t){return ge.start(t)},set:function(t){var e=t.interaction,n=t.state,r=t.rect,i=t.edges,o=n.options;if(i){var a=Ne(Z(o.min,e,t.coords))||mr,s=Ne(Z(o.max,e,t.coords))||yr;n.options={endOnly:o.endOnly,inner:x({},ge.noInner),outer:x({},ge.noOuter)},i.top?(n.options.inner.top=r.bottom-a.height,n.options.outer.top=r.bottom-s.height):i.bottom&&(n.options.inner.bottom=r.top+a.height,n.options.outer.bottom=r.top+s.height),i.left?(n.options.inner.left=r.right-a.width,n.options.outer.left=r.right-s.width):i.right&&(n.options.inner.right=r.left+a.width,n.options.outer.right=r.left+s.width),ge.set(t),n.options=o}},defaults:{min:null,max:null,endOnly:!1,enabled:!1}},"restrictSize"),ft={start:function(t){var e,n=t.interaction,r=t.interactable,i=t.element,o=t.rect,a=t.state,s=t.startOffset,c=a.options,u=c.offsetWithOrigin?function(f){var h=f.interaction.element,v=Te(se(f.state.options.origin,null,null,[h])),g=v||ce(f.interactable,h,f.interaction.prepared.name);return g}(t):{x:0,y:0};if(c.offset==="startCoords")e={x:n.coords.start.page.x,y:n.coords.start.page.y};else{var l=se(c.offset,r,i,[n]);(e=Te(l)||{x:0,y:0}).x+=u.x,e.y+=u.y}var p=c.relativePoints;a.offsets=o&&p&&p.length?p.map(function(f,h){return{index:h,relativePoint:f,x:s.left-o.width*f.x+e.x,y:s.top-o.height*f.y+e.y}}):[{index:0,relativePoint:null,x:e.x,y:e.y}]},set:function(t){var e=t.interaction,n=t.coords,r=t.state,i=r.options,o=r.offsets,a=ce(e.interactable,e.element,e.prepared.name),s=x({},n),c=[];i.offsetWithOrigin||(s.x-=a.x,s.y-=a.y);for(var u=0,l=o;u<l.length;u++)for(var p=l[u],f=s.x-p.x,h=s.y-p.y,v=0,g=i.targets.length;v<g;v++){var y=i.targets[v],m=void 0;(m=d.func(y)?y(f,h,e._proxy,p,v):y)&&c.push({x:(d.number(m.x)?m.x:f)+p.x,y:(d.number(m.y)?m.y:h)+p.y,range:d.number(m.range)?m.range:i.range,source:y,index:v,offset:p})}for(var b={target:null,inRange:!1,distance:0,range:0,delta:{x:0,y:0}},T=0;T<c.length;T++){var _=c[T],w=_.range,S=_.x-s.x,M=_.y-s.y,P=le(S,M),z=P<=w;w===1/0&&b.inRange&&b.range!==1/0&&(z=!1),b.target&&!(z?b.inRange&&w!==1/0?P/w<b.distance/b.range:w===1/0&&b.range!==1/0||P<b.distance:!b.inRange&&P<b.distance)||(b.target=_,b.distance=P,b.range=w,b.inRange=z,b.delta.x=S,b.delta.y=M)}return b.inRange&&(n.x=b.target.x,n.y=b.target.y),r.closest=b,b},defaults:{range:1/0,targets:null,offset:null,offsetWithOrigin:!0,origin:null,relativePoints:null,endOnly:!1,enabled:!1}},xr=G(ft,"snap"),je={start:function(t){var e=t.state,n=t.edges,r=e.options;if(!n)return null;t.state={options:{targets:null,relativePoints:[{x:n.left?0:1,y:n.top?0:1}],offset:r.offset||"self",origin:{x:0,y:0},range:r.range}},e.targetFields=e.targetFields||[["width","height"],["x","y"]],ft.start(t),e.offsets=t.state.offsets,t.state=e},set:function(t){var e=t.interaction,n=t.state,r=t.coords,i=n.options,o=n.offsets,a={x:r.x-o[0].x,y:r.y-o[0].y};n.options=x({},i),n.options.targets=[];for(var s=0,c=i.targets||[];s<c.length;s++){var u=c[s],l=void 0;if(l=d.func(u)?u(a.x,a.y,e):u){for(var p=0,f=n.targetFields;p<f.length;p++){var h=f[p],v=h[0],g=h[1];if(v in l||g in l){l.x=l[v],l.y=l[g];break}}n.options.targets.push(l)}}var y=ft.set(t);return n.options=i,y},defaults:{range:1/0,targets:null,offset:null,endOnly:!1,enabled:!1}},wr=G(je,"snapSize"),dt={aspectRatio:fr,restrictEdges:vr,restrict:dr,restrictRect:gr,restrictSize:br,snapEdges:G({start:function(t){var e=t.edges;return e?(t.state.targetFields=t.state.targetFields||[[e.left?"left":"right",e.top?"top":"bottom"]],je.start(t)):null},set:je.set,defaults:x(re(je.defaults),{targets:void 0,range:void 0,offset:{x:0,y:0}})},"snapEdges"),snap:xr,snapSize:wr,spring:Ce,avoid:Ce,transform:Ce,rubberband:Ce},Er={id:"modifiers",install:function(t){var e=t.interactStatic;for(var n in t.usePlugin(Jt),t.usePlugin(cr),e.modifiers=dt,dt){var r=dt[n],i=r._defaults,o=r._methods;i._methods=o,t.defaults.perAction[n]=i}}},Tr=Er,mn=function(t){oe(n,t);var e=ae(n);function n(r,i,o,a,s,c){var u;if(k(this,n),_e(be(u=e.call(this,s)),o),o!==i&&_e(be(u),i),u.timeStamp=c,u.originalEvent=o,u.type=r,u.pointerId=ue(i),u.pointerType=At(i),u.target=a,u.currentTarget=null,r==="tap"){var l=s.getPointerIndex(i);u.dt=u.timeStamp-s.pointers[l].downTime;var p=u.timeStamp-s.tapTime;u.double=!!s.prevTap&&s.prevTap.type!=="doubletap"&&s.prevTap.target===u.target&&p<500}else r==="doubletap"&&(u.dt=i.timeStamp-s.tapTime,u.double=!0);return u}return D(n,[{key:"_subtractOrigin",value:function(r){var i=r.x,o=r.y;return this.pageX-=i,this.pageY-=o,this.clientX-=i,this.clientY-=o,this}},{key:"_addOrigin",value:function(r){var i=r.x,o=r.y;return this.pageX+=i,this.pageY+=o,this.clientX+=i,this.clientY+=o,this}},{key:"preventDefault",value:function(){this.originalEvent.preventDefault()}}]),n}(ke),me={id:"pointer-events/base",before:["inertia","modifiers","auto-start","actions"],install:function(t){t.pointerEvents=me,t.defaults.actions.pointerEvents=me.defaults,x(t.actions.phaselessTypes,me.types)},listeners:{"interactions:new":function(t){var e=t.interaction;e.prevTap=null,e.tapTime=0},"interactions:update-pointer":function(t){var e=t.down,n=t.pointerInfo;!e&&n.hold||(n.hold={duration:1/0,timeout:null})},"interactions:move":function(t,e){var n=t.interaction,r=t.pointer,i=t.event,o=t.eventTarget;t.duplicate||n.pointerIsDown&&!n.pointerWasMoved||(n.pointerIsDown&&vt(t),U({interaction:n,pointer:r,event:i,eventTarget:o,type:"move"},e))},"interactions:down":function(t,e){(function(n,r){for(var i=n.interaction,o=n.pointer,a=n.event,s=n.eventTarget,c=n.pointerIndex,u=i.pointers[c].hold,l=_t(s),p={interaction:i,pointer:o,event:a,eventTarget:s,type:"hold",targets:[],path:l,node:null},f=0;f<l.length;f++){var h=l[f];p.node=h,r.fire("pointerEvents:collect-targets",p)}if(p.targets.length){for(var v=1/0,g=0,y=p.targets;g<y.length;g++){var m=y[g].eventable.options.holdDuration;m<v&&(v=m)}u.duration=v,u.timeout=setTimeout(function(){U({interaction:i,eventTarget:s,pointer:o,event:a,type:"hold"},r)},v)}})(t,e),U(t,e)},"interactions:up":function(t,e){vt(t),U(t,e),function(n,r){var i=n.interaction,o=n.pointer,a=n.event,s=n.eventTarget;i.pointerWasMoved||U({interaction:i,eventTarget:s,pointer:o,event:a,type:"tap"},r)}(t,e)},"interactions:cancel":function(t,e){vt(t),U(t,e)}},PointerEvent:mn,fire:U,collectEventTargets:yn,defaults:{holdDuration:600,ignoreFrom:null,allowFrom:null,origin:{x:0,y:0}},types:{down:!0,move:!0,up:!0,cancel:!0,tap:!0,doubletap:!0,hold:!0}};function U(t,e){var n=t.interaction,r=t.pointer,i=t.event,o=t.eventTarget,a=t.type,s=t.targets,c=s===void 0?yn(t,e):s,u=new mn(a,r,i,o,n,e.now());e.fire("pointerEvents:new",{pointerEvent:u});for(var l={interaction:n,pointer:r,event:i,eventTarget:o,targets:c,type:a,pointerEvent:u},p=0;p<c.length;p++){var f=c[p];for(var h in f.props||{})u[h]=f.props[h];var v=ce(f.eventable,f.node);if(u._subtractOrigin(v),u.eventable=f.eventable,u.currentTarget=f.node,f.eventable.fire(u),u._addOrigin(v),u.immediatePropagationStopped||u.propagationStopped&&p+1<c.length&&c[p+1].node!==u.currentTarget)break}if(e.fire("pointerEvents:fired",l),a==="tap"){var g=u.double?U({interaction:n,pointer:r,event:i,eventTarget:o,type:"doubletap"},e):u;n.prevTap=g,n.tapTime=g.timeStamp}return u}function yn(t,e){var n=t.interaction,r=t.pointer,i=t.event,o=t.eventTarget,a=t.type,s=n.getPointerIndex(r),c=n.pointers[s];if(a==="tap"&&(n.pointerWasMoved||!c||c.downTarget!==o))return[];for(var u=_t(o),l={interaction:n,pointer:r,event:i,eventTarget:o,type:a,path:u,targets:[],node:null},p=0;p<u.length;p++){var f=u[p];l.node=f,e.fire("pointerEvents:collect-targets",l)}return a==="hold"&&(l.targets=l.targets.filter(function(h){var v,g;return h.eventable.options.holdDuration===((v=n.pointers[s])==null||(g=v.hold)==null?void 0:g.duration)})),l.targets}function vt(t){var e=t.interaction,n=t.pointerIndex,r=e.pointers[n].hold;r&&r.timeout&&(clearTimeout(r.timeout),r.timeout=null)}var Sr=Object.freeze({__proto__:null,default:me});function _r(t){var e=t.interaction;e.holdIntervalHandle&&(clearInterval(e.holdIntervalHandle),e.holdIntervalHandle=null)}var Pr={id:"pointer-events/holdRepeat",install:function(t){t.usePlugin(me);var e=t.pointerEvents;e.defaults.holdRepeatInterval=0,e.types.holdrepeat=t.actions.phaselessTypes.holdrepeat=!0},listeners:["move","up","cancel","endall"].reduce(function(t,e){return t["pointerEvents:".concat(e)]=_r,t},{"pointerEvents:new":function(t){var e=t.pointerEvent;e.type==="hold"&&(e.count=(e.count||0)+1)},"pointerEvents:fired":function(t,e){var n=t.interaction,r=t.pointerEvent,i=t.eventTarget,o=t.targets;if(r.type==="hold"&&o.length){var a=o[0].eventable.options.holdRepeatInterval;a<=0||(n.holdIntervalHandle=setTimeout(function(){e.pointerEvents.fire({interaction:n,eventTarget:i,type:"hold",pointer:r,event:r},e)},a))}}})},Or=Pr,kr={id:"pointer-events/interactableTargets",install:function(t){var e=t.Interactable;e.prototype.pointerEvents=function(r){return x(this.events.options,r),this};var n=e.prototype._backCompatOption;e.prototype._backCompatOption=function(r,i){var o=n.call(this,r,i);return o===this&&(this.events.options[r]=i),o}},listeners:{"pointerEvents:collect-targets":function(t,e){var n=t.targets,r=t.node,i=t.type,o=t.eventTarget;e.interactables.forEachMatch(r,function(a){var s=a.events,c=s.options;s.types[i]&&s.types[i].length&&a.testIgnoreAllow(c,r,o)&&n.push({node:r,eventable:s,props:{interactable:a}})})},"interactable:new":function(t){var e=t.interactable;e.events.getRect=function(n){return e.getRect(n)}},"interactable:set":function(t,e){var n=t.interactable,r=t.options;x(n.events.options,e.pointerEvents.defaults),x(n.events.options,r.pointerEvents||{})}}},Dr=kr,Ir={id:"pointer-events",install:function(t){t.usePlugin(Sr),t.usePlugin(Or),t.usePlugin(Dr)}},Mr=Ir,zr={id:"reflow",install:function(t){var e=t.Interactable;t.actions.phases.reflow=!0,e.prototype.reflow=function(n){return function(r,i,o){for(var a=r.getAllElements(),s=o.window.Promise,c=s?[]:null,u=function(){var p=a[l],f=r.getRect(p);if(!f)return 1;var h,v=fe(o.interactions.list,function(m){return m.interacting()&&m.interactable===r&&m.element===p&&m.prepared.name===i.name});if(v)v.move(),c&&(h=v._reflowPromise||new s(function(m){v._reflowResolve=m}));else{var g=Ne(f),y=function(m){return{coords:m,get page(){return this.coords.page},get client(){return this.coords.client},get timeStamp(){return this.coords.timeStamp},get pageX(){return this.coords.page.x},get pageY(){return this.coords.page.y},get clientX(){return this.coords.client.x},get clientY(){return this.coords.client.y},get pointerId(){return this.coords.pointerId},get target(){return this.coords.target},get type(){return this.coords.type},get pointerType(){return this.coords.pointerType},get buttons(){return this.coords.buttons},preventDefault:function(){}}}({page:{x:g.x,y:g.y},client:{x:g.x,y:g.y},timeStamp:o.now()});h=function(m,b,T,_,w){var S=m.interactions.new({pointerType:"reflow"}),M={interaction:S,event:w,pointer:w,eventTarget:T,phase:"reflow"};S.interactable=b,S.element=T,S.prevEvent=w,S.updatePointer(w,w,T,!0),Dt(S.coords.delta),nt(S.prepared,_),S._doPhase(M);var P=m.window,z=P.Promise,j=z?new z(function(B){S._reflowResolve=B}):void 0;return S._reflowPromise=j,S.start(_,b,T),S._interacting?(S.move(M),S.end(w)):(S.stop(),S._reflowResolve()),S.removePointer(w,w),j}(o,r,p,i,y)}c&&c.push(h)},l=0;l<a.length&&!u();l++);return c&&s.all(c).then(function(){return r})}(this,n,t)}},listeners:{"interactions:stop":function(t,e){var n=t.interaction;n.pointerType==="reflow"&&(n._reflowResolve&&n._reflowResolve(),function(r,i){r.splice(r.indexOf(i),1)}(e.interactions.list,n))}}},Ar=zr;if(I.use($t),I.use(nn),I.use(Mr),I.use($n),I.use(Tr),I.use(Xn),I.use(On),I.use(Dn),I.use(Ar),I.default=I,ee(F)==="object"&&F)try{F.exports=I}catch{}return I.default=I,I})})(Xe,Xe.exports);var jr=Xe.exports,Xr=Rr(jr);export{Xr as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.23 */
|
|
4
|
+
import{k as m}from"./62HHC3DR.js";import"./NJSAAXBH.js";import{a as I}from"./6MMLH4CO.js";import{a as u,b as h}from"./CP2EZD74.js";import{c as g}from"./3Y7VWRKR.js";import"./SA53KXLR.js";import{H as E,e as z,f as o,j as x,k as T,v as b,w as A,x as c}from"./4DZKCBTM.js";function L(){return navigator.userAgentData}function U(){if(!1)return"";let f=L();return f?.brands?f.brands.map(({brand:e,version:i})=>`${e}/${i}`).join(" "):navigator.userAgent}var n={bordered:"bordered",striped:"striped",selectionArea:"selection-area",paginationArea:"pagination-area",container:"container",tableContainer:"table-container",tableFixed:"table--fixed",assistiveText:"assistive-text",selectionActions:"selection-actions"},S={selectionActions:"selection-actions",tableHeader:"table-header",tableFooter:"table-footer"},D=z`@charset "UTF-8";:host([scale=s]){--calcite-internal-table-cell-padding: .25rem;--calcite-internal-table-cell-font-size: var(--calcite-font-size--2);--calcite-internal-table-cell-font-size-secondary: var(--calcite-font-size--3)}:host([scale=m]){--calcite-internal-table-cell-padding: .5rem;--calcite-internal-table-cell-font-size: var(--calcite-font-size--1);--calcite-internal-table-cell-font-size-secondary: var(--calcite-font-size--2)}:host([scale=l]){--calcite-internal-table-cell-padding: 1rem;--calcite-internal-table-cell-font-size: var(--calcite-font-size-0);--calcite-internal-table-cell-font-size-secondary: var(--calcite-font-size--1)}:host{display:flex}.container{display:flex;block-size:100%;inline-size:100%;flex-direction:column}.table-container{overflow:auto;white-space:nowrap;border:1px solid var(--calcite-color-border-3)}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}table{inline-size:100%;border-collapse:collapse;overflow-x:scroll}@-moz-document url-prefix(){table{border-collapse:separate;border-spacing:0}}.table--fixed{table-layout:fixed}.bordered ::slotted(calcite-table-row){--calcite-table-row-border-color: var(--calcite-color-border-3)}.striped ::slotted(calcite-table-row:nth-child(2n+1)){--calcite-table-row-background: var(--calcite-color-foreground-2)}.selection-actions{display:flex;flex-direction:row;margin-inline-start:auto}.selection-area{display:flex;flex-direction:row;align-items:center;padding-block:var(--calcite-internal-table-cell-padding)}.selection-area calcite-chip:last-of-type{margin-inline-end:.5rem}.selection-area calcite-chip:last-of-type:not(:first-of-type){margin-inline-start:.5rem}.selection-area calcite-button{margin-inline-end:1rem}.pagination-area{display:flex;inline-size:100%;flex-direction:row;justify-content:center;padding-block:var(--calcite-internal-table-cell-padding)}calcite-pagination{flex:1;justify-content:center}:host([hidden]){display:none}[hidden]{display:none}`,w=class extends A{constructor(){super(),this.paginationEl=u(),this.tableBodySlotEl=u(),this.tableFootSlotEl=u(),this.tableHeadSlotEl=u(),this.colCount=0,this.pageStartRow=1,this.selectedCount=0,this.bordered=!1,this.groupSeparator=!1,this.interactionMode="interactive",this.layout="auto",this.messages=I({blocking:!0}),this.numbered=!1,this.pageSize=0,this.scale="m",this._selectedItems=[],this.selectionDisplay="top",this.selectionMode="none",this.striped=!1,this.calciteInternalTableRowFocusChange=b({cancelable:!1}),this.calciteTablePageChange=b({cancelable:!1}),this.calciteTableSelect=b({cancelable:!1}),this.listen("calciteTableRowSelect",this.calciteTableRowSelectListener),this.listen("calciteInternalTableRowSelect",this.calciteInternalTableRowSelectListener),this.listen("calciteInternalTableRowFocusRequest",this.calciteInternalTableRowFocusEvent)}static{this.properties={colCount:[16,{state:!0}],pageStartRow:[16,{state:!0}],readCellContentsToAT:[16,{state:!0}],selectedCount:[16,{state:!0}],bordered:[7,{reflect:!0,type:Boolean}],caption:1,groupSeparator:[7,{reflect:!0,type:Boolean}],interactionMode:[3,{reflect:!0}],layout:[3,{reflect:!0}],messageOverrides:[0,{attribute:!1}],numbered:[7,{reflect:!0,type:Boolean}],numberingSystem:[3,{reflect:!0}],pageSize:[11,{reflect:!0,type:Number}],scale:[3,{reflect:!0}],selectedItems:[32,{attribute:!1,readOnly:!0}],_selectedItems:[16,{state:!0}],selectionDisplay:[3,{reflect:!0}],selectionMode:[3,{reflect:!0}],striped:[7,{reflect:!0,type:Boolean}]}}static{this.styles=D}get selectedItems(){return this._selectedItems}async load(){this.readCellContentsToAT=/safari/i.test(U()),this.listenOn(this.el.shadowRoot,"slotchange",this.handleSlotChange)}willUpdate(e){(e.has("groupSeparator")&&(this.hasUpdated||this.groupSeparator!==!1)||e.has("interactionMode")&&(this.hasUpdated||this.interactionMode!=="interactive")||e.has("numbered")&&(this.hasUpdated||this.numbered!==!1)||e.has("numberingSystem")||e.has("pageSize")&&(this.hasUpdated||this.pageSize!==0)||e.has("scale")&&(this.hasUpdated||this.scale!=="m")||e.has("selectionMode")&&(this.hasUpdated||this.selectionMode!=="none"))&&this.updateRows()}handleSlotChange(){this.updateRows()}calciteTableRowSelectListener(e){e.composedPath().includes(this.el)&&this.setSelectedItems(e.target)}calciteInternalTableRowSelectListener(e){e.composedPath().includes(this.el)&&this.updateSelectedItems(!1)}calciteInternalTableRowFocusEvent(e){let i=e.detail.cellPosition,s=e.detail.rowPosition,l=e.detail.destination,r=e.detail.lastCell,t=this.bodyRows?.filter(p=>!g(p)),a=this.allRows?.filter(p=>!g(p)),R=this.headRows[this.headRows.length-1]?.positionAll,y=t[0]?.positionAll,$=t[t.length-1]?.positionAll,C=this.footRows[0]?.positionAll,F=a[a.length-1]?.positionAll,M=l==="next"&&s===R,P=l==="previous"&&s===C,O=l==="previous"&&s===y,k=l==="next"&&s===$,d;switch(l){case"first":d=0;break;case"last":d=F;break;case"next":d=M?y:k?C:s+1;break;case"previous":d=P?$:O?R:s-1;break}let v=this.allRows?.find(p=>p.positionAll===d)?.cellCount,B=i>v?v:i;d!==void 0&&this.calciteInternalTableRowFocusChange.emit({cellPosition:B,rowPosition:d,destination:l,lastCell:r})}getSlottedRows(e){return e?.assignedElements({flatten:!0})?.filter(i=>i?.matches("calcite-table-row"))}updateRows(){let e=this.getSlottedRows(this.tableHeadSlotEl.value)||[],i=this.getSlottedRows(this.tableBodySlotEl.value)||[],s=this.getSlottedRows(this.tableFootSlotEl.value)||[],l=[...e,...i,...s];e?.forEach(t=>{let a=e?.indexOf(t);t.rowType="head",t.positionSection=a,t.positionSectionLocalized=this.localizeNumber((a+1).toString())}),i?.forEach(t=>{let a=i?.indexOf(t);t.rowType="body",t.positionSection=a,t.positionSectionLocalized=this.localizeNumber((a+1).toString())}),s?.forEach(t=>{let a=s?.indexOf(t);t.rowType="foot",t.positionSection=a,t.positionSectionLocalized=this.localizeNumber((a+1).toString())}),l?.forEach(t=>{t.interactionMode=this.interactionMode,t.selectionMode=this.selectionMode,t.bodyRowCount=i?.length,t.positionAll=l?.indexOf(t),t.numbered=this.numbered,t.scale=this.scale,t.readCellContentsToAT=this.readCellContentsToAT,t.lastVisibleRow=l?.indexOf(t)===l.length-1});let r=e[0]?.cellCount||e[0]?.querySelectorAll("calcite-table-header")?.length;this.colCount=r,this.headRows=e,this.bodyRows=i,this.footRows=s,this.allRows=l,this.updateSelectedItems(),this.paginateRows()}handlePaginationChange(){let e=this.paginationEl.value?.startItem;this.pageStartRow=e||1,this.calciteTablePageChange.emit(),this.updateRows()}paginateRows(){this.bodyRows?.forEach(e=>{let i=e.positionSection+1,s=i>=this.pageStartRow&&i<this.pageStartRow+this.pageSize;e.itemHidden=this.pageSize>0&&!s&&!this.footRows.includes(e),e.lastVisibleRow=i===this.pageStartRow+this.pageSize-1||i===this.bodyRows.length})}updateSelectedItems(e){let i=this.bodyRows?.filter(s=>s.selected);this._selectedItems=i,this.selectedCount=i?.length,this.allRows?.forEach(s=>{s.selectedRowCount=this.selectedCount,s.selectedRowCountLocalized=this.localizeNumber(this.selectedCount)}),e&&this.calciteTableSelect.emit()}handleDeselectAllRows(){this.bodyRows?.forEach(e=>{e.selected=!1}),this.updateSelectedItems(!0)}setSelectedItems(e){this.bodyRows?.forEach(i=>{e?.rowType==="head"?i.selected=this.selectedCount!==this.bodyRows?.length:i.selected=e===i?!i.selected:this.selectionMode==="multiple"?i.selected:!1}),this.updateSelectedItems(!0)}localizeNumber(e){return m.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},m.localize(e.toString())}renderSelectionArea(){let e=this._selectedItems?.filter(t=>g(t))?.length,i=this.localizeNumber(e?.toString()),l=`${this.localizeNumber(this.selectedCount?.toString())} ${this.messages.selected}`,r=`${i} ${this.messages.hiddenSelected}`;return o`<div class=${c(n.selectionArea)}><calcite-chip .kind=${this.selectedCount>0?"brand":"neutral"} .label=${l} .scale=${this.scale} .value=${l}>${l}</calcite-chip>${e>0&&o`<calcite-chip icon=hide-empty .label=${r} .scale=${this.scale} title=${r??x} .value=${r}>${i}</calcite-chip>`||""}${this.selectedCount>0&&o`<calcite-button icon-start=x kind=neutral @click=${this.handleDeselectAllRows} round .scale=${this.scale} .title=${`${this.messages.clear} ${l} ${this.messages.row}`}>${this.messages.clear}</calcite-button>`||""}<div class=${c(n.selectionActions)}><slot name=${S.selectionActions}></slot></div></div>`}renderPaginationArea(){return o`<div class=${c(n.paginationArea)}><calcite-pagination .groupSeparator=${this.groupSeparator} .numberingSystem=${this.numberingSystem} @calcitePaginationChange=${this.handlePaginationChange} .pageSize=${this.pageSize} .scale=${this.scale} start-item=1 .totalItems=${this.bodyRows?.length} ${h(this.paginationEl)}></calcite-pagination></div>`}renderTHead(){return o`<thead><slot name=${S.tableHeader} ${h(this.tableHeadSlotEl)}></slot></thead>`}renderTBody(){return o`<tbody><slot ${h(this.tableBodySlotEl)}></slot></tbody>`}renderTFoot(){return o`<tfoot><slot name=${S.tableFooter} ${h(this.tableFootSlotEl)}></slot></tfoot>`}render(){return o`<div class=${c(n.container)}>${this.selectionMode!=="none"&&this.selectionDisplay!=="none"&&this.renderSelectionArea()||""}<div class=${c({[n.bordered]:this.bordered,[n.striped]:this.striped,[n.tableContainer]:!0})}><table .ariaColCount=${this.colCount} .ariaMultiSelectable=${this.selectionMode==="multiple"?"true":null} .ariaRowCount=${this.allRows?.length} class=${c({[n.tableFixed]:this.layout==="fixed"})} .role=${this.interactionMode==="interactive"?"grid":"table"} ${h(e=>{e&&T(o`<caption class=${c(n.assistiveText)}>${this.caption}</caption>${this.renderTHead()}${this.renderTBody()}${this.renderTFoot()}`,e)})}></table></div>${this.pageSize>0&&this.renderPaginationArea()||""}</div>`}};E("calcite-table",w);export{w as Table};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.23 */
|
|
4
|
+
import{H as o,e as s,f as l,v as i,w as a}from"./4DZKCBTM.js";var r=s`:host{display:block}:host([hidden]){display:none}[hidden]{display:none}`,t=class extends a{constructor(){super(...arguments),this.disabled=!1,this.calciteInternalOptionGroupChange=i({cancelable:!1})}static{this.properties={disabled:[7,{reflect:!0,type:Boolean}],label:1}}static{this.styles=r}willUpdate(e){(e.has("disabled")&&(this.hasUpdated||this.disabled!==!1)||e.has("label"))&&this.calciteInternalOptionGroupChange.emit()}render(){return l`<div>${this.label}</div><slot></slot>`}};o("calcite-option-group",t);export{t as OptionGroup};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.23 */
|
|
4
|
+
import{a as v,b as p,d as L,f as D,g as k,h as I,j as N,l as H,m as S,o as x,p as z}from"./6FVTFZY5.js";import{b as h,c as w}from"./YWMXEGGW.js";import{b as d}from"./62HHC3DR.js";import{b}from"./NJSAAXBH.js";import{a as C}from"./6MMLH4CO.js";import{b as f}from"./CP2EZD74.js";import{e as V}from"./KZ2JZDPG.js";import{a as U,d as $}from"./3Y7VWRKR.js";import"./SA53KXLR.js";import"./VXYRKVIV.js";import{H as A,e as F,f as m,v as P,w as y,x as o}from"./4DZKCBTM.js";var t={button:"button",buttonBottomLeft:"button--bottom-left",buttonBottomRight:"button--bottom-right",buttonFractionalSecondDown:"button--fractionalSecond-down",buttonFractionalSecondUp:"button--fractionalSecond-up",buttonHourDown:"button--hour-down",buttonHourUp:"button--hour-up",buttonMeridiemDown:"button--meridiem-down",buttonMeridiemUp:"button--meridiem-up",buttonMinuteDown:"button--minute-down",buttonMinuteUp:"button--minute-up",buttonSecondDown:"button--second-down",buttonSecondUp:"button--second-up",buttonTopLeft:"button--top-left",buttonTopRight:"button--top-right",column:"column",decimalSeparator:"decimal-separator",delimiter:"delimiter",fractionalSecond:"fractionalSecond",hour:"hour",hourSuffix:"hour-suffix",input:"input",inputFocus:"inputFocus",meridiem:"meridiem",minute:"minute",minuteSuffix:"minute-suffix",second:"second",secondSuffix:"second-suffix",showMeridiem:"show-meridiem",showSecond:"show-second","scale-s":"scale-s","scale-m":"scale-m","scale-l":"scale-l",timePicker:"time-picker",meridiemStart:"meridiem--start"},W=F`:host{display:inline-block}.time-picker{display:flex;-webkit-user-select:none;user-select:none;align-items:center;background-color:var(--calcite-color-foreground-1);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);--tw-shadow: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);--tw-shadow-colored: 0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);border-radius:var(--calcite-border-radius)}.time-picker .column{display:flex;flex-direction:column}.time-picker .meridiem--start{order:-1}.time-picker .button{display:inline-flex;cursor:pointer;align-items:center;justify-content:center;background-color:var(--calcite-color-foreground-1)}.time-picker .button:hover,.time-picker .button:focus{background-color:var(--calcite-color-foreground-2);outline:2px solid transparent;outline-offset:2px;z-index:var(--calcite-z-index-header);outline-offset:0}.time-picker .button:active{background-color:var(--calcite-color-foreground-3)}.time-picker .button.top-left{border-start-start-radius:var(--calcite-border-radius)}.time-picker .button.bottom-left{border-end-start-radius:var(--calcite-border-radius)}.time-picker .button.top-right{border-start-end-radius:var(--calcite-border-radius)}.time-picker .button.bottom-right{border-end-end-radius:var(--calcite-border-radius)}.time-picker .button calcite-icon{color:var(--calcite-color-text-3)}.time-picker .input{display:inline-flex;cursor:pointer;align-items:center;justify-content:center;background-color:var(--calcite-color-foreground-1);font-weight:var(--calcite-font-weight-medium)}.time-picker .input:hover{box-shadow:inset 0 0 0 2px var(--calcite-color-foreground-2);z-index:var(--calcite-z-index-header)}.time-picker .input:focus,.time-picker .input:hover:focus{outline:2px solid transparent;outline-offset:2px;outline-offset:0}.time-picker .input.inputFocus,.time-picker .input:hover.inputFocus{box-shadow:inset 0 0 0 2px var(--calcite-color-brand);z-index:var(--calcite-z-index-header)}.time-picker.scale-s{font-size:var(--calcite-font-size--1)}.time-picker.scale-s .button,.time-picker.scale-s .input{padding-inline:.75rem;padding-block:.25rem}.time-picker.scale-s:not(.show-meridiem) .delimiter:last-child{padding-inline-end:.75rem}.time-picker.scale-m{font-size:var(--calcite-font-size-0)}.time-picker.scale-m .button,.time-picker.scale-m .input{padding-inline:1rem;padding-block:.5rem}.time-picker.scale-m:not(.show-meridiem) .delimiter:last-child{padding-inline-end:1rem}.time-picker.scale-l{font-size:var(--calcite-font-size-1)}.time-picker.scale-l .button,.time-picker.scale-l .input{padding-inline:1.25rem;padding-block:.75rem}.time-picker.scale-l:not(.show-meridiem) .delimiter:last-child{padding-inline-end:1.25rem}:host([hidden]){display:none}[hidden]{display:none}`;function q(g){return g.charAt(0).toUpperCase()+g.slice(1)}var E=class extends y{constructor(){super(),this.pointerActivated=!1,this.localizedDecimalSeparator=".",this.hourFormat="user",this.messages=C(),this.scale="m",this.step=60,this.value=null,this.calciteTimePickerChange=P({cancelable:!1}),this.listen("blur",this.blurHandler),this.listen("keydown",this.keyDownHandler),this.listen("pointerdown",this.pointerDownHandler)}static{this.properties={activeEl:[16,{state:!0}],effectiveHourFormat:[16,{state:!0}],fractionalSecond:[16,{state:!0}],hour:[16,{state:!0}],localizedDecimalSeparator:[16,{state:!0}],localizedFractionalSecond:[16,{state:!0}],localizedHour:[16,{state:!0}],localizedHourSuffix:[16,{state:!0}],localizedMeridiem:[16,{state:!0}],localizedMinute:[16,{state:!0}],localizedMinuteSuffix:[16,{state:!0}],localizedSecond:[16,{state:!0}],localizedSecondSuffix:[16,{state:!0}],meridiem:[16,{state:!0}],minute:[16,{state:!0}],second:[16,{state:!0}],showFractionalSecond:[16,{state:!0}],showSecond:[16,{state:!0}],hourFormat:[3,{reflect:!0}],messageOverrides:[0,{attribute:!1}],numberingSystem:1,scale:[3,{reflect:!0}],step:[11,{reflect:!0,type:Number}],value:1}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=W}async setFocus(){await $(this),this.el?.focus()}connectedCallback(){super.connectedCallback(),this.updateLocale(),this.toggleSecond()}willUpdate(e){e.has("step")&&(this.hasUpdated||this.step!==60)&&this.toggleSecond(),e.has("value")&&(this.hasUpdated||this.value!==null)&&this.setValue(this.value),(e.has("hourFormat")||e.has("messages"))&&this.updateLocale()}blurHandler(){this.activeEl=void 0,this.pointerActivated=!1}keyDownHandler(e){this.pointerActivated=!1;let{defaultPrevented:i,key:s}=e;if(!i)switch(this.activeEl){case this.hourEl:s==="ArrowRight"&&(this.focusPart("minute"),e.preventDefault());break;case this.minuteEl:switch(s){case"ArrowLeft":this.focusPart("hour"),e.preventDefault();break;case"ArrowRight":this.step!==60?(this.focusPart("second"),e.preventDefault()):this.effectiveHourFormat==="12"&&(this.focusPart("meridiem"),e.preventDefault());break}break;case this.secondEl:switch(s){case"ArrowLeft":this.focusPart("minute"),e.preventDefault();break;case"ArrowRight":this.showFractionalSecond?this.focusPart("fractionalSecond"):this.effectiveHourFormat==="12"&&(this.focusPart("meridiem"),e.preventDefault());break}break;case this.fractionalSecondEl:switch(s){case"ArrowLeft":this.focusPart("second"),e.preventDefault();break;case"ArrowRight":this.effectiveHourFormat==="12"&&(this.focusPart("meridiem"),e.preventDefault());break}break;case this.meridiemEl:switch(s){case"ArrowLeft":this.showFractionalSecond?this.focusPart("fractionalSecond"):this.step!==60?(this.focusPart("second"),e.preventDefault()):(this.focusPart("minute"),e.preventDefault());break}break}}pointerDownHandler(){this.pointerActivated=!0}async focusPart(e){await $(this),this[`${e||"hour"}El`]?.focus()}decrementHour(){let e=this.hour?parseInt(this.hour)===0?23:parseInt(this.hour)-1:0;this.setValuePart("hour",e)}decrementMeridiem(){let e=this.meridiem==="PM"?"AM":"PM";this.setValuePart("meridiem",e)}decrementMinuteOrSecond(e){let i;if(d(this[e])){let s=parseInt(this[e]);i=s===0?59:s-1}else i=59;this.setValuePart(e,i)}decrementMinute(){this.decrementMinuteOrSecond("minute")}decrementSecond(){this.decrementMinuteOrSecond("second")}focusHandler(e){this.pointerActivated||(this.activeEl=e.currentTarget)}fractionalSecondKeyDownHandler(e){let{key:i}=e;if(b.includes(i)){let s=h(this.step),a=parseInt(this.fractionalSecond),r=a.toString().length,n;r>=s?n=i.padStart(s,"0"):r<s&&(n=`${a}${i}`.padStart(s,"0")),this.setValuePart("fractionalSecond",parseFloat(`0.${n}`))}else switch(i){case"Backspace":case"Delete":this.setValuePart("fractionalSecond",null);break;case"ArrowDown":e.preventDefault(),this.nudgeFractionalSecond("down");break;case"ArrowUp":e.preventDefault(),this.nudgeFractionalSecond("up");break;case" ":e.preventDefault();break}}fractionalSecondDownClickHandler(){this.activeEl=this.fractionalSecondEl,this.fractionalSecondEl.focus(),this.nudgeFractionalSecond("down")}fractionalSecondUpClickHandler(){this.activeEl=this.fractionalSecondEl,this.fractionalSecondEl.focus(),this.nudgeFractionalSecond("up")}hourDownClickHandler(){this.activeEl=this.hourEl,this.hourEl.focus(),this.decrementHour()}hourKeyDownHandler(e){let{key:i}=e;if(b.includes(i)){let s=parseInt(i),a;if(d(this.hour))switch(this.effectiveHourFormat){case"12":a=this.hour==="01"&&s>=0&&s<=2?`1${s}`:s;break;case"24":this.hour==="01"?a=`1${s}`:this.hour==="02"&&s>=0&&s<=3?a=`2${s}`:a=s;break}else a=s;this.setValuePart("hour",a)}else switch(i){case"Backspace":case"Delete":this.setValuePart("hour",null);break;case"ArrowDown":e.preventDefault(),this.decrementHour();break;case"ArrowUp":e.preventDefault(),this.incrementHour();break;case" ":e.preventDefault();break}}hourUpClickHandler(){this.activeEl=this.hourEl,this.hourEl.focus(),this.incrementHour()}incrementMeridiem(){let e=this.meridiem==="AM"?"PM":"AM";this.setValuePart("meridiem",e)}incrementHour(){let e=d(this.hour)?this.hour==="23"?0:parseInt(this.hour)+1:1;this.setValuePart("hour",e)}incrementMinuteOrSecond(e){let i=d(this[e])?this[e]==="59"?0:parseInt(this[e])+1:0;this.setValuePart(e,i)}incrementMinute(){this.incrementMinuteOrSecond("minute")}incrementSecond(){this.incrementMinuteOrSecond("second")}inputClickHandler(e){this.activeEl=e.target}meridiemUpClickHandler(){this.activeEl=this.meridiemEl,this.meridiemEl.focus(),this.incrementMeridiem()}meridiemKeyDownHandler(e){switch(e.key){case"a":this.setValuePart("meridiem","AM");break;case"p":this.setValuePart("meridiem","PM");break;case"Backspace":case"Delete":this.setValuePart("meridiem",null);break;case"ArrowUp":e.preventDefault(),this.incrementMeridiem();break;case"ArrowDown":e.preventDefault(),this.decrementMeridiem();break;case" ":e.preventDefault();break}}meridiemDownClickHandler(){this.activeEl=this.meridiemEl,this.meridiemEl.focus(),this.decrementMeridiem()}minuteDownClickHandler(){this.activeEl=this.minuteEl,this.minuteEl.focus(),this.decrementMinute()}minuteUpClickHandler(){this.activeEl=this.minuteEl,this.minuteEl.focus(),this.incrementMinute()}minuteKeyDownHandler(e){let{key:i}=e;if(b.includes(i)){let s=parseInt(i),a;if(d(this.minute)&&this.minute.startsWith("0")){let r=parseInt(this.minute);a=r>v?s:`${r}${s}`}else a=s;this.setValuePart("minute",a)}else switch(i){case"Backspace":case"Delete":this.setValuePart("minute",null);break;case"ArrowDown":e.preventDefault(),this.decrementMinute();break;case"ArrowUp":e.preventDefault(),this.incrementMinute();break;case" ":e.preventDefault();break}}nudgeFractionalSecond(e){let i=w(this.step),s=h(this.step),a=parseInt(this.fractionalSecond),r=parseFloat(`0.${this.fractionalSecond}`),n,l,c,u;e==="up"&&(n=isNaN(a)?0:r+i,l=parseFloat(n.toFixed(s)),c=w(l),u=l<1&&h(c)>0?p(c,s):"".padStart(s,"0")),e==="down"&&(n=isNaN(a)||a===0?1-i:r-i,l=parseFloat(n.toFixed(s)),c=w(l),u=l<1&&h(c)>0&&Math.sign(c)===1?p(c,s):"".padStart(s,"0")),this.setValuePart("fractionalSecond",u)}sanitizeValue(e){let{hour:i,minute:s,second:a,fractionalSecond:r}=z(e);if(r){let n=this.sanitizeFractionalSecond(r);return`${i}:${s}:${a}.${n}`}return H(e)&&e}sanitizeFractionalSecond(e){return e&&h(this.step)!==e.length?parseFloat(`0.${e}`).toFixed(h(this.step)).replace("0.",""):e}secondKeyDownHandler(e){let{key:i}=e;if(b.includes(i)){let s=parseInt(i),a;if(d(this.second)&&this.second.startsWith("0")){let r=parseInt(this.second);a=r>v?s:`${r}${s}`}else a=s;this.setValuePart("second",a)}else switch(i){case"Backspace":case"Delete":this.setValuePart("second",null);break;case"ArrowDown":e.preventDefault(),this.decrementSecond();break;case"ArrowUp":e.preventDefault(),this.incrementSecond();break;case" ":e.preventDefault();break}}secondDownClickHandler(){this.activeEl=this.secondEl,this.secondEl.focus(),this.decrementSecond()}secondUpClickHandler(){this.activeEl=this.secondEl,this.secondEl.focus(),this.incrementSecond()}setHourEl(e){this.hourEl=e}setMeridiemEl(e){this.meridiemEl=e}setMinuteEl(e){this.minuteEl=e}setSecondEl(e){this.secondEl=e}setFractionalSecondEl(e){this.fractionalSecondEl=e}setValue(e){if(H(e)){let{hour:i,minute:s,second:a,fractionalSecond:r}=z(e),{effectiveHourFormat:n,messages:{_lang:l},numberingSystem:c}=this,{localizedHour:u,localizedHourSuffix:T,localizedMinute:K,localizedMinuteSuffix:O,localizedSecond:R,localizedDecimalSeparator:_,localizedFractionalSecond:B,localizedSecondSuffix:j,localizedMeridiem:M}=x({value:e,locale:l,numberingSystem:c,hour12:n==="12"});this.hour=i,this.minute=s,this.second=a,this.fractionalSecond=this.sanitizeFractionalSecond(r),this.localizedHour=u,this.localizedHourSuffix=T,this.localizedMinute=K,this.localizedMinuteSuffix=O,this.localizedSecond=R,this.localizedDecimalSeparator=_,this.localizedFractionalSecond=B,this.localizedSecondSuffix=j,M&&(this.localizedMeridiem=M,this.meridiem=I(this.hour))}else this.hour=null,this.fractionalSecond=null,this.localizedHour=null,this.localizedHourSuffix=k("hour",this.messages._lang,this.numberingSystem),this.localizedMeridiem=null,this.localizedMinute=null,this.localizedMinuteSuffix=k("minute",this.messages._lang,this.numberingSystem),this.localizedSecond=null,this.localizedDecimalSeparator=D(this.messages._lang,this.numberingSystem),this.localizedFractionalSecond=null,this.localizedSecondSuffix=k("second",this.messages._lang,this.numberingSystem),this.meridiem=null,this.minute=null,this.second=null,this.value=null}setValuePart(e,i){let{effectiveHourFormat:s,messages:{_lang:a},numberingSystem:r}=this,n=s==="12";if(e==="meridiem"){if(this.meridiem=i,d(this.hour)){let u=parseInt(this.hour);switch(i){case"AM":u>=12&&(this.hour=p(u-12));break;case"PM":u<12&&(this.hour=p(u+12));break}this.localizedHour=S({value:this.hour,part:"hour",locale:a,numberingSystem:r,hour12:n})}}else if(e==="fractionalSecond"){let u=h(this.step);typeof i=="number"?this.fractionalSecond=i===0?"".padStart(u,"0"):p(i,u):this.fractionalSecond=i,this.localizedFractionalSecond=S({value:this.fractionalSecond,part:"fractionalSecond",locale:a,numberingSystem:r,hour12:n})}else this[e]=typeof i=="number"?p(i):i,this[`localized${q(e)}`]=S({value:this[e],part:e,locale:a,numberingSystem:r,hour12:n});let l=!1,c;this.hour&&this.minute?(c=`${this.hour}:${this.minute}`,this.showSecond&&(c=`${c}:${this.second??"00"}`,this.showFractionalSecond&&this.fractionalSecond&&(c=`${c}.${this.fractionalSecond}`))):c=null,this.value!==c&&(l=!0),this.value=c,this.localizedMeridiem=this.value?x({hour12:n,locale:a,numberingSystem:r,value:this.value})?.localizedMeridiem||null:S({value:this.meridiem,part:"meridiem",locale:a,numberingSystem:r}),l&&this.calciteTimePickerChange.emit()}toggleSecond(){this.showSecond=this.step<60,this.showFractionalSecond=h(this.step)>0}updateLocale(){this.effectiveHourFormat=this.hourFormat==="user"?L(this.messages._lang):this.hourFormat,this.localizedDecimalSeparator=D(this.messages._lang,this.numberingSystem),this.meridiemOrder=N(this.messages._lang),this.setValue(this.sanitizeValue(this.value))}render(){let e=d(this.hour),i=U(this.scale),s=d(this.minute),a=d(this.second),r=d(this.fractionalSecond),n=this.messages._lang!=="bg"&&this.localizedSecondSuffix,l=this.effectiveHourFormat==="12";return m`<div class=${o({[t.timePicker]:!0,[t.showMeridiem]:l,[t.showSecond]:this.showSecond,[t[`scale-${this.scale}`]]:!0})} dir=ltr><div class=${o(t.column)} role=group><span .ariaLabel=${this.messages.hourUp} class=${o({[t.button]:!0,[t.buttonHourUp]:!0,[t.buttonTopLeft]:!0})} @click=${this.hourUpClickHandler} role=button><calcite-icon icon=chevron-up .scale=${i}></calcite-icon></span><span .ariaLabel=${this.messages.hour} aria-valuemax=23 aria-valuemin=1 .ariaValueNow=${e&&parseInt(this.hour)||"0"} .ariaValueText=${this.hour} class=${o({[t.input]:!0,[t.hour]:!0,[t.inputFocus]:this.activeEl&&this.activeEl===this.hourEl})} @click=${this.inputClickHandler} @focus=${this.focusHandler} @keydown=${this.hourKeyDownHandler} role=spinbutton tabindex=0 ${f(this.setHourEl)}>${this.localizedHour||"--"}</span><span .ariaLabel=${this.messages.hourDown} class=${o({[t.button]:!0,[t.buttonHourDown]:!0,[t.buttonBottomLeft]:!0})} @click=${this.hourDownClickHandler} role=button><calcite-icon icon=chevron-down .scale=${i}></calcite-icon></span></div><span class=${o({[t.delimiter]:!0,[t.hourSuffix]:!0})}>${this.localizedHourSuffix}</span><div class=${o(t.column)} role=group><span .ariaLabel=${this.messages.minuteUp} class=${o({[t.button]:!0,[t.buttonMinuteUp]:!0})} @click=${this.minuteUpClickHandler} role=button><calcite-icon icon=chevron-up .scale=${i}></calcite-icon></span><span .ariaLabel=${this.messages.minute} aria-valuemax=12 aria-valuemin=1 .ariaValueNow=${s&&parseInt(this.minute)||"0"} .ariaValueText=${this.minute} class=${o({[t.input]:!0,[t.minute]:!0,[t.inputFocus]:this.activeEl&&this.activeEl===this.minuteEl})} @click=${this.inputClickHandler} @focus=${this.focusHandler} @keydown=${this.minuteKeyDownHandler} role=spinbutton tabindex=0 ${f(this.setMinuteEl)}>${this.localizedMinute||"--"}</span><span .ariaLabel=${this.messages.minuteDown} class=${o({[t.button]:!0,[t.buttonMinuteDown]:!0})} @click=${this.minuteDownClickHandler} role=button><calcite-icon icon=chevron-down .scale=${i}></calcite-icon></span></div>${this.showSecond&&m`<span class=${o({[t.delimiter]:!0,[t.minuteSuffix]:!0})}>${this.localizedMinuteSuffix}</span>`||""}${this.showSecond&&m`<div class=${o(t.column)} role=group><span .ariaLabel=${this.messages.secondUp} class=${o({[t.button]:!0,[t.buttonSecondUp]:!0})} @click=${this.secondUpClickHandler} role=button><calcite-icon icon=chevron-up .scale=${i}></calcite-icon></span><span .ariaLabel=${this.messages.second} aria-valuemax=59 aria-valuemin=0 .ariaValueNow=${a&&parseInt(this.second)||"0"} .ariaValueText=${this.second} class=${o({[t.input]:!0,[t.second]:!0,[t.inputFocus]:this.activeEl&&this.activeEl===this.secondEl})} @click=${this.inputClickHandler} @focus=${this.focusHandler} @keydown=${this.secondKeyDownHandler} role=spinbutton tabindex=0 ${f(this.setSecondEl)}>${this.localizedSecond||"--"}</span><span .ariaLabel=${this.messages.secondDown} class=${o({[t.button]:!0,[t.buttonSecondDown]:!0})} @click=${this.secondDownClickHandler} role=button><calcite-icon icon=chevron-down .scale=${i}></calcite-icon></span></div>`||""}${this.showFractionalSecond&&m`<span class=${o({[t.delimiter]:!0,[t.decimalSeparator]:!0})}>${this.localizedDecimalSeparator}</span>`||""}${this.showFractionalSecond&&m`<div class=${o(t.column)} role=group><span .ariaLabel=${this.messages.fractionalSecondUp} class=${o({[t.button]:!0,[t.buttonFractionalSecondUp]:!0})} @click=${this.fractionalSecondUpClickHandler} role=button><calcite-icon icon=chevron-up .scale=${i}></calcite-icon></span><span .ariaLabel=${this.messages.fractionalSecond} aria-valuemax=999 aria-valuemin=1 .ariaValueNow=${r&&parseInt(this.fractionalSecond)||"0"} .ariaValueText=${this.localizedFractionalSecond} class=${o({[t.input]:!0,[t.fractionalSecond]:!0,[t.inputFocus]:this.activeEl&&this.activeEl===this.fractionalSecondEl})} @click=${this.inputClickHandler} @focus=${this.focusHandler} @keydown=${this.fractionalSecondKeyDownHandler} role=spinbutton tabindex=0 ${f(this.setFractionalSecondEl)}>${this.localizedFractionalSecond||"--"}</span><span .ariaLabel=${this.messages.fractionalSecondDown} class=${o({[t.button]:!0,[t.buttonFractionalSecondDown]:!0})} @click=${this.fractionalSecondDownClickHandler} role=button><calcite-icon icon=chevron-down .scale=${i}></calcite-icon></span></div>`||""}${n&&m`<span class=${o({[t.delimiter]:!0,[t.secondSuffix]:!0})}>${this.localizedSecondSuffix}</span>`||""}${l&&m`<div class=${o({[t.column]:!0,[t.meridiemStart]:this.meridiemOrder===0||V(this.el)==="rtl"})} role=group><span .ariaLabel=${this.messages.meridiemUp} class=${o({[t.button]:!0,[t.buttonMeridiemUp]:!0,[t.buttonTopRight]:!0})} @click=${this.meridiemUpClickHandler} role=button><calcite-icon icon=chevron-up .scale=${i}></calcite-icon></span><span .ariaLabel=${this.messages.meridiem} aria-valuemax=2 aria-valuemin=1 .ariaValueNow=${this.meridiem==="PM"&&"2"||"1"} .ariaValueText=${this.meridiem} class=${o({[t.input]:!0,[t.meridiem]:!0,[t.inputFocus]:this.activeEl&&this.activeEl===this.meridiemEl})} @click=${this.inputClickHandler} @focus=${this.focusHandler} @keydown=${this.meridiemKeyDownHandler} role=spinbutton tabindex=0 ${f(this.setMeridiemEl)}>${this.localizedMeridiem||"--"}</span><span .ariaLabel=${this.messages.meridiemDown} class=${o({[t.button]:!0,[t.buttonMeridiemDown]:!0,[t.buttonBottomRight]:!0})} @click=${this.meridiemDownClickHandler} role=button><calcite-icon icon=chevron-down .scale=${i}></calcite-icon></span></div>`||""}</div>`}};A("calcite-time-picker",E);export{E as TimePicker};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.23 */
|
|
4
|
+
var t={container:"container",actionsStart:"actions-start",contentStart:"content-start",content:"content",contentEnd:"content-end",actionsEnd:"actions-end"},n={actionsStart:"actions-start",contentStart:"content-start",contentEnd:"content-end",actionsEnd:"actions-end"};export{t as a,n as b};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
+
v3.2.0-next.23 */
|
|
4
|
+
import{a as u,b as f}from"./CEQUSH7X.js";import{a as h,b as m}from"./CP2EZD74.js";import{l as p,z as i}from"./KZ2JZDPG.js";import"./VXYRKVIV.js";import{H as n,e as c,f as d,v as o,w as r}from"./4DZKCBTM.js";var b=c`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block}.container{display:flex;flex-wrap:wrap;gap:var(--calcite-card-group-space, var(--calcite-card-group-gap, var(--calcite-spacing-md)))}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}`,l=class extends r{constructor(){super(),this.items=[],this.slotRefEl=h(),this.disabled=!1,this.selectedItems=[],this.selectionMode="none",this.calciteCardGroupSelect=o({cancelable:!1}),this.listen("calciteInternalCardKeyEvent",this.calciteInternalCardKeyEventListener),this.listen("calciteCardSelect",this.calciteCardSelectListener)}static{this.properties={disabled:[7,{reflect:!0,type:Boolean}],label:1,selectedItems:[0,{attribute:!1}],selectionMode:[3,{reflect:!0}]}}static{this.styles=b}async setFocus(){await this.componentOnReady(),this.disabled||p(this.items[0])}willUpdate(e){e.has("selectionMode")&&this.hasUpdated&&this.updateItemsOnSelectionModeChange()}updated(){u(this)}loaded(){this.updateSelectedItems()}calciteInternalCardKeyEventListener(e){if(e.composedPath().includes(this.el)){let s=this.items.filter(t=>!t.disabled);switch(e.detail.key){case"ArrowRight":i(s,e.target,"next");break;case"ArrowLeft":i(s,e.target,"previous");break;case"Home":i(s,e.target,"first");break;case"End":i(s,e.target,"last");break}}}calciteCardSelectListener(e){e.composedPath().includes(this.el)&&!e.target.selectable&&this.setSelectedItems(!0,e.target)}updateItemsOnSelectionModeChange(){this.updateSlottedItems(this.slotRefEl.value),this.updateSelectedItems()}updateItemsOnSlotChange(e){this.updateSlottedItems(e.target),this.updateSelectedItems()}updateSlottedItems(e){this.items=e.assignedElements({flatten:!0}).filter(s=>s?.matches("calcite-card"))}updateSelectedItems(){this.items.forEach(e=>{e.selectionMode=this.selectionMode}),this.setSelectedItems(!1)}setSelectedItems(e,s){s&&this.items.forEach(t=>{let a=s===t;switch(this.selectionMode){case"multiple":a&&(t.selected=!t.selected);break;case"single":t.selected=a?!t.selected:!1;break;case"single-persist":t.selected=!!a;break}}),this.selectedItems=this.items.filter(t=>t.selected),e&&this.selectionMode!=="none"&&!this.disabled&&this.calciteCardGroupSelect.emit()}render(){let e=this.selectionMode==="none"||this.selectionMode==="multiple"?"group":"radiogroup";return f({disabled:this.disabled,children:d`<div .ariaLabel=${this.label} class="container" .role=${e}><slot @slotchange=${this.updateItemsOnSlotChange} ${m(this.slotRefEl)}></slot></div>`})}};n("calcite-card-group",l);export{l as CardGroup};
|