PageSourceSearch

https://www.datanyze.com/dn-website/chunk-6LMEUQ2F.js

js datanyze.com collected 2026-09-24 06:50:46 UTC 132,232 bytes, 10 lines download raw bytes

vendor: 1,845 bytes, line 1
1import{Kb as Er,Lb as Sr,Lc as It,Vb as xa,W as yr,Z as Dn,a as _r,c as Oa,cb as ka,f as Sl,h as Tl,qc as Da}from"./chunk-PJFFJJEK.js";var Ra=Sl((Rn,mt)=>{(function(t,n){typeof Rn=="object"&&typeof mt<"u"?mt.exports=n():typeof define=="function"&&define.amd?define(n):t.moment=n()})(Rn,function(){"use strict";var t;function n(){return t.apply(null,arguments)}function i(e){t=e}function o(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function u(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function f(e,r){return Object.prototype.hasOwnProperty.call(e,r)}function d(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var r;for(r in e)if(f(e,r))return!1;return!0}function h(e){return e===void 0}function m(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function p(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function T(e,r){var a=[],s,c=e.length;for(s=0;s<c;++s)a.push(r(e[s],s));return a}function g(e,r){for(var a in r)f(r,a)&&(e[a]=r[a]);return f(r,"toString")&&(e.toString=r.toString),f(r,"valueOf")&&(e.valueOf=r.valueOf),e}function w(e,r,a,s){return ra(e,r,a,s,!0).utc()}function C(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function b(e){return e._pf==null&&(e._pf=C()),e._pf}var z;Array.prototype.some?z=Array.prototype.some:z=function(e){var r=Object(this),a=r.length>>>0,s;for(s=0;s<a;s++)if(s in r&&e.call(this,r[s],s,r))return!0;return!1};function E(e){var r=null,a=!1,s=e._d&&!isNaN(e._d.getTime());if(s&&(r=b(e),a=z.call(r.parsedDateParts,function(c){return c!=null}
vendor: 59,823 bytes, lines 1-4
1),s=r.overflow<0&&!r.empty&&!r.invalidEra&&!r.invalidMonth&&!r.invalidWeekday&&!r.weekdayMismatch&&!r.nullInput&&!r.invalidFormat&&!r.userInvalidated&&(!r.meridiem||r.meridiem&&a),e._strict&&(s=s&&r.charsLeftOver===0&&r.unusedTokens.length===0&&r.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=s;else return s;return e._isValid}function k(e){var r=w(NaN);return e!=null?g(b(r),e):b(r).userInvalidated=!0,r}var M=n.momentProperties=[],_e=!1;function he(e,r){var a,s,c,l=M.length;if(h(r._isAMomentObject)||(e._isAMomentObject=r._isAMomentObject),h(r._i)||(e._i=r._i),h(r._f)||(e._f=r._f),h(r._l)||(e._l=r._l),h(r._strict)||(e._strict=r._strict),h(r._tzm)||(e._tzm=r._tzm),h(r._isUTC)||(e._isUTC=r._isUTC),h(r._offset)||(e._offset=r._offset),h(r._pf)||(e._pf=b(r)),h(r._locale)||(e._locale=r._locale),l>0)for(a=0;a<l;a++)s=M[a],c=r[s],h(c)||(e[s]=c);return e}function Se(e){he(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),_e===!1&&(_e=!0,n.updateOffset(this),_e=!1)}function X(e){return e instanceof Se||e!=null&&e._isAMomentObject!=null}function W(e){n.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+e)}function le(e,r){var a=!0;return g(function(){if(n.deprecationHandler!=null&&n.deprecationHandler(null,e),a){var s=[],c,l,v,S=arguments.length;for(l=0;l<S;l++){if(c="",typeof arguments[l]=="object"){c+=`
2[`+l+"] ";for(v in arguments[0])f(arguments[0],v)&&(c+=v+": "+arguments[0][v]+", ");c=c.slice(0,-2)}else c=arguments[l];s.push(c)}W(e+`
3Arguments: `+Array.prototype.slice.call(s).join("")+`
4`+new Error().stack),a=!1}return r.apply(this,arguments)},r)}var Ii={};function Ni(e,r){n.deprecationHandler!=null&&n.deprecationHandler(e,r),Ii[e]||(W(r),Ii[e]=!0)}n.suppressDeprecationWarnings=!1,n.deprecationHandler=null;function Te(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function Ts(e){var r,a;for(a in e)f(e,a)&&(r=e[a],Te(r)?this[a]=r:this["_"+a]=r);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function Qr(e,r){var a=g({},e),s;for(s in r)f(r,s)&&(u(e[s])&&u(r[s])?(a[s]={},g(a[s],e[s]),g(a[s],r[s])):r[s]!=null?a[s]=r[s]:delete a[s]);for(s in e)f(e,s)&&!f(r,s)&&u(e[s])&&(a[s]=g({},a[s]));return a}function en(e){e!=null&&this.set(e)}var tn;Object.keys?tn=Object.keys:tn=function(e){var r,a=[];for(r in e)f(e,r)&&a.push(r);return a};var ws={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function bs(e,r,a){var s=this._calendar[e]||this._calendar.sameElse;return Te(s)?s.call(r,a):s}function we(e,r,a){var s=""+Math.abs(e),c=r-s.length,l=e>=0;return(l?a?"+":"":"-")+Math.pow(10,Math.max(0,c)).toString().substr(1)+s}var rn=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Jt=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,nn={},at={};function x(e,r,a,s){var c=s;typeof s=="string"&&(c=function(){return this[s]()}),e&&(at[e]=c),r&&(at[r[0]]=function(){return we(c.apply(this,arguments),r[1],r[2])}),a&&(at[a]=function(){return this.localeData().ordinal(c.apply(this,arguments),e)})}function Os(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function ks(e){var r=e.match(rn),a,s;for(a=0,s=r.length;a<s;a++)at[r[a]]?r[a]=at[r[a]]:r[a]=Os(r[a]);return function(c){var l="",v;for(v=0;v<s;v++)l+=Te(r[v])?r[v].call(c,e):r[v];return l}}function Qt(e,r){return e.isValid()?(r=Ai(r,e.localeData()),nn[r]=nn[r]||ks(r),nn[r](e)):e.localeData().invalidDate()}function Ai(e,r){var a=5;function s(c){return r.longDateFormat(c)||c}for(Jt.lastIndex=0;a>=0&&Jt.test(e);)e=e.replace(Jt,s),Jt.lastIndex=0,a-=1;return e}var xs={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function Ds(e){var r=this._longDateFormat[e],a=this._longDateFormat[e.toUpperCase()];return r||!a?r:(this._longDateFormat[e]=a.match(rn).map(function(s){return s==="MMMM"||s==="MM"||s==="DD"||s==="dddd"?s.slice(1):s}).join(""),this._longDateFormat[e])}var Ms="Invalid date";function Rs(){return this._invalidDate}var Cs="%d",Is=/\d{1,2}/;function Ns(e){return this._ordinal.replace("%d",e)}var As={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Ls(e,r,a,s){var c=this._relativeTime[a];return Te(c)?c(e,r,a,s):c.replace(/%d/i,e)}function Ps(e,r){var a=this._relativeTime[e>0?"future":"past"];return Te(a)?a(r):a.replace(/%s/i,r)}var Li={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function ve(e){return typeof e=="string"?Li[e]||Li[e.toLowerCase()]:void 0}function an(e){var r={},a,s;for(s in e)f(e,s)&&(a=ve(s),a&&(r[a]=e[s]));return r}var Us={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function Ys(e){var r=[],a;for(a in e)f(e,a)&&r.push({unit:a,priority:Us[a]});return r.sort(function(s,c){return s.priority-c.priority}),r}var Pi=/\d/,me=/\d\d/,Ui=/\d{3}/,on=/\d{4}/,er=/[+-]?\d{6}/,H=/\d\d?/,Yi=/\d\d\d\d?/,Fi=/\d\d\d\d\d\d?/,tr=/\d{1,3}/,sn=/\d{1,4}/,rr=/[+-]?\d{1,6}/,ot=/\d+/,nr=/[+-]?\d+/,Fs=/Z|[+-]\d\d:?\d\d/gi,ir=/Z|[+-]\d\d(?::?\d\d)?/gi,Ws=/[+-]?\d+(\.\d{1,3})?/,wt=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,st=/^[1-9]\d?/,un=/^([1-9]\d|\d)/,ar;ar={};function O(e,r,a){ar[e]=Te(r)?r:function(s,c){return s&&a?a:r}}function Hs(e,r){return f(ar,e)?ar[e](r._strict,r._locale):new RegExp(Vs(e))}function Vs(e){return xe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(r,a,s,c,l){return a||s||c||l}))}function xe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ge(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function I(e){var r=+e,a=0;return r!==0&&isFinite(r)&&(a=ge(r)),a}var fn={};function U(e,r){var a,s=r,c;for(typeof e=="string"&&(e=[e]),m(r)&&(s=function(l,v){v[r]=I(l)}),c=e.length,a=0;a<c;a++)fn[e[a]]=s}function bt(e,r){U(e,function(a,s,c,l){c._w=c._w||{},r(a,c._w,c,l)})}function js(e,r,a){r!=null&&f(fn,e)&&fn[e](r,a._a,a,e)}function or(e){return e%4===0&&e%100!==0||e%400===0}var ne=0,De=1,be=2,Z=3,ye=4,Me=5,$e=6,Bs=7,Gs=8;x("Y",0,0,function(){var e=this.year();return e<=9999?we(e,4):"+"+e}),x(0,["YY",2],0,function(){return this.year()%100}),x(0,["YYYY",4],0,"year"),x(0,["YYYYY",5],0,"year"),x(0,["YYYYYY",6,!0],0,"year"),O("Y",nr),O("YY",H,me),O("YYYY",sn,on),O("YYYYY",rr,er),O("YYYYYY",rr,er),U(["YYYYY","YYYYYY"],ne),U("YYYY",function(e,r){r[ne]=e.length===2?n.parseTwoDigitYear(e):I(e)}),U("YY",function(e,r){r[ne]=n.parseTwoDigitYear(e)}),U("Y",function(e,r){r[ne]=parseInt(e,10)});function Ot(e){return or(e)?366:365}n.parseTwoDigitYear=function(e){return I(e)+(I(e)>68?1900:2e3)};var Wi=ut("FullYear",!0);function zs(){return or(this.year())}function ut(e,r){return function(a){return a!=null?(Hi(this,e,a),n.updateOffset(this,r),this):kt(this,e)}}function kt(e,r){if(!e.isValid())return NaN;var a=e._d,s=e._isUTC;switch(r){case"Milliseconds":return s?a.getUTCMilliseconds():a.getMilliseconds();case"Seconds":return s?a.getUTCSeconds():a.getSeconds();case"Minutes":return s?a.getUTCMinutes():a.getMinutes();case"Hours":return s?a.getUTCHours():a.getHours();case"Date":return s?a.getUTCDate():a.getDate();case"Day":return s?a.getUTCDay():a.getDay();case"Month":return s?a.getUTCMonth():a.getMonth();case"FullYear":return s?a.getUTCFullYear():a.getFullYear();default:return NaN}}function Hi(e,r,a){var s,c,l,v,S;if(!(!e.isValid()||isNaN(a))){switch(s=e._d,c=e._isUTC,r){case"Milliseconds":return void(c?s.setUTCMilliseconds(a):s.setMilliseconds(a));case"Seconds":return void(c?s.setUTCSeconds(a):s.setSeconds(a));case"Minutes":return void(c?s.setUTCMinutes(a):s.setMinutes(a));case"Hours":return void(c?s.setUTCHours(a):s.setHours(a));case"Date":return void(c?s.setUTCDate(a):s.setDate(a));case"FullYear":break;default:return}l=a,v=e.month(),S=e.date(),S=S===29&&v===1&&!or(l)?28:S,c?s.setUTCFullYear(l,v,S):s.setFullYear(l,v,S)}}function qs(e){return e=ve(e),Te(this[e])?this[e]():this}function $s(e,r){if(typeof e=="object"){e=an(e);var a=Ys(e),s,c=a.length;for(s=0;s<c;s++)this[a[s].unit](e[a[s].unit])}else if(e=ve(e),Te(this[e]))return this[e](r);return this}function Ks(e,r){return(e%r+r)%r}var q;Array.prototype.indexOf?q=Array.prototype.indexOf:q=function(e){var r;for(r=0;r<this.length;++r)if(this[r]===e)return r;return-1};function cn(e,r){if(isNaN(e)||isNaN(r))return NaN;var a=Ks(r,12);return e+=(r-a)/12,a===1?or(e)?29:28:31-a%7%2}x("M",["MM",2],"Mo",function(){return this.month()+1}),x("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),x("MMMM",0,0,function(e){return this.localeData().months(this,e)}),O("M",H,st),O("MM",H,me),O("MMM",function(e,r){return r.monthsShortRegex(e)}),O("MMMM",function(e,r){return r.monthsRegex(e)}),U(["M","MM"],function(e,r){r[De]=I(e)-1}),U(["MMM","MMMM"],function(e,r,a,s){var c=a._locale.monthsParse(e,s,a._strict);c!=null?r[De]=c:b(a).invalidMonth=e});var Xs="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Vi="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ji=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Zs=wt,Js=wt;function Qs(e,r){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||ji).test(r)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone}function eu(e,r){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[ji.test(r)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function tu(e,r,a){var s,c,l,v=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)l=w([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(l,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(l,"").toLocaleLowerCase();return a?r==="MMM"?(c=q.call(this._shortMonthsParse,v),c!==-1?c:null):(c=q.call(this._longMonthsParse,v),c!==-1?c:null):r==="MMM"?(c=q.call(this._shortMonthsParse,v),c!==-1?c:(c=q.call(this._longMonthsParse,v),c!==-1?c:null)):(c=q.call(this._longMonthsParse,v),c!==-1?c:(c=q.call(this._shortMonthsParse,v),c!==-1?c:null))}function ru(e,r,a){var s,c,l;if(this._monthsParseExact)return tu.call(this,e,r,a);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if(c=w([2e3,s]),a&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(c,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(c,"").replace(".","")+"$","i")),!a&&!this._monthsParse[s]&&(l="^"+this.months(c,"")+"|^"+this.monthsShort(c,""),this._monthsParse[s]=new RegExp(l.replace(".",""),"i")),a&&r==="MMMM"&&this._longMonthsParse[s].test(e))return s;if(a&&r==="MMM"&&this._shortMonthsParse[s].test(e))return s;if(!a&&this._monthsParse[s].test(e))return s}}function Bi(e,r){if(!e.isValid())return e;if(typeof r=="string"){if(/^\d+$/.test(r))r=I(r);else if(r=e.localeData().monthsParse(r),!m(r))return e}var a=r,s=e.date();return s=s<29?s:Math.min(s,cn(e.year(),a)),e._isUTC?e._d.setUTCMonth(a,s):e._d.setMonth(a,s),e}function Gi(e){return e!=null?(Bi(this,e),n.updateOffset(this,!0),this):kt(this,"Month")}function nu(){return cn(this.year(),this.month())}function iu(e){return this._monthsParseExact?(f(this,"_monthsRegex")||zi.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(f(this,"_monthsShortRegex")||(this._monthsShortRegex=Zs),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function au(e){return this._monthsParseExact?(f(this,"_monthsRegex")||zi.call(this),e?this._monthsStrictRegex:this._monthsRegex):(f(this,"_monthsRegex")||(this._monthsRegex=Js),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function zi(){function e(R,N){return N.length-R.length}var r=[],a=[],s=[],c,l,v,S;for(c=0;c<12;c++)l=w([2e3,c]),v=xe(this.monthsShort(l,"")),S=xe(this.months(l,"")),r.push(v),a.push(S),s.push(S),s.push(v);r.sort(e),a.sort(e),s.sort(e),this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function ou(e,r,a,s,c,l,v){var S;return e<100&&e>=0?(S=new Date(e+400,r,a,s,c,l,v),isFinite(S.getFullYear())&&S.setFullYear(e)):S=new Date(e,r,a,s,c,l,v),S}function xt(e){var r,a;return e<100&&e>=0?(a=Array.prototype.slice.call(arguments),a[0]=e+400,r=new Date(Date.UTC.apply(null,a)),isFinite(r.getUTCFullYear())&&r.setUTCFullYear(e)):r=new Date(Date.UTC.apply(null,arguments)),r}function sr(e,r,a){var s=7+r-a,c=(7+xt(e,0,s).getUTCDay()-r)%7;return-c+s-1}function qi(e,r,a,s,c){var l=(7+a-s)%7,v=sr(e,s,c),S=1+7*(r-1)+l+v,R,N;return S<=0?(R=e-1,N=Ot(R)+S):S>Ot(e)?(R=e+1,N=S-Ot(e)):(R=e,N=S),{year:R,dayOfYear:N}}function Dt(e,r,a){var s=sr(e.year(),r,a),c=Math.floor((e.dayOfYear()-s-1)/7)+1,l,v;return c<1?(v=e.year()-1,l=c+Re(v,r,a)):c>Re(e.year(),r,a)?(l=c-Re(e.year(),r,a),v=e.year()+1):(v=e.year(),l=c),{week:l,year:v}}function Re(e,r,a){var s=sr(e,r,a),c=sr(e+1,r,a);return(Ot(e)-s+c)/7}x("w",["ww",2],"wo","week"),x("W",["WW",2],"Wo","isoWeek"),O("w",H,st),O("ww",H,me),O("W",H,st),O("WW",H,me),bt(["w","ww","W","WW"],function(e,r,a,s){r[s.substr(0,1)]=I(e)});function su(e){return Dt(e,this._week.dow,this._week.doy).week}var uu={dow:0,doy:6};function fu(){return this._week.dow}function cu(){return this._week.doy}function lu(e){var r=this.localeData().week(this);return e==null?r:this.add((e-r)*7,"d")}function du(e){var r=Dt(this,1,4).week;return e==null?r:this.add((e-r)*7,"d")}x("d",0,"do","day"),x("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),x("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),x("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),x("e",0,0,"weekday"),x("E",0,0,"isoWeekday"),O("d",H),O("e",H),O("E",H),O("dd",function(e,r){return r.weekdaysMinRegex(e)}),O("ddd",function(e,r){return r.weekdaysShortRegex(e)}),O("dddd",function(e,r){return r.weekdaysRegex(e)}),bt(["dd","ddd","dddd"],function(e,r,a,s){var c=a._locale.weekdaysParse(e,s,a._strict);c!=null?r.d=c:b(a).invalidWeekday=e}),bt(["d","e","E"],function(e,r,a,s){r[s]=I(e)});function hu(e,r){return typeof e!="string"?e:isNaN(e)?(e=r.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function mu(e,r){return typeof e=="string"?r.weekdaysParse(e)%7||7:isNaN(e)?null:e}function ln(e,r){return e.slice(r,7).concat(e.slice(0,r))}var pu="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),$i="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),vu="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),gu=wt,_u=wt,yu=wt;function Eu(e,r){var a=o(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(r)?"format":"standalone"];return e===!0?ln(a,this._week.dow):e?a[e.day()]:a}function Su(e){return e===!0?ln(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Tu(e){return e===!0?ln(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function wu(e,r,a){var s,c,l,v=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)l=w([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(l,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(l,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(l,"").toLocaleLowerCase();return a?r==="dddd"?(c=q.call(this._weekdaysParse,v),c!==-1?c:null):r==="ddd"?(c=q.call(this._shortWeekdaysParse,v),c!==-1?c:null):(c=q.call(this._minWeekdaysParse,v),c!==-1?c:null):r==="dddd"?(c=q.call(this._weekdaysParse,v),c!==-1||(c=q.call(this._shortWeekdaysParse,v),c!==-1)?c:(c=q.call(this._minWeekdaysParse,v),c!==-1?c:null)):r==="ddd"?(c=q.call(this._shortWeekdaysParse,v),c!==-1||(c=q.call(this._weekdaysParse,v),c!==-1)?c:(c=q.call(this._minWeekdaysParse,v),c!==-1?c:null)):(c=q.call(this._minWeekdaysParse,v),c!==-1||(c=q.call(this._weekdaysParse,v),c!==-1)?c:(c=q.call(this._shortWeekdaysParse,v),c!==-1?c:null))}function bu(e,r,a){var s,c,l;if(this._weekdaysParseExact)return wu.call(this,e,r,a);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(c=w([2e3,1]).day(s),a&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(c,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(c,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(c,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(l="^"+this.weekdays(c,"")+"|^"+this.weekdaysShort(c,"")+"|^"+this.weekdaysMin(c,""),this._weekdaysParse[s]=new RegExp(l.replace(".",""),"i")),a&&r==="dddd"&&this._fullWeekdaysParse[s].test(e))return s;if(a&&r==="ddd"&&this._shortWeekdaysParse[s].test(e))return s;if(a&&r==="dd"&&this._minWeekdaysParse[s].test(e))return s;if(!a&&this._weekdaysParse[s].test(e))return s}}function Ou(e){if(!this.isValid())return e!=null?this:NaN;var r=kt(this,"Day");return e!=null?(e=hu(e,this.localeData()),this.add(e-r,"d")):r}function ku(e){if(!this.isValid())return e!=null?this:NaN;var r=(this.day()+7-this.localeData()._week.dow)%7;return e==null?r:this.add(e-r,"d")}function xu(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var r=mu(e,this.localeData());return this.day(this.day()%7?r:r-7)}else return this.day()||7}function Du(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||dn.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(f(this,"_weekdaysRegex")||(this._weekdaysRegex=gu),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Mu(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||dn.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(f(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=_u),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Ru(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||dn.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(f(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=yu),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function dn(){function e(se,Le){return Le.length-se.length}var r=[],a=[],s=[],c=[],l,v,S,R,N;for(l=0;l<7;l++)v=w([2e3,1]).day(l),S=xe(this.weekdaysMin(v,"")),R=xe(this.weekdaysShort(v,"")),N=xe(this.weekdays(v,"")),r.push(S),a.push(R),s.push(N),c.push(S),c.push(R),c.push(N);r.sort(e),a.sort(e),s.sort(e),c.sort(e),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}function hn(){return this.hours()%12||12}function Cu(){return this.hours()||24}x("H",["HH",2],0,"hour"),x("h",["hh",2],0,hn),x("k",["kk",2],0,Cu),x("hmm",0,0,function(){return""+hn.apply(this)+we(this.minutes(),2)}),x("hmmss",0,0,function(){return""+hn.apply(this)+we(this.minutes(),2)+we(this.seconds(),2)}),x("Hmm",0,0,function(){return""+this.hours()+we(this.minutes(),2)}),x("Hmmss",0,0,function(){return""+this.hours()+we(this.minutes(),2)+we(this.seconds(),2)});function Ki(e,r){x(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),r)})}Ki("a",!0),Ki("A",!1);function Xi(e,r){return r._meridiemParse}O("a",Xi),O("A",Xi),O("H",H,un),O("h",H,st),O("k",H,st),O("HH",H,me),O("hh",H,me),O("kk",H,me),O("hmm",Yi),O("hmmss",Fi),O("Hmm",Yi),O("Hmmss",Fi),U(["H","HH"],Z),U(["k","kk"],function(e,r,a){var s=I(e);r[Z]=s===24?0:s}),U(["a","A"],function(e,r,a){a._isPm=a._locale.isPM(e),a._meridiem=e}),U(["h","hh"],function(e,r,a){r[Z]=I(e),b(a).bigHour=!0}),U("hmm",function(e,r,a){var s=e.length-2;r[Z]=I(e.substr(0,s)),r[ye]=I(e.substr(s)),b(a).bigHour=!0}),U("hmmss",function(e,r,a){var s=e.length-4,c=e.length-2;r[Z]=I(e.substr(0,s)),r[ye]=I(e.substr(s,2)),r[Me]=I(e.substr(c)),b(a).bigHour=!0}),U("Hmm",function(e,r,a){var s=e.length-2;r[Z]=I(e.substr(0,s)),r[ye]=I(e.substr(s))}),U("Hmmss",function(e,r,a){var s=e.length-4,c=e.length-2;r[Z]=I(e.substr(0,s)),r[ye]=I(e.substr(s,2)),r[Me]=I(e.substr(c))});function Iu(e){return(e+"").toLowerCase().charAt(0)==="p"}var Nu=/[ap]\.?m?\.?/i,Au=ut("Hours",!0);function Lu(e,r,a){return e>11?a?"pm":"PM":a?"am":"AM"}var Zi={calendar:ws,longDateFormat:xs,invalidDate:Ms,ordinal:Cs,dayOfMonthOrdinalParse:Is,relativeTime:As,months:Xs,monthsShort:Vi,week:uu,weekdays:pu,weekdaysMin:vu,weekdaysShort:$i,meridiemParse:Nu},B={},Mt={},Rt;function Pu(e,r){var a,s=Math.min(e.length,r.length);for(a=0;a<s;a+=1)if(e[a]!==r[a])return a;return s}function Ji(e){return e&&e.toLowerCase().replace("_","-")}function Uu(e){for(var r=0,a,s,c,l;r<e.length;){for(l=Ji(e[r]).split("-"),a=l.length,s=Ji(e[r+1]),s=s?s.split("-"):null;a>0;){if(c=ur(l.slice(0,a).join("-")),c)return c;if(s&&s.length>=a&&Pu(l,s)>=a-1)break;a--}r++}return Rt}function Yu(e){return!!(e&&e.match("^[^/\\\\]*$"))}function ur(e){var r=null,a;if(B[e]===void 0&&typeof mt<"u"&&mt&&mt.exports&&Yu(e))try{r=Rt._abbr,a=Oa,a("./locale/"+e),Ye(r)}catch{B[e]=null}return B[e]}function Ye(e,r){var a;return e&&(h(r)?a=Ce(e):a=mn(e,r),a?Rt=a:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Rt._abbr}function mn(e,r){if(r!==null){var a,s=Zi;if(r.abbr=e,B[e]!=null)Ni("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),s=B[e]._config;else if(r.parentLocale!=null)if(B[r.parentLocale]!=null)s=B[r.parentLocale]._config;else if(a=ur(r.parentLocale),a!=null)s=a._config;else return Mt[r.parentLocale]||(Mt[r.parentLocale]=[]),Mt[r.parentLocale].push({name:e,config:r}),null;return B[e]=new en(Qr(s,r)),Mt[e]&&Mt[e].forEach(function(c){mn(c.name,c.config)}),Ye(e),B[e]}else return delete B[e],null}function Fu(e,r){if(r!=null){var a,s,c=Zi;B[e]!=null&&B[e].parentLocale!=null?B[e].set(Qr(B[e]._config,r)):(s=ur(e),s!=null&&(c=s._config),r=Qr(c,r),s==null&&(r.abbr=e),a=new en(r),a.parentLocale=B[e],B[e]=a),Ye(e)}else B[e]!=null&&(B[e].parentLocale!=null?(B[e]=B[e].parentLocale,e===Ye()&&Ye(e)):B[e]!=null&&delete B[e]);return B[e]}function Ce(e){var r;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Rt;if(!o(e)){if(r=ur(e),r)return r;e=[e]}return Uu(e)}function Wu(){return tn(B)}function pn(e){var r,a=e._a;return a&&b(e).overflow===-2&&(r=a[De]<0||a[De]>11?De:a[be]<1||a[be]>cn(a[ne],a[De])?be:a[Z]<0||a[Z]>24||a[Z]===24&&(a[ye]!==0||a[Me]!==0||a[$e]!==0)?Z:a[ye]<0||a[ye]>59?ye:a[Me]<0||a[Me]>59?Me:a[$e]<0||a[$e]>999?$e:-1,b(e)._overflowDayOfYear&&(r<ne||r>be)&&(r=be),b(e)._overflowWeeks&&r===-1&&(r=Bs),b(e)._overflowWeekday&&r===-1&&(r=Gs),b(e).overflow=r),e}var Hu=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Vu=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ju=/Z|[+-]\d\d(?::?\d\d)?/,fr=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],vn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Bu=/^\/?Date\((-?\d+)/i,Gu=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,zu={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Qi(e){var r,a,s=e._i,c=Hu.exec(s)||Vu.exec(s),l,v,S,R,N=fr.length,se=vn.length;if(c){for(b(e).iso=!0,r=0,a=N;r<a;r++)if(fr[r][1].exec(c[1])){v=fr[r][0],l=fr[r][2]!==!1;break}if(v==null){e._isValid=!1;return}if(c[3]){for(r=0,a=se;r<a;r++)if(vn[r][1].exec(c[3])){S=(c[2]||" ")+vn[r][0];break}if(S==null){e._isValid=!1;return}}if(!l&&S!=null){e._isValid=!1;return}if(c[4])if(ju.exec(c[4]))R="Z";else{e._isValid=!1;return}e._f=v+(S||"")+(R||""),_n(e)}else e._isValid=!1}function qu(e,r,a,s,c,l){var v=[$u(e),Vi.indexOf(r),parseInt(a,10),parseInt(s,10),parseInt(c,10)];return l&&v.push(parseInt(l,10)),v}function $u(e){var r=parseInt(e,10);return r<=49?2e3+r:r<=999?1900+r:r}function Ku(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Xu(e,r,a){if(e){var s=$i.indexOf(e),c=new Date(r[0],r[1],r[2]).getDay();if(s!==c)return b(a).weekdayMismatch=!0,a._isValid=!1,!1}return!0}function Zu(e,r,a){if(e)return zu[e];if(r)return 0;var s=parseInt(a,10),c=s%100,l=(s-c)/100;return l*60+c}function ea(e){var r=Gu.exec(Ku(e._i)),a;if(r){if(a=qu(r[4],r[3],r[2],r[5],r[6],r[7]),!Xu(r[1],a,e))return;e._a=a,e._tzm=Zu(r[8],r[9],r[10]),e._d=xt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),b(e).rfc2822=!0}else e._isValid=!1}function Ju(e){var r=Bu.exec(e._i);if(r!==null){e._d=new Date(+r[1]);return}if(Qi(e),e._isValid===!1)delete e._isValid;else return;if(ea(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:n.createFromInputFallback(e)}n.createFromInputFallback=le("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function ft(e,r,a){return e??r??a}function Qu(e){var r=new Date(n.now());return e._useUTC?[r.getUTCFullYear(),r.getUTCMonth(),r.getUTCDate()]:[r.getFullYear(),r.getMonth(),r.getDate()]}function gn(e){var r,a,s=[],c,l,v;if(!e._d){for(c=Qu(e),e._w&&e._a[be]==null&&e._a[De]==null&&ef(e),e._dayOfYear!=null&&(v=ft(e._a[ne],c[ne]),(e._dayOfYear>Ot(v)||e._dayOfYear===0)&&(b(e)._overflowDayOfYear=!0),a=xt(v,0,e._dayOfYear),e._a[De]=a.getUTCMonth(),e._a[be]=a.getUTCDate()),r=0;r<3&&e._a[r]==null;++r)e._a[r]=s[r]=c[r];for(;r<7;r++)e._a[r]=s[r]=e._a[r]==null?r===2?1:0:e._a[r];e._a[Z]===24&&e._a[ye]===0&&e._a[Me]===0&&e._a[$e]===0&&(e._nextDay=!0,e._a[Z]=0),e._d=(e._useUTC?xt:ou).apply(null,s),l=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Z]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==l&&(b(e).weekdayMismatch=!0)}}function ef(e){var r,a,s,c,l,v,S,R,N;r=e._w,r.GG!=null||r.W!=null||r.E!=null?(l=1,v=4,a=ft(r.GG,e._a[ne],Dt(V(),1,4).year),s=ft(r.W,1),c=ft(r.E,1),(c<1||c>7)&&(R=!0)):(l=e._locale._week.dow,v=e._locale._week.doy,N=Dt(V(),l,v),a=ft(r.gg,e._a[ne],N.year),s=ft(r.w,N.week),r.d!=null?(c=r.d,(c<0||c>6)&&(R=!0)):r.e!=null?(c=r.e+l,(r.e<0||r.e>6)&&(R=!0)):c=l),s<1||s>Re(a,l,v)?b(e)._overflowWeeks=!0:R!=null?b(e)._overflowWeekday=!0:(S=qi(a,s,c,l,v),e._a[ne]=S.year,e._dayOfYear=S.dayOfYear)}n.ISO_8601=function(){},n.RFC_2822=function(){};function _n(e){if(e._f===n.ISO_8601){Qi(e);return}if(e._f===n.RFC_2822){ea(e);return}e._a=[],b(e).empty=!0;var r=""+e._i,a,s,c,l,v,S=r.length,R=0,N,se;for(c=Ai(e._f,e._locale).match(rn)||[],se=c.length,a=0;a<se;a++)l=c[a],s=(r.match(Hs(l,e))||[])[0],s&&(v=r.substr(0,r.indexOf(s)),v.length>0&&b(e).unusedInput.push(v),r=r.slice(r.indexOf(s)+s.length),R+=s.length),at[l]?(s?b(e).empty=!1:b(e).unusedTokens.push(l),js(l,s,e)):e._strict&&!s&&b(e).unusedTokens.push(l);b(e).charsLeftOver=S-R,r.length>0&&b(e).unusedInput.push(r),e._a[Z]<=12&&b(e).bigHour===!0&&e._a[Z]>0&&(b(e).bigHour=void 0),b(e).parsedDateParts=e._a.slice(0),b(e).meridiem=e._meridiem,e._a[Z]=tf(e._locale,e._a[Z],e._meridiem),N=b(e).era,N!==null&&(e._a[ne]=e._locale.erasConvertYear(N,e._a[ne])),gn(e),pn(e)}function tf(e,r,a){var s;return a==null?r:e.meridiemHour!=null?e.meridiemHour(r,a):(e.isPM!=null&&(s=e.isPM(a),s&&r<12&&(r+=12),!s&&r===12&&(r=0)),r)}function rf(e){var r,a,s,c,l,v,S=!1,R=e._f.length;if(R===0){b(e).invalidFormat=!0,e._d=new Date(NaN);return}for(c=0;c<R;c++)l=0,v=!1,r=he({},e),e._useUTC!=null&&(r._useUTC=e._useUTC),r._f=e._f[c],_n(r),E(r)&&(v=!0),l+=b(r).charsLeftOver,l+=b(r).unusedTokens.length*10,b(r).score=l,S?l<s&&(s=l,a=r):(s==null||l<s||v)&&(s=l,a=r,v&&(S=!0));g(e,a||r)}function nf(e){if(!e._d){var r=an(e._i),a=r.day===void 0?r.date:r.day;e._a=T([r.year,r.month,a,r.hour,r.minute,r.second,r.millisecond],function(s){return s&&parseInt(s,10)}),gn(e)}}function af(e){var r=new Se(pn(ta(e)));return r._nextDay&&(r.add(1,"d"),r._nextDay=void 0),r}function ta(e){var r=e._i,a=e._f;return e._locale=e._locale||Ce(e._l),r===null||a===void 0&&r===""?k({nullInput:!0}):(typeof r=="string"&&(e._i=r=e._locale.preparse(r)),X(r)?new Se(pn(r)):(p(r)?e._d=r:o(a)?rf(e):a?_n(e):of(e),E(e)||(e._d=null),e))}function of(e){var r=e._i;h(r)?e._d=new Date(n.now()):p(r)?e._d=new Date(r.valueOf()):typeof r=="string"?Ju(e):o(r)?(e._a=T(r.slice(0),function(a){return parseInt(a,10)}),gn(e)):u(r)?nf(e):m(r)?e._d=new Date(r):n.createFromInputFallback(e)}function ra(e,r,a,s,c){var l={};return(r===!0||r===!1)&&(s=r,r=void 0),(a===!0||a===!1)&&(s=a,a=void 0),(u(e)&&d(e)||o(e)&&e.length===0)&&(e=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=c,l._l=a,l._i=e,l._f=r,l._strict=s,af(l)}function V(e,r,a,s){return ra(e,r,a,s,!1)}var sf=le("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=V.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:k()}),uf=le("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=V.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:k()});function na(e,r){var a,s;if(r.length===1&&o(r[0])&&(r=r[0]),!r.length)return V();for(a=r[0],s=1;s<r.length;++s)(!r[s].isValid()||r[s][e](a))&&(a=r[s]);return a}function ff(){var e=[].slice.call(arguments,0);return na("isBefore",e)}function cf(){var e=[].slice.call(arguments,0);return na("isAfter",e)}var lf=function(){return Date.now?Date.now():+new Date},Ct=["year","quarter","month","week","day","hour","minute","second","millisecond"];function df(e){var r,a=!1,s,c=Ct.length;for(r in e)if(f(e,r)&&!(q.call(Ct,r)!==-1&&(e[r]==null||!isNaN(e[r]))))return!1;for(s=0;s<c;++s)if(e[Ct[s]]){if(a)return!1;parseFloat(e[Ct[s]])!==I(e[Ct[s]])&&(a=!0)}return!0}function hf(){return this._isValid}function mf(){return Ee(NaN)}function cr(e){var r=an(e),a=r.year||0,s=r.quarter||0,c=r.month||0,l=r.week||r.isoWeek||0,v=r.day||0,S=r.hour||0,R=r.minute||0,N=r.second||0,se=r.millisecond||0;this._isValid=df(r),this._milliseconds=+se+N*1e3+R*6e4+S*1e3*60*60,this._days=+v+l*7,this._months=+c+s*3+a*12,this._data={},this._locale=Ce(),this._bubble()}function lr(e){return e instanceof cr}function yn(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function pf(e,r,a){var s=Math.min(e.length,r.length),c=Math.abs(e.length-r.length),l=0,v;for(v=0;v<s;v++)(a&&e[v]!==r[v]||!a&&I(e[v])!==I(r[v]))&&l++;return l+c}function ia(e,r){x(e,0,0,function(){var a=this.utcOffset(),s="+";return a<0&&(a=-a,s="-"),s+we(~~(a/60),2)+r+we(~~a%60,2)})}ia("Z",":"),ia("ZZ",""),O("Z",ir),O("ZZ",ir),U(["Z","ZZ"],function(e,r,a){a._useUTC=!0,a._tzm=En(ir,e)});var vf=/([\+\-]|\d\d)/gi;function En(e,r){var a=(r||"").match(e),s,c,l;return a===null?null:(s=a[a.length-1]||[],c=(s+"").match(vf)||["-",0,0],l=+(c[1]*60)+I(c[2]),l===0?0:c[0]==="+"?l:-l)}function Sn(e,r){var a,s;return r._isUTC?(a=r.clone(),s=(X(e)||p(e)?e.valueOf():V(e).valueOf())-a.valueOf(),a._d.setTime(a._d.valueOf()+s),n.updateOffset(a,!1),a):V(e).local()}function Tn(e){return-Math.round(e._d.getTimezoneOffset())}n.updateOffset=function(){};function gf(e,r,a){var s=this._offset||0,c;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=En(ir,e),e===null)return this}else Math.abs(e)<16&&!a&&(e=e*60);return!this._isUTC&&r&&(c=Tn(this)),this._offset=e,this._isUTC=!0,c!=null&&this.add(c,"m"),s!==e&&(!r||this._changeInProgress?ua(this,Ee(e-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?s:Tn(this)}function _f(e,r){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,r),this):-this.utcOffset()}function yf(e){return this.utcOffset(0,e)}function Ef(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Tn(this),"m")),this}function Sf(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=En(Fs,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Tf(e){return this.isValid()?(e=e?V(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function wf(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function bf(){if(!h(this._isDSTShifted))return this._isDSTShifted;var e={},r;return he(e,this),e=ta(e),e._a?(r=e._isUTC?w(e._a):V(e._a),this._isDSTShifted=this.isValid()&&pf(e._a,r.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Of(){return this.isValid()?!this._isUTC:!1}function kf(){return this.isValid()?this._isUTC:!1}function aa(){return this.isValid()?this._isUTC&&this._offset===0:!1}var xf=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Df=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ee(e,r){var a=e,s=null,c,l,v;return lr(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:m(e)||!isNaN(+e)?(a={},r?a[r]=+e:a.milliseconds=+e):(s=xf.exec(e))?(c=s[1]==="-"?-1:1,a={y:0,d:I(s[be])*c,h:I(s[Z])*c,m:I(s[ye])*c,s:I(s[Me])*c,ms:I(yn(s[$e]*1e3))*c}):(s=Df.exec(e))?(c=s[1]==="-"?-1:1,a={y:Ke(s[2],c),M:Ke(s[3],c),w:Ke(s[4],c),d:Ke(s[5],c),h:Ke(s[6],c),m:Ke(s[7],c),s:Ke(s[8],c)}):a==null?a={}:typeof a=="object"&&("from"in a||"to"in a)&&(v=Mf(V(a.from),V(a.to)),a={},a.ms=v.milliseconds,a.M=v.months),l=new cr(a),lr(e)&&f(e,"_locale")&&(l._locale=e._locale),lr(e)&&f(e,"_isValid")&&(l._isValid=e._isValid),l}Ee.fn=cr.prototype,Ee.invalid=mf;function Ke(e,r){var a=e&&parseFloat(e.replace(",","."));return(isNaN(a)?0:a)*r}function oa(e,r){var a={};return a.months=r.month()-e.month()+(r.year()-e.year())*12,e.clone().add(a.months,"M").isAfter(r)&&--a.months,a.milliseconds=+r-+e.clone().add(a.months,"M"),a}function Mf(e,r){var a;return e.isValid()&&r.isValid()?(r=Sn(r,e),e.isBefore(r)?a=oa(e,r):(a=oa(r,e),a.milliseconds=-a.milliseconds,a.months=-a.months),a):{milliseconds:0,months:0}}function sa(e,r){return function(a,s){var c,l;return s!==null&&!isNaN(+s)&&(Ni(r,"moment()."+r+"(period, number) is deprecated. Please use moment()."+r+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),l=a,a=s,s=l),c=Ee(a,s),ua(this,c,e),this}}function ua(e,r,a,s){var c=r._milliseconds,l=yn(r._days),v=yn(r._months);e.isValid()&&(s=s??!0,v&&Bi(e,kt(e,"Month")+v*a),l&&Hi(e,"Date",kt(e,"Date")+l*a),c&&e._d.setTime(e._d.valueOf()+c*a),s&&n.updateOffset(e,l||v))}var Rf=sa(1,"add"),Cf=sa(-1,"subtract");function fa(e){return typeof e=="string"||e instanceof String}function If(e){return X(e)||p(e)||fa(e)||m(e)||Af(e)||Nf(e)||e===null||e===void 0}function Nf(e){var r=u(e)&&!d(e),a=!1,s=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],c,l,v=s.length;for(c=0;c<v;c+=1)l=s[c],a=a||f(e,l);return r&&a}function Af(e){var r=o(e),a=!1;return r&&(a=e.filter(function(s){return!m(s)&&fa(e)}).length===0),r&&a}function Lf(e){var r=u(e)&&!d(e),a=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],c,l;for(c=0;c<s.length;c+=1)l=s[c],a=a||f(e,l);return r&&a}function Pf(e,r){var a=e.diff(r,"days",!0);return a<-6?"sameElse":a<-1?"lastWeek":a<0?"lastDay":a<1?"sameDay":a<2?"nextDay":a<7?"nextWeek":"sameElse"}function Uf(e,r){arguments.length===1&&(arguments[0]?If(arguments[0])?(e=arguments[0],r=void 0):Lf(arguments[0])&&(r=arguments[0],e=void 0):(e=void 0,r=void 0));var a=e||V(),s=Sn(a,this).startOf("day"),c=n.calendarFormat(this,s)||"sameElse",l=r&&(Te(r[c])?r[c].call(this,a):r[c]);return this.format(l||this.localeData().calendar(c,this,V(a)))}function Yf(){return new Se(this)}function Ff(e,r){var a=X(e)?e:V(e);return this.isValid()&&a.isValid()?(r=ve(r)||"millisecond",r==="millisecond"?this.valueOf()>a.valueOf():a.valueOf()<this.clone().startOf(r).valueOf()):!1}function Wf(e,r){var a=X(e)?e:V(e);return this.isValid()&&a.isValid()?(r=ve(r)||"millisecond",r==="millisecond"?this.valueOf()<a.valueOf():this.clone().endOf(r).valueOf()<a.valueOf()):!1}function Hf(e,r,a,s){var c=X(e)?e:V(e),l=X(r)?r:V(r);return this.isValid()&&c.isValid()&&l.isValid()?(s=s||"()",(s[0]==="("?this.isAfter(c,a):!this.isBefore(c,a))&&(s[1]===")"?this.isBefore(l,a):!this.isAfter(l,a))):!1}function Vf(e,r){var a=X(e)?e:V(e),s;return this.isValid()&&a.isValid()?(r=ve(r)||"millisecond",r==="millisecond"?this.valueOf()===a.valueOf():(s=a.valueOf(),this.clone().startOf(r).valueOf()<=s&&s<=this.clone().endOf(r).valueOf())):!1}function jf(e,r){return this.isSame(e,r)||this.isAfter(e,r)}function Bf(e,r){return this.isSame(e,r)||this.isBefore(e,r)}function Gf(e,r,a){var s,c,l;if(!this.isValid())return NaN;if(s=Sn(e,this),!s.isValid())return NaN;switch(c=(s.utcOffset()-this.utcOffset())*6e4,r=ve(r),r){case"year":l=dr(this,s)/12;break;case"month":l=dr(this,s);break;case"quarter":l=dr(this,s)/3;break;case"second":l=(this-s)/1e3;break;case"minute":l=(this-s)/6e4;break;case"hour":l=(this-s)/36e5;break;case"day":l=(this-s-c)/864e5;break;case"week":l=(this-s-c)/6048e5;break;default:l=this-s}return a?l:ge(l)}function dr(e,r){if(e.date()<r.date())return-dr(r,e);var a=(r.year()-e.year())*12+(r.month()-e.month()),s=e.clone().add(a,"months"),c,l;return r-s<0?(c=e.clone().add(a-1,"months"),l=(r-s)/(s-c)):(c=e.clone().add(a+1,"months"),l=(r-s)/(c-s)),-(a+l)||0}n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function zf(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function qf(e){if(!this.isValid())return null;var r=e!==!0,a=r?this.clone().utc():this;return a.year()<0||a.year()>9999?Qt(a,r?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Te(Date.prototype.toISOString)?r?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Qt(a,"Z")):Qt(a,r?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function $f(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",r="",a,s,c,l;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",r="Z"),a="["+e+'("]',s=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",c="-MM-DD[T]HH:mm:ss.SSS",l=r+'[")]',this.format(a+s+c+l)}function Kf(e){e||(e=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var r=Qt(this,e);return this.localeData().postformat(r)}function Xf(e,r){return this.isValid()&&(X(e)&&e.isValid()||V(e).isValid())?Ee({to:this,from:e}).locale(this.locale()).humanize(!r):this.localeData().invalidDate()}function Zf(e){return this.from(V(),e)}function Jf(e,r){return this.isValid()&&(X(e)&&e.isValid()||V(e).isValid())?Ee({from:this,to:e}).locale(this.locale()).humanize(!r):this.localeData().invalidDate()}function Qf(e){return this.to(V(),e)}function ca(e){var r;return e===void 0?this._locale._abbr:(r=Ce(e),r!=null&&(this._locale=r),this)}var la=le("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function da(){return this._locale}var hr=1e3,ct=60*hr,mr=60*ct,ha=(365*400+97)*24*mr;function lt(e,r){return(e%r+r)%r}function ma(e,r,a){return e<100&&e>=0?new Date(e+400,r,a)-ha:new Date(e,r,a).valueOf()}function pa(e,r,a){return e<100&&e>=0?Date.UTC(e+400,r,a)-ha:Date.UTC(e,r,a)}function ec(e){var r,a;if(e=ve(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(a=this._isUTC?pa:ma,e){case"year":r=a(this.year(),0,1);break;case"quarter":r=a(this.year(),this.month()-this.month()%3,1);break;case"month":r=a(this.year(),this.month(),1);break;case"week":r=a(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":r=a(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":r=a(this.year(),this.month(),this.date());break;case"hour":r=this._d.valueOf(),r-=lt(r+(this._isUTC?0:this.utcOffset()*ct),mr);break;case"minute":r=this._d.valueOf(),r-=lt(r,ct);break;case"second":r=this._d.valueOf(),r-=lt(r,hr);break}return this._d.setTime(r),n.updateOffset(this,!0),this}function tc(e){var r,a;if(e=ve(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(a=this._isUTC?pa:ma,e){case"year":r=a(this.year()+1,0,1)-1;break;case"quarter":r=a(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":r=a(this.year(),this.month()+1,1)-1;break;case"week":r=a(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":r=a(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":r=a(this.year(),this.month(),this.date()+1)-1;break;case"hour":r=this._d.valueOf(),r+=mr-lt(r+(this._isUTC?0:this.utcOffset()*ct),mr)-1;break;case"minute":r=this._d.valueOf(),r+=ct-lt(r,ct)-1;break;case"second":r=this._d.valueOf(),r+=hr-lt(r,hr)-1;break}return this._d.setTime(r),n.updateOffset(this,!0),this}function rc(){return this._d.valueOf()-(this._offset||0)*6e4}function nc(){return Math.floor(this.valueOf()/1e3)}function ic(){return new Date(this.valueOf())}function ac(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function oc(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function sc(){return this.isValid()?this.toISOString():null}function uc(){return E(this)}function fc(){return g({},b(this))}function cc(){return b(this).overflow}function lc(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}x("N",0,0,"eraAbbr"),x("NN",0,0,"eraAbbr"),x("NNN",0,0,"eraAbbr"),x("NNNN",0,0,"eraName"),x("NNNNN",0,0,"eraNarrow"),x("y",["y",1],"yo","eraYear"),x("y",["yy",2],0,"eraYear"),x("y",["yyy",3],0,"eraYear"),x("y",["yyyy",4],0,"eraYear"),O("N",wn),O("NN",wn),O("NNN",wn),O("NNNN",Tc),O("NNNNN",wc),U(["N","NN","NNN","NNNN","NNNNN"],function(e,r,a,s){var c=a._locale.erasParse(e,s,a._strict);c?b(a).era=c:b(a).invalidEra=e}),O("y",ot),O("yy",ot),O("yyy",ot),O("yyyy",ot),O("yo",bc),U(["y","yy","yyy","yyyy"],ne),U(["yo"],function(e,r,a,s){var c;a._locale._eraYearOrdinalRegex&&(c=e.match(a._locale._eraYearOrdinalRegex)),a._locale.eraYearOrdinalParse?r[ne]=a._locale.eraYearOrdinalParse(e,c):r[ne]=parseInt(e,10)});function dc(e,r){var a,s,c,l=this._eras||Ce("en")._eras;for(a=0,s=l.length;a<s;++a){switch(typeof l[a].since){case"string":c=n(l[a].since).startOf("day"),l[a].since=c.valueOf();break}switch(typeof l[a].until){case"undefined":l[a].until=1/0;break;case"string":c=n(l[a].until).startOf("day").valueOf(),l[a].until=c.valueOf();break}}return l}function hc(e,r,a){var s,c,l=this.eras(),v,S,R;for(e=e.toUpperCase(),s=0,c=l.length;s<c;++s)if(v=l[s].name.toUpperCase(),S=l[s].abbr.toUpperCase(),R=l[s].narrow.toUpperCase(),a)switch(r){case"N":case"NN":case"NNN":if(S===e)return l[s];break;case"NNNN":if(v===e)return l[s];break;case"NNNNN":if(R===e)return l[s];break}else if([v,S,R].indexOf(e)>=0)return l[s]}function mc(e,r){var a=e.since<=e.until?1:-1;return r===void 0?n(e.since).year():n(e.since).year()+(r-e.offset)*a}function pc(){var e,r,a,s=this.localeData().eras();for(e=0,r=s.length;e<r;++e)if(a=this.clone().startOf("day").valueOf(),s[e].since<=a&&a<=s[e].until||s[e].until<=a&&a<=s[e].since)return s[e].name;return""}function vc(){var e,r,a,s=this.localeData().eras();for(e=0,r=s.length;e<r;++e)if(a=this.clone().startOf("day").valueOf(),s[e].since<=a&&a<=s[e].until||s[e].until<=a&&a<=s[e].since)return s[e].narrow;return""}function gc(){var e,r,a,s=this.localeData().eras();for(e=0,r=s.length;e<r;++e)if(a=this.clone().startOf("day").valueOf(),s[e].since<=a&&a<=s[e].until||s[e].until<=a&&a<=s[e].since)return s[e].abbr;return""}function _c(){var e,r,a,s,c=this.localeData().eras();for(e=0,r=c.length;e<r;++e)if(a=c[e].since<=c[e].until?1:-1,s=this.clone().startOf("day").valueOf(),c[e].since<=s&&s<=c[e].until||c[e].until<=s&&s<=c[e].since)return(this.year()-n(c[e].since).year())*a+c[e].offset;return this.year()}function yc(e){return f(this,"_erasNameRegex")||bn.call(this),e?this._erasNameRegex:this._erasRegex}function Ec(e){return f(this,"_erasAbbrRegex")||bn.call(this),e?this._erasAbbrRegex:this._erasRegex}function Sc(e){return f(this,"_erasNarrowRegex")||bn.call(this),e?this._erasNarrowRegex:this._erasRegex}function wn(e,r){return r.erasAbbrRegex(e)}function Tc(e,r){return r.erasNameRegex(e)}function wc(e,r){return r.erasNarrowRegex(e)}function bc(e,r){return r._eraYearOrdinalRegex||ot}function bn(){var e=[],r=[],a=[],s=[],c,l,v,S,R,N=this.eras();for(c=0,l=N.length;c<l;++c)v=xe(N[c].name),S=xe(N[c].abbr),R=xe(N[c].narrow),r.push(v),e.push(S),a.push(R),s.push(v),s.push(S),s.push(R);this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+a.join("|")+")","i")}x(0,["gg",2],0,function(){return this.weekYear()%100}),x(0,["GG",2],0,function(){return this.isoWeekYear()%100});function pr(e,r){x(0,[e,e.length],0,r)}pr("gggg","weekYear"),pr("ggggg","weekYear"),pr("GGGG","isoWeekYear"),pr("GGGGG","isoWeekYear"),O("G",nr),O("g",nr),O("GG",H,me),O("gg",H,me),O("GGGG",sn,on),O("gggg",sn,on),O("GGGGG",rr,er),O("ggggg",rr,er),bt(["gggg","ggggg","GGGG","GGGGG"],function(e,r,a,s){r[s.substr(0,2)]=I(e)}),bt(["gg","GG"],function(e,r,a,s){r[s]=n.parseTwoDigitYear(e)});function Oc(e){return va.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function kc(e){return va.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function xc(){return Re(this.year(),1,4)}function Dc(){return Re(this.isoWeekYear(),1,4)}function Mc(){var e=this.localeData()._week;return Re(this.year(),e.dow,e.doy)}function Rc(){var e=this.localeData()._week;return Re(this.weekYear(),e.dow,e.doy)}function va(e,r,a,s,c){var l;return e==null?Dt(this,s,c).year:(l=Re(e,s,c),r>l&&(r=l),Cc.call(this,e,r,a,s,c))}function Cc(e,r,a,s,c){var l=qi(e,r,a,s,c),v=xt(l.year,0,l.dayOfYear);return this.year(v.getUTCFullYear()),this.month(v.getUTCMonth()),this.date(v.getUTCDate()),this}x("Q",0,"Qo","quarter"),O("Q",Pi),U("Q",function(e,r){r[De]=(I(e)-1)*3});function Ic(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}x("D",["DD",2],"Do","date"),O("D",H,st),O("DD",H,me),O("Do",function(e,r){return e?r._dayOfMonthOrdinalParse||r._ordinalParse:r._dayOfMonthOrdinalParseLenient}),U(["D","DD"],be),U("Do",function(e,r){r[be]=I(e.match(H)[0])});var ga=ut("Date",!0);x("DDD",["DDDD",3],"DDDo","dayOfYear"),O("DDD",tr),O("DDDD",Ui),U(["DDD","DDDD"],function(e,r,a){a._dayOfYear=I(e)});function Nc(e){var r=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?r:this.add(e-r,"d")}x("m",["mm",2],0,"minute"),O("m",H,un),O("mm",H,me),U(["m","mm"],ye);var Ac=ut("Minutes",!1);x("s",["ss",2],0,"second"),O("s",H,un),O("ss",H,me),U(["s","ss"],Me);var Lc=ut("Seconds",!1);x("S",0,0,function(){return~~(this.millisecond()/100)}),x(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),x(0,["SSS",3],0,"millisecond"),x(0,["SSSS",4],0,function(){return this.millisecond()*10}),x(0,["SSSSS",5],0,function(){return this.millisecond()*100}),x(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),x(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),x(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),x(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),O("S",tr,Pi),O("SS",tr,me),O("SSS",tr,Ui);var Fe,_a;for(Fe="SSSS";Fe.length<=9;Fe+="S")O(Fe,ot);function Pc(e,r){r[$e]=I(("0."+e)*1e3)}for(Fe="S";Fe.length<=9;Fe+="S")U(Fe,Pc);_a=ut("Milliseconds",!1),x("z",0,0,"zoneAbbr"),x("zz",0,0,"zoneName");function Uc(){return this._isUTC?"UTC":""}function Yc(){return this._isUTC?"Coordinated Universal Time":""}var _=Se.prototype;_.add=Rf,_.calendar=Uf,_.clone=Yf,_.diff=Gf,_.endOf=tc,_.format=Kf,_.from=Xf,_.fromNow=Zf,_.to=Jf,_.toNow=Qf,_.get=qs,_.invalidAt=cc,_.isAfter=Ff,_.isBefore=Wf,_.isBetween=Hf,_.isSame=Vf,_.isSameOrAfter=jf,_.isSameOrBefore=Bf,_.isValid=uc,_.lang=la,_.locale=ca,_.localeData=da,_.max=uf,_.min=sf,_.parsingFlags=fc,_.set=$s,_.startOf=ec,_.subtract=Cf,_.toArray=ac,_.toObject=oc,_.toDate=ic,_.toISOString=qf,_.inspect=$f,typeof Symbol<"u"&&Symbol.for!=null&&(_[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),_.toJSON=sc,_.toString=zf,_.unix=nc,_.valueOf=rc,_.creationData=lc,_.eraName=pc,_.eraNarrow=vc,_.eraAbbr=gc,_.eraYear=_c,_.year=Wi,_.isLeapYear=zs,_.weekYear=Oc,_.isoWeekYear=kc,_.quarter=_.quarters=Ic,_.month=Gi,_.daysInMonth=nu,_.week=_.weeks=lu,_.isoWeek=_.isoWeeks=du,_.weeksInYear=Mc,_.weeksInWeekYear=Rc,_.isoWeeksInYear=xc,_.isoWeeksInISOWeekYear=Dc,_.date=ga,_.day=_.days=Ou,_.weekday=ku,_.isoWeekday=xu,_.dayOfYear=Nc,_.hour=_.hours=Au,_.minute=_.minutes=Ac,_.second=_.seconds=Lc,_.millisecond=_.milliseconds=_a,_.utcOffset=gf,_.utc=yf,_.local=Ef,_.parseZone=Sf,_.hasAlignedHourOffset=Tf,_.isDST=wf,_.isLocal=Of,_.isUtcOffset=kf,_.isUtc=aa,_.isUTC=aa,_.zoneAbbr=Uc,_.zoneName=Yc,_.dates=le("dates accessor is deprecated. Use date instead.",ga),_.months=le("months accessor is deprecated. Use month instead",Gi),_.years=le("years accessor is deprecated. Use year instead",Wi),_.zone=le("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",_f),_.isDSTShifted=le("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",bf);function Fc(e){return V(e*1e3)}function Wc(){return V.apply(null,arguments).parseZone()}function ya(e){return e}var L=en.prototype;L.calendar=bs,L.longDateFormat=Ds,L.invalidDate=Rs,L.ordinal=Ns,L.preparse=ya,L.postformat=ya,L.relativeTime=Ls,L.pastFuture=Ps,L.set=Ts,L.eras=dc,L.erasParse=hc,L.erasConvertYear=mc,L.erasAbbrRegex=Ec,L.erasNameRegex=yc,L.erasNarrowRegex=Sc,L.months=Qs,L.monthsShort=eu,L.monthsParse=ru,L.monthsRegex=au,L.monthsShortRegex=iu,L.week=su,L.firstDayOfYear=cu,L.firstDayOfWeek=fu,L.weekdays=Eu,L.weekdaysMin=Tu,L.weekdaysShort=Su,L.weekdaysParse=bu,L.weekdaysRegex=Du,L.weekdaysShortRegex=Mu,L.weekdaysMinRegex=Ru,L.isPM=Iu,L.meridiem=Lu;function vr(e,r,a,s){var c=Ce(),l=w().set(s,r);return c[a](l,e)}function Ea(e,r,a){if(m(e)&&(r=e,e=void 0),e=e||"",r!=null)return vr(e,r,a,"month");var s,c=[];for(s=0;s<12;s++)c[s]=vr(e,s,a,"month");return c}function On(e,r,a,s){typeof e=="boolean"?(m(r)&&(a=r,r=void 0),r=r||""):(r=e,a=r,e=!1,m(r)&&(a=r,r=void 0),r=r||"");var c=Ce(),l=e?c._week.dow:0,v,S=[];if(a!=null)return vr(r,(a+l)%7,s,"day");for(v=0;v<7;v++)S[v]=vr(r,(v+l)%7,s,"day");return S}function Hc(e,r){return Ea(e,r,"months")}function Vc(e,r){return Ea(e,r,"monthsShort")}function jc(e,r,a){return On(e,r,a,"weekdays")}function Bc(e,r,a){return On(e,r,a,"weekdaysShort")}function Gc(e,r,a){return On(e,r,a,"weekdaysMin")}Ye("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var r=e%10,a=I(e%100/10)===1?"th":r===1?"st":r===2?"nd":r===3?"rd":"th";return e+a}}),n.lang=le("moment.lang is deprecated. Use moment.locale instead.",Ye),n.langData=le("moment.langData is deprecated. Use moment.localeData instead.",Ce);var Ie=Math.abs;function zc(){var e=this._data;return this._milliseconds=Ie(this._milliseconds),this._days=Ie(this._days),this._months=Ie(this._months),e.milliseconds=Ie(e.milliseconds),e.seconds=Ie(e.seconds),e.minutes=Ie(e.minutes),e.hours=Ie(e.hours),e.months=Ie(e.months),e.years=Ie(e.years),this}function Sa(e,r,a,s){var c=Ee(r,a);return e._milliseconds+=s*c._milliseconds,e._days+=s*c._days,e._months+=s*c._months,e._bubble()}function qc(e,r){return Sa(this,e,r,1)}function $c(e,r){return Sa(this,e,r,-1)}function Ta(e){return e<0?Math.floor(e):Math.ceil(e)}function Kc(){var e=this._milliseconds,r=this._days,a=this._months,s=this._data,c,l,v,S,R;return e>=0&&r>=0&&a>=0||e<=0&&r<=0&&a<=0||(e+=Ta(kn(a)+r)*864e5,r=0,a=0),s.milliseconds=e%1e3,c=ge(e/1e3),s.seconds=c%60,l=ge(c/60),s.minutes=l%60,v=ge(l/60),s.hours=v%24,r+=ge(v/24),R=ge(wa(r)),a+=R,r-=Ta(kn(R)),S=ge(a/12),a%=12,s.days=r,s.months=a,s.years=S,this}function wa(e){return e*4800/146097}function kn(e){return e*146097/4800}function Xc(e){if(!this.isValid())return NaN;var r,a,s=this._milliseconds;if(e=ve(e),e==="month"||e==="quarter"||e==="year")switch(r=this._days+s/864e5,a=this._months+wa(r),e){case"month":return a;case"quarter":return a/3;case"year":return a/12}else switch(r=this._days+Math.round(kn(this._months)),e){case"week":return r/7+s/6048e5;case"day":return r+s/864e5;case"hour":return r*24+s/36e5;case"minute":return r*1440+s/6e4;case"second":return r*86400+s/1e3;case"millisecond":return Math.floor(r*864e5)+s;default:throw new Error("Unknown unit "+e)}}function Ne(e){return function(){return this.as(e)}}var ba=Ne("ms"),Zc=Ne("s"),Jc=Ne("m"),Qc=Ne("h"),el=Ne("d"),tl=Ne("w"),rl=Ne("M"),nl=Ne("Q"),il=Ne("y"),al=ba;function ol(){return Ee(this)}function sl(e){return e=ve(e),this.isValid()?this[e+"s"]():NaN}function Xe(e){return function(){return this.isValid()?this._data[e]:NaN}}var ul=Xe("milliseconds"),fl=Xe("seconds"),cl=Xe("minutes"),ll=Xe("hours"),dl=Xe("days"),hl=Xe("months"),ml=Xe("years");function pl(){return ge(this.days()/7)}var Ae=Math.round,dt={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function vl(e,r,a,s,c){return c.relativeTime(r||1,!!a,e,s)}function gl(e,r,a,s){var c=Ee(e).abs(),l=Ae(c.as("s")),v=Ae(c.as("m")),S=Ae(c.as("h")),R=Ae(c.as("d")),N=Ae(c.as("M")),se=Ae(c.as("w")),Le=Ae(c.as("y")),We=l<=a.ss&&["s",l]||l<a.s&&["ss",l]||v<=1&&["m"]||v<a.m&&["mm",v]||S<=1&&["h"]||S<a.h&&["hh",S]||R<=1&&["d"]||R<a.d&&["dd",R];return a.w!=null&&(We=We||se<=1&&["w"]||se<a.w&&["ww",se]),We=We||N<=1&&["M"]||N<a.M&&["MM",N]||Le<=1&&["y"]||["yy",Le],We[2]=r,We[3]=+e>0,We[4]=s,vl.apply(null,We)}function _l(e){return e===void 0?Ae:typeof e=="function"?(Ae=e,!0):!1}function yl(e,r){return dt[e]===void 0?!1:r===void 0?dt[e]:(dt[e]=r,e==="s"&&(dt.ss=r-1),!0)}function El(e,r){if(!this.isValid())return this.localeData().invalidDate();var a=!1,s=dt,c,l;return typeof e=="object"&&(r=e,e=!1),typeof e=="boolean"&&(a=e),typeof r=="object"&&(s=Object.assign({},dt,r),r.s!=null&&r.ss==null&&(s.ss=r.s-1)),c=this.localeData(),l=gl(this,!a,s,c),a&&(l=c.pastFuture(+this,l)),c.postformat(l)}var xn=Math.abs;function ht(e){return(e>0)-(e<0)||+e}function gr(){if(!this.isValid())return this.localeData().invalidDate();var e=xn(this._milliseconds)/1e3,r=xn(this._days),a=xn(this._months),s,c,l,v,S=this.asSeconds(),R,N,se,Le;return S?(s=ge(e/60),c=ge(s/60),e%=60,s%=60,l=ge(a/12),a%=12,v=e?e.toFixed(3).replace(/\.?0+$/,""):"",R=S<0?"-":"",N=ht(this._months)!==ht(S)?"-":"",se=ht(this._days)!==ht(S)?"-":"",Le=ht(this._milliseconds)!==ht(S)?"-":"",R+"P"+(l?N+l+"Y":"")+(a?N+a+"M":"")+(r?se+r+"D":"")+(c||s||e?"T":"")+(c?Le+c+"H":"")+(s?Le+s+"M":"")+(e?Le+v+"S":"")):"P0D"}var A=cr.prototype;A.isValid=hf,A.abs=zc,A.add=qc,A.subtract=$c,A.as=Xc,A.asMilliseconds=ba,A.asSeconds=Zc,A.asMinutes=Jc,A.asHours=Qc,A.asDays=el,A.asWeeks=tl,A.asMonths=rl,A.asQuarters=nl,A.asYears=il,A.valueOf=al,A._bubble=Kc,A.clone=ol,A.get=sl,A.milliseconds=ul,A.seconds=fl,A.minutes=cl,A.hours=ll,A.days=dl,A.weeks=pl,A.months=hl,A.years=ml,A.humanize=El,A.toISOString=gr,A.toString=gr,A.toJSON=gr,A.locale=ca,A.localeData=da,A.toIsoString=le("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",gr),A.lang=la,x("X",0,0,"unix"),x("x",0,0,"valueOf"),O("x",nr),O("X",Ws),U("X",function(e,r,a){a._d=new Date(parseFloat(e)*1e3)}),U("x",function(e,r,a){a._d=new Date(I(e))});return n.version="2.30.1",i(V),n.fn=_,n.min=ff,n.max=cf,n.now=lf,n.utc=w,n.unix=Fc,n.months=Hc,n.isDate=p,n.locale=Ye,n.invalid=k,n.duration=Ee,n.isMoment=X,n.weekdays=jc,n.parseZone=Wc,n.localeData=Ce,n.isDuration=lr,n.monthsShort=Vc,n.weekdaysMin=Gc,n.defineLocale=mn,n.updateLocale=Fu,n.locales=Wu,n.weekdaysShort=Bc,n.normalizeUnits=ve,n.relativeTimeRounding=_l,n.relativeTimeThreshold=yl,n.calendarFormat=Pf,n.prototype=_,n.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},n})});function Mn(t){this.message=t}Mn.prototype=new Error,Mn.prototype.name="InvalidCharacterError";var Ma=typeof window<"u"&&window.atob&&window.atob.bind(window)||function(t){var n=String(t).replace(/=+$/,"");if(n.length%4==1)throw new Mn("'atob' failed: The string to be decoded is not correctly encoded.");for(var i,o,u=0,f=0,d="";o=n.charAt(f++);~o&&(i=u%4?64*i+o:o,u++%4)?d+=String.fromCharCode(255&i>>(-2*u&6)):0)o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
4+/=".indexOf(o);return d};function wl(t){var n=t.replace(/-/g,"+").replace(/_/g,"/");switch(n.length%4){case 0:break;case 2:n+="==";break;case 3:n+="=";break;default:throw"Illegal base64url string!"}try{return function(i){return decodeURIComponent(Ma(i).replace(/(.)/g,function(o,u){var f=u.charCodeAt(0).toString(16).toUpperCase();return f.length<2&&(f="0"+f),"%"+f}))}(n)}catch{return Ma(n)}}function Tr(t){this.message=t}function bl(t,n){if(typeof t!="string")throw new Tr("Invalid token specified");var i=(n=n||{}).header===!0?0:1;try{return JSON.parse(wl(t.split(".")[i]))}catch(o){throw new Tr("Invalid token specified: "+o.message)}}Tr.prototype=new Error,Tr.prototype.name="InvalidTokenError";var wr=bl;var Jr=Tl(Ra());var Ca=Er("[User] Update user props",Sr()),Qh=Er("[User] Update Google Analytics client id",Sr()),em=Er("[User] Update Cookie Consent",Sr());var Cn=function(t){return t.DEV="dev",t.STAGING="staging",t.PRODUCTION="production",t}(Cn||{});var $=function(){return $=Object.assign||function(n){for(var i,o=1,u=arguments.length;o<u;o++){i=arguments[o];for(var f in i)Object.prototype.hasOwnProperty.call(i,f)&&(n[f]=i[f])}return n},$.apply(this,arguments)};function Ia(t,n,i,o){function u(f){return f instanceof i?f:new i(function(d){d(f)})}return new(i||(i=Promise))(function(f,d){function h(T){try{p(o.next(T))}catch(g){d(g)}}function m(T){try{p(o.throw(T))}catch(g){d(g)}}function p(T){T.done?f(T.value):u(T.value).then(h,m)}p((o=o.apply(t,n||[])).next())})}function Na(t,n){var i={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},o,u,f,d;return d={next:h(0),throw:h(1),return:h(2)},typeof Symbol=="function"&&(d[Symbol.iterator]=function(){return this}),d;function h(p){return function(T){return m([p,T])}}function m(p){if(o)throw new TypeError("Generator is already executing.");for(;i;)try{if(o=1,u&&(f=p[0]&2?u.return:p[0]?u.throw||((f=u.return)&&f.call(u),0):u.next)&&!(f=f.call(u,p[1])).done)return f;switch(u=0,f&&(p=[p[0]&2,f.value]),p[0]){case 0:case 1:f=p;break;case 4:return i.label++,{value:p[1],done:!1};case 5:i.label++,u=p[1],p=[0];continue;case 7:p=i.ops.pop(),i.trys.pop();continue;default:if(f=i.trys,!(f=f.length>0&&f[f.length-1])&&(p[0]===6||p[0]===2)){i=0;continue}if(p[0]===3&&(!f||p[1]>f[0]&&p[1]<f[3])){i.label=p[1];break}if(p[0]===6&&i.label<f[1]){i.label=f[1],f=p;break}if(f&&i.label<f[2]){i.label=f[2],i.ops.push(p);break}f[2]&&i.ops.pop(),i.trys.pop();continue}p=n.call(t,i)}catch(T){p=[6,T],u=0}finally{o=f=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}}function br(){for(var t=0,n=0,i=arguments.length;n<i;n++)t+=arguments[n].length;for(var o=Array(t),u=0,n=0;n<i;n++)for(var f=arguments[n],d=0,h=f.length;d<h;d++,u++)o[u]=f[d];return o}var j={log:console.log.bind(console),warn:console.warn.bind(console),error:console.error.bind(console)};var Ol=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/;function Nn(t){if(vt){if(Nt===t)return;In()}var n=ee(t);throw vt=n,Nt=t,setTimeout(D(function(){Nt===t&&In()}),n.incomplete?2e3:0),t}var pt=[],Nt,vt;function An(t){Dl(),Rl(),pt.push(t)}function Ln(t){for(var n=pt.length-1;n>=0;n-=1)pt[n]===t&&pt.splice(n,1);pt.length===0&&(Ml(),Cl())}function Or(t,n,i){var o;if(pt.forEach(function(u){try{u(t,n,i)}catch(f){o=f}}),o)throw o}var kr,xr,Aa,Dr;function kl(t,n,i,o,u){var f;if(vt)Pn(vt,n,i),In();else if(u)f=ee(u),Or(f,!0,u);else{var d={url:n,column:o,line:i},h,m=t;if({}.toString.call(t)==="[object String]"){var p=Ol.exec(m);p&&(h=p[1],m=p[2])}f={name:h,message:typeof m=="string"?m:void 0,stack:[d]},Or(f,!0,t)}return kr?kr.apply(this,arguments):!1}function xl(t){var n=t.reason||"Empty reason",i=ee(n);Or(i,!0,n)}function Dl(){xr||(kr=window.onerror,window.onerror=D(kl),xr=!0)}function Ml(){xr&&(window.onerror=kr,xr=!1)}function Rl(){Dr||(Aa=window.onunhandledrejection!==null?window.onunhandledrejection:void 0,window.onunhandledrejection=D(xl),Dr=!0)}function Cl(){Dr&&(window.onunhandledrejection=Aa,Dr=!1)}function In(){var t=vt,n=Nt;vt=void 0,Nt=void 0,Or(t,!1,n)}var Ze="?";function ee(t,n){var i,o=n===void 0?0:+n;try{if(i=Nl(t),i)return i}catch(u){if(Mr)throw u}try{if(i=Il(t),i)return i}catch(u){if(Mr)throw u}try{if(i=Al(t),i)return i}catch(u){if(Mr)throw u}try{if(i=La(t,o+1),i)return i}catch(u){if(Mr)throw u}return{message:ie(t,"message"),name:ie(t,"name"),stack:[]}}var Mr=!1;function Il(t){var n=ie(t,"stack");
4if(n){for(var i=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,o=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,u=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,f,d=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,h=/\((\S*)(?::(\d+))(?::(\d+))\)/,m=n.split(`
5`),p=[],T,g,w,C=0,b=m.length;C<b;C+=1){if(i.exec(m[C])){g=i.exec(m[C]);var z=g[2]&&g[2].indexOf("native")===0;f=g[2]&&g[2].indexOf("eval")===0,T=h.exec(g[2]),f&&T&&(g[2]=T[1],g[3]=T[2],g[4]=T[3]),w={args:z?[g[2]]:[],column:g[4]?+g[4]:void 0,func:g[1]||Ze,line:g[3]?+g[3]:void 0,url:z?void 0:g[2]}}else if(u.exec(m[C]))g=u.exec(m[C]),w={args:[],column:g[4]?+g[4]:void 0,func:g[1]||Ze,line:+g[3],url:g[2]};else if(o.exec(m[C]))g=o.exec(m[C]),f=g[3]&&g[3].indexOf(" > eval")>-1,T=d.exec(g[3]),f&&T?(g[3]=T[1],g[4]=T[2],g[5]=void 0):C===0&&!g[5]&&!Pl(t.columnNumber)&&(p[0].column=t.columnNumber+1),w={args:g[2]?g[2].split(","):[],column:g[5]?+g[5]:void 0,func:g[1]||Ze,line:g[4]?+g[4]:void 0,url:g[3]};else continue;!w.func&&w.line&&(w.func=Ze),p.push(w)}if(p.length)return{stack:p,message:ie(t,"message"),name:ie(t,"name")}}}function Nl(t){var n=ie(t,"stacktrace");if(n){for(var i=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,o=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^\)]+))\((.*)\))? in (.*):\s*$/i,u=n.split(`
6`),f=[],d,h=0;h<u.length;h+=2){var m=void 0;i.exec(u[h])?(d=i.exec(u[h]),m={args:[],column:void 0,func:d[3],line:+d[1],url:d[2]}):o.exec(u[h])&&(d=o.exec(u[h]),m={args:d[5]?d[5].split(","):[],column:+d[2],func:d[3]||d[4],line:+d[1],url:d[6]}),m&&(!m.func&&m.line&&(m.func=Ze),m.context=[u[h+1]],f.push(m))}if(f.length)return{stack:f,message:ie(t,"message"),name:ie(t,"name")}}}function Al(t){var n=ie(t,"message");if(n){var i=n.split(`
7`);if(!(i.length<4)){var o=/^\s*Line (\d+) of linked script ((?:file|https?|blob)\S+)(?:: in function (\S+))?\s*$/i,u=/^\s*Line (\d+) of inline#(\d+) script in ((?:file|https?|blob)\S+)(?:: in function (\S+))?\s*$/i,f=/^\s*Line (\d+) of function script\s*$/i,d=[],h=window&&window.document&&window.document.getElementsByTagName("script"),m=[],p;for(var T in h)Ll(h,T)&&!h[T].src&&m.push(h[T]);for(var g=2;g<i.length;g+=2){var w=void 0;if(o.exec(i[g]))p=o.exec(i[g]),w={args:[],column:void 0,func:p[3],line:+p[1],url:p[2]};else if(u.exec(i[g]))p=u.exec(i[g]),w={args:[],column:void 0,func:p[4],line:+p[1],url:p[3]};else if(f.exec(i[g])){p=f.exec(i[g]);var C=window.location.href.replace(/#.*$/,"");w={url:C,args:[],column:void 0,func:"",line:+p[1]}}w&&(w.func||(w.func=Ze),w.context=[i[g+1]],d.push(w))}if(d.length)return{stack:d,message:i[0],name:ie(t,"name")}}}}function Pn(t,n,i){var o={url:n,line:i?+i:void 0};if(o.url&&o.line){t.incomplete=!1;var u=t.stack;if(u.length>0&&u[0].url===o.url){if(u[0].line===o.line)return!1;if(!u[0].line&&u[0].func===o.func)return u[0].line=o.line,u[0].context=o.context,!1}return u.unshift(o),t.partial=!0,!0}return t.incomplete=!0,!1}function La(t,n){for(var i=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,o=[],u={},f=!1,d,h,m=La.caller;m&&!f;m=m.caller)m===ee||m===Nn||(h={args:[],column:void 0,func:Ze,line:void 0,url:void 0},d=i.exec(m.toString()),m.name?h.func=m.name:d&&(h.func=d[1]),typeof h.func>"u"&&(h.func=d?d.input.substring(0,d.input.indexOf("{")):void 0),u[m.toString()]?f=!0:u[m.toString()]=!0,o.push(h));n&&o.splice(0,n);var p={stack:o,message:ie(t,"message"),name:ie(t,"name")};return Pn(p,ie(t,"sourceURL")||ie(t,"fileName"),ie(t,"line")||ie(t,"lineNumber")),p}function ie(t,n){if(!(typeof t!="object"||!t||!(n in t))){var i=t[n];return typeof i=="string"?i:void 0}}function Ll(t,n){return Object.prototype.hasOwnProperty.call(t,n)}function Pl(t){return typeof t>"u"}var ue={AGENT:"agent",CONSOLE:"console",CUSTOM:"custom",LOGGER:"logger",NETWORK:"network",SOURCE:"source"},He=function(t){return t.HANDLED="handled",t.UNHANDLED="unhandled",t}(He||{});function At(t,n,i,o){return!t||t.message===void 0&&!(n instanceof Error)?{message:i+" "+je(n),stack:"No stack, consider using an instance of Error",handlingStack:o,type:t&&t.name}:{message:t.message||"Empty message",stack:Ve(t),handlingStack:o,type:t.name}}function Ve(t){var n=Un(t);return t.stack.forEach(function(i){var o=i.func==="?"?"<anonymous>":i.func,u=i.args&&i.args.length>0?"("+i.args.join(", ")+")":"",f=i.line?":"+i.line:"",d=i.line&&i.column?":"+i.column:"";n+=`
8  at `+o+u+" @ "+i.url+f+d}),n}function Un(t){return(t.name||"Error")+": "+t.message}function Lt(){var t=2,n=new Error,i;if(!n.stack)try{throw n}catch{}return fe(function(){var o=ee(n);o.stack=o.stack.slice(t),i=Ve(o)}),i}var Ul=/[^\u0000-\u007F]/,Pa=!1,Pt=function(){function t(n,i,o){o===void 0&&(o=!1),this.endpointUrl=n,this.bytesLimit=i,this.withBatchTime=o}return t.prototype.send=function(n,i){var o=this.withBatchTime?Yl(this.endpointUrl):this.endpointUrl,u=!!navigator.sendBeacon&&i<this.bytesLimit;if(u)try{var f=navigator.sendBeacon(o,n);if(f)return}catch(m){Fl(m)}var d=function(m){var p=m?.currentTarget;p.status>
8=200&&p.status<300||Pa||(Pa=!0,ae("XHR fallback failed",{on_line:navigator.onLine,size:i,url:o,try_beacon:u,event:{is_trusted:m.isTrusted,total:m.total,loaded:m.loaded},request:{status:p.status,ready_state:p.readyState,response_text:p.responseText.slice(0,64)}}))},h=new XMLHttpRequest;h.addEventListener("loadend",D(function(m){return d(m)})),h.open("POST",o,!0),h.send(n)},t}();function Yl(t){return""+t+(t.indexOf("?")===-1?"?":"&")+"batch_time="+new Date().getTime()}var Ua=!1;function Fl(t){Ua||(Ua=!0,Rr(t))}var Ut=function(){function t(n,i,o,u,f,d){d===void 0&&(d=Pe),this.request=n,this.maxSize=i,this.bytesLimit=o,this.maxMessageSize=u,this.flushTimeout=f,this.beforeUnloadCallback=d,this.pushOnlyBuffer=[],this.upsertBuffer={},this.bufferBytesSize=0,this.bufferMessageCount=0,this.flushOnVisibilityHidden(),this.flushPeriodically()}return t.prototype.add=function(n){this.addOrUpdate(n)},t.prototype.upsert=function(n,i){this.addOrUpdate(n,i)},t.prototype.flush=function(){if(this.bufferMessageCount!==0){var n=br(this.pushOnlyBuffer,Ya(this.upsertBuffer));this.request.send(n.join(`
9`),this.bufferBytesSize),this.pushOnlyBuffer=[],this.upsertBuffer={},this.bufferBytesSize=0,this.bufferMessageCount=0}},t.prototype.sizeInBytes=function(n){return Ul.test(n)?window.TextEncoder!==void 0?new TextEncoder().encode(n).length:new Blob([n]).size:n.length},t.prototype.addOrUpdate=function(n,i){var o=this.process(n),u=o.processedMessage,f=o.messageBytesSize;if(f>=this.maxMessageSize){j.warn("Discarded a message whose size was bigger than the maximum allowed size "+this.maxMessageSize+"KB.");return}this.hasMessageFor(i)&&this.remove(i),this.willReachedBytesLimitWith(f)&&this.flush(),this.push(u,f,i),this.isFull()&&this.flush()},t.prototype.process=function(n){var i=je(n),o=this.sizeInBytes(i);return{processedMessage:i,messageBytesSize:o}},t.prototype.push=function(n,i,o){this.bufferMessageCount>0&&(this.bufferBytesSize+=1),o!==void 0?this.upsertBuffer[o]=n:this.pushOnlyBuffer.push(n),this.bufferBytesSize+=i,this.bufferMessageCount+=1},t.prototype.remove=function(n){var i=this.upsertBuffer[n];delete this.upsertBuffer[n];var o=this.sizeInBytes(i);this.bufferBytesSize-=o,this.bufferMessageCount-=1,this.bufferMessageCount>0&&(this.bufferBytesSize-=1)},t.prototype.hasMessageFor=function(n){return n!==void 0&&this.upsertBuffer[n]!==void 0},t.prototype.willReachedBytesLimitWith=function(n){return this.bufferBytesSize+n+1>=this.bytesLimit},t.prototype.isFull=function(){return this.bufferMessageCount===this.maxSize||this.bufferBytesSize>=this.bytesLimit},t.prototype.flushPeriodically=function(){var n=this;setTimeout(D(function(){n.flush(),n.flushPeriodically()}),this.flushTimeout)},t.prototype.flushOnVisibilityHidden=function(){var n=this;navigator.sendBeacon&&(te(window,"beforeunload",this.beforeUnloadCallback),te(document,"visibilitychange",function(){document.visibilityState==="hidden"&&n.flush()}),te(window,"beforeunload",function(){return n.flush()}))},t}();var Fn=function(t){return t.info="info",t.error="error",t}(Fn||{}
9),Ue={maxMessagesPerPage:0,sentMessageCount:0},Yn;function Wa(t){if(t.internalMonitoringEndpoint){var n=Wl(t);Va(Ue,{batch:n,maxMessagesPerPage:t.maxInternalMonitoringMessagesPerPage,sentMessageCount:0})}return{setExternalContextProvider:function(i){Yn=i}}}function Wl(t){var n=o(t.internalMonitoringEndpoint),i;t.replica!==void 0&&(i=o(t.replica.internalMonitoringEndpoint));function o(f){return new Ut(new Pt(f,t.batchBytesLimit),t.maxBatchSize,t.batchBytesLimit,t.maxMessageSize,t.flushTimeout)}function u(f){return ce({date:new Date().getTime(),view:{referrer:document.referrer,url:window.location.href}},Yn!==void 0?Yn():{},f)}return{add:function(f){var d=u(f);n.add(d),i&&i.add(d)}}}function D(t){return function(){return fe(t,this,arguments)}}function fe(t,n,i){try{return t.apply(n,i)}catch(o){Fa(o);try{Rr(o)}catch(u){Fa(u)}}}function ae(t,n){Vl(t),Ha($($({message:t},n),{status:Fn.info}))}function Rr(t){Ha($($({},Hl(t)),{status:Fn.error}))}function Ha(t){Ue.batch&&Ue.sentMessageCount<Ue.maxMessagesPerPage&&(Ue.sentMessageCount+=1,Ue.batch.add(t))}function Hl(t){if(t instanceof Error){var n=ee(t);return{error:{kind:n.name,stack:Ve(n)},message:n.message}}return{error:{stack:"Not an instance of error"},message:"Uncaught "+je(t)}}function Wn(t){Ue.debugMode=t}function Fa(t){Ue.debugMode&&j.error("[INTERNAL ERROR]",t)}function Vl(t){Ue.debugMode&&j.log("[MONITORING MESSAGE]",t)}var Je=1e3,pe=60*Je,Hn=60*pe,Yt=24*Hn,Ir=1024,oe=function(t){return t.DOCUMENT="document",t.XHR="xhr",t.BEACON="beacon",t.FETCH="fetch",t.CSS="css",t.JS="js",t.IMAGE="image",t.FONT="font",t.MEDIA="media",t.OTHER="other",t}(oe||{}),Oe=function(t){return t.FETCH="fetch",t.XHR="xhr",t}(Oe||{});function Nr(t,n,i){var o=i&&i.leading!==void 0?i.leading:!0,u=i&&i.trailing!==void 0?i.trailing:!0,f=!1,d,h;return{throttled:function(){for(var m=[],p=0;p<arguments.length;p++)m[p]=arguments[p];if(f){d=m;return}o?t.apply(void 0,m):d=m,f=!0,h=setTimeout(function(){u&&d&&t.apply(void 0,d),f=!1,d=void 0},n)},cancel:function(){clearTimeout(h),f=!1,d=void 0}}}function Va(t){for(var n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];n.forEach(function(o){for(var u in o)Object.prototype.hasOwnProperty.call(o,u)&&(t[u]=o[u])})}function J(t){return t?(parseInt(t,10)^Math.random()*16>>parseInt(t,10)/4).toString(16):("10000000-1000-4000-8000-"+1e11).replace(/[018]/g,J)}function Vn(t){return t!==0&&Math.random()*100<=t}function Ar(t,n){return+t.toFixed(n)}function Pe(){}function je(t,n,i){if(t==null)return JSON.stringify(t);var o=[!1,void 0];ja(t)&&(o=[!0,t.toJSON],delete t.toJSON);var u=[!1,void 0],f;typeof t=="object"&&(f=Object.getPrototypeOf(t),ja(f)&&(u=[!0,f.toJSON],delete f.toJSON));var d;try{d=JSON.stringify(t,n,i)}catch{d="<error: unable to serialize object>"}finally{o[0]&&(t.toJSON=o[1]),u[0]&&(f.toJSON=u[1])}return d}function ja(t){return typeof t=="object"&&t!==null&&t.hasOwnProperty("toJSON")}function Qe(t,n){return t.indexOf(n)!==-1}function Ba(t,n){for(var i=0;i<t.length;i+=1){var o=t[i];if(n(o,i,t))return o}}function jn(t){return Ft(t)&&t>=0&&t<=100}function Ft(t){return typeof t=="number"}function Ya(t){var n=[];return Object.keys(t).forEach(function(i){n.push(t[i])}),n}function Lr(t){return Object.keys(t).map(function(n){return[n,t[n]]})}function et(t){return Object.keys(t).length===0}function Ga(t,n){for(var i={},o=0,u=Object.keys(t);o<u.length;o++){var f=u[o];i[f]=n(t[f])}return i}function za(){if(typeof globalThis=="object")return globalThis;Object.defineProperty(Object.prototype,"_dd_temp_",{get:function(){return this},configurable:!0});var t=_dd_temp_;return delete Object.prototype._dd_temp_,typeof t!="object"&&(typeof self=="object"?t=self:typeof window=="object"?t=window:t={}),t}function qa(){return Bn(window.location)}function Bn(t){if(t.origin)return t.origin;var n=t.host.replace(/(:80|:443)$/,"");return t.protocol+"//"+n}function Wt(t,n){var i=new RegExp("(?:^|;)\\s*"+n+"\\s*=\\s*([^;]+)"),o=i.exec(t);return o?o[1]:void 0}function $a(t,n){var i=t.charCodeAt(n-1);return i>=55296&&i<=56319?t.slice(0,n+1):t.slice(0,n)}function te(t,n,i,o){return Be(t,[n],i,o)}function Be(t,n,i,o){var u=o===void 0?{}:o,f=u.once,d=u.capture,h=u.passive,m=D(f?function(g){T(),i(g)}:i),p=h?{capture:d,passive:h}:d;
9n.forEach(function(g){return t.addEventListener(g,m,p)});var T=function(){return n.forEach(function(g){return t.removeEventListener(g,m,p)})};return{stop:T}}function Gn(t,n){if(document.readyState===t||document.readyState==="complete")n();else{var i=t==="complete"?"load":"DOMContentLoaded";te(window,i,n,{once:!0})}}function Pr(t){return t===null?"null":Array.isArray(t)?"array":typeof t}function jl(){if(typeof WeakSet<"u"){var t=new WeakSet;return{hasAlreadyBeenSeen:function(i){var o=t.has(i);return o||t.add(i),o}}}var n=[];return{hasAlreadyBeenSeen:function(i){var o=n.indexOf(i)>=0;return o||n.push(i),o}}}function Cr(t,n,i){if(i===void 0&&(i=jl()),n===void 0)return t;if(typeof n!="object"||n===null)return n;if(n instanceof Date)return new Date(n.getTime());if(n instanceof RegExp){var o=n.flags||[n.global?"g":"",n.ignoreCase?"i":"",n.multiline?"m":"",n.sticky?"y":"",n.unicode?"u":""].join("");return new RegExp(n.source,o)}if(!i.hasAlreadyBeenSeen(n)){if(Array.isArray(n)){for(var u=Array.isArray(t)?t:[],f=0;f<n.length;++f)u[f]=Cr(u[f],n[f],i);return u}var d=Pr(t)==="object"?t:{};for(var h in n)Object.prototype.hasOwnProperty.call(n,h)&&(d[h]=Cr(d[h],n[h],i));return d}}function Ge(t){return Cr(void 0,t)}function ce(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var i,o=0,u=t;o<u.length;o++){var f=u[o];f!=null&&(i=Cr(i,f))}return i}var qn=Je;function Ka(t,n){var i,o,u=!1,f=function(){u=!0,clearTimeout(i),i=setTimeout(function(){u=!1},qn)};return{get:function(){return u||(o=tt(t),f()),o},set:function(d,h){Ur(t,d,h,n),o=d,f()}}}function Ur(t,n,i,o){var u=new Date;u.setTime(u.getTime()+i);var f="expires="+u.toUTCString(),d=o&&o.crossSite?"none":"strict",h=o&&o.domain?";domain="+o.domain:"",m=o&&o.secure?";secure":"";document.cookie=t+"="+n+";"+f+";path=/;samesite="+d+h+m}function tt(t){return Wt(document.cookie,t)}function Xa(t,n){Ur(t,"",0,n)}function Za(t){if(document.cookie===void 0||document.cookie===null)return!1;try{var n="dd_cookie_test_"+J(),i="test";Ur(n,i,Je,t);var o=tt(n)===i;return Xa(n,t),o}catch(u){return j.error(u),!1}}var zn;function Ja(){if(zn===void 0){for(var t="dd_site_test_"+J(),n="test",i=window.location.hostname.split("."),o=i.pop();i.length&&!tt(t);)o=i.pop()+"."+o,Ur(t,n,Je,{domain:o});Xa(t,{domain:o}),zn=o}return zn}function Yr(t,n){return function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];try{return t.apply(void 0,i)}catch(u){j.error(n,u)}}}function $n(t){var n=$($({},t),{onReady:function(i){i()}});return Object.defineProperty(n,"_setDebug",{get:function(){return Wn},enumerable:!1}),n}function Kn(t,n,i){var o=t[n];t[n]=i,o&&o.q&&o.q.forEach(function(u){return Yr(u,"onReady callback threw an error:")()})}var gt=function(t){return t.RELEASE="release",t.STAGING="staging",t.E2E_TEST="e2e-test",t}(gt||{});function Xn(t,n){var i=Qa(t,n),o=Wa(i);return{configuration:i,internalMonitoring:o}}function Zn(t){return Za(t)?!0:(j.warn("Cookies are not authorized, we will not send any data."),!1)}function Jn(){return Gl()?(j.error("Execution is not allowed in the current context."),!1):!0}function Gl(){return window.location.protocol==="file:"}var Fr,Qn={alternate:{logs:"logs",rum:"rum",sessionReplay:"session-replay",trace:"trace"},classic:{logs:"browser",rum:"rum",sessionReplay:void 0,trace:"public-trace"}},_t={EU:"eu",US:"us"},Ht=(Fr={},Fr[_t.EU]="datadoghq.eu",Fr[_t.US]="datadoghq.com",Fr),zl=[Ht[_t.US],Ht[_t.EU]];function eo(t,n){var i={buildMode:n.buildMode,clientToken:t.clientToken,env:t.env,proxyHost:t.proxyHost,sdkVersion:n.sdkVersion,service:t.service,site:t.site||Ht[t.datacenter||n.datacenter],version:t.version},o=ql(i.site,t),u=$l(o,i,t.replica!==void 0),f={isIntakeUrl:function(h){return u.some(function(m){return h.indexOf(m)===0})},logsEndpoint:ze(o,"logs",i),rumEndpoint:ze(o,"rum",i),sessionReplayEndpoint:ze(o,"sessionReplay",i),traceEndpoint:ze(o,"trace",i)};if(t.internalMonitoringApiKey&&(f.internalMonitoringEndpoint=ze(o,"logs",i,"browser-agent-internal-monitoring")),i.buildMode===gt.E2E_TEST&&(f.internalMonitoringEndpoint="<<< E2E INTERNAL MONITORING ENDPOINT >>>",f.logsEndpoint="<<< E2E LOGS ENDPOINT >>>",f.rumEndpoint="<<< E2E RUM ENDPOINT >>>",f.sessionReplayEndpoint="<<< E2E SESSION REPLAY ENDPOINT >>>"),i.buildMode===gt.STAGING&&t.replica!==void 0){var d=$($({},i),{applicationId:t.replica.applicationId,clientToken:t.replica.clientToken,site:Ht[_t.US]});f.replica={applicationId:t.replica.applicationId,internalMonitoringEndpoint:ze(o,"logs",d,"browser-agent-internal-monitoring"),logsEndpoint:ze(o,"logs",d),rumEndpoint:ze(o,"rum",d)}}return f}function ql(t,n){return!n.useAlternateIntakeDomains&&Qe(zl,t)?"classic":"alternate"}function $l(t,n,i){if(n.proxyHost)return["https://"+n.proxyHost+"/v1/input/"];var o=[n.site];n.buildMode===gt.STAGING&&i&&o.push(Ht[_t.US]);for(var u=[],f=Object.keys(Qn[t]),d=0,h=o;d<h.length;d++)for(var m=h[d],p=0,T=f;p<T.length;p++){var g=T[p];u.push("https://"+to(t,g,m)+"/v1/input/")}return u}function to(t,n,i){return t==="classic"&&Kl(n,i)||Xl(n,i)}function Kl(t,n){var i=Qn.classic[t];return i&&i+"-http-intake.logs."+n}function Xl(t,n){var i=Qn.alternate[t],o=n.split("."),u=o.pop(),f=o.join("-")+"."+u;return i+".browser-intake-"+f}function ze(t,n,i,o){var u="sdk_version:"+i.sdkVersion+(i.env?",env:"+i.env:"")+(i.service?",service:"+i.service:"")+(i.version?",version:"+i.version:""),f=to(t,n,i.site),d=i.proxyHost?i.proxyHost:f,h=i.proxyHost?"ddhost="+f+"&":"",m=h+"ddsource="+(o||"browser")+"&ddtags="+encodeURIComponent(u);return"https://"+d+"/v1/input/"+i.clientToken+"?"+m}var ro={allowedTracingOrigins:[],maxErrorsByMinute:3e3,maxInternalMonitoringMessagesPerPage:15,resourceSampleRate:100,sampleRate:100,silentMultipleInit:!1,trackInteractions:!1,trackViewsManually:!1,requestErrorResponseLengthLimit:32*Ir,flushTimeout:30*Je,maxBatchSize:50,maxMessageSize:256*Ir,batchBytesLimit:16*Ir};function Qa(t,n){var i=Array.isArray(t.enableExperimentalFeatures)?t.enableExperimentalFeatures:[],o=$($({beforeSend:t.beforeSend&&Yr(t.beforeSend,"beforeSend threw an error:"),cookieOptions:Wr(t),isEnabled:function(u){return Qe(i,u)},service:t.service},eo(t,n)),ro);return"allowedTracingOrigins"in t&&(o.allowedTracingOrigins=t.allowedTracingOrigins),"sampleRate"in t&&(
9o.sampleRate=t.sampleRate),"resourceSampleRate"in t&&(o.resourceSampleRate=t.resourceSampleRate),"trackInteractions"in t&&(o.trackInteractions=!!t.trackInteractions),"trackViewsManually"in t&&(o.trackViewsManually=!!t.trackViewsManually),"actionNameAttribute"in t&&(o.actionNameAttribute=t.actionNameAttribute),o}function Wr(t){var n={};return n.secure=Zl(t),n.crossSite=!!t.useCrossSiteSessionCookie,t.trackSessionAcrossSubdomains&&(n.domain=Ja()),n}function Zl(t){return!!t.useSecureSessionCookie||!!t.useCrossSiteSessionCookie}function Vt(t){return{relative:t,timeStamp:Jl(t)}}function Jl(t){var n=Date.now()-performance.now();return n>jt()?Math.round(n+t):Ql(t)}function ti(){return Math.round(Date.now()-(jt()+performance.now()))}function Y(t){return Ft(t)?Ar(t*1e6,0):t}function G(){return Date.now()}function re(){return performance.now()}function Q(){return{relative:re(),timeStamp:G()}}function no(){return{relative:0,timeStamp:jt()}}function K(t,n){return n-t}function io(t){return t-jt()}function Ql(t){return Math.round(jt()+t)}var ei;function jt(){return ei===void 0&&(ei=performance.timing.navigationStart),ei}var ri;function ni(t){return ri=console.error,console.error=function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var o=Lt();fe(function(){ri.apply(console,n),t.notify($($({},ed(n,o)),{source:ue.CONSOLE,startClocks:Q(),handling:He.HANDLED}))})},{stop:function(){console.error=ri}}}function ed(t,n){var i=Ba(t,function(o){return o instanceof Error});return{message:br(["console error:"],t).map(function(o){return td(o)}).join(" "),stack:i?Ve(ee(i)):void 0,handlingStack:n}}function td(t){return typeof t=="string"?t:t instanceof Error?Un(ee(t)):je(t,void 0,2)}function Hr(t){return Vr(t,qa()).href}function ao(t){try{return!!Vr(t)}catch{return!1}}function oo(t){return Bn(Vr(t))}function so(t){var n=Vr(t).pathname;return n[0]==="/"?n:"/"+n}function Vr(t,n){if(rd())return n!==void 0?new URL(t,n):new URL(t);if(n===void 0&&!/:/.test(t))throw new Error("Invalid URL: '"+t+"'");var i=document,o=i.createElement("a");if(n!==void 0){i=document.implementation.createHTMLDocument("");var u=i.createElement("base");u.href=n,i.head.appendChild(u),i.body.appendChild(o)}return o.href=t,o}var yt;function rd(){if(yt!==void 0)return yt;try{var t=new URL("http://test/path");return yt=t.href==="http://test/path",yt}catch{yt=!1}return yt}var Bt,jr,Br=[],Gt=[];function zt(){return Bt||(nd(),Bt={beforeSend:function(t){Br.push(t)},onRequestComplete:function(t){Gt.push(t)}}),Bt}function ii(){Bt&&(Bt=void 0,Br.splice(0,Br.length),Gt.splice(0,Gt.length),window.fetch=jr)}function nd(){window.fetch&&(jr=window.fetch,window.fetch=function(t,n){var i,o=fe(id,null,[t,n]);return o?(i=jr.call(this,o.input,o.init),fe(ad,null,[i,o])):i=jr.call(this,t,n),i})}function id(t,n){var i=n&&n.method||typeof t=="object"&&t.method||"GET",o=Hr(typeof t=="object"&&t.url||t),u=Q(),f={init:n,input:t,method:i,startClocks:u,url:o};return Br.forEach(function(d){return d(f)}),f}function ad(t,n){var i=this,o=function(u){return Ia(i,void 0,void 0,function(){var f,d;return Na(this,function(h){switch(h.label){case 0:return n.duration=K(n.startClocks.timeStamp,G()),"stack"in u||u instanceof Error?(n.status=0,n.responseText=Ve(ee(u)),n.isAborted=u instanceof DOMException&&u.code===DOMException.ABORT_ERR,n.error=u,Gt.forEach(function(m){return m(n)}),[3,6]):[3,1];case 1:if(!("status"in u))return[3,6];f=void 0,h.label=2;case 2:return h.trys.push([2,4,,5]),[4,u.clone().text()];case 3:return f=h.sent(),[3,5];case 4:return d=h.sent(),f="Unable to retrieve response: "+d,[3,5];case 5:n.response=u,n.responseText=f,n.responseType=u.type,n.status=u.status,n.isAborted=!1,Gt.forEach(function(m){return m(n)}),h.label=6;case 6:return[2]}})})};t.then(D(o),D(o))}var qt,ai=[],oi=[],si,ui,fi;function $t(){return qt||(si=XMLHttpRequest.prototype.open,ui=XMLHttpRequest.prototype.send,fi=XMLHttpRequest.prototype.abort,XMLHttpRequest.prototype.open=od,XMLHttpRequest.prototype.send=sd,XMLHttpRequest.prototype.abort=ud,qt={beforeSend:function(t){ai.push(t)},onRequestComplete:function(t){oi.push(t)}}),qt}function ci(){qt&&(qt=void 0,ai.length=0,oi.length=0,XMLHttpRequest.prototype.open=si,XMLHttpRequest.prototype.send=ui,XMLHttpRequest.prototype.abort=fi)}function od(t,n){var i=this;return fe(function(){i._datadog_xhr={method:t,url:Hr(n)}}),si.apply(this,arguments)}function sd(){var t=this;return fe(function(){if(t._datadog_xhr){t._datadog_xhr.startTime=re(),t._datadog_xhr.startClocks=Q(),t._datadog_xhr.isAborted=!1;var n=!1,i=t.onreadystatechange,o=function(){this.readyState===XMLHttpRequest.DONE&&u(),i&&i.apply(this,arguments)},u=D(function(){t.removeEventListener("loadend",u),t.onreadystatechange===o&&(t.onreadystatechange=i),!n&&(n=!0,fd(t))});t.onreadystatechange=o,t.addEventListener("loadend",u),ai.forEach(function(f){return f(t._datadog_xhr,t)})}}),ui.apply(this,arguments)}function ud(){var t=this;return fe(function(){t._datadog_xhr&&(t._datadog_xhr.isAborted=!0)}),fi.apply(this,arguments)}function fd(t){t._datadog_xhr.duration=K(t._datadog_xhr.startClocks.timeStamp,G()),t._datadog_xhr.responseText=t.response,t._datadog_xhr.status=t.status,t._datadog_xhr.xhr=t,oi.forEach(function(n){return n($({},t._datadog_xhr))})}function li(t,n,i){i===void 0&&(i=!0),$t().onRequestComplete(function(u){return o(Oe.XHR,u)}),zt().onRequestComplete(function(u){return o(Oe.FETCH,u)});function o(u,f){!t.isIntakeUrl(f.url)&&(i||!f.isAborted)&&(cd(f)||ld(f))&&n.notify({message:hd(u)+" error "+f.method+" "+f.url,resource:{method:f.method,statusCode:f.
9status,url:f.url},source:ue.NETWORK,stack:dd(f.responseText,t)||"Failed to load",startClocks:f.startClocks})}return{stop:function(){ci(),ii()}}}function cd(t){return t.status===0&&t.responseType!=="opaque"}function ld(t){return t.status>=500}function dd(t,n){return t&&t.length>n.requestErrorResponseLengthLimit?t.substring(0,n.requestErrorResponseLengthLimit)+"...":t}function hd(t){return Oe.XHR===t?"XHR":"Fetch"}var di;function hi(t){return di=function(n,i,o){var u=At(n,o,"Uncaught"),f=u.stack,d=u.message,h=u.type;t.notify({message:d,stack:f,type:h,source:ue.SOURCE,startClocks:Q(),originalError:o,handling:He.UNHANDLED})},An(di),{stop:function(){Ln(di)}}}var rt=function(){function t(){this.observers=[]}return t.prototype.subscribe=function(n){var i=this;return this.observers.push(n),{unsubscribe:function(){i.observers=i.observers.filter(function(o){return n!==o})}}},t.prototype.notify=function(n){this.observers.forEach(function(i){return i(n)})},t}();var md="_dd",pd="_dd_r",vd="_dd_l",gd="rum",_d="logs";function uo(t){var n=t.get(),i=tt(md),o=tt(pd),u=tt(vd);if(!n){var f={};i&&(f.id=i),u&&/^[01]$/.test(u)&&(f[_d]=u),o&&/^[012]$/.test(o)&&(f[gd]=o),Gr(f,t)}}var co="_dd_s",fo=15*pe,zr=4*Hn,yd=pe;function pi(t,n,i){var o=Ka(co,t);uo(o);var u=new rt,f=Kt(o).id,d=Nr(D(function(){var m=Kt(o),p=i(m[n]),T=p.trackingType,g=p.isTracked;m[n]=T,g&&!m.id&&(m.id=J(),m.created=String(Date.now())),Gr(m,o),g&&f!==m.id&&(f=m.id,u.notify())}),qn).throttled,h=function(){var m=Kt(o);Gr(m,o)};return d(),wd(d),bd(h),{getId:function(){return Kt(o).id},getTrackingType:function(){return Kt(o)[n]},renewObservable:u}}var lo=/^([a-z]+)=([a-z0-9-]+)$/,vi="&";function Ed(t){return t!==void 0&&(t.indexOf(vi)!==-1||lo.test(t))}function Kt(t){var n=Td(t);return Sd(n)?n:(ho(t),{})}function Sd(t){return(t.created===void 0||Date.now()-Number(t.created)<zr)&&(t.expire===void 0||Date.now()<Number(t.expire))}function Td(t){var n=t.get(),i={};return Ed(n)&&n.split(vi).forEach(function(o){var u=lo.exec(o);if(u!==null){var f=u[1],d=u[2];i[f]=d}}),i}function Gr(t,n){if(et(t)){ho(n);return}t.expire=String(Date.now()+fo);var i=Lr(t).map(function(o){var u=o[0],f=o[1];return u+"="+f}).join(vi);n.set(i,fo)}function ho(t){t.set("",0)}var mi=[];function wd(t){var n=Be(window,["click","touchstart","keydown","scroll"],t,{capture:!0,passive:!0}).stop;mi.push(n)}function bd(t){var n=D(function(){document.visibilityState==="visible"&&t()}),i=te(document,"visibilitychange",n).stop;mi.push(i);var o=setInterval(n,yd);mi.push(function(){clearInterval(o)})}function mo(t,n){var i=0,o=!1;return{isLimitReached:function(){if(i===0&&setTimeout(function(){i=0},pe),i+=1,i<=t.maxErrorsByMinute||o)return o=!1,!1;if(i===t.maxErrorsByMinute+1){o=!0;try{n({message:"Reached max number of errors by minute: "+t.maxErrorsByMinute,source:ue.AGENT,startClocks:Q()})}finally{o=!1}}return!0}}}var Od=1e4,qr=function(){function t(n){n===void 0&&(n=Od),this.limit=n,this.buffer=[]}return t.prototype.add=function(n){var i=this.buffer.push(n);i>this.limit&&this.buffer.splice(0,1)},t.prototype.drain=function(){this.buffer.forEach(function(n){return n()}),this.buffer.length=0},t}();function gi(){var t={};return{get:function(){return t},add:function(n,i){t[n]=i},remove:function(n){delete t[n]},set:function(n){t=n}}}function _i(t,n,i){var o=Ge(t),u=i(o);return n.forEach(function(f){var d=po(t,f),h=po(o,f),m=Pr(d),p=Pr(h);p===m?vo(t,f,h):m==="object"&&(p==="undefined"||p==="null")&&vo(t,f,{})}),u}function po(t,n){for(var i=t,o=0,u=n.split(".");o<u.length;o++){var f=u[o];if(!go(i,f))return;i=i[f]}return i}function vo(t,n,i){for(var o=t,u=n.split("."),f=0;f<u.length;f+=1){var d=u[f];if(!go(o,d))return;f!==u.length-1?o=o[d]:o[d]=i}}function go(t,n){return typeof t=="object"&&t!==null&&n in t}var F=function(t){return t.ACTION="action",t.ERROR="error",t.LONG_TASK="long_task",t.VIEW="view",t.RESOURCE="resource",t}(F||{}),Et=function(t){return t.INITIAL_LOAD="initial_load",t.ROUTE_CHANGE="route_change",t}(Et||{}),nt=function(t){return t.CLICK="click",t.CUSTOM="custom",t}(nt||{});var _o={buildMode:"release",datacenter:"us",sdkVersion:"2.18.0"};function yi(t){var n=!1,i=gi(),o={},u=function(){},f=function(){},d=new qr,h=function(E,k){k===void 0&&(k=G()),d.add(function(){return h(E,k)})},m=function(E,k){k===void 0&&(k=Q()),d.add(function(){return m(E,k)})},p=function(E,k){k===void 0&&(k=g()),d.add(function(){return p(E,k)})},T=function(E,k){k===void 0&&(k=g()),d.add(function(){return T(E,k)})};function g(){return Ge({context:i.get(),user:o})}function w(E){if(!Zn(Wr(E))||!Jn()||!z(E))return;E.publicApiKey&&(E.clientToken=E.publicApiKey);var k=Xn(E,_o),M=k.configuration,_e=k.internalMonitoring;if(!M.trackViewsManually)Se();else{var he=d;d=new qr,m=function(X){Se(X)},he.drain()}f=function(){return Ge(E)},n=!0;function Se(X){var W;W=t(E,M,_e,function(){return{user:o,context:i.get()}},X),m=W.startView,p=W.addAction,T=W.addError,h=W.addTiming,u=W.getInternalContext,d.drain()}}var C=$n({init:D(w),addRumGlobalContext:D(i.add),removeRumGlobalContext:D(i.remove),getRumGlobalContext:D(i.get),setRumGlobalContext:D(i.set),getInternalContext:D(function(E){return u(E)}),getInitConfiguration:D(function(){return f()}),addAction:D(function(E,k){p({name:E,context:Ge(k),startClocks:Q(),type:nt.CUSTOM})}),addUserAction:function(E,k){C.addAction(E,k)},addError:function(E,k,M){M===void 0&&(M=ue.CUSTOM);var _e=Lt();fe(function(){var he;M===ue.CUSTOM||M===ue.NETWORK||M===ue.SOURCE?he=M:(j.error("DD_RUM.addError: Invalid source '"+M+"'"),he=ue.CUSTOM),T({error:E,handlingStack:_e,context:Ge(k),source:he,startClocks:Q()})})},addTiming:D(function(E){h(E)}),setUser:D(function(E){var k=b(E);k?o=k:j.error("Unsupported user:",E)}),removeUser:D(function(){o={}}),startView:D(function(E){m(E)})});return C;function b(E){if(!(typeof E!="object"||!E)){var k=Ge(E);return"id"in k&&(k.id=String(k.id)),"name"in k&&(k.name=String(k.name)),"email"in k&&(k.email=String(k.email)),k}}function z(E){return n?(E.silentMultipleInit||j.error("DD_RUM is already initialized."),!1):!E||!E.clientToken&&!E.publicApiKey?(j.error("Client Token is not configured, we will not send any data."),!1):E.applicationId?E.sampleRate!==void 0&&!jn(E.sampleRate)?(j.error("Sample Rate should be a number between 0 and 100"),!1):E.resourceSampleRate!==void 0&&!jn(E.resourceSampleRate)?(j.error("Resource Sample Rate should be a number between 0 and 100"),!1):Array.isArray(E.allowedTracingOrigins)&&E.allowedTracingOrigins.length!==0&&E.service===void 0?(j.error("Service need to be configured when tracing is enabled"),!1):!0:(j.error("Application ID is not configured, no RUM data will be collected."),!1)}}function yo(){var t=[],n=Eo(),i=n?new n(D(o)):void 0;function o(){t.forEach(function(d){return d()})}function u(){i&&i.observe(document,{attributes:!0,characterData:!0,childList:!0,subtree:!0})}function f(){i&&i.disconnect()}return{subscribe:function(d){return t.length||u(),t.push(d),{unsubscribe:function(){t=t.filter(function(h){return d!==h}),t.length||f()}}}}}function Eo(){var t,n=window;if(n.Zone){var i=n.Zone.__symbol__("MutationObserver");t=n[i]}return t||(t=n.MutationObserver),t}var P=function(){return P=Object.assign||function(n){for(var i,o=1,u=arguments.length;o<u;o++){i=arguments[o];for(var f in i)Object.prototype.hasOwnProperty.call(i,f)&&(n[f]=i[f])}return n},P.apply(this,arguments)};function So(){for(var t=0,n=0,i=arguments.length;n<i;n++)t+=arguments[n].length;for(var o=Array(t),u=0,n=0;n<i;n++)for(var f=arguments[n],d=0,h=f.length;d<h;d++,u++)o[u]=f[d];return o}var y=function(t){return t[t.PERFORMANCE_ENTRY_COLLECTED=0]="PERFORMANCE_ENTRY_COLLECTED",t[t.AUTO_ACTION_CREATED=1]="AUTO_ACTION_CREATED",t[t.AUTO_ACTION_COMPLETED=2]="AUTO_ACTION_COMPLETED",t[t.AUTO_ACTION_DISCARDED=3]="AUTO_ACTION_DISCARDED",t[t.VIEW_CREATED=4]="VIEW_CREATED",t[t.VIEW_UPDATED=5]="VIEW_UPDATED",t[t.VIEW_ENDED=6]="VIEW_ENDED",t[t.REQUEST_STARTED=7]="REQUEST_STARTED",t[t.REQUEST_COMPLETED=8]="REQUEST_COMPLETED",t[t.SESSION_RENEWED=9]="SESSION_RENEWED",t[t.BEFORE_UNLOAD=10]="BEFORE_UNLOAD",t[t.RAW_RUM_EVENT_COLLECTED=11]="RAW_RUM_EVENT_COLLECTED",t[t.RUM_EVENT_COLLECTED=12]="RUM_EVENT_COLLECTED",t[t.RECORD_STARTED=13]="RECORD_STARTED",t[t.RECORD_STOPPED=14]="RECORD_STOPPED",t[t.RAW_ERROR_COLLECTED=15]="RAW_ERROR_COLLECTED",t}(y||{}),Ei=function(){function t(){this.callbacks={}}return t.prototype.notify=function(n,i){var o=this.callbacks[n];o&&o.forEach(function(u){return u(i)})},t.prototype.subscribe=function(n,i){var o=this;return this.callbacks[n]||(this.callbacks[n]=[]),this.callbacks[n].push(i),{unsubscribe:function(){o.callbacks[n]=o.callbacks[n].filter(function(u){return i!==u})}}},t}();var Ti="initial_document",kd=[[oe.DOCUMENT,function(t){return Ti===t}],[oe.XHR,function(t){return t==="xmlhttprequest"}],[oe.FETCH,function(t){return t==="fetch"}],[oe.BEACON,function(t){return t==="beacon"}],[oe.CSS,function(t,n){return/\.css$/i.test(n)}],[oe.JS,function(t,n){return/\.js$/i.test(n)}],[oe.IMAGE,function(t,n){return Qe(["image","img","icon"],t)||/\.(gif|jpg|jpeg|tiff|png|svg|ico)$/i.exec(n)!==null}],[oe.FONT,function(t,n){return/\.(woff|eot|woff2|ttf)$/i.exec(n)!==null}],[oe.MEDIA,function(t,n){return Qe(["audio","video"],t)||/\.(mp3|mp4)$/i.exec(n)!==null}]];function To(t){var n=t.name;if(!ao(n))return ae('Failed to construct URL for "'+t.name+'"'),oe.OTHER;for(var i=so(n),o=0,u=kd;o<u.length;o++){var f=u[o],d=f[0],h=f[1];
9if(h(t.initiatorType,i))return d}return oe.OTHER}function Si(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var i=1;i<t.length;i+=1)if(t[i-1]>t[i])return!1;return!0}function wo(t){return t.initiatorType==="xmlhttprequest"||t.initiatorType==="fetch"}function bo(t){var n=t.duration,i=t.startTime,o=t.responseEnd;return n===0&&i<o?Y(K(i,o)):(n>Yt&&ae("resource duration > 1 day",{debug:{type:t.initiatorType,name:t.name,startTime:Math.round(i),responseEnd:Math.round(o),duration:Math.round(n),relativeNow:Math.round(re()),timeStampNow:G()}}),Y(n))}function Oo(t){var n=wi(t);if(n){var i=n.startTime,o=n.fetchStart,u=n.redirectStart,f=n.redirectEnd,d=n.domainLookupStart,h=n.domainLookupEnd,m=n.connectStart,p=n.secureConnectionStart,T=n.connectEnd,g=n.requestStart,w=n.responseStart,C=n.responseEnd,b={download:St(i,w,C),first_byte:St(i,g,w)};return T!==o&&(b.connect=St(i,m,T),Si(m,p,T)&&(b.ssl=St(i,p,T))),h!==o&&(b.dns=St(i,d,h)),ko(t)&&(b.redirect=St(i,u,f)),b}}function wi(t){if(Si(t.startTime,t.fetchStart,t.domainLookupStart,t.domainLookupEnd,t.connectStart,t.connectEnd,t.requestStart,t.responseStart,t.responseEnd)){if(!ko(t))return t;var n=t.redirectStart,i=t.redirectEnd;if(n<t.startTime&&(n=t.startTime),i<t.startTime&&(i=t.fetchStart),!!Si(t.startTime,n,i,t.fetchStart))return P(P({},t),{redirectEnd:i,redirectStart:n})}}function ko(t){return t.fetchStart!==t.startTime}function St(t,n,i){return{duration:Y(K(n,i)),start:Y(K(t,n))}}function xo(t){if(t.startTime<t.responseStart)return t.decodedBodySize}function it(t,n){return n&&!t.isIntakeUrl(n)}var xd=2*pe;function Mo(t){var n=Dd(t)||Md(t);if(!(!n||n.traceTime<=Date.now()-xd))return n.traceId}function Dd(t){var n=t.querySelector("meta[name=dd-trace-id]"),i=t.querySelector("meta[name=dd-trace-time]");return Ro(n&&n.content,i&&i.content)}function Md(t){var n=Rd(t);if(n)return Ro(Wt(n,"trace-id"),Wt(n,"trace-time"))}function Ro(t,n){var i=n&&Number(n);if(!(!t||!i))return{traceId:t,traceTime:i}}function Rd(t){for(var n=0;n<t.childNodes.length;n+=1){var i=Do(t.childNodes[n]);if(i)return i}if(t.body)for(var n=t.body.childNodes.length-1;n>=0;n-=1){var o=t.body.childNodes[n],i=Do(o);if(i)return i;if(!Id(o))break}}function Do(t){if(t&&Cd(t)){var n=/^\s*DATADOG;(.*?)\s*$/.exec(t.data);if(n)return n[1]}}function Cd(t){return t.nodeName==="#comment"}function Id(t){return t.nodeName==="#text"}function Co(){return window.performance!==void 0&&"getEntries"in performance}function Xt(t){return window.PerformanceObserver&&PerformanceObserver.supportedEntryTypes!==void 0&&PerformanceObserver.supportedEntryTypes.includes(t)}function No(){return typeof PerformanceEntry=="function"}function Ao(t,n){if(Nd(function(u){$r(t,n,u)}),Co()&&Io(t,n,performance.getEntries()),window.PerformanceObserver){var i=new PerformanceObserver(D(function(u){return Io(t,n,u.getEntries())})),o=["resource","navigation","longtask","paint","largest-contentful-paint","first-input","layout-shift"];i.observe({entryTypes:o}),Co()&&"addEventListener"in performance&&performance.addEventListener("resourcetimingbufferfull",function(){performance.clearResourceTimings()})}Xt("navigation")||Ad(function(u){$r(t,n,u)}),Xt("first-input")||Ld(function(u){$r(t,n,u)})}function Nd(t){Gn("interactive",function(){var n,i={entryType:"resource",initiatorType:Ti,traceId:Mo(document)};if(Xt("navigation")&&performance.getEntriesByType("navigation").length>0){var o=performance.getEntriesByType("navigation")[0];n=P(P({},o.toJSON()),i)}else{var u=Lo();n=P(P(P({},u),{decodedBodySize:0,duration:u.responseEnd,name:window.location.href,startTime:0}),i)}t(n)})}function Ad(t){function n(){t(P(P({},Lo()),{entryType:"navigation"}))}Gn("complete",function(){setTimeout(D(n))})}function Ld(t){var n=Date.now(),i=!1,o=Be(window,["click","mousedown","keydown","touchstart","pointerdown"],function(d){if(d.cancelable){var h={entryType:"first-input",processingStart:re(),startTime:d.timeStamp};d.type==="pointerdown"?u(h):f(h)}},{passive:!0,capture:!0}).stop;function u(d){Be(window,["pointerup","pointercancel"],function(h){h.type==="pointerup"&&f(d)},{once:!0})}function f(d){if(!i){i=!0,o();var h=d.processingStart-d.startTime;h>=0&&h<Date.now()-n&&t(d)}}}function Lo(){var t={},n=performance.timing;for(var i in n)if(Ft(n[i])){var o=i,u=n[o];t[o]=u===0?0:io(u)}return t}
9function Io(t,n,i){i.forEach(function(o){(o.entryType==="resource"||o.entryType==="navigation"||o.entryType==="paint"||o.entryType==="longtask"||o.entryType==="largest-contentful-paint"||o.entryType==="first-input"||o.entryType==="layout-shift")&&$r(t,n,o)})}function $r(t,n,i){Pd(i)||Ud(n,i)||t.notify(y.PERFORMANCE_ENTRY_COLLECTED,i)}function Pd(t){return t.entryType==="navigation"&&t.loadEventEnd<=0}function Ud(t,n){return n.entryType==="resource"&&!it(t,n.name)}var bi=function(t){return t.SYNTHETICS="synthetics",t.USER="user",t}(bi||{}),Po=["view.url","view.referrer","action.target.name","error.message","error.stack","error.resource.url","resource.url"],Yd=So(Po,["context"]);function Uo(t,n,i,o,u,f){var d=mo(n,function(h){i.notify(y.RAW_ERROR_COLLECTED,{error:h})});i.subscribe(y.RAW_RUM_EVENT_COLLECTED,function(h){var m=h.startTime,p=h.rawRumEvent,T=h.domainContext,g=h.savedCommonContext,w=h.customerContext,C=u.findView(m),b=o.getPlan();if(b&&C&&C.session.id===o.getId()){var z=u.findAction(m),E=g||f(),k={_dd:{format_version:2,drift:ti(),session:{plan:b}},application:{id:t},date:G(),service:n.service,session:{type:Hd()}},M=Wd(p)?ce(k,C,z,p):ce(k,C,p);M.context=ce(E.context,w),"has_replay"in M.session||(M.session.has_replay=E.hasReplay),et(E.user)||(M.usr=E.user),Fd(M,n.beforeSend,T,d)&&(et(M.context)&&delete M.context,typeof M.date!="number"&&ae("invalid date",{debug:{eventType:M.type,eventTimeStamp:M.date,eventRelativeTime:Math.round(m),timeStampNow:G(),relativeNow:Math.round(re()),drift:ti()}}),i.notify(y.RUM_EVENT_COLLECTED,M))}})}function Fd(t,n,i,o){if(n){var u=_i(t,t.type===F.VIEW?Po:Yd,function(f){return n(f,i)});if(u===!1&&t.type!==F.VIEW)return!1;u===!1&&j.warn("Can't dismiss view events using beforeSend!")}return t.type===F.ERROR?!o.isLimitReached():!0}function Wd(t){return[F.ERROR,F.RESOURCE,F.LONG_TASK].indexOf(t.type)!==-1}function Hd(){return window._DATADOG_SYNTHETICS_BROWSER===void 0?bi.USER:bi.SYNTHETICS}var Vd=500,de=[];function Fo(t){if(!t.isEnabled("track-foreground"))return{getInForeground:function(){},getInForegroundPeriods:function(){},stop:Pe};document.hasFocus()&&Yo();var n=Bd(Yo).stop,i=Gd(jd).stop;return{getInForeground:zd,getInForegroundPeriods:qd,stop:function(){de=[],n(),i()}}}function Yo(){if(de.length>Vd){ae("Reached maximum of foreground time");return}var t=de[de.length-1];if(t!==void 0&&t.end===void 0){ae("Previous foreground periods not closed. Continuing current one",{inForegroundPeriodsCount:de.length,currentForegroundPeriodStart:t.start});return}de.push({start:re()})}function jd(){if(de.length===0){ae("No foreground period");return}var t=de[de.length-1];if(t.end!==void 0){ae("Current foreground period already closed",{inForegroundPeriodsCount:de.length,currentForegroundPeriodStart:t.start,currentForegroundPeriodEnd:t.end});return}t.end=re()}function Bd(t){return te(window,"focus",function(){return t()})}function Gd(t){return te(window,"blur",function(){return t()})}function zd(t){for(var n=de.length-1;n>=0;n--){var i=de[n];if(i.end!==void 0&&t>i.end)break;if(t>i.start&&(i.end===void 0||t<i.end))return!0}return!1}function qd(t,n){for(var i=t+n,o=[],u=de.length-1;u>=0;u--){var f=de[u];if(f.end!==void 0&&t>f.end)break;if(!(i<f.start)){var d=t>f.start?t:f.start,h=K(t,d),m=f.end===void 0||i<f.end?i:f.end,p=K(d,m);o.unshift({start:Y(h),duration:Y(p)})}}return o}function Wo(t,n,i){return{get:function(o){var u=i.findView(o);if(n.isTracked()&&u&&u.session.id){var f=i.findAction(o);return{application_id:t,session_id:u.session.id,user_action:f?{id:f.action.id}:void 0,view:u.view}}}}}var $d=zr,Kd=5*pe,Xd=pe;function Ho(t,n){var i,o,u,f=[],d=[];t.subscribe(y.VIEW_CREATED,function(w){i=w,u=n.getId()}),t.subscribe(y.VIEW_UPDATED,function(w){i&&i.id===w.id&&(i=w)}),t.subscribe(y.VIEW_ENDED,function(w){var C=w.endClocks;
9i&&(f.unshift({endTime:C.relative,context:p(),startTime:i.startClocks.relative}),i=void 0)}),t.subscribe(y.AUTO_ACTION_CREATED,function(w){o=w}),t.subscribe(y.AUTO_ACTION_COMPLETED,function(w){o&&d.unshift({context:T(),endTime:o.startClocks.relative+w.duration,startTime:o.startClocks.relative}),o=void 0}),t.subscribe(y.AUTO_ACTION_DISCARDED,function(){o=void 0}),t.subscribe(y.SESSION_RENEWED,function(){f=[],d=[],i=void 0,o=void 0});var h=setInterval(D(function(){m(f,$d),m(d,Kd)}),Xd);function m(w,C){for(var b=re()-C;w.length>0&&w[w.length-1].startTime<b;)w.pop()}function p(){return{session:{id:u},view:{id:i.id,name:i.name,referrer:i.referrer,url:i.location.href}}}function T(){return{action:{id:o.id}}}function g(w,C,b,z){if(z===void 0)return b?w():void 0;if(b&&z>=b.startClocks.relative)return w();for(var E=0,k=C;E<k.length;E++){var M=k[E];if(z>M.endTime)break;if(z>=M.startTime)return M.context}}return{findAction:function(w){return g(T,d,o,w)},findView:function(w){return g(p,f,i,w)},stop:function(){clearInterval(h)}}}function Zd(t){t.status===0&&!t.isAborted&&(t.traceId=void 0,t.spanId=void 0)}function Bo(t){return{clearTracingIfNeeded:Zd,traceFetch:function(n){return Vo(t,n,function(i){var o;if(n.input instanceof Request&&!(!((o=n.init)===null||o===void 0)&&o.headers))n.input=new Request(n.input),Object.keys(i).forEac
9h(function(f){n.input.headers.append(f,i[f])});else{n.init=P({},n.init);var u=[];n.init.headers instanceof Headers?n.init.headers.forEach(function(f,d){u.push([d,f])}):Array.isArray(n.init.headers)?n.init.headers.forEach(function(f){u.push(f)}):n.init.headers&&Object.keys(n.init.headers).forEach(function(f){u.push([f,n.init.headers[f]])}),n.init.headers=u.concat(Lr(i))}})},traceXhr:function(n,i){return Vo(t,n,function(o){Object.keys(o).forEach(function(u){i.setRequestHeader(u,o[u])})})}}}function Vo(t,n,i){!Qd()||!Jd(t,n.url)||(n.traceId=new jo,n.spanId=new jo,i(eh(n.traceId,n.spanId)))}function Jd(t,n){for(var i=oo(n),o=0,u=t.allowedTracingOrigins;o<u.length;o++){var f=u[o];if(i===f||f instanceof RegExp&&f.test(i))return!0}return!1}function Qd(){return Go()!==void 0}function Go(){return window.crypto||window.msCrypto}function eh(t,n){return{"x-datadog-origin":"rum","x-datadog-parent-id":n.toDecimalString(),"x-datadog-sampled":"1","x-datadog-sampling-priority":"1","x-datadog-trace-id":t.toDecimalString()}}var jo=function(){function t(){this.buffer=new Uint8Array(8),Go().getRandomValues(this.buffer),this.buffer[0]=this.buffer[0]&127}return t.prototype.toString=function(n){for(var i=this.readInt32(0),o=this.readInt32(4),u="";;){var f=i%n*4294967296+o;if(i=Math.floor(i/n),o=Math.floor(f/n),u=(f%n).toString(n)+u,!i&&!o)break}return u},t.prototype.toDecimalString=function(){return this.toString(10)},t.prototype.readInt32=function(n){return this.buffer[n]*16777216+(this.buffer[n+1]<<16)+(this.buffer[n+2]<<8)+this.buffer[n+3]},t}();var zo=1;function qo(t,n){var i=Bo(n);th(t,n,i),rh(t,n,i)}function th(t,n,i){var o=$t();return o.beforeSend(function(u,f){it(n,u.url)&&(i.traceXhr(u,f),u.requestIndex=$o(),t.notify(y.REQUEST_STARTED,{requestIndex:u.requestIndex}))}),o.onRequestComplete(function(u){it(n,u.url)&&(i.clearTracingIfNeeded(u),t.notify(y.REQUEST_COMPLETED,{duration:u.duration,method:u.method,requestIndex:u.requestIndex,responseText:u.responseText,spanId:u.spanId,startClocks:u.startClocks,status:u.status,traceId:u.traceId,type:Oe.XHR,url:u.url,xhr:u.xhr}))}),o}function rh(t,n,i){var o=zt();return o.beforeSend(function(u){it(n,u.url)&&(i.traceFetch(u),u.requestIndex=$o(),t.notify(y.REQUEST_STARTED,{requestIndex:u.requestIndex}))}),o.onRequestComplete(function(u){it(n,u.url)&&(i.clearTracingIfNeeded(u),t.notify(y.REQUEST_COMPLETED,{duration:u.duration,method:u.method,requestIndex:u.requestIndex,responseText:u.responseText,responseType:u.responseType,spanId:u.spanId,startClocks:u.startClocks,status:u.status,traceId:u.traceId,type:Oe.FETCH,url:u.url,response:u.response,init:u.init,input:u.input}))}),o}function $o(){var t=zo;return zo+=1,t}function Kr(t,n){n===void 0&&(n=Pe);var i={errorCount:0,longTaskCount:0,resourceCount:0,userActionCount:0},o=t.subscribe(y.RUM_EVENT_COLLECTED,function(u){var f=u.type;switch(f){case F.ERROR:i.errorCount+=1,n(i);break;case F.ACTION:i.userActionCount+=1,n(i);break;case F.LONG_TASK:i.longTaskCount+=1,n(i);break;case F.RESOURCE:i.resourceCount+=1,n(i);break}});return{stop:function(){o.unsubscribe()},eventCounts:i}}var nh=100,ih=100,ah=1e4;function Xr(t,n,i){var o=oh(t,n),u=o.observable,f=o.stop,d=sh(u,f,i).stop,h=function(){d(),f()};return{stop:h}}
9function oh(t,n){var i=new rt,o=[],u,f=0;o.push(n.subscribe(function(){return d()})),o.push(t.subscribe(y.PERFORMANCE_ENTRY_COLLECTED,function(h){h.entryType==="resource"&&d()})),o.push(t.subscribe(y.REQUEST_STARTED,function(h){u===void 0&&(u=h.requestIndex),f+=1,d()})),o.push(t.subscribe(y.REQUEST_COMPLETED,function(h){u===void 0||h.requestIndex<u||(f-=1,d())}));function d(){i.notify({isBusy:f>0})}return{observable:i,stop:function(){o.forEach(function(h){return h.unsubscribe()})}}}function sh(t,n,i){var o,u=!1,f=setTimeout(D(function(){return m({hadActivity:!1})}),nh),d=setTimeout(D(function(){return m({hadActivity:!0,endTime:G()})}),ah);t.subscribe(function(p){var T=p.isBusy;clearTimeout(f),clearTimeout(o);var g=G();T||(o=setTimeout(D(function(){return m({hadActivity:!0,endTime:g})}),ih))});var h=function(){u=!0,clearTimeout(f),clearTimeout(o),clearTimeout(d),n()};function m(p){u||(h(),i(p))}return{stop:h}}var uh="data-dd-action-name";function Zo(t,n){return Ko(t,uh)||n&&Ko(t,n)||Xo(t,fh)||Xo(t,ch)||""}function Ko(t,n){var i;if(ph())i=t.closest("["+n+"]");else for(var o=t;o;){if(o.hasAttribute(n)){i=o;break}o=o.parentElement}if(i){var u=i.getAttribute(n);return Qo(Jo(u.trim()))}}var fh=[function(t){if(mh()){if("labels"in t&&t.labels&&t.labels.length>0)return Tt(t.labels[0])}else if(t.id){var n=t.ownerDocument&&t.ownerDocument.querySelector('label[for="'+t.id.replace('"','\\"')+'"]');return n&&Tt(n)}},function(t){if(t.nodeName==="INPUT"){var n=t,i=n.getAttribute("type");if(i==="button"||i==="submit"||i==="reset")return n.value}},function(t){if(t.nodeName==="BUTTON"||t.nodeName==="LABEL"||t.getAttribute("role")==="button")return Tt(t)},function(t){return t.getAttribute("aria-label")},function(t){var n=t.getAttribute("aria-labelledby");if(n)return n.split(/\s+/).map(function(i){return dh(t,i)}).filter(function(i){return!!i}).map(Tt).join(" ")},function(t){return t.getAttribute("alt")},function(t){return t.getAttribute("name")},function(t){return t.getAttribute("title")},function(t){return t.getAttribute("placeholder")},function(t){if("options"in t&&t.options.length>0)return Tt(t.options[0])}],ch=[function(t){return Tt(t)}],lh=10;function Xo(t,n){for(var i=t,o=0;o<=lh&&i&&i.nodeName!=="BODY"&&i.nodeName!=="HTML"&&i.nodeName!=="HEAD";){for(var u=0,f=n;u<f.length;u++){var d=f[u],h=d(i);if(typeof h=="string"){var m=h.trim();if(m)return Qo(Jo(m))}}if(i.nodeName==="FORM")break;i=i.parentElement,o+=1}}function Jo(t){return t.replace(/\s+/g," ")}function Qo(t){return t.length>100?$a(t,100)+" [...]":t}function dh(t,n){return t.ownerDocument?t.ownerDocument.getElementById(n):null}function Tt(t){if(!t.isContentEditable){if("innerText"in t){var n=t.innerText;if(!hh())for(var i=t.querySelectorAll("script, style"),o=0;o<i.length;o+=1){var u=i[o].innerText;u.trim().length>0&&(n=n.replace(u,""))}return n}return t.textContent}}var Oi;function hh(){if(Oi===void 0){var t=document.createElement("style");t.textContent="*";var n=document.createElement("div");n.appendChild(t),document.body.appendChild(n),Oi=n.innerText==="",document.body.removeChild(n)}return Oi}var ki;function mh(){return ki===void 0&&(ki="labels"in HTMLInputElement.prototype),ki}var xi;function ph(){return xi===void 0&&(xi="closest"in HTMLElement.prototype),xi}function es(t,n,i){var o=i.actionNameAttribute,u=vh(t,n);t.subscribe(y.VIEW_CREATED,function(){u.discardCurrent()});var f=te(window,"click",function(d){if(d.target instanceof Element){var h=Zo(d.target,o);h&&u.create(nt.CLICK,h,d)}},{capture:!0}).stop;return{stop:function(){u.discardCurrent(),f()}}}function vh(t,n){var i,o;return{create:function(u,f,d){if(!i){var h=new gh(t,u,f,d);i=h,o=Xr(t,n,function(m){m.hadActivity?h.complete(m.endTime):h.discard(),i=void 0})}},discardCurrent:function(){i&&(o.stop(),i.discard(),i=void 0)}}}var gh=function(){function t(n,i,o,u){this.lifeCycle=n,this.type=i,this.name=o,this.event=u,this.id=J(),this.startClocks=Q(),this.eventCountsSubscription=Kr(n),this.lifeCycle.notify(y.AUTO_ACTION_CREATED,{id:this.id,startClocks:this.startClocks})}return t.prototype.complete=function(n){var i=this.eventCountsSubscription.eventCounts;this.lifeCycle.notify(y.AUTO_ACTION_COMPLETED,{counts:{errorCount:i.errorCount,longTaskCount:i.longTaskCount,resourceCount:i.resourceCount},duration:K(this.startClocks.timeStamp,n),id:this.id,name:this.name,startClocks:this.startClocks,type:this.t
9ype,event:this.event}),this.eventCountsSubscription.stop()},t.prototype.discard=function(){this.lifeCycle.notify(y.AUTO_ACTION_DISCARDED),this.eventCountsSubscription.stop()},t}();function rs(t,n,i,o){return t.subscribe(y.AUTO_ACTION_COMPLETED,function(u){return t.notify(y.RAW_RUM_EVENT_COLLECTED,ts(u,o))}),i.trackInteractions&&es(t,n,i),{addAction:function(u,f){t.notify(y.RAW_RUM_EVENT_COLLECTED,P({savedCommonContext:f},ts(u,o)))}}}function ts(t,n){var i=Di(t)?{action:{error:{count:t.counts.errorCount},id:t.id,loading_time:Y(t.duration),long_task:{count:t.counts.longTaskCount},resource:{count:t.counts.resourceCount}}}:void 0,o=Di(t)?void 0:t.context,u=ce({action:{id:J(),target:{name:t.name},type:t.type},date:t.startClocks.timeStamp,type:F.ACTION},i),f=n.getInForeground(t.startClocks.relative);return f!==void 0&&(u.view={in_foreground:f}),{customerContext:o,rawRumEvent:u,startTime:t.startClocks.relative,domainContext:Di(t)?{event:t.event}:{}}}function Di(t){return t.type!==nt.CUSTOM}function ns(t,n,i){var o=new rt;return ni(o),hi(o),n.isEnabled("remove-network-errors")||li(n,o),o.subscribe(function(u){return t.notify(y.RAW_ERROR_COLLECTED,{error:u})}),_h(t,i)}function _h(t,n){return t.subscribe(y.RAW_ERROR_COLLECTED,function(i){var o=i.error,u=i.customerContext,f=i.savedCommonContext;t.notify(y.RAW_RUM_EVENT_COLLECTED,P({customerContext:u,savedCommonContext:f},Eh(o,n)))}),{addError:function(i,o){var u=i.error,f=i.handlingStack,d=i.startClocks,h=i.context,m=i.source,p=yh(u,f,d,m);t.notify(y.RAW_ERROR_COLLECTED,{customerContext:h,savedCommonContext:o,error:p})}}}function yh(t,n,i,o){var u=t instanceof Error?ee(t):void 0;return P(P({startClocks:i,source:o,originalError:t},At(u,t,"Provided",n)),{handling:He.HANDLED})}function Eh(t,n){var i={date:t.startClocks.timeStamp,error:{id:J(),message:t.message,resource:t.resource?{method:t.resource.method,status_code:t.resource.statusCode,url:t.resource.url}:void 0,source:t.source,stack:t.stack,handling_stack:t.handlingStack,type:t.type,handling:t.handling},type:F.ERROR},o=n.getInForeground(t.startClocks.relative);return o!==void 0&&(i.view={in_foreground:o}),{rawRumEvent:i,startTime:t.startClocks.relative,domainContext:{error:t.originalError}}}function is(t){t.subscribe(y.PERFORMANCE_ENTRY_COLLECTED,function(n){if(n.entryType==="longtask"){var i=Vt(n.startTime),o={date:i.timeStamp,long_task:{id:J(),duration:Y(n.duration)},type:F.LONG_TASK};t.notify(y.RAW_RUM_EVENT_COLLECTED,{rawRumEvent:o,startTime:i.relative,domainContext:{performanceEntry:n.toJSON()}})}})}function as(t){if(!(!performance||!("getEntriesByName"in performance))){var n=performance.getEntriesByName(t.url,"resource");if(!(!n.length||!("toJSON"in n[0]))){var i=n.map(function(o){return o.toJSON()}).filter(wi).filter(function(o){return Th(o,t.startClocks.relative,Mi({startTime:t.startClocks.relative,duration:t.duration}))});if(i.length===1)return i[0];if(i.length===2&&Sh(i))return i[1]}}}function Sh(t){return Mi(t[0])<=t[1].startTime}function Mi(t){return t.startTime+t.duration}function Th(t,n,i){var o=1;return t.startTime>=n-o&&Mi(t)<=i+o}function os(t,n){t.subscribe(y.REQUEST_COMPLETED,function(i){n.isTrackedWithResource()&&t.notify(y.RAW_RUM_EVENT_COLLECTED,wh(i))}),t.subscribe(y.PERFORMANCE_ENTRY_COLLECTED,function(i){n.isTrackedWithResource()&&i.entryType==="resource"&&!wo(i)&&t.notify(y.RAW_RUM_EVENT_COLLECTED,bh(i))})}function wh(t){var n=t.type===Oe.XHR?oe.XHR:oe.FETCH,i=as(t),o=i?Vt(i.startTime):t.startClocks,u=i?ss(i):void 0,f=Oh(t),d=ce({date:o.timeStamp,resource:{id:J(),type:n,duration:Y(t.duration),method:t.method,status_code:t.status,url:t.url},type:F.RESOURCE},f,u);return{startTime:o.relative,rawRumEvent:d,domainContext:{performanceEntry:i&&us(i),xhr:t.xhr,response:t.response,requestInput:t.input,requestInit:t.init,error:t.error}}}function bh(t){var n=To(t),i=ss(t),o=kh(t),u=Vt(t.startTime),f=ce({date:u.timeStamp,resource:{id:J(),type:n,url:t.name},type:F.RESOURCE},o,i);return{startTime:u.relative,rawRumEvent:f,domainContext:{performanceEntry:us(t)}}}function ss(t){return{resource:P({duration:bo(t),size:xo(t)},Oo(t))}}function Oh(t){var n=t.traceId&&t.spanId;if(n)return{_dd:{span_id:t.spanId.toDecimalString(),trace_id:t.traceId.toDecimalString()}}}function kh(t){return t.traceId?{_dd:{trace_id:t.traceId}}:void 0}function us(t){return No()&&t instanceof PerformanceEntry&&t.toJSON(),t}var Zt,xh;function Zr(t){return t===void 0&&(t=window),Zt||(document.visibilityState==="hidden"?Zt={timeStamp:0}:(Zt={timeStamp:1/0},xh=te(t,"pagehide",function(n){var i=n.timeStamp;Zt.timeStamp=i},{capture:!0,once:!0}).stop)),Zt}function fs(t,n){var i;function o(m){i=P(P({},i),m),n(i)}var u=Dh(t,o).stop,f=Mh(t,function(m){return o({firstContentfulPaint:m})}).stop,d=Rh(t,window,function(m){o({largestContentfulPaint:m})}).stop,h=Ch(t,function(m){var p=m.firstInputDelay,T=m.firstInputTime;o({firstInputDelay:p,firstInputTime:T})}).stop;return{stop:function(){u(),f(),d(),h()}}}function Dh(t,n){var i=t.subscribe(y.PERFORMANCE_ENTRY_COLLECTED,function(o){o.entryType==="navigation"&&n({domComplete:o.domComplete,domContentLoaded:o.domContentLoadedEventEnd,domInteractive:o.domInteractive,loadEvent:o.loadEventEnd})}).unsubscribe;return{stop:i}}function Mh(t,n){var i=Zr(),o=t.subscribe(y.PERFORMANCE_ENTRY_COLLECTED,function(u){u.entryType==="paint"&&u.name==="first-contentful-paint"&&u.startTime<i.timeStamp&&(u.startTime>Yt&&ae("FCP > 1 day",{debug:{fcp:Math.round(u.startTime),relativeNow:Math.round(re()),timeStampNow:G(
9)}}),n(u.startTime))}).unsubscribe;return{stop:o}}function Rh(t,n,i){var o=Zr(),u=1/0,f=Be(n,["pointerdown","keydown"],function(h){u=h.timeStamp},{capture:!0,once:!0}).stop,d=t.subscribe(y.PERFORMANCE_ENTRY_COLLECTED,function(h){h.entryType==="largest-contentful-paint"&&h.startTime<u&&h.startTime<o.timeStamp&&(h.startTime>Yt&&ae("LCP > 1 day",{debug:{lcp:Math.round(h.startTime),relativeNow:Math.round(re()),timeStampNow:G()}}),i(h.startTime))}).unsubscribe;return{stop:function(){f(),d()}}}function Ch(t,n){var i=Zr(),o=t.subscribe(y.PERFORMANCE_ENTRY_COLLECTED,function(u){if(u.entryType==="first-input"&&u.startTime<i.timeStamp){var f=K(u.startTime,u.processingStart);n({firstInputDelay:f>=0?f:0,firstInputTime:u.startTime})}}).unsubscribe;return{stop:o}}function Ri(t){var n=Ih(t).stop,i=Nh(t).stop;return{stop:function(){n(),i()}}}function ls(t,n){return t.pathname!==n.pathname||!Ah(n.hash)&&cs(n.hash)!==cs(t.hash)}function Ih(t){var n=history.pushState;history.pushState=D(function(){n.apply(this,arguments),t()});var i=history.replaceState;history.replaceState=D(function(){i.apply(this,arguments),t()});var o=te(window,"popstate",t).stop,u=function(){o(),history.pushState=n,history.replaceState=i};return{stop:u}}function Nh(t){return te(window,"hashchange",t)}function Ah(t){var n=t.substr(1);return!!document.getElementById(n)}function cs(t){var n=t.indexOf("?");return n<0?t:t.slice(0,n)}function ds(t,n,i,o){var u={eventCounts:{errorCount:0,longTaskCount:0,resourceCount:0,userActionCount:0}},f=Kr(t,function(g){u.eventCounts=g,i()}).stop,d=Lh(o,function(g){u.loadingTime=g,i()}),h=d.setActivityLoadingTime,m=d.setLoadEvent,p=Ph(t,n,h).stop,T;return Yh()?(u.cumulativeLayoutShift=0,T=Uh(t,function(g){u.cumulativeLayoutShift=Ar(u.cumulativeLayoutShift+g,4),i()}).stop):T=Pe,{stop:function(){f(),p(),T()},setLoadEvent:m,viewMetrics:u}}function Lh(t,n){var i=t===Et.INITIAL_LOAD,o=!0,u=[];function f(){!o&&!i&&u.length>0&&n(Math.max.apply(Math,u))}return{setLoadEvent:function(d){i&&(i=!1,u.push(d),f())},setActivityLoadingTime:function(d){o&&(o=!1,d!==void 0&&u.push(d),f())}}}function Ph(t,n,i){var o=G(),u=Xr(t,n,function(f){f.hadActivity?i(K(o,f.endTime)):i(void 0)}).stop;return{stop:u}}function Uh(t,n){var i=t.subscribe(y.PERFORMANCE_ENTRY_COLLECTED,function(o){o.entryType==="layout-shift"&&!o.hadRecentInput&&n(o.value)}).unsubscribe;return{stop:i}}function Yh(){return Xt("layout-shift")}var Fh=3e3,Wh=5*pe;function ms(t,n,i,o,u){var f=!1,d=w(u),h=d.stop,m=d.initialView,p=m,T=b().stop,g=(o?z():E()).stop;function w(k){var M=hs(n,i,t,f,Et.INITIAL_LOAD,document.referrer,no(),k),_e=fs(n,function(he){M.updateTimings(he),M.scheduleUpdate()}).stop;return{initialView:M,stop:_e}}function C(k,M){return hs(n,i,t,f,Et.ROUTE_CHANGE,p.url,k,M)}function b(){n.subscribe(y.SESSION_RENEWED,function(){p.end(),p=C(void 0,p.name)}),n.subscribe(y.BEFORE_UNLOAD,function(){p.end(),p.triggerUpdate()}),n.subscribe(y.RECORD_STARTED,function(){f=!0,p.updateHasReplay(!0)}),n.subscribe(y.RECORD_STOPPED,function(){f=!1});var k=window.setInterval(D(function(){p.triggerUpdate()}),Wh);return{stop:function(){clearInterval(k)}}}function z(){return Ri(function(){if(ls(p.getLocation(),t)){p.end(),p.triggerUpdate(),p=C();return}p.updateLocation(t),p.triggerUpdate()})}function E(){return Ri(function(){p.updateLocation(t),p.triggerUpdate()})}return{addTiming:function(k,M){M===void 0&&(M=G()),p.addTiming(k,M),p.triggerUpdate()},startView:function(k,M){p.end(M),p.triggerUpdate(),p=C(M,k)},stop:function(){g(),h(),T(),p.end()}}}function hs(t,n,i,o,u,f,d,h){d===void 0&&(d=Q());var m=J(),p={},T={},g=0,w,C=P({},i),b=o;t.notify(y.VIEW_CREATED,{id:m,name:h,startClocks:d,location:C,referrer:f});var z=Nr(D(X),Fh,{leading:!1}),E=z.throttled,k=z.cancel,M=ds(t,n,E,u),_e=M.setLoadEvent,he=M.stop,Se=M.viewMetrics;X();function X(){g+=1;var W=w===void 0?G():w.timeStamp;t.notify(y.VIEW_UPDATED,P(P({},Se),{customTimings:T,documentVersion:g,id:m,name:h,loadingType:u,location:C,hasReplay:b,referrer:f,startClocks:d,timings:p,duration:K(d.timeStamp,W),isActive:w===void 0}))}return{name:h,scheduleUpdate:E,end:function(W){W===void 0&&(W=Q()),w=W,he(),t.notify(y.VIEW_ENDED,{endClocks:w})},getLocation:function(){return C},triggerUpdate:function(){k(),X()},updateTimings:function(W){p=W,W.loadEvent!==void 0&&_e(W.loadEvent)},addTiming:function(W,le){T[Hh(W)]=K(d.timeStamp,le)},updateLocation:function(W){C=P({},W)},updateHasReplay:function(W){b=W},get url(){return C.href}}}function Hh(t){var n=t.replace(/[^a-zA-Z0-9-_.@$]/g,"_");return n!==t&&j.warn("Invalid timing name: "+t+", sanitized to: "+n),n}function ps(t,n,i,o,u,f){return t.subscribe(y.VIEW_UPDATED,function(d){return t.notify(y.RAW_RUM_EVENT_COLLECTED,Vh(d,u))}),ms(i,t,o,!n.trackViewsManually,f)}function Vh(t,n){var i={_dd:{document_version:t.documentVersion},date:t.startClocks.timeStamp,type:F.VIEW,view:{action:{count:t.eventCounts.userActionCount},cumulative_layout_shift:t.cumulativeLayoutShift,dom_complete:Y(t.timings.domComplete),dom_content_loaded:Y(t.timings.domContentLoaded),dom_interactive:Y(t.timings.domInteractive),error:{count:t.eventCounts.errorCount},first_contentful_paint:Y(t.timings.firstContentfulPaint),first_input_delay:Y(t.timings.firstInputDelay),first_input_time:Y(t.timings.firstInputTime),is_active:t.isActive,name:t.name,largest_contentful_paint:Y(t.timings.largestContentfulPaint),load_event:Y(t.timings.loadEvent),loading_time:Y(t.loadingTime),loading_type:t.loadingType,long_task:{count:t.eventCounts.longTaskCount},resource:{count:t.eventCounts.resourceCount},time_spent:Y(t.duration),in_foreground_periods:n.getInForegroundPeriods(t.startClocks.relative,t.duration)},session:{has_replay:t.hasReplay||void 0}};return et(t.customTimings)||(i.view.custom_timings=Ga(t.customTimings,Y)),{rawRumEvent:i,startTime:t.startClocks.relative,domainContext:{location:t.location}}}var jh="rum",vs=function(t){return t[t.LITE=1]="LITE",t[t.REPLAY=2]="REPLAY",t}(vs||{}),ke=function(t){return t.NOT_TRACKED="0",t.TRACKED_WITH_RESOURCES="1",t.TRACKED_WITHOUT_RESOURCES="2",t}(ke||{});function gs(t,n){var i=pi(t.cookieOptions,jh,function(o){return Gh(t,o)});return i.renewObservable.subscribe(function(){n.notify(y.SESSION_RENEWED)}),{getId:i.getId,getPlan:function(){return Bh(i)},isTracked:function(){return _s(i)},isTrackedWithResource:function(){return i.getId()!==void 0&&i.getTrackingType()===ke.TRACKED_WITH_RESOURCES}}}function _s(t){return t.getId()!==void 0&&ys(t.getTrackingType())}function Bh(t){return _s(t)?vs.REPLAY:void 0}function Gh(t,n){var i;return zh(n)?i=n:Vn(t.sampleRate)?Vn(t.resourceSampleRate)?i=ke.TRACKED_WITH_RESOURCES:i=ke.TRACKED_WITHOUT_RESOURCES:i=ke.NOT_TRACKED,{trackingType:i,isTracked:ys(i)}}function zh(t){return t===ke.NOT_TRACKED||t===ke.TRACKED_WITH_RESOURCES||t===ke.TRACKED_WITHOUT_RESOURCES}function ys(t){return t===ke.TRACKED_WITH_RESOURCES||t===ke.TRACKED_WITHOUT_RESOURCES}function Es(t,n){var i=qh(t,n);return n.subscribe(y.RUM_EVENT_COLLECTED,function(o){o.type===F.VIEW?i.upsert(o,o.view.id):i.add(o)}),{stop:function(){i.stop()}}}function qh(t,n){var i=f(t.rumEndpoint,function(){return n.notify(y.BEFORE_UNLOAD)}),o,u=t.replica;u!==void 0&&(o=f(u.rumEndpoint));function f(m,p){return new Ut(new Pt(m,t.batchBytesLimit,!0),t.maxBatchSize,t.batchBytesLimit,t.maxMessageSize,t.flushTimeout,p)}function d(m){return ce(m,{application:{id:u.applicationId}})}var h=!1;return{add:function(m){h||(i.add(m),o&&o.add(d(m)))},stop:function(){h=!0},upsert:function(m,p){h||(i.upsert(m,p),o&&o.upsert(d(m),p))}}}function Ci(t,n,i,o,u){var f=new Ei,d=gs(n,f),h=yo();i.setExternalContextProvider(function(){return ce({application_id:t.applicationId}
9,p.findView(),o().context)});var m=$h(t.applicationId,f,n,d,o),p=m.parentContexts,T=m.foregroundContexts;is(f),os(f,d);var g=ps(f,n,location,h,T,u),w=g.addTiming,C=g.startView,b=ns(f,n,T).addError,z=rs(f,h,n,T).addAction;qo(f,n),Ao(f,n);var E=Wo(t.applicationId,d,p);return{addAction:z,addError:b,addTiming:w,startView:C,lifeCycle:f,parentContexts:p,session:d,getInternalContext:E.get}}function $h(t,n,i,o,u){var f=Ho(n,o),d=Fo(i),h=Es(i,n);return Uo(t,i,n,o,f,u),{parentContexts:f,foregroundContexts:d,stop:function(){h.stop(),f.stop(),d.stop()}}}var qe=yi(Ci);Kn(za(),"DD_RUM",qe);ka();var Ss=(()=>{class t{initService(i){if(i.env===Cn.DEV)return;let o={site:"datadoghq.com",version:"1.0.0",sampleRate:100,trackInteractions:!0,allowedTracingOrigins:[/https?:\/\/.*\.datanyze\.com/]};qe.init(_r(_r({},o),i))}isDatadogActive(){return!!window.DD_RUM}setUserId(i){qe.setUser(_r({},i))}addCustomAction(i,o){qe.addAction(i,o)}addGlobalContext(i,o){qe.addRumGlobalContext(i,o)}setGlobalContext(i){qe.setRumGlobalContext(i)}static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275prov=yr({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();ka();var fy=(()=>{class t{constructor(i,o){this.store=i,this.datadogService=o}isTokenValid(i){try{return wr(i,{header:!0}),!0}catch{return!1}}isTokenExpired(i){try{let o=wr(i),u=Jr.default.unix(Date.now()/1e3).format(),f=Jr.default.unix(It(o,"exp")).format();return!(0,Jr.default)(u).isSameOrBefore(f)}catch{return!0}}setTokenToStore(i){this.store.dispatch(Da({authToken:i}))}setUserToStore(i){let o=this.getTokenDecodedValues(i),u=It(o,"userId",""),f=It(o,"email",""),d=It(o,"teamId",""),h={userId:u,email:f},m={id:u,email:f},p={teamId:d};this.datadogService.setUserId(m),this.datadogService.setGlobalContext(p),this.store.dispatch(Ca({payload:h}))}getTokenDecodedValues(i){try{return wr(i)}catch{return{error:!0,errorType:"CANT_DECODE_TOKEN"}}}static{this.\u0275fac=function(o){return new(o||t)(Dn(xa),Dn(Ss))}}static{this.\u0275prov=yr({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();export{wr as a,Ca as b,Qh as c,em as d,Cn as e,Ss as f,fy as g};
10//# sourceMappingURL=chunk-6LMEUQ2F.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.