@esri/solutions-components 0.11.28 → 0.11.30
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/cjs/card-manager_3.cjs.entry.js +3 -4
- package/dist/cjs/create-feature_4.cjs.entry.js +2 -2
- package/dist/cjs/downloadUtils-020884e7.js +3229 -0
- package/dist/cjs/feature-list.cjs.entry.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/map-select-tools_3.cjs.entry.js +1 -1
- package/dist/cjs/popupUtils-450b675a.js +121 -0
- package/dist/cjs/public-notification.cjs.entry.js +1 -1
- package/dist/cjs/solution-item-accordion.cjs.entry.js +10 -1
- package/dist/cjs/solutions-components.cjs.js +1 -1
- package/dist/collection/components/layer-table/layer-table.css +2 -0
- package/dist/collection/components/layer-table/layer-table.js +1 -2
- package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +27 -1
- package/dist/collection/utils/downloadUtils.js +11 -5
- package/dist/collection/utils/downloadUtils.ts +15 -5
- package/dist/collection/vendor/calcite-components/22RQB3WE.js +4 -0
- package/dist/collection/vendor/calcite-components/24SER2VV.js +4 -0
- package/dist/collection/vendor/calcite-components/2BGMAPSV.js +4 -0
- package/dist/collection/vendor/calcite-components/2JKKAEPM.js +4 -0
- package/dist/collection/vendor/calcite-components/2M4WCGKG.js +4 -0
- package/dist/collection/vendor/calcite-components/2YAXZHP2.js +4 -0
- package/dist/collection/vendor/calcite-components/345Q4UHX.js +4 -0
- package/dist/collection/vendor/calcite-components/36DMRAV2.js +4 -0
- package/dist/collection/vendor/calcite-components/3DGJ6ZQI.js +4 -0
- package/dist/collection/vendor/calcite-components/3GICXOBQ.js +4 -0
- package/dist/collection/vendor/calcite-components/3IV6JSC2.js +4 -0
- package/dist/collection/vendor/calcite-components/3TOVZEQB.js +4 -0
- package/dist/collection/vendor/calcite-components/45GA6INB.js +4 -0
- package/dist/collection/vendor/calcite-components/46U4MKUU.js +4 -0
- package/dist/collection/vendor/calcite-components/4BSCJ722.js +4 -0
- package/dist/collection/vendor/calcite-components/4SEPDFCP.js +5 -0
- package/dist/collection/vendor/calcite-components/4TQLSUKH.js +4 -0
- package/dist/collection/vendor/calcite-components/4YZ27QWL.js +4 -0
- package/dist/collection/vendor/calcite-components/4Z7JRTON.js +4 -0
- package/dist/collection/vendor/calcite-components/5AVZLE2Q.js +4 -0
- package/dist/collection/vendor/calcite-components/5EPP4MG3.js +4 -0
- package/dist/collection/vendor/calcite-components/66B2H27W.js +4 -0
- package/dist/collection/vendor/calcite-components/6LW27BEV.js +4 -0
- package/dist/collection/vendor/calcite-components/6OZRZ36X.js +4 -0
- package/dist/collection/vendor/calcite-components/6X2SD2PW.js +4 -0
- package/dist/collection/vendor/calcite-components/6XTYGXNG.js +4 -0
- package/dist/collection/vendor/calcite-components/6ZTWHW63.js +4 -0
- package/dist/collection/vendor/calcite-components/7D3VEEUX.js +4 -0
- package/dist/collection/vendor/calcite-components/7E342YOK.js +4 -0
- package/dist/collection/vendor/calcite-components/7KSGVDSR.js +4 -0
- package/dist/collection/vendor/calcite-components/7PWETOIU.js +4 -0
- package/dist/collection/vendor/calcite-components/7QHUEK5R.js +4 -0
- package/dist/collection/vendor/calcite-components/7SX3RD7P.js +4 -0
- package/dist/collection/vendor/calcite-components/7U7FF3Y4.js +4 -0
- package/dist/collection/vendor/calcite-components/7WG5I3MP.js +4 -0
- package/dist/collection/vendor/calcite-components/A5GGYTUQ.js +4 -0
- package/dist/collection/vendor/calcite-components/AI3R3SU6.js +28 -0
- package/dist/collection/vendor/calcite-components/ARHYATTG.js +4 -0
- package/dist/collection/vendor/calcite-components/ATHBUWBY.js +4 -0
- package/dist/collection/vendor/calcite-components/AXXJNFKZ.js +4 -0
- package/dist/collection/vendor/calcite-components/AYZ73RWQ.js +4 -0
- package/dist/collection/vendor/calcite-components/BAHIPAHM.js +4 -0
- package/dist/collection/vendor/calcite-components/BRTDMTZ3.js +4 -0
- package/dist/collection/vendor/calcite-components/BRTESQOJ.js +4 -0
- package/dist/collection/vendor/calcite-components/BSRMWMHQ.js +4 -0
- package/dist/collection/vendor/calcite-components/BZKF5ZXQ.js +4 -0
- package/dist/collection/vendor/calcite-components/C46JYVUP.js +4 -0
- package/dist/collection/vendor/calcite-components/C54C5E23.js +4 -0
- package/dist/collection/vendor/calcite-components/CBSMKHOY.js +4 -0
- package/dist/collection/vendor/calcite-components/CFRBQXK4.js +4 -0
- package/dist/collection/vendor/calcite-components/CIV3PH3Z.js +4 -0
- package/dist/collection/vendor/calcite-components/CJYTY62F.js +4 -0
- package/dist/collection/vendor/calcite-components/CK6HQQX6.js +4 -0
- package/dist/collection/vendor/calcite-components/CMO3X257.js +4 -0
- package/dist/collection/vendor/calcite-components/CNO6NFH5.js +4 -0
- package/dist/collection/vendor/calcite-components/CWPRBG3T.js +4 -0
- package/dist/collection/vendor/calcite-components/CY6C2FDZ.js +4 -0
- package/dist/collection/vendor/calcite-components/D2HDFE7S.js +22 -0
- package/dist/collection/vendor/calcite-components/D36VWSDW.js +4 -0
- package/dist/collection/vendor/calcite-components/DBVNMM6Q.js +4 -0
- package/dist/collection/vendor/calcite-components/DDJ75RTI.js +4 -0
- package/dist/collection/vendor/calcite-components/DH4ISGHV.js +4 -0
- package/dist/collection/vendor/calcite-components/DNYBIAUI.js +4 -0
- package/dist/collection/vendor/calcite-components/DT67ZFPX.js +4 -0
- package/dist/collection/vendor/calcite-components/DTL2LM6T.js +4 -0
- package/dist/collection/vendor/calcite-components/E3R5SMVW.js +4 -0
- package/dist/collection/vendor/calcite-components/E4NMFIKN.js +4 -0
- package/dist/collection/vendor/calcite-components/EAML4EDI.js +5 -0
- package/dist/collection/vendor/calcite-components/ECEZ4R6E.js +4 -0
- package/dist/collection/vendor/calcite-components/EFI2G5WL.js +4 -0
- package/dist/collection/vendor/calcite-components/EHZCT5YZ.js +4 -0
- package/dist/collection/vendor/calcite-components/EOHVH6PN.js +4 -0
- package/dist/collection/vendor/calcite-components/ESBOJTBS.js +4 -0
- package/dist/collection/vendor/calcite-components/F6EGRKXW.js +4 -0
- package/dist/collection/vendor/calcite-components/FCN5RMLA.js +4 -0
- package/dist/collection/vendor/calcite-components/FDIM6DYL.js +4 -0
- package/dist/collection/vendor/calcite-components/FE3A3YUN.js +4 -0
- package/dist/collection/vendor/calcite-components/FHBFGCTR.js +4 -0
- package/dist/collection/vendor/calcite-components/FNFWOOMR.js +4 -0
- package/dist/collection/vendor/calcite-components/FNM4DZZH.js +4 -0
- package/dist/collection/vendor/calcite-components/G2KHDAZD.js +4 -0
- package/dist/collection/vendor/calcite-components/G3LH75CQ.js +4 -0
- package/dist/collection/vendor/calcite-components/G3ZJ2KQT.js +4 -0
- package/dist/collection/vendor/calcite-components/G7WFYVUC.js +5 -0
- package/dist/collection/vendor/calcite-components/GAAXSGWK.js +4 -0
- package/dist/collection/vendor/calcite-components/GE63ETFI.js +4 -0
- package/dist/collection/vendor/calcite-components/GFC7NS6P.js +4 -0
- package/dist/collection/vendor/calcite-components/GGO5TMB4.js +4 -0
- package/dist/collection/vendor/calcite-components/GKKCWEZX.js +4 -0
- package/dist/collection/vendor/calcite-components/GN5CPLSJ.js +4 -0
- package/dist/collection/vendor/calcite-components/GNUSLZWJ.js +4 -0
- package/dist/collection/vendor/calcite-components/GOOHYN3D.js +4 -0
- package/dist/collection/vendor/calcite-components/GPUFLCIT.js +4 -0
- package/dist/collection/vendor/calcite-components/GSXEMGSW.js +4 -0
- package/dist/collection/vendor/calcite-components/GYQTRH4V.js +4 -0
- package/dist/collection/vendor/calcite-components/HFIRIAQA.js +4 -0
- package/dist/collection/vendor/calcite-components/HGTV36FX.js +4 -0
- package/dist/collection/vendor/calcite-components/HKHPJJ34.js +4 -0
- package/dist/collection/vendor/calcite-components/HMVKZP47.js +4 -0
- package/dist/collection/vendor/calcite-components/I2OIH73C.js +4 -0
- package/dist/collection/vendor/calcite-components/I32TMNTO.js +4 -0
- package/dist/collection/vendor/calcite-components/I62DUDHI.js +4 -0
- package/dist/collection/vendor/calcite-components/IH4RXHJJ.js +4 -0
- package/dist/collection/vendor/calcite-components/IJCTXZQB.js +4 -0
- package/dist/collection/vendor/calcite-components/IXRMDUEL.js +4 -0
- package/dist/collection/vendor/calcite-components/IYDN67SF.js +4 -0
- package/dist/collection/vendor/calcite-components/JCWM5Z43.js +4 -0
- package/dist/collection/vendor/calcite-components/JEX42CPR.js +4 -0
- package/dist/collection/vendor/calcite-components/JFYDLHH7.js +4 -0
- package/dist/collection/vendor/calcite-components/JLZYAYOL.js +4 -0
- package/dist/collection/vendor/calcite-components/JUNCR7R2.js +4 -0
- package/dist/collection/vendor/calcite-components/JVNEJ36Z.js +4 -0
- package/dist/collection/vendor/calcite-components/K3ZBW4GY.js +4 -0
- package/dist/collection/vendor/calcite-components/KBDXI6DJ.js +4 -0
- package/dist/collection/vendor/calcite-components/KBNS3CCT.js +4 -0
- package/dist/collection/vendor/calcite-components/KI2NOBMU.js +4 -0
- package/dist/collection/vendor/calcite-components/KSNEQFZX.js +4 -0
- package/dist/collection/vendor/calcite-components/KSVYAIHK.js +4 -0
- package/dist/collection/vendor/calcite-components/KULDQOV2.js +4 -0
- package/dist/collection/vendor/calcite-components/KVSCG5E3.js +6 -0
- package/dist/collection/vendor/calcite-components/KW57BHXD.js +4 -0
- package/dist/collection/vendor/calcite-components/KWOOGTG2.js +4 -0
- package/dist/collection/vendor/calcite-components/L5FDXQMT.js +4 -0
- package/dist/collection/vendor/calcite-components/LB5ATL5Q.js +4 -0
- package/dist/collection/vendor/calcite-components/LH7KSBQC.js +4 -0
- package/dist/collection/vendor/calcite-components/LHSAAMYQ.js +4 -0
- package/dist/collection/vendor/calcite-components/LILDCWFX.js +4 -0
- package/dist/collection/vendor/calcite-components/LLSB73WA.js +4 -0
- package/dist/collection/vendor/calcite-components/LOZEGKG2.js +4 -0
- package/dist/collection/vendor/calcite-components/MBQZPRQ5.js +4 -0
- package/dist/collection/vendor/calcite-components/MCSX2S5T.js +4 -0
- package/dist/collection/vendor/calcite-components/MIKGJ3NM.js +4 -0
- package/dist/collection/vendor/calcite-components/MPAVJ7UH.js +4 -0
- package/dist/collection/vendor/calcite-components/MPX2M2VX.js +4 -0
- package/dist/collection/vendor/calcite-components/MQYH4ONZ.js +4 -0
- package/dist/collection/vendor/calcite-components/MUWK32IE.js +4 -0
- package/dist/collection/vendor/calcite-components/MZRO54UT.js +4 -0
- package/dist/collection/vendor/calcite-components/N2BVYYYP.js +4 -0
- package/dist/collection/vendor/calcite-components/N4MN6VQ7.js +4 -0
- package/dist/collection/vendor/calcite-components/N55N67N5.js +4 -0
- package/dist/collection/vendor/calcite-components/NODC2JA6.js +4 -0
- package/dist/collection/vendor/calcite-components/NVBNX55L.js +4 -0
- package/dist/collection/vendor/calcite-components/NWVCPRVB.js +4 -0
- package/dist/collection/vendor/calcite-components/O4O3TSE5.js +4 -0
- package/dist/collection/vendor/calcite-components/OE2AH2NC.js +4 -0
- package/dist/collection/vendor/calcite-components/OGED6PPP.js +4 -0
- package/dist/collection/vendor/calcite-components/OHOS32IT.js +4 -0
- package/dist/collection/vendor/calcite-components/OLMX7G3J.js +4 -0
- package/dist/collection/vendor/calcite-components/OOSULFCY.js +4 -0
- package/dist/collection/vendor/calcite-components/OPBQNK7J.js +4 -0
- package/dist/collection/vendor/calcite-components/OTHVFLNW.js +4 -0
- package/dist/collection/vendor/calcite-components/OTUG3NVT.js +4 -0
- package/dist/collection/vendor/calcite-components/PNHR5K2L.js +4 -0
- package/dist/collection/vendor/calcite-components/PT2XMADA.js +4 -0
- package/dist/collection/vendor/calcite-components/PZLVQQMT.js +4 -0
- package/dist/collection/vendor/calcite-components/QAYSDI3M.js +5 -0
- package/dist/collection/vendor/calcite-components/QCGLMLKW.js +4 -0
- package/dist/collection/vendor/calcite-components/QHASLHZN.js +4 -0
- package/dist/collection/vendor/calcite-components/QK2H5T7J.js +4 -0
- package/dist/collection/vendor/calcite-components/QLKHJI4P.js +4 -0
- package/dist/collection/vendor/calcite-components/QQ67AVDV.js +4 -0
- package/dist/collection/vendor/calcite-components/QU33PBBI.js +4 -0
- package/dist/collection/vendor/calcite-components/QYGED6CL.js +4 -0
- package/dist/collection/vendor/calcite-components/R3HMG2D6.js +4 -0
- package/dist/collection/vendor/calcite-components/R4RMVIKH.js +4 -0
- package/dist/collection/vendor/calcite-components/R6GNPMSV.js +4 -0
- package/dist/collection/vendor/calcite-components/RAFCSOOQ.js +4 -0
- package/dist/collection/vendor/calcite-components/RAQWKUOJ.js +4 -0
- package/dist/collection/vendor/calcite-components/RESHLE2Y.js +4 -0
- package/dist/collection/vendor/calcite-components/RJLKHCRB.js +4 -0
- package/dist/collection/vendor/calcite-components/RLSQLIV6.js +4 -0
- package/dist/collection/vendor/calcite-components/RMGYRZXR.js +4 -0
- package/dist/collection/vendor/calcite-components/RSAEDAEX.js +4 -0
- package/dist/collection/vendor/calcite-components/RUTUU2EH.js +4 -0
- package/dist/collection/vendor/calcite-components/RVMVJW6K.js +4 -0
- package/dist/collection/vendor/calcite-components/RVQMJBNS.js +4 -0
- package/dist/collection/vendor/calcite-components/S76CXQTI.js +4 -0
- package/dist/collection/vendor/calcite-components/SBZ6VJ75.js +4 -0
- package/dist/collection/vendor/calcite-components/SJKTCGW6.js +4 -0
- package/dist/collection/vendor/calcite-components/SKDMJE3X.js +4 -0
- package/dist/collection/vendor/calcite-components/SMUXJLDL.js +4 -0
- package/dist/collection/vendor/calcite-components/SYEQSDHG.js +4 -0
- package/dist/collection/vendor/calcite-components/T3NRBBZP.js +4 -0
- package/dist/collection/vendor/calcite-components/T5UPGHU3.js +4 -0
- package/dist/collection/vendor/calcite-components/T6HODD4B.js +4 -0
- package/dist/collection/vendor/calcite-components/TNR5VZG2.js +4 -0
- package/dist/collection/vendor/calcite-components/TQIVV2F7.js +4 -0
- package/dist/collection/vendor/calcite-components/TQTAM3XB.js +4 -0
- package/dist/collection/vendor/calcite-components/TSJJLMPA.js +4 -0
- package/dist/collection/vendor/calcite-components/TVDZM7WT.js +4 -0
- package/dist/collection/vendor/calcite-components/U3WK4DZT.js +4 -0
- package/dist/collection/vendor/calcite-components/U725E4ID.js +4 -0
- package/dist/collection/vendor/calcite-components/UELGJSYH.js +4 -0
- package/dist/collection/vendor/calcite-components/UJL3BWDH.js +4 -0
- package/dist/collection/vendor/calcite-components/URM3R65T.js +4 -0
- package/dist/collection/vendor/calcite-components/US3PQV6O.js +4 -0
- package/dist/collection/vendor/calcite-components/V4JZRN7T.js +4 -0
- package/dist/collection/vendor/calcite-components/VCSXFNPO.js +4 -0
- package/dist/collection/vendor/calcite-components/VG7BJBFG.js +4 -0
- package/dist/collection/vendor/calcite-components/VJD4CRQ3.js +4 -0
- package/dist/collection/vendor/calcite-components/VMRLYKNI.js +4 -0
- package/dist/collection/vendor/calcite-components/VNQNKQ2J.js +4 -0
- package/dist/collection/vendor/calcite-components/VST65PDC.js +4 -0
- package/dist/collection/vendor/calcite-components/WKTGTKRJ.js +4 -0
- package/dist/collection/vendor/calcite-components/WPAMFFBY.js +4 -0
- package/dist/collection/vendor/calcite-components/WSGL37LB.js +4 -0
- package/dist/collection/vendor/calcite-components/WWUBU6N5.js +4 -0
- package/dist/collection/vendor/calcite-components/X2UHFJHG.js +4 -0
- package/dist/collection/vendor/calcite-components/XBZLGRRI.js +4 -0
- package/dist/collection/vendor/calcite-components/XOVG6UH3.js +4 -0
- package/dist/collection/vendor/calcite-components/XT32TCZG.js +4 -0
- package/dist/collection/vendor/calcite-components/XXZIOSXQ.js +4 -0
- package/dist/collection/vendor/calcite-components/Y6VF7HSM.js +4 -0
- package/dist/collection/vendor/calcite-components/YA5A7PJR.js +4 -0
- package/dist/collection/vendor/calcite-components/YMRTHS5X.js +4 -0
- package/dist/collection/vendor/calcite-components/YTRT5XZT.js +4 -0
- package/dist/collection/vendor/calcite-components/YXLQFMOA.js +4 -0
- package/dist/collection/vendor/calcite-components/YYJSHQR3.js +4 -0
- package/dist/collection/vendor/calcite-components/Z6GA347Y.js +4 -0
- package/dist/collection/vendor/calcite-components/Z7VNUC77.js +4 -0
- package/dist/collection/vendor/calcite-components/ZA76CHET.js +4 -0
- package/dist/collection/vendor/calcite-components/ZGXTLCGJ.js +4 -0
- package/dist/collection/vendor/calcite-components/ZQO6E4FO.js +4 -0
- package/dist/collection/vendor/calcite-components/ZV442E6X.js +4 -0
- package/dist/collection/vendor/calcite-components/assets/icon/dualImageArea16.json +1 -0
- package/dist/collection/vendor/calcite-components/assets/icon/dualImageArea24.json +1 -0
- package/dist/collection/vendor/calcite-components/assets/icon/dualImageArea32.json +1 -0
- package/dist/collection/vendor/calcite-components/assets/icon/dualImageDistance16.json +1 -0
- package/dist/collection/vendor/calcite-components/assets/icon/dualImageDistance24.json +1 -0
- package/dist/collection/vendor/calcite-components/assets/icon/dualImageDistance32.json +1 -0
- package/dist/collection/vendor/calcite-components/assets/icon/dualImageLocation16.json +1 -0
- package/dist/collection/vendor/calcite-components/assets/icon/dualImageLocation24.json +1 -0
- package/dist/collection/vendor/calcite-components/assets/icon/dualImageLocation32.json +1 -0
- package/dist/collection/vendor/calcite-components/calcite.css +1 -1
- package/dist/collection/vendor/calcite-components/calcite.esm.js +2 -2
- package/dist/components/downloadUtils.js +11 -5
- package/dist/components/layer-table2.js +2 -3
- package/dist/components/solution-item-accordion.js +11 -1
- package/dist/esm/card-manager_3.entry.js +3 -4
- package/dist/esm/create-feature_4.entry.js +2 -2
- package/dist/esm/downloadUtils-700fda94.js +3223 -0
- package/dist/esm/feature-list.entry.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/map-select-tools_3.entry.js +1 -1
- package/dist/esm/popupUtils-0e953f08.js +119 -0
- package/dist/esm/public-notification.entry.js +1 -1
- package/dist/esm/solution-item-accordion.entry.js +10 -1
- package/dist/esm/solutions-components.js +1 -1
- package/dist/solutions-components/p-02c347ec.entry.js +6 -0
- package/dist/solutions-components/p-3c97c203.entry.js +6 -0
- package/dist/solutions-components/p-689fd216.entry.js +6 -0
- package/dist/solutions-components/p-80c77f27.js +488 -0
- package/dist/solutions-components/p-91b4c80e.entry.js +6 -0
- package/dist/solutions-components/p-a7de6c48.js +21 -0
- package/dist/solutions-components/p-a961421c.entry.js +6 -0
- package/dist/solutions-components/p-d1d06100.entry.js +6 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/downloadUtils.ts +15 -5
- package/dist/solutions-components/vendor/calcite-components/22RQB3WE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/24SER2VV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2BGMAPSV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2JKKAEPM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2M4WCGKG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2YAXZHP2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/345Q4UHX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/36DMRAV2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3DGJ6ZQI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3GICXOBQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3IV6JSC2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3TOVZEQB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/45GA6INB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/46U4MKUU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4BSCJ722.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4SEPDFCP.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/4TQLSUKH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4YZ27QWL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4Z7JRTON.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5AVZLE2Q.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5EPP4MG3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/66B2H27W.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6LW27BEV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6OZRZ36X.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6X2SD2PW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6XTYGXNG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6ZTWHW63.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7D3VEEUX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7E342YOK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7KSGVDSR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7PWETOIU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7QHUEK5R.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7SX3RD7P.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7U7FF3Y4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7WG5I3MP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/A5GGYTUQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/AI3R3SU6.js +28 -0
- package/dist/solutions-components/vendor/calcite-components/ARHYATTG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ATHBUWBY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/AXXJNFKZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/AYZ73RWQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/BAHIPAHM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/BRTDMTZ3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/BRTESQOJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/BSRMWMHQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/BZKF5ZXQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/C46JYVUP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/C54C5E23.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/CBSMKHOY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/CFRBQXK4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/CIV3PH3Z.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/CJYTY62F.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/CK6HQQX6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/CMO3X257.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/CNO6NFH5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/CWPRBG3T.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/CY6C2FDZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/D2HDFE7S.js +22 -0
- package/dist/solutions-components/vendor/calcite-components/D36VWSDW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DBVNMM6Q.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DDJ75RTI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DH4ISGHV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DNYBIAUI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DT67ZFPX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DTL2LM6T.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/E3R5SMVW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/E4NMFIKN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EAML4EDI.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/ECEZ4R6E.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EFI2G5WL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EHZCT5YZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EOHVH6PN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ESBOJTBS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/F6EGRKXW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FCN5RMLA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FDIM6DYL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FE3A3YUN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FHBFGCTR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FNFWOOMR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FNM4DZZH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/G2KHDAZD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/G3LH75CQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/G3ZJ2KQT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/G7WFYVUC.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/GAAXSGWK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GE63ETFI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GFC7NS6P.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GGO5TMB4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GKKCWEZX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GN5CPLSJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GNUSLZWJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GOOHYN3D.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GPUFLCIT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GSXEMGSW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GYQTRH4V.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HFIRIAQA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HGTV36FX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HKHPJJ34.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HMVKZP47.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/I2OIH73C.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/I32TMNTO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/I62DUDHI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/IH4RXHJJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/IJCTXZQB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/IXRMDUEL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/IYDN67SF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JCWM5Z43.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JEX42CPR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JFYDLHH7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JLZYAYOL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JUNCR7R2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JVNEJ36Z.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/K3ZBW4GY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KBDXI6DJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KBNS3CCT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KI2NOBMU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KSNEQFZX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KSVYAIHK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KULDQOV2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KVSCG5E3.js +6 -0
- package/dist/solutions-components/vendor/calcite-components/KW57BHXD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KWOOGTG2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/L5FDXQMT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LB5ATL5Q.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LH7KSBQC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LHSAAMYQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LILDCWFX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LLSB73WA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LOZEGKG2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MBQZPRQ5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MCSX2S5T.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MIKGJ3NM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MPAVJ7UH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MPX2M2VX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MQYH4ONZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MUWK32IE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MZRO54UT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/N2BVYYYP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/N4MN6VQ7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/N55N67N5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NODC2JA6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NVBNX55L.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NWVCPRVB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/O4O3TSE5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/OE2AH2NC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/OGED6PPP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/OHOS32IT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/OLMX7G3J.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/OOSULFCY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/OPBQNK7J.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/OTHVFLNW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/OTUG3NVT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PNHR5K2L.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PT2XMADA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PZLVQQMT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QAYSDI3M.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/QCGLMLKW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QHASLHZN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QK2H5T7J.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QLKHJI4P.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QQ67AVDV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QU33PBBI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QYGED6CL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/R3HMG2D6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/R4RMVIKH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/R6GNPMSV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RAFCSOOQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RAQWKUOJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RESHLE2Y.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RJLKHCRB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RLSQLIV6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RMGYRZXR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RSAEDAEX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RUTUU2EH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RVMVJW6K.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RVQMJBNS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/S76CXQTI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SBZ6VJ75.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SJKTCGW6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SKDMJE3X.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SMUXJLDL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SYEQSDHG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/T3NRBBZP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/T5UPGHU3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/T6HODD4B.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TNR5VZG2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TQIVV2F7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TQTAM3XB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TSJJLMPA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TVDZM7WT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/U3WK4DZT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/U725E4ID.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/UELGJSYH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/UJL3BWDH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/URM3R65T.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/US3PQV6O.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/V4JZRN7T.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VCSXFNPO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VG7BJBFG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VJD4CRQ3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VMRLYKNI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VNQNKQ2J.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VST65PDC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WKTGTKRJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WPAMFFBY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WSGL37LB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WWUBU6N5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/X2UHFJHG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XBZLGRRI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XOVG6UH3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XT32TCZG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XXZIOSXQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Y6VF7HSM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YA5A7PJR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YMRTHS5X.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YTRT5XZT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YXLQFMOA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YYJSHQR3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Z6GA347Y.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Z7VNUC77.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZA76CHET.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZGXTLCGJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZQO6E4FO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZV442E6X.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/assets/icon/dualImageArea16.json +1 -0
- package/dist/solutions-components/vendor/calcite-components/assets/icon/dualImageArea24.json +1 -0
- package/dist/solutions-components/vendor/calcite-components/assets/icon/dualImageArea32.json +1 -0
- package/dist/solutions-components/vendor/calcite-components/assets/icon/dualImageDistance16.json +1 -0
- package/dist/solutions-components/vendor/calcite-components/assets/icon/dualImageDistance24.json +1 -0
- package/dist/solutions-components/vendor/calcite-components/assets/icon/dualImageDistance32.json +1 -0
- package/dist/solutions-components/vendor/calcite-components/assets/icon/dualImageLocation16.json +1 -0
- package/dist/solutions-components/vendor/calcite-components/assets/icon/dualImageLocation24.json +1 -0
- package/dist/solutions-components/vendor/calcite-components/assets/icon/dualImageLocation32.json +1 -0
- package/dist/solutions-components/vendor/calcite-components/calcite.css +1 -1
- package/dist/solutions-components/vendor/calcite-components/calcite.esm.js +2 -2
- package/dist/solutions-components_commit.txt +6 -6
- package/dist/types/components/solution-item-accordion/solution-item-accordion.d.ts +4 -0
- package/dist/types/components.d.ts +4 -0
- package/dist/types/utils/downloadUtils.d.ts +1 -1
- package/package.json +3 -3
- package/dist/cjs/downloadUtils-da9e19c6.js +0 -3223
- package/dist/cjs/popupUtils-69ad52f5.js +0 -121
- package/dist/collection/vendor/calcite-components/24XPU7PW.js +0 -4
- package/dist/collection/vendor/calcite-components/26HZKUXD.js +0 -4
- package/dist/collection/vendor/calcite-components/2DZDH5PW.js +0 -4
- package/dist/collection/vendor/calcite-components/2E4H4XCR.js +0 -5
- package/dist/collection/vendor/calcite-components/2FEK4CRN.js +0 -4
- package/dist/collection/vendor/calcite-components/2JG564MO.js +0 -4
- package/dist/collection/vendor/calcite-components/2Q4UEB7G.js +0 -4
- package/dist/collection/vendor/calcite-components/2RPVHRRK.js +0 -4
- package/dist/collection/vendor/calcite-components/2UCHSNWA.js +0 -4
- package/dist/collection/vendor/calcite-components/36XNABTH.js +0 -5
- package/dist/collection/vendor/calcite-components/3AQ2GZOJ.js +0 -4
- package/dist/collection/vendor/calcite-components/3BLAL4BM.js +0 -4
- package/dist/collection/vendor/calcite-components/3FMVZYYJ.js +0 -4
- package/dist/collection/vendor/calcite-components/3H4RHBLC.js +0 -4
- package/dist/collection/vendor/calcite-components/3HPRXYKG.js +0 -4
- package/dist/collection/vendor/calcite-components/3NQ3MF4Y.js +0 -4
- package/dist/collection/vendor/calcite-components/3QYPPYKC.js +0 -4
- package/dist/collection/vendor/calcite-components/3SN4BPNU.js +0 -4
- package/dist/collection/vendor/calcite-components/3TSDVYMK.js +0 -4
- package/dist/collection/vendor/calcite-components/44IELQRN.js +0 -4
- package/dist/collection/vendor/calcite-components/4EXGV2JM.js +0 -4
- package/dist/collection/vendor/calcite-components/4FFNZW2T.js +0 -4
- package/dist/collection/vendor/calcite-components/4IAN6EPQ.js +0 -4
- package/dist/collection/vendor/calcite-components/4LP6XZGU.js +0 -4
- package/dist/collection/vendor/calcite-components/5F57XCO4.js +0 -4
- package/dist/collection/vendor/calcite-components/5GKGAQME.js +0 -4
- package/dist/collection/vendor/calcite-components/5IDYJYNO.js +0 -4
- package/dist/collection/vendor/calcite-components/5NCQFUYM.js +0 -4
- package/dist/collection/vendor/calcite-components/5URVZAO7.js +0 -4
- package/dist/collection/vendor/calcite-components/5VK4UUOT.js +0 -4
- package/dist/collection/vendor/calcite-components/675BA2OJ.js +0 -4
- package/dist/collection/vendor/calcite-components/6BYBFB5X.js +0 -4
- package/dist/collection/vendor/calcite-components/6GYLT3HR.js +0 -4
- package/dist/collection/vendor/calcite-components/6HR6FZG5.js +0 -4
- package/dist/collection/vendor/calcite-components/6MXVP647.js +0 -4
- package/dist/collection/vendor/calcite-components/6ZVC3UDX.js +0 -4
- package/dist/collection/vendor/calcite-components/7DCX244D.js +0 -4
- package/dist/collection/vendor/calcite-components/7IVGC34Z.js +0 -4
- package/dist/collection/vendor/calcite-components/7MWKFHAB.js +0 -4
- package/dist/collection/vendor/calcite-components/7XHO3OGL.js +0 -4
- package/dist/collection/vendor/calcite-components/7ZKEYSIK.js +0 -4
- package/dist/collection/vendor/calcite-components/A55GXE4D.js +0 -4
- package/dist/collection/vendor/calcite-components/ANPPDEZT.js +0 -4
- package/dist/collection/vendor/calcite-components/AQU64FML.js +0 -4
- package/dist/collection/vendor/calcite-components/BWIN7F7V.js +0 -4
- package/dist/collection/vendor/calcite-components/CMPWL5OR.js +0 -4
- package/dist/collection/vendor/calcite-components/D2RJ2NDD.js +0 -4
- package/dist/collection/vendor/calcite-components/D7XRLD6B.js +0 -4
- package/dist/collection/vendor/calcite-components/DARUTTL6.js +0 -4
- package/dist/collection/vendor/calcite-components/DQUWVHQ4.js +0 -4
- package/dist/collection/vendor/calcite-components/DS66T4UB.js +0 -4
- package/dist/collection/vendor/calcite-components/DTEXOHOC.js +0 -4
- package/dist/collection/vendor/calcite-components/DWP35FP5.js +0 -4
- package/dist/collection/vendor/calcite-components/E4V4WLG3.js +0 -4
- package/dist/collection/vendor/calcite-components/E7BZN4HI.js +0 -4
- package/dist/collection/vendor/calcite-components/E7L45EZX.js +0 -4
- package/dist/collection/vendor/calcite-components/EAA5CDC7.js +0 -4
- package/dist/collection/vendor/calcite-components/EBQYZOJE.js +0 -4
- package/dist/collection/vendor/calcite-components/EEY7KS7V.js +0 -4
- package/dist/collection/vendor/calcite-components/EF4LF7JA.js +0 -4
- package/dist/collection/vendor/calcite-components/EG3KFCKT.js +0 -4
- package/dist/collection/vendor/calcite-components/EIKWAET5.js +0 -4
- package/dist/collection/vendor/calcite-components/ELQHGUUQ.js +0 -4
- package/dist/collection/vendor/calcite-components/ERSOIATK.js +0 -4
- package/dist/collection/vendor/calcite-components/EV222TOH.js +0 -4
- package/dist/collection/vendor/calcite-components/FBYOJ4XP.js +0 -4
- package/dist/collection/vendor/calcite-components/FD23ZJ5M.js +0 -4
- package/dist/collection/vendor/calcite-components/FKRFYIK4.js +0 -4
- package/dist/collection/vendor/calcite-components/FMQW5CPG.js +0 -4
- package/dist/collection/vendor/calcite-components/FO5IP7GC.js +0 -4
- package/dist/collection/vendor/calcite-components/FT75A5FT.js +0 -4
- package/dist/collection/vendor/calcite-components/FXQZQREX.js +0 -4
- package/dist/collection/vendor/calcite-components/FYRRB4YU.js +0 -4
- package/dist/collection/vendor/calcite-components/G4WSCO7F.js +0 -4
- package/dist/collection/vendor/calcite-components/G5LIFWLC.js +0 -4
- package/dist/collection/vendor/calcite-components/GCYW34DH.js +0 -4
- package/dist/collection/vendor/calcite-components/GD4KAPIS.js +0 -4
- package/dist/collection/vendor/calcite-components/GM2DDQTV.js +0 -4
- package/dist/collection/vendor/calcite-components/GO2WSYWK.js +0 -4
- package/dist/collection/vendor/calcite-components/GPCQIKHB.js +0 -4
- package/dist/collection/vendor/calcite-components/GWFN65PG.js +0 -4
- package/dist/collection/vendor/calcite-components/GYIYX666.js +0 -4
- package/dist/collection/vendor/calcite-components/H373LLT7.js +0 -4
- package/dist/collection/vendor/calcite-components/HANIGQEU.js +0 -4
- package/dist/collection/vendor/calcite-components/HBWBBKTZ.js +0 -4
- package/dist/collection/vendor/calcite-components/HPQH2IQI.js +0 -4
- package/dist/collection/vendor/calcite-components/HVFHWDZS.js +0 -4
- package/dist/collection/vendor/calcite-components/HZ2CJF4H.js +0 -4
- package/dist/collection/vendor/calcite-components/ICQDC5MP.js +0 -4
- package/dist/collection/vendor/calcite-components/IUPHPQ5W.js +0 -4
- package/dist/collection/vendor/calcite-components/JDC4CCNQ.js +0 -4
- package/dist/collection/vendor/calcite-components/JG5U4L3H.js +0 -4
- package/dist/collection/vendor/calcite-components/JIZ3ZUNT.js +0 -4
- package/dist/collection/vendor/calcite-components/JLOMSYFQ.js +0 -4
- package/dist/collection/vendor/calcite-components/JLTNOBGF.js +0 -4
- package/dist/collection/vendor/calcite-components/JN54BWVD.js +0 -4
- package/dist/collection/vendor/calcite-components/JN6GQD32.js +0 -4
- package/dist/collection/vendor/calcite-components/JPISN7UU.js +0 -4
- package/dist/collection/vendor/calcite-components/JUAKRLPE.js +0 -4
- package/dist/collection/vendor/calcite-components/JWG3XWKS.js +0 -4
- package/dist/collection/vendor/calcite-components/JXO6Q6PC.js +0 -4
- package/dist/collection/vendor/calcite-components/JZGJVQKB.js +0 -4
- package/dist/collection/vendor/calcite-components/K6ALYIOD.js +0 -4
- package/dist/collection/vendor/calcite-components/KDJM5H4R.js +0 -4
- package/dist/collection/vendor/calcite-components/KHJ3WR7G.js +0 -4
- package/dist/collection/vendor/calcite-components/KKIWAHJ5.js +0 -4
- package/dist/collection/vendor/calcite-components/KTBWW64D.js +0 -4
- package/dist/collection/vendor/calcite-components/KU2O6B36.js +0 -4
- package/dist/collection/vendor/calcite-components/KVUPM4TA.js +0 -4
- package/dist/collection/vendor/calcite-components/KX7ZCSRX.js +0 -4
- package/dist/collection/vendor/calcite-components/L23DZQI6.js +0 -4
- package/dist/collection/vendor/calcite-components/L2A3CRIP.js +0 -4
- package/dist/collection/vendor/calcite-components/L37A2ISQ.js +0 -4
- package/dist/collection/vendor/calcite-components/LAVRP2RO.js +0 -4
- package/dist/collection/vendor/calcite-components/LKSA6W5F.js +0 -4
- package/dist/collection/vendor/calcite-components/LL7Q6H5L.js +0 -4
- package/dist/collection/vendor/calcite-components/LM2XVEJC.js +0 -4
- package/dist/collection/vendor/calcite-components/LRGSGD6G.js +0 -4
- package/dist/collection/vendor/calcite-components/LSIQC7QO.js +0 -4
- package/dist/collection/vendor/calcite-components/LX3BNN2R.js +0 -4
- package/dist/collection/vendor/calcite-components/M25GARCS.js +0 -4
- package/dist/collection/vendor/calcite-components/M4GN65AZ.js +0 -4
- package/dist/collection/vendor/calcite-components/MDFZXOFP.js +0 -5
- package/dist/collection/vendor/calcite-components/MIBXI2CI.js +0 -4
- package/dist/collection/vendor/calcite-components/MRFLH6RW.js +0 -4
- package/dist/collection/vendor/calcite-components/MUSZ6RWB.js +0 -4
- package/dist/collection/vendor/calcite-components/MX5EJ4DJ.js +0 -4
- package/dist/collection/vendor/calcite-components/MX7YVZ2Z.js +0 -4
- package/dist/collection/vendor/calcite-components/MYZF2YXM.js +0 -4
- package/dist/collection/vendor/calcite-components/N65J4BH6.js +0 -4
- package/dist/collection/vendor/calcite-components/N7POKTYM.js +0 -4
- package/dist/collection/vendor/calcite-components/NGWZQ4DF.js +0 -4
- package/dist/collection/vendor/calcite-components/NH5KER32.js +0 -4
- package/dist/collection/vendor/calcite-components/NIUCAKLC.js +0 -4
- package/dist/collection/vendor/calcite-components/NJILTUYU.js +0 -4
- package/dist/collection/vendor/calcite-components/NNB7RMSP.js +0 -4
- package/dist/collection/vendor/calcite-components/NP5LTTOS.js +0 -4
- package/dist/collection/vendor/calcite-components/NU3PWREF.js +0 -4
- package/dist/collection/vendor/calcite-components/NZDSRTUF.js +0 -4
- package/dist/collection/vendor/calcite-components/O4LXC5MV.js +0 -4
- package/dist/collection/vendor/calcite-components/OJGLTFDQ.js +0 -4
- package/dist/collection/vendor/calcite-components/OM2SDJA4.js +0 -4
- package/dist/collection/vendor/calcite-components/OY3RU7OI.js +0 -4
- package/dist/collection/vendor/calcite-components/P7LZIGH7.js +0 -4
- package/dist/collection/vendor/calcite-components/PF4XEEY5.js +0 -4
- package/dist/collection/vendor/calcite-components/PODUJS2H.js +0 -4
- package/dist/collection/vendor/calcite-components/PTGDUPKQ.js +0 -4
- package/dist/collection/vendor/calcite-components/PULE4IG4.js +0 -4
- package/dist/collection/vendor/calcite-components/PYAEZBTT.js +0 -4
- package/dist/collection/vendor/calcite-components/Q4DBJLCB.js +0 -4
- package/dist/collection/vendor/calcite-components/Q5CP47UX.js +0 -4
- package/dist/collection/vendor/calcite-components/QBKTBLGQ.js +0 -4
- package/dist/collection/vendor/calcite-components/QBQA4E7G.js +0 -4
- package/dist/collection/vendor/calcite-components/QETLRCQW.js +0 -4
- package/dist/collection/vendor/calcite-components/QQDFER4A.js +0 -4
- package/dist/collection/vendor/calcite-components/QUUN5YJ3.js +0 -4
- package/dist/collection/vendor/calcite-components/RAGSXTXM.js +0 -4
- package/dist/collection/vendor/calcite-components/RCSWE64T.js +0 -4
- package/dist/collection/vendor/calcite-components/REFBGNGF.js +0 -4
- package/dist/collection/vendor/calcite-components/RJMOC4XG.js +0 -4
- package/dist/collection/vendor/calcite-components/RLL47KJQ.js +0 -4
- package/dist/collection/vendor/calcite-components/RNT7J5MG.js +0 -4
- package/dist/collection/vendor/calcite-components/RPYN5IF2.js +0 -4
- package/dist/collection/vendor/calcite-components/RRML3L24.js +0 -4
- package/dist/collection/vendor/calcite-components/RRVJ5QUL.js +0 -4
- package/dist/collection/vendor/calcite-components/RZO7PXBY.js +0 -4
- package/dist/collection/vendor/calcite-components/SHIRLQTM.js +0 -4
- package/dist/collection/vendor/calcite-components/SKNFNI3G.js +0 -4
- package/dist/collection/vendor/calcite-components/SYRJFWC5.js +0 -4
- package/dist/collection/vendor/calcite-components/T3GBBB3W.js +0 -4
- package/dist/collection/vendor/calcite-components/TQ427GJX.js +0 -6
- package/dist/collection/vendor/calcite-components/TRWHGTOM.js +0 -4
- package/dist/collection/vendor/calcite-components/TTYJV2AA.js +0 -4
- package/dist/collection/vendor/calcite-components/TWJJYAQX.js +0 -4
- package/dist/collection/vendor/calcite-components/U34FMDPO.js +0 -4
- package/dist/collection/vendor/calcite-components/UEMF24J4.js +0 -4
- package/dist/collection/vendor/calcite-components/UIX5KJAH.js +0 -4
- package/dist/collection/vendor/calcite-components/UK4MHTX3.js +0 -4
- package/dist/collection/vendor/calcite-components/UMC66FPD.js +0 -4
- package/dist/collection/vendor/calcite-components/UOWQEKZ5.js +0 -4
- package/dist/collection/vendor/calcite-components/UTQXVQSW.js +0 -4
- package/dist/collection/vendor/calcite-components/UZXKQDX5.js +0 -4
- package/dist/collection/vendor/calcite-components/VB5TESRK.js +0 -4
- package/dist/collection/vendor/calcite-components/VHJ3N6C3.js +0 -4
- package/dist/collection/vendor/calcite-components/VY7WVWHH.js +0 -4
- package/dist/collection/vendor/calcite-components/W34LH35I.js +0 -4
- package/dist/collection/vendor/calcite-components/W5SJYIG6.js +0 -4
- package/dist/collection/vendor/calcite-components/W7LKQZLC.js +0 -4
- package/dist/collection/vendor/calcite-components/WA5XUN7A.js +0 -4
- package/dist/collection/vendor/calcite-components/WEMPP7QH.js +0 -4
- package/dist/collection/vendor/calcite-components/WK57IMVA.js +0 -4
- package/dist/collection/vendor/calcite-components/WUO5GRAC.js +0 -5
- package/dist/collection/vendor/calcite-components/WVYNOISK.js +0 -4
- package/dist/collection/vendor/calcite-components/X3DSV2RP.js +0 -4
- package/dist/collection/vendor/calcite-components/X533PSPQ.js +0 -4
- package/dist/collection/vendor/calcite-components/XCP7OFYG.js +0 -4
- package/dist/collection/vendor/calcite-components/XHSJC65M.js +0 -22
- package/dist/collection/vendor/calcite-components/XNYI7YNV.js +0 -4
- package/dist/collection/vendor/calcite-components/XOXXCOFR.js +0 -4
- package/dist/collection/vendor/calcite-components/XWL453TD.js +0 -4
- package/dist/collection/vendor/calcite-components/XZCNA3MO.js +0 -4
- package/dist/collection/vendor/calcite-components/XZIEBVH3.js +0 -4
- package/dist/collection/vendor/calcite-components/Y2RMF5RD.js +0 -4
- package/dist/collection/vendor/calcite-components/Y5K6MWVI.js +0 -4
- package/dist/collection/vendor/calcite-components/Y73JSF6U.js +0 -4
- package/dist/collection/vendor/calcite-components/YDHV53C4.js +0 -4
- package/dist/collection/vendor/calcite-components/YFD73VVO.js +0 -4
- package/dist/collection/vendor/calcite-components/YGSOHLPD.js +0 -4
- package/dist/collection/vendor/calcite-components/YLRKAY6P.js +0 -4
- package/dist/collection/vendor/calcite-components/YMGAVFBF.js +0 -4
- package/dist/collection/vendor/calcite-components/YORUNTUJ.js +0 -4
- package/dist/collection/vendor/calcite-components/YQW2HZIZ.js +0 -4
- package/dist/collection/vendor/calcite-components/YU4QMLUK.js +0 -4
- package/dist/collection/vendor/calcite-components/Z5W27AI4.js +0 -4
- package/dist/collection/vendor/calcite-components/ZB7BTUGE.js +0 -4
- package/dist/collection/vendor/calcite-components/ZBMTRW4F.js +0 -4
- package/dist/collection/vendor/calcite-components/ZGKKQBVA.js +0 -4
- package/dist/collection/vendor/calcite-components/ZH3CXIUL.js +0 -4
- package/dist/collection/vendor/calcite-components/ZIFGJROL.js +0 -4
- package/dist/collection/vendor/calcite-components/ZL7RFBBU.js +0 -28
- package/dist/collection/vendor/calcite-components/ZLP5NNFX.js +0 -4
- package/dist/collection/vendor/calcite-components/ZQRVWYDH.js +0 -4
- package/dist/esm/downloadUtils-0b6677dc.js +0 -3217
- package/dist/esm/popupUtils-9233302d.js +0 -119
- package/dist/solutions-components/p-4084e2d1.js +0 -488
- package/dist/solutions-components/p-4294c7e6.entry.js +0 -6
- package/dist/solutions-components/p-477dbafa.entry.js +0 -6
- package/dist/solutions-components/p-83f0dd3b.entry.js +0 -6
- package/dist/solutions-components/p-87ae2979.entry.js +0 -6
- package/dist/solutions-components/p-9777c01f.entry.js +0 -6
- package/dist/solutions-components/p-ee8fa795.entry.js +0 -6
- package/dist/solutions-components/p-f3003b3a.js +0 -21
- package/dist/solutions-components/vendor/calcite-components/24XPU7PW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/26HZKUXD.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2DZDH5PW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2E4H4XCR.js +0 -5
- package/dist/solutions-components/vendor/calcite-components/2FEK4CRN.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2JG564MO.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2Q4UEB7G.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2RPVHRRK.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2UCHSNWA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/36XNABTH.js +0 -5
- package/dist/solutions-components/vendor/calcite-components/3AQ2GZOJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/3BLAL4BM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/3FMVZYYJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/3H4RHBLC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/3HPRXYKG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/3NQ3MF4Y.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/3QYPPYKC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/3SN4BPNU.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/3TSDVYMK.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/44IELQRN.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4EXGV2JM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4FFNZW2T.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4IAN6EPQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4LP6XZGU.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/5F57XCO4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/5GKGAQME.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/5IDYJYNO.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/5NCQFUYM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/5URVZAO7.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/5VK4UUOT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/675BA2OJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6BYBFB5X.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6GYLT3HR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6HR6FZG5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6MXVP647.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6ZVC3UDX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7DCX244D.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7IVGC34Z.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7MWKFHAB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7XHO3OGL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7ZKEYSIK.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/A55GXE4D.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ANPPDEZT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/AQU64FML.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/BWIN7F7V.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/CMPWL5OR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/D2RJ2NDD.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/D7XRLD6B.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DARUTTL6.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DQUWVHQ4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DS66T4UB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DTEXOHOC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DWP35FP5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/E4V4WLG3.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/E7BZN4HI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/E7L45EZX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EAA5CDC7.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EBQYZOJE.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EEY7KS7V.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EF4LF7JA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EG3KFCKT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EIKWAET5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ELQHGUUQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ERSOIATK.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EV222TOH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FBYOJ4XP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FD23ZJ5M.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FKRFYIK4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FMQW5CPG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FO5IP7GC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FT75A5FT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FXQZQREX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FYRRB4YU.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/G4WSCO7F.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/G5LIFWLC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GCYW34DH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GD4KAPIS.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GM2DDQTV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GO2WSYWK.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GPCQIKHB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GWFN65PG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GYIYX666.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/H373LLT7.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HANIGQEU.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HBWBBKTZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HPQH2IQI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HVFHWDZS.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HZ2CJF4H.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ICQDC5MP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/IUPHPQ5W.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JDC4CCNQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JG5U4L3H.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JIZ3ZUNT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JLOMSYFQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JLTNOBGF.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JN54BWVD.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JN6GQD32.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JPISN7UU.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JUAKRLPE.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JWG3XWKS.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JXO6Q6PC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JZGJVQKB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/K6ALYIOD.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KDJM5H4R.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KHJ3WR7G.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KKIWAHJ5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KTBWW64D.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KU2O6B36.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KVUPM4TA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KX7ZCSRX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/L23DZQI6.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/L2A3CRIP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/L37A2ISQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LAVRP2RO.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LKSA6W5F.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LL7Q6H5L.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LM2XVEJC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LRGSGD6G.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LSIQC7QO.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LX3BNN2R.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/M25GARCS.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/M4GN65AZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MDFZXOFP.js +0 -5
- package/dist/solutions-components/vendor/calcite-components/MIBXI2CI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MRFLH6RW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MUSZ6RWB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MX5EJ4DJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MX7YVZ2Z.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MYZF2YXM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/N65J4BH6.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/N7POKTYM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NGWZQ4DF.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NH5KER32.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NIUCAKLC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NJILTUYU.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NNB7RMSP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NP5LTTOS.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NU3PWREF.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NZDSRTUF.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/O4LXC5MV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/OJGLTFDQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/OM2SDJA4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/OY3RU7OI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/P7LZIGH7.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/PF4XEEY5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/PODUJS2H.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/PTGDUPKQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/PULE4IG4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/PYAEZBTT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/Q4DBJLCB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/Q5CP47UX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QBKTBLGQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QBQA4E7G.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QETLRCQW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QQDFER4A.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QUUN5YJ3.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RAGSXTXM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RCSWE64T.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/REFBGNGF.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RJMOC4XG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RLL47KJQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RNT7J5MG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RPYN5IF2.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RRML3L24.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RRVJ5QUL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RZO7PXBY.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/SHIRLQTM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/SKNFNI3G.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/SYRJFWC5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/T3GBBB3W.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/TQ427GJX.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/TRWHGTOM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/TTYJV2AA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/TWJJYAQX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/U34FMDPO.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/UEMF24J4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/UIX5KJAH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/UK4MHTX3.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/UMC66FPD.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/UOWQEKZ5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/UTQXVQSW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/UZXKQDX5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/VB5TESRK.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/VHJ3N6C3.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/VY7WVWHH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/W34LH35I.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/W5SJYIG6.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/W7LKQZLC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/WA5XUN7A.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/WEMPP7QH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/WK57IMVA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/WUO5GRAC.js +0 -5
- package/dist/solutions-components/vendor/calcite-components/WVYNOISK.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/X3DSV2RP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/X533PSPQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XCP7OFYG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XHSJC65M.js +0 -22
- package/dist/solutions-components/vendor/calcite-components/XNYI7YNV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XOXXCOFR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XWL453TD.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XZCNA3MO.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XZIEBVH3.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/Y2RMF5RD.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/Y5K6MWVI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/Y73JSF6U.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YDHV53C4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YFD73VVO.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YGSOHLPD.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YLRKAY6P.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YMGAVFBF.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YORUNTUJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YQW2HZIZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YU4QMLUK.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/Z5W27AI4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZB7BTUGE.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZBMTRW4F.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZGKKQBVA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZH3CXIUL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZIFGJROL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZL7RFBBU.js +0 -28
- package/dist/solutions-components/vendor/calcite-components/ZLP5NNFX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZQRVWYDH.js +0 -4
@@ -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.0.0 */
|
4
|
+
import{a as bn,b as xn}from"./OLMX7G3J.js";var Yt={exports:{}};Yt.exports;(function(yt,Fr){(function(Xt,rt){yt.exports=rt()})(bn,function(){function Xt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function rt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Xt(Object(n),!0).forEach(function(r){En(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xt(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Z(e){return Z=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Z(e)}function k(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,ve(r.key),r)}}function D(e,t,n){return t&&wn(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function En(e,t,n){return(t=ve(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function it(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Lt(e,t)}function H(e){return H=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},H(e)}function Lt(e,t){return Lt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Lt(e,t)}function bt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ot(e){var t=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(e);if(t){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 bt(o)}(this,n)}}function xt(){return xt=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(o,a){for(;!Object.prototype.hasOwnProperty.call(o,a)&&(o=H(o))!==null;);return o}(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},xt.apply(this,arguments)}function ve(e){var t=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)}(e,"string");return typeof t=="symbol"?t:t+""}var ge=function(e){return!(!e||!e.Window)&&e instanceof e.Window},me=void 0,q=void 0;function ye(e){me=e;var t=e.document.createTextNode("");t.ownerDocument!==e.document&&typeof e.wrap=="function"&&e.wrap(t)===t&&(e=e.wrap(e)),q=e}function F(e){return ge(e)?e:(e.ownerDocument||e).defaultView||q.window}typeof window<"u"&&window&&ye(window);var wt=function(e){return!!e&&Z(e)==="object"},be=function(e){return typeof e=="function"},d={window:function(e){return e===q||ge(e)},docFrag:function(e){return wt(e)&&e.nodeType===11},object:wt,func:be,number:function(e){return typeof e=="number"},bool:function(e){return typeof e=="boolean"},string:function(e){return typeof e=="string"},element:function(e){if(!e||Z(e)!=="object")return!1;var t=F(e)||q;return/object|function/.test(typeof Element>"u"?"undefined":Z(Element))?e instanceof Element||e instanceof t.Element:e.nodeType===1&&typeof e.nodeName=="string"},plainObject:function(e){return wt(e)&&!!e.constructor&&/function Object\b/.test(e.constructor.toString())},array:function(e){return wt(e)&&e.length!==void 0&&be(e.splice)}};function Bt(e){var t=e.interaction;if(t.prepared.name==="drag"){var n=t.prepared.axis;n==="x"?(t.coords.cur.page.y=t.coords.start.page.y,t.coords.cur.client.y=t.coords.start.client.y,t.coords.velocity.client.y=0,t.coords.velocity.page.y=0):n==="y"&&(t.coords.cur.page.x=t.coords.start.page.x,t.coords.cur.client.x=t.coords.start.client.x,t.coords.velocity.client.x=0,t.coords.velocity.page.x=0)}}function xe(e){var t=e.iEvent,n=e.interaction;if(n.prepared.name==="drag"){var r=n.prepared.axis;if(r==="x"||r==="y"){var i=r==="x"?"y":"x";t.page[i]=n.coords.start.page[i],t.client[i]=n.coords.start.client[i],t.delta[i]=0}}}var Et={id:"actions/drag",install:function(e){var t=e.actions,n=e.Interactable,r=e.defaults;n.prototype.draggable=Et.draggable,t.map.drag=Et,t.methodDict.drag="draggable",r.actions.drag=Et.defaults},listeners:{"interactions:before-action-move":Bt,"interactions:action-resume":Bt,"interactions:action-move":xe,"auto-start:check":function(e){var t=e.interaction,n=e.interactable,r=e.buttons,i=n.options.drag;if(i&&i.enabled&&(!t.pointerIsDown||!/mouse|pointer/.test(t.pointerType)||r&n.options.drag.mouseButtons))return e.action={name:"drag",axis:i.lockAxis==="start"?i.startAxis:i.lockAxis},!1}},draggable:function(e){return d.object(e)?(this.options.drag.enabled=e.enabled!==!1,this.setPerAction("drag",e),this.setOnEvents("drag",e),/^(xy|x|y|start)$/.test(e.lockAxis)&&(this.options.drag.lockAxis=e.lockAxis),/^(xy|x|y)$/.test(e.startAxis)&&(this.options.drag.startAxis=e.startAxis),this):d.bool(e)?(this.options.drag.enabled=e,this):this.options.drag},beforeMove:Bt,move:xe,defaults:{startAxis:"xy",lockAxis:"xy"},getCursor:function(){return"move"},filterEventType:function(e){return e.search("drag")===0}},we=Et,A={init:function(e){var t=e;A.document=t.document,A.DocumentFragment=t.DocumentFragment||tt,A.SVGElement=t.SVGElement||tt,A.SVGSVGElement=t.SVGSVGElement||tt,A.SVGElementInstance=t.SVGElementInstance||tt,A.Element=t.Element||tt,A.HTMLElement=t.HTMLElement||A.Element,A.Event=t.Event,A.Touch=t.Touch||tt,A.PointerEvent=t.PointerEvent||t.MSPointerEvent},document:null,DocumentFragment:null,SVGElement:null,SVGSVGElement:null,SVGElementInstance:null,Element:null,HTMLElement:null,Event:null,Touch:null,PointerEvent:null};function tt(){}var O=A,R={init:function(e){var t=O.Element,n=e.navigator||{};R.supportsTouch="ontouchstart"in e||d.func(e.DocumentTouch)&&O.document instanceof e.DocumentTouch,R.supportsPointerEvent=n.pointerEnabled!==!1&&!!O.PointerEvent,R.isIOS=/iP(hone|od|ad)/.test(n.platform),R.isIOS7=/iP(hone|od|ad)/.test(n.platform)&&/OS 7[^\d]/.test(n.appVersion),R.isIe9=/MSIE 9/.test(n.userAgent),R.isOperaMobile=n.appName==="Opera"&&R.supportsTouch&&/Presto/.test(n.userAgent),R.prefixedMatchesSelector="matches"in t.prototype?"matches":"webkitMatchesSelector"in t.prototype?"webkitMatchesSelector":"mozMatchesSelector"in t.prototype?"mozMatchesSelector":"oMatchesSelector"in t.prototype?"oMatchesSelector":"msMatchesSelector",R.pEventTypes=R.supportsPointerEvent?O.PointerEvent===e.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,R.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},C=R;function K(e,t){if(e.contains)return e.contains(t);for(;t;){if(t===e)return!0;t=t.parentNode}return!1}function Ee(e,t){for(;d.element(e);){if(V(e,t))return e;e=Y(e)}return null}function Y(e){var t=e.parentNode;if(d.docFrag(t)){for(;(t=t.host)&&d.docFrag(t););return t}return t}function V(e,t){return q!==me&&(t=t.replace(/\/deep\//g," ")),e[C.prefixedMatchesSelector](t)}var Vt=function(e){return e.parentNode||e.host};function Te(e,t){for(var n,r=[],i=e;(n=Vt(i))&&i!==t&&n!==i.ownerDocument;)r.unshift(i),i=n;return r}function Wt(e,t,n){for(;d.element(e);){if(V(e,t))return!0;if((e=Y(e))===n)return V(e,t)}return!1}function Se(e){return e.correspondingUseElement||e}function Gt(e){var t=e instanceof O.SVGElement?e.getBoundingClientRect():e.getClientRects()[0];return t&&{left:t.left,right:t.right,top:t.top,bottom:t.bottom,width:t.width||t.right-t.left,height:t.height||t.bottom-t.top}}function Nt(e){var t,n=Gt(e);if(!C.isIOS7&&n){var r={x:(t=(t=F(e))||q).scrollX||t.document.documentElement.scrollLeft,y:t.scrollY||t.document.documentElement.scrollTop};n.left+=r.x,n.right+=r.x,n.top+=r.y,n.bottom+=r.y}return n}function _e(e){for(var t=[];e;)t.push(e),e=Y(e);return t}function Pe(e){return!!d.string(e)&&(O.document.querySelector(e),!0)}function x(e,t){for(var n in t)e[n]=t[n];return e}function Oe(e,t,n){return e==="parent"?Y(n):e==="self"?t.getRect(n):Ee(n,e)}function at(e,t,n,r){var i=e;return d.string(i)?i=Oe(i,t,n):d.func(i)&&(i=i.apply(void 0,r)),d.element(i)&&(i=Nt(i)),i}function Tt(e){return e&&{x:"x"in e?e.x:e.left,y:"y"in e?e.y:e.top}}function Ut(e){return!e||"x"in e&&"y"in e||((e=x({},e)).x=e.left||0,e.y=e.top||0,e.width=e.width||(e.right||0)-e.x,e.height=e.height||(e.bottom||0)-e.y),e}function St(e,t,n){e.left&&(t.left+=n.x),e.right&&(t.right+=n.x),e.top&&(t.top+=n.y),e.bottom&&(t.bottom+=n.y),t.width=t.right-t.left,t.height=t.bottom-t.top}function st(e,t,n){var r=n&&e.options[n];return Tt(at(r&&r.origin||e.options.origin,e,t,[e&&t]))||{x:0,y:0}}function $(e,t){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(e)&&e.search(" ")!==-1&&(e=ke(e)),d.array(e))return e.forEach(function(c){return $(c,t,n,r)}),r;if(d.object(e)&&(t=e,e=""),d.func(t)&&n(e))r[e]=r[e]||[],r[e].push(t);else if(d.array(t))for(var i=0,o=t;i<o.length;i++){var a=o[i];$(e,a,n,r)}else if(d.object(t))for(var s in t)$(ke(s).map(function(c){return"".concat(e).concat(c)}),t[s],n,r);return r}function ke(e){return e.trim().split(/ +/)}var ct=function(e,t){return Math.sqrt(e*e+t*t)},Tn=["webkit","moz"];function _t(e,t){e.__set||(e.__set={});var n=function(i){if(Tn.some(function(o){return i.indexOf(o)===0}))return 1;typeof e[i]!="function"&&i!=="__set"&&Object.defineProperty(e,i,{get:function(){return i in e.__set?e.__set[i]:e.__set[i]=t[i]},set:function(o){e.__set[i]=o},configurable:!0})};for(var r in t)n(r);return e}function Pt(e,t){e.page=e.page||{},e.page.x=t.page.x,e.page.y=t.page.y,e.client=e.client||{},e.client.x=t.client.x,e.client.y=t.client.y,e.timeStamp=t.timeStamp}function De(e){e.page.x=0,e.page.y=0,e.client.x=0,e.client.y=0}function Ie(e){return e instanceof O.Event||e instanceof O.Touch}function Ot(e,t,n){return e=e||"page",(n=n||{}).x=t[e+"X"],n.y=t[e+"Y"],n}function Me(e,t){return t=t||{x:0,y:0},C.isOperaMobile&&Ie(e)?(Ot("screen",e,t),t.x+=window.scrollX,t.y+=window.scrollY):Ot("page",e,t),t}function lt(e){return d.number(e.pointerId)?e.pointerId:e.identifier}function Sn(e,t,n){var r=t.length>1?ze(t):t[0];Me(r,e.page),function(i,o){o=o||{},C.isOperaMobile&&Ie(i)?Ot("screen",i,o):Ot("client",i,o)}(r,e.client),e.timeStamp=n}function Ht(e){var t=[];return d.array(e)?(t[0]=e[0],t[1]=e[1]):e.type==="touchend"?e.touches.length===1?(t[0]=e.touches[0],t[1]=e.changedTouches[0]):e.touches.length===0&&(t[0]=e.changedTouches[0],t[1]=e.changedTouches[1]):(t[0]=e.touches[0],t[1]=e.touches[1]),t}function ze(e){for(var t={pageX:0,pageY:0,clientX:0,clientY:0,screenX:0,screenY:0},n=0;n<e.length;n++){var r=e[n];for(var i in t)t[i]+=r[i]}for(var o in t)t[o]/=e.length;return t}function qt(e){if(!e.length)return null;var t=Ht(e),n=Math.min(t[0].pageX,t[1].pageX),r=Math.min(t[0].pageY,t[1].pageY),i=Math.max(t[0].pageX,t[1].pageX),o=Math.max(t[0].pageY,t[1].pageY);return{x:n,y:r,left:n,top:r,right:i,bottom:o,width:i-n,height:o-r}}function Kt(e,t){var n=t+"X",r=t+"Y",i=Ht(e),o=i[0][n]-i[1][n],a=i[0][r]-i[1][r];return ct(o,a)}function $t(e,t){var n=t+"X",r=t+"Y",i=Ht(e),o=i[1][n]-i[0][n],a=i[1][r]-i[0][r];return 180*Math.atan2(a,o)/Math.PI}function Ae(e){return d.string(e.pointerType)?e.pointerType:d.number(e.pointerType)?[void 0,void 0,"touch","pen","mouse"][e.pointerType]:/touch/.test(e.type||"")||e instanceof O.Touch?"touch":"mouse"}function Re(e){var t=d.func(e.composedPath)?e.composedPath():e.path;return[Se(t?t[0]:e.target),Se(e.currentTarget)]}var kt=function(){function e(t){k(this,e),this.immediatePropagationStopped=!1,this.propagationStopped=!1,this._interaction=t}return D(e,[{key:"preventDefault",value:function(){}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}}]),e}();Object.defineProperty(kt.prototype,"interaction",{get:function(){return this._interaction._proxy},set:function(){}});var Ce=function(e,t){for(var n=0;n<t.length;n++){var r=t[n];e.push(r)}return e},je=function(e){return Ce([],e)},ut=function(e,t){for(var n=0;n<e.length;n++)if(t(e[n],n,e))return n;return-1},pt=function(e,t){return e[ut(e,t)]},et=function(e){it(n,e);var t=ot(n);function n(r,i,o){var a;k(this,n),(a=t.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=ut(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}(kt);function Fe(e,t){for(var n=0,r=e.slice();n<r.length;n++){var i=r[n],o=i.dropzone,a=i.element;t.dropzone=o,t.target=a,o.fire(t),t.propagationStopped=t.immediatePropagationStopped=!1}}function Jt(e,t){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,v=l.getAllElements();f<v.length;f++){var h=v[f];h!==a&&s.push({dropzone:l,element:h,rect:l.getRect(h)})}}}return s}(e,t),r=0;r<n.length;r++){var i=n[r];i.rect=i.dropzone.getRect(i.element)}return n}function Ye(e,t,n){for(var r=e.dropState,i=e.interactable,o=e.element,a=[],s=0,c=r.activeDrops;s<c.length;s++){var u=c[s],l=u.dropzone,p=u.element,f=u.rect,v=l.dropCheck(t,n,i,o,p,f);a.push(v?p:null)}var h=function(g){for(var y,m,b,T=[],_=0;_<g.length;_++){var w=g[_],S=g[y];if(w&&_!==y)if(S){var M=Vt(w),P=Vt(S);if(M!==w.ownerDocument)if(P!==w.ownerDocument)if(M!==P){T=T.length?T:Te(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=Te(z,S.ownerDocument),B=0;j[B]&&j[B]===T[B];)B++;var Ft=[j[B-1],j[B],T[B]];if(Ft[0])for(var mt=Ft[0].lastChild;mt;){if(mt===Ft[1]){y=_,T=j;break}if(mt===Ft[2])break;mt=mt.previousSibling}}else b=S,(parseInt(F(m=w).getComputedStyle(m).zIndex,10)||0)>=(parseInt(F(b).getComputedStyle(b).zIndex,10)||0)&&(y=_);else y=_}else y=_}return y}(a);return r.activeDrops[h]||null}function Qt(e,t,n){var r=e.dropState,i={enter:null,leave:null,activate:null,deactivate:null,move:null,drop:null};return n.type==="dragstart"&&(i.activate=new et(r,n,"dropactivate"),i.activate.target=null,i.activate.dropzone=null),n.type==="dragend"&&(i.deactivate=new et(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 et(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 et(r,n,"dragenter"),n.dragEnter=r.cur.element,n.dropzone=r.cur.dropzone)),n.type==="dragend"&&r.cur.dropzone&&(i.drop=new et(r,n,"drop"),n.dropzone=r.cur.dropzone,n.relatedTarget=r.cur.element),n.type==="dragmove"&&r.cur.dropzone&&(i.move=new et(r,n,"dropmove"),n.dropzone=r.cur.dropzone)),i}function Zt(e,t){var n=e.dropState,r=n.activeDrops,i=n.cur,o=n.prev;t.leave&&o.dropzone.fire(t.leave),t.enter&&i.dropzone.fire(t.enter),t.move&&i.dropzone.fire(t.move),t.drop&&i.dropzone.fire(t.drop),t.deactivate&&Fe(r,t.deactivate),n.prev.dropzone=i.dropzone,n.prev.element=i.element}function Xe(e,t){var n=e.interaction,r=e.iEvent,i=e.event;if(r.type==="dragmove"||r.type==="dragend"){var o=n.dropState;t.dynamicDrop&&(o.activeDrops=Jt(t,n.element));var a=r,s=Ye(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=Qt(n,0,a)}}var Le={id:"actions/drop",install:function(e){var t=e.actions,n=e.interactStatic,r=e.Interactable,i=e.defaults;e.usePlugin(we),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=$(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,v,h,g,y,m){var b=!1;if(!(m=m||p.getRect(y)))return!!p.options.drop.checker&&p.options.drop.checker(f,v,b,p,y,h,g);var T=p.options.drop.overlap;if(T==="pointer"){var _=st(h,g,"drag"),w=Me(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=h.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,v,b,p,y,h,g)),b}(this,o,a,s,c,u,l)},n.dynamicDrop=function(o){return d.bool(o)?(e.dynamicDrop=o,n):e.dynamicDrop},x(t.phaselessTypes,{dragenter:!0,dragleave:!0,dropactivate:!0,dropdeactivate:!0,dropmove:!0,drop:!0}),t.methodDict.drop="dropzone",e.dynamicDrop=!1,i.actions.drop=Le.defaults},listeners:{"interactions:before-action-start":function(e){var t=e.interaction;t.prepared.name==="drag"&&(t.dropState={cur:{dropzone:null,element:null},prev:{dropzone:null,element:null},rejected:null,events:null,activeDrops:[]})},"interactions:after-action-start":function(e,t){var n=e.interaction,r=(e.event,e.iEvent);if(n.prepared.name==="drag"){var i=n.dropState;i.activeDrops=[],i.events={},i.activeDrops=Jt(t,n.element),i.events=Qt(n,0,r),i.events.activate&&(Fe(i.activeDrops,i.events.activate),t.fire("actions/drop:start",{interaction:n,dragEvent:r}))}},"interactions:action-move":Xe,"interactions:after-action-move":function(e,t){var n=e.interaction,r=e.iEvent;if(n.prepared.name==="drag"){var i=n.dropState;Zt(n,i.events),t.fire("actions/drop:move",{interaction:n,dragEvent:r}),i.events={}}},"interactions:action-end":function(e,t){if(e.interaction.prepared.name==="drag"){var n=e.interaction,r=e.iEvent;Xe(e,t),Zt(n,n.dropState.events),t.fire("actions/drop:end",{interaction:n,dragEvent:r})}},"interactions:stop":function(e){var t=e.interaction;if(t.prepared.name==="drag"){var n=t.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:Jt,getDrop:Ye,getDropEvents:Qt,fireDropEvents:Zt,filterEventType:function(e){return e.search("drag")===0||e.search("drop")===0},defaults:{enabled:!1,accept:null,overlap:"pointer"}},_n=Le;function te(e){var t=e.interaction,n=e.iEvent,r=e.phase;if(t.prepared.name==="gesture"){var i=t.pointers.map(function(u){return u.pointer}),o=r==="start",a=r==="end",s=t.interactable.options.deltaSource;if(n.touches=[i[0],i[1]],o)n.distance=Kt(i,s),n.box=qt(i),n.scale=1,n.ds=0,n.angle=$t(i,s),n.da=0,t.gesture.startDistance=n.distance,t.gesture.startAngle=n.angle;else if(a||t.pointers.length<2){var c=t.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=Kt(i,s),n.box=qt(i),n.scale=n.distance/t.gesture.startDistance,n.angle=$t(i,s),n.ds=n.scale-t.gesture.scale,n.da=n.angle-t.gesture.angle;t.gesture.distance=n.distance,t.gesture.angle=n.angle,d.number(n.scale)&&n.scale!==1/0&&!isNaN(n.scale)&&(t.gesture.scale=n.scale)}}var ee={id:"actions/gesture",before:["actions/drag","actions/resize"],install:function(e){var t=e.actions,n=e.Interactable,r=e.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},t.map.gesture=ee,t.methodDict.gesture="gesturable",r.actions.gesture=ee.defaults},listeners:{"interactions:action-start":te,"interactions:action-move":te,"interactions:action-end":te,"interactions:new":function(e){e.interaction.gesture={angle:0,distance:0,scale:1,startAngle:0,startDistance:0}},"auto-start:check":function(e){if(!(e.interaction.pointers.length<2)){var t=e.interactable.options.gesture;if(t&&t.enabled)return e.action={name:"gesture"},!1}}},defaults:{},getCursor:function(){return""},filterEventType:function(e){return e.search("gesture")===0}},Pn=ee;function On(e,t,n,r,i,o,a){if(!t)return!1;if(t===!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((e==="left"||e==="right"?s:c)/2)),s<0&&(e==="left"?e="right":e==="right"&&(e="left")),c<0&&(e==="top"?e="bottom":e==="bottom"&&(e="top")),e==="left"){var u=s>=0?o.left:o.right;return n.x<u+a}if(e==="top"){var l=c>=0?o.top:o.bottom;return n.y<l+a}if(e==="right")return n.x>(s>=0?o.right:o.left)-a;if(e==="bottom")return n.y>(c>=0?o.bottom:o.top)-a}return!!d.element(r)&&(d.element(t)?t===r:Wt(r,t,i))}function Be(e){var t=e.iEvent,n=e.interaction;if(n.prepared.name==="resize"&&n.resizeAxes){var r=t;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 X,J,L={id:"actions/resize",before:["actions/drag"],install:function(e){var t=e.actions,n=e.browser,r=e.Interactable,i=e.defaults;L.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),L.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,e)},t.map.resize=L,t.methodDict.resize="resizable",i.actions.resize=L.defaults},listeners:{"interactions:new":function(e){e.interaction.resizeAxes="xy"},"interactions:action-start":function(e){(function(t){var n=t.iEvent,r=t.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}})(e),Be(e)},"interactions:action-move":function(e){(function(t){var n=t.iEvent,r=t.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 v=l.top;l.top=l.bottom,l.bottom=v}if(l.left>l.right){var h=l.left;l.left=l.right,l.right=h}}}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}})(e),Be(e)},"interactions:action-end":function(e){var t=e.iEvent,n=e.interaction;if(n.prepared.name==="resize"&&n.prepared.edges){var r=t;r.edges=n.prepared.edges,r.rect=n._rects.corrected,r.deltaRect=n._rects.delta}},"auto-start:check":function(e){var t=e.interaction,n=e.interactable,r=e.element,i=e.rect,o=e.buttons;if(i){var a=x({},t.coords.cur.page),s=n.options.resize;if(s&&s.enabled&&(!t.pointerIsDown||!/mouse|pointer/.test(t.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]=On(u,s.edges[u],a,t._latestPointer.eventTarget,r,i,s.margin||L.defaultMargin);c.left=c.left&&!c.right,c.top=c.top&&!c.bottom,(c.left||c.right||c.top||c.bottom)&&(e.action={name:"resize",edges:c})}else{var l=s.axis!=="y"&&a.x>i.right-L.defaultMargin,p=s.axis!=="x"&&a.y>i.bottom-L.defaultMargin;(l||p)&&(e.action={name:"resize",axes:(l?"x":"")+(p?"y":"")})}return!e.action&&void 0}}}},defaults:{square:!1,preserveAspectRatio:!1,axis:"xy",margin:NaN,edges:null,invert:"none"},cursors:null,getCursor:function(e){var t=e.edges,n=e.axis,r=e.name,i=L.cursors,o=null;if(n)o=i[r+n];else if(t){for(var a="",s=0,c=["top","bottom","left","right"];s<c.length;s++){var u=c[s];t[u]&&(a+=u)}o=i[a]}return o},filterEventType:function(e){return e.search("resize")===0},defaultMargin:null},kn=L,Dn={id:"actions",install:function(e){e.usePlugin(Pn),e.usePlugin(kn),e.usePlugin(we),e.usePlugin(_n)}},Ve=0,W={request:function(e){return X(e)},cancel:function(e){return J(e)},init:function(e){if(X=e.requestAnimationFrame,J=e.cancelAnimationFrame,!X)for(var t=["ms","moz","webkit","o"],n=0;n<t.length;n++){var r=t[n];X=e["".concat(r,"RequestAnimationFrame")],J=e["".concat(r,"CancelAnimationFrame")]||e["".concat(r,"CancelRequestAnimationFrame")]}X=X&&X.bind(e),J=J&&J.bind(e),X||(X=function(i){var o=Date.now(),a=Math.max(0,16-(o-Ve)),s=e.setTimeout(function(){i(o+a)},a);return Ve=o+a,s},J=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(e){E.isScrolling=!0,W.cancel(E.i),e.autoScroll=E,E.interaction=e,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 e=E.interaction,t=e.interactable,n=e.element,r=e.prepared.name,i=t.options[r].autoScroll,o=We(i.container,t,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=Ge(o);d.window(o)?o.scrollBy(u.x,u.y):o&&(o.scrollLeft+=u.x,o.scrollTop+=u.y);var p=Ge(o),f={x:p.x-l.x,y:p.y-l.y};(f.x||f.y)&&t.fire({type:"autoscroll",target:n,interactable:t,delta:f,interaction:e,container:o})}E.prevTime=a}E.isScrolling&&(W.cancel(E.i),E.i=W.request(E.scroll))},check:function(e,t){var n;return(n=e.options[t].autoScroll)==null?void 0:n.enabled},onInteractionMove:function(e){var t=e.interaction,n=e.pointer;if(t.interacting()&&E.check(t.interactable,t.prepared.name))if(t.simulation)E.x=E.y=0;else{var r,i,o,a,s=t.interactable,c=t.element,u=t.prepared.name,l=s.options[u].autoScroll,p=We(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=Gt(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(t))}}};function We(e,t,n){return(d.string(e)?Oe(e,t,n):e)||F(n)}function Ge(e){return d.window(e)&&(e=window.document.body),{x:e.scrollLeft,y:e.scrollTop}}var In={id:"auto-scroll",install:function(e){var t=e.defaults,n=e.actions;e.autoScroll=E,E.now=function(){return e.now()},n.phaselessTypes.autoscroll=!0,t.perAction.autoScroll=E.defaults},listeners:{"interactions:new":function(e){e.interaction.autoScroll=null},"interactions:destroy":function(e){e.interaction.autoScroll=null,E.stop(),E.interaction&&(E.interaction=null)},"interactions:stop":E.stop,"interactions:action-move":function(e){return E.onInteractionMove(e)}}},Mn=In;function ft(e,t){var n=!1;return function(){return n||(q.console.warn(t),n=!0),e.apply(this,arguments)}}function ne(e,t){return e.name=t.name,e.axis=t.axis,e.edges=t.edges,e}function zn(e){return d.bool(e)?(this.options.styleCursor=e,this):e===null?(delete this.options.styleCursor,this):this.options.styleCursor}function An(e){return d.func(e)?(this.options.actionChecker=e,this):e===null?(delete this.options.actionChecker,this):this.options.actionChecker}var Rn={id:"auto-start/interactableMethods",install:function(e){var t=e.Interactable;t.prototype.getAction=function(n,r,i,o){var a=function(s,c,u,l,p){var f=s.getRect(l),v=c.buttons||{0:1,1:4,3:8,4:16}[c.button],h={action:null,interactable:s,interaction:u,element:l,rect:f,buttons:v};return p.fire("auto-start:check",h),h.action}(this,r,i,o,e);return this.options.actionChecker?this.options.actionChecker(n,r,a,this,o,i):a},t.prototype.ignoreFrom=ft(function(n){return this._backCompatOption("ignoreFrom",n)},"Interactable.ignoreFrom() has been deprecated. Use Interactble.draggable({ignoreFrom: newValue})."),t.prototype.allowFrom=ft(function(n){return this._backCompatOption("allowFrom",n)},"Interactable.allowFrom() has been deprecated. Use Interactble.draggable({allowFrom: newValue})."),t.prototype.actionChecker=An,t.prototype.styleCursor=zn}};function Ne(e,t,n,r,i){return t.testIgnoreAllow(t.options[e.name],n,r)&&t.options[e.name].enabled&&Dt(t,n,e,i)?e:null}function Cn(e,t,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(t,n,e,l);if(p){var f=Ne(p,u,l,o,a);if(f)return{action:f,interactable:u,element:l}}}return{action:null,interactable:null,element:null}}function Ue(e,t,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=Cn(e,t,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 He(e,t,n){var r=t.action,i=t.interactable,o=t.element;r=r||{name:null},e.interactable=i,e.element=o,ne(e.prepared,r),e.rect=i&&r.name?i.getRect(o):null,Ke(e,n),n.fire("autoStart:prepared",{interaction:e})}function Dt(e,t,n,r){var i=e.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 v=f[p],h=v.prepared.name;if(v.interacting()&&(++c>=s||v.interactable===e&&((u+=h===n.name?1:0)>=o||v.element===t&&(l++,h===n.name&&l>=a))))return!1}return s>0}function qe(e,t){return d.number(e)?(t.autoStart.maxInteractions=e,this):t.autoStart.maxInteractions}function re(e,t,n){var r=n.autoStart.cursorElement;r&&r!==e&&(r.style.cursor=""),e.ownerDocument.documentElement.style.cursor=t,e.style.cursor=t,n.autoStart.cursorElement=t?e:null}function Ke(e,t){var n=e.interactable,r=e.element,i=e.prepared;if(e.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,e._interacting):t.actions.map[i.name].getCursor(i)}re(e.element,o||"",t)}else t.autoStart.cursorElement&&re(t.autoStart.cursorElement,"",t)}var jn={id:"auto-start/base",before:["actions"],install:function(e){var t=e.interactStatic,n=e.defaults;e.usePlugin(Rn),n.base.actionChecker=null,n.base.styleCursor=!0,x(n.perAction,{manualStart:!1,max:1/0,maxPerElement:1,allowFrom:null,ignoreFrom:null,mouseButtons:1}),t.maxInteractions=function(r){return qe(r,e)},e.autoStart={maxInteractions:1/0,withinInteractionLimit:Dt,cursorElement:null}},listeners:{"interactions:down":function(e,t){var n=e.interaction,r=e.pointer,i=e.event,o=e.eventTarget;n.interacting()||He(n,Ue(n,r,i,o,t),t)},"interactions:move":function(e,t){(function(n,r){var i=n.interaction,o=n.pointer,a=n.event,s=n.eventTarget;i.pointerType!=="mouse"||i.pointerIsDown||i.interacting()||He(i,Ue(i,o,a,s,r),r)})(e,t),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||!Dt(o,i.element,i.prepared,r)?i.stop():(i.start(i.prepared,o,i.element),Ke(i,r)))}}(e,t)},"interactions:stop":function(e,t){var n=e.interaction,r=n.interactable;r&&r.options.styleCursor&&re(n.element,"",t)}},maxInteractions:qe,withinInteractionLimit:Dt,validateAction:Ne},ie=jn,Fn={id:"auto-start/dragAxis",listeners:{"autoStart:before-start":function(e,t){var n=e.interaction,r=e.eventTarget,i=e.dx,o=e.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(h){if(h!==n.interactable){var g=n.interactable.options.drag;if(!g.manualStart&&h.testIgnoreAllow(g,p,r)){var y=h.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,h)&&ie.validateAction(y,h,p,r,t))return h}}};d.element(p);){var v=t.interactables.forEachMatch(p,f);if(v){n.prepared.name="drag",n.interactable=v,n.element=p;break}p=Y(p)}}}}}};function oe(e){var t=e.prepared&&e.prepared.name;if(!t)return null;var n=e.interactable.options;return n[t].hold||n[t].delay}var Yn={id:"auto-start/hold",install:function(e){var t=e.defaults;e.usePlugin(ie),t.perAction.hold=0,t.perAction.delay=0},listeners:{"interactions:new":function(e){e.interaction.autoStartHoldTimer=null},"autoStart:prepared":function(e){var t=e.interaction,n=oe(t);n>0&&(t.autoStartHoldTimer=setTimeout(function(){t.start(t.prepared,t.interactable,t.element)},n))},"interactions:move":function(e){var t=e.interaction,n=e.duplicate;t.autoStartHoldTimer&&t.pointerWasMoved&&!n&&(clearTimeout(t.autoStartHoldTimer),t.autoStartHoldTimer=null)},"autoStart:before-start":function(e){var t=e.interaction;oe(t)>0&&(t.prepared.name=null)}},getHoldDuration:oe},Xn=Yn,Ln={id:"auto-start",install:function(e){e.usePlugin(ie),e.usePlugin(Xn),e.usePlugin(Fn)}},Bn=function(e){return/^(always|never|auto)$/.test(e)?(this.options.preventDefault=e,this):d.bool(e)?(this.options.preventDefault=e?"always":"never",this):this.options.preventDefault};function Vn(e){var t=e.interaction,n=e.event;t.interactable&&t.interactable.checkAndPreventDefault(n)}var $e={id:"core/interactablePreventDefault",install:function(e){var t=e.Interactable;t.prototype.preventDefault=Bn,t.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=F(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,e,n)},e.interactions.docEvents.push({type:"dragstart",listener:function(n){for(var r=0,i=e.interactions.list;r<i.length;r++){var o=i[r];if(o.element&&(o.element===n.target||K(o.element,n.target)))return void o.interactable.checkAndPreventDefault(n)}}})},listeners:["down","move","up","cancel"].reduce(function(e,t){return e["interactions:".concat(t)]=Vn,e},{})};function It(e,t){if(t.phaselessTypes[e])return!0;for(var n in t.map)if(e.indexOf(n)===0&&e.substr(n.length)in t.phases)return!0;return!1}function nt(e){var t={};for(var n in e){var r=e[n];d.plainObject(r)?t[n]=nt(r):d.array(r)?t[n]=je(r):t[n]=r}return t}var ae=function(){function e(t){k(this,e),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=t,this.result=Mt(),this.edges={left:!1,right:!1,top:!1,bottom:!1}}return D(e,[{key:"start",value:function(t,n){var r,i,o=t.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 v=l[f];return v&&v.enabled&&{options:v,methods:v._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=Mt(),this.startAll(c),this.result=this.setAll(c)}},{key:"fillArg",value:function(t){var n=this.interaction;return t.interaction=n,t.interactable=n.interactable,t.element=n.element,t.rect||(t.rect=n.rect),t.edges||(t.edges=this.startEdges),t.startOffset=this.startOffset,t}},{key:"startAll",value:function(t){for(var n=0,r=this.states;n<r.length;n++){var i=r[n];i.methods.start&&(t.state=i,i.methods.start(t))}}},{key:"setAll",value:function(t){var n=t.phase,r=t.preEnd,i=t.skipModifiers,o=t.rect,a=t.edges;t.coords=x({},t.pageCoords),t.rect=x({},o),t.edges=x({},a);for(var s=i?this.states.slice(i):this.states,c=Mt(t.coords,t.rect),u=0;u<s.length;u++){var l,p=s[u],f=p.options,v=x({},t.coords),h=null;(l=p.methods)!=null&&l.set&&this.shouldDo(f,r,n)&&(t.state=p,h=p.methods.set(t),St(t.edges,t.rect,{x:t.coords.x-v.x,y:t.coords.y-v.y})),c.eventProps.push(h)}x(this.edges,t.edges),c.delta.x=t.coords.x-t.pageCoords.x,c.delta.y=t.coords.y-t.pageCoords.y,c.rectDelta.left=t.rect.left-o.left,c.rectDelta.right=t.rect.right-o.right,c.rectDelta.top=t.rect.top-o.top,c.rectDelta.bottom=t.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(t){var n=this.interaction,r=t.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],v=p[1];f.page.x+=v.x,f.page.y+=v.y,f.client.x+=v.x,f.client.y+=v.y}var h=this.result.rectDelta,g=t.rect||n.rect;g.left+=h.left,g.right+=h.right,g.top+=h.top,g.bottom+=h.bottom,g.width=g.right-g.left,g.height=g.bottom-g.top}},{key:"setAndApply",value:function(t){var n=this.interaction,r=t.phase,i=t.preEnd,o=t.skipModifiers,a=this.setAll(this.fillArg({preEnd:i,phase:r,pageCoords:t.modifiedCoords||n.coords.cur.page}));if(this.result=a,!a.changed&&(!o||o<this.states.length)&&n.interacting())return!1;if(t.modifiedCoords){var s=n.coords.cur.page,c={x:t.modifiedCoords.x-s.x,y:t.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(t)}},{key:"beforeEnd",value:function(t){var n=t.interaction,r=t.event,i=this.states;if(i&&i.length){for(var o=!1,a=0;a<i.length;a++){var s=i[a];t.state=s;var c=s.options,u=s.methods,l=u.beforeEnd&&u.beforeEnd(t);if(l)return this.endResult=l,!1;o=o||!o&&this.shouldDo(c,!0,t.phase,!0)}o&&n.move({event:r,preEnd:!0})}}},{key:"stop",value:function(t){var n=t.interaction;if(this.states&&this.states.length){var r=x({states:this.states,interactable:n.interactable,element:n.element,rect:null},t);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(t){this.states=[];for(var n=0;n<t.length;n++){var r=t[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(t){var n=t.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],v=f[0],h=f[1];v.page.x-=h.x,v.page.y-=h.y,v.client.x-=h.x,v.client.y-=h.y}i.left-=u.left,i.right-=u.right,i.top-=u.top,i.bottom-=u.bottom}}},{key:"shouldDo",value:function(t,n,r,i){return!(!t||t.enabled===!1||i&&!t.endOnly||t.endOnly&&!n||r==="start"&&!t.setStart)}},{key:"copyFrom",value:function(t){this.startOffset=t.startOffset,this.startDelta=t.startDelta,this.startEdges=t.startEdges,this.edges=t.edges,this.states=t.states.map(function(n){return nt(n)}),this.result=Mt(x({},t.result.coords),x({},t.result.rect))}},{key:"destroy",value:function(){for(var t in this)this[t]=null}}]),e}();function Mt(e,t){return{rect:t,coords:e,delta:{x:0,y:0},rectDelta:{left:0,right:0,top:0,bottom:0},eventProps:[],changed:!0}}function G(e,t){var n=e.defaults,r={start:e.start,set:e.set,beforeEnd:e.beforeEnd,stop:e.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:t,enable:function(){return a.enabled=!0,c},disable:function(){return a.enabled=!1,c}};return c};return t&&typeof t=="string"&&(i._defaults=n,i._methods=r),i}function dt(e){var t=e.iEvent,n=e.interaction.modification.result;n&&(t.modifiers=n.eventProps)}var Wn={id:"modifiers/base",before:["actions"],install:function(e){e.defaults.perAction.modifiers=[]},listeners:{"interactions:new":function(e){var t=e.interaction;t.modification=new ae(t)},"interactions:before-action-start":function(e){var t=e.interaction,n=e.interaction.modification;n.start(e,t.coords.start.page),t.edges=n.edges,n.applyToInteraction(e)},"interactions:before-action-move":function(e){var t=e.interaction,n=t.modification,r=n.setAndApply(e);return t.edges=n.edges,r},"interactions:before-action-end":function(e){var t=e.interaction,n=t.modification,r=n.beforeEnd(e);return t.edges=n.startEdges,r},"interactions:action-start":dt,"interactions:action-move":dt,"interactions:action-end":dt,"interactions:after-action-start":function(e){return e.interaction.modification.restoreInteractionCoords(e)},"interactions:after-action-move":function(e){return e.interaction.modification.restoreInteractionCoords(e)},"interactions:stop":function(e){return e.interaction.modification.stop(e)}}},Je=Wn,Qe={base:{preventDefault:"auto",deltaSource:"page"},perAction:{enabled:!1,origin:{x:0,y:0}},actions:{}},se=function(e){it(n,e);var t=ot(n);function n(r,i,o,a,s,c,u){var l;k(this,n),(l=t.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||Qe).deltaSource,v=st(p,s,o),h=a==="start",g=a==="end",y=h?bt(l):r.prevEvent,m=h?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-=v.x,l.page.y-=v.y,l.client.x-=v.x,l.client.y-=v.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=h?r.pointers[r.pointers.length-1].downTime:y.t0,l.x0=r.coords.start.page.x-v.x,l.y0=r.coords.start.page.y-v.y,l.clientX0=r.coords.start.client.x-v.x,l.clientY0=r.coords.start.client.y-v.y,l.delta=h||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=ct(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}(kt);Object.defineProperties(se.prototype,{pageX:{get:function(){return this.page.x},set:function(e){this.page.x=e}},pageY:{get:function(){return this.page.y},set:function(e){this.page.y=e}},clientX:{get:function(){return this.client.x},set:function(e){this.client.x=e}},clientY:{get:function(){return this.client.y},set:function(e){this.client.y=e}},dx:{get:function(){return this.delta.x},set:function(e){this.delta.x=e}},dy:{get:function(){return this.delta.y},set:function(e){this.delta.y=e}},velocityX:{get:function(){return this.velocity.x},set:function(e){this.velocity.x=e}},velocityY:{get:function(){return this.velocity.y},set:function(e){this.velocity.y=e}}});var Gn=D(function e(t,n,r,i,o){k(this,e),this.id=void 0,this.pointer=void 0,this.event=void 0,this.downTime=void 0,this.downTarget=void 0,this.id=t,this.pointer=n,this.event=r,this.downTime=i,this.downTarget=o}),Nn=function(e){return e.interactable="",e.element="",e.prepared="",e.pointerIsDown="",e.pointerWasMoved="",e._proxy="",e}({}),Ze=function(e){return e.start="",e.move="",e.end="",e.stop="",e.interacting="",e}({}),Un=0,Hn=function(){function e(t){var n=this,r=t.pointerType,i=t.scopeFire;k(this,e),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=ft(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=Un++,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 Nn)a(s);var c=function(l){Object.defineProperty(n._proxy,l,{value:function(){return o[l].apply(o,arguments)}})};for(var u in Ze)c(u);this._scopeFire("interactions:new",{interaction:this})}return D(e,[{key:"pointerMoveTolerance",get:function(){return 1}},{key:"pointerDown",value:function(t,n,r){var i=this.updatePointer(t,n,r,!0),o=this.pointers[i];this._scopeFire("interactions:down",{pointer:t,event:n,eventTarget:r,pointerIndex:i,pointerInfo:o,type:"down",interaction:this})}},{key:"start",value:function(t,n,r){return!(this.interacting()||!this.pointerIsDown||this.pointers.length<(t.name==="gesture"?2:1)||!n.options[t.name].enabled)&&(ne(this.prepared,t),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(t,n,r){this.simulation||this.modification&&this.modification.endResult||this.updatePointer(t,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=ct(i,o)>this.pointerMoveTolerance);var s,c,u,l=this.getPointerIndex(t),p={pointer:t,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&&Pt(this.coords.prev,this.coords.cur))}},{key:"move",value:function(t){t&&t.event||De(this.coords.delta),(t=x({pointer:this._latestPointer.pointer,event:this._latestPointer.event,eventTarget:this._latestPointer.eventTarget,interaction:this},t||{})).phase="move",this._doPhase(t)}},{key:"pointerUp",value:function(t,n,r,i){var o=this.getPointerIndex(t);o===-1&&(o=this.updatePointer(t,n,r,!1));var a=/cancel$/i.test(n.type)?"cancel":"up";this._scopeFire("interactions:".concat(a),{pointer:t,pointerIndex:o,pointerInfo:this.pointers[o],event:n,eventTarget:r,type:a,curEventTarget:i,interaction:this}),this.simulation||this.end(n),this.removePointer(t,n)}},{key:"documentBlur",value:function(t){this.end(t),this._scopeFire("interactions:blur",{event:t,type:"blur",interaction:this})}},{key:"end",value:function(t){var n;this._ending=!0,t=t||this._latestPointer.event,this.interacting()&&(n=this._doPhase({event:t,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(t){var n=lt(t);return this.pointerType==="mouse"||this.pointerType==="pen"?this.pointers.length-1:ut(this.pointers,function(r){return r.id===n})}},{key:"getPointerInfo",value:function(t){return this.pointers[this.getPointerIndex(t)]}},{key:"updatePointer",value:function(t,n,r,i){var o,a,s,c=lt(t),u=this.getPointerIndex(t),l=this.pointers[u];return i=i!==!1&&(i||/(down|start)$/i.test(n.type)),l?l.pointer=t:(l=new Gn(c,t,n,null,null),u=this.pointers.length,this.pointers.push(l)),Sn(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,_t(this.downPointer,t),this.interacting()||(Pt(this.coords.start,this.coords.cur),Pt(this.coords.prev,this.coords.cur),this.downEvent=n,this.pointerWasMoved=!1)),this._updateLatestPointer(t,n,r),this._scopeFire("interactions:update-pointer",{pointer:t,event:n,eventTarget:r,down:i,pointerInfo:l,pointerIndex:u,interaction:this}),u}},{key:"removePointer",value:function(t,n){var r=this.getPointerIndex(t);if(r!==-1){var i=this.pointers[r];this._scopeFire("interactions:remove-pointer",{pointer:t,event:n,eventTarget:null,pointerIndex:r,pointerInfo:i,interaction:this}),this.pointers.splice(r,1),this.pointerIsDown=!1}}},{key:"_updateLatestPointer",value:function(t,n,r){this._latestPointer.pointer=t,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(t,n,r,i){return new se(this,t,this.prepared.name,n,this.element,r,i)}},{key:"_fireEvent",value:function(t){var n;(n=this.interactable)==null||n.fire(t),(!this.prevEvent||t.timeStamp>=this.prevEvent.timeStamp)&&(this.prevEvent=t)}},{key:"_doPhase",value:function(t){var n=t.event,r=t.phase,i=t.preEnd,o=t.type,a=this.rect;if(a&&r==="move"&&(St(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),t)===!1)return!1;var s=t.iEvent=this._createPreparedEvent(n,r,i,o);return this._scopeFire("interactions:action-".concat(r),t),r==="start"&&(this.prevEvent=s),this._fireEvent(s),this._scopeFire("interactions:after-action-".concat(r),t),!0}},{key:"_now",value:function(){return Date.now()}}]),e}();function tn(e){en(e.interaction)}function en(e){if(!function(n){return!(!n.offset.pending.x&&!n.offset.pending.y)}(e))return!1;var t=e.offset.pending;return ce(e.coords.cur,t),ce(e.coords.delta,t),St(e.edges,e.rect,t),t.x=0,t.y=0,!0}function qn(e){var t=e.x,n=e.y;this.offset.pending.x+=t,this.offset.pending.y+=n,this.offset.total.x+=t,this.offset.total.y+=n}function ce(e,t){var n=e.page,r=e.client,i=t.x,o=t.y;n.x+=i,n.y+=o,r.x+=i,r.y+=o}Ze.offsetBy="";var Kn={id:"offset",before:["modifiers","pointer-events","actions","inertia"],install:function(e){e.Interaction.prototype.offsetBy=qn},listeners:{"interactions:new":function(e){e.interaction.offset={total:{x:0,y:0},pending:{x:0,y:0}}},"interactions:update-pointer":function(e){return function(t){t.pointerIsDown&&(ce(t.coords.cur,t.offset.total),t.offset.pending.x=0,t.offset.pending.y=0)}(e.interaction)},"interactions:before-action-start":tn,"interactions:before-action-move":tn,"interactions:before-action-end":function(e){var t=e.interaction;if(en(t))return t.move({offset:!0}),t.end(),!1},"interactions:stop":function(e){var t=e.interaction;t.offset.total.x=0,t.offset.total.y=0,t.offset.pending.x=0,t.offset.pending.y=0}}},nn=Kn,$n=function(){function e(t){k(this,e),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=t}return D(e,[{key:"start",value:function(t){var n=this.interaction,r=zt(n);if(!r||!r.enabled)return!1;var i=n.coords.velocity.client,o=ct(i.x,i.y),a=this.modification||(this.modification=new ae(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:t,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 t=this,n=this.interaction.coords.velocity.client,r=zt(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 t.inertiaTick()})}},{key:"startSmoothEnd",value:function(){var t=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 t.smoothEndTick()})}},{key:"onNextFrame",value:function(t){var n=this;this.timeout=W.request(function(){n.active&&t()})}},{key:"inertiaTick",value:function(){var t,n,r,i,o,a,s,c=this,u=this.interaction,l=zt(u).resistance,p=(u._now()-this.t0)/1e3;if(p<this.te){var f,v=1-(Math.exp(-l*p)-this.lambda_v0)/this.one_ve_v0;this.isModified?(t=0,n=0,r=this.targetOffset.x,i=this.targetOffset.y,o=this.modifiedOffset.x,a=this.modifiedOffset.y,f={x:rn(s=v,t,r,o),y:rn(s,n,i,a)}):f={x:this.targetOffset.x*v,y:this.targetOffset.y*v};var h={x:f.x-this.currentOffset.x,y:f.y-this.currentOffset.y};this.currentOffset.x+=h.x,this.currentOffset.y+=h.y,u.offsetBy(h),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 t=this,n=this.interaction,r=n._now()-this.t0,i=zt(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 t.smoothEndTick()})}else n.offsetBy({x:this.targetOffset.x-this.currentOffset.x,y:this.targetOffset.y-this.currentOffset.y}),this.end()}},{key:"resume",value:function(t){var n=t.pointer,r=t.event,i=t.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"}),Pt(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)}}]),e}();function zt(e){var t=e.interactable,n=e.prepared;return t&&t.options&&n.name&&t.options[n.name].inertia}var Jn={id:"inertia",before:["modifiers","actions"],install:function(e){var t=e.defaults;e.usePlugin(nn),e.usePlugin(Je),e.actions.phases.inertiastart=!0,e.actions.phases.resume=!0,t.perAction.inertia={enabled:!1,resistance:10,minSpeed:100,endSpeed:10,allowResume:!0,smoothEndDuration:300}},listeners:{"interactions:new":function(e){var t=e.interaction;t.inertia=new $n(t)},"interactions:before-action-end":function(e){var t=e.interaction,n=e.event;return(!t._interacting||t.simulation||!t.inertia.start(n))&&null},"interactions:down":function(e){var t=e.interaction,n=e.eventTarget,r=t.inertia;if(r.active)for(var i=n;d.element(i);){if(i===t.element){r.resume(e);break}i=Y(i)}},"interactions:stop":function(e){var t=e.interaction.inertia;t.active&&t.stop()},"interactions:before-action-resume":function(e){var t=e.interaction.modification;t.stop(e),t.start(e,e.interaction.coords.cur.page),t.applyToInteraction(e)},"interactions:before-action-inertiastart":function(e){return e.interaction.modification.setAndApply(e)},"interactions:action-resume":dt,"interactions:action-inertiastart":dt,"interactions:after-action-inertiastart":function(e){return e.interaction.modification.restoreInteractionCoords(e)},"interactions:after-action-resume":function(e){return e.interaction.modification.restoreInteractionCoords(e)}}};function rn(e,t,n,r){var i=1-e;return i*i*t+2*i*e*n+e*e*r}function on(e,t,n,r){return-n*(e/=r)*(e-2)+t}var Qn=Jn;function an(e,t){for(var n=0;n<t.length;n++){var r=t[n];if(e.immediatePropagationStopped)break;r(e)}}var sn=function(){function e(t){k(this,e),this.options=void 0,this.types={},this.propagationStopped=!1,this.immediatePropagationStopped=!1,this.global=void 0,this.options=x({},t||{})}return D(e,[{key:"fire",value:function(t){var n,r=this.global;(n=this.types[t.type])&&an(t,n),!t.propagationStopped&&r&&(n=r[t.type])&&an(t,n)}},{key:"on",value:function(t,n){var r=$(t,n);for(t in r)this.types[t]=Ce(this.types[t]||[],r[t])}},{key:"off",value:function(t,n){var r=$(t,n);for(t in r){var i=this.types[t];if(i&&i.length)for(var o=0,a=r[t];o<a.length;o++){var s=a[o],c=i.indexOf(s);c!==-1&&i.splice(c,1)}}}},{key:"getRect",value:function(t){return null}}]),e}(),Zn=function(){function e(t){k(this,e),this.currentTarget=void 0,this.originalEvent=void 0,this.type=void 0,this.originalEvent=t,_t(this,t)}return D(e,[{key:"preventOriginalDefault",value:function(){this.originalEvent.preventDefault()}},{key:"stopPropagation",value:function(){this.originalEvent.stopPropagation()}},{key:"stopImmediatePropagation",value:function(){this.originalEvent.stopImmediatePropagation()}}]),e}();function ht(e){return d.object(e)?{capture:!!e.capture,passive:!!e.passive}:{capture:!!e,passive:!1}}function At(e,t){return e===t||(typeof e=="boolean"?!!t.capture===e&&!t.passive:!!e.capture==!!t.capture&&!!e.passive==!!t.passive)}var tr={id:"events",install:function(e){var t,n=[],r={},i=[],o={add:a,remove:s,addDelegate:function(l,p,f,v,h){var g=ht(h);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=pt(b,function(_){return _.selector===l&&_.context===p});T||(T={selector:l,context:p,listeners:[]},b.push(T)),T.listeners.push({func:v,options:g})},removeDelegate:function(l,p,f,v,h){var g,y=ht(h),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===v&&At(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,v){if(l.addEventListener){var h=ht(v),g=pt(n,function(y){return y.eventTarget===l});g||(g={eventTarget:l,events:{}},n.push(g)),g.events[p]||(g.events[p]=[]),pt(g.events[p],function(y){return y.func===f&&At(y.options,h)})||(l.addEventListener(p,f,o.supportsOptions?h:h.capture),g.events[p].push({func:f,options:h}))}}function s(l,p,f,v){if(l.addEventListener&&l.removeEventListener){var h=ut(n,function(M){return M.eventTarget===l}),g=n[h];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 _=ht(v),w=0;w<m.length;w++){var S=m[w];if(S.func===f&&At(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(h,1)}else for(p in g.events)g.events.hasOwnProperty(p)&&s(l,p,"all")}}function c(l,p){for(var f=ht(p),v=new Zn(l),h=r[l.type],g=Re(l)[0],y=g;d.element(y);){for(var m=0;m<h.length;m++){var b=h[m],T=b.selector,_=b.context;if(V(y,T)&&K(_,g)&&K(_,y)){var w=b.listeners;v.currentTarget=y;for(var S=0;S<w.length;S++){var M=w[S];At(M.options,f)&&M.func(v)}}}y=Y(y)}}function u(l){return c(l,!0)}return(t=e.document)==null||t.createElement("div").addEventListener("test",null,{get capture(){return o.supportsOptions=!0},get passive(){return o.supportsPassive=!0}}),e.events=o,o}},le={methodOrder:["simulationResume","mouseOrPen","hasPointer","idle"],search:function(e){for(var t=0,n=le.methodOrder;t<n.length;t++){var r=n[t],i=le[r](e);if(i)return i}return null},simulationResume:function(e){var t=e.pointerType,n=e.eventType,r=e.eventTarget,i=e.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===t)for(;c;){if(c===s.element)return s;c=Y(c)}}return null},mouseOrPen:function(e){var t,n=e.pointerId,r=e.pointerType,i=e.eventType,o=e.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;t||(t=c)}}if(t)return t;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(e){for(var t=e.pointerId,n=0,r=e.scope.interactions.list;n<r.length;n++){var i=r[n];if(cn(i,t))return i}return null},idle:function(e){for(var t=e.pointerType,n=0,r=e.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()&&t===i.pointerType)return i}return null}};function cn(e,t){return e.pointers.some(function(n){return n.id===t})}var er=le,ue=["pointerDown","pointerMove","pointerUp","updatePointer","removePointer","windowBlur"];function ln(e,t){return function(n){var r=t.interactions.list,i=Ae(n),o=Re(n),a=o[0],s=o[1],c=[];if(/^touch/.test(n.type)){t.prevTouchTime=t.now();for(var u=0,l=n.changedTouches;u<l.length;u++){var p=l[u],f={pointer:p,pointerId:lt(p),pointerType:i,eventType:n.type,eventTarget:a,curEventTarget:s,scope:t},v=un(f);c.push([f.pointer,f.eventTarget,f.curEventTarget,v])}}else{var h=!1;if(!C.supportsPointerEvent&&/mouse/.test(n.type)){for(var g=0;g<r.length&&!h;g++)h=r[g].pointerType!=="mouse"&&r[g].pointerIsDown;h=h||t.now()-t.prevTouchTime<500||n.timeStamp===0}if(!h){var y={pointer:n,pointerId:lt(n),pointerType:i,eventType:n.type,curEventTarget:s,eventTarget:a,scope:t},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][e](_,n,w,S)}}}function un(e){var t=e.pointerType,n=e.scope,r={interaction:er.search(e),searchDetails:e};return n.fire("interactions:find",r),r.interaction||n.interactions.new({pointerType:t})}function pe(e,t){var n=e.doc,r=e.scope,i=e.options,o=r.interactions.docEvents,a=r.events,s=a[t];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 nr={id:"core/interactions",install:function(e){for(var t={},n=0;n<ue.length;n++){var r=ue[n];t[r]=ln(r,e)}var i,o=C.pEventTypes;function a(){for(var s=0,c=e.interactions.list;s<c.length;s++){var u=c[s];if(u.pointerIsDown&&u.pointerType==="touch"&&!u._interacting)for(var l=function(){var v=f[p];e.documents.some(function(h){return K(h.doc,v.downTarget)})||u.removePointer(v.pointer,v.event)},p=0,f=u.pointers;p<f.length;p++)l()}}(i=O.PointerEvent?[{type:o.down,listener:a},{type:o.down,listener:t.pointerDown},{type:o.move,listener:t.pointerMove},{type:o.up,listener:t.pointerUp},{type:o.cancel,listener:t.pointerUp}]:[{type:"mousedown",listener:t.pointerDown},{type:"mousemove",listener:t.pointerMove},{type:"mouseup",listener:t.pointerUp},{type:"touchstart",listener:a},{type:"touchstart",listener:t.pointerDown},{type:"touchmove",listener:t.pointerMove},{type:"touchend",listener:t.pointerUp},{type:"touchcancel",listener:t.pointerUp}]).push({type:"blur",listener:function(s){for(var c=0,u=e.interactions.list;c<u.length;c++)u[c].documentBlur(s)}}),e.prevTouchTime=0,e.Interaction=function(s){it(u,s);var c=ot(u);function u(){return k(this,u),c.apply(this,arguments)}return D(u,[{key:"pointerMoveTolerance",get:function(){return e.interactions.pointerMoveTolerance},set:function(l){e.interactions.pointerMoveTolerance=l}},{key:"_now",value:function(){return e.now()}}]),u}(Hn),e.interactions={list:[],new:function(s){s.scopeFire=function(u,l){return e.fire(u,l)};var c=new e.Interaction(s);return e.interactions.list.push(c),c},listeners:t,docEvents:i,pointerMoveTolerance:1},e.usePlugin($e)},listeners:{"scope:add-document":function(e){return pe(e,"add")},"scope:remove-document":function(e){return pe(e,"remove")},"interactable:unset":function(e,t){for(var n=e.interactable,r=t.interactions.list.length-1;r>=0;r--){var i=t.interactions.list[r];i.interactable===n&&(i.stop(),t.fire("interactions:destroy",{interaction:i}),i.destroy(),t.interactions.list.length>2&&t.interactions.list.splice(r,1))}}},onDocSignal:pe,doOnInteractions:ln,methodNames:ue},rr=nr,N=function(e){return e[e.On=0]="On",e[e.Off=1]="Off",e}(N||{}),ir=function(){function e(t,n,r,i){k(this,e),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=t,this._context=n.context||r,this._win=F(Pe(t)?this._context:t),this._doc=this._win.document,this._scopeEvents=i,this.set(n)}return D(e,[{key:"_defaults",get:function(){return{base:{},perAction:{},actions:{}}}},{key:"setOnEvents",value:function(t,n){return d.func(n.onstart)&&this.on("".concat(t,"start"),n.onstart),d.func(n.onmove)&&this.on("".concat(t,"move"),n.onmove),d.func(n.onend)&&this.on("".concat(t,"end"),n.onend),d.func(n.oninertiastart)&&this.on("".concat(t,"inertiastart"),n.oninertiastart),this}},{key:"updatePerActionListeners",value:function(t,n,r){var i,o=this,a=(i=this._actions.map[t])==null?void 0:i.filterEventType,s=function(c){return(a==null||a(c))&&It(c,o._actions)};(d.array(n)||d.object(n))&&this._onOff(N.Off,t,n,void 0,s),(d.array(r)||d.object(r))&&this._onOff(N.On,t,r,void 0,s)}},{key:"setPerAction",value:function(t,n){var r=this._defaults;for(var i in n){var o=i,a=this.options[t],s=n[o];o==="listeners"&&this.updatePerActionListeners(t,a.listeners,s),d.array(s)?a[o]=je(s):d.plainObject(s)?(a[o]=x(a[o]||{},nt(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(t){return t=t||(d.element(this.target)?this.target:null),d.string(this.target)&&(t=t||this._context.querySelector(this.target)),Nt(t)}},{key:"rectChecker",value:function(t){var n=this;return d.func(t)?(this.getRect=function(r){var i=x({},t.apply(n,r));return"width"in i||(i.width=i.right-i.left,i.height=i.bottom-i.top),i},this):t===null?(delete this.getRect,this):this.getRect}},{key:"_backCompatOption",value:function(t,n){if(Pe(n)||d.object(n)){for(var r in this.options[t]=n,this._actions.map)this.options[r][t]=n;return this}return this.options[t]}},{key:"origin",value:function(t){return this._backCompatOption("origin",t)}},{key:"deltaSource",value:function(t){return t==="page"||t==="client"?(this.options.deltaSource=t,this):this.options.deltaSource}},{key:"getAllElements",value:function(){var t=this.target;return d.string(t)?Array.from(this._context.querySelectorAll(t)):d.func(t)&&t.getAllElements?t.getAllElements():d.element(t)?[t]:[]}},{key:"context",value:function(){return this._context}},{key:"inContext",value:function(t){return this._context===t.ownerDocument||K(this._context,t)}},{key:"testIgnoreAllow",value:function(t,n,r){return!this.testIgnore(t.ignoreFrom,n,r)&&this.testAllow(t.allowFrom,n,r)}},{key:"testAllow",value:function(t,n,r){return!t||!!d.element(r)&&(d.string(t)?Wt(r,t,n):!!d.element(t)&&K(t,r))}},{key:"testIgnore",value:function(t,n,r){return!(!t||!d.element(r))&&(d.string(t)?Wt(r,t,n):!!d.element(t)&&K(t,r))}},{key:"fire",value:function(t){return this.events.fire(t),this}},{key:"_onOff",value:function(t,n,r,i,o){d.object(n)&&!d.array(n)&&(i=r,r=null);var a=$(n,r,o);for(var s in a){s==="wheel"&&(s=C.wheelEvent);for(var c=0,u=a[s];c<u.length;c++){var l=u[c];It(s,this._actions)?this.events[t===N.On?"on":"off"](s,l):d.string(this.target)?this._scopeEvents[t===N.On?"addDelegate":"removeDelegate"](this.target,this._context,s,l,i):this._scopeEvents[t===N.On?"add":"remove"](this.target,s,l,i)}}return this}},{key:"on",value:function(t,n,r){return this._onOff(N.On,t,n,r)}},{key:"off",value:function(t,n,r){return this._onOff(N.Off,t,n,r)}},{key:"set",value:function(t){var n=this._defaults;for(var r in d.object(t)||(t={}),this.options=nt(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](t[i])}for(var a in t)a!=="getRect"?d.func(this[a])&&this[a](t[a]):this.rectChecker(t.getRect);return this}},{key:"unset",value:function(){if(d.string(this.target))for(var t in this._scopeEvents.delegatedEvents)for(var n=this._scopeEvents.delegatedEvents[t],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,t,s[c][0],s[c][1])}else this._scopeEvents.remove(this.target,"all")}}]),e}(),or=function(){function e(t){var n=this;k(this,e),this.list=[],this.selectorMap={},this.scope=void 0,this.scope=t,t.addListeners({"interactable:unset":function(r){var i=r.interactable,o=i.target,a=d.string(o)?n.selectorMap[o]:o[n.scope.id],s=ut(a,function(c){return c===i});a.splice(s,1)}})}return D(e,[{key:"new",value:function(t,n){n=x(n||{},{actions:this.scope.actions});var r=new this.scope.Interactable(t,n,this.scope.document,this.scope.events);return this.scope.addDocument(r._doc),this.list.push(r),d.string(t)?(this.selectorMap[t]||(this.selectorMap[t]=[]),this.selectorMap[t].push(r)):(r.target[this.scope.id]||Object.defineProperty(t,this.scope.id,{value:[],configurable:!0}),t[this.scope.id].push(r)),this.scope.fire("interactable:new",{target:t,options:n,interactable:r,win:this.scope._win}),r}},{key:"getExisting",value:function(t,n){var r=n&&n.context||this.scope.document,i=d.string(t),o=i?this.selectorMap[t]:t[this.scope.id];if(o)return pt(o,function(a){return a._context===r&&(i||a.inContext(t))})}},{key:"forEachMatch",value:function(t,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(t)&&V(t,o.target):t===o.target)&&o.inContext(t)&&(a=n(o)),a!==void 0)return a}}}]),e}(),ar=function(){function e(){var t=this;k(this,e),this.id="__interact_scope_".concat(Math.floor(100*Math.random())),this.isInitialized=!1,this.listenerMaps=[],this.browser=C,this.defaults=nt(Qe),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=ze,i.getTouchBBox=qt,i.getTouchDistance=Kt,i.getTouchAngle=$t,i.getElementRect=Nt,i.getElementClientRect=Gt,i.matchesSelector=V,i.closest=Ee,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=ft(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 It(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=ft(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 It(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 C.supportsTouch},i.supportsPointerEvent=function(){return C.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=se,this.Interactable=void 0,this.interactables=new or(this),this._win=void 0,this.document=void 0,this.window=void 0,this.documents=[],this._plugins={list:[],map:{}},this.onWindowUnload=function(r){return t.removeDocument(r.target)};var n=this;this.Interactable=function(r){it(o,r);var i=ot(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 xt(H(o.prototype),"set",this).call(this,a),n.fire("interactable:set",{options:a,interactable:this}),this}},{key:"unset",value:function(){xt(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}(ir)}return D(e,[{key:"addListeners",value:function(t,n){this.listenerMaps.push({id:n,map:t})}},{key:"fire",value:function(t,n){for(var r=0,i=this.listenerMaps;r<i.length;r++){var o=i[r].map[t];if(o&&o(n,this,t)===!1)return!1}}},{key:"init",value:function(t){return this.isInitialized?this:function(n,r){return n.isInitialized=!0,d.window(r)&&ye(r),O.init(r),C.init(r),W.init(r),n.window=r,n.document=r.document,n.usePlugin(rr),n.usePlugin(tr),n}(this,t)}},{key:"pluginIsInstalled",value:function(t){var n=t.id;return n?!!this._plugins.map[n]:this._plugins.list.indexOf(t)!==-1}},{key:"usePlugin",value:function(t,n){if(!this.isInitialized)return this;if(this.pluginIsInstalled(t))return this;if(t.id&&(this._plugins.map[t.id]=t),this._plugins.list.push(t),t.install&&t.install(this,n),t.listeners&&t.before){for(var r=0,i=this.listenerMaps.length,o=t.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:t.id,map:t.listeners})}else t.listeners&&this.listenerMaps.push({id:t.id,map:t.listeners});return this}},{key:"addDocument",value:function(t,n){if(this.getDocIndex(t)!==-1)return!1;var r=F(t);n=n?x({},n):{},this.documents.push({doc:t,options:n}),this.events.documents.push(t),t!==this.document&&this.events.add(r,"unload",this.onWindowUnload),this.fire("scope:add-document",{doc:t,window:r,scope:this,options:n})}},{key:"removeDocument",value:function(t){var n=this.getDocIndex(t),r=F(t),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:t,window:r,scope:this,options:i})}},{key:"getDocIndex",value:function(t){for(var n=0;n<this.documents.length;n++)if(this.documents[n].doc===t)return n;return-1}},{key:"getDocOptions",value:function(t){var n=this.getDocIndex(t);return n===-1?null:this.documents[n].options}},{key:"now",value:function(){return(this.window.Date||Date).now()}}]),e}();function pn(e){return e&&e.replace(/\/.*$/,"")}var fn=new ar,I=fn.interactStatic,sr=typeof globalThis<"u"?globalThis:window;fn.init(sr);var cr=Object.freeze({__proto__:null,edgeTarget:function(){},elements:function(){},grid:function(e){var t=[["x","y"],["left","top"],["right","bottom"],["width","height"]].filter(function(r){var i=r[0],o=r[1];return i in e||o in e}),n=function(r,i){for(var o=e.range,a=e.limits,s=a===void 0?{left:-1/0,right:1/0,top:-1/0,bottom:1/0}:a,c=e.offset,u=c===void 0?{x:0,y:0}:c,l={range:o,grid:e,x:null,y:null},p=0;p<t.length;p++){var f=t[p],v=f[0],h=f[1],g=Math.round((r-u.x)/e[v]),y=Math.round((i-u.y)/e[h]);l[v]=Math.max(s.left,Math.min(s.right,g*e[v]+u.x)),l[h]=Math.max(s.top,Math.min(s.bottom,y*e[h]+u.y))}return l};return n.grid=e,n.coordFields=t,n}}),lr={id:"snappers",install:function(e){var t=e.interactStatic;t.snappers=x(t.snappers||{},cr),t.createSnapGrid=t.snappers.grid}},ur=lr,pr={start:function(e){var t=e.state,n=e.rect,r=e.edges,i=e.pageCoords,o=t.options,a=o.ratio,s=o.enabled,c=t.options,u=c.equalDelta,l=c.modifiers;a==="preserve"&&(a=n.width/n.height),t.startCoords=x({},i),t.startRect=x({},n),t.ratio=a,t.equalDelta=u;var p=t.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(t.xIsPrimaryAxis=!(!r.left&&!r.right),t.equalDelta){var f=(p.left?1:-1)*(p.top?1:-1);t.edgeSign={x:f,y:f}}else t.edgeSign={x:p.left?-1:1,y:p.top?-1:1};if(s!==!1&&x(r,p),l!=null&&l.length){var v=new ae(e.interaction);v.copyFrom(e.interaction.modification),v.prepareStates(l),t.subModification=v,v.startAll(rt({},e))}},set:function(e){var t=e.state,n=e.rect,r=e.coords,i=t.linkedEdges,o=x({},r),a=t.equalDelta?fr:dr;if(x(e.edges,i),a(t,t.xIsPrimaryAxis,r,n),!t.subModification)return null;var s=x({},n);St(i,s,{x:r.x-o.x,y:r.y-o.y});var c=t.subModification.setAll(rt(rt({},e),{},{rect:s,edges:i,pageCoords:r,prevCoords:r,prevRect:s})),u=c.delta;return c.changed&&(a(t,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 fr(e,t,n){var r=e.startCoords,i=e.edgeSign;t?n.y=r.y+(n.x-r.x)*i.y:n.x=r.x+(n.y-r.y)*i.x}function dr(e,t,n,r){var i=e.startRect,o=e.startCoords,a=e.ratio,s=e.edgeSign;if(t){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 hr=G(pr,"aspectRatio"),dn=function(){};dn._defaults={};var Rt=dn;function Q(e,t,n){return d.func(e)?at(e,t.interactable,t.element,[n.x,n.y,t]):at(e,t.interactable,t.element)}var Ct={start:function(e){var t=e.rect,n=e.startOffset,r=e.state,i=e.interaction,o=e.pageCoords,a=r.options,s=a.elementRect,c=x({left:0,top:0,right:0,bottom:0},a.offset||{});if(t&&s){var u=Q(a.restriction,i,o);if(u){var l=u.right-u.left-t.width,p=u.bottom-u.top-t.height;l<0&&(c.left+=l,c.right+=l),p<0&&(c.top+=p,c.bottom+=p)}c.left+=n.left-t.width*s.left,c.top+=n.top-t.height*s.top,c.right+=n.right-t.width*(1-s.right),c.bottom+=n.bottom-t.height*(1-s.bottom)}r.offset=c},set:function(e){var t=e.coords,n=e.interaction,r=e.state,i=r.options,o=r.offset,a=Q(i.restriction,n,t);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);t.x=Math.max(Math.min(s.right-o.right,t.x),s.left+o.left),t.y=Math.max(Math.min(s.bottom-o.bottom,t.y),s.top+o.top)}},defaults:{restriction:null,elementRect:null,offset:null,endOnly:!1,enabled:!1}},vr=G(Ct,"restrict"),hn={top:1/0,left:1/0,bottom:-1/0,right:-1/0},vn={top:-1/0,left:-1/0,bottom:1/0,right:1/0};function gn(e,t){for(var n=0,r=["top","left","bottom","right"];n<r.length;n++){var i=r[n];i in e||(e[i]=t[i])}return e}var vt={noInner:hn,noOuter:vn,start:function(e){var t,n=e.interaction,r=e.startOffset,i=e.state,o=i.options;o&&(t=Tt(Q(o.offset,n,n.coords.start.page))),t=t||{x:0,y:0},i.offset={top:t.y+r.top,left:t.x+r.left,bottom:t.y-r.bottom,right:t.x-r.right}},set:function(e){var t=e.coords,n=e.edges,r=e.interaction,i=e.state,o=i.offset,a=i.options;if(n){var s=x({},t),c=Q(a.inner,r,s)||{},u=Q(a.outer,r,s)||{};gn(c,hn),gn(u,vn),n.top?t.y=Math.min(Math.max(u.top+o.top,s.y),c.top+o.top):n.bottom&&(t.y=Math.max(Math.min(u.bottom+o.bottom,s.y),c.bottom+o.bottom)),n.left?t.x=Math.min(Math.max(u.left+o.left,s.x),c.left+o.left):n.right&&(t.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}},gr=G(vt,"restrictEdges"),mr=x({get elementRect(){return{top:0,left:0,bottom:1,right:1}},set elementRect(e){}},Ct.defaults),yr=G({start:Ct.start,set:Ct.set,defaults:mr},"restrictRect"),br={width:-1/0,height:-1/0},xr={width:1/0,height:1/0},wr=G({start:function(e){return vt.start(e)},set:function(e){var t=e.interaction,n=e.state,r=e.rect,i=e.edges,o=n.options;if(i){var a=Ut(Q(o.min,t,e.coords))||br,s=Ut(Q(o.max,t,e.coords))||xr;n.options={endOnly:o.endOnly,inner:x({},vt.noInner),outer:x({},vt.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),vt.set(e),n.options=o}},defaults:{min:null,max:null,endOnly:!1,enabled:!1}},"restrictSize"),fe={start:function(e){var t,n=e.interaction,r=e.interactable,i=e.element,o=e.rect,a=e.state,s=e.startOffset,c=a.options,u=c.offsetWithOrigin?function(f){var v=f.interaction.element,h=Tt(at(f.state.options.origin,null,null,[v])),g=h||st(f.interactable,v,f.interaction.prepared.name);return g}(e):{x:0,y:0};if(c.offset==="startCoords")t={x:n.coords.start.page.x,y:n.coords.start.page.y};else{var l=at(c.offset,r,i,[n]);(t=Tt(l)||{x:0,y:0}).x+=u.x,t.y+=u.y}var p=c.relativePoints;a.offsets=o&&p&&p.length?p.map(function(f,v){return{index:v,relativePoint:f,x:s.left-o.width*f.x+t.x,y:s.top-o.height*f.y+t.y}}):[{index:0,relativePoint:null,x:t.x,y:t.y}]},set:function(e){var t=e.interaction,n=e.coords,r=e.state,i=r.options,o=r.offsets,a=st(t.interactable,t.element,t.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,v=s.y-p.y,h=0,g=i.targets.length;h<g;h++){var y=i.targets[h],m=void 0;(m=d.func(y)?y(f,v,t._proxy,p,h):y)&&c.push({x:(d.number(m.x)?m.x:f)+p.x,y:(d.number(m.y)?m.y:v)+p.y,range:d.number(m.range)?m.range:i.range,source:y,index:h,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=ct(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}},Er=G(fe,"snap"),jt={start:function(e){var t=e.state,n=e.edges,r=t.options;if(!n)return null;e.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}},t.targetFields=t.targetFields||[["width","height"],["x","y"]],fe.start(e),t.offsets=e.state.offsets,e.state=t},set:function(e){var t=e.interaction,n=e.state,r=e.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,t):u){for(var p=0,f=n.targetFields;p<f.length;p++){var v=f[p],h=v[0],g=v[1];if(h in l||g in l){l.x=l[h],l.y=l[g];break}}n.options.targets.push(l)}}var y=fe.set(e);return n.options=i,y},defaults:{range:1/0,targets:null,offset:null,endOnly:!1,enabled:!1}},Tr=G(jt,"snapSize"),de={aspectRatio:hr,restrictEdges:gr,restrict:vr,restrictRect:yr,restrictSize:wr,snapEdges:G({start:function(e){var t=e.edges;return t?(e.state.targetFields=e.state.targetFields||[[t.left?"left":"right",t.top?"top":"bottom"]],jt.start(e)):null},set:jt.set,defaults:x(nt(jt.defaults),{targets:void 0,range:void 0,offset:{x:0,y:0}})},"snapEdges"),snap:Er,snapSize:Tr,spring:Rt,avoid:Rt,transform:Rt,rubberband:Rt},Sr={id:"modifiers",install:function(e){var t=e.interactStatic;for(var n in e.usePlugin(Je),e.usePlugin(ur),t.modifiers=de,de){var r=de[n],i=r._defaults,o=r._methods;i._methods=o,e.defaults.perAction[n]=i}}},_r=Sr,mn=function(e){it(n,e);var t=ot(n);function n(r,i,o,a,s,c){var u;if(k(this,n),_t(bt(u=t.call(this,s)),o),o!==i&&_t(bt(u),i),u.timeStamp=c,u.originalEvent=o,u.type=r,u.pointerId=lt(i),u.pointerType=Ae(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}(kt),gt={id:"pointer-events/base",before:["inertia","modifiers","auto-start","actions"],install:function(e){e.pointerEvents=gt,e.defaults.actions.pointerEvents=gt.defaults,x(e.actions.phaselessTypes,gt.types)},listeners:{"interactions:new":function(e){var t=e.interaction;t.prevTap=null,t.tapTime=0},"interactions:update-pointer":function(e){var t=e.down,n=e.pointerInfo;!t&&n.hold||(n.hold={duration:1/0,timeout:null})},"interactions:move":function(e,t){var n=e.interaction,r=e.pointer,i=e.event,o=e.eventTarget;e.duplicate||n.pointerIsDown&&!n.pointerWasMoved||(n.pointerIsDown&&he(e),U({interaction:n,pointer:r,event:i,eventTarget:o,type:"move"},t))},"interactions:down":function(e,t){(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=_e(s),p={interaction:i,pointer:o,event:a,eventTarget:s,type:"hold",targets:[],path:l,node:null},f=0;f<l.length;f++){var v=l[f];p.node=v,r.fire("pointerEvents:collect-targets",p)}if(p.targets.length){for(var h=1/0,g=0,y=p.targets;g<y.length;g++){var m=y[g].eventable.options.holdDuration;m<h&&(h=m)}u.duration=h,u.timeout=setTimeout(function(){U({interaction:i,eventTarget:s,pointer:o,event:a,type:"hold"},r)},h)}})(e,t),U(e,t)},"interactions:up":function(e,t){he(e),U(e,t),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)}(e,t)},"interactions:cancel":function(e,t){he(e),U(e,t)}},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(e,t){var n=e.interaction,r=e.pointer,i=e.event,o=e.eventTarget,a=e.type,s=e.targets,c=s===void 0?yn(e,t):s,u=new mn(a,r,i,o,n,t.now());t.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 v in f.props||{})u[v]=f.props[v];var h=st(f.eventable,f.node);if(u._subtractOrigin(h),u.eventable=f.eventable,u.currentTarget=f.node,f.eventable.fire(u),u._addOrigin(h),u.immediatePropagationStopped||u.propagationStopped&&p+1<c.length&&c[p+1].node!==u.currentTarget)break}if(t.fire("pointerEvents:fired",l),a==="tap"){var g=u.double?U({interaction:n,pointer:r,event:i,eventTarget:o,type:"doubletap"},t):u;n.prevTap=g,n.tapTime=g.timeStamp}return u}function yn(e,t){var n=e.interaction,r=e.pointer,i=e.event,o=e.eventTarget,a=e.type,s=n.getPointerIndex(r),c=n.pointers[s];if(a==="tap"&&(n.pointerWasMoved||!c||c.downTarget!==o))return[];for(var u=_e(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,t.fire("pointerEvents:collect-targets",l)}return a==="hold"&&(l.targets=l.targets.filter(function(v){var h,g;return v.eventable.options.holdDuration===((h=n.pointers[s])==null||(g=h.hold)==null?void 0:g.duration)})),l.targets}function he(e){var t=e.interaction,n=e.pointerIndex,r=t.pointers[n].hold;r&&r.timeout&&(clearTimeout(r.timeout),r.timeout=null)}var Pr=Object.freeze({__proto__:null,default:gt});function Or(e){var t=e.interaction;t.holdIntervalHandle&&(clearInterval(t.holdIntervalHandle),t.holdIntervalHandle=null)}var kr={id:"pointer-events/holdRepeat",install:function(e){e.usePlugin(gt);var t=e.pointerEvents;t.defaults.holdRepeatInterval=0,t.types.holdrepeat=e.actions.phaselessTypes.holdrepeat=!0},listeners:["move","up","cancel","endall"].reduce(function(e,t){return e["pointerEvents:".concat(t)]=Or,e},{"pointerEvents:new":function(e){var t=e.pointerEvent;t.type==="hold"&&(t.count=(t.count||0)+1)},"pointerEvents:fired":function(e,t){var n=e.interaction,r=e.pointerEvent,i=e.eventTarget,o=e.targets;if(r.type==="hold"&&o.length){var a=o[0].eventable.options.holdRepeatInterval;a<=0||(n.holdIntervalHandle=setTimeout(function(){t.pointerEvents.fire({interaction:n,eventTarget:i,type:"hold",pointer:r,event:r},t)},a))}}})},Dr=kr,Ir={id:"pointer-events/interactableTargets",install:function(e){var t=e.Interactable;t.prototype.pointerEvents=function(r){return x(this.events.options,r),this};var n=t.prototype._backCompatOption;t.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(e,t){var n=e.targets,r=e.node,i=e.type,o=e.eventTarget;t.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(e){var t=e.interactable;t.events.getRect=function(n){return t.getRect(n)}},"interactable:set":function(e,t){var n=e.interactable,r=e.options;x(n.events.options,t.pointerEvents.defaults),x(n.events.options,r.pointerEvents||{})}}},Mr=Ir,zr={id:"pointer-events",install:function(e){e.usePlugin(Pr),e.usePlugin(Dr),e.usePlugin(Mr)}},Ar=zr,Rr={id:"reflow",install:function(e){var t=e.Interactable;e.actions.phases.reflow=!0,t.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 v,h=pt(o.interactions.list,function(m){return m.interacting()&&m.interactable===r&&m.element===p&&m.prepared.name===i.name});if(h)h.move(),c&&(v=h._reflowPromise||new s(function(m){h._reflowResolve=m}));else{var g=Ut(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()});v=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),De(S.coords.delta),ne(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(v)},l=0;l<a.length&&!u();l++);return c&&s.all(c).then(function(){return r})}(this,n,e)}},listeners:{"interactions:stop":function(e,t){var n=e.interaction;n.pointerType==="reflow"&&(n._reflowResolve&&n._reflowResolve(),function(r,i){r.splice(r.indexOf(i),1)}(t.interactions.list,n))}}},Cr=Rr;if(I.use($e),I.use(nn),I.use(Ar),I.use(Qn),I.use(_r),I.use(Ln),I.use(Dn),I.use(Mn),I.use(Cr),I.default=I,Z(yt)==="object"&&yt)try{yt.exports=I}catch{}return I.default=I,I})})(Yt,Yt.exports);var jr=Yt.exports,Xr=xn(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.0.0 */
|
4
|
+
import{c as d}from"./CMO3X257.js";import{a as r}from"./I2OIH73C.js";import{A as i,J as o,e as c,f as l,w as s,x as a}from"./KVSCG5E3.js";var b={container:"container",content:"content"},h=c`:host([selected]) section,:host([selected]) .container{display:block}:host{display:none;block-size:100%;inline-size:100%}:host([selected]){display:block;block-size:100%;inline-size:100%;overflow:auto}.content{box-sizing:border-box;padding-block:var(--calcite-internal-tab-content-block-padding)}.scale-s{--calcite-internal-tab-content-block-padding: var(--calcite-tab-content-block-padding, .25rem);font-size:var(--calcite-font-size--2);line-height:1rem}.scale-m{--calcite-internal-tab-content-block-padding: var(--calcite-tab-content-block-padding, .5rem);font-size:var(--calcite-font-size--1);line-height:1rem}.scale-l{--calcite-internal-tab-content-block-padding: var(--calcite-tab-content-block-padding, .625rem);font-size:var(--calcite-font-size-0);line-height:1.25rem}section,.container{display:none;block-size:100%;inline-size:100%}.container{outline-color:transparent}.container: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))))}:host([hidden]){display:none}[hidden]{display:none}`,n=class extends s{constructor(){super(),this.guid=`calcite-tab-title-${r()}`,this.scale="m",this.selected=!1,this.listenOn(document.body,"calciteInternalTabChange",this.internalTabChangeHandler)}static{this.properties={labeledBy:16,scale:1,selected:7,tab:3}}static{this.styles=h}async getTabIndex(){return Array.prototype.indexOf.call(d(this.el.parentElement.children).filter(e=>e.matches("calcite-tab")),this.el)}_updateAriaInfo(e=[],t=[]){this.labeledBy=t[e.indexOf(this.el.id)]||null}connectedCallback(){super.connectedCallback(),this.parentTabsEl=this.el.closest("calcite-tabs")}disconnectedCallback(){super.disconnectedCallback(),document.body?.dispatchEvent(new CustomEvent("calciteTabUnregister",{detail:this.el}))}internalTabChangeHandler(e){e.composedPath().find(t=>t.tagName==="CALCITE-TABS")===this.parentTabsEl&&(this.tab?this.selected=this.tab===e.detail.tab:this.getTabIndex().then(t=>{this.selected=t===e.detail.tab}),e.stopPropagation())}render(){let e=this.el.id||this.guid;return i(this.el,"aria-labelledby",this.labeledBy),i(this.el,"id",e),l`<div class=${a({[b.container]:!0,[`scale-${this.scale}`]:!0})} role=tabpanel .tabIndex=${this.selected?0:-1}><section class=${a(b.content)}><slot></slot></section></div>`}};o("calcite-tab",n);export{n as Tab};
|
@@ -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.0.0 */
|
4
|
+
import{k as m}from"./KBDXI6DJ.js";import{c as g}from"./3IV6JSC2.js";import"./KW57BHXD.js";import"./UELGJSYH.js";import{a as I}from"./ARHYATTG.js";import{a as b,b as d}from"./QU33PBBI.js";import{H as A,J as E,e as C,f as o,j as z,k as x,v as u,w as T,x as c}from"./KVSCG5E3.js";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"},w={selectionActions:"selection-actions",tableHeader:"table-header",tableFooter:"table-footer"},L=C`@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}`,f=class extends T{constructor(){super(),this.paginationEl=b(),this.tableBodySlotEl=b(),this.tableFootSlotEl=b(),this.tableHeadSlotEl=b(),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=u({cancelable:!1}),this.calciteTablePageChange=u({cancelable:!1}),this.calciteTableSelect=u({cancelable:!1}),this.listen("calciteTableRowSelect",this.calciteTableRowSelectListener),this.listen("calciteInternalTableRowSelect",this.calciteInternalTableRowSelectListener),this.listen("calciteInternalTableRowFocusRequest",this.calciteInternalTableRowFocusEvent)}static{this.properties={colCount:16,pageStartRow:16,readCellContentsToAT:16,selectedCount:16,bordered:7,caption:1,groupSeparator:7,interactionMode:3,layout:3,messageOverrides:0,numbered:7,numberingSystem:3,pageSize:11,scale:3,selectedItems:32,_selectedItems:16,selectionDisplay:3,selectionMode:3,striped:7}}static{this.styles=L}get selectedItems(){return this._selectedItems}async load(){this.readCellContentsToAT=/safari/i.test(A()),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()}loaded(){}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,a=e.detail.destination,h=e.detail.lastCell,t=this.bodyRows?.filter(p=>!g(p)),l=this.allRows?.filter(p=>!g(p)),S=this.headRows[this.headRows.length-1]?.positionAll,R=t[0]?.positionAll,y=t[t.length-1]?.positionAll,$=this.footRows[0]?.positionAll,M=l[l.length-1]?.positionAll,F=a==="next"&&s===S,k=a==="previous"&&s===$,P=a==="previous"&&s===R,H=a==="next"&&s===y,r;switch(a){case"first":r=0;break;case"last":r=M;break;case"next":r=F?R:H?$:s+1;break;case"previous":r=k?y:P?S:s-1;break}let v=this.allRows?.find(p=>p.positionAll===r)?.cellCount,O=i>v?v:i;r!==void 0&&this.calciteInternalTableRowFocusChange.emit({cellPosition:O,rowPosition:r,destination:a,lastCell:h})}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)||[],a=[...e,...i,...s];e?.forEach(t=>{let l=e?.indexOf(t);t.rowType="head",t.positionSection=l,t.positionSectionLocalized=this.localizeNumber((l+1).toString())}),i?.forEach(t=>{let l=i?.indexOf(t);t.rowType="body",t.positionSection=l,t.positionSectionLocalized=this.localizeNumber((l+1).toString())}),s?.forEach(t=>{let l=s?.indexOf(t);t.rowType="foot",t.positionSection=l,t.positionSectionLocalized=this.localizeNumber((l+1).toString())}),a?.forEach(t=>{t.interactionMode=this.interactionMode,t.selectionMode=this.selectionMode,t.bodyRowCount=i?.length,t.positionAll=a?.indexOf(t),t.numbered=this.numbered,t.scale=this.scale,t.readCellContentsToAT=this.readCellContentsToAT,t.lastVisibleRow=a?.indexOf(t)===a.length-1});let h=e[0]?.cellCount||e[0]?.querySelectorAll("calcite-table-header")?.length;this.colCount=h,this.headRows=e,this.bodyRows=i,this.footRows=s,this.allRows=a,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(h=>g(h))?.length,i=this.localizeNumber(e?.toString()),s=`${this.localizeNumber(this.selectedCount?.toString())} ${this.messages.selected}`,a=`${i} ${this.messages.hiddenSelected}`;return o`<div class=${c(n.selectionArea)}><calcite-chip .kind=${this.selectedCount>0?"brand":"neutral"} .label=${s} .scale=${this.scale} .value=${s}>${s}</calcite-chip>${e>0&&o`<calcite-chip icon=hide-empty .label=${a} .scale=${this.scale} title=${a??z} .value=${a}>${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} ${s} ${this.messages.row}`}>${this.messages.clear}</calcite-button>`||""}<div class=${c(n.selectionActions)}><slot name=${w.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} ${d(this.paginationEl)}></calcite-pagination></div>`}renderTHead(){return o`<thead><slot name=${w.tableHeader} ${d(this.tableHeadSlotEl)}></slot></thead>`}renderTBody(){return o`<tbody><slot ${d(this.tableBodySlotEl)}></slot></tbody>`}renderTFoot(){return o`<tfoot><slot name=${w.tableFooter} ${d(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"} ${d(e=>{e&&x(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",f);export{f 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.0.0 */
|
4
|
+
import{a as s,b as o}from"./MQYH4ONZ.js";import{a as i}from"./CIV3PH3Z.js";import{u as a}from"./CMO3X257.js";import"./I2OIH73C.js";import{J as l,e as d,f as n,w as r,x as e}from"./KVSCG5E3.js";var h=d`:host([disabled]) .content{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) .content *,:host([disabled]) .content ::slotted(*){pointer-events:none}:host{display:flex;flex:1 1 0%;flex-direction:column}.container{display:flex;flex:1 1 auto;align-items:stretch;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2)}.content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;font-size:var(--calcite-font-size--2);line-height:1.375;padding-inline:var(--calcite-stack-padding-inline, .75rem);padding-block:var(--calcite-stack-padding-block, .5rem)}.content-start{justify-content:flex-start}.content-end{justify-content:flex-end}.content-start,.content-end{flex:0 1 auto}.content-start ::slotted(calcite-icon),.content-end ::slotted(calcite-icon){margin-inline:.75rem;align-self:center}.actions-start,.actions-end,.content-start,.content-end{display:flex;align-items:center}.actions-start ::slotted(calcite-action),.actions-start ::slotted(calcite-action-menu),.actions-start ::slotted(calcite-handle),.actions-start ::slotted(calcite-dropdown),.actions-end ::slotted(calcite-action),.actions-end ::slotted(calcite-action-menu),.actions-end ::slotted(calcite-handle),.actions-end ::slotted(calcite-dropdown){align-self:stretch;color:inherit}:host([hidden]){display:none}[hidden]{display:none}`,c=class extends r{constructor(){super(...arguments),this.hasActionsEnd=!1,this.hasActionsStart=!1,this.hasContentEnd=!1,this.hasContentStart=!1,this.disabled=!1}static{this.properties={hasActionsEnd:16,hasActionsStart:16,hasContentEnd:16,hasContentStart:16,disabled:7}}static{this.styles=h}handleActionsStartSlotChange(t){this.hasActionsStart=a(t)}handleActionsEndSlotChange(t){this.hasActionsEnd=a(t)}handleContentStartSlotChange(t){this.hasContentStart=a(t)}handleContentEndSlotChange(t){this.hasContentEnd=a(t)}renderActionsStart(){let{hasActionsStart:t}=this;return i("actions-start-container",n`<div class=${e(s.actionsStart)} .hidden=${!t}><slot name=${o.actionsStart} @slotchange=${this.handleActionsStartSlotChange}></slot></div>`)}renderActionsEnd(){let{hasActionsEnd:t}=this;return i("actions-end-container",n`<div class=${e(s.actionsEnd)} .hidden=${!t}><slot name=${o.actionsEnd} @slotchange=${this.handleActionsEndSlotChange}></slot></div>`)}renderContentStart(){let{hasContentStart:t}=this;return n`<div class=${e(s.contentStart)} .hidden=${!t}><slot name=${o.contentStart} @slotchange=${this.handleContentStartSlotChange}></slot></div>`}renderDefaultContent(){return n`<div class=${e(s.content)}><slot></slot></div>`}renderContentEnd(){let{hasContentEnd:t}=this;return n`<div class=${e(s.contentEnd)} .hidden=${!t}><slot name=${o.contentEnd} @slotchange=${this.handleContentEndSlotChange}></slot></div>`}render(){return n`<div class=${e(s.container)}>${this.renderActionsStart()}${this.renderContentStart()}${this.renderDefaultContent()}${this.renderContentEnd()}${this.renderActionsEnd()}</div>`}};l("calcite-stack",c);export{c as Stack};
|
@@ -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.0.0 */
|
4
|
+
import{a as P}from"./I32TMNTO.js";import{a as L}from"./N2BVYYYP.js";import{a as M,c as F,e as O,g as b,h as W}from"./DTL2LM6T.js";import{c as T,d as C,e as H}from"./G3LH75CQ.js";import{a as I,b as z}from"./LOZEGKG2.js";import{a as m}from"./3IV6JSC2.js";import"./KW57BHXD.js";import{a as V}from"./ARHYATTG.js";import{a as p,b as c}from"./QU33PBBI.js";import{e as $,p as h}from"./CMO3X257.js";import{b as E}from"./GN5CPLSJ.js";import"./I2OIH73C.js";import{B as u,C as y,J as w,c as f,e as g,f as l,j as t,u as x,v as r,w as k,x as n}from"./KVSCG5E3.js";var a={loader:"loader",clearButton:"clear-button",editingEnabled:"editing-enabled",inlineChild:"inline-child",inputIcon:"icon",prefix:"prefix",suffix:"suffix",wrapper:"element-wrapper",inputWrapper:"wrapper",actionWrapper:"action-wrapper"},q={validationMessage:"inputTextValidationMessage"},U={action:"action"},R=g`: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}:host([scale=s]) input{padding-inline-start:.5rem;padding-inline-end:var(--calcite-internal-input-text-input-padding-inline-end, .5rem)}:host([scale=s]) input,:host([scale=s]) .prefix,:host([scale=s]) .suffix{block-size:1.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .prefix,:host([scale=s]) .suffix{padding-inline:.5rem}:host([scale=s]) .action-wrapper calcite-button,:host([scale=s]) .action-wrapper calcite-button button{block-size:1.5rem}:host([scale=s]) .clear-button{min-block-size:1.5rem;min-inline-size:1.5rem}:host([scale=m]) input{padding-inline-start:.75rem;padding-inline-end:var(--calcite-internal-input-text-input-padding-inline-end, .75rem)}:host([scale=m]) input,:host([scale=m]) .prefix,:host([scale=m]) .suffix{block-size:2rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .prefix,:host([scale=m]) .suffix{padding-inline:.75rem}:host([scale=m]) .action-wrapper calcite-button,:host([scale=m]) .action-wrapper calcite-button button{block-size:2rem}:host([scale=m]) .clear-button{min-block-size:2rem;min-inline-size:2rem}:host([scale=l]) input{padding-inline-start:1rem;padding-inline-end:var(--calcite-internal-input-text-input-padding-inline-end, 1rem)}:host([scale=l]) input,:host([scale=l]) .prefix,:host([scale=l]) .suffix{block-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .prefix,:host([scale=l]) .suffix{padding-inline:1rem}:host([scale=l]) .action-wrapper calcite-button,:host([scale=l]) .action-wrapper calcite-button button{block-size:2.75rem}:host([scale=l]) .clear-button{min-block-size:2.75rem;min-inline-size:2.75rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}input{transition:var(--calcite-animation-timing),block-size 0,outline-offset 0s;-webkit-appearance:none;position:relative;margin:0;box-sizing:border-box;display:flex;max-block-size:100%;inline-size:100%;max-inline-size:100%;flex:1 1 0%;text-overflow:ellipsis;border-radius:0;background-color:var(--calcite-color-foreground-1);font-family:inherit;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-1)}input:placeholder-shown{text-overflow:ellipsis}input{border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);color:var(--calcite-color-text-1)}input::placeholder,input:-ms-input-placeholder,input::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-3)}input:focus{border-color:var(--calcite-color-brand);color:var(--calcite-color-text-1)}input[readonly]{background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium)}input[readonly]:focus{color:var(--calcite-color-text-1)}calcite-icon{color:var(--calcite-color-text-3)}input{outline-color:transparent}input: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))))}:host([status=invalid]) input{border-color:var(--calcite-color-status-danger)}:host([status=invalid]) input:focus{outline:2px solid var(--calcite-color-status-danger);outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([scale=s]) .icon{inset-inline-start:.5rem}:host([scale=m]) .icon{inset-inline-start:.75rem}:host([scale=l]) .icon{inset-inline-start:1rem}:host([icon][scale=s]) input{padding-inline-start:2rem}:host([icon][scale=m]) input{padding-inline-start:2.5rem}:host([icon][scale=l]) input{padding-inline-start:3.5rem}.element-wrapper{position:relative;order:3;display:inline-flex;flex:1 1 0%;align-items:center}.icon{pointer-events:none;position:absolute;z-index:var(--calcite-z-index);display:block;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}input[type=text]::-ms-clear,input[type=text]::-ms-reveal{display:none;block-size:0px;inline-size:0px}.clear-button{pointer-events:initial;order:4;margin:0;box-sizing:border-box;display:flex;min-block-size:100%;cursor:pointer;align-items:center;justify-content:center;align-self:stretch;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1);outline-color:transparent;border-inline-start-width:0px}.clear-button:hover{background-color:var(--calcite-color-foreground-2);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}.clear-button:hover calcite-icon{color:var(--calcite-color-text-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}.clear-button:active{background-color:var(--calcite-color-foreground-3)}.clear-button:active calcite-icon{color:var(--calcite-color-text-1)}.clear-button: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))))}.clear-button:disabled{opacity:var(--calcite-opacity-disabled)}.loader{inset-block-start:1px;inset-inline:1px;pointer-events:none;position:absolute;display:block}.action-wrapper{order:7;display:flex}.prefix,.suffix{box-sizing:border-box;display:flex;block-size:auto;min-block-size:100%;-webkit-user-select:none;user-select:none;align-content:center;align-items:center;overflow-wrap:break-word;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium);line-height:1;color:var(--calcite-color-text-2)}.prefix{order:2;border-inline-end-width:0px;inline-size:var(--calcite-input-prefix-size, auto)}.suffix{order:5;border-inline-start-width:0px;inline-size:var(--calcite-input-suffix-size, auto)}:host([alignment=start]) input{text-align:start}:host([alignment=end]) input{text-align:end}.wrapper{position:relative;display:flex;flex-direction:row;align-items:center}:host(.input--no-bottom-border) input{border-block-end-width:0px}:host(.input--no-top-border) input{border-block-start-width:0px}:host(.input--no-right-border) input{border-inline-end:0}:host(.input--no-left-border) input{border-inline-start:0}:host(.border-top-color-one) input{border-block-start-color:var(--calcite-color-border-1)}input.inline-child{background-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}input.inline-child .editing-enabled{background-color:inherit}input.inline-child:not(.editing-enabled){display:flex;cursor:pointer;text-overflow:ellipsis;border-color:transparent;padding-inline-start:0}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}::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}`,v=class extends k{constructor(){super(),this.actionWrapperEl=p(),this.attributeWatch=f(["autofocus","enterkeyhint","inputmode","spellcheck"],this.handleGlobalAttributesChanged),this.inputWrapperEl=p(),this.onHiddenFormInputInput=e=>{e.target.name===this.name&&this.setValue({value:e.target.value,origin:"direct"}),this.setFocus(),e.stopPropagation()},this.previousValueOrigin="initial",this.userChangedValue=!1,this._value="",this.slottedActionElDisabledInternally=!1,this.alignment="start",this.clearable=!1,this.disabled=!1,this.editingEnabled=!1,this.iconFlipRtl=!1,this.loading=!1,this.messages=V(),this.readOnly=!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.calciteInputTextChange=r(),this.calciteInputTextInput=r(),this.calciteInternalInputTextBlur=r(),this.calciteInternalInputTextFocus=r(),this.listen("click",this.clickHandler),this.listen("keydown",this.keyDownHandler)}static{this.properties={slottedActionElDisabledInternally:16,alignment:3,autocomplete:0,clearable:7,disabled:7,editingEnabled:7,form:3,icon:[3,{converter:u}],iconFlipRtl:7,label:1,loading:7,maxLength:11,messageOverrides:0,minLength:11,name:3,pattern:1,placeholder:1,prefixText:1,readOnly:7,required:7,scale:3,status:3,suffixText:1,validationIcon:[3,{converter:u}],validationMessage:1,validity:0,value:1}}static{this.styles=R}get isClearable(){return this.clearable&&this.value.length>0}get value(){return this._value}set value(e){let i=this._value;e!==i&&(this._value=e,this.valueWatcher(e,i))}async selectText(){this.childEl?.select()}async setFocus(){await E(this),this.childEl?.focus()}connectedCallback(){super.connectedCallback(),this.inlineEditableEl=this.el.closest("calcite-inline-editable"),this.inlineEditableEl&&(this.editingEnabled=this.inlineEditableEl.editingEnabled||!1),T(this),F(this),this.el.addEventListener(b,this.onHiddenFormInputInput)}async load(){this.requestedIcon=h({},this.icon,"text"),this.setPreviousEmittedValue(this.value),this.setPreviousValue(this.value)}willUpdate(e){e.has("icon")&&(this.requestedIcon=h({},this.icon,"text"))}updated(){I(this)}loaded(){}disconnectedCallback(){super.disconnectedCallback(),C(this),O(this),this.el.removeEventListener(b,this.onHiddenFormInputInput)}handleGlobalAttributesChanged(){this.requestUpdate()}valueWatcher(e,i){this.userChangedValue||this.setValue({origin:"direct",previousValue:i,value:e||""}),this.userChangedValue=!1}keyDownHandler(e){this.readOnly||this.disabled||e.defaultPrevented||(this.isClearable&&e.key==="Escape"&&(this.clearInputTextValue(e),e.preventDefault()),e.key==="Enter"&&M(this)&&e.preventDefault())}onLabelClick(){this.setFocus()}clearInputTextValue(e){this.setValue({committing:!0,nativeEvent:e,origin:"user",value:""})}emitChangeIfUserModified(){this.previousValueOrigin==="user"&&this.value!==this.previousEmittedValue&&(this.calciteInputTextChange.emit(),this.setPreviousEmittedValue(this.value))}inputTextBlurHandler(){this.calciteInternalInputTextBlur.emit({element:this.childEl,value:this.value}),this.emitChangeIfUserModified()}clickHandler(e){if(this.disabled)return;let i=e.composedPath();!i.includes(this.inputWrapperEl.value)||i.includes(this.actionWrapperEl.value)||this.setFocus()}inputTextFocusHandler(){this.calciteInternalInputTextFocus.emit({element:this.childEl,value:this.value})}inputTextInputHandler(e){this.disabled||this.readOnly||this.setValue({nativeEvent:e,origin:"user",value:e.target.value})}inputTextKeyDownHandler(e){this.disabled||this.readOnly||e.key==="Enter"&&this.emitChangeIfUserModified()}syncHiddenFormInput(e){P("text",this,e)}setChildElRef(e){this.childEl=e}setInputValue(e){this.childEl&&(this.childEl.value=e)}setPreviousEmittedValue(e){this.previousEmittedValue=e}setPreviousValue(e){this.previousValue=e}setValue({committing:e=!1,nativeEvent:i,origin:o,previousValue:d,value:s}){this.setPreviousValue(d??this.value),this.previousValueOrigin=o,this.userChangedValue=o==="user"&&s!==this.value,this.value=s,o==="direct"&&(this.setInputValue(s),this.setPreviousEmittedValue(s)),i&&(this.calciteInputTextInput.emit().defaultPrevented?this.value=this.previousValue:e&&this.emitChangeIfUserModified())}render(){let e=$(this.el),i=l`<div class=${n(a.loader)}><calcite-progress .label=${this.messages.loading} type=indeterminate></calcite-progress></div>`,o=l`<button .ariaLabel=${this.messages.clear} class=${n(a.clearButton)} .disabled=${this.disabled||this.readOnly} @click=${this.clearInputTextValue} tabindex=-1 type=button><calcite-icon icon=x .scale=${m(this.scale)}></calcite-icon></button>`,d=l`<calcite-icon class=${n(a.inputIcon)} .flipRtl=${this.iconFlipRtl} .icon=${this.requestedIcon} .scale=${m(this.scale)}></calcite-icon>`,s=l`<div class=${n(a.prefix)}>${this.prefixText}</div>`,D=l`<div class=${n(a.suffix)}>${this.suffixText}</div>`,B=l`<input aria-errormessage=${q.validationMessage} .ariaInvalid=${this.status==="invalid"} .ariaLabel=${H(this)} autocomplete=${this.autocomplete??t} .autofocus=${this.el.autofocus} class=${n({[a.editingEnabled]:this.editingEnabled,[a.inlineChild]:!!this.inlineEditableEl})} value=${this.defaultValue??t} .disabled=${this.disabled?!0:null} enterkeyhint=${this.el.enterKeyHint??t} inputmode=${this.el.inputMode??t} maxlength=${this.maxLength??t} minlength=${this.minLength??t} name=${this.name??t} @blur=${this.inputTextBlurHandler} @focus=${this.inputTextFocusHandler} @input=${this.inputTextInputHandler} @keydown=${this.inputTextKeyDownHandler} pattern=${this.pattern??t} placeholder=${(this.placeholder||"")??t} .readOnly=${this.readOnly} .required=${this.required?!0:null} spellcheck=${this.el.spellcheck??t} tabindex=${(this.disabled||this.inlineEditableEl&&!this.editingEnabled?-1:null)??t} type=text .value=${x(this.value??"")} ${c(this.setChildElRef)}>`;return z({disabled:this.disabled,children:l`<div class=${n({[a.inputWrapper]:!0,[y.rtl]:e==="rtl"})} ${c(this.inputWrapperEl)}>${this.prefixText?s:null}<div class=${n(a.wrapper)}>${B}${this.isClearable?o:null}${this.requestedIcon?d:null}${this.loading?i:null}</div><div class=${n(a.actionWrapper)} ${c(this.actionWrapperEl)}><slot name=${U.action}></slot></div>${this.suffixText?D:null}${W({component:this})}</div>${this.validationMessage&&this.status==="invalid"?L({icon:this.validationIcon,id:q.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null}`})}};w("calcite-input-text",v);export{v as InputText};
|
@@ -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.0.0 */
|
4
|
+
import{a as S}from"./BSRMWMHQ.js";import{a as P}from"./PZLVQQMT.js";import"./4SEPDFCP.js";import{a as y}from"./FNFWOOMR.js";import{a as L}from"./TSJJLMPA.js";import"./OLMX7G3J.js";import{a as V}from"./SMUXJLDL.js";import{a as H}from"./CIV3PH3Z.js";import{a as $}from"./CNO6NFH5.js";import{a as R}from"./ARHYATTG.js";import{b as g}from"./QU33PBBI.js";import{D as p,b as T,e as k,n as M}from"./CMO3X257.js";import{b as A}from"./GN5CPLSJ.js";import"./I2OIH73C.js";import{A as I,C as D,J as B,e as E,f as w,v as z,w as O,x as d}from"./KVSCG5E3.js";var l={scrim:"scrim",container:"container",containerOpen:"container--open",content:"content",contentContainer:"content-container",containerEmbedded:"container--embedded",resizeHandle:"resize-handle",resizeHandleBar:"resize-handle-bar"},U=10,F=25,j=E`:host{position:absolute;inset:0;z-index:var(--calcite-z-index-overlay);display:flex;visibility:hidden!important;--calcite-sheet-scrim-background-internal: rgba(0, 0, 0, .85);--calcite-scrim-shadow-block-start-internal: 0 4px 8px -1px rgba(0, 0, 0, .08), 0 2px 4px -1px rgba(0, 0, 0, .04);--calcite-scrim-shadow-block-end-internal: 0 -4px 8px -1px rgba(0, 0, 0, .08), 0 -2px 4px -1px rgba(0, 0, 0, .04);--calcite-scrim-shadow-inline-start-internal: 4px 0 8px -1px rgba(0, 0, 0, .08), 2px 0 4px -1px rgba(0, 0, 0, .04);--calcite-scrim-shadow-inline-end-internal: -4px 0 8px -1px rgba(0, 0, 0, .08), -2px 0 4px -1px rgba(0, 0, 0, .04)}.calcite--rtl{--calcite-scrim-shadow-inline-start-internal: -4px 0 8px -1px rgba(0, 0, 0, .08), -2px 0 4px -1px rgba(0, 0, 0, .04);--calcite-scrim-shadow-inline-end-internal: 4px 0 8px -1px rgba(0, 0, 0, .08), 2px 0 4px -1px rgba(0, 0, 0, .04)}.assistive-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.container{visibility:hidden;position:fixed;z-index:var(--calcite-z-index-overlay);box-sizing:border-box;display:flex;color:var(--calcite-color-text-2);opacity:0;transition:visibility 0ms linear var(--calcite-internal-animation-timing-medium),opacity var(--calcite-internal-animation-timing-medium) cubic-bezier(.215,.44,.42,.88)}:host([position=inline-start]) .container{justify-content:flex-start;inset-block:0;inset-inline:0 auto;--calcite-sheet-hidden-position-internal: translate3d(-1rem, 0, 0)}:host([position=inline-end]) .container{justify-content:flex-end;inset-block:0;inset-inline:auto 0;--calcite-sheet-hidden-position-internal: translate3d(1rem, 0, 0)}:host([position=block-start]) .container{align-items:flex-start;inset-block:0 auto;inset-inline:0;--calcite-sheet-hidden-position-internal: translate3d(0, -1rem, 0)}:host([position=block-end]) .container{align-items:flex-end;inset-block:auto 0;inset-inline:0;--calcite-sheet-hidden-position-internal: translate3d(0, 1rem, 0)}:host([display-mode=float]) .content{--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)}:host([display-mode=overlay][position=inline-start]) .container{box-shadow:var(--calcite-scrim-shadow-inline-start-internal)}:host([display-mode=overlay][position=inline-end]) .container{box-shadow:var(--calcite-scrim-shadow-inline-end-internal)}:host([display-mode=overlay][position=block-start]) .container{box-shadow:var(--calcite-scrim-shadow-block-start-internal)}:host([display-mode=overlay][position=block-end]) .container{box-shadow:var(--calcite-scrim-shadow-block-end-internal)}:host([position^=inline]) .content{inline-size:var(--calcite-sheet-width-internal);max-inline-size:var(--calcite-sheet-max-width-internal);min-inline-size:var(--calcite-sheet-min-width-internal)}:host([position^=block]) .content{block-size:var(--calcite-sheet-height-internal);max-block-size:var(--calcite-sheet-max-height-internal);min-block-size:var(--calcite-sheet-min-height-internal)}:host([position^=inline]) .width-s{--calcite-sheet-width-internal: var(--calcite-sheet-width, 15vw);--calcite-sheet-max-width-internal: var(--calcite-sheet-max-width, 360px);--calcite-sheet-min-width-internal: var(--calcite-sheet-min-width, 260px)}:host([position^=inline]) .width-m{--calcite-sheet-width-internal: var(--calcite-sheet-width, 25vw);--calcite-sheet-max-width-internal: var(--calcite-sheet-max-width, 420px);--calcite-sheet-min-width-internal: var(--calcite-sheet-min-width, 300px)}:host([position^=inline]) .width-l{--calcite-sheet-width-internal: var(--calcite-sheet-width, 45vw);--calcite-sheet-max-width-internal: var(--calcite-sheet-max-width, 680px);--calcite-sheet-min-width-internal: var(--calcite-sheet-min-width, 340px)}:host([position^=block]) .height-s{--calcite-sheet-min-height-internal: var(--calcite-sheet-min-height, 160px);--calcite-sheet-height-internal: var(--calcite-sheet-height, 30vh);--calcite-sheet-max-height-internal: var(--calcite-sheet-max-height, 30vh)}:host([position^=block]) .height-m{--calcite-sheet-min-height-internal: var(--calcite-sheet-min-height, 200px);--calcite-sheet-height-internal: var(--calcite-sheet-height, 45vh);--calcite-sheet-max-height-internal: var(--calcite-sheet-max-height, 50vh)}:host([position^=block]) .height-l{--calcite-sheet-min-height-internal: var(--calcite-sheet-min-height, 240px);--calcite-sheet-height-internal: var(--calcite-sheet-height, 60vh);--calcite-sheet-max-height-internal: var(--calcite-sheet-max-height, 70vh)}.scrim{--calcite-scrim-background: var(--calcite-sheet-scrim-background, var(--calcite-sheet-scrim-background-internal));position:fixed;inset:0;display:flex;overflow:hidden}:host([opened]){visibility:visible!important}.content{position:relative;z-index:var(--calcite-z-index-modal);box-sizing:border-box;display:flex;max-height:100%;max-width:100%;padding:0;background-color:var(--calcite-color-foreground-1);max-block-size:100%;visibility:hidden;transition:transform var(--calcite-internal-animation-timing-medium) cubic-bezier(.215,.44,.42,.88),visibility 0ms linear var(--calcite-internal-animation-timing-medium),opacity var(--calcite-internal-animation-timing-medium) cubic-bezier(.215,.44,.42,.88);transform:var(--calcite-sheet-hidden-position-internal)}.content-container{position:relative;display:flex;max-height:100%;max-width:100%;flex:1 1 0%;overflow:hidden}.container--open .content{transform:translateZ(0)}:host([display-mode=float]) .content,:host([display-mode=float]) .container,:host([display-mode=float]) .content-container{border-radius:.25rem}:host([display-mode=float]) .container{padding:.75rem}.container--open{visibility:visible;opacity:1;transition-delay:0ms}.container--open .content{pointer-events:auto;visibility:visible;opacity:1;transition:transform var(--calcite-internal-animation-timing-medium) cubic-bezier(.215,.44,.42,.88),visibility 0ms linear,opacity var(--calcite-internal-animation-timing-medium) cubic-bezier(.215,.44,.42,.88),max-inline-size var(--calcite-internal-animation-timing-medium) cubic-bezier(.215,.44,.42,.88),max-block-size var(--calcite-internal-animation-timing-medium) cubic-bezier(.215,.44,.42,.88);transition-delay:0ms}:host([position=inline-start]) .content,:host([position=inline-end]) .content{height:100%}:host([position=inline-start]) .content{flex-direction:row}:host([position=inline-end]) .content{flex-direction:row-reverse}:host([position=block-start]) .content,:host([position=block-end]) .content{width:100%}:host([position=block-start]) .content{flex-direction:column}:host([position=block-end]) .content{flex-direction:column-reverse}:host([resizable][position=inline-start]) .content{padding-inline-end:var(--calcite-size-fixed-sm-plus)}:host([resizable][position=inline-end]) .content{padding-inline-start:var(--calcite-size-fixed-sm-plus)}:host([resizable][position=block-start]) .content{padding-block-end:var(--calcite-size-fixed-sm-plus)}:host([resizable][position=block-end]) .content{padding-block-start:var(--calcite-size-fixed-sm-plus)}.resize-handle{position:absolute;box-sizing:border-box;display:flex;-webkit-user-select:none;user-select:none;align-items:center;justify-content:center;outline:2px solid transparent;outline-offset:2px;--calcite-internal-sheet-resize-handle-offset: calc( (var(--calcite-size-fixed-xxl) - var(--calcite-size-fixed-sm-plus)) / 2 * -1 );z-index:var(--calcite-z-index-overlay)}.resize-handle:active .resize-handle-bar,.resize-handle:hover .resize-handle-bar{background-color:var(--calcite-color-foreground-3);color:var(--calcite-color-text-1)}.resize-handle-bar{pointer-events:none;display:flex;align-items:center;justify-content:center;background-color:var(--calcite-color-background);color:var(--calcite-color-border-input)}.resize-handle:focus .resize-handle-bar{outline-color:transparent;outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)))}:host([position=inline-start]) .resize-handle{inline-size:var(--calcite-size-fixed-xxl);right:var(--calcite-internal-sheet-resize-handle-offset);block-size:100%}:host([position=inline-start]) .resize-handle-bar{block-size:100%;inline-size:var(--calcite-size-fixed-sm-plus);border-inline-start:1px solid var(--calcite-color-border-3)}:host([position=inline-start]):host([display-mode=float]) .resize-handle-bar{border-start-end-radius:.25rem;border-end-end-radius:.25rem}:host([position=inline-end]) .resize-handle{inline-size:var(--calcite-size-fixed-xxl);left:var(--calcite-internal-sheet-resize-handle-offset);block-size:100%}:host([position=inline-end]) .resize-handle-bar{block-size:100%;inline-size:var(--calcite-size-fixed-sm-plus);border-inline-end:1px solid var(--calcite-color-border-3)}:host([position=inline-end]):host([display-mode=float]) .resize-handle-bar{border-start-start-radius:.25rem;border-end-start-radius:.25rem}:host([position=block-start]) .resize-handle{block-size:var(--calcite-size-fixed-xxl);inline-size:100%;inset-block-end:var(--calcite-internal-sheet-resize-handle-offset)}:host([position=block-start]) .resize-handle-bar{inline-size:100%;block-size:var(--calcite-size-fixed-sm-plus);border-block-start:1px solid var(--calcite-color-border-3)}:host([position=block-start]):host([display-mode=float]) .resize-handle-bar{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}:host([position=block-end]) .resize-handle{block-size:var(--calcite-size-fixed-xxl);inline-size:100%;inset-block-start:var(--calcite-internal-sheet-resize-handle-offset)}:host([position=block-end]) .resize-handle-bar{inline-size:100%;block-size:var(--calcite-size-fixed-sm-plus);border-block-end:1px solid var(--calcite-color-border-3)}:host([position=block-end]):host([display-mode=float]) .resize-handle-bar{border-top-left-radius:.25rem;border-top-right-radius:.25rem}:host([position]) .container--embedded{pointer-events:auto;position:absolute;inline-size:100%;max-inline-size:100%;min-inline-size:100%;block-size:100%;max-block-size:100%;min-block-size:100%}:host([position]) .container--embedded calcite-scrim{position:absolute}:host([hidden]){display:none}[hidden]{display:none}`,C=class extends O{constructor(){super(),this.focusTrap=P({triggerProp:"open",focusTrapOptions:{clickOutsideDeactivates:!1,escapeDeactivates:e=>(!e.defaultPrevented&&!this.escapeDisabled&&(this.open=!1,e.preventDefault()),!1)}})(this),this.ignoreOpenChange=!1,this.messages=R(),this.mutationObserver=$("mutation",()=>this.handleMutationObserver()),this._open=!1,this.openEnd=()=>{this.setFocus(),this.el.removeEventListener("calciteSheetOpen",this.openEnd)},this.openProp="opened",this.transitionProp="opacity",this.resizeValues={inlineSize:0,blockSize:0,minInlineSize:0,minBlockSize:0,maxInlineSize:0,maxBlockSize:0},this.displayMode="overlay",this.embedded=!1,this.escapeDisabled=!1,this.focusTrapDisabled=!1,this.heightScale="m",this.opened=!1,this.outsideCloseDisabled=!1,this.position="inline-start",this.resizable=!1,this.widthScale="m",this.calciteSheetBeforeClose=z({cancelable:!1}),this.calciteSheetBeforeOpen=z({cancelable:!1}),this.calciteSheetClose=z({cancelable:!1}),this.calciteSheetOpen=z({cancelable:!1}),this.keyDownHandler=e=>{let{defaultPrevented:t,key:s}=e;!t&&!this.escapeDisabled&&this.focusTrapDisabled&&this.open&&s==="Escape"&&(e.preventDefault(),this.open=!1)},this.listen("keydown",this.keyDownHandler)}static{this.properties={resizeValues:16,beforeClose:0,displayMode:3,embedded:5,escapeDisabled:7,focusTrapDisabled:7,focusTrapOptions:0,heightScale:3,height:3,label:1,messageOverrides:0,open:7,opened:7,outsideCloseDisabled:7,position:3,resizable:7,widthScale:3,width:3}}static{this.styles=j}get open(){return this._open}set open(e){let t=this._open;e!==t&&(this._open=e,this.toggleSheet(e))}async setFocus(){await A(this),M(this.el)}async updateFocusTrapElements(e){this.focusTrap.updateContainerElements(e)}connectedCallback(){super.connectedCallback(),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.setupInteractions()}load(){this.open&&this.openSheet()}willUpdate(e){e.has("opened")&&(this.hasUpdated||this.opened!==!1)&&V(this),(e.has("open")&&(this.hasUpdated||this.open!==!1)||e.has("position")&&(this.hasUpdated||this.position!=="inline-start")||e.has("resizable")&&(this.hasUpdated||this.resizable!==!1))&&this.setupInteractions()}loaded(){}disconnectedCallback(){super.disconnectedCallback(),this.removeOverflowHiddenClass(),this.mutationObserver?.disconnect(),this.embedded=!1,this.cleanupInteractions()}toggleSheet(e){this.ignoreOpenChange||(e?this.openSheet():this.closeSheet())}getResizeIcon(){let{position:e}=this;return e==="block-start"||e==="block-end"?"drag-resize-vertical":"drag-resize-horizontal"}getContentElDOMRect(){return this.contentEl.getBoundingClientRect()}handleKeyDown(e){let{key:t,defaultPrevented:s,shiftKey:n}=e,{position:i,resizable:o,contentEl:m,el:r,resizeValues:{maxBlockSize:x,maxInlineSize:u,minBlockSize:v,minInlineSize:f}}=this,c=[...i==="block-end"||i==="block-start"?["ArrowUp","ArrowDown"]:["ArrowLeft","ArrowRight"],"Home","End"];if(!o||!m||s||!c.includes(t))return;let h=this.getContentElDOMRect(),b=k(r)==="rtl"?-1:1,a=n?F:U;switch(t){case"ArrowUp":this.updateSize({size:h.height+(i==="block-end"?a:-a),type:"blockSize"}),e.preventDefault();break;case"ArrowDown":this.updateSize({size:h.height+(i==="block-end"?-a:a),type:"blockSize"}),e.preventDefault();break;case"ArrowLeft":this.updateSize({size:h.width+(i==="inline-end"?a:-a)*b,type:"inlineSize"}),e.preventDefault();break;case"ArrowRight":this.updateSize({size:h.width+(i==="inline-end"?-a:a)*b,type:"inlineSize"}),e.preventDefault();break;case"Home":this.updateSize({size:i==="block-start"||i==="block-end"?v:f,type:i==="block-start"||i==="block-end"?"blockSize":"inlineSize"});break;case"End":this.updateSize({size:i==="block-start"||i==="block-end"?x:u,type:i==="block-start"||i==="block-end"?"blockSize":"inlineSize"});break}}updateSize({type:e,size:t}){let{contentEl:s,resizeValues:n}=this;if(!s)return;let i=e==="blockSize"?"minBlockSize":"minInlineSize",o=e==="blockSize"?"maxBlockSize":"maxInlineSize",m=n[i]&&n[o]?L(t,n[i],n[o]):t,r=Math.round(m);this.resizeValues={...n,[e]:r},s.style[e]=t!==null?`${r}px`:null}cleanupInteractions(){this.interaction?.unset(),this.updateSize({size:null,type:"inlineSize"}),this.updateSize({size:null,type:"blockSize"})}setupInteractions(){this.cleanupInteractions();let{el:e,contentEl:t,resizable:s,position:n,open:i,resizeHandleEl:o}=this;if(!t||!i||!s||!o)return;let{inlineSize:m,minInlineSize:r,blockSize:x,minBlockSize:u,maxInlineSize:v,maxBlockSize:f}=window.getComputedStyle(t),c={inlineSize:p(m)?parseInt(m):0,blockSize:p(x)?parseInt(x):0,minInlineSize:p(r)?parseInt(r):0,minBlockSize:p(u)?parseInt(u):0,maxInlineSize:p(v)?parseInt(v):window.innerWidth,maxBlockSize:p(f)?parseInt(f):window.innerHeight};this.resizeValues=c;let h=k(e)==="rtl";this.interaction=S(t,{context:e.ownerDocument}).resizable({edges:{top:n==="block-end"?o:!1,right:n===(h?"inline-end":"inline-start")?o:!1,bottom:n==="block-start"?o:!1,left:n===(h?"inline-start":"inline-end")?o:!1},modifiers:[S.modifiers.restrictSize({min:{width:c.minInlineSize,height:c.minBlockSize},max:{width:c.maxInlineSize,height:c.maxBlockSize}})],listeners:{move:({rect:b})=>{let a=n==="block-start"||n==="block-end";this.updateSize({size:a?b.height:b.width,type:a?"blockSize":"inlineSize"})}}})}onBeforeOpen(){this.calciteSheetBeforeOpen.emit()}onOpen(){this.calciteSheetOpen.emit(),this.focusTrap.activate()}onBeforeClose(){this.calciteSheetBeforeClose.emit()}onClose(){this.calciteSheetClose.emit(),this.focusTrap.deactivate()}setResizeHandleEl(e){this.resizeHandleEl=e,this.setupInteractions()}setContentEl(e){this.contentEl=e,this.contentId=T(e)}setTransitionEl(e){this.transitionEl=e}async openSheet(){await this.componentOnReady(),this.el.addEventListener("calciteSheetOpen",this.openEnd),this.opened=!0,this.embedded||(this.initialOverflowCSS=document.documentElement.style.overflow,document.documentElement.style.setProperty("overflow","hidden"))}handleOutsideClose(){this.outsideCloseDisabled||(this.open=!1)}async closeSheet(){if(this.beforeClose)try{await this.beforeClose(this.el)}catch{requestAnimationFrame(()=>{this.ignoreOpenChange=!0,this.open=!0,this.ignoreOpenChange=!1});return}this.opened=!1,this.removeOverflowHiddenClass()}removeOverflowHiddenClass(){document.documentElement.style.setProperty("overflow",this.initialOverflowCSS)}handleMutationObserver(){this.updateFocusTrapElements()}render(){let{resizable:e,position:t,resizeValues:s}=this,n=k(this.el),i=t==="block-start"||t==="block-end";return I(this.el,"aria-describedby",this.contentId),this.el.ariaLabel=this.label,this.el.ariaModal="true",this.el.role="dialog",w`<div class=${d({[l.container]:!0,[l.containerOpen]:this.opened,[l.containerEmbedded]:this.embedded,[D.rtl]:n==="rtl",[y("width",this.width,this.widthScale)]:!!(this.width||this.widthScale),[y("height",this.height,this.heightScale)]:!!(this.height||this.heightScale)})} ${g(this.setTransitionEl)}><calcite-scrim class=${d(l.scrim)} @click=${this.handleOutsideClose}></calcite-scrim><div class=${d(l.content)} ${g(this.setContentEl)}><div class=${d(l.contentContainer)}><slot></slot></div>${e?H("resize-handle",w`<div .ariaLabel=${this.messages.resizeEnabled} .ariaOrientation=${i?"vertical":"horizontal"} .ariaValueMax=${i?s.maxBlockSize:s.maxInlineSize} .ariaValueMin=${i?s.minBlockSize:s.minInlineSize} .ariaValueNow=${i?s.blockSize:s.inlineSize} class=${d(l.resizeHandle)} @keydown=${this.handleKeyDown} role=separator tabindex=0 touch-action=none ${g(this.setResizeHandleEl)}><div class=${d(l.resizeHandleBar)}><calcite-icon .icon=${this.getResizeIcon()} scale=s></calcite-icon></div></div>`):null}</div></div>`}};B("calcite-sheet",C);export{C as Sheet};
|
@@ -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.0.0 */
|
4
|
+
import{j as r,m as s,n as i,r as o}from"./KVSCG5E3.js";var c=s(class extends i{constructor(){super(...arguments),this.key=r}render(t,e){return this.key=t,e}update(t,[e,a]){return e!==this.key&&(o(t),this.key=e),a}});export{c 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.0.0 */
|
4
|
+
import{a as $,b as y}from"./LOZEGKG2.js";import{b as z}from"./QU33PBBI.js";import{u as w}from"./CMO3X257.js";import{b as C}from"./GN5CPLSJ.js";import"./I2OIH73C.js";import{J as k,e as u,f as n,v,w as f,x as i,z as x}from"./KVSCG5E3.js";var t={container:"container",contentContainer:"content-container",contentContainerHasContent:"content-container--has-content",contentContainerHasOnlyContentTopAndBottom:"content-container--has-only-content-top-and-bottom",textContentContainer:"text-content-container",description:"description",heading:"heading",icon:"icon",interactive:"interactive",largeVisualDeprecated:"large-visual-deprecated",row:"row",selected:"selected",selectionIcon:"selection-icon",textContent:"text-content"},s={selectedMultiple:"check-square-f",selectedSingle:"circle-f",unselectedMultiple:"square",unselectedSingle:"circle"},d={contentBottom:"content-bottom",contentEnd:"content-end",contentStart:"content-start",contentTop:"content-top"},D=u`: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{box-shadow:var(--calcite-tile-shadow, var(--calcite-shadow-none));box-sizing:border-box;display:inline-block}calcite-link{--calcite-link-text-color: var(--calcite-tile-link-text-color)}.container{background-color:var(--calcite-tile-background-color, var(--calcite-color-foreground-1));block-size:var(--calcite-container-size-content-fluid);border-radius:var(--calcite-tile-corner-radius, var(--calcite-corner-radius));box-sizing:border-box;color:var(--calcite-tile-text-color, var(--calcite-color-text-3));inline-size:var(--calcite-container-size-content-fluid);outline:var(--calcite-border-width-sm, 1px) solid var(--calcite-tile-border-color, var(--calcite-color-border-2));padding:var(--calcite-internal-tile-spacing);position:relative;-webkit-user-select:none;user-select:none}.container .selection-icon{color:var(--calcite-tile-text-color, var(--calcite-color-text-3))}.container.interactive{cursor:pointer}.container.interactive:hover,.container.interactive:focus,.container.interactive.selected{outline-color:var(--calcite-tile-accent-color-press, var(--calcite-color-brand));z-index:var(--calcite-z-index)}.container.interactive:hover .selection-icon,.container.interactive:focus .selection-icon,.container.interactive.selected .selection-icon{color:var(--calcite-tile-accent-color-press, var(--calcite-color-brand))}.container.interactive:focus{box-shadow:inset 0 0 0 1px var(--calcite-tile-accent-color-press, var(--calcite-color-brand));z-index:calc(var(--calcite-z-index) + 1)}.content-container,.row{align-items:flex-start;display:flex}.content-container{flex-direction:column;word-wrap:break-word;word-break:break-word;inline-size:var(--calcite-container-size-content-fluid)}.text-content-container{inline-size:100%;outline-color:transparent;padding:0}.text-content{display:flex;flex-direction:column}.heading{color:var(--calcite-tile-heading-text-color, var(--calcite-color-text-2));font-weight:var(--calcite-font-weight-medium);line-height:1.20313rem;overflow-wrap:break-word}.description{font-weight:var(--calcite-font-weight-regular);overflow-wrap:break-word}.large-visual-deprecated{align-items:center;justify-content:center;min-block-size:12rem;text-align:center}.large-visual-deprecated .icon{align-self:center;block-size:64px;inline-size:64px}.large-visual-deprecated .selection-icon{position:absolute;inset-inline-start:var(--calcite-internal-tile-spacing);inset-block-start:var(--calcite-internal-tile-spacing);z-index:var(--calcite-z-index)}.large-visual-deprecated .text-content-container{justify-content:center}:host([alignment=center]) .icon{align-self:center}:host([alignment=center]) .text-content{text-align:center}:host([alignment=center]) slot[name=content-start]::slotted(*),:host([alignment=center]) slot[name=content-end]::slotted(*){align-self:center}:host([scale=s]){--calcite-internal-tile-spacing: var(--calcite-spacing-sm);max-inline-size:400px;min-inline-size:100px}:host([scale=s]) .heading{font-size:var(--calcite-font-size--2);line-height:1.03125rem}:host([scale=s]) .description{font-size:var(--calcite-font-size--3);line-height:.85938rem}:host([scale=m]){--calcite-internal-tile-spacing: var(--calcite-spacing-md);max-inline-size:460px;min-inline-size:140px}:host([scale=m]) .heading{font-size:var(--calcite-font-size--1);line-height:1.20313rem}:host([scale=m]) .description{font-size:var(--calcite-font-size--2);line-height:1.03125rem}:host([scale=l]){--calcite-internal-tile-spacing: var(--calcite-spacing-lg);max-inline-size:520px;min-inline-size:160px}:host([scale=l]) .heading{font-size:var(--calcite-font-size-0);line-height:1.375rem}:host([scale=l]) .description{font-size:var(--calcite-font-size--1);line-height:1.20313rem}.content-container--has-content,.row{gap:var(--calcite-internal-tile-spacing)}.content-container--has-only-content-top-and-bottom slot[name=content-top]::slotted(*){margin-block-end:var(--calcite-internal-tile-spacing)}:host([selection-appearance=border][layout=horizontal]) .container.selected:focus:before,:host([selection-appearance=border][layout=vertical]) .container.selected:focus:before{block-size:100%;box-shadow:inset 0 0 0 1px var(--calcite-tile-accent-color-press, var(--calcite-color-brand));content:"";display:block;inline-size:100%;inset-block-start:0;inset-inline-start:0;position:absolute}:host([selection-appearance=border][layout=horizontal]) .container.selected{box-shadow:inset 0 -4px 0 0 var(--calcite-tile-accent-color-press, var(--calcite-color-brand))}:host([selection-appearance=border][layout=vertical]) .container.selected{box-shadow:inset 4px 0 0 0 var(--calcite-tile-accent-color-press, var(--calcite-color-brand))}:host(:hover:not([disabled])) .heading,:host([active]:not([disabled])) .heading{color:var(--calcite-tile-heading-text-color, var(--calcite-color-text-1))}:host(:hover:not([disabled])) .description,:host([active]:not([disabled])) .description{color:var(--calcite-tile-text-color, var(--calcite-color-text-2))}:host([href]:focus:not([disabled])) .container,:host([href]:hover:not([disabled])) .container{outline-color:var(--calcite-tile-link-color, var(--calcite-color-text-link));z-index:var(--calcite-z-index)}:host([href]:focus:not([disabled])) .icon,:host([href]:hover:not([disabled])) .icon{color:var(--calcite-tile-link-color, var(--calcite-color-text-link))}:host([href]:focus:not([disabled])) .heading,:host([href]:hover:not([disabled])) .heading{color:var(--calcite-tile-link-color, var(--calcite-color-text-link))}:host([href]:active:not([disabled])) .container{box-shadow:inset 0 0 0 1px var(--calcite-tile-link-color, var(--calcite-color-text-link));outline-color:var(--calcite-tile-link-color, var(--calcite-color-text-link))}:host([embed]) .container{padding:0}:host([selection-mode=none]) .container:hover,:host([selection-mode=none]) .container.selected{outline-color:var(--calcite-tile-border-color, var(--calcite-color-border-2))}:host([selection-mode=none]) .container:focus{outline-color:var(--calcite-tile-accent-color-press, var(--calcite-color-brand))}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}::slotted(*){max-inline-size:100%}`,p=class extends f{constructor(){super(),this.hasContentBottom=!1,this.hasContentEnd=!1,this.hasContentStart=!1,this.hasContentTop=!1,this.active=!1,this.alignment="start",this.disabled=!1,this.embed=!1,this.iconFlipRtl=!1,this.interactive=!1,this.layout="horizontal",this.scale="m",this.selected=!1,this.selectionAppearance="icon",this.selectionMode="none",this.calciteInternalTileKeyEvent=v({cancelable:!1}),this.calciteTileSelect=v(),this.listen("keydown",this.keyDownHandler)}static{this.properties={hasContentBottom:16,hasContentEnd:16,hasContentStart:16,hasContentTop:16,active:7,alignment:3,description:3,disabled:7,embed:7,heading:3,href:3,icon:3,iconFlipRtl:7,interactive:5,label:1,layout:3,scale:3,selected:7,selectionAppearance:3,selectionMode:3}}static{this.styles=D}async setFocus(){await C(this),!this.disabled&&this.interactive&&this.containerEl?.focus()}load(){}updated(){$(this)}loaded(){}clickHandler(){this.interactive&&(this.setFocus(),this.handleSelectEvent())}handleSelectEvent(){this.disabled||!this.interactive||this.selectionMode==="single-persist"&&this.selected===!0||this.calciteTileSelect.emit()}handleSlotChange(e){let c=e.target.dataset.name;this[`has${c}`]=w(e)}setContainerEl(e){this.containerEl=e}keyDownHandler(e){if(e.target===this.el)switch(e.key){case" ":case"Enter":this.handleSelectEvent(),e.preventDefault();break;case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"ArrowUp":case"Home":case"End":this.calciteInternalTileKeyEvent.emit(e),e.preventDefault();break}}renderSelectionIcon(){let{selected:e,selectionAppearance:c,selectionMode:a}=this;if(c==="icon"&&a!=="none")return n`<calcite-icon class=${i(t.selectionIcon)} .icon=${e?a==="multiple"?s.selectedMultiple:s.selectedSingle:a==="multiple"?s.unselectedMultiple:s.unselectedSingle} scale=s></calcite-icon>`}renderTile(){let{description:e,disabled:c,hasContentBottom:a,hasContentEnd:S,hasContentStart:E,hasContentTop:T,heading:l,icon:r,iconFlipRtl:A,interactive:o,selectionMode:h}=this,H=l&&r&&!e,b=!!this.href||!o,g=h==="multiple"&&o?"checkbox":h!=="none"&&o?"radio":o?"button":void 0,m=!!(e||S||E||l||r),M=!m&&T&&a;return n`<div .ariaChecked=${h!=="none"&&o?this.selected:void 0} .ariaDisabled=${b?c:void 0} .ariaLabel=${g&&this.label} class=${i({[t.container]:!0,[t.interactive]:o,[t.largeVisualDeprecated]:H,[t.row]:!0,[t.selected]:this.selected})} @click=${this.clickHandler} .role=${g} tabindex=${(b?void 0:0)??x} ${z(this.setContainerEl)}>${this.renderSelectionIcon()}<div class=${i({[t.contentContainer]:!0,[t.contentContainerHasContent]:m,[t.contentContainerHasOnlyContentTopAndBottom]:M})}><slot name=${d.contentTop} @slotchange=${this.handleSlotChange}></slot>${r&&n`<calcite-icon class=${i(t.icon)} .flipRtl=${A} .icon=${r} scale=l></calcite-icon>`||""}<div class=${i({[t.textContentContainer]:!0,[t.row]:!0})}><slot name=${d.contentStart} @slotchange=${this.handleSlotChange}></slot><div class=${i(t.textContent)}>${l&&n`<div class=${i(t.heading)}>${l}</div>`||""}${e&&n`<div class=${i(t.description)}>${e}</div>`||""}</div><slot name=${d.contentEnd} @slotchange=${this.handleSlotChange}></slot></div><slot name=${d.contentBottom} @slotchange=${this.handleSlotChange}></slot></div></div>`}render(){let{disabled:e}=this;return y({disabled:e,children:this.href?n`<calcite-link .disabled=${e} .href=${this.href}>${this.renderTile()}</calcite-link>`:this.renderTile()})}};k("calcite-tile",p);export{p as Tile};
|
@@ -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.0.0 */
|
4
|
+
var a={brand:"lightbulb",danger:"exclamationMarkTriangle",info:"information",success:"checkCircle",warning:"exclamationMarkTriangle"};export{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.0.0 */
|
4
|
+
import{a as E}from"./I2OIH73C.js";import{C as p}from"./KVSCG5E3.js";var L=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],g=L.join(","),x=typeof Element>"u",f=x?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,m=!x&&Element.prototype.getRootNode?function(t){var n;return t==null||(n=t.getRootNode)===null||n===void 0?void 0:n.call(t)}:function(t){return t?.ownerDocument},h=function t(n,e){var r;e===void 0&&(e=!0);var o=n==null||(r=n.getAttribute)===null||r===void 0?void 0:r.call(n,"inert"),a=o===""||o==="true",i=a||e&&n&&t(n.parentNode);return i},k=function(t){var n,e=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"contenteditable");return e===""||e==="true"},F=function(t,n,e){if(h(t))return[];var r=Array.prototype.slice.apply(t.querySelectorAll(g));return n&&f.call(t,g)&&r.unshift(t),r=r.filter(e),r},M=function t(n,e,r){for(var o=[],a=Array.from(n);a.length;){var i=a.shift();if(!h(i,!1))if(i.tagName==="SLOT"){var u=i.assignedElements(),c=u.length?u:i.children,s=t(c,!0,r);r.flatten?o.push.apply(o,s):o.push({scopeParent:i,candidates:s})}else{var l=f.call(i,g);l&&r.filter(i)&&(e||!n.includes(i))&&o.push(i);var d=i.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(i),O=!h(d,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(i));if(d&&O){var S=t(d===!0?i.children:d.children,!0,r);r.flatten?o.push.apply(o,S):o.push({scopeParent:i,candidates:S})}else a.unshift.apply(a,i.children)}}return o},T=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},C=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||k(t))&&!T(t)?0:t.tabIndex},P=function(t,n){var e=C(t);return e<0&&n&&!T(t)?0:e},$=function(t,n){return t.tabIndex===n.tabIndex?t.documentOrder-n.documentOrder:t.tabIndex-n.tabIndex},R=function(t){return t.tagName==="INPUT"},q=function(t){return R(t)&&t.type==="hidden"},B=function(t){var n=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(e){return e.tagName==="SUMMARY"});return n},U=function(t,n){for(var e=0;e<t.length;e++)if(t[e].checked&&t[e].form===n)return t[e]},j=function(t){if(!t.name)return!0;var n=t.form||m(t),e=function(a){return n.querySelectorAll('input[type="radio"][name="'+a+'"]')},r;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")r=e(window.CSS.escape(t.name));else try{r=e(t.name)}catch(a){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",a.message),!1}var o=U(r,t.form);return!o||o===t},z=function(t){return R(t)&&t.type==="radio"},X=function(t){return z(t)&&!j(t)},_=function(t){var n,e=t&&m(t),r=(n=e)===null||n===void 0?void 0:n.host,o=!1;if(e&&e!==t){var a,i,u;for(o=!!((a=r)!==null&&a!==void 0&&(i=a.ownerDocument)!==null&&i!==void 0&&i.contains(r)||t!=null&&(u=t.ownerDocument)!==null&&u!==void 0&&u.contains(t));!o&&r;){var c,s,l;e=m(r),r=(c=e)===null||c===void 0?void 0:c.host,o=!!((s=r)!==null&&s!==void 0&&(l=s.ownerDocument)!==null&&l!==void 0&&l.contains(r))}}return o},N=function(t){var n=t.getBoundingClientRect(),e=n.width,r=n.height;return e===0&&r===0},G=function(t,n){var e=n.displayCheck,r=n.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;var o=f.call(t,"details>summary:first-of-type"),a=o?t.parentElement:t;if(f.call(a,"details:not([open]) *"))return!0;if(!e||e==="full"||e==="legacy-full"){if(typeof r=="function"){for(var i=t;t;){var u=t.parentElement,c=m(t);if(u&&!u.shadowRoot&&r(u)===!0)return N(t);t.assignedSlot?t=t.assignedSlot:!u&&c!==t.ownerDocument?t=c.host:t=u}t=i}if(_(t))return!t.getClientRects().length;if(e!=="legacy-full")return!0}else if(e==="non-zero-area")return N(t);return!1},V=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var n=t.parentElement;n;){if(n.tagName==="FIELDSET"&&n.disabled){for(var e=0;e<n.children.length;e++){var r=n.children.item(e);if(r.tagName==="LEGEND")return f.call(n,"fieldset[disabled] *")?!0:!r.contains(t)}return!0}n=n.parentElement}return!1},W=function(t,n){return!(n.disabled||h(n)||q(n)||G(n,t)||B(n)||V(n))},b=function(t,n){return!(X(n)||C(n)<0||!W(t,n))},Y=function(t){var n=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(n)||n>=0)},H=function t(n){var e=[],r=[];return n.forEach(function(o,a){var i=!!o.scopeParent,u=i?o.scopeParent:o,c=P(u,i),s=i?t(o.candidates):u;c===0?i?e.push.apply(e,s):e.push(u):r.push({documentOrder:a,tabIndex:c,item:o,isScope:i,content:s})}),r.sort($).reduce(function(o,a){return a.isScope?o.push.apply(o,a.content):o.push(a.content),o},[]).concat(e)},J=function(t,n){n=n||{};var e;return n.getShadowRoot?e=M([t],n.includeContainer,{filter:b.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:Y}):e=F(t,n.includeContainer,b.bind(null,n)),H(e)},K={getShadowRoot:!0};function dt(t){return t?t.id=t.id||`${t.tagName.toLowerCase()}-${E()}`:""}function pt(t){return Array.isArray(t)?t:Array.from(t)}function mt(t){let n=w(t,`.${p.darkMode}, .${p.lightMode}, .${p.autoMode}`);return n?.classList.contains("calcite-mode-dark")||n?.classList.contains("calcite-mode-auto")&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function ht(t){let n="dir",e=`[${n}]`,r=w(t,e);return r?r.getAttribute(n):"ltr"}function gt(t){return t?parseFloat(getComputedStyle(t).inlineSize):0}function v(t){return t.getRootNode()}function yt(t){let n=v(t);return"host"in n?n:null}function vt(t,n){if(!t)return 0;let e=document.createElement("canvas").getContext("2d");return e.font=n,e.measureText(t).width}function I(t){return t.host||null}function Q(t,{selector:n,id:e}){if(!t)return null;t.assignedSlot&&(t=t.assignedSlot);let r=v(t);return(e?"getElementById"in r?r.getElementById(e):null:n?r.querySelector(n):null)||Q(I(r),{selector:n,id:e})}function w(t,n){return t?t.closest(n)||w(I(v(t)),n):null}function Z(t){return typeof t?.setFocus=="function"}async function tt(t){if(t)return Z(t)?t.setFocus():t.focus()}function nt(t){if(t)return J(t,K)[0]??t}function wt(t){nt(t)?.focus()}function St(t,n){return Array.from(t.children).filter(e=>e.matches(n))}function et(t,n){return t.filter(e=>e.matches(n))}function Et(t,n,e){if(typeof n=="string"&&n!=="")return n;if(n===""||n===!0)return t[e]}function Nt(t,n){return!(n.left>t.right||n.right<t.left||n.top>t.bottom||n.bottom<t.top)}function bt(t){return(!!t).toString()}function At(t){return at(t)||ot(t)}function rt(t){return it(t).filter(n=>n.nodeType===Node.TEXT_NODE).map(n=>n.textContent).join("").trim()}function xt(t){for(let n of t.childNodes)if(n.nodeType===Node.TEXT_NODE&&n.textContent?.trim()!==""||n.nodeType===Node.ELEMENT_NODE)return!0;return!1}function ot(t){return!!rt(t)}function it(t){return t.currentTarget.assignedNodes({flatten:!0})}function at(t){return!!ut(t).length}function ut(t,n){return ct(t.target,n)}function ct(t,n){let e=t.assignedElements({flatten:!0});return n?et(e,n):e}function Tt(t){return!!(t.isPrimary&&t.button===0)}function Ct(t){return t.detail===0}var Rt=(t,n,e,r=!0)=>{let o=t.indexOf(n),a=o===0,i=o===t.length-1;r&&(e=e==="previous"&&a?"last":e==="next"&&i?"first":e);let u;return e==="previous"?u=t[o-1]||t[r?t.length-1:o]:e==="next"?u=t[o+1]||t[r?0:o]:e==="last"?u=t[t.length-1]:u=t[0],tt(u),u};function It(t,n){if(t.parentNode!==n.parentNode)return!1;let e=Array.from(t.parentNode.children);return e.indexOf(t)<e.indexOf(n)}async function Dt(t,n,e,r){return D(t,n,"animation",e,r)}async function Ot(t,n,e,r){return D(t,n,"transition",e,r)}async function st(t,n){await y(),t?.(),await y(),n?.()}function A(t,n,e){let r=n==="transition"?"transitionProperty":"animationName";return t.getAnimations().find(o=>o[r]===e)}async function D(t,n,e,r,o){let a=A(t,e,n);if(a||(await y(),a=A(t,e,n)),!a)return st(r,o);r?.();try{await a.finished}catch{}finally{o?.()}}function y(){return new Promise(t=>requestAnimationFrame(()=>t()))}function Lt(t){return t.endsWith("px")}export{K as a,dt as b,pt as c,mt as d,ht as e,gt as f,v as g,yt as h,vt as i,Q as j,w as k,tt as l,nt as m,wt as n,St as o,Et as p,Nt as q,bt as r,At as s,xt as t,at as u,ut as v,ct as w,Tt as x,Ct as y,Rt as z,It as A,Dt as B,Ot as C,Lt as D};
|
@@ -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.0.0 */
|
4
|
+
import{G as i}from"./KVSCG5E3.js";function a(e,n,o){if(!i())return;let t=c(e);return new t(n,o)}function c(e){class n extends window.MutationObserver{constructor(t){super(t),this.observedEntry=[],this.callback=t}observe(t,r){return this.observedEntry.push({target:t,options:r}),super.observe(t,r)}unobserve(t){let r=this.observedEntry.filter(s=>s.target!==t);this.observedEntry=[],this.callback(super.takeRecords(),this),this.disconnect(),r.forEach(s=>this.observe(s.target,s.options))}}return function(){return e==="intersection"?window.IntersectionObserver:e==="mutation"?n:window.ResizeObserver}()}export{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.0.0 */
|
4
|
+
import{a as v}from"./BSRMWMHQ.js";import{a as R}from"./PZLVQQMT.js";import{d as c}from"./22RQB3WE.js";import"./4SEPDFCP.js";import{a as B}from"./FNFWOOMR.js";import"./OLMX7G3J.js";import{a as M}from"./SMUXJLDL.js";import{a as T}from"./CIV3PH3Z.js";import{a as O}from"./CNO6NFH5.js";import{a as A}from"./ARHYATTG.js";import{a as S,b as y}from"./QU33PBBI.js";import{D as f,n as P}from"./CMO3X257.js";import{b as I}from"./GN5CPLSJ.js";import"./I2OIH73C.js";import{J as E,e as D,f as w,v as g,w as C,x as b}from"./KVSCG5E3.js";var p={dialog:"dialog",panel:"panel",scrim:"scrim",container:"container",containerOpen:"container--open",containerEmbedded:"container--embedded",assistiveText:"assistive-text",openingActive:"dialog--opening-active"},n={actionBar:"action-bar",alerts:"alerts",content:"content",customContent:"custom-content",contentTop:"content-top",contentBottom:"content-bottom",headerActionsStart:"header-actions-start",headerActionsEnd:"header-actions-end",headerMenuActions:"header-menu-actions",headerContent:"header-content",fab:"fab",footer:"footer",footerStart:"footer-start",footerEnd:"footer-end"},m=25,x=25,L={x:0,y:0},U={top:0,right:0,bottom:0,left:0},F=D`:host{--calcite-dialog-scrim-background-color: rgba(0, 0, 0, .85);pointer-events:none;inset:0;z-index:var(--calcite-z-index-overlay);display:flex;--calcite-internal-dialog-animation-offset: 20px}:host([modal]){position:absolute}.container{pointer-events:auto;position:fixed;inset:0;z-index:var(--calcite-z-index-overlay);display:flex;align-items:center;justify-content:center;overflow:hidden;color:var(--calcite-color-text-2);opacity:0;visibility:hidden;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow),opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(.215,.44,.42,.88)}:host([placement=top]) .container{align-items:flex-start;justify-content:center}:host([placement=top-start]) .container{align-items:flex-start;justify-content:flex-start}:host([placement=top-end]) .container{align-items:flex-start;justify-content:flex-end}:host([placement=bottom]) .container{align-items:flex-end;justify-content:center}:host([placement=bottom-start]) .container{align-items:flex-end;justify-content:flex-start}:host([placement=bottom-end]) .container{align-items:flex-end;justify-content:flex-end}:host(:not([modal])) .container{pointer-events:none}:host([scale=s]){--calcite-internal-dialog-content-padding: var(--calcite-dialog-content-space, var(--calcite-spacing-sm));--calcite-internal-dialog-min-size-x: 198px;--calcite-internal-dialog-min-size-y: 140px}:host([scale=m]){--calcite-internal-dialog-content-padding: var(--calcite-dialog-content-space, var(--calcite-spacing-md));--calcite-internal-dialog-min-size-x: 288px;--calcite-internal-dialog-min-size-y: 180px}:host([scale=l]){--calcite-internal-dialog-content-padding: var(--calcite-dialog-content-space, var(--calcite-spacing-md-plus));--calcite-internal-dialog-min-size-x: 388px;--calcite-internal-dialog-min-size-y: 220px}.scrim{--calcite-scrim-background: var(--calcite-dialog-scrim-background-color, var(--calcite-color-transparent-scrim));--calcite-scrim-background-color: var( --calcite-dialog-scrim-background-color, var(--calcite-color-transparent-scrim) );position:fixed;inset:0;display:flex;overflow-y:hidden}calcite-panel{--calcite-panel-content-space: var(--calcite-dialog-content-space, var(--calcite-internal-dialog-content-padding));--calcite-panel-footer-space: var(--calcite-dialog-footer-space);--calcite-panel-border-color: var(--calcite-dialog-border-color);--calcite-panel-background-color: var(--calcite-dialog-background-color, var(--calcite-color-foreground-1))}::slotted(*){--calcite-panel-background-color: initial}.dialog{pointer-events:none;position:relative;z-index:var(--calcite-z-index-modal);margin:1.5rem;box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;border-radius:.25rem;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:inset-block var(--calcite-internal-animation-timing-slow) cubic-bezier(.215,.44,.42,.88),opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(.215,.44,.42,.88);min-inline-size:var(--calcite-dialog-min-size-x, var(--calcite-internal-dialog-min-size-x));max-inline-size:var(--calcite-dialog-max-size-x, 100%);min-block-size:var(--calcite-dialog-min-size-y, var(--calcite-internal-dialog-min-size-y));max-block-size:var(--calcite-dialog-max-size-y, 100%);--calcite-internal-dialog-hidden-position: calc( var(--calcite-dialog-offset-y, 0px) + var(--calcite-internal-dialog-animation-offset) );--calcite-internal-dialog-shown-position: var(--calcite-dialog-offset-y, 0);inset-inline-start:var(--calcite-dialog-offset-x, 0);inset-block-start:var(--calcite-internal-dialog-hidden-position)}.dialog--opening-active{inset-block-start:var(--calcite-internal-dialog-shown-position)}:host([menu-open]) .dialog{transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow),opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(.215,.44,.42,.88)}.panel{border-radius:.25rem}.container--open{opacity:1;visibility:visible;transition-delay:0ms}.container--open .dialog{pointer-events:auto;visibility:visible;opacity:1;transition:inset-block var(--calcite-internal-animation-timing-slow) cubic-bezier(.215,.44,.42,.88),opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(.215,.44,.42,.88);transition-delay:0ms}.width-s{inline-size:auto;inline-size:var(--calcite-dialog-size-x, 32rem);block-size:var(--calcite-dialog-size-y, auto)}@media screen and (max-width: 35rem){.width-s{margin:0;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;inset-inline-start:0;inset-block-start:var(--calcite-internal-dialog-animation-offset)}.width-s.dialog--opening-active{inset-block-start:0}}.width-m{inline-size:var(--calcite-dialog-size-x, 48rem);block-size:var(--calcite-dialog-size-y, auto)}@media screen and (max-width: 51rem){.width-m{margin:0;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;inset-inline-start:0;inset-block-start:var(--calcite-internal-dialog-animation-offset)}.width-m.dialog--opening-active{inset-block-start:0}}.width-l{inline-size:var(--calcite-dialog-size-x, 94rem);block-size:var(--calcite-dialog-size-y, auto)}@media screen and (max-width: 97rem){.width-l{margin:0;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;inset-inline-start:0;inset-block-start:var(--calcite-internal-dialog-animation-offset)}.width-l.dialog--opening-active{inset-block-start:0}}:host([placement=cover]) .dialog{margin:0;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0}:host([placement=cover]) .panel{border-radius:0}:host([kind]) .panel{border-start-start-radius:0px;border-start-end-radius:0px}:host([kind=brand]) .dialog{border-color:var(--calcite-color-brand)}:host([kind=danger]) .dialog{border-color:var(--calcite-color-status-danger)}:host([kind=info]) .dialog{border-color:var(--calcite-color-status-info)}:host([kind=success]) .dialog{border-color:var(--calcite-color-status-success)}:host([kind=warning]) .dialog{border-color:var(--calcite-color-status-warning)}:host([kind=brand][open]) .dialog,:host([kind=danger][open]) .dialog,:host([kind=info][open]) .dialog,:host([kind=success][open]) .dialog,:host([kind=warning][open]) .dialog{border-width:0px;border-block-start-width:4px;border-style:solid}.container--embedded{position:absolute;pointer-events:auto}.container--embedded calcite-scrim{position:absolute}.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}:host([hidden]){display:none}[hidden]{display:none}`,k=0,j="",$=class extends C{constructor(){super(...arguments),this.dragPosition={...L},this.focusTrap=R({triggerProp:"open",focusTrapOptions:{clickOutsideDeactivates:()=>!this.modal,escapeDeactivates:e=>(!e.defaultPrevented&&!this.escapeDisabled&&(this.open=!1,e.preventDefault()),!1)}})(this),this.ignoreOpenChange=!1,this.mutationObserver=O("mutation",()=>this.handleMutationObserver()),this._open=!1,this.openEnd=()=>{this.setFocus(),this.el.removeEventListener("calciteDialogOpen",this.openEnd)},this.openProp="opened",this.transitionProp="opacity",this.panelEl=S(),this.resizePosition={...U},this.assistiveText=null,this.hasContentBottom=!1,this.hasContentTop=!1,this.hasFooter=!0,this.opened=!1,this.closeDisabled=!1,this.dragEnabled=!1,this.embedded=!1,this.escapeDisabled=!1,this.loading=!1,this.menuOpen=!1,this.messages=A(),this.modal=!1,this.focusTrapDisabled=!1,this.outsideCloseDisabled=!1,this.overlayPositioning="absolute",this.placement="center",this.resizable=!1,this.scale="m",this.widthScale="m",this.calciteDialogBeforeClose=g({cancelable:!1}),this.calciteDialogBeforeOpen=g({cancelable:!1}),this.calciteDialogClose=g({cancelable:!1}),this.calciteDialogOpen=g({cancelable:!1}),this.calciteDialogScroll=g({cancelable:!1})}static{this.properties={assistiveText:16,hasContentBottom:16,hasContentTop:16,hasFooter:16,opened:16,beforeClose:0,closeDisabled:7,description:1,dragEnabled:7,embedded:5,escapeDisabled:7,focusTrapOptions:0,heading:1,headingLevel:11,kind:3,loading:7,menuOpen:7,messageOverrides:0,modal:7,focusTrapDisabled:7,open:7,outsideCloseDisabled:7,overlayPositioning:3,placement:3,resizable:7,scale:3,widthScale:3,width:3}}static{this.styles=F}get open(){return this._open}set open(e){let t=this._open;e!==t&&(this._open=e,this.toggleDialog(e))}async scrollContentTo(e){await this.panelEl.value?.scrollContentTo(e)}async setFocus(){return await I(this),this.panelEl.value?.setFocus()??P(this.el)}async updateFocusTrapElements(e){this.focusTrap.updateContainerElements(e)}focusTrapDisabledOverride(){return!this.modal&&this.focusTrapDisabled}connectedCallback(){super.connectedCallback(),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.setupInteractions()}async load(){}willUpdate(e){e.has("modal")&&(this.hasUpdated||this.modal!==!1)&&this.updateOverflowHiddenClass(),(e.has("open")&&(this.hasUpdated||this.open!==!1)||e.has("placement")&&(this.hasUpdated||this.placement!=="center")||e.has("resizable")&&(this.hasUpdated||this.resizable!==!1)||e.has("dragEnabled")&&(this.hasUpdated||this.dragEnabled!==!1))&&this.setupInteractions(),(e.has("messages")||e.has("dragEnabled")&&(this.hasUpdated||this.dragEnabled!==!1)||e.has("resizable")&&(this.hasUpdated||this.resizable!==!1))&&this.updateAssistiveText(),e.has("opened")&&(this.hasUpdated||this.opened!==!1)&&this.handleOpenedChange(this.opened)}loaded(){}disconnectedCallback(){super.disconnectedCallback(),this.removeOverflowHiddenClass(),this.mutationObserver?.disconnect(),this.embedded=!1,this.cleanupInteractions()}updateAssistiveText(){let{messages:e}=this;this.assistiveText=e&&(this.dragEnabled||this.resizable)?`${this.dragEnabled?e.dragEnabled:""} ${this.resizable?e.resizeEnabled:""}`:null}onBeforeOpen(){this.calciteDialogBeforeOpen.emit()}onOpen(){this.calciteDialogOpen.emit(),this.focusTrap.activate()}onBeforeClose(){this.calciteDialogBeforeClose.emit()}onClose(){this.calciteDialogClose.emit(),this.focusTrap.deactivate()}toggleDialog(e){this.ignoreOpenChange||(e?this.openDialog():this.closeDialog())}handleOpenedChange(e){let{transitionEl:t}=this;t&&(t.classList.toggle(p.openingActive,e),M(this))}async triggerInteractModifiers(){let{interaction:e}=this;e&&(await e.reflow({name:"drag"}),await e.reflow({name:"resize"}))}getTransitionElDOMRect(){return this.transitionEl.getBoundingClientRect()}handleKeyDown(e){let{key:t,shiftKey:i,defaultPrevented:a}=e,{dragEnabled:s,resizable:l,resizePosition:r,dragPosition:o,transitionEl:d}=this;if(!(a||!["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"].includes(t)))switch(t){case"ArrowUp":i&&l&&d?(this.updateSize({size:this.getTransitionElDOMRect().height-m,type:"blockSize"}),r.bottom-=m,this.updateTransform(),this.triggerInteractModifiers(),e.preventDefault()):s&&(o.y-=x,this.updateTransform(),this.triggerInteractModifiers(),e.preventDefault());break;case"ArrowDown":i&&l&&d?(this.updateSize({size:this.getTransitionElDOMRect().height+m,type:"blockSize"}),r.bottom+=m,this.updateTransform(),this.triggerInteractModifiers(),e.preventDefault()):s&&(o.y+=x,this.updateTransform(),this.triggerInteractModifiers(),e.preventDefault());break;case"ArrowLeft":i&&l&&d?(this.updateSize({size:this.getTransitionElDOMRect().width-m,type:"inlineSize"}),r.right-=m,this.updateTransform(),this.triggerInteractModifiers(),e.preventDefault()):s&&(o.x-=x,this.updateTransform(),this.triggerInteractModifiers(),e.preventDefault());break;case"ArrowRight":i&&l&&d?(this.updateSize({size:this.getTransitionElDOMRect().width+m,type:"inlineSize"}),r.right+=m,this.updateTransform(),this.triggerInteractModifiers(),e.preventDefault()):s&&(o.x+=x,this.updateTransform(),this.triggerInteractModifiers(),e.preventDefault());break}}updateTransform(){let{dragPosition:{x:e,y:t},resizePosition:i,transitionEl:a,dragEnabled:s,resizable:l}=this;if(!a)return;if(!s&&!l){a.style.transform=null;return}let{top:r,right:o,bottom:d,left:z}=this.getAdjustedResizePosition(i),u=Math.round(e+z+o),h=Math.round(t+r+d);a.style.transform=u||h?`translate(${u}px, ${h}px)`:null}updateSize({type:e,size:t}){let{transitionEl:i}=this;i&&(i.style[e]=t!==null?`${Math.round(t)}px`:null)}cleanupInteractions(){this.interaction?.unset(),this.updateSize({size:null,type:"inlineSize"}),this.updateSize({size:null,type:"blockSize"}),this.dragPosition={...L},this.resizePosition={...U},this.updateTransform()}setupInteractions(){this.cleanupInteractions();let{el:e,transitionEl:t,resizable:i,dragEnabled:a,resizePosition:s,dragPosition:l}=this;if(!(!t||!this.open)){if((i||a)&&(this.interaction=v(t,{context:e.ownerDocument})),i){let{minInlineSize:r,minBlockSize:o,maxInlineSize:d,maxBlockSize:z}=window.getComputedStyle(t);this.interaction.resizable({edges:{top:!0,right:!0,bottom:!0,left:!0},modifiers:[v.modifiers.restrictSize({min:{width:f(r)?parseInt(r):0,height:f(o)?parseInt(o):0},max:{width:f(d)?parseInt(d):window.innerWidth,height:f(z)?parseInt(z):window.innerHeight}}),v.modifiers.restrict({restriction:"parent"})],listeners:{move:({rect:u,deltaRect:h})=>{h&&(s.top+=h.top,s.right+=h.right,s.bottom+=h.bottom,s.left+=h.left),this.updateSize({size:u.width,type:"inlineSize"}),this.updateSize({size:u.height,type:"blockSize"}),this.updateTransform()}}})}a&&this.interaction.draggable({modifiers:[v.modifiers.restrictRect({restriction:"parent"})],listeners:{move:({dx:r,dy:o})=>{l.x+=r,l.y+=o,this.updateTransform()}}})}}getAdjustedResizePosition({top:e,right:t,bottom:i,left:a}){let s=e/2,l=t/2,r=i/2,o=a/2;switch(this.placement){case"top":return{top:e,right:l,bottom:0,left:o};case"top-start":return{top:e,right:0,bottom:0,left:a};case"top-end":return{top:e,right:t,bottom:0,left:0};case"bottom":return{top:0,right:l,bottom:i,left:o};case"bottom-start":return{top:0,right:0,bottom:i,left:a};case"bottom-end":return{top:0,right:t,bottom:i,left:0};case"cover":case"center":default:return{top:s,right:l,bottom:r,left:o}}}setTransitionEl(e){this.transitionEl=e,this.setupInteractions()}handleInternalPanelScroll(e){e.target===this.panelEl.value&&(e.stopPropagation(),this.calciteDialogScroll.emit())}handleInternalPanelCloseClick(e){e.target===this.panelEl.value&&(e.stopPropagation(),this.open=!1)}handlePanelKeyDown(e){this.escapeDisabled&&e.key==="Escape"&&e.preventDefault()}async openDialog(){await this.componentOnReady(),this.el.addEventListener("calciteDialogOpen",this.openEnd),this.opened=!0,this.updateOverflowHiddenClass()}handleOutsideClose(){this.outsideCloseDisabled||(this.open=!1)}async closeDialog(){if(this.beforeClose)try{await this.beforeClose()}catch{requestAnimationFrame(()=>{this.ignoreOpenChange=!0,this.open=!0,this.ignoreOpenChange=!1});return}k--,this.opened=!1,this.updateOverflowHiddenClass()}updateOverflowHiddenClass(){this.opened&&!this.embedded&&this.modal?this.addOverflowHiddenClass():this.removeOverflowHiddenClass()}addOverflowHiddenClass(){k===0&&(j=document.documentElement.style.overflow),k++,document.documentElement.style.setProperty("overflow","hidden")}removeOverflowHiddenClass(){document.documentElement.style.setProperty("overflow",j)}handleMutationObserver(){this.updateFocusTrapElements()}render(){let{assistiveText:e,description:t,heading:i,opened:a}=this;return w`<div class=${b({[p.container]:!0,[p.containerOpen]:a,[p.containerEmbedded]:this.embedded})}>${this.modal?w`<calcite-scrim class=${b(p.scrim)} @click=${this.handleOutsideClose}></calcite-scrim>`:null}<div .ariaDescription=${t} .ariaLabel=${i} .ariaModal=${this.modal} class=${b({[p.dialog]:!0,[B("width",this.width,this.widthScale)]:!!(this.width||this.widthScale)})} @keydown=${this.handleKeyDown} role=dialog ${y(this.setTransitionEl)}>${e?T("assistive-text",w`<div aria-live=polite class=${b(p.assistiveText)}>${e}</div>`):null}<slot name=${n.customContent}><slot name=${n.content}><calcite-panel .beforeClose=${this.beforeClose} class=${b(p.panel)} .closable=${!this.closeDisabled} .closed=${!a} .description=${t} .heading=${i} .headingLevel=${this.headingLevel} .loading=${this.loading} .menuOpen=${this.menuOpen} .messageOverrides=${this.messageOverrides} @keydown=${this.handlePanelKeyDown} @calcitePanelClose=${this.handleInternalPanelCloseClick} @calcitePanelScroll=${this.handleInternalPanelScroll} .overlayPositioning=${this.overlayPositioning} .scale=${this.scale} ${y(this.panelEl)}><slot name=${n.actionBar} slot=${c.actionBar}></slot><slot name=${n.alerts} slot=${c.alerts}></slot><slot name=${n.headerActionsStart} slot=${c.headerActionsStart}></slot><slot name=${n.headerActionsEnd} slot=${c.headerActionsEnd}></slot><slot name=${n.headerContent} slot=${c.headerContent}></slot><slot name=${n.headerMenuActions} slot=${c.headerMenuActions}></slot><slot name=${n.fab} slot=${c.fab}></slot><slot name=${n.contentTop} slot=${c.contentTop}></slot><slot name=${n.contentBottom} slot=${c.contentBottom}></slot><slot name=${n.footerStart} slot=${c.footerStart}></slot><slot name=${n.footer} slot=${c.footer}></slot><slot name=${n.footerEnd} slot=${c.footerEnd}></slot><slot></slot></calcite-panel></slot></slot></div></div>`}};E("calcite-dialog",$);export{$ as Dialog};
|
@@ -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.0.0 */
|
4
|
+
import{a as e,b as x,c as b}from"./VMRLYKNI.js";import{a as g}from"./ARHYATTG.js";import{b as a}from"./VST65PDC.js";import{n as d,u as m}from"./CMO3X257.js";import{b as h}from"./GN5CPLSJ.js";import"./I2OIH73C.js";import{J as p,e as c,f as t,w as r,x as u}from"./KVSCG5E3.js";var O=c`: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{display:flex;flex-direction:column;padding:0;background-color:transparent;border-color:var(--calcite-action-group-border-color, var(--calcite-color-border-3));border-style:solid;border-width:0}.container{display:flex;flex-grow:1;flex-direction:column}:host([columns="1"]){--calcite-internal-action-group-columns: 1}:host([columns="2"]){--calcite-internal-action-group-columns: 2}:host([columns="3"]){--calcite-internal-action-group-columns: 3}:host([columns="4"]){--calcite-internal-action-group-columns: 4}:host([columns="5"]){--calcite-internal-action-group-columns: 5}:host([columns="6"]){--calcite-internal-action-group-columns: 6}:host(:first-child){padding-block-start:0px}:host([layout=horizontal]),:host([layout=horizontal]) .container{flex-direction:row}:host([layout=grid]){display:grid}:host([layout=grid]) .container{display:grid;place-content:stretch;background-color:transparent;grid-template-columns:repeat(var(--calcite-action-group-columns, var(--calcite-internal-action-group-columns, 3)),auto);gap:var(--calcite-action-group-gap, 1px);padding:var(--calcite-action-group-gap, 1px)}:host([layout=horizontal]) ::slotted(calcite-action-group){border-inline-end:var(--calcite-size-px)}:host([hidden]){display:none}[hidden]{display:none}`,n=class extends r{constructor(){super(...arguments),this.hasMenuActions=!1,this.expanded=!1,this.layout="vertical",this.menuOpen=!1,this.messages=g(),this.overlayPositioning="absolute",this.scale="m"}static{this.properties={hasMenuActions:16,columns:11,expanded:7,label:1,layout:3,menuFlipPlacements:0,menuOpen:7,menuPlacement:3,messageOverrides:0,overlayPositioning:3,scale:3}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=O}async setFocus(){await h(this),d(this.el)}async load(){}willUpdate(o){o.has("expanded")&&(this.hasUpdated||this.expanded!==!1)&&(this.menuOpen=!1)}loaded(){}setMenuOpen(o){this.menuOpen=!!o.currentTarget.open}handleMenuActionsSlotChange(o){this.hasMenuActions=m(o)}renderMenu(){let{expanded:o,menuOpen:f,scale:i,layout:s,messages:l,overlayPositioning:y,hasMenuActions:$,menuFlipPlacements:v,menuPlacement:M}=this;return t`<calcite-action-menu .expanded=${o} .flipPlacements=${v??(s==="horizontal"?["top","bottom"]:["left","right"])} .hidden=${!$} .label=${l.more} @calciteActionMenuOpen=${this.setMenuOpen} .open=${f} .overlayPositioning=${y} .placement=${M??(s==="horizontal"?"bottom-start":"leading-start")} .scale=${i}><calcite-action .icon=${x.menu} .scale=${i} slot=${a.trigger} .text=${l.more} .textEnabled=${o}></calcite-action><slot name=${e.menuActions} @slotchange=${this.handleMenuActionsSlotChange}></slot><slot name=${e.menuTooltip} slot=${a.tooltip}></slot></calcite-action-menu>`}render(){return t`<div .ariaLabel=${this.label} class=${u(b.container)} role=group><slot></slot>${this.renderMenu()}</div>`}};p("calcite-action-group",n);export{n as ActionGroup};
|
@@ -0,0 +1,22 @@
|
|
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.0.0 */
|
4
|
+
import{a as j}from"./CNO6NFH5.js";import{a as G}from"./I2OIH73C.js";import{J as Z,e as C,f as w,g as d,w as P,x as f,z as $}from"./KVSCG5E3.js";function S(s,i,h){let a=i[0]-s[0],n=h[0]-i[0],o=i[1]-s[1],l=h[1]-i[1],r=o/(a||n<0&&0),e=l/(n||a<0&&0),t=(r*n+e*a)/(a+n);return(Math.sign(r)+Math.sign(e))*Math.min(Math.abs(r),Math.abs(e),.5*Math.abs(t))||0}function H(s,i,h){let a=i[0]-s[0],n=i[1]-s[1];return a?(3*n/a-h)/2:h}function O(s,i,h,a,n){let[o,l]=s,[r,e]=i,t=(r-o)/3,c=n([o+t,l+t*h]).join(","),g=n([r-t,e-t*a]).join(","),p=n([r,e]).join(",");return`C ${c} ${g} ${p}`}function E({width:s,height:i,min:h,max:a}){let n=a[0]-h[0],o=a[1]-h[1];return l=>{let r=(l[0]-h[0])/n*s,e=i-l[1]/o*i;return[r,e]}}function R(s){let[i,h]=s[0],a=[i,h],n=[i,h];return s.reduce(({min:o,max:l},[r,e])=>({min:[Math.min(o[0],r),Math.min(o[1],e)],max:[Math.max(l[0],r),Math.max(l[1],e)]}),{min:a,max:n})}function q({data:s,min:i,max:h,t:a}){if(s.length===0)return"";let[n,o]=a(s[0]),[l,r]=a(i),[e]=a(h),t,c,g,p=s.reduce((x,M,m)=>{if(c=s[m-2],g=s[m-1],m>1){let u=S(c,g,M),k=t===void 0?H(c,g,u):t,L=O(c,g,k,u,a);return t=u,`${x} ${L}`}return x},`M ${l},${r} L ${l},${o} L ${n},${o}`),y=s[s.length-1],v=O(g,y,t,H(g,y,t),a);return`${p} ${v} L ${e},${r} Z`}var I=C`:host{display:block;block-size:100%}.svg{fill:currentColor;stroke:transparent;margin:0;display:block;block-size:100%;inline-size:100%;padding:0}.svg .graph-path--highlight{fill:var(--calcite-graph-highlight-fill-color, var(--calcite-color-brand));opacity:.5}:host([hidden]){display:none}[hidden]{display:none}`,b={svg:"svg",graphPath:"graph-path",graphPathHighlight:"graph-path--highlight"},z=class extends P{constructor(){super(...arguments),this.graphId=`calcite-graph-${G()}`,this.resizeObserver=j("resize",()=>this.requestUpdate()),this.data=[]}static{this.properties={colorStops:0,data:0,highlightMax:9,highlightMin:9,max:11,min:11}}static{this.styles=I}connectedCallback(){super.connectedCallback(),this.resizeObserver?.observe(this.el)}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver?.disconnect()}render(){let{data:i,colorStops:h,el:a,highlightMax:n,highlightMin:o,min:l,max:r}=this,e=this.graphId,{clientHeight:t,clientWidth:c}=a;if(!i||i.length===0)return w`<svg aria-hidden=true class=${f(b.svg)} height=${t??$} preserveAspectRatio=none viewBox=${`0 0 ${c} ${t}`} width=${c??$}></svg>`;let{min:g,max:p}=R(i),y=g,v=p;(l<g[0]||l>g[0])&&(y=[l,0]),(r>p[0]||r<p[0])&&(v=[r,p[1]]);let x=E({min:y,max:v,width:c,height:t}),[M]=x([o,v[1]]),[m]=x([n,v[1]]),u=q({data:i,min:g,max:p,t:x}),k=h?`url(#linear-gradient-${e})`:void 0;return w`<svg aria-hidden=true class=${f(b.svg)} height=${t??$} preserveAspectRatio=none viewBox=${`0 0 ${c} ${t}`} width=${c??$}>${h?d`<defs><linearGradient .id=${`linear-gradient-${e}`} x1=0 x2=1 y1=0 y2=0>${h.map(({offset:L,color:A,opacity:B})=>d`<stop offset=${`${L*100}%`} stop-color=${A??$} stop-opacity=${B??$} />`)}</linearGradient></defs>`:null}${o!==void 0?[d`<mask height=100% .id=${`${e}1`} width=100% x=0% y=0%><path d=${`
|
5
|
+
M 0,0
|
6
|
+
L ${M-1},0
|
7
|
+
L ${M-1},${t}
|
8
|
+
L 0,${t}
|
9
|
+
Z
|
10
|
+
`} fill=white /></mask>`,d`<mask height=100% .id=${`${e}2`} width=100% x=0% y=0%><path d=${`
|
11
|
+
M ${M+1},0
|
12
|
+
L ${m-1},0
|
13
|
+
L ${m-1},${t}
|
14
|
+
L ${M+1}, ${t}
|
15
|
+
Z
|
16
|
+
`} fill=white /></mask>`,d`<mask height=100% .id=${`${e}3`} width=100% x=0% y=0%><path d=${`
|
17
|
+
M ${m+1},0
|
18
|
+
L ${c},0
|
19
|
+
L ${c},${t}
|
20
|
+
L ${m+1}, ${t}
|
21
|
+
Z
|
22
|
+
`} fill=white /></mask>`,d`<path class=${f(b.graphPath)} d=${u??$} fill=${k??$} mask=${`url(#${e}1)`} />`,d`<path class=${f(b.graphPathHighlight)} d=${u??$} fill=${k??$} mask=${`url(#${e}2)`} />`,d`<path class=${f(b.graphPath)} d=${u??$} fill=${k??$} mask=${`url(#${e}3)`} />`]:d`<path class=${f(b.graphPath)} d=${u??$} fill=${k??$} />`}</svg>`}};Z("calcite-graph",z);export{z as Graph};
|