varr=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceofArray&&function(t,e){t.__proto__=e}||function(t,e){for(varnine)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};functioni(t,e){functionn(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,newn)}varo=function(){return(o=Object.assign||function(t){for(vare,n=1,r=arguments.length;n<r;n++)for(variine=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);returnt}).apply(this,arguments)};functiona(t,e){varn={};for(varrint)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeofObject.getOwnPropertySymbols){vari=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]])}returnn}functions(t,e,n,r){vari,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeofReflect&&"function"==typeofReflect.decorate)a=Reflect.decorate(t,e,n,r);elsefor(vars=t.length-1;s>=0;s--)(i=t[s])&&(a=(o<3?i(a):o>3?i(e,n,a):i(e,n))||a);returno>3&&a&&Object.defineProperty(e,n,a),a}functionu(t,e){returnfunction(n,r){e(n,r,t)}}functionc(t,e){if("object"==typeofReflect&&"function"==typeofReflect.metadata)returnReflect.metadata(t,e)}functionf(t,e,n,r){returnnew(n||(n=Promise))((function(i,o){functiona(t){try{u(r.next(t))}catch(t){o(t)}}functions(t){try{u(r.throw(t))}catch(t){o(t)}}functionu(t){vare;t.done?i(t.value):(e=t.value,einstanceofn?e:newn((function(t){t(e)}))).then(a,s)}u((r=r.apply(t,e||[])).next())}))}functiond(t,e){varn,r,i,o,a={label:0,sent:function(){if(1&i[0])throwi[1];returni[1]},trys:[],ops:[]};returno={next:s(0),throw:s(1),return:s(2)},"function"==typeofSymbol&&(o[Symbol.iterator]=function(){returnthis}),o;functions(o){returnfunction(s){returnfunction(o){if(n)thrownewTypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)returni;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case0:case1:i=o;break;case4:returna.label++,{value:o[1],done:!1};case5:a.label++,r=o[1],o=[0];continue;case7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(t){o=[6,t],r=0}finally{n=i=0}if(5&o[0])throwo[1];return{value:o[0]?o[1]:void0,done:!0}}([o,s])}}}functionp(t,e,n,r){void0===r&&(r=n),t[r]=e[n]}functionl(t,e){for(varnint)"default"===n||e.hasOwnProperty(n)||(e[n]=t[n])}functionh(t){vare="function"==typeofSymbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)returnn.call(t);if(t&&"number"==typeoft.length)return{next:function(){returnt&&r>=t.length&&(t=void0),{value:t&&t[r++],done:!t}}};thrownewTypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function_(t,e){varn="function"==typeofSymbol&&t[Symbol.iterator];if(!n)returnt;varr,i,o=n.call(t),a=[];try{for(;(void0===e||e-->0)&&!(r=o.next()).done;)a.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throwi.error}}returna}functionv(){for(vart=[],e=0;e<arguments.length;e++)t=t.concat(_(arguments[e]));returnt}functiong(){for(vart=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;varr=Array(t),i=0;for(e=0;e<n;e++)for(varo=arguments[e],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];returnr}functionb(t){returnthisinstanceofb?(this.v=t,this):newb(t)}functiony(t,e,n){if(!Symbol.asyncIterator)thrownewTypeError("Symbol.asyncIterator is not defined.");varr,i=n.apply(t,e||[]),o=[];returnr={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){returnthis},r;functiona(t){i[t]&&(r[t]=function(e){returnnewPromise((function(n,r){o.push([t,e,n,r])>1||s(t,e)}))})}functions(t,e){try{(n=i[t](e)).valueinstanceofb?Promise.resolve(n.value.v).then(u,c):f(o[0][2],n)}catch(t){f(o[0][3],t)}varn}functionu(t){s("next",t)}functionc(t){s("throw",t)}functionf(t,e){t(e),o.shift(),o.length&&s(o[0][0],o[0][1])}}functionm(t){vare,n;returne={},r("next"),r("throw",(function(t){throwt})),r("return"),e[Symbol.iterator]=function(){returnthis},e;functionr(r,i){e[r]=t[r]?function(e){return(n=!n)?{value:b(t[r](e)),done:"return"===r}:i?i(e):e}:i}}functionO(t){if(!Symbol.asyncIterator)thrownewTypeError("Symbol.asyncIterator is not defined.");vare,n=t[Symbol.asyncIterator];returnn?n.call(t):(t=h(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){returnthis},e);functionr(n){e[n]=t[n]&&function(e){returnnewPromise((function(r,i){(function(t,e,n,r){Promise.resolve(r).then((function(e){t({value:e,done:n})}),e)})(r,i,(e=t[n](e)).done,e.value)}))}}}functionj(t,e){returnObject.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}functionE(t){if(t&&t.__esModule)returnt;vare={};if(null!=t)for(varnint)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);returne.default=t,e}functionS(t){returnt&&t.__esModule?t:{default:t}}functionw(t,e){if(!e.has(t))thrownewTypeError("attempted to get private field on non-instance");returne.get(t)}functionx(t,e,n){if(!e.has(t))thrownewTypeError("attempted to set private field on non-instance");returne.set(t,n),n}},function(t,e,n){"use strict";n.d(e,"d",(function(){returni})),n.d(e,"e",(function(){returna})),n.d(e,"a",(function(){returns})),n.d(e,"b",(function(){returnu})),n.d(e,"l",(function(){returnc})),n.d(e,"j",(function(){returnf})),n.d(e,"i",(function(){returnd})),n.d(e,"f",(function(){returnp})),n.d(e,"c",(function(){returnl})),n.d(e,"k",(function(){returnh})),n.d(e,"n",(function(){return_})),n.d(e,"m",(function(){returnv})),n.d(e,"h",(function(){returng})),n.d(e,"g",(function(){returnb}));varr=Object.prototype.toString;functioni(t){switch(r.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:returnb(t,Error)}}functiono(t,e){returnr.call(t)==="[object "+e+"]"}functiona(t){returno(t,"ErrorEvent")}functions(t){returno(t,"DOMError")}functionu(t){returno(t,"DOMException")}functionc(t){returno(t,"String")}functionf(t){returnnull===t||"object"!=typeoft&&"function"!=typeoft}functiond(t){returno(t,"Object")}functionp(t){return"undefined"!=typeofEvent&&b(t,Event)}functionl(t){return"undefined"!=typeofElement&&b(t,Element)}functionh(t){returno(t,"RegExp")}function_(t){returnBoolean(t&&t.then&&"function"==typeoft.then)}functionv(t){returnd(t)&&"nativeEvent"int&&"preventDefault"int&&"stopPropagation"int}functiong(t){return"number"==typeoft&&t!=t}functionb(t,e){try{returntinstanceofe}catch(t){return!1}}},function(t,e,n){"use strict";functionr(t){t.then(null,(function(t){console.error(t)}))}n.r(e),n.d(e,"forget",(function(){returnr})),n.d(e,"htmlTreeAsString",(function(){returni.b})),n.d(e,"getLocationHref",(function(){returni.a})),n.d(e,"dsnToString",(function(){returno.a})),n.d(e,"makeDsn",(function(){returno.b})),n.d(e,"SeverityLevels",(function(){returna})),n.d(e,"SentryError",(function(){returns.a})),n.d(e,"getGlobalObject",(function(){returnu.a})),n.d(e,"getGlobalSingleton",(function(){returnu.b})),n.d(e,"addInstrumentationHandler",(function(){returnP})),n.d(e,"isError",(function(){returnd.d})),n.d(e,"isErrorEvent",(function(){returnd.e})),n.d(e,"isDOMError",(function(){returnd.a})),n.d(e,"isDOMException",(function(){returnd.b})),n.d(e,"isString",(function(){returnd.l})),n.d(e,"isPrimitive",(function(){returnd.j})),n.d(e,"isPlainObject",(function(){returnd.i})),n.d(e,"isEvent",(function(){returnd.f})),n.d(e,"isElement",(function(){returnd.c})),n.d(e,"isRegExp",(function(){returnd.k})),n.d(e,"isThenable",(function(){returnd.n})),n.d(e,"isSyntheticEvent",(function(){returnd.m})),n.d(e,"isNaN",(function(){returnd.h})),n.d(e,"isInstanceOf",(function(){returnd.g})),n.d(e,"CONSOLE_LEVELS",(function(){returnp.a})),n.d(e,"consoleSandbox",(function(){returnp.b})),n.d(e,"logger",(function(){returnp.c})),n.d(e,"memoBuilder",(function(){returnF.a})),n.d(e,"uuid4",(function(){returnL.i})),n.d(e,"parseUrl",(function(){returnL.g})),n.d(e,"getEventDescription",(function(){returnL.e})),n.d(e,"addExceptionTypeValue",(function(){returnL.c})),n.d(e,"addExceptionMechanism",(function(){returnL.b})),n.d(e,"parseSemver",(function(){returnL.f})),n.d(e,"addContextToFrame",(function(){returnL.a})),n.d(e,"stripUrlQueryAndFragment",(function(){returnL.h})),n.d(e,"checkOrSetAlreadyCaught",(function(){returnL.d})),n.d(e,"isNodeEnv",(function(){returnU.b})),n.d(e,"dynamicRequire",(function(){returnU.a})),n.d(e,"loadModule",(function(){returnU.c})),n.d(e,"normalize",(function(){returnB.a})),n.d(e,"normalizeToSize",(function(){returnB.b})),n.d(e,"walk",(function(){returnB.c})),n.d(e,"fill",(function(){returnl.e})),n.d(e,"addNonEnumerableProperty",(function(){returnl.a})),n.d(e,"markFunctionWrapped",(function(){returnl.g})),n.d(e,"getOriginalFunction",(function(){returnl.f})),n.d(e,"urlEncode",(function(){returnl.i})),n.d(e,"convertToPlainObject",(function(){returnl.b})),n.d(e,"extractExceptionKeysForMessage",(function(){returnl.d})),n.d(e,"dropUndefinedKeys",(function(){returnl.c})),n.d(e,"objectify",(function(){returnl.h})),n.d(e,"resolve",(function(){returnW})),n.d(e,"relative",(function(){returnY})),n.d(e,"normalizePath",(function(){returnV})),n.d(e,"isAbsolute",(function(){returnJ})),n.d(e,"join",(function(){return$})),n.d(e,"dirname",(function(){returnX})),n.d(e,"basename",(function(){returnZ})),n.d(e,"makePromiseBuffer",(function(){returnQ.a})),n.d(e,"severityFromString",(function(){returnet})),n.d(e,"createStackParser",(function(){returnh.a})),n.d(e,"stripSentryFramesAndReverse",(function(){returnh.c})),n.d(e,"getFunctionName",(function(){returnh.b})),n.d(e,"eventStatusFromHttpCode",(function(){returnnt.a})),n.d(e,"truncate",(function(){returnrt.e})),n.d(e,"snipLine",(function(){returnrt.d})),n.d(e,"safeJoin",(function(){returnrt.c})),n.d(e,"isMatchingPattern",(function(){returnrt.b})),n.d(e,"escapeStringForRegex",(function(){returnrt.a})),n.d(e,"supportsErrorEvent",(function(){return_})),n.d(e,"supportsDOMError",(function(){returnv})),n.d(e,"supportsDOMException",(function(){returng})),n.d(e,"supportsFetch",(function(){returnb})),n.d(e,"isNativeFetch",(function(){returny})),n.d(e,"supportsNativeFetch",(function(){returnm})),n.d(e,"supportsReportingObserver",(function(){returnO})),n.d(e,"supportsReferrerPolicy",(function(){returnj})),n.d(e,"supportsHistory",(function(){returnE})),n.d(e,"resolvedSyncPromise",(function(){returnit.c})),n.d(e,"rejectedSyncPromise",(function(){returnit.b})),n.d(e,"SyncPromise",(function(){returnit.a})),n.d(e,"dateTimestampInSeconds",(function(){returnot.c})),n.d(e,"timestampInSeconds",(function(){returnot.d})),n.d(e,"timestampWithMs",(function(){returnot.e})),n.d(e,"usingPerformanceAPI",(function(){returnot.f})),n.d(e,"_browserPerformanceTimeOriginMode",(function(){returnot.a})),n.d(e,"browserPerformanceTimeOrigin",(function(){returnot.b})),n.d(e,"TRACEPARENT_REGEXP",(function(){returnat})),n.d(e,"extractTraceparentData",(function(){returnst})),n.d(e,"isBrowserBundle",(function(){returnut.a})),n.d(e,"createEnvelope",(function(){returnct.b})),n.d(e,"addItemToEnvelope",(function(){returnct.a})),n.d(e,"getEnvelopeType",(function(){returnct.c})),n.d(e,"serializeEnvelope",(function(){returnct.d})),n.d(e,"createClientReportEnvelope",(function(){returnft})),n.d(e,"DEFAULT_RETRY_AFTER",(function(){returndt.a})),n.d(e,"parseRetryAfterHeader",(function(){returndt.d})),n.d(e,"disabledUntil",(function(){returndt.b})),n.d(e,"isRateLimited",(function(){returndt.c})),n.d(e,"updateRateLimits",(function(){returndt.e}));vari=n(18),o=n(26),a=["fatal","error","warning","log","info","debug","critical"],s=n(7),u=n(3),c=n(0),f=n(6),d=n(1),p=n(9),l=n(4),h=n(11);function_(){try{returnnewErrorEvent(""),!0}catch(t){return!1}}functionv(){try{returnnewDOMError(""),!0}catch(t){return!1}}functiong(){try{returnnewDOMException(""),!0}catch(t){return!1}}functionb(){if(!("fetch"inObject(u.a)()))return!1;try{returnnewHeaders,newRequest(""),newResponse,!0}catch(t){return!1}}functiony(t){returnt&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}functionm(){if(!b())return!1;vart=Object(u.a)();if(y(t.fetch))return!0;vare=!1,n=t.document;if(n&&"function"==typeofn.createElement)try{varr=n.createElement("iframe");r.hidden=!0,n.head.appendChild(r),r.contentWindow&&r.contentWindow.fetch&&(e=y(r.contentWindow.fetch)),n.head.removeChild(r)}catch(t){f.a&&p.c.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}returne}functionO(){return"ReportingObserver"inObject(u.a)()}functionj(){if(!b())return!1;try{returnnewRequest("_",{referrerPolicy:"origin"}),!0}catch(t){return!1}}functionE(){vart=Object(u.a)(),e=t.chrome,n=e&&e.app&&e.app.runtime,r="history"int&&!!t.history.pushState&&!!t.history.replaceState;return!n&&r}varS,w=Object(u.a)(),x={},k={};functionT(t){if(!k[t])switch(k[t]=!0,t){case"console":!function(){if(!("console"inw))return;p.a.forEach((function(t){tinw.console&&Object(l.e)(w.console,t,(function(e){returnfunction(){for(varn=[],r=0;r<arguments.length;r++)n[r]=arguments[r];M("console",{args:n,level:t}),e&&e.apply(w.console,n)}}))}))}();break;case"dom":!function(){if(!("document"inw))return;vart=M.bind(null,"dom"),e=C(t,!0);w.document.addEventListener("click",e,!1),w.document.addEventListener("keypress",e,!1),["EventTarget","Node"].forEach((function(e){varn=w[e]&&w[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(Object(l.e)(n,"addEventListener",(function(e){returnfunction(n,r,i){if("click"===n||"keypress"==n)try{varo=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},a=o[n]=o[n]||{refCount:0};if(!a.handler){vars=C(t);a.handler=s,e.call(this,n,s,i)}a.refCount+=1}catch(t){}returne.call(this,n,r,i)}})),Object(l.e)(n,"removeEventListener",(function(t){returnfunction(e,n,r){if("click"===e||"keypress"==e)try{vari=this.__sentry_instrumentation_handlers__||{},o=i[e];o&&(o.refCount-=1,o.refCount<=0&&(t.call(this,e,o.handler,r),o.handler=void0,deletei[e]),0===Object.keys(i).length&&deletethis.__sentry_instrumentation_handlers__)}catch(t){}returnt.call(this,e,n,r)}})))}))}();break;case"xhr":!function(){if(!("XMLHttpRequest"inw))return;vart=XMLHttpRequest.prototype;Object(l.e)(t,"open",(function(t){returnfunction(){for(vare=[],n=0;n<arguments.length;n++)e[n]=arguments[n];varr=this,i=e[1],o=r.__sentry_xhr__={method:Object(d.l)(e[0])?e[0].toUpperCase():e[0],url:e[1]};Object(d.l)(i)&&"POST"===o.method&&i.match(/sentry_key/)&&(r.__sentry_own_request__=!0);vara=function(){if(4===r.readyState){try{o.status_code=r.status}catch(t){}M("xhr",{args:e,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:r})}};return"onreadystatechange"inr&&"function"==typeofr.onreadystatechange?Object(l.e)(r,"onreadystatechange",(function(t){returnfunction(){for(vare=[],n=0;n<arguments.length;n++)e[n]=arguments[n];returna(),t.apply(r,e)}})):r.addEventListener("readystatechange",a),t.apply(r,e)}})),Object(l.e)(t,"send",(function(t){returnfunction(){for(vare=[],n=0;n<arguments.length;n++)e[n]=arguments[n];returnthis.__sentry_xhr__&&void0!==e[0]&&(this.__sentry_xhr__.body=e[0]),M("xhr",{args:e,startTimestamp:Date.now(),xhr:this}),t.apply(this,e)}}))}();break;case"fetch":!function(){if(!m())return;Object(l.e)(w,"fetch",(function(t){returnfunction(){for(vare=[],n=0;n<arguments.length;n++)e[n]=arguments[n];varr={args:e,fetchData:{method:I(e),url:N(e)},startTimestamp:Date.now()};returnM("fetch",Object(c.__assign)({},r)),t.apply(w,e).then((function(t){returnM("fetch",Object(c.__assign)(Object(c.__assign)({},r),{endTimestamp:Date.now(),response:t})),t}),(function(t){throwM("fetch",Object(c.__assign)(Object(c.__assign)({},r),{endTimestamp:Date.now(),error:t})),t}))}}))}();break;case"history":!function(){if(!E())return;vart=w.onpopstate;functione(t){returnfunction(){for(vare=[],n=0;n<arguments.length;n++)e[n]=arguments[n];varr=e.length>2?e[2]:void0;if(r){vari=S,o=String(r);S=o,M("history",{from:i,to:o})}returnt.apply(this,e)}}w.onpopstate=function(){for(vare=[],n=0;n<arguments.length;n++)e[n]=arguments[n];varr=w.location.href,i=S;if(S=r,M("history",{from:i,to:r}),t)try{returnt.apply(this,e)}catch(t){}},Object(l.e)(w.history,"pushState",e),Object(l.e)(w.history,"replaceState",e)}();break;case"error":A=w.onerror,w.onerror=function(t,e,n,r,i){returnM("error",{column:r,error:i,line:n,msg:t,url:e}),!!A&&A.apply(this,arguments)};break;case"unhandledrejection":H=w.onunhandledrejection,w.onunhandledrejection=function(t){returnM("unhandledrejection",t),!H||H.apply(this,arguments)};break;default:returnvoid(f.a&&p.c.warn("unknown instrumentation type:",t))}}functionP(t,e){x[t]=x[t]||[],x[t].push(e),T(t)}functionM(t,e){varn,r;if(t&&x[t])try{for(vari=Object(c.__values)(x[t]||[]),o=i.next();!o.done;o=i.next()){vara=o.value;try{a(e)}catch(e){f.a&&p.c.error("Error while triggering instrumentation handler.\nType: "+t+"\nName: "+Object(h.b)(a)+"\nError:",e)}}}catch(t){n={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)thrown.error}}}functionI(t){returnvoid0===t&&(t=[]),"Request"inw&&Object(d.g)(t[0],Request)&&t[0].method?String(t[0].method).toUpperCase():t[1]&&t[1].method?String(t[1].method).toUpperCase():"GET"}functionN(t){returnvoid0===t&&(t=[]),"string"==typeoft[0]?t[0]:"Request"inw&&Object(d.g)(t[0],Request)?t[0].url:String(t[0])}varR,D;functionC(t,e){returnvoid0===e&&(e=!1),function(n){if(n&&D!==n&&!function(t){if("keypress"!==t.type)return!1;try{vare=t.target;if(!e||!e.tagName)return!0;if("INPUT"===e.tagName||"TEXTAREA"===e.tagName||e.isContentEditable)return!1}catch(t){}return!0}(n)){varr="keypress"===n.type?"input":n.type;(void0===R||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}(D,n))&&(t({event:n,name:r,global:e}),D=n),clearTimeout(R),R=w.setTimeout((function(){R=void0}),1e3)}}}varA=null;varH=null;varF=n(19),L=n(25),U=n(10),B=n(27);functionq(t,e){for(varn=0,r=t.length-1;r>=0;r--){vari=t[r];"."===i?t.splice(r,1):".."===i?(t.splice(r,1),n++):n&&(t.splice(r,1),n--)}if(e)for(;n--;n)t.unshift("..");returnt}varG=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^/]+?|)(\.[^./]*|))(?:[/]*)$/;functionz(t){vare=G.exec(t);returne?e.slice(1):[]}functionW(){for(vart=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(varn="",r=!1,i=t.length-1;i>=-1&&!r;i--){varo=i>=0?t[i]:"/";o&&(n=o+"/"+n,r="/"===o.charAt(0))}return(r?"/":"")+(n=q(n.split("/").filter((function(t){return!!t})),!r).join("/"))||"."}functionK(t){for(vare=0;e<t.length&&""===t[e];e++);for(varn=t.length-1;n>=0&&""===t[n];n--);returne>n?[]:t.slice(e,n-e+1)}functionY(t,e){t=W(t).substr(1),e=W(e).substr(1);for(varn=K(t.split("/")),r=K(e.split("/")),i=Math.min(n.length,r.length),o=i,a=0;a<i;a++)if(n[a]!==r[a]){o=a;break}vars=[];for(a=o;a<n.length;a++)s.push("..");return(s=s.concat(r.slice(o))).join("/")}functionV(t){vare=J(t),n="/"===t.substr(-1),r=q(t.split("/").filter((function(t){return!!t})),!e).join("/");returnr||e||(r="."),r&&n&&(r+="/"),(e?"/":"")+r}functionJ(t){return"/"===t.charAt(0)}function$(){for(vart=[],e=0;e<arguments.length;e++)t[e]=arguments[e];returnV(t.join("/"))}functionX(t){vare=z(t),n=e[0],r=e[1];returnn||r?(r&&(r=r.substr(0,r.length-1)),n+r):"."}functionZ(t,e){varn=z(t)[2];returne&&n.substr(-1*e.length)===e&&(n=n.substr(0,n.length-e.length)),n}varQ=n(28),tt=n(14);functionet(t){return"warn"===t?tt.a.Warning:function(t){return-1!==a.indexOf(t)}(t)?t:tt.a.Log}varnt=n(30),rt=n(8),it=n(12),ot=n(16),at=newRegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");functionst(t){vare=t.match(at);if(e){varn=void0;return"1"===e[3]?n=!0:"0"===e[3]&&(n=!1),{traceId:e[1],parentSampled:n,parentSpanId:e[2]}}}varut=n(17),ct=n(20);functionft(t,e,n){varr=[{type:"client_report"},{timestamp:n||Object(ot.c)(),discarded_events:t}];returnObject(ct.b)(e?{dsn:e}:{},[r])}vardt=n(29)},function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){returno})),n.d(e,"b",(function(){returna}));varr=n(10),i={};functiono(){returnObject(r.b)()?t:"undefined"!=typeofwindow?window:"undefined"!=typeofself?self:i}functiona(t,e,n){varr=n||o(),i=r.__SENTRY__=r.__SENTRY__||{};returni[t]||(i[t]=e())}}).call(this,n(24))},function(t,e,n){"use strict";n.d(e,"e",(function(){returns})),n.d(e,"a",(function(){returnu})),n.d(e,"g",(function(){returnc})),n.d(e,"f",(function(){returnf})),n.d(e,"i",(function(){returnd})),n.d(e,"b",(function(){returnp})),n.d(e,"d",(function(){return_})),n.d(e,"c",(function(){returnv})),n.d(e,"h",(function(){returng}));varr=n(0),i=n(18),o=n(1),a=n(8);functions(t,e,n){if(eint){varr=t[e],i=n(r);if("function"==typeofi)try{c(i,r)}catch(t){}t[e]=i}}functionu(t,e,n){Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}functionc(t,e){varn=e.prototype||{};t.prototype=e.prototype=n,u(t,"__sentry_original__",e)}functionf(t){returnt.__sentry_original__}functiond(t){returnObject.keys(t).map((function(e){returnencodeURIComponent(e)+"="+encodeURIComponent(t[e])})).join("&")}functionp(t){vare=t;if(Object(o.d)(t))e=Object(r.__assign)({message:t.message,name:t.name,stack:t.stack},h(t));elseif(Object(o.f)(t)){varn=t;e=Object(r.__assign)({type:n.type,target:l(n.target),currentTarget:l(n.currentTarget)},h(n)),"undefined"!=typeofCustomEvent&&Object(o.g)(t,CustomEvent)&&(e.detail=n.detail)}returne}functionl(t){try{returnObject(o.c)(t)?Object(i.b)(t):Object.prototype.toString.call(t)}catch(t){return"<unknown>"}}functionh(t){vare={};for(varnint)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);returne}function_(t,e){void0===e&&(e=40);varn=Object.keys(p(t));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=e)returnObject(a.e)(n[0],e);for(varr=n.length;r>0;r--){vari=n.slice(0,r).join(", ");if(!(i.length>e))returnr===n.length?i:Object(a.e)(i,e)}return""}functionv(t){vare,n;if(Object(o.i)(t)){vari={};try{for(vara=Object(r.__values)(Object.keys(t)),s=a.next();!s.done;s=a.next()){varu=s.value;void0!==t[u]&&(i[u]=v(t[u]))}}catch(t){e={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(e)throwe.error}}returni}returnArray.isArray(t)?t.map(v):t}functiong(t){vare;switch(!0){casenull==t:e=newString(t);break;case"symbol"==typeoft||"bigint"==typeoft:e=Object(t);break;caseObject(o.j)(t):e=newt.constructor(t);break;default:e=t}returne}},function(t,e,n){"use strict";n.r(e),n.d(e,"addBreadcrumb",(function(){returnM})),n.d(e,"captureException",(function(){returnx})),n.d(e,"captureEvent",(function(){returnT})),n.d(e,"captureMessage",(function(){returnk})),n.d(e,"configureScope",(function(){returnP})),n.d(e,"startTransaction",(function(){returnF})),n.d(e,"setContext",(function(){returnI})),n.d(e,"setExtra",(function(){returnD})),n.d(e,"setExtras",(function(){returnN})),n.d(e,"setTag",(function(){returnC})),n.d(e,"setTags",(function(){returnR})),n.d(e,"setUser",(function(){returnA})),n.d(e,"withScope",(function(){returnH})),n.d(e,"addGlobalEventProcessor",(function(){return_})),n.d(e,"getCurrentHub",(function(){returnO})),n.d(e,"getHubFromCarrier",(function(){returnE})),n.d(e,"Hub",(function(){returnb})),n.d(e,"makeMain",(function(){returnm})),n.d(e,"Scope",(function(){returnl})),n.d(e,"Session",(function(){returng})),n.d(e,"API",(function(){returnU})),n.d(e,"getEnvelopeEndpointWithUrlEncodedAuth",(function(){returnY})),n.d(e,"getStoreEndpointWithUrlEncodedAuth",(function(){returnK})),n.d(e,"getRequestHeaders",(function(){returnV})),n.d(e,"initAPIDetails",(function(){returnB})),n.d(e,"getReportDialogEndpoint",(function(){returnJ})),n.d(e,"BaseClient",(function(){returnit})),n.d(e,"BaseBackend",(function(){returnpt})),n.d(e,"eventToSentryRequest",(function(){returnft})),n.d(e,"sessionToSentryRequest",(function(){returnct})),n.d(e,"initAndBind",(function(){returnlt})),n.d(e,"NoopTransport",(function(){returndt})),n.d(e,"createTransport",(function(){returngt})),n.d(e,"SDK_VERSION",(function(){returnmt})),n.d(e,"Integrations",(function(){returnr}));varr={};n.r(r),n.d(r,"FunctionToString",(function(){returnOt})),n.d(r,"InboundFilters",(function(){returnEt}));vari=n(0),o=n(25),a=n(16),s=n(9),u=n(3),c=n(10),f="undefined"==typeof__SENTRY_DEBUG__||__SENTRY_DEBUG__,d=n(1),p=n(12),l=function(){functiont(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={}}returnt.clone=function(e){varn=newt;returne&&(n._breadcrumbs=Object(i.__spread)(e._breadcrumbs),n._tags=Object(i.__assign)({},e._tags),n._extra=Object(i.__assign)({},e._extra),n._contexts=Object(i.__assign)({},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=Object(i.__spread)(e._eventProcessors),n._requestSession=e._requestSession),n},t.prototype.addScopeListener=function(t){this._scopeListeners.push(t)},t.prototype.addEventProcessor=function(t){returnthis._eventProcessors.push(t),this},t.prototype.setUser=function(t){returnthis._user=t||{},this._session&&this._session.update({user:t}),this._notifyScopeListeners(),this},t.prototype.getUser=function(){returnthis._user},t.prototype.getRequestSession=function(){returnthis._requestSession},t.prototype.setRequestSession=function(t){returnthis._requestSession=t,this},t.prototype.setTags=function(t){returnthis._tags=Object(i.__assign)(Object(i.__assign)({},this._tags),t),this._notifyScopeListeners(),this},t.prototype.setTag=function(t,e){varn;returnthis._tags=Object(i.__assign)(Object(i.__assign)({},this._tags),((n={})[t]=e,n)),this._notifyScopeListeners(),this},t.prototype.setExtras=function(t){returnthis._extra=Object(i.__assign)(Object(i.__assign)({},this._extra),t),this._notifyScopeListeners(),this},t.prototype.setExtra=function(t,e){varn;returnthis._extra=Object(i.__assign)(Object(i.__assign)({},this._extra),((n={})[t]=e,n)),this._notifyScopeListeners(),this},t.prototype.setFingerprint=function(t){returnthis._fingerprint=t,this._notifyScopeListeners(),this},t.prototype.setLevel=function(t){returnthis._level=t,this._notifyScopeListeners(),this},t.prototype.setTransactionName=function(t){returnthis._transactionName=t,this._notifyScopeListeners(),this},t.prototype.setTransaction=function(t){returnthis.setTransactionName(t)},t.prototype.setContext=function(t,e){varn;returnnull===e?deletethis._contexts[t]:this._contexts=Object(i.__assign)(Object(i.__assign)({},this._contexts),((n={})[t]=e,n)),this._notifyScopeListeners(),this},t.prototype.setSpan=function(t){returnthis._span=t,this._notifyScopeListeners(),this},t.prototype.getSpan=function(){returnthis._span},t.prototype.getTransaction=function(){vart=this.getSpan();returnt&&t.transaction},t.prototype.setSession=function(t){returnt?this._session=t:deletethis._session,this._notifyScopeListeners(),this},t.prototype.getSession=function(){returnthis._session},t.prototype.update=function(e){if(!e)returnthis;if("function"==typeofe){varn=e(this);returnninstanceoft?n:this}returneinstanceoft?(this._tags=Object(i.__assign)(Object(i.__assign)({},this._tags),e._tags),this._extra=Object(i.__assign)(Object(i.__assign)({},this._extra),e._extra),this._contexts=Object(i.__assign)(Object(i.__assign)({},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)):Object(d.i)(e)&&(e=e,this._tags=Object(i.__assign)(Object(i.__assign)({},this._tags),e.tags),this._extra=Object(i.__assign)(Object(i.__assign)({},this._extra),e.extra),this._contexts=Object(i.__assign)(Object(i.__assign)({},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(){returnthis._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void0,this._transactionName=void0,this._fingerprint=void0,this._requestSession=void0,this._span=void0,this._session=void0,this._notifyScopeListeners(),this},t.prototype.addBreadcrumb=function(t,e){varn="number"==typeofe?Math.min(e,100):100;if(n<=0)returnthis;varr=Object(i.__assign)({timestamp:Object(a.c)()},t);returnthis._breadcrumbs=Object(i.__spread)(this._breadcrumbs,[r]).slice(-n),this._notifyScopeListeners(),this},t.prototype.clearBreadcrumbs=function(){returnthis._breadcrumbs=[],this._notifyScopeListeners(),this},t.prototype.applyToEvent=function(t,e){if(this._extra&&Object.keys(this._extra).length&&(t.extra=Object(i.__assign)(Object(i.__assign)({},this._extra),t.extra)),this._tags&&Object.keys(this._tags).length&&(t.tags=Object(i.__assign)(Object(i.__assign)({},this._tags),t.tags)),this._user&&Object.keys(this._user).length&&(t.user=Object(i.__assign)(Object(i.__assign)({},this._user),t.user)),this._contexts&&Object.keys(this._contexts).length&&(t.contexts=Object(i.__assign)(Object(i.__assign)({},this._contexts),t.contexts)),this._level&&(t.level=this._level),this._transactionName&&(t.transaction=this._transactionName),this._span){t.contexts=Object(i.__assign)({trace:this._span.getTraceContext()},t.contexts);varn=this._span.transaction&&this._span.transaction.name;n&&(t.tags=Object(i.__assign)({transaction:n},t.tags))}returnthis._applyFingerprint(t),t.breadcrumbs=Object(i.__spread)(t.breadcrumbs||[],this._breadcrumbs),t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void0,t.sdkProcessingMetadata=this._sdkProcessingMetadata,this._notifyEventProcessors(Object(i.__spread)(h(),this._eventProcessors),t,e)},t.prototype.setSDKProcessingMetadata=function(t){returnthis._sdkProcessingMetadata=Object(i.__assign)(Object(i.__assign)({},this._sdkProcessingMetadata),t),this},t.prototype._notifyEventProcessors=function(t,e,n,r){varo=this;returnvoid0===r&&(r=0),newp.a((function(a,s){varu=t[r];if(null===e||"function"!=typeofu)a(e);else{varc=u(Object(i.__assign)({},e),n);Object(d.n)(c)?c.then((function(e){returno._notifyEventProcessors(t,e,n,r+1).then(a)})).then(null,s):o._notifyEventProcessors(t,c,n,r+1).then(a).then(null,s)}}))},t.prototype._notifyScopeListeners=function(){vart=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&&deletet.fingerprint},t}();functionh(){returnObject(u.b)("globalEventProcessors",(function(){return[]}))}function_(t){h().push(t)}varv=n(4),g=function(){functiont(t){this.errors=0,this.sid=Object(o.i)(),this.duration=0,this.status="ok",this.init=!0,this.ignoreDuration=!1;vare=Object(a.d)();this.timestamp=e,this.started=e,t&&this.update(t)}returnt.prototype.update=function(t){if(void0===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||Object(a.d)(),t.ignoreDuration&&(this.ignoreDuration=t.ignoreDuration),t.sid&&(this.sid=32===t.sid.length?t.sid:Object(o.i)()),void0!==t.init&&(this.init=t.init),!this.did&&t.did&&(this.did=""+t.did),"number"==typeoft.started&&(this.started=t.started),this.ignoreDuration)this.duration=void0;elseif("number"==typeoft.duration)this.duration=t.duration;else{vare=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"==typeoft.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(){returnObject(v.c)({sid:""+this.sid,init:this.init,started:newDate(1e3*this.started).toISOString(),timestamp:newDate(1e3*this.timestamp).toISOString(),status:this.status,errors:this.errors,did:"number"==typeofthis.did||"string"==typeofthis.did?""+this.did:void0,duration:this.duration,attrs:{release:this.release,environment:this.environment,ip_address:this.ipAddress,user_agent:this.userAgent}})},t}(),b=function(){functiont(t,e,n){void0===e&&(e=newl),void0===n&&(n=4),this._version=n,this._stack=[{}],this.getStackTop().scope=e,t&&this.bindClient(t)}returnt.prototype.isOlderThan=function(t){returnthis._version<t},t.prototype.bindClient=function(t){this.getStackTop().client=t,t&&t.setupIntegrations&&t.setupIntegrations()},t.prototype.pushScope=function(){vart=l.clone(this.getScope());returnthis.getStack().push({client:this.getClient(),scope:t}),t},t.prototype.popScope=function(){return!(this.getStack().length<=1)&&!!this.getStack().pop()},t.prototype.withScope=function(t){vare=this.pushScope();try{t(e)}finally{this.popScope()}},t.prototype.getClient=function(){returnthis.getStackTop().client},t.prototype.getScope=function(){returnthis.getStackTop().scope},t.prototype.getStack=function(){returnthis._stack},t.prototype.getStackTop=function(){returnthis._stack[this._stack.length-1]},t.prototype.captureException=function(t,e){varn=this._lastEventId=e&&e.event_id?e.event_id:Object(o.i)(),r=e;if(!e){vara=void0;try{thrownewError("Sentry syntheticException")}catch(t){a=t}r={originalException:t,syntheticException:a}}returnthis._invokeClient("captureException",t,Object(i.__assign)(Object(i.__assign)({},r),{event_id:n})),n},t.prototype.captureMessage=function(t,e,n){varr=this._lastEventId=n&&n.event_id?n.event_id:Object(o.i)(),a=n;if(!n){vars=void0;try{thrownewError(t)}catch(t){s=t}a={originalException:t,syntheticException:s}}returnthis._invokeClient("captureMessage",t,e,Object(i.__assign)(Object(i.__assign)({},a),{event_id:r})),r},t.prototype.captureEvent=function(t,e){varn=e&&e.event_id?e.event_id:Object(o.i)();return"transaction"!==t.type&&(this._lastEventId=n),this._invokeClient("captureEvent",t,Object(i.__assign)(Object(i.__assign)({},e),{event_id:n})),n},t.prototype.lastEventId=function(){returnthis._lastEventId},t.prototype.addBreadcrumb=function(t,e){varn=this.getStackTop(),r=n.scope,o=n.client;if(r&&o){varu=o.getOptions&&o.getOptions()||{},c=u.beforeBreadcrumb,f=void0===c?null:c,d=u.maxBreadcrumbs,p=void0===d?100:d;if(!(p<=0)){varl=Object(a.c)(),h=Object(i.__assign)({timestamp:l},t),_=f?Object(s.b)((function(){returnf(h,e)})):h;null!==_&&r.addBreadcrumb(_,p)}}},t.prototype.setUser=function(t){vare=this.getScope();e&&e.setUser(t)},t.prototype.setTags=function(t){vare=this.getScope();e&&e.setTags(t)},t.prototype.setExtras=function(t){vare=this.getScope();e&&e.setExtras(t)},t.prototype.setTag=function(t,e){varn=this.getScope();n&&n.setTag(t,e)},t.prototype.setExtra=function(t,e){varn=this.getScope();n&&n.setExtra(t,e)},t.prototype.setContext=function(t,e){varn=this.getScope();n&&n.setContext(t,e)},t.prototype.configureScope=function(t){vare=this.getStackTop(),n=e.scope,r=e.client;n&&r&&t(n)},t.prototype.run=function(t){vare=m(this);try{t(this)}finally{m(e)}},t.prototype.getIntegration=function(t){vare=this.getClient();if(!e)returnnull;try{returne.getIntegration(t)}catch(e){returnf&&s.c.warn("Cannot retrieve integration "+t.id+" from the current Hub"),null}},t.prototype.startSpan=function(t){returnthis._callExtensionMethod("startSpan",t)},t.prototype.startTransaction=function(t,e){returnthis._callExtensionMethod("startTransaction",t,e)},t.prototype.traceHeaders=function(){returnthis._callExtensionMethod("traceHeaders")},t.prototype.captureSession=function(t){if(void0===t&&(t=!1),t)returnthis.endSession();this._sendSessionUpdate()},t.prototype.endSession=function(){vart=this.getStackTop(),e=t&&t.scope,n=e&&e.getSession();n&&n.close(),this._sendSessionUpdate(),e&&e.setSession()},t.prototype.startSession=function(t){vare=this.getStackTop(),n=e.scope,r=e.client,o=r&&r.getOptions()||{},a=o.release,s=o.environment,c=(Object(u.a)().navigator||{}).userAgent,f=newg(Object(i.__assign)(Object(i.__assign)(Object(i.__assign)({release:a,environment:s},n&&{user:n.getUser()}),c&&{userAgent:c}),t));if(n){vard=n.getSession&&n.getSession();d&&"ok"===d.status&&d.update({status:"exited"}),this.endSession(),n.setSession(f)}returnf},t.prototype._sendSessionUpdate=function(){vart=this.getStackTop(),e=t.scope,n=t.client;if(e){varr=e.getSession&&e.getSession();r&&n&&n.captureSession&&n.captureSession(r)}},t.prototype._invokeClient=function(t){for(vare,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];varo=this.getStackTop(),a=o.scope,s=o.client;s&&s[t]&&(e=s)[t].apply(e,Object(i.__spread)(n,[a]))},t.prototype._callExtensionMethod=function(t){for(vare=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];varr=y(),i=r.__SENTRY__;if(i&&i.extensions&&"function"==typeofi.extensions[t])returni.extensions[t].apply(this,e);f&&s.c.warn("Extension method "+t+" couldn't be found, doing nothing.")},t}();functiony(){vart=Object(u.a)();returnt.__SENTRY__=t.__SENTRY__||{extensions:{},hub:void0},t}functionm(t){vare=y(),n=E(e);returnS(e,t),n}functionO(){vart=y();returnj(t)&&!E(t).isOlderThan(4)||S(t,newb),Object(c.b)()?function(t){try{vare=y().__SENTRY__,n=e&&e.extensions&&e.extensions.domain&&e.extensions.domain.active;if(!n)returnE(t);if(!j(n)||E(n).isOlderThan(4)){varr=E(t).getStackTop();S(n,newb(r.client,l.clone(r.scope)))}returnE(n)}catch(e){returnE(t)}}(t):E(t)}functionj(t){return!!(t&&t.__SENTRY__&&t.__SENTRY__.hub)}functionE(t){returnObject(u.b)("hub",(function(){returnnewb}),t)}functionS(t,e){return!!t&&((t.__SENTRY__=t.__SENTRY__||{}).hub=e,!0)}functionw(t){for(vare=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];varr=O();if(r&&r[t])returnr[t].apply(r,Object(i.__spread)(e));thrownewError("No hub defined or "+t+" was not found on the hub, please open a bug report.")}functionx(t,e){returnw("captureException",t,{captureContext:e,originalException:t,syntheticException:newError("Sentry syntheticException")})}functionk(t,e){varn=newError(t),r="string"!=typeofe?{captureContext:e}:void0;returnw("captureMessage",t,"string"==typeofe?e:void0,Object(i.__assign)({originalException:t,syntheticException:n},r))}functionT(t){returnw("captureEvent",t)}functionP(t){w("configureScope",t)}functionM(t){w("addBreadcrumb",t)}functionI(t,e){w("setContext",t,e)}functionN(t){w("setExtras",t)}functionR(t){w("setTags",t)}functionD(t,e){w("setExtra",t,e)}functionC(t,e){w("setTag",t,e)}functionA(t){w("setUser",t)}functionH(t){w("withScope",t)}functionF(t,e){returnw("startTransaction",Object(i.__assign)({},t),e)}varL=n(26),U=function(){functiont(t,e,n){void0===e&&(e={}),this.dsn=t,this._dsnObject=Object(L.b)(t),this.metadata=e,this._tunnel=n}returnt.prototype.getDsn=function(){returnthis._dsnObject},t.prototype.forceEnvelope=function(){return!!this._tunnel},t.prototype.getBaseApiEndpoint=function(){returnq(this._dsnObject)},t.prototype.getStoreEndpoint=function(){returnW(this._dsnObject)},t.prototype.getStoreEndpointWithUrlEncodedAuth=function(){returnK(this._dsnObject)},t.prototype.getEnvelopeEndpointWithUrlEncodedAuth=function(){returnY(this._dsnObject,this._tunnel)},t}();functionB(t,e,n){return{initDsn:t,metadata:e||{},dsn:Object(L.b)(t),tunnel:n}}functionq(t){vare=t.protocol?t.protocol+":":"",n=t.port?":"+t.port:"";returne+"//"+t.host+n+(t.path?"/"+t.path:"")+"/api/"}functionG(t,e){return""+q(t)+t.projectId+"/"+e+"/"}functionz(t){returnObject(v.i)({sentry_key:t.publicKey,sentry_version:"7"})}functionW(t){returnG(t,"store")}functionK(t){returnW(t)+"?"+z(t)}functionY(t,e){returne||function(t){returnG(t,"envelope")}(t)+"?"+z(t)}functionV(t,e,n){varr=["Sentry sentry_version=7"];returnr.push("sentry_client="+e+"/"+n),r.push("sentry_key="+t.publicKey),t.pass&&r.push("sentry_secret="+t.pass),{"Content-Type":"application/json","X-Sentry-Auth":r.join(", ")}}functionJ(t,e){varn=Object(L.b)(t),r=q(n)+"embed/error-page/",i="dsn="+Object(L.a)(n);for(varoine)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))}elsei+="&"+encodeURIComponent(o)+"="+encodeURIComponent(e[o]);returnr+"?"+i}var$=n(27),X=n(8),Z=n(7),Q="undefined"==typeof__SENTRY_DEBUG__||__SENTRY_DEBUG__,tt=[];functionet(t){returnt.reduce((function(t,e){returnt.every((function(t){returne.name!==t.name}))&&t.push(e),t}),[])}functionnt(t){vare={};returnfunction(t){vare=t.defaultIntegrations&&Object(i.__spread)(t.defaultIntegrations)||[],n=t.integrations,r=Object(i.__spread)(et(e));Array.isArray(n)?r=Object(i.__spread)(r.filter((function(t){returnn.every((function(e){returne.name!==t.name}))})),et(n)):"function"==typeofn&&(r=n(r),r=Array.isArray(r)?r:[r]);varo=r.map((function(t){returnt.name}));return-1!==o.indexOf("Debug")&&r.push.apply(r,Object(i.__spread)(r.splice(o.indexOf("Debug"),1))),r}(t).forEach((function(t){e[t.name]=t,function(t){-1===tt.indexOf(t.name)&&(t.setupOnce(_,O),tt.push(t.name),Q&&s.c.log("Integration installed: "+t.name))}(t)})),Object(v.a)(e,"initialized",!0),e}varrt="Not capturing exception because it's already been captured.",it=function(){functiont(t,e){this._integrations={},this._numProcessing=0,this._backend=newt(e),this._options=e,e.dsn&&(this._dsn=Object(L.b)(e.dsn))}returnt.prototype.captureException=function(t,e,n){varr=this;if(!Object(o.d)(t)){vari=e&&e.event_id;returnthis._process(this._getBackend().eventFromException(t,e).then((function(t){returnr._captureEvent(t,e,n)})).then((function(t){i=t}))),i}Q&&s.c.log(rt)},t.prototype.captureMessage=function(t,e,n,r){vari=this,o=n&&n.event_id,a=Object(d.j)(t)?this._getBackend().eventFromMessage(String(t),e,n):this._getBackend().eventFromException(t,n);returnthis._process(a.then((function(t){returni._captureEvent(t,n,r)})).then((function(t){o=t}))),o},t.prototype.captureEvent=function(t,e,n){if(!(e&&e.originalException&&Object(o.d)(e.originalException))){varr=e&&e.event_id;returnthis._process(this._captureEvent(t,e,n).then((function(t){r=t}))),r}Q&&s.c.log(rt)},t.prototype.captureSession=function(t){this._isEnabled()?"string"!=typeoft.release?Q&&s.c.warn("Discarded session because of missing or non-string release"):(this._sendSession(t),t.update({init:!1})):Q&&s.c.warn("SDK not enabled, will not capture session.")},t.prototype.getDsn=function(){returnthis._dsn},t.prototype.getOptions=function(){returnthis._options},t.prototype.getTransport=function(){returnthis._getBackend().getTransport()},t.prototype.flush=function(t){vare=this;returnthis._isClientDoneProcessing(t).then((function(n){returne.getTransport().close(t).then((function(t){returnn&&t}))}))},t.prototype.close=function(t){vare=this;returnthis.flush(t).then((function(t){returne.getOptions().enabled=!1,t}))},t.prototype.setupIntegrations=function(){this._isEnabled()&&!this._integrations.initialized&&(this._integrations=nt(this._options))},t.prototype.getIntegration=function(t){try{returnthis._integrations[t.id]||null}catch(e){returnQ&&s.c.warn("Cannot retrieve integration "+t.id+" from the current Client"),null}},t.prototype._updateSessionFromEvent=function(t,e){varn,r,o=!1,a=!1,s=e.exception&&e.exception.values;if(s){a=!0;try{for(varu=Object(i.__values)(s),c=u.next();!c.done;c=u.next()){varf=c.value.mechanism;if(f&&!1===f.handled){o=!0;break}}}catch(t){n={error:t}}finally{try{c&&!c.done&&(r=u.return)&&r.call(u)}finally{if(n)thrown.error}}}vard="ok"===t.status;(d&&0===t.errors||d&&o)&&(t.update(Object(i.__assign)(Object(i.__assign)({},o&&{status:"crashed"}),{errors:t.errors||Number(a||o)})),this.captureSession(t))},t.prototype._sendSession=function(t){this._getBackend().sendSession(t)},t.prototype._isClientDoneProcessing=function(t){vare=this;returnnewp.a((function(n){varr=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(){returnthis._backend},t.prototype._isEnabled=function(){return!1!==this.getOptions().enabled&&void0!==this._dsn},t.prototype._prepareEvent=function(t,e,n){varr=this,s=this.getOptions(),u=s.normalizeDepth,c=void0===u?3:u,f=s.normalizeMaxBreadth,d=void0===f?1e3:f,h=Object(i.__assign)(Object(i.__assign)({},t),{event_id:t.event_id||(n&&n.event_id?n.event_id:Object(o.i)()),timestamp:t.timestamp||Object(a.c)()});this._applyClientOptions(h),this._applyIntegrationsMetadata(h);var_=e;n&&n.captureContext&&(_=l.clone(_).update(n.captureContext));varv=Object(p.c)(h);return_&&(v=_.applyToEvent(h,n)),v.then((function(t){returnt&&(t.sdkProcessingMetadata=Object(i.__assign)(Object(i.__assign)({},t.sdkProcessingMetadata),{normalizeDepth:Object($.a)(c)+" ("+typeofc+")"})),"number"==typeofc&&c>0?r._normalizeEvent(t,c,d):t}))},t.prototype._normalizeEvent=function(t,e,n){if(!t)returnnull;varr=Object(i.__assign)(Object(i.__assign)(Object(i.__assign)(Object(i.__assign)(Object(i.__assign)({},t),t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map((function(t){returnObject(i.__assign)(Object(i.__assign)({},t),t.data&&{data:Object($.a)(t.data,e,n)})}))}),t.user&&{user:Object($.a)(t.user,e,n)}),t.contexts&&{contexts:Object($.a)(t.contexts,e,n)}),t.extra&&{extra:Object($.a)(t.extra,e,n)});returnt.contexts&&t.contexts.trace&&(r.contexts.trace=t.contexts.trace),r.sdkProcessingMetadata=Object(i.__assign)(Object(i.__assign)({},r.sdkProcessingMetadata),{baseClientNormalized:!0}),r},t.prototype._applyClientOptions=function(t){vare=this.getOptions(),n=e.environment,r=e.release,i=e.dist,o=e.maxValueLength,a=void0===o?250:o;"environment"int||(t.environment="environment"ine?n:"production"),void0===t.release&&void0!==r&&(t.release=r),void0===t.dist&&void0!==i&&(t.dist=i),t.message&&(t.message=Object(X.e)(t.message,a));vars=t.exception&&t.exception.values&&t.exception.values[0];s&&s.value&&(s.value=Object(X.e)(s.value,a));varu=t.request;u&&u.url&&(u.url=Object(X.e)(u.url,a))},t.prototype._applyIntegrationsMetadata=function(t){vare=Object.keys(this._integrations);e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=Object(i.__spread)(t.sdk.integrations||[],e))},t.prototype._sendEvent=function(t){this._getBackend().sendEvent(t)},t.prototype._captureEvent=function(t,e,n){returnthis._processEvent(t,e,n).then((function(t){returnt.event_id}),(function(t){Q&&s.c.error(t)}))},t.prototype._processEvent=function(t,e,n){varr=this,i=this.getOptions(),o=i.beforeSend,a=i.sampleRate,s=this.getTransport();functionu(t,e){s.recordLostEvent&&s.recordLostEvent(t,e)}if(!this._isEnabled())returnObject(p.b)(newZ.a("SDK not enabled, will not capture event."));varc="transaction"===t.type;return!c&&"number"==typeofa&&Math.random()>a?(u("sample_rate","event"),Object(p.b)(newZ.a("Discarding event because it's not included in the random sample (sampling rate = "+a+")"))):this._prepareEvent(t,n,e).then((function(n){if(null===n)throwu("event_processor",t.type||"event"),newZ.a("An event processor returned null, will not send event.");returne&&e.data&&!0===e.data.__sentry__||c||!o?n:function(t){vare="`beforeSend` method has to return `null` or a valid event.";if(Object(d.n)(t))returnt.then((function(t){if(!Object(d.i)(t)&&null!==t)thrownewZ.a(e);returnt}),(function(t){thrownewZ.a("beforeSend rejected with "+t)}));if(!Object(d.i)(t)&&null!==t)thrownewZ.a(e);returnt}(o(n,e))})).then((function(e){if(null===e)throwu("before_send",t.type||"event"),newZ.a("`beforeSend` returned `null`, will not send event.");vari=n&&n.getSession&&n.getSession();return!c&&i&&r._updateSessionFromEvent(i,e),r._sendEvent(e),e})).then(null,(function(t){if(tinstanceofZ.a)throwt;throwr.captureException(t,{data:{__sentry__:!0},originalException:t}),newZ.a("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){vare=this;this._numProcessing+=1,t.then((function(t){returne._numProcessing-=1,t}),(function(t){returne._numProcessing-=1,t}))},t}();varot=n(20);functionat(t){if(t.metadata&&t.metadata.sdk){vare=t.metadata.sdk;return{name:e.name,version:e.version}}}functionst(t,e){returne?(t.sdk=t.sdk||{},t.sdk.name=t.sdk.name||e.name,t.sdk.version=t.sdk.version||e.version,t.sdk.integrations=Object(i.__spread)(t.sdk.integrations||[],e.integrations||[]),t.sdk.packages=Object(i.__spread)(t.sdk.packages||[],e.packages||[]),t):t}functionut(t,e){varn=at(e),r=Object(i.__assign)(Object(i.__assign)({sent_at:(newDate).toISOString()},n&&{sdk:n}),!!e.tunnel&&{dsn:Object(L.a)(e.dsn)}),o="aggregates"int?"sessions":"session",a=[{type:o},t];return[Object(ot.b)(r,[a]),o]}functionct(t,e){varn=Object(i.__read)(ut(t,e),2),r=n[0],o=n[1];return{body:Object(ot.d)(r),type:o,url:Y(e.dsn,e.tunnel)}}functionft(t,e){varn,r=at(e),o=t.type||"event",a="transaction"===o||!!e.tunnel,s=(t.sdkProcessingMetadata||{}).transactionSampling||{},u=s.method,c=s.rate;st(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"),deletet.sdkProcessingMetadata;try{n=JSON.stringify(t)}catch(e){t.tags.JSONStringifyError=!0,t.extra.JSONStringifyError=e;try{n=JSON.stringify(Object($.a)(t))}catch(t){varf=t;n=JSON.stringify({message:"JSON.stringify error after renormalization",extra:{message:f.message,stack:f.stack}})}}vard={body:n,type:o,url:a?Y(e.dsn,e.tunnel):K(e.dsn)};if(a){varp=Object(i.__assign)(Object(i.__assign)({event_id:t.event_id,sent_at:(newDate).toISOString()},r&&{sdk:r}),!!e.tunnel&&{dsn:Object(L.a)(e.dsn)}),l=[{type:o,sample_rates:[{id:u,rate:c}]},d.body],h=Object(ot.b)(p,[l]);d.body=Object(ot.d)(h)}returnd}vardt=function(){functiont(){}returnt.prototype.sendEvent=function(t){returnObject(p.c)({reason:"NoopTransport: Event has been skipped because no Dsn is configured.",status:"skipped"})},t.prototype.close=function(t){returnObject(p.c)(!0)},t}(),pt=function(){functiont(t){this._options=t,this._options.dsn||Q&&s.c.warn("No DSN provided, backend will not do anything."),this._transport=this._setupTransport()}returnt.prototype.eventFromException=function(t,e){thrownewZ.a("Backend has to implement `eventFromException` method")},t.prototype.eventFromMessage=function(t,e,n){thrownewZ.a("Backend has to implement `eventFromMessage` method")},t.prototype.sendEvent=function(t){if(this._newTransport&&this._options.dsn&&this._options._experiments&&this._options._experiments.newTransport){vare=function(t,e){varn=at(e),r=t.type||"event",o=(t.sdkProcessingMetadata||{}).transactionSampling||{},a=o.method,s=o.rate;st(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"),deletet.sdkProcessingMetadata;varu=Object(i.__assign)(Object(i.__assign)({event_id:t.event_id,sent_at:(newDate).toISOString()},n&&{sdk:n}),!!e.tunnel&&{dsn:Object(L.a)(e.dsn)}),c=[{type:r,sample_rates:[{id:a,rate:s}]},t];returnObject(ot.b)(u,[c])}(t,B(this._options.dsn,this._options._metadata,this._options.tunnel));this._newTransport.send(e).then(null,(function(t){Q&&s.c.error("Error while sending event:",t)}))}elsethis._transport.sendEvent(t).then(null,(function(t){Q&&s.c.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){vare=B(this._options.dsn,this._options._metadata,this._options.tunnel),n=Object(i.__read)(ut(t,e),1)[0];this._newTransport.send(n).then(null,(function(t){Q&&s.c.error("Error while sending session:",t)}))}elsethis._transport.sendSession(t).then(null,(function(t){Q&&s.c.error("Error while sending session:",t)}));elseQ&&s.c.warn("Dropping session because custom transport doesn't implement sendSession")},t.prototype.getTransport=function(){returnthis._transport},t.prototype._setupTransport=function(){returnnewdt},t}();functionlt(t,e){!0===e.debug&&(Q?s.c.enable():console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));varn=O(),r=n.getScope();r&&r.update(e.initialScope);vari=newt(e);n.bindClient(i)}varht=n(28),_t=n(29),vt=n(30);functiongt(t,e,n){void0===n&&(n=Object(ht.a)(t.bufferSize||30));varr={};return{send:function(t){vari=Object(ot.c)(t),o="event"===i?"error":i,a={category:o,body:Object(ot.d)(t)};returnObject(_t.c)(r,o)?Object(p.b)({status:"rate_limit",reason:bt(r,o)}):n.add((function(){returne(a).then((function(t){vare=t.body,n=t.headers,i=t.reason,a=t.statusCode,s=Object(vt.a)(a);returnn&&(r=Object(_t.e)(r,n)),"success"===s?Object(p.c)({status:s,reason:i}):Object(p.b)({status:s,reason:i||e||("rate_limit"===s?bt(r,o):"Unknown transport error")})}))}))},flush:function(t){returnn.drain(t)}}}functionbt(t,e){return"Too many "+e+" requests, backing off until: "+newDate(Object(_t.b)(t,e)).toISOString()}varyt,mt="6.19.7",Ot=function(){functiont(){this.name=t.id}returnt.prototype.setupOnce=function(){yt=Function.prototype.toString,Function.prototype.toString=function(){for(vart=[],e=0;e<arguments.length;e++)t[e]=arguments[e];varn=Object(v.f)(this)||this;returnyt.apply(n,t)}},t.id="FunctionToString",t}(),jt=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],Et=function(){functiont(e){void0===e&&(e={}),this._options=e,this.name=t.id}returnt.prototype.setupOnce=function(e,n){e((function(e){varr=n();if(r){vara=r.getIntegration(t);if(a){varu=r.getClient(),c=u?u.getOptions():{};returnfunction(t,e){if(e.ignoreInternal&&function(t){try{return"SentryError"===t.exception.values[0].type}catch(t){}return!1}(t))returnQ&&s.c.warn("Event dropped due to being internal Sentry Error.\nEvent: "+Object(o.e)(t)),!0;if(function(t,e){if(!e||!e.length)return!1;returnfunction(t){if(t.message)return[t.message];if(t.exception)try{vare=t.exception.values&&t.exception.values[0]||{},n=e.type,r=void0===n?"":n,i=e.value,a=void0===i?"":i;return[""+a,r+": "+a]}catch(e){returnQ&&s.c.error("Cannot extract message for event "+Object(o.e)(t)),[]}return[]}(t).some((function(t){returne.some((function(e){returnObject(X.b)(t,e)}))}))}(t,e.ignoreErrors))returnQ&&s.c.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: "+Object(o.e)(t)),!0;if(function(t,e){if(!e||!e.length)return!1;varn=wt(t);return!!n&&e.some((function(t){returnObject(X.b)(n,t)}))}(t,e.denyUrls))returnQ&&s.c.warn("Event dropped due to being matched by `denyUrls` option.\nEvent: "+Object(o.e)(t)+".\nUrl: "+wt(t)),!0;if(!function(t,e){if(!e||!e.length)return!0;varn=wt(t);return!n||e.some((function(t){returnObject(X.b)(n,t)}))}(t,e.allowUrls))returnQ&&s.c.warn("Event dropped due to not being matched by `allowUrls` option.\nEvent: "+Object(o.e)(t)+".\nUrl: "+wt(t)),!0;return!1}(e,function(t,e){void0===t&&(t={});void0===e&&(e={});return{allowUrls:Object(i.__spread)(t.whitelistUrls||[],t.allowUrls||[],e.whitelistUrls||[],e.allowUrls||[]),denyUrls:Object(i.__spread)(t.blacklistUrls||[],t.denyUrls||[],e.blacklistUrls||[],e.denyUrls||[]),ignoreErrors:Object(i.__spread)(t.ignoreErrors||[],e.ignoreErrors||[],jt),ignoreInternal:void0===t.ignoreInternal||t.ignoreInternal}}(a._options,c))?null:e}}returne}))},t.id="InboundFilters",t}();functionSt(t){void0===t&&(t=[]);for(vare=t.length-1;e>=0;e--){varn=t[e];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)returnn.filename||null}returnnull}functionwt(t){try{if(t.stacktrace)returnSt(t.stacktrace.frames);vare;try{e=t.exception.values[0].stacktrace.frames}catch(t){}returne?St(e):null}catch(e){returnQ&&s.c.error("Cannot extract url for event "+Object(o.e)(t)),null}}},function(t,e,n){"use strict";n.d(e,"a",(function(){returnr}));varr="undefined"==typeof__SENTRY_DEBUG__||__SENTRY_DEBUG__},function(t,e,n){"use strict";n.d(e,"a",(function(){returno}));varr=n(0),i=Object.setPrototypeOf||({__proto__:[]}instanceofArray?function(t,e){returnt.__proto__=e,t}:function(t,e){for(varnine)Object.prototype.hasOwnProperty.call(t,n)||(t[n]=e[n]);returnt});varo=function(t){functione(e){varn=this.constructor,r=t.call(this,e)||this;returnr.message=e,r.name=n.prototype.constructor.name,i(r,n.prototype),r}returnObject(r.__extends)(e,t),e}(Error)},function(t,e,n){"use strict";n.d(e,"e",(function(){returni})),n.d(e,"d",(function(){returno})),n.d(e,"c",(function(){returna})),n.d(e,"b",(function(){returns})),n.d(e,"a",(function(){returnu}));varr=n(1);functioni(t,e){returnvoid0===e&&(e=0),"string"!=typeoft||0===e||t.length<=e?t:t.substr(0,e)+"..."}functiono(t,e){varn=t,r=n.length;if(r<=150)returnn;e>r&&(e=r);vari=Math.max(e-60,0);i<5&&(i=0);varo=Math.min(i+140,r);returno>r-5&&(o=r),o===r&&(i=Math.max(o-140,0)),n=n.slice(i,o),i>0&&(n="'{snip} "+n),o<r&&(n+=" {snip}"),n}functiona(t,e){if(!Array.isArray(t))return"";for(varn=[],r=0;r<t.length;r++){vari=t[r];try{n.push(String(i))}catch(t){n.push("[value cannot be serialized]")}}returnn.join(e)}functions(t,e){return!!Object(r.l)(t)&&(Object(r.k)(e)?e.test(t):"string"==typeofe&&-1!==t.indexOf(e))}functionu(t){returnt.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}},function(t,e,n){"use strict";n.d(e,"a",(function(){returnu})),n.d(e,"b",(function(){returnc})),n.d(e,"c",(function(){returnr}));varr,i=n(0),o=n(6),a=n(3),s=Object(a.a)(),u=["debug","info","warn","error","log","assert"];functionc(t){vare=Object(a.a)();if(!("console"ine))returnt();varn=e.console,r={};u.forEach((function(t){vari=n[t]&&n[t].__sentry_original__;tine.console&&i&&(r[t]=n[t],n[t]=i)}));try{returnt()}finally{Object.keys(r).forEach((function(t){n[t]=r[t]}))}}functionf(){vart=!1,e={enable:function(){t=!0},disable:function(){t=!1}};returno.a?u.forEach((function(n){e[n]=function(){for(vare=[],r=0;r<arguments.length;r++)e[r]=arguments[r];t&&c((function(){vart;(t=s.console)[n].apply(t,Object(i.__spread)(["Sentry Logger ["+n+"]:"],e))}))}})):u.forEach((function(t){e[t]=function(){}})),e}r=o.a?Object(a.b)("logger",f):f()},function(t,e,n){"use strict";(function(t,r){n.d(e,"b",(function(){returno})),n.d(e,"a",(function(){returna})),n.d(e,"c",(function(){returns}));vari=n(17);functiono(){return!Object(i.a)()&&"[object process]"===Object.prototype.toString.call(void0!==t?t:0)}functiona(t,e){returnt.require(e)}functions(t){vare;try{e=a(r,t)}catch(t){}try{varn=a(r,"process").cwd;e=a(r,n()+"/node_modules/"+t)}catch(t){}returne}}).call(this,n(39),n(23)(t))},function(t,e,n){"use strict";n.d(e,"a",(function(){returni})),n.d(e,"c",(function(){returno})),n.d(e,"b",(function(){returna}));varr=n(0);functioni(){for(vart=[],e=0;e<arguments.length;e++)t[e]=arguments[e];varn=t.sort((function(t,e){returnt[0]-e[0]})).map((function(t){returnt[1]}));returnfunction(t,e){vari,a,s,u;void0===e&&(e=0);varc=[];try{for(varf=Object(r.__values)(t.split("\n").slice(e)),d=f.next();!d.done;d=f.next()){varp=d.value;try{for(varl=(s=void0,Object(r.__values)(n)),h=l.next();!h.done;h=l.next()){var_=(0,h.value)(p);if(_){c.push(_);break}}}catch(t){s={error:t}}finally{try{h&&!h.done&&(u=l.return)&&u.call(l)}finally{if(s)throws.error}}}}catch(t){i={error:t}}finally{try{d&&!d.done&&(a=f.return)&&a.call(f)}finally{if(i)throwi.error}}returno(c)}}functiono(t){if(!t.length)return[];vare=t,n=e[0].function||"",i=e[e.length-1].function||"";return-1===n.indexOf("captureMessage")&&-1===n.indexOf("captureException")||(e=e.slice(1)),-1!==i.indexOf("sentryWrapped")&&(e=e.slice(0,-1)),e.slice(0,50).map((function(t){returnObject(r.__assign)(Object(r.__assign)({},t),{filename:t.filename||e[0].filename,function:t.function||"?"})})).reverse()}functiona(t){try{returnt&&"function"==typeoft&&t.name||"<anonymous>"}catch(t){return"<anonymous>"}}},function(t,e,n){"use strict";n.d(e,"c",(function(){returni})),n.d(e,"b",(function(){returno})),n.d(e,"a",(function(){returna}));varr=n(1);functioni(t){returnnewa((function(e){e(t)}))}functiono(t){returnnewa((function(e,n){n(t)}))}vara=function(){functiont(t){vare=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&&(Object(r.n)(n)?n.then(e._resolve,e._reject):(e._state=t,e._value=n,e._executeHandlers()))},this._executeHandlers=function(){if(0!==e._state){vart=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)}}returnt.prototype.then=function(e,n){varr=this;returnnewt((function(t,i){r._handlers.push([!1,function(n){if(e)try{t(e(n))}catch(t){i(t)}elset(n)},function(e){if(n)try{t(n(e))}catch(t){i(t)}elsei(e)}]),r._executeHandlers()}))},t.prototype.catch=function(t){returnthis.then((function(t){returnt}),t)},t.prototype.finally=function(e){varn=this;returnnewt((function(t,r){vari,o;returnn.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}()},,function(t,e,n){"use strict";varr;n.d(e,"a",(function(){returnr})),n.d(e,"b",(function(){returni})),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={}));vari=["fatal","error","warning","log","info","debug","critical"]},function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.appName=e.sdk=void0;varn=function(){vart={request:function(){},httpRequest:function(){},getSystemInfoSync:function(){}};if("object"==typeofwx)t=wx;elseif("object"==typeofmy)t=my;elseif("object"==typeoftt)t=tt;elseif("object"==typeofdd)t=dd;elseif("object"==typeofqq)t=qq;else{if("object"!=typeofswan)thrownewError("sentry-miniapp 暂不支持此平台");t=swan}returnt}();e.sdk=n;varr,i=(r="unknown","object"==typeofwx?r="wechat":"object"==typeofmy?r="alipay":"object"==typeoftt?r="bytedance":"object"==typeofdd?r="dingtalk":"object"==typeofqq?r="qq":"object"==typeofswan&&(r="swan"),r);e.appName=i},function(t,e,n){"use strict";(function(t){n.d(e,"c",(function(){returnc})),n.d(e,"d",(function(){returnf})),n.d(e,"e",(function(){returnd})),n.d(e,"f",(function(){returnp})),n.d(e,"a",(function(){returna})),n.d(e,"b",(function(){returnl}));varr=n(3),i=n(10),o={nowSeconds:function(){returnDate.now()/1e3}};vara,s=Object(i.b)()?function(){try{returnObject(i.a)(t,"perf_hooks").performance}catch(t){return}}():function(){vart=Object(r.a)().performance;if(t&&t.now)return{now:function(){returnt.now()},timeOrigin:Date.now()-t.now()}}(),u=void0===s?o:{nowSeconds:function(){return(s.timeOrigin+s.now())/1e3}},c=o.nowSeconds.bind(o),f=u.nowSeconds.bind(u),d=f,p=void0!==s,l=function(){vart=Object(r.a)().performance;if(t&&t.now){vare=t.now(),n=Date.now(),i=t.timeOrigin?Math.abs(t.timeOrigin+e-n):36e5,o=i<36e5,s=t.timing&&t.timing.navigationStart,u="number"==typeofs?Math.abs(s+e-n):36e5;returno||u<36e5?i<=u?(a="timeOrigin",t.timeOrigin):(a="navigationStart",s):(a="dateNow",n)}a="none"}()}).call(this,n(23)(t))},function(t,e,n){"use strict";functionr(){return"undefined"!=typeof__SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}n.d(e,"a",(function(){returnr}))},function(t,e,n){"use strict";n.d(e,"b",(function(){returno})),n.d(e,"a",(function(){returns}));varr=n(3),i=n(1);functiono(t,e){try{for(varn=t,r=[],i=0,o=0,s=" > ".length,u=void0;n&&i++<5&&!("html"===(u=a(n,e))||i>1&&o+r.length*s+u.length>=80);)r.push(u),o+=u.length,n=n.parentNode;returnr.reverse().join(" > ")}catch(t){return"<unknown>"}}functiona(t,e){varn,r,o,a,s,u=t,c=[];if(!u||!u.tagName)return"";c.push(u.tagName.toLowerCase());varf=e&&e.length?e.filter((function(t){returnu.getAttribute(t)})).map((function(t){return[t,u.getAttribute(t)]})):null;if(f&&f.length)f.forEach((function(t){c.push("["+t[0]+'="'+t[1]+'"]')}));elseif(u.id&&c.push("#"+u.id),(n=u.className)&&Object(i.l)(n))for(r=n.split(/\s+/),s=0;s<r.length;s++)c.push("."+r[s]);vard=["type","name","title","alt"];for(s=0;s<d.length;s++)o=d[s],(a=u.getAttribute(o))&&c.push("["+o+'="'+a+'"]');returnc.join("")}functions(){vart=Object(r.a)();try{returnt.document.location.href}catch(t){return""}}},function(t,e,n){"use strict";functionr(){vart="function"==typeofWeakSet,e=t?newWeakSet:[];return[function(n){if(t)return!!e.has(n)||(e.add(n),!1);for(varr=0;r<e.length;r++){if(e[r]===n)return!0}returne.push(n),!1},function(n){if(t)e.delete(n);elsefor(varr=0;r<e.length;r++)if(e[r]===n){e.splice(r,1);break}}]}n.d(e,"a",(function(){returnr}))},function(t,e,n){"use strict";n.d(e,"b",(function(){returno})),n.d(e,"a",(function(){returna})),n.d(e,"c",(function(){returns})),n.d(e,"d",(function(){returnu}));varr=n(0),i=n(1);functiono(t,e){returnvoid0===e&&(e=[]),[t,e]}functiona(t,e){varn=Object(r.__read)(t,2),i=n[0],o=n[1];return[i,Object(r.__spread)(o,[e])]}functions(t){vare=Object(r.__read)(t,2),n=Object(r.__read)(e[1],1);returnObject(r.__read)(n[0],1)[0].type}functionu(t){vare=Object(r.__read)(t,2),n=e[0],o=e[1],a=JSON.stringify(n);returno.reduce((function(t,e){varn=Object(r.__read)(e,2),o=n[0],a=n[1],s=Object(i.j)(a)?String(a):JSON.stringify(a);returnt+"\n"+JSON.stringify(o)+"\n"+s}),a)}},function(t,e,n){"use strict";n.r(e);varr=n(14);n.d(e,"Severity",(function(){returnr.a})),n.d(e,"SeverityLevels",(function(){returnr.b}))},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.computeStackTrace=void0;varr=n(0),i=/^\s*at (?:(.*?)?\()?((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|[-a-z]+:|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,o=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,a=/^\s*at (?:((?:\[object object\])?.+))?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,s=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,u=/\((\S*)(?::(\d+))(?::(\d+))\)/,c=/^\s*at (\w.*)\((\w*.js):(\d*):(\d*)/i;functionf(t,e){try{returnr.__assign(r.__assign({},t),{stack:t.stack.slice(e)})}catch(e){returnt}}functiond(t){vare=t&&t.message;returne?e.error&&"string"==typeofe.error.message?e.error.message:e:"No error message"}e.computeStackTrace=function(t){vare=null,n=t&&t.framesToPop;try{if(e=function(t){if(!t||!t.stacktrace)returnnull;for(vare,n=t.stacktrace,r=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,i=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^\)]+))\((.*)\))? in (.*):\s*$/i,o=n.split("\n"),a=[],s=0;s<o.length;s+=2){varu=null;(e=r.exec(o[s]))?u={url:e[2],func:e[3],args:[],line:+e[1],column:null}:(e=i.exec(o[s]))&&(u={url:e[6],func:e[3]||e[4],args:e[5]?e[5].split(","):[],line:+e[1],column:+e[2]}),u&&(!u.func&&u.line&&(u.func="?"),a.push(u))}if(!a.length)returnnull;return{message:d(t),name:t.name,stack:a}}(t))returnf(e,n)}catch(t){}try{if(e=function(t){if(!t||!t.stack)returnnull;for(vare,n,r,f=[],p=t.stack.split("\n"),l=0;l<p.length;++l){if(n=i.exec(p[l])){varh=n[2]&&0===n[2].indexOf("native");n[2]&&0===n[2].indexOf("eval")&&(e=u.exec(n[2]))&&(n[2]=e[1],n[3]=e[2],n[4]=e[3]),r={url:n[2],func:n[1]||"?",args:h?[n[2]]:[],line:n[3]?+n[3]:null,column:n[4]?+n[4]:null}}elseif(n=a.exec(p[l]))r={url:n[2],func:n[1]||"?",args:[],line:+n[3],column:n[4]?+n[4]:null};elseif(n=o.exec(p[l]))n[3]&&n[3].indexOf(" > eval")>-1&&(e=s.exec(n[3]))?(n[1]=n[1]||"eval",n[3]=e[1],n[4]=e[2],n[5]=""):0!==l||n[5]||void0===t.columnNumber||(f[0].column=t.columnNumber+1),r={url:n[3],func:n[1]||"?",args:n[2]?n[2].split(","):[],line:n[4]?+n[4]:null,column:n[5]?+n[5]:null};else{if(!(n=c.exec(p[l])))continue;r={url:n[2],func:n[1]||"?",args:[],line:n[3]?+n[3]:null,column:n[4]?+n[4]:null}}!r.func&&r.line&&(r.func="?"),f.push(r)}if(!f.length)returnnull;return{message:d(t),name:t.name,stack:f}}(t))returnf(e,n)}catch(t){}return{message:d(t),name:t&&t.name,stack:[],failed:!0}}},function(t,e){t.exports=function(t){if(!t.webpackPolyfill){vare=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){returne.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){returne.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}returne}},function(t,e){varn;n=function(){returnthis}();try{n=n||newFunction("return this")()}catch(t){"object"==typeofwindow&&(n=window)}t.exports=n},function(t,e,n){"use strict";n.d(e,"i",(function(){returns})),n.d(e,"g",(function(){returnu})),n.d(e,"e",(function(){returnf})),n.d(e,"c",(function(){returnd})),n.d(e,"b",(function(){returnp})),n.d(e,"f",(function(){returnh})),n.d(e,"a",(function(){return_})),n.d(e,"h",(function(){returnv})),n.d(e,"d",(function(){returng}));varr=n(0),i=n(3),o=n(4),a=n(8);functions(){vart=Object(i.a)(),e=t.crypto||t.msCrypto;if(void0!==e&&e.getRandomValues){varn=newUint16Array(8);e.getRandomValues(n),n[3]=4095&n[3]|16384,n[4]=16383&n[4]|32768;varr=function(t){for(vare=t.toString(16);e.length<4;)e="0"+e;returne};returnr(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){vare=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)}))}functionu(t){if(!t)return{};vare=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};varn=e[6]||"",r=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],relative:e[5]+n+r}}functionc(t){returnt.exception&&t.exception.values?t.exception.values[0]:void0}functionf(t){vare=t.message,n=t.event_id;if(e)returne;varr=c(t);returnr?r.type&&r.value?r.type+": "+r.value:r.type||r.value||n||"<unknown>":n||"<unknown>"}functiond(t,e,n){varr=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")}functionp(t,e){varn=c(t);if(n){vari=n.mechanism;if(n.mechanism=Object(r.__assign)(Object(r.__assign)(Object(r.__assign)({},{type:"generic",handled:!0}),i),e),e&&"data"ine){varo=Object(r.__assign)(Object(r.__assign)({},i&&i.data),e.data);n.mechanism.data=o}}}varl=/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/;functionh(t){vare=t.match(l)||[],n=parseInt(e[1],10),r=parseInt(e[2],10),i=parseInt(e[3],10);return{buildmetadata:e[5],major:isNaN(n)?void0:n,minor:isNaN(r)?void0:r,patch:isNaN(i)?void0:i,prerelease:e[4]}}function_(t,e,n){void0===n&&(n=5);varr=e.lineno||0,i=t.length,o=Math.max(Math.min(i,r-1),0);e.pre_context=t.slice(Math.max(0,o-n),o).map((function(t){returnObject(a.d)(t,0)})),e.context_line=Object(a.d)(t[Math.min(i-1,o)],e.colno||0),e.post_context=t.slice(Math.min(o+1,i),o+1+n).map((function(t){returnObject(a.d)(t,0)}))}functionv(t){returnt.split(/[\?#]/,1)[0]}functiong(t){if(t&&t.__sentry_captured__)return!0;try{Object(o.a)(t,"__sentry_captured__",!0)}catch(t){}return!1}},function(t,e,n){"use strict";n.d(e,"a",(function(){returns})),n.d(e,"b",(function(){returnc}));varr=n(0),i=n(7),o=n(6),a=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;functions(t,e){void0===e&&(e=!1);varn=t.host,r=t.path,i=t.pass,o=t.port,a=t.projectId;returnt.protocol+"://"+t.publicKey+(e&&i?":"+i:"")+"@"+n+(o?":"+o:"")+"/"+(r?r+"/":r)+a}functionu(t){return"user"int&&!("publicKey"int)&&(t.publicKey=t.user),{user:t.publicKey||"",protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}functionc(t){vare="string"==typeoft?function(t){vare=a.exec(t);if(!e)thrownewi.a("Invalid Sentry Dsn: "+t);varn=Object(r.__read)(e.slice(1),6),o=n[0],s=n[1],c=n[2],f=void0===c?"":c,d=n[3],p=n[4],l=void0===p?"":p,h="",_=n[5],v=_.split("/");if(v.length>1&&(h=v.slice(0,-1).join("/"),_=v.pop()),_){varg=_.match(/^\d+/);g&&(_=g[0])}returnu({host:d,pass:f,path:h,projectId:_,port:l,protocol:o,publicKey:s})}(t):u(t);returnfunction(t){if(o.a){vare=t.port,n=t.projectId,r=t.protocol;if(["protocol","publicKey","host","projectId"].forEach((function(e){if(!t[e])thrownewi.a("Invalid Sentry Dsn: "+e+" missing")})),!n.match(/^\d+$/))thrownewi.a("Invalid Sentry Dsn: Invalid projectId "+n);if(!function(t){return"http"===t||"https"===t}(r))thrownewi.a("Invalid Sentry Dsn: Invalid protocol "+r);if(e&&isNaN(parseInt(e,10)))thrownewi.a("Invalid Sentry Dsn: Invalid port "+e)}}(e),e}},function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){returnu})),n.d(e,"b",(function(){returnc})),n.d(e,"c",(function(){returnf}));varr=n(0),i=n(1),o=n(19),a=n(4),s=n(11);functionu(t,e,n){void0===e&&(e=1/0),void0===n&&(n=1/0);try{returnf("",t,e,n)}catch(t){return{ERROR:"**non-serializable** ("+t+")"}}}functionc(t,e,n){void0===e&&(e=3),void0===n&&(n=102400);varr,i=u(t,e);returnr=i,function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(r))>n?c(t,e-1,n):i}functionf(e,n,u,c,d){void0===u&&(u=1/0),void0===c&&(c=1/0),void0===d&&(d=Object(o.a)());varp=Object(r.__read)(d,2),l=p[0],h=p[1],_=n;if(_&&"function"==typeof_.toJSON)try{return_.toJSON()}catch(t){}if(null===n||["number","boolean","string"].includes(typeofn)&&!Object(i.h)(n))returnn;varv=function(e,n){try{return"domain"===e&&n&&"object"==typeofn&&n._events?"[Domain]":"domainEmitter"===e?"[DomainEmitter]":void0!==t&&n===t?"[Global]":"undefined"!=typeofwindow&&n===window?"[Window]":"undefined"!=typeofdocument&&n===document?"[Document]":Object(i.m)(n)?"[SyntheticEvent]":"number"==typeofn&&n!=n?"[NaN]":void0===n?"[undefined]":"function"==typeofn?"[Function: "+Object(s.b)(n)+"]":"symbol"==typeofn?"["+String(n)+"]":"bigint"==typeofn?"[BigInt: "+String(n)+"]":"[object "+Object.getPrototypeOf(n).constructor.name+"]"}catch(t){return"**non-serializable** ("+t+")"}}(e,n);if(!v.startsWith("[object "))returnv;if(0===u)returnv.replace("object ","");if(l(n))return"[Circular ~]";varg=Array.isArray(n)?[]:{},b=0,y=Object(i.d)(n)||Object(i.f)(n)?Object(a.b)(n):n;for(varminy)if(Object.prototype.hasOwnProperty.call(y,m)){if(b>=c){g[m]="[MaxProperties ~]";break}varO=y[m];g[m]=f(m,O,u-1,c,d),b+=1}returnh(n),g}}).call(this,n(24))},function(t,e,n){"use strict";n.d(e,"a",(function(){returno}));varr=n(7),i=n(12);functiono(t){vare=[];functionn(t){returne.splice(e.indexOf(t),1)[0]}return{$:e,add:function(o){if(!(void0===t||e.length<t))returnObject(i.b)(newr.a("Not adding Promise due to buffer limit reached."));vara=o();return-1===e.indexOf(a)&&e.push(a),a.then((function(){returnn(a)})).then(null,(function(){returnn(a).then(null,(function(){}))})),a},drain:function(t){returnnewi.a((function(n,r){varo=e.length;if(!o)returnn(!0);vara=setTimeout((function(){t&&t>0&&n(!1)}),t);e.forEach((function(t){Object(i.c)(t).then((function(){--o||(clearTimeout(a),n(!0))}),r)}))}))}}}},function(t,e,n){"use strict";n.d(e,"a",(function(){returni})),n.d(e,"d",(function(){returno})),n.d(e,"b",(function(){returna})),n.d(e,"c",(function(){returns})),n.d(e,"e",(function(){returnu}));varr=n(0),i=6e4;functiono(t,e){void0===e&&(e=Date.now());varn=parseInt(""+t,10);if(!isNaN(n))return1e3*n;varr=Date.parse(""+t);returnisNaN(r)?i:r-e}functiona(t,e){returnt[e]||t.all||0}functions(t,e,n){returnvoid0===n&&(n=Date.now()),a(t,e)>n}functionu(t,e,n){vari,a,s,u;void0===n&&(n=Date.now());varc=Object(r.__assign)({},t),f=e["x-sentry-rate-limits"],d=e["retry-after"];if(f)try{for(varp=Object(r.__values)(f.trim().split(",")),l=p.next();!l.done;l=p.next()){varh=l.value.split(":",2),_=parseInt(h[0],10),v=1e3*(isNaN(_)?60:_);if(h[1])try{for(varg=(s=void0,Object(r.__values)(h[1].split(";"))),b=g.next();!b.done;b=g.next()){c[b.value]=n+v}}catch(t){s={error:t}}finally{try{b&&!b.done&&(u=g.return)&&u.call(g)}finally{if(s)throws.error}}elsec.all=n+v}}catch(t){i={error:t}}finally{try{l&&!l.done&&(a=p.return)&&a.call(p)}finally{if(i)throwi.error}}elsed&&(c.all=n+o(d,n));returnc}},function(t,e,n){"use strict";functionr(t){returnt>=200&&t<300?"success":429===t?"rate_limit":t>=400&&t<500?"invalid":t>=500?"failed":"unknown"}n.d(e,"a",(function(){returnr}))},function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.SDK_VERSION=e.SDK_NAME=void0,e.SDK_NAME="sentry.javascript.miniapp",e.SDK_VERSION="0.12.0"},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.MiniappClient=void0;varr=n(0),i=n(5),o=n(41),a=n(31),s=function(t){functione(e){returnvoid0===e&&(e={}),t.call(this,o.MiniappBackend,e)||this}returnr.__extends(e,t),e.prototype._prepareEvent=function(e,n,i){returne.platform=e.platform||"javascript",e.sdk=r.__assign(r.__assign({},e.sdk),{name:a.SDK_NAME,packages:r.__spread(e.sdk&&e.sdk.packages||[],[{name:"npm:@sentry/miniapp",version:a.SDK_VERSION}]),version:a.SDK_VERSION}),t.prototype._prepareEvent.call(this,e,n,i)},e.prototype.showReportDialog=function(t){void0===t&&(t={}),console.log("sentry-miniapp 暂未实现该方法",t)},e}(i.BaseClient);e.MiniappClient=s},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.prepareFramesForEvent=e.eventFromStacktrace=e.eventFromPlainObject=e.exceptionFromStacktrace=void0;varr=n(2),i=n(22);functiono(t){vare=a(t.stack),n={type:t.name,value:t.message};returne&&e.length&&(n.stacktrace={frames:e}),void0===n.type&&""===n.value&&(n.value="Unrecoverable error caught"),n}functiona(t){if(!t||!t.length)return[];vare=t,n=e[0].func||"",r=e[e.length-1].func||"";return-1===n.indexOf("captureMessage")&&-1===n.indexOf("captureException")||(e=e.slice(1)),-1!==r.indexOf("sentryWrapped")&&(e=e.slice(0,-1)),e.map((function(t){return{colno:null===t.column?void0:t.column,filename:t.url||e[0].url,function:t.func||"?",in_app:!0,lineno:null===t.line?void0:t.line}})).slice(0,100).reverse()}e.exceptionFromStacktrace=o,e.eventFromPlainObject=function(t,e,n){varo={exception:{values:[{type:r.isEvent(t)?t.constructor.name:n?"UnhandledRejection":"Error",value:"Non-Error "+(n?"promise rejection":"exception")+" captured with keys: "+r.extractExceptionKeysForMessage(t)}]},extra:{__serialized__:r.normalizeToSize(t)}};if(e){vars=a(i.computeStackTrace(e).stack);o.stacktrace={frames:s}}returno},e.eventFromStacktrace=function(t){return{exception:{values:[o(t)]}}},e.prepareFramesForEvent=a},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});varr=n(35);Object.defineProperty(e,"BaseTransport",{enumerable:!0,get:function(){returnr.BaseTransport}});vari=n(43);Object.defineProperty(e,"XHRTransport",{enumerable:!0,get:function(){returni.XHRTransport}})},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.BaseTransport=void0;varr=n(5),i=n(2),o=function(){functiont(t){this.options=t,this._buffer=i.makePromiseBuffer(30),this.url=newr.API(this.options.dsn).getStoreEndpointWithUrlEncodedAuth()}returnt.prototype.sendEvent=function(t){thrownewi.SentryError("Transport Class has to implement `sendEvent` method")},t.prototype.close=function(t){returnthis._buffer.drain(t)},t}();e.BaseTransport=o},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.keypressEventHandler=e.breadcrumbEventHandler=e.wrap=e.ignoreNextOnError=e.shouldIgnoreOnError=void0;varr,i,o=n(0),a=n(5),s=n(2),u=0;functionc(){u+=1,setTimeout((function(){u-=1}))}e.shouldIgnoreOnError=function(){returnu>0},e.ignoreNextOnError=c,e.wrap=functiont(e,n,r){if(void0===n&&(n={}),"function"!=typeofe)returne;try{if(e.__sentry__)returne;if(e.__sentry_wrapped__)returne.__sentry_wrapped__}catch(t){returne}vari=function(){r&&"function"==typeofr&&r.apply(this,arguments);vari=Array.prototype.slice.call(arguments);try{varu=i.map((function(e){returnt(e,n)}));returne.handleEvent?e.handleEvent.apply(this,u):e.apply(this,u)}catch(t){throwc(),a.withScope((function(e){e.addEventProcessor((function(t){vare=o.__assign({},t);returnn.mechanism&&(s.addExceptionTypeValue(e,void0,void0),s.addExceptionMechanism(e,n.mechanism)),e.extra=o.__assign(o.__assign({},e.extra),{arguments:s.normalize(i,3)}),e})),a.captureException(t)})),t}};try{for(varuine)Object.prototype.hasOwnProperty.call(e,u)&&(i[u]=e[u])}catch(t){}e.prototype=e.prototype||{},i.prototype=e.prototype,Object.defineProperty(e,"__sentry_wrapped__",{enumerable:!1,value:i}),Object.defineProperties(i,{__sentry__:{enumerable:!1,value:!0},__sentry_original__:{enumerable:!1,value:e}});try{Object.getOwnPropertyDescriptor(i,"name").configurable&&Object.defineProperty(i,"name",{get:function(){returne.name}})}catch(t){}returni};varf=0;functiond(t,e){returnvoid0===e&&(e=!1),function(n){if(r=void0,n&&i!==n){i=n;varo=function(){vare;try{e=n.target?s.htmlTreeAsString(n.target):s.htmlTreeAsString(n)}catch(t){e="<unknown>"}0!==e.length&&a.getCurrentHub().addBreadcrumb({category:"ui."+t,message:e},{event:n,name:t})};f&&clearTimeout(f),e?f=setTimeout(o):o()}}}e.breadcrumbEventHandler=d,e.keypressEventHandler=function(){returnfunction(t){vare;try{e=t.target}catch(t){return}varn=e&&e.tagName;n&&("INPUT"===n||"TEXTAREA"===n||e.isContentEditable)&&(r||d("input")(t),clearTimeout(r),r=setTimeout((function(){r=void0}),1e3))}}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});varr=n(44);Object.defineProperty(e,"GlobalHandlers",{enumerable:!0,get:function(){returnr.GlobalHandlers}});vari=n(45);Object.defineProperty(e,"TryCatch",{enumerable:!0,get:function(){returni.TryCatch}});varo=n(46);Object.defineProperty(e,"LinkedErrors",{enumerable:!0,get:function(){returno.LinkedErrors}});vara=n(47);Object.defineProperty(e,"System",{enumerable:!0,get:function(){returna.System}});vars=n(48);Object.defineProperty(e,"Router",{enumerable:!0,get:function(){returns.Router}});varu=n(49);Object.defineProperty(e,"IgnoreMpcrawlerErrors",{enumerable:!0,get:function(){returnu.IgnoreMpcrawlerErrors}})},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.Transports=e.Integrations=void0;varr=n(21);Object.defineProperty(e,"Severity",{enumerable:!0,get:function(){returnr.Severity}});vari=n(5);Object.defineProperty(e,"addGlobalEventProcessor",{enumerable:!0,get:function(){returni.addGlobalEventProcessor}}),Object.defineProperty(e,"addBreadcrumb",{enumerable:!0,get:function(){returni.addBreadcrumb}}),Object.defineProperty(e,"captureException",{enumerable:!0,get:function(){returni.captureException}}),Object.defineProperty(e,"captureEvent",{enumerable:!0,get:function(){returni.captureEvent}}),Object.defineProperty(e,"captureMessage",{enumerable:!0,get:function(){returni.captureMessage}}),Object.defineProperty(e,"configureScope",{enumerable:!0,get:function(){returni.configureScope}}),Object.defineProperty(e,"getHubFromCarrier",{enumerable:!0,get:function(){returni.getHubFromCarrier}}),Object.defineProperty(e,"getCurrentHub",{enumerable:!0,get:function(){returni.getCurrentHub}}),Object.defineProperty(e,"Hub",{enumerable:!0,get:function(){returni.Hub}}),Object.defineProperty(e,"Scope",{enumerable:!0,get:function(){returni.Scope}}),Object.defineProperty(e,"setContext",{enumerable:!0,get:function(){returni.setContext}}),Object.defineProperty(e,"setExtra",{enumerable:!0,get:function(){returni.setExtra}}),Object.defineProperty(e,"setExtras",{enumerable:!0,get:function(){returni.setExtras}}),Object.defineProperty(e,"setTag",{enumerable:!0,get:function(){returni.setTag}}),Object.defineProperty(e,"setTags",{enumerable:!0,get:function(){returni.setTags}}),Object.defineProperty(e,"setUser",{enumerable:!0,get:function(){returni.setUser}}),Object.defineProperty(e,"withScope",{enumerable:!0,get:function(){returni.withScope}});varo=n(31);Object.defineProperty(e,"SDK_NAME",{enumerable:!0,get:function(){returno.SDK_NAME}}),Object.defineProperty(e,"SDK_VERSION",{enumerable:!0,get:function(){returno.SDK_VERSION}});vara=n(40);Object.defineProperty(e,"defaultIntegrations",{enumerable:!0,get:function(){returna.defaultIntegrations}}),Object.defineProperty(e,"init",{enumerable:!0,get:function(){returna.init}}),Object.defineProperty(e,"lastEventId",{enumerable:!0,get:function(){returna.lastEventId}}),Object.defineProperty(e,"showReportDialog",{enumerable:!0,get:function(){returna.showReportDialog}}),Object.defineProperty(e,"flush",{enumerable:!0,get:function(){returna.flush}}),Object.defineProperty(e,"close",{enumerable:!0,get:function(){returna.close}}),Object.defineProperty(e,"wrap",{enumerable:!0,get:function(){returna.wrap}});vars=n(32);Object.defineProperty(e,"MiniappClient",{enumerable:!0,get:function(){returns.MiniappClient}});varu=n(37);e.Integrations=u;varc=n(34);e.Transports=c},function(t,e){varn,r,i=t.exports={};functiono(){thrownewError("setTimeout has not been defined")}functiona(){thrownewError("clearTimeout has not been defined")}functions(t){if(n===setTimeout)returnsetTimeout(t,0);if((n===o||!n)&&setTimeout)returnn=setTimeout,setTimeout(t,0);try{returnn(t,0)}catch(e){try{returnn.call(null,t,0)}catch(e){returnn.call(this,t,0)}}}!function(){try{n="function"==typeofsetTimeout?setTimeout:o}catch(t){n=o}try{r="function"==typeofclearTimeout?clearTimeout:a}catch(t){r=a}}();varu,c=[],f=!1,d=-1;functionp(){f&&u&&(f=!1,u.length?c=u.concat(c):d=-1,c.length&&l())}functionl(){if(!f){vart=s(p);f=!0;for(vare=c.length;e;){for(u=c,c=[];++d<e;)u&&u[d].run();d=-1,e=c.length}u=null,f=!1,function(t){if(r===clearTimeout)returnclearTimeout(t);if((r===a||!r)&&clearTimeout)returnr=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{returnr.call(null,t)}catch(e){returnr.call(this,t)}}}(t)}}functionh(t,e){this.fun=t,this.array=e}function_(){}i.nextTick=function(t){vare=newArray(arguments.length-1);if(arguments.length>1)for(varn=1;n<arguments.length;n++)e[n-1]=arguments[n];c.push(newh(t,e)),1!==c.length||f||s(l)},h.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=_,i.addListener=_,i.once=_,i.off=_,i.removeListener=_,i.removeAllListeners=_,i.emit=_,i.prependListener=_,i.prependOnceListener=_,i.listeners=function(t){return[]},i.binding=function(t){thrownewError("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){thrownewError("process.chdir is not supported")},i.umask=function(){return0}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.wrap=e.close=e.flush=e.lastEventId=e.showReportDialog=e.init=e.defaultIntegrations=void0;varr=n(5),i=n(2),o=n(32),a=n(36),s=n(37);e.defaultIntegrations=[newr.Integrations.InboundFilters,newr.Integrations.FunctionToString,news.TryCatch,news.GlobalHandlers,news.LinkedErrors,news.System,news.Router,news.IgnoreMpcrawlerErrors],e.init=function(t){void0===t&&(t={}),void0===t.defaultIntegrations&&(t.defaultIntegrations=e.defaultIntegrations),t.normalizeDepth=t.normalizeDepth||5,r.initAndBind(o.MiniappClient,t)},e.showReportDialog=function(t){void0===t&&(t={}),t.eventId||(t.eventId=r.getCurrentHub().lastEventId());vare=r.getCurrentHub().getClient();e&&e.showReportDialog(t)},e.lastEventId=function(){returnr.getCurrentHub().lastEventId()},e.flush=function(t){vare=r.getCurrentHub().getClient();returne?e.flush(t):i.resolvedSyncPromise(!1)},e.close=function(t){vare=r.getCurrentHub().getClient();returne?e.close(t):i.resolvedSyncPromise(!1)},e.wrap=function(t){returna.wrap(t)()}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.MiniappBackend=void0;varr=n(0),i=n(5),o=n(21),a=n(2),s=n(42),u=n(34),c=function(t){functione(){returnnull!==t&&t.apply(this,arguments)||this}returnr.__extends(e,t),e.prototype._setupTransport=function(){if(!this._options.dsn)returnt.prototype._setupTransport.call(this);vare=r.__assign(r.__assign({},this._options.transportOptions),{dsn:this._options.dsn});returnthis._options.transport?newthis._options.transport(e):newu.XHRTransport(e)},e.prototype.eventFromException=function(t,e){varn=e&&e.syntheticException||void0,r=s.eventFromUnknownInput(t,n,{attachStacktrace:this._options.attachStacktrace});returna.addExceptionMechanism(r,{handled:!0,type:"generic"}),r.level=o.Severity.Error,e&&e.event_id&&(r.event_id=e.event_id),a.resolvedSyncPromise(r)},e.prototype.eventFromMessage=function(t,e,n){void0===e&&(e=o.Severity.Info);varr=n&&n.syntheticException||void0,i=s.eventFromString(t,r,{attachStacktrace:this._options.attachStacktrace});returni.level=e,n&&n.event_id&&(i.event_id=n.event_id),a.resolvedSyncPromise(i)},e}(i.BaseBackend);e.MiniappBackend=c},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.eventFromString=e.eventFromUnknownInput=void0;varr=n(2),i=n(33),o=n(22);functiona(t,e,n){void0===n&&(n={});varr={message:t};if(n.attachStacktrace&&e){vara=o.computeStackTrace(e),s=i.prepareFramesForEvent(a.stack);r.stacktrace={frames:s}}returnr}e.eventFromUnknownInput=function(t,e,n){vars;if(void0===n&&(n={}),r.isErrorEvent(t)&&t.error)returnt=t.error,s=i.eventFromStacktrace(o.computeStackTrace(t));if(r.isDOMError(t)||r.isDOMException(t)){varu=t,c=u.name||(r.isDOMError(u)?"DOMError":"DOMException"),f=u.message?c+": "+u.message:c;returns=a(f,e,n),r.addExceptionTypeValue(s,f),s}if(r.isError(t))returns=i.eventFromStacktrace(o.computeStackTrace(t));if(r.isPlainObject(t)||r.isEvent(t)){vard=t;returns=i.eventFromPlainObject(d,e,n.rejection),r.addExceptionMechanism(s,{synthetic:!0}),s}returns=a(t,e,n),r.addExceptionTypeValue(s,""+t,void0),r.addExceptionMechanism(s,{synthetic:!0}),s},e.eventFromString=a},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.XHRTransport=void0;varr=n(0),i=n(2),o=n(15),a=function(t){functione(){returnnull!==t&&t.apply(this,arguments)||this}returnr.__extends(e,t),e.prototype.sendEvent=function(t){vare=this,n=o.sdk.request||o.sdk.httpRequest;returnthis._buffer.add((function(){returnnewPromise((function(r,o){n({url:e.url,method:"POST",data:JSON.stringify(t),header:{"content-type":"application/json"},success:function(t){r({status:i.eventStatusFromHttpCode(t.statusCode)})},fail:function(t){o(t)}})}))}))},e}(n(35).BaseTransport);e.XHRTransport=a},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.GlobalHandlers=void0;varr=n(0),i=n(5),o=n(2),a=n(15),s=function(){functiont(e){this.name=t.id,this._onErrorHandlerInstalled=!1,this._onUnhandledRejectionHandlerInstalled=!1,this._onPageNotFoundHandlerInstalled=!1,this._onMemoryWarningHandlerInstalled=!1,this._options=r.__assign({onerror:!0,onunhandledrejection:!0,onpagenotfound:!0,onmemorywarning:!0},e)}returnt.prototype.setupOnce=function(){Error.stackTraceLimit=50,this._options.onerror&&(o.logger.log("Global Handler attached: onError"),this._installGlobalOnErrorHandler()),this._options.onunhandledrejection&&(o.logger.log("Global Handler attached: onunhandledrejection"),this._installGlobalOnUnhandledRejectionHandler()),this._options.onpagenotfound&&(o.logger.log("Global Handler attached: onPageNotFound"),this._installGlobalOnPageNotFoundHandler()),this._options.onmemorywarning&&(o.logger.log("Global Handler attached: onMemoryWarning"),this._installGlobalOnMemoryWarningHandler())},t.prototype._installGlobalOnErrorHandler=function(){if(!this._onErrorHandlerInstalled){if(a.sdk.onError){vart=i.getCurrentHub();a.sdk.onError((function(e){varn="string"==typeofe?newError(e):e;t.captureException(n)}))}this._onErrorHandlerInstalled=!0}},t.prototype._installGlobalOnUnhandledRejectionHandler=function(){if(!this._onUnhandledRejectionHandlerInstalled){if(a.sdk.onUnhandledRejection){vart=i.getCurrentHub();a.sdk.onUnhandledRejection((function(e){varn=e.reason,r=e.promise,i="string"==typeofn?newError(n):n;t.captureException(i,{data:r})}))}this._onUnhandledRejectionHandlerInstalled=!0}},t.prototype._installGlobalOnPageNotFoundHandler=function(){if(!this._onPageNotFoundHandlerInstalled){if(a.sdk.onPageNotFound){vart=i.getCurrentHub();a.sdk.onPageNotFound((function(e){varn=e.path.split("?")[0];t.setTag("pagenotfound",n),t.setExtra("message",JSON.stringify(e)),t.captureMessage("页面无法找到: "+n)}))}this._onPageNotFoundHandlerInstalled=!0}},t.prototype._installGlobalOnMemoryWarningHandler=function(){if(!this._onMemoryWarningHandlerInstalled){if(a.sdk.onMemoryWarning){vart=i.getCurrentHub();a.sdk.onMemoryWarning((function(e){varn=e.level,r=void0===n?-1:n,i="没有获取到告警级别信息";switch(r){case5:i="TRIM_MEMORY_RUNNING_MODERATE";break;case10:i="TRIM_MEMORY_RUNNING_LOW";break;case15:i="TRIM_MEMORY_RUNNING_CRITICAL";break;default:return}t.setTag("memory-warning",String(r)),t.setExtra("message",i),t.captureMessage("内存不足告警")}))}this._onMemoryWarningHandlerInstalled=!0}},t.id="GlobalHandlers",t}();e.GlobalHandlers=s},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.TryCatch=void0;varr=n(2),i=n(36),o=function(){functiont(){this._ignoreOnError=0,this.name=t.id}returnt.prototype._wrapTimeFunction=function(t){returnfunction(){for(vare=[],n=0;n<arguments.length;n++)e[n]=arguments[n];varr=e[0];returne[0]=i.wrap(r,{mechanism:{data:{function:a(t)},handled:!0,type:"instrument"}}),t.apply(this,e)}},t.prototype._wrapRAF=function(t){returnfunction(e){returnt(i.wrap(e,{mechanism:{data:{function:"requestAnimationFrame",handler:a(t)},handled:!0,type:"instrument"}}))}},t.prototype._wrapEventTarget=function(t){vare=r.getGlobalObject(),n=e[t]&&e[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(r.fill(n,"addEventListener",(function(e){returnfunction(n,r,o){try{"function"==typeofr.handleEvent&&(r.handleEvent=i.wrap(r.handleEvent.bind(r),{mechanism:{data:{function:"handleEvent",handler:a(r),target:t},handled:!0,type:"instrument"}}))}catch(t){}returne.call(this,n,i.wrap(r,{mechanism:{data:{function:"addEventListener",handler:a(r),target:t},handled:!0,type:"instrument"}}),o)}})),r.fill(n,"removeEventListener",(function(t){returnfunction(e,n,r){vari=n;try{i=i&&(i.__sentry_wrapped__||i)}catch(t){}returnt.call(this,e,i,r)}})))},t.prototype.setupOnce=function(){this._ignoreOnError=this._ignoreOnError;vart=r.getGlobalObject();r.fill(t,"setTimeout",this._wrapTimeFunction.bind(this)),r.fill(t,"setInterval",this._wrapTimeFunction.bind(this)),r.fill(t,"requestAnimationFrame",this._wrapRAF.bind(this)),["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"].forEach(this._wrapEventTarget.bind(this))},t.id="TryCatch",t}();functiona(t){try{returnt&&t.name||"<anonymous>"}catch(t){return"<anonymous>"}}e.TryCatch=o},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.LinkedErrors=void0;varr=n(0),i=n(5),o=n(33),a=n(22),s=function(){functiont(e){void0===e&&(e={}),this.name=t.id,this._key=e.key||"cause",this._limit=e.limit||5}returnt.prototype.setupOnce=function(){i.addGlobalEventProcessor((function(e,n){varr=i.getCurrentHub().getIntegration(t);returnr?r._handler(e,n):e}))},t.prototype._handler=function(t,e){if(!(t.exception&&t.exception.values&&e&&e.originalExceptioninstanceofError))returnt;varn=this._walkErrorTree(e.originalException,this._key);returnt.exception.values=r.__spread(n,t.exception.values),t},t.prototype._walkErrorTree=function(t,e,n){if(void0===n&&(n=[]),!(t[e]instanceofError)||n.length+1>=this._limit)returnn;vari=a.computeStackTrace(t[e]),s=o.exceptionFromStacktrace(i);returnthis._walkErrorTree(t[e],e,r.__spread([s],n))},t.id="LinkedErrors",t}();e.LinkedErrors=s},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.System=void0;varr=n(0),i=n(5),o=n(15),a=function(){functiont(){this.name=t.id}returnt.prototype.setupOnce=function(){i.addGlobalEventProcessor((function(e){if(i.getCurrentHub().getIntegration(t))try{varn=o.sdk.getSystemInfoSync(),a=n.SDKVersion,s=void0===a?"0.0.0":a,u=n.batteryLevel,c=n.currentBattery,f=n.battery,d=n.brand,p=n.language,l=n.model,h=n.pixelRatio,_=n.platform,v=n.screenHeight,g=n.screenWidth,b=n.statusBarHeight,y=n.system,m=n.version,O=n.windowHeight,j=n.windowWidth,E=n.app,S=n.appName,w=n.fontSizeSetting,x=r.__read(y.split(" "),2),k=x[0],T=x[1];returnr.__assign(r.__assign({},e),{contexts:r.__assign(r.__assign({},e.contexts),{device:{brand:d,battery_level:u||c||f,model:l,screen_dpi:h},os:{name:k||y,version:T||y},extra:r.__assign({SDKVersion:s,language:p,platform:_,screenHeight:v,screenWidth:g,statusBarHeight:b,version:m,windowHeight:O,windowWidth:j,fontSizeSetting:w,app:E||S||o.appName},n)})})}catch(t){console.warn("sentry-miniapp get system info fail: "+t)}returne}))},t.id="System",t}();e.System=a},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.Router=void0;varr=n(0),i=n(5),o=function(){functiont(e){this.name=t.id,this._options=r.__assign({enable:!0},e)}returnt.prototype.setupOnce=function(){vare=this;i.addGlobalEventProcessor((function(n){if(i.getCurrentHub().getIntegration(t)&&e._options.enable)try{varo=getCurrentPages().map((function(t){return{route:t.route,options:t.options}}));returnr.__assign(r.__assign({},n),{extra:r.__assign(r.__assign({},n.extra),{routers:o})})}catch(t){console.warn("sentry-miniapp get router info fail: "+t)}returnn}))},t.id="Router",t}();e.Router=o},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.IgnoreMpcrawlerErrors=void0;varr=n(5),i=n(15),o=function(){functiont(){this.name=t.id}returnt.prototype.setupOnce=function(){r.addGlobalEventProcessor((function(e){if(r.getCurrentHub().getIntegration(t)&&"wechat"===i.appName&&i.sdk.getLaunchOptionsSync&&1129===i.sdk.getLaunchOptionsSync().scene)returnnull;returne}))},t.id="IgnoreMpcrawlerErrors",t}();e.IgnoreMpcrawlerErrors=o}]);