define(["./defaultValue-81eec7ed","./Cartesian2-bd414876","./ArcType-fc72c06c","./BoundingSphere-9a3b5656","./Cartesian3-e0307675","./Color-82ef4a75","./ComponentDatatype-aaeec80f","./Check-741c5f3c","./GeometryAttribute-2b42a913","./GeometryAttributes-32b29525","./IndexDatatype-3f3c99e8","./Math-e73894ab","./PolylinePipeline-0e56eeb9","./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,o,t,r,l,n,a,i,s,c,p,d,f,y,u,h,C,g,T,m,b,P,_,B,A,E,k){"use strict";function G(e,o,t,r,l,a,i){const s=f.PolylinePipeline.numberOfPoints(e,o,l);let c;const p=t.red,d=t.green,y=t.blue,u=t.alpha,h=r.red,C=r.green,g=r.blue,T=r.alpha;if(n.Color.equals(t,r)){for(c=0;c0?new Array(s):void 0;for(i=0;i0&&(l.Cartesian3.pack(r,_,o),o+=3,E=y[b-1],A[t++]=n.Color.floatToByte(E.red),A[t++]=n.Color.floatToByte(E.green),A[t++]=n.Color.floatToByte(E.blue),A[t++]=n.Color.floatToByte(E.alpha)),m&&b===P-1)break;l.Cartesian3.pack(r,_,o),o+=3,e.defined(y)&&(E=y[b],A[t++]=n.Color.floatToByte(E.red),A[t++]=n.Color.floatToByte(E.green),A[t++]=n.Color.floatToByte(E.blue),A[t++]=n.Color.floatToByte(E.alpha))}}const w=new c.GeometryAttributes;w.position=new s.GeometryAttribute({componentDatatype:a.ComponentDatatype.DOUBLE,componentsPerAttribute:3,values:_}),e.defined(y)&&(w.color=new s.GeometryAttribute({componentDatatype:a.ComponentDatatype.UNSIGNED_BYTE,componentsPerAttribute:4,values:A,normalize:!0})),B=_.length/3;const x=2*(B-1),R=p.IndexDatatype.createTypedArray(B,x);let S=0;for(b=0;b