define(["./AttributeCompression-10c27d9c","./Cartesian2-8646c5a1","./Math-d6182036","./createTaskProcessorWorker","./Check-24483042","./when-54335d57"],function(C,g,w,a,e,r){"use strict";var k=32767,v=new g.Cartographic,b=new g.Cartesian3,y=new g.Rectangle,A=new g.Ellipsoid,M={min:void 0,max:void 0};return a(function(a,e){var r=new Uint16Array(a.positions);!function(a){a=new Float64Array(a);var e=0;M.min=a[e++],M.max=a[e++],g.Rectangle.unpack(a,2,y),e+=g.Rectangle.packedLength,g.Ellipsoid.unpack(a,e,A)}(a.packedBuffer);var t=y,n=A,i=M.min,s=M.max,o=r.length/3,c=r.subarray(0,o),u=r.subarray(o,2*o),p=r.subarray(2*o,3*o);C.AttributeCompression.zigZagDeltaDecode(c,u,p);for(var h=new Float64Array(r.length),l=0;l<o;++l){var d=c[l],f=u[l],m=p[l],d=w.CesiumMath.lerp(t.west,t.east,d/k),f=w.CesiumMath.lerp(t.south,t.north,f/k),m=w.CesiumMath.lerp(i,s,m/k),m=g.Cartographic.fromRadians(d,f,m,v),m=n.cartographicToCartesian(m,b);g.Cartesian3.pack(m,h,3*l)}return e.push(h.buffer),{positions:h.buffer}})});
