define(["exports","./ArcType-1da7fdca","./arrayRemoveDuplicates-47b233f1","./Cartesian2-40b13f31","./ComponentDatatype-6c2e43c1","./when-7b580518","./EllipsoidRhumbLine-6baec512","./GeometryAttribute-8f00b923","./GeometryAttributes-fbd9a3fb","./GeometryPipeline-06778f23","./IndexDatatype-b42089ce","./Math-87254c13","./Transforms-a7d32f6c","./PolygonPipeline-4cefc824"],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