google.maps.__gjsload__('geometry', function(_){var qr=function(a,b){return Math.abs(_.wb(b-a,-180,180))},rr=function(a,b,c,d,e){if(!d){c=qr(a.lng(),c)/qr(a.lng(),b.lng());if(!e)return e=Math.sin(_.rb(a.lat())),e=Math.log((1+e)/(1-e))/2,b=Math.sin(_.rb(b.lat())),_.sb(2*Math.atan(Math.exp(e+c*(Math.log((1+b)/(1-b))/2-e)))-Math.PI/2);a=e.fromLatLngToPoint(a);b=e.fromLatLngToPoint(b);return e.fromPointToLatLng(new _.H(a.x+c*(b.x-a.x),a.y+c*(b.y-a.y))).lat()}e=_.rb(a.lat());a=_.rb(a.lng());d=_.rb(b.lat());b=_.rb(b.lng());c=_.rb(c);return _.wb(_.sb(Math.atan2(Math.sin(e)*
Math.cos(d)*Math.sin(c-b)-Math.sin(d)*Math.cos(e)*Math.sin(c-a),Math.cos(e)*Math.cos(d)*Math.sin(a-b))),-90,90)},sr=_.l(),tr={containsLocation:function(a,b){var c=_.wb(a.lng(),-180,180),d=!!b.get("geodesic"),e=b.get("latLngs"),f=b.get("map");f=!d&&f?f.getProjection():null;for(var g=!1,h=0,k=e.getLength();h<k;++h)for(var n=e.getAt(h),p=0,r=n.getLength();p<r;++p){var t=n.getAt(p),v=n.getAt((p+1)%r),x=_.wb(t.lng(),-180,180),w=_.wb(v.lng(),-180,180),y=Math.max(x,w);x=Math.min(x,w);(180<y-x?c>=y||c<x:
c<y&&c>=x)&&rr(t,v,c,d,f)<a.lat()&&(g=!g)}return g||tr.isLocationOnEdge(a,b)},isLocationOnEdge:function(a,b,c){c=c||1E-9;var d=_.wb(a.lng(),-180,180),e=b instanceof _.hg,f=!!b.get("geodesic"),g=b.get("latLngs");b=b.get("map");b=!f&&b?b.getProjection():null;for(var h=0,k=g.getLength();h<k;++h)for(var n=g.getAt(h),p=n.getLength(),r=e?p:p-1,t=0;t<r;++t){var v=n.getAt(t),x=n.getAt((t+1)%p),w=_.wb(v.lng(),-180,180),y=_.wb(x.lng(),-180,180),B=Math.max(w,y),D=Math.min(w,y);if(w=1E-9>=Math.abs(_.wb(w-y,-180,
180))&&(Math.abs(_.wb(w-d,-180,180))<=c||Math.abs(_.wb(y-d,-180,180))<=c)){w=a.lat();y=Math.min(v.lat(),x.lat())-c;var I=Math.max(v.lat(),x.lat())+c;w=w>=y&&w<=I}if(w)return!0;if(180<B-D?d+c>=B||d-c<=D:d+c>=D&&d-c<=B)if(v=rr(v,x,d,f,b),Math.abs(v-a.lat())<c)return!0}return!1}};var ur={computeHeading:function(a,b){var c=_.nc(a),d=_.oc(a);a=_.nc(b);b=_.oc(b)-d;return _.wb(_.sb(Math.atan2(Math.sin(b)*Math.cos(a),Math.cos(c)*Math.sin(a)-Math.sin(c)*Math.cos(a)*Math.cos(b))),-180,180)},computeOffset:function(a,b,c,d){b/=d||6378137;c=_.rb(c);var e=_.nc(a);a=_.oc(a);d=Math.cos(b);b=Math.sin(b);var f=Math.sin(e);e=Math.cos(e);var g=d*f+b*e*Math.cos(c);return new _.K(_.sb(Math.asin(g)),_.sb(a+Math.atan2(b*e*Math.sin(c),d-f*g)))},computeOffsetOrigin:function(a,b,c,d){c=_.rb(c);b/=
d||6378137;d=Math.cos(b);var e=Math.sin(b)*Math.cos(c);b=Math.sin(b)*Math.sin(c);c=Math.sin(_.nc(a));var f=e*e*d*d+d*d*d*d-d*d*c*c;if(0>f)return null;var g=e*c+Math.sqrt(f);g/=d*d+e*e;var h=(c-e*g)/d;g=Math.atan2(h,g);if(g<-Math.PI/2||g>Math.PI/2)g=e*c-Math.sqrt(f),g=Math.atan2(h,g/(d*d+e*e));if(g<-Math.PI/2||g>Math.PI/2)return null;a=_.oc(a)-Math.atan2(b,d*Math.cos(g)-e*Math.sin(g));return new _.K(_.sb(g),_.sb(a))},interpolate:function(a,b,c){var d=_.nc(a),e=_.oc(a),f=_.nc(b),g=_.oc(b),h=Math.cos(d),
k=Math.cos(f);b=ur.zf(a,b);var n=Math.sin(b);if(1E-6>n)return new _.K(a.lat(),a.lng());a=Math.sin((1-c)*b)/n;c=Math.sin(c*b)/n;b=a*h*Math.cos(e)+c*k*Math.cos(g);e=a*h*Math.sin(e)+c*k*Math.sin(g);return new _.K(_.sb(Math.atan2(a*Math.sin(d)+c*Math.sin(f),Math.sqrt(b*b+e*e))),_.sb(Math.atan2(e,b)))},zf:function(a,b){var c=_.nc(a);a=_.oc(a);var d=_.nc(b);b=_.oc(b);return 2*Math.asin(Math.sqrt(Math.pow(Math.sin((c-d)/2),2)+Math.cos(c)*Math.cos(d)*Math.pow(Math.sin((a-b)/2),2)))},computeDistanceBetween:function(a,
b,c){c=c||6378137;return ur.zf(a,b)*c},computeLength:function(a,b){b=b||6378137;var c=0;a instanceof _.Yc&&(a=a.getArray());for(var d=0,e=a.length-1;d<e;++d)c+=ur.computeDistanceBetween(a[d],a[d+1],b);return c},computeArea:function(a,b){return Math.abs(ur.computeSignedArea(a,b))},computeSignedArea:function(a,b){b=b||6378137;a instanceof _.Yc&&(a=a.getArray());for(var c=a[0],d=0,e=1,f=a.length-1;e<f;++e)d+=ur.Ok(c,a[e],a[e+1]);return d*b*b},Ok:function(a,b,c){return ur.Pk(a,b,c)*ur.Kl(a,b,c)},Pk:function(a,
b,c){var d=[a,b,c,a];a=[];for(c=b=0;3>c;++c)a[c]=ur.zf(d[c],d[c+1]),b+=a[c];b/=2;d=Math.tan(b/2);for(c=0;3>c;++c)d*=Math.tan((b-a[c])/2);return 4*Math.atan(Math.sqrt(Math.abs(d)))},Kl:function(a,b,c){a=[a,b,c];b=[];for(c=0;3>c;++c){var d=a[c],e=_.nc(d);d=_.oc(d);var f=b[c]=[];f[0]=Math.cos(e)*Math.cos(d);f[1]=Math.cos(e)*Math.sin(d);f[2]=Math.sin(e)}return 0<b[0][0]*b[1][1]*b[2][2]+b[1][0]*b[2][1]*b[0][2]+b[2][0]*b[0][1]*b[1][2]-b[0][0]*b[2][1]*b[1][2]-b[1][0]*b[0][1]*b[2][2]-b[2][0]*b[1][1]*b[0][2]?
1:-1}};var vr={decodePath:function(a){for(var b=_.E(a),c=Array(Math.floor(a.length/2)),d=0,e=0,f=0,g=0;d<b;++g){var h=1,k=0;do{var n=a.charCodeAt(d++)-63-1;h+=n<<k;k+=5}while(31<=n);e+=h&1?~(h>>1):h>>1;h=1;k=0;do n=a.charCodeAt(d++)-63-1,h+=n<<k,k+=5;while(31<=n);f+=h&1?~(h>>1):h>>1;c[g]=new _.K(1E-5*e,1E-5*f,!0)}c.length=g;return c},encodePath:function(a){a instanceof _.Yc&&(a=a.getArray());return vr.Um(a,function(a){return[Math.round(1E5*a.lat()),Math.round(1E5*a.lng())]})},Um:function(a,b){for(var c=
[],d=[0,0],e,f=0,g=_.E(a);f<g;++f)e=b?b(a[f]):a[f],vr.oi(e[0]-d[0],c),vr.oi(e[1]-d[1],c),d=e;return c.join("")},oi:function(a,b){return vr.Vm(0>a?~(a<<1):a<<1,b)},Vm:function(a,b){for(;32<=a;)b.push(String.fromCharCode((32|a&31)+63)),a>>=5;b.push(String.fromCharCode(a+63));return b}};_.C.google.maps.geometry={encoding:vr,spherical:ur,poly:tr};_.m=sr.prototype;_.m.decodePath=vr.decodePath;_.m.encodePath=vr.encodePath;_.m.computeDistanceBetween=ur.computeDistanceBetween;_.m.interpolate=ur.interpolate;_.m.computeHeading=ur.computeHeading;_.m.computeOffset=ur.computeOffset;_.m.computeOffsetOrigin=ur.computeOffsetOrigin;_.Qd("geometry",new sr);});
