PageSourceSearch

https://www.zable.com/credit-cards/_next/static/chunks/a3d263a2-009aa29915a13f55.js

js zable.com collected 2026-09-24 12:43:48 UTC 106,596 bytes, 88 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(null!=n)for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:cards-app":!0});var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="32753209-3444-405e-843f-c644ca1925b7",e._sentryDebugIdIdentifier="sentry-dbid-32753209-3444-405e-843f-c644ca1925b7")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4509],{99486:(e,t,n)=>{let r,i,o,s,a,l,c,u,d,p,f,h;n.d(t,{A:()=>rN});var m,y,g,_,v,E,b,w,x,I,S,k,T,O,N,C,A={},R=(T||(T=1,!function(e){let t=E?v:(E=1,v=e=>encodeURIComponent(e).replace(/[!'()*]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`)),n=function(){if(w)return b;w=1;var e="%[a-f0-9]{2}",t=RegExp("("+e+")|([^%]+?)","gi"),n=RegExp("("+e+")+","gi");return b=function(e){if("string"!=typeof e)throw TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(r){return function(e){for(var r={"%FE%FF":"��","%FF%FE":"��"},i=n.exec(e);i;){try{r[i[0]]=decodeURIComponent(i[0])}catch(e){var o=function(e){try{return decodeURIComponent(e)}catch(i){for(var n=e.match(t)||[],r=1;r<n.length;r++)n=(e=(function e(t,n){try{return[decodeURIComponent(t.join(""))]}catch(e){}if(1===t.length)return t;n=n||1;var r=t.slice(0,n),i=t.slice(n);return Array.prototype.concat.call([],e(r),e(i))})(n,r).join("")).match(t)||[];return e}}(i[0]);o!==i[0]&&(r[i[0]]=o)}i=n.exec(e)}r["%C2"]="�";for(var s=Object.keys(r),a=0;a<s.length;a++){var l=s[a];e=e.replace(RegExp(l,"g"),r[l])}return e}(e)}}}(),r=I?x:(I=1,x=(e,t)=>{if("string"!=typeof e||"string"!=typeof t)throw TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];let n=e.indexOf(t);return -1===n?[e]:[e.slice(0,n),e.slice(n+t.length)]}),i=k?S:(k=1,S=function(e,t){for(var n={},r=Object.keys(e),i=Array.isArray(t),o=0;o<r.length;o++){var s=r[o],a=e[s];(i?-1!==t.indexOf(s):t(s,a,e))&&(n[s]=a)}return n});function o(e){if("string"!=typeof e||1!==e.length)throw TypeError("arrayFormatSeparator must be single character string")}function s(e,n){return n.encode?n.strict?t(e):encodeURIComponent(e):e}function a(e,t){return t.decode?n(e):e}function l(e){let t=e.indexOf("#");return -1!==t&&(e=e.slice(0,t)),e}function c(e){let t=(e=l(e)).indexOf("?");return -1===t?"":e.slice(t+1)}function u(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):t.parseBooleans&&null!==e&&("true"===e.toLowerCase()||"false"===e.toLowerCase())&&(e="true"===e.toLowerCase()),e}function d(e,t){o((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);let n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,r)=>{if(t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),!t){r[e]=n;return}void 0===r[e]&&(r[e]={}),r[e][t[1]]=n};case"bracket":return(e,n,r)=>{if(t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),!t){r[e]=n;return}if(void 0===r[e]){r[e]=[n];return}r[e]=[].concat(r[e],n)};case"comma":case"separator":return(t,n,r)=>{let i="string"==typeof n&&n.includes(e.arrayFormatSeparator),o="string"==typeof n&&!i&&a(n,e).includes(e.arrayFormatSeparator);n=o?a(n,e):n;let s=i||o?n.split(e.arrayFormatSeparator).map(t=>a(t,e)):null===n?n:a(n,e);r[t]=s};default:return(e,t,n)=>{if(void 0===n[e]){n[e]=t;return}n[e]=[].concat(n[e],t)}}}(t),i=Object.create(null);if("string"!=typeof e||!(e=e.trim().replace(/^[?#&]/,"")))return i;for(let o of e.split("&")){if(""===o)continue;let[e,s]=r(t.decode?o.replace(/\+/g," "):o,"=");s=void 0===s?null:["comma","separator"].includes(t.arrayFormat)?s:a(s,t),n(a(e,t),s,i)}for(let e of Object.keys(i)){let n=i[e];if("object"==typeof n&&null!==n)for(let e of Object.keys(n))n[e]=u(n[e],t);else i[e]=u(n,t)}return!1===t.sort?i:(!0===t.sort?Object.keys(i).sort():Object.keys(i).sort(t.sort)).reduce((e,t)=>
1{let n=i[t];return n&&"object"==typeof n&&!Array.isArray(n)?e[t]=function e(t){return Array.isArray(t)?t.sort():"object"==typeof t?e(Object.keys(t)).sort((e,t)=>Number(e)-Number(t)).map(e=>t[e]):t}(n):e[t]=n,e},Object.create(null))}e.extract=c,e.parse=d,e.stringify=(e,t)=>{if(!e)return"";o((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);let n=n=>t.skipNull&&null==e[n]||t.skipEmptyString&&""===e[n],r=function(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{let i=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[s(t,e),"[",i,"]"].join("")]:[...n,[s(t,e),"[",s(i,e),"]=",s(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[s(t,e),"[]"].join("")]:[...n,[s(t,e),"[]=",s(r,e)].join("")];case"comma":case"separator":return t=>(n,r)=>null==r||0===r.length?n:0===n.length?[[s(t,e),"=",s(r,e)].join("")]:[[n,s(r,e)].join(e.arrayFormatSeparator)];default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,s(t,e)]:[...n,[s(t,e),"=",s(r,e)].join("")]}}(t),i={};for(let t of Object.keys(e))n(t)||(i[t]=e[t]);let a=Object.keys(i);return!1!==t.sort&&a.sort(t.sort),a.map(n=>{let i=e[n];return void 0===i?"":null===i?s(n,t):Array.isArray(i)?i.reduce(r(n),[]).join("&"):s(n,t)+"="+s(i,t)}).filter(e=>e.length>0).join("&")},e.parseUrl=(e,t)=>
1{t=Object.assign({decode:!0},t);let[n,i]=r(e,"#");return Object.assign({url:n.split("?")[0]||"",query:d(c(e),t)},t&&t.parseFragmentIdentifier&&i?{fragmentIdentifier:a(i,t)}:{})},e.stringifyUrl=(t,n)=>{var r;let i,o;n=Object.assign({encode:!0,strict:!0},n);let a=l(t.url).split("?")[0]||"",c=e.extract(t.url),u=Object.assign(e.parse(c,{sort:!1}),t.query),d=e.stringify(u,n);d&&(d=`?${d}`);let p=(r=t.url,i="",-1!==(o=r.indexOf("#"))&&(i=r.slice(o)),i);return t.fragmentIdentifier&&(p=`#${s(t.fragmentIdentifier,n)}`),`${a}${d}${p}`},e.pick=(t,n,r)=>{r=Object.assign({parseFragmentIdentifier:!0},r);let{url:o,query:s,fragmentIdentifier:a}=e.parseUrl(t,r);return e.stringifyUrl({url:o,query:i(s,n),fragmentIdentifier:a},r)},e.exclude=(t,n,r)=>{let i=Array.isArray(n)?e=>!n.includes(e):(e,t)=>!n(e,t);return e.pick(t,i,r)}}(A)),(m=A)&&m.__esModule&&Object.prototype.hasOwnProperty.call(m,"default"))?m.default:m;let j=[];for(let e=0;e<256;++e)j.push((e+256).toString(16).slice(1));let $=new Uint8Array(16);var D="u">typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);function M(e,t,n){if(D&&!e)return D();let i=(e=e||{}).random??e.rng?.()??function(){if(!r){if("u"<typeof crypto||!crypto.getRandomValues)throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");r=crypto.getRandomValues.bind(crypto)}return r($)}();if(i.length<16)throw Error("Random bytes length must be >= 16");return i[6]=15&i[6]|64,i[8]=63&i[8]|128,function(e,t=0){return(j[e[t+0]]+j[e[t+1]]+j[e[t+2]]+j[e[t+3]]+"-"+j[e[t+4]]+j[e[t+5]]+"-"+j[e[t+6]]+j[e[t+7]]+"-"+j[e[t+8]]+j[e[t+9]]+"-"+j[e[t+10]]+j[e[t+11]]+j[e[t+12]]+j[e[t+13]]+j[e[t+14]]+j[e[t+15]]).toLowerCase()}(i)}let L="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,U=globalThis,P="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,F="9.14.0";function B(){return q(U),U}function q(e){let t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||F,t[F]=t[F]||{}}function H(e,t,n=U){let r=n.__SENTRY__=n.__SENTRY__||{},i=r[F]=r[F]||{};return i[e]||(i[e]=t())}let z=["debug","info","warn","error","log","assert","trace"],G={};function W(e){if(!("console"in U))return e();let t=U.console,n={},r=Object.keys(G);r.forEach(e=>{let r=G[e];n[e]=t[e],t[e]=r});try{return e()}finally{r.forEach(e=>{t[e]=n[e]})}}let V=H("logger",function(){let e=!1,t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return P?z.forEach(n=>{t[n]=(...t)=>{e&&W(()=>{U.console[n](`Sentry Logger [${n}]:`,...t)})}}):z.forEach(e=>{t[e]=()=>void 0}),t}),J=/\(error: (.*)\)/,Y=/captureMessage|captureException/;function K(e){return e[e.length-1]||{}}let X="<anonymous>";function Z(e){try{if(!e||"function"!=typeof e)return X;return e.name||X}catch(e){return X}}function Q(e){let t=e.exception;if(t){let e=[];try{return t.values.forEach(t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)}),e}catch(e){}}}let ee={},et={};function en(e,t){ee[e]=ee[e]||[],ee[e].push(t)}function er(e,t){if(!et[e]){et[e]=!0;try{t()}catch(t){P&&V.error(`Error while instrumenting ${e}`,t)}}}function ei(e,t){let n=e&&ee[e];if(n)for(let r of n)try{r(t)}catch(t){P&&V.error(`Error while triggering instrumentation handler.
2Type: ${e}
3Name: ${Z(r)}
4Error:`,t)}}let eo=null;function es(){eo=U.onerror,U.onerror=function(e,t,n,r,i){return ei("error",{column:r,error:i,line:n,msg:e,url:t}),!!eo&&eo.apply(this,arguments)},U.onerror.__SENTRY_INSTRUMENTED__=!0}let ea=null;function el(){ea=U.onunhandledrejection,U.onunhandledrejection=function(e){return ei("unhandledrejection",e),!ea||ea.apply(this,arguments)},U.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}let ec=Object.prototype.toString;function eu(e){switch(ec.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return eE(e,Error)}}function ed(e,t){return ec.call(e)===`[object ${t}]`}function ep(e){return ed(e,"ErrorEvent")}function ef(e){return ed(e,"DOMError")}function eh(e){return ed(e,"String")}function em(e){return"object"==typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function ey(e){return null===e||em(e)||"object"!=typeof e&&"function"!=typeof e}function eg(e){return ed(e,"Object")}function e_(e){return"u">typeof Event&&eE(e,Event)}function ev(e){return!!(e?.then&&"function"==typeof e.then)}function eE(e,t){try{return e instanceof t}catch(e){return!1}}function eb(e){return!!("object"==typeof e&&null!==e&&(e.__isVue||e._isVue))}function ew(e,t={}){if(!e)return"<unknown>";try{let n,r=e,i=[],o=0,s=0,a=Array.isArray(t)?t:t.keyAttrs,l=!Array.isArray(t)&&t.maxStringLength||80;for(;r&&o++<5&&(n=function(e,t){let n=[];if(!e?.tagName)return"";if(U.HTMLElement&&e instanceof HTMLElement&&e.dataset){if(e.dataset.sentryComponent)return e.dataset.sentryComponent;if(e.dataset.sentryElement)return e.dataset.sentryElement}n.push(e.tagName.toLowerCase());let r=t?.length?t.filter(t=>e.getAttribute(t)).map(t=>[t,e.getAttribute(t)]):null;
4if(r?.length)r.forEach(e=>{n.push(`[${e[0]}="${e[1]}"]`)});else{e.id&&n.push(`#${e.id}`);let t=e.className;if(t&&eh(t))for(let e of t.split(/\s+/))n.push(`.${e}`)}for(let t of["aria-label","type","name","title","alt"]){let r=e.getAttribute(t);r&&n.push(`[${t}="${r}"]`)}return n.join("")}(r,a),"html"!==n&&(!(o>1)||!(s+3*i.length+n.length>=l)));)i.push(n),s+=n.length,r=r.parentNode;return i.reverse().join(" > ")}catch(e){return"<unknown>"}}function ex(){try{return U.document.location.href}catch(e){return""}}function eI(e,t=0){return"string"!=typeof e||0===t||e.length<=t?e:`${e.slice(0,t)}...`}function eS(e,t){if(!Array.isArray(e))return"";let n=[];for(let t=0;t<e.length;t++){let r=e[t];try{eb(r)?n.push("[VueViewModel]"):n.push(String(r))}catch(e){n.push("[value cannot be serialized]")}}return n.join(t)}function ek(e,t=[],n=!1){return t.some(t=>(function(e,t,n=!1){return!!eh(e)&&(ed(t,"RegExp")?t.test(e):!!eh(t)&&(n?e===t:e.includes(t)))})(e,t,n))}function eT(e,t,n){if(!(t in e))return;let r=e[t];if("function"!=typeof r)return;let i=n(r);"function"==typeof i&&eN(i,r);try{e[t]=i}catch{P&&V.log(`Failed to replace method "${t}" in object`,e)}}function eO(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch(n){P&&V.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function eN(e,t){try{let n=t.prototype||{};e.prototype=t.prototype=n,eO(e,"__sentry_original__",t)}catch(e){}}function eC(e){return e.__sentry_original__}function eA(e){if(eu(e))return{message:e.message,name:e.name,stack:e.stack,...ej(e)};
4if(!e_(e))return e;{let t={type:e.type,target:eR(e.target),currentTarget:eR(e.currentTarget),...ej(e)};return"u">typeof CustomEvent&&eE(e,CustomEvent)&&(t.detail=e.detail),t}}function eR(e){try{return"u">typeof Element&&eE(e,Element)?ew(e):Object.prototype.toString.call(e)}catch(e){return"<unknown>"}}function ej(e){if("object"!=typeof e||null===e)return{};{let t={};for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}}function e$(e=U.crypto||U.msCrypto){let t=()=>16*Math.random();try{if(e?.randomUUID)return e.randomUUID().replace(/-/g,"");e?.getRandomValues&&(t=()=>{let t=new Uint8Array(1);return e.getRandomValues(t),t[0]})}catch(e){}return"10000000100040008000100000000000".replace(/[018]/g,e=>(e^(15&t())>>e/4).toString(16))}function eD(e){return e.exception?.values?.[0]}function eM(e){let{message:t,event_id:n}=e;if(t)return t;let r=eD(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function eL(e,t,n){let r=e.exception=e.exception||{},i=r.values=r.values||[],o=i[0]=i[0]||{};o.value||(o.value=t||""),o.type||(o.type="Error")}function eU(e,t){let n=eD(e);if(!n)return;let r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...t},t&&"data"in t){let e={...r?.data,...t.data};n.mechanism.data=e}}function eP(e){if(function(e){try{return e.__sentry_captured__}catch{}}(e))return!0;try{eO(e,"__sentry_captured__",!0)}catch(e){}return!1}function eF(){return Date.now()/1e3}let eB=function(){let{performance:e}=U;if(!e?.now)return eF;let t=Date.now()-e.now(),n=void 0==e.timeOrigin?t:e.timeOrigin;return()=>(n+e.now())/1e3}();
4function eq(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||eB(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:e$()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{let t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}function eH(){return e$().substring(16)}function ez(e,t,n=2){if(!t||"object"!=typeof t||n<=0)return t;if(e&&0===Object.keys(t).length)return e;let r={...e};for(let e in t)Object.prototype.hasOwnProperty.call(t,e)&&(r[e]=ez(r[e],t[e],n-1));return r}let eG="_sentrySpan";function eW(e,t){t?eO(e,eG,t):delete e[eG]}class eV{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:e$(),sampleRand:Math.random()}}clone(){let e=new eV;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._extra={...this._extra},e._contexts={...this._contexts},this._contexts.flags&&(e._contexts.flags={values:[...this._contexts.flags.values]}),e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,eW(e,this[eG]),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&eq(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this._tags={...this._tags,[e]:t},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;let t="function"==typeof e?e(this):e,{tags:n,extra:r,user:i,contexts:o,level:s,fingerprint:a=[],propagationContext:l}=(t instanceof eV?t.getScopeData():eg(t)?e:void 0)||{};return this._tags={...this._tags,...n},this._extra={...this._extra,...r},this._contexts={...this._contexts,...o},i&&Object.keys(i).length&&(this._user=i),s&&(this._level=s),a.length&&(this._fingerprint=a),l&&(this._propagationContext=l),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,eW(this,void 0),this._attachments=[],this.setPropagationContext({traceId:e$(),sampleRand:Math.random()}),this._notifyScopeListeners(),this}addBreadcrumb(e,t){let n="number"==typeof t?t:100;if(n<=0)return this;let r={timestamp:eF(),...e,message:e.message?eI(e.message,2048):e.message};return this._breadcrumbs.push(r),this._breadcrumbs.length>n&&(this._breadcrumbs=this._breadcrumbs.slice(-n),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:this[eG]}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=ez(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){let n=t?.event_id||e$();if(!this._client)return V.warn("No client configured on scope - will not capture exception!"),n;let r=Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:r,...t,event_id:n},this),n}captureMessage(e,t,n){let r=n?.event_id||e$();if(!this._client)return V.warn("No client configured on scope - will not capture message!"),r;let i=Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:i,...n,event_id:r},this),r}captureEvent(e,t){let n=t?.event_id||e$();return this._client?this._client.captureEvent(e,{...t,event_id:n},this):V.warn("No client configured on scope - will not capture event!"),n}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEac
4h(e=>{e(this)}),this._notifyingListeners=!1)}}class eJ{constructor(e,t){let n,r;n=e||new eV,r=t||new eV,this._stack=[{scope:n}],this._isolationScope=r}withScope(e){let t,n=this._pushScope();try{t=e(n)}catch(e){throw this._popScope(),e}return ev(t)?t.then(e=>(this._popScope(),e),e=>{throw this._popScope(),e}):(this._popScope(),t)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){let e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return!(this._stack.length<=1)&&!!this._stack.pop()}}function eY(){let e=q(B());return e.stack=e.stack||new eJ(H("defaultCurrentScope",()=>new eV),H("defaultIsolationScope",()=>new eV))}function eK(e){return eY().withScope(e)}function eX(e,t){let n=eY();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function eZ(e){return eY().withScope(()=>e(eY().getIsolationScope()))}function eQ(e){let t=q(e);return t.acs?t.acs:{withIsolationScope:eZ,withScope:eK,withSetScope:eX,withSetIsolationScope:(e,t)=>eZ(t),getCurrentScope:()=>eY().getScope(),getIsolationScope:()=>eY().getIsolationScope()}}function e0(){return eQ(B()).getCurrentScope()}function e1(){return eQ(B()).getIsolationScope()}function e4(){return e0().getClient()}let e2="sentry.profile_id",e3="sentry.exclusive_time";function e5(e){return{scope:e._sentryScope,isolationScope:e._sentryIsolationScope}}let e6=/^sentry-/;function e8(e){return e.split(",").map(e=>e.split("=").map(e=>decodeURIComponent(e.trim()))).reduce((e,[t,n])=>(t&&n&&(e[t]=n),e),{})}let e9=!1;function e7(e){return"number"==typeof e?te(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?te(e.getTime()):eB()}function te(e){return e>0x2540be3ff?e/1e3:e}function tt(e){var t;if("function"==typeof e.getSpanJSON)return e.getSpanJSON();let{spanId:n,traceId:r}=e.spanContext();if((t=e).attributes&&t.startTime&&t.name&&t.endTime&&t.status){let{attributes:t,startTime:i,name:o,endTime:s,parentSpanId:a,status:l,links:c}=e;return{span_id:n,trace_id:r,data:t,description:o,parent_span_id:a,start_timestamp:e7(i),timestamp:e7(s)||void 0,status:function(e){if(e&&0!==e.code)return 1===e.code?"ok":e.message||"unknown_error"}
4(l),op:t["sentry.op"],origin:t["sentry.origin"],links:c&&c.length>0?c.map(({context:{spanId:e,traceId:t,traceFlags:n,...r},attributes:i})=>({span_id:e,trace_id:t,sampled:1===n,attributes:i,...r})):void 0}}return{span_id:n,trace_id:r,start_timestamp:0,data:{}}}function tn(e){return e._sentryRootSpan||e}function tr(){e9||(W(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly.")}),e9=!0)}let ti="production";function to(e,t){let n=t.getOptions(),{publicKey:r}=t.getDsn()||{},i={environment:n.environment||ti,release:n.release,public_key:r,trace_id:e};return t.emit("createDsc",i),i}let ts=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function ta(e,t=!1){let{host:n,path:r,pass:i,port:o,projectId:s,protocol:a,publicKey:l}=e;return`${a}://${l}${t&&i?`:${i}`:""}@${n}${o?`:${o}`:""}/${r?`${r}/`:r}${s}`}function tl(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function tc(e,t=100,r=Infinity){try{return function e(t,r,i=Infinity,o=Infinity,s=function(){let e=new WeakSet;return[function(t){return!!e.has(t)||(e.add(t),!1)},function(t){e.delete(t)}]}()){let[a,l]=s;if(null==r||["boolean","string"].includes(typeof r)||"number"==typeof r&&Number.isFinite(r))return r;let c=function(e,t){try{var r;let i;if("domain"===e&&t&&"object"==typeof t&&t._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if(void 0!==n.g&&t===n.g)return"[Global]";if("u">typeof window&&t===window)return"[Window]";if("u">typeof document&&t===document)return"[Document]";if(eb(t))return"[VueViewModel]";if(eg(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t)return"[SyntheticEvent]";if("number"==typeof t&&!Number.isFinite(t))return`[${t}]`;if("function"==typeof t)return`[Function: ${Z(t)}]`;if("symbol"==typeof t)return`[${String(t)}]`;if("bigint"==typeof t)return`[BigInt: ${String(t)}]`;let o=(r=t,i=Object.getPrototypeOf(r),i?.constructor?i.constructor.name:"null prototype");if(/^HTML(\w*)Element$/.test(o))return`[HTMLElement: ${o}]`;return`[object ${o}]`}catch(e){return`**non-serializable** (${e})`}}(t,r);if(!c.startsWith("[object "))return c;if(r.__sentry_skip_normalization__)return r;let u="number"==typeof r.__sentry_override_normalization_depth__?r.__sentry_override_normalization_depth__:i;if(0===u)return c.replace("object ","");if(a(r))return"[Circular ~]";if(r&&"function"==typeof r.toJSON)try{let t=r.toJSON();return e("",t,u-1,o,s)}catch(e){}let d=Array.isArray(r)?[]:{},p=0,f=eA(r);for(let t in f){if(!Object.prototype.hasOwnProperty.call(f,t))continue;if(p>=o){d[t]="[MaxProperties ~]";break}let n=f[t];d[t]=e(t,n,u-1,o,s),p++}return l(r),d}("",e,t,r)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}function tu(e,t=[]){return[e,t]}function td(e,t){for(let n of e[1]){let e=n[0].type;if(t(n,e))return!0}return!1}function tp(e){let t=q(U);return t.encodePolyfill?t.encodePolyfill(e):new TextEncoder().encode(e)}let tf={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",raw_security:"security",otel_log:"log_item"};function th(e){if(!e?.sdk)return;let{name:t,version:n}=e.sdk;return{name:t,version:n}}function tm(e){return new tg(t=>{t(e)})}function ty(e){return new tg((t,n)=>{n(e)})}(y=O||(O={}))[y.PENDING=0]="PENDING",y[y.RESOLVED=1]="RESOLVED",y[y.REJECTED=2]="REJECTED";class tg{constructor(e){this._state=O.PENDING,this._handlers=[],this._runExecutor(e)}then(e,t){return new tg((n,r)=>{this._handlers.push([!1,t=>{if(e)try{n(e(t))}catch(e){r(e)}else n(t)},e=>{if(t)try{n(t(e))}catch(e){r(e)}else r(e)}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(e){return new tg((t,n)=>{let r,i;return this.then(t=>{i=!1,r=t,e&&e()},t=>{i=!0,r=t,e&&e()}).then(()=>{i?n(r):t(r)})})}_executeHandlers(){if(this._state===O.PENDING)return;let e=this._handlers.slice();
4this._handlers=[],e.forEach(e=>{e[0]||(this._state===O.RESOLVED&&e[1](this._value),this._state===O.REJECTED&&e[2](this._value),e[0]=!0)})}_runExecutor(e){let t=(e,t)=>{if(this._state===O.PENDING){if(ev(t))return void t.then(n,r);this._state=e,this._value=t,this._executeHandlers()}},n=e=>{t(O.RESOLVED,e)},r=e=>{t(O.REJECTED,e)};try{e(n,r)}catch(e){r(e)}}}function t_(e,t){let{extra:n,tags:r,user:i,contexts:o,level:s,sdkProcessingMetadata:a,breadcrumbs:l,fingerprint:c,eventProcessors:u,attachments:d,propagationContext:p,transactionName:f,span:h}=t;tv(e,"extra",n),tv(e,"tags",r),tv(e,"user",i),tv(e,"contexts",o),e.sdkProcessingMetadata=ez(e.sdkProcessingMetadata,a,2),s&&(e.level=s),f&&(e.transactionName=f),h&&(e.span=h),l.length&&(e.breadcrumbs=[...e.breadcrumbs,...l]),c.length&&(e.fingerprint=[...e.fingerprint,...c]),u.length&&(e.eventProcessors=[...e.eventProcessors,...u]),d.length&&(e.attachments=[...e.attachments,...d]),e.propagationContext={...e.propagationContext,...p}}function tv(e,t,n){e[t]=ez(e[t],n,1)}function tE(e,t){return e0().captureEvent(e,t)}function tb(e){var t;let n,r,i=e1(),o=e0(),{userAgent:s}=U.navigator||{},a=(t={user:o.getUser()||i.getUser(),...s&&{userAgent:s},...e},n=eB(),r={sid:e$(),init:!0,timestamp:n,started:n,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>{var e;return e=r,{sid:`${e.sid}`,init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"==typeof e.did||"string"==typeof e.did?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}}}},t&&eq(r,t),r),l=i.getSession();return l?.status==="ok"&&eq(l,{status:"exited"}),tw(),i.setSession(a),a}function tw(){let e,t=e1(),n=e0().getSession()||t.getSession();n&&(e={},"ok"===n.status&&(e={status:"exited"}),eq(n,e)),tx(),t.setSession()}function tx(){let e=e1(),t=e4(),n=e.getSession();n&&t&&t.captureSession(n)}function tI(e=!1){e?tw():tx()}let tS=[];function tk(e,t){for(let n of t)n?.afterAllSetup&&n.afterAllSetup(e)}function tT(e,t,n){if(n[t.name]){L&&V.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,-1===tS.indexOf(t.name)&&"function"==typeof t.setupOnce&&(t.setupOnce(),tS.push(t.name)),t.setup&&"function"==typeof t.setup&&t.setup(e),"function"==typeof t.preprocessEvent){let n=t.preprocessEvent.bind(t);e.on("preprocessEvent",(t,r)=>n(t,r,e))}if("function"==typeof t.processEvent){let n=t.processEvent.bind(t),r=Object.assign((t,r)=>n(t,r,e),{id:t.name});e.addEventProcessor(r)}L&&V.log(`Integration installed: ${t.name}`)}function tO(e){let t=[];e.message&&t.push(e.message);try{let n=e.exception.values[e.exception.values.length-1];n?.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`))}catch(e){}return t}let tN="Not capturing exception because it's already been captured.",tC="Discarded session because of missing or non-string release",tA=Symbol.for("SentryInternalError"),tR=Symbol.for("SentryDoNotSendEventError");function tj(e){return{message:e,[tA]:!0}}function t$(e){return{message:e,[tR]:!0}}function tD(e){return!!e&&"object"==typeof e&&tA in e}function tM(e){return!!e&&"object"==typeof e&&tR in e}class tL{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],e.dsn?this._dsn=function(e){let t="string"==typeof e?function(e){let t=ts.exec(e);if(!t)return void W(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});let[n,r,i="",o="",s="",a=""]=t.slice(1),l="",c=a,u=c.split("/");if(u.length>1&&(l=u.slice(0,-1).join("/"),c=u.pop()),c){let e=c.match(/^\d+/);e&&(c=e[0])}return tl({host:o,pass:i,path:l,projectId:c,port:s,protocol:n,publicKey:r})}(e):tl(e);if(t&&function(e){if(!P)return!0;let{port:t,projectId:n,protocol:r}=e;return!["protocol","publicKey","host","projectId"].find(t=>!e[t]&&(V.error(`Invalid Sentry Dsn: ${t} missing`),!0))&&(n.match(/^\d+$/)?"http"!==r&&"https"!==r?(V.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):!(t&&isNaN(parseInt(t,10)))||(V.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):(V.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1))}(t))return t}(e.dsn):L&&V.warn("No DSN provided, client will not send events."),this._dsn){const t=function(e,t,n){let r,i,o;
4return t||`${r=e.protocol?`${e.protocol}:`:"",i=e.port?`:${e.port}`:"",`${r}//${e.host}${i}${e.path?`/${e.path}`:""}/api/`}${e.projectId}/envelope/?${o={sentry_version:"7"},e.publicKey&&(o.sentry_key=e.publicKey),n&&(o.sentry_client=`${n.name}/${n.version}`),new URLSearchParams(o).toString()}`}(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}}captureException(e,t,n){let r=e$();if(eP(e))return L&&V.log(tN),r;let i={event_id:r,...t};return this._process(this.eventFromException(e,i).then(e=>this._captureEvent(e,i,n))),i.event_id}captureMessage(e,t,n,r){let i={event_id:e$(),...n},o=em(e)?e:String(e),s=ey(e)?this.eventFromMessage(o,t,i):this.eventFromException(e,i);return this._process(s.then(e=>this._captureEvent(e,i,r))),i.event_id}captureEvent(e,t,n){let r=e$();if(t?.originalException&&eP(t.originalException))return L&&V.log(tN),r;let i={event_id:r,...t},o=e.sdkProcessingMetadata||{},s=o.capturedSpanScope,a=o.capturedSpanIsolationScope;return this._process(this._captureEvent(e,i,s||n,a)),i.event_id}captureSession(e){this.sendSession(e),eq(e,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){let t=this._transport;
4return t?(this.emit("flush"),this._isClientDoneProcessing(e).then(n=>t.flush(e).then(e=>n&&e))):tm(!0)}close(e){return this.flush(e).then(e=>(this.getOptions().enabled=!1,this.emit("close"),e))}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some(({name:e})=>e.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}addIntegration(e){let t=this._integrations[e.name];tT(this,e,this._integrations),t||tk(this,[e])}sendEvent(e,t={}){var n,r,i,o;let s,a,l,c;this.emit("beforeSendEvent",e,t);let u=(n=this._dsn,r=this._options._metadata,i=this._options.tunnel,s=th(r),a=e.type&&"replay_event"!==e.type?e.type:"event",(o=r?.sdk)&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||o.name,e.sdk.version=e.sdk.version||o.version,e.sdk.integrations=[...e.sdk.integrations||[],...o.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...o.packages||[]]),l=e.sdkProcessingMetadata?.dynamicSamplingContext,c={event_id:e.event_id,sent_at:new Date().toISOString(),...s&&{sdk:s},...!!i&&n&&{dsn:ta(n)},...l&&{trace:l}},delete e.sdkProcessingMetadata,tu(c,[[{type:a},e]]));for(let e of t.attachments||[])u=function(e,t){let[n,r]=e;return[n,[...r,t]]}(u,function(e){let t="string"==typeof e.data?tp(e.data):e.data;return[{type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}(e));let d=this.sendEnvelope(u);d&&d.then(t=>this.emit("afterSendEvent",e,t),null)}sendSession(e){var t,n,r;let i,{release:o,environment:s=ti}=this._options;if("aggregates"in e){let t=e.attrs||{};if(!t.release&&!o){L&&V.warn(tC);return}t.release=t.release||o,t.environment=t.environment||s,e.attrs=t}else{if(!e.release&&!o){L&&V.warn(tC);return}e.release=e.release||o,e.environment=e.environment||s}this.emit("beforeSendSession",e);let a=(t=this._dsn,n=this._options._metadata,r=this._options.tunnel,i=th(n),tu({sent_at:new Date().toISOString(),...i&&{sdk:i},...!!r&&t&&{dsn:ta(t)}},["aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()]]));this.sendEnvelope(a)}recordDroppedEvent(e,t,n=1){if(this._options.sendClientReports){let r=`${e}:${t}`;L&&V.log(`Recording outcome: "${r}"${n>1?` (${n} times)`:""}`),this._outcomes[r]=(this._outcomes[r]||0)+n}}on(e,t){let n=this._hooks[e]=this._hooks[e]||[];return n.push(t),()=>{let e=n.indexOf(t);e>-1&&n.splice(e,1)}}emit(e,...t){let n=this._hooks[e];n&&n.forEach(e=>e(...t))}sendEnvelope(e){return(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)?this._transport.send(e).then(null,e=>(L&&V.error("Error while sending envelope:",e),e)):(L&&V.error("Transport disabled"),tm({}))}_setupIntegrations(){var e;let t,{integrations:n}=this._options;this._integrations=(e=this,t={},n.forEach(n=>{n&&tT(e,n,t)}),t),tk(this,n)}_updateSessionFromEvent(e,t){let n="fatal"===t.level,r=!1,i=t.exception?.values;if(i)for(let e of(r=!0,i)){let t=e.mechanism;if(t?.handled===!1){n=!0;break}}let o="ok"===e.status;(o&&0===e.errors||o&&n)&&(eq(e,{...n&&{status:"crashed"},errors:e.errors||Number(r||n)}),this.captureSession(e))}_isClientDoneProcessing(e){return new tg(t=>{let n=0,r=setInterval(()=>{0==this._numProcessing?(clearInterval(r),t(!0)):(n+=1,e&&n>=e&&(clearInterval(r),t(!1)))},1)})}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,n,r){let a=this.getOptions(),l=Object.keys(this._integrations);return!t.integrations&&l?.length&&(t.integrations=l),this.emit("preprocessEvent",e,t),e.type||r.setLastEventId(e.event_id||t.event_id),(function(e,t,n,r,a,l){var c,u,d;let p,{normalizeDepth:f=3,normalizeMaxBreadth:h=1e3}=e,m={...t,event_id:t.event_id||n.event_id||e$(),timestamp:t.timestamp||eF()},y=n.integrations||e.integrations.map(e=>e.name);(function(e,t){let{environment:n,release:r,dist:i,maxValueLength:o=250}=t;e.environment=e.environment||n||ti,!e.release&&r&&(e.release=r),!e.dist&&i&&(e.dist=i);let s=e.request;s?.url&&(s.url=eI(s.url,o))})(m,e),c=m,(u=y).length>0&&(c.sdk=c.sdk||{},c.sdk.integrations=[...c.sdk.integrations||[],...u]),a&&a.emit("applyFrameMetadata",t),void 0===t.type&&(d=m,p=function(e){let t=U._sentryDebugIds;if(!t)return{};let n=Object.keys(t);return s&&n.length===o?s:(o=n.length,s=n.reduce((n,r)=>{i||(i={});let o=i[r];if(o)n[o[0]]=o[1];else{let o=e(r);for(let e=o.length-1;e>=0;e--){let s=o[e],a=s?.filename,l=t[r];if(a&&l){n[a]=l,i[r]=[a,l];break}}}return n},{}))}
4(e.stackParser),d.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.filename&&(e.debug_id=p[e.filename])})}));let g=function(e,t){if(!t)return e;let n=e?e.clone():new eV;return n.update(t),n}(r,n.captureContext);n.mechanism&&eU(m,n.mechanism);let _=a?a.getEventProcessors():[],v=H("globalScope",()=>new eV).getScopeData();l&&t_(v,l.getScopeData()),g&&t_(v,g.getScopeData());let E=[...n.attachments||[],...v.attachments];return E.length&&(n.attachments=E),!function(e,t){var n,r,i,o,s,a,l,c;let u,d,{fingerprint:p,span:f,breadcrumbs:h,sdkProcessingMetadata:m}=t;(function(e,t){let{extra:n,tags:r,user:i,contexts:o,level:s,transactionName:a}=t;Object.keys(n).length&&(e.extra={...n,...e.extra}),Object.keys(r).length&&(e.tags={...r,...e.tags}),Object.keys(i).length&&(e.user={...i,...e.user}),Object.keys(o).length&&(e.contexts={...o,...e.contexts}),s&&(e.level=s),a&&"transaction"!==e.type&&(e.transaction=a)})(e,t),f&&((n=e).contexts={trace:function(e){let{spanId:t,traceId:n,isRemote:r}=e.spanContext(),i=r?t:tt(e).parent_span_id,o=e5(e).scope;return{parent_span_id:i,span_id:r?o?.getPropagationContext().propagationSpanId||eH():t,trace_id:n}}(r=f),...n.contexts},n.sdkProcessingMetadata={dynamicSamplingContext:function(e){let t=e4();if(!t)return{};let n=tn(e),r=tt(n),i=r.data,o=n.spanContext().traceState,s=o?.get("sentry.sample_rate")??i["sentry.sample_rate"];function a(e){return("number"==typeof s||"string"==typeof s)&&(e.sample_rate=`${s}`),e}let l=n._frozenDsc;if(l)return a(l);let c=o?.get("sentry.dsc"),u=c&&function(e){let t=function(e){if(e&&(eh(e)||Array.isArray(e)))return Array.isArray(e)?e.reduce((e,t)=>(Object.entries(e8(t)).forEach(([t,n])=>{e[t]=n}),e),{}):e8(e)}(e);if(!t)return;let n=Object.entries(t).reduce((e,[t,n])=>(t.match(e6)&&(e[t.slice(7)]=n),e),{});return Object.keys(n).length>0?n:void 0}(c);if(u)return a(u);let d=to(e.spanContext().traceId,t),p=i["sentry.source"],f=r.description;return"url"!==p&&f&&(d.transaction=f),function(){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;let e=e4()?.getOptions();return!!e&&(null!=e.tracesSampleRate||!!e.tracesSampler)}()&&(d.sampled=String(function(e){let{traceFlags:t}=e.spanContext();return 1===t}(n)),d.sample_rand=o?.get("sentry.sample_rand")??e5(n).scope?.getPropagationContext().sampleRand.toString()),a(d),t.emit("createDsc",d,n),d}(r),...n.sdkProcessingMetadata},(u=tt(tn(r)).description)&&!n.transaction&&"transaction"===n.type&&(n.transaction=u)),i=e,o=p,i.fingerprint=i.fingerprint?Array.isArray(i.fingerprint)?i.fingerprint:[i.fingerprint]:[],o&&(i.fingerprint=i.fingerprint.concat(o)),i.fingerprint.length||delete i.fingerprint,s=e,a=h,d=[...s.breadcrumbs||[],...a],s.breadcrumbs=d.length?d:void 0,l=e,c=m,l.sdkProcessingMetadata={...l.sdkProcessingMetadata,...c}}(m,v),(function e(t,n,r,i=0){return new tg((o,s)=>{let a=t[i];if(null===n||"function"!=typeof a)o(n);else{let l=a({...n},r);L&&a.id&&null===l&&V.log(`Event processor "${a.id}" dropped event`),ev(l)?l.then(n=>e(t,n,r,i+1).then(o)).then(null,s):e(t,l,r,i+1).then(o).then(null,s)}})})([..._,...v.eventProcessors],m,n).then(e=>(e&&function(e){let t={};if(e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)})}),0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];let n=e.debug_meta.images;Object.entries(t).forEach(([e,t])=>{n.push({type:"sourcemap",code_file:e,debug_id:t})})}(e),"number"==typeof f&&f>0)?function(e,t,n){if(!e)return null;let r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:tc(e.data,t,n)}}))},...e.user&&{user:tc(e.user,t,n)},...e.contexts&&{contexts:tc(e.contexts,t,n)},...e.extra&&{extra:tc(e.extra,t,n)}};return e.contexts?.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=tc(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(e=>({...e,...e.data&&{data:tc(e.data,t,n)}}))),e.contexts?.flags&&r.contexts&&(r.contexts.flags=tc(e.contexts.flags,3,n)),r}(e,f,h):e)})(a,e,t,n,this,r).then(e=>{let r;
4return null===e?e:(this.emit("postprocessEvent",e,t),e.contexts={trace:function(e){let{traceId:t,parentSpanId:n,propagationSpanId:r}=e.getPropagationContext(),i={trace_id:t,span_id:r||eH()};return n&&(i.parent_span_id=n),i}(n),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:(r=n.getPropagationContext()).dsc||to(r.traceId,this),...e.sdkProcessingMetadata},e)})}_captureEvent(e,t={},n=e0(),r=e1()){return L&&tU(e)&&V.log(`Captured error event \`${tO(e)[0]||"<unknown>"}\``),this._processEvent(e,t,n,r).then(e=>e.event_id,e=>{L&&(tM(e)?V.log(e.message):tD(e)?V.warn(e.message):V.warn(e))})}_processEvent(e,t,n,r){let i=this.getOptions(),{sampleRate:o}=i,s=tP(e),a=tU(e),l=e.type||"error",c=`before send for type \`${l}\``,u=void 0===o?void 0:function(e){if("boolean"==typeof e)return Number(e);let t="string"==typeof e?parseFloat(e):e;if(!("number"!=typeof t||isNaN(t))&&!(t<0)&&!(t>1))return t}(o);if(a&&"number"==typeof u&&Math.random()>u)return this.recordDroppedEvent("sample_rate","error"),ty(t$(`Discarding event because it's not included in the random sample (sampling rate = ${o})`));let d="replay_event"===l?"replay":l;return this._prepareEvent(e,t,n,r).then(e=>{if(null===e)throw this.recordDroppedEvent("event_processor",d),t$("An event processor returned `null`, will not send event.");return t.data&&!0===t.data.__sentry__?e:function(e,t){let n=`${t} must return \`null\` or a valid event.`;if(ev(e))return e.then(e=>{if(!eg(e)&&null!==e)throw tj(n);return e},e=>{throw tj(`${t} rejected with ${e}`)});if(!eg(e)&&null!==e)throw tj(n);return e}(function(e,t,n){let{beforeSend:r,beforeSendTransaction:i,beforeSendSpan:o}=e,s=t;if(tU(s)&&r)return r(s,n);if(tP(s)){if(o){let e=o(function(e){let{trace_id:t,parent_span_id:n,span_id:r,status:i,origin:o,data:s,op:a}=e.contexts?.trace??{};return{data:s??{},description:e.transaction,op:a,parent_span_id:n,span_id:r??"",start_timestamp:e.start_timestamp??0,status:i,timestamp:e.timestamp,trace_id:t??"",origin:o,profile_id:s?.[e2],exclusive_time:s?.[e3],measurements:e.measurements,is_segment:!0}}(s));if(e)s=ez(t,{type:"transaction",timestamp:e.timestamp,start_timestamp:e.start_timestamp,transaction:e.description,contexts:{trace:{trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,op:e.op,status:e.status,origin:e.origin,data:{...e.data,...e.profile_id&&{[e2]:e.profile_id},...e.exclusive_time&&{[e3]:e.exclusive_time}}}},measurements:e.measurements});else tr();if(s.spans){let e=[];for(let t of s.spans){let n=o(t);n?e.push(n):(tr(),e.push(t))}s.spans=e}}if(i){if(s.spans){let e=s.spans.length;s.sdkProcessingMetadata={...t.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return i(s,n)}}return s}(i,e,t),c)}).then(i=>{if(null===i){if(this.recordDroppedEvent("before_send",d),s){let t=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",t)}throw t$(`${c} returned \`null\`, will not send event.`)}let o=n.getSession()||r.getSession();if(a&&o&&this._updateSessionFromEvent(o,i),s){let e=(i.sdkProcessingMetadata?.spanCountBeforeProcessing||0)-(i.spans?i.spans.length:0);e>0&&this.recordDroppedEvent("before_send","span",e)}let l=i.transaction_info;return s&&l&&i.transaction!==e.transaction&&(i.transaction_info={...l,source:"custom"}),this.sendEvent(i,t),i}).then(null,e=>{if(tM(e)||tD(e))throw e;throw this.captureException(e,{data:{__sentry__:!0},originalException:e}),tj(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
5Reason: ${e}`)})}_process(e){this._numProcessing++,e.then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e))}_clearOutcomes(){let e=this._outcomes;return this._outcomes={},Object.entries(e).map(([e,t])=>{let[n,r]=e.split(":");return{reason:n,category:r,quantity:t}})}_flushOutcomes(){var e;L&&V.log("Flushing outcomes...");let t=this._clearOutcomes();if(0===t.length){L&&V.log("No outcomes to send");return}if(!this._dsn){L&&V.log("No dsn provided, will not send outcomes");return}L&&V.log("Sending outcomes:",t);let n=tu((e=this._options.tunnel&&ta(this._dsn))?{dsn:e}:{},[[{type:"client_report"},{timestamp:eF(),discarded_events:t}]]);this.sendEnvelope(n)}}function tU(e){return void 0===e.type}function tP(e){return"transaction"===e.type}function tF(e){return[{type:"otel_log"},e]}let tB=new WeakMap;function tq(e,t){var n,r,i;let o,s=tB.get(e)??[];if(0===s.length)return;let a=e.getOptions(),l=(n=a._metadata,r=a.tunnel,i=e.getDsn(),o={},n?.sdk&&(o.sdk={name:n.sdk.name,version:n.sdk.version}),r&&i&&(o.dsn=ta(i)),tu(o,s.map(tF)));s.length=0,e.emit("flushLogs"),e.sendEnvelope(l)}let tH=Symbol.for("SentryBufferFullError");function tz(e){e.user?.ip_address===void 0&&(e.user={...e.user,ip_address:"{{auto}}"})}function tG(e){"aggregates"in e?e.attrs?.ip_address===void 0&&(e.attrs={...e.attrs,ip_address:"{{auto}}"}):void 0===e.ipAddress&&(e.ipAddress="{{auto}}")}function tW(e,t){let n=e4(),r=e1();if(!n)return;let{beforeBreadcrumb:i=null,maxBreadcrumbs:o=100}=n.getOptions();if(o<=0)return;let s={timestamp:eF(),...e},a=i?W(()=>i(s,t)):s;null!==a&&(n.emit&&n.emit("beforeAddBreadcrumb",a,t),r.addBreadcrumb(a,o))}let tV=new WeakMap,tJ=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,'can\'t redefine non-configurable property "solana"',"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler",/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/,/^Java exception was raised during method invocation$/];function tY(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:tJ],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function tK(e){try{let t=[...e.exception?.values??[]].reverse().find(e=>e.mechanism?.parent_id===void 0&&e.stacktrace?.frames?.length),n=t?.stacktrace?.frames;return n?function(e=[]){for(let t=e.length-1;t>=0;t--){let n=e[t];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(n):null}
5catch(t){return L&&V.error(`Cannot extract url for event ${eM(e)}`),null}}function tX(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,..."AggregateError"===e.type&&{is_exception_group:!0},exception_id:t}}function tZ(e,t,n,r){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}function tQ(){"console"in U&&z.forEach(function(e){e in U.console&&eT(U.console,e,function(t){return G[e]=t,function(...t){ei("console",{args:t,level:e});let n=G[e];n?.apply(U.console,t)}})})}function t0(e,t){let n=Q(e),r=Q(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||r.length!==n.length)return!1;for(let e=0;e<r.length;e++){let t=r[e],i=n[e];if(t.filename!==i.filename||t.lineno!==i.lineno||t.colno!==i.colno||t.function!==i.function)return!1}return!0}function t1(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return n.join("")===r.join("")}catch(e){return!1}}function t4(e){return e.exception?.values&&e.exception.values[0]}function t2(e){if(!e)return{};let t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};let n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}function t3(e){if(void 0!==e)return e>=400&&e<500?"warning":e>=500?"error":void 0}function t5(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function t6(e,t){return!!e&&"object"==typeof e&&!!e[t]}function t8(e){return"string"==typeof e?e:e?t6(e,"url")?e.url:e.toString?e.toString():"":""}let t9=0;function t7(e,t={}){if("function"!=typeof e)return e;try{let t=e.__sentry_wrapped__;if(t)if("function"==typeof t)return t;else return e;if(eC(e))return e}catch(t){return e}let n=function(...n){try{let r=n.map(e=>t7(e,t));return e.apply(this,r)}catch(e){throw t9++,setTimeout(()=>{t9--}),!function(...e){let t=eQ(B());if(2===e.length){let[n,r]=e;return n?t.withSetScope(n,r):t.withScope(r)}t.withScope(e[0])}(r=>{r.addEventProcessor(e=>(t.mechanism&&(eL(e,void 0),eU(e,t.mechanism)),e.extra={...e.extra,arguments:n},e)),e0().captureException(e,void 0)}),e}};try{for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t])}catch{}eN(n,e),eO(e,"__sentry_wrapped__",n);try{Object.getOwnPropertyDescriptor(n,"name").configurable&&Object.defineProperty(n,"name",{get:()=>e.name})}catch{}return n}function ne(e,t){var n,r;let i,o,s=nn(e,t),a={type:(n=t,!(i=n?.name)&&ni(n)?n.message&&Array.isArray(n.message)&&2==n.message.length?n.message[0]:"WebAssembly.Exception":i),value:(r=t,o=r?.message,ni(r)?Array.isArray(r.message)&&2==r.message.length?r.message[1]:"wasm exception":o?o.error&&"string"==typeof o.error.message?o.error.message:o:"No error message")};return s.length&&(a.stacktrace={frames:s}),void 0===a.type&&""===a.value&&(a.value="Unrecoverable error caught"),a}function nt(e,t){return{exception:{values:[ne(e,t)]}}}function nn(e,t){var n,r;let i=t.stacktrace||t.stack||"",o=(n=t)&&nr.test(n.message)?1:0,s="number"==typeof(r=t).framesToPop?r.framesToPop:0;try{return e(i,o,s)}catch(e){}return[]}let nr=/Minified React error #\d+;/i;function ni(e){return"u">typeof WebAssembly&&void 0!==WebAssembly.Exception&&e instanceof WebAssembly.Exception}function no(e,t,n,r,i){let o;if(ep(t)&&t.error)return nt(e,t.error);if(ef(t)||ed(t,"DOMException")){if("stack"in t)o=nt(e,t);else{let i=t.name||(ef(t)?"DOMError":"DOMException"),s=t.message?`${i}: ${t.message}`:i;eL(o=ns(e,s,n,r),s)}return"code"in t&&(o.tags={...o.tags,"DOMException.code":`${t.code}`}),o}return eu(t)?nt(e,t):(eg(t)||e_(t)?eU(o=function(e,t,n,r){let i=e4(),o=i?.getOptions().normalizeDepth,s=function(e){for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)){let n=e[t];if(n instanceof Error)return n}}(t),a={__serialized__:function e(t,n=3,r=102400){let i=tc(t,n);return~-encodeURI(JSON.stringify(i)).split(/%..|./).length>r?e(t,n-1,r):i}(t,o)};if(s)return{exception:{values:[ne(e,s)]},extra:a};let l={exception:{values:[{type:e_(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:function(e,{isUnhandledRejection:t}){let n=function(e,t=40){let n=Object.keys(eA(e));n.sort();let r=n[0];if(!r)return"[object has no keys]";if(r.length>=t)return eI(r,t);for(let e=n.length;e>0;e--){let r=n.slice(0,e).join(", ");
5if(!(r.length>t)){if(e===n.length)return r;return eI(r,t)}}return""}(e),r=t?"promise rejection":"exception";if(ep(e))return`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``;if(e_(e)){let t=function(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch(e){}}(e);return`Event \`${t}\` (type=${e.type}) captured as ${r}`}return`Object captured as ${r} with keys: ${n}`}(t,{isUnhandledRejection:r})}]},extra:a};if(n){let t=nn(e,n);t.length&&(l.exception.values[0].stacktrace={frames:t})}return l}(e,t,n,i),{synthetic:!0}):(eL(o=ns(e,t,n,r),`${t}`),eU(o,{synthetic:!0})),o)}function ns(e,t,n,r){let i={};if(r&&n){let r=nn(e,n);r.length&&(i.exception={values:[{value:t,stacktrace:{frames:r}}]}),eU(i,{synthetic:!0})}if(em(t)){let{__sentry_template_string__:e,__sentry_template_values__:n}=t;return i.logentry={message:e,params:n},i}return i.message=t,i}class na extends tL{constructor(e){const t={parentSpanIsAlwaysRootSpan:!0,...e};!function(e,t,n=[t],r="npm"){let i=e._metadata||{};i.sdk||(i.sdk={name:`sentry.javascript.${t}`,packages:n.map(e=>({name:`${r}:@sentry/${e}`,version:F})),version:F}),e._metadata=i}(t,"browser",["browser"],U.SENTRY_SDK_SOURCE||"npm"),super(t);const n=this,{sendDefaultPii:r,_experiments:i}=n._options,o=i?.enableLogs;t.sendClientReports&&U.document&&U.document.addEventListener("visibilitychange",()=>{"hidden"===U.document.visibilityState&&(this._flushOutcomes(),o&&tq(n))}),o&&(n.on("flush",()=>{tq(n)}),n.on("afterCaptureLog",()=>{n._logFlushIdleTimeout&&clearTimeout(n._logFlushIdleTimeout),n._logFlushIdleTimeout=setTimeout(()=>{tq(n)},5e3)})),r&&(n.on("postprocessEvent",tz),n.on("beforeSendSession",tG))}eventFromException(e,t){var n,r;let i;return n=this._options.stackParser,r=this._options.attachStacktrace,eU(i=no(n,e,t?.syntheticException||void 0,r)),i.level="error",t?.event_id&&(i.event_id=t.event_id),tm(i)}eventFromMessage(e,t="info",n){return function(e,t,n="info",r,i){let o=ns(e,t,r?.syntheticException||void 0,i);return o.level=n,r?.event_id&&(o.event_id=r.event_id),tm(o)}(this._options.stackParser,e,t,n,this._options.attachStacktrace)}_prepareEvent(e,t,n,r){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n,r)}}let nl="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function nc(){if(!U.document)return;let e=ei.bind(null,"dom"),t=nu(e,!0);U.document.addEventListener("click",t,!1),U.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(t=>{let n=U[t]?.prototype;n?.hasOwnProperty?.("addEventListener")&&(eT(n,"addEventListener",function(t){return function(n,r,i){if("click"===n||"keypress"==n)try{let r=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},o=r[n]=r[n]||{refCount:0};if(!o.handler){let r=nu(e);o.handler=r,t.call(this,n,r,i)}o.refCount++}catch(e){}return t.call(this,n,r,i)}}),eT(n,"removeEventListener",function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{let n=this.__sentry_instrumentation_handlers__||{},i=n[t];i&&(i.refCount--,i.refCount<=0&&(e.call(this,t,i.handler,r),i.handler=void 0,delete n[t]),0===Object.keys(n).length&&delete this.__sentry_instrumentation_handlers__)}catch(e){}return e.call(this,t,n,r)}}))})}function nu(e,t=!1){return n=>{var r;if(!n||n._sentryCaptured)return;let i=function(e){try{return e.target}catch(e){return null}}(n);if(r=n.type,"keypress"===r&&(!i?.tagName||"INPUT"!==i.tagName&&"TEXTAREA"!==i.tagName&&!i.isContentEditable&&1))return;eO(n,"_sentryCaptured",!0),i&&!i._sentryId&&eO(i,"_sentryId",e$());let o="keypress"===n.type?"input":n.type;!function(e){if(e.type!==c)return!1;try{if(!e.target||e.target._sentryId!==u)return!1}catch(e){}return!0}(n)&&(e({event:n,name:o,global:t}),c=n.type,u=i?i._sentryId:void 0),clearTimeout(l),l=U.setTimeout(()=>{u=void 0,c=void 0},1e3)}}function nd(e){let t="history";en(t,e),er(t,np)}function np(){function e(e){return function(...t){let n=t.length>2?t[2]:void 0;if(n){let r=d,i=String(n);if(d=i,r===i)return e.apply(this,t);ei("history",{from:r,to:i})}return e.apply(this,t)}}U.addEventListener("popstate",()=>{let e=U.location.href,t=d;d=e,t===e||ei("history",{from:t,to:e})}),"history"in U&&U.history&&(eT(U.history,"pushState",e),eT(U.history,"replaceState",e))}let nf={},nh="__sentry_xhr_v3__";
5function nm(){if(!U.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,n){let r=Error(),i=1e3*eB(),o=eh(n[0])?n[0].toUpperCase():void 0,s=function(e){if(eh(e))return e;try{return e.toString()}catch{}}(n[1]);if(!o||!s)return e.apply(t,n);t[nh]={method:o,url:s,request_headers:{}},"POST"===o&&s.match(/sentry_key/)&&(t.__sentry_own_request__=!0);let a=()=>{let e=t[nh];if(e&&4===t.readyState){try{e.status_code=t.status}catch(e){}ei("xhr",{endTimestamp:1e3*eB(),startTimestamp:i,xhr:t,virtualError:r})}};return"onreadystatechange"in t&&"function"==typeof t.onreadystatechange?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply:(e,t,n)=>(a(),e.apply(t,n))}):t.addEventListener("readystatechange",a),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,n){let[r,i]=n,o=t[nh];return o&&eh(r)&&eh(i)&&(o.request_headers[r.toLowerCase()]=i),e.apply(t,n)}}),e.apply(t,n)}}),e.send=new Proxy(e.send,{apply(e,t,n){let r=t[nh];return r&&(void 0!==n[0]&&(r.body=n[0]),ei("xhr",{startTimestamp:1e3*eB(),xhr:t})),e.apply(t,n)}})}function ny(e,t,n,r){let i={filename:e,function:"<anonymous>"===t?"?":t,in_app:!0};return void 0!==n&&(i.lineno=n),void 0!==r&&(i.colno=r),i}let ng=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,n_=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,nv=/\((\S*)(?::(\d+))(?::(\d+))\)/,nE=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,nb=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,nw=function(...e){let t=e.sort((e,t)=>e[0]-t[0]).map(e=>e[1]);return(e,n=0,r=0)=>{let i=[],o=e.split("\n");for(let e=n;e<o.length;e++){let n=o[e];if(n.length>1024)continue;let s=J.test(n)?n.replace(J,"$1"):n;if(!s.match(/\S*Error: /)){for(let e of t){let t=e(s);if(t){i.push(t);break}}if(i.length>=50+r)break}}var s=i.slice(r);if(!s.length)return[];let a=Array.from(s);return/sentryWrapped/.test(K(a).function||"")&&a.pop(),a.reverse(),Y.test(K(a).function||"")&&(a.pop(),Y.test(K(a).function||"")&&a.pop()),a.slice(0,50).map(e=>({...e,filename:e.filename||K(a).filename,function:e.function||"?"}))}}([30,e=>{let t=ng.exec(e);if(t){let[,e,n,r]=t;return ny(e,"?",+n,+r)}let n=n_.exec(e);if(n){if(n[2]&&0===n[2].indexOf("eval")){let e=nv.exec(n[2]);e&&(n[2]=e[1],n[3]=e[2],n[4]=e[3])}let[e,t]=nx(n[1]||"?",n[2]);return ny(t,e,n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}}],[50,e=>{let t=nE.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){let e=nb.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],n=t[1]||"?";return[n,e]=nx(n,e),ny(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}]),nx=(e,t)=>{let n=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return n||r?[-1!==e.indexOf("@")?e.split("@")[0]:"?",n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},nI="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,nS=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"];function nk(e){return function(...t){let n=t[0];return t[0]=t7(n,{mechanism:{data:{function:Z(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function nT(e){return function(t){return e.apply(this,[t7(t,{mechanism:{data:{function:"requestAnimationFrame",handler:Z(e)},handled:!1,type:"instrument"}})])}}function nO(e){return function(...t){let n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e=>{e in n&&"function"==typeof n[e]&&eT(n,e,function(t){let n={mechanism:{data:{function:e,handler:Z(t)},handled:!1,type:"instrument"}},r=eC(t);return r&&(n.mechanism.data.handler=Z(r)),t7(t,n)})}),e.apply(this,t)}}function nN(e){let t=U[e]?.prototype;t?.hasOwnProperty?.("addEventListener")&&(eT(t,"addEventListener",function(t){return function(n,r,i){try{var o;o=r,"function"==typeof o.handleEvent&&(r.handleEvent=t7(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:Z(r),target:e},handled:!1,type:"instrument"}}))}catch{}return t.apply(this,[n,t7(r,{mechanism:{data:{function:"addEventListener",handler:Z(r),target:e},handled:!1,type:"instrument"}}),i])}}),eT(t,"removeEventListener",function(e){return function(t,n,r){try{let i=n.__sentry_wrapped__;i&&e.call(this,t,i,r)}catch(e){}return e.call(this,t,n,r)}}))}function nC(e){nI&&V.log(`Global Handler attached: ${e}`)}function nA(){let e=e4();return e?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}let nR={codeless:"https://alloysdk.alloy.co/",api:"https://docv-prod-api.alloy.co/"};(g=N||(N={})).IOVATION="Iovation",g.NEURO_ID="Neuro Id",g.BIOCATCH="BioCatch",g.FRAUDNET="Experian FraudNet",g.SOCURE_DEVICE_RISK="Socure Device Risk",g.SOCURE_DIGITAL_INTELLIGENCE="Socure Digital Intelligence",g.THREATMETRIX="Threatmetrix",(_=C||(C={})).ERROR="error",_.DEBUG="debug",_.INFO="info",_.LOG="log",_.WARN="warn";let nj="intelligence_plugin_initialization";
5class n$ extends Error{constructor(e){super(e),this.name="FetchError",this.message=e||"An error occurred while fetching the data."}}let nD={"X-Alloy-Sdk-Platform":"Web","X-Alloy-Sdk-Version":"1","Content-Type":"application/json"};async function nM({url:e,method:t,headers:n,fetchOptions:r,data:i}){let o={method:t,headers:{...nD,"X-Parent-Domain":"u">typeof document?document.referrer:"",...n},...r};t&&i&&["POST","PUT"].includes(t)&&(o.body=JSON.stringify(i));let s=await fetch(`${nR.api}${e}`,o);if(!s.ok){let e=new n$;throw e.info=await s.json(),e.status=s.status,e}return s.json()}let nL=({accessToken:e,logging:t,analytics:n,plugin:r})=>nM({url:"metrics/logging-and-analytics",headers:{Authorization:`Bearer ${e}`},method:"POST",data:{logging:t,analytics:n,origin:"alloy-web-sdk",plugin:r}}).catch(()=>{});var nU=async e=>{nL({analytics:{metricName:nj},logging:{message:"Iovation initialized",type:C.INFO},plugin:N.IOVATION,accessToken:e}),window.IGLOO=window.IGLOO||{loader:{uri_hook:"/iojs/",version:"general5",subkey:"5FExse+oA1134BhiwCF2EeQ1TfisPJGha4CpVG2nd7E="}};let t=document.createElement("script");t.src="https://mpsnare.iesnare.com/snare.js",t.type="text/javascript",t.async=!0,document.head.appendChild(t);let n=await new Promise(n=>{let r=async()=>{var i,o;t.removeEventListener("load",r);try{let e="function"==typeof ioGetBlackbox&&null!=(o=null==(i=ioGetBlackbox())?void 0:i.blackbox)?o:null;n(e)}catch(t){nL({logging:{message:"Error calling iovation third party script",type:C.ERROR},plugin:N.IOVATION,accessToken:e}),n("")}};t.addEventListener("load",r),t.addEventListener("error",()=>n(null))});if(!n){let t=document.createElement("script");return t.src="https://scripts.alloy.com/iovation.js",t.type="text/javascript",t.async=!0,t.setAttribute("data-status","loading"),document.head.appendChild(t),await new Promise(n=>{let r=async()=>{var i;t.removeEventListener("load",r),await new Promise(e=>setTimeout(e,500));try{let e=null==(i=window.IGLOO.getBlackbox())?void 0:i.blackbox;n(e)}catch(t){nL({logging:{message:"Error calling iovation first party script",type:C.ERROR},plugin:N.IOVATION,accessToken:e}),n("")}};t.addEventListener("load",r)})}return n};let nP=(e,t)=>{let n;return sessionStorage.getItem(e)?n=sessionStorage.getItem(e):(n=t||M(),sessionStorage.setItem(e,n)),n},nF="neuro-id.com",nB=(e=!1)=>{"true"===sessionStorage.getItem("neuroIdOpen")&&window.nid&&(window.nid("closeSession"),sessionStorage.setItem("neuroIdOpen","false")),e&&(window.nidLoaded&&(window.nidLoaded=!1),document.querySelectorAll("script").forEach(e=>{e.src.includes(nF)&&e.remove()}))};var nq=async(e,t)=>{let n=document.createElement("script");return n.src="https://scripts.alloy.com/devicer.min.js",n.type="text/javascript",n.async=!0,n.setAttribute("data-status","loading"),document.head.appendChild(n),await new Promise(r=>{nL({analytics:{metricName:nj},logging:{message:"Socure Device Risk initialized",type:C.INFO},plugin:N.SOCURE_DEVICE_RISK,accessToken:t});let i=()=>{n.removeEventListener("load",i);try{devicer.run({publicKey:e,userConsent:!0,endpoint:"device.alloy.com",context:"homepage"},e=>{r(e.sessionId)})}catch(e){r("")}};n.addEventListener("load",i)})};let nH="sdk.dv.socure.io";var nz=async(e,t)=>{nL({analytics:{metricName:nj},logging:{message:"Socure Digital Intelligence initialized",type:C.INFO},plugin:N.SOCURE_DIGITAL_INTELLIGENCE,accessToken:t});let n=document.createElement("script");return n.src=`https://${nH}/latest/device-risk-sdk.js`,n.type="text/javascript",n.defer=!0,n.setAttribute("data-status","loading"),document.head.appendChild(n),await new Promise((r,i)=>{let o=()=>{n.removeEventListener("load",o);try{SigmaDeviceManager.initialize(e),SigmaDeviceManager.getSessionToken().then(e=>{r(e)}).catch(e=>{i(e)})}catch(e){nL({logging:{message:"Error initializing Socure Digital Intelligence",type:C.ERROR},plugin:N.SOCURE_DIGITAL_INTELLIGENCE,accessToken:t}),i(e)}};n.addEventListener("load",o),n.addEventListener("error",()=>{i(Error("Failed to load Socure Device Risk SDK"))})})};let nG="h.online-metrix.net";var nW=async(e,t)=>{nL({analytics:{metricName:nj},logging:{message:"Threatmetrix initialized",type:C.INFO},plugin:N.THREATMETRIX,accessToken:t});let n=nP("tmSessionId"),r=encodeURIComponent(e),i=encodeURIComponent(n||""),o=document.createElement("script");o.type="text/javascript",o.src=`https://${nG}/fp/tags.js?org_id=${r}&session_id=${i}&allow_reprofile=1`,o.async=!0,document.head.appendChild(o);let s={orgId:e,sessionId:n};try{await new Promise((e,t)=>
5{o.onload=async()=>{e()},o.onerror=async e=>{t(Error("string"==typeof e?e:"Unknown error loading script"))}}),nL({logging:{message:`${N.THREATMETRIX} loaded`,type:C.INFO,body:{...s}},plugin:N.THREATMETRIX,accessToken:t})}catch(n){let e="Unknown error awaiting script to load";n instanceof Error&&(e=n.message),"string"==typeof n&&(e=n),nL({logging:{message:`Error loading ${N.THREATMETRIX}`,type:C.ERROR,body:{...s,err:e}},plugin:N.THREATMETRIX,accessToken:t})}return n};let nV=(e,t=e)=>{let n=Error(t);return n.code=e,n},nJ=e=>{if(e&&"object"==typeof e){let{code:t}=e;if("string"==typeof t)return t}return"UNKNOWN_ERROR"},nY=()=>{let e;if("u"<typeof window||void 0===window.location)return{origin:"",pathname:""};try{e=Intl.DateTimeFormat().resolvedOptions().timeZone}catch(t){e=void 0}let t="object"==typeof window.navigator?window.navigator:null;return{origin:window.location.origin,pathname:window.location.pathname,userAgent:t?t.userAgent:void 0,platform:t?t.platform:void 0,language:t?t.language:void 0,timeZone:e}},nK=e=>{if("u">typeof window&&"function"==typeof window.dispatchEvent)try{window.dispatchEvent(new CustomEvent("alloy:action",{detail:e}))}catch(e){}},nX=(e,t,n)=>(t(null),e&&e.destroy().catch(n),null),nZ={sdkInitId:"",sdkVersion:"",sdkKey:"",journeyToken:""},nQ=()=>nZ.sdkInitId&&nZ.sdkVersion&&nZ.sdkKey?{...nZ}:null,n0=new WeakMap,n1=null,n4=({visibility:e,options:t})=>({visibility:e,...(null==t?void 0:t.retry)!=null?{retry:t.retry}:{},...(null==t?void 0:t.timeoutMs)!=null?{timeoutMs:t.timeoutMs}:{}}),n2=(e,t,n)=>{let r="",i=!1,o=(e,o,s,a,l)=>{let c=nQ();if(!i||!c)return;let u=Date.now();nK({...c,requestId:e,qualifiedAction:r,actionType:t,visibility:n,result:a,startedAtMs:o,endedAtMs:u,durationMs:u-o,...void 0!==l?{errorCode:nJ(l)}:{},browserContext:s})};return{wrapped:(...t)=>{let n=M(),r=Date.now(),i=nY();try{let s=e(...t);if(s&&("object"==typeof s||"function"==typeof s)&&"function"==typeof s.then)return s.then(()=>o(n,r,i,"success"),e=>o(n,r,i,"error",e)),s;return o(n,r,i,"success"),s}catch(e){throw o(n,r,i,"error",e),e}},finalize:e=>{i?console.warn(`[alloy-web-sdk] Action wrapper finalized twice (first '${r}', then '${e}'). This usually means the same handler is exposed under multiple namespace keys. Keeping the first binding.`):(r=e,i=!0)}}},n3=async({qualifiedAction:e,payload:t,callContext:n})=>{if(!n1){let t=Date.now(),r=nQ();throw r&&nK({...r,requestId:M(),qualifiedAction:e,actionType:"remote",visibility:n.visibility,result:"error",startedAtMs:t,endedAtMs:t,durationMs:0,errorCode:"ACTION_RUNTIME_NOT_READY",browserContext:nY()}),nV("ACTION_RUNTIME_NOT_READY")}return n1({qualifiedAction:e,payload:t,callContext:n})},n5=new Map,n6=new Set,n8=({namespace:e,visibility:t,onCreate:n})=>(r,i)=>{if("string"==typeof r){let o=async n=>n3({qualifiedAction:`${e}.${r}`,payload:n,callContext:n4({visibility:t,options:i})});return n&&n(o),o}let{wrapped:o,finalize:s}=n2(n=>Promise.resolve(r({emit:(({namespace:e,callContext:t})=>(n,r)=>n3({qualifiedAction:`${e}.${n}`,payload:r,callContext:t}))({namespace:e,callContext:n4({visibility:t,options:i})})},n)),"remote",t);return n0.set(o,s),n&&n(o),o},n9=({visibility:e,onCreate:t})=>n=>{let{wrapped:r,finalize:i}=n2(n,"local",e);return n0.set(r,i),t&&t(r),r},n7=e=>{n1=e?e.call:null},re="alloy-bc-sdk";(e=>{n6.add("bc");let t=new WeakSet,n=e({publicLocalAction:n9({visibility:"public",onCreate:e=>{t.add(e)}}),internalLocalAction:n9({visibility:"internal"}),publicRemoteAction:n8({namespace:"bc",visibility:"public",onCreate:e=>{t.add(e)}}),internalRemoteAction:n8({namespace:"bc",visibility:"internal"})}),r={};if(Object.keys(n).forEach(e=>{let i=n[e];if("function"!=typeof i)return;let o=n0.get(i);o&&o(`bc.${e}`),t.has(i)&&(r[e]=i)}),Object.keys(r).length>0){let e=n5.get("bc")||{};n5.set("bc",{...e,...r})}return Object.assign({...n},{namespace:"bc"})})(({publicRemoteAction:e})=>({updateScoring:e("updateScoring")}));let rt="alloy-jscollector";async function rn(e){return(nL({analytics:{metricName:nj},logging:{message:"FraudNet initialized",type:C.INFO},plugin:N.FRAUDNET,accessToken:e}),"u"<typeof window||!window.document)?{}:new Promise((t,n)=>{let r,i,o="",s="",a=()=>{null!==i&&clearTimeout(i)},l=()=>{var e;s=(null==(e=window.adx)?void 0:e.validate())||"",o&&s&&(a(),t({hdim:o,jsc:s}))},c=e=>{(o=e)&&s&&(a(),t({hdim:o,jsc:s}))};(r=document.createElement("script")).src="https://scripts.alloy.com/prefs.js",r.type="text/javascript",r.async=!0,r.id=rt,r.onload=()=>{let{adx:e}=window;if(!e){a(),n(Error("Experian FraudNet invalid JS Collector"));return}e.initiate(l,["https://globalsiteanalytics.com/resource/resource.png","https://globalsiteanalytics.com/service/hdim",null,null,null,null,c])},r.onerror=()=>{a(),nL({logging:{message:"Error loading FraudNet",type:C.ERROR},plugin:N.FRAUDNET,accessToken:e}),n(Error("Experian FraudNet failed to load"))},document.head.appendChild(r),i=setTimeout(()=>{a(),n(Error("Experian FraudNet timed out"))},1e4)})}let rr=async(e,t)=>{let n=(e=>{if(!e)return"Invalid or missing options.  Please provide an object c
5ontaining the customerSessionId, the context, and the brand.";if(!e.brand)return'"brand" is required';if(!e.context)return'"context" is required';if(!e.jsUrl)return'"jsUrl" is required';if("hybrid"===e.runtimePlatform){if(!e.cid)return'"cid" is required for hybrid mode';if(!e.wupUrl)return'"wupUrl" is required for hybrid mode'}return null})(e);if(n)throw n;let r=e.customerSessionId||((e=10,t=100)=>{let n=Math.floor(Math.random()*(t-e+1))+e;if(n<e||n>t)throw Error(`Internal Error: invalid sessionIdLength: ${n}`);let r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!@$%^&*.=+-_/~",i="";for(let e=n;e>0;e-=1)i+=r[Math.floor(Math.random()*r.length)];return i})(),i={...e,customerSessionId:r},{cdApi:o,bcClient:s}=await ((e,t)=>{nL({analytics:{metricName:nj},logging:{message:"BioCatch initialized",type:C.INFO},plugin:N.BIOCATCH,accessToken:t});if(!e)throw Error("Invalid or missing options.  Please provide an object containing the customerSessionId, the context, and the brand.");if(!e.context||"string"!=typeof e.context)throw Error("Invalid or missing context. It must be a non-empty string.");if(!e.brand||"string"!=typeof e.brand)throw Error("Invalid or missing brand. It must be a non-empty string.");if(!e.jsUrl||"string"!=typeof e.jsUrl)throw Error("Invalid or missing jsUrl. This will be the js/sdk url provided by BC.");if("hybrid"===e.runtimePlatform&&(!e.cid||"string"!=typeof e.cid||0===e.cid.length))throw Error("Invalid or missing cid. This is required when running in hybrid mode. It'll be provided by BC.");if("hybrid"===e.runtimePlatform&&(!e.wupUrl||"string"!=typeof e.wupUrl||0===e.wupUrl.length))throw Error("Invalid or missing WUP Url. This is required when running in hybrid mode. It'll be provided by BC.");let n="hybrid"===e.runtimePlatform,r=document.createElement("meta");r.name="isHybrid",r.content=n?"true":"false",document.head.appendChild(r);let i=document.createElement("script");return i.type="text/javascript",i.src=e.jsUrl,i.async=!0,i.id=re,!n&&window.cdApi&&console.warn("BC SDK already loaded."),n&&window.bcClient&&console.warn("BC Client already loaded."),document.head.appendChild(i),new Promise((t,r)=>{i.onload=()=>{var i,o,s;try{n?(null==(i=window.bcClient)||i.start(e.wupUrl,e.cid,e.customerSessionId,4),null==(o=window.bcClient)||o.changeContext(e.context),null==(s=window.bcClient)||s.setCustomerBrand(e.brand)):(window.cdApi.setCustomerSessionId(e.customerSessionId),window.cdApi.changeContext(e.context),window.cdApi.setCustomerBrand(e.brand)),t({cdApi:window.cdApi,bcClient:window.bcClient})}catch(e){r(e)}},i.onerror=e=>{r(e)}})})(i,t).catch(e=>{throw e});return{cdApi:o,bcClient:s,customerSessionId:r}},ri="alloy-action-runtime",ro=e=>nM({url:"auth/init",method:"POST",fetchOptions:{body:JSON.stringify({id:e})}}),rs=({socureDeviceId:e,socureSessionToken:t,isNeuroIdEnabled:n,neuroIdSiteId:r,iovationBlackboxId:i,threatmetrixSessionId:o,threatmetrixOrgId:s,experianCrossCoreFraudNetHdim:a,experianCrossCoreFraudNetJsc:l,bioCatchCustomerSessionId:c}={})=>{let u={};if(e&&(u.socure_session_id=e),t&&(u.socure_session_id=t),n&&r){let e=sessionStorage.getItem("identityId");e&&(u.neuro_user_id=e,u.site_id=r)}return o&&(u.threatmetrix_session_id=o,u.org_id=s),i&&(u.iovation_blackbox=i),a&&(u.experian_crosscore_fraudnet_hdim=a),l&&(u.experian_crosscore_fraudnet_jsc=l),c&&(u.customer_session_id=c),u};var ra="2.9.0";let rl="alloy",rc={key:"",npmPackageVersion:ra,services:{}},ru=!0,rd=!1,rp=null,rf=!1,rh=!1,rm=!1,ry=null,rg=new na({dsn:"https://[email protected]/4509204292894721",release:`alloy-web-sdk@${ra}`,stackParser:nw,integrations:[((e={})=>({...((e={})=>{let t;return{name:"EventFilters",setup(n){t=tY(e,n.getOptions())},processEvent:(n,r,i)=>(t||(t=tY(e,i.getOptions())),!function(e,t){if(e.type){if("transaction"===e.type&&function(e,t){if(!t?.length)return!1;let n=e.transaction;return!!n&&ek(n,t)}(e,t.ignoreTransactions))return L&&V.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
6Event: ${eM(e)}`),!0}else{var n,r,i;if(n=e,r=t.ignoreErrors,r?.length&&tO(n).some(e=>
6ek(e,r)))return L&&V.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
7Event: ${eM(e)}`),!0;if(i=e,i.exception?.values?.length&&!i.message&&!i.exception.values.some(e=>e.stacktrace||e.type&&"Error"!==e.type||e.value))return L&&V.warn(`Event dropped due to not having an error message, error type or stacktrace.
8Event: ${eM(e)}`),!0;if(function(e,t){if(!t?.length)return!1;let n=tK(e);return!!n&&ek(n,t)}(e,t.denyUrls))return L&&V.warn(`Event dropped due to being matched by \`denyUrls\` option.
9Event: ${eM(e)}.
10Url: ${tK(e)}`),!0;if(!function(e,t){if(!t?.length)return!0;let n=tK(e);return!n||ek(n,t)}(e,t.allowUrls))return L&&V.warn(`Event dropped due to not being matched by \`allowUrls\` option.
11Event: ${eM(e)}.
12Url: ${tK(e)}`),!0}return!1}(n,t)?n:null)}})(e),name:"InboundFilters"}))(),{name:"FunctionToString",setupOnce(){a=Function.prototype.toString;try{Function.prototype.toString=function(...e){let t=eC(this),n=tV.has(e4())&&void 0!==t?t:this;return a.apply(n,e)}}catch{}},setup(e){tV.set(e,!0)}},((e={})=>{let t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e};return{name:"BrowserApiErrors",setupOnce(){t.setTimeout&&eT(U,"setTimeout",nk),t.setInterval&&eT(U,"setInterval",nk),t.requestAnimationFrame&&eT(U,"requestAnimationFrame",nT),t.XMLHttpRequest&&"XMLHttpRequest"in U&&eT(XMLHttpRequest.prototype,"send",nO);let e=t.eventTarget;e&&(Array.isArray(e)?e:nS).forEach(nN)}}})(),((e={})=>{let t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:"Breadcrumbs",setup(e){var n,r,i,o,s,a,l;let c,u;t.console&&(n=e,en(c="console",function(e){var t;if(e4()!==n)return;let r={category:"console",data:{arguments:e.args,logger:"console"},level:"warn"===(t=e.level)?"warning":["fatal","error","warning","log","info","debug"].includes(t)?t:"log",message:eS(e.args," ")};if("assert"===e.level)if(!1!==e.args[0])return;else r.message=`Assertion failed: ${eS(e.args.slice(1)," ")||"console.assert"}`,r.data.arguments=e.args.slice(1);tW(r,{input:e.args,level:e.level})}),er(c,tQ)),t.dom&&(en("dom",(r=e,i=t.dom,function(e){let t,n;if(e4()!==r)return;let o="object"==typeof i?i.serializeAttribute:void 0,s="object"==typeof i&&"number"==typeof i.maxStringLength?i.maxStringLength:void 0;s&&s>1024&&(nI&&V.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${s} was configured. Sentry will use 1024 instead.`),s=1024),"string"==typeof o&&(o=[o]);try{var a;let r=e.event,i=(a=r)&&a.target?r.target:r;t=ew(i,{keyAttrs:o,maxStringLength:s}),n=function(e){if(!U.HTMLElement)return null;let t=e;for(let e=0;e<5&&t;e++){if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}(i)}catch(e){t="<unknown>"}if(0===t.length)return;let l={category:`ui.${e.name}`,message:t};n&&(l.data={"ui.component_name":n}),tW(l,{event:e.event,name:e.name,global:e.global})})),er("dom",nc)),t.xhr&&(en("xhr",(o=e,function(e){if(e4()!==o)return;let{startTimestamp:t,endTimestamp:n}=e,r=e.xhr[nh];if(!t||!n||!r)return;let{method:i,url:s,status_code:a,body:l}=r,c={xhr:e.xhr,input:l,startTimestamp:t,endTimestamp:n},u={category:"xhr",data:{method:i,url:s,status_code:a},type:"http",level:t3(a)};o.emit("beforeOutgoingRequestBreadcrumb",u,c),tW(u,c)})),er("xhr",nm)),t.fetch&&(s=e,en(u="fetch",function(e){if(e4()!==s)return;let{startTimestamp:t,endTimestamp:n}=e;if(n&&(!e.fetchData.url.match(/sentry_key/)||"POST"!==e.fetchData.method))if(e.fetchData.method,e.fetchData.url,e.error){let r=e.fetchData,i={data:e.error,input:e.args,startTimestamp:t,endTimestamp:n},o={category:"fetch",data:r,level:"error",type:"http"};s.emit("beforeOutgoingRequestBreadcrumb",o,i),tW(o,i)}else{let r=e.response,i={...e.fetchData,status_code:r?.status};e.fetchData.request_body_size,e.fetchData.response_body_size,r?.status;let o={input:e.args,response:r,startTimestamp:t,endTimestamp:n},a={category:"fetch",data:i,type:"http",level:t3(i.status_code)};s.emit("beforeOutgoingRequestBreadcrumb",a,o),tW(a,o)}}),er(u,()=>(function(e=!1){(!e||function(){if("string"==typeof EdgeRuntime)return!0;
12if(!function(){if(!("fetch"in U))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(e){return!1}}())return!1;if(t5(U.fetch))return!0;let e=!1,t=U.document;if(t&&"function"==typeof t.createElement)try{let n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow?.fetch&&(e=t5(n.contentWindow.fetch)),t.head.removeChild(n)}catch(e){P&&V.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e}())&&eT(U,"fetch",function(e){return function(...t){let n=Error(),{method:r,url:i}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){let[t,n]=e;return{url:t8(t),method:t6(n,"method")?String(n.method).toUpperCase():"GET"}}let t=e[0];return{url:t8(t),method:t6(t,"method")?String(t.method).toUpperCase():"GET"}}(t),o={args:t,fetchData:{method:r,url:i},startTimestamp:1e3*eB(),virtualError:n,headers:function(e){let[t,n]=e;try{if("object"==typeof n&&null!==n&&"headers"in n&&n.headers)return new Headers(n.headers);if("u">typeof Request&&eE(t,Request))return new Headers(t.headers)}catch{}}(t)};return ei("fetch",{...o}),e.apply(U,t).then(async e=>(ei("fetch",{...o,endTimestamp:1e3*eB(),response:e}),e),e=>{if(ei("fetch",{...o,endTimestamp:1e3*eB(),error:e}),eu(e)&&void 0===e.stack&&(e.stack=n.stack,eO(e,"framesToPop",1)),e instanceof TypeError&&("Failed to fetch"===e.message||"Load failed"===e.message||"NetworkError when attempting to fetch resource."===e.message))try{let t=new URL(o.fetchData.url);e.message=`${e.message} (${t.host})`}catch{}throw e})}})})(void 0))),t.history&&nd((a=e,function(e){if(e4()!==a)return;let t=e.from,n=e.to,r=t2(U.location.href),i=t?t2(t):void 0,o=t2(n);i?.path||(i=r),r.protocol===o.protocol&&r.host===o.host&&(n=o.relative),r.protocol===i.protocol&&r.host===i.host&&(t=i.relative),tW({category:"navigation",data:{from:t,to:n}})})),t.sentry&&e.on("beforeSendEvent",(l=e,function(e){e4()===l&&tW({category:`sentry.${"transaction"===e.type?"transaction":"event"}`,event_id:e.event_id,level:e.level,message:eM(e)},{event:e})}))}}})(),((e={})=>{let t={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){var n,r;let i,o;t.onerror&&(n=e,en(i="error",e=>{var t,r,i,o;let s,a,l,c,u,d,{stackParser:p,attachStacktrace:f}=nA();if(e4()!==n||t9>0)return;let{msg:h,url:m,line:y,column:g,error:_}=e,v=(t=no(p,_||h,void 0,f,!1),r=m,i=y,o=g,u=(c=(l=(a=(s=t.exception=t.exception||{}).values=s.values||[])[0]=a[0]||{}).stacktrace=l.stacktrace||{}).frames=c.frames||[],d=eh(r)&&r.length>0?r:ex(),0===u.length&&u.push({colno:o,filename:d,function:"?",in_app:!0,lineno:i}),t);v.level="error",tE(v,{originalException:_,mechanism:{handled:!1,type:"onerror"}})}),er(i,es),nC("onerror")),t.onunhandledrejection&&(r=e,en(o="unhandledrejection",e=>{var t;let{stackParser:n,attachStacktrace:i}=nA();if(e4()!==r||t9>0)return;let o=function(e){if(ey(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch{}return e}(e),s=ey(o)?(t=o,{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(t)}`}]}}):no(n,o,void 0,i,!0);s.level="error",tE(s,{originalException:o,mechanism:{handled:!1,type:"onunhandledrejection"}})}),er(o,el),nC("onunhandledrejection"))}}})(),((e={})=>{let t=e.limit||5,n=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,r,i){!function(e,t,n,r,i,o){if(!i.exception?.values||!o||!eE(o.originalException,Error))return;let s=i.exception.values.length>0?i.exception.values[i.exception.values.length-1]:void 0;s&&(i.exception.values=function e(t,n,r,i,o,s,a,l){if(s.length>=r+1)return s;let c=[...s];if(eE(i[o],Error)){tX(a,l);let s=t(n,i[o]),u=c.length;tZ(s,o,u,l),c=e(t,n,r,i[o],o,[s,...c],s,u)}return Array.isArray(i.errors)&&i.errors.forEach((i,s)=>{if(eE(i,Error)){tX(a,l);let u=t(n,i),d=c.length;tZ(u,`errors[${s}]`,d,l),c=e(t,n,r,i,o,[u,...c],u,d)}}),c}(e,t,r,o.originalException,n,i.exception.values,s,0))}(ne,i.getOptions().stackParser,n,t,e,r)}}})(),{name:"Dedupe",processEvent(e){if(e.type)return e;try{var t,n,r,i,o,s;let a,l,c,u;if(t=e,(n=h)&&(r=t,i=n,a=r.message,l=i.message,(a||l)&&(!a||l)&&(a||!l)&&a===l&&t1(r,i)&&t0(r,i)&&1||(o=t,s=n,c=t4(s),u=t4(o),c&&u&&c.type===u.type&&c.value===u.value&&t1(o,s)&&t0(o,s))))return L&&
12V.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(e){}return h=e}},{name:"HttpContext",preprocessEvent(e){if(!U.navigator&&!U.location&&!U.document)return;let t=e.request?.url||ex(),{referrer:n}=U.document||{},{userAgent:r}=U.navigator||{},i={...e.request?.headers,...n&&{Referer:n},...r&&{"User-Agent":r}},o={...e.request,...t&&{url:t},headers:i};e.request=o}},{name:"BrowserSession",setupOnce(){if(void 0===U.document){nI&&V.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}tb({ignoreDuration:!0}),tI(),nd(({from:e,to:t})=>{void 0!==e&&e!==t&&(tb({ignoreDuration:!0}),tI())})}}].filter(e=>!["BrowserApiErrors","Breadcrumbs","GlobalHandlers"].includes(e.name)),transport:function(e,t=function(e){let t=nf[e];if(t)return t;let n=U[e];if(t5(n))return nf[e]=n.bind(U);let r=U.document;if(r&&"function"==typeof r.createElement)try{let t=r.createElement("iframe");t.hidden=!0,r.head.appendChild(t);let i=t.contentWindow;i?.[e]&&(n=i[e]),r.head.removeChild(t)}catch(t){nl&&V.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,t)}return n?nf[e]=n.bind(U):n}("fetch")){let n=0,r=0;return function(e,t,n=function(e){let t=[];function n(e){return t.splice(t.indexOf(e),1)[0]||Promise.resolve(void 0)}return{$:t,add:function(r){if(!(void 0===e||t.length<e))return ty(tH);let i=r();return -1===t.indexOf(i)&&t.push(i),i.then(()=>n(i)).then(null,()=>n(i).then(null,()=>{})),i},drain:function(e){return new tg((n,r)=>{let i=t.length;if(!i)return n(!0);let o=setTimeout(()=>{e&&e>0&&n(!1)},e);t.forEach(e=>{tm(e).then(()=>{--i||(clearTimeout(o),n(!0))},r)})})}}}(e.bufferSize||64)){let r={};return{send:function(i){let o=[];if(td(i,(t,n)=>{let i=tf[n];!function(e,t,n=Date.now()){return(e[t]||e.all||0)>n}(r,i)?o.push(t):e.recordDroppedEvent("ratelimit_backoff",i)}),0===o.length)return tm({});let s=tu(i[0],o),a=t=>{td(s,(n,r)=>{e.recordDroppedEvent(t,tf[r])})};return n.add(()=>t({body:function(e){let[t,n]=e,r=JSON.stringify(t);function i(e){"string"==typeof r?r="string"==typeof e?r+e:[tp(r),e]:r.push("string"==typeof e?tp(e):e)}for(let e of n){let[t,n]=e;if(i(`
13${JSON.stringify(t)}
14`),"string"==typeof n||n instanceof Uint8Array)i(n);else{let e;try{e=JSON.stringify(n)}catch(t){e=JSON.stringify(tc(n))}i(e)}}return"string"==typeof r?r:function(e){let t=new Uint8Array(e.reduce((e,t)=>e+t.length,0)),n=0;for(let r of e)t.set(r,n),n+=r.length;return t}(r)}(s)}).then(e=>(void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&L&&V.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),r=function(e,{statusCode:t,headers:n},r=Date.now()){let i={...e},o=n?.["x-sentry-rate-limits"],s=n?.["retry-after"];if(o)for(let e of o.trim().split(",")){let[t,n,,,o]=e.split(":",5),s=parseInt(t,10),a=(isNaN(s)?60:s)*1e3;if(n)for(let e of n.split(";"))"metric_bucket"===e?(!o||o.split(";").includes("custom"))&&(i[e]=r+a):i[e]=r+a;else i.all=r+a}else s?i.all=r+function(e,t=Date.now()){let n=parseInt(`${e}`,10);if(!isNaN(n))return 1e3*n;let r=Date.parse(`${e}`);return isNaN(r)?6e4:r-t}(s,r):429===t&&(i.all=r+6e4);return i}(r,e),e),e=>{throw a("network_error"),L&&V.error("Encountered error running transport request:",e),e})).then(e=>e,e=>{if(e===tH)return L&&V.error("Skipped sending event because buffer is full."),a("queue_overflow"),tm({});throw e})},flush:e=>n.drain(e)}}(e,function(i){let o=i.body.length;n+=o,r++;let s={body:i.body,method:"POST",referrerPolicy:"strict-origin",headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};if(!t)return nf.fetch=void 0,ty("No fetch implementation available");try{return t(e.url,s).then(e=>(n-=o,r--,{statusCode:e.status,headers:{"x-sentry-rate-limits":e.headers.get("X-Sentry-Rate-Limits"),"retry-after":e.headers.get("Retry-After")}}))}catch(e){return nf.fetch=void 0,n-=o,r--,ty(e)}})}}),r_=new eV;r_.setClient(rg),rg.init();let rv=()=>{try{ry=nX(ry,n7,e=>{ru&&r_.captureException(e)}),nB(!0),document.querySelectorAll("script").forEach(e=>{e.src.includes("iovation")&&e.remove()}
14),document.querySelectorAll("script").forEach(e=>{e.src.includes("scripts.alloy.com/devicer")&&e.remove()}),document.querySelectorAll("script").forEach(e=>{e.src.includes(nH)&&e.remove()}),document.querySelectorAll("script").forEach(e=>{e.src.includes(nG)&&e.remove()}),(()=>{if("u"<typeof window||!window.document)return;let e=document.getElementById(rt);if(e&&e.remove(),window.adx)try{delete window.adx}catch(e){}})(),document.querySelectorAll("script").forEach(e=>{e.id===re&&e.remove()});let e=document.getElementById(rl);e&&e.parentNode&&(e.classList.remove("alloy-preloaded"),e.parentNode.removeChild(e)),rd=!1,rf=!1,rh=!1}catch(e){ru&&r_.captureException(e)}},rE=e=>!!("https://docv-iframe.alloy.co"===e||"https://alloysdk.alloy.co"===e||e.endsWith(".app.alloy.com")),rb=e=>{var t;return!!(null==(t=null==e?void 0:e.data)?void 0:t.command)},rw=e=>{let t=e.querySelector("#alloyIframe");t&&t.contentWindow&&f&&t.contentWindow.postMessage({type:"alloy:init-params",params:f},"*")},rx=()=>{rm||(window.addEventListener("message",e=>{var t;if(!rE(e.origin)||rb(e)||(null==(t=e.data)?void 0:t.type)!=="alloy:ready"||(rf=!0,!rd))return;let n=document.getElementById(rl);if(n){let e;if(!rh){rw(n),rh=!0;return}(e=n.querySelector("#alloyIframe"))&&e.contentWindow&&e.contentWindow.postMessage({type:"alloy:start-plugin"},"*"),rd=!1,rh=!1}}),rm=!0)},rI=async(e,t)=>{var n,r,i,o,s,a,l,c,u,d,p,f,h,m,y,g,_,v,E,b,w,x;let I=await nM({url:`client/public/${e}`,headers:{Authorization:`Bearer ${t}`,"alloy-journey-application-sync":"true"},method:"GET"}),S=(null==(n=null==I?void 0:I.services)?void 0:n.neuro_id)||!1,k=(null==(i=null==(r=null==I?void 0:I.services)?void 0:r.neuro_id)?void 0:i.siteId)||"",T=(null==(o=null==I?void 0:I.services)?void 0:o.threatmetrix)||!1,O=(null==(a=null==(s=null==I?void 0:I.services)?void 0:s.threatmetrix)?void 0:a.orgId)||"",N=(null==(l=null==I?void 0:I.services)?void 0:l.iovation)||!1,C=(null==(c=null==I?void 0:I.services)?void 0:c.socure_dv)||!1,A=(null==(d=null==(u=null==I?void 0:I.services)?void 0:u.socure_dv)?void 0:d.publicToken)||!1,R=(null==(p=null==I?void 0:I.services)?void 0:p.socure_digital_intel)||!1,j=(null==(h=null==(f=null==I?void 0:I.services)?void 0:f.socure_digital_intel)?void 0:h.publicToken)||"",$=(null==(y=null==(m=null==I?void 0:I.services)?void 0:m.bc)?void 0:y.jsUrl)||"",D=(null==(_=null==(g=null==I?void 0:I.services)?void 0:g.bc)?void 0:_.brand)||"",M=(null==(v=null==I?void 0:I.services)?void 0:v.experian_crosscore_fraudnet)||!1;return{bcJsUrl:$,bcBrand:D,bcWupUrl:(null==(b=null==(E=null==I?void 0:I.services)?void 0:E.bc)?void 0:b.wupUrl)||"",bcCid:(null==(x=null==(w=null==I?void 0:I.services)?void 0:w.bc)?void 0:x.cid)||"",isNeuroIdEnabled:S,neuroIdSiteId:k,isIovationEnabled:N,isSocureEnabled:C,socurePublicToken:A,isThreatmetrixEnabled:T,threatmetrixOrgId:O,isSocureDigitalIntelEnabled:R,socureDigitalIntelPublicToken:j,isExperianCrossCoreFraudNetEnabled:M}},rS=async({key:e,accessToken:t,socureCustomerSessionId:n,neuroUserId:r,production:i,neuroIdFunnel:o,bcContextFromClient:s,bcCustomerSessionIdFromClient:a,runtimePlatform:l})=>{let{isNeuroIdEnabled:c,neuroIdSiteId:u,isThreatmetrixEnabled:d,threatmetrixOrgId:p,isIovationEnabled:f,isSocureEnabled:h,socurePublicToken:m,isSocureDigitalIntelEnabled:y,socureDigitalIntelPublicToken:g,bcBrand:_,bcJsUrl:v,isExperianCrossCoreFraudNetEnabled:E,bcWupUrl:b,bcCid:w}=await rI(e,t);if(m&&h&&(rc.socurePublicToken=m,rc.socureDeviceId=await nq(m,t)),g&&y&&(rc.socureDigitalIntelPublicToken=g,rc.socureSessionToken=await nz({sdkKey:g,customerSessionId:n},t)),c&&u){let e,n,s;rc.neuroIdSiteId=u,nL({analytics:{metricName:nj},logging:{message:"NeuroID initialized",type:C.INFO},plugin:N.NEURO_ID,accessToken:t}),sessionStorage.setItem("neuroIdOpen","true"),e=nP("identityId",r),n=encodeURIComponent(i?u.slice(5):`${u}-test`.slice(5)),(s=document.createElement("script")).type="text/javascript",s.src=`//scripts.${nF}/c/nid-${n}.js`,s.async=!0,window.nid||(window.nid=function(...e){(window.nid.q=window.nid.q||[]).push(e)}),document.head.appendChild(s),window.nid("identify",e),o&&window.nid("setVariable","funnel",o),rc.neuroUserId=e||void 0,o&&(rc.neuroIdFunnel=o)}if(d&&p&&(rc.threatmetrixOrgId=p,rc.threatmetrixSessionId=await nW(p,t)||void 0),E){let e=await rn(t);rc.experianCrossCoreFraudNetHdim=e.hdim,rc.experianCrossCoreFraudNetJsc=e.jsc}if(v)if(_&&s){let e=await rr({brand:_,customerSessionId:a,context:s,jsUrl:v,cid:w,wupUrl:b,runtimePlatform:l},t);rc.bcCustomerSessionId=e.customerSessionId,rc.bcBrand=_,rc.bcContext=s,rc.bcJsUrl=v,rc.bcCdApi=e.cdApi,rc.bcClient=e.bcClient}else console.error('The Alloy framework has not been initialized.  If "jsUrl" is provided then "brand" and "context" are required');f&&(rc.iovationBlackboxId=await nU(t))},rk=(e=!1)=>
14{if(e&&!f){let e=nR.codeless.replace(/\/?$/,"/");return`${e}?preload=true`}let t=`${nR.codeless}?${f}`;e&&!t.includes("preload=true")&&(t=`${t}&preload=true`);try{rc.journeyApplicationToken&&!t.includes("journeyApplicationToken")&&(t=`${t}&journeyApplicationToken=${rc.journeyApplicationToken}`)}catch(e){ru&&r_.captureException(e)}return t},rT=(e,t=!0)=>{document.getElementById("alloy-iframe-style")||document.head.insertAdjacentHTML("beforeend",`<style id="alloy-iframe-style">
15      @keyframes fade {
16        0%, 40% { opacity: 0 }
17        80% { opacity: 1 }
18      }
19      @keyframes slideopen {
20        from {
21          margin-top: 100%;
22        }
23
24        to {
25          margin-top: 0%;
26        }
27      }
28      .alloy-container {
29        height: 100%;
30        width: 100%;
31        position: fixed;
32        top: 0;
33        transform: none;
34        left: 0;
35        z-index: 2;
36      }
37      .alloy-container.alloy-preloaded {
38        visibility: hidden;
39        opacity: 0;
40        pointer-events: none;
41      }
42      .alloy-container.alloy-fullscreen {
43        animation: none;
44        height: 100%;
45        width: 100%;
46        position: fixed;
47        top: 0;
48        left: 0;
49        transform: none;
50        z-index: 2;
51      }
52      .alloy-container.alloy-fullscreen .alloy-iframe {
53        border-radius: 0;
54        box-shadow: none;
55      }
56      @media (min-width: 768px) {
57        .alloy-container {
58          height: 720px;
59          position: absolute;
60          left: 50%;
61          top: 50%;
62          transform: translate(-50%, -50%);
63          width: 50rem;
64        }
65        .alloy-container:not(.alloy-fullscreen):not(.alloy-no-slide) {
66          animation: slideopen 1s linear;
67        }
68        .alloy-container.alloy-preloaded {
69          visibility: hidden;
70          opacity: 0;
71          pointer-events: none;
72        }
73      }
74      .alloy-iframe {
75          animation: fade 1.5s linear;
76          border: 0;
77          opacity: 1;
78          height: 100%;
79          max-height: 100%;
80          width: 100%;
81      }
82      @media (min-width: 768px) {
83          .alloy-iframe {
84            border-radius: 1rem;
85            box-shadow: 0 10px 20px 0 rgba(63,83,92,0.3);
86            overflow: scroll;
87          }
88        }</style>`);let n=document.getElementById(rl);if(!n){(n=document.createElement("div")).className="alloy-container",n.setAttribute("aria-modal","true"),n.setAttribute("role","dialog");let r=document.createElement("iframe");r.id="alloyIframe",r.src=rk(!t),r.allow="autoplay; camera; microphone; fullscreen; accelerometer; magnetometer; gyroscope; picture-in-picture; geolocation",r.className="alloy-iframe",r.setAttribute("aria-label","Alloy Iframe"),n.id=rl,t||n.classList.add("alloy-preloaded"),document.body.appendChild(n),n.appendChild(r),((e,t)=>{if(!t)return;let n=document.getElementById(t),r=document.getElementsByClassName(t),i=n||r[0];i&&i.insertAdjacentElement("afterbegin",e)})(n,e)}return n},rO=(e,t)=>{try{rx(),nB();let n=document.getElementById(rl),r=!!n&&n.classList.contains("alloy-preloaded");if(!rc.key||!f)return void(r?rp={cb:e,anchorElement:t}:console.error("The Alloy framework has not been initialized. You are missing the sdk key in your initialize parameters."));let i=e=>{var t,n;if(!(!rE(e.origin)||(null==(t=null==e?void 0:e.data)?void 0:t.type)==="alloy:ready"||rb(e))){if((null==(n=null==e?void 0:e.data)?void 0:n.type)==="alloy:window"){let t=document.getElementById(rl);t&&(!0===e.data.enableSlideAnimation?t.classList.remove("alloy-no-slide"):t.classList.add("alloy-no-slide"),"fullscreen"===e.data.size?t.classList.add("alloy-fullscreen"):"default"===e.data.size&&t.classList.remove("alloy-fullscreen"));return}p&&(window.removeEventListener("message",i),p(e.data),rv())}};window.addEventListener("message",i),p=e;let o=document.getElementById(rl);o&&o.classList.contains("alloy-preloaded")?(o.classList.remove("alloy-preloaded"),rd=!0,rh=!1,rf&&(rw(o),rh=!0)):o?rd=!1:o=rT(t)}catch(e){ru&&r_.captureException(e)}},rN={init:async({key:e,apiUrl:t,appUrl:n,entityToken:r,externalEntityId:i,evaluationData:o,production:s,maxEvaluationAttempts:a,documents:l,selfie:c,color:u,customStyle:d,customerSlug:p,forceMobile:h,validationPreChecks:m,showHeader:y,journeyApplicationToken:g,journeyToken:_,isSingleEntity:v,isReactNative:E,isAndroidDevice:b,neuroUserId:w,neuroIdFunnel:x,socureCustomerSessionId:I,bcContext:S,bcCustomerSessionId:k,telemetry:T=!0,runtimePlatform:O="web",removeClosingDelay:N,skipBehavioralPluginsFetch:A,language:j})=>{let $;ru=T;try{var D;ry=nX(ry,n7,e=>{ru&&r_.captureException(e)}
88),Object.keys(rc).forEach(e=>{delete rc[e]});let T=M();if(rc.key=e,rc.npmPackageVersion=ra,nZ={sdkInitId:T,sdkVersion:ra,sdkKey:e,journeyToken:_||"",journeyApplicationToken:g,entityToken:r},p){let e=`https://${p}-alloysdk.api.alloy.com/`;nR.codeless=`https://${p}-alloysdk.app.alloy.com/`,nR.api=e}t&&n&&(nR.codeless=n,nR.api=t);let{access_token:$}=await ro(e);if(r&&(rc.entityToken=r),i&&(rc.externalEntityId=i),s&&(rc.production=s),a&&(rc.maxEvaluationAttempts=a),l&&(rc.documents=l),c&&(rc.selfie=c),h&&(rc.forceMobile=h),!1===y&&(rc.showHeader=y),m&&(rc.validationPreChecks=m),g&&(rc.journeyApplicationToken=g),_&&(rc.journeyToken=_),v&&(rc.isSingleEntity=v),!0===A&&(rc.skipBehavioralPluginsFetch=A),j&&(rc.language=j),"u">typeof window&&"u">typeof document&&n6.size>0&&_){let t;ry=(e=>{let t;if(!e.context.journeyToken)throw nV("ACTION_RUNTIME_INIT_FAILED","journeyToken is required to create action runtime transport");try{t=new URL(e.iframeUrl)}catch(t){throw nV("ACTION_RUNTIME_INIT_FAILED",`iframeUrl is invalid: ${e.iframeUrl}`)}let n=null,r=null,i=null,o=null,s=null,a=!1,l=null,c=new Map,u=()=>{if(a)throw nV("ACTION_RUNTIME_NOT_READY")},d=e=>{let t=c.get(e);t&&(c.delete(e),window.clearTimeout(t.timeoutId))},p=()=>{if(o){o.onmessage=null;try{o.close()}catch(e){}o=null}},f=()=>{i&&(i(),i=null),n&&n.parentNode&&n.parentNode.removeChild(n),n=null,r=null,l=null},h=({requestId:e,timeoutMs:t,timeoutCode:n,timeoutMessage:r,kind:i})=>new Promise((o,s)=>{let a=Math.max(0,Math.min(t,0x80000000-1)),l=window.setTimeout(()=>{d(e),s(nV(n,r))},a);c.set(e,{kind:i,timeoutId:l,resolve:o,reject:s})}),m=(e,t)=>{try{t()}catch(t){throw d(e),t}},y=e=>{var t,n,r,i;let o=e.data;if(!o||"object"!=typeof o)return;let s=o.request_id;if(!s||"string"!=typeof s)return;let a=c.get(s);if(!a)return;if(d(s),1!==o.v)return void a.reject(nV("ACTION_RUNTIME_PROTOCOL_ERROR","Unsupported action runtime protocol version"));if("ERROR"!==o.type)return void a.resolve(o);let l="init"===a.kind?"ACTION_RUNTIME_INIT_FAILED":"ACTION_RUNTIME_PROTOCOL_ERROR";a.reject(nV(null!=(n=null==(t=o.error)?void 0:t.code)?n:l,null!=(i=null==(r=o.error)?void 0:r.message)?i:"Action runtime error"))},g=async()=>{if(r)return r;let e=document.getElementById(ri);e&&e.parentNode&&e.parentNode.removeChild(e);let o=document.createElement("iframe");return o.id=ri,o.src=t.toString(),o.style.cssText="display:none;width:0;height:0;border:0;visibility:hidden;",o.setAttribute("referrerpolicy","origin"),o.setAttribute("sandbox","allow-scripts allow-same-origin"),o.setAttribute("aria-hidden","true"),o.setAttribute("tabindex","-1"),n=o,r=new Promise((e,n)=>{let r=null,s=()=>{},a=()=>{},c=()=>{o.removeEventListener("error",s),window.removeEventListener("message",a),"number"==typeof r&&window.clearTimeout(r),i=null},u=(e,t)=>{c(),n(nV(e,t))};s=()=>{u("ACTION_RUNTIME_INIT_FAILED","Action runtime iframe failed to load")},a=n=>{let r=n.data;if(n.source===o.contentWindow&&n.origin===t.origin&&r&&"object"==typeof r&&1===r.v&&"ACTION_RUNTIME_BOOTSTRAP_READY"===r.type){if("string"!=typeof r.nonce||0===r.nonce.length)return void u("ACTION_RUNTIME_INIT_FAILED","Action runtime bootstrap nonce is missing");l=r.nonce,c(),e(o)}},i=c,o.addEventListener("error",s),window.addEventListener("message",a),r=window.setTimeout(()=>{u("ACTION_RUNTIME_INIT_TIMEOUT","Action runtime bootstrap timed out")},1e4);let d=document.body||document.documentElement;d?d.appendChild(o):u("ACTION_RUNTIME_INIT_FAILED","Action runtime iframe mount point is unavailable")}).catch(e=>{throw n===o&&f(),e})},_=async()=>{u();let n=(await g()).contentWindow;if(!n)throw nV("ACTION_RUNTIME_INIT_FAILED","Action runtime iframe window is unavailable");if(!l)throw nV("ACTION_RUNTIME_INIT_FAILED","Action runtime bootstrap nonce is missing");p();let r=new MessageChannel;(o=r.port1).onmessage=y,"function"==typeof o.start&&o.start();let i=M(),s=h({requestId:i,timeoutMs:1e4,timeoutCode:"ACTION_RUNTIME_INIT_TIMEOUT",timeoutMessage:"Action runtime initialization timed out",kind:"init"});m(i,()=>{n.postMessage({v:1,type:"ACTION_RUNTIME_INIT",request_id:i,nonce:l,payload:{sdk_key:e.context.sdkKey,journey_token:e.context.journeyToken,...e.context.journeyApplicationToken?{journey_application_token:e.context.journeyApplicationToken}:{},...e.context.entityToken?{entity_token:e.context.entityToken}:{}}},t.origin,[r.port2])});let a=await s;if("ACTION_RUNTIME_READY"!==a.type)throw nV("ACTION_RUNTIME_PROTOCOL_ERROR",`Unexpected action runtime message type: ${a.type}`)},v=async()=>
88{if(u(),o)return o;if(s){if(await s,!o)throw nV("ACTION_RUNTIME_NOT_READY");return o}if(s=_().catch(e=>{throw p(),e}).finally(()=>{s=null}),await s,!o)throw nV("ACTION_RUNTIME_NOT_READY");return o};return{prepareIframe:async()=>{u(),await g()},call:async({qualifiedAction:t,payload:n,callContext:r})=>{var i;let o=M(),s=Date.now(),a=nY(),{visibility:l}=r,c=({result:n,endedAtMs:r,errorCode:i})=>{nK({requestId:o,qualifiedAction:t,actionType:"remote",visibility:l,result:n,startedAtMs:s,endedAtMs:r,durationMs:r-s,errorCode:i,...e.context,browserContext:a})};try{let s=await v(),l={action:t,data:n,meta:(({context:e,browserContext:t,callContext:n})=>{let r,i;return{sdk_init_id:e.sdkInitId,sdk_version:e.sdkVersion,sdk_key:e.sdkKey,journey_token:e.journeyToken,browser_context:t,sent_at_ms:Date.now(),traceparent:(r=M().replace(/-/g,""),i=M().replace(/-/g,"").slice(0,16),`00-${r}-${i}-01`),...e.journeyApplicationToken?{journey_application_token:e.journeyApplicationToken}:{},...e.entityToken?{entity_token:e.entityToken}:{},...null!=n.retry?{retry:n.retry}:{},...null!=n.timeoutMs?{timeout_ms:n.timeoutMs}:{}}})({context:e.context,browserContext:a,callContext:r})},u=h({requestId:o,timeoutMs:null!=(i=r.timeoutMs)?i:1e4,timeoutCode:"ACTION_RUNTIME_CALL_TIMEOUT",timeoutMessage:"Action runtime call timed out",kind:"call"});m(o,()=>{s.postMessage({v:1,type:"CALL",request_id:o,payload:l})});let d=await u;if("RESULT"!==d.type)throw nV("ACTION_RUNTIME_PROTOCOL_ERROR",`Unexpected action runtime message type: ${d.type}`);return c({result:"success",endedAtMs:Date.now()}),d.payload}catch(e){throw c({result:"error",endedAtMs:Date.now(),errorCode:nJ(e)}),e}},destroy:async()=>{if(!a){var e;a=!0,e=nV("ACTION_RUNTIME_DESTROYED","Action runtime transport has been destroyed"),c.forEach((t,n)=>{d(n),t.reject(e)}),p(),f()}}}})({iframeUrl:(D=nR.api,(t=new URL("/actions/v1/runtime",D)).searchParams.set("sdk_key",e),t.toString()),context:{sdkInitId:T,sdkVersion:ra,sdkKey:e,journeyToken:_,journeyApplicationToken:g,entityToken:r}}),n7(ry),ry.prepareIframe().catch(e=>{ru&&r_.captureException(e)})}rc.skipBehavioralPluginsFetch||await rS({key:e,accessToken:$,socureCustomerSessionId:I,neuroUserId:w,production:s,neuroIdFunnel:x,bcContextFromClient:S,bcCustomerSessionIdFromClient:k,runtimePlatform:O}),E&&(rc.isReactNative=E),b&&(rc.isAndroidDevice=b),N&&(rc.removeClosingDelay=N);let L=JSON.stringify(null==d?void 0:d.theme),U=JSON.stringify(null==d?void 0:d.componentOverride),P={theme:L},F={componentOverride:U};f=`${R.stringify(rc)}${o?`&${R.stringify(o)}`:""}${u?`&${R.stringify(u)}`:""}${P.theme?`&${R.stringify(P)}`:""}${F.componentOverride?`&${R.stringify(F)}`:""}`,o&&(rc.evaluationData=o);let B=rs({socureDeviceId:rc.socureDeviceId,socureSessionToken:rc.socureSessionToken,isNeuroIdEnabled:!!rc.neuroIdSiteId,neuroIdSiteId:rc.neuroIdSiteId,iovationBlackboxId:rc.iovationBlackboxId,threatmetrixSessionId:rc.threatmetrixSessionId,threatmetrixOrgId:rc.threatmetrixOrgId,experianCrossCoreFraudNetHdim:rc.experianCrossCoreFraudNetHdim,experianCrossCoreFraudNetJsc:rc.experianCrossCoreFraudNetJsc,bioCatchCustomerSessionId:rc.bcCustomerSessionId});if(rc.alloyRequestFields=B,rp&&rc.key&&f){let e=rp;rp=null,rO(e.cb,e.anchorElement)}nL({logging:{message:"alloy init called",type:C.INFO,body:rc},accessToken:$})}catch(e){ru&&r_.captureException(e)}return{...rc,services:($={},n5.forEach((e,t)=>{$[t]={...e}}),$)}},preload:e=>{try{rx();let t=document.getElementById(rl);t||(t=rT(e,!1))}catch(e){ru&&r_.captureException(e)}},open:rO,close:rv,createJourneyApplication:async e=>{var t;nB();let{key:n,journeyToken:r,production:i,socureDeviceId:o,socureSessionToken:s,iovationBlackboxId:a,neuroIdSiteId:l,threatmetrixSessionId:c,threatmetrixOrgId:u}=rc;if(r){let{access_token:d}=await ro(n),p=rs({socureDeviceId:o,socureSessionToken:s,isNeuroIdEnabled:!!l,neuroIdSiteId:l,iovationBlackboxId:a,threatmetrixSessionId:c,threatmetrixOrgId:u});Object.keys(p).length>=1&&(e.entities=null==(t=e.entities)?void 0:t.map(e=>(e.data={...e.data,...p},e)));let f=await ((e,t,n,r=!1)=>nM({url:`v1/journeys/${e}/applications`,headers:{Authorization:`Bearer ${t}`,"alloy-journey-application-sync":"true","alloy-sandbox":r?"false":"true"},method:"POST",fetchOptions:{body:JSON.stringify({...n})}}))(r,d,e,i);return rc.journeyApplicationToken=f.journey_application_token,f}return null},createEvaluation:async()=>{nB();let{key:e,entityToken:t,evaluationData:n,production:r,externalEntityId:i,socureDeviceId:o,socureSessionToken:s,iovationBlackboxId:a,neuroIdSiteId:l,threatmetrixSessionId:c,threatmetrixOrgId:u}=rc,{access_token:d}=await ro(e),p=rs({socureDeviceId:o,socureSessionToken:s,isNeuroIdEnabled:!!l,neuroIdSiteId:l,iovationBlackboxId:a,threatmetrixSessionId:c,threatmetrixOrgId:u}),f={...n,...p};return await ((e,t,n,r,i=!1)=>nM({url:"evaluations",headers:{Authorization:`Bearer ${e}`,"Content-Type":"application/json",...n&&{"Alloy-Entity-Token":n},...r&&{"Alloy-External-Entity-ID":r},"alloy-sandbox":i?"false":"true"},method:"POST",fetchOptions:{body:JSON.stringify({...t})}}))(d,f,t,i,r)},getPublicUrl:rk}}}]);

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.