@esri/solutions-components 0.11.36 → 0.11.38
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/asyncToGenerator-c7fc3ee4.js +92 -0
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +1 -1
- package/dist/cjs/buffer-tools_2.cjs.entry.js +1 -1
- package/dist/cjs/card-manager_3.cjs.entry.js +6 -4
- package/dist/cjs/consent-manager.cjs.entry.js +3 -3
- package/dist/cjs/create-feature_4.cjs.entry.js +7 -7
- package/dist/cjs/create-related-feature_3.cjs.entry.js +1 -1
- package/dist/cjs/crowdsource-manager.cjs.entry.js +1 -1
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +1 -1
- package/dist/cjs/delete-dialog.cjs.entry.js +1 -1
- package/dist/cjs/downloadUtils-a5154543.js +5377 -0
- package/dist/cjs/feature-list.cjs.entry.js +4 -4
- package/dist/cjs/index.es-3c2404c3.js +11195 -0
- package/dist/cjs/json-editor_7.cjs.entry.js +1 -1
- package/dist/cjs/map-layer-picker.cjs.entry.js +5 -3
- package/dist/cjs/map-select-tools_3.cjs.entry.js +3 -3
- package/dist/cjs/popupUtils-7b26453a.js +121 -0
- package/dist/cjs/public-notification.cjs.entry.js +3 -3
- package/dist/cjs/purify-3d951edc.js +1364 -0
- package/dist/cjs/solution-configuration.cjs.entry.js +1 -1
- package/dist/cjs/solution-contents_3.cjs.entry.js +1 -1
- package/dist/cjs/solution-item-accordion.cjs.entry.js +1 -1
- package/dist/cjs/spatial-ref.cjs.entry.js +1 -1
- package/dist/collection/components/info-card/info-card.css +4 -0
- package/dist/collection/components/info-card/info-card.js +2 -2
- package/dist/collection/components/layer-table/layer-table.js +3 -1
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +4 -2
- package/dist/collection/vendor/calcite-components/2ADYSLPZ.js +4 -0
- package/dist/collection/vendor/calcite-components/2BYCWVAC.js +4 -0
- package/dist/collection/vendor/calcite-components/2DJLQG4A.js +4 -0
- package/dist/collection/vendor/calcite-components/2KN7VFV3.js +4 -0
- package/dist/collection/vendor/calcite-components/2QQE6RBG.js +4 -0
- package/dist/collection/vendor/calcite-components/2W46C5IT.js +4 -0
- package/dist/collection/vendor/calcite-components/2WEHZC4R.js +4 -0
- package/dist/collection/vendor/calcite-components/2YD4Z56B.js +4 -0
- package/dist/collection/vendor/calcite-components/2YU4JUQK.js +4 -0
- package/dist/collection/vendor/calcite-components/323UDHL6.js +4 -0
- package/dist/collection/vendor/calcite-components/35N5CZK3.js +4 -0
- package/dist/collection/vendor/calcite-components/3GWF5ELI.js +4 -0
- package/dist/collection/vendor/calcite-components/3JWBMHMV.js +4 -0
- package/dist/collection/vendor/calcite-components/3NUUOJEI.js +4 -0
- package/dist/collection/vendor/calcite-components/3O4S27LQ.js +4 -0
- package/dist/collection/vendor/calcite-components/3O5VK4VN.js +4 -0
- package/dist/collection/vendor/calcite-components/3OFHBVGT.js +4 -0
- package/dist/collection/vendor/calcite-components/3XJDMBMJ.js +4 -0
- package/dist/collection/vendor/calcite-components/3YYHU67H.js +4 -0
- package/dist/collection/vendor/calcite-components/44ZIVGS7.js +4 -0
- package/dist/collection/vendor/calcite-components/4BEUN427.js +4 -0
- package/dist/collection/vendor/calcite-components/4G4MW34F.js +4 -0
- package/dist/collection/vendor/calcite-components/4GGWE4M3.js +4 -0
- package/dist/collection/vendor/calcite-components/4HF2MH3F.js +4 -0
- package/dist/collection/vendor/calcite-components/4KGTT6I3.js +4 -0
- package/dist/collection/vendor/calcite-components/4QHW2KCC.js +4 -0
- package/dist/collection/vendor/calcite-components/52AGH4NW.js +4 -0
- package/dist/collection/vendor/calcite-components/5A4SCMTT.js +4 -0
- package/dist/collection/vendor/calcite-components/5B6WX2DL.js +4 -0
- package/dist/collection/vendor/calcite-components/5BW6OEX4.js +4 -0
- package/dist/collection/vendor/calcite-components/5FDKP64C.js +4 -0
- package/dist/collection/vendor/calcite-components/5MAYMOZA.js +4 -0
- package/dist/collection/vendor/calcite-components/5UXZD2PW.js +4 -0
- package/dist/collection/vendor/calcite-components/5WEHUHTX.js +4 -0
- package/dist/collection/vendor/calcite-components/5ZOOOTHO.js +4 -0
- package/dist/collection/vendor/calcite-components/6C6KOC25.js +4 -0
- package/dist/collection/vendor/calcite-components/6DU5XIRS.js +4 -0
- package/dist/collection/vendor/calcite-components/6IRQP6SO.js +4 -0
- package/dist/collection/vendor/calcite-components/6M4MQUQE.js +4 -0
- package/dist/collection/vendor/calcite-components/6MCHN6SO.js +4 -0
- package/dist/collection/vendor/calcite-components/6NCXFBVI.js +4 -0
- package/dist/collection/vendor/calcite-components/6NJ2XB5D.js +4 -0
- package/dist/collection/vendor/calcite-components/6NPZR4ED.js +4 -0
- package/dist/collection/vendor/calcite-components/74XIV7EB.js +6 -0
- package/dist/collection/vendor/calcite-components/77RD52T4.js +4 -0
- package/dist/collection/vendor/calcite-components/7BOAE3LM.js +4 -0
- package/dist/collection/vendor/calcite-components/7DY27BCZ.js +5 -0
- package/dist/collection/vendor/calcite-components/7EIGV5FV.js +4 -0
- package/dist/collection/vendor/calcite-components/7MV5X5YY.js +4 -0
- package/dist/collection/vendor/calcite-components/7SAECUZA.js +4 -0
- package/dist/collection/vendor/calcite-components/7SFM2X2V.js +4 -0
- package/dist/collection/vendor/calcite-components/7SQTVACB.js +4 -0
- package/dist/collection/vendor/calcite-components/7U3ECTM6.js +4 -0
- package/dist/collection/vendor/calcite-components/7WRGOM4T.js +4 -0
- package/dist/collection/vendor/calcite-components/7XDJ54GY.js +4 -0
- package/dist/collection/vendor/calcite-components/ABXKDQDM.js +4 -0
- package/dist/collection/vendor/calcite-components/AN6BRRC4.js +4 -0
- package/dist/collection/vendor/calcite-components/AS3OWJAM.js +4 -0
- package/dist/collection/vendor/calcite-components/AUQ7MLX2.js +4 -0
- package/dist/collection/vendor/calcite-components/AWXNBIWS.js +4 -0
- package/dist/collection/vendor/calcite-components/AZOHNXOH.js +4 -0
- package/dist/collection/vendor/calcite-components/B45JROQX.js +4 -0
- package/dist/collection/vendor/calcite-components/B4YIOD3M.js +4 -0
- package/dist/collection/vendor/calcite-components/B7HWVLZ4.js +4 -0
- package/dist/collection/vendor/calcite-components/B7IG4G6I.js +4 -0
- package/dist/collection/vendor/calcite-components/B7MQCVNK.js +4 -0
- package/dist/collection/vendor/calcite-components/BFDAS53F.js +4 -0
- package/dist/collection/vendor/calcite-components/BHTF7FU6.js +4 -0
- package/dist/collection/vendor/calcite-components/BKNRSH5I.js +4 -0
- package/dist/collection/vendor/calcite-components/BTOGKDPW.js +4 -0
- package/dist/collection/vendor/calcite-components/BZAVOPTZ.js +4 -0
- package/dist/collection/vendor/calcite-components/CATJWSUR.js +4 -0
- package/dist/collection/vendor/calcite-components/CY5CVEEO.js +4 -0
- package/dist/collection/vendor/calcite-components/D4CU2ELJ.js +4 -0
- package/dist/collection/vendor/calcite-components/DFFLO6RQ.js +4 -0
- package/dist/collection/vendor/calcite-components/DIIIRTRD.js +4 -0
- package/dist/collection/vendor/calcite-components/DJ65IGAJ.js +4 -0
- package/dist/collection/vendor/calcite-components/DR6TNPNP.js +4 -0
- package/dist/collection/vendor/calcite-components/DSV6O5SN.js +4 -0
- package/dist/collection/vendor/calcite-components/DWSKOILM.js +4 -0
- package/dist/collection/vendor/calcite-components/E2K7V264.js +4 -0
- package/dist/collection/vendor/calcite-components/E5276FGO.js +4 -0
- package/dist/collection/vendor/calcite-components/EJZAAUYU.js +4 -0
- package/dist/collection/vendor/calcite-components/EO6WGEPM.js +4 -0
- package/dist/collection/vendor/calcite-components/EOTHRH2D.js +4 -0
- package/dist/collection/vendor/calcite-components/F3XJA6O4.js +4 -0
- package/dist/collection/vendor/calcite-components/F4EMKIHK.js +4 -0
- package/dist/collection/vendor/calcite-components/FA3NO5EU.js +4 -0
- package/dist/collection/vendor/calcite-components/FA3WMFEB.js +22 -0
- package/dist/collection/vendor/calcite-components/FKBMHLD3.js +4 -0
- package/dist/collection/vendor/calcite-components/FP7FM2VM.js +4 -0
- package/dist/collection/vendor/calcite-components/FP7S2M3E.js +4 -0
- package/dist/collection/vendor/calcite-components/FTPC7ETT.js +4 -0
- package/dist/collection/vendor/calcite-components/FWYDKVOD.js +4 -0
- package/dist/collection/vendor/calcite-components/G3CCZ6XE.js +4 -0
- package/dist/collection/vendor/calcite-components/G5S7W2IC.js +4 -0
- package/dist/collection/vendor/calcite-components/GEURCF7X.js +4 -0
- package/dist/collection/vendor/calcite-components/GFAN7OST.js +4 -0
- package/dist/collection/vendor/calcite-components/GGSSFQEY.js +4 -0
- package/dist/collection/vendor/calcite-components/GIAPPW2B.js +4 -0
- package/dist/collection/vendor/calcite-components/GQAZQ3S4.js +4 -0
- package/dist/collection/vendor/calcite-components/GQUIDXCJ.js +4 -0
- package/dist/collection/vendor/calcite-components/GUUZ7ZDV.js +4 -0
- package/dist/collection/vendor/calcite-components/H3XVYGU3.js +4 -0
- package/dist/collection/vendor/calcite-components/H6E5FODU.js +4 -0
- package/dist/collection/vendor/calcite-components/HBMJPX74.js +4 -0
- package/dist/collection/vendor/calcite-components/HEHWLTET.js +4 -0
- package/dist/collection/vendor/calcite-components/HHWADIGN.js +4 -0
- package/dist/collection/vendor/calcite-components/HJBKJ56M.js +4 -0
- package/dist/collection/vendor/calcite-components/HMAFQQAN.js +4 -0
- package/dist/collection/vendor/calcite-components/HMNR3FGX.js +28 -0
- package/dist/collection/vendor/calcite-components/HO6YJDQ6.js +4 -0
- package/dist/collection/vendor/calcite-components/HXRFWMNM.js +4 -0
- package/dist/collection/vendor/calcite-components/HZNGZAMK.js +4 -0
- package/dist/collection/vendor/calcite-components/HZSC2XKV.js +4 -0
- package/dist/collection/vendor/calcite-components/I7NALNEM.js +4 -0
- package/dist/collection/vendor/calcite-components/I7S2F2P2.js +4 -0
- package/dist/collection/vendor/calcite-components/J22MUGVD.js +4 -0
- package/dist/collection/vendor/calcite-components/J2XEN4PC.js +4 -0
- package/dist/collection/vendor/calcite-components/JHSTZGJJ.js +4 -0
- package/dist/collection/vendor/calcite-components/JNK6UYNK.js +4 -0
- package/dist/collection/vendor/calcite-components/JR5RWSNX.js +4 -0
- package/dist/collection/vendor/calcite-components/JSHY6EAI.js +4 -0
- package/dist/collection/vendor/calcite-components/JZB5GBZP.js +4 -0
- package/dist/collection/vendor/calcite-components/JZBTEL4E.js +4 -0
- package/dist/collection/vendor/calcite-components/KE362XQL.js +4 -0
- package/dist/collection/vendor/calcite-components/KGBDVMSN.js +4 -0
- package/dist/collection/vendor/calcite-components/KHFQ3CWL.js +4 -0
- package/dist/collection/vendor/calcite-components/KJ5QSHIV.js +4 -0
- package/dist/collection/vendor/calcite-components/KK2GYQJN.js +4 -0
- package/dist/collection/vendor/calcite-components/KPOLTNRY.js +4 -0
- package/dist/collection/vendor/calcite-components/KUJZNT2T.js +4 -0
- package/dist/collection/vendor/calcite-components/KW5SSXI2.js +4 -0
- package/dist/collection/vendor/calcite-components/KZLGID44.js +4 -0
- package/dist/collection/vendor/calcite-components/L64PNSJ7.js +4 -0
- package/dist/collection/vendor/calcite-components/LBEGPJNS.js +4 -0
- package/dist/collection/vendor/calcite-components/LDPDJTKP.js +4 -0
- package/dist/collection/vendor/calcite-components/LHPTWBKI.js +4 -0
- package/dist/collection/vendor/calcite-components/LPMWWCXO.js +4 -0
- package/dist/collection/vendor/calcite-components/M2Z3Q7XS.js +4 -0
- package/dist/collection/vendor/calcite-components/MADH6ZCD.js +4 -0
- package/dist/collection/vendor/calcite-components/MED7DXL5.js +4 -0
- package/dist/collection/vendor/calcite-components/MN6JS3SO.js +4 -0
- package/dist/collection/vendor/calcite-components/MNQ67HJJ.js +4 -0
- package/dist/collection/vendor/calcite-components/MOOKY73S.js +4 -0
- package/dist/collection/vendor/calcite-components/N3RCOT5M.js +4 -0
- package/dist/collection/vendor/calcite-components/N6SVU4LG.js +4 -0
- package/dist/collection/vendor/calcite-components/NE3OUQ5Q.js +4 -0
- package/dist/collection/vendor/calcite-components/NFHTQLBP.js +4 -0
- package/dist/collection/vendor/calcite-components/NHLJM63F.js +4 -0
- package/dist/collection/vendor/calcite-components/NLWFZFB3.js +4 -0
- package/dist/collection/vendor/calcite-components/NSBYYOY2.js +4 -0
- package/dist/collection/vendor/calcite-components/NSHGJK73.js +4 -0
- package/dist/collection/vendor/calcite-components/NUDAXIBZ.js +4 -0
- package/dist/collection/vendor/calcite-components/O5SN3SJX.js +4 -0
- package/dist/collection/vendor/calcite-components/OEWDESOU.js +4 -0
- package/dist/collection/vendor/calcite-components/OTB6UDF3.js +4 -0
- package/dist/collection/vendor/calcite-components/OXCCRWE7.js +4 -0
- package/dist/collection/vendor/calcite-components/PG3U4QAJ.js +4 -0
- package/dist/collection/vendor/calcite-components/PMUHOU3H.js +4 -0
- package/dist/collection/vendor/calcite-components/PRPWC5NA.js +4 -0
- package/dist/collection/vendor/calcite-components/PSOUNIL7.js +4 -0
- package/dist/collection/vendor/calcite-components/Q6VXEGD5.js +4 -0
- package/dist/collection/vendor/calcite-components/Q752TMWW.js +4 -0
- package/dist/collection/vendor/calcite-components/QMGTBEVK.js +4 -0
- package/dist/collection/vendor/calcite-components/QNL5HVWX.js +4 -0
- package/dist/collection/vendor/calcite-components/QQ2QONXU.js +4 -0
- package/dist/collection/vendor/calcite-components/QQCFFW4X.js +4 -0
- package/dist/collection/vendor/calcite-components/QSRM5BPK.js +4 -0
- package/dist/collection/vendor/calcite-components/QXDDQX5X.js +4 -0
- package/dist/collection/vendor/calcite-components/R4TXKGB3.js +4 -0
- package/dist/collection/vendor/calcite-components/R546VITU.js +4 -0
- package/dist/collection/vendor/calcite-components/RGOMC52G.js +4 -0
- package/dist/collection/vendor/calcite-components/RIMAR2EG.js +4 -0
- package/dist/collection/vendor/calcite-components/RJV2JRQS.js +4 -0
- package/dist/collection/vendor/calcite-components/RLVRPIQB.js +4 -0
- package/dist/collection/vendor/calcite-components/RR6NYECR.js +4 -0
- package/dist/collection/vendor/calcite-components/RVEN4NOD.js +4 -0
- package/dist/collection/vendor/calcite-components/RXONMM2F.js +4 -0
- package/dist/collection/vendor/calcite-components/RYOCULDB.js +4 -0
- package/dist/collection/vendor/calcite-components/SCKKZTVU.js +5 -0
- package/dist/collection/vendor/calcite-components/SKGKFH23.js +4 -0
- package/dist/collection/vendor/calcite-components/SUCAF23Q.js +4 -0
- package/dist/collection/vendor/calcite-components/SWZ5F3MV.js +4 -0
- package/dist/collection/vendor/calcite-components/SX5X4EI7.js +4 -0
- package/dist/collection/vendor/calcite-components/SXYTJEOC.js +4 -0
- package/dist/collection/vendor/calcite-components/SY3OC64V.js +4 -0
- package/dist/collection/vendor/calcite-components/SYD5OQF5.js +4 -0
- package/dist/collection/vendor/calcite-components/SZONZQBZ.js +4 -0
- package/dist/collection/vendor/calcite-components/TEDXU7XB.js +4 -0
- package/dist/collection/vendor/calcite-components/TL6JRD7M.js +5 -0
- package/dist/collection/vendor/calcite-components/TOC7BSNI.js +4 -0
- package/dist/collection/vendor/calcite-components/TYTRJYZL.js +4 -0
- package/dist/collection/vendor/calcite-components/U3FS2FCE.js +4 -0
- package/dist/collection/vendor/calcite-components/UIWDOEUD.js +4 -0
- package/dist/collection/vendor/calcite-components/URGYWK4W.js +4 -0
- package/dist/collection/vendor/calcite-components/V5LFQL3E.js +4 -0
- package/dist/collection/vendor/calcite-components/VGEM6KFP.js +4 -0
- package/dist/collection/vendor/calcite-components/VH2EYQHG.js +4 -0
- package/dist/collection/vendor/calcite-components/VHAES5IP.js +4 -0
- package/dist/collection/vendor/calcite-components/VJ5DDNTG.js +4 -0
- package/dist/collection/vendor/calcite-components/VTUEWQVZ.js +5 -0
- package/dist/collection/vendor/calcite-components/VXIKRCVR.js +4 -0
- package/dist/collection/vendor/calcite-components/W4BKGWAR.js +4 -0
- package/dist/collection/vendor/calcite-components/WB6MZBXE.js +4 -0
- package/dist/collection/vendor/calcite-components/WBAUVVNW.js +4 -0
- package/dist/collection/vendor/calcite-components/WCZACGMB.js +4 -0
- package/dist/collection/vendor/calcite-components/WEHMJO3D.js +4 -0
- package/dist/collection/vendor/calcite-components/WGTFNY3J.js +4 -0
- package/dist/collection/vendor/calcite-components/WHHZYHGQ.js +4 -0
- package/dist/collection/vendor/calcite-components/WOM5JCSF.js +4 -0
- package/dist/collection/vendor/calcite-components/X37LIRIJ.js +4 -0
- package/dist/collection/vendor/calcite-components/XVCE2OUE.js +4 -0
- package/dist/collection/vendor/calcite-components/XVQRC56A.js +4 -0
- package/dist/collection/vendor/calcite-components/XYA7Z3GN.js +4 -0
- package/dist/collection/vendor/calcite-components/YED3P76Q.js +4 -0
- package/dist/collection/vendor/calcite-components/YJZ2YI4N.js +4 -0
- package/dist/collection/vendor/calcite-components/YW6WV5X7.js +4 -0
- package/dist/collection/vendor/calcite-components/Z3IB3JHI.js +4 -0
- package/dist/collection/vendor/calcite-components/Z64MBKLN.js +4 -0
- package/dist/collection/vendor/calcite-components/Z762LC4M.js +4 -0
- package/dist/collection/vendor/calcite-components/ZHYECVB4.js +4 -0
- package/dist/collection/vendor/calcite-components/ZQALJZYZ.js +4 -0
- package/dist/collection/vendor/calcite-components/ZXJF7S7L.js +4 -0
- package/dist/collection/vendor/calcite-components/calcite.esm.js +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.ar.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.bg.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.bs.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.ca.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.cs.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.da.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.de.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.el.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.es.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.et.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.fi.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.fr.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.he.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.hr.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.hu.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.id.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.it.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.ja.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.ko.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.lt.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.lv.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.nl.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.no.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.pl.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.pt-BR.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.pt-PT.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.ro.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.ru.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.sk.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.sl.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.sr.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.sv.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.th.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.tr.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.uk.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.vi.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.zh-CN.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.zh-HK.json +2 -2
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.zh-TW.json +2 -2
- package/dist/collection/vendor/instant-apps-components/instant-apps-components.esm.js +1 -1
- package/dist/collection/vendor/instant-apps-components/p-005a2711.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-032bc629.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-05080364.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-05080364.entry.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-050b8c6e.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-0e4ff0a9.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-2162260c.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-2751b893.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-2751b893.entry.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-2e588fed.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-34b74df9.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-34b74df9.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-40992282.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-45a300a8.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-50b205e8.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-50b205e8.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-5d5a1e7d.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-5d67f7d1.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-625b0358.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-6ab370d8.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-75b6ba72.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-82b50b9d.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-85727adc.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-88c9829f.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-9ef92300.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-a2fbebc1.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-a2fbebc1.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-af343e04.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-b346c8fa.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-b346c8fa.entry.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-b8c8fb6f.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-bbc047f2.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-c0385dc5.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-cda36aea.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-e3d0321c.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-e3d0321c.entry.js.map +1 -0
- package/dist/components/downloadUtils.js +2 -2
- package/dist/components/info-card2.js +3 -3
- package/dist/components/layer-table2.js +3 -1
- package/dist/components/map-layer-picker2.js +4 -2
- package/dist/components/purify.js +491 -684
- package/dist/esm/asyncToGenerator-96b2368d.js +88 -0
- package/dist/esm/basemap-gallery_7.entry.js +1 -1
- package/dist/esm/buffer-tools_2.entry.js +1 -1
- package/dist/esm/card-manager_3.entry.js +6 -4
- package/dist/esm/consent-manager.entry.js +3 -3
- package/dist/esm/create-feature_4.entry.js +7 -7
- package/dist/esm/create-related-feature_3.entry.js +1 -1
- package/dist/esm/crowdsource-manager.entry.js +1 -1
- package/dist/esm/crowdsource-reporter.entry.js +1 -1
- package/dist/esm/delete-dialog.entry.js +1 -1
- package/dist/esm/downloadUtils-b0527cde.js +5371 -0
- package/dist/esm/feature-list.entry.js +4 -4
- package/dist/esm/index.es-87662946.js +11108 -0
- package/dist/esm/json-editor_7.entry.js +1 -1
- package/dist/esm/map-layer-picker.entry.js +5 -3
- package/dist/esm/map-select-tools_3.entry.js +3 -3
- package/dist/esm/popupUtils-e38099ea.js +119 -0
- package/dist/esm/public-notification.entry.js +3 -3
- package/dist/esm/purify-ff5f3331.js +1362 -0
- package/dist/esm/solution-configuration.entry.js +1 -1
- package/dist/esm/solution-contents_3.entry.js +1 -1
- package/dist/esm/solution-item-accordion.entry.js +1 -1
- package/dist/esm/spatial-ref.entry.js +1 -1
- package/dist/solutions-components/p-0a60707c.entry.js +6 -0
- package/dist/solutions-components/p-0ce0ccf6.entry.js +6 -0
- package/dist/solutions-components/p-105278a7.entry.js +6 -0
- package/dist/solutions-components/p-1aad0b63.entry.js +6 -0
- package/dist/solutions-components/p-2dc3849e.js +7 -0
- package/dist/solutions-components/p-47b7670b.entry.js +6 -0
- package/dist/solutions-components/p-4a2870b0.entry.js +21 -0
- package/dist/solutions-components/p-4fa0753d.entry.js +6 -0
- package/dist/solutions-components/p-50b4945e.entry.js +21 -0
- package/dist/solutions-components/p-5b481f0d.entry.js +6 -0
- package/dist/solutions-components/p-60b1fe27.entry.js +6 -0
- package/dist/solutions-components/p-6667e88e.entry.js +6 -0
- package/dist/solutions-components/p-7f36cfb0.entry.js +6 -0
- package/dist/solutions-components/p-83c42cc2.js +21 -0
- package/dist/solutions-components/p-956a987d.entry.js +6 -0
- package/dist/solutions-components/p-974e8883.js +498 -0
- package/dist/solutions-components/p-9ee56d38.entry.js +6 -0
- package/dist/solutions-components/p-b04179db.entry.js +11 -0
- package/dist/solutions-components/p-bcdf6872.entry.js +6 -0
- package/dist/solutions-components/p-c83b1a4a.entry.js +6 -0
- package/dist/solutions-components/p-d65f8b73.js +6 -0
- package/dist/solutions-components/p-dc188d13.js +61 -0
- package/dist/solutions-components/p-f6d19f6d.entry.js +6 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/vendor/calcite-components/2ADYSLPZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2BYCWVAC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2DJLQG4A.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2KN7VFV3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2QQE6RBG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2W46C5IT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2WEHZC4R.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2YD4Z56B.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2YU4JUQK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/323UDHL6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/35N5CZK3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3GWF5ELI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3JWBMHMV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3NUUOJEI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3O4S27LQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3O5VK4VN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3OFHBVGT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3XJDMBMJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3YYHU67H.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/44ZIVGS7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4BEUN427.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4G4MW34F.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4GGWE4M3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4HF2MH3F.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4KGTT6I3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4QHW2KCC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/52AGH4NW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5A4SCMTT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5B6WX2DL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5BW6OEX4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5FDKP64C.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5MAYMOZA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5UXZD2PW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5WEHUHTX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5ZOOOTHO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6C6KOC25.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6DU5XIRS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6IRQP6SO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6M4MQUQE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6MCHN6SO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6NCXFBVI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6NJ2XB5D.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6NPZR4ED.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/74XIV7EB.js +6 -0
- package/dist/solutions-components/vendor/calcite-components/77RD52T4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7BOAE3LM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7DY27BCZ.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/7EIGV5FV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7MV5X5YY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7SAECUZA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7SFM2X2V.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7SQTVACB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7U3ECTM6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7WRGOM4T.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7XDJ54GY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ABXKDQDM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/AN6BRRC4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/AS3OWJAM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/AUQ7MLX2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/AWXNBIWS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/AZOHNXOH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/B45JROQX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/B4YIOD3M.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/B7HWVLZ4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/B7IG4G6I.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/B7MQCVNK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/BFDAS53F.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/BHTF7FU6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/BKNRSH5I.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/BTOGKDPW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/BZAVOPTZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/CATJWSUR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/CY5CVEEO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/D4CU2ELJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DFFLO6RQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DIIIRTRD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DJ65IGAJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DR6TNPNP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DSV6O5SN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DWSKOILM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/E2K7V264.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/E5276FGO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EJZAAUYU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EO6WGEPM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EOTHRH2D.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/F3XJA6O4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/F4EMKIHK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FA3NO5EU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FA3WMFEB.js +22 -0
- package/dist/solutions-components/vendor/calcite-components/FKBMHLD3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FP7FM2VM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FP7S2M3E.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FTPC7ETT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FWYDKVOD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/G3CCZ6XE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/G5S7W2IC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GEURCF7X.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GFAN7OST.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GGSSFQEY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GIAPPW2B.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GQAZQ3S4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GQUIDXCJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GUUZ7ZDV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/H3XVYGU3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/H6E5FODU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HBMJPX74.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HEHWLTET.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HHWADIGN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HJBKJ56M.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HMAFQQAN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HMNR3FGX.js +28 -0
- package/dist/solutions-components/vendor/calcite-components/HO6YJDQ6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HXRFWMNM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HZNGZAMK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HZSC2XKV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/I7NALNEM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/I7S2F2P2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/J22MUGVD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/J2XEN4PC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JHSTZGJJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JNK6UYNK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JR5RWSNX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JSHY6EAI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JZB5GBZP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JZBTEL4E.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KE362XQL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KGBDVMSN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KHFQ3CWL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KJ5QSHIV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KK2GYQJN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KPOLTNRY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KUJZNT2T.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KW5SSXI2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KZLGID44.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/L64PNSJ7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LBEGPJNS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LDPDJTKP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LHPTWBKI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LPMWWCXO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/M2Z3Q7XS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MADH6ZCD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MED7DXL5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MN6JS3SO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MNQ67HJJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MOOKY73S.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/N3RCOT5M.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/N6SVU4LG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NE3OUQ5Q.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NFHTQLBP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NHLJM63F.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NLWFZFB3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NSBYYOY2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NSHGJK73.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NUDAXIBZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/O5SN3SJX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/OEWDESOU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/OTB6UDF3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/OXCCRWE7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PG3U4QAJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PMUHOU3H.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PRPWC5NA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PSOUNIL7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Q6VXEGD5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Q752TMWW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QMGTBEVK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QNL5HVWX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QQ2QONXU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QQCFFW4X.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QSRM5BPK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QXDDQX5X.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/R4TXKGB3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/R546VITU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RGOMC52G.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RIMAR2EG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RJV2JRQS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RLVRPIQB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RR6NYECR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RVEN4NOD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RXONMM2F.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RYOCULDB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SCKKZTVU.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/SKGKFH23.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SUCAF23Q.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SWZ5F3MV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SX5X4EI7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SXYTJEOC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SY3OC64V.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SYD5OQF5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SZONZQBZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TEDXU7XB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TL6JRD7M.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/TOC7BSNI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TYTRJYZL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/U3FS2FCE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/UIWDOEUD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/URGYWK4W.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/V5LFQL3E.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VGEM6KFP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VH2EYQHG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VHAES5IP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VJ5DDNTG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VTUEWQVZ.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/VXIKRCVR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/W4BKGWAR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WB6MZBXE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WBAUVVNW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WCZACGMB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WEHMJO3D.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WGTFNY3J.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WHHZYHGQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WOM5JCSF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/X37LIRIJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XVCE2OUE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XVQRC56A.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XYA7Z3GN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YED3P76Q.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YJZ2YI4N.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YW6WV5X7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Z3IB3JHI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Z64MBKLN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Z762LC4M.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZHYECVB4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZQALJZYZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZXJF7S7L.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/calcite.esm.js +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.ar.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.bg.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.bs.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.ca.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.cs.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.da.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.de.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.el.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.es.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.et.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.fi.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.fr.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.he.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.hr.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.hu.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.id.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.it.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.ja.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.ko.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.lt.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.lv.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.nl.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.no.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.pl.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.pt-BR.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.pt-PT.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.ro.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.ru.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.sk.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.sl.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.sr.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.sv.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.th.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.tr.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.uk.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.vi.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.zh-CN.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.zh-HK.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.zh-TW.json +2 -2
- package/dist/solutions-components/vendor/instant-apps-components/instant-apps-components.esm.js +1 -1
- package/dist/solutions-components/vendor/instant-apps-components/p-005a2711.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-032bc629.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-05080364.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-05080364.entry.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-050b8c6e.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-0e4ff0a9.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-2162260c.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-2751b893.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-2751b893.entry.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-2e588fed.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-34b74df9.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-34b74df9.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-40992282.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-45a300a8.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-50b205e8.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-50b205e8.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-5d5a1e7d.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-5d67f7d1.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-625b0358.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-6ab370d8.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-75b6ba72.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-82b50b9d.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-85727adc.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-88c9829f.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-9ef92300.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-a2fbebc1.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-a2fbebc1.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-af343e04.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-b346c8fa.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-b346c8fa.entry.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-b8c8fb6f.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-bbc047f2.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-c0385dc5.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-cda36aea.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-e3d0321c.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-e3d0321c.entry.js.map +1 -0
- package/dist/solutions-components_commit.txt +7 -7
- package/package.json +6 -6
- package/dist/cjs/asyncToGenerator-ccb3278b.js +0 -92
- package/dist/cjs/downloadUtils-fefa863b.js +0 -5377
- package/dist/cjs/index.es-0441a948.js +0 -11195
- package/dist/cjs/popupUtils-a68a20db.js +0 -121
- package/dist/cjs/purify-34cd0c00.js +0 -1557
- package/dist/collection/vendor/calcite-components/22RQB3WE.js +0 -4
- package/dist/collection/vendor/calcite-components/24SER2VV.js +0 -4
- package/dist/collection/vendor/calcite-components/2BGMAPSV.js +0 -4
- package/dist/collection/vendor/calcite-components/2JKKAEPM.js +0 -4
- package/dist/collection/vendor/calcite-components/2M4WCGKG.js +0 -4
- package/dist/collection/vendor/calcite-components/2YAXZHP2.js +0 -4
- package/dist/collection/vendor/calcite-components/345Q4UHX.js +0 -4
- package/dist/collection/vendor/calcite-components/36DMRAV2.js +0 -4
- package/dist/collection/vendor/calcite-components/3DGJ6ZQI.js +0 -4
- package/dist/collection/vendor/calcite-components/3GICXOBQ.js +0 -4
- package/dist/collection/vendor/calcite-components/3IV6JSC2.js +0 -4
- package/dist/collection/vendor/calcite-components/3TOVZEQB.js +0 -4
- package/dist/collection/vendor/calcite-components/45GA6INB.js +0 -4
- package/dist/collection/vendor/calcite-components/46U4MKUU.js +0 -4
- package/dist/collection/vendor/calcite-components/4BSCJ722.js +0 -4
- package/dist/collection/vendor/calcite-components/4SEPDFCP.js +0 -5
- package/dist/collection/vendor/calcite-components/4TQLSUKH.js +0 -4
- package/dist/collection/vendor/calcite-components/4YZ27QWL.js +0 -4
- package/dist/collection/vendor/calcite-components/4Z7JRTON.js +0 -4
- package/dist/collection/vendor/calcite-components/5AVZLE2Q.js +0 -4
- package/dist/collection/vendor/calcite-components/5EPP4MG3.js +0 -4
- package/dist/collection/vendor/calcite-components/66B2H27W.js +0 -4
- package/dist/collection/vendor/calcite-components/6LW27BEV.js +0 -4
- package/dist/collection/vendor/calcite-components/6OZRZ36X.js +0 -4
- package/dist/collection/vendor/calcite-components/6X2SD2PW.js +0 -4
- package/dist/collection/vendor/calcite-components/6XTYGXNG.js +0 -4
- package/dist/collection/vendor/calcite-components/6ZTWHW63.js +0 -4
- package/dist/collection/vendor/calcite-components/7D3VEEUX.js +0 -4
- package/dist/collection/vendor/calcite-components/7E342YOK.js +0 -4
- package/dist/collection/vendor/calcite-components/7KSGVDSR.js +0 -4
- package/dist/collection/vendor/calcite-components/7PWETOIU.js +0 -4
- package/dist/collection/vendor/calcite-components/7QHUEK5R.js +0 -4
- package/dist/collection/vendor/calcite-components/7SX3RD7P.js +0 -4
- package/dist/collection/vendor/calcite-components/7U7FF3Y4.js +0 -4
- package/dist/collection/vendor/calcite-components/7WG5I3MP.js +0 -4
- package/dist/collection/vendor/calcite-components/A5GGYTUQ.js +0 -4
- package/dist/collection/vendor/calcite-components/AI3R3SU6.js +0 -28
- package/dist/collection/vendor/calcite-components/ARHYATTG.js +0 -4
- package/dist/collection/vendor/calcite-components/ATHBUWBY.js +0 -4
- package/dist/collection/vendor/calcite-components/AXXJNFKZ.js +0 -4
- package/dist/collection/vendor/calcite-components/AYZ73RWQ.js +0 -4
- package/dist/collection/vendor/calcite-components/BAHIPAHM.js +0 -4
- package/dist/collection/vendor/calcite-components/BRTDMTZ3.js +0 -4
- package/dist/collection/vendor/calcite-components/BRTESQOJ.js +0 -4
- package/dist/collection/vendor/calcite-components/BSRMWMHQ.js +0 -4
- package/dist/collection/vendor/calcite-components/BZKF5ZXQ.js +0 -4
- package/dist/collection/vendor/calcite-components/C46JYVUP.js +0 -4
- package/dist/collection/vendor/calcite-components/C54C5E23.js +0 -4
- package/dist/collection/vendor/calcite-components/CBSMKHOY.js +0 -4
- package/dist/collection/vendor/calcite-components/CFRBQXK4.js +0 -4
- package/dist/collection/vendor/calcite-components/CIV3PH3Z.js +0 -4
- package/dist/collection/vendor/calcite-components/CJYTY62F.js +0 -4
- package/dist/collection/vendor/calcite-components/CK6HQQX6.js +0 -4
- package/dist/collection/vendor/calcite-components/CMO3X257.js +0 -4
- package/dist/collection/vendor/calcite-components/CNO6NFH5.js +0 -4
- package/dist/collection/vendor/calcite-components/CWPRBG3T.js +0 -4
- package/dist/collection/vendor/calcite-components/CY6C2FDZ.js +0 -4
- package/dist/collection/vendor/calcite-components/D2HDFE7S.js +0 -22
- package/dist/collection/vendor/calcite-components/D36VWSDW.js +0 -4
- package/dist/collection/vendor/calcite-components/DBVNMM6Q.js +0 -4
- package/dist/collection/vendor/calcite-components/DDJ75RTI.js +0 -4
- package/dist/collection/vendor/calcite-components/DH4ISGHV.js +0 -4
- package/dist/collection/vendor/calcite-components/DNYBIAUI.js +0 -4
- package/dist/collection/vendor/calcite-components/DT67ZFPX.js +0 -4
- package/dist/collection/vendor/calcite-components/DTL2LM6T.js +0 -4
- package/dist/collection/vendor/calcite-components/E3R5SMVW.js +0 -4
- package/dist/collection/vendor/calcite-components/E4NMFIKN.js +0 -4
- package/dist/collection/vendor/calcite-components/EAML4EDI.js +0 -5
- package/dist/collection/vendor/calcite-components/ECEZ4R6E.js +0 -4
- package/dist/collection/vendor/calcite-components/EFI2G5WL.js +0 -4
- package/dist/collection/vendor/calcite-components/EHZCT5YZ.js +0 -4
- package/dist/collection/vendor/calcite-components/EOHVH6PN.js +0 -4
- package/dist/collection/vendor/calcite-components/ESBOJTBS.js +0 -4
- package/dist/collection/vendor/calcite-components/F6EGRKXW.js +0 -4
- package/dist/collection/vendor/calcite-components/FCN5RMLA.js +0 -4
- package/dist/collection/vendor/calcite-components/FDIM6DYL.js +0 -4
- package/dist/collection/vendor/calcite-components/FE3A3YUN.js +0 -4
- package/dist/collection/vendor/calcite-components/FHBFGCTR.js +0 -4
- package/dist/collection/vendor/calcite-components/FNFWOOMR.js +0 -4
- package/dist/collection/vendor/calcite-components/FNM4DZZH.js +0 -4
- package/dist/collection/vendor/calcite-components/G2KHDAZD.js +0 -4
- package/dist/collection/vendor/calcite-components/G3LH75CQ.js +0 -4
- package/dist/collection/vendor/calcite-components/G3ZJ2KQT.js +0 -4
- package/dist/collection/vendor/calcite-components/G7WFYVUC.js +0 -5
- package/dist/collection/vendor/calcite-components/GAAXSGWK.js +0 -4
- package/dist/collection/vendor/calcite-components/GE63ETFI.js +0 -4
- package/dist/collection/vendor/calcite-components/GFC7NS6P.js +0 -4
- package/dist/collection/vendor/calcite-components/GGO5TMB4.js +0 -4
- package/dist/collection/vendor/calcite-components/GKKCWEZX.js +0 -4
- package/dist/collection/vendor/calcite-components/GN5CPLSJ.js +0 -4
- package/dist/collection/vendor/calcite-components/GNUSLZWJ.js +0 -4
- package/dist/collection/vendor/calcite-components/GOOHYN3D.js +0 -4
- package/dist/collection/vendor/calcite-components/GPUFLCIT.js +0 -4
- package/dist/collection/vendor/calcite-components/GSXEMGSW.js +0 -4
- package/dist/collection/vendor/calcite-components/GYQTRH4V.js +0 -4
- package/dist/collection/vendor/calcite-components/HFIRIAQA.js +0 -4
- package/dist/collection/vendor/calcite-components/HGTV36FX.js +0 -4
- package/dist/collection/vendor/calcite-components/HKHPJJ34.js +0 -4
- package/dist/collection/vendor/calcite-components/HMVKZP47.js +0 -4
- package/dist/collection/vendor/calcite-components/I2OIH73C.js +0 -4
- package/dist/collection/vendor/calcite-components/I32TMNTO.js +0 -4
- package/dist/collection/vendor/calcite-components/I62DUDHI.js +0 -4
- package/dist/collection/vendor/calcite-components/IH4RXHJJ.js +0 -4
- package/dist/collection/vendor/calcite-components/IJCTXZQB.js +0 -4
- package/dist/collection/vendor/calcite-components/IXRMDUEL.js +0 -4
- package/dist/collection/vendor/calcite-components/IYDN67SF.js +0 -4
- package/dist/collection/vendor/calcite-components/JCWM5Z43.js +0 -4
- package/dist/collection/vendor/calcite-components/JEX42CPR.js +0 -4
- package/dist/collection/vendor/calcite-components/JFYDLHH7.js +0 -4
- package/dist/collection/vendor/calcite-components/JLZYAYOL.js +0 -4
- package/dist/collection/vendor/calcite-components/JUNCR7R2.js +0 -4
- package/dist/collection/vendor/calcite-components/JVNEJ36Z.js +0 -4
- package/dist/collection/vendor/calcite-components/K3ZBW4GY.js +0 -4
- package/dist/collection/vendor/calcite-components/KBDXI6DJ.js +0 -4
- package/dist/collection/vendor/calcite-components/KBNS3CCT.js +0 -4
- package/dist/collection/vendor/calcite-components/KI2NOBMU.js +0 -4
- package/dist/collection/vendor/calcite-components/KSNEQFZX.js +0 -4
- package/dist/collection/vendor/calcite-components/KSVYAIHK.js +0 -4
- package/dist/collection/vendor/calcite-components/KULDQOV2.js +0 -4
- package/dist/collection/vendor/calcite-components/KVSCG5E3.js +0 -6
- package/dist/collection/vendor/calcite-components/KW57BHXD.js +0 -4
- package/dist/collection/vendor/calcite-components/KWOOGTG2.js +0 -4
- package/dist/collection/vendor/calcite-components/L5FDXQMT.js +0 -4
- package/dist/collection/vendor/calcite-components/LB5ATL5Q.js +0 -4
- package/dist/collection/vendor/calcite-components/LH7KSBQC.js +0 -4
- package/dist/collection/vendor/calcite-components/LHSAAMYQ.js +0 -4
- package/dist/collection/vendor/calcite-components/LILDCWFX.js +0 -4
- package/dist/collection/vendor/calcite-components/LLSB73WA.js +0 -4
- package/dist/collection/vendor/calcite-components/LOZEGKG2.js +0 -4
- package/dist/collection/vendor/calcite-components/MBQZPRQ5.js +0 -4
- package/dist/collection/vendor/calcite-components/MCSX2S5T.js +0 -4
- package/dist/collection/vendor/calcite-components/MIKGJ3NM.js +0 -4
- package/dist/collection/vendor/calcite-components/MPAVJ7UH.js +0 -4
- package/dist/collection/vendor/calcite-components/MPX2M2VX.js +0 -4
- package/dist/collection/vendor/calcite-components/MQYH4ONZ.js +0 -4
- package/dist/collection/vendor/calcite-components/MUWK32IE.js +0 -4
- package/dist/collection/vendor/calcite-components/MZRO54UT.js +0 -4
- package/dist/collection/vendor/calcite-components/N2BVYYYP.js +0 -4
- package/dist/collection/vendor/calcite-components/N4MN6VQ7.js +0 -4
- package/dist/collection/vendor/calcite-components/N55N67N5.js +0 -4
- package/dist/collection/vendor/calcite-components/NODC2JA6.js +0 -4
- package/dist/collection/vendor/calcite-components/NVBNX55L.js +0 -4
- package/dist/collection/vendor/calcite-components/NWVCPRVB.js +0 -4
- package/dist/collection/vendor/calcite-components/O4O3TSE5.js +0 -4
- package/dist/collection/vendor/calcite-components/OE2AH2NC.js +0 -4
- package/dist/collection/vendor/calcite-components/OGED6PPP.js +0 -4
- package/dist/collection/vendor/calcite-components/OHOS32IT.js +0 -4
- package/dist/collection/vendor/calcite-components/OLMX7G3J.js +0 -4
- package/dist/collection/vendor/calcite-components/OOSULFCY.js +0 -4
- package/dist/collection/vendor/calcite-components/OPBQNK7J.js +0 -4
- package/dist/collection/vendor/calcite-components/OTHVFLNW.js +0 -4
- package/dist/collection/vendor/calcite-components/OTUG3NVT.js +0 -4
- package/dist/collection/vendor/calcite-components/PNHR5K2L.js +0 -4
- package/dist/collection/vendor/calcite-components/PT2XMADA.js +0 -4
- package/dist/collection/vendor/calcite-components/PZLVQQMT.js +0 -4
- package/dist/collection/vendor/calcite-components/QAYSDI3M.js +0 -5
- package/dist/collection/vendor/calcite-components/QCGLMLKW.js +0 -4
- package/dist/collection/vendor/calcite-components/QHASLHZN.js +0 -4
- package/dist/collection/vendor/calcite-components/QK2H5T7J.js +0 -4
- package/dist/collection/vendor/calcite-components/QLKHJI4P.js +0 -4
- package/dist/collection/vendor/calcite-components/QQ67AVDV.js +0 -4
- package/dist/collection/vendor/calcite-components/QU33PBBI.js +0 -4
- package/dist/collection/vendor/calcite-components/QYGED6CL.js +0 -4
- package/dist/collection/vendor/calcite-components/R3HMG2D6.js +0 -4
- package/dist/collection/vendor/calcite-components/R4RMVIKH.js +0 -4
- package/dist/collection/vendor/calcite-components/R6GNPMSV.js +0 -4
- package/dist/collection/vendor/calcite-components/RAFCSOOQ.js +0 -4
- package/dist/collection/vendor/calcite-components/RAQWKUOJ.js +0 -4
- package/dist/collection/vendor/calcite-components/RESHLE2Y.js +0 -4
- package/dist/collection/vendor/calcite-components/RJLKHCRB.js +0 -4
- package/dist/collection/vendor/calcite-components/RLSQLIV6.js +0 -4
- package/dist/collection/vendor/calcite-components/RMGYRZXR.js +0 -4
- package/dist/collection/vendor/calcite-components/RSAEDAEX.js +0 -4
- package/dist/collection/vendor/calcite-components/RUTUU2EH.js +0 -4
- package/dist/collection/vendor/calcite-components/RVMVJW6K.js +0 -4
- package/dist/collection/vendor/calcite-components/RVQMJBNS.js +0 -4
- package/dist/collection/vendor/calcite-components/S76CXQTI.js +0 -4
- package/dist/collection/vendor/calcite-components/SBZ6VJ75.js +0 -4
- package/dist/collection/vendor/calcite-components/SJKTCGW6.js +0 -4
- package/dist/collection/vendor/calcite-components/SKDMJE3X.js +0 -4
- package/dist/collection/vendor/calcite-components/SMUXJLDL.js +0 -4
- package/dist/collection/vendor/calcite-components/SYEQSDHG.js +0 -4
- package/dist/collection/vendor/calcite-components/T3NRBBZP.js +0 -4
- package/dist/collection/vendor/calcite-components/T5UPGHU3.js +0 -4
- package/dist/collection/vendor/calcite-components/T6HODD4B.js +0 -4
- package/dist/collection/vendor/calcite-components/TNR5VZG2.js +0 -4
- package/dist/collection/vendor/calcite-components/TQIVV2F7.js +0 -4
- package/dist/collection/vendor/calcite-components/TQTAM3XB.js +0 -4
- package/dist/collection/vendor/calcite-components/TSJJLMPA.js +0 -4
- package/dist/collection/vendor/calcite-components/TVDZM7WT.js +0 -4
- package/dist/collection/vendor/calcite-components/U3WK4DZT.js +0 -4
- package/dist/collection/vendor/calcite-components/U725E4ID.js +0 -4
- package/dist/collection/vendor/calcite-components/UELGJSYH.js +0 -4
- package/dist/collection/vendor/calcite-components/UJL3BWDH.js +0 -4
- package/dist/collection/vendor/calcite-components/URM3R65T.js +0 -4
- package/dist/collection/vendor/calcite-components/US3PQV6O.js +0 -4
- package/dist/collection/vendor/calcite-components/V4JZRN7T.js +0 -4
- package/dist/collection/vendor/calcite-components/VCSXFNPO.js +0 -4
- package/dist/collection/vendor/calcite-components/VG7BJBFG.js +0 -4
- package/dist/collection/vendor/calcite-components/VJD4CRQ3.js +0 -4
- package/dist/collection/vendor/calcite-components/VMRLYKNI.js +0 -4
- package/dist/collection/vendor/calcite-components/VNQNKQ2J.js +0 -4
- package/dist/collection/vendor/calcite-components/VST65PDC.js +0 -4
- package/dist/collection/vendor/calcite-components/WKTGTKRJ.js +0 -4
- package/dist/collection/vendor/calcite-components/WPAMFFBY.js +0 -4
- package/dist/collection/vendor/calcite-components/WSGL37LB.js +0 -4
- package/dist/collection/vendor/calcite-components/WWUBU6N5.js +0 -4
- package/dist/collection/vendor/calcite-components/X2UHFJHG.js +0 -4
- package/dist/collection/vendor/calcite-components/XBZLGRRI.js +0 -4
- package/dist/collection/vendor/calcite-components/XOVG6UH3.js +0 -4
- package/dist/collection/vendor/calcite-components/XT32TCZG.js +0 -4
- package/dist/collection/vendor/calcite-components/XXZIOSXQ.js +0 -4
- package/dist/collection/vendor/calcite-components/Y6VF7HSM.js +0 -4
- package/dist/collection/vendor/calcite-components/YA5A7PJR.js +0 -4
- package/dist/collection/vendor/calcite-components/YMRTHS5X.js +0 -4
- package/dist/collection/vendor/calcite-components/YTRT5XZT.js +0 -4
- package/dist/collection/vendor/calcite-components/YXLQFMOA.js +0 -4
- package/dist/collection/vendor/calcite-components/YYJSHQR3.js +0 -4
- package/dist/collection/vendor/calcite-components/Z6GA347Y.js +0 -4
- package/dist/collection/vendor/calcite-components/Z7VNUC77.js +0 -4
- package/dist/collection/vendor/calcite-components/ZA76CHET.js +0 -4
- package/dist/collection/vendor/calcite-components/ZGXTLCGJ.js +0 -4
- package/dist/collection/vendor/calcite-components/ZQO6E4FO.js +0 -4
- package/dist/collection/vendor/calcite-components/ZV442E6X.js +0 -4
- package/dist/collection/vendor/instant-apps-components/p-0b1b0a5a.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-1c4428aa.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-1c4428aa.js.map +0 -1
- package/dist/collection/vendor/instant-apps-components/p-3ce7e35f.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-3e5898bb.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-3e5898bb.entry.js.map +0 -1
- package/dist/collection/vendor/instant-apps-components/p-491aed47.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-4ad06857.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-51f2e0b2.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-51f2e0b2.js.map +0 -1
- package/dist/collection/vendor/instant-apps-components/p-525c0e1c.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-5f6af6b4.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-6c1383dc.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-6e858759.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-946ed90b.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-9f85433e.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-a271203d.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-a72c317d.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-ab4ac65e.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-ab4ac65e.entry.js.map +0 -1
- package/dist/collection/vendor/instant-apps-components/p-ac95a4be.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-b291a1e6.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-b291a1e6.js.map +0 -1
- package/dist/collection/vendor/instant-apps-components/p-b355f972.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-b9eed273.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-c5932580.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-c77b3b1b.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-cd7eea90.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-cfc94a85.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-cfc94a85.entry.js.map +0 -1
- package/dist/collection/vendor/instant-apps-components/p-ef8e7a97.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-f146c213.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-fa2be703.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-fa2be703.entry.js.map +0 -1
- package/dist/collection/vendor/instant-apps-components/p-fcbd42f5.entry.js +0 -2
- package/dist/collection/vendor/instant-apps-components/p-fedaae5b.entry.js +0 -2
- package/dist/esm/asyncToGenerator-48cd21fe.js +0 -88
- package/dist/esm/downloadUtils-7ef5420f.js +0 -5371
- package/dist/esm/index.es-c379ea10.js +0 -11108
- package/dist/esm/popupUtils-ef89df87.js +0 -119
- package/dist/esm/purify-b49e5991.js +0 -1555
- package/dist/solutions-components/p-11ad8edc.entry.js +0 -6
- package/dist/solutions-components/p-1325fa9e.entry.js +0 -6
- package/dist/solutions-components/p-1a65c187.entry.js +0 -6
- package/dist/solutions-components/p-2be59c38.entry.js +0 -6
- package/dist/solutions-components/p-4379cc5f.js +0 -498
- package/dist/solutions-components/p-5096280f.entry.js +0 -6
- package/dist/solutions-components/p-51033697.entry.js +0 -6
- package/dist/solutions-components/p-51e04c86.js +0 -21
- package/dist/solutions-components/p-605597cf.entry.js +0 -6
- package/dist/solutions-components/p-62a0aa8e.js +0 -6
- package/dist/solutions-components/p-681a41f3.entry.js +0 -6
- package/dist/solutions-components/p-6d1ee086.js +0 -61
- package/dist/solutions-components/p-7eec82e3.entry.js +0 -21
- package/dist/solutions-components/p-8b05b49c.entry.js +0 -6
- package/dist/solutions-components/p-93ebcb9b.entry.js +0 -6
- package/dist/solutions-components/p-a9c9ff86.entry.js +0 -6
- package/dist/solutions-components/p-ad83a5ba.js +0 -7
- package/dist/solutions-components/p-b1f11c67.entry.js +0 -11
- package/dist/solutions-components/p-b3b5dca4.entry.js +0 -6
- package/dist/solutions-components/p-c45ba7dd.entry.js +0 -6
- package/dist/solutions-components/p-de3ba7be.entry.js +0 -21
- package/dist/solutions-components/p-debeb4dc.entry.js +0 -6
- package/dist/solutions-components/p-f2cfed3a.entry.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/22RQB3WE.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/24SER2VV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2BGMAPSV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2JKKAEPM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2M4WCGKG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2YAXZHP2.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/345Q4UHX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/36DMRAV2.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/3DGJ6ZQI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/3GICXOBQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/3IV6JSC2.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/3TOVZEQB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/45GA6INB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/46U4MKUU.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4BSCJ722.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4SEPDFCP.js +0 -5
- package/dist/solutions-components/vendor/calcite-components/4TQLSUKH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4YZ27QWL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4Z7JRTON.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/5AVZLE2Q.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/5EPP4MG3.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/66B2H27W.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6LW27BEV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6OZRZ36X.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6X2SD2PW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6XTYGXNG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6ZTWHW63.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7D3VEEUX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7E342YOK.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7KSGVDSR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7PWETOIU.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7QHUEK5R.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7SX3RD7P.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7U7FF3Y4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7WG5I3MP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/A5GGYTUQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/AI3R3SU6.js +0 -28
- package/dist/solutions-components/vendor/calcite-components/ARHYATTG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ATHBUWBY.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/AXXJNFKZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/AYZ73RWQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/BAHIPAHM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/BRTDMTZ3.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/BRTESQOJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/BSRMWMHQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/BZKF5ZXQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/C46JYVUP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/C54C5E23.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/CBSMKHOY.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/CFRBQXK4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/CIV3PH3Z.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/CJYTY62F.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/CK6HQQX6.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/CMO3X257.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/CNO6NFH5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/CWPRBG3T.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/CY6C2FDZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/D2HDFE7S.js +0 -22
- package/dist/solutions-components/vendor/calcite-components/D36VWSDW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DBVNMM6Q.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DDJ75RTI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DH4ISGHV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DNYBIAUI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DT67ZFPX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DTL2LM6T.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/E3R5SMVW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/E4NMFIKN.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EAML4EDI.js +0 -5
- package/dist/solutions-components/vendor/calcite-components/ECEZ4R6E.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EFI2G5WL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EHZCT5YZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EOHVH6PN.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ESBOJTBS.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/F6EGRKXW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FCN5RMLA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FDIM6DYL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FE3A3YUN.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FHBFGCTR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FNFWOOMR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FNM4DZZH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/G2KHDAZD.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/G3LH75CQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/G3ZJ2KQT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/G7WFYVUC.js +0 -5
- package/dist/solutions-components/vendor/calcite-components/GAAXSGWK.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GE63ETFI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GFC7NS6P.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GGO5TMB4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GKKCWEZX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GN5CPLSJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GNUSLZWJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GOOHYN3D.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GPUFLCIT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GSXEMGSW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GYQTRH4V.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HFIRIAQA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HGTV36FX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HKHPJJ34.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HMVKZP47.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/I2OIH73C.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/I32TMNTO.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/I62DUDHI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/IH4RXHJJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/IJCTXZQB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/IXRMDUEL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/IYDN67SF.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JCWM5Z43.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JEX42CPR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JFYDLHH7.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JLZYAYOL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JUNCR7R2.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JVNEJ36Z.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/K3ZBW4GY.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KBDXI6DJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KBNS3CCT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KI2NOBMU.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KSNEQFZX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KSVYAIHK.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KULDQOV2.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KVSCG5E3.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/KW57BHXD.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KWOOGTG2.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/L5FDXQMT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LB5ATL5Q.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LH7KSBQC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LHSAAMYQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LILDCWFX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LLSB73WA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LOZEGKG2.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MBQZPRQ5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MCSX2S5T.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MIKGJ3NM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MPAVJ7UH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MPX2M2VX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MQYH4ONZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MUWK32IE.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MZRO54UT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/N2BVYYYP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/N4MN6VQ7.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/N55N67N5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NODC2JA6.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NVBNX55L.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NWVCPRVB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/O4O3TSE5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/OE2AH2NC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/OGED6PPP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/OHOS32IT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/OLMX7G3J.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/OOSULFCY.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/OPBQNK7J.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/OTHVFLNW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/OTUG3NVT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/PNHR5K2L.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/PT2XMADA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/PZLVQQMT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QAYSDI3M.js +0 -5
- package/dist/solutions-components/vendor/calcite-components/QCGLMLKW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QHASLHZN.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QK2H5T7J.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QLKHJI4P.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QQ67AVDV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QU33PBBI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QYGED6CL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/R3HMG2D6.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/R4RMVIKH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/R6GNPMSV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RAFCSOOQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RAQWKUOJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RESHLE2Y.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RJLKHCRB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RLSQLIV6.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RMGYRZXR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RSAEDAEX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RUTUU2EH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RVMVJW6K.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RVQMJBNS.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/S76CXQTI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/SBZ6VJ75.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/SJKTCGW6.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/SKDMJE3X.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/SMUXJLDL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/SYEQSDHG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/T3NRBBZP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/T5UPGHU3.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/T6HODD4B.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/TNR5VZG2.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/TQIVV2F7.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/TQTAM3XB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/TSJJLMPA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/TVDZM7WT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/U3WK4DZT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/U725E4ID.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/UELGJSYH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/UJL3BWDH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/URM3R65T.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/US3PQV6O.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/V4JZRN7T.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/VCSXFNPO.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/VG7BJBFG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/VJD4CRQ3.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/VMRLYKNI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/VNQNKQ2J.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/VST65PDC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/WKTGTKRJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/WPAMFFBY.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/WSGL37LB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/WWUBU6N5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/X2UHFJHG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XBZLGRRI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XOVG6UH3.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XT32TCZG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XXZIOSXQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/Y6VF7HSM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YA5A7PJR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YMRTHS5X.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YTRT5XZT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YXLQFMOA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YYJSHQR3.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/Z6GA347Y.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/Z7VNUC77.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZA76CHET.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZGXTLCGJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZQO6E4FO.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZV442E6X.js +0 -4
- package/dist/solutions-components/vendor/instant-apps-components/p-0b1b0a5a.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-1c4428aa.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-1c4428aa.js.map +0 -1
- package/dist/solutions-components/vendor/instant-apps-components/p-3ce7e35f.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-3e5898bb.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-3e5898bb.entry.js.map +0 -1
- package/dist/solutions-components/vendor/instant-apps-components/p-491aed47.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-4ad06857.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-51f2e0b2.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-51f2e0b2.js.map +0 -1
- package/dist/solutions-components/vendor/instant-apps-components/p-525c0e1c.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-5f6af6b4.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-6c1383dc.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-6e858759.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-946ed90b.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-9f85433e.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-a271203d.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-a72c317d.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-ab4ac65e.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-ab4ac65e.entry.js.map +0 -1
- package/dist/solutions-components/vendor/instant-apps-components/p-ac95a4be.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-b291a1e6.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-b291a1e6.js.map +0 -1
- package/dist/solutions-components/vendor/instant-apps-components/p-b355f972.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-b9eed273.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-c5932580.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-c77b3b1b.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-cd7eea90.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-cfc94a85.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-cfc94a85.entry.js.map +0 -1
- package/dist/solutions-components/vendor/instant-apps-components/p-ef8e7a97.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-f146c213.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-fa2be703.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-fa2be703.entry.js.map +0 -1
- package/dist/solutions-components/vendor/instant-apps-components/p-fcbd42f5.entry.js +0 -2
- package/dist/solutions-components/vendor/instant-apps-components/p-fedaae5b.entry.js +0 -2
- /package/dist/cjs/{locale-81070bd9.js → locale-809dbc6e.js} +0 -0
- /package/dist/cjs/{typeof-920a4426.js → typeof-2a7e2dec.js} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-c5932580.js.map → p-005a2711.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-b355f972.entry.js.map → p-032bc629.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-4ad06857.entry.js.map → p-050b8c6e.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-946ed90b.entry.js.map → p-0e4ff0a9.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-491aed47.entry.js.map → p-2162260c.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-9f85433e.entry.js.map → p-2e588fed.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-c77b3b1b.js.map → p-40992282.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-f146c213.js.map → p-45a300a8.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-3ce7e35f.entry.js.map → p-5d5a1e7d.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-5f6af6b4.entry.js.map → p-5d67f7d1.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-ef8e7a97.entry.js.map → p-625b0358.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-a72c317d.entry.js.map → p-6ab370d8.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-6c1383dc.entry.js.map → p-75b6ba72.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-0b1b0a5a.entry.js.map → p-82b50b9d.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-525c0e1c.entry.js.map → p-85727adc.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-b9eed273.entry.js.map → p-88c9829f.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-a271203d.entry.js.map → p-9ef92300.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-fcbd42f5.entry.js.map → p-af343e04.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-6e858759.entry.js.map → p-b8c8fb6f.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-ac95a4be.entry.js.map → p-bbc047f2.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-cd7eea90.entry.js.map → p-c0385dc5.entry.js.map} +0 -0
- /package/dist/collection/vendor/instant-apps-components/{p-fedaae5b.entry.js.map → p-cda36aea.entry.js.map} +0 -0
- /package/dist/esm/{locale-4be8e04f.js → locale-fa8258bf.js} +0 -0
- /package/dist/esm/{typeof-2511410e.js → typeof-ef2a007d.js} +0 -0
- /package/dist/solutions-components/{p-af7e43e0.js → p-4fe489cf.js} +0 -0
- /package/dist/solutions-components/{p-8a74a780.js → p-57be3b9d.js} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-c5932580.js.map → p-005a2711.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-b355f972.entry.js.map → p-032bc629.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-4ad06857.entry.js.map → p-050b8c6e.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-946ed90b.entry.js.map → p-0e4ff0a9.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-491aed47.entry.js.map → p-2162260c.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-9f85433e.entry.js.map → p-2e588fed.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-c77b3b1b.js.map → p-40992282.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-f146c213.js.map → p-45a300a8.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-3ce7e35f.entry.js.map → p-5d5a1e7d.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-5f6af6b4.entry.js.map → p-5d67f7d1.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-ef8e7a97.entry.js.map → p-625b0358.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-a72c317d.entry.js.map → p-6ab370d8.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-6c1383dc.entry.js.map → p-75b6ba72.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-0b1b0a5a.entry.js.map → p-82b50b9d.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-525c0e1c.entry.js.map → p-85727adc.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-b9eed273.entry.js.map → p-88c9829f.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-a271203d.entry.js.map → p-9ef92300.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-fcbd42f5.entry.js.map → p-af343e04.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-6e858759.entry.js.map → p-b8c8fb6f.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-ac95a4be.entry.js.map → p-bbc047f2.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-cd7eea90.entry.js.map → p-c0385dc5.entry.js.map} +0 -0
- /package/dist/solutions-components/vendor/instant-apps-components/{p-fedaae5b.entry.js.map → p-cda36aea.entry.js.map} +0 -0
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as e,c as t,g as i,h as s,H as o}from"./p-934e8935.js";import{g as l}from"./p-8a74a780.js";import"./p-d4056c1c.js";const a=class{constructor(i){e(this,i),this.solutionItemHover=t(this,"solutionItemHover",7),this.solutionItemSelect=t(this,"solutionItemSelect",7),this.solutionTypeHover=t(this,"solutionTypeHover",7),this.locale=void 0,this.listSelectionMode="none",this.templateInfos=[],this._sortedTemplateInfos=[],this._translations=void 0}get el(){return i(this)}_sortOrder=["Hub Site Application","Hub Page","Web Experience","Instant App","Web Mapping Application","Dashboard","StoryMap","Form","QuickCapture Project","Workflow","Big Data Analytic (hosted)","Real Time Analytic (hosted)","Feed (hosted)","Tool","Notebook","Data Pipeline","Project Package","Desktop Application Template","TypeNotFound","Web Map","Web Scene","Feature Layer (hosted, view)","Feature Layer (hosted)","Table (hosted, view)","Table (hosted)","Tile Layer","CSV","Microsoft Excel","Microsoft Word","Report Template","Rule Package","Group"];async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async templateInfosWatchHandler(){this._sortedTemplateInfos=this._sortTemplates()}async collapseAll(){this.el.shadowRoot.querySelectorAll("calcite-accordion-item").forEach((e=>{e.expanded=!1}))}async deselectAll(){"single"!==this.listSelectionMode&&"single-persist"!==this.listSelectionMode||this.el.shadowRoot.querySelectorAll("calcite-list-item").forEach((e=>{e.selected&&(e.selected=!1,e.parentElement.parentElement.expanded=!1)}))}async selectItem(e){"single"!==this.listSelectionMode&&"single-persist"!==this.listSelectionMode||this.el.shadowRoot.querySelectorAll("calcite-list-item").forEach((t=>{t.id===e&&(t.selected=!0,t.parentElement.parentElement.expanded=!0)}))}solutionItemHover;solutionItemSelect;solutionTypeHover;async componentWillLoad(){this._sortedTemplateInfos=this._sortTemplates(),await this._getTranslations()}render(){return s(o,{key:"256ee8e0446936324243655830d5aa85310df6f2"},this._getAccordion())}_deselectOthers(e){"single"!==this.listSelectionMode&&"single-persist"!==this.listSelectionMode||this.el.shadowRoot.querySelectorAll("calcite-list-item").forEach((t=>{t.id!==e&&(t.selected=!1)}))}_getAccordion(){const e=[],t=this._sortedTemplateInfos.reduce(((t,i)=>{const s=this._getTypeForDisplay(i.type,i.typeKeywords);return e.indexOf(s)<0&&(e.push(s),t.push(this._getAccordionItem(i))),t}),[]);return s("calcite-accordion",{class:"border-override",selectionMode:"single"},t)}_getAccordionItem(e){const t=this._getTypeForDisplay(e.type,e.typeKeywords),i=this._sortedTemplateInfos.filter((e=>this._getTypeForDisplay(e.type,e.typeKeywords)===t));return s("calcite-accordion-item",{description:`${t} (${i.length})`,onMouseEnter:()=>this.solutionTypeHover.emit({itemType:t,entering:!0}),onMouseLeave:()=>this.solutionTypeHover.emit({itemType:t,entering:!1})},s("solution-item-icon",{class:"padding-start-1 display-flex align-center",slot:"actions-start",type:e.type,typeKeywords:e.typeKeywords}),this._getList(i))}_getList(e){const t=this._sortTemplatesByTitle(e);return s("calcite-list",{label:"",selectionAppearance:"border",selectionMode:this.listSelectionMode},t.map((e=>this._getListItem(e))))}_getListItem(e){return s("calcite-list-item",{id:e.id,onCalciteListItemSelect:()=>{this._deselectOthers(e.id),this.solutionItemSelect.emit({itemId:e.id,selected:!0})},onMouseEnter:()=>this.solutionItemHover.emit({itemId:e.id,entering:!0}),onMouseLeave:()=>this.solutionItemHover.emit({itemId:e.id,entering:!1}),value:e.id},s("div",{class:"solution-list-item-content",slot:"content"},s("div",{class:"solution-list-item-label"},e.title),s("div",{class:"solution-list-item-description"},e.snippet)),e.url?s("div",{slot:"actions-end"},s("calcite-action",{icon:"launch",id:e.id+"-launch",onClick:()=>window.open(e.url,"_blank"),text:""}),s("calcite-tooltip",{"overlay-positioning":"fixed","reference-element":e.id+"-launch"},s("span",null,this._translations?.openDetails))):null)}_sortTemplatesByTitle(e){return e.sort(((e,t)=>e.title<t.title?-1:e.title>t.title?1:0))}_sortTemplates(){return this.templateInfos.sort(((e,t)=>{const i=this._getTypeForSort(e),s=this._getTypeForSort(t);return this._sortOrder.indexOf(i)-this._sortOrder.indexOf(s)}))}_getTypeForSort(e){let t=this._getTypeForDisplay(e.type,e.typeKeywords);return this._sortOrder.indexOf(t)<0&&(t="TypeNotFound"),t}_getTypeForDisplay(e,t){let i=e;if("Feature Service"===e){const e=t.indexOf("View Service")>-1,s=t.indexOf("Table")>-1;i=e&&s?"Table (hosted, view)":s?"Table (hosted)":e?"Feature Layer (hosted, view)":"Feature Layer (hosted)"}return"Web Mapping Application"===e&&(i=t.indexOf("configurableApp")>-1?"Instant App":i),i="Geoprocessing Service"===e?"Tool":i,i="Feed"===e?"Feed (hosted)":i,i="Real Time Analytic"===e?"Real Time Analytic (hosted)":i,i="Big Data Analytic"===e?"Big Data Analytic (hosted)":i,i="Vector Tile Service"===e?"Tile Layer":i,i}async _getTranslations(){const e=await l(this.el);this._translations=e[0]}static get watchers(){return{locale:["localeWatchHandler"],templateInfos:["templateInfosWatchHandler"]}}};a.style=":host{display:block}.padding-start-1{padding-inline-start:1rem}.border-override{--calcite-accordion-border-color:var(--calcite-color-border-1) !important}.display-flex{display:flex}.align-center{align-items:center}.solution-list-item-label{color:var(--calcite-color-text-1);font-size:var(--calcite-font-size--1)}.solution-list-item-label,.solution-list-item-description{font-family:var(--calcite-font-family);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.solution-list-item-description{font-size:var(--calcite-font-size--2);margin-block-start:0.125rem;color:var(--calcite-color-text-3)}.solution-list-item-content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;line-height:1.375}";export{a as solution_item_accordion}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,c as i,g as s,h as e}from"./p-934e8935.js";import{l as a,g as h}from"./p-8a74a780.js";import{P as l}from"./p-51e04c86.js";import{g as n,c as o,h as r}from"./p-5693ce7a.js";import"./p-d4056c1c.js";import"./p-4379cc5f.js";import"./p-af7e43e0.js";import"./p-4f236b5d.js";import"./p-570b13d9.js";import"./p-0668e30d.js";import"./p-80cb7c73.js";const c=class{constructor(s){t(this,s),this.featureSelect=i(this,"featureSelect",7),this.selectedLayerId=void 0,this.mapView=void 0,this.noFeaturesFoundMsg=void 0,this.pageSize=100,this.highlightOnMap=!1,this.highlightOnHover=!1,this.locale=void 0,this.sortingInfo=void 0,this.whereClause=void 0,this.textSize="large",this.showInitialLoading=!0,this.showErrorWhenNoFeatures=!0,this.showUserImageInList=!1,this.showFeatureSymbol=!1,this.applyLayerViewFilter=!1,this.reportingOptions=void 0,this.showFullTitle=!0,this.filterByMapExtent=!1,this._featureItems=[],this._featuresCount=0,this._isLoading=!1,this._searchPlaceHolder="",this._fullTextSearchInfo=void 0,this._translations=void 0}get el(){return s(this)}Color;esriConfig;symbolUtils;reactiveUtils;_popupUtils;_selectedLayer;_highlightHandle;_filterByMapExtentHandle;_highlights;_pagination;_calciteList;_validFieldTypes=["small-integer","integer","big-integer","single","long"];_abbreviatedLikeCount;_likeFieldAvailable=!1;_searchExpression;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async selectedLayerWatchHandler(){this._selectedLayer=await n(this.mapView,this.selectedLayerId),await this.initializeFeatureItems()}async sortingInfoWatchHandler(){await this.initializeFeatureItems()}async whereClauseHandler(){await this.initializeFeatureItems()}async filterByMapExtentHandler(t){t?this.initializeMapExtentFilter():this._filterByMapExtentHandle&&this._filterByMapExtentHandle.remove()}async refresh(t){if(t&&this._pagination){const t={target:{startItem:this._pagination.startItem}};await this.pageChanged(t)}else this._searchExpression?await this._searchFullText():await this.initializeFeatureItems()}featureSelect;async componentWillLoad(){await this.initModules(),await this._getTranslations(),this._isLoading=this.showInitialLoading,this._popupUtils=new l,this.mapView&&this.selectedLayerId&&(this._selectedLayer=await n(this.mapView,this.selectedLayerId),this._getFullTextSearchInfo()),this.filterByMapExtent&&this.initializeMapExtentFilter()}async componentDidLoad(){await this.initializeFeatureItems()}render(){const t=this._canShowFullTextSearch();return e("calcite-panel",{key:"da51d35e66ceea64f32ddf7872ac7133f98bfc48","full-height":!0,"full-width":!0},t&&e("calcite-input",{key:"04a50538873d5a87eb194edca98fa5a86818bfc4",class:"search",clearable:!0,icon:"search",onCalciteInputChange:this._searchTextChanged.bind(this),placeholder:this._searchPlaceHolder,title:"",type:"search"}),this._isLoading&&e("calcite-loader",{key:"f89602c8d36c41d8ed5b028619853ba8e1dedbc9",label:"",scale:"m"}),this.showErrorWhenNoFeatures&&0===this._featureItems.length&&!this._isLoading&&e("calcite-notice",{key:"147d2072a916b9a0ec34d3819a8c88ded50673b1",class:"error-msg",icon:"feature-details",kind:"info",open:!0},e("div",{key:"ab769558c1489e9b24eff945b970230b5015a35c",slot:"message"},this.filterByMapExtent?this._translations.featureErrorMsgInCurrentMapView:this.noFeaturesFoundMsg?this.noFeaturesFoundMsg:this._translations.featureErrorMsg)),e("calcite-list",{key:"aa05260aa25bd5023be842969f6660950269221e",class:"small"!==this.textSize||this.showFullTitle?"":"overflow-hidden",label:"",ref:t=>this._calciteList=t,"selection-appearance":"border","selection-mode":"none"},!this._isLoading&&this._featureItems.length>0&&this._featureItems),this._featuresCount>this.pageSize&&e("div",{key:"6db2614c585cc95605998c2ddd96e9d8980ed875",class:"width-full",slot:"footer"},e("calcite-pagination",{key:"59f0c7e97b02215ec717d902fdf6294ed7c82a67",class:"pagination","full-width":!0,onCalcitePaginationChange:this.pageChanged.bind(this),"page-size":this.pageSize,ref:t=>this._pagination=t,"start-item":"1","total-items":this._featuresCount})))}async initModules(){const[t,i,s,e]=await a(["esri/Color","esri/config","esri/symbols/support/symbolUtils","esri/core/reactiveUtils"]);this.Color=t,this.esriConfig=i,this.symbolUtils=s,this.reactiveUtils=e}async getWhereCondition(){let t="1=1";if(this.whereClause&&(t=this.whereClause),this._selectedLayer?.definitionExpression&&(t=t+" AND "+this._selectedLayer.definitionExpression),this.applyLayerViewFilter){const i=await o(this.mapView,this.selectedLayerId);i?.filter?.where&&(t=t+" AND "+i.filter.where)}return t}async initializeFeatureItems(){if(this._selectedLayer){this._pagination?.goTo("start"),this._isLoading=this.showInitialLoading,this._featureItems=await this.queryPage(0);const t={where:await this.getWhereCondition(),geometry:this.filterByMapExtent?this.mapView.extent:null};this._featuresCount=await this._selectedLayer.queryFeatureCount(t),this._isLoading=!1}}initializeMapExtentFilter(){this._filterByMapExtentHandle=this.reactiveUtils.when((()=>this.mapView.stationary),(()=>{this.initializeFeatureItems()}),{initial:!0})}async pageChanged(t){this._isLoading=!0,this._highlightHandle&&(this._highlightHandle.remove(),this._highlightHandle=null);const i=t.target.startItem-1;this._featureItems=await this.queryPage(i),this._isLoading=!1}_canShowFullTextSearch(){return((this._selectedLayer?.capabilities)?.query)?.supportsFullTextSearch&&this._selectedLayer.indexes.items.filter((t=>"FullText"==t.indexType)).length>0}_getFullTextSearchInfo(){if(this._fullTextSearchInfo=[],((this._selectedLayer?.capabilities)?.query)?.supportsFullTextSearch){const t=this._selectedLayer.indexes?.filter((t=>"FullText"==t.indexType));if(t?.length){const i=[];t.forEach((t=>{i.push(...t.fields.split(","))}));const s=[];i.forEach((t=>{const i=this._selectedLayer.getField(t.trim());s.push(i.alias)})),this._searchPlaceHolder=this._translations.searchPlaceholder.replace("{{fields}}",s.join(", ")),this._fullTextSearchInfo.push({onFields:["*"],searchTerm:"",searchType:"prefix"})}}}async _searchTextChanged(t){this._fullTextSearchInfo.forEach((i=>{i.searchTerm=t.target.value})),await this._searchFullText()}async _searchFullText(){this._searchExpression&&this._clearSearchDefinitionExpression();let t=[];if(this._fullTextSearchInfo&&this._fullTextSearchInfo[0].searchTerm){const i=this._selectedLayer.createQuery();i.fullText=this._fullTextSearchInfo,t=await this._selectedLayer.queryObjectIds(i),await this._updateSearchDefinitionExpression(t?.length?t:[-1])}await this.initializeFeatureItems()}async _updateSearchDefinitionExpression(t){const i=this._selectedLayer.definitionExpression;if(t?.length){const s=`objectId in(${t})`;this._selectedLayer.definitionExpression=i?.indexOf(this._searchExpression)>-1?i.replace(this._searchExpression,s):i?`${i} AND (${s})`:s,this._searchExpression=s}else this._clearSearchDefinitionExpression()}_clearSearchDefinitionExpression(){const t=this._selectedLayer.definitionExpression;this._searchExpression&&t?.indexOf(this._searchExpression)>-1&&(this._selectedLayer.definitionExpression=t?.indexOf(" AND ("+this._searchExpression)>-1?t.replace(` AND (${this._searchExpression})`,""):t.replace(this._searchExpression,"")),this._searchExpression=void 0}async featureClicked(t,i){if(this.clearHighlights(),this.highlightOnMap){const i=Number(t.target.value),s=await o(this.mapView,this.selectedLayerId);this._highlightHandle=await r([i],s,this.mapView,!0)}await this.emitSelectedFeature(i)}async emitSelectedFeature(t){const i=t.layer,s=i.createQuery();s.returnGeometry=!0,s.objectIds=[t.getObjectId()];const e=await i.queryFeatures(s);this.featureSelect.emit(e.features[0])}async onFeatureHover(t){if(this.clearHighlights(),this.highlightOnHover){const i=t.getObjectId(),s=await o(this.mapView,this.selectedLayerId);this._highlights&&(s.highlights=JSON.parse(this._highlights)),s.highlightOptions={color:new this.Color("#FFFF00")},this._highlights=JSON.stringify(s.highlights),this._highlightHandle=s.highlight([i])}}clearHighlights(){this._highlightHandle&&this._highlightHandle.remove()}async queryPage(t){const i=this._selectedLayer,s=this.sortingInfo?.field?this.sortingInfo.field:i.objectIdField,e=this.sortingInfo?.order?this.sortingInfo.order:"desc",a=await this.getWhereCondition(),h={start:t,num:this.pageSize,outFields:["*"],returnGeometry:!0,where:a,outSpatialReference:this.mapView.spatialReference.toJSON(),geometry:this.filterByMapExtent?this.mapView.extent:null};s&&e&&(h.orderByFields=[s.toString()+" "+e]);const l=await i.queryFeatures(h);return await this.createFeatureItem(l)}async createFeatureItem(t){const i=t?.features,s=this.reportingOptions&&this.reportingOptions[this.selectedLayerId].like,e=i.map((async t=>{const i=await this._popupUtils.getPopupTitle(t,this.mapView.map);let e,a;if(this.showUserImageInList){const i=this._selectedLayer.editFieldsInfo?.creatorField;i&&(e=await this.getUserInformation(t))}return this.showFeatureSymbol&&(a=await this.getFeatureSymbol(t)),s&&this.getAbbreviatedLikeCount(t),this.getFeatureItem(t,i,a,e)}));return Promise.all(e)}getAbbreviatedLikeCount(t){const i=this._selectedLayer,s=this.reportingOptions[i.id].likeField;i.fields.forEach((e=>{if(this._validFieldTypes.indexOf(e.type)>-1&&e.name===s&&this.reportingOptions[i.id].like){this._likeFieldAvailable=!0;let i=t.attributes[s]||0;i>999&&(i=i>999999?this._translations.millionsAbbreviation.replace("{{abbreviated_value}}",Math.floor(i/1e6).toString()):this._translations.thousandsAbbreviation.replace("{{abbreviated_value}}",Math.floor(i/1e3).toString())),this._abbreviatedLikeCount=i}}))}getFeatureItem(t,i,s,a){const h=t.attributes[this._selectedLayer.objectIdField].toString();i=i??h;const l=Number(t.attributes[this.reportingOptions?.[this._selectedLayer.id].likeField]).toLocaleString(),n="small"!==this.textSize||this.showFullTitle?"small"===this.textSize?"feature-list-popup-title-small":"feature-list-popup-title":"feature-list-popup-title-small-ellipsis",o=this._calciteList.offsetWidth-(this.showUserImageInList?115:65);return e("calcite-list-item",{onCalciteListItemSelect:i=>{this.featureClicked(i,t)},onMouseLeave:()=>{this.clearHighlights()},onMouseOver:()=>{this.onFeatureHover(t)},value:h},this.showUserImageInList&&e("calcite-avatar",{class:"profile-img","full-name":a?.fullName,scale:"m",slot:"content-start",thumbnail:a?.userProfileUrl,userId:a?.id,username:a?.fullName?a.username:void 0}),this.showFeatureSymbol&&e("div",{class:"feature-symbol",ref:t=>t&&t.replaceChildren(s),slot:"content-start"}),e("div",{class:`popup-title ${n}`,slot:"content-start",style:{maxWidth:"large"===this.textSize?"none":`${o}px`}},i),this._likeFieldAvailable&&e("div",{class:"like-container",id:h.concat("like"),slot:"content-end"},e("span",null,this._abbreviatedLikeCount),e("calcite-icon",{icon:"thumbs-up",scale:"s"}),e("calcite-tooltip",{overlayPositioning:"fixed",placement:"top","reference-element":h.concat("like")},l)),e("calcite-icon",{flipRtl:!0,icon:"chevron-right",scale:"s",slot:"content-end"}))}async getUserInformation(t){let i=this._selectedLayer.editFieldsInfo?.creatorField;t.attributes.hasOwnProperty(i.toLowerCase())?i=i.toLowerCase():t.attributes.hasOwnProperty(i.toUpperCase())&&(i=i.toUpperCase());let s=`${this.esriConfig.portalUrl}/sharing/rest/community/users/${t.attributes[i]}?f=json&returnUserLicensedItems=true`;const e=this.mapView.map.portalItem.portal?.credential?.token;e&&(s+=`&token=${e}`);const a=await fetch(s),h=await a.json();let l=`${this.esriConfig.portalUrl}/sharing/rest/community/users/${h?.username??t.attributes[i]}/info/blob.png`;return h?.access&&e&&(l+=`?token=${e}`),h.userProfileUrl=l,h}async getFeatureSymbol(t){const i=document.createElement("div");return await this.symbolUtils.getDisplayedSymbol(t).then((async t=>{if(t&&await(this.symbolUtils?.renderPreviewHTML(t,{node:i})),i.children?.length){const t=i.children[0];if(t){const i=Number(t.getAttribute("height")),s=Number(t.getAttribute("width"));s>30&&t.setAttribute("width","30"),i>30&&t.setAttribute("height","30"),t.setAttribute("viewBox",`0 0 ${s} ${i}`)}}})),i}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],selectedLayerId:["selectedLayerWatchHandler"],sortingInfo:["sortingInfoWatchHandler"],whereClause:["whereClauseHandler"],filterByMapExtent:["filterByMapExtentHandler"]}}};c.style=":host{display:block}.width-full{width:100%}.pagination{display:flex;justify-content:center}.error-msg{padding:10px;width:calc(100% - 20px)}.feature-list-popup-title{font-weight:500;white-space:pre-line}.feature-list-popup-title-small{font-size:small;white-space:pre-line}.feature-list-popup-title-small-ellipsis{font-size:small;white-space:nowrap !important;text-overflow:ellipsis;overflow:hidden}.popup-title{padding:0 5px;word-break:break-word}.profile-img{margin:0 5px;min-width:32px}.like-container{display:flex;align-items:center;gap:5px;color:gray !important;font-style:italic}.feature-symbol{padding:0 3px;min-width:30px;display:flex;justify-content:center}.search{padding:10px;background-color:var(--calcite-color-foreground-1) !important;border-block-end:1px solid var(--calcite-color-border-3)}";export{c as feature_list}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,c as i,g as s,h as e,H as h}from"./p-934e8935.js";import{g as a,l as o}from"./p-8a74a780.js";import{g as l,q as n,e as c,f as r,c as d}from"./p-5693ce7a.js";import{d as p}from"./p-4379cc5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";import"./p-af7e43e0.js";import"./p-4f236b5d.js";import"./p-570b13d9.js";import"./p-0668e30d.js";const b=class{constructor(s){t(this,s),this.createWorkFlowStarted=i(this,"createWorkFlowStarted",7),this.backFromCreateWorkFlow=i(this,"backFromCreateWorkFlow",7),this.featureOrRecordSubmitted=i(this,"featureOrRecordSubmitted",7),this.customInfoText=void 0,this.enableEditGeometry=!1,this.enableSnapping=!1,this.isMobile=void 0,this.layer=void 0,this.locale=void 0,this.mapView=void 0,this.zoomAndScrollToSelected=void 0,this.selectedFeaturesIds=void 0,this.enableCreateFeatures=!0,this.selectingFeatureFromMap=void 0,this._cardLoading=!1,this._graphics=void 0,this._showCreateFeatureComponent=!1,this._showSubmitBtn=!1,this._translations=void 0}get el(){return s(this)}_isFeatureCreated=!1;_createFeature;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}createWorkFlowStarted;backFromCreateWorkFlow;featureOrRecordSubmitted;async featureSelectionChange(t){this._showCreateFeatureComponent&&!this._isFeatureCreated&&this._backFromCreateFeature();const i=t.detail;this._graphics=await this._getFeaturesByIds(i)}async layerSelectionChange(t){this._showCreateFeatureComponent&&this._backFromCreateFeature();const i=t.detail[0];this.layer=await l(this.mapView,i)}async componentWillLoad(){await this._getTranslations(),this.selectedFeaturesIds?.length>0&&(this._graphics=await this._getFeaturesByIds(this.selectedFeaturesIds))}render(){const t=this._graphics?.length>0?"":"display-none",i=0===this._graphics?.length&&this._showCreateFeatureComponent?"":"display-none",s=this._graphics?.length>0||this._showCreateFeatureComponent?"display-none":"",a=this.layer?.isTable,o=a?this._translations.createRecord:this._translations.createFeature,l=this.customInfoText?this.customInfoText:this.selectingFeatureFromMap?this._translations.selectFeaturesFromMapToStart:this._translations.selectFeaturesToStart,n=this.enableCreateFeatures&&this.layer?.capabilities?.operations?.supportsAdd;return e(h,{key:"803f5130e6f4fa0bf97cfdd2776e176786e736cc"},e("div",{key:"7c0a756f5de5f536b52d2e9f6629593eb3c85781",class:"overflow-auto height-full"},e("calcite-shell",{key:"9a6366bba429d5c29a5f1c556d6812f44d28ee2c",class:"position-relative "+t},e("div",{key:"61cb9f7942eb209e5e0bd751ab4b5ca026086882",class:"position-static z-index-500"},e("info-card",{key:"aa2e8443af374a37dfebd0d5e87ca052221339a7",enableEditGeometry:this.enableEditGeometry,enableSnapping:this.enableSnapping,graphics:this._graphics,highlightEnabled:!1,isLoading:this._cardLoading,isMobile:this.isMobile,locale:this.locale,mapView:this.mapView,showCloseBtn:!0}))),e("calcite-shell",{key:"4979b9d94cd68f36b5d9e6ea59ffc0baecd180c0",class:"position-relative "+s},e("calcite-panel",{key:"9e02f86010e2348668a995de7d3644f0ddf838a6"},e("div",{key:"83a5ac2003838734308d81dc2903313cb6c07e9a",class:"padding-1"},e("calcite-notice",{key:"e380ab334a7b4d65fb64b51bc2b7feb61771f813",icon:this.selectingFeatureFromMap?"map":"table",iconFlipRtl:!0,open:!0},e("div",{key:"2ac48545c9c825d8d266a96b034dba7d17c024c1",slot:"message"},l))),!this.isMobile&&n&&e("calcite-button",{key:"300e922dcf00b72657ca48382579746073a1a646",disabled:!this.layer,onClick:()=>this._createFeatureBtnClicked(),slot:"footer",width:"full"},a?this._translations.createRecord:this._translations.createFeature))),e("calcite-shell",{key:"1c279da12e0885ed5ecae714a0958e76ac3734d5",class:"position-relative "+i},e("calcite-flow-item",{key:"8e54e6abf83e3d8ce487a2f76e1bdd8635f4d7b5",selected:!0},e("calcite-panel",{key:"d31997df187797550eeaee6df294e4f41e6653b5",heading:o},e("calcite-action",{key:"636c83f8d5f361c1eb35a5b524565d0bd072489f",class:"back-button hydrated",icon:"chevron-left",onClick:this._backFromCreateFeature.bind(this),scale:"s",slot:"header-actions-start",text:""}),this.getEditorComponent(),this._showSubmitBtn&&e("calcite-button",{key:"bd1a3ee472e275c57e9c40c217a3c0ac9c8e8715",appearance:"solid",class:"footer-top-button footer-button",onClick:()=>{this._createFeature.submit()},slot:"footer",width:"full"},this._translations.create))))))}getEditorComponent(){return e("div",null,this._showCreateFeatureComponent&&e("create-feature",{customizeSubmit:!0,enableSnapping:this.enableSnapping&&this.enableCreateFeatures,locale:this.locale,mapView:this.mapView,onDrawComplete:()=>{this._showSubmitBtn=!0},onEditingAttachment:t=>{this._showSubmitBtn=!t.detail},onProgressStatus:()=>{setTimeout((()=>{this._isFeatureCreated=!1}),2e3)},onSuccess:this._featureCreated.bind(this),ref:t=>this._createFeature=t,selectedLayerId:this.layer?.id,showGuidingMsg:!1}))}async _getFeaturesByIds(t){return(t.length>0?await n(t,this.layer,[],!0,this.mapView.spatialReference):[]).sort(((i,s)=>t.indexOf(i.getObjectId())-t.indexOf(s.getObjectId())))}_createFeatureBtnClicked(){this._showCreateFeatureComponent=!0,this.createWorkFlowStarted.emit()}async _backFromCreateFeature(){this._createFeature&&(this._showCreateFeatureComponent=!1,this.backFromCreateWorkFlow.emit()),this._showSubmitBtn=!1}_featureCreated(){this._showCreateFeatureComponent=!1,this._showSubmitBtn=!1,this._isFeatureCreated=!0,this.featureOrRecordSubmitted.emit(),setTimeout((()=>{this._showCreateFeatureComponent=!0}),50)}async _getTranslations(){const t=await a(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"]}}};b.style=":host{display:block !important}.display-flex{display:flex}.display-none{display:none}.w-100{width:100%}.padding-bottom-1{padding-bottom:1rem}.padding-1{padding:1rem}.position-relative{position:relative}.focus-margin{margin:1px 1px 0px 1px}.overflow-auto{overflow:auto}.height-full{height:100%}.position-static{position:static !important}.z-index-500{z-index:500 !important}card-manager{display:block}";const f=class{constructor(s){t(this,s),this.featureSelectionChange=i(this,"featureSelectionChange",7),this.toggleFilter=i(this,"toggleFilter",7),this.showDelete=i(this,"showDelete",7),this.appLayout=void 0,this.defaultGlobalId=void 0,this.defaultLayerId=void 0,this.defaultOid=void 0,this.enableAutoRefresh=void 0,this.enableColumnReorder=!0,this.enableCSV=void 0,this.enableInlineEdit=void 0,this.enableShare=void 0,this.honorMapFieldSettings=void 0,this.isMobile=void 0,this.locale=void 0,this.mapHidden=void 0,this.mapInfo=void 0,this.mapView=void 0,this.onlyShowUpdatableLayers=void 0,this.selectedIds=[],this.shareIncludeEmbed=void 0,this.shareIncludeSocial=void 0,this.showNewestFirst=void 0,this.zoomAndScrollToSelected=void 0,this.zoomToScale=void 0,this.createFilterModal=!0,this._allIds=[],this._controlsThatFit=void 0,this._csvExporting=!1,this._fetchingData=!1,this._filterActive=!1,this._filterOpen=!1,this._layer=void 0,this._selectAllActive=!1,this._showHideOpen=!1,this._showOnlySelected=!1,this._toolInfos=void 0,this._translations=void 0,this._fullTextSearchInfo=void 0,this._searchPlaceHolder="",this._size=0,this._queryingData=!1}get el(){return s(this)}FeatureTable;TableTemplate;_columnsInfo;_currentId;_editEnabled;_defaultFilterHonored=!1;_defaultGlobalIdHonored=!1;_defaultOidHonored=!1;_defaultVisibleToolSizeInfos;_definitionExpression;_deleteEnabled;_editor;_filterList;_floorExpression;_floorField;_floorFacility;_floorLevel;_floorSite;_layerExpressions;_loaded=!1;_mapClickHandle;_observerSet=!1;_previousCurrentId;reactiveUtils;_refreshHandle;_resizeObserver;_selectAllElement;_selectionFromMap=!1;_shareNode;_showHideDropdown;_moreDropdown;_table;_tableNode;_timeout;_toolbar;_toolbarSizeInfos;_searchExpression;_skipEditCheck=!1;_currentFeatureHighlightHandle;_defaultFeaturesHandle;_temporaryFeatureHandle;_filterByExtentHandle;_tempSelectedIds;_outOFExtentOids=[];_shouldUpdateTableOnExtentChange=!0;_selectedLayerView;appLayoutWatchHandler(){this._updateShareUrl()}async defaultOidWatchHandler(){await this._handleDefaults()}async defaultGlobalIdWatchHandler(){await this._handleDefaults()}enableCSVWatchHandler(){this._toolInfos?.length>0&&this._initToolInfos()}enableInlineEditWatchHandler(){this._table&&(this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit)}enableShareWatchHandler(){this._toolbar&&this._updateToolbar()}_controlsThatFitWatchHandler(){const t=this._controlsThatFit?this._controlsThatFit.reduce(((t,i)=>(t.push(i.id),t)),[]):[];this._toolInfos=this._toolInfos?.map((i=>{if(i&&this._controlsThatFit){const s=this._getId(i.icon);return i.isOverflow=t.indexOf(s)<0,i}}))}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}mapHiddenWatchHandler(){this._toolInfos?.length>0&&this._initToolInfos()}isMobileWatchHandler(){this._toolInfos||this.isMobile||this._initToolInfos()}async mapViewWatchHandler(){this._mapClickHandle&&this._mapClickHandle.remove(),this.mapView&&(this._floorExpression=void 0,this._searchExpression=void 0,this.mapView.highlights=[{name:"default",color:"#00FFFF"},{name:"current-selection",color:"#ff00ff"},{name:"temporary",color:"#FFFF00"}],this._updateShareUrl(),this._mapClickHandle=this.reactiveUtils.on((()=>this.mapView),"click",(t=>{this._mapClicked(t)})))}async _layerWatchHandler(){this._fetchingData=!0,await(this._layer?.when((async()=>{this._definitionExpression=this._layer.definitionExpression,this._floorField=this._layer.floorInfo?.floorField,this._updateFloorDefinitionExpression(),await this._resetTable(),this.createFilterModal&&this._initLayerExpressions(),this._updateShareUrl(),this._fetchingData=!1})))}async selectedIdsWatchHandler(){this._updateShareUrl(),this._validateEnabledActions(),this._selectAllActive&&this.selectedIds.length!==this._allIds.length&&(this._selectAllActive=!1),this.selectedIds.length>0&&(this._table.rowHighlightIds.removeAll(),this._table.rowHighlightIds.add(this.selectedIds[0]))}async closeFilter(){await this._closeFilter()}async filterReset(){this._filterByExtentHandle&&(this._table.filterGeometry=void 0,this._filterByExtentHandle.remove(),this._filterByExtentHandle=void 0),await this._handleFilterListReset()}async filterUpdate(t,i){await this._handleFilterUpdate(t),i?(this._shouldUpdateTableOnExtentChange=!0,this._handleTableOnMapExtent()):!1===i&&(this._table.filterGeometry=void 0,this._filterByExtentHandle.remove(),this._filterByExtentHandle=void 0,await this._updateAllIds())}async validateTableUpdate(t){this._shouldUpdateTableOnExtentChange=t}async validateActiveEdits(){return this._validateActiveEdits([],this.selectedIds)}async refresh(){this._table&&await this._refresh()}featureSelectionChange;toggleFilter;showDelete;async beforeMapInfoChange(t){const i=t.detail.ref,s=t.detail.mapInfo;if(this._hasPendingEdits()){t.preventDefault();const e=await this._validateActiveEdits([],this.selectedIds);await i.setMapByID(e?s.id:t.detail.currentId,!e)}}async editorInitialized(t){this._shouldUpdateTableOnExtentChange=!1,this._editor=t.detail}async closeEdit(){this._shouldUpdateTableOnExtentChange=!0,this._filterByExtentHandle&&this._handleTableOnMapExtent()}async selectionChanged(t){const i=t.detail.selectedFeature[0],s=i.getObjectId(),e=this._table;if(e.rowHighlightIds.length&&e.rowHighlightIds.removeAll(),e.rowHighlightIds.add(s),this._highlightFeatures(s),this.zoomAndScrollToSelected){const t=this._table.viewModel.getObjectIdIndex(s);this._table.scrollToIndex(t);const e=i.layer;let h;this.mapView.allLayerViews.toArray().some((t=>{if(t.layer.title===e.title&&"feature"===t.layer.type)return h=t,!0})),h&&await c([s],h,this.mapView,!0,void 0,this.zoomToScale)}}async beforeLayerSelectionChange(t){if(this._hasPendingEdits()){t.preventDefault();const i=t.detail.ref,s=await this._validateActiveEdits([],this.selectedIds);return t.detail.selectedIds?await i.setLayerByIds(s?t.detail.newIds:t.detail.currentIds,!0):await i.setLayerById(s?t.detail.newId:t.detail.currentId,!0)}}async layerSelectionChange(t){await this._layerSelectionChanged(t)}async editsComplete(t){const i=t.detail;"delete"!==i&&"add"!==i||(this._allIds=await this.queryAllIds()),await this._refresh()}async facilityChanged(t){this._floorFacility=t.detail,this._updateFloorDefinitionExpression()}async levelChanged(t){this._floorLevel=t.detail,this._updateFloorDefinitionExpression()}async siteChanged(t){this._floorSite=t.detail,this._updateFloorDefinitionExpression()}async noLayersFound(){this._layer=void 0,this._allIds=[],this._clearSelection()}async clearSelection(){await this._validateActiveEdits([],this.selectedIds)&&this._clearSelection()}async componentWillLoad(){await this._getTranslations(),await this._initModules(),this._initToolInfos(),this._resizeObserver||(this._resizeObserver=new ResizeObserver((()=>this._onResize())))}render(){const t=this._fetchingData?"display-none":"",i=this._fetchingData?"":"display-none",s=this._queryingData?"":"display-none",a=this._size.toString(),o=this.selectedIds.length.toString(),l=this.isMobile?"height-full":"height-full-adjusted",n=this._canShowFullTextSearch();return this._validateActiveActions(),e(h,{key:"2d4fa2f8d4cce83ef1f972444cac99ab17ccf09a"},e("div",{key:"b53e3d454a7c2c1886bfd61e960ca7aa27bf5761"},e("calcite-scrim",{key:"9a0e507b26707b8010f4d0ac3acd5a1eb8820780",class:s,loading:this._queryingData}),e("calcite-shell",{key:"1f1815e38773a834b7c1f6bdb783717477331522"},this._getTableControlRow("header"),e("div",{key:"fd2b3ca04bbb6b5ed9c2e044722079704b1c778e",class:`width-full ${l}`},e("calcite-panel",{key:"0355028dce084ac034fe4b5ea8f7a0b1fec18b83",class:"height-full width-full"},n&&e("div",{key:"3169fdf7d876b504c6ee1d11a0b41a55815cbc87",class:"search-container border-bottom"},e("calcite-input",{key:"116960c2b95658c23c2ed2ee4b5282af0fa44f27",class:"search",clearable:!0,icon:"search",onCalciteInputChange:t=>{this._searchTextChanged(t)},placeholder:this._searchPlaceHolder,title:this._searchPlaceHolder,type:"search"})),e("calcite-loader",{key:"83fdb600a68786dc0dd0dbbcfee1bc59bd311763",class:i,label:this._translations.fetchingData,scale:"l"}),e("div",{key:"4983053113d687a459f7749bfe7723964551c3df",class:t,ref:this.onTableNodeCreate}))),this.isMobile?void 0:e("div",{class:"bottom-left text-color height-19",id:"solutions-selected-count-div"},this._translations.recordsSelected.replace("{{total}}",a).replace("{{selected}}",o))),this.createFilterModal&&this._filterModal()))}_deleteDialog;async componentDidLoad(){this.isMobile||this._observerSet||(this._resizeObserver.observe(this._toolbar),this._observerSet=!0)}componentDidRender(){document.onclick=t=>this._handleDocumentClick(t),this._updateToolbar()}async _initModules(){const[t,i,s]=await o(["esri/widgets/FeatureTable","esri/core/reactiveUtils","esri/widgets/FeatureTable/support/TableTemplate"]);this.FeatureTable=t,this.reactiveUtils=i,this.TableTemplate=s}async _searchTextChanged(t){this._fullTextSearchInfo.forEach((i=>{i.searchTerm=t.target.value})),this._searchFullText()}async _searchFullText(){let t=[],i=!1;if(this._showOnlySelected)t=this._tempSelectedIds,i=!0;else{if(!await this._validateActiveEdits([],this.selectedIds))return;this._clearSelection(),this._tempSelectedIds=[]}this._searchExpression&&this._clearSearchDefinitionExpression();let s=[];if(this._fullTextSearchInfo?.length&&this._fullTextSearchInfo[0].searchTerm){const e=this._layer.createQuery();e.fullText=this._fullTextSearchInfo,s=await this._layer.queryObjectIds(e),i&&t?.length&&(s=s.filter((i=>t.includes(i)))),await this._updateSearchDefinitionExpression(s?.length?s:[-1])}i&&s?.length&&(this._showOnlySelected=!0,this._table.highlightIds.addMany(s.reverse())),await new Promise((t=>setTimeout(t,800))),await this._updateAllIds()}_clearSearchDefinitionExpression(){const t=this._layer.definitionExpression;this._searchExpression&&t?.indexOf(this._searchExpression)>-1&&(this._layer.definitionExpression=t?.indexOf(" AND ("+this._searchExpression)>-1?t.replace(` AND (${this._searchExpression})`,""):t.replace(this._searchExpression,"")),this._searchExpression=void 0}async _updateSearchDefinitionExpression(t){const i=this._layer.definitionExpression;if(t?.length){const s=`objectId in(${t})`;this._layer.definitionExpression=i?.indexOf(this._searchExpression)>-1?i.replace(this._searchExpression,s):i?`${i} AND (${s})`:s,this._searchExpression=s}else this._clearSearchDefinitionExpression()}_canShowFullTextSearch(){return((this._layer?.capabilities)?.query)?.supportsFullTextSearch&&this._layer.indexes.items.filter((t=>"FullText"==t.indexType)).length>0}_getFullTextSearchInfo(){if(this._fullTextSearchInfo=[],((this._layer?.capabilities)?.query)?.supportsFullTextSearch){const t=this._layer.indexes?.filter((t=>"FullText"==t.indexType));if(t?.length){const i=[];t.forEach((t=>{i.push(...t.fields.split(","))}));const s=[];i.forEach((t=>{const i=this._layer.getField(t.trim());s.push(i.alias)})),this._searchPlaceHolder=this._translations.searchPlaceholder.replace("{{fields}}",s.join(", ")),this._fullTextSearchInfo.push({onFields:["*"],searchTerm:"",searchType:"prefix"})}}}_onResize(){this._updateToolbar()}_getTableControlRow(t){return e("div",{class:"display-flex height-51-px border-bottom",ref:t=>this._toolbar=t,slot:t},this._getActionBar(),this.isMobile?void 0:this._getDropdown("more-table-options"),this.enableShare&&!this.isMobile?this._getShare("share"):void 0)}_getActionBar(){const t=this.isMobile?"width-full":"",i=this.isMobile?"border-top":"";return e("calcite-action-bar",{class:t,expandDisabled:!0,expanded:!0,id:this._getId("bar"),layout:"horizontal"},e("div",{class:`border-end ${t} ${i}`,id:"solutions-map-layer-picker-container"},e("map-layer-picker",{appearance:"transparent",defaultLayerId:this.defaultLayerId,display:"inline-flex",height:50,isMobile:this.isMobile,locale:this.locale,mapView:this.mapView,onlyShowUpdatableLayers:this.onlyShowUpdatableLayers,placeholderIcon:"layers",scale:"l",selectedIds:this._layer?[this._layer?.id]:[],showSingleLayerAsLabel:!0,showTables:!0,type:"dropdown"})),this.isMobile?void 0:this._getActions())}_getActions(){const t=this._getActionItems();return t?.reduce(((t,i)=>(i&&!i.isOverflow&&t.push(i.isDanger?this._getDangerAction(i.icon,i.label,i.func,i.disabled):i.isSublist&&this._table?.columns?.length>0?e("calcite-dropdown",{closeOnSelectDisabled:!0,id:this._getId(i.icon),onCalciteDropdownBeforeClose:()=>this._forceShowHide(),ref:t=>this._showHideDropdown=t},this._getAction(i.active,this._showHideOpen?"chevron-down":i.icon,i.indicator,i.label,i.func,i.disabled,i.loading,"trigger"),this._showHideOpen?this._getFieldlist():void 0):this._getAction(i.active,i.icon,i.indicator,i.label,i.func,i.disabled,i.loading)),t)),[])}_getFieldlist(){return this._columnsInfo?e("calcite-dropdown-group",{"selection-mode":"multiple"},Object.keys(this._columnsInfo).map((t=>{const i=this._columnsInfo[t];return e("calcite-dropdown-item",{id:`layer-table-${t.toLowerCase().replaceAll(" ","")}`,label:t,onClick:t=>{const i=t.target;this._columnsInfo[i.label]=!i.selected,i.selected?this._table.hideColumn(i.label):this._table.showColumn(i.label)},selected:i},t)}))):void 0}_validateEnabledActions(){const t=this._featuresSelected(),i=this.selectedIds.length>1&&this._layer?.capabilities?.operations?.supportsUpdate,s=["zoom-to-object","pencil","trash","erase","selected-items-filter"];this._toolInfos?.forEach((e=>{e&&s.indexOf(e.icon)>-1&&(e.disabled="pencil"===e.icon?!i:!t)}))}_validateActiveActions(){const t=["filter","list-check-all","selected-items-filter"];this._toolInfos?.forEach((i=>{i&&t.indexOf(i.icon)>-1&&("filter"===i.icon&&(i.indicator=this._filterActive),"list-check-all"===i.icon&&(i.active=this._selectAllActive),"selected-items-filter"===i.icon&&(i.active=this._showOnlySelected,i.label=this._showOnlySelected?this._translations.showAll:this._translations.showSelected))}))}_initToolInfos(){const t=this._featuresSelected(),i=this.selectedIds.length>1&&this._layer?.capabilities?.operations?.supportsUpdate&&!1,s=!this.mapHidden&&!this._layer?.isTable,e=this._featuresEmpty(),h=!this._layer?.isTable||this._hasFilterExpressions();this._translations&&(this._toolInfos=[s?{active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>this._zoom(),disabled:!t,isOverflow:!1}:void 0,h?{active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>this.createFilterModal?this._toggleFilter():this.toggleFilter.emit(),disabled:!1,isOverflow:!1}:void 0,i?{active:!1,icon:"pencil",indicator:!1,label:this._translations.editMultiple,func:()=>alert(this._translations.editMultiple),disabled:!i,isOverflow:!1}:void 0,this._deleteEnabled?{active:void 0,icon:"trash",indicator:void 0,label:this._translations.delete,func:()=>this._showDelete(),disabled:!t,isDanger:!0,isOverflow:!1}:void 0,{active:!1,icon:"erase",indicator:!1,label:this._translations.clearSelection,func:()=>{this.clearSelection()},disabled:!t,isOverflow:!1},{active:!1,icon:"selected-items-filter",indicator:!1,label:this._showOnlySelected?this._translations.showAll:this._translations.showSelected,func:()=>this._toggleShowSelected(),disabled:!t,isOverflow:!1},{active:!1,icon:"list-check-all",indicator:!1,func:async()=>await this._selectAll(),label:this._translations.selectAll,disabled:e,isOverflow:!1},{active:!1,icon:"compare",indicator:!1,func:async()=>await this._switchSelected(),label:this._translations.switchSelected,disabled:e,isOverflow:!1},{active:!1,icon:"refresh",indicator:!1,func:()=>this._refresh(),label:this._translations.refresh,disabled:!1,isOverflow:!1},this.enableCSV?{active:!1,icon:"export",indicator:!1,func:()=>{this._exportToCSV()},label:this._translations.exportCSV,loading:this._csvExporting,disabled:e,isOverflow:!1}:void 0,{active:!1,icon:this._showHideOpen?"chevron-down":"chevron-right",indicator:!1,func:()=>this._toggleShowHide(),label:this._translations.showHideColumns,disabled:!1,isOverflow:!1,isSublist:!0}],this._defaultVisibleToolSizeInfos=void 0)}_updateFloorDefinitionExpression(){if(this._floorField&&this._floorLevel){const t=`${this._floorField} = '${this._floorLevel}'`,i=this._layer.definitionExpression;this._layer.definitionExpression=i?.indexOf(this._floorExpression)>-1?i.replace(this._floorExpression,t):i?`${i} AND (${t})`:t,this._floorExpression=t}}_featuresSelected(){return this.selectedIds.length>0}_featuresEmpty(){return 0===this._allIds.length}_hasFilterExpressions(){let t;return this.mapInfo?.filterConfig?.layerExpressions&&this._layer?.id&&(t=this.mapInfo.filterConfig.layerExpressions.filter((t=>t.id===this._layer.id))),t?.length>0}_updateToolbar(){this._timeout&&clearTimeout(this._timeout),!this.isMobile&&this._toolbar&&this._toolInfos&&(this._timeout=setTimeout((()=>{clearTimeout(this._timeout),this._setToolbarSizeInfos();const t=this._toolbar.offsetWidth;let i=this._toolbarSizeInfos.reduce(((t,i)=>t+i.width),0);const s=["solutions-more","solutions-map-layer-picker-container","map-picker","solutions-action-share"];if(i>t){if(this._toolbarSizeInfos.length>0){const e=[...this._toolbarSizeInfos].reverse().reduce(((e,h)=>(s.indexOf(h.id)<0&&(i>t?i-=h.width:e.push(h)),e)),[]).reverse();this._setControlsThatFit(e,s)}}else if(this._defaultVisibleToolSizeInfos){const e=this._toolbarSizeInfos.reduce(((t,i)=>(t.push(i.id),t)),[]);let h=!1;const a=[...this._defaultVisibleToolSizeInfos].reduce(((a,o)=>(!h&&s.indexOf(o.id)<0&&(e.indexOf(o.id)>-1||i+o.width<=t)?(e.indexOf(o.id)<0&&(i+=o.width),a.push(o)):s.indexOf(o.id)<0&&i+o.width>t&&(h=!0),a)),[]);this._setControlsThatFit(a,s)}}),100))}_setControlsThatFit(t,i){let s=JSON.stringify(t)!==JSON.stringify(this._controlsThatFit);const e=document.getElementById("solutions-action-bar");e?.childNodes?.forEach((t=>{i.indexOf(t.id)<0&&!s&&(s=this._controlsThatFit.map((t=>t.id)).indexOf(t.id)<0)})),s&&(this._controlsThatFit=[...t])}_setToolbarSizeInfos(){let t=!1;this._toolbarSizeInfos=[],this._toolbar.childNodes.forEach(((i,s)=>{0===s?i.childNodes.forEach((i=>{this._toolbarSizeInfos.push({id:i.id,width:i.offsetWidth}),t||(t=i.offsetWidth>0)})):i.referenceElement||(this._toolbarSizeInfos.push({id:i.id,width:i.offsetWidth}),t||(t=i.offsetWidth>0))})),t&&!this._defaultVisibleToolSizeInfos&&(this._defaultVisibleToolSizeInfos=[...this._toolbarSizeInfos])}_getActionItems(){return this._toolInfos?.filter((t=>t&&!t.isOverflow))}_getDropdown(t){const i=this._getDropdownItems();return i.length>0?e("calcite-dropdown",{closeOnSelectDisabled:!0,disabled:void 0===this._layer,id:"solutions-more",onCalciteDropdownBeforeClose:()=>this._forceShowHide(),ref:t=>this._moreDropdown=t},e("calcite-action",{appearance:"solid",id:t,label:"",onClick:()=>this._closeShowHide(),slot:"trigger",text:""},e("calcite-button",{appearance:"transparent",iconEnd:"chevron-down",kind:"neutral"},this._translations.more)),e("calcite-dropdown-group",{"selection-mode":"none"},i.map((t=>e("calcite-dropdown-group",{class:`${t.disabled?"disabled":""} ${"trash"===t.icon?"delete-red":""}`,selectionMode:"none"},e("calcite-dropdown-item",{disabled:t.loading,iconStart:t.isSublist&&this._showHideOpen?"chevron-down":t.loading?"":t.icon,id:`layer-table-${t.icon}`,onClick:t.func},t.loading?e("div",{class:"display-flex"},e("calcite-loader",{inline:!0,label:t.label,scale:"m"}),t.label):t.label))))),this._showHideOpen?this._getFieldlist():void 0):void 0}_getDropdownItems(){return this._toolInfos?.filter((t=>t&&t.isOverflow))}_getAction(t,i,s,h,a,o,l,n){const c=void 0===this._layer||o;return e("div",{class:"display-flex",id:this._getId(i),slot:n},e("calcite-action",{active:t,appearance:"solid",disabled:c,icon:i,id:`layer-table-${i}`,indicator:s,label:h,loading:l,onClick:a,text:h,textEnabled:!0}),this._getToolTip("bottom",i,h))}_showDelete(){this.showDelete.emit({ids:this._getIds()})}_getShare(t){return e("div",{class:"share-action",id:this._getId(t)},e("instant-apps-social-share",{autoUpdateShareUrl:!1,class:"instant-app-share",embed:this.shareIncludeEmbed,flipRtl:!0,popoverButtonIconScale:"s",ref:t=>this._shareNode=t,scale:"m",shareButtonColor:"neutral",shareButtonType:"action",socialMedia:this.shareIncludeSocial,view:this.mapView}),this._getToolTip("bottom",t,this._translations.share))}_updateShareUrl(){const t=this._shareNode?.shareUrl;if(!t)return;const i=new URL(t);this.mapInfo?.id?i.searchParams.set("webmap",this.mapInfo.id):i.searchParams.delete("webmap"),this._layer?.id?i.searchParams.set("layer",this._layer.id):i.searchParams.delete("layer"),this.selectedIds?.length>0?i.searchParams.set("oid",this.selectedIds.join(",")):i.searchParams.delete("oid"),i.searchParams.set("applayout",this.appLayout),this._shareNode.shareUrl=i.href}_getToolTip(t,i,s){return document.getElementById(i)?e("calcite-tooltip",{placement:t,"reference-element":i},e("span",null,s)):void 0}_getId(t){return`solutions-action-${t}`}_getDangerAction(t,i,s,h){const a=void 0===this._layer||h;return e("div",{class:"display-flex",id:this._getId(t)},e("calcite-action",{appearance:"solid",disabled:a,id:t,onClick:s,text:""},e("calcite-button",{appearance:"transparent",iconStart:t,kind:"danger"},i)),this._getToolTip("bottom",t,i))}_getIds(){return this._table?.highlightIds?.map((t=>parseInt(t.toString(),10))).toArray()}onTableNodeCreate=t=>{this._tableNode=t};async _getTable(t,i){this._layer&&(await this._layer.when((()=>{this._table=new this.FeatureTable({autoRefreshEnabled:this.enableAutoRefresh,layer:this._layer,view:this.mapView,columnReorderingEnabled:this.enableColumnReorder,editingEnabled:this._editEnabled&&this.enableInlineEdit,highlightEnabled:!1,multiSortEnabled:!1,attachmentsEnabled:!0,visibleElements:{columnDescriptions:!1,header:!1,menu:!1,progress:!1},tableTemplate:{columnTemplates:i},container:t})})),await this._table.when((()=>{const t=this._table.highlightIds.on("change",(t=>{this._handleOnChange(t)}));this._table.viewModel.addHandles(t),this._table.on("cell-pointerover",this.tempHighlightOnHover.bind(this)),this._table.on("cell-pointerout",this._removeTempHighlight.bind(this)),this._tableNode.addEventListener("mouseleave",this._removeTempHighlight.bind(this));const i=this.reactiveUtils.watch((()=>this._table.size),(t=>{this._size=t}));this._table.viewModel.addHandles(i)})))}async _handleOnChange(t){if(!await this._validateActiveEdits([...t.added],[...t.removed]))return;const i=[...this._getIds()];this.selectedIds=i.reverse(),this._tempSelectedIds=[...this.selectedIds],this._finishOnChange(),this._selectionFromMap=!1,this._highlightFeatures(this.selectedIds[0])}async _validateActiveEdits(t,i){let s=!0;if(this._editor&&!this._skipEditCheck){if(this._hasPendingEdits()){let e=!1;try{await this._editor.cancelWorkflow({force:!1})}catch(t){e="workflow:cancel-denied"===t.name}e&&(s=!1,this._skipEditCheck=!0,t.length>0?this._table.highlightIds.removeMany(t):i.length>0&&this._table.highlightIds.addMany(i))}}else s=!this._skipEditCheck,this._skipEditCheck=!1;return this._shouldUpdateTableOnExtentChange=s,s}_hasPendingEdits(){const t=this._editor?.viewModel?.hasPendingEdits,i=this._editor?.activeWorkflow?.activeWorkflow?.hasPendingEdits;return t||i}_finishOnChange(){this._showOnlySelected&&(this._featuresSelected()?this._table.filterBySelectionEnabled=!0:this._toggleShowSelected()),this.featureSelectionChange.emit(this.selectedIds)}tempHighlightOnHover(t){if(this._removeTempHighlight(),this._selectedLayerView){const i=t.feature;this._temporaryFeatureHandle=this._selectedLayerView?.highlight([i],{name:"temporary"})}}_removeTempHighlight(){this._temporaryFeatureHandle&&this._temporaryFeatureHandle.remove()}_highlightFeatures(t){if(this._clearHighlights(),this._selectedLayerView&&(this._currentFeatureHighlightHandle=this._selectedLayerView?.highlight([t],{name:"current-selection"}),this.selectedIds.length>1)){const i=this.selectedIds.filter((i=>i!==t));this._defaultFeaturesHandle=this._selectedLayerView?.highlight(i,{name:"default"})}}_clearHighlights(){this._removeTempHighlight(),this._currentFeatureHighlightHandle&&this._currentFeatureHighlightHandle.remove(),this._defaultFeaturesHandle&&this._defaultFeaturesHandle.remove()}_resetColumnTemplates(){const t=this._getColumnTemplates(this._layer?.id,this._layer?.fields);0===t?.length?this._tableNode?.classList.add("display-none"):this._tableNode?.classList.remove("display-none");const i=this._table?.tableTemplate?.columnTemplates,s=i&&t&&i.length!==t.length||t?.some(((t,s)=>JSON.stringify(i[s])!==JSON.stringify(t)));if(this._table&&t&&(s||!this._columnsInfo)){this._table.tableTemplate=new this.TableTemplate({columnTemplates:t});const i=t.map((t=>t.fieldName));this._initColumnsInfo(i)}}async _resetTable(){if(this._loaded=!1,this._clearSelection(),this._allIds=await this.queryAllIds(),this._table)this._table.view=this.mapView,this._table.layer=this._layer;else{const t=this._getColumnTemplates(this._layer.id,this._layer?.fields);await this._getTable(this._tableNode,t)}await this._initLayerRefresh(),this._checkEditEnabled(),this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit,await this._table.when(),setTimeout((()=>{this._loaded||this.finishLoading()}),1e3),await this.reactiveUtils.once((()=>"loaded"===this._table.state)).then((async()=>{await this.finishLoading()}))}async finishLoading(){try{this._loaded=!0,this._table.highlightIds.removeAll(),this._table.objectIds.removeAll(),this._resetColumnTemplates(),this._showOnlySelected=!1,await this._handleDefaults(),await this._sortTable(),this._initToolInfos(),this._controlsThatFitWatchHandler(),this._updateToolbar()}catch(t){console.log(t)}}async _initLayerRefresh(){this._refreshHandle&&this._refreshHandle.remove(),this._refreshHandle=this._layer.on("refresh",(t=>{t.dataChanged&&this._updateAllIds()}))}async _updateAllIds(){const t=await this.queryAllIds(),i=this.selectedIds.filter((t=>this._allIds.indexOf(t)>-1));JSON.stringify(t)===JSON.stringify(this._allIds)&&JSON.stringify(this.selectedIds)===JSON.stringify(i)||(this._allIds=t,this.selectedIds=i,await this._refresh())}async _handleDefaults(){if(!this._defaultOidHonored&&this.defaultOid?.length>0&&this.defaultOid[0]>-1&&this._table&&(await this._selectDefaultFeature(this.defaultOid),this._defaultOidHonored=!0,this.defaultOid=void 0,this._showOnlySelected=!1,this._toggleShowSelected()),!this._defaultGlobalIdHonored&&this.defaultGlobalId?.length>0&&this._table){const t=await r(this.defaultGlobalId,this._layer),i=t?.length>0?t.map((t=>t.getObjectId())):void 0;i&&await this._selectDefaultFeature(i),this._defaultGlobalIdHonored=!0,this.defaultGlobalId=void 0,this._showOnlySelected=!1,this._toggleShowSelected()}}_initColumnsInfo(t){const i=this._table?.columns.reduce(((i,s)=>((!t||t?.indexOf(s.name)>-1)&&(i[s.name]=!s.hidden),i)),{}),s=this._table?.columns.map((t=>t.name));(t?t.filter((t=>s.indexOf(t)<0)):[]).forEach((t=>{i[t]=!0})),this._columnsInfo=t?t.reduce(((t,s)=>(t[s]=i[s],t)),{}):i}async _selectDefaultFeature(t){t.length>0&&this._table.highlightIds.addMany(t)}_checkEditEnabled(){this._editEnabled=this._layer.editingEnabled&&this._layer.capabilities.operations.supportsUpdate,this._deleteEnabled=this._layer.editingEnabled&&this._layer.capabilities.operations.supportsDelete}async _sortTable(){let t,i=this._layer?.objectIdField,s="desc";this.mapInfo?.layerOptions?.layers?.length>0&&this._layer?.id&&(t=this.mapInfo.layerOptions.layers.filter((t=>t.id===this._layer.id)),t&&t.length>0&&(t=t[0],t.sortField&&t.fields?.includes(t.sortField)&&(i=t.sortField),s=t?.sortOrder?t.sortOrder:"desc")),this._table&&this._layer&&(await this._table.when(),await this._layer.when((()=>{this._table.sortColumn(i,s)})))}_forceShowHide(){this._showHideDropdown&&(this._showHideDropdown.open=this._showHideOpen),this._moreDropdown&&(this._moreDropdown.open=this._showHideOpen)}_toggleShowHide(){this._showHideOpen=!this._showHideOpen}_closeShowHide(){this._showHideOpen=!1}_handleDocumentClick(t){const i=t.target?.id;i.startsWith("layer-table-")&&this._moreDropdown?this._moreDropdown.open=!0:this._showHideOpen&&Object.keys(this._columnsInfo).indexOf(i)<0&&"chevron-right"!==i&&(this._closeShowHide(),this._moreDropdown&&(this._moreDropdown.open=!1),this._showHideDropdown&&(this._showHideDropdown.open=!1))}_filterModal(){return alert("_filterModal how does this one get hit??"),e("calcite-dialog",{class:"filter-content-space",heading:this._translations?.filter?.replace("{{title}}",this._layer?.title),id:"solutions-filter-dialog",kind:"brand",modal:!0,onCalciteDialogClose:()=>{this._closeFilter()},open:this._filterOpen,widthScale:"s"},e("instant-apps-filter-list",{autoUpdateUrl:!1,closeBtn:!0,closeBtnOnClick:()=>{this._closeFilter()},comboboxOverlayPositioning:"fixed",layerExpressions:this._layerExpressions,onFilterListReset:()=>{this._handleFilterListReset()},onFilterUpdate:()=>{this._handleFilterUpdate(this._filterList.filterCount>0)},ref:t=>this._filterList=t,view:this.mapView,zoomBtn:!1}))}async _handleFilterListReset(){this._filterActive=!1,this._updateShareUrl(),await this._searchFullText()}async _handleFilterUpdate(t){const i=this._layer.definitionExpression;if(this._floorExpression){const t=new RegExp(`${this._floorField} = ['].+[']`,"gm");this._layer.definitionExpression=i&&this._floorField&&i.indexOf(`${this._floorField} = '`)>-1?i.replace(t,this._floorExpression):i?`${i} AND (${this._floorExpression})`:this._floorExpression}this._filterActive=t,this._updateShareUrl(),await this._searchFullText()}_handleTableOnMapExtent(){this._table&&(this._filterByExtentHandle=this.reactiveUtils.when((()=>this.mapView.stationary),(async()=>{if(this._shouldUpdateTableOnExtentChange){await new Promise((t=>setTimeout(t,800))),this._table.filterGeometry=this.mapView.extent;const t={geometry:this.mapView.extent},i=await this._layer.queryObjectIds(t),s=this.selectedIds.filter((t=>!i.includes(t))),e=this._outOFExtentOids.filter((t=>i.includes(t)));s.length>0&&(this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._table.highlightIds.removeMany(s),this._outOFExtentOids=[...this._outOFExtentOids,...s]),e.length>0&&(this.selectedIds=[...new Set([...this.selectedIds,...e])],this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(this.selectedIds.reverse()),this._outOFExtentOids=this._outOFExtentOids.filter((t=>!e.includes(t))))}this._allIds=await this.queryAllIds()}),{initial:!0}))}async _closeFilter(){this._filterOpen&&(this._allIds=await this.queryAllIds(),this._filterOpen=!1)}async queryAllIds(){const t=this._layer.createQuery();return t.geometry=this._filterByExtentHandle?this.mapView.extent:null,t.where=this._layer.definitionExpression||"1=1",await this._layer.queryObjectIds(t)}async _mapClicked(t){const i={include:this._layer},s=await this.mapView.hitTest(t.screenPoint,i);s.results.length>0?(s.results.forEach((t=>{const i=t.graphic.getObjectId();this._table.highlightIds.indexOf(i)<0&&(this._selectionFromMap=!0,this._table.highlightIds.add(i))})),this._showOnlySelected&&(this._table.filterBySelectionEnabled=!0)):await this.clearSelection()}async _selectAll(){const t=this._allIds,i=t.filter((t=>this.selectedIds.indexOf(t)<0));await this._validateActiveEdits(i,this.selectedIds)?(this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(t),this.selectedIds=t,this._finishOnChange(),this._selectAllActive=!0):this._skipEditCheck=!1}_toggleShowSelected(){this._showOnlySelected=!this._showOnlySelected,this._table.filterBySelectionEnabled=this._showOnlySelected}_clearSelection(){this.selectedIds=[],this._outOFExtentOids=[],this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._table?.highlightIds.removeAll(),this._clearHighlights(),this._table?.rowHighlightIds.removeAll(),this._finishOnChange()}_toggleFilter(){this._filterOpen=!this._filterOpen}_initLayerExpressions(){const t=this.mapInfo?.filterConfig?.layerExpressions;this._layerExpressions=t?t.filter((t=>t.id===this._layer?.id)):[],this._filterList.layerExpressions=this._layerExpressions,this._filterActive=this._layerExpressions.filter((t=>t.expressions.filter((t=>t.active)).length>0)).length>0}async _switchSelected(){const t=[...this.selectedIds],i=this._allIds.reduce(((i,s)=>(t.indexOf(s)<0&&i.push(s),i)),[]).sort(((t,i)=>t-i));await this._validateActiveEdits(i,t)?(this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(i),this.selectedIds=i,this._finishOnChange()):this._skipEditCheck=!1}async _exportToCSV(){const t={},i=this._getIds();t[this._layer.id]={selectionSetNames:[this._layer.title],ids:i,layer:this._layer};const s=this._table.columns.toArray().reduce(((t,i)=>{if(!i.hidden){const s=i?.name||i?.fieldName;s&&t.push(s.toLocaleLowerCase())}return t}),[]);this._updateToolInfoLoading("export",!0),this._csvExporting=!0,await p(this.mapView.map,t,!1,!1,!0,s,!0,!0),this._updateToolInfoLoading("export",!1),this._csvExporting=!1}_updateToolInfoLoading(t,i){this._toolInfos.some((s=>{if(s?.icon===t)return s.loading=i,!0}))}async _refresh(){await this._validateActiveEdits([],this.selectedIds)&&(await(this._table?.refresh()),this._allIds=await this.queryAllIds(),this.featureSelectionChange.emit(this.selectedIds))}async _zoom(){this._layer&&await c(this.selectedIds,this._selectedLayerView,this.mapView,!0,void 0,this.zoomToScale)}async _layerSelectionChanged(t){const i=t.detail[0];if(i!==this._layer?.id||this._featuresEmpty()){this._fetchingData=!0;const t=await l(this.mapView,i);t&&await t.when((async()=>{this._selectedLayerView=t.isTable?null:await d(this.mapView,t.id),this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._shouldUpdateTableOnExtentChange=!0,this._layer=t,this._getFullTextSearchInfo()}))}this._fetchingData=!1}_getColumnTemplates(t,i){let s;this.mapInfo?.layerOptions?.layers.some((i=>{if(i.id===t)return s=i,!0}));const e=this._layer?.attributeTableTemplate?.elements;let h=[];e?.length>0&&this.honorMapFieldSettings&&(h=e.map((t=>t.fieldName)));const a=s?.fields&&s?.fieldOrder?s.fieldOrder.filter((t=>s.fields.indexOf(t)>-1)):h.length>0?h:void 0;let o;return i&&(o=i.reduce(((t,i)=>{const e={type:"field",fieldName:i.name,label:i.alias,menuConfig:this._getMenuConfig(i.name)};return s&&s?.fields?s.fields.indexOf(i.name)>-1&&t.push(e):h.length>0?h.indexOf(i.name)>-1&&t.push(e):t.push(e),t}),[])),a?o?.sort(this._sortFields.bind(this,a)):o}_sortFields(t,i,s){return t?.indexOf(i.fieldName)-t.indexOf(s.fieldName)}_getMenuConfig(t){return{items:[{label:this._translations.hideField,icon:"view-hide",autoCloseMenu:!0,clickFunction:()=>{this._handleHideClick(t)}}]}}_handleHideClick(t){this._columnsInfo[t]=!1,this._table.hideColumn(t),this._table.tableTemplate.columnTemplates.forEach((i=>{i.fieldName===t&&(i.visible=!1)}))}async _getTranslations(){const t=await a(this.el);this._translations=t[0]}static get watchers(){return{appLayout:["appLayoutWatchHandler"],defaultOid:["defaultOidWatchHandler"],defaultGlobalId:["defaultGlobalIdWatchHandler"],enableCSV:["enableCSVWatchHandler"],enableInlineEdit:["enableInlineEditWatchHandler"],enableShare:["enableShareWatchHandler"],_controlsThatFit:["_controlsThatFitWatchHandler"],locale:["localeWatchHandler"],mapHidden:["mapHiddenWatchHandler"],isMobile:["isMobileWatchHandler"],mapView:["mapViewWatchHandler"],_layer:["_layerWatchHandler"],selectedIds:["selectedIdsWatchHandler"]}}};function u(t){return function(t){return-1!==t?.indexOf("http://")}(t)?t.replace(/^http:\/\//,"https://"):t}f.style=':host{display:block}.height-full{height:100%}.height-full-adjusted{height:calc(100% - 20px)}.width-full{width:100%}.display-flex{display:flex}.table-border{border:1px solid var(--calcite-color-border-2)}.border-end{border-inline-end:1px solid var(--calcite-color-border-2)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51-px{height:51px}.height-50-px{height:50px}.bottom-left{position:absolute;left:0;bottom:0;padding-left:5px}html[dir="rtl"] .bottom-left{position:absolute;right:0;bottom:0;padding-right:5px}.height-19{height:19px}.background{background-color:var(--calcite-color-background)}.text-color{color:var(--calcite-color-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-color-status-danger)}.esri-feature-table vaadin-grid{border:none !important}vaadin-grid-cell-content{font-size:14px !important;color:var(--calcite-color-text-3) !important}.share-action{position:absolute;right:0;left:unset}html[dir="rtl"] .share-action{left:0;right:unset}.disabled{cursor:default !important;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.instant-app-share{height:50px !important;display:inline-flex}.border-top{border-top:1px solid var(--calcite-color-border-2)}.modal{--calcite-modal-content-padding:0}.esri-feature-table__table-container{height:100%}.search-container{background-color:var(--calcite-color-foreground-1) !important}.search{--calcite-color-border-input:var(--calcite-color-border-3);width:60%;padding:10px}.delete-red{--calcite-icon-color:var(--calcite-color-status-danger);--calcite-color-text-1:var(--calcite-color-status-danger);--calcite-color-text-3:var(--calcite-color-status-danger)}';const m=class{constructor(s){t(this,s),this.mapChanged=i(this,"mapChanged",7),this.beforeMapChanged=i(this,"beforeMapChanged",7),this.toggleFilter=i(this,"toggleFilter",7),this.clearSelection=i(this,"clearSelection",7),this.appLayout=void 0,this.appProxies=void 0,this.defaultWebmapId="",this.defaultLayerId=void 0,this.enableHome=void 0,this.enableLegend=void 0,this.enableFloorFilter=void 0,this.enableFullscreen=void 0,this.enableShare=!1,this.enableSingleExpand=!0,this.enableSearch=void 0,this.enableBasemap=void 0,this.basemapConfig=void 0,this.hidden=void 0,this.homeZoomIndex=3,this.homeZoomPosition="top-left",this.homeZoomToolsSize="m",this.locale=void 0,this.mapInfos=[],this.mapWidgetsIndex=0,this.mapWidgetsPosition="top-right",this.mapWidgetsSize="m",this.mapView=void 0,this.stackTools=!0,this.theme=void 0,this.toolOrder=void 0,this.isMapLayout=void 0,this.shareIncludeEmbed=void 0,this.shareIncludeSocial=void 0,this.selectedFeaturesIds=void 0,this.selectedLayer=void 0,this.zoomToScale=void 0,this.onlyShowUpdatableLayers=void 0,this.isMobile=void 0,this.mapInfo=void 0,this._translations=void 0,this._searchConfiguration=void 0,this._webMapInfo=void 0,this._showHideOpen=!1,this._toolInfos=void 0,this._controlsThatFit=void 0}get el(){return s(this)}esriConfig;Home;MapView;WebMap;_defaultWebmapHonored=!1;_homeWidget;_loadedId="";_mapDiv;_mapPicker;_mapTools;_moreDropdown;_mapListExpanded=!1;_filterActive=!1;_definitionExpression;_mapLayerPicker;_resizeObserver;_shareNode;_showHideDropdown;_toolbar;_timeout;_toolbarSizeInfos;_defaultVisibleToolSizeInfos;_observerSet=!1;appLayoutWatchHandler(){this._updateShareUrl()}enableHomeWatchHandler(){this._initHome()}enableShareWatchHandler(){this._toolbar&&this._updateToolbar()}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){this.mapView&&this._updateShareUrl()}async selectedLayerWatchHandler(){await(this.selectedLayer?.when((async()=>{this._definitionExpression=this.selectedLayer.definitionExpression})))}async selectedFeaturesIdsWatchHandler(){this._updateShareUrl(),this._validateEnabledActions()}_controlsThatFitWatchHandler(){const t=this._controlsThatFit?this._controlsThatFit.reduce(((t,i)=>(t.push(i.id),t)),[]):[];this._toolInfos=this._toolInfos?.map((i=>{if(i&&this._controlsThatFit){const s=this._getId(i.icon);return i.isOverflow=t.indexOf(s)<0,i}}))}async resetFilter(){this._filterActive=!1,this._updateShareUrl()}async updateFilterState(t){this._filterActive=t,this._updateShareUrl()}async updateLayer(){this._mapLayerPicker.updateLayer()}mapChanged;beforeMapChanged;toggleFilter;clearSelection;async mapInfoChange(t){await this._loadMap(t.detail)}noLayersFound(){this.selectedLayer=void 0,this.selectedFeaturesIds=[]}layerSelectionChange(){setTimeout((()=>{this._initToolInfos()}),50)}async componentWillLoad(){await this._getTranslations(),await this._initModules(),this._initToolInfos(),this._resizeObserver||(this._resizeObserver=new ResizeObserver((()=>this._updateToolbar())))}render(){const t=this.isMapLayout?"display-flex height-49-px":"",i=this.hidden?"visibility-hidden-1":"",s="dark"===this.theme?"calcite-mode-dark":"calcite-mode-light",a=this.mapInfos?.length>1||this.isMapLayout?"map-height":"height-full",o=this.isMapLayout?"":"display-none";return this._validateActiveActions(),e(h,{key:"0dbff0683a2ba0aa956344c84719990b8316bdee"},e("div",{key:"af68bee85faa0da7189d4d8d831eb858600038d8",class:`${t} width-full`,ref:t=>this._toolbar=t},this._getActionBar(),!this.isMobile&&this.isMapLayout&&this._getDropdown("more-table-options"),this.enableShare&&!this.isMobile&&this.isMapLayout?this._getShare("share"):void 0),e("calcite-progress",{key:"5c4d2dacfe7eb4b13d115731981b8e50870a271d",class:o,value:0}),e("div",{key:"357d395aa75ee86fa5060bfc0d48b62a7aad31fc",class:`${a} ${i}`,ref:t=>this._mapDiv=t}),e("map-tools",{key:"ec965773008f144944a04253ca5cea818d38cc69",basemapConfig:this.basemapConfig,class:`box-shadow ${s}`,enableBasemap:this.enableBasemap,enableFloorFilter:this.enableFloorFilter,enableFullscreen:this.enableFullscreen,enableHome:this.enableHome,enableLegend:this.enableLegend,enableSearch:this.enableSearch,enableSingleExpand:this.enableSingleExpand,homeZoomToolsSize:this.homeZoomToolsSize,locale:this.locale,mapView:this.mapView,mapWidgetsSize:this.mapWidgetsSize,position:this.mapWidgetsPosition,ref:t=>this._mapTools=t,searchConfiguration:this._searchConfiguration,stackTools:this.stackTools,toolOrder:this.toolOrder}))}async componentDidRender(){this.isMapLayout&&this._updateToolbar(),document.onclick=t=>this._handleDocumentClick(t)}async componentDidLoad(){this.isMobile||this._observerSet||(this._resizeObserver.observe(this._toolbar),this._observerSet=!0),this._updateShareUrl()}async _initModules(){const[t,i,s,e]=await o(["esri/WebMap","esri/views/MapView","esri/widgets/Home","esri/config"]);this.WebMap=t,this.MapView=i,this.Home=s,this.esriConfig=e}async _loadMap(t){const i=!this._defaultWebmapHonored&&this.defaultWebmapId,s=this.mapInfos?.filter((t=>t.id===this.defaultWebmapId)),e=JSON.stringify(t)!==JSON.stringify(this._webMapInfo);this._webMapInfo=i&&s?s[0]:!t?.id&&this.mapInfos.length>0?this.mapInfos[0]:t;const h=this._webMapInfo.id,a=i&&t?.id===this.defaultWebmapId;if(this._loadedId!==h&&!i||a){const t=new this.WebMap({portalItem:{id:h}});this.appProxies&&(await t.load(),await(o=t,l=this.esriConfig,n=this.appProxies,n&&n.forEach((t=>{o.allLayers.forEach((i=>{i&&i.url===t.sourceUrl&&(i.url=u(t.proxyUrl),i.portalItem&&i.portalItem.when((()=>{i.portalItem.url=u(t.proxyUrl)})),l.request?.interceptors?.push({urls:t.sourceUrl,before:i=>{i.url&&i.url===t.sourceUrl&&(i.url=u(t.proxyUrl))}}))}))})),o)),this.mapView=new this.MapView({container:this._mapDiv,map:t,resizeAlign:"center"}),this._loadedId=h,this._searchConfiguration=this._webMapInfo.searchConfiguration,this.beforeMapChanged.emit(),await this.mapView.when((()=>{this._initHome(),this.mapView.ui.add(this._mapTools,{position:this.mapWidgetsPosition,index:this.mapWidgetsIndex}),this._defaultWebmapHonored=!!a||this._defaultWebmapHonored,this.mapChanged.emit({id:h,mapView:this.mapView})}))}else i?(this._defaultWebmapHonored=!0,this._mapPicker.setMapByID(h)):e&&(this._searchConfiguration=this._webMapInfo.searchConfiguration,this.beforeMapChanged.emit(),this.mapChanged.emit({id:h,mapView:this.mapView}));var o,l,n;this._updateShareUrl()}_updateToolbar(){this._timeout&&clearTimeout(this._timeout),!this.isMobile&&this._toolbar&&this._toolInfos&&(this._timeout=setTimeout((()=>{clearTimeout(this._timeout),this._setToolbarSizeInfos();const t=this._toolbar.offsetWidth;let i=this._toolbarSizeInfos.reduce(((t,i)=>t+i.width),0);const s=["solutions-more","solutions-map-layer-picker-container","map-picker","solutions-action-share"];if(i>t){if(this._toolbarSizeInfos.length>0){const e=[...this._toolbarSizeInfos].reverse().reduce(((e,h)=>(s.indexOf(h.id)<0&&(i>t?i-=h.width:e.push(h)),e)),[]).reverse();this._setControlsThatFit(e,s)}}else if(this._defaultVisibleToolSizeInfos){const e=this._toolbarSizeInfos.reduce(((t,i)=>(t.push(i.id),t)),[]);let h=!1;const a=[...this._defaultVisibleToolSizeInfos].reduce(((a,o)=>(!h&&s.indexOf(o.id)<0&&(e.indexOf(o.id)>-1||i+o.width<=t)?(e.indexOf(o.id)<0&&(i+=o.width),a.push(o)):s.indexOf(o.id)<0&&i+o.width>t&&(h=!0),a)),[]);this._setControlsThatFit(a,s)}}),250))}_setControlsThatFit(t,i){let s=JSON.stringify(t)!==JSON.stringify(this._controlsThatFit);const e=document.getElementById("solutions-action-bar");e?.childNodes?.forEach((t=>{i.indexOf(t.id)<0&&!s&&(s=this._controlsThatFit.map((t=>t.id)).indexOf(t.id)<0)})),s&&(this._controlsThatFit=[...t])}_setToolbarSizeInfos(){let t=!1;this._toolbarSizeInfos=[],this._toolbar.childNodes.forEach(((i,s)=>{0===s?i.childNodes.forEach((i=>{this._toolbarSizeInfos.push({id:i.id,width:i.offsetWidth}),t||(t=i.offsetWidth>0)})):i.referenceElement||(this._toolbarSizeInfos.push({id:i.id,width:i.offsetWidth}),t||(t=i.offsetWidth>0))})),t&&!this._defaultVisibleToolSizeInfos&&(this._defaultVisibleToolSizeInfos=[...this._toolbarSizeInfos])}_getActionBar(){const t=this.mapInfos?.length>1?"":"display-none",i=this.isMapLayout?"display-flex":"display-block",s=this.isMobile?"border-top":"",h=this.isMapLayout?"":"display-none";return e("calcite-action-bar",{class:i,expandDisabled:!0,expanded:!0,id:this._getId("bar"),layout:"horizontal"},e("map-picker",{class:t,id:"map-picker",isMapLayout:this.isMapLayout,locale:this.locale,mapInfos:this.mapInfos,ref:t=>this._mapPicker=t}),e("div",{class:`mapView-header display-flex ${h}`,id:"solutions-map-layer-picker-container"},e("div",{class:`border-end ${i} ${s}`},this.mapView&&e("map-layer-picker",{appearance:"transparent",defaultLayerId:this.defaultLayerId,display:"inline-flex",height:50,isMobile:this.isMobile,locale:this.locale,mapView:this.mapView,onlyShowUpdatableLayers:this.onlyShowUpdatableLayers,placeholderIcon:"layers",ref:t=>this._mapLayerPicker=t,scale:"l",selectedIds:this.selectedLayer?[this.selectedLayer.id]:[],showSingleLayerAsLabel:!0,showTables:!0,showTablesDisabled:!0,type:"dropdown"}))),!this.isMobile&&this.isMapLayout?this._getActions():void 0)}_getDropdown(t){const i=this._getDropdownItems();return i.length>0?e("calcite-dropdown",{closeOnSelectDisabled:!0,disabled:void 0===this.selectedLayer,id:"solutions-more",onCalciteDropdownBeforeClose:()=>this._forceShowHide(),ref:t=>this._moreDropdown=t},e("calcite-action",{appearance:"solid",id:t,label:"",onClick:()=>this._closeShowHide(),slot:"trigger",text:""},e("calcite-button",{appearance:"transparent",iconEnd:"chevron-down",kind:"neutral"},this._translations.more)),e("calcite-dropdown-group",{"selection-mode":"none"},i.map((t=>e("calcite-dropdown-group",{class:t.disabled?"disabled":"",selectionMode:"none"},e("calcite-dropdown-item",{disabled:t.loading,iconStart:t.icon,id:"solutions-subset-list",onClick:t.func},t.loading?e("div",{class:"display-flex"},e("calcite-loader",{inline:!0,label:t.label,scale:"m"}),t.label):t.label)))))):void 0}_getShare(t){return e("div",{class:"share-action",id:this._getId(t)},e("instant-apps-social-share",{autoUpdateShareUrl:!1,class:"instant-app-share",embed:this.shareIncludeEmbed,flipRtl:!0,popoverButtonIconScale:"s",ref:t=>{this._shareNode=t,this._updateShareUrl()},scale:"m",shareButtonColor:"neutral",shareButtonType:"action",socialMedia:this.shareIncludeSocial,view:this.mapView}),this._getToolTip("bottom",t,this._translations.share))}_updateShareUrl(){const t=this._shareNode?.shareUrl;if(!t)return;const i=new URL(t);this._loadedId?i.searchParams.set("webmap",this._loadedId):i.searchParams.delete("webmap"),this.selectedLayer?.id?i.searchParams.set("layer",this.selectedLayer.id):i.searchParams.delete("layer"),this.selectedFeaturesIds?.length>0?i.searchParams.set("oid",this.selectedFeaturesIds.join(",")):i.searchParams.delete("oid"),i.searchParams.set("applayout",this.appLayout),this._shareNode.shareUrl=i.href}_closeShowHide(){this._showHideOpen=!1}_getDropdownItems(){return this._toolInfos?.filter((t=>t&&t.isOverflow))}_initToolInfos(){const t=this.selectedFeaturesIds?.length>0,i=this.selectedFeaturesIds?.length>1&&!1;this._translations&&(this._toolInfos=[{active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>this._zoom(),disabled:!t,isOverflow:!1},{active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>this._toggleFilter(),disabled:!1,isOverflow:!1},i?{active:!1,icon:"pencil",indicator:!1,label:this._translations.editMultiple,func:()=>alert(this._translations.editMultiple),disabled:!i,isOverflow:!1}:void 0,{active:!1,icon:"refresh",indicator:!1,label:this._translations.refresh,func:()=>this.selectedLayer.refresh(),disabled:!1,isOverflow:!1},{active:!1,icon:"erase",indicator:!1,label:this._translations.clearSelection,func:()=>this.clearSelection.emit(),disabled:!t,isOverflow:!1}],this._defaultVisibleToolSizeInfos=void 0)}_validateActiveActions(){const t=["filter"];this._toolInfos?.forEach((i=>{i&&t.indexOf(i.icon)>-1&&"filter"===i.icon&&(i.indicator=this._filterActive)}))}_validateEnabledActions(){const t=this.selectedFeaturesIds?.length>0,i=this.selectedFeaturesIds?.length>1&&this.selectedLayer?.capabilities?.operations?.supportsUpdate,s=["zoom-to-object","pencil","erase"];this._toolInfos?.forEach((e=>{e&&s.indexOf(e.icon)>-1&&(e.disabled="pencil"===e.icon?!i:!t)}))}_initHome(){if(this.enableHome){this._homeWidget=new this.Home({view:this.mapView}),this.mapView.ui.add(this._homeWidget,{position:this.homeZoomPosition,index:this.homeZoomIndex});const t="s"===this.homeZoomToolsSize?"32px":"m"===this.homeZoomToolsSize?"40px":"48px";this._homeWidget.domNode.style.height=t,this._homeWidget.domNode.style.width=t}else this._homeWidget&&this.mapView.ui.remove(this._homeWidget)}_toggleShowHide(){this._showHideOpen=!this._showHideOpen}_forceShowHide(){this._moreDropdown&&(this._moreDropdown.open=this._showHideOpen)}_handleDocumentClick(t){const i=t.target?.id;"solutions-subset-list"===i?this._moreDropdown.open=!0:this._showHideOpen&&"solutions-subset-list"!==i&&"solutions-more"!==i&&"chevron-down"!==i&&this._moreDropdown&&(this._showHideOpen=!1,this._moreDropdown.open=!1),"MAP-PICKER"===t.target.tagName&&(this._mapListExpanded=!this._mapListExpanded,this._mapPicker.toggle(this._mapListExpanded)),"MAP-PICKER"!==t.target.tagName&&(this._mapListExpanded=!1,this._mapPicker.close())}async _zoom(){if(this.selectedLayer){const t=await d(this.mapView,this.selectedLayer.id);await c(this.selectedFeaturesIds,t,this.mapView,!0,void 0,this.zoomToScale)}}async _toggleFilter(){this.toggleFilter.emit()}_hasFilterExpressions(){let t;return this.mapInfo?.filterConfig?.layerExpressions&&this.selectedLayer?.id&&(t=this.mapInfo.filterConfig.layerExpressions.filter((t=>t.id===this.selectedLayer.id))),t?.length>0}_getActions(){const t=this._getActionItems();return t?.reduce(((t,i)=>(i&&!i.isOverflow&&t.push(this._getAction(i.active,i.icon,i.indicator,i.label,i.func,i.disabled,i.loading)),t)),[])}_getToolTip(t,i,s){return document.getElementById(i)?e("calcite-tooltip",{placement:t,"reference-element":"map-"+i},e("span",null,s)):void 0}_getActionItems(){return this._toolInfos?.filter((t=>t&&!t.isOverflow))}_getAction(t,i,s,h,a,o,l,n){const c=void 0===this.selectedLayer||o;return e("div",{class:"display-flex",id:this._getId(i),slot:n},e("calcite-action",{active:t,appearance:"solid",disabled:c,icon:i,id:"map-"+i,indicator:s,label:h,loading:l,onClick:a,text:h,textEnabled:!0}),this._getToolTip("bottom",i,h))}_getId(t){return`solutions-action-${t}`}async _getTranslations(){const t=await a(this.el);this._translations=t[0]}static get watchers(){return{appLayout:["appLayoutWatchHandler"],enableHome:["enableHomeWatchHandler"],enableShare:["enableShareWatchHandler"],locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],selectedLayer:["selectedLayerWatchHandler"],selectedFeaturesIds:["selectedFeaturesIdsWatchHandler"],_controlsThatFit:["_controlsThatFitWatchHandler"]}}};m.style=":host{display:block;--calcite-label-margin-bottom:0;--calcite-block-padding:0}.map-height{height:calc(100% - 53px)}.height-full{height:100%}.height-49-px{height:49px}.box-shadow{box-shadow:none !important}.visibility-hidden-1{visibility:hidden;height:1px;}.display-none{display:none}.display-block{display:block}";export{b as card_manager,f as layer_table,m as map_card}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{c as e}from"./p-d4056c1c.js";var t={exports:{}};
|
7
|
-
/*! @license DOMPurify 2.5.8 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.5.8/LICENSE */t.exports=function(){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(e,n){return t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},t(e,n)}function n(e,r,i){return n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()?Reflect.construct:function(e,n,r){var i=[null];i.push.apply(i,n);var o=new(Function.bind.apply(e,i));return r&&t(o,r.prototype),o},n.apply(null,arguments)}function r(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var o=Object.hasOwnProperty,a=Object.setPrototypeOf,l=Object.isFrozen,c=Object.getPrototypeOf,u=Object.getOwnPropertyDescriptor,s=Object.freeze,f=Object.seal,m=Object.create,p="undefined"!=typeof Reflect&&Reflect,d=p.apply,h=p.construct;d||(d=function(e,t,n){return e.apply(t,n)}),s||(s=function(e){return e}),f||(f=function(e){return e}),h||(h=function(e,t){return n(e,r(t))});var g,y=R(Array.prototype.forEach),b=R(Array.prototype.pop),v=R(Array.prototype.push),w=R(String.prototype.toLowerCase),x=R(String.prototype.toString),k=R(String.prototype.match),S=R(String.prototype.replace),A=R(String.prototype.indexOf),j=R(String.prototype.trim),O=R(RegExp.prototype.test),z=(g=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return h(g,t)});function R(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return d(e,t,r)}}function T(e,t,n){var r;n=null!==(r=n)&&void 0!==r?r:w,a&&a(e,null);for(var i=t.length;i--;){var o=t[i];if("string"==typeof o){var c=n(o);c!==o&&(l(t)||(t[i]=c),o=c)}e[o]=!0}return e}function F(e){var t,n=m(null);for(t in e)!0===d(o,e,[t])&&(n[t]=e[t]);return n}function E(e,t){for(;null!==e;){var n=u(e,t);if(n){if(n.get)return R(n.get);if("function"==typeof n.value)return R(n.value)}e=c(e)}return function(e){return console.warn("fallback value for",e),null}}var D=s(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),L=s(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),M=s(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),B=s(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),N=s(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),_=s(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),I=s(["#text"]),C=s(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),q=s(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),W=s(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),U=s(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),$=f(/\{\{[\w\W]*|[\w\W]*\}\}/gm),G=f(/<%[\w\W]*|[\w\W]*%>/gm),P=f(/\${[\w\W]*}/gm),H=f(/^data-[\-\w.\u00B7-\uFFFF]+$/),Y=f(/^aria-[\-\w]+$/),V=f(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),J=f(/^(?:\w+script|data):/i),K=f(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Q=f(/^html$/i),X=f(/^[a-z][.\w]*(-[.\w]+)+$/i),Z=function(){return"undefined"==typeof window?null:window};var ee=function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Z(),i=function(e){return t(e)};if(i.version="2.5.8",i.removed=[],!n||!n.document||9!==n.document.nodeType)return i.isSupported=!1,i;var o=n.document,a=n.document,l=n.DocumentFragment,c=n.HTMLTemplateElement,u=n.Node,f=n.Element,m=n.NodeFilter,p=n.NamedNodeMap,d=void 0===p?n.NamedNodeMap||n.MozNamedAttrMap:p,h=n.HTMLFormElement,g=n.DOMParser,R=n.trustedTypes,ee=f.prototype,te=E(ee,"cloneNode"),ne=E(ee,"nextSibling"),re=E(ee,"childNodes"),ie=E(ee,"parentNode");if("function"==typeof c){var oe=a.createElement("template");oe.content&&oe.content.ownerDocument&&(a=oe.content.ownerDocument)}var ae=function(t,n){if("object"!==e(t)||"function"!=typeof t.createPolicy)return null;var r=null,i="data-tt-policy-suffix";n.currentScript&&n.currentScript.hasAttribute(i)&&(r=n.currentScript.getAttribute(i));var o="dompurify"+(r?"#"+r:"");try{return t.createPolicy(o,{createHTML:function(e){return e},createScriptURL:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(R,o),le=ae?ae.createHTML(""):"",ce=a.implementation,ue=a.createNodeIterator,se=a.createDocumentFragment,fe=a.getElementsByTagName,me=o.importNode,pe={};try{pe=F(a).documentMode?a.documentMode:{}}catch(e){}var de={};i.isSupported="function"==typeof ie&&ce&&void 0!==ce.createHTMLDocument&&9!==pe;var he,ge,ye=$,be=G,ve=P,we=H,xe=Y,ke=J,Se=K,Ae=X,je=V,Oe=null,ze=T({},[].concat(r(D),r(L),r(M),r(N),r(I))),Re=null,Te=T({},[].concat(r(C),r(q),r(W),r(U))),Fe=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ee=null,De=null,Le=!0,Me=!0,Be=!1,Ne=!0,_e=!1,Ie=!0,Ce=!1,qe=!1,We=!1,Ue=!1,$e=!1,Ge=!1,Pe=!0,He=!1,Ye=!0,Ve=!1,Je={},Ke=null,Qe=T({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Xe=null,Ze=T({},["audio","video","img","source","image","track"]),et=null,tt=T({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),nt="http://www.w3.org/1998/Math/MathML",rt="http://www.w3.org/2000/svg",it="http://www.w3.org/1999/xhtml",ot=it,at=!1,lt=null,ct=T({},[nt,rt,it],x),ut=["application/xhtml+xml","text/html"],st=null,ft=a.createElement("form"),mt=function(e){return e instanceof RegExp||e instanceof Function},pt=function(t){st&&st===t||(t&&"object"===e(t)||(t={}),t=F(t),he=he=-1===ut.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE,ge="application/xhtml+xml"===he?x:w,Oe="ALLOWED_TAGS"in t?T({},t.ALLOWED_TAGS,ge):ze,Re="ALLOWED_ATTR"in t?T({},t.ALLOWED_ATTR,ge):Te,lt="ALLOWED_NAMESPACES"in t?T({},t.ALLOWED_NAMESPACES,x):ct,et="ADD_URI_SAFE_ATTR"in t?T(F(tt),t.ADD_URI_SAFE_ATTR,ge):tt,Xe="ADD_DATA_URI_TAGS"in t?T(F(Ze),t.ADD_DATA_URI_TAGS,ge):Ze,Ke="FORBID_CONTENTS"in t?T({},t.FORBID_CONTENTS,ge):Qe,Ee="FORBID_TAGS"in t?T({},t.FORBID_TAGS,ge):{},De="FORBID_ATTR"in t?T({},t.FORBID_ATTR,ge):{},Je="USE_PROFILES"in t&&t.USE_PROFILES,Le=!1!==t.ALLOW_ARIA_ATTR,Me=!1!==t.ALLOW_DATA_ATTR,Be=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Ne=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,_e=t.SAFE_FOR_TEMPLATES||!1,Ie=!1!==t.SAFE_FOR_XML,Ce=t.WHOLE_DOCUMENT||!1,Ue=t.RETURN_DOM||!1,$e=t.RETURN_DOM_FRAGMENT||!1,Ge=t.RETURN_TRUSTED_TYPE||!1,We=t.FORCE_BODY||!1,Pe=!1!==t.SANITIZE_DOM,He=t.SANITIZE_NAMED_PROPS||!1,Ye=!1!==t.KEEP_CONTENT,Ve=t.IN_PLACE||!1,je=t.ALLOWED_URI_REGEXP||je,ot=t.NAMESPACE||it,Fe=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&mt(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Fe.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&mt(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Fe.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Fe.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),_e&&(Me=!1),$e&&(Ue=!0),Je&&(Oe=T({},r(I)),Re=[],!0===Je.html&&(T(Oe,D),T(Re,C)),!0===Je.svg&&(T(Oe,L),T(Re,q),T(Re,U)),!0===Je.svgFilters&&(T(Oe,M),T(Re,q),T(Re,U)),!0===Je.mathMl&&(T(Oe,N),T(Re,W),T(Re,U))),t.ADD_TAGS&&(Oe===ze&&(Oe=F(Oe)),T(Oe,t.ADD_TAGS,ge)),t.ADD_ATTR&&(Re===Te&&(Re=F(Re)),T(Re,t.ADD_ATTR,ge)),t.ADD_URI_SAFE_ATTR&&T(et,t.ADD_URI_SAFE_ATTR,ge),t.FORBID_CONTENTS&&(Ke===Qe&&(Ke=F(Ke)),T(Ke,t.FORBID_CONTENTS,ge)),Ye&&(Oe["#text"]=!0),Ce&&T(Oe,["html","head","body"]),Oe.table&&(T(Oe,["tbody"]),delete Ee.tbody),s&&s(t),st=t)},dt=T({},["mi","mo","mn","ms","mtext"]),ht=T({},["annotation-xml"]),gt=T({},["title","style","font","a","script"]),yt=T({},L);T(yt,M),T(yt,B);var bt=T({},N);T(bt,_);var vt=function(e){v(i.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=le}catch(t){e.remove()}}},wt=function(e,t){try{v(i.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){v(i.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!Re[e])if(Ue||$e)try{vt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},xt=function(e){var t,n;if(We)e="<remove></remove>"+e;else{var r=k(e,/^[\r\n\t ]+/);n=r&&r[0]}"application/xhtml+xml"===he&&ot===it&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");var i=ae?ae.createHTML(e):e;if(ot===it)try{t=(new g).parseFromString(i,he)}catch(e){}if(!t||!t.documentElement){t=ce.createDocument(ot,"template",null);try{t.documentElement.innerHTML=at?le:i}catch(e){}}var o=t.body||t.documentElement;return e&&n&&o.insertBefore(a.createTextNode(n),o.childNodes[0]||null),ot===it?fe.call(t,Ce?"html":"body")[0]:Ce?t.documentElement:o},kt=function(e){return ue.call(e.ownerDocument||e,e,m.SHOW_ELEMENT|m.SHOW_COMMENT|m.SHOW_TEXT|m.SHOW_PROCESSING_INSTRUCTION|m.SHOW_CDATA_SECTION,null,!1)},St=function(e){return e instanceof h&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof d)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},At=function(t){return"object"===e(u)?t instanceof u:t&&"object"===e(t)&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},jt=function(e,t,n){de[e]&&y(de[e],(function(e){e.call(i,t,n,st)}))},Ot=function(e){var t;if(jt("beforeSanitizeElements",e,null),St(e))return vt(e),!0;if(O(/[\u0080-\uFFFF]/,e.nodeName))return vt(e),!0;var n=ge(e.nodeName);if(jt("uponSanitizeElement",e,{tagName:n,allowedTags:Oe}),e.hasChildNodes()&&!At(e.firstElementChild)&&(!At(e.content)||!At(e.content.firstElementChild))&&O(/<[/\w]/g,e.innerHTML)&&O(/<[/\w]/g,e.textContent))return vt(e),!0;if("select"===n&&O(/<template/i,e.innerHTML))return vt(e),!0;if(7===e.nodeType)return vt(e),!0;if(Ie&&8===e.nodeType&&O(/<[/\w]/g,e.data))return vt(e),!0;if(!Oe[n]||Ee[n]){if(!Ee[n]&&Rt(n)){if(Fe.tagNameCheck instanceof RegExp&&O(Fe.tagNameCheck,n))return!1;if(Fe.tagNameCheck instanceof Function&&Fe.tagNameCheck(n))return!1}if(Ye&&!Ke[n]){var r=ie(e)||e.parentNode,o=re(e)||e.childNodes;if(o&&r)for(var a=o.length-1;a>=0;--a){var l=te(o[a],!0);l.__removalCount=(e.__removalCount||0)+1,r.insertBefore(l,ne(e))}}return vt(e),!0}return e instanceof f&&!function(e){var t=ie(e);t&&t.tagName||(t={namespaceURI:ot,tagName:"template"});var n=w(e.tagName),r=w(t.tagName);return!!lt[e.namespaceURI]&&(e.namespaceURI===rt?t.namespaceURI===it?"svg"===n:t.namespaceURI===nt?"svg"===n&&("annotation-xml"===r||dt[r]):Boolean(yt[n]):e.namespaceURI===nt?t.namespaceURI===it?"math"===n:t.namespaceURI===rt?"math"===n&&ht[r]:Boolean(bt[n]):e.namespaceURI===it?!(t.namespaceURI===rt&&!ht[r])&&!(t.namespaceURI===nt&&!dt[r])&&!bt[n]&&(gt[n]||!yt[n]):!("application/xhtml+xml"!==he||!lt[e.namespaceURI]))}(e)?(vt(e),!0):"noscript"!==n&&"noembed"!==n&&"noframes"!==n||!O(/<\/no(script|embed|frames)/i,e.innerHTML)?(_e&&3===e.nodeType&&(t=S(t=e.textContent,ye," "),t=S(t,be," "),t=S(t,ve," "),e.textContent!==t&&(v(i.removed,{element:e.cloneNode()}),e.textContent=t)),jt("afterSanitizeElements",e,null),!1):(vt(e),!0)},zt=function(e,t,n){if(Pe&&("id"===t||"name"===t)&&(n in a||n in ft))return!1;if(Me&&!De[t]&&O(we,t));else if(Le&&O(xe,t));else if(!Re[t]||De[t]){if(!(Rt(e)&&(Fe.tagNameCheck instanceof RegExp&&O(Fe.tagNameCheck,e)||Fe.tagNameCheck instanceof Function&&Fe.tagNameCheck(e))&&(Fe.attributeNameCheck instanceof RegExp&&O(Fe.attributeNameCheck,t)||Fe.attributeNameCheck instanceof Function&&Fe.attributeNameCheck(t))||"is"===t&&Fe.allowCustomizedBuiltInElements&&(Fe.tagNameCheck instanceof RegExp&&O(Fe.tagNameCheck,n)||Fe.tagNameCheck instanceof Function&&Fe.tagNameCheck(n))))return!1}else if(et[t]);else if(O(je,S(n,Se,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==A(n,"data:")||!Xe[e])if(Be&&!O(ke,S(n,Se,"")));else if(n)return!1;return!0},Rt=function(e){return"annotation-xml"!==e&&k(e,Ae)},Tt=function(t){var n,r,o,a;jt("beforeSanitizeAttributes",t,null);var l=t.attributes;if(l&&!St(t)){var c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Re};for(a=l.length;a--;){var u=(n=l[a]).name,s=n.namespaceURI;if(r="value"===u?n.value:j(n.value),o=ge(u),c.attrName=o,c.attrValue=r,c.keepAttr=!0,c.forceKeepAttr=void 0,jt("uponSanitizeAttribute",t,c),r=c.attrValue,!c.forceKeepAttr&&(wt(u,t),c.keepAttr))if(Ne||!O(/\/>/i,r)){_e&&(r=S(r,ye," "),r=S(r,be," "),r=S(r,ve," "));var f=ge(t.nodeName);if(zt(f,o,r))if(!He||"id"!==o&&"name"!==o||(wt(u,t),r="user-content-"+r),Ie&&O(/((--!?|])>)|<\/(style|title)/i,r))wt(u,t);else{if(ae&&"object"===e(R)&&"function"==typeof R.getAttributeType)if(s);else switch(R.getAttributeType(f,o)){case"TrustedHTML":r=ae.createHTML(r);break;case"TrustedScriptURL":r=ae.createScriptURL(r)}try{s?t.setAttributeNS(s,u,r):t.setAttribute(u,r),St(t)?vt(t):b(i.removed)}catch(e){}}}else wt(u,t)}jt("afterSanitizeAttributes",t,null)}},Ft=function e(t){var n,r=kt(t);for(jt("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)jt("uponSanitizeShadowNode",n,null),Ot(n),Tt(n),n.content instanceof l&&e(n.content);jt("afterSanitizeShadowDOM",t,null)};return i.sanitize=function(t){var r,a,c,s,f,m=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((at=!t)&&(t="\x3c!--\x3e"),"string"!=typeof t&&!At(t)){if("function"!=typeof t.toString)throw z("toString is not a function");if("string"!=typeof(t=t.toString()))throw z("dirty is not a string, aborting")}if(!i.isSupported){if("object"===e(n.toStaticHTML)||"function"==typeof n.toStaticHTML){if("string"==typeof t)return n.toStaticHTML(t);if(At(t))return n.toStaticHTML(t.outerHTML)}return t}if(qe||pt(m),i.removed=[],"string"==typeof t&&(Ve=!1),Ve){if(t.nodeName){var p=ge(t.nodeName);if(!Oe[p]||Ee[p])throw z("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof u)1===(a=(r=xt("\x3c!----\x3e")).ownerDocument.importNode(t,!0)).nodeType&&"BODY"===a.nodeName||"HTML"===a.nodeName?r=a:r.appendChild(a);else{if(!Ue&&!_e&&!Ce&&-1===t.indexOf("<"))return ae&&Ge?ae.createHTML(t):t;if(!(r=xt(t)))return Ue?null:Ge?le:""}r&&We&&vt(r.firstChild);for(var d=kt(Ve?t:r);c=d.nextNode();)3===c.nodeType&&c===s||(Ot(c),Tt(c),c.content instanceof l&&Ft(c.content),s=c);if(s=null,Ve)return t;if(Ue){if($e)for(f=se.call(r.ownerDocument);r.firstChild;)f.appendChild(r.firstChild);else f=r;return(Re.shadowroot||Re.shadowrootmod)&&(f=me.call(o,f,!0)),f}var h=Ce?r.outerHTML:r.innerHTML;return Ce&&Oe["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&O(Q,r.ownerDocument.doctype.name)&&(h="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+h),_e&&(h=S(h,ye," "),h=S(h,be," "),h=S(h,ve," ")),ae&&Ge?ae.createHTML(h):h},i.setConfig=function(e){pt(e),qe=!0},i.clearConfig=function(){st=null,qe=!1},i.isValidAttribute=function(e,t,n){st||pt({});var r=ge(e),i=ge(t);return zt(r,i,n)},i.addHook=function(e,t){"function"==typeof t&&(de[e]=de[e]||[],v(de[e],t))},i.removeHook=function(e){if(de[e])return b(de[e])},i.removeHooks=function(e){de[e]&&(de[e]=[])},i.removeAllHooks=function(){de={}},i}();return ee}();const n=t.exports,r=Object.freeze(Object.assign(Object.create(null),t.exports,{default:n}));export{r as p}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,c as n,g as e,h as r,H as i}from"./p-934e8935.js";import{g as o}from"./p-8a74a780.js";import{g as u,c as a}from"./p-d4056c1c.js";import{d as c,_ as s,a as f}from"./p-62a0aa8e.js";import{_ as l,t as d}from"./p-af7e43e0.js";import{r as h,_ as v,g as p,u as w}from"./p-0668e30d.js";const m={storage:{},memory:!0,get(t){let n;try{n=window.localStorage&&window.localStorage.getItem(t)||this.storage[t]}catch(e){n=this.storage[t]}if(n)try{return JSON.parse(n)}catch(t){return}},set(t,n){const e=JSON.stringify(n);try{window.localStorage.setItem(t,e)}catch(e){this.memory||(console.error("setting local storage failed, falling back to in-memory storage"),this.memory=!0),this.storage[t]=n}},delete(t){try{window.localStorage.removeItem(t)}catch(n){this.memory||(console.error("setting local storage failed, falling back to in-memory storage"),this.memory=!0),delete this.storage[t]}}},b="esri-telemetry";class y extends Error{}const g=["esri.com","esriuk.com","esri.de","esri.ca","esrifrance.fr","esri.nl","esri-portugal.pt","esribulgaria.com","esri.fi","esri.kr","esrimalaysia.com.my","esri.es","esriaustralia.com.au","esri-southafrica.com","esri.cl","esrichina.com.cn","esri.co","esriturkey.com.tr","geodata.no","esriitalia.it","esri.pl"];class j{constructor(t){var n,e,r;this.trackers=[],this.options=t,this.debug=t.debug,this.suppressDisabledWarnings=t.suppressDisabledWarnings,this.disabled=function(t={}){const{disabled:n,portal:e}=t;return!(!n&&!1!==(null==e?void 0:e.eueiEnabled)&&(!e||function(t){return t.eueiEnabled&&t.user&&t.user.orgId===t.id}(e)||function(t){return t.user&&!t.user.orgId&&"US"===t.ipCntryCode}(e)||function(t){return!t.user&&"US"===t.ipCntryCode}(e)))}(t),this.logger=t.logger||console,this.disabled&&!this.suppressDisabledWarnings&&this.logger.info("Telemetry Disabled");const i=(null===(n=t.portal)||void 0===n?void 0:n.user)||t.user;i&&this.setUser(i,null===(r=null===(e=t.portal)||void 0===e?void 0:e.subscriptionInfo)||void 0===r?void 0:r.type),this.disabled||this.initializeTrackers()}initializeTrackers(){this.options.plugins&&this.trackers.push(...this.options.plugins),this.trackers.length||this.logger.error(new Error("No trackers configured"))}getScriptTags(){return this.trackers.map((t=>t.getScriptTags&&t.getScriptTags())).join("")}async init(){const t=this.trackers.map((t=>t.init()));await Promise.all(t)}setUser(t={},n="Public"){let e;if(this.user=t="string"==typeof t?{username:t}:t,this.user.accountType=n,t.email&&t.email.split){const n=t.email.split("@")[1];e=g.filter((t=>n===t)).length>0}(e||["In House","Demo and Marketing"].indexOf(n)>-1)&&(this.user.internalUser=!0)}logPageView(t,n={},e={}){if(this.disabled&&!this.suppressDisabledWarnings)return this.logger.info("Page view was not logged because telemetry is disabled."),!1;const r=this.trackers.filter((({disabled:t,hasError:n})=>!t&&!n));if(!r.length)return this.logger.warn("Page view was not logged because no enabled telemetry-plugins are registered."),!1;const i=this.preProcess(n,e);this.debug&&this.logger.info("Tracking page view",JSON.stringify(i));const o=r.map((n=>n.logPageView(t,i)));return Promise.all(o).then(),!0}logEvent(t,n={}){if(this.disabled&&!this.suppressDisabledWarnings)return this.logger.info("Event was not logged because telemetry is disabled."),!1;const e=this.trackers.filter((({disabled:t,hasError:n})=>!t&&!n));if(!e.length)return this.logger.warn("Event was not logged because no enabled telemetry-plugins are registered."),!1;const r=this.preProcess(t,n);this.debug&&this.logger.info("Tracking event",JSON.stringify(r));const i=e.map((t=>t.logEvent(r)));return Promise.all(i).then(),!0}logError(t={}){t=Object.assign({eventType:"error"},t),this.logEvent(t)}startWorkflow(t,n={}){const e={name:t,start:Date.now(),steps:[],workflowId:Math.floor(17592186044416*(1+Math.random())).toString(16)};this.saveWorkflow(e);const r=Object.assign({name:t,step:"start"},n);return this.logWorkflow(r),e}stepWorkflow(t,n,e={}){const r=Object.assign({name:t,step:n,details:"string"==typeof e?e:e.details},e);this.logWorkflow(r)}endWorkflow(t,n={}){const e=Object.assign({name:t,step:"finish"},n);this.logWorkflow(e)}cancelWorkflow(t,n={}){const e=Object.assign({name:t,step:"cancel"},n);this.logWorkflow(e)}getWorkflow(t){const n=m.get(`TELEMETRY-WORKFLOW:${t}`);if(n){if(Date.now()-n.start<18e5)return n;this.deleteWorkflow(n)}}saveWorkflow(t){m.set(`TELEMETRY-WORKFLOW:${t.name}`,t)}deleteWorkflow(t){m.delete(`TELEMETRY-WORKFLOW:${t.name}`)}logWorkflow(t={}){t=this.preProcess(t);let n=this.getWorkflow(t.name);n||(this.startWorkflow(t.name),n=this.getWorkflow(t.name)),n.steps.push(t.step),n.duration=(Date.now()-n.start)/1e3,["cancel","finish"].indexOf(t.step)>-1?this.deleteWorkflow(n):this.saveWorkflow(n);const e=Object.assign(t,{eventType:"workflow",category:t.name,action:t.step,label:t.details,duration:n.duration,workflowId:n.workflowId});this.logEvent(e)}preProcess(t={},n={}){let e={};return this.user&&(e={user:"unknown",org:"unknown",lastLogin:this.user.lastLogin,userSince:this.user.created,internalUser:this.user.internalUser||!1,accountType:this.user.accountType}),Object.entries(Object.assign(Object.assign({},t),e)).reduce((r=n.omitComplexData,i=this.logger,function(t,[n,e]){return function(t){return["string","number","boolean","undefined"].includes(typeof t)||t&&"string"==typeof t.valueOf()}(e)?t[n]=e:r||(i.warn(`You are trying to log a non-primitive value, ${n}:${JSON.stringify(e)}. This will get logged as [object Object]`),t[n]=e),t}),{});var r,i}disableTracker(t){var n;const e=this.trackers.find((({name:n})=>n===t));e&&!e.hasError&&(e.disabled=!0,null===(n=e.disable)||void 0===n||n.call(e))}enableTracker(t){var n;const e=this.trackers.find((({name:n})=>n===t));e&&!e.hasError&&(e.disabled=!1,null===(n=e.enable)||void 0===n||n.call(e))}}function O(t,n){var e={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&n.indexOf(r)<0&&(e[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)n.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(e[r[i]]=t[r[i]])}return e}"function"==typeof SuppressedError&&SuppressedError;class S{constructor(t){var n;if(this.name="googleAnalytics",this.dimensions={},this.metrics={},"undefined"!=typeof window&&!(null===(n=null==t?void 0:t.measurementIds)||void 0===n?void 0:n.length))throw new Error("at least one measurementId needs to be provided in your configuration");Object.assign(this,t)}_getScripts(){return[{dataAttribute:"google-analytics",async:!0,src:`https://www.googletagmanager.com/gtag/js?id=${this.measurementIds?this.measurementIds[0]:""}`}]}getScriptTags(){return this._getScripts().map((t=>{const n=[];return["src","id","dataAttribute","type"].forEach((e=>{let r=e;"dataAttribute"===e&&(r="data-esri-telemetry"),t[e]&&n.push(`${r}="${t[e]}"`)})),["async","defer"].forEach((e=>{t[e]&&n.push(`${e}`)})),`<script ${n.join(" ")}>${t.body?t.body:""}<\/script>`})).join("")}async init(){if("undefined"==typeof window)throw new y("Window is undefined: Cannot add script element.");await Promise.all(this._getScripts().map((t=>{return n=t,new Promise(((t,e)=>{n.onload=t,n.onerror=e;const r=function(t){const{body:n,src:e,id:r,dataAttribute:i,section:o="body",type:u="text/javascript",async:a=!1,defer:c=!1,onload:s,onerror:f}=t;if("undefined"==typeof window)throw new y("Window is undefined: Cannot add script element.");if(function(t){const{id:n,dataAttribute:e}=t;return!!document.getElementById(n)||!!document.querySelector(`[data-${b}="${e}"]`)}(t))return void console.log(`script (${r||i}) is already present, skipping`);const l=function({id:t,dataAttribute:n,type:e,async:r,defer:i,body:o,src:u,onload:a,onerror:c}){const s=document.createElement("script");return t&&(s.id=t),n&&s.setAttribute(`data-${b}`,n),u&&(s.src=u),o&&(s.innerText=o),s.type=e,s.async=r,s.defer=i,a&&(s.onload=a),c&&(s.onerror=c),s}({id:r,dataAttribute:i,type:u,async:a,defer:c,body:n,src:e,onload:s,onerror:f});return"body"===o?document.body.appendChild(l):document.head.appendChild(l)}(n);r&&!n.body||t()}));var n}))),this.injectConfig()}logPageView(t,n={}){const e=this.buildCustomParams(n),r=Object.assign({page_title:t||window.location.pathname},e);return window.gtag("event","page_view",r),!0}logEvent(t){let{action:n}=t,e=O(t,["action"]);const r=n||"other",i=this.buildCustomParams(e);return window.gtag("event",r,i),!0}disable(){this.measurementIds&&this.measurementIds.forEach((t=>{window[`ga-disable-${t}`]=!0}))}enable(){this.measurementIds&&this.measurementIds.forEach((t=>{window[`ga-disable-${t}`]=void 0}))}injectConfig(){window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},window.gtag("js",new Date);const t={custom_map:this.createDimensionsAndMetricsCustomMap(this.dimensions,this.metrics),send_page_view:!1,anonymize_ip:!0};this.measurementIds.forEach((n=>{window.gtag("config",n,t)}))}buildCustomParams(t){let n,{category:e,label:r}=t;return n=this.verifyCustomDimensionAndMetrics(t),e&&(n=Object.assign(Object.assign({},n),{event_category:e})),r&&(n=Object.assign(Object.assign({},n),{event_label:r})),n}verifyCustomDimensionAndMetrics(t){const n=this.createDimensionsAndMetricsCustomMap(this.dimensions,this.metrics),e=Object.values(n);return Object.keys(t).filter((t=>e.includes(t))).reduce(((n,e)=>Object.assign(n,{[e]:t[e]})),{})}createDimensionsAndMetricsCustomMap(t={},n={}){const e=this.createMetricCustomMap(n),r=this.createDimensionCustomMap(t);return Object.assign(Object.assign({},e),r)}createMetricCustomMap(t={}){return Object.keys(t).map((function(n){return{key:`metric${t[n]}`,value:n}})).filter((t=>t)).reduce(((t,{key:n,value:e})=>(t[n]=e,t)),{})}createDimensionCustomMap(t={}){return Object.keys(t).map((function(n){return{key:`dimension${t[n]}`,value:n}})).filter((t=>t)).reduce(((t,{key:n,value:e})=>(t[n]=e,t)),{})}}const k="TELEMETRY_COGNITO_CREDENTIALS";function E({telemetryData:t,dimensionLookup:n={},excludeKeys:e=[]}){return Object.keys(t).filter((t=>!e.includes(t))).map((e=>n[e]?{key:I(n,e),value:t[e]}:{key:e,value:A(t,e)})).reduce(((t,{key:n,value:e})=>(t[n]=e,t)),{})}function A(t,n){return"json"===n?t[n]?JSON.stringify(t[n]):"null":void 0===t[n]?"null":t[n].toString()}function I(t,n){return`dimension${t[n]}`}const x=["size","duration","position","number","count"];function T(t,n={}){return Object.keys(t).filter((t=>n[t]||x.includes(t))).map((e=>n[e]?{key:N(n,e),value:t[e]}:{key:e,value:t[e]})).reduce(((t,{key:n,value:e})=>(t[n]=e,t)),{})}function N(t,n){return`metric${t[n]}`}var _={exports:function(t,n,e,r,i){for(n=n.split?n.split("."):n,r=0;r<n.length;r++)t=t?t[n[r]]:i;return t===i?e:t}};const P=_.exports;"undefined"==typeof process||process;var M="undefined"!=typeof document;function C(t,n){return n.charAt(0)[t]()+n.slice(1)}"undefined"!=typeof Deno&&Deno,M&&"nodejs"===window.name||"undefined"!=typeof navigator&&void 0!==navigator.userAgent&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));var D=C.bind(null,"toUpperCase"),L=C.bind(null,"toLowerCase");function z(t,n){void 0===n&&(n=!0);var e=function(t){return W(t)?D("null"):"object"==typeof t?function(t){return U(t.constructor)?t.constructor.name:null}(t):Object.prototype.toString.call(t).slice(8,-1)}(t);return n?L(e):e}function $(t,n){return typeof n===t}var U=$.bind(null,"function"),R=$.bind(null,"string");function W(t){return null===t}function H(t,n){if("object"!=typeof n||W(n))return!1;if(n instanceof t)return!0;var e=z(new t(""));if(function(t){return t instanceof Error||R(t.message)&&t.constructor&&function(t){return"number"===z(t)&&!isNaN(t)}(t.constructor.stackTraceLimit)}(n))for(;n;){if(z(n)===e)return!0;n=Object.getPrototypeOf(n)}return!1}function q(t,n){var e=t instanceof Element||t instanceof HTMLDocument;return e&&n?function(t,n){return void 0===n&&(n=""),t&&t.nodeName===n.toUpperCase()}(t,n):e}function V(t){var n=[].slice.call(arguments,1);return function(){return t.apply(void 0,[].slice.call(arguments).concat(n))}}function F(t){try{return decodeURIComponent(t.replace(/\+/g," "))}catch(t){return null}}function G(t,n,e){for(var r=n.length-1,i=0;i<r;++i){var o=n[i];if("__proto__"===o||"constructor"===o)break;o in t||(t[o]={}),t=t[o]}t[n[r]]=e}function J(){for(var t="",n=0,e=4294967295*Math.random()|0;n++<36;){var r="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"[n-1],i=15&e;t+="-"==r||"4"==r?r:("x"==r?i:3&i|8).toString(16),e=n%8==0?4294967295*Math.random()|0:e>>4}return t}$.bind(null,"undefined"),$.bind(null,"boolean"),$.bind(null,"symbol"),H.bind(null,TypeError),H.bind(null,SyntaxError),V(q,"form"),V(q,"button"),V(q,"input"),V(q,"select");var X="undefined",K="object";"undefined"==typeof process||process;var B="undefined"!=typeof document;function Y(t,n){return n.charAt(0)[t]()+n.slice(1)}"undefined"!=typeof Deno&&Deno,B&&"nodejs"===window.name||"undefined"!=typeof navigator&&void 0!==navigator.userAgent&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));var Z=Y.bind(null,"toUpperCase"),Q=Y.bind(null,"toLowerCase");function tt(t,n){void 0===n&&(n=!0);var e=function(t){return it(t)?Z("null"):"object"==typeof t?function(t){return et(t.constructor)?t.constructor.name:null}(t):Object.prototype.toString.call(t).slice(8,-1)}(t);return n?Q(e):e}function nt(t,n){return typeof n===t}var et=nt.bind(null,"function"),rt=nt.bind(null,"string");function it(t){return null===t}function ot(t,n){if("object"!=typeof n||it(n))return!1;if(n instanceof t)return!0;var e=tt(new t(""));if(function(t){return t instanceof Error||rt(t.message)&&t.constructor&&function(t){return"number"===tt(t)&&!isNaN(t)}(t.constructor.stackTraceLimit)}(n))for(;n;){if(tt(n)===e)return!0;n=Object.getPrototypeOf(n)}return!1}function ut(t,n){var e=t instanceof Element||t instanceof HTMLDocument;return e&&n?function(t,n){return void 0===n&&(n=""),t&&t.nodeName===n.toUpperCase()}(t,n):e}function at(t){var n=[].slice.call(arguments,1);return function(){return t.apply(void 0,[].slice.call(arguments).concat(n))}}nt.bind(null,"undefined"),nt.bind(null,"boolean"),nt.bind(null,"symbol"),ot.bind(null,TypeError),ot.bind(null,SyntaxError),at(ut,"form"),at(ut,"button"),at(ut,"input"),at(ut,"select");var ct="global",st="__global__",ft=typeof self===K&&self.self===self&&self||typeof global===K&&global.global===global&&global||void 0;function lt(t){return ft[st][t]}function dt(t,n){return ft[st][t]=n}function ht(t){delete ft[st][t]}function vt(t,n,e){var r;try{if(wt(t)){var i=window[t];r=i[n].bind(i)}}catch(t){}return r||e}ft[st]||(ft[st]={});var pt={};function wt(t){if(typeof pt[t]!==X)return pt[t];try{var n=window[t];n.setItem(X,X),n.removeItem(X)}catch(n){return pt[t]=!1}return pt[t]=!0}"undefined"==typeof process||process;var mt="undefined"!=typeof window;function bt(t,n){return typeof n===t}"undefined"!=typeof Deno&&Deno,mt&&"nodejs"===window.name||"undefined"!=typeof navigator&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));var yt=bt.bind(null,"function"),gt=bt.bind(null,"string");bt.bind(null,"undefined");var jt=bt.bind(null,"boolean");function Ot(t){if(!function(t){return t&&("object"==typeof t||null!==t)}(t))return!1;for(var n=t;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return Object.getPrototypeOf(t)===n}function St(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}function kt(t,n){if(t){if("string"==typeof t)return St(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?St(t,n):void 0}}function Et(t){return function(t){if(Array.isArray(t))return St(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||kt(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function At(t){return At="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},At(t)}function It(t,n,e,r,i,o,u){try{var a=t[o](u),c=a.value}catch(t){return void e(t)}a.done?n(c):Promise.resolve(c).then(r,i)}function xt(t){return function(){var n=this,e=arguments;return new Promise((function(r,i){var o=t.apply(n,e);function u(t){It(o,r,i,u,a,"next",t)}function a(t){It(o,r,i,u,a,"throw",t)}u(void 0)}))}}function Tt(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function Nt(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function _t(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?Nt(Object(e),!0).forEach((function(n){Tt(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Nt(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}var Pt={};!function(){var t=function(t){var n,e=Object.prototype,r=e.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",a=i.toStringTag||"@@toStringTag";function c(t,n,e){return Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[n]}try{c({},"")}catch(t){c=function(t,n,e){return t[n]=e}}function s(t,n,e,r){var i=Object.create((n&&n.prototype instanceof w?n:w).prototype),o=new x(r||[]);return i._invoke=function(t,n,e){var r=l;return function(i,o){if(r===h)throw new Error("Generator is already running");if(r===v){if("throw"===i)throw o;return N()}for(e.method=i,e.arg=o;;){var u=e.delegate;if(u){var a=E(u,e);if(a){if(a===p)continue;return a}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(r===l)throw r=v,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);r=h;var c=f(t,n,e);if("normal"===c.type){if(r=e.done?v:d,c.arg===p)continue;return{value:c.arg,done:e.done}}"throw"===c.type&&(r=v,e.method="throw",e.arg=c.arg)}}}(t,e,o),i}function f(t,n,e){try{return{type:"normal",arg:t.call(n,e)}}catch(t){return{type:"throw",arg:t}}}t.wrap=s;var l="suspendedStart",d="suspendedYield",h="executing",v="completed",p={};function w(){}function m(){}function b(){}var y={};c(y,o,(function(){return this}));var g=Object.getPrototypeOf,j=g&&g(g(T([])));j&&j!==e&&r.call(j,o)&&(y=j);var O=b.prototype=w.prototype=Object.create(y);function S(t){["next","throw","return"].forEach((function(n){c(t,n,(function(t){return this._invoke(n,t)}))}))}function k(t,n){function e(i,o,u,a){var c=f(t[i],t,o);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==typeof l&&r.call(l,"__await")?n.resolve(l.__await).then((function(t){e("next",t,u,a)}),(function(t){e("throw",t,u,a)})):n.resolve(l).then((function(t){s.value=t,u(s)}),(function(t){return e("throw",t,u,a)}))}a(c.arg)}var i;this._invoke=function(t,r){function o(){return new n((function(n,i){e(t,r,n,i)}))}return i=i?i.then(o,o):o()}}function E(t,e){var r=t.iterator[e.method];if(r===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=n,E(t,e),"throw"===e.method))return p;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var i=f(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,p;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,p):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,p)}function A(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function I(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function x(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function T(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,u=function e(){for(;++i<t.length;)if(r.call(t,i))return e.value=t[i],e.done=!1,e;return e.value=n,e.done=!0,e};return u.next=u}}return{next:N}}function N(){return{value:n,done:!0}}return m.prototype=b,c(O,"constructor",b),c(b,"constructor",m),m.displayName=c(b,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){var n="function"==typeof t&&t.constructor;return!!n&&(n===m||"GeneratorFunction"===(n.displayName||n.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,a,"GeneratorFunction")),t.prototype=Object.create(O),t},t.awrap=function(t){return{__await:t}},S(k.prototype),c(k.prototype,u,(function(){return this})),t.AsyncIterator=k,t.async=function(n,e,r,i,o){void 0===o&&(o=Promise);var u=new k(s(n,e,r,i),o);return t.isGeneratorFunction(e)?u:u.next().then((function(t){return t.done?t.value:u.next()}))},S(O),c(O,a,"Generator"),c(O,o,(function(){return this})),c(O,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var n=[];for(var e in t)n.push(e);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=T,x.prototype={constructor:x,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(I),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function i(r,i){return a.type="throw",a.arg=t,e.next=r,i&&(e.method="next",e.arg=n),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var u=this.tryEntries[o],a=u.completion;if("root"===u.tryLoc)return i("end");if(u.tryLoc<=this.prev){var c=r.call(u,"catchLoc"),s=r.call(u,"finallyLoc");if(c&&s){if(this.prev<u.catchLoc)return i(u.catchLoc,!0);if(this.prev<u.finallyLoc)return i(u.finallyLoc)}else if(c){if(this.prev<u.catchLoc)return i(u.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<u.finallyLoc)return i(u.finallyLoc)}}}},abrupt:function(t,n){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=n&&n<=o.finallyLoc&&(o=null);var u=o?o.completion:{};return u.type=t,u.arg=n,o?(this.method="next",this.next=o.finallyLoc,p):this.complete(u)},complete:function(t,n){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&n&&(this.next=n),p},finish:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),I(e),p}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.tryLoc===t){var r=e.completion;if("throw"===r.type){var i=r.arg;I(e)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:T(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),p}},t}(Pt);try{regeneratorRuntime=t}catch(n){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}();var Mt=Pt,Ct="function",Dt="undefined",Lt="reducer",zt="@@redux/",$t=zt+"INIT",Ut=zt+Math.random().toString(36),Rt=function(){return("undefined"==typeof Symbol?"undefined":At(Symbol))===Ct&&Symbol.observable||"@@observable"}(),Wt=" != "+Ct;function Ht(t,n,e){if(At(n)===Ct&&At(e)===Dt&&(e=n,n=void 0),At(e)!==Dt){if(At(e)!==Ct)throw new Error("enhancer"+Wt);return e(Ht)(t,n)}if(At(t)!==Ct)throw new Error(Lt+Wt);var r=t,i=n,o=[],u=o,a=!1;function c(){u===o&&(u=o.slice())}function s(){return i}function f(t){if(At(t)!==Ct)throw new Error("Listener"+Wt);var n=!0;return c(),u.push(t),function(){if(n){n=!1,c();var e=u.indexOf(t);u.splice(e,1)}}}function l(t){if(!Ot(t))throw new Error("Act != obj");if(At(t.type)===Dt)throw new Error("ActType "+Dt);if(a)throw new Error("Dispatch in "+Lt);try{a=!0,i=r(i,t)}finally{a=!1}for(var n=o=u,e=0;e<n.length;e++)(0,n[e])();return t}return l({type:$t}),Tt({dispatch:l,subscribe:f,getState:s,replaceReducer:function(t){if(At(t)!==Ct)throw new Error("next "+Lt+Wt);r=t,l({type:$t})}},Rt,(function(){var t=f;return Tt({subscribe:function(n){if("object"!==At(n))throw new TypeError("Observer != obj");function e(){n.next&&n.next(s())}return e(),{unsubscribe:t(e)}}},Rt,(function(){return this}))}))}function qt(t,n){var e=n&&n.type;return"action "+(e&&e.toString()||"?")+Lt+" "+t+" returns "+Dt}function Vt(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];return 0===n.length?function(t){return t}:1===n.length?n[0]:n.reduce((function(t,n){return function(){return t(n.apply(void 0,arguments))}}))}function Ft(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];return function(t){return function(e,r,i){var o,u=t(e,r,i),a=u.dispatch,c={getState:u.getState,dispatch:function(t){return a(t)}};return o=n.map((function(t){return t(c)})),a=Vt.apply(void 0,Et(o))(u.dispatch),_t(_t({},u),{},{dispatch:a})}}}var Gt="__anon_id",Jt="__user_id",Xt="__user_traits",Kt="analytics",Bt="userId",Yt="anonymousId",Zt=["bootstrap","params","campaign","initializeStart","initialize","initializeEnd","ready","resetStart","reset","resetEnd","pageStart","page","pageEnd","pageAborted","trackStart","track","trackEnd","trackAborted","identifyStart","identify","identifyEnd","identifyAborted","userIdChanged","registerPlugins","enablePlugin","disablePlugin","online","offline","setItemStart","setItem","setItemEnd","setItemAborted","removeItemStart","removeItem","removeItemEnd","removeItemAborted"],Qt=["name","EVENTS","config","loaded"],tn=Zt.reduce((function(t,n){return t[n]=n,t}),{registerPluginType:function(t){return"registerPlugin:".concat(t)},pluginReadyType:function(t){return"ready:".concat(t)}}),nn=/^utm_/,en=/^an_prop_/,rn=/^an_trait_/;function on(t){var n=t.storage.setItem;return function(e){return function(r){return function(i){if(i.type===tn.bootstrap){var o=i.params,u=i.user,a=i.persistedUser,c=i.initialUser,s=a.userId===u.userId;a.anonymousId!==u.anonymousId&&n(Gt,u.anonymousId),s||n(Jt,u.userId),c.traits&&n(Xt,_t(_t({},s&&a.traits?a.traits:{}),c.traits));var f=Object.keys(i.params);if(f.length){var l=o.an_uid,d=o.an_event,h=f.reduce((function(t,n){if(n.match(nn)||n.match(/^(d|g)clid/)){var e=n.replace(nn,"");t.campaign["campaign"===e?"name":e]=o[n]}return n.match(en)&&(t.props[n.replace(en,"")]=o[n]),n.match(rn)&&(t.traits[n.replace(rn,"")]=o[n]),t}),{campaign:{},props:{},traits:{}});e.dispatch(_t(_t({type:tn.params,raw:o},h),l?{userId:l}:{})),l&&setTimeout((function(){return t.identify(l,h.traits)}),0),d&&setTimeout((function(){return t.track(d,h.props)}),0),Object.keys(h.campaign).length&&e.dispatch({type:tn.campaign,campaign:h.campaign})}}return r(i)}}}}function un(t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e.type===tn.setItemEnd){if(e.key===Gt)return _t(_t({},n),{anonymousId:e.value});if(e.key===Jt)return _t(_t({},n),{userId:e.value})}switch(e.type){case tn.identify:return Object.assign({},n,{userId:e.userId,traits:_t(_t({},n.traits),e.traits)});case tn.reset:return[Jt,Gt,Xt].forEach((function(n){t.removeItem(n)})),Object.assign({},n,{userId:null,anonymousId:null,traits:{}});default:return n}}}function an(t){return{userId:t.getItem(Jt),anonymousId:t.getItem(Gt),traits:t.getItem(Xt)}}var cn=function(t){return"__TEMP__"+t};function sn(t){var n=t.storage,e=n.setItem,r=n.removeItem,i=n.getItem;return function(t){return function(n){return function(o){var u=o.userId,a=o.traits,c=o.options;if(o.type===tn.reset&&([Jt,Xt,Gt].forEach((function(t){r(t)})),[Bt,Yt,"traits"].forEach((function(t){ht(cn(t))}))),o.type===tn.identify){i(Gt)||e(Gt,J());var s=i(Jt),f=i(Xt)||{};s&&s!==u&&t.dispatch({type:tn.userIdChanged,old:{userId:s,traits:f},new:{userId:u,traits:a},options:c}),u&&e(Jt,u),a&&e(Xt,_t(_t({},f),a))}return n(o)}}}}var fn={};function ln(t,n){fn[t]&&yt(fn[t])&&(fn[t](n),delete fn[t])}function dn(t,n,e){return new Promise((function(r,i){return n()?r(t):e<1?i(_t(_t({},t),{},{queue:!0})):new Promise((function(t){return setTimeout(t,10)})).then((function(){return dn(t,n,e-10).then(r,i)}))}))}function hn(t,n,e){var r=n(),i=t.getState(),o=i.plugins,u=i.queue,a=i.user;if(!i.context.offline&&u&&u.actions&&u.actions.length){var c=u.actions.reduce((function(t,n,e){return o[n.plugin].loaded?(t.process.push(n),t.processIndex.push(e)):(t.requeue.push(n),t.requeueIndex.push(e)),t}),{processIndex:[],process:[],requeue:[],requeueIndex:[]});if(c.processIndex&&c.processIndex.length){c.processIndex.forEach((function(n){var i=u.actions[n],c=i.plugin,s=i.payload.type,f=r[c][s];if(f&&yt(f)){var l=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return[Bt,Yt].reduce((function(e,r){return t.hasOwnProperty(r)&&n[r]&&n[r]!==t[r]&&(e[r]=n[r]),e}),t)}(i.payload,a);f({payload:l,config:o[c].config,instance:e});var d="".concat(s,":").concat(c);t.dispatch(_t(_t({},l),{},{type:d,_:{called:d,from:"queueDrain"}}))}}));var s=u.actions.filter((function(t,n){return!~c.processIndex.indexOf(n)}));u.actions=s}}}function vn(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(t).filter((function(t){var r=e.plugins||{};return jt(r[t])?r[t]:!1!==r.all&&(!n[t]||!1!==n[t].enabled)})).map((function(n){return t[n]}))}var pn=/Start$/,wn=/^bootstrap/,mn=/^ready/;function bn(t,n,e,r,i){return yn.apply(this,arguments)}function yn(){return yn=xt(Mt.mark((function t(n,e,r,i,o){var u,a,c,s,f,l,d,h,v,p,w;return Mt.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(u=yt(e)?e():e,c=(a=n.type).replace(pn,""),!n._||!n._.called){t.next=5;break}return t.abrupt("return",n);case 5:return s=r.getState(),f=vn(u,s.plugins,n.options),a===tn.initializeStart&&n.fromEnable&&(f=Object.keys(s.plugins).filter((function(t){var e=s.plugins[t];return n.plugins.includes(t)&&!e.initialized})).map((function(t){return u[t]}))),l=f.map((function(t){return t.name})),d=An(a,f),t.next=12,gn({action:n,data:{exact:d.before,namespaced:d.beforeNS},state:s,allPlugins:u,allMatches:d,instance:r,store:i,EVENTS:o});case 12:if(!xn(h=t.sent,l.length)){t.next=15;break}return t.abrupt("return",h);case 15:if(a!==c){t.next=19;break}v=h,t.next=22;break;case 19:return t.next=21,gn({action:_t(_t({},h),{},{type:c}),data:{exact:d.during,namespaced:d.duringNS},state:s,allPlugins:u,allMatches:d,instance:r,store:i,EVENTS:o});case 21:v=t.sent;case 22:if(!a.match(pn)){t.next=28;break}return p="".concat(c,"End"),t.next=26,gn({action:_t(_t({},v),{},{type:p}),data:{exact:d.after,namespaced:d.afterNS},state:s,allPlugins:u,allMatches:d,instance:r,store:i,EVENTS:o});case 26:(w=t.sent).meta&&w.meta.hasCallback&&ln(w.meta.rid,{payload:w});case 28:return t.abrupt("return",h);case 29:case"end":return t.stop()}}),t)}))),yn.apply(this,arguments)}function gn(t){return jn.apply(this,arguments)}function jn(){return jn=xt(Mt.mark((function t(n){var e,r,i,o,u,a,c,s,f,l,d,h,v,p,w,m,b,y;return Mt.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=n.data,i=n.instance,u=n.allPlugins,a=n.allMatches,c=n.store,s=n.EVENTS,f=(o=n.state).plugins,l=o.context,h=(d=(r=n.action).type).match(pn),v=e.exact.map((function(t){return t.pluginName})),h&&(v=a.during.map((function(t){return t.pluginName}))),p=_n(i,v),w=e.exact.reduce((function(t,n){var e=n.pluginName,r=n.methodName,i=!1;return r.match(/^initialize/)||r.match(/^reset/)||(i=!f[e].loaded),l.offline&&r.match(/^(page|track|identify)/)&&(i=!0),t["".concat(e)]=i,t}),{}),t.next=10,e.exact.reduce(function(){var t=xt(Mt.mark((function t(n,o){var a,c;return Mt.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=o.pluginName,t.next=3,n;case 3:if(c=t.sent,!e.namespaced||!e.namespaced[a]){t.next=11;break}return t.next=7,e.namespaced[a].reduce(function(){var t=xt(Mt.mark((function t(n,e){var r,o,c,s;return Mt.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=function(t,n,e){return function(r,i){var o=e||n;return _t(_t({},t),{},{abort:{reason:r,plugins:i||[n],caller:d,from:o}})}},t.next=3,n;case 3:if(r=t.sent,e.method&&yt(e.method)){t.next=6;break}return t.abrupt("return",r);case 6:return Pn(e.methodName,e.pluginName),t.next=9,e.method({payload:r,instance:i,abort:o(r,a,e.pluginName),config:Sn(e.pluginName,f,u),plugins:f});case 9:return s=Ot(c=t.sent)?c:{},t.abrupt("return",Promise.resolve(_t(_t({},r),s)));case 12:case"end":return t.stop()}}),t)})));return function(n,e,r){return t.apply(this,arguments)}}(),Promise.resolve(r));case 7:c[a]=t.sent,t.next=12;break;case 11:c[a]=r;case 12:return t.abrupt("return",Promise.resolve(c));case 13:case"end":return t.stop()}}),t)})));return function(n,e,r){return t.apply(this,arguments)}}(),Promise.resolve({}));case 10:return m=t.sent,t.next=13,e.exact.reduce(function(){var t=xt(Mt.mark((function t(n,r,o){var a,s,l,v,b,y,g,j,O,S,k;return Mt.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=e.exact.length===o+1,l=u[s=r.pluginName],t.next=5,n;case 5:if(v=t.sent,b=m[s]?m[s]:{},h&&(b=v),!In(b,s)){t.next=11;break}return On({data:b,method:d,instance:i,pluginName:s,store:c}),t.abrupt("return",Promise.resolve(v));case 11:if(!In(v,s)){t.next=14;break}return a&&On({data:v,method:d,instance:i,store:c}),t.abrupt("return",Promise.resolve(v));case 14:if(!w.hasOwnProperty(s)||!0!==w[s]){t.next=17;break}return c.dispatch({type:"queue",plugin:s,payload:b,_:{called:"queue",from:"queueMechanism"}}),t.abrupt("return",Promise.resolve(v));case 17:return y=p(m[s],u[s]),t.next=20,l[d]({abort:y.abort,payload:b,instance:i,config:Sn(s,f,u),plugins:f});case 20:return j=Ot(g=t.sent)?g:{},O=_t(_t({},v),j),In(S=m[s],s)?On({data:S,method:d,instance:i,pluginName:s,store:c}):((k="".concat(d,":").concat(s)).match(/:/g)||[]).length<2&&!d.match(wn)&&!d.match(mn)&&i.dispatch(_t(_t({},h?O:b),{},{type:k,_:{called:k,from:"submethod"}})),t.abrupt("return",Promise.resolve(O));case 26:case"end":return t.stop()}}),t)})));return function(n,e,r){return t.apply(this,arguments)}}(),Promise.resolve(r));case 13:if(b=t.sent,d.match(pn)||d.match(/^registerPlugin/)||d.match(mn)||d.match(wn)||d.match(/^params/)||d.match(/^userIdChanged/)){t.next=21;break}if(s.plugins.includes(d),!b._||b._.originalAction!==d){t.next=18;break}return t.abrupt("return",b);case 18:y=_t(_t({},b),{_:{originalAction:b.type,called:b.type,from:"engineEnd"}}),xn(b,e.exact.length)&&!d.match(/End$/)&&(y=_t(_t({},y),{type:b.type+"Aborted"})),c.dispatch(y);case 21:return t.abrupt("return",b);case 22:case"end":return t.stop()}}),t)}))),jn.apply(this,arguments)}function On(t){var n=t.pluginName,e=t.method+"Aborted"+(n?":"+n:"");t.store.dispatch(_t(_t({},t.data),{},{type:e,_:{called:e,from:"abort"}}))}function Sn(t,n,e){var r=n[t]||e[t];return r&&r.config?r.config:{}}function kn(t,n){return n.reduce((function(n,e){return e[t]?n.concat({methodName:t,pluginName:e.name,method:e[t]}):n}),[])}function En(t,n){var e=t.replace(pn,""),r=n?":".concat(n):"";return["".concat(t).concat(r),"".concat(e).concat(r),"".concat(e,"End").concat(r)]}function An(t,n){var e=En(t).map((function(t){return kn(t,n)}));return n.reduce((function(e,r){var i=r.name,o=function(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,i,o=[],u=!0,a=!1;try{for(e=e.call(t);!(u=(r=e.next()).done)&&(o.push(r.value),!n||o.length!==n);u=!0);}catch(t){a=!0,i=t}finally{try{u||null==e.return||e.return()}finally{if(a)throw i}}return o}}(t,n)||kt(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(En(t,i).map((function(t){return kn(t,n)})),3),u=o[0],a=o[1],c=o[2];return u.length&&(e.beforeNS[i]=u),a.length&&(e.duringNS[i]=a),c.length&&(e.afterNS[i]=c),e}),{before:e[0],beforeNS:{},during:e[1],duringNS:{},after:e[2],afterNS:{}})}function In(t,n){var e=t.abort;return!!e&&(!0===e||Nn(e,n)||e&&Nn(e.plugins,n))}function xn(t,n){var e=t.abort;if(!e)return!1;if(!0===e||gt(e))return!0;var r=e.plugins;return Tn(e)&&e.length===n||Tn(r)&&r.length===n}function Tn(t){return Array.isArray(t)}function Nn(t,n){return!(!t||!Tn(t))&&t.includes(n)}function _n(t,n){return function(e,r,i){var o=r.config,u=r.name,a="".concat(u,".").concat(e.type);i&&(a=i.event);var c=e.type.match(pn)?function(t,n,e,r,i){return function(o,u){var a=r?r.name:t,c=u&&Tn(u)?u:e;if(r&&(!(c=u&&Tn(u)?u:[t]).includes(t)||1!==c.length))throw new Error("Method ".concat(n," can only abort ").concat(t," plugin. ").concat(JSON.stringify(c)," input valid"));return _t(_t({},i),{},{abort:{reason:o,plugins:c,caller:n,_:a}})}}(u,a,n,i,e):function(t,n){return function(){throw new Error(t.type+" action not cancellable. Remove abort in "+n)}}(e,a);return{payload:Cn(e),instance:t,config:o||{},abort:c}}}function Pn(t,n){var e=Mn(t);if(e&&e.name===n){var r=Mn(e.method),i=r?"or "+r.method:"";throw new Error([n+" plugin is calling method "+t,"Plugins cant call self","Use ".concat(e.method," ").concat(i," in ").concat(n," plugin insteadof ").concat(t)].join("\n"))}}function Mn(t){var n=t.match(/(.*):(.*)/);return!!n&&{method:n[1],name:n[2]}}function Cn(t){return Object.keys(t).reduce((function(n,e){return"type"===e||(n[e]=Ot(t[e])?Object.assign({},t[e]):t[e]),n}),{})}function Dn(t,n,e){var r={};return function(i){return function(o){return function(){var u=xt(Mt.mark((function u(a){var c,s,f,l,d,h,v,p,w,m;return Mt.wrap((function(u){for(;;)switch(u.prev=u.next){case 0:if(c=a.type,s=a.plugins,f=a,!a.abort){u.next=4;break}return u.abrupt("return",o(a));case 4:if(c===tn.enablePlugin&&i.dispatch({type:tn.initializeStart,plugins:s,disabled:[],fromEnable:!0,meta:a.meta}),c===tn.disablePlugin&&setTimeout((function(){return ln(a.meta.rid,{payload:a})}),0),c===tn.initializeEnd&&(l=n(),d=Object.keys(l),h=d.filter((function(t){return s.includes(t)})).map((function(t){return l[t]})),v=[],p=[],w=a.disabled,m=h.map((function(t){var n=t.name;return dn(t,t.loaded,1e4).then((function(){return r[n]||(i.dispatch({type:tn.pluginReadyType(n),name:n,events:Object.keys(t).filter((function(t){return!Qt.includes(t)}))}),r[n]=!0),v=v.concat(n),t})).catch((function(t){if(t instanceof Error)throw new Error(t);return p=p.concat(t.name),t}))})),Promise.all(m).then((function(){var t={plugins:v,failed:p,disabled:w};setTimeout((function(){d.length===m.length+w.length&&i.dispatch(_t(_t({},{type:tn.ready}),t))}),0)}))),c===tn.bootstrap){u.next=13;break}return/^ready:([^:]*)$/.test(c)&&setTimeout((function(){return hn(i,n,t)}),0),u.next=11,bn(a,n,t,i,e);case 11:return u.abrupt("return",o(u.sent));case 13:return u.abrupt("return",o(f));case 14:case"end":return u.stop()}}),u)})));return function(t){return u.apply(this,arguments)}}()}}}function Ln(t){return function(){return function(n){return function(e){var r=e.type,i=e.key,o=e.value,u=e.options;if(r===tn.setItem||r===tn.removeItem){if(e.abort)return n(e);r===tn.setItem?t.setItem(i,o,u):t.removeItem(i,u)}return n(e)}}}}function zn(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function $n(t,n,e){return n&&zn(t.prototype,n),e&&zn(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}var Un=$n((function t(){var n=this;!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t),Tt(this,"before",[]),Tt(this,"after",[]),Tt(this,"addMiddleware",(function(t,e){n[e]=n[e].concat(t)})),Tt(this,"removeMiddleware",(function(t,e){var r=n[e].findIndex((function(n){return n===t}));-1!==r&&(n[e]=[].concat(Et(n[e].slice(0,r)),Et(n[e].slice(r+1))))})),Tt(this,"dynamicMiddlewares",(function(t){return function(e){return function(r){return function(i){var o={getState:e.getState,dispatch:function(t){return e.dispatch(t)}},u=n[t].map((function(t){return t(o)}));return Vt.apply(void 0,Et(u))(r)(i)}}}}))}));function Rn(t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,r={};if("initialize:aborted"===e.type)return n;if(/^registerPlugin:([^:]*)$/.test(e.type)){var i=Wn(e.type,"registerPlugin"),o=t()[i];if(!o||!i)return n;var u=e.enabled;return r[i]={enabled:u,initialized:!!u&&Boolean(!o.initialize),loaded:!!u&&Boolean(o.loaded()),config:o.config||{}},_t(_t({},n),r)}if(/^initialize:([^:]*)$/.test(e.type)){var a=Wn(e.type,tn.initialize),c=t()[a];return c&&a?(r[a]=_t(_t({},n[a]),{initialized:!0,loaded:Boolean(c.loaded())}),_t(_t({},n),r)):n}if(/^ready:([^:]*)$/.test(e.type))return r[e.name]=_t(_t({},n[e.name]),{loaded:!0}),_t(_t({},n),r);switch(e.type){case tn.disablePlugin:return _t(_t({},n),Hn(e.plugins,!1,n));case tn.enablePlugin:return _t(_t({},n),Hn(e.plugins,!0,n));default:return n}}}function Wn(t,n){return t.substring(n.length+1,t.length)}function Hn(t,n,e){return t.reduce((function(t,r){return t[r]=_t(_t({},e[r]),{enabled:n}),t}),e)}function qn(t){try{return JSON.parse(JSON.stringify(t))}catch(t){}return t}var Vn={last:{},history:[]};function Fn(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Vn,n=arguments.length>1?arguments[1]:void 0,e=n.options,r=n.meta;if(n.type===tn.track){var i=qn(_t(_t({event:n.event,properties:n.properties},Object.keys(e).length&&{options:e}),{},{meta:r}));return _t(_t({},t),{last:i,history:t.history.concat(i)})}return t}var Gn={actions:[]};function Jn(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Gn,n=arguments.length>1?arguments[1]:void 0,e=n.payload;switch(n.type){case"queue":var r;return r=e&&e.type&&e.type===tn.identify?[n].concat(t.actions):t.actions.concat(n),_t(_t({},t),{},{actions:r});case"dequeue":return[];default:return t}}var Xn=/#.*$/;function Kn(t){var n=/(http[s]?:\/\/)?([^\/\s]+\/)(.*)/g.exec(t);return"/"+(n&&n[3]?n[3].split("?")[0].replace(Xn,""):"")}var Bn,Yn,Zn,Qn,te=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!mt)return t;var n=document,e=n.title,r=n.referrer,i=window,o=i.location,u=i.innerWidth,a=i.innerHeight,c=o.hash,s=o.search,f=function(t){var n=function(){if(mt)for(var t,n=document.getElementsByTagName("link"),e=0;t=n[e];e++)if("canonical"===t.getAttribute("rel"))return t.getAttribute("href")}();return n?n.match(/\?/)?n:n+t:window.location.href.replace(Xn,"")}(s),l={title:e,url:f,path:Kn(f),hash:c,search:s,width:u,height:a};return r&&""!==r&&(l.referrer=r),_t(_t({},l),t)},ne={last:{},history:[]};function ee(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ne,n=arguments.length>1?arguments[1]:void 0,e=n.options;if(n.type===tn.page){var r=qn(_t({properties:n.properties,meta:n.meta},Object.keys(e).length&&{options:e}));return _t(_t({},t),{last:r,history:t.history.concat(r)})}return t}Bn=function(){if(!mt)return!1;var t=navigator.appVersion;return~t.indexOf("Win")?"Windows":~t.indexOf("Mac")?"MacOS":~t.indexOf("X11")?"UNIX":~t.indexOf("Linux")?"Linux":"Unknown OS"}(),Yn=mt?document.referrer:null,Zn=function(){if(M){var t=navigator,n=t.languages;return t.userLanguage||(n&&n.length?n[0]:t.language)}}(),Qn=function(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch(t){}}();var re={initialized:!1,sessionId:J(),app:null,version:null,debug:!1,offline:!!mt&&!navigator.onLine,os:{name:Bn},userAgent:mt?navigator.userAgent:"node",library:{name:Kt,version:"0.10.22"},timezone:Qn,locale:Zn,campaign:{},referrer:Yn};function ie(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:re,n=arguments.length>1?arguments[1]:void 0,e=t.initialized,r=n.campaign;switch(n.type){case tn.campaign:return _t(_t({},t),{campaign:r});case tn.offline:return _t(_t({},t),{offline:!0});case tn.online:return _t(_t({},t),{offline:!1});default:return e?t:_t(_t(_t({},re),t),{initialized:!0})}}var oe=["plugins","reducers","storage"];function ue(t,n,e){if(mt){var r=window[(e?"add":"remove")+"EventListener"];t.split(" ").forEach((function(t){r(t,n)}))}}function ae(t){var n=ue.bind(null,"online offline",(function(){return Promise.resolve(!navigator.onLine).then(t)}));return n(!0),function(){return n(!1)}}function ce(){return dt(Kt,[]),function(t){return function(n,e,r){var i=t(n,e,r),o=i.dispatch;return Object.assign(i,{dispatch:function(t){return ft[st][Kt].push(t.action||t),o(t)}})}}}function se(){return function(){return Vt(Vt.apply(null,arguments),ce())}}function fe(t){return t?function(t){return"[object Array]"===Object.prototype.toString.call(t)}(t)?t:[t]:[]}function le(){var t,n,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0,o=J();return r&&(fn[o]=(t=r,n=function(t){for(var n,e=t||Array.prototype.slice.call(arguments),r=0;r<e.length;r++)if(yt(e[r])){n=e[r];break}return n}(i),function(e){n&&n(e),t(e)})),_t(_t({},e),{},{rid:o,ts:(new Date).getTime()},r?{hasCallback:!0}:{})}function de(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.reducers||{},e=t.initialUser||{},r=(t.plugins||[]).reduce((function(t,n){if(yt(n))return t.middlewares=t.middlewares.concat(n),t;if(n.NAMESPACE&&(n.name=n.NAMESPACE),!n.name)throw new Error("https://lytics.dev/errors/1");var e=n.EVENTS?Object.keys(n.EVENTS).map((function(t){return n.EVENTS[t]})):[];t.pluginEnabled[n.name]=!(!1===n.enabled||n.config&&!1===n.config.enabled),delete n.enabled,n.methods&&(t.methods[n.name]=Object.keys(n.methods).reduce((function(t,e){var r;return t[e]=(r=n.methods[e],function(){for(var t=Array.prototype.slice.call(arguments),n=new Array(r.length),e=0;e<t.length;e++)n[e]=t[e];return n[n.length]=S,r.apply({instance:S},n)}),t}),{}),delete n.methods);var r=Object.keys(n).concat(e),i=new Set(t.events.concat(r));if(t.events=Array.from(i),t.pluginsArray=t.pluginsArray.concat(n),t.plugins[n.name])throw new Error(n.name+"AlreadyLoaded");return t.plugins[n.name]=n,t.plugins[n.name].loaded||(t.plugins[n.name].loaded=function(){return!0}),t}),{plugins:{},pluginEnabled:{},methods:{},pluginsArray:[],middlewares:[],events:[]}),i=t.storage?t.storage:{getItem:lt,setItem:dt,removeItem:ht},o=function(t){return function(n,e,r){return e.getState("user")[n]||(r&&Ot(r)&&r[n]?r[n]:an(t)[n]||lt(cn(n))||null)}}(i),u=r.plugins,a=r.events.filter((function(t){return!Qt.includes(t)})).sort(),c=new Set(a.concat(Zt).filter((function(t){return!Qt.includes(t)}))),s=Array.from(c).sort(),f=function(){return u},l=new Un,d=l.addMiddleware,h=l.removeMiddleware,v=l.dynamicMiddlewares,p=function(){throw new Error("Abort disabled inListener")},w=function(t){for(var n,e=Object.create(null),r=/([^&=]+)=?([^&]*)/g;n=r.exec(t);){var i=F(n[1]),o=F(n[2]);if(i)if("[]"===i.substring(i.length-2)){var u=e[i=i.substring(0,i.length-2)]||(e[i]=[]);e[i]=Array.isArray(u)?u:[],e[i].push(o)}else e[i]=""===o||o}for(var a in e){var c=a.split("[");c.length>1&&(G(e,c.map((function(t){return t.replace(/[?[\]\\ ]/g,"")})),e[a]),delete e[a])}return e}(function(t){if(t){var n=t.match(/\?(.*)/);return n&&n[1]?n[1].split("#")[0]:""}return M&&window.location.search.substring(1)}(void 0)),m=an(i),b=_t(_t(_t(_t({},m),e),w.an_uid?{userId:w.an_uid}:{}),w.an_aid?{anonymousId:w.an_aid}:{});b.anonymousId||(b.anonymousId=J());var y,g,j,O=_t({enable:function(t,n){return new Promise((function(e){D.dispatch({type:tn.enablePlugin,plugins:fe(t),_:{originalAction:tn.enablePlugin}},e,[n])}))},disable:function(t,n){return new Promise((function(e){D.dispatch({type:tn.disablePlugin,plugins:fe(t),_:{originalAction:tn.disablePlugin}},e,[n])}))}},r.methods),S={identify:(j=xt(Mt.mark((function t(n,e,r,i){var u,a,c,s,f;return Mt.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return u=gt(n)?n:null,a=Ot(n)?n:e,c=r||{},s=S.user(),dt(cn(Bt),u),f=u||a.userId||o(Bt,S,a),t.abrupt("return",new Promise((function(t){D.dispatch(_t({type:tn.identifyStart,userId:f,traits:a||{},options:c,anonymousId:s.anonymousId},s.id&&s.id!==u&&{previousId:s.id}),t,[e,r,i])})));case 7:case"end":return t.stop()}}),t)}))),function(t,n,e,r){return j.apply(this,arguments)}),track:(g=xt(Mt.mark((function t(n,e,r,i){var u,a,c;return Mt.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((u=Ot(n)?n.event:n)&>(u)){t.next=3;break}throw new Error("EventMissing");case 3:return a=Ot(n)?n:e||{},c=Ot(r)?r:{},t.abrupt("return",new Promise((function(t){D.dispatch({type:tn.trackStart,event:u,properties:a,options:c,userId:o(Bt,S,e),anonymousId:o(Yt,S,e)},t,[e,r,i])})));case 6:case"end":return t.stop()}}),t)}))),function(t,n,e,r){return g.apply(this,arguments)}),page:(y=xt(Mt.mark((function t(n,e,r){var i,u;return Mt.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=Ot(n)?n:{},u=Ot(e)?e:{},t.abrupt("return",new Promise((function(t){D.dispatch({type:tn.pageStart,properties:te(i),options:u,userId:o(Bt,S,i),anonymousId:o(Yt,S,i)},t,[n,e,r])})));case 3:case"end":return t.stop()}}),t)}))),function(t,n,e){return y.apply(this,arguments)}),user:function(t){if(t===Bt||"id"===t)return o(Bt,S);if(t===Yt||"anonId"===t)return o(Yt,S);var n=S.getState("user");return t?P(n,t):n},reset:function(t){return new Promise((function(n){D.dispatch({type:tn.resetStart},n,t)}))},ready:function(t){return S.on(tn.ready,t)},on:function(t,n){if(!t||!yt(n))return!1;if(t===tn.bootstrap)throw new Error(".on disabled for "+t);var e=/Start$|Start:/;if("*"===t){var r=function(){return function(t){return function(r){return r.type.match(e)&&n({payload:r,instance:S,plugins:u}),t(r)}}},i=function(){return function(t){return function(r){return r.type.match(e)||n({payload:r,instance:S,plugins:u}),t(r)}}};return d(r,he),d(i,ve),function(){h(r,he),h(i,ve)}}var o=t.match(e)?he:ve,a=function(){return function(e){return function(r){return r.type===t&&n({payload:r,instance:S,plugins:u,abort:p}),e(r)}}};return d(a,o),function(){return h(a,o)}},once:function(t,n){if(!t||!yt(n))return!1;if(t===tn.bootstrap)throw new Error(".once disabled for "+t);var e=S.on(t,(function(t){n({payload:t.payload,instance:S,plugins:u,abort:p}),e()}));return e},getState:function(t){var n=D.getState();return t?P(n,t):Object.assign({},n)},dispatch:function(t){var n=gt(t)?{type:t}:t;if(Zt.includes(n.type))throw new Error("reserved action "+n.type);var e=t._||{},r=_t(_t({},n),{},{_:_t({originalAction:n.type},e)});D.dispatch(r)},enablePlugin:O.enable,disablePlugin:O.disable,plugins:O,storage:{getItem:i.getItem,setItem:function(t,n,e){D.dispatch({type:tn.setItemStart,key:t,value:n,options:e})},removeItem:function(t,n){D.dispatch({type:tn.removeItemStart,key:t,options:n})}},setAnonymousId:function(t,n){S.storage.setItem(Gt,t,n)},events:{all:s,core:Zt,plugins:a}},k=r.middlewares.concat([function(){return function(t){return function(n){return n.meta||(n.meta=le()),t(n)}}},v(he),Dn(S,f,{all:s,plugins:a}),Ln(i),on(S),sn(S),v(ve)]),E={context:ie,user:un(i),page:ee,track:Fn,plugins:Rn(f),queue:Jn},A=Vt,I=Vt;if(mt&&t.debug){var x=window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__;x&&(A=x({trace:!0,traceLimit:25})),I=function(){return 0===arguments.length?ce():Ot(At(arguments[0]))?se():se().apply(null,arguments)}}var T,N=function(t){return Object.keys(t).reduce((function(n,e){return oe.includes(e)||(n[e]=t[e]),n}),{})}(t),_=r.pluginsArray.reduce((function(t,n){var e=n.name,i=n.config,o=n.loaded,u=r.pluginEnabled[e];return t[e]={enabled:u,initialized:!!u&&Boolean(!n.initialize),loaded:Boolean(o()),config:i||{}},t}),{}),C={context:N,user:b,plugins:_},D=Ht(function(t){for(var n=Object.keys(t),e={},r=0;r<n.length;r++){var i=n[r];At(t[i])===Ct&&(e[i]=t[i])}var o,u=Object.keys(e);try{!function(t){Object.keys(t).forEach((function(n){var e=t[n];if(At(e(void 0,{type:$t}))===Dt||At(e(void 0,{type:Ut}))===Dt)throw new Error(Lt+" "+n+" "+Dt)}))}(e)}catch(t){o=t}return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(o)throw o;for(var r=!1,i={},a=0;a<u.length;a++){var c=u[a],s=t[c],f=(0,e[c])(s,n);if(At(f)===Dt){var l=qt(c,n);throw new Error(l)}i[c]=f,r=r||f!==s}return r?i:t}}(_t(_t({},E),n)),C,I(A(Ft.apply(void 0,Et(k)))));D.dispatch=(T=D.dispatch,function(t,n,e){var r=le(t.meta,n,fe(e)),i=_t(_t({},t),{meta:r});return T.apply(null,[i])});var L=Object.keys(u);D.dispatch({type:tn.bootstrap,plugins:L,config:N,params:w,user:b,initialUser:e,persistedUser:m});var z=L.filter((function(t){return r.pluginEnabled[t]})),$=L.filter((function(t){return!r.pluginEnabled[t]}));return D.dispatch({type:tn.registerPlugins,plugins:L,enabled:r.pluginEnabled}),r.pluginsArray.map((function(t,n){var e=t.bootstrap,i=t.config,o=t.name;e&&yt(e)&&e({instance:S,config:i,payload:t}),D.dispatch({type:tn.registerPluginType(o),name:o,enabled:r.pluginEnabled[o],plugin:t}),r.pluginsArray.length===n+1&&D.dispatch({type:tn.initializeStart,plugins:z,disabled:$})})),ae((function(t){D.dispatch({type:t?tn.offline:tn.online})})),function(t,n,e){setInterval((function(){return hn(t,n,e)}),3e3)}(D,f,S),S}var he="before",ve="after",pe="cookie",we=ge(),me=je,be=je;function ye(t){return we?je(t,"",-1):ht(t)}function ge(){if(void 0!==we)return we;var t="cookiecookie";try{je(t,t),we=-1!==document.cookie.indexOf(t),ye(t)}catch(t){we=!1}return we}function je(t,n,e,r,i,o){if("undefined"!=typeof window){var u=arguments.length>1;return!1===we&&(u?dt(t,n):lt(t)),u?document.cookie=t+"="+encodeURIComponent(n)+(e?"; expires="+new Date(+new Date+1e3*e).toUTCString()+(r?"; path="+r:"")+(i?"; domain="+i:"")+(o?"; secure":""):""):decodeURIComponent((("; "+document.cookie).split("; "+t+"=")[1]||"").split(";")[0])}}var Oe="localStorage",Se=wt.bind(null,"localStorage"),ke=vt("localStorage","getItem",lt),Ee=vt("localStorage","setItem",dt),Ae=vt("localStorage","removeItem",ht),Ie="sessionStorage",xe=wt.bind(null,"sessionStorage");vt("sessionStorage","getItem",lt),vt("sessionStorage","setItem",dt),vt("sessionStorage","removeItem",ht);var Te="any",Ne="*";"undefined"==typeof process||process;var _e="undefined"!=typeof window;function Pe(t,n){return typeof n===t}"undefined"!=typeof Deno&&Deno,_e&&"nodejs"===window.name||"undefined"!=typeof navigator&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")),Pe.bind(null,"function");var Me=Pe.bind(null,"string"),Ce=Pe.bind(null,"undefined");function De(t){var n=t;try{if("true"===(n=JSON.parse(t)))return!0;if("false"===n)return!1;if(function(t){if(!function(t){return t&&("object"==typeof t||null!==t)}(t))return!1;for(var n=t;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return Object.getPrototypeOf(t)===n}(n))return n;parseFloat(n)===n&&(n=parseFloat(n))}catch(t){}if(null!==n&&""!==n)return n}Pe.bind(null,"boolean");var Le=Se(),ze=xe(),$e=ge();function Ue(t,n){if(t){var e=Re(n),r=!Ve(e),i=We(e)?De(localStorage.getItem(t)):void 0;if(r&&!Ce(i))return i;var o=He(e)?De(me(t)):void 0;if(r&&o)return o;var u=qe(e)?De(sessionStorage.getItem(t)):void 0;if(r&&u)return u;var a=lt(t);return r?a:{localStorage:i,sessionStorage:u,cookie:o,global:a}}}function Re(t){return t?Me(t)?t:t.storage:Te}function We(t){return Le&&Fe(t,Oe)}function He(t){return $e&&Fe(t,pe)}function qe(t){return ze&&Fe(t,Ie)}function Ve(t){return t===Ne||"all"===t}function Fe(t,n){return t===Te||t===n||Ve(t)}function Ge(t,n,e){return{location:t,current:n,previous:e}}var Je={setItem:function(t,n,e){if(t&&!Ce(n)){var r={},i=Re(e),o=JSON.stringify(n),u=!Ve(i);return We(i)&&(r[Oe]=Ge(Oe,n,De(localStorage.getItem(t))),localStorage.setItem(t,o),u)?r[Oe]:He(i)&&(r[pe]=Ge(pe,n,De(me(t))),be(t,o),u)?r[pe]:qe(i)&&(r[Ie]=Ge(Ie,n,De(sessionStorage.getItem(t))),sessionStorage.setItem(t,o),u)?r[Ie]:(r[ct]=Ge(ct,n,lt(t)),dt(t,n),u?r[ct]:r)}},getItem:Ue,removeItem:function(t,n){if(t){var e=Re(n),r=Ue(t,Ne),i={};return!Ce(r.localStorage)&&We(e)&&(localStorage.removeItem(t),i[Oe]=r.localStorage),!Ce(r.cookie)&&He(e)&&(ye(t),i[pe]=r.cookie),!Ce(r.sessionStorage)&&qe(e)&&(sessionStorage.removeItem(t),i[Ie]=r.sessionStorage),!Ce(r.global)&&Fe(e,ct)&&(ht(t),i[ct]=r.global),i}}};const Xe=Je;function Ke(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function Be(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function Ye(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?Be(Object(e),!0).forEach((function(n){Ke(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Be(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}var Ze={exports:{}};!function(t){var n=c.exports;function e(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}t.exports=function(t){for(var r=1;r<arguments.length;r++){var i=null!=arguments[r]?arguments[r]:{};r%2?e(Object(i),!0).forEach((function(e){n(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):e(Object(i)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))}))}return t},t.exports.__esModule=!0,t.exports.default=t.exports}(Ze);const Qe=u(Ze.exports);var tr={exports:{}};!function(t){var n=l.exports.default;function e(){t.exports=e=function(){return i},t.exports.__esModule=!0,t.exports.default=t.exports;var r,i={},o=Object.prototype,u=o.hasOwnProperty,a=Object.defineProperty||function(t,n,e){t[n]=e.value},c="function"==typeof Symbol?Symbol:{},s=c.iterator||"@@iterator",f=c.asyncIterator||"@@asyncIterator",l=c.toStringTag||"@@toStringTag";function d(t,n,e){return Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[n]}try{d({},"")}catch(r){d=function(t,n,e){return t[n]=e}}function h(t,n,e,r){var i=Object.create((n&&n.prototype instanceof g?n:g).prototype),o=new M(r||[]);return a(i,"_invoke",{value:T(t,e,o)}),i}function v(t,n,e){try{return{type:"normal",arg:t.call(n,e)}}catch(t){return{type:"throw",arg:t}}}i.wrap=h;var p="suspendedStart",w="suspendedYield",m="executing",b="completed",y={};function g(){}function j(){}function O(){}var S={};d(S,s,(function(){return this}));var k=Object.getPrototypeOf,E=k&&k(k(C([])));E&&E!==o&&u.call(E,s)&&(S=E);var A=O.prototype=g.prototype=Object.create(S);function I(t){["next","throw","return"].forEach((function(n){d(t,n,(function(t){return this._invoke(n,t)}))}))}function x(t,e){function r(i,o,a,c){var s=v(t[i],t,o);if("throw"!==s.type){var f=s.arg,l=f.value;return l&&"object"==n(l)&&u.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(l).then((function(t){f.value=t,a(f)}),(function(t){return r("throw",t,a,c)}))}c(s.arg)}var i;a(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,i){r(t,n,e,i)}))}return i=i?i.then(o,o):o()}})}function T(t,n,e){var i=p;return function(o,u){if(i===m)throw Error("Generator is already running");if(i===b){if("throw"===o)throw u;return{value:r,done:!0}}for(e.method=o,e.arg=u;;){var a=e.delegate;if(a){var c=N(a,e);if(c){if(c===y)continue;return c}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(i===p)throw i=b,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);i=m;var s=v(t,n,e);if("normal"===s.type){if(i=e.done?b:w,s.arg===y)continue;return{value:s.arg,done:e.done}}"throw"===s.type&&(i=b,e.method="throw",e.arg=s.arg)}}}function N(t,n){var e=n.method,i=t.iterator[e];if(i===r)return n.delegate=null,"throw"===e&&t.iterator.return&&(n.method="return",n.arg=r,N(t,n),"throw"===n.method)||"return"!==e&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+e+"' method")),y;var o=v(i,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,y;var u=o.arg;return u?u.done?(n[t.resultName]=u.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=r),n.delegate=null,y):u:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function _(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function P(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function M(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function C(t){if(t||""===t){var e=t[s];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function n(){for(;++i<t.length;)if(u.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=r,n.done=!0,n};return o.next=o}}throw new TypeError(n(t)+" is not iterable")}return j.prototype=O,a(A,"constructor",{value:O,configurable:!0}),a(O,"constructor",{value:j,configurable:!0}),j.displayName=d(O,l,"GeneratorFunction"),i.isGeneratorFunction=function(t){var n="function"==typeof t&&t.constructor;return!!n&&(n===j||"GeneratorFunction"===(n.displayName||n.name))},i.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,O):(t.__proto__=O,d(t,l,"GeneratorFunction")),t.prototype=Object.create(A),t},i.awrap=function(t){return{__await:t}},I(x.prototype),d(x.prototype,f,(function(){return this})),i.AsyncIterator=x,i.async=function(t,n,e,r,o){void 0===o&&(o=Promise);var u=new x(h(t,n,e,r),o);return i.isGeneratorFunction(n)?u:u.next().then((function(t){return t.done?t.value:u.next()}))},I(A),d(A,l,"Generator"),d(A,s,(function(){return this})),d(A,"toString",(function(){return"[object Generator]"})),i.keys=function(t){var n=Object(t),e=[];for(var r in n)e.push(r);return e.reverse(),function t(){for(;e.length;){var r=e.pop();if(r in n)return t.value=r,t.done=!1,t}return t.done=!0,t}},i.values=C,M.prototype={constructor:M,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(P),!t)for(var n in this)"t"===n.charAt(0)&&u.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=r)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function e(e,i){return a.type="throw",a.arg=t,n.next=e,i&&(n.method="next",n.arg=r),!!i}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return e("end");if(o.tryLoc<=this.prev){var c=u.call(o,"catchLoc"),s=u.call(o,"finallyLoc");if(c&&s){if(this.prev<o.catchLoc)return e(o.catchLoc,!0);if(this.prev<o.finallyLoc)return e(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return e(o.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return e(o.finallyLoc)}}}},abrupt:function(t,n){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc<=this.prev&&u.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=n&&n<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=t,o.arg=n,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(o)},complete:function(t,n){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&n&&(this.next=n),y},finish:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),P(e),y}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.tryLoc===t){var r=e.completion;if("throw"===r.type){var i=r.arg;P(e)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,n,e){return this.delegate={iterator:C(t),resultName:n,nextLoc:e},"next"===this.method&&(this.arg=r),y}},i}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}(tr);var nr=tr.exports(),er=nr;try{regeneratorRuntime=nr}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=nr:Function("r","regeneratorRuntime = r")(nr)}var rr=function(){};wt.bind(null,"sessionStorage");var ir=vt("sessionStorage","getItem",lt),or=vt("sessionStorage","setItem",dt);vt("sessionStorage","removeItem",ht);var ur="__session",ar=["id","createdAt","created"];function cr(t){var n=t?new Date(t):new Date;return[n.toISOString(),n.getTime()]}function sr(){var t=cr(),n=t[0],e=t[1];return{id:J(),created:e,createdAt:n}}var fr={session:[ir,or],page:[lt,dt]};function lr(t,n){for(var e=fr[t],r=e[0],i=e[1],o=sr(),u=!1,a={},c=0;c<ar.length;c++){var s=ar[c],f="__"+t+"__session__"+s,l=r(f);u=n||!l,(n||!n&&!l)&&i(f,o[s]);var d=l&&!n?l:o[s],h="created"!==s?d:Number(d);a[s]=h}return dr(a,u)}function dr(t,n){var e=Date.now();return t.elapsed=e-t.created,t.expires&&(t.remaining=Math.max(t.expires-e,0),t.isExpired=0===t.remaining),t.isNew=n,t}function hr(t,n){void 0===t&&(t=30);var e=me(ur),r=e?JSON.parse(e):vr(t);return n?r:dr(r,!e)}function vr(t,n,e){void 0===t&&(t=30);var r=e?hr(t,!0):sr(),i=60*t,o=r.created;if(e){var u=cr(),a=u[0],c=u[1];r.modified=c,r.modifiedAt=a,o=c}var s=cr(o+1e3*i),f=s[0];return r.expires=s[1],r.expiresAt=f,r.duration=1e3*i,n&&(r=Object.assign(r,n)),be(ur,JSON.stringify(r),i),dr(r,!e)}var pr=lr.bind(null,"session"),wr=lr.bind(null,"session",!0),mr=lr.bind(null,"page"),br=lr.bind(null,"page",!0),yr="undefined"!=typeof window;function gr(t){return"boolean"==typeof t}var jr=function(t){return function(t){return!!t&&"object"==typeof t}(t)&&!function(t){var n=Object.prototype.toString.call(t);return"[object RegExp]"===n||"[object Date]"===n||function(t){return t.$$typeof===Or}(t)}(t)},Or="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Sr(t,n){return!1!==n.clone&&n.isMergeableObject(t)?Ir(Array.isArray(t)?[]:{},t,n):t}function kr(t,n,e){return t.concat(n).map((function(t){return Sr(t,e)}))}function Er(t){return Object.keys(t).concat(function(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter((function(n){return Object.propertyIsEnumerable.call(t,n)})):[]}(t))}function Ar(t,n){try{return n in t}catch(t){return!1}}function Ir(t,n,e){(e=e||{}).arrayMerge=e.arrayMerge||kr,e.isMergeableObject=e.isMergeableObject||jr,e.cloneUnlessOtherwiseSpecified=Sr;var r=Array.isArray(n);return r===Array.isArray(t)?r?e.arrayMerge(t,n,e):function(t,n,e){var r={};return e.isMergeableObject(t)&&Er(t).forEach((function(n){r[n]=Sr(t[n],e)})),Er(n).forEach((function(i){(function(t,n){return Ar(t,n)&&!(Object.hasOwnProperty.call(t,n)&&Object.propertyIsEnumerable.call(t,n))})(t,i)||(r[i]=Ar(t,i)&&e.isMergeableObject(n[i])?function(t,n){if(!n.customMerge)return Ir;var e=n.customMerge(t);return"function"==typeof e?e:Ir}(i,e)(t[i],n[i],e):Sr(n[i],e))})),r}(t,n,e):Sr(n,e)}Ir.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce((function(t,e){return Ir(t,e,n)}),{})};var xr=Ir,Tr={exports:{}};!function(t){
|
7
|
-
/**
|
8
|
-
* @license MIT <https://opensource.org/licenses/MIT>
|
9
|
-
* @copyright Michael Hart 2024
|
10
|
-
*/
|
11
|
-
const n=new TextEncoder,e={appstream2:"appstream",cloudhsmv2:"cloudhsm",email:"ses",marketplace:"aws-marketplace",mobile:"AWSMobileHubService",pinpoint:"mobiletargeting",queue:"sqs","git-codecommit":"codecommit","mturk-requester-sandbox":"mturk-requester","personalize-runtime":"personalize"},r=new Set(["authorization","content-type","content-length","user-agent","presigned-expires","expect","x-amzn-trace-id","range","connection"]);class i{constructor({method:t,url:n,headers:i,body:o,accessKeyId:u,secretAccessKey:a,sessionToken:c,service:f,region:l,cache:d,datetime:h,signQuery:v,appendSessionToken:p,allHeaders:w,singleEncode:m}){if(null==n)throw new TypeError("url is a required option");if(null==u)throw new TypeError("accessKeyId is a required option");if(null==a)throw new TypeError("secretAccessKey is a required option");let b,y;this.method=t||(o?"POST":"GET"),this.url=new URL(n),this.headers=new Headers(i||{}),this.body=o,this.accessKeyId=u,this.secretAccessKey=a,this.sessionToken=c,f&&l||([b,y]=function(t,n){const{hostname:r,pathname:i}=t;if(r.endsWith(".on.aws")){const t=r.match(/^[^.]{1,63}\.lambda-url\.([^.]{1,63})\.on\.aws$/);return null!=t?["lambda",t[1]||""]:["",""]}if(r.endsWith(".r2.cloudflarestorage.com"))return["s3","auto"];if(r.endsWith(".backblazeb2.com")){const t=r.match(/^(?:[^.]{1,63}\.)?s3\.([^.]{1,63})\.backblazeb2\.com$/);return null!=t?["s3",t[1]||""]:["",""]}const o=r.replace("dualstack.","").match(/([^.]{1,63})\.(?:([^.]{0,63})\.)?amazonaws\.com(?:\.cn)?$/);let u=o&&o[1]||"",a=o&&o[2];if("us-gov"===a)a="us-gov-west-1";else if("s3"===a||"s3-accelerate"===a)a="us-east-1",u="s3";else if("iot"===u)u=r.startsWith("iot.")?"execute-api":r.startsWith("data.jobs.iot.")?"iot-jobs-data":"/mqtt"===i?"iotdevicegateway":"iotdata";else if("autoscaling"===u){const t=(n.get("X-Amz-Target")||"").split(".")[0];"AnyScaleFrontendService"===t?u="application-autoscaling":"AnyScaleScalingPlannerFrontendService"===t&&(u="autoscaling-plans")}else null==a&&u.startsWith("s3-")?(a=u.slice(3).replace(/^fips-|^external-1/,""),u="s3"):u.endsWith("-fips")?u=u.slice(0,-5):a&&/-\d$/.test(u)&&!/-\d$/.test(a)&&([u,a]=[a,u]);return[e[u]||u,a||""]}(this.url,this.headers)),this.service=f||b||"",this.region=l||y||"us-east-1",this.cache=d||new Map,this.datetime=h||(new Date).toISOString().replace(/[:-]|\.\d{3}/g,""),this.signQuery=v,this.appendSessionToken=p||"iotdevicegateway"===this.service,this.headers.delete("Host"),"s3"!==this.service||this.signQuery||this.headers.has("X-Amz-Content-Sha256")||this.headers.set("X-Amz-Content-Sha256","UNSIGNED-PAYLOAD");const g=this.signQuery?this.url.searchParams:this.headers;if(g.set("X-Amz-Date",this.datetime),this.sessionToken&&!this.appendSessionToken&&g.set("X-Amz-Security-Token",this.sessionToken),this.signableHeaders=["host",...this.headers.keys()].filter((t=>w||!r.has(t))).sort(),this.signedHeaders=this.signableHeaders.join(";"),this.canonicalHeaders=this.signableHeaders.map((t=>t+":"+("host"===t?this.url.host:(this.headers.get(t)||"").replace(/\s+/g," ")))).join("\n"),this.credentialString=[this.datetime.slice(0,8),this.region,this.service,"aws4_request"].join("/"),this.signQuery&&("s3"!==this.service||g.has("X-Amz-Expires")||g.set("X-Amz-Expires","86400"),g.set("X-Amz-Algorithm","AWS4-HMAC-SHA256"),g.set("X-Amz-Credential",this.accessKeyId+"/"+this.credentialString),g.set("X-Amz-SignedHeaders",this.signedHeaders)),"s3"===this.service)try{this.encodedPath=decodeURIComponent(this.url.pathname.replace(/\+/g," "))}catch(t){this.encodedPath=this.url.pathname}else this.encodedPath=this.url.pathname.replace(/\/+/g,"/");m||(this.encodedPath=encodeURIComponent(this.encodedPath).replace(/%2F/g,"/")),this.encodedPath=s(this.encodedPath);const j=new Set;this.encodedSearch=[...this.url.searchParams].filter((([t])=>{if(!t)return!1;if("s3"===this.service){if(j.has(t))return!1;j.add(t)}return!0})).map((t=>t.map((t=>s(encodeURIComponent(t)))))).sort((([t,n],[e,r])=>t<e?-1:t>e?1:n<r?-1:n>r?1:0)).map((t=>t.join("="))).join("&")}async sign(){return this.signQuery?(this.url.searchParams.set("X-Amz-Signature",await this.signature()),this.sessionToken&&this.appendSessionToken&&this.url.searchParams.set("X-Amz-Security-Token",this.sessionToken)):this.headers.set("Authorization",await this.authHeader()),{method:this.method,url:this.url,headers:this.headers,body:this.body}}async authHeader(){return["AWS4-HMAC-SHA256 Credential="+this.accessKeyId+"/"+this.credentialString,"SignedHeaders="+this.signedHeaders,"Signature="+await this.signature()].join(", ")}async signature(){const t=this.datetime.slice(0,8),n=[this.secretAccessKey,t,this.region,this.service].join();let e=this.cache.get(n);if(!e){const r=await o("AWS4"+this.secretAccessKey,t),i=await o(r,this.region),u=await o(i,this.service);e=await o(u,"aws4_request"),this.cache.set(n,e)}return c(await o(e,await this.stringToSign()))}async stringToSign(){return["AWS4-HMAC-SHA256",this.datetime,this.credentialString,c(await u(await this.canonicalString()))].join("\n")}async canonicalString(){return[this.method.toUpperCase(),this.encodedPath,this.encodedSearch,this.canonicalHeaders+"\n",this.signedHeaders,await this.hexBodyHash()].join("\n")}async hexBodyHash(){let t=this.headers.get("X-Amz-Content-Sha256")||("s3"===this.service&&this.signQuery?"UNSIGNED-PAYLOAD":null);if(null==t){if(this.body&&"string"!=typeof this.body&&!("byteLength"in this.body))throw new Error("body must be a string, ArrayBuffer or ArrayBufferView, unless you include the X-Amz-Content-Sha256 header");t=c(await u(this.body||""))}return t}}async function o(t,e){const r=await crypto.subtle.importKey("raw","string"==typeof t?n.encode(t):t,{name:"HMAC",hash:{name:"SHA-256"}},!1,["sign"]);return crypto.subtle.sign("HMAC",r,n.encode(e))}async function u(t){return crypto.subtle.digest("SHA-256","string"==typeof t?n.encode(t):t)}const a=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function c(t){const n=new Uint8Array(t);let e="";for(let t=0;t<n.length;t++){const r=n[t];e+=a[r>>>4&15],e+=a[15&r]}return e}function s(t){return t.replace(/[!'()*]/g,(t=>"%"+t.charCodeAt(0).toString(16).toUpperCase()))}t.AwsClient=class{constructor({accessKeyId:t,secretAccessKey:n,sessionToken:e,service:r,region:i,cache:o,retries:u,initRetryMs:a}){if(null==t)throw new TypeError("accessKeyId is a required option");if(null==n)throw new TypeError("secretAccessKey is a required option");this.accessKeyId=t,this.secretAccessKey=n,this.sessionToken=e,this.service=r,this.region=i,this.cache=o||new Map,this.retries=null!=u?u:10,this.initRetryMs=a||50}async sign(t,n){if(t instanceof Request){const{method:e,url:r,headers:i,body:o}=t;null==(n=Object.assign({method:e,url:r,headers:i},n)).body&&i.has("Content-Type")&&(n.body=null!=o&&i.has("X-Amz-Content-Sha256")?o:await t.clone().arrayBuffer()),t=r}const e=new i(Object.assign({url:t.toString()},n,this,n&&n.aws)),r=Object.assign({},n,await e.sign());delete r.aws;try{return new Request(r.url.toString(),r)}catch(t){if(t instanceof TypeError)return new Request(r.url.toString(),Object.assign({duplex:"half"},r));throw t}}async fetch(t,n){for(let e=0;e<=this.retries;e++){const r=fetch(await this.sign(t,n));if(e===this.retries)return r;const i=await r;if(i.status<500&&429!==i.status)return i;await new Promise((t=>setTimeout(t,Math.random()*this.initRetryMs*Math.pow(2,e))))}throw new Error("An unknown error occurred, ensure retries is not negative")}},t.AwsV4Signer=i,Object.defineProperty(t,"__esModule",{value:!0})}(Tr.exports);var Nr=function(){};"undefined"==typeof process||process;var _r="undefined"!=typeof document;function Pr(t,n){return n.charAt(0)[t]()+n.slice(1)}"undefined"!=typeof Deno&&Deno,_r&&"nodejs"===window.name||"undefined"!=typeof navigator&&void 0!==navigator.userAgent&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));var Mr=Pr.bind(null,"toUpperCase"),Cr=Pr.bind(null,"toLowerCase");function Dr(t,n){void 0===n&&(n=!0);var e=function(t){return Ur(t)?Mr("null"):"object"==typeof t?function(t){return zr(t.constructor)?t.constructor.name:null}(t):Object.prototype.toString.call(t).slice(8,-1)}(t);return n?Cr(e):e}function Lr(t,n){return typeof n===t}var zr=Lr.bind(null,"function"),$r=Lr.bind(null,"string");function Ur(t){return null===t}function Rr(t,n){if("object"!=typeof n||Ur(n))return!1;if(n instanceof t)return!0;var e=Dr(new t(""));if(function(t){return t instanceof Error||$r(t.message)&&t.constructor&&function(t){return"number"===Dr(t)&&!isNaN(t)}(t.constructor.stackTraceLimit)}(n))for(;n;){if(Dr(n)===e)return!0;n=Object.getPrototypeOf(n)}return!1}function Wr(t,n){var e=t instanceof Element||t instanceof HTMLDocument;return e&&n?function(t,n){return void 0===n&&(n=""),t&&t.nodeName===n.toUpperCase()}(t,n):e}function Hr(t){var n=[].slice.call(arguments,1);return function(){return t.apply(void 0,[].slice.call(arguments).concat(n))}}Lr.bind(null,"undefined"),Lr.bind(null,"boolean"),Lr.bind(null,"symbol"),Rr.bind(null,TypeError),Rr.bind(null,SyntaxError),Hr(Wr,"form"),Hr(Wr,"button"),Hr(Wr,"input"),Hr(Wr,"select");var qr="EventListener";function Vr(t,n){if($r(t))return n?Vr(document.querySelectorAll(t)):(e=t).split(e.indexOf(",")>-1?",":" ").map((function(t){return t.trim()}));var e;if(NodeList.prototype.isPrototypeOf(t)){for(var r=[],i=t.length>>>0;i--;)r[i]=t[i];return r}var o=function(t){return t?function(t){return"array"===Dr(t)}(t)?t:[t]:[]}(t);return n?o.map((function(t){return $r(t)?Vr(t,!0):t})).flat():o}function Fr(t,n){var e;return function(){return t&&(e=t.apply(n||this,arguments),t=null),e}}var Gr=function(t,n,e,r){var i=e||Nr,o=r||!1;if(!_r)return i;var u=Vr(n),a=Vr(t,!0);if(!a.length)throw new Error("noElements");if(!u.length)throw new Error("noEvent");var c=[];return function t(n){n&&(c=[]);for(var e=n?"add"+qr:"remove"+qr,r=0;r<a.length;r++){var s=a[r];c[r]=n?o&&o.once?Fr(i):i:c[r]||i;for(var f=0;f<u.length;f++)s[e]?s["on"+u[f]]=n?c[r]:null:s[e](u[f],c[r],o)}return t.bind(null,!n)}("Event")};function Jr(t,n){return _r&&zr(window[t])?(e=window[t],r=n,void 0===(i=window)&&(i=null),zr(e)?function(){e.apply(i,arguments),r.apply(i,arguments)}:r):window[t]=n;var e,r,i}Jr.bind(null,"onerror"),Jr.bind(null,"onload");var Xr="undefined"==typeof window,Kr="hidden";var Br=["mousemove","mousedown","touchmove","touchstart","touchend","keydown"];function Yr(t,n){void 0===n&&(n={});var e=function(t,n){var e=this,r=!1;return function(i){r||(t.call(e,i),r=!0,setTimeout((function(){return r=!1}),n))}}(t,n.throttle||1e4),r=[];function i(){var t=function(t){if(Xr)return!1;var n=Xr||Kr in document?Kr:["webkit","moz","ms","o"].reduce((function(t,n){var e=n+"Hidden";return!t&&e in document?e:t}),null),e="".concat(n.replace(/[H|h]idden/,""),"visibilitychange"),r=function(){return t(Boolean(document[n]))},i=function(){return document.addEventListener(e,r)};return i(),function(){return document.removeEventListener(e,r),i}}((function(t){t||e({type:"tabVisible"})}));return r=[t].concat(Br.map((function(t){return Gr(document,t,e)}))).concat(Gr(window,"load",e)).concat(Gr(window,"scroll",e,{capture:!0,passive:!0})),o}function o(){r.map((function(t){return t()}))}return i(),function(){return o(),i}}function Zr(t,n){return n?0:Math.round((new Date-t)/1e3)}var Qr="object",ti="string",ni="name",ei="version",ri="",ii="function",oi="undefined",ui={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},ai=[[/microsoft (windows) (vista|xp)/i],[ni,ei],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[ni,[ei,si,ui]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[ni,"Windows"],[ei,si,ui]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[ei,/_/g,"."],[ni,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[ni,"MacOS"],[ei,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[ei,ni],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[ni,ei],[/\(bb(10);/i],[ei,[ni,"BlackBerry"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[ei,[ni,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[ei,[ni,"webOS"]],[/crkey\/([\d\.]+)/i],[ei,[ni,"Chromecast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[ni,"Chromium OS"],ei],[/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/(unix) ?([\w\.]*)/i],[ni,ei]];function ci(t,n){for(var e,r,i,o,u,a,c=0;c<n.length&&!u;){var s=n[c],f=n[c+1];for(e=r=0;e<s.length&&!u;)if(u=s[e++].exec(t))for(i=0;i<f.length;i++)a=u[++r],d(o=f[i])===Qr&&o.length>0?2==o.length?this[o[0]]=d(o[1])==ii?o[1].call(this,a):o[1]:3==o.length?this[o[0]]=d(o[1])!==ii||o[1].exec&&o[1].test?a?a.replace(o[1],o[2]):void 0:a?o[1].call(this,a,o[2]):void 0:4==o.length&&(this[o[0]]=a?o[3].call(this,a.replace(o[1],o[2])):void 0):this[o]=a||void 0;c+=2}}function si(t,n){for(var e in n)if(d(n[e])===Qr&&n[e].length>0){for(var r=0;r<n[e].length;r++)if(fi(n[e][r],t))return"?"===e?void 0:e}else if(fi(n[e],t))return"?"===e?void 0:e;return t}function fi(t,n){return d(t)===ti&&-1!==li(n).indexOf(li(t))}function li(t){return t.toLowerCase()}function di(t){var n=t||(("undefined"==typeof window?"undefined":d(window))!==oi&&window.navigator&&window.navigator.userAgent?window.navigator.userAgent:ri),e={};return e[ni]=void 0,e[ei]=void 0,ci.call(e,n,ai),e}var hi="Brave";function vi(){if("undefined"==typeof window)return{};if(!window.navigator)return{};var t,n,e,r,i,o=window.navigator,u=o.platform,a=o.product,c=o.vendor,s=function(t){var n=t.userAgent,e=/.+(Opera[\s[A-Z]*|OPR[\sA-Z]*)\/([0-9\.]+).*/i.exec(n);if(e)return{type:e[1],version:e[2]};var r=/.+(Trident|Edge)\/([0-9\.]+).*/i.exec(n);if(r)return{type:r[1],version:r[2]};var i=/(headlesschrome)(?:\/([\w\.]+)| )/i.exec(n);if(i)return{type:i[1],version:i[2]};var o=/.+(Chrome|Firefox|FxiOS)\/([0-9\.]+).*/i.exec(n);if(o)return{type:t.brave&&t.brave.isBrave?hi:o[1],version:o[2]};var u=/.+(Safari)\/([0-9\.]+).*/i.exec(n);if(u)return{type:u[1],version:u[2]};var a=/.+(AppleWebKit)\/([0-9\.]+).*/i.exec(n);if(a)return{type:a[1],version:a[2]};var c=/.*([A-Z]+)\/([0-9\.]+).*/i.exec(n)||["","NA","0.0.0"];return{type:c[1],version:c[2]}}(window.navigator),f=s.type,l=s.version,d=f===hi?f:(c||"").split(" ")[0];return{platform:u,os:di(),make:d||a,model:f,version:l,name:[f,l].join("/"),language:(n=window.navigator,e=n.language,r=n.browserLanguage,i=n.languages,(e||r||(i||["en_US"])[0]).toLowerCase().replace("-","_")),timezone:(t=/\(([A-Za-z\s].*)\)/.exec((new Date).toString()),t&&t[1]||"")}}function pi(t){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})[t]||t}function wi(t){return mi.apply(this,arguments)}function mi(){return mi=s(er.mark((function t(n){var e,r,i,o,u,a,c=arguments;return er.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=c.length>1&&void 0!==c[1]&&c[1],r={},t.t0=er.keys(n);case 3:if((t.t1=t.t0()).done){t.next=13;break}return i=t.t1.value,o=Array.isArray(n[i])?n[i]:[n[i]],u=e?o:o[0],t.next=9,gi(u,Oi);case 9:Ei(a=t.sent)||(r[i]=a),t.next=3;break;case 13:return t.abrupt("return",r);case 14:case"end":return t.stop()}}),t)}))),mi.apply(this,arguments)}function bi(t){return yi.apply(this,arguments)}function yi(){return(yi=s(er.mark((function t(n){var e,r;return er.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e={},t.t0=er.keys(n);case 2:if((t.t1=t.t0()).done){t.next=9;break}return r=t.t1.value,t.next=6,gi(n[r],Si);case 6:e[r]=t.sent,t.next=2;break;case 9:return t.abrupt("return",e);case 10:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function gi(t,n){return ji.apply(this,arguments)}function ji(){return(ji=s(er.mark((function t(n,e){return er.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("function"!=typeof n){t.next=4;break}return t.next=3,n();case 3:n=t.sent;case 4:return t.abrupt("return",e(n));case 5:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function Oi(t){if(null!=t)return Array.isArray(t)?t.filter(ki).map((function(t){return t.toString()})):Ei(t)?t:t.toString()}function Si(t){return parseFloat(Number(Array.isArray(t)?t[0]:t))}function ki(t){return null!=t}function Ei(t){return null==t}var Ai="_session.start",Ii="_session.stop",xi="pageView";function Ti(t){return Ni.apply(this,arguments)}function Ni(){return Ni=s(er.mark((function t(n){var e,r,i,o,u,a,c,s,l,d,h,v,p,w,m,b,y,g,j,O,S,k,E,A,I,x,T,N,_,P=arguments;return er.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=P.length>1&&void 0!==P[1]?P[1]:{},i=(r=P.length>2&&void 0!==P[2]?P[2]:{}).appTitle,o=r.appPackageName,u=r.appVersionCode,a=r.enrichEventAttributes,c=r.enrichEventMetrics,s=r.debug?console.log:function(){},l=pi(n,r.eventMapping),d=hr(),h=e.sessionId||d.id,v=e.sessionStart||d.createdAt,p=e.sessionStart?new Date(e.sessionStart).getTime():d.created,s("event sessionData ",JSON.stringify(d)),yr&&(w=mr(),m=pr(),s("event pageSessionInfo",JSON.stringify(w)),s("event tabSessionData ",JSON.stringify(m))),b=e.attributes||{},y=e.eventId||J(),g=e.time?new Date(e.time):new Date,j=g.toISOString(),O=g.getTime()-p,S=Qe({date:j,sessionId:h},yr?{pageSession:w.id}:{}),!a){t.next=23;break}return t.next=20,a();case 20:t.t0=t.sent,t.next=24;break;case 23:t.t0={};case 24:if(k=t.t0,E=Qe(Qe(Qe({},S),k),b),A=e.metrics||{},I={sessionTime:d.elapsed||O,hour:g.getHours(),day:g.getDay()+1,month:g.getMonth()+1,year:g.getFullYear()},!c){t.next=34;break}return t.next=31,c();case 31:t.t1=t.sent,t.next=35;break;case 34:t.t1={};case 35:return x=t.t1,T=Qe(Qe(Qe({},I),x),A),t.next=39,wi(E);case 39:return t.t2=t.sent,t.next=42,bi(T);case 42:return t.t3=t.sent,N={attributes:t.t2,metrics:t.t3},s("".concat(y,":").concat(l)),s("eventAttributes",N.attributes),s("eventMetrics",N.metrics),yr&&s("clientInfo",vi()),_=f({},y,Qe(Qe({EventType:l,Timestamp:j,AppPackageName:o,AppTitle:i},u?{AppVersionCode:u}:{}),{},{Attributes:N.attributes,Metrics:N.metrics,Session:{Id:h,StartTimestamp:v}})),n===Ii&&(_[y].Session.Duration=O,_[y].Session.StopTimestamp=j),t.abrupt("return",_);case 51:case"end":return t.stop()}}),t)}))),Ni.apply(this,arguments)}var _i="__endpoint";function Pi(t){return"".concat(_i,".").concat(t)}var Mi,Ci="__endpoint",Di=!1;function Li(){return zi.apply(this,arguments)}function zi(){return zi=s(er.mark((function t(){var n,e,r,i,o,u,a,c,s,f,l,d,h,v,p,w,m,b,y,g,j,O=arguments;return er.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=O.length>0&&void 0!==O[0]?O[0]:{},r=(e=O.length>1&&void 0!==O[1]?O[1]:{}).getUserId,i=e.getEndpointId,o=e.endpointMigration,u=qi(e),a=u.sessionKey?u.sessionKey():"sessions",c=u.pageViewKey?u.pageViewKey():"pageViews",yr&&(l=vi(),s=mr(),f=s.id),d=hr(),t.next=10,i();case 10:if(h=t.sent,Di||(Di=!0,(v=ke(Ci))&&($i(h,v),Ae(Ci))),p=Ui(h),w=Wi(e),m=Ri(w,l),b={Attributes:{},Demographic:m,Location:{},Metrics:{}},yr&&(l.device&&l.device.vendor&&(b.Attributes.DeviceMake=[l.device.vendor]),l.device&&l.device.model&&(b.Attributes.DeviceModel=[l.device.model]),l.device&&l.device.type&&(b.Attributes.DeviceType=[l.device.type])),!(n=xr.all([p,b,n],{arrayMerge:Hi})).User||!n.User.UserId){t.next=23;break}return t.next=21,r();case 21:n.User.UserId!==(y=t.sent)&&(n.User.UserId=y);case 23:if(n.User&&n.User.UserId){t.next=28;break}return t.next=26,r();case 26:(g=t.sent)&&(n.User=n.User||{},n.User.UserId=g);case 28:if(!n.User||!n.User.UserAttributes){t.next=32;break}return t.next=31,wi(n.User.UserAttributes,!0);case 31:n.User.UserAttributes=t.sent;case 32:return t.next=34,wi(n.Attributes,!0);case 34:return n.Attributes=t.sent,t.next=37,bi(n.Metrics);case 37:if(n.Metrics=t.sent,n.Metrics[a]||(n.Metrics[a]=1),n.Metrics[c]||(n.Metrics[c]=1),o&&(n=o(h,n)),j=n.Attributes.lastSession){t.next=47;break}return n.Attributes.lastSessionDate=[d.createdAt],n.Attributes.lastSession=[d.id],f&&(n.Attributes.lastPageSession=[f]),t.abrupt("return",$i(h,n));case 47:return j&&j[0]!==d.id&&(n.Attributes.lastSessionDate=[d.createdAt],n.Attributes.lastSession=[d.id],n.Metrics[a]+=1),n.Attributes&&n.Attributes.lastPageSession&&Array.isArray(n.Attributes.lastPageSession)&&n.Attributes.lastPageSession.length>0&&n.Attributes.lastPageSession[0]!==f&&(n.Attributes.lastPageSession=[f],n.Metrics[c]+=1),t.abrupt("return",$i(h,n));case 50:case"end":return t.stop()}}),t)}))),zi.apply(this,arguments)}function $i(t,n){var e=Pi(t),r="string"==typeof n?n:JSON.stringify(n);return Ee(e,r),n}function Ui(t){try{return JSON.parse(ke(Pi(t)))||{}}catch(t){}return{}}function Ri(t,n){return yr?function(t,n){var e={AppVersion:t,Locale:n.language,Make:n.make,Model:n.model,ModelVersion:n.version,Platform:n.os.name||n.platform};return n.os&&n.os.version&&(e.PlatformVersion=n.os.version),e}(t,n):function(t){return{AppVersion:t,Make:"generic server",Platform:"Node.js",PlatformVersion:process.version}}(t)}function Wi(t){var n=t.appTitle||t.appPackageName||"",e=t.appVersionCode||"0.0.0";return n?"".concat(n,"@").concat(e):e}function Hi(t,n){return n}function qi(t){var n=t.getContext;return"function"==typeof n?n():n}var Vi=[429,500],Fi=[202],Gi=400;function Ji(t,n){return Xi.apply(this,arguments)}function Xi(){return Xi=s(er.mark((function t(n,e){var r,i,o,u,a,c,s,f,l,d,h,v,p,w,m,b,y;return er.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.pinpointRegion,i=e.pinpointAppId,o=e.lambdaArn,u=e.lambdaRegion,a=e.credentials,c=e.getCredentials,s=e.debug,t.next=3,Ki(a,c);case 3:return f=t.sent,s&&console.log("pinpoint auth",f),l=r||u,d=!0===e.fips?"-fips":"",h="https://lambda.".concat(u||r,".amazonaws.com/2015-03-31/functions/").concat(o,"/invocations"),v="https://pinpoint".concat(d,".").concat(l,".amazonaws.com/v1/apps/").concat(i,"/events"),p=o?h:v,b={body:JSON.stringify(n)},w=new Tr.exports.AwsClient(f),t.next=16,w.fetch(p,b).then((function(t){return t.json()}));case 16:m=t.sent,t.next=24;break;case 19:return w=new Mi.PinpointClient({credentials:f,region:r}),y=new Mi.PutEventsCommand({ApplicationId:i,EventsRequest:n}),t.next=23,w.send(y);case 23:m=t.sent;case 24:return m&&m.Results&&Object.keys(m.Results).map((function(t){return m.Results[t]})).forEach((function(t){var n=t.EndpointItemResponse||{},e=t.EventsItemResponse||{};Object.keys(n).length&&(Fi.includes(n.StatusCode)||Vi.includes(n.StatusCode)||Yi(n,Endpoint));var r=Object.keys(e);r.length&&r.forEach((function(){}))})),t.abrupt("return",m);case 26:case"end":return t.stop()}}),t)}))),Xi.apply(this,arguments)}function Ki(t,n){return Bi.apply(this,arguments)}function Bi(){return(Bi=s(er.mark((function t(n,e){var r;return er.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=n,Object.keys(r).length||!e){t.next=11;break}return t.prev=2,t.next=5,e();case 5:r=t.sent,t.next=11;break;case 8:throw t.prev=8,t.t0=t.catch(2),new Error(t.t0);case 11:return t.abrupt("return",{accessKeyId:r.accessKeyId||r.AccessKeyId,secretAccessKey:r.secretAccessKey||r.SecretKey,sessionToken:r.sessionToken||r.SessionToken,retries:5});case 13:case"end":return t.stop()}}),t,null,[[2,8]])})))).apply(this,arguments)}function Yi(t){var n=t.Message;if(t.StatusCode===Gi){if(n.startsWith("Missing ChannelType"))throw new Error("Missing ChannelType");if(n.startsWith("Exceeded maximum endpoint per user count"))throw new Error("Exceeded maximum endpoint per user count")}}var Zi=["PUSH","GCM","APNS","APNS_SANDBOX","APNS_VOIP","APNS_VOIP_SANDBOX","ADM","SMS","VOICE","EMAIL","BAIDU","CUSTOM"].reduce((function(t,n){return t[n]=n,t}),{}),Qi=vi(),to=Ai,no=Ii,eo=/.+\@.+\..+/;function ro(t){try{return JSON.parse(ke(Pi(t)))||{}}catch(t){}return{}}function io(t){return t.sort((function(t,n){var e=t.EventType,r=n.EventType;return e==to?-1:r==to||e==no?1:r==no?-1:void 0})).reduce((function(t,n){return Qe(Qe({},n),t)}),{})}function oo(t,n,e){return{BatchItem:f({},t,{Endpoint:n,Events:e})}}var uo=Ii;function ao(){return{}}function co(){throw new Error("Pinpoint not loaded")}function so(t){var n=t.config,e=t.instance;n&&n.disableAnonymousTraffic&&!e.user("userId")&&e.once("identifyStart",(function(t){t.plugins["aws-pinpoint"].loaded()||e.loadPlugin("aws-pinpoint")}))}var fo={disableAnonymousTraffic:!1,pinpointRegion:"us-east-1",eventMapping:{}},lo=function(){var t,n,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=!1;return{name:"aws-pinpoint",config:Qe(Qe({},fo),e),bootstrap:so,initialize:function(r){var i=r.config,o=r.instance,u=i.disableAnonymousTraffic,a=i.debug?console.log:function(){},c=o.getState(),f=c.user||{},l=f.userId,h=f.anonymousId,v=c.context||{},p=v.app,w=v.version,m=v.campaign,b=mr(),y=pr(),g=hr();if(a("initPageSession",b),a("initTabSession",y),a("initSessionData",g),g&&g.anonId&&g.anonId!==h){a("anonId different refresh session details"),br(),wr();var j=vr(30,{anonId:h,userId:l});a("newSessionForNewUser",j)}if(!l&&u)return!1;var O=Object.keys(m).reduce((function(t,n){return t["utm_".concat(n)]=m[n],t}),{}),S=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=Qe({getContext:t.getContext||ao,credentials:t.credentials||{},getEndpointId:t.getEndpointId},t),e=n.debug?console.log:function(){},r=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.getEndpointId,e=t.debug;return function(){var r=s(er.mark((function r(){var i,o,u,a,c,s,f,l,h,v=arguments;return er.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return i=v.length>0&&void 0!==v[0]?v[0]:[],o=v.length>1&&void 0!==v[1]?v[1]:{},r.next=4,n();case 4:if(u=r.sent){r.next=8;break}return console.error("No endpoint id. check getEndpointId()"),r.abrupt("return");case 8:if("object"===d(o)&&Object.keys(o).length){r.next=13;break}r.t0=ro(u),r.next=16;break;case 13:return r.next=15,Li(o,t);case 15:r.t0=r.sent;case 16:return c=(a=r.t0).ChannelType,a.Address&&eo.test(a.Address)&&(c=Zi.EMAIL),!c&&a.Address&&(c="android"===Qi.platform?c||Zi.GCM:c||Zi.APNS),e&&(console.log("Endpoint",a),console.log("CHANNEL_TYPE",c)),a.RequestId=J(),a.ChannelType=c,a.Address&&(a.OptOut=a.OptOut||"NONE"),s=io(i),f=oo(u,a,s),r.prev=26,r.next=29,Ji(f,t);case 29:l=r.sent,r.next=36;break;case 32:r.prev=32,r.t1=r.catch(26),console.log("Error calling AWS",r.t1),h=r.t1;case 36:return r.abrupt("return",{endpoint:a,response:l,error:h,events:i});case 37:case"end":return r.stop()}}),r,null,[[26,32]])})));return function(){return r.apply(this,arguments)}}()}(n),i=function(t,n){var e,r,i,o=(n=n||{}).initial||[],u=n.max||1/0,a=n.interval||1e4,c=n.onEmpty||rr,s=n.onPause||rr;function f(n){clearInterval(e);var r=o.splice(0,u);return r.length&&t(r,o),o.length?n?f():l():(i=!1,c(o))}function l(){i=!0,e=setInterval(f,a)}return o.length&&l(),{flush:function(t){f(t)},resume:f,push:function(t){return(r=o.push(t))>=u&&!n.throttle&&f(),i||l(),r},size:function(){return o.length},pause:function(t){t&&f(),clearInterval(e),i=!1,s(o)}}}(function(){var t=s(er.mark((function t(n){return er.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n.forEach((function(t){return e("> Queue event",t)})),t.next=3,r(n,{});case 3:e("> Queue response",t.sent);case 5:case"end":return t.stop()}}),t)})));return function(n,e){return t.apply(this,arguments)}}(),{max:10,interval:t.flushInterval||3e3,throttle:!0}),o=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(){var e=s(er.mark((function e(r){var i,o,u,a,c=arguments;return er.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=c.length>2&&void 0!==c[2]?c[2]:{},u=c.length>3&&void 0!==c[3]&&c[3],gr(i=c.length>1&&void 0!==c[1]?c[1]:{})&&(u=i={}),gr(o)&&(u=o={}),e.next=7,Ti(r,i,n);case 7:if(a=e.sent,!Object.entries(o).length&&r!==xi){e.next=12;break}return e.next=11,Li(o,n);case 11:o=e.sent;case 12:if(t.push(a),!u){e.next=17;break}return e.abrupt("return",t.flush());case 17:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()}(i,n);Li({},t);var u=function(t){if(!yr)return ao;var n=function(t){return function(){t(uo,!0)}}(t);return window.addEventListener("beforeunload",n),function(){return window.removeEventListener("beforeunload",n)}}(o);return{updateEndpoint:function(t){return r([],t)},recordEvent:o,disable:function(){u()}}}(Qe(Qe({},i),{},{appTitle:i.appTitle||p,appPackageName:i.appPackageName||p,appVersionCode:i.appVersionCode||w,eventMapping:i.eventMapping,getEndpointId:function(){return o.user("anonymousId")},getUserId:function(){return o.user("userId")},getContext:function(){return{sessionKey:i.sessionKey,pageViewKey:i.pageViewKey,initialSession:g}},enrichEventAttributes:function(){return Qe({anonId:o.user("anonymousId"),userId:o.user("userId"),hash:window.location.hash,path:window.location.pathname,referrer:document.referrer,search:window.location.search,title:document.title,host:window.location.hostname,url:window.location.origin+window.location.pathname},O)},enrichUserAttributes:i.enrichUserAttributes,enrichEventMetrics:function(){return{}}}));t=S.recordEvent,n=S.updateEndpoint,g&&g.isNew&&(a("Start brand new session because cookie not found"),t(Ai)),function(t){var n,e,r=t.onIdle,i=t.onWakeUp,o=t.onHeartbeat,u=t.timeout,a=void 0===u?1e4:u,c=t.throttle,s=void 0===c?2e3:c,f=!1,l=new Date;Yr((function(t){clearTimeout(n),o&&!f&&o(Zr(l),t),i&&f&&(f=!1,i(Zr(e),t),l=new Date),n=setTimeout((function(){f=!0,r&&(e=new Date,r(Zr(l),t))}),a)}),{throttle:s})}({timeout:18e5,throttle:2e4,onIdle:function(n){var r;a("Session idle. Active ".concat(n," seconds")),r=hr(),e.debug&&console.log("Stop session",r),t(Ii,!0)},onWakeUp:function(n){var r;a("Session wakeup. Idle ".concat(n," seconds")),r=vr(30),e.debug&&console.log("START SESSION",r),t(Ai)},onHeartbeat:function(t){a("ping session",new Date),a("total active time",t);var n=o.user();!function(t,n){void 0===t&&(t=30),vr(t||1,n,!0)}(30,{anonId:n.anonymousId,userId:n.userId})}})},page:function(){if(!t)return co();r&&br(),t(xi),r=!0},track:function(n){var e=n.payload,r=n.config;if(!t)return co();if(!r.disableAnonymousTraffic||e.userId){var i,o=(i=e.properties,Object.keys(i).reduce((function(t,n){var e=i[n];return"number"==typeof e&&(t.metrics[n]=e),"string"!=typeof e&&"boolean"!=typeof e||(t.attributes[n]=e),t}),{attributes:{},metrics:{}}));t(e.event,o)}},identify:function(t){var e=t.payload,r=e.userId,i=e.traits;if(!n)return co();var o={},u={};r&&(u.UserId=r),i&&Object.keys(i).length&&(u.UserAttributes=i),Object.keys(u).length&&(o.User=u),n(o,!0)},reset:function(t){var n=Pi(t.instance.user("anonymousId"));Ae(n)},loaded:function(){return!!t}}};function ho(t,n){var e=vo(t,n),r=v({httpMethod:"GET"},n);return h(e,r)}var vo=function(t,n){return("string"==typeof n?n:p(n))+"/content/items/"+t};class po{constructor(t){this.name="amazon";const{app:n={},fips:e,userPoolID:r}=t;this.analytics=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return de(Ye(Ye({},{storage:Xe}),t))}({app:n.name,version:n.version,plugins:[lo({fips:e,pinpointAppId:n.id,getCredentials:()=>function(t,n={}){const e=`https://cognito-identity${!0===n.fips?"-fips":""}.us-east-1.amazonaws.com/`;let r=m.get(k);if(r&&Date.now()/1e3<r.Expiration)return Promise.resolve(r);const i={method:"POST",headers:{"Content-type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityService.GetId"},body:JSON.stringify({IdentityPoolId:t})};return fetch(e,i).then((t=>{if(!t.ok)throw new Error(t.statusText);return t.json()})).then((t=>{const{IdentityId:n}=t,r={method:"POST",headers:{"Content-type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityService.GetCredentialsForIdentity"},body:JSON.stringify({IdentityId:n})};return fetch(e,r)})).then((t=>{if(!t.ok)throw new Error(t.statusText);return t.json()})).then((({Credentials:t})=>(m.set(k,t),t)))}(r,{fips:e})})]}),Object.assign(this,t)}init(){return Promise.resolve()}static async setAccessPermissions({id:t,authentication:n,username:e,accessChangeset:r}){return async function({id:t,authentication:n,username:e,accessChangeset:r}){const{properties:i={}}=await ho(t,{authentication:n}),o=i.telemetry,u=void 0===o?{}:o,{arcgis:{access:a={}}={}}=u,c=O(u,["arcgis"]),s=function(t,n,e){return e.reduce(((n,e)=>{const{action:r,targetProperty:i}=e;return"add"===r?n[i]={updatedAt:new Date,updatedBy:t}:"remove"===r&&delete n[i],n}),n)}(e,a,r);return w({item:{id:t,properties:Object.assign(Object.assign({},i),{telemetry:Object.assign(Object.assign({},c),{arcgis:{access:Object.assign({},s)}})})},authentication:n})}({id:t,authentication:n,username:e,accessChangeset:r})}static async getAccessPermissions({id:t,authentication:n}){return async function({id:t,authentication:n}){const{properties:{telemetry:{arcgis:{access:e={}}={}}={}}}=await ho(t,{authentication:n});return{access:e}}({id:t,authentication:n})}logPageView(t,n){const e=function({page:t,previousPage:n={},options:e={},dimensionLookup:r={},metricLookup:i={}}){const o=T(e,i),u=E({telemetryData:e,dimensionLookup:r,excludeKeys:["workflow",...Object.keys(o),...Object.keys(i)]}),{referrer:a,title:c}=document||{},{hostname:s,pathname:f}=window&&window.location?window.location:{};return Object.assign(Object.assign({name:"pageView",referrer:a,hostname:s,path:t||f,pageUrl:t||f,pageName:c,previousPageUrl:n.pageUrl,previousPageName:n.pageName},u),o)}({page:t,previousPage:this.previousPage,options:n,dimensionLookup:this.dimensions,metricLookup:this.metrics}),{pageUrl:r,pageName:i}=e;this.previousPage={pageUrl:r,pageName:i},this.analytics.track("pageView",e)}logEvent(t={}){const n=function({event:t={},dimensionLookup:n={},metricLookup:e={}}){var r,i;const{pathname:o,eventType:u="other"}=t,a=T(t,e),c=E({telemetryData:Object.assign({eventType:u},t),dimensionLookup:n,excludeKeys:["workflow","pathname",...Object.keys(a),...Object.keys(e)]}),s=Object.assign(Object.assign({name:u},c),a);return"undefined"!=typeof document&&document.referrer&&(s.referrer=document.referrer),"undefined"==typeof window||s.hostname||(s.hostname=null===(r=window.location)||void 0===r?void 0:r.hostname),s.path="undefined"!=typeof window&&window.location.pathname?null===(i=window.location)||void 0===i?void 0:i.pathname:o,s}({event:t,dimensionLookup:this.dimensions,metricLookup:this.metrics}),{name:e}=n;this.analytics.track(e,n)}}const wo=class{constructor(e){t(this,e),this.consentGranted=n(this,"consentGranted",7),this.amazonAppId=void 0,this.amazonAppName=void 0,this.amazonUserPoolID=void 0,this.amazonVersion=void 0,this.firstUseVar=void 0,this.locale=void 0,this.measurementIds=void 0,this.portal=void 0,this._open=void 0,this._translations=void 0}get el(){return e(this)}_loaded=!1;_telemetryInstance;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async getInstance(){return"true"===localStorage.getItem(this.firstUseVar)||this.portal.eueiEnabled?(await this._init(),this._telemetryInstance):void 0}consentGranted;async componentWillLoad(){await this._getTranslations(),this._open=null===localStorage.getItem(this.firstUseVar)}render(){return r(i,{key:"6b5a4571e972d6d79948cbf186119372456b5e1e"})}async componentDidLoad(){this.consentGranted.emit({granted:"true"===localStorage.getItem(this.firstUseVar)})}async _init(){if(!this._loaded){const t={plugins:[],portal:this.portal};if(this.measurementIds?.length>0){const n=new S({measurementIds:this.measurementIds});t.plugins.push(n)}if(this.amazonUserPoolID){const n=new po({userPoolID:this.amazonUserPoolID,app:{name:this.amazonAppName,id:this.amazonAppId,version:this.amazonVersion}});t.plugins.push(n)}this._telemetryInstance=new j(t),await this._telemetryInstance.init(),this._loaded=!0}}_alertClosed(){this._open=!1,"true"!==localStorage.getItem(this.firstUseVar)&&localStorage.setItem(this.firstUseVar,"false")}_accept(){localStorage.setItem(this.firstUseVar,"true"),this.consentGranted.emit({granted:!0}),this._open=!1}async _getTranslations(){const t=await o(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"]}}};wo.style=":host{display:block}.consent-panel{position:fixed;display:block;z-index:5000;bottom:0;left:0;width:100%;height:auto;text-align:center}.cookie-consent-popup-container{position:relative;display:block;bottom:0;left:0;width:100%;margin:0;padding-top:1rem;padding-bottom:1rem;transition:transform 0.5s ease-out 0s;background-color:rgba(51, 51, 51, 0.95);color:#fff}.button-container{position:static;margin-bottom:1rem;display:flex;justify-content:center;flex-wrap:wrap}.padding-end-1{padding-inline-end:1rem}.link-text{--calcite-ui-text-link:var(--calcite-color-text-inverse);--calcite-ui-brand:var(--calcite-color-text-inverse);--calcite-color-text-link:var(--calcite-color-text-inverse);--calcite-color-brand-underline:var(--calcite-color-text-inverse);--calcite-color-brand:var(--calcite-color-text-inverse)}";export{wo as consent_manager}
|