define(["./defaultValue-81eec7ed","./Cartesian2-bd414876","./ArcType-fc72c06c","./arrayRemoveDuplicates-cea3b206","./BoundingSphere-9a3b5656","./Cartesian3-e0307675","./Color-82ef4a75","./ComponentDatatype-aaeec80f","./Check-741c5f3c","./GeometryAttribute-2b42a913","./GeometryAttributes-32b29525","./IndexDatatype-3f3c99e8","./Math-e73894ab","./PolylinePipeline-0e56eeb9","./VertexFormat-d50a69ba","./GeographicProjection-c931c7fb","./Matrix4-4c545f70","./RuntimeError-26acdd3b","./Rectangle-cf3e0e3e","./Transforms-5b829630","./when-422ea0ae","./Resource-8ae1a924","./combine-3c023bda","./WebGLConstants-508b9636","./Matrix2-dc0c61cc","./EllipsoidGeodesic-e7a5ca44","./EllipsoidRhumbLine-592e8885","./IntersectionTests-80510c7b","./Plane-bc8b6777"],(function(e,t,o,n,r,a,i,l,s,c,p,d,u,y,m,f,h,C,g,b,_,A,E,P,w,x,T,k,D){"use strict";const V=[];function v(e,t,o,n,r){const a=V;let l;a.length=r;const s=o.red,c=o.green,p=o.blue,d=o.alpha,u=n.red,y=n.green,m=n.blue,f=n.alpha;if(i.Color.equals(o,n)){for(l=0;l0?new Array(s):void 0;for(l=0;l0){let e=0,t=P[0];f=f.filter((function(o,n){let r=!1;return r=h?n===t||0===n&&1===t:n+1===t,!r||(e++,t=P[e],!1)}))}let x=w.length;if(x<2||s<=0)return;if(C===o.ArcType.GEODESIC||C===o.ArcType.RHUMB){let t,n;C===o.ArcType.GEODESIC?(t=u.CesiumMath.chordLength(g,b.maximumRadius),n=y.PolylinePipeline.numberOfPoints):(t=g,n=y.PolylinePipeline.numberOfPointsRhumbLine);const r=y.PolylinePipeline.extractHeights(w,b);if(e.defined(f)){let e=1;for(_=0;_