diff --git a/app/Http/Controllers/Admin/Auth/DashboardController.php b/app/Http/Controllers/Admin/Auth/DashboardController.php index 0b754d0..270b6db 100644 --- a/app/Http/Controllers/Admin/Auth/DashboardController.php +++ b/app/Http/Controllers/Admin/Auth/DashboardController.php @@ -28,14 +28,21 @@ class DashboardController extends Controller ->orderBy('date') ->get(); + $flightViews=Flight::query() + ->selectRaw('DATE(created_at) as date,SUM(views) as total') + ->where('created_at','>=',now()->subDays(9)) + ->groupBy('date') + ->orderBy('date') + ->get(); + $logs = ActivityLog::with('admin') ->latest() ->take(5) ->get(); return view('admin.dashboard',compact('adminsCount', - 'usersCount','toursCount','flightsCount','tourViews' - ,'logs' + 'usersCount','toursCount','flightsCount','tourViews', + 'flightViews','logs' )); } } diff --git a/app/Http/Requests/Admin/CityStoreRequest.php b/app/Http/Requests/Admin/CityStoreRequest.php new file mode 100644 index 0000000..316a022 --- /dev/null +++ b/app/Http/Requests/Admin/CityStoreRequest.php @@ -0,0 +1,29 @@ +|string> + */ + public function rules(): array + { + return [ + // + ]; + } +} diff --git a/app/Http/Requests/Admin/ProvinceStoreRequest.php b/app/Http/Requests/Admin/ProvinceStoreRequest.php new file mode 100644 index 0000000..b7c1d81 --- /dev/null +++ b/app/Http/Requests/Admin/ProvinceStoreRequest.php @@ -0,0 +1,29 @@ +|string> + */ + public function rules(): array + { + return [ + // + ]; + } +} diff --git a/app/Services/ExcelServices.php b/app/Services/ExcelServices.php deleted file mode 100644 index c92a05f..0000000 --- a/app/Services/ExcelServices.php +++ /dev/null @@ -1,8 +0,0 @@ -'سامانه آژانس هواپیمایی' +]; diff --git a/public/assets/js/chart.js b/public/assets/js/chart.js new file mode 100644 index 0000000..008464f --- /dev/null +++ b/public/assets/js/chart.js @@ -0,0 +1,14 @@ +/*! + * Chart.js v4.5.1 + * https://www.chartjs.org + * (c) 2025 Chart.js Contributors + * Released under the MIT License + */ +!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).Chart=e()}(this,(function(){"use strict";var t=Object.freeze({__proto__:null,get Colors(){return Jo},get Decimation(){return ta},get Filler(){return ba},get Legend(){return Ma},get SubTitle(){return Pa},get Title(){return ka},get Tooltip(){return Na}});function e(){}const i=(()=>{let t=0;return()=>t++})();function s(t){return null==t}function n(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);return"[object"===e.slice(0,7)&&"Array]"===e.slice(-6)}function o(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)}function a(t){return("number"==typeof t||t instanceof Number)&&isFinite(+t)}function r(t,e){return a(t)?t:e}function l(t,e){return void 0===t?e:t}const h=(t,e)=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100:+t/e,c=(t,e)=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100*e:+t;function d(t,e,i){if(t&&"function"==typeof t.call)return t.apply(i,e)}function u(t,e,i,s){let a,r,l;if(n(t))if(r=t.length,s)for(a=r-1;a>=0;a--)e.call(i,t[a],a);else for(a=0;at,x:t=>t.x,y:t=>t.y};function v(t){const e=t.split("."),i=[];let s="";for(const t of e)s+=t,s.endsWith("\\")?s=s.slice(0,-1)+".":(i.push(s),s="");return i}function M(t,e){const i=y[e]||(y[e]=function(t){const e=v(t);return t=>{for(const i of e){if(""===i)break;t=t&&t[i]}return t}}(e));return i(t)}function w(t){return t.charAt(0).toUpperCase()+t.slice(1)}const k=t=>void 0!==t,S=t=>"function"==typeof t,P=(t,e)=>{if(t.size!==e.size)return!1;for(const i of t)if(!e.has(i))return!1;return!0};function D(t){return"mouseup"===t.type||"click"===t.type||"contextmenu"===t.type}const C=Math.PI,O=2*C,A=O+C,T=Number.POSITIVE_INFINITY,L=C/180,E=C/2,R=C/4,I=2*C/3,z=Math.log10,F=Math.sign;function V(t,e,i){return Math.abs(t-e)t-e)).pop(),e}function N(t){return!function(t){return"symbol"==typeof t||"object"==typeof t&&null!==t&&!(Symbol.toPrimitive in t||"toString"in t||"valueOf"in t)}(t)&&!isNaN(parseFloat(t))&&isFinite(t)}function H(t,e){const i=Math.round(t);return i-e<=t&&i+e>=t}function j(t,e,i){let s,n,o;for(s=0,n=t.length;sl&&h=Math.min(e,i)-s&&t<=Math.max(e,i)+s}function et(t,e,i){i=i||(i=>t[i]1;)s=o+n>>1,i(s)?o=s:n=s;return{lo:o,hi:n}}const it=(t,e,i,s)=>et(t,i,s?s=>{const n=t[s][e];return nt[s][e]et(t,i,(s=>t[s][e]>=i));function nt(t,e,i){let s=0,n=t.length;for(;ss&&t[n-1]>i;)n--;return s>0||n{const i="_onData"+w(e),s=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value(...e){const n=s.apply(this,e);return t._chartjs.listeners.forEach((t=>{"function"==typeof t[i]&&t[i](...e)})),n}})})))}function rt(t,e){const i=t._chartjs;if(!i)return;const s=i.listeners,n=s.indexOf(e);-1!==n&&s.splice(n,1),s.length>0||(ot.forEach((e=>{delete t[e]})),delete t._chartjs)}function lt(t){const e=new Set(t);return e.size===t.length?t:Array.from(e)}const ht="undefined"==typeof window?function(t){return t()}:window.requestAnimationFrame;function ct(t,e){let i=[],s=!1;return function(...n){i=n,s||(s=!0,ht.call(window,(()=>{s=!1,t.apply(e,i)})))}}function dt(t,e){let i;return function(...s){return e?(clearTimeout(i),i=setTimeout(t,e,s)):t.apply(this,s),e}}const ut=t=>"start"===t?"left":"end"===t?"right":"center",ft=(t,e,i)=>"start"===t?e:"end"===t?i:(e+i)/2,gt=(t,e,i,s)=>t===(s?"left":"right")?i:"center"===t?(e+i)/2:e;function pt(t,e,i){const n=e.length;let o=0,a=n;if(t._sorted){const{iScale:r,vScale:l,_parsed:h}=t,c=t.dataset&&t.dataset.options?t.dataset.options.spanGaps:null,d=r.axis,{min:u,max:f,minDefined:g,maxDefined:p}=r.getUserBounds();if(g){if(o=Math.min(it(h,d,u).lo,i?n:it(e,d,r.getPixelForValue(u)).lo),c){const t=h.slice(0,o+1).reverse().findIndex((t=>!s(t[l.axis])));o-=Math.max(0,t)}o=Z(o,0,n-1)}if(p){let t=Math.max(it(h,r.axis,f,!0).hi+1,i?0:it(e,d,r.getPixelForValue(f),!0).hi+1);if(c){const e=h.slice(t-1).findIndex((t=>!s(t[l.axis])));t+=Math.max(0,e)}a=Z(t,o,n)-o}else a=n-o}return{start:o,count:a}}function mt(t){const{xScale:e,yScale:i,_scaleRanges:s}=t,n={xmin:e.min,xmax:e.max,ymin:i.min,ymax:i.max};if(!s)return t._scaleRanges=n,!0;const o=s.xmin!==e.min||s.xmax!==e.max||s.ymin!==i.min||s.ymax!==i.max;return Object.assign(s,n),o}class xt{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(t,e,i,s){const n=e.listeners[s],o=e.duration;n.forEach((s=>s({chart:t,initial:e.initial,numSteps:o,currentStep:Math.min(i-e.start,o)})))}_refresh(){this._request||(this._running=!0,this._request=ht.call(window,(()=>{this._update(),this._request=null,this._running&&this._refresh()})))}_update(t=Date.now()){let e=0;this._charts.forEach(((i,s)=>{if(!i.running||!i.items.length)return;const n=i.items;let o,a=n.length-1,r=!1;for(;a>=0;--a)o=n[a],o._active?(o._total>i.duration&&(i.duration=o._total),o.tick(t),r=!0):(n[a]=n[n.length-1],n.pop());r&&(s.draw(),this._notify(s,i,t,"progress")),n.length||(i.running=!1,this._notify(s,i,t,"complete"),i.initial=!1),e+=n.length})),this._lastDate=t,0===e&&(this._running=!1)}_getAnims(t){const e=this._charts;let i=e.get(t);return i||(i={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},e.set(t,i)),i}listen(t,e,i){this._getAnims(t).listeners[e].push(i)}add(t,e){e&&e.length&&this._getAnims(t).items.push(...e)}has(t){return this._getAnims(t).items.length>0}start(t){const e=this._charts.get(t);e&&(e.running=!0,e.start=Date.now(),e.duration=e.items.reduce(((t,e)=>Math.max(t,e._duration)),0),this._refresh())}running(t){if(!this._running)return!1;const e=this._charts.get(t);return!!(e&&e.running&&e.items.length)}stop(t){const e=this._charts.get(t);if(!e||!e.items.length)return;const i=e.items;let s=i.length-1;for(;s>=0;--s)i[s].cancel();e.items=[],this._notify(t,e,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var bt=new xt; +/*! + * @kurkle/color v0.3.2 + * https://github.com/kurkle/color#readme + * (c) 2023 Jukka Kurkela + * Released under the MIT License + */function _t(t){return t+.5|0}const yt=(t,e,i)=>Math.max(Math.min(t,i),e);function vt(t){return yt(_t(2.55*t),0,255)}function Mt(t){return yt(_t(255*t),0,255)}function wt(t){return yt(_t(t/2.55)/100,0,1)}function kt(t){return yt(_t(100*t),0,100)}const St={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},Pt=[..."0123456789ABCDEF"],Dt=t=>Pt[15&t],Ct=t=>Pt[(240&t)>>4]+Pt[15&t],Ot=t=>(240&t)>>4==(15&t);function At(t){var e=(t=>Ot(t.r)&&Ot(t.g)&&Ot(t.b)&&Ot(t.a))(t)?Dt:Ct;return t?"#"+e(t.r)+e(t.g)+e(t.b)+((t,e)=>t<255?e(t):"")(t.a,e):void 0}const Tt=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Lt(t,e,i){const s=e*Math.min(i,1-i),n=(e,n=(e+t/30)%12)=>i-s*Math.max(Math.min(n-3,9-n,1),-1);return[n(0),n(8),n(4)]}function Et(t,e,i){const s=(s,n=(s+t/60)%6)=>i-i*e*Math.max(Math.min(n,4-n,1),0);return[s(5),s(3),s(1)]}function Rt(t,e,i){const s=Lt(t,1,.5);let n;for(e+i>1&&(n=1/(e+i),e*=n,i*=n),n=0;n<3;n++)s[n]*=1-e-i,s[n]+=e;return s}function It(t){const e=t.r/255,i=t.g/255,s=t.b/255,n=Math.max(e,i,s),o=Math.min(e,i,s),a=(n+o)/2;let r,l,h;return n!==o&&(h=n-o,l=a>.5?h/(2-n-o):h/(n+o),r=function(t,e,i,s,n){return t===n?(e-i)/s+(e>16&255,o>>8&255,255&o]}return t}(),Ht.transparent=[0,0,0,0]);const e=Ht[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:4===e.length?e[3]:255}}const $t=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;const Yt=t=>t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055,Ut=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function Xt(t,e,i){if(t){let s=It(t);s[e]=Math.max(0,Math.min(s[e]+s[e]*i,0===e?360:1)),s=Ft(s),t.r=s[0],t.g=s[1],t.b=s[2]}}function qt(t,e){return t?Object.assign(e||{},t):t}function Kt(t){var e={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(e={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(e.a=Mt(t[3]))):(e=qt(t,{r:0,g:0,b:0,a:1})).a=Mt(e.a),e}function Gt(t){return"r"===t.charAt(0)?function(t){const e=$t.exec(t);let i,s,n,o=255;if(e){if(e[7]!==i){const t=+e[7];o=e[8]?vt(t):yt(255*t,0,255)}return i=+e[1],s=+e[3],n=+e[5],i=255&(e[2]?vt(i):yt(i,0,255)),s=255&(e[4]?vt(s):yt(s,0,255)),n=255&(e[6]?vt(n):yt(n,0,255)),{r:i,g:s,b:n,a:o}}}(t):Bt(t)}class Jt{constructor(t){if(t instanceof Jt)return t;const e=typeof t;let i;var s,n,o;"object"===e?i=Kt(t):"string"===e&&(o=(s=t).length,"#"===s[0]&&(4===o||5===o?n={r:255&17*St[s[1]],g:255&17*St[s[2]],b:255&17*St[s[3]],a:5===o?17*St[s[4]]:255}:7!==o&&9!==o||(n={r:St[s[1]]<<4|St[s[2]],g:St[s[3]]<<4|St[s[4]],b:St[s[5]]<<4|St[s[6]],a:9===o?St[s[7]]<<4|St[s[8]]:255})),i=n||jt(t)||Gt(t)),this._rgb=i,this._valid=!!i}get valid(){return this._valid}get rgb(){var t=qt(this._rgb);return t&&(t.a=wt(t.a)),t}set rgb(t){this._rgb=Kt(t)}rgbString(){return this._valid?(t=this._rgb)&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${wt(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`):void 0;var t}hexString(){return this._valid?At(this._rgb):void 0}hslString(){return this._valid?function(t){if(!t)return;const e=It(t),i=e[0],s=kt(e[1]),n=kt(e[2]);return t.a<255?`hsla(${i}, ${s}%, ${n}%, ${wt(t.a)})`:`hsl(${i}, ${s}%, ${n}%)`}(this._rgb):void 0}mix(t,e){if(t){const i=this.rgb,s=t.rgb;let n;const o=e===n?.5:e,a=2*o-1,r=i.a-s.a,l=((a*r==-1?a:(a+r)/(1+a*r))+1)/2;n=1-l,i.r=255&l*i.r+n*s.r+.5,i.g=255&l*i.g+n*s.g+.5,i.b=255&l*i.b+n*s.b+.5,i.a=o*i.a+(1-o)*s.a,this.rgb=i}return this}interpolate(t,e){return t&&(this._rgb=function(t,e,i){const s=Ut(wt(t.r)),n=Ut(wt(t.g)),o=Ut(wt(t.b));return{r:Mt(Yt(s+i*(Ut(wt(e.r))-s))),g:Mt(Yt(n+i*(Ut(wt(e.g))-n))),b:Mt(Yt(o+i*(Ut(wt(e.b))-o))),a:t.a+i*(e.a-t.a)}}(this._rgb,t._rgb,e)),this}clone(){return new Jt(this.rgb)}alpha(t){return this._rgb.a=Mt(t),this}clearer(t){return this._rgb.a*=1-t,this}greyscale(){const t=this._rgb,e=_t(.3*t.r+.59*t.g+.11*t.b);return t.r=t.g=t.b=e,this}opaquer(t){return this._rgb.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return Xt(this._rgb,2,t),this}darken(t){return Xt(this._rgb,2,-t),this}saturate(t){return Xt(this._rgb,1,t),this}desaturate(t){return Xt(this._rgb,1,-t),this}rotate(t){return function(t,e){var i=It(t);i[0]=Vt(i[0]+e),i=Ft(i),t.r=i[0],t.g=i[1],t.b=i[2]}(this._rgb,t),this}}function Zt(t){if(t&&"object"==typeof t){const e=t.toString();return"[object CanvasPattern]"===e||"[object CanvasGradient]"===e}return!1}function Qt(t){return Zt(t)?t:new Jt(t)}function te(t){return Zt(t)?t:new Jt(t).saturate(.5).darken(.1).hexString()}const ee=["x","y","borderWidth","radius","tension"],ie=["color","borderColor","backgroundColor"];const se=new Map;function ne(t,e,i){return function(t,e){e=e||{};const i=t+JSON.stringify(e);let s=se.get(i);return s||(s=new Intl.NumberFormat(t,e),se.set(i,s)),s}(e,i).format(t)}const oe={values:t=>n(t)?t:""+t,numeric(t,e,i){if(0===t)return"0";const s=this.chart.options.locale;let n,o=t;if(i.length>1){const e=Math.max(Math.abs(i[0].value),Math.abs(i[i.length-1].value));(e<1e-4||e>1e15)&&(n="scientific"),o=function(t,e){let i=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;Math.abs(i)>=1&&t!==Math.floor(t)&&(i=t-Math.floor(t));return i}(t,i)}const a=z(Math.abs(o)),r=isNaN(a)?1:Math.max(Math.min(-1*Math.floor(a),20),0),l={notation:n,minimumFractionDigits:r,maximumFractionDigits:r};return Object.assign(l,this.options.ticks.format),ne(t,s,l)},logarithmic(t,e,i){if(0===t)return"0";const s=i[e].significand||t/Math.pow(10,Math.floor(z(t)));return[1,2,3,5,10,15].includes(s)||e>.8*i.length?oe.numeric.call(this,t,e,i):""}};var ae={formatters:oe};const re=Object.create(null),le=Object.create(null);function he(t,e){if(!e)return t;const i=e.split(".");for(let e=0,s=i.length;et.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(t,e)=>te(e.backgroundColor),this.hoverBorderColor=(t,e)=>te(e.borderColor),this.hoverColor=(t,e)=>te(e.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t),this.apply(e)}set(t,e){return ce(this,t,e)}get(t){return he(this,t)}describe(t,e){return ce(le,t,e)}override(t,e){return ce(re,t,e)}route(t,e,i,s){const n=he(this,t),a=he(this,i),r="_"+e;Object.defineProperties(n,{[r]:{value:n[e],writable:!0},[e]:{enumerable:!0,get(){const t=this[r],e=a[s];return o(t)?Object.assign({},e,t):l(t,e)},set(t){this[r]=t}}})}apply(t){t.forEach((t=>t(this)))}}var ue=new de({_scriptable:t=>!t.startsWith("on"),_indexable:t=>"events"!==t,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[function(t){t.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),t.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>"onProgress"!==t&&"onComplete"!==t&&"fn"!==t}),t.set("animations",{colors:{type:"color",properties:ie},numbers:{type:"number",properties:ee}}),t.describe("animations",{_fallback:"animation"}),t.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>0|t}}}})},function(t){t.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})},function(t){t.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,e)=>e.lineWidth,tickColor:(t,e)=>e.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:ae.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),t.route("scale.ticks","color","","color"),t.route("scale.grid","color","","borderColor"),t.route("scale.border","color","","borderColor"),t.route("scale.title","color","","color"),t.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&"callback"!==t&&"parser"!==t,_indexable:t=>"borderDash"!==t&&"tickBorderDash"!==t&&"dash"!==t}),t.describe("scales",{_fallback:"scale"}),t.describe("scale.ticks",{_scriptable:t=>"backdropPadding"!==t&&"callback"!==t,_indexable:t=>"backdropPadding"!==t})}]);function fe(){return"undefined"!=typeof window&&"undefined"!=typeof document}function ge(t){let e=t.parentNode;return e&&"[object ShadowRoot]"===e.toString()&&(e=e.host),e}function pe(t,e,i){let s;return"string"==typeof t?(s=parseInt(t,10),-1!==t.indexOf("%")&&(s=s/100*e.parentNode[i])):s=t,s}const me=t=>t.ownerDocument.defaultView.getComputedStyle(t,null);function xe(t,e){return me(t).getPropertyValue(e)}const be=["top","right","bottom","left"];function _e(t,e,i){const s={};i=i?"-"+i:"";for(let n=0;n<4;n++){const o=be[n];s[o]=parseFloat(t[e+"-"+o+i])||0}return s.width=s.left+s.right,s.height=s.top+s.bottom,s}const ye=(t,e,i)=>(t>0||e>0)&&(!i||!i.shadowRoot);function ve(t,e){if("native"in t)return t;const{canvas:i,currentDevicePixelRatio:s}=e,n=me(i),o="border-box"===n.boxSizing,a=_e(n,"padding"),r=_e(n,"border","width"),{x:l,y:h,box:c}=function(t,e){const i=t.touches,s=i&&i.length?i[0]:t,{offsetX:n,offsetY:o}=s;let a,r,l=!1;if(ye(n,o,t.target))a=n,r=o;else{const t=e.getBoundingClientRect();a=s.clientX-t.left,r=s.clientY-t.top,l=!0}return{x:a,y:r,box:l}}(t,i),d=a.left+(c&&r.left),u=a.top+(c&&r.top);let{width:f,height:g}=e;return o&&(f-=a.width+r.width,g-=a.height+r.height),{x:Math.round((l-d)/f*i.width/s),y:Math.round((h-u)/g*i.height/s)}}const Me=t=>Math.round(10*t)/10;function we(t,e,i,s){const n=me(t),o=_e(n,"margin"),a=pe(n.maxWidth,t,"clientWidth")||T,r=pe(n.maxHeight,t,"clientHeight")||T,l=function(t,e,i){let s,n;if(void 0===e||void 0===i){const o=t&&ge(t);if(o){const t=o.getBoundingClientRect(),a=me(o),r=_e(a,"border","width"),l=_e(a,"padding");e=t.width-l.width-r.width,i=t.height-l.height-r.height,s=pe(a.maxWidth,o,"clientWidth"),n=pe(a.maxHeight,o,"clientHeight")}else e=t.clientWidth,i=t.clientHeight}return{width:e,height:i,maxWidth:s||T,maxHeight:n||T}}(t,e,i);let{width:h,height:c}=l;if("content-box"===n.boxSizing){const t=_e(n,"border","width"),e=_e(n,"padding");h-=e.width+t.width,c-=e.height+t.height}h=Math.max(0,h-o.width),c=Math.max(0,s?h/s:c-o.height),h=Me(Math.min(h,a,l.maxWidth)),c=Me(Math.min(c,r,l.maxHeight)),h&&!c&&(c=Me(h/2));return(void 0!==e||void 0!==i)&&s&&l.height&&c>l.height&&(c=l.height,h=Me(Math.floor(c*s))),{width:h,height:c}}function ke(t,e,i){const s=e||1,n=Me(t.height*s),o=Me(t.width*s);t.height=Me(t.height),t.width=Me(t.width);const a=t.canvas;return a.style&&(i||!a.style.height&&!a.style.width)&&(a.style.height=`${t.height}px`,a.style.width=`${t.width}px`),(t.currentDevicePixelRatio!==s||a.height!==n||a.width!==o)&&(t.currentDevicePixelRatio=s,a.height=n,a.width=o,t.ctx.setTransform(s,0,0,s,0,0),!0)}const Se=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};fe()&&(window.addEventListener("test",null,e),window.removeEventListener("test",null,e))}catch(t){}return t}();function Pe(t,e){const i=xe(t,e),s=i&&i.match(/^(\d+)(\.\d+)?px$/);return s?+s[1]:void 0}function De(t){return!t||s(t.size)||s(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}function Ce(t,e,i,s,n){let o=e[n];return o||(o=e[n]=t.measureText(n).width,i.push(n)),o>s&&(s=o),s}function Oe(t,e,i,s){let o=(s=s||{}).data=s.data||{},a=s.garbageCollect=s.garbageCollect||[];s.font!==e&&(o=s.data={},a=s.garbageCollect=[],s.font=e),t.save(),t.font=e;let r=0;const l=i.length;let h,c,d,u,f;for(h=0;hi.length){for(h=0;h0&&t.stroke()}}function Re(t,e,i){return i=i||.5,!e||t&&t.x>e.left-i&&t.xe.top-i&&t.y0&&""!==r.strokeColor;let c,d;for(t.save(),t.font=a.string,function(t,e){e.translation&&t.translate(e.translation[0],e.translation[1]),s(e.rotation)||t.rotate(e.rotation),e.color&&(t.fillStyle=e.color),e.textAlign&&(t.textAlign=e.textAlign),e.textBaseline&&(t.textBaseline=e.textBaseline)}(t,r),c=0;ct[0])){const o=i||t;void 0===s&&(s=ti("_fallback",t));const a={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:o,_fallback:s,_getTarget:n,override:i=>je([i,...t],e,o,s)};return new Proxy(a,{deleteProperty:(e,i)=>(delete e[i],delete e._keys,delete t[0][i],!0),get:(i,s)=>qe(i,s,(()=>function(t,e,i,s){let n;for(const o of e)if(n=ti(Ue(o,t),i),void 0!==n)return Xe(t,n)?Ze(i,s,t,n):n}(s,e,t,i))),getOwnPropertyDescriptor:(t,e)=>Reflect.getOwnPropertyDescriptor(t._scopes[0],e),getPrototypeOf:()=>Reflect.getPrototypeOf(t[0]),has:(t,e)=>ei(t).includes(e),ownKeys:t=>ei(t),set(t,e,i){const s=t._storage||(t._storage=n());return t[e]=s[e]=i,delete t._keys,!0}})}function $e(t,e,i,s){const a={_cacheable:!1,_proxy:t,_context:e,_subProxy:i,_stack:new Set,_descriptors:Ye(t,s),setContext:e=>$e(t,e,i,s),override:n=>$e(t.override(n),e,i,s)};return new Proxy(a,{deleteProperty:(e,i)=>(delete e[i],delete t[i],!0),get:(t,e,i)=>qe(t,e,(()=>function(t,e,i){const{_proxy:s,_context:a,_subProxy:r,_descriptors:l}=t;let h=s[e];S(h)&&l.isScriptable(e)&&(h=function(t,e,i,s){const{_proxy:n,_context:o,_subProxy:a,_stack:r}=i;if(r.has(t))throw new Error("Recursion detected: "+Array.from(r).join("->")+"->"+t);r.add(t);let l=e(o,a||s);r.delete(t),Xe(t,l)&&(l=Ze(n._scopes,n,t,l));return l}(e,h,t,i));n(h)&&h.length&&(h=function(t,e,i,s){const{_proxy:n,_context:a,_subProxy:r,_descriptors:l}=i;if(void 0!==a.index&&s(t))return e[a.index%e.length];if(o(e[0])){const i=e,s=n._scopes.filter((t=>t!==i));e=[];for(const o of i){const i=Ze(s,n,t,o);e.push($e(i,a,r&&r[t],l))}}return e}(e,h,t,l.isIndexable));Xe(e,h)&&(h=$e(h,a,r&&r[e],l));return h}(t,e,i))),getOwnPropertyDescriptor:(e,i)=>e._descriptors.allKeys?Reflect.has(t,i)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,i),getPrototypeOf:()=>Reflect.getPrototypeOf(t),has:(e,i)=>Reflect.has(t,i),ownKeys:()=>Reflect.ownKeys(t),set:(e,i,s)=>(t[i]=s,delete e[i],!0)})}function Ye(t,e={scriptable:!0,indexable:!0}){const{_scriptable:i=e.scriptable,_indexable:s=e.indexable,_allKeys:n=e.allKeys}=t;return{allKeys:n,scriptable:i,indexable:s,isScriptable:S(i)?i:()=>i,isIndexable:S(s)?s:()=>s}}const Ue=(t,e)=>t?t+w(e):e,Xe=(t,e)=>o(e)&&"adapters"!==t&&(null===Object.getPrototypeOf(e)||e.constructor===Object);function qe(t,e,i){if(Object.prototype.hasOwnProperty.call(t,e)||"constructor"===e)return t[e];const s=i();return t[e]=s,s}function Ke(t,e,i){return S(t)?t(e,i):t}const Ge=(t,e)=>!0===t?e:"string"==typeof t?M(e,t):void 0;function Je(t,e,i,s,n){for(const o of e){const e=Ge(i,o);if(e){t.add(e);const o=Ke(e._fallback,i,n);if(void 0!==o&&o!==i&&o!==s)return o}else if(!1===e&&void 0!==s&&i!==s)return null}return!1}function Ze(t,e,i,s){const a=e._rootScopes,r=Ke(e._fallback,i,s),l=[...t,...a],h=new Set;h.add(s);let c=Qe(h,l,i,r||i,s);return null!==c&&((void 0===r||r===i||(c=Qe(h,l,r,c,s),null!==c))&&je(Array.from(h),[""],a,r,(()=>function(t,e,i){const s=t._getTarget();e in s||(s[e]={});const a=s[e];if(n(a)&&o(i))return i;return a||{}}(e,i,s))))}function Qe(t,e,i,s,n){for(;i;)i=Je(t,e,i,s,n);return i}function ti(t,e){for(const i of e){if(!i)continue;const e=i[t];if(void 0!==e)return e}}function ei(t){let e=t._keys;return e||(e=t._keys=function(t){const e=new Set;for(const i of t)for(const t of Object.keys(i).filter((t=>!t.startsWith("_"))))e.add(t);return Array.from(e)}(t._scopes)),e}function ii(t,e,i,s){const{iScale:n}=t,{key:o="r"}=this._parsing,a=new Array(s);let r,l,h,c;for(r=0,l=s;re"x"===t?"y":"x";function ai(t,e,i,s){const n=t.skip?e:t,o=e,a=i.skip?e:i,r=q(o,n),l=q(a,o);let h=r/(r+l),c=l/(r+l);h=isNaN(h)?0:h,c=isNaN(c)?0:c;const d=s*h,u=s*c;return{previous:{x:o.x-d*(a.x-n.x),y:o.y-d*(a.y-n.y)},next:{x:o.x+u*(a.x-n.x),y:o.y+u*(a.y-n.y)}}}function ri(t,e="x"){const i=oi(e),s=t.length,n=Array(s).fill(0),o=Array(s);let a,r,l,h=ni(t,0);for(a=0;a!t.skip))),"monotone"===e.cubicInterpolationMode)ri(t,n);else{let i=s?t[t.length-1]:t[0];for(o=0,a=t.length;o0===t||1===t,di=(t,e,i)=>-Math.pow(2,10*(t-=1))*Math.sin((t-e)*O/i),ui=(t,e,i)=>Math.pow(2,-10*t)*Math.sin((t-e)*O/i)+1,fi={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>1-Math.cos(t*E),easeOutSine:t=>Math.sin(t*E),easeInOutSine:t=>-.5*(Math.cos(C*t)-1),easeInExpo:t=>0===t?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>1===t?1:1-Math.pow(2,-10*t),easeInOutExpo:t=>ci(t)?t:t<.5?.5*Math.pow(2,10*(2*t-1)):.5*(2-Math.pow(2,-10*(2*t-1))),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>ci(t)?t:di(t,.075,.3),easeOutElastic:t=>ci(t)?t:ui(t,.075,.3),easeInOutElastic(t){const e=.1125;return ci(t)?t:t<.5?.5*di(2*t,e,.45):.5+.5*ui(2*t-1,e,.45)},easeInBack(t){const e=1.70158;return t*t*((e+1)*t-e)},easeOutBack(t){const e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack(t){let e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:t=>1-fi.easeOutBounce(1-t),easeOutBounce(t){const e=7.5625,i=2.75;return t<1/i?e*t*t:t<2/i?e*(t-=1.5/i)*t+.75:t<2.5/i?e*(t-=2.25/i)*t+.9375:e*(t-=2.625/i)*t+.984375},easeInOutBounce:t=>t<.5?.5*fi.easeInBounce(2*t):.5*fi.easeOutBounce(2*t-1)+.5};function gi(t,e,i,s){return{x:t.x+i*(e.x-t.x),y:t.y+i*(e.y-t.y)}}function pi(t,e,i,s){return{x:t.x+i*(e.x-t.x),y:"middle"===s?i<.5?t.y:e.y:"after"===s?i<1?t.y:e.y:i>0?e.y:t.y}}function mi(t,e,i,s){const n={x:t.cp2x,y:t.cp2y},o={x:e.cp1x,y:e.cp1y},a=gi(t,n,i),r=gi(n,o,i),l=gi(o,e,i),h=gi(a,r,i),c=gi(r,l,i);return gi(h,c,i)}const xi=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,bi=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function _i(t,e){const i=(""+t).match(xi);if(!i||"normal"===i[1])return 1.2*e;switch(t=+i[2],i[3]){case"px":return t;case"%":t/=100}return e*t}const yi=t=>+t||0;function vi(t,e){const i={},s=o(e),n=s?Object.keys(e):e,a=o(t)?s?i=>l(t[i],t[e[i]]):e=>t[e]:()=>t;for(const t of n)i[t]=yi(a(t));return i}function Mi(t){return vi(t,{top:"y",right:"x",bottom:"y",left:"x"})}function wi(t){return vi(t,["topLeft","topRight","bottomLeft","bottomRight"])}function ki(t){const e=Mi(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function Si(t,e){t=t||{},e=e||ue.font;let i=l(t.size,e.size);"string"==typeof i&&(i=parseInt(i,10));let s=l(t.style,e.style);s&&!(""+s).match(bi)&&(console.warn('Invalid font style specified: "'+s+'"'),s=void 0);const n={family:l(t.family,e.family),lineHeight:_i(l(t.lineHeight,e.lineHeight),i),size:i,style:s,weight:l(t.weight,e.weight),string:""};return n.string=De(n),n}function Pi(t,e,i,s){let o,a,r,l=!0;for(o=0,a=t.length;oi&&0===t?0:t+e;return{min:a(s,-Math.abs(o)),max:a(n,o)}}function Ci(t,e){return Object.assign(Object.create(t),e)}function Oi(t,e,i){return t?function(t,e){return{x:i=>t+t+e-i,setWidth(t){e=t},textAlign:t=>"center"===t?t:"right"===t?"left":"right",xPlus:(t,e)=>t-e,leftForLtr:(t,e)=>t-e}}(e,i):{x:t=>t,setWidth(t){},textAlign:t=>t,xPlus:(t,e)=>t+e,leftForLtr:(t,e)=>t}}function Ai(t,e){let i,s;"ltr"!==e&&"rtl"!==e||(i=t.canvas.style,s=[i.getPropertyValue("direction"),i.getPropertyPriority("direction")],i.setProperty("direction",e,"important"),t.prevTextDirection=s)}function Ti(t,e){void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function Li(t){return"angle"===t?{between:J,compare:K,normalize:G}:{between:tt,compare:(t,e)=>t-e,normalize:t=>t}}function Ei({start:t,end:e,count:i,loop:s,style:n}){return{start:t%i,end:e%i,loop:s&&(e-t+1)%i==0,style:n}}function Ri(t,e,i){if(!i)return[t];const{property:s,start:n,end:o}=i,a=e.length,{compare:r,between:l,normalize:h}=Li(s),{start:c,end:d,loop:u,style:f}=function(t,e,i){const{property:s,start:n,end:o}=i,{between:a,normalize:r}=Li(s),l=e.length;let h,c,{start:d,end:u,loop:f}=t;if(f){for(d+=l,u+=l,h=0,c=l;hb||l(n,x,p)&&0!==r(n,x),v=()=>!b||0===r(o,p)||l(o,x,p);for(let t=c,i=c;t<=d;++t)m=e[t%a],m.skip||(p=h(m[s]),p!==x&&(b=l(p,n,o),null===_&&y()&&(_=0===r(p,n)?t:i),null!==_&&v()&&(g.push(Ei({start:_,end:t,loop:u,count:a,style:f})),_=null),i=t,x=p));return null!==_&&g.push(Ei({start:_,end:d,loop:u,count:a,style:f})),g}function Ii(t,e){const i=[],s=t.segments;for(let n=0;nn&&t[o%e].skip;)o--;return o%=e,{start:n,end:o}}(i,n,o,s);if(!0===s)return Fi(t,[{start:a,end:r,loop:o}],i,e);return Fi(t,function(t,e,i,s){const n=t.length,o=[];let a,r=e,l=t[e];for(a=e+1;a<=i;++a){const i=t[a%n];i.skip||i.stop?l.skip||(s=!1,o.push({start:e%n,end:(a-1)%n,loop:s}),e=r=i.stop?a:null):(r=a,l.skip&&(e=a)),l=i}return null!==r&&o.push({start:e%n,end:r%n,loop:s}),o}(i,a,r!s(t[e.axis])));n.lo-=Math.max(0,a);const r=i.slice(n.hi).findIndex((t=>!s(t[e.axis])));n.hi+=Math.max(0,r)}return n}if(o._sharedOptions){const t=a[0],s="function"==typeof t.getRange&&t.getRange(e);if(s){const t=r(a,e,i-s),n=r(a,e,i+s);return{lo:t.lo,hi:n.hi}}}}return{lo:0,hi:a.length-1}}function $i(t,e,i,s,n){const o=t.getSortedVisibleDatasetMetas(),a=i[e];for(let t=0,i=o.length;t{t[a]&&t[a](e[i],n)&&(o.push({element:t,datasetIndex:s,index:l}),r=r||t.inRange(e.x,e.y,n))})),s&&!r?[]:o}var Ki={evaluateInteractionItems:$i,modes:{index(t,e,i,s){const n=ve(e,t),o=i.axis||"x",a=i.includeInvisible||!1,r=i.intersect?Yi(t,n,o,s,a):Xi(t,n,o,!1,s,a),l=[];return r.length?(t.getSortedVisibleDatasetMetas().forEach((t=>{const e=r[0].index,i=t.data[e];i&&!i.skip&&l.push({element:i,datasetIndex:t.index,index:e})})),l):[]},dataset(t,e,i,s){const n=ve(e,t),o=i.axis||"xy",a=i.includeInvisible||!1;let r=i.intersect?Yi(t,n,o,s,a):Xi(t,n,o,!1,s,a);if(r.length>0){const e=r[0].datasetIndex,i=t.getDatasetMeta(e).data;r=[];for(let t=0;tYi(t,ve(e,t),i.axis||"xy",s,i.includeInvisible||!1),nearest(t,e,i,s){const n=ve(e,t),o=i.axis||"xy",a=i.includeInvisible||!1;return Xi(t,n,o,i.intersect,s,a)},x:(t,e,i,s)=>qi(t,ve(e,t),"x",i.intersect,s),y:(t,e,i,s)=>qi(t,ve(e,t),"y",i.intersect,s)}};const Gi=["left","top","right","bottom"];function Ji(t,e){return t.filter((t=>t.pos===e))}function Zi(t,e){return t.filter((t=>-1===Gi.indexOf(t.pos)&&t.box.axis===e))}function Qi(t,e){return t.sort(((t,i)=>{const s=e?i:t,n=e?t:i;return s.weight===n.weight?s.index-n.index:s.weight-n.weight}))}function ts(t,e){const i=function(t){const e={};for(const i of t){const{stack:t,pos:s,stackWeight:n}=i;if(!t||!Gi.includes(s))continue;const o=e[t]||(e[t]={count:0,placed:0,weight:0,size:0});o.count++,o.weight+=n}return e}(t),{vBoxMaxWidth:s,hBoxMaxHeight:n}=e;let o,a,r;for(o=0,a=t.length;o{s[t]=Math.max(e[t],i[t])})),s}return s(t?["left","right"]:["top","bottom"])}function os(t,e,i,s){const n=[];let o,a,r,l,h,c;for(o=0,a=t.length,h=0;ot.box.fullSize)),!0),s=Qi(Ji(e,"left"),!0),n=Qi(Ji(e,"right")),o=Qi(Ji(e,"top"),!0),a=Qi(Ji(e,"bottom")),r=Zi(e,"x"),l=Zi(e,"y");return{fullSize:i,leftAndTop:s.concat(o),rightAndBottom:n.concat(l).concat(a).concat(r),chartArea:Ji(e,"chartArea"),vertical:s.concat(n).concat(l),horizontal:o.concat(a).concat(r)}}(t.boxes),l=r.vertical,h=r.horizontal;u(t.boxes,(t=>{"function"==typeof t.beforeLayout&&t.beforeLayout()}));const c=l.reduce(((t,e)=>e.box.options&&!1===e.box.options.display?t:t+1),0)||1,d=Object.freeze({outerWidth:e,outerHeight:i,padding:n,availableWidth:o,availableHeight:a,vBoxMaxWidth:o/2/c,hBoxMaxHeight:a/2}),f=Object.assign({},n);is(f,ki(s));const g=Object.assign({maxPadding:f,w:o,h:a,x:n.left,y:n.top},n),p=ts(l.concat(h),d);os(r.fullSize,g,d,p),os(l,g,d,p),os(h,g,d,p)&&os(l,g,d,p),function(t){const e=t.maxPadding;function i(i){const s=Math.max(e[i]-t[i],0);return t[i]+=s,s}t.y+=i("top"),t.x+=i("left"),i("right"),i("bottom")}(g),rs(r.leftAndTop,g,d,p),g.x+=g.w,g.y+=g.h,rs(r.rightAndBottom,g,d,p),t.chartArea={left:g.left,top:g.top,right:g.left+g.w,bottom:g.top+g.h,height:g.h,width:g.w},u(r.chartArea,(e=>{const i=e.box;Object.assign(i,t.chartArea),i.update(g.w,g.h,{left:0,top:0,right:0,bottom:0})}))}};class hs{acquireContext(t,e){}releaseContext(t){return!1}addEventListener(t,e,i){}removeEventListener(t,e,i){}getDevicePixelRatio(){return 1}getMaximumSize(t,e,i,s){return e=Math.max(0,e||t.width),i=i||t.height,{width:e,height:Math.max(0,s?Math.floor(e/s):i)}}isAttached(t){return!0}updateConfig(t){}}class cs extends hs{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const ds="$chartjs",us={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},fs=t=>null===t||""===t;const gs=!!Se&&{passive:!0};function ps(t,e,i){t&&t.canvas&&t.canvas.removeEventListener(e,i,gs)}function ms(t,e){for(const i of t)if(i===e||i.contains(e))return!0}function xs(t,e,i){const s=t.canvas,n=new MutationObserver((t=>{let e=!1;for(const i of t)e=e||ms(i.addedNodes,s),e=e&&!ms(i.removedNodes,s);e&&i()}));return n.observe(document,{childList:!0,subtree:!0}),n}function bs(t,e,i){const s=t.canvas,n=new MutationObserver((t=>{let e=!1;for(const i of t)e=e||ms(i.removedNodes,s),e=e&&!ms(i.addedNodes,s);e&&i()}));return n.observe(document,{childList:!0,subtree:!0}),n}const _s=new Map;let ys=0;function vs(){const t=window.devicePixelRatio;t!==ys&&(ys=t,_s.forEach(((e,i)=>{i.currentDevicePixelRatio!==t&&e()})))}function Ms(t,e,i){const s=t.canvas,n=s&&ge(s);if(!n)return;const o=ct(((t,e)=>{const s=n.clientWidth;i(t,e),s{const e=t[0],i=e.contentRect.width,s=e.contentRect.height;0===i&&0===s||o(i,s)}));return a.observe(n),function(t,e){_s.size||window.addEventListener("resize",vs),_s.set(t,e)}(t,o),a}function ws(t,e,i){i&&i.disconnect(),"resize"===e&&function(t){_s.delete(t),_s.size||window.removeEventListener("resize",vs)}(t)}function ks(t,e,i){const s=t.canvas,n=ct((e=>{null!==t.ctx&&i(function(t,e){const i=us[t.type]||t.type,{x:s,y:n}=ve(t,e);return{type:i,chart:e,native:t,x:void 0!==s?s:null,y:void 0!==n?n:null}}(e,t))}),t);return function(t,e,i){t&&t.addEventListener(e,i,gs)}(s,e,n),n}class Ss extends hs{acquireContext(t,e){const i=t&&t.getContext&&t.getContext("2d");return i&&i.canvas===t?(function(t,e){const i=t.style,s=t.getAttribute("height"),n=t.getAttribute("width");if(t[ds]={initial:{height:s,width:n,style:{display:i.display,height:i.height,width:i.width}}},i.display=i.display||"block",i.boxSizing=i.boxSizing||"border-box",fs(n)){const e=Pe(t,"width");void 0!==e&&(t.width=e)}if(fs(s))if(""===t.style.height)t.height=t.width/(e||2);else{const e=Pe(t,"height");void 0!==e&&(t.height=e)}}(t,e),i):null}releaseContext(t){const e=t.canvas;if(!e[ds])return!1;const i=e[ds].initial;["height","width"].forEach((t=>{const n=i[t];s(n)?e.removeAttribute(t):e.setAttribute(t,n)}));const n=i.style||{};return Object.keys(n).forEach((t=>{e.style[t]=n[t]})),e.width=e.width,delete e[ds],!0}addEventListener(t,e,i){this.removeEventListener(t,e);const s=t.$proxies||(t.$proxies={}),n={attach:xs,detach:bs,resize:Ms}[e]||ks;s[e]=n(t,e,i)}removeEventListener(t,e){const i=t.$proxies||(t.$proxies={}),s=i[e];if(!s)return;({attach:ws,detach:ws,resize:ws}[e]||ps)(t,e,s),i[e]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,e,i,s){return we(t,e,i,s)}isAttached(t){const e=t&&ge(t);return!(!e||!e.isConnected)}}function Ps(t){return!fe()||"undefined"!=typeof OffscreenCanvas&&t instanceof OffscreenCanvas?cs:Ss}var Ds=Object.freeze({__proto__:null,BasePlatform:hs,BasicPlatform:cs,DomPlatform:Ss,_detectPlatform:Ps});const Cs="transparent",Os={boolean:(t,e,i)=>i>.5?e:t,color(t,e,i){const s=Qt(t||Cs),n=s.valid&&Qt(e||Cs);return n&&n.valid?n.mix(s,i).hexString():e},number:(t,e,i)=>t+(e-t)*i};class As{constructor(t,e,i,s){const n=e[i];s=Pi([t.to,s,n,t.from]);const o=Pi([t.from,n,s]);this._active=!0,this._fn=t.fn||Os[t.type||typeof o],this._easing=fi[t.easing]||fi.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=e,this._prop=i,this._from=o,this._to=s,this._promises=void 0}active(){return this._active}update(t,e,i){if(this._active){this._notify(!1);const s=this._target[this._prop],n=i-this._start,o=this._duration-n;this._start=i,this._duration=Math.floor(Math.max(o,t.duration)),this._total+=n,this._loop=!!t.loop,this._to=Pi([t.to,e,s,t.from]),this._from=Pi([t.from,s,e])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const e=t-this._start,i=this._duration,s=this._prop,n=this._from,o=this._loop,a=this._to;let r;if(this._active=n!==a&&(o||e1?2-r:r,r=this._easing(Math.min(1,Math.max(0,r))),this._target[s]=this._fn(n,a,r))}wait(){const t=this._promises||(this._promises=[]);return new Promise(((e,i)=>{t.push({res:e,rej:i})}))}_notify(t){const e=t?"res":"rej",i=this._promises||[];for(let t=0;t{const a=t[s];if(!o(a))return;const r={};for(const t of e)r[t]=a[t];(n(a.properties)&&a.properties||[s]).forEach((t=>{t!==s&&i.has(t)||i.set(t,r)}))}))}_animateOptions(t,e){const i=e.options,s=function(t,e){if(!e)return;let i=t.options;if(!i)return void(t.options=e);i.$shared&&(t.options=i=Object.assign({},i,{$shared:!1,$animations:{}}));return i}(t,i);if(!s)return[];const n=this._createAnimations(s,i);return i.$shared&&function(t,e){const i=[],s=Object.keys(e);for(let e=0;e{t.options=i}),(()=>{})),n}_createAnimations(t,e){const i=this._properties,s=[],n=t.$animations||(t.$animations={}),o=Object.keys(e),a=Date.now();let r;for(r=o.length-1;r>=0;--r){const l=o[r];if("$"===l.charAt(0))continue;if("options"===l){s.push(...this._animateOptions(t,e));continue}const h=e[l];let c=n[l];const d=i.get(l);if(c){if(d&&c.active()){c.update(d,h,a);continue}c.cancel()}d&&d.duration?(n[l]=c=new As(d,t,l,h),s.push(c)):t[l]=h}return s}update(t,e){if(0===this._properties.size)return void Object.assign(t,e);const i=this._createAnimations(t,e);return i.length?(bt.add(this._chart,i),!0):void 0}}function Ls(t,e){const i=t&&t.options||{},s=i.reverse,n=void 0===i.min?e:0,o=void 0===i.max?e:0;return{start:s?o:n,end:s?n:o}}function Es(t,e){const i=[],s=t._getSortedDatasetMetas(e);let n,o;for(n=0,o=s.length;n0||!i&&e<0)return n.index}return null}function Vs(t,e){const{chart:i,_cachedMeta:s}=t,n=i._stacks||(i._stacks={}),{iScale:o,vScale:a,index:r}=s,l=o.axis,h=a.axis,c=function(t,e,i){return`${t.id}.${e.id}.${i.stack||i.type}`}(o,a,s),d=e.length;let u;for(let t=0;ti[t].axis===e)).shift()}function Ws(t,e){const i=t.controller.index,s=t.vScale&&t.vScale.axis;if(s){e=e||t._parsed;for(const t of e){const e=t._stacks;if(!e||void 0===e[s]||void 0===e[s][i])return;delete e[s][i],void 0!==e[s]._visualValues&&void 0!==e[s]._visualValues[i]&&delete e[s]._visualValues[i]}}}const Ns=t=>"reset"===t||"none"===t,Hs=(t,e)=>e?t:Object.assign({},t);class js{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(t,e){this.chart=t,this._ctx=t.ctx,this.index=e,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=Is(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(t){this.index!==t&&Ws(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,e=this._cachedMeta,i=this.getDataset(),s=(t,e,i,s)=>"x"===t?e:"r"===t?s:i,n=e.xAxisID=l(i.xAxisID,Bs(t,"x")),o=e.yAxisID=l(i.yAxisID,Bs(t,"y")),a=e.rAxisID=l(i.rAxisID,Bs(t,"r")),r=e.indexAxis,h=e.iAxisID=s(r,n,o,a),c=e.vAxisID=s(r,o,n,a);e.xScale=this.getScaleForId(n),e.yScale=this.getScaleForId(o),e.rScale=this.getScaleForId(a),e.iScale=this.getScaleForId(h),e.vScale=this.getScaleForId(c)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const e=this._cachedMeta;return t===e.iScale?e.vScale:e.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&rt(this._data,this),t._stacked&&Ws(t)}_dataCheck(){const t=this.getDataset(),e=t.data||(t.data=[]),i=this._data;if(o(e)){const t=this._cachedMeta;this._data=function(t,e){const{iScale:i,vScale:s}=e,n="x"===i.axis?"x":"y",o="x"===s.axis?"x":"y",a=Object.keys(t),r=new Array(a.length);let l,h,c;for(l=0,h=a.length;l0&&i._parsed[t-1];if(!1===this._parsing)i._parsed=s,i._sorted=!0,d=s;else{d=n(s[t])?this.parseArrayData(i,s,t,e):o(s[t])?this.parseObjectData(i,s,t,e):this.parsePrimitiveData(i,s,t,e);const a=()=>null===c[l]||f&&c[l]t&&!e.hidden&&e._stacked&&{keys:Es(i,!0),values:null})(e,i,this.chart),h={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:c,max:d}=function(t){const{min:e,max:i,minDefined:s,maxDefined:n}=t.getUserBounds();return{min:s?e:Number.NEGATIVE_INFINITY,max:n?i:Number.POSITIVE_INFINITY}}(r);let u,f;function g(){f=s[u];const e=f[r.axis];return!a(f[t.axis])||c>e||d=0;--u)if(!g()){this.updateRangeFromParsed(h,t,f,l);break}return h}getAllParsedValues(t){const e=this._cachedMeta._parsed,i=[];let s,n,o;for(s=0,n=e.length;s=0&&tthis.getContext(i,s,e)),c);return f.$shared&&(f.$shared=r,n[o]=Object.freeze(Hs(f,r))),f}_resolveAnimations(t,e,i){const s=this.chart,n=this._cachedDataOpts,o=`animation-${e}`,a=n[o];if(a)return a;let r;if(!1!==s.options.animation){const s=this.chart.config,n=s.datasetAnimationScopeKeys(this._type,e),o=s.getOptionScopes(this.getDataset(),n);r=s.createResolver(o,this.getContext(t,i,e))}const l=new Ts(s,r&&r.animations);return r&&r._cacheable&&(n[o]=Object.freeze(l)),l}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,e){return!e||Ns(t)||this.chart._animationsDisabled}_getSharedOptions(t,e){const i=this.resolveDataElementOptions(t,e),s=this._sharedOptions,n=this.getSharedOptions(i),o=this.includeOptions(e,n)||n!==s;return this.updateSharedOptions(n,e,i),{sharedOptions:n,includeOptions:o}}updateElement(t,e,i,s){Ns(s)?Object.assign(t,i):this._resolveAnimations(e,s).update(t,i)}updateSharedOptions(t,e,i){t&&!Ns(e)&&this._resolveAnimations(void 0,e).update(t,i)}_setStyle(t,e,i,s){t.active=s;const n=this.getStyle(e,s);this._resolveAnimations(e,i,s).update(t,{options:!s&&this.getSharedOptions(n)||n})}removeHoverStyle(t,e,i){this._setStyle(t,i,"active",!1)}setHoverStyle(t,e,i){this._setStyle(t,i,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const e=this._data,i=this._cachedMeta.data;for(const[t,e,i]of this._syncList)this[t](e,i);this._syncList=[];const s=i.length,n=e.length,o=Math.min(n,s);o&&this.parse(0,o),n>s?this._insertElements(s,n-s,t):n{for(t.length+=e,a=t.length-1;a>=o;a--)t[a]=t[a-e]};for(r(n),a=t;a{s[t]=i[t]&&i[t].active()?i[t]._to:this[t]})),s}}function Ys(t,e){const i=t.options.ticks,n=function(t){const e=t.options.offset,i=t._tickSize(),s=t._length/i+(e?0:1),n=t._maxLength/i;return Math.floor(Math.min(s,n))}(t),o=Math.min(i.maxTicksLimit||n,n),a=i.major.enabled?function(t){const e=[];let i,s;for(i=0,s=t.length;io)return function(t,e,i,s){let n,o=0,a=i[0];for(s=Math.ceil(s),n=0;nn)return e}return Math.max(n,1)}(a,e,o);if(r>0){let t,i;const n=r>1?Math.round((h-l)/(r-1)):null;for(Us(e,c,d,s(n)?0:l-n,l),t=0,i=r-1;t"top"===e||"left"===e?t[e]+i:t[e]-i,qs=(t,e)=>Math.min(e||t,t);function Ks(t,e){const i=[],s=t.length/e,n=t.length;let o=0;for(;oa+r)))return h}function Js(t){return t.drawTicks?t.tickLength:0}function Zs(t,e){if(!t.display)return 0;const i=Si(t.font,e),s=ki(t.padding);return(n(t.text)?t.text.length:1)*i.lineHeight+s.height}function Qs(t,e,i){let s=ut(t);return(i&&"right"!==e||!i&&"right"===e)&&(s=(t=>"left"===t?"right":"right"===t?"left":t)(s)),s}class tn extends $s{constructor(t){super(),this.id=t.id,this.type=t.type,this.options=void 0,this.ctx=t.ctx,this.chart=t.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(t){this.options=t.setContext(this.getContext()),this.axis=t.axis,this._userMin=this.parse(t.min),this._userMax=this.parse(t.max),this._suggestedMin=this.parse(t.suggestedMin),this._suggestedMax=this.parse(t.suggestedMax)}parse(t,e){return t}getUserBounds(){let{_userMin:t,_userMax:e,_suggestedMin:i,_suggestedMax:s}=this;return t=r(t,Number.POSITIVE_INFINITY),e=r(e,Number.NEGATIVE_INFINITY),i=r(i,Number.POSITIVE_INFINITY),s=r(s,Number.NEGATIVE_INFINITY),{min:r(t,i),max:r(e,s),minDefined:a(t),maxDefined:a(e)}}getMinMax(t){let e,{min:i,max:s,minDefined:n,maxDefined:o}=this.getUserBounds();if(n&&o)return{min:i,max:s};const a=this.getMatchingVisibleMetas();for(let r=0,l=a.length;rs?s:i,s=n&&i>s?i:s,{min:r(i,r(s,i)),max:r(s,r(i,s))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}getLabelItems(t=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(t))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){d(this.options.beforeUpdate,[this])}update(t,e,i){const{beginAtZero:s,grace:n,ticks:o}=this.options,a=o.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=e,this._margins=i=Object.assign({left:0,right:0,top:0,bottom:0},i),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+i.left+i.right:this.height+i.top+i.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=Di(this,n,s),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const r=a=n||i<=1||!this.isHorizontal())return void(this.labelRotation=s);const h=this._getLabelSizes(),c=h.widest.width,d=h.highest.height,u=Z(this.chart.width-c,0,this.maxWidth);o=t.offset?this.maxWidth/i:u/(i-1),c+6>o&&(o=u/(i-(t.offset?.5:1)),a=this.maxHeight-Js(t.grid)-e.padding-Zs(t.title,this.chart.options.font),r=Math.sqrt(c*c+d*d),l=Y(Math.min(Math.asin(Z((h.highest.height+6)/o,-1,1)),Math.asin(Z(a/r,-1,1))-Math.asin(Z(d/r,-1,1)))),l=Math.max(s,Math.min(n,l))),this.labelRotation=l}afterCalculateLabelRotation(){d(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){d(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:e,options:{ticks:i,title:s,grid:n}}=this,o=this._isVisible(),a=this.isHorizontal();if(o){const o=Zs(s,e.options.font);if(a?(t.width=this.maxWidth,t.height=Js(n)+o):(t.height=this.maxHeight,t.width=Js(n)+o),i.display&&this.ticks.length){const{first:e,last:s,widest:n,highest:o}=this._getLabelSizes(),r=2*i.padding,l=$(this.labelRotation),h=Math.cos(l),c=Math.sin(l);if(a){const e=i.mirror?0:c*n.width+h*o.height;t.height=Math.min(this.maxHeight,t.height+e+r)}else{const e=i.mirror?0:h*n.width+c*o.height;t.width=Math.min(this.maxWidth,t.width+e+r)}this._calculatePadding(e,s,c,h)}}this._handleMargins(),a?(this.width=this._length=e.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=e.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,e,i,s){const{ticks:{align:n,padding:o},position:a}=this.options,r=0!==this.labelRotation,l="top"!==a&&"x"===this.axis;if(this.isHorizontal()){const a=this.getPixelForTick(0)-this.left,h=this.right-this.getPixelForTick(this.ticks.length-1);let c=0,d=0;r?l?(c=s*t.width,d=i*e.height):(c=i*t.height,d=s*e.width):"start"===n?d=e.width:"end"===n?c=t.width:"inner"!==n&&(c=t.width/2,d=e.width/2),this.paddingLeft=Math.max((c-a+o)*this.width/(this.width-a),0),this.paddingRight=Math.max((d-h+o)*this.width/(this.width-h),0)}else{let i=e.height/2,s=t.height/2;"start"===n?(i=0,s=t.height):"end"===n&&(i=e.height,s=0),this.paddingTop=i+o,this.paddingBottom=s+o}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){d(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:e}=this.options;return"top"===e||"bottom"===e||"x"===t}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){let e,i;for(this.beforeTickToLabelConversion(),this.generateTickLabels(t),e=0,i=t.length;e{const i=t.gc,s=i.length/2;let n;if(s>e){for(n=0;n({width:r[t]||0,height:l[t]||0});return{first:P(0),last:P(e-1),widest:P(k),highest:P(S),widths:r,heights:l}}getLabelForValue(t){return t}getPixelForValue(t,e){return NaN}getValueForPixel(t){}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const e=this._startPixel+t*this._length;return Q(this._alignToPixels?Ae(this.chart,e,0):e)}getDecimalForPixel(t){const e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:e}=this;return t<0&&e<0?e:t>0&&e>0?t:0}getContext(t){const e=this.ticks||[];if(t>=0&&ta*s?a/i:r/s:r*s0}_computeGridLineItems(t){const e=this.axis,i=this.chart,s=this.options,{grid:n,position:a,border:r}=s,h=n.offset,c=this.isHorizontal(),d=this.ticks.length+(h?1:0),u=Js(n),f=[],g=r.setContext(this.getContext()),p=g.display?g.width:0,m=p/2,x=function(t){return Ae(i,t,p)};let b,_,y,v,M,w,k,S,P,D,C,O;if("top"===a)b=x(this.bottom),w=this.bottom-u,S=b-m,D=x(t.top)+m,O=t.bottom;else if("bottom"===a)b=x(this.top),D=t.top,O=x(t.bottom)-m,w=b+m,S=this.top+u;else if("left"===a)b=x(this.right),M=this.right-u,k=b-m,P=x(t.left)+m,C=t.right;else if("right"===a)b=x(this.left),P=t.left,C=x(t.right)-m,M=b+m,k=this.left+u;else if("x"===e){if("center"===a)b=x((t.top+t.bottom)/2+.5);else if(o(a)){const t=Object.keys(a)[0],e=a[t];b=x(this.chart.scales[t].getPixelForValue(e))}D=t.top,O=t.bottom,w=b+m,S=w+u}else if("y"===e){if("center"===a)b=x((t.left+t.right)/2);else if(o(a)){const t=Object.keys(a)[0],e=a[t];b=x(this.chart.scales[t].getPixelForValue(e))}M=b-m,k=M-u,P=t.left,C=t.right}const A=l(s.ticks.maxTicksLimit,d),T=Math.max(1,Math.ceil(d/A));for(_=0;_0&&(o-=s/2)}d={left:o,top:n,width:s+e.width,height:i+e.height,color:t.backdropColor}}x.push({label:v,font:P,textOffset:O,options:{rotation:m,color:i,strokeColor:o,strokeWidth:h,textAlign:f,textBaseline:A,translation:[M,w],backdrop:d}})}return x}_getXAxisLabelAlignment(){const{position:t,ticks:e}=this.options;if(-$(this.labelRotation))return"top"===t?"left":"right";let i="center";return"start"===e.align?i="left":"end"===e.align?i="right":"inner"===e.align&&(i="inner"),i}_getYAxisLabelAlignment(t){const{position:e,ticks:{crossAlign:i,mirror:s,padding:n}}=this.options,o=t+n,a=this._getLabelSizes().widest.width;let r,l;return"left"===e?s?(l=this.right+n,"near"===i?r="left":"center"===i?(r="center",l+=a/2):(r="right",l+=a)):(l=this.right-o,"near"===i?r="right":"center"===i?(r="center",l-=a/2):(r="left",l=this.left)):"right"===e?s?(l=this.left+n,"near"===i?r="right":"center"===i?(r="center",l-=a/2):(r="left",l-=a)):(l=this.left+o,"near"===i?r="left":"center"===i?(r="center",l+=a/2):(r="right",l=this.right)):r="right",{textAlign:r,x:l}}_computeLabelArea(){if(this.options.ticks.mirror)return;const t=this.chart,e=this.options.position;return"left"===e||"right"===e?{top:0,left:this.left,bottom:t.height,right:this.right}:"top"===e||"bottom"===e?{top:this.top,left:0,bottom:this.bottom,right:t.width}:void 0}drawBackground(){const{ctx:t,options:{backgroundColor:e},left:i,top:s,width:n,height:o}=this;e&&(t.save(),t.fillStyle=e,t.fillRect(i,s,n,o),t.restore())}getLineWidthForValue(t){const e=this.options.grid;if(!this._isVisible()||!e.display)return 0;const i=this.ticks.findIndex((e=>e.value===t));if(i>=0){return e.setContext(this.getContext(i)).lineWidth}return 0}drawGrid(t){const e=this.options.grid,i=this.ctx,s=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let n,o;const a=(t,e,s)=>{s.width&&s.color&&(i.save(),i.lineWidth=s.width,i.strokeStyle=s.color,i.setLineDash(s.borderDash||[]),i.lineDashOffset=s.borderDashOffset,i.beginPath(),i.moveTo(t.x,t.y),i.lineTo(e.x,e.y),i.stroke(),i.restore())};if(e.display)for(n=0,o=s.length;n{this.drawBackground(),this.drawGrid(t),this.drawTitle()}},{z:s,draw:()=>{this.drawBorder()}},{z:e,draw:t=>{this.drawLabels(t)}}]:[{z:e,draw:t=>{this.draw(t)}}]}getMatchingVisibleMetas(t){const e=this.chart.getSortedVisibleDatasetMetas(),i=this.axis+"AxisID",s=[];let n,o;for(n=0,o=e.length;n{const s=i.split("."),n=s.pop(),o=[t].concat(s).join("."),a=e[i].split("."),r=a.pop(),l=a.join(".");ue.route(o,n,l,r)}))}(e,t.defaultRoutes);t.descriptors&&ue.describe(e,t.descriptors)}(t,o,i),this.override&&ue.override(t.id,t.overrides)),o}get(t){return this.items[t]}unregister(t){const e=this.items,i=t.id,s=this.scope;i in e&&delete e[i],s&&i in ue[s]&&(delete ue[s][i],this.override&&delete re[i])}}class sn{constructor(){this.controllers=new en(js,"datasets",!0),this.elements=new en($s,"elements"),this.plugins=new en(Object,"plugins"),this.scales=new en(tn,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,e,i){[...e].forEach((e=>{const s=i||this._getRegistryForType(e);i||s.isForType(e)||s===this.plugins&&e.id?this._exec(t,s,e):u(e,(e=>{const s=i||this._getRegistryForType(e);this._exec(t,s,e)}))}))}_exec(t,e,i){const s=w(t);d(i["before"+s],[],i),e[t](i),d(i["after"+s],[],i)}_getRegistryForType(t){for(let e=0;et.filter((t=>!e.some((e=>t.plugin.id===e.plugin.id))));this._notify(s(e,i),t,"stop"),this._notify(s(i,e),t,"start")}}function an(t,e){return e||!1!==t?!0===t?{}:t:null}function rn(t,{plugin:e,local:i},s,n){const o=t.pluginScopeKeys(e),a=t.getOptionScopes(s,o);return i&&e.defaults&&a.push(e.defaults),t.createResolver(a,n,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function ln(t,e){const i=ue.datasets[t]||{};return((e.datasets||{})[t]||{}).indexAxis||e.indexAxis||i.indexAxis||"x"}function hn(t){if("x"===t||"y"===t||"r"===t)return t}function cn(t,...e){if(hn(t))return t;for(const s of e){const e=s.axis||("top"===(i=s.position)||"bottom"===i?"x":"left"===i||"right"===i?"y":void 0)||t.length>1&&hn(t[0].toLowerCase());if(e)return e}var i;throw new Error(`Cannot determine type of '${t}' axis. Please provide 'axis' or 'position' option.`)}function dn(t,e,i){if(i[e+"AxisID"]===t)return{axis:e}}function un(t,e){const i=re[t.type]||{scales:{}},s=e.scales||{},n=ln(t.type,e),a=Object.create(null);return Object.keys(s).forEach((e=>{const r=s[e];if(!o(r))return console.error(`Invalid scale configuration for scale: ${e}`);if(r._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${e}`);const l=cn(e,r,function(t,e){if(e.data&&e.data.datasets){const i=e.data.datasets.filter((e=>e.xAxisID===t||e.yAxisID===t));if(i.length)return dn(t,"x",i[0])||dn(t,"y",i[0])}return{}}(e,t),ue.scales[r.type]),h=function(t,e){return t===e?"_index_":"_value_"}(l,n),c=i.scales||{};a[e]=b(Object.create(null),[{axis:l},r,c[l],c[h]])})),t.data.datasets.forEach((i=>{const n=i.type||t.type,o=i.indexAxis||ln(n,e),r=(re[n]||{}).scales||{};Object.keys(r).forEach((t=>{const e=function(t,e){let i=t;return"_index_"===t?i=e:"_value_"===t&&(i="x"===e?"y":"x"),i}(t,o),n=i[e+"AxisID"]||e;a[n]=a[n]||Object.create(null),b(a[n],[{axis:e},s[n],r[t]])}))})),Object.keys(a).forEach((t=>{const e=a[t];b(e,[ue.scales[e.type],ue.scale])})),a}function fn(t){const e=t.options||(t.options={});e.plugins=l(e.plugins,{}),e.scales=un(t,e)}function gn(t){return(t=t||{}).datasets=t.datasets||[],t.labels=t.labels||[],t}const pn=new Map,mn=new Set;function xn(t,e){let i=pn.get(t);return i||(i=e(),pn.set(t,i),mn.add(i)),i}const bn=(t,e,i)=>{const s=M(e,i);void 0!==s&&t.add(s)};class _n{constructor(t){this._config=function(t){return(t=t||{}).data=gn(t.data),fn(t),t}(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=gn(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),fn(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return xn(t,(()=>[[`datasets.${t}`,""]]))}datasetAnimationScopeKeys(t,e){return xn(`${t}.transition.${e}`,(()=>[[`datasets.${t}.transitions.${e}`,`transitions.${e}`],[`datasets.${t}`,""]]))}datasetElementScopeKeys(t,e){return xn(`${t}-${e}`,(()=>[[`datasets.${t}.elements.${e}`,`datasets.${t}`,`elements.${e}`,""]]))}pluginScopeKeys(t){const e=t.id;return xn(`${this.type}-plugin-${e}`,(()=>[[`plugins.${e}`,...t.additionalOptionScopes||[]]]))}_cachedScopes(t,e){const i=this._scopeCache;let s=i.get(t);return s&&!e||(s=new Map,i.set(t,s)),s}getOptionScopes(t,e,i){const{options:s,type:n}=this,o=this._cachedScopes(t,i),a=o.get(e);if(a)return a;const r=new Set;e.forEach((e=>{t&&(r.add(t),e.forEach((e=>bn(r,t,e)))),e.forEach((t=>bn(r,s,t))),e.forEach((t=>bn(r,re[n]||{},t))),e.forEach((t=>bn(r,ue,t))),e.forEach((t=>bn(r,le,t)))}));const l=Array.from(r);return 0===l.length&&l.push(Object.create(null)),mn.has(e)&&o.set(e,l),l}chartOptionScopes(){const{options:t,type:e}=this;return[t,re[e]||{},ue.datasets[e]||{},{type:e},ue,le]}resolveNamedOptions(t,e,i,s=[""]){const o={$shared:!0},{resolver:a,subPrefixes:r}=yn(this._resolverCache,t,s);let l=a;if(function(t,e){const{isScriptable:i,isIndexable:s}=Ye(t);for(const o of e){const e=i(o),a=s(o),r=(a||e)&&t[o];if(e&&(S(r)||vn(r))||a&&n(r))return!0}return!1}(a,e)){o.$shared=!1;l=$e(a,i=S(i)?i():i,this.createResolver(t,i,r))}for(const t of e)o[t]=l[t];return o}createResolver(t,e,i=[""],s){const{resolver:n}=yn(this._resolverCache,t,i);return o(e)?$e(n,e,void 0,s):n}}function yn(t,e,i){let s=t.get(e);s||(s=new Map,t.set(e,s));const n=i.join();let o=s.get(n);if(!o){o={resolver:je(e,i),subPrefixes:i.filter((t=>!t.toLowerCase().includes("hover")))},s.set(n,o)}return o}const vn=t=>o(t)&&Object.getOwnPropertyNames(t).some((e=>S(t[e])));const Mn=["top","bottom","left","right","chartArea"];function wn(t,e){return"top"===t||"bottom"===t||-1===Mn.indexOf(t)&&"x"===e}function kn(t,e){return function(i,s){return i[t]===s[t]?i[e]-s[e]:i[t]-s[t]}}function Sn(t){const e=t.chart,i=e.options.animation;e.notifyPlugins("afterRender"),d(i&&i.onComplete,[t],e)}function Pn(t){const e=t.chart,i=e.options.animation;d(i&&i.onProgress,[t],e)}function Dn(t){return fe()&&"string"==typeof t?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const Cn={},On=t=>{const e=Dn(t);return Object.values(Cn).filter((t=>t.canvas===e)).pop()};function An(t,e,i){const s=Object.keys(t);for(const n of s){const s=+n;if(s>=e){const o=t[n];delete t[n],(i>0||s>e)&&(t[s+i]=o)}}}class Tn{static defaults=ue;static instances=Cn;static overrides=re;static registry=nn;static version="4.5.1";static getChart=On;static register(...t){nn.add(...t),Ln()}static unregister(...t){nn.remove(...t),Ln()}constructor(t,e){const s=this.config=new _n(e),n=Dn(t),o=On(n);if(o)throw new Error("Canvas is already in use. Chart with ID '"+o.id+"' must be destroyed before the canvas with ID '"+o.canvas.id+"' can be reused.");const a=s.createResolver(s.chartOptionScopes(),this.getContext());this.platform=new(s.platform||Ps(n)),this.platform.updateConfig(s);const r=this.platform.acquireContext(n,a.aspectRatio),l=r&&r.canvas,h=l&&l.height,c=l&&l.width;this.id=i(),this.ctx=r,this.canvas=l,this.width=c,this.height=h,this._options=a,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new on,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=dt((t=>this.update(t)),a.resizeDelay||0),this._dataChanges=[],Cn[this.id]=this,r&&l?(bt.listen(this,"complete",Sn),bt.listen(this,"progress",Pn),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:e},width:i,height:n,_aspectRatio:o}=this;return s(t)?e&&o?o:n?i/n:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}get registry(){return nn}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():ke(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return Te(this.canvas,this.ctx),this}stop(){return bt.stop(this),this}resize(t,e){bt.running(this)?this._resizeBeforeDraw={width:t,height:e}:this._resize(t,e)}_resize(t,e){const i=this.options,s=this.canvas,n=i.maintainAspectRatio&&this.aspectRatio,o=this.platform.getMaximumSize(s,t,e,n),a=i.devicePixelRatio||this.platform.getDevicePixelRatio(),r=this.width?"resize":"attach";this.width=o.width,this.height=o.height,this._aspectRatio=this.aspectRatio,ke(this,a,!0)&&(this.notifyPlugins("resize",{size:o}),d(i.onResize,[this,o],this),this.attached&&this._doResize(r)&&this.render())}ensureScalesHaveIDs(){u(this.options.scales||{},((t,e)=>{t.id=e}))}buildOrUpdateScales(){const t=this.options,e=t.scales,i=this.scales,s=Object.keys(i).reduce(((t,e)=>(t[e]=!1,t)),{});let n=[];e&&(n=n.concat(Object.keys(e).map((t=>{const i=e[t],s=cn(t,i),n="r"===s,o="x"===s;return{options:i,dposition:n?"chartArea":o?"bottom":"left",dtype:n?"radialLinear":o?"category":"linear"}})))),u(n,(e=>{const n=e.options,o=n.id,a=cn(o,n),r=l(n.type,e.dtype);void 0!==n.position&&wn(n.position,a)===wn(e.dposition)||(n.position=e.dposition),s[o]=!0;let h=null;if(o in i&&i[o].type===r)h=i[o];else{h=new(nn.getScale(r))({id:o,type:r,ctx:this.ctx,chart:this}),i[h.id]=h}h.init(n,t)})),u(s,((t,e)=>{t||delete i[e]})),u(i,(t=>{ls.configure(this,t,t.options),ls.addBox(this,t)}))}_updateMetasets(){const t=this._metasets,e=this.data.datasets.length,i=t.length;if(t.sort(((t,e)=>t.index-e.index)),i>e){for(let t=e;te.length&&delete this._stacks,t.forEach(((t,i)=>{0===e.filter((e=>e===t._dataset)).length&&this._destroyDatasetMeta(i)}))}buildOrUpdateControllers(){const t=[],e=this.data.datasets;let i,s;for(this._removeUnreferencedMetasets(),i=0,s=e.length;i{this.getDatasetMeta(e).controller.reset()}),this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const e=this.config;e.update();const i=this._options=e.createResolver(e.chartOptionScopes(),this.getContext()),s=this._animationsDisabled=!i.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0}))return;const n=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let o=0;for(let t=0,e=this.data.datasets.length;t{t.reset()})),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(kn("z","_idx"));const{_active:a,_lastEvent:r}=this;r?this._eventHandler(r,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){u(this.scales,(t=>{ls.removeBox(this,t)})),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,e=new Set(Object.keys(this._listeners)),i=new Set(t.events);P(e,i)&&!!this._responsiveListeners===t.responsive||(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,e=this._getUniformDataChanges()||[];for(const{method:i,start:s,count:n}of e){An(t,s,"_removeElements"===i?-n:n)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const e=this.data.datasets.length,i=e=>new Set(t.filter((t=>t[0]===e)).map(((t,e)=>e+","+t.splice(1).join(",")))),s=i(0);for(let t=1;tt.split(","))).map((t=>({method:t[1],start:+t[2],count:+t[3]})))}_updateLayout(t){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;ls.update(this,this.width,this.height,t);const e=this.chartArea,i=e.width<=0||e.height<=0;this._layers=[],u(this.boxes,(t=>{i&&"chartArea"===t.position||(t.configure&&t.configure(),this._layers.push(...t._layers()))}),this),this._layers.forEach(((t,e)=>{t._idx=e})),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})){for(let t=0,e=this.data.datasets.length;t=0;--e)this._drawDataset(t[e]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const e=this.ctx,i={meta:t,index:t.index,cancelable:!0},s=Ni(this,t);!1!==this.notifyPlugins("beforeDatasetDraw",i)&&(s&&Ie(e,s),t.controller.draw(),s&&ze(e),i.cancelable=!1,this.notifyPlugins("afterDatasetDraw",i))}isPointInArea(t){return Re(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,e,i,s){const n=Ki.modes[e];return"function"==typeof n?n(this,t,i,s):[]}getDatasetMeta(t){const e=this.data.datasets[t],i=this._metasets;let s=i.filter((t=>t&&t._dataset===e)).pop();return s||(s={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e&&e.order||0,index:t,_dataset:e,_parsed:[],_sorted:!1},i.push(s)),s}getContext(){return this.$context||(this.$context=Ci(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const e=this.data.datasets[t];if(!e)return!1;const i=this.getDatasetMeta(t);return"boolean"==typeof i.hidden?!i.hidden:!e.hidden}setDatasetVisibility(t,e){this.getDatasetMeta(t).hidden=!e}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,e,i){const s=i?"show":"hide",n=this.getDatasetMeta(t),o=n.controller._resolveAnimations(void 0,s);k(e)?(n.data[e].hidden=!i,this.update()):(this.setDatasetVisibility(t,i),o.update(n,{visible:i}),this.update((e=>e.datasetIndex===t?s:void 0)))}hide(t,e){this._updateVisibility(t,e,!1)}show(t,e){this._updateVisibility(t,e,!0)}_destroyDatasetMeta(t){const e=this._metasets[t];e&&e.controller&&e.controller._destroy(),delete this._metasets[t]}_stop(){let t,e;for(this.stop(),bt.remove(this),t=0,e=this.data.datasets.length;t{e.addEventListener(this,i,s),t[i]=s},s=(t,e,i)=>{t.offsetX=e,t.offsetY=i,this._eventHandler(t)};u(this.options.events,(t=>i(t,s)))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,e=this.platform,i=(i,s)=>{e.addEventListener(this,i,s),t[i]=s},s=(i,s)=>{t[i]&&(e.removeEventListener(this,i,s),delete t[i])},n=(t,e)=>{this.canvas&&this.resize(t,e)};let o;const a=()=>{s("attach",a),this.attached=!0,this.resize(),i("resize",n),i("detach",o)};o=()=>{this.attached=!1,s("resize",n),this._stop(),this._resize(0,0),i("attach",a)},e.isAttached(this.canvas)?a():o()}unbindEvents(){u(this._listeners,((t,e)=>{this.platform.removeEventListener(this,e,t)})),this._listeners={},u(this._responsiveListeners,((t,e)=>{this.platform.removeEventListener(this,e,t)})),this._responsiveListeners=void 0}updateHoverStyle(t,e,i){const s=i?"set":"remove";let n,o,a,r;for("dataset"===e&&(n=this.getDatasetMeta(t[0].datasetIndex),n.controller["_"+s+"DatasetHoverStyle"]()),a=0,r=t.length;a{const i=this.getDatasetMeta(t);if(!i)throw new Error("No dataset found at index "+t);return{datasetIndex:t,element:i.data[e],index:e}}));!f(i,e)&&(this._active=i,this._lastEvent=null,this._updateHoverStyles(i,e))}notifyPlugins(t,e,i){return this._plugins.notify(this,t,e,i)}isPluginEnabled(t){return 1===this._plugins._cache.filter((e=>e.plugin.id===t)).length}_updateHoverStyles(t,e,i){const s=this.options.hover,n=(t,e)=>t.filter((t=>!e.some((e=>t.datasetIndex===e.datasetIndex&&t.index===e.index)))),o=n(e,t),a=i?t:n(t,e);o.length&&this.updateHoverStyle(o,s.mode,!1),a.length&&s.mode&&this.updateHoverStyle(a,s.mode,!0)}_eventHandler(t,e){const i={event:t,replay:e,cancelable:!0,inChartArea:this.isPointInArea(t)},s=e=>(e.options.events||this.options.events).includes(t.native.type);if(!1===this.notifyPlugins("beforeEvent",i,s))return;const n=this._handleEvent(t,e,i.inChartArea);return i.cancelable=!1,this.notifyPlugins("afterEvent",i,s),(n||i.changed)&&this.render(),this}_handleEvent(t,e,i){const{_active:s=[],options:n}=this,o=e,a=this._getActiveElements(t,s,i,o),r=D(t),l=function(t,e,i,s){return i&&"mouseout"!==t.type?s?e:t:null}(t,this._lastEvent,i,r);i&&(this._lastEvent=null,d(n.onHover,[t,a,this],this),r&&d(n.onClick,[t,a,this],this));const h=!f(a,s);return(h||e)&&(this._active=a,this._updateHoverStyles(a,s,e)),this._lastEvent=l,h}_getActiveElements(t,e,i,s){if("mouseout"===t.type)return[];if(!i)return e;const n=this.options.hover;return this.getElementsAtEventForMode(t,n.mode,n,s)}}function Ln(){return u(Tn.instances,(t=>t._plugins.invalidate()))}function En(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class Rn{static override(t){Object.assign(Rn.prototype,t)}options;constructor(t){this.options=t||{}}init(){}formats(){return En()}parse(){return En()}format(){return En()}add(){return En()}diff(){return En()}startOf(){return En()}endOf(){return En()}}var In={_date:Rn};function zn(t){const e=t.iScale,i=function(t,e){if(!t._cache.$bar){const i=t.getMatchingVisibleMetas(e);let s=[];for(let e=0,n=i.length;et-e)))}return t._cache.$bar}(e,t.type);let s,n,o,a,r=e._length;const l=()=>{32767!==o&&-32768!==o&&(k(a)&&(r=Math.min(r,Math.abs(o-a)||r)),a=o)};for(s=0,n=i.length;sMath.abs(r)&&(l=r,h=a),e[i.axis]=h,e._custom={barStart:l,barEnd:h,start:n,end:o,min:a,max:r}}(t,e,i,s):e[i.axis]=i.parse(t,s),e}function Vn(t,e,i,s){const n=t.iScale,o=t.vScale,a=n.getLabels(),r=n===o,l=[];let h,c,d,u;for(h=i,c=i+s;ht.x,i="left",s="right"):(e=t.base"spacing"!==t,_indexable:t=>"spacing"!==t&&!t.startsWith("borderDash")&&!t.startsWith("hoverBorderDash")};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const e=t.data,{labels:{pointStyle:i,textAlign:s,color:n,useBorderRadius:o,borderRadius:a}}=t.legend.options;return e.labels.length&&e.datasets.length?e.labels.map(((e,r)=>{const l=t.getDatasetMeta(0).controller.getStyle(r);return{text:e,fillStyle:l.backgroundColor,fontColor:n,hidden:!t.getDataVisibility(r),lineDash:l.borderDash,lineDashOffset:l.borderDashOffset,lineJoin:l.borderJoinStyle,lineWidth:l.borderWidth,strokeStyle:l.borderColor,textAlign:s,pointStyle:i,borderRadius:o&&(a||l.borderRadius),index:r}})):[]}},onClick(t,e,i){i.chart.toggleDataVisibility(e.index),i.chart.update()}}}};constructor(t,e){super(t,e),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,e){const i=this.getDataset().data,s=this._cachedMeta;if(!1===this._parsing)s._parsed=i;else{let n,a,r=t=>+i[t];if(o(i[t])){const{key:t="value"}=this._parsing;r=e=>+M(i[e],t)}for(n=t,a=t+e;nJ(t,r,l,!0)?1:Math.max(e,e*i,s,s*i),g=(t,e,s)=>J(t,r,l,!0)?-1:Math.min(e,e*i,s,s*i),p=f(0,h,d),m=f(E,c,u),x=g(C,h,d),b=g(C+E,c,u);s=(p-x)/2,n=(m-b)/2,o=-(p+x)/2,a=-(m+b)/2}return{ratioX:s,ratioY:n,offsetX:o,offsetY:a}}(u,d,r),x=(i.width-o)/f,b=(i.height-o)/g,_=Math.max(Math.min(x,b)/2,0),y=c(this.options.radius,_),v=(y-Math.max(y*r,0))/this._getVisibleDatasetWeightTotal();this.offsetX=p*y,this.offsetY=m*y,s.total=this.calculateTotal(),this.outerRadius=y-v*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-v*l,0),this.updateElements(n,0,n.length,t)}_circumference(t,e){const i=this.options,s=this._cachedMeta,n=this._getCircumference();return e&&i.animation.animateRotate||!this.chart.getDataVisibility(t)||null===s._parsed[t]||s.data[t].hidden?0:this.calculateCircumference(s._parsed[t]*n/O)}updateElements(t,e,i,s){const n="reset"===s,o=this.chart,a=o.chartArea,r=o.options.animation,l=(a.left+a.right)/2,h=(a.top+a.bottom)/2,c=n&&r.animateScale,d=c?0:this.innerRadius,u=c?0:this.outerRadius,{sharedOptions:f,includeOptions:g}=this._getSharedOptions(e,s);let p,m=this._getRotation();for(p=0;p0&&!isNaN(t)?O*(Math.abs(t)/e):0}getLabelAndValue(t){const e=this._cachedMeta,i=this.chart,s=i.data.labels||[],n=ne(e._parsed[t],i.options.locale);return{label:s[t]||"",value:n}}getMaxBorderWidth(t){let e=0;const i=this.chart;let s,n,o,a,r;if(!t)for(s=0,n=i.data.datasets.length;s{const o=t.getDatasetMeta(0).controller.getStyle(n);return{text:e,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,fontColor:s,lineWidth:o.borderWidth,pointStyle:i,hidden:!t.getDataVisibility(n),index:n}}))}return[]}},onClick(t,e,i){i.chart.toggleDataVisibility(e.index),i.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};constructor(t,e){super(t,e),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(t){const e=this._cachedMeta,i=this.chart,s=i.data.labels||[],n=ne(e._parsed[t].r,i.options.locale);return{label:s[t]||"",value:n}}parseObjectData(t,e,i,s){return ii.bind(this)(t,e,i,s)}update(t){const e=this._cachedMeta.data;this._updateRadius(),this.updateElements(e,0,e.length,t)}getMinMax(){const t=this._cachedMeta,e={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return t.data.forEach(((t,i)=>{const s=this.getParsed(i).r;!isNaN(s)&&this.chart.getDataVisibility(i)&&(se.max&&(e.max=s))})),e}_updateRadius(){const t=this.chart,e=t.chartArea,i=t.options,s=Math.min(e.right-e.left,e.bottom-e.top),n=Math.max(s/2,0),o=(n-Math.max(i.cutoutPercentage?n/100*i.cutoutPercentage:1,0))/t.getVisibleDatasetCount();this.outerRadius=n-o*this.index,this.innerRadius=this.outerRadius-o}updateElements(t,e,i,s){const n="reset"===s,o=this.chart,a=o.options.animation,r=this._cachedMeta.rScale,l=r.xCenter,h=r.yCenter,c=r.getIndexAngle(0)-.5*C;let d,u=c;const f=360/this.countVisibleElements();for(d=0;d{!isNaN(this.getParsed(i).r)&&this.chart.getDataVisibility(i)&&e++})),e}_computeAngle(t,e,i){return this.chart.getDataVisibility(t)?$(this.resolveDataElementOptions(t,e).angle||i):0}}var Un=Object.freeze({__proto__:null,BarController:class extends js{static id="bar";static defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}};static overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};parsePrimitiveData(t,e,i,s){return Vn(t,e,i,s)}parseArrayData(t,e,i,s){return Vn(t,e,i,s)}parseObjectData(t,e,i,s){const{iScale:n,vScale:o}=t,{xAxisKey:a="x",yAxisKey:r="y"}=this._parsing,l="x"===n.axis?a:r,h="x"===o.axis?a:r,c=[];let d,u,f,g;for(d=i,u=i+s;dt.controller.options.grouped)),o=i.options.stacked,a=[],r=this._cachedMeta.controller.getParsed(e),l=r&&r[i.axis],h=t=>{const e=t._parsed.find((t=>t[i.axis]===l)),n=e&&e[t.vScale.axis];if(s(n)||isNaN(n))return!0};for(const i of n)if((void 0===e||!h(i))&&((!1===o||-1===a.indexOf(i.stack)||void 0===o&&void 0===i.stack)&&a.push(i.stack),i.index===t))break;return a.length||a.push(void 0),a}_getStackCount(t){return this._getStacks(void 0,t).length}_getAxisCount(){return this._getAxis().length}getFirstScaleIdForIndexAxis(){const t=this.chart.scales,e=this.chart.options.indexAxis;return Object.keys(t).filter((i=>t[i].axis===e)).shift()}_getAxis(){const t={},e=this.getFirstScaleIdForIndexAxis();for(const i of this.chart.data.datasets)t[l("x"===this.chart.options.indexAxis?i.xAxisID:i.yAxisID,e)]=!0;return Object.keys(t)}_getStackIndex(t,e,i){const s=this._getStacks(t,i),n=void 0!==e?s.indexOf(e):-1;return-1===n?s.length-1:n}_getRuler(){const t=this.options,e=this._cachedMeta,i=e.iScale,s=[];let n,o;for(n=0,o=e.data.length;n=i?1:-1)}(u,e,r)*a,f===r&&(x-=u/2);const t=e.getPixelForDecimal(0),s=e.getPixelForDecimal(1),o=Math.min(t,s),h=Math.max(t,s);x=Math.max(Math.min(x,h),o),d=x+u,i&&!c&&(l._stacks[e.axis]._visualValues[n]=e.getValueForPixel(d)-e.getValueForPixel(x))}if(x===e.getPixelForValue(r)){const t=F(u)*e.getLineWidthForValue(r)/2;x+=t,u-=t}return{size:u,base:x,head:d,center:d+u/2}}_calculateBarIndexPixels(t,e){const i=e.scale,n=this.options,o=n.skipNull,a=l(n.maxBarThickness,1/0);let r,h;const c=this._getAxisCount();if(e.grouped){const i=o?this._getStackCount(t):e.stackCount,d="flex"===n.barThickness?function(t,e,i,s){const n=e.pixels,o=n[t];let a=t>0?n[t-1]:null,r=t=0;--i)e=Math.max(e,t[i].size(this.resolveDataElementOptions(i))/2);return e>0&&e}getLabelAndValue(t){const e=this._cachedMeta,i=this.chart.data.labels||[],{xScale:s,yScale:n}=e,o=this.getParsed(t),a=s.getLabelForValue(o.x),r=n.getLabelForValue(o.y),l=o._custom;return{label:i[t]||"",value:"("+a+", "+r+(l?", "+l:"")+")"}}update(t){const e=this._cachedMeta.data;this.updateElements(e,0,e.length,t)}updateElements(t,e,i,s){const n="reset"===s,{iScale:o,vScale:a}=this._cachedMeta,{sharedOptions:r,includeOptions:l}=this._getSharedOptions(e,s),h=o.axis,c=a.axis;for(let d=e;d0&&this.getParsed(e-1);for(let i=0;i<_;++i){const g=t[i],_=x?g:{};if(i=b){_.skip=!0;continue}const v=this.getParsed(i),M=s(v[f]),w=_[u]=a.getPixelForValue(v[u],i),k=_[f]=o||M?r.getBasePixel():r.getPixelForValue(l?this.applyStack(r,v,l):v[f],i);_.skip=isNaN(w)||isNaN(k)||M,_.stop=i>0&&Math.abs(v[u]-y[u])>m,p&&(_.parsed=v,_.raw=h.data[i]),d&&(_.options=c||this.resolveDataElementOptions(i,g.active?"active":n)),x||this.updateElement(g,i,_,n),y=v}}getMaxOverflow(){const t=this._cachedMeta,e=t.dataset,i=e.options&&e.options.borderWidth||0,s=t.data||[];if(!s.length)return i;const n=s[0].size(this.resolveDataElementOptions(0)),o=s[s.length-1].size(this.resolveDataElementOptions(s.length-1));return Math.max(i,n,o)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}},PieController:class extends $n{static id="pie";static defaults={cutout:0,rotation:0,circumference:360,radius:"100%"}},PolarAreaController:Yn,RadarController:class extends js{static id="radar";static defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}};static overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};getLabelAndValue(t){const e=this._cachedMeta.vScale,i=this.getParsed(t);return{label:e.getLabels()[t],value:""+e.getLabelForValue(i[e.axis])}}parseObjectData(t,e,i,s){return ii.bind(this)(t,e,i,s)}update(t){const e=this._cachedMeta,i=e.dataset,s=e.data||[],n=e.iScale.getLabels();if(i.points=s,"resize"!==t){const e=this.resolveDatasetElementOptions(t);this.options.showLine||(e.borderWidth=0);const o={_loop:!0,_fullLoop:n.length===s.length,options:e};this.updateElement(i,void 0,o,t)}this.updateElements(s,0,s.length,t)}updateElements(t,e,i,s){const n=this._cachedMeta.rScale,o="reset"===s;for(let a=e;a0&&this.getParsed(e-1);for(let c=e;c0&&Math.abs(i[f]-_[f])>x,m&&(p.parsed=i,p.raw=h.data[c]),u&&(p.options=d||this.resolveDataElementOptions(c,e.active?"active":n)),b||this.updateElement(e,c,p,n),_=i}this.updateSharedOptions(d,n,c)}getMaxOverflow(){const t=this._cachedMeta,e=t.data||[];if(!this.options.showLine){let t=0;for(let i=e.length-1;i>=0;--i)t=Math.max(t,e[i].size(this.resolveDataElementOptions(i))/2);return t>0&&t}const i=t.dataset,s=i.options&&i.options.borderWidth||0;if(!e.length)return s;const n=e[0].size(this.resolveDataElementOptions(0)),o=e[e.length-1].size(this.resolveDataElementOptions(e.length-1));return Math.max(s,n,o)/2}}});function Xn(t,e,i,s){const n=vi(t.options.borderRadius,["outerStart","outerEnd","innerStart","innerEnd"]);const o=(i-e)/2,a=Math.min(o,s*e/2),r=t=>{const e=(i-Math.min(o,t))*s/2;return Z(t,0,Math.min(o,e))};return{outerStart:r(n.outerStart),outerEnd:r(n.outerEnd),innerStart:Z(n.innerStart,0,a),innerEnd:Z(n.innerEnd,0,a)}}function qn(t,e,i,s){return{x:i+t*Math.cos(e),y:s+t*Math.sin(e)}}function Kn(t,e,i,s,n,o){const{x:a,y:r,startAngle:l,pixelMargin:h,innerRadius:c}=e,d=Math.max(e.outerRadius+s+i-h,0),u=c>0?c+s+i+h:0;let f=0;const g=n-l;if(s){const t=((c>0?c-s:0)+(d>0?d-s:0))/2;f=(g-(0!==t?g*t/(t+s):g))/2}const p=(g-Math.max(.001,g*d-i/C)/d)/2,m=l+p+f,x=n-p-f,{outerStart:b,outerEnd:_,innerStart:y,innerEnd:v}=Xn(e,u,d,x-m),M=d-b,w=d-_,k=m+b/M,S=x-_/w,P=u+y,D=u+v,O=m+y/P,A=x-v/D;if(t.beginPath(),o){const e=(k+S)/2;if(t.arc(a,r,d,k,e),t.arc(a,r,d,e,S),_>0){const e=qn(w,S,a,r);t.arc(e.x,e.y,_,S,x+E)}const i=qn(D,x,a,r);if(t.lineTo(i.x,i.y),v>0){const e=qn(D,A,a,r);t.arc(e.x,e.y,v,x+E,A+Math.PI)}const s=(x-v/u+(m+y/u))/2;if(t.arc(a,r,u,x-v/u,s,!0),t.arc(a,r,u,s,m+y/u,!0),y>0){const e=qn(P,O,a,r);t.arc(e.x,e.y,y,O+Math.PI,m-E)}const n=qn(M,m,a,r);if(t.lineTo(n.x,n.y),b>0){const e=qn(M,k,a,r);t.arc(e.x,e.y,b,m-E,k)}}else{t.moveTo(a,r);const e=Math.cos(k)*d+a,i=Math.sin(k)*d+r;t.lineTo(e,i);const s=Math.cos(S)*d+a,n=Math.sin(S)*d+r;t.lineTo(s,n)}t.closePath()}function Gn(t,e,i,s,n){const{fullCircles:o,startAngle:a,circumference:r,options:l}=e,{borderWidth:h,borderJoinStyle:c,borderDash:d,borderDashOffset:u,borderRadius:f}=l,g="inner"===l.borderAlign;if(!h)return;t.setLineDash(d||[]),t.lineDashOffset=u,g?(t.lineWidth=2*h,t.lineJoin=c||"round"):(t.lineWidth=h,t.lineJoin=c||"bevel");let p=e.endAngle;if(o){Kn(t,e,i,s,p,n);for(let e=0;en?(h=n/l,t.arc(o,a,l,i+h,s-h,!0)):t.arc(o,a,n,i+E,s-E),t.closePath(),t.clip()}(t,e,p),l.selfJoin&&p-a>=C&&0===f&&"miter"!==c&&function(t,e,i){const{startAngle:s,x:n,y:o,outerRadius:a,innerRadius:r,options:l}=e,{borderWidth:h,borderJoinStyle:c}=l,d=Math.min(h/a,G(s-i));if(t.beginPath(),t.arc(n,o,a-h/2,s+d/2,i-d/2),r>0){const e=Math.min(h/r,G(s-i));t.arc(n,o,r+h/2,i-e/2,s+e/2,!0)}else{const e=Math.min(h/2,a*G(s-i));if("round"===c)t.arc(n,o,e,i-C/2,s+C/2,!0);else if("bevel"===c){const a=2*e*e,r=-a*Math.cos(i+C/2)+n,l=-a*Math.sin(i+C/2)+o,h=a*Math.cos(s+C/2)+n,c=a*Math.sin(s+C/2)+o;t.lineTo(r,l),t.lineTo(h,c)}}t.closePath(),t.moveTo(0,0),t.rect(0,0,t.canvas.width,t.canvas.height),t.clip("evenodd")}(t,e,p),o||(Kn(t,e,i,s,p,n),t.stroke())}function Jn(t,e,i=e){t.lineCap=l(i.borderCapStyle,e.borderCapStyle),t.setLineDash(l(i.borderDash,e.borderDash)),t.lineDashOffset=l(i.borderDashOffset,e.borderDashOffset),t.lineJoin=l(i.borderJoinStyle,e.borderJoinStyle),t.lineWidth=l(i.borderWidth,e.borderWidth),t.strokeStyle=l(i.borderColor,e.borderColor)}function Zn(t,e,i){t.lineTo(i.x,i.y)}function Qn(t,e,i={}){const s=t.length,{start:n=0,end:o=s-1}=i,{start:a,end:r}=e,l=Math.max(n,a),h=Math.min(o,r),c=nr&&o>r;return{count:s,start:l,loop:e.loop,ilen:h(a+(h?r-t:t))%o,_=()=>{f!==g&&(t.lineTo(m,g),t.lineTo(m,f),t.lineTo(m,p))};for(l&&(d=n[b(0)],t.moveTo(d.x,d.y)),c=0;c<=r;++c){if(d=n[b(c)],d.skip)continue;const e=d.x,i=d.y,s=0|e;s===u?(ig&&(g=i),m=(x*m+e)/++x):(_(),t.lineTo(e,i),u=s,x=0,f=g=i),p=i}_()}function io(t){const e=t.options,i=e.borderDash&&e.borderDash.length;return!(t._decimated||t._loop||e.tension||"monotone"===e.cubicInterpolationMode||e.stepped||i)?eo:to}const so="function"==typeof Path2D;function no(t,e,i,s){so&&!e.options.segment?function(t,e,i,s){let n=e._path;n||(n=e._path=new Path2D,e.path(n,i,s)&&n.closePath()),Jn(t,e.options),t.stroke(n)}(t,e,i,s):function(t,e,i,s){const{segments:n,options:o}=e,a=io(e);for(const r of n)Jn(t,o,r.style),t.beginPath(),a(t,e,r,{start:i,end:i+s-1})&&t.closePath(),t.stroke()}(t,e,i,s)}class oo extends $s{static id="line";static defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};static descriptors={_scriptable:!0,_indexable:t=>"borderDash"!==t&&"fill"!==t};constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,e){const i=this.options;if((i.tension||"monotone"===i.cubicInterpolationMode)&&!i.stepped&&!this._pointsUpdated){const s=i.spanGaps?this._loop:this._fullLoop;hi(this._points,i,t,s,e),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=zi(this,this.options.segment))}first(){const t=this.segments,e=this.points;return t.length&&e[t[0].start]}last(){const t=this.segments,e=this.points,i=t.length;return i&&e[t[i-1].end]}interpolate(t,e){const i=this.options,s=t[e],n=this.points,o=Ii(this,{property:e,start:s,end:s});if(!o.length)return;const a=[],r=function(t){return t.stepped?pi:t.tension||"monotone"===t.cubicInterpolationMode?mi:gi}(i);let l,h;for(l=0,h=o.length;l"borderDash"!==t};circumference;endAngle;fullCircles;innerRadius;outerRadius;pixelMargin;startAngle;constructor(t){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,t&&Object.assign(this,t)}inRange(t,e,i){const s=this.getProps(["x","y"],i),{angle:n,distance:o}=X(s,{x:t,y:e}),{startAngle:a,endAngle:r,innerRadius:h,outerRadius:c,circumference:d}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],i),u=(this.options.spacing+this.options.borderWidth)/2,f=l(d,r-a),g=J(n,a,r)&&a!==r,p=f>=O||g,m=tt(o,h+u,c+u);return p&&m}getCenterPoint(t){const{x:e,y:i,startAngle:s,endAngle:n,innerRadius:o,outerRadius:a}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],t),{offset:r,spacing:l}=this.options,h=(s+n)/2,c=(o+a+l+r)/2;return{x:e+Math.cos(h)*c,y:i+Math.sin(h)*c}}tooltipPosition(t){return this.getCenterPoint(t)}draw(t){const{options:e,circumference:i}=this,s=(e.offset||0)/4,n=(e.spacing||0)/2,o=e.circular;if(this.pixelMargin="inner"===e.borderAlign?.33:0,this.fullCircles=i>O?Math.floor(i/O):0,0===i||this.innerRadius<0||this.outerRadius<0)return;t.save();const a=(this.startAngle+this.endAngle)/2;t.translate(Math.cos(a)*s,Math.sin(a)*s);const r=s*(1-Math.sin(Math.min(C,i||0)));t.fillStyle=e.backgroundColor,t.strokeStyle=e.borderColor,function(t,e,i,s,n){const{fullCircles:o,startAngle:a,circumference:r}=e;let l=e.endAngle;if(o){Kn(t,e,i,s,l,n);for(let e=0;e("string"==typeof e?(i=t.push(e)-1,s.unshift({index:i,label:e})):isNaN(e)&&(i=null),i))(t,e,i,s);return n!==t.lastIndexOf(e)?i:n}function mo(t){const e=this.getLabels();return t>=0&&ts=e?s:t,a=t=>n=i?n:t;if(t){const t=F(s),e=F(n);t<0&&e<0?a(0):t>0&&e>0&&o(0)}if(s===n){let e=0===n?1:Math.abs(.05*n);a(n+e),t||o(s-e)}this.min=s,this.max=n}getTickLimit(){const t=this.options.ticks;let e,{maxTicksLimit:i,stepSize:s}=t;return s?(e=Math.ceil(this.max/s)-Math.floor(this.min/s)+1,e>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${s} would result generating up to ${e} ticks. Limiting to 1000.`),e=1e3)):(e=this.computeTickLimit(),i=i||11),i&&(e=Math.min(i,e)),e}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,e=t.ticks;let i=this.getTickLimit();i=Math.max(2,i);const n=function(t,e){const i=[],{bounds:n,step:o,min:a,max:r,precision:l,count:h,maxTicks:c,maxDigits:d,includeBounds:u}=t,f=o||1,g=c-1,{min:p,max:m}=e,x=!s(a),b=!s(r),_=!s(h),y=(m-p)/(d+1);let v,M,w,k,S=B((m-p)/g/f)*f;if(S<1e-14&&!x&&!b)return[{value:p},{value:m}];k=Math.ceil(m/S)-Math.floor(p/S),k>g&&(S=B(k*S/g/f)*f),s(l)||(v=Math.pow(10,l),S=Math.ceil(S*v)/v),"ticks"===n?(M=Math.floor(p/S)*S,w=Math.ceil(m/S)*S):(M=p,w=m),x&&b&&o&&H((r-a)/o,S/1e3)?(k=Math.round(Math.min((r-a)/S,c)),S=(r-a)/k,M=a,w=r):_?(M=x?a:M,w=b?r:w,k=h-1,S=(w-M)/k):(k=(w-M)/S,k=V(k,Math.round(k),S/1e3)?Math.round(k):Math.ceil(k));const P=Math.max(U(S),U(M));v=Math.pow(10,s(l)?P:l),M=Math.round(M*v)/v,w=Math.round(w*v)/v;let D=0;for(x&&(u&&M!==a?(i.push({value:a}),Mr)break;i.push({value:t})}return b&&u&&w!==r?i.length&&V(i[i.length-1].value,r,xo(r,y,t))?i[i.length-1].value=r:i.push({value:r}):b&&w!==r||i.push({value:w}),i}({maxTicks:i,bounds:t.bounds,min:t.min,max:t.max,precision:e.precision,step:e.stepSize,count:e.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:e.minRotation||0,includeBounds:!1!==e.includeBounds},this._range||this);return"ticks"===t.bounds&&j(n,this,"value"),t.reverse?(n.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),n}configure(){const t=this.ticks;let e=this.min,i=this.max;if(super.configure(),this.options.offset&&t.length){const s=(i-e)/Math.max(t.length-1,1)/2;e-=s,i+=s}this._startValue=e,this._endValue=i,this._valueRange=i-e}getLabelForValue(t){return ne(t,this.chart.options.locale,this.options.ticks.format)}}class _o extends bo{static id="linear";static defaults={ticks:{callback:ae.formatters.numeric}};determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=a(t)?t:0,this.max=a(e)?e:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),e=t?this.width:this.height,i=$(this.options.ticks.minRotation),s=(t?Math.sin(i):Math.cos(i))||.001,n=this._resolveTickFontOptions(0);return Math.ceil(e/Math.min(40,n.lineHeight/s))}getPixelForValue(t){return null===t?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}const yo=t=>Math.floor(z(t)),vo=(t,e)=>Math.pow(10,yo(t)+e);function Mo(t){return 1===t/Math.pow(10,yo(t))}function wo(t,e,i){const s=Math.pow(10,i),n=Math.floor(t/s);return Math.ceil(e/s)-n}function ko(t,{min:e,max:i}){e=r(t.min,e);const s=[],n=yo(e);let o=function(t,e){let i=yo(e-t);for(;wo(t,e,i)>10;)i++;for(;wo(t,e,i)<10;)i--;return Math.min(i,yo(t))}(e,i),a=o<0?Math.pow(10,Math.abs(o)):1;const l=Math.pow(10,o),h=n>o?Math.pow(10,n):0,c=Math.round((e-h)*a)/a,d=Math.floor((e-h)/l/10)*l*10;let u=Math.floor((c-d)/Math.pow(10,o)),f=r(t.min,Math.round((h+d+u*Math.pow(10,o))*a)/a);for(;f=10?u=u<15?15:20:u++,u>=20&&(o++,u=2,a=o>=0?1:a),f=Math.round((h+d+u*Math.pow(10,o))*a)/a;const g=r(t.max,f);return s.push({value:g,major:Mo(g),significand:u}),s}class So extends tn{static id="logarithmic";static defaults={ticks:{callback:ae.formatters.logarithmic,major:{enabled:!0}}};constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(t,e){const i=bo.prototype.parse.apply(this,[t,e]);if(0!==i)return a(i)&&i>0?i:null;this._zero=!0}determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=a(t)?Math.max(0,t):null,this.max=a(e)?Math.max(0,e):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!a(this._userMin)&&(this.min=t===vo(this.min,0)?vo(this.min,-1):vo(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let i=this.min,s=this.max;const n=e=>i=t?i:e,o=t=>s=e?s:t;i===s&&(i<=0?(n(1),o(10)):(n(vo(i,-1)),o(vo(s,1)))),i<=0&&n(vo(s,-1)),s<=0&&o(vo(i,1)),this.min=i,this.max=s}buildTicks(){const t=this.options,e=ko({min:this._userMin,max:this._userMax},this);return"ticks"===t.bounds&&j(e,this,"value"),t.reverse?(e.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),e}getLabelForValue(t){return void 0===t?"0":ne(t,this.chart.options.locale,this.options.ticks.format)}configure(){const t=this.min;super.configure(),this._startValue=z(t),this._valueRange=z(this.max)-z(t)}getPixelForValue(t){return void 0!==t&&0!==t||(t=this.min),null===t||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:(z(t)-this._startValue)/this._valueRange)}getValueForPixel(t){const e=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+e*this._valueRange)}}function Po(t){const e=t.ticks;if(e.display&&t.display){const t=ki(e.backdropPadding);return l(e.font&&e.font.size,ue.font.size)+t.height}return 0}function Do(t,e,i,s,n){return t===s||t===n?{start:e-i/2,end:e+i/2}:tn?{start:e-i,end:e}:{start:e,end:e+i}}function Co(t){const e={l:t.left+t._padding.left,r:t.right-t._padding.right,t:t.top+t._padding.top,b:t.bottom-t._padding.bottom},i=Object.assign({},e),s=[],o=[],a=t._pointLabels.length,r=t.options.pointLabels,l=r.centerPointLabels?C/a:0;for(let u=0;ue.r&&(r=(s.end-e.r)/o,t.r=Math.max(t.r,e.r+r)),n.starte.b&&(l=(n.end-e.b)/a,t.b=Math.max(t.b,e.b+l))}function Ao(t,e,i){const s=t.drawingArea,{extra:n,additionalAngle:o,padding:a,size:r}=i,l=t.getPointPosition(e,s+n+a,o),h=Math.round(Y(G(l.angle+E))),c=function(t,e,i){90===i||270===i?t-=e/2:(i>270||i<90)&&(t-=e);return t}(l.y,r.h,h),d=function(t){if(0===t||180===t)return"center";if(t<180)return"left";return"right"}(h),u=function(t,e,i){"right"===i?t-=e:"center"===i&&(t-=e/2);return t}(l.x,r.w,d);return{visible:!0,x:l.x,y:c,textAlign:d,left:u,top:c,right:u+r.w,bottom:c+r.h}}function To(t,e){if(!e)return!0;const{left:i,top:s,right:n,bottom:o}=t;return!(Re({x:i,y:s},e)||Re({x:i,y:o},e)||Re({x:n,y:s},e)||Re({x:n,y:o},e))}function Lo(t,e,i){const{left:n,top:o,right:a,bottom:r}=i,{backdropColor:l}=e;if(!s(l)){const i=wi(e.borderRadius),s=ki(e.backdropPadding);t.fillStyle=l;const h=n-s.left,c=o-s.top,d=a-n+s.width,u=r-o+s.height;Object.values(i).some((t=>0!==t))?(t.beginPath(),He(t,{x:h,y:c,w:d,h:u,radius:i}),t.fill()):t.fillRect(h,c,d,u)}}function Eo(t,e,i,s){const{ctx:n}=t;if(i)n.arc(t.xCenter,t.yCenter,e,0,O);else{let i=t.getPointPosition(0,e);n.moveTo(i.x,i.y);for(let o=1;ot,padding:5,centerPointLabels:!1}};static defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"};static descriptors={angleLines:{_fallback:"grid"}};constructor(t){super(t),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const t=this._padding=ki(Po(this.options)/2),e=this.width=this.maxWidth-t.width,i=this.height=this.maxHeight-t.height;this.xCenter=Math.floor(this.left+e/2+t.left),this.yCenter=Math.floor(this.top+i/2+t.top),this.drawingArea=Math.floor(Math.min(e,i)/2)}determineDataLimits(){const{min:t,max:e}=this.getMinMax(!1);this.min=a(t)&&!isNaN(t)?t:0,this.max=a(e)&&!isNaN(e)?e:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/Po(this.options))}generateTickLabels(t){bo.prototype.generateTickLabels.call(this,t),this._pointLabels=this.getLabels().map(((t,e)=>{const i=d(this.options.pointLabels.callback,[t,e],this);return i||0===i?i:""})).filter(((t,e)=>this.chart.getDataVisibility(e)))}fit(){const t=this.options;t.display&&t.pointLabels.display?Co(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,e,i,s){this.xCenter+=Math.floor((t-e)/2),this.yCenter+=Math.floor((i-s)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,e,i,s))}getIndexAngle(t){return G(t*(O/(this._pointLabels.length||1))+$(this.options.startAngle||0))}getDistanceFromCenterForValue(t){if(s(t))return NaN;const e=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*e:(t-this.min)*e}getValueForDistanceFromCenter(t){if(s(t))return NaN;const e=t/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-e:this.min+e}getPointLabelContext(t){const e=this._pointLabels||[];if(t>=0&&t=0;n--){const e=t._pointLabelItems[n];if(!e.visible)continue;const o=s.setContext(t.getPointLabelContext(n));Lo(i,o,e);const a=Si(o.font),{x:r,y:l,textAlign:h}=e;Ne(i,t._pointLabels[n],r,l+a.lineHeight/2,a,{color:o.color,textAlign:h,textBaseline:"middle"})}}(this,o),s.display&&this.ticks.forEach(((t,e)=>{if(0!==e||0===e&&this.min<0){r=this.getDistanceFromCenterForValue(t.value);const i=this.getContext(e),a=s.setContext(i),l=n.setContext(i);!function(t,e,i,s,n){const o=t.ctx,a=e.circular,{color:r,lineWidth:l}=e;!a&&!s||!r||!l||i<0||(o.save(),o.strokeStyle=r,o.lineWidth=l,o.setLineDash(n.dash||[]),o.lineDashOffset=n.dashOffset,o.beginPath(),Eo(t,i,a,s),o.closePath(),o.stroke(),o.restore())}(this,a,r,o,l)}})),i.display){for(t.save(),a=o-1;a>=0;a--){const s=i.setContext(this.getPointLabelContext(a)),{color:n,lineWidth:o}=s;o&&n&&(t.lineWidth=o,t.strokeStyle=n,t.setLineDash(s.borderDash),t.lineDashOffset=s.borderDashOffset,r=this.getDistanceFromCenterForValue(e.reverse?this.min:this.max),l=this.getPointPosition(a,r),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(l.x,l.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const t=this.ctx,e=this.options,i=e.ticks;if(!i.display)return;const s=this.getIndexAngle(0);let n,o;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(s),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach(((s,a)=>{if(0===a&&this.min>=0&&!e.reverse)return;const r=i.setContext(this.getContext(a)),l=Si(r.font);if(n=this.getDistanceFromCenterForValue(this.ticks[a].value),r.showLabelBackdrop){t.font=l.string,o=t.measureText(s.label).width,t.fillStyle=r.backdropColor;const e=ki(r.backdropPadding);t.fillRect(-o/2-e.left,-n-l.size/2-e.top,o+e.width,l.size+e.height)}Ne(t,s.label,0,-n,l,{color:r.color,strokeColor:r.textStrokeColor,strokeWidth:r.textStrokeWidth})})),t.restore()}drawTitle(){}}const Io={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},zo=Object.keys(Io);function Fo(t,e){return t-e}function Vo(t,e){if(s(e))return null;const i=t._adapter,{parser:n,round:o,isoWeekday:r}=t._parseOpts;let l=e;return"function"==typeof n&&(l=n(l)),a(l)||(l="string"==typeof n?i.parse(l,n):i.parse(l)),null===l?null:(o&&(l="week"!==o||!N(r)&&!0!==r?i.startOf(l,o):i.startOf(l,"isoWeek",r)),+l)}function Bo(t,e,i,s){const n=zo.length;for(let o=zo.indexOf(t);o=e?i[s]:i[n]]=!0}}else t[e]=!0}function No(t,e,i){const s=[],n={},o=e.length;let a,r;for(a=0;a=0&&(e[l].major=!0);return e}(t,s,n,i):s}class Ho extends tn{static id="time";static defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}};constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(t,e={}){const i=t.time||(t.time={}),s=this._adapter=new In._date(t.adapters.date);s.init(e),b(i.displayFormats,s.formats()),this._parseOpts={parser:i.parser,round:i.round,isoWeekday:i.isoWeekday},super.init(t),this._normalized=e.normalized}parse(t,e){return void 0===t?null:Vo(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const t=this.options,e=this._adapter,i=t.time.unit||"day";let{min:s,max:n,minDefined:o,maxDefined:r}=this.getUserBounds();function l(t){o||isNaN(t.min)||(s=Math.min(s,t.min)),r||isNaN(t.max)||(n=Math.max(n,t.max))}o&&r||(l(this._getLabelBounds()),"ticks"===t.bounds&&"labels"===t.ticks.source||l(this.getMinMax(!1))),s=a(s)&&!isNaN(s)?s:+e.startOf(Date.now(),i),n=a(n)&&!isNaN(n)?n:+e.endOf(Date.now(),i)+1,this.min=Math.min(s,n-1),this.max=Math.max(s+1,n)}_getLabelBounds(){const t=this.getLabelTimestamps();let e=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;return t.length&&(e=t[0],i=t[t.length-1]),{min:e,max:i}}buildTicks(){const t=this.options,e=t.time,i=t.ticks,s="labels"===i.source?this.getLabelTimestamps():this._generate();"ticks"===t.bounds&&s.length&&(this.min=this._userMin||s[0],this.max=this._userMax||s[s.length-1]);const n=this.min,o=nt(s,n,this.max);return this._unit=e.unit||(i.autoSkip?Bo(e.minUnit,this.min,this.max,this._getLabelCapacity(n)):function(t,e,i,s,n){for(let o=zo.length-1;o>=zo.indexOf(i);o--){const i=zo[o];if(Io[i].common&&t._adapter.diff(n,s,i)>=e-1)return i}return zo[i?zo.indexOf(i):0]}(this,o.length,e.minUnit,this.min,this.max)),this._majorUnit=i.major.enabled&&"year"!==this._unit?function(t){for(let e=zo.indexOf(t)+1,i=zo.length;e+t.value)))}initOffsets(t=[]){let e,i,s=0,n=0;this.options.offset&&t.length&&(e=this.getDecimalForValue(t[0]),s=1===t.length?1-e:(this.getDecimalForValue(t[1])-e)/2,i=this.getDecimalForValue(t[t.length-1]),n=1===t.length?i:(i-this.getDecimalForValue(t[t.length-2]))/2);const o=t.length<3?.5:.25;s=Z(s,0,o),n=Z(n,0,o),this._offsets={start:s,end:n,factor:1/(s+1+n)}}_generate(){const t=this._adapter,e=this.min,i=this.max,s=this.options,n=s.time,o=n.unit||Bo(n.minUnit,e,i,this._getLabelCapacity(e)),a=l(s.ticks.stepSize,1),r="week"===o&&n.isoWeekday,h=N(r)||!0===r,c={};let d,u,f=e;if(h&&(f=+t.startOf(f,"isoWeek",r)),f=+t.startOf(f,h?"day":o),t.diff(i,e,o)>1e5*a)throw new Error(e+" and "+i+" are too far apart with stepSize of "+a+" "+o);const g="data"===s.ticks.source&&this.getDataTimestamps();for(d=f,u=0;d+t))}getLabelForValue(t){const e=this._adapter,i=this.options.time;return i.tooltipFormat?e.format(t,i.tooltipFormat):e.format(t,i.displayFormats.datetime)}format(t,e){const i=this.options.time.displayFormats,s=this._unit,n=e||i[s];return this._adapter.format(t,n)}_tickFormatFunction(t,e,i,s){const n=this.options,o=n.ticks.callback;if(o)return d(o,[t,e,i],this);const a=n.time.displayFormats,r=this._unit,l=this._majorUnit,h=r&&a[r],c=l&&a[l],u=i[e],f=l&&c&&u&&u.major;return this._adapter.format(t,s||(f?c:h))}generateTickLabels(t){let e,i,s;for(e=0,i=t.length;e0?a:1}getDataTimestamps(){let t,e,i=this._cache.data||[];if(i.length)return i;const s=this.getMatchingVisibleMetas();if(this._normalized&&s.length)return this._cache.data=s[0].controller.getAllParsedValues(this);for(t=0,e=s.length;t=t[r].pos&&e<=t[l].pos&&({lo:r,hi:l}=it(t,"pos",e)),({pos:s,time:o}=t[r]),({pos:n,time:a}=t[l])):(e>=t[r].time&&e<=t[l].time&&({lo:r,hi:l}=it(t,"time",e)),({time:s,pos:o}=t[r]),({time:n,pos:a}=t[l]));const h=n-s;return h?o+(a-o)*(e-s)/h:o}var $o=Object.freeze({__proto__:null,CategoryScale:class extends tn{static id="category";static defaults={ticks:{callback:mo}};constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){const e=this._addedLabels;if(e.length){const t=this.getLabels();for(const{index:i,label:s}of e)t[i]===s&&t.splice(i,1);this._addedLabels=[]}super.init(t)}parse(t,e){if(s(t))return null;const i=this.getLabels();return((t,e)=>null===t?null:Z(Math.round(t),0,e))(e=isFinite(e)&&i[e]===t?e:po(i,t,l(e,t),this._addedLabels),i.length-1)}determineDataLimits(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let{min:i,max:s}=this.getMinMax(!0);"ticks"===this.options.bounds&&(t||(i=0),e||(s=this.getLabels().length-1)),this.min=i,this.max=s}buildTicks(){const t=this.min,e=this.max,i=this.options.offset,s=[];let n=this.getLabels();n=0===t&&e===n.length-1?n:n.slice(t,e+1),this._valueRange=Math.max(n.length-(i?0:1),1),this._startValue=this.min-(i?.5:0);for(let i=t;i<=e;i++)s.push({value:i});return s}getLabelForValue(t){return mo.call(this,t)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(t){return"number"!=typeof t&&(t=this.parse(t)),null===t?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}},LinearScale:_o,LogarithmicScale:So,RadialLinearScale:Ro,TimeScale:Ho,TimeSeriesScale:class extends Ho{static id="timeseries";static defaults=Ho.defaults;constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),e=this._table=this.buildLookupTable(t);this._minPos=jo(e,this.min),this._tableRange=jo(e,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:e,max:i}=this,s=[],n=[];let o,a,r,l,h;for(o=0,a=t.length;o=e&&l<=i&&s.push(l);if(s.length<2)return[{time:e,pos:0},{time:i,pos:1}];for(o=0,a=s.length;ot-e))}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const e=this.getDataTimestamps(),i=this.getLabelTimestamps();return t=e.length&&i.length?this.normalize(e.concat(i)):e.length?e:i,t=this._cache.all=t,t}getDecimalForValue(t){return(jo(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const e=this._offsets,i=this.getDecimalForPixel(t)/e.factor-e.end;return jo(this._table,i*this._tableRange+this._minPos,!0)}}});const Yo=["rgb(54, 162, 235)","rgb(255, 99, 132)","rgb(255, 159, 64)","rgb(255, 205, 86)","rgb(75, 192, 192)","rgb(153, 102, 255)","rgb(201, 203, 207)"],Uo=Yo.map((t=>t.replace("rgb(","rgba(").replace(")",", 0.5)")));function Xo(t){return Yo[t%Yo.length]}function qo(t){return Uo[t%Uo.length]}function Ko(t){let e=0;return(i,s)=>{const n=t.getDatasetMeta(s).controller;n instanceof $n?e=function(t,e){return t.backgroundColor=t.data.map((()=>Xo(e++))),e}(i,e):n instanceof Yn?e=function(t,e){return t.backgroundColor=t.data.map((()=>qo(e++))),e}(i,e):n&&(e=function(t,e){return t.borderColor=Xo(e),t.backgroundColor=qo(e),++e}(i,e))}}function Go(t){let e;for(e in t)if(t[e].borderColor||t[e].backgroundColor)return!0;return!1}var Jo={id:"colors",defaults:{enabled:!0,forceOverride:!1},beforeLayout(t,e,i){if(!i.enabled)return;const{data:{datasets:s},options:n}=t.config,{elements:o}=n,a=Go(s)||(r=n)&&(r.borderColor||r.backgroundColor)||o&&Go(o)||"rgba(0,0,0,0.1)"!==ue.borderColor||"rgba(0,0,0,0.1)"!==ue.backgroundColor;var r;if(!i.forceOverride&&a)return;const l=Ko(t);s.forEach(l)}};function Zo(t){if(t._decimated){const e=t._data;delete t._decimated,delete t._data,Object.defineProperty(t,"data",{configurable:!0,enumerable:!0,writable:!0,value:e})}}function Qo(t){t.data.datasets.forEach((t=>{Zo(t)}))}var ta={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(t,e,i)=>{if(!i.enabled)return void Qo(t);const n=t.width;t.data.datasets.forEach(((e,o)=>{const{_data:a,indexAxis:r}=e,l=t.getDatasetMeta(o),h=a||e.data;if("y"===Pi([r,t.options.indexAxis]))return;if(!l.controller.supportsDecimation)return;const c=t.scales[l.xAxisID];if("linear"!==c.type&&"time"!==c.type)return;if(t.options.parsing)return;let{start:d,count:u}=function(t,e){const i=e.length;let s,n=0;const{iScale:o}=t,{min:a,max:r,minDefined:l,maxDefined:h}=o.getUserBounds();return l&&(n=Z(it(e,o.axis,a).lo,0,i-1)),s=h?Z(it(e,o.axis,r).hi+1,n,i)-n:i-n,{start:n,count:s}}(l,h);if(u<=(i.threshold||4*n))return void Zo(e);let f;switch(s(a)&&(e._data=h,delete e.data,Object.defineProperty(e,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(t){this._data=t}})),i.algorithm){case"lttb":f=function(t,e,i,s,n){const o=n.samples||s;if(o>=i)return t.slice(e,e+i);const a=[],r=(i-2)/(o-2);let l=0;const h=e+i-1;let c,d,u,f,g,p=e;for(a[l++]=t[p],c=0;cu&&(u=f,d=t[s],g=s);a[l++]=d,p=g}return a[l++]=t[h],a}(h,d,u,n,i);break;case"min-max":f=function(t,e,i,n){let o,a,r,l,h,c,d,u,f,g,p=0,m=0;const x=[],b=e+i-1,_=t[e].x,y=t[b].x-_;for(o=e;og&&(g=l,d=o),p=(m*p+a.x)/++m;else{const i=o-1;if(!s(c)&&!s(d)){const e=Math.min(c,d),s=Math.max(c,d);e!==u&&e!==i&&x.push({...t[e],x:p}),s!==u&&s!==i&&x.push({...t[s],x:p})}o>0&&i!==u&&x.push(t[i]),x.push(a),h=e,m=0,f=g=l,c=d=u=o}}return x}(h,d,u,n);break;default:throw new Error(`Unsupported decimation algorithm '${i.algorithm}'`)}e._decimated=f}))},destroy(t){Qo(t)}};function ea(t,e,i,s){if(s)return;let n=e[t],o=i[t];return"angle"===t&&(n=G(n),o=G(o)),{property:t,start:n,end:o}}function ia(t,e,i){for(;e>t;e--){const t=i[e];if(!isNaN(t.x)&&!isNaN(t.y))break}return e}function sa(t,e,i,s){return t&&e?s(t[i],e[i]):t?t[i]:e?e[i]:0}function na(t,e){let i=[],s=!1;return n(t)?(s=!0,i=t):i=function(t,e){const{x:i=null,y:s=null}=t||{},n=e.points,o=[];return e.segments.forEach((({start:t,end:e})=>{e=ia(t,e,n);const a=n[t],r=n[e];null!==s?(o.push({x:a.x,y:s}),o.push({x:r.x,y:s})):null!==i&&(o.push({x:i,y:a.y}),o.push({x:i,y:r.y}))})),o}(t,e),i.length?new oo({points:i,options:{tension:0},_loop:s,_fullLoop:s}):null}function oa(t){return t&&!1!==t.fill}function aa(t,e,i){let s=t[e].fill;const n=[e];let o;if(!i)return s;for(;!1!==s&&-1===n.indexOf(s);){if(!a(s))return s;if(o=t[s],!o)return!1;if(o.visible)return s;n.push(s),s=o.fill}return!1}function ra(t,e,i){const s=function(t){const e=t.options,i=e.fill;let s=l(i&&i.target,i);void 0===s&&(s=!!e.backgroundColor);if(!1===s||null===s)return!1;if(!0===s)return"origin";return s}(t);if(o(s))return!isNaN(s.value)&&s;let n=parseFloat(s);return a(n)&&Math.floor(n)===n?function(t,e,i,s){"-"!==t&&"+"!==t||(i=e+i);if(i===e||i<0||i>=s)return!1;return i}(s[0],e,n,i):["origin","start","end","stack","shape"].indexOf(s)>=0&&s}function la(t,e,i){const s=[];for(let n=0;n=0;--e){const i=n[e].$filler;i&&(i.line.updateControlPoints(o,i.axis),s&&i.fill&&ua(t.ctx,i,o))}},beforeDatasetsDraw(t,e,i){if("beforeDatasetsDraw"!==i.drawTime)return;const s=t.getSortedVisibleDatasetMetas();for(let e=s.length-1;e>=0;--e){const i=s[e].$filler;oa(i)&&ua(t.ctx,i,t.chartArea)}},beforeDatasetDraw(t,e,i){const s=e.meta.$filler;oa(s)&&"beforeDatasetDraw"===i.drawTime&&ua(t.ctx,s,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const _a=(t,e)=>{let{boxHeight:i=e,boxWidth:s=e}=t;return t.usePointStyle&&(i=Math.min(i,e),s=t.pointStyleWidth||Math.min(s,e)),{boxWidth:s,boxHeight:i,itemHeight:Math.max(e,i)}};class ya extends $s{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e,i){this.maxWidth=t,this.maxHeight=e,this._margins=i,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const t=this.options.labels||{};let e=d(t.generateLabels,[this.chart],this)||[];t.filter&&(e=e.filter((e=>t.filter(e,this.chart.data)))),t.sort&&(e=e.sort(((e,i)=>t.sort(e,i,this.chart.data)))),this.options.reverse&&e.reverse(),this.legendItems=e}fit(){const{options:t,ctx:e}=this;if(!t.display)return void(this.width=this.height=0);const i=t.labels,s=Si(i.font),n=s.size,o=this._computeTitleHeight(),{boxWidth:a,itemHeight:r}=_a(i,n);let l,h;e.font=s.string,this.isHorizontal()?(l=this.maxWidth,h=this._fitRows(o,n,a,r)+10):(h=this.maxHeight,l=this._fitCols(o,s,a,r)+10),this.width=Math.min(l,t.maxWidth||this.maxWidth),this.height=Math.min(h,t.maxHeight||this.maxHeight)}_fitRows(t,e,i,s){const{ctx:n,maxWidth:o,options:{labels:{padding:a}}}=this,r=this.legendHitBoxes=[],l=this.lineWidths=[0],h=s+a;let c=t;n.textAlign="left",n.textBaseline="middle";let d=-1,u=-h;return this.legendItems.forEach(((t,f)=>{const g=i+e/2+n.measureText(t.text).width;(0===f||l[l.length-1]+g+2*a>o)&&(c+=h,l[l.length-(f>0?0:1)]=0,u+=h,d++),r[f]={left:0,top:u,row:d,width:g,height:s},l[l.length-1]+=g+a})),c}_fitCols(t,e,i,s){const{ctx:n,maxHeight:o,options:{labels:{padding:a}}}=this,r=this.legendHitBoxes=[],l=this.columnSizes=[],h=o-t;let c=a,d=0,u=0,f=0,g=0;return this.legendItems.forEach(((t,o)=>{const{itemWidth:p,itemHeight:m}=function(t,e,i,s,n){const o=function(t,e,i,s){let n=t.text;n&&"string"!=typeof n&&(n=n.reduce(((t,e)=>t.length>e.length?t:e)));return e+i.size/2+s.measureText(n).width}(s,t,e,i),a=function(t,e,i){let s=t;"string"!=typeof e.text&&(s=va(e,i));return s}(n,s,e.lineHeight);return{itemWidth:o,itemHeight:a}}(i,e,n,t,s);o>0&&u+m+2*a>h&&(c+=d+a,l.push({width:d,height:u}),f+=d+a,g++,d=u=0),r[o]={left:f,top:u,col:g,width:p,height:m},d=Math.max(d,p),u+=m+a})),c+=d,l.push({width:d,height:u}),c}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:e,options:{align:i,labels:{padding:s},rtl:n}}=this,o=Oi(n,this.left,this.width);if(this.isHorizontal()){let n=0,a=ft(i,this.left+s,this.right-this.lineWidths[n]);for(const r of e)n!==r.row&&(n=r.row,a=ft(i,this.left+s,this.right-this.lineWidths[n])),r.top+=this.top+t+s,r.left=o.leftForLtr(o.x(a),r.width),a+=r.width+s}else{let n=0,a=ft(i,this.top+t+s,this.bottom-this.columnSizes[n].height);for(const r of e)r.col!==n&&(n=r.col,a=ft(i,this.top+t+s,this.bottom-this.columnSizes[n].height)),r.top=a,r.left+=this.left+s,r.left=o.leftForLtr(o.x(r.left),r.width),a+=r.height+s}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const t=this.ctx;Ie(t,this),this._draw(),ze(t)}}_draw(){const{options:t,columnSizes:e,lineWidths:i,ctx:s}=this,{align:n,labels:o}=t,a=ue.color,r=Oi(t.rtl,this.left,this.width),h=Si(o.font),{padding:c}=o,d=h.size,u=d/2;let f;this.drawTitle(),s.textAlign=r.textAlign("left"),s.textBaseline="middle",s.lineWidth=.5,s.font=h.string;const{boxWidth:g,boxHeight:p,itemHeight:m}=_a(o,d),x=this.isHorizontal(),b=this._computeTitleHeight();f=x?{x:ft(n,this.left+c,this.right-i[0]),y:this.top+c+b,line:0}:{x:this.left+c,y:ft(n,this.top+b+c,this.bottom-e[0].height),line:0},Ai(this.ctx,t.textDirection);const _=m+c;this.legendItems.forEach(((y,v)=>{s.strokeStyle=y.fontColor,s.fillStyle=y.fontColor;const M=s.measureText(y.text).width,w=r.textAlign(y.textAlign||(y.textAlign=o.textAlign)),k=g+u+M;let S=f.x,P=f.y;r.setWidth(this.width),x?v>0&&S+k+c>this.right&&(P=f.y+=_,f.line++,S=f.x=ft(n,this.left+c,this.right-i[f.line])):v>0&&P+_>this.bottom&&(S=f.x=S+e[f.line].width+c,f.line++,P=f.y=ft(n,this.top+b+c,this.bottom-e[f.line].height));if(function(t,e,i){if(isNaN(g)||g<=0||isNaN(p)||p<0)return;s.save();const n=l(i.lineWidth,1);if(s.fillStyle=l(i.fillStyle,a),s.lineCap=l(i.lineCap,"butt"),s.lineDashOffset=l(i.lineDashOffset,0),s.lineJoin=l(i.lineJoin,"miter"),s.lineWidth=n,s.strokeStyle=l(i.strokeStyle,a),s.setLineDash(l(i.lineDash,[])),o.usePointStyle){const a={radius:p*Math.SQRT2/2,pointStyle:i.pointStyle,rotation:i.rotation,borderWidth:n},l=r.xPlus(t,g/2);Ee(s,a,l,e+u,o.pointStyleWidth&&g)}else{const o=e+Math.max((d-p)/2,0),a=r.leftForLtr(t,g),l=wi(i.borderRadius);s.beginPath(),Object.values(l).some((t=>0!==t))?He(s,{x:a,y:o,w:g,h:p,radius:l}):s.rect(a,o,g,p),s.fill(),0!==n&&s.stroke()}s.restore()}(r.x(S),P,y),S=gt(w,S+g+u,x?S+k:this.right,t.rtl),function(t,e,i){Ne(s,i.text,t,e+m/2,h,{strikethrough:i.hidden,textAlign:r.textAlign(i.textAlign)})}(r.x(S),P,y),x)f.x+=k+c;else if("string"!=typeof y.text){const t=h.lineHeight;f.y+=va(y,t)+c}else f.y+=_})),Ti(this.ctx,t.textDirection)}drawTitle(){const t=this.options,e=t.title,i=Si(e.font),s=ki(e.padding);if(!e.display)return;const n=Oi(t.rtl,this.left,this.width),o=this.ctx,a=e.position,r=i.size/2,l=s.top+r;let h,c=this.left,d=this.width;if(this.isHorizontal())d=Math.max(...this.lineWidths),h=this.top+l,c=ft(t.align,c,this.right-d);else{const e=this.columnSizes.reduce(((t,e)=>Math.max(t,e.height)),0);h=l+ft(t.align,this.top,this.bottom-e-t.labels.padding-this._computeTitleHeight())}const u=ft(a,c,c+d);o.textAlign=n.textAlign(ut(a)),o.textBaseline="middle",o.strokeStyle=e.color,o.fillStyle=e.color,o.font=i.string,Ne(o,e.text,u,h,i)}_computeTitleHeight(){const t=this.options.title,e=Si(t.font),i=ki(t.padding);return t.display?e.lineHeight+i.height:0}_getLegendItemAt(t,e){let i,s,n;if(tt(t,this.left,this.right)&&tt(e,this.top,this.bottom))for(n=this.legendHitBoxes,i=0;it.chart.options.color,boxWidth:40,padding:10,generateLabels(t){const e=t.data.datasets,{labels:{usePointStyle:i,pointStyle:s,textAlign:n,color:o,useBorderRadius:a,borderRadius:r}}=t.legend.options;return t._getSortedDatasetMetas().map((t=>{const l=t.controller.getStyle(i?0:void 0),h=ki(l.borderWidth);return{text:e[t.index].label,fillStyle:l.backgroundColor,fontColor:o,hidden:!t.visible,lineCap:l.borderCapStyle,lineDash:l.borderDash,lineDashOffset:l.borderDashOffset,lineJoin:l.borderJoinStyle,lineWidth:(h.width+h.height)/4,strokeStyle:l.borderColor,pointStyle:s||l.pointStyle,rotation:l.rotation,textAlign:n||l.textAlign,borderRadius:a&&(r||l.borderRadius),datasetIndex:t.index}}),this)}},title:{color:t=>t.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:t=>!t.startsWith("on"),labels:{_scriptable:t=>!["generateLabels","filter","sort"].includes(t)}}};class wa extends $s{constructor(t){super(),this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e){const i=this.options;if(this.left=0,this.top=0,!i.display)return void(this.width=this.height=this.right=this.bottom=0);this.width=this.right=t,this.height=this.bottom=e;const s=n(i.text)?i.text.length:1;this._padding=ki(i.padding);const o=s*Si(i.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=o:this.width=o}isHorizontal(){const t=this.options.position;return"top"===t||"bottom"===t}_drawArgs(t){const{top:e,left:i,bottom:s,right:n,options:o}=this,a=o.align;let r,l,h,c=0;return this.isHorizontal()?(l=ft(a,i,n),h=e+t,r=n-i):("left"===o.position?(l=i+t,h=ft(a,s,e),c=-.5*C):(l=n-t,h=ft(a,e,s),c=.5*C),r=s-e),{titleX:l,titleY:h,maxWidth:r,rotation:c}}draw(){const t=this.ctx,e=this.options;if(!e.display)return;const i=Si(e.font),s=i.lineHeight/2+this._padding.top,{titleX:n,titleY:o,maxWidth:a,rotation:r}=this._drawArgs(s);Ne(t,e.text,0,0,i,{color:e.color,maxWidth:a,rotation:r,textAlign:ut(e.align),textBaseline:"middle",translation:[n,o]})}}var ka={id:"title",_element:wa,start(t,e,i){!function(t,e){const i=new wa({ctx:t.ctx,options:e,chart:t});ls.configure(t,i,e),ls.addBox(t,i),t.titleBlock=i}(t,i)},stop(t){const e=t.titleBlock;ls.removeBox(t,e),delete t.titleBlock},beforeUpdate(t,e,i){const s=t.titleBlock;ls.configure(t,s,i),s.options=i},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const Sa=new WeakMap;var Pa={id:"subtitle",start(t,e,i){const s=new wa({ctx:t.ctx,options:i,chart:t});ls.configure(t,s,i),ls.addBox(t,s),Sa.set(t,s)},stop(t){ls.removeBox(t,Sa.get(t)),Sa.delete(t)},beforeUpdate(t,e,i){const s=Sa.get(t);ls.configure(t,s,i),s.options=i},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const Da={average(t){if(!t.length)return!1;let e,i,s=new Set,n=0,o=0;for(e=0,i=t.length;et+e))/s.size,y:n/o}},nearest(t,e){if(!t.length)return!1;let i,s,n,o=e.x,a=e.y,r=Number.POSITIVE_INFINITY;for(i=0,s=t.length;i-1?t.split("\n"):t}function Aa(t,e){const{element:i,datasetIndex:s,index:n}=e,o=t.getDatasetMeta(s).controller,{label:a,value:r}=o.getLabelAndValue(n);return{chart:t,label:a,parsed:o.getParsed(n),raw:t.data.datasets[s].data[n],formattedValue:r,dataset:o.getDataset(),dataIndex:n,datasetIndex:s,element:i}}function Ta(t,e){const i=t.chart.ctx,{body:s,footer:n,title:o}=t,{boxWidth:a,boxHeight:r}=e,l=Si(e.bodyFont),h=Si(e.titleFont),c=Si(e.footerFont),d=o.length,f=n.length,g=s.length,p=ki(e.padding);let m=p.height,x=0,b=s.reduce(((t,e)=>t+e.before.length+e.lines.length+e.after.length),0);if(b+=t.beforeBody.length+t.afterBody.length,d&&(m+=d*h.lineHeight+(d-1)*e.titleSpacing+e.titleMarginBottom),b){m+=g*(e.displayColors?Math.max(r,l.lineHeight):l.lineHeight)+(b-g)*l.lineHeight+(b-1)*e.bodySpacing}f&&(m+=e.footerMarginTop+f*c.lineHeight+(f-1)*e.footerSpacing);let _=0;const y=function(t){x=Math.max(x,i.measureText(t).width+_)};return i.save(),i.font=h.string,u(t.title,y),i.font=l.string,u(t.beforeBody.concat(t.afterBody),y),_=e.displayColors?a+2+e.boxPadding:0,u(s,(t=>{u(t.before,y),u(t.lines,y),u(t.after,y)})),_=0,i.font=c.string,u(t.footer,y),i.restore(),x+=p.width,{width:x,height:m}}function La(t,e,i,s){const{x:n,width:o}=i,{width:a,chartArea:{left:r,right:l}}=t;let h="center";return"center"===s?h=n<=(r+l)/2?"left":"right":n<=o/2?h="left":n>=a-o/2&&(h="right"),function(t,e,i,s){const{x:n,width:o}=s,a=i.caretSize+i.caretPadding;return"left"===t&&n+o+a>e.width||"right"===t&&n-o-a<0||void 0}(h,t,e,i)&&(h="center"),h}function Ea(t,e,i){const s=i.yAlign||e.yAlign||function(t,e){const{y:i,height:s}=e;return it.height-s/2?"bottom":"center"}(t,i);return{xAlign:i.xAlign||e.xAlign||La(t,e,i,s),yAlign:s}}function Ra(t,e,i,s){const{caretSize:n,caretPadding:o,cornerRadius:a}=t,{xAlign:r,yAlign:l}=i,h=n+o,{topLeft:c,topRight:d,bottomLeft:u,bottomRight:f}=wi(a);let g=function(t,e){let{x:i,width:s}=t;return"right"===e?i-=s:"center"===e&&(i-=s/2),i}(e,r);const p=function(t,e,i){let{y:s,height:n}=t;return"top"===e?s+=i:s-="bottom"===e?n+i:n/2,s}(e,l,h);return"center"===l?"left"===r?g+=h:"right"===r&&(g-=h):"left"===r?g-=Math.max(c,u)+n:"right"===r&&(g+=Math.max(d,f)+n),{x:Z(g,0,s.width-e.width),y:Z(p,0,s.height-e.height)}}function Ia(t,e,i){const s=ki(i.padding);return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-s.right:t.x+s.left}function za(t){return Ca([],Oa(t))}function Fa(t,e){const i=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return i?t.override(i):t}const Va={beforeTitle:e,title(t){if(t.length>0){const e=t[0],i=e.chart.data.labels,s=i?i.length:0;if(this&&this.options&&"dataset"===this.options.mode)return e.dataset.label||"";if(e.label)return e.label;if(s>0&&e.dataIndex{const e={before:[],lines:[],after:[]},n=Fa(i,t);Ca(e.before,Oa(Ba(n,"beforeLabel",this,t))),Ca(e.lines,Ba(n,"label",this,t)),Ca(e.after,Oa(Ba(n,"afterLabel",this,t))),s.push(e)})),s}getAfterBody(t,e){return za(Ba(e.callbacks,"afterBody",this,t))}getFooter(t,e){const{callbacks:i}=e,s=Ba(i,"beforeFooter",this,t),n=Ba(i,"footer",this,t),o=Ba(i,"afterFooter",this,t);let a=[];return a=Ca(a,Oa(s)),a=Ca(a,Oa(n)),a=Ca(a,Oa(o)),a}_createItems(t){const e=this._active,i=this.chart.data,s=[],n=[],o=[];let a,r,l=[];for(a=0,r=e.length;at.filter(e,s,n,i)))),t.itemSort&&(l=l.sort(((e,s)=>t.itemSort(e,s,i)))),u(l,(e=>{const i=Fa(t.callbacks,e);s.push(Ba(i,"labelColor",this,e)),n.push(Ba(i,"labelPointStyle",this,e)),o.push(Ba(i,"labelTextColor",this,e))})),this.labelColors=s,this.labelPointStyles=n,this.labelTextColors=o,this.dataPoints=l,l}update(t,e){const i=this.options.setContext(this.getContext()),s=this._active;let n,o=[];if(s.length){const t=Da[i.position].call(this,s,this._eventPosition);o=this._createItems(i),this.title=this.getTitle(o,i),this.beforeBody=this.getBeforeBody(o,i),this.body=this.getBody(o,i),this.afterBody=this.getAfterBody(o,i),this.footer=this.getFooter(o,i);const e=this._size=Ta(this,i),a=Object.assign({},t,e),r=Ea(this.chart,i,a),l=Ra(i,a,r,this.chart);this.xAlign=r.xAlign,this.yAlign=r.yAlign,n={opacity:1,x:l.x,y:l.y,width:e.width,height:e.height,caretX:t.x,caretY:t.y}}else 0!==this.opacity&&(n={opacity:0});this._tooltipItems=o,this.$context=void 0,n&&this._resolveAnimations().update(this,n),t&&i.external&&i.external.call(this,{chart:this.chart,tooltip:this,replay:e})}drawCaret(t,e,i,s){const n=this.getCaretPosition(t,i,s);e.lineTo(n.x1,n.y1),e.lineTo(n.x2,n.y2),e.lineTo(n.x3,n.y3)}getCaretPosition(t,e,i){const{xAlign:s,yAlign:n}=this,{caretSize:o,cornerRadius:a}=i,{topLeft:r,topRight:l,bottomLeft:h,bottomRight:c}=wi(a),{x:d,y:u}=t,{width:f,height:g}=e;let p,m,x,b,_,y;return"center"===n?(_=u+g/2,"left"===s?(p=d,m=p-o,b=_+o,y=_-o):(p=d+f,m=p+o,b=_-o,y=_+o),x=p):(m="left"===s?d+Math.max(r,h)+o:"right"===s?d+f-Math.max(l,c)-o:this.caretX,"top"===n?(b=u,_=b-o,p=m-o,x=m+o):(b=u+g,_=b+o,p=m+o,x=m-o),y=b),{x1:p,x2:m,x3:x,y1:b,y2:_,y3:y}}drawTitle(t,e,i){const s=this.title,n=s.length;let o,a,r;if(n){const l=Oi(i.rtl,this.x,this.width);for(t.x=Ia(this,i.titleAlign,i),e.textAlign=l.textAlign(i.titleAlign),e.textBaseline="middle",o=Si(i.titleFont),a=i.titleSpacing,e.fillStyle=i.titleColor,e.font=o.string,r=0;r0!==t))?(t.beginPath(),t.fillStyle=n.multiKeyBackground,He(t,{x:e,y:g,w:h,h:l,radius:r}),t.fill(),t.stroke(),t.fillStyle=a.backgroundColor,t.beginPath(),He(t,{x:i,y:g+1,w:h-2,h:l-2,radius:r}),t.fill()):(t.fillStyle=n.multiKeyBackground,t.fillRect(e,g,h,l),t.strokeRect(e,g,h,l),t.fillStyle=a.backgroundColor,t.fillRect(i,g+1,h-2,l-2))}t.fillStyle=this.labelTextColors[i]}drawBody(t,e,i){const{body:s}=this,{bodySpacing:n,bodyAlign:o,displayColors:a,boxHeight:r,boxWidth:l,boxPadding:h}=i,c=Si(i.bodyFont);let d=c.lineHeight,f=0;const g=Oi(i.rtl,this.x,this.width),p=function(i){e.fillText(i,g.x(t.x+f),t.y+d/2),t.y+=d+n},m=g.textAlign(o);let x,b,_,y,v,M,w;for(e.textAlign=o,e.textBaseline="middle",e.font=c.string,t.x=Ia(this,m,i),e.fillStyle=i.bodyColor,u(this.beforeBody,p),f=a&&"right"!==m?"center"===o?l/2+h:l+2+h:0,y=0,M=s.length;y0&&e.stroke()}_updateAnimationTarget(t){const e=this.chart,i=this.$animations,s=i&&i.x,n=i&&i.y;if(s||n){const i=Da[t.position].call(this,this._active,this._eventPosition);if(!i)return;const o=this._size=Ta(this,t),a=Object.assign({},i,this._size),r=Ea(e,t,a),l=Ra(t,a,r,e);s._to===l.x&&n._to===l.y||(this.xAlign=r.xAlign,this.yAlign=r.yAlign,this.width=o.width,this.height=o.height,this.caretX=i.x,this.caretY=i.y,this._resolveAnimations().update(this,l))}}_willRender(){return!!this.opacity}draw(t){const e=this.options.setContext(this.getContext());let i=this.opacity;if(!i)return;this._updateAnimationTarget(e);const s={width:this.width,height:this.height},n={x:this.x,y:this.y};i=Math.abs(i)<.001?0:i;const o=ki(e.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;e.enabled&&a&&(t.save(),t.globalAlpha=i,this.drawBackground(n,t,s,e),Ai(t,e.textDirection),n.y+=o.top,this.drawTitle(n,t,e),this.drawBody(n,t,e),this.drawFooter(n,t,e),Ti(t,e.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,e){const i=this._active,s=t.map((({datasetIndex:t,index:e})=>{const i=this.chart.getDatasetMeta(t);if(!i)throw new Error("Cannot find a dataset at index "+t);return{datasetIndex:t,element:i.data[e],index:e}})),n=!f(i,s),o=this._positionChanged(s,e);(n||o)&&(this._active=s,this._eventPosition=e,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,e,i=!0){if(e&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const s=this.options,n=this._active||[],o=this._getActiveElements(t,n,e,i),a=this._positionChanged(o,t),r=e||!f(o,n)||a;return r&&(this._active=o,(s.enabled||s.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,e))),r}_getActiveElements(t,e,i,s){const n=this.options;if("mouseout"===t.type)return[];if(!s)return e.filter((t=>this.chart.data.datasets[t.datasetIndex]&&void 0!==this.chart.getDatasetMeta(t.datasetIndex).controller.getParsed(t.index)));const o=this.chart.getElementsAtEventForMode(t,n.mode,n,i);return n.reverse&&o.reverse(),o}_positionChanged(t,e){const{caretX:i,caretY:s,options:n}=this,o=Da[n.position].call(this,t,e);return!1!==o&&(i!==o.x||s!==o.y)}}var Na={id:"tooltip",_element:Wa,positioners:Da,afterInit(t,e,i){i&&(t.tooltip=new Wa({chart:t,options:i}))},beforeUpdate(t,e,i){t.tooltip&&t.tooltip.initialize(i)},reset(t,e,i){t.tooltip&&t.tooltip.initialize(i)},afterDraw(t){const e=t.tooltip;if(e&&e._willRender()){const i={tooltip:e};if(!1===t.notifyPlugins("beforeTooltipDraw",{...i,cancelable:!0}))return;e.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",i)}},afterEvent(t,e){if(t.tooltip){const i=e.replay;t.tooltip.handleEvent(e.event,i,e.inChartArea)&&(e.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(t,e)=>e.bodyFont.size,boxWidth:(t,e)=>e.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:Va},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:t=>"filter"!==t&&"itemSort"!==t&&"external"!==t,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};return Tn.register(Un,$o,go,t),Tn.helpers={...Hi},Tn._adapters=In,Tn.Animation=As,Tn.Animations=Ts,Tn.animator=bt,Tn.controllers=nn.controllers.items,Tn.DatasetController=js,Tn.Element=$s,Tn.elements=go,Tn.Interaction=Ki,Tn.layouts=ls,Tn.platforms=Ds,Tn.Scale=tn,Tn.Ticks=ae,Object.assign(Tn,Un,$o,go,t,Ds),Tn.Chart=Tn,"undefined"!=typeof window&&(window.Chart=Tn),Tn})); +//# sourceMappingURL=chart.umd.min.js.map diff --git a/public/assets/js/js.js b/public/assets/js/js.js new file mode 100644 index 0000000..96d21e3 --- /dev/null +++ b/public/assets/js/js.js @@ -0,0 +1,645 @@ + + +window.google = window.google || {}; +google.maps = google.maps || {}; +(function() { + + var modules = google.maps.modules = {}; + google.maps.__gjsload__ = function(name, text) { + modules[name] = text; + }; + + google.maps.Load = function(apiLoad) { + delete google.maps.Load; + apiLoad([0.009999999776482582,[null,[["https://khms0.googleapis.com/kh?v=1013\u0026hl=en-US\u0026gl=US\u0026","https://khms1.googleapis.com/kh?v=1013\u0026hl=en-US\u0026gl=US\u0026"],null,null,null,1,"1013",["https://khms0.google.com/kh?v=1013\u0026hl=en-US\u0026gl=US\u0026","https://khms1.google.com/kh?v=1013\u0026hl=en-US\u0026gl=US\u0026"]],null,null,null,null,[["https://cbks0.googleapis.com/cbk?","https://cbks1.googleapis.com/cbk?"]],[["https://khms0.googleapis.com/kh?v=169\u0026hl=en-US\u0026gl=US\u0026","https://khms1.googleapis.com/kh?v=169\u0026hl=en-US\u0026gl=US\u0026"],null,null,null,null,"169",["https://khms0.google.com/kh?v=169\u0026hl=en-US\u0026gl=US\u0026","https://khms1.google.com/kh?v=169\u0026hl=en-US\u0026gl=US\u0026"]],null,null,null,null,null,null,null,[["https://streetviewpixels-pa.googleapis.com/v1/thumbnail?hl=en-US\u0026gl=US\u0026","https://streetviewpixels-pa.googleapis.com/v1/thumbnail?hl=en-US\u0026gl=US\u0026"]]],["en-US","US",null,0,null,null,"https://maps.gstatic.com/mapfiles/",null,"https://maps.googleapis.com","https://maps.googleapis.com",null,"https://maps.google.com",null,"https://maps.gstatic.com/maps-api-v3/api/images/","https://www.google.com/maps",null,"https://www.google.com",1,"https://maps.googleapis.com/maps_api_js_slo/log?hasfast=true",0,1],["https://maps.googleapis.com/maps-api-v3/api/js/65/12f","3.65.12f"],[1658126953],null,null,null,[112],null,null,"",null,null,1,"https://khms.googleapis.com/mz?v=1013\u0026","AIzaSyDYeBBmgAkyAN_QKjAVOiP_kWZ_eQdadeI","https://earthbuilder.googleapis.com","https://earthbuilder.googleapis.com",null,"https://mts.googleapis.com/maps/vt/icon",[["https://maps.googleapis.com/maps/vt"],["https://maps.googleapis.com/maps/vt"],null,null,null,null,null,null,null,null,null,null,["https://www.google.com/maps/vt"],"/maps/vt",791000000,791,791557023],2,500,[null,null,null,null,"https://www.google.com/maps/preview/log204","","https://static.panoramio.com.storage.googleapis.com/photos/",["https://geo0.ggpht.com/cbk","https://geo1.ggpht.com/cbk","https://geo2.ggpht.com/cbk","https://geo3.ggpht.com/cbk"],"https://maps.googleapis.com/maps/api/js/GeoPhotoService.GetMetadata","https://maps.googleapis.com/maps/api/js/GeoPhotoService.SingleImageSearch",["https://lh3.ggpht.com/jsapi2/a/b/c/","https://lh4.ggpht.com/jsapi2/a/b/c/","https://lh5.ggpht.com/jsapi2/a/b/c/","https://lh6.ggpht.com/jsapi2/a/b/c/"],"https://streetviewpixels-pa.googleapis.com/v1/tile",["https://lh3.googleusercontent.com/","https://lh4.googleusercontent.com/","https://lh5.googleusercontent.com/","https://lh6.googleusercontent.com/"]],null,null,null,null,"/maps/api/js/ApplicationService.GetEntityDetails",0,null,null,null,null,[],["65.12f"],1,0,[1],"CgASljcIlwYSfAgBEnhodHRwczovL3d3dy5nc3RhdGljLmNvbS9tYXBzL3Jlcy9Db21wYWN0TGVnZW5kU2RrLVJvYWRtYXBTYXRlbGxpdGUtRmV0Y2hhYmxlU3R5bGVTZXRTZGstYjM3OTdlNThkNzJiYjVmYzhmYmQzYTIyZjdlYzdkMmESfAgCEnhodHRwczovL3d3dy5nc3RhdGljLmNvbS9tYXBzL3Jlcy9Db21wYWN0TGVnZW5kU2RrLVJvYWRtYXBTYXRlbGxpdGUtRmV0Y2hhYmxlU3R5bGVTZXRTZGstYjM3OTdlNThkNzJiYjVmYzhmYmQzYTIyZjdlYzdkMmESfAgDEnhodHRwczovL3d3dy5nc3RhdGljLmNvbS9tYXBzL3Jlcy9Db21wYWN0TGVnZW5kU2RrLVJvYWRtYXBTYXRlbGxpdGUtRmV0Y2hhYmxlU3R5bGVTZXRTZGstYjM3OTdlNThkNzJiYjVmYzhmYmQzYTIyZjdlYzdkMmESdggEEnJodHRwczovL3d3dy5nc3RhdGljLmNvbS9tYXBzL3Jlcy9Db21wYWN0TGVnZW5kU2RrLU5hdmlnYXRpb24tRmV0Y2hhYmxlU3R5bGVTZXRTZGstYjM3OTdlNThkNzJiYjVmYzhmYmQzYTIyZjdlYzdkMmESfggFEnpodHRwczovL3d3dy5nc3RhdGljLmNvbS9tYXBzL3Jlcy9Db21wYWN0TGVnZW5kU2RrLU5hdmlnYXRpb25Mb3dMaWdodC1GZXRjaGFibGVTdHlsZVNldFNkay1iMzc5N2U1OGQ3MmJiNWZjOGZiZDNhMjJmN2VjN2QyYRJ/CAYSe2h0dHBzOi8vd3d3LmdzdGF0aWMuY29tL21hcHMvcmVzL0NvbXBhY3RMZWdlbmRTZGstTmF2aWdhdGlvblNhdGVsbGl0ZS1GZXRjaGFibGVTdHlsZVNldFNkay1iMzc5N2U1OGQ3MmJiNWZjOGZiZDNhMjJmN2VjN2QyYRJzCAcSb2h0dHBzOi8vd3d3LmdzdGF0aWMuY29tL21hcHMvcmVzL0NvbXBhY3RMZWdlbmRTZGstUm9hZG1hcC1GZXRjaGFibGVTdHlsZVNldFNkay1iMzc5N2U1OGQ3MmJiNWZjOGZiZDNhMjJmN2VjN2QyYRJzCAgSb2h0dHBzOi8vd3d3LmdzdGF0aWMuY29tL21hcHMvcmVzL0NvbXBhY3RMZWdlbmRTZGstUm9hZG1hcC1GZXRjaGFibGVTdHlsZVNldFNkay1iMzc5N2U1OGQ3MmJiNWZjOGZiZDNhMjJmN2VjN2QyYRJ9CAkSeWh0dHBzOi8vd3d3LmdzdGF0aWMuY29tL21hcHMvcmVzL0NvbXBhY3RMZWdlbmRTZGstUm9hZG1hcEFtYmlhY3RpdmUtRmV0Y2hhYmxlU3R5bGVTZXRTZGstYjM3OTdlNThkNzJiYjVmYzhmYmQzYTIyZjdlYzdkMmEScwgKEm9odHRwczovL3d3dy5nc3RhdGljLmNvbS9tYXBzL3Jlcy9Db21wYWN0TGVnZW5kU2RrLVJvYWRtYXAtRmV0Y2hhYmxlU3R5bGVTZXRTZGstYjM3OTdlNThkNzJiYjVmYzhmYmQzYTIyZjdlYzdkMmESfAgLEnhodHRwczovL3d3dy5nc3RhdGljLmNvbS9tYXBzL3Jlcy9Db21wYWN0TGVnZW5kU2RrLVJvYWRtYXBTYXRlbGxpdGUtRmV0Y2hhYmxlU3R5bGVTZXRTZGstYjM3OTdlNThkNzJiYjVmYzhmYmQzYTIyZjdlYzdkMmEScwgMEm9odHRwczovL3d3dy5nc3RhdGljLmNvbS9tYXBzL3Jlcy9Db21wYWN0TGVnZW5kU2RrLVRlcnJhaW4tRmV0Y2hhYmxlU3R5bGVTZXRTZGstYjM3OTdlNThkNzJiYjVmYzhmYmQzYTIyZjdlYzdkMmESdggNEnJodHRwczovL3d3dy5nc3RhdGljLmNvbS9tYXBzL3Jlcy9Db21wYWN0TGVnZW5kU2RrLU5hdmlnYXRpb24tRmV0Y2hhYmxlU3R5bGVTZXRTZGstYjM3OTdlNThkNzJiYjVmYzhmYmQzYTIyZjdlYzdkMmESdggOEnJodHRwczovL3d3dy5nc3RhdGljLmNvbS9tYXBzL3Jlcy9Db21wYWN0TGVnZW5kU2RrLU5hdmlnYXRpb24tRmV0Y2hhYmxlU3R5bGVTZXRTZGstYjM3OTdlNThkNzJiYjVmYzhmYmQzYTIyZjdlYzdkMmESfQgPEnlodHRwczovL3d3dy5nc3RhdGljLmNvbS9tYXBzL3Jlcy9Db21wYWN0TGVnZW5kU2RrLVJvYWRtYXBBbWJpYWN0aXZlLUZldGNoYWJsZVN0eWxlU2V0U2RrLWIzNzk3ZTU4ZDcyYmI1ZmM4ZmJkM2EyMmY3ZWM3ZDJhEoMBCBASf2h0dHBzOi8vd3d3LmdzdGF0aWMuY29tL21hcHMvcmVzL0NvbXBhY3RMZWdlbmRTZGstUm9hZG1hcEFtYmlhY3RpdmVMb3dCaXQtRmV0Y2hhYmxlU3R5bGVTZXRTZGstYjM3OTdlNThkNzJiYjVmYzhmYmQzYTIyZjdlYzdkMmESfggREnpodHRwczovL3d3dy5nc3RhdGljLmNvbS9tYXBzL3Jlcy9Db21wYWN0TGVnZW5kU2RrLU5hdmlnYXRpb25Mb3dMaWdodC1GZXRjaGFibGVTdHlsZVNldFNkay1iMzc5N2U1OGQ3MmJiNWZjOGZiZDNhMjJmN2VjN2QyYRJ6CBISdmh0dHBzOi8vd3d3LmdzdGF0aWMuY29tL21hcHMvcmVzL0NvbXBhY3RMZWdlbmRTZGstVHJhbnNpdEZvY3VzZWQtRmV0Y2hhYmxlU3R5bGVTZXRTZGstYjM3OTdlNThkNzJiYjVmYzhmYmQzYTIyZjdlYzdkMmEScwgTEm9odHRwczovL3d3dy5nc3RhdGljLmNvbS9tYXBzL3Jlcy9Db21wYWN0TGVnZW5kU2RrLVJvYWRtYXAtRmV0Y2hhYmxlU3R5bGVTZXRTZGstYjM3OTdlNThkNzJiYjVmYzhmYmQzYTIyZjdlYzdkMmESeQgUEnVodHRwczovL3d3dy5nc3RhdGljLmNvbS9tYXBzL3Jlcy9Db21wYWN0TGVnZW5kU2RrLVJvdXRlT3ZlcnZpZXctRmV0Y2hhYmxlU3R5bGVTZXRTZGstYjM3OTdlNThkNzJiYjVmYzhmYmQzYTIyZjdlYzdkMmEScwgVEm9odHRwczovL3d3dy5nc3RhdGljLmNvbS9tYXBzL3Jlcy9Db21wYWN0TGVnZW5kU2RrLVJvYWRtYXAtRmV0Y2hhYmxlU3R5bGVTZXRTZGstYjM3OTdlNThkNzJiYjVmYzhmYmQzYTIyZjdlYzdkMmESfQgWEnlodHRwczovL3d3dy5nc3RhdGljLmNvbS9tYXBzL3Jlcy9Db21wYWN0TGVnZW5kU2RrLU5hdmlnYXRpb25BbWJpZW50LUZldGNoYWJsZVN0eWxlU2V0U2RrLWIzNzk3ZTU4ZDcyYmI1ZmM4ZmJkM2EyMmY3ZWM3ZDJhEoEBCBcSfWh0dHBzOi8vd3d3LmdzdGF0aWMuY29tL21hcHMvcmVzL0NvbXBhY3RMZWdlbmRTZGstTmF2aWdhdGlvbkFtYmllbnREYXJrLUZldGNoYWJsZVN0eWxlU2V0U2RrLWIzNzk3ZTU4ZDcyYmI1ZmM4ZmJkM2EyMmY3ZWM3ZDJhEoMBCBkSf2h0dHBzOi8vd3d3LmdzdGF0aWMuY29tL21hcHMvcmVzL0NvbXBhY3RMZWdlbmRTZGstQmFzZW1hcEVkaXRpbmdTYXRlbGxpdGUtRmV0Y2hhYmxlU3R5bGVTZXRTZGstYjM3OTdlNThkNzJiYjVmYzhmYmQzYTIyZjdlYzdkMmEScwgaEm9odHRwczovL3d3dy5nc3RhdGljLmNvbS9tYXBzL3Jlcy9Db21wYWN0TGVnZW5kU2RrLVJvYWRtYXAtRmV0Y2hhYmxlU3R5bGVTZXRTZGstYjM3OTdlNThkNzJiYjVmYzhmYmQzYTIyZjdlYzdkMmESdwgbEnNodHRwczovL3d3dy5nc3RhdGljLmNvbS9tYXBzL3Jlcy9Db21wYWN0TGVnZW5kU2RrLVJvYWRtYXBEYXJrLUZldGNoYWJsZVN0eWxlU2V0U2RrLWIzNzk3ZTU4ZDcyYmI1ZmM4ZmJkM2EyMmY3ZWM3ZDJhEn0IHBJ5aHR0cHM6Ly93d3cuZ3N0YXRpYy5jb20vbWFwcy9yZXMvQ29tcGFjdExlZ2VuZFNkay1Sb3V0ZU92ZXJ2aWV3RGFyay1GZXRjaGFibGVTdHlsZVNldFNkay1iMzc5N2U1OGQ3MmJiNWZjOGZiZDNhMjJmN2VjN2QyYRJ3CB0Sc2h0dHBzOi8vd3d3LmdzdGF0aWMuY29tL21hcHMvcmVzL0NvbXBhY3RMZWdlbmRTZGstVGVycmFpbkRhcmstRmV0Y2hhYmxlU3R5bGVTZXRTZGstYjM3OTdlNThkNzJiYjVmYzhmYmQzYTIyZjdlYzdkMmESfggeEnpodHRwczovL3d3dy5nc3RhdGljLmNvbS9tYXBzL3Jlcy9Db21wYWN0TGVnZW5kU2RrLVRyYW5zaXRGb2N1c2VkRGFyay1GZXRjaGFibGVTdHlsZVNldFNkay1iMzc5N2U1OGQ3MmJiNWZjOGZiZDNhMjJmN2VjN2QyYRJzCB8Sb2h0dHBzOi8vd3d3LmdzdGF0aWMuY29tL21hcHMvcmVzL0NvbXBhY3RMZWdlbmRTZGstUm9hZG1hcC1GZXRjaGFibGVTdHlsZVNldFNkay1iMzc5N2U1OGQ3MmJiNWZjOGZiZDNhMjJmN2VjN2QyYRJ3CCASc2h0dHBzOi8vd3d3LmdzdGF0aWMuY29tL21hcHMvcmVzL0NvbXBhY3RMZWdlbmRTZGstUm9hZG1hcERhcmstRmV0Y2hhYmxlU3R5bGVTZXRTZGstYjM3OTdlNThkNzJiYjVmYzhmYmQzYTIyZjdlYzdkMmESdwghEnNodHRwczovL3d3dy5nc3RhdGljLmNvbS9tYXBzL3Jlcy9Db21wYWN0TGVnZW5kU2RrLVJvYWRtYXBEYXJrLUZldGNoYWJsZVN0eWxlU2V0U2RrLWIzNzk3ZTU4ZDcyYmI1ZmM4ZmJkM2EyMmY3ZWM3ZDJhEoABCCUSfGh0dHBzOi8vd3d3LmdzdGF0aWMuY29tL21hcHMvcmVzL0NvbXBhY3RMZWdlbmRTZGstTmF2aWdhdGlvbkhpZ2hEZXRhaWwtRmV0Y2hhYmxlU3R5bGVTZXRTZGstYjM3OTdlNThkNzJiYjVmYzhmYmQzYTIyZjdlYzdkMmESiQEIJhKEAWh0dHBzOi8vd3d3LmdzdGF0aWMuY29tL21hcHMvcmVzL0NvbXBhY3RMZWdlbmRTZGstTmF2aWdhdGlvbkhpZ2hEZXRhaWxMb3dMaWdodC1GZXRjaGFibGVTdHlsZVNldFNkay1iMzc5N2U1OGQ3MmJiNWZjOGZiZDNhMjJmN2VjN2QyYRJyCCkSbmh0dHBzOi8vd3d3LmdzdGF0aWMuY29tL21hcHMvcmVzL0NvbXBhY3RMZWdlbmRTZGstVHJhdmVsLUZldGNoYWJsZVN0eWxlU2V0U2RrLWIzNzk3ZTU4ZDcyYmI1ZmM4ZmJkM2EyMmY3ZWM3ZDJhEnYIKhJyaHR0cHM6Ly93d3cuZ3N0YXRpYy5jb20vbWFwcy9yZXMvQ29tcGFjdExlZ2VuZFNkay1UcmF2ZWxEYXJrLUZldGNoYWJsZVN0eWxlU2V0U2RrLWIzNzk3ZTU4ZDcyYmI1ZmM4ZmJkM2EyMmY3ZWM3ZDJhEn8IKxJ7aHR0cHM6Ly93d3cuZ3N0YXRpYy5jb20vbWFwcy9yZXMvQ29tcGFjdExlZ2VuZFNkay1OYXZpZ2F0aW9uU2F0ZWxsaXRlLUZldGNoYWJsZVN0eWxlU2V0U2RrLWIzNzk3ZTU4ZDcyYmI1ZmM4ZmJkM2EyMmY3ZWM3ZDJhEn8ILBJ7aHR0cHM6Ly93d3cuZ3N0YXRpYy5jb20vbWFwcy9yZXMvQ29tcGFjdExlZ2VuZFNkay1UZXJyYWluVmVjdG9yQ2xpZW50LUZldGNoYWJsZVN0eWxlU2V0U2RrLWIzNzk3ZTU4ZDcyYmI1ZmM4ZmJkM2EyMmY3ZWM3ZDJhEoMBCC0Sf2h0dHBzOi8vd3d3LmdzdGF0aWMuY29tL21hcHMvcmVzL0NvbXBhY3RMZWdlbmRTZGstVGVycmFpblZlY3RvckNsaWVudERhcmstRmV0Y2hhYmxlU3R5bGVTZXRTZGstYjM3OTdlNThkNzJiYjVmYzhmYmQzYTIyZjdlYzdkMmESfQguEnlodHRwczovL3d3dy5nc3RhdGljLmNvbS9tYXBzL3Jlcy9Db21wYWN0TGVnZW5kU2RrLU5hdmlnYXRpb25BbWJpZW50LUZldGNoYWJsZVN0eWxlU2V0U2RrLWIzNzk3ZTU4ZDcyYmI1ZmM4ZmJkM2EyMmY3ZWM3ZDJhEoEBCC8SfWh0dHBzOi8vd3d3LmdzdGF0aWMuY29tL21hcHMvcmVzL0NvbXBhY3RMZWdlbmRTZGstTmF2aWdhdGlvbkFtYmllbnREYXJrLUZldGNoYWJsZVN0eWxlU2V0U2RrLWIzNzk3ZTU4ZDcyYmI1ZmM4ZmJkM2EyMmY3ZWM3ZDJhEn0IMBJ5aHR0cHM6Ly93d3cuZ3N0YXRpYy5jb20vbWFwcy9yZXMvQ29tcGFjdExlZ2VuZFNkay1BaXJRdWFsaXR5SGVhdG1hcC1GZXRjaGFibGVTdHlsZVNldFNkay1iMzc5N2U1OGQ3MmJiNWZjOGZiZDNhMjJmN2VjN2QyYRKBAQgxEn1odHRwczovL3d3dy5nc3RhdGljLmNvbS9tYXBzL3Jlcy9Db21wYWN0TGVnZW5kU2RrLUFpclF1YWxpdHlIZWF0bWFwRGFyay1GZXRjaGFibGVTdHlsZVNldFNkay1iMzc5N2U1OGQ3MmJiNWZjOGZiZDNhMjJmN2VjN2QyYRJ6CDISdmh0dHBzOi8vd3d3LmdzdGF0aWMuY29tL21hcHMvcmVzL0NvbXBhY3RMZWdlbmRTZGstTmF2aWdhdGlvbkVnbW0tRmV0Y2hhYmxlU3R5bGVTZXRTZGstYjM3OTdlNThkNzJiYjVmYzhmYmQzYTIyZjdlYzdkMmESggEIMxJ+aHR0cHM6Ly93d3cuZ3N0YXRpYy5jb20vbWFwcy9yZXMvQ29tcGFjdExlZ2VuZFNkay1OYXZpZ2F0aW9uRWdtbUxvd0xpZ2h0LUZldGNoYWJsZVN0eWxlU2V0U2RrLWIzNzk3ZTU4ZDcyYmI1ZmM4ZmJkM2EyMmY3ZWM3ZDJhEoMBCDQSf2h0dHBzOi8vd3d3LmdzdGF0aWMuY29tL21hcHMvcmVzL0NvbXBhY3RMZWdlbmRTZGstTmF2aWdhdGlvbkVnbW1TYXRlbGxpdGUtRmV0Y2hhYmxlU3R5bGVTZXRTZGstYjM3OTdlNThkNzJiYjVmYzhmYmQzYTIyZjdlYzdkMmESfAg1EnhodHRwczovL3d3dy5nc3RhdGljLmNvbS9tYXBzL3Jlcy9Db21wYWN0TGVnZW5kU2RrLU5hdmlnYXRpb25UdW5uZWwtRmV0Y2hhYmxlU3R5bGVTZXRTZGstYjM3OTdlNThkNzJiYjVmYzhmYmQzYTIyZjdlYzdkMmEShQEINhKAAWh0dHBzOi8vd3d3LmdzdGF0aWMuY29tL21hcHMvcmVzL0NvbXBhY3RMZWdlbmRTZGstTmF2aWdhdGlvblR1bm5lbExvd0xpZ2h0LUZldGNoYWJsZVN0eWxlU2V0U2RrLWIzNzk3ZTU4ZDcyYmI1ZmM4ZmJkM2EyMmY3ZWM3ZDJhEn0INxJ5aHR0cHM6Ly93d3cuZ3N0YXRpYy5jb20vbWFwcy9yZXMvQ29tcGFjdExlZ2VuZFNkay1OYXZpZ2F0aW9uR2xhc3Nlcy1GZXRjaGFibGVTdHlsZVNldFNkay1iMzc5N2U1OGQ3MmJiNWZjOGZiZDNhMjJmN2VjN2QyYRJ5CDgSdWh0dHBzOi8vd3d3LmdzdGF0aWMuY29tL21hcHMvcmVzL0NvbXBhY3RMZWdlbmRTZGstSW1tZXJzaXZlVmlldy1GZXRjaGFibGVTdHlsZVNldFNkay1iMzc5N2U1OGQ3MmJiNWZjOGZiZDNhMjJmN2VjN2QyYRJ9CDkSeWh0dHBzOi8vd3d3LmdzdGF0aWMuY29tL21hcHMvcmVzL0NvbXBhY3RMZWdlbmRTZGstTmF2aWdhdGlvbk1pbk1vZGUtRmV0Y2hhYmxlU3R5bGVTZXRTZGstYjM3OTdlNThkNzJiYjVmYzhmYmQzYTIyZjdlYzdkMmESgwEIOhJ/aHR0cHM6Ly93d3cuZ3N0YXRpYy5jb20vbWFwcy9yZXMvQ29tcGFjdExlZ2VuZFNkay1OYXZpZ2F0aW9uQW1iaWVudFR1bm5lbC1GZXRjaGFibGVTdHlsZVNldFNkay1iMzc5N2U1OGQ3MmJiNWZjOGZiZDNhMjJmN2VjN2QyYRKIAQg7EoMBaHR0cHM6Ly93d3cuZ3N0YXRpYy5jb20vbWFwcy9yZXMvQ29tcGFjdExlZ2VuZFNkay1OYXZpZ2F0aW9uQW1iaWVudERhcmtUdW5uZWwtRmV0Y2hhYmxlU3R5bGVTZXRTZGstYjM3OTdlNThkNzJiYjVmYzhmYmQzYTIyZjdlYzdkMmESgQEIPBJ9aHR0cHM6Ly93d3cuZ3N0YXRpYy5jb20vbWFwcy9yZXMvQ29tcGFjdExlZ2VuZFNkay1OYXZpZ2F0aW9uTWluTW9kZUF1dG8tRmV0Y2hhYmxlU3R5bGVTZXRTZGstYjM3OTdlNThkNzJiYjVmYzhmYmQzYTIyZjdlYzdkMmEiIGIzNzk3ZTU4ZDcyYmI1ZmM4ZmJkM2EyMmY3ZWM3ZDJhKAEycmh0dHBzOi8vd3d3Lmdvb2dsZS5jb20vbWFwcy92dC9zeGZvcm1zP3Y9YjM3OTdlNThkNzJiYjVmYzhmYmQzYTIyZjdlYzdkMmEmc3R5bGVyX3N1YnR5cGU9U1RZTEVSX0xFR0VORF9TVUJUWVBFX1NESzpgCi6AfIB4gHSAcIBsgGiAZIBggFyAWIBUgFCATIBIgESAQIA8gDiANIAwgCyAKIAkEgQIABAAEgQIARABEgQIAhACEg0IAxD///////////8BEg0IBBD+//////////8BQgNzZGs46Y60FjjriLgWOO7fuRY46pDzIg==",null,1,0.009999999776482582,null,[[[6,"1786970347"]]],null,"",null,1,0], loadScriptTime); + }; + var loadScriptTime = (new Date).getTime(); +})(); +// inlined +(function(_){/* + + Copyright The Closure Library Authors. + SPDX-License-Identifier: Apache-2.0 +*/ +/* + + Copyright Google LLC + SPDX-License-Identifier: Apache-2.0 +*/ +/* + + Copyright 2019 Google LLC + SPDX-License-Identifier: BSD-3-Clause +*/ +/* + + Copyright 2017 Google LLC + SPDX-License-Identifier: BSD-3-Clause +*/ +/* + +Math.uuid.js (v1.4) +http://www.broofa.com +mailto:robert@broofa.com +Copyright (c) 2010 Robert Kieffer +Dual licensed under the MIT and GPL licenses. +*/ +/* + + Copyright 2021 Google LLC + SPDX-License-Identifier: BSD-3-Clause +*/ +var aaa,ta,qa,Da,Ga,Ja,Oa,Ta,Ra,Za,caa,daa,wb,Bb,mc,oc,Ec,Hc,faa,nd,qd,gaa,td,zd,Fd,Id,$d,pe,ye,Pe,Qe,Re,hf,lf,mf,kaa,oaa,vf,xf,yf,saa,uaa,waa,Gf,zaa,Zf,ag,dg,ig,jg,kg,Daa,bg,Gaa,eh,Gh,Oaa,Paa,Mh,Saa,Taa,Xaa,Yaa,Zaa,aba,mba,nba,pba,vba,zba,Fi,Aba,Cba,Ri,Dba,Eba,Fba,Gba,Hba,Iba,Ti,Jba,Nba,Oba,Sba,Vba,cj,bj,cca,dca,gca,Aj,Bj,Cj,Dj,ica,jca,nca,kca,mca,Gj,oca,pca,Qj,qca,Sj,sca,rca,tca,Uj,vca,wca,Aca,Dca,Zj,ck,dk,Bca,Cca,Hca,fk,ek,gk,hk,Ica,jk,ik,Kca,nk,ok,pk,Mca,qk,rk,sk,tk,Nca,uk,vk,Oca,wk,Pca,Tca,Zca, +cda,dda,Dk,fda,gda,hda,kda,jda,lda,mda,Pk,ida,nda,dl,pda,qda,rda,Al,uda,Il,xda,yda,$l,am,Ada,Cda,km,Fda,Ida,ym,Lm,Nm,Km,an,jn,Pda,Qda,Rda,Tda,qn,vn,wn,Uda,Xda,Zda,Yda,$da,Bn,aea,En,Fn,Qn,Sn,Tn,hea,iea,Un,Vn,jea,kea,ao,lea,eo,qea,io,sea,uea,vea,mo,yea,so,zea,wo,Aea,zo,Dea,Eea,Fea,Hea,Iea,Mea,Nea,Co,Oea,Lea,Jea,Kea,Qea,Pea,Eo,Sea,Vea,Wea,Yea,Yo,$o,afa,cfa,dfa,ffa,hfa,ifa,jfa,kfa,lfa,mfa,nfa,ofa,pfa,qfa,rfa,tfa,vfa,wfa,xfa,Bfa,Cfa,op,pp,qp,Ffa,Gfa,Hfa,Ifa,Nfa,Lfa,Sfa,Tfa,Jp,Ip,Lp,fga,iga,jga,lga,nga, +sga,wga,rga,yga,xga,Bga,Cga,Dga,Ega,hq,Gga,Kga,Lga,Nga,Oga,Zga,Yga,Qga,Rga,Wga,tq,Hn,ea,Ba,ya,za,wa,la,pa;_.fa=function(a){return function(){return ea[a].apply(this,arguments)}};_.ia=function(a,b){return ea[a]=b};_.ma=function(a,b,c){if(!c||a!=null){c=la[b];if(c==null)return a[b];c=a[c];return c!==void 0?c:a[b]}};aaa=function(a,b,c){if(b)for(var d=0;d>>0,la[d]=za?ya.Symbol(d):"$jscp$"+a+"$"+d),Ba(f,la[d],{configurable:!0,writable:!0,value:b})))};Da=function(a){a=Math.trunc(a)||0;a<0&&(a+=this.length);if(!(a<0||a>=this.length))return this[a]}; +Ga=function(a){if(typeof a!=="object"||a===null||typeof a.size!=="number"||a.size<0||typeof a.keys!=="function"||typeof a.has!=="function")throw new TypeError("Argument must be set-like");};Ja=function(a){if(typeof a!=="object"||a===null||typeof a.next!=="function")throw new TypeError("Invalid iterator.");return a};Oa=function(a){if(!(a instanceof Set))throw new TypeError("Method must be called on an instance of Set.");};Ta=function(a,b){var c=Ra("CLOSURE_FLAGS");a=c&&c[a];return a!=null?a:b}; +Ra=function(a,b){a=a.split(".");b=b||_.Ua;for(var c=0;c2){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}};_.mb=function(a,b,c){_.mb=Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=-1?caa:daa;return _.mb.apply(null,arguments)};_.nb=function(){return Date.now()}; +_.ob=function(a,b){a=a.split(".");for(var c=_.Ua,d;a.length&&(d=a.shift());)a.length||b===void 0?c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}:c[d]=b};_.rb=function(a){return a};_.tb=function(a,b){function c(){}c.prototype=b.prototype;a.jr=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.hA=function(d,e,f){for(var g=Array(arguments.length-2),h=2;h=0;h--)if(g=a[h])f=(e<3?g(f):e>3?g(b,c,f):g(b,c))||f;e>3&&f&&Object.defineProperty(b,c,f)};_.F=function(a,b){if(Reflect&&typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(a,b)}; +_.vb=function(a,b){if(Error.captureStackTrace)Error.captureStackTrace(this,_.vb);else{let c=Error().stack;c&&(this.stack=c)}a&&(this.message=String(a));b!==void 0&&(this.cause=b)};wb=function(a,b){var c=_.vb.call;a=a.split("%s");var d="",e=a.length-1;for(let f=0;f{throw a;},0)};_.Fb=function(a,b){return a.lastIndexOf(b,0)==0}; +_.Ib=function(){return _.Hb().toLowerCase().indexOf("webkit")!=-1};_.Hb=function(){var a=_.Ua.navigator;return a&&(a=a.userAgent)?a:""};_.Nb=function(a){if(!Kb||!_.Mb)return!1;for(let b=0;b<_.Mb.brands.length;b++){let {brand:c}=_.Mb.brands[b];if(c&&c.indexOf(a)!=-1)return!0}return!1};_.Rb=function(a){return _.Hb().indexOf(a)!=-1};_.Ub=function(){return Kb?!!_.Mb&&_.Mb.brands.length>0:!1};_.Wb=function(){return _.Ub()?!1:_.Rb("Opera")};_.$b=function(){return _.Ub()?!1:_.Rb("Trident")||_.Rb("MSIE")}; +_.dc=function(){return _.Ub()?_.Nb("Microsoft Edge"):_.Rb("Edg/")};_.ic=function(){return _.Rb("Firefox")||_.Rb("FxiOS")};_.lc=function(){return _.Rb("Safari")&&!(_.jc()||(_.Ub()?0:_.Rb("Coast"))||_.Wb()||(_.Ub()?0:_.Rb("Edge"))||_.dc()||(_.Ub()?_.Nb("Opera"):_.Rb("OPR"))||_.ic()||_.Rb("Silk")||_.Rb("Android"))};_.jc=function(){return _.Ub()?_.Nb("Chromium"):(_.Rb("Chrome")||_.Rb("CriOS"))&&!(_.Ub()?0:_.Rb("Edge"))||_.Rb("Silk")};mc=function(){return Kb?!!_.Mb&&!!_.Mb.platform:!1}; +oc=function(){return _.Rb("iPhone")&&!_.Rb("iPod")&&!_.Rb("iPad")};_.pc=function(){return mc()?_.Mb.platform==="macOS":_.Rb("Macintosh")};_.qc=function(){return mc()?_.Mb.platform==="Windows":_.Rb("Windows")};_.sc=function(a,b,c){c=c==null?0:c<0?Math.max(0,a.length+c):c;if(typeof a==="string")return typeof b!=="string"||b.length!=1?-1:a.indexOf(b,c);for(;c=0};_.Ac=function(a,b){b=_.sc(a,b);var c;(c=b>=0)&&_.zc(a,b);return c};_.zc=function(a,b){Array.prototype.splice.call(a,b,1)};_.Bc=function(a){var b=a.length;if(b>0){let c=Array(b);for(let d=0;d>2];g=b[(g&3)<<4|h>>4];h=b[(h&15)<<2|k>>6];k=b[k&63];c[f++]=""+m+g+h+k}m=0;k=d;switch(a.length-e){case 2:m=a[e+1],k=b[(m&15)<<2]||d;case 1:a=a[e],c[f]=""+b[a>>2]+b[(a&3)<<4|m>>4]+k+d}return c.join("")};_.Xc=function(a){var b=[];_.Wc(a,function(c){b.push(c)});return b}; +_.Wc=function(a,b){function c(e){for(;d>4);g!=64&&(b(f<<4&240|g>>2),h!=64&&b(g<<6&192|h))}}; +Hc=function(){if(!Yc){Yc={};var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"];for(let c=0;c<5;c++){let d=a.concat(b[c].split(""));Ic[c]=d;for(let e=0;e{var e=new MessageChannel;e.port2.onmessage=f=>{c(f.data)};try{e.port1.postMessage(a,b)}catch(f){d(f)}})};_.sd=function(a,b,c){a.__closure__error__context__984382||(a.__closure__error__context__984382={});a.__closure__error__context__984382[b]=c};td=function(){var a=Error();_.sd(a,"severity","incident");_.Eb(a)};_.ud=function(a){a=Error(a);_.sd(a,"severity","warning");return a}; +_.yd=function(a,b){if(a!=null){var c=vd??(vd={});var d=c[a]||0;d>=b||(c[a]=d+1,td())}};zd=function(a,b=!1){return b&&Symbol.for&&a?Symbol.for(a):a!=null?Symbol(a):Symbol()};_.Ed=function(a,b){a[_.Dd]|=b};Fd=function(a){if(4&a)return 512&a?512:1024&a?1024:0};_.Hd=function(a){_.Ed(a,34);return a};Id=function(a){_.Ed(a,32);return a};_.Jd=function(a){return a.length==0?_.jd():new _.fd(a,_.id)};_.Rd=function(a){return a[Md]===Nd}; +_.Td=function(a,b){return b===void 0?a.Rh!==_.Sd&&!!(2&(a.Mi[_.Dd]|0)):!!(2&b)&&a.Rh!==_.Sd};_.Ud=function(a,b){a.Rh=b?_.Sd:void 0};_.Xd=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};_.Yd=function(a,b){if(a!=null)if(typeof a==="string")a=a?new _.fd(a,_.id):_.jd();else if(a.constructor!==_.fd)if(_.cd(a))a=a.length?new _.fd(new Uint8Array(a),_.id):_.jd();else{if(!b)throw Error();a=void 0}return a};_.Zd=function(a,b){if(typeof b!=="number"||b<0||b>=a.length)throw Error();}; +$d=function(a,b){if(typeof b!=="number"||b<0||b>a.length)throw Error();};_.ae=function(a,b,c){var d=b&128?0:-1,e=a.length,f;if(f=!!e)f=a[e-1],f=f!=null&&typeof f==="object"&&f.constructor===Object;var g=e+(f?-1:0);for(b=b&128?1:0;b>>0;_.fe=b;_.ge=(a-b)/4294967296>>>0};_.je=function(a){if(a<0){_.ie(0-a);a=_.fe;var b=_.ge;b=~b;a?a=~a+1:b+=1;let [c,d]=[a,b];_.fe=c>>>0;_.ge=d>>>0}else _.ie(a)};_.ne=function(a){var b=_.ke||(_.ke=new DataView(new ArrayBuffer(8)));b.setFloat64(0,+a,!0);_.fe=b.getUint32(0,!0);_.ge=b.getUint32(4,!0)}; +pe=function(a,b){var c=b*4294967296+(a>>>0);return Number.isSafeInteger(c)?c:_.oe(a,b)};_.qe=function(a,b){return _.ee(BigInt.asIntN(64,(BigInt.asUintN(32,BigInt(b))<>>=0;a>>>=0;var c;b<=2097151?c=""+(4294967296*b+a):c=""+(BigInt(b)<>>0)):c=_.oe(a,b);return c}; +_.ue=function(a){a.length<16?_.je(Number(a)):(a=BigInt(a),_.fe=Number(a&BigInt(4294967295))>>>0,_.ge=Number(a>>BigInt(32)&BigInt(4294967295)))};_.ve=function(a,b=`unexpected value ${a}!`){throw Error(b);};_.we=function(a){if(typeof a!=="number")throw Error(`Value of float/double field must be a number, found ${typeof a}: ${a}`);return a};_.xe=function(a){if(a==null||typeof a==="number")return a;if(a==="NaN"||a==="Infinity"||a==="-Infinity")return Number(a)}; +ye=function(a){return a.displayName||a.name||"unknown type name"};_.ze=function(a){if(typeof a!=="boolean")throw Error(`Expected boolean but got ${Za(a)}: ${a}`);return a};_.Ae=function(a){if(a==null||typeof a==="boolean")return a;if(typeof a==="number")return!!a};_.Fe=function(a){switch(typeof a){case "bigint":return!0;case "number":return Ee(a);case "string":return jaa.test(a);default:return!1}};_.Ge=function(a){if(!Ee(a))throw _.ud("enum");return a|0}; +_.He=function(a){return a==null?a:Ee(a)?a|0:void 0};_.Ie=function(a){if(typeof a!=="number")throw _.ud("int32");if(!Ee(a))throw _.ud("int32");return a|0};_.Je=function(a){if(a==null)return a;if(typeof a==="string"&&a)a=+a;else if(typeof a!=="number")return;return Ee(a)?a|0:void 0};_.Ke=function(a){if(typeof a!=="number")throw _.ud("uint32");if(!Ee(a))throw _.ud("uint32");return a>>>0}; +_.Le=function(a){if(a==null)return a;if(typeof a==="string"&&a)a=+a;else if(typeof a!=="number")return;return Ee(a)?a>>>0:void 0}; +_.Te=function(a,b){b??(b=1024);if(!_.Fe(a))throw _.ud("int64");var c=typeof a;switch(b){case 512:switch(c){case "string":return _.Me(a);case "bigint":return String((0,_.Ne)(64,a));default:return Pe(a)}case 1024:switch(c){case "string":return Qe(a);case "bigint":return _.ee((0,_.Ne)(64,a));default:return Re(a)}case 0:switch(c){case "string":return _.Me(a);case "bigint":return _.ee((0,_.Ne)(64,a));default:return _.Se(a)}default:return _.ve(b,"Unknown format requested type for int64")}}; +_.Se=function(a){_.Fe(a);a=(0,_.Ue)(a);if(!(0,_.Ve)(a)){_.je(a);var b=_.fe,c=_.ge;if(a=c&2147483648)b=~b+1>>>0,c=~c>>>0,b==0&&(c=c+1>>>0);b=pe(b,c);a=typeof b==="number"?a?-b:b:a?"-"+b:b}return a};_.We=function(a){_.Fe(a);a=(0,_.Ue)(a);a>=0&&(0,_.Ve)(a)||(_.je(a),a=pe(_.fe,_.ge));return a};Pe=function(a){_.Fe(a);a=(0,_.Ue)(a);(0,_.Ve)(a)?a=String(a):(_.je(a),a=_.te(_.fe,_.ge));return a}; +_.Me=function(a){_.Fe(a);var b=(0,_.Ue)(Number(a));if((0,_.Ve)(b))return String(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));b=a.length;(a[0]==="-"?b<20||b===20&&a<="-9223372036854775808":b<19||b===19&&a<="9223372036854775807")||(_.ue(a),a=_.te(_.fe,_.ge));return a};Qe=function(a){var b=(0,_.Ue)(Number(a));if((0,_.Ve)(b))return _.ee(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));return _.ee((0,_.Ne)(64,BigInt(a)))};Re=function(a){return(0,_.Ve)(a)?_.ee(_.Se(a)):_.ee(Pe(a))}; +_.Ze=function(a){_.Fe(a);var b=(0,_.Ue)(Number(a));if((0,_.Ve)(b)&&b>=0)return String(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));a[0]==="-"?b=!1:(b=a.length,b=b<20?!0:b===20&&a<="18446744073709551615");b||(_.ue(a),a=_.oe(_.fe,_.ge));return a};_.$e=function(a){var b=typeof a;if(a==null)return a;if(b==="bigint")return String((0,_.Ne)(64,a));if(_.Fe(a))return b==="string"?_.Me(a):_.Se(a)}; +_.af=function(a){var b=typeof a;if(a==null)return a;if(b==="bigint")return _.ee((0,_.Ne)(64,a));if(_.Fe(a))return b==="string"?Qe(a):Re(a)};_.cf=function(a){var b=typeof a;if(a==null)return a;if(b==="bigint")return String((0,_.bf)(64,a));if(_.Fe(a))return b==="string"?_.Ze(a):_.We(a)};_.df=function(a){if(a==null)return a;var b=typeof a;if(b==="bigint")return String((0,_.Ne)(64,a));if(_.Fe(a)){if(b==="string")return _.Me(a);if(b==="number")return _.Se(a)}}; +_.ef=function(a){if(typeof a!=="string")throw Error();return a};_.ff=function(a){if(a!=null&&typeof a!=="string")throw Error();return a};_.gf=function(a){return a==null||typeof a==="string"?a:void 0};hf=function(a,b){if(!(a instanceof b))throw Error(`Expected instanceof ${ye(b)} but got ${a&&ye(a.constructor)}`);return a};lf=function(a,b,c,d){if(a!=null&&_.Rd(a))return a;if(!Array.isArray(a))return c?d&2?b[_.jf]||(b[_.jf]=_.kf(b)):new b:void 0;c=a[_.Dd]|0;d=c|d&32|d&2;d!==c&&(a[_.Dd]=d);return new b(a)}; +_.kf=function(a){a=new a;_.Hd(a.Mi);return a};mf=function(a){return a};_.of=function(a){var b=_.rb(_.nf);return b?a[b]:void 0};_.pf=function(a,b){for(let c in a)_.Xd(a,c)&&!isNaN(c)&&b(a,+c,a[c])};kaa=function(a){var b=new _.qf;_.pf(a,(c,d,e)=>{b[d]=[...e]});b.NB=a.NB;return b};_.sf=function(a,b,c){if(_.rb(_.rf)&&_.rb(_.nf)&&c===_.rf&&(a=a.Mi,c=a[_.nf])&&(c=c.NB))try{c(a,b,laa)}catch(d){_.Eb(d)}};_.tf=function(a,b){var c=_.rb(_.nf);c&&a[c]?.[b]!=null&&_.yd(maa,3)}; +oaa=function(a,b){b<100||_.yd(naa,1)}; +vf=function(a,b,c,d){var e=d!==void 0;d=!!d;var f=_.rb(_.nf),g;!e&&f&&(g=a[f])&&_.pf(g,oaa);f=[];var h=a.length;g=4294967295;var k=!1,m=!!(b&64),p=m?b&128?0:-1:void 0;if(!(b&1)){var q=h&&a[h-1];q!=null&&typeof q==="object"&&q.constructor===Object?(h--,g=h):q=void 0;!m||b&128||e||(k=!0,g=(uf??mf)(g-p,p,a,q,void 0)+p)}b=void 0;for(var u=0;u=g){let z=u-p;(b??(b={}))[z]=x}else f[u]=x}if(q)for(let x in q){if(!_.Xd(q,x))continue;h=q[x];if(h==null|| +(h=c(h,d))==null)continue;u=+x;let z;m&&!Number.isNaN(u)&&(z=u+p)0?void 0:a===0?raa||(raa=[0,void 0]):[-a,void 0];case "string":return[0,a];case "object":return a}};_.Cf=function(a,b){return saa(a,b[0],b[1])}; +saa=function(a,b,c,d=0){if(a==null){var e=32;c?(a=[c],e|=128):a=[];b&&(e=e&-16760833|(b&1023)<<14)}else{if(!Array.isArray(a))throw Error("narr");e=a[_.Dd]|0;if(taa&&1&e)throw Error("rfarr");2048&e&&!(2&e)&&uaa();if(e&256)throw Error("farr");if(e&64)return(e|d)!==e&&(a[_.Dd]=e|d),a;if(c&&(e|=128,c!==a[0]))throw Error("mid");a:{c=a;e|=64;var f=c.length;if(f){var g=f-1;let k=c[g];if(k!=null&&typeof k==="object"&&k.constructor===Object){b=e&128?0:-1;g-=b;if(g>=1024)throw Error("pvtlmt");for(var h in k){if(!_.Xd(k, +h))continue;f=+h;if(f1024)throw Error("spvt");e=e&-16760833|(h&1023)<<14}}}a[_.Dd]=e|64|d;return a};uaa=function(){if(taa)throw Error("carr");_.yd(vaa,5)}; +waa=function(a,b){if(typeof a!=="object")return a;if(Array.isArray(a)){var c=a[_.Dd]|0;a.length===0&&c&1?a=void 0:c&2||(!b||4096&c||16&c?a=_.Df(a,c,!1,b&&!(c&16)):(_.Ed(a,34),c&4&&Object.freeze(a)));return a}if(a!=null&&_.Rd(a))return b=a.Mi,c=b[_.Dd]|0,_.Td(a,c)?a:_.Ff(a,b,c)?Gf(a,b):_.Df(b,c);if(a instanceof _.fd)return a};Gf=function(a,b,c){a=new a.constructor(b);c&&_.Ud(a,!0);a.wB=_.Sd;return a};_.Df=function(a,b,c,d){d??(d=!!(34&b));a=vf(a,b,waa,d);d=32;c&&(d|=2);b=b&16769217|d;a[_.Dd]=b;return a}; +_.Hf=function(a){var b=a.Mi,c=b[_.Dd]|0;return _.Td(a,c)?_.Ff(a,b,c)?Gf(a,b,!0):new a.constructor(_.Df(b,c,!1)):a};_.If=function(a){if(a.Rh!==_.Sd)return!1;var b=a.Mi;b=_.Df(b,b[_.Dd]|0);_.Ed(b,2048);a.Mi=b;_.Ud(a,!1);a.wB=void 0;return!0};_.Jf=function(a){if(!_.If(a)&&_.Td(a,a.Mi[_.Dd]|0))throw Error();};_.Kf=function(a,b){b===void 0&&(b=a[_.Dd]|0);b&32&&!(b&4096)&&(a[_.Dd]=b|4096)};_.Ff=function(a,b,c){return c&2?!0:c&32&&!(c&4096)?(b[_.Dd]=c|2,_.Ud(a,!0),!0):!1}; +_.Mf=function(a,b,c,d,e){Object.isExtensible(a);b=_.Lf(a.Mi,b,c,e);if(b!==null||d&&a.wB!==_.Sd)return b};_.Lf=function(a,b,c,d){if(b===-1)return null;var e=b+(c?0:-1),f=a.length-1;if(!(f<1+(c?0:-1))){if(e>=f){var g=a[f];if(g!=null&&typeof g==="object"&&g.constructor===Object){c=g[b];var h=!0}else if(e===f)c=g;else return}else c=a[e];if(d&&c!=null){d=d(c);if(d==null)return d;if(!Object.is(d,c))return h?g[b]=d:a[e]=d,d}return c}};_.Pf=function(a,b,c,d){_.Jf(a);var e=a.Mi;_.Of(e,e[_.Dd]|0,b,c,d);return a}; +_.Of=function(a,b,c,d,e){var f=c+(e?0:-1),g=a.length-1;if(g>=1+(e?0:-1)&&f>=g){let h=a[g];if(h!=null&&typeof h==="object"&&h.constructor===Object)return h[c]=d,b}if(f<=g)return a[f]=d,b;d!==void 0&&(g=(b??(b=a[_.Dd]|0))>>14&1023||536870912,c>=g?d!=null&&(a[g+(e?0:-1)]={[c]:d}):a[f]=d);return b};_.G=function(a,b,c,d){a=a.Mi;return _.Qf(a,a[_.Dd]|0,b,c,d)!==void 0};_.Sf=function(a,b){return _.Rf(a,a[_.Dd]|0,b)};_.Uf=function(a,b,c){var d=a.Mi;return _.Tf(a,d,d[_.Dd]|0,b,c,3).length}; +_.Xf=function(a,b,c,d,e){_.Vf(a,b,c,void 0,e,d,1);return a};_.Yf=function(){return void 0===xaa?2:4}; +_.cg=function(a,b,c,d,e,f,g){var h=a.Mi,k=h[_.Dd]|0;d=_.Td(a,k)?1:d;e=!!e||d===3;d===2&&_.If(a)&&(h=a.Mi,k=h[_.Dd]|0);var m=Zf(h,b,g),p=m===_.$f?7:m[_.Dd]|0,q=ag(p,k);var u=q;4&u?f==null?a=!1:(!e&&f===0&&(512&u||1024&u)&&(a.constructor[yaa]=(a.constructor[yaa]|0)+1)<5&&td(),a=f===0?!1:!(f&u)):a=!0;if(a){4&q&&(m=[...m],p=0,q=bg(q,k),k=_.Of(h,k,b,m,g));let x=u=0;for(;u{var h=lf(g,c,!1,b);f=h!==g&&h!=null;return h});if(d!=null)return f&&!_.Td(d)&&_.Kf(a,b),d};_.H=function(a,b,c,d){a=a.Mi;return _.Qf(a,a[_.Dd]|0,b,c,d)||b[_.jf]||(b[_.jf]=_.kf(b))};_.qg=function(a,b,c,d){var e=a.Mi,f=e[_.Dd]|0;b=_.Qf(e,f,b,c,d);if(b==null)return b;f=e[_.Dd]|0;if(!_.Td(a,f)){let g=_.Hf(b);g!==b&&(_.If(a)&&(e=a.Mi,f=e[_.Dd]|0),b=g,f=_.Of(e,f,c,b,d),_.Kf(e,f))}return b}; +_.rg=function(a,b,c,d){var e=a.Mi;return _.Tf(a,e,e[_.Dd]|0,b,c,1,d)}; +_.Tf=function(a,b,c,d,e,f,g,h,k){var m=_.Td(a,c);f=m?1:f;h=!!h||f===3;m=k&&!m;(f===2||m)&&_.If(a)&&(b=a.Mi,c=b[_.Dd]|0);a=Zf(b,e,g);var p=a===_.$f?7:a[_.Dd]|0,q=ag(p,c);if(k=!(4&q)){var u=a,x=c;let z=!!(2&q);z&&(x|=2);let B=!z,K=!0,O=0,A=0;for(;O32)for(d|=(h&127)>>4,e=3;e<32&&h&128;e+=7)h=f[g++],d|=(h&127)<>>0,d>>>0);throw Error();};_.gh=function(a){for(var b=0,c=a.qh,d=c+10,e=a.rh;c>>0};_.jh=function(a){return _.fh(a,_.qe)};_.nh=function(a){var b=a.xh;b||(b=a.rh,b=a.xh=new DataView(b.buffer,b.byteOffset,b.byteLength));b=b.getFloat64(a.qh,!0);_.kh(a,8);return b};Gaa=function(a){return _.hh(a)}; +eh=function(a,b){a.qh=b;if(b>a.sh)throw Error();};_.kh=function(a,b){eh(a,a.qh+b)};_.oh=function(a,b){if(b<0)throw Error();var c=a.qh;b=c+b;if(b>a.sh)throw Error();a.qh=b;return c};_.rh=function(a,b){var c=_.oh(a,b);var d=a.rh;(a=ph)||(a=ph=new TextDecoder("utf-8",{fatal:!0}));b=c+b;d=c===0&&b===d.length?d:d.subarray(c,b);try{var e=a.decode(d)}catch(f){if(qh===void 0){try{a.decode(new Uint8Array([128]))}catch(g){}try{a.decode(new Uint8Array([97])),qh=!0}catch(g){qh=!1}}!qh&&(ph=void 0);throw f;}return e}; +_.sh=function(a,b,c){var d=a.rh.sh,e=_.ih(a.rh);e=a.rh.getCursor()+e;var f=e-d;f<=0&&(a.rh.sh=e,c(b,a,void 0,void 0,void 0),f=e-a.rh.getCursor());if(f)throw Error();a.rh.setCursor(e);a.rh.sh=d;return b};_.th=function(a){var b=_.ih(a.rh);return _.rh(a.rh,b)};_.uh=function(a,b,c){var d=_.ih(a.rh);for(d=a.rh.getCursor()+d;a.rh.getCursor()=Kaa&&a<=Laa)return c(Number(a));a=BigInt.asUintN(64,a);return new b(Number(a&Maa),Number(a>>zh))};_.Bh=function(a,b,c){for(;c>0||b>127;)a.qh.push(b&127|128),b=(b>>>7|c<<25)>>>0,c>>>=7;a.qh.push(b)}; +_.Ch=function(a,b){a.qh.push(b>>>0&255);a.qh.push(b>>>8&255);a.qh.push(b>>>16&255);a.qh.push(b>>>24&255)};_.Dh=function(a,b){for(;b>127;)a.qh.push(b&127|128),b>>>=7;a.qh.push(b)};_.Eh=function(a,b){if(b>=0)_.Dh(a,b);else{for(let c=0;c<9;c++)a.qh.push(b&127|128),b>>=7;a.qh.push(1)}};Gh=function(a,b){b.length!==0&&(a.sh.push(b),a.rh+=b.length)};_.Hh=function(a,b,c){_.Dh(a.qh,b*8+c)};_.Ih=function(a,b){_.Hh(a,b,2);b=a.qh.end();Gh(a,b);b.push(a.rh);return b}; +_.Jh=function(a,b){var c=b.pop();for(c=a.rh+a.qh.length()-c;c>127;)b.push(c&127|128),c>>>=7,a.rh++;b.push(c);a.rh++};_.Naa=function(a){Gh(a,a.qh.end());var b=new Uint8Array(a.rh),c=a.sh,d=c.length,e=0;for(let f=0;f0;){for(var k=0;kg(h,k,m,f||(f=_.Wh(d).eq),e||(e=Zaa(d)))}; +Zaa=function(a){var b=a[$aa];if(!b){let c=_.Wh(a);b=(d,e)=>_.$h(d,e,c);a[$aa]=b}return b};_.$h=function(a,b,c){_.ae(a,a[_.Dd]|0,(d,e)=>{if(e!=null){var f=aba(c,d);f?f(b,e,d):d<500||_.yd(_.ai,3)}});(a=_.of(a))&&_.pf(a,(d,e,f)=>{Gh(b,b.qh.end());for(d=0;dd(g,h,k,f,e)}else c=d;return a[b]=c}}; +_.bi=function(a,b,c){if(Array.isArray(b)){var d=b[_.Dd]|0;if(d&4)return b;for(var e=0,f=0;e{var c=new qba(a,b);return()=>c})()};_.ni=function(a,b,c,d){return new rba(a,b,c,d)};_.oi=function(a,b){var c;return()=>{var d;if((d=c)==null){if(!(a?.prototype instanceof _.L))throw Error();a[_.jf]||(a[_.jf]=_.kf(a));new a;d=c={[sba]:b,[tba]:a}}return d}};_.pi=function(a){return b=>{b=JSON.parse(b);if(!Array.isArray(b))throw Error("Expected jspb data to be an array, got "+Za(b)+": "+b);_.Hd(b);return new a(b)}}; +_.qi=function(a){return b=>{if(b==null||b=="")b=new a;else{b=JSON.parse(b);if(!Array.isArray(b))throw Error("dnarr");b=new a(Id(b))}return b}};_.si=function(a,b){return _.Wg(a,1,b)};_.ti=function(a,b){return _.Wg(a,2,b)};_.uba=function(a,b){Number.isFinite(b)||(b=0);a=_.Faa(a,Math.floor(b/1E3));return _.Tg(a,2,(b%1E3+1E3)%1E3*1E6)};_.ui=function(a,b,c){for(let d in a)b.call(c,a[d],d,a)};vba=function(a,b){var c={};for(let d in a)c[d]=b.call(void 0,a[d],d,a);return c}; +_.vi=function(a){var b=[],c=0;for(let d in a)b[c++]=a[d];return b};_.wi=function(a){for(let b in a)return!1;return!0};_.xba=function(a,b){for(let e=1;ec;a=yba.createPolicy("google-maps-api#html",{createHTML:b,createScript:b,createScriptURL:b})}catch(b){}return a}; +_.yi=function(){xi===void 0&&(xi=zba());return xi};_.Ai=function(a){var b=_.yi();a=b?b.createScriptURL(a):a;return new _.zi(a)};_.Bi=function(a){if(a instanceof _.zi)return a.qh;throw Error("");};_.Di=function(a){return new _.Ci(a)};Fi=function(a){return new _.Ei(b=>b.substr(0,a.length+1).toLowerCase()===a+":")};_.Hi=function(a){var b=_.yi();a=b?b.createHTML(a):a;return new Gi(a)};_.Ii=function(a){if(a instanceof Gi)return a.qh;throw Error("");}; +Aba=function(a,b=document){a=b.querySelector?.(`${a}[nonce]`);return a==null?"":a.nonce||a.getAttribute("nonce")||""};_.Bba=function(a){var b=Aba("script",a.ownerDocument);b&&a.setAttribute("nonce",b)};_.Ji=function(a,b){if(a.nodeType===1&&/^(script|style)$/i.test(a.tagName))throw Error("");a.innerHTML=_.Ii(b)};_.Li=function(a){if(a instanceof _.Ki)return a.qh;throw Error("");};_.Mi=function(a){return encodeURIComponent(String(a))}; +Cba=function(a){var b=1;a=a.split(":");for(var c=[];b>0&&a.length;)c.push(a.shift()),b--;a.length&&c.push(a.join(":"));return c};_.Oi=function(a,b){return b.match(_.Ni)[a]||null};_.Pi=function(a,b,c){c=c!=null?"="+_.Mi(c):"";if(b+=c){c=a.indexOf("#");c<0&&(c=a.length);let d=a.indexOf("?"),e;d<0||d>c?(d=c,e=""):e=a.substring(d+1,c);a=[a.slice(0,d),e,a.slice(c)];c=a[1];a[1]=b?c?c+"&"+b:b:c;a=a[0]+(a[1]?"?"+a[1]:"")+a[2]}return a};_.Qi=function(a){return new _.Ki(a[0])}; +Ri=function(a){try{return new URL(a,window.document.baseURI)}catch(b){return new URL("about:invalid")}};Dba=function(a,b){var c=b.createRange();c.selectNode(b.body);a=_.Hi(a);return c.createContextualFragment(_.Ii(a))};Eba=function(a){a=a.nodeName;return typeof a==="string"?a:"FORM"};Fba=function(a){a=a.nodeType;return a===1||typeof a!=="number"};Gba=function(a,b,c){c=a.qh.get(c);return c?.has(b)?c.get(b):a.th.has(b)?{Pm:1}:(c=a.wh.get(b))?c:a.rh&&[...a.rh].some(d=>b.indexOf(d)===0)?{Pm:1}:{Pm:0}}; +_.Si=function(a,b){var c=document.implementation.createHTMLDocument("");a=Hba(a,b,c);c=c.body;c.appendChild(a);c=(new XMLSerializer).serializeToString(c);c=c.slice(c.indexOf(">")+1,c.lastIndexOf("{if(g.nodeType===3)g=1;else if(Fba(g))if(g=Eba(g),g===null)g=2;else{var h=a.sh;g=g!=="FORM"&&(h.sh.has(g)||h.qh.has(g))?1:2}else g=2;return g});for(var d=b.nextNode(),e=c.createDocumentFragment(),f=e;d!==null;){let g;if(d.nodeType===3)a.wh&&f.nodeName==="STYLE"?(d=a.wh(d.data),g=a.createTextNode(d)):g=a.createTextNode(d.data);else if(Fba(d))g=Iba(a,d,c);else throw Error("");f.appendChild(g);if(d=b.firstChild())f=g;else for(;!(d=b.nextSibling())&& +(d=b.parentNode());)f=f.parentNode}return e}; +Iba=function(a,b,c){var d=Eba(b);c=c.createElement(d);b=b.attributes;for(let {name:h,value:k}of b){var e=Gba(a.sh,h,d),f;a:{if(f=e.conditions)for(let [m,p]of f){f=p;var g=b.getNamedItem(m)?.value;if(g&&!f.has(g)){f=!1;break a}}f=!0}if(f)switch(e.Pm){case 1:Ti(c,h,k);break;case 2:throw Error();case 3:Ti(c,h,k.toLowerCase());break;case 4:a.th?(e=a.th(k),Ti(c,h,e)):Ti(c,h,k);break;case 5:a.qh?(e={type:2,attributeName:h,qH:d},f=Ri(k),(e=a.qh(f,e))&&Ti(c,h,e.toString())):Ti(c,h,k);break;case 6:if(a.qh){e= +{type:2,attributeName:h,qH:d};f=[];for(let m of k.split(",")){let [p,q]=m.trim().split(/\s+/,2);f.push({url:p,Xh:q})}g=f;f={ez:[]};for(let m of g)g=Ri(m.url),(g=a.qh(g,e))&&f.ez.push({url:g.toString(),Xh:m.Xh});Ti(c,h,Jba(f))}else Ti(c,h,k);break;case 7:e=k;if(a.rh){e={type:2,attributeName:h,qH:d};f=Ri(k);e=a.rh(f,e);if(e===null)break;e=e.toString()}a:{g=void 0;f=e;try{g=new URL(f)}catch(m){f="https:";break a}f=g.protocol}e=f!==void 0&&Kba.indexOf(f.toLowerCase())!==-1?e:"about:invalid#zClosurez"; +Ti(c,h,e)}}return c};Ti=function(a,b,c){a.setAttribute(b,c)};Jba=function(a){return a.ez.map(b=>{var c=b.Xh;return`${b.url}${c?` ${c}`:""}`}).join(" , ")};Nba=function(a){var b;if((b=a[Lba])!=null)a=b;else{if(Ui!==Ui)throw Error();a=a[Lba]=Mba(a.qh)}return a};_.Yi=function(a){if(a[Vi])return a[Vi];var b=new Map,c=Nba(a);for(let e of _.rg(c,Wi,2)){c=_.zg(e,2);var d=e.getName();b.set(d,c);d=Saa(_.H(e,Xi,3));d=_.gf(_.Mf(d,1));d!==void 0&&b.set(d,c)}return a[Vi]=b}; +Oba=function(a){if(a[Zi])return a[Zi];var b=new Map,c=Nba(a);for(let e of _.rg(c,Wi,2)){c=_.zg(e,2);var d=Saa(_.H(e,Xi,3));d=_.gf(_.Mf(d,1))??e.getName();let f=b.get(c);f||(f=[],b.set(c,f));f.push(d)}return a[Zi]=b};_.$i=function(a){return a[Pba]??(a[Pba]=new Map([...Oba(a).entries()].map(([b,c])=>[b,_.ma(c,"at").call(c,-1)])))};_.Rba=function(a){(0,_.Qba)(a);(0,_.wf)(a);return(0,_.wf)(a)?Number(a):String(a)};Sba=function(a){return a==="+"?"-":"_"};_.aj=function(a,b){return _.Tba(a,1,b)}; +_.Tba=function(a,b,c){var {[sba]:d,[tba]:e}=c;c=_.Uh(Uba,void 0,nba,pba,d);c.messageType??(c.messageType=e);var f=bj(a);a=Array(768);c=Vba(f,c,b,a,0);if(b===0||!c)return a.join("");a.shift();return a.join("").replace(Wba,"%27")}; +Vba=function(a,b,c,d,e){var f=(a[_.Dd]|0)&64?a:_.Cf(a,b.eq),g=f[_.Dd]|0;mba(b,(h,k)=>{var m=_.Lf(f,h,_.ce(g));if(m!=null)if(k.isMap&&m instanceof Map)m.forEach((p,q)=>{e=cj(c,h,k,[q,p],d,e)});else if(k.fw)for(let p=0;p>2;else{c=c.dC;b=c.Bm;if(c instanceof _.ej)if(a===1)d=encodeURIComponent(String(d));else{a=typeof d==="string"?d:`${d}`;Xba.test(a)?d=!1:(d=encodeURIComponent(a).replace(/%20/g,"+"),c=d.match(/%[89AB]/gi),c=a.length+(c?c.length:0),d=4*Math.ceil(c/3)-(3-c%3)%3>6|192:((h&64512)==55296&&g+1>18|240,d[c++]=h>>12&63|128):d[c++]=h>>12|224,d[c++]=h>>6&63|128),d[c++]=h&63|128)}a=_.Rc(d,4)}else a.indexOf("*")!==-1&&(a=a.replace(Yba,"*2A")),a.indexOf("!")!==-1&&(a=a.replace(Zba,"*21"));d=a}else{a=d;if(!(c instanceof _.fj||c instanceof _.gj))if(c instanceof _.hj)a=a?1:0;else if(c instanceof +_.ej)a=String(a);else if(c instanceof _.ij){a instanceof _.fd||a==null||a instanceof _.fd||(a=typeof a==="string"?a?new _.fd(a,_.id):_.jd():void 0);if(a==null)throw Error();a=nd(a).replace($ba,Sba).replace(aca,"")}else a=c instanceof _.lj||c instanceof _.mj?_.Le(a):c instanceof _.nj||c instanceof _.oj||c instanceof _.pj||c instanceof _.qj?_.Je(a):c instanceof _.rj||c instanceof _.sj||c instanceof bca?_.$e(a):c instanceof _.tj||c instanceof _.uj?_.cf(a):a;d=a}e[f++]=b;e[f++]=d}return f}; +bj=function(a){if(a instanceof _.L)return a.Mi;if(a instanceof Map)return[...a];if(Array.isArray(a))return a;throw Error();};cca=function(a){switch(a){case 200:return 0;case 400:return 3;case 401:return 16;case 403:return 7;case 404:return 5;case 409:return 10;case 412:return 9;case 429:return 8;case 499:return 1;case 500:return 2;case 501:return 12;case 503:return 14;case 504:return 4;default:return 2}}; +dca=function(a){switch(a){case 0:return 200;case 3:case 11:return 400;case 16:return 401;case 7:return 403;case 5:return 404;case 6:case 10:return 409;case 9:return 412;case 8:return 429;case 1:return 499;case 15:case 13:case 2:return 500;case 12:return 501;case 14:return 503;case 4:return 504;default:return 0}}; +_.vj=function(a){switch(a){case 0:return"OK";case 1:return"CANCELLED";case 2:return"UNKNOWN";case 3:return"INVALID_ARGUMENT";case 4:return"DEADLINE_EXCEEDED";case 5:return"NOT_FOUND";case 6:return"ALREADY_EXISTS";case 7:return"PERMISSION_DENIED";case 16:return"UNAUTHENTICATED";case 8:return"RESOURCE_EXHAUSTED";case 9:return"FAILED_PRECONDITION";case 10:return"ABORTED";case 11:return"OUT_OF_RANGE";case 12:return"UNIMPLEMENTED";case 13:return"INTERNAL";case 14:return"UNAVAILABLE";case 15:return"DATA_LOSS"; +default:return""}};_.wj=function(){this.Lh=this.Lh;this.Ih=this.Ih};_.xj=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.rh=!1}; +_.yj=function(a,b){_.xj.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.timeStamp=0;this.qh=null;a&&this.init(a,b)};_.zj=function(a){return!(!a||!a[eca])}; +gca=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.handler=e;this.key=++fca;this.pq=this.jA=!1};Aj=function(a){a.pq=!0;a.listener=null;a.proxy=null;a.src=null;a.handler=null};Bj=function(a){this.src=a;this.bi={};this.qh=0};Cj=function(a,b){var c=b.type;if(!(c in a.bi))return!1;var d=_.Ac(a.bi[c],b);d&&(Aj(b),a.bi[c].length==0&&(delete a.bi[c],a.qh--));return d}; +_.hca=function(a){var b=0;for(let c in a.bi){let d=a.bi[c];for(let e=0;e-1?b[a]:null)&&_.Kj(c))}; +_.Kj=function(a){if(typeof a==="number"||!a||a.pq)return!1;var b=a.src;if(_.zj(b))return Cj(b.Qp,a);var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(kca(c),d):b.addListener&&b.removeListener&&b.removeListener(d);lca--;(c=_.Ij(b))?(Cj(c,a),c.qh==0&&(c.src=null,b[Jj]=null)):Aj(a);return!0};kca=function(a){return a in Lj?Lj[a]:Lj[a]="on"+a}; +mca=function(a,b){if(a.pq)a=!0;else{b=new _.yj(b,this);let c=a.listener,d=a.handler||a.src;a.jA&&_.Kj(a);a=c.call(d,b)}return a};_.Ij=function(a){a=a[Jj];return a instanceof Bj?a:null};Gj=function(a){if(typeof a==="function")return a;a[Mj]||(a[Mj]=function(b){return a.handleEvent(b)});return a[Mj]}; +oca=function(a){switch(a){case 0:return"No Error";case 1:return"Access denied to content document";case 2:return"File not found";case 3:return"Firefox silently errored";case 4:return"Application custom error";case 5:return"An exception occurred";case 6:return"Http response at 400 or 500 level";case 7:return"Request was aborted";case 8:return"Request timed out";case 9:return"The resource is not available offline";default:return"Unrecognized error code"}}; +_.Nj=function(a){if(a.Lm&&typeof a.Lm=="function")return a.Lm();if(typeof Map!=="undefined"&&a instanceof Map||typeof Set!=="undefined"&&a instanceof Set)return Array.from(a.values());if(typeof a==="string")return a.split("");if(_.$a(a)){let b=[],c=a.length;for(let d=0;d2?a.qh.statusText:""}catch(c){b=""}a.xh=b+" ["+a.getStatus()+"]";rca(a)}}finally{Uj(a)}}};Uj=function(a,b){if(a.qh){a.th&&(clearTimeout(a.th),a.th=null);let c=a.qh;a.qh=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=null}catch(d){}}}; +_.Xj=function(a){var b=a.getStatus(),c;if(!(c=_.Rj(b))){if(b=b===0)a=_.Oi(1,String(a.Ah)),!a&&_.Ua.self&&_.Ua.self.location&&(a=_.Ua.self.location.protocol.slice(0,-1)),b=!uca.test(a?a.toLowerCase():"");c=b}return c};_.Wj=function(a){return a.qh?a.qh.readyState:0};_.Yj=function(a){try{if(!a.qh)return null;if("response"in a.qh)return a.qh.response;switch(a.Eh){case "":case "text":return a.qh.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in a.qh)return a.qh.mozResponseArrayBuffer}return null}catch(b){return null}}; +vca=function(a){var b={};a=a.getAllResponseHeaders().split("\r\n");for(let d=0;d{if("1"in b){var c=b["1"];let d;try{d=a.yh(c)}catch(e){Zj(a,new _.ak(13,`Error when deserializing response data; error: ${e}, response: ${c}`))}d&&Bca(a,d)}if("2"in b)for(b=Cca(a,b["2"]),c=0;c{ck(a,dk(a));for(let b=0;b{if(a.qh.length!==0){var b=a.Wi.sh;b!==0||_.Xj(a.Wi)||(b=6);var c=-1;switch(b){case 0:var d=2;break;case 7:d=10;break;case 8:d=4;break;case 6:c=a.Wi.getStatus(); +d=cca(c);break;default:d=14}ck(a,dk(a));b=oca(b)+", error: "+wca(a.Wi);c!==-1&&(b+=`, http status code: ${c}`);Zj(a,new _.ak(d,b))}})};Zj=function(a,b){for(let c=0;c{b[d]=c[d]});return b};Bca=function(a,b){for(let c=0;c{if(_.Xj(a.Wi)){var d=a.Wi.Rr();var e;if(e=b)e=a.Wi,e.qh&&e.Nm()?(e=e.qh.getResponseHeader("Content-Type"),e=e===null?void 0:e):e=void 0,e=e==="text/plain";if(e){if(!atob)throw Error("Cannot decode Base64 response");d=atob(d)}try{var f=a.yh(d)}catch(h){Zj(a,ek(new _.ak(13,`Error when deserializing response data; error: ${h}, response: ${d}`),c));return}d=cca(a.Wi.getStatus());ck(a,dk(a));d===0?Bca(a,f):Zj(a,ek(new _.ak(d,"Xhr succeeded but the status code is not 200"), +c))}else{d=a.Wi.Rr();f=dk(a);if(d){var g=Cca(a,d);d=g.code;e=g.details;g=g.metadata}else d=2,e=`Rpc failed due to xhr error. uri: ${String(a.Wi.Ah)}, error code: ${a.Wi.sh}, error: ${wca(a.Wi)}`,g=f;ck(a,f);Zj(a,ek(new _.ak(d,e,g),c))}})};fk=function(a,b){b=a.indexOf(b);b>-1&&a.splice(b,1)};ek=function(a,b){b.stack&&(a.stack+="\n"+b.stack);return a};gk=function(a){this.sh=a.Bp||null;this.rh=a.hQ||!1}; +hk=function(a,b){_.Pj.call(this);this.Fh=a;this.zh=b;this.xh=void 0;this.status=this.readyState=0;this.responseType=this.responseText=this.response=this.statusText="";this.onreadystatechange=null;this.Dh=new Headers;this.rh=null;this.Eh="GET";this.th="";this.qh=!1;this.Ah=this.sh=this.wh=null;this.Bh=new AbortController};Ica=function(a){a.sh.read().then(a.tN.bind(a)).catch(a.UA.bind(a))};jk=function(a){a.readyState=4;a.wh=null;a.sh=null;a.Ah=null;ik(a)};ik=function(a){a.onreadystatechange&&a.onreadystatechange.call(a)}; +_.kk=function(a){_.wj.call(this);this.wh=a;this.qh={}};_.lk=function(a,b,c,d,e,f){Array.isArray(c)||(c&&(Jca[0]=c.toString()),c=Jca);for(let g=0;ge=>d.intercept(e,c),a)}; +Tca=function(a,b,c){var d=b.OI,e=b.getMetadata(),f=_.Qca(a,!0);a=_.Rca(a,e,f,c+d.getName());c=_.Sca(f,d.qh,!1);Hca(c,e["X-Goog-Encode-Response-If-Executable"]==="base64");b=d.rh(b.ZE);f.send(a,"POST",b);return c};_.Qca=function(a,b){b=a.sh&&!b;return a.UF||b?new _.Tj(new gk({Bp:a.UF,hQ:b})):new _.Tj}; +_.Rca=function(a,b,c,d){b["Content-Type"]="application/json+protobuf";b["X-User-Agent"]="grpc-web-javascript/0.1";var e=b.Authorization;if(e&&Uca.has(e.split(" ")[0])||a.withCredentials)c.zh=!0;if(a.yF)a=d,_.wi(b)?d=a:(b=pca(b),typeof a==="string"?d=_.Pi(a,_.Mi("$httpHeaders"),b):(a.fv("$httpHeaders",b),d=a));else for(let f of Object.keys(b))c.headers.set(f,b[f]);return d};_.Sca=function(a,b,c){if(c){a.isActive();c=new Vca(a);var d=new Wca(c)}return new Xca({Wi:a,JO:d},b)}; +_.xk=function(a){return _.I(a,10)};_.Yca=function(a){return _.I(a,19)};_.yk=function(a){return _.I(a,1)};Zca=function(a){return _.Ag(a,1)};_.zk=function(a){return _.H(a,$ca,4)};_.Ak=function(a){a=a??"FOLLOW_SYSTEM";return a==="DARK"||a==="FOLLOW_SYSTEM"&&ada.matches};_.Bk=function(a){return a*Math.PI/180};_.Ck=function(a){return a*180/Math.PI}; +cda=function(a,b){_.ui(b,function(c,d){d=="style"?a.style.cssText=c:d=="class"?a.className=c:d=="for"?a.htmlFor=c:bda.hasOwnProperty(d)?a.setAttribute(bda[d],c):_.Fb(d,"aria-")||_.Fb(d,"data-")?a.setAttribute(d,c):a[d]=c})};_.eda=function(a,b,c){var d=arguments,e=document,f=d[1],g=Dk(e,String(d[0]));f&&(typeof f==="string"?g.className=f:Array.isArray(f)?g.className=f.join(" "):cda(g,f));d.length>2&&dda(e,g,d,2);return g}; +dda=function(a,b,c,d){function e(f){f&&b.appendChild(typeof f==="string"?a.createTextNode(f):f)}for(;d0?e(f):_.wc(f&&typeof f.length=="number"&&typeof f.item=="function"?_.Bc(f):f,e)}};_.Ek=function(a){return Dk(document,a)};Dk=function(a,b){b=String(b);a.contentType==="application/xhtml+xml"&&(b=b.toLowerCase());return a.createElement(b)};_.Fk=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling)}; +_.Gk=function(a){a&&a.parentNode&&a.parentNode.removeChild(a)};_.Hk=function(a,b){return a&&b?a==b||a.contains(b):!1};_.Ik=function(a){return a.nodeType==9?a:a.ownerDocument||a.document};_.Lk=function(a){this.qh=a||_.Ua.document||document};_.Nk=function(a){a=_.Mk(a);return _.Hi(a)};_.Ok=function(a){a=_.Mk(a);return _.Ai(a)};_.Mk=function(a){return a===null?"null":a===void 0?"undefined":a}; +fda=function(a,b,c,d){var e=a.head;a=(new _.Lk(a)).createElement("SCRIPT");a.type="text/javascript";a.charset="UTF-8";a.async=!1;a.defer=!1;c&&(a.onerror=c);d&&(a.onload=d);a.src=_.Bi(b);_.Bba(a);e.appendChild(a)};gda=function(a,b){var c="";for(let d of a)d.length&&d[0]==="/"?c=d:(c&&c[c.length-1]!=="/"&&(c+="/"),c+=d);return c+"."+b};hda=function(a,b){a.wh[b]=a.wh[b]||{mM:!a.zh};return a.wh[b]}; +kda=function(a,b){var c=hda(a,b),d=c.CO;if(d&&c.mM&&(delete a.wh[b],!a.qh[b])){var e=a.xh;Pk(a.sh,f=>{var g=f.qh[b]||[],h=e[b]=ida(g.length,()=>{delete e[b];d(f.rh);a.th&&a.th(b);a.yh.delete(b);jda(a,b)});for(let k of g)a.qh[k]&&h()})}};jda=function(a,b){Pk(a.sh,c=>{c=c.th[b]||[];var d=a.rh[b];delete a.rh[b];var e=d?d.length:0;for(let f=0;f{throw g;})}for(let f of c)a.xh[f]&&a.xh[f]()})}; +lda=function(a,b){a.requestedModules[b]||(a.requestedModules[b]=!0,Pk(a.sh,c=>{var d=c.qh[b],e=d?d.length:0;for(let f=0;f{var g=a.rh[b]||[];for(let h of g)(g=h.ap)&&g(f&&f.error||Error(`Could not load "${b}".`));delete a.rh[b];a.Ls&&a.Ls(b,f)},()=>{a.yh.has(b)||jda(a,b)})}))};mda=function(a,b,c,d){a.qh[b]?c(a.qh[b]):((a.rh[b]=a.rh[b]||[]).push({Ni:c,ap:d}),lda(a,b))};Pk=function(a,b){a.config?b(a.config):a.qh.push(b)}; +ida=function(a,b){if(a)return()=>{--a||b()};b();return()=>{}};_.Rk=function(a){return new Promise((b,c)=>{mda(Qk.getInstance(),`${a}`,d=>{b(d)},c)})};_.Sk=function(a,b){var c=Qk.getInstance();a=`${a}`;if(c.qh[a])throw Error(`Module ${a} has been provided more than once.`);c.qh[a]=b};_.Vk=function(){var a=_.Tk,b;(b=!a)||(b=a.rh(),b=!_.yg(b,18));if(b)return!1;b=_.Yca(a.rh());if(!b||!b.startsWith("http"))return!1;a=_.Cg(a,44,1);return Uk===void 0?!1:Uka);if(typeof a[Symbol.iterator]=="function")return new el(()=>a[Symbol.iterator]());if(typeof a.yx=="function")return new el(()=>a.yx());throw Error("Not an iterator or iterable.");};qda=function(){};_.gl=function(){};_.hl=function(a){this.qh=a;this.rh=null};_.il=function(a){if(a.qh==null)throw Error("Storage mechanism: Storage unavailable");a.isAvailable()||_.Eb(Error("Storage mechanism: Storage unavailable"))}; +rda=function(){var a=null;try{a=_.Ua.sessionStorage||null}catch(b){}_.hl.call(this,a)};_.jl=function(a){return a?a.length:0};_.ll=function(a,b){b&&_.kl(b,c=>{a[c]=b[c]})};_.ml=function(a,b,c){b!=null&&(a=Math.max(a,b));c!=null&&(a=Math.min(a,c));return a};_.nl=function(a,b,c){a>=b&&ab===c)};_.sda=function(a,b,c){if(a){var d=0;c=c||_.jl(a);for(let e=0,f=_.jl(a);e{var e=a.prototype.Vk;if(typeof e==="function")return e.apply(c,d);throw Error("you must define a constructor_");};Object.defineProperty(a,"call",{value(c,...d){return this!==a?Function.prototype.call.apply(this,[c,...d]):b(c,d)},enumerable:!1,writable:!0,configurable:!0});Object.defineProperty(a,"apply",{value(c,d){return this!==a?Function.prototype.apply.apply(this,[c,d]):b(c,d)},enumerable:!1,writable:!0,configurable:!0});Object.defineProperty(a, +"bind",{value(c,...d){function e(...g){g=d.concat(g);return this instanceof e?new f(...g):b(c,g)}if(this!==a)return Function.prototype.bind.apply(this,[c,...d]);var f=this;f.prototype&&(e.prototype=f.prototype);return e},enumerable:!1,writable:!0,configurable:!0});uda(a)}};_.Hl=function(a){try{return new URL(a.startsWith("//")?`https:${a}`:a)}catch(b){return null}}; +_.Kl=function(a,b){var c="";if(b!=null){if(!Il(b))return b instanceof Error?b:Error(String(b));c=": "+b.message}return Jl?new vda(a+c):new wda(a+c)};_.Ll=function(a){if(!Il(a))throw a;_.Bl(a.name+": "+a.message)};Il=function(a){return a instanceof vda||a instanceof wda}; +_.Ml=function(a,b,c){var d=c?c+": ":"";return e=>{if(!e||typeof e!=="object")throw _.Kl(d+"not an Object");var f={};for(let g in e){if(!(b||g in a))throw _.Kl(`${d}unknown property ${g}`);f[g]=e[g]}for(let g in a)try{let h=a[g](f[g]);if(h!==void 0||Object.prototype.hasOwnProperty.call(e,g))f[g]=h}catch(h){throw _.Kl(`${d}in property ${g}`,h);}return f}};_.Nl=function(a){try{return typeof a==="object"&&a!=null&&!!("cloneNode"in a)}catch(b){return!1}}; +_.Ol=function(a,b,c){return c?d=>{if(d instanceof a)return d;try{return new a(d)}catch(e){throw _.Kl("when calling new "+b,e);}}:d=>{if(d instanceof a)return d;throw _.Kl("not an instance of "+b);}};_.Pl=function(a){return b=>{for(let c in a)if(a[c]===b)return b;throw _.Kl(`${b} is not an accepted value`);}};_.Ql=function(a){return b=>{if(!Array.isArray(b))throw _.Kl("not an Array");return b.map((c,d)=>{try{return a(c)}catch(e){throw _.Kl(`at index ${d}`,e);}})}}; +_.Rl=function(a,b=0,c=!1){return d=>{if(d==null||typeof d[Symbol.iterator]!=="function")throw _.Kl("not iterable");if(typeof d==="string"&&!c)throw _.Kl("a string is not accepted");d=Array.from(d,(e,f)=>{try{return a(e)}catch(g){throw _.Kl(`at index ${f}`,g);}});if(b>0&&d.length{if(a(c))return c;throw _.Kl(b||`${c}`);}}; +_.Tl=function(a,b=""){return c=>{if(a(c))return c;throw _.Kl(b||`${c}`);}};_.Ul=function(a){return b=>{var c=[];for(let d=0,e=a.length;db(a(c))};_.Wl=function(a){return b=>b==null?b:a(b)};_.Xl=function(a){return b=>{if(b&&b[a]!=null)return b;throw _.Kl("no "+a+" property");}}; +xda=function(a){if(a==null)return a;throw _.Kl("must be null or undefined");};yda=function(a){if(isNaN(a))throw _.Kl("NaN is not an accepted value");};_.Zl=function(a,b=0){return _.Vl(_.Yl,c=>{if(c>=a)return c;if(b>0&&c>=a-b)return a;throw _.Kl(`${c} is not greater than ${a}`);})};$l=function(a,b,c){try{return c()}catch(d){throw _.Kl(`${a}: \`${b}\` invalid`,d);}};am=function(a,b,c){for(let d in a)if(!(d in b))throw _.Kl(`Unknown property '${d}' of ${c}`);};Ada=function(){return zda||(zda=new bm)}; +_.cm=function(a,b,c=!1){var d;a instanceof _.cm?d=a.toJSON():d=a;var e=NaN,f=NaN;if(!d||d.lat===void 0&&d.lng===void 0)e=d,f=b;else{arguments.length>2?console.warn("Expected 1 or 2 arguments in new LatLng() when the first argument is a LatLng instance or LatLngLiteral object, but got more than 2."):_.tl(arguments[1])||arguments[1]==null||console.warn("Expected the second argument in new LatLng() to be boolean, null, or undefined when the first argument is a LatLng instance or LatLngLiteral object."); +try{Bda(d),c=c||!!b,f=d.lng,e=d.lat}catch(g){_.Ll(g)}}e=Number(e);f=Number(f);c||(e=_.ml(e,-90,90),f!=180&&(f=_.nl(f,-180,180)));this.lat=function(){return e};this.lng=function(){return f}};_.dm=function(a){return _.Bk(a.lat())};_.em=function(a){return _.Bk(a.lng())};Cda=function(a,b){b=Math.pow(10,b);return Math.round(a*b)/b}; +_.hm=function(a){var b=a;_.fm(a)&&(b={lat:a.lat(),lng:a.lng()});try{let c=Dda(b);return _.fm(a)?a:_.gm(c)}catch(c){throw _.Kl("not a LatLng or LatLngLiteral with finite coordinates",c);}};_.fm=function(a){return a instanceof _.cm};_.gm=function(a){try{if(_.fm(a))return a;let b=Bda(a);return new _.cm(b.lat,b.lng)}catch(b){throw _.Kl("not a LatLng or LatLngLiteral",b);}}; +km=function(a){if(a instanceof im)return a;try{return new _.jm(_.gm(a))}catch(b){}throw _.Kl("not a Geometry or LatLng or LatLngLiteral object");};_.lm=function(a){Eda.has(a)||(console.warn(a),Eda.add(a))};_.sm=function(a){a=a||window.event;_.qm(a);_.rm(a)};_.qm=function(a){a.stopPropagation()};_.rm=function(a){a.preventDefault()};_.tm=function(a){a.handled=!0};_.vm=function(a,b,c){return new _.um(a,b,c,0)};_.wm=function(a,b){if(!a)return!1;b=(a=a.__e3_)&&a[b];return!!b&&!_.wi(b)}; +_.xm=function(a){a&&a.remove()};_.zm=function(a,b){_.kl(ym(a,b),(c,d)=>{d&&d.remove()})};_.Am=function(a){_.kl(ym(a),(b,c)=>{c&&c.remove()})};Fda=function(a){if("__e3_"in a)throw Error("setUpNonEnumerableEventListening() was invoked after an event was registered.");Object.defineProperty(a,"__e3_",{value:{}})};_.Bm=function(a,b,c,d,e){var f=d?4:1;a.addEventListener&&(d={capture:!!d},typeof e==="boolean"?d.passive=e:Gda.has(b)&&(d.passive=!1),a.addEventListener(b,c,d));return new _.um(a,b,c,f)}; +_.Cm=function(a,b,c,d){var e=_.Bm(a,b,function(){e.remove();return c.apply(this,arguments)},d);return e};_.Dm=function(a,b,c,d){return _.vm(a,b,(0,_.mb)(d,c))};_.Em=function(a,b,c){var d=_.vm(a,b,function(){d.remove();return c.apply(this,arguments)});return d};_.Fm=function(a,b,c){b=_.vm(a,b,c);c.call(a);return b};_.Gm=function(a,b,c){return _.vm(a,b,_.Hda(b,c))};_.Hm=function(a,b,...c){if(_.wm(a,b)){a=ym(a,b);for(let d of Object.keys(a))(b=a[d])&&b.handler.apply(b.instance,c)}}; +Ida=function(a,b){a.__e3_||(a.__e3_={});a=a.__e3_;a[b]||(a[b]={});return a[b]};ym=function(a,b){a=a.__e3_||{};if(b)b=a[b]||{};else{b={};for(let c of Object.values(a))_.ll(b,c)}return b};_.Hda=function(a,b,c){return function(d){var e=[b,a,...arguments];_.Hm.apply(this,e);c&&_.tm.apply(null,arguments)}};_.Im=function(a){return""+(_.bb(a)?_.hb(a):a)};_.Jm=function(){}; +Lm=function(a,b){var c=b+"_changed";if(a[c])a[c]();else a.changed(b);c=Km(a,b);for(let d in c){let e=c[d];Lm(e.jw,e.gq)}_.Hm(a,b.toLowerCase()+"_changed")};_.Mm=function(a){return Jda[a]||(Jda[a]=a.substring(0,1).toUpperCase()+a.substring(1))};Nm=function(a){a.gm_accessors_||(a.gm_accessors_={});return a.gm_accessors_};Km=function(a,b){a.gm_bindings_||(a.gm_bindings_={});a.gm_bindings_.hasOwnProperty(b)||(a.gm_bindings_[b]={});return a.gm_bindings_[b]}; +_.Kda=function(a,b,c){function d(B){B=k(B);return _.gm({lat:B[1],lng:B[0]})}function e(B){return new _.Om(m(B))}function f(B){return new _.Pm(q(B))}function g(B){if(B==null)throw _.Kl("is null");var K=String(B.type).toLowerCase(),O=B.coordinates;try{switch(K){case "point":return new _.jm(d(O));case "multipoint":return new _.Qm(m(O));case "linestring":return e(O);case "multilinestring":return new _.Rm(p(O));case "polygon":return f(O);case "multipolygon":return new _.Sm(u(O))}}catch(A){throw _.Kl('in property "coordinates"', +A);}if(K==="geometrycollection")try{return new _.Tm(x(B.geometries))}catch(A){throw _.Kl('in property "geometries"',A);}throw _.Kl("invalid type");}function h(B){if(!B)throw _.Kl("not a Feature");if(B.type!=="Feature")throw _.Kl('type != "Feature"');var K=null;try{B.geometry&&(K=g(B.geometry))}catch(Q){throw _.Kl('in property "geometry"',Q);}var O=B.properties||{};if(!_.ql(O))throw _.Kl("properties is not an Object");var A=c.idPropertyName;B=A?O[A]:B.id;if(B!=null&&!_.pl(B)&&!_.sl(B))throw _.Kl(`${A|| +"id"} is not a string or number`);return{id:B,geometry:K,properties:O}}if(!b)return[];c=c||{};var k=_.Ql(_.Yl),m=_.Ql(d),p=_.Ql(e),q=_.Ql(function(B){B=m(B);if(!B.length)throw _.Kl("contains no elements");if(!B[0].equals(B[B.length-1]))throw _.Kl("first and last positions are not equal");return new _.Um(B.slice(0,-1))}),u=_.Ql(f),x=_.Ql(B=>g(B)),z=_.Ql(B=>h(B));if(b.type==="FeatureCollection"){b=b.features;try{return z(b).map(B=>a.add(B))}catch(B){throw _.Kl('in property "features"',B);}}if(b.type=== +"Feature")return[a.add(h(b))];throw _.Kl("not a Feature or FeatureCollection");};_.Vm=function(){for(var a=Array(36),b=0,c,d=0;d<36;d++)d==8||d==13||d==18||d==23?a[d]="-":d==14?a[d]="4":(b<=2&&(b=33554432+Math.random()*16777216|0),c=b&15,b>>=4,a[d]=Lda[d==19?c&3|8:c]);return a.join("")};_.Wm=function(a){this.RP=this;this.__gm=a}; +_.Xm=function(a){a=a.getDiv();var b=a.getRootNode();b instanceof ShadowRoot&&b===a.parentNode?(a=b.host,a=a instanceof HTMLElement&&a.localName==="gmp-map"?a:null):a=null;return a};_.Ym=function(a,b){var c=b-a;return c>=0?c:b+180-(a-180)};_.Zm=function(a){return a.lo>a.hi};_.$m=function(a){return a.hi-a.lo===360};an=function(a,b){var c=a.lo,d=a.hi;return _.Zm(a)?_.Zm(b)?b.lo>=c&&b.hi<=d:(b.lo>=c||b.hi<=d)&&!a.isEmpty():_.Zm(b)?_.$m(a)||b.isEmpty():b.lo>=c&&b.hi<=d}; +_.cn=function(a,b,c,d){return new _.bn(new _.cm(a,b,!0),new _.cm(c,d,!0))};_.dn=function(a){if(a instanceof _.bn)return a;try{let b=Mda(a);return _.cn(b.south,b.west,b.north,b.east)}catch(b){throw _.Kl("not a LatLngBounds or LatLngBoundsLiteral",b);}};_.en=function(a){return function(){return this.get(a)}};_.fn=function(a,b){return b?function(c){try{this.set(a,b(c))}catch(d){_.Ll(_.Kl("set"+_.Mm(a),d))}}:function(c){this.set(a,c)}}; +_.gn=function(a,b){_.kl(b,(c,d)=>{var e=_.en(c);a["get"+_.Mm(c)]=e;d&&(d=_.fn(c,d),a["set"+_.Mm(c)]=d)})};jn=function(a){a=a||{};this.setValues(a);this.qh=new Nda;_.Gm(this.qh,"addfeature",this);_.Gm(this.qh,"removefeature",this);_.Gm(this.qh,"setgeometry",this);_.Gm(this.qh,"setproperty",this);_.Gm(this.qh,"removeproperty",this);this.rh=new Oda(this.qh);this.rh.bindTo("map",this);this.rh.bindTo("style",this);_.hn.forEach(b=>{_.Gm(this.rh,b,this)});this.sh=!1}; +Pda=function(a){a.sh||(a.sh=!0,_.Rk("drawing_impl").then(b=>{b.PN(a)}))};_.nn=function(a){_.mn&&a&&_.mn.push(a)}; +_.on=function(a){console.warn("google.maps.DirectionsRenderer is deprecated as of February 25th, 2026. At this time, google.maps.DirectionsRenderer is not scheduled to be discontinued. While google.maps.DirectionsRenderer will continue to receive bug fixes for any major regressions, existing bugs in google.maps.DirectionsRenderer will not be addressed. At least 12 months notice will be given before support is discontinued. Please see https://developers.google.com/maps/legacy for additional details and https://developers.google.com/maps/documentation/javascript/routes/routes-migrate-rendering for the migration guide.");this.setValues(a)}; +Qda=function(a,b){var c=_.Rk("elevation").then(d=>d.getElevationAlongPath(a,b,void 0));b&&c.catch(()=>{});return c};Rda=function(a,b){var c=_.Rk("elevation").then(d=>d.getElevationForLocations(a,b,void 0));b&&c.catch(()=>{});return c};Tda=function(a,b){var c;Sda()||(c=_.Xk(145570));var d=_.Rk("geocoder").then(e=>e.geocode(a,b,c,void 0),()=>{c&&_.Yk(c,13)});b&&d.catch(()=>{});return d}; +qn=function(a){if(a instanceof _.pn)return a;try{let b=_.Ml({x:_.Yl,y:_.Yl},!0)(a);return new _.pn(b.x,b.y)}catch(b){throw _.Kl("not a Point",b);}};_.rn=function(a){return`${a.width}${a.rh||"px"}`};_.sn=function(a){return`${a.height}${a.qh||"px"}`};vn=function(a){if(a instanceof _.tn)return a;try{var b=_.Ml({height:un,width:un},!0)(a)}catch(c){throw _.Kl("not a Size",c);}return new _.tn(b.width,b.height)};wn=function(a){return a?a.co instanceof _.Jm:!1}; +Uda=function(a,b){a.th(b);a.rh<100&&(a.rh++,b.next=a.qh,a.qh=b)};Xda=function(){for(var a;a=Vda.remove();){try{a.Qv.call(a.scope)}catch(b){_.Eb(b)}Uda(Wda,a)}xn=!1};Zda=function(a,b,c,d){d=d?{FG:!1}:null;var e=!a.bi.length,f=a.bi.find(Yda(b,c));f?f.once=f.once&&d:a.bi.push({Qv:b,context:c||null,once:d});e&&a.ot()};Yda=function(a,b){return c=>c.Qv===a&&c.context===(b||null)};_.zn=function(a,b){return new _.yn(a,b)};_.An=function(){this.__gm=new _.Jm;this.rh=null}; +$da=function(a){a.__gm||(a.__gm={set:null,bB:null,ut:{map:null,streetView:null},Lr:null,yA:null,Wp:!1})};Bn=function(a,b,c,d,e){c?a.bindTo(b,c,d,e):(a.unbind(b),a.set(b,void 0))};aea=function(a){var b=a.get("internalAnchorPoint")||_.Cn,c=a.get("internalPixelOffset")||_.Dn;a.set("pixelOffset",new _.tn(c.width+Math.round(b.x),c.height+Math.round(b.y)))};En=function(a=null){return wn(a)?a.co||null:a instanceof _.Jm?a:null}; +Fn=function(a){console.warn("As of version 3.65, google.maps.KmlLayer is deprecated. For alternative methods of displaying KML data on the map, see https://developers.devsite.corp.google.com/maps/deprecations#kml_layer_deprecated_as_of_april_30_2026");_.sl(a)?(this.set("url",a),this.setValues(arguments[1])):this.setValues(a)};_.Gn=function(a){var b=a.match(/^places\/(.+)$/);return b?b[1]:a}; +_.bea=function(a,b){var c=_.ma(a.toUpperCase(),"replaceAll").call(a.toUpperCase(),"-","_");return c in b?b[c]:(console.error("Invalid value: "+a),null)};_.cea=function(a,b){return String((Hn=In.get(a).get(b)?.toLowerCase(),_.ma(Hn,"replaceAll",!0))?.call(Hn,"_","-")||b)};_.dea=function(a){if(!In.has(a)){let b=new Map;for(let [c,d]of Object.entries(a))b.set(d,c);In.set(a,b)}};_.Jn=function(a){_.dea(a);return{Xj:b=>b===null?null:_.bea(b,a),Hj:b=>b===null?null:_.cea(a,b)}}; +_.Kn=function(a,b){var c=a;if(customElements.get(c)){let d=1;for(;customElements.get(c);){if(customElements.get(c)===b)return;c=`${a}-nondeterministic-duplicate${d++}`}console.warn(`Element with name "${a}" already defined.`)}customElements.define(c,b,void 0)};_.Mn=function(a,b,c,d){var e=new _.Ln;e.minX=a;e.minY=b;e.maxX=c;e.maxY=d;return e};_.Nn=function(a,b){return a.minX>=b.maxX||b.minX>=a.maxX||a.minY>=b.maxY||b.minY>=a.maxY?!1:!0}; +_.On=function(a,b,c){if(a=a.fromLatLngToPoint(b))c=Math.pow(2,c),a.x*=c,a.y*=c;return a};_.Pn=function(a,b){var c=a.lat()+_.Ck(b);c>90&&(c=90);var d=a.lat()-_.Ck(b);d<-90&&(d=-90);b=Math.sin(b);var e=Math.cos(_.Bk(a.lat()));if(c===90||d===-90||e<1E-6)return new _.bn(new _.cm(d,-180),new _.cm(c,180));b=_.Ck(Math.asin(b/e));return new _.bn(new _.cm(d,a.lng()-b),new _.cm(c,a.lng()+b))};_.Rn=function(a){this.qh=a||[];Qn(this)};Qn=function(a){a.set("length",a.qh.length)}; +Sn=function(a){a??(a={});a.visible=_.rl(a.visible,!0);return a};_.eea=function(a){return a&&a.radius||6378137};Tn=function(a){return a instanceof _.Rn?fea(a):new _.Rn(gea(a))};hea=function(a){return function(b){if(!(b instanceof _.Rn))throw _.Kl("not an MVCArray");b.forEach((c,d)=>{try{a(c)}catch(e){throw _.Kl(`at index ${d}`,e);}});return b}};iea=function(a){_.Rk("poly").then(b=>{b.xL(a)})}; +Un=function(a){a=a.trim();if(!a)throw Error("missing value");var b=Number(a);if(isNaN(b)||!isFinite(b))throw Error(`"${a}" is not a number`);return b};Vn=function(a){return b=>{try{return a(b)}catch(c){return console.error(c instanceof Error?c.message:`${c}`),null}}}; +_.Xn=function(a){try{let b=a.split(",").map(Un);if(b.length<2)throw Error("too few values");if(b.length>3)throw Error("too many values");let [c,d,e]=b;return new _.Wn({lat:c,lng:d,altitude:e})}catch(b){throw Error(`Could not interpret "${a}" as a LatLngAltitude: `+(b instanceof Error?b.message:`${b}`));}}; +jea=function(a){if(!a)return null;try{let b=a.split("@");if(b.length!==2)throw Error("invalid circle format");let [c,d]=b,e=Un(c),f=_.Xn(d);return new _.Yn({center:f,radius:e})}catch(b){throw Error(`Could not interpret "${a}" as a Circle: `+(b instanceof Error?b.message:`${b}`));}};_.Zn=function(a){if(a){if(a instanceof _.cm)return`${a.lat()},${a.lng()}`;let b=`${a.lat},${a.lng}`;a.altitude!==void 0&&a.altitude!==0&&(b+=`,${a.altitude}`);return b}return null}; +_.$n=function(a){return a?a.map(_.Zn).join(" "):null};kea=function(a){return a&&a.getCenter()?`${a.getRadius()}@${ao(a.getCenter())}`:null};ao=function(a){return a?a instanceof _.cm?`${a.lat()},${a.lng()}`:`${a.lat},${a.lng}`:null};lea=function(){!bo&&_.Ua.document?.createElement&&(bo=_.Ua.document.createElement,_.Ua.document.createElement=(...a)=>{co=a[0];try{var b=bo.apply(document,a)}finally{co=void 0}return b})}; +eo=function(a,b,c){if(a.nodeType!==1)return mea;b=b.toLowerCase();if(b==="innerhtml"||b==="innertext"||b==="textcontent"||b==="outerhtml")return()=>_.Ii(nea);var d=oea.get(`${a.tagName} ${b}`);return d!==void 0?d:/^on/.test(b)&&c==="attribute"&&(a=a.tagName.includes("-")?HTMLElement.prototype:a,b in a)?()=>{throw Error("invalid binding");}:mea};qea=function(a,b){if(!fo(a)||!a.hasOwnProperty("raw"))throw Error("invalid template strings array");return pea!==void 0?pea.createHTML(b):b}; +io=function(a,b,c=a,d){if(b===go)return b;var e=d!==void 0?c.rh?.[d]:c.Fh,f=ho(b)?void 0:b._$litDirective$;e?.constructor!==f&&(e?._$notifyDirectiveConnectionChanged?.(!1),f===void 0?e=void 0:(e=new f(a),e.hL(a,c,d)),d!==void 0?(c.rh??(c.rh=[]))[d]=e:c.Fh=e);e!==void 0&&(b=io(a,e.iL(a,b.values),e,d));return b}; +sea=function(a,b,c){var d=Symbol(),{get:e,set:f}=rea(a.prototype,b)??{get(){return this[d]},set(g){this[d]=g}};return{get:e,set(g){var h=e?.call(this);f?.call(this,g);_.jo(this,b,h,c)},configurable:!0,enumerable:!0}};uea=function(a,b,c=ko){c.state&&(c.Kh=!1);a.rh();a.prototype.hasOwnProperty(b)&&(c=Object.create(c),c.Wz=!0);a.Pp.set(b,c);c.PT||(c=sea(a,b,c),c!==void 0&&tea(a.prototype,b,c))}; +_.jo=function(a,b,c,d,e=!1,f){if(b!==void 0){let g=a.constructor;e===!1&&(f=a[b]);d??(d=g.Pp.get(b)??ko);if((d.pj??lo)(f,c)||d.pK&&d.Mh&&f===a.ai?.get(b)&&!a.hasAttribute(g.HC(b,d)))a.Yk(b,c,d);else return}a.Oh===!1&&(a.dl=a.EC())}; +vea=function(a){if(a.Oh){if(!a.Nh){a.Sk??(a.Sk=a.Li());if(a.ii){for(let [d,e]of a.ii)a[d]=e;a.ii=void 0}var b=a.constructor.Pp;if(b.size>0)for(let [d,e]of b){b=d;var c=e;let f=a[b];c.Wz!==!0||a.Ih.has(b)||f===void 0||a.Yk(b,void 0,c,f)}}b=!1;c=a.Ih;try{b=!0,a.Ck(c),a.Jh?.forEach(d=>d.oT?.()),a.update(c)}catch(d){throw b=!1,a.ur(),d;}b&&a.tx(c)}};mo=function(){return!0};_.no=function(a,b){Object.defineProperty(a,b,{enumerable:!0,writable:!1})};_.oo=function(a,b){return`<${a.gL}>: ${b}`}; +_.po=function(a,b,c,d){return _.Kl(_.oo(a,`Cannot set property "${b}" to ${c}`),d)};_.wea=function(a,b){var c=new _.qo;console.error(_.oo(a,`Encountered a network request error: ${b instanceof Error?b.message:String(b)}`));a.dispatchEvent(c)};_.ro=function(a,b,c,d){try{return c(d)}catch(e){throw _.Kl(_.oo(a,`Cannot set property "${b}" to ${d}`),e);}}; +yea=function(a){var b=a.get("mapId");b=new xea(b,a.mapTypes);b.bindTo("mapHasBeenAbleToBeDrawn",a.__gm);b.bindTo("mapId",a,"mapId",!0);b.bindTo("styles",a);b.bindTo("mapTypeId",a)};so=function(a,b){a.isAvailable=!1;a.qh.push(b)}; +_.uo=function(a,b){var c=_.to(a.__gm.qh,"DATA_DRIVEN_STYLING");if(!b)return c;var d=["The map is initialized without a valid map ID, that will prevent use of data-driven styling.","The Map Style does not have any FeatureLayers configured for data-driven styling.","The Map Style does not have any Datasets or FeatureLayers configured for data-driven styling."],e=c.qh.map(f=>f.Hq);e=e&&e.some(f=>d.includes(f));(c.isAvailable||!e)&&(a=a.__gm.qh.Vv())&&(b=zea(b,a))&&so(c,{Hq:b});return c}; +zea=function(a,b){var c=a.featureType;if(c==="DATASET"){if(!b.th().map(d=>_.I(d,2)).includes(a.datasetId))return"The Map Style does not have the following Dataset ID associated with it: "+a.datasetId}else if(!b.sh().includes(c))return"The Map Style does not have the following FeatureLayer configured for data-driven styling: "+c;return null};wo=function(a,b="",c){c=_.uo(a,c);c.isAvailable||_.vo(a,b,c)};Aea=function(a){a=a.__gm;for(let b of a.th.keys())a.th.get(b).isEnabled||_.Bl(`The Map Style does not have the following FeatureLayer configured for data-driven styling: ${b}`)}; +_.Bea=function(a,b=!1){var c=a.__gm;c.th.size>0&&wo(a);b&&Aea(a);c.th.forEach(d=>{d.dI()})};_.vo=function(a,b,c){if(c.qh.length!==0){var d=b?b+": ":"",e=a.__gm.qh;c.qh.forEach(f=>{e.log(f,d)})}};_.xo=function(){};_.to=function(a,b){a.log(Cea[b]);a:switch(b){case "ADVANCED_MARKERS":a=a.cache.sG;break a;case "DATA_DRIVEN_STYLING":a=a.cache.aH;break a;case "WEBGL_OVERLAY_VIEW":a=a.cache.yq;break a;default:throw Error(`No capability information for: ${b}`);}return a.clone()}; +zo=function(a){var b=a.cache,c=new yo;a.eo()||so(c,{Hq:"The map is initialized without a valid Map ID, which will prevent use of Advanced Markers."});b.sG=c;b=a.cache;c=new yo;if(a.eo()){var d=a.Vv();if(d){let e=d.sh();d=d.th();e.length||d.length||so(c,{Hq:"The Map Style does not have any Datasets or FeatureLayers configured for data-driven styling."})}a.iw!=="UNKNOWN"&&a.iw!=="TRUE"&&so(c,{Hq:"The map is not a vector map. That will prevent use of data-driven styling."})}else so(c,{Hq:"The map is initialized without a valid map ID, that will prevent use of data-driven styling."}); +b.aH=c;b=a.cache;c=new yo;a.eo()?a.iw!=="UNKNOWN"&&a.iw!=="TRUE"&&so(c,{Hq:"The map is not a vector map, which will prevent use of WebGLOverlayView."}):so(c,{Hq:"The map is initialized without a valid map ID, which will prevent use of WebGLOverlayView."});b.yq=c;Dea(a)};Dea=function(a){a.qh=!0;try{a.set("mapCapabilities",a.getMapCapabilities())}finally{a.qh=!1}};Eea=function(a,b){var c=a.options.hD.MAP_INITIALIZATION;if(c)for(let d of c)a.eu(d,b)}; +_.Ao=function(a,b,c){var d=a.options.hD.MAP_INITIALIZATION;if(d)for(let e of d)a.Zn(e,b,c)};_.Bo=function(a,b){if(b=a.options.hD[b])for(let c of b)a.gu(c)};_.Do=function(a){this.qh=0;this.yh=void 0;this.th=this.rh=this.sh=null;this.wh=this.xh=!1;if(a!=_.al)try{let b=this;a.call(void 0,function(c){Co(b,2,c)},function(c){Co(b,3,c)})}catch(b){Co(this,3,b)}};Fea=function(){this.next=this.context=this.rh=this.sh=this.qh=null;this.th=!1};Hea=function(a,b,c){var d=Gea.get();d.sh=a;d.rh=b;d.context=c;return d}; +Iea=function(a,b){if(a.qh==0)if(a.sh){var c=a.sh;if(c.rh){var d=0,e=null,f=null;for(let g=c.rh;g&&(g.th||(d++,g.qh==a&&(e=g),!(e&&d>1)));g=g.next)e||(f=g);e&&(c.qh==0&&d==1?Iea(c,b):(f?(d=f,d.next==c.th&&(c.th=d),d.next=d.next.next):Jea(c),Kea(c,e,3,b)))}a.sh=null}else Co(a,3,b)};Mea=function(a,b){a.rh||a.qh!=2&&a.qh!=3||Lea(a);a.th?a.th.next=b:a.rh=b;a.th=b}; +Nea=function(a,b,c,d){var e=Hea(null,null,null);e.qh=new _.Do(function(f,g){e.sh=b?function(h){try{let k=b.call(d,h);f(k)}catch(k){g(k)}}:f;e.rh=c?function(h){try{let k=c.call(d,h);k===void 0&&h instanceof Eo?g(h):f(k)}catch(k){g(k)}}:g});e.qh.sh=a;Mea(a,e);return e.qh}; +Co=function(a,b,c){if(a.qh==0){a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself"));a.qh=1;a:{var d=c,e=a.wQ,f=a.xQ;if(d instanceof _.Do){Mea(d,Hea(e||_.al,f||null,a));var g=!0}else{if(d)try{var h=!!d.$goog_Thenable}catch(k){h=!1}else h=!1;if(h)d.then(e,f,a),g=!0;else{if(_.bb(d))try{let k=d.then;if(typeof k==="function"){Oea(d,k,e,f,a);g=!0;break a}}catch(k){f.call(a,k);g=!0;break a}g=!1}}}g||(a.yh=c,a.qh=b,a.sh=null,Lea(a),b!=3||c instanceof Eo||Pea(a,c))}}; +Oea=function(a,b,c,d,e){function f(k){h||(h=!0,d.call(e,k))}function g(k){h||(h=!0,c.call(e,k))}var h=!1;try{b.call(a,g,f)}catch(k){f(k)}};Lea=function(a){a.xh||(a.xh=!0,_.Fo(a.HM,a))};Jea=function(a){var b=null;a.rh&&(b=a.rh,a.rh=b.next,b.next=null);a.rh||(a.th=null);return b};Kea=function(a,b,c,d){if(c==3&&b.rh&&!b.th)for(;a&&a.wh;a=a.sh)a.wh=!1;if(b.qh)b.qh.sh=null,Qea(b,c,d);else try{b.th?b.sh.call(b.context):Qea(b,c,d)}catch(e){Rea.call(null,e)}Uda(Gea,b)}; +Qea=function(a,b,c){b==2?a.sh.call(a.context,c):a.rh&&a.rh.call(a.context,c)};Pea=function(a,b){a.wh=!0;_.Fo(function(){a.wh&&Rea.call(null,b)})};Eo=function(a){_.vb.call(this,a)};_.Go=function(a,b){if(typeof a!=="function")if(a&&typeof a.handleEvent=="function")a=(0,_.mb)(a.handleEvent,a);else throw Error("Invalid listener argument");return Number(b)>2147483647?-1:_.Ua.setTimeout(a,b||0)};_.Ho=function(a,b,c){_.wj.call(this);this.qh=a;this.th=b||0;this.rh=c;this.sh=(0,_.mb)(this.hG,this)}; +_.Io=function(a){a.stop();a.hG()};Sea=function(a){a.qh&&window.requestAnimationFrame(()=>{if(a.qh){let b=[...a.rh.values()].flat();a.qh(b)}})};_.Tea=function(a,b){var c=b.MA();c&&(a.rh.set(_.hb(b),c),a.sh.Ei())};_.Uea=function(a,b){b=_.hb(b);a.rh.has(b)&&(a.rh.delete(b),a.sh.Ei())};Vea=function(a,b){var c=a.zIndex,d=b.zIndex,e=_.pl(c),f=_.pl(d),g=a.vl,h=b.vl;if(e&&f&&c!==d)return c>d?-1:1;if(e!==f)return e?-1:1;if(g.y!==h.y)return h.y-g.y;a=_.hb(a);b=_.hb(b);return a>b?-1:1}; +Wea=function(a,b){return b.some(c=>_.Nn(c,a))};_.Jo=function(a,b,c){_.wj.call(this);this.Ah=c!=null?(0,_.mb)(a,c):a;this.zh=b;this.xh=(0,_.mb)(this.RK,this);this.rh=!1;this.sh=0;this.th=this.qh=null;this.wh=[]};_.Ko=function(a,b){var c=_.Im(b);a.elements[c]||(a.elements[c]=b,++a.size,_.Hm(a,"insert",b),a.qh&&a.qh(b))};_.Xea=function(a,b){var c=b.Up();return a.ei.filter(d=>{d=d.Up();return c!==d})};_.So=function(a,b){return(a.matches||a.msMatchesSelector||a.webkitMatchesSelector).call(a,b)}; +Yea=function(a){a.currentTarget.style.outline=""}; +_.Wo=function(a){if(_.So(a,'select,textarea,input[type="date"],input[type="datetime-local"],input[type="email"],input[type="month"],input[type="number"],input[type="password"],input[type="search"],input[type="tel"],input[type="text"],input[type="time"],input[type="url"],input[type="week"],input:not([type])'))return[];var b=[];b.push(new _.To(a,"focus",c=>{!_.Uo&&_.Vo&&_.Vo!=="KEYBOARD"&&(c.currentTarget.style.outline="none")}));b.push(new _.To(a,"focusout",Yea));return b}; +Yo=function(){return Xo?Xo:Xo=new Zea};$o=function(a){return _.Zo[43]?!1:a.Ah?!0:!_.Ua.devicePixelRatio||!_.Ua.requestAnimationFrame};_.$ea=function(){var a=_.ap;return _.Zo[43]?!1:a.Ah||$o(a)};afa=function(a,b){for(let c=0,d;d=b[c];++c)if(typeof a.documentElement.style[d]==="string")return d;return null};_.cp=function(){bp||(bp=new bfa);return bp};_.dp=function(a,b){a!==null&&(a=a.style,a.width=_.rn(b),a.height=_.sn(b))};_.ep=function(a){return new _.tn(a.offsetWidth,a.offsetHeight)}; +_.gp=function(a){var b=!1;_.fp.rh()?a.draggable=!1:b=!0;var c=_.cp().rh;c?a.style[c]="none":b=!0;b&&a.setAttribute("unselectable","on");a.onselectstart=d=>{_.sm(d);_.tm(d)}}; +_.hp=function(a,b=!1){if(document.activeElement===a)return!0;if(!(a instanceof HTMLElement))return!1;var c=!1;_.Wo(a);customElements.get(a.localName)||(a.tabIndex=a.tabIndex);var d=()=>{c=!0;a.removeEventListener("focusin",d)},e=()=>{c=!0;a.removeEventListener("focus",e)};a.addEventListener("focus",e);a.addEventListener("focusin",d);a.focus({preventScroll:!!b});return c}; +cfa=function(a,b){b&&(a.sh=document.activeElement,_.Em(a.__gm,"panoramahidden",()=>{if(a.rh?.gs?.contains(document.activeElement)){var c=a.sh?.nodeName==="BODY",d=a.__gm.get("focusFallbackElement");a.sh&&!c?!_.hp(a.sh)&&d&&_.hp(d):d&&_.hp(d)}}))};_.efa=function(a,b=document){return dfa(a,b)};dfa=function(a,b){return(b=b&&(b.fullscreenElement||b.webkitFullscreenElement||b.mozFullScreenElement||b.msFullscreenElement))?b===a?!0:dfa(a,b.shadowRoot):!1}; +ffa=function(a){a.qh=!0;try{a.set("renderingType",a.rh)}finally{a.qh=!1}};_.gfa=function(){var a=[],b=_.Ua.google&&_.Ua.google.maps&&_.Ua.google.maps.fisfetsz;b&&Array.isArray(b)&&_.Zo[15]&&b.forEach(c=>{_.pl(c)&&a.push(c)});return a};hfa=function(a){return _.Zg(a,1,33)};ifa=function(a){return _.Zg(a,2,3)};jfa=function(a,b){return _.Zg(a,1,b)};kfa=function(a){var b=_.Tk.rh().rh();return _.Xg(a,5,b)};lfa=function(a){var b=_.Tk.rh().th().toLowerCase();return _.Xg(a,6,b)}; +mfa=function(a){return _.Qg(a,10,!0)};nfa=function(a,b){return _.Sg(a,1,b)};ofa=function(a,b){_.Sg(a,2,b)};pfa=function(a,b){return _.Ug(a,1,b)};qfa=function(a,b){_.Ug(a,2,b)};rfa=function(a,b){_.Zg(a,8,b)};_.ip=function(a,b,c,d){var e=Math.pow(2,Math.round(a))/256;return new sfa(Math.round(Math.pow(2,a)/e)*e,b,c,d)};_.kp=function(a,b){return new _.jp((a.m22*b.Yh-a.m12*b.Zh)/a.sh,(-a.m21*b.Yh+a.m11*b.Zh)/a.sh)};tfa=function(a){a=a.get("zoom");return typeof a==="number"?Math.floor(a):a}; +vfa=function(a){var b=a.get("tilt")||!a.wh&&_.jl(a.get("styles"));a=a.get("mapTypeId");return b?null:ufa[a]};wfa=function(a,b){a.qh.onload=null;a.qh.onerror=null;var c=a.xh();c&&(b&&(a.qh.parentNode||a.rh.appendChild(a.qh),a.sh||_.dp(a.qh,c)),a.set("loading",!1))};xfa=function(a,b){b!==a.qh.src?(a.sh||a.qh?.remove(),a.qh.onload=()=>{wfa(a,!0)},a.qh.onerror=()=>{wfa(a,!1)},a.qh.src=b):!a.qh.parentNode&&b&&a.rh.appendChild(a.qh)}; +Bfa=function(a,b,c,d,e){var f=new yfa;ofa(nfa(_.og(f,zfa,1),b.minX),b.minY);_.Zg(f,2,e).setZoom(c);qfa(pfa(_.og(f,_.lp,4),b.maxX-b.minX),b.maxY-b.minY);var g=mfa(lfa(kfa(jfa(_.og(f,_.mp,5),d))));b=_.gfa();a.wh||b.push(47083502);b.forEach(h=>{var k=!1;for(let m=0,p=_.Jg(g,14);m0){let c=b.qh.map(d=>d.Hq);c.includes("The map is initialized without a valid map ID, that will prevent use of data-driven styling.")&&(a.featureType==="DATASET"?_.P(a.map,177311):_.P(a.map,148844));(c.includes("The Map Style does not have any FeatureLayers configured for data-driven styling.")||c.includes("The Map Style does not have the following FeatureLayer configured for data-driven styling: "+ +a.featureType))&&_.P(a.map,148846);c.includes("The map is not a vector map. That will prevent use of data-driven styling.")&&(a.featureType==="DATASET"?_.P(a.map,177315):_.P(a.map,148845));c.includes("The Map Style does not have the following Dataset ID associated with it: ")&&_.P(a.map,178281)}return b};op=function(a,b){var c=Cfa(a);_.vo(a.map,b,c);return c}; +pp=function(a,b){var c=null;typeof b==="function"?c=b:b&&(c=()=>b);Promise.all([_.Rk("webgl"),a.map.__gm.fi]).then(([d])=>{d.yh(a.map,{featureType:a.featureType,datasetId:a.datasetId,Cs:a.Cs},c);a.sh=b})};qp=function(a,b,c,d,e){this.qh=!!b;this.node=null;this.rh=0;this.th=!1;this.sh=!c;a&&this.setPosition(a,d);this.depth=e!=void 0?e:this.rh||0;this.qh&&(this.depth*=-1)};_.sp=function(a,b=!0){b||_.rp(a);for(b=a.firstChild;b;)_.rp(b),a.removeChild(b),b=a.firstChild}; +_.rp=function(a){for(a=new Dfa(a);;){var b=a.next();if(b.done)break;(b=b.value)&&_.Am(b)}};_.tp=function(a,b,c){var d=Array(b.length);for(let e=0,f=b.length;e{var q="",u=p??b;u&&(q+=g+encodeURIComponent(u));p||(c&&(q+=h+encodeURIComponent(c)),d&&(q+=k+encodeURIComponent(d)));m=m.replace(Efa,"%27")+q;p=m+f;q=String;vp||(vp=RegExp("(?:https?://[^/]+)?(.*)"));m=vp.exec(m);if(!m)throw Error("Invalid URL to sign.");return p+q(_.tp(e,m[1],a))}}; +Gfa=function(a){a=Array(a.toString().length);for(let b=0;b[b,_.tp(c,b,a).toString()]};Ifa=function(){var a=new _.up(2147483647);return b=>_.tp(a,b,0)}; +_.Bp=function(a,b){function c(){var Q={"4g":2500,"3g":3500,"2g":6E3,unknown:4E3};return _.Ua.navigator&&_.Ua.navigator.connection&&_.Ua.navigator.connection.effectiveType?Q[_.Ua.navigator.connection.effectiveType]||Q.unknown:Q.unknown}var d=performance.now();if(!a)throw _.Kl(`Map: Expected mapDiv of type HTMLElement but was passed ${a}.`);if(typeof a==="string")throw _.Kl(`Map: Expected mapDiv of type HTMLElement but was passed string '${a}'.`);var e=b||{};e.noClear||_.sp(a,!1);var f=typeof document== +"undefined"?null:document.createElement("div");f&&a.appendChild&&(a.appendChild(f),f.style.width=f.style.height="100%");_.wp.set(f,this);if($o(_.ap))throw _.Rk("controls").then(Q=>{Q.pF(a)}),Error("The Google Maps JavaScript API does not support this browser.");_.Rk("util").then(Q=>{_.Zo[35]&&b&&b.dE&&Q.hr.th(new _.xp(b.dE));Q.hr.qh(da=>{_.Rk("controls").then(ja=>{var Ha=_.I(da,2)||"http://g.co/dev/maps-no-account";ja.KJ(a,Ha)})})});var g,h=new Promise(Q=>{g=Q});_.Wm.call(this,new Jfa(this,a,f,h)); +var k=this.__gm;h=this.__gm.qh;this.set("mapCapabilities",h.getMapCapabilities());h.bindTo("mapCapabilities",this,"mapCapabilities",!0);e.mapTypeId===void 0&&(e.mapTypeId="roadmap");k.colorScheme=e.colorScheme||"LIGHT";k.set("cloudStylingForTerrainVectorMapBaseTilesDisabled",!!e.cloudStylingForTerrainVectorMapBaseTilesDisabled);k.Fh=e.backgroundColor;!k.Fh&&k.Mr&&(k.Fh=k.colorScheme==="DARK"?"#202124":"#e5e3df");var m=new Kfa;this.set("renderingType","UNINITIALIZED");m.bindTo("renderingType",this, +"renderingType",!0);m.bindTo("mapHasBeenAbleToBeDrawn",k,"mapHasBeenAbleToBeDrawn",!0);this.__gm.sh.then(Q=>{m.rh=Q?"VECTOR":"RASTER";ffa(m)});this.setValues(e);h=e.mapTypeId;var p=k.colorScheme==="DARK";if(_.Zo[170])switch(k.set("styleTableBytes",e.styleTableBytes),h){case "hybrid":case "satellite":k.set("configSet",11);break;case "terrain":k.set("configSet",p?29:12);break;default:k.set("configSet",p?27:8)}var q=k.Bh;Eea(q,{VB:d});Lfa(b)||_.Bo(q,"MAP_INITIALIZATION");this.wE=_.Zo[15]&&e.noControlsOrLogging; +this.mapTypes=new yp;yea(this);this.features=new Mfa;_.nn(f);this.notify("streetView");h=_.ep(f);var u=null;Nfa(e.useStaticMap,h)&&(u=new Ofa(f),u.set("size",h),u.set("colorTheme",k.colorScheme==="DARK"?2:1),u.bindTo("mapId",this),u.bindTo("center",this),u.bindTo("zoom",this),u.bindTo("mapTypeId",this),u.bindTo("styles",this));this.overlayMapTypes=new _.Rn;var x=this.controls=[];_.kl(_.zp,(Q,da)=>{x[da]=new _.Rn;x[da].addListener("insert_at",()=>{_.P(this,182111)})});var z=!1,B=_.Ua.IntersectionObserver&& +new Promise(Q=>{var da=c(),ja=new IntersectionObserver(Ha=>{for(let Ka=0;Ka{Ap=Q;if(this.getDiv()&&f){if(B){_.Bo(q,"MAP_INITIALIZATION");let ja=performance.now()-d;var da=setTimeout(()=>{_.P(this,169108)},1E3);await B;clearTimeout(da);da=void 0;z||(da={VB:performance.now()-ja});Lfa(b)&&Eea(q,da)}Q.VP(this,e,f,u,g)}else _.Bo(q,"MAP_INITIALIZATION")}, +()=>{this.getDiv()&&f?_.Ao(q,8):_.Bo(q,"MAP_INITIALIZATION")});this.data=new jn({map:this});this.addListener("renderingtype_changed",()=>{_.Bea(this)});var K=this.addListener("zoom_changed",()=>{_.xm(K);_.Bo(q,"MAP_INITIALIZATION")}),O=this.addListener("dragstart",()=>{_.xm(O);_.Bo(q,"MAP_INITIALIZATION")});_.Bm(a,"scroll",()=>{a.scrollLeft=a.scrollTop=0});_.Ua.MutationObserver&&this.getDiv()&&((h=Pfa.get(this.getDiv()))&&h.disconnect(),h=new MutationObserver(Q=>{for(let da of Q)da.attributeName=== +"dir"&&_.Hm(this,"shouldUseRTLControlsChange")}),Pfa.set(this.getDiv(),h),h.observe(this.getDiv(),{attributes:!0}));B&&(_.Fm(this,"renderingtype_changed",async()=>{this.get("renderingType")==="VECTOR"&&(await B,_.Rk("webgl"))}),_.vm(k,"maphasbeenabletobedrawn_changed",async()=>{k.get("mapHasBeenAbleToBeDrawn")&&_.Xm(this)&&this.get("renderingType")==="UNINITIALIZED"&&(await B,_.Rk("webgl"))}));var A;_.vm(k,"maphasbeenabletobedrawn_changed",async()=>{if(k.get("mapHasBeenAbleToBeDrawn")){A=performance.now(); +var Q=this.getInternalUsageAttributionIds()??null;Q&&_.P(this,122447,{internalUsageAttributionIds:Array.from(new Set(Q))})}});h=()=>{this.get("renderingType")==="VECTOR"&&this.get("styles")&&(this.set("styles",void 0),console.warn("Google Maps JavaScript API: A Map's styles property cannot be set when the map is a vector map. Please see documentation at https://developers.google.com/maps/documentation/javascript/styling#cloud_tooling"))};this.addListener("styles_changed",h);this.addListener("renderingtype_changed", +h);this.addListener("bounds_changed",()=>{A&&this.getRenderingType()!=="VECTOR"&&performance.now()-A>864E5&&_.P(window,256717)});h()};Nfa=function(a,b){if(!_.Tk||_.H(_.Tk,_.xp,40).getStatus()==2)return!1;if(a!==void 0)return!!a;a=b.width;b=b.height;return a*b<=384E3&&a<=800&&b<=800};Lfa=function(a){if(!a)return!1;var b=Object.keys(Cp);for(let c of b)try{if(typeof Cp[c]==="function"&&a[c])Cp[c](a[c])}catch(d){return!1}return a.center&&a.zoom?!0:!1}; +_.Dp=function(a){return(b,c)=>{if(typeof c==="object")b=Qfa(a,b,c);else{let d=b.hasOwnProperty(c);uea(b.constructor,c,a);b=d?Object.getOwnPropertyDescriptor(b,c):void 0}return b}};_.Ep=function(a){return(b,c)=>_.Rfa(b,c,{get(){return this.Sk?.querySelector(a)??null}})};_.Fp=function(a){return _.Dp({...a,state:!0,Kh:!1})};Sfa=function(a){_.Rk("poly").then(b=>{b.AL(a)})};Tfa=function(a){_.Rk("poly").then(b=>{b.BL(a)})}; +_.Gp=function(a,b,c,d){var e=a.qh||void 0;a=_.Rk("streetview").then(f=>_.Rk("geometry").then(g=>f.iN(b,c||null,g.spherical.computeHeading,g.spherical.computeOffset,e,d)));c&&a.catch(()=>{});return a}; +Jp=function(a){a=a||{};this.tileSize=a.tileSize||new _.tn(256,256);this.name=a.name;this.alt=a.alt;this.minZoom=a.minZoom;this.maxZoom=a.maxZoom;this.sh=(0,_.mb)(a.getTileUrl,a);this.qh=new _.Hp;this.rh=null;this.set("opacity",a.opacity);_.Rk("map").then(b=>{var c=this.rh=b.wO.bind(b),d=this.tileSize||new _.tn(256,256);this.qh.forEach(e=>{var f=e.__gmimt,g=f.xj,h=f.zoom,k=this.sh(g,h);(f.Gj=c({li:g.x,ni:g.y,wi:h},d,e,k,()=>_.Hm(e,"load"))).setOpacity(Ip(this))})})}; +Ip=function(a){a=a.get("opacity");return typeof a=="number"?a:1};_.Kp=function(){};Lp=function(a,b){this.setValues(b)}; +fga=function(){var a=Object.assign({DirectionsTravelMode:_.Mp,DirectionsUnitSystem:_.Np,FusionTablesLayer:Ufa,MarkerImage:Vfa,NavigationControlStyle:Wfa,SaveWidget:Lp,ScaleControlStyle:Xfa,ZoomControlStyle:Yfa},Zfa,$fa,aga,bga,cga,dga,ega);_.ll(jn,{Feature:_.Op,Geometry:im,GeometryCollection:_.Tm,LineString:_.Om,LinearRing:_.Um,MultiLineString:_.Rm,MultiPoint:_.Qm,MultiPolygon:_.Sm,Point:_.jm,Polygon:_.Pm});_.Cl(a);return a}; +iga=async function(a,b=!1,c=!1){var d={core:Zfa,maps:$fa,geocoding:cga,streetView:dga}[a];if(d)for(let [e,f]of Object.entries(d))f===void 0&&delete d[e];if(d)b&&_.P(_.Ua,158530);else{b&&_.P(_.Ua,157584);if(!gga.has(a)&&!hga.has(a)){b=`The library ${a} is unknown. Please see https://developers.google.com/maps/documentation/javascript/libraries`;if(c)throw Error(b);console.error(b)}d=await _.Rk(a)}switch(a){case "addressValidation":d.connectForExplicitThirdPartyLoad();break;case "maps":_.Rk("map"); +break;case "elevation":d.connectForExplicitThirdPartyLoad();break;case "airQuality":d.connectForExplicitThirdPartyLoad();break;case "geocoding":_.Rk("geocoder");break;case "streetView":_.Rk("streetview");break;case "maps3d":d.connectForExplicitThirdPartyLoad();break;case "marker":d.connectForExplicitThirdPartyLoad();break;case "places":d.connectForExplicitThirdPartyLoad();break;case "routes":d.connectForExplicitThirdPartyLoad();break;case "weather":d.connectForExplicitThirdPartyLoad()}return Object.freeze({...d})}; +_.kga=async function(a){await new Promise(b=>{var c=new ResizeObserver(d=>{a.isVisible(d[0])?(c.disconnect(),b()):a.qh.resolve(!1)});c.observe(a.host)});await new Promise(b=>{var c=new IntersectionObserver(d=>{if(d=d.some(e=>e.isIntersecting))c.disconnect(),b();a.qh.resolve(d)},{root:document,rootMargin:`${jga()}px`});c.observe(a.host)})}; +jga=function(){var a=new Map([["4g",2500],["3g",3500],["2g",6E3],["slow-2g",8E3],["unknown",4E3]]),b=window.navigator?.connection?.effectiveType;return(b&&a.get(b))??a.get("unknown")};lga=async function(a,b){var c=++a.qh,d=b.ZI,e=b.onError;b=b.XO;var f=g=>{if(a.qh!==c)throw new _.Pp;return g};try{try{f(await 0),f(await d(f))}catch(g){if(g instanceof _.Pp||!e)throw g;f(await e(g,f))}}catch(g){if(!(g instanceof _.Pp))throw g;b?.()}};_.Qp=function(a){lga(a.bH,{ZI:async b=>{a.uj=0;b(await a.Ap)}})}; +_.Rp=function(a,b,c){var d;return lga(a.bH,{ZI:async e=>{a.uj=1;a.aE||e(await _.kga(a.JQ));c&&(d=_.Xk(c));e(await b(e));a.uj=2;e(await a.Ap);a.dispatchEvent(new _.mga);_.Yk(d,0)},onError:async(e,f)=>{a.uj=3;_.Yk(d,13);f(await a.Ap);_.wea(a,e)},XO:()=>{_.Zk(d)}})};_.Tp=function(a){return a instanceof _.Wn?a:new _.Wn((0,_.Sp)(a))};nga=function(a,b){var c=a.x,d=a.y;switch(b){case 90:a.x=d;a.y=256-c;break;case 180:a.x=256-c;a.y=256-d;break;case 270:a.x=256-d,a.y=c}}; +_.Vp=function(a){return!a||a instanceof _.Up?oga:a};_.Wp=function(a,b,c=!1){return _.Vp(b).fromPointToLatLng(new _.pn(a.qh,a.rh),c)};sga=function(a){var b=pga,c=qga,d=rga;Qk.getInstance().init(a,b,c,void 0,void 0,void 0,d)}; +wga=function(){var a=tga||(tga=uga('[[["addressValidation",["main"]],["airQuality",["main"]],["adsense",["main"]],["common",["main"]],["controls",["util"]],["data",["util"]],["directions",["util","geometry"]],["distance_matrix",["util"]],["drawing",["main"]],["drawing_impl",["controls"]],["elevation",["util","geometry"]],["geocoder",["util"]],["geometry",["main"]],["imagery_viewer",["main"]],["infowindow",["util"]],["journeySharing",["main"]],["kml",["onion","util","map"]],["layers",["map"]],["log",["util"]],["main"],["map",["common"]],["map3d_lite_wasm",["main"]],["map3d_wasm",["main"]],["map3d_wasm_geoxp",["main"]],["maps3d",["util"]],["marker",["util"]],["maxzoom",["util"]],["onion",["util","map"]],["overlay",["common"]],["panoramio",["main"]],["places",["places_impl"]],["places_impl",["controls"]],["poly",["util","map","geometry"]],["routes",["main"]],["search",["main"]],["search_impl",["onion"]],["streetview",["util","geometry"]],["styleEditor",["common"]],["util",["common"]],["visualization",["main"]],["visualization_impl",["onion"]],["weather",["main"]],["webgl",["util","map"]]]]'));return _.sg(a, +vga,1)};_.Xp=function(a){var b=performance.getEntriesByType("resource");if(!b.length)return 2;b=b.find(d=>d.name.includes(a));if(!b)return 2;if(b.deliveryType==="cache")return 1;var c=b.decodedBodySize;return b.transferSize===0&&c>0?1:b.duration<30?1:0};rga=function(a){var b=Yp.get(a);if(b){var c=_.Tk;c&&(c=_.yk(_.zk(c)),c=c.endsWith("/")?c:`${c}/`,c=`${c}${a}.js`,a=_.Xp(c),a!==2&&(c=_.Xk(b.jj,{Iw:c}),_.Yk(c,0)),a===1?_.P(_.Ua,b.gj):a===0&&_.P(_.Ua,b.hj))}}; +yga=function(a,b){var c=[],d=[0,0];for(let f=0,g=_.jl(a);f=32;)b.push(String.fromCharCode((32|a&31)+63)),a>>=5;b.push(String.fromCharCode(a+63))}; +_.zga=function(a){var b=_.jl(a),c=Array(Math.floor(a.length/2)),d=0,e=0,f=0,g;for(g=0;d=31);e+=h&1?~(h>>1):h>>1;h=1;k=0;do m=a.charCodeAt(d++)-63-1,h+=m<=31);f+=h&1?~(h>>1):h>>1;c[g]=new _.cm(e*1E-5,f*1E-5,!0)}c.length=g;return c};_.Zp=function(a=""){return a+" (opens in new tab)"}; +_.$p=function(a){var b=document.createElement("button");b.style.background="none";b.style.display="block";b.style.padding=b.style.margin=b.style.border="0";b.style.textTransform="none";b.style.webkitAppearance="none";b.style.position="relative";b.style.cursor="pointer";_.gp(b);b.style.outline="";b.setAttribute("aria-label",a);b.title=a;b.type="button";new _.To(b,"contextmenu",c=>{_.sm(c);_.tm(c)});_.Wo(b);return b};_.bq=function(a,...b){a.classList.add(...b.map(_.aq))}; +_.aq=function(a){return Aga.has(a)?a:`${_.tda(a)}-${a}`};Bga=function(a){a.rh.prepend(a.qh);window.requestAnimationFrame(()=>{a.qh.focus({preventScroll:!0})})};Cga=function(a){var b=document.createElement("h2"),c={Xs:new _.pn(0,0),Eu:new _.tn(24,24),label:"Close dialog",ownerElement:a};c=new _.cq(c);b.textContent=a.options.title;b.translate=a.options.gK??!0;c.element.style.position="static";c.element.addEventListener("click",()=>void a.dj.close());a.rh.appendChild(b);a.rh.appendChild(c.element);return a.rh}; +_.dq=function(a,b){return function*(){var c=typeof b==="function";if(a!==void 0){let d=-1;for(let e of a)d>-1&&(yield c?b(d):b),d++,yield e}}()};Dga=function(a){return a.links.length===0?null:(0,_.eq)` + ${_.dq(a.links.map(({text:b,href:c})=>(0,_.eq)``),"")} + `};Ega=function(a){var b=document.createElement("div");b.append(a.rh);b=new _.gq({title:"Google Maps",gK:!1,content:b});b.addEventListener("close",()=>{a.dispatchEvent(new Event("gmp-internal-close"))});return b};hq=function(a){return a==="#000"||a==="#5e5e5e"?"#fff":"#474747"}; +Gga=function(a,b){if(!a.showInfoButton)return(0,_.eq)``;var c=a.logoColorOptions.Ky||"#5e5e5e",d=a.logoColorOptions.Lx||"#fff",e=hq(c),f=hq(d);c=a.attributionType==="LOGO_OUTLINE"?Fga({fill:`light-dark(${c}, ${d})`,outline:`light-dark(${e}, ${f})`}):_.iq({fill:`light-dark(${c}, ${d})`});return(0,_.eq)` `};Kga=function(a,b,c,d=[],e=[]){var f=new Hga;a=_.Xg(f,5,a);b?_.Zg(a,1,9):_.Zg(a,1,2);b=new _.nq;c=_.uba(b,c.getTime());b=_.og(a,Iga,11);_.tg(b,_.nq,2,c);_.fg(a,13,d,_.Te);e.length>0&&_.fg(a,6,e,_.ef);return nd(Jga(a))}; +Lga=function(a,b){for(let [e,f]of Object.entries(a.headers))a=f,a!==""&&(b.metadata[e]=a);a=b.getMetadata();var c=a["X-Goog-Maps--Tmp-Internal-Usage-Attribution-Ids"],d=[];c&&(d=c.split(","));delete a["X-Goog-Maps--Tmp-Internal-Usage-Attribution-Ids"];c=Kga(_.Tk?.Bh()?.rh()||"",!!_.Zo[35],new Date,_.Tk?.yh()||[],d);b.metadata["X-Goog-Gmp-Client-Signals"]=c;a.Authorization&&(b.metadata["X-Goog-Api-Key"]="")}; +Nga=async function(a){var b=await _.Mga();for(let [c,d]of Object.entries(b))b=d,b!==""&&(a.metadata[c]=b)};_.Mga=async function(){var a={},[b,c]=await Promise.all([Oga(),nda()]);b&&(a["X-Firebase-AppCheck"]=b);a["X-Goog-Maps-Session-Id"]=c.toString();return a};Oga=async function(){try{var a=await Ada().fetchAppCheckToken();a=_.Ml({token:_.oq})(a)}catch(b){return console.error(b),await _.P(window,228451),"eyJlcnJvciI6IlVOS05PV05fRVJST1IifQ=="}return a?.token?(await _.P(window,228453),a.token):""}; +_.Pga=function(a,b){return function*(){if(a!==void 0){let c=0;for(let d of a)yield b(d,c++)}}()}; +Zga=async function(a){var b=_.Ua.google.maps,c=!!b.__ib__,d=Qga(),e=Rga(b),f=_.Tk=_.Nh(Sga,(0,_.Tga)(a||[]));Uk=Math.random();d&&(_.Wk=!0);_.P(window,218838);f.yh().length>0&&console.log("Running with experiment IDs:",f.yh().map(Number));_.I(f,48)==="async"||c?(await new Promise(p=>setTimeout(p)),_.P(_.Ua,221191)):console.warn("Google Maps JavaScript API has been loaded directly without loading=async. This can result in suboptimal performance. For best-practice loading patterns please see https://goo.gle/js-api-loading");_.I(f, +48)&&_.I(f,48)!=="async"&&console.warn(`Google Maps JavaScript API has been loaded with loading=${_.I(f,48)}. "${_.I(f,48)}" is not a valid value for loading in this version of the API.`);var g;_.Mg(f,13)===0&&(g=_.Xk(153157,{Iw:"maps/api/js?"}));var h=_.Xk(218824,{Iw:"maps/api/js?"});switch(_.Xp("maps/api/js?")){case 1:_.P(_.Ua,233176);break;case 0:_.P(_.Ua,233178)}_.pq=Ffa(Zca(_.H(f,Uga,5)),f.th(),f.xh(),f.zh());_.Vga=Hfa(Zca(_.H(f,Uga,5)));_.qq=Ifa();Wga(f,p=>{p.blockedURI&&p.blockedURI.includes("/maps/api/mapsjs/gen_204?csp_test=true")&& +_.P(_.Ua,149596)});for(a=0;a<_.cg(f,9,_.He,3,!0).length;++a)_.Zo[_.Ng(f,9,a)]=!0;a=_.zk(f);sga(_.yk(a));d=fga();_.kl(d,(p,q)=>{b[p]=q});b.version=a.rh();Xga||(Xga=!0,_.Kn("gmp-map",rq));_.Vk()&&lea();setTimeout(()=>{_.Rk("util").then(p=>{_.yg(f,43)||p.MJ.qh();p.ZL();e&&_.P(window,155846);switch(_.Ua.navigator.connection?.effectiveType){case "slow-2g":_.P(_.Ua,166473);break;case "2g":_.P(_.Ua,166474);break;case "3g":_.P(_.Ua,166475);break;case "4g":_.P(_.Ua,166476)}})},5E3);$o(_.ap)?console.error("The Google Maps JavaScript API does not support this browser. See https://developers.google.com/maps/documentation/javascript/error-messages#unsupported-browsers"): +_.$ea()&&console.error("The Google Maps JavaScript API has deprecated support for this browser. See https://developers.google.com/maps/documentation/javascript/error-messages#unsupported-browsers");c&&_.P(_.Ua,157585);b.importLibrary=p=>iga(p,!0,!0);_.Zo[35]&&(b.logger={beginAvailabilityEvent:_.Xk,cancelAvailabilityEvent:_.Zk,endAvailabilityEvent:_.Yk,maybeReportFeatureOnce:_.P},b.embedFeatures={isVerticalPlaceCardLayoutEnabled:()=>!!_.Tk?.Ah(),isExperimentationLoggingEnabled:()=>(_.Tk?.yh()?.length?? +0)>0});a=[];if(!c)for(c=_.Mg(f,13),d=0;d{g&&_.Yk(g,0);_.Yk(h,0);Yga(k)()}):(g&&_.Yk(g,0),_.Yk(h,0));var m=()=>{document.readyState==="complete"&&(document.removeEventListener("readystatechange",m),setTimeout(()=>{[...(new Set([...document.querySelectorAll("*")].map(p=>p.localName)))].some(p=>p.includes("-")&&!p.match(/^gmpx?-/))&&_.P(_.Ua,179117)},1E3))};document.addEventListener("readystatechange",m);m()}; +Yga=function(a){var b=a.split("."),c=_.Ua,d=_.Ua;for(let e=0;e{setTimeout(()=>{_.P(_.Ua,d)},0)};for(var c in Object.prototype)_.Ua.console&&_.Ua.console.error("This site adds property `"+c+"` to Object.prototype. Extending Object.prototype breaks JavaScript for..in loops, which are used heavily in Google Maps JavaScript API v3."),a=!0,b(149594);Array.from(new Set([42]))[0]!==42&&(_.Ua.console&&_.Ua.console.error("This site overrides Array.from() with an implementation that doesn't support iterables, which could cause Google Maps JavaScript API v3 to not work correctly."), +a=!0,b(149590));_.Ua.Prototype&&(b(149595),a=!0);_.Ua.MooTools&&(b(149593),a=!0);[1,2].values()[Symbol.iterator]||(b(149591),a=!0);typeof Date.now()!=="number"&&(_.Ua.console&&_.Ua.console.error("This site overrides Date.now() with an implementation that doesn't return the number of milliseconds since January 1, 1970 00:00:00 UTC, which could cause Google Maps JavaScript API v3 to not work correctly."),a=!0,b(149592));try{c=class extends HTMLElement{},_.Kn("gmp-internal-element-support-verification", +c),new c}catch(d){_.Ua.console&&_.Ua.console.error("This site cannot instantiate custom HTMLElement subclasses, which could cause Google Maps JavaScript API v3 to not work correctly."),a=!0,b(219995)}return a};Rga=function(a){(a="version"in a)&&_.Ua.console&&_.Ua.console.error("You have included the Google Maps JavaScript API multiple times on this page. This may cause unexpected errors.");return a}; +Wga=function(a,b){if(a.rh()&&_.xk(a.rh()))try{document.addEventListener("securitypolicyviolation",b),$ga.send(_.xk(a.rh())+"/maps/api/mapsjs/gen_204?csp_test=true")}catch(c){}};_.wq=function(a,b,c){switch(dca(c.code).toString()[0]){case "2":return null;case "3":return new sq(a,b,tq(c));case "4":return new _.uq(a,b,tq(c));case "5":return new _.vq(a,b,tq(c));default:return new _.vq(a,b,tq(c))}}; +tq=function(a){switch(a.code){case 0:return"OK";case 1:return"CANCELLED";case 2:return"UNKNOWN";case 3:return"INVALID_ARGUMENT";case 4:return"DEADLINE_EXCEEDED";case 5:return"NOT_FOUND";case 6:return"ALREADY_EXISTS";case 7:return"PERMISSION_DENIED";case 16:return"UNAUTHENTICATED";case 8:return"RESOURCE_EXHAUSTED";case 9:return"FAILED_PRECONDITION";case 10:return"ABORTED";case 11:return"OUT_OF_RANGE";case 12:return"UNIMPLEMENTED";case 13:return"INTERNAL";case 14:return"UNAVAILABLE";case 15:return"DATA_LOSS"; +default:return"UNKNOWN"}};_.aha=function(a,b={}){var c=_.Tk?.rh(),d=b.language??c?.rh();d&&a.searchParams.set("hl",d);(d=b.region)?a.searchParams.set("gl",d):(d=c?.th(),c=c?.xh(),d&&!c&&a.searchParams.set("gl",d));a.searchParams.set("source",b.source??!!_.Zo[35]?"embed":"apiv3");return a};_.xq=function(a){if(typeof a==="function")var b=a;else if(typeof a==="object")b=a.constructor;else throw Error(void 0);return _.de(c=>c instanceof b)};ea=[];Ba=Object.defineProperty;ya=globalThis; +za=typeof Symbol==="function"&&typeof Symbol("x")==="symbol";wa={};la={};pa="Int8 Uint8 Uint8Clamped Int16 Uint16 Int32 Uint32 Float32 Float64".split(" ");ya.BigInt64Array&&(pa.push("BigInt64"),pa.push("BigUint64"));ta("Symbol.dispose",function(a){return a?a:Symbol("Symbol.dispose")},"es_next"); +ta("String.prototype.replaceAll",function(a){return a?a:function(b,c){if(b instanceof RegExp&&!b.global)throw new TypeError("String.prototype.replaceAll called with a non-global RegExp argument.");return b instanceof RegExp?this.replace(b,c):this.replace(new RegExp(String(b).replace(/([-()\[\]{}+?*.$\^|,:#>>0);baa=0;_.tb(_.vb,Error);_.vb.prototype.name="CustomError";_.tb(wb,_.vb);wb.prototype.name="AssertionError";var qh=!0,ph,xb;var yq=Ta(1,!0),Kb=Ta(610401301,!1);Ta(899588437,!1);Ta(772657768,!0);Ta(513659523,!1);Ta(568333945,!0);Ta(1331761403,!0);Ta(651175828,!1);Ta(722764542,!1);Ta(748402145,!1);Ta(748402146,!1);var taa=Ta(748402147,!0);Ta(1602613185,yq);Ta(861377723,!1);Ta(861377724,yq);Ta(869336903,!1);Ta(882674507,!1);Ta(869336904,yq);Ta(869336905,yq);Ta(283953155,!1);Ta(919444824,!1);Ta(931468047,!1);Ta(928875398,yq);Ta(683749201,!1);Ta(2147483644,!1);Ta(2147483645,!1);Ta(2147483646,yq);Ta(2147483647,!0);var bha;bha=_.Ua.navigator;_.Mb=bha?bha.userAgentData||null:null;Ec[" "]=function(){};var dha,Cq;_.cha=_.Wb();_.zq=_.$b();dha=_.Rb("Edge");_.eha=_.Rb("Gecko")&&!(_.Ib()&&!_.Rb("Edge"))&&!(_.Rb("Trident")||_.Rb("MSIE"))&&!_.Rb("Edge");_.Aq=_.Ib()&&!_.Rb("Edge");_.fha=_.pc();_.Bq=_.qc();_.gha=mc()?_.Mb.platform==="Android":_.Rb("Android");_.hha=oc();_.iha=_.Rb("iPad");_.jha=_.Rb("iPod"); +a:{let a="",b=function(){var c=_.Hb();if(_.eha)return/rv:([^\);]+)(\)|;)/.exec(c);if(dha)return/Edge\/([\d\.]+)/.exec(c);if(_.zq)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(c);if(_.Aq)return/WebKit\/(\S+)/.exec(c);if(_.cha)return/(?:Version)[ \/]?(\S+)/.exec(c)}();b&&(a=b?b[1]:"");if(_.zq){var Dq;let c=_.Ua.document;Dq=c?c.documentMode:void 0;if(Dq!=null&&Dq>parseFloat(a)){Cq=String(Dq);break a}}Cq=a}_.kha=Cq;_.lha=_.ic();_.mha=oc()||_.Rb("iPod");_.nha=_.Rb("iPad");_.oha=_.jc();_.pha=_.lc()&&!(oc()||_.Rb("iPad")||_.Rb("iPod"));var Ic={},Yc=null;var ad,eaa,qha;ad=/[-_.]/g;eaa={"-":"+",_:"/",".":"="};_.id={};qha=typeof structuredClone!="undefined";var dd;_.fd=class{isEmpty(){return this.qh==null}constructor(a,b){qd(b);this.qh=a;if(a!=null&&a.length===0)throw Error("ByteString should be constructed with non-empty values");}};_.rha=qha?(a,b)=>Promise.resolve(structuredClone(a,{transfer:b})):gaa;var vd=void 0;var Baa,yaa,maa,naa,vaa,Md,paa;_.Dd=zd("jas",!0);_.jf=zd();Baa=zd();yaa=zd();_.sha=zd();_.nf=zd();maa=zd();naa=zd();_.ai=zd();vaa=zd();Md=zd("m_m",!0);paa=zd();_.rf=zd();var tha;[...Object.values({CR:1,AR:2,zR:4,OR:8,lS:16,JR:32,WQ:64,uR:128,qR:256,eS:512,rR:1024,vR:2048,KR:4096,FR:8192})];tha=[];tha[_.Dd]=7;_.$f=Object.freeze(tha);var Nd,xaa,Ui,be;Nd={};_.Sd={};xaa=Object.freeze({});_.Caa=Object.freeze({});Ui={};be={};var iaa,haa,uha;iaa=_.de(a=>typeof a==="number");haa=_.de(a=>typeof a==="string");uha=_.de(a=>typeof a==="bigint");_.Eq=_.de(a=>a!=null&&typeof a==="object"&&typeof a.then==="function");_.vha=_.de(a=>typeof a==="function");var wha,xha;_.Qba=_.de(a=>uha(a));_.wf=_.de(a=>a>=wha&&a<=xha);wha=BigInt(Number.MIN_SAFE_INTEGER);xha=BigInt(Number.MAX_SAFE_INTEGER);_.fe=0;_.ge=0;var Ee,jaa;_.Ne=typeof BigInt==="function"?BigInt.asIntN:void 0;_.bf=typeof BigInt==="function"?BigInt.asUintN:void 0;_.Ve=Number.isSafeInteger;Ee=Number.isFinite;_.Ue=Math.trunc;jaa=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;var qaa={};_.Fq=_.rb(_.sha);var laa;_.qf=class{};laa={AP:!0};var uf;_.Tga=qha?structuredClone:a=>vf(a,0,xf);var raa;_.Eaa=_.ee(0);var yha=class{constructor(){if(Ui!==Ui)throw Error();}};var Iaa,Kaa,Laa,Maa,zh,Jaa,xh,yh;_.vh=class{constructor(a,b){this.lo=a>>>0;this.hi=b>>>0}};_.zha=class{constructor(){this.qh=[]}length(){return this.qh.length}end(){var a=this.qh;this.qh=[];return a}};_.Aha=class{constructor(){this.sh=[];this.rh=0;this.qh=new _.zha}};var di,oba,Ph,bca;di=Mh();oba=Mh();Ph=Mh();_.dj=Mh();_.hj=Mh();_.ej=Mh();_.nj=Mh();_.lj=Mh();_.pj=Mh();_.mj=Mh();_.oj=Mh();_.rj=Mh();_.tj=Mh();_.sj=Mh();_.uj=Mh();bca=Mh();_.gj=Mh();_.fj=Mh();_.ij=Mh();_.qj=Mh();_.L=class{constructor(a,b){this.Mi=saa(a,b,void 0,2048)}toJSON(){return _.zf(this)}aj(a){return JSON.stringify(_.zf(this,a))}getExtension(a){_.tf(this.Mi,a.qh);_.sf(this,a.qh,a.th);return a.Wn?a.fw?a.sh(this,a.Wn,a.qh,_.Yf(),a.rh):a.sh(this,a.Wn,a.qh,a.rh):a.fw?a.sh(this,a.qh,_.Yf(),a.rh):a.sh(this,a.qh,a.defaultValue,a.rh)}clone(){var a=this.Mi,b=a[_.Dd]|0;return _.Ff(this,a,b)?Gf(this,a,!0):new this.constructor(_.Df(a,b,!1))}wh(){var a=this.Mi,b=a[_.Dd]|0;return _.Td(this,b)?this:_.Ff(this,a,b)? +Gf(this,a):new this.constructor(_.Df(a,b,!0))}};_.L.prototype.sh=_.fa(1);_.L.prototype.qh=_.fa(0);_.L.prototype[Md]=Nd;_.L.prototype.toString=function(){return this.Mi.toString()};var Oh,Uaa,Vaa,Waa,$aa,Uba,Th;Oh=class{constructor(a,b,c,d){this.vC=a;this.wC=b;this.Ut=c;this.qh=d;a=_.rb(Ph);(a=!!a&&d===a)||(a=_.rb(_.dj),a=!!a&&d===a);this.rh=a}};Uaa=_.Qh(function(a,b,c,d,e){if(a.qh!==2)return!1;_.sh(a,_.pg(b,d,c),e);return!0},Taa);Vaa=_.Qh(function(a,b,c,d,e){if(a.qh!==2)return!1;_.sh(a,_.pg(b,d,c),e);return!0},Taa);Waa=Symbol();$aa=Symbol();Uba=Symbol();_.Gq=Symbol();var Bha;Bha=_.ee(0);_.Cha=Symbol();_.Hq=_.ci(function(a,b,c){if(a.qh!==1)return!1;_.fi(b,c,_.nh(a.rh));return!0},_.gi,_.fj);_.Iq=_.ci(function(a,b,c){return _.gba(a,b,c)},_.hi,_.rj);_.Jq=_.ei(_.hba,function(a,b,c){b=_.bi(_.df,b,!1);if(b!=null)for(let d=0;d/^[^:]*([/?#]|$)/.test(a))];Kba=["data:","http:","https:","mailto:","ftp:"];var Gi=class{constructor(a){this.qh=a}toString(){return this.qh+""}},nea=new Gi(Zq?Zq.emptyHTML:"");_.Ki=class{constructor(a){this.qh=a}toString(){return this.qh}};_.Ni=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");_.ar=class{constructor(a,b,c,d,e){this.sh=a;this.qh=b;this.th=c;this.wh=d;this.rh=e}};_.Fha=new _.ar(new Set("ARTICLE SECTION NAV ASIDE H1 H2 H3 H4 H5 H6 HEADER FOOTER ADDRESS P HR PRE BLOCKQUOTE OL UL LH LI DL DT DD FIGURE FIGCAPTION MAIN DIV EM STRONG SMALL S CITE Q DFN ABBR RUBY RB RT RTC RP DATA TIME CODE VAR SAMP KBD SUB SUP I B U MARK BDI BDO SPAN BR WBR NOBR INS DEL PICTURE PARAM TRACK MAP TABLE CAPTION COLGROUP COL TBODY THEAD TFOOT TR TD TH SELECT DATALIST OPTGROUP OPTION OUTPUT PROGRESS METER FIELDSET LEGEND DETAILS SUMMARY MENU DIALOG SLOT CANVAS FONT CENTER ACRONYM BASEFONT BIG DIR HGROUP STRIKE TT".split(" ")), +new Map([["A",new Map([["href",{Pm:7}]])],["AREA",new Map([["href",{Pm:7}]])],["LINK",new Map([["href",{Pm:5,conditions:new Map([["rel",new Set("alternate author bookmark canonical cite help icon license next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" "))]])}]])],["SOURCE",new Map([["src",{Pm:5}],["srcset",{Pm:6}]])],["IMG",new Map([["src",{Pm:5}],["srcset",{Pm:6}]])],["VIDEO",new Map([["src",{Pm:5}]])],["AUDIO",new Map([["src",{Pm:5}]])]]),new Set("title aria-atomic aria-autocomplete aria-busy aria-checked aria-current aria-disabled aria-dropeffect aria-expanded aria-haspopup aria-hidden aria-invalid aria-label aria-level aria-live aria-multiline aria-multiselectable aria-orientation aria-posinset aria-pressed aria-readonly aria-relevant aria-required aria-selected aria-setsize aria-sort aria-valuemax aria-valuemin aria-valuenow aria-valuetext alt align autocapitalize autocomplete autocorrect autofocus autoplay bgcolor border cellpadding cellspacing checked cite color cols colspan controls controlslist coords crossorigin datetime disabled download draggable enctype face formenctype frameborder height hreflang hidden inert ismap label lang loop max maxlength media minlength min multiple muted nonce open playsinline placeholder preload rel required reversed role rows rowspan selected shape size sizes slot span spellcheck start step summary translate type usemap valign value width wrap itemscope itemtype itemid itemprop itemref".split(" ")), +new Map([["dir",{Pm:3,conditions:new Map([["dir",new Set(["auto","ltr","rtl"])]])}],["async",{Pm:3,conditions:new Map([["async",new Set(["async"])]])}],["loading",{Pm:3,conditions:new Map([["loading",new Set(["eager","lazy"])]])}],["poster",{Pm:5}],["target",{Pm:3,conditions:new Map([["target",new Set(["_self","_blank"])]])}]]));_.Gha=class{constructor(a,b,c,d,e){this.sh=a;this.wh=b;this.th=c;this.qh=d;this.rh=e}sanitizeAssertUnchanged(a){return _.Si(this,a)}createTextNode(a){return document.createTextNode(a)}};_.br=new _.Gha(_.Fha);var Hha=class extends _.L{constructor(a){super(a,500)}};var Xi=class extends _.L{constructor(a){super(a,500)}};var Wi=class extends _.L{constructor(a){super(a)}getName(){return _.I(this,1)}setOptions(a){return _.tg(this,Xi,3,a)}};var Mba=_.pi(class extends _.L{constructor(a){super(a)}getName(){return _.I(this,1)}setValue(a,b){return _.Xf(this,2,Wi,a,b)}setOptions(a){return _.tg(this,Hha,3,a)}rh(){return _.Fg(this,6)}nl(a){return _.Zg(this,6,a)}});var Lba=Symbol();var Raa=_.ni(998,Xi,class extends _.L{constructor(a){super(a)}});var Vi=Symbol(),Pba=Symbol(),Zi=Symbol();_.fj.Bm="d";_.gj.Bm="f";_.nj.Bm="i";_.rj.Bm="j";_.lj.Bm="u";_.tj.Bm="v";_.hj.Bm="b";_.qj.Bm="e";_.ej.Bm="s";_.ij.Bm="B";Ph.Bm="m";_.dj.Bm="m";_.mj.Bm="x";_.uj.Bm="y";_.oj.Bm="g";bca.Bm="h";_.pj.Bm="n";_.sj.Bm="o";var $ba=RegExp("[+/]","g"),aca=RegExp("[.=]+$"),Yba=RegExp("(\\*)","g"),Zba=RegExp("(!)","g"),Xba=RegExp("^[-A-Za-z0-9_.!~*() ]*$");var Wba=RegExp("'","g");_.cr=typeof AsyncContext!=="undefined"&&typeof AsyncContext.Snapshot==="function"?a=>a&&AsyncContext.Snapshot.wrap(a):a=>a;var Uca=new Set(["SAPISIDHASH","APISIDHASH"]);_.ak=class extends Error{constructor(a,b,c={}){super(b);this.code=a;this.metadata=c;this.name="RpcError";Object.setPrototypeOf(this,new.target.prototype)}toString(){var a=`RpcError(${_.vj(this.code)||String(this.code)})`;this.message&&(a+=": "+this.message);return a}};_.wj.prototype.Lh=!1;_.wj.prototype.yh=function(){return this.Lh};_.wj.prototype.dispose=function(){this.Lh||(this.Lh=!0,this.Dk())};_.wj.prototype[_.ma(Symbol,"dispose")]=function(){this.dispose()};_.wj.prototype.Dk=function(){if(this.Ih)for(;this.Ih.length;)this.Ih.shift()()};_.xj.prototype.stopPropagation=function(){this.rh=!0};_.xj.prototype.preventDefault=function(){this.defaultPrevented=!0};_.tb(_.yj,_.xj); +_.yj.prototype.init=function(a,b){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;b=a.relatedTarget;b||(c=="mouseover"?b=a.fromElement:c=="mouseout"&&(b=a.toElement));this.relatedTarget=b;d?(this.clientX=d.clientX!==void 0?d.clientX:d.pageX,this.clientY=d.clientY!==void 0?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.offsetX=_.Aq||a.offsetX!==void 0?a.offsetX:a.layerX, +this.offsetY=_.Aq||a.offsetY!==void 0?a.offsetY:a.layerY,this.clientX=a.clientX!==void 0?a.clientX:a.pageX,this.clientY=a.clientY!==void 0?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||(c=="keypress"?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId=a.pointerId||0;this.pointerType=a.pointerType;this.state=a.state; +this.timeStamp=a.timeStamp;this.qh=a;a.defaultPrevented&&_.yj.jr.preventDefault.call(this)};_.yj.prototype.stopPropagation=function(){_.yj.jr.stopPropagation.call(this);this.qh.stopPropagation?this.qh.stopPropagation():this.qh.cancelBubble=!0};_.yj.prototype.preventDefault=function(){_.yj.jr.preventDefault.call(this);var a=this.qh;a.preventDefault?a.preventDefault():a.returnValue=!1};var eca="closure_listenable_"+(Math.random()*1E6|0);var fca=0;Bj.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.bi[f];a||(a=this.bi[f]=[],this.qh++);var g=Dj(a,b,d,e);g>-1?(b=a[g],c||(b.jA=!1)):(b=new gca(b,this.src,f,!!d,e),b.jA=c,a.push(b));return b};Bj.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.bi))return!1;var e=this.bi[a];b=Dj(e,b,c,d);return b>-1?(Aj(e[b]),_.zc(e,b),e.length==0&&(delete this.bi[a],this.qh--),!0):!1};var Jj="closure_lm_"+(Math.random()*1E6|0),Lj={},lca=0,Mj="__closure_events_fn_"+(Math.random()*1E9>>>0);_.tb(_.Pj,_.wj);_.Pj.prototype[eca]=!0;_.Pj.prototype.addEventListener=function(a,b,c,d){_.Fj(this,a,b,c,d)};_.Pj.prototype.removeEventListener=function(a,b,c,d){nca(this,a,b,c,d)}; +_.Pj.prototype.dispatchEvent=function(a){var b=this.Zj;if(b){var c=[];for(var d=1;b;b=b.Zj)c.push(b),++d}b=this.wv;d=a.type||a;if(typeof a==="string")a=new _.xj(a,b);else if(a instanceof _.xj)a.target=a.target||b;else{var e=a;a=new _.xj(d,b);_.xba(a,e)}e=!0;var f;if(c)for(f=c.length-1;!a.rh&&f>=0;f--){var g=a.currentTarget=c[f];e=Qj(g,d,!0,a)&&e}a.rh||(g=a.currentTarget=b,e=Qj(g,d,!0,a)&&e,a.rh||(e=Qj(g,d,!1,a)&&e));if(c)for(f=0;!a.rh&&f"content-type"==f.toLowerCase());e=_.Ua.FormData&&a instanceof _.Ua.FormData;!_.yc(Jha,b)||d||e||c.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");for(let [f,g]of c)this.qh.setRequestHeader(f,g);this.Eh&&(this.qh.responseType=this.Eh);"withCredentials"in this.qh&&this.qh.withCredentials!== +this.zh&&(this.qh.withCredentials=this.zh);try{this.th&&(clearTimeout(this.th),this.th=null),this.Bh>0&&(this.getStatus(),this.th=setTimeout(this.rv.bind(this),this.Bh)),this.getStatus(),this.Dh=!0,this.qh.send(a),this.Dh=!1}catch(f){this.getStatus(),sca(this,f)}};_.ba.rv=function(){typeof Vj!="undefined"&&this.qh&&(this.xh="Timed out after "+this.Bh+"ms, aborting",this.sh=8,this.getStatus(),this.dispatchEvent("timeout"),this.abort(8))}; +_.ba.abort=function(a){this.qh&&this.rh&&(this.getStatus(),this.rh=!1,this.wh=!0,this.qh.abort(),this.wh=!1,this.sh=a||7,this.dispatchEvent("complete"),this.dispatchEvent("abort"),Uj(this))};_.ba.Dk=function(){this.qh&&(this.rh&&(this.rh=!1,this.wh=!0,this.qh.abort(),this.wh=!1),Uj(this,!0));_.Tj.jr.Dk.call(this)};_.ba.YI=function(){this.yh()||(this.Gh||this.Dh||this.wh?tca(this):this.ZO())};_.ba.ZO=function(){tca(this)};_.ba.isActive=function(){return!!this.qh}; +_.ba.Nm=function(){return _.Wj(this)==4};_.ba.getStatus=function(){try{return _.Wj(this)>2?this.qh.status:-1}catch(a){return-1}};_.ba.Rr=function(){try{return this.qh?this.qh.responseText:""}catch(a){return""}};_.ba.getAllResponseHeaders=function(){return this.qh&&_.Wj(this)>=2?this.qh.getAllResponseHeaders()||"":""};var xca=class{constructor(a,b,c){this.ZE=a;this.OI=b;this.metadata=c}getMetadata(){return this.metadata}};var zca=class{constructor(a,b={}){this.yP=a;this.metadata=b;this.status=null}getMetadata(){return this.metadata}getStatus(){return this.status}};_.dr=class{constructor(a,b,c,d){this.name=a;this.zw=b;this.rh=c;this.qh=d}getName(){return this.name}};var Xca=class{constructor(a,b){this.rh=[];this.th=[];this.wh=[];this.sh=[];this.qh=[];this.xh=a.JO;this.yh=b;this.Wi=a.Wi;this.xh&&Dca(this)}op(a,b){a==="data"?this.rh.push(b):a==="metadata"?this.th.push(b):a==="status"?this.wh.push(b):a==="end"?this.sh.push(b):a==="error"&&this.qh.push(b)}removeListener(a,b){a==="data"?fk(this.rh,b):a==="metadata"?fk(this.th,b):a==="status"?fk(this.wh,b):a==="end"?fk(this.sh,b):a==="error"&&fk(this.qh,b);return this}cancel(){this.Wi.abort()}},Gca=class extends Error{constructor(){super(); +this.name="AsyncStack";Object.setPrototypeOf(this,new.target.prototype)}};_.tb(gk,qca);gk.prototype.qh=function(){return new hk(this.sh,this.rh)};_.tb(hk,_.Pj);_.ba=hk.prototype;_.ba.open=function(a,b){if(this.readyState!=0)throw this.abort(),Error("Error reopening a connection");this.Eh=a;this.th=b;this.readyState=1;ik(this)}; +_.ba.send=function(a){if(this.readyState!=1)throw this.abort(),Error("need to call open() first. ");if(this.Bh.signal.aborted)throw this.abort(),Error("Request was aborted.");this.qh=!0;var b={headers:this.Dh,method:this.Eh,credentials:this.xh,cache:void 0,signal:this.Bh.signal};a&&(b.body=a);(this.Fh||_.Ua).fetch(new Request(this.th,b)).then(this.wN.bind(this),this.UA.bind(this))}; +_.ba.abort=function(){this.response=this.responseText="";this.Dh=new Headers;this.status=0;this.Bh.abort("Request was aborted.");this.sh&&this.sh.cancel("Request was aborted.").catch(()=>{});this.readyState>=1&&this.qh&&this.readyState!=4&&(this.qh=!1,jk(this));this.readyState=0}; +_.ba.wN=function(a){if(this.qh&&(this.wh=a,this.rh||(this.status=this.wh.status,this.statusText=this.wh.statusText,this.rh=a.headers,this.readyState=2,ik(this)),this.qh&&(this.readyState=3,ik(this),this.qh)))if(this.responseType==="arraybuffer")a.arrayBuffer().then(this.uN.bind(this),this.UA.bind(this));else if(typeof _.Ua.ReadableStream!=="undefined"&&"body"in a){this.sh=a.body.getReader();if(this.zh){if(this.responseType)throw Error('responseType must be empty for "streamBinaryChunks" mode responses.'); +this.response=[]}else this.response=this.responseText="",this.Ah=new TextDecoder;Ica(this)}else a.text().then(this.vN.bind(this),this.UA.bind(this))};_.ba.tN=function(a){if(this.qh){if(this.zh&&a.value)this.response.push(a.value);else if(!this.zh){var b=a.value?a.value:new Uint8Array(0);if(b=this.Ah.decode(b,{stream:!a.done}))this.response=this.responseText+=b}a.done?jk(this):ik(this);this.readyState==3&&Ica(this)}};_.ba.vN=function(a){this.qh&&(this.response=this.responseText=a,jk(this))}; +_.ba.uN=function(a){this.qh&&(this.response=a,jk(this))};_.ba.UA=function(){this.qh&&jk(this)};_.ba.setRequestHeader=function(a,b){this.Dh.append(a,b)};_.ba.getResponseHeader=function(a){return this.rh?this.rh.get(a.toLowerCase())||"":""};_.ba.getAllResponseHeaders=function(){if(!this.rh)return"";for(var a=[],b=this.rh.entries(),c=b.next();!c.done;)c=c.value,a.push(c[0]+": "+c[1]),c=b.next();return a.join("\r\n")}; +Object.defineProperty(hk.prototype,"withCredentials",{get:function(){return this.xh==="include"},set:function(a){this.xh=a?"include":"same-origin"}});_.tb(_.kk,_.wj);var Jca=[];_.kk.prototype.Dk=function(){_.kk.jr.Dk.call(this);_.mk(this)};_.kk.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};var Lca=class{constructor(){this.sh=!0;this.rh=0;this.qh=""}};nk.prototype.Bh=function(){return!0}; +nk.prototype.sh=function(a){function b(k){k&128&&ok(f,g,h,"invalid tag");(k&7)!=2&&ok(f,g,h,"invalid wire type");f.th=k>>>3;f.th!=1&&f.th!=2&&f.th!=15&&ok(f,g,h,"unexpected tag");f.rh=1;f.qh=0;f.wh=0}function c(k){f.wh++;f.wh==5&&k&240&&ok(f,g,h,"message length too long");f.qh|=(k&127)<<(f.wh-1)*7;k&128||(f.rh=2,f.zh=0,typeof Uint8Array!=="undefined"?f.xh=new Uint8Array(f.qh):f.xh=Array(f.qh),f.qh==0&&e())}function d(k){f.xh[f.zh++]=k;f.zh==f.qh&&e()}function e(){if(f.th<15){let k={};k[f.th]=f.xh; +f.yh.push(k)}f.rh=0}for(var f=this,g=a instanceof Array?a:new Uint8Array(a),h=0;h0?a:null};pk.prototype.Bh=function(){return!1};pk.prototype.sh=function(a){this.qh!==null&&Mca(this,a,"stream already broken");var b=null;try{{var c=this.th;c.sh||Kca(c,a,"stream already broken");c.qh+=a;let f=Math.floor(c.qh.length/4);if(f==0)var d=null;else{try{var e=_.Xc(c.qh.slice(0,f*4))}catch(g){Kca(c,c.qh,g.message)}c.rh+=f*4;c.qh=c.qh.slice(f*4);d=e}}b=d===null?null:this.wh.sh(d)}catch(f){Mca(this,a,f.message)}this.rh+=a.length;return b};rk.prototype.done=function(){return this.zh===2};rk.prototype.Bh=function(){return!1}; +rk.prototype.sh=function(a){function b(){for(;q0;)if(x=a[q++],f.Ah===4?f.Ah=0:f.Ah++,!x)break a;if(x==='"'&&!f.yh){f.qh=d();break}if(x==="\\"&&!f.yh&&(f.yh=!0,x=a[q++],!x))break;if(f.yh)if(f.yh=!1,x==="u"&&(f.Ah=1),x=a[q++])continue;else break;h.lastIndex=q;x=h.exec(a);if(!x){q=a.length+1;break}q=x.index+1;x=a[x.index];if(!x)break}f.th+=q-z;continue;case 9:if(!x)continue;x==="r"?f.qh=10:sk(f,a,q);continue;case 10:if(!x)continue;x==="u"?f.qh=11:sk(f,a,q);continue;case 11:if(!x)continue;x==="e"?f.qh=d():sk(f,a,q);continue; +case 12:if(!x)continue;x==="a"?f.qh=13:sk(f,a,q);continue;case 13:if(!x)continue;x==="l"?f.qh=14:sk(f,a,q);continue;case 14:if(!x)continue;x==="s"?f.qh=15:sk(f,a,q);continue;case 15:if(!x)continue;x==="e"?f.qh=d():sk(f,a,q);continue;case 16:if(!x)continue;x==="u"?f.qh=17:sk(f,a,q);continue;case 17:if(!x)continue;x==="l"?f.qh=18:sk(f,a,q);continue;case 18:if(!x)continue;x==="l"?f.qh=d():sk(f,a,q);continue;case 19:x==="."?f.qh=20:sk(f,a,q);continue;case 20:if("0123456789.eE+-".indexOf(x)!==-1)continue; +else q--,f.th--,f.qh=d();continue;default:sk(f,a,q)}}}function d(){var x=g.pop();return x!=null?x:1}function e(x){f.rh>1||(x||(x=p===-1?f.wh+a.substring(m,q):a.substring(p,q)),f.Eh?f.xh.push(x):f.xh.push(JSON.parse(x)),p=q)}for(var f=this,g=f.Fh,h=f.Gh,k=a.length,m=0,p=-1,q=0;q0?(u=f.xh,f.xh=[],u):null}return null};tk.prototype.Bh=function(){return!1}; +tk.prototype.sh=function(a){function b(k){f.rh=6;f.xh="The stream is broken @"+f.qh+"/"+g+". Error: "+k+". With input:\n";throw Error(f.xh);}function c(){f.th=new rk({BS:!0,nM:!0})}function d(k){if(k)for(let m=0;m1)&&b("extra status: "+k);f.yh=!0;let m={};m[2]=k[0];f.wh.push(m)}}for(var f=this,g=0;g0?(a=f.wh,f.wh=[],a):null};var Vca=class{constructor(a){this.qh=a;this.rh=null;this.wh=this.sh=0;this.Ah=!1;this.th=this.yh=this.xh=null;this.zh=new _.kk(this);_.lk(this.zh,this.qh,"readystatechange",this.Bh)}getStatus(){return this.wh}Bh(a){a=a.target;try{if(a==this.qh)a:{let f=_.Wj(this.qh);var b=this.qh.sh,c=this.qh.getStatus();let g=this.qh.Rr();a=[];if(_.Yj(this.qh)instanceof Array){let h=_.Yj(this.qh);h.length>0&&h[0]instanceof Uint8Array&&(this.Ah=!0,a=h)}if(!(f<3||f==3&&!g&&a.length==0))if(c=c==200||c==206,f==4&&(b== +8?uk(this,7):b==7?uk(this,8):c||uk(this,3)),this.rh||(this.rh=Nca(this.qh),this.rh==null&&uk(this,5)),this.wh>2)vk(this);else{if(a.length>this.sh){let h=a.length;b=[];try{if(this.rh.Bh())for(var d=0;dthis.sh){d=g.slice(this.sh);this.sh=g.length;try{let h=this.rh.sh(d);h!=null&&this.th&&this.th(h)}catch(h){uk(this,5);vk(this);break a}}f==4?(g.length!=0||this.Ah?uk(this,2):uk(this,4),vk(this)):uk(this,1)}}}catch(f){uk(this,6),vk(this)}}};var Wca=class{constructor(a){a=this.sh=a;var b=(0,_.mb)(this.th,this);a.th=b;a=this.sh;b=(0,_.mb)(this.wh,this);a.yh=b;this.rh={};this.qh={}}op(a,b){var c=this.rh[a];c||(c=[],this.rh[a]=c);c.push(b)}addListener(a,b){this.op(a,b);return this}removeListener(a,b){var c=this.rh[a];c&&_.Ac(c,b);(a=this.qh[a])&&_.Ac(a,b);return this}once(a,b){var c=this.qh[a];c||(c=[],this.qh[a]=c);c.push(b);return this}th(a){var b=this.rh.data;b&&Oca(a,b);(b=this.qh.data)&&Oca(a,b);this.qh.data=[]}wh(){switch(this.sh.getStatus()){case 1:wk(this, +"readable");break;case 5:case 6:case 4:case 7:case 3:wk(this,"error");break;case 8:wk(this,"close");break;case 2:wk(this,"end")}}};_.er=class{constructor(a={}){this.yF=a.yF||Ra("suppressCorsPreflight",a)||!1;this.withCredentials=a.withCredentials||Ra("withCredentials",a)||!1;this.wF=a.wF||[];this.IF=a.IF||[];this.UF=a.UF;this.sh=a.mU||!1}th(a,b,c,d,e={}){var f=a.substring(0,a.length-d.name.length),g=e?.signal;return Pca(h=>new Promise((k,m)=>{if(g?.aborted){let u=new _.ak(1,"Aborted");u.cause=g.reason;m(u)}else{var p={},q=Tca(this,h,f);q.op("error",u=>void m(u));q.op("metadata",u=>{p=u});q.op("data",u=>{k(Aca(u,p))});g&&g.addEventListener("abort", +()=>{q.cancel();var u=new _.ak(1,"Aborted");u.cause=g.reason;m(u)})}}),this.IF).call(this,_.yca(d,b,c)).then(h=>h.yP)}qh(a,b,c,d,e={}){return this.th(a,b,c,d,e)}};_.er.prototype.rh=_.fa(7);_.Kha=Event;_.fr=class extends _.L{constructor(a){super(a)}rh(){return _.I(this,1)}th(){return _.I(this,2)}xh(){return _.yg(this,21)}};_.fr.prototype.rl=_.fa(13);_.fr.prototype.kj=_.fa(8);var $ca=class extends _.L{constructor(a){super(a)}rh(){return _.I(this,2)}};var Uga=class extends _.L{constructor(a){super(a)}};_.xp=class extends _.L{constructor(a){super(a)}getStatus(){return _.Fg(this,1)}};_.xp.prototype.rh=_.fa(14);var Sga=class extends _.L{constructor(a){super(a)}rh(){return _.H(this,_.fr,3)}Bh(){return _.qg(this,$ca,4)}xh(){return _.I(this,7)}zh(){return _.I(this,14)}th(){return _.I(this,17)}Ah(){return _.yg(this,51)}yh(){return _.cg(this,52,_.af,1,void 0,1024)}};var Iga=class extends _.L{constructor(a){super(a)}};var Hga=class extends _.L{constructor(a){super(a)}};var Lha=[0,_.Z,-1,_.X,-2,_.Nq,[0,_.Iq],[0,_.X,-4],[0,_.Z],_.Z,[0,_.X,_.Tq,_.S],_.X,_.Jq];_.gr={};var Jga=function(a){return b=>{var c=new _.Aha;_.$h(b.Mi,c,_.Wh(a));return _.Jd(_.Naa(c))}}(Lha);_.gr[525004180]=Lha;var ada=window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)");_.hr={ROADMAP:"roadmap",SATELLITE:"satellite",HYBRID:"hybrid",TERRAIN:"terrain"};var sq;sq=class extends Error{constructor(a,b,c){super(`${b}: ${c}: ${a}`);this.endpoint=b;this.code=c;this.name="MapsNetworkError"}};_.vq=class extends sq{constructor(a,b,c){super(a,b,c);this.name="MapsServerError"}};_.uq=class extends sq{constructor(a,b,c){super(a,b,c);this.name="MapsRequestError"}};var bda={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"};_.ba=_.Lk.prototype;_.ba.sk=function(a){var b=this.qh;return typeof a==="string"?b.getElementById(a):a};_.ba.$=_.Lk.prototype.sk;_.ba.getElementsByTagName=function(a,b){return(b||this.qh).getElementsByTagName(String(a))}; +_.ba.createElement=function(a){return Dk(this.qh,a)};_.ba.createTextNode=function(a){return this.qh.createTextNode(String(a))};_.ba.appendChild=function(a,b){a.appendChild(b)};_.ba.append=function(a,b){dda(_.Ik(a),a,arguments,1)};_.ba.canHaveChildren=function(a){if(a.nodeType!=1)return!1;switch(a.tagName){case "APPLET":case "AREA":case "BASE":case "BR":case "COL":case "COMMAND":case "EMBED":case "FRAME":case "HR":case "IMG":case "INPUT":case "IFRAME":case "ISINDEX":case "KEYGEN":case "LINK":case "NOFRAMES":case "NOSCRIPT":case "META":case "OBJECT":case "PARAM":case "SCRIPT":case "SOURCE":case "STYLE":case "TRACK":case "WBR":return!1}return!0}; +_.ba.contains=_.Hk;_.ba.zD=_.fa(15);var Mha=class{constructor(a,b){this.qh=_.Ua.document;this.sh=a.includes("%s")?a:gda([a,"%s"],"js");this.rh=!b||b.includes("%s")?b:gda([b,"%s"],"css.js")}OA(a,b,c){if(this.rh){let d=_.Ok(this.rh.replace("%s",a));fda(this.qh,d)}a=_.Ok(this.sh.replace("%s",a));fda(this.qh,a,b,c)}};_.ir=a=>{var b="dB";if(a.dB&&a.hasOwnProperty(b))return a.dB;var c=new a;a.dB=c;a.hasOwnProperty(b);return c};var Qk=class{constructor(){this.requestedModules={};this.rh={};this.xh={};this.qh={};this.yh=new Set;this.sh=new Nha;this.zh=!1;this.wh={}}init(a,b,c,d=null,e=()=>{},f=new Mha(a,d),g){this.Ls=e;this.zh=!!d;this.sh.init(b,c,f);if(this.th=g){a=Object.keys(this.qh);for(let h of a)this.th(h)}}ln(a,b){hda(this,a).CO=b;this.yh.add(a);kda(this,a)}static getInstance(){return _.ir(Qk)}},Oha=class{constructor(a,b,c){this.sh=a;this.qh=b;this.rh=c;a={};for(let d of Object.keys(b)){c=b[d];let e=c.length;for(let f= +0;f0;_.Qha="0".codePointAt(0);var Rha;Rha=function(a){return a%10==1&&a%100!=11?"one":a%10==2&&a%100!=12?"two":a%10==3&&a%100!=13?"few":"other"};_.Sha=Rha=function(){var a={zero:"zero",one:"one",two:"two",few:"few",many:"many",other:"other"},b=null,c=null;return function(d,e){var f=e===void 0?-1:e;c===null&&(c=new Map);b=c.get(f);if(!b){let g="";g="en".replace("_","-");b=f===-1?new Intl.PluralRules(g,{type:"ordinal"}):new Intl.PluralRules(g,{type:"ordinal",minimumFractionDigits:e});c.set(f,b)}d=b.select(d);return a[d]}}();var Tha;Tha=function(a,b){if(void 0===b){b=a+"";var c=b.indexOf(".");b=Math.min(c===-1?0:b.length-c-1,3)}c=Math.pow(10,b);b={v:b,f:(a*c|0)%c};return(a|0)==1&&b.v==0?"one":"other"}; +_.Uha=Tha=function(){var a={zero:"zero",one:"one",two:"two",few:"few",many:"many",other:"other"},b=null,c=null;return function(d,e){var f=e===void 0?-1:e;c===null&&(c=new Map);b=c.get(f);if(!b){let g="";g="en".replace("_","-");b=f===-1?new Intl.PluralRules(g):new Intl.PluralRules(g,{minimumFractionDigits:e});c.set(f,b)}d=b.select(d);return a[d]}}();_.Vha=RegExp("'([{}#].*?)'","g");_.Wha=RegExp("''","g");dl.prototype.next=function(){return jr};var jr={done:!0,value:void 0};dl.prototype.yx=function(){return this};var el=class{constructor(a){this.qh=a}yx(){return new oda(this.qh())}[Symbol.iterator](){return new fl(this.qh())}rh(){return new fl(this.qh())}},oda=class extends dl{constructor(a){super();this.qh=a}next(){return this.qh.next()}[Symbol.iterator](){return new fl(this.qh)}rh(){return new fl(this.qh)}},fl=class extends el{constructor(a){super(()=>a);this.sh=a}next(){return this.sh.next()}};_.tb(_.gl,qda);_.gl.prototype.rk=_.fa(18);_.gl.prototype[Symbol.iterator]=function(){return pda(this.yx(!0)).rh()};_.gl.prototype.clear=function(){var a=Array.from(this);for(let b of a)this.remove(b)};_.tb(_.hl,_.gl);_.ba=_.hl.prototype;_.ba.isAvailable=function(){if(this.rh===null){var a=this.qh;if(a)try{a.setItem("__sak","1");a.removeItem("__sak");var b=!0}catch(c){b=c instanceof DOMException&&(c.name==="QuotaExceededError"||c.code===22||c.code===1014||c.name==="NS_ERROR_DOM_QUOTA_REACHED")&&a&&a.length!==0}else b=!1;this.rh=b}return this.rh}; +_.ba.set=function(a,b){_.il(this);try{this.qh.setItem(a,b)}catch(c){if(this.qh.length==0)throw"Storage mechanism: Storage disabled";throw"Storage mechanism: Quota exceeded";}};_.ba.get=function(a){_.il(this);a=this.qh.getItem(a);if(typeof a!=="string"&&a!==null)throw"Storage mechanism: Invalid value was encountered";return a};_.ba.remove=function(a){_.il(this);this.qh.removeItem(a)};_.ba.rk=_.fa(17); +_.ba.yx=function(a){_.il(this);var b=0,c=this.qh,d=new dl;d.next=function(){if(b>=c.length)return jr;var e=c.key(b++);if(a)return{value:e,done:!1};e=c.getItem(e);if(typeof e!=="string")throw"Storage mechanism: Invalid value was encountered";return{value:e,done:!1}};return d};_.ba.clear=function(){_.il(this);this.qh.clear()};_.ba.key=function(a){_.il(this);return this.qh.key(a)};_.tb(rda,_.hl);var El={};var vda=class extends Error{constructor(a){super();this.message=a;this.name="InvalidValueError"}},wda=class{constructor(a){this.message=a;this.name="LightweightInvalidValueError"}},Jl=!0;var un,pr,Xha;_.Yl=_.Tl(_.pl,"not a number");_.kr=_.Vl(_.Yl,a=>{if(!Number.isInteger(a))throw _.Kl(`${a} is not an integer`);return a});_.lr=_.Vl(_.kr,a=>{if(a<=0)throw _.Kl(`${a} is not a positive integer`);return a});un=_.Vl(_.Yl,a=>{yda(a);return a});_.mr=_.Vl(_.Yl,a=>{if(isFinite(a))return a;throw _.Kl(`${a} is not an accepted value`);});_.nr=_.Vl(_.Yl,a=>{if(a>=0)return a;yda(a);throw _.Kl(`${a} is a negative number value`);});_.or=_.Vl(_.nr,_.mr);_.oq=_.Tl(_.sl,"not a string"); +pr=_.Tl(_.tl,"not a boolean");Xha=_.Tl(a=>typeof a==="function","not a function");_.qr=_.Wl(_.Yl);_.rr=_.Wl(_.oq);_.sr=_.Wl(pr);_.tr=_.Vl(_.oq,a=>{if(a.length>0)return a;throw _.Kl("empty string is not an accepted value");});_.Yha=_.Vl(_.Ol(Date,"Date"),a=>{if(isNaN(a.getTime()))throw _.Kl("invalid date");return a});var zda=null,bm=class{constructor(){this.qh=new Set;this.rh=null}get experienceIds(){return new Set(this.qh)}set experienceIds(a){if(typeof a[Symbol.iterator]!=="function"||typeof a==="string")throw _.Kl("experienceIds must be set to an instance of Iterable.");for(let c of a)try{(0,_.tr)(c);a:{for(let d=0;d"\udfff");if(e>="\udc00"||d===c.length||!(c.charAt(d)>="\udc00"&&c.charAt(d)<"\ue000")){b= +!1;break a}}b=!0}if(!b)throw _.Kl("must be a well-formed UTF-16 string.");if([...c].length>64)throw _.Kl("must be 64 code points or shorter.");if(/[/:?#]/.test(c))throw _.Kl('must not contain any of the following ASCII characters: "/", ":", "?" or "#"');}catch(d){throw d.message=`Experience ID "${c}" ${d.message}`,d;}this.qh.clear();for(let c of a)this.qh.add(c)}get fetchAppCheckToken(){return this.rh==null?()=>Promise.resolve({token:""}):this.rh}set fetchAppCheckToken(a){_.P(window,228452);this.rh= +a}};bm.getInstance=Ada;_.zp={TOP_LEFT:1,TOP_CENTER:2,TOP:2,TOP_RIGHT:3,LEFT_CENTER:4,LEFT_TOP:5,LEFT:5,LEFT_BOTTOM:6,RIGHT_TOP:7,RIGHT:7,RIGHT_CENTER:8,RIGHT_BOTTOM:9,BOTTOM_LEFT:10,BOTTOM_CENTER:11,BOTTOM:11,BOTTOM_RIGHT:12,CENTER:13,BLOCK_START_INLINE_START:14,BLOCK_START_INLINE_CENTER:15,BLOCK_START_INLINE_END:16,INLINE_START_BLOCK_CENTER:17,INLINE_START_BLOCK_START:18,INLINE_START_BLOCK_END:19,INLINE_END_BLOCK_START:20,INLINE_END_BLOCK_CENTER:21,INLINE_END_BLOCK_END:22,BLOCK_END_INLINE_START:23,BLOCK_END_INLINE_CENTER:24, +BLOCK_END_INLINE_END:25,1:"TOP_LEFT",2:"TOP",3:"TOP_RIGHT",4:"LEFT_CENTER",5:"LEFT",6:"LEFT_BOTTOM",7:"RIGHT",8:"RIGHT_CENTER",9:"RIGHT_BOTTOM",10:"BOTTOM_LEFT",11:"BOTTOM",12:"BOTTOM_RIGHT",13:"CENTER",14:"BLOCK_START_INLINE_START",15:"BLOCK_START_INLINE_CENTER",16:"BLOCK_START_INLINE_END",17:"INLINE_START_BLOCK_CENTER",18:"INLINE_START_BLOCK_START",19:"INLINE_START_BLOCK_END",20:"INLINE_END_BLOCK_START",21:"INLINE_END_BLOCK_CENTER",22:"INLINE_END_BLOCK_END",23:"BLOCK_END_INLINE_START",24:"BLOCK_END_INLINE_CENTER", +25:"BLOCK_END_INLINE_END"};var Wfa={DEFAULT:0,SMALL:1,ANDROID:2,ZOOM_PAN:3,aS:4,bL:5,0:"DEFAULT",1:"SMALL",2:"ANDROID",3:"ZOOM_PAN",4:"ROTATE_ONLY",5:"TOUCH"};var Xfa={DEFAULT:0};var Yfa={DEFAULT:0,SMALL:1,LARGE:2,bL:3,0:"DEFAULT",1:"SMALL",2:"LARGE",3:"TOUCH"};var im=class{};var Zha={TR:"Point",GR:"LineString",POLYGON:"Polygon"};var Bda=_.Ml({lat:_.Yl,lng:_.Yl},!0),Dda=_.Ml({lat:_.mr,lng:_.mr},!0);_.cm.prototype.toString=function(){return"("+this.lat()+", "+this.lng()+")"};_.cm.prototype.toString=_.cm.prototype.toString;_.cm.prototype.toJSON=function(){return{lat:this.lat(),lng:this.lng()}};_.cm.prototype.toJSON=_.cm.prototype.toJSON;_.cm.prototype.equals=function(a){if(!a)return!1;var b=a instanceof _.cm?a.lat():a.lat;a=a instanceof _.cm?a.lng():a.lng;return typeof b!=="number"||typeof a!=="number"?!1:_.ol(this.lat(),b)&&_.ol(this.lng(),a)};_.cm.prototype.equals=_.cm.prototype.equals; +_.cm.prototype.equals=_.cm.prototype.equals;_.cm.prototype.toUrlValue=function(a){a=a!==void 0?a:6;return Cda(this.lat(),a)+","+Cda(this.lng(),a)};_.cm.prototype.toUrlValue=_.cm.prototype.toUrlValue;var gea;_.ur=_.Ql(_.gm);gea=_.Ql(_.hm);_.jm=class extends im{constructor(a){super();this.elements=_.gm(a)}getType(){return"Point"}forEachLatLng(a){a(this.elements)}get(){return this.elements}};_.jm.prototype.get=_.jm.prototype.get;_.jm.prototype.forEachLatLng=_.jm.prototype.forEachLatLng;_.jm.prototype.getType=_.jm.prototype.getType;_.jm.prototype.constructor=_.jm.prototype.constructor;var $ha=_.Ql(km);var Eda=new Set;var Gda,aia;Gda=new Set(["touchstart","touchmove","wheel","mousewheel"]);_.vr=class{constructor(){throw new TypeError("google.maps.event is not a constructor");}};_.vr.trigger=_.Hm;_.vr.addListenerOnce=_.Em; +_.vr.addDomListenerOnce=function(a,b,c,d){_.lm("google.maps.event.addDomListenerOnce() is deprecated, use the\nstandard addEventListener() method instead:\nhttps://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener\nThe feature will continue to work and there is no plan to decommission\nit.");return _.Cm(a,b,c,d)}; +_.vr.addDomListener=function(a,b,c,d){_.lm("google.maps.event.addDomListener() is deprecated, use the standard\naddEventListener() method instead:\nhttps://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener\nThe feature will continue to work and there is no plan to decommission\nit.");return _.Bm(a,b,c,d)};_.vr.clearInstanceListeners=_.Am;_.vr.clearListeners=_.zm;_.vr.removeListener=_.xm;_.vr.hasListeners=_.wm;_.vr.addListener=_.vm; +_.um=class{constructor(a,b,c,d,e=!0){this.oF=e;this.instance=a;this.qh=b;this.handler=c;this.rh=d;this.id=++aia;Ida(a,b)[this.id]=this;this.oF&&_.Hm(this.instance,`${this.qh}_added`)}remove(){if(this.instance){if(this.instance.removeEventListener&&(this.rh===1||this.rh===4)){let a={capture:this.rh===4};Gda.has(this.qh)&&(a.passive=!1);this.instance.removeEventListener(this.qh,this.handler,a)}delete Ida(this.instance,this.qh)[this.id];this.oF&&_.Hm(this.instance,`${this.qh}_removed`);this.handler= +this.instance=null}}};aia=0;_.Op=class{constructor(a){this.qh=null;this.Vk(a)}Vk(a){a=a||{};this.sh=a.id;try{this.qh=a.geometry?km(a.geometry):null}catch(b){_.Ll(b)}this.rh=a.properties||{}}getId(){return this.sh}getGeometry(){return this.qh}setGeometry(a){var b=this.qh;try{this.qh=a?km(a):null}catch(c){_.Ll(c);return}_.Hm(this,"setgeometry",{feature:this,newGeometry:this.qh,oldGeometry:b})}getProperty(a){return Al(this.rh,a)}setProperty(a,b){if(b===void 0)this.removeProperty(a);else{var c=this.getProperty(a);this.rh[a]=b;_.Hm(this, +"setproperty",{feature:this,name:a,newValue:b,oldValue:c})}}removeProperty(a){var b=this.getProperty(a);delete this.rh[a];_.Hm(this,"removeproperty",{feature:this,name:a,oldValue:b})}forEachProperty(a){for(let b in this.rh)a(this.getProperty(b),b)}toGeoJson(a){var b=this;_.Rk("data").then(c=>{c.KM(b,a)})}};_.Op.prototype.toGeoJson=_.Op.prototype.toGeoJson;_.Op.prototype.forEachProperty=_.Op.prototype.forEachProperty;_.Op.prototype.removeProperty=_.Op.prototype.removeProperty; +_.Op.prototype.setProperty=_.Op.prototype.setProperty;_.Op.prototype.getProperty=_.Op.prototype.getProperty;_.Op.prototype.setGeometry=_.Op.prototype.setGeometry;_.Op.prototype.getGeometry=_.Op.prototype.getGeometry;_.Op.prototype.getId=_.Op.prototype.getId;_.Op.prototype.constructor=_.Op.prototype.constructor;_.Gl(_.Op);var Nda=class{constructor(){this.features={};this.unregister={};this.qh={}}contains(a){return this.features.hasOwnProperty(_.Im(a))}getFeatureById(a){return Al(this.qh,a)}add(a){a=a||{};a=a instanceof _.Op?a:new _.Op(a);if(!this.contains(a)){let c=a.getId();if(c||c===0){var b=this.getFeatureById(c);b&&this.remove(b)}b=_.Im(a);this.features[b]=a;if(c||c===0)this.qh[c]=a;let d=_.Gm(a,"setgeometry",this),e=_.Gm(a,"setproperty",this),f=_.Gm(a,"removeproperty",this);this.unregister[b]=()=>{_.xm(d);_.xm(e); +_.xm(f)};_.Hm(this,"addfeature",{feature:a})}return a}remove(a){var b=_.Im(a),c=a.getId();if(this.features[b]){delete this.features[b];c&&delete this.qh[c];if(c=this.unregister[b])delete this.unregister[b],c();_.Hm(this,"removefeature",{feature:a})}}forEach(a){for(let b in this.features)this.features.hasOwnProperty(b)&&a(this.features[b])}};_.hn="click dblclick mousedown mousemove mouseout mouseover mouseup rightclick contextmenu".split(" ");var bia=class{constructor(){this.qh={}}trigger(a){_.Hm(this,"changed",a)}get(a){return this.qh[a]}set(a,b){var c=this.qh;c[a]||(c[a]={});_.ll(c[a],b);this.trigger(a)}reset(a){delete this.qh[a];this.trigger(a)}forEach(a){_.kl(this.qh,a)}};_.Jm.prototype.get=function(a){var b=Nm(this);a+="";b=Al(b,a);if(b!==void 0){if(b){a=b.gq;b=b.jw;let c="get"+_.Mm(a);return b[c]?b[c]():b.get(a)}return this[a]}};_.Jm.prototype.get=_.Jm.prototype.get;_.Jm.prototype.set=function(a,b){var c=Nm(this);a+="";var d=Al(c,a);if(d)if(a=d.gq,d=d.jw,c="set"+_.Mm(a),d[c])d[c](b);else d.set(a,b);else this[a]=b,c[a]=null,Lm(this,a)};_.Jm.prototype.set=_.Jm.prototype.set; +_.Jm.prototype.notify=function(a){var b=Nm(this);a+="";(b=Al(b,a))?b.jw.notify(b.gq):Lm(this,a)};_.Jm.prototype.notify=_.Jm.prototype.notify;_.Jm.prototype.setValues=function(a){for(let b in a){let c=a[b],d="set"+_.Mm(b);if(this[d])this[d](c);else this.set(b,c)}};_.Jm.prototype.setValues=_.Jm.prototype.setValues;_.Jm.prototype.setOptions=_.Jm.prototype.setValues;_.Jm.prototype.changed=function(){};var Jda={}; +_.Jm.prototype.bindTo=function(a,b,c,d){a+="";c=(c||a)+"";this.unbind(a);var e={jw:this,gq:a},f={jw:b,gq:c,AG:e};Nm(this)[a]=f;Km(b,c)[_.Im(e)]=e;d||Lm(this,a)};_.Jm.prototype.bindTo=_.Jm.prototype.bindTo;_.Jm.prototype.unbind=function(a){var b=Nm(this),c=b[a];c&&(c.AG&&delete Km(c.jw,c.gq)[_.Im(c.AG)],this[a]=this.get(a),b[a]=null)};_.Jm.prototype.unbind=_.Jm.prototype.unbind;_.Jm.prototype.unbindAll=function(){var a=(0,_.mb)(this.unbind,this),b=Nm(this);for(let c in b)a(c)}; +_.Jm.prototype.unbindAll=_.Jm.prototype.unbindAll;_.Jm.prototype.addListener=function(a,b){return _.vm(this,a,b)};_.Jm.prototype.addListener=_.Jm.prototype.addListener;var Oda=class extends _.Jm{constructor(a){super();this.qh=new bia;_.Em(a,"addfeature",()=>{_.Rk("data").then(b=>{b.SL(this,a,this.qh)})})}overrideStyle(a,b){this.qh.set(_.Im(a),b)}revertStyle(a){a?this.qh.reset(_.Im(a)):this.qh.forEach(this.qh.reset.bind(this.qh))}};_.Tm=class extends im{constructor(a){super();this.elements=[];try{this.elements=$ha(a)}catch(b){_.Ll(b)}}getType(){return"GeometryCollection"}getLength(){return this.elements.length}getAt(a){return this.elements[a]}getArray(){return this.elements.slice()}forEachLatLng(a){this.elements.forEach(b=>{b.forEachLatLng(a)})}};_.Tm.prototype.forEachLatLng=_.Tm.prototype.forEachLatLng;_.Tm.prototype.getArray=_.Tm.prototype.getArray;_.Tm.prototype.getAt=_.Tm.prototype.getAt;_.Tm.prototype.getLength=_.Tm.prototype.getLength; +_.Tm.prototype.getType=_.Tm.prototype.getType;_.Tm.prototype.constructor=_.Tm.prototype.constructor;_.Om=class extends im{constructor(a){super();this.qh=(0,_.ur)(a)}getType(){return"LineString"}getLength(){return this.qh.length}getAt(a){return this.qh[a]}getArray(){return this.qh.slice()}forEachLatLng(a){this.qh.forEach(a)}};_.Om.prototype.forEachLatLng=_.Om.prototype.forEachLatLng;_.Om.prototype.getArray=_.Om.prototype.getArray;_.Om.prototype.getAt=_.Om.prototype.getAt;_.Om.prototype.getLength=_.Om.prototype.getLength;_.Om.prototype.getType=_.Om.prototype.getType;_.Om.prototype.constructor=_.Om.prototype.constructor; +var cia=_.Ql(_.Ol(_.Om,"google.maps.Data.LineString",!0));_.Um=class extends im{constructor(a){super();this.qh=(0,_.ur)(a)}getType(){return"LinearRing"}getLength(){return this.qh.length}getAt(a){return this.qh[a]}getArray(){return this.qh.slice()}forEachLatLng(a){this.qh.forEach(a)}};_.Um.prototype.forEachLatLng=_.Um.prototype.forEachLatLng;_.Um.prototype.getArray=_.Um.prototype.getArray;_.Um.prototype.getAt=_.Um.prototype.getAt;_.Um.prototype.getLength=_.Um.prototype.getLength;_.Um.prototype.getType=_.Um.prototype.getType;_.Um.prototype.constructor=_.Um.prototype.constructor; +var dia=_.Ql(_.Ol(_.Um,"google.maps.Data.LinearRing",!0));_.Rm=class extends im{constructor(a){super();this.qh=cia(a)}getType(){return"MultiLineString"}getLength(){return this.qh.length}getAt(a){return this.qh[a]}getArray(){return this.qh.slice()}forEachLatLng(a){this.qh.forEach(b=>{b.forEachLatLng(a)})}};_.Rm.prototype.forEachLatLng=_.Rm.prototype.forEachLatLng;_.Rm.prototype.getArray=_.Rm.prototype.getArray;_.Rm.prototype.getAt=_.Rm.prototype.getAt;_.Rm.prototype.getLength=_.Rm.prototype.getLength;_.Rm.prototype.getType=_.Rm.prototype.getType;_.Qm=class extends im{constructor(a){super();this.qh=(0,_.ur)(a)}getType(){return"MultiPoint"}getLength(){return this.qh.length}getAt(a){return this.qh[a]}getArray(){return this.qh.slice()}forEachLatLng(a){this.qh.forEach(a)}};_.Qm.prototype.forEachLatLng=_.Qm.prototype.forEachLatLng;_.Qm.prototype.getArray=_.Qm.prototype.getArray;_.Qm.prototype.getAt=_.Qm.prototype.getAt;_.Qm.prototype.getLength=_.Qm.prototype.getLength;_.Qm.prototype.getType=_.Qm.prototype.getType;_.Qm.prototype.constructor=_.Qm.prototype.constructor;_.Pm=class extends im{constructor(a){super();this.qh=dia(a)}getType(){return"Polygon"}getLength(){return this.qh.length}getAt(a){return this.qh[a]}getArray(){return this.qh.slice()}forEachLatLng(a){this.qh.forEach(b=>{b.forEachLatLng(a)})}};_.Pm.prototype.forEachLatLng=_.Pm.prototype.forEachLatLng;_.Pm.prototype.getArray=_.Pm.prototype.getArray;_.Pm.prototype.getAt=_.Pm.prototype.getAt;_.Pm.prototype.getLength=_.Pm.prototype.getLength;_.Pm.prototype.getType=_.Pm.prototype.getType; +var eia=_.Ql(_.Ol(_.Pm,"google.maps.Data.Polygon",!0));_.Sm=class extends im{constructor(a){super();this.qh=eia(a)}getType(){return"MultiPolygon"}getLength(){return this.qh.length}getAt(a){return this.qh[a]}getArray(){return this.qh.slice()}forEachLatLng(a){this.qh.forEach(b=>{b.forEachLatLng(a)})}};_.Sm.prototype.forEachLatLng=_.Sm.prototype.forEachLatLng;_.Sm.prototype.getArray=_.Sm.prototype.getArray;_.Sm.prototype.getAt=_.Sm.prototype.getAt;_.Sm.prototype.getLength=_.Sm.prototype.getLength;_.Sm.prototype.getType=_.Sm.prototype.getType; +_.Sm.prototype.constructor=_.Sm.prototype.constructor;var Lda="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split("");_.wp=new WeakMap;_.tb(_.Wm,_.Jm);_.Wm.prototype.Qr=_.fa(21);_.fia=_.Wm.DEMO_MAP_ID="DEMO_MAP_ID";var wr=class{constructor(a,b){a===-180&&b!==180&&(a=180);b===-180&&a!==180&&(b=180);this.lo=a;this.hi=b}isEmpty(){return this.lo-this.hi===360}intersects(a){var b=this.lo,c=this.hi;return this.isEmpty()||a.isEmpty()?!1:_.Zm(this)?_.Zm(a)||a.lo<=this.hi||a.hi>=b:_.Zm(a)?a.lo<=c||a.hi>=b:a.lo<=c&&a.hi>=b}contains(a){a===-180&&(a=180);var b=this.lo,c=this.hi;return _.Zm(this)?(a>=b||a<=c)&&!this.isEmpty():a>=b&&a<=c}extend(a){this.contains(a)||(this.isEmpty()?this.lo=this.hi=a:_.Ym(a,this.lo)<_.Ym(this.hi, +a)?this.lo=a:this.hi=a)}equals(a){return Math.abs(a.lo-this.lo)%360+Math.abs(a.span()-this.span())<=1E-9}span(){return this.isEmpty()?0:_.Zm(this)?360-(this.lo-this.hi):this.hi-this.lo}center(){var a=(this.lo+this.hi)/2;_.Zm(this)&&(a=_.nl(a+180,-180,180));return a}},gia=class{constructor(a,b){this.lo=a;this.hi=b}isEmpty(){return this.lo>this.hi}intersects(a){var b=this.lo,c=this.hi;return b<=a.lo?a.lo<=c&&a.lo<=a.hi:b<=a.hi&&b<=c}contains(a){return a>=this.lo&&a<=this.hi}extend(a){this.isEmpty()? +this.hi=this.lo=a:athis.hi&&(this.hi=a)}equals(a){return this.isEmpty()?a.isEmpty():Math.abs(a.lo-this.lo)+Math.abs(this.hi-a.hi)<=1E-9}span(){return this.isEmpty()?0:this.hi-this.lo}center(){return(this.hi+this.lo)/2}};_.bn=class{constructor(a,b){this.Vk(a,b)}Vk(a,b){var c;if((c=a)&&typeof c==="object"&&"south"in c&&"west"in c&&"north"in c&&"east"in c)try{a=_.dn(a)}catch(d){}a instanceof _.bn?(c=a.getSouthWest(),b=a.getNorthEast()):(c=a&&_.gm(a),b=b&&_.gm(b));if(c){b=b||c;a=_.ml(c.lat(),-90,90);let d=_.ml(b.lat(),-90,90);this.lat=new gia(a,d);c=c.lng();b=b.lng();b-c>=360?this.lng=new wr(-180,180):(c=_.nl(c,-180,180),b=_.nl(b,-180,180),this.lng=new wr(c,b))}else this.lat=new gia(1,-1),this.lng=new wr(180,-180)}getCenter(){return new _.cm(this.lat.center(), +this.lng.center())}toString(){return`(${this.getSouthWest().toString()}, ${this.getNorthEast().toString()})`}toJSON(){return{south:this.lat.lo,west:this.lng.lo,north:this.lat.hi,east:this.lng.hi}}toUrlValue(a){var b=this.getSouthWest(),c=this.getNorthEast();return[b.toUrlValue(a),c.toUrlValue(a)].join()}equals(a){if(!a)return!1;a=_.dn(a);return this.lat.equals(a.lat)&&this.lng.equals(a.lng)}contains(a){a=_.gm(a);return this.lat.contains(a.lat())&&this.lng.contains(a.lng())}intersects(a){a=_.dn(a); +return this.lat.intersects(a.lat)&&this.lng.intersects(a.lng)}containsBounds(a){a=_.dn(a);var b=this.lat,c=a.lat;return(c.isEmpty()?!0:c.lo>=b.lo&&c.hi<=b.hi)&&an(this.lng,a.lng)}extend(a){a=_.gm(a);this.lat.extend(a.lat());this.lng.extend(a.lng());return this}union(a){a=_.dn(a);if(!a||a.isEmpty())return this;this.lat.extend(a.getSouthWest().lat());this.lat.extend(a.getNorthEast().lat());a=a.lng;var b=_.Ym(this.lng.lo,a.hi),c=_.Ym(a.lo,this.lng.hi);if(an(this.lng,a))return this;if(an(a,this.lng))return this.lng= +new wr(a.lo,a.hi),this;this.lng.intersects(a)?this.lng=b>=c?new wr(this.lng.lo,a.hi):new wr(a.lo,this.lng.hi):this.lng=b<=c?new wr(this.lng.lo,a.hi):new wr(a.lo,this.lng.hi);return this}getSouthWest(){return new _.cm(this.lat.lo,this.lng.lo,!0)}getNorthEast(){return new _.cm(this.lat.hi,this.lng.hi,!0)}toSpan(){return new _.cm(this.lat.span(),this.lng.span(),!0)}isEmpty(){return this.lat.isEmpty()||this.lng.isEmpty()}};_.bn.prototype.isEmpty=_.bn.prototype.isEmpty;_.bn.prototype.toSpan=_.bn.prototype.toSpan; +_.bn.prototype.getNorthEast=_.bn.prototype.getNorthEast;_.bn.prototype.getSouthWest=_.bn.prototype.getSouthWest;_.bn.prototype.union=_.ma(_.bn.prototype,"union");_.bn.prototype.extend=_.bn.prototype.extend;_.bn.prototype.intersects=_.bn.prototype.intersects;_.bn.prototype.contains=_.bn.prototype.contains;_.bn.prototype.equals=_.bn.prototype.equals;_.bn.prototype.toUrlValue=_.bn.prototype.toUrlValue;_.bn.prototype.toJSON=_.bn.prototype.toJSON;_.bn.prototype.toString=_.bn.prototype.toString; +_.bn.prototype.getCenter=_.bn.prototype.getCenter;var hia=_.cn(-90,-180,90,180);_.ob("module$exports$google3$maps$api$javascript$geometry$lat_lng_bounds.LatLngBounds.MAX_BOUNDS",hia);_.bn.prototype.equals=_.bn.prototype.equals;_.Gl(_.bn);var Mda=_.Ml({south:_.Yl,west:_.Yl,north:_.Yl,east:_.Yl},!1);_.bn.MAX_BOUNDS=hia;_.iia=_.Ol(_.bn,"LatLngBounds");_.xr=_.Wl(_.Ol(_.Wm,"Map"));_.tb(jn,_.Jm);jn.prototype.contains=function(a){return this.qh.contains(a)};jn.prototype.contains=jn.prototype.contains;jn.prototype.getFeatureById=function(a){return this.qh.getFeatureById(a)};jn.prototype.getFeatureById=jn.prototype.getFeatureById;jn.prototype.add=function(a){return this.qh.add(a)};jn.prototype.add=jn.prototype.add;jn.prototype.remove=function(a){this.qh.remove(a)};jn.prototype.remove=jn.prototype.remove;jn.prototype.forEach=function(a){this.qh.forEach(a)}; +jn.prototype.forEach=jn.prototype.forEach;jn.prototype.addGeoJson=function(a,b){return _.Kda(this.qh,a,b)};jn.prototype.addGeoJson=jn.prototype.addGeoJson;jn.prototype.loadGeoJson=function(a,b,c){var d=this.qh;_.Rk("data").then(e=>{e.NM(d,a,b,c)})};jn.prototype.loadGeoJson=jn.prototype.loadGeoJson;jn.prototype.toGeoJson=function(a){var b=this.qh;_.Rk("data").then(c=>{c.JM(b,a)})};jn.prototype.toGeoJson=jn.prototype.toGeoJson;jn.prototype.overrideStyle=function(a,b){this.rh.overrideStyle(a,b)}; +jn.prototype.overrideStyle=jn.prototype.overrideStyle;jn.prototype.revertStyle=function(a){this.rh.revertStyle(a)};jn.prototype.revertStyle=jn.prototype.revertStyle;jn.prototype.controls_changed=function(){this.get("controls")&&Pda(this)};jn.prototype.drawingMode_changed=function(){this.get("drawingMode")&&Pda(this)};_.gn(jn.prototype,{map:_.xr,style:_.bl,controls:_.Wl(_.Ql(_.Pl(Zha))),controlPosition:_.Wl(_.Pl(_.zp)),drawingMode:_.Wl(_.Pl(Zha))});_.Np={METRIC:0,IMPERIAL:1,0:"METRIC",1:"IMPERIAL"};_.jia={METRIC:0,IMPERIAL:1};_.Mp={DRIVING:"DRIVING",WALKING:"WALKING",BICYCLING:"BICYCLING",TRANSIT:"TRANSIT",TWO_WHEELER:"TWO_WHEELER"};_.yr=class{constructor(){console.warn("google.maps.DirectionsService is deprecated as of February 25th, 2026. Please use google.maps.routes.Route.computeRoutes instead. At this time, google.maps.DirectionsService is not scheduled to be discontinued, but google.maps.routes.Route.computeRoutes is recommended over google.maps.DirectionsService.route. While google.maps.DirectionsService will continue to receive bug fixes for any major regressions, existing bugs in google.maps.DirectionsService will not be addressed. At least 12 months notice will be given before support is discontinued. Please see https://developers.google.com/maps/legacy for additional details and https://developers.google.com/maps/documentation/javascript/routes/routes-js-migration for the migration guide."); +this.Vk()}Vk(){}route(a,b){var c=void 0;kia()||(c=_.Xk(158094));_.P(window,154342);var d=_.Rk("directions").then(e=>e.route(a,b,!0,c),()=>{c&&_.Yk(c,8)});b&&d.catch(()=>{});return d}};_.yr.prototype.route=_.yr.prototype.route;_.yr.prototype.constructor=_.yr.prototype.constructor;var kia=_.$k();_.Gl(_.yr);_.lia={OK:"OK",UNKNOWN_ERROR:"UNKNOWN_ERROR",OVER_QUERY_LIMIT:"OVER_QUERY_LIMIT",REQUEST_DENIED:"REQUEST_DENIED",INVALID_REQUEST:"INVALID_REQUEST",ZERO_RESULTS:"ZERO_RESULTS",MAX_WAYPOINTS_EXCEEDED:"MAX_WAYPOINTS_EXCEEDED",NOT_FOUND:"NOT_FOUND"};_.zr={BEST_GUESS:"bestguess",OPTIMISTIC:"optimistic",PESSIMISTIC:"pessimistic"};_.Ar={BUS:"BUS",RAIL:"RAIL",SUBWAY:"SUBWAY",TRAIN:"TRAIN",TRAM:"TRAM",LIGHT_RAIL:"LIGHT_RAIL"};_.Br={LESS_WALKING:"LESS_WALKING",FEWER_TRANSFERS:"FEWER_TRANSFERS"};_.mia={RAIL:"RAIL",METRO_RAIL:"METRO_RAIL",SUBWAY:"SUBWAY",TRAM:"TRAM",MONORAIL:"MONORAIL",HEAVY_RAIL:"HEAVY_RAIL",COMMUTER_TRAIN:"COMMUTER_TRAIN",HIGH_SPEED_TRAIN:"HIGH_SPEED_TRAIN",BUS:"BUS",INTERCITY_BUS:"INTERCITY_BUS",TROLLEYBUS:"TROLLEYBUS",SHARE_TAXI:"SHARE_TAXI",FERRY:"FERRY",CABLE_CAR:"CABLE_CAR",GONDOLA_LIFT:"GONDOLA_LIFT",FUNICULAR:"FUNICULAR",OTHER:"OTHER"};_.mn=[];_.tb(_.on,_.Jm);_.on.prototype.changed=function(a){a!="map"&&a!="panel"||_.Rk("directions").then(b=>{b.QN(this,a)});a=="panel"&&_.nn(this.getPanel())};_.gn(_.on.prototype,{directions:function(a){return _.Ml({routes:_.Ql(_.Sl(_.ql))},!0)(a)},map:_.xr,panel:_.Wl(_.Sl(_.Nl)),routeIndex:_.qr});_.nia={OK:"OK",NOT_FOUND:"NOT_FOUND",ZERO_RESULTS:"ZERO_RESULTS"};_.Cr=class{constructor(){console.warn("google.maps.DistanceMatrix is deprecated as of February 25th, 2026. Please use google.maps.routes.RouteMatrix.computeRouteMatrix instead. At this time, google.maps.DistanceMatrix is not scheduled to be discontinued, but google.maps.routes.RouteMatrix.computeRouteMatrix is recommended over google.maps.DistanceMatrix.getDistanceMatrix. While google.maps.DistanceMatrix will continue to receive bug fixes for any major regressions, existing bugs in google.maps.DistanceMatrix will not be addressed. At least 12 months notice will be given before support is discontinued. Please see https://developers.google.com/maps/legacy for additional details and https://developers.google.com/maps/documentation/javascript/routes/route-matrix-js-migration for the migration guide."); +this.Vk()}Vk(){}getDistanceMatrix(a,b){_.P(window,154344);var c=_.Rk("distance_matrix").then(d=>d.getDistanceMatrix(a,b));b&&c.catch(()=>{});return c}};_.Cr.prototype.getDistanceMatrix=_.Cr.prototype.getDistanceMatrix;_.Cr.prototype.constructor=_.Cr.prototype.constructor;_.Gl(_.Cr);_.oia={OK:"OK",INVALID_REQUEST:"INVALID_REQUEST",OVER_QUERY_LIMIT:"OVER_QUERY_LIMIT",REQUEST_DENIED:"REQUEST_DENIED",UNKNOWN_ERROR:"UNKNOWN_ERROR",MAX_ELEMENTS_EXCEEDED:"MAX_ELEMENTS_EXCEEDED",MAX_DIMENSIONS_EXCEEDED:"MAX_DIMENSIONS_EXCEEDED"};_.Dr=class{getElevationAlongPath(a,b){return Qda(a,b)}getElevationForLocations(a,b){return Rda(a,b)}};_.Dr.prototype.getElevationForLocations=_.Dr.prototype.getElevationForLocations;_.Dr.prototype.getElevationAlongPath=_.Dr.prototype.getElevationAlongPath;_.Dr.prototype.constructor=_.Dr.prototype.constructor;_.pia={OK:"OK",UNKNOWN_ERROR:"UNKNOWN_ERROR",OVER_QUERY_LIMIT:"OVER_QUERY_LIMIT",REQUEST_DENIED:"REQUEST_DENIED",INVALID_REQUEST:"INVALID_REQUEST",YQ:"DATA_NOT_AVAILABLE"};var Er=class{constructor(){_.Rk("geocoder")}geocode(a,b){_.P(window,155468);return Tda(a,b)}};Er.prototype.geocode=Er.prototype.geocode;Er.prototype.constructor=Er.prototype.constructor;var Sda=_.$k();_.qia={ROOFTOP:"ROOFTOP",RANGE_INTERPOLATED:"RANGE_INTERPOLATED",GEOMETRIC_CENTER:"GEOMETRIC_CENTER",APPROXIMATE:"APPROXIMATE"};_.Wn=class{constructor(a,b=!1){var c=f=>$l("LatLngAltitude","lat",()=>(0,_.mr)(f)),d=typeof a.lat==="function"?a.lat():a.lat;c=d&&b?c(d):_.ml(c(d),-90,90);d=f=>$l("LatLngAltitude","lng",()=>(0,_.mr)(f));var e=typeof a.lng==="function"?a.lng():a.lng;b=e&&b?d(e):_.nl(d(e),-180,180);d=f=>$l("LatLngAltitude","altitude",()=>(0,_.qr)(f));a=a.altitude!==void 0?d(a.altitude)||0:0;this.OD=c;this.PD=b;this.ND=a}get lat(){return this.OD}get lng(){return this.PD}get altitude(){return this.ND}equals(a){return a? +_.ol(this.OD,a.lat)&&_.ol(this.PD,a.lng)&&_.ol(this.ND,a.altitude):!1}toJSON(){return{lat:this.OD,lng:this.PD,altitude:this.ND}}};_.Wn.fromProto=function(a){return new _.Wn({lat:a.rh(),lng:a.th()})};_.Wn.prototype.toJSON=_.Wn.prototype.toJSON;_.Wn.prototype.equals=_.Wn.prototype.equals;_.Wn.prototype.constructor=_.Wn.prototype.constructor;Object.defineProperties(_.Wn.prototype,{lat:{enumerable:!0},lng:{enumerable:!0},altitude:{enumerable:!0}});_.ria=_.Ml({heading:_.Wl(_.mr),tilt:_.Wl(_.mr),roll:_.Wl(_.mr)},!1);_.Fr=class{constructor(a){var b=(c,d)=>$l("Orientation3D",c,()=>(0,_.mr)(d));this.qh=a.heading!=null?_.nl(b("heading",a.heading),0,360):0;this.rh=a.tilt!=null?_.nl(b("tilt",a.tilt),0,360):0;this.sh=a.roll!=null?_.nl(b("roll",a.roll),0,360):0;a instanceof _.Fr||am(a,this,"Orientation3D")}get heading(){return this.qh}get tilt(){return this.rh}get roll(){return this.sh}equals(a){if(!a)return!1;var b=a;if(b instanceof _.Fr)a=b;else try{b=(0,_.ria)(b),a=new _.Fr(b)}catch(c){throw _.Kl("not an Orientation3D or Orientation3DLiteral", +c);}return _.ol(this.heading,a.heading)&&_.ol(this.tilt,a.tilt)&&_.ol(this.roll,a.roll)}toJSON(){return{heading:this.heading,tilt:this.tilt,roll:this.roll}}};_.Fr.prototype.toJSON=_.Fr.prototype.toJSON;_.Fr.prototype.equals=_.Fr.prototype.equals;_.Fr.prototype.constructor=_.Fr.prototype.constructor;Object.defineProperties(_.Fr.prototype,{heading:{enumerable:!0},tilt:{enumerable:!0},roll:{enumerable:!0}});_.pn=class{constructor(a,b){this.x=a;this.y=b}toString(){return`(${this.x}, ${this.y})`}equals(a){return a?a.x==this.x&&a.y==this.y:!1}round(){this.x=Math.round(this.x);this.y=Math.round(this.y)}};_.pn.prototype.sB=_.fa(22);_.pn.prototype.equals=_.pn.prototype.equals;_.pn.prototype.toString=_.pn.prototype.toString;_.Cn=new _.pn(0,0);_.pn.prototype.equals=_.pn.prototype.equals;_.tn=class{constructor(a,b,c,d){this.Vk(a,b,c,d)}Vk(a,b,c,d){this.width=a;this.height=b;this.rh=c;this.qh=d}toString(){return`(${this.width}, ${this.height})`}equals(a){return a?a.width===this.width&&a.height===this.height:!1}};_.tn.prototype.equals=_.tn.prototype.equals;_.tn.prototype.toString=_.tn.prototype.toString;_.tn.prototype.constructor=_.tn.prototype.constructor;_.Dn=new _.tn(0,0);_.Gl(_.tn);_.sia=_.Ml({x:_.mr,y:_.mr,z:_.mr},!1);_.Gr=class{constructor(a){var b=(c,d)=>$l("Vector3D",c,()=>(0,_.mr)(d));this.qh=b("x",a.x);this.rh=b("y",a.y);this.sh=b("z",a.z);a instanceof _.Gr||am(a,this,"Vector3D")}get x(){return this.qh}get y(){return this.rh}get z(){return this.sh}equals(a){if(!a)return!1;if(!(a instanceof _.Gr))try{let b=(0,_.sia)(a);a=new _.Gr(b)}catch(b){throw _.Kl("not a Vector3D or Vector3DLiteral",b);}return _.ol(this.qh,a.x)&&_.ol(this.rh,a.y)&&_.ol(this.sh,a.z)}toJSON(){return{x:this.x,y:this.y,z:this.z}}}; +_.Gr.prototype.toJSON=_.Gr.prototype.toJSON;_.Gr.prototype.equals=_.Gr.prototype.equals;_.Gr.prototype.constructor=_.Gr.prototype.constructor;Object.defineProperties(_.Gr.prototype,{x:{enumerable:!0},y:{enumerable:!0},z:{enumerable:!0}});var tia=_.Tl(wn,"not a valid InfoWindow anchor");_.Hr={REQUIRED:"REQUIRED",REQUIRED_AND_HIDES_OPTIONAL:"REQUIRED_AND_HIDES_OPTIONAL",OPTIONAL_AND_HIDES_LOWER_PRIORITY:"OPTIONAL_AND_HIDES_LOWER_PRIORITY"};var uia={CIRCLE:0,FORWARD_CLOSED_ARROW:1,FORWARD_OPEN_ARROW:2,BACKWARD_CLOSED_ARROW:3,BACKWARD_OPEN_ARROW:4,0:"CIRCLE",1:"FORWARD_CLOSED_ARROW",2:"FORWARD_OPEN_ARROW",3:"BACKWARD_CLOSED_ARROW",4:"BACKWARD_OPEN_ARROW"};var Ir=class extends _.Jm{constructor(a){super();this.Vk(a)}Vk(a){a=a||{};a.clickable=_.rl(a.clickable,!0);a.visible=_.rl(a.visible,!0);this.setValues(a);_.Rk("marker")}}; +_.gn(Ir.prototype,{position:_.Wl(_.gm),title:_.rr,icon:_.Wl(_.Ul([_.oq,_.Sl(a=>a instanceof HTMLElement&&a.localName==="gmp-pin","should be a PinView"),{jC:_.Xl("url"),then:_.Ml({url:_.oq,scaledSize:_.Wl(vn),size:_.Wl(vn),origin:_.Wl(qn),anchor:_.Wl(qn),labelOrigin:_.Wl(qn),path:_.Sl(a=>a==null)},!0)},{jC:_.Xl("path"),then:_.Ml({path:_.Ul([_.oq,_.Pl(uia)]),anchor:_.Wl(qn),labelOrigin:_.Wl(qn),fillColor:_.rr,fillOpacity:_.qr,rotation:_.qr,scale:_.qr,strokeColor:_.rr,strokeOpacity:_.qr,strokeWeight:_.qr, +url:_.Sl(a=>a==null)},!0)}])),label:_.Wl(_.Ul([_.oq,{jC:_.Xl("text"),then:_.Ml({text:_.oq,fontSize:_.rr,fontWeight:_.rr,fontFamily:_.rr,className:_.rr},!0)}])),shadow:_.bl,shape:_.bl,cursor:_.rr,clickable:_.sr,animation:_.bl,draggable:_.sr,visible:_.sr,flat:_.bl,zIndex:_.qr,opacity:_.qr,place:_.Wl(_.Vl(_.Ml({placeId:_.rr,query:_.rr,location:_.gm}),function(a){if(a.placeId&&a.query)throw _.Kl("cannot set both placeId and query");if(!a.placeId&&!a.query)throw _.Kl("must set one of placeId or query"); +return a})),attribution:_.Wl(_.Ml({source:_.oq,webUrl:_.rr,iosDeepLinkId:_.rr}))});_.Gl(Ir);var via=class{constructor(a,b){this.sh=a;this.th=b;this.rh=0;this.qh=null}get(){if(this.rh>0){this.rh--;var a=this.qh;this.qh=a.next;a.next=null}else a=this.sh();return a}};var wia=class{constructor(){this.rh=this.qh=null}add(a,b){var c=Wda.get();c.set(a,b);this.rh?this.rh.next=c:this.qh=c;this.rh=c}remove(){var a=null;this.qh&&(a=this.qh,this.qh=this.qh.next,this.qh||(this.rh=null),a.next=null);return a}},Wda=new via(()=>new xia,a=>a.reset()),xia=class{constructor(){this.next=this.scope=this.Qv=null}set(a,b){this.Qv=a;this.scope=b;this.next=null}reset(){this.next=this.scope=this.Qv=null}};var Jr,xn,Vda,yia;xn=!1;Vda=new wia;_.Fo=(a,b)=>{Jr||yia();xn||(Jr(),xn=!0);Vda.add(a,b)};yia=()=>{var a=Promise.resolve(void 0);Jr=()=>{a.then(Xda)}};var zia; +_.Aia=class{constructor(a){this.bi=[];this.ds=a&&a.ds?a.ds:()=>{};this.ot=a&&a.ot?a.ot:()=>{}}addListener(a,b){Zda(this,a,b,!1)}addListenerOnce(a,b){Zda(this,a,b,!0)}removeListener(a,b){this.bi.length&&((a=this.bi.find(Yda(a,b)))&&this.bi.splice(this.bi.indexOf(a),1),this.bi.length||this.ds())}pu(a,b){var c=this.bi.slice(0),d=()=>{for(let e of c)a(f=>{if(e.once){if(e.once.FG)return;e.once.FG=!0;this.bi.splice(this.bi.indexOf(e),1);this.bi.length||this.ds()}e.Qv.call(e.context,f)})};b&&b.sync?d(): +(zia||_.Fo)(d)}};zia=null;_.Bia=class{constructor(){this.bi=new _.Aia({ds:()=>{this.ds()},ot:()=>{this.ot()}})}ot(){}ds(){}addListener(a,b){this.bi.addListener(a,b)}addListenerOnce(a,b){this.bi.addListenerOnce(a,b)}removeListener(a,b){this.bi.removeListener(a,b)}notify(a){this.bi.pu(b=>{b(this.get())},a)}};_.Cia=class extends _.Bia{constructor(a=!1){super();this.sh=a}set(a){this.sh&&this.get()===a||(this.rh(a),this.notify())}};_.yn=class extends _.Cia{constructor(a,b){super(b);this.value=a}get(){return this.value}rh(a){this.value=a}};_.tb(_.An,_.Jm);var Kr=_.Wl(_.Ol(_.An,"StreetViewPanorama"));var Dia;Dia=!1; +_.Lr=class extends Ir{getMap(){return this.get("map")}setMap(a){this.set("map",a)}setOptions(a){this.setValues(a)}constructor(a){super(a);this.Vk(a)}Vk(a){var b=a?a.internalMarker:!1;Dia||b||(Dia=!0,console.warn("As of February 21st, 2024, google.maps.Marker is deprecated. Please use google.maps.marker.AdvancedMarkerElement instead. At this time, google.maps.Marker is not scheduled to be discontinued, but google.maps.marker.AdvancedMarkerElement is recommended over google.maps.Marker. While google.maps.Marker will continue to receive bug fixes for any major regressions, existing bugs in google.maps.Marker will not be addressed. At least 12 months notice will be given before support is discontinued. Please see https://developers.google.com/maps/deprecations for additional details and https://developers.google.com/maps/documentation/javascript/advanced-markers/migration for the migration guide."));$da(this); +Ir.call(this,a)}map_changed(){$da(this);var a=this.get("map");a=a&&a.__gm.markers;this.__gm&&this.__gm.set===a||(this.__gm&&this.__gm.set&&this.__gm.set.remove(this),(this.__gm.set=a)&&_.Ko(a,this))}};_.Lr.prototype.constructor=_.Lr.prototype.constructor;_.Lr.prototype.setOptions=_.Lr.prototype.setOptions;_.Lr.prototype.setMap=_.Lr.prototype.setMap;_.Lr.prototype.getMap=_.Lr.prototype.getMap;_.Lr.MAX_ZINDEX=1E6;_.ob("module$exports$google3$maps$api$javascript$marker$marker.Marker.MAX_ZINDEX",_.Lr.MAX_ZINDEX); +_.gn(_.Lr.prototype,{map:_.Ul([_.xr,Kr])});_.Gl(_.Lr);var Eia=class extends _.Jm{constructor(a,b){super();this.infoWindow=a;this.Zs=b;this.infoWindow.addListener("map_changed",()=>{var c=this.get("internalAnchor"),d=En(c);wn(c)&&d&&d.set("isOpen",!!this.infoWindow.get("map"));!this.infoWindow.get("map")&&d&&d.get("map")&&this.set("internalAnchor",null)});this.bindTo("pendingFocus",this.infoWindow);this.bindTo("map",this.infoWindow);this.bindTo("disableAutoPan",this.infoWindow);this.bindTo("headerDisabled",this.infoWindow);this.bindTo("maxWidth",this.infoWindow); +this.bindTo("minWidth",this.infoWindow);this.bindTo("position",this.infoWindow);this.bindTo("zIndex",this.infoWindow);this.bindTo("ariaLabel",this.infoWindow);this.bindTo("internalAnchor",this.infoWindow,"anchor");this.bindTo("internalHeaderContent",this.infoWindow,"headerContent");this.bindTo("internalContent",this.infoWindow,"content");this.bindTo("internalPixelOffset",this.infoWindow,"pixelOffset");this.bindTo("shouldFocus",this.infoWindow)}internalAnchor_changed(){var a=En(this.get("internalAnchor")); +Bn(this,"attribution",a);Bn(this,"place",a);Bn(this,"pixelPosition",a);Bn(this,"internalAnchorMap",a,"map",!0);this.internalAnchorMap_changed(!0);Bn(this,"internalAnchorPoint",a,"anchorPoint");a instanceof _.Lr?Bn(this,"internalAnchorPosition",a,"internalPosition"):Bn(this,"internalAnchorPosition",a,"position")}internalAnchorPoint_changed(){aea(this)}internalPixelOffset_changed(){aea(this)}internalAnchorPosition_changed(){var a=this.get("internalAnchorPosition");a&&this.set("position",a)}internalAnchorMap_changed(a= +!1){this.get("internalAnchor")&&(a||this.get("internalAnchorMap")!==this.infoWindow.get("map"))&&this.infoWindow.set("map",this.get("internalAnchorMap"))}internalHeaderContent_changed(){var a=this.get("internalHeaderContent");if(typeof a==="string"){let b=document.createElement("span");b.textContent=a;a=b}this.set("headerContent",a)}internalContent_changed(){var a=this.set,b;if(b=this.get("internalContent")){if(typeof b==="string"){var c=document.createElement("div");_.Ji(c,_.Nk(b))}else b.nodeType=== +Node.TEXT_NODE?(c=document.createElement("div"),c.appendChild(b)):c=b;b=c}else b=null;a.call(this,"content",b)}trigger(a){_.Hm(this.infoWindow,a)}close(){this.infoWindow.set("map",null)}};_.Mr=class extends _.Jm{setOptions(a){this.setValues(a)}setHeaderContent(a){this.set("headerContent",a)}getHeaderContent(){return this.get("headerContent")}setHeaderDisabled(a){this.set("headerDisabled",a)}getHeaderDisabled(){return this.get("headerDisabled")}setContent(a){this.set("content",a)}getContent(){return this.get("content")}setPosition(a){this.set("position",a)}getPosition(){return this.get("position")}setZIndex(a){this.set("zIndex",a)}getZIndex(){return this.get("zIndex")}setMap(a){this.set("map", +a)}getMap(){return this.get("map")}setAnchor(a){this.set("anchor",a)}getAnchor(){return this.get("anchor")}constructor(a){function b(){e||(e=!0,_.Rk("infowindow").then(f=>{f.wL(d)}))}super();window.setTimeout(()=>{_.Rk("infowindow")},100);a=a||{};var c=!!a.Zs;delete a.Zs;var d=new Eia(this,c),e=!1;_.Em(this,"anchor_changed",b);_.Em(this,"map_changed",b);this.setValues(a)}open(a,b){var c=b;b={};typeof a!=="object"||!a||a instanceof _.An||a instanceof _.Wm?(b.map=a,b.anchor=c):(b.map=a.map,b.shouldFocus= +a.shouldFocus,b.anchor=c||a.anchor);a=(a=En(b.anchor))&&a.get("map");a=a instanceof _.Wm||a instanceof _.An;b.map||a||console.warn("InfoWindow.open() was called without an associated Map or StreetViewPanorama instance.");var d={...b};a=d.map;b=d.anchor;c=this.set;{var e=d.map;let f=d.shouldFocus;e=typeof f==="boolean"?f:(e=(d=En(d.anchor))&&d.get("map")||e)?e.__gm.get("isInitialized"):!1}c.call(this,"shouldFocus",e);this.set("anchor",b);b?!this.get("map")&&a&&this.set("map",a):this.set("map",a)}get isOpen(){return!!this.get("map")}close(){this.set("map", +null)}focus(){this.get("map")&&!this.get("pendingFocus")&&this.set("pendingFocus",!0)}};_.Mr.prototype.focus=_.Mr.prototype.focus;_.Mr.prototype.close=_.Mr.prototype.close;_.Mr.prototype.open=_.Mr.prototype.open;_.Mr.prototype.constructor=_.Mr.prototype.constructor;_.Mr.prototype.getAnchor=_.Mr.prototype.getAnchor;_.Mr.prototype.setAnchor=_.Mr.prototype.setAnchor;_.Mr.prototype.getMap=_.Mr.prototype.getMap;_.Mr.prototype.setMap=_.Mr.prototype.setMap;_.Mr.prototype.getZIndex=_.Mr.prototype.getZIndex; +_.Mr.prototype.setZIndex=_.Mr.prototype.setZIndex;_.Mr.prototype.getPosition=_.Mr.prototype.getPosition;_.Mr.prototype.setPosition=_.Mr.prototype.setPosition;_.Mr.prototype.getContent=_.Mr.prototype.getContent;_.Mr.prototype.setContent=_.Mr.prototype.setContent;_.Mr.prototype.getHeaderDisabled=_.Mr.prototype.getHeaderDisabled;_.Mr.prototype.setHeaderDisabled=_.Mr.prototype.setHeaderDisabled;_.Mr.prototype.getHeaderContent=_.Mr.prototype.getHeaderContent;_.Mr.prototype.setHeaderContent=_.Mr.prototype.setHeaderContent; +_.Mr.prototype.setOptions=_.Mr.prototype.setOptions;_.gn(_.Mr.prototype,{headerContent:_.Ul([_.rr,_.Sl(_.Nl)]),headerDisabled:_.Wl(pr),content:_.Ul([_.rr,_.Sl(_.Nl)]),position:_.Wl(_.gm),size:_.Wl(vn),map:_.Ul([_.xr,Kr]),anchor:_.Wl(_.Ul([_.Ol(_.Jm,"MVCObject"),tia])),zIndex:_.qr});_.Nr=class extends _.Jm{getMap(){return this.get("map")}setMap(a){this.set("map",a)}getUrl(){return this.get("url")}getBounds(){return this.get("bounds")}setOptions(a){this.setValues(a)}getOpacity(){return this.get("opacity")}setOpacity(a){this.set("opacity",a)}constructor(a,b,c){super();this.Vk(a,b,c)}Vk(a,b,c){this.set("url",a);this.set("bounds",_.Wl(_.dn)(b));this.setValues(c)}map_changed(){_.Rk("kml").then(a=>{this.get("map")?this.get("map").__gm.Gh.then(()=>{a.qG(this)}):a.qG(this)})}}; +_.Nr.prototype.setOpacity=_.Nr.prototype.setOpacity;_.Nr.prototype.getOpacity=_.Nr.prototype.getOpacity;_.Nr.prototype.getBounds=_.Nr.prototype.getBounds;_.Nr.prototype.getUrl=_.Nr.prototype.getUrl;_.Nr.prototype.setMap=_.Nr.prototype.setMap;_.Nr.prototype.getMap=_.Nr.prototype.getMap;_.Gl(_.Nr);_.gn(_.Nr.prototype,{map:_.xr,url:null,bounds:null,opacity:_.qr});_.tb(Fn,_.Jm);Fn.prototype.xh=function(){_.Rk("kml").then(a=>{a.zL(this)})};Fn.prototype.url_changed=Fn.prototype.xh;Fn.prototype.map_changed=Fn.prototype.xh;Fn.prototype.zIndex_changed=Fn.prototype.xh;_.gn(Fn.prototype,{map:_.xr,defaultViewport:null,metadata:null,status:null,url:_.rr,screenOverlays:_.sr,zIndex:_.qr});_.Or=class extends _.Jm{getMap(){return this.get("map")}setMap(a){this.set("map",a)}constructor(){super();_.Rk("layers").then(a=>{a.vL(this)})}};_.Or.prototype.setMap=_.Or.prototype.setMap;_.Or.prototype.getMap=_.Or.prototype.getMap;_.gn(_.Or.prototype,{map:_.xr});var Pr=class extends _.Jm{setOptions(a){this.setValues(a)}getMap(){return this.get("map")}setMap(a){this.set("map",a)}constructor(a){super();this.setValues(a);_.Rk("layers").then(b=>{b.CL(this)})}};Pr.prototype.setMap=Pr.prototype.setMap;Pr.prototype.getMap=Pr.prototype.getMap;Pr.prototype.setOptions=Pr.prototype.setOptions;_.gn(Pr.prototype,{map:_.xr});var Qr=class extends _.Jm{getMap(){return this.get("map")}setMap(a){this.set("map",a)}constructor(){super();_.Rk("layers").then(a=>{a.DL(this)})}};Qr.prototype.setMap=Qr.prototype.setMap;Qr.prototype.getMap=Qr.prototype.getMap;_.gn(Qr.prototype,{map:_.xr});var In;_.Rr={Xj:a=>a?.split(/\s+/).filter(Boolean)??null,Hj:a=>a?.join(" ")??null};In=new Map;_.Ln=class{constructor(a){this.minY=this.minX=Infinity;this.maxY=this.maxX=-Infinity;(a||[]).forEach(b=>void this.extend(b))}isEmpty(){return!(this.minX=a.maxX&&this.minY<=a.minY&&this.maxY>=a.maxY}}; +_.Sr=_.Mn(-Infinity,-Infinity,Infinity,Infinity);_.Mn(0,0,0,0);_.tb(_.Rn,_.Jm);_.Rn.prototype.getAt=function(a){return this.qh[a]};_.Rn.prototype.getAt=_.Rn.prototype.getAt;_.Rn.prototype.indexOf=function(a){for(let b=0,c=this.qh.length;b{if(!b)return null;if(a.has(_.bn)&&b.includes("|")){a:if(b){try{let d=b.split("|");if(d.length<2)throw Error("too few points");if(d.length>2)throw Error("too many points");let [e,f]=d.map(_.Xn);var c=new _.bn(e,f);break a}catch(d){throw Error(`Could not interpret "${b}" as a LatLngBounds: `+(d instanceof Error?d.message:`${d}`));}c=void 0}else c=null;return c}if(a.has(_.Yn)&&b.includes("@"))return jea(b);if(a.has(_.Wn)||a.has(_.cm))return _.Xn(b);throw Error("Unsupported location bias/restriction type.");}}(new Set([_.cm, +_.Wn,_.bn,_.Yn]))),Hj:function(a){if(a instanceof _.Wn)var b=_.Zn(a);else a instanceof _.cm?b=ao(a):a instanceof _.bn?a?(b=a.getSouthWest(),a=a.getNorthEast(),b=`${ao(b)}|${ao(a)}`):b=null:b=a instanceof _.Yn?kea(a):null;return b}};_.Fia={Xj:Vn(jea),Hj:kea};_.Ur={Xj:Vn(function(a){return a?_.Xn(a):null}),Hj:_.Zn};_.Vr={Xj:Vn(function(a){return a?a.trim().replace(/\s*,\s*/g,",").split(/\s+/g).map(_.Xn):null}),Hj:_.$n}; +Gia={Xj:Vn(function(a){if(!a)return null;try{let b=a.split(",").map(Un);if(b.length<2)throw Error("too few values");if(b.length>2)throw Error("too many values");let [c,d]=b;return _.hm({lat:c,lng:d})}catch(b){throw Error(`Could not interpret "${a}" as a LatLng: `+(b instanceof Error?b.message:`${b}`));}}),Hj:ao};var co=void 0,bo=void 0;var Hia=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i,Wr=_.Bi(function(a,...b){if(b.length===0)return _.Ai(a[0]);var c=a[0];for(let d=0;da,Xr=a=>Hia.test(String(a))?a:Wr,Yr=()=>Wr,Zr=a=>a instanceof _.zi?_.Bi(a):Wr,oea=new Map([["A href",Xr],["AREA href",Xr],["BASE href",Yr],["BUTTON formaction",Xr],["EMBED src",Yr],["FORM action",Xr],["FRAME src",Yr],["IFRAME src",Zr],["IFRAME srcdoc", +a=>a instanceof Gi?_.Ii(a):_.Ii(nea)],["INPUT formaction",Xr],["LINK href",Zr],["OBJECT codebase",Yr],["OBJECT data",Yr],["SCRIPT href",Zr],["SCRIPT src",Zr],["SCRIPT text",Yr],["USE href",Zr]]);var $r,as,pea,Iia,Jia,bs,Kia,Lia,cs,ho,fo,ds,Mia,Nia,es,Oia,Pia,Qia,go,Ria,gs,hs,Wia,js,is,Sia,Tia,Uia,Via;$r=!_.Ua.ShadyDOM?.inUse||_.Ua.ShadyDOM?.noPatch!==!0&&_.Ua.ShadyDOM?.noPatch!=="on-demand"?a=>a:_.Ua.ShadyDOM.wrap;as=_.Ua.trustedTypes;pea=as?as.createPolicy("lit-html",{createHTML:a=>a}):void 0;Iia=a=>a;Jia=()=>Iia;bs=`lit$${Math.random().toFixed(9).slice(2)}$`;Kia="?"+bs;Lia=`<${Kia}>`;cs=_.Ua.document===void 0?{createTreeWalker(){return{}}}:document; +ho=a=>a===null||typeof a!="object"&&typeof a!="function"||!1;fo=Array.isArray;ds=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g;Mia=/--\x3e/g;Nia=/>/g;es=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g");Oia=/'/g;Pia=/"/g;Qia=/^(?:script|style|textarea|title)$/i;_.eq=(a,...b)=>({_$litType$:1,yl:a,values:b});go=Symbol.for?Symbol.for("lit-noChange"):Symbol("lit-noChange");_.fs=Symbol.for?Symbol.for("lit-nothing"):Symbol("lit-nothing"); +Ria=new WeakMap;gs=cs.createTreeWalker(cs,129); +hs=class{constructor({yl:a,_$litType$:b},c){this.ez=[];var d=0,e=0,f=a.length-1,g=this.ez,h=a.length-1,k=[],m=b===2?"":b===3?"":"",p,q=ds;for(let B=0;B"?(q=p??ds,O=-1):Q[1]===void 0?O=-2:(O=q.lastIndex-Q[2].length,A=Q[1], +q=Q[3]===void 0?es:Q[3]==='"'?Pia:Oia):q===Pia||q===Oia?q=es:q===Mia||q===Nia?q=ds:(q=es,p=void 0)}u=q===es&&a[B+1].startsWith("/>")?" ":"";m+=q===ds?K+Lia:O>=0?(k.push(A),K.slice(0,O)+"$lit$"+K.slice(O))+bs+u:K+bs+(O===-2?B:u)}a=[qea(a,m+(a[h]||"")+(b===2?"":b===3?"":"")),k];var [x,z]=a;this.el=hs.createElement(x,c);gs.currentNode=this.el.content;if(b===2||b===3)b=this.el.content.firstChild,b.replaceWith(...b.childNodes);for(;(b=gs.nextNode())!==null&&g.length0)){b.textContent=as?as.emptyScript:"";for(h=0;h2||c[0]!==""||c[1]!==""?(this.qk=Array(c.length-1).fill(new String),this.yl=c):this.qk=_.fs;this.zv=void 0}bu(a,b=this,c,d){var e=this.yl,f=!1;if(e===void 0){if(a=io(this,a,b,0),f=!ho(a)||a!==this.qk&&a!==go)this.qk=a}else{let g=a;a=e[0];let h,k;for(h=0;h{var d=c?.YE??b,e=d._$litPart$;e===void 0&&(e=c?.YE??null,d._$litPart$=e=new js(b.insertBefore(cs.createComment(""),e),e,void 0,c??{}));e.bu(a);return e};var ls,Xia,Yia,Zia,$ia;ls=_.Ua.ShadowRoot&&(_.Ua.ShadyCSS===void 0||_.Ua.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;Xia=Symbol();Yia=new WeakMap; +_.ms=class{constructor(a,b){this._$cssResult$=!0;if(Xia!==Xia)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=a;this.qh=b}get styleSheet(){var a=this.rh,b=this.qh;if(ls&&a===void 0){let c=b!==void 0&&b.length===1;c&&(a=Yia.get(b));a===void 0&&((this.rh=a=new CSSStyleSheet).replaceSync(this.cssText),c&&Yia.set(b,a))}return a}toString(){return this.cssText}}; +_.ns=(a,...b)=>function(){var c=a.length===1?a[0]:b.reduce((d,e,f)=>{if(e._$cssResult$===!0)e=e.cssText;else if(typeof e!=="number")throw Error(`Value passed to 'css' function must be a 'css' function result: ${e}. Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.`);return d+e+a[f+1]},a[0]);return new _.ms(c,a)}(); +Zia=(a,b)=>{if(ls)a.adoptedStyleSheets=b.map(c=>c instanceof CSSStyleSheet?c:c.styleSheet);else for(let c of b){b=document.createElement("style");let d=_.Ua.litNonce;d!==void 0&&b.setAttribute("nonce",d);b.textContent=c.cssText;a.appendChild(b)}};$ia=ls?a=>a:a=>{if(a instanceof CSSStyleSheet){let b="";for(let c of a.cssRules)b+=c.cssText;a=new _.ms(typeof b==="string"?b:String(b))}return a};/* + + Copyright 2016 Google LLC + SPDX-License-Identifier: BSD-3-Clause +*/ +var aja=HTMLElement,bja=Object.is,tea=Object.defineProperty,rea=Object.getOwnPropertyDescriptor,cja=Object.getOwnPropertyNames,dja=Object.getOwnPropertySymbols,eja=Object.getPrototypeOf,fja=_.Ua.trustedTypes,gja=fja?fja.emptyScript:"",os={Hj(a,b){switch(b){case Boolean:a=a?gja:null;break;case Object:case Array:a=a==null?a:JSON.stringify(a)}return a},Xj(a,b){var c=a;switch(b){case Boolean:c=a!==null;break;case Number:c=a===null?null:Number(a);break;case Object:case Array:try{c=JSON.parse(a)}catch(d){c= +null}}return c}},lo=(a,b)=>!bja(a,b),ko={Kh:!0,type:String,di:os,Mh:!1,pK:!1,pj:lo},hja,ps;Symbol.metadata==null&&(Symbol.metadata=Symbol("metadata"));hja=Symbol.metadata;ps=new WeakMap; +_.qs=class extends aja{static addInitializer(a){this.rh();(this.zx??(this.zx=[])).push(a)}static get observedAttributes(){this.bp();return this.aA&&[...this.aA.keys()]}static rh(){if(!this.hasOwnProperty("Pp")){var a=eja(this);a.bp();a.zx!==void 0&&(this.zx=[...a.zx]);this.Pp=new Map(a.Pp)}}static bp(){ija();if(!this.hasOwnProperty("kD")){this.kD=!0;this.rh();if(this.hasOwnProperty("properties")){var a=this.properties,b=[...cja(a),...dja(a)];for(let c of b)uea(this,c,a[c])}a=this[hja];if(a!==null&& +(a=ps.get(a),a!==void 0))for(let [c,d]of a)this.Pp.set(c,d);this.aA=new Map;for(let [c,d]of this.Pp)a=c,b=this.HC(a,d),b!==void 0&&this.aA.set(b,a);b=this.styles;a=[];if(Array.isArray(b)){b=new Set(b.flat(Infinity).reverse());for(let c of b)a.unshift($ia(c))}else b!==void 0&&a.push($ia(b));this.rH=a}}static HC(a,b){b=b.Kh;return b===!1?void 0:typeof b==="string"?b:typeof a==="string"?a.toLowerCase():void 0}constructor(){super();this.ii=void 0;this.Nh=this.Oh=!1;this.Bh=null;this.FC()}FC(){this.dl= +new Promise(a=>this.wr=a);this.Ih=new Map;this.cL();_.jo(this);this.constructor.zx?.forEach(a=>a(this))}cL(){var a=new Map,b=this.constructor.Pp;for(let c of b.keys())this.hasOwnProperty(c)&&(a.set(c,this[c]),delete this[c]);a.size>0&&(this.ii=a)}Li(){var a=this.shadowRoot??this.attachShadow(this.constructor.Qm);Zia(a,this.constructor.rH);return a}connectedCallback(){this.Sk??(this.Sk=this.Li());this.wr(!0);this.Jh?.forEach(a=>a.wy?.())}wr(){}disconnectedCallback(){this.Jh?.forEach(a=>a.GD?.())}attributeChangedCallback(a, +b,c){this.qx(a,c)}GC(a,b){var c=this.constructor.Pp.get(a),d=this.constructor.HC(a,c);d!==void 0&&c.Mh===!0&&(b=(c.di?.Hj!==void 0?c.di:os).Hj(b,c.type),this.Bh=a,b==null?this.removeAttribute(d):this.setAttribute(d,b),this.Bh=null)}qx(a,b){var c=this.constructor;a=c.aA.get(a);if(a!==void 0&&this.Bh!==a){c=c.Pp.get(a)??ko;let d=typeof c.di==="function"?{Xj:c.di}:c.di?.Xj!==void 0?c.di:os;this.Bh=a;b=d.Xj(b,c.type);this[a]=b??this.ai?.get(a)??b;this.Bh=null}}Yk(a,b,{pK:c,Mh:d,Wz:e},f){if(c&&!(this.ai?? +(this.ai=new Map)).has(a)&&(this.ai.set(a,f??b??this[a]),e!==!0||f!==void 0))return;this.Ih.has(a)||(this.Nh||c||(b=void 0),this.Ih.set(a,b));d===!0&&this.Bh!==a&&(this.pi??(this.pi=new Set)).add(a)}async EC(){this.Oh=!0;try{await this.dl}catch(b){this.wS||Promise.reject(b)}var a=vea(this);a!=null&&await a;return!this.Oh}Ck(){}tx(a){this.Jh?.forEach(b=>b.CN?.());this.Nh||(this.Nh=!0,this.zh());this.Bj(a)}ur(){this.Ih=new Map;this.Oh=!1}get Ap(){return this.dl}update(){this.pi&&(this.pi=this.pi.forEach(a=> +this.GC(a,this[a])));this.ur()}Bj(){}zh(){}};_.qs.prototype.Ax=_.fa(23);_.qs.rH=[];_.qs.Qm={mode:"open"};_.qs.Pp=new Map;_.qs.kD=new Map;var ija=()=>{(_.Ua.reactiveElementVersions??(_.Ua.reactiveElementVersions=[])).push("2.1.2");ija=()=>{}};_.rs=class extends _.qs{constructor(){super(...arguments);this.On={host:this};this.Rk=void 0}Li(){var a=super.Li(),b;(b=this.On).YE??(b.YE=a.firstChild);return a}update(a){var b=this.ti();this.Nh||(this.On.isConnected=this.isConnected);super.update(a);this.Rk=_.ks(b,this.Sk,this.On)}connectedCallback(){super.connectedCallback();this.Rk?.FJ(!0)}disconnectedCallback(){super.disconnectedCallback();this.Rk?.FJ(!1)}ti(){return go}static bp(){jja();return _.qs.bp.call(this)}};_.rs._$litElement$=!0; +_.rs.kD=!0;var jja=()=>{(_.Ua.litElementVersions??(_.Ua.litElementVersions=[])).push("4.2.2");jja=()=>{}};_.ss=class extends _.rs{static get Qm(){return{..._.rs.Qm,mode:_.Zo[166]?"open":"closed"}}constructor(a={}){super();this.Wj=!1;this.yv=new Set;this.gL=this.localName;var b=this.constructor.Gi,c=window,d=this.getRootNode()!==this,e=!document.currentScript&&document.readyState==="loading";(d=d||e)||(d=co&&this.tagName.toLowerCase()===co.toLowerCase(),co=void 0,d=!!d);_.P(c,d?b.Ji:b.Ii);Fda(this);this.yi(a,_.ss,"WebComponentView")}attributeChangedCallback(a,b,c){this.Wj=!0;super.attributeChangedCallback(a, +b,c);this.Wj=!1}addEventListener(a,b,c){super.addEventListener(a,b,c)}removeEventListener(a,b,c){super.removeEventListener(a,b,c)}yi(a,b,c){this.constructor===b&&am(a,this,c)}error(a){console.error(_.oo(this,a))}};_.ss.prototype.removeEventListener=_.ss.prototype.removeEventListener;_.ss.prototype.addEventListener=_.ss.prototype.addEventListener;_.ss.styles=[];var kja=_.Ml({center:_.Wl(_.hm),zoom:_.qr,heading:_.qr,tilt:_.qr});var Mfa=class extends _.Jm{get(a){return super.get(a)}};var xea=class extends _.Jm{constructor(a,b){super();this.mapId=a;this.mapTypes=b;this.qh=!1}mapId_changed(){if(!this.qh&&this.get("mapId")!==this.mapId)if(this.get("mapHasBeenAbleToBeDrawn")){this.qh=!0;try{this.set("mapId",this.mapId)}finally{this.qh=!1}console.warn("Google Maps JavaScript API: A Map's mapId property cannot be changed after initial Map render.");_.P(window,149729)}else this.mapId=this.get("mapId"),this.styles_changed(),this.mapTypeId_changed()}styles_changed(){var a=this.get("styles"); +this.mapId&&a&&(this.set("styles",void 0),console.warn("Google Maps JavaScript API: A Map's styles property cannot be set when a mapId is present. When a mapId is present, map styles are controlled via the cloud console. Please see documentation at https://developers.google.com/maps/documentation/javascript/styling#cloud_tooling"),_.P(window,149731),a.length||_.P(window,149730))}mapTypeId_changed(){var a=this.get("mapTypeId");this.mapId&&a&&this.mapTypes&&this.mapTypes.get(a)&&(Object.values(_.hr).includes(a)? +a==="satellite"&&(console.warn("Google Maps JavaScript API: A Map's preregistered map type may not apply all custom styles when a mapId is present. When a mapId is present, map styles are controlled via the cloud console for all default map types except for satellite. Please see documentation at https://developers.google.com/maps/documentation/javascript/styling#cloud_tooling"),_.P(window,149731)):(console.warn("Google Maps JavaScript API: A Map's custom map types cannot be set when a mapId is present. When a mapId is present, map styles are controlled via the cloud console. Please see documentation at https://developers.google.com/maps/documentation/javascript/styling#cloud_tooling"), +_.P(window,149731)))}};var yo=class{constructor(){this.isAvailable=!0;this.qh=[]}clone(){var a=new yo;a.isAvailable=this.isAvailable;this.qh.forEach(b=>{so(a,b)});return a}};var lja={lR:"FEATURE_TYPE_UNSPECIFIED",ADMINISTRATIVE_AREA_LEVEL_1:"ADMINISTRATIVE_AREA_LEVEL_1",ADMINISTRATIVE_AREA_LEVEL_2:"ADMINISTRATIVE_AREA_LEVEL_2",COUNTRY:"COUNTRY",LOCALITY:"LOCALITY",POSTAL_CODE:"POSTAL_CODE",DATASET:"DATASET",ZR:"ROAD_PILOT",MR:"NEIGHBORHOOD_PILOT",UQ:"BUILDING",SCHOOL_DISTRICT:"SCHOOL_DISTRICT"};var ts=null;_.tb(_.xo,_.Jm);_.xo.prototype.map_changed=function(){var a=async()=>{var b=this.getMap();if(b)if(ts.Dp(this,b),_.us.has(this))_.us.delete(this);else{let c=b.__gm.qh;await c.sJ;await c.lE;let d=_.to(c,"WEBGL_OVERLAY_VIEW");if(!d.isAvailable&&this.getMap()===b){for(let e of d.qh)c.log(e);ts.oq(this)}}else ts.oq(this)};ts?a():_.Rk("webgl").then(b=>{ts=b;a()})};_.xo.prototype.XI=function(a,b){this.sh=!0;this.onDraw({gl:a,transformer:b});this.sh=!1};_.xo.prototype.onDrawWrapper=_.xo.prototype.XI; +_.xo.prototype.requestRedraw=function(){this.qh=!0;if(!this.sh&&ts){let a=this.getMap();a&&ts.requestRedraw(a)}};_.xo.prototype.requestRedraw=_.xo.prototype.requestRedraw;_.xo.prototype.requestStateUpdate=function(){this.th=!0;if(ts){let a=this.getMap();a&&ts.xh(a)}};_.xo.prototype.requestStateUpdate=_.xo.prototype.requestStateUpdate;_.xo.prototype.rh=-1;_.xo.prototype.qh=!1;_.xo.prototype.th=!1;_.xo.prototype.sh=!1;_.gn(_.xo.prototype,{map:_.xr});_.us=new Set;_.vs=class extends _.Jm{constructor(a,b){super();this.map=a;this.qh=!1;this.wh=null;this.cache={};this.iw=this.rh="UNKNOWN";this.sh=new Promise(c=>{this.th=c});this.lE=b.wh.then(c=>{this.wh=c;this.rh=c.eo()?"TRUE":"FALSE";zo(this)});this.sJ=this.sh.then(c=>{this.iw=c?"TRUE":"FALSE";zo(this)});zo(this)}log(a,b=""){a.Hq&&console.error(b+a.Hq);a.Bt&&_.P(this.map,a.Bt)}eo(){return this.rh==="TRUE"||this.rh==="UNKNOWN"}Vv(){return this.wh}Bz(a){this.th(a)}getMapCapabilities(a=!1){var b={};b.isAdvancedMarkersAvailable= +this.cache.sG.isAvailable;b.isDataDrivenStylingAvailable=this.cache.aH.isAvailable;b.isWebGLOverlayViewAvailable=this.cache.yq.isAvailable;b=Object.freeze(b);a&&this.log({Bt:153027});return b}mapCapabilities_changed(){if(!this.qh)throw Dea(this),Error("Attempted to set read-only key: mapCapabilities");}};_.vs.prototype.WD=_.fa(24);var Cea={ADVANCED_MARKERS:{Bt:153025},DATA_DRIVEN_STYLING:{Bt:153026},WEBGL_OVERLAY_VIEW:{Bt:209112}};var mja=class extends _.Jm{};var nja=class{constructor(a){this.options=a;this.qh=new Map}eu(a,b){a=typeof a==="number"?[a]:a;for(let c of a)this.qh.get(c),a=this.options.eu(c,b),this.qh.set(c,a)}Zn(a,b,c){a=typeof a==="number"?[a]:a;for(let d of a)if(a=this.qh.get(d))this.options.Zn(a,b,c),this.qh.delete(d)}gu(a){a=typeof a==="number"?[a]:a;for(let b of a)if(a=this.qh.get(b))this.options.gu(a),this.qh.delete(b)}};Fea.prototype.reset=function(){this.context=this.rh=this.sh=this.qh=null;this.th=!1};var Gea=new via(function(){return new Fea},function(a){a.reset()});_.Do.prototype.then=function(a,b,c){return Nea(this,(0,_.cr)(typeof a==="function"?a:null),(0,_.cr)(typeof b==="function"?b:null),c)};_.Do.prototype.$goog_Thenable=!0;_.ba=_.Do.prototype;_.ba.sQ=function(a,b){return Nea(this,null,(0,_.cr)(a),b)};_.ba.catch=_.Do.prototype.sQ; +_.ba.cancel=function(a){if(this.qh==0){let b=new Eo(a);_.Fo(function(){Iea(this,b)},this)}};_.ba.wQ=function(a){this.qh=0;Co(this,2,a)};_.ba.xQ=function(a){this.qh=0;Co(this,3,a)};_.ba.HM=function(){for(var a;a=Jea(this);)Kea(this,a,this.qh,this.yh);this.xh=!1};var Rea=_.Eb;_.tb(Eo,_.vb);Eo.prototype.name="cancel";_.tb(_.Ho,_.wj);_.ba=_.Ho.prototype;_.ba.nx=0;_.ba.Dk=function(){_.Ho.jr.Dk.call(this);this.stop();delete this.qh;delete this.rh};_.ba.start=function(a){this.stop();this.nx=_.Go(this.sh,a!==void 0?a:this.th)};_.ba.Ei=function(){this.isActive()||this.start(void 0)};_.ba.stop=function(){this.isActive()&&_.Ua.clearTimeout(this.nx);this.nx=0};_.ba.isActive=function(){return this.nx!=0};_.ba.hG=function(){this.nx=0;this.qh&&this.qh.call(this.rh)};var oja=class{constructor(){this.qh=null;this.rh=new Map;this.sh=new _.Ho(()=>{Sea(this)})}};var pja=class{constructor(){this.qh=new Map;this.rh=new _.Ho(()=>{var a=[],b=[];for(let c of this.qh.values()){let d=c.ny();d&&!d.getSize().equals(_.Dn)&&c.vl&&(c.collisionBehavior==="REQUIRED_AND_HIDES_OPTIONAL"?(a.push(c.ny()),c.Wp=!1):b.push(c))}b.sort(Vea);for(let c of b)Wea(c.ny(),a)?c.Wp=!0:(a.push(c.ny()),c.Wp=!1)},0)}};_.tb(_.Jo,_.wj);_.ba=_.Jo.prototype;_.ba.vv=_.fa(25);_.ba.stop=function(){this.qh&&(_.Ua.clearTimeout(this.qh),this.qh=null);this.th=null;this.rh=!1;this.wh=[]};_.ba.pause=function(){++this.sh};_.ba.resume=function(){this.sh&&(--this.sh,!this.sh&&this.rh&&(this.rh=!1,this.Ah.apply(null,this.wh)))};_.ba.Dk=function(){this.stop();_.Jo.jr.Dk.call(this)}; +_.ba.RK=function(){this.qh&&(_.Ua.clearTimeout(this.qh),this.qh=null);this.th?(this.qh=_.Go(this.xh,this.th-_.nb()),this.th=null):this.sh?this.rh=!0:(this.rh=!1,this.Ah.apply(null,this.wh))};var qja=class{constructor(){this.sh=new pja;this.qh=new oja;this.th=new Set;this.wh=new _.Jo(()=>{this.sh.rh.Ei();var a=this.qh,b=new Set(this.th);for(let c of b)c.Wp?_.Uea(a,c):_.Tea(a,c);this.th.clear()},50);this.rh=new Set}};_.Hp=class{constructor(){this.elements={};this.size=0}remove(a){var b=_.Im(a);this.elements[b]&&(delete this.elements[b],--this.size,_.Hm(this,"remove",a),this.onRemove&&this.onRemove(a))}contains(a){return!!this.elements[_.Im(a)]}forEach(a){var b=this.elements;for(let c in b)a.call(this,b[c])}getSize(){return this.size}};_.ws=class{constructor(a){this.ei=a}pq(a){a=_.Xea(this,a);return a.length{a.call(b,c,d)})}some(a,b){return this.ei.some((c,d)=>a.call(b,c,d))}size(){return this.ei.length}};_.rja={japan_prequake:20,japan_postquake2010:24};var sja=class extends _.Jm{constructor(a){super();this.markers=a||new _.Hp}};var tja;_.xs=class{constructor(a,b,c){this.heading=a;this.pitch=_.ml(b,-90,90);this.zoom=Math.max(0,c)}};tja=_.Ml({zoom:_.Wl(un),heading:un,pitch:un});_.uja=new _.tn(66,26);var vja;_.To=class{constructor(a,b,c,{An:d=!1,passive:e=!1}={}){this.qh=a;this.sh=b;this.rh=c;this.th=vja?{passive:e,capture:d}:d;a.addEventListener?a.addEventListener(b,c,this.th):a.attachEvent&&a.attachEvent("on"+b,c)}remove(){if(this.qh.removeEventListener)this.qh.removeEventListener(this.sh,this.rh,this.th);else{let a=this.qh;a.detachEvent&&a.detachEvent("on"+this.sh,this.rh)}}};vja=!1;try{_.Ua.addEventListener("test",null,new class{get passive(){vja=!0}})}catch(a){};var wja,xja;wja=["mousedown","touchstart","pointerdown","MSPointerDown"];xja=["wheel","mousewheel"];_.Vo=void 0;_.Uo=!1;try{_.So(document.createElement("div"),":focus-visible"),_.Uo=!0}catch(a){}if(typeof document!=="undefined"){_.Bm(document,"keydown",()=>{_.Vo="KEYBOARD"},!0);for(let a of wja)_.Bm(document,a,()=>{_.Vo="POINTER"},!0,!0);for(let a of xja)_.Bm(document,a,()=>{_.Vo="WHEEL"},!0,!0)};var ys=class{constructor(a,b=0){this.major=a;this.minor=b}};var yja,zja,Aja,Bja,Xo,Zea;yja=new Map([[3,"Google Chrome"],[2,"Microsoft Edge"]]);zja=new Map([[1,["msie"]],[2,["edge"]],[3,["chrome","crios"]],[5,["firefox","fxios"]],[4,["applewebkit"]],[6,["trident"]],[7,["mozilla"]]]);Aja=new Map([[1,"x11"],[2,"macintosh"],[3,"windows"],[4,"android"],[6,"iphone"],[5,"ipad"]]);Bja=[1,2,3,4,5,6];Xo=null; +Zea=class{constructor(){var a=navigator.userAgent;this.qh=this.type=0;this.version=new ys(0);this.th=new ys(0);var b=a.toLowerCase();for(let [e,f]of zja.entries()){var c=e;let g=f.find(h=>b.includes(h));if(g){this.type=c;if(c=(new RegExp(g+"[ /]?([0-9]+).?([0-9]+)?")).exec(b))this.version=new ys(Math.trunc(Number(c[1])),Math.trunc(Number(c[2]||"0")));break}}this.type===7&&(c=RegExp("^Mozilla/.*Gecko/.*[Minefield|Shiretoko][ /]?([0-9]+).?([0-9]+)?").exec(a))&&(this.type=5,this.version=new ys(Math.trunc(Number(c[1])), +Math.trunc(Number(c[2]||"0"))));this.type===6&&(c=RegExp("rv:([0-9]{2,}.?[0-9]+)").exec(a))&&(this.type=1,this.version=new ys(Math.trunc(Number(c[1]))));for(var d of Bja)if((c=Aja.get(d))&&b.includes(c)){this.qh=d;break}if(this.qh===6||this.qh===5||this.qh===2)if(d=/OS (?:X )?(\d+)[_.]?(\d+)/.exec(a))this.th=new ys(Math.trunc(Number(d[1])),Math.trunc(Number(d[2]||"0")));this.qh===4&&(a=/Android (\d+)\.?(\d+)?/.exec(a))&&(this.th=new ys(Math.trunc(Number(a[1])),Math.trunc(Number(a[2]||"0"))));this.rh= +this.qh===1||this.qh===2||this.qh===3&&!b.includes("mobile")}}; +_.ap=new class{constructor(){this.sh=this.rh=null}get version(){if(this.sh)return this.sh;if(navigator.userAgentData&&navigator.userAgentData.brands)for(let a of navigator.userAgentData.brands)if(a.brand===yja.get(this.type))return this.sh=new ys(+a.version,0);return this.sh=Yo().version}get th(){return Yo().th}get type(){if(this.rh)return this.rh;if(navigator.userAgentData&&navigator.userAgentData.brands){let a=navigator.userAgentData.brands.map(b=>b.brand);for(let [b,c]of yja){let d=b;if(a.includes(c))return this.rh= +d}}return this.rh=Yo().type}get wh(){return this.type===5||this.type===7}get qh(){return this.type===4||this.type===3}get zh(){return navigator.userAgentData&&"mobile"in navigator.userAgentData?!navigator.userAgentData.mobile:Yo().rh}get Ah(){return this.type===1}get Fh(){return this.type===5}get xh(){return this.type===3}get Bh(){return this.type===4}get yh(){if(navigator.userAgentData&&navigator.userAgentData.platform)return navigator.userAgentData.platform==="iOS";var a=Yo();return a.qh===6||a.qh=== +5}get Eh(){return navigator.userAgentData&&navigator.userAgentData.platform?navigator.userAgentData.platform==="macOS":Yo().qh===2}get Dh(){return navigator.userAgentData&&navigator.userAgentData.platform?navigator.userAgentData.platform==="Android":Yo().qh===4}};_.Cja=new Set(["US","LR","MM"]);var bfa=class{constructor(){var a=document;this.qh=_.ap;this.transform=afa(a,["transform","WebkitTransform","MozTransform","msTransform"]);this.rh=afa(a,["WebkitUserSelect","MozUserSelect","msUserSelect"])}},bp;_.fp=new class{constructor(a){this.qh=a;this.rh=_.cl(()=>document.createElement("span").draggable!==void 0)}}(_.ap);var Dja;Dja=new WeakMap; +_.zs=class extends _.An{constructor(a,b){super();this.Iz=this.wh=null;this.th=!1;this.sh=null;this.Vk(a,b)}Vk(a,b){_.nn(a);this.__gm=new sja(b&&b.markers);this.__gm.set("isInitialized",!1);this.qh=_.zn(!1,!0);this.qh.addListener(e=>{if(this.get("visible")!==e){if(this.th){let f=this.__gm;f.set("shouldAutoFocus",e&&f.get("isMapInitialized"))}cfa(this,e);this.set("visible",e)}});b&&b.client&&(this.Iz=_.rja[b.client]||null);var c=this.controls=[];_.kl(_.zp,(e,f)=>{c[f]=new _.Rn;c[f].addListener("insert_at", +()=>{_.P(this,182112)})});this.gn=b&&b.gn||_.zn(!1);this.container=a;this.Np=b&&b.Np||this.container;this.__gm.set("developerProvidedDiv",this.Np);_.Ua.MutationObserver&&this.Np&&((a=Dja.get(this.Np))&&a.disconnect(),a=new MutationObserver(e=>{for(let f of e)f.attributeName==="dir"&&_.Hm(this,"shouldUseRTLControlsChange")}),Dja.set(this.Np,a),a.observe(this.Np,{attributes:!0}));this.set("standAlone",!0);this.setPov(new _.xs(0,0,1));b&&b.pov&&(a=b.pov,_.pl(a.zoom)||(a.zoom=typeof b.zoom==="number"? +b.zoom:1));this.setValues(b);this.getVisible()===void 0&&this.setVisible(!0);var d=this.__gm.markers;_.Em(this,"pano_changed",()=>{_.Rk("marker").then(e=>{e.MC(d,this,!1)})});_.Zo[35]&&b&&b.dE&&_.Rk("util").then(e=>{e.hr.th(new _.xp(b.dE))});_.Dm(this,"keydown",this,this.xh)}visible_changed(){var a=!!this.get("visible"),b=!1;this.qh.get()!==a&&(this.th&&(b=this.__gm,b.set("shouldAutoFocus",a&&b.get("isMapInitialized"))),cfa(this,a),this.qh.set(a),b=a);a&&(this.wh=this.wh||new Promise(c=>{_.Rk("streetview").then(d=> +{if(this.Iz)var e=this.Iz;this.__gm.set("isInitialized",!0);c(d.eP(this,this.qh,this.th,e))},()=>{_.Yk(this.__gm.get("sloTrackingId"),13)})}),b&&this.wh.then(c=>{c.SP()}))}xh(a){a.key==="Escape"&&this.rh?.gs?.contains(document.activeElement)&&this.get("enableCloseButton")&&this.get("visible")&&(a.stopPropagation(),_.Hm(this,"closeclick"),this.set("visible",!1))}registerPanoProvider(a,b){this.set("panoProvider",{provider:a,options:b||{}})}focus(){var a=this.__gm;this.getVisible()&&!a.get("pendingFocus")&& +a.set("pendingFocus",!0)}getPano(){return this.get("pano")}getStatus(){return this.get("status")}setPano(a){this.set("pano",a)}getPhotographerPov(){return this.get("photographerPov")}getPosition(){return this.get("position")}setPosition(a){this.set("position",a)}getPov(){return this.get("pov")}setPov(a){this.set("pov",a)}getLocation(){return this.get("location")}getLinks(){return this.get("links")}setLinks(a){this.set("links",a)}getMotionTracking(){return this.get("motionTracking")}setMotionTracking(a){this.set("motionTracking", +a)}getVisible(){return this.get("visible")}setVisible(a){this.set("visible",a)}getZoom(){return this.get("zoom")}setZoom(a){this.set("zoom",a)}setOptions(a){this.setValues(a)}};_.zs.prototype.Et=_.fa(28);_.zs.prototype.En=_.fa(26);_.zs.prototype.setOptions=_.zs.prototype.setOptions;_.zs.prototype.setZoom=_.zs.prototype.setZoom;_.zs.prototype.getZoom=_.zs.prototype.getZoom;_.zs.prototype.setVisible=_.zs.prototype.setVisible;_.zs.prototype.getVisible=_.zs.prototype.getVisible; +_.zs.prototype.setMotionTracking=_.zs.prototype.setMotionTracking;_.zs.prototype.getMotionTracking=_.zs.prototype.getMotionTracking;_.zs.prototype.setLinks=_.zs.prototype.setLinks;_.zs.prototype.getLinks=_.zs.prototype.getLinks;_.zs.prototype.getLocation=_.zs.prototype.getLocation;_.zs.prototype.setPov=_.zs.prototype.setPov;_.zs.prototype.getPov=_.zs.prototype.getPov;_.zs.prototype.setPosition=_.zs.prototype.setPosition;_.zs.prototype.getPosition=_.zs.prototype.getPosition; +_.zs.prototype.getPhotographerPov=_.zs.prototype.getPhotographerPov;_.zs.prototype.setPano=_.zs.prototype.setPano;_.zs.prototype.getStatus=_.zs.prototype.getStatus;_.zs.prototype.getPano=_.zs.prototype.getPano;_.zs.prototype.focus=_.zs.prototype.focus;_.zs.prototype.registerPanoProvider=_.zs.prototype.registerPanoProvider;_.zs.prototype.constructor=_.zs.prototype.constructor; +_.gn(_.zs.prototype,{visible:_.sr,pano:_.rr,position:_.Wl(_.gm),pov:_.Wl(tja),motionTracking:pr,photographerPov:null,location:null,links:_.Ql(_.Sl(_.ql)),status:null,zoom:_.qr,enableCloseButton:_.sr});_.Gl(_.zs);_.As=class{constructor(){this.Bl=[];this.rh=this.qh=this.sh=null}register(a){var b=this.Bl;var c=b.length;if(!c||a.zIndex>=b[0].zIndex)var d=0;else if(a.zIndex>=b[c-1].zIndex){for(d=0;c-d>1;){let e=d+c>>1;a.zIndex>=b[e].zIndex?c=e:d=e}d=c}else d=c;b.splice(d,0,a)}unregister(a){_.ul(this.Bl,a)}setCapture(a,b){this.qh=a;this.rh=b}releaseCapture(a,b){this.qh===a&&this.rh===b&&(this.rh=this.qh=null)}};_.As.prototype.sA=_.fa(29);_.Eja=Object.freeze(["exitFullscreen","webkitExitFullscreen","mozCancelFullScreen","msExitFullscreen"]);_.Fja=Object.freeze(["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"]);_.Gja=Object.freeze(["fullscreenEnabled","webkitFullscreenEnabled","mozFullScreenEnabled","msFullscreenEnabled"]);_.Hja=Object.freeze(["requestFullscreen","webkitRequestFullscreen","mozRequestFullScreen","msRequestFullscreen"]);var Jfa=class extends mja{constructor(a,b,c,d){super();this.Mr=c;this.rh=d;this.Ih=this.Ev=this.nk=this.overlayLayer=null;this.Jh=!1;this.div=b;this.set("developerProvidedDiv",this.div);this.Tl=_.zn(new _.ws([]));this.Lh=new _.Hp;this.copyrights=new _.Rn;this.Ah=new _.Hp;this.Eh=new _.Hp;this.Dh=new _.Hp;this.gn=_.zn(_.efa(c,typeof document==="undefined"?null:document));this.Yr=new _.yn(null);var e=this.markers=new _.Hp;e.qh=()=>{e.qh=()=>{};Promise.all([_.Rk("marker"),this.sh]).then(([f,g])=>{f.MC(e, +a,g)})};this.xh=new _.zs(c,{visible:!1,enableCloseButton:!0,markers:e,gn:this.gn,Np:this.div});this.xh.bindTo("controlSize",a);this.xh.bindTo("reportErrorControl",a);this.xh.th=!0;this.yh=new _.As;this.wh=new Promise(f=>{this.Uh=f});this.fi=new Promise(f=>{this.ii=f});this.qh=new _.vs(a,this);this.Ph=new _.Rn;this.sh=this.qh.sJ.then(()=>this.qh.iw==="TRUE");this.Bz=function(f){this.qh.Bz(f)};this.set("isInitialized",!1);this.xh.__gm.bindTo("isMapInitialized",this,"isInitialized");this.rh.then(()=> +{this.set("isInitialized",!0)});this.set("isMapBindingComplete",!1);this.Gh=new Promise(f=>{_.Em(this,"mapbindingcomplete",()=>{this.set("isMapBindingComplete",!0);f()})});this.Oh=new qja;this.sh.then(f=>{f&&this.nk&&this.nk.Dh(this.Oh.qh)});this.th=new Map;this.zh=new Map;b=[213337,211242,213338,211243];c=[122447,...b];this.Bh=new nja({eu:_.Xk,gu:_.Zk,Zn:_.Yk,hD:{MAP_INITIALIZATION:new Set(c),VECTOR_MAP_INITIALIZATION:new Set(b)}})}};var Ds={UNINITIALIZED:"UNINITIALIZED",RASTER:"RASTER",VECTOR:"VECTOR"};var yp=class extends _.Jm{set(a,b){if(b!=null&&!(b&&_.pl(b.maxZoom)&&b.tileSize&&b.tileSize.width&&b.tileSize.height&&b.getTile&&b.getTile.apply))throw Error("Expected value implementing google.maps.MapType");super.set(a,b)}};yp.prototype.set=yp.prototype.set;yp.prototype.constructor=yp.prototype.constructor;var Kfa=class extends _.Jm{constructor(){super();this.qh=!1;this.rh="UNINITIALIZED"}renderingType_changed(){if(!this.qh&&this.get("mapHasBeenAbleToBeDrawn"))throw ffa(this),Error("Setting map 'renderingType' after instantiation is not supported.");}};_.Es=class{constructor(){this.sh=new _.pn(128,128);this.qh=256/360;this.rh=256/(2*Math.PI);this.xF=!0}fromLatLngToPoint(a,b=new _.pn(0,0)){a=_.gm(a);var c=this.sh;b.x=c.x+a.lng()*this.qh;a=_.ml(Math.sin(_.Bk(a.lat())),-(1-1E-15),1-1E-15);b.y=c.y+.5*Math.log((1+a)/(1-a))*-this.rh;return b}fromPointToLatLng(a,b=!1){var c=this.sh;return new _.cm(_.Ck(2*Math.atan(Math.exp((a.y-c.y)/-this.rh))-Math.PI/2),(a.x-c.x)/this.qh,b)}};var Ija=[0,_.Oq,-3];_.np=class extends _.L{constructor(a){super(a)}nl(a){return _.Zg(this,8,a)}clearColor(){return _.Pf(this,9)}};_.np.prototype.hp=_.fa(30);_.np.prototype.rh=_.fa(5);_.mp=class extends _.L{constructor(a){super(a)}};_.mp.prototype.tk=_.fa(33);var zfa=class extends _.L{constructor(a){super(a)}};_.lp=class extends _.L{constructor(a){super(a)}};_.lp.prototype.Bi=_.fa(35);_.lp.prototype.Fi=_.fa(34);var yfa=class extends _.L{constructor(a){super(a)}getZoom(){return _.Ag(this,3)}setZoom(a){return _.Ug(this,3,a)}};var Afa=_.oi(yfa,[0,[0,_.R,-1],_.Z,_.Oq,[0,_.Oq,-1,_.Z],[0,_.Z,_.S,-1,1,_.X,-1,1,_.Y,[0,_.Z,-1,_.Hq,Ija,_.S,_.Hq,-1,_.Z,Ija,_.Hq],[0,_.Pq,_.S],_.S,-2,_.Pq,_.Lq,2,_.S,82,_.S],1,_.X,_.Z]);_.jp=class{constructor(a,b){this.qh=a;this.rh=b}equals(a){return a?this.qh===a.qh&&this.rh===a.rh:!1}};_.Jja=class{constructor(a){this.min=0;this.max=a;this.length=a-0}wrap(a){return a-Math.floor((a-this.min)/this.length)*this.length}};_.Kja=class{constructor(a){this.uv=a.uv||null;this.Yw=a.Yw||null}wrap(a){return new _.jp(this.uv?this.uv.wrap(a.qh):a.qh,this.Yw?this.Yw.wrap(a.rh):a.rh)}};_.Lja=new _.Kja({uv:new _.Jja(256)});var sfa=class{constructor(a,b,c,d){this.rh=a;this.tilt=b;this.heading=c;this.qh=d;a=Math.cos(b*Math.PI/180);b=Math.cos(c*Math.PI/180);c=Math.sin(c*Math.PI/180);this.m11=this.rh*b;this.m12=this.rh*c;this.m21=-this.rh*a*c;this.m22=this.rh*a*b;this.sh=this.m11*this.m22-this.m12*this.m21}equals(a){return a?this.m11===a.m11&&this.m12===a.m12&&this.m21===a.m21&&this.m22===a.m22&&this.qh===a.qh:!1}};var Ofa=class extends _.Jm{constructor(a){var b=_.pq,c=_.xk(_.Tk.rh());super();this.Ah=_.en("center");this.xh=_.en("size");this.zh=this.qh=this.rh=this.wh=null;this.Bh=this.Dh=!1;this.yh=new _.Ho(()=>{var d=vfa(this);if(this.sh&&this.Dh)this.zh!==d&&this.qh?.remove();else{var e="",f=this.Ah(),g=tfa(this),h=this.xh();if(h){if(f&&isFinite(f.lat())&&isFinite(f.lng())&&g>1&&d!=null&&h&&h.width&&h.height&&this.rh){_.dp(this.rh,h);if(f=_.On(this.Gh,f,g)){var k=new _.Ln;k.minX=Math.round(f.x-h.width/2); +k.maxX=k.minX+h.width;k.minY=Math.round(f.y-h.height/2);k.maxY=k.minY+h.height;f=k}else f=null;k=Mja[d];f&&(this.Dh=!0,this.zh=d,this.sh&&this.qh&&(e=_.ip(g,0,0),this.sh.set({image:this.qh,bounds:{min:_.kp(e,{Yh:f.minX,Zh:f.minY}),max:_.kp(e,{Yh:f.maxX,Zh:f.maxY})},size:{width:h.width,height:h.height}})),e=Bfa(this,f,g,d,k))}this.qh&&(_.dp(this.qh,h),xfa(this,e))}}},0);this.Ih=b;this.Gh=new _.Es;this.th=c+"/maps/api/js/StaticMapService.GetMapImage";this.sh=new _.yn(null);this.set("div",a);this.set("loading", +!0);this.set("colorTheme",1)}getDiv(){return null}changed(){var a=this.Ah(),b=tfa(this),c=vfa(this),d=!!this.xh(),e=this.get("mapId");if(a&&!a.equals(this.Eh)||this.Jh!==b||this.Fh!==c||this.Bh!==d||this.wh!==e)this.Jh=b,this.Fh=c,this.Bh=d,this.wh=e,this.sh||this.qh?.remove(),this.yh.Ei();this.Eh=a}div_changed(){var a=this.get("div"),b=this.rh;if(a)if(b)a.appendChild(b);else{b=this.rh=document.createElement("div");b.style.overflow="hidden";let c=this.qh=_.Ek("IMG");_.Bm(b,"contextmenu",d=>{_.rm(d); +_.tm(d)});c.ontouchstart=c.ontouchmove=c.ontouchend=c.ontouchcancel=d=>{_.sm(d);_.tm(d)};c.alt="";_.dp(c,_.Dn);a.appendChild(b);_.Io(this.yh)}else b&&(b.remove(),this.rh=null)}},ufa={roadmap:0,satellite:2,hybrid:3,terrain:4},Mja={0:1,2:2,3:2,4:2};var Nja=class{constructor(){Fda(this)}addListener(a,b){return _.vm(this,a,b)}yi(a,b,c){this.constructor===b&&am(a,this,c)}};_.Oja=_.Ml({fillColor:_.Wl(_.tr),fillOpacity:_.Wl(_.or),strokeColor:_.Wl(_.tr),strokeOpacity:_.Wl(_.or),strokeWeight:_.Wl(_.or),pointRadius:_.Wl(_.Vl(_.nr,a=>{if(a<=128)return a;throw _.Kl("The max allowed pointRadius value is 128px.");}))},!1,"FeatureStyleOptions");_.Fs=class extends Nja{constructor(a){super();this.sh=this.qh=null;this.rh=!0;this.map=a.map;this.wh=a.featureType;this.xh=a.datasetId;this.th=a.Cs}get featureType(){return this.wh}set featureType(a){throw new TypeError('google.maps.FeatureLayer "featureType" is read-only.');}get isAvailable(){return Cfa(this).isAvailable}set isAvailable(a){throw new TypeError('google.maps.FeatureLayer "isAvailable" is read-only.');}get style(){op(this,"google.maps.FeatureLayer.style");return this.qh}set style(a){if(a)try{var b= +_.Ul([Xha,_.Oja])(a)}catch(c){throw _.Kl("google.maps.FeatureLayer.style",c);}else b=null;this.qh=b;op(this,"google.maps.FeatureLayer.style").isAvailable&&(pp(this,this.qh),this.featureType==="DATASET"?_.P(this.map,177294):_.P(this.map,151555))}get isEnabled(){return this.rh}set isEnabled(a){this.rh!==a&&(this.rh=a,this.dI())}get datasetId(){return this.xh}set datasetId(a){throw new TypeError('google.maps.FeatureLayer "datasetId" is read-only.');}get Cs(){return this.th}set Cs(a){this.th=a}addListener(a, +b){op(this,"google.maps.FeatureLayer.addListener");a==="click"?this.featureType==="DATASET"?_.P(this.map,177821):_.P(this.map,148836):a==="mousemove"&&(this.featureType==="DATASET"?_.P(this.map,186391):_.P(this.map,186390));return super.addListener(a,b)}dI(){this.isAvailable?this.sh!==this.qh&&pp(this,this.qh):this.sh!==null&&pp(this,null)}};_.tb(qp,dl);_.ba=qp.prototype;_.ba.setPosition=function(a,b,c){if(this.node=a)this.rh=typeof b==="number"?b:this.node.nodeType!=1?0:this.qh?-1:1;typeof c==="number"&&(this.depth=c)};_.ba.clone=function(){return new qp(this.node,this.qh,!this.sh,this.rh,this.depth)}; +_.ba.next=function(){if(this.th){if(!this.node||this.sh&&this.depth==0)return jr;var a=this.node;let c=this.qh?-1:1;if(this.rh==c){var b=this.qh?a.lastChild:a.firstChild;b?this.setPosition(b):this.setPosition(a,c*-1)}else(b=this.qh?a.previousSibling:a.nextSibling)?this.setPosition(b):this.setPosition(a.parentNode,c*-1);this.depth+=this.rh*(this.qh?-1:1)}else this.th=!0;return(a=this.node)?{value:a,done:!1}:jr};_.ba.equals=function(a){return a.node==this.node&&(!this.node||a.rh==this.rh)}; +_.ba.splice=function(a){var b=this.node,c=this.qh?1:-1;this.rh==c&&(this.rh=c*-1,this.depth+=this.rh*(this.qh?-1:1));this.qh=!this.qh;qp.prototype.next.call(this);this.qh=!this.qh;c=_.$a(arguments[0])?arguments[0]:arguments;for(let d=c.length-1;d>=0;d--)_.Fk(c[d],b);_.Gk(b)};var Dfa=class extends qp{constructor(a){super(a,void 0,void 0,null,void 0)}next(){do{let a=super.next();if(a.done)return a}while(this.rh==-1);return{value:this.node,done:!1}}};_.up=class{constructor(a){this.a=1729;this.m=a}hash(a){var b=this.a,c=this.m,d=0;for(let e=0,f=a.length;e{_.Hm(c,"panby",a,b)})}; +_.Bp.prototype.panBy=_.Bp.prototype.panBy;_.Bp.prototype.moveCamera=function(a){var b=this.__gm;try{a=kja(a)}catch(c){throw _.Kl("invalid CameraOptions",c);}b.get("isMapBindingComplete")?_.Hm(b,"movecamera",a):b.Gh.then(()=>{_.Hm(b,"movecamera",a)})};_.Bp.prototype.moveCamera=_.Bp.prototype.moveCamera; +_.Bp.prototype.getFeatureLayer=function(a){try{a=_.Pl(lja)(a)}catch(d){throw d.message=`google.maps.Map.getFeatureLayer: Expected valid google.maps.FeatureType, but got '${a}'`,d;}if(a==="ROAD_PILOT")throw _.Kl("google.maps.Map.getFeatureLayer: Expected valid google.maps.FeatureType, but got 'ROAD_PILOT'");if(a==="DATASET")throw _.Kl("google.maps.Map.getFeatureLayer: A dataset ID must be specified for FeatureLayers that have featureType DATASET. Please use google.maps.Map.getDatasetFeatureLayer() instead."); +wo(this,"google.maps.Map.getFeatureLayer",{featureType:a});switch(a){case "ADMINISTRATIVE_AREA_LEVEL_1":_.P(this,148936);break;case "ADMINISTRATIVE_AREA_LEVEL_2":_.P(this,148937);break;case "COUNTRY":_.P(this,148938);break;case "LOCALITY":_.P(this,148939);break;case "POSTAL_CODE":_.P(this,148941);break;case "ROAD_PILOT":_.P(this,178914);break;case "SCHOOL_DISTRICT":_.P(this,148942)}var b=this.__gm;if(b.th.has(a))return b.th.get(a);var c=new _.Fs({map:this,featureType:a});c.isEnabled=!b.Jh;b.th.set(a, +c);return c};_.Bp.prototype.getDatasetFeatureLayer=function(a){try{(0,_.tr)(a)}catch(d){throw d.message=`google.maps.Map.getDatasetFeatureLayer: Expected non-empty string for datasetId, but got ${a}`,d;}wo(this,"google.maps.Map.getDatasetFeatureLayer",{featureType:"DATASET",datasetId:a});var b=this.__gm;if(b.zh.has(a))return b.zh.get(a);var c=new _.Fs({map:this,featureType:"DATASET",datasetId:a});c.isEnabled=!b.Jh;b.zh.set(a,c);return c}; +_.Bp.prototype.panTo=function(a){var b=this.__gm;a=_.hm(a);b.get("isMapBindingComplete")?_.Hm(b,"panto",a):b.Gh.then(()=>{_.Hm(b,"panto",a)})};_.Bp.prototype.panTo=_.Bp.prototype.panTo;_.Bp.prototype.panToBounds=function(a,b){var c=this.__gm,d=_.dn(a);c.get("isMapBindingComplete")?_.Hm(c,"pantolatlngbounds",d,b):c.Gh.then(()=>{_.Hm(c,"pantolatlngbounds",d,b)})};_.Bp.prototype.panToBounds=_.Bp.prototype.panToBounds; +_.Bp.prototype.fitBounds=function(a,b){var c=this.__gm,d=_.dn(a);c.get("isMapBindingComplete")?Ap.fitBounds(this,d,b):c.Gh.then(()=>{Ap.fitBounds(this,d,b)})};_.Bp.prototype.fitBounds=_.Bp.prototype.fitBounds;_.Bp.prototype.Et=_.fa(27);_.Bp.prototype.getMapCapabilities=function(){return this.__gm.qh.getMapCapabilities(!0)};_.Bp.prototype.getMapCapabilities=_.Bp.prototype.getMapCapabilities; +var Cp={bounds:null,center:_.Wl(_.hm),clickableIcons:pr,heading:_.qr,mapTypeId:function(a){return a==null?"roadmap":(0,_.oq)(a)},mapId:_.rr,projection:null,renderingType:_.Pl(Ds),tiltInteractionEnabled:pr,headingInteractionEnabled:pr,restriction:function(a){if(a==null)return null;a=_.Ml({strictBounds:_.sr,latLngBounds:_.dn})(a);var b=a.latLngBounds;if(!(b.lat.hi>b.lat.lo))throw _.Kl("south latitude must be smaller than north latitude");if((b.lng.hi===-180?180:b.lng.hi)===b.lng.lo)throw _.Kl("eastern longitude cannot equal western longitude"); +return a},streetView:Kr,tilt:_.qr,zoom:_.qr,internalUsageAttributionIds:_.Wl(_.Rl(_.tr,1))};_.gn(_.Bp.prototype,Cp);var Pja=class extends Event{constructor(){super("gmp-zoomchange",{bubbles:!0})}};var Qja={Kh:!0,type:String,di:os,Mh:!1,pj:lo},Qfa=(a=Qja,b,c)=>{var d=c.kind,e=c.metadata,f=ps.get(e);f===void 0&&ps.set(e,f=new Map);d==="setter"&&(a=Object.create(a),a.Wz=!0);f.set(c.name,a);if(d==="accessor"){let g=c.name;return{set(h){var k=b.get.call(this);b.set.call(this,h);_.jo(this,g,k,a,!0,h)},init(h){h!==void 0&&this.Yk(g,void 0,a,h);return h}}}if(d==="setter"){let g=c.name;return function(h){var k=this[g];b.call(this,h);_.jo(this,g,k,a,!0,h)}}throw Error(`Unsupported decorator location: ${d}`); +};_.Rfa=(a,b,c)=>{c.configurable=!0;c.enumerable=!0;Reflect.QS&&typeof b!=="object"&&Object.defineProperty(a,b,c);return c};var rq=class extends _.ss{static get Qm(){return{..._.ss.Qm,delegatesFocus:!0}}set center(a){if(a!==null||!this.Wj)try{let b=_.hm(a);this.innerMap.setCenter(b)}catch(b){throw _.po(this,"center",a,b);}}get center(){return this.innerMap.getCenter()??null}set mapId(a){try{this.innerMap.set("mapId",(0,_.rr)(a)??void 0)}catch(b){throw _.po(this,"mapId",a,b);}}get mapId(){return this.innerMap.get("mapId")??null}set zoom(a){if(a!==null||!this.Wj)try{this.innerMap.setZoom(un(a))}catch(b){throw _.po(this, +"zoom",a,b);}}get zoom(){return this.innerMap.getZoom()??null}set renderingType(a){try{this.innerMap.set("renderingType",a==null?"UNINITIALIZED":_.Pl(Ds)(a))}catch(b){throw _.po(this,"renderingType",a,b);}}get renderingType(){return this.innerMap.get("renderingType")??null}set tiltInteractionDisabled(a){try{this.innerMap.set("tiltInteractionEnabled",a==null?null:!pr(a))}catch(b){throw _.po(this,"tiltInteractionDisabled",a,b);}}get tiltInteractionDisabled(){var a=this.innerMap.get("tiltInteractionEnabled"); +return typeof a==="boolean"?!a:a}set headingInteractionDisabled(a){try{this.innerMap.set("headingInteractionEnabled",a==null?null:!pr(a))}catch(b){throw _.po(this,"headingInteractionDisabled",a,b);}}get headingInteractionDisabled(){var a=this.innerMap.get("headingInteractionEnabled");return typeof a==="boolean"?!a:a}set internalUsageAttributionIds(a){this.innerMap.set("internalUsageAttributionIds",_.ro(this,"internalUsageAttributionIds",_.Wl(_.Rl(_.tr,1)),a))}get internalUsageAttributionIds(){return this.innerMap.getInternalUsageAttributionIds()?? +null}constructor(a={}){super(a);this.Xr=document.createElement("div");this.Xr.dir="";this.innerMap=new _.Bp(this.Xr);_.no(this,"innerMap");_.wp.set(this,this.innerMap);var b="center zoom mapId renderingType tiltInteractionEnabled headingInteractionEnabled internalUsageAttributionIds".split(" ");for(let c of b)this.innerMap.addListener(`${c.toLowerCase()}_changed`,()=>{switch(c){case "tiltInteractionEnabled":_.jo(this,"tiltInteractionDisabled");break;case "headingInteractionEnabled":_.jo(this,"headingInteractionDisabled"); +break;default:_.jo(this,c)}if(c==="zoom"){var d=new Pja;this.dispatchEvent(d)}});a.center!=null&&(this.center=a.center);a.zoom!=null&&(this.zoom=a.zoom);a.mapId!=null&&(this.mapId=a.mapId);a.renderingType!=null&&(this.renderingType=a.renderingType);a.tiltInteractionDisabled!=null&&(this.tiltInteractionDisabled=a.tiltInteractionDisabled);a.headingInteractionDisabled!=null&&(this.headingInteractionDisabled=a.headingInteractionDisabled);a.internalUsageAttributionIds!=null&&(this.internalUsageAttributionIds= +a.internalUsageAttributionIds);this.qh=new MutationObserver(c=>{for(let d of c)d.attributeName==="dir"&&(_.Hm(this.innerMap,"shouldUseRTLControlsChange"),_.Hm(this.innerMap.__gm.xh,"shouldUseRTLControlsChange"))});this.yi(a,rq,"MapElement");_.P(window,178924)}zh(){this.Sk?.append(this.Xr)}connectedCallback(){super.connectedCallback();this.qh.observe(this,{attributes:!0});this.qh.observe(this.ownerDocument.documentElement,{attributes:!0})}disconnectedCallback(){super.disconnectedCallback();this.qh.disconnect()}}; +rq.prototype.constructor=rq.prototype.constructor;rq.styles=(0,_.ns)` + :host { + display: block; + width: 100%; + height: 100%; + } + :host([hidden]) { + display: none; + } + :host > div { + width: 100%; + height: 100%; + } + `;rq.Gi={Ji:181575,Ii:181574};_.D([_.Dp({di:{...Gia,Xj:a=>a?Gia.Xj(a):(console.error(`Could not interpret "${a}" as a LatLng.`),null)},pj:mo,Mh:!0}),_.F("design:type",Object),_.F("design:paramtypes",[Object])],rq.prototype,"center",null);_.D([_.Dp({Kh:"map-id",pj:mo,type:String,Mh:!0}),_.F("design:type",Object),_.F("design:paramtypes",[Object])],rq.prototype,"mapId",null); +_.D([_.Dp({di:{Xj:a=>{var b=Number(a);return a===null||a===""||isNaN(b)?(console.error(`Could not interpret "${a}" as a number.`),null):b},Hj:a=>a===null?null:String(a)},pj:mo,Mh:!0}),_.F("design:type",Object),_.F("design:paramtypes",[Object])],rq.prototype,"zoom",null);_.D([_.Dp({Kh:"rendering-type",di:_.Jn(Ds),pj:mo,Mh:!0}),_.F("design:type",Object),_.F("design:paramtypes",[Object])],rq.prototype,"renderingType",null); +_.D([_.Dp({Kh:"tilt-interaction-disabled",type:Boolean,pj:mo,Mh:!0}),_.F("design:type",Object),_.F("design:paramtypes",[Object])],rq.prototype,"tiltInteractionDisabled",null);_.D([_.Dp({Kh:"heading-interaction-disabled",type:Boolean,pj:mo,Mh:!0}),_.F("design:type",Object),_.F("design:paramtypes",[Object])],rq.prototype,"headingInteractionDisabled",null); +_.D([_.Dp({Kh:"internal-usage-attribution-ids",di:_.Rr,pj:mo,Mh:!0}),_.F("design:type",Object),_.F("design:paramtypes",[Object])],rq.prototype,"internalUsageAttributionIds",null);var Xga=!1;_.Rja={BOUNCE:1,DROP:2,WR:3,IR:4,1:"BOUNCE",2:"DROP",3:"RAISE",4:"LOWER"};var Vfa=class{constructor(a,b,c,d,e){this.url=a;this.origin=c;this.anchor=d;this.scaledSize=e;this.labelOrigin=null;this.size=b||e}};var Gs=class{constructor(){_.Rk("maxzoom")}getMaxZoomAtLatLng(a,b){_.P(window,154332);var c=_.Rk("maxzoom").then(d=>d.getMaxZoomAtLatLng(a,b));b&&c.catch(()=>{});return c}};Gs.prototype.getMaxZoomAtLatLng=Gs.prototype.getMaxZoomAtLatLng;Gs.prototype.constructor=Gs.prototype.constructor;var Ufa=class extends _.Jm{constructor(a){super();_.Bl("The Fusion Tables service will be turned down in December 2019 (see https://support.google.com/fusiontables/answer/9185417). Maps API version 3.37 is the last version that will support FusionTablesLayer.");if(!a||_.sl(a)||_.pl(a)){let b=arguments[1];this.set("tableId",a);this.setValues(b)}else this.setValues(a)}};_.gn(Ufa.prototype,{map:_.xr,tableId:_.qr,query:_.Wl(_.Ul([_.oq,_.Sl(_.ql,"not an Object")]))});var Hs;Hs=null;_.Is=class extends _.Jm{constructor(){super();this.Vk()}Vk(){}getMap(){return this.get("map")}setMap(a){this.set("map",a)}getPanes(){return this.get("panes")}getProjection(){return this.get("projection")}remove(){}map_changed(){Hs?Hs.rG(this):_.Rk("overlay").then(a=>{Hs=a;a.rG(this)})}static preventMapHitsFrom(a){_.Rk("overlay").then(b=>{Hs=b;b.preventMapHitsFrom(a)})}static preventMapHitsAndGesturesFrom(a){_.Rk("overlay").then(b=>{Hs=b;b.preventMapHitsAndGesturesFrom(a)})}}; +_.Is.preventMapHitsAndGesturesFrom=_.Is.preventMapHitsAndGesturesFrom;_.Is.preventMapHitsFrom=_.Is.preventMapHitsFrom;_.Is.prototype.getProjection=_.Is.prototype.getProjection;_.Is.prototype.getPanes=_.Is.prototype.getPanes;_.Is.prototype.setMap=_.Is.prototype.setMap;_.Is.prototype.getMap=_.Is.prototype.getMap;_.Is.prototype.constructor=_.Is.prototype.constructor;_.gn(_.Is.prototype,{panes:null,projection:null,map:_.Ul([_.xr,Kr])});_.Gl(_.Is);var Js=class extends _.Jm{getMap(){return this.get("map")}setMap(a){this.set("map",a)}getDraggable(){return this.get("draggable")}setDraggable(a){this.set("draggable",a)}getEditable(){return this.get("editable")}setEditable(a){this.set("editable",a)}setVisible(a){this.set("visible",a)}getVisible(){return this.get("visible")}constructor(a){super();this.xh=this.Sx=this.Wl=!1;this.set("latLngs",new _.Rn([new _.Rn]));this.setValues(Sn(a));_.Rk("poly")}getPath(){return this.get("latLngs").getAt(0)}setPath(a){try{this.get("latLngs").setAt(0, +Tn(a))}catch(b){_.Ll(b)}}map_changed(){Sfa(this)}visible_changed(){Sfa(this)}};Js.prototype.setPath=Js.prototype.setPath;Js.prototype.getPath=Js.prototype.getPath;Js.prototype.getVisible=Js.prototype.getVisible;Js.prototype.setVisible=Js.prototype.setVisible;Js.prototype.setEditable=Js.prototype.setEditable;Js.prototype.getEditable=Js.prototype.getEditable;Js.prototype.setDraggable=Js.prototype.setDraggable;Js.prototype.getDraggable=Js.prototype.getDraggable;Js.prototype.setMap=Js.prototype.setMap; +Js.prototype.getMap=Js.prototype.getMap;_.gn(Js.prototype,{draggable:_.sr,editable:_.sr,map:_.xr,visible:_.sr});_.Ks=class extends Js{constructor(a){super(a);this.Wl=!0}setOptions(a){this.setValues(a)}getPath(){return super.getPath()}setPath(a){super.setPath(a)}getPaths(){return this.get("latLngs")}setPaths(a){try{var b=this.set;if(Array.isArray(a)||a instanceof _.Rn)if(_.jl(a)===0)var c=!0;else{var d=a instanceof _.Rn?a.getAt(0):a[0];c=Array.isArray(d)||d instanceof _.Rn}else c=!1;var e=c?a instanceof _.Rn?hea(fea)(a):new _.Rn(_.Ql(Tn)(a)):new _.Rn([Tn(a)]);b.call(this,"latLngs",e)}catch(f){_.Ll(f)}}}; +_.Ks.prototype.setPaths=_.Ks.prototype.setPaths;_.Ks.prototype.getPaths=_.Ks.prototype.getPaths;_.Ks.prototype.setPath=_.Ks.prototype.setPath;_.Ks.prototype.getPath=_.Ks.prototype.getPath;_.Ks.prototype.setOptions=_.Ks.prototype.setOptions;_.Ls=class extends Js{setOptions(a){this.setValues(a)}};_.Ls.prototype.setOptions=_.Ls.prototype.setOptions;_.Ms=class extends _.Jm{getBounds(){return this.get("bounds")}setBounds(a){this.set("bounds",a)}getMap(){return this.get("map")}setMap(a){this.set("map",a)}getDraggable(){return this.get("draggable")}setDraggable(a){this.set("draggable",a)}getEditable(){return this.get("editable")}setEditable(a){this.set("editable",a)}setVisible(a){this.set("visible",a)}getVisible(){return this.get("visible")}setOptions(a){this.setValues(a)}constructor(a){super();this.setValues(Sn(a));_.Rk("poly")}map_changed(){Tfa(this)}visible_changed(){Tfa(this)}}; +_.Ms.prototype.setOptions=_.Ms.prototype.setOptions;_.Ms.prototype.getVisible=_.Ms.prototype.getVisible;_.Ms.prototype.setVisible=_.Ms.prototype.setVisible;_.Ms.prototype.setEditable=_.Ms.prototype.setEditable;_.Ms.prototype.getEditable=_.Ms.prototype.getEditable;_.Ms.prototype.setDraggable=_.Ms.prototype.setDraggable;_.Ms.prototype.getDraggable=_.Ms.prototype.getDraggable;_.Ms.prototype.setMap=_.Ms.prototype.setMap;_.Ms.prototype.getMap=_.Ms.prototype.getMap;_.Ms.prototype.setBounds=_.Ms.prototype.setBounds; +_.Ms.prototype.getBounds=_.Ms.prototype.getBounds;_.gn(_.Ms.prototype,{draggable:_.sr,editable:_.sr,bounds:_.Wl(_.dn),map:_.xr,visible:_.sr});var Ns=class extends _.Jm{constructor(){super();this.qh=null}getMap(){return this.get("map")}setMap(a){this.set("map",a)}map_changed(){_.Rk("streetview").then(a=>{a.yL(this)})}};Ns.prototype.setMap=Ns.prototype.setMap;Ns.prototype.getMap=Ns.prototype.getMap;Ns.prototype.constructor=Ns.prototype.constructor;_.gn(Ns.prototype,{map:_.xr});_.Sja={NEAREST:"nearest",BEST:"best"};_.Os=class{constructor(){this.qh=null}getPanorama(a,b){return _.Gp(this,a,b)}getPanoramaByLocation(a,b,c){return this.getPanorama({location:a,radius:b,preference:(b||0)<50?"best":"nearest"},c)}getPanoramaById(a,b){return this.getPanorama({pano:a},b)}};_.Os.prototype.getPanorama=_.Os.prototype.getPanorama;_.Ps={DEFAULT:"default",OUTDOOR:"outdoor",GOOGLE:"google"};_.tb(Jp,_.Jm);Jp.prototype.getTile=function(a,b,c){if(!a||!c)return null;var d=_.Ek("DIV");c={xj:a,zoom:b,Gj:null};d.__gmimt=c;_.Ko(this.qh,d);if(this.rh){let e=this.tileSize||new _.tn(256,256),f=this.sh(a,b);(c.Gj=this.rh({li:a.x,ni:a.y,wi:b},e,d,f,function(){_.Hm(d,"load")})).setOpacity(Ip(this))}return d};Jp.prototype.getTile=Jp.prototype.getTile;Jp.prototype.releaseTile=function(a){a&&this.qh.contains(a)&&(this.qh.remove(a),(a=a.__gmimt.Gj)&&a.release())};Jp.prototype.releaseTile=Jp.prototype.releaseTile; +Jp.prototype.opacity_changed=function(){var a=Ip(this);this.qh.forEach(b=>{b.__gmimt.Gj.setOpacity(a)})};Jp.prototype.triggersTileLoadEvent=!0;_.gn(Jp.prototype,{opacity:_.qr});_.tb(_.Kp,_.Jm);_.Kp.prototype.getTile=function(){return null};_.Kp.prototype.tileSize=new _.tn(256,256);_.Kp.prototype.triggersTileLoadEvent=!0;_.Kp.prototype.releaseTile=function(){};_.Qs=class extends _.Kp{getTile(){return null}releaseTile(){}constructor(a,b){super();this.radius=0;this.rh="roadmap";this.minZoom=0;this.maxZoom=20;this.alt=this.name="";this.projection=null;this.tileSize=new _.tn(256,256);this.Vk(a,b)}Vk(a,b){this.set("styles",a);a=b||{};this.rh=a.baseMapTypeId||"roadmap";this.minZoom=a.minZoom;this.maxZoom=a.maxZoom||20;this.name=a.name;this.alt=a.alt;this.tileSize=new _.tn(256,256)}};_.Qs.prototype.constructor=_.Qs.prototype.constructor; +_.Qs.prototype.releaseTile=_.Qs.prototype.releaseTile;_.Qs.prototype.getTile=_.Qs.prototype.getTile;_.Gl(_.Qs);var Rs=class{constructor(){this.logs=[]}log(){}hN(){return this.logs.map(this.qh).join("\n")}qh(a){return`${a.timestamp}: ${a.message}`}};Rs.prototype.getLogs=Rs.prototype.hN;_.Tja=new Rs;_.Uja={OK:"OK",CANCELLED:"CANCELLED",UNKNOWN:"UNKNOWN",INVALID_ARGUMENT:"INVALID_ARGUMENT",DEADLINE_EXCEEDED:"DEADLINE_EXCEEDED",NOT_FOUND:"NOT_FOUND",ALREADY_EXISTS:"ALREADY_EXISTS",PERMISSION_DENIED:"PERMISSION_DENIED",UNAUTHENTICATED:"UNAUTHENTICATED",RESOURCE_EXHAUSTED:"RESOURCE_EXHAUSTED",FAILED_PRECONDITION:"FAILED_PRECONDITION",ABORTED:"ABORTED",OUT_OF_RANGE:"OUT_OF_RANGE",UNIMPLEMENTED:"UNIMPLEMENTED",INTERNAL:"INTERNAL",UNAVAILABLE:"UNAVAILABLE",DATA_LOSS:"DATA_LOSS"};_.tb(Lp,_.Jm);_.gn(Lp.prototype,{attribution:()=>!0,place:()=>!0});var Zfa={ColorScheme:{LIGHT:"LIGHT",DARK:"DARK",FOLLOW_SYSTEM:"FOLLOW_SYSTEM"},ControlPosition:_.zp,LatLng:_.cm,LatLngBounds:_.bn,MVCArray:_.Rn,MVCObject:_.Jm,MapsRequestError:_.uq,MapsNetworkError:sq,MapsNetworkErrorEndpoint:{PLACES_NEARBY_SEARCH:"PLACES_NEARBY_SEARCH",PLACES_LOCAL_CONTEXT_SEARCH:"PLACES_LOCAL_CONTEXT_SEARCH",MAPS_MAX_ZOOM:"MAPS_MAX_ZOOM",DISTANCE_MATRIX:"DISTANCE_MATRIX",ELEVATION_LOCATIONS:"ELEVATION_LOCATIONS",ELEVATION_ALONG_PATH:"ELEVATION_ALONG_PATH",GEOCODER_GEOCODE:"GEOCODER_GEOCODE", +DIRECTIONS_ROUTE:"DIRECTIONS_ROUTE",PLACES_GATEWAY:"PLACES_GATEWAY",PLACES_DETAILS:"PLACES_DETAILS",PLACES_FIND_PLACE_FROM_PHONE_NUMBER:"PLACES_FIND_PLACE_FROM_PHONE_NUMBER",PLACES_FIND_PLACE_FROM_QUERY:"PLACES_FIND_PLACE_FROM_QUERY",PLACES_GET_PLACE:"PLACES_GET_PLACE",PLACES_GET_PHOTO_MEDIA:"PLACES_GET_PHOTO_MEDIA",PLACES_SEARCH_TEXT:"PLACES_SEARCH_TEXT",STREETVIEW_GET_PANORAMA:"STREETVIEW_GET_PANORAMA",PLACES_AUTOCOMPLETE:"PLACES_AUTOCOMPLETE",FLEET_ENGINE_LIST_DELIVERY_VEHICLES:"FLEET_ENGINE_LIST_DELIVERY_VEHICLES", +FLEET_ENGINE_LIST_TASKS:"FLEET_ENGINE_LIST_TASKS",FLEET_ENGINE_LIST_VEHICLES:"FLEET_ENGINE_LIST_VEHICLES",FLEET_ENGINE_GET_DELIVERY_VEHICLE:"FLEET_ENGINE_GET_DELIVERY_VEHICLE",FLEET_ENGINE_GET_TRIP:"FLEET_ENGINE_GET_TRIP",FLEET_ENGINE_GET_VEHICLE:"FLEET_ENGINE_GET_VEHICLE",FLEET_ENGINE_SEARCH_TASKS:"FLEET_ENGINE_SEARCH_TASKS",nR:"FLEET_ENGINE_GET_TASK_TRACKING_INFO",TIME_ZONE:"TIME_ZONE",ROUTES_COMPUTE_ROUTE_MATRIX:"ROUTES_COMPUTE_ROUTE_MATRIX",ROUTES_COMPUTE_ROUTES:"ROUTES_COMPUTE_ROUTES",ADDRESS_VALIDATION_FETCH_ADDRESS_VALIDATION:"ADDRESS_VALIDATION_FETCH_ADDRESS_VALIDATION", +WEATHER_CURRENT_CONDITIONS:"WEATHER_CURRENT_CONDITIONS",WEATHER_HISTORY_HOURS:"WEATHER_HISTORY_HOURS",WEATHER_FORECAST_DAYS:"WEATHER_FORECAST_DAYS",WEATHER_FORECAST_HOURS:"WEATHER_FORECAST_HOURS",PLACES_REVIEWS_SEARCH:"PLACES_REVIEWS_SEARCH",PLACES_MEDIA_SEARCH:"PLACES_MEDIA_SEARCH"},MapsServerError:_.vq,Point:_.pn,RPCStatus:_.Uja,Size:_.tn,UnitSystem:_.Np,Settings:bm,SymbolPath:uia,LatLngAltitude:_.Wn,Orientation3D:_.Fr,Vector3D:_.Gr,event:_.vr},$fa={BicyclingLayer:_.Or,Circle:_.Yn,Data:jn,GroundOverlay:_.Nr, +ImageMapType:Jp,KmlLayer:Fn,KmlLayerStatus:{UNKNOWN:"UNKNOWN",OK:"OK",INVALID_REQUEST:"INVALID_REQUEST",DOCUMENT_NOT_FOUND:"DOCUMENT_NOT_FOUND",FETCH_ERROR:"FETCH_ERROR",INVALID_DOCUMENT:"INVALID_DOCUMENT",DOCUMENT_TOO_LARGE:"DOCUMENT_TOO_LARGE",LIMITS_EXCEEDED:"LIMITS_EXCEEDED",TIMED_OUT:"TIMED_OUT"},Map:_.Bp,MapElement:rq,ZoomChangeEvent:Pja,MapTypeControlStyle:{DEFAULT:0,HORIZONTAL_BAR:1,DROPDOWN_MENU:2,INSET:3,INSET_LARGE:4},MapTypeId:_.hr,MapTypeRegistry:yp,MaxZoomService:Gs,MaxZoomStatus:{OK:"OK", +ERROR:"ERROR"},OverlayView:_.Is,Polygon:_.Ks,Polyline:_.Ls,Rectangle:_.Ms,RenderingType:Ds,StrokePosition:{CENTER:0,INSIDE:1,OUTSIDE:2,0:"CENTER",1:"INSIDE",2:"OUTSIDE"},StyledMapType:_.Qs,TrafficLayer:Pr,TransitLayer:Qr,FeatureType:lja,InfoWindow:_.Mr,WebGLOverlayView:_.xo},aga={DirectionsRenderer:_.on,DirectionsService:_.yr,DirectionsStatus:_.lia,DistanceMatrixService:_.Cr,DistanceMatrixStatus:_.oia,DistanceMatrixElementStatus:_.nia,TrafficModel:_.zr,TransitMode:_.Ar,TransitRoutePreference:_.Br, +TravelMode:_.Mp,VehicleType:_.mia},bga={ElevationService:_.Dr,ElevationStatus:_.pia},cga={Geocoder:Er,GeocoderLocationType:_.qia,ExtraGeocodeComputation:void 0,Containment:void 0,SpatialRelationship:void 0,GeocoderStatus:{OK:"OK",UNKNOWN_ERROR:"UNKNOWN_ERROR",OVER_QUERY_LIMIT:"OVER_QUERY_LIMIT",REQUEST_DENIED:"REQUEST_DENIED",INVALID_REQUEST:"INVALID_REQUEST",ZERO_RESULTS:"ZERO_RESULTS",ERROR:"ERROR"}},dga={StreetViewCoverageLayer:Ns,StreetViewPanorama:_.zs,StreetViewPreference:_.Sja,StreetViewService:_.Os, +StreetViewStatus:{OK:"OK",UNKNOWN_ERROR:"UNKNOWN_ERROR",ZERO_RESULTS:"ZERO_RESULTS"},StreetViewSource:_.Ps,InfoWindow:_.Mr,OverlayView:_.Is},ega={Animation:_.Rja,Marker:_.Lr,CollisionBehavior:_.Hr},gga=new Set("addressValidation airQuality drawing elevation geometry journeySharing maps3d marker places routes visualization weather".split(" ")),hga=new Set(["search"]);_.Sk("main",{});_.Ss=class extends _.ss{connectedCallback(){super.connectedCallback();this.isConnected&&this.dispatchEvent(new _.Vja((a,b)=>{this.rh(a,b)}))}};_.Vja=class extends Event{constructor(a){super("gmp-internal-connect",{bubbles:!0,composed:!0});this.qh=a}};_.qo=class extends Event{constructor(){super("gmp-error")}};_.mga=class extends Event{constructor(){super("gmp-load")}};var Ts=class extends _.rs{ti(){return(0,_.eq)`
+
${this.message}
+ ${this.qh===void 0?"":(0,_.eq)`
${this.qh}
`} +
`}};Ts.styles=[_.ns([":host(:not([hidden])){display:block}.container{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:8px;height:100%;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:12px;text-align:center}.message{color:#5e5e5e;font-size:.875rem}.message,.sub-message{font-family:Google Sans,Roboto,Arial,sans-serif;font-weight:500}.sub-message{color:#999;font-size:.75rem}"])];_.Kn("gmp-internal-loading-text",class extends Ts{constructor(){super(...arguments);this.message="Loading..."}});_.Us=class extends Ts{constructor(){super(...arguments);this.message="Oops! Something went wrong.";this.qh="Please see the developer console for technical details."}};_.Kn("gmp-internal-request-error-text",_.Us);_.Wja=class{constructor(a){this.host=a;this.options={};this.qh=_.ma(Promise,"withResolvers").call(Promise)}isVisible(a){var {inlineSize:b,blockSize:c}=a.contentBoxSize[0];return b>=(this.options.MT??1)&&c>=(this.options.LT??1)}};var Xja;_.Pp=class extends Error{constructor(){super(...arguments);this.name="AsyncRunPreemptedError"}};Xja=class{constructor(){this.qh=0}};_.Vs=class extends _.ss{constructor(a={}){super(a);this.uj=0;this.aE=!1;this.bH=new Xja;this.JQ=new _.Wja(this)}lz(a){return a}ti(){switch(this.uj){case 1:var a=this.oz();break;case 3:a=this.mz();break;case 2:a=this.av();break;default:a=this.wt()}return this.lz(a)}oz(){return(0,_.eq)` `}mz(){return(0,_.eq)` + + `}wt(){return(0,_.eq)``}};_.D([_.Fp(),_.F("design:type",Number)],_.Vs.prototype,"uj",void 0);var Yja;Yja=class extends Nja{};_.Ws=class extends Yja{constructor(a={}){super();this.element=$l("View","element",()=>_.Wl(_.Ul([_.Ol(HTMLElement,"HTMLElement"),_.Ol(SVGElement,"SVGElement")]))(a.element)||document.createElement("div"));this.yi(a,_.Ws,"View")}};_.Zja=_.Ml({center:a=>_.gm(a),radius:_.Yl},!0);_.Xs=_.Ml({lat:_.mr,lng:_.mr,altitude:_.Wl(_.mr)},!0);_.$ja=_.Ml({lat:_.mr,lng:_.mr,altitude:_.Wl(_.mr)},!0);_.Sp=_.Ul([_.Ol(_.Wn,"LatLngAltitude"),_.Ol(_.cm,"LatLng"),_.$ja]);var aka=class{constructor(a){this.qh=a||0}heading(){return this.qh}tilt(){return 45}toString(){return`${this.qh},45`}};var bka;bka=Math.sqrt(2);_.Up=class{constructor(a){this.xF=!0;this.rh=new _.Es;this.qh=new aka(a%360);this.sh=new _.pn(0,0)}fromLatLngToPoint(a,b){a=_.gm(a);b=this.rh.fromLatLngToPoint(a,b);nga(b,this.qh.heading());b.y=(b.y-128)/bka+128;return b}fromPointToLatLng(a,b=!1){var c=this.sh;c.x=a.x;c.y=(a.y-128)*bka+128;nga(c,360-this.qh.heading());return this.rh.fromPointToLatLng(c,b)}getPov(){return this.qh}};var oga=new _.Es;var Ys=_.Ua.google.maps,cka=Qk.getInstance(),dka=cka.ln.bind(cka);Ys.__gjsload__=dka;_.kl(Ys.modules,dka);delete Ys.modules;var vga=class extends _.L{constructor(a){super(a)}getName(){return _.I(this,1)}};var uga=_.pi(class extends _.L{constructor(a){super(a)}});var tga;var pga={};for(let a of wga()){var eka=a.getName(),fka;fka=_.Kg(a,2,_.Yf());pga[eka]=fka};var Yp=new Map;Yp.set("addressValidation",{gj:233048,hj:233049,jj:233047});Yp.set("airQuality",{gj:233051,hj:233052,jj:233050});Yp.set("adsense",{gj:233054,hj:233055,jj:233053});Yp.set("common",{gj:233057,hj:233058,jj:233056});Yp.set("controls",{gj:233060,hj:233061,jj:233059});Yp.set("data",{gj:233063,hj:233064,jj:233062});Yp.set("directions",{gj:233066,hj:233067,jj:233065});Yp.set("distance_matrix",{gj:233069,hj:233070,jj:233068});Yp.set("drawing",{gj:233072,hj:233073,jj:233071}); +Yp.set("drawing_impl",{gj:233075,hj:233076,jj:233074});Yp.set("elevation",{gj:233078,hj:233079,jj:233077});Yp.set("geocoder",{gj:233081,hj:233082,jj:233080});Yp.set("geometry",{gj:233084,hj:233085,jj:233083});Yp.set("imagery_viewer",{gj:233087,hj:233088,jj:233086});Yp.set("infowindow",{gj:233090,hj:233091,jj:233089});Yp.set("journeySharing",{gj:233093,hj:233094,jj:233092});Yp.set("kml",{gj:233096,hj:233097,jj:233095});Yp.set("layers",{gj:233099,hj:233100,jj:233098}); +Yp.set("log",{gj:233105,hj:233106,jj:233104});Yp.set("main",{gj:233108,hj:233109,jj:233107});Yp.set("map",{gj:233111,hj:233112,jj:233110});Yp.set("map3d_lite_wasm",{gj:233114,hj:233115,jj:233113});Yp.set("map3d_wasm",{gj:233117,hj:233118,jj:233116});Yp.set("map3d_wasm_geoxp",{gj:331557,hj:331558,jj:331559});Yp.set("maps3d",{gj:233120,hj:233121,jj:233119});Yp.set("marker",{gj:233123,hj:233124,jj:233122});Yp.set("maxzoom",{gj:233126,hj:233127,jj:233125});Yp.set("onion",{gj:233129,hj:233130,jj:233128}); +Yp.set("overlay",{gj:233132,hj:233133,jj:233131});Yp.set("panoramio",{gj:233135,hj:233136,jj:233134});Yp.set("places",{gj:233138,hj:233139,jj:233137});Yp.set("places_impl",{gj:233141,hj:233142,jj:233140});Yp.set("poly",{gj:233144,hj:233145,jj:233143});Yp.set("routes",{gj:256839,hj:256840,jj:256841});Yp.set("search",{gj:233147,hj:233148,jj:233146});Yp.set("search_impl",{gj:233150,hj:233151,jj:233149});Yp.set("streetview",{gj:233156,hj:233157,jj:233155});Yp.set("styleEditor",{gj:233159,hj:233160,jj:233158}); +Yp.set("util",{gj:233162,hj:233163,jj:233161});Yp.set("visualization",{gj:233165,hj:233166,jj:233164});Yp.set("visualization_impl",{gj:233168,hj:233169,jj:233167});Yp.set("weather",{gj:233171,hj:233172,jj:233170});Yp.set("webgl",{gj:233174,hj:233175,jj:233173});_.Zs=class{constructor(){this.token=`${_.Vm().replace(/-/g,"")}${Math.floor(Math.random()*2147483648).toString(36)+Math.abs(Math.floor(Math.random()*2147483648)^_.nb()).toString(36)}`.substring(0,36)}};_.Zs.prototype.qh=_.fa(36);_.Zs.prototype.constructor=_.Zs.prototype.constructor;_.$s=class{constructor(){this.Oi=this.Eh=""}get id(){return this.Eh}get resourceName(){return this.Oi}};_.at=class{constructor(a,b={}){this.options=b;this.qh={currencyCode:_.I(a,1),units:_.Rba(_.Bg(a,2)),nanos:_.zg(a,3)}}get currencyCode(){return this.qh.currencyCode}get units(){return this.qh.units}get nanos(){return this.qh.nanos}toString(){return(new Intl.NumberFormat(this.options.language?new Intl.Locale(this.options.language,{region:this.options.region??void 0}):void 0,{style:"currency",currency:this.currencyCode})).format(this.units+this.nanos/1E9)}toJSON(){return{currencyCode:this.currencyCode, +units:this.units,nanos:this.nanos}}};_.at.prototype.toString=_.at.prototype.toString;_.bt=class{constructor(a){this.qh={compoundCode:a.IH()||null,globalCode:a.NH()||null}}get compoundCode(){return this.qh.compoundCode}get globalCode(){return this.qh.globalCode}toJSON(){return{compoundCode:this.compoundCode,globalCode:this.globalCode}}};_.ct=class{constructor(a){this.qh=[];this.rh=[];this.zh=_.I(a,2)??"";this.th=_.I(a,3)||null;this.yh=_.I(a,4)||null;this.Ah=_.I(a,5)||null;this.sh=_.I(a,6)||null;this.wh=_.I(a,7)||null;this.Bh=_.I(a,8)||null;this.xh=_.I(a,11)||null;this.qh=_.Kg(a,9,_.Yf()).slice();this.rh=_.Kg(a,10,_.Yf()).slice()}get regionCode(){return this.zh}get languageCode(){return this.th}get postalCode(){return this.yh}get sortingCode(){return this.Ah}get administrativeArea(){return this.sh}get locality(){return this.wh}get sublocality(){return this.Bh}get addressLines(){return this.qh}get recipients(){return this.rh}get organization(){return this.xh}toJSON(){return{regionCode:this.zh, +languageCode:this.th,postalCode:this.yh,sortingCode:this.Ah,administrativeArea:this.sh,locality:this.wh,sublocality:this.Bh,addressLines:this.qh,recipients:this.rh,organization:this.xh}}};_.gka=_.Ml({regionCode:_.oq,languageCode:_.rr,postalCode:_.rr,sortingCode:_.rr,administrativeArea:_.rr,locality:_.rr,sublocality:_.rr,addressLines:_.Wl(_.Rl(_.tr)),recipients:xda,organization:xda});_.dt=class{constructor(a){this.qh={id:a.getId()||null,version:a.rh()||null}}get id(){return this.qh.id}get version(){return this.qh.version}toJSON(){return{id:this.id,version:this.version}}};_.et=class{};_.et.encodePath=function(a){a instanceof _.Rn&&(a=a.getArray());a=(0,_.ur)(a);return yga(a,function(b){return[Math.round(b.lat()*1E5),Math.round(b.lng()*1E5)]})};_.et.decodePath=_.zga;var ika,jka,Fga;_.hka=()=>(0,_.eq)``;ika=({className:a,fill:b})=>(0,_.eq)``; +jka=({className:a,fill:b,outline:c})=>(0,_.eq)``; +_.iq=({fill:a})=>(0,_.eq)``;Fga=({fill:a,outline:b})=>(0,_.eq)``; +_.fq=({ariaLabel:a,className:b})=>(0,_.eq)``;var kka=_.ns([":host(:not([hidden])){display:block;font-family:Google Sans Text,Roboto,Arial,sans-serif}.attribution-text{font-weight:400;white-space:nowrap}.attribution-text.font--body-small{font-size:12px;letter-spacing:.2px;line-height:1.3333333333}.attribution-text.font--body-medium{font-size:14px;font-style:normal;letter-spacing:.1px;line-height:1.1428571429}.container{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;line-height:0}.container>a{text-decoration:none}gmp-internal-dialog dialog{--gmp-internal-dialog-border-radius:var(--gmp-dialog-border-radius,28px);background-color:var(--gmp-mat-color-surface,light-dark(#fff,#131314));max-width:600px}gmp-internal-dialog dialog header .gm-ui-hover-effect>span{background-color:var(--gmp-mat-color-on-surface,light-dark(#1f1f1f,#e3e3e3))}@media (forced-colors:active){gmp-internal-dialog dialog header .gm-ui-hover-effect>span{background-color:ButtonText}}img{width:100%}svg{shape-rendering:geometricPrecision}.info-button{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;background:none;border:none;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;height:24px;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-margin-start:var(--gmp-mat-spacing-small,8px);-moz-margin-start:var(--gmp-mat-spacing-small,8px);margin-inline-start:var(--gmp-mat-spacing-small,8px);padding:0;padding-block:0;position:relative;width:24px}.info-button:focus-visible{outline:none}.info-button .tap-area{cursor:default;height:34px;left:50%;position:absolute;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:48px;z-index:0}.info-button.tap-area-expanded{height:48px;-webkit-margin-start:unset;-moz-margin-start:unset;margin-inline-start:unset;padding-block:4px;width:48px}.info-button.tap-area-expanded .tap-area{height:100%;width:100%}.info-button.tap-area-expanded .info-icon-container{height:34px;width:34px}.info-button.tap-area-expanded .info-icon-container svg{width:18px}.info-icon-container{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;border-radius:50%;cursor:pointer;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;height:24px;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;width:24px;z-index:1}.info-icon-container svg{width:15px;z-index:1}.info-icon-container:hover{background-color:color-mix(in srgb,var(--gmp-internal-attribution-color,light-dark(#5e5e5e,#fff)) 8%,transparent)}.info-button:focus-visible .info-icon-container{background-color:color-mix(in srgb,var(--gmp-internal-attribution-color,light-dark(#5e5e5e,#fff)) 10%,transparent)}"]);var ft=class extends _.rs{ti(){return(0,_.eq)``}focus(a){this.SK.focus(a)}};ft.styles=_.ns([":host button{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;background:none;border:none;color:light-dark(#1f1f1f,#e3e3e3);cursor:pointer;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;opacity:.6;padding:0}:host button:hover{color:light-dark(#000,#fff);opacity:1}:host button:dir(rtl) svg{-webkit-transform:scaleX(-1);transform:scaleX(-1)}"]); +_.D([_.Ep("button"),_.F("design:type",HTMLButtonElement)],ft.prototype,"SK",void 0);_.Kn("gmp-internal-back-button",ft);var lka=(0,_.Qi)`dialog.zlDrU-basic-dialog-element::backdrop{background-color:#202124}@supports ((-webkit-backdrop-filter:blur(3px)) or (backdrop-filter:blur(3px))){dialog.zlDrU-basic-dialog-element::backdrop{background-color:rgba(32,33,36,.7);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}}dialog[open].zlDrU-basic-dialog-element{display:flex;flex-direction:column}dialog.zlDrU-basic-dialog-element{border:none;border-radius:var(--gmp-internal-dialog-border-radius,28px);box-sizing:border-box;padding:20px 8px 8px}dialog.zlDrU-basic-dialog-element header{align-items:center;display:flex;gap:16px;justify-content:space-between;margin-bottom:20px;padding:0 16px}dialog.zlDrU-basic-dialog-element header h2{font-family:Google Sans,Roboto,Arial,sans-serif;line-height:28px;font-size:22px;letter-spacing:0;font-weight:400;color:light-dark(#3c4043,#e8eaed);flex:1;margin:0}dialog.zlDrU-basic-dialog-element .unARub-basic-dialog-element--content{display:flex;font-family:Roboto,Arial,sans-serif;font-size:13px;justify-content:center;padding:0 16px 16px;overflow:auto}\n`;var mka={"close.svg":"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M19%206.41%2017.59%205%2012%2010.59%206.41%205%205%206.41%2010.59%2012%205%2017.59%206.41%2019%2012%2013.41%2017.59%2019%2019%2017.59%2013.41%2012z%22/%3E%3Cpath%20fill%3D%22none%22%20d%3D%22M0%200h24v24H0z%22/%3E%3C/svg%3E"};var nka=(0,_.Qi)`.gm-ui-hover-effect{opacity:.6}.gm-ui-hover-effect:hover{opacity:1}.gm-ui-hover-effect\u003espan{background-color:light-dark(#000,#fff)}@media (forced-colors:active),(prefers-contrast:more){.gm-ui-hover-effect\u003espan{background-color:ButtonText}}sentinel{}\n`;var kt;_.gt=(a,{root:b=document.head,Jz:c}={})=>{c&&(a=a.replace(/(\W)left(\W)/g,"$1`$2").replace(/(\W)right(\W)/g,"$1left$2").replace(/(\W)`(\W)/g,"$1right$2"));c=_.eda("STYLE");c.appendChild(document.createTextNode(a));(a=Aba("style",document))&&c.setAttribute("nonce",a);b.insertBefore(c,b.firstChild);return c};_.ht=(a,b={})=>{a=_.Li(a);_.gt(a,b)};_.jt=(a,b,c=!1)=>{b=b.getRootNode?b.getRootNode():document;b=b.head||b;var d=_.oka(b);d.has(a)||(d.add(a),_.ht(a,{root:b,Jz:c}))};kt=new WeakMap; +_.oka=a=>{kt.has(a)||kt.set(a,new WeakSet);return kt.get(a)};_.pka=RegExp("[\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc]");_.qka=RegExp("[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]");_.rka=RegExp("^[^A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]*[\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc]"); +_.ska=RegExp("[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\uffff][^\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc]*$");_.tka=RegExp("[\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc][^A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]*$");var wka,xka,yka;wka=new _.pn(12,12);xka=new _.tn(13,13);yka=new _.pn(0,0); +_.cq=class extends _.Ws{constructor(a){var b=$l("CloseButtonView","element",()=>_.Wl(_.Ol(HTMLButtonElement,"HTMLButtonElement"))(a.element)||_.$p(a.label||"Close"));a={...a,element:b};super(a);this.Xs=a.Xs||wka;this.Eu=a.Eu||xka;this.label=a.label||"Close";this.ownerElement=a.ownerElement;this.mF=a.mF||!1;this.offset=a.offset||yka;a.mF||(this.element.style.position="absolute",this.element.style.top=_.vl(this.offset.y),this.element.style.right=_.vl(this.offset.x));b=new _.tn(this.Eu.width+2*this.Xs.x, +this.Eu.height+2*this.Xs.y);_.dp(this.element,b);_.jt(nka,this.ownerElement);this.element.classList.add("gm-ui-hover-effect");b=document.createElement("span");b.style.setProperty("mask-image",`url("${mka["close.svg"]}")`);b.style.pointerEvents="none";b.style.display="block";_.dp(b,this.Eu);b.style.margin=`${this.Xs.y}px ${this.Xs.x}px`;this.element.appendChild(b);this.yi(a,_.cq,"CloseButtonView")}};var Aga=new Set;Aga.add("gm-style-iw-a");_.gq=class extends HTMLElement{constructor(a){super();this.options=a;this.sh=!1;this.dj=document.createElement("dialog");this.rh=document.createElement("header");this.qh=new ft;this.dj.addEventListener("close",()=>{this.dispatchEvent(new Event("close"));this.qh.remove()});this.dj.addEventListener("click",b=>{if(b.target===this.dj){let c=this.dj.getBoundingClientRect();c.top<=b.clientY&&b.clientY<=c.bottom&&c.left<=b.clientX&&b.clientX<=c.right||this.close()}});this.qh.addEventListener("click",()=> +{this.dispatchEvent(new Event("gmp-internal-back",{bubbles:!0,composed:!0}));this.qh.remove()});this.addEventListener("gmp-internal-next",b=>{b.stopPropagation();Bga(this)})}connectedCallback(){if(!this.sh){this.dj.ariaLabel=this.options.title;this.dj.append(Cga(this));var a=this.dj,b=a.append;let c=document.createElement("div");_.bq(c,"basic-dialog-element--content");c.appendChild(this.options.content);b.call(a,c);this.append(this.dj);_.bq(this.dj,"basic-dialog-element");_.jt(lka,this);this.sh=!0}}close(){this.dj.close()}}; +_.Kn("gmp-internal-dialog",_.gq);var zka=_.ns([".disclosure-container{font-size:16px}.slot-container{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1;gap:var(--gmp-mat-spacing-medium,12px)}.content,.slot-container{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.content{color:var(--gmp-mat-color-on-surface,light-dark(#1f1f1f,#e3e3e3))}.content .description{font:var(--gmp-mat-font-body-medium,normal 400 .875em/1.4285714286 var(--gmp-mat-font-family,Google Sans Text,sans-serif));letter-spacing:.0071428571em;margin-top:var(--gmp-mat-spacing-small,8px)}.content .heading{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;font:var(--gmp-mat-font-headline-medium,normal 500 1.125em/1.3333333333 var(--gmp-mat-font-family,Google Sans Text,sans-serif));letter-spacing:0;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.content .heading span{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1}.content .heading:dir(rtl) svg{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.content .heading svg path{fill:var(--gmp-mat-color-on-surface,light-dark(#1f1f1f,#e3e3e3))}.content .link-item{font:var(--gmp-mat-font-label-large,normal 500 .875em/1.4285714286 var(--gmp-mat-font-family,Google Sans Text,sans-serif));letter-spacing:.0071428571em;padding:var(--gmp-mat-spacing-extra-small,4px) 0;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.content .link-item a{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;color:var(--gmp-mat-color-primary,light-dark(#007b8b,#58b9ca));display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;gap:var(--gmp-mat-spacing-extra-small,4px);padding-block:10px;padding-inline:0 12px;text-decoration:none}.content .link-item a .icon-container{height:1em;width:1em}.content .link-item a .icon-container svg path{fill:var(--gmp-mat-color-primary,light-dark(#007b8b,#58b9ca))}.content .links{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;gap:var(--gmp-mat-spacing-small,8px)}.content.no-links{margin-bottom:var(--gmp-mat-spacing-small,8px)}"]);var lt=a=>(...b)=>({_$litDirective$:a,values:b}),mt=class{get zr(){return this.qh.zr}hL(a,b,c){this.wh=a;this.qh=b;this.th=c}iL(a,b){return this.update(a,b)}update(a,b){return this.ti(...b)}};/* + + Copyright 2018 Google LLC + SPDX-License-Identifier: BSD-3-Clause +*/ +_.mq=lt(class extends mt{constructor(a){super();if(a.type!==1||a.name!=="class"||a.yl?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");}ti(a){return" "+Object.keys(a).filter(b=>a[b]).join(" ")+" "}update(a,[b]){if(this.rh===void 0){this.rh=new Set;a.yl!==void 0&&(this.sh=new Set(a.yl.join(" ").split(/\s/).filter(d=>d!=="")));for(let d in b)b[d]&&!this.sh?.has(d)&&this.rh.add(d);return this.ti(b)}a=a.element.classList;for(var c of this.rh)c in +b||(a.remove(c),this.rh.delete(c));for(let d in b)c=!!b[d],c===this.rh.has(d)||this.sh?.has(d)||(c?(a.add(d),this.rh.add(d)):(a.remove(d),this.rh.delete(d)));return go}});_.nt=class extends _.rs{ti(){return(0,_.eq)` +
+
+ +
+
+ `}};_.nt.styles=zka;_.D([_.Dp({Kh:!1}),_.F("design:type",String)],_.nt.prototype,"heading",void 0);_.D([_.Dp({Kh:!1}),_.F("design:type",String)],_.nt.prototype,"description",void 0);_.D([_.Dp({Kh:!1}),_.F("design:type",String)],_.nt.prototype,"href",void 0);_.ot=class extends _.rs{constructor(){super(...arguments);this.links=[];this.showAccessoryIcon=!1}ti(){var a=Dga(this),b=(0,_.mq)({content:!0,"no-links":!a});return(0,_.eq)` +
+ ${this.heading?(0,_.eq)`
+ ${this.heading} + ${this.showAccessoryIcon?(0,_.eq)`${(0,_.eq)``}`:""} +
`:""} + ${this.description?(0,_.eq)`
${this.description}
`:""} + ${a?(0,_.eq)``:""} + +
+ `}};_.ot.styles=zka;_.D([_.Dp({Kh:!1}),_.F("design:type",String)],_.ot.prototype,"heading",void 0);_.D([_.Dp({Kh:!1}),_.F("design:type",String)],_.ot.prototype,"description",void 0);_.D([_.Dp({Kh:!1}),_.F("design:type",Array)],_.ot.prototype,"links",void 0);_.D([_.Dp({Kh:!1}),_.F("design:type",Object)],_.ot.prototype,"showAccessoryIcon",void 0);_.Kn("gmp-internal-disclosure",_.nt);_.Kn("gmp-internal-disclosure-section",_.ot);_.Aka=(0,_.eq)` + + +`;_.pt=lt(class extends mt{constructor(a){super();if(a.type!==1||a.name!=="style"||a.yl?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.");}ti(a){return Object.keys(a).reduce((b,c)=>{var d=a[c];if(d==null)return b;c=c.includes("-")?c:c.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase();return b+`${c}:${d};`},"")}update(a,[b]){a=a.element.style;this.rh===void 0&&(this.rh=new Set);for(var c of this.rh)b[c]== +null&&(this.rh.delete(c),c.includes("-")?a.removeProperty(c):a[c]=null);for(let d in b)if(c=b[d],c!=null){this.rh.add(d);let e=typeof c==="string"&&c.endsWith(" !important");d.includes("-")||e?a.setProperty(d,e?c.slice(0,-11):c,e?"important":""):a[d]=c}return go}});_.qt=class extends _.rs{constructor(){super();this.attributionType="LOGO";this.infoButtonTapAreaExpanded=!1;this.logoColorOptions={Ky:"#5e5e5e",Lx:"#fff"};this.showTermsOfService=this.showInfoButton=!0;this.disclosureContent=[];this.attributionText="Google Maps";this.attributionFont="BODY_SMALL";this.moreInfoButtonTitle="About Google Maps content";this.logoLinkOptions=void 0;this.rh=new _.nt;this.qh=Ega(this);_.Rk("util").then(a=>{a.Br()})}Ck(a){if(a.has("showTermsOfService")||a.has("disclosureContent"))a= +[...this.disclosureContent],this.showTermsOfService&&a.push(_.Aka),_.ks((0,_.eq)`${a}`,this.rh)}ti(){var a=this.logoColorOptions.Ky||"#5e5e5e",b=this.logoColorOptions.Lx||"#fff",c=hq(a),d=hq(b),e=this.attributionText!=="Google Maps"?{}:{"--gmp-internal-attribution-color":`light-dark(${this.logoColorOptions.Ky||"#5e5e5e"}, ${this.logoColorOptions.Lx||"#fff"})`};switch(this.attributionType){case "LOGO":a=ika({className:"attribution__logo--default",fill:`light-dark(${a}, ${b})`});break;case "LOGO_OUTLINE":a= +jka({className:"attribution__logo--outline",fill:`light-dark(${a}, ${b})`,outline:`light-dark(${c}, ${d})`});break;default:a=(0,_.eq)` ${this.attributionText}`}this.logoLinkOptions&&(a=(0,_.eq)` + ${a} + `);b=Gga(this,this.qh);return(0,_.eq)`
+ ${a}${b}
${this.qh}`}};_.qt.styles=kka;_.D([_.Dp({Kh:!1}),_.F("design:type",String)],_.qt.prototype,"attributionType",void 0);_.D([_.Dp({Kh:!1}),_.F("design:type",Object)],_.qt.prototype,"infoButtonTapAreaExpanded",void 0);_.D([_.Dp({Kh:!1}),_.F("design:type",Object)],_.qt.prototype,"logoColorOptions",void 0);_.D([_.Dp({Kh:!1}),_.F("design:type",Object)],_.qt.prototype,"showInfoButton",void 0);_.D([_.Dp({Kh:!1}),_.F("design:type",Object)],_.qt.prototype,"showTermsOfService",void 0); +_.D([_.Dp({Kh:!1}),_.F("design:type",Array)],_.qt.prototype,"disclosureContent",void 0);_.D([_.Dp({Kh:!1}),_.F("design:type",Object)],_.qt.prototype,"attributionText",void 0);_.D([_.Dp({Kh:!1}),_.F("design:type",Object)],_.qt.prototype,"attributionFont",void 0);_.D([_.Dp({Kh:!1}),_.F("design:type",String)],_.qt.prototype,"moreInfoButtonTitle",void 0);_.D([_.Dp({Kh:!1}),_.F("design:type",Object)],_.qt.prototype,"logoLinkOptions",void 0);_.Kn("gmp-internal-attribution",_.qt);var Bka=class{constructor(a={}){this.headers={["X-Goog-Api-Key"]:_.Tk?.th()||"",["Content-Type"]:"application/json+protobuf",["X-Goog-Maps-Channel-Id"]:_.Tk?.zh()||"",...a}}};var Cka=class extends Bka{constructor(){super({})}intercept(a,b){Lga(this,a);return b(a)}};_.rt=class extends Bka{constructor(a={}){super(a)}async intercept(a,b){Lga(this,a);await Nga(a);return b(a)}};_.st=class{constructor(){this.qh=new (this.th())(this.sh(),null,{withCredentials:!1,yF:_.Fl("gInternalNoCorsPreflightForTesting")==="true",IF:this.rh(),wF:this.wh()})}rh(){return[new _.rt]}wh(){return[new Cka]}};_.tt=new Map;_.ut=new Map;_.vt=document.createElement("canvas");/* + + Copyright 2020 Google LLC + SPDX-License-Identifier: BSD-3-Clause +*/ +var Dka={};_.Eka=lt(class extends mt{constructor(){super(...arguments);this.key=_.fs}ti(a,b){this.key=a;return b}update(a,[b,c]){b!==this.key&&(a.qk=Dka,this.key=b);return c}});Symbol.for("");var qga=arguments[0],$ga=new _.Tj;_.Ua.google.maps.Load&&_.Ua.google.maps.Load(Zga);}).call(this,{}); + diff --git a/resources/views/account/layout/app.blade.php b/resources/views/account/layout/app.blade.php index 9a843f9..b83ab3c 100644 --- a/resources/views/account/layout/app.blade.php +++ b/resources/views/account/layout/app.blade.php @@ -20,9 +20,7 @@

- {{Auth::user()->first_name}} - {{Auth::user()->last_name}} -

+ {{Auth::user()->email}} diff --git a/resources/views/account/users/comments/index.blade.php b/resources/views/account/users/comments/index.blade.php index ae7d7d6..031976b 100644 --- a/resources/views/account/users/comments/index.blade.php +++ b/resources/views/account/users/comments/index.blade.php @@ -8,15 +8,12 @@
-
@include('account.layout.app')
- -
@@ -24,41 +21,28 @@ - - @if($comments->count()) -
- @foreach($comments as $comment) - -
-
-
-

{{ $comment->tour->title ?? 'مورد حذف شده' }}

- - {{ $comment->created_at->format('Y/m/d') }}
-
- @if($comment->status == 1) @@ -66,7 +50,6 @@ @else - در انتظار تایید @@ -75,54 +58,32 @@
-
- -
{{ $comment->body }}
-
- @endforeach - -
- - @else -
- -

هنوز نظری ثبت نکرده‌اید.

- - @endif - -
- -
- - - - @endsection diff --git a/resources/views/account/users/favorite/index.blade.php b/resources/views/account/users/favorite/index.blade.php index 843ba48..a4b6003 100644 --- a/resources/views/account/users/favorite/index.blade.php +++ b/resources/views/account/users/favorite/index.blade.php @@ -8,41 +8,30 @@
-
@include('account.layout.app')
- -
- -
-
- @endsection diff --git a/resources/views/account/users/profile/edit.blade.php b/resources/views/account/users/profile/edit.blade.php index 476036f..5035567 100644 --- a/resources/views/account/users/profile/edit.blade.php +++ b/resources/views/account/users/profile/edit.blade.php @@ -7,8 +7,7 @@
- {{-- Sidebar --}} -
+
@@ -17,8 +16,6 @@
- - {{-- Profile --}}
- @if(session('success'))
{{ session('success') }} @@ -59,9 +55,7 @@ @csrf @method('PUT') - - {{-- Personal Information --}} -