{{desc}}{{traffic.from}}{{from}}
{{traffic.until}}{{until}}
'.replace(\"{{title}}\",c).replace(\"{{desc}}\",\nd).replace(\"{{traffic.from}}\",this.a.pa().translate(\"traffic.from\")).replace(\"{{traffic.until}}\",this.a.pa().translate(\"traffic.until\")).replace(\"{{from}}\",e).replace(\"{{until}}\",a));this.b.open()};function cw(a,b){try{return a.Qf=!0,new a(b)}finally{a.Qf=!1}}\nfunction dw(a,b){var c=a.N(),d=this;F.call(this);this.c=a;this.i=c.ownerDocument;this.f={};this.b=[];this.S=yu(this.i,\"div\",\"H_ui\");this.setDirection();this.P=A(function(e){this.m.put(e.target,e.target.Mc)},this);this.addEventListener(\"alignmentchange\",this.P);this.L=A(function(){this.fl()},this);this.addEventListener(\"toggleunitsystem\",this.L);this.S.addEventListener(\"contextmenu\",this.J,!1);this.S.addEventListener(\"MSHoldVisual\",this.J,!1);this.c.addEventListener(\"contextmenu\",this.D,!1,this);\nthis.c.addEventListener(\"contextmenuclose\",this.u,!1,this);this.c.tb(this.F.bind(this));this.a=null;this.s=-1;this.m=new Uu(this.S,this.i);this.g=ev.METRIC;ew(this,\"en-US\");b&&fw(this,b);c.appendChild(this.S);x.setTimeout(function(){d.m.update()},1)}u(dw,F);t(\"H.ui.UI\",dw);dw.prototype.J=function(a){for(var b=a.target;b&&!/\\bH_ib_content\\b/.test(b.className);)b=b.parentNode;b||a.preventDefault()};dw.prototype.N=function(){return this.S};dw.prototype.getElement=dw.prototype.N;\ndw.prototype.Lb=function(){return this.c};dw.prototype.getMap=dw.prototype.Lb;dw.prototype.dn=function(){return this.g};dw.prototype.getUnitSystem=dw.prototype.dn;dw.prototype.vg=function(a){var b=this.f,c;if(a!==this.g)for(c in this.g=a,b)if(b[c]instanceof Ru)b[c].onUnitSystemChange(this.g)};dw.prototype.setUnitSystem=dw.prototype.vg;dw.prototype.setDirection=function(a){this.S.setAttribute(\"dir\",a||getComputedStyle(this.Lb().N()).direction)};dw.prototype.setDirection=dw.prototype.setDirection;\nfunction ew(a,b){if(Cc(b))var c=b;else if(b instanceof Uv){c=b.a;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.l=d;else if(0<=Ov.indexOf(c))a.l=new Uv(c);else throw Error(\"Locale [\"+c+\"] is not supported.\");else throw Error(\"No locale was defined.\");}dw.prototype.pa=function(){return this.l};dw.prototype.fl=function(){this.g===ev.METRIC?this.vg(ev.IMPERIAL):this.vg(ev.METRIC)};dw.prototype.toggleUnitSystem=dw.prototype.fl;\ndw.prototype.Yi=function(a){var b=this.b.length,c=this.S;if(0>this.b.indexOf(a)){a.ka(this);a.Ia(this.c);var d=a.W(this.i);b=0