@vstelcl/thin-map-engine-mobile-native 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/License.md ADDED
@@ -0,0 +1,20 @@
1
+ The MIT License (MIT)
2
+ Copyright (c) 2026 Vaclav Stelcl
3
+
4
+ Permission is hereby granted, free of charge, to any person obtaining a copy
5
+ of this software and associated documentation files (the "Software"), to deal
6
+ in the Software without restriction, including without limitation the rights
7
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ copies of the Software, and to permit persons to whom the Software is
9
+ furnished to do so, subject to the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be included in all
12
+ copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20
+ SOFTWARE.
@@ -0,0 +1 @@
1
+ !function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var s=e();for(var i in s)("object"==typeof exports?exports:t)[i]=s[i]}}(globalThis,()=>(()=>{"use strict";var t={n:e=>{var s=e&&e.__esModule?()=>e.default:()=>e;return t.d(s,{a:s}),s},d:(e,s)=>{for(var i in s)t.o(s,i)&&!t.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:s[i]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};function s(t,e){return t-=374,n()[t]}t.r(e),t.d(e,{EventUtils:()=>Ii,ImageLoaderFactory:()=>r,MapComponent:()=>bi,MapEvent:()=>pi});var i=s;!function(t){for(var e=s,i=t();;)try{if(867181===-parseInt(e(380))/1*(-parseInt(e(376))/2)+-parseInt(e(385))/3*(parseInt(e(383))/4)+-parseInt(e(378))/5+-parseInt(e(375))/6+parseInt(e(374))/7*(parseInt(e(382))/8)+-parseInt(e(379))/9+parseInt(e(381))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(n);class r{static get[i(384)](){return r[i(377)]}static set[i(384)](t){r._loader=t}}function n(){var t=["4VirxHS","_loader","1240020PwVTDJ","10092258zQDsHJ","552465jvbrXG","3409410wuMkCU","40fqBTsj","212Zxwbyf","loader","17967CckGTz","2341227nZRbeA","3385272gWLPss"];return(n=function(){return t})()}function h(t,e){return t-=159,a()[t]}var o=h;function a(){var t=["toString","22407pekfwr","830fuZTrG","726guazlh","2610078OmDifb","14193aNJctr","4Sflsly","height","join","24DAASiE","21379716vzZbBH","2768AolyAJ","16830fnxhsl","7485764cAoDmo","width","4682lkwFZu"];return(a=function(){return t})()}!function(t){for(var e=h,s=t();;)try{if(856646===parseInt(e(167))/1*(parseInt(e(173))/2)+-parseInt(e(162))/3*(parseInt(e(164))/4)+-parseInt(e(170))/5*(parseInt(e(161))/6)+parseInt(e(159))/7*(parseInt(e(169))/8)+-parseInt(e(163))/9*(parseInt(e(160))/10)+-parseInt(e(171))/11+parseInt(e(168))/12)break;s.push(s.shift())}catch(t){s.push(s.shift())}}(a);class l{constructor(t,e){var s=h;this[s(172)]=t||0,this[s(165)]=e||0}equal(t){var e=h;return this.width===t[e(172)]&&this[e(165)]===t[e(165)]}[o(174)](){var t=o;return[this[t(172)],"_",this[t(165)]][t(166)]()}}function u(){const t=["count","push","1401057zjqwWq","values","2jHExYf","shift","_values","38216BXRDVG","3296632iuuJdi","updateIndexes","removeByIndex","splice","45XGCUth","5182730YFikkC","remove","length","15GIqNtO","126181PZWnZM","1071324TYDltY","sort","value","add","_keys","idx","537619GOiZKq","get","indexOf","forEach","9yZTAHa","1560QkUgSD"];return(u=function(){return t})()}const c=f;function f(t,e){t-=241;return u()[t]}!function(t){const e=f,s=t();for(;;)try{if(467302===-parseInt(e(242))/1*(parseInt(e(252))/2)+-parseInt(e(260))/3*(-parseInt(e(255))/4)+-parseInt(e(264))/5*(parseInt(e(266))/6)+-parseInt(e(250))/7+-parseInt(e(256))/8+-parseInt(e(246))/9*(-parseInt(e(261))/10)+-parseInt(e(265))/11*(-parseInt(e(247))/12))break;s.push(s.shift())}catch(t){s.push(s.shift())}}(u);class p{constructor(t,e){const s=f;this[s(268)]=t,this[s(241)]=e}}class d{get count(){const t=f;return this[t(270)][t(263)]}get[c(251)](){return this._values}constructor(){const t=c;this[t(254)]={},this[t(270)]=[]}[c(269)](t,e){const s=c;return!(!e||this._values[t])&&(this[s(254)][t]=new p(e,this[s(270)][s(263)]),this[s(270)][s(249)](t),!0)}getByIndex(t){const e=c;if(this[e(270)][e(263)]>t)return this._values[this[e(270)][t]][e(268)]}containsKey(t){return!!this._values[t]}[c(243)](t){if(this._values[t])return this._values[t].value}[c(253)](){const t=c;return this[t(262)](this[t(270)][0])}forEachFromTo(t,e=0,s){const i=c;let r=this._keys;void 0===s&&(s=this[i(248)]);for(let n=e;n<s;n++){let e=r[n];if(!1===t(this[i(254)][e][i(268)],e,n))break}}[c(245)](t,e=!1,s,i){const r=c;let n=this._keys;if(e&&(n=this[r(270)].slice(0),void 0!==s?n[r(267)]((t,e)=>{const i=r;return s(this[i(254)][t][i(268)],this[i(254)][e][i(268)])}):n[r(267)]()),i)for(let e=0,s=n.length;e<s;e++){let s=n[e],h=this[r(254)][s];if(i(h[r(268)])&&!1===t(h.value,s))break}else for(let e=0,s=n[r(263)];e<s;e++){let s=n[e];if(!1===t(this[r(254)][s].value,s))break}}[c(267)](t){const e=c;this._keys.sort((e,s)=>{const i=f;return t(this._values[e][i(268)],this._values[s].value)}),this[e(257)]()}removeAll(t){const e=c;let s=this._keys[e(263)];for(;s>0;)t(this[e(253)]()),s--}[c(262)](t){const e=c;let s,i=this._values[t];if(i){let r=this[e(244)](t);this[e(270)][e(259)](r,1),this.updateIndexes(r),delete this._values[t],s=i.value}return s}[c(258)](t){return this[c(262)](this._keys[t])}clean(){const t=c;this._values={},this[t(270)]=[]}[c(244)](t){const e=c;return this[e(254)][t][e(241)]}[c(257)](t){const e=c;void 0===t&&(t=0);for(let s=t,i=this[e(270)][e(263)];s<i;s++){let t=this[e(270)][s];this[e(254)][t][e(241)]=s}}}function _(t,e){return t-=240,v()[t]}var m,g,I;function v(){var t=["mapPositionUpdated","7hJuMFe","10134366AUuOsu","53226ZycVFp","10361264gECkRt","mapScaleUpdated","2152110MXlOmM","11331585ZIVddu","2749ytzipT","mapExtentUpdated","mapResized","566wPvVJb","1119054bLemwh","96mZmHwd","10ukhvWK","mapIsDirty","mapContentChanged"];return(v=function(){return t})()}!function(t){for(var e=_,s=t();;)try{if(692529===parseInt(e(253))/1*(-parseInt(e(256))/2)+parseInt(e(248))/3*(parseInt(e(241))/4)+parseInt(e(242))/5*(-parseInt(e(240))/6)+parseInt(e(246))/7*(parseInt(e(249))/8)+parseInt(e(252))/9+-parseInt(e(251))/10+-parseInt(e(247))/11)break;s.push(s.shift())}catch(t){s.push(s.shift())}}(v),(g=m||(m={}))[g[(I=_)(245)]=0]="mapPositionUpdated",g[g.mapScaleUpdated=1]=I(250),g[g[I(255)]=2]=I(255),g[g[I(254)]=3]=I(254),g[g.mapRepaintRequired=4]="mapRepaintRequired",g[g.mapIsDirty=5]=I(243),g[g[I(244)]=6]=I(244);const y=require("gl-matrix"),x=b;function b(t,e){t-=182;return S()[t]}function S(){const t=["MAX_VALUE","6DsHaPc","computeMiterLen","normalize","1125900ftmspa","interpolate","isCCW","getNormal","6dlyrbf","1668611YMtcVj","direction","sub","getPointOnDistance","1190196sXvuQo","normal","8vHNWdH","107570SzZhqj","add","project","computeTangent","244311ddltID","1732410OrlxNF","intersects","unproject","getDistanceFromLine","146137Byeupn"];return(S=function(){return t})()}!function(t){const e=b,s=t();for(;;)try{if(267492===-parseInt(e(204))/1*(-parseInt(e(206))/2)+parseInt(e(199))/3+-parseInt(e(192))/4+-parseInt(e(195))/5+-parseInt(e(187))/6*(parseInt(e(188))/7)+parseInt(e(194))/8*(parseInt(e(200))/9)+parseInt(e(183))/10)break;s.push(s.shift())}catch(t){s.push(s.shift())}}(S);class w{static[x(193)](t){return[-t[1],t[0]]}static[x(197)](t,e,s){return[(t[0]-e[0])/s,(e[1]-t[1])/s]}static[x(202)](t,e,s){return[e[0]+t[0]*s,e[1]-t[1]*s]}static[x(203)](t,e,s,i,r){let n=s[0]-e[0],h=s[1]-e[1],o=t[0]-e[0],a=t[1]-e[1],l=n*n+h*h,u=0;return 0!=l&&(u=(o*n+a*h)/l),r&&(u<0?u=0:u>1&&(u=1)),i[0]=e[0]+n*u,i[1]=e[1]+h*u,y.vec2.distance(i,t)}static getLinePosition(t,e,s){let i=e[1]-t[1],r=t[0]-e[0],n=-i*t[0]-r*t[1];return i*s[0]+r*s[1]+n}static[x(184)](t,e,s){let i=y.vec2.distance(t,e);return[(e[0]-t[0])*s/i+t[0],(e[1]-t[1])*s/i+t[1]]}static[x(189)](t,e){const s=x;let i=[0,0];y.vec2[s(190)](i,t,e);let r=[0,0];return y.vec2[s(182)](r,i),r}static[x(198)](t,e){const s=x;let i=[0,0];y.vec2[s(196)](i,t,e);let r=[0,0];return y.vec2.normalize(r,i),r}static[x(207)](t,e,s){const i=x;let r=[-e[1],e[0]],n=y.vec2.dot(t,r);return 0!==n?s/n:Number[i(205)]}static[x(186)](t,e){return[-(e[1]-t[1]),e[0]-t[0]]}static[x(185)](t,e,s){return(s[1]-t[1])*(e[0]-t[0])>(e[1]-t[1])*(s[0]-t[0])}static[x(201)](t,e,s,i){const r=x;return this.isCCW(t,s,i)!=this[r(185)](e,s,i)&&this.isCCW(t,e,s)!=this[r(185)](t,e,i)}static getPointOffset(t,e,s){const i=x;let r=[-(e[1]-t[1])+t[0],e[0]-t[0]+t[1]];return w[i(191)](t,r,-s)}static getPointOnDistance(t,e,s){let i=y.vec2.distance(t,e);return[(e[0]-t[0])*s/i+t[0],(e[1]-t[1])*s/i+t[1]]}}const T=R;function C(){const t=["234642ZjKMUy","2838390PBfyic","Duplicitní identifikátor mapové služby","unhighlightAll","featureCacheRenderer","826812SJmOXb","31036odOiMo","set","_key","mapScaleUpdated","_eventService","_layers","error","sortFeaturesByDistance","594692ZlArSo","getLayer","get","push","forEach","eventService","destroy","updatePosition","_cacheRenderer","getSortedFeatures","publish","mapRepaintRequired","renderer","concat","add","getFeatures","renderHighlights","rendererFactory","_dataBufferManager","_destroyed","45gJpsas","_map","mapContentChanged","clean","subscribe","unproject","key","render","196048IdeKoF","origin","addService","updateScale","2nOFtqs","resolution","console","highlightFeatures","map","featureServiceRenderer","getSpatialQueryPointExtent","layer","4RVKdpf","_renderer","forEachLayer","474855RijkGV"];return(C=function(){return t})()}function R(t,e){t-=498;return C()[t]}!function(t){const e=R,s=t();for(;;)try{if(109242===parseInt(e(550))/1+parseInt(e(532))/2*(-parseInt(e(544))/3)+parseInt(e(540))/4*(parseInt(e(543))/5)+parseInt(e(549))/6+parseInt(e(500))/7+parseInt(e(528))/8*(parseInt(e(520))/9)+-parseInt(e(545))/10)break;s.push(s.shift())}catch(t){s.push(s.shift())}}(C);class D{get dataBufferManager(){return this[R(518)]}get[T(505)](){return this[T(554)]}get[T(536)](){return this._map}get key(){return this[T(552)]}get[T(512)](){return this._renderer}get cacheRenderer(){return this._cacheRenderer}get layersCount(){return this[T(555)].count}constructor(t,e,s=!0){const i=T;this[i(552)]=t,this._map=e,this[i(555)]=new d,this[i(519)]=!1,s&&e[i(530)](t,this),this[i(541)]=e[i(517)][i(537)],this._cacheRenderer=e[i(517)][i(548)],this[i(518)]=this[i(541)].getDataBufferManager(t),this[i(554)]=e[i(505)],this[i(554)].subscribe(m.mapPositionUpdated,t=>{this[i(507)](t)}),this[i(554)][i(524)](m[i(553)],t=>{this[i(531)](t)})}addLayer(t,e){const s=T;this[s(519)]||(this[s(555)][s(502)](t)?window[s(534)]&&window[s(534)][s(498)](s(546)):(this._layers[s(514)](t,e),this[s(554)][s(510)](m[s(522)],null)))}[T(542)](t){const e=T;this[e(519)]||this[e(555)][e(504)]((e,s)=>t(e,s))}[T(501)](t){if(!this._destroyed)return this._layers.get(t)}[T(527)](t){const e=T;this[e(519)]||this[e(541)][e(527)]({layers:this._layers,resolution:t.resolution})}[T(516)](t){const e=T;this[e(519)]||this[e(541)].renderHightlights({layers:this._layers,resolution:t[e(533)]})}[T(507)](t){}[T(531)](t){}[T(515)](t){const e=T;if(this[e(519)])return[];let s=w[e(525)](t,this[e(521)][e(529)],this[e(521)][e(533)]),i=[];return this[e(555)][e(504)](t=>{const r=e;let n=t.getSpatialQueryPointExtent(s),h=t[r(515)](n);i=i[r(513)](h)}),i}[T(509)](t){const e=T;if(this[e(519)])return[];let s=w[e(525)](t,this._map[e(529)],this[e(521)].resolution),i=[];return this._layers[e(504)](t=>{const r=e;let n=t[r(538)](s),h=t[r(515)](n),o=t[r(499)](s,h);i=i.concat(o)}),i}[T(547)](){const t=T;this._destroyed||(this[t(555)][t(504)](e=>{e[t(547)](!1)}),this._eventService[t(510)](m[t(511)],null))}[T(535)](t){const e=T;if(this[e(519)])return;let s=new Map;for(let i of t){let t=i[e(539)];if(t){let r=s[e(502)](t[e(526)]);!r&&(r=[],s[e(551)](t[e(526)],r)),r[e(503)](i)}}s[e(504)]((t,s)=>{const i=e;let r=this._layers[i(502)](s);r&&r[i(535)](t,!1)}),this[e(554)][e(510)](m.mapRepaintRequired,null)}[T(506)](){const t=T;this._destroyed=!0,this[t(555)][t(504)]((e,s)=>{e[t(506)]()}),this[t(555)][t(523)](),delete this._layers,delete this[t(518)],delete this._renderer,delete this[t(508)],delete this[t(554)]}}const P=require("tslib"),E=require("rbush");var L=t.n(E);function A(t,e){t-=238;return B()[t]}function B(){const t=["750wTntvx","xmax","max","1602910VShUhK","intersects","getCenter","clone","14420MJqcQJ","5955KGupuJ","enhance","toPolygon","9293537sJOnlz","xmin","height","ymax","extend","18lBLZJd","shift","72fzjXpI","9830320pvCYSQ","5GzdIOk","1113967elXsTo","ymin","3144WXaLYP","2112868bLMTGC","min"];return(B=function(){return t})()}const F=A;!function(t){const e=A,s=t();for(;;)try{if(694995===-parseInt(e(243))/1+-parseInt(e(248))/2*(parseInt(e(256))/3)+-parseInt(e(246))/4*(parseInt(e(242))/5)+parseInt(e(245))/6*(-parseInt(e(255))/7)+-parseInt(e(241))/8+parseInt(e(238))/9*(parseInt(e(251))/10)+-parseInt(e(259))/11*(-parseInt(e(240))/12))break;s.push(s.shift())}catch(t){s.push(s.shift())}}(B);class k{get width(){const t=A;return this[t(249)]-this[t(260)]}get[F(261)](){const t=F;return this[t(262)]-this[t(244)]}constructor(t,e,s,i){const r=F;this[r(260)]=t||0,this[r(244)]=e||0,this.xmax=s||0,this[r(262)]=i||0}[F(253)](){const t=F;return[this[t(260)]+(this[t(249)]-this[t(260)])/2,this.ymax-(this[t(262)]-this[t(244)])/2]}[F(239)](t){const e=F;this[e(260)]+=t[0],this.xmax+=t[0],this.ymin+=t[1],this[e(262)]+=t[1]}[F(254)](){const t=F;return new k(this[t(260)],this[t(244)],this.xmax,this[t(262)])}[F(258)](){const t=F;return[[this[t(260)],this[t(244)]],[this[t(249)],this[t(244)]],[this[t(249)],this[t(262)]],[this[t(260)],this[t(262)]]]}[F(252)](t){const e=F;return this[e(260)]<t[e(249)]&&this[e(249)]>t[e(260)]&&this[e(244)]<t.ymax&&this.ymax>t.ymin}[F(263)](t){const e=F;this[e(260)]-=t,this[e(244)]-=t,this[e(249)]+=t,this[e(262)]+=t}[F(257)](t){const e=F;this[e(260)]=Math.min(t[e(260)],this[e(260)]),this.ymin=Math[e(247)](t[e(244)],this[e(244)]),this[e(249)]=Math[e(250)](t[e(249)],this[e(249)]),this[e(262)]=Math[e(250)](t[e(262)],this[e(262)])}}const M=U;function z(){const t=["drawArrays","extent","_gl","createBuffer","159968cPxxia","8571300UpZDkx","TEXTURE_WRAP_S","bind","27960372zllQCk","bindFramebuffer","height","clearColor","xmin","ARRAY_BUFFER","unbind","TEXTURE_MIN_FILTER","TEXTURE_WRAP_T","FLOAT","_size","deleteBuffer","bufferData","enable","_texcoodrsBuffer","destroy","665beKUoI","TRIANGLES","_texture","4966028iNUxOe","init","COLOR_ATTACHMENT0","texImage2D","ymax","deleteTexture","ymin","disableVertexAttribArray","RGBA","hPosition","COLOR_BUFFER_BIT","UNSIGNED_BYTE","size","updateDataBuffers","enableVertexAttribArray","_positionBuffer","FRAMEBUFFER","_extent","bindBuffer","STATIC_DRAW","render","CLAMP_TO_EDGE","LINEAR","807933pjrzHZ","4cinwMC","createFramebuffer","BLEND","width","9375565iWkQgO","bindTexture","hTextureCoord","_renderBuffer","vertexAttribPointer","_texCoords","_elementCount","_positions","TEXTURE_2D","127496LVyEiH","texParameteri","xmax","deleteFramebuffer"];return(z=function(){return t})()}function U(t,e){t-=266;return z()[t]}!function(t){const e=U,s=t();for(;;)try{if(985461===parseInt(e(302))/1*(parseInt(e(315))/2)+parseInt(e(301))/3+-parseInt(e(278))/4+-parseInt(e(306))/5+-parseInt(e(324))/6+-parseInt(e(275))/7*(-parseInt(e(323))/8)+parseInt(e(327))/9)break;s.push(s.shift())}catch(t){s.push(s.shift())}}(z);class O{get invalidSize(){const t=U;return 0===this[t(269)][t(305)]||0===this[t(269)].height}set[M(290)](t){const e=M;t[e(305)]===this._size.width&&t[e(329)]===this[e(269)].height||(this[e(269)]=t);let s=this._gl;void 0!==s&&(s.bindTexture(s[e(314)],this._texture),s[e(281)](s[e(314)],0,s[e(286)],this[e(269)].width,this[e(269)].height,0,s.RGBA,s[e(289)],null),s[e(316)](s[e(314)],s[e(266)],s[e(300)]),s[e(316)](s[e(314)],s[e(325)],s[e(299)]),s[e(316)](s[e(314)],s[e(267)],s[e(299)]))}set[M(320)](t){const e=M;this[e(295)]=t,this[e(291)]()}constructor(t){const e=M;this._gl=t,this[e(269)]=new l(500,500),this[e(295)]=new k(0,0,10,10),this[e(312)]=6;let s=t;this[e(313)]=new Float32Array(2*this[e(312)]),this[e(311)]=new Float32Array(2*this[e(312)]),this[e(293)]=s.createBuffer(),this[e(273)]=s[e(322)](),this[e(277)]=s.createTexture(),s[e(307)](s.TEXTURE_2D,this[e(277)]),s.texImage2D(s.TEXTURE_2D,0,s.RGBA,this[e(269)].width,this[e(269)].height,0,t.RGBA,t[e(289)],null),s[e(316)](s.TEXTURE_2D,s[e(266)],s[e(300)]),s.texParameteri(s.TEXTURE_2D,s[e(325)],s[e(299)]),s.texParameteri(s.TEXTURE_2D,s[e(267)],s[e(299)]),this[e(279)]()}init(){const t=M;let e=this[t(321)];void 0!==e&&(this[t(309)]=e[t(303)](),e.bindFramebuffer(e[t(294)],this[t(309)]),e.framebufferTexture2D(e[t(294)],e[t(280)],e.TEXTURE_2D,this._texture,0),e.bindTexture(e[t(314)],null),e[t(328)](e[t(294)],null))}[M(274)](){const t=M;let e=this[t(321)];e[t(270)](this[t(273)]),e[t(270)](this[t(293)]),delete this[t(311)],delete this._positions,e[t(318)](this[t(309)]),void 0!==this[t(277)]&&e[t(283)](this[t(277)]),this[t(321)]=void 0}[M(326)](){const t=M;let e=this[t(321)];e[t(330)](0,0,0,0),e.bindFramebuffer(e[t(294)],this[t(309)]),e.viewport(0,0,this[t(269)].width,this[t(269)].height),e.clear(e[t(288)])}[M(333)](t){const e=M;let s=this[e(321)];s[e(328)](s.FRAMEBUFFER,null),s.clearColor(t.r,t.g,t.b,t.a)}[M(298)](t){const e=M;let s=this[e(321)],i=t[e(287)],r=t[e(308)];s.bindBuffer(s[e(332)],this[e(293)]),s.vertexAttribPointer(i,2,s[e(268)],!1,0,0),s[e(292)](i),s[e(296)](s[e(332)],this[e(273)]),s[e(310)](r,2,s.FLOAT,!1,0,0),s[e(292)](r),s[e(272)](s[e(304)]),s[e(307)](s[e(314)],this[e(277)]),s[e(319)](s[e(276)],0,this._elementCount),s.disable(s[e(304)]),s[e(285)](i),s.disableVertexAttribArray(r)}[M(291)](){const t=M;let e=0,s=0;this[t(313)][e++]=this[t(295)][t(317)],this[t(313)][e++]=this._extent.ymin,this[t(311)][s++]=1,this._texCoords[s++]=0,this[t(313)][e++]=this[t(295)][t(317)],this[t(313)][e++]=this[t(295)].ymax,this[t(311)][s++]=1,this[t(311)][s++]=1,this._positions[e++]=this._extent[t(331)],this[t(313)][e++]=this[t(295)][t(282)],this._texCoords[s++]=0,this._texCoords[s++]=1,this[t(313)][e++]=this[t(295)][t(317)],this[t(313)][e++]=this._extent[t(284)],this._texCoords[s++]=1,this[t(311)][s++]=0,this[t(313)][e++]=this[t(295)].xmin,this._positions[e++]=this._extent[t(282)],this[t(311)][s++]=0,this[t(311)][s++]=1,this[t(313)][e++]=this._extent[t(331)],this[t(313)][e++]=this._extent.ymin,this._texCoords[s++]=0,this[t(311)][s++]=0,this._gl[t(296)](this[t(321)][t(332)],this._positionBuffer),this[t(321)][t(271)](this[t(321)][t(332)],this[t(313)],this._gl[t(297)]),this._gl[t(296)](this._gl.ARRAY_BUFFER,this[t(273)]),this[t(321)].bufferData(this[t(321)][t(332)],this[t(311)],this._gl.STATIC_DRAW)}}function j(){var t=["polygon","52KFMzOL","point","57972mUBMVO","12555PEjEON","2134305bPUMHv","117230MpuNDw","134004bOsrVp","248ThEpGB","7280987tnZALd","27977724xeiOCd","3WmGUCr","6bcdUqJ","319zJuUXr"];return(j=function(){return t})()}function G(t,e){return t-=252,j()[t]}var q,N,X;!function(t){for(var e=G,s=t();;)try{if(667471===parseInt(e(254))/1*(parseInt(e(260))/2)+parseInt(e(264))/3*(-parseInt(e(258))/4)+-parseInt(e(262))/5+-parseInt(e(255))/6*(parseInt(e(252))/7)+-parseInt(e(265))/8*(parseInt(e(261))/9)+parseInt(e(263))/10*(parseInt(e(256))/11)+parseInt(e(253))/12)break;s.push(s.shift())}catch(t){s.push(s.shift())}}(j),N=q||(q={}),X=G,N[N.unknown=0]="unknown",N[N[X(259)]=1]=X(259),N[N.polyline=2]="polyline",N[N.polygon=3]=X(257);var H=Z;function W(){var t=["3pkjBwo","pointSize","62448TGYfak","231670khVZXD","982185uhgbbg","19654480rssKOE","805918VLlATn","36atNZAw","217JQsYQG","3490515TiBeKZ","5891760iLqOZL"];return(W=function(){return t})()}function Z(t,e){return t-=184,W()[t]}!function(t){for(var e=Z,s=t();;)try{if(507985===parseInt(e(192))/1+parseInt(e(194))/2*(parseInt(e(188))/3)+parseInt(e(184))/4*(parseInt(e(191))/5)+parseInt(e(190))/6*(parseInt(e(185))/7)+parseInt(e(187))/8+-parseInt(e(186))/9+-parseInt(e(193))/10)break;s.push(s.shift())}catch(t){s.push(s.shift())}}(W);class V{}V[H(189)]=new l(4,4);const Y=Q;function K(){const t=["3460464zQgGTv","worldXYToTile","width","124759EIdtSO","pointSize","1154708QjDpxu","8890164HVTyHA","1168134jecsFI","443480lHqoAh","pointToExtent","6BsXJkm","scaleToResolution","12WcSGLc","tileToWorldXY","884680YgsAkZ"];return(K=function(){return t})()}function Q(t,e){t-=114;return K()[t]}!function(t){const e=Q,s=t();for(;;)try{if(269511===parseInt(e(122))/1*(parseInt(e(114))/2)+parseInt(e(126))/3+-parseInt(e(124))/4+-parseInt(e(127))/5*(-parseInt(e(116))/6)+parseInt(e(119))/7+parseInt(e(118))/8+-parseInt(e(125))/9)break;s.push(s.shift())}catch(t){s.push(s.shift())}}(K);class J{static resolutionToScale(t){return 3779.5199999999995*t}static[Y(115)](t){return t/3779.5199999999995}static[Y(120)](t,e,s,i){let r=s*i;return[(e[0]-t[0])/r,(-e[1]+t[1])/r]}static[Y(117)](t,e,s,i){let r=s*i;return[e[0]*r+t[0],t[1]-e[1]*r]}static projectDistance(t,e){return t/e}static unprojectDistance(t,e){return t*e}static[Y(128)](t,e){const s=Y;let i=.5*e,r=i*V[s(123)][s(121)],n=i*V[s(123)].height;return new k(t[0]-r,t[1]-n,t[0]+r,t[1]+n)}}const $=tt;function tt(t,e){t-=401;return et()[t]}function et(){const t=["addFeature","unhighlightFeatures","pointToExtent","spatialTreeOutdated","renderer","subscribe","highlightFeatures","xmax","_dataBuffers","updatePosition","_eventService","length","update","_isTmpState","clean","insert","_spatialTreeOutdated","_featureTree","_dataBufferManager","_destroyed","show","ymax","mapPositionUpdated","usecache","eventService","geometryType","_featureList","size",".extent.ymax","dataBufferManager","map","removeFeature","4149VmNOfQ","getSpatialQueryPointExtent","clear","6QvHZcB","layer","ymin","get","remove","getFeatures","2838pbrhxA","search","renderHighlights","getSymbolAttributeIndex","getFeature","unproject","cacheRenderer","addLayer","updateSymbolic","_currentSymbolRules","destroy","resize","addFeatures","_featureCacheRenderer",".extent.xmax","886404lZyDik","isMet","forEachFeature","_definition","mapResized","_currentSymbolAttribute","_currentSymbol","updateScale","key","sortFeaturesByDistance","_featureMapService","extent","attributes","forEach","publish","symbol","resolution","updateSpatialTree","_featureCache","3525372OGDxpU","mapRepaintRequired","containsKey","xmin","291085mUVlwt","origin","905238aGGtta","add","5288RZIsny","mapScaleUpdated","cleanFeatures","4456802AZQMbW","renderCache","currentSymbolRules","_highlightedFeatures","attributeNames"];return(et=function(){return t})()}!function(t){const e=tt,s=t();for(;;)try{if(424317===parseInt(e(410))/1+parseInt(e(450))/2+parseInt(e(404))/3*(-parseInt(e(425))/4)+parseInt(e(448))/5+-parseInt(e(444))/6+parseInt(e(455))/7+-parseInt(e(452))/8*(-parseInt(e(401))/9))break;s.push(s.shift())}catch(t){s.push(s.shift())}}(et);class st{}class it{set[$(480)](t){const e=$;this[e(428)][e(480)]=t}get[$(480)](){const t=$;return this[t(428)][t(480)]}get[$(433)](){const t=$;return this[t(428)][t(433)]}get[$(485)](){return q.unknown}get[$(490)](){const t=$;return this._featureMapService[t(490)]}get[$(484)](){return this[$(470)]}get[$(459)](){const t=$;return this[t(428)][t(459)]||[]}set[$(463)](t){this[$(476)]=t}get currentSymbolAttribute(){return this[$(430)]||""}get[$(457)](){const t=$;return this._currentSymbolRules?[...this[t(419)]]:[]}get currentSymbol(){return this[$(431)]}constructor(t,e){const s=$;this[s(435)]=t,this._definition=e,this._featureList=new d,this[s(458)]=new d,this[s(477)]=L()(9,[".extent.xmin",".extent.ymin",s(424),s(488)]),this[s(476)]=!1,this[s(473)]=!1,this._destroyed=!1,t[s(417)](e.key,this),this[s(470)]=t[s(484)],this[s(478)]=t[s(489)],e[s(483)]&&(this[s(443)]=new O(t[s(464)].gl),this[s(423)]=t[s(416)],this.resize(this[s(490)][s(487)]),this._eventService[s(465)](m[s(482)],t=>{this[s(469)](t)}),this[s(470)][s(465)](m[s(453)],t=>{this[s(432)](t)}),this._eventService[s(465)](m[s(429)],t=>{this[s(421)](t)}))}[$(420)](){const t=$;this[t(479)]=!0,this[t(443)]&&this[t(443)][t(420)](),this._featureList.forEach((t,e)=>{t.destroy()}),this[t(486)].clean(),this[t(458)][t(474)](),this[t(477)][t(403)](),delete this[t(486)],delete this._highlightedFeatures,delete this[t(477)],delete this._eventService,delete this[t(478)],delete this[t(443)],delete this[t(423)],delete this[t(468)]}[$(469)](t){const e=$;if(this[e(473)]=t,t||!this._definition.usecache||!this._featureCache)return;const s=this[e(435)][e(464)].getRenderingContext(this);s&&(this[e(443)][e(436)]=this[e(490)][e(436)],this[e(456)](s))}updateScale(t){const e=$;if(this[e(473)]=t,t||!this[e(428)].usecache||!this[e(443)])return;let s=this[e(435)][e(464)].getRenderingContext(this);s&&(this[e(443)][e(436)]=this[e(490)][e(436)],this[e(456)](s))}resize(t){const e=$;this._definition.usecache&&this[e(443)]&&(this[e(443)][e(487)]=t,this[e(469)](!1))}[$(460)](t){const e=$;this[e(479)]||(this[e(486)][e(451)](t.key,t),this[e(477)].insert(t),t[e(405)]=this)}[$(422)](t){const e=$;if(!this[e(479)])for(let s of t)this._featureList.add(s[e(433)],s),this[e(477)][e(475)](s),s[e(405)]=this}[$(414)](t){const e=$;if(!this[e(479)])return this[e(486)][e(407)](t)}[$(491)](t){const e=$;this[e(479)]||(this[e(486)][e(408)](t[e(433)]),this[e(477)].remove(t))}[$(427)](t){const e=$;this[e(479)]||this[e(486)].forEach((e,s)=>t(e,s))}[$(454)](){const t=$;this[t(479)]||(this[t(486)][t(474)](),this._featureTree[t(403)]())}render(t){}[$(456)](t){}[$(412)](t){}[$(472)](t){return(0,P.__awaiter)(this,void 0,void 0,function*(){return new Promise((t,e)=>{t()})})}[$(466)](t,e=!0){const s=$;if(!this[s(479)]&&t&&0!==t[s(471)]){for(let e of t)this[s(458)][s(446)](e[s(433)])||this[s(458)][s(451)](e[s(433)],e);e&&this._eventService[s(439)](m.mapRepaintRequired,null)}}unhighlightAll(t=!0){const e=$;this[e(479)]||(this[e(458)].clean(),t&&this[e(470)][e(439)](m[e(445)],null))}[$(461)](t,e=!0){const s=$;if(!this[s(479)]){for(let e of t)this[s(458)][s(408)](e[s(433)]);e&&this[s(470)][s(439)](m[s(445)],null)}}[$(409)](t){const e=$;if(this[e(479)])return[];return this._featureTree[e(411)]({minX:t[e(447)],minY:t[e(406)],maxX:t[e(467)],maxY:t[e(481)]})}[$(434)](t,e){return e}getFeaturesByPoint(t){const e=$;let s=w[e(415)](t,this.map[e(449)],this.map[e(441)]),i=this[e(402)](s);return this[e(409)](i)}symbolizeByAttribute(t,e){const s=$;var i;if(this._destroyed)return;this[s(430)]=t,this[s(419)]=e;let r=this.getSymbolAttributeIndex(t);-1!==r&&(this[s(486)][s(438)](t=>{const i=s;for(let s of e)if(s[i(426)](t[i(437)][r])){t.symbol=s.symbol;break}}),null===(i=this._dataBuffers)||void 0===i||i[s(418)]().then(()=>{this[s(469)](!1)}))}setSymbolForAllFeatures(t){const e=$;this[e(479)]||(this[e(431)]=t,this[e(486)].forEach(s=>{s[e(440)]=t}))}[$(402)](t){const e=$;return J[e(462)](t,this[e(490)][e(441)])}[$(442)](){const t=$;this[t(479)]||(this[t(477)][t(403)](),this[t(486)][t(438)](e=>{const s=t;this[s(477)][s(475)](e)}),this[t(476)]=!1)}[$(413)](t){const e=$;let s=-1,i=0;if(this[e(428)][e(459)])for(let r of this[e(428)][e(459)]){if(t===r){s=i;break}i++}return s}}var rt=nt;function nt(t,e){return t-=180,ht()[t]}function ht(){var t=["extent","8286FsBmxA","_startIndex","data","key","ymin","2767590qyUykM","drawArrays","_show","6JLXcsi","4522lICxln","highlightFeatures","attributes","xmax","137378hItpPc","275YsZagy","featureDataBuffers","11XFWNFk","3336728VFmvbC","19652HeoRuL","_elementCount","TRIANGLES","2849064LbQJXJ","27MuWWvD","15206592ttOfSn","_layer","render","elementCount","symbol","destroy","xmin","_data","ymax","startIndex"];return(ht=function(){return t})()}!function(t){for(var e=nt,s=t();;)try{if(866763===-parseInt(e(185))/1*(parseInt(e(190))/2)+parseInt(e(198))/3+parseInt(e(195))/4*(-parseInt(e(191))/5)+-parseInt(e(211))/6*(-parseInt(e(186))/7)+parseInt(e(194))/8*(parseInt(e(199))/9)+-parseInt(e(182))/10+-parseInt(e(193))/11*(parseInt(e(200))/12))break;s.push(s.shift())}catch(t){s.push(s.shift())}}(ht);class ot{get[rt(180)](){var t=rt;return this[t(207)][t(180)]}get extent(){return new k}get attributes(){var t=rt;return this[t(207)][t(188)]}get[rt(204)](){return this._data.symbol}set symbol(t){this._data.symbol=t}get[rt(213)](){return this[rt(207)]}get layer(){return this[rt(201)]}set layer(t){this._layer=t}set[rt(203)](t){this[rt(196)]=t}get[rt(209)](){return this[rt(212)]}set[rt(209)](t){this[rt(212)]=t}set[rt(192)](t){this._featureDataBuffers=t}constructor(t){var e=rt;this[e(207)]=t,this[e(184)]=!0}isVisible(t){var e=rt;return!!this[e(184)]&&(!(t[e(206)]>this.extent.xmax)&&(!(t[e(181)]>this[e(210)].ymax)&&(!(t[e(189)]<this.extent[e(206)])&&!(t[e(208)]<this[e(210)][e(181)]))))}[rt(202)](t){var e=rt;void 0!==this[e(212)]&&void 0!==this[e(196)]&&t[e(183)](t[e(197)],this[e(212)],this[e(196)])}highlight(){var t,e=rt;null===(t=this[e(201)])||void 0===t||t[e(187)]([this])}[rt(205)](){var t=rt;delete this._featureDataBuffers,delete this[t(201)],delete this[t(207)]}}var at=lt;function lt(t,e){return t-=274,ut()[t]}function ut(){var t=["data","_layer","27177240ZxHLxN","27EMtCiz","803526GodBqm","2733VZCgpF","1145227SLbCTI","extent","destroy","628sWjvzj","_position","_data","20kkJRcG","2597368cpCRYp","position","9033010deEPWA","2333530LtdYiU"];return(ut=function(){return t})()}!function(t){for(var e=lt,s=t();;)try{if(768026===-parseInt(e(279))/1+-parseInt(e(289))/2+parseInt(e(278))/3*(parseInt(e(282))/4)+-parseInt(e(285))/5*(-parseInt(e(277))/6)+-parseInt(e(288))/7+-parseInt(e(286))/8*(-parseInt(e(276))/9)+parseInt(e(275))/10)break;s.push(s.shift())}catch(t){s.push(s.shift())}}(ut);class ct{}class ft extends ot{get position(){return this[lt(283)]}set position(t){var e=lt;this._position=t,this[e(274)]&&(this._layer.spatialTreeOutdated=!0)}get[at(280)](){var t=at;return new k(this[t(283)][0],this[t(283)][1],this[t(283)][0],this[t(283)][1])}get[at(290)](){return this[at(284)]}set[at(290)](t){var e=at;this[e(284)]=t,this[e(283)]=t[e(287)]}constructor(t){var e=at;super(t),this._data=t,this[e(283)]=t[e(287)]}[at(281)](){var t=at;super.destroy(),delete this[t(283)]}}const pt=dt;function dt(t,e){t-=448;return _t()[t]}function _t(){const t=["position","hTexture","326765IPcvWc","bind","length","updatePosition","getFeatures","symbolTexture","geometryType","_eventService","push","updatePositions","renderHighlights","ready","show","6903650CgAgdy","_featureCache","unbind","maximumPointSize","xmax","key","_destroyed","mapRepaintRequired","setTexture","11166003kNxThp","distance","symbols","10003IzDzrG","933786EIoJPQ","_featureList","clone","_dataBuffers","intersects","extent","3078768eRhqjg","_spatialTreeOutdated","sort","invalidSize","xmin","buildDataBuffers","point","setColor","66DwOmyb","getSpatialQueryPointExtent","projectionMatrix","setUseColor","ymin","2808sRZnca","_highlightedFeatures","width","8IrpfXN","_featureCacheRenderer","apply","4297268beYBvF","ymax","2iRaxwt","setHighlight","5ZMleLe","size","bgColor","_definition","color","height","render","count","usecache","publish","symbol","forEach","updateSpatialTree","feature","map","sortFeaturesByDistance","then","resolution","setSize","_dataBufferManager"];return(_t=function(){return t})()}!function(t){const e=dt,s=t();for(;;)try{if(624130===parseInt(e(481))/1*(parseInt(e(457))/2)+parseInt(e(507))/3+parseInt(e(455))/4*(-parseInt(e(459))/5)+parseInt(e(449))/6*(parseInt(e(506))/7)+-parseInt(e(452))/8*(-parseInt(e(503))/9)+parseInt(e(494))/10+-parseInt(e(521))/11*(parseInt(e(513))/12))break;s.push(s.shift())}catch(t){s.push(s.shift())}}(_t);class mt extends it{get[pt(487)](){return q[pt(519)]}get[pt(505)](){const t=pt;return this[t(510)]?this[t(510)].symbols:[]}constructor(t,e){super(t,e),this._featureMapService=t,this._definition=e}update(t){return(0,P.__awaiter)(this,void 0,void 0,function*(){const e=dt;return this[e(510)]=void 0,new Promise(s=>{const i=e;if(this[i(500)])return void s();this[i(514)]&&this[i(471)]();let r=this[i(478)][i(518)](this[i(499)],this[i(508)],this[i(487)]);r?r[i(492)][i(475)](()=>{const e=i;this[e(510)]=r,this[e(484)](!1),t&&this[e(488)][e(468)](m.mapRepaintRequired,null),s()}):s()})})}[pt(490)](){const t=pt;!this._destroyed&&this[t(510)]&&(this[t(510)][t(490)](),this._spatialTreeOutdated&&this[t(471)](),this[t(488)][t(468)](m[t(501)],null))}renderCache(t){const e=pt;!this[e(500)]&&this[e(510)]&&this._featureCache&&!this[e(495)][e(516)]&&(t[e(454)](this[e(473)][e(476)],this._featureMapService.renderer[e(523)]),this[e(495)][e(482)](),this[e(510)].bind(t),this[e(510)][e(465)](t),this._dataBuffers[e(496)](t),this._featureCache.unbind(this[e(473)][e(461)]))}render(t){const e=pt;var s;!this[e(500)]&&this._dataBuffers&&this[e(493)]&&(this[e(462)][e(467)]&&this._isTmpState&&this[e(495)]?null===(s=this[e(453)])||void 0===s||s[e(465)](this[e(495)]):(this[e(510)][e(482)](t),this[e(510)].render(t),this[e(510)][e(496)](t)))}[pt(491)](t){const e=pt;!this[e(500)]&&this[e(510)]&&0!==this[e(450)][e(466)]&&this.show&&(this[e(510)][e(482)](t),t[e(458)](1),this[e(450)][e(470)]((s,i)=>{const r=e;t[r(520)](s[r(469)][r(463)]),t[r(477)](s[r(469)][r(460)]),s[r(469)][r(486)]?(t.setUseColor(0),t[r(502)](s[r(469)][r(486)].texture[r(480)])):(t[r(524)](1),t[r(502)](null)),s[r(465)](t.gl)}),this._dataBuffers[e(496)](t))}getFeatures(t){const e=pt;var s,i;let r=super[e(485)](t);if(0===r[e(483)])return[];let n=[];for(let h of r){const r=h[e(469)];let o=.5*this[e(473)].resolution*((null===(s=null==r?void 0:r[e(460)])||void 0===s?void 0:s.width)||16),a=.5*this.map.resolution*((null===(i=null==r?void 0:r[e(460)])||void 0===i?void 0:i[e(464)])||16),l=h[e(512)][e(509)]();l[e(517)]-=o,l[e(448)]-=a,l[e(498)]+=o,l[e(456)]+=a,t[e(511)](l)&&n.push(h)}return n}[pt(474)](t,e){const s=pt;let i=[];for(let r of e){let e=y.vec2.distance(t,r[s(479)]);i[s(489)]({feature:r,distance:e})}return i[s(515)]((t,e)=>t[s(504)]-e.distance).map(t=>t[s(472)])}[pt(522)](t){const e=pt;if(!this[e(510)])return super.getSpatialQueryPointExtent(t);let s=this._dataBuffers[e(497)],i=.5*this[e(473)].resolution,r=i*s[e(451)],n=i*s[e(464)];return new k(t[0]-r,t[1]-n,t[0]+r,t[1]+n)}}var gt=It;function It(t,e){return t-=138,vt()[t]}function vt(){var t=["destroy","4540149fLVfoS","3028010ItAQEY","984JMqlqL","geometrySegments","geometry","187YvWwPu","data","_layer","_data","extent","3238722mSmmQi","_geometrySegments","1pVPAti","9412LlCZzf","2364GjWWPH","4244285dKhgWe","924620UwsgPm","44212omggOb"];return(vt=function(){return t})()}!function(t){for(var e=It,s=t();;)try{if(939754===-parseInt(e(149))/1*(parseInt(e(138))/2)+-parseInt(e(151))/3*(-parseInt(e(150))/4)+parseInt(e(152))/5+-parseInt(e(147))/6+-parseInt(e(154))/7*(parseInt(e(139))/8)+-parseInt(e(156))/9+parseInt(e(153))/10*(parseInt(e(142))/11))break;s.push(s.shift())}catch(t){s.push(s.shift())}}(vt);class yt{}class xt extends ot{get[gt(141)](){return this[gt(145)].geometry}set[gt(141)](t){var e=gt;this[e(145)][e(141)]=t,this[e(144)]&&(this[e(144)].spatialTreeOutdated=!0)}get geometrySegments(){return this[gt(148)]}set[gt(140)](t){this[gt(148)]=t}get[gt(146)](){var t=gt;return this._data.geometry[t(146)]}set[gt(143)](t){this[gt(145)]=t}get[gt(143)](){return this[gt(145)]}constructor(t){var e=gt;super(t),this[e(145)]=t}[gt(155)](){var t=gt;super.destroy(),delete this[t(148)]}}var bt=St;function St(t,e){return t-=132,Tt()[t]}!function(t){for(var e=St,s=t();;)try{if(321807===parseInt(e(134))/1+parseInt(e(156))/2*(-parseInt(e(133))/3)+-parseInt(e(155))/4*(parseInt(e(142))/5)+-parseInt(e(148))/6+parseInt(e(137))/7*(-parseInt(e(159))/8)+parseInt(e(135))/9*(parseInt(e(154))/10)+parseInt(e(139))/11)break;s.push(s.shift())}catch(t){s.push(s.shift())}}(Tt);class wt{get[bt(161)](){var t=bt;return void 0===this[t(144)]&&(this[t(144)]=[void 0!==this[t(157)]?typeof this.image===t(152)?this[t(157)]:this[t(157)].toString():"","-",void 0!==this[t(145)]?this[t(145)].toString():"","-",void 0!==this[t(147)]?this[t(147)][t(136)]():"","-",void 0!==this[t(141)]?this[t(141)]:"","-",void 0!==this.outlineColor?this[t(150)][t(136)]():"","-",void 0!==this[t(158)]?this.lineStyle.toString():"","-",void 0!==this._offset?this[t(132)]:""][t(149)]("")),this._key}get[bt(157)](){return this[bt(162)]}set[bt(157)](t){var e=bt;this[e(162)]=t,this[e(153)]=void 0,this[e(144)]=void 0}get[bt(138)](){return this[bt(153)]}set[bt(138)](t){this[bt(153)]=t}get[bt(145)](){return this[bt(140)]}set[bt(145)](t){t&&(this[bt(140)]=t,this._key=void 0)}get outlineColor(){return this[bt(151)]}set[bt(150)](t){this.outlineColor=t,this._key=void 0}get[bt(147)](){return this._size}set size(t){this._size=t,this._key=void 0}get[bt(141)](){return this[bt(146)]}set[bt(141)](t){var e=bt;null!=t&&t!==this[e(146)]&&(this[e(146)]=t,this._key=void 0)}get[bt(158)](){return this._lineStyle}set[bt(158)](t){var e=bt;t!==this._lineStyle&&(this._lineStyle=t,this[e(144)]=void 0)}get[bt(143)](){return this[bt(132)]}set[bt(143)](t){var e=bt;null!=t&&t!==this[e(132)]&&(this[e(132)]=t,this[e(144)]=void 0)}constructor(t){var e=bt;t&&(this[e(162)]=t[e(157)],this[e(140)]=t[e(145)],this[e(151)]=t.outlineColor,this[e(160)]=t.size,this[e(146)]=t.thikness,this._lineStyle=t.lineStyle,this[e(132)]=t.offset)}}function Tt(){var t=["795978WtxkQu","toString","7zJLlef","symbolTexture","5194684fugrNK","_color","thikness","888445gdFcWE","offset","_key","color","_thikness","size","3193746wilPsf","join","outlineColor","_outlineColor","string","_symbolTexture","70qfpwHh","4FmgJAP","328MicqFr","image","lineStyle","50288bDasKh","_size","Key","_image","_offset","10221AneOdx","505483jYgRPm"];return(Tt=function(){return t})()}function Ct(){const t=["3136awvVgg","join","round","toHex","4psQVCq","toString","slice","2811745JBStDq","6876KwdIam","2QOrgWU","176355tMOXwP","7547309FGlGpw","3894660LzROSu","1957240fKonox","exec","1445421hmwRuW","fromHex"];return(Ct=function(){return t})()}const Rt=Dt;function Dt(t,e){t-=364;return Ct()[t]}!function(t){const e=Dt,s=t();for(;;)try{if(687670===-parseInt(e(370))/1*(-parseInt(e(369))/2)+parseInt(e(375))/3*(parseInt(e(364))/4)+parseInt(e(367))/5+parseInt(e(372))/6+-parseInt(e(371))/7+-parseInt(e(377))/8*(parseInt(e(368))/9)+parseInt(e(373))/10)break;s.push(s.shift())}catch(t){s.push(s.shift())}}(Ct);class Pt{constructor(t,e,s,i){this.r=void 0!==t?t:0,this.g=void 0!==e?e:0,this.b=void 0!==s?s:0,this.a=void 0!==i?i:1}static[Rt(376)](t,e=1){let s=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i[Rt(374)](t);if(s)return new Pt(parseInt(s[1],16)/255,parseInt(s[2],16)/255,parseInt(s[3],16)/255,e)}[Rt(380)](){const t=Rt;return"#"+((1<<24)+(Math[t(379)](255*this.r)<<16)+(Math[t(379)](255*this.g)<<8)+Math.round(255*this.b))[t(365)](16)[t(366)](1)}[Rt(365)](){const t=Rt;return[this.r,"_",this.g,"_",this.b,"_",this.a][t(378)]("")}}var Et,Lt,At;function Bt(t,e){return t-=112,Ft()[t]}function Ft(){var t=["9825093UmTmlG","3483912peopVJ","dot","520906RXDEUw","dashDot","shortDashDotDot","shortDash","6887664hGdrlW","114mvrbSt","995728cCMUwz","130172IjpqCh","longDashDot","shortDashDot","shortDot","dash","solid","46610aJZxvE","15tDHPxd"];return(Ft=function(){return t})()}function kt(){const t=["clear","getPointCount","ymin","enhance","length","push","4116560WefcQw","16058590hQAvhe","1203780cKHWbE","extent","889264vpljuo","xmax","7pidKNH","4840IOUSwq","6MGUdsE","projectPart","_extent","4021803tGrrdu","xmin","partList","_partExtents","ymax","project","6641736EqXLuW","updateExtent","1JAfVwh","getPartExtent"];return(kt=function(){return t})()}!function(t){for(var e=Bt,s=t();;)try{if(551853===parseInt(e(118))/1+-parseInt(e(124))/2+parseInt(e(114))/3*(parseInt(e(125))/4)+parseInt(e(113))/5*(-parseInt(e(123))/6)+-parseInt(e(122))/7+parseInt(e(116))/8+parseInt(e(115))/9)break;s.push(s.shift())}catch(t){s.push(s.shift())}}(Ft),(Lt=Et||(Et={}))[Lt[(At=Bt)(112)]=1]=At(112),Lt[Lt[At(121)]=2]=At(121),Lt[Lt[At(128)]=3]="shortDot",Lt[Lt[At(127)]=4]=At(127),Lt[Lt[At(120)]=5]=At(120),Lt[Lt[At(117)]=6]=At(117),Lt[Lt[At(129)]=7]=At(129),Lt[Lt.longDash=8]="longDash",Lt[Lt[At(119)]=9]=At(119),Lt[Lt[At(126)]=10]=At(126),Lt[Lt.longDashDotDot=11]="longDashDotDot";const Mt=zt;function zt(t,e){t-=198;return kt()[t]}!function(t){const e=zt,s=t();for(;;)try{if(616290===-parseInt(e(201))/1*(-parseInt(e(211))/2)+-parseInt(e(217))/3*(-parseInt(e(213))/4)+parseInt(e(216))/5+parseInt(e(199))/6*(parseInt(e(215))/7)+parseInt(e(209))/8+-parseInt(e(220))/9+-parseInt(e(210))/10)break;s.push(s.shift())}catch(t){s.push(s.shift())}}(kt);class Ut{get[Mt(212)](){const t=Mt;return void 0===this[t(219)]&&this[t(200)](),new k(this[t(219)].xmin,this[t(219)][t(205)],this._extent[t(214)],this._extent[t(224)])}constructor(t){const e=Mt;this[e(223)]=[],this[e(222)]=t||[]}[Mt(198)](t,e){const s=Mt;let i=new Ut;for(let r of this.partList){let n=this[s(218)](r,t,e);i.partList.push(n)}return i}[Mt(218)](t,e,s){const i=Mt;let r=[];for(let n of t){let t=w[i(198)](n,e,s);r[i(208)](t)}return r}[Mt(202)](t){const e=Mt;return this[e(222)][e(207)]-1<t?this[e(212)]:(void 0===this._extent&&this[e(200)](),this._partExtents[t])}[Mt(204)](){const t=Mt;let e=0;for(let s of this.partList)e+=s[t(207)];return e}[Mt(203)](){const t=Mt;this.partList=[],this[t(219)]=void 0}[Mt(200)](){const t=Mt;this[t(223)]=[];for(let e of this[t(222)]){let s=new k;s[t(221)]=e[0][0],s[t(214)]=e[0][0],s[t(205)]=e[0][1],s[t(224)]=e[0][1];for(let i of e)i[0]<s[t(221)]&&(s[t(221)]=i[0]),i[0]>s[t(214)]&&(s[t(214)]=i[0]),i[1]<s.ymin&&(s.ymin=i[1]),i[1]>s[t(224)]&&(s[t(224)]=i[1]);this[t(223)][t(208)](s)}let e=new k;this[t(223)].length>0&&(e=this[t(223)][0].clone());for(let s of this[t(223)])e[t(206)](s);this[t(219)]=e}}function Ot(t,e){t-=462;return jt()[t]}function jt(){const t=["615053BmhQaj","20879864DmiJOE","isCCW","3262295hYeOVm","2654664yiUMFa","1665111IzXHFH","2APuZkV","sub","length","getNormal","push","1961340ykZkeu","normalize","calculateNormals","1592424XVNBxH"];return(jt=function(){return t})()}const Gt=Ot;!function(t){const e=Ot,s=t();for(;;)try{if(389732===-parseInt(e(473))/1*(-parseInt(e(464))/2)+parseInt(e(469))/3+parseInt(e(472))/4+parseInt(e(476))/5+parseInt(e(462))/6+parseInt(e(463))/7+-parseInt(e(474))/8)break;s.push(s.shift())}catch(t){s.push(s.shift())}}(jt);class qt{static[Gt(471)](t){const e=Gt;let s=[];for(let i=0,r=t[e(466)]-1;i<r;i++){let r=t[i],n=t[i+1],h=w[e(467)](r,n),o=[0,0];y.vec2.normalize(o,h),s[e(468)](o)}let i=t[t[e(466)]-1],r=t[0],n=w[e(467)](i,r),h=[0,0];return y.vec2[e(470)](h,n),s[e(468)](h),s}static[Gt(475)](t){const e=Gt;let s=0;for(let i=0,r=t.length;i<r;i++){let r=t[i],n=i<t[e(466)]-1?t[i+1]:t[0];s+=r[0]*n[1]-r[1]*n[0]}return s<0}static isPointInside(t,e){const s=Gt;let i=0;for(let r=0,n=e[s(466)];r<n;r++){let n=e[r],h=r<e[s(466)]-1?e[r+1]:e[0];if((t[0]<n[0]||t[0]<h[0])&&(t[1]<n[1]&&t[1]>h[1]||t[1]>n[1]&&t[1]<h[1])){let e=[0,0];y.vec2[s(465)](e,[h[0],h[1]],[n[0],n[1]]);let r=e[0]/e[1];n[0]+r*(t[1]-n[1])>t[0]&&i++}}return i%2>0}}function Nt(){const t=["32732kLTUUt","miter","getPointOffset","_eps","partList","getPartOffset","direction","getClosestPoint","getOffsetPointOnDistance","computeTangent","intersectExtent","getPointDistance","lerp","63055DewSgJ","length","miterLength","getPointOnDistance","dot","calculateNormals","12826648MyTdSO","equals","computeMiterLen","filter","distance","getLength","sub","181578ZEnIJP","push","42VXZjBy","7763661UwSjMI","toPolygon","19742KwWpGO","28QkQkAE","getOffset","18325590tFDxiB","getDistanceFromLine","66YkOKbR"];return(Nt=function(){return t})()}const Xt=Ht;function Ht(t,e){t-=459;return Nt()[t]}!function(t){const e=Ht,s=t();for(;;)try{if(939360===parseInt(e(475))/1*(parseInt(e(478))/2)+parseInt(e(473))/3*(-parseInt(e(479))/4)+parseInt(e(460))/5*(-parseInt(e(483))/6)+-parseInt(e(484))/7+-parseInt(e(466))/8+parseInt(e(476))/9+parseInt(e(481))/10)break;s.push(s.shift())}catch(t){s.push(s.shift())}}(Nt);class Wt{static isValid(t){const e=Ht;if(void 0===t.partList||0===t[e(488)][e(461)])return!1;for(let s of t[e(488)])if(s[e(461)]<2)return!1;return!0}static[Xt(469)](t){const e=Xt;let s=new Ut,i=new Array;for(let s of t[e(488)]){let t=[];if(s.length>0){for(let i=0,r=s.length-1;i<r;i++){let r=s[i],n=s[i+1];y.vec2[e(467)](r,n)||t.push(r)}t[e(474)](s[s[e(461)]-1])}t[e(461)]>1&&i[e(474)](t)}return s[e(488)]=i,s}static getClosestPoint(t,e){const s=Xt;if(void 0===e[s(488)]||0===e.partList[s(461)])return;let i,r,n=[0,0];for(let h of e[s(488)])if(!(h[s(461)]<2))for(let e=0,o=h[s(461)]-1;e<o;e++){let o=h[e],a=h[e+1],l=w[s(482)](t,o,a,n,!0);(void 0===r||l<r)&&(i=[n[0],n[1]],r=l)}return i}static[Xt(495)](t,e){const s=Xt;var i=Wt[s(491)](t,e);if(i)return y.vec2[s(470)](i,t)}static[Xt(463)](t,e){const s=Xt;if(void 0===e[s(488)]||0===e[s(488)][s(461)])return null;let i,r=0;for(let n of e[s(488)]){if(void 0!==i)break;if(!(n.length<2))for(let e=0,h=n.length-1;e<h;e++){let h=n[e],o=n[e+1],a=y.vec2.distance(h,o);if(r+a>=t){let e=(t-r)/a,n=[0,0];y.vec2[s(459)](n,h,o,e),i=n;break}r+=a}}if(!i){let t=e.partList[e[s(488)].length-1];t[s(461)]>0&&(i=t[t.length-1])}return i}static[Xt(492)](t,e,s){const i=Xt;if(void 0===s[i(488)]||0===s[i(488)][i(461)])return null;let r,n,h=0;for(let o of s[i(488)]){if(void 0!==r)break;if(!(o[i(461)]<2))for(let s=0,a=o.length-1;s<a;s++){let a=o[s],l=o[s+1],u=y.vec2[i(470)](a,l);if(h+u>=t){let s=(t-h)/u,o=[0,0];y.vec2[i(459)](o,a,l,s),n=o,r=0===e?n:h+u>t?w[i(486)](n,l,e):w[i(486)](n,a,-e);break}h+=u}}if(!r){let t=s[i(488)][s[i(488)].length-1];t[i(461)]>1&&(n=t[t[i(461)]-1],r=0===e?n:w[i(486)](n,t[t[i(461)]-2],-e))}return r}static[Xt(471)](t){const e=Xt;if(!t[e(488)]||0===t.partList.length)return 0;let s=0;for(let i of t[e(488)])for(let t=0,r=i[e(461)]-1;t<r;t++)s+=y.vec2[e(470)](i[t],i[t+1]);return s}static[Xt(494)](t,e){const s=Xt;let i=t[s(477)](),r=qt[s(465)](i),n=i,h=e[s(488)];for(let i=0,o=h.length;i<o;i++){let o=h[i],a=e.getPartExtent(i);if(t.intersects(a))for(let t=0,e=o[s(461)]-1;t<e;t++){let e=!0,i=0,h=1,a=o[t],l=o[t+1],u=[0,0];y.vec2[s(472)](u,l,a);for(let t=0,o=n[s(461)];t<o;t++){let o=n[t],l=r[t],c=[0,0];y.vec2[s(472)](c,a,o);let f=y.vec2.dot(u,l),p=y.vec2.dot(c,l);if(f<Wt[s(487)]&&f>-Wt._eps){if(p<0){e=!1;break}}else{let t=-p/f;if(f<0){if(t<i){e=!1;break}t<h&&(h=t)}else{if(t>h){e=!1;break}t>i&&(i=t)}}}if(e&&i<h){if(i>=0)return!0;if(h<1||1===h&&t===o.length-2)return!0}}}return!1}static getPolylineSegments(t){const e=Xt;let s,i=[];for(let r=1,n=t[e(461)];r<n;r++){let n=t[r-1],h=t[r],o=r<t[e(461)]-1?t[r+1]:null,a=w[e(490)](h,n);if(s||(s=[-a[1],a[0]]),1===r){let t={miter:[-a[1],a[0]],miterLength:1,normal:[-a[1],a[0]],sign:1};i[e(474)](t)}if(o){let t=w[e(490)](o,h),s=w[e(493)](a,t),r=[-s[1],s[0]],n=w[e(468)](r,a,1),l=w[e(490)](a,t),u=y.vec2[e(464)](r,l),c={miter:r,miterLength:n,normal:[-a[1],a[0]],sign:u>0?1:-1};i[e(474)](c)}else{s=[-a[1],a[0]];let t={miter:[-a[1],a[0]],miterLength:1,normal:[-a[1],a[0]],sign:1};i.push(t)}}return i}static[Xt(480)](t,e,s){const i=Xt;let r=new Ut,n=-1;for(let h of t[i(488)]){n++;let t=e[n],o=Wt[i(489)](h,t,s);r[i(488)][i(474)](o)}return r}static[Xt(489)](t,e,s){const i=Xt;if(t[i(461)]<2)return[...t];let r=[],n=-1;for(let h of t){n++;let t=[0,0],o=e[n][i(462)]>=0?-s:s;y.vec2.scaleAndAdd(t,h,e[n][i(485)],o*e[n].miterLength),r.push(t)}return r}}Wt[Xt(487)]=1e-4;const Zt=Vt;function Vt(t,e){t-=139;return Yt()[t]}function Yt(){const t=["12miCRMx","symbol","getOffset","unbind","push","maxThickness","xmax","buildDataBuffers","projectionMatrix","intersectExtent","ymin","show","477029TYsLUG","_featureMapService","geometryType","410956wPSbOw","distance","renderHighlights","lineStyle","_isTmpState","ready","515391vQvQud","then","_dataBuffers","offset","search","7090140DIUSKN","render","color","8KkqCju","_highlightSymbol","updateSpatialTree","feature","pointToExtent","bind","_featureTree","mapRepaintRequired","_featureList","getFeatures","thikness","_eventService","forEach","1566AzHder","1232490JIaWvp","sort","_definition","geometry","usecache","1718100wPwhjK","setLineStyle","length","polyline","_featureCache","getPointDistance","apply","maxOffset","maxExtentOffset","setThickness","invalidSize","_highlightedFeatures","_destroyed","_featureCacheRenderer","1238ClgOqj","setColor","publish","map","resolution","sortFeaturesByDistance","renderCache","xmin","_spatialTreeOutdated"];return(Yt=function(){return t})()}!function(t){const e=Vt,s=t();for(;;)try{if(424126===parseInt(e(156))/1+parseInt(e(197))/2*(parseInt(e(177))/3)+parseInt(e(150))/4+parseInt(e(178))/5+parseInt(e(206))/6*(parseInt(e(147))/7)+parseInt(e(164))/8*(-parseInt(e(183))/9)+-parseInt(e(161))/10)break;s.push(s.shift())}catch(t){s.push(s.shift())}}(Yt);class Kt extends it{get[Zt(149)](){return q[Zt(186)]}get maxExtentOffset(){const t=Zt;return this[t(158)]?this[t(158)][t(190)]+this[t(158)][t(140)]:0}constructor(t,e){const s=Zt;super(t,e),this[s(148)]=t,this[s(180)]=e;let i=new wt;i[s(174)]=5,i[s(163)]=new Pt(0,1,1,1),i.lineStyle=Et.solid,this._highlightSymbol=i}update(t){return(0,P.__awaiter)(this,void 0,void 0,function*(){const e=Vt;return this[e(158)]=void 0,new Promise(s=>{const i=e;if(this[i(195)])return void s();this[i(205)]&&this[i(166)]();let r=this._dataBufferManager[i(142)](this.key,this[i(172)],this[i(149)]);r?r[i(155)][i(157)](()=>{const e=i;this[e(158)]=r,this.updatePosition(!1),t&&this[e(175)][e(199)](m[e(171)],null),s()}):s()})})}[Zt(203)](t){const e=Zt;!this._destroyed&&this[e(158)]&&this[e(187)]&&!this._featureCache[e(193)]&&(t[e(189)](this[e(200)].resolution,this[e(148)].renderer[e(143)]),this._featureCache[e(169)](),this[e(158)].bind(t),this[e(158)].render(t),this[e(158)][e(209)](t),this[e(187)].unbind(this[e(200)].bgColor))}[Zt(162)](t){const e=Zt;var s;!this._destroyed&&this._dataBuffers&&this[e(146)]&&(this[e(180)][e(182)]&&this[e(154)]&&this[e(187)]?null===(s=this[e(196)])||void 0===s||s[e(162)](this._featureCache):(this[e(158)].bind(t),this[e(158)][e(162)](t),this[e(158)][e(209)](t)))}[Zt(152)](t){const e=Zt;!this[e(195)]&&this[e(158)]&&0!==this._highlightedFeatures.count&&this[e(146)]&&(this._dataBuffers.bind(t),this[e(165)][e(163)]&&t[e(198)](this[e(165)][e(163)]),this[e(165)].thikness&&t[e(192)](this[e(165)].thikness),this._highlightSymbol[e(153)]&&t[e(184)](this[e(165)][e(153)]),this[e(194)][e(176)]((s,i)=>{s[e(162)](t.gl)}),this[e(158)].unbind(t))}[Zt(173)](t){const e=Zt;if(this[e(195)])return[];let s=this[e(170)][e(160)]({minX:t[e(204)],minY:t[e(145)],maxX:t[e(141)],maxY:t.ymax});if(0===s[e(185)])return[];let i=[];for(let r of s){let s=r.geometry;Wt[e(144)](t,s)&&i[e(139)](r)}return i}[Zt(202)](t,e){const s=Zt;var i;let r=[];for(let n of e){let e=n[s(181)];const h=n.geometrySegments;void 0!==(null===(i=n.symbol)||void 0===i?void 0:i[s(159)])&&h&&(e=Wt[s(208)](e,h,n[s(207)][s(159)]*this.map[s(201)]));let o=Wt[s(188)](t,e);r[s(139)]({feature:n,distance:o})}return r[s(179)]((t,e)=>t.distance-e[s(151)])[s(200)](t=>t[s(167)])}getSpatialQueryPointExtent(t){const e=Zt;if(this[e(191)]){let s=this[e(200)][e(201)]*this[e(191)]*this[e(200)].viewportScale;return new k(t[0]-s,t[1]-s,t[0]+s,t[1]+s)}return J[e(168)](t,this.map[e(201)])}}const Qt=$t;!function(t){const e=$t,s=t();for(;;)try{if(931027===parseInt(e(159))/1+parseInt(e(168))/2+-parseInt(e(163))/3*(parseInt(e(154))/4)+-parseInt(e(156))/5*(parseInt(e(166))/6)+-parseInt(e(153))/7*(-parseInt(e(164))/8)+-parseInt(e(155))/9+parseInt(e(165))/10*(parseInt(e(157))/11))break;s.push(s.shift())}catch(t){s.push(s.shift())}}(te);class Jt{static[Qt(158)](t,e){const s=Qt;let i=new Ut;if(t){let r=t.split(" "),n=Jt[s(167)](r[0]);i.partList=Jt[s(161)](r[1],e||1,n)}return i}static[Qt(167)](t){const e=Qt;let s=t[e(169)],i=0,r=[];for(;i<s;){let s,n=0,h=0;do{s=t.charCodeAt(i++)-63,h|=(31&s)<<n,n+=5}while(s>=32);let o=1&h?~(h>>1):h>>1;r[e(160)](o)}return r}static[Qt(161)](t,e,s){const i=Qt;let r=t.length,n=0,h=0,o=0,a=0,l=[],u=[];for(;n<r;){let r,c=0,f=0;do{r=t[i(162)](n++)-63,f|=(31&r)<<c,c+=5}while(r>=32);h+=1&f?~(f>>1):f>>1,c=0,f=0;do{r=t[i(162)](n++)-63,f|=(31&r)<<c,c+=5}while(r>=32);if(o+=1&f?~(f>>1):f>>1,l[i(169)]<s[a])l[i(160)]([h*e,o*e]);else{for(a++;0===s[a];)a++;l[i(169)]>0&&u[i(160)](l),l=[[h*e,o*e]]}}return l[i(169)]>0&&u[i(160)](l),u}}function $t(t,e){t-=153;return te()[t]}function te(){const t=["length","1925hmnTSm","284iyqKIo","4444074NjDkDU","5czgbhn","11kamKlo","decode","609670GSYoDM","push","decodePoints","charCodeAt","32571bqLCat","2680LsOyaD","12831310pdtfCS","4329132XtaBkB","decodeParts","1864512XviIhb"];return(te=function(){return t})()}const ee=ie;function se(){const t=["_polylineLayer","thikness","weight","color","key","img","opacity","414TiSuMM","14rOLUGE","solid","fromHex","assign","_featureMapService","usecache","3928686SUSOfA","1287320VrIHTI","clearPolylineFeatures","repaint","position","7173275QrFKjb","lineStyle","polyline","image","pointLayer","geo","attributes","show","point","then","_pointLayer","geometry","data","mapRepaintRequired","symbol","4hylXFC","findFeatures","height","width","getFeature","filter","3205326XhRosW","all","attributeNames","update","3454935wJBFIC","decode","destroy","polylineLayer","size","publish","offset","2xLiGRM","cleanFeatures","114368iOizuc","1254260UdmyGK","addPointFeatures"];return(se=function(){return t})()}function ie(t,e){t-=158;return se()[t]}!function(t){const e=ie,s=t();for(;;)try{if(812928===parseInt(e(190))/1*(parseInt(e(170))/2)+-parseInt(e(189))/3*(parseInt(e(209))/4)+parseInt(e(194))/5+-parseInt(e(159))/6*(parseInt(e(183))/7)+-parseInt(e(172))/8*(-parseInt(e(182))/9)+parseInt(e(173))/10+-parseInt(e(163))/11)break;s.push(s.shift())}catch(t){s.push(s.shift())}}(se);class re{constructor(t){const e=ie;this[e(187)]=t;{let t=new st;t[e(179)]=e(166),t[e(201)]=!0,t.usecache=!0,t[e(161)]=[],this[e(175)]=new Kt(this[e(187)],t)}{let t=new st;t.key=e(198),t[e(201)]=!0,t[e(188)]=!0,t[e(161)]=[],this._pointLayer=new mt(this[e(187)],t)}}[ee(165)](){delete this[ee(175)],delete this._pointLayer}[ee(210)](t){const e=ee;if(!this[e(187)])return;let s=this[e(187)].getSortedFeatures(t);if(s.length>0){return s.map(t=>t[e(206)].data)}}clearPointFeatures(t=!1){const e=ee;this[e(204)][e(171)](),t&&this[e(204)].update(!0)}[ee(191)](t=!1){const e=ee;this[e(175)].cleanFeatures(),t&&this[e(175)][e(162)](!0)}[ee(174)](t,e=!1){const s=ee;if(t){for(let e of t){let t=new wt;t[s(178)]=new Pt(1,0,0,1),t[s(197)]=e[s(180)],void 0===e[s(212)]&&void 0===e[s(211)]||(t.size=new l(e[s(212)],e[s(211)]));let i=new ct;i[s(179)]=e.id,i[s(193)]=[e.x,e.y],i[s(208)]=t,i[s(200)]=[],i[s(206)]=Object[s(186)](Object[s(186)]({},e),{type:s(202)});let r=new ft(i);this[s(204)].addFeature(r)}e&&this[s(204)][s(162)](!0)}}updatePointFeatures(t,e=!1){const s=ee;if(t){for(let e of t){let t=this[s(204)][s(213)](e.id);if(!t)continue;let i=t.data.data;void 0!==e[s(180)]&&null!==e[s(180)]||(e[s(180)]=i[s(180)]),void 0!==e.x&&null!==e.x||(e.x=i.x),void 0!==e.y&&null!==e.y||(e.y=i.y),void 0!==e[s(212)]&&null!==e[s(212)]||(e[s(212)]=i[s(212)]),void 0!==e[s(211)]&&null!==e[s(211)]||(e[s(211)]=i[s(211)]);let r=new wt;r[s(178)]=new Pt(1,0,0,1),r.image=e.img,void 0===e[s(212)]&&void 0===e[s(211)]||(r[s(167)]=new l(e[s(212)],e.height)),t.symbol=r,t[s(193)]=[e.x,e.y],t[s(206)][s(206)]=Object[s(186)](Object.assign({},e),{type:s(202)})}e&&this._pointLayer[s(162)](!0)}}addPolylineFeatures(t,e=!1){const s=ee;if(t){for(let e of t){let t=new wt;t[s(178)]=Pt[s(185)](e[s(178)],e[s(181)]),t[s(176)]=e.weight,t[s(195)]=Et[s(184)],t[s(169)]=e[s(169)];let i=Jt[s(164)](e[s(199)],1),r=Wt[s(158)](i),n=new yt;n[s(179)]=e.id,n[s(205)]=r,n[s(208)]=t,n[s(200)]=[],n.data=Object[s(186)](Object[s(186)]({},e),{type:s(196)});let h=new xt(n);this[s(175)].addFeature(h)}e&&this[s(175)][s(162)](!0)}}updatePolylineFeatures(t,e=!1){const s=ee;if(t){for(let e of t){let t=this[s(204)][s(213)](e.id);if(!t)continue;let i=t[s(206)][s(206)];void 0!==e[s(178)]&&null!==e[s(178)]||(e[s(178)]=i[s(178)]),void 0!==e[s(181)]&&null!==e[s(181)]||(e[s(181)]=i[s(181)]),void 0!==e[s(177)]&&null!==e[s(177)]||(e[s(177)]=i[s(177)]),void 0!==e[s(169)]&&null!==e[s(169)]||(e.offset=i[s(169)]),void 0!==e[s(199)]&&null!==e.geo||(e[s(199)]=i[s(199)]);let r=new wt;r[s(178)]=Pt.fromHex(e.color,e[s(181)]),r[s(176)]=e[s(177)],r[s(195)]=Et[s(184)],r[s(169)]=e[s(169)],t[s(208)]=r;let n=Jt.decode(e[s(199)],1),h=Wt[s(158)](n);t[s(205)]=h,t[s(206)][s(206)]=Object[s(186)](Object[s(186)]({},e),{type:"polyline"})}e&&this[s(175)][s(162)](!0)}}[ee(192)](){const t=ee;Promise[t(160)]([this[t(175)][t(162)](!1),this[t(204)][t(162)](!1)])[t(203)](()=>{const e=t;this[e(187)].eventService[e(168)](m[e(207)],null)})}}var ne=he;function he(t,e){return t-=456,oe()[t]}function oe(){var t=["22808871dqAjEB","png","directoryGoogle","4iJWzGs","26KFcETu","916780KlZtCQ","3670794Jaayqq","379904ZbedaF","settings","1418105rrJjYy","30321eGJzNJ","https://podklady.dopravniinfo.cz/tilemapcache/","defaultMapSettings","1237411HnjUWt"];return(oe=function(){return t})()}!function(t){for(var e=he,s=t();;)try{if(461443===-parseInt(e(459))/1+-parseInt(e(458))/2*(parseInt(e(464))/3)+parseInt(e(457))/4*(-parseInt(e(463))/5)+-parseInt(e(460))/6+-parseInt(e(467))/7+parseInt(e(461))/8+parseInt(e(468))/9)break;s.push(s.shift())}catch(t){s.push(s.shift())}}(oe);class ae{}ae[ne(466)]={mapSettings:{predefinedScales:[256e4,128e4,64e4,32e4,16e4,8e4,4e4,2e4,1e4,5e3,2500],center:[-681100,-1093530],scale:256e4,wkid:5514},composition:{tiledServices:{podklad:{src:ne(465),format:ne(469),name:"",show:!0,type:ne(456)}}}},ae[ne(462)]={default:{map:ae[ne(466)]}};class le{}const ue=ce;function ce(t,e){t-=402;return pe()[t]}!function(t){const e=ce,s=t();for(;;)try{if(281990===parseInt(e(409))/1+parseInt(e(404))/2+-parseInt(e(411))/3+-parseInt(e(419))/4*(parseInt(e(405))/5)+-parseInt(e(414))/6+parseInt(e(418))/7+-parseInt(e(402))/8*(-parseInt(e(423))/9))break;s.push(s.shift())}catch(t){s.push(s.shift())}}(pe);class fe{constructor(t){this.gl=t}[ue(415)](t,e){const s=ue;let i=this.gl,r=i[s(420)](e);if(null!==r){if(i[s(424)](r,t),i[s(415)](r),i[s(413)](r,i[s(408)]))return r;window[s(416)]&&window[s(416)].error(i.getShaderInfoLog(r))}}[ue(407)](t,e){const s=ue;let i=this.gl;var r=i[s(406)]();return null===r?(window.console&&window[s(416)][s(422)]("Nepodařilo se vytvořit shaderProgram."),0):(i[s(412)](r,t),i[s(412)](r,e),i[s(403)](r),i[s(417)](r,i.LINK_STATUS)?r:(window[s(416)]&&window[s(416)][s(422)](i[s(410)](r)),i[s(421)](r),0))}}function pe(){const t=["shaderSource","1600688WrfZwz","linkProgram","947378spMXeH","5huZTxp","createProgram","buildProgram","COMPILE_STATUS","327327MYNJRR","getProgramInfoLog","1625994QfWpXq","attachShader","getShaderParameter","2189778mrGWJD","compileShader","console","getProgramParameter","2130366zoLQbP","2066644FXWhca","createShader","deleteProgram","error","27HuZpME"];return(pe=function(){return t})()}const de=_e;function _e(t,e){t-=351;return me()[t]}function me(){const t=["ymin","9126693jSRjsx","_shaderBuilder","mapExtentUpdated","_projectionMatrix","1552964AHOzwf","1902410ZirOGq","ONE","clearColor","_bgColor","1405664OzlFPK","extent","34220KdpXMy","436146AjSfWN","ONE_MINUS_SRC_ALPHA","renderHighlights","viewportScale","583502yykUZg","_isWebgl2","8oWjPDy","blendFunc","viewport","subscribe","width","size","DEPTH_TEST","shaderBuilder","xmax","_gl","height","render","xmin","forEach","COLOR_BUFFER_BIT","clear","updateProjectionMatrix","_eventService","3arjkaa"];return(me=function(){return t})()}!function(t){const e=_e,s=t();for(;;)try{if(192953===parseInt(e(366))/1+-parseInt(e(371))/2*(-parseInt(e(353))/3)+parseInt(e(364))/4+parseInt(e(360))/5+-parseInt(e(367))/6+parseInt(e(359))/7*(parseInt(e(373))/8)+-parseInt(e(355))/9)break;s.push(s.shift())}catch(t){s.push(s.shift())}}(me);class ge{get gl(){return this[_e(382)]}get[de(380)](){return this[de(356)]}get projectionMatrix(){return this[de(358)]}get isWebgl2(){return this[de(372)]}get bgColor(){return this[de(363)]}set bgColor(t){const e=de;this[e(363)]=t,this[e(382)][e(362)](this[e(363)].r,this[e(363)].g,this[e(363)].b,this[e(363)].a)}constructor(t,e){const s=de;this[s(382)]=t,this._eventService=e,this[s(363)]=new Pt(1,1,1,1);let i=this._gl;this[s(372)]=i instanceof WebGL2RenderingContext,i[s(362)](this[s(363)].r,this[s(363)].g,this[s(363)].b,this[s(363)].a),i.disable(this._gl[s(379)]),i[s(374)](this[s(382)][s(361)],this[s(382)][s(368)]),this._shaderBuilder=new fe(i),this._projectionMatrix=y.mat4.create(),this[s(352)][s(376)](m[s(357)],t=>{const e=s;this[e(351)](t[e(365)])})}[de(351)](t){const e=de;y.mat4.ortho(this[e(358)],t[e(385)],t[e(381)],t[e(354)],t.ymax,-1,1)}[de(384)](t,e){const s=de;let i=this[s(382)];i[s(375)](0,0,t[s(378)][s(377)]*t[s(370)],t[s(378)][s(383)]*t[s(370)]),i[s(388)](this[s(382)][s(387)]),e[s(386)]((e,i)=>{e[s(384)](t)}),e[s(386)]((e,i)=>{e[s(369)](t)})}destroy(){const t=de;delete this[t(356)],delete this[t(358)],delete this[t(363)],delete this[t(352)],delete this[t(382)]}}const Ie=ve;function ve(t,e){t-=280;return xe()[t]}!function(t){const e=ve,s=t();for(;;)try{if(172594===parseInt(e(363))/1+-parseInt(e(354))/2*(-parseInt(e(295))/3)+parseInt(e(283))/4*(parseInt(e(292))/5)+parseInt(e(350))/6+parseInt(e(320))/7*(parseInt(e(338))/8)+-parseInt(e(347))/9+-parseInt(e(352))/10)break;s.push(s.shift())}catch(t){s.push(s.shift())}}(xe);class ye{get gl(){return this[ve(353)]}constructor(t,e){const s=ve;this._gl=t,this[s(324)]=e,this[s(307)]=null,this._hSize=null,this[s(357)]=null,this[s(290)]=null,this._hSampler=null,this[s(359)]=null,this[s(296)]=null,this[s(364)]=-1,this[s(330)]=-1,this[s(285)]=-1,this[s(346)]=null;let i=this[s(353)],r=[s(282),s(356),"uniform float u_resolution;",s(325),"attribute vec2 a_normal;","attribute vec2 a_textureCoord;",s(334),"void main() {",s(280),s(322),s(358),"}"].join("");if(this[s(312)]=this[s(324)].compileShader(r,i[s(331)]),!this[s(312)])return;let n=[s(289),s(334),"uniform vec4 u_color;",s(305),s(286),s(315),s(336),s(284),s(303)," gl_FragColor = vec4(0.0, 1.0, 1.0, u_color.a);",s(332),s(335)," gl_FragColor = u_color;",s(298),s(311),s(293),s(303)," if (texel.a > 0.0)",s(317),s(344),s(314),s(332)," else",s(329),s(298),"}"][s(340)]("");this[s(321)]=this[s(324)][s(328)](n,i.FRAGMENT_SHADER),this[s(321)]&&(this[s(362)]=this._shaderBuilder[s(342)](this[s(312)],this[s(321)]),this[s(307)]=i[s(316)](this[s(362)],s(297)),this[s(326)]=i.getUniformLocation(this[s(362)],s(287)),this[s(357)]=i[s(316)](this[s(362)],"u_resolution"),this._hColor=i[s(316)](this[s(362)],s(306)),this[s(359)]=i.getUniformLocation(this[s(362)],s(318)),this[s(296)]=i[s(316)](this[s(362)],"u_highlight"),this[s(300)]=i[s(316)](this[s(362)],s(360)),this[s(364)]=i.getAttribLocation(this._hShaderProgram,s(308)),this[s(330)]=i[s(341)](this[s(362)],s(351)),this[s(285)]=i[s(341)](this._hShaderProgram,s(339)))}[Ie(319)](t,e){const s=Ie;if(!this._hShaderProgram)return;let i=this[s(353)];this[s(348)]=t,this[s(301)]=void 0,this[s(288)]=void 0,this._prevTexture=null,this[s(302)]=void 0,this._prevhighlight=void 0,i.activeTexture(i[s(343)]),i[s(299)](this[s(362)]),i[s(309)](this._hProjectionMatrix,!1,e),i[s(355)](this[s(300)],0),i[s(333)](this[s(357)],t)}setSize(t){const e=Ie;if(!t)return void(this[e(301)]=t);if(this[e(301)]&&this[e(301)].equal(t))return;let s=this[e(353)];this[e(301)]=t,s[e(349)](this[e(326)],t.width,t[e(281)])}[Ie(313)](t){const e=Ie;if(this._prevColor===t)return;let s=this[e(353)];this[e(288)]=t,s[e(361)](this[e(290)],t.r,t.g,t.b,t.a)}[Ie(345)](t){const e=Ie;if(this[e(346)]===t)return;let s=this[e(353)];this[e(346)]=t,s[e(323)](s.TEXTURE_2D,t)}[Ie(337)](t){const e=Ie;if(this[e(302)]===t)return;let s=this[e(353)];this[e(302)]=t,s[e(355)](this[e(359)],t)}[Ie(291)](t){const e=Ie;if(this[e(310)]===t)return;let s=this[e(353)];this[e(310)]=t,s[e(355)](this[e(296)],t)}[Ie(327)](){const t=Ie;let e=this._gl;this[t(362)]&&e[t(294)](this[t(362)]),this[t(321)]&&e[t(304)](this[t(321)]),this[t(312)]&&e[t(304)](this[t(312)]),delete this._hShaderProgram,delete this[t(321)],delete this[t(312)],delete this[t(307)],delete this._hSize,delete this[t(357)],delete this._hColor,delete this[t(300)],delete this[t(359)],delete this[t(296)],delete this[t(346)],delete this[t(353)]}}function xe(){const t=["a_position","uniformMatrix4fv","_prevhighlight"," else {","_vertexShader","setColor"," gl_FragColor = vec4(0.0, 0.0, 0.0, 0.0);","uniform sampler2D u_sampler;","getUniformLocation"," gl_FragColor = vec4(0.0, 1.0, 1.0, texel.a);","u_usecolor","apply","143675nvpcpg","_fragmentShader"," gl_Position = u_projectionMatrix * vec4(pointPos, 1.0);","bindTexture","_shaderBuilder","attribute vec2 a_position;","_hSize","destroy","compileShader"," gl_FragColor= vec4(texel.rgb * texel.a, texel.a);","hNormal","VERTEX_SHADER"," }","uniform1f","varying highp vec2 v_textureCoord;"," else","void main() {","setUseColor","8XnQEqL","a_textureCoord","join","getAttribLocation","buildProgram","TEXTURE0"," else","setTexture","_prevTexture","483930vLkvIX","_resolution","uniform2f","1111086DkFAyq","a_normal","3751230pUIHay","_gl","28676sjZhNs","uniform1i","uniform vec2 u_size;","_hResolution"," v_textureCoord = a_textureCoord;","_hUseColor","u_sampler","uniform4f","_hShaderProgram","225140qoNiTx","hPosition"," vec3 pointPos = vec3(a_position, 0.0) + vec3(a_normal * u_size * u_resolution, 1.0);","height","uniform mat4 u_projectionMatrix;","89316IaHHFP"," if (u_usecolor > 0) {","hTextureCoord","uniform int u_highlight;","u_size","_prevColor","precision mediump float;","_hColor","setHighlight","35HyjpHa"," vec4 texel = texture2D(u_sampler, v_textureCoord);","deleteProgram","3kTWUxG","_hHighlight","u_projectionMatrix"," }","useProgram","_hSampler","_prevSize","_prevUseColor"," if (u_highlight > 0) {","deleteShader","uniform int u_usecolor;","u_color","_hProjectionMatrix"];return(xe=function(){return t})()}const be=we;function Se(){const t=["335645yUHVml"," } else if (u_linestyle == 3) {"," gl_FragColor = getLine11Color(pixD);","join","_hShaderProgram"," } else if (u_linestyle == 2) {","setColor","u_color","hLineMiter"," }","6015246YVOulc"," float offset = u_offset;"," if (relD > 0.3333 && relD < 0.619 || relD > 0.7143) return vec4(0.0, 0.0, 0.0, 0.0);"," float pixD = v_distance / u_resolution;","uniform mat4 u_projectionMatrix;"," } else if (u_linestyle == 4) {"," } else if (u_linestyle == 5) {","destroy"," gl_FragColor = getLine2Color(pixD);","_prevLineStyle","_hLineStyle","3LGpFfa"," gl_FragColor = u_color;","vec4 getLine2Color(float pixD) {","uniform int u_linestyle;"," } else if (u_linestyle == 7) {","_prevOffset","_shaderBuilder","hPosition"," const float partLength = 42.0;","_resolution","hDistance"," gl_Position = u_projectionMatrix * vec4(pointPos, 1.0);","setThickness"," } else if (u_linestyle == 11) {","2608998vMjnRq"," } else if (u_linestyle == 6) {"," } else if (u_linestyle == 9) {"," gl_FragColor = getLine8Color(pixD);","u_thickness","3498148ULclsc"," if (relD > 0.7) return vec4(0.0, 0.0, 0.0, 0.0);"," if (relD > 0.375 && relD < 0.5 || relD > 0.625 && relD < 0.75 || relD > 0.875) return vec4(0.0, 0.0, 0.0, 0.0);"," if (relD > 0.25) return vec4(0.0, 0.0, 0.0, 0.0);","uniformMatrix4fv"," if (relD > 0.5 && relD < 0.6667 || relD > 0.8333) return vec4(0.0, 0.0, 0.0, 0.0);","setOffset"," } else if (u_linestyle == 10) {"," return u_color;","3795385srhTBz"," if (relD > 0.5 && relD < 0.7143 || relD > 0.7857) return vec4(0.0, 0.0, 0.0, 0.0);"," v_distance = a_distance;","995602AAhttr","uniform1f"," gl_FragColor = getLine7Color(pixD);","vec4 getLine9Color(float pixD) {","20076216OgERzo","compileShader","_hThickness","_gl","VERTEX_SHADER","u_resolution"," gl_FragColor = getLine3Color(pixD);"," gl_FragColor = getLine9Color(pixD);","_vertexShader","vec4 getLine8Color(float pixD) {","_hProjectionMatrix","getUniformLocation"," } else if (u_linestyle == 8) {","attribute float a_distance;"," const float partLength = 40.0;"," const float partLength = 24.0;"," float relD = mod(pixD, partLength) / partLength;","_hColor","vec4 getLine10Color(float pixD) {","deleteProgram","precision mediump float;"," } else {","vec4 getLine11Color(float pixD) {","_prevThickness","uniform float u_thickness;","a_position"," const float partLength = 8.0;","_hOffset","FRAGMENT_SHADER","getAttribLocation","_fragmentShader"," gl_FragColor = getLine10Color(pixD);","_hResolution","uniform vec4 u_color;"," const float partLength = 56.0;","deleteShader"," gl_FragColor = getLine5Color(pixD);"," const float partLength = 32.0;","hLineNormal","varying float v_distance;"," const float partLength = 16.0;","a_distance","vec4 getLine7Color(float pixD) {"," if (relD > 0.75) return vec4(0.0, 0.0, 0.0, 0.0);"," gl_FragColor = getLine4Color(pixD);"," if (relD > 0.3889 && relD < 0.5556 || relD > 0.6111 && relD < 0.7778 || relD > 0.8333) return vec4(0.0, 0.0, 0.0, 0.0);","u_projectionMatrix","a_lineNormal"," const float partLength = 72.0;","_prevColor"," if (relD > 0.5) return vec4(0.0, 0.0, 0.0, 0.0);"," if (a_lineMiter >= 0.0) offset = -u_offset;"];return(Se=function(){return t})()}function we(t,e){t-=284;return Se()[t]}!function(t){const e=we,s=t();for(;;)try{if(661498===-parseInt(e(369))/1+parseInt(e(313))/2+-parseInt(e(390))/3*(-parseInt(e(301))/4)+parseInt(e(310))/5+parseInt(e(379))/6+parseInt(e(296))/7+-parseInt(e(317))/8)break;s.push(s.shift())}catch(t){s.push(s.shift())}}(Se);class Te{get gl(){return this[we(320)]}constructor(t,e){const s=we;this[s(320)]=t,this[s(288)]=e,this._hProjectionMatrix=null,this._hThickness=null,this[s(344)]=null,this[s(334)]=null,this[s(349)]=null,this[s(389)]=null,this[s(289)]=-1,this[s(377)]=-1,this.hLineNormal=-1,this[s(292)]=-1;var i=[s(383),s(341),"uniform float u_offset;","attribute vec2 a_position;","attribute float a_lineMiter;","attribute vec2 a_lineNormal;",s(330),s(356),"void main() {",s(380),s(368)," vec3 pointPos = vec3(a_position, 0.0) + vec3(a_lineNormal * (offset + u_thickness / 2.0) * a_lineMiter, 1.0);",s(293),s(312),"}"][s(372)]("");if(this._vertexShader=this[s(288)][s(318)](i,this._gl[s(321)]),!this[s(325)])return;let r=[s(337),s(350),s(285),"uniform float u_resolution;","varying float v_distance;",s(284),s(357),s(333),s(360),s(309),"}","vec4 getLine3Color(float pixD) {",s(343),s(333),s(367),s(309),"}","vec4 getLine4Color(float pixD) {",s(332),s(333),s(306),s(309),"}","vec4 getLine5Color(float pixD) {",s(354),s(333),s(303),s(309),"}","vec4 getLine6Color(float pixD) {",s(357)," float relD = mod(pixD, partLength) / partLength;",s(304),s(309),"}",s(359)," const float partLength = 26.0;",s(333)," if (relD > 0.5385) return vec4(0.0, 0.0, 0.0, 0.0);",s(309),"}",s(326),s(331),s(333),s(302)," return u_color;","}",s(316),s(290)," float relD = mod(pixD, partLength) / partLength;",s(381),s(309),"}",s(335),s(351),s(333),s(311)," return u_color;","}",s(339),s(365),s(333),s(362),s(309),"}","void main() {",s(382)," if (u_linestyle == 1) {",s(391),s(374),s(387),s(370),s(323),s(384),s(361),s(385),s(353),s(297)," gl_FragColor = getLine6Color(pixD);",s(286),s(315),s(329),s(299),s(298),s(324),s(308),s(348),s(295),s(371),s(338)," gl_FragColor = u_color;",s(378),"}"][s(372)]("");this[s(347)]=this[s(288)][s(318)](r,this[s(320)][s(345)]),this._fragmentShader&&(this[s(373)]=this._shaderBuilder.buildProgram(this[s(325)],this[s(347)]),this[s(327)]=this.gl.getUniformLocation(this._hShaderProgram,s(363)),this[s(319)]=this.gl[s(328)](this[s(373)],s(300)),this[s(334)]=this.gl[s(328)](this[s(373)],s(376)),this._hResolution=this.gl[s(328)](this._hShaderProgram,s(322)),this._hLineStyle=this.gl[s(328)](this[s(373)],"u_linestyle"),this[s(344)]=this.gl[s(328)](this[s(373)],"u_offset"),this[s(289)]=this.gl[s(346)](this[s(373)],s(342)),this[s(377)]=this.gl.getAttribLocation(this[s(373)],"a_lineMiter"),this[s(355)]=this.gl[s(346)](this[s(373)],s(364)),this[s(292)]=this.gl[s(346)](this._hShaderProgram,s(358)))}apply(t,e){const s=we;let i=this[s(320)];void 0!==i&&void 0!==this[s(373)]&&(this[s(291)]=t,this._prevThickness=void 0,this._prevColor=void 0,this[s(287)]=void 0,i.useProgram(this[s(373)]),i.uniform1f(this._hResolution,this[s(291)]),i.uniform1f(this[s(344)],0),i[s(305)](this[s(327)],!1,e))}[be(294)](t){const e=be;if(this[e(340)]===t)return;let s=this[e(320)];void 0!==s&&(this[e(340)]=t,s[e(314)](this._hThickness,t*(this[e(291)]||1)))}[be(307)](t){const e=be;if(this[e(287)]===t)return;let s=this[e(320)];if(void 0===s)return;this[e(287)]=t;let i=t;void 0===i&&(i=0),s[e(314)](this[e(344)],(this[e(291)]||1)*i)}[be(375)](t){const e=be;if(this[e(366)]===t)return;let s=this[e(320)];void 0!==s&&(this[e(366)]=t,s.uniform4f(this[e(334)],t.r,t.g,t.b,t.a))}setLineStyle(t){const e=be;if(this._prevLineStyle===t)return;void 0!==this._gl&&(this[e(388)]=t,this.gl.uniform1i(this[e(389)],t))}[be(386)](){const t=be;let e=this._gl;this[t(373)]&&e[t(336)](this._hShaderProgram),this[t(347)]&&e.deleteShader(this[t(347)]),this._vertexShader&&e[t(352)](this[t(325)]),delete this._hShaderProgram,delete this[t(327)],delete this[t(319)],delete this[t(344)],delete this[t(334)],delete this[t(349)],delete this._hLineStyle,delete this[t(325)],delete this._fragmentShader,delete this[t(288)],delete this[t(320)]}}function Ce(t,e){return t-=113,Re()[t]}function Re(){var t=["16NNujbY","18tozMlR","32uopLSd","5696952mKkQmp","2651lfQxFz","2CmvjQH","33530XdhSWK","5351013Iwhspi","292683wneQDn","1412824ohGTSB","hTexture","13fimuNZ","424955RFYnZy","186258rkFEUc"];return(Re=function(){return t})()}!function(t){for(var e=Ce,s=t();;)try{if(473252===parseInt(e(125))/1*(-parseInt(e(122))/2)+-parseInt(e(116))/3*(-parseInt(e(119))/4)+-parseInt(e(115))/5*(parseInt(e(118))/6)+-parseInt(e(126))/7*(parseInt(e(117))/8)+parseInt(e(124))/9+parseInt(e(123))/10*(parseInt(e(121))/11)+-parseInt(e(120))/12*(parseInt(e(114))/13))break;s.push(s.shift())}catch(t){s.push(s.shift())}}(Re);class De{constructor(){this[Ce(113)]=null}}function Pe(){var t=["36fqARcn","4ntgwgP","5749400SqbAJL","deleted","undefined","490XTeOOl","383072pvuPtn","3219528LXUlWZ","error","77502YgGadP","5340076qOKIeo","4636618PiRjli","388357MoYlXO","loaded"];return(Pe=function(){return t})()}function Ee(t,e){return t-=341,Pe()[t]}var Le,Ae,Be;!function(t){for(var e=Ee,s=t();;)try{if(818469===parseInt(e(341))/1*(parseInt(e(344))/2)+-parseInt(e(350))/3+parseInt(e(353))/4+-parseInt(e(348))/5*(parseInt(e(352))/6)+parseInt(e(354))/7+parseInt(e(349))/8*(-parseInt(e(343))/9)+parseInt(e(345))/10)break;s.push(s.shift())}catch(t){s.push(s.shift())}}(Pe),Ae=Le||(Le={}),Be=Ee,Ae[Ae[void 0]=0]=Be(347),Ae[Ae.loaded=1]=Be(342),Ae[Ae[Be(351)]=2]=Be(351),Ae[Ae.deleted=3]=Be(346);const Fe=Me;function ke(){const t=["geTexture","LINEAR","deleteTexture","remove","_textures","TEXTURE_MIN_FILTER","forEach","1066044YMcEBY","deleted","then","get","7MwcmZT","loadImage","1312650KycIiv","image","bindTexture","hTexture","log","TEXTURE_MAG_FILTER","3527094iVwHff","console","clean","undefined","createTexture","add","115HjSrnh","texImage2D","_gl","CLAMP_TO_EDGE","loaded","loader","914760QVliRx","buildTexture","TEXTURE_2D","key","1608834rofFTc","TEXTURE_WRAP_T","22028lwJOZt","texParameteri","state","381325wbmMWq"];return(ke=function(){return t})()}function Me(t,e){t-=414;return ke()[t]}!function(t){const e=Me,s=t();for(;;)try{if(298424===-parseInt(e(436))/1+parseInt(e(444))/2+-parseInt(e(431))/3+parseInt(e(433))/4*(parseInt(e(421))/5)+parseInt(e(415))/6*(parseInt(e(448))/7)+parseInt(e(427))/8+-parseInt(e(450))/9)break;s.push(s.shift())}catch(t){s.push(s.shift())}}(ke);class ze{constructor(t){const e=Me;this[e(423)]=t,this[e(441)]=new d}[Fe(437)](t){return(0,P.__awaiter)(this,void 0,void 0,function*(){return new Promise(e=>{const s=Me;let i=this._textures[s(447)](t[s(430)]);i?e(i):(i=new De,i.key=t[s(430)],i[s(435)]=Le[s(418)],this[s(441)][s(420)](t.key,i),r[s(426)][s(449)](t[s(451)])[s(446)](t=>{const r=s,n=i;n[r(435)]!==Le.deleted&&(n[r(451)]=t,n[r(453)]=this[r(428)](t),n.state=Le[r(425)],e(n))}).catch(t=>{const r=s,n=i;n[r(435)]!==Le[r(445)]&&(n[r(435)]=Le.error,e(n))}))})})}buildTexture(t){const e=Fe;let s=null,i=this[e(423)];try{s=i[e(419)](),i[e(452)](i[e(429)],s),i[e(422)](i[e(429)],0,i.RGBA,i.RGBA,i.UNSIGNED_BYTE,t),i[e(434)](i[e(429)],i[e(442)],i[e(438)]),i[e(434)](i[e(429)],i[e(414)],i[e(438)]),i.texParameteri(i.TEXTURE_2D,i.TEXTURE_WRAP_S,i[e(424)]),i.texParameteri(i[e(429)],i[e(432)],i.CLAMP_TO_EDGE)}catch(t){window[e(416)]&&window.console[e(454)](t),s=null}return s}[Fe(439)](t){const e=Fe;let s=this[e(441)][e(447)](t);void 0!==s&&(s.image=void 0,s[e(435)]===Le[e(425)]&&(this[e(423)][e(439)](s[e(453)]),s[e(435)]=Le[e(445)]),this[e(441)][e(440)](t))}destroy(){const t=Fe;this[t(441)][t(443)]((t,e)=>{this.deleteTexture(t)}),this[t(441)][t(417)](),delete this._textures,delete this[t(423)]}}var Ue=je;function Oe(){var t=["destroy","340478PdLTNa","7013664lUfzNL","119412MiGdmV","723065giDrXf","features","clean","3012mrRkKZ","1RcBsRZ","1358mNXCee","2073904SzltfO","645568pDDxbP"];return(Oe=function(){return t})()}function je(t,e){return t-=253,Oe()[t]}!function(t){for(var e=je,s=t();;)try{if(713952===-parseInt(e(255))/1*(-parseInt(e(260))/2)+-parseInt(e(262))/3+-parseInt(e(257))/4+parseInt(e(263))/5+-parseInt(e(254))/6*(-parseInt(e(256))/7)+parseInt(e(258))/8+parseInt(e(261))/9)break;s.push(s.shift())}catch(t){s.push(s.shift())}}(Oe);class Ge{constructor(t){var e=je;this.symbol=t,this[e(264)]=new d}[Ue(259)](){var t=Ue;this[t(264)][t(253)](),delete this.features}}function qe(){const t=["vertexAttribPointer","unbind","setColor","deleteBuffer","_destroyed","setTexture","STATIC_DRAW","hTexture","ready","destroy","symbol","createBuffer","12hxRzrn","pointSize","hPosition","ARRAY_BUFFER","_normals","_normalBuffer","symbolTexture","236243Vtjhii","hTextureCoord","geTexture","6609555qfQjWT","394288jlrdKs","344155yZbhCh","_elementCount","_positionBuffer","_symbolGroups","key","_symbolTextureManager","6940352WLsiLD","position","startIndex","color","count","BLEND","image","bind","_features","FLOAT","_positions","features","_texcoordsBuffer","155570gpnSZf","symbols","12sRYhXc","clean","bindBuffer","enableVertexAttribArray","featureDataBuffers","size","render","_gl","1536336VTzkYO","setSize","add","Key","_texCoords","hNormal","_maximumPointSize","elementCount","disable","build","disableVertexAttribArray","all","then","push","enable","bufferData","setUseColor","width","forEach","_readyResolve","updateSymbolic","height"];return(qe=function(){return t})()}function Ne(t,e){t-=432;return qe()[t]}const Xe=Ne;!function(t){const e=Ne,s=t();for(;;)try{if(472406===-parseInt(e(472))/1+parseInt(e(471))/2+parseInt(e(501))/3+-parseInt(e(493))/4*(parseInt(e(491))/5)+parseInt(e(460))/6*(parseInt(e(467))/7)+parseInt(e(478))/8+-parseInt(e(470))/9)break;s.push(s.shift())}catch(t){s.push(s.shift())}}(qe);class He{get[Xe(433)](){return this[Xe(473)]}get maximumPointSize(){return this._maximumPointSize}get[Xe(492)](){const t=Xe;let e=[];return this[t(475)]?(this._symbolGroups[t(444)](s=>{const i=t;e[i(439)](s[i(458)])}),e):e}constructor(t,e,s){const i=Xe;this[i(500)]=t,this[i(477)]=e,this._features=s,this[i(473)]=0,this[i(432)]=V.pointSize,this[i(452)]=!1,this.ready=new Promise(t=>{this[i(445)]=t}),this[i(435)]()}[Xe(435)](){const t=Xe;this._elementCount=6*this[t(486)][t(482)],this._positions=new Float32Array(2*this._elementCount),this._normals=new Float32Array(2*this[t(473)]),this[t(505)]=new Float32Array(2*this._elementCount);let e=0,s=0,i=0;this[t(486)][t(444)]((r,n)=>{const h=t;r[h(480)]=e/2,r[h(433)]=6,r[h(497)]=this,this[h(488)][e++]=r[h(479)][0],this[h(488)][e++]=r[h(479)][1],this[h(464)][s++]=-.5,this[h(464)][s++]=.5,this[h(505)][i++]=0,this[h(505)][i++]=0,this[h(488)][e++]=r[h(479)][0],this._positions[e++]=r[h(479)][1],this[h(464)][s++]=-.5,this[h(464)][s++]=-.5,this[h(505)][i++]=0,this._texCoords[i++]=1,this[h(488)][e++]=r[h(479)][0],this[h(488)][e++]=r[h(479)][1],this[h(464)][s++]=.5,this[h(464)][s++]=-.5,this._texCoords[i++]=1,this[h(505)][i++]=1,this._positions[e++]=r.position[0],this[h(488)][e++]=r[h(479)][1],this[h(464)][s++]=.5,this[h(464)][s++]=-.5,this._texCoords[i++]=1,this[h(505)][i++]=1,this[h(488)][e++]=r[h(479)][0],this[h(488)][e++]=r.position[1],this[h(464)][s++]=-.5,this[h(464)][s++]=.5,this._texCoords[i++]=0,this[h(505)][i++]=0,this[h(488)][e++]=r[h(479)][0],this[h(488)][e++]=r[h(479)][1],this[h(464)][s++]=.5,this[h(464)][s++]=.5,this._texCoords[i++]=1,this._texCoords[i++]=0}),this._positionBuffer=this._gl[t(459)](),this._gl.bindBuffer(this[t(500)][t(463)],this[t(474)]),this[t(500)][t(441)](this[t(500)][t(463)],this[t(488)],this[t(500)][t(454)]),this[t(465)]=this[t(500)].createBuffer(),this[t(500)][t(495)](this._gl[t(463)],this[t(465)]),this[t(500)][t(441)](this._gl[t(463)],this[t(464)],this._gl[t(454)]),this[t(490)]=this[t(500)][t(459)](),this[t(500)][t(495)](this[t(500)][t(463)],this[t(490)]),this._gl[t(441)](this[t(500)][t(463)],this[t(505)],this[t(500)][t(454)]),this.updateSymbolic()[t(438)](()=>{this._destroyed||this._readyResolve()})}[Xe(446)](){const t=Xe;this[t(475)]=new d;let e=[];return this[t(432)]=V[t(461)],this._features[t(444)](s=>{const i=t;let r=s[i(458)],n=this[i(475)].get(r.Key);n||(n=new Ge(r),this._symbolGroups[i(503)](r.Key,n),void 0!==r[i(484)]?e[i(439)](this[i(477)][i(469)]({key:r[i(504)],image:r[i(484)]})):r[i(498)]&&(r[i(498)][i(443)]>this[i(432)].width&&(this._maximumPointSize[i(443)]=r[i(498)][i(443)]),r.size[i(447)]>this[i(432)][i(447)]&&(this._maximumPointSize[i(447)]=r[i(498)].height))),n[i(489)].add(s[i(476)],s)}),new Promise(s=>{const i=t;Promise[i(437)](e)[i(438)](t=>{const e=i;this[e(475)]?(this[e(475)][e(444)]((s,i)=>{const r=e;let n=s[r(458)];if(void 0!==n[r(484)])for(let e of t)if(e[r(476)]===i){if(n[r(466)]=e,!e[r(484)])continue;if(void 0===n.size)n[r(498)]=new l(e.image.width,e.image[r(447)]);else if(n.size[r(443)]>0&&0===n.size[r(447)]){let t=n.size[r(443)]/e[r(484)][r(443)];n[r(498)][r(447)]=t*e[r(484)].height}else if(0===n.size[r(443)]&&n[r(498)].height>0){let t=n[r(498)][r(447)]/e[r(484)][r(447)];n[r(498)][r(443)]=t*e[r(484)].width}else 0===n.size[r(443)]&&0===n.size.height&&(n[r(498)]=new l(e[r(484)][r(443)],e.image[r(447)]));void 0!==n[r(498)]&&(n[r(498)].width>this[r(432)][r(443)]&&(this._maximumPointSize[r(443)]=n.size[r(443)]),n[r(498)][r(447)]>this[r(432)][r(447)]&&(this._maximumPointSize.height=n.size.height));break}s[r(489)][r(444)](t=>{t.symbol=n})}),s(null)):s(null)})})}updatePositions(){const t=Xe;let e=this[t(500)];if(void 0===e)return;if(void 0===this._features)return;let s=0;this[t(486)][t(444)](e=>{const i=t;this._positions[s++]=e[i(479)][0],this[i(488)][s++]=e.position[1],this[i(488)][s++]=e[i(479)][0],this._positions[s++]=e[i(479)][1],this[i(488)][s++]=e[i(479)][0],this[i(488)][s++]=e[i(479)][1],this[i(488)][s++]=e[i(479)][0],this[i(488)][s++]=e[i(479)][1],this[i(488)][s++]=e[i(479)][0],this[i(488)][s++]=e[i(479)][1],this[i(488)][s++]=e[i(479)][0],this[i(488)][s++]=e[i(479)][1]}),e.bindBuffer(e[t(463)],this[t(474)]),e[t(441)](e[t(463)],this[t(488)],e[t(454)])}[Xe(485)](t){const e=Xe;let s=this[e(500)];if(void 0===s)return;s.bindBuffer(s.ARRAY_BUFFER,this[e(474)]);let i=t[e(462)];s[e(448)](i,2,s[e(487)],!1,0,0),s.enableVertexAttribArray(i),s[e(495)](s[e(463)],this[e(465)]);var r=t[e(506)];s[e(448)](r,2,s[e(487)],!1,0,0),s[e(496)](r),s[e(495)](s.ARRAY_BUFFER,this._texcoordsBuffer);var n=t[e(468)];s.vertexAttribPointer(n,2,s.FLOAT,!1,0,0),s.enableVertexAttribArray(n),s[e(440)](s.BLEND)}[Xe(449)](t){const e=Xe;let s=this._gl;if(void 0===s)return;s[e(434)](s[e(483)]);let i=t[e(462)];s[e(436)](i);var r=t[e(506)];s[e(436)](r);var n=t[e(468)];s[e(436)](n)}[Xe(499)](t){const e=Xe;let s=this[e(500)];void 0!==s&&this[e(475)]&&(t.setHighlight(0),this._symbolGroups[e(444)](i=>{const r=e,n=i.symbol;n.size&&t[r(502)](n[r(498)]),n[r(481)]&&t[r(450)](n[r(481)]),i[r(458)].symbolTexture?(t[r(442)](0),t[r(453)](i[r(458)][r(466)][r(455)])):(t[r(442)](1),t[r(453)](null)),i[r(489)][r(444)](t=>{t.render(s)})}))}[Xe(457)](){const t=Xe;let e=this._gl;delete this[t(456)],this[t(475)]&&(this[t(475)][t(444)]((t,e)=>{t.destroy()}),this[t(475)][t(494)](),delete this[t(475)]),e[t(451)](this[t(474)]),e[t(451)](this[t(465)]),e.deleteBuffer(this[t(490)]),delete this[t(474)],delete this[t(465)],delete this[t(490)],delete this[t(488)],delete this[t(464)],delete this[t(505)],delete this[t(477)],delete this._features,delete this[t(500)]}}function We(t,e){t-=365;return Ve()[t]}const Ze=We;function Ve(){const t=["forEach","setOffset","33190tGIpIx","geometry","add","Key","miter","deleteBuffer","setColor","normalBuffer","vertexAttribPointer","_maxThickness","miterBuffer","_symbolGroups","distanceBuffer","FLOAT","distances","disableVertexAttribArray","push","abs","createBuffer","normals","8ixjzhS","length","getPolylineSegments","hDistance","bind","setThickness","enableVertexAttribArray","miters","_gl","destroy","key","maxThickness","clean","partList","elementCount","sign","STATIC_DRAW","691802TvpbXR","featureDataBuffers","ready","1153554evWlXd","miterLength","hPosition","normal","geometrySegments","lineStyle","maxOffset","positions","_symbolTextureManager","symbol","7MePVDk","then","3qMeFNI","_readyResolve","render","403801ljciKL","_maxOffset","offset","1037524dzmuNm","10TMfhYu","ARRAY_BUFFER","bindBuffer","distance","hLineMiter","3475431FzApDz","build","_maxMiterLength","features","hLineNormal","_features","bufferData","positionBuffer","_elementCount","updateSymbolic","symbols","1707057dwAAsA"];return(Ve=function(){return t})()}!function(t){const e=We,s=t();for(;;)try{if(285206===parseInt(e(399))/1+-parseInt(e(381))/2*(parseInt(e(396))/3)+parseInt(e(402))/4+parseInt(e(422))/5+-parseInt(e(384))/6*(-parseInt(e(394))/7)+parseInt(e(442))/8*(-parseInt(e(408))/9)+-parseInt(e(403))/10*(-parseInt(e(419))/11))break;s.push(s.shift())}catch(t){s.push(s.shift())}}(Ve);class Ye{get[Ze(418)](){const t=Ze;let e=[];return this[t(433)]?(this._symbolGroups[t(420)](s=>{const i=t;e[i(438)](s[i(393)])}),e):e}get[Ze(390)](){return this._maxOffset}get[Ze(375)](){return this._maxThickness}constructor(t,e,s){const i=Ze;this[i(372)]=t,this._symbolTextureManager=e,this[i(413)]=s,this._elementCount=0,this[i(400)]=0,this._maxThickness=0,this._maxMiterLength=10,this[i(383)]=new Promise(t=>{this[i(397)]=t}),this[i(409)]()}[Ze(409)](){const t=Ze;let e=this[t(372)];if(void 0===e)return;this[t(416)]=0,this._maxOffset=0,this._maxThickness=0,this._features.forEach((e,s)=>{const i=t;let r=0;for(let t of e[i(423)][i(377)])r+=9*(t.length-1);e[i(378)]=r,e[i(382)]=this,this._elementCount+=r,e.symbol&&(e[i(393)].offset&&Math[i(439)](e[i(393)][i(401)])>this[i(400)]&&(this[i(400)]=Math[i(439)](e[i(393)][i(401)])),e.symbol.thikness&&e[i(393)].thikness>this[i(431)]&&(this[i(431)]=e[i(393)].thikness))}),this.positions=new Float32Array(2*this[t(416)]),this[t(441)]=new Float32Array(2*this._elementCount),this[t(371)]=new Float32Array(this._elementCount),this[t(436)]=new Float32Array(this._elementCount);let s=0,i=0,r=0,n=0;this[t(413)][t(420)]((e,h)=>{const o=t;e.startIndex=s/2;let a=e.geometry.partList,l=[],u=0;for(let t of a){let e=Wt[o(366)](t);l[o(438)](e);for(let h=0,a=t[o(365)]-1;h<a;h++){let l=0;h>0&&(l=y.vec2[o(406)](t[h-1],t[h])),u+=l;let c=u+y.vec2[o(406)](t[h],t[h+1]);this[o(391)][s++]=t[h][0],this.positions[s++]=t[h][1],this[o(436)][n++]=u,e[h].miterLength<this[o(410)]?(this[o(441)][i++]=e[h][o(426)][0],this[o(441)][i++]=e[h][o(426)][1],this[o(371)][r++]=-e[h][o(385)]):(this[o(441)][i++]=e[h+1][o(387)][0],this.normals[i++]=e[h+1][o(387)][1],this[o(371)][r++]=-1),this[o(391)][s++]=t[h][0],this[o(391)][s++]=t[h][1],this[o(436)][n++]=u,e[h][o(385)]<this[o(410)]?(this.normals[i++]=e[h].miter[0],this.normals[i++]=e[h].miter[1],this.miters[r++]=e[h].miterLength):(this[o(441)][i++]=e[h+1][o(387)][0],this[o(441)][i++]=e[h+1].normal[1],this.miters[r++]=1),this.positions[s++]=t[h+1][0],this[o(391)][s++]=t[h+1][1],this[o(436)][n++]=c,e[h+1][o(385)]<this[o(410)]?(this.normals[i++]=e[h+1][o(426)][0],this[o(441)][i++]=e[h+1].miter[1],this[o(371)][r++]=-e[h+1][o(385)]):(this.normals[i++]=e[h+1][o(387)][0],this.normals[i++]=e[h+1][o(387)][1],this[o(371)][r++]=-1),this[o(391)][s++]=t[h+1][0],this.positions[s++]=t[h+1][1],this.distances[n++]=c,e[h+1].miterLength<this._maxMiterLength?(this.normals[i++]=e[h+1][o(426)][0],this.normals[i++]=e[h+1].miter[1],this[o(371)][r++]=-e[h+1][o(385)]):(this.normals[i++]=e[h+1][o(387)][0],this[o(441)][i++]=e[h+1][o(387)][1],this.miters[r++]=-1),this[o(391)][s++]=t[h][0],this[o(391)][s++]=t[h][1],this[o(436)][n++]=u,e[h][o(385)]<this[o(410)]?(this.normals[i++]=e[h][o(426)][0],this[o(441)][i++]=e[h][o(426)][1],this.miters[r++]=e[h].miterLength):(this.normals[i++]=e[h+1][o(387)][0],this[o(441)][i++]=e[h+1][o(387)][1],this[o(371)][r++]=1),this[o(391)][s++]=t[h+1][0],this[o(391)][s++]=t[h+1][1],this[o(436)][n++]=c,e[h+1][o(385)]<this[o(410)]?(this[o(441)][i++]=e[h+1].miter[0],this[o(441)][i++]=e[h+1].miter[1],this.miters[r++]=e[h+1][o(385)]):(this.normals[i++]=e[h+1].normal[0],this.normals[i++]=e[h+1][o(387)][1],this[o(371)][r++]=1),h>=a-1||e[h+1][o(385)]<this[o(410)]?(this[o(391)][s++]=t[h+1][0],this[o(391)][s++]=t[h+1][1],this[o(436)][n++]=c,this[o(441)][i++]=0,this[o(441)][i++]=0,this[o(371)][r++]=0,this[o(391)][s++]=t[h+1][0],this.positions[s++]=t[h+1][1],this[o(436)][n++]=c,this[o(441)][i++]=0,this[o(441)][i++]=0,this[o(371)][r++]=0,this.positions[s++]=t[h+1][0],this[o(391)][s++]=t[h+1][1],this.distances[n++]=c,this.normals[i++]=0,this[o(441)][i++]=0,this[o(371)][r++]=0):(this[o(391)][s++]=t[h+1][0],this[o(391)][s++]=t[h+1][1],this[o(436)][n++]=c,this[o(441)][i++]=0,this[o(441)][i++]=0,this[o(371)][r++]=0,this[o(391)][s++]=t[h+1][0],this.positions[s++]=t[h+1][1],this[o(436)][n++]=c,this[o(441)][i++]=e[h+1][o(387)][0],this[o(441)][i++]=e[h+1][o(387)][1],this[o(371)][r++]=e[h+1][o(379)],this[o(391)][s++]=t[h+1][0],this[o(391)][s++]=t[h+1][1],this.distances[n++]=c,this[o(441)][i++]=e[h+2][o(387)][0],this[o(441)][i++]=e[h+2][o(387)][1],this.miters[r++]=e[h+1][o(379)])}}e[o(388)]=l}),this[t(415)]=e[t(440)](),e[t(405)](e[t(404)],this[t(415)]),e[t(414)](e[t(404)],this[t(391)],e[t(380)]),this[t(429)]=e[t(440)](),e[t(405)](e[t(404)],this[t(429)]),e[t(414)](e[t(404)],this.normals,e[t(380)]),this[t(432)]=e[t(440)](),e[t(405)](e[t(404)],this.miterBuffer),e.bufferData(e[t(404)],this.miters,e.STATIC_DRAW),this[t(434)]=e.createBuffer(),e.bindBuffer(e.ARRAY_BUFFER,this.distanceBuffer),e[t(414)](e[t(404)],this[t(436)],e[t(380)]),this[t(417)]()[t(395)](()=>{void 0!==this[t(372)]&&this._readyResolve()})}updateSymbolic(){const t=Ze;return this[t(433)]=new d,this._features[t(420)](e=>{const s=t;let i=e.symbol;if(!i)return;let r=this[s(433)].get(i[s(425)]);!r&&(r=new Ge(i),this[s(433)].add(i.Key,r)),r[s(411)][s(424)](e[s(374)],e)}),new Promise(t=>{t(null)})}[Ze(368)](t){const e=Ze;let s=this[e(372)];if(void 0===s)return;s.bindBuffer(s.ARRAY_BUFFER,this.positionBuffer);let i=t[e(386)];s.vertexAttribPointer(i,2,s[e(435)],!1,0,0),s.enableVertexAttribArray(i),s.bindBuffer(s[e(404)],this.miterBuffer);let r=t[e(407)];s[e(430)](r,1,s[e(435)],!1,0,0),s.enableVertexAttribArray(r),s[e(405)](s.ARRAY_BUFFER,this.normalBuffer);let n=t[e(412)];s[e(430)](n,2,s.FLOAT,!1,0,0),s[e(370)](n),s[e(405)](s[e(404)],this[e(434)]);let h=t[e(367)];s.vertexAttribPointer(h,1,s[e(435)],!1,0,0),s.enableVertexAttribArray(h)}unbind(t){const e=Ze;let s=this[e(372)];if(void 0===s)return;let i=t[e(386)];s[e(437)](i);let r=t.hLineMiter;s[e(437)](r);let n=t[e(412)];s[e(437)](n);let h=t[e(367)];s[e(437)](h)}render(t){const e=Ze;let s=this[e(372)];void 0!==s&&this[e(433)]&&this[e(433)][e(420)](i=>{const r=e,n=i[r(393)];t[r(369)](n.thikness||0),n.color&&t[r(428)](n.color),n[r(389)]&&t.setLineStyle(n[r(389)]),n.offset&&t[r(421)](n[r(401)]),i.features.forEach(t=>{t[r(398)](s)})})}[Ze(373)](){const t=Ze;let e=this[t(372)];delete this[t(383)],this._symbolGroups&&(this[t(433)][t(420)]((t,e)=>{t.destroy()}),this[t(433)][t(376)](),delete this._symbolGroups),e[t(427)](this.positionBuffer),e.deleteBuffer(this[t(429)]),e[t(427)](this[t(432)]),e[t(427)](this[t(434)]),delete this.positionBuffer,delete this.normalBuffer,delete this[t(432)],delete this.distanceBuffer,delete this[t(391)],delete this[t(441)],delete this[t(371)],delete this[t(436)],delete this[t(392)],delete this._features,this[t(372)]=void 0}}const Ke=Qe;function Qe(t,e){t-=160;return Je()[t]}function Je(){const t=["1000960dxxAca","_dataBuffers","2104832HISJoO","buildPolylineDataBuffers","3012930naYLOr","destroy","_destroyed","978cpujgE","add","38vMSNic","get","765jxxPza","6TOzWqv","destroyDataBuffers","13844EvfaTz","polyline","863180BjNBiC","forEach","19866EeLDCR","getDataBuffers","buildPointDataBuffers","_gl","_symbolTextureManager","containsKey"];return(Je=function(){return t})()}!function(t){const e=Qe,s=t();for(;;)try{if(269441===parseInt(e(163))/1*(-parseInt(e(161))/2)+-parseInt(e(164))/3*(-parseInt(e(166))/4)+-parseInt(e(176))/5+parseInt(e(183))/6*(parseInt(e(170))/7)+parseInt(e(178))/8+-parseInt(e(180))/9+parseInt(e(168))/10)break;s.push(s.shift())}catch(t){s.push(s.shift())}}(Je);class $e{constructor(t){const e=Qe;this[e(173)]=t,this._dataBuffers=new d,this[e(182)]=!1,this[e(174)]=new ze(t)}destroy(){const t=Qe;this[t(182)]=!0,this._dataBuffers[t(169)]((e,s)=>{e[t(181)]()}),this._dataBuffers.clean(),this[t(174)][t(181)](),delete this[t(177)],delete this[t(174)],delete this[t(173)]}buildDataBuffers(t,e,s){const i=Qe;if(this[i(165)](t),s===q.point){let s=this[i(172)](e);return this[i(177)][i(160)](t,s),s}if(s===q[i(167)]){let s=this[i(179)](e);return this[i(177)][i(160)](t,s),s}}[Ke(171)](t){const e=Ke;return this[e(177)][e(162)](t)}[Ke(172)](t){const e=Ke;return new He(this[e(173)],this[e(174)],t)}buildPolylineDataBuffers(t){const e=Ke;return new Ye(this[e(173)],this[e(174)],t)}[Ke(165)](t){const e=Ke;if(this[e(182)])return;if(!this[e(177)][e(175)](t))return;let s=this[e(177)][e(162)](t);null==s||s[e(181)](),this[e(177)].remove(t)}}const ts=es;function es(t,e){t-=486;return ss()[t]}function ss(){const t=["9955001fnrzfW","get","renderHighlights","7365610BCsGOu","layers","57854925KqbVOG","4952888vfGZyc","isWebgl2","4726xBlKhc","423144HkuOqb","399BfifLu","renderHightlights","_eventService","_gl","render","8964078MfAFxr","destroy","getRenderingContext","projectionMatrix","_polylineRenderingContext","resolution","getDataBufferManager","add","_dataBufferManagers","_shaderBuilder","_pointRenderingContext","mainRenderer","24lvvdzp","shaderBuilder","apply","clean","forEach"];return(ss=function(){return t})()}!function(t){const e=es,s=t();for(;;)try{if(869033===-parseInt(e(501))/1*(parseInt(e(499))/2)+-parseInt(e(500))/3*(parseInt(e(486))/4)+-parseInt(e(494))/5+-parseInt(e(506))/6+-parseInt(e(491))/7+parseInt(e(497))/8+parseInt(e(496))/9)break;s.push(s.shift())}catch(t){s.push(s.shift())}}(ss);class is{get gl(){return this[es(504)]}get isWebgl2(){const t=es;return this[t(517)][t(498)]}get[ts(509)](){const t=ts;return this[t(517)][t(509)]}constructor(t,e,s){const i=ts;this[i(504)]=t,this[i(517)]=e,this[i(503)]=s,this[i(514)]=new d;let r=this[i(504)];this._shaderBuilder=e[i(487)],this[i(516)]=new ye(r,this[i(515)]),this[i(510)]=new Te(r,this[i(515)])}[ts(512)](t){const e=ts;let s=this._dataBufferManagers[e(492)](t);return void 0===s&&(s=new $e(this[e(504)]),this[e(514)][e(513)](t,s)),s}[ts(505)](t){const e=ts;t[e(495)][e(490)]((s,i)=>{const r=e;let n=this.getRenderingContext(s);n&&(n[r(488)](t[r(511)],this[r(517)].projectionMatrix),s[r(505)](n))})}[ts(502)](t){const e=ts;t[e(495)].forEach((s,i)=>{const r=e;let n=this[r(508)](s);n&&(n[r(488)](t[r(511)],this.mainRenderer[r(509)]),s[r(493)](n))})}getRenderingContext(t){return t instanceof mt?this[ts(516)]:t instanceof Kt?this._polylineRenderingContext:void 0}destroy(){const t=ts;this[t(514)][t(490)]((t,e)=>{t.destroy()}),this[t(514)][t(489)](),this[t(510)][t(507)](),this[t(516)][t(507)](),delete this[t(514)],delete this[t(510)],delete this[t(516)],delete this._shaderBuilder,delete this[t(503)],delete this[t(517)],delete this[t(504)]}}const rs=hs;function ns(){const t=["VERTEX_SHADER","destroy"," gl_Position = u_projectionMatrix * vec4(a_position, 1.0, 1.0);","109179SiwfOw","buildProgram","activeTexture","uniform sampler2D u_sampler;","1064226cJUxQn","join","uniform1i","4648MQlxlN","_hPosition","uniform mat4 u_projectionMatrix;","_hProjectionMatrix","deleteShader","1628swGpwV","_hShaderProgram","_vertexShader"," v_textureCoord = a_textureCoord;","250royHWS","655566oOuGeQ","_fragmentShader","varying highp vec2 v_textureCoord;","142IRfxdm","u_projectionMatrix","a_textureCoord","compileShader","attribute vec2 a_textureCoord;","_hSampler","getAttribLocation","TEXTURE0","shaderBuilder","10ZFPbYW","49188cBZbPr","deleteProgram","void main() {","693TtnVmb","render","99368CzPjQL","_gl","projectionMatrix","11016OnOpQg","_shaderBuilder","u_sampler","_hTextureCoord","uniformMatrix4fv","a_position","attribute vec2 a_position;"];return(ns=function(){return t})()}function hs(t,e){t-=149;return ns()[t]}!function(t){const e=hs,s=t();for(;;)try{if(221070===parseInt(e(192))/1*(-parseInt(e(157))/2)+parseInt(e(189))/3+-parseInt(e(172))/4+-parseInt(e(166))/5*(parseInt(e(154))/6)+-parseInt(e(170))/7*(-parseInt(e(175))/8)+parseInt(e(185))/9*(-parseInt(e(153))/10)+-parseInt(e(149))/11*(-parseInt(e(167))/12))break;s.push(s.shift())}catch(t){s.push(s.shift())}}(ns);class os{constructor(t,e){const s=hs;this[s(173)]=t,this.mainRenderer=e,this[s(195)]=null,this[s(162)]=null;let i=this[s(173)];this._shaderBuilder=e[s(165)];let r=[s(194),s(181),s(161),s(156),s(169),s(184),s(152),"}"].join("");if(this[s(151)]=this[s(176)].compileShader(r,i[s(182)]),!this[s(151)])return;let n=["precision mediump float;",s(156),s(188),s(169)," gl_FragColor = texture2D(u_sampler, v_textureCoord);","}"][s(190)]("");this[s(155)]=this[s(176)][s(160)](n,i.FRAGMENT_SHADER),this[s(155)]&&(this[s(150)]=this[s(176)][s(186)](this[s(151)],this[s(155)]),this[s(195)]=i.getUniformLocation(this[s(150)],s(158)),this[s(162)]=i.getUniformLocation(this[s(150)],s(177)),this[s(193)]=i[s(163)](this[s(150)],s(180)),this[s(178)]=i[s(163)](this[s(150)],s(159)))}[rs(171)](t){const e=rs;let s=this._gl;s[e(187)](s[e(164)]),s.useProgram(this._hShaderProgram),s[e(179)](this[e(195)],!1,this.mainRenderer[e(174)]),s[e(191)](this[e(162)],0),t[e(171)]({hPosition:this[e(193)],hTextureCoord:this[e(178)]})}[rs(183)](){const t=rs;let e=this[t(173)];e[t(168)](this[t(150)]),e[t(196)](this[t(155)]),e.deleteShader(this[t(151)]),delete this._shaderBuilder,delete this._vertexShader,delete this[t(176)],delete this._fragmentShader,delete this[t(150)],delete this[t(195)],delete this[t(162)],delete this[t(173)]}}function as(){const t=["elementCount","ARRAY_BUFFER","xmax","33UmKkst","ymax","_gl","detroyDataBuffers","remove","_dataBuffers","36dghHJf","containsKey","4081064vqedvj","deleteBuffer","get","texcoodrsBuffer","9OkMxaK","ymin","forEach","37784slbqus","positionBuffer","extent","2052FjkLdO","bindBuffer","destroy","bufferData","1063236EfUgVK","add","118345DoMNps","clean","texCoords","7yFEhRu","positions","createBuffer","STATIC_DRAW","14039bVmHLa","4024660ifUeBU","count","3014ysVKtG","xmin"];return(as=function(){return t})()}function ls(t,e){t-=204;return as()[t]}const us=ls;!function(t){const e=ls,s=t();for(;;)try{if(525055===parseInt(e(233))/1+parseInt(e(236))/2*(-parseInt(e(220))/3)+parseInt(e(210))/4+-parseInt(e(226))/5*(parseInt(e(208))/6)+parseInt(e(229))/7*(-parseInt(e(217))/8)+-parseInt(e(214))/9*(-parseInt(e(234))/10)+-parseInt(e(241))/11*(-parseInt(e(224))/12))break;s.push(s.shift())}catch(t){s.push(s.shift())}}(as);class cs{constructor(t){const e=ls;this[e(204)]=t,this[e(207)]=new d}buildDataBuffers(t,e){const s=ls;this.detroyDataBuffers(t);let i=6*e[s(235)],r=new Float32Array(2*i),n=new Float32Array(2*i),h=0,o=0;e[s(216)]((t,e)=>{const i=s;t.bufferIndex=h/2,r[h++]=t[i(219)].xmax,r[h++]=t[i(219)][i(242)],n[o++]=1,n[o++]=0,r[h++]=t.extent.xmax,r[h++]=t[i(219)].ymin,n[o++]=1,n[o++]=1,r[h++]=t.extent[i(237)],r[h++]=t[i(219)].ymin,n[o++]=0,n[o++]=1,r[h++]=t[i(219)][i(240)],r[h++]=t.extent[i(242)],n[o++]=1,n[o++]=0,r[h++]=t.extent.xmin,r[h++]=t.extent[i(215)],n[o++]=0,n[o++]=1,r[h++]=t[i(219)][i(237)],r[h++]=t.extent[i(242)],n[o++]=0,n[o++]=0});var a=this._gl[s(231)]();this._gl.bindBuffer(this[s(204)][s(239)],a),this[s(204)].bufferData(this[s(204)][s(239)],r,this[s(204)][s(232)]);var l=this[s(204)][s(231)]();this[s(204)][s(221)](this[s(204)][s(239)],l),this[s(204)][s(223)](this[s(204)].ARRAY_BUFFER,n,this[s(204)][s(232)]);var u={positions:r,positionBuffer:a,texCoords:n,texcoodrsBuffer:l,elementCount:i};return this._dataBuffers[s(225)](t,u),u}[us(205)](t){const e=us;if(this._dataBuffers[e(209)](t)){let s=this[e(207)][e(212)](t);this[e(207)][e(206)](t),this._gl.deleteBuffer(s[e(218)]),this._gl[e(211)](s[e(213)]),delete s[e(218)],delete s[e(213)],delete s[e(230)],delete s.texCoords}}[us(222)](){const t=us;this[t(207)][t(216)]((e,s)=>{const i=t;this._gl.deleteBuffer(e[i(218)]),this[i(204)][i(211)](e[i(213)]),delete e[i(218)],delete e[i(213)],delete e[i(230)],delete e[i(228)],delete e[i(238)]}),this[t(207)][t(227)](),delete this._dataBuffers,delete this._gl}}function fs(t,e){t-=146;return ds()[t]}const ps=fs;function ds(){const t=["uniform mat4 u_projectionMatrix;","a_position"," gl_Position = u_projectionMatrix * vec4(a_position, 1.0, 1.0);","_vertexShader","_renderingContext","2643338SWgUsW","varying highp vec2 v_textureCoord;","tilesList","void main() {","_fragmentShader","_gl","mainRenderer","disable","6972112ZPQKAF","FLOAT","hSampler","dataBuffers","disableVertexAttribArray","enableVertexAttribArray","3rYgjeE","_hShaderProgram"," v_textureCoord = a_textureCoord;","hTextureCoord","compileShader","attribute vec2 a_position;","vertexAttribPointer","hPosition","join","projectionMatrix","u_projectionMatrix","FRAGMENT_SHADER","_shaderBuilder","bindBuffer","916482ChZKRj","precision mediump float;","7502454VFrYPq","1123814AYykYA","a_textureCoord","u_sampler","BLEND","56ZFgomc","5840575YjTUjl","getUniformLocation","render","useProgram","dataBufferManager","deleteShader","6047628SNUfyR"," gl_FragColor = texture2D(u_sampler, v_textureCoord);","VERTEX_SHADER","destroy","uniformMatrix4fv","uniform1i","getAttribLocation","deleteProgram","hProjectionMatrix","texcoodrsBuffer","ARRAY_BUFFER","_dataBufferManager","buildProgram"];return(ds=function(){return t})()}!function(t){const e=fs,s=t();for(;;)try{if(841807===parseInt(e(197))/1+parseInt(e(166))/2+parseInt(e(180))/3*(-parseInt(e(148))/4)+parseInt(e(202))/5+-parseInt(e(194))/6*(parseInt(e(201))/7)+-parseInt(e(174))/8+parseInt(e(196))/9)break;s.push(s.shift())}catch(t){s.push(s.shift())}}(ds);class _s{get[ps(146)](){return this._dataBufferManager}get gl(){return this._gl}constructor(t){const e=ps;this[e(172)]=t,this._gl=t.gl,this[e(192)]=t.shaderBuilder,this[e(159)]=new cs(this[e(171)]);let s=[e(161),e(185),"attribute vec2 a_textureCoord;",e(167),e(169),e(163),e(182),"}"][e(188)]("");if(this._vertexShader=this[e(192)][e(184)](s,this._gl[e(150)]),!this[e(164)])return;let i=[e(195),e(167),"uniform sampler2D u_sampler;",e(169),e(149),"}"][e(188)]("");this._fragmentShader=this[e(192)].compileShader(i,this[e(171)][e(191)]),this[e(170)]&&(this[e(181)]=this[e(192)][e(160)](this[e(164)],this[e(170)]),this._renderingContext={hProjectionMatrix:this[e(171)][e(203)](this[e(181)],e(190)),hSampler:this._gl[e(203)](this[e(181)],e(199)),hPosition:this[e(171)][e(154)](this[e(181)],e(162)),hTextureCoord:this[e(171)][e(154)](this[e(181)],e(198))})}[ps(204)](t){const e=ps;if(!t[e(177)]||!t[e(168)]||void 0===this[e(181)])return;let s=this[e(165)],i=this._gl;i.activeTexture(i.TEXTURE0),i[e(205)](this[e(181)]),i[e(152)](s[e(156)],!1,this[e(172)][e(189)]),i[e(153)](s[e(176)],0),i[e(193)](i[e(158)],t[e(177)].positionBuffer);var r=s.hPosition;i.vertexAttribPointer(r,2,i[e(175)],!1,0,0),i[e(179)](r),i[e(193)](i[e(158)],t[e(177)][e(157)]);var n=s.hTextureCoord;i[e(186)](n,2,i[e(175)],!1,0,0),i[e(179)](n),i.enable(i[e(200)]);for(let s=0,r=t[e(168)].length;s<r;s++){t[e(168)][s].forEach((s,r)=>{s[e(204)]({gl:i,time:t.time})})}i[e(173)](i.BLEND);r=s[e(187)];i[e(178)](r);n=s[e(183)];i[e(178)](n)}destroy(){const t=ps;let e=this[t(171)];this[t(159)][t(151)](),this[t(181)]&&e[t(155)](this._hShaderProgram),this[t(170)]&&e.deleteShader(this[t(170)]),this[t(164)]&&e[t(147)](this[t(164)]),delete this[t(181)],delete this._fragmentShader,delete this[t(164)],delete this[t(159)],delete this[t(192)],delete this[t(165)],delete this[t(172)],delete this._gl}}var ms=Is;function gs(){var t=["4984130ohRoMj","_map","mainRenderer","4945194jonUNU","2dEVgIh","featureServiceRenderer","_featureServiceRenderer","21NtXLuV","_featureCacheRenderer","1138079PrPDIn","275AzqoDK","16bmteYN","destroy","26995512BGPggn","1791846XihbuJ","11PsSSRi","eventService","_tileServiceRenderer","487107eBHcmT","featureCacheRenderer","_mainRenderer","32764eSdXAx"];return(gs=function(){return t})()}function Is(t,e){return t-=471,gs()[t]}!function(t){for(var e=Is,s=t();;)try{if(606301===parseInt(e(491))/1+-parseInt(e(486))/2*(-parseInt(e(478))/3)+parseInt(e(481))/4*(-parseInt(e(492))/5)+-parseInt(e(474))/6*(parseInt(e(489))/7)+-parseInt(e(471))/8*(parseInt(e(485))/9)+-parseInt(e(482))/10+-parseInt(e(475))/11*(-parseInt(e(473))/12))break;s.push(s.shift())}catch(t){s.push(s.shift())}}(gs);class vs{get[ms(484)](){return this._mainRenderer}get tileServiceRenderer(){return this[ms(477)]}get[ms(487)](){return this[ms(488)]}get[ms(479)](){return this._featureCacheRenderer}constructor(t,e){var s=ms;this._gl=t,this[s(483)]=e,this[s(480)]=new ge(t,e.eventService),this[s(477)]=new _s(this._mainRenderer),this[s(488)]=new is(t,this[s(480)],this[s(483)][s(476)]),this[s(490)]=new os(t,this[s(480)])}[ms(472)](){var t=ms;this[t(490)][t(472)](),this[t(488)][t(472)](),this._tileServiceRenderer[t(472)](),this[t(480)][t(472)]()}}function ys(){var t=["get","add","90RtjkHm","publish","70mdalGl","indexOf","730732MelbLO","129101RAQBIN","236575rvlfcG","_listeners","80754VPXdOF","2084540vwvNEH","forEach","121dTEvdg","376GfkWuT","4833927Zkdavs","splice","329400qmVVDD","clean","unsubscribe","push","destroy"];return(ys=function(){return t})()}var xs=bs;function bs(t,e){return t-=204,ys()[t]}!function(t){for(var e=bs,s=t();;)try{if(501661===parseInt(e(211))/1+parseInt(e(209))/2*(parseInt(e(215))/3)+parseInt(e(222))/4+-parseInt(e(213))/5*(-parseInt(e(207))/6)+parseInt(e(212))/7*(parseInt(e(219))/8)+-parseInt(e(220))/9+-parseInt(e(216))/10*(parseInt(e(218))/11))break;s.push(s.shift())}catch(t){s.push(s.shift())}}(ys);class Ss{constructor(){this[bs(214)]=new d}subscribe(t,e){var s=bs,i=this._listeners.get(t);return!i&&(i=[],this[s(214)][s(206)](t,i)),i[s(225)](e),e}[xs(208)](t,e){var s=xs,i=this[s(214)][s(205)](t);i&&i[s(217)](t=>{t(e)})}[xs(224)](t,e){var s=xs,i=this[s(214)][s(205)](t);if(!i)return!1;let r=i[s(210)](e);return-1!==r&&(i[s(221)](r,1),!0)}[xs(204)](){var t=xs;this[t(214)][t(223)]()}}class ws{}var Ts,Cs,Rs,Ds=Es;function Ps(){var t=["7059080tdeDQH","count","forEach","rigth","16uScjrs","699397aqaXYW","3121776BoDKiY","425076XwLnso","remove","toDirection","14655BJzDzp","left","77ynyWGA","clean","all","down","18jNUPSW","27293332eMeqlE","add","3289325GTyRWS","containsKey","2eeBBto","removeDirection","_directionList"];return(Ps=function(){return t})()}function Es(t,e){return t-=147,Ps()[t]}!function(t){for(var e=Es,s=t();;)try{if(397364===-parseInt(e(160))/1*(parseInt(e(152))/2)+-parseInt(e(165))/3*(parseInt(e(159))/4)+-parseInt(e(150))/5+-parseInt(e(162))/6*(-parseInt(e(167))/7)+-parseInt(e(161))/8*(parseInt(e(147))/9)+-parseInt(e(155))/10+parseInt(e(148))/11)break;s.push(s.shift())}catch(t){s.push(s.shift())}}(Ps),(Cs=Ts||(Ts={}))[Cs[(Rs=Es)(166)]=1]=Rs(166),Cs[Cs[Rs(158)]=2]=Rs(158),Cs[Cs.up=3]="up",Cs[Cs[Rs(170)]=4]=Rs(170),Cs[Cs[Rs(169)]=5]=Rs(169);class Ls{constructor(){this._directionList=new d}addDirection(t){var e=Es;t!==Ts[e(169)]&&(this[e(154)][e(151)](t)||this._directionList[e(149)](t,t))}[Ds(153)](t){var e=Ds;t!==Ts[e(169)]?this[e(154)][e(163)](t):this[e(154)][e(168)]()}[Ds(164)](){var t=Ds;let e=[0,0];return this[t(154)][t(157)](s=>{var i=t;s===Ts[i(166)]?y.vec2[i(149)](e,e,[1,0]):s===Ts.rigth?y.vec2[i(149)](e,e,[-1,0]):s===Ts.up?y.vec2[i(149)](e,e,[0,1]):s===Ts[i(170)]&&y.vec2[i(149)](e,e,[0,-1])}),e}hasDirection(){var t=Ds;return this[t(154)][t(156)]>0}}const As=Fs;function Bs(){const t=["7528619DJChsc","valueOf","2250576lKSqTc","271407cRjqjh","_start","669015AzCPXl","completed","2119185sOXabx","timeChanged","parameters","_end","duration","324492aNqkYA","1276616iYUzUL","_stopped","run","20AfFOzV","stop"];return(Bs=function(){return t})()}function Fs(t,e){t-=101;return Bs()[t]}!function(t){const e=Fs,s=t();for(;;)try{if(602463===parseInt(e(105))/1+parseInt(e(114))/2+-parseInt(e(107))/3*(parseInt(e(118))/4)+parseInt(e(109))/5+-parseInt(e(104))/6+parseInt(e(102))/7+parseInt(e(115))/8)break;s.push(s.shift())}catch(t){s.push(s.shift())}}(Bs);class ks{constructor(t){const e=Fs;this[e(111)]=t,this[e(106)]=0,this._end=0,this[e(116)]=!1}start(){const t=Fs;this[t(106)]=(new Date)[t(103)](),this[t(112)]=this[t(106)]+this.parameters[t(113)],this._stopped=!1,this[t(117)]()}[As(117)](){const t=As;if(this._stopped)return;let e=(new Date)[t(103)]();e>this._end&&(e=this[t(112)]);let s=(e-this[t(106)])/(this._end-this[t(106)]);this.parameters[t(110)]&&this[t(111)].timeChanged(s),e>=this[t(112)]?this[t(111)].completed&&this.parameters[t(108)]():setTimeout(()=>{this[t(117)]()},10)}[As(101)](){const t=As;this._stopped=!0,this[t(111)][t(108)]&&this.parameters.completed()}}const Ms=Us;function zs(){const t=["console","xmin","getCenter","unproject","2NJyUeJ","bgColor","resolutionToScale","_rendererFactory","_innerMapService","findOptimalLod","start","smoothMove","scaleToResolution","isDirty","mapResized","scaleUpdated","targetResolution","_targetCenter","mapContentChanged","_settings","startMove","mainRenderer","length","zoom","origin","36177hiZSnC","clean","all","key","_targetExtent","time","findZoomOutFactor","predefinedScales","2001882qGilyH","zoomOut","max","ymin","publish","clone","12ABChck","_moveTimer","4532946eVsDdn","extent","_center","center","_extent","setMapExtent","_resolution","128157GavoUG","findScale","findZoomInFactor","updateExtent","width","_eventService","_mapServices","size","getTime","2471OxTwoR","_lods","updatePredefinedScales","push","_moveAnimationSpeed","mapPositionUpdated","_size","stopMove","_fullExtent","shift","animateZoom","destroy","add","_zooming","_lod","findOptimalResolution","postitionUpdated","mapRepaintRequired","animateMove","addService","_targetResolution","rendererFactory","getResolutionFromScale","height","_key","toDirection","1317380uBdwfa","setCenter","targetExtent","findMinimalLod","resize","zoomHome","abs","18stljgZ","forEachService","mapIsDirty","computeShift","getService","render","resolution","then","eventService","forEach","pan","smoothZoom","603715iEexof","scale","xmax","get","findExtent","move","zoomIn","catch","_viewportScale","_moving","viewportScale","_moveDirectionManger","6704SyJiqs","_renderer","ymax","subscribe","_dirty"];return(zs=function(){return t})()}function Us(t,e){t-=365;return zs()[t]}!function(t){const e=Us,s=t();for(;;)try{if(196604===-parseInt(e(480))/1+parseInt(e(459))/2*(-parseInt(e(384))/3)+parseInt(e(375))/4*(-parseInt(e(438))/5)+-parseInt(e(369))/6+parseInt(e(393))/7*(parseInt(e(450))/8)+-parseInt(e(426))/9*(-parseInt(e(419))/10)+parseInt(e(377))/11)break;s.push(s.shift())}catch(t){s.push(s.shift())}}(zs);class Os{get[Ms(483)](){return this[Ms(417)]}get[Ms(391)](){return this[Ms(399)]}get[Ms(388)](){const t=Ms;return this[t(399)][t(388)]}get[Ms(416)](){const t=Ms;return this._size[t(416)]}get[Ms(432)](){return this[Ms(383)]}get[Ms(471)](){return this[Ms(413)]}get[Ms(380)](){const t=Ms;return y.vec2[t(374)](this[t(379)])}get[Ms(479)](){const t=Ms;return[this._extent[t(456)],this[t(381)][t(452)]]}get extent(){const t=Ms;return this[t(381)][t(374)]()}get[Ms(421)](){const t=Ms;var e;return null===(e=this[t(365)])||void 0===e?void 0:e[t(374)]()}get isDirty(){return this._dirty}set[Ms(468)](t){const e=Ms;this[e(454)]=t,this._dirty&&this[e(389)][e(373)](m[e(428)],null)}get innerMapService(){return this._innerMapService}get[Ms(434)](){return this[Ms(389)]}get[Ms(414)](){return this._rendererFactory}get[Ms(460)](){const t=Ms;return this[t(451)][t(460)]}set[Ms(460)](t){this[Ms(451)].bgColor=t}get[Ms(448)](){return this[Ms(446)]}constructor(t,e,s,i,r){const n=Ms;this[n(417)]=t,this[n(474)]=e,this[n(399)]=s,this[n(446)]=i,this[n(407)]=-1,this._extent=new k,this[n(406)]=!1,this[n(447)]=!1,this[n(397)]=.75,this._moveDirectionManger=new Ls,this[n(454)]=!0,this[n(395)](e[n(368)]),this._eventService=new Ss,this._rendererFactory=new vs(r,this),this[n(451)]=this[n(462)][n(476)],this[n(390)]=new d,this[n(463)]=new D("innerMapService",this,!1),this[n(379)]=y.vec2[n(374)](e.center),this[n(389)][n(453)](m[n(410)],()=>{this[n(468)]=!0});let h=J[n(467)](e[n(439)]),o=this[n(422)](h);null!=o&&(this._lod=o,this[n(383)]=this._lods[o].resolution,this[n(387)](!1))}[Ms(404)](){const t=Ms;this[t(463)].destroy(),this[t(390)].forEach((e,s)=>{e[t(404)]()}),this[t(390)][t(481)](),this[t(462)][t(404)](),this[t(434)].destroy(),delete this._innerMapService,delete this[t(390)],delete this._rendererFactory,delete this[t(389)],delete this[t(394)],delete this[t(379)],delete this[t(451)],delete this[t(463)],delete this[t(472)],delete this[t(449)],delete this[t(474)],delete this[t(399)]}[Ms(385)](t){const e=Ms;let s=this.findOptimalResolution(t),i=this[e(422)](s);return this[e(394)]&&null!=i&&(s=this._lods[i][e(432)]),J[e(461)](s)}updatePredefinedScales(t){const e=Ms;if(t){this[e(394)]=[];for(let s of t){let t=new le;t.resolution=J[e(467)](s),t.scale=s,this[e(394)][e(396)](t)}}}findOptimalResolution(t){const e=Ms;let s=t[e(440)]-t[e(456)],i=t[e(452)]-t[e(372)];return Math[e(371)](s/this[e(399)][e(388)],i/this[e(399)][e(416)])}[Ms(422)](t){const e=Ms;let s;if(this[e(394)]){s=0;let i=this._lods[e(477)];for(;s<i-1;){if(this[e(394)][s+1][e(432)]<t)break;s++}}return s}[Ms(464)](t){const e=Ms;let s;if(this[e(394)]){s=0;let i=Math[e(425)](this[e(394)][0][e(432)]/t-1);for(let r=1,n=this[e(394)][e(477)];r<n;r++){let n=this[e(394)][r],h=Math.abs(n[e(432)]/t-1);h<i&&(i=h,s=r)}}return s}[Ms(386)](){const t=Ms;if(!this[t(394)])return.5;let e=this[t(464)](this.resolution);if(void 0===e)return.5;let s=e+1;return void 0!==this[t(394)][s]?this[t(394)][s][t(432)]/this._lods[e][t(432)]:.5}[Ms(367)](){const t=Ms;if(!this._lods)return 2;let e=this.findOptimalLod(this.resolution);if(void 0===e)return 2;let s=e-1;return void 0!==this[t(394)][s]?this[t(394)][s][t(432)]/this[t(394)][e].resolution:2}[Ms(415)](t){const e=Ms;let s=J[e(467)](t),i=this[e(464)](s);return this[e(394)]&&void 0!==i&&(s=this[e(394)][i][e(432)]),s}[Ms(382)](t){const e=Ms;let s=!1,i=this[e(408)](t),r=this[e(422)](i);if(this._lods&&void 0!==r?r!=this._lod&&(this[e(407)]=r,this[e(383)]=this[e(394)][r][e(432)],s=!0):this[e(383)]!=i&&(this[e(383)]=i,s=!0),s)this[e(379)]=t[e(457)](),this[e(387)](!1),this[e(470)](!1);else{let s=t[e(457)](),i=this[e(379)][0]-s[0],r=s[1]-this[e(379)][1];0==i&&0==r||this[e(443)](i/this[e(383)],r/this[e(383)],!1),this[e(409)](!1)}}[Ms(387)](t){const e=Ms;this[e(381)]=this.findExtent(this[e(379)],this[e(383)]);let s=this[e(429)](this[e(381)]);this._extent[e(402)](s),y.vec2[e(405)](this[e(379)],this[e(379)],s),this._eventService[e(373)](m.mapExtentUpdated,{extent:this._extent,isTmp:t})}[Ms(412)](t,e){const s=Ms;this[s(390)][s(441)](t)?window[s(455)]&&window[s(455)].error("Duplicitní identifikátor mapové služby"):(this[s(390)].add(t,e),this[s(389)][s(373)](m[s(473)],null))}[Ms(427)](t){const e=Ms;this[e(390)][e(435)]((e,s)=>t(e,s))}[Ms(430)](t){const e=Ms;return this[e(390)][e(441)](t)}[Ms(442)](t,e){const s=Ms;return new k(t[0]-this[s(399)][s(388)]*e/2,t[1]-this._size[s(416)]*e/2,t[0]+this[s(399)][s(388)]*e/2,t[1]+this[s(399)][s(416)]*e/2)}[Ms(429)](t){const e=Ms;if(!this._fullExtent)return[0,0];let s=[0,0],i=this[e(401)][e(440)]-this[e(401)][e(456)],r=this[e(401)][e(452)]-this[e(401)].ymin,n=t[e(440)]-t[e(456)],h=t[e(452)]-t[e(372)];return i>=n?t.xmin<this[e(401)][e(456)]?s[0]=this[e(401)].xmin-t[e(456)]:t[e(440)]>this[e(401)][e(440)]&&(s[0]=this[e(401)][e(440)]-t.xmax):s[0]=this[e(401)][e(456)]+i/2-(t[e(456)]+n/2),r>=h?t[e(452)]>this[e(401)].ymax?s[1]=this[e(401)].ymax-t.ymax:t[e(372)]<this[e(401)][e(372)]&&(s[1]=this._fullExtent.ymin-t.ymin):s[1]=this[e(401)][e(452)]-r/2-(t[e(452)]-h/2),s}[Ms(443)](t,e,s){const i=Ms;return this[i(379)][0]-=t*this[i(383)],this[i(379)][1]+=e*this[i(383)],this.updateExtent(s),!0}[Ms(420)](t,e){const s=Ms;let i=this.resolution;if(null!=e){var r=J[s(467)](e);let t=this[s(464)](r);void 0!==t&&this[s(394)]&&(this[s(407)]=t,i=this[s(394)][t][s(432)])}this[s(432)]!==i?(this[s(383)]=i,this[s(379)][0]=t[0],this[s(379)][1]=t[1],this[s(387)](!1),this[s(470)](!1)):(this[s(379)][0]=t[0],this[s(379)][1]=t[1],this[s(387)](!1),this[s(409)](!1))}[Ms(458)](t){const e=Ms;return w.unproject(t,this[e(479)],this[e(432)])}[Ms(436)](t,e,s){const i=Ms;this[i(406)]||(this[i(447)]&&this.stopMove(Ts[i(482)]),this[i(443)](t,e,s)&&this[i(409)](s))}[Ms(424)](){const t=Ms;this._center=y.vec2.clone(this[t(474)].center),this[t(383)]=J[t(467)](this._settings[t(439)]),this[t(387)](!1),this[t(470)](!1)}[Ms(444)](){const t=Ms;this[t(437)](this[t(386)]())}[Ms(370)](){const t=Ms;this[t(437)](this[t(367)]())}[Ms(478)](t,e,s){const i=Ms;let r=t*this[i(383)];if(!s){let t,e=this[i(464)](r);if(null!=e){let s=this.findOptimalLod(this._resolution);void 0!==s&&this[i(394)]&&(t=Math[i(425)](s-e),r=this[i(394)][e][i(432)])}}this[i(383)]=r,this[i(379)][0]+=(e[0]-this._center[0])*(1-t),this[i(379)][1]+=(e[1]-this[i(379)][1])*(1-t),this.updateExtent(s),this[i(470)](s)}[Ms(437)](t,e){return(0,P.__awaiter)(this,void 0,void 0,function*(){return new Promise(s=>{const i=Us;if(this[i(406)]||this[i(447)])return void s(!1);let r,n=this[i(383)]*t,h=this[i(464)](n);if(null!=h){let t=this[i(464)](this[i(383)]);void 0!==t&&this[i(394)]?(r=Math[i(425)](t-h),this[i(413)]=this[i(394)][h][i(432)]):this[i(413)]=n}else this._targetResolution=n;if(this[i(413)]===this._resolution)return;let o=e;!o&&(o=y.vec2.clone(this._center)),this[i(472)]=[this[i(379)][0]+(o[0]-this[i(379)][0])*(1-t),this._center[1]+(o[1]-this[i(379)][1])*(1-t)],this._targetExtent=this[i(442)](this._targetCenter,this[i(413)]);let a=this[i(429)](this._targetExtent);this._targetExtent.shift(a),this.animateZoom(400)[i(433)](t=>{s(t)})[i(445)](t=>{s(!1)})})})}[Ms(403)](t){return(0,P.__awaiter)(this,void 0,void 0,function*(){return new Promise(e=>{const s=Us;if(this[s(406)]||this[s(447)])return void e(!1);let i=new l(this[s(399)][s(388)],this[s(399)][s(416)]);this[s(406)]=!0;let r=this[s(383)],n=y.vec2[s(374)](this._center);const h=this[s(472)],o=this[s(413)];new ks({duration:t,timeChanged:t=>{const e=s;this[e(383)]=r+t*(o-r),this[e(379)][0]=n[0]+t*(h[0]-n[0]),this._center[1]=n[1]+t*(h[1]-n[1]),this[e(387)](!0),this[e(470)](!0)},completed:()=>{const t=s;this[t(383)]=o,this._lod=this[t(464)](this[t(383)]),this[t(406)]=!1,this._targetResolution=void 0,this._size.equal(i)||this[t(389)][t(373)](m[t(469)],this._size),this[t(387)](!1),this.scaleUpdated(!1),e(!0)}})[s(465)]()})})}[Ms(466)](t){return(0,P.__awaiter)(this,void 0,void 0,function*(){return new Promise(e=>{const s=Us;if(this._zooming||this._moving)return void e(!1);let i=[0,0];y.vec2.sub(i,this[s(380)],t),this.animateMove(i[0]/this[s(383)],-i[1]/this[s(383)],400).then(t=>{e(t)})[s(445)](t=>{e(!1)})})})}[Ms(411)](t,e){return(0,P.__awaiter)(this,arguments,void 0,function*(t,e,s=1e3){return new Promise(i=>{const r=Us;if(this[r(406)]||this[r(447)])return void i(!1);let n=new l(this[r(399)][r(388)],this[r(399)][r(416)]);this[r(447)]=!0;let h=[0,0];new ks({duration:s,timeChanged:s=>{const i=r;let n=s*s,o=n*(t-h[0]),a=n*(e-h[1]);this.move(o,a,!0),h[0]+=o,h[1]+=a,this[i(409)](!0)},completed:()=>{const t=r;this._moving=!1,this[t(399)].equal(n)||this[t(389)][t(373)](m[t(469)],this[t(399)]),this[t(409)](!1),i(!0)}}).start()})})}[Ms(475)](t){const e=Ms;if(this[e(406)])return;this._moveDirectionManger.addDirection(t);let s=this[e(449)][e(418)]();this[e(447)]=!0,clearTimeout(this[e(376)]);let i=t=>{const r=e;let n=(new Date)[r(392)](),h=n-t,o=s[0]*h*this[r(397)],a=s[1]*h*this[r(397)];this[r(443)](o,a,!0),this[r(409)](!0),this[r(376)]=setTimeout(()=>{i(n)},10)};i((new Date)[e(392)]())}[Ms(400)](t){const e=Ms;this[e(449)].removeDirection(t),this[e(449)].hasDirection()||(clearTimeout(this[e(376)]),this[e(447)]=!1,this[e(409)](!1))}[Ms(409)](t){const e=Ms;this._eventService.publish(m[e(398)],t),this.isDirty=!0}[Ms(470)](t){const e=Ms;this[e(389)][e(373)](m.mapScaleUpdated,t),this[e(468)]=!0}[Ms(423)](t,e){const s=Ms;this[s(399)]=t,this[s(446)]=e,!this[s(406)]&&!this[s(447)]&&(this[s(387)](!1),this[s(389)][s(373)](m[s(469)],this._size),this.isDirty=!0)}[Ms(431)](t){const e=Ms;if(this.isDirty=!1,0===this._size.width||0===this._size[e(416)])return;let s=new ws;s[e(378)]=this[e(381)],s[e(432)]=this[e(432)],s[e(380)]=this[e(380)],s.size=this._size,s[e(448)]=this[e(446)],s[e(366)]=t;let i=new d;this._mapServices.forEach((t,e)=>{i.add(e,t)}),i[e(405)](this._innerMapService[e(483)],this[e(463)]),this[e(451)].render(s,i)}}function js(){var t=["222mzRoTn","36zOAfsi","620wTRpdC","11VlSyiL","directory","10155RlgDjT","202024pIffcL","71561hitLEF","10184Gozbst","1123160UZfwaU","90OjrdBe","directoryGoogle","151544tmyEdX","4584876pPuLvQ"];return(js=function(){return t})()}function Gs(t,e){return t-=313,js()[t]}var qs,Ns,Xs;!function(t){for(var e=Gs,s=t();;)try{if(234414===parseInt(e(319))/1+parseInt(e(313))/2*(parseInt(e(318))/3)+-parseInt(e(321))/4*(-parseInt(e(315))/5)+parseInt(e(323))/6*(parseInt(e(320))/7)+parseInt(e(325))/8+parseInt(e(314))/9*(-parseInt(e(322))/10)+-parseInt(e(316))/11*(parseInt(e(326))/12))break;s.push(s.shift())}catch(t){s.push(s.shift())}}(js),(Ns=qs||(qs={}))[(Xs=Gs)(317)]=Xs(317),Ns[Xs(324)]=Xs(324);const Hs=Ws;function Ws(t,e){t-=304;return Zs()[t]}function Zs(){const t=["catch","add","TEXTURE_WRAP_T","258lVnnes","TEXTURE_WRAP_S","path","state","3800588YbXXkj","destroy","568qUlOAj","createTexture","usedOn","373360SqGOyr","loader","TEXTURE_2D","RGBA","CLAMP_TO_EDGE","17010izPbpj","deleteTexture","texParameteri","92570PFgqHC","clean","_gl","image","2615dUSvNZ","15144MMLhyb","get","forEach","_textures","console","hTexture","LINEAR","loaded","deleted","buildTexture","error","5892MRxehB","texImage2D","remove","undefined","loadTexture","onload","then","onerror","loadImage","20PHqtQK","bindTexture","getTexture","171yvbexj"];return(Zs=function(){return t})()}!function(t){const e=Ws,s=t();for(;;)try{if(108428===parseInt(e(304))/1+-parseInt(e(324))/2*(parseInt(e(315))/3)+parseInt(e(340))/4+parseInt(e(352))/5*(parseInt(e(331))/6)+parseInt(e(345))/7*(-parseInt(e(337))/8)+parseInt(e(327))/9*(-parseInt(e(348))/10)+parseInt(e(335))/11)break;s.push(s.shift())}catch(t){s.push(s.shift())}}(Zs);class Vs{constructor(t){this[Ws(350)]=t,this._textures=new d}[Hs(326)](t){const e=Hs;let s=this[e(307)][e(305)](t.path);return s?s[e(334)]===Le[e(318)]?(s[e(339)]=new Date,s[e(320)]=t[e(320)],s[e(322)]=t[e(322)]):s.state===Le[e(311)]&&(s[e(339)]=new Date):(s={key:t[e(333)],image:void 0,hTexture:null,state:Le[void 0],usedOn:new Date,onload:t.onload,onerror:t[e(322)]},this._textures[e(329)](t[e(333)],s),this[e(319)](s)),s}[Hs(319)](t){const e=Hs;r[e(341)][e(323)](t.key)[e(321)](s=>{const i=e;t[i(334)]!==Le[i(312)]&&(t.image=s,t[i(309)]=this[i(313)](s),t[i(334)]=Le[i(311)],t[i(320)]&&t[i(320)]())})[e(328)](s=>{const i=e;t[i(334)]!==Le[i(312)]&&(t[i(334)]=Le[i(314)],t[i(322)]&&t[i(322)]())})}[Hs(313)](t){const e=Hs;var s=null;try{s=this[e(350)][e(338)](),this[e(350)][e(325)](this._gl[e(342)],s),this._gl[e(316)](this[e(350)].TEXTURE_2D,0,this._gl[e(343)],this[e(350)][e(343)],this[e(350)].UNSIGNED_BYTE,t),this[e(350)][e(347)](this[e(350)][e(342)],this[e(350)].TEXTURE_MIN_FILTER,this._gl[e(310)]),this[e(350)].texParameteri(this[e(350)][e(342)],this._gl[e(332)],this[e(350)][e(344)]),this[e(350)][e(347)](this[e(350)].TEXTURE_2D,this[e(350)][e(330)],this[e(350)][e(344)])}catch(t){window[e(308)]&&window[e(308)].log(t),s=null}return s}[Hs(346)](t){const e=Hs;let s=this[e(307)][e(305)](t);void 0!==s&&(s[e(351)]=void 0,s.state===Le[e(311)]&&(this[e(350)][e(346)](s[e(309)]),s[e(334)]=Le.deleted),this[e(307)][e(317)](t))}[Hs(336)](){const t=Hs;this[t(307)][t(306)]((e,s)=>{this[t(346)](e)}),this._textures[t(349)](),delete this[t(307)],delete this[t(350)]}}function Ys(t,e){t-=425;return $s()[t]}const Ks=Ys;!function(t){const e=Ys,s=t();for(;;)try{if(644528===parseInt(e(506))/1*(-parseInt(e(467))/2)+parseInt(e(490))/3+-parseInt(e(453))/4+-parseInt(e(459))/5+-parseInt(e(478))/6*(parseInt(e(460))/7)+-parseInt(e(510))/8+parseInt(e(469))/9)break;s.push(s.shift())}catch(t){s.push(s.shift())}}($s);class Qs{get[Ks(462)](){const t=Ks;if(this._serviceInfo)return this[t(428)]||(this[t(428)]=[this[t(477)][t(471)][t(462)].x,this[t(477)][t(471)].origin.y]),this._origin}get[Ks(496)](){return this[Ks(454)]}get[Ks(434)](){return this[Ks(448)]}get textureManager(){return this[Ks(519)]}get[Ks(465)](){return this[Ks(442)]}constructor(t,e){const s=Ks;this[s(442)]=t,this[s(476)]=e,this._actualTiles=new d,this[s(473)]=new d,this[s(524)]=!1,this[s(448)]=!1,this[s(432)]=!1,this[s(514)]=0,this._zooming=!1,this[s(439)]=!1,this[s(437)]=!1,e[s(441)](t,this),this._renderer=e[s(521)].tileServiceRenderer,this[s(427)]=this._renderer[s(483)],this._textureManager=new Vs(this._renderer.gl),this[s(425)]=e.eventService}[Ks(522)](){const t=Ks;this[t(425)][t(461)](m[t(486)],e=>{this[t(492)](e)}),this._eventService[t(461)](m[t(495)],e=>{this[t(488)](e)}),this[t(425)][t(461)](m[t(493)],e=>{this[t(446)](e)})}onTileLoaded(){const t=Ks;this[t(514)]--,this[t(430)](),this[t(425)][t(487)](m[t(485)],null)}[Ks(475)](t,e,s){return""}[Ks(430)](){const t=Ks;this[t(437)]||this[t(514)]<1&&!this._hideNew&&this[t(451)](this[t(473)])}[Ks(451)](t){const e=Ks;this[e(437)]||(t[e(452)](t=>{t.destroy()}),t[e(458)]())}[Ks(525)](t){const e=Ks;this[e(454)]=this._minLevel;let s=this[e(503)][e(501)](this._minLevel)[e(474)];for(let i=this[e(466)]+1,r=this[e(470)];i<=r;i++){let r=this._lods[e(501)](i);Math[e(482)](t-s)>Math[e(482)](t-r.resolution)&&(s=r[e(474)],this[e(454)]=i)}this._tileSize=this[e(477)].tileInfo[e(444)]*s/t}[Ks(468)](t,e){const s=Ks;if(this[s(437)]||!this.origin)return;let i=[e[s(431)],e[s(523)]],r=J[s(436)](this.origin,i,this[s(457)],t),n=[e[s(429)],e[s(463)]],h=J[s(436)](this[s(462)],n,this[s(457)],t),o=Math[s(502)](r[0]),a=Math[s(440)](h[0]),l=Math[s(502)](r[1]),u=Math[s(440)](h[1]),c=[o,l],f=J[s(445)](this.origin,c,this._tileSize,t),p=new d,_=[],g=f[1],I=this[s(457)]*t;for(let t=l;t<u;t++){let e=f[0];for(let i=o;i<a;i++){let r=t+"_"+i+"_"+this[s(454)],n=this[s(515)][s(501)](r);if(n)this[s(515)][s(455)](r),p[s(449)](r,n);else{let n={key:r,column:i,row:t,level:this[s(454)],extent:new k(e,g-I,e+I,g)};_[s(516)](n),this._loadingCounter++}e+=I}g-=I}let v=_[s(508)]>0;for(this[s(515)][s(452)]((t,e)=>{const i=s;if(_[i(508)]>0){let e=_[i(512)]();t[i(494)](e[i(438)],e[i(511)],e[i(518)]),t.move(e[i(433)]),p.add(e[i(465)],t)}else t.destroy()}),this._actualTiles[s(458)]();_[s(508)]>0;){let t=_[s(512)](),e=new Js(this,t[s(438)],t.row,t[s(518)],t[s(433)]);p[s(449)](t[s(465)],e)}if(this[s(515)]=p,v){let t=new d;this[s(515)][s(452)]((e,i)=>{t[s(449)](i,e)}),this[s(473)][s(452)]((e,s)=>{t.add(s,e)}),this._dataBuffers=void 0;let e=this[s(427)][s(509)](this[s(442)],t);this._dataBuffers=e,this[s(425)][s(487)](m[s(485)],null)}}[Ks(504)](){const t=Ks;if(this[t(437)])return;let e=new d;this._actualTiles[t(452)]((s,i)=>{e[t(449)](i,s)}),this[t(515)]=this[t(473)],this._oldTiles=e}updatePosition(t){const e=Ks;this[e(437)]||this.update(this[e(476)][e(474)],this[e(476)][e(433)])}[Ks(488)](t){const e=Ks;if(!this[e(437)])if(t)!this._wasPreviousTempUpdateZoomCall&&(this._wasPreviousTempUpdateZoomCall=!0,this.swap(),this[e(448)]=!0,this.map[e(500)]&&(this[e(525)](this[e(476)].targetResolution),this[e(468)](this.map[e(500)],this[e(476)][e(481)]),this[e(432)]=!0)),this[e(497)]=!0;else{if(this[e(524)])if(this._swapped)this[e(432)]=!1,this[e(448)]=!1,this[e(524)]=!1;else{this[e(524)]=!1,this[e(448)]=!1;let t=this[e(454)];this[e(525)](this[e(476)][e(474)]),t!==this[e(454)]?this[e(468)](this[e(476)].resolution,this.map[e(433)]):this[e(504)]()}else this.swap(),this._hideNew=!0,this[e(525)](this[e(476)][e(474)]),this[e(468)](this[e(476)][e(474)],this.map[e(433)]),this[e(448)]=!1;this.removeOldTiles(),this[e(497)]=!1}}[Ks(446)](t){const e=Ks;this[e(437)]||(this[e(451)](this[e(515)]),this[e(525)](this[e(476)][e(474)]),this.updatePosition(!1))}[Ks(464)](t){const e=Ks;if(this[e(437)]||!this[e(450)])return;let s=[];s.push(this[e(473)]),s[e(516)](this[e(515)]),this._renderer[e(464)]({dataBuffers:this[e(450)],tilesList:s,time:t.time})}renderHighlights(t){}destroy(){const t=Ks;this[t(437)]=!0,this[t(451)](this[t(473)]),this[t(451)](this[t(515)]),delete this[t(473)],delete this[t(515)],this[t(491)].destroy(),delete this[t(519)]}}class Js{set[Ks(480)](t){this._bufferIndex=t}get[Ks(480)](){return this[Ks(484)]}get extent(){return this[Ks(426)]}constructor(t,e,s,i,r){const n=Ks;this[n(513)]=t,this[n(511)]=e,this[n(443)]=s,this[n(518)]=i,this[n(426)]=r,this[n(484)]=-1,this[n(499)]=this[n(513)][n(475)](e,s,i)}[Ks(489)](){const t=Ks;this[t(513)].textureManager[t(507)](this[t(499)])}change(t,e,s){const i=Ks;this[i(513)][i(491)][i(507)](this._src),this[i(511)]=t,this[i(443)]=e,this.level=s,this._src=this[i(513)][i(475)](t,e,s)}[Ks(456)](t){const e=Ks;this[e(426)][e(431)]=t[e(431)],this[e(426)][e(463)]=t[e(463)],this[e(426)][e(429)]=t.xmax,this[e(426)][e(523)]=t.ymax}[Ks(464)](t){const e=Ks;let s=this[e(435)]();s.state===Le[e(520)]&&void 0!==this[e(484)]&&(t.gl[e(479)](t.gl[e(498)],s[e(472)]),t.gl[e(517)](t.gl[e(447)],this._bufferIndex,6))}[Ks(435)](){const t=Ks;return this.mapService[t(491)].getTexture({path:this[t(499)],onload:()=>{const e=t;this[e(513)][e(505)]()},onerror:()=>{const e=t;this.mapService[e(505)]()}})}}function $s(){const t=["deleteTexture","length","buildDataBuffers","4585840CDmftv","row","pop","mapService","_loadingCounter","_actualTiles","push","drawArrays","level","_textureManager","loaded","rendererFactory","startService","ymax","_wasPreviousTempUpdateZoomCall","findOptimalLevel","_eventService","_extent","_dataBufferManager","_origin","xmax","removeOldTiles","xmin","_swapped","extent","hideNew","getTexture","worldXYToTile","_destroyed","column","_swapping","ceil","addService","_key","col","cols","tileToWorldXY","resize","TRIANGLES","_hideNew","add","_dataBuffers","removeTiles","forEach","4685524nfYceB","_zoomLevel","remove","move","_tileSize","clean","2237450fYpTqt","76069ybgdOc","subscribe","origin","ymin","render","key","_minLevel","8462GzzPVC","update","31507551ibuwLO","_maxLevel","tileInfo","hTexture","_oldTiles","resolution","getSource","map","_serviceInfo","186IJtUPn","bindTexture","bufferIndex","targetExtent","abs","dataBufferManager","_bufferIndex","mapRepaintRequired","mapPositionUpdated","publish","updateScale","destroy","2242023bwzHoJ","textureManager","updatePosition","mapResized","change","mapScaleUpdated","zoomLevel","_zooming","TEXTURE_2D","_src","targetResolution","get","floor","_lods","swap","onTileLoaded","254GYeaRO"];return($s=function(){return t})()}const ti=require("json5");function ei(t,e){t-=237;return ii()[t]}!function(t){const e=ei,s=t();for(;;)try{if(936005===parseInt(e(249))/1*(-parseInt(e(238))/2)+-parseInt(e(237))/3*(-parseInt(e(245))/4)+parseInt(e(243))/5*(parseInt(e(251))/6)+parseInt(e(246))/7*(parseInt(e(248))/8)+parseInt(e(239))/9*(-parseInt(e(240))/10)+parseInt(e(242))/11*(parseInt(e(247))/12)+parseInt(e(244))/13)break;s.push(s.shift())}catch(t){s.push(s.shift())}}(ii);class si{static getServiceInfo(t){return(0,P.__awaiter)(this,void 0,void 0,function*(){const e=ei;let s=[t,e(241)].join(""),i=yield fetch(s);return yield i[e(250)]()})}}function ii(){const t=["4luZSlE","70qCEdjC","60qDqBzd","1059976Rvqijd","1838fTZbiw","text","408TIqCiW","767091WpqUtf","1642cVgckU","11823345qbiyXx","10Asiewp","tileInfo.txt","2425313xYCWQo","54725LUnRxY","4307758dnEcfR"];return(ii=function(){return t})()}const ri=hi;function ni(){const t=["00000000","push","startService","png","_minLevel","level","scaleFactor","getServiceInfo","length","5794572rGkTtg","toString","updateScale","parse","scale","format","1604536dAfUJy","_serviceInfo","findOptimalLevel","63CmaphI","join","1842245uEgYmT","tileInfo","_maxLevel","1499995ixJBYZ","1629986VjZQbg","3082260GeHNyC","10851253pmrZba","12HhRGDb","get","publish","_eventService","slice","getSource","server","set","then","_lods","lods"];return(ni=function(){return t})()}function hi(t,e){t-=206;return ni()[t]}!function(t){const e=hi,s=t();for(;;)try{if(829383===parseInt(e(229))/1+-parseInt(e(230))/2+parseInt(e(231))/3+-parseInt(e(233))/4*(-parseInt(e(226))/5)+parseInt(e(215))/6+-parseInt(e(232))/7+parseInt(e(221))/8*(-parseInt(e(224))/9))break;s.push(s.shift())}catch(t){s.push(s.shift())}}(ni);class oi extends Qs{constructor(t,e,s){const i=hi;super(t,e),this.server=s,this._lods=new Map,si[i(213)](s)[i(241)](t=>{const s=i;let r=ti[s(218)](t);this[s(222)]=r,this[s(208)]();let n=this[s(222)][s(227)][s(243)];for(let t=0,e=n[s(214)];t<e;t++){let i=n[t];t<e-1&&(i[s(212)]=i[s(219)]/n[t+1][s(219)]),this[s(242)][s(240)](i[s(211)],i)}this[s(210)]=n[0][s(211)],this[s(228)]=n[n[s(214)]-1][s(211)],this[s(223)](e.resolution),this[s(217)](!1),this[s(236)][s(235)](m.mapRepaintRequired,null)})}[ri(238)](t,e,s){const i=ri;try{let r=this[i(242)];if(r){s=this[i(210)]+this[i(228)]-s;let n=[];n[i(207)]("R"),n.push(("00000000"+e[i(216)](16))[i(237)](-8));let h=[];h[i(207)]("C"),h.push((i(206)+t[i(216)](16))[i(237)](-8));let o=[];o.push("L"),o[i(207)](("000"+s)[i(237)](-3));let a=i(209),l=r[i(234)](s);return(null==l?void 0:l[i(220)])&&(a=l.format),this[i(239)]+o[i(225)]("")+"/"+n[i(225)]("")+"/"+h[i(225)]("")+"."+a}return""}catch(t){return""}}}function ai(t,e){t-=134;return li()[t]}function li(){const t=["26880pCWZAd","2035scICyA","8628dUrvyZ","120OUyhzr","directoryGoogle","_maps","297316HuFHHX","resize","src","179296bnHzwa","composition","type","203wGfRqr","33260tNZKQr","tiledServices","621FjVhXU","3004206KrClzd","2529aPYbLN","mapSettings","get","1400HCtzDq"];return(li=function(){return t})()}!function(t){const e=ai,s=t();for(;;)try{if(344766===-parseInt(e(147))/1+-parseInt(e(140))/2*(-parseInt(e(137))/3)+parseInt(e(141))/4*(-parseInt(e(144))/5)+parseInt(e(136))/6+parseInt(e(153))/7*(-parseInt(e(150))/8)+parseInt(e(135))/9*(parseInt(e(154))/10)+-parseInt(e(142))/11*(-parseInt(e(143))/12))break;s.push(s.shift())}catch(t){s.push(s.shift())}}(li);class ui{static buildMap(t,e,s,i,r){const n=ai;if(ui[n(146)].has(t)){let s=ui._maps[n(139)](t);return null==s||s[n(148)](e,i),s}let h=new Os(t,s[n(138)],e,i,r);for(let t in s[n(151)])if(t===n(134)){let e=s[n(151)][t];for(let t in e){let s=e[t];if(s[n(152)]===qs[n(145)]){new oi(t,h,s[n(149)])}}}return h}}function ci(){var t=["117YymzqO","7327067ucZbXt","22694jaXQQK","259848WWabqc","2283500rzehQm","573390ZAmeSD","76EcqzvH","5800igSytp","51715JWnNEq","114fDZdCv","8dOhdPV","mapScaleUpdated"];return(ci=function(){return t})()}function fi(t,e){return t-=211,ci()[t]}var pi,di,_i;ui._maps=new Map,function(t){for(var e=fi,s=t();;)try{if(133830===parseInt(e(221))/1+-parseInt(e(213))/2*(-parseInt(e(218))/3)+-parseInt(e(212))/4*(-parseInt(e(214))/5)+parseInt(e(215))/6*(-parseInt(e(220))/7)+-parseInt(e(216))/8*(-parseInt(e(211))/9)+parseInt(e(222))/10+-parseInt(e(219))/11)break;s.push(s.shift())}catch(t){s.push(s.shift())}}(ci),(di=pi||(pi={}))[di[(_i=fi)(217)]=1]=_i(217),di[di.mapPositionUpdated=2]="mapPositionUpdated";var mi=gi;function gi(t,e){return t-=158,vi()[t]}!function(t){for(var e=gi,s=t();;)try{if(260351===-parseInt(e(163))/1*(-parseInt(e(174))/2)+parseInt(e(170))/3+-parseInt(e(173))/4+parseInt(e(162))/5*(-parseInt(e(160))/6)+parseInt(e(171))/7+parseInt(e(172))/8+-parseInt(e(169))/9)break;s.push(s.shift())}catch(t){s.push(s.shift())}}(vi);class Ii{constructor(t){var e=gi;this._mapComposite=t[e(165)],this[e(166)]=this._mapComposite[e(167)]}destroy(){}on(t,e){var s=gi;if(e)switch(t){case pi[s(168)]:return this._eventService.subscribe(m[s(168)],t=>e(t));case pi[s(161)]:return this[s(166)][s(164)](m[s(161)],t=>e(t));default:return}}[mi(159)](t,e){var s=mi;if(e)switch(t){case pi[s(168)]:return this._eventService[s(158)](m.mapScaleUpdated,e);case pi[s(161)]:return this[s(166)][s(158)](m[s(161)],e);default:return!1}}}function vi(){var t=["3736744DzEHgt","308884emzNnh","1004538FnWeCk","unsubscribe","off","848112QmxKdH","mapPositionUpdated","5FKWBSC","1FGlNTl","subscribe","_mapComposite","_eventService","eventService","mapScaleUpdated","12890358wOAqze","1343658nvYGnu","3457566bLifiv"];return(vi=function(){return t})()}const yi=xi;function xi(t,e){t-=413;return Si()[t]}!function(t){const e=xi,s=t();for(;;)try{if(682927===parseInt(e(425))/1*(parseInt(e(437))/2)+parseInt(e(451))/3*(-parseInt(e(484))/4)+-parseInt(e(457))/5*(-parseInt(e(469))/6)+parseInt(e(428))/7*(parseInt(e(431))/8)+parseInt(e(487))/9+-parseInt(e(446))/10*(parseInt(e(413))/11)+-parseInt(e(440))/12)break;s.push(s.shift())}catch(t){s.push(s.shift())}}(Si);class bi{get[yi(480)](){const t=yi;return this[t(486)]||(this[t(486)]=new Ii(this)),this[t(486)]}get[yi(450)](){return Object[yi(473)]({},this._settings)}constructor(t,e,s,i,r,n){const h=yi;this._settings=ae[h(450)][e][h(481)],void 0!==n&&(this[h(427)][h(472)][h(476)].podklad[h(461)]=n),this._mapComposite=ui[h(464)](t,new l(i[h(442)],i[h(438)]),this[h(427)],r,s),this[h(463)]=new D(h(488),this[h(482)]),this[h(414)]=new re(this[h(463)])}[yi(429)](){const t=yi;this[t(414)].destroy(),delete this[t(414)],delete this._featureService,this[t(482)][t(429)](),delete this[t(482)]}[yi(426)](t,e){const s=yi;this[s(482)]&&this[s(482)][s(426)](t,e)}[yi(421)](t){const e=yi;return!(!this._mapComposite||!this[e(482)][e(418)])&&(this[e(482)][e(421)](t),!0)}pan(t,e,s){const i=yi;this[i(482)]&&this[i(482)].pan(t,e,s)}[yi(459)](t,e,s){const i=yi;if(!this[i(482)])return;let r=w.unproject(e,this._mapComposite[i(430)],this._mapComposite[i(452)]);this._mapComposite[i(459)](t,r,s)}[yi(467)](t){const e=yi;if(!this._featureProvider)return;return this[e(414)][e(467)](t)}[yi(470)](){const t=yi;if(this[t(482)])return J[t(424)](this[t(482)].resolution)}[yi(441)](){const t=yi;if(this[t(482)])return this._mapComposite[t(433)]}[yi(416)](t){const e=yi;if(!t)return;let s=new k(t[e(445)]+1,t[e(423)]+1,t[e(477)]-1,t.ymax-1),i=s[e(483)](),r={scale:this[e(482)][e(449)](s),center:{x:i[0],y:i[1]}};this[e(475)](r)}[yi(434)](){const t=yi;this[t(414)]&&(this._featureProvider[t(444)](!0),this[t(414)][t(462)](!0))}[yi(453)](t,e=!1){const s=yi;this[s(414)]&&this[s(414)].addPointFeatures(t,e)}[yi(460)](t,e=!1){const s=yi;this[s(414)]&&this[s(414)].addPolylineFeatures(t,e)}[yi(419)](t,e=!1){const s=yi;this._featureProvider&&this._featureProvider[s(419)](t,e)}[yi(432)](t,e=!1){const s=yi;this._featureProvider&&this[s(414)][s(432)](t,e)}[yi(455)](){const t=yi;this[t(414)]&&this[t(414)].repaint()}[yi(468)](){const t=yi;this[t(482)]&&this._mapComposite[t(468)]()}[yi(443)](){const t=yi;this[t(482)]&&this[t(482)].zoomOut()}[yi(475)](t){const e=yi;if(!this[e(482)])return;if(!t.animate)return this[e(482)][e(435)]([t.center.x,t[e(415)].y],t.scale),void(t[e(417)]&&t.animationCompleted(!1));let s=this._mapComposite[e(454)](t[e(485)]);if(s===this[e(482)][e(452)])return void this[e(482)].smoothMove([t[e(415)].x,t[e(415)].y])[e(456)](()=>{const s=e;t[s(417)]&&t[s(417)]()});let i=s/this[e(482)][e(452)],r=t[e(415)];if(i<1){let s=1/(1/i-1);r={x:t[e(415)].x+(t[e(415)].x-this[e(482)][e(415)][0])*s,y:t[e(415)].y+(t.center.y-this[e(482)].center[1])*s}}else{let s=1/(i-1);r={x:this[e(482)].center[0]+(this[e(482)][e(415)][0]-t[e(415)].x)*s,y:this[e(482)].center[1]+(this[e(482)].center[1]-t[e(415)].y)*s}}this[e(482)].smoothZoom(i,[r.x,r.y])[e(456)](()=>{t[e(417)]&&t.animationCompleted()})}zoomToPointFeature(t,e){const s=yi;if(!t)return;let i,r,n,h={x:t.x,y:t.y};if(e&&(r=e[s(458)],n=e.animationCompleted),e&&void 0!==e[s(485)])i=e[s(485)];else{let t=new k(h.x,h.y,h.x,h.y);t[s(489)](100),i=this._mapComposite.findScale(t)}let o={scale:i,center:h,animate:r,animationCompleted:n};this[s(475)](o)}[yi(420)](t,e){const s=yi;if(!t)return;let i=Jt[s(474)](t.geo,1),r=Wt.getLength(i),n=Wt.getPointOnDistance(r/2,i);if(!n)return;let h,o,a,l={x:n[0],y:n[1]};e&&(o=e[s(458)],a=e[s(417)]),h=e&&void 0!==e.scale?e[s(485)]:this._mapComposite[s(449)](i[s(433)]);let u={scale:h,center:l,animate:o,animationCompleted:a};this[s(475)](u)}[yi(465)](t,e=0){const s=yi;let i=Jt[s(474)](t[s(422)],1);if(0===i.partList.length)return;let r={start:void 0,center:void 0,end:void 0};{let t,n;for(let e of i[s(447)])if(e[s(479)]>1){t=e;break}if(!t)return;n=0!=e?w[s(466)](t[0],t[1],e):t[0],r[s(439)]={x:n[0],y:n[1]}}{let t,n;for(let e=i.partList[s(479)]-1;e>=0;e--){let r=i[s(447)][e];if(r.length>1){t=r;break}}if(!t)return;n=0!=e?w[s(466)](t[t[s(479)]-1],t[t.length-2],-e):t[t[s(479)]-1],r[s(448)]={x:n[0],y:n[1]}}{let t=Wt[s(471)](i),n=Wt[s(478)](t/2,e,i);n&&(r[s(415)]={x:n[0],y:n[1]})}return r}[yi(436)](t){const e=yi;if(this[e(482)])return this[e(482)][e(436)](t)}}function Si(){const t=["getPointOffset","findFeatures","zoomIn","5276478nWaoiD","getScale","getLength","composition","assign","decode","zoomTo","tiledServices","xmax","getOffsetPointOnDistance","length","eventUtils","map","_mapComposite","getCenter","2144372wUtQnC","scale","_eventUtils","6210972CsaGtU","sdkFeatureService","extend","11nsCWlx","_featureProvider","center","setExtent","animationCompleted","isDirty","updatePointFeatures","zoomToPolylineFeature","render","geo","ymin","resolutionToScale","734743uqDdwc","resize","_settings","14IjHYVd","destroy","origin","1318888DExRQK","updatePolylineFeatures","extent","clear","setCenter","unproject","2JkMAEa","height","start","3186300nTTGuu","getExtent","width","zoomOut","clearPointFeatures","xmin","6133480NnBfCj","partList","end","findScale","settings","6mwMcsx","resolution","addPointFeatures","getResolutionFromScale","repaint","then","5ORDUlp","animate","zoom","addPolylineFeatures","src","clearPolylineFeatures","_featureService","buildMap","getPositionsOnPolylineFeature"];return(Si=function(){return t})()}function wi(t,e){return t-=498,Ti()[t]}function Ti(){var t=["5XTboos","737164LARLpO","3177MqBept","1146597SHtgfU","711837BqVRjS","8tjSwRS","8310xEUuTc","13nhlxoX","1MhWUBX","64vETUCH","2894010CQZFdd","13464vzCklF","1105668UXwaML"];return(Ti=function(){return t})()}return function(t){for(var e=wi,s=t();;)try{if(415081===-parseInt(e(505))/1*(-parseInt(e(498))/2)+parseInt(e(500))/3*(parseInt(e(502))/4)+parseInt(e(510))/5*(parseInt(e(507))/6)+parseInt(e(501))/7*(-parseInt(e(506))/8)+-parseInt(e(499))/9*(parseInt(e(503))/10)+-parseInt(e(508))/11+parseInt(e(509))/12*(-parseInt(e(504))/13))break;s.push(s.shift())}catch(t){s.push(s.shift())}}(Ti),e})());
@@ -0,0 +1,38 @@
1
+ import { PointFeatureDTO, PointFeatureUpdateDTO } from "./pointfeaturedto";
2
+ import { PolylineFeatureDTO, PolylineFeatureUpdateDTO } from "./polylinefeaturedto";
3
+ import { ZoomToParameters, ZoomToFeatureParameters } from "./zoomtoparameters";
4
+ import { Extent } from "../geometry/geo/extent";
5
+ import { PointDTO } from "./pointdto";
6
+ import { EventUtils } from "./utils/event/eventutils";
7
+ import { SizeDTO } from "./sizedto";
8
+ export declare class MapComponent {
9
+ get eventUtils(): EventUtils;
10
+ get settings(): any;
11
+ constructor(key: string, settingsKey: string, gl: any, size: SizeDTO, viewportScale: number, mainService: string);
12
+ destroy(): void;
13
+ resize(size: SizeDTO, viewportScale: number): void;
14
+ render(time: number): boolean;
15
+ pan(dx: number, dy: number, isTmp: boolean): void;
16
+ zoom(scale: number, center: [number, number], isTmp: boolean): void;
17
+ findFeatures(center: [number, number]): any;
18
+ getScale(): number;
19
+ getExtent(): any;
20
+ setExtent(extent?: Extent): void;
21
+ clear(): void;
22
+ addPointFeatures(sdkFeatures: PointFeatureDTO[], update?: boolean): void;
23
+ addPolylineFeatures(sdkFeatures: PolylineFeatureDTO[], update?: boolean): void;
24
+ updatePointFeatures(sdkFeatures: PointFeatureUpdateDTO[], update?: boolean): void;
25
+ updatePolylineFeatures(sdkFeatures: PolylineFeatureUpdateDTO[], update?: boolean): void;
26
+ repaint(): void;
27
+ zoomIn(): void;
28
+ zoomOut(): void;
29
+ zoomTo(parameters: ZoomToParameters): void;
30
+ zoomToPointFeature(feature: PointFeatureDTO, parameters: ZoomToFeatureParameters): void;
31
+ zoomToPolylineFeature(feature: PolylineFeatureDTO, parameters?: ZoomToFeatureParameters): void;
32
+ getPositionsOnPolylineFeature(feature: PolylineFeatureDTO, offset?: number): {
33
+ start?: PointDTO;
34
+ center?: PointDTO;
35
+ end?: PointDTO;
36
+ } | undefined;
37
+ unproject(point: [number, number]): any;
38
+ }
@@ -0,0 +1,4 @@
1
+ export interface PointDTO {
2
+ x: number;
3
+ y: number;
4
+ }
@@ -0,0 +1,16 @@
1
+ export interface PointFeatureDTO {
2
+ id: string;
3
+ img: any;
4
+ x: number;
5
+ y: number;
6
+ width?: number;
7
+ height?: number;
8
+ }
9
+ export interface PointFeatureUpdateDTO {
10
+ id: string;
11
+ img?: any;
12
+ x?: number;
13
+ y?: number;
14
+ width?: number;
15
+ height?: number;
16
+ }
@@ -0,0 +1,16 @@
1
+ export interface PolylineFeatureDTO {
2
+ id: string;
3
+ geo: string;
4
+ color: string;
5
+ opacity: number;
6
+ weight: number;
7
+ offset?: number;
8
+ }
9
+ export interface PolylineFeatureUpdateDTO {
10
+ id: string;
11
+ geo?: string;
12
+ color?: string;
13
+ opacity?: number;
14
+ weight?: number;
15
+ offset?: number;
16
+ }
@@ -0,0 +1,4 @@
1
+ export interface SizeDTO {
2
+ width: number;
3
+ height: number;
4
+ }
@@ -0,0 +1,8 @@
1
+ import { MapComponent } from "../../mapcomponent";
2
+ import { MapEvent } from "./mapevent";
3
+ export declare class EventUtils {
4
+ constructor(mapComponent: MapComponent);
5
+ destroy(): void;
6
+ on(event: MapEvent, callback?: (tmp: boolean) => void): any;
7
+ off(event: MapEvent, callback?: (tmp: boolean) => void): any;
8
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum MapEvent {
2
+ mapScaleUpdated = 1,
3
+ mapPositionUpdated = 2
4
+ }
@@ -0,0 +1,14 @@
1
+ export interface ZoomToParameters {
2
+ scale: number;
3
+ center: {
4
+ x: number;
5
+ y: number;
6
+ };
7
+ animate?: boolean;
8
+ animationCompleted?: (animated?: boolean) => void;
9
+ }
10
+ export interface ZoomToFeatureParameters {
11
+ scale?: number;
12
+ animate?: boolean;
13
+ animationCompleted?: (animated?: boolean) => void;
14
+ }
@@ -0,0 +1,3 @@
1
+ export interface IImageLoader {
2
+ loadImage(img: any): Promise<any>;
3
+ }
@@ -0,0 +1,6 @@
1
+ import { IImageLoader } from "./iimageloader";
2
+ export declare class ImageLoaderFactory {
3
+ protected static _loader: IImageLoader;
4
+ static get loader(): IImageLoader;
5
+ static set loader(loader: IImageLoader);
6
+ }
@@ -0,0 +1,10 @@
1
+ export * from './lib/utils/iimageloader';
2
+ export * from './lib/utils/imageloaderfactory';
3
+ export * from './lib/exports/pointdto';
4
+ export * from './lib/exports/sizedto';
5
+ export * from './lib/exports/zoomtoparameters';
6
+ export * from './lib/exports/pointfeaturedto';
7
+ export * from './lib/exports/polylinefeaturedto';
8
+ export * from './lib/exports/mapcomponent';
9
+ export * from './lib/exports/utils/event/mapevent';
10
+ export * from './lib/exports/utils/event/eventutils';
package/package.json ADDED
@@ -0,0 +1,14 @@
1
+ {
2
+ "name": "@vstelcl/thin-map-engine-mobile-native",
3
+ "author": "Václav Štelcl",
4
+ "description": "minimalistická knihovna pro tvorbu mapových aplikaci na malých dotykových zařízeních s využitím react native",
5
+ "version": "1.3.0",
6
+ "license": "MIT",
7
+ "typings": "build/public-api.d.ts",
8
+ "main": "build/index.bundle.js",
9
+ "dependencies": {
10
+ "gl-matrix": "^3.4.3",
11
+ "json5": "^2.1.1",
12
+ "rbush": "^2.0.2"
13
+ }
14
+ }