/* COPYRIGHT Esri - https://js.arcgis.com/5.1.2/LICENSE.txt */
import{S as e}from"../../../chunks/SimpleGeometryCursor.js";import{l as n,p as r,i as t}from"../../../chunks/pe.js";let o,s;function u(){return!!o&&t()}async function c(){if(!u()){const[e,t,u]=await Promise.all([import("../../../chunks/OperatorShapePreservingProject.js"),import("../../../chunks/Envelope.js").then(e=>e.a8).then(({Envelope:e})=>e),import("../../../chunks/SpatialReference.js").then(e=>e.aP).then(({injectPe:e})=>e),n()]);o=new e.OperatorShapePreservingProject,s=t,u(r)}}function i(e,n,r,t){return o.execute(e,n,r,t,null)}function p(n,r,t,u){let c=null,i=new s;for(const e of n)e.queryEnvelope(i),c?c.merge(i):(c=i,i=new s);const p=o.executeMany(new e(n),c,r,t,u,null);return Array.from(p)}function a(){return o.supportsCurves()}export{i as execute,p as executeMany,u as isLoaded,c as load,a as supportsCurves};
