PageSourceSearch

https://www.bundesimmobilien.de/assets/chunk-2637.745036c8c0c6a3697c0f.js

js bundesimmobilien.de collected 2026-10-02 05:59:22 UTC 119,824 bytes, 1 lines download raw bytes

vendor: 5,147 bytes, line 1
1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[2637],{9730:function(e,t,r){r.d(t,{J:function(){return a}});var o,n,i,a={},s={get exports(){return a},set exports(e){a=e}};o=s,n=function(){var e=function(){function e(e){this.message="JPEG error: "+e}return e.prototype=new Error,e.prototype.name="JpegError",e.constructor=e,e}();return function(){if(!self||!self.Uint8ClampedArray)return null;var t=new Uint8Array([0,1,8,16,9,2,3,10,17,24,32,25,18,11,4,5,12,19,26,33,40,48,41,34,27,20,13,6,7,14,21,28,35,42,49,56,57,50,43,36,29,22,15,23,30,37,44,51,58,59,52,45,38,31,39,46,53,60,61,54,47,55,62,63]),r=4017,o=799,n=3406,i=2276,a=1567,s=3784,l=5793,u=2896;function c(){this.decodeTransform=null,this.colorTransform=-1}function f(e,t){for(var r,o,n=0,i=[],a=16;a>0&&!e[a-1];)a--;i.push({children:[],index:0});var s,l=i[0];for(r=0;r<a;r++){for(o=0;o<e[r];o++){for((l=i.pop()).children[l.index]=t[n];l.index>0;)l=i.pop();for(l.index++,i.push(l);i.length<=r;)i.push(s={children:[],index:0}),l.children[l.index]=s.children,l=s;n++}r+1<a&&(i.push(s={children:[],index:0}),l.children[l.index]=s.children,l=s)}return i[0].children}function h(e,t,r){return 64*((e.blocksPerLine+1)*t+r)}function d(r,o,n,i,a,s,l,u,c){var f=n.mcusPerLine,d=n.progressive,p=o,g=0,y=0;function C(){if(y>0)return y--,g>>y&1;if(255===(g=r[o++])){var t=r[o++];if(t)throw new e("unexpected marker "+(g<<8|t).toString(16))}return y=7,g>>>7}function b(t){for(var r=t;;){if("number"==typeof(r=r[C()]))return r;if("object"!=typeof r)throw new e("invalid huffman sequence")}}function w(e){for(var t=0;e>0;)t=t<<1|C(),e--;return t}function v(e){if(1===e)return 1===C()?1:-1;var t=w(e);return t>=1<<e-1?t:t+(-1<<e)+1}var T,S=0,k=0;function I(e,t,r,o,n){var i=r%f;t(e,h(e,(r/f|0)*e.v+o,i*e.h+n))}function x(e,t,r){t(e,h(e,r/e.blocksPerLine|0,r%e.blocksPerLine))}var A,P,E,D,R,L,M=i.length;L=d?0===s?0===u?function(e,t){var r=b(e.huffmanTableDC),o=0===r?0:v(r)<<c;e.blockData[t]=e.pred+=o}:function(e,t){e.blockData[t]|=C()<<c}:0===u?function(e,r){if(S>0)S--;else for(var o=s,n=l;o<=n;){var i=b(e.huffmanTableAC),a=15&i,u=i>>4;if(0!==a){var f=t[o+=u];e.blockData[r+f]=v(a)*(1<<c),o++}else{if(u<15){S=w(u)+(1<<u)-1;break}o+=16}}}:function(r,o){for(var n,i,a=s,u=l,f=0;a<=u;){var h=t[a];switch(k){case 0:if(f=(i=b(r.huffmanTableAC))>>4,0==(n=15&i))f<15?(S=w(f)+(1<<f),k=4):(f=16,k=1);else{if(1!==n)throw new e("invalid ACn encoding");T=v(n),k=f?2:3}continue;case 1:case 2:r.blockData[o+h]?r.blockData[o+h]+=C()<<c:0==--f&&(k=2===k?3:0);break;case 3:r.blockData[o+h]?r.blockData[o+h]+=C()<<c:(r.blockData[o+h]=T<<c,k=0);break;case 4:r.blockData[o+h]&&(r.blockData[o+h]+=C()<<c)}a++}4===k&&0==--S&&(k=0)}:function(e,r){var o=b(e.huffmanTableDC),n=0===o?0:v(o);e.blockData[r]=e.pred+=n;for(var i=1;i<64;){var a=b(e.huffmanTableAC),s=15&a,l=a>>4;if(0!==s){var u=t[i+=l];e.blockData[r+u]=v(s),i++}else{if(l<15)break;i+=16}}};var _,O,B,G,U=0;for(O=1===M?i[0].blocksPerLine*i[0].blocksPerColumn:f*n.mcusPerColumn;U<O;){var N=a?Math.min(O-U,a):O;for(P=0;P<M;P++)i[P].pred=0;if(S=0,1===M)for(A=i[0],R=0;R<N;R++)x(A,L,U),U++;else for(R=0;R<N;R++){for(P=0;P<M;P++)for(B=(A=i[P]).h,G=A.v,E=0;E<G;E++)for(D=0;D<B;D++)I(A,L,U,E,D);U++}y=0,(_=m(r,o))&&_.invalid&&(console.log("decodeScan - unexpected MCU data, next marker is: "+_.invalid),o=_.offset);var F=_&&_.marker;if(!F||F<=65280)throw new e("marker was not found");if(!(F>=65488&&F<=65495))break;o+=2}return(_=m(r,o))&&_.invalid&&(console.log("decodeScan - unexpected Scan data, next marker is: "+_.invalid),o=_.offset),o-p}function p(t,c,f){var h,d,p,g,m,y,C,b,w,v,T,S,k,I,x,A,P,E=t.quantizationTable,D=t.blockData;if(!E)throw new e("missing required Quantization Table.");for(var R=0;R<64;R+=8)w=D[c+R],v=D[c+R+1],T=D[c+R+2],S=D[c+R+3],k=D[c+R+4],I=D[c+R+5],x=D[c+R+6],A=D[c+R+7],w*=E[R],0!=(v|T|S|k|I|x|A)?(v*=E[R+1],T*=E[R+2],S*=E[R+3],k*=E[R+4],I*=E[R+5],x*=E[R+6],A*=E[R+7],d=(h=(h=l*w+128>>8)+(d=l*k+128>>8)+1>>1)-d,P=(p=T)*s+(g=x)*a+128>>8,p=p*a-g*s+128>>8,C=(m=(m=u*(v-A)+128>>8)+(C=I<<4)+1>>1)-C,y=(b=(b=u*(v+A)+128>>8)+(y=S<<4)+1>>1)-y,g=(h=h+(g=P)+1>>1)-g,p=(d=d+p+1>>1)-p,P=m*i+b*n+2048>>12,m=m*n-b*i+2048>>12,b=P,P=y*o+C*r+2048>>12,y=y*r-C*o+2048>>12,C=P,f[R]=h+b,f[R+7]=h-b,f[R+1]=d+C,f[R+6]=d-C,f[R+2]=p+y,f[R+5]=p-y,f[R+3]=g+m,f[R+4]=g-m):(P=l*w+512>>10,f[R]=P,f[R+1]=P,f[R+2]=P,f[R+3]=P,f[R+4]=P,f[R+5]=P,f[R+6]=P,f[R+7]=P);for(var L=0;L<8;++L)w=f[L],0!=((v=f[L+8])|(T=f[L+16])|(S=f[L+24])|(k=f[L+32])|(I=f[L+40])|(x=f[L+48])|(A=f[L+56]))?(d=(h=4112+((h=l*w+2048>>12)+(d=l*k+2048>>12)+1>>1))-d,P=(p=T)*s+(g=x)*a+2048>>12,p=p*a-g*s+2048>>12,g=P,C=(m=(m=u*(v-A)+2048>>12)+(C=I)+1>>1)-C,y=(b=(b=u*(v+A)+2048>>12)+(y=S)+1>>1)-y,P=m*i+b*n+2048>>12,m=m*n-b*i+2048>>12,b=P,P=y*o+C*r+2048>>12,y=y*r-C*o+2048>>12,w=(w=(h=h+g+1>>1)+b)<16?0:w>=4080?255:w>>4,v=(v=(d=d+p+1>>1)+(C=P))<16?0:v>=4080?255:v>>4,T=(T=(p=d-p)+y)<16?0:T>=4080?255:T>>4,S=(S=(g=h-g)+m)<16?0:S>=4080?255:S>>4,k=(k=g-m)<16?0:k>=4080?255:k>>4,I=(I=p-y)<16?0:I>=4080?255:I>>4,x=(x=d-C)<16?0:x>=4080?255:x>>4,A=(A=h-b)<16?0:A>=4080?255:A>>4,D[c+L]=w,D[c+L+8]=v,D[c+L+16]=T,D[c+L+24]=S,D[c+L+32]=k,D[c+L+40]=I,D[c+L+48]=x,D[c+L+56]=A):(P=(P=l*w+8192>>14)<-2040?0:P>
vendor: 2,034 bytes, line 1
1=2024?255:P+2056>>4,D[c+L]=P,D[c+L+8]=P,D[c+L+16]=P,D[c+L+24]=P,D[c+L+32]=P,D[c+L+40]=P,D[c+L+48]=P,D[c+L+56]=P)}function g(e,t){for(var r=t.blocksPerLine,o=t.blocksPerColumn,n=new Int16Array(64),i=0;i<o;i++)for(var a=0;a<r;a++)p(t,h(t,i,a),n);return t.blockData}function m(e,t,r){function o(t){return e[t]<<8|e[t+1]}var n=e.length-1,i=r<t?r:t;if(t>=n)return null;var a=o(t);if(a>=65472&&a<=65534)return{invalid:null,marker:a,offset:t};for(var s=o(i);!(s>=65472&&s<=65534);){if(++i>=n)return null;s=o(i)}return{invalid:a.toString(16),marker:s,offset:i}}return c.prototype={parse:function(r){function o(){var e=r[l]<<8|r[l+1];return l+=2,e}function n(){var e=o(),t=l+e-2,n=m(r,t,l);n&&n.invalid&&(console.log("readDataBlock - incorrect length, next marker is: "+n.invalid),t=n.offset);var i=r.subarray(l,t);return l+=i.length,i}function i(e){for(var t=Math.ceil(e.samplesPerLine/8/e.maxH),r=Math.ceil(e.scanLines/8/e.maxV),o=0;o<e.components.length;o++){U=e.components[o];var n=Math.ceil(Math.ceil(e.samplesPerLine/8)*U.h/e.maxH),i=Math.ceil(Math.ceil(e.scanLines/8)*U.v/e.maxV),a=t*U.h,s=r*U.v*64*(a+1);U.blockData=new Int16Array(s),U.blocksPerLine=n,U.blocksPerColumn=i}e.mcusPerLine=t,e.mcusPerColumn=r}var a,s,l=0,u=null,c=null,h=[],p=[],y=[],C=o();if(65496!==C)throw new e("SOI not found");for(C=o();65497!==C;){var b,w,v;switch(C){case 65504:case 65505:case 65506:case 65507:case 65508:case 65509:case 65510:case 65511:case 65512:case 65513:case 65514:case 65515:case 65516:case 65517:case 65518:case 65519:case 65534:var T=n();65504===C&&74===T[0]&&70===T[1]&&73===T[2]&&70===T[3]&&0===T[4]&&(u={version:{major:T[5],minor:T[6]},densityUnits:T[7],xDensity:T[8]<<8|T[9],yDensity:T[10]<<8|T[11],thumbWidth:T[12],thumbHeight:T[13],thumbData:T.subarray(14,14+3*T[12]*T[13])}),65518===C&&65===T[0]&&100===T[1]&&111===T[2]&&98===T[3]&&101===T[4]&&(c={version:T[5]<<8|T[6],flags0:T[7]<<8|T[8],flags1:T[9]<<8|T[10],transformCode:T[11]});break;case 65499:for(var S=o()+l-2;l<S;){var k=r[l++],I=new Uint16Array(64);if(k>>4==0)for(w=0;w<64;
vendor: 5,149 bytes, line 1
1w++)I[t[w]]=r[l++];else{if(k>>4!=1)throw new e("DQT - invalid table spec");for(w=0;w<64;w++)I[t[w]]=o()}h[15&k]=I}break;case 65472:case 65473:case 65474:if(a)throw new e("Only single frame JPEGs supported");o(),(a={}).extended=65473===C,a.progressive=65474===C,a.precision=r[l++],a.scanLines=o(),a.samplesPerLine=o(),a.components=[],a.componentIds={};var x,A=r[l++],P=0,E=0;for(b=0;b<A;b++){x=r[l];var D=r[l+1]>>4,R=15&r[l+1];P<D&&(P=D),E<R&&(E=R);var L=r[l+2];v=a.components.push({h:D,v:R,quantizationId:L,quantizationTable:null}),a.componentIds[x]=v-1,l+=3}a.maxH=P,a.maxV=E,i(a);break;case 65476:var M=o();for(b=2;b<M;){var _=r[l++],O=new Uint8Array(16),B=0;for(w=0;w<16;w++,l++)B+=O[w]=r[l];var G=new Uint8Array(B);for(w=0;w<B;w++,l++)G[w]=r[l];b+=17+B,(_>>4==0?y:p)[15&_]=f(O,G)}break;case 65501:o(),s=o();break;case 65498:o();var U,N=r[l++],F=[];for(b=0;b<N;b++){var V=a.componentIds[r[l++]];U=a.components[V];var z=r[l++];U.huffmanTableDC=y[z>>4],U.huffmanTableAC=p[15&z],F.push(U)}var j=r[l++],J=r[l++],W=r[l++],H=d(r,l,a,F,s,j,J,W>>4,15&W);l+=H;break;case 65535:255!==r[l]&&l--;break;default:if(255===r[l-3]&&r[l-2]>=192&&r[l-2]<=254){l-=3;break}throw new e("unknown marker "+C.toString(16))}C=o()}for(this.width=a.samplesPerLine,this.height=a.scanLines,this.jfif=u,this.eof=l,this.adobe=c,this.components=[],b=0;b<a.components.length;b++){var Y=h[(U=a.components[b]).quantizationId];Y&&(U.quantizationTable=Y),this.components.push({output:g(0,U),scaleX:U.h/a.maxH,scaleY:U.v/a.maxV,blocksPerLine:U.blocksPerLine,blocksPerColumn:U.blocksPerColumn})}this.numComponents=this.components.length},_getLinearizedBlockData:function(e,t){var r,o,n,i,a,s,l,u,c,f,h,d=this.width/e,p=this.height/t,g=0,m=this.components.length,y=e*t*m,C=new Uint8ClampedArray(y),b=new Uint32Array(e),w=4294967288;for(l=0;l<m;l++){for(o=(r=this.components[l]).scaleX*d,n=r.scaleY*p,g=l,h=r.output,i=r.blocksPerLine+1<<3,a=0;a<e;a++)u=0|a*o,b[a]=(u&w)<<3|7&u;for(s=0;s<t;s++)for(f=i*((u=0|s*n)&w)|(7&u)<<3,a=0;a<e;a++)C[g]=h[f+b[a]],g+=m}var v=this.decodeTransform;if(v)for(l=0;l<y;)for(u=0,c=0;u<m;u++,l++,c+=2)C[l]=(C[l]*v[c]>>8)+v[c+1];return C},_isColorConversionNeeded:function(){return this.adobe?!!this.adobe.transformCode:3===this.numComponents?0!==this.colorTransform:1===this.colorTransform},_convertYccToRgb:function(e){for(var t,r,o,n=0,i=e.length;n<i;n+=3)t=e[n],r=e[n+1],o=e[n+2],e[n]=t-179.456+1.402*o,e[n+1]=t+135.459-.344*r-.714*o,e[n+2]=t-226.816+1.772*r;return e},_convertYcckToRgb:function(e){for(var t,r,o,n,i=0,a=0,s=e.length;a<s;a+=4)t=e[a],r=e[a+1],o=e[a+2],n=e[a+3],e[i++]=r*(-660635669420364e-19*r+.000437130475926232*o-54080610064599e-18*t+.00048449797120281*n-.154362151871126)-122.67195406894+o*(-.000957964378445773*o+.000817076911346625*t-.00477271405408747*n+1.53380253221734)+t*(.000961250184130688*t-.00266257332283933*n+.48357088451265)+n*(-.000336197177618394*n+.484791561490776),e[i++]=107.268039397724+r*(219927104525741e-19*r-.000640992018297945*o+.000659397001245577*t+.000426105652938837*n-.176491792462875)+o*(-.000778269941513683*o+.00130872261408275*t+.000770482631801132*n-.151051492775562)+t*(.00126935368114843*t-.00265090189010898*n+.25802910206845)+n*(-.000318913117588328*n-.213742400323665),e[i++]=r*(-.000570115196973677*r-263409051004589e-19*o+.0020741088115012*t-.00288260236853442*n+.814272968359295)-20.810012546947+o*(-153496057440975e-19*o-.000132689043961446*t+.000560833691242812*n-.195152027534049)+t*(.00174418132927582*t-.00255243321439347*n+.116935020465145)+n*(-.000343531996510555*n+.24165260232407);return e},_convertYcckToCmyk:function(e){for(var t,r,o,n=0,i=e.length;n<i;n+=4)t=e[n],r=e[n+1],o=e[n+2],e[n]=434.456-t-1.402*o,e[n+1]=119.541-t+.344*r+.714*o,e[n+2]=481.816-t-1.772*r;return e},_convertCmykToRgb:function(e){for(var t,r,o,n,i=0,a=1/255,s=0,l=e.length;s<l;s+=4)t=e[s]*a,r=e[s+1]*a,o=e[s+2]*a,n=e[s+3]*a,e[i++]=255+t*(-4.387332384609988*t+54.48615194189176*r+18.82290502165302*o+212.25662451639585*n-285.2331026137004)+r*(1.7149763477362134*r-5.6096736904047315*o-17.873870861415444*n-5.497006427196366)+o*(-2.5217340131683033*o-21.248923337353073*n+17.5119270841813)-n*(21.86122147463605*n+189.48180835922747),e[i++]=255+t*(8.841041422036149*t+60.118027045597366*r+6.871425592049007*o+31.159100130055922*n-79.2970844816548)+r*(-15.310361306967817*r+17.575251261109482*o+131.35250912493976*n-190.9453302588951)+o*(4.444339102852739*o+9.8632861493405*n-24.86741582555878)-n*(20.737325471181034*n+187.80453709719578),e[i++]=255+t*(.8842522430003296*t+8.078677503112928*r+30.89978309703729*o-.23883238689178934*n-14.183576799673286)+r*(10.49593273432072*r+63.02378494754052*o+50.606957656360734*n-112.23884253719248)+o*(.03296041114873217*o+115.60384449646641*n-193.58209356861505)-n*(22.33816807309886*n+180.12613974708367);return e},getData:function(t,r,o){if(this.numComponents>4)throw new e("Unsupported color mode");var n=this._getLinearizedBlockData(t,r);if(1===this.numComponents&&o){for(var i=n.length,a=new Uint8ClampedArray(3*i),s=0,l=0;l<i;l++){var u=n[l];a[s++]=u,a[s++]=u,a[s++]=u}return a}if(3===this.numComponents&&this._isColorConversionNeeded())return this._convertYccToRgb(n);
1if(4===this.numComponents){if(this._isColorConversionNeeded())return o?this._convertYcckToRgb(n):this._convertYcckToCmyk(n);if(o)return this._convertCmykToRgb(n)}return n}},c}()},void 0!==(i=n())&&(o.exports=i)},73395:function(e,t,r){r.d(t,{Z:function(){return a}});var o,n,i,a={},s={get exports(){return a},set exports(e){a=e}};n=s,void 0!==(o=function(){function e(){this.pos=0,this.bufferLength=0,this.eof=!1,this.buffer=null}return e.prototype={ensureBuffer:function(e){var t=this.buffer,r=t?t.byteLength:0;if(e<r)return t;for(var o=512;o<e;)o<<=1;for(var n=new Uint8Array(o),i=0;i<r;++i)n[i]=t[i];return this.buffer=n},getByte:function(){for(var e=this.pos;this.bufferLength<=e;){if(this.eof)return null;this.readBlock()}return this.buffer[this.pos++]},getBytes:function(e){var t=this.pos;if(e){this.ensureBuffer(t+e);for(var r=t+e;!this.eof&&this.bufferLength<r;)this.readBlock();var o=this.bufferLength;r>o&&(r=o)}else{for(;!this.eof;)this.readBlock();r=this.bufferLength}return this.pos=r,this.buffer.subarray(t,r)},lookChar:function(){for(var e=this.pos;this.bufferLength<=e;){if(this.eof)return null;this.readBlock()}return String.fromCharCode(this.buffer[this.pos])},getChar:function(){for(var e=this.pos;this.bufferLength<=e;){if(this.eof)return null;this.readBlock()}return String.fromCharCode(this.buffer[this.pos++])},makeSubStream:function(e,t,r){for(var o=e+t;this.bufferLength<=o&&!this.eof;)this.readBlock();return new Stream(this.buffer,e,t,r)},skip:function(e){e||(e=1),this.pos+=e},reset:function(){this.pos=0}},e}(),i=function(){if(!self||!self.Uint32Array)return null;var e=new Uint32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),t=new Uint32Array([3,4,5,6,7,8,9,10,65547,65549,65551,65553,131091,131095,131099,131103,196643,196651,196659,196667,262211,262227,262243,262259,327811,327843,327875,327907,258,258,258]),r=new Uint32Array([1,2,3,4,65541,65543,131081,131085,196625,196633,262177,262193,327745,327777,393345,393409,459009,459137,524801,525057,590849,591361,657409,658433,724993,727041,794625,798721,868353,876545]),n=[new Uint32Array([459008,524368,524304,524568,459024,524400,524336,590016,459016,524384,524320,589984,524288,524416,524352,590048,459012,524376,524312,589968,459028,524408,524344,590032,459020,524392,524328,59e4,524296,524424,524360,590064,459010,524372,524308,524572,459026,524404,524340,590024,459018,524388,524324,589992,524292,524420,524356,590056,459014,524380,524316,589976,459030,524412,524348,590040,459022,524396,524332,590008,524300,524428,524364,590072,459009,524370,524306,524570,459025,524402,524338,590020,459017,524386,524322,589988,524290,524418,524354,590052,459013,524378,524314,589972,459029,524410,524346,590036,459021,524394,524330,590004,524298,524426,524362,590068,459011,524374,524310,524574,459027,524406,524342,590028,459019,524390,524326,589996,524294,524422,524358,590060,459015,524382,524318,589980,459031,524414,524350,590044,459023,524398,524334,590012,524302,524430,524366,590076,459008,524369,524305,524569,459024,524401,524337,590018,459016,524385,524321,589986,524289,524417,524353,590050,459012,524377,524313,589970,459028,524409,524345,590034,459020,524393,524329,590002,524297,524425,524361,590066,459010,524373,524309,524573,459026,524405,524341,590026,459018,524389,524325,589994,524293,524421,524357,590058,459014,524381,524317,589978,459030,524413,524349,590042,459022,524397,524333,590010,524301,524429,524365,590074,459009,524371,524307,524571,459025,524403,524339,590022,459017,524387,524323,589990,524291,524419,524355,590054,459013,524379,524315,589974,459029,524411,524347,590038,459021,524395,524331,590006,524299,524427,524363,590070,459011,524375,524311,524575,459027,524407,524343,590030,459019,524391,524327,589998,524295,524423,524359,590062,459015,524383,524319,589982,459031,524415,524351,590046,459023,524399,524335,590014,524303,524431,524367,590078,459008,524368,524304,524568,459024,524400,524336,590017,459016,524384,524320,589985,524288,524416,524352,590049,459012,524376,524312,589969,459028,524408,524344,590033,459020,524392,524328,590001,524296,524424,524360,590065,459010,524372,524308,524572,459026,524404,524340,590025,459018,524388,524324,589993,524292,524420,524356,590057,459014,524380,524316,589977,459030,524412,524348,590041,459022,524396,524332,590009,524300,524428,524364,590073,459009,524370,524306,524570,459025,524402,524338,590021,459017,524386,524322,589989,524290,524418,524354,590053,459013,524378,524314,589973,459029,524410,524346,590037,459021,524394,524330,590005,524298,524426,524362,590069,459011,524374,524310,524574,459027,524406,524342,590029,459019,524390,524326,589997,524294,524422,524358,590061,459015,524382,524318,589981,459031,524414,524350,590045,459023,524398,524334,590013,524302,524430,524366,590077,459008,5243
169,524305,524569,459024,524401,524337,590019,459016,524385,524321,589987,524289,524417,524353,590051,459012,524377,524313,589971,459028,524409,524345,590035,459020,524393,524329,590003,524297,524425,524361,590067,459010,524373,524309,524573,459026,524405,524341,590027,459018,524389,524325,589995,524293,524421,524357,590059,459014,524381,524317,589979,459030,524413,524349,590043,459022,524397,524333,590011,524301,524429,524365,590075,459009,524371,524307,524571,459025,524403,524339,590023,459017,524387,524323,589991,524291,524419,524355,590055,459013,524379,524315,589975,459029,524411,524347,590039,459021,524395,524331,590007,524299,524427,524363,590071,459011,524375,524311,524575,459027,524407,524343,590031,459019,524391,524327,589999,524295,524423,524359,590063,459015,524383,524319,589983,459031,524415,524351,590047,459023,524399,524335,590015,524303,524431,524367,590079]),9],i=[new Uint32Array([327680,327696,327688,327704,327684,327700,327692,327708,327682,327698,327690,327706,327686,327702,327694,0,327681,327697,327689,327705,327685,327701,327693,327709,327683,327699,327691,327707,327687,327703,327695,0]),5];function a(e){throw new Error(e)}function s(e){var t=0,r=e[t++],n=e[t++];-1!=r&&-1!=n||a("Invalid header in flate stream"),8!=(15&r)&&a("Unknown compression method in flate stream"),((r<<8)+n)%31!=0&&a("Bad FCHECK in flate stream"),32&n&&a("FDICT bit set in flate stream"),this.bytes=e,this.bytesPos=2,this.codeSize=0,this.codeBuf=0,o.call(this)}return s.prototype=Object.create(o.prototype),s.prototype.getBits=function(e){for(var t,r=this.codeSize,o=this.codeBuf,n=this.bytes,i=this.bytesPos;r<e;)void 0===(t=n[i++])&&a("Bad encoding in flate stream"),o|=t<<r,r+=8;return t=o&(1<<e)-1,this.codeBuf=o>>e,this.codeSize=r-=e,this.bytesPos=i,t},s.prototype.getCode=function(e){for(var t=e[0],r=e[1],o=this.codeSize,n=this.codeBuf,i=this.bytes,s=this.bytesPos;o<r;){var l;void 0===(l=i[s++])&&a("Bad encoding in flate stream"),n|=l<<o,o+=8}var u=t[n&(1<<r)-1],c=u>>16,f=65535&u;return(0==o||o<c||0==c)&&a("Bad encoding in flate stream"),this.codeBuf=n>>c,this.codeSize=o-c,this.bytesPos=s,f},s.prototype.generateHuffmanTable=function(e){for(var t=e.length,r=0,o=0;o<t;++o)e[o]>r&&(r=e[o]);for(var n=1<<r,i=new Uint32Array(n),a=1,s=0,l=2;a<=r;++a,s<<=1,l<<=1)for(var u=0;u<t;++u)if(e[u]==a){var c=0,f=s;for(o=0;o<a;++o)c=c<<1|1&f,f>>=1;for(o=c;o<n;o+=l)i[o]=a<<16|u;++s}return[i,r]},s.prototype.readBlock=function(){function o(e,t,r,o,n){for(var i=e.getBits(r)+o;i-- >0;)t[p++]=n}var s=this.getBits(3);if(1&s&&(this.eof=!0),0!=(s>>=1)){var l,u;if(1==s)l=n,u=i;else if(2==s){for(var c=this.getBits(5)+257,f=this.getBits(5)+1,h=this.getBits(4)+4,d=Array(e.length),p=0;p<h;)d[e[p++]]=this.getBits(3);for(var g=this.generateHuffmanTable(d),m=0,y=(p=0,c+f),C=new Array(y);p<y;){var b=this.getCode(g);16==b?o(this,C,2,3,m):17==b?o(this,C,3,3,m=0):18==b?o(this,C,7,11,m=0):C[p++]=m=b}l=this.generateHuffmanTable(C.slice(0,c)),u=this.generateHuffmanTable(C.slice(c,y))}else a("Unknown block type in flate stream");for(var w=(L=this.buffer)?L.length:0,v=this.bufferLength;;){var T=this.getCode(l);if(T<256)v+1>=w&&(w=(L=this.ensureBuffer(v+1)).length),L[v++]=T;else{if(256==T)return void(this.bufferLength=v);var S=(T=t[T-=257])>>16;S>0&&(S=this.getBits(S)),m=(65535&T)+S,T=this.getCode(u),(S=(T=r[T])>>16)>0&&(S=this.getBits(S));var k=(65535&T)+S;v+m>=w&&(w=(L=this.ensureBuffer(v+m)).length);for(var I=0;I<m;++I,++v)L[v]=L[v-k]}}}else{var x,A=this.bytes,P=this.bytesPos;void 0===(x=A[P++])&&a("Bad block header in flate stream");var E=x;void 0===(x=A[P++])&&a("Bad block header in flate stream"),E|=x<<8,void 0===(x=A[P++])&&a("Bad block header in flate stream");var D=x;void 0===(x=A[P++])&&a("Bad block header in flate stream"),(D|=x<<8)!=(65535&~E)&&a("Bad uncompressed block length in flate stream"),this.codeBuf=0,this.codeSize=0;var R=this.bufferLength,L=this.ensureBuffer(R+E),M=R+E;this.bufferLength=M;for(var _=R;_<M;++_){if(void 0===(x=A[P++])){this.eof=!0;break}L[_]=x}this.bytesPos=P}},s}())&&(n.exports=i)},4512:function(e,t,r){function o(e){return"h"in e&&"s"in e&&"v"in e}function n(e){return"l"in e&&"a"in e&&"b"in e}function i(e){return"l"in e&&"c"in e&&"h"in e}r.d(t,{Y3:function(){return g},_Y:function(){return p},sJ:function(){return m},xr:function(){return d}});const a=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],s=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]];function l(e,t){const r=[];let o,n;if(e[0].length!==t.length)throw new Error("dimensions do not match");const i=e.length,a=e[0].length;let s=0;for(o=0;o<i;o++){for(s=0,n=0;n<a;n++)s+=e[o][n]*t[n];
1r.push(s)}return r}function u(e){const t=[e.r/255,e.g/255,e.b/255].map((e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4)),r=l(a,t);return{x:100*r[0],y:100*r[1],z:100*r[2]}}function c(e){const t=l(s,[e.x/100,e.y/100,e.z/100]).map((e=>{const t=e<=.0031308?12.92*e:1.055*e**(1/2.4)-.055;return Math.min(1,Math.max(t,0))}));return{r:Math.round(255*t[0]),g:Math.round(255*t[1]),b:Math.round(255*t[2])}}function f(e){const t=[e.x/95.047,e.y/100,e.z/108.883].map((e=>e>(6/29)**3?e**(1/3):1/3*(29/6)**2*e+4/29));return{l:116*t[1]-16,a:500*(t[0]-t[1]),b:200*(t[1]-t[2])}}function h(e){const t=e.l,r=[(t+16)/116+e.a/500,(t+16)/116,(t+16)/116-e.b/200].map((e=>e>6/29?e**3:3*(6/29)**2*(e-4/29)));return{x:95.047*r[0],y:100*r[1],z:108.883*r[2]}}function d(e){return"r"in(t=e)&&"g"in t&&"b"in t?e:i(e)?function(e){return c(h(function(e){const t=e.l,r=e.c,o=e.h;return{l:t,a:r*Math.cos(o),b:r*Math.sin(o)}}(e)))}(e):n(e)?function(e){return c(h(e))}(e):function(e){return"x"in e&&"y"in e&&"z"in e}(e)?c(e):o(e)?function(e){const t=(e.h+360)%360/60,r=e.s/100,o=e.v/100*255,n=o*r,i=n*(1-Math.abs(t%2-1));let a;switch(Math.floor(t)){case 0:a={r:n,g:i,b:0};break;case 1:a={r:i,g:n,b:0};break;case 2:a={r:0,g:n,b:i};break;case 3:a={r:0,g:i,b:n};break;case 4:a={r:i,g:0,b:n};break;case 5:case 6:a={r:n,g:0,b:i};break;default:a={r:0,g:0,b:0}}return a.r=Math.round(a.r+o-n),a.g=Math.round(a.g+o-n),a.b=Math.round(a.b+o-n),a}(e):e;var t}function p(e){return o(e)?e:function(e){const t=e.r,r=e.g,o=e.b,n=Math.max(t,r,o),i=n-Math.min(t,r,o);let a=n,s=0===i?0:n===t?(r-o)/i%6:n===r?(o-t)/i+2:(t-r)/i+4,l=0===i?0:i/a;return s<0&&(s+=6),s*=60,l*=100,a*=100/255,{h:s,s:l,v:a}}(d(e))}function g(e){return n(e)?e:function(e){return f(u(e))}(d(e))}function m(e){return i(e)?e:function(e){return function(e){const t=e.l,r=e.a,o=e.b,n=Math.sqrt(r*r+o*o);let i=Math.atan2(o,r);return i=i>0?i:i+2*Math.PI,{l:t,c:n,h:i}}(f(u(e)))}(d(e))}},22953:function(e,t,r){r.d(t,{Z:function(){return p}});var o,n=r(38322),i=r(24665),a=r(79190),s=r(72514),l=r(83784),u=(r(16525),r(41079)),c=r(7484),f=r(54962),h=r(6474);let d=o=class extends i.wq{constructor(e){super(e),this.attributeTable=null,this.bandCount=null,this.colormap=null,this.extent=null,this.format=void 0,this.height=null,this.width=null,this.histograms=null,this.keyProperties={},this.multidimensionalInfo=null,this.noDataValue=null,this.pixelSize=null,this.pixelType=null,this.isPseudoSpatialReference=!1,this.spatialReference=null,this.statistics=null,this.storageInfo=null,this.transform=null}get dataType(){const e=this.keyProperties?.DataType?.toLowerCase()??"generic";return"stdtime"===e?"standard-time":e}get nativeExtent(){return this._get("nativeExtent")||this.extent}set nativeExtent(e){e&&this._set("nativeExtent",e)}get nativePixelSize(){if((0,s.Wi)(this.transform)||!this.transform.affectsPixelSize)return this.pixelSize;const e=this.nativeExtent;return{x:e.width/this.width,y:e.height/this.height}}get hasMultidimensionalTranspose(){return!!this.storageInfo?.transposeInfo}clone(){return new o({attributeTable:(0,a.d9)(this.attributeTable),bandCount:this.bandCount,colormap:(0,a.d9)(this.colormap),extent:(0,a.d9)(this.extent),nativePixelSize:(0,a.d9)(this.nativePixelSize),format:this.format,height:this.height,width:this.width,histograms:(0,a.d9)(this.histograms),keyProperties:(0,a.d9)(this.keyProperties),multidimensionalInfo:(0,a.d9)(this.multidimensionalInfo),noDataValue:this.noDataValue,pixelSize:(0,a.d9)(this.pixelSize),pixelType:this.pixelType,isPseudoSpatialReference:this.isPseudoSpatialReference,spatialReference:(0,a.d9)(this.spatialReference),statistics:(0,a.d9)(this.statistics),storageInfo:(0,a.d9)(this.storageInfo),transform:(0,a.d9)(this.transform)})}};(0,n._)([(0,l.Cb)({json:{write:!0}})],d.prototype,"attributeTable",void 0),(0,n._)([(0,l.Cb)({json:{write:!0}})],d.prototype,"bandCount",void 0),(0,n._)([(0,l.Cb)({json:{write:!0}})],d.prototype,"colormap",void 0),(0,n._)([(0,l.Cb)({type:String,readOnly:!0})],d.prototype,"dataType",null),(0,n._)([(0,l.Cb)({type:c.Z,json:{write:!0}})],d.prototype,"extent",void 0),(0,n._)([(0,l.Cb)({type:c.Z,json:{write:!0}})],d.prototype,"nativeExtent",null),(0,n._)([(0,l.Cb)({json:{write:!0}})],d.prototype,"nativePixelSize",null),(0,n._)([(0,l.Cb)({json:{write:!0}})],d.prototype,"format",void 0),(0,n._)([(0,l.Cb)({json:{write:!0}})],d.prototype,"height",void 0),(0,n._)([(0,l.Cb)({json:{write:!0}})],d.prototype,"width",void 0),(0,n._)([(0,l.Cb)({json:{write:!0}})],d.prototype,"hasMultidimensionalTranspose",null),(0,n._)([(0,l.Cb)({json:{write:!0}})],d.prototype,"histograms",void 0),(0,n._)([(0,l.Cb)({json:{write:!0}})],d.prototype,"keyProperties",void 0),(0,n._)([(0,l.Cb)({json:{write:!0}})],d.prototype,"multidimensionalInfo",void 0),(0,n._)([(0,l.Cb)({json:{write:!0}})],d.prototype,"noDataValue",void 0),(0,n._)([(0,l.Cb)({json:{write:!0}})],d.prototype,"pixelSize",void 0),(0,n._)([(0,l.Cb)({json:{write:!0}})],d.prototype,"pixelType",void 0),(0,n._)([(0,l.Cb)()],d.prototype,"isPseudoSpatialReference",void 0),(0,n._)([(0,l.Cb)({type:f.Z,json:{write:!0}})],d.prototype,"spatialReference",void 0),(0,n._)([(0,l.Cb)({json:{write:!0}})],d.prototype,"statistics",void 0),(0,n._)([(0,l.Cb)({type:h.Z,json:{write:!0}})],d.prototype,"storageInfo",void 0),(0,n._)([(0,l.Cb)({json:{write:!0}})],d.prototype,"transform",void 0),d=o=(0,n._)([(0,u.j)("esri.layers.support.RasterInfo")],d);const p=d},6474:function(e,t,r){r.d(t,{Z:function(){return f}});var o,n=r(38322),i=r(24665),a=r(79190),s=r(83784),l=(r(16525),r(410
179)),u=r(4110);let c=o=class extends i.wq{constructor(){super(...arguments),this.blockWidth=void 0,this.blockHeight=void 0,this.compression=null,this.origin=null,this.firstPyramidLevel=null,this.maximumPyramidLevel=null,this.pyramidScalingFactor=2,this.pyramidBlockWidth=null,this.pyramidBlockHeight=null,this.isVirtualTileInfo=!1,this.tileInfo=null,this.transposeInfo=null,this.blockBoundary=null}clone(){return new o({blockWidth:this.blockWidth,blockHeight:this.blockHeight,compression:this.compression,origin:(0,a.d9)(this.origin),firstPyramidLevel:this.firstPyramidLevel,maximumPyramidLevel:this.maximumPyramidLevel,pyramidResolutions:(0,a.d9)(this.pyramidResolutions),pyramidScalingFactor:this.pyramidScalingFactor,pyramidBlockWidth:this.pyramidBlockWidth,pyramidBlockHeight:this.pyramidBlockHeight,isVirtualTileInfo:this.isVirtualTileInfo,tileInfo:(0,a.d9)(this.tileInfo),transposeInfo:(0,a.d9)(this.transposeInfo),blockBoundary:(0,a.d9)(this.blockBoundary)})}};(0,n._)([(0,s.Cb)({type:Number,json:{write:!0}})],c.prototype,"blockWidth",void 0),(0,n._)([(0,s.Cb)({type:Number,json:{write:!0}})],c.prototype,"blockHeight",void 0),(0,n._)([(0,s.Cb)({type:String,json:{write:!0}})],c.prototype,"compression",void 0),(0,n._)([(0,s.Cb)({type:u.Z,json:{write:!0}})],c.prototype,"origin",void 0),(0,n._)([(0,s.Cb)({type:Number,json:{write:!0}})],c.prototype,"firstPyramidLevel",void 0),(0,n._)([(0,s.Cb)({type:Number,json:{write:!0}})],c.prototype,"maximumPyramidLevel",void 0),(0,n._)([(0,s.Cb)({json:{write:!0}})],c.prototype,"pyramidResolutions",void 0),(0,n._)([(0,s.Cb)({type:Number,json:{write:!0}})],c.prototype,"pyramidScalingFactor",void 0),(0,n._)([(0,s.Cb)({type:Number,json:{write:!0}})],c.prototype,"pyramidBlockWidth",void 0),(0,n._)([(0,s.Cb)({type:Number,json:{write:!0}})],c.prototype,"pyramidBlockHeight",void 0),(0,n._)([(0,s.Cb)({type:Boolean,json:{write:!0}})],c.prototype,"isVirtualTileInfo",void 0),(0,n._)([(0,s.Cb)({json:{write:!0}})],c.prototype,"tileInfo",void 0),(0,n._)([(0,s.Cb)()],c.prototype,"transposeInfo",void 0),(0,n._)([(0,s.Cb)()],c.prototype,"blockBoundary",void 0),c=o=(0,n._)([(0,l.j)("esri.layers.support.RasterStorageInfo")],c);const f=c},88892:function(e,t,r){function o(e,t){let r=0,o="",n=0,i=0;const a=e.length;for(;r<a;)i=e[r++],n=i>>4,n<8?n=1:15===n?(n=4,i=(7&i)<<18|(63&e[r++])<<12|(63&e[r++])<<6|63&e[r++]):14===n?(n=3,i=(15&i)<<12|(63&e[r++])<<6|63&e[r++]):(n=2,i=(31&i)<<6|63&e[r++]),(0!==i||t)&&(o+=String.fromCharCode(i));return o}r.d(t,{f:function(){return o}})},64167:function(e,t,r){r.d(t,{Jx:function(){return f},zD:function(){return s}});var o=r(16606);const n=[{pixelType:"S8",size:1,ctor:Int8Array,range:[-128,127]},{pixelType:"U8",size:1,ctor:Uint8Array,range:[0,255]},{pixelType:"S16",size:2,ctor:Int16Array,range:[-32768,32767]},{pixelType:"U16",size:2,ctor:Uint16Array,range:[0,65536]},{pixelType:"S32",size:4,ctor:Int32Array,range:[-2147483648,2147483647]},{pixelType:"U32",size:4,ctor:Uint32Array,range:[0,4294967296]},{pixelType:"F32",size:4,ctor:Float32Array,range:[-34027999387901484e22,34027999387901484e22]},{pixelType:"F64",size:8,ctor:Float64Array,range:[-17976931348623157e292,17976931348623157e292]}];let i=null,a=null;function s(){return i||(i=r.e(307).then(r.bind(r,307)).then((e=>e.l)).then((({default:e})=>e({locateFile:e=>(0,o.V)(`esri/layers/support/rasterFormats/${e}`)}))).then((e=>{(function(e){const{_malloc:t,_free:r,_lerc_getBlobInfo:o,_lerc_getDataRanges:i,_lerc_decode_4D:a,asm:s}=e;let c;const f=Object.values(s).find((t=>t&&"buffer"in t&&t.buffer===e.HEAPU8.buffer)),h=e=>{const r=e.map((e=>function(e){return 16+(e>>3<<3)}(e))),o=r.reduce(((e,t)=>e+t)),n=t(o);c=new Uint8Array(f.buffer);let i=r[0];r[0]=n;for(let e=1;e<r.length;e++){const t=r[e];r[e]=r[e-1]+i,i=t}return r};l.getBlobInfo=e=>{const t=new Uint8Array(48),n=new Uint8Array(24),[a,s,l]=h([e.length,t.length,n.length]);c.set(e,a),c.set(t,s),c.set(n,l);let d=o(a,e.length,s,l,12,3);if(d)throw r(a),new Error(`lerc-getBlobInfo: error code is ${d}`);c=new Uint8Array(f.buffer),u(c,s,t),u(c,l,n);const p=new Uint32Array(t.buffer),g=new Float64Array(n.buffer),[m,y,,C,b,w,v,T,S,k,I]=p,x={version:m,depthCount:k,width:C,height:b,validPixelCount:v,bandCount:w,blobSize:T,maskCount:S,dataType:y,minValue:g[0],maxValue:g[1],maxZerror:g[2],statistics:[],bandCountWithNoData:I};
1if(I)return x;if(1===k&&1===w)return r(a),x.statistics.push({minValue:g[0],maxValue:g[1]}),x;const A=k*w*8,P=new Uint8Array(A),E=new Uint8Array(A);let D=a,R=0,L=0,M=!1;if(c.byteLength<a+2*A?(r(a),M=!0,[D,R,L]=h([e.length,A,A]),c.set(e,D)):[R,L]=h([A,A]),c.set(P,R),c.set(E,L),d=i(D,e.length,k,w,R,L),d)throw r(D),M||r(R),new Error(`lerc-getDataRanges: error code is ${d}`);c=new Uint8Array(f.buffer),u(c,R,P),u(c,L,E);const _=new Float64Array(P.buffer),O=new Float64Array(E.buffer),B=x.statistics;for(let e=0;e<w;e++)if(k>1){const t=_.slice(e*k,(e+1)*k),r=O.slice(e*k,(e+1)*k),o=Math.min.apply(null,t),n=Math.max.apply(null,r);B.push({minValue:o,maxValue:n,depthStats:{minValues:t,maxValues:r}})}else B.push({minValue:_[e],maxValue:O[e]});return r(D),M||r(R),x},l.decode=(e,t)=>{const{maskCount:o,depthCount:i,bandCount:s,width:l,height:d,dataType:p,bandCountWithNoData:g}=t,m=n[p],y=l*d,C=new Uint8Array(y*s),b=y*i*s*m.size,w=new Uint8Array(b),v=new Uint8Array(s),T=new Uint8Array(8*s),[S,k,I,x,A]=h([e.length,C.length,w.length,v.length,T.length]);c.set(e,S),c.set(C,k),c.set(w,I),c.set(v,x),c.set(T,A);const P=a(S,e.length,o,k,i,l,d,s,p,I,x,A);if(P)throw r(S),new Error(`lerc-decode: error code is ${P}`);c=new Uint8Array(f.buffer),u(c,I,w),u(c,k,C);let E=null;if(g){u(c,x,v),u(c,A,T),E=[];const e=new Float64Array(T.buffer);for(let t=0;t<v.length;t++)E.push(v[t]?e[t]:null)}return r(S),{data:w,maskData:C,noDataValues:E}}})(e),a=!0})),i)}const l={getBlobInfo:null,decode:null};function u(e,t,r){r.set(e.slice(t,t+r.length))}function c(e,t,r,o,n){if(r<2)return e;const i=new o(t*r);if(n)for(let o=0,n=0;o<t;o++)for(let a=0,s=o;a<r;a++,s+=t)i[s]=e[n++];else for(let o=0,n=0;o<t;o++)for(let a=0,s=o;a<r;a++,s+=t)i[n++]=e[s];return i}function f(e,t={}){const r=t.inputOffset??0,o=e instanceof Uint8Array?e.subarray(r):new Uint8Array(e,r),i=l.getBlobInfo(o),{data:a,maskData:s,noDataValues:u}=l.decode(o,i),{width:f,height:h,bandCount:d,depthCount:p,dataType:g,maskCount:m,statistics:y}=i,C=n[g],b=new C.ctor(a.buffer),w=[],v=[],T=f*h,S=T*p;for(let e=0;e<d;e++){const r=b.subarray(e*S,(e+1)*S);if(t.returnInterleaved)w.push(r);else{const e=c(r,T,p,C.ctor,!0);w.push(e)}v.push(s.subarray(e*S,(e+1)*S))}const k=0===m?null:1===m?v[0]:new Uint8Array(T);if(m>1){k.set(v[0]);for(let e=1;e<v.length;e++){const t=v[e];for(let e=0;e<T;e++)k[e]=k[e]&t[e]}}const{noDataValue:I}=t,x=null!=I&&C.range[0]<=I&&C.range[1]>=I;if(m>0&&x)for(let e=0;e<d;e++){const t=w[e],r=v[e]||k;for(let e=0;e<T;e++)0===r[e]&&(t[e]=I)}const A=m===d&&d>1?v:null,{pixelType:P}=C;return{width:f,height:h,bandCount:d,pixelType:P,depthCount:p,statistics:y,pixels:w,mask:k,bandMasks:A,noDataValues:u}}},86827:function(e,t,r){function o(){const e=[];for(let t=0;t<=257;t++)e[t]=[t];return e}function n(e,t){for(let r=0;r<t.length;r++)e.push(t[r])}r.d(t,{J:function(){return a}});const i=new Set;function a(e,t,r,a=!0){const s=function(e,t,r,o=!0){if(t%4!=0||r%4!=0){const n=new ArrayBuffer(4*Math.ceil(r/4)),i=new Uint8Array(n),a=new Uint8Array(e,t,r);if(o)for(let e=0;e<i.length;e+=4)i[e]=a[e+3],i[e+1]=a[e+2],i[e+2]=a[e+1],i[e+3]=a[e];else i.set(a);return new Uint32Array(i.buffer)}if(o){const o=new Uint8Array(e,t,r),n=new Uint8Array(o.length);for(let e=0;e<n.length;e+=4)n[e]=o[e+3],n[e+1]=o[e+2],n[e+2]=o[e+1],n[e+3]=o[e];return new Uint32Array(n.buffer)}return new Uint32Array(e,t,r/4)}(e,t,r,a);let l=9,u=o(),c=32,f=u.length,h=[],d=1,p=s[0],g=0;const m=s.length,y=8*(4*m-r),C=[];for(;null!=p;){if(c>=l)c-=l,g=p>>>32-l,p<<=l;else{g=p>>>32-c,p=s[d++];const e=l-c;c=32-e,g=(g<<e)+(p>>>c),p<<=e}if(257===g)break;if(256===g){l=9,u=o(),f=u.length,h=[];continue}const e=u[g];if(null==e){if(g>u.length)throw new Error("data integrity issue: code does not exist on code page");h.push(h[0]),u[f++]=h.slice(),n(C,h)}else n(C,e),h.push(e[0]),h.length>1&&(u[f++]=h.slice()),h=e.slice();if(i.has(f)&&l++,0===c&&(p=s[d++],c=32),d>m||d===m&&c<=y)break}return new Uint8Array(C)}i.add(511),i.add(1023),i.add(2047),i.add(4095),i.add(8191)},64765:function(e,t,r){r.d(t,{J:function(){return D},y:function(){return E}});var o=r(67385),n=r(72514),i=r(92067),a=r(15228),s=r(73395);class l{constructor(e){this._canvas=null,this._ctx=null,e&&(this._canvas=e.canvas,this._ctx=e.ctx||e.canvas&&e.canvas.getContext("2d"))}decode(e,t,r){if(!e||e.byteLength<10)throw new o.Z("imagecanvasdecoder: decode","required a valid encoded data as input.");let{width:n=0,height:i=0,format:s}=t;const{applyJpegMask:u}=t;if(u&&(!n||!i))throw new o.Z("imagecanvasdecoder: decode","image width and height are needed to apply jpeg mask directly to canvas");return new Promise(((o,c)=>{let f=null;"jpg"===s&&u&&(f=l._getMask(e,{width:n,height:i}));const h=new Blob([new Uint8Array(e)],{type:"image/"+s=="jpg"?"jpeg":s}),d=URL.createObjectURL(h),p=new Image;let g;p.src=d,p.onload=()=>
vendor: 4,344 bytes, line 1
1{if(URL.revokeObjectURL(d),(0,a.Hc)(r))return void c((0,a.zE)());n=p.width,i=p.height,this._canvas&&this._ctx?(this._canvas.width===n&&this._canvas.height===i||(this._canvas.width=n,this._canvas.height=i),this._ctx.clearRect(0,0,n,i)):(this._canvas=document.createElement("canvas"),this._canvas.width=n,this._canvas.height=i,this._ctx=this._canvas.getContext("2d")),this._ctx.drawImage(p,0,0);const e=this._ctx.getImageData(0,0,n,i);let s;if(g=e.data,t.renderOnCanvas){if(f)for(s=0;s<f.length;s++)f[s]?g[4*s+3]=255:g[4*s+3]=0;return this._ctx.putImageData(e,0,0),void o(null)}const l=n*i,u=new Uint8Array(l),h=new Uint8Array(l),m=new Uint8Array(l);if(f)for(s=0;s<l;s++)u[s]=g[4*s],h[s]=g[4*s+1],m[s]=g[4*s+2];else for(f=new Uint8Array(l),s=0;s<l;s++)u[s]=g[4*s],h[s]=g[4*s+1],m[s]=g[4*s+2],f[s]=g[4*s+3];o({width:n,height:i,pixels:[u,h,m],mask:f,pixelType:"u8"})},p.onerror=()=>{URL.revokeObjectURL(d),c("cannot load image")}}))}static _getMask(e,t){let r=null;try{const o=new Uint8Array(e),n=Math.ceil(o.length/2);let i=0;const a=o.length-2;for(i=n;i<a&&(255!==o[i]||217!==o[i+1]);i++);if(i+=2,i<o.length-1){const e=new s.Z(o.subarray(i)).getBytes();r=new Uint8Array(t.width*t.height);let n=0;for(let t=0;t<e.length;t++)for(let o=7;o>=0;o--)r[n++]=e[t]>>o&1}}catch(e){}return r}}var u=r(9730),c=r(64167),f=r(86827),h=r(42472);const d=(e,t)=>{const r=t.width*t.height,o=t.pixelType;return Math.floor(e.byteLength/(r*p(o)))},p=e=>{let t=1;switch(e){case Uint8Array:case Int8Array:t=1;break;case Uint16Array:case Int16Array:t=2;break;case Uint32Array:case Int32Array:case Float32Array:t=4;break;case Float64Array:t=8}return t};class g{static decode(e,t){const r=t.pixelType,o=[],n=t.width*t.height,i=d(e,t),{bandIds:a,format:s}=t,l=a&&a.length||d(e,t),u=e.byteLength-e.byteLength%(n*p(r)),c=new r(e,0,n*i);let f,h,g,m,y=null;if("bip"===s)for(f=0;f<l;f++){for(g=new r(n),m=a?a[f]:f,h=0;h<n;h++)g[h]=c[h*i+m];o.push(g)}else if("bsq"===s)for(f=0;f<l;f++)m=a?a[f]:f,o.push(c.subarray(m*n,(m+1)*n));return u<e.byteLength-1&&(y=((e,t)=>{if(8*e.byteLength<t)return null;const r=new Uint8Array(e,0,Math.ceil(t/8)),o=new Uint8Array(t);let n=0,i=0,a=0,s=0;for(a=0;a<r.length-1;a++)for(i=r[a],s=7;s>=0;s--)o[n++]=i>>s&1;for(s=7;n<t-1;)i=r[r.length-1],o[n++]=i>>s&1,s--;return o})(e.slice(u),n)),{pixels:o,mask:y}}}var m=r(72176),y=r(87672),C=function(e){var t,r,o;function n(e){var t,r,o,n,i,a,s,l,u,c,f,h,d;for(this.data=e,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},i=null;;){switch(t=this.readUInt32(),l=function(){var e,t;for(t=[],e=0;e<4;++e)t.push(String.fromCharCode(this.data[this.pos++]));return t}.call(this).join(""),l){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"acTL":this.animation={numFrames:this.readUInt32(),numPlays:this.readUInt32()||1/0,frames:[]};break;case"PLTE":this.palette=this.read(t);break;case"fcTL":i&&this.animation.frames.push(i),this.pos+=4,i={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},n=this.readUInt16(),o=this.readUInt16()||100,i.delay=1e3*n/o,i.disposeOp=this.data[this.pos++],i.blendOp=this.data[this.pos++],i.data=[];break;case"IDAT":case"fdAT":for("fdAT"===l&&(this.pos+=4,t-=4),e=(null!=i?i.data:void 0)||this.imgData,f=0;0<=t?f<t:f>t;0<=t?++f:--f)e.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(this.transparency.indexed=this.read(t),(u=255-this.transparency.indexed.length)>0)for(h=0;0<=u?h<u:h>u;0<=u?++h:--h)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(t)[0];break;case 2:this.transparency.rgb=this.read(t)}break;case"tEXt":a=(c=this.read(t)).indexOf(0),s=String.fromCharCode.apply(String,c.slice(0,a)),this.text[s]=String.fromCharCode.apply(String,c.slice(a+1));break;case"IEND":return i&&this.animation.frames.push(i),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=4===(d=this.colorType)||6===d,r=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*r,this.colorSpace
1=function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}.call(this),void(this.imgData=new Uint8Array(this.imgData));default:this.pos+=t}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}return n.load=function(e,t,r){var o;return"function"==typeof t&&(r=t),(o=new XMLHttpRequest).open("GET",e,!0),o.responseType="arraybuffer",o.onload=function(){var e;return e=new n(new Uint8Array(o.response||o.mozResponseArrayBuffer)),"function"==typeof(null!=t?t.getContext:void 0)&&e.render(t),"function"==typeof r?r(e):void 0},o.send(null)},n.prototype.read=function(e){var t,r;for(r=[],t=0;0<=e?t<e:t>e;0<=e?++t:--t)r.push(this.data[this.pos++]);return r},n.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},n.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},n.prototype.decodePixels=function(e){var t,r,o,n,i,a,l,u,c,f,h,d,p,g,m,y,C,b,w,v,T,S,k;if(null==e&&(e=this.imgData),0===e.length)return new Uint8Array(0);for(e=(e=new s.Z(e)).getBytes(),y=(d=this.pixelBitlength/8)*this.width,p=new Uint8Array(y*this.height),a=e.length,m=0,g=0,r=0;g<a;){switch(e[g++]){case 0:for(n=w=0;w<y;n=w+=1)p[r++]=e[g++];break;case 1:for(n=v=0;v<y;n=v+=1)t=e[g++],i=n<d?0:p[r-d],p[r++]=(t+i)%256;break;case 2:for(n=T=0;T<y;n=T+=1)t=e[g++],o=(n-n%d)/d,C=m&&p[(m-1)*y+o*d+n%d],p[r++]=(C+t)%256;break;case 3:for(n=S=0;S<y;n=S+=1)t=e[g++],o=(n-n%d)/d,i=n<d?0:p[r-d],C=m&&p[(m-1)*y+o*d+n%d],p[r++]=(t+Math.floor((i+C)/2))%256;break;case 4:for(n=k=0;k<y;n=k+=1)t=e[g++],o=(n-n%d)/d,i=n<d?0:p[r-d],0===m?C=b=0:(C=p[(m-1)*y+o*d+n%d],b=o&&p[(m-1)*y+(o-1)*d+n%d]),l=i+C-b,u=Math.abs(l-i),f=Math.abs(l-C),h=Math.abs(l-b),c=u<=f&&u<=h?i:f<=h?C:b,p[r++]=(t+c)%256;break;default:throw new Error("Invalid filter algorithm: "+e[g-1])}m++}return p},n.prototype.decodePalette=function(){var e,t,r,o,n,i,a,s,l;for(r=this.palette,i=this.transparency.indexed||[],n=new Uint8Array((i.length||0)+r.length),o=0,r.length,e=0,t=a=0,s=r.length;a<s;t=a+=3)n[o++]=r[t],n[o++]=r[t+1],n[o++]=r[t+2],n[o++]=null!=(l=i[e++])?l:255;return n},n.prototype.copyToImageData=function(e,t){var r,o,n,i,a,s,l,u,c,f,h;if(o=this.colors,c=null,r=this.hasAlphaChannel,this.palette.length&&(c=null!=(h=this._decodedPalette)?h:this._decodedPalette=this.decodePalette(),o=4,r=!0),u=(n=e.data||e).length,a=c||t,i=s=0,1===o)for(;i<u;)l=c?4*t[i/4]:s,f=a[l++],n[i++]=f,n[i++]=f,n[i++]=f,n[i++]=r?a[l++]:this.transparency.grayscale&&this.transparency.grayscale===f?0:255,s=l;else for(;i<u;)l=c?4*t[i/4]:s,n[i++]=a[l++],n[i++]=a[l++],n[i++]=a[l++],n[i++]=r?a[l++]:this.transparency.rgb&&this.transparency.rgb[1]===a[l-3]&&this.transparency.rgb[3]===a[l-2]&&this.transparency.rgb[5]===a[l-1]?0:255,s=l},n.prototype.decode=function(){var e;return e=new Uint8Array(this.width*this.height*4),this.copyToImageData(e,this.decodePixels()),e},r=e.document&&e.document.createElement("canvas"),o=r&&r.getContext("2d"),t=function(e){var t;return o.width=e.width,o.height=e.height,o.clearRect(0,0,e.width,e.height),o.putImageData(e,0,0),(t=new Image).src=r.toDataURL(),t},n.prototype.decodeFrames=function(e){var r,o,n,i,a,s,l,u;if(this.animation){for(u=[],o=a=0,s=(l=this.animation.frames).length;a<s;o=++a)r=l[o],n=e.createImageData(r.width,r.height),i=this.decodePixels(new Uint8Array(r.data)),this.copyToImageData(n,i),r.imageData=n,u.push(r.image=t(n));return u}},n.prototype.renderFrame=function(e,t){var r,o,n;return r=(o=this.animation.frames)[t],n=o[t-1],0===t&&e.clearRect(0,0,this.width,this.height),1===(null!=n?n.disposeOp:void 0)?e.clearRect(n.xOffset,n.yOffset,n.width,n.height):2===(null!=n?n.disposeOp:void 0)&&e.putImageData(n.imageData,n.xOffset,n.yOffset),0===r.blendOp&&e.clearRect(r.xOffset,r.yOffset,r.width,r.height),e.drawImage(r.image,r.xOffset,r.yOffset)},n.prototype.animate=function(e){var t,r,o,n,i,a,s=this;return r=0,a=this.animation,n=a.numFrames,o=a.frames,i=a.numPlays,(t=function(){var a,l;if(a=r++%n,l=o[a],s.renderFrame(e,a),n>1&&r/n<i)return s.animation._timeout=setTimeout(t,l.delay)})()},n.prototype.stopAnimation=function(){var e;return clearTimeout(null!=(e=this.animation)?e._timeout:void 0)},n.prototype.render=function(e){var t,r;return e._png&&e._png.stopAnimation(),e._png=this,e.width=this.width,e.height=this.height,t=e.getContext("2d"),this.animation?(this.decodeFrames(t),this.animate(t)):(r=t.createImageData(this.width,this.height),this.copyToImageData(r,this.decodePixels()),t.putImageData(r,0,0))},n}(self);const b=new Set(["jpg","png","bmp","gif"]);async function w(e,t){if(!y.f)throw new o.Z("rasterCoded:decode","lerc decoder is not supported on big endian platform");await(0,c.zD)();const{offset:r}=t,{width:n,height:a,pixelType:s,statistics:l,depthCount:u,noDataValues:f,bandMasks:h,pixels:d,mask:p}=(0,c.Jx)(e,{inputOffset:r,returnInterleaved:t.returnInterleaved});return new i.Z({width:n,height:a,pixelType:s.toLowerCase(),pixels:d,mask:p,statistics:l,bandMasks:h,depthCount:u,noDataValues:f})}async function v(e,t){const r=await(0,m.Jx)(e,{...t,noDataValue:null});(0,n.O3)(r);const o=new i.Z({width:r.width,height:r.height,pixels:r.pixels,pixelType:r.pixelType.toLowerCase(),mask:r.mask,statistics:null});return o.updateStatistics(),o}function T(e,t){const r=t.pixelType||"u8",o=i.Z.getPixelArrayConstructor(r),n="u8"===r?e:new o(e.buffer),a=[],s=t.planes||1;if(1===s)a.push(n);else for(let r=0;r<s;r++){const i=(t.width||1)*(t.height||e.length),l=new o(i);for(let e=0;e<i;e++)l[e]=n[e*s+r];a.push(l)}const l=new i.Z({width:t.width||1,height:t.height||e.length,pixels:a,pixelType:r,statistics:null});return l.updateStatistics(),l}function S(e,t){return T(new s.Z(new Uint8Array(e)).getBytes(),t)}function k(e,t){return T((0,f.J)(e,t.offset,t.eof,!t.isInputBigEndian),t)}function I(e,t){const r=class{static decode(e,t=!1){const r=new 
1Uint8Array(e),o=new u.J;o.parse(r);const{width:n,height:i,numComponents:a,eof:l}=o,c=o.getData(n,i,!0),f=n*i;let h,d=null,p=0,g=0,m=0;if(!t&&l<r.length-1)try{const e=new s.Z(r.subarray(l)).getBytes();d=new Uint8Array(f);let t=0;for(p=0;p<e.length;p++)for(m=7;m>=0;m--)d[t++]=e[p]>>m&1}catch{}if(1===a&&c.length===n*i){const e=new Uint8Array(c.buffer);h=[e,e,e]}else{for(h=[],p=0;p<3;p++)h.push(new Uint8Array(f));for(m=0,g=0;g<f;g++)for(p=0;p<3;p++)h[p][g]=c[m++]}return{width:n,height:i,pixels:h,mask:d}}}.decode(e,t.hasNoZlibMask??void 0),o=new i.Z({width:r.width,height:r.height,pixels:r.pixels,pixelType:"U8",mask:r.mask,statistics:null});return o.updateStatistics(),o}function x(e,t){const r=new Uint8Array(e),o=new C(r),{width:n,height:a}=t,s=n*a,l=o.decode();let u,c=0,f=0;const h=new Uint8Array(s);for(c=0;c<s;c++)h[c]=l[4*c+3];const d=new i.Z({width:n,height:a,pixels:[],pixelType:"U8",mask:h,statistics:[]});for(c=0;c<3;c++){for(u=new Uint8Array(s),f=0;f<s;f++)u[f]=l[4*f+c];d.addData({pixels:u})}return d.updateStatistics(),d}async function A(e,t,r,o){const n=new l,a={applyJpegMask:!1,format:t,...r},s=await n.decode(e,a,o),u=new i.Z(s);return u.updateStatistics(),u}function P(e){if(null==e)throw new o.Z("rasterCodec:decode","parameter encodeddata is required.");const t=new Uint8Array(e,0,10);let r="";return 255===t[0]&&216===t[1]?r="jpg":137===t[0]&&80===t[1]&&78===t[2]&&71===t[3]?r="png":67===t[0]&&110===t[1]&&116===t[2]&&90===t[3]&&73===t[4]&&109===t[5]&&97===t[6]&&103===t[7]&&101===t[8]&&32===t[9]?r="lerc":76===t[0]&&101===t[1]&&114===t[2]&&99===t[3]&&50===t[4]&&32===t[5]?r="lerc2":73===t[0]&&73===t[1]&&42===t[2]&&0===t[3]||77===t[0]&&77===t[1]&&0===t[2]&&42===t[3]||73===t[0]&&73===t[1]&&43===t[2]&&0===t[3]||77===t[0]&&77===t[1]&&0===t[2]&&43===t[3]?r="tiff":71===t[0]&&73===t[1]&&70===t[2]?r="gif":66===t[0]&&77===t[1]?r="bmp":String.fromCharCode.apply(null,t).toLowerCase().includes("error")&&(r="error"),r}function E(e){let t=P(e);return"lerc2"===t?t="lerc":"error"===t&&(t=""),t}async function D(e,t={},r){if(null==e)throw new o.Z("rasterCodec:decode","missing encodeddata parameter.");let a=t.format&&t.format.toLowerCase();if(!("bsq"!==a&&"bip"!==a||null!=t.width&&null!=t.height))throw new o.Z("rasterCodec:decode","requires width and height in options parameter.");if("tiff"===a&&t.customOptions)return async function(e,t){const r=await(0,m.Uw)(e,t.customOptions),o=new i.Z({width:r.width,height:r.height,pixels:r.pixels,pixelType:r.pixelType.toLowerCase(),mask:r.mask,statistics:null});return o.updateStatistics(),o}(e,t);if((!a||"bsq"!==a&&"bip"!==a&&"deflate"!==a&&"lzw"!==a)&&(a=P(e)),t.useCanvas&&b.has(a))return A(e,a,t,r);const s=function(e){let t=null;switch(e){case"lerc":case"lerc2":t=w;break;case"jpg":t=I;break;case"png":t=x;break;case"bsq":case"bip":t=(t,r)=>function(e,t,r){const{pixelTypeCtor:o}=function(e){let t=null,r=null;switch(e?e.toLowerCase():"f32"){case"u1":case"u2":case"u4":case"u8":r=255,t=Uint8Array;break;case"u16":r=r||65535,t=Uint16Array;break;case"u32":r=r||2**32-1,t=Uint32Array;break;case"s8":r=r||-128,t=Int8Array;break;case"s16":r=r||-32768,t=Int16Array;break;case"s32":r=r||0-2**31,t=Int32Array;break;default:t=Float32Array}return{pixelTypeCtor:t,noDataValue:r}}(t.pixelType),n=(0,g.decode)(e,{width:t.width,height:t.height,pixelType:o,format:r}),a=new i.Z({width:t.width,height:t.height,pixels:n.pixels,pixelType:t.pixelType,mask:n.mask,statistics:null});return a.updateStatistics(),a}(t,r,e);break;case"tiff":t=v;break;case"deflate":t=S;break;case"lzw":t=k;break;case"error":t=()=>{throw new o.Z("rasterCodec:decode","input data contains error")};break;default:t=()=>{throw new o.Z("rasterCodec:decode","unsupported raster format")}}return t}(a);t.isPoint&&(null!=(t={...t}).width&&t.width++,null!=t.height&&t.height++);const l=await s(e,t);return l?("jpg"!==a&&null!=t.noDataValue&&1===l.depthCount&&(0,h.A)(l,t.noDataValue,{customFloatTolerance:t.tolerance}),t.isPoint&&function(e,t=1){if(!e)return;const{pixels:r,width:o,height:a,mask:s}=e;if(!r||0===r.length)return;const l=r.length,u=o-1,c=a-1,f=[];let h,d,p,g,m,y,C=null;const b=i.Z.getPixelArrayConstructor(e.pixelType);if(0===t){for(h=0;h<l;h++){for(m=r[h],y=new b(u*c),d=0;d<c;d++)for(g=d*o,p=0;p<u;p++)y[d*u+p]=m[g+p];f.push(y)}if((0,n.pC)(s))for(C=new Uint8Array(u*c),d=0;d<c;d++)for(g=d*o,p=0;p<u;p++)C[d*u+p]=s[g+p]}else{for(h=0;h<l;h++){for(m=r[h],y=new b(u*c),d=0;d<c;d++)for(g=d*o,p=0;p<u;p++)y[d*u+p]=(m[g+p]+m[g+p+1]+m[g+o+p]+m[g+o+p+1])/4;f.push(y)}if(s)for(C=new Uint8Array(u*c),d=0;d<c;d++)for(g=d*o,p=0;p<u;p++)C[d*u+p]=Math.min.apply(null,[s[g+p],s[g+p+1],s[g+o+p],s[g+o+p+1]])}e.width=u,e.height=c,e.mask=C,e.pixels=f}(l),l):l}},72176:function(e,t,r){r.d(t,{Dq:function(){return x},FI:function(){return A},I7:function(){return D},If:function(){return P},Jx:function(){return U},Uw:function(){return G},cK:function(){return _},ee:function(){return E},vr:function(){return O}});var o=r(88892),n=r(9730),i=r(64167),a=r(86827),s=r(42472),l=r(72950),u=r(87672),c=r(73395);const f=[0,1,1,2,4,8,1,1,2,4,8,4,8,-1,-1,-1,8,8,8],h=4294967296,d=new Set([1,5,6,7,8,34712,34887]);function p(e,t){let r="unknown";return 3===e?r=64===t?"f64":"f32":1===e?1===t?r="u1":2===t?r="u2":4===t?r="u4":t<=8?r="u8":t<=16?r="u16":t<=32&&(r="u32"):2===e&&(t<=8?r="s8":t<=16?r="s16":t<=32&&(r="s32")),r}function g(e){let t=null;switch(e?e.toLowerCase():"f32"){case"u1":case"u2":case"u4":case"u8":t=Uint8Array;break;case"u16":t=Uint16Array;break;case"u32":t=Uint32Array;break;case"s8":t=Int8Array;break;case"s16":t=Int16Array;break;case"s32":t=Int32Array;break;case"f64":t=Float64Array;break;default:t=Float32Array}return t}function m(e,t){return{x:t[0]*e.x+t[1]*e.y+t[2],y:t[3]*e.x+t[4]*e.y+t[5]}}function y(e,t){return e.get(t)?.values}function C(e,t){return e.get(t)?.values}function b(e,t){return e.get(t)?.values?.[0]}function w(e,t){return e.get(t)?.values?.[0]}function v(e,t,r,o=0,n=l.Z.TIFF_TAGS,i=4){const a=8===i,s=a?R(new DataView(e,r,8),0,t):new DataView(e,r,2).getUint16(0,t),u=4+2*i,c=a?8:2,f=c+s*u;if(r+f>e.byteLength)return{success:!1,ifd:null,nextIFD:null,requiredBufferSize:f};const h=r+f+4<=e.byteLength?M(new DataView(e,r+f,8===i?8:4),0,t,8===i):null,d=r+c,p=new Map;let g,m,y,C,b,w=0,v=0;for(let r=0;r<s;r++){m=new DataView(e,d+u*r,u),y=m.getUint16(0,t),b=m.getUint16(2,t),C=l.Z.getTagName(y,n);const a=[];2===i?(w=m.getUint16(4,t),v=m.getUint16(6,t)):4===i?(w=m.getUint32(4,t),v=m.getUint32(8,t)):8===i&&(w=M(m,4,t,!0),v=M(m,12,t,!0),a.push(m.getUint32(12,t)),a.push(m.getUint32(16,t))),g={id:y,type:b,valueCount:w,valueOffset:v,valueOffsets:a,values:null},x(e,t,g,o,!1,i),p.set(C,g)}return{success:!0,ifd:p,nextIFD:h,requiredBufferSize:f}}function T(e,t){if(1!==t&&2!==t&&4!==t)return e;
1const r=new Uint8Array(e),o=8/t,n=new Uint8Array(e.byteLength*o);let i=0;const a=2**t-1;for(let e=0;e<r.length;e++){const s=r[e];for(let e=0;e<o;e++)n[i++]=s<<t*e>>>8-t&a}return n.buffer}function S(e,t,r){const o=new n.J;o.parse(e),o.colorTransform=6===r?-1:0;const i=o.getData(o.width,o.height,1!==t);return new Uint8Array(i.buffer)}function k(e){const t=new c.Z(e).getBytes(),r=new ArrayBuffer(t.length),o=new Uint8Array(r);return o.set(t),o}async function I(e,t,r,o,n){const s=u.f===t,l=w(r,"BITSPERSAMPLE"),c=w(r,"SAMPLESPERPIXEL"),f=w(r,"PHOTOMETRICINTERPRETATION"),h=p(w(r,"SAMPLEFORMAT")??1,l),d=w(r,"COMPRESSION")??1,m=g(h);let y,C,b;if(34887===d)return await(0,i.zD)(),((e,t)=>(0,i.Jx)(e,{inputOffset:t}).pixels[0])(e,o);if(1===d)y=e.slice(o,o+n),C=new Uint8Array(y);else if(8===d||32946===d)C=new Uint8Array(e,o,n),C=k(C),y=C.buffer;else if(6===d)C=new Uint8Array(e,o,n),C=S(C,c,f),y=C.buffer;else if(7===d){const t=r.get("JPEGTABLES").values,i=t.length-2;C=new Uint8Array(i+n-2);for(let e=0;e<i;e++)C[e]=t[e];const a=new Uint8Array(e,o+2,n-2);for(let e=0;e<a.length;e++)C[i+e]=a[e];C=S(C,c,f),y=C.buffer}else{if(5!==d)throw new Error("tiff-decode: unsupport compression "+d);C=(0,a.J)(e,o,n,t),y=C.buffer}if(y=T(y,l),"u8"===h||"s8"===h||s)b=new m(y);else{y=new ArrayBuffer(C.length);const e=new Uint8Array(y);switch(h){case"u16":case"s16":for(let t=0;t<C.length;t+=2)e[t]=C[t+1],e[t+1]=C[t];break;case"u32":case"s32":case"f32":for(let t=0;t<C.length;t+=4)e[t]=C[t+3],e[t+1]=C[t+2],e[t+2]=C[t+1],e[t+3]=C[t]}b=new m(y)}return b}function x(e,t,r,o=0,n=!1,i=4){if(r.values)return!0;const a=r.type,s=r.valueCount;let l=r.valueOffset,u=[];const c=f[a],d=8*c,p=s*c,g=s*f[a]*8;let m,y;const C=8===i?64:32,b=r.valueOffsets;if(g>C&&p>(n?e.byteLength:e?e.byteLength-l+o:0))return r.offlineOffsetSize=[l,p],r.values=null,!1;if(g<=C){if(!t)if(C<=32)l>>>=32-g;else{const e=b?.length?b[0]:l>>>0,t=b?.length?b[1]:Math.round((l-e)/h);g<=32?(l=e>>>32-g,b[0]=l):(l=e*2**(32-g)+(t>>>32-g),b[0]=e,b[1]=t>>>32-g)}if(1===s&&d===C)u=[l];else if(64===C){const e=b?.length?b[0]:l>>>0,t=b?.length?b[1]:Math.round((l-e)/h);let r=e,o=32;for(y=1;y<=s;y++){const e=32-d*y%32;if(o<d){const n=r<<e>>>32-o,i=t<<32-o>>>32-o;r=t,u.push(n+i*2**(d-o)),o-=32-(d-o)}else u.push(r<<e>>>32-d),o-=d;0===o&&(o=32,r=t)}}else for(y=1;y<=s;y++){const e=32-d*y;u.push(l<<e>>>32-d)}}else{l-=o,n&&(l=0);for(let r=l;r<l+p;r+=c){switch(a){case 1:case 2:case 7:m=new DataView(e,r,1).getUint8(0);break;case 3:m=new DataView(e,r,2).getUint16(0,t);break;case 4:case 13:m=new DataView(e,r,4).getUint32(0,t);break;case 5:m=new DataView(e,r,4).getUint32(0,t)/new DataView(e,r+4,4).getUint32(0,t);break;case 6:m=new DataView(e,r,1).getInt8(0);break;case 8:m=new DataView(e,r,2).getInt16(0,t);break;case 9:m=new DataView(e,r,4).getInt32(0,t);break;case 10:m=new DataView(e,r,4).getInt32(0,t)/new DataView(e,r+4,4).getInt32(0,t);break;case 11:m=new DataView(e,r,4).getFloat32(0,t);break;case 12:m=new DataView(e,r,8).getFloat64(0,t);break;case 16:case 18:m=R(new DataView(e,r,8),0,t);break;case 17:m=L(new DataView(e,r,8),0,t);break;default:m=null}u.push(m)}}if(2===a){let e="";const t=u;for(u=[],y=0;y<t.length;y++)0===t[y]&&""!==e?(u.push(e),e=""):e+=String.fromCharCode(t[y]);""===e&&0!==u.length||u.push(e)}return r.values=u,!0}function A(e){const t=e[0],r=w(t,"TILEWIDTH"),o=w(t,"TILELENGTH"),n=w(t,"IMAGEWIDTH"),i=w(t,"IMAGELENGTH"),a=w(t,"BITSPERSAMPLE"),s=w(t,"SAMPLESPERPIXEL"),l=w(t,"SAMPLEFORMAT")??1,u=p(l,a),c=P(t),f=y(t,"GDAL_NODATA");let h=null;f?.length&&(h=f.map((e=>parseFloat(e))),h.some((e=>isNaN(e)))&&(h=null));const g=w(t,"COMPRESSION")??1;let v;switch(g){case 1:v="NONE";break;case 2:case 3:case 4:case 32771:v="CCITT";break;case 5:v="LZW";break;case 6:case 7:v="JPEG";break;case 32773:v="PACKBITS";break;case 8:case 32946:v="DEFLATE";break;case 34712:v="JPEG2000";break;case 34887:v="LERC";break;default:v=String(g)}let T=!0,S="";d.has(g)||(T=!1,S+="unsupported tag compression "+g),l>3&&(T=!1,S+="unsupported tag sampleFormat "+l),1!==a&&2!==a&&4!==a&&a%8!=0&&(T=!1,S+="unsupported tag bitsPerSample "+a);const k=b(t,"GEOASCIIPARAMS");let I;if(k){const e=k.split("|").find((e=>e.includes("ESRI PE String = "))),t=e?e.replace("ESRI PE String = ",""):"";
vendor: 4,403 bytes, line 1
1I=t.startsWith("COMPD_CS")||t.startsWith("PROJCS")||t.startsWith("GEOGCS")?{wkid:null,wkt:t}:null}const x=C(t,"GEOTIEPOINTS"),A=C(t,"GEOPIXELSCALE"),R=C(t,"GEOTRANSMATRIX"),L=t.has("GEOKEYDIRECTORY")?t.get("GEOKEYDIRECTORY").data:null;let M,_,O=!1,G=!1;if(L){O=2===w(L,"GTRasterTypeGeoKey");const e=w(L,"GTModelTypeGeoKey");if(2===e){const e=w(L,"GeographicTypeGeoKey");e>=1024&&e<=32766&&(I={wkid:e}),I||32767!==e||(G=!0,I={wkid:4326})}else if(1===e){const e=w(L,"ProjectedCSTypeGeoKey");e>=1024&&e<=32766&&(I={wkid:e})}}if(A&&x&&x.length>=6?(M=[A[0],0,x[3]-x[0]*A[0],0,-Math.abs(A[1]),x[4]-x[1]*A[1]],O&&(M[2]-=.5*M[0]+.5*M[1],M[5]-=.5*M[3]+.5*M[4])):R&&16===R.length&&(M=O?[R[0],R[1],R[3]-.5*R[0],R[4],R[5],R[7]-.5*R[5]]:[R[0],R[1],R[3],R[4],R[5],R[7]]),M){const e=[{x:0,y:i},{x:0,y:0},{x:n,y:i},{x:n,y:0}];let t,r=Number.POSITIVE_INFINITY,o=Number.POSITIVE_INFINITY,a=Number.NEGATIVE_INFINITY,s=Number.NEGATIVE_INFINITY;for(let n=0;n<e.length;n++)t=m(e[n],M),r=t.x>r?r:t.x,a=t.x<a?a:t.x,o=t.y>o?o:t.y,s=t.y<s?s:t.y;_={xmin:r,xmax:a,ymin:o,ymax:s,spatialReference:I}}else _={xmin:-.5,ymin:.5-i,xmax:n-.5,ymax:.5,spatialReference:I};G&&(_.xmax-_.xmin>400||Math.max(Math.abs(_.xmin),Math.abs(_.xmax))>361)&&(I=null,_.spatialReference=null);const U=E(e);let N,F,V,z,j;if(U.length>0){V=Math.round(Math.log(n/w(U[0],"IMAGEWIDTH"))/Math.LN2);const e=U[U.length-1];z=Math.round(Math.log(n/w(e,"IMAGEWIDTH"))/Math.LN2),N=w(e,"TILEWIDTH"),F=w(e,"TILELENGTH")}N=null!=z&&z>0?N||r:null,F=null!=z&&z>0?F||o:null,r&&(j=[{maxCol:Math.ceil(n/r)-1,maxRow:Math.ceil(i/o)-1,minRow:0,minCol:0}],U.forEach((e=>{j.push({maxCol:Math.ceil(w(e,"IMAGEWIDTH")/w(e,"TILEWIDTH"))-1,maxRow:Math.ceil(w(e,"IMAGELENGTH")/w(e,"TILELENGTH"))-1,minRow:0,minCol:0})})));const J=(e=>{if(!e)return null;const t=e.match(/<Item(.*?)Item>/gi);if(!t||0===t.length)return null;const r=new Map;let o,n,i,a,s;for(let e=0;e<t.length;e++)o=t[e],n=o.slice("<Item ".length,o.indexOf(">")),a=o.indexOf("sample="),a>-1&&(s=o.slice(a+'sample="'.length,o.indexOf('"',a+'sample="'.length))),a=o.indexOf("name="),a>-1&&(n=o.slice(a+'name="'.length,o.indexOf('"',a+'name="'.length))),n&&(i=o.slice(o.indexOf(">")+1,o.indexOf("</Item>")).trim(),null!=s?r.has(n)?r.get(n)[s]=i:r.set(n,[i]):r.set(n,i)),s=null;const l=r.get("STATISTICS_MINIMUM"),u=r.get("STATISTICS_MAXIMUM"),c=r.get("STATISTICS_MEAN"),f=r.get("STATISTICS_STDDEV");let h=null;if(l&&u){h=[];for(let e=0;e<l.length;e++)h.push({min:parseFloat(l[e]),max:parseFloat(u[e]),avg:c&&parseFloat(c[e]),stddev:f&&parseFloat(f[e])})}const d=r.get("BandName"),p=r.get("WavelengthMin"),g=r.get("WavelengthMax");let m=null;if(d){m=[];for(let e=0;e<d.length;e++)m.push({BandName:d[e],WavelengthMin:p&&parseFloat(p[e]),WavelengthMax:g&&parseFloat(g[e])})}return{statistics:h,bandProperties:m,dataType:r.get("DataType"),rawMetadata:r}})(b(e[0],"GDAL_METADATA"));return S+=" "+B({width:n,height:i,tileWidth:r,tileHeight:o,planes:s,ifds:e}),{width:n,height:i,tileWidth:r,tileHeight:o,planes:s,isBSQ:c,pixelType:u,compression:v,noData:h,hasMaskBand:D(e).length===U.length+1,isSupported:T,message:S,extent:_,isPseudoGeographic:G,affine:A?null:M,firstPyramidLevel:V,maximumPyramidLevel:z,pyramidBlockWidth:N,pyramidBlockHeight:F,tileBoundary:j,metadata:J}}function P(e,t){const r=y(e,"PLANARCONFIGURATION");return r?2===r[0]:!!t&&t.isBSQ}function E(e){return e.filter((e=>1===w(e,"NEWSUBFILETYPE")))}function D(e){return e.filter((e=>{const t=4==(4&(w(e,"NEWSUBFILETYPE")??0)),r=4===w(e,"PHOTOMETRICINTERPRETATION");return t&&r}))}function R(e,t,r){const o=e.getUint32(t,r),n=e.getUint32(t+4,r);return r?n*h+o:o*h+n}function L(e,t,r){let o=r?e.getInt32(t,r):e.getUint32(t,r),n=r?e.getUint32(t+4,r):e.getInt32(t+4,r);const i=(r?o:n)>=0?1:-1;return r?o*=i:n*=i,i*(r?n*h+o:o*h+n)}function M(e,t,r,o){return o?R(e,t,r):e.getUint32(t,r)}function _(e){const t=new DataView(e,0,16),r=t.getUint16(0,!1);let o=null;if(18761===r)o=!0;else{if(19789!==r)throw new Error("unexpected endianess byte");o=!1}const n=t.getUint16(2,o);if(42!==n&&43!==n)throw new Error("unexpected tiff identifier");let i=4;const a=43===n;if(a){const e=t.getUint16(i,o);if(i+=2,8!==e)throw new Error("unsupported bigtiff version");if(0!==t.getUint16(i,o))throw new Error("unsupported bigtiff version");i+=2}return{littleEndian:o,isBigTiff:a,firstIFDPos:M(t,i,o,a)}}function O(e,t,r,n=0,i=l.Z.TIFF_TAGS,a=4){const s=v(e,t,r,n,i,a);let u;const c=s.ifd;
1if(c){if(l.Z.ifdTags.forEach(((r,o)=>{c.has(o)&&(u=c.get(o),u.data=v(e,t,u.valueOffset-n,n,r).ifd)})),c.has("GEOKEYDIRECTORY")){u=c.get("GEOKEYDIRECTORY");const r=u.values;if(r&&r.length>4){const o=r[0]+"."+r[1]+"."+r[2];u.data=v(e,t,u.valueOffset+6-n,n,l.Z.GEO_KEYS,2).ifd,u.data&&u.data.set("GEOTIFFVersion",{id:0,type:2,valueCount:1,valueOffset:null,values:[o]})}}if(c.has("XMP")){u=c.get("XMP");const e=u.values;"number"==typeof e[0]&&7===u.type&&(u.values=[(0,o.f)(new Uint8Array(e))])}}return s}function B(e){const{width:t,height:r,tileHeight:o,tileWidth:n}=e,i=e.planes,a=n?n*o:t*r,s=w(e.ifds[0],"BITSPERSAMPLE");let l="";return a*i>2**30/(s>8?s/8:1)&&(l=n?"tiled tiff exceeding 1 gigabits per tile is not supported":"scanline tiff exceeding 1 gigabits is not supported"),l}async function G(e,t){const{headerInfo:r,ifd:o,offsets:n,sizes:i}=t,a=[];for(let t=0;t<n.length;t++){const s=await I(e,r.littleEndian,o,n[t],i[t]||e.byteLength);a.push(s)}const l=P(o,r),u=w(o,"BITSPERSAMPLE"),c=p(w(o,"SAMPLEFORMAT")??1,u),f=w(o,"SAMPLESPERPIXEL")||r.planes,h=g(c),d=w(o,"TILEWIDTH"),m=w(o,"TILELENGTH"),y=w(o,"COMPRESSION")??1,C=d*m;let b;const v=[];let T=a[0];const S=34887===y;for(let e=0;e<f;e++){if(b=new h(C),l&&S){if(T=a[e],T.length)for(let t=0;t<C;t++)b[t]=T[e][t+e]}else if(T.length)if(l||S&&!l)b=T.slice(C*e,C*(e+1));else for(let t=0;t<C;t++)b[t]=T[t*f+e];v.push(b)}const k=r.noData?r.noData[0]:t.noDataValue,x=r.metadata?r.metadata.statistics:null,A=x?x.map((e=>e.min)):null,E=x?x.map((e=>e.max)):null,D={pixelType:c,width:d,height:m,pixels:v,noDataValue:k};return null!=k?(0,s.A)(D,k):A&&E&&t.applyMinMaxConstraint&&(D.mask=((e,t,r)=>{if(!(e&&e.length>0&&t&&r))return null;let o,n,i;const a=e[0].length,s=e.length,l=new Uint8Array(a);for(let u=0;u<s;u++)if(o=e[u],n=t[u],i=r[u],0===u)for(let e=0;e<a;e++)l[e]=o[e]<n||o[e]>i?0:1;else for(let e=0;e<a;e++)l[e]&&(l[e]=o[e]<n||o[e]>i?0:1);return l})(v,A,E)),D}async function U(e,t={}){const r=t.pyramidLevel||0,o=t.headerInfo||function(e){const{littleEndian:t,isBigTiff:r,firstIFDPos:o}=_(e);let n=o;const i=[];do{const o=O(e,t,n,0,l.Z.TIFF_TAGS,r?8:4);if(!o.success)break;i.push(o.ifd),n=o.nextIFD}while(n>0);return{...A(i),littleEndian:t,isBigTiff:r,ifds:i,pyramidIFDs:E(i),maskIFDs:D(i)}}(e),{ifds:n,noData:i}=o;if(0===n.length)throw new Error("no valid image file directory");const c=B(o);if(c)throw c;let f=null;const h=-1===r?n[n.length-1]:n[r],d=i??t.noDataValue;return f=o.tileWidth?await async function(e,t,r){const o=C(r,"TILEOFFSETS");if(void 0===o)return null;const n=C(r,"TILEBYTECOUNTS"),{width:i,height:a,pixelType:s,tileWidth:l,tileHeight:u}=A([r]),c=P(r,t),f=w(r,"SAMPLESPERPIXEL")||t.planes,h=i*a,d=w(r,"BITSPERSAMPLE"),p=34887===(w(r,"COMPRESSION")??1),m=g(s),y=[];for(let e=0;e<f;e++)y.push(new m(h));let b,v,T,S,k,x,E,D,R,L,M,_,O;const B=Math.ceil(i/l);if(d%8==0)if(p&&c&&f>1){const s=Math.round(o.length/f);for(b=0;b<s;b++){x=Math.floor(b/B)*u,E=b%B*l,D=x*i+E;for(let s=0;s<f;s++){const c=b*f+s;if(0!==n[c])for(T=await I(e,t.littleEndian,r,o[c],n[c]),L=0,R=D,_=Math.min(l,i-E),M=Math.min(u,a-x),O=y[s],S=0;S<M;S++)for(R=D+S*i,L=S*l,k=0;k<_;k++,R++,L++)O[R]=T[L]}}}else for(b=0;b<o.length;b++)if(0!==n[b])for(x=Math.floor(b/B)*u,E=b%B*l,D=x*i+E,T=await I(e,t.littleEndian,r,o[b],n[b]),L=0,R=D,_=Math.min(l,i-E),M=Math.min(u,a-x),v=0;v<f;v++)if(O=y[v],c||p)for(S=0;S<M;S++)for(R=D+S*i,L=l*u*v+S*l,k=0;k<_;k++,R++,L++)O[R]=T[L];else for(S=0;S<M;S++)for(R=D+S*i,L=S*l*f+v,k=0;k<_;k++,R++,L+=f)O[R]=T[L];return{width:i,height:a,pixelType:s,pixels:y}}(e,o,h):await((e,t,r)=>{const o=u.f===t.littleEndian,n=C(r,"STRIPOFFSETS");if(void 0===n)return null;const{width:i,height:s,pixelType:l}=A([r]),c=w(r,"SAMPLESPERPIXEL")||t.planes,f=w(r,"PHOTOMETRICINTERPRETATION"),h=i*s,d=w(r,"BITSPERSAMPLE"),p=g(l),m=new p(h*c),y=C(r,"STRIPBYTECOUNTS"),b=w(r,"ROWSPERSTRIP"),v=w(r,"COMPRESSION")??1;let I,x,P,E,D,R,L,M,_,O=b;if(d%8==0)for(I=0;I<n.length;I++){if(D=I*(b*i)*c,O=(I+1)*b>s?s-I*b:b,"u8"===l||"s8"===l||o)8===v||32946===v?(L=new Uint8Array(e,n[I],y[I]),L=k(L),R=L.buffer):6===v?(L=new Uint8Array(e,n[I],y[I]),L=S(L,c,f),R=L.buffer):5===v?(L=(0,a.J)(e,n[I],y[I],t.littleEndian),R=L.buffer):(y[I]!==O*i*c*d/8&&console.log("strip byte counts is different than expected"),R=e.slice(n[I],n[I]+y[I])),R=T(R,d),E=new p(R);
1else{switch(6===v||8===v||32946===v?(L=new Uint8Array(e,n[I],y[I]),M=k(L),R=M.buffer):(y[I]!==O*i*c*d/8&&console.log("strip byte counts is different than expected"),R=new ArrayBuffer(y[I]),L=new Uint8Array(e,n[I],y[I]),M=new Uint8Array(R)),l){case"u16":case"s16":for(P=0;P<L.length;P+=2)M[P]=L[P+1],M[P+1]=L[P];break;case"u32":case"s32":case"f32":for(P=0;P<L.length;P+=4)M[P]=L[P+3],M[P+1]=L[P+2],M[P+2]=L[P+1],M[P+3]=L[P]}R=T(R,d),E=new p(R)}m.set(E,D)}const B=[];if(1===c)B.push(m);else for(I=0;I<c;I++){for(_=new p(h),x=0;x<h;x++)_[x]=m[x*c+I];B.push(_)}return{width:i,height:s,pixelType:l,pixels:B}})(e,o,h),f?(null!=d&&(0,s.A)(f,d),f):f}},72950:function(e,t,r){r.d(t,{Z:function(){return s}});const o=(()=>{const e=[];return e[254]="NEWSUBFILETYPE",e[255]="SUBFILETYPE",e[256]="IMAGEWIDTH",e[257]="IMAGELENGTH",e[258]="BITSPERSAMPLE",e[259]="COMPRESSION",e[262]="PHOTOMETRICINTERPRETATION",e[263]="THRESHHOLDING",e[264]="CELLWIDTH",e[265]="CELLLENGTH",e[266]="FILLORDER",e[269]="DOCUMENTNAME",e[270]="IMAGEDESCRIPTION",e[271]="MAKE",e[272]="MODEL",e[273]="STRIPOFFSETS",e[274]="ORIENTATION",e[277]="SAMPLESPERPIXEL",e[278]="ROWSPERSTRIP",e[279]="STRIPBYTECOUNTS",e[280]="MINSAMPLEVALUE",e[281]="MAXSAMPLEVALUE",e[282]="XRESOLUTION",e[283]="YRESOLUTION",e[284]="PLANARCONFIGURATION",e[285]="PAGENAME",e[286]="XPOSITION",e[287]="YPOSITION",e[288]="FREEOFFSETS",e[289]="FREEBYTECOUNTS",e[290]="GRAYRESPONSEUNIT",e[291]="GRAYRESPONSECURVE",e[292]="T4OPTIONS",e[293]="T6OPTIONS",e[296]="RESOLUTIONUNIT",e[297]="PAGENUMBER",e[300]="COLORRESPONSEUNIT",e[301]="TRANSFERFUNCTION",e[305]="SOFTWARE",e[306]="DATETIME",e[315]="ARTIST",e[316]="HOSTCOMPUTER",e[317]="PREDICTOR",e[318]="WHITEPOINT",e[319]="PRIMARYCHROMATICITIES",e[320]="COLORMAP",e[321]="HALFTONEHINTS",e[322]="TILEWIDTH",e[323]="TILELENGTH",e[324]="TILEOFFSETS",e[325]="TILEBYTECOUNTS",e[326]="BADFAXLINES",e[327]="CLEANFAXDATA",e[328]="CONSECUTIVEBADFAXLINES",e[330]="SUBIFD",e[332]="INKSET",e[333]="INKNAMES",e[334]="NUMBEROFINKS",e[336]="DOTRANGE",e[337]="TARGETPRINTER",e[338]="EXTRASAMPLES",e[339]="SAMPLEFORMAT",e[340]="SMINSAMPLEVALUE",e[341]="SMAXSAMPLEVALUE",e[342]="TRANSFERRANGE",e[347]="JPEGTABLES",e[512]="JPEGPROC",e[513]="JPEGIFOFFSET",e[514]="JPEGIFBYTECOUNT",e[515]="JPEGRESTARTINTERVAL",e[517]="JPEGLOSSLESSPREDICTORS",e[518]="JPEGPOINTTRANSFORM",e[519]="JPEGQTABLES",e[520]="JPEGDCTABLES",e[521]="JPEGACTABLES",e[529]="YCBCRCOEFFICIENTS",e[530]="YCBCRSUBSAMPLING",e[531]="YCBCRPOSITIONING",e[532]="REFERENCEBLACKWHITE",e[700]="XMP",e[33550]="GEOPIXELSCALE",e[33922]="GEOTIEPOINTS",e[33432]="COPYRIGHT",e[42112]="GDAL_METADATA",e[42113]="GDAL_NODATA",e[50844]="RPCCOEFFICIENT",e[34264]="GEOTRANSMATRIX",e[34735]="GEOKEYDIRECTORY",e[34736]="GEODOUBLEPARAMS",e[34737]="GEOASCIIPARAMS",e[34665]="EXIFIFD",e[34853]="GPSIFD",e[40965]="INTEROPERABILITYIFD",e})(),n=(()=>{const e=o.slice();return e[36864]="ExifVersion",e[40960]="FlashpixVersion",e[40961]="ColorSpace",e[42240]="Gamma",e[37121]="ComponentsConfiguration",e[37122]="CompressedBitsPerPixel",e[40962]="PixelXDimension",e[40963]="PixelYDimension",e[37500]="MakerNote",e[37510]="UserComment",e[40964]="RelatedSoundFile",e[36867]="DateTimeOriginal",e[36868]="DateTimeDigitized",e[36880]="OffsetTime",e[36881]="OffsetTimeOriginal",e[36882]="OffsetTimeDigitized",e[37520]="SubSecTime",e[37521]="SubSecTimeOriginal",e[37522]="SubSecTimeDigitized",e[37888]="Temperature",e[37889]="Humidity",e[37890]="Pressure",e[37891]="WaterDepth",e[37892]="Acceleration",e[37893]="CameraElevationAngle",e[42016]="ImageUniqueID",e[42032]="CameraOwnerName",e[42033]="BodySerialNumber",e[42034]="LensSpecification",e[42035]="LensMake",e[42036]="LensModel",e[42037]="LensSerialNumber",e[33434]="ExposureTime",e[33437]="FNumber",e[34850]="ExposureProgram",e[34852]="SpectralSensitivity",e[34855]="PhotographicSensitivity",e[34856]="OECF",e[34864]="SensitivityType",e[34865]="StandardOutputSensitivity",e[34866]="RecommendedExposureIndex",e[34867]="ISOSpeed",e[34868]="ISOSpeedLatitudeyyy",e[34869]="ISOSpeedLatitudezzz",e[37377]="ShutterSpeedValue",e[37378]="ApertureValue",e[37379]="BrightnessValue",e[3738
10]="ExposureBiasValue",e[37381]="MaxApertureValue",e[37382]="SubjectDistance",e[37383]="MeteringMode",e[37384]="LightSource",e[37385]="Flash",e[37386]="FocalLength",e[37396]="SubjectArea",e[41483]="FlashEnergy",e[41484]="SpatialFrequencyResponse",e[41486]="FocalPlaneXResolution",e[41487]="FocalPlaneYResolution",e[41488]="FocalPlaneResolutionUnit",e[41492]="SubjectLocation",e[41493]="ExposureIndex",e[41495]="SensingMethod",e[41728]="FileSource",e[41729]="SceneType",e[41730]="CFAPattern",e[41985]="CustomRendered",e[41986]="ExposureMode",e[41987]="WhiteBalance",e[41988]="DigitalZoomRatio",e[41989]="FocalLengthIn35mmFilm",e[41990]="SceneCaptureType",e[41991]="GainControl",e[41992]="Contrast",e[41993]="Saturation",e[41994]="Sharpness",e[41995]="DeviceSettingDescription",e[41996]="SubjectDistanceRange",e})(),i=(()=>{const e=[];return e[1024]="GTModelTypeGeoKey",e[1025]="GTRasterTypeGeoKey",e[1026]="GTCitationGeoKey",e[2048]="GeographicTypeGeoKey",e[2049]="GeogCitationGeoKey",e[2050]="GeogGeodeticDatumGeoKey",e[2051]="GeogPrimeMeridianGeoKey",e[2052]="GeogLinearUnitsGeoKey",e[2053]="GeogLinearUnitSizeGeoKey",e[2054]="GeogAngularUnitsGeoKey",e[2055]="GeogAngularUnitSizeGeoKey",e[2056]="GeogEllipsoidGeoKey",e[2057]="GeogSemiMajorAxisGeoKey",e[2058]="GeogSemiMinorAxisGeoKey",e[2059]="GeogInvFlatteningGeoKey",e[2061]="GeogPrimeMeridianLongGeoKey",e[2060]="GeogAzimuthUnitsGeoKey",e[3072]="ProjectedCSTypeGeoKey",e[3073]="PCSCitationGeoKey",e[3074]="ProjectionGeoKey",e[3075]="ProjCoordTransGeoKey",e[3076]="ProjLinearUnitsGeoKey",e[3077]="ProjLinearUnitSizeGeoKey",e[3078]="ProjStdParallel1GeoKey",e[3079]="ProjStdParallel2GeoKey",e[3080]="ProjNatOriginLongGeoKey",e[3081]="ProjNatOriginLatGeoKey",e[3082]="ProjFalseEastingGeoKey",e[3083]="ProjFalseNorthingGeoKey",e[3084]="ProjFalseOriginLongGeoKey",e[3085]="ProjFalseOriginLatGeoKey",e[3086]="ProjFalseOriginEastingGeoKey",e[3087]="ProjFalseOriginNorthingGeoKey",e[3088]="ProjCenterLongGeoKey",e[3090]="ProjCenterEastingGeoKey",e[3091]="ProjCenterNorthingGeoKey",e[3092]="ProjScaleAtNatOriginGeoKey",e[3093]="ProjScaleAtCenterGeoKey",e[3094]="ProjAzimuthAngleGeoKey",e[3095]="ProjStraightVertPoleLongGeoKey",e[4096]="VerticalCSTypeGeoKey",e[4097]="VerticalCitationGeoKey",e[4098]="VerticalDatumGeoKey",e[4099]="VerticalUnitsGeoKey",e})(),a=new Map;a.set("EXIFIFD",n),a.set("GPSIFD",["GPSVersionID","GPSLatitudeRef","GPSLatitude","GPSLongitudeRef","GPSLongitude","GPSAltitudeRef","GPSAltitude","GPSTimeStamp","GPSSatellites","GPSStatus","GPSMeasureMode","GPSDOP","GPSSpeedRef","GPSSpeed","GPSTrackRef","GPSTrack","GPSImgDirectionRef","GPSImgDirection","GPSMapDatum","GPSDestLatitudeRef","GPSDestLatitude","GPSDestLongitudeRef","GPSDestLongitude","GPSDestBearingRef","GPSDestBearing","GPSDestDistanceRef","GPSDestDistance","GPSProcessingMethod","GPSAreaInformation","GPSDateStamp","GPSDifferential","GPSHPositioningError"]);const s={TIFF_TAGS:o,ifdTags:a,GEO_KEYS:i,getTagName:(e,t)=>{let r=(t||o)[e];return void 0===r&&(r="unknown"+String(e)),r}}},87672:function(e,t,r){r.d(t,{f:function(){return o}});const o=(()=>{const e=new ArrayBuffer(4),t=new Uint8Array(e);return new Uint32Array(e)[0]=1,1===t[0]})()},24018:function(e,t,r){r.d(t,{AV:function(){return p},Hv:function(){return h},Oh:function(){return d},ZF:function(){return c},dy:function(){return m},hE:function(){return u},oc:function(){return l},um:function(){return g}});var o=r(72514),n=r(92067),i=r(42472),a=r(62041);const s=[.299,.587,.114];function l(e,t=256){t=Math.min(t,256);const{size:r,counts:o}=e,n=new Uint8Array(r),i=o.reduce(((e,r)=>e+r/t),0);let a=0,s=0,l=0,u=i;for(let e=0;e<r;e++)if(l+=o[e],!(e<r-1&&l+o[e+1]<u)){for(;a<t-1&&u<l;)a++,u+=i;for(let t=s;t<=e;t++)n[t]=a;s=e+1}for(let e=s;e<r;e++)n[e]=t-1;return n}function u(e){const{minCutOff:t,maxCutOff:r,gamma:o,pixelType:n,rounding:i}=e,a=e.outMin||0,s=e.outMax||255;if(!["u8","u16","s8","s16"].includes(n))return null;const l=t.length;let u,c,f=0;"s8"===n?f=-127:"s16"===n&&(f=-32767);let h=256;["u16","s16"].includes(n)&&(h=65536);const d=[],p=[],m=s-a;for(u=0;u<l;u++)p[u]=r[u]-t[u],d[u]=0===p[u]?0:m/p[u];let y;const C=[];let b,w,v;if(o&&o.length>=l){const e=g(l,o);for(u=0;
1u<l;u++){for(v=[],c=0;c<h;c++)if(0!==p[u])if(b=c+f,y=(b-t[u])/p[u],w=1,o[u]>1&&(w-=(1/m)**(y*e[u])),b<r[u]&&b>t[u]){const e=w*m*y**(1/o[u])+a;v[c]="floor"===i?Math.floor(e):"round"===i?Math.round(e):e}else b>=r[u]?v[c]=s:v[c]=a;else v[c]=a;C[u]=v}}else for(u=0;u<l;u++){for(v=[],c=0;c<h;c++)if(b=c+f,b<=t[u])v[c]=a;else if(b>=r[u])v[c]=s;else{const e=(b-t[u])*d[u]+a;v[c]="floor"===i?Math.floor(e):"round"===i?Math.round(e):e}C[u]=v}if(null!=e.contrastOffset){const t=function(e,t){const r=Math.min(Math.max(e,-100),100),o=Math.min(Math.max(t??0,-100),100),n=255;let i=0,a=0;const s=new Uint8Array(256);for(i=0;i<256;i++)r>0&&r<100?a=(200*i-25500+510*o)/(2*(100-r))+128:r<=0&&r>-100?a=(200*i-25500+510*o)*(100+r)/2e4+128:100===r?(a=200*i-25500+256*(100-r)+510*o,a=a>0?n:0):-100===r&&(a=128),s[i]=a>n?n:a<0?0:a;return s}(e.contrastOffset,e.brightnessOffset);for(u=0;u<l;u++)for(v=C[u],c=0;c<h;c++)v[c]=t[v[c]]}return{lut:C,offset:f}}function c(e,t,r){const o=[];for(let n=0;n<t.length;n++){let i=0,a=0,l=0;"min"in t[n]?({min:i,max:a,avg:l}=t[n]):[i,a,l]=t[n];let u=l??0;"u8"!==e&&(u=255*(u-i)/(a-i)),r&&(u*=s[n]),o.push(f(u))}return o}function f(e){if(e<=0||e>=255)return 1;let t=0;150!==e&&(t=e<=150?45*Math.cos(.01047*e):17*Math.sin(.021*e));const r=e+t,o=Math.log(e/255),n=Math.log(r/255);if(0===n)return 1;const i=o/n;return isNaN(i)?1:Math.min(9.9,Math.max(.01,i))}function h(e){if((0,o.Wi)(e)||!e.pixels?.length)return null;const{pixels:t,mask:r,pixelType:n}=e,i=e.width*e.height,a=t.length;let s,l,u,c,f;const h=[],d=[];let p,g,m,y,C,b,w,v,T,S;const k=256;for(c=0;c<a;c++){if(p=new Uint32Array(k),m=t[c],"u8"===n)if(s=-.5,l=255.5,r)for(f=0;f<i;f++)r[f]&&p[m[f]]++;else for(f=0;f<i;f++)p[m[f]]++;else{let t=!1;e.statistics||(e.updateStatistics(),t=!0);const o=e.statistics;if(s=o[c].minValue,l=o[c].maxValue,u=(l-s)/k,0===u){!o||e.validPixelCount||t||e.updateStatistics();const r=(e.validPixelCount||e.width*e.height)/k;for(let e=0;e<k;e++)p[e]=Math.round(r*(e+1))-Math.round(r*e)}else{for(g=new Uint32Array(257),f=0;f<i;f++)r&&!r[f]||g[Math.floor((m[f]-s)/u)]++;for(f=0;f<255;f++)p[f]=g[f];p[255]=g[255]+g[k]}}for(h.push({min:s,max:l,size:k,counts:p}),y=0,C=0,v=0,f=0;f<k;f++)y+=p[f],C+=f*p[f];for(T=C/y,f=0;f<k;f++)v+=p[f]*(f-T)**2;S=Math.sqrt(v/(y-1)),u=(l-s)/k,b=(T+.5)*u+s,w=S*u,d.push({min:s,max:l,avg:b,stddev:w})}return{statistics:d,histograms:h}}function d(e){const t=[];for(let r=0;r<e.length;r++){const{min:o,max:n,size:i,counts:a}=e[r];let s=0,l=0;for(let e=0;e<i;e++)s+=a[e],l+=e*a[e];const u=l/s;let c=0;for(let e=0;e<i;e++)c+=a[e]*(e-u)**2;const f=(n-o)/i,h=(u+.5)*f+o,d=Math.sqrt(c/(s-1))*f;t.push({min:o,max:n,avg:h,stddev:d})}return t}function p(e,t){const{pixelBlock:r,bandIds:n,returnHistogramLut:s,rasterInfo:u}=t;let c=null,f=null,d=e.stretchType;if("number"==typeof d&&(d=a.J[d]),e.dra)if("minMax"===d&&(0,o.pC)(r)&&r.statistics)c=r.statistics.map((e=>[e.minValue,e.maxValue,0,0]));else{const e=h(r);c=(0,o.pC)(e)?e.statistics:null,f=(0,o.pC)(e)?e.histograms:null}else c=e.statistics?.length>0?e.statistics:(0,o.Wg)(u.statistics),f=e.histograms||(0,o.Wg)(u.histograms);"percentClip"!==d&&"histogramEqualization"!==d||f?.length||(d="minMax");const p=c?.length||f?.length||u.bandCount,g=[],m=[];let y,C,b,w,v,T,S,k,I;c&&!Array.isArray(c[0])&&(c=c.map((e=>[e.min,e.max,e.avg,e.stddev])));const[x,A]=(0,i.r)(u.pixelType);if(!c?.length){for(c=[],k=0;k<p;k++)c.push([x,A,1,1]);"standardDeviation"===d&&(d="minMax")}switch(d){case"none":for(k=0;k<p;k++)g[k]=x,m[k]=A;break;case"minMax":for(k=0;k<p;k++)g[k]=c[k][0],m[k]=c[k][1];break;case"standardDeviation":for(k=0;k<p;k++)g[k]=c[k][2]-e.numberOfStandardDeviations*c[k][3],m[k]=c[k][2]+e.numberOfStandardDeviations*c[k][3],g[k]<c[k][0]&&(g[k]=c[k][0]),m[k]>c[k][1]&&(m[k]=c[k][1]);break;case"histogramEqualization":for((0,o.O3)(f),k=0;k<p;k++)g[k]=f[k].min,m[k]=f[k].max;break;case"percentClip":for((0,o.O3)(f),k=0;k<f.length;k++){for(y=f[k],v=new Uint32Array(y.size),w=[...y.counts],w.length>=20&&(w[0]=w[1]=w[2]=w[w.length-1]=w[w.length-2]=0),b=0,C=(y.max-y.min)/y.size,S=-.5===y.min&&1===C?.5:0,I=0;I<y.size;I++)b+=w[I],v[I]=b;for(T=(e.minPercent||0)*b/100,g[k]=y.min+S,I=0;I<y.size;I++)if(v[I]>T){g[k]=y.min+C*(I+S);break}for(T=(1-(e.maxPercent||0)/100)*b,m[k]=y.max+S,I=y.size-2;I>=0;I--)if(v[I]<T){m[k]=y.min+C*(I+2-S);break}if(m[k]<g[k]){const e=g[k];g[k]=m[k],m[k]=e}}break;default:for(k=0;k<p;k++)g[k]=c[k][0],m[k]=c[k][1]}let P,E,D;return"histogramEqualization"===d?((0,o.O3)(f),E=f[0].size||256,P=0,s&&(D=f.map((e=>l(e))))):(E=e.max||255,P=e.min||0),function(e,t){if(null==t||0===t.length)return e;const r=Math.max.apply(null,t),{minCutOff:o,maxCutOff:n,outMin:i,outMax:a,histogramLut:s}=e;return o.length===t.length||o.length<=r?e:{minCutOff:t.map((e=>o[e])),maxCutOff:t.map((e=>n[e])),histogramLut:s?t.map((e=>s[e])):null,outMin:i,outMax:a}}({minCutOff:g,maxCutOff:m,outMax:E,outMin:P,histogramLut:D},n)}function g(e,t){const r=new Float32Array(e);for(let o=0;o<e;o++)t[o]>1?t[o]>
12?r[o]=6.5+(t[o]-2)**2.5:r[o]=6.5+100*(2-t[o])**4:r[o]=1;return r}function m(e,t){if((0,o.Wi)(e)||!e.pixels?.length)return e;const{mask:r,width:i,height:a,pixels:s}=e,{minCutOff:l,maxCutOff:u,gamma:c}=t,f=t.outMin||0,h=t.outMax||255,d=i*a,p=t.outputPixelType||"u8",m=e.pixels.map((()=>n.Z.createEmptyBand(p,d))),y=m.length;let C,b,w,v,T;const S=h-f,k=[],I=[];for(C=0;C<y;C++)I[C]=u[C]-l[C],k[C]=0===I[C]?0:S/I[C];const x=p.startsWith("u")||p.startsWith("s"),A=c&&c.length>=y,P=!!t.isRenderer;if(A){const e=g(y,c);for(b=0;b<d;b++)if(null==r||r[b])for(C=0;C<y;C++)if(0!==I[C])if(w=s[C][b],T=(w-l[C])/I[C],v=1,c[C]>1&&(v-=(1/S)**(T*e[C])),w<u[C]&&w>l[C]){const e=v*S*T**(1/c[C])+f;m[C][b]=P?Math.floor(e):x?Math.round(e):e}else w>=u[C]?m[C][b]=h:m[C][b]=f;else m[C][b]=f}else for(b=0;b<d;b++)if(null==r||r[b])for(C=0;C<y;C++)if(w=s[C][b],w<u[C]&&w>l[C]){const e=(w-l[C])*k[C]+f;m[C][b]=P?Math.floor(e):x?Math.round(e):e}else w>=u[C]?m[C][b]=h:m[C][b]=f;const E=new n.Z({width:i,height:a,mask:r,pixels:m,pixelType:p});return E.updateStatistics(),E}},45144:function(e,t,r){r.d(t,{M_:function(){return c},TK:function(){return a},Ub:function(){return l},vC:function(){return s},yg:function(){return u}});var o=r(72514),n=r(92067),i=r(89351);function a(e){let{altitude:t,azimuth:r}=e;const{hillshadeType:o,pixelSizePower:n=1,pixelSizeFactor:i=1,scalingType:a,isGCS:s,resolution:l}=e,u="multi-directional"===o?2*e.zFactor:e.zFactor,{x:c,y:f}=l;let h=u/(8*c),d=u/(8*f);if(s&&u>.001&&(h/=111e3,d/=111e3),"adjusted"===a)if(s){const e=111e3*c,t=111e3*f;h=(u+e**n*i)/(8*e),d=(u+t**n*i)/(8*t)}else h=(u+c**n*i)/(8*c),d=(u+f**n*i)/(8*f);let p=(90-t)*Math.PI/180,g=Math.cos(p),m=(360-r+90)*Math.PI/180,y=Math.sin(p)*Math.cos(m),C=Math.sin(p)*Math.sin(m);const b=[315,270,225,360,180,0],w=[60,60,60,60,60,90],v=new Float32Array([3,5,3,2,1,4]),T=v.reduce(((e,t)=>e+t)),S=v.map((e=>e/T)),k="multi-directional"===o?b.length:1,I=new Float32Array(6),x=new Float32Array(6),A=new Float32Array(6);if("multi-directional"===o)for(let e=0;e<k;e++)t=w[e],r=b[e],p=(90-t)*Math.PI/180,g=Math.cos(p),m=(360-r+90)*Math.PI/180,y=Math.sin(p)*Math.cos(m),C=Math.sin(p)*Math.sin(m),I[e]=g,x[e]=y,A[e]=C;else I.fill(g),x.fill(y),A.fill(C);return{resolution:l,factor:[h,d],sinZcosA:y,sinZsinA:C,cosZ:g,sinZcosAs:x,sinZsinAs:A,cosZs:I,weights:S,hillshadeType:["traditional","multi-directional"].indexOf(o)}}function s(e,t){if(!(0,i.nk)(e))return e;const{width:r,height:s,mask:l}=e,u=new Uint8Array(r*s);let c=1;if((0,o.pC)(l)){for(let e=0;e<l.length;e++)if(l[e]){c=l[e];break}u.set(l)}const{factor:f,sinZcosA:h,sinZsinA:d,cosZ:p,sinZcosAs:g,sinZsinAs:m,cosZs:y,weights:C}=a(t),[b,w]=f,{hillshadeType:v}=t,T=e.pixels[0],S=new Uint8Array(r*s);let k,I,x,A,P,E,D,R;const L=(0,o.pC)(l);for(let e=1;e<s-1;e++){const t=e*r;for(let e=1;e<r-1;e++){if(l&&!l[t+e]){S[t+e]=0;continue}let o=8;if(L&&(o=(l[t-r+e-1]+l[t-r+e]+l[t-r+e+1]+l[t+e-1]+l[t+e+1]+l[t+r+e-1]+l[t+r+e]+l[t+r+e+1])/c,o<7)){S[t+e]=0,u[t+e]=0;continue}l&&7===o?(k=l[t-r+e-1]?T[t-r+e-1]:T[t+e],I=l[t-r+e]?T[t-r+e]:T[t+e],x=l[t-r+e+1]?T[t-r+e+1]:T[t+e],A=l[t+e-1]?T[t+e-1]:T[t+e],P=l[t+e+1]?T[t+e+1]:T[t+e],E=l[t+r+e-1]?T[t+r+e-1]:T[t+e],D=l[t+r+e]?T[t+r+e]:T[t+e],R=l[t+r+e+1]?T[t+r+e+1]:T[t+e]):(k=T[t-r+e-1],I=T[t-r+e],x=T[t-r+e+1],A=T[t+e-1],P=T[t+e+1],E=T[t+r+e-1],D=T[t+r+e],R=T[t+r+e+1]);const n=(x+P+P+R-(k+A+A+E))*b,i=(E+D+D+R-(k+I+I+x))*w,a=Math.sqrt(1+n*n+i*i);let s=0;if("traditional"===v){let e=255*(p+d*i-h*n)/a;e<0&&(e=0),s=e}else{const e=m.length;for(let t=0;t<e;t++){let e=255*(y[t]+m[t]*i-g[t]*n)/a;e<0&&(e=0),s+=e*C[t]}}S[t+e]=255&s}}for(let e=0;e<s;e++)S[e*r]=S[e*r+1],S[(e+1)*r-1]=S[(e+1)*r-2];for(let e=1;e<r-1;e++)S[e]=S[e+r],S[e+(s-1)*r]=S[e+(s-2)*r];return new n.Z({width:r,height:s,pixels:[S],mask:l?u:null,pixelType:"u8",validPixelCount:e.validPixelCount,statistics:[{minValue:0,maxValue:255}]})}function l(e,t,r,o){if(!(0,i.nk)(e)||!(0,i.nk)(t))return;const{min:n,max:a}=o,s=e.pixels[0],{pixels:l,mask:u}=t,c=l[0],f=255.00001/(a-n),h=new Uint8ClampedArray(c.length),d=new Uint8ClampedArray(c.length),p=new Uint8ClampedArray(c.length),g=r.length-1;for(let e=0;e<c.length;e++){if(u&&0===u[e])continue;const t=Math.floor((c[e]-n)*f),[o,i]=r[t<0?0:t>g?g:t],a=s[e],l=a*i,m=l*(1-Math.abs(o%2-1)),y=a-l;switch(Math.floor(o)){case 0:h[e]=l+y,d[e]=m+y,p[e]=y;break;case 1:h[e]=m+y,d[e]=l+y,p[e]=y;break;case 2:h[e]=y,d[e]=l+y,p[e]=m+y;break;case 3:h[e]=y,d[e]=m+y,p[e]=l+y;break;case 4:h[e]=m+y,d[e]=y,p[e]=l+y;break;
1case 5:case 6:h[e]=l+y,d[e]=y,p[e]=m+y}}e.pixels=[h,d,p],e.updateStatistics()}function u(e,t){if(!(0,i.nk)(e))return e;const r=t.zFactor,a=t.pixelSizePower??1,s=t.pixelSizeFactor??1,l=t.slopeType,u=t.isGCS,{width:c,height:f,mask:h}=e,d=e.pixels[0],p=new Uint8Array(c*f);let g=1;if((0,o.pC)(h)){for(let e=0;e<h.length;e++)if(h[e]){g=h[e];break}p.set(h)}const m=new Float32Array(c*f),{x:y,y:C}=t.resolution;let b,w,v,T,S,k,I,x,A=r/(8*y),P=r/(8*C);u&&Math.abs(r-1)<1e-4&&(A/=111e3,P/=111e3),"adjusted"===l&&(A=(r+y**a*s)/(8*y),P=(r+C**a*s)/(8*C));const E=(0,o.pC)(h);for(let e=1;e<f-1;e++){const t=e*c;for(let e=1;e<c-1;e++){if(h&&!h[t+e]){m[t+e]=0;continue}let r=0;if(E&&(r=(h[t-c+e-1]+h[t-c+e]+h[t-c+e+1]+h[t+e-1]+h[t+e+1]+h[t+c+e-1]+h[t+c+e]+h[t+c+e+1])/g,r<7)){m[t+e]=0,p[t+e]=0;continue}h&&7===r?(b=h[t-c+e-1]?d[t-c+e-1]:d[t+e],w=h[t-c+e]?d[t-c+e]:d[t+e],v=h[t-c+e+1]?d[t-c+e+1]:d[t+e],T=h[t+e-1]?d[t+e-1]:d[t+e],S=h[t+e+1]?d[t+e+1]:d[t+e],k=h[t+c+e-1]?d[t+c+e-1]:d[t+e],I=h[t+c+e]?d[t+c+e]:d[t+e],x=h[t+c+e+1]?d[t+c+e+1]:d[t+e]):(b=d[t-c+e-1],w=d[t-c+e],v=d[t-c+e+1],T=d[t+e-1],S=d[t+e+1],k=d[t+c+e-1],I=d[t+c+e],x=d[t+c+e+1]);const o=(v+S+S+x-(b+T+T+k))*A,n=(k+I+I+x-(b+w+w+v))*P,i=Math.sqrt(o*o+n*n);m[t+e]="percent-rise"===l?100*i:57.2957795*Math.atan(i)}}for(let e=0;e<f;e++)m[e*c]=m[e*c+1],m[(e+1)*c-1]=m[(e+1)*c-2];for(let e=1;e<c-1;e++)m[e]=m[e+c],m[e+(f-1)*c]=m[e+(f-2)*c];const D=new n.Z({width:c,height:f,pixels:[m],mask:h?p:null,pixelType:"f32",validPixelCount:e.validPixelCount});return D.updateStatistics(),D}function c(e,t={}){if(!(0,i.nk)(e))return e;const{width:r,height:a,mask:s}=e,l=e.pixels[0],u=new Uint8Array(r*a);(0,o.pC)(s)&&u.set(s);const c=new Float32Array(r*a),{resolution:f}=t,h=f?1/f.x:1,d=f?1/f.y:1;let p,g,m,y,C,b,w,v;const T=(0,o.pC)(s);for(let e=1;e<a-1;e++){const t=e*r;for(let e=1;e<r-1;e++){if(s&&!s[t+e]){c[t+e]=0;continue}let o=0;if(T&&(o=s[t-r+e-1]+s[t-r+e]+s[t-r+e+1]+s[t+e-1]+s[t+e+1]+s[t+r+e-1]+s[t+r+e]+s[t+r+e+1],o<7)){c[t+e]=0,u[t+e]=0;continue}s&&7===o?(p=s[t-r+e-1]?l[t-r+e-1]:l[t+e],g=s[t-r+e]?l[t-r+e]:l[t+e],m=s[t-r+e+1]?l[t-r+e+1]:l[t+e],y=s[t+e-1]?l[t+e-1]:l[t+e],C=s[t+e+1]?l[t+e+1]:l[t+e],b=s[t+r+e-1]?l[t+r+e-1]:l[t+e],w=s[t+r+e]?l[t+r+e]:l[t+e],v=s[t+r+e+1]?l[t+r+e+1]:l[t+e]):(p=l[t-r+e-1],g=l[t-r+e],m=l[t-r+e+1],y=l[t+e-1],C=l[t+e+1],b=l[t+r+e-1],w=l[t+r+e],v=l[t+r+e+1]);const n=(m+C+C+v-(p+y+y+b))*h,i=(b+w+w+v-(p+g+g+m))*d;let a=-1;0===n&&0===i||(a=90-57.29578*Math.atan2(i,-n),a<0&&(a+=360),360===a?a=0:a>360&&(a%=360)),c[t+e]=a}}for(let e=0;e<a;e++)c[e*r]=c[e*r+1],c[(e+1)*r-1]=c[(e+1)*r-2];for(let e=1;e<r-1;e++)c[e]=c[e+r],c[e+(a-1)*r]=c[e+(a-2)*r];return new n.Z({width:r,height:a,pixels:[c],mask:s?u:null,pixelType:"f32",validPixelCount:e.validPixelCount,statistics:[{minValue:0,maxValue:360}]})}},67022:function(e,t,r){r.d(t,{Z:function(){return y}});var o=r(38322),n=r(4512),i=r(24665),a=r(52934),s=r(72514),l=r(83784),u=(r(16525),r(53445),r(41079)),c=r(22953),f=r(89351),h=r(24018),d=r(45144),p=r(91303);let g=class extends i.wq{constructor(e){super(e)}bind(){const{rendererJSON:e}=this;if(!e)return{success:!1};let t;switch(this.lookup={rendererJSON:{}},e.type){case"uniqueValue":t=this._updateUVRenderer(e);break;case"rasterColormap":t=this._updateColormapRenderer(e);break;case"rasterStretch":t=this._updateStretchRenderer(e);break;case"classBreaks":t=this._updateClassBreaksRenderer(e);break;case"rasterShadedRelief":t=this._updateShadedReliefRenderer(e);break;case"vectorField":t=this._updateVectorFieldRenderer();break;case"flowRenderer":t=this._updateFlowRenderer()}return t}symbolize(e){let t=e&&e.pixelBlock;if(!m(t))return t;if(e.simpleStretchParams&&"rasterStretch"===this.rendererJSON.type)return this.simpleStretch(t,e.simpleStretchParams);try{let r;switch(t.pixels.length>3&&(t=(0,f.qF)(t,[0,1,2])),this.rendererJSON.type){case"uniqueValue":case"rasterColormap":r=this._symbolizeColormap(t);break;case"classBreaks":r=this._symbolizeClassBreaks(t);break;case"rasterStretch":r=this._symbolizeStretch(t,e.bandIds);break;case"rasterShadedRelief":{const o=e.extent,n=o.spatialReference.isGeographic,i={x:(o.xmax-o.xmin)/t.width,y:(o.ymax-o.ymin)/t.height};r=this._symbolizeShadedRelief(t,{isGCS:n,resolution:i});break}}return r}catch(e){return a.Z.getLogger(this.declaredClass).error("symbolize",e.message),t}}simpleStretch(e,t){if(!m(e))return e;try{return e.pixels.length>3&&(e=(0,f.qF)(e,[0,1,2])),(0,h.dy)(e,{...t,isRenderer:!0})}catch(t){return a.Z.getLogger(this.declaredClass).error("symbolize",t.message),e}}generateWebGLParameters(e){if(["uniqueValue","rasterColormap","classBreaks"].includes(this.rendererJSON.type)){const{indexedColormap:e,offset:t}=this.lookup.colormapLut||{};return{colormap:e,colormapOffset:t,type:"lut"}}const{pixelBlock:t,isGCS:r,resolution:o,bandIds:n}=e,{rendererJSON:i}=this;return"rasterStretch"===i.type?this._generateStretchWebGLParams(t,i,n):"rasterShadedRelief"===i.type?this._generateShadedReliefWebGLParams(i,r,o??void 0):"vectorField"===i.t
1ype?this._generateVectorFieldWebGLParams(i):null}_isLUTChanged(e){if(!this.lookup||!this.lookup.rendererJSON)return!0;if("colorRamp"in this.rendererJSON){const t=this.rendererJSON.colorRamp;return e?JSON.stringify(t)!==JSON.stringify(this.lookup.rendererJSON.colorRamp):(this.rendererJSON,this.lookup.rendererJSON,JSON.stringify(this.rendererJSON)!==JSON.stringify(this.lookup.rendererJSON))}return JSON.stringify(this.rendererJSON)!==JSON.stringify(this.lookup.rendererJSON)}_symbolizeColormap(e){return this._isLUTChanged()&&!this.bind().success?e:(0,f.SJ)(e,this.lookup.colormapLut)}_symbolizeClassBreaks(e){const{canUseIndexedLUT:t}=this._analyzeClassBreaks(this.rendererJSON);return this._isLUTChanged()&&!this.bind().success?e:t?(0,f.SJ)(e,this.lookup.colormapLut):(0,f.zp)(e,this.lookup.remapLut??[])}_symbolizeStretch(e,t){const{rasterInfo:r}=this,{pixelType:o,bandCount:n}=r,i=this.rendererJSON,a=["u8","u16","s8","s16"].includes(o);let l,u;const{dra:c}=i,{gamma:d}=this.lookup;if("histogramEqualization"===i.stretchType){const o=c?null:this.lookup?.histogramLut,n=(0,h.AV)(i,{rasterInfo:r,pixelBlock:e,bandIds:t,returnHistogramLut:!o}),a=(0,h.dy)(e,{...n,gamma:d,isRenderer:!0});u=(0,f.XV)(a,{lut:c?n.histogramLut:o,offset:0})}else if(a){if(c){const n=(0,h.AV)(i,{rasterInfo:r,pixelBlock:e,bandIds:t});l=(0,h.hE)({pixelType:o,...n,gamma:d,rounding:"floor"})}else if(this._isLUTChanged()){if(!this.bind().success)return e;l=this.lookup?this.lookup.stretchLut:null}else l=this.lookup?this.lookup.stretchLut:null;if(!l)return e;n>1&&t?.length===(0,s.Wg)(e)?.pixels.length&&l?.lut.length===n&&(l={lut:t.map((e=>l.lut[e])),offset:l.offset}),u=(0,f.XV)(e,l)}else{const o=(0,h.AV)(i,{rasterInfo:r,pixelBlock:e,bandIds:t});u=(0,h.dy)(e,{...o,gamma:d,isRenderer:!0})}if(i.colorRamp){if(this._isLUTChanged(!0)&&!this.bind().success)return e;u=(0,f.SJ)(u,this.lookup?.colormapLut)}return u}_symbolizeShadedRelief(e,t){const r=this.rendererJSON,o={...r,...t},n=(0,d.vC)(e,o);if(!r.colorRamp)return n;let i;if(this._isLUTChanged(!0)){if(!this.bind().success)return n;i=this.lookup?this.lookup.hsvMap:null}else i=this.lookup?this.lookup.hsvMap:null;if(!i)return n;const a=(0,s.Wg)(this.rasterInfo.statistics)?.[0]??{min:0,max:8e3};return(0,d.Ub)(n,e,i,a),n}_isVectorFieldData(){const{bandCount:e,dataType:t}=this.rasterInfo;return 2===e&&("vector-magdir"===t||"vector-uv"===t)}_updateVectorFieldRenderer(){return this._isVectorFieldData()?{success:!0}:{success:!1,error:`Unsupported data type "${this.rasterInfo.dataType}"; VectorFieldRenderer only supports "vector-magdir" and "vector-uv".`}}_updateFlowRenderer(){return this._isVectorFieldData()?{success:!0}:{success:!1,error:`Unsupported data type "${this.rasterInfo.dataType}"; FlowRenderer only supports "vector-magdir" and "vector-uv".`}}_updateUVRenderer(e){const{bandCount:t,attributeTable:r,pixelType:o}=this.rasterInfo,n=e.field1;if(!n)return{success:!1,error:"Unsupported renderer; missing UniqueValueRenderer.field."};const i=e.defaultSymbol,a=1===t&&["u8","s8"].includes(o);if(!function(e,t){const{attributeTable:r,bandCount:o}=e;return!((0,s.Wi)(r)||o>1||t&&null==r.fields.find((e=>e.name.toLowerCase()===t.toLowerCase())))}(this.rasterInfo,n)&&!a)return{success:!1,error:"Unsupported data; UniqueValueRenderer is only supported on single band data with a valid raster attribute table."};const l=[];if((0,s.pC)(r)){const t=r.fields.find((e=>"value"===e.name.toLowerCase()));if(!t)return{success:!1,error:"Unsupported data; the data's raster attribute table does not have a value field."};r.features.forEach((r=>{const o=e.uniqueValueInfos?.find((e=>String(e.value)===String(r.attributes[n]))),a=o?.symbol?.color;a?l.push([r.attributes[t.name]].concat(a)):i&&l.push([r.attributes[t.name]].concat(i.color))}))}else{if("value"!==n.toLowerCase())return{success:!1,error:'Unsupported renderer; UniqueValueRenderer.field must be "Value" when raster attribute table is not availalbe.'};e.uniqueValueInfos?.forEach((e=>{const t=e?.symbol?.color;t?l.push([parseInt(""+e.value,10)].concat(t)):i&&l.push([parseInt(""+e.value,10)].concat(i?.color))}))}if(0===l.length)return{success:!1,error:"Invalid UniqueValueRenderer. Cannot find matching records in the raster attribute table."};const u=(0,f.Pz)({colormap:l});return this.lookup={rendererJSON:e,colormapLut:u},this.canRenderInWebGL=!0,{success:!0}}_updateColormapRenderer(e){if(!function(e){const{bandCount:t,colormap:r}=e;return(0,s.pC)(r)&&r.length>0&&1===t}(this.rasterInfo))return{success:!1,error:"Unsupported data; the data source does not have a colormap."};const t=e.colormapInfos.map((e=>[e.value].concat(e.color))).sort(((e,t)=>e[0]-t[0]));if(!t||0===t.length)return{success:!1,error:"Unsupported renderer; ColormapRenderer must have meaningful colormapInfos."};const r=(0,f.Pz)({colormap:t});return this.lookup={rendererJSON:e,colormapLut:r},this.canRenderInWebGL=!0,{success:!0}}_updateShadedReliefRenderer(e){if(!function(e){const{bandCount:t,dataType:r,pixelType:o}=e;return"elevation"===r||"generic"===r&&1===t&&("s16"===o||"f32"===o||"f64"===o)}(this.rasterInfo))return{success:!1,error:`Unsupported data type "${this.rasterInfo.dataType}"; ShadedReliefRenderer only supports "elevation", or single band float/s16 data.`};if(e.colorRamp){const t=(0,p.Jw)(e.colorRamp,{interpolateAlpha:!0}),r=(0,f.Pz)({colormap:t}),o=[],i=r.indexedColormap;for(let e=0;e<i.length;e+=4){const t=(0,n._Y)({r:i[e],g:i[e+1],b:i[e+2]});o.push([t.h/60,t.s/100,255*t.v/100])}this.lookup={rendererJSON:e,colormapLut:r,hsvMap:o}}else this.lookup=null;return this.canRenderInWebGL=!0,{success:!0}}_analyzeClassBreaks(e){const{attributeTable:t,pixelType:r}=this.rasterInfo,o=(0,s.pC)(t)?t.fields.find((e=>"value"===e.name.toLowerCase())):null,n=(0,s.pC)(t)?t.fields.find((t=>t.name.toLowerCase()===e.field.toLowerCase())):null,i=null!=o&&null!==n;return{canUseIndexedLUT:["u8","u16","s8","s16"].includes(r)||i,tableValueField:o,tableBreakField:n}}_updateClassBreaksRenderer(e){const{attributeTable:t}=this.rasterInfo,{canUseIndexedLUT:r,tableValueField:o,tableBreakField:n}=this._analyzeClassBreaks(e),i=e.classBreakInfos;
1if(!i?.length)return{success:!1,error:"Unsupported renderer; missing or invalid ClassBreaksRenderer.classBreakInfos."};const a=i.sort(((e,t)=>e.classMaxValue-t.classMaxValue)),l=a[a.length-1];let u=e.minValue;if(!r){const t=[];for(let e=0;e<a.length;e++)t.push({value:a[e].classMinValue??u,mappedColor:a[e].symbol.color}),u=a[e].classMaxValue;return t.push({value:l.classMaxValue,mappedColor:l.symbol.color}),this.lookup={rendererJSON:e,remapLut:t},this.canRenderInWebGL=!1,{success:!0}}const c=[];if((0,s.pC)(t)&&null!=o&&null!==n&&o!==n){const r=o.name,i=n.name,s=a[a.length-1],{classMaxValue:l}=s;u=e.minValue;for(const e of t.features){const t=e.attributes[r],o=e.attributes[i],n=o===l?s:o<u?null:a.find((({classMaxValue:e})=>e>o));n&&c.push([t].concat(n.symbol.color))}}else{u=Math.floor(e.minValue);for(let e=0;e<a.length;e++){const t=a[e];for(let e=u;e<t.classMaxValue;e++)c.push([e].concat(t.symbol.color));u=Math.ceil(t.classMaxValue)}l.classMaxValue===u&&c.push([l.classMaxValue].concat(l.symbol.color))}const h=(0,f.Pz)({colormap:c,fillUnspecified:!1});return this.lookup={rendererJSON:e,colormapLut:h},this.canRenderInWebGL=!0,{success:!0}}_isHistogramRequired(e){return"percentClip"===e||"histogramEqualization"===e}_isValidRasterStatistics(e){return(0,s.pC)(e)&&e.length>0&&null!=e[0].min&&null!=e[0].max}_updateStretchRenderer(e){let{stretchType:t,dra:r}=e;if(!("none"===t||e.statistics?.length||this._isValidRasterStatistics(this.rasterInfo.statistics)||r))return{success:!1,error:"Unsupported renderer; StretchRenderer.statistics is required when dynamic range adjustment is not used."};const o=(0,s.Wg)(e.histograms||this.rasterInfo.histograms);!this._isHistogramRequired(e.stretchType)||o?.length||r||(t="minMax");const{computeGamma:n,useGamma:i,colorRamp:a}=e;let{gamma:l}=e;if(i&&n&&!l?.length){const t=e.statistics?.length?e.statistics:(0,s.Wg)(this.rasterInfo.statistics);l=(0,h.ZF)(this.rasterInfo.pixelType,t)}const u=this.rasterInfo.pixelType,c=!r&&["u8","u16","s8","s16"].includes(u);if("histogramEqualization"===t){const t=o.map((e=>(0,h.oc)(e)));this.lookup={rendererJSON:e,histogramLut:t}}else if(c){const t=(0,h.AV)(e,{rasterInfo:this.rasterInfo}),r=(0,h.hE)({pixelType:u,...t,gamma:i?l:null,rounding:"floor"});this.lookup={rendererJSON:e,stretchLut:r}}if(a){const t=(0,p.Jw)(a,{interpolateAlpha:!0});this.lookup||(this.lookup={rendererJSON:e}),this.lookup.colormapLut=(0,f.Pz)({colormap:t}),this.lookup.rendererJSON=e}return this.lookup.gamma=i&&l?.length?l:null,this.canRenderInWebGL=!0,{success:!0}}_generateStretchWebGLParams(e,t,r){let o=null,n=null;const i=this.lookup&&this.lookup.colormapLut;t.colorRamp&&i&&(o=i.indexedColormap,n=i.offset),"histogramEqualization"===t.stretchType&&(t={...t,stretchType:"minMax"});const{gamma:a}=this.lookup,l=!!(t.useGamma&&a&&a.some((e=>1!==e))),{minCutOff:u,maxCutOff:c,outMin:f,outMax:d}=(0,h.AV)(t,{rasterInfo:this.rasterInfo,pixelBlock:e,bandIds:r});let p=0;(0,s.pC)(e)&&(p=e.getPlaneCount(),2===p&&((e=e.clone()).statistics=[e.statistics[0]],e.pixels=[e.pixels[0]]));const{bandCount:g}=this.rasterInfo,m=Math.min(3,r?.length||p||g,g),y=new Float32Array(m),C=o||l?1:255;let b;for(b=0;b<u.length;b++)y[b]=c[b]===u[b]?0:(d-f)/(c[b]-u[b])/C;const w=new Float32Array(m);if(l&&a)for(b=0;b<m;b++)a[b]>1?a[b]>2?w[b]=6.5+(a[b]-2)**2.5:w[b]=6.5+100*(2-a[b])**4:w[b]=1;return{bandCount:m,outMin:f/C,outMax:d/C,minCutOff:u,maxCutOff:c,factor:y,useGamma:l,gamma:l?a:[1,1,1],gammaCorrection:l?w:[1,1,1],colormap:o,colormapOffset:n,stretchType:t.stretchType,type:"stretch"}}_generateShadedReliefWebGLParams(e,t=!1,r={x:0,y:0}){let o=null,n=null;const i=this.lookup&&this.lookup.colormapLut;e.colorRamp&&i&&(o=i.indexedColormap,n=i.offset);const a={...e,isGCS:t,resolution:r},l=(0,d.TK)(a),u=(0,s.Wg)(this.rasterInfo.statistics)?.[0];return{...l,minValue:u?.min??0,maxValue:u?.max??8e3,hillshadeType:"traditional"===e.hillshadeType?0:1,type:"hillshade",colormap:o,colormapOffset:n}}_generateVectorFieldWebGLParams(e){const{style:t,inputUnit:r,outputUnit:o,visualVariables:n,symbolTileSize:i,flowRepresentation:a}=e;let l;const u=this.rasterInfo.statistics?.[0].min??0,c=this.rasterInfo.statistics?.[0].max??50,f=n?.find((e=>"sizeInfo"===e.type))??{type:"sizeInfo",field:"Magnitude",maxDataValue:c,maxSize:.8*i,minDataValue:u,minSize:.2*i},h=f.minDataValue??u,d=f.maxDataValue??c,p=(0,s.pC)(f.maxSize)&&(0,s.pC)(f.minSize)?[f.minSize/i,f.maxSize/i]:[.2,.8];if("wind_speed"===t){const e=(p[0]+p[1])/2;p[0]=p[1]=e}const g=(0,s.pC)(h)&&(0,s.pC)(d)?[h,d]:null;if("classified_arrow"===t)if((0,s.pC)(h)&&(0,s.pC)(d)&&(0,s.pC)(f)){l=[];const e=(f.maxDataValue-f.minDataValue)/5;for(let t=0;t<6;t++)l.push(f.minDataValue+e*t)}else l=[0,1e-6,3.5,7,10.5,14];const m="flow_to"===a==("ocean_current_kn"===t||"ocean_current_m"===t)?0:Math.PI,y=n?.find((e=>"rotationInfo"===e.type));return{breakValues:l,dataRange:g,inputUnit:r,outputUnit:o,symbolTileSize:i,symbolPercentRange:p,style:t||"single_arrow",rotation:m,rotationType:this.rasterInfo.storageInfo?.tileInfo&&"vector-uv"===this.rasterInfo.dataType?"geographic":y?.rotationType||e.rotationType,type:"vectorField"}}};function m(e){return(0,f.nk)(e)&&0!==e.validPixelCount}(0,o._)([(0,l.Cb)({json:{write:!0}})],g.prototype,"rendererJSON",void 0),(0,o._)([(0,l.Cb)({type:c.Z,json:{write:!0}})],g.prototype,"rasterInfo",void 0),(0,o._)([(0,l.Cb)({json:{write:!0}})],g.prototype,"lookup",void 0),(0,o._)([(0,l.Cb)()],g.prototype,"canRenderInWebGL",void 0),g=(0,o._)([(0,u.j)("esri.renderers.support.RasterSymbolizer")],g);const y=g},91303:function(e,t,r){r.d(t,{B4:function(){return h},H0:function(){return u},Jw:function(){return m},Ms:function(){return s},Oi:function(){return a},Uh:function(){return f},XL:function(){return g},io:function(){return w},pM:function(){return y}});var o=r(86532),n=r(4512),i=r(74478);
1const a=["random","ndvi","ndvi2","ndvi3","elevation","gray","hillshade"],s=[{id:"aspect_predefined",type:"multipart",colorRamps:[{fromColor:[190,190,190],toColor:[255,45,8]},{fromColor:[255,45,8],toColor:[255,181,61]},{fromColor:[255,181,61],toColor:[255,254,52]},{fromColor:[255,254,52],toColor:[0,251,50]},{fromColor:[0,251,50],toColor:[255,254,52]},{fromColor:[0,253,255],toColor:[0,181,255]},{fromColor:[0,181,255],toColor:[26,35,253]},{fromColor:[26,35,253],toColor:[255,57,251]},{fromColor:[255,57,251],toColor:[255,45,8]}]},{id:"blackToWhite_predefined",fromColor:[0,0,0],toColor:[255,255,255]},{id:"blueBright_predefined",fromColor:[204,204,255],toColor:[0,0,224]},{id:"blueLightToDark_predefined",fromColor:[211,229,232],toColor:[46,100,140]},{id:"blueGreenBright_predefined",fromColor:[203,245,234],toColor:[48,207,146]},{id:"blueGreenLightToDark_predefined",fromColor:[216,242,237],toColor:[21,79,74]},{id:"brownLightToDark_predefined",fromColor:[240,236,170],toColor:[102,72,48]},{id:"brownToBlueGreenDivergingBright_predefined",type:"multipart",colorRamps:[{fromColor:[156,85,31],toColor:[255,255,191]},{fromColor:[255,255,191],toColor:[33,130,145]}]},{id:"brownToBlueGreenDivergingDark_predefined",type:"multipart",colorRamps:[{fromColor:[110,70,45],toColor:[204,204,102]},{fromColor:[204,204,102],toColor:[48,100,102]}]},{id:"coefficientBias_predefined",fromColor:[214,214,255],toColor:[0,57,148]},{id:"coldToHotDiverging_predefined",type:"multipart",colorRamps:[{fromColor:[69,117,181],toColor:[255,255,191]},{fromColor:[255,255,191],toColor:[214,47,39]}]},{id:"conditionNumber_predefined",type:"multipart",colorRamps:[{fromColor:[0,97,0],toColor:[255,255,0]},{fromColor:[255,255,0],toColor:[255,34,0]}]},{id:"cyanToPurple_predefined",type:"multipart",colorRamps:[{fromColor:[0,245,245],toColor:[0,0,245]},{fromColor:[0,0,245],toColor:[245,0,245]}]},{id:"cyanLightToBlueDark_predefined",type:"multipart",colorRamps:[{fromColor:[182,237,240],toColor:[31,131,224]},{fromColor:[31,131,224],toColor:[9,9,145]}]},{id:"distance_predefined",fromColor:[255,200,0],toColor:[0,0,255]},{id:"elevation1_predefined",type:"multipart",colorRamps:[{fromColor:[175,240,233],toColor:[255,255,179]},{fromColor:[255,255,179],toColor:[0,128,64]},{fromColor:[0,128,64],toColor:[252,186,3]},{fromColor:[252,186,3],toColor:[128,0,0]},{fromColor:[120,0,0],toColor:[105,48,13]},{fromColor:[105,48,13],toColor:[171,171,171]},{fromColor:[171,171,171],toColor:[255,252,255]}]},{id:"elevation2_predefined",type:"multipart",colorRamps:[{fromColor:[118,219,211],toColor:[255,255,199]},{fromColor:[255,255,199],toColor:[255,255,128]},{fromColor:[255,255,128],toColor:[217,194,121]},{fromColor:[217,194,121],toColor:[135,96,38]},{fromColor:[135,96,38],toColor:[150,150,181]},{fromColor:[150,150,181],toColor:[181,150,181]},{fromColor:[181,150,181],toColor:[255,252,255]}]},{id:"errors_predefined",fromColor:[255,235,214],toColor:[196,10,10]},{id:"grayLightToDark_predefined",fromColor:[219,219,219],toColor:[69,69,69]},{id:"greenBright_predefined",fromColor:[204,255,204],toColor:[14,204,14]},{id:"greenLightToDark_predefined",fromColor:[220,245,233],toColor:[34,102,51]},{id:"greenToBlue_predefined",type:"multipart",colorRamps:[{fromColor:[32,204,16],toColor:[0,242,242]},{fromColor:[0,242,242],toColor:[2,33,227]}]},{id:"orangeBright_predefined",fromColor:[255,235,204],toColor:[240,118,5]},{id:"orangeLightToDark_predefined",fromColor:[250,233,212],toColor:[171,65,36]},{id:"partialSpectrum_predefined",type:"multipart",colorRamps:[{fromColor:[242,241,162],toColor:[255,255,0]},{fromColor:[255,255,0],toColor:[255,0,0]},{fromColor:[252,3,69],toColor:[176,7,237]},{fromColor:[176,7,237],toColor:[2,29,173]}]},{id:"partialSpectrum1Diverging_predefined",type:"multipart",colorRamps:[{fromColor:[135,38,38],toColor:[240,149,12]},{fromColor:[240,149,12],toColor:[255,255,191]},{fromColor:[255,255,191],toColor:[74,80,181]},{fromColor:[74,80,181],toColor:[39,32,122]}]},{id:"partialSpectrum2Diverging_predefined",type:"multipart",colorRamps:[{fromColor:[115,77,42],toColor:[201,137,52]},{fromColor:[201,137,52],toColor:[255,255,191]},{fromColor:[255,255,191],toColor:[91,63,176]},{fromColor:[91,63,176],toColor:[81,13,97]}]},{id:"pinkToYellowGreenDivergingBright_predefined",type:"multipart",colorRamps:[{fromColor:[158,30,113],toColor:[255,255,191]},{fromColor:[255,255,191],toColor:[99,110,45]}]},{id:"pinkToYellowGreenDivergingDark_predefined",type:"multipart",colorRamps:[{fromColor:[97,47,73],toColor:[204,204,102]},{fromColor:[204,204,102],toColor:[22,59,15]}]},{id:"precipitation_predefined",type:"multipart",colorRamps:[{fromColor:[194,82,60],toColor:[237,161,19]},{fromColor:[237,161,19],toColor:[255,255,0]},{fromColor:[255,255,0],toColor:[0,219,0]},{fromColor:[0,219,0],toColor:[32,153,143]},{fromColor:[32,153,143],toColor:[11,44,122]}]},{id:"prediction_predefined",type:"multipart",colorRamps:[{fromColor:[40,146,199],toColor:[250,250,100]},{fromColor:[250,250,100],toColor:[232,16,20]}]},{id:"purpleBright_predefined",fromColor:[255,204,255],toColor:[199,0,199]},{id:"purpleToGreenDivergingBright_predefined",type:"multipart",colorRamps:[{fromColor:[77,32,150],toColor:[255,255,191]},{fromColor:[255,255,191],toColor:[20,122,11]}]},{id:"purpleToGreenDivergingDark_predefined",type:"multipart",colorRamps:[{fromColor:[67,14,89],toColor:[204,204,102]},{fromColor:[204,204,102],toColor:[24,79,15]}]},{id:"purpleBlueBright_predefined",fromColor:[223,184,230],toColor:[112,12,242]},{id:"purpleBlueLightToDark_predefined",fromColor:[229,213,242],toColor:[93,44,112]},{id:"purpleRedBright_predefined",fromColor:[255,204,225],toColor:[199,0,99]},{id:"purpleRedLightToDark_predefined",fromColor:[250,215,246],toColor:[143,17,57]},{id:"redBright_predefined",fromColor:[255,204,204],toColor:[219,0,0]},{id:"redLightToDark_predefined",fromColor:[255,224,224],toColor:[143,10,10]},{id:"redToBlueDivergingBright_predefined",type:"multipart",colorRamps:[{fromColor:[196,69,57],toColor:[255,255,191]},{fromColor:[255,255,191],toColor:[48,95,207]}]},{id:"redToBlueDivergingDark_predefined",type:"multipart",colorRamps:[{fromColor:[107,13,13],toColor:[204,204,102]},{fromColor:[204,204,102],toColor:[13,53,97]}]},{id:"redToGreen_predefined",type:"multipart",colorRamps:[{fromColor:[245,0,0],toColor:[245,245,0]},{fromColor:[245,245,0],toColor:[0,245,0]}]},{id:"redToGreenDivergingBright_predefined",type:"multipart",colorRamps:[{fromColor:[186,20,20],toColor:[255,255,191]},{fromColor:[255,255,191],toColor:[54,145,33]}]},{id:"redToGreenDivergingDark_predefined",type:"multipart",colorRamps:[{fromColor:[97,21,13],toColor:[204,204,102]},{fromColor:[204,204,102],toColor:[16,69,16]}]},{id:"slope_predefined",type:"multipart",colorRamps:[{fromColor:[56,168,0],toColor:[255,255,0]},{fromColor:[255,255,0],toColor:[255,0,0]}]},{id:"spectrumFullBright_predefined",type:"multipart",colorRamps:[{fromColor:[255,0,0],toColor:[255,255,0]},{fromColor:[255,255,0],toColor:[0,255,255]},{fromColor:[0,255,255],toColor:[0,0,255]}]},{id:"spectrumFullDark_predefined",type:"multipart",colorRamps:[{fromColor:[153,0,0],toColor:[153,153,0]},{fromColor:[153,153,0],toColor:[0,153,153]},{fromColor:[0,153,153],toColor:[0,0,153]}]},{id:"spectrumFullLight_predefined",type:"multipart",colorRamps:[{fromColor:[255,153,153],toColor:[255,255,153]},{fromColor:[255,255,153],toColor:[153,255,255]},{fromColor:[153,255,255],toColor:[153,153,255]}]},{id:"surface_predefined",type:"multipart",colorRamps:[{fromColor:[112,153,89],toColor:[242,238,162]},{fromColor:[242,238,162],toColor:[242,206,133]},{fromColor:[242,206,133],toColor:[194,140,124]},{fromColor:[194,140,124],toColor:[255,242,255]}]},{id:"temperature_predefined",type:"multipart",colorRamps:[{fromColor:[255,252,255],toColor:[255,0,255]},{fromColor:[255,0,255],toColor:[0,0,255]},{fromColor:[0,0,255],toColor:[0,255,255]},{fromColor:[0,255,255],toColor:[0,255,0]},{fromColor:[0,255,0],toColor:[255,255,0]},{fromColor:[255,255,0],toColor:[255,128,0]},{fromColor:[255,128,0],toColor:[128,0,0]}]},{id:"whiteToBlack_predefined",fromColor:[255,255,255],toColor:[0,0,0]},{id:"yellowToDarkRed_predefined",type:"multipart",colorRamps:[{fromColor:[255,255,128],toColor:[242,167,46]},{fromColor:[242,167,46],toColor:[107,0,0]}]},{id:"yellowToGreenToDarkBlue_predefined",type:"multipart",colorRamps:[{fromColor:[255,255,128],toColor:[56,224,9]},{fromColor:[56,224,9],toColor:[26,147,171]},{fromColor:[26,147,171],toColor:[12,16,120]}]},{id:"yellowToRed_predefined",fromColor:[245,245,0],toColor:[255,0,0]},{id:"yellowGreenBright_predefined",fromColor:[236,252,204],toColor:[157,204,16]},{id:"yellowGreenLightToDark_predefined",fromColor:[215,240,175],toColor:[96,107,45]}
1],l={aspect_predefined:"Aspect",blackToWhite_predefined:"Black to White",blueBright_predefined:"Blue Bright",blueLightToDark_predefined:"Blue Light to Dark",blueGreenBright_predefined:"Blue-Green Bright",blueGreenLightToDark_predefined:"Blue-Green Light to Dark",brownLightToDark_predefined:"Brown Light to Dark",brownToBlueGreenDivergingBright_predefined:"Brown to Blue Green Diverging, Bright",brownToBlueGreenDivergingDark_predefined:"Brown to Blue Green Diverging, Dark",coefficientBias_predefined:"Coefficient Bias",coldToHotDiverging_predefined:"Cold to Hot Diverging",conditionNumber_predefined:"Condition Number",cyanToPurple_predefined:"Cyan to Purple",cyanLightToBlueDark_predefined:"Cyan-Light to Blue-Dark",distance_predefined:"Distance",elevation1_predefined:"Elevation #1",elevation2_predefined:"Elevation #2",errors_predefined:"Errors",grayLightToDark_predefined:"Gray Light to Dark",greenBright_predefined:"Green Bright",greenLightToDark_predefined:"Green Light to Dark",greenToBlue_predefined:"Green to Blue",orangeBright_predefined:"Orange Bright",orangeLightToDark_predefined:"Orange Light to Dark",partialSpectrum_predefined:"Partial Spectrum",partialSpectrum1Diverging_predefined:"Partial Spectrum 1 Diverging",partialSpectrum2Diverging_predefined:"Partial Spectrum 2 Diverging",pinkToYellowGreenDivergingBright_predefined:"Pink to YellowGreen Diverging, Bright",pinkToYellowGreenDivergingDark_predefined:"Pink to YellowGreen Diverging, Dark",precipitation_predefined:"Precipitation",prediction_predefined:"Prediction",purpleBright_predefined:"Purple Bright",purpleToGreenDivergingBright_predefined:"Purple to Green Diverging, Bright",purpleToGreenDivergingDark_predefined:"Purple to Green Diverging, Dark",purpleBlueBright_predefined:"Purple-Blue Bright",purpleBlueLightToDark_predefined:"Purple-Blue Light to Dark",purpleRedBright_predefined:"Purple-Red Bright",purpleRedLightToDark_predefined:"Purple-Red Light to Dark",redBright_predefined:"Red Bright",redLightToDark_predefined:"Red Light to Dark",redToBlueDivergingBright_predefined:"Red to Blue Diverging, Bright",redToBlueDivergingDark_predefined:"Red to Blue Diverging, Dark",redToGreen_predefined:"Red to Green",redToGreenDivergingBright_predefined:"Red to Green Diverging, Bright",redToGreenDivergingDark_predefined:"Red to Green Diverging, Dark",slope_predefined:"Slope",spectrumFullBright_predefined:"Spectrum-Full Bright",spectrumFullDark_predefined:"Spectrum-Full Dark",spectrumFullLight_predefined:"Spectrum-Full Light",surface_predefined:"Surface",temperature_predefined:"Temperature",whiteToBlack_predefined:"White to Black",yellowToDarkRed_predefined:"Yellow to Dark Red",yellowToGreenToDarkBlue_predefined:"Yellow to Green to Dark Blue",yellowToRed_predefined:"Yellow to Red",yellowGreenBright_predefined:"Yellow-Green Bright",yellowGreenLightToDark_predefined:"Yellow-Green Light to Dark"},u=new i.X({Aspect:"aspect","Black to White":"black-to-white","Blue Bright":"blue-bright","Blue Light to Dark":"blue-light-to-dark","Blue-Green Bright":"blue-green-bright","Blue-Green Light to Dark":"blue-green-light-to-dark","Brown Light to Dark":"brown-light-to-dark","Brown to Blue Green Diverging, Bright":"brown-to-blue-green-diverging-right","Brown to Blue Green Diverging, Dark":"brown-to-blue-green-diverging-dark","Coefficient Bias":"coefficient-bias","Cold to Hot Diverging":"cold-to-hot-diverging","Condition Number":"condition-number","Cyan to Purple":"cyan-to-purple","Cyan-Light to Blue-Dark":"cyan-light-to-blue-dark",Distance:"distance","Elevation #1":"elevation1","Elevation #2":"elevation2",Errors:"errors","Gray Light to Dark":"gray-light-to-dark","Green Bright":"green-bright","Green Light to Dark":"green-light-to-dark","Green to Blue":"green-to-blue","Orange Bright":"orange-bright","Orange Light to Dark":"orange-light-to-dark","Partial Spectrum":"partial-spectrum","Partial Spectrum 1 Diverging":"partial-spectrum-1-diverging","Partial Spectrum 2 Diverging":"partial-spectrum-2-diverging","Pink to YellowGreen Diverging, Bright":"pink-to-yellow-green-diverging-bright","Pink to YellowGreen Diverging, Dark":"pink-to-yellow-green-diverging-d
1ark",Precipitation:"precipitation",Prediction:"prediction","urple Bright":"purple-bright","Purple to Green Diverging, Bright":"purple-to-green-diverging-bright","Purple to Green Diverging, Dark":"purple-to-green-diverging-dark","Purple-Blue Bright":"purple-blue-bright","Purple-Blue Light to Dark":"purple-blue-light-to-dark","Purple-Red Bright":"purple-red-bright","Purple-Red Light to Dark":"purple-red-light-to-dark","Red Bright":"red-bright","Red Light to Dark":"red-light-to-dark","Red to Blue Diverging, Bright":"red-to-blue-diverging-bright","Red to Blue Diverging, Dark":"red-to-blue-diverging-dark","Red to Green":"red-to-green","Red to Green Diverging, Bright":"red-to-green-diverging-bright","Red to Green Diverging, Dark":"red-to-green-diverging-dark",Slope:"slope","Spectrum-Full Bright":"spectrum-full-bright","Spectrum-Full Dark":"spectrum-full-dark","Spectrum-Full Light":"spectrum-full-light",Surface:"surface",Temperature:"temperature","White to Black":"white-to-black","Yellow to Dark Red":"yellow-to-dark-red","Yellow to Green to Dark Blue":"yellow-to-green-to-dark-blue","Yellow to Red":"yellow-to-red","Yellow-Green Bright":"yellow-green-bright","Yellow-Green Light to Dark":"yellow-green-light-to-dark"});function c(e,t){if(!e||!t||e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]>t[r]+2||e[r]<t[r]-2)return!1;return!0}function f(e){const t=function(e,t){if(!e)return;const r=s;let n=null;return"algorithmic"===e.type?r.some((t=>{if(c(e.fromColor.toRgb(),t.fromColor)&&c(e.toColor.toRgb(),t.toColor))return n=t.id,!0})):"multipart"===e.type&&r.some((t=>{const r=e.colorRamps,i=t.colorRamps;if(r&&i&&r.length===i.length&&!i.some(((e,t)=>{if(!c(r[t].fromColor.toRgb(),new o.Z(e.fromColor).toRgb())||!c(r[t].toColor.toRgb(),new o.Z(e.toColor).toRgb()))return!0}))){if(n)return!0;n=t.id}})),n}(e);return t?l[t]:null}function h(e){const t=u.toJSON(e),r=Object.entries(l).find((e=>e[1]===t))?.[0],o=s.find((e=>e.id===r));return o?o.colorRamps?{type:"multipart",colorRamps:o.colorRamps.map((e=>({type:"algorithmic",algorithm:"esriCIELabAlgorithm",fromColor:e.fromColor,toColor:e.toColor})))}:{type:"algorithmic",algorithm:"esriCIELabAlgorithm",fromColor:o.fromColor,toColor:o.toColor}:null}function d(e){const t=(e=e||{}).numColors||256,r=e.distanceOffset||0,o=null!=e.isCustomInterval?e.isCustomInterval:null!==e.distanceInterval&&e.distanceInterval!==1/(t-1),n=e.distanceInterval||1/(t-1);
1return{...e,numColors:t,distanceOffset:r,interpolateAlpha:!!e.interpolateAlpha,distanceInterval:n,isCustomInterval:o,weights:e.weights}}function p(e,t){let{fromColor:r,toColor:o}=e;3===r.length&&(r=r.concat([255])),3===o.length&&(o=o.concat([255]));const i=e.algorithm||"esriCIELabAlgorithm",a=d(t),{numColors:s,distanceOffset:l,isCustomInterval:u,interpolateAlpha:c}=a;if(1===s&&0===l)return[r];if(2===s&&0===l&&!u)return[r,o];const f={r:r[0],g:r[1],b:r[2]},h={r:o[0],g:o[1],b:o[2]},p="esriCIELabAlgorithm"===i?function(e,t,r){const{numColors:o,distanceOffset:n,distanceInterval:i,isCustomInterval:a}=r;let{l:s,a:l,b:u}=e;const c=(t.l-s)*i,f=(t.a-l)*i,h=(t.b-u)*i,d=[];if(n){const e=n/i;s+=e*c,l+=e*f,u+=e*h}for(let e=0;e<o-1;e++)d.push({l:s,a:l,b:u}),s+=c,l+=f,u+=h;return d.push(a?{l:s,a:l,b:u}:t),d}((0,n.Y3)(f),(0,n.Y3)(h),a):"esriHSVAlgorithm"===i?function(e,t,r){const{numColors:o,distanceOffset:n,distanceInterval:i,isCustomInterval:a}=r,s=0===e.s,l=0===t.s;let u=e.h,c=t.h;s&&!l?u=c:l&&!s&&(t={...t,h:u},c=u);let f,h=Math.abs(c-u);const d=360;h<180?f=(c-u)*i:(h=d-h,f=u>c?h*i:-h*i);const p=(t.s-e.s)*i,g=(t.v-e.v)*i;let{s:m,v:y}=e,C=u;if(n){const e=n/i;C=(C+e*f+d)%d,m+=e*p,y+=e*g}const b=[];for(let e=0;e<o-1;e++)b.push({h:C,s:m,v:y}),C=(C+f+d)%d,m+=p,y+=g;return b.push(a?{h:C,s:m,v:y}:t),b}((0,n._Y)(f),(0,n._Y)(h),a):function(e,t,r){const{numColors:o,distanceOffset:n,distanceInterval:i,isCustomInterval:a}=r,s=e.h,l=t.h,u=2*Math.PI;let c;if(s<=l){const e=l-s,t=l-s-u;c=Math.abs(t)<Math.abs(e)?t:e}else{const e=l+u-s,t=l-s;c=Math.abs(t)<Math.abs(e)?t:e}const f=c*i,h=(t.l-e.l)*i,d=(t.c-e.c)*i;let{l:p,c:g,h:m}=e;if(n){const e=n/i;p+=e*h,g+=e*d,m=(m+e*f+u)%u}const y=[];for(let e=0;e<o-1;e++)y.push({l:p,c:g,h:m}),p+=h,g+=d,m=(m+f+u)%u;return y.push(a?{l:p,c:g,h:m}:t),y}((0,n.sJ)(f),(0,n.sJ)(h),a),g=[],m=r[3]??255,y=((o[3]??255)-m)/(s-1);for(let e=0;e<s;e++){const{r:t,g:r,b:o}=(0,n.xr)(p[e]),i=c?Math.round(m+y*e):255;g.push([t,r,o,i])}return g}function g(e,t){const r="toJSON"in e?e.toJSON():e;return"multipart"===r.type?function(e,t){const{numColors:r,interpolateAlpha:o}=d(t);let n=t?.weights;const{colorRamps:i}=e;if(n){const e=n.reduce(((e,t)=>e+t));n=n.map((t=>t/e))}else{n=[];for(let e=0;e<i.length;e++)n[e]=1/i.length}const a=[];let s=0,l=0;const u=1/(r-1);let c=!1;for(let e=0;e<i.length;e++){let t=c?0:s*u-l,f=e===i.length-1?r-1-s:(n[e]-t)/u;if(c=Math.ceil(f)===f,f=Math.ceil(f),0===f)continue;t/=n[e];const h=p(i[e],{numColors:f,interpolateAlpha:o,distanceOffset:t,distanceInterval:u/n[e]});s+=h.length,a.push(...h),l+=n[e]}const f=[...i[i.length-1].toColor];return 3===f.length&&f.push(255),a.push(f),a}(r,t):p(r,t)}function m(e,t){const r=g(e,t),o=t?.interpolateAlpha;return r.forEach(((e,t)=>{e.unshift(t),o||e.pop()})),r}function y(e){const t=f(e);if(e){if("algorithmic"===e.type)return{...C(e),Name:t};if(e.colorRamps){const r=e.colorRamps.map(C);return{type:"MultiPartColorRamp",NumColorRamps:r.length,ArrayOfColorRamp:r,Name:t}}}}function C(e){if(e)return{Algorithm:e.toJSON()?.Algorithm||"esriHSVAlgorithm",type:"AlgorithmicColorRamp",FromColor:b(e.fromColor),ToColor:b(e.toColor)}}function b(e){const t=(0,n._Y)(e);return{type:"HsvColor",Hue:t.h,Saturation:t.s,Value:t.v,AlphaValue:255}}function w(e){const t=e.reverse().map((e=>{const t=e.toString(16);return t.length<2?"0"+t:t}));return 4294967295&Number.parseInt(t.join(""),16)}},62041:function(e,t,r){r.d(t,{J:function(){return n},v:function(){return o}});const o=new(r(74478).X)({none:"none",standardDeviation:"standard-deviation",histogramEqualization:"histogram-equalization",minMax:"min-max",percentClip:"percent-clip",sigmoid:"sigmoid"}),n={0:"none",3:"standardDeviation",4:"histogramEqualization",5:"minMax",6:"percentClip",9:"sigmoid"}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.