define(["./defaultValue-69ee94f4","./Matrix2-52f9f880","./ArcType-e1641d8d","./Transforms-3e1dc9c2","./Color-6b5fa738","./ComponentDatatype-a9820060","./RuntimeError-ac440aa5","./GeometryAttribute-c774c37f","./GeometryAttributes-1b4134a9","./IndexDatatype-1cbc8622","./PolylinePipeline-96d5682f","./PixelFormat-9ceadbf3","./WebGLConstants-f63312fc","./_commonjsHelpers-3aae1032-15991586","./combine-0259f56f","./EllipsoidGeodesic-00b2a9dd","./EllipsoidRhumbLine-683f2cb5","./IntersectionTests-088640d2","./Plane-e5b2f6e0"],(function(e,o,t,l,r,n,i,a,s,c,p,d,f,y,u,h,C,m,T){"use strict";function g(e,o,t,l,n,i,a){const s=p.PolylinePipeline.numberOfPoints(e,o,n);let c;const d=t.red,f=t.green,y=t.blue,u=t.alpha,h=l.red,C=l.green,m=l.blue,T=l.alpha;if(r.Color.equals(t,l)){for(c=0;c0?new Array(a):void 0;for(i=0;i0&&(o.Cartesian3.pack(n,E,t),t+=3,D=f[P-1],G[l++]=r.Color.floatToByte(D.red),G[l++]=r.Color.floatToByte(D.green),G[l++]=r.Color.floatToByte(D.blue),G[l++]=r.Color.floatToByte(D.alpha)),T&&P===A-1)break;o.Cartesian3.pack(n,E,t),t+=3,e.defined(f)&&(D=f[P],G[l++]=r.Color.floatToByte(D.red),G[l++]=r.Color.floatToByte(D.green),G[l++]=r.Color.floatToByte(D.blue),G[l++]=r.Color.floatToByte(D.alpha))}}const w=new s.GeometryAttributes;w.position=new a.GeometryAttribute({componentDatatype:n.ComponentDatatype.DOUBLE,componentsPerAttribute:3,values:E}),e.defined(f)&&(w.color=new a.GeometryAttribute({componentDatatype:n.ComponentDatatype.UNSIGNED_BYTE,componentsPerAttribute:4,values:G,normalize:!0})),k=E.length/3;const V=2*(k-1),x=c.IndexDatatype.createTypedArray(k,V);let S=0;for(P=0;P