/*! For license information please see 9f36caad58beab.js.LICENSE.txt */ "use strict";(self.bxpChunk=self.bxpChunk||[]).push([[4171],{69653:(t,e,n)=>{n.d(e,{S1:()=>ze});var r=function(){return r=Object.assign||function(t){for(var e,n=1,r=arguments.length;n0)&&!(r=o.next()).done;)s.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function o(){for(var t=[],e=0;e=0;e--){var n=t[e];if(n&&""!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}function d(t){try{if(t.stacktrace)return l(t.stacktrace.frames);var e;try{e=t.exception.values[0].stacktrace.frames}catch(t){}return e?l(e):null}catch(e){return c&&s.kg.error("Cannot extract url for event "+(0,a.jH)(t)),null}}var h,v=n(20535),y=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){h=Function.prototype.toString,Function.prototype.toString=function(){for(var t=[],e=0;e2?e[2]:void 0;if(r){var i=O,o=String(r);O=o,P("history",{from:i,to:o})}return t.apply(this,e)}}}();break;case"error":M=R.onerror,R.onerror=function(t,e,n,r,i){return P("error",{column:r,error:i,line:n,msg:t,url:e}),!!M&&M.apply(this,arguments)};break;case"unhandledrejection":A=R.onunhandledrejection,R.onunhandledrejection=function(t){return P("unhandledrejection",t),!A||A.apply(this,arguments)};break;default:b.h&&s.kg.warn("unknown instrumentation type:",t)}}(t)}function P(t,e){var n,r;if(t&&T[t])try{for(var i=(0,m.XA)(T[t]||[]),o=i.next();!o.done;o=i.next()){var a=o.value;try{a(e)}catch(e){b.h&&s.kg.error("Error while triggering instrumentation handler.\nType: "+t+"\nName: "+(0,S.$P)(a)+"\nError:",e)}}}catch(t){n={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}function I(t){return void 0===t&&(t=[]),"string"==typeof t[0]?t[0]:"Request"in R&&(0,w.V9)(t[0],Request)?t[0].url:String(t[0])}var C,L,N=1e3;function U(t,e){return void 0===e&&(e=!1),function(n){if(n&&L!==n&&!function(t){if("keypress"!==t.type)return!1;try{var e=t.target;if(!e||!e.tagName)return!0;if("INPUT"===e.tagName||"TEXTAREA"===e.tagName||e.isContentEditable)return!1}catch(t){}return!0}(n)){var r="keypress"===n.type?"input":n.type;(void 0===C||function(t,e){if(!t)return!0;if(t.type!==e.type)return!0;try{if(t.target!==e.target)return!0}catch(t){}return!1}(L,n))&&(t({event:n,name:r,global:e}),L=n),clearTimeout(C),C=R.setTimeout((function(){C=void 0}),N)}}}var M=null,A=null,q=function(t,e){return q=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},q(t,e)};function B(t,e){function n(){this.constructor=t}q(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var W=function(){return W=Object.assign||function(t){for(var e,n=1,r=arguments.length;n0)&&!(r=o.next()).done;)s.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function H(){for(var t=[],e=0;e1&&(p=l.slice(0,-1).join("/"),f=l.pop()),f){var d=f.match(/^\d+/);d&&(f=d[0])}return J({host:a,pass:s,path:p,projectId:f,port:c,protocol:r,publicKey:i})}(t):J(t);return function(t){if(b.h){var e=t.port,n=t.projectId,r=t.protocol;if(["protocol","publicKey","host","projectId"].forEach((function(e){if(!t[e])throw new Y("Invalid Sentry Dsn: "+e+" missing")})),!n.match(/^\d+$/))throw new Y("Invalid Sentry Dsn: Invalid projectId "+n);if(!function(t){return"http"===t||"https"===t}(r))throw new Y("Invalid Sentry Dsn: Invalid protocol "+r);if(e&&isNaN(parseInt(e,10)))throw new Y("Invalid Sentry Dsn: Invalid port "+e)}}(e),e}var Z=n(96893),Q=n(21170),tt=n(88007),et=[];function nt(t){return t.reduce((function(t,e){return t.every((function(t){return e.name!==t.name}))&&t.push(e),t}),[])}var rt="Not capturing exception because it's already been captured.",it=function(){function t(t,e){this._integrations={},this._numProcessing=0,this._backend=new t(e),this._options=e,e.dsn&&(this._dsn=V(e.dsn))}return t.prototype.captureException=function(t,e,n){var r=this;if(!(0,a.YO)(t)){var i=e&&e.event_id;return this._process(this._getBackend().eventFromException(t,e).then((function(t){return r._captureEvent(t,e,n)})).then((function(t){i=t}))),i}c&&s.kg.log(rt)},t.prototype.captureMessage=function(t,e,n,r){var i=this,o=n&&n.event_id,s=(0,w.pt)(t)?this._getBackend().eventFromMessage(String(t),e,n):this._getBackend().eventFromException(t,n);return this._process(s.then((function(t){return i._captureEvent(t,n,r)})).then((function(t){o=t}))),o},t.prototype.captureEvent=function(t,e,n){if(!(e&&e.originalException&&(0,a.YO)(e.originalException))){var r=e&&e.event_id;return this._process(this._captureEvent(t,e,n).then((function(t){r=t}))),r}c&&s.kg.log(rt)},t.prototype.captureSession=function(t){this._isEnabled()?"string"!=typeof t.release?c&&s.kg.warn("Discarded session because of missing or non-string release"):(this._sendSession(t),t.update({init:!1})):c&&s.kg.warn("SDK not enabled, will not capture session.")},t.prototype.getDsn=function(){return this._dsn},t.prototype.getOptions=function(){return this._options},t.prototype.getTransport=function(){return this._getBackend().getTransport()},t.prototype.flush=function(t){var e=this;return this._isClientDoneProcessing(t).then((function(n){return e.getTransport().close(t).then((function(t){return n&&t}))}))},t.prototype.close=function(t){var e=this;return this.flush(t).then((function(t){return e.getOptions().enabled=!1,t}))},t.prototype.setupIntegrations=function(){var t,e;this._isEnabled()&&!this._integrations.initialized&&(this._integrations=(t=this._options,e={},function(t){var e=t.defaultIntegrations&&o(t.defaultIntegrations)||[],n=t.integrations,r=o(nt(e));Array.isArray(n)?r=o(r.filter((function(t){return n.every((function(e){return e.name!==t.name}))})),nt(n)):"function"==typeof n&&(r=n(r),r=Array.isArray(r)?r:[r]);var i=r.map((function(t){return t.name})),s="Debug";return-1!==i.indexOf(s)&&r.push.apply(r,o(r.splice(i.indexOf(s),1))),r}(t).forEach((function(t){e[t.name]=t,function(t){-1===et.indexOf(t.name)&&(t.setupOnce($.c,g.Gd),et.push(t.name),c&&s.kg.log("Integration installed: "+t.name))}(t)})),(0,v.xp)(e,"initialized",!0),e))},t.prototype.getIntegration=function(t){try{return this._integrations[t.id]||null}catch(e){return c&&s.kg.warn("Cannot retrieve integration "+t.id+" from the current Client"),null}},t.prototype._updateSessionFromEvent=function(t,e){var n,i,o=!1,s=!1,a=e.exception&&e.exception.values;if(a){s=!0;try{for(var u=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(a),c=u.next();!c.done;c=u.next()){var p=c.value.mechanism;if(p&&!1===p.handled){o=!0;break}}}catch(t){n={error:t}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}}var f="ok"===t.status;(f&&0===t.errors||f&&o)&&(t.update(r(r({},o&&{status:"crashed"}),{errors:t.errors||Number(s||o)})),this.captureSession(t))},t.prototype._sendSession=function(t){this._getBackend().sendSession(t)},t.prototype._isClientDoneProcessing=function(t){var e=this;return new Z.cW((function(n){var r=0,i=setInterval((function(){0==e._numProcessing?(clearInterval(i),n(!0)):(r+=1,t&&r>=t&&(clearInterval(i),n(!1)))}),1)}))},t.prototype._getBackend=function(){return this._backend},t.prototype._isEnabled=function(){return!1!==this.getOptions().enabled&&void 0!==this._dsn},t.prototype._prepareEvent=function(t,e,n){var i=this,o=this.getOptions(),s=o.normalizeDepth,u=void 0===s?3:s,c=o.normalizeMaxBreadth,p=void 0===c?1e3:c,f=r(r({},t),{event_id:t.event_id||(n&&n.event_id?n.event_id:(0,a.DM)()),timestamp:t.timestamp||(0,Q.yW)()});this._applyClientOptions(f),this._applyIntegrationsMetadata(f);var l=e;n&&n.captureContext&&(l=$.s.clone(l).update(n.captureContext));var d=(0,Z.WD)(f);return l&&(d=l.applyToEvent(f,n)),d.then((function(t){return t&&(t.sdkProcessingMetadata=r(r({},t.sdkProcessingMetadata),{normalizeDepth:(0,tt.Fv)(u)+" ("+typeof u+")"})),"number"==typeof u&&u>0?i._normalizeEvent(t,u,p):t}))},t.prototype._normalizeEvent=function(t,e,n){if(!t)return null;var i=r(r(r(r(r({},t),t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map((function(t){return r(r({},t),t.data&&{data:(0,tt.Fv)(t.data,e,n)})}))}),t.user&&{user:(0,tt.Fv)(t.user,e,n)}),t.contexts&&{contexts:(0,tt.Fv)(t.contexts,e,n)}),t.extra&&{extra:(0,tt.Fv)(t.extra,e,n)});return t.contexts&&t.contexts.trace&&(i.contexts.trace=t.contexts.trace),i.sdkProcessingMetadata=r(r({},i.sdkProcessingMetadata),{baseClientNormalized:!0}),i},t.prototype._applyClientOptions=function(t){var e=this.getOptions(),n=e.environment,r=e.release,i=e.dist,o=e.maxValueLength,s=void 0===o?250:o;"environment"in t||(t.environment="environment"in e?n:"production"),void 0===t.release&&void 0!==r&&(t.release=r),void 0===t.dist&&void 0!==i&&(t.dist=i),t.message&&(t.message=(0,u.$G)(t.message,s));var a=t.exception&&t.exception.values&&t.exception.values[0];a&&a.value&&(a.value=(0,u.$G)(a.value,s));var c=t.request;c&&c.url&&(c.url=(0,u.$G)(c.url,s))},t.prototype._applyIntegrationsMetadata=function(t){var e=Object.keys(this._integrations);e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=o(t.sdk.integrations||[],e))},t.prototype._sendEvent=function(t){this._getBackend().sendEvent(t)},t.prototype._captureEvent=function(t,e,n){return this._processEvent(t,e,n).then((function(t){return t.event_id}),(function(t){c&&s.kg.error(t)}))},t.prototype._processEvent=function(t,e,n){var r=this,i=this.getOptions(),o=i.beforeSend,s=i.sampleRate,a=this.getTransport();function u(t,e){a.recordLostEvent&&a.recordLostEvent(t,e)}if(!this._isEnabled())return(0,Z.$2)(new Y("SDK not enabled, will not capture event."));var c="transaction"===t.type;return!c&&"number"==typeof s&&Math.random()>s?(u("sample_rate","event"),(0,Z.$2)(new Y("Discarding event because it's not included in the random sample (sampling rate = "+s+")"))):this._prepareEvent(t,n,e).then((function(n){if(null===n)throw u("event_processor",t.type||"event"),new Y("An event processor returned null, will not send event.");return e&&e.data&&!0===e.data.__sentry__||c||!o?n:function(t){var e="`beforeSend` method has to return `null` or a valid event.";if((0,w.J8)(t))return t.then((function(t){if(!(0,w.PO)(t)&&null!==t)throw new Y(e);return t}),(function(t){throw new Y("beforeSend rejected with "+t)}));if(!(0,w.PO)(t)&&null!==t)throw new Y(e);return t}(o(n,e))})).then((function(e){if(null===e)throw u("before_send",t.type||"event"),new Y("`beforeSend` returned `null`, will not send event.");var i=n&&n.getSession&&n.getSession();return!c&&i&&r._updateSessionFromEvent(i,e),r._sendEvent(e),e})).then(null,(function(t){if(t instanceof Y)throw t;throw r.captureException(t,{data:{__sentry__:!0},originalException:t}),new Y("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: "+t)}))},t.prototype._process=function(t){var e=this;this._numProcessing+=1,t.then((function(t){return e._numProcessing-=1,t}),(function(t){return e._numProcessing-=1,t}))},t}(),ot="7";function st(t,e,n){return{initDsn:t,metadata:e||{},dsn:V(t),tunnel:n}}function at(t){var e=t.protocol?t.protocol+":":"",n=t.port?":"+t.port:"";return e+"//"+t.host+n+(t.path?"/"+t.path:"")+"/api/"}function ut(t,e){return""+at(t)+t.projectId+"/"+e+"/"}function ct(t){return(0,v._j)({sentry_key:t.publicKey,sentry_version:ot})}function pt(t){return ut(t,"store")}function ft(t){return pt(t)+"?"+ct(t)}function lt(t,e){return e||function(t){return ut(t,"envelope")}(t)+"?"+ct(t)}function dt(t,e){return void 0===e&&(e=[]),[t,e]}function ht(t){var e=(0,m.CR)(t,2),n=e[0],r=e[1],i=JSON.stringify(n);return r.reduce((function(t,e){var n=(0,m.CR)(e,2),r=n[0],i=n[1],o=(0,w.pt)(i)?String(i):JSON.stringify(i);return t+"\n"+JSON.stringify(r)+"\n"+o}),i)}function vt(t){if(t.metadata&&t.metadata.sdk){var e=t.metadata.sdk;return{name:e.name,version:e.version}}}function yt(t,e){return e?(t.sdk=t.sdk||{},t.sdk.name=t.sdk.name||e.name,t.sdk.version=t.sdk.version||e.version,t.sdk.integrations=o(t.sdk.integrations||[],e.integrations||[]),t.sdk.packages=o(t.sdk.packages||[],e.packages||[]),t):t}function gt(t,e){var n=vt(e),i="aggregates"in t?"sessions":"session";return[dt(r(r({sent_at:(new Date).toISOString()},n&&{sdk:n}),!!e.tunnel&&{dsn:X(e.dsn)}),[[{type:i},t]]),i]}!function(){function t(t,e,n){void 0===e&&(e={}),this.dsn=t,this._dsnObject=V(t),this.metadata=e,this._tunnel=n}t.prototype.getDsn=function(){return this._dsnObject},t.prototype.forceEnvelope=function(){return!!this._tunnel},t.prototype.getBaseApiEndpoint=function(){return at(this._dsnObject)},t.prototype.getStoreEndpoint=function(){return pt(this._dsnObject)},t.prototype.getStoreEndpointWithUrlEncodedAuth=function(){return ft(this._dsnObject)},t.prototype.getEnvelopeEndpointWithUrlEncodedAuth=function(){return lt(this._dsnObject,this._tunnel)}}();var _t=function(){function t(){}return t.prototype.sendEvent=function(t){return(0,Z.WD)({reason:"NoopTransport: Event has been skipped because no Dsn is configured.",status:"skipped"})},t.prototype.close=function(t){return(0,Z.WD)(!0)},t}(),mt=function(){function t(t){this._options=t,this._options.dsn||c&&s.kg.warn("No DSN provided, backend will not do anything."),this._transport=this._setupTransport()}return t.prototype.eventFromException=function(t,e){throw new Y("Backend has to implement `eventFromException` method")},t.prototype.eventFromMessage=function(t,e,n){throw new Y("Backend has to implement `eventFromMessage` method")},t.prototype.sendEvent=function(t){if(this._newTransport&&this._options.dsn&&this._options._experiments&&this._options._experiments.newTransport){var e=function(t,e){var n=vt(e),i=t.type||"event",o=(t.sdkProcessingMetadata||{}).transactionSampling||{},s=o.method,a=o.rate;return yt(t,e.metadata.sdk),t.tags=t.tags||{},t.extra=t.extra||{},t.sdkProcessingMetadata&&t.sdkProcessingMetadata.baseClientNormalized||(t.tags.skippedNormalization=!0,t.extra.normalizeDepth=t.sdkProcessingMetadata?t.sdkProcessingMetadata.normalizeDepth:"unset"),delete t.sdkProcessingMetadata,dt(r(r({event_id:t.event_id,sent_at:(new Date).toISOString()},n&&{sdk:n}),!!e.tunnel&&{dsn:X(e.dsn)}),[[{type:i,sample_rates:[{id:s,rate:a}]},t]])}(t,st(this._options.dsn,this._options._metadata,this._options.tunnel));this._newTransport.send(e).then(null,(function(t){c&&s.kg.error("Error while sending event:",t)}))}else this._transport.sendEvent(t).then(null,(function(t){c&&s.kg.error("Error while sending event:",t)}))},t.prototype.sendSession=function(t){if(this._transport.sendSession)if(this._newTransport&&this._options.dsn&&this._options._experiments&&this._options._experiments.newTransport){var e=i(gt(t,st(this._options.dsn,this._options._metadata,this._options.tunnel)),1)[0];this._newTransport.send(e).then(null,(function(t){c&&s.kg.error("Error while sending session:",t)}))}else this._transport.sendSession(t).then(null,(function(t){c&&s.kg.error("Error while sending session:",t)}));else c&&s.kg.warn("Dropping session because custom transport doesn't implement sendSession")},t.prototype.getTransport=function(){return this._transport},t.prototype._setupTransport=function(){return new _t},t}(),bt=n(13819),wt="?";function St(t,e,n,r){var i={filename:t,function:e,in_app:!0};return void 0!==n&&(i.lineno=n),void 0!==r&&(i.colno=r),i}var xt=/^\s*at (?:(.*?) ?\((?:address at )?)?((?:file|https?|blob|chrome-extension|address|native|eval|webpack||[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Et=/\((\S*)(?::(\d+))(?::(\d+))\)/,kt=[30,function(t){var e=xt.exec(t);if(e){if(e[2]&&0===e[2].indexOf("eval")){var n=Et.exec(e[2]);n&&(e[2]=n[1],e[3]=n[2],e[4]=n[3])}var r=z(Nt(e[1]||wt,e[2]),2),i=r[0];return St(r[1],i,e[3]?+e[3]:void 0,e[4]?+e[4]:void 0)}}],Ot=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|capacitor).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Rt=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Tt=[50,function(t){var e,n=Ot.exec(t);if(n){if(n[3]&&n[3].indexOf(" > eval")>-1){var r=Rt.exec(n[3]);r&&(n[1]=n[1]||"eval",n[3]=r[1],n[4]=r[2],n[5]="")}var i=n[3],o=n[1]||wt;return o=(e=z(Nt(o,i),2))[0],St(i=e[1],o,n[4]?+n[4]:void 0,n[5]?+n[5]:void 0)}}],jt=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,Dt=[40,function(t){var e=jt.exec(t);return e?St(e[2],e[1]||wt,+e[3],e[4]?+e[4]:void 0):void 0}],Pt=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,It=[10,function(t){var e=Pt.exec(t);return e?St(e[2],e[3]||wt,+e[1]):void 0}],Ct=/ line (\d+), column (\d+)\s*(?:in (?:]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,Lt=[20,function(t){var e=Ct.exec(t);return e?St(e[5],e[3]||e[4]||wt,+e[1],+e[2]):void 0}],Nt=function(t,e){var n=-1!==t.indexOf("safari-extension"),r=-1!==t.indexOf("safari-web-extension");return n||r?[-1!==t.indexOf("@")?t.split("@")[0]:wt,n?"safari-extension:"+e:"safari-web-extension:"+e]:[t,e]};function Ut(t){var e=At(t),n={type:t&&t.name,value:Bt(t)};return e.length&&(n.stacktrace={frames:e}),void 0===n.type&&""===n.value&&(n.value="Unrecoverable error caught"),n}function Mt(t){return{exception:{values:[Ut(t)]}}}function At(t){var e=t.stacktrace||t.stack||"",n=function(t){if(t){if("number"==typeof t.framesToPop)return t.framesToPop;if(qt.test(t.message))return 1}return 0}(t);try{return(0,S.pE)(It,Lt,kt,Dt,Tt)(e,n)}catch(t){}return[]}var qt=/Minified React error #\d+;/i;function Bt(t){var e=t&&t.message;return e?e.error&&"string"==typeof e.error.message?e.error.message:e:"No error message"}function Wt(t,e,n,r){var i;if((0,w.VW)(t)&&t.error)return Mt(t.error);if((0,w.TX)(t)||(0,w.fm)(t)){var o=t;if("stack"in t)i=Mt(t);else{var s=o.name||((0,w.TX)(o)?"DOMError":"DOMException"),u=o.message?s+": "+o.message:s;i=zt(u,e,n),(0,a.Db)(i,u)}return"code"in o&&(i.tags=W(W({},i.tags),{"DOMException.code":""+o.code})),i}return(0,w.VZ)(t)?Mt(t):(0,w.PO)(t)||(0,w.cO)(t)?(i=function(t,e,n){var r={exception:{values:[{type:(0,w.cO)(t)?t.constructor.name:n?"UnhandledRejection":"Error",value:"Non-Error "+(n?"promise rejection":"exception")+" captured with keys: "+(0,v.zf)(t)}]},extra:{__serialized__:(0,tt.Qy)(t)}};if(e){var i=At(e);i.length&&(r.stacktrace={frames:i})}return r}(t,e,r),(0,a.EG)(i,{synthetic:!0}),i):(i=zt(t,e,n),(0,a.Db)(i,""+t,void 0),(0,a.EG)(i,{synthetic:!0}),i)}function zt(t,e,n){var r={message:t};if(n&&e){var i=At(e);i.length&&(r.stacktrace={frames:i})}return r}function Ht(t){var e=[];function n(t){return e.splice(e.indexOf(t),1)[0]}return{$:e,add:function(r){if(!(void 0===t||e.length0&&n(!1)}),t);e.forEach((function(t){(0,Z.WD)(t).then((function(){--i||(clearTimeout(o),n(!0))}),r)}))}))}}}var Gt=6e4;function $t(t,e){return t[e]||t.all||0}function Ft(t,e,n){return void 0===n&&(n=Date.now()),$t(t,e)>n}function Yt(t,e,n){var r,i,o,s;void 0===n&&(n=Date.now());var a=(0,m.pi)({},t),u=e["x-sentry-rate-limits"],c=e["retry-after"];if(u)try{for(var p=(0,m.XA)(u.trim().split(",")),f=p.next();!f.done;f=p.next()){var l=f.value.split(":",2),d=parseInt(l[0],10),h=1e3*(isNaN(d)?60:d);if(l[1])try{for(var v=(o=void 0,(0,m.XA)(l[1].split(";"))),y=v.next();!y.done;y=v.next())a[y.value]=n+h}catch(t){o={error:t}}finally{try{y&&!y.done&&(s=v.return)&&s.call(v)}finally{if(o)throw o.error}}else a.all=n+h}}catch(t){r={error:t}}finally{try{f&&!f.done&&(i=p.return)&&i.call(p)}finally{if(r)throw r.error}}else c&&(a.all=n+function(t,e){void 0===e&&(e=Date.now());var n=parseInt(""+t,10);if(!isNaN(n))return 1e3*n;var r=Date.parse(""+t);return isNaN(r)?Gt:r-e}(c,n));return a}function Kt(t){return t>=200&&t<300?"success":429===t?"rate_limit":t>=400&&t<500?"invalid":t>=500?"failed":"unknown"}function Xt(t,e,n){void 0===n&&(n=Ht(t.bufferSize||30));var r={};return{send:function(t){var i=function(t){var e=(0,m.CR)(t,2),n=(0,m.CR)(e[1],1);return(0,m.CR)(n[0],1)[0].type}(t),o="event"===i?"error":i,s={category:o,body:ht(t)};return Ft(r,o)?(0,Z.$2)({status:"rate_limit",reason:Jt(r,o)}):n.add((function(){return e(s).then((function(t){var e=t.body,n=t.headers,i=t.reason,s=Kt(t.statusCode);return n&&(r=Yt(r,n)),"success"===s?(0,Z.WD)({status:s,reason:i}):(0,Z.$2)({status:s,reason:i||e||("rate_limit"===s?Jt(r,o):"Unknown transport error")})}))}))},flush:function(t){return n.drain(t)}}}function Jt(t,e){return"Too many "+e+" requests, backing off until: "+new Date($t(t,e)).toISOString()}var Vt,Zt="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,Qt=(0,_.R)();function te(){if(Vt)return Vt;if(E(Qt.fetch))return Vt=Qt.fetch.bind(Qt);var t=Qt.document,e=Qt.fetch;if(t&&"function"==typeof t.createElement)try{var n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n);var r=n.contentWindow;r&&r.fetch&&(e=r.fetch),t.head.removeChild(n)}catch(t){Zt&&s.kg.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return Vt=e.bind(Qt)}function ee(t){return"event"===t?"error":t}var ne=(0,_.R)(),re=function(){function t(t){var e=this;this.options=t,this._buffer=Ht(30),this._rateLimits={},this._outcomes={},this._api=st(t.dsn,t._metadata,t.tunnel),this.url=ft(this._api.dsn),this.options.sendClientReports&&ne.document&&ne.document.addEventListener("visibilitychange",(function(){"hidden"===ne.document.visibilityState&&e._flushOutcomes()}))}return t.prototype.sendEvent=function(t){return this._sendRequest(function(t,e){var n,i=vt(e),o=t.type||"event",s="transaction"===o||!!e.tunnel,a=(t.sdkProcessingMetadata||{}).transactionSampling||{},u=a.method,c=a.rate;yt(t,e.metadata.sdk),t.tags=t.tags||{},t.extra=t.extra||{},t.sdkProcessingMetadata&&t.sdkProcessingMetadata.baseClientNormalized||(t.tags.skippedNormalization=!0,t.extra.normalizeDepth=t.sdkProcessingMetadata?t.sdkProcessingMetadata.normalizeDepth:"unset"),delete t.sdkProcessingMetadata;try{n=JSON.stringify(t)}catch(e){t.tags.JSONStringifyError=!0,t.extra.JSONStringifyError=e;try{n=JSON.stringify((0,tt.Fv)(t))}catch(t){var p=t;n=JSON.stringify({message:"JSON.stringify error after renormalization",extra:{message:p.message,stack:p.stack}})}}var f={body:n,type:o,url:s?lt(e.dsn,e.tunnel):ft(e.dsn)};if(s){var l=dt(r(r({event_id:t.event_id,sent_at:(new Date).toISOString()},i&&{sdk:i}),!!e.tunnel&&{dsn:X(e.dsn)}),[[{type:o,sample_rates:[{id:u,rate:c}]},f.body]]);f.body=ht(l)}return f}(t,this._api),t)},t.prototype.sendSession=function(t){return this._sendRequest(function(t,e){var n=i(gt(t,e),2),r=n[0],o=n[1];return{body:ht(r),type:o,url:lt(e.dsn,e.tunnel)}}(t,this._api),t)},t.prototype.close=function(t){return this._buffer.drain(t)},t.prototype.recordLostEvent=function(t,e){var n;if(this.options.sendClientReports){var r=ee(e)+":"+t;Zt&&s.kg.log("Adding outcome: "+r),this._outcomes[r]=(null!=(n=this._outcomes[r])?n:0)+1}},t.prototype._flushOutcomes=function(){if(this.options.sendClientReports){var t=this._outcomes;if(this._outcomes={},Object.keys(t).length){Zt&&s.kg.log("Flushing outcomes:\n"+JSON.stringify(t,null,2));var e,n,r=lt(this._api.dsn,this._api.tunnel),i=(e=Object.keys(t).map((function(e){var n=z(e.split(":"),2),r=n[0];return{reason:n[1],category:r,quantity:t[e]}})),dt((n=this._api.tunnel&&X(this._api.dsn))?{dsn:n}:{},[[{type:"client_report"},{timestamp:(0,Q.yW)(),discarded_events:e}]]));try{!function(t,e){if("[object Navigator]"===Object.prototype.toString.call(Qt&&Qt.navigator)&&"function"==typeof Qt.navigator.sendBeacon)return Qt.navigator.sendBeacon.bind(Qt.navigator)(t,e);x()&&te()(t,{body:e,method:"POST",credentials:"omit",keepalive:!0}).then(null,(function(t){console.error(t)}))}(r,ht(i))}catch(t){Zt&&s.kg.error(t)}}else Zt&&s.kg.log("No outcomes to flush")}},t.prototype._handleResponse=function(t){var e=t.requestType,n=t.response,r=t.headers,i=t.resolve,o=t.reject,a=Kt(n.status);this._rateLimits=Yt(this._rateLimits,r),this._isRateLimited(e)&&Zt&&s.kg.warn("Too many "+e+" requests, backing off until: "+this._disabledUntil(e)),"success"!==a?o(n):i({status:a})},t.prototype._disabledUntil=function(t){var e=ee(t);return new Date($t(this._rateLimits,e))},t.prototype._isRateLimited=function(t){var e=ee(t);return Ft(this._rateLimits,e)},t}(),ie=function(t){function e(e,n){void 0===n&&(n=te());var r=t.call(this,e)||this;return r._fetch=n,r}return B(e,t),e.prototype._sendRequest=function(t,e){var n=this;if(this._isRateLimited(t.type))return this.recordLostEvent("ratelimit_backoff",t.type),Promise.reject({event:e,type:t.type,reason:"Transport for "+t.type+" requests locked till "+this._disabledUntil(t.type)+" due to too many requests.",status:429});var r={body:t.body,method:"POST",referrerPolicy:k()?"origin":""};return void 0!==this.options.fetchParameters&&Object.assign(r,this.options.fetchParameters),void 0!==this.options.headers&&(r.headers=this.options.headers),this._buffer.add((function(){return new Z.cW((function(e,i){n._fetch(t.url,r).then((function(r){var o={"x-sentry-rate-limits":r.headers.get("X-Sentry-Rate-Limits"),"retry-after":r.headers.get("Retry-After")};n._handleResponse({requestType:t.type,response:r,headers:o,resolve:e,reject:i})})).catch(i)}))})).then(void 0,(function(e){throw e instanceof Y?n.recordLostEvent("queue_overflow",t.type):n.recordLostEvent("network_error",t.type),e}))},e}(re),oe=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return B(e,t),e.prototype._sendRequest=function(t,e){var n=this;return this._isRateLimited(t.type)?(this.recordLostEvent("ratelimit_backoff",t.type),Promise.reject({event:e,type:t.type,reason:"Transport for "+t.type+" requests locked till "+this._disabledUntil(t.type)+" due to too many requests.",status:429})):this._buffer.add((function(){return new Z.cW((function(e,r){var i=new XMLHttpRequest;for(var o in i.onreadystatechange=function(){if(4===i.readyState){var o={"x-sentry-rate-limits":i.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":i.getResponseHeader("Retry-After")};n._handleResponse({requestType:t.type,response:i,headers:o,resolve:e,reject:r})}},i.open("POST",t.url),n.options.headers)Object.prototype.hasOwnProperty.call(n.options.headers,o)&&i.setRequestHeader(o,n.options.headers[o]);i.send(t.body)}))})).then(void 0,(function(e){throw e instanceof Y?n.recordLostEvent("queue_overflow",t.type):n.recordLostEvent("network_error",t.type),e}))},e}(re),se=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return B(e,t),e.prototype.eventFromException=function(t,e){return function(t,e,n){var r=Wt(t,e&&e.syntheticException||void 0,n);return(0,a.EG)(r),r.level=bt.z.Error,e&&e.event_id&&(r.event_id=e.event_id),(0,Z.WD)(r)}(t,e,this._options.attachStacktrace)},e.prototype.eventFromMessage=function(t,e,n){return void 0===e&&(e=bt.z.Info),function(t,e,n,r){void 0===e&&(e=bt.z.Info);var i=zt(t,n&&n.syntheticException||void 0,r);return i.level=e,n&&n.event_id&&(i.event_id=n.event_id),(0,Z.WD)(i)}(t,e,n,this._options.attachStacktrace)},e.prototype._setupTransport=function(){if(!this._options.dsn)return t.prototype._setupTransport.call(this);var e,n,r=W(W({},this._options.transportOptions),{dsn:this._options.dsn,tunnel:this._options.tunnel,sendClientReports:this._options.sendClientReports,_metadata:this._options._metadata}),i=st(r.dsn,r._metadata,r.tunnel),o=lt(i.dsn,i.tunnel);if(this._options.transport)return new this._options.transport(r);if(x()){var s=W({},r.fetchParameters);return this._newTransport=(e={requestOptions:s,url:o},void 0===n&&(n=te()),Xt({bufferSize:e.bufferSize},(function(t){var r=W({body:t.body,method:"POST",referrerPolicy:"origin"},e.requestOptions);return n(e.url,r).then((function(t){return t.text().then((function(e){return{body:e,headers:{"x-sentry-rate-limits":t.headers.get("X-Sentry-Rate-Limits"),"retry-after":t.headers.get("Retry-After")},reason:t.statusText,statusCode:t.status}}))}))}))),new ie(r)}return this._newTransport=function(t){return Xt({bufferSize:t.bufferSize},(function(e){return new Z.cW((function(n,r){var i=new XMLHttpRequest;for(var o in i.onreadystatechange=function(){if(4===i.readyState){var t={body:i.response,headers:{"x-sentry-rate-limits":i.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":i.getResponseHeader("Retry-After")},reason:i.statusText,statusCode:i.status};n(t)}},i.open("POST",t.url),t.headers)Object.prototype.hasOwnProperty.call(t.headers,o)&&i.setRequestHeader(o,t.headers[o]);i.send(e.body)}))}))}({url:o,headers:r.headers}),new oe(r)},e}(mt),ae=n(71371),ue=(0,_.R)(),ce=0;function pe(){return ce>0}function fe(t,e,n){if(void 0===e&&(e={}),"function"!=typeof t)return t;try{var r=t.__sentry_wrapped__;if(r)return r;if((0,v.HK)(t))return t}catch(e){return t}var i=function(){var r=Array.prototype.slice.call(arguments);try{n&&"function"==typeof n&&n.apply(this,arguments);var i=r.map((function(t){return fe(t,e)}));return t.apply(this,i)}catch(t){throw ce+=1,setTimeout((function(){ce-=1})),(0,ae.$e)((function(n){n.addEventProcessor((function(t){return e.mechanism&&((0,a.Db)(t,void 0,void 0),(0,a.EG)(t,e.mechanism)),t.extra=W(W({},t.extra),{arguments:r}),t})),(0,ae.Tb)(t)})),t}};try{for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(i[o]=t[o])}catch(t){}(0,v.$Q)(i,t),(0,v.xp)(t,"__sentry_wrapped__",i);try{Object.getOwnPropertyDescriptor(i,"name").configurable&&Object.defineProperty(i,"name",{get:function(){return t.name}})}catch(t){}return i}var le=n(58464),de=n(890),he=function(){function t(e){this.name=t.id,this._options=W({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},e)}return t.prototype.addSentryBreadcrumb=function(t){this._options.sentry&&(0,g.Gd)().addBreadcrumb({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:(0,a.jH)(t)},{event:t})},t.prototype.setupOnce=function(){var t;this._options.console&&D("console",ve),this._options.dom&&D("dom",(t=this._options.dom,function(e){var n,r="object"==typeof t?t.serializeAttribute:void 0;"string"==typeof r&&(r=[r]);try{n=e.event.target?(0,le.R)(e.event.target,r):(0,le.R)(e.event,r)}catch(t){n=""}0!==n.length&&(0,g.Gd)().addBreadcrumb({category:"ui."+e.name,message:n},{event:e.event,name:e.name,global:e.global})})),this._options.xhr&&D("xhr",ye),this._options.fetch&&D("fetch",ge),this._options.history&&D("history",_e)},t.id="Breadcrumbs",t}();function ve(t){var e={category:"console",data:{arguments:t.args,logger:"console"},level:(0,de.E)(t.level),message:(0,u.nK)(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;e.message="Assertion failed: "+((0,u.nK)(t.args.slice(1)," ")||"console.assert"),e.data.arguments=t.args.slice(1)}(0,g.Gd)().addBreadcrumb(e,{input:t.args,level:t.level})}function ye(t){if(t.endTimestamp){if(t.xhr.__sentry_own_request__)return;var e=t.xhr.__sentry_xhr__||{},n=e.method,r=e.url,i=e.status_code,o=e.body;(0,g.Gd)().addBreadcrumb({category:"xhr",data:{method:n,url:r,status_code:i},type:"http"},{xhr:t.xhr,input:o})}}function ge(t){t.endTimestamp&&(t.fetchData.url.match(/sentry_key/)&&"POST"===t.fetchData.method||(t.error?(0,g.Gd)().addBreadcrumb({category:"fetch",data:t.fetchData,level:bt.z.Error,type:"http"},{data:t.error,input:t.args}):(0,g.Gd)().addBreadcrumb({category:"fetch",data:W(W({},t.fetchData),{status_code:t.response.status}),type:"http"},{input:t.args,response:t.response})))}function _e(t){var e=(0,_.R)(),n=t.from,r=t.to,i=(0,a.en)(e.location.href),o=(0,a.en)(n),s=(0,a.en)(r);o.path||(o=i),i.protocol===s.protocol&&i.host===s.host&&(r=s.relative),i.protocol===o.protocol&&i.host===o.host&&(n=o.relative),(0,g.Gd)().addBreadcrumb({category:"navigation",data:{from:n,to:r}})}var me=function(t){function e(e){return void 0===e&&(e={}),e._metadata=e._metadata||{},e._metadata.sdk=e._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:"npm:@sentry/browser",version:G}],version:G},t.call(this,se,e)||this}return B(e,t),e.prototype.showReportDialog=function(t){void 0===t&&(t={}),(0,_.R)().document&&(this._isEnabled()?function(t){if(void 0===t&&(t={}),ue.document)if(t.eventId)if(t.dsn){var e=ue.document.createElement("script");e.async=!0,e.src=function(t,e){var n=V(t),r=at(n)+"embed/error-page/",i="dsn="+X(n);for(var o in e)if("dsn"!==o)if("user"===o){if(!e.user)continue;e.user.name&&(i+="&name="+encodeURIComponent(e.user.name)),e.user.email&&(i+="&email="+encodeURIComponent(e.user.email))}else i+="&"+encodeURIComponent(o)+"="+encodeURIComponent(e[o]);return r+"?"+i}(t.dsn,t),t.onLoad&&(e.onload=t.onLoad);var n=ue.document.head||ue.document.body;n&&n.appendChild(e)}else Zt&&s.kg.error("Missing dsn option in showReportDialog call");else Zt&&s.kg.error("Missing eventId option in showReportDialog call")}(W(W({},t),{dsn:t.dsn||this.getDsn()})):Zt&&s.kg.error("Trying to call showReportDialog with Sentry Client disabled"))},e.prototype._prepareEvent=function(e,n,r){return e.platform=e.platform||"javascript",t.prototype._prepareEvent.call(this,e,n,r)},e.prototype._sendEvent=function(e){var n=this.getIntegration(he);n&&n.addSentryBreadcrumb(e),t.prototype._sendEvent.call(this,e)},e}(it),be=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],we=function(){function t(e){this.name=t.id,this._options=W({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},e)}return t.prototype.setupOnce=function(){var t=(0,_.R)();this._options.setTimeout&&(0,v.hl)(t,"setTimeout",Se),this._options.setInterval&&(0,v.hl)(t,"setInterval",Se),this._options.requestAnimationFrame&&(0,v.hl)(t,"requestAnimationFrame",xe),this._options.XMLHttpRequest&&"XMLHttpRequest"in t&&(0,v.hl)(XMLHttpRequest.prototype,"send",Ee);var e=this._options.eventTarget;e&&(Array.isArray(e)?e:be).forEach(ke)},t.id="TryCatch",t}();function Se(t){return function(){for(var e=[],n=0;n0?e:(0,le.l)();return 0===u.length&&u.push({colno:c,filename:f,function:"?",in_app:!0,lineno:p}),t}function De(t,e,n,r){(0,a.EG)(n,{handled:!1,type:r}),t.captureEvent(n,{originalException:e})}function Pe(){var t=(0,g.Gd)(),e=t.getClient();return[t,e&&e.getOptions().attachStacktrace]}var Ie=function(){function t(e){void 0===e&&(e={}),this.name=t.id,this._key=e.key||"cause",this._limit=e.limit||5}return t.prototype.setupOnce=function(){(0,$.c)((function(e,n){var r=(0,g.Gd)().getIntegration(t);return r?function(t,e,n,r){if(!(n.exception&&n.exception.values&&r&&(0,w.V9)(r.originalException,Error)))return n;var i=Ce(e,r.originalException,t);return n.exception.values=H(i,n.exception.values),n}(r._key,r._limit,e,n):e}))},t.id="LinkedErrors",t}();function Ce(t,e,n,r){if(void 0===r&&(r=[]),!(0,w.V9)(e[n],Error)||r.length+1>=t)return r;var i=Ut(e[n]);return Ce(t,e[n],n,H([i],r))}var Le=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(e,n){e((function(e){var r=n().getIntegration(t);if(r){try{if(function(t,e){return!!e&&(!!function(t,e){var n=t.message,r=e.message;return!(!n&&!r)&&(!(n&&!r||!n&&r)&&(n===r&&(!!Ue(t,e)&&!!Ne(t,e))))}(t,e)||!!function(t,e){var n=Me(e),r=Me(t);return!(!n||!r)&&(n.type===r.type&&n.value===r.value&&(!!Ue(t,e)&&!!Ne(t,e)))}(t,e))}(e,r._previousEvent))return Zt&&s.kg.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(t){return r._previousEvent=e}return r._previousEvent=e}return e}))},t.id="Dedupe",t}();function Ne(t,e){var n=Ae(t),r=Ae(e);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(var i=0;i{n.d(e,{Gd:()=>g});var r=n(68907),i=n(62844),o=n(21170),s=n(12343),a=n(82991),u=n(72176),c="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,p=n(46769),f=n(20535),l=function(){function t(t){this.errors=0,this.sid=(0,i.DM)(),this.duration=0,this.status="ok",this.init=!0,this.ignoreDuration=!1;var e=(0,o.ph)();this.timestamp=e,this.started=e,t&&this.update(t)}return t.prototype.update=function(t){if(void 0===t&&(t={}),t.user&&(!this.ipAddress&&t.user.ip_address&&(this.ipAddress=t.user.ip_address),this.did||t.did||(this.did=t.user.id||t.user.email||t.user.username)),this.timestamp=t.timestamp||(0,o.ph)(),t.ignoreDuration&&(this.ignoreDuration=t.ignoreDuration),t.sid&&(this.sid=32===t.sid.length?t.sid:(0,i.DM)()),void 0!==t.init&&(this.init=t.init),!this.did&&t.did&&(this.did=""+t.did),"number"==typeof t.started&&(this.started=t.started),this.ignoreDuration)this.duration=void 0;else if("number"==typeof t.duration)this.duration=t.duration;else{var e=this.timestamp-this.started;this.duration=e>=0?e:0}t.release&&(this.release=t.release),t.environment&&(this.environment=t.environment),!this.ipAddress&&t.ipAddress&&(this.ipAddress=t.ipAddress),!this.userAgent&&t.userAgent&&(this.userAgent=t.userAgent),"number"==typeof t.errors&&(this.errors=t.errors),t.status&&(this.status=t.status)},t.prototype.close=function(t){t?this.update({status:t}):"ok"===this.status?this.update({status:"exited"}):this.update()},t.prototype.toJSON=function(){return(0,f.Jr)({sid:""+this.sid,init:this.init,started:new Date(1e3*this.started).toISOString(),timestamp:new Date(1e3*this.timestamp).toISOString(),status:this.status,errors:this.errors,did:"number"==typeof this.did||"string"==typeof this.did?""+this.did:void 0,duration:this.duration,attrs:{release:this.release,environment:this.environment,ip_address:this.ipAddress,user_agent:this.userAgent}})},t}(),d=4,h=function(){function t(t,e,n){void 0===e&&(e=new p.s),void 0===n&&(n=d),this._version=n,this._stack=[{}],this.getStackTop().scope=e,t&&this.bindClient(t)}return t.prototype.isOlderThan=function(t){return this._version{n.d(e,{c:()=>p,s:()=>u});var r=n(68907),i=n(67597),o=n(21170),s=n(96893),a=n(82991),u=function(){function t(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={}}return t.clone=function(e){var n=new t;return e&&(n._breadcrumbs=(0,r.fl)(e._breadcrumbs),n._tags=(0,r.pi)({},e._tags),n._extra=(0,r.pi)({},e._extra),n._contexts=(0,r.pi)({},e._contexts),n._user=e._user,n._level=e._level,n._span=e._span,n._session=e._session,n._transactionName=e._transactionName,n._fingerprint=e._fingerprint,n._eventProcessors=(0,r.fl)(e._eventProcessors),n._requestSession=e._requestSession),n},t.prototype.addScopeListener=function(t){this._scopeListeners.push(t)},t.prototype.addEventProcessor=function(t){return this._eventProcessors.push(t),this},t.prototype.setUser=function(t){return this._user=t||{},this._session&&this._session.update({user:t}),this._notifyScopeListeners(),this},t.prototype.getUser=function(){return this._user},t.prototype.getRequestSession=function(){return this._requestSession},t.prototype.setRequestSession=function(t){return this._requestSession=t,this},t.prototype.setTags=function(t){return this._tags=(0,r.pi)((0,r.pi)({},this._tags),t),this._notifyScopeListeners(),this},t.prototype.setTag=function(t,e){var n;return this._tags=(0,r.pi)((0,r.pi)({},this._tags),((n={})[t]=e,n)),this._notifyScopeListeners(),this},t.prototype.setExtras=function(t){return this._extra=(0,r.pi)((0,r.pi)({},this._extra),t),this._notifyScopeListeners(),this},t.prototype.setExtra=function(t,e){var n;return this._extra=(0,r.pi)((0,r.pi)({},this._extra),((n={})[t]=e,n)),this._notifyScopeListeners(),this},t.prototype.setFingerprint=function(t){return this._fingerprint=t,this._notifyScopeListeners(),this},t.prototype.setLevel=function(t){return this._level=t,this._notifyScopeListeners(),this},t.prototype.setTransactionName=function(t){return this._transactionName=t,this._notifyScopeListeners(),this},t.prototype.setTransaction=function(t){return this.setTransactionName(t)},t.prototype.setContext=function(t,e){var n;return null===e?delete this._contexts[t]:this._contexts=(0,r.pi)((0,r.pi)({},this._contexts),((n={})[t]=e,n)),this._notifyScopeListeners(),this},t.prototype.setSpan=function(t){return this._span=t,this._notifyScopeListeners(),this},t.prototype.getSpan=function(){return this._span},t.prototype.getTransaction=function(){var t=this.getSpan();return t&&t.transaction},t.prototype.setSession=function(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this},t.prototype.getSession=function(){return this._session},t.prototype.update=function(e){if(!e)return this;if("function"==typeof e){var n=e(this);return n instanceof t?n:this}return e instanceof t?(this._tags=(0,r.pi)((0,r.pi)({},this._tags),e._tags),this._extra=(0,r.pi)((0,r.pi)({},this._extra),e._extra),this._contexts=(0,r.pi)((0,r.pi)({},this._contexts),e._contexts),e._user&&Object.keys(e._user).length&&(this._user=e._user),e._level&&(this._level=e._level),e._fingerprint&&(this._fingerprint=e._fingerprint),e._requestSession&&(this._requestSession=e._requestSession)):(0,i.PO)(e)&&(this._tags=(0,r.pi)((0,r.pi)({},this._tags),e.tags),this._extra=(0,r.pi)((0,r.pi)({},this._extra),e.extra),this._contexts=(0,r.pi)((0,r.pi)({},this._contexts),e.contexts),e.user&&(this._user=e.user),e.level&&(this._level=e.level),e.fingerprint&&(this._fingerprint=e.fingerprint),e.requestSession&&(this._requestSession=e.requestSession)),this},t.prototype.clear=function(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this},t.prototype.addBreadcrumb=function(t,e){var n="number"==typeof e?Math.min(e,100):100;if(n<=0)return this;var i=(0,r.pi)({timestamp:(0,o.yW)()},t);return this._breadcrumbs=(0,r.fl)(this._breadcrumbs,[i]).slice(-n),this._notifyScopeListeners(),this},t.prototype.clearBreadcrumbs=function(){return this._breadcrumbs=[],this._notifyScopeListeners(),this},t.prototype.applyToEvent=function(t,e){if(this._extra&&Object.keys(this._extra).length&&(t.extra=(0,r.pi)((0,r.pi)({},this._extra),t.extra)),this._tags&&Object.keys(this._tags).length&&(t.tags=(0,r.pi)((0,r.pi)({},this._tags),t.tags)),this._user&&Object.keys(this._user).length&&(t.user=(0,r.pi)((0,r.pi)({},this._user),t.user)),this._contexts&&Object.keys(this._contexts).length&&(t.contexts=(0,r.pi)((0,r.pi)({},this._contexts),t.contexts)),this._level&&(t.level=this._level),this._transactionName&&(t.transaction=this._transactionName),this._span){t.contexts=(0,r.pi)({trace:this._span.getTraceContext()},t.contexts);var n=this._span.transaction&&this._span.transaction.name;n&&(t.tags=(0,r.pi)({transaction:n},t.tags))}return this._applyFingerprint(t),t.breadcrumbs=(0,r.fl)(t.breadcrumbs||[],this._breadcrumbs),t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,t.sdkProcessingMetadata=this._sdkProcessingMetadata,this._notifyEventProcessors((0,r.fl)(c(),this._eventProcessors),t,e)},t.prototype.setSDKProcessingMetadata=function(t){return this._sdkProcessingMetadata=(0,r.pi)((0,r.pi)({},this._sdkProcessingMetadata),t),this},t.prototype._notifyEventProcessors=function(t,e,n,o){var a=this;return void 0===o&&(o=0),new s.cW((function(s,u){var c=t[o];if(null===e||"function"!=typeof c)s(e);else{var p=c((0,r.pi)({},e),n);(0,i.J8)(p)?p.then((function(e){return a._notifyEventProcessors(t,e,n,o+1).then(s)})).then(null,u):a._notifyEventProcessors(t,p,n,o+1).then(s).then(null,u)}}))},t.prototype._notifyScopeListeners=function(){var t=this;this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((function(e){e(t)})),this._notifyingListeners=!1)},t.prototype._applyFingerprint=function(t){t.fingerprint=t.fingerprint?Array.isArray(t.fingerprint)?t.fingerprint:[t.fingerprint]:[],this._fingerprint&&(t.fingerprint=t.fingerprint.concat(this._fingerprint)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint},t}();function c(){return(0,a.Y)("globalEventProcessors",(function(){return[]}))}function p(t){c().push(t)}},68907:(t,e,n)=>{n.d(e,{fl:()=>o,pi:()=>r});var r=function(){return r=Object.assign||function(t){for(var e,n=1,r=arguments.length;n0)&&!(r=o.next()).done;)s.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function o(){for(var t=[],e=0;e{n.d(e,{Tb:()=>a,uT:()=>u,e:()=>c,rJ:()=>p,$e:()=>f});var r=function(){return r=Object.assign||function(t){for(var e,n=1,r=arguments.length;n0)&&!(r=o.next()).done;)s.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}var o=n(36879);function s(t){for(var e=[],n=1;n{var r;n.d(e,{z:()=>r}),function(t){t.Fatal="fatal",t.Error="error",t.Warning="warning",t.Log="log",t.Info="info",t.Debug="debug",t.Critical="critical"}(r||(r={}))},58464:(t,e,n)=>{n.d(e,{R:()=>o,l:()=>a});var r=n(82991),i=n(67597);function o(t,e){try{for(var n=t,r=[],i=0,o=0,a=void 0;n&&i++<5&&!("html"===(a=s(n,e))||i>1&&o+3*r.length+a.length>=80);)r.push(a),o+=a.length,n=n.parentNode;return r.reverse().join(" > ")}catch(t){return""}}function s(t,e){var n,r,o,s,a,u=t,c=[];if(!u||!u.tagName)return"";c.push(u.tagName.toLowerCase());var p=e&&e.length?e.filter((function(t){return u.getAttribute(t)})).map((function(t){return[t,u.getAttribute(t)]})):null;if(p&&p.length)p.forEach((function(t){c.push("["+t[0]+'="'+t[1]+'"]')}));else if(u.id&&c.push("#"+u.id),(n=u.className)&&(0,i.HD)(n))for(r=n.split(/\s+/),a=0;a{n.d(e,{h:()=>r});var r="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},82991:(t,e,n)=>{n.d(e,{R:()=>o,Y:()=>s});var r=n(72176),i={};function o(){return(0,r.KV)()?n.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:i}function s(t,e,n){var r=n||o(),i=r.__SENTRY__=r.__SENTRY__||{};return i[t]||(i[t]=e())}},67597:(t,e,n)=>{n.d(e,{Cy:()=>y,HD:()=>c,J8:()=>v,Kj:()=>h,PO:()=>f,TX:()=>a,V9:()=>_,VW:()=>s,VZ:()=>i,cO:()=>l,fm:()=>u,i2:()=>g,kK:()=>d,pt:()=>p});var r=Object.prototype.toString;function i(t){switch(r.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return _(t,Error)}}function o(t,e){return r.call(t)==="[object "+e+"]"}function s(t){return o(t,"ErrorEvent")}function a(t){return o(t,"DOMError")}function u(t){return o(t,"DOMException")}function c(t){return o(t,"String")}function p(t){return null===t||"object"!=typeof t&&"function"!=typeof t}function f(t){return o(t,"Object")}function l(t){return"undefined"!=typeof Event&&_(t,Event)}function d(t){return"undefined"!=typeof Element&&_(t,Element)}function h(t){return o(t,"RegExp")}function v(t){return Boolean(t&&t.then&&"function"==typeof t.then)}function y(t){return f(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function g(t){return"number"==typeof t&&t!=t}function _(t,e){try{return t instanceof e}catch(t){return!1}}},12343:(t,e,n)=>{n.d(e,{Cf:()=>c,RU:()=>u,kg:()=>r});var r,i=n(50832),o=n(88795),s=n(82991),a=(0,s.R)(),u=["debug","info","warn","error","log","assert"];function c(t){var e=(0,s.R)();if(!("console"in e))return t();var n=e.console,r={};u.forEach((function(t){var i=n[t]&&n[t].__sentry_original__;t in e.console&&i&&(r[t]=n[t],n[t]=i)}));try{return t()}finally{Object.keys(r).forEach((function(t){n[t]=r[t]}))}}function p(){var t=!1,e={enable:function(){t=!0},disable:function(){t=!1}};return o.h?u.forEach((function(n){e[n]=function(){for(var e=[],r=0;r{n.d(e,{DM:()=>s,Db:()=>p,EG:()=>f,YO:()=>l,en:()=>a,jH:()=>c});var r=n(50832),i=n(82991),o=n(20535);function s(){var t=(0,i.R)(),e=t.crypto||t.msCrypto;if(void 0!==e&&e.getRandomValues){var n=new Uint16Array(8);e.getRandomValues(n),n[3]=4095&n[3]|16384,n[4]=16383&n[4]|32768;var r=function(t){for(var e=t.toString(16);e.length<4;)e="0"+e;return e};return r(n[0])+r(n[1])+r(n[2])+r(n[3])+r(n[4])+r(n[5])+r(n[6])+r(n[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)}))}function a(t){if(!t)return{};var e=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};var n=e[6]||"",r=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],relative:e[5]+n+r}}function u(t){return t.exception&&t.exception.values?t.exception.values[0]:void 0}function c(t){var e=t.message,n=t.event_id;if(e)return e;var r=u(t);return r?r.type&&r.value?r.type+": "+r.value:r.type||r.value||n||"":n||""}function p(t,e,n){var r=t.exception=t.exception||{},i=r.values=r.values||[],o=i[0]=i[0]||{};o.value||(o.value=e||""),o.type||(o.type=n||"Error")}function f(t,e){var n=u(t);if(n){var i=n.mechanism;if(n.mechanism=(0,r.pi)((0,r.pi)((0,r.pi)({},{type:"generic",handled:!0}),i),e),e&&"data"in e){var o=(0,r.pi)((0,r.pi)({},i&&i.data),e.data);n.mechanism.data=o}}}function l(t){if(t&&t.__sentry_captured__)return!0;try{(0,o.xp)(t,"__sentry_captured__",!0)}catch(t){}return!1}},72176:(t,e,n)=>{function r(){return!("undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&__SENTRY_BROWSER_BUNDLE__)&&"[object process]"===Object.prototype.toString.call(void 0!=={}?{}:0)}function i(t,e){return t.require(e)}n.d(e,{l$:()=>i,KV:()=>r}),t=n.hmd(t)},88007:(t,e,n)=>{n.d(e,{Fv:()=>a,Qy:()=>u});var r=n(50832),i=n(67597),o=n(20535),s=n(30360);function a(t,e,n){void 0===e&&(e=1/0),void 0===n&&(n=1/0);try{return c("",t,e,n)}catch(t){return{ERROR:"**non-serializable** ("+t+")"}}}function u(t,e,n){void 0===e&&(e=3),void 0===n&&(n=102400);var r,i=a(t,e);return r=i,function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(r))>n?u(t,e-1,n):i}function c(t,e,a,u,p){var f,l;void 0===a&&(a=1/0),void 0===u&&(u=1/0),void 0===p&&(f="function"==typeof WeakSet,l=f?new WeakSet:[],p=[function(t){if(f)return!!l.has(t)||(l.add(t),!1);for(var e=0;e=u){_[w]="[MaxProperties ~]";break}var S=b[w];_[w]=c(w,S,a-1,u,p),m+=1}return v(e),_}},20535:(t,e,n)=>{n.d(e,{$Q:()=>c,HK:()=>p,Jr:()=>y,Sh:()=>l,_j:()=>f,hl:()=>a,xp:()=>u,zf:()=>v});var r=n(50832),i=n(58464),o=n(67597),s=n(57321);function a(t,e,n){if(e in t){var r=t[e],i=n(r);if("function"==typeof i)try{c(i,r)}catch(t){}t[e]=i}}function u(t,e,n){Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}function c(t,e){var n=e.prototype||{};t.prototype=e.prototype=n,u(t,"__sentry_original__",e)}function p(t){return t.__sentry_original__}function f(t){return Object.keys(t).map((function(e){return encodeURIComponent(e)+"="+encodeURIComponent(t[e])})).join("&")}function l(t){var e=t;if((0,o.VZ)(t))e=(0,r.pi)({message:t.message,name:t.name,stack:t.stack},h(t));else if((0,o.cO)(t)){var n=t;e=(0,r.pi)({type:n.type,target:d(n.target),currentTarget:d(n.currentTarget)},h(n)),"undefined"!=typeof CustomEvent&&(0,o.V9)(t,CustomEvent)&&(e.detail=n.detail)}return e}function d(t){try{return(0,o.kK)(t)?(0,i.R)(t):Object.prototype.toString.call(t)}catch(t){return""}}function h(t){var e={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function v(t,e){void 0===e&&(e=40);var n=Object.keys(l(t));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=e)return(0,s.$G)(n[0],e);for(var r=n.length;r>0;r--){var i=n.slice(0,r).join(", ");if(!(i.length>e))return r===n.length?i:(0,s.$G)(i,e)}return""}function y(t){var e,n;if((0,o.PO)(t)){var i={};try{for(var s=(0,r.XA)(Object.keys(t)),a=s.next();!a.done;a=s.next()){var u=a.value;void 0!==t[u]&&(i[u]=y(t[u]))}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=s.return)&&n.call(s)}finally{if(e)throw e.error}}return i}return Array.isArray(t)?t.map(y):t}},890:(t,e,n)=>{n.d(e,{E:()=>o});var r=n(13819),i=["fatal","error","warning","log","info","debug","critical"];function o(t){return"warn"===t?r.z.Warning:function(t){return-1!==i.indexOf(t)}(t)?t:r.z.Log}},30360:(t,e,n)=>{n.d(e,{$P:()=>a,pE:()=>o});var r=n(50832),i=50;function o(){for(var t=[],e=0;e{n.d(e,{$G:()=>i,nK:()=>o,zC:()=>s});var r=n(67597);function i(t,e){return void 0===e&&(e=0),"string"!=typeof t||0===e||t.length<=e?t:t.substr(0,e)+"..."}function o(t,e){if(!Array.isArray(t))return"";for(var n=[],r=0;r{n.d(e,{$2:()=>o,WD:()=>i,cW:()=>s});var r=n(67597);function i(t){return new s((function(e){e(t)}))}function o(t){return new s((function(e,n){n(t)}))}var s=function(){function t(t){var e=this;this._state=0,this._handlers=[],this._resolve=function(t){e._setResult(1,t)},this._reject=function(t){e._setResult(2,t)},this._setResult=function(t,n){0===e._state&&((0,r.J8)(n)?n.then(e._resolve,e._reject):(e._state=t,e._value=n,e._executeHandlers()))},this._executeHandlers=function(){if(0!==e._state){var t=e._handlers.slice();e._handlers=[],t.forEach((function(t){t[0]||(1===e._state&&t[1](e._value),2===e._state&&t[2](e._value),t[0]=!0)}))}};try{t(this._resolve,this._reject)}catch(t){this._reject(t)}}return t.prototype.then=function(e,n){var r=this;return new t((function(t,i){r._handlers.push([!1,function(n){if(e)try{t(e(n))}catch(t){i(t)}else t(n)},function(e){if(n)try{t(n(e))}catch(t){i(t)}else i(e)}]),r._executeHandlers()}))},t.prototype.catch=function(t){return this.then((function(t){return t}),t)},t.prototype.finally=function(e){var n=this;return new t((function(t,r){var i,o;return n.then((function(t){o=!1,i=t,e&&e()}),(function(t){o=!0,i=t,e&&e()})).then((function(){o?r(i):t(i)}))}))},t}()},21170:(t,e,n)=>{n.d(e,{ph:()=>c,yW:()=>u});var r=n(82991),i=n(72176);t=n.hmd(t);var o={nowSeconds:function(){return Date.now()/1e3}},s=(0,i.KV)()?function(){try{return(0,i.l$)(t,"perf_hooks").performance}catch(t){return}}():function(){var t=(0,r.R)().performance;if(t&&t.now)return{now:function(){return t.now()},timeOrigin:Date.now()-t.now()}}(),a=void 0===s?o:{nowSeconds:function(){return(s.timeOrigin+s.now())/1e3}},u=o.nowSeconds.bind(o),c=a.nowSeconds.bind(a);!function(){var t=(0,r.R)().performance;if(t&&t.now){var e=36e5,n=t.now(),i=Date.now(),o=t.timeOrigin?Math.abs(t.timeOrigin+n-i):e,s=o{n.d(e,{CR:()=>a,XA:()=>s,ZT:()=>i,fl:()=>u,pi:()=>o});var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},r(t,e)};function i(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function a(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function u(){for(var t=[],e=0;e{n.d(e,{Z:()=>r});const r={stgWacInternalUrl:"https://wac.stg.internal.atlassian.com"}},96821:(t,e,n)=>{n.r(e);var r=n(69653),i=n(71371),o=n(13819),s=n(68332),a=["https://web-analytics.engagio.com/","https://match.prod.bidr.io/","https://id.rlcdn.com/","https://platform.twitter.com/","https://connect.facebook.net/","https://cdnssl.clicktale.net/","https://googleads.g.doubleclick.net/","https://scripts.demandbase.com/","https://munchkin.marketo.net/","https://analytics.twitter.com/","https://snap.licdn.com/","https://www.googletagmanager.com/","https://www.googleadservices.com/","https://www.google-analytics.com/","https://www.redditstatic.com/","https://api.autopilothq.com/","https://cdn.bizible.com/","https://a.quora.com/","https://www.google.com/"],u=s.Z.getEnvironment();r.S1({dsn:"https://1c1d742244454a16842f0bf5a72c06a2@o55978.ingest.sentry.io/5988886",environment:u,release:"master-9671"});var c=function(t){if(t.target){var e="undefined",n="unknown",r=o.z.Error,s=t.target;if(s&&s.tagName){var u=(e="".concat(s.tagName)).toLowerCase();"img"===u?n="".concat(s.src):"link"===u?n="".concat(s.href):"script"===u&&(n="".concat(s.src))}(function(t){var e=/^https?:\/\/.*?\//.exec(t);return!e||!a.includes(e[0])})(n)&&(n=n.replace(/[?#].*$/i,""),i.uT('Uncaught error event from "'.concat(e,'", source: ').concat(n),r))}else i.uT("Error without target, type: ".concat(t.type||"unknown"),o.z.Error)},p=function(t){t.addEventListener("error",c,!0)};p(document),"loading"!==document.readyState?p(document.body):window.addEventListener("DOMContentLoaded",(function(){p(document.body)}))},68332:(t,e,n)=>{n.d(e,{Z:()=>l});var r=n(49208);function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function o(t,e){for(var n=0;n1?t[2]:"":t[1]}},{key:"isStagingPublicEnvironment",value:function(){return this.getWindowLocation().hostname.indexOf("wac.stg.internal.atlassian")>-1||this.getWindowLocation().hostname.indexOf("qa-wac.atlassian")>-1}},{key:"getEnvironment",value:function(){if(window.location.search.includes("forceProdTesting=true"))return f;switch(this.getSubdomain()){case"wac":case"qa-wac":case"author":case"proof":default:return p;case"localhost":case"local":return"dev";case"truth":case"www":case"atlassian":case"bitbucket":case"sourcetreeapp":case"agile":case"git":case"software":return f}}},{key:"getInternationalSubdomain",value:function(){var t=this.getSubdomain();return-1!==["cn","cs","de","es","fr","it","ko","hu","nl","ja","pl","br","ro","fi","ru"].indexOf(t)&&t}},{key:"getInternationalSubdirectory",value:function(){var t=this.getSubdirectory();return-1!==["zh","cs","de","es","fr","it","ko","hu","nl","ja","pl","br","ro","fi","ru"].indexOf(t)&&t}},{key:"isInternationalSubdomain",value:function(){return!!this.getInternationalSubdomain()}},{key:"production",value:function(){return f}},{key:"staging",value:function(){return p}},{key:"dev",value:function(){return"dev"}},{key:"author",value:function(){return"author"}},{key:"isProduction",value:function(){return this.getEnvironment()===this.production()}},{key:"isStaging",value:function(){return this.getEnvironment()===this.staging()}},{key:"isDev",value:function(){return this.getEnvironment()===this.dev()}},{key:"isAuthor",value:function(){return this.getSubdomain()===this.author()}},{key:"getIdentityBaseUrl",value:function(){return this.isStaging()||this.isDev()?"https://id.stg.internal.atlassian.com":"https://id.atlassian.com"}},{key:"getLoginUrl",value:function(t){var e=this.getWindowLocation().href;return t?"".concat(this.getIdentityBaseUrl(),"/login?continue=").concat(e):"".concat(this.getIdentityBaseUrl(),"/login?continue=").concat(encodeURIComponent(e))}},{key:"getLogoutUrl",value:function(){var t=this.getWindowLocation().href;return"".concat(this.getIdentityBaseUrl(),"/logout?continue=").concat(encodeURIComponent(t))}},{key:"getSwitchAccountURL",value:function(t){var e=t||this.getWindowLocation().href;return"".concat(this.getIdentityBaseUrl(),"/login/select-account?continue=").concat(encodeURIComponent(e))}},{key:"getManageProfileUrl",value:function(t){var e=encodeURIComponent("wac"),n=encodeURIComponent("".concat(this.getIdentityBaseUrl(),"/manage-profile")),r=encodeURIComponent(t);return"".concat(this.getIdentityBaseUrl(),"/login?application=").concat(e,"&continue=").concat(n,"&login_hint=").concat(r)}},{key:"getMacUrl",value:function(){return this.isStaging()||this.isDev()?"https://my.stg.internal.atlassian.com":"https://my.atlassian.com"}},{key:"getStartUrl",value:function(){return this.isStaging()||this.isDev()?"https://start.stg.atlassian.com":"https://start.atlassian.com"}},{key:"getAPIPrivateURL",value:function(){return this.isStaging()||this.isDev()?"https://wac.stg.internal.atlassian.com/gateway/api":"https://www.atlassian.com/gateway/api"}},{key:"getMyAdminAtlasBaseURL",value:function(){return this.isStaging()||this.isDev()?"https://admin.stg.atlassian.com":"https://admin.atlassian.com"}},{key:"getBaseURL",value:function(){return this.isStaging()||this.isDev()?"https://wac.stg.internal.atlassian.com":"https://www.atlassian.com"}},{key:"getWacIntegrationUrl",value:function(){if(this.isStaging()||this.isDev()){var t=window.location.hostname.indexOf("qa-wac")>-1||window.location.hostname.indexOf("author")>-1;return"".concat(t?"https://qa-wac.internal.atlassian.com":r.Z.stgWacInternalUrl)}return"https://www.atlassian.com"}},{key:"getBBIntegrationUrl",value:function(){return this.isStaging()||this.isDev()?"https://integration.bb-inf.net":"https://bitbucket.org"}}],null&&o(e.prototype,null),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();a=l,c=function(){return l.getEnvironment()===f?".atlassian.net":".jira-dev.com"},(u=s(u="getProductTld"))in a?Object.defineProperty(a,u,{value:c,enumerable:!0,configurable:!0,writable:!0}):a[u]=c}}]); //# sourceMappingURL=/static/master/9671/assets/build/js/chunks/9f36caad58beab.js.map