define(["exports","./ArcType-dc1c5aee","./arrayRemoveDuplicates-3a9a9480","./Cartesian2-b4b7b0b3","./ComponentDatatype-2da3a966","./when-208fe5b0","./EllipsoidRhumbLine-73a4e3eb","./GeometryAttribute-b541caa6","./GeometryAttributes-b0b294d8","./GeometryPipeline-86615bad","./IndexDatatype-3bc916b1","./Math-8386669c","./Transforms-73e77b72","./PolygonPipeline-b445e3f3"],function(e,I,T,x,E,A,f,P,_,p,G,L,d,M){"use strict";function D(){this._array=[],this._offset=0,this._length=0}Object.defineProperties(D.prototype,{length:{get:function(){return this._length}}}),D.prototype.enqueue=function(e){this._array.push(e),this._length++},D.prototype.dequeue=function(){if(0!==this._length){var e=this._array,t=this._offset,r=e[t];return e[t]=void 0,10<++t&&2*t>e.length&&(this._array=e.slice(t),t=0),this._offset=t,this._length--,r}},D.prototype.peek=function(){if(0!==this._length)return this._array[this._offset]},D.prototype.contains=function(e){return-1!==this._array.indexOf(e)},D.prototype.clear=function(){this._array.length=this._offset=this._length=0},D.prototype.sort=function(e){0