define(["./createTaskProcessorWorker","./Resource-8ae1a924","./Cartesian3-e0307675","./ModelPointDrawer","./ParseBinaryData","./when-422ea0ae","./ScanLine","./ElevationTool","./Cache","./defaultValue-81eec7ed","./Check-741c5f3c","./combine-3c023bda","./Math-e73894ab","./RuntimeError-26acdd3b","./Buffer","./base64","./ieee754","./isArray","./VarintReader","./snappyJs","./CodeTool","./LayerContentModel","./GisTools","./LinkedQueue"],(function(e,t,r,n,l,o,i,a,f,u,s,h,c,g,d,y,p,m,v,w,b,M,x,P){"use strict";let A,D,C,F={},S=512,B={},L={},T={},k=new f(1e5);function E(e,t){if("F"!=e[0])if(Array.isArray(e[0])){let r=e.length;for(let n=0;nr&&(r=n),e++}}return{ymax:r,ymin:t}}function N(e,t){if(Array.isArray(t[0])){let r=t.length;for(let n=0;nn&&(n=a),e++,l<0||l>S-1||a<0||a>S-1)continue;let f=a*S+l,u=0;for(let e in t){u+=t[e].data[f]}u>i&&(i=u)}}-2e4==i&&(i=0),k.set(l.properties.id,i)}l.terrainHeight=i,l.totalHeight=i+l.height}}}(o,t[1]);let f=function(e,t){let r=new Int32Array(t*t);for(let n in e){let l=e[n];for(let e=0;e