define(["./when-b60132fc","./Cartesian2-47311507","./ArcType-29cf2197","./arrayFill-4513d7ad","./buildModuleUrl-4e1b81e7","./Check-7b2a090c","./ComponentDatatype-c140a87d","./EllipsoidTangentPlane-edb321d3","./GeometryAttribute-3a88ba31","./GeometryAttributes-252e9929","./GeometryInstance-68aae013","./GeometryOffsetAttribute-fbeb6f1a","./GeometryPipeline-9d1ef0b6","./IndexDatatype-8a5eead4","./Math-119be1a3","./PolygonGeometryLibrary-92af6f1e","./PolygonPipeline-660e1625","./PrimitiveType-a54dc62f","./Cartographic-3309dd0d","./Event-16a2dfbf","./RuntimeError-4a5c8994","./WebGLConstants-4ae0db90","./Cartesian4-3ca25aab","./IntersectionTests-7386ffbf","./Plane-7ae8294c","./FeatureDetection-c3b71206","./AttributeCompression-90851096","./EncodedCartesian3-f1396b05","./arrayRemoveDuplicates-d2f048c5","./EllipsoidRhumbLine-ed1a6bf4","./earcut-2.2.1-20c8012f"],(function(e,t,i,r,o,n,a,l,s,y,u,p,d,f,c,g,h,m,b,P,v,E,A,_,G,L,T,H,C,O,D){"use strict";var x=[],I=[];function w(e,t,r,o,n){var p,d,c=l.EllipsoidTangentPlane.fromPoints(t,e).projectPointsOntoPlane(t,x);h.PolygonPipeline.computeWindingOrder2D(c)===h.WindingOrder.CLOCKWISE&&(c.reverse(),t=t.slice().reverse());var b=t.length,P=0;if(o)for(p=new Float64Array(2*b*3),d=0;d