rum.edgio.net Open in urlscan Pro
208.69.180.11  Public Scan

URL: https://rum.edgio.net/latest.js
Submission: On May 29 via manual from ES — Scanned from ES

Form analysis 0 forms found in the DOM

Text Content

(()=>{var e={68:(e,t,n)=>{"use strict";function i(e,t){void 0===t&&(t={});for(var n=function(e){for(var t=[],n=0;n<e.length;){var i=e[n];if("*"!==i&&"+"!==i&&"?"!==i)if("\\"!==i)if("{"!==i)if("}"!==i)if(":"!==i)if("("!==i)t.push({type:"CHAR",index:n,value:e[n++]});else{var r=1,o="";if("?"===e[s=n+1])throw new TypeError('Pattern cannot start with "?" at '.concat(s));for(;s<e.length;)if("\\"!==e[s]){if(")"===e[s]){if(0==--r){s++;break}}else if("("===e[s]&&(r++,"?"!==e[s+1]))throw new TypeError("Capturing groups are not allowed at ".concat(s));o+=e[s++]}else o+=e[s++]+e[s++];if(r)throw new TypeError("Unbalanced pattern at ".concat(n));if(!o)throw new TypeError("Missing pattern at ".concat(n));t.push({type:"PATTERN",index:n,value:o}),n=s}else{for(var a="",s=n+1;s<e.length;){var c=e.charCodeAt(s);if(!(c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||95===c))break;a+=e[s++]}if(!a)throw new TypeError("Missing parameter name at ".concat(n));t.push({type:"NAME",index:n,value:a}),n=s}else t.push({type:"CLOSE",index:n,value:e[n++]});else t.push({type:"OPEN",index:n,value:e[n++]});else t.push({type:"ESCAPED_CHAR",index:n++,value:e[n++]});else t.push({type:"MODIFIER",index:n,value:e[n++]})}return t.push({type:"END",index:n,value:""}),t}(e),i=t.prefixes,r=void 0===i?"./":i,o="[^".concat(c(t.delimiter||"/#?"),"]+?"),a=[],s=0,u=0,d="",l=function(e){if(u<n.length&&n[u].type===e)return n[u++].value},f=function(e){var t=l(e);if(void 0!==t)return t;var i=n[u],r=i.type,o=i.index;throw new TypeError("Unexpected ".concat(r," at ").concat(o,", expected ").concat(e))},h=function(){for(var e,t="";e=l("CHAR")||l("ESCAPED_CHAR");)t+=e;return t};u<n.length;){var p=l("CHAR"),v=l("NAME"),m=l("PATTERN");if(v||m){var g=p||"";-1===r.indexOf(g)&&(d+=g,g=""),d&&(a.push(d),d=""),a.push({name:v||s++,prefix:g,suffix:"",pattern:m||o,modifier:l("MODIFIER")||""})}else{var y=p||l("ESCAPED_CHAR");if(y)d+=y;else if(d&&(a.push(d),d=""),l("OPEN")){g=h();var T=l("NAME")||"",_=l("PATTERN")||"",E=h();f("CLOSE"),a.push({name:T||(_?s++:""),pattern:T&&!_?o:_,prefix:g,suffix:E,modifier:l("MODIFIER")||""})}else f("END")}}return a}function r(e,t){return o(i(e,t),t)}function o(e,t){void 0===t&&(t={});var n=u(t),i=t.encode,r=void 0===i?function(e){return e}:i,o=t.validate,a=void 0===o||o,s=e.map((function(e){if("object"==typeof e)return new RegExp("^(?:".concat(e.pattern,")$"),n)}));return function(t){for(var n="",i=0;i<e.length;i++){var o=e[i];if("string"!=typeof o){var c=t?t[o.name]:void 0,u="?"===o.modifier||"*"===o.modifier,d="*"===o.modifier||"+"===o.modifier;if(Array.isArray(c)){if(!d)throw new TypeError('Expected "'.concat(o.name,'" to not repeat, but got an array'));if(0===c.length){if(u)continue;throw new TypeError('Expected "'.concat(o.name,'" to not be empty'))}for(var l=0;l<c.length;l++){var f=r(c[l],o);if(a&&!s[i].test(f))throw new TypeError('Expected all "'.concat(o.name,'" to match "').concat(o.pattern,'", but got "').concat(f,'"'));n+=o.prefix+f+o.suffix}}else if("string"!=typeof c&&"number"!=typeof c){if(!u){var h=d?"an array":"a string";throw new TypeError('Expected "'.concat(o.name,'" to be ').concat(h))}}else{if(f=r(String(c),o),a&&!s[i].test(f))throw new TypeError('Expected "'.concat(o.name,'" to match "').concat(o.pattern,'", but got "').concat(f,'"'));n+=o.prefix+f+o.suffix}}else n+=o}return n}}function a(e,t){var n=[];return s(l(e,n,t),n,t)}function s(e,t,n){void 0===n&&(n={});var i=n.decode,r=void 0===i?function(e){return e}:i;return function(n){var i=e.exec(n);if(!i)return!1;for(var o=i[0],a=i.index,s=Object.create(null),c=function(e){if(void 0===i[e])return"continue";var n=t[e-1];"*"===n.modifier||"+"===n.modifier?s[n.name]=i[e].split(n.prefix+n.suffix).map((function(e){return r(e,n)})):s[n.name]=r(i[e],n)},u=1;u<i.length;u++)c(u);return{path:o,index:a,params:s}}}function c(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function u(e){return e&&e.sensitive?"":"i"}function d(e,t,n){void 0===n&&(n={});for(var i=n.strict,r=void 0!==i&&i,o=n.start,a=void 0===o||o,s=n.end,d=void 0===s||s,l=n.encode,f=void 0===l?function(e){return e}:l,h=n.delimiter,p=void 0===h?"/#?":h,v=n.endsWith,m="[".concat(c(void 0===v?"":v),"]|$"),g="[".concat(c(p),"]"),y=a?"^":"",T=0,_=e;T<_.length;T++){var E=_[T];if("string"==typeof E)y+=c(f(E));else{var x=c(f(E.prefix)),C=c(f(E.suffix));if(E.pattern)if(t&&t.push(E),x||C)if("+"===E.modifier||"*"===E.modifier){var b="*"===E.modifier?"?":"";y+="(?:".concat(x,"((?:").concat(E.pattern,")(?:").concat(C).concat(x,"(?:").concat(E.pattern,"))*)").concat(C,")").concat(b)}else y+="(?:".concat(x,"(").concat(E.pattern,")").concat(C,")").concat(E.modifier);else"+"===E.modifier||"*"===E.modifier?y+="((?:".concat(E.pattern,")").concat(E.modifier,")"):y+="(".concat(E.pattern,")").concat(E.modifier);else y+="(?:".concat(x).concat(C,")").concat(E.modifier)}}if(d)r||(y+="".concat(g,"?")),y+=n.endsWith?"(?=".concat(m,")"):"$";else{var S=e[e.length-1],w="string"==typeof S?g.indexOf(S[S.length-1])>-1:void 0===S;r||(y+="(?:".concat(g,"(?=").concat(m,"))?")),w||(y+="(?=".concat(g,"|").concat(m,")"))}return new RegExp(y,u(n))}function l(e,t,n){return e instanceof RegExp?function(e,t){if(!t)return e;for(var n=/\((?:\?<(.*?)>)?(?!\?)/g,i=0,r=n.exec(e.source);r;)t.push({name:r[1]||i++,prefix:"",suffix:"",modifier:"",pattern:""}),r=n.exec(e.source);return e}(e,t):Array.isArray(e)?function(e,t,n){var i=e.map((function(e){return l(e,t,n).source}));return new RegExp("(?:".concat(i.join("|"),")"),u(n))}(e,t,n):function(e,t,n){return d(i(e,n),t,n)}(e,t,n)}n.r(t),n.d(t,{compile:()=>r,match:()=>a,parse:()=>i,pathToRegexp:()=>l,regexpToFunction:()=>s,tokensToFunction:()=>o,tokensToRegexp:()=>d})},152:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(601),o=i(n(904));t.default=class{constructor(e=r.CACHE_MANIFEST_TTL){this.ttl=e>0?e:0,this.routes=[],this.load()}load(){this.isCacheFresh()?this.routes=this.getCacheRoutes():this.download()}getRoutes(){if(this.routes&&this.routes.length>0)return this.routes;let e=window.__EDGIO_CACHE_MANIFEST__||window.__LAYER0_CACHE_MANIFEST__||window.__XDN_CACHE_MANIFEST__;return e&&(this.routes=e,this.setCacheRoutes(this.routes),this.setCacheTime((new Date).getTime())),this.routes}getCacheTime(){let e=localStorage.getItem(r.CACHE_MANIFEST_TIME_KEY);return e?parseInt(e):null}setCacheTime(e){localStorage.setItem(r.CACHE_MANIFEST_TIME_KEY,e.toString())}getCacheRoutes(){var e;return JSON.parse(null!==(e=localStorage.getItem(r.CACHE_MANIFEST_DATA_KEY))&&void 0!==e?e:"[]")}setCacheRoutes(e){localStorage.setItem(r.CACHE_MANIFEST_DATA_KEY,JSON.stringify(e))}isCacheFresh(){let e=this.getCacheTime();return null!=e&&(new Date).getTime()-e<1e3*this.ttl}download(){const e=document.createElement("script");return e.setAttribute("defer","on"),(0,o.default)("edgio_environment_id_info")||(0,o.default)("edgio_eid")||(0,o.default)("edgio_bucket")?(e.setAttribute("src","/__edgio__/cache-manifest.js"),void document.head.appendChild(e)):(0,o.default)("layer0_environment_id_info")||(0,o.default)("layer0_eid")||(0,o.default)("layer0_bucket")?(e.setAttribute("src","/__layer0__/cache-manifest.js"),void document.head.appendChild(e)):(e.setAttribute("src","/__xdn__/cache-manifest.js"),void document.head.appendChild(e))}}},588:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CookiesInfo=void 0;const i=n(970);t.CookiesInfo=class{constructor(){this.cookiesLazy=new i.Lazy((()=>document.cookie.split("; ").map((e=>e.split("="))).map((([e,t])=>({key:e,value:t}))))),this.splitTestingCookiesLazy=new i.Lazy((()=>this.cookies.map((e=>(e=>{if(!e.key.startsWith("x-edg-experiment"))return;const[t,n,i]=e.key.split(/x-edg-experiment-|_/),[r,o]=e.value.split(/_/);return{key:e.key,value:e.value,experimentName:n,experimentId:i,variantName:r,variantId:o}})(e))).filter((e=>void 0!==e))))}get cookies(){return this.cookiesLazy.value}get splitTestingCookies(){return this.splitTestingCookiesLazy.value}}},970:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Lazy=void 0,t.Lazy=class{constructor(e){this.initializer=e,this.instance=void 0,this.initializer=e}get value(){return void 0===this.instance&&(this.instance=this.initializer()),this.instance}}},974:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CookiesInfo=void 0;var i=n(588);Object.defineProperty(t,"CookiesInfo",{enumerable:!0,get:function(){return i.CookiesInfo}})},495:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(104),o=n(601),a=i(n(904)),s=i(n(131)),c=i(n(152)),u=n(593),d=n(974);let l;try{l=n(147).i8}catch(e){l="development"}const f=()=>(0,a.default)("edgio_environment_id_info")||(0,a.default)("edgio_eid")||(0,a.default)("layer0_environment_id_info")||(0,a.default)("layer0_eid")||(0,a.default)("xdn_environment_id_info")||(0,a.default)("xdn_eid");let h=class{constructor(e){}collect(){return Promise.resolve()}};"undefined"!=typeof window&&(h=class{constructor(e={}){var t,n,i;this.index=0,this.clientNavigationHasOccurred=!1,this.debug=!1,this.addToQueue=e=>{this.queue.add(e),this.debug&&console.log("[RUM]",e.name,e.value,`(pageID: ${this.pageID})`)},this.flushQueue=e=>{const{queue:t}=this;t.size>0&&(Array.from(this.queue).forEach((e=>{if(this.metrics[e.name.toLowerCase()]=e.value,this.clientNavigationHasOccurred||(this.clientNavigationHasOccurred=this.originalURL!==location.href),"INP"===e.name){const t=e.attribution;this.metrics.inpel=t.eventTarget}if("CLS"===e.name){const t=e.attribution;this.clientNavigationHasOccurred&&(this.metrics.ils=e.delta),t.largestShiftTarget&&this.metrics.clsel.push(t.largestShiftTarget)}})),t.clear(),this.send())},this.send=()=>{const e=this.createPayload();this.token?this.token.match(/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/)||this.token.match(/^[0-9A-Fa-f]+$/)?(this.debug&&console.log("[RUM] sending",JSON.parse(e)),navigator.sendBeacon?navigator.sendBeacon(this.sendTo,e):fetch(this.sendTo,{body:e,method:"POST",keepalive:!0}),this.index++):console.warn(`[RUM] Not sending rum entry because a token "${this.token}" is not valid.`):console.warn("[RUM] Not sending rum entry because a token was not provided.")},this.originalURL=location.href,this.options=e,this.edgioEnvironmentID=f(),this.token=e.token||this.edgioEnvironmentID,this.sendTo=`${this.options.sendTo||o.DEST_URL}/${this.token}`,this.pageID=(0,s.default)(),this.metrics=this.flushMetrics(),this.cookiesInfo=new d.CookiesInfo,this.queue=new Set,this.debug=null!==(t=this.options.debug)&&void 0!==t?t:"true"===(null===(n=this.cookiesInfo.cookies.find((e=>"edgio_rum_debug"===e.key)))||void 0===n?void 0:n.value);try{this.connectionType=navigator.connection.effectiveType}catch(e){this.debug&&console.debug("[RUM] could not obtain navigator.connection metrics")}(0,u.isV7orGreater)()||void 0===this.edgioEnvironmentID||(this.manifest=new c.default(null!==(i=e.cacheManifestTTL)&&void 0!==i?i:o.CACHE_MANIFEST_TTL))}collect(){if(this.sendPorkfishBeacon(),!(0,u.isServerTimingSupported)())return Promise.resolve();addEventListener("visibilitychange",(()=>{"hidden"===document.visibilityState&&this.flushQueue("visibilitychange")})),addEventListener("pagehide",(()=>this.flushQueue("pagehide"))),(0,r.onFCP)(this.addToQueue),(0,r.onTTFB)(this.addToQueue),(0,r.onLCP)(this.addToQueue),(0,r.onINP)(this.addToQueue),(0,r.onFID)(this.addToQueue),(0,r.onCLS)(this.addToQueue)}sendPorkfishBeacon(){try{const e=crypto.randomUUID();navigator.sendBeacon(`https://${e}.ac.bcon.ecdns.net/udp/${this.token}`)}catch(e){console.warn("could not send beacon",e)}}flushMetrics(){return{clsel:[]}}createPayload(){var e;const t=(0,u.getServerTiming)(),n=t.xrj;let i=this.options.pageLabel||(null===(e=this.options.router)||void 0===e?void 0:e.getPageLabel(this.originalURL));if(!i&&n)try{i=JSON.parse(n).path}catch(e){i=n}if(this.destination||(this.destination=this.getDestination()),!this.connectionType)try{this.connectionType=navigator.connection.effectiveType}catch(e){this.debug&&console.debug("[RUM] could not obtain navigator.connection metrics")}const r=Object.assign(Object.assign({},this.metrics),{i:this.index,u0:this.originalURL,cn:this.clientNavigationHasOccurred?1:0,ux:location.href,pid:this.pageID,t:this.token,ti:document.title,d:this.destination,ua:navigator.userAgent,w:window.screen.width,h:window.screen.height,v:this.getAppVersion(t),cv:l,ht:this.isCacheHit(t),l:i,l0:i,lx:this.getCurrentPageLabel(),c:this.options.country||t.edgio_country||t.country,ct:this.connectionType,epop:t.edgio_pop||t.edge_pop,asn:t.edgio_asn||t.asn});return this.metrics=this.flushMetrics(),JSON.stringify(r)}getSplitTesting(){if(0!==this.cookiesInfo.splitTestingCookies.length)return this.cookiesInfo.splitTestingCookies.map((e=>({e:e.experimentId,v:e.variantId})))}getAppVersion(e){return this.options.appVersion||e["edgio-deployment-id"]||e["layer0-deployment-id"]||e["xdn-deployment-id"]}getDestination(){return this.options.splitTestVariant||(0,a.default)("edgio_destination")||(0,a.default)("layer0_destination")||(0,a.default)("xdn_destination")}isCacheHit(e){var t;if(null!=this.options.cacheHit)return this.options.cacheHit?1:0;if(null!=e.edgio_cache){if(null===(t=e.edgio_cache)||void 0===t?void 0:t.includes("HIT"))return 1;if(null!=e.edgio_cache)return 0}else{const t=e["edgio-cache"]||e["layer0-cache"]||e["xdn-cache"];if(null==t?void 0:t.includes("HIT"))return 1;if(null==t?void 0:t.includes("MISS"))return 0}return null}getCurrentPageLabel(){var e,t;const n=null!==(t=null===(e=this.manifest)||void 0===e?void 0:e.getRoutes())&&void 0!==t?t:[];if(this.options.router)return this.options.router.getPageLabel(location.href);if(n){const e=n.find((e=>e.returnsResponse&&e.route&&new RegExp(e.route,"i").test(location.pathname)));return null==e?void 0:e.criteriaPath}}}),t.default=h},787:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(68);t.default=class{constructor(e,t){this.regex=(0,i.pathToRegexp)(e),this.callback=t}matches(e){return this.regex.test(e.pathname)}}},682:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=i(n(787));t.default=class{constructor(){this.routes=[]}match(e,t){return this.routes.push(new r.default(e,t)),this}getPageLabel(e){const t=new URL(e);let n;const i={setPageLabel:e=>n=e};for(let e of this.routes)e.matches(t)&&e.callback(i);return n}}},625:function(e,t,n){"use strict";var i,r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(495)),a=r(n(682)),s=r(n(981));if("undefined"!=typeof window){const e={Metrics:o.default,Router:a.default,trackConversion:s.default};window.Edgio=Object.assign(Object.assign({},null!==(i=null===window||void 0===window?void 0:window.Edgio)&&void 0!==i?i:{}),e),window.XDN=e,window.Layer0=e}},601:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CACHE_MANIFEST_TIME_KEY=t.CACHE_MANIFEST_DATA_KEY=t.CACHE_MANIFEST_TTL=t.SEND_DELAY=t.DEST_URL=void 0,t.DEST_URL="https://rum.ingress.edgio.net/v1",t.SEND_DELAY=500,t.CACHE_MANIFEST_TTL=3600,t.CACHE_MANIFEST_DATA_KEY="rum_cache_manifest",t.CACHE_MANIFEST_TIME_KEY="rum_cache_manifest_time"},904:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=document.cookie.match("(^|;)\\s*"+e+"\\s*=\\s*([^;]+)");return t?t.pop():void 0}},754:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){const e={};try{const t=performance.getEntriesByType("navigation")[0].serverTiming;if(!t)return;for(let{name:n,description:i}of t)e[n]=decodeURIComponent(i)}catch(e){console.debug("[RUM] could not obtain serverTiming metrics",e)}return e}},981:function(e,t,n){"use strict";var i=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{c(i.next(e))}catch(e){o(e)}}function s(e){try{c(i.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((i=i.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const r=n(601);t.default=e=>i(void 0,void 0,void 0,(function*(){const t=`${r.DEST_URL}/${e.token}/conversion`,n=JSON.stringify({event:e.event,payload:e.payload});try{let e=yield fetch(t,{body:n,method:"POST",keepalive:!0});if(e.ok)return;if(e=yield fetch(t,{body:n,method:"POST",keepalive:!0}),e.ok)return;console.error(`Failed to send conversion event to Edgio. Status: ${e.status} ${e.statusText}`)}catch(e){console.error(`Failed to send conversion event to Edgio. ${e}`)}}))},593:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getServerTiming=t.isV7orGreater=t.isServerTimingSupported=t.isChrome=void 0;const r=i(n(754));t.getServerTiming=r.default,t.isChrome=()=>-1!==navigator.userAgent.toLowerCase().indexOf("chrome"),t.isServerTimingSupported=()=>void 0!==(0,r.default)(),t.isV7orGreater=()=>{const e=(0,r.default)();return!(!e||!e.edgio_country&&!e.edgio_asn)}},131:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n="undefined"!=typeof window&&void 0!==window.crypto&&void 0!==window.crypto.getRandomValues?function(){var e=new Uint16Array(8);window.crypto.getRandomValues(e);var t=function(e){for(var t=e.toString(16);t.length<4;)t="0"+t;return t};return t(e[0])+t(e[1])+"-"+t(e[2])+"-"+t(e[3])+"-"+t(e[4])+"-"+t(e[5])+t(e[6])+t(e[7])}:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}))};t.default=n},104:function(e,t){!function(e){"use strict";var t,n,i,r,o,a=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},s=function(e){if("loading"===document.readyState)return"loading";var t=a();if(t){if(e<t.domInteractive)return"loading";if(0===t.domContentLoadedEventStart||e<t.domContentLoadedEventStart)return"dom-interactive";if(0===t.domComplete||e<t.domComplete)return"dom-content-loaded"}return"complete"},c=function(e){var t=e.nodeName;return 1===e.nodeType?t.toLowerCase():t.toUpperCase().replace(/^#/,"")},u=function(e,t){var n="";try{for(;e&&9!==e.nodeType;){var i=e,r=i.id?"#"+i.id:c(i)+(i.classList&&i.classList.value&&i.classList.value.trim()&&i.classList.value.trim().length?"."+i.classList.value.trim().replace(/\s+/g,"."):"");if(n.length+r.length>(t||100)-1)return n||r;if(n=n?r+">"+n:r,i.id)break;e=i.parentNode}}catch(e){}return n},d=-1,l=function(){return d},f=function(e){addEventListener("pageshow",(function(t){t.persisted&&(d=t.timeStamp,e(t))}),!0)},h=function(){var e=a();return e&&e.activationStart||0},p=function(e,t){var n=a(),i="navigate";return l()>=0?i="back-forward-cache":n&&(document.prerendering||h()>0?i="prerender":document.wasDiscarded?i="restore":n.type&&(i=n.type.replace(/_/g,"-"))),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:i}},v=function(e,t,n){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var i=new PerformanceObserver((function(e){Promise.resolve().then((function(){t(e.getEntries())}))}));return i.observe(Object.assign({type:e,buffered:!0},n||{})),i}}catch(e){}},m=function(e,t,n,i){var r,o;return function(a){t.value>=0&&(a||i)&&((o=t.value-(r||0))||void 0===r)&&(r=t.value,t.delta=o,t.rating=function(e,t){return e>t[1]?"poor":e>t[0]?"needs-improvement":"good"}(t.value,n),e(t))}},g=function(e){requestAnimationFrame((function(){return requestAnimationFrame((function(){return e()}))}))},y=function(e){var t=function(t){"pagehide"!==t.type&&"hidden"!==document.visibilityState||e(t)};addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0)},T=function(e){var t=!1;return function(n){t||(e(n),t=!0)}},_=-1,E=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},x=function(e){"hidden"===document.visibilityState&&_>-1&&(_="visibilitychange"===e.type?e.timeStamp:0,b())},C=function(){addEventListener("visibilitychange",x,!0),addEventListener("prerenderingchange",x,!0)},b=function(){removeEventListener("visibilitychange",x,!0),removeEventListener("prerenderingchange",x,!0)},S=function(){return _<0&&(_=E(),C(),f((function(){setTimeout((function(){_=E(),C()}),0)}))),{get firstHiddenTime(){return _}}},w=function(e){document.prerendering?addEventListener("prerenderingchange",(function(){return e()}),!0):e()},A=[1800,3e3],M=function(e,t){t=t||{},w((function(){var n,i=S(),r=p("FCP"),o=v("paint",(function(e){e.forEach((function(e){"first-contentful-paint"===e.name&&(o.disconnect(),e.startTime<i.firstHiddenTime&&(r.value=Math.max(e.startTime-h(),0),r.entries.push(e),n(!0)))}))}));o&&(n=m(e,r,A,t.reportAllChanges),f((function(i){r=p("FCP"),n=m(e,r,A,t.reportAllChanges),g((function(){r.value=performance.now()-i.timeStamp,n(!0)}))})))}))},L=[.1,.25],I={passive:!0,capture:!0},P=new Date,k=function(e,r){t||(t=r,n=e,i=new Date,O(removeEventListener),R())},R=function(){if(n>=0&&n<i-P){var e={entryType:"first-input",name:t.type,target:t.target,cancelable:t.cancelable,startTime:t.timeStamp,processingStart:t.timeStamp+n};r.forEach((function(t){t(e)})),r=[]}},D=function(e){if(e.cancelable){var t=(e.timeStamp>1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?function(e,t){var n=function(){k(e,t),r()},i=function(){r()},r=function(){removeEventListener("pointerup",n,I),removeEventListener("pointercancel",i,I)};addEventListener("pointerup",n,I),addEventListener("pointercancel",i,I)}(t,e):k(t,e)}},O=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach((function(t){return e(t,D,I)}))},N=[100,300],F=function(e,i){i=i||{},w((function(){var o,a=S(),s=p("FID"),c=function(e){e.startTime<a.firstHiddenTime&&(s.value=e.processingStart-e.startTime,s.entries.push(e),o(!0))},u=function(e){e.forEach(c)},d=v("first-input",u);o=m(e,s,N,i.reportAllChanges),d&&y(T((function(){u(d.takeRecords()),d.disconnect()}))),d&&f((function(){var a;s=p("FID"),o=m(e,s,N,i.reportAllChanges),r=[],n=-1,t=null,O(addEventListener),a=c,r.push(a),R()}))}))},H=0,j=1/0,U=0,B=function(e){e.forEach((function(e){e.interactionId&&(j=Math.min(j,e.interactionId),U=Math.max(U,e.interactionId),H=U?(U-j)/7+1:0)}))},$=function(){return o?H:performance.interactionCount||0},z=function(){"interactionCount"in performance||o||(o=v("event",B,{type:"event",buffered:!0,durationThreshold:0}))},Y=[200,500],q=0,Q=function(){return $()-q},V=[],K={},J=function(e){var t=V[V.length-1],n=K[e.interactionId];if(n||V.length<10||e.duration>t.latency){if(n)n.entries.push(e),n.latency=Math.max(n.latency,e.duration);else{var i={id:e.interactionId,latency:e.duration,entries:[e]};K[i.id]=i,V.push(i)}V.sort((function(e,t){return t.latency-e.latency})),V.splice(10).forEach((function(e){delete K[e.id]}))}},G=[2500,4e3],W={},X=[800,1800],Z=function e(t){document.prerendering?w((function(){return e(t)})):"complete"!==document.readyState?addEventListener("load",(function(){return e(t)}),!0):setTimeout(t,0)},ee=function(e,t){t=t||{};var n=p("TTFB"),i=m(e,n,X,t.reportAllChanges);Z((function(){var r=a();if(r){var o=r.responseStart;if(o<=0||o>performance.now())return;n.value=Math.max(o-h(),0),n.entries=[r],i(!0),f((function(){n=p("TTFB",0),(i=m(e,n,X,t.reportAllChanges))(!0)}))}}))};e.CLSThresholds=L,e.FCPThresholds=A,e.FIDThresholds=N,e.INPThresholds=Y,e.LCPThresholds=G,e.TTFBThresholds=X,e.onCLS=function(e,t){!function(e,t){t=t||{},M(T((function(){var n,i=p("CLS",0),r=0,o=[],a=function(e){e.forEach((function(e){if(!e.hadRecentInput){var t=o[0],n=o[o.length-1];r&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(r+=e.value,o.push(e)):(r=e.value,o=[e])}})),r>i.value&&(i.value=r,i.entries=o,n())},s=v("layout-shift",a);s&&(n=m(e,i,L,t.reportAllChanges),y((function(){a(s.takeRecords()),n(!0)})),f((function(){r=0,i=p("CLS",0),n=m(e,i,L,t.reportAllChanges),g((function(){return n()}))})),setTimeout(n,0))})))}((function(t){!function(e){if(e.entries.length){var t=e.entries.reduce((function(e,t){return e&&e.value>t.value?e:t}));if(t&&t.sources&&t.sources.length){var n=(i=t.sources).find((function(e){return e.node&&1===e.node.nodeType}))||i[0];if(n)return void(e.attribution={largestShiftTarget:u(n.node),largestShiftTime:t.startTime,largestShiftValue:t.value,largestShiftSource:n,largestShiftEntry:t,loadState:s(t.startTime)})}}var i;e.attribution={}}(t),e(t)}),t)},e.onFCP=function(e,t){M((function(t){!function(e){if(e.entries.length){var t=a(),n=e.entries[e.entries.length-1];if(t){var i=t.activationStart||0,r=Math.max(0,t.responseStart-i);return void(e.attribution={timeToFirstByte:r,firstByteToFCP:e.value-r,loadState:s(e.entries[0].startTime),navigationEntry:t,fcpEntry:n})}}e.attribution={timeToFirstByte:0,firstByteToFCP:e.value,loadState:s(l())}}(t),e(t)}),t)},e.onFID=function(e,t){F((function(t){!function(e){var t=e.entries[0];e.attribution={eventTarget:u(t.target),eventType:t.name,eventTime:t.startTime,eventEntry:t,loadState:s(t.startTime)}}(t),e(t)}),t)},e.onINP=function(e,t){!function(e,t){t=t||{},w((function(){var n;z();var i,r=p("INP"),o=function(e){e.forEach((function(e){e.interactionId&&J(e),"first-input"===e.entryType&&!V.some((function(t){return t.entries.some((function(t){return e.duration===t.duration&&e.startTime===t.startTime}))}))&&J(e)}));var t,n=(t=Math.min(V.length-1,Math.floor(Q()/50)),V[t]);n&&n.latency!==r.value&&(r.value=n.latency,r.entries=n.entries,i())},a=v("event",o,{durationThreshold:null!==(n=t.durationThreshold)&&void 0!==n?n:40});i=m(e,r,Y,t.reportAllChanges),a&&("interactionId"in PerformanceEventTiming.prototype&&a.observe({type:"first-input",buffered:!0}),y((function(){o(a.takeRecords()),r.value<0&&Q()>0&&(r.value=0,r.entries=[]),i(!0)})),f((function(){V=[],q=$(),r=p("INP"),i=m(e,r,Y,t.reportAllChanges)})))}))}((function(t){!function(e){if(e.entries.length){var t=e.entries.sort((function(e,t){return t.duration-e.duration||t.processingEnd-t.processingStart-(e.processingEnd-e.processingStart)}))[0];e.attribution={eventTarget:u(t.target),eventType:t.name,eventTime:t.startTime,eventEntry:t,loadState:s(t.startTime)}}else e.attribution={}}(t),e(t)}),t)},e.onLCP=function(e,t){!function(e,t){t=t||{},w((function(){var n,i=S(),r=p("LCP"),o=function(e){var t=e[e.length-1];t&&t.startTime<i.firstHiddenTime&&(r.value=Math.max(t.startTime-h(),0),r.entries=[t],n())},a=v("largest-contentful-paint",o);if(a){n=m(e,r,G,t.reportAllChanges);var s=T((function(){W[r.id]||(o(a.takeRecords()),a.disconnect(),W[r.id]=!0,n(!0))}));["keydown","click"].forEach((function(e){addEventListener(e,(function(){return setTimeout(s,0)}),!0)})),y(s),f((function(i){r=p("LCP"),n=m(e,r,G,t.reportAllChanges),g((function(){r.value=performance.now()-i.timeStamp,W[r.id]=!0,n(!0)}))}))}}))}((function(t){!function(e){if(e.entries.length){var t=a();if(t){var n=t.activationStart||0,i=e.entries[e.entries.length-1],r=i.url&&performance.getEntriesByType("resource").filter((function(e){return e.name===i.url}))[0],o=Math.max(0,t.responseStart-n),s=Math.max(o,r?(r.requestStart||r.startTime)-n:0),c=Math.max(s,r?r.responseEnd-n:0),d=Math.max(c,i?i.startTime-n:0),l={element:u(i.element),timeToFirstByte:o,resourceLoadDelay:s-o,resourceLoadTime:c-s,elementRenderDelay:d-c,navigationEntry:t,lcpEntry:i};return i.url&&(l.url=i.url),r&&(l.lcpResourceEntry=r),void(e.attribution=l)}}e.attribution={timeToFirstByte:0,resourceLoadDelay:0,resourceLoadTime:0,elementRenderDelay:e.value}}(t),e(t)}),t)},e.onTTFB=function(e,t){ee((function(t){!function(e){if(e.entries.length){var t=e.entries[0],n=t.activationStart||0,i=Math.max(t.domainLookupStart-n,0),r=Math.max(t.connectStart-n,0),o=Math.max(t.requestStart-n,0);e.attribution={waitingTime:i,dnsTime:r-i,connectionTime:o-r,requestTime:e.value-o,navigationEntry:t}}else e.attribution={waitingTime:0,dnsTime:0,connectionTime:0,requestTime:0}}(t),e(t)}),t)},Object.defineProperty(e,"__esModule",{value:!0})}(t)},147:e=>{"use strict";e.exports={i8:"7.0.13"}}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={exports:{}};return e[i].call(o.exports,o,o.exports,n),o.exports}n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n(625)})();