/* COPYRIGHT Esri - https://js.arcgis.com/5.1.0/LICENSE.txt */
import{createAnalysisViewRegister as e}from"../support/analysisViewRegister.js";const r=e();function t(e,t){return r.register(e,t)}function n(e,t){r.forEveryOther(e,t,e=>{e.interactive&&(e.selectedViewshed=null)})}function i(e,t){let n=!1;return r.forEveryOther(e,t,e=>{n||=e.creating??!1}),n}export{i as isOtherViewshedToolCreating,t as registerAnalysisView,n as unselectViewshedInOtherAnalysisViews};
