define(["./arrayRemoveDuplicates-f7eaafa2","./BoundingRectangle-418864a2","./buildModuleUrl-3d15f25c","./Cartesian2-6033fa5d","./Cartographic-67e73ef9","./Check-52a7d806","./ComponentDatatype-81047f82","./CoplanarPolygonGeometryLibrary-db52cfeb","./when-92c6cf3c","./Rectangle-bab7abf0","./GeometryAttribute-ef657318","./GeometryAttributes-7f66ea53","./GeometryInstance-da5e91bc","./GeometryPipeline-f4eddf07","./IndexDatatype-4c0e98b8","./Math-92c3b5f7","./PrimitiveType-cdfe443e","./PolygonGeometryLibrary-7c66403e","./PolygonPipeline-b86e8785","./VertexFormat-f496a3f1","./Intersect-b97e930a","./Event-3390cd7d","./RuntimeError-c6a62a80","./WebGLConstants-71f10989","./OrientedBoundingBox-513cf61d","./Cartesian4-ad128b5d","./EllipsoidTangentPlane-53184efd","./IntersectionTests-a42760d9","./Plane-f8d22530","./Buffer-1d0f8963","./RenderState-94064c70","./Color-45274500","./FeatureDetection-067cb23c","./WindingOrder-1b9c8a87","./AttributeCompression-49f7b62a","./EncodedCartesian3-b86c8d65","./ArcType-31298545","./EllipsoidRhumbLine-8847d1a1"],(function(e,t,n,o,a,r,i,c,p,s,l,y,d,u,g,m,f,v,h,b,w,A,P,x,T,D,F,_,k,L,E,C,R,I,H,G,O,B){"use strict";var z=new a.t,S=new t.f,N=new o.o,j=new o.o,M=new a.t,U=new a.t,V=new a.t,W=new a.t,Y=new a.t,q=new a.t,J=new l.n,Q=new f.p,Z=new f.p,K=new a.t;function X(e,t,n,r,c,p,s,d){var u=e.positions,v=h.A.triangulate(e.positions2D,e.holes);v.length<3&&(v=[0,1,2]);var b=g.IndexDatatype.createTypedArray(u.length,v.length);b.set(v);var w=Q;if(0!==r){var A=l.n.fromAxisAngle(p,r,J);if(w=f.p.fromQuaternion(A,w),t.tangent||t.bitangent){A=l.n.fromAxisAngle(p,-r,J);var P=f.p.fromQuaternion(A,Z);s=a.t.normalize(f.p.multiplyByVector(P,s,s),s),t.bitangent&&(d=a.t.normalize(a.t.cross(p,s,d),d))}}else w=f.p.clone(f.p.IDENTITY,w);var x=j;t.st&&(x.x=n.x,x.y=n.y);for(var T=u.length,D=3*T,F=new Float64Array(D),_=t.normal?new Float32Array(D):void 0,k=t.tangent?new Float32Array(D):void 0,L=t.bitangent?new Float32Array(D):void 0,E=t.st?new Float32Array(2*T):void 0,C=0,R=0,I=0,H=0,G=0,O=0;O