!function(e){var t,r,n={} function o(t){if(n[t])return n[t].exports var r=n[t]={i:t,l:!1,exports:{}} e[t].call(r.exports,r,r.exports,o) r.l=!0 return r.exports}o.linkDlb=function(e,n){t=e r=n} window["__webpack_require_head-dlb/bundle.production.js__"]=o o.dlbcr=function(e){if(!t)throw new Error("dlb consumer not properly linked") var n=r[e] if(void 0===n)throw new Error("dlb consumer does not provide module "+e) return t(n)} o.m=e o.c=n o.d=function(e,t,r){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})} o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}) Object.defineProperty(e,"__esModule",{value:!0})} o.t=function(e,t){1&t&&(e=o(e)) if(8&t)return e if(4&t&&"object"==typeof e&&e&&e.__esModule)return e var r=Object.create(null) o.r(r) Object.defineProperty(r,"default",{enumerable:!0,value:e}) if(2&t&&"string"!=typeof e)for(var n in e)o.d(r,n,function(t){return e[t]}.bind(null,n)) return r} o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e} o.d(t,"a",t) return t} o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)} o.p="//static.hsappstatic.net/head-dlb/static-1.1528/" o(o.s=0)}([function(e,t,r){"use strict" var n=r(1) r(2) r(3) r(4) var o=r(5),a=n(r(16)),i=n(r(17));(0,o.enableRejectionTracking)();(0,i.default)() a.default.modules.useGlobals=e=>"raven-hubspot/configure"!==e&&"PortalIdParser"!==e&&"enviro"!==e a.default.define("raven-hubspot/configure",[],()=>{const e=r(18) return e.default||e}) a.default.define("PortalIdParser",[],()=>{const e=r(20) return e.default||e}) a.default.define("enviro",[],()=>{const e=r(19) return e.default||e}) Object.defineProperty(window,"Raven",{get:()=>r(7)}) Object.defineProperty(window,"enviro",{get(){const e=r(19) return e.default||e}})},function(e,t){function r(e){return e&&e.__esModule?e:{default:e}}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){var r;((r="undefined"!=typeof window&&null!==window?window:"undefined"!=typeof global&&null!==global?global:this).hns=r.hns2=function(e,t){var n,o,a,i,s=e.split("."),l=r,u="",c=s.length-1 t=t||{} n=s[c] for(var f=0;f0;){i=a.shift() for(var p in i.qSource)i.qSource.hasOwnProperty(p)&&("object"!=typeof i.qSource[p]||"object"!=typeof i.qTarget[p]||i.qSource[p]&&void 0!==i.qSource[p].classList&&void 0!==i.qSource[p].nodeType?i.qTarget[p]=i.qSource[p]:i.qSource[p]!==i.qTarget[p]&&a.push({qSource:i.qSource[p],qTarget:i.qTarget[p]}))}}else o[d]=t[d]}else l[n]=t "undefined"!=typeof hubspot&&hubspot.updateDependencies&&hubspot.updateDependencies(e) return l[n]})("hubspot")},function(e,t){!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 u(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 c(e){var t t=u(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):c(n) for(l=0;l0?n:null}catch(e){return null}finally{Error.prepareStackTrace=e}}hubspot.defineHelper=function(e,n,a,i){var u,c,p,g={} l()&&(p=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;bnull===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1),i=e=>{const t=r(7),o={tags:{isUnhandledPromiseRejection:!0,unhandledRejectionUuid:(0,n.getUniqueKey)(),typeOfReason:a(e)}} "string"==typeof e?t.captureMessage(e,o):t.captureException(e,o)},s=e=>"object"==typeof e?null!==e:"function"==typeof e,l=e=>{e.preventDefault() if(s(e.promise)){console.error("Unhandled Promise Rejection",e.reason) i(e.reason)}},u=()=>{o=!1 window.removeEventListener("unhandledrejection",l)} t.disableRejectionTracking=u const c=()=>{o&&u() o=!0 window.addEventListener("unhandledrejection",l)} t.enableRejectionTracking=c},function(e,t,r){"use strict" Object.defineProperty(t,"__esModule",{value:!0}) t.getUniqueKey=void 0 const n=()=>"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=n},function(e,t,r){var{Raven:n}=r(8),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=i},function(e,t,r){"use strict" r.r(t) r.d(t,"Raven",(function(){return M})) var n=r(9),o=r.n(n),a=r(10),i=r(12),s=r(13),{getCorrelationIdFromResponse:l,getCorrelationIdFromXHR:u}=r(14),c=r(11),f=c.isError,d=c.isObject,p=(d=c.isObject,c.isErrorEvent),h=c.isUndefined,g=c.isFunction,b=c.isString,v=c.isEmptyObject,m=c.each,_=c.objectMerge,y=c.truncate,w=(c.objectFrozen,c.hasKey),x=c.joinRegExp,E=c.urlencode,k=c.uuid4,S=c.isSameException,O=c.isSameStacktrace,C=c.parseUrl,R=c.fill,j=r(15).wrapMethod,T="source protocol user pass host port path".split(" "),I=/^(?:(\w+):)?\/\/(?:(\w+)(:\w+)?@)?([\w\.-]+)(?::(\d+))?(\/.*)/ function P(){return+new Date}var D="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},q=D.document,U=D.navigator function N(e,t){return g(t)?function(r){return t(r,e)}:t}function M(){this._hasJSON=!("object"!=typeof JSON||!JSON.stringify) this._hasDocument=!h(q) this._hasNavigator=!h(U) 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} this._ignoreOnError=0 this._isRavenInstalled=!1 this._originalErrorStackTraceLimit=Error.stackTraceLimit this._originalConsole=D.console||{} this._originalConsoleMethods={} this._plugins=[] this._startTime=P() this._wrappedBuiltIns=[] this._breadcrumbs=[] this._lastCapturedEvent=null this._keypressTimeout this._location=D.location this._lastHref=this._location&&this._location.href this._resetBackoff() for(var e in this._originalConsole)this._originalConsoleMethods[e]=this._originalConsole[e]}M.prototype={VERSION:"3.19.1",debug:!1,TraceKit:a,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&&m(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=x(n.ignoreErrors) n.ignoreUrls=!!n.ignoreUrls.length&&x(n.ignoreUrls) n.whitelistUrls=!!n.whitelistUrls.length&&x(n.whitelistUrls) n.includePaths=x(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=_(o,i):!1!==i&&(i=o) n.autoBreadcrumbs=i var s={tryCatch:!0},l=n.instrument "[object Object]"==={}.toString.call(l)?l=_(s,l):!1!==l&&(l=s) n.instrument=l a.collectWindowErrors=!!n.collectWindowErrors return r},install:function(){var e=this if(e.isSetup()&&!e._isRavenInstalled){a.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/" this._resetBackoff()},context:function(e,t,r){if(g(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(h(t)&&!g(e))return e if(g(e)){t=e e=void 0}if(!g(t))return t try{if(t.__raven__)return t if(t.__raven_wrapper__)return t.__raven_wrapper__}catch(e){return t}function o(){var o=[],a=arguments.length,i=!e||e&&!1!==e.deep r&&g(r)&&r.apply(this,arguments) for(;a--;)o[a]=i?n.wrap(e,arguments[a]):arguments[a] try{return t.apply(this,o)}catch(t){n._ignoreNextOnError() n.captureException(t,e) throw t}}for(var a in t)w(t,a)&&(o[a]=t[a]) o.prototype=t.prototype t.__raven_wrapper__=o o.__raven__=!0 o.__inner__=t return o},uninstall:function(){a.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 r._clearExtraAttribute("errorCauseMessage") r._clearExtraAttribute("errorCauseStackFrames") var n=!f(e),o=!p(e),i=p(e)&&!e.error if(n&&o||i)return this.captureMessage(e,_({trimHeadFrames:1,stacktrace:!0},t)) p(e)&&(e=e.error) var s=e.cause s&&r._processErrorCause(s) this._lastCapturedException=e try{var l=a.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") if(this._globalOptions.ignoreErrors.test&&this._globalOptions.ignoreErrors.test(e))this._triggerEvent("captureIgnored",{level:t&&t.level||"error"}) else{var n,o=_({message:e+""},t=t||{}) try{throw new Error(e)}catch(e){n=e}n.name=null var i=a.computeStackTrace(n),s=i.stack[1],l=s&&s.url||"" if((!this._globalOptions.ignoreUrls.test||!this._globalOptions.ignoreUrls.test(l))&&(!this._globalOptions.whitelistUrls.test||this._globalOptions.whitelistUrls.test(l))){if(this._globalOptions.stacktrace||t&&t.stacktrace){t={fingerprint:e,...t,trimHeadFrames:(t.trimHeadFrames||0)+1} var u=this._prepareFrames(i,t) o.stacktrace={frames:u.reverse()}}this._send(o) return this}}},captureBreadcrumb:function(e){var t=_({timestamp:P()/1e3},e) if(g(this._globalOptions.breadcrumbCallback)){var r=this._globalOptions.breadcrumbCallback(t) if(d(r)&&!v(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(i(this._globalContext))},setEnvironment:function(e){this._globalOptions.environment=e return this},setRelease:function(e){this._globalOptions.release=e return this},setDataCallback:function(e){var t=this._globalOptions.dataCallback this._globalOptions.dataCallback=N(t,e) return this},setBreadcrumbCallback:function(e){var t=this._globalOptions.breadcrumbCallback this._globalOptions.breadcrumbCallback=N(t,e) return this},setShouldSendCallback:function(e){var t=this._globalOptions.shouldSendCallback this._globalOptions.shouldSendCallback=N(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){if(!this.ravenNotConfiguredError){this.ravenNotConfiguredError=!0 this._logDebug("error","Error: Raven has not been configured.")}return!1}return!0},afterLoad:function(){var e=D.RavenConfig e&&this.config(e.dsn,e.config).install()},showReportDialog:function(e){if(q){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=q.createElement("script") l.async=!0 l.src=i+"/api/embed/error-page/"+o;(q.head||q.body).appendChild(l)}},_processErrorCause:function(e){try{var t=this,r=a.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}},_clearExtraAttribute:function(e){var t=this h(t._globalContext.extra)||delete t._globalContext.extra[e]},_ignoreNextOnError:function(){var e=this this._ignoreOnError+=1 setTimeout((function(){e._ignoreOnError-=1}))},_triggerEvent:function(e,t){var r,n if(this._hasDocument){t=t||{} e="raven"+e.substr(0,1).toUpperCase()+e.substr(1) q.createEvent?(r=q.createEvent("HTMLEvents")).initEvent(e,!0,!0):(r=q.createEventObject()).eventType=e for(n in t)w(t,n)&&(r[n]=t[n]) if(q.createEvent)q.dispatchEvent(r) else try{q.fireEvent("on"+r.eventType.toLowerCase(),r)}catch(e){}}},_breadcrumbEventHandler:function(e){var t=this return function(r){t._keypressTimeout=null if(t._lastCapturedEvent!==r){t._lastCapturedEvent=r var n try{n=o()(r.target)}catch(e){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=C(this._location.href),n=C(t),o=C(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:t,from:e}})},_instrumentTryCatch:function(){var e=this,t=e._wrappedBuiltIns function r(t){return function(r,n){for(var o=new Array(arguments.length),a=0;a2?arguments[2]:void 0 r&&e._captureUrlChange(e._lastHref,r+"") return t.apply(this,arguments)}} R(history,"pushState",c,r) R(history,"replaceState",c,r)}if(t.console&&"console"in D&&console.log){var f=function(t,r){e.captureBreadcrumb({message:t,level:r.level,category:"console"})} m(["debug","info","warn","error","log"],(function(e,t){j(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 m(this._plugins,(function(t,r){var n=r[0],o=r[1] n.apply(e,[e].concat(o))}))},_parseDSN:function(e){var t=I.exec(e),r={},n=7 try{for(;n--;)r[T[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+(e.port?":"+e.port:"") e.protocol&&(t=e.protocol+":"+t) return t},_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){m(e.stack,(function(t,o){var a=r._normalizeFrame(o,e.url) a&&n.push(a)})) if(t&&t.trimHeadFrames)for(var o=0;o0&&(e.breadcrumbs={values:[].slice.call(this._breadcrumbs,0)}) v(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) g(t.dataCallback)&&(e=t.dataCallback(e)||e) e&&!v(e)&&(g(t.shouldSendCallback)&&!t.shouldSendCallback(e)||(this._shouldBackoff()?this._logDebug("warn","Raven dropped error due to backoff: ",e):"number"==typeof t.sampleRate?Math.random() " let o=e,a=0 for(;o&&ao)break r+=n.length t.push("."+n)}return t.join("")}e.exports=t.default},function(e,t,r){var n=r(11),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 u(){return"undefined"==typeof document||null==document.location?"":document.location.href}o.report=function(){var e,t,r=[],c=null,f=null,d=null function p(e){m() 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 v(t,r,a,i,c){if(d){o.computeStackTrace.augmentStackTraceWithInitialElement(d,r,a,t) y()}else if(c&&n.isError(c))b(o.computeStackTrace(c),!0) else{var f={url:r,line:a,column:i},p=void 0,h=t if("[object String]"==={}.toString.call(t)){var g if(g=t.match(l)){p=g[1] h=g[2]}}f.func=s b({name:p,message:h,url:u(),stack:[f]},!0)}return!!e&&e.apply(this,arguments)}function m(){if(!t){e=a.onerror a.onerror=v t=!0}}function _(){if(t){a.onerror=e t=!1 e=void 0}}function y(){var e=d,t=c c=null d=null f=null b.apply(null,[e,!1].concat(t))}function w(e,t){var r=i.call(arguments,1) if(d){if(f===e)return y()}var n=o.computeStackTrace(e) d=n f=e c=r setTimeout((function(){f===e&&y()}),n.incomplete?2e3:0) if(!1!==t)throw e}w.subscribe=p w.unsubscribe=h w.uninstall=g return w}() 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,c=/\((\S*)(?::(\d+))(?::(\d+))\)/,f=e.stack.split("\n"),d=[],p=(/^(.*) is undefined$/.exec(e.message),0),h=f.length;p eval")>-1&&(t=l.exec(r[3]))){r[3]=t[1] r[4]=t[2] r[5]=null}else 0!==p||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:u(),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,c=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,f=[],d={},p=!1,h=r.caller;h&&!p;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=c.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]?p=!0:d[""+h]=!0 f.push(l)}a&&f.splice(0,a) var g={name:e.name,message:e.message,url:u(),stack:f} 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:u()}}n.augmentStackTraceWithInitialElement=t n.computeStackTraceFromStackProp=e return n}() e.exports=o},function(e,t){var r="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{} 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 c()&&"[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 u(e){for(var t in e)return!1 return!0}function c(){try{new ErrorEvent("") return!0}catch(e){return!1}}function f(e){function t(t,r){var n=e(t)||t return r&&r(n)||n}return t}function d(e,t){var r,n if(i(e.length))for(r in e)b(e,r)&&t.call(null,r,e[r]) else if(n=e.length)for(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)}}},function(e,t){function r(e){this.name="RavenConfigError" this.message=e}r.prototype=new Error r.prototype.constructor=r e.exports=r},function(e,t,r){"use strict" Object.defineProperty(t,"__esModule",{value:!0}) t.getCorrelationIdFromResponse=a t.getCorrelationIdFromServerTiming=n t.getCorrelationIdFromXHR=o function n(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 o(e){const t=e.getAllResponseHeaders().split("\r\n").find(e=>e.toLowerCase().startsWith("server-timing")) return t?n(t.slice("Server-Timing: ".length)):null}function a(e){var t const r=null===(t=[...e.headers.entries()].find(([e])=>"server-timing"===e.toLowerCase()))||void 0===t?void 0:t[1] return r?n(r):null}},function(e,t){var r=function(e,t,r){var n=e[t],o=e if(t in e){var a="warn"===t?"warning":t e[t]=function(){var e=[].slice.call(arguments),i=""+e.join(" "),s={level:a,logger:"console",extra:{arguments:e}} if("assert"===t){if(!1===e[0]){i="Assertion failed: "+(e.slice(1).join(" ")||"console.assert") s.extra.arguments=e.slice(1) r&&r(i,s)}}else r&&r(i,s) n&&Function.prototype.apply.call(n,o,e)}}} e.exports={wrapMethod:r}},function(e,t){e.exports=function(){if(void 0===window.hubspot)throw new Error("Could not find hubspot global variable.") return window.hubspot}()},function(e,t,r){"use strict" Object.defineProperty(t,"__esModule",{value:!0}) t.default=n function n(){window.addEventListener("pageshow",e=>{e.persisted&&window.location.reload()})}e.exports=t.default},function(e,t,r){"use strict" var n=r(1) Object.defineProperty(t,"__esModule",{value:!0}) t.default=d var o=n(r(19)),a=n(r(20)),i=n(r(7)),s=n(r(16)),l=r(21) const u=2e5 function c(e){const t=()=>{s.default.newRelicErrorsToIgnore(e)} s.default._newRelicCallbacks?s.default._newRelicCallbacks.push(t):s.default._newRelicCallbacks=[t]}function f(e){return function(t){e&&(t=e(t)) try{const e=JSON.stringify(t.extra) if(e.length>u){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."}}return t}}function d(e,t={}){if(void 0===s.default.bender)if("prod"!==o.default.getShort("sentry"))console.warn("[raven-hubspot] `project` and `release` Sentry tags will not be set. See: HubSpot/raven-hubspot/issues/40") else{s.default._newRelicCallbacks=s.default._newRelicCallbacks||[] s.default._newRelicCallbacks.push(()=>{window.newrelic.setCustomAttribute&&window.newrelic.setCustomAttribute("ravenMissingTags",!0)})}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/],ignoreUrls:[]},u=t.ignoreErrors||[] c((t=Object.assign({},n,t,{ignoreErrors:[...n.ignoreErrors,...u]})).ignoreErrors) const d=o.default.getShort("sentry") let p try{p=!!(document&&document.cookie&&document.cookie.includes("hs_selenium"))}catch(e){p=!1}const h=(0,l.getDeployInfo)() i.default.config(e,{release:r&&r.currentProjectVersion,ignoreErrors:t.ignoreErrors,ignoreUrls:t.ignoreUrls,sampleRate:t.sampleRate,environment:d,tags:Object.assign({env:d,project:h?h.deployable:r&&r.currentProject,portalId:a.default.get(),hublet:o.default.getHublet(),isAcceptanceTest:p},t.tags),breadcrumbCallback:t.breadcrumbCallback||(e=>e),autoBreadcrumbs:{console:!1},dataCallback:f(t.dataCallback),shouldSendCallback:t.shouldSendCallback||(()=>!0),stacktrace:t.stacktrace}).install() !o.default.debug("sentry")&&o.default.deployed("sentry")||(i.default.debug=!0) o.default.deployed("sentry")||i.default.setTransport(({onSuccess:e})=>{e()})}const p=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 p(e,...t)} const h=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 h(e,...t)} e.exports=t.default},function(e,t,r){"use strict" Object.defineProperty(t,"__esModule",{value:!0}) t.default=void 0 const n=["api","local","app","private","platform","tools","meetings"],o=["hubspotstarter","hubspotfree","hubspotemail"],a=["growth"],i={com:["hubspot","hubteam","grader","getsignals","getsidekick","gettally","hubspotemail","customer-hub","hubspotservicehub","hubspotquote","hubspotdocuments","hs-data-privacy"].join("|"),net:o.join("|"),org:a.join("|")},s=function e(t){const r=new RegExp(`^(?!local|test|selenium)(.*\\.)?(${Object.entries(i).map(([e,t])=>`(?:${t})(qa)?\\.${e}`).join("|")}|(?:connect)\\.com|(?:connect)(qa)\\.co|wthubspot\\.(com|de|es|fr|jp))$`).test(t.hostname),o=new RegExp(Object.entries(i).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"),a=[new RegExp(`^(?:${n.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("^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")],s="ENV",l="Enviro error: the default argument for .get and .getShort is no longer supported",u=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},c=()=>{const e=u(s) return e||(o.test(t.host)?"qa":"prod")},f=(e,t)=>{window[e]=t return t},d={prod:"production",qa:"development"},p=e=>{if("string"==typeof e){const t=e.toLowerCase() return d[t]||t}return e},h=e=>{e="string"==typeof e?e.toLowerCase():void 0 return Object.keys(d).find(t=>e===d[t])||e},g=(e,t)=>{if(null!=t)throw new Error(l) let r=null if(e){const t=e.split(".").reverse() for(let e=0;e{if(null!=t)throw new Error(l) return h(g(e))},v=b,m=e=>"prod"===v(e),_=e=>"qa"===v(e),y=()=>{const e=u("HUBLET") if(e)return e for(const e of a)if(e.test(t.hostname))return e.exec(t.hostname)[1] return"na1"} function w({isNa1:e,isNonNa1:t},r){r||(r=y()) 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=u(e.toUpperCase()+"_DEBUG")) null==r&&(r=u("DEBUG")) return null==r?t:r},denormalize:h,deployed:e=>{let t "string"==typeof e&&(t=u(e.toUpperCase()+"_DEPLOYED")) null==t&&(t=u("DEPLOYED")) return null==t?r:!!t},enabled:(e,t=!1)=>{let r=u(e.toUpperCase()+"_ENABLED") null==r&&(r=JSON.stringify(t)) return"true"===(""+r).toLowerCase()},get:g,getHublet:y,getInternal:b,getShort:v,isProd:m,isQa:_,ifHublet:w,normalize:p,set:function(e,t){if(1===arguments.length){t=e e=s}return f(e,t)},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){f(e.toUpperCase()+"_DEBUG",t||void 0)}else{t=null==e||e try{t?localStorage.setItem("DEBUG",JSON.stringify(t)):localStorage.removeItem("DEBUG")}catch(e){f("DEBUG",t||void 0)}}}}} t.default=s(document.location) e.exports=t.default},function(e,t,r){"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},function(e,t,r){"use strict" Object.defineProperty(t,"__esModule",{value:!0}) t.getDeployInfo=o const n="d" function o(e=window.performance){try{const t=e.getEntriesByType("navigation")[0],r=t.serverTiming.find(e=>e.name===n).description,[o,a]=r.split("#") return void 0!==o&&void 0!==a?{deployable:o,deployId:a}:void 0}catch(e){return}}}]) //# sourceMappingURL=//static.hsappstatic.net/head-dlb/static-1.1528/bundle.production.js.map