define(["exports","./ArcType-dc1c5aee","./arrayRemoveDuplicates-3a9a9480","./Cartesian2-b4b7b0b3","./ComponentDatatype-ce69354e","./when-208fe5b0","./EllipsoidRhumbLine-73a4e3eb","./GeometryAttribute-3314089a","./GeometryAttributes-b0b294d8","./GeometryPipeline-cd170892","./IndexDatatype-da7c58eb","./Math-8386669c","./Transforms-d5dbea8d","./PolygonPipeline-7bfe45de"],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