google.maps.__gjsload__('geometry', function(_){var oqa=function(a,b){return Math.abs(_.ym(b-a,-180,180))},pqa=function(a,b,c,d,e){if(!d){c=oqa(a.lng(),c)/oqa(a.lng(),b.lng());if(!e)return e=Math.sin(_.Fl(a.lat())),e=Math.log((1+e)/(1-e))/2,b=Math.sin(_.Fl(b.lat())),_.Gl(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 _.Qo(a.x+c*(b.x-a.x),a.y+c*(b.y-a.y))).lat()}e=_.Fl(a.lat());a=_.Fl(a.lng());d=_.Fl(b.lat());b=_.Fl(b.lng());c=_.Fl(c);return _.ym(_.Gl(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)},qqa=function(a,b){a=new _.tn(a,!1);b=new _.tn(b,!1);return a.equals(b)},rqa=function(a,b,c){a=_.zn(a);c=c||1E-9;var d=_.ym(a.lng(),-180,180),e=b instanceof _.pu,f=!!b.get("geodesic"),g=b.get("latLngs");b=b.get("map");b=!f&&b?b.getProjection():null;for(let q=0,u=g.getLength();q=m&&k<=p}if(k)return!0;if(O-L>180?d+c>=O||d-c<=L:d+c>=L&&d-c<=O)if(h=pqa(h,I,d,f,b),Math.abs(h-a.lat())180?c>=F||c=h)&&pqa(v,x,c,d,f)Math.PI*b)throw _.Wm("Invalid path passed to computeArea(): Circle must not cover more than 100% of the sphere.");return 2*Math.PI*b**2*(1-Math.cos(a.getRadius()/b))}if(a instanceof _.Do){if(b<0)throw _.Wm("Invalid radiusOfSphere passed to computeArea(): radiusOfSphere must be non-negative.");if(a.ij.lo>a.ij.hi)throw _.Wm("Invalid path passed to computeArea(): the southern LatLng of a LatLngBounds cannot be more north than the northern LatLng.");let c=2*Math.PI*b**2*(1-Math.cos((a.ij.lo- 90)*Math.PI/180));c-=2*Math.PI*b**2*(1-Math.cos((a.ij.hi-90)*Math.PI/180));return c*Math.abs(a.Ai.hi-a.Ai.lo)/360}return Math.abs(wqa(a,b))};YC.computeLength=function(a,b){b=b||6378137;var c=0;a instanceof _.Bp&&(a=a.getArray());for(let d=0,e=a.length-1;dMath.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=_.wn(a)-Math.atan2(b,d*Math.cos(g)-e*Math.sin(g));return new _.tn(_.Gl(g),_.Gl(a))}; YC.computeOffset=function(a,b,c,d){a=_.zn(a);b/=d||6378137;c=_.Fl(c);var e=_.vn(a);a=_.wn(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 _.tn(_.Gl(Math.asin(g)),_.Gl(a+Math.atan2(b*e*Math.sin(c),d-f*g)))};YC.computeHeading=function(a,b){a=_.zn(a);b=_.zn(b);var c=_.vn(a),d=_.wn(a);a=_.vn(b);b=_.wn(b)-d;return _.ym(_.Gl(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)};var yqa={encoding:_.Ou,spherical:YC,poly:XC};_.ya.google.maps.geometry=yqa;_.bm("geometry",yqa);});