/*
All material copyright Esri, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
*/
import{supportsCurves as e,execute as o,executeMany 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(e,r){const u=t(e),c=s(r).asEnvelope2D();return a(o(n(e),c,p(u)),u)}function c(e,o){const u=e.map(n),c=t(e),m=s(o).asEnvelope2D();return r(u,m,p(c)).map(e=>a(e,c))}const m=e(),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};
