/* COPYRIGHT Esri - https://js.arcgis.com/5.1.2/LICENSE.txt */
import{execute as e,executeMany as o,supportsCurves as r}from"../geometry/operators/gx/operatorClip.js";import{getSpatialReference as t,fromExtent as s,toGeometry as a,fromSpatialReference as p,fromGeometry as n}from"../geometry/operators/support/apiConverter.js";function u(o,r){const u=t(o),c=s(r).asEnvelope2D();return a(e(n(o),c,p(u)),u)}function c(e,r){const u=e.map(n),c=t(e),m=s(r).asEnvelope2D();return o(u,m,p(c)).map(e=>a(e,c))}const m=r(),i=Object.freeze(Object.defineProperty({__proto__:null,execute:u,executeMany:c,supportsCurves:m},Symbol.toStringTag,{value:"Module"}));export{c as a,i as c,u as e,m as s};
