64 lines
30 KiB
Plaintext
64 lines
30 KiB
Plaintext
google.maps.__gjsload__('onion', function(_){var DS,ES,$Za,a_a,b_a,c_a,d_a,JS,IS,g_a,h_a,i_a,f_a,j_a,KS,k_a,l_a,m_a,o_a,q_a,r_a,t_a,u_a,x_a,z_a,B_a,D_a,F_a,G_a,E_a,QS,RS,PS,SS,L_a,M_a,N_a,O_a,Q_a,P_a,TS,Y_a,X_a,WS,c0a,d0a,e0a,b0a,f0a,g0a,h0a,k0a,l0a,n0a,ZS,r0a,s0a,t0a,m0a,o0a,p0a,u0a,v0a,YS,E0a,F0a,G0a,XS,H0a,I0a,GS,A0a,z0a,y0a,B0a,MS,LS,J0a,p_a,NS,n_a,$S,D0a,C0a,i0a;DS=function(a,b,c=!1){return(b=(b?.xC()?b.Lu():void 0)?.sh())&&b.includes("/tiles?")?[b.replace("/tiles?","/featureMaps?")]:_.Ry(a,c)};ES=function(a){return a.length>0&&a[0].includes("/featureMaps?")};
|
|
$Za=function(a,b){var c=a.length,d=typeof a==="string"?a.split(""):a;for(let e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a))return!0;return!1};a_a=function(a){return _.J(a,4)};b_a=function(a){return _.D(a,_.uA,3)};c_a=function(a){return _.$f(a,GS,1)};d_a=function(a,b){_.Ig(a,2,b)};_.e_a=function(a,b){return _.Ig(a,1,b)};JS=function(a){_.sL.call(this,a,HS);IS(a)};
|
|
IS=function(a){_.KK(a,HS)||(_.JK(a,HS,{entity:0,Fo:1},["div",,1,0,[" ",["div",,1,1,[" ",["div",576,1,2,"Dutch Cheese Cakes"]," "]]," ",["div",,1,3,[" ",["span",576,1,4,"Central Station"]," ",["div",,1,5]," "]]," "]],[],f_a()),_.KK(a,"t-ZGhYQtxECIs")||_.JK(a,"t-ZGhYQtxECIs",{},["jsl",,1,0,[" C\u00f3 l\u1ed1i \u0111i cho xe l\u0103n t\u1ea1i tr\u1ea1m n\u00e0y "]],[],[["$t","t-ZGhYQtxECIs"]]))};g_a=function(a){return a.Bk};h_a=function(a){return a.Om};i_a=function(){return _.iK("t-ZGhYQtxECIs",{})};
|
|
f_a=function(){return[["$t","t-t0weeym2tCw","$a",[7,,,,,"transit-container"]],["display",function(a){return!_.lK(a.entity,b=>b.Tr())}],["var",function(a){return a.Bk=_.jK(a.entity,"",b=>b.getTitle())},"$dc",[g_a,!1],"$a",[7,,,,,"gm-title"],"$a",[7,,,,,"gm-full-width"],"$c",[,,g_a]],["display",function(a){return _.lK(a.entity,b=>b.Tr())},"$a",[7,,,,,"transit-title",,1]],["var",function(a){return a.Om=_.jK(a.entity,"",b=>b.zw(),b=>b.getName())},"$dc",[h_a,!1],"$c",[,,h_a]],["display",function(a){return _.jK(a.entity,
|
|
0,b=>b.zw(),b=>_.qg(b,18))==2},"$a",[7,,,,,"transit-wheelchair-icon",,1],"$uae",["aria-label",i_a],"$uae",["title",i_a],"$a",[0,,,,"img","role",,1]]]};j_a=function(a){return _.jK(a.icon,"",b=>_.J(b,4))};KS=function(a){return a.Bk};k_a=function(a){return a.fk?_.hK("background-color",_.jK(a.component,"",b=>b.Qn(),b=>b.Bl())):_.jK(a.component,"",b=>b.Qn(),b=>b.Bl())};l_a=function(a){return _.jK(a.component,!1,b=>b.Qn(),b=>_.kg(b,2))};m_a=function(a){return a.Om};
|
|
o_a=function(){return[["$t","t-DjbQQShy8a0","$a",[7,,,,,"transit-container"]],["$a",[5,,,,function(a){return a.fk?_.hK("display",_.jK(a.Fo,!1,b=>_.kg(b,2))?"none":""):_.jK(a.Fo,!1,b=>_.kg(b,2))?"none":""},"display",,,1],"$up",["t-t0weeym2tCw",{entity:function(a){return a.entity},Fo:function(a){return a.Fo}}]],["for",[function(a,b){return a.np=b},function(a,b){return a.CL=b},function(a,b){return a.AR=b},function(a){return _.jK(a.entity,[],b=>b.zw(),b=>_.cg(b,n_a,17))}],"display",function(a){return _.lK(a.entity,
|
|
b=>b.Tr())},"$a",[7,,,,,"transit-line-group"],"$a",[7,,,function(a){return a.CL!=0},,"transit-line-group-separator"]],["for",[function(a,b){return a.icon=b},function(a,b){return a.pR=b},function(a,b){return a.qR=b},function(a){return _.jK(a.np,[],b=>_.cg(b,LS,2))}],"$a",[0,,,,j_a,"alt",,,1],"$a",[8,2,,,function(a){return _.jK(a.icon,"",b=>_.cg(b,MS,5),b=>b[0],b=>b.getUrl())},"src",,,1],"$a",[0,,,,j_a,"title",,,1],"$a",[0,,,,"15","height",,1],"$a",[0,,,,"15","width",,1]],["var",function(a){return a.OC=
|
|
_.jK(a.np,0,b=>_.qg(b,5))==0?15:_.jK(a.np,0,b=>_.qg(b,5))==1?12:6},"var",function(a){return a.nO=_.kK(a.np,b=>_.cg(b,NS,3))>a.OC},"$a",[7,,,,,"transit-line-group-content",,1]],["for",[function(a,b){return a.line=b},function(a,b){return a.i=b},function(a,b){return a.zR=b},function(a){return _.jK(a.np,[],b=>_.cg(b,NS,3))}],"display",function(a){return a.i<a.OC},"$up",["t-WxTvepIiu_w",{np:function(a){return a.np},line:function(a){return a.line}}]],["display",function(a){return a.nO},"var",function(a){return a.PM=
|
|
_.kK(a.np,b=>_.cg(b,NS,3))-a.OC},"$a",[7,,,,,"transit-nlines-more-msg",,1]],["var",function(a){return a.Bk=String(a.PM)},"$dc",[KS,!1],"$c",[,,KS]],["$a",[7,,,,,"transit-line-group-vehicle-icons",,1]],["$a",[7,,,,,"transit-clear-lines",,1]]]};
|
|
q_a=function(){return[["$t","t-WxTvepIiu_w","display",function(a){return _.kK(a.line,b=>_.cg(b,p_a,6))>0},"var",function(a){return a.HC=_.lK(a.np,b=>_.jg(b,5)!=null)?_.jK(a.np,0,b=>_.qg(b,5)):2},"$a",[7,,,,,"transit-div-line-name"]],["$a",[7,,,function(a){return a.HC==2},,"gm-transit-long"],"$a",[7,,,function(a){return a.HC==1},,"gm-transit-medium"],"$a",[7,,,function(a){return a.HC==0},,"gm-transit-short"],"$a",[0,,,,"list","role"]],["for",[function(a,b){return a.component=b},function(a,b){return a.QQ=
|
|
b},function(a,b){return a.RQ=b},function(a){return _.jK(a.line,[],b=>_.cg(b,p_a,6))}],"$up",["t-LWeJzkXvAA0",{component:function(a){return a.component}}]]]};
|
|
r_a=function(){return[["$t","t-LWeJzkXvAA0","$a",[0,,,,"listitem","role"]],["display",function(a){return _.lK(a.component,b=>b.sn())&&_.lK(a.component,b=>b.getIcon(),b=>_.cg(b,MS,5),b=>b[0],b=>b.Tl())},"$a",[7,,,,,"renderable-component-icon",,1],"$a",[0,,,,function(a){return _.jK(a.component,"",b=>b.getIcon(),b=>_.J(b,4))},"alt",,,1],"$a",[8,2,,,function(a){return _.jK(a.component,"",b=>b.getIcon(),b=>_.cg(b,MS,5),b=>b[0],b=>b.getUrl())},"src",,,1],"$a",[0,,,,"15","height",,1],"$a",[0,,,,"15","width",
|
|
,1]],["display",function(a){return _.lK(a.component,b=>b.aC())},"var",function(a){return a.tR=_.jK(a.component,0,b=>b.getType())==5},"var",function(a){return a.kM=_.jK(a.component,"",b=>b.Qn(),b=>b.Bl())=="#ffffff"},"var",function(a){return a.zC=_.lK(a.component,b=>b.Qn(),b=>b.Cw())}],["display",function(a){return!_.lK(a.component,b=>b.Qn(),b=>b.jk())&&a.zC},"$a",[7,,,,,"renderable-component-color-box",,1],"$a",[5,5,,,k_a,"background-color",,,1]],["display",function(a){return _.lK(a.component,b=>
|
|
b.Qn(),b=>b.jk())&&a.zC},"$a",[7,,,,,"renderable-component-text-box"],"$a",[7,,,l_a,,"renderable-component-bold"],"$a",[7,,,function(a){return a.kM},,"renderable-component-text-box-white"],"$a",[5,5,,,k_a,"background-color",,,1],"$a",[5,5,,,function(a){return a.fk?_.hK("color",_.jK(a.component,"",b=>b.Qn(),b=>b.ik())):_.jK(a.component,"",b=>b.Qn(),b=>b.ik())},"color",,,1]],["var",function(a){return a.Bk=_.jK(a.component,"",b=>b.Qn(),b=>b.Zh())},"$dc",[KS,!1],"$a",[7,,,,,"renderable-component-text-box-content"],
|
|
"$c",[,,KS]],["display",function(a){return _.lK(a.component,b=>b.Qn(),b=>b.jk())&&!a.zC},"var",function(a){return a.Om=_.jK(a.component,"",b=>b.Qn(),b=>b.Zh())},"$dc",[m_a,!1],"$a",[7,,,,,"renderable-component-text"],"$a",[7,,,l_a,,"renderable-component-bold"],"$c",[,,m_a]]]};
|
|
t_a=function(a,b){a=_.Sy({ci:a.x,di:a.y,mi:b});if(!a)return null;var c=2147483648/(1<<b);a=new _.Po(a.ci*c,a.di*c);c=1073741824;b=Math.min(31,_.Dm(b,31));OS.length=Math.floor(b);for(let d=0;d<b;++d)OS[d]=s_a[(a.x&c?2:0)+(a.y&c?1:0)],c>>=1;return OS.join("")};u_a=function(a){return a.charAt(1)};x_a=function(a){var b=a.search(v_a);if(b!==-1){for(;a.charCodeAt(b)!==124;++b);return a.slice(0,b).replace(w_a,u_a)}return a.replace(w_a,u_a)};
|
|
_.y_a=function(a,b){var c=0;b.forEach((d,e)=>{(d.zIndex||0)<=(a.zIndex||0)&&(c=e+1)});b.insertAt(c,a)};z_a=function(a,b,c){b.data.remove(c);c.tiles.remove(b);c.tiles.getSize()||(a.data.remove(c),c.yj=null,c.tiles=null)};B_a=function(a,b,c,d,e,f,g){var h="ofeatureMapTiles_"+b;_.Pn(c,"insert_at",()=>{a&&a[h]&&(a[h]={})});_.Pn(c,"remove_at",()=>{a&&a[h]&&(c.getLength()||(a[h]={}))});new A_a(c,d,e,f,(k,m)=>{a&&a[h]&&(a[h][`${k.coord.x}-${k.coord.y}-${k.zoom}`]=k.hasData);g&&g(k,m)})};
|
|
D_a=function(a,b,c){var d=a.nh[c.id]=a.nh[c.id]||{},e=b.toString();if(!d[e]&&!b.freeze){var f=new C_a([b].concat(b.oh||[]),[c]),g=b.secure;(b.oh||[]).forEach(m=>{g=g||m.secure});var h=g&&a.oh?a.oh:a.ph,k=h.load(f,m=>{delete d[e];var p=b.layerId;p=x_a(p);if(m=m&&m[c.Qz]&&m[c.Qz][p])m.yj=b,m.tiles||(m.tiles=new _.hr),_.rq(m.tiles,c),_.rq(b.data,m),_.rq(c.data,m);m={coord:c.mj,zoom:c.zoom,hasData:!!m};a.Di&&a.Di(m,b)});k&&(d[e]=()=>{h.cancel(k)})}};
|
|
F_a=function(a,b){var c=a.nh[b.id];for(let d in c)d&&E_a(a,b,d);delete a.nh[b.id]};G_a=function(a,b){a.tiles.forEach(c=>{c.id!=null&&D_a(a,b,c)})};E_a=function(a,b,c){if(a=a.nh[b.id])if(b=a[c])b(),delete a[c]};QS=function(a,b,c){this.oh=a;this.nh=b;this.rh=PS(this,1);this.ph=PS(this,3);this.qh=c};RS=function(a,b){return a.oh.charCodeAt(b)-63};PS=function(a,b){return RS(a,b)<<6|RS(a,b+1)};SS=function(a,b){return RS(a,b)<<12|RS(a,b+1)<<6|RS(a,b+2)};
|
|
L_a=function(a,b,c=!1){return function(d,e){function f(h){var k={};for(let I=0,O=_.um(h);I<O;++I){var m=h[I],p=m.layer;if(p==="")continue;p=x_a(p);var q=m.id;k[q]||(k[q]={});q=k[q];a:{if(!m){m=null;break a}let L=m.features;var u=m.base;delete m.base;let H=(1<<m.id.length)/8388608;var v=m.id,x=0,y=0,F=1073741824;for(let X=0,ra=v.length;X<ra;++X){let ta=H_a[v.charAt(X)];if(ta==2||ta==3)x+=F;if(ta==1||ta==3)y+=F;F>>=1}v=x;if(!L||!L.length){m=null;break a}x=m.epoch;x=typeof x==="number"&&m.layer?{[m.layer]:x}:
|
|
null;for(let X of L)if(F=X.a)F[0]+=u[0],F[1]+=u[1],F[0]-=v,F[1]-=y,F[0]*=H,F[1]*=H;u=[new I_a(L,x)];m.raster&&u.push(new QS(m.raster,L,x));m=new J_a(L,u)}q[p]=m?new K_a(m):null}e(k)}var g=a[(0,_.Ur)(d)%a.length];b||c?(d=c?(new _.Ow(g+d)).toString():(0,_.Tr)((new _.Ow(g)).setQuery(d,!0).toString()),_.BHa(d,{Di:f,ro:f,pF:!0})):_.Iz(_.Ur,g,_.Tr,d,f,f)}};
|
|
M_a=function(a,b,c,d,e){var f,g;a.nh&&a.ai.forEach(h=>{if(h.qh&&b[h.hp()]&&h.clickable!==!1){h=h.hp();var k=b[h][0];k.bb&&(f=h,g=k)}});g||a.ai.forEach(h=>{b[h.hp()]&&h.clickable!==!1&&(f=h.hp(),g=b[f][0])});if(!f||!g||!g.id)return null;a=new _.Po(0,0);e=1<<e;g.a?(a.x=(c.x+g.a[0])/e,a.y=(c.y+g.a[1])/e):(a.x=(c.x+d.x)/e,a.y=(c.y+d.y)/e);c=new _.To(0,0);d=g.bb;e=g.io;if(d&&d.length>=4&&d.length%4===0){e=e?_.rp(d[0],d[1],d[2],d[3]):null;let h=null;for(let k=d.length-4;k>=0;k-=4){let m=_.rp(d[k],d[k+1],
|
|
d[k+2],d[k+3]);m.equals(e)||(h?h.extendByBounds(m):h=m)}e?c.height=-e.getSize().height:h&&(c.width=h.minX+h.getSize().width/2,c.height=h.minY)}else e&&(c.width=e[0]||0,c.height=e[1]||0);return{feature:g,layerId:f,anchorPoint:a,anchorOffset:c}};N_a=function(a,b){var c={};a.forEach(d=>{var e=d.yj;e.clickable!==!1&&(e=e.hp(),d.get(b.x,b.y,c[e]=[]),c[e].length||delete c[e])});return c};O_a=function(a,b){return a.nh[b]&&a.nh[b][0]};
|
|
Q_a=function(a,b){b.sort(function(d,e){return d.Ux.tiles[0].id<e.Ux.tiles[0].id?-1:1});for(var c=25/b[0].Ux.ai.length;b.length;){let d=b.splice(0,c),e=d.map(f=>f.Ux.tiles[0]);a.ph.load(new C_a(d[0].Ux.ai,e),P_a.bind(null,d))}};P_a=function(a,b){for(let c=0;c<a.length;++c)a[c].Di(b)};
|
|
TS=function(a,b,c,d=!1){return _.AL(new _.ZIa(new R_a(new S_a(L_a(a,c,d),()=>{var e={};b.get("tilt")&&!b.At&&(e.BH="o",e.deg=String(b.get("heading")||0));var f=b.get("style");f&&(e.style=f);b.get("mapTypeId")==="roadmap"&&(e.NO=!0);if(f=b.get("apistyle"))e.rF=f;f=b.get("authUser");f!=null&&(e.Ip=f);if(f=b.get("mapIdPaintOptions"))e.Sq=f;return e}))))};
|
|
Y_a=function(a,b,c,d){function e(){var y=d?0:f.get("tilt"),F=d?0:a.get("heading"),I=a.get("authUser");return new T_a(g,k,b.getArray(),y,F,I,q)}var f=a.__gm,g=f.Wh||(f.Wh=new _.hr),h=new U_a(d);d||(h.bindTo("tilt",f),h.bindTo("heading",a));h.bindTo("authUser",a);var k=_.Qy(),m=DS(k,f.nh),p=DS(k,f.nh,!0);B_a(a,"onion",b,g,TS(m,h,!1,ES(m)),TS(p,h,!1,ES(p)));var q=void 0,u=e();h=u.nh();var v=_.$o(h);_.KM(a,v,"overlayLayer",20,{eN(y){function F(){u=e();y.iO(u)}b.addListener("insert_at",F);b.addListener("remove_at",
|
|
F);b.addListener("set_at",F)},fN(){_.eo(u,"oniontilesloaded")}});var x=new V_a(b,!!_.zq[15]);f.oh.then(y=>{var F=new W_a(b,g,x,f,v,y.Nh.Ak);f.th.register(F);X_a(F,c,a);var I=["mouseover","mouseout","mousemove"];for(let O of I)_.Pn(F,O,L=>{var H=O,X=O_a(c,L.layerId);if(X){var ra=a.get("projection").fromPointToLatLng(L.anchorPoint),ta=null;L.feature.c&&(ta=JSON.parse(L.feature.c));_.eo(X,H,L.feature.id,ra,L.anchorOffset,ta,X.layerId)}});_.iw(y.vu,O=>{O&&q!==O.ti&&(q=O.ti,u=e(),v.set(u.nh()))})})};
|
|
_.US=function(a){var b=a.__gm;if(!b.Oh){let c=b.Oh=new _.wp,d=new Z_a(c);b.ph.then(e=>{Y_a(a,c,d,e)})}return b.Oh};_.$_a=function(a,b){b=_.US(b);var c=-1;b.forEach((d,e)=>{d===a&&(c=e)});return c>=0?(b.removeAt(c),!0):!1};
|
|
X_a=function(a,b,c){var d=void 0;_.Pn(a,"click",e=>{d=window.setTimeout(()=>{var f=O_a(b,e.layerId);if(f){var g=c.get("projection").fromPointToLatLng(e.anchorPoint),h=f.ph;h?h(new _.a0a(f.layerId,e.feature.id,f.parameters),_.eo.bind(_.$s,f,"click",e.feature.id,g,e.anchorOffset)):(h=null,e.feature.c&&(h=JSON.parse(e.feature.c)),_.eo(f,"click",e.feature.id,g,e.anchorOffset,null,h,f.layerId))}},300)});_.Pn(a,"dblclick",()=>{window.clearTimeout(d);d=void 0})};
|
|
WS=function(a){_.sL.call(this,a,VS);_.KK(a,VS)||(_.JK(a,VS,{entity:0,Fo:1},["div",,1,0,[""," ",["div",,1,1,[" ",["div",,1,2,"Dutch Cheese Cakes"]," ",["div",,,6,[" ",["div",576,1,3,"29/43-45 E Canal Rd"]," "]]," "]],""," ",["div",,1,4,"transit info"]," ",["div",,,7,[" ",["a",,1,5,[" ",["span",,,,["Xem tr\u00ean Google Maps"]]," "]]," "]]," "]],[],b0a()),IS(a),_.KK(a,"t-DjbQQShy8a0")||(_.JK(a,"t-DjbQQShy8a0",{entity:0,Fo:1},["div",,1,0,[""," ",["div",,1,1,"transit info"]," ",["div",576,1,2,[" ",["div",
|
|
,,8,[" ",["img",8,1,3]," "]]," ",["div",,1,4,[" ",["div",,1,5,"Blue Mountains Line"]," ",["div",,,9]," ",["div",,1,6,["v\u00e0 ",["span",576,1,7,"5"]," \u0111\u01b0\u1eddng chuy\u1ec3n tuy\u1ebfn kh\u00e1c."]]," "]]," "]]," "]],[],o_a()),IS(a),_.KK(a,"t-WxTvepIiu_w")||(_.JK(a,"t-WxTvepIiu_w",{np:0,line:1},["div",,1,0,[" ",["div",576,1,1,[" ",["span",,1,2,"T1"]," "]]," "]],[],q_a()),_.KK(a,"t-LWeJzkXvAA0")||_.JK(a,"t-LWeJzkXvAA0",{component:0},["span",,1,0,[["img",8,1,1],"",["span",,1,2,["",["div",
|
|
,1,3],"",["span",576,1,4,[["span",576,1,5,"U1"]]],"",["span",576,1,6,"Northern"]]],""]],[],r_a()))))};c0a=function(a){return a.entity};d0a=function(a){return a.Fo};e0a=function(a){return a.Bk};
|
|
b0a=function(){return[["$t","t-Wtla7339NDI","$a",[7,,,,,"poi-info-window"],"$a",[7,,,,,"gm-style"]],["display",function(a){return!_.lK(a.entity,b=>b.Tr())}],["$a",[5,,,,function(a){return a.fk?_.hK("display",_.jK(a.Fo,!1,b=>_.kg(b,2))?"none":""):_.jK(a.Fo,!1,b=>_.kg(b,2))?"none":""},"display",,,1],"$up",["t-t0weeym2tCw",{entity:c0a,Fo:d0a}]],["for",[function(a,b){return a.PJ=b},function(a,b){return a.EQ=b},function(a,b){return a.FQ=b},function(a){return _.jK(a.entity,[],b=>b.uG())}],"var",function(a){return a.Bk=
|
|
a.PJ},"$dc",[e0a,!1],"$a",[7,,,,,"address-line"],"$a",[7,,,,,"full-width"],"$c",[,,e0a]],["display",function(a){return _.lK(a.entity,b=>b.Tr())},"$up",["t-DjbQQShy8a0",{entity:c0a,Fo:d0a}]],["$a",[8,1,,,function(a){return _.jK(a.Fo,"",b=>_.J(b,1))},"href",,,1],"$a",[0,,,,"_blank","target",,1]],["$a",[7,,,,,"address",,1]],["$a",[7,,,,,"view-link",,1]]]};f0a=function(a,b){return _.Ig(a,1,b)};g0a=function(a){return _.Bg(a,2,!0)};h0a=function(a,b=!0){b=b?"{16}":"{1,16}";return(new RegExp(`^0x[a-fA-F0-9]${b}:0x[a-fA-F0-9]${b}$`)).test(a)};
|
|
k0a=function(a){a=_.pIa(a);if(!a)return null;var b=new XS;var c=_.Jd(a.oh);b=_.uf(b,1,c==null?c:_.MI(c));a=_.Jd(a.nh);a=_.uf(b,2,a==null?a:_.MI(a));b=new i0a;a=_.gg(b,XS,1,a);return _.hc(j0a(a),4)};l0a=function(a,b){b.substr(0,2)=="0x"?(_.Ig(a,1,b),_.uf(a,4)):(_.Ig(a,4,b),_.uf(a,1))};n0a=function(a){var b;_.Pn(a.oh,"click",(c,d)=>{b=window.setTimeout(()=>{_.ZI(161530);m0a(a,c,d)},300)});_.Pn(a.oh,"dblclick",()=>{window.clearTimeout(b);b=void 0})};
|
|
ZS=function(a,b,c){a.oh&&_.Pn(a.oh,b,d=>{(d=o0a(a,d))&&d.dt&&YS(a.map)&&p0a(a,c,d.dt,d.Hj,d.dt.id||"")})};
|
|
r0a=function(a){["ddsfeaturelayersclick","ddsfeaturelayersmousemove"].forEach(b=>{_.Pn(a.oh,b,(c,d,e)=>{var f=new Map;for(let h of e){e=(e=a.map.__gm.nh.Lu())?e.qh():[];e=_.oIa(h,e,a.map);if(!e)continue;var g=a.map;let k=g.__gm,m=e.featureType==="DATASET"?e.datasetId:void 0;(g=_.bq(g,{featureType:e.featureType,datasetId:m}).isAvailable?e.featureType==="DATASET"?m?k.uh.get(m)||null:null:k.qh.get(e.featureType)||null:null)&&(f.has(g)?f.get(g)?.push(e):f.set(g,[e]))}if(f.size>0&&d.latLng&&d.domEvent)for(let [h,
|
|
k]of f)_.eo(h,c,new q0a(d.latLng,d.domEvent,k))})})};s0a=function(a){a.infoWindow&&a.infoWindow.set("map",null)};t0a=function(a){a.infoWindow||(_.MHa(a.map.getDiv()),a.infoWindow=new _.pt({Xr:!0,logAsInternal:!0,headerDisabled:!1}),a.infoWindow.addListener("map_changed",()=>{a.infoWindow.get("map")||(a.nh=null)}))};
|
|
m0a=function(a,b,c){YS(a.map)||t0a(a);var d=o0a(a,b);if(d&&d.dt){var e=d.dt.id;if(e)if(YS(a.map))p0a(a,"smnoplaceclick",d.dt,d.Hj,e);else{let f=null,g;_.ZI(h0a(e,!1)?381500:381501);g=(f=h0a(e,!0)?k0a(e):null)?u0a(a,c,d,f):void 0;a.sh(e,_.xl.oh(),h=>{if(f)_.P(a.map,_.J(h,28)===f?226501:226502);else{f=_.J(h,28);g=u0a(a,c,d,f);try{if(e.split(":").length===2){let k=k0a(e);_.P(a.map,f===k?226501:226502)}}catch{}}g&&g.domEvent&&_.kv(g.domEvent)||(a.anchorOffset=d.anchorOffset||_.dp,a.nh=h,v0a(a))})}}};
|
|
o0a=function(a,b){var c=!_.zq[35];return a.rh?a.rh(b,c):b};p0a=function(a,b,c,d,e){d=a.map.get("projection").fromPointToLatLng(d);_.eo(a.map,b,{featureId:e,latLng:d,queryString:c.query,aliasId:c.aliasId,tripIndex:c.tripIndex,adRef:c.adRef,featureIdFormat:c.featureIdFormat,incidentMetadata:c.incidentMetadata,hotelMetadata:c.hotelMetadata,loggedFeature:c.lH})};
|
|
u0a=function(a,b,c,d){var e=a.map.get("projection");a.ph=e&&e.fromPointToLatLng(c.Hj);if(a.ph&&b.domEvent){var f=new w0a(a.ph,b.domEvent,d);_.eo(a.map,"click",f)}return f};
|
|
v0a=function(a){if(a.nh){var b="",c=a.map.get("mapUrl");c&&(b=c,(c=a_a(a.nh.Vp()))&&(b+="&cid="+c));b=g0a(f0a(new x0a,b));c=b_a(a.nh.Vp());var d=a.ph||new _.un(_.yx(c),_.Ax(c));a.layout.update([a.nh,b],()=>{var e=a.nh.Tr()?_.D(a.nh,$S,19).getName():a.nh.getTitle();a.infoWindow.setOptions({ariaLabel:e});a.infoWindow.setPosition(d);a.anchorOffset&&a.infoWindow.setOptions({pixelOffset:a.anchorOffset});a.infoWindow.get("map")||(a.infoWindow.setContent(a.layout.div),a.infoWindow.open(a.map))});a.qh.update([a.nh,
|
|
b],()=>{a.infoWindow.setHeaderContent(a.qh.div)});a.nh.Tr()||a.infoWindow.setOptions({minWidth:228})}};YS=function(a){return _.zq[18]&&(a.get("disableSIW")||a.get("disableSIWAndPDR"))};E0a=function(a,b,c){var d=new y0a;d_a(_.$f(d,z0a,2).Yi(b.oh()),b.qh());_.Kg(d,6,1);l0a(c_a(_.$f(d,A0a,1)),a);a="pb="+_.Iw(d,B0a());_.Iz(_.Ur,_.xC+"/maps/api/js/jsonp/ApplicationService.GetEntityDetails",_.Tr,a,e=>{e=new C0a(e);_.wf(e,D0a,2)&&c(_.D(e,D0a,2))})};
|
|
F0a=function(a){var b=""+a.getType(),c=_.Bf(a,_.Hx,2);for(let d=0;d<c;++d)b+="|"+_.qv(a,2,_.Hx,d).getKey()+":"+_.qv(a,2,_.Hx,d).getValue();return encodeURIComponent(b)};
|
|
G0a=function(a,b){var c=a.anchorPoint,d=a.feature,e="",f=!1;if(d.c){var g=JSON.parse(d.c);e=g[31581606]&&g[31581606].entity&&g[31581606].entity.query||g[1]&&g[1].title||"";var h=document;e=e.indexOf("&")!=-1?_.LDa(e,h):e;var k=g[15]&&g[15].alias_id;var m=g[16]&&g[16].trip_index;h=g[29974456]&&g[29974456].ad_ref;var p=g[31581606]&&g[31581606].entity&&g[31581606].entity.feature_id_format;var q=g[31581606]&&g[31581606].entity;var u=g[43538507];var v=g[1]&&g[1].hotel_data;f=g[1]&&g[1].is_transit_station||
|
|
!1;var x=g[17]&&g[17].omnimaps_data;var y=g[28927125]&&g[28927125].directions_request;g=g[40154408]&&g[40154408].feature}return{Hj:c,dt:d.id&&d.id.indexOf("dti-")!==-1&&!b?null:{id:d.id,query:e,aliasId:k,anchor:d.a,adRef:h,entity:q,tripIndex:m,featureIdFormat:p,incidentMetadata:u,hotelMetadata:v,isTransitStation:f,NR:x,HK:y,lH:g},anchorOffset:a.anchorOffset||null}};_.Nz.prototype.Cw=_.ea(31,function(){return _.jv(this,1)});XS=class extends _.M{constructor(a){super(a)}};H0a=class extends _.M{constructor(a){super(a)}};
|
|
I0a=class extends _.M{constructor(a){super(a)}};GS=class extends _.M{constructor(a){super(a)}Ik(){return _.J(this,1)}getQuery(){return _.J(this,2)}setQuery(a){return _.Ig(this,2,a)}getLocation(){return _.E(this,_.uA,3)}};A0a=class extends _.M{constructor(a){super(a)}Vp(){return _.D(this,GS,1)}};z0a=class extends _.M{constructor(a){super(a)}Yi(a){return _.Ig(this,1,a)}Rk(){return _.jv(this,1)}};y0a=class extends _.M{constructor(a){super(a)}Vp(){return _.D(this,A0a,1)}};
|
|
B0a=_.ti(y0a,[0,[0,[0,_.W,-1,_.WM,_.W,-1,_.SA]],[0,_.W,-2],_.W,-1,1,_.Z,[0,[0,_.RA],_.U,[0,_.WM],-1,1,[0,_.Z,_.V,-1,_.vs,_.V,-1,_.vs,_.Z,_.xs,[0,_.V,-1,_.Y,[0,_.U]],[0,_.U,-1,1,_.Z,_.xs,_.V],_.U,1,[0,_.xs,_.U,_.RA],1,[0,_.Z,_.U,_.Z,_.U,_.Z],_.Z,_.V,-4],[0,_.Y,_.RA]],_.W,-3,1,[0,[3,7,9],_.W,-1,_.$z,_.V,_.Z,-1,_.$z,_.W,_.hA,_.jB],1,_.V,-2]);
|
|
MS=class extends _.M{constructor(a){super(a)}getUrl(){return _.J(this,1)}setUrl(a){return _.Ig(this,1,a)}Tl(){return _.jv(this,1)}getContext(){return _.qg(this,5)}};LS=class extends _.M{constructor(a){super(a,8)}getType(){return _.qg(this,1)}getId(){return _.J(this,2)}};J0a=class extends _.M{constructor(a){super(a)}Zh(){return _.J(this,1)}jk(){return _.jv(this,1)}Bl(){return _.J(this,3)}Cw(){return _.jv(this,3)}ik(){return _.J(this,4)}getTime(){return _.E(this,I0a,5)}hj(){return _.E(this,H0a,7)}};
|
|
p_a=class extends _.M{constructor(a){super(a)}getType(){return _.qg(this,1)}Qn(){return _.E(this,J0a,2)}aC(){return _.wf(this,J0a,2)}getIcon(){return _.E(this,LS,3)}setIcon(a){return _.gg(this,LS,3,a)}sn(){return _.wf(this,LS,3)}};NS=class extends _.M{constructor(a){super(a)}Ik(){return _.J(this,5)}};n_a=class extends _.M{constructor(a){super(a)}getName(){return _.J(this,1)}};$S=class extends _.M{constructor(a){super(a)}getName(){return _.J(this,1)}Ik(){return _.J(this,9)}};
|
|
D0a=class extends _.M{constructor(a){super(a)}Vp(){return _.D(this,GS,1)}getTitle(){return _.J(this,2)}setTitle(a){return _.Ig(this,2,a)}uG(){return _.vg(this,3,_.Ef())}zw(){return _.E(this,$S,19)}Tr(){return _.wf(this,$S,19)}};C0a=class extends _.M{constructor(a){super(a)}getStatus(){return _.qg(this,1,-1)}gj(){return _.E(this,_.ZM,5)}ul(a){return _.gg(this,_.ZM,5,a)}};
|
|
_.aT=class extends _.M{constructor(a){super(a)}getKey(){return _.J(this,1)}getValue(){return _.J(this,2)}setValue(a){return _.Ig(this,2,a)}};_.K0a=[0,_.W,-1];i0a=class extends _.M{constructor(a){super(a,100)}Ik(){return _.E(this,XS,1)}};_.Ns[13258261]=_.JA;_.Sa(JS,_.vL);JS.prototype.fill=function(a,b){_.tL(this,0,a);_.tL(this,1,b)};var HS="t-t0weeym2tCw";var s_a=["t","u","v","w"],OS=[];var w_a=/\*./g,v_a=/[^*](\*\*)*\|/;var C_a=class{constructor(a,b){this.ai=a;this.tiles=b}toString(){var a=this.tiles.map(b=>b.pov?`${b.id},${b.pov.toString()}`:b.id).join(";");return this.ai.join(";")+"|"+a}};var A_a=class{constructor(a,b,c,d,e){this.ai=a;this.tiles=b;this.ph=c;this.oh=d;this.nh={};this.Di=e||null;_.Zn(b,"insert",this,this.rh);_.Zn(b,"remove",this,this.th);_.Zn(a,"insert_at",this,this.qh);_.Zn(a,"remove_at",this,this.sh);_.Zn(a,"set_at",this,this.uh)}rh(a){a.Qz=t_a(a.mj,a.zoom);a.Qz!=null&&(a.id=a.Qz+(a.lO||""),this.ai.forEach(b=>{D_a(this,b,a)}))}th(a){F_a(this,a);a.data.forEach(b=>{z_a(b.yj,a,b)})}qh(a){G_a(this,this.ai.getAt(a))}sh(a,b){this.Xl(b)}uh(a,b){this.Xl(b);G_a(this,this.ai.getAt(a))}Xl(a){this.tiles.forEach(b=>
|
|
{E_a(this,b,a.toString())});a.data.forEach(b=>{b.tiles&&b.tiles.forEach(c=>{z_a(a,c,b)})})}};var U_a=class extends _.io{constructor(a=!1){super();this.At=a}};_.a0a=class{constructor(a,b,c){this.layerId=a;this.featureId=b;this.parameters=c??{}}toString(){return`${this.layerId}|${this.featureId}`}};var K_a=class{constructor(a){this.nh=a;this.tiles=this.yj=null}get(a,b,c){return this.nh.get(a,b,c)}pw(){return this.nh.pw()}On(){return this.nh.On()}};var I_a=class{constructor(a,b){this.nh=a;this.ph=new L0a;this.qh=new M0a;this.oh=b}pw(){return this.nh}get(a,b,c){c=c||[];var d=this.nh,e=this.ph,f=this.qh;f.x=a;f.y=b;for(let g=0,h=d.length;g<h;++g){a=d[g];b=a.a;let k=a.bb;if(b&&k)for(let m=0,p=k.length/4;m<p;++m){let q=m*4;e.minX=b[0]+k[q];e.minY=b[1]+k[q+1];e.maxX=b[0]+k[q+2]+1;e.maxY=b[1]+k[q+3]+1;if(e.containsPoint(f)){c.push(a);break}}}return c}On(){return this.oh}},M0a=class{constructor(){this.y=this.x=0}},L0a=class{constructor(){this.minY=
|
|
this.minX=Infinity;this.maxY=this.maxX=-Infinity}containsPoint(a){return this.minX<=a.x&&a.x<this.maxX&&this.minY<=a.y&&a.y<this.maxY}};var J_a=class{constructor(a,b){this.oh=a;this.nh=b}pw(){return this.oh}get(a,b,c){c=c||[];for(let d=0,e=this.nh.length;d<e;d++)this.nh[d].get(a,b,c);return c}On(){var a=null;for(let b of this.nh){let c=b.On();if(a)c&&_.Ii(a,c);else if(c){a={};for(let d in c)a[d]=c[d]}}return a}};_.z=QS.prototype;_.z.Ck=0;_.z.Qs=0;_.z.Rp={};_.z.pw=function(){return this.nh};_.z.get=function(a,b,c){c=c||[];a=Math.round(a);b=Math.round(b);if(a<0||a>=this.rh||b<0||b>=this.ph)return c;var d=b==this.ph-1?this.oh.length:SS(this,5+(b+1)*3);this.Ck=SS(this,5+b*3);this.Qs=0;for(this[8]();this.Qs<=a&&this.Ck<d;)this[RS(this,this.Ck++)]();for(let e in this.Rp)c.push(this.nh[this.Rp[e]]);return c};_.z.On=function(){return this.qh};QS.prototype[1]=function(){++this.Qs};
|
|
QS.prototype[2]=function(){this.Qs+=RS(this,this.Ck);++this.Ck};QS.prototype[3]=function(){this.Qs+=PS(this,this.Ck);this.Ck+=2};QS.prototype[5]=function(){var a=RS(this,this.Ck);this.Rp[a]=a;++this.Ck};QS.prototype[6]=function(){var a=PS(this,this.Ck);this.Rp[a]=a;this.Ck+=2};QS.prototype[7]=function(){var a=SS(this,this.Ck);this.Rp[a]=a;this.Ck+=3};QS.prototype[8]=function(){for(let a in this.Rp)delete this.Rp[a]};QS.prototype[9]=function(){delete this.Rp[RS(this,this.Ck)];++this.Ck};
|
|
QS.prototype[10]=function(){delete this.Rp[PS(this,this.Ck)];this.Ck+=2};QS.prototype[11]=function(){delete this.Rp[SS(this,this.Ck)];this.Ck+=3};var H_a={t:0,u:1,v:2,w:3};var V_a=class{constructor(a,b){this.ai=a;this.nh=b}};var N0a=[new _.Po(-5,0),new _.Po(0,-5),new _.Po(5,0),new _.Po(0,5),new _.Po(-5,-5),new _.Po(-5,5),new _.Po(5,-5),new _.Po(5,5),new _.Po(-10,0),new _.Po(0,-10),new _.Po(10,0),new _.Po(0,10)],W_a=class{constructor(a,b,c,d,e,f){this.ai=a;this.rh=c;this.ph=d;this.zIndex=20;this.nh=this.oh=null;this.qh=new _.qN(b.elements,f,e)}Yt(a){return a!=="dragstart"&&a!=="drag"&&a!=="dragend"}gu(a,b){return(b?N0a:[new _.Po(0,0)]).some(function(c){c=_.JM(this.qh,a.Hj,c);if(!c)return!1;var d=c.Lo.mi,e=new _.Po(c.Fu.ci*
|
|
256,c.Fu.di*256),f=new _.Po(c.Lo.ci*256,c.Lo.di*256),g=N_a(c.Yl.data,e),h=!1;this.ai.forEach(k=>{g[k.hp()]&&(h=!0)});if(!h)return!1;c=M_a(this.rh,g,f,e,d);if(!c)return!1;this.oh=c;return!0},this)?this.oh.feature:null}handleEvent(a,b){if(a==="click"||a==="dblclick"||a==="rightclick"||a==="mouseover"||this.nh&&a==="mousemove"){var c=this.oh;if(a==="mouseover"||a==="mousemove")this.ph.set("cursor","pointer"),this.nh=c}else if(a==="mouseout")c=this.nh,this.ph.set("cursor",""),this.nh=null;else return;
|
|
a==="click"?_.eo(this,a,c,b):_.eo(this,a,c)}};var Z_a=class{constructor(a){this.ai=a;this.nh={};_.Pn(a,"insert_at",this.insertAt.bind(this));_.Pn(a,"remove_at",this.removeAt.bind(this));_.Pn(a,"set_at",this.setAt.bind(this))}insertAt(a){a=this.ai.getAt(a);var b=a.hp();this.nh[b]||(this.nh[b]=[]);this.nh[b].push(a)}removeAt(a,b){a=b.hp();this.nh[a]&&_.Im(this.nh[a],b)}setAt(a,b){this.removeAt(a,b);this.insertAt(a)}};var T_a=class extends _.kr{constructor(a,b,c,d,e,f,g=_.eC){super();this.maxZoom=25;var h=$Za(c,m=>!(!m||!m.secure)),k=new _.bC;_.Jy(k,b.nh.oh(),b.nh.qh());_.Ob(c,m=>{m&&k.Fj(m)});this.oh=new O0a(a,new _.fC(_.Ry(b,!!h),null,!1,_.Sy,null,{ao:k.request,Ip:f},d?e||0:void 0),g)}nh(){return this.oh}},O0a=class{constructor(a,b,c){this.tiles=a;this.Ny=b;this.ti=c;this.Ym=1}Ol(a,b){var c=this.tiles,d={mj:new _.Po(a.ci,a.di),zoom:a.mi,data:new _.hr,lO:_.La(this)};a=this.Ny.Ol(a,{nk:()=>{c.remove(d);b?.nk?.()}});
|
|
d.div=a.ak();_.rq(c,d);return a}};var S_a=class{constructor(a,b){this.oh=a;this.nh=b}cancel(){}load(a,b){var c=new _.bC;_.Jy(c,_.xl.oh().oh(),_.xl.oh().qh());_.Cla(c,3);for(var d of a.ai)if(d.mapTypeId&&d.nh){var e=d.mapTypeId,f=d.nh;var g=_.cw();g=_.lg(g,16);_.Ela(c,e,f,g)}for(var h of a.ai)h.mapTypeId&&_.$Da(h.mapTypeId)||c.Fj(h);e=this.nh();f=_.Cm(e.deg);d=e.BH==="o"?_.Vy(f):_.Vy();for(let k of a.tiles)(h=d({ci:k.mj.x,di:k.mj.y,mi:k.zoom}))&&_.Dla(c,h);if(e.NO)for(let k of a.ai)k.roadmapStyler&&_.Ny(c,k.roadmapStyler);for(let k of e.style||
|
|
[])_.Ny(c,k);e.rF&&_.qy(e.rF,_.Ay(_.Hy(c.request)));e.BH==="o"&&(_.Dg(c.request,13,f),_.Bg(c.request,14,!0));e.Sq&&_.Hla(c,e.Sq);a=`pb=${_.Bla(_.Iw(c.request,(0,_.aC)()))}`;e.Ip!=null&&(a+=`&authuser=${e.Ip}`);this.oh(a,b);return""}};var R_a=class{constructor(a){this.ph=a;this.nh=null;this.oh=0}load(a,b){this.nh||(this.nh={},_.bJ(this.qh.bind(this)));var c=a.tiles[0];c=`${c.zoom},${c.pov}|${a.ai.join(";")}`;this.nh[c]||(this.nh[c]=[]);this.nh[c].push({Ux:a,Di:b});return`${++this.oh}`}cancel(){}qh(){var a=this.nh;if(a){for(let b of Object.getOwnPropertyNames(a)){let c=a[b];c&&Q_a(this,c)}this.nh=null}}};var q0a=class extends _.UB{constructor(a,b,c){super(a,b);this.features=c}};var w0a=class extends _.UB{constructor(a,b,c){super(a,b);this.placeId=c||null}};_.Sa(WS,_.vL);WS.prototype.fill=function(a,b){_.tL(this,0,a);_.tL(this,1,b)};var VS="t-Wtla7339NDI";var x0a=class extends _.M{constructor(a){super(a)}};var j0a=_.RI(_.tJa);var P0a=class{constructor(a,b,c){this.map=a;this.oh=b;this.rh=c;this.ph=this.anchorOffset=this.nh=this.infoWindow=null;this.sh=E0a;this.layout=new _.gN(WS,{ls:_.vC.Nj()});this.qh=new _.gN(JS,{ls:_.vC.Nj()});n0a(this);ZS(this,"rightclick","smnoplacerightclick");ZS(this,"mouseover","smnoplacemouseover");ZS(this,"mouseout","smnoplacemouseout");r0a(this)}};var Q0a=class{constructor(a,b,c){function d(){v.ui()}this.map=a;this.oh=b;this.ai=c;this.nh=null;var e=new _.hr,f=new _.Npa(e),g=a.__gm,h=new U_a;h.bindTo("authUser",g);h.bindTo("tilt",g);h.bindTo("heading",a);h.bindTo("style",g);h.bindTo("apistyle",g);h.bindTo("mapTypeId",a);_.mma(h,"mapIdPaintOptions",g.Sq);var k=_.Qy();k=DS(k,g.nh);var m=!(new _.Ow(k[0])).nh;h=TS(k,h,m,ES(k));var p=null,q=new _.hC(f,p||void 0),u=_.$o(q),v=new _.oq(this.ph,0,this);d();_.Pn(a,"clickableicons_changed",d);_.Pn(g,"apistyle_changed",
|
|
d);_.Pn(g,"authuser_changed",d);_.Pn(g,"basemaptype_changed",d);_.Pn(g,"style_changed",d);g.xl.addListener(d);b.zj().addListener(d);B_a(this.map,"smartmaps",c,e,h,null,(y,F)=>{y=c.getAt(c.getLength()-1);if(F===y)for(;c.getLength()>1;)c.removeAt(0)});var x=new V_a(c,!1);a.__gm.oh.then(y=>{var F=new W_a(c,e,x,g,u,y.Nh.Ak);F.zIndex=0;a.__gm.th.register(F);this.nh=new P0a(a,F,G0a);_.iw(y.vu,I=>{I&&!I.ti.equals(p)&&(p=I.ti,q=new _.hC(f,p),u.set(q),d())})});_.KM(a,u,"mapPane",0)}ph(){var a=new _.gz,b=this.ai,
|
|
c=this.map.__gm,d=c.get("baseMapType"),e=d&&d.nv;if(e&&this.map.getClickableIcons()!==!1){var f=c.get("zoom");if(f=this.oh.QB(f?Math.round(f):f)){a.layerId=e.replace(/([mhr]@)\d+/,`$1${f}`);a.mapTypeId=d.mapTypeId;a.nh=f;var g=a.oh=a.oh||[];c.xl.get().forEach(h=>{g.push(h)});d=c.get("apistyle")||"";f=c.get("style")||[];e=_.Ur;f=f.map(F0a).join(",");c=c.get("authUser");a.parameters.salt=e(`${d}+${f}${c}`);c=b.getAt(b.getLength()-1);if(!c||c.toString()!==a.toString()){c&&(c.freeze=!0);c=b.getLength();
|
|
for(d=0;d<c;++d)if(e=b.getAt(d),e.toString()===a.toString()){b.removeAt(d);e.freeze=!1;a=e;break}b.push(a)}}}else b.clear(),this.nh&&s0a(this.nh),this.map.getClickableIcons()===!1&&_.P(this.map,148283)}};var R0a=class{YL(a,b){new Q0a(a,b,a.__gm.Lh)}XJ(a,b){new P0a(a,b,null)}};_.bm("onion",new R0a);});
|