{"size": 8265, "ext": "js", "max_stars_repo_path": "Harrow Women's Centre_files/infowindow.js", "max_stars_repo_name": "Linducya/harrow-womens-centre", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "Harrow Women's Centre_files/infowindow.js", "max_issues_repo_name": "Linducya/harrow-womens-centre", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "Harrow Women's Centre_files/infowindow.js", "max_forks_repo_name": "Linducya/harrow-womens-centre", "max_forks_repo_forks_event_min_datetime": "2019-01-10T09:53:30.000Z", "max_forks_repo_forks_event_max_datetime": "2019-01-18T09:37:19.000Z"}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": 4, "avg_line_length": 551.0, "max_line_length": 1275, "alphanum_fraction": 0.6702964307}
google.maps.__gjsload__('infowindow', function(_){var aQ=function(){this.j=new _.bw},bQ=function(a,b){if(1==a.j.ob()){var c=a.j.Ua()[0];c.l!=b.l&&(c.set("map",null),a.j.remove(c))}a.j.add(b)},dQ=function(){this.ra=_.X("div");this.A=_.X("div",this.ra);cQ(this.A,"rgba(0,0,0,0.1)",!1);this.j=_.X("div",this.ra,_.ti);this.j.style.backgroundColor="rgba(0,0,0,0.2)";_.ew(this.j,_.W(2));_.dw(this.j,"0 1px 4px -1px rgba(0,0,0,0.3)");this.m=_.X("div",this.ra);cQ(this.m,"#fff",!0);this.l=_.X("div",this.ra,new _.N(1,1));_.ew(this.l,_.W(2));this.l.style.backgroundColor=
"#fff"},cQ=function(a,b,c){if(c){c=_.zi.j;var d=_.X("div",a);a=_.X("div",a);var e=_.X("div",d),f=_.X("div",a);e.style.position=d.style.position=f.style.position=a.style.position="absolute";d.style.overflow=a.style.overflow="hidden";e.style.left=f.style.left=a.style.top="0";d.style.left=_.W(-6);d.style.top=a.style.top=_.W(-1);e.style.left=_.W(6);a.style.left=_.W(10);d.style.width=a.style.width=_.W(16);d.style.height=a.style.height=_.W(30);e.style.backgroundColor=f.style.backgroundColor=b;c&&(e.style[c]=
"skewX(22.6deg)",f.style[c]="skewX(-22.6deg)",e.style[c+"Origin"]="0 0",f.style[c+"Origin"]=_.W(10)+" 0");e.style.height=f.style.height=_.W(24);e.style.width=f.style.width=_.W(10);e.style.boxShadow=f.style.boxShadow="rgba(0,0,0,0.6) 0px 1px "+_.W(6)}else _.pe(a,_.ui),a.style.borderLeft=a.style.borderRight="0 solid transparent",a.style.borderTop="0 solid "+b,a.style.borderLeftWidth=a.style.borderRightWidth=_.W(10)},fQ=function(a,b){return new eQ(a,b)},eQ=function(a,b){var c=a.offsetWidth,d=a.offsetHeight;
this.j=window.setInterval(function(){var e=a.offsetWidth,f=a.offsetHeight;if(e!=c||f!=d)b(new _.O(e,f)),c=e,d=f},100)},iQ=function(a,b){var c=this;this.A=null;this.I=new dQ;var d=this.l=_.X("div");_.Bv(d,"default");d.style.position="absolute";d.style.left=d.style.top="0";a.floatPane.appendChild(this.l);a=this.I.Da();_.Kk(a,_.ti);this.l.appendChild(a);this.j=_.X("div",d);this.j.style.top=_.W(9);this.j.style.position="absolute";b?this.j.style.right=_.W(15):this.j.style.left=_.W(15);this.m=_.X("div",
this.j);this.m.style.display="inline-block";this.m.style.overflow="auto";_.GB();_.lk(this.j,"gm-style-iw");gQ(this,!1);_.R.addDomListener(d,"mousedown",_.wd);_.R.addDomListener(d,"mouseup",_.wd);_.R.addDomListener(d,"mousemove",_.wd);_.R.addDomListener(d,"pointerdown",_.wd);_.R.addDomListener(d,"pointerup",_.wd);_.R.addDomListener(d,"pointermove",_.wd);_.R.addDomListener(d,"dblclick",_.wd);_.R.addDomListener(d,"click",_.wd);_.R.addDomListener(d,"touchstart",_.wd);_.R.addDomListener(d,"touchend",_.wd);
_.R.addDomListener(d,"touchmove",_.wd);_.R.na(d,"contextmenu",this,this.Fl);_.R.na(d,"wheel",this,_.wd);_.R.na(d,"mousewheel",this,_.sd);_.R.na(d,"MozMousePixelScroll",this,_.sd);_.LB(this.l,function(a){_.wd(a);_.R.trigger(c,"closeclick");c.set("open",!1)},{padding:hQ});this.B=null;this.G=!1;this.D=new _.gg(function(){!c.G&&c.get("content")&&c.get("visible")&&(_.R.trigger(c,"domready"),c.G=!0)},0);this.C=null},kQ=function(a){var b=!!a.get("open");gQ(a,b&&a.get("position"));var c=a.get("content");
b=b?c:null;b!=a.B&&(b&&(a.G=!1,a.m.appendChild(c)),a.B&&(c=a.B.parentNode,c==a.m&&c.removeChild(a.B)),a.B=b,jQ(a))},lQ=function(a){var b=a.get("pixelOffset")||new _.O(0,0),c=a.A||new _.O(0,0);a=-b.height+c.height+24+50;var d=b.height+50,e=-b.width+c.width/2+50;c=b.width+c.width/2+50;0>b.height&&(d-=b.height);return{top:a,bottom:d,left:e,right:c}},gQ=function(a,b){a.l.style.visibility=b?"":"hidden";a.j.style.overflow=b?"":"hidden";b||_.pe(a.j,_.ui)},mQ=function(a){var b=a.get("layoutPixelBounds"),
c=a.get("maxWidth"),d=a.get("pixelOffset");if(!d)return null;b?(a=b.Z-b.V,a-=53,b=b.$-b.X-(24+-d.height),b-=18,200<=a&&(a-=100),200<=b&&(b-=100)):b=a=654;a=Math.min(a,654);null!=c&&(a=Math.min(a,c));a=Math.max(0,a);b=Math.max(0,b);return new _.O(a,b)},jQ=function(a){a.C&&(a.C.xj.cancel(),a.C.Ij.cancel(),a.C=null);var b=mQ(a);if(b){a.m.style.maxHeight=_.W(Math.max(0,b.height));a.m.style.maxWidth=_.W(b.width);a.j.style.width=_.W(b.width);var c=30+Math.min(b.width,a.m.offsetWidth)+23;a.j.style.width=
_.W(c-30);a.j.style.height="";a.A=new _.O(c,18+Math.min(b.height,a.j.offsetHeight));a.I.setSize(a.A);_.pe(a.l,a.A);nQ(a);a.D.start();a.C={Ij:fQ(a.m,function(){return jQ(a)}),xj:fQ(a.j,function(){return jQ(a)})}}},nQ=function(a){var b=a.get("position");if(b&&a.get("pixelOffset")&&a.A){var c=lQ(a),d=b.x-c.left,e=b.y-c.top,f=b.x+c.right;b=b.y+c.bottom;_.Kk(a.l,new _.N(d+50,e+50));c=a.get("zIndex");_.Lk(a.l,_.L(c)?c:e+50);a.set("pixelBounds",_.ed(d,e,f,b))}},oQ=function(a){a=a.__gm.get("panes");return new iQ(a,
_.xr.j)},pQ=function(a,b,c){var d=this;this.C=!0;this.ba=this.B=this.A=null;var e=b.__gm,f=b instanceof _.ee;f&&c?c.then(function(c){d.C&&(d.A=c,d.ba=new _.EB(function(a){d.B=new _.rm(b,c,a,_.l());c.qa(d.B);return d.B}),d.ba.bindTo("latLngPosition",a,"position"),h.bindTo("position",d.ba,"pixelPosition"))}):(this.ba=new _.EB,this.ba.bindTo("latLngPosition",a,"position"),this.ba.bindTo("center",e,"projectionCenterQ"),this.ba.bindTo("zoom",e),this.ba.bindTo("offset",e),this.ba.bindTo("projection",b),
this.ba.bindTo("focus",b,"position"));this.j=f?a.j.get("logAsInternal")?"Ia":"Id":null;this.m=[];var g=new _.sw(["scale"],"visible",function(a){return null==a||.3<=a});this.ba&&g.bindTo("scale",this.ba);var h=this.D=oQ(b);h.set("logAsInternal",!!a.j.get("logAsInternal"));h.bindTo("zIndex",a);h.bindTo("layoutPixelBounds",e,"pixelBounds");h.bindTo("maxWidth",a);h.bindTo("content",a);h.bindTo("pixelOffset",a);h.bindTo("visible",g);this.ba&&h.bindTo("position",this.ba,"pixelPosition");this.l=new _.gg(function(){if(b instanceof
_.ee)if(d.A){var f=a.get("position");f&&_.Hq(b,d.A,new _.Q(f),lQ(h))}else c.then(function(){return d.l.start()});else(f=h.get("pixelBounds"))?_.R.trigger(e,"pantobounds",f):d.l.start()},150);if(f){var k=null;this.m.push(_.R.ka(a,"position_changed",function(){var b=a.get("position");!b||a.get("disableAutoPan")||b.equals(k)||(d.l.start(),k=b)}))}else a.get("disableAutoPan")||this.l.start();h.set("open",!0);this.m.push(_.R.addListener(h,"domready",function(){a.trigger("domready")}));this.m.push(_.R.addListener(h,
"closeclick",function(){a.close();a.trigger("closeclick");d.j&&_.cn(d.j,"-i",d)}));if(this.j){var m=this.j;_.an(b,this.j);_.cn(m,"-p",this);f=function(){var c=a.get("position"),e=b.getBounds();c&&e&&e.contains(c)?_.cn(m,"-v",d):_.dn(m,"-v",d)};this.m.push(_.R.addListener(b,"idle",f));f()}},qQ=function(a,b,c){return b instanceof _.ee?new pQ(a,b,c):new pQ(a,b)},rQ=function(a){a=a.__gm;return a.IW_AUTO_CLOSER=a.IW_AUTO_CLOSER||new aQ};dQ.prototype.Da=_.pa("ra");dQ.prototype.setSize=function(a){var b=a.width,c=a.height;_.pe(this.j,a);_.pe(this.l,new _.O(b-2,c-2));this.A.style.borderTopWidth=this.m.style.borderTopWidth=_.W(24);a=Math.round(b/2)-10;_.Kk(this.A,new _.N(a,c));_.Kk(this.m,new _.N(a,c-3))};eQ.prototype.cancel=function(){window.clearInterval(this.j)};_.dj(iQ,_.S);_.n=iQ.prototype;_.n.open_changed=function(){kQ(this)};_.n.content_changed=function(){kQ(this)};_.n.dispose=function(){this.l.parentNode.removeChild(this.l);this.D.stop();this.D.dispose()};_.n.pixelOffset_changed=function(){jQ(this)};_.n.layoutPixelBounds_changed=_.l();_.n.position_changed=function(){this.get("position")?(nQ(this),gQ(this,!!this.get("open"))):gQ(this,!1)};_.n.zIndex_changed=function(){nQ(this)};_.n.visible_changed=function(){_.xv(this.l,this.get("visible"));this.D.start()};
_.n.Fl=function(a){for(var b=!1,c=this.get("content"),d=a.target;!b&&d;)b=d==c,d=d.parentNode;b?_.sd(a):_.vd(a)};var hQ=Object.freeze(new _.N(12,10));pQ.prototype.close=function(){if(this.C){this.C=!1;this.j&&(_.dn(this.j,"-p",this),_.dn(this.j,"-v",this));for(var a=_.ua(this.m),b=a.next();!b.done;b=a.next())_.R.removeListener(b.value);this.m.length=0;this.l.stop();this.l.dispose();this.A&&this.B&&this.A.Wc(this.B);a=this.D;a.unbindAll();a.set("open",!1);a.dispose();this.ba&&this.ba.unbindAll()}};_.Je("infowindow",{oj:function(a){var b=null;(0,_.R.ka)(a,"map_changed",function d(){var e=a.get("map");b&&(b.Pg.j.remove(a),b.Rl.close(),b=null);if(e){var f=e.__gm;f.get("panes")?(b={Rl:qQ(a,e,e instanceof _.ee?f.j.then(function(a){return a.pa}):void 0),Pg:rQ(e)},bQ(b.Pg,a)):_.R.addListenerOnce(f,"panes_changed",d)}})}});});
