@esri/solutions-components 0.11.36 → 0.11.37
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 +3 -3
- 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 +1 -1
- 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/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/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 +3 -3
- 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 +1 -1
- 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-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-3aa20e1f.entry.js +6 -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-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-b8e4345e.entry.js +6 -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
@@ -7,96 +7,28 @@ import { c as commonjsGlobal } from './_commonjsHelpers.js';
|
|
7
7
|
|
8
8
|
var purify$2 = {exports: {}};
|
9
9
|
|
10
|
-
/*! @license DOMPurify 2.
|
10
|
+
/*! @license DOMPurify 3.2.4 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.4/LICENSE */
|
11
11
|
|
12
12
|
(function (module, exports) {
|
13
13
|
(function (global, factory) {
|
14
14
|
module.exports = factory() ;
|
15
15
|
})(commonjsGlobal, (function () {
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
}
|
32
|
-
function _isNativeReflectConstruct() {
|
33
|
-
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
34
|
-
if (Reflect.construct.sham) return false;
|
35
|
-
if (typeof Proxy === "function") return true;
|
36
|
-
try {
|
37
|
-
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
38
|
-
return true;
|
39
|
-
} catch (e) {
|
40
|
-
return false;
|
41
|
-
}
|
42
|
-
}
|
43
|
-
function _construct(Parent, args, Class) {
|
44
|
-
if (_isNativeReflectConstruct()) {
|
45
|
-
_construct = Reflect.construct;
|
46
|
-
} else {
|
47
|
-
_construct = function _construct(Parent, args, Class) {
|
48
|
-
var a = [null];
|
49
|
-
a.push.apply(a, args);
|
50
|
-
var Constructor = Function.bind.apply(Parent, a);
|
51
|
-
var instance = new Constructor();
|
52
|
-
if (Class) _setPrototypeOf(instance, Class.prototype);
|
53
|
-
return instance;
|
54
|
-
};
|
55
|
-
}
|
56
|
-
return _construct.apply(null, arguments);
|
57
|
-
}
|
58
|
-
function _toConsumableArray(arr) {
|
59
|
-
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
60
|
-
}
|
61
|
-
function _arrayWithoutHoles(arr) {
|
62
|
-
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
63
|
-
}
|
64
|
-
function _iterableToArray(iter) {
|
65
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
66
|
-
}
|
67
|
-
function _unsupportedIterableToArray(o, minLen) {
|
68
|
-
if (!o) return;
|
69
|
-
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
70
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
71
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
72
|
-
if (n === "Map" || n === "Set") return Array.from(o);
|
73
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
74
|
-
}
|
75
|
-
function _arrayLikeToArray(arr, len) {
|
76
|
-
if (len == null || len > arr.length) len = arr.length;
|
77
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
78
|
-
return arr2;
|
79
|
-
}
|
80
|
-
function _nonIterableSpread() {
|
81
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
82
|
-
}
|
83
|
-
|
84
|
-
var hasOwnProperty = Object.hasOwnProperty,
|
85
|
-
setPrototypeOf = Object.setPrototypeOf,
|
86
|
-
isFrozen = Object.isFrozen,
|
87
|
-
getPrototypeOf = Object.getPrototypeOf,
|
88
|
-
getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
89
|
-
var freeze = Object.freeze,
|
90
|
-
seal = Object.seal,
|
91
|
-
create = Object.create; // eslint-disable-line import/no-mutable-exports
|
92
|
-
var _ref = typeof Reflect !== 'undefined' && Reflect,
|
93
|
-
apply = _ref.apply,
|
94
|
-
construct = _ref.construct;
|
95
|
-
if (!apply) {
|
96
|
-
apply = function apply(fun, thisValue, args) {
|
97
|
-
return fun.apply(thisValue, args);
|
98
|
-
};
|
99
|
-
}
|
16
|
+
const {
|
17
|
+
entries,
|
18
|
+
setPrototypeOf,
|
19
|
+
isFrozen,
|
20
|
+
getPrototypeOf,
|
21
|
+
getOwnPropertyDescriptor
|
22
|
+
} = Object;
|
23
|
+
let {
|
24
|
+
freeze,
|
25
|
+
seal,
|
26
|
+
create
|
27
|
+
} = Object; // eslint-disable-line import/no-mutable-exports
|
28
|
+
let {
|
29
|
+
apply,
|
30
|
+
construct
|
31
|
+
} = typeof Reflect !== 'undefined' && Reflect;
|
100
32
|
if (!freeze) {
|
101
33
|
freeze = function freeze(x) {
|
102
34
|
return x;
|
@@ -107,22 +39,36 @@ var purify$2 = {exports: {}};
|
|
107
39
|
return x;
|
108
40
|
};
|
109
41
|
}
|
42
|
+
if (!apply) {
|
43
|
+
apply = function apply(fun, thisValue, args) {
|
44
|
+
return fun.apply(thisValue, args);
|
45
|
+
};
|
46
|
+
}
|
110
47
|
if (!construct) {
|
111
48
|
construct = function construct(Func, args) {
|
112
|
-
return
|
49
|
+
return new Func(...args);
|
113
50
|
};
|
114
51
|
}
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
52
|
+
const arrayForEach = unapply(Array.prototype.forEach);
|
53
|
+
const arrayLastIndexOf = unapply(Array.prototype.lastIndexOf);
|
54
|
+
const arrayPop = unapply(Array.prototype.pop);
|
55
|
+
const arrayPush = unapply(Array.prototype.push);
|
56
|
+
const arraySplice = unapply(Array.prototype.splice);
|
57
|
+
const stringToLowerCase = unapply(String.prototype.toLowerCase);
|
58
|
+
const stringToString = unapply(String.prototype.toString);
|
59
|
+
const stringMatch = unapply(String.prototype.match);
|
60
|
+
const stringReplace = unapply(String.prototype.replace);
|
61
|
+
const stringIndexOf = unapply(String.prototype.indexOf);
|
62
|
+
const stringTrim = unapply(String.prototype.trim);
|
63
|
+
const objectHasOwnProperty = unapply(Object.prototype.hasOwnProperty);
|
64
|
+
const regExpTest = unapply(RegExp.prototype.test);
|
65
|
+
const typeErrorCreate = unconstruct(TypeError);
|
66
|
+
/**
|
67
|
+
* Creates a new function that calls the given function with a specified thisArg and arguments.
|
68
|
+
*
|
69
|
+
* @param func - The function to be wrapped and called.
|
70
|
+
* @returns A new function that calls the given function with a specified thisArg and arguments.
|
71
|
+
*/
|
126
72
|
function unapply(func) {
|
127
73
|
return function (thisArg) {
|
128
74
|
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
@@ -131,6 +77,12 @@ var purify$2 = {exports: {}};
|
|
131
77
|
return apply(func, thisArg, args);
|
132
78
|
};
|
133
79
|
}
|
80
|
+
/**
|
81
|
+
* Creates a new function that constructs an instance of the given constructor function with the provided arguments.
|
82
|
+
*
|
83
|
+
* @param func - The constructor function to be wrapped and called.
|
84
|
+
* @returns A new function that constructs an instance of the given constructor function with the provided arguments.
|
85
|
+
*/
|
134
86
|
function unconstruct(func) {
|
135
87
|
return function () {
|
136
88
|
for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
|
@@ -139,22 +91,27 @@ var purify$2 = {exports: {}};
|
|
139
91
|
return construct(func, args);
|
140
92
|
};
|
141
93
|
}
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
94
|
+
/**
|
95
|
+
* Add properties to a lookup table
|
96
|
+
*
|
97
|
+
* @param set - The set to which elements will be added.
|
98
|
+
* @param array - The array containing elements to be added to the set.
|
99
|
+
* @param transformCaseFunc - An optional function to transform the case of each element before adding to the set.
|
100
|
+
* @returns The modified set with added elements.
|
101
|
+
*/
|
102
|
+
function addToSet(set, array) {
|
103
|
+
let transformCaseFunc = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : stringToLowerCase;
|
147
104
|
if (setPrototypeOf) {
|
148
105
|
// Make 'in' and truthy checks like Boolean(set.constructor)
|
149
106
|
// independent of any properties defined on Object.prototype.
|
150
107
|
// Prevent prototype setters from intercepting set as a this value.
|
151
108
|
setPrototypeOf(set, null);
|
152
109
|
}
|
153
|
-
|
110
|
+
let l = array.length;
|
154
111
|
while (l--) {
|
155
|
-
|
112
|
+
let element = array[l];
|
156
113
|
if (typeof element === 'string') {
|
157
|
-
|
114
|
+
const lcElement = transformCaseFunc(element);
|
158
115
|
if (lcElement !== element) {
|
159
116
|
// Config presets (e.g. tags.js, attrs.js) are immutable.
|
160
117
|
if (!isFrozen(array)) {
|
@@ -167,26 +124,53 @@ var purify$2 = {exports: {}};
|
|
167
124
|
}
|
168
125
|
return set;
|
169
126
|
}
|
170
|
-
|
171
|
-
|
127
|
+
/**
|
128
|
+
* Clean up an array to harden against CSPP
|
129
|
+
*
|
130
|
+
* @param array - The array to be cleaned.
|
131
|
+
* @returns The cleaned version of the array
|
132
|
+
*/
|
133
|
+
function cleanArray(array) {
|
134
|
+
for (let index = 0; index < array.length; index++) {
|
135
|
+
const isPropertyExist = objectHasOwnProperty(array, index);
|
136
|
+
if (!isPropertyExist) {
|
137
|
+
array[index] = null;
|
138
|
+
}
|
139
|
+
}
|
140
|
+
return array;
|
141
|
+
}
|
142
|
+
/**
|
143
|
+
* Shallow clone an object
|
144
|
+
*
|
145
|
+
* @param object - The object to be cloned.
|
146
|
+
* @returns A new object that copies the original.
|
147
|
+
*/
|
172
148
|
function clone(object) {
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
if (
|
177
|
-
|
149
|
+
const newObject = create(null);
|
150
|
+
for (const [property, value] of entries(object)) {
|
151
|
+
const isPropertyExist = objectHasOwnProperty(object, property);
|
152
|
+
if (isPropertyExist) {
|
153
|
+
if (Array.isArray(value)) {
|
154
|
+
newObject[property] = cleanArray(value);
|
155
|
+
} else if (value && typeof value === 'object' && value.constructor === Object) {
|
156
|
+
newObject[property] = clone(value);
|
157
|
+
} else {
|
158
|
+
newObject[property] = value;
|
159
|
+
}
|
178
160
|
}
|
179
161
|
}
|
180
162
|
return newObject;
|
181
163
|
}
|
182
|
-
|
183
|
-
|
184
|
-
*
|
185
|
-
*
|
186
|
-
*
|
164
|
+
/**
|
165
|
+
* This method automatically checks if the prop is function or getter and behaves accordingly.
|
166
|
+
*
|
167
|
+
* @param object - The object to look up the getter function in its prototype chain.
|
168
|
+
* @param prop - The property name for which to find the getter function.
|
169
|
+
* @returns The getter function found in the prototype chain or a fallback function.
|
170
|
+
*/
|
187
171
|
function lookupGetter(object, prop) {
|
188
172
|
while (object !== null) {
|
189
|
-
|
173
|
+
const desc = getOwnPropertyDescriptor(object, prop);
|
190
174
|
if (desc) {
|
191
175
|
if (desc.get) {
|
192
176
|
return unapply(desc.get);
|
@@ -197,82 +181,107 @@ var purify$2 = {exports: {}};
|
|
197
181
|
}
|
198
182
|
object = getPrototypeOf(object);
|
199
183
|
}
|
200
|
-
function fallbackValue(
|
201
|
-
console.warn('fallback value for', element);
|
184
|
+
function fallbackValue() {
|
202
185
|
return null;
|
203
186
|
}
|
204
187
|
return fallbackValue;
|
205
188
|
}
|
206
189
|
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
var svg$1 = freeze(['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']);
|
211
|
-
var svgFilters = freeze(['feBlend', 'feColorMatrix', 'feComponentTransfer', 'feComposite', 'feConvolveMatrix', 'feDiffuseLighting', 'feDisplacementMap', 'feDistantLight', 'feFlood', 'feFuncA', 'feFuncB', 'feFuncG', 'feFuncR', 'feGaussianBlur', 'feImage', 'feMerge', 'feMergeNode', 'feMorphology', 'feOffset', 'fePointLight', 'feSpecularLighting', 'feSpotLight', 'feTile', 'feTurbulence']);
|
212
|
-
|
190
|
+
const html$1 = freeze(['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']);
|
191
|
+
const svg$1 = freeze(['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']);
|
192
|
+
const svgFilters = freeze(['feBlend', 'feColorMatrix', 'feComponentTransfer', 'feComposite', 'feConvolveMatrix', 'feDiffuseLighting', 'feDisplacementMap', 'feDistantLight', 'feDropShadow', 'feFlood', 'feFuncA', 'feFuncB', 'feFuncG', 'feFuncR', 'feGaussianBlur', 'feImage', 'feMerge', 'feMergeNode', 'feMorphology', 'feOffset', 'fePointLight', 'feSpecularLighting', 'feSpotLight', 'feTile', 'feTurbulence']);
|
213
193
|
// List of SVG elements that are disallowed by default.
|
214
194
|
// We still need to know them so that we can do namespace
|
215
195
|
// checks properly in case one wants to add them to
|
216
196
|
// allow-list.
|
217
|
-
|
218
|
-
|
219
|
-
|
197
|
+
const svgDisallowed = freeze(['animate', 'color-profile', 'cursor', 'discard', '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']);
|
198
|
+
const mathMl$1 = freeze(['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', 'mprescripts']);
|
220
199
|
// Similarly to SVG, we want to know all MathML elements,
|
221
200
|
// even those that we disallow by default.
|
222
|
-
|
223
|
-
|
201
|
+
const mathMlDisallowed = freeze(['maction', 'maligngroup', 'malignmark', 'mlongdiv', 'mscarries', 'mscarry', 'msgroup', 'mstack', 'msline', 'msrow', 'semantics', 'annotation', 'annotation-xml', 'mprescripts', 'none']);
|
202
|
+
const text = freeze(['#text']);
|
224
203
|
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
204
|
+
const html = freeze(['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', 'popover', 'popovertarget', 'popovertargetaction', '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', 'wrap', 'xmlns', 'slot']);
|
205
|
+
const svg = freeze(['accent-height', 'accumulate', 'additive', 'alignment-baseline', 'amplitude', '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', 'exponent', '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', 'intercept', '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', 'slope', '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', 'tablevalues', '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']);
|
206
|
+
const mathMl = freeze(['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']);
|
207
|
+
const xml = freeze(['xlink:href', 'xml:id', 'xlink:title', 'xml:space', 'xmlns:xlink']);
|
229
208
|
|
230
209
|
// eslint-disable-next-line unicorn/better-regex
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
210
|
+
const MUSTACHE_EXPR = seal(/\{\{[\w\W]*|[\w\W]*\}\}/gm); // Specify template detection regex for SAFE_FOR_TEMPLATES mode
|
211
|
+
const ERB_EXPR = seal(/<%[\w\W]*|[\w\W]*%>/gm);
|
212
|
+
const TMPLIT_EXPR = seal(/\$\{[\w\W]*/gm); // eslint-disable-line unicorn/better-regex
|
213
|
+
const DATA_ATTR = seal(/^data-[\-\w.\u00B7-\uFFFF]+$/); // eslint-disable-line no-useless-escape
|
214
|
+
const ARIA_ATTR = seal(/^aria-[\-\w]+$/); // eslint-disable-line no-useless-escape
|
215
|
+
const IS_ALLOWED_URI = seal(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i // eslint-disable-line no-useless-escape
|
237
216
|
);
|
238
|
-
|
239
|
-
|
217
|
+
const IS_SCRIPT_OR_DATA = seal(/^(?:\w+script|data):/i);
|
218
|
+
const ATTR_WHITESPACE = seal(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g // eslint-disable-line no-control-regex
|
240
219
|
);
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
var
|
220
|
+
const DOCTYPE_NAME = seal(/^html$/i);
|
221
|
+
const CUSTOM_ELEMENT = seal(/^[a-z][.\w]*(-[.\w]+)+$/i);
|
222
|
+
|
223
|
+
var EXPRESSIONS = /*#__PURE__*/Object.freeze({
|
224
|
+
__proto__: null,
|
225
|
+
ARIA_ATTR: ARIA_ATTR,
|
226
|
+
ATTR_WHITESPACE: ATTR_WHITESPACE,
|
227
|
+
CUSTOM_ELEMENT: CUSTOM_ELEMENT,
|
228
|
+
DATA_ATTR: DATA_ATTR,
|
229
|
+
DOCTYPE_NAME: DOCTYPE_NAME,
|
230
|
+
ERB_EXPR: ERB_EXPR,
|
231
|
+
IS_ALLOWED_URI: IS_ALLOWED_URI,
|
232
|
+
IS_SCRIPT_OR_DATA: IS_SCRIPT_OR_DATA,
|
233
|
+
MUSTACHE_EXPR: MUSTACHE_EXPR,
|
234
|
+
TMPLIT_EXPR: TMPLIT_EXPR
|
235
|
+
});
|
236
|
+
|
237
|
+
/* eslint-disable @typescript-eslint/indent */
|
238
|
+
// https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeType
|
239
|
+
const NODE_TYPE = {
|
240
|
+
element: 1,
|
241
|
+
attribute: 2,
|
242
|
+
text: 3,
|
243
|
+
cdataSection: 4,
|
244
|
+
entityReference: 5,
|
245
|
+
// Deprecated
|
246
|
+
entityNode: 6,
|
247
|
+
// Deprecated
|
248
|
+
progressingInstruction: 7,
|
249
|
+
comment: 8,
|
250
|
+
document: 9,
|
251
|
+
documentType: 10,
|
252
|
+
documentFragment: 11,
|
253
|
+
notation: 12 // Deprecated
|
254
|
+
};
|
255
|
+
const getGlobal = function getGlobal() {
|
245
256
|
return typeof window === 'undefined' ? null : window;
|
246
257
|
};
|
247
|
-
|
248
258
|
/**
|
249
259
|
* Creates a no-op policy for internal use only.
|
250
260
|
* Don't export this function outside this module!
|
251
|
-
* @param
|
252
|
-
* @param
|
253
|
-
* @return
|
254
|
-
* are not supported).
|
261
|
+
* @param trustedTypes The policy factory.
|
262
|
+
* @param purifyHostElement The Script element used to load DOMPurify (to determine policy name suffix).
|
263
|
+
* @return The policy created (or null, if Trusted Types
|
264
|
+
* are not supported or creating the policy failed).
|
255
265
|
*/
|
256
|
-
|
257
|
-
if (
|
266
|
+
const _createTrustedTypesPolicy = function _createTrustedTypesPolicy(trustedTypes, purifyHostElement) {
|
267
|
+
if (typeof trustedTypes !== 'object' || typeof trustedTypes.createPolicy !== 'function') {
|
258
268
|
return null;
|
259
269
|
}
|
260
|
-
|
261
270
|
// Allow the callers to control the unique policy name
|
262
271
|
// by adding a data-tt-policy-suffix to the script element with the DOMPurify.
|
263
272
|
// Policy creation with duplicate names throws in Trusted Types.
|
264
|
-
|
265
|
-
|
266
|
-
if (
|
267
|
-
suffix =
|
273
|
+
let suffix = null;
|
274
|
+
const ATTR_NAME = 'data-tt-policy-suffix';
|
275
|
+
if (purifyHostElement && purifyHostElement.hasAttribute(ATTR_NAME)) {
|
276
|
+
suffix = purifyHostElement.getAttribute(ATTR_NAME);
|
268
277
|
}
|
269
|
-
|
278
|
+
const policyName = 'dompurify' + (suffix ? '#' + suffix : '');
|
270
279
|
try {
|
271
280
|
return trustedTypes.createPolicy(policyName, {
|
272
|
-
createHTML
|
281
|
+
createHTML(html) {
|
273
282
|
return html;
|
274
283
|
},
|
275
|
-
createScriptURL
|
284
|
+
createScriptURL(scriptUrl) {
|
276
285
|
return scriptUrl;
|
277
286
|
}
|
278
287
|
});
|
@@ -284,47 +293,52 @@ var purify$2 = {exports: {}};
|
|
284
293
|
return null;
|
285
294
|
}
|
286
295
|
};
|
287
|
-
function
|
288
|
-
|
289
|
-
|
290
|
-
|
296
|
+
const _createHooksMap = function _createHooksMap() {
|
297
|
+
return {
|
298
|
+
afterSanitizeAttributes: [],
|
299
|
+
afterSanitizeElements: [],
|
300
|
+
afterSanitizeShadowDOM: [],
|
301
|
+
beforeSanitizeAttributes: [],
|
302
|
+
beforeSanitizeElements: [],
|
303
|
+
beforeSanitizeShadowDOM: [],
|
304
|
+
uponSanitizeAttribute: [],
|
305
|
+
uponSanitizeElement: [],
|
306
|
+
uponSanitizeShadowNode: []
|
291
307
|
};
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
DOMPurify.version = '2.5.8';
|
298
|
-
|
299
|
-
/**
|
300
|
-
* Array of elements that DOMPurify removed during sanitation.
|
301
|
-
* Empty if nothing was removed.
|
302
|
-
*/
|
308
|
+
};
|
309
|
+
function createDOMPurify() {
|
310
|
+
let window = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : getGlobal();
|
311
|
+
const DOMPurify = root => createDOMPurify(root);
|
312
|
+
DOMPurify.version = '3.2.4';
|
303
313
|
DOMPurify.removed = [];
|
304
|
-
if (!window || !window.document || window.document.nodeType !==
|
314
|
+
if (!window || !window.document || window.document.nodeType !== NODE_TYPE.document || !window.Element) {
|
305
315
|
// Not running in a browser, provide a factory function
|
306
316
|
// so that you can pass your own Window
|
307
317
|
DOMPurify.isSupported = false;
|
308
318
|
return DOMPurify;
|
309
319
|
}
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
320
|
+
let {
|
321
|
+
document
|
322
|
+
} = window;
|
323
|
+
const originalDocument = document;
|
324
|
+
const currentScript = originalDocument.currentScript;
|
325
|
+
const {
|
326
|
+
DocumentFragment,
|
327
|
+
HTMLTemplateElement,
|
328
|
+
Node,
|
329
|
+
Element,
|
330
|
+
NodeFilter,
|
331
|
+
NamedNodeMap = window.NamedNodeMap || window.MozNamedAttrMap,
|
332
|
+
HTMLFormElement,
|
333
|
+
DOMParser,
|
334
|
+
trustedTypes
|
335
|
+
} = window;
|
336
|
+
const ElementPrototype = Element.prototype;
|
337
|
+
const cloneNode = lookupGetter(ElementPrototype, 'cloneNode');
|
338
|
+
const remove = lookupGetter(ElementPrototype, 'remove');
|
339
|
+
const getNextSibling = lookupGetter(ElementPrototype, 'nextSibling');
|
340
|
+
const getChildNodes = lookupGetter(ElementPrototype, 'childNodes');
|
341
|
+
const getParentNode = lookupGetter(ElementPrototype, 'parentNode');
|
328
342
|
// As per issue #47, the web-components registry is inherited by a
|
329
343
|
// new document created via createHTMLDocument. As per the spec
|
330
344
|
// (http://w3c.github.io/webcomponents/spec/custom/#creating-and-passing-registries)
|
@@ -332,59 +346,57 @@ var purify$2 = {exports: {}};
|
|
332
346
|
// document, so we use that as our parent document to ensure nothing
|
333
347
|
// is inherited.
|
334
348
|
if (typeof HTMLTemplateElement === 'function') {
|
335
|
-
|
349
|
+
const template = document.createElement('template');
|
336
350
|
if (template.content && template.content.ownerDocument) {
|
337
351
|
document = template.content.ownerDocument;
|
338
352
|
}
|
339
353
|
}
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
implementation
|
344
|
-
createNodeIterator
|
345
|
-
createDocumentFragment
|
346
|
-
getElementsByTagName
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
var hooks = {};
|
353
|
-
|
354
|
+
let trustedTypesPolicy;
|
355
|
+
let emptyHTML = '';
|
356
|
+
const {
|
357
|
+
implementation,
|
358
|
+
createNodeIterator,
|
359
|
+
createDocumentFragment,
|
360
|
+
getElementsByTagName
|
361
|
+
} = document;
|
362
|
+
const {
|
363
|
+
importNode
|
364
|
+
} = originalDocument;
|
365
|
+
let hooks = _createHooksMap();
|
354
366
|
/**
|
355
367
|
* Expose whether this browser supports running the full DOMPurify.
|
356
368
|
*/
|
357
|
-
DOMPurify.isSupported = typeof getParentNode === 'function' && implementation && implementation.createHTMLDocument !== undefined
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
369
|
+
DOMPurify.isSupported = typeof entries === 'function' && typeof getParentNode === 'function' && implementation && implementation.createHTMLDocument !== undefined;
|
370
|
+
const {
|
371
|
+
MUSTACHE_EXPR,
|
372
|
+
ERB_EXPR,
|
373
|
+
TMPLIT_EXPR,
|
374
|
+
DATA_ATTR,
|
375
|
+
ARIA_ATTR,
|
376
|
+
IS_SCRIPT_OR_DATA,
|
377
|
+
ATTR_WHITESPACE,
|
378
|
+
CUSTOM_ELEMENT
|
379
|
+
} = EXPRESSIONS;
|
380
|
+
let {
|
381
|
+
IS_ALLOWED_URI: IS_ALLOWED_URI$1
|
382
|
+
} = EXPRESSIONS;
|
368
383
|
/**
|
369
384
|
* We consider the elements and attributes below to be safe. Ideally
|
370
385
|
* don't add any new ones but feel free to remove unwanted ones.
|
371
386
|
*/
|
372
|
-
|
373
387
|
/* allowed element names */
|
374
|
-
|
375
|
-
|
376
|
-
|
388
|
+
let ALLOWED_TAGS = null;
|
389
|
+
const DEFAULT_ALLOWED_TAGS = addToSet({}, [...html$1, ...svg$1, ...svgFilters, ...mathMl$1, ...text]);
|
377
390
|
/* Allowed attribute names */
|
378
|
-
|
379
|
-
|
380
|
-
|
391
|
+
let ALLOWED_ATTR = null;
|
392
|
+
const DEFAULT_ALLOWED_ATTR = addToSet({}, [...html, ...svg, ...mathMl, ...xml]);
|
381
393
|
/*
|
382
|
-
* Configure how
|
394
|
+
* Configure how DOMPurify should handle custom elements and their attributes as well as customized built-in elements.
|
383
395
|
* @property {RegExp|Function|null} tagNameCheck one of [null, regexPattern, predicate]. Default: `null` (disallow any custom elements)
|
384
396
|
* @property {RegExp|Function|null} attributeNameCheck one of [null, regexPattern, predicate]. Default: `null` (disallow any attributes not on the allow list)
|
385
397
|
* @property {boolean} allowCustomizedBuiltInElements allow custom elements derived from built-ins if they pass CUSTOM_ELEMENT_HANDLING.tagNameCheck. Default: `false`.
|
386
398
|
*/
|
387
|
-
|
399
|
+
let CUSTOM_ELEMENT_HANDLING = Object.seal(create(null, {
|
388
400
|
tagNameCheck: {
|
389
401
|
writable: true,
|
390
402
|
configurable: false,
|
@@ -404,65 +416,49 @@ var purify$2 = {exports: {}};
|
|
404
416
|
value: false
|
405
417
|
}
|
406
418
|
}));
|
407
|
-
|
408
419
|
/* Explicitly forbidden tags (overrides ALLOWED_TAGS/ADD_TAGS) */
|
409
|
-
|
410
|
-
|
420
|
+
let FORBID_TAGS = null;
|
411
421
|
/* Explicitly forbidden attributes (overrides ALLOWED_ATTR/ADD_ATTR) */
|
412
|
-
|
413
|
-
|
422
|
+
let FORBID_ATTR = null;
|
414
423
|
/* Decide if ARIA attributes are okay */
|
415
|
-
|
416
|
-
|
424
|
+
let ALLOW_ARIA_ATTR = true;
|
417
425
|
/* Decide if custom data attributes are okay */
|
418
|
-
|
419
|
-
|
426
|
+
let ALLOW_DATA_ATTR = true;
|
420
427
|
/* Decide if unknown protocols are okay */
|
421
|
-
|
422
|
-
|
428
|
+
let ALLOW_UNKNOWN_PROTOCOLS = false;
|
423
429
|
/* Decide if self-closing tags in attributes are allowed.
|
424
430
|
* Usually removed due to a mXSS issue in jQuery 3.0 */
|
425
|
-
|
426
|
-
|
431
|
+
let ALLOW_SELF_CLOSE_IN_ATTR = true;
|
427
432
|
/* Output should be safe for common template engines.
|
428
433
|
* This means, DOMPurify removes data attributes, mustaches and ERB
|
429
434
|
*/
|
430
|
-
|
431
|
-
|
435
|
+
let SAFE_FOR_TEMPLATES = false;
|
432
436
|
/* Output should be safe even for XML used within HTML and alike.
|
433
437
|
* This means, DOMPurify removes comments when containing risky content.
|
434
438
|
*/
|
435
|
-
|
436
|
-
|
439
|
+
let SAFE_FOR_XML = true;
|
437
440
|
/* Decide if document with <html>... should be returned */
|
438
|
-
|
439
|
-
|
441
|
+
let WHOLE_DOCUMENT = false;
|
440
442
|
/* Track whether config is already set on this instance of DOMPurify. */
|
441
|
-
|
442
|
-
|
443
|
+
let SET_CONFIG = false;
|
443
444
|
/* Decide if all elements (e.g. style, script) must be children of
|
444
445
|
* document.body. By default, browsers might move them to document.head */
|
445
|
-
|
446
|
-
|
446
|
+
let FORCE_BODY = false;
|
447
447
|
/* Decide if a DOM `HTMLBodyElement` should be returned, instead of a html
|
448
448
|
* string (or a TrustedHTML object if Trusted Types are supported).
|
449
449
|
* If `WHOLE_DOCUMENT` is enabled a `HTMLHtmlElement` will be returned instead
|
450
450
|
*/
|
451
|
-
|
452
|
-
|
451
|
+
let RETURN_DOM = false;
|
453
452
|
/* Decide if a DOM `DocumentFragment` should be returned, instead of a html
|
454
453
|
* string (or a TrustedHTML object if Trusted Types are supported) */
|
455
|
-
|
456
|
-
|
454
|
+
let RETURN_DOM_FRAGMENT = false;
|
457
455
|
/* Try to return a Trusted Type object instead of a string, return a string in
|
458
456
|
* case Trusted Types are not supported */
|
459
|
-
|
460
|
-
|
457
|
+
let RETURN_TRUSTED_TYPE = false;
|
461
458
|
/* Output should be free from DOM clobbering attacks?
|
462
459
|
* This sanitizes markups named with colliding, clobberable built-in DOM APIs.
|
463
460
|
*/
|
464
|
-
|
465
|
-
|
461
|
+
let SANITIZE_DOM = true;
|
466
462
|
/* Achieve full DOM Clobbering protection by isolating the namespace of named
|
467
463
|
* properties and JS variables, mitigating attacks that abuse the HTML/DOM spec rules.
|
468
464
|
*
|
@@ -476,105 +472,85 @@ var purify$2 = {exports: {}};
|
|
476
472
|
* Namespace isolation is implemented by prefixing `id` and `name` attributes
|
477
473
|
* with a constant string, i.e., `user-content-`
|
478
474
|
*/
|
479
|
-
|
480
|
-
|
481
|
-
|
475
|
+
let SANITIZE_NAMED_PROPS = false;
|
476
|
+
const SANITIZE_NAMED_PROPS_PREFIX = 'user-content-';
|
482
477
|
/* Keep element content when removing element? */
|
483
|
-
|
484
|
-
|
478
|
+
let KEEP_CONTENT = true;
|
485
479
|
/* If a `Node` is passed to sanitize(), then performs sanitization in-place instead
|
486
480
|
* of importing it into a new Document and returning a sanitized copy */
|
487
|
-
|
488
|
-
|
481
|
+
let IN_PLACE = false;
|
489
482
|
/* Allow usage of profiles like html, svg and mathMl */
|
490
|
-
|
491
|
-
|
483
|
+
let USE_PROFILES = {};
|
492
484
|
/* Tags to ignore content of when KEEP_CONTENT is true */
|
493
|
-
|
494
|
-
|
495
|
-
|
485
|
+
let FORBID_CONTENTS = null;
|
486
|
+
const DEFAULT_FORBID_CONTENTS = addToSet({}, ['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']);
|
496
487
|
/* Tags that are safe for data: URIs */
|
497
|
-
|
498
|
-
|
499
|
-
|
488
|
+
let DATA_URI_TAGS = null;
|
489
|
+
const DEFAULT_DATA_URI_TAGS = addToSet({}, ['audio', 'video', 'img', 'source', 'image', 'track']);
|
500
490
|
/* Attributes safe for values like "javascript:" */
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
491
|
+
let URI_SAFE_ATTRIBUTES = null;
|
492
|
+
const DEFAULT_URI_SAFE_ATTRIBUTES = addToSet({}, ['alt', 'class', 'for', 'id', 'label', 'name', 'pattern', 'placeholder', 'role', 'summary', 'title', 'value', 'style', 'xmlns']);
|
493
|
+
const MATHML_NAMESPACE = 'http://www.w3.org/1998/Math/MathML';
|
494
|
+
const SVG_NAMESPACE = 'http://www.w3.org/2000/svg';
|
495
|
+
const HTML_NAMESPACE = 'http://www.w3.org/1999/xhtml';
|
506
496
|
/* Document namespace */
|
507
|
-
|
508
|
-
|
509
|
-
|
497
|
+
let NAMESPACE = HTML_NAMESPACE;
|
498
|
+
let IS_EMPTY_INPUT = false;
|
510
499
|
/* Allowed XHTML+XML namespaces */
|
511
|
-
|
512
|
-
|
513
|
-
|
500
|
+
let ALLOWED_NAMESPACES = null;
|
501
|
+
const DEFAULT_ALLOWED_NAMESPACES = addToSet({}, [MATHML_NAMESPACE, SVG_NAMESPACE, HTML_NAMESPACE], stringToString);
|
502
|
+
let MATHML_TEXT_INTEGRATION_POINTS = addToSet({}, ['mi', 'mo', 'mn', 'ms', 'mtext']);
|
503
|
+
let HTML_INTEGRATION_POINTS = addToSet({}, ['annotation-xml']);
|
504
|
+
// Certain elements are allowed in both SVG and HTML
|
505
|
+
// namespace. We need to specify them explicitly
|
506
|
+
// so that they don't get erroneously deleted from
|
507
|
+
// HTML namespace.
|
508
|
+
const COMMON_SVG_AND_HTML_ELEMENTS = addToSet({}, ['title', 'style', 'font', 'a', 'script']);
|
514
509
|
/* Parsing of strict XHTML documents */
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
510
|
+
let PARSER_MEDIA_TYPE = null;
|
511
|
+
const SUPPORTED_PARSER_MEDIA_TYPES = ['application/xhtml+xml', 'text/html'];
|
512
|
+
const DEFAULT_PARSER_MEDIA_TYPE = 'text/html';
|
513
|
+
let transformCaseFunc = null;
|
520
514
|
/* Keep a reference to config to pass to hooks */
|
521
|
-
|
522
|
-
|
515
|
+
let CONFIG = null;
|
523
516
|
/* Ideally, do not touch anything below this line */
|
524
517
|
/* ______________________________________________ */
|
525
|
-
|
526
|
-
|
527
|
-
var isRegexOrFunction = function isRegexOrFunction(testValue) {
|
518
|
+
const formElement = document.createElement('form');
|
519
|
+
const isRegexOrFunction = function isRegexOrFunction(testValue) {
|
528
520
|
return testValue instanceof RegExp || testValue instanceof Function;
|
529
521
|
};
|
530
|
-
|
531
522
|
/**
|
532
523
|
* _parseConfig
|
533
524
|
*
|
534
|
-
* @param
|
525
|
+
* @param cfg optional config literal
|
535
526
|
*/
|
536
527
|
// eslint-disable-next-line complexity
|
537
|
-
|
528
|
+
const _parseConfig = function _parseConfig() {
|
529
|
+
let cfg = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
538
530
|
if (CONFIG && CONFIG === cfg) {
|
539
531
|
return;
|
540
532
|
}
|
541
|
-
|
542
533
|
/* Shield configuration object from tampering */
|
543
|
-
if (!cfg ||
|
534
|
+
if (!cfg || typeof cfg !== 'object') {
|
544
535
|
cfg = {};
|
545
536
|
}
|
546
|
-
|
547
537
|
/* Shield configuration object from prototype pollution */
|
548
538
|
cfg = clone(cfg);
|
549
539
|
PARSER_MEDIA_TYPE =
|
550
540
|
// eslint-disable-next-line unicorn/prefer-includes
|
551
|
-
SUPPORTED_PARSER_MEDIA_TYPES.indexOf(cfg.PARSER_MEDIA_TYPE) === -1 ?
|
552
|
-
|
541
|
+
SUPPORTED_PARSER_MEDIA_TYPES.indexOf(cfg.PARSER_MEDIA_TYPE) === -1 ? DEFAULT_PARSER_MEDIA_TYPE : cfg.PARSER_MEDIA_TYPE;
|
553
542
|
// HTML tags and attributes are not case-sensitive, converting to lowercase. Keeping XHTML as is.
|
554
543
|
transformCaseFunc = PARSER_MEDIA_TYPE === 'application/xhtml+xml' ? stringToString : stringToLowerCase;
|
555
|
-
|
556
544
|
/* Set configuration parameters */
|
557
|
-
ALLOWED_TAGS = 'ALLOWED_TAGS'
|
558
|
-
ALLOWED_ATTR = 'ALLOWED_ATTR'
|
559
|
-
ALLOWED_NAMESPACES = 'ALLOWED_NAMESPACES'
|
560
|
-
URI_SAFE_ATTRIBUTES = 'ADD_URI_SAFE_ATTR'
|
561
|
-
|
562
|
-
cfg.
|
563
|
-
|
564
|
-
transformCaseFunc
|
565
|
-
)
|
566
|
-
: DEFAULT_URI_SAFE_ATTRIBUTES;
|
567
|
-
DATA_URI_TAGS = 'ADD_DATA_URI_TAGS' in cfg ? addToSet(clone(DEFAULT_DATA_URI_TAGS),
|
568
|
-
// eslint-disable-line indent
|
569
|
-
cfg.ADD_DATA_URI_TAGS,
|
570
|
-
// eslint-disable-line indent
|
571
|
-
transformCaseFunc // eslint-disable-line indent
|
572
|
-
) // eslint-disable-line indent
|
573
|
-
: DEFAULT_DATA_URI_TAGS;
|
574
|
-
FORBID_CONTENTS = 'FORBID_CONTENTS' in cfg ? addToSet({}, cfg.FORBID_CONTENTS, transformCaseFunc) : DEFAULT_FORBID_CONTENTS;
|
575
|
-
FORBID_TAGS = 'FORBID_TAGS' in cfg ? addToSet({}, cfg.FORBID_TAGS, transformCaseFunc) : {};
|
576
|
-
FORBID_ATTR = 'FORBID_ATTR' in cfg ? addToSet({}, cfg.FORBID_ATTR, transformCaseFunc) : {};
|
577
|
-
USE_PROFILES = 'USE_PROFILES' in cfg ? cfg.USE_PROFILES : false;
|
545
|
+
ALLOWED_TAGS = objectHasOwnProperty(cfg, 'ALLOWED_TAGS') ? addToSet({}, cfg.ALLOWED_TAGS, transformCaseFunc) : DEFAULT_ALLOWED_TAGS;
|
546
|
+
ALLOWED_ATTR = objectHasOwnProperty(cfg, 'ALLOWED_ATTR') ? addToSet({}, cfg.ALLOWED_ATTR, transformCaseFunc) : DEFAULT_ALLOWED_ATTR;
|
547
|
+
ALLOWED_NAMESPACES = objectHasOwnProperty(cfg, 'ALLOWED_NAMESPACES') ? addToSet({}, cfg.ALLOWED_NAMESPACES, stringToString) : DEFAULT_ALLOWED_NAMESPACES;
|
548
|
+
URI_SAFE_ATTRIBUTES = objectHasOwnProperty(cfg, 'ADD_URI_SAFE_ATTR') ? addToSet(clone(DEFAULT_URI_SAFE_ATTRIBUTES), cfg.ADD_URI_SAFE_ATTR, transformCaseFunc) : DEFAULT_URI_SAFE_ATTRIBUTES;
|
549
|
+
DATA_URI_TAGS = objectHasOwnProperty(cfg, 'ADD_DATA_URI_TAGS') ? addToSet(clone(DEFAULT_DATA_URI_TAGS), cfg.ADD_DATA_URI_TAGS, transformCaseFunc) : DEFAULT_DATA_URI_TAGS;
|
550
|
+
FORBID_CONTENTS = objectHasOwnProperty(cfg, 'FORBID_CONTENTS') ? addToSet({}, cfg.FORBID_CONTENTS, transformCaseFunc) : DEFAULT_FORBID_CONTENTS;
|
551
|
+
FORBID_TAGS = objectHasOwnProperty(cfg, 'FORBID_TAGS') ? addToSet({}, cfg.FORBID_TAGS, transformCaseFunc) : {};
|
552
|
+
FORBID_ATTR = objectHasOwnProperty(cfg, 'FORBID_ATTR') ? addToSet({}, cfg.FORBID_ATTR, transformCaseFunc) : {};
|
553
|
+
USE_PROFILES = objectHasOwnProperty(cfg, 'USE_PROFILES') ? cfg.USE_PROFILES : false;
|
578
554
|
ALLOW_ARIA_ATTR = cfg.ALLOW_ARIA_ATTR !== false; // Default true
|
579
555
|
ALLOW_DATA_ATTR = cfg.ALLOW_DATA_ATTR !== false; // Default true
|
580
556
|
ALLOW_UNKNOWN_PROTOCOLS = cfg.ALLOW_UNKNOWN_PROTOCOLS || false; // Default false
|
@@ -590,8 +566,10 @@ var purify$2 = {exports: {}};
|
|
590
566
|
SANITIZE_NAMED_PROPS = cfg.SANITIZE_NAMED_PROPS || false; // Default false
|
591
567
|
KEEP_CONTENT = cfg.KEEP_CONTENT !== false; // Default true
|
592
568
|
IN_PLACE = cfg.IN_PLACE || false; // Default false
|
593
|
-
IS_ALLOWED_URI$1 = cfg.ALLOWED_URI_REGEXP || IS_ALLOWED_URI
|
569
|
+
IS_ALLOWED_URI$1 = cfg.ALLOWED_URI_REGEXP || IS_ALLOWED_URI;
|
594
570
|
NAMESPACE = cfg.NAMESPACE || HTML_NAMESPACE;
|
571
|
+
MATHML_TEXT_INTEGRATION_POINTS = cfg.MATHML_TEXT_INTEGRATION_POINTS || MATHML_TEXT_INTEGRATION_POINTS;
|
572
|
+
HTML_INTEGRATION_POINTS = cfg.HTML_INTEGRATION_POINTS || HTML_INTEGRATION_POINTS;
|
595
573
|
CUSTOM_ELEMENT_HANDLING = cfg.CUSTOM_ELEMENT_HANDLING || {};
|
596
574
|
if (cfg.CUSTOM_ELEMENT_HANDLING && isRegexOrFunction(cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck)) {
|
597
575
|
CUSTOM_ELEMENT_HANDLING.tagNameCheck = cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck;
|
@@ -608,10 +586,9 @@ var purify$2 = {exports: {}};
|
|
608
586
|
if (RETURN_DOM_FRAGMENT) {
|
609
587
|
RETURN_DOM = true;
|
610
588
|
}
|
611
|
-
|
612
589
|
/* Parse profile info */
|
613
590
|
if (USE_PROFILES) {
|
614
|
-
ALLOWED_TAGS = addToSet({},
|
591
|
+
ALLOWED_TAGS = addToSet({}, text);
|
615
592
|
ALLOWED_ATTR = [];
|
616
593
|
if (USE_PROFILES.html === true) {
|
617
594
|
addToSet(ALLOWED_TAGS, html$1);
|
@@ -633,7 +610,6 @@ var purify$2 = {exports: {}};
|
|
633
610
|
addToSet(ALLOWED_ATTR, xml);
|
634
611
|
}
|
635
612
|
}
|
636
|
-
|
637
613
|
/* Merge configuration parameters */
|
638
614
|
if (cfg.ADD_TAGS) {
|
639
615
|
if (ALLOWED_TAGS === DEFAULT_ALLOWED_TAGS) {
|
@@ -656,23 +632,40 @@ var purify$2 = {exports: {}};
|
|
656
632
|
}
|
657
633
|
addToSet(FORBID_CONTENTS, cfg.FORBID_CONTENTS, transformCaseFunc);
|
658
634
|
}
|
659
|
-
|
660
635
|
/* Add #text in case KEEP_CONTENT is set to true */
|
661
636
|
if (KEEP_CONTENT) {
|
662
637
|
ALLOWED_TAGS['#text'] = true;
|
663
638
|
}
|
664
|
-
|
665
639
|
/* Add html, head and body to ALLOWED_TAGS in case WHOLE_DOCUMENT is true */
|
666
640
|
if (WHOLE_DOCUMENT) {
|
667
641
|
addToSet(ALLOWED_TAGS, ['html', 'head', 'body']);
|
668
642
|
}
|
669
|
-
|
670
643
|
/* Add tbody to ALLOWED_TAGS in case tables are permitted, see #286, #365 */
|
671
644
|
if (ALLOWED_TAGS.table) {
|
672
645
|
addToSet(ALLOWED_TAGS, ['tbody']);
|
673
646
|
delete FORBID_TAGS.tbody;
|
674
647
|
}
|
675
|
-
|
648
|
+
if (cfg.TRUSTED_TYPES_POLICY) {
|
649
|
+
if (typeof cfg.TRUSTED_TYPES_POLICY.createHTML !== 'function') {
|
650
|
+
throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
651
|
+
}
|
652
|
+
if (typeof cfg.TRUSTED_TYPES_POLICY.createScriptURL !== 'function') {
|
653
|
+
throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
654
|
+
}
|
655
|
+
// Overwrite existing TrustedTypes policy.
|
656
|
+
trustedTypesPolicy = cfg.TRUSTED_TYPES_POLICY;
|
657
|
+
// Sign local variables required by `sanitize`.
|
658
|
+
emptyHTML = trustedTypesPolicy.createHTML('');
|
659
|
+
} else {
|
660
|
+
// Uninitialized policy, attempt to initialize the internal dompurify policy.
|
661
|
+
if (trustedTypesPolicy === undefined) {
|
662
|
+
trustedTypesPolicy = _createTrustedTypesPolicy(trustedTypes, currentScript);
|
663
|
+
}
|
664
|
+
// If creating the internal policy succeeded sign internal variables.
|
665
|
+
if (trustedTypesPolicy !== null && typeof emptyHTML === 'string') {
|
666
|
+
emptyHTML = trustedTypesPolicy.createHTML('');
|
667
|
+
}
|
668
|
+
}
|
676
669
|
// Prevent further manipulation of configuration.
|
677
670
|
// Not available in IE8, Safari 5, etc.
|
678
671
|
if (freeze) {
|
@@ -680,35 +673,19 @@ var purify$2 = {exports: {}};
|
|
680
673
|
}
|
681
674
|
CONFIG = cfg;
|
682
675
|
};
|
683
|
-
var MATHML_TEXT_INTEGRATION_POINTS = addToSet({}, ['mi', 'mo', 'mn', 'ms', 'mtext']);
|
684
|
-
var HTML_INTEGRATION_POINTS = addToSet({}, ['annotation-xml']);
|
685
|
-
|
686
|
-
// Certain elements are allowed in both SVG and HTML
|
687
|
-
// namespace. We need to specify them explicitly
|
688
|
-
// so that they don't get erroneously deleted from
|
689
|
-
// HTML namespace.
|
690
|
-
var COMMON_SVG_AND_HTML_ELEMENTS = addToSet({}, ['title', 'style', 'font', 'a', 'script']);
|
691
|
-
|
692
676
|
/* Keep track of all possible SVG and MathML tags
|
693
677
|
* so that we can perform the namespace checks
|
694
678
|
* correctly. */
|
695
|
-
|
696
|
-
addToSet(
|
697
|
-
addToSet(ALL_SVG_TAGS, svgDisallowed);
|
698
|
-
var ALL_MATHML_TAGS = addToSet({}, mathMl$1);
|
699
|
-
addToSet(ALL_MATHML_TAGS, mathMlDisallowed);
|
700
|
-
|
679
|
+
const ALL_SVG_TAGS = addToSet({}, [...svg$1, ...svgFilters, ...svgDisallowed]);
|
680
|
+
const ALL_MATHML_TAGS = addToSet({}, [...mathMl$1, ...mathMlDisallowed]);
|
701
681
|
/**
|
702
|
-
*
|
703
|
-
*
|
704
|
-
* @param {Element} element a DOM element whose namespace is being checked
|
705
|
-
* @returns {boolean} Return false if the element has a
|
682
|
+
* @param element a DOM element whose namespace is being checked
|
683
|
+
* @returns Return false if the element has a
|
706
684
|
* namespace that a spec-compliant parser would never
|
707
685
|
* return. Return true otherwise.
|
708
686
|
*/
|
709
|
-
|
710
|
-
|
711
|
-
|
687
|
+
const _checkValidNamespace = function _checkValidNamespace(element) {
|
688
|
+
let parent = getParentNode(element);
|
712
689
|
// In JSDOM, if we're inside shadow DOM, then parentNode
|
713
690
|
// can be null. We just simulate parent in this case.
|
714
691
|
if (!parent || !parent.tagName) {
|
@@ -717,8 +694,8 @@ var purify$2 = {exports: {}};
|
|
717
694
|
tagName: 'template'
|
718
695
|
};
|
719
696
|
}
|
720
|
-
|
721
|
-
|
697
|
+
const tagName = stringToLowerCase(element.tagName);
|
698
|
+
const parentTagName = stringToLowerCase(parent.tagName);
|
722
699
|
if (!ALLOWED_NAMESPACES[element.namespaceURI]) {
|
723
700
|
return false;
|
724
701
|
}
|
@@ -729,14 +706,12 @@ var purify$2 = {exports: {}};
|
|
729
706
|
if (parent.namespaceURI === HTML_NAMESPACE) {
|
730
707
|
return tagName === 'svg';
|
731
708
|
}
|
732
|
-
|
733
709
|
// The only way to switch from MathML to SVG is via`
|
734
710
|
// svg if parent is either <annotation-xml> or MathML
|
735
711
|
// text integration points.
|
736
712
|
if (parent.namespaceURI === MATHML_NAMESPACE) {
|
737
713
|
return tagName === 'svg' && (parentTagName === 'annotation-xml' || MATHML_TEXT_INTEGRATION_POINTS[parentTagName]);
|
738
714
|
}
|
739
|
-
|
740
715
|
// We only allow elements that are defined in SVG
|
741
716
|
// spec. All others are disallowed in SVG namespace.
|
742
717
|
return Boolean(ALL_SVG_TAGS[tagName]);
|
@@ -748,13 +723,11 @@ var purify$2 = {exports: {}};
|
|
748
723
|
if (parent.namespaceURI === HTML_NAMESPACE) {
|
749
724
|
return tagName === 'math';
|
750
725
|
}
|
751
|
-
|
752
726
|
// The only way to switch from SVG to MathML is via
|
753
727
|
// <math> and HTML integration points
|
754
728
|
if (parent.namespaceURI === SVG_NAMESPACE) {
|
755
729
|
return tagName === 'math' && HTML_INTEGRATION_POINTS[parentTagName];
|
756
730
|
}
|
757
|
-
|
758
731
|
// We only allow elements that are defined in MathML
|
759
732
|
// spec. All others are disallowed in MathML namespace.
|
760
733
|
return Boolean(ALL_MATHML_TAGS[tagName]);
|
@@ -769,101 +742,90 @@ var purify$2 = {exports: {}};
|
|
769
742
|
if (parent.namespaceURI === MATHML_NAMESPACE && !MATHML_TEXT_INTEGRATION_POINTS[parentTagName]) {
|
770
743
|
return false;
|
771
744
|
}
|
772
|
-
|
773
745
|
// We disallow tags that are specific for MathML
|
774
746
|
// or SVG and should never appear in HTML namespace
|
775
747
|
return !ALL_MATHML_TAGS[tagName] && (COMMON_SVG_AND_HTML_ELEMENTS[tagName] || !ALL_SVG_TAGS[tagName]);
|
776
748
|
}
|
777
|
-
|
778
749
|
// For XHTML and XML documents that support custom namespaces
|
779
750
|
if (PARSER_MEDIA_TYPE === 'application/xhtml+xml' && ALLOWED_NAMESPACES[element.namespaceURI]) {
|
780
751
|
return true;
|
781
752
|
}
|
782
|
-
|
783
753
|
// The code should never reach this place (this means
|
784
754
|
// that the element somehow got namespace that is not
|
785
755
|
// HTML, SVG, MathML or allowed via ALLOWED_NAMESPACES).
|
786
756
|
// Return false just in case.
|
787
757
|
return false;
|
788
758
|
};
|
789
|
-
|
790
759
|
/**
|
791
760
|
* _forceRemove
|
792
761
|
*
|
793
|
-
* @param
|
762
|
+
* @param node a DOM node
|
794
763
|
*/
|
795
|
-
|
764
|
+
const _forceRemove = function _forceRemove(node) {
|
796
765
|
arrayPush(DOMPurify.removed, {
|
797
766
|
element: node
|
798
767
|
});
|
799
768
|
try {
|
800
769
|
// eslint-disable-next-line unicorn/prefer-dom-node-remove
|
801
|
-
node.
|
770
|
+
getParentNode(node).removeChild(node);
|
802
771
|
} catch (_) {
|
803
|
-
|
804
|
-
node.outerHTML = emptyHTML;
|
805
|
-
} catch (_) {
|
806
|
-
node.remove();
|
807
|
-
}
|
772
|
+
remove(node);
|
808
773
|
}
|
809
774
|
};
|
810
|
-
|
811
775
|
/**
|
812
776
|
* _removeAttribute
|
813
777
|
*
|
814
|
-
* @param
|
815
|
-
* @param
|
778
|
+
* @param name an Attribute name
|
779
|
+
* @param element a DOM node
|
816
780
|
*/
|
817
|
-
|
781
|
+
const _removeAttribute = function _removeAttribute(name, element) {
|
818
782
|
try {
|
819
783
|
arrayPush(DOMPurify.removed, {
|
820
|
-
attribute:
|
821
|
-
from:
|
784
|
+
attribute: element.getAttributeNode(name),
|
785
|
+
from: element
|
822
786
|
});
|
823
787
|
} catch (_) {
|
824
788
|
arrayPush(DOMPurify.removed, {
|
825
789
|
attribute: null,
|
826
|
-
from:
|
790
|
+
from: element
|
827
791
|
});
|
828
792
|
}
|
829
|
-
|
830
|
-
|
831
|
-
|
832
|
-
if (name === 'is' && !ALLOWED_ATTR[name]) {
|
793
|
+
element.removeAttribute(name);
|
794
|
+
// We void attribute values for unremovable "is" attributes
|
795
|
+
if (name === 'is') {
|
833
796
|
if (RETURN_DOM || RETURN_DOM_FRAGMENT) {
|
834
797
|
try {
|
835
|
-
_forceRemove(
|
798
|
+
_forceRemove(element);
|
836
799
|
} catch (_) {}
|
837
800
|
} else {
|
838
801
|
try {
|
839
|
-
|
802
|
+
element.setAttribute(name, '');
|
840
803
|
} catch (_) {}
|
841
804
|
}
|
842
805
|
}
|
843
806
|
};
|
844
|
-
|
845
807
|
/**
|
846
808
|
* _initDocument
|
847
809
|
*
|
848
|
-
* @param
|
849
|
-
* @return
|
810
|
+
* @param dirty - a string of dirty markup
|
811
|
+
* @return a DOM, filled with the dirty markup
|
850
812
|
*/
|
851
|
-
|
813
|
+
const _initDocument = function _initDocument(dirty) {
|
852
814
|
/* Create a HTML document */
|
853
|
-
|
854
|
-
|
815
|
+
let doc = null;
|
816
|
+
let leadingWhitespace = null;
|
855
817
|
if (FORCE_BODY) {
|
856
818
|
dirty = '<remove></remove>' + dirty;
|
857
819
|
} else {
|
858
820
|
/* If FORCE_BODY isn't used, leading whitespace needs to be preserved manually */
|
859
|
-
|
821
|
+
const matches = stringMatch(dirty, /^[\r\n\t ]+/);
|
860
822
|
leadingWhitespace = matches && matches[0];
|
861
823
|
}
|
862
824
|
if (PARSER_MEDIA_TYPE === 'application/xhtml+xml' && NAMESPACE === HTML_NAMESPACE) {
|
863
825
|
// Root of XHTML doc must contain xmlns declaration (see https://www.w3.org/TR/xhtml1/normative.html#strict)
|
864
826
|
dirty = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + dirty + '</body></html>';
|
865
827
|
}
|
866
|
-
|
828
|
+
const dirtyPayload = trustedTypesPolicy ? trustedTypesPolicy.createHTML(dirty) : dirty;
|
867
829
|
/*
|
868
830
|
* Use the DOMParser API by default, fallback later if needs be
|
869
831
|
* DOMParser not work for svg when has multiple root element.
|
@@ -873,7 +835,6 @@ var purify$2 = {exports: {}};
|
|
873
835
|
doc = new DOMParser().parseFromString(dirtyPayload, PARSER_MEDIA_TYPE);
|
874
836
|
} catch (_) {}
|
875
837
|
}
|
876
|
-
|
877
838
|
/* Use createHTMLDocument in case DOMParser is not available */
|
878
839
|
if (!doc || !doc.documentElement) {
|
879
840
|
doc = implementation.createDocument(NAMESPACE, 'template', null);
|
@@ -883,144 +844,109 @@ var purify$2 = {exports: {}};
|
|
883
844
|
// Syntax error if dirtyPayload is invalid xml
|
884
845
|
}
|
885
846
|
}
|
886
|
-
|
847
|
+
const body = doc.body || doc.documentElement;
|
887
848
|
if (dirty && leadingWhitespace) {
|
888
849
|
body.insertBefore(document.createTextNode(leadingWhitespace), body.childNodes[0] || null);
|
889
850
|
}
|
890
|
-
|
891
851
|
/* Work on whole document or just its body */
|
892
852
|
if (NAMESPACE === HTML_NAMESPACE) {
|
893
853
|
return getElementsByTagName.call(doc, WHOLE_DOCUMENT ? 'html' : 'body')[0];
|
894
854
|
}
|
895
855
|
return WHOLE_DOCUMENT ? doc.documentElement : body;
|
896
856
|
};
|
897
|
-
|
898
857
|
/**
|
899
|
-
*
|
858
|
+
* Creates a NodeIterator object that you can use to traverse filtered lists of nodes or elements in a document.
|
900
859
|
*
|
901
|
-
* @param
|
902
|
-
* @return
|
860
|
+
* @param root The root element or node to start traversing on.
|
861
|
+
* @return The created NodeIterator
|
903
862
|
*/
|
904
|
-
|
863
|
+
const _createNodeIterator = function _createNodeIterator(root) {
|
905
864
|
return createNodeIterator.call(root.ownerDocument || root, root,
|
906
865
|
// eslint-disable-next-line no-bitwise
|
907
|
-
NodeFilter.SHOW_ELEMENT | NodeFilter.SHOW_COMMENT | NodeFilter.SHOW_TEXT | NodeFilter.SHOW_PROCESSING_INSTRUCTION | NodeFilter.SHOW_CDATA_SECTION, null
|
866
|
+
NodeFilter.SHOW_ELEMENT | NodeFilter.SHOW_COMMENT | NodeFilter.SHOW_TEXT | NodeFilter.SHOW_PROCESSING_INSTRUCTION | NodeFilter.SHOW_CDATA_SECTION, null);
|
908
867
|
};
|
909
|
-
|
910
868
|
/**
|
911
869
|
* _isClobbered
|
912
870
|
*
|
913
|
-
* @param
|
914
|
-
* @return
|
871
|
+
* @param element element to check for clobbering attacks
|
872
|
+
* @return true if clobbered, false if safe
|
915
873
|
*/
|
916
|
-
|
917
|
-
return
|
874
|
+
const _isClobbered = function _isClobbered(element) {
|
875
|
+
return element instanceof HTMLFormElement && (typeof element.nodeName !== 'string' || typeof element.textContent !== 'string' || typeof element.removeChild !== 'function' || !(element.attributes instanceof NamedNodeMap) || typeof element.removeAttribute !== 'function' || typeof element.setAttribute !== 'function' || typeof element.namespaceURI !== 'string' || typeof element.insertBefore !== 'function' || typeof element.hasChildNodes !== 'function');
|
918
876
|
};
|
919
|
-
|
920
877
|
/**
|
921
|
-
*
|
878
|
+
* Checks whether the given object is a DOM node.
|
922
879
|
*
|
923
|
-
* @param
|
924
|
-
* @return
|
880
|
+
* @param value object to check whether it's a DOM node
|
881
|
+
* @return true is object is a DOM node
|
925
882
|
*/
|
926
|
-
|
927
|
-
return
|
883
|
+
const _isNode = function _isNode(value) {
|
884
|
+
return typeof Node === 'function' && value instanceof Node;
|
928
885
|
};
|
929
|
-
|
930
|
-
|
931
|
-
* _executeHook
|
932
|
-
* Execute user configurable hooks
|
933
|
-
*
|
934
|
-
* @param {String} entryPoint Name of the hook's entry point
|
935
|
-
* @param {Node} currentNode node to work on with the hook
|
936
|
-
* @param {Object} data additional hook parameters
|
937
|
-
*/
|
938
|
-
var _executeHook = function _executeHook(entryPoint, currentNode, data) {
|
939
|
-
if (!hooks[entryPoint]) {
|
940
|
-
return;
|
941
|
-
}
|
942
|
-
arrayForEach(hooks[entryPoint], function (hook) {
|
886
|
+
function _executeHooks(hooks, currentNode, data) {
|
887
|
+
arrayForEach(hooks, hook => {
|
943
888
|
hook.call(DOMPurify, currentNode, data, CONFIG);
|
944
889
|
});
|
945
|
-
}
|
946
|
-
|
890
|
+
}
|
947
891
|
/**
|
948
892
|
* _sanitizeElements
|
949
893
|
*
|
950
894
|
* @protect nodeName
|
951
895
|
* @protect textContent
|
952
896
|
* @protect removeChild
|
953
|
-
*
|
954
|
-
* @
|
955
|
-
* @return {Boolean} true if node was killed, false if left alive
|
897
|
+
* @param currentNode to check for permission to exist
|
898
|
+
* @return true if node was killed, false if left alive
|
956
899
|
*/
|
957
|
-
|
958
|
-
|
959
|
-
|
900
|
+
const _sanitizeElements = function _sanitizeElements(currentNode) {
|
901
|
+
let content = null;
|
960
902
|
/* Execute a hook if present */
|
961
|
-
|
962
|
-
|
903
|
+
_executeHooks(hooks.beforeSanitizeElements, currentNode, null);
|
963
904
|
/* Check if element is clobbered or can clobber */
|
964
905
|
if (_isClobbered(currentNode)) {
|
965
906
|
_forceRemove(currentNode);
|
966
907
|
return true;
|
967
908
|
}
|
968
|
-
|
969
|
-
/* Check if tagname contains Unicode */
|
970
|
-
if (regExpTest(/[\u0080-\uFFFF]/, currentNode.nodeName)) {
|
971
|
-
_forceRemove(currentNode);
|
972
|
-
return true;
|
973
|
-
}
|
974
|
-
|
975
909
|
/* Now let's check the element's type and name */
|
976
|
-
|
977
|
-
|
910
|
+
const tagName = transformCaseFunc(currentNode.nodeName);
|
978
911
|
/* Execute a hook if present */
|
979
|
-
|
980
|
-
tagName
|
912
|
+
_executeHooks(hooks.uponSanitizeElement, currentNode, {
|
913
|
+
tagName,
|
981
914
|
allowedTags: ALLOWED_TAGS
|
982
915
|
});
|
983
|
-
|
984
916
|
/* Detect mXSS attempts abusing namespace confusion */
|
985
|
-
if (currentNode.hasChildNodes() && !_isNode(currentNode.firstElementChild) &&
|
917
|
+
if (currentNode.hasChildNodes() && !_isNode(currentNode.firstElementChild) && regExpTest(/<[/\w]/g, currentNode.innerHTML) && regExpTest(/<[/\w]/g, currentNode.textContent)) {
|
986
918
|
_forceRemove(currentNode);
|
987
919
|
return true;
|
988
920
|
}
|
989
|
-
|
990
|
-
|
991
|
-
if (tagName === 'select' && regExpTest(/<template/i, currentNode.innerHTML)) {
|
921
|
+
/* Remove any occurrence of processing instructions */
|
922
|
+
if (currentNode.nodeType === NODE_TYPE.progressingInstruction) {
|
992
923
|
_forceRemove(currentNode);
|
993
924
|
return true;
|
994
925
|
}
|
995
|
-
|
996
|
-
/* Remove any ocurrence of processing instructions */
|
997
|
-
if (currentNode.nodeType === 7) {
|
998
|
-
_forceRemove(currentNode);
|
999
|
-
return true;
|
1000
|
-
}
|
1001
|
-
|
1002
926
|
/* Remove any kind of possibly harmful comments */
|
1003
|
-
if (SAFE_FOR_XML && currentNode.nodeType ===
|
927
|
+
if (SAFE_FOR_XML && currentNode.nodeType === NODE_TYPE.comment && regExpTest(/<[/\w]/g, currentNode.data)) {
|
1004
928
|
_forceRemove(currentNode);
|
1005
929
|
return true;
|
1006
930
|
}
|
1007
|
-
|
1008
931
|
/* Remove element if anything forbids its presence */
|
1009
932
|
if (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName]) {
|
1010
933
|
/* Check if we have a custom element to handle */
|
1011
|
-
if (!FORBID_TAGS[tagName] &&
|
1012
|
-
if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, tagName))
|
1013
|
-
|
934
|
+
if (!FORBID_TAGS[tagName] && _isBasicCustomElement(tagName)) {
|
935
|
+
if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, tagName)) {
|
936
|
+
return false;
|
937
|
+
}
|
938
|
+
if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(tagName)) {
|
939
|
+
return false;
|
940
|
+
}
|
1014
941
|
}
|
1015
|
-
|
1016
942
|
/* Keep content except for bad-listed elements */
|
1017
943
|
if (KEEP_CONTENT && !FORBID_CONTENTS[tagName]) {
|
1018
|
-
|
1019
|
-
|
944
|
+
const parentNode = getParentNode(currentNode) || currentNode.parentNode;
|
945
|
+
const childNodes = getChildNodes(currentNode) || currentNode.childNodes;
|
1020
946
|
if (childNodes && parentNode) {
|
1021
|
-
|
1022
|
-
for (
|
1023
|
-
|
947
|
+
const childCount = childNodes.length;
|
948
|
+
for (let i = childCount - 1; i >= 0; --i) {
|
949
|
+
const childClone = cloneNode(childNodes[i], true);
|
1024
950
|
childClone.__removalCount = (currentNode.__removalCount || 0) + 1;
|
1025
951
|
parentNode.insertBefore(childClone, getNextSibling(currentNode));
|
1026
952
|
}
|
@@ -1029,26 +955,23 @@ var purify$2 = {exports: {}};
|
|
1029
955
|
_forceRemove(currentNode);
|
1030
956
|
return true;
|
1031
957
|
}
|
1032
|
-
|
1033
958
|
/* Check whether element has a valid namespace */
|
1034
959
|
if (currentNode instanceof Element && !_checkValidNamespace(currentNode)) {
|
1035
960
|
_forceRemove(currentNode);
|
1036
961
|
return true;
|
1037
962
|
}
|
1038
|
-
|
1039
963
|
/* Make sure that older browsers don't get fallback-tag mXSS */
|
1040
964
|
if ((tagName === 'noscript' || tagName === 'noembed' || tagName === 'noframes') && regExpTest(/<\/no(script|embed|frames)/i, currentNode.innerHTML)) {
|
1041
965
|
_forceRemove(currentNode);
|
1042
966
|
return true;
|
1043
967
|
}
|
1044
|
-
|
1045
968
|
/* Sanitize element content to be template-safe */
|
1046
|
-
if (SAFE_FOR_TEMPLATES && currentNode.nodeType ===
|
969
|
+
if (SAFE_FOR_TEMPLATES && currentNode.nodeType === NODE_TYPE.text) {
|
1047
970
|
/* Get the element's text content */
|
1048
971
|
content = currentNode.textContent;
|
1049
|
-
|
1050
|
-
|
1051
|
-
|
972
|
+
arrayForEach([MUSTACHE_EXPR, ERB_EXPR, TMPLIT_EXPR], expr => {
|
973
|
+
content = stringReplace(content, expr, ' ');
|
974
|
+
});
|
1052
975
|
if (currentNode.textContent !== content) {
|
1053
976
|
arrayPush(DOMPurify.removed, {
|
1054
977
|
element: currentNode.cloneNode()
|
@@ -1056,59 +979,56 @@ var purify$2 = {exports: {}};
|
|
1056
979
|
currentNode.textContent = content;
|
1057
980
|
}
|
1058
981
|
}
|
1059
|
-
|
1060
982
|
/* Execute a hook if present */
|
1061
|
-
|
983
|
+
_executeHooks(hooks.afterSanitizeElements, currentNode, null);
|
1062
984
|
return false;
|
1063
985
|
};
|
1064
|
-
|
1065
986
|
/**
|
1066
987
|
* _isValidAttribute
|
1067
988
|
*
|
1068
|
-
* @param
|
1069
|
-
* @param
|
1070
|
-
* @param
|
1071
|
-
* @return
|
989
|
+
* @param lcTag Lowercase tag name of containing element.
|
990
|
+
* @param lcName Lowercase attribute name.
|
991
|
+
* @param value Attribute value.
|
992
|
+
* @return Returns true if `value` is valid, otherwise false.
|
1072
993
|
*/
|
1073
994
|
// eslint-disable-next-line complexity
|
1074
|
-
|
995
|
+
const _isValidAttribute = function _isValidAttribute(lcTag, lcName, value) {
|
1075
996
|
/* Make sure attribute cannot clobber */
|
1076
997
|
if (SANITIZE_DOM && (lcName === 'id' || lcName === 'name') && (value in document || value in formElement)) {
|
1077
998
|
return false;
|
1078
999
|
}
|
1079
|
-
|
1080
1000
|
/* Allow valid data-* attributes: At least one character after "-"
|
1081
1001
|
(https://html.spec.whatwg.org/multipage/dom.html#embedding-custom-non-visible-data-with-the-data-*-attributes)
|
1082
1002
|
XML-compatible (https://html.spec.whatwg.org/multipage/infrastructure.html#xml-compatible and http://www.w3.org/TR/xml/#d0e804)
|
1083
1003
|
We don't need to check the value; it's always URI safe. */
|
1084
|
-
if (ALLOW_DATA_ATTR && !FORBID_ATTR[lcName] && regExpTest(DATA_ATTR
|
1004
|
+
if (ALLOW_DATA_ATTR && !FORBID_ATTR[lcName] && regExpTest(DATA_ATTR, lcName)) ; else if (ALLOW_ARIA_ATTR && regExpTest(ARIA_ATTR, lcName)) ; else if (!ALLOWED_ATTR[lcName] || FORBID_ATTR[lcName]) {
|
1085
1005
|
if (
|
1086
1006
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
1087
1007
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
1088
1008
|
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
1089
|
-
|
1009
|
+
_isBasicCustomElement(lcTag) && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, lcTag) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(lcTag)) && (CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.attributeNameCheck, lcName) || CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.attributeNameCheck(lcName)) ||
|
1090
1010
|
// Alternative, second condition checks if it's an `is`-attribute, AND
|
1091
1011
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
1092
1012
|
lcName === 'is' && CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, value) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(value))) ; else {
|
1093
1013
|
return false;
|
1094
1014
|
}
|
1095
1015
|
/* Check value is safe. First, is attr inert? If so, is safe */
|
1096
|
-
} else if (URI_SAFE_ATTRIBUTES[lcName]) ; else if (regExpTest(IS_ALLOWED_URI$1, stringReplace(value, ATTR_WHITESPACE
|
1016
|
+
} else if (URI_SAFE_ATTRIBUTES[lcName]) ; else if (regExpTest(IS_ALLOWED_URI$1, stringReplace(value, ATTR_WHITESPACE, ''))) ; else if ((lcName === 'src' || lcName === 'xlink:href' || lcName === 'href') && lcTag !== 'script' && stringIndexOf(value, 'data:') === 0 && DATA_URI_TAGS[lcTag]) ; else if (ALLOW_UNKNOWN_PROTOCOLS && !regExpTest(IS_SCRIPT_OR_DATA, stringReplace(value, ATTR_WHITESPACE, ''))) ; else if (value) {
|
1097
1017
|
return false;
|
1098
1018
|
} else ;
|
1099
1019
|
return true;
|
1100
1020
|
};
|
1101
|
-
|
1102
1021
|
/**
|
1103
|
-
*
|
1022
|
+
* _isBasicCustomElement
|
1104
1023
|
* checks if at least one dash is included in tagName, and it's not the first char
|
1105
1024
|
* for more sophisticated checking see https://github.com/sindresorhus/validate-element-name
|
1106
|
-
*
|
1025
|
+
*
|
1026
|
+
* @param tagName name of the tag of the node to sanitize
|
1027
|
+
* @returns Returns true if the tag name meets the basic criteria for a custom element, otherwise false.
|
1107
1028
|
*/
|
1108
|
-
|
1109
|
-
return tagName !== 'annotation-xml' && stringMatch(tagName, CUSTOM_ELEMENT
|
1029
|
+
const _isBasicCustomElement = function _isBasicCustomElement(tagName) {
|
1030
|
+
return tagName !== 'annotation-xml' && stringMatch(tagName, CUSTOM_ELEMENT);
|
1110
1031
|
};
|
1111
|
-
|
1112
1032
|
/**
|
1113
1033
|
* _sanitizeAttributes
|
1114
1034
|
*
|
@@ -1117,97 +1037,85 @@ var purify$2 = {exports: {}};
|
|
1117
1037
|
* @protect removeAttribute
|
1118
1038
|
* @protect setAttribute
|
1119
1039
|
*
|
1120
|
-
* @param
|
1040
|
+
* @param currentNode to sanitize
|
1121
1041
|
*/
|
1122
|
-
|
1123
|
-
var attr;
|
1124
|
-
var value;
|
1125
|
-
var lcName;
|
1126
|
-
var l;
|
1042
|
+
const _sanitizeAttributes = function _sanitizeAttributes(currentNode) {
|
1127
1043
|
/* Execute a hook if present */
|
1128
|
-
|
1129
|
-
|
1130
|
-
|
1044
|
+
_executeHooks(hooks.beforeSanitizeAttributes, currentNode, null);
|
1045
|
+
const {
|
1046
|
+
attributes
|
1047
|
+
} = currentNode;
|
1131
1048
|
/* Check if we have attributes; if not we might have a text node */
|
1132
1049
|
if (!attributes || _isClobbered(currentNode)) {
|
1133
1050
|
return;
|
1134
1051
|
}
|
1135
|
-
|
1052
|
+
const hookEvent = {
|
1136
1053
|
attrName: '',
|
1137
1054
|
attrValue: '',
|
1138
1055
|
keepAttr: true,
|
1139
|
-
allowedAttributes: ALLOWED_ATTR
|
1056
|
+
allowedAttributes: ALLOWED_ATTR,
|
1057
|
+
forceKeepAttr: undefined
|
1140
1058
|
};
|
1141
|
-
l = attributes.length;
|
1142
|
-
|
1059
|
+
let l = attributes.length;
|
1143
1060
|
/* Go backwards over all attributes; safely remove bad ones */
|
1144
1061
|
while (l--) {
|
1145
|
-
attr = attributes[l];
|
1146
|
-
|
1147
|
-
name
|
1148
|
-
namespaceURI
|
1149
|
-
|
1150
|
-
|
1151
|
-
|
1062
|
+
const attr = attributes[l];
|
1063
|
+
const {
|
1064
|
+
name,
|
1065
|
+
namespaceURI,
|
1066
|
+
value: attrValue
|
1067
|
+
} = attr;
|
1068
|
+
const lcName = transformCaseFunc(name);
|
1069
|
+
let value = name === 'value' ? attrValue : stringTrim(attrValue);
|
1152
1070
|
/* Execute a hook if present */
|
1153
1071
|
hookEvent.attrName = lcName;
|
1154
1072
|
hookEvent.attrValue = value;
|
1155
1073
|
hookEvent.keepAttr = true;
|
1156
1074
|
hookEvent.forceKeepAttr = undefined; // Allows developers to see this is a property they can set
|
1157
|
-
|
1075
|
+
_executeHooks(hooks.uponSanitizeAttribute, currentNode, hookEvent);
|
1158
1076
|
value = hookEvent.attrValue;
|
1159
|
-
|
1077
|
+
/* Full DOM Clobbering protection via namespace isolation,
|
1078
|
+
* Prefix id and name attributes with `user-content-`
|
1079
|
+
*/
|
1080
|
+
if (SANITIZE_NAMED_PROPS && (lcName === 'id' || lcName === 'name')) {
|
1081
|
+
// Remove the attribute with this value
|
1082
|
+
_removeAttribute(name, currentNode);
|
1083
|
+
// Prefix the value and later re-create the attribute with the sanitized value
|
1084
|
+
value = SANITIZE_NAMED_PROPS_PREFIX + value;
|
1085
|
+
}
|
1086
|
+
/* Work around a security issue with comments inside attributes */
|
1087
|
+
if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\/(style|title)/i, value)) {
|
1088
|
+
_removeAttribute(name, currentNode);
|
1089
|
+
continue;
|
1090
|
+
}
|
1160
1091
|
/* Did the hooks approve of the attribute? */
|
1161
1092
|
if (hookEvent.forceKeepAttr) {
|
1162
1093
|
continue;
|
1163
1094
|
}
|
1164
|
-
|
1165
1095
|
/* Remove attribute */
|
1166
1096
|
_removeAttribute(name, currentNode);
|
1167
|
-
|
1168
1097
|
/* Did the hooks approve of the attribute? */
|
1169
1098
|
if (!hookEvent.keepAttr) {
|
1170
1099
|
continue;
|
1171
1100
|
}
|
1172
|
-
|
1173
1101
|
/* Work around a security issue in jQuery 3.0 */
|
1174
1102
|
if (!ALLOW_SELF_CLOSE_IN_ATTR && regExpTest(/\/>/i, value)) {
|
1175
1103
|
_removeAttribute(name, currentNode);
|
1176
1104
|
continue;
|
1177
1105
|
}
|
1178
|
-
|
1179
1106
|
/* Sanitize attribute content to be template-safe */
|
1180
1107
|
if (SAFE_FOR_TEMPLATES) {
|
1181
|
-
|
1182
|
-
|
1183
|
-
|
1108
|
+
arrayForEach([MUSTACHE_EXPR, ERB_EXPR, TMPLIT_EXPR], expr => {
|
1109
|
+
value = stringReplace(value, expr, ' ');
|
1110
|
+
});
|
1184
1111
|
}
|
1185
|
-
|
1186
1112
|
/* Is `value` valid for this attribute? */
|
1187
|
-
|
1113
|
+
const lcTag = transformCaseFunc(currentNode.nodeName);
|
1188
1114
|
if (!_isValidAttribute(lcTag, lcName, value)) {
|
1189
1115
|
continue;
|
1190
1116
|
}
|
1191
|
-
|
1192
|
-
/* Full DOM Clobbering protection via namespace isolation,
|
1193
|
-
* Prefix id and name attributes with `user-content-`
|
1194
|
-
*/
|
1195
|
-
if (SANITIZE_NAMED_PROPS && (lcName === 'id' || lcName === 'name')) {
|
1196
|
-
// Remove the attribute with this value
|
1197
|
-
_removeAttribute(name, currentNode);
|
1198
|
-
|
1199
|
-
// Prefix the value and later re-create the attribute with the sanitized value
|
1200
|
-
value = SANITIZE_NAMED_PROPS_PREFIX + value;
|
1201
|
-
}
|
1202
|
-
|
1203
|
-
/* Work around a security issue with comments inside attributes */
|
1204
|
-
if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\/(style|title)/i, value)) {
|
1205
|
-
_removeAttribute(name, currentNode);
|
1206
|
-
continue;
|
1207
|
-
}
|
1208
|
-
|
1209
1117
|
/* Handle attributes that require Trusted Types */
|
1210
|
-
if (trustedTypesPolicy &&
|
1118
|
+
if (trustedTypesPolicy && typeof trustedTypes === 'object' && typeof trustedTypes.getAttributeType === 'function') {
|
1211
1119
|
if (namespaceURI) ; else {
|
1212
1120
|
switch (trustedTypes.getAttributeType(lcTag, lcName)) {
|
1213
1121
|
case 'TrustedHTML':
|
@@ -1223,7 +1131,6 @@ var purify$2 = {exports: {}};
|
|
1223
1131
|
}
|
1224
1132
|
}
|
1225
1133
|
}
|
1226
|
-
|
1227
1134
|
/* Handle invalid data-* attribute set by try-catching it */
|
1228
1135
|
try {
|
1229
1136
|
if (namespaceURI) {
|
@@ -1239,56 +1146,41 @@ var purify$2 = {exports: {}};
|
|
1239
1146
|
}
|
1240
1147
|
} catch (_) {}
|
1241
1148
|
}
|
1242
|
-
|
1243
1149
|
/* Execute a hook if present */
|
1244
|
-
|
1150
|
+
_executeHooks(hooks.afterSanitizeAttributes, currentNode, null);
|
1245
1151
|
};
|
1246
|
-
|
1247
1152
|
/**
|
1248
1153
|
* _sanitizeShadowDOM
|
1249
1154
|
*
|
1250
|
-
* @param
|
1155
|
+
* @param fragment to iterate over recursively
|
1251
1156
|
*/
|
1252
|
-
|
1253
|
-
|
1254
|
-
|
1255
|
-
|
1157
|
+
const _sanitizeShadowDOM = function _sanitizeShadowDOM(fragment) {
|
1158
|
+
let shadowNode = null;
|
1159
|
+
const shadowIterator = _createNodeIterator(fragment);
|
1256
1160
|
/* Execute a hook if present */
|
1257
|
-
|
1161
|
+
_executeHooks(hooks.beforeSanitizeShadowDOM, fragment, null);
|
1258
1162
|
while (shadowNode = shadowIterator.nextNode()) {
|
1259
1163
|
/* Execute a hook if present */
|
1260
|
-
|
1164
|
+
_executeHooks(hooks.uponSanitizeShadowNode, shadowNode, null);
|
1261
1165
|
/* Sanitize tags and elements */
|
1262
1166
|
_sanitizeElements(shadowNode);
|
1263
|
-
|
1264
1167
|
/* Check attributes next */
|
1265
1168
|
_sanitizeAttributes(shadowNode);
|
1266
|
-
|
1267
1169
|
/* Deep shadow DOM detected */
|
1268
1170
|
if (shadowNode.content instanceof DocumentFragment) {
|
1269
1171
|
_sanitizeShadowDOM(shadowNode.content);
|
1270
1172
|
}
|
1271
1173
|
}
|
1272
|
-
|
1273
1174
|
/* Execute a hook if present */
|
1274
|
-
|
1175
|
+
_executeHooks(hooks.afterSanitizeShadowDOM, fragment, null);
|
1275
1176
|
};
|
1276
|
-
|
1277
|
-
/**
|
1278
|
-
* Sanitize
|
1279
|
-
* Public method providing core sanitation functionality
|
1280
|
-
*
|
1281
|
-
* @param {String|Node} dirty string or DOM node
|
1282
|
-
* @param {Object} configuration object
|
1283
|
-
*/
|
1284
1177
|
// eslint-disable-next-line complexity
|
1285
1178
|
DOMPurify.sanitize = function (dirty) {
|
1286
|
-
|
1287
|
-
|
1288
|
-
|
1289
|
-
|
1290
|
-
|
1291
|
-
var returnNode;
|
1179
|
+
let cfg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
1180
|
+
let body = null;
|
1181
|
+
let importedNode = null;
|
1182
|
+
let currentNode = null;
|
1183
|
+
let returnNode = null;
|
1292
1184
|
/* Make sure we have a string to sanitize.
|
1293
1185
|
DO NOT return early, as this will return the wrong type if
|
1294
1186
|
the user has requested a DOM object rather than a string */
|
@@ -1296,7 +1188,6 @@ var purify$2 = {exports: {}};
|
|
1296
1188
|
if (IS_EMPTY_INPUT) {
|
1297
1189
|
dirty = '<!-->';
|
1298
1190
|
}
|
1299
|
-
|
1300
1191
|
/* Stringify, in case dirty is an object */
|
1301
1192
|
if (typeof dirty !== 'string' && !_isNode(dirty)) {
|
1302
1193
|
if (typeof dirty.toString === 'function') {
|
@@ -1308,28 +1199,16 @@ var purify$2 = {exports: {}};
|
|
1308
1199
|
throw typeErrorCreate('toString is not a function');
|
1309
1200
|
}
|
1310
1201
|
}
|
1311
|
-
|
1312
|
-
/* Check we can run. Otherwise fall back or ignore */
|
1202
|
+
/* Return dirty HTML if DOMPurify cannot run */
|
1313
1203
|
if (!DOMPurify.isSupported) {
|
1314
|
-
if (_typeof(window.toStaticHTML) === 'object' || typeof window.toStaticHTML === 'function') {
|
1315
|
-
if (typeof dirty === 'string') {
|
1316
|
-
return window.toStaticHTML(dirty);
|
1317
|
-
}
|
1318
|
-
if (_isNode(dirty)) {
|
1319
|
-
return window.toStaticHTML(dirty.outerHTML);
|
1320
|
-
}
|
1321
|
-
}
|
1322
1204
|
return dirty;
|
1323
1205
|
}
|
1324
|
-
|
1325
1206
|
/* Assign config vars */
|
1326
1207
|
if (!SET_CONFIG) {
|
1327
1208
|
_parseConfig(cfg);
|
1328
1209
|
}
|
1329
|
-
|
1330
1210
|
/* Clean up removed elements */
|
1331
1211
|
DOMPurify.removed = [];
|
1332
|
-
|
1333
1212
|
/* Check if dirty is correctly typed for IN_PLACE */
|
1334
1213
|
if (typeof dirty === 'string') {
|
1335
1214
|
IN_PLACE = false;
|
@@ -1337,7 +1216,7 @@ var purify$2 = {exports: {}};
|
|
1337
1216
|
if (IN_PLACE) {
|
1338
1217
|
/* Do some early pre-sanitization to avoid unsafe root nodes */
|
1339
1218
|
if (dirty.nodeName) {
|
1340
|
-
|
1219
|
+
const tagName = transformCaseFunc(dirty.nodeName);
|
1341
1220
|
if (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName]) {
|
1342
1221
|
throw typeErrorCreate('root node is forbidden and cannot be sanitized in-place');
|
1343
1222
|
}
|
@@ -1347,7 +1226,7 @@ var purify$2 = {exports: {}};
|
|
1347
1226
|
elements being stripped by the parser */
|
1348
1227
|
body = _initDocument('<!---->');
|
1349
1228
|
importedNode = body.ownerDocument.importNode(dirty, true);
|
1350
|
-
if (importedNode.nodeType ===
|
1229
|
+
if (importedNode.nodeType === NODE_TYPE.element && importedNode.nodeName === 'BODY') {
|
1351
1230
|
/* Node is already a body, use as is */
|
1352
1231
|
body = importedNode;
|
1353
1232
|
} else if (importedNode.nodeName === 'HTML') {
|
@@ -1363,50 +1242,34 @@ var purify$2 = {exports: {}};
|
|
1363
1242
|
dirty.indexOf('<') === -1) {
|
1364
1243
|
return trustedTypesPolicy && RETURN_TRUSTED_TYPE ? trustedTypesPolicy.createHTML(dirty) : dirty;
|
1365
1244
|
}
|
1366
|
-
|
1367
1245
|
/* Initialize the document to work on */
|
1368
1246
|
body = _initDocument(dirty);
|
1369
|
-
|
1370
1247
|
/* Check we have a DOM node from the data */
|
1371
1248
|
if (!body) {
|
1372
1249
|
return RETURN_DOM ? null : RETURN_TRUSTED_TYPE ? emptyHTML : '';
|
1373
1250
|
}
|
1374
1251
|
}
|
1375
|
-
|
1376
1252
|
/* Remove first element node (ours) if FORCE_BODY is set */
|
1377
1253
|
if (body && FORCE_BODY) {
|
1378
1254
|
_forceRemove(body.firstChild);
|
1379
1255
|
}
|
1380
|
-
|
1381
1256
|
/* Get node iterator */
|
1382
|
-
|
1383
|
-
|
1257
|
+
const nodeIterator = _createNodeIterator(IN_PLACE ? dirty : body);
|
1384
1258
|
/* Now start iterating over the created document */
|
1385
1259
|
while (currentNode = nodeIterator.nextNode()) {
|
1386
|
-
/* Fix IE's strange behavior with manipulated textNodes #89 */
|
1387
|
-
if (currentNode.nodeType === 3 && currentNode === oldNode) {
|
1388
|
-
continue;
|
1389
|
-
}
|
1390
|
-
|
1391
1260
|
/* Sanitize tags and elements */
|
1392
1261
|
_sanitizeElements(currentNode);
|
1393
|
-
|
1394
1262
|
/* Check attributes next */
|
1395
1263
|
_sanitizeAttributes(currentNode);
|
1396
|
-
|
1397
1264
|
/* Shadow DOM detected, sanitize it */
|
1398
1265
|
if (currentNode.content instanceof DocumentFragment) {
|
1399
1266
|
_sanitizeShadowDOM(currentNode.content);
|
1400
1267
|
}
|
1401
|
-
oldNode = currentNode;
|
1402
1268
|
}
|
1403
|
-
oldNode = null;
|
1404
|
-
|
1405
1269
|
/* If we sanitized `dirty` in-place, return it. */
|
1406
1270
|
if (IN_PLACE) {
|
1407
1271
|
return dirty;
|
1408
1272
|
}
|
1409
|
-
|
1410
1273
|
/* Return sanitized string or DOM */
|
1411
1274
|
if (RETURN_DOM) {
|
1412
1275
|
if (RETURN_DOM_FRAGMENT) {
|
@@ -1418,7 +1281,7 @@ var purify$2 = {exports: {}};
|
|
1418
1281
|
} else {
|
1419
1282
|
returnNode = body;
|
1420
1283
|
}
|
1421
|
-
if (ALLOWED_ATTR.shadowroot || ALLOWED_ATTR.
|
1284
|
+
if (ALLOWED_ATTR.shadowroot || ALLOWED_ATTR.shadowrootmode) {
|
1422
1285
|
/*
|
1423
1286
|
AdoptNode() is not used because internal state is not reset
|
1424
1287
|
(e.g. the past names map of a HTMLFormElement), this is safe
|
@@ -1430,111 +1293,55 @@ var purify$2 = {exports: {}};
|
|
1430
1293
|
}
|
1431
1294
|
return returnNode;
|
1432
1295
|
}
|
1433
|
-
|
1434
|
-
|
1296
|
+
let serializedHTML = WHOLE_DOCUMENT ? body.outerHTML : body.innerHTML;
|
1435
1297
|
/* Serialize doctype if allowed */
|
1436
1298
|
if (WHOLE_DOCUMENT && ALLOWED_TAGS['!doctype'] && body.ownerDocument && body.ownerDocument.doctype && body.ownerDocument.doctype.name && regExpTest(DOCTYPE_NAME, body.ownerDocument.doctype.name)) {
|
1437
1299
|
serializedHTML = '<!DOCTYPE ' + body.ownerDocument.doctype.name + '>\n' + serializedHTML;
|
1438
1300
|
}
|
1439
|
-
|
1440
1301
|
/* Sanitize final string template-safe */
|
1441
1302
|
if (SAFE_FOR_TEMPLATES) {
|
1442
|
-
|
1443
|
-
|
1444
|
-
|
1303
|
+
arrayForEach([MUSTACHE_EXPR, ERB_EXPR, TMPLIT_EXPR], expr => {
|
1304
|
+
serializedHTML = stringReplace(serializedHTML, expr, ' ');
|
1305
|
+
});
|
1445
1306
|
}
|
1446
1307
|
return trustedTypesPolicy && RETURN_TRUSTED_TYPE ? trustedTypesPolicy.createHTML(serializedHTML) : serializedHTML;
|
1447
1308
|
};
|
1448
|
-
|
1449
|
-
|
1450
|
-
* Public method to set the configuration once
|
1451
|
-
* setConfig
|
1452
|
-
*
|
1453
|
-
* @param {Object} cfg configuration object
|
1454
|
-
*/
|
1455
|
-
DOMPurify.setConfig = function (cfg) {
|
1309
|
+
DOMPurify.setConfig = function () {
|
1310
|
+
let cfg = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
1456
1311
|
_parseConfig(cfg);
|
1457
1312
|
SET_CONFIG = true;
|
1458
1313
|
};
|
1459
|
-
|
1460
|
-
/**
|
1461
|
-
* Public method to remove the configuration
|
1462
|
-
* clearConfig
|
1463
|
-
*
|
1464
|
-
*/
|
1465
1314
|
DOMPurify.clearConfig = function () {
|
1466
1315
|
CONFIG = null;
|
1467
1316
|
SET_CONFIG = false;
|
1468
1317
|
};
|
1469
|
-
|
1470
|
-
/**
|
1471
|
-
* Public method to check if an attribute value is valid.
|
1472
|
-
* Uses last set config, if any. Otherwise, uses config defaults.
|
1473
|
-
* isValidAttribute
|
1474
|
-
*
|
1475
|
-
* @param {string} tag Tag name of containing element.
|
1476
|
-
* @param {string} attr Attribute name.
|
1477
|
-
* @param {string} value Attribute value.
|
1478
|
-
* @return {Boolean} Returns true if `value` is valid. Otherwise, returns false.
|
1479
|
-
*/
|
1480
1318
|
DOMPurify.isValidAttribute = function (tag, attr, value) {
|
1481
1319
|
/* Initialize shared config vars if necessary. */
|
1482
1320
|
if (!CONFIG) {
|
1483
1321
|
_parseConfig({});
|
1484
1322
|
}
|
1485
|
-
|
1486
|
-
|
1323
|
+
const lcTag = transformCaseFunc(tag);
|
1324
|
+
const lcName = transformCaseFunc(attr);
|
1487
1325
|
return _isValidAttribute(lcTag, lcName, value);
|
1488
1326
|
};
|
1489
|
-
|
1490
|
-
/**
|
1491
|
-
* AddHook
|
1492
|
-
* Public method to add DOMPurify hooks
|
1493
|
-
*
|
1494
|
-
* @param {String} entryPoint entry point for the hook to add
|
1495
|
-
* @param {Function} hookFunction function to execute
|
1496
|
-
*/
|
1497
1327
|
DOMPurify.addHook = function (entryPoint, hookFunction) {
|
1498
1328
|
if (typeof hookFunction !== 'function') {
|
1499
1329
|
return;
|
1500
1330
|
}
|
1501
|
-
hooks[entryPoint] = hooks[entryPoint] || [];
|
1502
1331
|
arrayPush(hooks[entryPoint], hookFunction);
|
1503
1332
|
};
|
1504
|
-
|
1505
|
-
|
1506
|
-
|
1507
|
-
|
1508
|
-
* (pops it from the stack of hooks if more are present)
|
1509
|
-
*
|
1510
|
-
* @param {String} entryPoint entry point for the hook to remove
|
1511
|
-
* @return {Function} removed(popped) hook
|
1512
|
-
*/
|
1513
|
-
DOMPurify.removeHook = function (entryPoint) {
|
1514
|
-
if (hooks[entryPoint]) {
|
1515
|
-
return arrayPop(hooks[entryPoint]);
|
1333
|
+
DOMPurify.removeHook = function (entryPoint, hookFunction) {
|
1334
|
+
if (hookFunction !== undefined) {
|
1335
|
+
const index = arrayLastIndexOf(hooks[entryPoint], hookFunction);
|
1336
|
+
return index === -1 ? undefined : arraySplice(hooks[entryPoint], index, 1)[0];
|
1516
1337
|
}
|
1338
|
+
return arrayPop(hooks[entryPoint]);
|
1517
1339
|
};
|
1518
|
-
|
1519
|
-
/**
|
1520
|
-
* RemoveHooks
|
1521
|
-
* Public method to remove all DOMPurify hooks at a given entryPoint
|
1522
|
-
*
|
1523
|
-
* @param {String} entryPoint entry point for the hooks to remove
|
1524
|
-
*/
|
1525
1340
|
DOMPurify.removeHooks = function (entryPoint) {
|
1526
|
-
|
1527
|
-
hooks[entryPoint] = [];
|
1528
|
-
}
|
1341
|
+
hooks[entryPoint] = [];
|
1529
1342
|
};
|
1530
|
-
|
1531
|
-
/**
|
1532
|
-
* RemoveAllHooks
|
1533
|
-
* Public method to remove all DOMPurify hooks
|
1534
|
-
*
|
1535
|
-
*/
|
1536
1343
|
DOMPurify.removeAllHooks = function () {
|
1537
|
-
hooks =
|
1344
|
+
hooks = _createHooksMap();
|
1538
1345
|
};
|
1539
1346
|
return DOMPurify;
|
1540
1347
|
}
|