PageSourceSearch

https://www.katellavet.com/_next/static/chunks/7871-306b88cb0c975683.js

js katellavet.com collected 2026-10-08 20:38:08 UTC 57,737 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7871],{846:(e,t,n)=>{n.d(t,{Cv:()=>h});var r=function(e,t,n,r,i){var a=e+"=";a+=t||"",void 0!==i?a+="; Expires=".concat(i.toUTCString()):void 0!==r&&(a+="; Expires=".concat(o(r).toUTCString())),a+="; Domain=".concat(n.domain),a+="; Path=".concat(n.path),a+="; SameSite=".concat(n.sameSite),a+=n.secure?"; Secure":"",document.cookie=a},o=function(e){return new Date(new Date().getTime()+1e3*e)},i=function(e){for(var t=document.cookie.split("; "),n=0;n<t.length;n++){var r=t[n].split("=");if(r[0]===e)return r[1]}return""},a=n(18031),s=n(39746),c=n(82325),u=n(8349),d=function(){return(d=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},p="00000000-0000-0000-0000-000000000000",l="unknown",h=function(){function e(e,t,n,r){this.appMonitorDetails=e,this.config=t,this.recordEvent=n,this.pageManager=r,this.sessionCookieName=this.config.cookieAttributes.unique?"".concat(c.IX,"_").concat(this.appMonitorDetails.id):c.IX,this.session={sessionId:p,record:this.sample(),eventCount:0},this.initializeUser(),this.collectAttributes(),this.addSessionAttributes(this.config.sessionAttributes),this.getSessionFromCookie()}return e.prototype.isSampled=function(){return this.session.record},e.prototype.getSession=function(){return this.session.sessionId===p?this.createSession():this.session.sessionId!==p&&new Date>=this.sessionExpiry&&this.createSession(),this.session},e.prototype.getAttributes=function(){return this.attributes},e.prototype.addSessionAttributes=function(e){this.attributes=d(d({},this.attributes),e)},e.prototype.getUserId=function(){return this.useCookies()?this.userId:p},e.prototype.incrementSessionEventCount=function(){this.session.eventCount++,this.renewSession()},e.prototype.isLimitExceeded=function(){return this.session.eventCount>=this.config.sessionEventLimit&&this.config.sessionEventLimit>0},e.prototype.canRecord=function(){return this.session.record&&!this.isLimitExceeded()},e.prototype.initializeUser=function(){var e="";this.userExpiry=new Date,this.userExpiry.setDate(this.userExpiry.getDate()+this.config.userIdRetentionDays),this.config.userIdRetentionDays<=0?this.userId="00000000-0000-0000-0000-000000000000":this.useCookies()?(e=this.getUserIdCookie(),this.userId=e||(0,a.v4)(),this.createOrRenewUserCookie(e,this.userExpiry)):this.userId=(0,a.v4)()},e.prototype.createOrRenewSessionCookie=function(e,t){btoa&&r(this.sessionCookieName,btoa(JSON.stringify(e)),this.config.cookieAttributes,void 0,t)},e.prototype.createOrRenewUserCookie=function(e,t){r(c.fr,e,this.config.cookieAttributes,void 0,t)},e.prototype.getUserIdCookie=function(){return i(c.fr)},e.prototype.getSessionFromCookie=function(){if(this.useCookies()){var e=i(this.sessionCookieName);if(e&&atob)try{this.session=JSON.parse(atob(e)),this.pageManager.resumeSession(this.session.page)}catch(e){}}},e.prototype.storeSessionAsCookie=function(){this.useCookies()&&this.config.userIdRetentionDays>0&&this.createOrRenewUserCookie(this.userId,this.userExpiry),this.useCookies()&&this.createOrRenewSessionCookie(this.session,this.sessionExpiry)},e.prototype.createSession=function(){this.session={sessionId:(0,a.v4)(),record:this.session.sessionId===p?this.session.record:this.sample(),eventCount:0},this.session.page=this.pageManager.getPage(),this.sessionExpiry=new Date(new Date().getTime()+1e3*this.config.sessionLengthSeconds),this.storeSessionAsCookie(),this.recordEvent(u.Ix,{version:"1.0.0"})},e.prototype.renewSession=function(){this.sessionExpiry=new Date(new Date().getTime()+1e3*this.config.sessionLengthSeconds),this.session.page=this.pageManager.getPage(),this.storeSessionAsCookie()},e.prototype.collectAttributes=function(){var e=new s.UAParser(navigator.userAgent).getResult();this.attributes={browserLanguage:navigator.language,browserName:e.browser.name?e.browser.name:l,browserVersion:e.browser.version?e.browser.version:l,osName:e.os.name?e.os.name:l,osVersion:e.os.version?e.os.version:l,deviceType:e.device.type?e.device.type:"desktop",platformType:"web",domain:window.location.hostname,"aws:releaseId":this.config.releaseId}},e.prototype.useCookies=function(){return navigator.cookieEnabled&&this.config.allowCookies},e.prototype.sample=function(){return Math.random()<this.config.sessionSampleRate},e}()}
1,8349:(e,t,n)=>{n.d(t,{Cc:()=>s,G_:()=>c,HB:()=>m,IE:()=>l,Ix:()=>g,Lr:()=>h,Ql:()=>p,RW:()=>u,Wl:()=>d,aT:()=>v,bE:()=>i,dU:()=>f,eZ:()=>o,pS:()=>a});var r="com.amazon.rum",o="com.amazonaws.rum",i="".concat(r,".http_event"),a="".concat(r,".xray_trace_event"),s="".concat(r,".largest_contentful_paint_event"),c="".concat(r,".first_input_delay_event"),u="".concat(r,".cumulative_layout_shift_event"),d="".concat(r,".interaction_to_next_paint_event"),p="".concat(r,".performance_navigation_event"),l="".concat(r,".performance_resource_event"),h="".concat(r,".dom_event"),f="".concat(r,".js_error_event"),v="".concat(r,".page_view_event"),g="".concat(r,".session_start_event"),m="".concat(r,".time_to_interactive_event")},18733:(e,t,n)=>{n.d(t,{h:()=>a});var r=n(83356),o=n(96393),i=function(){var e=function(t,n){return(e=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.enable=t.patch.bind(t,!0),t.disable=t.patch.bind(t,!1),t.enabled=!1,t}return i(t,e),t.prototype.patchAll=function(){for(var e=r.wrap.bind(r),t=0,n=this.patches;t<n.length;t++){var o=n[t];e(o.nodule,o.name,o.wrapper())}},t.prototype.unpatchAll=function(){for(var e=r.unwrap.bind(r),t=0,n=this.patches;t<n.length;t++){var o=n[t];e(o.nodule,o.name)}},t.prototype.patch=function(e){void 0===e&&(e=!0),this.enabled!==e&&(this.enabled=e,e?this.patchAll():this.unpatchAll())},t}(o.h)},34168:(e,t,n)=>{n.d(t,{K6:()=>s,At:()=>a,g$:()=>T,sn:()=>b,yz:()=>y,IK:()=>m,WR:()=>g,sb:()=>u,Rl:()=>v,Fb:()=>S,Jq:()=>I,wr:()=>w,ZE:()=>d,ok:()=>h,je:()=>p,Cg:()=>l,NH:()=>c,C$:()=>f,Uu:()=>E,C_:()=>C});for(var r=function(e){if(crypto)return crypto.getRandomValues(e);if(msCrypto)return msCrypto.getRandomValues(e);throw Error("No crypto library found.")},o=[],i=0;i<256;i++)o[i]=(i+256).toString(16).substr(1);var a="X-Amzn-Trace-Id",s="traceparent",c=function(e,t){return Array.isArray(t)?t.some(function(t){return t.test(e)}):t},u={logicalServiceName:"rum.aws.amazon.com",urlsToInclude:[/.*/],urlsToExclude:[/cognito\-identity\.([^\.]*\.)?amazonaws\.com/,/sts\.([^\.]*\.)?amazonaws\.com/],stackTraceLength:200,recordAllRequests:!1,addXRayTraceIdHeader:!1},d=function(e){return 200<=e&&e<300},p=function(e){return 4===Math.floor(e/100)},l=function(e){return 5===Math.floor(e/100)},h=function(e){return 429===e},f=function(e,t){var n=t.urlsToInclude.some(function(t){return t.test(e)}),r=t.urlsToExclude.some(function(t){return t.test(e)});return n&&!r},v=function(){return Date.now()/1e3},g=function(e,t,n){var r={request:{}};return r.request.method=(null==t?void 0:t.method)?t.method:"GET",r.request.traced=n,r.request.url=C(e),r},m=function(e,t,n,r){var o={version:"1.0.0",name:e,origin:"AWS::RUM::AppMonitor",id:_(),start_time:t,trace_id:n?P():L(),end_time:void 0,subsegments:[],in_progress:!1};return r&&(o.http=r),o},y=function(e,t,n){var r={id:_(),name:e,start_time:t,end_time:void 0,in_progress:!1,namespace:e.endsWith("amazonaws.com")?"aws":"remote"};return n&&(r.http=n),r},E=function(e){try{if(e.hostname)return e.hostname;if(e.url)return new URL(e.url).hostname;return new URL(e.toString()).hostname}catch(e){return window.location.hostname}},b=function(e,t,n,r){e.headers||(e.headers={}),r?e.headers[s]=w(t,n):e.headers[a]=S(t,n)},T=function(e,t,n,r){r?e.set(s,w(t,n)):e.set(a,S(t,n))},S=function(e,t){return"Root="+e+";Parent="+t+";Sampled=1"},w=function(e,t){return"00-"+e+"-"+t+"-01"},I=function(e,t){var n,r,o={};if(e)if(t){var i,c=null==(n=e.get(s))?void 0:n.split("-");c&&(null==(i=c)?void 0:i.length)===4&&2===i[0].length&&32===i[1].length&&16===i[2].length&&("00"===i[3]||"01"===i[3])&&(o.traceId=c[1],o.segmentId=c[2])}else{var c=null==(r=e.get(a))?void 0:r.split(";");(null==c?void 0:c.length)===3&&(o.traceId=c[0].split("Root=")[1],o.segmentId=c[1].split("Parent=")[1])}return o},C=function(e){return e.url?e.url:e.toString()},L=function(){return"1-".concat(O(),"-").concat(R())},P=function(){var e=new Uint8Array(16);return r(e),"".concat(k(e))},_=function(){var e=new Uint8Array(8);return r(e),k(e)},O=function(){return Math.floor(Date.now()/1e3).toString(16)},R=function(){var e=new Uint8Array(12);return r(e),k(e)},k=function(e){for(var t="",n=0;n<e.length;n++)t+=o[e[n]];return t}},44711:(e,t,n)=>{n.d(t,{yT:()=>eg});var r,o,i,a,s=n(12388),c=n(68695),u=n(96393),d=function(){function e(e){this.context=e,this.plugins=new Map}return e.prototype.addPlugin=function(e){var t=e.getPluginId();if(this.hasPlugin(t))throw Error('Plugin "'.concat(t,'" already defined in the PluginManager'));this.plugins.set(t,e),e.load(this.context)},e.prototype.updatePlugin=function(e,t){var n,r=this.getPlugin(e);null==(n=null==r?void 0:r.update)||n.call(r,t)},e.prototype.enable=function(){this.plugins.forEach(function(e){return e.enable()})},e.prototype.disable=function(){this.plugins.forEach(function(e){return e.disable()})},e.prototype.hasPlugin=function(e){return!!this.getPlugin(e)},e.prototype.record=function(e,t){var n=this.getPlugin(e);if((null==n?void 0:n.record)instanceof Function)n.record(t);else throw Error("AWS RUM Client record: Invalid plugin ID")},e.prototype.getPlugin=function(e){var t;return null!=(t=this.plugins.get(e))?t:this.plugins.get(u.h.generatePluginId(e))},e}(),p=n(8349),l=function(){var e=function(t,n){return(e=Object.setPrototypeOf||({__proto__:[]}
1)instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),h=function(){return(h=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},f="dom-event",v={interactionId:function(){return""},enableMutationObserver:!1,events:[]},g=function(e){function t(t){var n=e.call(this,f)||this;return n.enabled=!1,n.eventListenerMap=new Map,n.config=h(h({},v),t),n}return l(t,e),t.getElementInfo=function(e){var t={name:"UNKNOWN"};return e.target instanceof Node&&(t.name=e.target.nodeName),e.target instanceof Element&&e.target.id&&(t.id=e.target.id),t},t.prototype.enable=function(){var e=this;if("complete"!==document.readyState)return void window.addEventListener("load",function(){return e.enable()});this.enabled||(this.addListeners(),this.config.enableMutationObserver&&this.observeDOMMutation(),this.enabled=!0)},t.prototype.disable=function(){this.enabled&&(this.removeListeners(),this.observer&&this.observer.disconnect(),this.enabled=!1)},t.prototype.update=function(e){var t=this;e.forEach(function(e){t.addEventHandler(e),t.config.events.push(e)})},t.prototype.onload=function(){this.enable()},t.prototype.removeListeners=function(){var e=this;this.config.events.forEach(function(t){return e.removeEventHandler(t)})},t.prototype.addListeners=function(){var e=this;this.config.events.forEach(function(t){return e.addEventHandler(t)})},t.prototype.getEventListener=function(e){var n=this;return function(r){var o,i=t.getElementInfo(r),a=n.config.interactionId(r),s=h(h(h({version:"1.1.0",event:r.type,element:i.name},i.id?{elementId:i.id}:{}),a?{interactionId:a}:{}),e?{cssLocator:e}:{});(null==(o=n.context)?void 0:o.record)&&n.context.record(p.Lr,s)}},t.prototype.addEventHandler=function(e){var t=e.event,n=this.getEventListener(e.cssLocator),r=[],o=this.eventListenerMap.has(e)?this.eventListenerMap.get(e):[];if(e.cssLocator)document.querySelectorAll(e.cssLocator).forEach(function(e){r.push(e)});else if(e.elementId){var i=document.getElementById(e.elementId);i&&r.push(i)}else e.element&&r.push(e.element);r.forEach(function(e){e.addEventListener(t,n),o.push({element:e,eventListener:n})}),this.eventListenerMap.set(e,o)},t.prototype.removeEventHandler=function(e){var t=this.eventListenerMap.get(e);t&&(t.forEach(function(t){var n=t.element,r=t.eventListener;n.removeEventListener(e.event,r)}),this.eventListenerMap.delete(e))},t.prototype.observeDOMMutation=function(){var e=this;this.observer=new MutationObserver(function(){e.removeListeners(),e.addListeners()}),this.observer.observe(document,{childList:!0,subtree:!0})},t}(u.h),m=function(e){var t=typeof e;return("object"===t||"function"===t)&&!!e},y=function(e){var t={version:"1.0.0",type:"undefined",message:"undefined"};return void 0!==e.type&&(t.type=e.type),void 0!==e.message&&(t.message=e.message),void 0!==e.filename&&(t.filename=e.filename),void 0!==e.lineno&&(t.lineno=e.lineno),void 0!==e.colno&&(t.colno=e.colno),t},E=function(e,t){"unhandledrejection"!==e.type&&(e.type=t.toString()),e.message=t.toString()},b=function(e,t,n){t.name&&(e.type=t.name),t.message&&(e.message=t.message),t.fileName&&(e.filename=t.fileName),t.lineNumber&&(e.lineno=t.lineNumber),t.columnNumber&&(e.colno=t.columnNumber),n&&t.stack&&(e.stack=t.stack.length>n?t.stack.substring(0,n)+"...":t.stack)},T=function(e){return e!==Object(e)&&null!=e},S=function(e,t){var n=y(e),r=e.error;return m(r)?b(n,r,t):T(r)&&E(n,r),n},w=function(){var e=function(t,n){return(e=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),I=function(){return(I=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},C="js-error",L={stackTraceLength:1e3,ignore:function(){return!1}},P=function(e){function t(t){var n=e.call(this,C)||this;return n.eventHandler=function(e){n.config.ignore(e)||n.recordJsErrorEvent(e)}
1,n.promiseRejectEventHandler=function(e){n.config.ignore(e)||n.recordJsErrorEvent({type:e.type,error:e.reason})},n.config=I(I({},L),t),n}return w(t,e),t.prototype.enable=function(){this.enabled||(this.addEventHandler(),this.enabled=!0)},t.prototype.disable=function(){this.enabled&&(this.removeEventHandler(),this.enabled=!1)},t.prototype.record=function(e){e instanceof ErrorEvent?this.recordJsErrorEvent(e):this.recordJsErrorEvent({type:"error",error:e})},t.prototype.onload=function(){this.addEventHandler()},t.prototype.recordJsErrorEvent=function(e){var t;null==(t=this.context)||t.record(p.dU,S(e,this.config.stackTraceLength))},t.prototype.addEventHandler=function(){window.addEventListener("error",this.eventHandler),window.addEventListener("unhandledrejection",this.promiseRejectEventHandler)},t.prototype.removeEventHandler=function(){window.removeEventListener("error",this.eventHandler),window.removeEventListener("unhandledrejection",this.promiseRejectEventHandler)},t}(u.h),_=n(14724),O=n(29808);!function(e){e.OTHER="other",e.STYLESHEET="stylesheet",e.DOCUMENT="document",e.SCRIPT="script",e.IMAGE="image",e.FONT="font"}(r||(r={})),function(e){e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.FRAME="frame",e.SCRIPT="script",e.CSS="css"}(o||(o={}));var R=function(e){return[e.startTime,e.duration].join("#")},k=[{name:r.STYLESHEET,list:["css","less"]},{name:r.DOCUMENT,list:["htm","html","ts","doc","docx","pdf","xls","xlsx"]},{name:r.SCRIPT,list:["js"]},{name:r.IMAGE,list:["ai","bmp","gif","ico","jpeg","jpg","png","ps","psd","svg","tif","tiff"]},{name:r.FONT,list:["fnt","fon","otf","ttf","woff"]}],A=function(e){for(var t=e.length-1;t>0;t--){var n=Math.floor(Math.random()*(t+1)),r=e[t];e[t]=e[n],e[n]=r}},x=function(e,t){var n=r.OTHER;if(e){var i=e.substring(e.lastIndexOf("/")+1),a=i.substring(i.lastIndexOf(".")+1).split(/[?#]/)[0];k.forEach(function(e){e.list.indexOf(a)>-1&&(n=e.name)})}if(t&&n===r.OTHER)switch(t){case o.IMAGE:case o.IMG:case o.INPUT:n=r.IMAGE;break;case o.IFRAME:case o.FRAME:n=r.DOCUMENT;break;case o.SCRIPT:n=r.SCRIPT;break;case o.CSS:n=r.STYLESHEET}return n},M=function(){return PerformanceObserver.supportedEntryTypes.includes("largest-contentful-paint")},H=/.*\/application\/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\/events/,D=function(e,t){try{return new URL(e).hostname===t&&H.test(e)}catch(e){return!1}},j={eventLimit:10,ignore:function(e){return"resource"===e.entryType&&(!/^https?:/.test(e.name)||/^(fetch|xmlhttprequest)$/.test(e.initiatorType))},recordAllTypes:[r.DOCUMENT,r.SCRIPT,r.STYLESHEET,r.FONT],sampleTypes:[r.IMAGE,r.OTHER],reportAllLCP:!1,reportAllCLS:!1,reportAllINP:!1},N=function(){var e=function(t,n){return(e=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),U=function(){return(U=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},W="navigation",q="load",F=function(e){function t(t){var n=e.call(this,"navigation")||this;return n.eventListener=function(){0===performance.getEntriesByType(W).length?n.performanceNavigationEventHandlerTimingLevel1():new PerformanceObserver(function(e){e.getEntries().filter(function(e){return e.entryType===W}).filter(function(e){return!n.config.ignore(e)}).forEach(function(e){n.performanceNavigationEventHandlerTimingLevel2(e)})}).observe({entryTypes:[W]})},n.performanceNavigationEventHandlerTimingLevel1=function(){setTimeout(function(){var e,t=performance.timing,r=t.navigationStart,o={version:"1.0.0",initiatorType:"navigation",startTime:0,unloadEventStart:t.unloadEventStart>0?t.unloadEventStart-r:0,promptForUnload:t.unloadEventEnd-t.unloadEventStart,redirectStart:t.redirectStart>0?t.redirectStart-r:0,redirectTime:t.redirectEnd-t.redirectStart,fetchStart:t.fetchStart>0?t.fetchStart-r:0,domainLookupStart:t.domainLookupStart>0?t.domainLookupStart-r:0,dns:t.domainLookupEnd-t.domainLookupStart,connectStart:t.connectStart>0?t.connectStart-r:0,connect:t.connectEnd-t.connectStart,secureConnectionStart:t.secureConnectionStart>0?t.secureConnectionStart-r:0,tlsTime:t.secureConnectionStart>0?t.connectEnd-t.secureConnectionStart:0,requestStart:t.requestStart>0?t.requestStart-r:0,timeToFirstByte:t.responseStart-t.requestStart,responseStart:t.responseStart>0?t.responseStart-r:0,responseTime:t.responseStart>0?t.responseEnd-t.responseStart:0,domInteractive:t.domInteractive>0?t.domInteractive-r:0,domContentLoadedEventStart:t.domContentLoadedEventStart>0?t.domContentLoadedEventStart-r:0,domContentLoaded:t.domContentLoadedEventEnd-t.domContentLoadedEventStart,domComplete:t.domComplete>0?t.domComplete-r:0,domProcessingTime:t.loadEventStart-t.responseEnd,loadEventStart:t.loadEventStart>0?t.loadEventStart-r:0,loadEventTime:t.loadEventEnd-t.loadEventStart,duration:t.loadEventEnd-t.navigationStart,navigationTimingLevel:1};(null==(e=n.context)?void 0:e.record)&&n.context.record(p.Ql,o)},0)},n.performanceNavigationEventHandlerTimingLevel2=function(e){var t,r={version:"1.0.0",initiatorType:e.initiatorType,navigationType:e.type,startTime:e.startTime,unloadEventStart:e.unloadEventStart,promptForUnload:e.unloadEventEnd-e.unloadEventStart,redirectCount:e.redirectCount,redirectStart:e.redirectStart,redirectTime:e.redirectEnd-e.redirectStart,workerStart:e.workerStart,workerTime:e.workerStart>0?e.fetchStart-e.workerStart:0,fetchStart:e.fetchStart,domainLookupStart:e.domainLookupStart,dns:e.domainLookupEnd-e.domainLookupStart,nextHopProtocol:e.nextHopProtocol,connectStart:e.connectStart,connect:e.connectEnd-e.connectStart,secureConnectionStart:e.secureConnectionStart,tlsTime:e.secureConnectionStart>0?e.connectEnd-e.secureConnectionStart:0,requestStart:e.requestStart,timeToFirstByte:e.responseStart-e.requestStart,responseStart:e.responseStart,responseTime:e.responseStart>0?e.responseEnd-e.responseStart:0,domInteractive:e.domInteractive,domContentLoadedEventStart:e.domContentLoadedEventStart,domContentLoaded:e.domContentLoadedEventEnd-e.domContentLoadedEventStart,domComplete:e.domComplete,domProcessingTime:e.loadEventStart-e.responseEnd,loadEventStart:e.loadEventStart,loadEventTime:e.loadEventEnd-e.loadEventStart,duration:e.duration,headerSize:e.transferSize>0?e.transferSize-e.encodedBodySize:0,transferSize:e.transferSize,compressionRatio:e.encodedBodySize>0?e.decodedBodySize/e.encodedBodySize:0,navigationTimingLevel:2};(null==(t=n.context)?void 0:t.record)&&n.context.record(p.Ql,r)},n.config=U(U({},j),t),n}return N(t,e),t.prototype.enable=function(){this.enabled||(this.enabled=!0,window.addEventListener(q,this.eventListener))},t.prototype.disable=function(){this.enabled&&(this.enabled=!1,this.eventListener&&window.removeEventListener(q,this.eventListener))},t.prototype.hasTheWindowLoadEventFired=function(){return!!window.performance&&!!window.performance.getEntriesByType(W).length&&!!window.performance.getEntriesByType(W)[0].loadEventEnd},t.prototype.onload=function(){var e=this;this.enabled&&(this.hasTheWindowLoadEventFired()?window.performance.getEntriesByType(W).filter(function(t){return!e.config.ignore(t)}
1).forEach(function(t){return e.performanceNavigationEventHandlerTimingLevel2(t)}):window.addEventListener(q,this.eventListener))},t}(u.h),B=function(){var e=function(t,n){return(e=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),V=function(){return(V=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},X="resource",z=function(e){function t(t){var n=e.call(this,"resource")||this;return n.performanceEntryHandler=function(e){n.recordPerformanceEntries(e.getEntries())},n.recordPerformanceEntries=function(e){var t=[],r=[];for(e.filter(function(e){return e.entryType===X}).filter(function(e){return!n.config.ignore(e)}).forEach(function(e){var o=x(e.name,e.initiatorType);n.config.recordAllTypes.includes(o)?t.push(e):n.config.sampleTypes.includes(o)&&r.push(e)}),t.forEach(function(e){return n.recordResourceEvent(e)}),A(r);r.length>0&&n.eventCount<n.config.eventLimit;)n.recordResourceEvent(r.pop()),n.eventCount++},n.recordResourceEvent=function(e){var t,r=e.name,o=e.startTime,i=e.initiatorType,a=e.duration,s=e.transferSize;if(!D(r,n.context.config.endpointUrl.hostname)&&(null==(t=n.context)?void 0:t.record)){var c={version:"1.0.0",initiatorType:i,startTime:o,duration:a,fileType:x(r,i),transferSize:s};n.context.config.recordResourceUrl&&(c.targetUrl=r),n.context.record(p.IE,c)}},n.config=V(V({},j),t),n.eventCount=0,n.resourceObserver=new PerformanceObserver(n.performanceEntryHandler),n}return B(t,e),t.prototype.enable=function(){this.enabled||(this.enabled=!0,this.resourceObserver.observe({type:X,buffered:!0}))},t.prototype.disable=function(){this.enabled&&(this.enabled=!1,this.resourceObserver.disconnect())},t.prototype.onload=function(){this.resourceObserver.observe({type:X,buffered:!0})},t}(u.h),K=n(18260),G=n(88468),Q=function(){var e=function(t,n){return(e=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),J=function(){return(J=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},Y=function(e){function t(t){var n=e.call(this,"web-vitals")||this;return n.resourceEventIds=new Map,n.cacheLCPCandidates=M(),n.handleEvent=function(e){switch(e.type){case p.IE:var t=e.details;n.cacheLCPCandidates&&t.fileType===r.IMAGE&&n.resourceEventIds.set(R(e.details),e.id);break;case p.Ql:n.navigationEventId=e.id}},n.config=J(J({},j),t),n}return Q(t,e),t.prototype.enable=function(){},t.prototype.disable=function(){},t.prototype.onload=function(){var e=this;this.context.eventBus.subscribe(G.K.EVENT,this.handleEvent),(0,K.fK)(function(t){return e.handleLCP(t)},{reportAllChanges:this.config.reportAllLCP}),(0,K.lt)(function(t){return e.handleFID(t)}),(0,K.IN)(function(t){return e.handleCLS(t)},{reportAllChanges:!0}),(0,K.rH)(function(t){return e.handleINP(t)},{reportAllChanges:!0})},t.prototype.handleLCP=function(e){var t,n,r=e.attribution,o={element:r.element,url:r.url,timeToFirstByte:r.timeToFirstByte,resourceLoadDelay:r.resourceLoadDelay,resourceLoadTime:r.resourceLoadDuration,elementRenderDelay:r.elementRenderDelay};if(r.lcpResourceEntry){var i=R(r.lcpResourceEntry);o.lcpResourceEntry=this.resourceEventIds.get(i)}this.navigationEventId&&(o.navigationEntry=this.navigationEventId),null==(t=this.context)||t.record(p.Cc,{version:"1.0.0",value:e.value,attribution:o}),null==(n=this.context)||n.eventBus.unsubscribe(G.K.EVENT,this.handleEvent),this.resourceEventIds.clear(),this.navigationEventId=void 0},t.prototype.handleCLS=function(e){var t=e.attribution,n=this.context,r=n.record,o=n.recordCandidate;(this.config.reportAllCLS?r:o)(p.RW,{version:"1.0.0",value:e.value,attribution:{largestShiftTarget:t.largestShiftTarget,largestShiftValue:t.largestShiftValue,largestShiftTime:t.largestShiftTime,loadState:t.loadState}})},t.prototype.handleFID=function(e){var t,n=e.attribution;null==(t=this.context)||t.record(p.G_,{version:"1.0.0",value:e.value,attribution:{eventTarget:n.eventTarget,eventType:n.eventType,eventTime:n.eventTime,loadState:n.loadState}})},t.prototype.handleINP=function(e){var t=e.attribution,n=this.context,r=n.record,o=n.recordCandidate;(this.config.reportAllINP?r:o)(p.Wl,{version:"1.0.0",value:e.value,attribution:{interactionTarget:t.interactionTarget,interactionTime:t.interactionTime,nextPaintTime:t.nextPaintTime,interactionType:t.interactionType,inputDelay:t.inputDelay,processingDuration:t.processingDuration,presentationDelay:t.presentationDelay,loadState:t.loadState}})},t}(u.h),$=n(18733),Z=n(34168),ee=n(76134),et=function(){var e=function(t,n){return(e=Object.setPrototypeOf||({__proto__:[]}
1)instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),en=function(){return(en=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},er=function(e){function t(t){var n=e.call(this,"xhr")||this;return n.addXRayTraceIdHeader=function(e){return(0,Z.NH)(e,n.config.addXRayTraceIdHeader)},n.isTracingEnabled=function(){return n.context.config.enableXRay},n.isSessionRecorded=function(){var e;return(null==(e=n.context.getSession())?void 0:e.record)||!1},n.handleXhrLoadEvent=function(e){var t=e.target,r=n.xhrMap.get(t);if(r){var o=(0,Z.Rl)();r.trace.end_time=o,r.trace.subsegments[0].end_time=o,r.trace.subsegments[0].http.response={status:t.status},(0,Z.ok)(t.status)?(r.trace.subsegments[0].throttle=!0,r.trace.throttle=!0):(0,Z.je)(t.status)?(r.trace.subsegments[0].error=!0,r.trace.error=!0):(0,Z.Cg)(t.status)&&(r.trace.subsegments[0].fault=!0,r.trace.fault=!0);var i=t.getResponseHeader("Content-Length"),a=i?parseInt(i,10):NaN;isNaN(a)||(r.trace.subsegments[0].http.response.content_length=a),n.recordTraceEvent(r.trace),n.recordHttpEventWithResponse(r,t)}},n.handleXhrErrorEvent=function(e){var t=e.target,r=n.xhrMap.get(t),o=t.statusText?t.status.toString()+": "+t.statusText:t.status.toString();if(r){var i=(0,Z.Rl)();r.trace.fault=!0,r.trace.end_time=i,r.trace.subsegments[0].end_time=i,r.trace.subsegments[0].fault=!0,r.trace.subsegments[0].cause={exceptions:[{type:"XMLHttpRequest error",message:o}]},n.recordTraceEvent(r.trace),n.recordHttpEventWithError(r,t,new ee.f(o))}},n.handleXhrAbortEvent=function(e){var t=e.target,r=n.xhrMap.get(t);r&&n.handleXhrDetailsOnError(r,t,"XMLHttpRequest abort")},n.handleXhrTimeoutEvent=function(e){var t=e.target,r=n.xhrMap.get(t);n.handleXhrDetailsOnError(r,t,"XMLHttpRequest timeout")},n.initializeTrace=function(e){var t=(0,Z.Rl)();e.trace=(0,Z.IK)(n.config.logicalServiceName,t,n.context.config.enableW3CTraceId),e.trace.subsegments.push((0,Z.yz)((0,Z.Uu)(e.url),t,{request:{method:e.method,url:e.url,traced:!0}}))},n.sendWrapper=function(){return function(e){return function(){var t=n.xhrMap.get(this);return t&&(this.addEventListener("load",n.handleXhrLoadEvent),this.addEventListener("error",n.handleXhrErrorEvent),this.addEventListener("abort",n.handleXhrAbortEvent),this.addEventListener("timeout",n.handleXhrTimeoutEvent),n.initializeTrace(t),!n.isSyntheticsUA&&n.isTracingEnabled()&&n.addXRayTraceIdHeader(t.url)&&n.isSessionRecorded()&&(n.context.config.enableW3CTraceId?this.setRequestHeader(Z.K6,(0,Z.wr)(t.trace.trace_id,t.trace.subsegments[0].id)):this.setRequestHeader(Z.At,(0,Z.Fb)(t.trace.trace_id,t.trace.subsegments[0].id)))),e.apply(this,arguments)}}},n.openWrapper=function(){return function(e){return function(t,r,o){return(0,Z.C$)(r,n.config)&&n.xhrMap.set(this,{url:r,method:t,async:o}),e.apply(this,arguments)}}},n.config=en(en({},Z.sb),t),n.xhrMap=new Map,n.isSyntheticsUA=navigator.userAgent.includes("CloudWatchSynthetics"),n}return et(t,e),t.prototype.onload=function(){this.enable()},Object.defineProperty(t.prototype,"patches",{get:function(){return[{nodule:XMLHttpRequest.prototype,name:"send",wrapper:this.sendWrapper},{nodule:XMLHttpRequest.prototype,name:"open",wrapper:this.openWrapper}]},enumerable:!1,configurable:!0}),t.prototype.handleXhrDetailsOnError=function(e,t,n){if(e){var r=(0,Z.Rl)();e.trace.end_time=r,e.trace.subsegments[0].end_time=r,e.trace.subsegments[0].error=!0,e.trace.subsegments[0].cause={exceptions:[{type:n}]},this.recordTraceEvent(e.trace),this.recordHttpEventWithError(e,t,n)}},t.prototype.statusOk=function(e){return e>=200&&e<300},t.prototype.recordHttpEventWithResponse=function(e,t){this.xhrMap.delete(t);var n={version:"1.0.0",request:{method:e.method,url:e.url},response:{status:t.status,statusText:t.statusText}};this.isTracingEnabled()&&(n.trace_id=e.trace.trace_id,n.segment_id=e.trace.subsegments[0].id),(this.config.recordAllRequests||!this.statusOk(t.status))&&this.context.record(p.bE,n)},t.prototype.recordHttpEventWithError=function(e,t,n){this.xhrMap.delete(t);var r={version:"1.0.0",request:{method:e.method,url:e.url},error:S({type:"error",error:n},this.config.stackTraceLength)};this.isTracingEnabled()&&(r.trace_id=e.trace.trace_id,r.segment_id=e.trace.subsegments[0].id),this.context.record(p.bE,r)},t.prototype.recordTraceEvent=function(e){!this.isSyntheticsUA&&this.isTracingEnabled()&&this.isSessionRecorded()&&this.context.record(p.pS,e)},t}($.h),eo=function(){var e=function(t,n){return(e=Object.setPrototypeOf||({__proto__:[]}
1)instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ei=function(){return(ei=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},ea=function(e){function t(t){var n=e.call(this,"fetch")||this;return n.isTracingEnabled=function(){return n.context.config.enableXRay},n.isSessionRecorded=function(){var e;return(null==(e=n.context.getSession())?void 0:e.record)||!1},n.beginTrace=function(e,t,r){var o=(0,Z.Rl)(),i=(0,Z.WR)(e,t,!0),a=(0,Z.IK)(n.config.logicalServiceName,o,n.context.config.enableW3CTraceId),s=(0,Z.yz)((0,Z.Uu)(e),o,i);return a.subsegments.push(s),n.isTraceIdHeaderEnabled(e)&&n.addXRayTraceIdHeader(e,t,r,a),a},n.addXRayTraceIdHeader=function(e,t,r,o){if(e.headers)return(0,Z.g$)(e.headers,o.trace_id,o.subsegments[0].id,n.context.config.enableW3CTraceId);t||(t={},[].push.call(r,t)),(0,Z.sn)(t,o.trace_id,o.subsegments[0].id,n.context.config.enableW3CTraceId)},n.endTrace=function(e,t,r){if(e){var o=(0,Z.Rl)();if(e.subsegments[0].end_time=o,e.end_time=o,t){e.subsegments[0].http.response={status:t.status},(0,Z.ok)(t.status)?(e.subsegments[0].throttle=!0,e.throttle=!0):(0,Z.je)(t.status)?(e.subsegments[0].error=!0,e.error=!0):(0,Z.Cg)(t.status)&&(e.subsegments[0].fault=!0,e.fault=!0);var i=t.headers.get("Content-Length"),a=i?parseInt(i,10):NaN;isNaN(a)||(e.subsegments[0].http.response.content_length=a)}r&&(e.fault=!0,e.subsegments[0].fault=!0,r instanceof Object?n.appendErrorCauseFromObject(e.subsegments[0],r):T(r)&&n.appendErrorCauseFromPrimitive(e.subsegments[0],r.toString())),n.context.record(p.pS,e)}},n.createHttpEvent=function(e,t){return{version:"1.0.0",request:{url:(0,Z.C_)(e),method:(null==t?void 0:t.method)?t.method:e.method?e.method:"GET"}}},n.recordHttpEventWithResponse=function(e,t){(n.config.recordAllRequests||!t.ok)&&(e.response={status:t.status,statusText:t.statusText},n.context.record(p.bE,e))},n.recordHttpEventWithError=function(e,t){e.error=S({type:"error",error:t},n.config.stackTraceLength),n.context.record(p.bE,e)},n.fetch=function(e,t,r,o,i){var a,s=n.createHttpEvent(o,i);if(!(0,Z.C$)((0,Z.C_)(o),n.config))return e.apply(t,r);var c=(0,Z.Jq)(o.headers,n.context.config.enableW3CTraceId);return c.traceId&&c.segmentId?(s.trace_id=c.traceId,s.segment_id=c.segmentId):n.isTracingEnabled()&&n.isSessionRecorded()&&(s.trace_id=(a=n.beginTrace(o,i,r)).trace_id,s.segment_id=a.subsegments[0].id),e.apply(t,r).then(function(e){return n.endTrace(a,e,void 0),n.recordHttpEventWithResponse(s,e),e}).catch(function(e){throw n.endTrace(a,void 0,e),n.recordHttpEventWithError(s,e),e})},n.fetchWrapper=function(){return function(e){return function(t,r){return n.fetch(e,this,arguments,t,r)}}},n.config=ei(ei({},Z.sb),t),n}return eo(t,e),Object.defineProperty(t.prototype,"patches",{get:function(){return[{nodule:window,name:"fetch",wrapper:this.fetchWrapper}]},enumerable:!1,configurable:!0}),t.prototype.onload=function(){this.enable()},t.prototype.isTraceIdHeaderEnabled=function(e){var t=(0,Z.C_)(e);return(0,Z.NH)(t,this.config.addXRayTraceIdHeader)},t.prototype.appendErrorCauseFromPrimitive=function(e,t){e.cause={exceptions:[{type:t}]}},t.prototype.appendErrorCauseFromObject=function(e,t){e.cause={exceptions:[{type:t.name,message:t.message}]}},t}($.h),es=function(){var e=function(t,n){return(e=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ec=function(e){function t(){var t=e.call(this,"page-view")||this;return t.pushState=function(){return function(e){return function(n,r,o){var i=e.apply(this,arguments);return t.recordPageView(),i}}},t.replaceState=function(){return function(e){return function(n,r,o){var i=e.apply(this,arguments);return t.recordPageView(),i}}},t.popstateListener=function(e){t.recordPageView()},t.recordPageView=function(){t.context.recordPageView(t.createIdForCurrentPage())},t.enable(),t}return es(t,e),t.prototype.onload=function(){this.addListener(),this.recordPageView()},Object.defineProperty(t.prototype,"patches",{get:function(){return[{nodule:History.prototype,name:"pushState",wrapper:this.pushState},{nodule:History.prototype,name:"replaceState",wrapper:this.replaceState}]}
1,enumerable:!1,configurable:!0}),t.prototype.addListener=function(){window.addEventListener("popstate",this.popstateListener)},t.prototype.createIdForCurrentPage=function(){var e=window.location.pathname,t=window.location.hash;switch(this.context.config.pageIdFormat){case a.PathAndHash:if(e&&t)return e+t;if(e)return e;if(t)return t;return"";case a.Hash:return t||"";case a.Path:default:return e||""}},t}($.h),eu=n(82325),ed=function(){return(ed=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},ep=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},el=function(e,t,n){if(n||2==arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},eh="us-west-2",ef="https://dataplane.rum.".concat(eh,".amazonaws.com");!function(e){e.Errors="errors",e.Performance="performance",e.Interaction="interaction",e.Http="http"}(i||(i={})),function(e){e.Path="PATH",e.Hash="HASH",e.PathAndHash="PATH_AND_HASH"}(a||(a={}));var ev={candidatesCacheSize:10},eg=function(){function e(e,t,n,r){void 0===r&&(r={});var o=r.cookieAttributes,i=ep(r,["cookieAttributes"]);this.eventBus=new G.A,void 0===n&&(n="us-west-2");var s=ed(ed({},{unique:!1,domain:window.location.hostname,path:"/",sameSite:"Strict",secure:!0}),o);this.config=ed(ed(ed({fetchFunction:fetch},ed({allowCookies:!1,batchLimit:100,client:eu.nB,cookieAttributes:s,disableAutoPageView:!1,dispatchInterval:5e3,enableRumClient:!0,enableXRay:!1,endpoint:ef,endpointUrl:new URL(ef),eventCacheSize:200,eventPluginsToLoad:[],pageIdFormat:a.Path,pagesToExclude:[],pagesToInclude:[/.*/],signing:!0,recordResourceUrl:!0,retries:2,routeChangeComplete:100,routeChangeTimeout:1e4,sessionAttributes:{},sessionEventLimit:200,sessionLengthSeconds:1800,sessionSampleRate:1,telemetries:[],useBeacon:!0,userIdRetentionDays:30,enableW3CTraceId:!1},ev)),i),ev),this.config.endpoint=this.getDataPlaneEndpoint(n,i),this.config.endpointUrl=new URL(this.config.endpoint),this.eventCache=this.initEventCache(e,t),this.dispatchManager=this.initDispatch(n,e),this.pluginManager=this.initPluginManager(e,t),this.config.enableRumClient?this.enable():this.disable()}return e.prototype.setAwsCredentials=function(e){this.dispatchManager.setAwsCredentials(e)},e.prototype.addSessionAttributes=function(e){this.eventCache.addSessionAttributes(e)},e.prototype.addPlugin=function(e){this.pluginManager.addPlugin(e)},e.prototype.dispatch=function(){this.dispatchManager.dispatchFetch()},e.prototype.dispatchBeacon=function(){this.dispatchManager.dispatchBeacon()},e.prototype.enable=function(){this.eventCache.enable(),this.pluginManager.enable(),this.dispatchManager.enable()},e.prototype.disable=function(){this.dispatchManager.disable(),this.pluginManager.disable(),this.eventCache.disable()},e.prototype.allowCookies=function(e){this.config.allowCookies=e},e.prototype.recordPageView=function(e){this.eventCache.recordPageView(e)},e.prototype.recordError=function(e){this.pluginManager.record(C,e)},e.prototype.registerDomEvents=function(e){this.pluginManager.updatePlugin(f,e)},e.prototype.recordEvent=function(e,t){this.eventCache.recordEvent(e,t)},e.prototype.initEventCache=function(e,t){return new _.j({id:e,version:t},this.config,this.eventBus)},e.prototype.initDispatch=function(e,t){var n=new O.P(e,this.config.endpointUrl,this.eventCache,this.config);return this.eventCache.isSessionSampled()&&(this.config.identityPoolId&&this.config.guestRoleArn?n.setAwsCredentials(new s.F(this.config,t).ChainAnonymousCredentialsProvider):this.config.identityPoolId&&n.setAwsCredentials(new c.Z(this.config,t).ChainAnonymousCredentialsProvider)),n},e.prototype.initPluginManager=function(e,t){var n=el(el([],this.constructBuiltinPlugins(),!0),this.config.eventPluginsToLoad,!0),r=new d({applicationId:e,applicationVersion:t,config:this.config,record:this.eventCache.recordEvent,recordCandidate:this.eventCache.recordCandidate,recordPageView:this.eventCache.recordPageView,getSession:this.eventCache.getSession,eventBus:this.eventBus});return this.config.disableAutoPageView||r.addPlugin(new ec),n.forEac
1h(function(e){r.addPlugin(e)}),r},e.prototype.constructBuiltinPlugins=function(){var e=[],t=this.telemetryFunctor();return this.config.telemetries.forEach(function(n){"string"==typeof n&&t[n.toLowerCase()]?e=el(el([],e,!0),t[n.toLowerCase()]({}),!0):Array.isArray(n)&&t[n[0].toLowerCase()]&&(e=el(el([],e,!0),t[n[0].toLowerCase()](n[1]),!0))}),e},e.prototype.getDataPlaneEndpoint=function(e,t){return t.endpoint?t.endpoint:ef.replace(eh,e)},e.prototype.telemetryFunctor=function(){var e;return(e={})[i.Errors]=function(e){return[new P(e)]},e[i.Performance]=function(e){return[new F(e),new z(e),new Y(e)]},e[i.Interaction]=function(e){return[new g(e)]},e[i.Http]=function(e){return[new er(e),new ea(e)]},e},e}(),em=n(66631),ey="navigation",eE=function(){function e(e){var t=this;this.visuallyReadyTimestamp=0,this.timeIntervals=0,this.fcpSupported=!1,this.lcpSupported=!1,this.cleanupVisuallyReadySearch=!1,this.CHECK_PERIOD=1e3,this.VISUALLY_READY_RESOLVE_TIMEOUT=1e4,this.visualReadyIntervalHandler=function(){var e=t.timeIntervals*t.CHECK_PERIOD>t.VISUALLY_READY_RESOLVE_TIMEOUT;t.isOkToResolveVisuallyReady(e)?(t.visuallyReadyTimestamp=Math.max(t.fcpTime?t.fcpTime:0,t.lcpTime?t.lcpTime:0,t.domContentLoadedEventEnd?t.domContentLoadedEventEnd:0),clearInterval(t.visualReadyInterval),t.cleanupVisuallyReadySearch=!0,t.quietWindowSearch.startTtiSearch(t.visuallyReadyTimestamp)):e&&(t.cleanupVisuallyReadySearch=!0,t.quietWindowSearch.cleanupQuietWindowSearch()),t.timeIntervals+=1},this.navEventListener=function(){var e=new PerformanceObserver(function(n){t.cleanupVisuallyReadySearch&&e.disconnect(),n.getEntries().filter(function(e){return e.entryType===ey}).map(function(e){return e}).forEach(function(e){e.domContentLoadedEventEnd&&(t.domContentLoadedEventEnd=e.domContentLoadedEventEnd)})});e.observe({type:ey,buffered:!0})},this.initListeners(),this.quietWindowSearch=e,this.visualReadyInterval=this.startVisualReadyInterval()}return e.prototype.startVisualReadyInterval=function(){return setInterval(this.visualReadyIntervalHandler,this.CHECK_PERIOD)},e.prototype.isOkToResolveVisuallyReady=function(e){var t=void 0!==this.lcpTime&&void 0!==this.fcpTime&&void 0!==this.domContentLoadedEventEnd,n=this.lcpSupported&&void 0!==this.lcpTime||this.fcpSupported&&void 0!==this.fcpTime||void 0!==this.domContentLoadedEventEnd;return!!t||!!e&&!!n},e.prototype.handleWebVitals=function(e){var t=this;"FCP"===e.name&&e.entries.forEach(function(e){return t.fcpTime=e.startTime+e.duration}),"LCP"===e.name&&e.entries.forEach(function(e){return t.lcpTime=e.startTime+e.duration})},e.prototype.initListeners=function(){var e=this;this.navEventListener(),this.lcpSupported=M(),this.fcpSupported=PerformanceObserver.supportedEntryTypes.includes("paint"),this.fcpSupported&&(this.fcpTime=void 0,(0,em.zB)(function(t){return e.handleWebVitals(t)})),this.lcpSupported&&(this.lcpTime=void 0,(0,em.fK)(function(t){return e.handleWebVitals(t)}))},e}(),eb="longtask",eT=function(){function e(e,t){var n=this;this.ttiTracker={},this.ttiResolved=!1,this.startBucket=0,this.currBucket=0,this.acceptedIntervals=0,this.totalIntervals=0,this.visuallyReadyTimestamp=0,this.fpsEnabled=!1,this.COLLECTION_PERIOD=100,this.REQUIRED_ACCEPTED_INTERVALS=5,this.CHECK_PERIOD=1e3,this.TTI_RESOLVE_TIMEOUT=1e4,this.FPS_THRESHOLD=20/(1e3/this.COLLECTION_PERIOD),this.LONG_TASK_THRESHOLD=0,this.ttiIntervalHandler=function(){n.totalIntervals*n.CHECK_PERIOD>n.TTI_RESOLVE_TIMEOUT&&(n.ttiResolved=!0,n.ttiTracker={},clearInterval(n.ttiInterval));for(var e=n.computeTimeWindow(),t=n.currBucket;t<=e;t++){n.currBucket=t;var r=!0;if(n.isTTIConditionNotFulfilied(eb,t)&&(r=!1),n.fpsEnabled&&n.isTTIConditionNotFulfilied("fps",t)&&(r=!1),!r){n.acceptedIntervals=0;continue}if(n.acceptedIntervals+=1,n.isTTIResolved(n.acceptedIntervals)){n.ttiResolved=!0,clearInterval(n.ttiInterval),n.onReport({name:"TTI",value:n.computeTTIValue()});break}}n.totalIntervals+=1},this.longTaskEventListener=function(){var e=new PerformanceObserver(function(t){n.ttiResolved&&e.disconnect(),t.getEntries().filter(function(e){return e.entryType===eb}
1).forEach(function(e){if(e.startTime&&e.duration){var t=e.startTime+e.duration;n.addToTracker(eb,n.computeTimeWindow(e.startTime),1),n.addToTracker(eb,n.computeTimeWindow(t),1)}})});e.observe({type:eb})},this.framesPerSecondListener=function(){var e=function(){n.addToTracker("fps",n.computeTimeWindow(),1),window.requestAnimationFrame(e)};n.ttiResolved||window.requestAnimationFrame(e)},this.fpsEnabled=e,this.initListeners(),this.onReport=t}return e.prototype.startTtiSearch=function(e){this.startBucket=Math.max(this.computeTimeWindow(e),0),this.currBucket=this.startBucket,this.acceptedIntervals=0,this.totalIntervals=0,this.visuallyReadyTimestamp=e,this.ttiInterval=setInterval(this.ttiIntervalHandler,this.CHECK_PERIOD)},e.prototype.isTTIResolved=function(e){return e>=this.REQUIRED_ACCEPTED_INTERVALS},e.prototype.computeTTIValue=function(){var e=(this.currBucket-this.REQUIRED_ACCEPTED_INTERVALS-this.startBucket+1)*this.COLLECTION_PERIOD;return this.ttiTracker={},this.getPrerenderedOffset(this.visuallyReadyTimestamp+e)},e.prototype.getPrerenderedOffset=function(e){var t=this.getActivationStart();if(void 0===t)return e;var n=Math.floor(e)-t;return n>=0?Math.max(1,n):e},e.prototype.getActivationStart=function(){if(void 0!==this.prerenderedOffset||"boolean"!=typeof document.prerendering)return this.prerenderedOffset;if(window.performance){var e=window.performance.getEntriesByType("navigation")[0];e&&e.activationStart&&(this.prerenderedOffset=Math.floor(e.activationStart))}return this.prerenderedOffset},e.prototype.isTTIConditionNotFulfilied=function(e,t){return e===eb?void 0!==this.ttiTracker[eb]&&void 0!==this.ttiTracker[eb][t]&&this.ttiTracker[eb][t]>this.LONG_TASK_THRESHOLD:"fps"===e?this.fpsEnabled&&void 0!==this.ttiTracker.fps&&void 0!==this.ttiTracker.fps[t]&&this.ttiTracker.fps[t]<this.FPS_THRESHOLD:void 0},e.prototype.initListeners=function(){this.longTaskEventListener(),this.fpsEnabled&&void 0!==window.requestAnimationFrame&&this.framesPerSecondListener()},e.prototype.computeTimeWindow=function(e){return void 0===e?Math.floor(performance.now()/this.COLLECTION_PERIOD):Math.floor(e/this.COLLECTION_PERIOD)},e.prototype.addToTracker=function(e,t,n){this.ttiTracker[e]||(this.ttiTracker[e]=[]),this.ttiTracker[e][t]||(this.ttiTracker[e][t]=0),this.ttiTracker[e][t]+=n},e.prototype.cleanupQuietWindowSearch=function(){this.ttiResolved=!0,this.ttiTracker={}},e}(),eS=function(e,t){this.onReport=e,this.quietWindowSearch=new eT(t.fpsEnabled,this.onReport),this.visuallyReadySearch=new eE(this.quietWindowSearch)},ew=function(){var e=function(t,n){return(e=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();!function(e){function t(t){void 0===t&&(t=!1);var n=e.call(this,"time-to-interactive")||this;return n.recordTTIEvent=function(){var e,t;e=n.handleTTI,t={fpsEnabled:n.fpsEnabled},PerformanceObserver.supportedEntryTypes.includes("longtask")&&new eS(e,t)},n.checkPrerenderingActivity=function(){if("undefined"!=typeof document&&"boolean"==typeof document.prerendering&&document.prerendering&&(n.normalPageLoad=!1,document.addEventListener("prerenderingchange",function(){n.prerenderedPageLoad=!0,n.recordTTIEvent()})),"undefined"!=typeof performance&&"function"==typeof performance.getEntriesByType)try{var e=performance.getEntriesByType("navigation");if(e&&e.length>0){var t=e[0];t&&t.activationStart&&t.activationStart>0&&(n.prerenderedPageLoad=!0,n.normalPageLoad=!1)}}catch(e){console.debug("Error accessing Performance API:",e)}},n.handleTTI=function(e){var t={version:"1.0.0",value:Math.round(e.value)};n.context.record(p.HB,t)},n.fpsEnabled=t,n.prerenderedPageLoad=!1,n.normalPageLoad=!0,n.checkPrerenderingActivity(),n}ew(t,e),t.prototype.enable=function(){},t.prototype.disable=function(){},t.prototype.configure=function(){},t.prototype.onload=function(){(this.normalPageLoad||this.prerenderedPageLoad)&&this.recordTTIEvent()}}(u.h)}
1,66904:(e,t,n)=>{n.d(t,{t:()=>c});var r=n(8349),o=n(18733),i=function(){var e=function(t,n){return(e=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=function(e){function t(t,n,r){var o=e.call(this,"virtual-page-load-timer")||this;return o.sendWrapper=function(){return function(e){return function(){return o.recordXhr(this),this.addEventListener("loadend",o.endTracking),e.apply(this,arguments)}}},o.endTracking=function(e){var t=Date.now(),n=e.target;n.removeEventListener("loadend",o.endTracking),o.removeXhr(n,t)},o.fetch=function(e,t,n){return e.apply(t,n).catch(function(e){throw e}).finally(o.decrementFetchCounter)},o.fetchWrapper=function(){return function(e){return function(t,n){return o.fetchCounter+=1,o.fetch(e,this,arguments)}}},o.decrementFetchCounter=function(){o.isPageLoaded||(o.latestEndTime=Date.now()),o.fetchCounter-=1},o.checkLoadStatus=function(){0===o.ongoingRequests.size&&0===o.fetchCounter&&(clearInterval(o.periodicCheckerId),clearTimeout(o.timeoutCheckerId),o.domMutationObserver.disconnect(),o.recordRouteChangeNavigationEvent(o.pageManager.getPage()),o.periodicCheckerId=void 0,o.timeoutCheckerId=void 0,o.isPageLoaded=!0)},o.declareTimeout=function(){clearInterval(o.periodicCheckerId),o.periodicCheckerId=void 0,o.timeoutCheckerId=void 0,o.domMutationObserver.disconnect(),o.isPageLoaded=!0},o.resetInterval=function(){o.latestEndTime=Date.now(),clearInterval(o.periodicCheckerId),o.periodicCheckerId=setInterval(o.checkLoadStatus,o.config.routeChangeComplete)},o.moveItemsFromBuffer=function(e){o.ongoingRequests.add(e)},o.updateLatestInteractionTime=function(e){o.latestInteractionTime=Date.now()},o.periodicCheckerId=void 0,o.timeoutCheckerId=void 0,o.domMutationObserver=new MutationObserver(o.resetInterval),o.ongoingRequests=new Set,o.requestBuffer=new Set,o.fetchCounter=0,o.isPageLoaded=!0,o.latestEndTime=0,o.latestInteractionTime=0,o.config=n,o.pageManager=t,o.record=r,o.enable(),document.addEventListener("mousedown",o.updateLatestInteractionTime),document.addEventListener("keydown",o.updateLatestInteractionTime),o}return i(t,e),Object.defineProperty(t.prototype,"patches",{get:function(){return[{nodule:XMLHttpRequest.prototype,name:"send",wrapper:this.sendWrapper},{nodule:window,name:"fetch",wrapper:this.fetchWrapper}]},enumerable:!1,configurable:!0}),t.prototype.startTiming=function(){this.latestEndTime=Date.now(),this.periodicCheckerId&&clearInterval(this.periodicCheckerId),this.timeoutCheckerId&&clearTimeout(this.timeoutCheckerId),this.domMutationObserver.disconnect(),this.periodicCheckerId=setInterval(this.checkLoadStatus,this.config.routeChangeComplete),this.timeoutCheckerId=setTimeout(this.declareTimeout,this.config.routeChangeTimeout),this.domMutationObserver.observe(document,{subtree:!0,childList:!0,attributes:!1,characterData:!1}),this.isPageLoaded=!1,this.requestBuffer.forEach(this.moveItemsFromBuffer),this.requestBuffer.clear()},t.prototype.recordXhr=function(e){this.pageManager.getPage()&&!1===this.isPageLoaded?this.ongoingRequests.add(e):this.requestBuffer.add(e)},t.prototype.removeXhr=function(e,t){this.pageManager.getPage()&&this.ongoingRequests.has(e)?(this.ongoingRequests.delete(e),this.latestEndTime=t):this.requestBuffer.has(e)&&this.requestBuffer.delete(e)},t.prototype.recordRouteChangeNavigationEvent=function(e){var t={version:"1.0.0",initiatorType:"route_change",navigationType:"navigate",startTime:e.start,duration:this.latestEndTime-e.start};this.record&&this.record(r.Ql,t)},t}(o.h),s=function(){return(s=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},c=function(){function e(e,t){this.TIMEOUT=1e3,this.config=e,this.record=t,this.page=void 0,this.resumed=!1,this.recordInteraction=!1,this.virtualPageLoadTimer=new a(this,e,t)}return e.prototype.getPage=function(){return this.page},e.prototype.getAttributes=function(){return this.attributes},e.prototype.resumeSession=function(e){this.recordInteraction=!0,e&&(this.page=e,this.resumed=!0)},e.prototype.recordPageView=function(e){var t;if(t="string"==typeof e?e:e.pageId,this.useCookies()&&(this.recordInteraction=!0),this.page)if(this.page.pageId!==t)this.createNextPage(this.page,t);else if(this.resumed)return void this.collectAttributes(this.page,"object"==typeof e?e:void 0);else return;else this.createLandingPage(t);this.collectAttributes(this.page,"object"==typeof e?e:void 0),this.recordPageViewEvent(this.page)},e.prototype.createNextPage=function(e,t){var n=Date.now(),r=this.virtualPageLoadTimer.latestInteractionTime;!this.resumed&&n-r<=this.TIMEOUT&&(n=r,this.virtualPageLoadTimer.startTiming()),this.timeOnParentPage=n-e.start,this.resumed=!1,this.page={pageId:t,parentPageId:e.pageId,interaction:e.interaction+1,referrer:document.referrer,referrerDomain:this.getDomainFromReferrer(),start:n}},e.prototype.createLandingPage=function(e){this.page={pageId:e,interaction:0,referrer:document.referrer,referrerDomain:this.getDomainFromReferrer(),start:Date.now()}},e.prototype.collectAttributes=function(e,t){var n;this.attributes={title:(null==(n=null==t?void 0:t.pageAttributes)?void 0:n.title)?t.pageAttributes.title:document.title,pageId:e.pageId},this.recordInteraction&&(this.attributes.interaction=e.interaction,void 0!==e.parentPageId&&(this.attributes.parentPageId=e.parentPageId)),(null==t?void 0:t.pageTags)&&(this.attributes.pageTags=t.pageTags),(null==t?void 0:t.pageAttributes)&&(this.attributes=s(s({},t.pageAttributes),this.attributes))},e.prototype.createPageViewEvent=function(e){var t={version:"1.0.0",pageId:e.pageId};return this.recordInteraction&&(t.interaction=e.interaction,t.pageInteractionId=e.pageId+"-"+e.interaction,void 0!==e.parentPageId&&(t.parentPageInteractionId=e.parentPageId+"-"+(e.interaction-1),t.timeOnParentPage=this.timeOnParentPage),t.referrer=document.referrer,t.referrerDomain=this.getDomainFromReferrer()),t},e.prototype.recordPageViewEvent=function(e){this.record(r.aT,this.createPageViewEvent(e))},e.prototype.useCookies=function(){return navigator.cookieEnabled&&this.config.allowCookies},e.prototype.getDomainFromReferrer=function(){try{return new URL(document.referrer).hostname}catch(e){return"localhost"===document.referrer?document.referrer:""}},e}()},82325:(e,t,n)=>{n.d(t,{IX:()=>i,ZT:()=>o,fr:()=>a,nB:()=>c,uS:()=>s,vT:()=>r});var r="cwr_c",o="cwr_i",i="cwr_s",a="cwr_u",s=3e4,c="arw-module"}
1,96393:(e,t,n)=>{n.d(t,{h:()=>o});var r=n(8349),o=function(){function e(t){this.enabled=!0,this.pluginId=e.generatePluginId(t)}return e.generatePluginId=function(t){return"".concat(e.idPrefix,".").concat(t)},e.prototype.load=function(e){var t;this.context=e,null==(t=this.onload)||t.call(this)},e.prototype.getPluginId=function(){return this.pluginId},e.idPrefix=r.eZ,e}()}}]);

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