/*! For license information please see LICENSES */ (window.webpackJsonp=window.webpackJsonp||[]).push([[5],{1:function(t,e,n){"use strict";n.d(e,"d",(function(){return _})),n.d(e,"l",(function(){return w})),n.d(e,"n",(function(){return x})),n.d(e,"m",(function(){return S})),n.d(e,"f",(function(){return T})),n.d(e,"b",(function(){return E})),n.d(e,"s",(function(){return C})),n.d(e,"h",(function(){return k})),n.d(e,"i",(function(){return O})),n.d(e,"e",(function(){return R})),n.d(e,"r",(function(){return A})),n.d(e,"k",(function(){return I})),n.d(e,"t",(function(){return L})),n.d(e,"o",(function(){return j})),n.d(e,"q",(function(){return M})),n.d(e,"g",(function(){return U})),n.d(e,"c",(function(){return F})),n.d(e,"j",(function(){return D})),n.d(e,"p",(function(){return z})),n.d(e,"a",(function(){return Z})),n.d(e,"v",(function(){return X})),n.d(e,"u",(function(){return W}));n(49),n(37),n(53),n(54),n(89),n(34),n(90);var r=n(19),o=n(11),c=n(16),l=n(21),f=(n(74),n(17),n(50),n(276),n(31),n(57),n(60),n(46),n(39),n(40),n(41),n(18),n(56),n(197),n(120),n(232),n(33),n(152),n(280),n(75),n(92),n(2)),d=n(20);function h(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function v(t){for(var e=1;e=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return c=t.done,t},e:function(t){l=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function y(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i1&&void 0!==arguments[1]?arguments[1]:"";return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e;return void 0===t[n]&&(t[n]=0),t[n]++}}function w(t){f.a.config.errorHandler&&f.a.config.errorHandler(t)}function x(t){return t.then((function(t){return t.default||t}))}function S(t){return t.$options&&"function"==typeof t.$options.fetch&&!t.$options.fetch.length}function T(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=m(t.$children||[]);try{for(r.s();!(e=r.n()).done;){var o=e.value;o.$fetch&&n.push(o),o.$children&&T(o,n)}}catch(t){r.e(t)}finally{r.f()}return n}function E(t,e){if(e||!t.options.__hasNuxtData){var n=t.options._originDataFn||t.options.data||function(){return{}};t.options._originDataFn=n,t.options.data=function(){var data=n.call(this,this);return this.$ssrContext&&(e=this.$ssrContext.asyncData[t.cid]),v(v({},data),e)},t.options.__hasNuxtData=!0,t._Ctor&&t._Ctor.options&&(t._Ctor.options.data=t.options.data)}}function C(t){return t.options&&t._Ctor===t||(t.options?(t._Ctor=t,t.extendOptions=t.options):(t=f.a.extend(t))._Ctor=t,!t.options.name&&t.options.__file&&(t.options.name=t.options.__file)),t}function k(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"components";return Array.prototype.concat.apply([],t.matched.map((function(t,r){return Object.keys(t[n]).map((function(o){return e&&e.push(r),t[n][o]}))})))}function O(t){return k(t,arguments.length>1&&void 0!==arguments[1]&&arguments[1],"instances")}function R(t,e){return Array.prototype.concat.apply([],t.matched.map((function(t,n){return Object.keys(t.components).reduce((function(r,o){return t.components[o]?r.push(e(t.components[o],t.instances[o],t,o,n)):delete t.components[o],r}),[])})))}function A(t,e){return Promise.all(R(t,function(){var t=Object(o.a)(regeneratorRuntime.mark((function t(n,r,o,c){var l,f;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("function"!=typeof n||n.options){t.next=11;break}return t.prev=1,t.next=4,n();case 4:n=t.sent,t.next=11;break;case 7:throw t.prev=7,t.t0=t.catch(1),t.t0&&"ChunkLoadError"===t.t0.name&&"undefined"!=typeof window&&window.sessionStorage&&(l=Date.now(),(!(f=parseInt(window.sessionStorage.getItem("nuxt-reload")))||f+6e4=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,l=!0,f=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return l=t.done,t},e:function(t){f=!0,o=t},f:function(){try{l||null==n.return||n.return()}finally{if(f)throw o}}}}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i=0;return n||e.push(t),n}}}()),void 0===source)return t;if("object"!=typeof source||null===source)return source;if(source instanceof Date)return new Date(source.getTime());if(source instanceof RegExp){var n=source.flags||[source.global?"g":"",source.ignoreCase?"i":"",source.multiline?"m":"",source.sticky?"y":"",source.unicode?"u":""].join("");return new RegExp(source.source,n)}if(!e.hasAlreadyBeenSeen(source)){if(Array.isArray(source)){for(var r=Array.isArray(t)?t:[],i=0;i"}finally{r(),o(),c(),l()}}function X(t){var object=t,e=object.toJSON;return e?(delete object.toJSON,function(){object.toJSON=e}):B}var W=220*N,J="$",Y=3;function Q(source,t){var e;void 0===t&&(t=W);var n=X(Object.prototype),r=X(Array.prototype),o=[],c=new WeakMap,l=tt(source,J,void 0,o,c),f=(null===(e=JSON.stringify(l))||void 0===e?void 0:e.length)||0;if(!(f>t)){for(;o.length>0&&ft){et(t,"truncated",source);break}d.target[v]=m}else for(var v in d.source)if(Object.prototype.hasOwnProperty.call(d.source,v)){var m;if(void 0!==(m=tt(d.source[v],d.path,v,o,c))&&(f+=JSON.stringify(m).length+h+v.length+Y,h=1),f>t){et(t,"truncated",source);break}d.target[v]=m}}return n(),r(),l}et(t,"discarded",source)}function tt(source,t,e,n,r){var o=function(t){var object=t;if(object&&"function"==typeof object.toJSON)try{return object.toJSON()}catch(t){}return t}(source);if(!o||"object"!=typeof o)return function(t){if("bigint"==typeof t)return"[BigInt] ".concat(t.toString());if("function"==typeof t)return"[Function] ".concat(t.name||"unknown");if("symbol"==typeof t)return"[Symbol] ".concat(t.description||t.toString());return t}(o);var c=function(t){try{if(t instanceof Event)return{isTrusted:t.isTrusted};var e=Object.prototype.toString.call(t).match(/\[object (.*)\]/);if(e&&e[1])return"[".concat(e[1],"]")}catch(t){}return"[Unserializable]"}(o);if("[Object]"!==c&&"[Array]"!==c&&"[Error]"!==c)return c;var l=source;if(r.has(l))return"[Reference seen at ".concat(r.get(l),"]");var f=void 0!==e?"".concat(t,".").concat(e):t,d=Array.isArray(o)?[]:{};return r.set(l,f),n.push({source:o,target:d,path:f}),d}function et(t,e,source){f.warn("The data provided has been ".concat(e," as it is over the limit of ").concat(t," characters:"),source)}var nt,it=function(){function t(t){this.onFirstSubscribe=t,this.observers=[]}return t.prototype.subscribe=function(t){var e=this;return!this.observers.length&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe()||void 0),this.observers.push(t),{unsubscribe:function(){e.observers=e.observers.filter((function(e){return t!==e})),!e.observers.length&&e.onLastUnsubscribe&&e.onLastUnsubscribe()}}},t.prototype.notify=function(data){this.observers.forEach((function(t){return t(data)}))},t}();function ot(){for(var t=[],e=0;eat&&(f.warn("The ".concat(st[e]," data exceeds the recommended ").concat(at/N,"KiB threshold. More details: https://docs.datadoghq.com/real_user_monitoring/browser/troubleshooting/#customer-data-exceeds-the-recommended-3kib-warning")),!0)}var ct=200;function lt(t,e){void 0===e&&(e=j);var n,r={},o=!1,c=new it,l=$((function(r){n=e(Z(r)),o||(o=ut(n,t))}),ct).throttled,f={getBytesCount:function(){return n},get:function(){return r},add:function(t,e){r[t]=e,l(r),c.notify()},remove:function(t){delete r[t],l(r),c.notify()},set:function(t){l(r=t),c.notify()},getContext:function(){return G(r)},setContext:function(t){"object"===V(t)?(r=Q(t),l(r)):f.clearContext(),c.notify()},setContextProperty:function(t,e){r[t]=Q(e),l(r),c.notify()},removeContextProperty:function(t){delete r[t],l(r),c.notify()},clearContext:function(){r={},n=0,c.notify()},changeObservable:c};return f}var ft=function(){function t(){this.buffer=[]}return t.prototype.add=function(t){this.buffer.push(t)>500&&this.buffer.splice(0,1)},t.prototype.drain=function(){this.buffer.forEach((function(t){return t()})),this.buffer.length=0},t}();function pt(t){return 0!==t&&100*Math.random()<=t}function ht(t,e){return+t.toFixed(e)}function vt(t){return mt(t)&&t>=0&&t<=100}function mt(t){return"number"==typeof t}var gt,yt,bt=1e3,_t=60*bt,wt=60*_t,xt=365*(24*wt);function St(t){return{relative:t,timeStamp:Tt(t)}}function Tt(t){var e=Ct()-performance.now();return e>Pt()?Math.round(Nt(e,t)):function(t){return Math.round(Nt(Pt(),t))}(t)}function Et(t){return mt(t)?ht(1e6*t,0):t}function Ct(){return(new Date).getTime()}function kt(){return Ct()}function Ot(){return performance.now()}function Rt(){return{relative:Ot(),timeStamp:kt()}}function At(){return{relative:0,timeStamp:Pt()}}function It(t,e){return e-t}function Nt(a,b){return a+b}function Lt(t){return t-Pt()}function Pt(){return void 0===gt&&(gt=performance.timing.navigationStart),gt}function jt(t){return t?(parseInt(t,10)^16*Math.random()>>parseInt(t,10)/4).toString(16):"".concat(1e7,"-").concat(1e3,"-").concat(4e3,"-").concat(8e3,"-").concat(1e11).replace(/[018]/g,jt)}function Mt(t,e){var n=new RegExp("(?:^|;)\\s*".concat(e,"\\s*=\\s*([^;]+)")).exec(t);return n?n[1]:void 0}function Ut(t,e,n){void 0===n&&(n="");var r=t.charCodeAt(e-1),o=r>=55296&&r<=56319?e+1:e;return t.length<=o?t:"".concat(t.slice(0,o)).concat(n)}function Ft(t,e,n,r){var o=new Date;o.setTime(o.getTime()+n);var c="expires=".concat(o.toUTCString()),l=r&&r.crossSite?"none":"strict",f=r&&r.domain?";domain=".concat(r.domain):"",d=r&&r.secure?";secure":"";document.cookie="".concat(t,"=").concat(e,";").concat(c,";path=/;samesite=").concat(l).concat(f).concat(d)}function Dt(t){return Mt(document.cookie,t)}function zt(t,e){Ft(t,"",0,e)}var $t="datadog-synthetics-public-id",Bt="datadog-synthetics-result-id",qt="datadog-synthetics-injects-rum";function Vt(){return Boolean(window._DATADOG_SYNTHETICS_INJECTS_RUM||Dt(qt))}function Ht(){var t=I().DatadogEventBridge;if(t)return{getAllowedWebViewHosts:function(){return JSON.parse(t.getAllowedWebViewHosts())},send:function(e,n){t.send(JSON.stringify({eventType:e,event:n}))}}}function Gt(t){var e;void 0===t&&(t=null===(e=I().location)||void 0===e?void 0:e.hostname);var n=Ht();return!!n&&n.getAllowedWebViewHosts().some((function(e){return t===e||(n=t,r=".".concat(e),n.slice(-r.length)===r);var n,r}))}function Kt(t,e,n,r,o){return Zt(t,e,[n],r,o)}function Zt(t,e,n,r,o){var c=void 0===o?{}:o,l=c.once,f=c.capture,d=c.passive,h=_(l?function(t){y(),r(t)}:r),v=d?{capture:f,passive:d}:f,m=M(e,"addEventListener");function y(){var t=M(e,"removeEventListener");n.forEach((function(n){return t.call(e,n,h,v)}))}return n.forEach((function(t){return m.call(e,t,h,v)})),{stop:y}}var Xt="_dd_c",Wt=[];function Jt(t,e,n,r){void 0===r&&(r=j);var o=function(t,e){return"".concat(Xt,"_").concat(t,"_").concat(e)}(e,n),c=lt(n,r);return l(),Wt.push(Kt(t,window,"storage",(function(t){var e=t.key;o===e&&l()}))),c.changeObservable.subscribe((function(){localStorage.setItem(o,JSON.stringify(c.getContext()))})),c;function l(){var t=localStorage.getItem(o),e=null!==t?JSON.parse(t):{};c.setContext(e)}}var Yt="?";function Qt(t){var e=[],n=ue(t,"stack"),r=String(t);return n&&O(n,r)&&(n=n.slice(r.length)),n&&n.split("\n").forEach((function(line){var t=function(line){var t=ne.exec(line);if(!t)return;var e=t[2]&&0===t[2].indexOf("native"),n=t[2]&&0===t[2].indexOf("eval"),r=re.exec(t[2]);n&&r&&(t[2]=r[1],t[3]=r[2],t[4]=r[3]);return{args:e?[t[2]]:[],column:t[4]?+t[4]:void 0,func:t[1]||Yt,line:t[3]?+t[3]:void 0,url:e?void 0:t[2]}}(line)||function(line){var t=ie.exec(line);if(!t)return;return{args:[],column:t[3]?+t[3]:void 0,func:Yt,line:t[2]?+t[2]:void 0,url:t[1]}}(line)||function(line){var t=oe.exec(line);if(!t)return;return{args:[],column:t[4]?+t[4]:void 0,func:t[1]||Yt,line:+t[3],url:t[2]}}(line)||function(line){var t=ae.exec(line);if(!t)return;var e=t[3]&&t[3].indexOf(" > eval")>-1,n=se.exec(t[3]);e&&n&&(t[3]=n[1],t[4]=n[2],t[5]=void 0);return{args:t[2]?t[2].split(","):[],column:t[5]?+t[5]:void 0,func:t[1]||Yt,line:t[4]?+t[4]:void 0,url:t[3]}}(line);t&&(!t.func&&t.line&&(t.func=Yt),e.push(t))})),{message:ue(t,"message"),name:ue(t,"name"),stack:e}}var te="((?:file|https?|blob|chrome-extension|native|eval|webpack|snippet||\\w+\\.|\\/).*?)",ee="(?::(\\d+))",ne=new RegExp("^\\s*at (.*?) ?\\(".concat(te).concat(ee,"?").concat(ee,"?\\)?\\s*$"),"i"),re=new RegExp("\\((\\S*)".concat(ee).concat(ee,"\\)"));var ie=new RegExp("^\\s*at ?".concat(te).concat(ee,"?").concat(ee,"??\\s*$"),"i");var oe=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;var ae=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,se=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function ue(t,e){if("object"==typeof t&&t&&e in t){var n=t[e];return"string"==typeof n?n:void 0}}var ce,le="No stack, consider using an instance of Error";function fe(t){var e=t.stackTrace,n=t.originalError,r=t.handlingStack,o=t.startClocks,c=t.nonErrorPrefix,source=t.source,l=t.handling,f=n instanceof Error,d=function(t,e,n,r){return(null==t?void 0:t.message)&&(null==t?void 0:t.name)?t.message:e?"Empty message":"".concat(n," ").concat(Z(Q(r)))}(e,f,c,n),h=function(t,e){if(void 0===e)return!1;if(t)return!0;return e.stack.length>0&&(e.stack.length>1||void 0!==e.stack[0].url)}(f,e)?pe(e):le,v=f?function(t,e){var n=t,r=[];for(;(null==n?void 0:n.cause)instanceof Error&&r.length<10;){var o=Qt(n.cause);r.push({message:n.cause.message,source:e,type:null==o?void 0:o.name,stack:o&&pe(o)}),n=n.cause}return r.length?r:void 0}(n,source):void 0;return{startClocks:o,source:source,handling:l,handlingStack:r,originalError:n,type:null==e?void 0:e.name,message:d,stack:h,causes:v,fingerprint:de(n)}}function de(t){return t instanceof Error&&"dd_fingerprint"in t?String(t.dd_fingerprint):void 0}function pe(t){var e=he(t);return t.stack.forEach((function(t){var n="?"===t.func?"":t.func,r=t.args&&t.args.length>0?"(".concat(t.args.join(", "),")"):"",line=t.line?":".concat(t.line):"",o=t.line&&t.column?":".concat(t.column):"";e+="\n at ".concat(n).concat(r," @ ").concat(t.url).concat(line).concat(o)})),e}function he(t){return"".concat(t.name||"Error",": ").concat(t.message)}function ve(){var t,e=new Error;if(!e.stack)try{throw e}catch(t){}return w((function(){var n=Qt(e);n.stack=n.stack.slice(2),t=pe(n)})),t}function me(t){var e=A({},t);return["id","name","email"].forEach((function(t){t in e&&(e[t]=String(e[t]))})),e}!function(t){t.PAGEHIDE="pagehide",t.FEATURE_FLAGS="feature_flags",t.RESOURCE_PAGE_STATES="resource_page_states",t.PAGE_STATES="page_states",t.COLLECT_FLUSH_REASON="collect_flush_reason",t.NO_RESOURCE_DURATION_FROZEN_STATE="no_resource_duration_frozen_state",t.SCROLLMAP="scrollmap",t.INTERACTION_TO_NEXT_PAINT="interaction_to_next_paint",t.WEB_VITALS_ATTRIBUTION="web_vitals_attribution",t.DISABLE_REPLAY_INLINE_CSS="disable_replay_inline_css"}(ce||(ce={}));var ge=new Set;function ye(t){return ge.has(t)}function be(){return ge}function _e(object){return A({},object)}function we(object,t){return Object.keys(object).some((function(e){return object[e]===t}))}function xe(object){return 0===Object.keys(object).length}var Se,Te,Ee,Ce=4*wt,ke=15*_t;var Oe="_dd_s",Re=/^([a-z]+)=([a-z0-9-]+)$/,Ae="&";function Ie(t){return xe(t)}function Ne(t){t.expire=String(Ct()+ke)}function Le(t){return k(t).map((function(t){var e=t[0],n=t[1];return"".concat(e,"=").concat(n)})).join(Ae)}function Pe(t){var e={};return function(t){return!!t&&(-1!==t.indexOf(Ae)||Re.test(t))}(t)&&t.split(Ae).forEach((function(t){var n=Re.exec(t);if(null!==n){var r=n[1],o=n[2];e[r]=o}})),e}var je="_dd",Me="_dd_r",Ue="_dd_l",Fe="rum",De="logs";function ze(t){var e=function(t){var e={};e.secure=!!t.useSecureSessionCookie||!!t.useCrossSiteSessionCookie,e.crossSite=!!t.useCrossSiteSessionCookie,t.trackSessionAcrossSubdomains&&(e.domain=function(){if(void 0===yt){for(var t="dd_site_test_".concat(jt()),e=window.location.hostname.split("."),n=e.pop();e.length&&!Dt(t);)n="".concat(e.pop(),".").concat(n),Ft(t,"test",bt,{domain:n});zt(t,{domain:n}),yt=n}return yt}());return e}(t);return function(t){if(void 0===document.cookie||null===document.cookie)return!1;try{var e="dd_cookie_test_".concat(jt()),n="test";Ft(e,n,_t,t);var r=Dt(e)===n;return zt(e,t),r}catch(t){return f.error(t),!1}}(e)?{type:"Cookie",cookieOptions:e}:void 0}function $e(t){var e,n={isLockEnabled:null!=Te?Te:Te=!!window.chrome||/HeadlessChrome/.test(window.navigator.userAgent),persistSession:(e=t,function(t){Ft(Oe,Le(t),ke,e)}),retrieveSession:Be,clearSession:qe(t)};return function(t){if(!Dt(Oe)){var e=Dt(je),n=Dt(Me),r=Dt(Ue),o={};e&&(o.id=e),r&&/^[01]$/.test(r)&&(o[De]=r),n&&/^[012]$/.test(n)&&(o[Fe]=n),Ie(o)||(Ne(o),t.persistSession(o))}}(n),n}function Be(){return Pe(Dt(Oe))}function qe(t){return function(){zt(Oe,t)}}var Ve="_dd_test_";function He(t){localStorage.setItem(Oe,Le(t))}function Ge(){return Pe(localStorage.getItem(Oe))}function Ke(){localStorage.removeItem(Oe)}var Ze,Xe=10,We=100,Je=[];function Ye(t,e,n){var r;void 0===n&&(n=0);var o=e.isLockEnabled,c=e.retrieveSession,l=e.persistSession,f=e.clearSession;if(Ze||(Ze=t),t===Ze)if(o&&n>=We)tn(e);else{var d,h=c();if(o){if(h.lock)return void Qe(t,e,n);if(d=jt(),h.lock=d,l(h),(h=c()).lock!==d)return void Qe(t,e,n)}var v=t.process(h);if(o&&(h=c()).lock!==d)Qe(t,e,n);else{if(v&&(Ie(v)?f():(Ne(v),l(v))),o&&(!v||!Ie(v))){if((h=c()).lock!==d)return void Qe(t,e,n);delete h.lock,l(h),v=h}null===(r=t.after)||void 0===r||r.call(t,v||h),tn(e)}}else Je.push(t)}function Qe(t,e,n){U((function(){Ye(t,e,n+1)}),Xe)}function tn(t){Ze=void 0;var e=Je.shift();e&&Ye(e,t)}var en=bt;function nn(t){var e=ze(t);return!e&&t.allowFallbackToLocalStorage&&(e=function(){try{var t=jt(),e="".concat(Ve).concat(t);localStorage.setItem(e,t);var n=localStorage.getItem(e);return localStorage.removeItem(e),t===n?{type:"LocalStorage"}:void 0}catch(t){return}}()),e}function rn(t,e,n){var r=new it,o=new it,c="Cookie"===t.type?$e(t.cookieOptions):{isLockEnabled:!1,persistSession:He,retrieveSession:Ge,clearSession:Ke},l=c.clearSession,f=c.retrieveSession,d=D((function(){Ye({process:function(t){return y(t)?void 0:{}},after:v},c)}),en),h=function(){var t=f();if(y(t))return t;return{}}();function v(t){return y(t)||(t={}),m()&&(!function(t){return h.id!==t.id||h[e]!==t[e]}(t)?h=t:(h={},o.notify())),t}function m(){return void 0!==h[e]}function y(t){return(void 0===t.created||Ct()-Number(t.created)n||bn.test(e))&&f.warn("".concat(t," value doesn't meet tag requirements and will be sanitized"));var r=e.replace(/,/g,"_");return"".concat(t,":").concat(r)}function wn(t){var e=function(t){var e=t.env,n=t.service,r=t.version,o=t.datacenter,c=[];return e&&c.push(_n("env",e)),n&&c.push(_n("service",n)),r&&c.push(_n("version",r)),o&&c.push(_n("datacenter",o)),c}(t),n=function(t,e){return{logsEndpointBuilder:gn(t,"logs",e),rumEndpointBuilder:gn(t,"rum",e),sessionReplayEndpointBuilder:gn(t,"sessionReplay",e)}}(t,e),r=C(n).map((function(t){return t.urlPrefix})),o=function(t,e,n){if(!t.replica)return;var r=A({},t,{site:dn,clientToken:t.replica.clientToken}),o={logsEndpointBuilder:gn(r,"logs",n),rumEndpointBuilder:gn(r,"rum",n)};return e.push.apply(e,C(o).map((function(t){return t.urlPrefix}))),A({applicationId:t.replica.applicationId},o)}(t,r,e);return A({isIntakeUrl:function(t){return r.some((function(e){return 0===t.indexOf(e)}))},replica:o,site:t.site||dn},n)}var xn={ALLOW:"allow",MASK:"mask",MASK_USER_INPUT:"mask-user-input"};function Sn(t){var e,n,r;if(t&&t.clientToken){var o=null!==(e=t.sessionSampleRate)&&void 0!==e?e:t.sampleRate;if(void 0===o||vt(o))if(void 0===t.telemetrySampleRate||vt(t.telemetrySampleRate)){if(void 0===t.telemetryConfigurationSampleRate||vt(t.telemetryConfigurationSampleRate))return Array.isArray(t.enableExperimentalFeatures)&&t.enableExperimentalFeatures.filter((function(t){return we(ce,t)})).forEach((function(t){ge.add(t)})),A({beforeSend:t.beforeSend&&d(t.beforeSend,"beforeSend threw an error:"),sessionStoreStrategyType:nn(t),sessionSampleRate:null!=o?o:100,telemetrySampleRate:null!==(n=t.telemetrySampleRate)&&void 0!==n?n:20,telemetryConfigurationSampleRate:null!==(r=t.telemetryConfigurationSampleRate)&&void 0!==r?r:5,service:t.service,silentMultipleInit:!!t.silentMultipleInit,batchBytesLimit:16*N,eventRateLimiterThreshold:3e3,maxTelemetryEventsPerPage:15,flushTimeout:30*bt,batchMessagesLimit:50,messageBytesLimit:256*N},wn(t));f.error("Telemetry Configuration Sample Rate should be a number between 0 and 100")}else f.error("Telemetry Sample Rate should be a number between 0 and 100");else f.error("Session Sample Rate should be a number between 0 and 100")}else f.error("Client Token is not configured, we will not send any data.")}function Tn(t){var e=V(t);return"string"===e||"function"===e||t instanceof RegExp}function En(t,e,n){return void 0===n&&(n=!1),t.some((function(t){try{if("function"==typeof t)return t(e);if(t instanceof RegExp)return t.test(e);if("string"==typeof t)return n?O(e,t):t===e}catch(t){f.error(t)}return!1}))}function Cn(t){0!==t.status||t.isAborted||(t.traceId=void 0,t.spanId=void 0,t.traceSampled=void 0)}function kn(t,e,n,r){if(void 0!==On()&&n.findTrackedSession()){var o,c,l,f,d,h=E(t.allowedTracingUrls,(function(t){return En([t.match],e.url,!0)}));if(h)e.traceId=new Rn,e.spanId=new Rn,e.traceSampled=!mt(t.traceSampleRate)||pt(t.traceSampleRate),r((o=e.traceId,c=e.spanId,l=e.traceSampled,f=h.propagatorTypes,d={},f.forEach((function(t){switch(t){case"datadog":A(d,{"x-datadog-origin":"rum","x-datadog-parent-id":c.toDecimalString(),"x-datadog-sampling-priority":l?"1":"0","x-datadog-trace-id":o.toDecimalString()});break;case"tracecontext":A(d,{traceparent:"00-0000000000000000".concat(o.toPaddedHexadecimalString(),"-").concat(c.toPaddedHexadecimalString(),"-0").concat(l?"1":"0")});break;case"b3":A(d,{b3:"".concat(o.toPaddedHexadecimalString(),"-").concat(c.toPaddedHexadecimalString(),"-").concat(l?"1":"0")});break;case"b3multi":A(d,{"X-B3-TraceId":o.toPaddedHexadecimalString(),"X-B3-SpanId":c.toPaddedHexadecimalString(),"X-B3-Sampled":l?"1":"0"})}})),d))}}function On(){return window.crypto||window.msCrypto}var Rn=function(){function t(){this.buffer=new Uint8Array(8),On().getRandomValues(this.buffer),this.buffer[0]=127&this.buffer[0]}return t.prototype.toString=function(t){var e=this.readInt32(0),n=this.readInt32(4),r="";do{var o=e%t*4294967296+n;e=Math.floor(e/t),n=Math.floor(o/t),r=(o%t).toString(t)+r}while(e||n);return r},t.prototype.toDecimalString=function(){return this.toString(10)},t.prototype.toPaddedHexadecimalString=function(){var t=this.toString(16);return Array(17-t.length).join("0")+t},t.prototype.readInt32=function(t){return 16777216*this.buffer[t]+(this.buffer[t+1]<<16)+(this.buffer[t+2]<<8)+this.buffer[t+3]},t}();function An(t){var e,n,r,o,c,l;if(t.applicationId)if(void 0===t.sessionReplaySampleRate||vt(t.sessionReplaySampleRate)){var d=null!==(e=t.premiumSampleRate)&&void 0!==e?e:t.replaySampleRate;if(void 0!==d&&void 0!==t.sessionReplaySampleRate&&(f.warn("Ignoring Premium Sample Rate because Session Replay Sample Rate is set"),d=void 0),void 0===d||vt(d)){var h=null!==(n=t.traceSampleRate)&&void 0!==n?n:t.tracingSampleRate;if(void 0===h||vt(h))if(void 0===t.excludedActivityUrls||Array.isArray(t.excludedActivityUrls)){var v=function(t){void 0!==t.allowedTracingUrls&&void 0!==t.allowedTracingOrigins&&f.warn("Both allowedTracingUrls and allowedTracingOrigins (deprecated) have been defined. The parameter allowedTracingUrls will override allowedTracingOrigins.");if(void 0!==t.allowedTracingUrls){if(!Array.isArray(t.allowedTracingUrls))return void f.error("Allowed Tracing URLs should be an array");if(0!==t.allowedTracingUrls.length&&void 0===t.service)return void f.error("Service needs to be configured when tracing is enabled");var e=[];return t.allowedTracingUrls.forEach((function(option){var t;Tn(option)?e.push({match:option,propagatorTypes:["datadog"]}):"object"===V(t=option)&&Tn(t.match)&&Array.isArray(t.propagatorTypes)?e.push(option):f.warn("Allowed Tracing Urls parameters should be a string, RegExp, function, or an object. Ignoring parameter",option)})),e}if(void 0!==t.allowedTracingOrigins){if(!Array.isArray(t.allowedTracingOrigins))return void f.error("Allowed Tracing Origins should be an array");if(0!==t.allowedTracingOrigins.length&&void 0===t.service)return void f.error("Service needs to be configured when tracing is enabled");var n=[];return t.allowedTracingOrigins.forEach((function(t){var e=function(t){var e;"string"==typeof t?e=t:t instanceof RegExp?e=function(e){return t.test(an(e))}:"function"==typeof t&&(e=function(e){return t(an(e))});if(void 0===e)return void f.warn("Allowed Tracing Origins parameters should be a string, RegExp or function. Ignoring parameter",t);return{match:e,propagatorTypes:["datadog"]}}(t);e&&n.push(e)})),n}return[]}(t);if(v){var m=Sn(t);if(m){var y=!!(null!==(r=t.trackUserInteractions)&&void 0!==r?r:t.trackInteractions),_=!!t.trackFrustrations;return A({applicationId:t.applicationId,version:t.version,actionNameAttribute:t.actionNameAttribute,sessionReplaySampleRate:null!==(c=null!==(o=t.sessionReplaySampleRate)&&void 0!==o?o:d)&&void 0!==c?c:100,oldPlansBehavior:void 0===t.sessionReplaySampleRate,traceSampleRate:h,allowedTracingUrls:v,excludedActivityUrls:null!==(l=t.excludedActivityUrls)&&void 0!==l?l:[],workerUrl:t.workerUrl,trackUserInteractions:y||_,trackFrustrations:_,trackViewsManually:!!t.trackViewsManually,trackResources:t.trackResources,trackLongTasks:t.trackLongTasks,subdomain:t.subdomain,defaultPrivacyLevel:we(xn,t.defaultPrivacyLevel)?t.defaultPrivacyLevel:xn.MASK_USER_INPUT,customerDataTelemetrySampleRate:1},m)}}}else f.error("Excluded Activity Urls should be an array");else f.error("Trace Sample Rate should be a number between 0 and 100")}else f.error("Premium Sample Rate should be a number between 0 and 100")}else f.error("Session Replay Sample Rate should be a number between 0 and 100");else f.error("Application ID is not configured, no RUM data will be collected.")}function In(t){var e=new Set;return Array.isArray(t.allowedTracingUrls)&&t.allowedTracingUrls.length>0&&t.allowedTracingUrls.forEach((function(option){Tn(option)?e.add("datadog"):"object"===V(option)&&Array.isArray(option.propagatorTypes)&&option.propagatorTypes.forEach((function(t){return e.add(t)}))})),Array.isArray(t.allowedTracingOrigins)&&t.allowedTracingOrigins.length>0&&e.add("datadog"),T(e)}function Nn(t,e,n){return{context:t.getContext(),user:e.getContext(),hasReplay:!!n.isRecording()||void 0}}function Ln(t,e){var n=window.__ddBrowserSdkExtensionCallback;n&&n({type:t,payload:e})}var Pn,jn={log:"log",configuration:"configuration"},Mn=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","https://d3uc069fcn7uxw.cloudfront.net","https://d20xtzwzcl0ceb.cloudfront.net","http://localhost",""],Un=["ddog-gov.com"],Fn={maxEventsPerPage:0,sentEventCount:0,telemetryEnabled:!1,telemetryConfigurationEnabled:!1};function Dn(t,e){var n,r=new it;Fn.telemetryEnabled=!S(Un,e.site)&&pt(e.telemetrySampleRate),Fn.telemetryConfigurationEnabled=Fn.telemetryEnabled&&pt(e.telemetryConfigurationSampleRate);var o={is_local_file:"file:"===window.location.protocol,is_worker:"WorkerGlobalScope"in self};return Pn=function(e){if(Fn.telemetryEnabled){var c=function(t,e,r){return K({type:"telemetry",date:kt(),service:t,version:"4.50.1",source:"browser",_dd:{format_version:2},telemetry:K(e,{runtime_env:r}),experimental_features:T(be())},void 0!==n?n():{})}(t,e,o);r.notify(c),Ln("telemetry",c)}},h=$n,A(Fn,{maxEventsPerPage:e.maxTelemetryEventsPerPage,sentEventCount:0}),{setContextProvider:function(t){n=t},observable:r,enabled:Fn.telemetryEnabled}}function zn(t,e){x(r.debug,t,e),Bn(A({type:jn.log,message:t,status:"debug"},e))}function $n(t,e){Bn(A({type:jn.log,status:"error"},function(t){if(t instanceof Error){var e=Qt(t);return{error:{kind:e.name,stack:pe(qn(e))},message:e.message}}return{error:{stack:le},message:"".concat("Uncaught"," ").concat(Z(t))}}(t),e))}function Bn(t){Pn&&Fn.sentEventCountt[i])return!1;return!0}function Yn(t){var e=Qn(t);if(e){var n=e.startTime,r=e.fetchStart,o=e.redirectStart,c=e.redirectEnd,l=e.domainLookupStart,f=e.domainLookupEnd,d=e.connectStart,h=e.secureConnectionStart,v=e.connectEnd,m=e.requestStart,y=e.responseStart,details={download:nr(n,y,e.responseEnd),first_byte:nr(n,m,y)};return v!==r&&(details.connect=nr(n,d,v),Jn(d,h,v)&&(details.ssl=nr(n,h,v))),f!==r&&(details.dns=nr(n,l,f)),er(t)&&(details.redirect=nr(n,o,c)),details}}function Qn(t){if(Jn(t.startTime,t.fetchStart,t.domainLookupStart,t.domainLookupEnd,t.connectStart,t.connectEnd,t.requestStart,t.responseStart,t.responseEnd)){if(!er(t))return t;var e=t.redirectStart,n=t.redirectEnd;if(e=0;i-=1){var e,n=t.body.childNodes[i];if(e=mr(n))return e;if(!or(n))break}}(t);if(!e)return;return vr(Mt(e,"trace-id"),Mt(e,"trace-time"))}(t);if(data&&!(data.traceTime<=Ct()-dr))return data.traceId}function vr(t,e){var n=e&&Number(e);if(t&&n)return{traceId:t,traceTime:n}}function mr(t){if(t&&function(t){return t.nodeType===Node.COMMENT_NODE}(t)){var e=/^\s*DATADOG;(.*?)\s*$/.exec(t.data);if(e)return e[1]}}function gr(){return void 0!==window.performance&&"getEntries"in performance}function yr(t){return window.PerformanceObserver&&void 0!==PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes(t)}function _r(t,e){if(function(t,e){Kn(t,"interactive",(function(){var t,n={entryType:fr.RESOURCE,initiatorType:Zn,traceId:pr(document),toJSON:function(){return A({},t,{toJSON:void 0})}};if(yr(fr.NAVIGATION)&&performance.getEntriesByType(fr.NAVIGATION).length>0){var r=performance.getEntriesByType(fr.NAVIGATION)[0];t=A(r.toJSON(),n)}else{var o=wr();t=A(o,{decodedBodySize:0,duration:o.responseEnd,name:window.location.href,startTime:0},n)}e(t)}))}(e,(function(n){xr(t,e,[n])})),gr()){var n=performance.getEntries();U((function(){return xr(t,e,n)}))}if(window.PerformanceObserver){var r=_((function(n){return xr(t,e,n.getEntries())})),o=[fr.RESOURCE,fr.NAVIGATION,fr.LONG_TASK,fr.PAINT],c=[fr.LARGEST_CONTENTFUL_PAINT,fr.FIRST_INPUT,fr.LAYOUT_SHIFT,fr.EVENT];try{c.forEach((function(t){new window.PerformanceObserver(r).observe({type:t,buffered:!0,durationThreshold:40})}))}catch(t){o.push.apply(o,c)}new PerformanceObserver(r).observe({entryTypes:o}),gr()&&"addEventListener"in performance&&Kt(e,performance,"resourcetimingbufferfull",(function(){performance.clearResourceTimings()}))}yr(fr.NAVIGATION)||function(t,e){function n(){e(A(wr(),{entryType:fr.NAVIGATION}))}Kn(t,"complete",(function(){U(n)}))}(e,(function(n){xr(t,e,[n])})),yr(fr.FIRST_INPUT)||function(t,e){var n=Ct(),r=!1,o=Zt(0,window,["click","mousedown","keydown","touchstart","pointerdown"],(function(e){if(e.cancelable){var n={entryType:fr.FIRST_INPUT,processingStart:Ot(),processingEnd:Ot(),startTime:e.timeStamp,duration:0,name:""};"pointerdown"===e.type?c(t,n):l(n)}}),{passive:!0,capture:!0}).stop;function c(t,e){Zt(0,window,["pointerup","pointercancel"],(function(t){"pointerup"===t.type&&l(e)}),{once:!0})}function l(t){if(!r){r=!0,o();var c=t.processingStart-t.startTime;c>=0&&c=0&&n.entries.splice(t,1)},close:function(t){r.endTime=t}};return this.maxEntries&&this.entries.length>=this.maxEntries&&this.entries.pop(),this.entries.unshift(r),r},t.prototype.find=function(t){void 0===t&&(t=Mr);for(var e=0,n=this.entries;e0&&this.entries[this.entries.length-1].endTimen.bytesLimit}e(void 0,t,l)}!function t(){r.read().then(_((function(e){e.done?l():(n.collectStreamBody&&o.push(e.value),(c+=e.value.length)>n.bytesLimit?l():t())})),_((function(t){return e(t)})))}()}(n.body,(function(){e(It(t.startClocks.timeStamp,kt()))}),{bytesLimit:Number.POSITIVE_INFINITY,collectStreamBody:!1}):e(It(t.startClocks.timeStamp,kt()))}(o,(function(e){n.clearTracingIfNeeded(o),t.notify(6,{duration:e,method:o.method,requestIndex:o.requestIndex,responseType:o.responseType,spanId:o.spanId,startClocks:o.startClocks,status:o.status,traceId:o.traceId,traceSampled:o.traceSampled,type:"fetch",url:o.url,response:o.response,init:o.init,input:o.input})}))}}))}(t,e,r)}function ti(){var t=Yr;return Yr+=1,t}function ei(t){var e=t.lifeCycle,n=t.isChildEvent,r=t.onChange,o=void 0===r?B:r,c={errorCount:0,longTaskCount:0,resourceCount:0,actionCount:0,frustrationCount:0},l=e.subscribe(11,(function(t){var e;if("view"!==t.type&&n(t))switch(t.type){case"error":c.errorCount+=1,o();break;case"action":c.actionCount+=1,t.action.frustration&&(c.frustrationCount+=t.action.frustration.type.length),o();break;case"long_task":c.longTaskCount+=1,o();break;case"resource":(null===(e=t._dd)||void 0===e?void 0:e.discarded)||(c.resourceCount+=1,o())}}));return{stop:function(){l.unsubscribe()},eventCounts:c}}var ni=100,ri=100;function ii(t,e,n,r,o){var c=function(t,e,n){var r=new it((function(){var o,c=[],l=0;c.push(e.subscribe(h),t.subscribe(0,(function(t){t.some((function(t){return t.entryType===fr.RESOURCE&&!oi(n,t.name)}))&&h()})),t.subscribe(5,(function(t){oi(n,t.url)||(void 0===o&&(o=t.requestIndex),l+=1,h())})),t.subscribe(6,(function(t){oi(n,t.url)||void 0===o||t.requestIndex0})}}));return r}(t,e,n);return function(t,e,n){var r,o=!1,c=U(_((function(){return h({hadActivity:!1})})),ni),l=void 0!==n?U(_((function(){return h({hadActivity:!0,end:kt()})})),n):void 0,f=t.subscribe((function(t){var e=t.isBusy;F(c),F(r);var n=kt();e||(r=U(_((function(){return h({hadActivity:!0,end:n})})),ri))})),d=function(){o=!0,F(c),F(r),F(l),f.unsubscribe()};function h(t){o||(d(),e(t))}return{stop:d}}(c,r,o)}function oi(t,e){return En(t.excludedActivityUrls,e)}var ai="data-dd-action-name";function si(element,t){return ui(element,ai)||t&&ui(element,t)||vi(element,t,di)||vi(element,t,pi)||""}function ui(t,e){var n;if(function(){void 0===fi&&(fi="closest"in HTMLElement.prototype);return fi}())n=t.closest("[".concat(e,"]"));else for(var element=t;element;){if(element.hasAttribute(e)){n=element;break}element=element.parentElement}if(n)return gi(mi(n.getAttribute(e).trim()))}var ci,fi,di=[function(element,t){if(function(){void 0===ci&&(ci="labels"in HTMLInputElement.prototype);return ci}()){if("labels"in element&&element.labels&&element.labels.length>0)return yi(element.labels[0],t)}else if(element.id){var label=element.ownerDocument&&E(element.ownerDocument.querySelectorAll("label"),(function(label){return label.htmlFor===element.id}));return label&&yi(label,t)}},function(element){if("INPUT"===element.nodeName){var input=element,t=input.getAttribute("type");if("button"===t||"submit"===t||"reset"===t)return input.value}},function(element,t){if("BUTTON"===element.nodeName||"LABEL"===element.nodeName||"button"===element.getAttribute("role"))return yi(element,t)},function(element){return element.getAttribute("aria-label")},function(element,t){var e=element.getAttribute("aria-labelledby");if(e)return e.split(/\s+/).map((function(t){return function(t,e){return t.ownerDocument?t.ownerDocument.getElementById(e):null}(element,t)})).filter((function(label){return Boolean(label)})).map((function(element){return yi(element,t)})).join(" ")},function(element){return element.getAttribute("alt")},function(element){return element.getAttribute("name")},function(element){return element.getAttribute("title")},function(element){return element.getAttribute("placeholder")},function(element,t){if("options"in element&&element.options.length>0)return yi(element.options[0],t)}],pi=[function(element,t){return yi(element,t)}],hi=10;function vi(t,e,n){for(var element=t,r=0;r<=hi&&element&&"BODY"!==element.nodeName&&"HTML"!==element.nodeName&&"HEAD"!==element.nodeName;){for(var o=0,c=n;o100?"".concat(Ut(s,100)," [...]"):s}function yi(element,t){if(!element.isContentEditable){if("innerText"in element){var e=element.innerText,n=function(t){for(var n=element.querySelectorAll(t),r=0;r0&&(e=e.replace(c,""))}}};return(null!=Se?Se:Se=Boolean(document.documentMode))&&n("script, style"),n("[".concat(ai,"]")),t&&n("[".concat(t,"]")),e}return element.textContent}}var bi,_i=[ai,"data-testid","data-test","data-qa","data-cy","data-test-id","data-qa-id","data-testing","data-component","data-element","data-source-file"],wi=[Ei,function(element){if(element.id&&!Ti(element.id))return"#".concat(R(element.id))}],xi=[Ei,function(element){if("BODY"===element.tagName)return;if(element.classList.length>0)for(var i=0;i").concat(e):t}var Ii=bt,Ni=100;function Li(t,e){var n,r=[],o=0;function c(t){t.stopObservable.subscribe(l),r.push(t),F(n),n=U(f,Ii)}function l(){1===o&&r.every((function(t){return t.isStopped()}))&&(o=2,e(r))}function f(){F(n),0===o&&(o=1,l())}return c(t),{tryAppend:function(t){return 0===o&&(r.length>0&&(e=r[r.length-1].event,n=t.event,!(e.target===n.target&&(l=e,d=n,Math.sqrt(Math.pow(l.clientX-d.clientX,2)+Math.pow(l.clientY-d.clientY,2))<=Ni)&&e.timeStamp-n.timeStamp<=Ii))?(f(),!1):(c(t),!0));var e,n,l,d},stop:function(){f()}}}function Pi(){var t=window.getSelection();return!t||t.isCollapsed}function ji(t){return t.target instanceof Element&&!1!==t.isPrimary}var Mi=3;function Ui(t,e){if(function(t){if(t.some((function(t){return t.getUserActivity().selection})))return!1;for(var i=0;i0},get hasPageActivity(){return void 0!==c},getUserActivity:n,addFrustration:function(t){m.push(t)},startClocks:f,isStopped:function(){return 1===v||2===v},clone:function(){return qi(t,e,n,r,o)},validate:function(e){if(_(),1===v){var n=h.eventCounts,d=n.resourceCount,y=n.errorCount,w=n.longTaskCount,x=A({type:"click",duration:c&&It(f.timeStamp,c),startClocks:f,id:l,frustrationTypes:m,counts:{resourceCount:d,errorCount:y,longTaskCount:w},events:null!=e?e:[o],event:o},r);t.notify(1,x),v=2}},discard:function(){_(),v=2}}}function Vi(t,e){var n=Hi(t)?{action:{id:t.id,loading_time:Et(t.duration),frustration:{type:t.frustrationTypes},error:{count:t.counts.errorCount},long_task:{count:t.counts.longTaskCount},resource:{count:t.counts.resourceCount}},_dd:{action:{target:t.target,position:t.position}}}:void 0;return{customerContext:Hi(t)?void 0:t.context,rawRumEvent:K({action:{id:jt(),target:{name:t.name},type:t.type},date:t.startClocks.timeStamp,type:"action",view:{in_foreground:e.isInActivePageStateAt(t.startClocks.relative)}},n),startTime:t.startClocks.relative,domainContext:Hi(t)?{event:t.event,events:t.events}:{}}}function Hi(t){return"custom"!==t.type}var Gi=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?([\s\S]*)$/;function Ki(t){var e=function(t){return $r(window,"onerror",{before:function(e,n,line,r,o){var c;if(o instanceof Error)c=Qt(o);else{var l=[{url:n,column:r,line:line}],f=function(t){var e,n,r;"[object String]"==={}.toString.call(t)&&(n=(e=Gi.exec(t))[1],r=e[2]);return{name:n,message:r}}(e);c={name:f.name,message:f.message,stack:l}}t(c,null!=o?o:e)}})}(t).stop,n=function(t){return $r(window,"onunhandledrejection",{before:function(e){var n=e.reason||"Empty reason",r=Qt(n);t(r,n)}})}(t).stop;return{stop:function(){e(),n()}}}var Zi={};function Xi(t){var e=t.map((function(t){return Zi[t]||(Zi[t]=function(t){var e=new it((function(){var n=o[t];return o[t]=function(){for(var o=[],c=0;c=r-c&&eo(n)<=Nt(o,c);var n,r,o,c}));return 1===n.length?n[0]:void 0}}}function eo(t){return Nt(t.startTime,t.duration)}function no(t,e,n,r){t.subscribe(6,(function(o){t.notify(10,function(t,e,n,r){var o,c="xhr"===t.type?"xhr":"fetch",l=to(t),f=l?St(l.startTime):t.startClocks,d=l?io(l):void 0,h=function(t,e){var n=t.traceSampled&&t.traceId&&t.spanId;if(!n)return;return{_dd:{span_id:t.spanId.toDecimalString(),trace_id:t.traceId.toDecimalString(),rule_psr:oo(e)}}}(t,e),v=ao(n,f),m=function(t,e,n){var r;if(!ye(ce.NO_RESOURCE_DURATION_FROZEN_STATE))return Et(n);var o=null===(r=t.findAll(e.relative,n))||void 0===r?void 0:r.some((function(t){return"frozen"===t.state}));return o?void 0:Et(n)}(r,f,t.duration),y=so(r,f,null!==(o=null==l?void 0:l.duration)&&void 0!==o?o:t.duration),_=K({date:f.timeStamp,resource:{id:jt(),type:c,duration:m,method:t.method,status_code:t.status,url:t.url},type:"resource"},h,d,v,y);return{startTime:f.relative,rawRumEvent:_,domainContext:{performanceEntry:l&&l,xhr:t.xhr,response:t.response,requestInput:t.input,requestInit:t.init,error:t.error}}}(o,e,n,r))})),t.subscribe(0,(function(o){for(var c=0,l=o;c=0?r.start:0,l=o?o.start:Et(e);n.push({start:c,duration:l-c})}}return n}var co=10*_t;var lo,fo=10*_t;function po(t,e,n,r){var o,c,l,f={},d=function(t,e){return{stop:t.subscribe(0,(function(t){for(var n=0,r=t;n=0&&o.responseStart<=Ot()?o.responseStart:void 0})}})).unsubscribe}}(t,(function(t){n(t.loadEvent),f.navigationTimings=t,r()})).stop,h=(void 0===o&&(o=window),"hidden"===document.visibilityState?c=0:(c=1/0,l=Zt(0,o,["pagehide","visibilitychange"],(function(t){"pagehide"!==t.type&&"hidden"!==document.visibilityState||(c=t.timeStamp,l())}),{capture:!0}).stop),{get timeStamp(){return c},stop:function(){null==l||l()}}),v=function(t,e,n){return{stop:t.subscribe(0,(function(t){var r=E(t,(function(t){return t.entryType===fr.PAINT&&"first-contentful-paint"===t.name&&t.startTime=0;i-=1){var n=t[i];if(e(n,i,t))return n}}(t,(function(t){return t.entryType===fr.LARGEST_CONTENTFUL_PAINT&&t.startTime=0?c:0,time:o.startTime,targetSelector:l})}})).unsubscribe}}(t,e,h,(function(t){f.firstInput=t,r()})).stop;return{stop:function(){d(),v(),m(),y(),h.stop()},initialViewMetrics:f}}function ho(t,e,n){if(!yr(fr.LAYOUT_SHIFT))return{stop:B};var r=0;n({value:0});var o,c,l,f,d,h,v=(d=0,h=0,{update:function(t){var e,n;void 0===o||t.startTime-c>=bt||t.startTime-o>=5*bt?(o=c=t.startTime,d=t.value,h=0,l=void 0):(d+=t.value,c=t.startTime),t.value>h&&(h=t.value,f=t.startTime,l=(null===(e=t.sources)||void 0===e?void 0:e.length)?null===(n=E(t.sources,(function(s){return!!s.node&&ar(s.node)})))||void 0===n?void 0:n.node:void 0)},value:function(){return d},largestLayoutShiftTarget:function(){return l},largestLayoutShiftTime:function(){return f}});return{stop:e.subscribe(0,(function(e){for(var o=0,c=e;or)){var f=ht(r=v.value(),4),d=v.largestLayoutShiftTarget(),h=void 0;ye(ce.WEB_VITALS_ATTRIBUTION)&&d&&(h=Si(d,t.actionNameAttribute)),n({value:f,targetSelector:h})}}})).unsubscribe}}var vo=0,mo=1/0,go=0;var yo,bo=function(){return lo?vo:window.performance.interactionCount||0},_o=10;function wo(t,e,n,r){if(!(yr(fr.EVENT)&&window.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype&&ye(ce.INTERACTION_TO_NEXT_PAINT)))return{getInteractionToNextPaint:function(){},stop:B};var o,c=function(t){"interactionCount"in performance||lo||(lo=new window.PerformanceObserver(_((function(t){t.getEntries().forEach((function(t){var e=t;e.interactionId&&(mo=Math.min(mo,e.interactionId),go=Math.max(go,e.interactionId),vo=(go-mo)/7+1)}))})))).observe({type:"event",buffered:!0,durationThreshold:0});var e="initial_load"===t?0:bo();return{getViewInteractionCount:function(){return bo()-e}}}(n).getViewInteractionCount,l=function(t){var e=[];function n(){e.sort((function(a,b){return b.duration-a.duration})).splice(_o)}return{process:function(t){var r=e.findIndex((function(e){return t.interactionId===e.interactionId})),o=e[e.length-1];-1!==r?t.duration>e[r].duration&&(e[r]=t,n()):(e.length<_o||t.duration>o.duration)&&(e.push(t),n())},estimateP98Interaction:function(){var n=Math.min(e.length-1,Math.floor(t()/50));return e[n]}}}(c),f=-1,d=!1;return{getInteractionToNextPaint:function(){return f>=0?{value:f,targetSelector:o}:c()?{value:0}:void 0},stop:r.subscribe(0,(function(n){for(var r,c=0,h=n;c10*_t&&!d&&(d=!0,zn("INP outlier",{inp:f,interaction:{timeFromViewStart:It(e.relative,m.startTime),duration:m.duration,startTime:m.startTime,processingStart:m.processingStart,processingEnd:m.processingEnd,interactionId:m.interactionId,name:m.name,targetNodeName:null===(r=m.target)||void 0===r?void 0:r.nodeName}})),o=ye(ce.WEB_VITALS_ATTRIBUTION)&&m.target&&ar(m.target)?Si(m.target,t.actionNameAttribute):void 0)})).unsubscribe}}function xo(){var t,e=window.visualViewport;return t=e?e.pageLeft-e.offsetLeft:void 0!==window.scrollX?window.scrollX:window.pageXOffset||0,Math.round(t)}function So(){var t,e=window.visualViewport;return t=e?e.pageTop-e.offsetTop:void 0!==window.scrollY?window.scrollY:window.pageYOffset||0,Math.round(t)}function To(t){return yo||(yo=function(t){var e=new it((function(){var n=$((function(){e.notify(Eo())}),200).throttled;return Kt(t,window,"resize",n,{capture:!0,passive:!0}).stop}));return e}(t)),yo}function Eo(){var t=window.visualViewport;return t?{width:Number(t.width*t.scale),height:Number(t.height*t.scale)}:{width:Number(window.innerWidth||0),height:Number(window.innerHeight||0)}}var Co=bt;function ko(t,e,n,r){void 0===r&&(r=function(t,e){void 0===e&&(e=Co);var n=new it((function(){function r(){var t,e,r,o;n.notify((t=So(),e=Eo().height,r=Math.round((document.scrollingElement||document.documentElement).scrollHeight),o=Math.round(e+t),{scrollHeight:r,scrollDepth:o,scrollTop:t}))}if(window.ResizeObserver){var o=$(r,e,{leading:!1,trailing:!0}),c=document.scrollingElement||document.documentElement,l=new ResizeObserver(_(o.throttled));l.observe(c);var f=Kt(t,window,"scroll",o.throttled,{passive:!0});return function(){o.cancel(),l.unobserve(c),f.stop()}}}));return n}(t));var o=0,c=0,l=0,f=r.subscribe((function(t){var r=t.scrollDepth,f=t.scrollTop,d=t.scrollHeight,h=!1;if(r>o&&(o=r,h=!0),d>c){c=d;var v=Ot();l=It(e.relative,v),h=!0}h&&n({maxDepth:Math.min(o,c),maxDepthScrollTop:f,maxScrollHeight:c,maxScrollHeightTime:l})}));return{stop:function(){return f.unsubscribe()}}}function Oo(t,e,n,r,o,c){var l={},f=function(t,e,n,r,o,c){var l="initial_load"===r,f=!0,d=[];function h(){!f&&!l&&d.length>0&&c(Math.max.apply(Math,d))}return{stop:ii(t,e,n,(function(t){f&&(f=!1,t.hadActivity&&d.push(It(o.timeStamp,t.end)),h())})).stop,setLoadEvent:function(t){l&&(l=!1,d.push(t),h())}}}(t,e,n,o,c,(function(t){l.loadingTime=t,r()})),d=f.stop,h=f.setLoadEvent,v=ko(n,c,(function(t){l.scroll=t})).stop,m=ho(n,t,(function(t){l.cumulativeLayoutShift=t,r()})).stop,y=wo(n,c,o,t),_=y.stop,w=y.getInteractionToNextPaint;return{stop:function(){d(),m(),v(),_()},setLoadEvent:h,getCommonViewMetrics:function(){return l.interactionToNextPaint=w(),l}}}var Ro=3e3,Ao=5*_t,Io=5*_t;function No(t,e,n,r,o,c,l){var d,h=new Set,v=m("initial_load",At(),l);function m(o,c,l){var d=function(t,e,n,r,o,c,l){void 0===c&&(c=Rt());var d,h,v,m,y=jt(),_=new it,w={},x=0,S=_e(r),T=!0;l&&(h=l.name,v=l.service,m=l.version);t.notify(2,{id:y,name:h,startClocks:c,service:v,version:m});var E=$(H,Ro,{leading:!1}),C=E.throttled,k=E.cancel,O=Oo(t,e,n,C,o,c),R=O.setLoadEvent,A=O.stop,I=O.getCommonViewMetrics,N="initial_load"===o?po(t,n,R,C):{stop:B,initialViewMetrics:{}},L=N.stop,P=N.initialViewMetrics,j=function(t,e,n){var r=ei({lifeCycle:t,isChildEvent:function(t){return t.view.id===e},onChange:n});return{stop:r.stop,eventCounts:r.eventCounts}}(t,y,C),M=j.stop,F=j.eventCounts,V=D(H,Ao);function H(){k(),x+=1;var e=void 0===d?kt():d.timeStamp;t.notify(3,{customTimings:w,documentVersion:x,id:y,name:h,service:v,version:m,loadingType:o,location:S,startClocks:c,commonViewMetrics:I(),initialViewMetrics:P,duration:It(c.timeStamp,e),isActive:void 0===d,sessionIsActive:T,eventCounts:F})}return H(),{name:h,service:v,version:m,stopObservable:_,end:function(e){var n,r,o=this;void 0===e&&(e={}),d||(d=null!==(n=e.endClocks)&&void 0!==n?n:Rt(),T=null===(r=e.sessionIsActive)||void 0===r||r,t.notify(4,{endClocks:d}),z(V),A(),H(),U((function(){o.stop()}),Io))},stop:function(){L(),M(),_.notify()},addTiming:function(t,time){if(!d){var e=function(time){return time=this.messageBytesLimit?f.warn("Discarded a message whose size was bigger than the maximum allowed size ".concat(this.messageBytesLimit,"KB.")):(this.hasMessageFor(e)&&this.remove(e),this.push(r,o,e))},t.prototype.process=function(t){var e=Z(t);return{processedMessage:e,messageBytesCount:j(e)}},t.prototype.push=function(t,e,n){var r=this.flushController.messagesCount>0?1:0;this.flushController.notifyBeforeAddMessage(e+r),void 0!==n?this.upsertBuffer[n]=t:this.pushOnlyBuffer.push(t),this.flushController.notifyAfterAddMessage()},t.prototype.remove=function(t){var e=this.upsertBuffer[t];delete this.upsertBuffer[t];var n=j(e),r=this.flushController.messagesCount>1?1:0;this.flushController.notifyAfterRemoveMessage(n+r)},t.prototype.hasMessageFor=function(t){return void 0!==t&&void 0!==this.upsertBuffer[t]},t}(),Vo=80*N,Ho=32,Go=3*L,Ko=_t,Zo=bt;function Xo(t,e,n,r,o){0===e.transportStatus&&0===e.queuedPayloads.size()&&e.bandwidthMonitor.canHandle(t)?Jo(t,e,n,{onSuccess:function(){return Yo(0,e,n,r,o)},onFailure:function(){e.queuedPayloads.enqueue(t),Wo(e,n,r,o)}}):e.queuedPayloads.enqueue(t)}function Wo(t,e,n,r){2===t.transportStatus&&U((function(){Jo(t.queuedPayloads.first(),t,e,{onSuccess:function(){t.queuedPayloads.dequeue(),t.currentBackoffTime=Zo,Yo(1,t,e,n,r)},onFailure:function(){t.currentBackoffTime=Math.min(Ko,2*t.currentBackoffTime),Wo(t,e,n,r)}})}),t.currentBackoffTime)}function Jo(t,e,n,r){var o=r.onSuccess,c=r.onFailure;e.bandwidthMonitor.add(t),n(t,(function(n){e.bandwidthMonitor.remove(t),!function(t){return"opaque"!==t.type&&(0===t.status&&!navigator.onLine||408===t.status||429===t.status||(e=t.status,e>=500));var e}(n)?(e.transportStatus=0,o()):(e.transportStatus=e.bandwidthMonitor.ongoingRequestCount>0?1:2,t.retry={count:t.retry?t.retry.count+1:1,lastFailureStatus:n.status},c())}))}function Yo(t,e,n,r,o){0===t&&e.queuedPayloads.isFull()&&!e.queueFullReported&&(o({message:"Reached max ".concat(r," events size queued for upload: ").concat(Go/L,"MiB"),source:Sr.AGENT,startClocks:Rt()}),e.queueFullReported=!0);var c=e.queuedPayloads;for(e.queuedPayloads=Qo();c.size()>0;)Xo(c.dequeue(),e,n,r,o)}function Qo(){var t=[];return{bytesCount:0,enqueue:function(e){this.isFull()||(t.push(e),this.bytesCount+=e.bytesCount)},first:function(){return t[0]},dequeue:function(){var e=t.shift();return e&&(this.bytesCount-=e.bytesCount),e},size:function(){return t.length},isFull:function(){return this.bytesCount>=Go}}}function ta(t,e,n,r){var o={transportStatus:0,currentBackoffTime:Zo,bandwidthMonitor:{ongoingRequestCount:0,ongoingByteCount:0,canHandle:function(t){return 0===this.ongoingRequestCount||this.ongoingByteCount+t.bytesCount<=Vo&&this.ongoingRequestCount=r&&y("bytes_limit"),m+=1,v+=t,void 0===e&&(e=U((function(){y("duration_limit")}),o))},notifyAfterAddMessage:function(){m>=n?y("messages_limit"):v>=r&&y("bytes_limit")},notifyAfterRemoveMessage:function(t){v-=t,0===(m-=1)&&_()}}}function ia(t,e,n,r,o,c){var l=t.replica,f=function(t,e,n,r,o,c){var l=d(t,e.endpoint),f=n&&d(t,n.endpoint);function d(t,e){return new qo(ta(t,e,t.batchBytesLimit,r),ra({messagesLimit:t.batchMessagesLimit,bytesLimit:t.batchBytesLimit,durationLimit:t.flushTimeout,pageExitObservable:o,sessionExpireObservable:c}),t.messageBytesLimit)}return{flushObservable:l.flushController.flushObservable,add:function(t,e){void 0===e&&(e=!0),l.add(t),f&&e&&f.add(n.transformMessage?n.transformMessage(t):t)},upsert:function(t,e){l.upsert(t,e),f&&f.upsert(n.transformMessage?n.transformMessage(t):t,e)},stop:function(){l.stop(),null==f||f.stop()}}}(t,{endpoint:t.rumEndpointBuilder},l&&{endpoint:l.rumEndpointBuilder,transformMessage:function(t){return K(t,{application:{id:l.applicationId}})}},r,o,c);return e.subscribe(11,(function(t){"view"===t.type?f.upsert(t,t.view.id):f.add(t)})),n.subscribe((function(e){return f.add(e,function(t){return t.site===fn}(t))})),f}var oa=Ce;function aa(t,e){var n=_e(e),r=new it((function(){var e=function(t,e){var n=$r(history,"pushState",{after:e}).stop,r=$r(history,"replaceState",{after:e}).stop,o=Kt(t,window,"popstate",e).stop;return{stop:function(){n(),r(),o()}}}(t,o).stop,n=function(t,e){return Kt(t,window,"hashchange",e)}(t,o).stop;return function(){e(),n()}}));function o(){if(n.href!==e.href){var t=_e(e);r.notify({newLocation:t,oldLocation:n}),n=t}}return r}var sa=Ce,ua=200;var ca,la,fa,da=10*bt;function pa(){0!==ca.batchCount&&(zn("Customer data measures",ca),ma())}function ha(t,e){t.sum+=e,t.min=Math.min(t.min,e),t.max=Math.max(t.max,e)}function va(t,source){t.sum+=source.sum,t.min=Math.min(t.min,source.min),t.max=Math.max(t.max,source.max)}function ma(){ca={batchCount:0,batchBytesCount:{min:1/0,max:0,sum:0},batchMessagesCount:{min:1/0,max:0,sum:0},globalContextBytes:{min:1/0,max:0,sum:0},userContextBytes:{min:1/0,max:0,sum:0},featureFlagBytes:{min:1/0,max:0,sum:0}}}function ga(){fa=!1,la={globalContextBytes:{min:1/0,max:0,sum:0},userContextBytes:{min:1/0,max:0,sum:0},featureFlagBytes:{min:1/0,max:0,sum:0}}}var ya=4e3,ba=500,_a=Ce;function wa(t,e){void 0===e&&(e=ba);var n,r=new Fr(_a,ya);c(xa(),Ot());var o=Zt(0,window,["pageshow","focus","blur","visibilitychange","resume","freeze","pagehide"],(function(t){t.isTrusted&&c(function(t){if("freeze"===t.type)return"frozen";if("pagehide"===t.type)return t.persisted?"frozen":"terminated";return xa()}(t),t.timeStamp)}),{capture:!0}).stop;function c(t,e){void 0===e&&(e=Ot()),t!==n&&(n=t,r.closeActive(e),r.add({state:n,startTime:e},e))}return{findAll:function(t,n){var o=r.findAll(t,n);if(0!==o.length){for(var c=[],l=Math.max(0,o.length-e),f=o.length-1;f>=l;f--){var d=o[f],h=It(t,d.startTime);c.push({state:d.state,start:Et(h)})}return c}},isInActivePageStateAt:function(t){var e=r.find(t);return void 0!==e&&"active"===e.state},addPageState:c,stop:function(){o(),r.stop()}}}function xa(){return"hidden"===document.visibilityState?"hidden":document.hasFocus()?"active":"passive"}function Sa(t,e){var n=e.session,r=e.viewContext,o=e.errorType,c=n?n.id:"no-session-id",l=[];void 0!==o&&l.push("error-type=".concat(o)),r&&(l.push("seed=".concat(r.id)),l.push("from=".concat(r.startClocks.timeStamp)));var f,d,h,v=(d=(f=t).site,h=f.subdomain||function(t){switch(t.site){case dn:case pn:return"app";case fn:return"dd";default:return}}(f),"https://".concat(h?"".concat(h,"."):"").concat(d)),path="/rum/replay/sessions/".concat(c);return"".concat(v).concat(path,"?").concat(l.join("&"))}var Ta={FullSnapshot:2,IncrementalSnapshot:3,Meta:4,Focus:6,ViewEnd:7,VisualViewport:8,FrustrationRecord:9},Ea={Document:0,DocumentType:1,Element:2,Text:3,CDATA:4,DocumentFragment:11},Ca={Mutation:0,MouseMove:1,MouseInteraction:2,Scroll:3,ViewportResize:4,Input:5,TouchMove:6,MediaInteraction:7,StyleSheetRule:8},ka={MouseUp:0,MouseDown:1,Click:2,ContextMenu:3,DblClick:4,Focus:5,Blur:6,TouchStart:7,TouchEnd:9},Oa={Play:0,Pause:1};function Ra(source,data){return{data:A({source:source},data),type:Ta.IncrementalSnapshot,timestamp:kt()}}var Aa={IGNORE:"ignore",HIDDEN:"hidden",ALLOW:xn.ALLOW,MASK:xn.MASK,MASK_USER_INPUT:xn.MASK_USER_INPUT},Ia="data-dd-privacy",Na="allow",La="mask",Pa="mask-user-input",ja="hidden",Ma="dd-privacy-allow",Ua="dd-privacy-mask",Fa="dd-privacy-mask-user-input",Da="dd-privacy-hidden",za="***",$a="data:image/gif;base64,R0lGODlhAQABAIAAAMLCwgAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==",Ba={INPUT:!0,OUTPUT:!0,TEXTAREA:!0,SELECT:!0,OPTION:!0,DATALIST:!0,OPTGROUP:!0},qa=1e5;function Va(t,e){var n=lr(t),r=n?Va(n,e):e;return Ha(Ga(t),r)}function Ha(t,e){switch(e){case Aa.HIDDEN:case Aa.IGNORE:return e}switch(t){case Aa.ALLOW:case Aa.MASK:case Aa.MASK_USER_INPUT:case Aa.HIDDEN:case Aa.IGNORE:return t;default:return e}}function Ga(t){if(ar(t)){var e=t.getAttribute(Ia);if("BASE"===t.tagName)return Aa.ALLOW;if("INPUT"===t.tagName){var n=t;if("password"===n.type||"email"===n.type||"tel"===n.type)return Aa.MASK;if("hidden"===n.type)return Aa.MASK;var r=n.getAttribute("autocomplete");if(r&&0===r.indexOf("cc-"))return Aa.MASK}return e===ja||t.classList.contains(Da)?Aa.HIDDEN:e===La||t.classList.contains(Ua)?Aa.MASK:e===Pa||t.classList.contains(Fa)?Aa.MASK_USER_INPUT:e===Na||t.classList.contains(Ma)?Aa.ALLOW:function(element){if("SCRIPT"===element.nodeName)return!0;if("LINK"===element.nodeName){var t=r("rel");return/preload|prefetch/i.test(t)&&"script"===r("as")||"shortcut icon"===t||"icon"===t}if("META"===element.nodeName){var e=r("name"),n=(t=r("rel"),r("property"));return/^msapplication-tile(image|color)$/.test(e)||"application-name"===e||"icon"===t||"apple-touch-icon"===t||"shortcut icon"===t||"keywords"===e||"description"===e||/^(og|twitter|fb):/.test(n)||/^(og|twitter):/.test(e)||"pinterest"===e||"robots"===e||"googlebot"===e||"bingbot"===e||element.hasAttribute("http-equiv")||"author"===e||"generator"===e||"framework"===e||"publisher"===e||"progid"===e||/^article:/.test(n)||/^product:/.test(n)||"google-site-verification"===e||"yandex-verification"===e||"csrf-token"===e||"p:domain_verify"===e||"verify-v1"===e||"verification"===e||"shopify-checkout-api-token"===e}function r(t){return(element.getAttribute(t)||"").toLowerCase()}return!1}(t)?Aa.IGNORE:void 0}}function Ka(t,e){switch(e){case Aa.MASK:case Aa.HIDDEN:case Aa.IGNORE:return!0;case Aa.MASK_USER_INPUT:return or(t)?Za(t.parentNode):Za(t);default:return!1}}function Za(t){if(!t||t.nodeType!==t.ELEMENT_NODE)return!1;var element=t;if("INPUT"===element.tagName)switch(element.type){case"button":case"color":case"reset":case"submit":return!1}return!!Ba[element.tagName]}var Xa=function(text){return text.replace(/\S/g,"x")};function Wa(t,e,n){var r,o=null===(r=t.parentElement)||void 0===r?void 0:r.tagName,c=t.textContent||"";if(!e||c.trim()){var l=n;if("SCRIPT"===o)c=za;else if(l===Aa.HIDDEN)c=za;else if(Ka(t,l))if("DATALIST"===o||"SELECT"===o||"OPTGROUP"===o){if(!c.trim())return}else c="OPTION"===o?za:Xa(c);return c}}var Ja=new WeakMap;function Ya(t){return Ja.has(t)}function Qa(t){return Ja.get(t)}function ts(element,t){var e=element.tagName,n=element.value;if(Ka(element,t)){var r=element.type;if("INPUT"===e&&("button"===r||"submit"===r||"reset"===r))return n;if(!n||"OPTION"===e)return;return za}return"OPTION"===e||"SELECT"===e?element.value:"INPUT"===e||"TEXTAREA"===e?n:void 0}var es=/url\((?:(')([^']*)'|(")([^"]*)"|([^)]*))\)/gm,ns=/^[A-Za-z]+:|^\/\//,rs=/^data:.*,/i;function is(t,e){return t.replace(es,(function(t,n,r,o,c,l){var f=r||c||l;if(!e||!f||ns.test(f)||rs.test(f))return t;var d=n||o||"";return"url(".concat(d).concat(function(t,e){try{return sn(t,e).href}catch(e){return t}}(f,e)).concat(d,")")}))}var os=/[^a-z1-6-_]/;function as(t){var e=t.toLowerCase().trim();return os.test(e)?"div":e}function ss(t){if(void 0!==t&&0!==t.length)return t.map((function(t){var e=t.cssRules||t.rules;return{cssRules:Array.from(e,(function(t){return t.cssText})),disabled:t.disabled||void 0,media:t.media.length>0?Array.from(t.media):void 0}}))}function us(element,t,e,n){if(t===Aa.HIDDEN)return null;var r=element.getAttribute(e);if(t===Aa.MASK&&e!==Ia&&!_i.includes(e)&&e!==n.actionNameAttribute){var o=element.tagName;switch(e){case"title":case"alt":case"placeholder":return za}if(!("IMG"!==o&&"SOURCE"!==o||"src"!==e&&"srcset"!==e))return $a;if("A"===o&&"href"===e)return za;if(r&&O(e,"data-"))return za}return r&&"string"==typeof r&&r.length>qa&&"data:"===r.slice(0,5)?"data:truncated":r}function cs(t){if(!t)return null;var e;try{e=t.rules||t.cssRules}catch(t){}return e?is(Array.from(e,(null!=Ee?Ee:Ee=/^((?!chrome|android).)*safari/i.test(navigator.userAgent))?ls:fs).join(""),t.href):null}function ls(t){if(function(t){return"selectorText"in t}(t)&&t.selectorText.includes(":")){return t.cssText.replace(/(\[[\w-]+[^\\])(:[^\]]+\])/g,"$1\\$2")}return fs(t)}function fs(t){return function(t){return"styleSheet"in t}(t)&&cs(t.styleSheet)||t.cssText}function ds(t,e){var n=function(t,e){switch(t.nodeType){case t.DOCUMENT_NODE:return function(t,e){return{type:Ea.Document,childNodes:hs(t,e),adoptedStyleSheets:ss(t.adoptedStyleSheets)}}(t,e);case t.DOCUMENT_FRAGMENT_NODE:return function(element,t){var e=ur(element);e&&t.serializationContext.shadowRootsController.addShadowRoot(element);return{type:Ea.DocumentFragment,childNodes:hs(element,t),isShadowRoot:e,adoptedStyleSheets:e?ss(element.adoptedStyleSheets):void 0}}(t,e);case t.DOCUMENT_TYPE_NODE:return n=t,{type:Ea.DocumentType,name:n.name,publicId:n.publicId,systemId:n.systemId};case t.ELEMENT_NODE:return function(element,t){var e,n=as(element.tagName),r=(c=element,"svg"===c.tagName||c instanceof SVGElement||void 0),o=Ha(Ga(element),t.parentNodePrivacyLevel);var c;if(o===Aa.HIDDEN){var l=element.getBoundingClientRect(),f=l.width,d=l.height;return{type:Ea.Element,tagName:n,attributes:(e={rr_width:"".concat(f,"px"),rr_height:"".concat(d,"px")},e[Ia]=ja,e),childNodes:[],isSVG:r}}if(o===Aa.IGNORE)return;var h=function(element,t,e){var n;if(t===Aa.HIDDEN)return{};for(var r={},o=as(element.tagName),c=element.ownerDocument,i=0;i0||sr(t)}(element)&&"style"!==n){v=hs(element,t.parentNodePrivacyLevel===o&&t.ignoreWhiteSpace===("head"===n)?t:A({},t,{parentNodePrivacyLevel:o,ignoreWhiteSpace:"head"===n}))}return{type:Ea.Element,tagName:n,attributes:h,childNodes:v,isSVG:r}}(t,e);case t.TEXT_NODE:return function(t,e){var n=Wa(t,e.ignoreWhiteSpace||!1,e.parentNodePrivacyLevel);if(void 0===n)return;return{type:Ea.Text,textContent:n}}(t,e);case t.CDATA_SECTION_NODE:return{type:Ea.CDATA,textContent:""}}var n}(t,e);if(!n)return null;var r=Qa(t)||ps++,o=n;return o.id=r,function(t,e){Ja.set(t,e)}(t,r),e.serializedNodeIds&&e.serializedNodeIds.add(r),o}var ps=1;function hs(t,e){var n=[];return cr(t,(function(t){var r=ds(t,e);r&&n.push(r)})),n}function vs(t,e,n){return ds(t,{serializationContext:n,parentNodePrivacyLevel:e.defaultPrivacyLevel,configuration:e})}function ms(t){return Boolean(t.changedTouches)}function gs(t){return!0===t.composed&&sr(t.target)?t.composedPath()[0]:t.target}var ys=function(t,e){var n=window.visualViewport,r={layoutViewportX:t,layoutViewportY:e,visualViewportX:t,visualViewportY:e};return n?(!function(t){return Math.abs(t.pageTop-t.offsetTop-window.scrollY)>25||Math.abs(t.pageLeft-t.offsetLeft-window.scrollX)>25}(n)?(r.visualViewportX=Math.round(t-n.offsetLeft),r.visualViewportY=Math.round(e-n.offsetTop)):(r.layoutViewportX=Math.round(t+n.offsetLeft),r.layoutViewportY=Math.round(e+n.offsetTop)),r):r},bs=function(t){return{scale:t.scale,offsetLeft:t.offsetLeft,offsetTop:t.offsetTop,pageLeft:t.pageLeft,pageTop:t.pageTop,height:t.height,width:t.width}},_s=50;function ws(t){var e=ms(t)?t.changedTouches[0]:t,n=e.clientX,r=e.clientY;if(window.visualViewport){var o=ys(n,r);n=o.visualViewportX,r=o.visualViewportY}if(Number.isFinite(n)&&Number.isFinite(r))return{x:n,y:r};t.isTrusted&&zn("mouse/touch event without x/y")}var xs,Ss=100;var Ts=((xs={}).pointerup=ka.MouseUp,xs.mousedown=ka.MouseDown,xs.click=ka.Click,xs.contextmenu=ka.ContextMenu,xs.dblclick=ka.DblClick,xs.focus=ka.Focus,xs.blur=ka.Blur,xs.touchstart=ka.TouchStart,xs.touchend=ka.TouchEnd,xs);function Es(t,e,n){void 0===n&&(n=document);var r,o=t.defaultPrivacyLevel,c=new WeakMap,l=n!==document,f=Zt(0,n,l?["change"]:["input","change"],(function(t){var e=gs(t);(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement||e instanceof HTMLSelectElement)&&h(e)}),{capture:!0,passive:!0}).stop;if(l)r=B;else{var d=[Br(HTMLInputElement.prototype,"value",h),Br(HTMLInputElement.prototype,"checked",h),Br(HTMLSelectElement.prototype,"value",h),Br(HTMLTextAreaElement.prototype,"value",h),Br(HTMLSelectElement.prototype,"selectedIndex",h)];r=function(){d.forEach((function(t){return t.stop()}))}}return function(){r(),f()};function h(t){var e=Va(t,o);if(e!==Aa.HIDDEN){var n,r=t.type;if("radio"===r||"checkbox"===r){if(Ka(t,e))return;n={isChecked:t.checked}}else{var c=ts(t,e);if(void 0===c)return;n={text:c}}v(t,n);var l,f,d=t.name;"radio"===r&&d&&t.checked&&(l=document.querySelectorAll('input[type="radio"][name="'.concat(R(d),'"]')),f=function(e){e!==t&&v(e,{isChecked:!1})},Array.prototype.forEach.call(l,f))}}function v(t,n){if(Ya(t)){var r=c.get(t);r&&r.text===n.text&&r.isChecked===n.isChecked||(c.set(t,n),e(A({id:Qa(t)},n)))}}}function Cs(t){for(var path=[],e=t;e.parentRule;){var n=Array.from(e.parentRule.cssRules).indexOf(e);path.unshift(n),e=e.parentRule}if(e.parentStyleSheet){var r=Array.from(e.parentStyleSheet.cssRules).indexOf(e);return path.unshift(r),path}}var ks=200;var Os=100;function Rs(t){var e=B,n=[];function r(){e(),t(n),n=[]}return{addMutations:function(t){0===n.length&&(e=function(t,e){if(window.requestIdleCallback&&window.cancelIdleCallback){var n=window.requestIdleCallback(_(t),e);return function(){return window.cancelIdleCallback(n)}}var r=window.requestAnimationFrame(_(t));return function(){return window.cancelAnimationFrame(r)}}(r,{timeout:Os})),n.push.apply(n,t)},flush:r,stop:function(){e()}}}function As(t,e,n,r){var o=Gn();if(!o)return{stop:B,flush:B};var c=Rs((function(r){!function(t,e,n,r){t.filter((function(t){return"childList"===t.type})).forEach((function(t){t.removedNodes.forEach((function(t){Is(t,r.removeShadowRoot)}))}));var o=t.filter((function(t){return t.target.isConnected&&function(t){for(var e=t;e;){if(!Ya(e)&&!ur(e))return!1;e=lr(e)}return!0}(t.target)&&Va(t.target,n.defaultPrivacyLevel)!==Aa.HIDDEN})),c=function(t,e,n){for(var r=new Set,o=new Map,c=function(t){t.addedNodes.forEach((function(t){r.add(t)})),t.removedNodes.forEach((function(e){r.has(e)||o.set(e,t.target),r.delete(e)}))},l=0,f=t;lMs&&function(){if(!js)return;if(js.keys)js.delete(js.keys().next().value);else{var t=!0;js.forEach((function(e,n){t&&(js.delete(n),t=!1)}))}}()),e}var Ds=function(){function t(t,e,n){this.encoder=t;var r=e.view.id;this.metadata=A({start:1/0,end:-1/0,creation_reason:n,records_count:0,has_full_snapshot:!1,index_in_view:Us(r),source:"browser"},e),function(t){Fs(t).segments_count+=1}(r)}return t.prototype.addRecord=function(t,e){var n;this.metadata.start=Math.min(this.metadata.start,t.timestamp),this.metadata.end=Math.max(this.metadata.end,t.timestamp),this.metadata.records_count+=1,(n=this.metadata).has_full_snapshot||(n.has_full_snapshot=t.type===Ta.FullSnapshot),Ln("record",{record:t,segment:this.metadata}),Fs(this.metadata.view.id).records_count+=1;var r=1===this.metadata.records_count?'{"records":[':",";this.encoder.write(r+JSON.stringify(t),e)},t.prototype.flush=function(t){var e=this;if(0===this.metadata.records_count)throw new Error("Empty segment flushed");this.encoder.write("],".concat(JSON.stringify(this.metadata).slice(1),"\n"),(function(){var n,r;n=e.metadata.view.id,r=e.encoder.rawBytesCount,Fs(n).segments_total_raw_size+=r,t(e.metadata)})),this.encoder.reset()},t}(),zs=30*bt,$s=6e4;function Bs(t,e,n,r,o,c){return function(t,e,n,r){var o={status:0,nextSegmentCreationReason:"init"},c=t.subscribe(2,(function(){f("view_change")})).unsubscribe,l=t.subscribe(9,(function(t){f(t.reason)})).unsubscribe;function f(t){1===o.status&&(o.segment.flush((function(e){var o=function(data,t,e){var n=new FormData;n.append("segment",new Blob([data],{type:"application/octet-stream"}),"".concat(t.session.id,"-").concat(t.start));var r=A({raw_segment_size:e,compressed_segment_size:data.byteLength},t),o=JSON.stringify(r);return n.append("event",new Blob([o],{type:"application/json"})),{data:n,bytesCount:data.byteLength}}(r.encodedBytes,e,r.rawBytesCount);Hn(t)?n.sendOnExit(o):n.send(o)})),F(o.expirationTimeoutId)),o="stop"!==t?{status:0,nextSegmentCreationReason:t}:{status:2}}return{addRecord:function(t){if(2!==o.status){if(0===o.status){var n=e();if(!n)return;o={status:1,segment:new Ds(r,n,o.nextSegmentCreationReason),expirationTimeoutId:U((function(){f("segment_duration_limit")}),zs)}}var c=o.segment;c.addRecord(t,(function(){1===o.status&&o.segment===c&&r.encodedBytesCount>$s&&f("segment_bytes_limit")}))}},stop:function(){f("stop"),c(),l()}}}(t,(function(){return function(t,e,n){var r=e.findTrackedSession(),o=n.findView();if(!r||!o)return;return{application:{id:t},session:{id:r.id},view:{id:o.id}}}(e.applicationId,n,r)}),o,c)}function qs(){return"function"==typeof Array.from&&"function"==typeof CSSSupportsRule&&"function"==typeof URL.createObjectURL&&"forEach"in NodeList.prototype}function Vs(t,e,n,r){var o=e.findTrackedSession(),c=function(t,e){if(!qs())return"browser-not-supported";if(!t)return"rum-not-tracked";if(!t.sessionReplayAllowed)return"incorrect-session-plan";if(!e)return"replay-not-started"}(o,r);return Sa(t,{viewContext:n.findView(),errorType:c,session:o})}function Hs(t,e,n){var r,o=0,c=[],l=0,f=[],d=Kt(t,e,"message",(function(t){var data=t.data;if("wrote"===data.type&&data.streamId===n){var e=f.shift();e&&e.id===data.id?(0===data.id?(o=data.additionalBytesCount,c=[data.result]):(o+=data.additionalBytesCount,c.push(data.result)),r=data.trailer,e.callback()):(d(),zn("Worker responses received out of order."))}})).stop;return{get encodedBytes(){return c.length?function(t){for(var e=t.reduce((function(t,e){return t+e.length}),0),n=new Uint8Array(e),r=0,o=0,c=t;o=0;)t[e]=0}var a=256,n=286,r=30,i=15,s=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),_=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),h=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),l=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),o=new Array(576);e(o);var d=new Array(60);e(d);var u=new Array(512);e(u);var f=new Array(256);e(f);var c=new Array(29);e(c);var p,g,w,v=new Array(r);function b(t,e,a,n,r){this.static_tree=t,this.extra_bits=e,this.extra_base=a,this.elems=n,this.max_length=r,this.has_stree=t&&t.length}function m(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}e(v);var y=function(t){return t<256?u[t]:u[256+(t>>>7)]},k=function(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255},z=function(t,e,a){t.bi_valid>16-a?(t.bi_buf|=e<>16-t.bi_valid,t.bi_valid+=a-16):(t.bi_buf|=e<>>=1,a<<=1}while(--e>0);return a>>>1},E=function(t,e,a){var n,r,s=new Array(16),_=0;for(n=1;n<=i;n++)s[n]=_=_+a[n-1]<<1;for(r=0;r<=e;r++){var h=t[2*r+1];0!==h&&(t[2*r]=A(s[h]++,h))}},Z=function(t){var e;for(e=0;e8?k(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},S=function(t,e,a,n){var r=2*e,i=2*a;return t[r]>1;a>=1;a--)R(t,s,a);r=l;do{a=t.heap[1],t.heap[1]=t.heap[t.heap_len--],R(t,s,1),n=t.heap[1],t.heap[--t.heap_max]=a,t.heap[--t.heap_max]=n,s[2*r]=s[2*a]+s[2*n],t.depth[r]=(t.depth[a]>=t.depth[n]?t.depth[a]:t.depth[n])+1,s[2*a+1]=s[2*n+1]=r,t.heap[1]=r++,R(t,s,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var a,n,r,s,_,h,l=e.dyn_tree,o=e.max_code,d=e.stat_desc.static_tree,u=e.stat_desc.has_stree,f=e.stat_desc.extra_bits,c=e.stat_desc.extra_base,p=e.stat_desc.max_length,g=0;for(s=0;s<=i;s++)t.bl_count[s]=0;for(l[2*t.heap[t.heap_max]+1]=0,a=t.heap_max+1;a<573;a++)(s=l[2*l[2*(n=t.heap[a])+1]+1]+1)>p&&(s=p,g++),l[2*n+1]=s,n>o||(t.bl_count[s]++,_=0,n>=c&&(_=f[n-c]),h=l[2*n],t.opt_len+=h*(s+_),u&&(t.static_len+=h*(d[2*n+1]+_)));if(0!==g){do{for(s=p-1;0===t.bl_count[s];)s--;t.bl_count[s]--,t.bl_count[s+1]+=2,t.bl_count[p]--,g-=2}while(g>0);for(s=p;0!==s;s--)for(n=t.bl_count[s];0!==n;)(r=t.heap[--a])>o||(l[2*r+1]!==s&&(t.opt_len+=(s-l[2*r+1])*l[2*r],l[2*r+1]=s),n--)}}(t,e),E(s,o,t.bl_count)},T=function(t,e,a){var n,r,i=-1,s=e[1],_=0,h=7,l=4;for(0===s&&(h=138,l=3),e[2*(a+1)+1]=65535,n=0;n<=a;n++)r=s,s=e[2*(n+1)+1],++_0?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,n=4093624447;for(e=0;e<=31;e++,n>>>=1)if(1&n&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e=3&&0===t.bl_tree[2*l[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),i=t.opt_len+3+7>>>3,(s=t.static_len+3+7>>>3)<=i&&(i=s)):i=s=n+5,n+4<=i&&-1!==e?O(t,e,n,r):4===t.strategy||s===i?(z(t,2+(r?1:0),3),L(t,o,d)):(z(t,4+(r?1:0),3),function(t,e,a,n){var r;for(z(t,e-257,5),z(t,a-1,5),z(t,n-4,4),r=0;r>=7;l>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&n,t.last_lit++,0===e?t.dyn_ltree[2*n]++:(t.matches++,e--,t.dyn_ltree[2*(f[n]+a+1)]++,t.dyn_dtree[2*y(e)]++),t.last_lit===t.lit_bufsize-1},_tr_align:function(t){z(t,2,3),x(t,256,o),function(t){16===t.bi_valid?(k(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}},C=function(t,e,a,n){for(var r=65535&t|0,i=t>>>16&65535|0,s=0;0!==a;){a-=s=a>2e3?2e3:a;do{i=i+(r=r+e[n++]|0)|0}while(--s);r%=65521,i%=65521}return r|i<<16|0},H=new Uint32Array(function(){for(var t,e=[],a=0;a<256;a++){t=a;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[a]=t}return e}()),M=function(t,e,a,n){var r=H,i=n+a;t^=-1;for(var s=n;s>>8^r[255&(t^e[s])];return-1^t},Y={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},K={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8},P=B._tr_init,j=B._tr_stored_block,G=B._tr_flush_block,X=B._tr_tally,W=B._tr_align,q=K.Z_NO_FLUSH,J=K.Z_PARTIAL_FLUSH,Q=K.Z_FULL_FLUSH,V=K.Z_FINISH,$=K.Z_BLOCK,tt=K.Z_OK,et=K.Z_STREAM_END,at=K.Z_STREAM_ERROR,nt=K.Z_DATA_ERROR,rt=K.Z_BUF_ERROR,it=K.Z_DEFAULT_COMPRESSION,st=K.Z_FILTERED,_t=K.Z_HUFFMAN_ONLY,ht=K.Z_RLE,lt=K.Z_FIXED,ot=K.Z_DEFAULT_STRATEGY,dt=K.Z_UNKNOWN,ut=K.Z_DEFLATED,ft=258,ct=262,pt=103,gt=113,wt=666,vt=function(t,e){return t.msg=Y[e],e},bt=function(t){return(t<<1)-(t>4?9:0)},mt=function(t){for(var e=t.length;--e>=0;)t[e]=0},yt=function(t,e,a){return(e<t.avail_out&&(a=t.avail_out),0!==a&&(t.output.set(e.pending_buf.subarray(e.pending_out,e.pending_out+a),t.next_out),t.next_out+=a,e.pending_out+=a,t.total_out+=a,t.avail_out-=a,e.pending-=a,0===e.pending&&(e.pending_out=0))},zt=function(t,e){G(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,kt(t.strm)},xt=function(t,e){t.pending_buf[t.pending++]=e},At=function(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},Et=function(t,e){var a,n,r=t.max_chain_length,i=t.strstart,s=t.prev_length,_=t.nice_match,h=t.strstart>t.w_size-ct?t.strstart-(t.w_size-ct):0,l=t.window,o=t.w_mask,d=t.prev,u=t.strstart+ft,f=l[i+s-1],c=l[i+s];t.prev_length>=t.good_match&&(r>>=2),_>t.lookahead&&(_=t.lookahead);do{if(l[(a=e)+s]===c&&l[a+s-1]===f&&l[a]===l[i]&&l[++a]===l[i+1]){i+=2,a++;do{}while(l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&l[++i]===l[++a]&&is){if(t.match_start=e,s=n,n>=_)break;f=l[i+s-1],c=l[i+s]}}}while((e=d[e&o])>h&&0!=--r);return s<=t.lookahead?s:t.lookahead},Zt=function(t){var e,a,n,r,i,s,_,h,l,o,d=t.w_size;do{if(r=t.window_size-t.lookahead-t.strstart,t.strstart>=d+(d-ct)){t.window.set(t.window.subarray(d,d+d),0),t.match_start-=d,t.strstart-=d,t.block_start-=d,e=a=t.hash_size;do{n=t.head[--e],t.head[e]=n>=d?n-d:0}while(--a);e=a=d;do{n=t.prev[--e],t.prev[e]=n>=d?n-d:0}while(--a);r+=d}if(0===t.strm.avail_in)break;if(s=t.strm,_=t.window,h=t.strstart+t.lookahead,l=r,o=void 0,(o=s.avail_in)>l&&(o=l),a=0===o?0:(s.avail_in-=o,_.set(s.input.subarray(s.next_in,s.next_in+o),h),1===s.state.wrap?s.adler=C(s.adler,_,o,h):2===s.state.wrap&&(s.adler=M(s.adler,_,o,h)),s.next_in+=o,s.total_in+=o,o),t.lookahead+=a,t.lookahead+t.insert>=3)for(i=t.strstart-t.insert,t.ins_h=t.window[i],t.ins_h=yt(t,t.ins_h,t.window[i+1]);t.insert&&(t.ins_h=yt(t,t.ins_h,t.window[i+3-1]),t.prev[i&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=i,i++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead=3&&(t.ins_h=yt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==a&&t.strstart-a<=t.w_size-ct&&(t.match_length=Et(t,a)),t.match_length>=3)if(n=X(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=yt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=yt(t,t.ins_h,t.window[t.strstart+1]);else n=X(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(zt(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(zt(t,!1),0===t.strm.avail_out)?1:2},St=function(t,e){for(var a,n,r;;){if(t.lookahead=3&&(t.ins_h=yt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==a&&t.prev_length4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){r=t.strstart+t.lookahead-3,n=X(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=r&&(t.ins_h=yt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,n&&(zt(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((n=X(t,0,t.window[t.strstart-1]))&&zt(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(n=X(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(zt(t,!1),0===t.strm.avail_out)?1:2};function Rt(t,e,a,n,r){this.good_length=t,this.max_lazy=e,this.nice_length=a,this.max_chain=n,this.func=r}var Lt=[new Rt(0,0,0,0,(function(t,e){var a=65535;for(a>t.pending_buf_size-5&&(a=t.pending_buf_size-5);;){if(t.lookahead<=1){if(Zt(t),0===t.lookahead&&e===q)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+a;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,zt(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-ct&&(zt(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(zt(t,!1),t.strm.avail_out),1)})),new Rt(4,4,8,4,Ut),new Rt(4,5,16,8,Ut),new Rt(4,6,32,32,Ut),new Rt(4,4,16,16,St),new Rt(8,16,32,32,St),new Rt(8,16,128,128,St),new Rt(8,32,128,256,St),new Rt(32,128,258,1024,St),new Rt(32,258,258,4096,St)];function Ft(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=ut,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),mt(this.dyn_ltree),mt(this.dyn_dtree),mt(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),mt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),mt(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}var Tt=function(t){if(!t||!t.state)return vt(t,at);t.total_in=t.total_out=0,t.data_type=dt;var e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?42:gt,t.adler=2===e.wrap?0:1,e.last_flush=q,P(e),tt},It=function(t){var e,a=Tt(t);return a===tt&&((e=t.state).window_size=2*e.w_size,mt(e.head),e.max_lazy_match=Lt[e.level].max_lazy,e.good_match=Lt[e.level].good_length,e.nice_match=Lt[e.level].nice_length,e.max_chain_length=Lt[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=2,e.match_available=0,e.ins_h=0),a},Nt=function(t,e,a,n,r,i){if(!t)return at;var s=1;if(e===it&&(e=6),n<0?(s=0,n=-n):n>15&&(s=2,n-=16),r<1||r>9||a!==ut||n<8||n>15||e<0||e>9||i<0||i>lt)return vt(t,at);8===n&&(n=9);var _=new Ft;return t.state=_,_.strm=t,_.wrap=s,_.gzhead=null,_.w_bits=n,_.w_size=1<<_.w_bits,_.w_mask=_.w_size-1,_.hash_bits=r+7,_.hash_size=1<<_.hash_bits,_.hash_mask=_.hash_size-1,_.hash_shift=~~((_.hash_bits+3-1)/3),_.window=new Uint8Array(2*_.w_size),_.head=new Uint16Array(_.hash_size),_.prev=new Uint16Array(_.w_size),_.lit_bufsize=1<$||e<0)return t?vt(t,at):at;var r=t.state;if(!t.output||!t.input&&0!==t.avail_in||r.status===wt&&e!==V)return vt(t,0===t.avail_out?rt:at);r.strm=t;var i=r.last_flush;if(r.last_flush=e,42===r.status)if(2===r.wrap)t.adler=0,xt(r,31),xt(r,139),xt(r,8),r.gzhead?(xt(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),xt(r,255&r.gzhead.time),xt(r,r.gzhead.time>>8&255),xt(r,r.gzhead.time>>16&255),xt(r,r.gzhead.time>>24&255),xt(r,9===r.level?2:r.strategy>=_t||r.level<2?4:0),xt(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(xt(r,255&r.gzhead.extra.length),xt(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(t.adler=M(t.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(xt(r,0),xt(r,0),xt(r,0),xt(r,0),xt(r,0),xt(r,9===r.level?2:r.strategy>=_t||r.level<2?4:0),xt(r,3),r.status=gt);else{var s=ut+(r.w_bits-8<<4)<<8;s|=(r.strategy>=_t||r.level<2?0:r.level<6?1:6===r.level?2:3)<<6,0!==r.strstart&&(s|=32),s+=31-s%31,r.status=gt,At(r,s),0!==r.strstart&&(At(r,t.adler>>>16),At(r,65535&t.adler)),t.adler=1}if(69===r.status)if(r.gzhead.extra){for(a=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>a&&(t.adler=M(t.adler,r.pending_buf,r.pending-a,a)),kt(t),a=r.pending,r.pending!==r.pending_buf_size));)xt(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>a&&(t.adler=M(t.adler,r.pending_buf,r.pending-a,a)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(73===r.status)if(r.gzhead.name){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(t.adler=M(t.adler,r.pending_buf,r.pending-a,a)),kt(t),a=r.pending,r.pending===r.pending_buf_size)){n=1;break}n=r.gzindexa&&(t.adler=M(t.adler,r.pending_buf,r.pending-a,a)),0===n&&(r.gzindex=0,r.status=91)}else r.status=91;if(91===r.status)if(r.gzhead.comment){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(t.adler=M(t.adler,r.pending_buf,r.pending-a,a)),kt(t),a=r.pending,r.pending===r.pending_buf_size)){n=1;break}n=r.gzindexa&&(t.adler=M(t.adler,r.pending_buf,r.pending-a,a)),0===n&&(r.status=pt)}else r.status=pt;if(r.status===pt&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&kt(t),r.pending+2<=r.pending_buf_size&&(xt(r,255&t.adler),xt(r,t.adler>>8&255),t.adler=0,r.status=gt)):r.status=gt),0!==r.pending){if(kt(t),0===t.avail_out)return r.last_flush=-1,tt}else if(0===t.avail_in&&bt(e)<=bt(i)&&e!==V)return vt(t,rt);if(r.status===wt&&0!==t.avail_in)return vt(t,rt);if(0!==t.avail_in||0!==r.lookahead||e!==q&&r.status!==wt){var _=r.strategy===_t?function(t,e){for(var a;;){if(0===t.lookahead&&(Zt(t),0===t.lookahead)){if(e===q)return 1;break}if(t.match_length=0,a=X(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,a&&(zt(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(zt(t,!1),0===t.strm.avail_out)?1:2}(r,e):r.strategy===ht?function(t,e){for(var a,n,r,i,s=t.window;;){if(t.lookahead<=ft){if(Zt(t),t.lookahead<=ft&&e===q)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(n=s[r=t.strstart-1])===s[++r]&&n===s[++r]&&n===s[++r]){i=t.strstart+ft;do{}while(n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&rt.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(a=X(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(a=X(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),a&&(zt(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===V?(zt(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(zt(t,!1),0===t.strm.avail_out)?1:2}(r,e):Lt[r.level].func(r,e);if(3!==_&&4!==_||(r.status=wt),1===_||3===_)return 0===t.avail_out&&(r.last_flush=-1),tt;if(2===_&&(e===J?W(r):e!==$&&(j(r,0,0,!1),e===Q&&(mt(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),kt(t),0===t.avail_out))return r.last_flush=-1,tt}return e!==V?tt:r.wrap<=0?et:(2===r.wrap?(xt(r,255&t.adler),xt(r,t.adler>>8&255),xt(r,t.adler>>16&255),xt(r,t.adler>>24&255),xt(r,255&t.total_in),xt(r,t.total_in>>8&255),xt(r,t.total_in>>16&255),xt(r,t.total_in>>24&255)):(At(r,t.adler>>>16),At(r,65535&t.adler)),kt(t),r.wrap>0&&(r.wrap=-r.wrap),0!==r.pending?tt:et)},deflateEnd:function(t){if(!t||!t.state)return at;var e=t.state.status;return 42!==e&&69!==e&&73!==e&&91!==e&&e!==pt&&e!==gt&&e!==wt?vt(t,at):(t.state=null,e===gt?vt(t,nt):tt)},deflateSetDictionary:function(t,e){var a=e.length;if(!t||!t.state)return at;var n=t.state,r=n.wrap;if(2===r||1===r&&42!==n.status||n.lookahead)return at;if(1===r&&(t.adler=C(t.adler,e,a,0)),n.wrap=0,a>=n.w_size){0===r&&(mt(n.head),n.strstart=0,n.block_start=0,n.insert=0);var i=new Uint8Array(n.w_size);i.set(e.subarray(a-n.w_size,a),0),e=i,a=n.w_size}var s=t.avail_in,_=t.next_in,h=t.input;for(t.avail_in=a,t.next_in=0,t.input=e,Zt(n);n.lookahead>=3;){var l=n.strstart,o=n.lookahead-2;do{n.ins_h=yt(n,n.ins_h,n.window[l+3-1]),n.prev[l&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=l,l++}while(--o);n.strstart=l,n.lookahead=2,Zt(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,t.next_in=_,t.input=h,t.avail_in=s,n.wrap=r,tt},deflateInfo:"pako deflate (from Nodeca project)"};for(var Dt=new Uint8Array(256),Bt=0;Bt<256;Bt++)Dt[Bt]=Bt>=252?6:Bt>=248?5:Bt>=240?4:Bt>=224?3:Bt>=192?2:1;Dt[254]=Dt[254]=1;var Ct=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0},Ht=Object.prototype.toString,Mt=K.Z_NO_FLUSH,Yt=K.Z_SYNC_FLUSH,Kt=K.Z_FULL_FLUSH,Pt=K.Z_FINISH,jt=K.Z_OK,Gt=K.Z_STREAM_END,Xt=K.Z_DEFAULT_COMPRESSION,Wt=K.Z_DEFAULT_STRATEGY,qt=K.Z_DEFLATED;function Jt(){this.options={level:Xt,method:qt,chunkSize:16384,windowBits:15,memLevel:8,strategy:Wt};var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Ct,this.strm.avail_out=0;var e=Ot.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(e!==jt)throw new Error(Y[e]);if(t.header&&Ot.deflateSetHeader(this.strm,t.header),t.dictionary){var a;if(a="[object ArrayBuffer]"===Ht.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(e=Ot.deflateSetDictionary(this.strm,a))!==jt)throw new Error(Y[e]);this._dict_set=!0}}function Qt(t,e,a){try{t.postMessage({type:"errored",error:e,streamId:a})}catch(n){t.postMessage({type:"errored",error:String(e),streamId:a})}}function Vt(t){var e=t.strm.adler;return new Uint8Array([3,0,e>>>24&255,e>>>16&255,e>>>8&255,255&e])}Jt.prototype.push=function(t,e){var a,n,r=this.strm,i=this.options.chunkSize;if(this.ended)return!1;for(n=e===~~e?e:!0===e?Pt:Mt,"[object ArrayBuffer]"===Ht.call(t)?r.input=new Uint8Array(t):r.input=t,r.next_in=0,r.avail_in=r.input.length;;)if(0===r.avail_out&&(r.output=new Uint8Array(i),r.next_out=0,r.avail_out=i),(n===Yt||n===Kt)&&r.avail_out<=6)this.onData(r.output.subarray(0,r.next_out)),r.avail_out=0;else{if((a=Ot.deflate(r,n))===Gt)return r.next_out>0&&this.onData(r.output.subarray(0,r.next_out)),a=Ot.deflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===jt;if(0!==r.avail_out){if(n>0&&r.next_out>0)this.onData(r.output.subarray(0,r.next_out)),r.avail_out=0;else if(0===r.avail_in)break}else this.onData(r.output)}return!0},Jt.prototype.onData=function(t){this.chunks.push(t)},Jt.prototype.onEnd=function(t){t===jt&&(this.result=function(t){for(var e=0,a=0,n=t.length;a>>6,e[i++]=128|63&a):a<65536?(e[i++]=224|a>>>12,e[i++]=128|a>>>6&63,e[i++]=128|63&a):(e[i++]=240|a>>>18,e[i++]=128|a>>>12&63,e[i++]=128|a>>>6&63,e[i++]=128|63&a);return e}(a.data);return n.push(i,K.Z_SYNC_FLUSH),{type:"wrote",id:a.id,streamId:a.streamId,result:t(n.chunks.slice(r)),trailer:Vt(n),additionalBytesCount:i.length};case"reset":e.delete(a.streamId)}}(a,n.data);r&&e.postMessage(r)}catch(t){Qt(e,t,n.data&&"streamId"in n.data?n.data.streamId:void 0)}}))}catch(t){Qt(e,t)}}()}();'])))}var Zs={status:0};function Xs(t,source,e,n){switch(void 0===n&&(n=Ks),0===Zs.status&&function(t,source,e){void 0===e&&(e=Ks);try{var n=e(t),r=Kt(t,n,"error",(function(e){Js(t,source,e)})).stop,o=Kt(t,n,"message",(function(e){var n,data=e.data;"errored"===data.type?Js(t,source,data.error,data.streamId):"initialized"===data.type&&(n=data.version,1===Zs.status&&(Zs={status:3,worker:Zs.worker,stop:Zs.stop,version:n}))})).stop;n.postMessage({action:"init"}),U((function(){return function(source){1===Zs.status&&(f.error("".concat(source," failed to start: a timeout occurred while initializing the Worker")),Zs.initializationFailureCallbacks.forEach((function(t){return t()})),Zs={status:2})}(source)}),Gs),Zs={status:1,worker:n,stop:function(){r(),o()},initializationFailureCallbacks:[]}}catch(e){Js(t,source,e)}}(t,source,n),Zs.status){case 1:return Zs.initializationFailureCallbacks.push(e),Zs.worker;case 3:return Zs.worker}}function Ws(){return Zs.status}function Js(t,source,e,n){if(1===Zs.status||0===Zs.status){if(f.error("".concat(source," failed to start: an error occurred while creating the Worker:"),e),e instanceof Event||e instanceof Error&&(S(o=e.message,"Content Security Policy")||S(o,"requires 'TrustedScriptURL'"))){var r=void 0;r=t.workerUrl?"Please make sure the Worker URL ".concat(t.workerUrl," is correct and CSP is correctly configured."):"Please make sure CSP is correctly configured.",f.error("".concat(r," See documentation at https://docs.datadoghq.com/integrations/content_security_policy_logs/#use-csp-with-real-user-monitoring-and-session-replay"))}else $n(e);1===Zs.status&&Zs.initializationFailureCallbacks.forEach((function(t){return t()})),Zs={status:2}}else $n(e,{worker_version:3===Zs.status&&Zs.version,stream_id:n});var o}var Ys,Qs,tu,eu,nu=function(t,e,n){var r=(void 0===n?{}:n).ignoreInitIfSyntheticsWillInjectRum,o=void 0===r||r,c=!1,l=lt(2),d=lt(1),h=function(){},v=function(){},m=B,x=function(){},S=new ft,T=function(t,time){void 0===time&&(time=kt()),S.add((function(){return T(t,time)}))},E=function(t,e){void 0===e&&(e=Rt()),S.add((function(){return E(t,e)}))},C=function(t,n){void 0===n&&(n=Nn(l,d,e)),S.add((function(){return C(t,n)}))},k=function(t,n){void 0===n&&(n=Nn(l,d,e)),S.add((function(){return k(t,n)}))},O=function(t,e){S.add((function(){return O(t,e)}))};function R(n,r,o){if(n.storeContextsAcrossPages){var c=l.getContext();(l=Jt(r,"rum",2)).setContext(K(l.getContext(),c));var f=d.getContext();(d=Jt(r,"rum",1)).setContext(K(d.getContext(),f))}var v=t(n,r,e,l,d,o);x=function(){return e.getSessionReplayLink(r,v.session,v.viewContexts)},E=v.startView,C=v.addAction,k=v.addError,T=v.addTiming,O=v.addFeatureFlagEvaluation,h=v.getInternalContext,m=v.stopSession,S.drain(),e.onRumStart(v.lifeCycle,r,v.session,v.viewContexts)}var I,N,L=_((function(t){E("object"==typeof t?t:{name:t})}));return I={init:_((function(t){if(t){if(v=function(){return G(t)},!o||!Vt()){var e=Gt();if(e&&(t=function(t){return A({},t,{applicationId:"00000000-aaaa-0000-aaaa-000000000000",clientToken:"empty",sessionSampleRate:100})}(t)),function(t){return!c||(t.silentMultipleInit||f.error("DD_RUM is already initialized."),!1)}(t)){var n=An(t);if(n)if(e||n.sessionStoreStrategyType){if(n.trackViewsManually){var r=S;S=new ft,E=function(e){R(t,n,e)},r.drain()}else R(t,n);c=!0}else f.warn("No storage available for session. We will not send any data.")}}}else f.error("Missing configuration")})),addRumGlobalContext:_((function(t,e){return l.add(t,e)})),setGlobalContextProperty:_((function(t,e){return l.setContextProperty(t,e)})),removeRumGlobalContext:_((function(t){return l.remove(t)})),removeGlobalContextProperty:_((function(t){return l.removeContextProperty(t)})),getRumGlobalContext:_((function(){return l.get()})),getGlobalContext:_((function(){return l.getContext()})),setRumGlobalContext:_((function(t){return l.set(t)})),setGlobalContext:_((function(t){return l.setContext(t)})),clearGlobalContext:_((function(){return l.clearContext()})),getInternalContext:_((function(t){return h(t)})),getInitConfiguration:_((function(){return v()})),addAction:_((function(t,e){C({name:Q(t),context:Q(e),startClocks:Rt(),type:"custom"})})),addError:function(t,e){var n=ve();w((function(){k({error:t,handlingStack:n,context:Q(e),startClocks:Rt()})}))},addTiming:_((function(t,time){T(Q(t),time)})),setUser:_((function(t){(function(t){var e="object"===V(t);return e||f.error("Unsupported user:",t),e})(t)&&d.setContext(me(t))})),getUser:_((function(){return d.getContext()})),setUserProperty:_((function(t,e){var n,r=me((n={},n[t]=e,n))[t];d.setContextProperty(t,r)})),removeUserProperty:_((function(t){return d.removeContextProperty(t)})),removeUser:_((function(){return d.clearContext()})),clearUser:_((function(){return d.clearContext()})),startView:L,stopSession:_((function(){m()})),startSessionReplayRecording:_(e.start),stopSessionReplayRecording:_(e.stop),addFeatureFlagEvaluation:_((function(t,e){O(Q(t),Q(e))})),getSessionReplayLink:_((function(){return x()}))},N=A({version:"4.50.1",onReady:function(t){t()}},I),Object.defineProperty(N,"_setDebug",{get:function(){return y},enumerable:!1}),N}((function(t,e,n,r,o,c){var l=[],f=new jr;f.subscribe(11,(function(t){return Ln("rum",t)}));var d=function(t){var e=Dn("browser-rum-sdk",t);if(Gt()){var n=Ht();e.observable.subscribe((function(t){return n.send("internal_telemetry",t)}))}return e}(e);d.setContextProvider((function(){var t,n;return{application:{id:e.applicationId},session:{id:null===(t=w.findTrackedSession())||void 0===t?void 0:t.id},view:{id:null===(n=k.findView())||void 0===n?void 0:n.id},action:{id:I.findActionId()}}}));var h=function(t){f.notify(12,{error:t}),zn("Error reported to customer",{"error.message":t.message})},v=function(t,e){if(void 0===e&&(e=j),!ye(ce.FEATURE_FLAGS))return{findFeatureFlagEvaluations:function(){},getFeatureFlagBytesCount:function(){return 0},addFeatureFlagEvaluation:B,stop:B};var n=new Fr(sa),r=0,o=!1;t.subscribe(4,(function(t){var e=t.endClocks;n.closeActive(e.relative)})),t.subscribe(2,(function(t){var e=t.startClocks;n.add({},e.relative),r=0}));var c=$((function(t){r=e(Z(t)),o||(o=ut(r,0))}),ua),l=c.throttled;return{findFeatureFlagEvaluations:function(t){return n.find(t)},getFeatureFlagBytesCount:function(){return n.find()?r:0},addFeatureFlagEvaluation:function(t,e){var r=n.find();r&&(r[t]=e,l(r))},stop:c.cancel}}(f),m=function(t){var e=new it((function(){var n=ye(ce.PAGEHIDE),r=Zt(0,window,["visibilitychange","freeze","pagehide"],(function(t){"pagehide"===t.type&&n?e.notify({reason:Vn.PAGEHIDE}):"visibilitychange"===t.type&&"hidden"===document.visibilityState?e.notify({reason:Vn.HIDDEN}):"freeze"===t.type&&e.notify({reason:Vn.FROZEN})}),{capture:!0}).stop,o=B;return n||(o=Kt(t,window,"beforeunload",(function(){e.notify({reason:Vn.UNLOADING})})).stop),function(){r(),o()}}));return e}(e),y=m.subscribe((function(t){f.notify(9,t)}));l.push((function(){return y.unsubscribe()}));var w=Gt()?function(){var t={id:"00000000-aaaa-0000-aaaa-000000000000",plan:1,sessionReplayAllowed:!1,longTaskAllowed:!0,resourceAllowed:!0};return{findTrackedSession:function(){return t},expire:B,expireObservable:new it}}():$o(e,f);if(Gt())!function(t){var e=Ht();t.subscribe(11,(function(t){e.send("rum",t)}))}(f);else{var x=ia(e,f,d.observable,h,m,w.expireObservable);l.push((function(){return x.stop()})),function(t,e,n,r,o,c,l){e.enabled&&pt(t.customerDataTelemetrySampleRate)&&(ma(),ga(),n.subscribe(11,(function(t){fa=!0,ha(la.globalContextBytes,xe(r.get())?0:r.getBytesCount()),ha(la.userContextBytes,xe(o.get())?0:o.getBytesCount());var e=c.findFeatureFlagEvaluations(),n=S(["view","error"],t.type)&&e&&!xe(e);ha(la.featureFlagBytes,n?c.getFeatureFlagBytesCount():0)})),l.subscribe((function(t){var e=t.bytesCount,n=t.messagesCount;fa&&(ca.batchCount+=1,ha(ca.batchBytesCount,e),ha(ca.batchMessagesCount,n),va(ca.globalContextBytes,la.globalContextBytes),va(ca.userContextBytes,la.userContextBytes),va(ca.featureFlagBytes,la.featureFlagBytes),ga())})),D(pa,da))}(e,d,f,r,o,v,x.flushObservable)}var T=function(){var t=Gn(),e=new it((function(){if(t){var n=new t(_((function(){return e.notify()})));return n.observe(document,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),function(){return n.disconnect()}}}));return e}(),E=aa(e,location),C=function(t,e,n,r,o,c,l,f){var d=function(t){var e=new Fr(Dr);return t.subscribe(2,(function(view){e.add(function(view){return{service:view.service,version:view.version,id:view.id,name:view.name,startClocks:view.startClocks}}(view),view.startClocks.relative)})),t.subscribe(4,(function(t){var n=t.endClocks;e.closeActive(n.relative)})),t.subscribe(8,(function(){e.reset()})),{findView:function(t){return e.find(t)},stop:function(){e.stop()}}}(t),h=function(t,e,n){var r,o=new Fr(oa);t.subscribe(4,(function(t){var e=t.endClocks;o.closeActive(e.relative)})),t.subscribe(2,(function(t){var e=t.startClocks,c=n.href;o.add(l({url:c,referrer:r||document.referrer}),e.relative),r=c}));var c=e.subscribe((function(t){var e=t.newLocation,n=o.find();if(n){var r=Ot();o.closeActive(r),o.add(l({url:e.href,referrer:n.referrer}),r)}}));function l(t){return{url:t.url,referrer:t.referrer}}return{findUrl:function(t){return o.find(t)},stop:function(){c.unsubscribe(),o.stop()}}}(t,o,n),v=wa(),m=function(t,e,n,r){t.subscribe(1,(function(e){return t.notify(10,Vi(e,r))}));var o={findActionId:B};return n.trackUserInteractions&&(o=Bi(t,e,n).actionContexts),{addAction:function(e,n){t.notify(10,A({savedCommonContext:n},Vi(e,r)))},actionContexts:o}}(t,c,e,v),y=m.addAction,_=m.actionContexts,w=function(t){var e=Eo();return{get:function(){return{viewport:e}},stop:To(t).subscribe((function(t){e=t})).unsubscribe}}(e);return Lr(e,t,r,d,h,_,w,l,f),{viewContexts:d,pageStateHistory:v,urlContexts:h,addAction:y,actionContexts:_,stop:function(){w.stop(),v.stop(),h.stop(),d.stop(),v.stop()}}}(f,e,location,w,E,T,(function(){return Nn(r,o,n)}),h),k=C.viewContexts,O=C.pageStateHistory,R=C.urlContexts,I=C.actionContexts,N=C.addAction,L=C.stop;l.push(L),function(t){Fn.telemetryConfigurationEnabled&&Bn({type:jn.configuration,configuration:t})}(function(t){var e,n,r=function(t){var e,n,r=null!==(e=t.proxy)&&void 0!==e?e:t.proxyUrl;return{session_sample_rate:null!==(n=t.sessionSampleRate)&&void 0!==n?n:t.sampleRate,telemetry_sample_rate:t.telemetrySampleRate,telemetry_configuration_sample_rate:t.telemetryConfigurationSampleRate,use_before_send:!!t.beforeSend,use_cross_site_session_cookie:t.useCrossSiteSessionCookie,use_secure_session_cookie:t.useSecureSessionCookie,use_proxy:void 0!==r?!!r:void 0,silent_multiple_init:t.silentMultipleInit,track_session_across_subdomains:t.trackSessionAcrossSubdomains,track_resources:t.trackResources,track_long_task:t.trackLongTasks,allow_fallback_to_local_storage:!!t.allowFallbackToLocalStorage,store_contexts_across_pages:!!t.storeContextsAcrossPages}}(t);return A({premium_sample_rate:t.premiumSampleRate,replay_sample_rate:t.replaySampleRate,session_replay_sample_rate:t.sessionReplaySampleRate,trace_sample_rate:null!==(e=t.traceSampleRate)&&void 0!==e?e:t.tracingSampleRate,action_name_attribute:t.actionNameAttribute,use_allowed_tracing_origins:Array.isArray(t.allowedTracingOrigins)&&t.allowedTracingOrigins.length>0,use_allowed_tracing_urls:Array.isArray(t.allowedTracingUrls)&&t.allowedTracingUrls.length>0,selected_tracing_propagators:In(t),default_privacy_level:t.defaultPrivacyLevel,use_excluded_activity_urls:Array.isArray(t.excludedActivityUrls)&&t.excludedActivityUrls.length>0,use_worker_url:!!t.workerUrl,track_frustrations:t.trackFrustrations,track_views_manually:t.trackViewsManually,track_user_interactions:null!==(n=t.trackUserInteractions)&&void 0!==n?n:t.trackInteractions},r)}(t)),function(t,e){t.subscribe(0,(function(n){for(var r=0,o=n;r0?l.map((function(){return t(!1)})):t(!1))}};t.exports=r},204:function(t,e,n){var content=n(295);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(62).default)("199f1c5e",content,!0,{sourceMap:!1})},205:function(t,e,n){var content=n(297);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(62).default)("2d9b3f00",content,!0,{sourceMap:!1})},217:function(t,e,n){"use strict";function r(t,e){return e=e||{},new Promise((function(n,r){var s=new XMLHttpRequest,o=[],u={},a=function t(){return{ok:2==(s.status/100|0),statusText:s.statusText,status:s.status,url:s.responseURL,text:function(){return Promise.resolve(s.responseText)},json:function(){return Promise.resolve(s.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([s.response]))},clone:t,headers:{keys:function(){return o},entries:function(){return o.map((function(t){return[t,s.getResponseHeader(t)]}))},get:function(t){return s.getResponseHeader(t)},has:function(t){return null!=s.getResponseHeader(t)}}}};for(var i in s.open(e.method||"get",t,!0),s.onload=function(){s.getAllResponseHeaders().toLowerCase().replace(/^(.+?):/gm,(function(t,e){u[e]||o.push(u[e]=e)})),n(a())},s.onerror=r,s.withCredentials="include"==e.credentials,e.headers)s.setRequestHeader(i,e.headers[i]);s.send(e.body||null)}))}n.d(e,"a",(function(){return r}))},219:function(t,e,n){"use strict";var r=function(t){return function(t){return!!t&&"object"==typeof t}(t)&&!function(t){var e=Object.prototype.toString.call(t);return"[object RegExp]"===e||"[object Date]"===e||function(t){return t.$$typeof===o}(t)}(t)};var o="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function c(t,e){return!1!==e.clone&&e.isMergeableObject(t)?v((n=t,Array.isArray(n)?[]:{}),t,e):t;var n}function l(t,source,e){return t.concat(source).map((function(element){return c(element,e)}))}function f(t){return Object.keys(t).concat(function(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter((function(symbol){return Object.propertyIsEnumerable.call(t,symbol)})):[]}(t))}function d(object,t){try{return t in object}catch(t){return!1}}function h(t,source,e){var n={};return e.isMergeableObject(t)&&f(t).forEach((function(r){n[r]=c(t[r],e)})),f(source).forEach((function(r){(function(t,e){return d(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))})(t,r)||(d(t,r)&&e.isMergeableObject(source[r])?n[r]=function(t,e){if(!e.customMerge)return v;var n=e.customMerge(t);return"function"==typeof n?n:v}(r,e)(t[r],source[r],e):n[r]=c(source[r],e))})),n}function v(t,source,e){(e=e||{}).arrayMerge=e.arrayMerge||l,e.isMergeableObject=e.isMergeableObject||r,e.cloneUnlessOtherwiseSpecified=c;var n=Array.isArray(source);return n===Array.isArray(t)?n?e.arrayMerge(t,source,e):h(t,source,e):c(source,e)}v.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce((function(t,n){return v(t,n,e)}),{})};var m=v;t.exports=m},220:function(t,e){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=0)}([function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=function(t){return t&&t.__esModule?t:{default:t}}(n(1)),a={install:function(t,e){function n(t){return void 0===t}function a(t){u=n(t.symbol)?"":t.symbol,i=n(t.thousandsSeparator)?".":t.thousandsSeparator,s=n(t.fractionCount)?0:t.fractionCount,c=n(t.fractionSeparator)?",":t.fractionSeparator,l=n(t.symbolPosition)?"front":t.symbolPosition,f=!!n(t.symbolSpacing)||t.symbolSpacing}n(e)&&(e={});var u="",i=".",s=0,c=",",l="front",f=!0;a(e),t.filter("currency",(function(t,p,d,h,v,b,m){a(e),"object"===(void 0===p?"undefined":r(p))&&(d=p.thousandsSeparator,h=p.fractionCount,v=p.fractionSeparator,b=p.symbolPosition,m=p.symbolSpacing,p=p.symbol),n(p)||(u=p),n(d)||(i=d),n(h)||(s=h),n(v)||(c=v),n(b)||(l=b),n(m)||(f=m);var g=0,y="-"===String(t).charAt(0);y&&(t=String(t).slice(1));var _=parseFloat(t);isNaN(_)||(g=_);var w;return w="front"===l?f?"%s %v":"%s%v":f?"%v %s":"%v%s",s>0&&(t=o.default.toFixed(t,s)),g=o.default.formatMoney(t,{format:w,symbol:u,precision:s,thousand:i,decimal:c}),y&&(g="-"+g),g}))}};e.default=a},function(t,e,n){!function(n,r){var o={version:"0.4.1",settings:{currency:{symbol:"$",format:"%s%v",decimal:".",thousand:",",precision:2,grouping:3},number:{precision:0,grouping:3,thousand:",",decimal:"."}}},a=Array.prototype.map,u=Array.isArray,i=Object.prototype.toString;function s(t){return!!(""===t||t&&t.charCodeAt&&t.substr)}function c(t){return u?u(t):"[object Array]"===i.call(t)}function l(t){return t&&"[object Object]"===i.call(t)}function f(t,e){var n;for(n in t=t||{},e=e||{})e.hasOwnProperty(n)&&null==t[n]&&(t[n]=e[n]);return t}function p(t,e,n){var r,o,u=[];if(!t)return u;if(a&&t.map===a)return t.map(e,n);for(r=0,o=t.length;r3?s.length%3:0;return i+(h?s.substr(0,h)+a.thousand:"")+s.substr(h).replace(/(\d{3})(?=\d)/g,"$1"+a.thousand)+(u?a.decimal+b(Math.abs(t),u).split(".")[1]:"")},g=o.formatMoney=function(t,e,n,r,a,u){if(c(t))return p(t,(function(t){return g(t,e,n,r,a,u)}));t=v(t);var i=f(l(e)?e:{symbol:e,precision:n,thousand:r,decimal:a,format:u},o.settings.currency),s=h(i.format);return(t>0?s.pos:t<0?s.neg:s.zero).replace("%s",i.symbol).replace("%v",m(Math.abs(t),d(i.precision),i.thousand,i.decimal))};o.formatColumn=function(t,e,n,r,a,u){if(!t)return[];var i=f(l(e)?e:{symbol:e,precision:n,thousand:r,decimal:a,format:u},o.settings.currency),b=h(i.format),g=b.pos.indexOf("%s")0?b.pos:t<0?b.neg:b.zero).replace("%s",i.symbol).replace("%v",m(Math.abs(t),d(i.precision),i.thousand,i.decimal));return n.length>y&&(y=n.length),n})),(function(t,e){return s(t)&&t.length-1&&(line=line.replace(/eval code/g,"eval").replace(/(\(eval at [^\()]*)|(\)\,.*$)/g,""));var e=line.replace(/^\s+/,"").replace(/\(eval code/g,"(").split(/\s+/).slice(1),n=this.extractLocation(e.pop()),r=e.join(" ")||void 0,o=l(["eval",""],n[0])>-1?void 0:n[0];return new t(r,void 0,o,n[1],n[2],line)}),this)},parseFFOrSafari:function(e){return o(c(e.stack.split("\n"),(function(line){return!line.match(r)}),this),(function(line){if(line.indexOf(" > eval")>-1&&(line=line.replace(/ line (\d+)(?: > eval line \d+)* > eval\:\d+\:\d+/g,":$1")),-1===line.indexOf("@")&&-1===line.indexOf(":"))return new t(line);var e=line.split("@"),n=this.extractLocation(e.pop()),r=e.join("@")||void 0;return new t(r,void 0,n[0],n[1],n[2],line)}),this)},parseOpera:function(t){return!t.stacktrace||t.message.indexOf("\n")>-1&&t.message.split("\n").length>t.stacktrace.split("\n").length?this.parseOpera9(t):t.stack?this.parseOpera11(t):this.parseOpera10(t)},parseOpera9:function(e){for(var n=/Line (\d+).*script (?:in )?(\S+)/i,r=e.message.split("\n"),o=[],i=2,c=r.length;i/,"$2").replace(/\([^\)]*\)/g,"")||void 0;o.match(/\(([^\)]*)\)/)&&(e=o.replace(/^[^\(]+\(([^\)]*)\)$/,"$1"));var l=void 0===e||"[arguments not available]"===e?void 0:e.split(",");return new t(c,l,r[0],r[1],r[2],line)}),this)}}})?r.apply(e,o):r)||(t.exports=c)}()},226:function(t,e,n){"use strict";var r=n(11),o=(n(74),n(31),n(17),n(58),n(2)),c=n(1),l=window.__NUXT__;function f(){if(!this._hydrated)return this.$fetch()}function d(){if((t=this).$vnode&&t.$vnode.elm&&t.$vnode.elm.dataset&&t.$vnode.elm.dataset.fetchKey){var t;this._hydrated=!0,this._fetchKey=this.$vnode.elm.dataset.fetchKey;var data=l.fetch[this._fetchKey];if(data&&data._error)this.$fetchState.error=data._error;else for(var e in data)o.a.set(this.$data,e,data[e])}else h.call(this)}function h(){var t=!1!==this.$options.fetchOnServer;if("function"==typeof this.$options.fetchOnServer&&(t=!1!==this.$options.fetchOnServer.call(this)),t&&!this.$nuxt.isPreview&&this.$nuxt._pagePayload){this._hydrated=!0;var e=this.$options._scopeId||this.$options.name||"",n=Object(c.d)(this.$nuxt._fetchCounters,e);if("function"==typeof this.$options.fetchKey)this._fetchKey=this.$options.fetchKey.call(this,n);else{var r="string"==typeof this.$options.fetchKey?this.$options.fetchKey:e;this._fetchKey=r?r+":"+n(r):String(n(r))}var data=this.$nuxt._pagePayload.fetch[this._fetchKey];if(data&&data._error)this.$fetchState.error=data._error;else if(data)for(var l in data)o.a.set(this.$data,l,data[l]);else this.$fetch()}}function v(){var t=this;return this._fetchPromise||(this._fetchPromise=m.call(this).then((function(){delete t._fetchPromise}))),this._fetchPromise}function m(){return y.apply(this,arguments)}function y(){return(y=Object(r.a)(regeneratorRuntime.mark((function t(){var e,n,r,o=this;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.$nuxt.nbFetching++,this.$fetchState.pending=!0,this.$fetchState.error=null,this._hydrated=!1,e=null,n=Date.now(),t.prev=6,t.next=9,this.$options.fetch.call(this);case 9:t.next=15;break;case 11:t.prev=11,t.t0=t.catch(6),e=Object(c.p)(t.t0);case 15:if(!((r=this._fetchDelay-(Date.now()-n))>0)){t.next=19;break}return t.next=19,new Promise((function(t){return setTimeout(t,r)}));case 19:this.$fetchState.error=e,this.$fetchState.pending=!1,this.$fetchState.timestamp=Date.now(),this.$nextTick((function(){return o.$nuxt.nbFetching--}));case 23:case"end":return t.stop()}}),t,this,[[6,11]])})))).apply(this,arguments)}e.a={beforeCreate:function(){Object(c.m)(this)&&(this._fetchDelay="number"==typeof this.$options.fetchDelay?this.$options.fetchDelay:200,o.a.util.defineReactive(this,"$fetchState",{pending:!1,error:null,timestamp:Date.now()}),this.$fetch=v.bind(this),Object(c.a)(this,"created",d),Object(c.a)(this,"beforeMount",f))}}},227:function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));n(17),n(31),n(58);var r={},o={},c={};function l(t,e){if(r[t])return Promise.resolve(r[t]);if(c[t])return Promise.reject(c[t]);if(o[t])return o[t];var n,l,f=o[t]=new Promise((function(t,e){n=t,l=e}));delete r[t];var d,script=document.createElement("script");script.charset="utf-8",script.timeout=120,script.src=e;var h=new Error,v=script.onerror=script.onload=function(e){if(clearTimeout(d),delete o[t],script.onerror=script.onload=null,r[t])return n(r[t]);var f=e&&("load"===e.type?"missing":e.type),v=e&&e.target&&e.target.src;h.message="Loading chunk "+t+" failed.\n("+f+": "+v+")",h.name="ChunkLoadError",h.type=f,h.request=v,c[t]=h,l(h)};return d=setTimeout((function(){v({type:"timeout",target:script})}),12e4),document.head.appendChild(script),f}function f(){window.__NUXT_JSONP__=function(t,e){r[t]=e},window.__NUXT_JSONP_CACHE__=r,window.__NUXT_IMPORT__=l}},228:function(t,e,n){"use strict";n.d(e,"a",(function(){return mn}));var r=n(221),o={};f?o=window:"undefined"!=typeof self&&(o=self);var c="Promise"in o?o.Promise:r.a,l=[].slice,f="undefined"!=typeof window,d=f&&"undefined"!=typeof performance?performance:{};for(var h=[],v=0;v<256;++v)h[v]=(v+256).toString(16).substr(1);var m=new Uint8Array(16);function y(t){return function(t){for(var e=[],n=0;n0)return n}}()}}function O(t){return C(t,l.call(arguments,1),!1)}function R(t){return C(t,l.call(arguments,1),!0)}function A(t){return void 0===t}function I(){}function N(t){return t.replace(/[.*"]/g,"_")}function L(t,e){for(var n=null,r=0;r=0?time:P()}function M(t,e){return A(e)||A(t)?null:parseInt(e-t)}function U(t){c.resolve().then(t)}function F(){return"function"==typeof d.getEntriesByType}function D(t){return"undefined"!=typeof PerformanceObserver&&PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.indexOf(t)>=0}function z(t){return t.redirectStart>0}var $={fetchInProgress:!1};function B(t){return"__apm_symbol__"+t}function V(t,e,n){for(var r=t;r&&!r.hasOwnProperty(e);)r=Object.getPrototypeOf(r);!r&&t[e]&&(r=t);var o,c,l,f,d=B(e);if(r&&!(o=r[d])){o=r[d]=r[e];var desc=r&&Object.getOwnPropertyDescriptor(r,e);if(!(f=desc)||!1!==f.writable&&("function"!=typeof f.get||void 0!==f.set)){var h=n(o,d,e);r[e]=function(){return h(this,arguments)},c=r[e],l=o,c[B("OriginalDelegate")]=l}}return o}var H=B("xhrIgnore"),G=B("xhrSync"),K=B("xhrURL"),Z=B("xhrMethod"),X="schedule",W="invoke",J="addEventListener",Y=["link","css","script","img","xmlhttprequest","fetch","beacon","iframe"],Q=3e5,tt="page-load",et="custom",nt="user-interaction",it="http-request",ot="temporary",at="Unknown",st=[tt,"route-change",nt,it,et,ot],ut=60,ct="transaction:end",lt="config:change",ft="queue:flush",pt="queue:add_transaction",ht="xmlhttprequest",vt="fetch",mt="history",gt="eventtarget",yt="click",bt="error",_t=":after",wt="elastic_apm_config",xt="longtask",St="largest-contentful-paint",Tt="first-input",Et="layout-shift",Ct="errors",kt="transactions",Ot="ConfigService",Rt="LoggingService",At="TransactionService",It="ApmServer",Nt="PerformanceMonitoring",Lt="ErrorLogging",Pt=".truncated",jt=1024;function Mt(t){var e=XMLHttpRequest.prototype;if(e&&e[J])var n="readystatechange",r="load",o="error",c=V(e,"open",(function(){return function(t,e){return t[H]||(t[Z]=e[0],t[K]=e[1],t[G]=!1===e[2]),c.apply(t,e)}})),l=V(e,"send",(function(){return function(e,c){if(e[H])return l.apply(e,c);var d={source:ht,state:"",type:"macroTask",data:{target:e,method:e[Z],sync:e[G],url:e[K],status:""}};try{return function(e){if(e.state!==X){e.state=X,t(X,e);var c=e.data.target;l(n),l(r),l("timeout"),l(o),l("abort")}function l(t){c[J](t,(function(t){var o=t.type;o===n?4===c.readyState&&0!==c.status&&f(e,"success"):f(e,o===r?"success":o)}))}}(d),l.apply(e,c)}catch(t){throw f(d,o),t}}}));function f(e,n){e.state!==W&&(e.state=W,e.data.status=n,t(W,e))}}function Ut(t){return!(0===t||t>399&&t<600)}function Ft(){return Ft=Object.assign||function(t){for(var i=1;i-1&&n.observers[t].splice(r,1)}},e.sendOnly=function(t,e){var n=this.observers[t];n&&n.forEach((function(t){try{t.apply(void 0,e)}catch(t){console.log(t,t.stack)}}))},e.send=function(t,e){this.sendOnly(t+":before",e),this.sendOnly(t,e),this.sendOnly(t+_t,e)},t}(),qt=new Bt,Vt=!1;function Ht(){return Vt||(Vt=!0,Mt((function(t,e){qt.send(ht,[t,e])})),$t((function(t,e){qt.send(vt,[t,e])})),function(t){if(window.history){var e=history.pushState;"function"==typeof e&&(history.pushState=function(n,title,r){t(W,{source:mt,data:{state:n,title:title,url:r}}),e.apply(this,arguments)})}}((function(t,e){qt.send(mt,[t,e])}))),qt}var Gt=!1,Kt={bootstrapTime:null,lastHiddenStart:Number.MIN_SAFE_INTEGER},Zt=!1;function Xt(t,e){var n=e.error,r=e.filename,o=e.lineno,c=e.colno,l=[];if(n)try{l=t.parse(n)}catch(t){}return function(t){return 0!==t.length&&(1!==t.length||"lineNumber"in t[0])}(l)||(l=[{fileName:r,lineNumber:o,columnNumber:c}]),l.map((function(t){return t.functionName&&(t.functionName=(e=t.functionName,n=e.split("/"),e=n.length>1?["Object",n[n.length-1]].join("."):n[0],e=(n=(e=(e=e.replace(/.<$/gi,".")).replace(/^Anonymous function$/,"")).split(".")).length>1?n[n.length-1]:n[0])),t;var e,n})).map((function(t){var e=t.fileName,n=t.lineNumber,r=t.columnNumber,o=t.functionName,c=void 0===o?"":o;if(!e&&!n)return{};if(!r&&!n)return{};var l,f,d=function(t){return void 0===t&&(t=""),""===t&&(t=""),t}(e),h=(l=d,f=window.location.origin||window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:""),l.indexOf(f)>-1&&(l=l.replace(f+"/","")),l);return function(t){return!!t&&0===window.location.href.indexOf(t)}(d)&&(h="(inline script)"),{abs_path:e,filename:h,function:c,lineno:n,colno:r}}))}var Wt=[["#","hash"],["?","query"],["/","path"],["@","auth",1],[NaN,"host",void 0,1]],Jt=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\S\s]*)/i,Yt=function(){function t(t){var e,n=this.extractProtocol(t||""),r=n.protocol,address=n.address,o=n.slashes,c=!r&&!o,l=this.getLocation(),f=Wt.slice();address=address.replace("\\","/"),o||(f[2]=[NaN,"path"]);for(var i=0;i=0||(n[e]=source[e]);return n}(n,Qt)),o=ie(),c={};if(t.type===tt&&F()){var l=d.getEntriesByType("navigation");l&&l.length>0&&(c={response:ne(l[0])})}t.addContext(o,c,r)}var se={service:{name:[jt,!0],version:!0,agent:{version:[jt,!0]},environment:!0},labels:{"*":!0}},ue={"*":!0,headers:{"*":!0}},ce={user:{id:!0,email:!0,username:!0},tags:{"*":!0},http:{response:ue},destination:{address:[jt],service:{"*":[jt,!0]}},response:ue},le={name:[jt,!0],type:[jt,!0],id:[jt,!0],trace_id:[jt,!0],parent_id:[jt,!0],transaction_id:[jt,!0],subtype:!0,action:!0,context:ce},fe={name:!0,parent_id:!0,type:[jt,!0],id:[jt,!0],trace_id:[jt,!0],span_count:{started:[jt,!0]},context:ce},de={id:[jt,!0],trace_id:!0,transaction_id:!0,parent_id:!0,culprit:!0,exception:{type:!0},transaction:{type:!0},context:ce};function pe(t){return null==t||""===t||void 0===t}function he(t,e,n){var r=function(t,e,n,r){return void 0===e&&(e=jt),void 0===n&&(n=!1),void 0===r&&(r="N/A"),n&&pe(t)&&(t=r),"string"==typeof t?t.substring(0,e):t}(t[e],n[0],n[1]);pe(r)?delete t[e]:t[e]=r}function ve(t,e,n){void 0===t&&(t={}),void 0===n&&(n=e);for(var r=Object.keys(t),o=[],c=function(i){var c=r[i],l=!0===t[c]?o:t[c];Array.isArray(l)?"*"===c?Object.keys(n).forEach((function(t){return he(n,t,l)})):he(n,c,l):ve(l,e,n[c])},i=0;i=0)){var o=t[r];if(null!=o&&"function"!=typeof o){if("object"==typeof o){if("function"!=typeof o.toISOString)return;o=o.toISOString()}n[r]=o,e=!0}}})),e)return n}(c);h&&(d.custom=h)}f||l&&l.indexOf(":")>-1&&(f=l.split(":")[0]);var v=this._transactionService.getCurrentTransaction(),m=v?v.context:{},_=this._configService.get("context"),w=(_.tags,function(source,t){if(null==source)return{};var e,i,n={},r=Object.keys(source);for(i=0;i=0||(n[e]=source[e]);return n}(_,ye)),x=R({},ie(),m,w,d),S={id:y(),culprit:n,exception:{message:l,stacktrace:e,type:f},context:x};return v&&(S=O(S,{trace_id:v.traceId,parent_id:v.id,transaction_id:v.id,transaction:{type:v.type,sampled:v.sampled}})),ve(de,S)},e.logErrorEvent=function(t){if(void 0!==t){var e=this.createErrorDataModel(t);void 0!==e.exception.message&&this._apmServer.addError(e)}},e.registerListeners=function(){var t=this;window.addEventListener("error",(function(e){return t.logErrorEvent(e)})),window.addEventListener("unhandledrejection",(function(e){return t.logPromiseEvent(e)}))},e.logPromiseEvent=function(t){var e,n=t.reason;if(null==n&&(n=""),"string"==typeof n.message){var r=n.name?n.name+": ":"";e={error:n,message:_e+r+n.message}}else e=this._parseRejectReason(n);this.logErrorEvent(e)},e.logError=function(t){var e={};return"string"==typeof t?e.message=t:e.error=t,this.logErrorEvent(e)},e._parseRejectReason=function(t){var e={message:_e};if(Array.isArray(t))e.message+="";else if("object"==typeof t)try{e.message+=JSON.stringify(t),e.error=t}catch(t){e.message+=""}else e.message+="function"==typeof t?"":t;return e},t}(),xe=function(){function t(t,e){void 0===e&&(e={}),this.onFlush=t,this.items=[],this.queueLimit=e.queueLimit||-1,this.flushInterval=e.flushInterval||0,this.timeoutId=void 0}var e=t.prototype;return e._setTimer=function(){var t=this;this.timeoutId=setTimeout((function(){return t.flush()}),this.flushInterval)},e._clear=function(){void 0!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=void 0),this.items=[]},e.flush=function(){this.onFlush(this.items),this._clear()},e.add=function(t){this.items.push(t),-1!==this.queueLimit&&this.items.length>=this.queueLimit?this.flush():void 0===this.timeoutId&&this._setTimer()},t}();var Se=function(){function t(){}return t.stringify=function(object){return JSON.stringify(object)+"\n"},t}(),Te=["fetchStart","domainLookupStart","domainLookupEnd","connectStart","connectEnd","requestStart","responseStart","responseEnd","domLoading","domInteractive","domContentLoadedEventStart","domContentLoadedEventEnd","domComplete","loadEventStart","loadEventEnd"],Ee=["fs","ls","le","cs","ce","qs","rs","re","dl","di","ds","de","dc","es","ee"];function Ce(t){var e=function(t){var e=t.redirectStart,n=t.fetchStart,r=t.navigationStart,o=t.responseStart,c=t.responseEnd;if(n>=r&&o>=n&&c>=o){var l={};return Te.forEach((function(r){var o=t[r];o&&o>=n&&(z(t)?l[r]=parseInt(o-e):l[r]=parseInt(o-n))})),l}return null}(t);return null==e?null:{navigationTiming:e,agent:{timeToFirstByte:e.responseStart,domInteractive:e.domInteractive,domComplete:e.domComplete}}}function ke(t){return{ts:t.transfer_size,ebs:t.encoded_body_size,dbs:t.decoded_body_size}}function Oe(t){if(!t)return null;var e={},n=t.page,r=t.http,o=t.response,c=t.destination,l=t.user,f=t.custom;if(n&&(e.p={rf:n.referer,url:n.url}),r&&(e.h=function(t){var e={},n=t.method,r=t.status_code,o=t.url,c=t.response;return e.url=o,n&&(e.mt=n),r&&(e.sc=r),c&&(e.r=ke(c)),e}(r)),o&&(e.r=ke(o)),c){var d=c.service;e.dt={se:{n:d.name,t:d.type,rc:d.resource},ad:c.address,po:c.port}}return l&&(e.u={id:l.id,un:l.username,em:l.email}),f&&(e.cu=f),e}function Re(t){if(!t)return null;var e=function(t){if(!t)return null;var e={};return Ee.forEach((function(mark,n){var r=Te[n];e[mark]=t[r]})),e}(t.navigationTiming);return{nt:e,a:Ae(e,t.agent)}}function Ae(t,e){var n={};if(t&&(n={fb:t.rs,di:t.di,dc:t.dc}),e){var r=e.firstContentfulPaint,o=e.largestContentfulPaint;r&&(n.fp=r),o&&(n.lp=o)}return 0===Object.keys(n).length?null:n}function Ie(t,e){void 0===e&&(e="gzip");var n="function"==typeof CompressionStream;return new c((function(r){if(!n)return r(t);if(function(){var t="_elastic_inspect_beacon_";if(null!=sessionStorage.getItem(t))return!0;if(!window.URL||!window.URLSearchParams)return!1;try{var e=new URL(window.location.href).searchParams.has(t);return e&&sessionStorage.setItem(t,!0),e}catch(t){}return!1}())return r(t);var o=t.payload,c=t.headers,l=t.beforeSend,f=new Blob([o]).stream().pipeThrough(new CompressionStream(e));return new Response(f).blob().then((function(t){return c["Content-Encoding"]=e,r({payload:t,headers:c,beforeSend:l})}))}))}function Ne(t,e,n){var r=n.timeout,o=void 0===r?HTTP_REQUEST_TIMEOUT:r,l=n.payload,f=n.headers,d=n.beforeSend,h=n.sendCredentials;return new c((function(n,r){var c=new window.XMLHttpRequest;if(c[H]=!0,c.open(t,e,!0),c.timeout=o,c.withCredentials=h,f)for(var header in f)f.hasOwnProperty(header)&&c.setRequestHeader(header,f[header]);c.onreadystatechange=function(){if(4===c.readyState){var t=c.status,o=c.responseText;Ut(t)?n(c):r({url:e,status:t,responseText:o})}},c.onerror=function(){var t=c.status,n=c.responseText;r({url:e,status:t,responseText:n})};var v=!0;"function"==typeof d&&(v=d({url:e,method:t,headers:f,payload:l,xhr:c})),v?c.send(l):r({url:e,status:0,responseText:"Request rejected by user configuration."})}))}var Le=function(){function t(t,e){this._configService=t,this._loggingService=e,this.queue=void 0,this.throttleEvents=I}var e=t.prototype;return e.init=function(){var t=this,e=this._configService.get("queueLimit"),n=this._configService.get("flushInterval"),r=this._configService.get("eventsLimit");this.queue=new xe((function(e){var n=t.sendEvents(e);n&&n.catch((function(e){t._loggingService.warn("Failed sending events!",t._constructError(e))}))}),{queueLimit:e,flushInterval:n}),this.throttleEvents=function(t,e,n){var r,o=this,c=n.limit,l=n.interval,f=0;return function(){return f++,void 0===r&&(r=setTimeout((function(){f=0,r=void 0}),l)),f>c&&"function"==typeof e?e.apply(o,arguments):t.apply(o,arguments)}}(this.queue.add.bind(this.queue),(function(){return t._loggingService.warn("Dropped events due to throttling!")}),{limit:r,interval:6e4}),this._configService.observeEvent(ft,(function(){t.queue.flush()}))},e._postJson=function(t,e){var n=this,r={payload:e,headers:{"Content-Type":"application/x-ndjson"},beforeSend:this._configService.get("apmRequest")};return Ie(r).catch((function(t){return r})).then((function(e){return n._makeHttpRequest("POST",t,e)})).then((function(t){return t.responseText}))},e._constructError=function(t){var e=t.url,n=t.status;t.responseText;if(void 0===n)return t;var r=e+" HTTP status: "+n;return new Error(r)},e._makeHttpRequest=function(t,e,n){var r=void 0===n?{}:n,o=r.timeout,c=void 0===o?1e4:o,l=r.payload,f=r.headers,d=r.beforeSend,h=this._configService.get("sendCredentials");return!d&&Dt(t,l)?function(t,e,n){var r,o=n.keepalive,c=void 0!==o&&o,l=n.timeout,f=void 0===l?1e4:l,d=n.payload,h=n.headers,v=n.sendCredentials,m={};if("function"==typeof AbortController){var y=new AbortController;m.signal=y.signal,setTimeout((function(){return y.abort()}),f)}return window.fetch(e,Ft({body:d,headers:h,method:t,keepalive:c,credentials:v?"include":"omit"},m)).then((function(t){return(r=t).text()})).then((function(t){var n={url:e,status:r.status,responseText:t};if(!Ut(r.status))throw n;return n}))}(t,e,{keepalive:!0,timeout:c,payload:l,headers:f,sendCredentials:h}).catch((function(n){if(n instanceof TypeError)return Ne(t,e,{timeout:c,payload:l,headers:f,beforeSend:d,sendCredentials:h});throw n})):Ne(t,e,{timeout:c,payload:l,headers:f,beforeSend:d,sendCredentials:h})},e.fetchConfig=function(t,e){var n=this,r=this.getEndpoints().configEndpoint;if(!t)return c.reject("serviceName is required for fetching central config.");r+="?service.name="+t,e&&(r+="&service.environment="+e);var o=this._configService.getLocalConfig();o&&(r+="&ifnonematch="+o.etag);var l=this._configService.get("apmRequest");return this._makeHttpRequest("GET",r,{timeout:5e3,beforeSend:l}).then((function(t){var e=t.status,r=t.responseText;if(304===e)return o;var c=JSON.parse(r),l=t.getResponseHeader("etag");return l&&(c.etag=l.replace(/["]/g,""),n._configService.setLocalConfig(c,!0)),c})).catch((function(t){var e=n._constructError(t);return c.reject(e)}))},e.createMetaData=function(){var t=this._configService,e={service:{name:t.get("serviceName"),version:t.get("serviceVersion"),agent:{name:"rum-js",version:t.version},language:{name:"javascript"},environment:t.get("environment")},labels:t.get("context.tags")};return ve(se,e)},e.addError=function(t){var e;this.throttleEvents(((e={})[Ct]=t,e))},e.addTransaction=function(t){var e;this.throttleEvents(((e={})[kt]=t,e))},e.ndjsonErrors=function(t,e){var n=e?"e":"error";return t.map((function(t){var r;return Se.stringify(((r={})[n]=e?function(t){var e,n=t.exception,r={id:t.id,cl:t.culprit,ex:{mg:n.message,st:(e=n.stacktrace,e.map((function(t){return{ap:t.abs_path,f:t.filename,fn:t.function,li:t.lineno,co:t.colno}}))),t:t.type},c:Oe(t.context)},o=t.transaction;return o&&(r.tid=t.trace_id,r.pid=t.parent_id,r.xid=t.transaction_id,r.x={t:o.type,sm:o.sampled}),r}(t):t,r))}))},e.ndjsonMetricsets=function(t){return t.map((function(t){return Se.stringify({metricset:t})})).join("")},e.ndjsonTransactions=function(t,e){var n=this,r=e?"x":"transaction";return t.map((function(tr){var t,o="",c="";return e||(tr.spans&&(o=tr.spans.map((function(span){return Se.stringify({span:span})})).join(""),delete tr.spans),tr.breakdown&&(c=n.ndjsonMetricsets(tr.breakdown),delete tr.breakdown)),Se.stringify(((t={})[r]=e?function(t){var e,n=t.spans.map((function(span){var e={id:span.id,n:span.name,t:span.type,s:span.start,d:span.duration,c:Oe(span.context),o:span.outcome,sr:span.sample_rate};return span.parent_id!==t.id&&(e.pid=span.parent_id),!0===span.sync&&(e.sy=!0),span.subtype&&(e.su=span.subtype),span.action&&(e.ac=span.action),e})),tr={id:t.id,tid:t.trace_id,n:t.name,t:t.type,d:t.duration,c:Oe(t.context),k:Re(t.marks),me:(e=t.breakdown,e.map((function(t){var span=t.span,e=t.samples;return{y:{t:span.type},sa:{ysc:{v:e["span.self_time.count"].value},yss:{v:e["span.self_time.sum.us"].value}}}}))),y:n,yc:{sd:n.length},sm:t.sampled,sr:t.sample_rate,o:t.outcome};if(t.experience){var r=t.experience,o=r.cls,c=r.fid,l=r.tbt,f=r.longtask;tr.exp={cls:o,fid:c,tbt:l,lt:f}}if(t.session){var d=t.session,h=d.id,v=d.sequence;tr.ses={id:h,seq:v}}return tr}(tr):tr,t))+o+c}))},e.sendEvents=function(t){var e,n;if(0!==t.length){for(var r=[],o=[],i=0;i2,v=[],m=this.createMetaData(),y=h?"m":"metadata";v.push(Se.stringify(((n={})[y]=h?function(t){var e=t.service,n=t.labels,r=e.agent,o=e.language;return{se:{n:e.name,ve:e.version,a:{n:r.name,ve:r.version},la:{n:o.name},en:e.environment},l:n}}(m):m,n)));var _=(v=v.concat(this.ndjsonErrors(d[Ct],h),this.ndjsonTransactions(d[kt],h))).join(""),w=this.getEndpoints().intakeEndpoint;return this._postJson(w,_)}this._loggingService.warn("Dropped payload due to filtering!")}}},e.getEndpoints=function(){var t=this._configService.get("serverUrl"),e=this._configService.get("apiVersion");return{intakeEndpoint:t+(this._configService.get("serverUrlPrefix")||"/intake/v"+e+"/rum/events"),configEndpoint:t+"/config/v1/rum/agents"}},t}(),Pe=Le;function je(){return je=Object.assign||function(t){for(var i=1;i0?t.charAt(0).toUpperCase()+t.substring(1):t})).join("")]=o.value||o.nodeValue)}return e}(k());this.setConfig(t)},e.setVersion=function(t){this.version=t},e.addFilter=function(t){if("function"!=typeof t)throw new Error("Argument to must be function");this.filters.push(t)},e.applyFilters=function(data){for(var i=0;i0&&(n=1e-4),t.transactionSampleRate=Math.round(1e4*n)/1e4),R(this.config,t),this.events.send(lt,[this.config])},e.validate=function(t){void 0===t&&(t={});var e=["serviceName","serverUrl"],n=Object.keys(this.config),r={missing:[],invalid:[],unknown:[]};Object.keys(t).forEach((function(o){-1===e.indexOf(o)||t[o]||r.missing.push(o),-1===n.indexOf(o)&&r.unknown.push(o)})),t.serviceName&&!/^[a-zA-Z0-9 _-]+$/.test(t.serviceName)&&r.invalid.push({key:"serviceName",value:t.serviceName,allowed:"a-z, A-Z, 0-9, _, -, "});var o=t.transactionSampleRate;return void 0!==o&&("number"!=typeof o||isNaN(o)||o<0||o>1)&&r.invalid.push({key:"transactionSampleRate",value:o,allowed:"Number between 0 and 1"}),r},e.getLocalConfig=function(){var t=sessionStorage;this.config.session&&(t=localStorage);var e=t.getItem(wt);if(e)return JSON.parse(e)},e.setLocalConfig=function(t,e){if(t){if(e)t=je({},this.getLocalConfig(),t);var n=sessionStorage;this.config.session&&(n=localStorage),n.setItem(wt,JSON.stringify(t))}},e.dispatchEvent=function(t,e){this.events.send(t,e)},e.observeEvent=function(t,e){return this.events.observe(t,e)},t}(),Fe=function(){function t(t){void 0===t&&(t={}),this.levels=["trace","debug","info","warn","error"],this.level=t.level||"warn",this.prefix=t.prefix||"",this.resetLogMethods()}var e=t.prototype;return e.shouldLog=function(t){return this.levels.indexOf(t)>=this.levels.indexOf(this.level)},e.setLevel=function(t){t!==this.level&&(this.level=t,this.resetLogMethods())},e.resetLogMethods=function(){var t=this;this.levels.forEach((function(e){t[e]=t.shouldLog(e)?function(){var t=e;"trace"!==e&&"debug"!==e||(t="info");var n=arguments;if(n[0]=this.prefix+n[0],console){var r=console[t]||console.log;"function"==typeof r&&r.apply(console,n)}}:I}))},t}(),De=Fe,ze=((Me={})[Ot]=function(){return new Ue},Me[Rt]=function(){return new De({prefix:"[Elastic APM] "})},Me[It]=function(t){var e=t.getService([Ot,Rt]),n=e[0],r=e[1];return new Pe(n,r)},Me),$e=function(){function t(){this.instances={},this.initialized=!1}var e=t.prototype;return e.init=function(){if(!this.initialized){this.initialized=!0;var t=this.getService(Ot);t.init();var e=this.getService([Rt,It]),n=e[0],r=e[1];t.events.observe(lt,(function(){var e=t.get("logLevel");n.setLevel(e)})),r.init()}},e.getService=function(t){var e=this;return"string"==typeof t?(this.instances[t]||"function"==typeof ze[t]&&(this.instances[t]=ze[t](this)),this.instances[t]):Array.isArray(t)?t.map((function(t){return e.getService(t)})):void 0},t}();var Be=function(){function t(t,e,n,r){this._apmServer=t,this._configService=e,this._logginService=n,this._transactionService=r}var e=t.prototype;return e.init=function(t){var e=this;void 0===t&&(t={}),this._configService.events.observe(ct+_t,(function(tr){var t=e.createTransactionPayload(tr);t&&(e._apmServer.addTransaction(t),e._configService.dispatchEvent(pt))})),t[mt]&&qt.observe(mt,this.getHistorySub()),t[ht]&&qt.observe(ht,this.getXHRSub()),t[vt]&&qt.observe(vt,this.getFetchSub())},e.getHistorySub=function(){var t=this._transactionService;return function(e,n){n.source===mt&&e===W&&t.startTransaction(n.data.title,"route-change",{managed:!0,canReuse:!0})}},e.getXHRSub=function(){var t=this;return function(e,n){n.source!==ht||$.fetchInProgress||t.processAPICalls(e,n)}},e.getFetchSub=function(){var t=this;return function(e,n){n.source===vt&&t.processAPICalls(e,n)}},e.processAPICalls=function(t,e){var n=this._configService,r=this._transactionService;if(e.data&&e.data.url){var o=this._apmServer.getEndpoints();if(Object.keys(o).some((function(t){return-1!==e.data.url.indexOf(o[t])})))return}if(t===X&&e.data){var data=e.data,c=new Yt(data.url),l=data.method+" "+(c.relative?c.path:T(c.href));r.getCurrentTransaction()||r.startTransaction(l,it,{managed:!0});var span=r.startSpan(l,"external.http",{blocking:!0});if(!span)return;var f=n.get("distributedTracing"),d=n.get("distributedTracingOrigins"),h=new Yt(window.location.href),v=w(c.origin,h.origin)||w(c.origin,d),m=data.target;if(f&&v&&m)this.injectDtHeader(span,m),n.get("propagateTracestate")&&this.injectTSHeader(span,m);else Gt;data.sync&&(span.sync=data.sync),data.span=span}else if(t===W){var y=e.data;if(y&&y.span){var _,x,S=y.span,E=y.response,C=y.target;_=E?E.status:C.status,x="abort"==y.status||y.aborted?"unknown":_>=400||0==_?"failure":"success",S.outcome=x;var tr=r.getCurrentTransaction();tr&&tr.type===it&&(tr.outcome=x),r.endSpan(S,y)}}},e.injectDtHeader=function(span,t){var header,e=this._configService.get("distributedTracingHeaderName"),n=function(span){if(span&&span.traceId&&span.id&&span.parentId){var t=span.sampled?"01":"00",e=span.sampled?span.id:span.parentId;return"00-"+span.traceId+"-"+e+"-"+t}}(span);/^[\da-f]{2}-[\da-f]{32}-[\da-f]{16}-[\da-f]{2}$/.test(header=n)&&"00000000000000000000000000000000"!==header.slice(3,35)&&"0000000000000000"!==header.slice(36,52)&&n&&e&&_(t,e,n)},e.injectTSHeader=function(span,t){var e=function(t){var e=t.sampleRate;if(!("number"!=typeof e||String(e).length>256))return"es=s:"+e}(span);e&&_(t,"tracestate",e)},e.extractDtHeader=function(t){var e=this._configService.get("distributedTracingHeaderName");if(t)return function(t){var e=/^([\da-f]{2})-([\da-f]{32})-([\da-f]{16})-([\da-f]{2})$/.exec(t);if(e){var n="00"!==e[4];return{traceId:e[2],id:e[3],sampled:n}}}(t[e])},e.filterTransaction=function(tr){var t=tr.duration();if(!t)return!1;if(tr.isManaged()){if(t>6e4)return!1;if(tr.sampled&&0===tr.spans.length)return!1}return!0},e.createTransactionDataModel=function(t){var e=t._start,n=t.spans.map((function(span){var n={id:span.id,transaction_id:t.id,parent_id:span.parentId||t.id,trace_id:t.traceId,name:span.name,type:span.type,subtype:span.subtype,action:span.action,sync:span.sync,start:parseInt(span._start-e),duration:span.duration(),context:span.context,outcome:span.outcome,sample_rate:span.sampleRate};return ve(le,n)})),r={id:t.id,trace_id:t.traceId,session:t.session,name:t.name,type:t.type,duration:t.duration(),spans:n,context:t.context,marks:t.marks,breakdown:t.breakdownTimings,span_count:{started:n.length},sampled:t.sampled,sample_rate:t.sampleRate,experience:t.experience,outcome:t.outcome};return ve(fe,r)},e.createTransactionPayload=function(t){var e=function(t){if(t.sampled){var e=t.spans.filter((function(span){return span.duration()>0&&span._start>=t._start&&span._end<=t._end}));if(t.isManaged()){var n=function(t,e,n){t.sort((function(t,e){return t._start-e._start}));var r=[],o=1;return t.forEach((function(span,c){if(0===r.length)r.push(span);else{var l=r[r.length-1],f=l.type===span.type&&l.subtype===span.subtype&&l.action===span.action&&l.name===span.name&&span.duration()/e1&&(!f||d)&&(l.name=o+"x "+l.name,o=1),f||r.push(span)}})),r}(e,t.duration(),.05);t.spans=n}else t.spans=e}else t.resetFields();return t}(t);if(this.filterTransaction(e))return this.createTransactionDataModel(t)},t}(),qe=function(){function t(t,e,n){void 0===n&&(n={}),t||(t=at),e||(e=et),this.name=t,this.type=e,this.options=n,this.id=n.id||y(16),this.traceId=n.traceId,this.sampled=n.sampled,this.sampleRate=n.sampleRate,this.timestamp=n.timestamp,this._start=j(n.startTime),this._end=void 0,this.ended=!1,this.outcome=void 0,this.onEnd=n.onEnd}var e=t.prototype;return e.ensureContext=function(){this.context||(this.context={})},e.addLabels=function(t){this.ensureContext();var e=this.context;e.tags||(e.tags={}),Object.keys(t).forEach((function(n){return S(n,t[n],e.tags)}))},e.addContext=function(){for(var t=arguments.length,e=new Array(t),n=0;nl?(f+=c-l,l=o):o>l&&(l=o);return l=r})),c={spans:function(t,e){for(var n=[],i=0;i0){var h=f[0],v=h.name,m=h.containerType,y=h.containerName,_=h.containerId,w={attribution:v,type:m};y&&(w.name=y),_&&(w.id=_),span.addContext({custom:w})}span.end(d),n.push(span)}return n}(o,Qe.longtask),marks:{}};if(!n)return c;var l=t.getEntriesByType(St),f=l[l.length-1];if(f){var h=parseInt(f.startTime);Qe.lcp=h,c.marks.largestContentfulPaint=h}var v=d.timing,m=v.fetchStart-v.navigationStart;z(v)&&(m=0);var y=t.getEntriesByName("first-contentful-paint")[0];if(y){var _=parseInt(m>=0?y.startTime-m:y.startTime);Qe.fcp=_,c.marks.firstContentfulPaint=_}var w=function(t){var e=t[0];if(e){var n=e.startTime,r=e.processingStart,span=new Ge("First Input Delay",Tt,{startTime:n});return span.end(r),span}}(t.getEntriesByType(Tt));return w&&(Qe.fid=w.duration(),c.spans.push(w)),function(t){t.forEach((function(t){var e=t.name,n=t.startTime,r=t.duration;if(!(n0&&(Qe.tbt.duration+=o)}}))}(o),function(t){t.forEach((function(t){!t.hadRecentInput&&t.value&&((t.startTime-Qe.cls.firstEntryTime>5e3||t.startTime-Qe.cls.prevEntryTime>1e3)&&(Qe.cls.firstEntryTime=t.startTime,Qe.cls.currentSessionScore=0),Qe.cls.prevEntryTime=t.startTime,Qe.cls.currentSessionScore+=t.value,Qe.cls.score=Math.max(Qe.cls.score,Qe.cls.currentSessionScore))}))}(t.getEntriesByType(Et)),c}var nn=function(){function t(t){this.po={observe:I,disconnect:I},window.PerformanceObserver&&(this.po=new PerformanceObserver(t))}var e=t.prototype;return e.start=function(t){try{if(!D(t))return;this.po.observe({type:t,buffered:!0})}catch(t){}},e.stop=function(){this.po.disconnect()},t}();function rn(t,e,n,r,o){return void 0===o&&(o=0),"number"==typeof t&&"number"==typeof e&&t>=o&&e>t&&t-o>=n&&e-o<=r&&e-te}function un(t){if(t.captureTimings){var e=t._end;if(t.type===tt){if(t.marks&&t.marks.custom){var n=t.marks.custom;Object.keys(n).forEach((function(e){n[e]+=t._start}))}t._start=0;var r=d.timing;(function(t,e,n,r){for(var o=[],i=0;i=0&&l=tr._start||t.shouldIgnoreTransaction(n)||r===ot)){if(r===tt){var o=t._config.get("pageLoadTransactionName");if(n===at&&o&&(tr.name=o),tr.captureTimings){var c=Qe.cls,l=Qe.fid,f=Qe.tbt,d=Qe.longtask;f.duration>0&&tr.spans.push((v=(h=f).start,m=h.duration,(y=new Ge("Total Blocking Time",xt,{startTime:v})).end(v+m),y)),tr.experience={},D(xt)&&(tr.experience.tbt=f.duration),D(Et)&&(tr.experience.cls=c.score),l>0&&(tr.experience.fid=l),d.count>0&&(tr.experience.longtask={count:d.count,sum:d.duration,max:d.max})}t.setSession(tr)}var h,v,m,y;tr.name===at&&(tr.name=function(t,e){void 0===e&&(e=2);for(var n=new Yt(t),r=n.query,o=n.path.substring(1).split("/"),c=":id",l=/\W|_/g,f=/[0-9]/g,d=/[a-z]/g,h=/[A-Z]/g,v=[],m=!1,y=0;ye-1){_&&v.push("*");break}if((_.match(l)||[]).length>=2)v.push(c),m=!0;else{var w=(_.match(f)||[]).length;if(w>3||_.length>3&&w/_.length>=.3)v.push(c),m=!0;else{var x=(_.match(h)||[]).length,S=(_.match(d)||[]).length/_.length,T=x/_.length;_.length>5&&(T>.3&&T<.6||S>.3&&S<.6)?(v.push(c),m=!0):_&&v.push(_)}}}return"/"+(v.length>=2?v.join("/"):v.join(""))+(r?"?{query}":"")}(e)),un(tr),t.adjustTransactionTime(tr),t._config.get("breakdownMetrics")&&tr.captureBreakdown();var _=t._config.get("context");ae(tr,_),t._config.events.send(ct,[tr])}}),(function(t){Gt}))},e.setSession=function(tr){var t=this._config.get("session");if(t){"boolean"==typeof t||t.timestamp&&Date.now()-t.timestamp>18e5?tr.session={id:y(16),sequence:1}:tr.session={id:t.id,sequence:t.sequence?t.sequence+1:1};var e={session:{id:tr.session.id,sequence:tr.session.sequence,timestamp:Date.now()}};this._config.setConfig(e),this._config.setLocalConfig(e,!0)}},e.adjustTransactionTime=function(t){var e=t.spans,n=function(t){for(var e=t[0],n=1;nspan._start&&(e=span)}return e}(e);n&&n._startt._end&&(t._end=o);this.truncateSpans(e,t._end)},e.truncateSpans=function(t,e){for(var i=0;ie&&(span._end=e,span.type+=Pt),span._start>e&&(span._start=e)}},e.shouldIgnoreTransaction=function(t){var e=this._config.get("ignoreTransactions");if(e&&e.length)for(var i=0;i0){var d="Unknown config options are specified for RUM agent: "+f.join(", ");r.warn(d)}if(0===c.length&&0===l.length)n.setConfig(t);else{var h=", ",v="RUM agent isn't correctly configured. ";c.length>0&&(v+=c.join(h)+" is missing",l.length>0&&(v+=h)),l.forEach((function(t,e){var n=t.key,r=t.value,o=t.allowed;v+=n+' "'+r+'" contains invalid characters! (allowed: '+o+")"+(e!==l.length-1?h:"")})),r.error(v),n.setConfig({active:!1})}},e.setUserContext=function(t){this.serviceFactory.getService(Ot).setUserContext(t)},e.setCustomContext=function(t){this.serviceFactory.getService(Ot).setCustomContext(t)},e.addLabels=function(t){this.serviceFactory.getService(Ot).addLabels(t)},e.setInitialPageLoadName=function(t){this.serviceFactory.getService(Ot).setConfig({pageLoadTransactionName:t})},e.startTransaction=function(t,e,n){if(this.isEnabled())return this.serviceFactory.getService(At).startTransaction(t,e,n)},e.startSpan=function(t,e,n){if(this.isEnabled())return this.serviceFactory.getService(At).startSpan(t,e,n)},e.getCurrentTransaction=function(){if(this.isEnabled())return this.serviceFactory.getService(At).getCurrentTransaction()},e.captureError=function(t){if(this.isEnabled())return this.serviceFactory.getService(Lt).logError(t)},e.addFilter=function(t){this.serviceFactory.getService(Ot).addFilter(t)},t}();var vn=function(){if(f&&window.elasticApm)return window.elasticApm;var t=(x()?(Ht(),Kt.bootstrapTime=P(),Zt=!0):f&&console.log("[Elastic APM] platform is not supported!"),Zt),e=ln(),n=new hn(e,!t);return f&&(window.elasticApm=n),n}(),mn=vn.init.bind(vn)},237:function(t,e,n){"use strict";n.r(e),function(t){n(41),n(33),n(49),n(37),n(53),n(54);var e=n(19),r=n(11),o=(n(130),n(255),n(268),n(270),n(74),n(31),n(17),n(34),n(50),n(46),n(75),n(92),n(57),n(60),n(18),n(39),n(40),n(58),n(2)),c=n(217),l=n(142),f=n(1),d=n(38),h=n(226),v=n(117),m=n(227);function y(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return _(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return c=t.done,t},e:function(t){l=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function _(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i2?e-2:0),r=2;r0}});else{var t=window.document,e=[];r.prototype.THROTTLE_TIMEOUT=100,r.prototype.POLL_INTERVAL=null,r.prototype.USE_MUTATION_OBSERVER=!0,r.prototype.observe=function(t){if(!this._observationTargets.some((function(e){return e.element==t}))){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},r.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter((function(e){return e.element!=t})),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},r.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},r.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},r.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter((function(t,i,a){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==a[i-1]}))},r.prototype._parseRootMargin=function(t){var e=(t||"0px").split(/\s+/).map((function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}}));return e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],e},r.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(o(window,"resize",this._checkForIntersections,!0),o(t,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in window&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},r.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,c(window,"resize",this._checkForIntersections,!0),c(t,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},r.prototype._checkForIntersections=function(){var t=this._rootIsInDom(),e=t?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach((function(r){var o=r.element,c=l(o),f=this._rootContainsTarget(o),d=r.entry,h=t&&f&&this._computeTargetAndRootIntersection(o,e),v=r.entry=new n({time:window.performance&&performance.now&&performance.now(),target:o,boundingClientRect:c,rootBounds:e,intersectionRect:h});d?t&&f?this._hasCrossedThreshold(d,v)&&this._queuedEntries.push(v):d&&d.isIntersecting&&this._queuedEntries.push(v):this._queuedEntries.push(v)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},r.prototype._computeTargetAndRootIntersection=function(e,n){if("none"!=window.getComputedStyle(e).display){for(var r,o,c,f,h,v,m,y,_=l(e),w=d(e),x=!1;!x;){var S=null,T=1==w.nodeType?window.getComputedStyle(w):{};if("none"==T.display)return;if(w==this.root||w==t?(x=!0,S=n):w!=t.body&&w!=t.documentElement&&"visible"!=T.overflow&&(S=l(w)),S&&(r=S,o=_,c=void 0,f=void 0,h=void 0,v=void 0,m=void 0,y=void 0,c=Math.max(r.top,o.top),f=Math.min(r.bottom,o.bottom),h=Math.max(r.left,o.left),v=Math.min(r.right,o.right),y=f-c,!(_=(m=v-h)>=0&&y>=0&&{top:c,bottom:f,left:h,right:v,width:m,height:y})))break;w=d(w)}return _}},r.prototype._getRootRect=function(){var e;if(this.root)e=l(this.root);else{var html=t.documentElement,body=t.body;e={top:0,left:0,right:html.clientWidth||body.clientWidth,width:html.clientWidth||body.clientWidth,bottom:html.clientHeight||body.clientHeight,height:html.clientHeight||body.clientHeight}}return this._expandRectByRootMargin(e)},r.prototype._expandRectByRootMargin=function(rect){var t=this._rootMarginValues.map((function(t,i){return"px"==t.unit?t.value:t.value*(i%2?rect.width:rect.height)/100})),e={top:rect.top-t[0],right:rect.right+t[1],bottom:rect.bottom+t[2],left:rect.left-t[3]};return e.width=e.right-e.left,e.height=e.bottom-e.top,e},r.prototype._hasCrossedThreshold=function(t,e){var n=t&&t.isIntersecting?t.intersectionRatio||0:-1,r=e.isIntersecting?e.intersectionRatio||0:-1;if(n!==r)for(var i=0;i1&&void 0!==arguments[1]?arguments[1]:T,n=arguments.length>2?arguments[2]:void 0;return r.call(this,t,e,n)};var o=n.resolve.bind(n);return n.resolve=function(t,e,n){return"string"==typeof t&&(t=Object(_.d)(t)),o(t,e,n)},n}var k={name:"NuxtChild",functional:!0,props:{nuxtChildKey:{type:String,default:""},keepAlive:Boolean,keepAliveProps:{type:Object,default:void 0}},render:function(t,e){var n=e.parent,data=e.data,r=e.props,o=n.$createElement;data.nuxtChild=!0;for(var c=n,l=n.$nuxt.nuxt.transitions,f=n.$nuxt.nuxt.defaultTransition,d=0;n;)n.$vnode&&n.$vnode.data.nuxtChild&&d++,n=n.$parent;data.nuxtChildDepth=d;var h=l[d]||f,v={};O.forEach((function(t){void 0!==h[t]&&(v[t]=h[t])}));var m={};R.forEach((function(t){"function"==typeof h[t]&&(m[t]=h[t].bind(c))}));var y=m.beforeEnter;if(m.beforeEnter=function(t){if(window.$nuxt.$nextTick((function(){window.$nuxt.$emit("triggerScroll")})),y)return y.call(c,t)},!1===h.css){var _=m.leave;(!_||_.length<2)&&(m.leave=function(t,e){_&&_.call(c,t),c.$nextTick(e)})}var w=o("routerView",data);return r.keepAlive&&(w=o("keep-alive",{props:r.keepAliveProps},[w])),o("transition",{props:v,on:m},[w])}},O=["name","mode","appear","css","type","duration","enterClass","leaveClass","appearClass","enterActiveClass","enterActiveClass","leaveActiveClass","appearActiveClass","enterToClass","leaveToClass","appearToClass"],R=["beforeEnter","enter","afterEnter","enterCancelled","beforeLeave","leave","afterLeave","leaveCancelled","beforeAppear","appear","afterAppear","appearCancelled"],A={name:"NuxtError",props:{error:{type:Object,default:null}},computed:{statusCode:function(){return this.error&&this.error.statusCode||500},message:function(){return this.error.message||"Error"}},head:function(){return{title:this.message,meta:[{name:"viewport",content:"width=device-width,initial-scale=1.0,minimum-scale=1.0"}]}}},I=(n(294),n(15)),N=Object(I.a)(A,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"__nuxt-error-page"},[e("div",{staticClass:"error"},[e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"90",height:"90",fill:"#DBE1EC",viewBox:"0 0 48 48"}},[e("path",{attrs:{d:"M22 30h4v4h-4zm0-16h4v12h-4zm1.99-10C12.94 4 4 12.95 4 24s8.94 20 19.99 20S44 35.05 44 24 35.04 4 23.99 4zM24 40c-8.84 0-16-7.16-16-16S15.16 8 24 8s16 7.16 16 16-7.16 16-16 16z"}})]),t._v(" "),e("div",{staticClass:"title"},[t._v(t._s(t.message))]),t._v(" "),404===t.statusCode?e("p",{staticClass:"description"},[void 0===t.$route?e("a",{staticClass:"error-link",attrs:{href:"/"}}):e("NuxtLink",{staticClass:"error-link",attrs:{to:"/"}},[t._v("Back to the home page")])],1):t._e(),t._v(" "),t._m(0)])])}),[function(){var t=this._self._c;return t("div",{staticClass:"logo"},[t("a",{attrs:{href:"https://nuxtjs.org",target:"_blank",rel:"noopener"}},[this._v("Nuxt")])])}],!1,null,null,null).exports,L=n(21),P=(n(33),{name:"Nuxt",components:{NuxtChild:k,NuxtError:N},props:{nuxtChildKey:{type:String,default:void 0},keepAlive:Boolean,keepAliveProps:{type:Object,default:void 0},name:{type:String,default:"default"}},errorCaptured:function(t){this.displayingNuxtError&&(this.errorFromNuxtError=t,this.$forceUpdate())},computed:{routerViewKey:function(){if(void 0!==this.nuxtChildKey||this.$route.matched.length>1)return this.nuxtChildKey||Object(w.c)(this.$route.matched[0].path)(this.$route.params);var t=Object(L.a)(this.$route.matched,1)[0];if(!t)return this.$route.path;var e=t.components.default;if(e&&e.options){var n=e.options;if(n.key)return"function"==typeof n.key?n.key(this.$route):n.key}return/\/$/.test(t.path)?this.$route.path:this.$route.path.replace(/\/$/,"")}},beforeCreate:function(){c.a.util.defineReactive(this,"nuxt",this.$root.$options.nuxt)},render:function(t){var e=this;return this.nuxt.err?this.errorFromNuxtError?(this.$nextTick((function(){return e.errorFromNuxtError=!1})),t("div",{},[t("h2","An error occurred while showing the error page"),t("p","Unfortunately an error occurred and while showing the error page another error occurred"),t("p","Error details: ".concat(this.errorFromNuxtError.toString())),t("nuxt-link",{props:{to:"/"}},"Go back to home")])):(this.displayingNuxtError=!0,this.$nextTick((function(){return e.displayingNuxtError=!1})),t(N,{props:{error:this.nuxt.err}})):t("NuxtChild",{key:this.routerViewKey,props:this.$props})}}),j=(n(41),n(49),n(53),n(54),n(75),n(92),n(58),{name:"NuxtLoading",data:function(){return{percent:0,show:!1,canSucceed:!0,reversed:!1,skipTimerCount:0,rtl:!1,throttle:200,duration:5e3,continuous:!1}},computed:{left:function(){return!(!this.continuous&&!this.rtl)&&(this.rtl?this.reversed?"0px":"auto":this.reversed?"auto":"0px")}},beforeDestroy:function(){this.clear()},methods:{clear:function(){clearInterval(this._timer),clearTimeout(this._throttle),clearTimeout(this._hide),this._timer=null},start:function(){var t=this;return this.clear(),this.percent=0,this.reversed=!1,this.skipTimerCount=0,this.canSucceed=!0,this.throttle?this._throttle=setTimeout((function(){return t.startTimer()}),this.throttle):this.startTimer(),this},set:function(t){return this.show=!0,this.canSucceed=!0,this.percent=Math.min(100,Math.max(0,Math.floor(t))),this},get:function(){return this.percent},increase:function(t){return this.percent=Math.min(100,Math.floor(this.percent+t)),this},decrease:function(t){return this.percent=Math.max(0,Math.floor(this.percent-t)),this},pause:function(){return clearInterval(this._timer),this},resume:function(){return this.startTimer(),this},finish:function(){return this.percent=this.reversed?0:100,this.hide(),this},hide:function(){var t=this;return this.clear(),this._hide=setTimeout((function(){t.show=!1,t.$nextTick((function(){t.percent=0,t.reversed=!1}))}),500),this},fail:function(t){return this.canSucceed=!1,this},startTimer:function(){var t=this;this.show||(this.show=!0),void 0===this._cut&&(this._cut=1e4/Math.floor(this.duration)),this._timer=setInterval((function(){t.skipTimerCount>0?t.skipTimerCount--:(t.reversed?t.decrease(t._cut):t.increase(t._cut),t.continuous&&(t.percent>=100||t.percent<=0)&&(t.skipTimerCount=1,t.reversed=!t.reversed))}),100)}},render:function(t){var e=t(!1);return this.show&&(e=t("div",{staticClass:"nuxt-progress",class:{"nuxt-progress-notransition":this.skipTimerCount>0,"nuxt-progress-failed":!this.canSucceed},style:{width:this.percent+"%",left:this.left}})),e}}),M=(n(296),Object(I.a)(j,undefined,undefined,!1,null,null,null).exports),U=(n(298),n(300),n(229)),F=n(230);function D(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return z(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return z(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return c=t.done,t},e:function(t){l=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function z(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i0},isPreview:function(){return Boolean(this.$options.previewData)}},methods:{refreshOnlineStatus:function(){void 0===window.navigator.onLine?this.isOnline=!0:this.isOnline=window.navigator.onLine},refresh:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((n=Object(w.i)(t.$route)).length){e.next=3;break}return e.abrupt("return");case 3:return t.$loading.start(),o=n.map(function(){var e=Object(r.a)(regeneratorRuntime.mark((function e(n){var p,r,o,component;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return p=[],n.$options.fetch&&n.$options.fetch.length&&p.push(Object(w.q)(n.$options.fetch,t.context)),n.$options.asyncData&&p.push(Object(w.q)(n.$options.asyncData,t.context).then((function(t){for(var e in t)c.a.set(n.$data,e,t[e])}))),e.next=5,Promise.all(p);case 5:p=[],n.$fetch&&p.push(n.$fetch()),r=D(Object(w.f)(n.$vnode.componentInstance));try{for(r.s();!(o=r.n()).done;)component=o.value,p.push(component.$fetch())}catch(t){r.e(t)}finally{r.f()}return e.abrupt("return",Promise.all(p));case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),e.prev=5,e.next=8,Promise.all(o);case 8:e.next=15;break;case 10:e.prev=10,e.t0=e.catch(5),t.$loading.fail(e.t0),Object(w.l)(e.t0),t.error(e.t0);case 15:t.$loading.finish();case 16:case"end":return e.stop()}}),e,null,[[5,10]])})))()},errorChanged:function(){if(this.nuxt.err){this.$loading&&(this.$loading.fail&&this.$loading.fail(this.nuxt.err),this.$loading.finish&&this.$loading.finish());var t=(N.options||N).layout;"function"==typeof t&&(t=t(this.context)),this.setLayout(t)}},setLayout:function(t){return t&&$["_"+t]||(t="default"),this.layoutName=t,this.layout=$["_"+t],this.layout},loadLayout:function(t){return t&&$["_"+t]||(t="default"),Promise.resolve($["_"+t])},getRouterBase:function(){return Object(_.h)(this.$router.options.base)},getRoutePath:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",base=this.getRouterBase();return Object(_.h)(Object(_.g)(Object(_.e)(t).pathname,base))},getStaticAssetsPath:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",e=window.__NUXT__.staticAssetsBase;return Object(w.v)(e,this.getRoutePath(t))},fetchStaticManifest:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",window.__NUXT_IMPORT__("manifest.js",Object(_.d)(Object(w.v)(t.getStaticAssetsPath(),"manifest.js"))));case 1:case"end":return e.stop()}}),e)})))()},setPagePayload:function(t){this._pagePayload=t,this._fetchCounters={}},fetchPayload:function(t,e){var n=this;return Object(r.a)(regeneratorRuntime.mark((function r(){var path,o,c;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return path=Object(_.a)(n.getRoutePath(t)),r.next=3,n.fetchStaticManifest();case 3:if(r.sent.routes.includes(path)){r.next=7;break}throw e||n.setPagePayload(!1),new Error("Route ".concat(path," is not pre-rendered"));case 7:return o=Object(w.v)(n.getStaticAssetsPath(t),"payload.js"),r.prev=8,r.next=11,window.__NUXT_IMPORT__(path,Object(_.d)(o));case 11:return c=r.sent,e||n.setPagePayload(c),r.abrupt("return",c);case 16:throw r.prev=16,r.t0=r.catch(8),e||n.setPagePayload(!1),r.t0;case 20:case"end":return r.stop()}}),r,null,[[8,16]])})))()}},components:{NuxtLoading:M}};c.a.use(l.a);var V={};(V=function(t,e){if((t=t.default||t).commit)throw new Error("[nuxt] ".concat(e," should export a method that returns a Vuex instance."));return"function"!=typeof t&&(t=Object.assign({},t)),function(t,e){if(t.state&&"function"!=typeof t.state){console.warn("'state' should be a method that returns an object in ".concat(e));var n=Object.assign({},t.state);t=Object.assign({},t,{state:function(){return n}})}return t}(t,e)}(n(328),"store/index.js")).modules=V.modules||{};var H=V instanceof Function?V:function(){return new l.a.Store(Object.assign({strict:!1},V))};var G=n(119);n(57);n(326);var s,K={images:!0,videos:!0,audios:!0,iframes:!0,native:!1,directiveOnly:!1,loadingClass:"isLoading",loadedClass:"isLoaded",appendClass:"lazyLoad",observerConfig:{},defaultImage:"/img/load.png",globalName:"nuxt"},Z=null,X=["src","poster","srcset"],W={img:"images",video:"videos",audio:"audios",iframe:"iframes",picture:"images"},J=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.tagName.toLowerCase();"svg"!==n&&(t.children&&t.children.length>0?[].concat(Object(G.a)(t.children),[t]):[t]).forEach((function(t){for(var r=0,o=X;r1&&void 0!==arguments[1]&&arguments[1];K.defaultImage&&(t.style.backgroundImage="url(".concat(K.defaultImage,")")),["notLazy","noLazy"].some((function(e){return void 0!==t.dataset[e]}))?Y(t):(void 0===t.dataset.manualLazy&&(!1!==K.appendClass&&t.classList.add(K.appendClass),Z.observe(t)),e&&(Z.unobserve(t),Z.observe(t)))}});c.a.use(it),c.a.use(ot);var at=function(t){t.removeAttribute("data-manual-lazy"),!1!==K.appendClass&&t.classList.add(K.appendClass),t.getAttribute("lazy-background")?Y(t):(J(t),Q(t,"loading"),Q(t,"loaded"))},st=function(t){if(t.target){var e=t.target.querySelectorAll("[data-manual-lazy]");Object(G.a)(e).forEach((function(t){return at(t)}))}else at(t)},ut=function(t,e){e("lazyLoad",st)},ct=n(30),lt=n.n(ct),ft=n(19);function pt(t){return null!==t&&"object"===Object(ft.a)(t)}function ht(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".",r=arguments.length>3?arguments[3]:void 0;if(!pt(e))return ht(t,{},n,r);var o=Object.assign({},e);for(var c in t)if("__proto__"!==c&&"constructor"!==c){var l=t[c];null!=l&&(r&&r(o,c,l,n)||(Array.isArray(l)&&Array.isArray(o[c])?o[c]=o[c].concat(l):pt(l)&&pt(o[c])?o[c]=ht(l,o[c],(n?"".concat(n,"."):"")+c.toString(),r):o[c]=l))}return o}function vt(t){return function(){for(var e=arguments.length,n=new Array(e),r=0;r=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return c=t.done,t},e:function(t){l=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function _t(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i2&&void 0!==arguments[2]?arguments[2]:"common",o=bt(Array.isArray(r)?r:[r]);try{for(o.s();!(n=o.n()).done;){var c=n.value;e?this.defaults.headers[c][t]=e:delete this.defaults.headers[c][t]}}catch(t){o.e(t)}finally{o.f()}},setToken:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"common",r=t?(e?e+" ":"")+t:null;this.setHeader("Authorization",r,n)},onRequest:function(t){this.interceptors.request.use((function(e){return t(e)||e}))},onResponse:function(t){this.interceptors.response.use((function(e){return t(e)||e}))},onRequestError:function(t){this.interceptors.request.use(void 0,(function(e){return t(e)||Promise.reject(e)}))},onResponseError:function(t){this.interceptors.response.use(void 0,(function(e){return t(e)||Promise.reject(e)}))},onError:function(t){this.onRequestError(t),this.onResponseError(t)},create:function(t){return Et(mt(t,this.defaults))}},xt=function(){var t=Tt[St];wt["$"+t]=function(){return this[t].apply(this,arguments).then((function(t){return t&&t.data}))}},St=0,Tt=["request","delete","get","head","options","post","put","patch"];St has been deprecated and will be removed in Nuxt 3, please use instead")),m.a.render(t,e)}})),c.a.component(k.name,k),c.a.component("NChild",k),c.a.component(P.name,P),Object.defineProperty(c.a.prototype,"$nuxt",{get:function(){var t=this.$root?this.$root.$options.$nuxt:null;return t||"undefined"==typeof window?t:window.$nuxt},configurable:!0}),c.a.use(f.a,{keyName:"head",attribute:"data-n-head",ssrAttribute:"data-n-head-ssr",tagIDKeyName:"hid"});var Nt={name:"page",mode:"out-in",appear:!1,appearClass:"appear",appearActiveClass:"appear-active",appearToClass:"appear-to"},Lt=l.a.Store.prototype.registerModule;function Pt(path,t){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=Array.isArray(path)?!!path.reduce((function(t,path){return t&&t[path]}),this.state):path in this.state;return Lt.call(this,path,t,It({preserveState:n},e))}function jt(t){return Mt.apply(this,arguments)}function Mt(){return Mt=Object(r.a)(regeneratorRuntime.mark((function t(e){var n,o,l,f,d,h,path,v,m=arguments;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return v=function(t,e){if(!t)throw new Error("inject(key, value) has no key provided");if(void 0===e)throw new Error("inject('".concat(t,"', value) has no value provided"));f[t="$"+t]=e,f.context[t]||(f.context[t]=e),o[t]=f[t];var n="__nuxt_"+t+"_installed__";c.a[n]||(c.a[n]=!0,c.a.use((function(){Object.prototype.hasOwnProperty.call(c.a.prototype,t)||Object.defineProperty(c.a.prototype,t,{get:function(){return this.$root.$options[t]}})})))},n=m.length>1&&void 0!==m[1]?m[1]:{},o=H(e),t.next=5,C(0,n);case 5:return l=t.sent,o.$router=l,o.registerModule=Pt,f=It({head:{htmlAttrs:{lang:"es-MX"},meta:[{charset:"utf-8"},{name:"viewport",content:"width=device-width, initial-scale=1"}],link:[{rel:"icon",type:"image/png",href:"/favicon.png"}],style:[],script:[]},store:o,router:l,nuxt:{defaultTransition:Nt,transitions:[Nt],setTransitions:function(t){return Array.isArray(t)||(t=[t]),t=t.map((function(t){return t=t?"string"==typeof t?Object.assign({},Nt,{name:t}):Object.assign({},Nt,t):Nt})),this.$options.nuxt.transitions=t,t},err:null,dateErr:null,error:function(t){t=t||null,f.context._errored=Boolean(t),t=t?Object(w.p)(t):null;var n=f.nuxt;return this&&(n=this.nuxt||this.$options.nuxt),n.dateErr=Date.now(),n.err=t,e&&(e.nuxt.error=t),t}}},B),o.app=f,d=e?e.next:function(t){return f.router.push(t)},e?h=l.resolve(e.url).route:(path=Object(w.g)(l.options.base,l.options.mode),h=l.resolve(path).route),t.next=14,Object(w.t)(f,{store:o,route:h,next:d,error:f.nuxt.error.bind(f),payload:e?e.payload:void 0,req:e?e.req:void 0,res:e?e.res:void 0,beforeRenderFns:e?e.beforeRenderFns:void 0,beforeSerializeFns:e?e.beforeSerializeFns:void 0,ssrContext:e});case 14:if(v("config",n),window.__NUXT__&&window.__NUXT__.state&&o.replaceState(window.__NUXT__.state),f.context.enablePreview=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};f.previewData=Object.assign({},t),v("preview",t)},"function"!=typeof ut){t.next=20;break}return t.next=20,ut(f.context,v);case 20:if("function"!=typeof kt){t.next=23;break}return t.next=23,kt(f.context,v);case 23:if("function"!=typeof Ot.default){t.next=26;break}return t.next=26,Object(Ot.default)(f.context,v);case 26:if("function"!=typeof Rt.default){t.next=29;break}return t.next=29,Object(Rt.default)(f.context,v);case 29:return f.context.enablePreview=function(){console.warn("You cannot call enablePreview() outside a plugin.")},t.next=32,new Promise((function(t,e){if(!l.resolve(f.context.route.fullPath).route.matched.length)return t();l.replace(f.context.route.fullPath,t,(function(n){if(!n._isRouter)return e(n);if(2!==n.type)return t();var o=l.afterEach(function(){var e=Object(r.a)(regeneratorRuntime.mark((function e(n,r){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=3,Object(w.k)(n);case 3:f.context.route=e.sent,f.context.params=n.params||{},f.context.query=n.query||{},o(),t();case 8:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}())}))}));case 32:return t.abrupt("return",{store:o,app:f,router:l});case 33:case"end":return t.stop()}}),t)}))),Mt.apply(this,arguments)}},61:function(t,e,n){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var content=t(e);return e[2]?"@media ".concat(e[2]," {").concat(content,"}"):content})).join("")},e.i=function(t,n,r){"string"==typeof t&&(t=[[null,t,""]]);var o={};if(r)for(var i=0;ie.parts.length&&(n.parts.length=e.parts.length)}else{var o=[];for(r=0;r0?l.map((function(){return t(!1)})):t(!1))}};t.exports=r}}]);