define(["./createTaskProcessorWorker","./Resource-8ae1a924","./Cartesian3-e0307675","./HouseDrawer","./snappyJs","./GetPrimitiveData","./when-422ea0ae","./ScanLine","./ElevationTool","./Cache","./defaultValue-81eec7ed","./Check-741c5f3c","./combine-3c023bda","./Math-e73894ab","./RuntimeError-26acdd3b","./Color-82ef4a75","./Transforms-5b829630","./Cartesian2-bd414876","./Matrix4-4c545f70","./ComponentDatatype-aaeec80f","./WebGLConstants-508b9636","./GeometryInstance-1b39c9e8","./PolygonGeometry-95e6b579","./ArcType-fc72c06c","./GeometryOffsetAttribute-ed56ff58","./BoundingRectangle-0e36efc3","./GeographicProjection-c931c7fb","./BoundingSphere-9a3b5656","./Rectangle-cf3e0e3e","./EllipsoidGeodesic-e7a5ca44","./EllipsoidTangentPlane-4d138901","./AxisAlignedBoundingBox-8774439c","./IntersectionTests-80510c7b","./Plane-bc8b6777","./GeometryAttribute-2b42a913","./Matrix2-dc0c61cc","./GeometryPipeline-e7083fea","./AttributeCompression-8f752c03","./EncodedCartesian3-aafcc30f","./IndexDatatype-3f3c99e8","./PolygonGeometryLibrary-231711c2","./arrayRemoveDuplicates-cea3b206","./EllipsoidRhumbLine-592e8885","./GeometryAttributes-32b29525","./PolygonPipeline-04baeb41","./VertexFormat-d50a69ba","./PolygonOutlineGeometry-29f6cf19","./PixelFormat-bd725b72","./PrimitivePipeline-d5bc2e2a","./WebMercatorProjection-44373a3d","./GetRidingLanternGeometry","./LinkedQueue"],(function(e,t,r,n,l,o,i,a,c,f,s,u,h,g,y,d,p,m,b,P,v,w,x,A,C,G,D,S,M,E,L,R,B,F,T,I,N,O,j,k,H,V,q,z,J,W,_,Q,U,K,X,Y){"use strict";let Z,$,ee,te=512,re="",ne={},le={},oe=new f(1e5);function ie(e){let t=1e3,r=0;for(let n=0;nr&&(r=n),e++}}return{ymax:r,ymin:t}}function ae(e,t){let n=t.rectangle;for(var l=[],o=0;o191&&l<224){let o=e[r++];t[n++]=(31&l)<<6|63&o}else if(l>239&&l<365){let o=((7&l)<<18|(63&e[r++])<<12|(63&e[r++])<<6|63&e[r++])-65536;t[n++]=55296+(o>>10),t[n++]=56320+(1023&o)}else{let o=e[r++],i=e[r++];t[n++]=(15&l)<<12|(63&o)<<6|63&i}}let l=[],o=0,i=0,a=0,c=5e4,f=t.length/c-1;for(o=0;on&&(n=a),e++,l<0||l>te-1||a<0||a>te-1)continue;let c=a*te+l,f=0;for(let e in t){f+=t[e].data[c]}f>i&&(i=f)}}-2e4==i&&(i=0),oe.set(l.properties.id,i)}l.terrainHeight=i,l.totalHeight=i+l.height}}}(f,t[1]);let s=function(e,t){let r=new Int32Array(t*t);for(let n in e){let l=e[n];for(let e=0;e