PageSourceSearch

https://www.gollys.de/wp-content/cache/min/1/v3/3.1/mapsjs-ui.js?ver=1791290690

js gollys.de collected 2026-10-07 03:25:10 UTC 80,573 bytes, 1 lines download raw bytes

1H.util.eval("function Rs(a,b){a:{for(var c=a.length,d=\"string\"===typeof a?a.split(\"\"):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a)){b=e;break a}b=-1}return 0>b?null:\"string\"===typeof a?a.charAt(b):a[b]}var Ss={};function Ts(a){var b=a.ownerDocument,c=b.documentElement;b=b.defaultView;var d=a.getBoundingClientRect();a=d.left;d=d.top;isNaN(b.pageXOffset)?(a+=c.scrollLeft,d+=c.scrollTop):(a+=b.pageXOffset,d+=b.pageYOffset);return new J(a,d)}\nfunction Us(a,b,c){b=hb(b)?b+\"px\":b;c=hb(c)?c+\"px\":c;a.style[yl(\"transform\")]=\"translate(\"+b+\",\"+c+\")\"}var Vs,Ws=navigator.userAgent,Xs=-1<Ws.indexOf(\"Android\")&&-1<Ws.indexOf(\"Mozilla/5.0\")&&-1<Ws.indexOf(\"AppleWebKit\"),Ys=/AppleWebKit\\/([\\d.]+)/,Zs=null===Ys.exec(Ws)?null:parseFloat(Ys.exec(Ws)[1]);Vs=Xs&&null!==Zs&&537>Zs;var $s=document.createElement(\"T\");function at(){this.lx=this.Mt()}at.prototype.Mt=function(){var a=navigator,b=[];a&&(a.msPointerEnabled?b.push(bt):a.pointerEnabled&&b.push(ct));1>b.length&&(\"TouchEvent\"in globalThis&&b.push(dt),b.push(et));b.push(ft);return b};at.prototype.detectEventSets=at.prototype.Mt;at.prototype.addEventListener=function(a,b,c,d){for(var e=this.lx,f,g=e.length,h=!1;g--;)if(f=e[g][b])h=!0,a.addEventListener(f,c,d||!1);h||a.addEventListener(b,c,d||!1)};\nat.prototype.removeEventListener=function(a,b,c,d){for(var e=this.lx,f,g=e.length,h=!1;g--;)if(f=e[g][b])h=!0,a.removeEventListener(f,c,d||!1);h||a.removeEventListener(b,c,d||!1)};\nvar ct={start:\"pointerdown\",end:\"pointerup\",move:\"pointermove\",cancel:\"pointercancel\",over:\"pointerover\",out:\"pointerout\",hover:\"pointerhover\"},bt={start:\"MSPointerDown\",end:\"MSPointerUp\",move:\"MSPointerMove\",cancel:\"MSPointerCancel\",over:\"MSPointerOver\",out:\"MSPointerOut\",hover:\"MSPointerHover\"},dt={start:\"touchstart\",end:\"touchend\",move:\"touchmove\",cancel:\"touchcancel\"},et={start:\"mousedown\",end:\"mouseup\",move:\"mousemove\",over:\"mouseover\",out:\"mouseout\",hover:\"mousehover\"},ft={start:\"keydown\",end:\"keyup\"};\nfunction gt(a){return!(a instanceof KeyboardEvent)||\"Enter\"===a.code};function ht(a,b,c,d){a=a.createElement(b);c&&(a.className=c);d&&(a.innerHTML=d);return a}function it(a,b){for(var c=1,d=arguments.length;c<d;c++)a.appendChild(arguments[c])}var jt=new at;function kt(a,b,c){jt.addEventListener(a,b,c,void 0)}function lt(a,b,c){jt.removeEventListener(a,b,c,void 0)};function Y(a,b){F.call(this);this.vb=a||\"div\";this.Pe=b?b.split(\" \"):[];this.yb=!1;this.Pe.push(\"H_el\")}u(Y,F);t(\"H.ui.base.Element\",Y);Y.prototype.P=function(a){if(!a)throw Error(\"Wrong document object\");this.K=ht(a,this.vb,this.Pe.join(\" \"));this.renderInternal(this.K,a);this.Ca(this.yb,!0);this.Id(this.Lx);this.cc(this.Nd);this.xf(this.xx);return this.K};Y.prototype.subscribe=function(){};Y.prototype.unsubscribe=function(){};Y.prototype.R=function(){};Y.prototype.renderInternal=Y.prototype.R;\nY.prototype.sq=function(){return this.yb};Y.prototype.isDisabled=Y.prototype.sq;Y.prototype.Ca=function(a,b){a=!!a;if(a!==this.yb||b)(this.yb=a)?this.La(\"H_disabled\"):this.Eb(\"H_disabled\");return this};Y.prototype.setDisabled=Y.prototype.Ca;Y.prototype.np=null;Y.prototype.getData=function(){return this.np};Y.prototype.getData=Y.prototype.getData;Y.prototype.setData=function(a){this.np=a};Y.prototype.setData=Y.prototype.setData;\nY.prototype.Id=function(a){var b=this.A();this.Lx=a;b&&(a?(b.setAttribute(\"title\",a),b.setAttribute(\"aria-label\",a)):(b.removeAttribute(\"title\"),b.removeAttribute(\"aria-label\")))};Y.prototype.setTooltip=Y.prototype.Id;Y.prototype.K=null;Y.prototype.A=function(){return this.K};Y.prototype.getElement=Y.prototype.A;Y.prototype.Nd=!0;Y.prototype.cc=function(a){var b=this.A();this.Nd=a;b&&(b.style.display=a?\"\":\"none\")};Y.prototype.setVisibility=Y.prototype.cc;Y.prototype.Zd=function(){return this.Nd};\nY.prototype.getVisibility=Y.prototype.Zd;Y.prototype.xx=-1;Y.prototype.xf=function(a){this.xx=a;var b=this.A();b&&(b.tabIndex=a)};Y.prototype.setTabIndex=Y.prototype.xf;Y.prototype.La=function(a){var b=this.A();0>this.Pe.indexOf(a)&&this.Pe.push(a);b&&(b.className=this.Pe.join(\" \"));return this};Y.prototype.addClass=Y.prototype.La;Y.prototype.Eb=function(a){a=this.Pe.indexOf(a);var b=this.A();-1<a&&this.Pe.splice(a,1);b&&(b.className=this.Pe.join(\" \"));return this};Y.prototype.removeClass=Y.prototype.Eb;
1\nfunction mt(a){(a=a.A())&&a.parentNode&&a.parentNode.removeChild(a)}Y.prototype.disposeInternal=function(){Y.g.disposeInternal.call(this);mt(this);this.np=this.K=null;delete this.Lx};function nt(a){a=a||{};Y.call(this,\"div\",\"H_btn\");this.Ae(a.label||\" \");this.Id(a.tooltip||\"\");this.setData(a.data);this.Ca(!!a.disabled);this.xf(0);this.J(ot.UP,!0);a.onStateChange&&this.addEventListener(\"statechange\",a.onStateChange);this.kn=z(this.kn,this);this.$h=z(this.$h,this)}u(nt,Y);t(\"H.ui.base.Button\",nt);nt.prototype.Ca=function(a,b){a&&this.Eb(\"H_active\");return nt.g.Ca.call(this,a,b)};nt.prototype.setDisabled=nt.prototype.Ca;\nnt.prototype.R=function(a){kt(a,\"start\",this.kn);kt(a,\"end\",this.$h);kt(a,\"out\",this.$h);this.Ae(this.$b,!0)};nt.prototype.renderInternal=nt.prototype.R;nt.prototype.getState=function(){return this.s};nt.prototype.getState=nt.prototype.getState;nt.prototype.J=function(a,b){a!==this.s&&(this.s=a,a===ot.DOWN?this.La(\"H_active\"):this.Eb(\"H_active\"),b||this.dispatchEvent(\"statechange\"));return this};nt.prototype.setState=nt.prototype.J;nt.prototype.Op=function(){return this.$b};\nnt.prototype.getLabel=nt.prototype.Op;nt.prototype.Ae=function(a,b){if(b||a!==this.$b)if(this.$b=a,b=this.A())b.innerHTML=a;return this};nt.prototype.setLabel=nt.prototype.Ae;nt.prototype.kn=function(a){!this.yb&&gt(a)&&(this.J(ot.DOWN),a.preventDefault())};nt.prototype.$h=function(a){!this.yb&&gt(a)&&(this.J(ot.UP),a.preventDefault())};nt.prototype.disposeInternal=function(){var a=this.A();a&&(lt(a,\"start\",this.kn),lt(a,\"end\",this.$h),lt(a,\"out\",this.$h));Y.prototype.disposeInternal.call(this)};\nvar ot={UP:\"up\",DOWN:\"down\"};nt.State=ot;function pt(a){nt.call(this,a);this.lC=function(b){gt(b)&&b.preventDefault()};this.me=z(function(b){!this.yb&&gt(b)&&(this.toggleState(),b.preventDefault())},this)}u(pt,nt);t(\"H.ui.base.PushButton\",pt);pt.prototype.R=function(a){kt(a,\"start\",this.me);kt(a,\"end\",this.lC);this.Ae(this.$b,!0)};pt.prototype.renderInternal=pt.prototype.R;pt.prototype.Ix=function(){var a=ot.DOWN;this.J(this.getState()===a?ot.UP:a);return this};pt.prototype.toggleState=pt.prototype.Ix;\npt.prototype.disposeInternal=function(){var a=this.A();a&&lt(a,\"start\",this.me);nt.prototype.disposeInternal.call(this)};function qt(a,b,c){Y.call(this,a,b);this.ic=c?[].concat(c):[]}u(qt,Y);t(\"H.ui.base.Container\",qt);qt.prototype.Ca=function(a,b){var c=this.ic?this.ic.length:0;for(Y.prototype.Ca.call(this,a,b);c--;)this.ic[c].Ca(a,b);return this};qt.prototype.setDisabled=qt.prototype.Ca;qt.prototype.Va=function(a){var b=this.A();this.ic.push(a);b&&(a.P(b.ownerDocument),b.appendChild(a.A()));return this};qt.prototype.addChild=qt.prototype.Va;qt.prototype.Jj=function(){return[].concat(this.ic)};\nqt.prototype.getChildren=qt.prototype.Jj;qt.prototype.removeChild=function(a){var b=this.ic.indexOf(a),c=this.A();0<=b&&(this.ic.splice(b,1),c&&c.removeChild(a.A()))};qt.prototype.removeChild=qt.prototype.removeChild;qt.prototype.la=function(){var a=this.A();a&&this.ic.forEach(function(b){a.removeChild(b.A())});this.ic=[]};qt.prototype.R=function(a,b){for(var c=0,d=this.ic.length;c<d;c++)a.appendChild(this.ic[c].P(b))};qt.prototype.renderInternal=qt.prototype.R;\nqt.prototype.disposeInternal=function(){this.la();this.ic.forEach(this.iz,this);Y.prototype.disposeInternal.call(this)};qt.prototype.iz=function(a){a.l()};function rt(a){a=a||{};qt.call(this,\"div\",\"H_rdo\");this.ts=new Y(\"div\",\"H_rdo_title\");this.Zi=new qt(\"div\",\"H_rdo_buttons\");this.Va(this.ts);this.Va(this.Zi);this.Pv=z(function(b){b.target.getState()===ot.DOWN?(this.Yw(b.target,!0),this.dispatchEvent(st)):b.target.J(ot.DOWN,!0)},this);this.addEventListener(\"statechange\",this.Pv);this.ks(a.title||\"\");a.onActiveButtonChange&&this.addEventListener(st,a.onActiveButtonChange);a.buttonsOptions&&a.buttonsOptions.forEach(function(b){this.Fo(new pt(b))},\nthis)}u(rt,qt);t(\"H.ui.base.RadioGroup\",rt);var st=\"activebuttonchange\";rt.prototype.R=function(a,b){qt.prototype.renderInternal.call(this,a,b);this.ks(this.qo,!0)};rt.prototype.renderInternal=rt.prototype.R;rt.prototype.la=function(){this.Zi.la()};rt.prototype.ks=function(a,b){if(a!==this.qo||b)this.qo=a,this.ts.A()&&(this.ts.A().innerHTML=this.qo);return this};rt.prototype.setTitle=rt.prototype.ks;rt.prototype.WA=function(){return this.qo};rt.prototype.getTitle=rt.prototype.WA;
1\nrt.prototype.Fo=function(a){if(!(a instanceof pt))throw Error(\"PushButton expected\");a.ha(this);this.Zi.Va(a);return this};rt.prototype.addButton=rt.prototype.Fo;rt.prototype.RC=function(a){this.Zi.removeChild(a);a.ha(null);return this};rt.prototype.removeButton=rt.prototype.RC;rt.prototype.Ij=function(){return this.Zi.Jj()};rt.prototype.getButtons=rt.prototype.Ij;rt.prototype.Yw=function(a,b){for(var c=this.Ij(),d=c.length;d--;)c[d].J(c[d]===a?ot.DOWN:ot.UP,b)};rt.prototype.setActiveButton=rt.prototype.Yw;\nrt.prototype.disposeInternal=function(){this.removeEventListener(\"statechange\",this.Pv);this.la();qt.prototype.disposeInternal.call(this)};function tt(a){B(a,Wd,tt,1);Y.call(this,\"div\",\"H_context_menu_item\");this.Pb=a;this.tk=z(this.tk,this);this.Ge=z(this.Ge,this);this.Pb.addEventListener(\"update\",this.Ge)}u(tt,Y);t(\"H.ui.context.Item\",tt);tt.prototype.tk=function(a){var b=this.Pb,c=b.callback;c&&!b.isDisabled()&&(this.dispatchEvent(\"click\"),c(a))};tt.prototype.R=function(){var a=this,b=this.A();kt(b,\"click\",this.tk);kt(b,\"keyup\",function(c){\"Enter\"===c.code.code&&a.tk(c)});this.xf(-1);this.Ge()};\ntt.prototype.renderInternal=tt.prototype.R;tt.prototype.Ge=function(){var a=this.A(),b=this.Pb;b.callback?this.La(\"H_clickable\"):this.Eb(\"H_clickable\");b.isDisabled()?this.La(\"H_disabled\"):this.Eb(\"H_disabled\");b=b.getLabel();$s.textContent=b;a.innerHTML=$s.innerHTML.split(\"\\n\").join(\"<br/>\")};tt.prototype.disposeInternal=function(){Y.prototype.disposeInternal.call(this);this.Pb.removeEventListener(\"update\",this.Ge)};var ut={};ut=function(a,b,c){Ec.call(this);this.uh=-1;this.K=a;this.Ha=b;this.Sv=c;this.me=z(this.me,this);a.focus();kt(a,\"keydown\",this.me)};u(ut,Ec);ut.prototype.disposeInternal=function(){this.uh=-1;this.Rx();ut.g.disposeInternal.call(this);lt(this.K,\"keydown\",this.me);var a=this.Sv;this.K=this.Ha=this.Sv=null;a()};\nut.prototype.me=function(a){if(a instanceof KeyboardEvent){var b=this.Ha.length-1,c=/^Arrow(Down|Up)$/.exec(a.code);if(c){if(a={Up:-1,Down:1}[c[1]])this.uh=0>this.uh&&0>a?b:Od(this.uh+a,0,b),this.Rx()}else\"Enter\"===a.code?(b=this.Ha[this.uh],b instanceof nt?(b.Nb()instanceof rt?b.J(ot.DOWN):b.Ix(),this.l()):b instanceof tt&&(b.tk(),this.l())):\"Escape\"===a.code&&this.l()}};ut.prototype.Rx=function(){var a=this;this.Ha.forEach(function(b,c){c===a.uh?b.La(\"H_focused\"):b.Eb(\"H_focused\")})};var vt={TOP_LEFT:\"top-left\",TOP_CENTER:\"top-center\",TOP_RIGHT:\"top-right\",LEFT_TOP:\"left-top\",LEFT_MIDDLE:\"left-middle\",LEFT_BOTTOM:\"left-bottom\",RIGHT_TOP:\"right-top\",RIGHT_MIDDLE:\"right-middle\",RIGHT_BOTTOM:\"right-bottom\",BOTTOM_LEFT:\"bottom-left\",BOTTOM_CENTER:\"bottom-center\",BOTTOM_RIGHT:\"bottom-right\"};t(\"H.ui.LayoutAlignment\",vt);function wt(){qt.call(this,\"div\",\"H_ctl\");this.map=null;this.Ie=\"top-left\"}u(wt,qt);t(\"H.ui.Control\",wt);wt.prototype.Ua=function(a){this.map=a};wt.prototype.P=function(a){return qt.prototype.P.call(this,a)};wt.prototype.R=function(a,b){qt.prototype.renderInternal.call(this,a,b);this.cd(this.Ie)};wt.prototype.renderInternal=wt.prototype.R;wt.prototype.xk=function(){};wt.prototype.onUnitSystemChange=wt.prototype.xk;wt.prototype.pc=function(){return this.map};wt.prototype.getMap=wt.prototype.pc;\nwt.prototype.oa=function(){return this.NB};wt.prototype.getLocalization=wt.prototype.oa;wt.prototype.Fz=function(){return this.Ie};wt.prototype.getAlignment=wt.prototype.Fz;wt.prototype.cd=function(a){\"string\"===typeof a&&vt[a.replace(\"-\",\"_\").toUpperCase()]===a&&(this.Ie=a,this.dispatchEvent(\"alignmentchange\"));return this};wt.prototype.setAlignment=wt.prototype.cd;function xt(){this.s=yt.CLOSED;qt.call(this,\"div\",\"H_overlay\")}u(xt,qt);t(\"H.ui.base.OverlayPanel\",xt);xt.prototype.J=function(a,b){if(a!==this.s||b)this.s=a,a===yt.OPEN?this.La(\"H_open\"):this.Eb(\"H_open\");return this};xt.prototype.setState=xt.prototype.J;xt.prototype.getState=function(){return this.s};xt.prototype.getState=xt.prototype.getState;\nxt.prototype.rw=function(a){var b=a.Ie;a=a.A();var c=this.A(),d=c.style;this.Eb(\"H_top\");this.Eb(\"H_middle\");this.Eb(\"H_bottom\");this.Eb(\"H_left\");this.Eb(\"H_center\");this.Eb(\"H_right\");d.bottom=d.top=d.left=d.right=d.margin=\"\";if(/top/g.test(b)){this.La(\"H_top\");d.top=\"0\";d.margin=\"0 12px\";var e=-1}else/bottom/g.test(b)?(this.La(\"H_bottom\"),d.bottom=\"0\",d.margin=\"0 12px\",e=1):(this.La(\"H_middle\"),d.top=\"50%\",d.margin=\"0 12px\",d.marginTop=-Math.round(.5*\nc.offsetHeight)+\"px\",e=0);
1/left/g.test(b)?(this.La(\"H_left\"),d.left=a.offsetWidth+\"px\",d.marginLeft=\"12px\"):/right/g.test(b)?(this.La(\"H_right\"),d.right=a.offsetWidth+\"px\",d.marginRight=\"12px\"):(this.La(\"H_center\"),d.left=\"50%\",0>e?(d.top=a.offsetHeight+\"px\",d.marginTop=\"12px\"):0<e&&(d.bottom=a.offsetHeight+\"px\",d.marginBottom=\"12px\"),d.marginLeft=-Math.round(.5*c.offsetWidth)+\"px\",a.appendChild(c))};xt.prototype.pointToControl=xt.prototype.rw;var yt={OPEN:\"open\",CLOSED:\"closed\"};\nxt.State=yt;function zt(a){a=a||{};wt.call(this);this.fe=new xt;this.we=this.we.bind(this);this.Ic=this.Ic.bind(this);this.Uc=this.Uc.bind(this);this.Cm=this.Cm.bind(this);this.cd(a.alignment||\"bottom-right\");At(this,a.baseLayers,a.layers)}u(zt,wt);t(\"H.ui.MapSettingsControl\",zt);function Bt(a,b){var c=[];a.concat(b).forEach(function(d){c=c.concat(d.layer)});return c}function Ct(a,b,c){var d=a.pc();if(d){a=Bt(a.Ke,a.eg);var e=Bt(b,c);a.forEach(function(f){e.includes(f)||d.mi(f)})}}\nfunction At(a,b,c){Ct(a,b,c);a.Bq=NaN;a.Ke=db(b)?b:[];a.eg=db(c)?c:[];a.Ff&&(a.Ff.la(),a.kk.la(),Dt(a))}zt.prototype.subscribe=function(){var a=this.pc();if(a){var b=this.Nb();b&&(b=b.A())&&Wc(b,\"pointerdown\",this.Uc);Wc(a,\"pointerdown\",this.Uc);a=a.S;Wc(a,\"add\",this.we);Wc(a,\"remove\",this.we);Wc(a,\"set\",this.we)}};zt.prototype.Uc=function(a){this.fe.getState()===yt.OPEN&&(a.currentTarget!==this.pc()&&this.fe.A().contains(a.target)||this.Ic())};\nzt.prototype.unsubscribe=function(){var a=this.pc();if(a){var b=this.Nb();b&&(b=b.A())&&dd(b,\"pointerdown\",this.Uc);dd(a,\"pointerdown\",this.Uc);a=a.S;dd(a,\"add\",this.we);dd(a,\"remove\",this.we);dd(a,\"set\",this.we)}};\nzt.prototype.R=function(a,b){var c=this.oa().translate(\"layers.choose\");wt.prototype.renderInternal.call(this,a,b);this.subscribe();this.wc=new pt({tooltip:c,label:'<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"H_icon\" viewBox=\"0 0 24 24\"><path fill-rule=\"evenodd\" d=\"M6.7,14.6 L4.5,16 L12,20.6 L19.5,16 L17.3,14.6 L19.1,13.5 L23,16 L12,23 L1,16 L4.9,13.5 L6.7,14.6 Z M12,2 L23,9 L12,16 L1,9 L12,2 Z\"></path></svg>',onStateChange:z(function(e){var f=this;e.target.getState()===ot.DOWN?(this.fe.J(yt.OPEN),\nthis.fe.rw(this),this.fk=new ut(this.A().ownerDocument.body,this.Ff.Ij().concat(this.kk.Jj()),function(){f.wc.J(ot.UP);f.wc.A().blur()})):globalThis.setTimeout(function(){f.fe.J(yt.CLOSED);f.fk.l()})},this)});this.Ff=new rt({title:c,onActiveButtonChange:function(){var e=this.Bq;a:{var f=this.Ff.Ij();for(var g=f.length;g--;)if(f[g].getState()===ot.DOWN){f=f[g];break a}f=null}f=f.getData();f=this.Ke[f].layer;g=db(f);this.map.Hg(g?f[0]:f);if(e=this.Ke[e])if(e=e.layer,db(e))for(var h=e.length;1<h--;)this.map.mi(e[h]);\nif(g)for(e=f.length;1<e--;)this.map.Kl(f[e],1);Et(this,f);this.Cm();this.Ic()}.bind(this)});this.kk=new qt(\"div\",\"H_grp\");this.Hu=new Y(\"div\",\"H_separator\");this.Va(this.wc);this.Va(this.fe);this.fe.Va(this.Ff);this.fe.Va(this.Hu);this.fe.Va(this.kk);Dt(this);var d=this;kt(this.wc.A(),\"focus\",function(){d.wc.J(ot.DOWN)});kt(this.wc.A(),\"blur\",function(){d.Ic()})};zt.prototype.renderInternal=zt.prototype.R;\nfunction Et(a,b){if(a.map.za.type===Tm){var c=H.map.render.harp.Style;b=[].concat(b);for(var d=0;!f&&d<b.length;d++){var e=b[d].I;if(e.$c()&&e.O){e=e.O();var f=e.getConfig()||e.getUrl()}}if(f){var g=function(h){h=h.I;h.$c()&&h.O&&h.O()instanceof c&&h.Fb(new c(f))};a.eg.forEach(function(h){h=h.layer;db(h)?h.forEach(g):h&&g(h)})}}}\nfunction Dt(a){var b=a.oa();a.Ke.forEach(function(c,d){var e=c.layer;c=new pt({tooltip:c.tooltip,label:Ft(b,c.label),data:d,disabled:!e||db(e)&&!e.length});c.xf(-1);this.Ff.Fo(c)},a);a.eg.forEach(function(c,d){var e=c.layer;c=new pt({tooltip:c.tooltip,label:Ft(b,c.label),onStateChange:this.qC.bind(this,c.layer),data:d,disabled:!e||db(e)&&!e.length});c.xf(-1);this.kk.Va(c)},a);a.Hu.cc(!(!a.eg.length||!a.Ke.length));globalThis.setTimeout(function(){this.map&&(this.we(),this.wc.Ca(!(this.Ke&&this.Ke.length||\nthis.eg&&this.eg.length)))}.bind(a))}zt.prototype.we=function(){var a=this.map.ra,b=this.map.S;this.Bq=NaN;this.Ke.forEach(function(c,d){c=c.layer;c=a===(db(c)?c[0]:c);this.Ff.Ij()[d].J(ot[c?\"DOWN\":\"UP\"],!0);c&&(this.Bq=d)},this);this.eg.forEach(function(c,d){c=c.layer;var e=db(c);d=this.kk.Jj()[d];!c||e&&!c.length?d.Ca(!0):d.J(ot[-1!==b.indexOf(e?c[0]:c)?\"DOWN\":\"UP\"],!0)},this)};\nzt.prototype.qC=function(a,b){a=db(a)?a:[a];b=b.target.getState()===ot.DOWN;for(var c=0;c<a.length;c++)b?this.map.Kl(a[c]):this.map.mi(a[c]);this.Cm();this.Ic()};zt.prototype.Cm=function(){var a=Gt(this);a&&(a.Co.I.O().mk(a.I.O().Ud()),this.map.mi(a),a.l(),delete a.Co);Ht(this)&&It(this,this.map.ra)};\nfunction It(a,b){var c=window.H.service&&window.H.service.omv.Provider,d=b.I;if(c&&b.I instanceof c&&d.O().Bj){var e=d.O(),f=function(){var g=Jt.ground.filter(function(l){return!!e.Xp(\"layers.\"+l)}),h=Jt.water.filter(function(l){return!!e.Xp(\"layers.\"+l)});if(g.concat(h).length){var k={};Ae(k,e.Bj(g));Ae(k,e.Bj(h,!1,!0));delete k.global;g=new vf(k,e.Oc());g=d.fa.qd(g);g.Co=b;this.map.Kl(g)}e.removeEventListener(uf.CHANGE,f)}.bind(a);e.getState()!==sf.READY?e.addEventListener(uf.CHANGE,f):\nf()}}function Gt(a){return Rs(a.map.S.Wa(),function(b){return!!b.Co})}function Ht(a){a=a.map.S.Wa();var b=window.H.service&&window.H.service.traffic.flow.Provider;return!!b&&a.some(function(c){return c.I instanceof b})}var Jt={water:[\"water.water-labels\"],ground:\"road_labels continent_label island_label roads.shields roads.directions truck-restriction.signs places landuse.label\".split(\" \")};function Ft(a,b){return/^layers?/.test(b)&&a.Fm(b)?a.translate(b):b}\nzt.prototype.Ic=function(){this.wc.J(ot.UP);this.wc.A().blur()};zt.prototype.disposeInternal=function(){zt.g.disposeInternal.call(this);this.unsubscribe()};function Kt(a,b,c){Mi.call(this,a,{icon:Lt,visibility:c}
1);Mt(this,b)}u(Kt,Mi);function Mt(a,b){a.AB=b;a.K&&(a.K.textContent=b)}var Lt=new Ki(ht(globalThis.document,\"span\",\"H_dm_label\"),{onAttach:function(a,b,c){c.K=a;Mt(c,c.AB)},onDetach:function(a,b,c){delete c.K}});function Nt(a,b){F.call(this);this.Qe=a;this.$b=new Kt(this.PD,\"\");b.push(this.$b);this.wd=new S({objects:b,data:this});this.io=this.io.bind(this)}u(Nt,F);m=Nt.prototype;m.cf=!1;m.PD={lat:0,lng:0};m.Ae=function(a,b){Mt(this.$b,a);this.$b.aa(b)};m.$k=function(a){(this.Nd=a)?this.io():(this.sl&&globalThis.clearTimeout(this.sl),this.sl=globalThis.setTimeout(this.io,100))};m.sl=0;m.io=function(){this.$b.cc(this.Nd)};function Ot(a,b){b&&(a.nextSibling=b,b.previousSibling=a)};function Pt(a,b,c){c=b.Pj(c||0);this.ig=new ri(a,{icon:c,zIndex:0});this.ig.draggable=!0;Nt.call(this,b,[this.ig]);a=this.wd;a.addEventListener(\"dragstart\",this.Ed,!0,this);a.addEventListener(\"drag\",this.ng,!0,this);a.addEventListener(\"dragend\",this.hf,!0,this)}u(Pt,Nt);m=Pt.prototype;m.oh=0;m.i={Ef:\"change\"};m.Oj=function(){return this.oh};m.Da=function(){return this.ig.Y()};\nfunction Qt(a){var b=0;a.nextSibling&&a.previousSibling&&(a.nextSibling.cf||a.previousSibling.cf?a.nextSibling.cf&&!a.previousSibling.cf&&(b=2):b=1);b=a.Qe.Pj(b);a.ig.ze(b)}m.ng=function(a){var b=a.currentPointer;a=b.viewportX;b=b.viewportY;if(this.BB!==a||this.CB!==b)this.BB=a,this.CB=b,this.ig.aa(this.Qe.map.Za(a-this.Bv.x,b-this.Bv.y)),this.dispatchEvent(new Ic(this.i.Ef,this))};\nm.Ed=function(a){var b=a.currentPointer,c=b.viewportX;b=b.viewportY;var d=this.Qe.map.Pa(this.Da());this.ig.zi(1);this.Bv={x:c-d.x,y:b-d.y};a.stopPropagation()};m.hf=function(){this.ig.zi(0)};m.Ur=function(a){this.oh=a;this.Ae(this.Qe.Pt(a),this.Da())};function Rt(a,b,c,d){var e=new Q,f=[];Ot(a,this);Ot(this,b);e.xg(a.Da());e.xg(b.Da());this.Th=new wi(e,{style:c.Sh});this.Eu=new wi(e,{style:{strokeColor:\"transparent\",lineWidth:Math.min(100,this.Th.O().lineWidth+2*(d||5))}});c.outlineStyle&&(this.jr=new wi(e,{style:c.outlineStyle}),f.push(this.jr));f.push(this.Th,this.Eu);Nt.call(this,c,f);this.mv=this.lv=-1;a=this.wd;a.addEventListener(\"pointermove\",this.le,!0,this);a.addEventListener(\"pointerleave\",this.cr,!0,this)}u(Rt,Nt);\nRt.prototype.Oj=function(){var a=this.Th.Y();return a.Cj(0).mb(a.Cj(1))};function St(a,b,c){var d=a.Th.Y();d.fl(3*+c,3,[b.lat,b.lng,0]);a.jr&&a.jr.aa(d);a.Eu.aa(d);a.Th.aa(d)}Rt.prototype.le=function(a){var b=a.currentPointer;a=this.previousSibling.Da();var c=this.nextSibling.Da(),d=this.Qe.rx,e=b.viewportX;b=b.viewportY;if(this.lv!==e||this.mv!==b)this.lv=e,this.mv=b,d.aa(this.Qe.wA(a,c,{x:e,y:b})),d.cc(!0)};Rt.prototype.cr=function(){this.Qe.rx.cc()};\nRt.prototype.Ur=function(){this.Ae(this.Qe.Pt(this.Oj()),this.Th.G().zb())};function Tt(a,b){this.Ma=b;this.yc=a;this.qb={cf:!0};Ut(this,this.qb);this.pn=z(this.pn,this)}t(\"H.ui.distanceMeasurement.Model\",Tt);m=Tt.prototype;m.Qm=function(){return this.qb.nextSibling===this.qb};m.$k=function(a){for(var b=this.qb,c=b.nextSibling;c!==b;)c.$k(c.previousSibling===b?!1:a),c=c.nextSibling};\nfunction Vt(a,b){var c=b||a.qb.nextSibling,d=0,e=0;if(b&&!Wt(a,b))throw new C(a.Mk,0,b);c instanceof Pt?d=c.Oj():c instanceof Rt&&(d=c.previousSibling.Oj());for(b=c;b&&b!==a.qb;b=b.nextSibling,e++)b.Ur(d),1===e%2&&(d+=b.Oj())}m.Vi=function(a){var b=this.qb.previousSibling,c=this.Qm();a=new Pt(a,this.Ma,c?0:2);this.yc.ba(a.wd);Ot(a,this.qb);a.addEventListener(a.i.Ef,this.pn);c?Ut(this,a):(Xt(this,b,a),Qt(b),Vt(this,b));return a};\nm.insertBefore=function(a,b){var c;var d=1;if(b){if(!Wt(this,b))throw new C(this.insertBefore,1,b);if(c=b.previousSibling.cf)d=0;a=new Pt(a,this.Ma,d);a.addEventListener(a.i.Ef,this.pn);this.yc.ba(a.wd);c?(c=this.qb.nextSibling,Xt(this,a,c),Ut(this,a),b=a,Qt(c)):(c=b.previousSibling,b=c.previousSibling,d=c.nextSibling,this.yc.Sa(c.wd),Xt(this,b,a),Xt(this,a,d));Vt(this,b)}else a=this.Vi(a);return a};m.la=function(){Ut(this,this.qb);this.yc.la()};\nm.Mk=function(a){var b=this.qb,c=a.previousSibling,d=a.nextSibling;if(!Wt(this,a))throw new C(this.Mk,0,a);this.yc.Sa(a.wd);if(c===b){var e=d;e!==b?(a=e.nextSibling,Ut(this,a),a.Ur(0),Qt(a),Vt(this,a)):Ut(this,this.qb)}else d===b?(e=c,a=e.previousSibling,Ot(a,b),Qt(a)):c&&d&&(Xt(this,c.previousSibling,d.nextSibling),this.yc.zg([d.wd,c.wd]),Vt(this,c.previousSibling));e&&e!==b&&this.yc.Sa(e.wd)};\nfunction Wt(a,b){for(var c=a.qb.nextSibling,d=!1;c!==a.qb;){if(c===b){d=!0;break}c=c.nextSibling}return d}function Xt(a,b,c){b=new Rt(b,c,a.Ma);a.yc.ba(b.wd)}function Ut(a,b){a.qb.nextSibling=b;b.previousSibling=a.qb}m.pn=function(a){a=a.target;var b=a.previousSibling,c=a.nextSibling,d=a.Da();if(!c.cf){St(c,d,!1);var e=a}b.cf||(St(b,d,!0),e=b.previousSibling);Vt(this,e)};var Yt={btn:'<svg class=\"H_icon\" height=\"24\" viewBox=\"0 0 24 24\" width=\"24\" xmlns=\"http://www.w3.org/2000/svg\"><g fill-rule=\"evenodd\"><g transform=\"translate(3 2)\"><path d=\"m18 13v7h-18v-7h2v5h2v-2h2v2h2v-3h2v3h2v-2h2v2h2v-5z\"></path><path d=\"m2.3.3c.7 0 1.3.1 1.8.4s.9.6 1.1 1 .4.9.4 1.4c0 .5-.1 1-.3 1.4s-.57 1-1 1.6-1.3 1.3-2.3 2.2h3.9l-.2 1.7h-6.16v-1.6c1.1-1.1 2-2 2.5-2.6s.9-1 1-1.4.3-.8.3-1.2c0-.4-.1-.7-.3-.9s-.5-.3-.9-.3c-.3 0-.6 0-.9.2s-.5.4-.8.7l-1.3-1c.4-.5.9-.9 1.4-1.2s1.2-.4 1.8-.4zm14.4 9.7h-2.3l-.2-3.8c 0-.9-.1-1.7-.1-2.4 
10-.5 0-1 0-1.5l-1.5 6.7h-2.2l-1.6-6.7c.1.8.1 1.6.1 2.3 0 .5 0 1.1 0 1.7l-.2 3.8h-2.2l.7-9.7h2.9l1.5 6.6 1.4-6.6h2.9z\"></path></g></g></svg>',\npoint:'<svg height=\"22\" viewBox=\"0 0 12 12\" width=\"22\" xmlns=\"http://www.w3.org/2000/svg\"><g fill=\"none\" fill-rule=\"evenodd\"><path d=\"m6 12c3.3 0 6-2.7 6-6s-2.7-6-6-6-6 2.7-6 6 2.7 6 6 6z\" fill=\"#fff\"></path><path d=\"m6 10c2.2 0 4-1.8 4-4s-1.8-4-4-4-4 1.8-4 4 1.8 4 4 4z\" fill=\"#2ed5c9\" stroke=\"#272c36\" stroke-width=\"2\"></path></g></svg>'};var Zt={IMPERIAL:\"imperial\",METRIC:\"metric\"};t(\"H.ui.UnitSystem\",Zt);function $t(a){a=a||{};var b,c=a.lineStyle;wt.call(this);this.So=new pt({label:Yt.btn,onStateChange:z(this.kf,this)});this.Va(this.So);if(b=a.distanceFormatter)this.Qt=b;c&&(this.tv=c,this.gw=A);this.cd(a.alignment||\"right-bottom\");this.xd={};this.xd[0]=a.startIcon;this.xd[2]=a.endIcon;this.xd[1]=a.stopoverIcon;this.xd[3]=a.splitIcon}u($t,wt);t(\"H.ui.DistanceMeasurement\",$t);m=$t.prototype;m.Vb=Zt.METRIC;m.ey=22;m.tv={strokeColor:\"rgb(39,44,54)\",lineWidth:5};m.gw={strokeColor:\"white\",lineWidth:7};\nm.dl=function(){var a=this.map,b,c={};this.dk||(this.vc=new O,this.tb=new Aj(this.vc,{pixelRatio:this.map.ob()}),this.yc=b=this.vc.ud(),this.yc.kx(!0),b.addEventListener(\"dragstart\",this.Ed,!0,this),b.addEventListener(\"dragend\",this.el,!0,this),b.addEventListener(\"pointerenter\",this.el,!0,this),b.addEventListener(\"pointerleave\",this.cr,!0,this),b.addEventListener(\"tap\",this.xC,!0,this),this.hl=au(this),c.Pt=z(this.Qt,this),c.Pj=z(this.Pj,this),c.wA=z(this.vu,this),c.map=this.map,c.rx=this.hl,c.Sh=\nthis.tv,c.outlineStyle=this.gw,this.Pb=new Tt(this.yc,c),this.dk=!0);this.hl&&this.yc.ba(this.hl);a.addEventListener(\"tap\",this.Vv,!0,this);a.S.add(this.tb)};m.Fi=function(){var a=this.map;this.dk&&(a.removeEventListener(\"tap\",this.Vv,!0,this),a.mi(this.tb),this.Pb.la())};\nfunction au(a){function b(){var h=c.qc();h={anchor:c.Gb.clone().scale(f).floor(),size:new ag(md(h.w*f),md(h.h*f)),hitArea:d};return new oi(c.We(),h)}var c=a.Pj(3),d=new ei(fi.NONE,[]),e,f=c===a.Os?.5:1;if(1===c.getState())var g=b();else g=new oi(\"<svg/>\",{hitArea:d}),c.addEventListener(\"statechange\",function(){1===c.getState()&&e.ze(b())});return e=new ri(a.map.zb(),{visibility:!1,icon:g})}\nm.Qt=function(a){var b=\"m\",c=0;\"metric\"===this.Vb?1E3<=a&&(a/=1E3,b=\"km\",c=1):(a/=.3048,b=\"ft\",5280<=a&&(a/=5280,b=\"mi\",c=1));return a.toFixed(c)+\" \"+this.oa().translate(\"scale.\"+b)};m.vu=function(a,b,c){var d=this.map.Pa(a);b=this.map.Pa(b);c=(new J(c.x,c.y)).uu(d,b);return this.map.Za(c.x,c.y)||Qf(a)};\nm.R=function(a,b){var c=this.map.za.type===Gf.P2D?this.map.ob():1;c*=this.ey;var d=c/2;wt.prototype.renderInternal.call(this,a,b);this.Vb=Zt.METRIC;this.Os=new oi(Yt.point,{anchor:{x:d,y:d},size:{w:c,h:c},hitArea:new ei(fi.CIRCLE,[d,d,d])});this.So.Id(this.oa().translate(\"distance.measurement\"))};$t.prototype.renderInternal=$t.prototype.R;m=$t.prototype;m.Pj=function(a){return this.xd[a]||this.Os};m.el=function(){this.Pb.$k(!0)};m.Ed=function(){this.Pb.$k()};\nm.cr=function(a){\"touch\"!==a.currentPointer.type&&this.Pb.$k()};m.xC=function(a){var b=a.currentPointer;var c=a.target.Ra;var d;c&&(c=c.getData())instanceof Nt&&(d=c);c=d;a=a.originalEvent;a=a.metaKey||a.altKey;c&&(a&&c instanceof Pt?this.Pb.Mk(c):c instanceof Rt&&(a=c.previousSibling.Da(),d=c.nextSibling.Da(),b={x:b.viewportX,y:b.viewportY},this.Pb.insertBefore(this.vu(a,d,b),c.nextSibling),this.hl.cc()),this.el())};\nm.Vv=function(a){var b=a.currentPointer;a=a.target;a!==this.map&&a.getProvider&&a.getProvider()===this.vc||(this.Pb.Vi(this.map.Za(b.viewportX,b.viewportY)),this.hl.cc(),this.el())};m.kf=function(a){\"down\"===a.target.getState()?this.dl():this.Fi()};m.xk=function(a){this.Vb=a;this.dk&&(Vt(this.Pb),this.el())};$t.prototype.onUnitSystemChange=$t.prototype.xk;$t.prototype.disposeInternal=function(){this.Fi();this.dk&&(this.vc.l(),this.tb.l());$t.g.disposeInternal.call(this)};\n$t.prototype.Ua=function(a){a?this.So.getState()===ot.DOWN&&(this.map=a,this.dl()):(this.Fi(),this.dk=!1);wt.prototype.Ua.apply(this,arguments)};$t.prototype.setMap=$t.prototype.Ua;function bu(a){a=a||{};wt.call(this);this.La(\"H_scalebar\");this.cd(a.alignment||\"right-bottom\");this.maxWidth=150;this.update=z(this.update,this);this.hv=this.Pr=this.Uk=this.ml=null;this.xf(0)}u(bu,wt);t(\"H.ui.ScaleBar\",bu);\nbu.prototype.R=function(a,b){wt.prototype.renderInternal.call(this,a,b);a.innerHTML='<svg height=\"12\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\"><polyline style=\"fill:none; stroke:white; stroke-width:4\" points=\"2,2 2,10 98,10 98,2\"/><polyline style=\"fill:none; stroke:black; stroke-width:2\" points=\"2,2 2,10 98,10 98,2\"/></svg><div style=\"padding: 0 0 0 10px\"></div>';a.style.direction=\"ltr\";this.ml=a.firstChild;b=this.ml.childNodes;this.Uk=b[0];this.Pr=b[1];this.hv=a.lastChild;this.Vb=Zt.METRIC;\nthis.hz=z(function(c){!this.yb&&gt(c)&&(this.dispatchEvent(\"toggleunitsystem\"),c.preventDefault())},this);this.me=z(function(c){!this.yb&&gt(c)&&c.preventDefault()},this);kt(a,\"start\",this.me);kt(a,\"end\",this.hz);this.Id(this.oa().translate(\"scale.switchToImperial\"));this.update()};bu.prototype.renderInternal=bu.prototype.R;bu.prototype.Ua=function(a){this.map&&this.map.removeEventListener(\"mapviewchange\",this.update);a&&a.addEventListener(\"mapviewchange\",this.update);wt.prototype.Ua.apply(this,arguments)};\nbu.prototype.setMap=bu.prototype.Ua;\nbu.prototype.capture=function(a,b,c){var d=this.A();var e=d.ownerDocument,f=e.createElement(\"canvas\"),g=f.getContext(\"2d\"),h=e.createElementNS(\"http://www.w3.org/2000/svg\",\"svg\"),k=e.createElementNS(\"http://www.w3.org/2000/svg\",\"foreignObject\"),l=qe(d,e,!1);e=parseFloat(d.offsetWidth)+1;var n=parseFloat(d.offsetHeight),p=e*a;a*=n;f.width=p;f.height=a;h.setAttribute(\"xmlns\",\"http://www.w3.org/2000/svg\");h.setAttribute(\"width\",p);h.setAttribute(\"height\",a);h.setAttribute(\"viewBox\",\"0 0 \"+e+\" \"+n);k.setAttribute(\"width\",\n\"100%\");k.setAttribute(\"height\",\"100%\");h.appendChild(k);l.setAttribute(\"width\",\"100%\");l.setAttribute(\"height\",\"100%\");l.setAttribute(\"xmlns\",\"http://www.w3.org/1999/xhtml\");var q=window.getComputedStyle(d);\"box-shadow display align-items font font-family font-size height text-shadow direction\".split(\" \").forEach(function(r){l.style.setProperty(r,q.getPropertyValue(r))});k.appendChild(l);d=ge(h.outerHTML);(new lf(\"image\",d)).then(function(r){g.drawImage(r,0,0);b(f)},c)};bu.prototype.capture=bu.prototype.capture;\nbu.prototype.xk=function(a){this.Vb=a;this.Id(\"imperial\"===a?this.oa().translate(\"scale.switchToMetric\"):this.oa().translate(\"scale.switchToImperial\"));this.update()};bu.prototype.onUnitSystemChange=bu.prototype.xk;\nbu.prototype.update=function(){var a;if(this.A()){this.ml=this.ml;this.Uk=this.Uk;var b=this.maxWidth;var c=0;if(a=this.map){var d=a.ua;var e=Math.round(.5*d.width);var f=Math.round(.5*d.height);0<e&&0<f&&(d=a.Za(e,f))&&(a=a.Za(e+1,f))&&(c=100*d.mb(a))}c&&(this.Vb===Zt.IMPERIAL?1609.344>c?(e=c/.3048006,a=this.oa().translate(\"scale.ft\")):(e=c/1609.344,a=this.oa().translate(\"scale.mi\")):1E3>c?(e=c,a=this.oa().translate(\"scale.m\")):(e=c/1E3,a=this.oa().translate(\"scale.km\")),c=Math.pow(10,Math.floor(Math.log(e)/\nMath.LN10)),e=c/e*100,e<b/5?(c*=5,e*=5):e<b/2?(c*=2,e*=2):e>b&&(c/=2,e/=2),e=Math.round(e),this.ml.setAttribute(\"width\",e),this.hv.textContent=c+\" \"+a,this.Uk.points.getItem(2).x=this.Pr.points.getItem(2).x=this.Uk.points.getItem(3).x=this.Pr.points.getItem(3).x=e-2)}};function cu(a){a=a||{};wt.call(this);this.wc=new pt({label:'<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"H_icon\" viewBox=\"0 0 24 24\"><g transform=\"translate(1 3)\"><path fill-rule=\"nonzero\" d=\"M5,0 L5,2 L2,2 L2,16 L5,16 L5,18 L2,18 C0.9,18 0,17 0,15.75 L0,2.25 C0,1 0.9,0 2,0 L5,0 Z M17,0 L20,0 C21.1,0 22,1 22,2.25 L22,15.75 C22,17 21.1,18 20,18 L17,18 L17,16 L20,16 L20,2 L17,2 L17,0 Z\"></path><rect width=\"10\" height=\"2\" x=\"6\" y=\"8\"></rect><rect width=\"2\" height=\"10\" x=\"10\" y=\"4\"></rect></g></svg>',\nonStateChange:z(this.kf,this)});this.Va(this.wc);this.cd(a.alignment||\"right-bottom\")}u(cu,wt);t(\"H.ui.ZoomRectangle\",cu);m=cu.prototype;\nm.kf=function(a){var b=this.map,c=b.ua.element;a.target.getState()===ot.DOWN?(b.addEventListener(\"dragstart\",this.Ed,!0,this),b.addEventListener(\"drag\",this.ng,!0,this),b.addEventListener(\"dragend\",this.hf,!0,this),a=c.ownerDocument.createElement(\"div\"),a.className=\"H_zoom_lasso\",c.appendChild(a),this.Vm=a):(b.removeEventListener(\"dragstart\",this.Ed,!0,this),b.removeEventListener(\"drag\",this.ng,!0,this),b.removeEventListener(\"dragend\",this.hf,!0,this),c.removeChild(this.Vm))};\nm.Ed=function(a){var b=this.Vm.style,c=a.currentPointer,d=c.viewportX;c=c.viewportY;a.target===this.map&&(a.stopPropagation(),b.width=\"0px\",b.height=\"0px\",b.top=c+\"px\",b.left=d+\"px\",b.display=\"block\",this.tx=c,this.sx=d)};m.ng=function(a){var b=a.currentPointer,c=b.viewportX,d=b.viewportY;b=this.sx;var e=this.tx,f=this.Vm.style;a.target===this.map&&(a.stopPropagation(),a=c-b,c=d-e,f.left=b+(0>a?a:0)+\"px\",f.top=e+(0>c?c:0)+\"px\",f.width=Math.abs(a)+\"px\",f.height=Math.abs(c)+\"px\")};\nm.hf=function(a){var b=this.map,c=a.currentPointer;a.target===this.map&&(a.stopPropagation(),this.Vm.style.display=\"none\",b.ya.dd({bounds:kg([b.Za(this.sx,this.tx),b.Za(c.viewportX,c.viewportY)])},!0))};m.R=function(a,b){wt.prototype.renderInternal.call(this,a,b);this.wc.Id(this.oa().translate(\"zoom.rectangle\"))};cu.prototype.renderInternal=cu.prototype.R;function du(a,b){b=b||{};var c=this;Y.call(this,\"div\",\"H_ib H_ib_top\");this.Yv=z(function(d){c.yb||!gt(d)&&d instanceof KeyboardEvent&&\"Escape\"!==d.code||(c.close(),d.preventDefault())},this);this.update=z(this.update,this);this.im=z(this.im,this);this.setPosition(a);this.Xk(b.content);b.onStateChange&&this.addEventListener(\"statechange\",b.onStateChange);this.J(eu.OPEN)}u(du,Y);t(\"H.ui.InfoBubble\",du);du.prototype.o=null;du.prototype.Da=function(){return this.Xc};\ndu.prototype.setPosition=function(a){this.Xc=Qf(a);this.update()};du.prototype.setPosition=du.prototype.setPosition;du.prototype.Ua=function(a){this.o=a};\ndu.prototype.R=function(a,b){this.Qo=ht(b,\"div\",\"H_ib_body\");this.tailEl_=ht(b,\"div\",\"H_ib_tail\");this.fj=ht(b,\"div\",\"H_ib_close H_btn\",'<svg version=\"1.1\" class=\"H_icon\" viewBox=\"0 0 12 12\"><path d=\"m8.12 6 3.66-3.66c.29-.29.29-.76 0-1.05l-1.06-1.06c-.29-.29-.76-.29-1.05 0l-3.66 3.66-3.66-3.66c-.29-.29-.76-.29-1.05 0l-1.06 1.06c-.29.29-.3.76 0 1.05l3.66 3.66-3.66 3.66c-.29.29-.29.76 0 1.05l1.06 1.06c.29.29.76.29 1.05 0l3.66-3.66 3.66 3.66c.29.29.76.29 1.05 0l1.06-1.06c.29-.29.3-.76 0-1.05z\"></path></svg>');this.fj.setAttribute(\"tabindex\",\n\"0\");this.jh=ht(b,\"div\",\"H_ib_content\",\"&nbsp;\");this.Qo.appendChild(this.fj);this.Qo.appendChild(this.jh);kt(this.fj,\"start\",this.Yv);this.o.ya.addEventListener(\"sync\",this.update);this.o.ua.addEventListener(\"sync\",this.update);a.appendChild(this.Qo);a.appendChild(this.tailEl_);this.Xk(this.Zl)};du.prototype.renderInternal=du.prototype.R;du.prototype.im=function(){this.Ht||(this.Ht=setTimeout(this.update,0))};\ndu.prototype.update=function(){var a=this.A(),b=this.o,c,d=\"none\";this.Ht=0;
1if(b&&a&&this.getState()===eu.OPEN){if(c=b.Pa(this.Xc)){var e=c.x;c=c.y;b=b.ua.width;if(e>=-b||e<=2*b||c>=-b||c<=2*b)d=\"\",Vs?(a.style.left=e-b+\"px\",a.style.top=c+\"px\"):Us(a,e,c)}a.style.display=d;\"\"===d&&(a.style.visibility=\"visible\")}};var eu={OPEN:\"open\",CLOSED:\"closed\"};du.State=eu;du.prototype.s=eu.OPEN;du.prototype.getState=function(){return this.s};du.prototype.getState=du.prototype.getState;\ndu.prototype.J=function(a){a!==this.s&&(this.s=a,this.dispatchEvent(\"statechange\"));if(a=this.A())this.s===eu.OPEN?(a.style.display=\"block\",a.style.visibility=\"hidden\",this.im()):a.style.display=\"none\"};du.prototype.setState=du.prototype.J;du.prototype.close=function(){this.J(eu.CLOSED)};du.prototype.close=du.prototype.close;du.prototype.open=function(){this.J(eu.OPEN)};du.prototype.open=du.prototype.open;du.prototype.Oz=function(){return this.jh||null};du.prototype.getContentElement=du.prototype.Oz;\ndu.prototype.Xk=function(a){if(a)if(\"string\"===typeof a||\"number\"===typeof a.nodeType&&\"string\"===typeof a.nodeName)this.Zl=a;else throw Error(\"InfoBubble content must be a string or HTML node.\");else this.Zl=\"\";this.A()&&(this.Zl?(this.jh.innerHTML=\"\",\"string\"===typeof this.Zl?this.jh.innerHTML=a:\"number\"===typeof a.nodeType&&\"string\"===typeof a.nodeName&&this.jh.appendChild(a)):this.jh.innerHTML=\"&nbsp;\",this.im())};du.prototype.setContent=du.prototype.Xk;\ndu.prototype.disposeInternal=function(){this.close();this.Xk(\"\");this.fj&&lt(this.fj,\"end\",this.Yv);this.o&&(this.o.ya.removeEventListener(\"sync\",this.update),this.o.ua.removeEventListener(\"sync\",this.update));Y.prototype.disposeInternal.call(this)};var fu={\"in\":'<svg version=\"1.1\" class=\"H_icon\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\"viewBox=\"0 0 24 24\" enable-background=\"new 0 0 24 24\" xml:space=\"preserve\"><g><path d=\"m5 10.6h5.6v-5.6h2.8v5.6h5.6v2.8h-5.6v5.6h-2.8v-5.6h-5.6v-2.8z\"></path></g></svg>',out:'<svg version=\"1.1\" class=\"H_icon\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\"viewBox=\"0 0 24 24\" enable-background=\"new 0 0 24 24\" xml:space=\"preserve\"><path d=\"m5 10.6h14v2.8h-14z\"/></svg>'};function gu(a){a=a||{};var b;this.Cf=!!a.vertical;this.FB=a.length||this.fy;this.Cb=hb(b=a.min)?b:this.hy;this.Tc=kd(this.Cb,hb(b=a.max)?b:this.gy);this.BD=E(b=a.step)?this.iy:b;this.Ji=hu(this,hb(b=a.value)?b:(this.Cb+this.Tc)/2);this.Uc=z(this.Uc,this);this.le=z(this.le,this);this.rn=z(this.rn,this);this.qn=z(this.qn,this);this.Ak=a.pointerArea;Y.call(this,\"div\",\"H_slider\"+(this.Cf?\"\":\" H_l_horizontal\"))}u(gu,Y);t(\"H.ui.base.Slider\",gu);m=gu.prototype;m.Ts=1;m.hy=0;m.gy=100;\nm.iy=1;m.fy=\"16em\";m.ko=function(a,b){var c=this.Cf,d=c?\"top\":\"left\";if(!this.Oa||b)a=Od(a,this.Cb,this.Tc),this.Qh&&(b=100*(a-this.Cb)/(this.Tc-this.Cb),c=(c?-1:1)*b,this.Qh.style[d]=c+\"%\",this.RD.style[d]=100+c+\"%\"),this.Ji=hu(this,a);return this.Ji};gu.prototype.setValue=gu.prototype.ko;gu.prototype.$A=function(){return this.Ji};gu.prototype.getValue=gu.prototype.$A;m=gu.prototype;\nm.dl=function(){if(!this.pq){kt(this.A(),\"start\",this.Uc);var a=this.Ak;kt(a,\"move\",this.le);kt(a,\"end\",this.rn);kt(a,\"out\",this.qn);this.pq=!0}};m.Fi=function(){if(this.pq){lt(this.A(),\"start\",this.Uc);var a=this.Ak;lt(a,\"move\",this.le);lt(a,\"end\",this.rn);lt(a,\"out\",this.qn);this.pq=!1}};function hu(a,b){var c=a.BD;b=Od(b,a.Cb,a.Tc);return c?a.Cb+ld((b-a.Cb)/c)*c:b}\nfunction iu(a,b){var c=a.Px,d=a.Cf;a.Ox||(a.Ox=c[\"offset\"+(d?\"Height\":\"Width\")]);b-=Ts(c)[d?\"y\":\"x\"];0>b&&(b=0);b=(a.Tc-a.Cb)*b/a.Ox;b=hu(a,d?a.Tc-b:a.Cb+b);a.Ji!==b&&(a.ko(b,!0),a.dispatchEvent(new we(a.i.Ef,b,a.Ji)))}function ju(a,b){return(b.touches?b.targetTouches[0]:b)[\"page\"+(a.Cf?\"Y\":\"X\")]}function ku(a,b){var c=!1,d=a.type;-1!==d.indexOf(\"pointer\")||-1!==d.indexOf(\"touch\")?c=!0:B(a,MouseEvent)&&(c=a.which===b||a.buttons===b);return c}\nfunction lu(a){var b=a.touches;return b&&1===b.length||B(a,MouseEvent)}m.Uc=function(a){var b=this.Cf;if(ku(a,this.Ts)&&lu(a)){var c=ju(this,a);var d=a.target;d===this.Qh||d.parentElement===this.Qh?(this.zB=c-Ts(this.Qh)[b?\"y\":\"x\"]-this.Qh.offsetWidth/2,this.A().className=\"H_slider H_slider_active\"+(this.Cf?\"\":\" H_l_horizontal\"),this.Oa=!0):iu(this,c);a.preventDefault()}};m.rn=function(){this.Oa&&(this.A().className=\"H_slider \"+(this.Cf?\"\":\" H_l_horizontal\"),this.Oa=!1)};\nm.qn=function(a){this.Oa&&a.target===this.Ak&&(this.Oa=!1)};
1m.le=function(a){this.Oa&&lu(a)&&(ku(a,this.Ts)?(iu(this,ju(this,a)-this.zB),a.preventDefault()):this.Oa=!1)};m.i={Ef:\"change\"};\nm.R=function(a,b){var c=ht(b,\"div\",\"H_slider_cont\"),d=ht(b,\"div\",\"H_slider_knob_cont\"),e=ht(b,\"div\",\"H_slider_knob\"),f=ht(b,\"div\",\"H_slider_knob_halo\"),g=ht(b,\"div\",\"H_slider_track\");b=ht(b,\"div\",\"H_slider_track H_slider_track_active\");a.appendChild(c);c.appendChild(g);g.appendChild(b);c.appendChild(d);d.appendChild(e);d.appendChild(f);this.Px=g;this.RD=b;this.Qh=d;this.Ak||(this.Ak=a.ownerDocument.body);c.style[this.Cf?\"height\":\"width\"]=this.FB;this.ko(this.Ji);\nthis.dl()};gu.prototype.renderInternal=gu.prototype.R;gu.prototype.disposeInternal=function(){this.Fi()};gu.prototype.Ca=function(a,b){a?this.Fi():this.Px&&this.dl();return Y.prototype.Ca.call(this,a,b)};gu.prototype.setDisabled=gu.prototype.Ca;function mu(a){a=a||{};var b=a.slider;wt.call(this);this.wn=z(this.wn,this);this.yl=z(this.yl,this);this.Md=z(this.Md,this);b&&(this.dr=z(this.dr,this),this.Lu=b,this.AD=a.sliderSnaps,this.La(\"H_zoom_slider\"));this.Cl=new nt({label:fu[\"in\"],onStateChange:this.wn});this.zo=new nt({label:fu.out,onStateChange:this.wn});this.La(\"H_zoom\");this.La(\"H_grp\");this.yz=!1!==a.fractionalZoom;this.setZoomSpeed(a.zoomSpeed||4);this.cd(a.alignment||\"right-middle\")}u(mu,wt);\nt(\"H.ui.ZoomControl\",mu);mu.prototype.gB=function(){return this.$x};mu.prototype.getZoomSpeed=mu.prototype.gB;mu.prototype.wD=function(a){this.$x=a};mu.prototype.setZoomSpeed=mu.prototype.wD;mu.prototype.Ua=function(a){this.map!==a&&(this.map&&this.map.removeEventListener(\"mapviewchange\",this.yl),nu(this));wt.prototype.Ua.apply(this,arguments);this.map&&(this.Md(),a.addEventListener(\"mapviewchange\",this.yl),a.addEventListener(\"baselayerchange\",this.Md))};mu.prototype.setMap=mu.prototype.Ua;\nmu.prototype.disposeInternal=function(){wt.prototype.disposeInternal.apply(this,arguments);this.map.removeEventListener(\"baselayerchange\",this.Md);nu(this)};mu.prototype.R=function(a,b){wt.prototype.renderInternal.call(this,a,b);this.Cl.Id(this.oa().translate(\"zoom.in\"));this.zo.Id(this.oa().translate(\"zoom.out\"))};mu.prototype.renderInternal=mu.prototype.R;mu.prototype.cd=function(a){var b=this.Ie;wt.prototype.cd.call(this,a);b!==a&&this.Md();return this};mu.prototype.setAlignment=mu.prototype.cd;\nmu.prototype.yl=function(){var a=this.map,b=a.Ob(),c=a.ob()-1;a=a.ra||a.za.getCapabilities().lookAt.zoom;this.Lu&&this.Ai.ko(b);this.yb||(this.Cl.Ca(b+c>=a.max),this.zo.Ca(b<=a.min))};mu.prototype.Ca=function(a,b){mu.g.Ca.call(this,a,b);this.yl();return this};mu.prototype.setDisabled=mu.prototype.Ca;function nu(a){a.removeChild(a.Ai);a.Ai=null;a.ra&&(a.ra.removeEventListener(\"minchange\",a.Md),a.ra.removeEventListener(\"maxchange\",a.Md),a.ra=null)}\nmu.prototype.wn=function(a){a=a.target;var b=a===this.Cl?1:-1,c=0<b?Math.ceil:Math.floor,d=this.map,e,f=this;d&&(\"down\"===a.getState()?(d.ya.startControl(),d.ya.control(0,0,b*this.$x,0,0,0)):d.ya.endControl(!0,function(g){e=f.yz?g.zoom:c(g.zoom);g.zoom=e}))};mu.prototype.dr=function(a){this.map&&this.map.cl(a.newValue)};\nmu.prototype.Md=function(){var a=this.Ie,b=this.pc();if(/^top/g.test(a)||/^bottom/g.test(a)){var c=this.zo;a=this.Cl;var d=!1}else c=this.Cl,a=this.zo,d=!0;this.removeChild(c);this.removeChild(a);this.Va(c);if(this.Lu&&b){nu(this);b=d;var e=(d=(c=this.map)&&c.ra)||c.za.getCapabilities().lookAt.zoom;if(this.ra=d)d.addEventListener(\"minchange\",this.Md),d.addEventListener(\"maxchange\",this.Md);this.Ai=new gu({step:this.AD?1:0,vertical:b,min:e.min,max:e.max,value:c.Ob(),pointerArea:c.A()});this.Ai.addEventListener(this.Ai.i.Ef,\nthis.dr);this.Va(this.Ai)}this.Va(a)};function ou(a){B(a,Array,ou,1);qt.call(this,\"div\",\"H_context_menu\");this.UB=a;this.o=null;this.Ic=this.Ic.bind(this)}u(ou,qt);t(\"H.ui.context.Menu\",ou);ou.prototype.disposeInternal=function(){ou.g.disposeInternal.call(this);this.fk&&this.fk.l();this.fk=null};ou.prototype.disposeInternal=ou.prototype.disposeInternal;\nou.prototype.R=function(){qt.prototype.R.apply(this,arguments);
1this.UB.forEach(function(a){a===Xd?a=new Y(\"div\",\"H_context_menu_item_separator\"):(a=new tt(a),a.addEventListener(\"click\",this.Ic));this.Va(a);this.xf(0)},this);Wc(this.A(),[\"mousedown\",\"touchstart\",\"pointerdown\",\"wheel\"],function(a){a.stopPropagation()});this.fk=new ut(this.A(),this.Jj().filter(function(a){return a instanceof tt?(a=a.Pb,a.callback&&!a.isDisabled()):!1}),this.Ic)};ou.prototype.renderInternal=ou.prototype.R;\nou.prototype.setPosition=function(a,b){if(this.o){var c=this.A();var d=c.offsetWidth;var e=c.offsetHeight;var f=this.o;var g=f.ua.width;f=f.ua.height;a+d>g&&a>g/2&&(a-=d);b+e>f&&b>f/2&&(b-=e);Us(c,a,b)}};ou.prototype.setPosition=ou.prototype.setPosition;ou.prototype.Ic=function(){this.o&&this.o.dispatchEvent(new Ic(\"contextmenuclose\",this.o))};ou.prototype.Ua=function(a){this.o=a};ou.prototype.setMap=ou.prototype.Ua;var pu=[];t(\"H.ui.i18n.defaultLocales\",pu);var qu={},ru=[];function su(a,b){qu[a]=b;-1===pu.indexOf(a)&&pu.push(a);ru.length?tu(a,b):ru=Object.keys(b)}function tu(a,b){for(var c=ru,d=c.length,e;d--;)if(e=c[d],!b[e])throw Error(\"'\"+e+\"' key missing in translation map for \"+a);};su(\"pt-PT\",{\"layers.normal\":\"Vista do mapa\",\"layers.satellite\":\"Sat\\u00e9lite\",\"layers.terrain\":\"Terreno\",\"layer.transit\":\"Transportes p\\u00fablicos\",\"layer.traffic\":\"Condi\\u00e7\\u00f5es de tr\\u00e2nsito\",\"layer.incidents\":\"Mostrar incidentes de tr\\u00e2nsito\",\"layers.choose\":\"Escolher vista\",minimap:\"Minimap\",\"scale.switchToImperial\":\"Mudar para milhas\",\"scale.switchToMetric\":\"Mudar para km\",\"scale.km\":\"km\",\"scale.m\":\"m\",\"scale.mi\":\"mi\",\"scale.ft\":\"ft\",\"zoom.out\":\"Diminuir\",\"zoom.in\":\"Aumentar\",\n\"zoom.rectangle\":\"Zoom rectangle\",\"traffic.MASS_TRANSIT\":\"Transportes p\\u00fablicos\",\"traffic.MISCELLANEOUS\":\"Diversos\",\"traffic.ACCIDENT\":\"Acidente\",\"traffic.OTHER_NEWS\":\"Outras not\\u00edcias\",\"traffic.OTHER\":\"Outras not\\u00edcias\",\"traffic.PLANNED_EVENT\":\"Evento planeado\",\"traffic.ROAD_HAZARD\":\"Perigo na estrada\",\"traffic.ROAD_CLOSURE\":\"Estrada fechada\",\"traffic.WEATHER\":\"Meteorologia\",\"traffic.CONGESTION\":\"Congestionamento\",\"traffic.CONSTRUCTION\":\"Constru\\u00e7\\u00e3o\",\"traffic.DISABLED_VEHICLE\":\"Ve\\u00edculo avariado\",\n\"traffic.LANE_RESTRICTION\":\"Limita\\u00e7\\u00e3o da faixa de rodagem\",\"traffic.from\":\"Hora de in\\u00edcio:\",\"traffic.until\":\"Hora de fim prevista:\",\"distance.measurement\":\"Measure distance\"});su(\"it-IT\",{\"layers.normal\":\"Vista mappa\",\"layers.satellite\":\"Satellite\",\"layers.terrain\":\"Terreno\",\"layer.transit\":\"Mezzi pubblici\",\"layer.traffic\":\"Condizioni del traffico\",\"layer.incidents\":\"Mostra incidenti stradali\",\"layers.choose\":\"Scegli vista\",minimap:\"Minimap\",\"scale.switchToImperial\":\"Passa a miglia\",\"scale.switchToMetric\":\"Passa a km\",\"scale.km\":\"km\",\"scale.m\":\"m\",\"scale.mi\":\"mi\",\"scale.ft\":\"ft\",\"zoom.out\":\"Zoom indietro\",\"zoom.in\":\"Zoom avanti\",\"zoom.rectangle\":\"Zoom rectangle\",\"traffic.MASS_TRANSIT\":\"Mezzi pubblici\",\n\"traffic.MISCELLANEOUS\":\"Varie\",\"traffic.ACCIDENT\":\"Incidente\",\"traffic.OTHER_NEWS\":\"Altre notizie\",\"traffic.OTHER\":\"Altre notizie\",\"traffic.PLANNED_EVENT\":\"Evento pianificato\",\"traffic.ROAD_HAZARD\":\"Strada dissestata\",\"traffic.ROAD_CLOSURE\":\"Strada chiusa\",\"traffic.WEATHER\":\"Maltempo\",\"traffic.CONGESTION\":\"Ingorgo\",\"traffic.CONSTRUCTION\":\"Lavori in corso\",\"traffic.DISABLED_VEHICLE\":\"Veicolo in panne\",\"traffic.LANE_RESTRICTION\":\"Restrizione di corsia\",\"traffic.from\":\"Ora di inizio:\",\"traffic.until\":\"Ora di fine stimata:\",\n\"distance.measurement\":\"Measure distance\"});su(\"nl-NL\",{\"layers.normal\":\"Kaartweergave\",\"layers.satellite\":\"Satelliet\",\"layers.terrain\":\"Terrein\",\"layer.transit\":\"Openbaar vervoer\",\"layer.traffic\":\"Verkeerssituatie\",\"layer.incidents\":\"Toon verkeersincidenten\",\"layers.choose\":\"Weergave kiezen\",minimap:\"Minimap\",\"scale.switchToImperial\":\"Overgaan naar mijlen\",\"scale.switchToMetric\":\"Wijzigen naar km\",\"scale.km\":\"km\",\"scale.m\":\"m\",\"scale.mi\":\"mi\",\"scale.ft\":\"ft\",\"zoom.out\":\"Uitzoomen\",\"zoom.in\":\"Inzoomen\",\"zoom.rectangle\":\"Zoom rectangle\",\"traffic.MASS_TRANSIT\":\"Openbaar vervoer\",\n\"traffic.MISCELLANEOUS\":\"Diversen\",\"traffic.ACCIDENT\":\"Ongeval\",\"traffic.OTHER_NEWS\":\"Meer informatie\",\"traffic.OTHER\":\"Meer informatie\",\"traffic.PLANNED_EVENT\":\"Geplande afzetting\",\"traffic.ROAD_HAZARD\":\"Gevaar op de weg\",\"traffic.ROAD_CLOSURE\":\"Rijbaan afgesloten\",\"traffic.WEATHER\":\"Weer\",\"traffic.CONGESTION\":\"Verkeersopstopping\",\"traffic.CONSTRUCTION\":\"Wegwerkzaamheden\",\"traffic.DISABLED_VEHICLE\":\"Voertuig met pech\",\"traffic.LANE_RESTRICTION\":\"Rijstrookbeperking\",\"traffic.from\":\"Begintijd:\",\"traffic.until\":\"Geschatte eindtijd:\",\n\"distance.measurement\":\"Measure distance\"});su(\"pl-PL\",{\"layers.normal\":\"Widok mapy\",\"layers.satellite\":\"Satelita\",\"layers.terrain\":\"Teren\",\"layer.transit\":\"Transport publiczny\",\"layer.traffic\":\"Warunki drogowe\",\"layer.incidents\":\"Poka\\u017c zdarzenia drogowe\",\"layers.choose\":\"Wybierz widok\",minimap:\"Minimap\",\"scale.switchToImperial\":\"Zmie\\u0144 na mile\",\"scale.switchToMetric\":\"Zmie\\u0144 na km\",\"scale.km\":\"km\",\"scale.m\":\"m\",\"scale.mi\":\"mi\",\"scale.ft\":\"ft\",\"zoom.out\":\"Oddal\",\"zoom.in\":\"Przybli\\u017c\",\"zoom.rectangle\":\"Zoom rectangle\",\"traffic.MASS_TRANSIT\":\"Transport publiczny\",\n\"traffic.MISCELLANEOUS\":\"Inne zdarzenie\",\"traffic.ACCIDENT\":\"Wypadek\",\"traffic.OTHER_NEWS\":\"Inne wiadomo\\u015bci\",\"traffic.OTHER\":\"Inne wiadomo\\u015bci\",\"traffic.PLANNED_EVENT\":\"Zdarzenie planowane\",\"traffic.ROAD_HAZARD\":\"Niebezpiecze\\u0144stwo na drodze\",\"traffic.ROAD_CLOSURE\":\"Jezdnia zamkni\\u0119ta\",\"traffic.WEATHER\":\"Pogoda\",\"traffic.CONGESTION\":\"Korek\",\"traffic.CONSTRUCTION\":\"Budowa\",\"traffic.DISABLED_VEHICLE\":\"Uszkodzony pojazd\",\"traffic.LANE_RESTRICTION\":\"Ograniczenie pasa ruchu\",\"traffic.from\":\"Data rozpocz\\u0119cia:\",\n\"traffic.until\":\"Przybli\\u017cona data zako\\u0144czenia:\",\"distance.measurement\":\"Measure distance\"});su(\"ru-RU\",{\"layers.normal\":\"\\u0420\\u0435\\u0436\\u0438\\u043c \\u043a\\u0430\\u0440\\u0442\\u044b\",\"layers.satellite\":\"\\u0421\\u043f\\u0443\\u0442\\u043d\\u0438\\u043a\\u043e\\u0432\\u0430\\u044f\",\"layers.terrain\":\"\\u041c\\u0435\\u0441\\u0442\\u043d\\u043e\\u0441\\u0442\\u044c\",\"layer.transit\":\"\\u041e\\u0431\\u0449\\u0435\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439 \\u0442\\u0440\\u0430\\u043d\\u0441\\u043f\\u043e\\u0440\\u0442\",\"layer.traffic\":\"\\u0414\\u043e\\u0440\\u043e\\u0436\\u043d\\u044b\\u0435 \\u0443\\u0441\\u043b\\u043e\\u0432\\u0438\\u044f\",\n\"layer.incidents\":\"\\u041f\\u043e\\u043a\\u0430\\u0437\\u0430\\u0442\\u044c \\u0434\\u043e\\u0440\\u043e\\u0436\\u043d\\u044b\\u0435 \\u0441\\u043e\\u0431\\u044b\\u0442\\u0438\\u044f\",\"layers.choose\":\"\\u0412\\u044b\\u0431\\u0435\\u0440\\u0438\\u0442\\u0435 \\u0432\\u0438\\u0434\",minimap:\"Minimap\",\"scale.switchToImperial\":\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u044c\\u0437\\u043e\\u0432\\u0430\\u0442\\u044c \\u043c\\u0438\\u043b\\u0438\",\"scale.switchToMetric\":\"\\u0418\\u0441\\u043f\\u043e\\u043b\\u044c\\u0437\\u043e\\u0432\\u0430\\u0442\\u044c \\u043a\\u0438\\u043b\\u043e\\u043c\\u0435\\u0442\\u0440\\u044b\",\n\"scale.km\":\"\\u043a\\u043c\",\"scale.m\":\"\\u043c\",\"scale.mi\":\"\\u043c\\u0438\\u043b\\u044c\",\"scale.ft\":\"\\u0444\\u0443\\u0442\",\"zoom.out\":\"\\u041e\\u0442\\u0434\\u0430\\u043b\\u0438\\u0442\\u044c\",\"zoom.in\":\"\\u041f\\u0440\\u0438\\u0431\\u043b\\u0438\\u0437\\u0438\\u0442\\u044c\",\"zoom.rectangle\":\"Zoom rectangle\",\"traffic.MASS_TRANSIT\":\"\\u041e\\u0431\\u0449\\u0435\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439 \\u0442\\u0440\\u0430\\u043d\\u0441\\u043f\\u043e\\u0440\\u0442\",\"traffic.MISCELLANEOUS\":\"\\u041f\\u0440\\u043e\\u0447\\u0435\\u0435 \\u0414\\u0422\\u041f\",\n\"traffic.ACCIDENT\":\"\\u0414\\u0422\\u041f\",\"traffic.OTHER_NEWS\":\"\\u0414\\u0440\\u0443\\u0433\\u0438\\u0435 \\u043d\\u043e\\u0432\\u043e\\u0441\\u0442\\u0438\",\"traffic.OTHER\":\"\\u0414\\u0440\\u0443\\u0433\\u0438\\u0435 \\u043d\\u043e\\u0432\\u043e\\u0441\\u0442\\u0438\",\"traffic.PLANNED_EVENT\":\"\\u041f\\u043b\\u0430\\u043d\\u043e\\u0432\\u043e\\u0435 \\u043c\\u0435\\u0440\\u043e\\u043f\\u0440\\u0438\\u044f\\u0442\\u0438\\u0435\",\"traffic.ROAD_HAZARD\":\"\\u0414\\u043e\\u0440\\u043e\\u0436\\u043d\\u0430\\u044f \\u043e\\u043f\\u0430\\u0441\\u043d\\u043e\\u0441\\u0442\\u044c\",\n\"traffic.ROAD_CLOSURE\":\"\\u0414\\u043e\\u0440\\u043e\\u0433\\u0430 \\u0437\\u0430\\u043a\\u0440\\u044b\\u0442\\u0430\",\"traffic.WEATHER\":\"\\u041f\\u043e\\u0433\\u043e\\u0434\\u0430\",\"traffic.CONGESTION\":\"\\u041f\\u0440\\u043e\\u0431\\u043a\\u0430\",\"traffic.CONSTRUCTION\":\"\\u0420\\u0435\\u043c\\u043e\\u043d\\u0442\",\"traffic.DISABLED_VEHICLE\":\"\\u041d\\u0435\\u0438\\u0441\\u043f\\u0440\\u0430\\u0432\\u043d\\u044b\\u0439 \\u0430\\u0432\\u0442\\u043e\\u043c\\u043e\\u0431\\u0438\\u043b\\u044c\",\"traffic.LANE_RESTRICTION\":\"\\u041e\\u0433\\u0440\\u0430\\u043d\\u0438\\u0447\\u0435\\u043d\\u0438\\u0435 \\u043f\\u043e\\u043b\\u043e\\u0441\\u044b \\u0434\\u0432\\u0438\\u0436\\u0435\\u043d\\u0438\\u044f\",\n\"traffic.from\":\"\\u0412\\u0440\\u0435\\u043c\\u044f \\u043d\\u0430\\u0447\\u0430\\u043b\\u0430:\",\"traffic.until\":\"\\u041e\\u0436\\u0438\\u0434\\u0430\\u0435\\u043c\\u043e\\u0435 \\u0432\\u0440\\u0435\\u043c\\u044f \\u043e\\u043a\\u043e\\u043d\\u0447\\u0430\\u043d\\u0438\\u044f:\",\"distance.measurement\":\"\\u0418\\u0437\\u043c\\u0435\\u0440\\u0438\\u0442\\u044c \\u0440\\u0430\\u0441\\u0441\\u0442\\u043e\\u044f\\u043d\\u0438\\u0435\"});su(\"tr-TR\",{\"layers.normal\":\"Harita g\\u00f6r\\u00fcn\\u00fcm\\u00fc\",\"layers.satellite\":\"Uydu\",\"layers.terrain\":\"Arazi\",\"layer.transit\":\"Toplu ula\\u015f\\u0131m\",\"layer.traffic\":\"Trafik durumlar\\u0131\",\"layer.incidents\":\"Trafik olaylar\\u0131n\\u0131 g\\u00f6ster\",\"layers.choose\":\"G\\u00f6r\\u00fcn\\u00fcm se\\u00e7\",minimap:\"Minimap\",\"scale.switchToImperial\":\"Mile d\\u00f6n\\u00fc\\u015ft\\u00fcr\",\"scale.switchToMetric\":\"Kilometreye d\\u00f6n\\u00fc\\u015ft\\u00fcr\",\"scale.km\":\"km\",\"scale.m\":\"m\",\"scale.mi\":\"mil\",\"scale.ft\":\"ft\",\n\"zoom.out\":\"Uzakla\\u
1015ft\\u0131r\",\"zoom.in\":\"Yak\\u0131nla\\u015ft\\u0131r\",\"zoom.rectangle\":\"Zoom rectangle\",\"traffic.MASS_TRANSIT\":\"Toplu ula\\u015f\\u0131m\",\"traffic.MISCELLANEOUS\":\"\\u00c7e\\u015fitli\",\"traffic.ACCIDENT\":\"Kaza\",\"traffic.OTHER_NEWS\":\"Di\\u011fer haberler\",\"traffic.OTHER\":\"Di\\u011fer haberler\",\"traffic.PLANNED_EVENT\":\"Planl\\u0131 etkinlik\",\"traffic.ROAD_HAZARD\":\"Yol tehlikesi\",\"traffic.ROAD_CLOSURE\":\"Yol kapal\\u0131\",\"traffic.WEATHER\":\"Hava durumu\",\"traffic.CONGESTION\":\"Yo\\u011funluk\",\n\"traffic.CONSTRUCTION\":\"Yol \\u00e7al\\u0131\\u015fmas\\u0131\",\"traffic.DISABLED_VEHICLE\":\"Ara\\u00e7 ar\\u0131zas\\u0131\",\"traffic.LANE_RESTRICTION\":\"\\u015eerit k\\u0131s\\u0131tlamas\\u0131\",\"traffic.from\":\"Ba\\u015flang\\u0131\\u00e7 zaman\\u0131:\",\"traffic.until\":\"Tahmini biti\\u015f zaman\\u0131:\",\"distance.measurement\":\"Measure distance\"});su(\"zh-CN\",{\"layers.normal\":\"\\u5730\\u56fe\\u89c6\\u56fe\",\"layers.satellite\":\"\\u536b\\u661f\",\"layers.terrain\":\"\\u5730\\u5f62\",\"layer.transit\":\"\\u516c\\u5171\\u4ea4\\u901a\",\"layer.traffic\":\"\\u4ea4\\u901a\\u60c5\\u51b5\",\"layer.incidents\":\"\\u663e\\u793a\\u4ea4\\u901a\\u4e8b\\u4ef6\",\"layers.choose\":\"\\u9009\\u62e9\\u89c6\\u56fe\",minimap:\"Minimap\",\"scale.switchToImperial\":\"\\u5207\\u6362\\u4e3a\\u300c\\u82f1\\u91cc\\u300d\",\"scale.switchToMetric\":\"\\u5207\\u6362\\u4e3a\\u300c\\u516c\\u91cc\\u300d\",\"scale.km\":\"\\u516c\\u91cc\",\"scale.m\":\"\\u7c73\",\n\"scale.mi\":\"\\u82f1\\u91cc\",\"scale.ft\":\"\\u82f1\\u5c3a\",\"zoom.out\":\"\\u7f29\\u5c0f\",\"zoom.in\":\"\\u653e\\u5927\",\"zoom.rectangle\":\"Zoom rectangle\",\"traffic.MASS_TRANSIT\":\"\\u516c\\u5171\\u4ea4\\u901a\",\"traffic.MISCELLANEOUS\":\"\\u7efc\\u5408\\u4e8b\\u4ef6\",\"traffic.ACCIDENT\":\"\\u4ea4\\u901a\\u610f\\u5916\",\"traffic.OTHER_NEWS\":\"\\u5176\\u4ed6\\u65b0\\u95fb\",\"traffic.OTHER\":\"\\u5176\\u4ed6\\u65b0\\u95fb\",\"traffic.PLANNED_EVENT\":\"\\u9884\\u5b9a\\u4e8b\\u4ef6\",\"traffic.ROAD_HAZARD\":\"\\u9053\\u8def\\u5371\\u9669\",\"traffic.ROAD_CLOSURE\":\"\\u9053\\u8def\\u5df2\\u5173\\u95ed\",\n\"traffic.WEATHER\":\"\\u5929\\u6c14\",\"traffic.CONGESTION\":\"\\u5835\\u585e\",\"traffic.CONSTRUCTION\":\"\\u65bd\\u5de5\",\"traffic.DISABLED_VEHICLE\":\"\\u8f66\\u8f86\\u629b\\u951a\",\"traffic.LANE_RESTRICTION\":\"\\u8f66\\u9053\\u9650\\u5236\",\"traffic.from\":\"\\u5f00\\u59cb\\u65f6\\u95f4\\uff1a\",\"traffic.until\":\"\\u9884\\u8ba1\\u7ed3\\u675f\\u65f6\\u95f4\\uff1a\",\"distance.measurement\":\"Measure distance\"});su(\"en-US\",{\"layers.normal\":\"Map view\",\"layers.satellite\":\"Satellite\",\"layers.terrain\":\"Terrain\",\"layer.transit\":\"Public transport\",\"layer.traffic\":\"Traffic conditions\",\"layer.incidents\":\"Show traffic incidents\",\"layers.choose\":\"Choose view\",minimap:\"Minimap\",\"scale.switchToImperial\":\"Change to miles\",\"scale.switchToMetric\":\"Change to km\",\"scale.km\":\"km\",\"scale.m\":\"m\",\"scale.mi\":\"mi\",\"scale.ft\":\"ft\",\"zoom.out\":\"Zoom out\",\"zoom.in\":\"Zoom in\",\"zoom.rectangle\":\"Zoom rectangle\",\"traffic.MASS_TRANSIT\":\"Public transport\",\n\"traffic.MISCELLANEOUS\":\"Miscellaneous\",\"traffic.ACCIDENT\":\"Accident\",\"traffic.OTHER_NEWS\":\"Other news\",\"traffic.OTHER\":\"Other news\",\"traffic.PLANNED_EVENT\":\"Planned event\",\"traffic.ROAD_HAZARD\":\"Road hazard\",\"traffic.ROAD_CLOSURE\":\"Roadway closed\",\"traffic.WEATHER\":\"Weather\",\"traffic.CONGESTION\":\"Congestion\",\"traffic.CONSTRUCTION\":\"Construction\",\"traffic.DISABLED_VEHICLE\":\"Disabled vehicle\",\"traffic.LANE_RESTRICTION\":\"Lane restriction\",\"traffic.from\":\"Start time:\",\"traffic.until\":\"Estimated end time:\",\n\"distance.measurement\":\"Measure distance\"});su(\"fi-FI\",{\"layers.normal\":\"Karttan\\u00e4kym\\u00e4\",\"layers.satellite\":\"Satelliitti\",\"layers.terrain\":\"Maasto\",\"layer.transit\":\"Julkinen liikenne\",\"layer.traffic\":\"Liikenneolosuhteet\",\"layer.incidents\":\"N\\u00e4yt\\u00e4 liikennetapahtumat\",\"layers.choose\":\"Valitse n\\u00e4kym\\u00e4\",minimap:\"Minimap\",\"scale.switchToImperial\":\"Vaihda maileihin\",\"scale.switchToMetric\":\"Vaihda kilometreihin\",\"scale.km\":\"km\",\"scale.m\":\"m\",\"scale.mi\":\"mi\",\"scale.ft\":\"ft\",\"zoom.out\":\"Loitonna\",\"zoom.in\":\"L\\u00e4henn\\u00e4\",\n\"zoom.rectangle\":\"Zoom rectangle\",\"traffic.MASS_TRANSIT\":\"Julkinen liikenne\",\"traffic.MISCELLANEOUS\":\"Erittelem\\u00e4t\\u00f6n syy\",\"traffic.ACCIDENT\":\"Onnettomuus\",\"traffic.OTHER_NEWS\":\"Muu tapahtuma\",\"traffic.OTHER\":\"Muu tapahtuma\",\"traffic.PLANNED_EVENT\":\"Suunniteltu tapahtuma\",\"traffic.ROAD_HAZARD\":\"Vaara t
1iell\\u00e4\",\"traffic.ROAD_CLOSURE\":\"Tie suljettu\",\"traffic.WEATHER\":\"S\\u00e4\\u00e4\",\"traffic.CONGESTION\":\"Ruuhka\",\"traffic.CONSTRUCTION\":\"Rakennusty\\u00f6\",\"traffic.DISABLED_VEHICLE\":\"Pys\\u00e4htynyt ajoneuvo\",\n\"traffic.LANE_RESTRICTION\":\"Kaista rajoitus\",\"traffic.from\":\"Alkamisaika:\",\"traffic.until\":\"Arvioitu p\\u00e4\\u00e4ttymisaika:\",\"distance.measurement\":\"Measure distance\"});su(\"pt-BR\",{\"layers.normal\":\"Exibi\\u00e7\\u00e3o do mapa\",\"layers.satellite\":\"Sat\\u00e9lite\",\"layers.terrain\":\"Terreno\",\"layer.transit\":\"Transporte p\\u00fablico\",\"layer.traffic\":\"Condi\\u00e7\\u00f5es do tr\\u00e2nsito\",\"layer.incidents\":\"Mostrar incidentes no tr\\u00e2nsito\",\"layers.choose\":\"Escolher exibi\\u00e7\\u00e3o\",minimap:\"Minimap\",\"scale.switchToImperial\":\"Mudar para milhas\",\"scale.switchToMetric\":\"Mudar para km\",\"scale.km\":\"km\",\"scale.m\":\"m\",\"scale.mi\":\"milhas\",\"scale.ft\":\"p\\u00e9s\",\"zoom.out\":\"Menos zoom\",\n\"zoom.in\":\"Mais zoom\",\"zoom.rectangle\":\"Zoom rectangle\",\"traffic.MASS_TRANSIT\":\"Transporte p\\u00fablico\",\"traffic.MISCELLANEOUS\":\"Miscel\\u00e2nea\",\"traffic.ACCIDENT\":\"Acidente\",\"traffic.OTHER_NEWS\":\"Outras not\\u00edcias\",\"traffic.OTHER\":\"Outras not\\u00edcias\",\"traffic.PLANNED_EVENT\":\"Evento planejado\",\"traffic.ROAD_HAZARD\":\"Risco na estrada\",\"traffic.ROAD_CLOSURE\":\"Estrada fechada\",\"traffic.WEATHER\":\"Clima\",\"traffic.CONGESTION\":\"Congestionamento\",\"traffic.CONSTRUCTION\":\"Constru\\u00e7\\u00e3o\",\"traffic.DISABLED_VEHICLE\":\"Ve\\u00edculo incapacitado\",\n\"traffic.LANE_RESTRICTION\":\"Restri\\u00e7\\u00e3o de pista\",\"traffic.from\":\"Hora de in\\u00edcio:\",\"traffic.until\":\"Tempo final estimado:\",\"distance.measurement\":\"Measure distance\"});su(\"de-DE\",{\"layers.normal\":\"Kartenansicht\",\"layers.satellite\":\"Satellit\",\"layers.terrain\":\"Gel\\u00e4nde\",\"layer.transit\":\"\\u00d6ffentliche Verkehrsmittel\",\"layer.traffic\":\"Verkehrslage\",\"layer.incidents\":\"Verkehrsst\\u00f6rungen anzeigen\",\"layers.choose\":\"Ansicht ausw\\u00e4hlen\",minimap:\"Minimap\",\"scale.switchToImperial\":\"Umrechnung in Meilen\",\"scale.switchToMetric\":\"Umrechnung in Kilometer\",\"scale.km\":\"km\",\"scale.m\":\"m\",\"scale.mi\":\"mi\",\"scale.ft\":\"ft\",\"zoom.out\":\"Verkleinern\",\"zoom.in\":\"Vergr\\u00f6\\u00dfern\",\n\"zoom.rectangle\":\"Zoom rectangle\",\"traffic.MASS_TRANSIT\":\"\\u00d6ffentliche Verkehrsmittel\",\"traffic.MISCELLANEOUS\":\"Diverse\",\"traffic.ACCIDENT\":\"Unfall\",\"traffic.OTHER_NEWS\":\"Anderes Ereignis\",\"traffic.OTHER\":\"Anderes Ereignis\",\"traffic.PLANNED_EVENT\":\"Geplantes Ereignis\",\"traffic.ROAD_HAZARD\":\"Verkehrshindernis\",\"traffic.ROAD_CLOSURE\":\"Fahrbahn gesperrt\",\"traffic.WEATHER\":\"Wetter\",\"traffic.CONGESTION\":\"Verkehrsstau\",\"traffic.CONSTRUCTION\":\"Baustelle\",\"traffic.DISABLED_VEHICLE\":\"Liegengebliebenes Fahrzeug\",\n\"traffic.LANE_RESTRICTION\":\"Fahrstreifensperrung\",\"traffic.from\":\"Beginn:\",\"traffic.until\":\"Voraussichtliches Ende:\",\"distance.measurement\":\"Measure distance\"});su(\"fr-FR\",{\"layers.normal\":\"Carte\",\"layers.satellite\":\"Satellite\",\"layers.terrain\":\"Terrain\",\"layer.transit\":\"Transports publics\",\"layer.traffic\":\"Conditions de circulation\",\"layer.incidents\":\"Afficher les incidents de circulation\",\"layers.choose\":\"Choisir la vue\",minimap:\"Minimap\",\"scale.switchToImperial\":\"Passer en miles\",\"scale.switchToMetric\":\"Passer en km\",\"scale.km\":\"km\",\"scale.m\":\"m\",\"scale.mi\":\"mi\",\"scale.ft\":\"ft\",\"zoom.out\":\"Zoom arri\\u00e8re\",\"zoom.in\":\"Zoom avant\",\"zoom.rectangle\":\"Zoom rectangle\",\n\"traffic.MASS_TRANSIT\":\"Transports publics\",\"traffic.MISCELLANEOUS\":\"Divers\",\"traffic.ACCIDENT\":\"Accident\",\"traffic.OTHER_NEWS\":\"Autre\",\"traffic.OTHER\":\"Autre\",\"traffic.PLANNED_EVENT\":\"\\u00c9v\\u00e9nement pr\\u00e9vu\",\"traffic.ROAD_HAZARD\":\"Danger routier\",\"traffic.ROAD_CLOSURE\":\"Chauss\\u00e9e ferm\\u00e9e\",\"traffic.WEATHER\":\"M\\u00e9t\\u00e9o\",\"traffic.CONGESTION\":\"Embouteillage\",\"traffic.CONSTRUCTION\":\"Travaux\",\"traffic.DISABLED_VEHICLE\":\"V\\u00e9hicule en panne\",\"traffic.LANE_RESTRICTION\":\"Restriction de voie\",\n\"traffic.from\":\"Date ou heure de d\\u00e9but:\",\"traffic.until\":\"Date et heure de fin estim\\u00e9es:\",\"distance.measurement\":\"Measure distance\"});su(\"es-ES\",{\"layers.normal\":\"Mapa\",\"layers.satellite\":\"Sat\\u00e9lite\",\"layers.terrain\":\"Terreno\",\"layer.transit\":\"Transporte p\\u00fablico\",\"layer.traffic\":\"Estado del tr\\u00e1fico\",\"layer.incidents\":\"Mostrar incidentes de tr\\u00e1fico\",\"layers.choose\":\"Elija una vista\",minimap:\"Minimap\",\"scale.switchToImperial\":\"Cambiar a millas\",\"scale.switchToMetric\":\"Cambiar a km\",\"scale.km\":\"km\",\"scale.m\":\"m\",\"scale.mi\":\"mi\",\"scale.ft\":\"ft\",\"zoom.out\":\"Alejar\",\"zoom.in\":\"Acercar\",\"zoom.rectangle\":\"Zoom rectangle\",\n\"traffic.MASS_TRANSIT\":\"Transporte p\\u00fablico\",\"traffic.MISCELLANEOUS\":\"Varios\",\"traffic.ACCIDENT\":\"Accidente\",\"traffic.OTHER_NEWS\":\"M\\u00e1s noticias\",\"traffic.OTHER\":\"M\\u00e1s noticias\",\"traffic.PLANNED_EVENT\":\"Acto programado\",\"traffic.ROAD_HAZARD\":\"Riesgo en carretera\",\"traffic.ROAD_CLOSURE\":\"Carretera cerrada\",\"traffic.WEATHER\":\"Tiempo\",\"traffic.CONGESTION\":\"Atasco\",\"traffic.CONSTRUCTION\":\"Construcci\\u00f3n\",\"traffic.DISABLED_VEHICLE\":\"Veh\\u00edculo averiado\",\"traffic.LANE_RESTRICTION\":\"Restricci\\u00f3n de carril\",\n\"traffic.from\":\"Inicio:\",\"traffic.until\":\"Finalizaci\\u00f3n estimada:\",\"distance.measurement\":\"Measure distance\"});function uu(a,b){if(!eb(a))throw new TypeError(\"string locale code required\");if(ya(b))tu(a,b);else{if(-1===pu.indexOf(a))throw Error(\"Default locale '\"+a+\"' does nto exist.\");b=qu[a]}this.o=b||{};this.$m=a}t(\"H.ui.i18n.Localization\",uu);uu.prototype.sA=function(){return this.$m};uu.prototype.getLocale=uu.prototype.sA;uu.prototype.lA=function(){return Object.keys(this.o)};uu.prototype.getKeys=uu.prototype.lA;uu.prototype.Fm=function(a){return!(!this.o||!this.o[a])};uu.prototype.hasKey=uu.prototype.Fm;\nuu.prototype.translate=function(a){var b=this.o[a];if(!eb(b))throw Error(\"Translation missing for key '\"+a+\"'.\");return b};uu.prototype.translate=uu.prototype.translate;function vu(a,b){var c={},d={};c[\"top-left\"]=ht(b,\"div\",[wu,xu].join(\" \"));c[\"top-center\"]=ht(b,\"div\",[wu,yu,zu,xu].join(\" \"));c[\"top-right\"]=ht(b,\"div\",[wu,xu].join(\" \"));c[\"left-top\"]=ht(b,\"div\",[wu,Au].join(\" \"));c[\"left-middle\"]=ht(b,\"div\",[wu,Bu,Cu,Au].join(\" \"));c[\"left-bottom\"]=ht(b,\"div\",[wu,Au].join(\" \"));c[\"right-top\"]=ht(b,\"div\",[wu,Au].join(\" \"));c[\"right-middle\"]=ht(b,\"div\",[wu,Du,Cu,Au].join(\" \"));c[\"right-bottom\"]=ht(b,\"div\",[wu,Au].join(\" \"));c[\"bottom-left\"]=ht(b,\"div\",[wu,xu].join(\" \"));\nc[\"bottom-center\"]=ht(b,\"div\",[wu,Eu,zu,xu].join(\" \"));c[\"bottom-right\"]=ht(b,\"div\",[wu,xu].join(\" \"));d[\"top-left\"]=ht(b,\"div\",[yu,Bu].join(\" \"));d[\"top-right\"]=ht(b,\"div\",[yu,Du].join(\" \"));d[\"bottom-left\"]=ht(b,\"div\",[Eu,Bu].join(\" \"));d[\"bottom-right\"]=ht(b,\"div\",[Eu,Du].join(\" \"));it(d[\"top-left\"],c[\"top-left\"],c[\"left-top\"]);it(d[\"top-right\"],c[\"top-right\"],c[\"right-top\"]);it(d[\"bottom-left\"],c[\"left-bottom\"],c[\"bottom-left\"]);it(d[\"bottom-right\"],c[\"right-bottom\"],c[\"bottom-right\"]);it(a,d[\"top-left\"],\nd[\"top-right\"],d[\"bottom-left\"],d[\"bottom-right\"],c[\"top-center\"],c[\"left-middle\"],c[\"right-middle\"],c[\"bottom-center\"]);this.ht=c}var yu=\"H_l_top\",Eu=\"H_l_bottom\",Bu=\"H_l_left\",Du=\"H_l_right\",zu=\"H_l_center\",Cu=\"H_l_middle\",xu=\"H_l_horizontal\",Au=\"H_l_vertical\",wu=\"H_l_anchor\";vu.prototype.update=function(){var a=this.ht;Fu(a[\"top-center\"],!0);Fu(a[\"bottom-center\"],!0);Fu(a[\"left-middle\"],!1);Fu(a[\"right-middle\"],!1)};\nfunction Fu(a,b){b?(b=a.offsetWidth,a.style.marginLeft=-Math.round(.5*b)+\"px\"):(b=a.offsetHeight,a.style.marginTop=-Math.round(.5*b)+\"px\")}vu.prototype.put=function(a,b){a=a?a.A():null;var c=b?this.ht[b]:null;
1a&&c&&(a.parentElement&&a.parentElement.removeChild(a),c.insertBefore(a,/(bottom|right)$/.test(b)||/(center|middle)/.test(b)&&c.childNodes.length%2?c.firstChild:null));this.update()};function Gu(a,b){this.Ac=a;this.Gc=null;this.pk=0;this.jg=22;this.SD=b;this.mn=z(this.mn,this);this.ip=z(this.ip,this);a=this.Ac.pc();a.addEventListener(\"mapviewchange\",this.uC,!1,this);this.nb=a.za.type;a=a.S;a.addEventListener(\"add\",this.og,!1,this);a.addEventListener(\"remove\",this.pg,!1,this)}function Hu(a,b,c){var d=b.I;d&&(void 0===c?0:c)&&d.removeEventListener(\"tap\",a.mn);b?(d.addEventListener(\"tap\",a.mn),a.pk=d.min,a.jg=d.max):(a.pk=0,a.jg=22)}m=Gu.prototype;\nm.uC=function(a){var b=a.newValue.zoom;this.Gc&&a.modifiers&a.ZOOM&&(b<this.pk||b>this.jg)&&this.Gc.close()};m.og=function(a){a=a.added;Iu(a)&&Hu(this,a)};m.pg=function(a){a=a.removed;Iu(a)&&(this.Gc&&this.Gc.close(),Hu(this,a,!0))};function Iu(a){return window.H.service&&(a.I instanceof window.H.service.traffic.incidents.Provider||a.I instanceof window.H.service.trafficVectorTile.Provider&&\"incident\"===a.I.fa.Hq)}\nm.mn=function(a){var b,c=this.nb===Gf.HARP;a.target&&(b=a.target.getData())&&0===a.currentPointer.button&&(c?(b=this.Ac.pc().Za(a.currentPointer.viewportX,a.currentPointer.viewportY),(c=a.target.getData()?a.target.getData().properties.id:null)&&this.SD.requestIncidentById(c,{locationReferencing:\"none\",lang:this.Ac.oa().$m,units:this.Ac.Vb===Zt.METRIC?\"metric\":\"imperial\"},this.Qx.bind(this,b),console.error)):(c=a.target.Y(),this.Qx(c,b)),a.stopPropagation())};\nm.Qx=function(a,b){if(this.nb===Gf.HARP){b=b.incidentDetails;var c=this.Ac.oa().$m,d=b.type,e=d.split(/(?=[A-Z])/).join(\"_\").toUpperCase();this.Ac.oa().Fm(\"traffic.\"+e)&&(d=this.Ac.oa().translate(\"traffic.\"+e));a={position:a,title:d,description:b.description.value,startTime:(new Date(b.startTime)).toLocaleString(c).split(\",\").join(\" \"),endTime:(new Date(b.endTime)).toLocaleString(c).split(\",\").join(\" \")}}else c=b.TRAFFIC_ITEM_TYPE_DESC.replace(\" \",\"_\"),c=this.Ac.oa().Fm(\"traffic.\"+c)?this.Ac.oa().translate(\"traffic.\"+\nc):b.TRAFFIC_ITEM_DESCRIPTION[b.TRAFFIC_ITEM_DESCRIPTION.length-1].value,a={position:a,title:c,description:b.TRAFFIC_ITEM_DESCRIPTION[0].value,startTime:b.START_TIME,endTime:b.END_TIME};this.ip(a)};\nm.ip=function(a){var b=a.position,c=a.title,d=a.description,e=a.startTime;a=a.endTime;this.Gc||(this.Gc=new du(b),this.Gc.La(\"H_tib\"),this.Ac.et(this.Gc));this.Gc.setPosition(b);this.Gc.Xk('<div class=\"H_tib_content\"><div class=\"H_rdo_title\" dir=\"auto\">{{title}}</div><div class=\"H_tib_desc\" dir=\"auto\"><span>{{desc}}</span><div class=\"H_tib_time\"><span class=\"H_tib_left\">{{traffic.from}}</span><span class=\"H_tib_right\">{{from}}</span><br/><span class=\"H_tib_left\">{{traffic.until}}</span><span class=\"H_tib_right\">{{until}}</span></div></div>'.replace(\"{{title}}\",c).replace(\"{{desc}}\",\nd).replace(\"{{traffic.from}}\",this.Ac.oa().translate(\"traffic.from\")).replace(\"{{traffic.until}}\",this.Ac.oa().translate(\"traffic.until\")).replace(\"{{from}}\",e).replace(\"{{until}}\",a));this.Gc.open()};function Ju(a,b){try{return a.Pm=!0,new a(b)}finally{a.Pm=!1}}\nfunction Ku(a,b){var c=a.A(),d=this;F.call(this);this.o=a;this.wj=c.ownerDocument;this.Lf={};this.Me=[];this.K=ht(this.wj,\"div\",\"H_ui\");this.setDirection();this.iC=z(function(e){this.sv.put(e.target,e.target.Ie)},this);this.addEventListener(\"alignmentchange\",this.iC);this.yC=z(function(){this.Jx()},this);this.addEventListener(\"toggleunitsystem\",this.yC);this.K.addEventListener(\"contextmenu\",this.ww,!1);this.K.addEventListener(\"MSHoldVisual\",this.ww,!1);this.o.addEventListener(\"contextmenu\",this.jn,\n!1,this);this.o.addEventListener(\"contextmenuclose\",this.Qv,!1,this);this.o.fc(this.l.bind(this));this.Qd=null;this.yt=-1;this.sv=new vu(this.K,this.wj);this.Vb=Zt.METRIC;Lu(this,\"en-US\");b&&Mu(this,b);c.appendChild(this.K);globalThis.setTimeout(function(){d.sv.update()},1)}u(Ku,F);t(\"H.ui.UI\",Ku);Ku.prototype.ww=function(a){for(var b=a.target;b&&!/\\bH_ib_content\\b/.test(b.className);)b=b.parentNode;b||a.preventDefault()};Ku.prototype.A=function(){return this.K};\nKu.prototype.getElement=Ku.prototype.A;Ku.prototype.pc=function(){return this.o};Ku.prototype.getMap=Ku.prototype.pc;Ku.prototype.ZA=function(){return this.Vb};Ku.prototype.getUnitSystem=Ku.prototype.ZA;Ku.prototype.jo=function(a){var b=this.Lf,c;if(a!==this.Vb)for(c in this.Vb=a,b)if(b[c]instanceof wt)b[c].onUnitSystemChange(this.Vb)};Ku.prototype.setUnitSystem=Ku.prototype.jo;Ku.prototype.setDirection=function(a){this.K.setAttribute(\"dir\",a||getComputedStyle(this.pc().A(
1)).direction)};\nKu.prototype.setDirection=Ku.prototype.setDirection;function Lu(a,b){if(eb(b))var c=b;else if(b instanceof uu){c=b.$m;var d=b}else throw Error(\"The locale parameter must be a string or a H.ui.i18n.Localization object.\");if(c)if(d)a.Iq=d;else if(0<=pu.indexOf(c))a.Iq=new uu(c);else throw Error(\"Locale [\"+c+\"] is not supported.\");else throw Error(\"No locale was defined.\");}Ku.prototype.oa=function(){return this.Iq};Ku.prototype.Jx=function(){this.Vb===Zt.METRIC?this.jo(Zt.IMPERIAL):this.jo(Zt.METRIC)};\nKu.prototype.toggleUnitSystem=Ku.prototype.Jx;Ku.prototype.et=function(a){var b=this.Me.length,c=this.K;if(0>this.Me.indexOf(a)){a.ha(this);a.Ua(this.o);var d=a.P(this.wj);b=0<b?this.Me[b-1].A().nextSibling:this.K.firstChild;c.insertBefore(d,b);this.Me.push(a)}};Ku.prototype.addBubble=Ku.prototype.et;\nKu.prototype.jn=function(a){var b=a.items;this.Qd&&this.Qv();clearTimeout(this.yt);this.yt=globalThis.setTimeout(function(){b.length&&(this.Qd=new ou(b),this.K.insertBefore(this.Qd.P(this.wj),this.K.firstChild),this.Qd.ha(this),this.Qd.Ua(this.o),this.Qd.setPosition(a.viewportX,a.viewportY))}.bind(this),0)};Ku.prototype.Qv=function(){this.Qd&&(this.Qd.l(),this.Qd=null)};Ku.prototype.QC=function(a){var b=this.Me.indexOf(a);-1<b&&(a.ha(null),a.Ua(null),this.Me.splice(b,1),this.K.removeChild(a.A()))};\nKu.prototype.removeBubble=Ku.prototype.QC;Ku.prototype.Kz=function(){return this.Me};Ku.prototype.getBubbles=Ku.prototype.Kz;Ku.prototype.Tg=function(a,b){if(this.Mj(a))throw Error(\"A control with name [\"+a+\"] is already registered.\");b.ha(this);b.Ua(this.o);b.NB=this.Iq;b.P(this.wj);b.onUnitSystemChange(this.Vb);this.Lf[a]=b};Ku.prototype.addControl=Ku.prototype.Tg;\nKu.prototype.SC=function(a){var b=this.Mj(a);if(b)b.unsubscribe(),b.ha(null),b.Ua(null),mt(b),delete this.Lf[a];else throw Error(\"Control [\"+a+\"] not found in this UI's controls.\");return b};Ku.prototype.removeControl=Ku.prototype.SC;Ku.prototype.Mj=function(a){return this.Lf[a]};Ku.prototype.getControl=Ku.prototype.Mj;\nKu.prototype.disposeInternal=function(){for(var a in this.Lf)Ss.hasOwnProperty.call(this.Lf,a)&&this.Lf[a].l();this.Me.forEach(function(b){b.l()});(a=this.K.parentNode)&&a.removeChild(this.K);F.prototype.disposeInternal.call(this);delete this.K};\nfunction Mu(a,b){var c,d;b.unitSystem&&a.jo(b.unitSystem);(d=b.locale)&&Lu(a,d);(c=b.zoom)&&a.Tg(\"zoom\",new mu(ya(c)?c:null));(c=b.zoomrectangle)&&a.Tg(\"zoomrectangle\",new cu(ya(c)?c:null));(c=b.mapsettings)&&a.Tg(\"mapsettings\",new zt(ya(c)?c:null));(c=b.scalebar)&&a.Tg(\"scalebar\",new bu(ya(c)?c:null));(c=b.distancemeasurement)&&a.Tg(\"distancemeasurement\",new $t(ya(c)?c:null))}\nKu.prototype.capture=function(a,b,c,d){var e=this.Mj(\"scalebar\"),f=a.getContext(\"2d\"),g=a.width,h=a.height,k=this.o.ae,l=5+(k?k.A().childNodes[1].offsetHeight:0);e&&e.Zd()?e.capture(b,function(n){f.drawImage(n,g-n.width-5*b,h-n.height-l*b);c(a)},d):c(a)};Ku.prototype.capture=Ku.prototype.capture;\nKu.createDefault=function(a,b,c){var d=a.za.type;c=new Ku(a,{unitSystem:Zt.METRIC,zoom:{alignment:\"right-bottom\"},mapsettings:Nu(d,b,a.ra),scalebar:{alignment:\"bottom-right\"},locale:c||\"en-US\"});if(d===Gf.P2D){var e=c.Mj(\"mapsettings\");var f=function(){if(e.pc()){var l=Nu(d,b,a.ra);At(e,l.baseLayers,l.layers)}};a.addEventListener(a.i.Gl,f);c.fc(function(){a.removeEventListener(a.i.Gl,f)});e.fc(function(){a.removeEventListener(a.i.Gl,f)})}if(d===Gf.HARP){if(window.H.service){var g=b.vector.traffic.map.I.fa.j(),\nh=new window.H.service.Url(g.ui,g.Xj.split(\".\").slice(-2).join(\".\"));h=Ju(window.H.service.traffic.Service7,{platformBaseUrl:h});var k=h.j().getQuery();k.apikey=g.getQuery().apikey;h.j().al(k);new Gu(c,h)}}else new Gu(c);return c};Ku.prototype.tD=function(){};Ku.prototype.setTrafficIncidentsHandle=Ku.prototype.tD;function Ou(a,b,c,d){for(var e=a,f=0;e&&f<b.length;f++)e=e[b[f]];if(e&&e!==a)return a={label:c,layer:e},d.push(a),a}\nfunction Nu(a,b,c){var d=[],e=[],f=b.raster;if(a===Gf.P2D&&f){Ou(b,[\"raster\",\"normal\",\"map\"],\"layers.normal\",d);Ou(b,[\"raster\",\"satellite\",\"map\"],\"layers.satellite\",d);Ou(b,[\"raster\",\"terrain\",\"map\"],\"layers.terrain\",d);if(c)for(var g in f)if(f[g]&&f[g].map===c){var h=g;break}Ou(b,[\"raster\",\"normal\",\"trafficincidents\"],\"layer.incidents\",e);Ou(b,[\"raster\",h,\"transit\"],\"layer.transit\",e)}else Ou(b,[\"vector\",\"normal\",\"map\"],\"layers.normal\",d),a===Gf.WEBGL?(e.push({label:\"layers.satellite\",tooltip:\"Disabled 
1with WEBGL engine\"}),\ne.push({label:\"layer.traffic\",tooltip:\"Disabled with WEBGL engine\"}),e.push({label:\"layer.incidents\",tooltip:\"Disabled with WEBGL engine\"})):(c=Ou(b,[\"hybrid\",\"day\",\"vector\"],\"\",[]),f=Ou(b,[\"hybrid\",\"day\",\"raster\"],\"layers.satellite\",d),f.layer=[f.layer,c.layer],window.H.service&&(c=b.vector.traffic.map.I.fa.j(),b=Ju(window.H.service.trafficVectorTile.Service,{baseUrl:c,layer:\"flow\"}),c=Ju(window.H.service.trafficVectorTile.Service,{baseUrl:c,layer:\"incident\"}),h=zn()+\"/harp/oslo/normal.day.json\",\nf=new H.map.render.harp.Style(h),h=new H.map.render.harp.Style(h),b=b.createLayer(f,{engineType:a}),a=c.createLayer(h,{engineType:a}),e.push({label:\"layer.traffic\",layer:b},{label:\"layer.incidents\",layer:a})));return{alignment:\"bottom-right\",baseLayers:d,layers:e}};function Pu(a,b){b=b||{};if(!(a&&a instanceof Qi))throw Error(\"Base layer is mandatory for overview UI element\");wt.call(this);this.kr=new pt({label:'<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" class=\"H_icon\"><g fill-rule=\"evenodd\" transform=\"translate(2 2)\"><rect width=\"9\" height=\"9\" x=\"10\" y=\"10\"/><rect class=\"H_icon_stroke\" width=\"18\" height=\"18\" x=\"1\" y=\"1\" fill=\"none\" stroke=\"#000\" stroke-width=\"2\" rx=\"2\"/></g></svg>',onStateChange:z(this.kf,this)});this.Va(this.kr);\nthis.ei=new Qu(a,b.zoomDelta,b.scaleX,b.scaleY);this.cd(b.alignment||\"right-bottom\");this.Va(this.ei)}u(Pu,wt);t(\"H.ui.Overview\",Pu);Pu.prototype.Hg=function(a){this.ei.Hg(a);return this};Pu.prototype.setBaseLayer=Pu.prototype.Hg;Pu.prototype.kf=function(a){a.target.getState()===ot.DOWN?(a=this.ei,Ru(a,!0),a.qs(),a.La(a.dt),a.o.addEventListener(\"mapviewchange\",a.qs,!1,a)):Su(this.ei)};\nPu.prototype.R=function(a,b){wt.prototype.renderInternal.call(this,a,b);this.kr.A().style[\"float\"]=this.Ie.match(\"right\")?\"right\":\"left\";this.ei.Ua(this.map);this.kr.Id(this.oa().translate(\"minimap\"))};Pu.prototype.renderInternal=Pu.prototype.R;Pu.prototype.disposeInternal=function(){this.ei.l();Y.prototype.disposeInternal.call(this)};\nfunction Qu(a,b,c,d){this.ra=a;this.dt=\"H_overview_active\";\"number\"===typeof b&&(this.Zx=b);\"number\"===typeof c&&(this.jw=c);\"number\"===typeof d&&(this.kw=d);qt.call(this,\"div\",\"H_overview\")}u(Qu,wt);Qu.prototype.Hg=function(a){this.fi.Hg(a)};Qu.prototype.R=function(a,b){b=ht(b,\"div\",\"H_overview_map\");it(a,b);this.Lq=b};Qu.prototype.renderInternal=Qu.prototype.R;Qu.prototype.renderInternal=Qu.prototype.R;m=Qu.prototype;m.Zx=3;m.jw=5;m.kw=5;\nm.Ua=function(a){this.o=a;this.fi=new U(this.Lq,this.ra,{pixelRatio:this.o.ob(),engineType:this.o.za.type});this.fi.ae.A().style.display=\"none\";this.iw=this.fi.ya;this.yv=this.o.ya};function Su(a){!a.nh&&Ru(a);a.Eb(a.dt);a.o.removeEventListener(\"mapviewchange\",a.qs,!1,a)}m.qs=function(a){a&&a.modifiers&a.SIZE&&Ru(this,!0);a=this.yv.Mb();a.zoom-=this.Zx;this.iw.dd(a)};\nfunction Ru(a,b){var c=a.o.ua.element,d=a.A().style,e=c.offsetWidth/a.jw/10;c=c.offsetHeight/a.kw/10;var f=a.Lq.style;b?(d.width=e+\"em\",d.height=c+\"em\",f.width=e+\"em\",f.height=c+\"em\"):d.width=d.height=\"0em\";a.fi.ua.resize()}m.disposeInternal=function(){Qu.g.disposeInternal.call(this);Su(this);this.fi.l();this.fi=this.iw=this.yv=this.o=this.ra=this.Lq=null};t(\"H.ui.buildInfo\",function(){return ci(\"H-ui\",\"1.69.2\",\"97da386\",{region:\"row\"})});\n")

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