define(["./when-229515d6","./Matrix2-2fec35ad","./ArcType-1da7fdca","./arrayRemoveDuplicates-bb548aa3","./Transforms-75891ac8","./Color-2e02034e","./ComponentDatatype-17b06483","./RuntimeError-ffe03243","./GeometryAttribute-c0946387","./GeometryAttributes-b253752a","./IndexDatatype-b10faa0b","./PolylinePipeline-f3398bb8","./VertexFormat-565d6a6c","./PixelFormat-daf99ebc","./WebGLConstants-4e26b85a","./combine-8ce3f24b","./EllipsoidGeodesic-cadbe242","./EllipsoidRhumbLine-0b875bcf","./IntersectionTests-c2481e4c","./Plane-c66ae040"],(function(e,t,r,a,o,n,i,l,s,p,c,d,u,y,m,f,h,v,C,g){"use strict";var b=[];function _(e,t,r,a,o){var i,l=b;l.length=o;var s=r.red,p=r.green,c=r.blue,d=r.alpha,u=a.red,y=a.green,m=a.blue,f=a.alpha;if(n.Color.equals(r,a)){for(i=0;i0?new Array(l):void 0;for(i=0;i0){var V=0,F=P[0];v=v.filter((function(e,t){return!(C?t===F||0===t&&1===F:t+1===F)||(V++,F=P[V],!1)}))}var L=w.length;if(!(L<2||f<=0)){if(g===r.ArcType.GEODESIC||g===r.ArcType.RHUMB){var G,O;g===r.ArcType.GEODESIC?(G=i.CesiumMath.chordLength(A,E.maximumRadius),O=d.PolylinePipeline.numberOfPoints):(G=A,O=d.PolylinePipeline.numberOfPointsRhumbLine);var R=d.PolylinePipeline.extractHeights(w,E);if(e.defined(v)){var I=1;for(u=0;u