Files
WGDashboard/src/static/dist/WGDashboardAdmin/assets/Vector-C7_esFoa.js

8 lines
299 KiB
JavaScript
Raw Normal View History

2026-04-02 09:29:09 +02:00
const xt={ADD:"add",REMOVE:"remove"},fi={PROPERTYCHANGE:"propertychange"},Y={CHANGE:"change",ERROR:"error",CONTEXTMENU:"contextmenu",CLICK:"click",DBLCLICK:"dblclick",KEYDOWN:"keydown",KEYPRESS:"keypress",LOAD:"load",TOUCHMOVE:"touchmove",WHEEL:"wheel"};class Zn{constructor(){this.disposed=!1}dispose(){this.disposed||(this.disposed=!0,this.disposeInternal())}disposeInternal(){}}function vl(n,t,e){let i,s;e=e||le;let r=0,o=n.length,a=!1;for(;r<o;)i=r+(o-r>>1),s=+e(n[i],t),s<0?r=i+1:(o=i,a=!s);return a?r:~r}function le(n,t){return n>t?1:n<t?-1:0}function Ll(n,t){return n<t?1:n>t?-1:0}function sr(n,t,e){if(n[0]<=t)return 0;const i=n.length;if(t<=n[i-1])return i-1;if(typeof e=="function"){for(let s=1;s<i;++s){const r=n[s];if(r===t)return s;if(r<t)return e(t,n[s-1],r)>0?s-1:s}return i-1}if(e>0){for(let s=1;s<i;++s)if(n[s]<t)return s-1;return i-1}if(e<0){for(let s=1;s<i;++s)if(n[s]<=t)return s;return i-1}for(let s=1;s<i;++s){if(n[s]==t)return s;if(n[s]<t)return n[s-1]-t<t-n[s]?s-1:s}return i-1}function Al(n,t,e){for(;t<e;){const i=n[t];n[t]=n[e],n[e]=i,++t,--e}}function rr(n,t){const e=Array.isArray(t)?t:[t],i=e.length;for(let s=0;s<i;s++)n[n.length]=e[s]}function Me(n,t){const e=n.length;if(e!==t.length)return!1;for(let i=0;i<e;i++)if(n[i]!==t[i])return!1;return!0}function Ml(n,t,e){const i=t||le;return n.every(function(s,r){if(r===0)return!0;const o=i(n[r-1],s);return!(o>0||o===0)})}function Zi(){return!0}function Bn(){return!1}function Bi(){}function ea(n){let t,e,i;return function(){const s=Array.prototype.slice.call(arguments);return(!e||this!==i||!Me(s,e))&&(i=this,e=s,t=n.apply(this,arguments)),t}}function Ol(n){function t(){let e;try{e=n()}catch(i){return Promise.reject(i)}return e instanceof Promise?e:Promise.resolve(e)}return t()}function nn(n){for(const t in n)delete n[t]}function gi(n){let t;for(t in n)return!1;return!t}class de{constructor(t){this.propagationStopped,this.defaultPrevented,this.type=t,this.target=null}preventDefault(){this.defaultPrevented=!0}stopPropagation(){this.propagationStopped=!0}}class Un extends Zn{constructor(t){super(),this.eventTarget_=t,this.pendingRemovals_=null,this.dispatching_=null,this.listeners_=null}addEventListener(t,e){if(!t||!e)return;const i=this.listeners_||(this.listeners_={}),s=i[t]||(i[t]=[]);s.includes(e)||s.push(e)}dispatchEvent(t){const e=typeof t=="string",i=e?t:t.type,s=this.listeners_&&this.listeners_[i];if(!s)return;const r=e?new de(t):t;r.target||(r.target=this.eventTarget_||this);const o=this.dispatching_||(this.dispatching_={}),a=this.pendingRemovals_||(this.pendingRemovals_={});i in o||(o[i]=0,a[i]=0),++o[i];let l;for(let c=0,h=s.length;c<h;++c)if("handleEvent"in s[c]?l=s[c].handleEvent(r):l=s[c].call(this,r),l===!1||r.propagationStopped){l=!1;break}if(--o[i]===0){let c=a[i];for(delete a[i];c--;)this.removeEventListener(i,Bi);delete o[i]}return l}disposeInternal(){this.listeners_&&nn(this.listeners_)}getListeners(t){return this.listeners_&&this.listeners_[t]||void 0}hasListener(t){return this.listeners_?t?t in this.listeners_:Object.keys(this.listeners_).length>0:!1}removeEventListener(t,e){if(!this.listeners_)return;const i=this.listeners_[t];if(!i)return;const s=i.indexOf(e);s!==-1&&(this.pendingRemovals_&&t in this.pendingRemovals_?(i[s]=Bi,++this.pendingRemovals_[t]):(i.splice(s,1),i.length===0&&delete this.listeners_[t]))}}function j(n,t,e,i,s){if(s){const o=e;e=function(a){return n.removeEventListener(t,e),o.call(i??this,a)}}else i&&i!==n&&(e=e.bind(i));const r={target:n,type:t,listener:e};return n.addEventListener(t,e),r}function bn(n,t,e,i){return j(n,t,e,i,!0)}function it(n){n&&n.target&&(n.target.removeEventListener(n.type,n.listener),nn(n))}class sn extends Un{constructor(){super(),this.on=this.onInternal,this.once=this.onceInternal,this.un=this.unInternal,this.revision_=0}changed(){++this.revision_,this.dispatchEvent(Y.CHANGE)}getRevision(){return this.revision_}onInternal(t,e){if(Array.isArray(t)){const i=t.length,s=new Array(i);for(let r=0;r<i;++r)s[r]=j(this,t[r],e);return s}return j(this,t,e)}onceInternal(t,e){let i;if(Array.isArray(t)){const s
`).reduce((s,r)=>Math.max(s,Ha(n,r)),0);return e[t]=i,i}function Fu(n,t){const e=[],i=[],s=[];let r=0,o=0,a=0,l=0;for(let c=0,h=t.length;c<=h;c+=2){const u=t[c];if(u===`
`||c===h){r=Math.max(r,o),s.push(o),o=0,a+=l,l=0;continue}const d=t[c+1]||n.font,f=Ha(d,u);e.push(f),o+=f;const g=Du(d);i.push(g),l=Math.max(l,g)}return{width:r,height:a,widths:e,heights:i,lineWidths:s}}function ku(n,t,e,i,s,r,o,a,l,c,h){n.save(),e!==1&&(n.globalAlpha===void 0?n.globalAlpha=u=>u.globalAlpha*=e:n.globalAlpha*=e),t&&n.transform.apply(n,t),i.contextInstructions?(n.translate(l,c),n.scale(h[0],h[1]),Nu(i,n)):h[0]<0||h[1]<0?(n.translate(l,c),n.scale(h[0],h[1]),n.drawImage(i,s,r,o,a,0,0,o,a)):n.drawImage(i,s,r,o,a,l,c,o*h[0],a*h[1]),n.restore()}function Nu(n,t){const e=n.contextInstructions;for(let i=0,s=e.length;i<s;i+=2)Array.isArray(e[i+1])?t[e[i]].apply(t,e[i+1]):t[e[i]]=e[i+1]}class ns{constructor(t){this.opacity_=t.opacity,this.rotateWithView_=t.rotateWithView,this.rotation_=t.rotation,this.scale_=t.scale,this.scaleArray_=It(t.scale),this.displacement_=t.displacement,this.declutterMode_=t.declutterMode}clone(){const t=this.getScale();return new ns({opacity:this.getOpacity(),scale:Array.isArray(t)?t.slice():t,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()})}getOpacity(){return this.opacity_}getRotateWithView(){return this.rotateWithView_}getRotation(){return this.rotation_}getScale(){return this.scale_}getScaleArray(){return this.scaleArray_}getDisplacement(){return this.displacement_}getDeclutterMode(){return this.declutterMode_}getAnchor(){return V()}getImage(t){return V()}getHitDetectionImage(){return V()}getPixelRatio(t){return 1}getImageState(){return V()}getImageSize(){return V()}getOrigin(){return V()}getSize(){return V()}setDisplacement(t){this.displacement_=t}setOpacity(t){this.opacity_=t}setRotateWithView(t){this.rotateWithView_=t}setRotation(t){this.rotation_=t}setScale(t){this.scale_=t,this.scaleArray_=It(t)}listenImageChange(t){V()}load(){V()}unlistenImageChange(t){V()}ready(){return Promise.resolve()}}class ss extends ns{constructor(t){super({opacity:1,rotateWithView:t.rotateWithView!==void 0?t.rotateWithView:!1,rotation:t.rotation!==void 0?t.rotation:0,scale:t.scale!==void 0?t.scale:1,displacement:t.displacement!==void 0?t.displacement:[0,0],declutterMode:t.declutterMode}),this.hitDetectionCanvas_=null,this.fill_=t.fill!==void 0?t.fill:null,this.origin_=[0,0],this.points_=t.points,this.radius=t.radius,this.radius2_=t.radius2,this.angle_=t.angle!==void 0?t.angle:0,this.stroke_=t.stroke!==void 0?t.stroke:null,this.size_,this.renderOptions_,this.imageState_=this.fill_&&this.fill_.loading()?X.LOADING:X.LOADED,this.imageState_===X.LOADING&&this.ready().then(()=>this.imageState_=X.LOADED),this.render()}clone(){const t=this.getScale(),e=new ss({fill:this.getFill()?this.getFill().clone():void 0,points:this.getPoints(),radius:this.getRadius(),radius2:this.getRadius2(),angle:this.getAngle(),stroke:this.getStroke()?this.getStroke().clone():void 0,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),scale:Array.isArray(t)?t.slice():t,displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()});return e.setOpacity(this.getOpacity()),e}getAnchor(){const t=this.size_,e=this.getDisplacement(),i=this.getScaleArray();return[t[0]/2-e[0]/i[0],t[1]/2+e[1]/i[1]]}getAngle(){return this.angle_}getFill(){return this.fill_}setFill(t){this.fill_=t,this.render()}getHitDetectionImage(){return this.hitDetectionCanvas_||(this.hitDetectionCanvas_=this.createHitDetectionCanvas_(this.renderOptions_)),this.hitDetectionCanvas_}getImage(t){const e=this.fill_?.getKey(),i=`${t},${this.angle_},${this.radius},${this.radius2_},${this.points_},${e}`+Object.values(this.renderOptions_).join(",");let s=kt.get(i,null)?.getImage(1);if(!s){const r=this.renderOptions_,o=Math.ceil(r.size*t),a=ot(o,o);this.draw_(r,a,t),s=a.canvas;const l=new Ua(s,void 0,null,X.LOADED,null);kt.set(i,null,l),createImageBitmap(s).then(c=>{l.setImage(c)})}return s}getPixelRatio(t){return t}getImageSize(){return this.size_}getImageState(){return this.imageState_}getOrigin(){return this.origin_}getPoints(){return this.points_
`);this.generateTileUrlFunction_?this.setTileUrlFunction(Sd(t,this.tileGrid),e):this.setKey(e)}tileUrlFunction(t,e,i){}}class Md extends Xr{constructor(t){super({attributions:t.attributions,cacheSize:t.cacheSize,projection:t.projection,state:t.state,tileGrid:t.tileGrid,tileLoadFunction:t.tileLoadFunction?t.tileLoadFunction:Od,tilePixelRatio:t.tilePixelRatio,tileUrlFunction:t.tileUrlFunction,url:t.url,urls:t.urls,wrapX:t.wrapX,transition:t.transition,interpolate:t.interpolate!==void 0?t.interpolate:!0,key:t.key,attributionsCollapsible:t.attributionsCollapsible,zDirection:t.zDirection}),this.crossOrigin=t.crossOrigin!==void 0?t.crossOrigin:null,this.referrerPolicy=t.referrerPolicy,this.tileClass=t.tileClass!==void 0?t.tileClass:ll,this.tileGridForProjection={},this.reprojectionErrorThreshold_=t.reprojectionErrorThreshold,this.renderReprojectionEdges_=!1}getGutterForProjection(t){return this.getProjection()&&t&&!An(this.getProjection(),t)?0:this.getGutter()}getGutter(){return 0}getKey(){let t=super.getKey();return this.getInterpolate()||(t+=":disable-interpolation"),t}getTileGridForProjection(t){const e=this.getProjection();if(this.tileGrid&&(!e||An(e,t)))return this.tileGrid;const i=H(t);return i in this.tileGridForProjection||(this.tileGridForProjection[i]=ol(t)),this.tileGridForProjection[i]}createTile_(t,e,i,s,r,o){const a=[t,e,i],l=this.getTileCoordForTileUrlFunction(a,r),c=l?this.tileUrlFunction(l,s,r):void 0,h=new this.tileClass(a,c!==void 0?b.IDLE:b.EMPTY,c!==void 0?c:"",{crossOrigin:this.crossOrigin,referrerPolicy:this.referrerPolicy},this.tileLoadFunction,this.tileOptions);return h.key=o,h.addEventListener(Y.CHANGE,this.handleTileChange.bind(this)),h}getTile(t,e,i,s,r,o){const a=this.getProjection();if(!a||!r||An(a,r))return this.getTileInternal(t,e,i,s,a||r);const l=[t,e,i],c=this.getKey(),h=this.getTileGridForProjection(a),u=this.getTileGridForProjection(r),d=this.getTileCoordForTileUrlFunction(l,r),f=new hl(a,h,r,u,l,d,this.getTilePixelRatio(s),this.getGutter(),(g,m,_,y)=>this.getTileInternal(g,m,_,y,a,o),this.reprojectionErrorThreshold_,this.renderReprojectionEdges_,this.tileOptions);return f.key=c,f}getTileInternal(t,e,i,s,r,o){const a=this.getKey(),l=Mn(this,a,t,e,i);if(o&&o.containsKey(l))return o.get(l);const c=this.createTile_(t,e,i,s,r,a);return o?.set(l,c),c}setRenderReprojectionEdges(t){this.renderReprojectionEdges_!=t&&(this.renderReprojectionEdges_=t,this.changed())}setTileGridForProjection(t,e){const i=Tt(t);if(i){const s=H(i);s in this.tileGridForProjection||(this.tileGridForProjection[s]=e)}}}function Od(n,t){if(Dt){const e=n.getCrossOrigin();let i="same-origin",s="same-origin";e==="anonymous"||e===""?(i="cors",s="omit"):e==="use-credentials"&&(i="cors",s="include");const r={mode:i,credentials:s,referrerPolicy:n.getReferrerPolicy()};fetch(t,r).then(o=>{if(!o.ok)throw new Error(`HTTP ${o.status}`);return o.blob()}).then(o=>createImageBitmap(o)).then(o=>{const a=n.getImage();a.width=o.width,a.height=o.height,a.getContext("2d").drawImage(o,0,0),o.close?.(),a.dispatchEvent(new Event("load"))}).catch(()=>{n.getImage().dispatchEvent(new Event("error"))});return}n.getImage().src=t}class bd extends Md{constructor(t){t=t||{};const e=t.projection!==void 0?t.projection:"EPSG:3857",i=t.tileGrid!==void 0?t.tileGrid:cd({extent:Gr(e),maxResolution:t.maxResolution,maxZoom:t.maxZoom,minZoom:t.minZoom,tileSize:t.tileSize});super({attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,referrerPolicy:t.referrerPolicy,interpolate:t.interpolate,projection:e,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileGrid:i,tileLoadFunction:t.tileLoadFunction,tilePixelRatio:t.tilePixelRatio,tileUrlFunction:t.tileUrlFunction,url:t.url,urls:t.urls,wrapX:t.wrapX!==void 0?t.wrapX:!0,transition:t.transition,attributionsCollapsible:t.attributionsCollapsible,zDirection:t.zDirection}),this.gutter_=t.gutter!==void 0?t.gutter:0}getGutter(){return this.gutter_}}const Pd='&#169; <a href="https://www.openstreetmap.org/copyright" target="_blank">OpenStreetMap</a> contributors.';class Af extends bd{constructor(t)
`,""),n.push(t,""),n}function pf(n,t,e){return e%2===0&&(n+=t),n}class yf{constructor(t,e,i,s,r){this.overlaps=i,this.pixelRatio=e,this.resolution=t,this.alignAndScaleFill_,this.instructions=s.instructions,this.coordinates=s.coordinates,this.coordinateCache_={},this.renderedTransform_=Zt(),this.hitDetectionInstructions=s.hitDetectionInstructions,this.pixelCoordinates_=null,this.viewRotation_=0,this.fillStates=s.fillStates||{},this.strokeStates=s.strokeStates||{},this.textStates=s.textStates||{},this.widths_={},this.labels_={},this.zIndexContext_=r?new ul:null}getZIndexContext(){return this.zIndexContext_}createLabel(t,e,i,s){const r=t+e+i+s;if(this.labels_[r])return this.labels_[r];const o=s?this.strokeStates[s]:null,a=i?this.fillStates[i]:null,l=this.textStates[e],c=this.pixelRatio,h=[l.scale[0]*c,l.scale[1]*c],u=l.justify?Kn[l.justify]:zs(Array.isArray(t)?t[0]:t,l.textAlign||Ji),d=s&&o.lineWidth?o.lineWidth:0,f=Array.isArray(t)?t:String(t).split(`
`).reduce(mf,[]),{width:g,height:m,widths:_,heights:y,lineWidths:E}=Fu(l,f),C=g+d,p=[],x=(C+2)*h[0],S=(m+d)*h[1],L={width:x<0?Math.floor(x):Math.ceil(x),height:S<0?Math.floor(S):Math.ceil(S),contextInstructions:p};(h[0]!=1||h[1]!=1)&&p.push("scale",h),s&&(p.push("strokeStyle",o.strokeStyle),p.push("lineWidth",d),p.push("lineCap",o.lineCap),p.push("lineJoin",o.lineJoin),p.push("miterLimit",o.miterLimit),p.push("setLineDash",[o.lineDash]),p.push("lineDashOffset",o.lineDashOffset)),i&&p.push("fillStyle",a.fillStyle),p.push("textBaseline","middle"),p.push("textAlign","center");const I=.5-u;let R=u*C+I*d;const v=[],k=[];let P=0,M=0,K=0,A=0,z;for(let G=0,F=f.length;G<F;G+=2){const D=f[G];if(D===`
`){M+=P,P=0,R=u*C+I*d,++A;continue}const B=f[G+1]||l.font;B!==z&&(s&&v.push("font",B),i&&k.push("font",B),z=B),P=Math.max(P,y[K]);const U=[D,R+I*_[K]+u*(_[K]-E[A]),.5*(d+P)+M];R+=_[K],s&&v.push("strokeText",U),i&&k.push("fillText",U),++K}return Array.prototype.push.apply(p,v),Array.prototype.push.apply(p,k),this.labels_[r]=L,L}replayTextBackground_(t,e,i,s,r,o,a){t.beginPath(),t.moveTo.apply(t,e),t.lineTo.apply(t,i),t.lineTo.apply(t,s),t.lineTo.apply(t,r),t.lineTo.apply(t,e),o&&(this.alignAndScaleFill_=o[2],t.fillStyle=o[1],this.fill_(t)),a&&(this.setStrokeStyle_(t,a),t.stroke())}calculateImageOrLabelDimensions_(t,e,i,s,r,o,a,l,c,h,u,d,f,g,m,_){a*=d[0],l*=d[1];let y=i-a,E=s-l;const C=r+c>t?t-c:r,p=o+h>e?e-h:o,x=g[3]+C*d[0]+g[1],S=g[0]+p*d[1]+g[2],L=y-g[3],I=E-g[0];(m||u!==0)&&(Ee[0]=L,xe[0]=L,Ee[1]=I,ne[1]=I,ne[0]=L+x,se[0]=ne[0],se[1]=I+S,xe[1]=se[1]);let R;return u!==0?(R=ue(Zt(),i,s,1,1,u,-i,-s),ct(R,Ee),ct(R,ne),ct(R,se),ct(R,xe),Ae(Math.min(Ee[0],ne[0],se[0],xe[0]),Math.min(Ee[1],ne[1],se[1],xe[1]),Math.max(Ee[0],ne[0],se[0],xe[0]),Math.max(Ee[1],ne[1],se[1],xe[1]),ei)):Ae(Math.min(L,L+x),Math.min(I,I+S),Math.max(L,L+x),Math.max(I,I+S),ei),f&&(y=Math.round(y),E=Math.round(E)),{drawImageX:y,drawImageY:E,drawImageW:C,drawImageH:p,originX:c,originY:h,declutterBox:{minX:ei[0],minY:ei[1],maxX:ei[2],maxY:ei[3],value:_},canvasTransform:R,scale:d}}replayImageOrLabel_(t,e,i,s,r,o,a){const l=!!(o||a),c=s.declutterBox,h=a?a[2]*s.scale[0]/2:0;return c.minX-h<=e[0]&&c.maxX+h>=0&&c.minY-h<=e[1]&&c.maxY+h>=0&&(l&&this.replayTextBackground_(t,Ee,ne,se,xe,o,a),ku(t,s.canvasTransform,r,i,s.originX,s.originY,s.drawImageW,s.drawImageH,s.drawImageX,s.drawImageY,s.scale)),!0}fill_(t){const e=this.alignAndScaleFill_;if(e){const i=ct(this.renderedTransform_,[0,0]),s=512*this.pixelRatio;t.save(),t.translate(i[0]%s,i[1]%s),e!==1&&t.scale(e,e)}t.fill(),e&&t.restore()}setStrokeStyle_(t,e){t.strokeStyle=e[1],e[1]&&(t.lineWidth=e[2],t.lineCap=e[3],t.lineJoin=e[4],t.miterLimit=e[5],t.lineDashOffset=e[7],t.setLineDash(e[6]))}drawLabelWithPointPlacement_(t,e,i,s){const r=this.textStates[e],o=this.createLabel(t,e,s,i),a=this.strokeStates[i],l=this.pixelRatio,c=zs(Array.isArray(t)?t[0]:t,r.textAlign||Ji),h=Kn[r.textBaseline||Xn],u=a&&a.lineWidth?a.lineWidth:0,d=o.width/l-2*r.scale[0],f=c*d+2*(.5-c)*u,g=h*o.height/l+2*(.5-h)*u;return{label:o,anchorX:f,anchorY:g}}execute_(t,e,i,s,r,o,a,l){const c=this.zIndexContext_;let h;this.pixelCoordinates_&&Me(i,this.renderedTransform_)?h=this.pixelCoordinates_:(this.pixelCoordinates_||(this.pixelCoordinates_=[]),h=Le(this.coordinates,0,this.coordinates.length,2,i,this.pixelCoordinates_),Mh(this.renderedTransform_,i));let u=0;const d=s.length;let f=0,g,m,_,y,E,C,p,x,S,L,I,R,v,k,P,M,K=0,A=0;const z=this.coordinateCache_,G=this.viewRotation_,F=Math.round(Math.atan2(-i[1],i[0])*1e12)/1e12,D={context:t,pixelRatio:this.pixelRatio,resolution:this.resolution,rotation:G},B=this.instructions!=s||this.overlaps?0:200;let U,q,et,mt;for(;u<d;){const T=s[u];switch(T[0]){case O.BEGIN_GEOMETRY:U=T[1],mt=T[3],U.getGeometry()?a!==void 0&&!Rt(a,mt.getExtent())?u=T[2]+1:++u:u=T[2],c&&(c.zIndex=T[4]);break;case O.BEGIN_PATH:K>B&&(this.fill_(t),K=0),A>B&&(t.stroke(),A=0),!K&&!A&&(t.beginPath(),x=NaN,S=NaN),++u;break;case O.CIRCLE:f=T[1],y=T[2]??0;const lt=h[f],zt=h[f+1],Ut=h[f+2]-y,Lt=h[f+3]-y,wi=Ut-lt,un=Lt-zt,Ri=Math.sqrt(wi*wi+un*un);t.moveTo(lt+Ri,zt),t.arc(lt,zt,Ri,0,2*Math.PI,!0),++u;break;case O.CLOSE_PATH:t.closePath(),++u;break;case O.CUSTOM:f=T[1],g=T[2];const us=T[3],Vt=T[4],Xt=T[5];D.geometry=us,D.feature=U,u in z||(z[u]=[]);const jt=z[u];Xt?Xt(h,f,g,2,jt):(jt[0]=h[f],jt[1]=h[f+1],jt.length=2),c&&(c.zIndex=T[6]),Vt(jt,D),++u;break;case O.DRAW_IMAGE:f=T[1],g=T[2],R=T[3],m=T[4],_=T[5];let ge=T[6];const dn=T[7],Ii=T[8],je=T[9],fn=T[10];let ft=T[11];const Cl=T[12];let gn=T[13];p=T[14]||"declutter";const Ti=T[15];if(!R&&T.length>=20){v=T[19],k=T[20],P=T[21],M=T[22];const At=this.drawLabelWithPointPlacement_(v,k,P,M);R=At.label,T[3]=R;const Oe=T[23];m=(At.anchorX-Oe)*this.pixelRatio,T[4]=m;const Mt=T[24];_=(At.anchorY-Mt)*this.p