define(["./defaultValue-69ee94f4","./Matrix2-671a840a","./ArcType-e1641d8d","./Transforms-b2d190a4","./Color-4d276594","./ComponentDatatype-a9820060","./RuntimeError-ac440aa5","./GeometryAttribute-77f8362f","./GeometryAttributes-1b4134a9","./IndexDatatype-1cbc8622","./PolylinePipeline-c0a7a555","./PixelFormat-9ceadbf3","./WebGLConstants-f63312fc","./_commonjsHelpers-3aae1032-15991586","./combine-0259f56f","./EllipsoidGeodesic-b822d46f","./EllipsoidRhumbLine-7fe7b64a","./IntersectionTests-3c5a408d","./Plane-2cd3a9dd"],(function(e,o,t,l,r,n,a,i,s,c,p,d,f,y,u,h,C,m,T){"use strict";function g(e,o,t,l,n,a,i){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(i):void 0;for(a=0;a0&&(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 i.GeometryAttribute({componentDatatype:n.ComponentDatatype.DOUBLE,componentsPerAttribute:3,values:E}),e.defined(f)&&(w.color=new i.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