1"use strict";(self.webpackChunkturing_vision=self.webpackChunkturing_vision||[]).push([[9818],{21590:(t,r,e)=>{e.d(r,{A:()=>h});var n=e(58168),a=e(80045),i=e(9950),o=e(2803),s=e(64620),c=e(52521),l=i.forwardRef(function(t,r){var e=t.anchorOrigin,s=void 0===e?{vertical:"top",horizontal:"right"}:e,l=t.badgeContent,h=t.children,f=t.classes,u=t.className,d=t.color,v=void 0===d?"default":d,m=t.component,p=void 0===m?"span":m,g=t.invisible,y=t.max,A=void 0===y?99:y,b=t.overlap,w=void 0===b?"rectangle":b,x=t.showZero,M=void 0!==x&&x,O=t.variant,_=void 0===O?"standard":O,E=(0,a.A)(t,["anchorOrigin","badgeContent","children","classes","className","color","component","invisible","max","overlap","showZero","variant"]),z=g;null==g&&(0===l&&!M||null==l&&"dot"!==_)&&(z=!0);var k="";return"dot"!==_&&(k=l>A?"".concat(A,"+"):l),i.createElement(p,(0,n.A)({className:(0,o.A)(f.root,u),ref:r},E),h,i.createElement("span",{className:(0,o.A)(f.badge,f["".concat(s.horizontal).concat((0,c.A)(s.vertical),"}")],f["anchorOrigin".concat((0,c.A)(s.vertical)).concat((0,c.A)(s.horizontal)).concat((0,c.A)(w))],"default"!==v&&f["color".concat((0,c.A)(v))],z&&f.invisible,"dot"===_&&f.dot)},k))});const h=(0,s.A)(function(t){return{root:{position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0},badge:{display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:t.typography.fontFamily,fontWeight:t.typography.fontWeightMedium,fontSize:t.typography.pxToRem(12),minWidth:20,lineHeight:1,padding:"0 6px",height:20,borderRadius:10,zIndex:1,transition:t.transitions.create("transform",{easing:t.transitions.easing.easeInOut,duration:t.transitions.duration.enteringScreen})},colorPrimary:{backgroundColor:t.palette.primary.main,color:t.palette.primary.contrastText},colorSecondary:{backgroundColor:t.palette.secondary.main,color:t.palette.secondary.contrastText},colorError:{backgroundColor:t.palette.error.main,color:t.palette.error.contrastText},dot:{borderRadius:4,height:8,minWidth:8,padding:0},anchorOriginTopRightRectangle:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%","&$invisible":{transform:"scale(0) translate(50%, -50%)"}},anchorOriginTopRightRectangular:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%","&$invisible":{transform:"scale(0) translate(50%, -50%)"}},anchorOriginBottomRightRectangle:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%","&$invisible":{transform:"scale(0) translate(50%, 50%)"}},anchorOriginBottomRightRectangular:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%","&$invisible":{transform:"scale(0) translate(50%, 50%)"}},anchorOriginTopLeftRectangle:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%","&$invisible":{transform:"scale(0) translate(-50%, -50%)"}},anchorOriginTopLeftRectangular:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%","&$invisible":{transform:"scale(0) translate(-50%, -50%)"}},anchorOriginBottomLeftRectangle:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%","&$invisible":{transform:"scale(0) translate(-50%, 50%)"}},anchorOriginBottomLeftRectangular:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%","&$invisible":{transform:"scale(0) translate(-50%, 50%)"}},anchorOriginTopRightCircle:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%","&$invisible":{transform:"scale(0) translate(50%, -50%)"}},anchorOriginTopRightCircular:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%","&$invisible":{transform:"scale(0) translate(50%, -50%)"}},anchorOriginBottomRightCircle:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%","&$invisible":{transform:"scale(0) translate(50%, 50%)"}},anchorOriginBottomRightCircular:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%","&$invisible":{transform:"scale(0) translate(50%, 50%)"}},anchorOriginTopLeftCircle:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%","&$invisible":{transform:"scale(0) translate(-50%, -50%)"}}
1,anchorOriginTopLeftCircular:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%","&$invisible":{transform:"scale(0) translate(-50%, -50%)"}},anchorOriginBottomLeftCircle:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%","&$invisible":{transform:"scale(0) translate(-50%, 50%)"}},anchorOriginBottomLeftCircular:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%","&$invisible":{transform:"scale(0) translate(-50%, 50%)"}},invisible:{transition:t.transitions.create("transform",{easing:t.transitions.easing.easeInOut,duration:t.transitions.duration.leavingScreen})}}},{name:"MuiBadge"})(l)},22443:(t,r,e)=>{var n=e(24994),a=e(6305);r.A=void 0;var i=a(e(9950)),o=(0,n(e(53209)).default)(i.createElement("path",{d:"M18 16v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2zm-5 0h-2v-2h2v2zm0-4h-2V8h2v4zm-1 10c1.1 0 2-.9 2-2h-4c0 1.1.89 2 2 2z"}),"NotificationImportant");r.A=o},35307:(t,r,e)=>{var n=e(24994),a=e(6305);r.A=void 0;var i=a(e(9950)),o=(0,n(e(53209)).default)(i.createElement(i.Fragment,null,i.createElement("circle",{cx:"12",cy:"12",r:"3.2"}),i.createElement("path",{d:"M9 2L7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2h-3.17L15 2H9zm3 15c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5z"})),"PhotoCamera");r.A=o},37451:(t,r,e)=>{e.d(r,{A:()=>a});var n=e(9950);const a=(0,e(32776).A)(n.createElement("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox")},72087:(t,r,e)=>{e.d(r,{A:()=>a});var n=e(9950);const a=(0,e(32776).A)(n.createElement("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank")},84693:(t,r,e)=>{e.d(r,{A:()=>a});var n=e(9950);const a=(0,e(32776).A)(n.createElement("circle",{cx:"12",cy:"12",r:"8"}),"FiberManualRecord")},18275:(t,r,e)=>{e.d(r,{A:()=>a});var n=e(9950);const a=(0,e(32776).A)(n.createElement("path",{d:"M12 14c1.66 0 2.99-1.34 2.99-3L15 5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3 3zm5.3-3c0 3-2.54 5.1-5.3 5.1S6.7 14 6.7 11H5c0 3.41 2.72 6.23 6 6.72V21h2v-3.28c3.28-.48 6-3.3 6-6.72h-1.7z"}),"Mic")},21690:(t,r,e)=>{e.d(r,{A:()=>a});var n=e(9950);const a=(0,e(32776).A)(n.createElement("path",{d:"M19 11h-1.7c0 .74-.16 1.43-.43 2.05l1.23 1.23c.56-.98.9-2.09.9-3.28zm-4.02.17c0-.06.02-.11.02-.17V5c0-1.66-1.34-3-3-3S9 3.34 9 5v.18l5.98 5.99zM4.27 3L3 4.27l6.01 6.01V11c0 1.66 1.33 3 2.99 3 .22 0 .44-.03.65-.08l1.66 1.66c-.71.33-1.5.52-2.31.52-2.76 0-5.3-2.1-5.3-5.1H5c0 3.41 2.72 6.23 6 6.72V21h2v-3.28c.91-.13 1.77-.45 2.54-.9L19.73 21 21 19.73 4.27 3z"}),"MicOff")},9191:(t,r,e)=>{e.d(r,{A:()=>a});var n=e(9950);const a=(0,e(32776).A)(n.createElement("path",{d:"M17.5 10c-.03 0-.05.01-.08.01L13.41 6H9v2h3.59l2 2h-8.1C4.01 10 2 12.02 2 14.5 2 16.99 4.01 19 6.5 19c2.22 0 4.06-1.62 4.42-3.73L13.04 14c-.02.17-.04.33-.04.5 0 2.49 2.01 4.5 4.5 4.5s4.5-2.01 4.5-4.5-2.01-4.5-4.5-4.5zm-8.66 5.26C8.52 16.27 7.58 17 6.47 17c-1.38 0-2.5-1.12-2.5-2.5S5.09 12 6.47 12c1.12 0 2.05.74 2.37 1.75H6v1.5l2.84.01zM17.47 17c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"}),"Motorcycle")},99376:(t,r,e)=>{e.d(r,{A:()=>a});var n=e(9950);const a=(0,e(32776).A)(n.createElement("path",{d:"M12 22c1.1 0 2-.9 2-2h-4c0 1.1.89 2 2 2zm6-6v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2z"}),"Notifications")},91966:(t,r,e)=>{e.d(r,{A:()=>a});var n=e(9950);const a=(0,e(32776).A)(n.createElement("path",{d:"M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2zm6-6v-5c0-3.07-1.63-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.64 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2zm-2 1H8v-6c0-2.48 1.51-4.5 4-4.5s4 2.02 4 4.5v6z"}),"NotificationsNone")},6026:(t,r,e)=>{e.d(r,{A:()=>f});var n=e(58168),a=e(80045),i=e(9950),o=(e(26429),e(2803)),s=e(64620),c=e(73094),l={small:-16,medium:null},h=i.forwardRef(function(t,r){var e=t.children,s=t.classes,h=t.className,f=t.max,u=void 0===f?5:f,d=t.spacing,v=void 0===d?"medium":d,m=(0,a.A)(t,["children","classes","className","max","spacing"]),p=u<2?2:u,g=i.Children.toArray(e).filter(function(t){return i.isValidElement(t)}),y=g.length>p?g.length-p+1:0,A=v&&void 0!==l[v]?l[v]:-v;return i.createElement("div",(0,n.A)({className:(0,o.A)(s.root,h),ref:r},m),g.slice(0,g.length-y).map(function(t,r){return i.cloneElement(t,{className:(0,o.A)(t.props.className,s.avatar),style:(0,n.A)({zIndex:g.length-r,marginLeft:0===r?void 0:A},t.props.style)})}),y?i.createElement(c.A,{className:s.avatar,style:{zIndex:0,marginLeft:A}},"+",y):null)});const f=(0,s.A)(function(t){return{root:{display:"flex"}
1,avatar:{border:"2px solid ".concat(t.palette.background.default),marginLeft:-8,"&:first-child":{marginLeft:0}}}},{name:"MuiAvatarGroup"})(h)},82989:(t,r,e)=>{e.d(r,{A:()=>C});var n=e(9950),a=e(24765),i=e(5544),o=e(23029),s=e(92901),c=[Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array],l=new Uint32Array(96),h=function(){function t(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:64,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Float64Array,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:ArrayBuffer,i=arguments.length>4?arguments[4]:void 0;if((0,o.A)(this,t),isNaN(r)||r<0)throw new Error("Unexpected numItems value: ".concat(r,"."));this.numItems=+r,this.nodeSize=Math.min(Math.max(+e,2),65535),this.ArrayType=n,this.IndexArrayType=r<65536?Uint16Array:Uint32Array;var s=c.indexOf(this.ArrayType),l=2*r*this.ArrayType.BYTES_PER_ELEMENT,h=r*this.IndexArrayType.BYTES_PER_ELEMENT,f=(8-h%8)%8;if(s<0)throw new Error("Unexpected typed array class: ".concat(n,"."));if(i)this.data=i,this.ids=new this.IndexArrayType(i,8,r),this.coords=new n(i,8+h+f,2*r),this._pos=2*r,this._finished=!0;else{var u=this.data=new a(8+l+h+f);this.ids=new this.IndexArrayType(u,8,r),this.coords=new n(u,8+h+f,2*r),this._pos=0,this._finished=!1,new Uint8Array(u,0,2).set([219,16+s]),new Uint16Array(u,2,1)[0]=e,new Uint32Array(u,4,1)[0]=r}}return(0,s.A)(t,[{key:"add",value:function(t,r){var e=this._pos>>1;return this.ids[e]=e,this.coords[this._pos++]=t,this.coords[this._pos++]=r,e}},{key:"finish",value:function(){var t=this._pos>>1;if(t!==this.numItems)throw new Error("Added ".concat(t," items when expected ").concat(this.numItems,"."));return f(this.ids,this.coords,this.nodeSize,0,this.numItems-1,0),this._finished=!0,this}},{key:"range",value:function(t,r,e,n){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");var a=this.ids,i=this.coords,o=this.nodeSize;l[0]=0,l[1]=a.length-1,l[2]=0;for(var s=3,c=[];s>0;){var h=l[--s],f=l[--s],u=l[--s];if(f-u<=o)for(var d=u;d<=f;d++){var v=i[2*d],m=i[2*d+1];v>=t&&v<=e&&m>=r&&m<=n&&c.push(a[d])}else{var p=u+f>>1,g=i[2*p],y=i[2*p+1];g>=t&&g<=e&&y>=r&&y<=n&&c.push(a[p]),(0===h?t<=g:r<=y)&&(l[s++]=u,l[s++]=p-1,l[s++]=1-h),(0===h?e>=g:n>=y)&&(l[s++]=p+1,l[s++]=f,l[s++]=1-h)}}return c}},{key:"within",value:function(t,r,e){var n=[];return this.withinInto(t,r,e,n),n}},{key:"withinInto",value:function(t,r,e,n){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");var a=this.ids,i=this.coords,o=this.nodeSize;l[0]=0,l[1]=a.length-1,l[2]=0;for(var s=3,c=0,h=e*e;s>0;){var f=l[--s],u=l[--s],d=l[--s];if(u-d<=o)for(var v=d;v<=u;v++)m(i[2*v],i[2*v+1],t,r)<=h&&(n[c++]=a[v]);else{var p=d+u>>1,g=i[2*p],y=i[2*p+1];m(g,y,t,r)<=h&&(n[c++]=a[p]),(0===f?t-e<=g:r-e<=y)&&(l[s++]=d,l[s++]=p-1,l[s++]=1-f),(0===f?t+e>=g:r+e>=y)&&(l[s++]=p+1,l[s++]=u,l[s++]=1-f)}}return c}}],[{key:"from",value:function(r){if(!r||void 0===r.byteLength||r.buffer)throw new Error("Data must be an instance of ArrayBuffer or SharedArrayBuffer.");var e=new Uint8Array(r,0,2),n=(0,i.A)(e,2),a=n[0],o=n[1];if(219!==a)throw new Error("Data does not appear to be in a KDBush format.");var s=o>>4;if(1!==s)throw new Error("Got v".concat(s," data when expected v").concat(1,"."));var l=c[15&o];if(!l)throw new Error("Unrecognized array type.");var h=new Uint16Array(r,2,1),f=(0,i.A)(h,1)[0],u=new Uint32Array(r,4,1);return new t((0,i.A)(u,1)[0],f,l,void 0,r)}}]),t}();function f(t,r,e,n,a,i){if(!(a-n<=e)){var o=n+a>>1;u(t,r,o,n,a,i),f(t,r,e,n,o-1,1-i),f(t,r,e,o+1,a,1-i)}}function u(t,r,e,n,a,i){for(;a>n;){if(a-n>600){var o=a-n+1,s=e-n+1,c=Math.log(o),l=.5*Math.exp(2*c/3),h=.5*Math.sqrt(c*l*(o-l)/o)*(s-o/2<0?-1:1);u(t,r,e,Math.max(n,Math.floor(e-s*l/o+h)),Math.min(a,Math.floor(e+(o-s)*l/o+h)),i)}var f=r[2*e+i],v=n,m=a;for(d(t,r,n,e),r[2*a+i]>f&&d(t,r,n,a);v<m;){for(d(t,r,v,m),v++,m--;r[2*v+i]<f;)v++;for(;r[2*m+i]>f;)m--}r[2*n+i]===f?d(t,r,n,m):d(t,r,++m,a),m<=e&&(n=m+1),e<=m&&(a=m-1)}}function d(t,r,e,n){v(t,e,n),v(r,2*e,2*n),v(r,2*e+1,2*n+1)}function v(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}function m(t,r,e,n){var a=t-e,i=r-n;return a*a+i*i}var p,g={minZoom:0,maxZoom:16,minPoints:2,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:function(t){return t}},y=Math.fround||(p=new Float32Array(1),function(t){return p[0]=+t,p[0]}),A=function(){function t(r){(0,o.A)(this,t),this.options=Object.assign(Object.create(g),r),this.trees=new Array(this.options.maxZoom+1),this.stride=this.options.reduce?7:6,this.clusterProps=[]}return(0,s.A)(t,[{key:"load",value:function(t){var r=this.options,e=r.log,n=r.minZoom,a=r.maxZoom;e&&console.time("total time");var o="prepare ".concat(t.length," points");e&&console.time(o),this.points=t;for(var s=[],c=0;c<t.length;c++){var l=t[c];if(l.geometry){var h=(0,i.A)(l.geometry.coordinates,2),f=h[0],u=h[1],d=y(x(f)),v=y(M(u));s.push(d,v,1/0,c,-1,1),this.options.reduce&&s.push(0)}}var m=this.trees[a+1]=this._createTree(s);e&&console.timeEnd(o);for(var p=a;p>=n;p--){var g=+Date.now();m=this.trees[p]=this._createTree(this._cluster(m,p)),e&&console.log("z%d: %d clusters in %dms",p,m.numItems,+Date.now()-g)}return e&&console.timeEnd("total time"),this}},{key:"getClusters",value:function(t,r){var e=((t[0]+180)%360+360)%360-180,n=Math.max(-90,Math.min(90,t[1])),i=180===t[2]?180:((t[2]+180)%360+360)%360-180,o=Math.max(-90,Math.min(90,t[3]));if(t[2]-t[0]>=360)e=-180,i=180;else if(e>i){var s=this.getClusters([e,n,180,o],r),c=this.getClusters([-180,n,i,o],r);return s.concat(c)}var l,h=this.trees[this._limitZoom(r)],f=h.range(x(e),M(o),x(i),M(n)),u=h.data,d=[],v=(0,a.A)(f);try{for(v.s();!(l=v.n()).done;){var m=l.value,p=this.stride*m;d.push(u[p+5]>1?b(u,p,this.clusterProps):this.points[u[p+3]])}}catch(g){v.e(g)}finally{v.f()}return d}},{key:"getChildren",value:function(t){var r=this._getOriginId(t),e=this._getOriginZoom(t),n="No cluster with the specified id.",i=this.trees[e];if(!i)throw new Error(n);var o=i.data;if(r*this.stride>=o.length)throw new Error(n);var s,c=this.options.radius/(this.options.extent*Math.pow(2,e-1)),l=o[r*this.stride],h=o[r*this.stride+1],f=i.within(l,h,c),u=[],d=(0,a.A)(f);try{for(d.s();!(s=d.n()).done;){var v=s.value*this.stride;o[v+4]===t&&u.push(o[v+5]>1?b(o,v,this.clusterProps):this.points[o[v+3]])}}catch(m){d.e(m)}finally{d.f()}if(0===u.length)throw new Error(n);return u}},{key:"getLeaves",value:function(t,r,e){r=r||10,e=e||0;var n=[];return this._appendLeaves(n,t,r,e,0),n}},{key:"getTile",value:function(t,r,e){var n=this.trees[this._limitZoom(t)],a=Math.pow(2,t),i=this.options,o=i.extent,s=i.radius/o,c=(e-s)/
1a,l=(e+1+s)/a,h={features:[]};return this._addTileFeatures(n.range((r-s)/a,c,(r+1+s)/a,l),n.data,r,e,a,h),0===r&&this._addTileFeatures(n.range(1-s/a,c,1,l),n.data,a,e,a,h),r===a-1&&this._addTileFeatures(n.range(0,c,s/a,l),n.data,-1,e,a,h),h.features.length?h:null}},{key:"getClusterExpansionZoom",value:function(t){for(var r=this._getOriginZoom(t)-1;r<=this.options.maxZoom;){var e=this.getChildren(t);if(r++,1!==e.length)break;t=e[0].properties.cluster_id}return r}},{key:"_appendLeaves",value:function(t,r,e,n,i){var o,s=this.getChildren(r),c=(0,a.A)(s);try{for(c.s();!(o=c.n()).done;){var l=o.value,h=l.properties;if(h&&h.cluster?i+h.point_count<=n?i+=h.point_count:i=this._appendLeaves(t,h.cluster_id,e,n,i):i<n?i++:t.push(l),t.length===e)break}}catch(f){c.e(f)}finally{c.f()}return i}},{key:"_createTree",value:function(t){for(var r=new h(t.length/this.stride|0,this.options.nodeSize,Float32Array),e=0;e<t.length;e+=this.stride)r.add(t[e],t[e+1]);return r.finish(),r.data=t,r}},{key:"_addTileFeatures",value:function(t,r,e,n,o,s){var c,l=(0,a.A)(t);try{for(l.s();!(c=l.n()).done;){var h=c.value*this.stride,f=r[h+5]>1,u=void 0,d=void 0,v=void 0;if(f)u=w(r,h,this.clusterProps),d=r[h],v=r[h+1];else{var m=this.points[r[h+3]];u=m.properties;var p=(0,i.A)(m.geometry.coordinates,2),g=p[0],y=p[1];d=x(g),v=M(y)}var A={type:1,geometry:[[Math.round(this.options.extent*(d*o-e)),Math.round(this.options.extent*(v*o-n))]],tags:u},b=void 0;void 0!==(b=f||this.options.generateId?r[h+3]:this.points[r[h+3]].id)&&(A.id=b),s.features.push(A)}}catch(O){l.e(O)}finally{l.f()}}},{key:"_limitZoom",value:function(t){return Math.max(this.options.minZoom,Math.min(Math.floor(+t),this.options.maxZoom+1))}},{key:"_cluster",value:function(t,r){for(var e=this.options,n=e.radius,i=e.extent,o=e.reduce,s=e.minPoints,c=n/(i*Math.pow(2,r)),l=t.data,h=[],f=this.stride,u=0;u<l.length;u+=f)if(!(l[u+2]<=r)){l[u+2]=r;var d,v=l[u],m=l[u+1],p=t.within(l[u],l[u+1],c),g=l[u+5],y=g,A=(0,a.A)(p);try{for(A.s();!(d=A.n()).done;){var b=d.value*f;l[b+2]>r&&(y+=l[b+5])}}catch(B){A.e(B)}finally{A.f()}if(y>g&&y>=s){var w,x=v*g,M=m*g,O=void 0,_=-1,E=(u/f<<5)+(r+1)+this.points.length,z=(0,a.A)(p);try{for(z.s();!(w=z.n()).done;){var k=w.value*f;if(!(l[k+2]<=r)){l[k+2]=r;var C=l[k+5];x+=l[k]*C,M+=l[k+1]*C,l[k+4]=E,o&&(O||(O=this._map(l,u,!0),_=this.clusterProps.length,this.clusterProps.push(O)),o(O,this._map(l,k)))}}}catch(B){z.e(B)}finally{z.f()}l[u+4]=E,h.push(x/y,M/y,1/0,E,-1,y),o&&h.push(_)}else{for(var T=0;T<f;T++)h.push(l[u+T]);if(y>1){var I,L=(0,a.A)(p);try{for(L.s();!(I=L.n()).done;){var R=I.value*f;if(!(l[R+2]<=r)){l[R+2]=r;for(var S=0;S<f;S++)h.push(l[R+S])}}}catch(B){L.e(B)}finally{L.f()}}}}return h}},{key:"_getOriginId",value:function(t){return t-this.points.length>>5}},{key:"_getOriginZoom",value:function(t){return(t-this.points.length)%32}},{key:"_map",value:function(t,r,e){if(t[r+5]>1){var n=this.clusterProps[t[r+6]];return e?Object.assign({},n):n}var a=this.points[t[r+3]].properties,i=this.options.map(a);return e&&i===a?Object.assign({},i):i}}]),t}();function b(t,r,e){return{type:"Feature",id:t[r+3],properties:w(t,r,e),geometry:{type:"Point",coordinates:[(n=t[r],360*(n-.5)),O(t[r+1])]}};var n}function w(t,r,e){var n=t[r+5],a=n>=1e4?"".concat(Math.round(n/1e3),"k"):n>=1e3?"".concat(Math.round(n/100)/10,"k"):n,i=t[r+6],o=-1===i?{}:Object.assign({},e[i]);return Object.assign(o,{cluster:!0,cluster_id:t[r+3],point_count:n,point_count_abbreviated:a})}function x(t){return t/360+.5}function M(t){var r=Math.sin(t*Math.PI/180),e=.5-.25*Math.log((1+r)/(1-r))/Math.PI;return e<0?0:e>1?1:e}function O(t){var r=(180-360*t)*Math.PI/180;return 360*Math.atan(Math.exp(r))/Math.PI-90}var _=Object.prototype.hasOwnProperty;function E(t,r,e){var n,i=(0,a.A)(t.keys());try{for(i.s();!(n=i.n()).done;)if(z(e=n.value,r))return e}catch(o){i.e(o)}finally{i.f()}}function z(t,r){var e,n,i;if(t===r)return!0;if(t&&r&&(e=t.constructor)===r.constructor){if(e===Date)return t.getTime()===r.getTime();if(e===RegExp)return t.toString()===r.toString();if(e===Array){if((n=t.length)===r.length)for(;n--&&z(t[n],r[n]););return-1===n}if(e===Set){if(t.size!==r.size)return!1;var o,s=(0,a.A)(t);try{for(s.s();!(o=s.n()).done;){if((i=n=o.value)&&"object"===typeof i&&!(i=E(r,i)))return!1;if(!r.has(i))return!1}}catch(h){s.e(h)}finally{s.f()}return!0}
1if(e===Map){if(t.size!==r.size)return!1;var c,l=(0,a.A)(t);try{for(l.s();!(c=l.n()).done;){if((i=(n=c.value)[0])&&"object"===typeof i&&!(i=E(r,i)))return!1;if(!z(n[1],r.get(i)))return!1}}catch(h){l.e(h)}finally{l.f()}return!0}if(e===ArrayBuffer)t=new Uint8Array(t),r=new Uint8Array(r);else if(e===DataView){if((n=t.byteLength)===r.byteLength)for(;n--&&t.getInt8(n)===r.getInt8(n););return-1===n}if(ArrayBuffer.isView(t)){if((n=t.byteLength)===r.byteLength)for(;n--&&t[n]===r[n];);return-1===n}if(!e||"object"===typeof t){for(e in n=0,t){if(_.call(t,e)&&++n&&!_.call(r,e))return!1;if(!(e in r)||!z(t[e],r[e]))return!1}return Object.keys(r).length===n}}return t!==t&&r!==r}function k(t){var r=n.useRef(t),e=n.useRef(0);return z(t,r.current)||(r.current=t,e.current+=1),n.useMemo(function(){return r.current},[e.current])}const C=function(t){var r,e,a=t.points,i=t.bounds,o=t.zoom,s=t.options,c=t.disableRefresh,l=(0,n.useRef)(),h=(0,n.useRef)(),f=(0,n.useState)([]),u=f[0],d=f[1],v=Math.round(o);return r=function(){!0!==c&&(l.current&&z(h.current,a)&&z(l.current.options,s)||(l.current=new A(s),l.current.load(a)),i&&d(l.current.getClusters(i,v)),h.current=a)},e=[a,i,v,s,c],n.useEffect(r,k(e)),{clusters:u,supercluster:l.current}}}}]);
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.