PageSourceSearch

https://rsdmrkt.com/assets/entry.client-BZ1NF1VM.js

js rsdmrkt.com collected 2026-09-25 04:08:58 UTC 164,338 bytes, 30 lines download raw bytes

1import{G as so,H as co,I as uo,g as k,i as fo,r as L,J as oi,K as lo,P as ho,Q as po,U as vo,V as go,W as mo,X as yo,Y as wo,Z as bo,_ as Eo,$ as _o,a0 as So,a1 as To,a2 as Co,k as Io,j as qt,a3 as xo}from"./emotion-element-f0de968e.browser.esm-DAcAn3jx.js";import{cH as Ro,r as Ao,cA as cn,cI as Oo}from"./api-KZNW2Ket.js";import{getRestorePhase as Po,initClientBootstrap as Lo}from"./clientBootstrap-Dcit3tpd.js";import{_ as ko}from"./preload-helper-ckwbz45p.js";import{R as Zn}from"./index-B8xgCRSP.js";import{i as ai}from"./hydrationSignal-CiVg0RVs.js";import{S as Mo,t as No,s as Ho}from"./ssrViewport-CgQuBMzJ.js";import"./materialDefaults-D1b-FGD2.js";import"./squareappApi-8Fvjmfzd.js";function Do(n,t){for(var e=0;e<t.length;e++){const r=t[e];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in n)){const i=Object.getOwnPropertyDescriptor(r,o);i&&Object.defineProperty(n,o,i.get?i:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}var Ye={},Qn;function Uo(){if(Qn)return Ye;Qn=1;var n=Ro();return Ye.createRoot=n.createRoot,Ye.hydrateRoot=n.hydrateRoot,Ye}var jo=Uo();[...uo];new TextEncoder;(class extends k.Component{constructor(n){super(n),this.state={error:null,location:n.location}}static getDerivedStateFromError(n){return{error:n}}static getDerivedStateFromProps(n,t){return t.location!==n.location?{error:null,location:n.location}:{error:t.error,location:t.location}}render(){return this.state.error?k.createElement(Bo,{error:this.state.error,renderAppShell:!0}):this.props.children}});function er({renderAppShell:n,title:t,children:e}){return n?k.createElement("html",{lang:"en"},k.createElement("head",null,k.createElement("meta",{charSet:"utf-8"}),k.createElement("meta",{name:"viewport",content:"width=device-width,initial-scale=1,viewport-fit=cover"}),k.createElement("title",null,t)),k.createElement("body",null,k.createElement("main",{style:{fontFamily:"system-ui, sans-serif",padding:"2rem"}},e))):e}function Bo({error:n,renderAppShell:t}){console.error(n);let e=k.createElement("script",{dangerouslySetInnerHTML:{__html:`
2        console.log(
3          "💿 Hey developer 👋. You can provide a way better UX than this when your app throws errors. Check out https://reactrouter.com/how-to/error-boundary for more information."
4        );
5      `}});if(fo(n))return k.createElement(er,{renderAppShell:t,title:"Unhandled Thrown Response!"},k.createElement("h1",{style:{fontSize:"24px"}},n.status," ",n.statusText),e);let r;if(n instanceof Error)r=n;else{let o=n==null?"Unknown Error":typeof n=="object"&&"toString"in n?n.toString():JSON.stringify(n);r=new Error(o)}return k.createElement(er,{renderAppShell:t,title:"Application Error!"},k.createElement("h1",{style:{fontSize:"24px"}},"Application Error"),k.createElement("pre",{style:{padding:"2rem",background:"hsla(10, 50%, 50%, 0.1)",color:"red",overflow:"auto"}},r.stack),e)}function qo({state:n,routes:t,getRouteInfo:e,location:r,basename:o,isSpaMode:i}){let a={...n,loaderData:{...n.loaderData}},c=so(t,r,o);if(c)for(let u of c){let s=u.route.id,f=e(s);co(s,f.clientLoader,f.hasLoader,i)&&(f.hasHydrateFallback||!f.hasLoader)?delete a.loaderData[s]:f.hasLoader||(a.loaderData[s]=null)}return a}function Fo(n){return L.createElement(vo,{flushSync:Ao.flushSync,...n})}var m=null,Se=null;function $o(){if(!m&&window.__reactRouterContext&&window.__reactRouterManifest&&window.__reactRouterRouteModules){if(window.__reactRouterManifest.sri===!0){const n=document.querySelector("script[rr-importmap]");if(n!=null&&n.textContent)try{window.__reactRouterManifest.sri=JSON.parse(n.textContent).integrity}catch(t){console.error("Failed to parse import map",t)}}m={context:window.__reactRouterContext,manifest:window.__reactRouterManifest,routeModules:window.__reactRouterRouteModules,stateDecodingPromise:void 0,router:void 0,routerInitialized:!1}}}function Vo({getContext:n,instrumentations:t}){var a,c;if($o(),!m)throw new Error("You must be using the SSR features of React Router in order to skip passing a `router` prop to `<
5RouterProvider>`");let e=m;if(!m.stateDecodingPromise){let u=m.context.stream;oi(u,"No stream found for single fetch decoding"),m.context.stream=void 0,m.stateDecodingPromise=go(u,window).then(s=>{m.context.state=s.value,e.stateDecodingPromise.value=!0}).catch(s=>{e.stateDecodingPromise.error=s})}if(m.stateDecodingPromise.error)throw m.stateDecodingPromise.error;if(!m.stateDecodingPromise.value)throw m.stateDecodingPromise;let r=mo(m.manifest.routes,m.routeModules,m.context.state,m.context.ssr,m.context.isSpaMode),o;if(m.context.isSpaMode){let{loaderData:u}=m.context.state;(a=m.manifest.routes.root)!=null&&a.hasLoader&&u&&"root"in u&&(o={loaderData:{root:u.root}})}else o=qo({state:m.context.state,routes:r,getRouteInfo:u=>{var s,f,p;return{clientLoader:(s=m.routeModules[u])==null?void 0:s.clientLoader,hasLoader:((f=m.manifest.routes[u])==null?void 0:f.hasLoader)===!0,hasHydrateFallback:((p=m.routeModules[u])==null?void 0:p.HydrateFallback)!=null}},location:window.location,basename:(c=window.__reactRouterContext)==null?void 0:c.basename,isSpaMode:m.context.isSpaMode});window.history.state&&window.history.state.masked&&window.history.replaceState({...window.history.state,masked:void 0},"");let i=yo({routes:r,history:Eo(),basename:m.context.basename,getContext:n,hydrationData:o,hydrationRouteProperties:To,instrumentations:t,mapRouteProperties:So,future:{v8_passThroughRequests:m.context.future.v8_passThroughRequests},dataStrategy:bo(()=>i,m.manifest,m.routeModules,m.context.ssr,m.context.basename,m.context.future.v8_trailingSlashAwareDataRequests),patchRoutesOnNavigation:wo(()=>i,m.manifest,m.routeModules,m.context.ssr,m.context.routeDiscovery,m.context.isSpaMode,m.context.basename)});return m.router=i,i.state.initialized&&(m.routerInitialized=!0,i.initialize()),i.createRoutesForHMR=_o,window.__reactRouterDataRouter=i,i}function zo(n){Se||(Se=Vo({getContext:n.getContext,instrumentations:n.instrumentations}));let[t,e]=L.useState(void 0);L.useEffect(()=>{},[]),L.useEffect(()=>{},[t]);let[r,o]=L.useState(Se.state.location);return L.useLayoutEffect(()=>{m&&m.router&&!m.routerInitialized&&(m.routerInitialized=!0,m.router.initialize())},[]),L.useLayoutEffect(()=>{if(m&&m.router)return m.router.subscribe(i=>{i.location!==r&&o(i.location)})},[r]),oi(m,"ssrInfo unavailable for HydratedRouter"),lo(Se,m.manifest,m.routeModules,m.context.ssr,m.context.routeDiscovery,m.context.isSpaMode),L.createElement(L.Fragment,null,L.createElement(ho.Provider,{value:{manifest:m.manifest,routeModules:m.routeModules,future:m.context.future,criticalCss:t,ssr:m.context.ssr,isSpaMode:m.context.isSpaMode,routeDiscovery:m.context.routeDiscovery}},L.createElement(po,{location:r},L.createElement(Fo,{router:Se,useTransitions:n.useTransitions,onError:n.onError}))),L.createElement(L.Fragment,null))}function Go(n){try{if(!n||typeof document>"u")return;const t=document.head;if(!t)return;const e=n.tags,r=e.length>0&&!e[e.length-1].isConnected,o=!!n.container&&!n.container.isConnected;if(!r&&!o)return;n.flush(),o&&(n.container=t),n.insertionPoint&&!n.insertionPoint.isConnected&&(n.insertionPoint=void 0),n.before&&!n.before.isConnected&&(n.before=null)}catch{}}function Wo(n){const t=Co({key:"mui",...n}),e=t.insert;return t.insert=(...r)=>(r[1].styles.match(/^@layer\s+[^{]*$/)||(r[1].styles=`@layer mui {${r[1].styles}}`),Go(r[2]),e(...r)),t}var tr;(function(n){n.HEADER="header",n.QUERY="query"})(tr||(tr={}));var nr;(function(n){n.HEADER="header",n.QUERY="query"})(nr||(nr={}));var rr;(function(n){n.HTTP="http",n.HTTPS="https"})(rr||(rr={}));var ir;(function(n){n.MD5="md5",n.CRC32="crc32",n.CRC32C="crc32c",n.SHA1="sha1",n.SHA256="sha256"})(ir||(ir={}));var or;(function(n){n[n.HEADER=0]="HEADER",n[n.TRAILER=1]="TRAILER"})(or||(or={}));var ar;(function(n){n.PROFILE="profile",n.SSO_SESSION="sso-session",n.SERVICES="services"})(ar||(ar={}));var sr;(function(n){n.HTTP_0_9="http/0.9",n.HTTP_1_0="http/1.0",n.TDS_8_0="tds/8.0"})(sr||(sr={}));class X{constructor(t){this.method=t.method||"GET",this.hostname=t.hostname||"localhost",this.port=t.port,this.query=t.query||{},this.headers=t.headers||{},this.body=t.body,this.protocol=t.protocol?t.protocol.slice(-1)!==":"?`${t.protocol}:`:t.protocol:"https:",this.path=t.path?t.path.charAt(0)!=="/"?`/${t.path}`:t.path:"/",this.username=t.username,this.password=t.password,this.fragment=t.fragment}static clone(t){const e=new X({...t,headers:{...t.headers}});return e.query&&(e.query=Xo(e.query)),e}static isInstance(t){if(!t)return!1;const e=t;return"method"in e&&"protocol"in e&&"hostname"in e&&"path"in e&&typeof e.query=="object"&&typeof e.headers=="object"}clone(){return X.clone(this)}}function Xo(n){return Object.keys(n).reduce((t,e)=>{const r=n[e];return{...t,[e]:Array.isArray(r)?[...r]:r}},{})}class De{constructor(t){this.statusCode=t.statusCode,this.reason=t.reason,this.headers=t.headers||{},this.body=t.body}static isInstance(t){if(!t)return!1;const e=t;return typeof e.statusCode=="number"&&typeof e.headers=="object"}}const te=n=>encodeURIComponent(n).replace(/[!'()*]/g,Ko),Ko=n=>
5`%${n.charCodeAt(0).toString(16).toUpperCase()}`;function Yo(n){const t=[];for(let e of Object.keys(n).sort()){const r=n[e];if(e=te(e),Array.isArray(r))for(let o=0,i=r.length;o<i;o++)t.push(`${e}=${te(r[o])}`);else{let o=e;(r||typeof r=="string")&&(o+=`=${te(r)}`),t.push(o)}}return t.join("&")}function cr(n,t){return new Request(n,t)}function Jo(n=0){return new Promise((t,e)=>{n&&setTimeout(()=>{const r=new Error(`Request did not complete within ${n} ms`);r.name="TimeoutError",e(r)},n)})}const Ft={supported:void 0};let si=class ci{static create(t){return typeof(t==null?void 0:t.handle)=="function"?t:new ci(t)}constructor(t){typeof t=="function"?this.configProvider=t().then(e=>e||{}):(this.config=t??{},this.configProvider=Promise.resolve(this.config)),Ft.supported===void 0&&(Ft.supported=typeof Request<"u"&&"keepalive"in cr("https://[::1]"))}destroy(){}async handle(t,{abortSignal:e}={}){var R;this.config||(this.config=await this.configProvider);const r=this.config.requestTimeout,o=this.config.keepAlive===!0,i=this.config.credentials;if(e!=null&&e.aborted){const T=new Error("Request aborted");return T.name="AbortError",Promise.reject(T)}let a=t.path;const c=Yo(t.query||{});c&&(a+=`?${c}`),t.fragment&&(a+=`#${t.fragment}`);let u="";if(t.username!=null||t.password!=null){const T=t.username??"",y=t.password??"";u=`${T}:${y}@`}const{port:s,method:f}=t,p=`${t.protocol}//${u}${t.hostname}${s?`:${s}`:""}${a}`,l=f==="GET"||f==="HEAD"?void 0:t.body,v={body:l,headers:new Headers(t.headers),method:f,credentials:i};(R=this.config)!=null&&R.cache&&(v.cache=this.config.cache),l&&(v.duplex="half"),typeof AbortController<"u"&&(v.signal=e),Ft.supported&&(v.keepalive=o),typeof this.config.requestInit=="function"&&Object.assign(v,this.config.requestInit(t));let d=()=>{};const h=cr(p,v),g=[fetch(h).then(T=>{const y=T.headers,w={};for(const A of y.entries())w[A[0]]=A[1];return T.body!=null?{response:new De({headers:w,reason:T.statusText,statusCode:T.status,body:T.body})}:T.blob().then(A=>({response:new De({headers:w,reason:T.statusText,statusCode:T.status,body:A})}))}),Jo(r)];return e&&g.push(new Promise((T,y)=>{const w=()=>{const x=new Error("Request aborted");x.name="AbortError",y(x)};if(typeof e.addEventListener=="function"){const x=e;x.addEventListener("abort",w,{once:!0}),d=()=>x.removeEventListener("abort",w)}else e.onabort=w})),Promise.race(g).finally(d)}updateHttpClientConfig(t,e){this.config=void 0,this.configProvider=this.configProvider.then(r=>(r[t]=e,r))}httpHandlerConfigs(){return this.config??{}}};const ve={},Be=new Array(64);for(let n=0,t=65,e=90;n+t<=e;n++){const r=String.fromCharCode(n+t);ve[r]=n,Be[n]=r}for(let n=0,t=97,e=122;n+t<=e;n++){const r=String.fromCharCode(n+t),o=n+26;ve[r]=o,Be[o]=r}for(let n=0;n<10;n++){ve[n.toString(10)]=n+52;const t=n.toString(10),e=n+52;ve[t]=e,Be[e]=t}ve["+"]=62;Be[62]="+";ve["/"]=63;Be[63]="/";const un=n=>new TextEncoder().encode(n),ke=n=>typeof n=="string"?un(n):ArrayBuffer.isView(n)?new Uint8Array(n.buffer,n.byteOffset,n.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(n);var ui=function(n,t,e,r){function o(i){return i instanceof e?i:new e(function(a){a(i)})}return new(e||(e=Promise))(function(i,a){function c(f){try{s(r.next(f))}catch(p){a(p)}}function u(f){try{s(r.throw(f))}catch(p){a(p)}}function s(f){f.done?i(f.value):o(f.value).then(c,u)}s((r=r.apply(n,t||[])).next())})},fi=function(n,t){var e={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,a;return a={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(s){return function(f){return u([s,f])}}function u(s){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(e=0)),e;)try{if(r=1,o&&(i=s[0]&2?o.return:s[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,s[1])).done)return i;switch(o=0,i&&(s=[s[0]&2,i.value]),s[0]){case 0:case 1:i=s;break;case 4:return e.label++,{value:s[1],done:!1};case 5:e.label++,o=s[1],s=[0];continue;case 7:s=e.ops.pop(),e.trys.pop();continue;default:if(i=e.trys,!(i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){e=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){e.label=s[1];break}if(s[0]===6&&e.label<i[1]){e.label=i[1],i=s;break}if(i&&e.label<i[2]){e.label=i[2],e.ops.push(s);break}i[2]&&e.ops.pop(),e.trys.pop();continue}s=t.call(n,e)}catch(f){s=[6,f],o=0}finally{r=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}},$t=function(n){return ui(void 0,void 0,void 0,function(){var t;return fi(this,function(e){switch(e.label){case 0:return[4,n.body.getReader().read()];case 1:return t=e.sent().value,[2,JSON.parse(String.fromCharCode.apply(null,t))]}})})},Zo=function(n){return ui(void 0,void 0,void 0,function(){var t;return fi(this,function(e){switch(e.label){case 0:return[4,n.body.getReader().read()];case 1:return t=e.sent().value,[2,String.fromCharCode.apply(null,t)]}})})},ct=function(){return ct=Object.assign||function(n){for(var t,e=1,r=arguments.length;e<r;e++){t=arguments[e];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o
5])}return n},ct.apply(this,arguments)},Qo=function(n,t,e,r){function o(i){return i instanceof e?i:new e(function(a){a(i)})}return new(e||(e=Promise))(function(i,a){function c(f){try{s(r.next(f))}catch(p){a(p)}}function u(f){try{s(r.throw(f))}catch(p){a(p)}}function s(f){f.done?i(f.value):o(f.value).then(c,u)}s((r=r.apply(n,t||[])).next())})},ea=function(n,t){var e={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,a;return a={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(s){return function(f){return u([s,f])}}function u(s){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(e=0)),e;)try{if(r=1,o&&(i=s[0]&2?o.return:s[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,s[1])).done)return i;switch(o=0,i&&(s=[s[0]&2,i.value]),s[0]){case 0:case 1:i=s;break;case 4:return e.label++,{value:s[1],done:!1};case 5:e.label++,o=s[1],s=[0];continue;case 7:s=e.ops.pop(),e.trys.pop();continue;default:if(i=e.trys,!(i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){e=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){e.label=s[1];break}if(s[0]===6&&e.label<i[1]){e.label=i[1],i=s;break}if(i&&e.label<i[2]){e.label=i[2],e.ops.push(s);break}i[2]&&e.ops.pop(),e.trys.pop();continue}s=t.call(n,e)}catch(f){s=[6,f],o=0}finally{r=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}},ta="POST",na="application/x-www-form-urlencoded",ra="https:",ia="AssumeRoleWithWebIdentity",oa="2011-06-15",aa=(function(){function n(t){var e=this;this.assumeRoleWithWebIdentity=function(r){return Qo(e,void 0,void 0,function(){var o,i,a,c,u,s;return ea(this,function(f){switch(f.label){case 0:return f.trys.push([0,3,,4]),o=ct(ct({},r),{Action:ia,Version:oa}),i=new URLSearchParams(Object.entries(o)).toString(),a=new X({method:ta,headers:{"content-type":na,host:this.hostname},protocol:ra,hostname:this.hostname,body:i}),[4,this.fetchRequestHandler.handle(a)];case 1:return c=f.sent().response,[4,Zo(c)];case 2:return u=f.sent(),[2,{accessKeyId:u.split("<AccessKeyId>")[1].split("</AccessKeyId>")[0],secretAccessKey:u.split("<SecretAccessKey>")[1].split("</SecretAccessKey>")[0],sessionToken:u.split("<SessionToken>")[1].split("</SessionToken>")[0],expiration:new Date(u.split("<Expiration>")[1].split("</Expiration>")[0])}];case 3:throw s=f.sent(),new Error("CWR: Failed to retrieve credentials from STS: ".concat(s));case 4:return[2]}})})},this.hostname="sts.".concat(t.region,".amazonaws.com"),this.fetchRequestHandler=t.fetchRequestHandler}return n})(),ur="cwr_c",fr="cwr_i",lr="cwr_s",dr="cwr_u",sa=3e4,ca="arw-module",Vt=function(n,t,e,r){function o(i){return i instanceof e?i:new e(function(a){a(i)})}return new(e||(e=Promise))(function(i,a){function c(f){try{s(r.next(f))}catch(p){a(p)}}function u(f){try{s(r.throw(f))}catch(p){a(p)}}function s(f){f.done?i(f.value):o(f.value).then(c,u)}s((r=r.apply(n,t||[])).next())})},zt=function(n,t){var e={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,a;return a={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(s){return function(f){return u([s,f])}}function u(s){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(e=0)),e;)try{if(r=1,o&&(i=s[0]&2?o.return:s[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,s[1])).done)return i;switch(o=0,i&&(s=[s[0]&2,i.value]),s[0]){case 0:case 1:i=s;break;case 4:return e.label++,{value:s[1],done:!1};case 5:e.label++,o=s[1],s=[0];continue;case 7:s=e.ops.pop(),e.trys.pop();continue;default:if(i=e.trys,!(i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){e=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){e.label=s[1];break}if(s[0]===6&&e.label<i[1]){e.label=i[1],i=s;break}if(i&&e.label<i[2]){e.label=i[2],e.ops.push(s);break}i[2]&&e.ops.pop(),e.trys.pop();continue}s=t.call(n,e)}catch(f){s=[6,f],o=0}finally{r=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}},ua="POST",fa="application/x-amz-json-1.1",la="https:",da="AWSCognitoIdentityService.GetId",ha="AWSCognitoIdentityService.GetOpenIdToken",pa="AWSCognitoIdentityService.GetCredentialsForIdentity",va=(function(){function n(t){var e=this,r;this.getId=function(o){return Vt(e,void 0,void 0,function(){var i,a,c,u,s,f;return zt(this,function(p){switch(p.label){case 0:i=null;try{i=JSON.parse(localStorage.getItem(this.identityStorageKey))}catch{}if(i&&i.IdentityId)return[2,Promise.resolve(i)];p.label=1;case 1:return p.trys.push([1,4,,5]),a=JSON.stringify(o),c=this.getHttpRequest(da,a),s=$t,[4,this.fetchRequestHandler.handle(c)];case 2:return[4,s.apply(void 0,[p.sent().response])];case 3:u=p.sent();try{localStorage.setItem(this.identityStorageKey,JSON.stringify({IdentityId:u.IdentityId}))}catch{}return[2,u];
5case 4:throw f=p.sent(),new Error("CWR: Failed to retrieve Cognito identity: ".concat(f));case 5:return[2]}})})},this.getOpenIdToken=function(o){return Vt(e,void 0,void 0,function(){var i,a,c,u,s;return zt(this,function(f){switch(f.label){case 0:return f.trys.push([0,3,,4]),i=JSON.stringify(o),a=this.getHttpRequest(ha,i),[4,this.fetchRequestHandler.handle(a)];case 1:return c=f.sent().response,u=this.validateOpenIdTokenResponse,[4,$t(c)];case 2:return[2,u.apply(this,[f.sent()])];case 3:throw s=f.sent(),localStorage.removeItem(this.identityStorageKey),new Error("CWR: Failed to retrieve Cognito OpenId token: ".concat(s));case 4:return[2]}})})},this.getCredentialsForIdentity=function(o){return Vt(e,void 0,void 0,function(){var i,a,c,u,s,f,p,l,v,d;return zt(this,function(h){switch(h.label){case 0:return h.trys.push([0,3,,4]),i=JSON.stringify({IdentityId:o}),a=this.getHttpRequest(pa,i),[4,this.fetchRequestHandler.handle(a)];case 1:return c=h.sent().response,v=this.validateCredenentialsResponse,[4,$t(c)];case 2:return u=v.apply(this,[h.sent()]),s=u.AccessKeyId,f=u.Expiration,p=u.SecretKey,l=u.SessionToken,[2,{accessKeyId:s,secretAccessKey:p,sessionToken:l,expiration:new Date(f*1e3)}];case 3:throw d=h.sent(),localStorage.removeItem(this.identityStorageKey),new Error("CWR: Failed to retrieve credentials for Cognito identity: ".concat(d));case 4:return[2]}})})},this.validateOpenIdTokenResponse=function(o){if("IdentityId"in o&&"Token"in o)return o;throw o&&"__type"in o&&"message"in o?new Error("".concat(o.__type,": ").concat(o.message)):new Error("Unknown OpenIdToken response")},this.validateCredenentialsResponse=function(o){if("IdentityId"in o&&"Credentials"in o)return o.Credentials;throw o&&"__type"in o&&"message"in o?new Error("".concat(o.__type,": ").concat(o.message)):new Error("Unknown Credentials response")},this.getHttpRequest=function(o,i){return new X({method:ua,headers:{"content-type":fa,"x-amz-target":o},protocol:la,hostname:e.hostname,body:i})},this.hostname="cognito-identity.".concat(t.region,".amazonaws.com"),this.fetchRequestHandler=t.fetchRequestHandler,this.identityStorageKey=!((r=t.clientConfig)===null||r===void 0)&&r.cookieAttributes.unique?"".concat(fr,"_").concat(t.applicationId):fr}return n})(),ut=function(){return ut=Object.assign||function(n){for(var t,e=1,r=arguments.length;e<r;e++){t=arguments[e];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o])}return n},ut.apply(this,arguments)},Gt=function(n,t,e,r){function o(i){return i instanceof e?i:new e(function(a){a(i)})}return new(e||(e=Promise))(function(i,a){function c(f){try{s(r.next(f))}catch(p){a(p)}}function u(f){try{s(r.throw(f))}catch(p){a(p)}}function s(f){f.done?i(f.value):o(f.value).then(c,u)}s((r=r.apply(n,t||[])).next())})},Wt=function(n,t){var e={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,a;return a={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(s){return function(f){return u([s,f])}}function u(s){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(e=0)),e;)try{if(r=1,o&&(i=s[0]&2?o.return:s[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,s[1])).done)return i;switch(o=0,i&&(s=[s[0]&2,i.value]),s[0]){case 0:case 1:i=s;break;case 4:return e.label++,{value:s[1],done:!1};case 5:e.label++,o=s[1],s=[0];continue;case 7:s=e.ops.pop(),e.trys.pop();continue;default:if(i=e.trys,!(i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){e=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){e.label=s[1];break}if(s[0]===6&&e.label<i[1]){e.label=i[1],i=s;break}if(i&&e.label<i[2]){e.label=i[2],e.ops.push(s);break}i[2]&&e.ops.pop(),e.trys.pop();continue}s=t.call(n,e)}catch(f){s=[6,f],o=0}finally{r=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}},li=(function(){function n(t,e){var r=this;this.ChainAnonymousCredentialsProvider=function(){return Gt(r,void 0,void 0,function(){return Wt(this,function(i){return[2,this.AnonymousCredentialsProvider().catch(this.AnonymousStorageCredentialsProvider).catch(this.AnonymousCognitoCredentialsProvider)]})})},this.AnonymousCredentialsProvider=function(){return Gt(r,void 0,void 0,function(){var i=this;return Wt(this,function(a){return[2,new Promise(function(c,u){if(i.renewCredentials())return u();c(i.credentials)})]})})},this.AnonymousStorageCredentialsProvider=function(){return Gt(r,void 0,void 0,function(){var i=this;return Wt(this,function(a){return[2,new Promise(function(c,u){var s;try{s=JSON.parse(localStorage.getItem(i.credentialStorageKey))}catch{return u()}if(i.credentials=ut(ut({},s),{expiration:new Date(s.expiration)}),i.renewCredentials())return u();c(i.credentials)})]})})};var o=t.identityPoolId.split(":")[0];this.config=t,this.cognitoIdentityClient=new va({fetchRequestHandler:new si,region:o,clientConfig:t,applicationId:e}),this.credentialStorageKey=this.config.cookieAttributes.unique?"".concat(ur,"_").concat(e):ur}return n.prototype.renewCredentials=function(){if(!this.credentials||!this.credentials.expiration)return!0;var t=new Date(this.credentials.expiration.getTime()-sa);return new Date>t},n}
5)(),ga=(function(){var n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(r[i]=o[i])},n(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");n(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),ma=function(n,t,e,r){function o(i){return i instanceof e?i:new e(function(a){a(i)})}return new(e||(e=Promise))(function(i,a){function c(f){try{s(r.next(f))}catch(p){a(p)}}function u(f){try{s(r.throw(f))}catch(p){a(p)}}function s(f){f.done?i(f.value):o(f.value).then(c,u)}s((r=r.apply(n,t||[])).next())})},ya=function(n,t){var e={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,a;return a={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(s){return function(f){return u([s,f])}}function u(s){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(e=0)),e;)try{if(r=1,o&&(i=s[0]&2?o.return:s[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,s[1])).done)return i;switch(o=0,i&&(s=[s[0]&2,i.value]),s[0]){case 0:case 1:i=s;break;case 4:return e.label++,{value:s[1],done:!1};case 5:e.label++,o=s[1],s=[0];continue;case 7:s=e.ops.pop(),e.trys.pop();continue;default:if(i=e.trys,!(i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){e=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){e.label=s[1];break}if(s[0]===6&&e.label<i[1]){e.label=i[1],i=s;break}if(i&&e.label<i[2]){e.label=i[2],e.ops.push(s);break}i[2]&&e.ops.pop(),e.trys.pop();continue}s=t.call(n,e)}catch(f){s=[6,f],o=0}finally{r=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}},wa=(function(n){ga(t,n);function t(e,r){var o=n.call(this,e,r)||this;o.AnonymousCognitoCredentialsProvider=function(){return ma(o,void 0,void 0,function(){var a,c,u,s,f;return ya(this,function(p){switch(p.label){case 0:a=1,p.label=1;case 1:p.label=2;case 2:return p.trys.push([2,6,,7]),[4,this.cognitoIdentityClient.getId({IdentityPoolId:this.config.identityPoolId})];case 3:return c=p.sent(),[4,this.cognitoIdentityClient.getOpenIdToken(c)];case 4:return u=p.sent(),[4,this.stsClient.assumeRoleWithWebIdentity({RoleArn:this.config.guestRoleArn,RoleSessionName:"
5cwr",WebIdentityToken:u.Token})];case 5:s=p.sent(),this.credentials=s;try{localStorage.setItem(this.credentialStorageKey,JSON.stringify(s))}catch{}return[2,s];case 6:if(f=p.sent(),a)a--;else throw f;return[3,7];case 7:return[3,1];case 8:return[2]}})})};var i=e.identityPoolId.split(":")[0];return o.stsClient=new aa({fetchRequestHandler:new si,region:i}),o}return t})(li),ba=(function(){var n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(r[i]=o[i])},n(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");n(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),Ea=function(n,t,e,r){function o(i){return i instanceof e?i:new e(function(a){a(i)})}return new(e||(e=Promise))(function(i,a){function c(f){try{s(r.next(f))}catch(p){a(p)}}function u(f){try{s(r.throw(f))}catch(p){a(p)}}function s(f){f.done?i(f.value):o(f.value).then(c,u)}s((r=r.apply(n,t||[])).next())})},_a=function(n,t){var e={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,a;return a={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(s){return function(f){return u([s,f])}}function u(s){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(e=0)),e;)try{if(r=1,o&&(i=s[0]&2?o.return:s[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,s[1])).done)return i;switch(o=0,i&&(s=[s[0]&2,i.value]),s[0]){case 0:case 1:i=s;break;case 4:return e.label++,{value:s[1],done:!1};case 5:e.label++,o=s[1],s=[0];continue;case 7:s=e.ops.pop(),e.trys.pop();continue;default:if(i=e.trys,!(i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){e=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){e.label=s[1];break}if(s[0]===6&&e.label<i[1]){e.label=i[1],i=s;break}if(i&&e.label<i[2]){e.label=i[2],e.ops.push(s);break}i[2]&&e.ops.pop(),e.trys.pop();continue}s=t.call(n,e)}catch(f){s=[6,f],o=0}finally{r=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}},Sa=(function(n){ba(t,n);function t(e,r){var o=n.call(this,e,r)||this;return o.AnonymousCognitoCredentialsProvider=function(){return Ea(o,void 0,void 0,function(){var i,a,c,u;return _a(this,function(s){switch(s.label){case 0:i=1,s.label=1;case 1:s.label=2;case 2:return s.trys.push([2,5,,6]),[4,this.cognitoIdentityClient.getId({IdentityPoolId:this.config.identityPoolId})];case 3:return a=s.sent(),[4,this.cognitoIdentityClient.getCredentialsForIdentity(a.IdentityId)];case 4:c=s.sent(),this.credentials=c;try{localStorage.setItem(this.credentialStorageKey,JSON.stringify(c))}catch{}return[2,c];case 5:if(u=s.sent(),i)i--;else throw u;return[3,6];case 6:return[3,1];case 7:return[2]}})})},o}return t})(li),H="com.amazon.rum",Ta="com.amazonaws.rum",ft="".concat(H,".http_event"),di="".concat(H,".xray_trace_event"),Ca="".concat(H,".largest_contentful_paint_event"),Ia="".concat(H,".first_input_delay_event"),xa="".concat(H,".cumulative_layout_shift_event"),Ra="".concat(H,".interaction_to_next_paint_event"),lt="".concat(H,".performance_navigation_event"),hi="".concat(H,".performance_resource_event"),Aa="".concat(H,".dom_event"),Oa="".concat(H,".js_error_event"),Pa="".concat(H,".page_view_event"),pi="".concat(H,".session_start_event"),ne=(function(){function n(t){this.enabled=!0,this.pluginId=n.generatePluginId(t)}return n.generatePluginId=function(t){return"".concat(n.idPrefix,".").concat(t)},n.prototype.load=function(t){var e;this.context=t,(e=this.onload)===null||e===void 0||e.call(this)},n.prototype.getPluginId=function(){return this.pluginId},n.idPrefix=Ta,n})(),La=(function(){function n(t){this.context=t,this.plugins=new Map}return n.prototype.addPlugin=function(t){var e=t.getPluginId();if(this.hasPlugin(e))throw new Error('Plugin "'.concat(e,'" already defined in the PluginManager'));this.plugins.set(e,t),t.load(this.context)},n.prototype.updatePlugin=function(t,e){var r,o=this.getPlugin(t);(r=o==null?void 0:o.update)===null||r===void 0||r.call(o,e)},n.prototype.enable=function(){this.plugins.forEach(function(t){return t.enable()})},n.prototype.disable=function(){this.plugins.forEach(function(t){return t.disable()})},n.prototype.hasPlugin=function(t){return!!this.getPlugin(t)},n.prototype.record=function(t,e){var r=this.getPlugin(t);
5if((r==null?void 0:r.record)instanceof Function)r.record(e);else throw new Error("AWS RUM Client record: Invalid plugin ID")},n.prototype.getPlugin=function(t){var e;return(e=this.plugins.get(t))!==null&&e!==void 0?e:this.plugins.get(ne.generatePluginId(t))},n})(),ka=(function(){var n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(r[i]=o[i])},n(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");n(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),ee=function(){return ee=Object.assign||function(n){for(var t,e=1,r=arguments.length;e<r;e++){t=arguments[e];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o])}return n},ee.apply(this,arguments)},vi="dom-event",Ma={interactionId:function(){return""},enableMutationObserver:!1,events:[]},Na=(function(n){ka(t,n);function t(e){var r=n.call(this,vi)||this;return r.enabled=!1,r.eventListenerMap=new Map,r.config=ee(ee({},Ma),e),r}return t.getElementInfo=function(e){var r={name:"UNKNOWN"};return e.target instanceof Node&&(r.name=e.target.nodeName),e.target instanceof Element&&e.target.id&&(r.id=e.target.id),r},t.prototype.enable=function(){var e=this;if(document.readyState!=="complete"){window.addEventListener("load",function(){return e.enable()});return}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 r=this;e.forEach(function(o){r.addEventHandler(o),r.config.events.push(o)})},t.prototype.onload=function(){this.enable()},t.prototype.removeListeners=function(){var e=this;this.config.events.forEach(function(r){return e.removeEventHandler(r)})},t.prototype.addListeners=function(){var e=this;this.config.events.forEach(function(r){return e.addEventHandler(r)})},t.prototype.getEventListener=function(e){var r=this;return function(o){var i,a=t.getElementInfo(o),c=r.config.interactionId(o),u=ee(ee(ee({version:"1.1.0",event:o.type,element:a.name},a.id?{elementId:a.id}:{}),c?{interactionId:c}:{}),e?{cssLocator:e}:{});!((i=r.context)===null||i===void 0)&&i.record&&r.context.record(Aa,u)}},t.prototype.addEventHandler=function(e){var r=e.event,o=this.getEventListener(e.cssLocator),i=[],a=this.eventListenerMap.has(e)?this.eventListenerMap.get(e):[];if(e.cssLocator){var c=document.querySelectorAll(e.cssLocator);c.forEach(function(s){i.push(s)})}else if(e.elementId){var u=document.getElementById(e.elementId);u&&i.push(u)}else e.element&&i.push(e.element);i.forEach(function(s){s.addEventListener(r,o),a.push({element:s,eventListener:o})}),this.eventListenerMap.set(e,a)},t.prototype.removeEventHandler=function(e){var r=this.eventListenerMap.get(e);r&&(r.forEach(function(o){var i=o.element,a=o.eventListener;i.removeEventListener(e.event,a)}),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})(ne),Ha=function(n){var t=typeof n;return(t==="object"||t==="function")&&!!n},Da=function(n){var t={version:"1.0.0",type:"undefined",message:"undefined"};return n.type!==void 0&&(t.type=n.type),n.message!==void 0&&(t.message=n.message),n.filename!==void 0&&(t.filename=n.filename),n.lineno!==void 0&&(t.lineno=n.lineno),n.colno!==void 0&&(t.colno=n.colno),t},Ua=function(n,t){n.type!=="unhandledrejection"&&(n.type=t.toString()),n.message=t.toString()},ja=function(n,t,e){t.name&&(n.type=t.name),t.message&&(n.message=t.message),t.fileName&&(n.filename=t.fileName),t.lineNumber&&(n.lineno=t.lineNumber),t.columnNumber&&(n.colno=t.columnNumber),e&&t.stack&&(n.stack=t.stack.length>e?t.stack.substring(0,e)+"...":t.stack)},gi=function(n){return n!==Object(n)&&n!==void 0&&n!==null},_n=function(n,t){var e=Da(n),r=n.error;return Ha(r)?ja(e,r,t):gi(r)&&Ua(e,r),e}
5,Ba=(function(){var n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(r[i]=o[i])},n(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");n(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),dt=function(){return dt=Object.assign||function(n){for(var t,e=1,r=arguments.length;e<r;e++){t=arguments[e];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o])}return n},dt.apply(this,arguments)},mi="js-error",qa={stackTraceLength:1e3,ignore:function(){return!1}},Fa=(function(n){Ba(t,n);function t(e){var r=n.call(this,mi)||this;return r.eventHandler=function(o){r.config.ignore(o)||r.recordJsErrorEvent(o)},r.promiseRejectEventHandler=function(o){r.config.ignore(o)||r.recordJsErrorEvent({type:o.type,error:o.reason})},r.config=dt(dt({},qa),e),r}return 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 r;(r=this.context)===null||r===void 0||r.record(Oa,_n(e,this.config.stackTraceLength))},t.prototype.addEventHandler=function(){window.addEventListener("error",this.eventHandler),window.addEventListener("unhandledrejection",this.promiseRe
5jectEventHandler)},t.prototype.removeEventHandler=function(){window.removeEventListener("error",this.eventHandler),window.removeEventListener("unhandledrejection",this.promiseRejectEventHandler)},t})(ne),hr=function(n,t,e,r,o){var i=n+"=";i+=t||"",o!==void 0&&(i+="; Expires=".concat(o.toUTCString())),i+="; Domain=".concat(e.domain),i+="; Path=".concat(e.path),i+="; SameSite=".concat(e.sameSite),i+=e.secure?"; Secure":"",document.cookie=i},pr=function(n){for(var t=document.cookie.split("; "),e=0,r=t;e<r.length;e++){var o=r[e],i=o.split("=");if(i[0]===n)return i[1]}return""};let Je;const $a=new Uint8Array(16);function Va(){if(!Je&&(Je=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Je))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Je($a)}const P=[];for(let n=0;n<256;++n)P.push((n+256).toString(16).slice(1));function za(n,t=0){return P[n[t+0]]+P[n[t+1]]+P[n[t+2]]+P[n[t+3]]+"-"+P[n[t+4]]+P[n[t+5]]+"-"+P[n[t+6]]+P[n[t+7]]+"-"+P[n[t+8]]+P[n[t+9]]+"-"+P[n[t+10]]+P[n[t+11]]+P[n[t+12]]+P[n[t+13]]+P[n[t+14]]+P[n[t+15]]}const Ga=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),vr={randomUUID:Ga};function Me(n,t,e){if(vr.randomUUID&&!n)return vr.randomUUID();n=n||{};const r=n.random||(n.rng||Va)();return r[6]=r[6]&15|64,r[8]=r[8]&63|128,za(r)}var Pe={exports:{}},Wa=Pe.exports,gr;function Xa(){return gr||(gr=1,(function(n,t){(function(e,r){var o="1.0.41",i="",a="?",c="function",u="undefined",s="object",f="string",p="major",l="model",v="name",d="type",h="vendor",g="version",R="architecture",T="console",y="mobile",w="tablet",x="smarttv",A="wearable",Q="embedded",Lt=500,Fe="Amazon",ie="Apple",Un="ASUS",jn="BlackBerry",$e="Browser",Ve="Chrome",no="Edge",ze="Firefox",Ge="Google",Bn="Honor",qn="Huawei",ro="Lenovo",We="LG",kt="Microsoft",Mt="Motorola",Nt="Nvidia",Fn="OnePlus",me="Opera",Ht="OPPO",ye="Samsung",$n="Sharp",we="Sony",Dt="Xiaomi",Ut="Zebra",Vn="Facebook",zn="Chromium OS",Gn="Mac OS",Wn=" Browser",io=function(_,S){var E={};for(var I in _)S[I]&&S[I].length%2===0?E[I]=S[I].concat(_[I]):E[I]=_[I];return E},Xe=function(_){for(var S={},E=0;E<_.length;E++)S[_[E].toUpperCase()]=_[E];return S},Xn=function(_,S){return typeof _===f?be(S).indexOf(be(_))!==-1:!1},be=function(_){return _.toLowerCase()},oo=function(_){return typeof _===f?_.replace(/[^\d\.]/g,i).split(".")[0]:r},jt=function(_,S){if(typeof _===f)return _=_.replace(/^\s\s*/,i),typeof S===u?_:_.substring(0,Lt)},Ee=function(_,S){for(var E=0,I,V,B,C,b,q;E<S.length&&!b;){var Bt=S[E],Jn=S[E+1];for(I=V=0;I<Bt.length&&!b&&Bt[I];)if(b=Bt[I++].exec(_),b)for(B=0;B<Jn.length;B++)q=b[++V],C=Jn[B],typeof C===s&&C.length>0?C.length===2?typeof C[1]==c?this[C[0]]=C[1].call(this,q):this[C[0]]=C[1]:C.length===3?typeof C[1]===c&&!(C[1].exec&&C[1].test)?this[C[0]]=q?C[1].call(this,q,C[2]):r:this[C[0]]=q?q.replace(C[1],C[2]):r:C.length===4&&(this[C[0]]=q?C[3].call(this,q.replace(C[1],C[2])):r):this[C]=q||r;E+=2}},_e=function(_,S){for(var E in S)if(typeof S[E]===s&&S[E].length>0){for(var I=0;I<S[E].length;I++)if(Xn(S[E][I],_))return E===a?r:E}else if(Xn(S[E],_))return E===a?r:E;return S.hasOwnProperty("*")?S["*"]:_},ao={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},Kn={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Yn={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[g,[v,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[g,[v,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[v,g],[/opios[\/ ]+([\w\.]+)/i],[g,[v,me+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[g,[v,me+" GX"]],[/\bopr\/([\w\.]+)/i],[g,[v,me]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[g,[v,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[g,[v,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[v,g],[/quark(?:pc)?\/([-\w\.]+)/i],[g,[v,"Quark"]],[/\bddg\/([\w\.]+)/i],[g,[v,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[g,[v,"UC"+$e]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[g,[v,"WeChat"]],[/konqueror\/([\w\.]+)/i],[g,[v,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[g,[v,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[g,[v,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[g,[v,"Smart Lenovo "+$e]],[/(avast|avg)\/([\w\.]+)/i],[[v,/(.+)/,"$1 Secure "+$e],g],[/\bfocus\/([\w\.]+)/i],[g,[v,ze+" Focus"]],[/\bopt\/([\w\.]+)/i],[g,[v,me+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[g,[v,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[g,[v,"Dolphin"]],[/coast\/([\w\.]+)/i],[g,[v,me+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[g,[v,"MIUI"+Wn]],[/fxios\/([\w\.-]+)/i],[g,[v,ze]],[/\bqihoobrowser\/?([\w\.]*)/i],[g,[v,"360"]],[/\b(qq)\/([\w\.]+)/i],[[v,/(.+)/,"$1Browser"],g],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[v,/(.+)/,"$1"+Wn],g],[/samsungbrowser\/([\w\.]+)/i],[g,[v,ye+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[g,[v,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[v,"Sogou Mobile"],g],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[v,g],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[v],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[g,v],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[v,Vn],g],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[v,g],[/\bgsa\/([\w\.]+) .*safari\//i],[g,[v,"GSA"]],[/musical_ly(?:.
5+app_?version\/|_)([\w\.]+)/i],[g,[v,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[g,[v,Ve+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[v,Ve+" WebView"],g],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[g,[v,"Android "+$e]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[v,g],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[g,[v,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[g,v],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[v,[g,_e,ao]],[/(webkit|khtml)\/([\w\.]+)/i],[v,g],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[v,"Netscape"],g],[/(wolvic|librewolf)\/([\w\.]+)/i],[v,g],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[g,[v,ze+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[v,[g,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[v,[g,/master.|lts./,""]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[R,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[R,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[R,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[R,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[R,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[R,/ower/,i,be]],[/ sun4\w[;\)]/i],[[R,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[R,be]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[l,[h,ye],[d,w]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[l,[h,ye],[d,y]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[l,[h,ie],[d,y]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[l,[h,ie],[d,w]],[/(macintosh);/i],[l,[h,ie]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[l,[h,$n],[d,y]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[l,[h,Bn],[d,w]],[/honor([-\w ]+)[;\)]/i],[l,[h,Bn],[d,y]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[l,[h,qn],[d,w]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[l,[h,qn],[d,y]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[l,/_/g," "],[h,Dt],[d,w]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[l,/_/g," "],[h,Dt],[d,y]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[l,[h,Ht],[d,y]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[l,[h,_e,{OnePlus:["304","403","203"],"*":Ht}],[d,w]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[l,[h,"Vivo"],[d,y]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[l,[h,"Realme"],[d,y]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[l,[h,Mt],[d,y]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[l,[h,Mt],[d,w]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[l,[h,We],[d,w]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i,/\blg-?([\d\w]+) bui/i],[l,[h,We],[d,y]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}
5(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[l,[h,ro],[d,w]],[/(nokia) (t[12][01])/i],[h,l,[d,w]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[l,/_/g," "],[d,y],[h,"Nokia"]],[/(pixel (c|tablet))\b/i],[l,[h,Ge],[d,w]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[l,[h,Ge],[d,y]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[l,[h,we],[d,y]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[l,"Xperia Tablet"],[h,we],[d,w]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[l,[h,Fn],[d,y]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[l,[h,Fe],[d,w]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[l,/(.+)/g,"Fire Phone $1"],[h,Fe],[d,y]],[/(playbook);[-\w\),; ]+(rim)/i],[l,h,[d,w]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[l,[h,jn],[d,y]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[l,[h,Un],[d,w]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[l,[h,Un],[d,y]],[/(nexus 9)/i],[l,[h,"HTC"],[d,w]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[h,[l,/_/g," "],[d,y]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[l,[h,"TCL"],[d,w]],[/(itel) ((\w+))/i],[[h,be],l,[d,_e,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[l,[h,"Acer"],[d,w]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[l,[h,"Meizu"],[d,y]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[l,[h,"Ulefone"],[d,y]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[l,[h,"Energizer"],[d,y]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[l,[h,"Cat"],[d,y]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[l,[h,"Smartfren"],[d,y]],[/droid.+; (a(?:015|06[35]|142p?))/i],[l,[h,"Nothing"],[d,y]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[l,[h,"Archos"],[d,w]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[l,[h,"Archos"],[d,y]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[h,l,[d,w]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (hmd|imo) ([\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i,/(oppo) ?([\w ]+) bui/i],[h,l,[d,y]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[h,l,[d,w]],[/(surface duo)/i],[l,[h,kt],[d,w]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[l,[h,"Fairphone"],[d,y]],[/(u304aa)/i],[l,[h,"AT&T"],[d,y]],[/\bsie-(\w*)/i],[l,[h,"Siemens"],[d,y]],[/\b(rct\w+) b/i],[l,[h,"RCA"],[d,w]],[/\b(venue[\d ]{2,7}) b/i],[l,[h,"Dell"],[d,w]],[/\b(q(?:mv|ta)\w+) b/i],[l,[h,"Verizon"],[d,w]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[l,[h,"Barnes & Noble"],[d,w]],[/\b(tm\d{3}\w+) b/i],[l,[h,"NuVision"],[d,w]],[/\b(k88) b/i],[l,[h,"ZTE"],[d,w]],[/\b(nx\d{3}j) b/i],[l,[h,"ZTE"],[d,y]],[/\b(gen\d{3}) b.+49h/i],[l,[h,"Swiss"],[d,y]],[/\b(zur\d{3}) b/i],[l,[h,"Swiss"],[d,w]],[/\b((zeki)?tb.*\b) b/i],[l,[h,"Zeki"],[d,w]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[h,"Dragon Touch"],l,[d,w]],[/\b(ns-?\w{0,9}) b/i],[l,[h,"Insignia"],[d,w]],[/\b((nxa|next)-?\w{0,9}) b/i],[l,[h,"NextBook"],[d,w]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[h,"Voice"],l,[d,y]],[/\b(lvtel\-)?(v1[12]) b/i],[[h,"LvTel"],l,[d,y]],[/\b(ph-1) /i],[l,[h,"Essential"],[d,y]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[l,[h,"Envizen"],[d,w]],[/\b(trio[-\w\. ]+) b/i],[l,[h,"MachSpeed"],[d,w]],[/\btu_(1491) b/i],[l,[h,"Rotor"],[d,w]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[l,[h,Nt],[d,w]],[/(sprint) (\w+)/i],[h,l,[d,y]],[/(kin\.[onetw]{3})/i],[[l,/\./g," "],[h,kt],[d,y]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[l,[h,Ut],[d,w]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[l,[h,Ut],[d,y]],[/smart-tv.+(samsung)/i],[h,[d,x]],[/hbbtv.+maple;(\d+)/i],[[l,/^/,"SmartTV"],[h,ye],[d,x]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[h,We],[d,x]],[/(apple) ?tv/i],[h,[l,ie+" TV"],[d,x]],[/crkey/i],[[l,Ve+"cast"],[h,Ge],[d,x]],[/droid.+aft(\w+)( bui|\))/i],[l,[h,Fe],[d,x]],[/(shield \w+ tv)/i],[l,[h,Nt],[d,x]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[l,[h,$n],[d,x]],[/(bravia[\w ]+)( bui|\))/i],[l,[h,we],[d,x]],[/(mi(tv|box)-?\w+) bui/i],[l,[h,Dt],[d,x]],[/Hbbtv.*(technisat) (.*);/i],[h,l,[d,x]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[h,jt],[l,jt],[d,x]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[l,[d,x]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[d,x]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[h,l,[d,T]],[/droid.+; (shield)( bui|\))/i],[l,[h,Nt],[d,T]],[/(playstation \w+)/i],[l,[h,we],[d,T]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[l,[h,kt],[d,T]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[l,[h,ye],[d,A]],[/((pebble))app/i,/(asu
vendor: 5,408 bytes, line 5
5s|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[h,l,[d,A]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[l,[h,Ht],[d,A]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[l,[h,ie],[d,A]],[/(opwwe\d{3})/i],[l,[h,Fn],[d,A]],[/(moto 360)/i],[l,[h,Mt],[d,A]],[/(smartwatch 3)/i],[l,[h,we],[d,A]],[/(g watch r)/i],[l,[h,We],[d,A]],[/droid.+; (wt63?0{2,3})\)/i],[l,[h,Ut],[d,A]],[/droid.+; (glass) \d/i],[l,[h,Ge],[d,A]],[/(pico) (4|neo3(?: link|pro)?)/i],[h,l,[d,A]],[/; (quest( \d| pro)?)/i],[l,[h,Vn],[d,A]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[h,[d,Q]],[/(aeobc)\b/i],[l,[h,Fe],[d,Q]],[/(homepod).+mac os/i],[l,[h,ie],[d,Q]],[/windows iot/i],[[d,Q]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[l,[d,y]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[l,[d,w]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[d,w]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[d,y]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[l,[h,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[g,[v,no+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[v,g],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[g,[v,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[v,g],[/ladybird\//i],[[v,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[g,v]],os:[[/microsoft (windows) (vista|xp)/i],[v,g],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[v,[g,_e,Kn]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[g,_e,Kn],[v,"Windows"]],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[g,/_/g,"."],[v,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[v,Gn],[g,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[g,v],[/(ubuntu) ([\w\.]+) like android/i],[[v,/(.+)/,"$1 Touch"],g],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i],[v,g],[/\(bb(10);/i],[g,[v,jn]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[g,[v,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[g,[v,ze+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[g,[v,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[g,[v,"watchOS"]],[/crkey\/([\d\.]+)/i],[g,[v,Ve+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[v,zn],g],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[v,g],[/(sunos) ?([\w\.\d]*)/i],[[v,"Solaris"],g],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[v,g]]},D=function(_,S){if(typeof _===s&&(S=_,_=r),!(this instanceof D))return new D(_,S).getResult();var E=typeof e!==u&&e.navigator?e.navigator:r,I=_||(E&&E.userAgent?E.userAgent:i),V=E&&E.userAgentData?E.userAgentData:r,B=S?io(Yn,S):Yn,C=E&&E.userAgent==I;return this.getBrowser=function(){var b={};return b[v]=r,b[g]=r,Ee.call(b,I,B.browser),b[p]=oo(b[g]),C&&E&&E.brave&&typeof E.brave.isBrave==c&&(b[v]="Brave"),b},this.getCPU=function(){var b={};return b[R]=r,Ee.call(b,I,B.cpu),b},this.getDevice=function(){var b={};return b[h]=r,b[l]=r,b[d]=r,Ee.call(b,I,B.device),C&&!b[d]&&V&&V.mobile&&(b[d]=y),C&&b[l]=="Macintosh"&&E&&typeof E.standalone!==u&&E.maxTouchPoints&&E.maxTouchPoints>2&&(b[l]="iPad",b[d]=w),b},this.getEngine=function(){var b={};return b[v]=r,b[g]=r,Ee.call(b,I,B.engine),b},this.getOS=function(){var b={};return b[v]=r,b[g]=r,Ee.call(b,I,B.os),C&&!b[v]&&V&&V.platform&&V.platform!="Unknown"&&(b[v]=V.platform.replace(/chrome os/i,zn).replace(/macos/i,Gn)),b},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return I},this.setUA=function(b){return I=typeof b===f&&b.length>Lt?jt(b,Lt):b,this},this.setUA(I),this};D.VERSION=o,D.BROWSER=Xe([v,g,p]),D.CPU=Xe([R]),D.DEVICE=Xe([l,h,d,T,y,x,w,A,Q]),D.ENGINE=D.OS=Xe([v,g]),n.exports&&(t=n.exports=D),t.UAParser=D;var oe=typeof e!==u&&(e.jQuery||e.Zepto);if(oe&&!oe.ua){var Ke=new D;oe.ua=Ke.getResult(),oe.ua.get=function(){return Ke.getUA()},oe.ua.set=function(_){Ke.setUA(_);var S=Ke.getResult();for(var E in S)oe.ua[E]=S[E]}}})(typeof window=="object"?window:Wa)})(Pe,Pe.exports)),Pe.exports}var Ka=Xa(),ht=function(){return ht=Object.assign||function(n){for(var t,e=1,r=arguments.length;e<r;e++){t=arguments[e];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o
5])}return n},ht.apply(this,arguments)},Te="00000000-0000-0000-0000-000000000000",Ze="unknown",Ya="desktop",Ja="web",Za=(function(){function n(t,e,r,o){this.appMonitorDetails=t,this.config=e,this.recordEvent=r,this.pageManager=o,this.sessionCookieName=this.config.cookieAttributes.unique?"".concat(lr,"_").concat(this.appMonitorDetails.id):lr,this.session={sessionId:Te,record:this.sample(),eventCount:0},this.initializeUser(),this.collectAttributes(),this.addSessionAttributes(this.config.sessionAttributes),this.getSessionFromCookie()}return n.prototype.isSampled=function(){return this.session.record},n.prototype.getSession=function(){return this.session.sessionId===Te?this.createSession():this.session.sessionId!==Te&&new Date>=this.sessionExpiry&&this.createSession(),this.session},n.prototype.getAttributes=function(){return this.attributes},n.prototype.addSessionAttributes=function(t){this.attributes=ht(ht({},this.attributes),t)},n.prototype.getUserId=function(){return this.useCookies()?this.userId:Te},n.prototype.incrementSessionEventCount=function(){this.session.eventCount++,this.renewSession()},n.prototype.isLimitExceeded=function(){return this.session.eventCount>=this.config.sessionEventLimit&&this.config.sessionEventLimit>0},n.prototype.canRecord=function(){return this.session.record&&!this.isLimitExceeded()},n.prototype.initializeUser=function(){var t="";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()?(t=this.getUserIdCookie(),this.userId=t||Me(),this.createOrRenewUserCookie(t,this.userExpiry)):this.userId=Me()},n.prototype.createOrRenewSessionCookie=function(t,e){btoa&&hr(this.sessionCookieName,btoa(JSON.stringify(t)),this.config.cookieAttributes,void 0,e)},n.prototype.createOrRenewUserCookie=function(t,e){hr(dr,t,this.config.cookieAttributes,void 0,e)},n.prototype.getUserIdCookie=function(){return pr(dr)},n.prototype.getSessionFromCookie=function(){if(this.useCookies()){var t=pr(this.sessionCookieName);if(t&&atob)try{this.session=JSON.parse(atob(t)),this.pageManager.resumeSession(this.session.page)}catch{}}},n.prototype.storeSessionAsCookie=function(){this.useCookies()&&this.config.userIdRetentionDays>0&&this.createOrRenewUserCookie(this.userId,this.userExpiry),this.useCookies()&&this.createOrRenewSessionCookie(this.session,this.sessionExpiry)},n.prototype.createSession=function(){this.session={sessionId:Me(),record:this.session.sessionId===Te?this.session.record:this.sample(),eventCount:0},this.session.page=this.pageManager.getPage(),this.sessionExpiry=new Date(new Date().getTime()+this.config.sessionLengthSeconds*1e3),this.storeSessionAsCookie(),this.recordEvent(pi,{version:"1.0.0"})},n.prototype.renewSession=function(){this.sessionExpiry=new Date(new Date().getTime()+this.config.sessionLengthSeconds*1e3),this.session.page=this.pageManager.getPage(),this.storeSessionAsCookie()},n.prototype.collectAttributes=function(){var t=new Ka.UAParser(navigator.userAgent).getResult();this.attributes={browserLanguage:navigator.language,browserName:t.browser.name?t.browser.name:Ze,browserVersion:t.browser.version?t.browser.version:Ze,osName:t.os.name?t.os.name:Ze,osVersion:t.os.version?t.os.version:Ze,deviceType:t.device.type?t.device.type:Ya,platformType:Ja,domain:window.location.hostname,"aws:releaseId":this.config.releaseId}},n.prototype.useCookies=function(){return navigator.cookieEnabled&&this.config.allowCookies},n.prototype.sample=function(){return Math.random()<this.config.sessionSampleRate},n})(),Xt,mr;function Qa(){if(mr)return Xt;mr=1;function n(u){return typeof u=="function"}var t=console.error.bind(console);function e(u,s,f){var p=!!u[s]&&u.propertyIsEnumerable(s);Object.defineProperty(u,s,{configurable:!0,enumerable:p,writable:!0,value:f})}function r(u){u&&u.logger&&(n(u.logger)?t=u.logger:t("new logger isn't a function, not replacing"))}function o(u,s,f){if(!u||!u[s]){t("no original function "+s+" to wrap");return}if(!f){t("no wrapper function"),t(new Error().stack);return}if(!n(u[s])||!n(f)){t("original object and wrapper must be functions");return}var p=u[s],l=f(p,s);return e(l,"__original",p),e(l,"__unwrap",function(){u[s]===l&&e(u,s,p)}),e(l,"__wrapped",!0),e(u,s,l),l}function i(u,s,f){if(u)Array.isArray(u)||(u=[u]);else{t("must provide one or more modules to patch"),t(new Error().stack);return}
5if(!(s&&Array.isArray(s))){t("must provide one or more functions to wrap on modules");return}u.forEach(function(p){s.forEach(function(l){o(p,l,f)})})}function a(u,s){if(!u||!u[s]){t("no function to unwrap."),t(new Error().stack);return}if(!u[s].__unwrap)t("no original to unwrap to -- has "+s+" already been unwrapped?");else return u[s].__unwrap()}function c(u,s){if(u)Array.isArray(u)||(u=[u]);else{t("must provide one or more modules to patch"),t(new Error().stack);return}if(!(s&&Array.isArray(s))){t("must provide one or more functions to unwrap on modules");return}u.forEach(function(f){s.forEach(function(p){a(f,p)})})}return r.wrap=o,r.massWrap=i,r.unwrap=a,r.massUnwrap=c,Xt=r,Xt}var pt=Qa();const es=Io(pt),yr=Do({__proto__:null,default:es},[pt]);var ts=(function(){var n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(r[i]=o[i])},n(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");n(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),Ct=(function(n){ts(t,n);function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.enable=e.patch.bind(e,!0),e.disable=e.patch.bind(e,!1),e.enabled=!1,e}return t.prototype.patchAll=function(){for(var e=pt.wrap.bind(yr),r=0,o=this.patches;r<o.length;r++){var i=o[r];e(i.nodule,i.name,i.wrapper())}},t.prototype.unpatchAll=function(){for(var e=pt.unwrap.bind(yr),r=0,o=this.patches;r<o.length;r++){var i=o[r];e(i.nodule,i.name)}},t.prototype.patch=function(e){e===void 0&&(e=!0),this.enabled!==e&&(this.enabled=e,e?this.patchAll():this.unpatchAll())},t}
5)(ne),ns=(function(){var n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(r[i]=o[i])},n(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");n(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),rs=(function(n){ns(t,n);function t(e,r,o){var i=n.call(this,"virtual-page-load-timer")||this;return i.sendWrapper=function(){var a=i;return function(c){return function(){return a.recordXhr(this),this.addEventListener("loadend",a.endTracking),c.apply(this,arguments)}}},i.endTracking=function(a){var c=Date.now(),u=a.target;u.removeEventListener("loadend",i.endTracking),i.removeXhr(u,c)},i.fetch=function(a,c,u){return a.apply(c,u).catch(function(s){throw s}).finally(i.decrementFetchCounter)},i.fetchWrapper=function(){var a=i;return function(c){return function(u,s){return a.fetchCounter+=1,a.fetch(c,this,arguments)}}},i.decrementFetchCounter=function(){i.isPageLoaded||(i.latestEndTime=Date.now()),i.fetchCounter-=1},i.checkLoadStatus=function(){i.ongoingRequests.size===0&&i.fetchCounter===0&&(clearInterval(i.periodicCheckerId),clearTimeout(i.timeoutCheckerId),i.domMutationObserver.disconnect(),i.recordRouteChangeNavigationEvent(i.pageManager.getPage()),i.periodicCheckerId=void 0,i.timeoutCheckerId=void 0,i.isPageLoaded=!0)},i.declareTimeout=function(){clearInterval(i.periodicCheckerId),i.periodicCheckerId=void 0,i.timeoutCheckerId=void 0,i.domMutationObserver.disconnect(),i.isPageLoaded=!0},i.resetInterval=function(){i.latestEndTime=Date.now(),clearInterval(i.periodicCheckerId),i.periodicCheckerId=setInterval(i.checkLoadStatus,i.config.routeChangeComplete)},i.moveItemsFromBuffer=function(a){i.ongoingRequests.add(a)},i.updateLatestInteractionTime=function(a){i.latestInteractionTime=Date.now()},i.periodicCheckerId=void 0,i.timeoutCheckerId=void 0,i.domMutationObserver=new MutationObserver(i.resetInterval),i.ongoingRequests=new Set,i.requestBuffer=new Set,i.fetchCounter=0,i.isPageLoaded=!0,i.latestEndTime=0,i.latestInteractionTime=0,i.config=r,i.pageManager=e,i.record=o,i.enable(),document.addEventListener("mousedown",i.updateLatestInteractionTime),document.addEventListener("keydown",i.updateLatestInteractionTime),i}return 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){var r=this.pageManager.getPage();r&&this.isPageLoaded===!1?this.ongoingRequests.add(e):this.requestBuffer.add(e)},t.prototype.removeXhr=function(e,r){var o=this.pageManager.getPage();o&&this.ongoingRequests.has(e)?(this.ongoingRequests.delete(e),this.latestEndTime=r):this.requestBuffer.has(e)&&this.requestBuffer.delete(e)},t.prototype.recordRouteChangeNavigationEvent=function(e){var r={version:"1.0.0",initiatorType:"route_change",navigationType:"navigate",startTime:e.start,duration:this.latestEndTime-e.start};this.record&&this.record(lt,r)},t})(Ct),vt=function(){return vt=Object.assign||function(n){for(var t,e=1,r=arguments.length;e<r;e++){t=arguments[e];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o])}return n},vt.apply(this,arguments)},is=(function(){function n(t,e){this.TIMEOUT=1e3,this.config=t,this.record=e,this.page=void 0,this.resumed=!1,this.recordInteraction=!1,this.virtualPageLoadTimer=new rs(this,t,e)}return n.prototype.getPage=function(){return this.page},n.prototype.getAttributes=function(){return this.attributes},n.prototype.resumeSession=function(t){this.recordInteraction=!0,t&&(this.page=t,this.resumed=!0)},n.prototype.recordPageView=function(t){var e;if(typeof t=="string"?e=t:e=t.pageId,this.useCookies()&&(this.recordInteraction=!0),!this.page)this.createLandingPage(e);else if(this.page.pageId!==e)this.createNextPage(this.page,e);else if(this.resumed){this.collectAttributes(this.page,typeof t=="object"?t:void 0);return}else return;this.collectAttributes(this.page,typeof t=="object"?t:void 0),this.recordPageViewEvent(this.page)},n.prototype.createNextPage=function(t,e){var r=Date.now(),o=this.virtualPageLoadTimer.latestInteractionTime;!this.resumed&&r-o<=this.TIMEOUT&&(r=o,this.virtualPageLoadTimer.startTiming()),this.timeOnParentPage=r-t.start,this.resumed=!1,this.page={pageId:e,parentPageId:t.pageId,interaction:t.interaction+1,referrer:document.referrer,referrerDomain:this.getDomainFromReferrer(),start:r}},n.prototype.createLandingPage=function(t){this.page={pageId:t,interaction:0,referrer:document.referrer,referrerDomain:this.getDomainFromReferrer(),start:Date.now()}},n.prototype.collectAttributes=function(t,e){var r;this.attributes={title:!((r=e==null?void 0:e.pageAttributes)===null||r===void 0)&&r.title?e.pageAttributes.title:document.title,pageId:t.pageId},this.recordInteraction&&(this.attributes.interaction=t.interaction,t.parentPageId!==void 0&&(this.attributes.parentPageId=t.parentPageId)),e!=null&&e.pageTags&&(this.attributes.pageTags=e.pageTags),e!=null&&e.pageAttributes&&(this.attributes=vt(vt({},e.pageAttributes),this.attributes))}
5,n.prototype.createPageViewEvent=function(t){var e={version:"1.0.0",pageId:t.pageId};return this.recordInteraction&&(e.interaction=t.interaction,e.pageInteractionId=t.pageId+"-"+t.interaction,t.parentPageId!==void 0&&(e.parentPageInteractionId=t.parentPageId+"-"+(t.interaction-1),e.timeOnParentPage=this.timeOnParentPage),e.referrer=document.referrer,e.referrerDomain=this.getDomainFromReferrer()),e},n.prototype.recordPageViewEvent=function(t){this.record(Pa,this.createPageViewEvent(t))},n.prototype.useCookies=function(){return navigator.cookieEnabled&&this.config.allowCookies},n.prototype.getDomainFromReferrer=function(){try{return new URL(document.referrer).hostname}catch{return document.referrer==="localhost"?document.referrer:""}},n})(),Ue;(function(n){n.EVENT="event"})(Ue||(Ue={}));var yi=(function(){function n(){this.subscribers=new Map}return n.prototype.subscribe=function(t,e){var r,o=(r=this.subscribers.get(t))!==null&&r!==void 0?r:[];o.length||this.subscribers.set(t,o),o.push(e)},n.prototype.unsubscribe=function(t,e){var r=this.subscribers.get(t);if(r){for(var o=0;o<r.length;o++)if(r[o]===e)return r.splice(o,1),!0}return!1},n.prototype.dispatch=function(t,e){var r=this.subscribers.get(t);if(r)for(var o=0,i=r;o<i.length;o++){var a=i[o];a(e)}},n})(),z=function(){return z=Object.assign||function(n){for(var t,e=1,r=arguments.length;e<r;e++){t=arguments[e];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o])}return n},z.apply(this,arguments)},os="1.25.0",as=(function(){function n(t,e,r){r===void 0&&(r=new yi);var o=this;this.eventBus=r,this.events=[],this.candidates=new Map,this.recordPageView=function(i){o.isCurrentUrlAllowed()&&o.pageManager.recordPageView(i)},this.recordEvent=function(i,a){o.enabled&&o.isCurrentUrlAllowed()&&(i!==pi&&o.sessionManager.getSession(),o.sessionManager.canRecord()&&(o.sessionManager.incrementSessionEventCount(),o.addRecordToCache(i,a)))},this.recordCandidate=function(i,a){var c=o.sessionManager.getSession();if(!(!o.enabled||!o.isCurrentUrlAllowed()||!c.record)){var u=o.createEvent(i,a)[0];if(o.candidates.has(i)){o.candidates.set(i,u);return}o.candidates.size<o.config.candidatesCacheSize&&!o.sessionManager.isLimitExceeded()&&(o.candidates.set(i,u),o.sessionManager.incrementSessionEventCount())}}
5,this.getSession=function(){if(o.isCurrentUrlAllowed())return o.sessionManager.getSession()},this.addRecordToCache=function(i,a){if(o.enabled&&o.events.length!==o.config.eventCacheSize){var c=o.createEvent(i,a),u=c[0],s=c[1];o.eventBus.dispatch(Ue.EVENT,s),o.events.push(u)}},this.createEvent=function(i,a){var c=z(z(z({},o.sessionManager.getAttributes()),o.pageManager.getAttributes()),{version:"1.0.0","aws:client":o.installationMethod,"aws:clientVersion":os}),u={id:Me(),timestamp:new Date,type:i};return[z(z({},u),{details:JSON.stringify(a),metadata:JSON.stringify(c)}),z(z({},u),{details:a,metadata:c})]},this.appMonitorDetails=t,this.config=e,this.enabled=!0,this.pageManager=new is(e,this.recordEvent),this.sessionManager=new Za(t,e,this.recordEvent,this.pageManager),this.installationMethod=e.client}return n.prototype.enable=function(){this.enabled=!0},n.prototype.disable=function(){this.enabled=!1},n.prototype.isSessionSampled=function(){return this.sessionManager.isSampled()},n.prototype.hasEvents=function(){return this.events.length!==0},n.prototype.hasCandidates=function(){return this.candidates.size!==0},n.prototype.getEventBatch=function(t){t===void 0&&(t=!1);var e=[];if(t&&this.hasCandidates())if(this.candidates.size<=this.config.batchLimit)e=Array.from(this.candidates.values()),this.candidates.clear();else for(var r=0,o=0,i=Array.from(this.candidates.keys());o<i.length;o++){var a=i[o];if(r++>=this.config.batchLimit)break;var c=this.candidates.get(a);c&&(e.push(c),this.candidates.delete(a))}return this.events.length&&(this.events.length<=this.config.batchLimit-e.length?(e.push.apply(e,this.events),this.events=[]):e.push.apply(e,this.events.splice(0,this.config.batchLimit-e.length))),e},n.prototype.getAppMonitorDetails=function(){return this.appMonitorDetails},n.prototype.getUserDetails=function(){return{userId:this.sessionManager.getUserId(),sessionId:this.sessionManager.getSession().sessionId}},n.prototype.addSessionAttributes=function(t){this.sessionManager.addSessionAttributes(t)},n.prototype.isCurrentUrlAllowed=function(){var t=document.location.toString(),e=this.config.pagesToExclude.some(function(o){return o.test(t)}),r=this.config.pagesToInclude.some(function(o){return o.test(t)});return r&&!e},n})();const wi={},fn={};for(let n=0;n<256;n++){let t=n.toString(16).toLowerCase();t.length===1&&(t=`0${t}`),wi[n]=t,fn[t]=n}function ss(n){if(n.length%2!==0)throw new Error("Hex encoded strings must have an even number length");const t=new Uint8Array(n.length/2);for(let e=0;e<n.length;e+=2){const r=n.slice(e,e+2).toLowerCase();if(r in fn)t[e/2]=fn[r];else throw new Error(`Cannot decode unrecognized sequence ${r} as hexadecimal`)}return t}function Z(n){let t="";for(let e=0;e<n.byteLength;e++)t+=wi[n[e]];return t}var wr;(function(n){n.HEADER="header",n.QUERY="query"})(wr||(wr={}));var br;(function(n){n.HEADER="header",n.QUERY="query"})(br||(br={}));var Er;(function(n){n.HTTP="http",n.HTTPS="https"})(Er||(Er={}));var _r;(function(n){n.MD5="md5",n.CRC32="crc32",n.CRC32C="crc32c",n.SHA1="sha1",n.SHA256="sha256"})(_r||(_r={}));var Sr;(function(n){n[n.HEADER=0]="HEADER",n[n.TRAILER=1]="TRAILER"})(Sr||(Sr={}));var Tr;(function(n){n.PROFILE="profile",n.SSO_SESSION="sso-session",n.SERVICES="services"})(Tr||(Tr={}));var Cr;(function(n){n.HTTP_0_9="http/0.9",n.HTTP_1_0="http/1.0",n.TDS_8_0="tds/8.0"})(Cr||(Cr={}));const Ir=n=>{if(typeof n=="function")return n;const t=Promise.resolve(n);return()=>t},cs="X-Amz-Algorithm",us="X-Amz-Credential",bi="X-Amz-Date",fs="X-Amz-SignedHeaders",ls="X-Amz-Expires",Ei="X-Amz-Signature",_i="X-Amz-Security-Token",Si="authorization",Ti=bi.toLowerCase(),ds="date",hs=[Si,Ti,ds],ps=Ei.toLowerCase(),ln="x-amz-content-sha256",vs=_i.toLowerCase(),gs={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0},ms=/^proxy-/,ys=/^sec-/,Kt="AWS4-HMAC-SHA256",ws="AWS4-HMAC-SHA256-PAYLOAD",bs="UNSIGNED-PAYLOAD",Es=50,Ci="aws4_request",_s=3600*24*7,Qe={},Yt=[],Jt=(n,t,e)=>`${n}/${t}/${e}/${Ci}`,Ss=async(n,t,e,r,o)=>{const i=await xr(n,t.secretAccessKey,t.accessKeyId),a=`${e}:${r}:${o}:${Z(i)}:${t.sessionToken}`;if(a in Qe)return Qe[a];for(Yt.push(a);Yt.length>Es;)delete Qe[Yt.shift()];let c=`AWS4${t.secretAccessKey}`;for(const u of[e,r,o,Ci])c=await xr(n,c,u);return Qe[a]=c},xr=(n,t,e)=>{const r=new n(t);return r.update(ke(e)),r.digest()},Rr=({headers:n},t,e)=>{const r={};for(const o of Object.keys(n).sort()){if(n[o]==null)continue;const i=o.toLowerCase();(i in gs||t!=null&&t.has(i)||ms.test(i)||ys.test(i))&&(!e||e&&!e.has(i))||(r[i]=n[o].trim().replace(/\s+/g," "))}return r},Ts=({query:n={}})=>{const t=[],e={};for(const r of Object.keys(n)){if(r.toLowerCase()===ps)continue;const o=te(r);t.push(o);const i=n[r];typeof i=="string"?e[o]=`${o}=${te(i)}`:Array.isArray(i)&&(e[o]=i.slice(0).reduce((a,c)=>a.concat([`${o}=${te(c)}`]),[]).sort().join("&"))}return t.sort().map(r=>e[r]).filter(r=>r).join("&")},Cs=n=>typeof ArrayBuffer=="function"&&n instanceof ArrayBuffer||Object.prototype.toString.call(n)==="[object ArrayBuffer]",Zt=async({headers:n,body:t},e)=>{for(const r of Object.keys(n))if(r.toLowerCase()===ln)return n[r];if(t==null)return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";if(typeof t=="string"||ArrayBuffer.isView(t)||Cs(t)){const r=new e;return r.update(ke(t)),Z(await r.digest())}return bs};class Is{format(t){const e=[];for(const i of Object.keys(t)){const a=un(i);e.push(Uint8Array.from([a.byteLength]),a,this.formatHeaderValue(t[i]))}
5const r=new Uint8Array(e.reduce((i,a)=>i+a.byteLength,0));let o=0;for(const i of e)r.set(i,o),o+=i.byteLength;return r}formatHeaderValue(t){switch(t.type){case"boolean":return Uint8Array.from([t.value?0:1]);case"byte":return Uint8Array.from([2,t.value]);case"short":const e=new DataView(new ArrayBuffer(3));return e.setUint8(0,3),e.setInt16(1,t.value,!1),new Uint8Array(e.buffer);case"integer":const r=new DataView(new ArrayBuffer(5));return r.setUint8(0,4),r.setInt32(1,t.value,!1),new Uint8Array(r.buffer);case"long":const o=new Uint8Array(9);return o[0]=5,o.set(t.value.bytes,1),o;case"binary":const i=new DataView(new ArrayBuffer(3+t.value.byteLength));i.setUint8(0,6),i.setUint16(1,t.value.byteLength,!1);const a=new Uint8Array(i.buffer);return a.set(t.value,3),a;case"string":const c=un(t.value),u=new DataView(new ArrayBuffer(3+c.byteLength));u.setUint8(0,7),u.setUint16(1,c.byteLength,!1);const s=new Uint8Array(u.buffer);return s.set(c,3),s;case"timestamp":const f=new Uint8Array(9);return f[0]=8,f.set(Sn.fromNumber(t.value.valueOf()).bytes,1),f;case"uuid":if(!xs.test(t.value))throw new Error(`Invalid UUID received: ${t.value}`);const p=new Uint8Array(17);return p[0]=9,p.set(ss(t.value.replace(/\-/g,"")),1),p}}}var Ar;(function(n){n[n.boolTrue=0]="boolTrue",n[n.boolFalse=1]="boolFalse",n[n.byte=2]="byte",n[n.short=3]="short",n[n.integer=4]="integer",n[n.long=5]="long",n[n.byteArray=6]="byteArray",n[n.string=7]="string",n[n.timestamp=8]="timestamp",n[n.uuid=9]="uuid"})(Ar||(Ar={}));const xs=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;class Sn{constructor(t){if(this.bytes=t,t.byteLength!==8)throw new Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(t){if(t>9223372036854776e3||t<-9223372036854776e3)throw new Error(`${t} is too large (or, if negative, too small) to represent as an Int64`);const e=new Uint8Array(8);for(let r=7,o=Math.abs(Math.round(t));r>-1&&o>0;r--,o/=256)e[r]=o;return t<0&&Or(e),new Sn(e)}valueOf(){const t=this.bytes.slice(0),e=t[0]&128;return e&&Or(t),parseInt(Z(t),16)*(e?-1:1)}toString(){return String(this.valueOf())}}function Or(n){for(let t=0;t<8;t++)n[t]^=255;for(let t=7;t>-1&&(n[t]++,n[t]===0);t--);}const Rs=(n,t)=>{n=n.toLowerCase();for(const e of Object.keys(t))if(n===e.toLowerCase())return!0;return!1},As=(n,t={})=>{var o,i;const{headers:e,query:r={}}=X.clone(n);for(const a of Object.keys(e)){const c=a.toLowerCase();(c.slice(0,6)==="x-amz-"&&!((o=t.unhoistableHeaders)!=null&&o.has(c))||(i=t.hoistableHeaders)!=null&&i.has(c))&&(r[a]=e[a],delete e[a])}return{...n,headers:e,query:r}},Pr=n=>{n=X.clone(n);for(const t of Object.keys(n.headers))hs.indexOf(t.toLowerCase())>-1&&delete n.headers[t];return n},Os=n=>Ps(n).toISOString().replace(/\.\d{3}Z$/,"Z"),Ps=n=>typeof n=="number"?new Date(n*1e3):typeof n=="string"?Number(n)?new Date(Number(n)*1e3):new Date(n):n;class Ls{constructor({applyChecksum:t,credentials:e,region:r,service:o,sha256:i,uriEscapePath:a=!0}){this.headerFormatter=new Is,this.service=o,this.sha256=i,this.uriEscapePath=a,this.applyChecksum=typeof t=="boolean"?t:!0,this.regionProvider=Ir(r),this.credentialProvider=Ir(e)}async presign(t,e={}
5){const{signingDate:r=new Date,expiresIn:o=3600,unsignableHeaders:i,unhoistableHeaders:a,signableHeaders:c,hoistableHeaders:u,signingRegion:s,signingService:f}=e,p=await this.credentialProvider();this.validateResolvedCredentials(p);const l=s??await this.regionProvider(),{longDate:v,shortDate:d}=et(r);if(o>_s)return Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future");const h=Jt(d,l,f??this.service),g=As(Pr(t),{unhoistableHeaders:a,hoistableHeaders:u});p.sessionToken&&(g.query[_i]=p.sessionToken),g.query[cs]=Kt,g.query[us]=`${p.accessKeyId}/${h}`,g.query[bi]=v,g.query[ls]=o.toString(10);const R=Rr(g,i,c);return g.query[fs]=Lr(R),g.query[Ei]=await this.getSignature(v,h,this.getSigningKey(p,l,d,f),this.createCanonicalRequest(g,R,await Zt(t,this.sha256))),g}async sign(t,e){return typeof t=="string"?this.signString(t,e):t.headers&&t.payload?this.signEvent(t,e):t.message?this.signMessage(t,e):this.signRequest(t,e)}async signEvent({headers:t,payload:e},{signingDate:r=new Date,priorSignature:o,signingRegion:i,signingService:a}){const c=i??await this.regionProvider(),{shortDate:u,longDate:s}=et(r),f=Jt(u,c,a??this.service),p=await Zt({headers:{},body:e},this.sha256),l=new this.sha256;l.update(t);const v=Z(await l.digest()),d=[ws,s,f,o,v,p].join(`
6`);return this.signString(d,{signingDate:r,signingRegion:c,signingService:a})}async signMessage(t,{signingDate:e=new Date,signingRegion:r,signingService:o}){return this.signEvent({headers:this.headerFormatter.format(t.message.headers),payload:t.message.body},{signingDate:e,signingRegion:r,signingService:o,priorSignature:t.priorSignature}).then(a=>({message:t.message,signature:a}))}async signString(t,{signingDate:e=new Date,signingRegion:r,signingService:o}={}){const i=await this.credentialProvider();this.validateResolvedCredentials(i);const a=r??await this.regionProvider(),{shortDate:c}
6=et(e),u=new this.sha256(await this.getSigningKey(i,a,c,o));return u.update(ke(t)),Z(await u.digest())}async signRequest(t,{signingDate:e=new Date,signableHeaders:r,unsignableHeaders:o,signingRegion:i,signingService:a}={}){const c=await this.credentialProvider();this.validateResolvedCredentials(c);const u=i??await this.regionProvider(),s=Pr(t),{longDate:f,shortDate:p}=et(e),l=Jt(p,u,a??this.service);s.headers[Ti]=f,c.sessionToken&&(s.headers[vs]=c.sessionToken);const v=await Zt(s,this.sha256);!Rs(ln,s.headers)&&this.applyChecksum&&(s.headers[ln]=v);const d=Rr(s,o,r),h=await this.getSignature(f,l,this.getSigningKey(c,u,p,a),this.createCanonicalRequest(s,d,v));return s.headers[Si]=`${Kt} Credential=${c.accessKeyId}/${l}, SignedHeaders=${Lr(d)}, Signature=${h}`,s}createCanonicalRequest(t,e,r){const o=Object.keys(e).sort();return`${t.method}
7${this.getCanonicalPath(t)}
8${Ts(t)}
9${o.map(i=>`${i}:${e[i]}`).join(`
10`)}
11
12${o.join(";")}
13${r}`}async createStringToSign(t,e,r){const o=new this.sha256;o.update(ke(r));const i=await o.digest();return`${Kt}
14${t}
15${e}
16${Z(i)}`}getCanonicalPath({path:t}){if(this.uriEscapePath){const e=[];for(const i of t.split("/"))(i==null?void 0:i.length)!==0&&i!=="."&&(i===".."?e.pop():e.push(i));const r=`${t!=null&&t.startsWith("/")?"/":""}${e.join("/")}${e.length>0&&(t!=null&&t.endsWith("/"))?"/":""}`;return te(r).replace(/%2F/g,"/")}return t}async getSignature(t,e,r,o){const i=await this.createStringToSign(t,e,o),a=new this.sha256(await r);return a.update(ke(i)),Z(await a.digest())}getSigningKey(t,e,r,o){return Ss(this.sha256,t,r,e,o||this.service)}validateResolvedCredentials(t){if(typeof t!="object"||typeof t.accessKeyId!="string"||typeof t.secretAccessKey!="string")throw new Error("Resolved credential object is not valid")}}const et=n=>{const t=Os(n).replace(/[\-:]/g,"");return{longDate:t,shortDate:t.slice(0,8)}},Lr=n=>Object.keys(n).sort().join(";");var Qt={};/*! *****************************************************************************
17Copyright (c) Microsoft Corporation.
18
19Permission to use, copy, modify, and/or distribute this software for any
20purpose with or without fee is hereby granted.
21
22THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
23REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
24AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
25INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
26LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
27OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
28PERFORMANCE OF THIS SOFTWARE.
29***************************************************************************** */var dn=function(n,t){return dn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var o in r)r.hasOwnProperty(o)&&(e[o]=r[o])},dn(n,t)};function ks(n,t){dn(n,t);function e(){this.constructor=n}n.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}var hn=function(){return hn=Object.assign||function(t){for(var e,r=1,o=arguments.length;r<o;r++){e=arguments[r];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}return t},hn.apply(this,arguments)};function Ms(n,t){var e={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&t.indexOf(r)<0&&(e[r]=n[r]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(n);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(n,r[o])&&(e[r[o]]=n[r[o]]);return e}function Ns(n,t,e,r){var o=arguments.length,i=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,e):r,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(n,t,e,r);else for(var c=n.length-1;c>=0;c--)(a=n[c])&&(i=(o<3?a(i):o>3?a(t,e,i):a(t,e))||i);return o>3&&i&&Object.defineProperty(t,e,i),i}function Hs(n,t){return function(e,r){t(e,r,n)}}function Ds(n,t){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(n,t)}function Us(n,t,e,r){function o(i){return i instanceof e?i:new e(function(a){a(i)})}return new(e||(e=Promise))(function(i,a){function c(f){try{s(r.next(f))}catch(p){a(p)}}function u(f){try{s(r.throw(f))}catch(p){a(p)}}function s(f){f.done?i(f.value):o(f.value).then(c,u)}s((r=r.apply(n,t||[])).next())})}function js(n,t){var e={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,a;return a={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(s){return function(f){return u([s,f])}}function u(s){if(r)throw new TypeError("Generator is already executing.");for(;e;)try{if(r=1,o&&(i=s[0]&2?o.return:s[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,s[1])).done)return i;switch(o=0,i&&(s=[s[0]&2,i.value]),s[0]){case 0:case 1:i=s;break;case 4:return e.label++,{value:s[1],done:!1};case 5:e.label++,o=s[1],s=[0];continue;case 7:s=e.ops.pop(),e.trys.pop();continue;default:if(i=e.trys,!(i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){e=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){e.label=s[1];break}if(s[0]===6&&e.label<i[1]){e.label=i[1],i=s;break}if(i&&e.label<i[2]){e.label=i[2],e.ops.push(s);break}i[2]&&e.ops.pop(),e.trys.pop();continue}s=t.call(n,e)}catch(f){s=[6,f],o=0}finally{r=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}function Bs(n,t,e,r){r===void 0&&(r=e),n[r]=t[e]}function qs(n,t){for(var e in n)e!=="default"&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function pn(n){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&n[t],r=0;if(e)return e.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&r>=n.length&&(n=void 0),{value:n&&n[r++],done:!n}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ii(n,t){var e=typeof Symbol=="function"&&n[Symbol.iterator];if(!e)return n;var r=e.call(n),o,i=[],a;try{for(;(t===void 0||t-- >0)&&!(o=r.next()).done;)i.push(o.value)}catch(c){a={error:c}}finally{try{o&&!o.done&&(e=r.return)&&e.call(r)}finally{if(a)throw a.error}}return i}function Fs(){for(var n=[],t=0;t<arguments.length;t++)n=n.concat(Ii(arguments[t]));return n}function $s(){for(var n=0,t=0,e=arguments.length;t<e;t++)n+=arguments[t].length;for(var r=Array(n),o=0,t=0;t<e;t++)for(var i=arguments[t],a=0,c=i.length;a<c;a++,o++)r[o]=i[a];return r}function je(n){return this instanceof je?(this.v=n,this):new je(n)}function Vs(n,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=e.apply(n,t||[]),o,i=[];return o={},a("next"),a("throw"),a("return"),o[Symbol.asyncIterator]=function(){return this},o;function a(l){r[l]&&(o[l]=function(v){return new Promise(function(d,h){i.push([l,v,d,h])>1||c(l,v)})})}function c(l,v){try{u(r[l](v))}catch(d){p(i[0][3],d)}}function u(l){l.value instanceof je?Promise.resolve(l.value.v).then(s,f):p(i[0][2],l)}function s(l){c("next",l)}
29function f(l){c("throw",l)}function p(l,v){l(v),i.shift(),i.length&&c(i[0][0],i[0][1])}}function zs(n){var t,e;return t={},r("next"),r("throw",function(o){throw o}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(o,i){t[o]=n[o]?function(a){return(e=!e)?{value:je(n[o](a)),done:o==="return"}:i?i(a):a}:i}}function Gs(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=n[Symbol.asyncIterator],e;return t?t.call(n):(n=typeof pn=="function"?pn(n):n[Symbol.iterator](),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(i){e[i]=n[i]&&function(a){return new Promise(function(c,u){a=n[i](a),o(c,u,a.done,a.value)})}}function o(i,a,c,u){Promise.resolve(u).then(function(s){i({value:s,done:c})},a)}}function Ws(n,t){return Object.defineProperty?Object.defineProperty(n,"raw",{value:t}):n.raw=t,n}function Xs(n){if(n&&n.__esModule)return n;var t={};if(n!=null)for(var e in n)Object.hasOwnProperty.call(n,e)&&(t[e]=n[e]);return t.default=n,t}function Ks(n){return n&&n.__esModule?n:{default:n}}function Ys(n,t){if(!t.has(n))throw new TypeError("attempted to get private field on non-instance");return t.get(n)}function Js(n,t,e){if(!t.has(n))throw new TypeError("attempted to set private field on non-instance");return t.set(n,e),e}const xi=Object.freeze(Object.defineProperty({__proto__:null,get __assign(){return hn},__asyncDelegator:zs,__asyncGenerator:Vs,__asyncValues:Gs,__await:je,__awaiter:Us,__classPrivateFieldGet:Ys,__classPrivateFieldSet:Js,__createBinding:Bs,__decorate:Ns,__exportStar:qs,__extends:ks,__generator:js,__importDefault:Ks,__importStar:Xs,__makeTemplateOb
29ject:Ws,__metadata:Ds,__param:Hs,__read:Ii,__rest:Ms,__spread:Fs,__spreadArrays:$s,__values:pn},Symbol.toStringTag,{value:"Module"}));var Ce={},M={},kr;function Ri(){return kr||(kr=1,Object.defineProperty(M,"__esModule",{value:!0}),M.MAX_HASHABLE_LENGTH=M.INIT=M.KEY=M.DIGEST_LENGTH=M.BLOCK_SIZE=void 0,M.BLOCK_SIZE=64,M.DIGEST_LENGTH=32,M.KEY=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),M.INIT=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],M.MAX_HASHABLE_LENGTH=Math.pow(2,53)-1),M}var Ie={},Mr;function Zs(){if(Mr)return Ie;Mr=1,Object.defineProperty(Ie,"__esModule",{value:!0}),Ie.RawSha256=void 0;var n=Ri(),t=(function(){function e(){this.state=Int32Array.from(n.INIT),this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}return e.prototype.update=function(r){if(this.finished)throw new Error("Attempted to update an already finished hash.");var o=0,i=r.byteLength;if(this.bytesHashed+=i,this.bytesHashed*8>n.MAX_HASHABLE_LENGTH)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;i>0;)this.buffer[this.bufferLength++]=r[o++],i--,this.bufferLength===n.BLOCK_SIZE&&(this.hashBuffer(),this.bufferLength=0)},e.prototype.digest=function(){if(!this.finished){var r=this.bytesHashed*8,o=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),i=this.bufferLength;if(o.setUint8(this.bufferLength++,128),i%n.BLOCK_SIZE>=n.BLOCK_SIZE-8){for(var a=this.bufferLength;a<n.BLOCK_SIZE;a++)o.setUint8(a,0);this.hashBuffer(),this.bufferLength=0}for(var a=this.bufferLength;a<n.BLOCK_SIZE-8;a++)o.setUint8(a,0);o.setUint32(n.BLOCK_SIZE-8,Math.floor(r/4294967296),!0),o.setUint32(n.BLOCK_SIZE-4,r),this.hashBuffer(),this.finished=!0}for(var c=new Uint8Array(n.DIGEST_LENGTH),a=0;a<8;a++)c[a*4]=this.state[a]>>>24&255,c[a*4+1]=this.state[a]>>>16&255,c[a*4+2]=this.state[a]>>>8&255,c[a*4+3]=this.state[a]>>>0&255;return c},e.prototype.hashBuffer=function(){for(var r=this,o=r.buffer,i=r.state,a=i[0],c=i[1],u=i[2],s=i[3],f=i[4],p=i[5],l=i[6],v=i[7],d=0;d<n.BLOCK_SIZE;d++){if(d<16)this.temp[d]=(o[d*4]&255)<<24|(o[d*4+1]&255)<<16|(o[d*4+2]&255)<<8|o[d*4+3]&255;else{var h=this.temp[d-2],g=(h>>>17|h<<15)^(h>>>19|h<<13)^h>>>10;h=this.temp[d-15];var R=(h>>>7|h<<25)^(h>>>18|h<<14)^h>>>3;this.temp[d]=(g+this.temp[d-7]|0)+(R+this.temp[d-16]|0)}var T=(((f>>>6|f<<26)^(f>>>11|f<<21)^(f>>>25|f<<7))+(f&p^~f&l)|0)+(v+(n.KEY[d]+this.temp[d]|0)|0)|0,y=((a>>>2|a<<30)^(a>>>13|a<<19)^(a>>>22|a<<10))+(a&c^a&u^c&u)|0;v=l,l=p,p=f,f=s+T|0,s=u,u=c,c=a,a=T+y|0}i[0]+=a,i[1]+=c,i[2]+=u,i[3]+=s,i[4]+=f,i[5]+=p,i[6]+=l,i[7]+=v},e})();return Ie.RawSha256=t,Ie}var en={},xe={};const Qs=n=>{const t=[];for(let e=0,r=n.length;e<r;e++){const o=n.charCodeAt(e);if(o<128)t.push(o);else if(o<2048)t.push(o>>6|192,o&63|128);else if(e+1<n.length&&(o&64512)===55296&&(n.charCodeAt(e+1)&64512)===56320){const i=65536+((o&1023)<<10)+(n.charCodeAt(++e)&1023);t.push(i>>18|240,i>>12&63|128,i>>6&63|128,i&63|128)}else t.push(o>>12|224,o>>6&63|128,o&63|128)}return Uint8Array.from(t)};function ec(n){return new TextEncoder().encode(n)}const tc=n=>typeof TextEncoder=="function"?ec(n):Qs(n),nc=Object.freeze(Object.defineProperty({__proto__:null,fromUtf8:tc},Symbol.toStringTag,{value:"Module"}));var Nr;function rc(){if(Nr)return xe;Nr=1,Object.defineProperty(xe,"__esModule",{value:!0}),xe.convertToBuffer=void 0;var n=nc,t=typeof Buffer<"u"&&Buffer.from?function(r){return Buffer.from(r,"utf8")}:n.fromUtf8;function e(r){return r instanceof Uint8Array?r:typeof r=="string"?t(r):ArrayBuffer.isView(r)?new Uint8Array(r.buffer,r.byteOffset,r.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(r)}return xe.convertToBuffer=e,xe}var Re={},Hr;function ic(){if(Hr)return Re;
29Hr=1,Object.defineProperty(Re,"__esModule",{value:!0}),Re.isEmptyData=void 0;function n(t){return typeof t=="string"?t.length===0:t.byteLength===0}return Re.isEmptyData=n,Re}var Ae={},Dr;function oc(){if(Dr)return Ae;Dr=1,Object.defineProperty(Ae,"__esModule",{value:!0}),Ae.numToUint8=void 0;function n(t){return new Uint8Array([(t&4278190080)>>24,(t&16711680)>>16,(t&65280)>>8,t&255])}return Ae.numToUint8=n,Ae}var Oe={},Ur;function ac(){if(Ur)return Oe;Ur=1,Object.defineProperty(Oe,"__esModule",{value:!0}),Oe.uint32ArrayFrom=void 0;function n(t){if(!Uint32Array.from){for(var e=new Uint32Array(t.length),r=0;r<t.length;)e[r]=t[r],r+=1;return e}return Uint32Array.from(t)}return Oe.uint32ArrayFrom=n,Oe}var jr;function sc(){return jr||(jr=1,(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.uint32ArrayFrom=n.numToUint8=n.isEmptyData=n.convertToBuffer=void 0;var t=rc();Object.defineProperty(n,"convertToBuffer",{enumerable:!0,get:function(){return t.convertToBuffer}});var e=ic();Object.defineProperty(n,"isEmptyData",{enumerable:!0,get:function(){return e.isEmptyData}});var r=oc();Object.defineProperty(n,"numToUint8",{enumerable:!0,get:function(){return r.numToUint8}});var o=ac();Object.defineProperty(n,"uint32ArrayFrom",{enumerable:!0,get:function(){return o.uint32ArrayFrom}})})(en)),en}var Br;function cc(){if(Br)return Ce;Br=1,Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.Sha256=void 0;var n=xi,t=Ri(),e=Zs(),r=sc(),o=(function(){function a(c){this.secret=c,this.hash=new e.RawSha256,this.reset()}return a.prototype.update=function(c){if(!((0,r.isEmptyData)(c)||this.error))try{this.hash.update((0,r.convertToBuffer)(c))}catch(u){this.error=u}},a.prototype.digestSync=function(){if(this.error)throw this.error;return this.outer?(this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest()):this.hash.digest()},a.prototype.digest=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(c){return[2,this.digestSync()]})})},a.prototype.reset=function(){if(this.hash=new e.RawSha256,this.secret){this.outer=new e.RawSha256;var c=i(this.secret),u=new Uint8Array(t.BLOCK_SIZE);u.set(c);for(var s=0;s<t.BLOCK_SIZE;s++)c[s]^=54,u[s]^=92;this.hash.update(c),this.outer.update(u);for(var s=0;s<c.byteLength;s++)c[s]=0}},a})();Ce.Sha256=o;function i(a){var c=(0,r.convertToBuffer)(a);if(c.byteLength>t.BLOCK_SIZE){var u=new e.RawSha256;u.update(c),c=u.digest()}var s=new Uint8Array(t.BLOCK_SIZE);return s.set(c),s}return Ce}var qr;function uc(){return qr||(qr=1,(function(n){Object.defineProperty(n,"__esModule",{value:!0});var t=xi;t.__exportStar(cc(),n)})(Qt)),Qt}var Ai=uc(),W=function(){return W=Object.assign||function(n){for(var t,e=1,r=arguments.length;e<r;e++){t=arguments[e];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o])}return n},W.apply(this,arguments)},ot=function(n,t,e,r){function o(i){return i instanceof e?i:new e(function(a){a(i)})}return new(e||(e=Promise))(function(i,a){function c(f){try{s(r.next(f))}catch(p){a(p)}}function u(f){try{s(r.throw(f))}catch(p){a(p)}}function s(f){f.done?i(f.value):o(f.value).then(c,u)}s((r=r.apply(n,t||[])).next())})},at=function(n,t){var e={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,a;return a={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(s){return function(f){return u([s,f])}}function u(s){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(e=0)),e;)try{if(r=1,o&&(i=s[0]&2?o.return:s[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,s[1])).done)return i;switch(o=0,i&&(s=[s[0]&2,i.value]),s[0]){case 0:case 1:i=s;break;case 4:return e.label++,{value:s[1],done:!1};case 5:e.label++,o=s[1],s=[0];continue;case 7:s=e.ops.pop(),e.trys.pop();continue;default:if(i=e.trys,!(i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){e=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){e.label=s[1];break}if(s[0]===6&&e.label<i[1]){e.label=i[1],i=s;break}if(i&&e.label<i[2]){e.label=i[2],e.ops.push(s);break}i[2]&&e.ops.pop(),e.trys.pop();continue}s=t.call(n,e)}catch(f){s=[6,f],o=0}finally{r=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}},fc="rum",lc="POST",dc="application/json",hc="text/plain;
29charset=UTF-8",pc={expiresIn:60},vc=(function(){function n(t){var e=this;this.sendFetch=function(r){return ot(e,void 0,void 0,function(){var o,i,a;return at(this,function(c){switch(c.label){case 0:return[4,this.getHttpRequestOptions(r,dc)];case 1:return o=c.sent(),i=new X(o),this.awsSigV4?[4,this.awsSigV4.sign(i)]:[3,3];case 2:i=c.sent(),c.label=3;case 3:return a=this.config.fetchRequestHandler.handle(i),[2,a]}})})},this.sendBeacon=function(r){return ot(e,void 0,void 0,function(){var o,i,a;return at(this,function(c){switch(c.label){case 0:return[4,this.getHttpRequestOptions(r,hc)];case 1:return o=c.sent(),i=new X(o),this.awsSigV4?[4,this.awsSigV4.presign(i,pc)]:[3,3];case 2:i=c.sent(),c.label=3;case 3:return a=this.config.beaconRequestHandler.handle(i),[2,a]}})})},this.getHttpRequestOptions=function(r,o){return ot(e,void 0,void 0,function(){var i,a,c,u,s,f,p,l;return at(this,function(v){switch(v.label){case 0:return i=JSON.stringify(gc(r)),a=this.config.endpoint.pathname.replace(/\/$/,""),c={method:lc,protocol:this.config.endpoint.protocol,port:Number(this.config.endpoint.port)||void 0,headers:W({"content-type":o,host:this.config.endpoint.host},this.config.headers),hostname:this.config.endpoint.hostname,path:"".concat(a,"/appmonitors/").concat(r.AppMonitorDetails.id),body:i},this.awsSigV4?(u=[W({},c)],p={},s=[W({},c.headers)],l={},f="X-Amz-Content-Sha256",[4,yc(i)]):[3,2];case 1:return[2,W.apply(void 0,u.concat([(p.headers=W.apply(void 0,s.concat([(l[f]=v.sent(),l)])),p)]))];case 2:return[2,c]}})})},this.config=t,t.credentials&&(this.awsSigV4=new Ls({applyChecksum:!0,credentials:t.credentials,region:t.region,service:fc,uriEscapePath:!0,sha256:Ai.Sha256}))}return n})(),gc=function(n){var t=[];n.RumEvents.forEach(function(r){return t.push(mc(r))});var e={BatchId:n.BatchId,AppMonitorDetails:n.AppMonitorDetails,UserDetails:n.UserDetails,RumEvents:t};return n.Alias&&(e=W(W({},e),{Alias:n.Alias})),e},mc=function(n){return{id:n.id,timestamp:Math.round(n.timestamp.getTime()/1e3),type:n.type,metadata:n.metadata,details:n.details}},yc=function(n){return ot(void 0,void 0,void 0,function(){var t,e;return at(this,function(r){switch(r.label){case 0:return t=new Ai.Sha256,t.update(n),e=Z,[4,t.digest()];case 1:return[2,e.apply(void 0,[r.sent()]).toLowerCase()]}})})};const tn=n=>encodeURIComponent(n).replace(/[!'()*]/g,wc),wc=n=>`%${n.charCodeAt(0).toString(16).toUpperCase()}`;function Oi(n){const t=[];for(let e of Object.keys(n).sort()){const r=n[e];if(e=tn(e),Array.isArray(r))for(let o=0,i=r.length;o<i;o++)t.push(`${e}=${tn(r[o])}`);else{let o=e;(r||typeof r=="string")&&(o+=`=${tn(r)}`),t.push(o)}}return t.join("&")}var bc=(function(){function n(){}return n.prototype.handle=function(t){var e=this.sendBeacon(t);return new Promise(function(r,o){e?r({response:new De({statusCode:200})}):o()})},n.prototype.updateHttpClientConfig=function(t,e){},n.prototype.httpHandlerConfigs=function(){return{}},n.prototype.sendBeacon=function(t){var e=t.path;if(t.query){var r=Oi(t.query);r&&(e+="?".concat(r))}var o=t.port,i="".concat(t.protocol,"//").concat(t.hostname).concat(o?":".concat(o):"").concat(e);return navigator.sendBeacon(i,t.body)},n})(),Ec=function(n){return n===void 0&&(n=0),new Promise(function(t,e){n&&setTimeout(function(){var r=new Error("Request did not complete within ".concat(n," ms"));r.name="TimeoutError",e(r)},n)})},_c=(function(){function n(t){var e=t===void 0?{}:t,r=e.fetchFunction,o=e.requestTimeout;this.requestTimeout=o,this.fetchFunction=r}return n.prototype.destroy=function(){},n.prototype.handle=function(t,e){var r=e===void 0?{}:e,o=r.abortSignal,i=this.requestTimeout;if(o!=null&&o.aborted){var a=new Error("Request aborted");return a.name="AbortError",Promise.reject(a)}var c=t.path;if(t.query){var u=Oi(t.query);u&&(c+="?".concat(u))}var s=t.port,f=t.method,p="".concat(t.protocol,"//").concat(t.hostname).concat(s?":".concat(s):"").concat(c),l=f==="GET"||f==="HEAD"?void 0:t.body,v={body:l,headers:new Headers(t.headers),method:f};typeof AbortController<"u"&&(v.signal=o);var d=new Request(p,v),h=[this.fetchFunction.apply(window,[d]).then(function(g){for(var R=g.headers,T={},y=0,w=R.entries();y<w.length;y++){var x=w[y];T[x[0]]=x[1]}var A=g.body!==void 0;return A?{response:new De({headers:T,statusCode:g.status,body:g.body})}:g.blob().then(function(Q){return{response:new De({headers:T,statusCode:g.status,body:Q})}})}),Ec(i)];return o&&h.push(new Promise(function(g,R){o.onabort=function(){var T=new Error("Request aborted");T.name="AbortError",R(T)}})),Promise.race(h)},n.prototype.updateHttpClientConfig=function(t,e){},n.prototype.httpHandlerConfigs=function(){return{}},n})(),Tn=function(n){if(crypto)return crypto.getRandomValues(n);if(msCrypto)return msCrypto.getRandomValues(n);throw new Error("No crypto library found.")},Pi=[];for(var tt=0;tt<256;tt++)Pi[tt]=(tt+256).toString(16).substr(1);var It="X-Amzn-Trace-Id",xt="traceparent",Sc=2,Tc=32,Cc=16,Ic=4,Li=function(n,t){return Array.isArray(t)?t.some(function(e){return e.test(n)}):t},ki={logicalServiceName:"rum.aws.amazon.com",urlsToInclude:[/.*/],urlsToExclude:[/cognito\-identity\.([^\.]*\.)?amazonaws\.com/,/sts\.([^\.]*\.)?amazonaws\.com/],stackTraceLength:200,recordAllRequests:!1,addXRayTraceIdHeader:!1},xc=function(n){return 200<=n&&n<300},Mi=function(n){return Math.floor(n/100)===4},Cn=function(n){return Math.floor(n/100)===5},In=function(n){return n===429},Ni=function(n,t){var e=t.urlsToInclude.some(function(o){return o.test(n)}),r=t.urlsToExclude.some(function(o){return o.test(n)});return e&&!r},ue=function(){return Date.now()/1e3},Rc=function(n,t,e){var r={request:{}};return r.request.method=t!=null&&t.method?t.method:"GET",r.request.traced=e,r.request.url=st(n),r},Hi=function(n,t,e,r){var o={version:"1.0.0",name:n,origin:"AWS::RUM::AppM
29onitor",id:ji(),start_time:t,trace_id:e?Mc():kc(),end_time:void 0,subsegments:[],in_progress:!1};return o},Di=function(n,t,e){var r={id:ji(),name:n,start_time:t,end_time:void 0,in_progress:!1,namespace:n.endsWith("amazonaws.com")?"aws":"remote"};return e&&(r.http=e),r},Ui=function(n){try{return n.hostname?n.hostname:n.url?new URL(n.url).hostname:new URL(n.toString()).hostname}catch{return window.location.hostname}},Ac=function(n,t,e,r){n.headers||(n.headers={}),r?n.headers[xt]=Rn(t,e):n.headers[It]=xn(t,e)},Oc=function(n,t,e,r){r?n.set(xt,Rn(t,e)):n.set(It,xn(t,e))},xn=function(n,t){return"Root="+n+";Parent="+t+";Sampled=1"},Rn=function(n,t){return"00-"+n+"-"+t+"-01"},Pc=function(n){return(n==null?void 0:n.length)===Ic&&n[0].length===Sc&&n[1].length===Tc&&n[2].length===Cc&&(n[3]==="00"||n[3]==="01")},Lc=function(n,t){var e,r,o={};if(n)if(t){var i=(e=n.get(xt))===null||e===void 0?void 0:e.split("-");i&&Pc(i)&&(o.traceId=i[1],o.segmentId=i[2])}else{var i=(r=n.get(It))===null||r===void 0?void 0:r.split(";");(i==null?void 0:i.length)===3&&(o.traceId=i[0].split("Root=")[1],o.segmentId=i[1].split("Parent=")[1])}return o},st=function(n){return n.url?n.url:n.toString()},kc=function(){return"1-".concat(Nc(),"-").concat(Hc())},Mc=function(){var n=new Uint8Array(16);return Tn(n),"".concat(An(n))},ji=function(){var n=new Uint8Array(8);return Tn(n),An(n)},Nc=function(){return Math.floor(Date.now()/1e3).toString(16)},Hc=function(){var n=new Uint8Array(12);return Tn(n),An(n)},An=function(n){for(var t="",e=0;e<n.length;e++)t+=Pi[n[e]];return t},Fr=function(n,t,e,r){function o(i){return i instanceof e?i:new e(function(a){a(i)})}return new(e||(e=Promise))(function(i,a){function c(f){try{s(r.next(f))}catch(p){a(p)}}function u(f){try{s(r.throw(f))}catch(p){a(p)}}function s(f){f.done?i(f.value):o(f.value).then(c,u)}s((r=r.apply(n,t||[])).next())})},$r=function(n,t){var e={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,a;return a={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(s){return function(f){return u([s,f])}}function u(s){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(e=0)),e;)try{if(r=1,o&&(i=s[0]&2?o.return:s[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,s[1])).done)return i;switch(o=0,i&&(s=[s[0]&2,i.value]),s[0]){case 0:case 1:i=s;break;case 4:return e.label++,{value:s[1],done:!1};case 5:e.label++,o=s[1],s=[0];continue;case 7:s=e.ops.pop(),e.trys.pop();continue;default:if(i=e.trys,!(i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){e=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){e.label=s[1];break}if(s[0]===6&&e.label<i[1]){e.label=i[1],i=s;break}if(i&&e.label<i[2]){e.label=i[2],e.ops.push(s);break}i[2]&&e.ops.pop(),e.trys.pop();continue}s=t.call(n,e)}catch(f){s=[6,f],o=0}finally{r=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}},Dc=(function(){function n(t,e,r){r===void 0&&(r=function(o){return 2e3*Math.pow(2,o-1)}),this.handler=t,this.retries=e,this.backoff=r}return n.prototype.handle=function(t){return Fr(this,void 0,void 0,function(){var e,r,o;return $r(this,function(i){switch(i.label){case 0:e=this.retries,i.label=1;case 1:i.label=2;case 2:return i.trys.push([2,4,,6]),[4,this.handler.handle(t)];case 3:if(r=i.sent(),xc(r.response.statusCode))return[2,r];throw r.response.statusCode;case 4:if(o=i.sent(),typeof o=="number"&&!In(o)&&!Cn(o))throw new Error("".concat(o));if(e<=0)throw o;return e--,[4,this.sleep(this.backoff(this.retries-e))];case 5:return i.sent(),[3,6];case 6:return[3,1];case 7:return[2]}})})},n.prototype.sleep=function(t){return Fr(this,void 0,void 0,function(){return $r(this,function(e){return[2,new Promise(function(r){return setTimeout(r,t)})]})})},n.prototype.updateHttpClientConfig=function(t,e){},n.prototype.httpHandlerConfigs=function(){return{}},n})(),nt=function(n,t,e,r){function o(i){return i instanceof e?i:new e(function(a){a(i)})}return new(e||(e=Promise))(function(i,a){function c(f){try{s(r.next(f))}catch(p){a(p)}}function u(f){try{s(r.throw(f))}catch(p){a(p)}}function s(f){f.done?i(f.value):o(f.value).then(c,u)}s((r=r.apply(n,t||[])).next())})},rt=function(n,t){var e={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,a;return a={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(s){return function(f){return u([s,f])}}function u(s){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(e=0)),e;)try{if(r=1,o&&(i=s[0]&2?o.return:s[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,s[1])).done)return i;switch(o=0,i&&(s=[s[0]&2,i.value]),s[0]){case 0:case 1:i=s;break;case 4:return e.label++,{value:s[1],done:!1};case 5:e.label++,o=s[1],s=[0];continue;case 7:s=e.ops.pop(),e.trys.pop();continue;default:if(i=e.trys,!(i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){e=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){e.label=s[1];break}if(s[0]===6&&e.label<i[1]){e.label=i[1],i=s;break}if(i&&e.label<i[2]){e.label=i[2],e.ops.push(s);break}i[2]&&e.ops.pop(),e.trys.pop();continue}s=t.call(n,e)}catch(f){s=[6,f],o=0}finally{r=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}},Vr="CWR: Cannot dispatch; no AWS credentials.",Uc=(function(){function n(t,e,r,o){var i=this;this.disableCodes=["403","404"],this.dispatchFetch=function(){return nt(i,void 0,void 0,function(){return rt(this,function(a){return this.doRequest()?[2,this.rum.sendFetch(this.createRequest()).c
29atch(this.handleReject)]:[2]})})},this.dispatchBeacon=function(){return nt(i,void 0,void 0,function(){var a,c=this;return rt(this,function(u){return this.doRequest()?(a=this.createRequest(),[2,this.rum.sendBeacon(a).catch(function(){return c.rum.sendFetch(a)})]):[2]})})},this.dispatchFetchFailSilent=function(){return nt(i,void 0,void 0,function(){return rt(this,function(a){return[2,this.dispatchFetch().catch(function(){})]})})},this.dispatchBeaconFailSilent=function(){return nt(i,void 0,void 0,function(){return rt(this,function(a){return[2,this.dispatchBeacon().catch(function(){})]})})},this.flushSync=function(){var a;if(document.visibilityState==="hidden"&&i.doRequest(!0)){var c=i.rum.sendBeacon,u=i.rum.sendFetch;i.config.useBeacon||(a=[u,c],c=a[0],u=a[1]);var s=i.createRequest(!0);c(s).catch(function(){return u(s)}).catch(function(){})}},this.handleReject=function(a){throw a instanceof Error&&i.disableCodes.includes(a.message)&&i.disable(),a},this.defaultClientBuilder=function(a,c,u){return new vc({fetchRequestHandler:new Dc(new _c({fetchFunction:i.config.fetchFunction}),i.config.retries),beaconRequestHandler:new bc,endpoint:a,region:c,credentials:u,headers:i.headers})},this.region=t,this.endpoint=e,this.eventCache=r,this.enabled=!0,this.buildClient=o.clientBuilder||this.defaultClientBuilder,this.config=o,this.headers=o.headers,this.startDispatchTimer(),o.signing?this.rum={sendFetch:function(){return Promise.reject(new Error(Vr))},sendBeacon:function(){return Promise.reject(new Error(Vr))}}:this.rum=this.buildClient(this.endpoint,this.region,void 0)}return n.prototype.enable=function(){this.enabled=!0,this.startDispatchTimer()},n.prototype.disable=function(){this.stopDispatchTimer(),this.enabled=!1},n.prototype.setAwsCredentials=function(t){this.rum=this.buildClient(this.endpoint,this.region,t),typeof t=="function"&&t()},n.prototype.startDispatchTimer=function(){document.addEventListener("visibilitychange",this.flushSync),document.addEventListener("pagehide",this.flushSync),!(this.config.dispatchInterval<=0||this.dispatchTimerId)&&(this.dispatchTimerId=window.setInterval(this.dispatchFetchFailSilent,this.config.dispatchInterval))},n.prototype.stopDispatchTimer=function(){document.removeEventListener("visibilitychange",this.flushSync),document.removeEventListener("pagehide",this.flushSync),this.dispatchTimerId&&(window.clearInterval(this.dispatchTimerId),this.dispatchTimerId=void 0)},n.prototype.doRequest=function(t){return t===void 0&&(t=!1),this.enabled?t&&this.eventCache.hasCandidates()?!0:this.eventCache.hasEvents():!1},n.prototype.createRequest=function(t){return t===void 0&&(t=!1),{BatchId:Me(),AppMonitorDetails:this.eventCache.getAppMonitorDetails(),UserDetails:this.eventCache.getUserDetails(),RumEvents:this.eventCache.getEventBatch(t),Alias:this.config.alias}},n})(),O;(function(n){n.OTHER="other",n.STYLESHEET="stylesheet",n.DOCUMENT="document",n.SCRIPT="script",n.IMAGE="image",n.FONT="font"})(O||(O={}));var G;(function(n){n.IMG="img",n.IMAGE="image",n.INPUT="input",n.IFRAME="iframe",n.FRAME="frame",n.SCRIPT="script",n.CSS="css"})(G||(G={}));var zr=function(n){return[n.startTime,n.duration].join("#")},jc=[{name:O.STYLESHEET,list:["css","less"]},{name:O.DOCUMENT,list:["htm","html","ts","doc","docx","pdf","xls","xlsx"]},{name:O.SCRIPT,list:["js"]},{name:O.IMAGE,list:["ai","bmp","gif","ico","jpeg","jpg","png","ps","psd","svg","tif","tiff"]},{name:O.FONT,list:["fnt","fon","otf","ttf","woff"]}],Bc=function(n){for(var t=n.length-1;t>0;t--){var e=Math.floor(Math.random()*(t+1)),r=n[t];n[t]=n[e],n[e]=r}},Gr=function(n,t){var e=O.OTHER;if(n){var r=n.substring(n.lastIndexOf("/")+1),o=r.substring(r.lastIndexOf(".")+1).split(/[?#]/)[0];jc.forEach(function(i){i.list.indexOf(o)>-1&&(e=i.name)})}if(t&&e===O.OTHER)switch(t){case G.IMAGE:case G.IMG:case G.INPUT:e=O.IMAGE;break;case G.IFRAME:case G.FRAME:e=O.DOCUMENT;break;case G.SCRIPT:e=O.SCRIPT;break;case G.CSS:e=O.STYLESHEET;break}return e},qc=function(){return PerformanceObserver.supportedEntryTypes.includes("largest-contentful-paint")},Fc=/.*\/application\/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\/events/,$c=function(n,t){try{return new URL(n).hostname===t&&Fc.test(n)}catch{return!1}},Vc=function(n){return n.entryType==="resource"&&(!/^https?:/.test(n.name)||/^(fetch|xmlhttprequest)$/.test(n.initiatorType))},On={eventLimit:10,ignore:Vc,recordAllTypes:[O.DOCUMENT,O.SCRIPT,O.STYLESHEET,O.FONT],sampleTypes:[O.IMAGE,O.OTHER],reportAllLCP:!1,reportAllCLS:!1,reportAllINP:!1}
29,zc=(function(){var n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(r[i]=o[i])},n(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");n(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),gt=function(){return gt=Object.assign||function(n){for(var t,e=1,r=arguments.length;e<r;e++){t=arguments[e];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o])}return n},gt.apply(this,arguments)},Gc="navigation",ae="navigation",nn="load",Wc=(function(n){zc(t,n);function t(e){var r=n.call(this,Gc)||this;return r.eventListener=function(){if(performance.getEntriesByType(ae).length===0)r.performanceNavigationEventHandlerTimingLevel1();else{var o=new PerformanceObserver(function(i){i.getEntries().filter(function(a){return a.entryType===ae}).filter(function(a){return!r.config.ignore(a)}).forEach(function(a){r.performanceNavigationEventHandlerTimingLevel2(a)})});o.observe({entryTypes:[ae]})}},r.performanceNavigationEventHandlerTimingLevel1=function(){var o=function(){var i,a=performance.timing,c=a.navigationStart,u={version:"1.0.0",initiatorType:"navigation",startTime:0,unloadEventStart:a.unloadEventStart>0?a.unloadEventStart-c:0,promptForUnload:a.unloadEventEnd-a.unloadEventStart,redirectStart:a.redirectStart>0?a.redirectStart-c:0,redirectTime:a.redirectEnd-a.redirectStart,fetchStart:a.fetchStart>0?a.fetchStart-c:0,domainLookupStart:a.domainLookupStart>0?a.domainLookupStart-c:0,dns:a.domainLookupEnd-a.domainLookupStart,connectStart:a.connectStart>0?a.connectStart-c:0,connect:a.connectEnd-a.connectStart,secureConnectionStart:a.secureConnectionStart>0?a.secureConnectionStart-c:0,tlsTime:a.secureConnectionStart>0?a.connectEnd-a.secureConnectionStart:0,requestStart:a.requestStart>0?a.requestStart-c:0,timeToFirstByte:a.responseStart-a.requestStart,responseStart:a.responseStart>0?a.responseStart-c:0,responseTime:a.responseStart>0?a.responseEnd-a.responseStart:0,domInteractive:a.domInteractive>0?a.domInteractive-c:0,domContentLoadedEventStart:a.domContentLoadedEventStart>0?a.domContentLoadedEventStart-c:0,domContentLoaded:a.domContentLoadedEventEnd-a.domContentLoadedEventStart,domComplete:a.domComplete>0?a.domComplete-c:0,domProcessingTime:a.loadEventStart-a.responseEnd,loadEventStart:a.loadEventStart>0?a.loadEventStart-c:0,loadEventTime:a.loadEventEnd-a.loadEventStart,duration:a.loadEventEnd-a.navigationStart,navigationTimingLevel:1};!((i=r.context)===null||i===void 0)&&i.record&&r.context.record(lt,u)};setTimeout(o,0)},r.performanceNavigationEventHandlerTimingLevel2=function(o){var i,a={version:"1.0.0",initiatorType:o.initiatorType,navigationType:o.type,startTime:o.startTime,unloadEventStart:o.unloadEventStart,promptForUnload:o.unloadEventEnd-o.unloadEventStart,redirectCount:o.redirectCount,redirectStart:o.redirectStart,redirectTime:o.redirectEnd-o.redirectStart,workerStart:o.workerStart,workerTime:o.workerStart>0?o.fetchStart-o.workerStart:0,fetchStart:o.fetchStart,domainLookupStart:o.domainLookupStart,dns:o.domainLookupEnd-o.domainLookupStart,nextHopProtocol:o.nextHopProtocol,connectStart:o.connectStart,connect:o.connectEnd-o.connectStart,secureConnectionStart:o.secureConnectionStart,tlsTime:o.secureConnectionStart>0?o.connectEnd-o.secureConnectionStart:0,requestStart:o.requestStart,timeToFirstByte:o.responseStart-o.requestStart,responseStart:o.responseStart,responseTime:o.responseStart>0?o.responseEnd-o.responseStart:0,domInteractive:o.domInteractive,domContentLoadedEventStart:o.domContentLoadedEventStart,domContentLoaded:o.domContentLoadedEventEnd-o.domContentLoadedEventStart,domComplete:o.domComplete,domProcessingTime:o.loadEventStart-o.responseEnd,loadEventStart:o.loadEventStart,loadEventTime:o.loadEventEnd-o.loadEventStart,duration:o.duration,headerSize:o.transferSize>0?o.transferSize-o.encodedBodySize:0,transferSize:o.transferSize,compressionRatio:o.encodedBodySize>0?o.decodedBodySize/o.encodedBodySize:0,navigationTimingLevel:2};!((i=r.context)===null||i===void 0)&&i.record&&r.context.record(lt,a)},r.config=gt(gt({},On),e),r}return t.prototype.enable=function(){this.enabled||(this.enabled=!0,window.addEventListener(nn,this.eventListener))},t.prototype.disable=function(){this.enabled&&(this.enabled=!1,this.eventListener&&window.removeEventListener(nn,this.eventListener))},t.prototype.hasTheWindowLoadEventFired=function(){if(window.performance&&window.performance.getEntriesByType(ae).length){var e=window.performance.getEntriesByType(ae)[0];return!!e.loadEventEnd}return!1},t.prototype.onload=function(){var e=this;this.enabled&&(this.hasTheWindowLoadEventFired()?window.performance.getEntriesByType(ae).filter(function(r){return!e.config.ignore(r)}
29).forEach(function(r){return e.performanceNavigationEventHandlerTimingLevel2(r)}):window.addEventListener(nn,this.eventListener))},t})(ne),Xc=(function(){var n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(r[i]=o[i])},n(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");n(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),mt=function(){return mt=Object.assign||function(n){for(var t,e=1,r=arguments.length;e<r;e++){t=arguments[e];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o])}return n},mt.apply(this,arguments)},Kc="resource",rn="resource",Yc=(function(n){Xc(t,n);function t(e){var r=n.call(this,Kc)||this;return r.performanceEntryHandler=function(o){r.recordPerformanceEntries(o.getEntries())},r.recordPerformanceEntries=function(o){var i=[],a=[];for(o.filter(function(c){return c.entryType===rn}).filter(function(c){return!r.config.ignore(c)}).forEach(function(c){var u=c,s=u.name,f=u.initiatorType,p=Gr(s,f);r.config.recordAllTypes.includes(p)?i.push(c):r.config.sampleTypes.includes(p)&&a.push(c)}
29),i.forEach(function(c){return r.recordResourceEvent(c)}),Bc(a);a.length>0&&r.eventCount<r.config.eventLimit;)r.recordResourceEvent(a.pop()),r.eventCount++},r.recordResourceEvent=function(o){var i,a=o.name,c=o.startTime,u=o.initiatorType,s=o.duration,f=o.transferSize;if(!$c(a,r.context.config.endpointUrl.hostname)&&!((i=r.context)===null||i===void 0)&&i.record){var p={version:"1.0.0",initiatorType:u,startTime:c,duration:s,fileType:Gr(a,u),transferSize:f};r.context.config.recordResourceUrl&&(p.targetUrl=a),r.context.record(hi,p)}},r.config=mt(mt({},On),e),r.eventCount=0,r.resourceObserver=new PerformanceObserver(r.performanceEntryHandler),r}return t.prototype.enable=function(){this.enabled||(this.enabled=!0,this.resourceObserver.observe({type:rn,buffered:!0}))},t.prototype.disable=function(){this.enabled&&(this.enabled=!1,this.resourceObserver.disconnect())},t.prototype.onload=function(){this.resourceObserver.observe({type:rn,buffered:!0})},t})(ne),vn,Wr,Rt=function(){var n=self.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0];if(n&&n.responseStart>0&&n.responseStart<performance.now())return n},Pn=function(n){if(document.readyState==="loading")return"loading";var t=Rt();if(t){if(n<t.domInteractive)return"loading";if(t.domContentLoadedEventStart===0||n<t.domContentLoadedEventStart)return"dom-interactive";if(t.domComplete===0||n<t.domComplete)return"dom-content-loaded"}return"complete"},Jc=function(n){var t=n.nodeName;return n.nodeType===1?t.toLowerCase():t.toUpperCase().replace(/^#/,"")},At=function(n,t){var e="";try{for(;n&&n.nodeType!==9;){var r=n,o=r.id?"#"+r.id:Jc(r)+(r.classList&&r.classList.value&&r.classList.value.trim()&&r.classList.value.trim().length?"."+r.classList.value.trim().replace(/\s+/g,"."):"");if(e.length+o.length>(t||100)-1)return e||o;if(e=e?o+">"+e:o,r.id)break;n=r.parentNode}}catch{}return e},Bi=-1,Zc=function(){return Bi},ge=function(n){addEventListener("pageshow",(function(t){t.persisted&&(Bi=t.timeStamp,n(t))}),!0)},Ln=function(){var n=Rt();return n&&n.activationStart||0},F=function(n,t){var e=Rt(),r="navigate";return Zc()>=0?r="back-forward-cache":e&&(document.prerendering||Ln()>0?r="prerender":document.wasDiscarded?r="restore":e.type&&(r=e.type.replace(/_/g,"-"))),{name:n,value:t===void 0?-1:t,rating:"good",delta:0,entries:[],id:"v4-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:r}},re=function(n,t,e){try{if(PerformanceObserver.supportedEntryTypes.includes(n)){var r=new PerformanceObserver((function(o){Promise.resolve().then((function(){t(o.getEntries())}))}));return r.observe(Object.assign({type:n,buffered:!0},e||{})),r}}catch{}},$=function(n,t,e,r){var o,i;return function(a){t.value>=0&&(a||r)&&((i=t.value-(o||0))||o===void 0)&&(o=t.value,t.delta=i,t.rating=(function(c,u){return c>u[1]?"poor":c>u[0]?"needs-improvement":"good"})(t.value,e),n(t))}},kn=function(n){requestAnimationFrame((function(){return requestAnimationFrame((function(){return n()}))}))},qe=function(n){document.addEventListener("visibilitychange",(function(){document.visibilityState==="hidden"&&n()}))},Ot=function(n){var t=!1;return function(){t||(n(),t=!0)}},fe=-1,Xr=function(){return document.visibilityState!=="hidden"||document.prerendering?1/0:0},yt=function(n){document.visibilityState==="hidden"&&fe>-1&&(fe=n.type==="visibilitychange"?n.timeStamp:0,Qc())},Kr=function(){addEventListener("visibilitychange",yt,!0),addEventListener("prerenderingchange",yt,!0)},Qc=function(){removeEventListener("visibilitychange",yt,!0),removeEventListener("prerenderingchange",yt,!0)},Mn=function(){return fe<0&&(fe=Xr(),Kr(),ge((function(){setTimeout((function(){fe=Xr(),Kr()}),0)}))),{get firstHiddenTime(){return fe}}},Pt=function(n){document.prerendering?addEventListener("prerenderingchange",(function(){return n()}),!0):n()},Yr=[1800,3e3],eu=function(n,t){t=t||{},Pt((function(){var e,r=Mn(),o=F("FCP"),i=re("paint",(function(a){a.forEach((function(c){c.name==="first-contentful-paint"&&(i.disconnect(),c.startTime<r.firstHiddenTime&&(o.value=Math.max(c.startTime-Ln(),0),o.entries.push(c),e(!0)))}))}));i&&(e=$(n,o,Yr,t.reportAllChanges),ge((function(a){o=F("FCP"),e=$(n,o,Yr,t.reportAllChanges),kn((function(){o.value=performance.now()-a.timeStamp,e(!0)}))})))}))},Jr=[.1,.25],tu=function(n,t){(function(e,r){r=r||{},eu(Ot((function(){var o,i=F("CLS",0),a=0,c=[],u=function(f){f.forEach((function(p){if(!p.hadRecentInput){var l=c[0],v=c[c.length-1];a&&p.startTime-v.startTime<1e3&&p.startTime-l.startTime<5e3?(a+=p.value,c.push(p)):(a=p.value,c=[p])}})),a>i.value&&(i.value=a,i.entries=c,o())},s=re("layout-shift",u);s&&(o=$(e,i,Jr,r.reportAllChanges),qe((function(){u(s.takeRecords()),o(!0)})),ge((function(){a=0,i=F("CLS",0),o=$(e,i,Jr,r.reportAllChanges),kn((function(){return o()}))})),setTimeout(o,0))})))})((function(e){var r=(function(o){var i,a={};
vendor: 4,855 bytes, line 29
29if(o.entries.length){var c=o.entries.reduce((function(s,f){return s&&s.value>f.value?s:f}));if(c&&c.sources&&c.sources.length){var u=(i=c.sources).find((function(s){return s.node&&s.node.nodeType===1}))||i[0];u&&(a={largestShiftTarget:At(u.node),largestShiftTime:c.startTime,largestShiftValue:c.value,largestShiftSource:u,largestShiftEntry:c,loadState:Pn(c.startTime)})}}return Object.assign(o,{attribution:a})})(e);n(r)}),t)},qi=0,on=1/0,it=0,nu=function(n){n.forEach((function(t){t.interactionId&&(on=Math.min(on,t.interactionId),it=Math.max(it,t.interactionId),qi=it?(it-on)/7+1:0)}))},Fi=function(){return vn?qi:performance.interactionCount||0},ru=function(){"interactionCount"in performance||vn||(vn=re("event",nu,{type:"event",buffered:!0,durationThreshold:0}))},j=[],Ne=new Map,$i=0,iu=function(){var n=Math.min(j.length-1,Math.floor((Fi()-$i)/50));return j[n]},Vi=[],ou=function(n){if(Vi.forEach((function(o){return o(n)})),n.interactionId||n.entryType==="first-input"){var t=j[j.length-1],e=Ne.get(n.interactionId);if(e||j.length<10||n.duration>t.latency){if(e)n.duration>e.latency?(e.entries=[n],e.latency=n.duration):n.duration===e.latency&&n.startTime===e.entries[0].startTime&&e.entries.push(n);else{var r={id:n.interactionId,latency:n.duration,entries:[n]};Ne.set(r.id,r),j.push(r)}j.sort((function(o,i){return i.latency-o.latency})),j.length>10&&j.splice(10).forEach((function(o){return Ne.delete(o.id)}))}}},Nn=function(n){var t=self.requestIdleCallback||self.setTimeout,e=-1;return n=Ot(n),document.visibilityState==="hidden"?n():(e=t(n),qe(n)),e},Zr=[200,500],au=function(n,t){"PerformanceEventTiming"in self&&"interactionId"in PerformanceEventTiming.prototype&&(t=t||{},Pt((function(){var e;ru();var r,o=F("INP"),i=function(c){Nn((function(){c.forEach(ou);var u=iu();u&&u.latency!==o.value&&(o.value=u.latency,o.entries=u.entries,r())}))},a=re("event",i,{durationThreshold:(e=t.durationThreshold)!==null&&e!==void 0?e:40});r=$(n,o,Zr,t.reportAllChanges),a&&(a.observe({type:"first-input",buffered:!0}),qe((function(){i(a.takeRecords()),r(!0)})),ge((function(){$i=Fi(),j.length=0,Ne.clear(),o=F("INP"),r=$(n,o,Zr,t.reportAllChanges)})))})))},de=[],K=[],gn=0,Hn=new WeakMap,he=new Map,mn=-1,su=function(n){de=de.concat(n),zi()},zi=function(){mn<0&&(mn=Nn(cu))},cu=function(){he.size>10&&he.forEach((function(a,c){Ne.has(c)||he.delete(c)}));var n=j.map((function(a){return Hn.get(a.entries[0])})),t=K.length-50;K=K.filter((function(a,c){return c>=t||n.includes(a)}));for(var e=new Set,r=0;r<K.length;r++){var o=K[r];Wi(o.startTime,o.processingEnd).forEach((function(a){e.add(a)}))}var i=de.length-1-50;de=de.filter((function(a,c){return a.startTime>gn&&c>i||e.has(a)})),mn=-1};Vi.push((function(n){n.interactionId&&n.target&&!he.has(n.interactionId)&&he.set(n.interactionId,n.target)}),(function(n){var t,e=n.startTime+n.duration;gn=Math.max(gn,n.processingEnd);for(var r=K.length-1;r>=0;r--){var o=K[r];if(Math.abs(e-o.renderTime)<=8){(t=o).startTime=Math.min(n.startTime,t.startTime),t.processingStart=Math.min(n.processingStart,t.processingStart),t.processingEnd=Math.max(n.processingEnd,t.processingEnd),t.entries.push(n);break}}t||(t={startTime:n.startTime,processingStart:n.processingStart,processingEnd:n.processingEnd,renderTime:e,entries:[n]},K.push(t)),(n.interactionId||n.entryType==="first-input")&&Hn.set(n,t),zi()}));var Y,He,Gi,wt,Wi=function(n,t){for(var e,r=[],o=0;e=de[o];o++)if(!(e.startTime+e.duration<n)){if(e.startTime>t)break;r.push(e)}return r},uu=function(n,t){Wr||(Wr=re("long-animation-frame",su)),au((function(e){var r=(function(o){var i=o.entries[0],a=Hn.get(i),c=i.processingStart,u=a.processingEnd,s=a.entries.sort((function(g,R){return g.processingStart-R.processingStart})),f=Wi(i.startTime,u),p=o.entries.find((function(g){return g.target})),l=p&&p.target||he.get(i.interactionId),v=[i.startTime+i.duration,u].concat(f.map((function(g){return g.startTime+g.duration}))),d=Math.max.apply(Math,v),h={interactionTarget:At(l),interactionTargetElement:l,interactionType:i.name.startsWith("key")?"keyboard":"pointer",interactionTime:i.startTime,nextPaintTime:d,processedEventEntries:s,longAnimationFrameEntries:f,inputDelay:c-i.startTime,processingDuration:u-c,presentationDelay:Math.max(d-u,0),loadState:Pn(i.startTime)};return Object.assign(o,{attribution:h})})(e);n(r)}),t)},Qr=[2500,4e3],an={},fu=function(n,t){(function(e,r){r=r||{},Pt((function(){var o,i=Mn(),a=F("LCP"),c=function(f){r.reportAllChanges||(f=f.slice(-1)),f.forEach((function(p){p.startTime<i.firstHiddenTime&&(a.value=Math.max(p.startTime-Ln(),0),a.entries=[p],o())}))},u=re("largest-contentful-paint",c);if(u){o=$(e,a,Qr,r.reportAllChanges);var s=Ot((function(){an[a.id]||(c(u.takeRecords()),u.disconnect(),an[a.id]=!0,o(!0))}));["keydown","click"].forEach((function(f){addEventListener(f,(function(){return Nn(s)}),{once:!0,capture:!0})}
29)),qe(s),ge((function(f){a=F("LCP"),o=$(e,a,Qr,r.reportAllChanges),kn((function(){a.value=performance.now()-f.timeStamp,an[a.id]=!0,o(!0)}))}))}}))})((function(e){var r=(function(o){var i={timeToFirstByte:0,resourceLoadDelay:0,resourceLoadDuration:0,elementRenderDelay:o.value};if(o.entries.length){var a=Rt();if(a){var c=a.activationStart||0,u=o.entries[o.entries.length-1],s=u.url&&performance.getEntriesByType("resource").filter((function(d){return d.name===u.url}))[0],f=Math.max(0,a.responseStart-c),p=Math.max(f,s?(s.requestStart||s.startTime)-c:0),l=Math.max(p,s?s.responseEnd-c:0),v=Math.max(l,u.startTime-c);i={element:At(u.element),timeToFirstByte:f,resourceLoadDelay:p-f,resourceLoadDuration:l-p,elementRenderDelay:v-l,navigationEntry:a,lcpEntry:u},u.url&&(i.url=u.url),s&&(i.lcpResourceEntry=s)}}return Object.assign(o,{attribution:i})})(e);n(r)}),t)},Le={passive:!0,capture:!0},lu=new Date,ei=function(n,t){Y||(Y=t,He=n,Gi=new Date,Ki(removeEventListener),Xi())},Xi=function(){if(He>=0&&He<Gi-lu){var n={entryType:"first-input",name:Y.type,target:Y.target,cancelable:Y.cancelable,startTime:Y.timeStamp,processingStart:Y.timeStamp+He};wt.forEach((function(t){t(n)})),wt=[]}},du=function(n){if(n.cancelable){var t=(n.timeStamp>1e12?new Date:performance.now())-n.timeStamp;n.type=="pointerdown"?(function(e,r){var o=function(){ei(e,r),a()},i=function(){a()},a=function(){removeEventListener("pointerup",o,Le),removeEventListener("pointercancel",i,Le)};addEventListener("pointerup",o,Le),addEventListener("pointercancel",i,Le)})(t,n):ei(t,n)}},Ki=function(n){["mousedown","keydown","touchstart","pointerdown"].forEach((function(t){return n(t,du,Le)}))},ti=[100,300],hu=function(n,t){t=t||{},Pt((function(){var e,r=Mn(),o=F("FID"),i=function(u){u.startTime<r.firstHiddenTime&&(o.value=u.processingStart-u.startTime,o.entries.push(u),e(!0))},a=function(u){u.forEach(i)},c=re("first-input",a);e=$(n,o,ti,t.reportAllChanges),c&&(qe(Ot((function(){a(c.takeRecords()),c.disconnect()}))),ge((function(){var u;o=F("FID"),e=$(n,o,ti,t.reportAllChanges),wt=[],He=-1,Y=null,Ki(addEventListener),u=i,wt.push(u),Xi()})))}))},pu=function(n,t){hu((function(e){var r=(function(o){var i=o.entries[0],a={eventTarget:At(i.target),eventType:i.name,eventTime:i.startTime,eventEntry:i,loadState:Pn(i.startTime)};return Object.assign(o,{attribution:a})})(e);n(r)}),t)}
29,vu=(function(){var n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(r[i]=o[i])},n(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");n(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),bt=function(){return bt=Object.assign||function(n){for(var t,e=1,r=arguments.length;e<r;e++){t=arguments[e];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o])}return n},bt.apply(this,arguments)},gu="web-vitals",mu=(function(n){vu(t,n);function t(e){var r=n.call(this,gu)||this;return r.resourceEventIds=new Map,r.cacheLCPCandidates=qc(),r.handleEvent=function(o){switch(o.type){case hi:var i=o.details;r.cacheLCPCandidates&&i.fileType===O.IMAGE&&r.resourceEventIds.set(zr(o.details),o.id);break;case lt:r.navigationEventId=o.id;break}},r.config=bt(bt({},On),e),r}return t.prototype.enable=function(){},t.prototype.disable=function(){},t.prototype.onload=function(){var e=this;this.context.eventBus.subscribe(Ue.EVENT,this.handleEvent),fu(function(r){return e.handleLCP(r)},{reportAllChanges:this.config.reportAllLCP}),pu(function(r){return e.handleFID(r)}),tu(function(r){return e.handleCLS(r)},{reportAllChanges:!0}),uu(function(r){return e.handleINP(r)},{reportAllChanges:!0})},t.prototype.handleLCP=function(e){var r,o,i=e.attribution,a={element:i.element,url:i.url,timeToFirstByte:i.timeToFirstByte,resourceLoadDelay:i.resourceLoadDelay,resourceLoadTime:i.resourceLoadDuration,elementRenderDelay:i.elementRenderDelay};if(i.lcpResourceEntry){var c=zr(i.lcpResourceEntry);a.lcpResourceEntry=this.resourceEventIds.get(c)}this.navigationEventId&&(a.navigationEntry=this.navigationEventId),(r=this.context)===null||r===void 0||r.record(Ca,{version:"1.0.0",value:e.value,attribution:a}),(o=this.context)===null||o===void 0||o.eventBus.unsubscribe(Ue.EVENT,this.handleEvent),this.resourceEventIds.clear(),this.navigationEventId=void 0},t.prototype.handleCLS=function(e){var r=e.attribution,o=this.context,i=o.record,a=o.recordCandidate;(this.config.reportAllCLS?i:a)(xa,{version:"1.0.0",value:e.value,attribution:{largestShiftTarget:r.largestShiftTarget,largestShiftValue:r.largestShiftValue,largestShiftTime:r.largestShiftTime,loadState:r.loadState}})},t.prototype.handleFID=function(e){var r,o=e.attribution;(r=this.context)===null||r===void 0||r.record(Ia,{version:"1.0.0",value:e.value,attribution:{eventTarget:o.eventTarget,eventType:o.eventType,eventTime:o.eventTime,loadState:o.loadState}})},t.prototype.handleINP=function(e){var r=e.attribution,o=this.context,i=o.record,a=o.recordCandidate;(this.config.reportAllINP?i:a)(Ra,{version:"1.0.0",value:e.value,attribution:{interactionTarget:r.interactionTarget,interactionTime:r.interactionTime,nextPaintTime:r.nextPaintTime,interactionType:r.interactionType,inputDelay:r.inputDelay,processingDuration:r.processingDuration,presentationDelay:r.presentationDelay,loadState:r.loadState}})},t}
29)(ne),yu=(function(){var n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(r[i]=o[i])},n(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");n(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),wu=(function(n){yu(t,n);function t(e){var r=n.call(this,e)||this;return r.name="XMLHttpRequest error",r}return t})(Error),bu=(function(){var n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(r[i]=o[i])},n(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");n(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),Et=function(){return Et=Object.assign||function(n){for(var t,e=1,r=arguments.length;e<r;e++){t=arguments[e];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o])}return n},Et.apply(this,arguments)},Eu="xhr",_u=(function(n){bu(t,n);function t(e){var r=n.call(this,Eu)||this;return r.addXRayTraceIdHeader=function(o){return Li(o,r.config.addXRayTraceIdHeader)},r.isTracingEnabled=function(){return r.context.config.enableXRay},r.isSessionRecorded=function(){var o;return((o=r.context.getSession())===null||o===void 0?void 0:o.record)||!1}
29,r.handleXhrLoadEvent=function(o){var i=o.target,a=r.xhrMap.get(i);if(a){var c=ue();a.trace.end_time=c,a.trace.subsegments[0].end_time=c,a.trace.subsegments[0].http.response={status:i.status},In(i.status)?(a.trace.subsegments[0].throttle=!0,a.trace.throttle=!0):Mi(i.status)?(a.trace.subsegments[0].error=!0,a.trace.error=!0):Cn(i.status)&&(a.trace.subsegments[0].fault=!0,a.trace.fault=!0);var u=i.getResponseHeader("Content-Length"),s=u?parseInt(u,10):NaN;isNaN(s)||(a.trace.subsegments[0].http.response.content_length=s),r.recordTraceEvent(a.trace),r.recordHttpEventWithResponse(a,i)}},r.handleXhrErrorEvent=function(o){var i=o.target,a=r.xhrMap.get(i),c="XMLHttpRequest error",u=i.statusText?i.status.toString()+": "+i.statusText:i.status.toString();if(a){var s=ue();a.trace.fault=!0,a.trace.end_time=s,a.trace.subsegments[0].end_time=s,a.trace.subsegments[0].fault=!0,a.trace.subsegments[0].cause={exceptions:[{type:c,message:u}]},r.recordTraceEvent(a.trace),r.recordHttpEventWithError(a,i,new wu(u))}},r.handleXhrAbortEvent=function(o){var i=o.target,a=r.xhrMap.get(i);a&&r.handleXhrDetailsOnError(a,i,"XMLHttpRequest abort")}
29,r.handleXhrTimeoutEvent=function(o){var i=o.target,a=r.xhrMap.get(i),c="XMLHttpRequest timeout";r.handleXhrDetailsOnError(a,i,c)},r.initializeTrace=function(o){var i=ue();o.trace=Hi(r.config.logicalServiceName,i,r.context.config.enableW3CTraceId),o.trace.subsegments.push(Di(Ui(o.url),i,{request:{method:o.method,url:o.url,traced:!0}}))},r.sendWrapper=function(){var o=r;return function(i){return function(){var a=o.xhrMap.get(this);return a&&(this.addEventListener("load",o.handleXhrLoadEvent),this.addEventListener("error",o.handleXhrErrorEvent),this.addEventListener("abort",o.handleXhrAbortEvent),this.addEventListener("timeout",o.handleXhrTimeoutEvent),o.initializeTrace(a),!o.isSyntheticsUA&&o.isTracingEnabled()&&o.addXRayTraceIdHeader(a.url)&&o.isSessionRecorded()&&(o.context.config.enableW3CTraceId?this.setRequestHeader(xt,Rn(a.trace.trace_id,a.trace.subsegments[0].id)):this.setRequestHeader(It,xn(a.trace.trace_id,a.trace.subsegments[0].id)))),i.apply(this,arguments)}}},r.openWrapper=function(){var o=r;return function(i){return function(a,c,u){return Ni(c,o.config)&&o.xhrMap.set(this,{url:c,method:a,async:u}),i.apply(this,arguments)}}},r.config=Et(Et({},ki),e),r.xhrMap=new Map,r.isSyntheticsUA=navigator.userAgent.includes("CloudWatchSynthetics"),r}return 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,r,o){if(e){var i=ue();e.trace.end_time=i,e.trace.subsegments[0].end_time=i,e.trace.subsegments[0].error=!0,e.trace.subsegments[0].cause={exceptions:[{type:o}]},this.recordTraceEvent(e.trace),this.recordHttpEventWithError(e,r,o)}},t.prototype.statusOk=function(e){return e>=200&&e<300},t.prototype.recordHttpEventWithResponse=function(e,r){this.xhrMap.delete(r);var o={version:"1.0.0",request:{method:e.method,url:e.url},response:{status:r.status,statusText:r.statusText}};this.isTracingEnabled()&&(o.trace_id=e.trace.trace_id,o.segment_id=e.trace.subsegments[0].id),(this.config.recordAllRequests||!this.statusOk(r.status))&&this.context.record(ft,o)},t.prototype.recordHttpEventWithError=function(e,r,o){this.xhrMap.delete(r);var i={version:"1.0.0",request:{method:e.method,url:e.url},error:_n({type:"error",error:o},this.config.stackTraceLength)};this.isTracingEnabled()&&(i.trace_id=e.trace.trace_id,i.segment_id=e.trace.subsegments[0].id),this.context.record(ft,i)},t.prototype.recordTraceEvent=function(e){!this.isSyntheticsUA&&this.isTracingEnabled()&&this.isSessionRecorded()&&this.context.record(di,e)},t}
29)(Ct),Su=(function(){var n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(r[i]=o[i])},n(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");n(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),_t=function(){return _t=Object.assign||function(n){for(var t,e=1,r=arguments.length;e<r;e++){t=arguments[e];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o])}return n},_t.apply(this,arguments)},Tu="fetch",Cu=(function(n){Su(t,n);function t(e){var r=n.call(this,Tu)||this;return r.isTracingEnabled=function(){return r.context.config.enableXRay},r.isSessionRecorded=function(){var o;return((o=r.context.getSession())===null||o===void 0?void 0:o.record)||!1},r.beginTrace=function(o,i,a){var c=ue(),u=Rc(o,i,!0),s=Hi(r.config.logicalServiceName,c,r.context.config.enableW3CTraceId),f=Di(Ui(o),c,u);return s.subsegments.push(f),r.isTraceIdHeaderEnabled(o)&&r.addXRayTraceIdHeader(o,i,a,s),s},r.addXRayTraceIdHeader=function(o,i,a,c){if(o.headers)return Oc(o.headers,c.trace_id,c.subsegments[0].id,r.context.config.enableW3CTraceId);i||(i={},[].push.call(a,i)),Ac(i,c.trace_id,c.subsegments[0].id,r.context.config.enableW3CTraceId)},r.endTrace=function(o,i,a){if(o){var c=ue();if(o.subsegments[0].end_time=c,o.end_time=c,i){o.subsegments[0].http.response={status:i.status},In(i.status)?(o.subsegments[0].throttle=!0,o.throttle=!0):Mi(i.status)?(o.subsegments[0].error=!0,o.error=!0):Cn(i.status)&&(o.subsegments[0].fault=!0,o.fault=!0);var u=i.headers.get("Content-Length"),s=u?parseInt(u,10):NaN;isNaN(s)||(o.subsegments[0].http.response.content_length=s)}a&&(o.fault=!0,o.subsegments[0].fault=!0,a instanceof Object?r.appendErrorCauseFromObject(o.subsegments[0],a):gi(a)&&r.appendErrorCauseFromPrimitive(o.subsegments[0],a.toString())),r.context.record(di,o)}},r.createHttpEvent=function(o,i){var a=o;return{version:"1.0.0",request:{url:st(o),method:i!=null&&i.method?i.method:a.method?a.method:"GET"}}},r.recordHttpEventWithResponse=function(o,i){(r.config.recordAllRequests||!i.ok)&&(o.response={status:i.status,statusText:i.statusText},r.context.record(ft,o))},r.recordHttpEventWithError=function(o,i){o.error=_n({type:"error",error:i},r.config.stackTraceLength),r.context.record(ft,o)},r.fetch=function(o,i,a,c,u){var s=r.createHttpEvent(c,u),f;if(!Ni(st(c),r.config))return o.apply(i,a);var p=Lc(c.headers,r.context.config.enableW3CTraceId);return p.traceId&&p.segmentId?(s.trace_id=p.traceId,s.segment_id=p.segmentId):r.isTracingEnabled()&&r.isSessionRecorded()&&(f=r.beginTrace(c,u,a),s.trace_id=f.trace_id,s.segment_id=f.subsegments[0].id),o.apply(i,a).then(function(l){return r.endTrace(f,l,void 0),r.recordHttpEventWithResponse(s,l),l}).catch(function(l){throw r.endTrace(f,void 0,l),r.recordHttpEventWithError(s,l),l})},r.fetchWrapper=function(){var o=r;return function(i){return function(a,c){return o.fetch(i,this,arguments,a,c)}}},r.config=_t(_t({},ki),e),r}return 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 r=st(e);return Li(r,this.config.addXRayTraceIdHeader)},t.prototype.appendErrorCauseFromPrimitive=function(e,r){e.cause={exceptions:[{type:r}]}},t.prototype.appendErrorCauseFromObject=function(e,r){e.cause={exceptions:[{type:r.name,message:r.message}]}},t}
29)(Ct),Iu=(function(){var n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(r[i]=o[i])},n(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");n(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),xu="page-view",Ru=(function(n){Iu(t,n);function t(){var e=n.call(this,xu)||this;return e.pushState=function(){var r=e;return function(o){return function(i,a,c){var u=o.apply(this,arguments);return r.recordPageView(),u}}},e.replaceState=function(){var r=e;return function(o){return function(i,a,c){var u=o.apply(this,arguments);return r.recordPageView(),u}}},e.popstateListener=function(r){e.recordPageView()},e.recordPageView=function(){e.context.recordPageView(e.createIdForCurrentPage())},e.enable(),e}return 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}]},enumerable:!1,configurable:!0}),t.prototype.addListener=function(){window.addEventListener("popstate",this.popstateListener)},t.prototype.createIdForCurrentPage=function(){var e=window.location.pathname,r=window.location.hash;switch(this.context.config.pageIdFormat){case pe.PathAndHash:return e&&r?e+r:e||r||"";case pe.Hash:return r||"";case pe.Path:default:return e||""}},t})(Ct),J=function(){return J=Object.assign||function(n){for(var t,e=1,r=arguments.length;e<r;e++){t=arguments[e];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o])}return n},J.apply(this,arguments)},Au=function(n,t){var e={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&t.indexOf(r)<0&&(e[r]=n[r]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(n);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(n,r[o])&&(e[r[o]]=n[r[o]]);return e},se=function(n,t,e){if(e||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return n.concat(i||Array.prototype.slice.call(t))},Yi="us-west-2",yn="https://dataplane.rum.".concat(Yi,".amazonaws.com"),le;(function(n){n.Errors="errors",n.Performance="performance",n.Interaction="interaction",n.Http="http"})(le||(le={}));var pe;(function(n){n.Path="PATH",n.Hash="HASH",n.PathAndHash="PATH_AND_HASH"})(pe||(pe={}));var Ou=function(){return{unique:!1,domain:window.location.hostname,path:"/",sameSite:"Strict",secure:!0}},Pu=function(n){return J({allowCookies:!1,batchLimit:100,client:ca,cookieAttributes:n,disableAutoPageView:!1,dispatchInterval:5*1e3,enableRumClient:!0,enableXRay:!1,endpoint:yn,endpointUrl:new URL(yn),eventCacheSize:200,eventPluginsToLoad:[],pageIdFormat:pe.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},Ji)},Ji={candidatesCacheSize:10},Lu=(function(){function n(t,e,r,o){o===void 0&&(o={});var i=o.cookieAttributes,a=Au(o,["cookieAttributes"]);this.eventBus=new yi,typeof r>"u"&&(r="us-west-2");var c=J(J({},Ou()),i);this.config=J(J(J({fetchFunction:fetch},Pu(c)),a),Ji),this.config.endpoint=this.getDataPlaneEndpoint(r,a),this.config.endpointUrl=new URL(this.config.endpoint),this.eventCache=this.initEventCache(t,e),this.dispatchManager=this.initDispatch(r,t),this.pluginManager=this.initPluginManager(t,e),this.config.enableRumClient?this.enable():this.disable()}return n.prototype.setAwsCredentials=function(t){this.dispatchManager.setAwsCredentials(t)},n.prototype.addSessionAttributes=function(t){this.eventCache.addSessionAttributes(t)},n.prototype.addPlugin=function(t){this.pluginManager.addPlugin(t)},n.prototype.dispatch=function(){this.dispatchManager.dispatchFetch()},n.prototype.dispatchBeacon=function(){this.dispatchManager.dispatchBeacon()},n.prototype.enable=function(){this.eventCache.enable(),this.pluginManager.enable(),this.dispatchManager.enable()},n.prototype.disable=function(){this.dispatchManager.disable(),this.pluginManager.disable(),this.eventCache.disable()},n.prototype.allowCookies=function(t){this.config.allowCookies=t},n.prototype.recordPageView=function(t){this.eventCache.recordPageView(t)},n.prototype.recordError=function(t){this.pluginManager.record(mi,t)},n.prototype.registerDomEvents=function(t){this.pluginManager.updatePlugin(vi,t)},n.prototype.recordEvent=function(t,e){this.eventCache.recordEvent(t,e)},n.prototype.initEventCache=function(t,e){return new as({id:t,version:e},this.config,this.eventBus)}
29,n.prototype.initDispatch=function(t,e){var r=new Uc(t,this.config.endpointUrl,this.eventCache,this.config);return this.eventCache.isSessionSampled()&&(this.config.identityPoolId&&this.config.guestRoleArn?r.setAwsCredentials(new wa(this.config,e).ChainAnonymousCredentialsProvider):this.config.identityPoolId&&r.setAwsCredentials(new Sa(this.config,e).ChainAnonymousCredentialsProvider)),r},n.prototype.initPluginManager=function(t,e){var r=this.constructBuiltinPlugins(),o=se(se([],r,!0),this.config.eventPluginsToLoad,!0),i={applicationId:t,applicationVersion:e,config:this.config,record:this.eventCache.recordEvent,recordCandidate:this.eventCache.recordCandidate,recordPageView:this.eventCache.recordPageView,getSession:this.eventCache.getSession,eventBus:this.eventBus},a=new La(i);return this.config.disableAutoPageView||a.addPlugin(new Ru),o.forEach(function(c){a.addPlugin(c)}),a},n.prototype.constructBuiltinPlugins=function(){var t=[],e=this.telemetryFunctor();return this.config.telemetries.forEach(function(r){typeof r=="string"&&e[r.toLowerCase()]?t=se(se([],t,!0),e[r.toLowerCase()]({}),!0):Array.isArray(r)&&e[r[0].toLowerCase()]&&(t=se(se([],t,!0),e[r[0].toLowerCase()](r[1]),!0))}),t},n.prototype.getDataPlaneEndpoint=function(t,e){return e.endpoint?e.endpoint:yn.replace(Yi,t)},n.prototype.telemetryFunctor=function(){var t;return t={},t[le.Errors]=function(e){return[new Fa(e)]},t[le.Performance]=function(e){return[new Wc(e),new Yc(e),new mu(e)]},t[le.Interaction]=function(e){return[new Na(e)]},t[le.Http]=function(e){return[new _u(e),new Cu(e)]},t},n})();const ku={VITE_BUILD_NUMBER:"1790020949707",VITE_RUM_ALLOW_COOKIES:"true",VITE_RUM_APP_ID:"3b70ccfc-bf58-4dd8-a317-059dd5860276",VITE_RUM_APP_VERSION:"1.0.0",VITE_RUM_ENABLE_XRAY:"false",VITE_RUM_ENDPOINT:"https://dataplane.rum.us-east-1.amazonaws.com",VITE_RUM_IDENTITY_POOL_ID:"us-east-1:f96b7024-15f7-46e9-b0d7-e7adefc1d266",VITE_RUM_REGION:"us-east-1",VITE_RUM_SESSION_SAMPLE_RATE:"0.1",VITE_RUM_SIGNING:"true",VITE_RUM_TELEMETRIES:"performance,errors,http"},U=ku,sn=(n,t)=>typeof n=="boolean"?n:n!=null?n.toString().toLowerCase()==="true":t,Mu=(n,t)=>Number(n),Nu=(n,t)=>Array.isArray(n)?n:n.split(",").map(e=>e.trim()).filter(Boolean),Hu=U.VITE_RUM_APP_ID,Du=U.VITE_RUM_APP_VERSION,Uu=U.VITE_RUM_REGION,ju=[/\/api\/items\/upc\//,/\/api\/items\/[0-9a-f]{24}/i,/\/api\/serverStatus/,/google-analytics\.com/,/\/g\/collect/,/\/meta\.json$/],ni={errors:{ignore:Oo},http:{urlsToExclude:ju}},Bu=n=>n.map(t=>ni[t]?[t,ni[t]]:t);function qu(){const n=Nu(U.VITE_RUM_TELEMETRIES),t=Bu(n.length>0?n:["performance","errors","http"]);return{sessionSampleRate:Mu(U.VITE_RUM_SESSION_SAMPLE_RATE),identityPoolId:U.VITE_RUM_IDENTITY_POOL_ID,endpoint:U.VITE_RUM_ENDPOINT,telemetries:t,allowCookies:sn(U.VITE_RUM_ALLOW_COOKIES,!0),enableXRay:sn(U.VITE_RUM_ENABLE_XRAY,!1),releaseId:U.VITE_BUILD_NUMBER,signing:sn(U.VITE_RUM_SIGNING,!0)}}function Fu(n){if(n==null)return new Error("Unhandled rejection");const t=n,e=typeof(t==null?void 0:t.name)=="string"?t.name:"",r=typeof(t==null?void 0:t.message)=="string"?t.message:"";let o="";try{const u=typeof(t==null?void 0:t.toString)=="function"?t.toString():String(n);u&&(o=u)}catch{}let i="";if(r)i=r;else if(o&&o!=="[object Object]")i=o;else{try{const u=JSON.stringify(n);u&&u!=="{}"&&(i=u)}catch{}!i&&o&&(i=o)}i||(i="Unhandled rejection with no extractable message");const a=new Error(i);e&&(a.name=e);const c=typeof(t==null?void 0:t.stack)=="string"?t.stack:"";return c&&(a.stack=c),a}function $u(){var n;try{const t=new Lu(Hu,Du,Uu,qu());window.awsRum=t,t.enable(),(n=window.awsRum)==null||n.addSessionAttributes({build:"1790020949707",env:"production",renderer:"ssr"}),window.addEventListener("error",e=>{try{const r=e,o=r.error||new Error(String((e==null?void 0:e.message)||"Unknown window.onerror"));cn(o,{filename:r.filename})}catch{}}),window.addEventListener("unhandledrejection",e=>{try{const r=e.reason,o=typeof(r==null?void 0:r.stack)=="string"?r.stack:"";if(o&&/(?:webkit-masked-url:\/\/|(?:chrome|moz|safari-web)-extension:\/\/)/.test(o)&&!/\/assets\/[A-Za-z0-9._-]+\.(?:js|mjs)/.test(o))return;const i=r instanceof Error?r:Fu(r);cn(i)}catch{}})}catch(t){console.warn("Failed to initialize app monitoring:",t)}}const Vu=n=>{Zn.isInitialized&&Zn.event(n.name,{value:n.delta,metric_id:n.id,metric_value:n.value,metric_delta:n.delta,non_interaction:!0})},zu=(n=Vu)=>{n&&n instanceof Function&&ko(async()=>{const{onCLS:t,onINP:e,onFCP:r,onLCP:o,onTTFB:i}=await import("./web-vitals-hltjI8aA.js");return{onCLS:t,onINP:e,onFCP:r,onLCP:o,onTTFB:i}},[]).then(({onCLS:t,onINP:e,onFCP:r,onLCP:o,onTTFB:i})=>{t(n),e(n),r(n),o(n),i(n)})}
29,Gu=new Set(["emotion-insertion-point","viewport","theme-color","description","robots","referrer","color-scheme","format-detection","google-site-verification","apple-mobile-web-app-capable","apple-mobile-web-app-title","apple-mobile-web-app-status-bar-style","msapplication-TileColor"]),Wu=["og:","twitter:","fb:","article:","product:"],Xu=new Set(["icon","shortcut","apple-touch-icon","apple-touch-icon-precomposed","mask-icon","preconnect","dns-prefetch","preload","prefetch","modulepreload","stylesheet","canonical","manifest","alternate","next","prev","author","license","search"]),Ku=["chrome-extension:","moz-extension:","safari-web-extension:","safari-extension:","ms-browser-extension:","extension:"],Yu=8,Ju=-2;function N(n,t){try{return n.getAttribute(t)}catch{return null}}function ri(n){if(!n)return!1;const t=n.trim().toLowerCase();return Ku.some(e=>t.startsWith(e))}function Zu(n){if(!n)return!1;try{return new URL(n,document.baseURI).origin===window.location.origin}catch{return!1}}function Qu(n){switch(n.tagName){case"TITLE":case"BASE":case"NOSCRIPT":return!0;case"META":{if(N(n,"charset")!==null||N(n,"http-equiv")!==null)return!0;const t=(N(n,"name")??N(n,"property")??"").toLowerCase();return t?Gu.has(t)?!0:Wu.some(e=>t.startsWith(e)):!1}case"LINK":{const t=N(n,"href");if(ri(t))return!1;const e=(N(n,"rel")??"").toLowerCase().trim();return e?e.split(/\s+/).some(r=>Xu.has(r)):!1}case"STYLE":{const t=N(n,"id");return t===Dn||t===bn?!0:N(n,"data-emotion")!==null||N(n,"data-mui")!==null||N(n,"data-styled")!==null}case"SCRIPT":{const t=N(n,"src");if(ri(t))return!1;if((N(n,"type")??"").toLowerCase()==="application/ld+json"||Zu(t))return!0;if(!t){const r=n.textContent??"";if(r.includes("/@react-refresh")||r.includes("__vite"))return!0}return!1}default:return!1}}function Zi(n){try{return!Qu(n)}catch{return!1}}let St=[];function Qi(){try{const n=document.head;if(!n)return"";const t=new Map;for(const e of Array.from(n.children))t.set(e.tagName,(t.get(e.tagName)??0)+1);return Array.from(t.entries()).sort().map(([e,r])=>`${e}:${r}`).join(",")}catch{return""}}function ef(){try{const n=document.head;return n?Array.from(n.children).filter(Zi).length:-1}catch{return-1}}let eo="",wn=-1;function tf(){return eo}function nf(){return wn}function rf(){try{const n=document.head;if(!n)return 0;eo=Qi();const t=[];for(const e of Array.from(n.children))Zi(e)&&t.push({node:e});if(t.length>Yu)return St=[],wn=Ju,0;for(const e of t)try{e.node.remove()}catch{}return St=t,wn=t.length,t.length}catch{return 0}}function of(){try{const n=document.head;if(!n)return;for(const t of St)try{t.node.isConnected||n.appendChild(t.node)}catch{}}catch{}finally{St=[]}}const Dn="mui-critical",bn="mui-critical-restored";let Tt="";function af(){var n;try{Tt=((n=document.getElementById(Dn))==null?void 0:n.textContent)??""}catch{Tt=""}}function sf(){var n;try{if(!Tt||document.getElementById(bn)||(((n=document.getElementById(Dn))==null?void 0:n.textContent)??"").length>0)return!1;const e=document.createElement("style");return e.id=bn,e.textContent=Tt,document.head.appendChild(e),!0}catch{return!1}}function cf(){const n=[0,250,1e3,3e3],t=n[n.length-1];let e=!1;for(const r of n)setTimeout(()=>{try{!e&&(ai()||r===t)&&(e=!0,of()),sf()}catch{}},r)}const uf="hydration_diagnostic",ff=3;let En=0,ii=!1;const lf=1500,df=[{label:"down_tablet",query:"(max-width:749.95px)",max:749.95},{label:"up_tablet",query:"(min-width:750px)",min:750},{label:"up_desktop",query:"(min-width:1145px)",min:1145}],ce=n=>{try{return typeof localStorage.getItem(n)=="string"}catch{return!1}},hf=()=>{try{return localStorage.getItem("__probe__"),!1}catch{return!0}},to=n=>{try{return window.matchMedia(n).matches}catch{return null}};function pf(n){const t=[];for(const e of df){const r=to(e.query);if(r===null)continue;(e.min!==void 0?n>=e.min:n<=(e.max??0))!==r&&t.push(e.label)}return t}function vf(){try{const n=performance.getEntriesByType("navigation")[0];return(n==null?void 0:n.type)??"unknown"}catch{return"unknown"}}function gf(){var n,t;try{return((t=(n=document.getElementById("mui-critical"))==null?void 0:n.textContent)==null?void 0:t.length)??0}catch{return-1}}function mf(){var n,t;try{const e=(t=(n=window.__rsdStore)==null?void 0:n.getState)==null?void 0:t.call(n),r=e==null?void 0:e.auth;return r?{settled:!!r.settled,signedIn:!!r.token||!!r.signedIn}:{settled:null,signedIn:null}}catch{return{settled:null,signedIn:null}}}function yf(n){const t=/Minified React error #(\d+)/.exec(n);return t?t[1]:""}function wf(n,t){const e=n||{},r=typeof e.message=="string"?e.message:String(n),o=(()=>{try{return navigator.userAgent||""}catch{return""}})(),i=Ho(o),a=No(i),c=Mo[i],u=mf(),s=p=>{try{return p()}catch{return-1}},f=p=>{try{return p()||""}catch{return""}};return{reactErrorCode:yf(r),errorMessage:r.slice(0,300),componentStack:(t||"").trim().slice(0,lf),pathname:f(()=>window.location.pathname),navigationType:vf(),sinceNavMs:s(()=>Math.round(performance.now())),criticalCssChars:gf(),ssrAssumedDeviceType:a,ssrAssumedWidth:c,realWidth:s(()=>window.innerWidth),realHeight:s(()=>window.innerHeight),mediaDisagreements:pf(c).join(",")||"none",prefersDark:to("(prefers-color-scheme: dark)"),navLang:f(()=>navigator.language),resolvedLocale:f(()=>Intl.NumberFormat().resolvedOptions().locale),timeZone:f(()=>Intl.DateTimeFormat().resolvedOptions().timeZone),hasJwt:ce("jwtToken"),hasCart:ce("cart"),hasGeo:ce("lat")&&ce("lon"),hasPrefersMode:ce("prefersMode"),hasAcceptedCookies:ce("acceptedCookies"),storageBlocked:hf(),authSettled:u.settled,signedIn:u.signedIn,mainHydrated:ai(),restorePhase:Po(),readyState:f(()=>document.readyState),quarantinedCount:s(nf),foreignHeadNow:s(ef),headBaseline:f(tf),headAtError:f(Qi),seq:En+1}}function bf(n,t){var e;try{if(En>=ff)return;const r=wf(n,t);En+=1;const o=window==null?void 0:window.awsRum;try{(e=o==null?void 0:o.recordEvent)==null||e.call(o,uf,r)}catch{}if(!ii){ii=!0;const i={code:r.reactErrorCode,path:r.pathname,nav:r.navigationType,css:r.criticalCssChars,ssrDev:r.ssrAssumedDeviceType,w:r.realWidth,mediaDisagree:r.mediaDisagreements,dark:r.prefersDark,lang:r.navLang,locale:r.resolvedLocale,tz:r.timeZone,jwt:r.hasJwt,cart:r.hasCart,geo:r.hasGeo,mode:r.hasPrefersMode,blocked:r.storageBlocked,settled:r.authSettled,signedIn:r.signedIn,mainHyd:r.mainHydrated,restore:r.restorePhase,t:r.sinceNavMs,qCount:r.quarantinedCount,fHead:r.foreignHeadNow,head0:r.headBaseline,head1:r.headAtError},a=new Error(`HydrationDiagnostic #${r.reactErrorCode} ${JSON.stringify(i)}`);a.name="HydrationDiagnostic",a.stack=`HydrationDiagnostic: #${r.reactErrorCode}
30${r.componentStack}`,cn(a)}}catch{}}$u();Lo();function Ef(n,t){try{bf(n,(t==null?void 0:t.componentStack)??"")}catch{}try{typeof reportError=="function"?reportError(n):console.error(n)}catch{}}af();rf();L.startTransition(()=>
30{jo.hydrateRoot(document,qt.jsx(L.StrictMode,{children:qt.jsx(xo,{value:Wo(),children:qt.jsx(zo,{})})}),{onRecoverableError:Ef})});cf();zu();

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.