//! Copyright (c) JS Foundation and other contributors
//! license : MIT
//! github.com/moment/moment-timezone
(function(z,b){M.exports?M.exports=b(L3):b(z.moment)})(u3,function(z){z.version===void0&&z.default&&(z=z.default);varb="0.5.48",p={},O={},A={},o={},e={},r;(!z||typeofz.version!="string")&&e0("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");varL=z.version.split("."),y=+L[0],v=+L[1];(y<2||y===2&&v<6)&&e0("Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js "+z.version+". See momentjs.com");functionH(c){returnc>96?c-87:c>64?c-29:c-48}functionG1(c){varq=0,W=c.split("."),a=W[0],t=W[1]||"",N=1,C,X=0,_=1;for(c.charCodeAt(0)===45&&(q=1,_=-1),q;q<a.length;q++)C=H(a.charCodeAt(q)),X=60*X+C;for(q=0;q<t.length;q++)N=N/60,C=H(t.charCodeAt(q)),X+=C*N;returnX*_}functionU0(c){for(varq=0;q<c.length;q++)c[q]=G1(c[q])}function$2(c,q){for(varW=0;W<q;W++)c[W]=Math.round((c[W-1]||0)+c[W]*6e4);c[q-1]=1/0}functionj1(c,q){varW=[],a;for(a=0;a<q.length;a++)W[a]=c[q[a]];returnW}functionK1(c){varq=c.split("|"),W=q[2].split(" "),a=q[3].split(""),t=q[4].split(" ");returnU0(W),U0(a),U0(t),$2(t,a.length),{name:q[0],abbrs:j1(q[1].split(" "),a),offsets:j1(W,a),untils:t,population:q[5]|0}}functionT0(c){c&&this._set(K1(c))}functionMM(c,q){varW=q.length;if(c<q[0])return0;if(W>1&&q[W-1]===1/0&&c>=q[W-2])returnW-1;if(c>=q[W-1])return-1;for(vara,t=0,N=W-1;N-t>1;)a=Math.floor((t+N)/2),q[a]<=c?t=a:N=a;returnN}T0.prototype={_set:function(c){this.name=c.name,this.abbrs=c.abbrs,this.untils=c.untils,this.offsets=c.offsets,this.population=c.population},_index:function(c){varq=+c,W=this.untils,a;if(a=MM(q,W),a>=0)returna},countries:function(){varc=this.name;returnObject.keys(A).filter(function(q){returnA[q].zones.indexOf(c)!==-1})},parse:function(c){varq=+c,W=this.offsets,a=this.untils,t=a.length-1,N,C,X,_;for(_=0;_<t;_++)if(N=W[_],C=W[_+1],X=W[_&&_-1],N<C&&T.moveAmbiguousForward?N=C:N>X&&T.moveInvalidForward&&(N=X),q<a[_]-N*6e4)returnW[_];returnW[t]},abbr:function(c){returnthis.abbrs[this._index(c)]},offset:function(c){returne0("zone.offset has been deprecated in favor of zone.utcOffset"),this.offsets[this._index(c)]},utcOffset:function(c){returnthis.offsets[this._index(c)]}};functionzM(c,q){this.name=c,this.zones=q}functiont0(c){varq=c.toTimeString(),W=q.match(/\([a-z ]+\)/i);W&&W[0]?(W=W[0].match(/[A-Z]/g),W=W?W.join(""):void0):(W=q.match(/[A-Z]{3,5}/g),W=W?W[0]:void0),W==="GMT"&&(W=void0),this.at=+c,this.abbr=W,this.offset=c.getTimezoneOffset()}functionV1(c){this.zone=c,this.offsetScore=0,this.abbrScore=0}V1.prototype.scoreOffsetAt=function(c){this.offsetScore+=Math.abs(this.zone.utcOffset(c.at)-c.offset),this.zone.abbr(c.at).replace(/[^A-Z]/g,"")!==c.abbr&&this.abbrScore++};functionbM(c,q){for(varW,a;a=((q.at-c.at)/12e4|0)*6e4;)W=newt0(newDate(c.at+a)),W.offset===c.offset?c=W:q=W;returnc}functionpM(){varc=newDate().getFullYear()-2,q=newt0(newDate(c,0,1)),W=q.offset,a=[q],t,N,C,X;for(X=1;X<48;X++)C=newDate(c,X,1).getTimezoneOffset(),C!==W&&(N=newt0(newDate(c,X,1)),t=bM(q,N),a.push(t),a.push(newt0(newDate(t.at+6e4))),q=N,W=C);for(X=0;X<4;X++)a.push(newt0(newDate(c+X,0,1))),a.push(newt0(newDate(c+X,6,1)));returna}functionOM(c,q){returnc.offsetScore!==q.offsetScore?c.offsetScore-q.offsetScore:c.abbrScore!==q.abbrScore?c.abbrScore-q.abbrScore:c.zone.population!==q.zone.population?q.zone.population-c.zone.population:q.zone.name.localeCompare(c.zone.name)}functionAM(c,q){varW,a;for(U0(q),W=0;W<q.length;W++)a=q[W],e[a]=e[a]||{},e[a][c]=!0}functioncM(c){varq=c.length,W={},a=[],t={},N,C,X,_;for(N=0;N<q;N++)if(X=c[N].offset,!t.hasOwnProperty(X)){_=e[X]||{};for(Cin_)_.hasOwnProperty(C)&&(W[C]=!0);t[X]=!0}for(NinW)W.hasOwnProperty(N)&&a.push(o[N]);returna}functionoM(){try{varc=Intl.DateTimeFormat().resolvedOptions().timeZone;if(c&&c.length>3){varq=o[m0(c)];if(q)returnq;e0("Moment Timezone found "+c+" from the Intl api, but did not have that data loaded.")}}catch{}varW=pM(),a=W.length,t=cM(W),N=[],C,X,_;for(X=0;X<t.length;X++){for(C=newV1(V(t[X])),_=0;_<a;_++)C.scoreOffsetAt(W[_]);N.push(C)}returnN.sort(OM),N.length>0?N[0].zone.name: