!function(){var e,t,r={"+6kR":function(e,t){"use strict" Object.defineProperty(t,"__esModule",{value:!0}) t.default=void 0 class r extends Error{constructor(e){super() this.name="RavenConfigError" this.message=e}}t.default=r e.exports=t.default},"16j7":function(e,t){"use strict" Object.defineProperty(t,"__esModule",{value:!0}) t.getCorrelationIdFromResponse=o t.getCorrelationIdFromServerTiming=r t.getCorrelationIdFromXHR=n function r(e){var t const r=e.split(",").find((e=>e.trim().startsWith("hcid;"))) if(!r)return null const n=r.split(";").find((e=>e.trim().startsWith("desc="))) if(!n)return null const o=null===(t=n.split("=")[1])||void 0===t?void 0:t.trim() return o?o.startsWith('"')&&o.endsWith('"')?JSON.parse(o):o:null}function n(e){const t=e.getAllResponseHeaders().split("\r\n"),n=t.find((e=>e.toLowerCase().startsWith("x-hubspot-correlation-id"))) if(n){const e=n.slice(26).trim() if(e)return e}const o=t.find((e=>e.toLowerCase().startsWith("server-timing"))) return o?r(o.slice(15)):null}function o(e){var t const n=e.headers.get("x-hubspot-correlation-id") if(n)return n const o=null===(t=[...e.headers.entries()].find((([e])=>"server-timing"===e.toLowerCase())))||void 0===t?void 0:t[1] return o?r(o):null}},"8ve+":function(e){function t(e){return e&&e.__esModule?e:{default:e}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},CKgp:function(e,t,r){"use strict" r.r(t) r.d(t,{Raven:function(){return y}}) var n=r("Zi/v"),o=r.n(n),a=r("Jv13"),i=r("+6kR"),s=r.n(i),l=r("VHYa"),c=r("GKWQ"),u=r("vtEu"),{getCorrelationIdFromResponse:p,getCorrelationIdFromXHR:d}=r("16j7"),f="source protocol user pass host port path".split(" "),h=/^(?:(\w+):)?\/\/(?:(\w+)(:\w+)?@)?([\w\.-]+)(?::(\d+))?(\/.*)/ function g(){return+new Date}var b="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},m=b.document,v=b.navigator function _(e,t){return(0,a.isFunction)(t)?function(r){return t(r,e)}:t}function y(){this._hasJSON=!("object"!=typeof JSON||!JSON.stringify) this._hasDocument=!(0,a.isUndefined)(m) this._hasNavigator=!(0,a.isUndefined)(v) this._lastCapturedException=null this._lastData=null this._lastEventId=null this._globalServer=null this._globalKey=null this._globalProject=null this._globalContext={} this._globalOptions={logger:"javascript",ignoreErrors:[],ignoreUrls:[],whitelistUrls:[],includePaths:[],collectWindowErrors:!0,maxMessageLength:0,maxUrlLength:250,stackTraceLimit:50,autoBreadcrumbs:!0,instrument:!0,sampleRate:1,chirpErrorEnhancement:{enabled:!0,extractServiceInfo:!0,enhanceErrorMessages:!0,includeCallStack:!0,maxNestingDepth:5}} this._ignoreOnError=0 this._isRavenInstalled=!1 this._originalErrorStackTraceLimit=Error.stackTraceLimit this._originalConsole=b.console||{} this._originalConsoleMethods={} this._plugins=[] this._startTime=g() this._wrappedBuiltIns=[] this._breadcrumbs=[] this._lastCapturedEvent=null this._keypressTimeout this._location=b.location this._lastHref=this._location&&this._location.href this._resetBackoff() for(var e in this._originalConsole)this._originalConsoleMethods[e]=this._originalConsole[e]}y.prototype={VERSION:"3.19.1",debug:!1,TraceKit:c,config:function(e,t){var r=this if(r._globalServer){this._logDebug("error","Error: Raven has already been configured") return r}if(!e)return r var n=r._globalOptions t&&(0,a.each)(t,(function(e,t){"tags"===e||"extra"===e||"user"===e?r._globalContext[e]=t:n[e]=t})) r.setDSN(e) n.ignoreErrors.push(/^Script error\.?$/) n.ignoreErrors.push(/^Javascript error: Script error\.? on line 0$/) n.ignoreErrors=(0,a.joinRegExp)(n.ignoreErrors) n.ignoreUrls=!!n.ignoreUrls.length&&(0,a.joinRegExp)(n.ignoreUrls) n.whitelistUrls=!!n.whitelistUrls.length&&(0,a.joinRegExp)(n.whitelistUrls) n.includePaths=(0,a.joinRegExp)(n.includePaths) n.maxBreadcrumbs=Math.max(0,Math.min(n.maxBreadcrumbs||100,100)) var o={xhr:!0,console:!0,dom:!0,location:!0},i=n.autoBreadcrumbs "[object Object]"==={}.toString.call(i)?i=(0,a.objectMerge)(o,i):!1!==i&&(i=o) n.autoBreadcrumbs=i var s={tryCatch:!0},l=n.instrument "[object Object]"==={}.toString.call(l)?l=(0,a.objectMerge)(s,l):!1!==l&&(l=s) n.instrument=l c.collectWindowErrors=!!n.collectWindowErrors return r},install:function(){var e=this if(e.isSetup()&&!e._isRavenInstalled){c.report.subscribe((function(){e._handleOnErrorStackInfo.apply(e,arguments)})) e._globalOptions.instrument&&e._globalOptions.instrument.tryCatch&&e._instrumentTryCatch() e._globalOptions.autoBreadcrumbs&&e._instrumentBreadcrumbs() e._drainPlugins() e._isRavenInstalled=!0}Error.stackTraceLimit=e._globalOptions.stackTraceLimit return this},setDSN:function(e){var t=this,r=t._parseDSN(e),n=r.path.lastIndexOf("/"),o=r.path.substr(1,n) t._dsn=e t._globalKey=r.user t._globalSecret=r.pass&&r.pass.substr(1) t._globalProject=r.path.substr(n+1) t._globalServer=t._getGlobalServer(r) t._globalEndpoint=t._globalServer+"/"+o+"api/"+t._globalProject+"/store/" t._globalPageEventEndpoint=t._globalServer+"/frontend/observability/page-tracking/store/" this._resetBackoff()},context:function(e,t,r){if((0,a.isFunction)(e)){r=t||[] t=e e=void 0}return this.wrap(e,t).apply(this,r)},wrap:function(e,t,r){var n=this if((0,a.isUndefined)(t)&&!(0,a.isFunction)(e))return e if((0,a.isFunction)(e)){t=e e=void 0}if(!(0,a.isFunction)(t))return t try{if(t.__raven__)return t if(t.__raven_wrapper__)return t.__raven_wrapper__}catch(e){return t}const{ravenWrapped:o}={ravenWrapped(){var o=[],i=arguments.length,s=!e||e&&!1!==e.deep r&&(0,a.isFunction)(r)&&r.apply(this,arguments) for(;i--;)o[i]=s?n.wrap(e,arguments[i]):arguments[i] try{return t.apply(this,o)}catch(t){n._ignoreNextOnError() n.captureException(t,e) throw t}}} for(var i in t)(0,a.hasKey)(t,i)&&(o[i]=t[i]) o.prototype=t.prototype t.__raven_wrapper__=o o.__raven__=!0 o.__inner__=t return o},uninstall:function(){c.report.uninstall() this._restoreBuiltIns() Error.stackTraceLimit=this._originalErrorStackTraceLimit this._isRavenInstalled=!1 return this},capturePageEvent:function(e,t={}){this._clearExtraAttribute("errorCauseMessage") this._clearExtraAttribute("errorCauseStackFrames") const r={message:e,...t,level:"info",isPageEvent:!0} this._send(r) return this},captureException:function(e,t){var r=this if(!r){console.error("Error: captureException was called without Raven instance. This error will not be sent.\nSee https://product.hubteam.com/docs/observability/docs/errors/raven-usage.html#context for more information.") return this}r._clearExtraAttribute("errorCauseMessage") r._clearExtraAttribute("errorCauseStackFrames") var n=!(0,a.isError)(e),o=!(0,a.isErrorEvent)(e),i=(0,a.isErrorEvent)(e)&&!e.error if(n&&o||i)return this.captureMessage(e,(0,a.objectMerge)({trimHeadFrames:1,stacktrace:!0},t));(0,a.isErrorEvent)(e)&&(e=e.error) var s=e.cause s&&r._processErrorCause(s) e.extraData&&r.setExtraContext({...e.extraData}) this._globalOptions.chirpErrorEnhancement.enabled&&this._isChirpError(e)&&this._enhanceChirpError(e) this._lastCapturedException=e try{var l=c.computeStackTrace(e) this._handleStackInfo(l,t)}catch(t){if(e!==t)throw t}return this},captureMessage:function(e,t){var r=this r._clearExtraAttribute("errorCauseMessage") r._clearExtraAttribute("errorCauseStackFrames") var n=e if((0,a.isObject)(e)&&!(0,a.isError)(e))try{var o=this._serializeObjectSafely(e),i=Object.keys(e);(t=t||{}).extra=(0,a.objectMerge)(t.extra||{},{reasonObjKeys:(0,a.truncate)(i.join(","),200),typeOfReason:"Object",rejectionReason:o}) if(e.message)n=String(e.message) else if(e.error)n=String(e.error) else try{var s=u(e) n=(0,a.truncate)(s,200)}catch(e){n="Non-serializable object rejection"}}catch(e){n="Object rejection (processing failed)"}if(this._globalOptions.ignoreErrors.test&&this._globalOptions.ignoreErrors.test(n))this._triggerEvent("captureIgnored",{level:t&&t.level||"error"}) else{t=t||{} var l,p=(0,a.objectMerge)({message:n+""},t) try{throw new Error(e)}catch(e){l=e}l.name=null var d=c.computeStackTrace(l),f=d.stack[1],h=f&&f.url||"" if((!this._globalOptions.ignoreUrls.test||!this._globalOptions.ignoreUrls.test(h))&&(!this._globalOptions.whitelistUrls.test||this._globalOptions.whitelistUrls.test(h))){if(this._globalOptions.stacktrace||t&&t.stacktrace){t={fingerprint:e,...t,trimHeadFrames:(t.trimHeadFrames||0)+1} var g=this._prepareFrames(d,t) p.stacktrace={frames:g.reverse()}}this._send(p) return this}}},captureBreadcrumb:function(e){var t=(0,a.objectMerge)({timestamp:g()/1e3},e) if((0,a.isFunction)(this._globalOptions.breadcrumbCallback)){var r=this._globalOptions.breadcrumbCallback(t) if((0,a.isObject)(r)&&!(0,a.isEmptyObject)(r))t=r else if(!1===r)return this}this._breadcrumbs.push(t) this._breadcrumbs.length>this._globalOptions.maxBreadcrumbs&&this._breadcrumbs.shift() return this},addPlugin:function(e){var t=[].slice.call(arguments,1) this._plugins.push([e,t]) this._isRavenInstalled&&this._drainPlugins() return this},setUserContext:function(e){this._globalContext.user=e return this},setExtraContext:function(e){this._mergeContext("extra",e) return this},setTagsContext:function(e){this._mergeContext("tags",e) return this},clearContext:function(){this._globalContext={} return this},getContext:function(){return JSON.parse(u(this._globalContext))},setEnvironment:function(e){this._globalOptions.environment=e return this},setRelease:function(e){this._globalOptions.release=e return this},setIgnoreErrors:function(e){this._globalOptions.ignoreErrors=!!e.length&&(0,a.joinRegExp)(e) return this},setIgnoreUrls:function(e){this._globalOptions.ignoreUrls=!!e.length&&(0,a.joinRegExp)(e) return this},setDataCallback:function(e){var t=this._globalOptions.dataCallback this._globalOptions.dataCallback=_(t,e) return this},setBreadcrumbCallback:function(e){var t=this._globalOptions.breadcrumbCallback this._globalOptions.breadcrumbCallback=_(t,e) return this},setShouldSendCallback:function(e){var t=this._globalOptions.shouldSendCallback this._globalOptions.shouldSendCallback=_(t,e) return this},setTransport:function(e){this._globalOptions.transport=e return this},lastException:function(){return this._lastCapturedException},lastEventId:function(){return this._lastEventId},isSetup:function(){if(!this._hasJSON)return!1 if(!this._globalServer){this.ravenNotConfiguredError||(this.ravenNotConfiguredError=!0) this._logDebug("error","Error: Raven has not been configured.") return!1}return!0},afterLoad:function(){var e=b.RavenConfig e&&this.config(e.dsn,e.config).install()},showReportDialog:function(e){if(m){var t=(e=e||{}).eventId||this.lastEventId() if(!t)throw new(s())("Missing eventId") var r=e.dsn||this._dsn if(!r)throw new(s())("Missing DSN") var n=encodeURIComponent,o="" o+="?eventId="+n(t) o+="&dsn="+n(r) var a=e.user||this._globalContext.user if(a){a.name&&(o+="&name="+n(a.name)) a.email&&(o+="&email="+n(a.email))}var i=this._getGlobalServer(this._parseDSN(r)),l=m.createElement("script") l.async=!0 l.src=i+"/api/embed/error-page/"+o;(m.head||m.body).appendChild(l)}},_serializeObjectSafely:function(e,t,r,n,o){t=void 0!==t?t:3 r=void 0!==r?r:20 n=void 0!==n?n:500 o=void 0!==o?o:1e4 var i=0 function s(e,o){if(o>=t)return"[max depth reached]" if(null===e)return null if(void 0===e)return"[undefined]" var l=typeof e if("string"===l)return(0,a.truncate)(e,n) if("number"===l||"boolean"===l)return e if("function"===l)return"[Function: "+(e.name||"anonymous")+"]" if((0,a.isError)(e))return"[Error: "+(0,a.truncate)(e.message||"",n)+"]" if(Array.isArray(e)){for(var c=[],u=0;u10&&c.push("[... "+(e.length-10)+" more items]") return c}if((0,a.isObject)(e)){for(var p={},d=Object.keys(e),f=0,h=0;h=r||f>=10){p["[truncated]"]=d.length-f+" more keys not shown" break}var g=d[h] try{p[g]=s(e[g],o+1) i++ f++}catch(e){p[g]="[error reading property]"}}return p}return String(e)}try{var l=s(e,0),c=u(l) if(c&&c.length>o){i=0 l=s(e,0) if((c=u(l))&&c.length>o)return{"[truncated]":"Object too large to serialize fully","[size]":c.length+" chars"}}return l}catch(e){return{"[error]":"Failed to serialize object: "+e.message}}},_processErrorCause:function(e){try{var t=this,r=c.computeStackTrace(e),n=this._prepareFrames(r,{}).map((e=>({file:e.filename,methodName:e.function||"?",lineNumber:e.lineno,column:e.colno}))) r.message&&t.setExtraContext({errorCauseMessage:r.message}) n&&n.length&&t.setExtraContext({errorCauseStackFrames:JSON.stringify(n)})}catch(t){if(e!==t)throw t}},_isChirpError:function(e){return!!e&&(e.message&&e.message.includes&&e.message.includes("CHIRP RPC failed")||this._hasChirpErrorStructure(e)||this._containsChirpErrorInstance(e))},_hasChirpErrorStructure:function(e){return!(!e.cause||!e.cause.cause)},_containsChirpErrorInstance:function(e){const t=e.cause&&e.cause.cause return!(!t||!(t.constructor&&"ChirpError"===t.constructor.name||t.constructor&&"ChirpInternalError"===t.constructor.name||t.type))},_enhanceChirpError:function(e){if(!(0,a.isError)(e))return const t=this._extractChirpContext(e) if(t){this.setExtraContext({chirpServiceName:t.serviceName,chirpMethodName:t.methodName,chirpErrorType:t.errorType,chirpUserDefinedError:t.userDefinedError,chirpInternalErrorType:t.internalErrorType,chirpOriginalMessage:t.originalMessage,chirpCallStack:t.callStack,chirpRequestInfo:t.requestInfo}) if(this._globalOptions.chirpErrorEnhancement.enhanceErrorMessages)try{e.message=this._formatEnhancedChirpMessage(e.message,t)}catch(e){this._logDebug("warn","Failed to enhance CHIRP error message:",e)}}},_extractChirpContext:function(e){const t={} try{if(e.message){const r=e.message.match(/CHIRP RPC failed for (\w+)/) r&&(t.methodName=r[1])}let r=e,n=0 const o=this._globalOptions.chirpErrorEnhancement.maxNestingDepth for(;r&&n"}t.captureBreadcrumb({category:"ui."+e,message:n})}}},_keypressEventHandler:function(){var e=this,t=1e3 return function(r){var n try{n=r.target}catch(e){return}var o=n&&n.tagName if(o&&("INPUT"===o||"TEXTAREA"===o||n.isContentEditable)){var a=e._keypressTimeout a||e._breadcrumbEventHandler("input")(r) clearTimeout(a) e._keypressTimeout=setTimeout((function(){e._keypressTimeout=null}),t)}}},_captureUrlChange:function(e,t){var r=(0,a.parseUrl)(this._location.href),n=(0,a.parseUrl)(t),o=(0,a.parseUrl)(e) this._lastHref=t r.protocol===n.protocol&&r.host===n.host&&(t=n.relative) r.protocol===o.protocol&&r.host===o.host&&(e=o.relative) this.captureBreadcrumb({category:"navigation",data:{to:(0,a.redactSensitiveUrlParams)(t),from:(0,a.redactSensitiveUrlParams)(e)}})},_instrumentTryCatch:function(){var e=this,t=e._wrappedBuiltIns function r(t){return function(r,n){for(var o=new Array(arguments.length),i=0;i2?arguments[2]:void 0 r&&e._captureUrlChange(e._lastHref,r+"") return t.apply(this,arguments)}};(0,a.fill)(history,"pushState",u,r);(0,a.fill)(history,"replaceState",u,r)}if(t.console&&"console"in b&&console.log){var f=function(t,r){e.captureBreadcrumb({message:t,level:r.level,category:"console"})};(0,a.each)(["debug","info","warn","error","log"],(function(e,t){(0,l.wrapMethod)(console,t,f)}))}},_restoreBuiltIns:function(){for(var e;this._wrappedBuiltIns.length;){var t=(e=this._wrappedBuiltIns.shift())[0],r=e[1],n=e[2] t[r]=n}},_drainPlugins:function(){var e=this;(0,a.each)(this._plugins,(function(t,r){var n=r[0],o=r[1] n.apply(e,[e].concat(o))}))},_parseDSN:function(e){var t=h.exec(e),r={},n=7 try{for(;n--;)r[f[n]]=t[n]||""}catch(t){throw new(s())("Invalid DSN: "+e)}if(r.pass&&!this._globalOptions.allowSecretKey)throw new(s())("Do not specify your secret key in the DSN. See: http://bit.ly/raven-secret-key") return r},_getGlobalServer:function(e){var t=e.host,r=this._globalContext.tags,n=r&&r.hublet||"na1",o=this._globalOptions.environment||"prod" if("exceptions.hubspot.com"===e.host){t=`exceptions${"na1"===n?"":`-${n}`}.hubspot${"prod"===o?"":`${o}`}.com`}var a="//"+t+(e.port?":"+e.port:"") e.protocol&&(a=e.protocol+":"+a) return a},_handleOnErrorStackInfo:function(){this._ignoreOnError||this._handleStackInfo.apply(this,arguments)},_handleStackInfo:function(e,t){var r=this._prepareFrames(e,t) this._triggerEvent("handle",{stackInfo:e,options:t}) this._processException(e.name,e.message,e.url,e.lineno,r,t)},_prepareFrames:function(e,t){var r=this,n=[] if(e.stack&&e.stack.length){(0,a.each)(e.stack,(function(t,o){var a=r._normalizeFrame(o,e.url) a&&n.push(a)})) if(t&&t.trimHeadFrames)for(var o=0;oe.function.includes("ravenWrapped"))))for(var i=n.length-1;i>=0;i--){if(n[i].function.includes("ravenWrapped")){n[i].in_app=!1 break}n[i].in_app=!1}for(var s=0;s0)for(var e=this._breadcrumbs.slice(-10),t=e.length-1;t>=0;t--){var r=e[t] if("http"===r.type&&("xhr"===r.category||"fetch"===r.category)&&r.data&&r.data.status_code&&r.data.correlationId&&r.data.status_code>=400)return r.data}return null},_send:function(e){var t=this._globalOptions,r={project:this._globalProject,logger:t.logger,platform:"javascript"},n=this._getHttpData() n&&(r.request=n) e.trimHeadFrames&&delete e.trimHeadFrames;(e=(0,a.objectMerge)(r,e)).tags=(0,a.objectMerge)((0,a.objectMerge)({},this._globalContext.tags||{}),e.tags||{}) e.extra=(0,a.objectMerge)((0,a.objectMerge)({},this._globalContext.extra||{}),e.extra||{}) e.extra||(e.extra={}) e.extra["session:duration"]=g()-this._startTime e.extra.sessionId=b.hubspot&&b.hubspot.sessionId try{if(b.localStorage){var o=b.localStorage.getItem("__hmpl") if(o){var i=JSON.parse(o) i&&i.session_id&&(e.extra.amplitudeSessionId=i.session_id)}}}catch(e){}if(!e.isPageEvent&&this._breadcrumbs&&this._breadcrumbs.length>0){var s=this._getRecentFailedNetworkRequest() s&&s.correlationId&&(e.extra.correlationId=s.correlationId)}!e.isPageEvent&&this._breadcrumbs&&this._breadcrumbs.length>0&&(e.breadcrumbs={values:[].slice.call(this._breadcrumbs,0)});(0,a.isEmptyObject)(e.tags)&&delete e.tags this._globalContext.user&&(e.user=this._globalContext.user) t.environment&&(e.environment=t.environment) t.release&&(e.release=t.release) t.serverName&&(e.server_name=t.serverName);(0,a.isFunction)(t.dataCallback)&&(e=t.dataCallback(e)||e) e&&!(0,a.isEmptyObject)(e)&&((0,a.isFunction)(t.shouldSendCallback)&&!t.shouldSendCallback(e)||(this._shouldBackoff()?this._logDebug("warn","Raven dropped error due to backoff: ",e):"number"==typeof t.sampleRate?Math.random()e.name===r)))||void 0===t?void 0:t.description if(!o)return const[a,i]=o.split("#") return void 0!==a&&void 0!==i?{deployable:a,deployId:i}:void 0}catch(e){return}}},GKWQ:function(e,t,r){var{isError:n}=r("Jv13"),o={collectWindowErrors:!0,debug:!1},a="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},i=[].slice,s="?",l=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/ function c(){return"undefined"==typeof document||null==document.location?"":document.location.href}o.report=function(){var e,t,r=[],u=null,p=null,d=null function f(e){v() r.push(e)}function h(e){for(var t=r.length-1;t>=0;--t)r[t]===e&&r.splice(t,1)}function g(){_() r=[]}function b(e,t){var n=null if(!t||o.collectWindowErrors){for(var a in r)if(r.hasOwnProperty(a))try{r[a].apply(null,[e].concat(i.call(arguments,2)))}catch(e){n=e}if(n)throw n}}function m(t,r,a,i,u){if(d){o.computeStackTrace.augmentStackTraceWithInitialElement(d,r,a,t) y()}else if(u&&n(u))b(o.computeStackTrace(u),!0) else{var p={url:r,line:a,column:i},f=void 0,h=t if("[object String]"==={}.toString.call(t)){var g if(g=t.match(l)){f=g[1] h=g[2]}}p.func=s b({name:f,message:h,url:c(),stack:[p]},!0)}try{if(e)return e.apply(this,arguments)}catch(e){if(!e.message||-1===e.message.indexOf(/permission denied/))throw e}return!1}function v(){if(!t){e=a.onerror a.onerror=m t=!0}}function _(){if(t){a.onerror=e t=!1 e=void 0}}function y(){var e=d,t=u u=null d=null p=null b.apply(null,[e,!1].concat(t))}function E(e,t){var r=i.call(arguments,1) if(d){if(p===e)return y()}var n=o.computeStackTrace(e) d=n p=e u=r setTimeout((function(){p===e&&y()}),n.incomplete?2e3:0) if(!1!==t)throw e}E.subscribe=f E.unsubscribe=h E.uninstall=g return E}() o.computeStackTrace=function(){function e(e){if(void 0!==e.stack&&e.stack){for(var t,r,n,o=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|bpm||[a-z]:|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,a=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|bpm|resource|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,i=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|bpm|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,l=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,u=/\((\S*)(?::(\d+))(?::(\d+))\)/,p=e.stack.split("\n"),d=[],f=(/^(.*) is undefined$/.exec(e.message),0),h=p.length;f eval")>-1&&(t=l.exec(r[3]))){r[3]=t[1] r[4]=t[2] r[5]=null}else 0!==f||r[5]||void 0===e.columnNumber||(d[0].column=e.columnNumber+1) n={url:r[3],func:r[1]||s,args:r[2]?r[2].split(","):[],line:r[4]?+r[4]:null,column:r[5]?+r[5]:null}}!n.func&&n.line&&(n.func=s) d.push(n)}return d.length?{name:e.name,message:e.message,url:c(),stack:d}:null}}function t(e,t,r,n){var o={url:t,line:r} if(o.url&&o.line){e.incomplete=!1 o.func||(o.func=s) if(e.stack.length>0&&e.stack[0].url===o.url){if(e.stack[0].line===o.line)return!1 if(!e.stack[0].line&&e.stack[0].func===o.func){e.stack[0].line=o.line return!1}}e.stack.unshift(o) e.partial=!0 return!0}e.incomplete=!0 return!1}function r(e,a){for(var i,l,u=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,p=[],d={},f=!1,h=r.caller;h&&!f;h=h.caller)if(h!==n&&h!==o.report){l={url:null,func:s,line:null,column:null} h.name?l.func=h.name:(i=u.exec(h.toString()))&&(l.func=i[1]) if(void 0===l.func)try{l.func=i.input.substring(0,i.input.indexOf("{"))}catch(e){}d[""+h]?f=!0:d[""+h]=!0 p.push(l)}a&&p.splice(0,a) var g={name:e.name,message:e.message,url:c(),stack:p} t(g,e.sourceURL||e.fileName,e.line||e.lineNumber,e.message||e.description) return g}function n(t,n){var a=null n=null==n?0:+n try{if(a=e(t))return a}catch(e){if(o.debug)throw e}try{if(a=r(t,n+1))return a}catch(e){if(o.debug)throw e}return{name:t.name,message:t.message,url:c()}}n.augmentStackTraceWithInitialElement=t n.computeStackTraceFromStackProp=e return n}() e.exports=o},Jv13:function(e,t){"use strict" Object.defineProperty(t,"__esModule",{value:!0}) t.each=d t.fill=k t.hasKey=b t.isEmptyObject=c t.isError=o t.isErrorEvent=a t.isFunction=s t.isObject=n t.isSameException=x t.isSameObject=w t.isSameStacktrace=S t.isString=l t.isUndefined=i t.joinRegExp=m t.objectFrozen=h t.objectMerge=f t.parseUrl=_ t.redactSensitiveUrlParams=C t.supportsErrorEvent=u t.truncate=g t.urlencode=v t.uuid4=y t.wrappedCallback=p const r="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:{} function n(e){return"object"==typeof e&&null!==e}function o(e){switch({}.toString.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0 default:return e instanceof Error}}function a(e){return u()&&"[object ErrorEvent]"==={}.toString.call(e)}function i(e){return void 0===e}function s(e){return"function"==typeof e}function l(e){return"[object String]"===Object.prototype.toString.call(e)}function c(e){for(const t in e)return!1 return!0}function u(){try{new ErrorEvent("") return!0}catch(e){return!1}}function p(e){return function(t,r){const n=e(t)||t return r&&r(n)||n}}function d(e,t){if(i(e.length))for(const r in e)b(e,r)&&t.call(null,r,e[r]) else{const r=e.length if(r)for(let n=0;n{e[t]=r})) return e}function h(e){return!!Object.isFrozen&&Object.isFrozen(e)}function g(e,t){return!t||e.length<=t?e:`${e.substr(0,t)}…`}function b(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function m(e){const t=[] for(let r=0;r{t.push(`${encodeURIComponent(e)}=${encodeURIComponent(r)}`)})) return t.join("&")}function _(e){const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/) if(!t)return{} const r=t[6]||"",n=t[8]||"" return{protocol:t[2],host:t[4],path:t[5],relative:`${t[5]}${r}${n}`}}function y(){const e=r.crypto||r.msCrypto if(!i(e)&&e.getRandomValues){const t=new Uint16Array(8) e.getRandomValues(t) t[3]=4095&t[3]|16384 t[4]=16383&t[4]|32768 const r=e=>{let t=e.toString(16) for(;t.length<4;)t=`0${t}` return t} return r(t[0])+r(t[1])+r(t[2])+r(t[3])+r(t[4])+r(t[5])+r(t[6])+r(t[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,(e=>{const t=16*Math.random()|0 return("x"===e?t:3&t|8).toString(16)}))}function E(e,t){return!!e!=!!t}function x(e,t){if(E(e,t))return!1 e=e.values[0] t=t.values[0] return e.type===t.type&&e.value===t.value&&S(e.stacktrace,t.stacktrace)}function w(e,t){if(e===t)return!0 if(null==e&&null==t)return!0 if(E(e,t))return!1 const r=Object.keys(e),n=Object.keys(t) if(r.length!==n.length)return!1 for(let n=0;nc){o.default.debug("sentry")&&console.error(`Excessively large message logged to Raven (${e.length} characters). The extra data is logged here but will not be sent to Sentry.`,t.extra) t.extra={message:"Error processing Sentry (extra data more than 200kb stringified). Existing extra data removed."}}}catch(e){o.default.debug("sentry")&&console.error("An unserializable object was logged to Raven as `extra` data. The extra data is logged here but will not be sent to Sentry.",t.extra) t.extra={message:"Error processing Sentry (extra data not serializable). Existing extra data removed.",originalMessage:e.message}}return t}}let d=[],f=[] function h(e,t={}){void 0===s.default.bender&&"prod"!==o.default.getShort("sentry")&&console.warn("[raven-hubspot] `project` and `release` Sentry tags will not be set. See: HubSpot/raven-hubspot/issues/40") const{bender:r}=s.default,n={sampleRate:1,stacktrace:!0,ignoreErrors:["Aborting: redirection in progress",/Aborting: notifying parents of unauthorized response/,/Cannot set property 'install' of undefined/,/ResizeObserver loop completed with undelivered notifications/,/ResizeObserver loop limit exceeded/,/'URLSearchParams' is not defined/,/Not implemented on this platform/,/Object Not Found Matching Id/i],ignoreUrls:[]},c=t.ignoreErrors||[],u=Object.assign({},n,t,{ignoreErrors:[...n.ignoreErrors,...c]}) d=u.ignoreErrors f=u.ignoreUrls const h=o.default.getShort("sentry") let g try{g=!!(document&&document.cookie&&document.cookie.includes("hs_selenium"))}catch(e){g=!1}const b=(0,l.getDeployInfo)(),m=b?b.deployable:r&&r.currentProject,v=r&&r.currentProjectVersion i.default.config(e,{release:v,ignoreErrors:u.ignoreErrors,ignoreUrls:u.ignoreUrls,sampleRate:u.sampleRate,environment:h,tags:Object.assign({env:h,project:m,portalId:a.default.get({preserveGlobalId:!0}),hublet:o.default.getHublet(),isAcceptanceTest:g},u.tags),breadcrumbCallback:u.breadcrumbCallback||(e=>e),autoBreadcrumbs:{console:!1},dataCallback:p(u.dataCallback),shouldSendCallback:u.shouldSendCallback||(()=>!0),stacktrace:u.stacktrace}).install() !o.default.debug("sentry")&&o.default.deployed("sentry")||(i.default.debug=!0) o.default.deployed("sentry")||i.default.setTransport((({onSuccess:e})=>{e()}))}function g({project:e,release:t,ignoreErrors:r,ignoreUrls:n}){e&&i.default.setTagsContext({project:e}) t&&i.default.setRelease(t) r&&i.default.setIgnoreErrors([...d,...r]) n&&i.default.setIgnoreUrls([...f,...n])}const b=window.setInterval window.setInterval=function(e,...t){"function"!=typeof e&&i.default.captureException(new Error("Implied eval. Only a function should be passed as first arg of setInterval.")) return b(e,...t)} const m=window.setTimeout window.setTimeout=function(e,...t){"function"!=typeof e&&i.default.captureException(new Error("Implied eval. Only a function should be passed as first arg of setTimeout.")) return m(e,...t)}},PF6C:function(){!function(){"undefined"!=typeof hubspot&&null!==hubspot&&hubspot.define&&console.warn("hubspot.define included more than once, you most certainly _don't_ want this") hubspot=hubspot||{} hubspot.modules=hubspot.modules||{} var e=[],t={},r={},n={},o={},a="",i=1 hubspot.modules.useGlobals=function(e){return!0} hubspot.modules.getNamespace=function(e){if(r[e])return r[e] if(!hubspot.modules.useGlobals(e))return null var t,n=e.split("."),o=n.length,a=window for(t=0;t"," "+i+++">")} hubspot.getBlockingModules=function(){for(var t,r=e,n=[],o={},a={},i=r.length;i--;){var s=r[i] if(s&&s.deps){a[s.ns]=!0 for(var l=s.deps.length;l--;)o[s.deps[l]]=!0}}for(t in o)a[t]||n.push(t) return n} function l(){var e if(void 0!==hubspot._cached_debug_define_enabled)return hubspot._cached_debug_define_enabled if(!0===window.HUBSPOT_DEBUG_DEFINE)e=!0 else{var t="test" try{localStorage.setItem(t,t) localStorage.removeItem(t) e="true"===localStorage.HUBSPOT_DEBUG_DEFINE}catch(t){e=!1}}hubspot._cached_debug_define_enabled=e return e}function c(e){var t,r,o=[],i=e.allDeps for(t=0;t0&&console.log("Error while defining hubspot module:",s) throw t}),0) return}return r}function u(e){var t t=c(e) if(e.ns){r[e.ns]=t hubspot.modules.useGlobals(e.ns)?window.hns2(e.ns,t):hubspot.updateDependencies(e.ns)}}hubspot.updateDependencies=function(t){var r,n,o,a,i=[] for(o=0;o0?e.push(n):u(n) for(l=0;l0?n:null}catch(e){return null}finally{Error.prepareStackTrace=e}}hubspot.defineHelper=function(e,n,a,i){var c,u,f,g={} l()&&(f=h()) if("string"==typeof n)throw new Error("hubspot.define/require must be provided an array of dependencies, not a string") if("boolean"!=typeof i)throw new Error("hubspot.defineHelper must be called with the isEagerDefinition flag") if(void 0!==r[e]){if("function"!=typeof a)throw new Error("You cannot redefine a module with hubspot.define, '"+e+"' has already been defined once.") console.warn("You should not redefine a module with hubspot.define, '"+e+"' has already been defined once.")}for(var b=0;b{e.persisted&&window.location.reload()}))}e.exports=t.default},VHYa:function(e,t){"use strict" Object.defineProperty(t,"__esModule",{value:!0}) t.wrapMethod=r function r(e,t,r){const n=e[t],o=e if(!(t in e))return const a="warn"===t?"warning":t e[t]=function(...e){const i=`${e.join(" ")}`,s={level:a,logger:"console",extra:{arguments:e}} if("assert"===t){if(!1===e[0]){const t=`Assertion failed: ${e.slice(1).join(" ")||"console.assert"}` s.extra.arguments=e.slice(1) r&&r(t,s)}}else r&&r(i,s) n&&Function.prototype.apply.call(n,o,e)}}},XCKn:function(e,t,r){var{Raven:n}=r("CKgp"),o="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},a=o.Raven,i=new n i.noConflict=function(){o.Raven=a return i} i.afterLoad() e.exports.config=i.config.bind(i) e.exports.install=i.install.bind(i) e.exports.setDSN=i.setDSN.bind(i) e.exports.context=i.context.bind(i) e.exports.wrap=i.wrap.bind(i) e.exports.uninstall=i.uninstall.bind(i) e.exports.capturePageEvent=i.capturePageEvent.bind(i) e.exports.captureException=i.captureException.bind(i) e.exports.captureMessage=i.captureMessage.bind(i) e.exports.captureBreadcrumb=i.captureBreadcrumb.bind(i) e.exports.addPlugin=i.addPlugin.bind(i) e.exports.setUserContext=i.setUserContext.bind(i) e.exports.setExtraContext=i.setExtraContext.bind(i) e.exports.setTagsContext=i.setTagsContext.bind(i) e.exports.clearContext=i.clearContext.bind(i) e.exports.getContext=i.getContext.bind(i) e.exports.setEnvironment=i.setEnvironment.bind(i) e.exports.setRelease=i.setRelease.bind(i) e.exports.setDataCallback=i.setDataCallback.bind(i) e.exports.setBreadcrumbCallback=i.setBreadcrumbCallback.bind(i) e.exports.setShouldSendCallback=i.setShouldSendCallback.bind(i) e.exports.setTransport=i.setTransport.bind(i) e.exports.lastException=i.lastException.bind(i) e.exports.lastEventId=i.lastEventId.bind(i) e.exports.isSetup=i.isSetup.bind(i) e.exports.afterLoad=i.afterLoad.bind(i) e.exports.showReportDialog=i.showReportDialog.bind(i) e.exports=i},"Zi/v":function(e,t){"use strict" Object.defineProperty(t,"__esModule",{value:!0}) t.default=a const r=5,n=60,o=["name","title","alt","data-test-id","data-key"] function a(e){const t=[],n=" > " let o=e,a=0 for(;o&&a"===e)return"" ""!==e&&t.push(e) a+=1 try{o=o.parentNode}catch(e){break}}return t.reverse().join(n)}function i(e){const t=[] if(!e)return"" try{if(!e.tagName)return"" t.push(e.tagName.toLowerCase())}catch(e){return""}try{e.id&&t.push(`#${e.id}`)}catch(e){}for(const r of o)try{const n=e.getAttribute(r) n&&t.push(`[${r}="${n}"]`)}catch(e){}let r=0 try{if(e.classList&&void 0!==e.classList.length)for(const o of e.classList)if(!o.startsWith("private-")){if(r+o.length>n)break r+=o.length t.push(`.${o}`)}}catch(e){}return t.join("")}e.exports=t.default},"dd+C":function(e,t,r){"use strict" Object.defineProperty(t,"__esModule",{value:!0}) t.enableRejectionTracking=t.disableRejectionTracking=void 0 var n=r("iJw7") let o=!1 const a=1e3,i=["message","status","correlationId"],s=e=>null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1),l=e=>{try{return"string"==typeof e?e:JSON.stringify(e)}catch(e){return"[Unserializable]"}},c=e=>{const t={} if(null==e)return t e instanceof Error&&e.message&&(t.reasonMessage=e.message.slice(0,a)) for(const r of i){const n=`reason${r.charAt(0).toUpperCase()}${r.slice(1)}` if(!(n in t)&&(r in e&&void 0!==e[r])){const o=l(e[r]) t[n]=o.slice(0,a)}}return t},u=e=>{const t=r("XCKn"),o=(0,n.getUniqueKey)(),a=s(e),i="object"==typeof e&&null!==e?c(e):{},l={tags:{isUnhandledPromiseRejection:!0,unhandledRejectionUuid:o,typeOfReason:a},extra:Object.assign({},"string"!=typeof e&&null!=e&&{reasonObjKeys:Object.keys(e).join()},i)} "string"==typeof e?t.captureMessage(e,l):t.captureException(e,l)},p=e=>"object"==typeof e?null!==e:"function"==typeof e,d=e=>{e.preventDefault() if(p(e.promise)){console.error("Unhandled Promise Rejection",e.reason) u(e.reason)}},f=()=>{o=!1 window.removeEventListener("unhandledrejection",d)} t.disableRejectionTracking=f const h=()=>{o&&f() o=!0 window.addEventListener("unhandledrejection",d)} t.enableRejectionTracking=h},"eG7/":function(){var e;((e="undefined"!=typeof window&&null!==window?window:"undefined"!=typeof global&&null!==global?global:this).hns=e.hns2=function(t,r){var n,o,a,i,s=t.split("."),l=e,c="",u=s.length-1 r=r||{} n=s[u] for(var p=0;p0;){i=a.shift() for(var f in i.qSource)i.qSource.hasOwnProperty(f)&&("object"!=typeof i.qSource[f]||"object"!=typeof i.qTarget[f]||i.qSource[f]&&void 0!==i.qSource[f].classList&&void 0!==i.qSource[f].nodeType?i.qTarget[f]=i.qSource[f]:i.qSource[f]!==i.qTarget[f]&&a.push({qSource:i.qSource[f],qTarget:i.qTarget[f]}))}}else o[d]=r[d]}else l[n]=r "undefined"!=typeof hubspot&&hubspot.updateDependencies&&hubspot.updateDependencies(t) return l[n]})("hubspot")},iJw7:function(e,t){"use strict" Object.defineProperty(t,"__esModule",{value:!0}) t.getUniqueKey=void 0 const r=()=>"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(e=>{const t=16*Math.random()|0 return("x"===e?t:3&t|8).toString(16)})) t.getUniqueKey=r},ig2a:function(e,t){"use strict" Object.defineProperty(t,"__esModule",{value:!0}) t.default=void 0 t.default={id:null,pathRegex:/^\/(?:[A-Za-z0-9-_]*)\/(\d+)(?:\/|$)/,queryParamRegex:/(?:\?|&)portalid=(\d+)/i,getPortalIdFromPath(e){if(document){null==e&&(e=this.pathRegex) return this.parsePortalIdFromString(document.location.pathname,e)}},getPortalIdFromQueryParam(){if(document)return this.parsePortalIdFromString(document.location.search,this.queryParamRegex)},parsePortalIdFromString(e,t){const r=t.exec(e),n=null!=r?r[1]:void 0 return n?+n:void 0},get(e){null==e&&(e={}) if(this.id&&!e.reparse)return this.id const t=this.getPortalIdFromPath(e.regex)||this.getPortalIdFromQueryParam() if(!e.preserveGlobalId){null==window.hubspot&&(window.hubspot={}) null==window.hubspot.portal&&(window.hubspot.portal={}) null==window.hubspot.portal.id&&(window.hubspot.portal.id=t) t&&(this.id=t)}return t}} e.exports=t.default},"p/lb":function(e,t){"use strict" Object.defineProperty(t,"__esModule",{value:!0}) t.default=void 0 const r=["api","local","app","private","platform","tools","meetings","payments","mcp"],n=["hubspotstarter","hubspotfree","hubspotemail"],o=["growth"],a={com:["hubspot","hubteam","grader","getsignals","getsidekick","gettally","hubspotemail","customer-hub","hubspotservicehub","hubspotquote","hubspotdocuments","hs-data-privacy"].join("|"),net:n.join("|"),org:o.join("|")},i=function e(t){const n=new RegExp(`^(?!local|test|selenium)(.*\\.)?(${Object.entries(a).map((([e,t])=>`(?:${t})(qa)?\\.${e}`)).join("|")}|(?:connect)\\.com|(?:connect)(qa)\\.co|wthubspot\\.(com|de|es|fr|jp))$`),o=new RegExp("^(?:[^.]+)\\.(?:preview).app(-[a-z]+[0-9])?\\.hubspotqa\\.com"),i=new RegExp("^(?:[^.]+)\\.(?:local)\\.(app|tools|private)(-[a-z]+[0-9])?\\.(hubspot|hubteam)(qa)?\\.com"),s=new RegExp("^(?:[^.]+)\\.local(-[a-z]+[0-9])?\\.(hubspot|hubteam)(qa)?\\.com"),l=n.test(t.hostname),c=i.test(t.hostname)||s.test(t.hostname),u=o.test(t.hostname),p=l&&!c||u,d=new RegExp(`${Object.entries(a).map((([e,t])=>`(?:${t})qa\\.${e}`)).join("|")}|(?:connect)qa\\.co|wthubspot\\.(com|de|es|fr|jp)|hsqa-sales(?:crm)?-sub\\.com|(?:hubspotstarter|hubspotfree|hubspotemail)(qa)(?:-.*)\\.net|(?:hubspotemail)(qa)(?:-.*)\\.com`),f=[new RegExp(`^(?:${r.join("|")})-(.*).(?:hubspot|hubteam)(?:qa)?.com`),new RegExp("^(.*).(?:hubspotquote)(?:qa)?.com"),new RegExp("^app-(.*).(?:hubspotdocuments)(?:qa)?.com"),new RegExp("^(?:[0-9]+).(.*).hs(?:qa)?-sales(?:crm)?-sub.com"),new RegExp("^(?:[a-zA-Z0-9-]+)\\.([a-z0-9]+)\\.hs(?:qa)?-sales(?:crm)?-sub\\.com"),new RegExp("^hs-(?:[0-9]+).s.(?:hubspotfree|hubspotstarter|hubspotemail)(?:qa)?-(.*).net"),new RegExp("^hs-(?:[0-9]+).s.(?:hubspotemail)(?:qa)?-(.*).com"),new RegExp("^t.sidekickopen(?:\\d)+-([a-z]+[0-9]).com"),new RegExp("^([a-z]+[0-9]).hs-data-privacy(?:qa)?.com"),new RegExp("^(?:[^.]+)\\.(?:preview|local)\\.app-([a-z]+[0-9])\\.hubspot(qa)?\\.com"),new RegExp("^(?:[^.]+)\\.local-([a-z]+[0-9])\\.(hubspot|hubteam)(qa)?\\.com")],h="ENV",g="Enviro error: the default argument for .get and .getShort is no longer supported",b=e=>{let t=window[e] if(null==t)try{t=window.sessionStorage.getItem(e)}catch(e){}if(null==t)try{t=window.localStorage.getItem(e)}catch(e){}return t},m=()=>{const e=b(h) return e||(d.test(t.host)?"qa":"prod")},v=(e,t)=>{window[e]=t return t},_={prod:"production",qa:"development"},y=e=>{if("string"==typeof e){const t=e.toLowerCase() return _[t]||t}return e},E=e=>{e="string"==typeof e?e.toLowerCase():void 0 return Object.keys(_).find((t=>e===_[t]))||e},x=(e,t)=>{if(null!=t)throw new Error(g) let r=null if(e){const t=e.split(".").reverse() for(let e=0;e{if(null!=t)throw new Error(g) return E(x(e))},k=S,C=e=>"prod"===k(e),O=e=>"qa"===k(e),R=()=>{const e=b("HUBLET") if(e)return e for(const e of f)if(e.test(t.hostname))return e.exec(t.hostname)[1] return"na1"} function j({isNa1:e,isNonNa1:t},r){r||(r=R()) return"na1"===r?"function"==typeof e?e(r):void 0:"function"==typeof t?t(r):void 0}return{createEnviro:e,debug:(e,t=!1)=>{let r "string"==typeof e&&(r=b(`${e.toUpperCase()}_DEBUG`)) null==r&&(r=b("DEBUG")) return null==r?t:r},denormalize:E,deployed:e=>{let t "string"==typeof e&&(t=b(`${e.toUpperCase()}_DEPLOYED`)) null==t&&(t=b("DEPLOYED")) return null==t?p:!!t},enabled:(e,t=!1)=>{let r=b(`${e.toUpperCase()}_ENABLED`) null==r&&(r=JSON.stringify(t)) return"true"===`${r}`.toLowerCase()},get:x,getHublet:R,getInternal:S,getShort:k,isProd:C,isQa:O,ifHublet:j,normalize:y,set:w,setDebug:(e,t=!0)=>{if("string"==typeof e)try{t?localStorage.setItem(`${e.toUpperCase()}_DEBUG`,JSON.stringify(!0)):localStorage.removeItem(`${e.toUpperCase()}_DEBUG`)}catch(r){v(`${e.toUpperCase()}_DEBUG`,t||void 0)}else{t=null==e||e try{t?localStorage.setItem("DEBUG",JSON.stringify(t)):localStorage.removeItem("DEBUG")}catch(e){v("DEBUG",t||void 0)}}}}} t.default=i(document.location) e.exports=t.default},sbcl:function(e){"use strict" e.exports=function(){if(void 0===window.hubspot)throw new Error("Could not find hubspot global variable.") return window.hubspot}()},vtEu:function(e,t){(e.exports=n).getSerialize=a function r(e,t){for(var r=0;r0){var l=r(n,this) ~l?n.splice(l+1):n.push(this) ~l?a.splice(l,1/0,i):a.push(i) ~r(n,s)&&(s=t.call(this,i,s))}else n.push(s) return null==e?s instanceof Error?o(s):s:e.call(this,i,s)}}},wOMr:function(){hubspot.define=hubspot.defineLazy}},n={} function o(e){var t=n[e] if(void 0!==t)return t.exports var a=n[e]={exports:{}} r[e].call(a.exports,a,a.exports,o) return a.exports}o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e} o.d(t,{a:t}) return t} o.d=function(e,t){for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})} o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)} o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}) Object.defineProperty(e,"__esModule",{value:!0})} o.linkDlb=function(r,n){e=r t=n} window["__webpack_require_head-dlb/bundle.production.js__"]=o o.dlbcr=function(r){if(!e)throw new Error("dlb consumer not properly linked") var n=t[r] if(void 0===n)throw new Error("dlb consumer does not provide module "+r) return e(n)} !function(){"use strict" var e=o("8ve+") o("eG7/") o("PF6C") o("wOMr") var t=o("dd+C"),r=e(o("sbcl")),n=e(o("R7ff"));(0,t.enableRejectionTracking)();(0,n.default)() r.default.modules.useGlobals=e=>"raven-hubspot/configure"!==e&&"PortalIdParser"!==e&&"enviro"!==e r.default.define("raven-hubspot/configure",[],(()=>{const e=o("NI/T") return e.default||e})) r.default.define("PortalIdParser",[],(()=>{const e=o("ig2a") return e.default||e})) r.default.define("enviro",[],(()=>{const e=o("p/lb") return e.default||e})) Object.defineProperty(window,"Raven",{get(){return o("XCKn")}}) Object.defineProperty(window,"enviro",{get(){const e=o("p/lb") return e.default||e}})}()}() //# sourceMappingURL=//static.hsappstatic.net/head-dlb/static-1.4884/bundle.production.js.map